diff --git a/src/lib/seam/connect/models/customer/location-resources.ts b/src/lib/seam/connect/models/customer/location-resources.ts index 3f1d70a8..950c60d8 100644 --- a/src/lib/seam/connect/models/customer/location-resources.ts +++ b/src/lib/seam/connect/models/customer/location-resources.ts @@ -24,6 +24,14 @@ export const neutral_resource = base_location_resource.extend({ }) .describe('Your unique identifier for the site.') .optional(), + duration_minutes: z + .number() + .int() + .positive() + .optional() + .describe( + '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.', + ), }) export const property_resource = base_location_resource.extend({ diff --git a/src/lib/seam/connect/openapi.ts b/src/lib/seam/connect/openapi.ts index 0e0052de..aad4cc83 100644 --- a/src/lib/seam/connect/openapi.ts +++ b/src/lib/seam/connect/openapi.ts @@ -52205,6 +52205,13 @@ const openapi: OpenAPISpec = { description: 'List of general spaces or areas.', items: { properties: { + 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', + }, name: { description: 'Your display name for this location resource.', @@ -53451,6 +53458,13 @@ const openapi: OpenAPISpec = { description: 'List of general spaces or areas.', items: { properties: { + 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', + }, name: { description: 'Your display name for this location resource.', @@ -79368,6 +79382,13 @@ const openapi: OpenAPISpec = { 'Optional list of spaces that you want to include in the new building block magic link.', items: { properties: { + 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', + }, name: { description: 'Your display name for this location resource.', @@ -79454,6 +79475,13 @@ const openapi: OpenAPISpec = { 'Optional list of spaces that you want to include in the new building block magic link.', items: { properties: { + 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', + }, name: { description: 'Your display name for this location resource.', @@ -79594,6 +79622,13 @@ const openapi: OpenAPISpec = { 'Optional list of spaces that you want to include in the new building block magic link.', items: { properties: { + 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', + }, name: { description: 'Your display name for this location resource.', diff --git a/src/lib/seam/connect/route-types.ts b/src/lib/seam/connect/route-types.ts index e63ceb78..23126bda 100644 --- a/src/lib/seam/connect/route-types.ts +++ b/src/lib/seam/connect/route-types.ts @@ -37306,6 +37306,8 @@ export type Routes = { space_key: string /** Your unique identifier for the site. */ parent_site_key?: string | undefined + /** 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. */ + duration_minutes?: number | undefined }[] | undefined /** List of general sites or areas. */ @@ -37736,6 +37738,8 @@ export type Routes = { space_key: string /** Your unique identifier for the site. */ parent_site_key?: string | undefined + /** 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. */ + duration_minutes?: number | undefined }[] | undefined /** List of general sites or areas. */ @@ -105317,6 +105321,8 @@ export type Routes = { space_key: string /** Your unique identifier for the site. */ parent_site_key?: string | undefined + /** 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. */ + duration_minutes?: number | undefined }[] | undefined } @@ -105390,6 +105396,8 @@ export type Routes = { space_key: string /** Your unique identifier for the site. */ parent_site_key?: string | undefined + /** 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. */ + duration_minutes?: number | undefined }[] | undefined }