diff --git a/src/lib/seam/connect/openapi.ts b/src/lib/seam/connect/openapi.ts index 25abdaa7..60f818d6 100644 --- a/src/lib/seam/connect/openapi.ts +++ b/src/lib/seam/connect/openapi.ts @@ -83810,161 +83810,6 @@ const openapi: OpenAPISpec = { }, }, '/unstable_partner/building_blocks/generate_magic_link': { - get: { - description: 'Creates a new building block magic link.', - operationId: 'unstablePartnerBuildingBlocksGenerateMagicLinkGet', - parameters: [ - { - in: 'query', - name: 'building_block_type', - required: true, - schema: { - description: - 'Type of building block for which you want to create a magic link.', - enum: [ - 'connect_accounts', - 'organize_spaces', - 'console', - 'manage_devices', - ], - type: 'string', - }, - }, - { - in: 'query', - name: 'customer_key', - required: true, - schema: { - description: - 'Customer key for which you want to create a new building block magic link.', - minLength: 1, - type: 'string', - }, - }, - { - in: 'query', - name: 'spaces', - required: false, - schema: { - description: - 'Optional list of spaces that you want to include in the new building block magic link.', - items: { - properties: { - customer_data: { - description: - 'Reservation/stay-related defaults for the space (time zone, default check-in/out times, address).', - properties: { - address: { - description: 'Postal address for the space.', - nullable: true, - type: 'string', - }, - default_checkin_time: { - description: - 'Default check-in time for reservations at the space, as HH:mm or HH:mm:ss.', - nullable: true, - pattern: '^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$', - type: 'string', - }, - default_checkout_time: { - description: - 'Default check-out time for reservations at the space, as HH:mm or HH:mm:ss.', - nullable: true, - pattern: '^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$', - type: 'string', - }, - time_zone: { - description: - 'IANA time zone for the space, e.g. America/Los_Angeles.', - nullable: true, - type: 'string', - }, - }, - type: 'object', - }, - duration_minutes: { - description: - 'Default duration of this space in minutes, when the space represents a fixed-length bookable slot (e.g. an appointment type). Used to interpret reservations booked against this space.', - exclusiveMinimum: true, - minimum: 0, - type: 'integer', - }, - geolocation: { - description: - 'Geographic coordinates (latitude and longitude) of the space.', - properties: { - latitude: { - description: - 'Latitude of the space, in decimal degrees.', - format: 'float', - type: 'number', - }, - longitude: { - description: - 'Longitude of the space, in decimal degrees.', - format: 'float', - type: 'number', - }, - }, - required: ['latitude', 'longitude'], - type: 'object', - }, - name: { - description: - 'Your display name for this location resource.', - type: 'string', - }, - parent_site_key: { - description: 'Your unique identifier for the site.', - minLength: 1, - type: 'string', - }, - space_key: { - description: 'Your unique identifier for the space.', - minLength: 1, - type: 'string', - }, - }, - required: ['name', 'space_key'], - type: 'object', - }, - type: 'array', - }, - }, - ], - responses: { - '200': { - content: { - 'application/json': { - schema: { - properties: { - magic_link: { $ref: '#/components/schemas/magic_link' }, - ok: { type: 'boolean' }, - }, - required: ['magic_link', 'ok'], - type: 'object', - }, - }, - }, - description: 'OK', - }, - '400': { description: 'Bad Request' }, - '401': { description: 'Unauthorized' }, - }, - security: [ - { pat_with_workspace: [] }, - { console_session_with_workspace: [] }, - { api_key: [] }, - ], - summary: '/unstable_partner/building_blocks/generate_magic_link', - tags: [], - 'x-fern-sdk-group-name': ['unstable_partner', 'building_blocks'], - 'x-fern-sdk-method-name': 'generate_magic_link', - 'x-fern-sdk-return-value': 'magic_link', - 'x-response-key': 'magic_link', - 'x-title': 'Generate a Building Block Magic Link', - 'x-undocumented': 'Experimental partner building blocks.', - }, post: { description: 'Creates a new building block magic link.', operationId: 'unstablePartnerBuildingBlocksGenerateMagicLinkPost', diff --git a/src/lib/seam/connect/route-types.ts b/src/lib/seam/connect/route-types.ts index bcda2da1..27b80236 100644 --- a/src/lib/seam/connect/route-types.ts +++ b/src/lib/seam/connect/route-types.ts @@ -133007,10 +133007,9 @@ export type Routes = { } '/unstable_partner/building_blocks/generate_magic_link': { route: '/unstable_partner/building_blocks/generate_magic_link' - method: 'POST' | 'GET' + method: 'POST' queryParams: {} - jsonBody: {} - commonParams: { + jsonBody: { /** Type of building block for which you want to create a magic link. */ building_block_type: 'connect_accounts' | 'organize_spaces' | 'console' | 'manage_devices' @@ -133052,6 +133051,7 @@ export type Routes = { }[] | undefined } + commonParams: {} formData: {} jsonResponse: { /** Represents a Customer Portal. Customer Portal is a hosted, customizable interface for managing device access. It enables you to embed secure, pre-authenticated access flows into your product—either by sharing a link with users or embedding a view in an iframe.