diff --git a/src/lib/seam/connect/models/connected-accounts/connected-account.ts b/src/lib/seam/connect/models/connected-accounts/connected-account.ts index c0e23a20..c07957b0 100644 --- a/src/lib/seam/connect/models/connected-accounts/connected-account.ts +++ b/src/lib/seam/connect/models/connected-accounts/connected-account.ts @@ -355,6 +355,24 @@ export const connected_account = z.object({ .describe( 'List of capabilities that were accepted during the account connection process.', ), + default_checkin_time: z + .string() + .optional() + .describe( + 'Default reservation check-in time for this connected account, as `HH:mm` (24-hour). Sourced from the connector configuration — set during the connect_webview for providers like Lodgify whose API does not expose check-in times.', + ), + default_checkout_time: z + .string() + .optional() + .describe( + 'Default reservation check-out time for this connected account, as `HH:mm` (24-hour). Sourced from the connector configuration.', + ), + time_zone: z + .string() + .optional() + .describe( + 'IANA time zone (e.g. America/Los_Angeles) for this connected account. Sourced from the connector configuration.', + ), }).describe(` --- route_path: /connected_accounts diff --git a/src/lib/seam/connect/openapi.ts b/src/lib/seam/connect/openapi.ts index 787c8675..59dcd060 100644 --- a/src/lib/seam/connect/openapi.ts +++ b/src/lib/seam/connect/openapi.ts @@ -11052,6 +11052,16 @@ const openapi: OpenAPISpec = { 'Your unique key for the customer associated with this connected account.', type: 'string', }, + default_checkin_time: { + description: + 'Default reservation check-in time for this connected account, as `HH:mm` (24-hour). Sourced from the connector configuration — set during the connect_webview for providers like Lodgify whose API does not expose check-in times.', + type: 'string', + }, + default_checkout_time: { + description: + 'Default reservation check-out time for this connected account, as `HH:mm` (24-hour). Sourced from the connector configuration.', + type: 'string', + }, display_name: { description: 'Display name for the connected account.', type: 'string', @@ -11227,6 +11237,11 @@ const openapi: OpenAPISpec = { format: 'uri', type: 'string', }, + time_zone: { + description: + 'IANA time zone (e.g. America/Los_Angeles) for this connected account. Sourced from the connector configuration.', + type: 'string', + }, user_identifier: { deprecated: true, description: @@ -72050,6 +72065,33 @@ const openapi: OpenAPISpec = { items: { format: 'uuid', type: 'string' }, type: 'array', }, + customer_data: { + description: + "Reservation/stay-related defaults for the space. When omitted and `connected_account_ids` is provided, `default_checkin_time` / `default_checkout_time` / `time_zone` are auto-inherited from the first connected account's connector configuration.", + properties: { + 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', + }, device_ids: { description: 'IDs of the devices that you want to add to the new space.', diff --git a/src/lib/seam/connect/route-types.ts b/src/lib/seam/connect/route-types.ts index c820f0d3..562f0e2a 100644 --- a/src/lib/seam/connect/route-types.ts +++ b/src/lib/seam/connect/route-types.ts @@ -15008,6 +15008,12 @@ export type Routes = { | 'access_control' | 'camera' )[] + /** Default reservation check-in time for this connected account, as `HH:mm` (24-hour). Sourced from the connector configuration — set during the connect_webview for providers like Lodgify whose API does not expose check-in times. */ + default_checkin_time?: string | undefined + /** Default reservation check-out time for this connected account, as `HH:mm` (24-hour). Sourced from the connector configuration. */ + default_checkout_time?: string | undefined + /** IANA time zone (e.g. America/Los_Angeles) for this connected account. Sourced from the connector configuration. */ + time_zone?: string | undefined }[] | undefined acs_systems?: @@ -36504,6 +36510,12 @@ export type Routes = { | 'access_control' | 'camera' )[] + /** Default reservation check-in time for this connected account, as `HH:mm` (24-hour). Sourced from the connector configuration — set during the connect_webview for providers like Lodgify whose API does not expose check-in times. */ + default_checkin_time?: string | undefined + /** Default reservation check-out time for this connected account, as `HH:mm` (24-hour). Sourced from the connector configuration. */ + default_checkout_time?: string | undefined + /** IANA time zone (e.g. America/Los_Angeles) for this connected account. Sourced from the connector configuration. */ + time_zone?: string | undefined } } maxDuration: undefined @@ -36698,6 +36710,12 @@ export type Routes = { | 'access_control' | 'camera' )[] + /** Default reservation check-in time for this connected account, as `HH:mm` (24-hour). Sourced from the connector configuration — set during the connect_webview for providers like Lodgify whose API does not expose check-in times. */ + default_checkin_time?: string | undefined + /** Default reservation check-out time for this connected account, as `HH:mm` (24-hour). Sourced from the connector configuration. */ + default_checkout_time?: string | undefined + /** IANA time zone (e.g. America/Los_Angeles) for this connected account. Sourced from the connector configuration. */ + time_zone?: string | undefined }[] /** Information about the current page of results. */ pagination: { @@ -36932,6 +36950,12 @@ export type Routes = { | 'access_control' | 'camera' )[] + /** Default reservation check-in time for this connected account, as `HH:mm` (24-hour). Sourced from the connector configuration — set during the connect_webview for providers like Lodgify whose API does not expose check-in times. */ + default_checkin_time?: string | undefined + /** Default reservation check-out time for this connected account, as `HH:mm` (24-hour). Sourced from the connector configuration. */ + default_checkout_time?: string | undefined + /** IANA time zone (e.g. America/Los_Angeles) for this connected account. Sourced from the connector configuration. */ + time_zone?: string | undefined } } maxDuration: undefined @@ -81299,6 +81323,17 @@ export type Routes = { acs_entrance_ids?: string[] | undefined /** IDs of connected accounts (third-party accounts) to associate with the new space. Persisted on seam.location_third_party_account so the UI can show which provider account a space came from. */ connected_account_ids?: string[] | undefined + /** Reservation/stay-related defaults for the space. When omitted and `connected_account_ids` is provided, `default_checkin_time` / `default_checkout_time` / `time_zone` are auto-inherited from the first connected account's connector configuration. */ + customer_data?: + | { + /** IANA time zone for the space, e.g. America/Los_Angeles. */ + time_zone?: (string | null) | undefined + /** Default check-in time for reservations at the space, as HH:mm or HH:mm:ss. */ + default_checkin_time?: (string | null) | undefined + /** Default check-out time for reservations at the space, as HH:mm or HH:mm:ss. */ + default_checkout_time?: (string | null) | undefined + } + | undefined /** Space key of the parent space for this space. */ parent_space_key?: string | undefined /** Name of the parent space for this space. */ @@ -84797,6 +84832,12 @@ export type Routes = { | 'access_control' | 'camera' )[] + /** Default reservation check-in time for this connected account, as `HH:mm` (24-hour). Sourced from the connector configuration — set during the connect_webview for providers like Lodgify whose API does not expose check-in times. */ + default_checkin_time?: string | undefined + /** Default reservation check-out time for this connected account, as `HH:mm` (24-hour). Sourced from the connector configuration. */ + default_checkout_time?: string | undefined + /** IANA time zone (e.g. America/Los_Angeles) for this connected account. Sourced from the connector configuration. */ + time_zone?: string | undefined }[] | undefined acs_systems?: @@ -115932,6 +115973,12 @@ export type Routes = { | 'access_control' | 'camera' )[] + /** Default reservation check-in time for this connected account, as `HH:mm` (24-hour). Sourced from the connector configuration — set during the connect_webview for providers like Lodgify whose API does not expose check-in times. */ + default_checkin_time?: string | undefined + /** Default reservation check-out time for this connected account, as `HH:mm` (24-hour). Sourced from the connector configuration. */ + default_checkout_time?: string | undefined + /** IANA time zone (e.g. America/Los_Angeles) for this connected account. Sourced from the connector configuration. */ + time_zone?: string | undefined }[] | undefined events?: