Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
42 changes: 42 additions & 0 deletions src/lib/seam/connect/openapi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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.',
Expand Down
47 changes: 47 additions & 0 deletions src/lib/seam/connect/route-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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?:
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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: {
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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. */
Expand Down Expand Up @@ -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?:
Expand Down Expand Up @@ -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?:
Expand Down
Loading