@seamapi/types 1.841.0 → 1.842.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/connect.cjs +44 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +101 -32
- package/dist/index.cjs +44 -0
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +33 -18
- package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +9 -0
- package/lib/seam/connect/models/connected-accounts/connected-account.js +12 -0
- package/lib/seam/connect/models/connected-accounts/connected-account.js.map +1 -1
- package/lib/seam/connect/models/devices/device-metadata.d.ts +4 -4
- package/lib/seam/connect/models/devices/device.d.ts +6 -6
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +4 -4
- package/lib/seam/connect/models/spaces/space.d.ts +6 -6
- package/lib/seam/connect/openapi.js +35 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +45 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/connected-accounts/connected-account.ts +18 -0
- package/src/lib/seam/connect/openapi.ts +42 -0
- package/src/lib/seam/connect/route-types.ts +47 -0
|
@@ -13073,6 +13073,12 @@ export type Routes = {
|
|
|
13073
13073
|
customer_key?: string | undefined;
|
|
13074
13074
|
/** List of capabilities that were accepted during the account connection process. */
|
|
13075
13075
|
accepted_capabilities: ('lock' | 'thermostat' | 'noise_sensor' | 'access_control' | 'camera')[];
|
|
13076
|
+
/** 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. */
|
|
13077
|
+
default_checkin_time?: string | undefined;
|
|
13078
|
+
/** Default reservation check-out time for this connected account, as `HH:mm` (24-hour). Sourced from the connector configuration. */
|
|
13079
|
+
default_checkout_time?: string | undefined;
|
|
13080
|
+
/** IANA time zone (e.g. America/Los_Angeles) for this connected account. Sourced from the connector configuration. */
|
|
13081
|
+
time_zone?: string | undefined;
|
|
13076
13082
|
}[] | undefined;
|
|
13077
13083
|
acs_systems?: {
|
|
13078
13084
|
/** ID of the default credential manager `acs_system` for this [access control system](https://docs.seam.co/latest/capability-guides/access-systems). */
|
|
@@ -31481,6 +31487,12 @@ export type Routes = {
|
|
|
31481
31487
|
customer_key?: string | undefined;
|
|
31482
31488
|
/** List of capabilities that were accepted during the account connection process. */
|
|
31483
31489
|
accepted_capabilities: ('lock' | 'thermostat' | 'noise_sensor' | 'access_control' | 'camera')[];
|
|
31490
|
+
/** 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. */
|
|
31491
|
+
default_checkin_time?: string | undefined;
|
|
31492
|
+
/** Default reservation check-out time for this connected account, as `HH:mm` (24-hour). Sourced from the connector configuration. */
|
|
31493
|
+
default_checkout_time?: string | undefined;
|
|
31494
|
+
/** IANA time zone (e.g. America/Los_Angeles) for this connected account. Sourced from the connector configuration. */
|
|
31495
|
+
time_zone?: string | undefined;
|
|
31484
31496
|
};
|
|
31485
31497
|
};
|
|
31486
31498
|
maxDuration: undefined;
|
|
@@ -31654,6 +31666,12 @@ export type Routes = {
|
|
|
31654
31666
|
customer_key?: string | undefined;
|
|
31655
31667
|
/** List of capabilities that were accepted during the account connection process. */
|
|
31656
31668
|
accepted_capabilities: ('lock' | 'thermostat' | 'noise_sensor' | 'access_control' | 'camera')[];
|
|
31669
|
+
/** 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. */
|
|
31670
|
+
default_checkin_time?: string | undefined;
|
|
31671
|
+
/** Default reservation check-out time for this connected account, as `HH:mm` (24-hour). Sourced from the connector configuration. */
|
|
31672
|
+
default_checkout_time?: string | undefined;
|
|
31673
|
+
/** IANA time zone (e.g. America/Los_Angeles) for this connected account. Sourced from the connector configuration. */
|
|
31674
|
+
time_zone?: string | undefined;
|
|
31657
31675
|
}[];
|
|
31658
31676
|
/** Information about the current page of results. */
|
|
31659
31677
|
pagination: {
|
|
@@ -31859,6 +31877,12 @@ export type Routes = {
|
|
|
31859
31877
|
customer_key?: string | undefined;
|
|
31860
31878
|
/** List of capabilities that were accepted during the account connection process. */
|
|
31861
31879
|
accepted_capabilities: ('lock' | 'thermostat' | 'noise_sensor' | 'access_control' | 'camera')[];
|
|
31880
|
+
/** 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. */
|
|
31881
|
+
default_checkin_time?: string | undefined;
|
|
31882
|
+
/** Default reservation check-out time for this connected account, as `HH:mm` (24-hour). Sourced from the connector configuration. */
|
|
31883
|
+
default_checkout_time?: string | undefined;
|
|
31884
|
+
/** IANA time zone (e.g. America/Los_Angeles) for this connected account. Sourced from the connector configuration. */
|
|
31885
|
+
time_zone?: string | undefined;
|
|
31862
31886
|
};
|
|
31863
31887
|
};
|
|
31864
31888
|
maxDuration: undefined;
|
|
@@ -68016,6 +68040,15 @@ export type Routes = {
|
|
|
68016
68040
|
acs_entrance_ids?: string[] | undefined;
|
|
68017
68041
|
/** 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. */
|
|
68018
68042
|
connected_account_ids?: string[] | undefined;
|
|
68043
|
+
/** 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. */
|
|
68044
|
+
customer_data?: {
|
|
68045
|
+
/** IANA time zone for the space, e.g. America/Los_Angeles. */
|
|
68046
|
+
time_zone?: (string | null) | undefined;
|
|
68047
|
+
/** Default check-in time for reservations at the space, as HH:mm or HH:mm:ss. */
|
|
68048
|
+
default_checkin_time?: (string | null) | undefined;
|
|
68049
|
+
/** Default check-out time for reservations at the space, as HH:mm or HH:mm:ss. */
|
|
68050
|
+
default_checkout_time?: (string | null) | undefined;
|
|
68051
|
+
} | undefined;
|
|
68019
68052
|
/** Space key of the parent space for this space. */
|
|
68020
68053
|
parent_space_key?: string | undefined;
|
|
68021
68054
|
/** Name of the parent space for this space. */
|
|
@@ -70951,6 +70984,12 @@ export type Routes = {
|
|
|
70951
70984
|
customer_key?: string | undefined;
|
|
70952
70985
|
/** List of capabilities that were accepted during the account connection process. */
|
|
70953
70986
|
accepted_capabilities: ('lock' | 'thermostat' | 'noise_sensor' | 'access_control' | 'camera')[];
|
|
70987
|
+
/** 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. */
|
|
70988
|
+
default_checkin_time?: string | undefined;
|
|
70989
|
+
/** Default reservation check-out time for this connected account, as `HH:mm` (24-hour). Sourced from the connector configuration. */
|
|
70990
|
+
default_checkout_time?: string | undefined;
|
|
70991
|
+
/** IANA time zone (e.g. America/Los_Angeles) for this connected account. Sourced from the connector configuration. */
|
|
70992
|
+
time_zone?: string | undefined;
|
|
70954
70993
|
}[] | undefined;
|
|
70955
70994
|
acs_systems?: {
|
|
70956
70995
|
/** ID of the default credential manager `acs_system` for this [access control system](https://docs.seam.co/latest/capability-guides/access-systems). */
|
|
@@ -97169,6 +97208,12 @@ export type Routes = {
|
|
|
97169
97208
|
customer_key?: string | undefined;
|
|
97170
97209
|
/** List of capabilities that were accepted during the account connection process. */
|
|
97171
97210
|
accepted_capabilities: ('lock' | 'thermostat' | 'noise_sensor' | 'access_control' | 'camera')[];
|
|
97211
|
+
/** 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. */
|
|
97212
|
+
default_checkin_time?: string | undefined;
|
|
97213
|
+
/** Default reservation check-out time for this connected account, as `HH:mm` (24-hour). Sourced from the connector configuration. */
|
|
97214
|
+
default_checkout_time?: string | undefined;
|
|
97215
|
+
/** IANA time zone (e.g. America/Los_Angeles) for this connected account. Sourced from the connector configuration. */
|
|
97216
|
+
time_zone?: string | undefined;
|
|
97172
97217
|
}[] | undefined;
|
|
97173
97218
|
events?: ({
|
|
97174
97219
|
/** ID of the event. */
|
package/package.json
CHANGED
|
@@ -355,6 +355,24 @@ export const connected_account = z.object({
|
|
|
355
355
|
.describe(
|
|
356
356
|
'List of capabilities that were accepted during the account connection process.',
|
|
357
357
|
),
|
|
358
|
+
default_checkin_time: z
|
|
359
|
+
.string()
|
|
360
|
+
.optional()
|
|
361
|
+
.describe(
|
|
362
|
+
'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.',
|
|
363
|
+
),
|
|
364
|
+
default_checkout_time: z
|
|
365
|
+
.string()
|
|
366
|
+
.optional()
|
|
367
|
+
.describe(
|
|
368
|
+
'Default reservation check-out time for this connected account, as `HH:mm` (24-hour). Sourced from the connector configuration.',
|
|
369
|
+
),
|
|
370
|
+
time_zone: z
|
|
371
|
+
.string()
|
|
372
|
+
.optional()
|
|
373
|
+
.describe(
|
|
374
|
+
'IANA time zone (e.g. America/Los_Angeles) for this connected account. Sourced from the connector configuration.',
|
|
375
|
+
),
|
|
358
376
|
}).describe(`
|
|
359
377
|
---
|
|
360
378
|
route_path: /connected_accounts
|
|
@@ -11052,6 +11052,16 @@ const openapi: OpenAPISpec = {
|
|
|
11052
11052
|
'Your unique key for the customer associated with this connected account.',
|
|
11053
11053
|
type: 'string',
|
|
11054
11054
|
},
|
|
11055
|
+
default_checkin_time: {
|
|
11056
|
+
description:
|
|
11057
|
+
'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.',
|
|
11058
|
+
type: 'string',
|
|
11059
|
+
},
|
|
11060
|
+
default_checkout_time: {
|
|
11061
|
+
description:
|
|
11062
|
+
'Default reservation check-out time for this connected account, as `HH:mm` (24-hour). Sourced from the connector configuration.',
|
|
11063
|
+
type: 'string',
|
|
11064
|
+
},
|
|
11055
11065
|
display_name: {
|
|
11056
11066
|
description: 'Display name for the connected account.',
|
|
11057
11067
|
type: 'string',
|
|
@@ -11227,6 +11237,11 @@ const openapi: OpenAPISpec = {
|
|
|
11227
11237
|
format: 'uri',
|
|
11228
11238
|
type: 'string',
|
|
11229
11239
|
},
|
|
11240
|
+
time_zone: {
|
|
11241
|
+
description:
|
|
11242
|
+
'IANA time zone (e.g. America/Los_Angeles) for this connected account. Sourced from the connector configuration.',
|
|
11243
|
+
type: 'string',
|
|
11244
|
+
},
|
|
11230
11245
|
user_identifier: {
|
|
11231
11246
|
deprecated: true,
|
|
11232
11247
|
description:
|
|
@@ -72050,6 +72065,33 @@ const openapi: OpenAPISpec = {
|
|
|
72050
72065
|
items: { format: 'uuid', type: 'string' },
|
|
72051
72066
|
type: 'array',
|
|
72052
72067
|
},
|
|
72068
|
+
customer_data: {
|
|
72069
|
+
description:
|
|
72070
|
+
"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.",
|
|
72071
|
+
properties: {
|
|
72072
|
+
default_checkin_time: {
|
|
72073
|
+
description:
|
|
72074
|
+
'Default check-in time for reservations at the space, as HH:mm or HH:mm:ss.',
|
|
72075
|
+
nullable: true,
|
|
72076
|
+
pattern: '^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$',
|
|
72077
|
+
type: 'string',
|
|
72078
|
+
},
|
|
72079
|
+
default_checkout_time: {
|
|
72080
|
+
description:
|
|
72081
|
+
'Default check-out time for reservations at the space, as HH:mm or HH:mm:ss.',
|
|
72082
|
+
nullable: true,
|
|
72083
|
+
pattern: '^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$',
|
|
72084
|
+
type: 'string',
|
|
72085
|
+
},
|
|
72086
|
+
time_zone: {
|
|
72087
|
+
description:
|
|
72088
|
+
'IANA time zone for the space, e.g. America/Los_Angeles.',
|
|
72089
|
+
nullable: true,
|
|
72090
|
+
type: 'string',
|
|
72091
|
+
},
|
|
72092
|
+
},
|
|
72093
|
+
type: 'object',
|
|
72094
|
+
},
|
|
72053
72095
|
device_ids: {
|
|
72054
72096
|
description:
|
|
72055
72097
|
'IDs of the devices that you want to add to the new space.',
|
|
@@ -15008,6 +15008,12 @@ export type Routes = {
|
|
|
15008
15008
|
| 'access_control'
|
|
15009
15009
|
| 'camera'
|
|
15010
15010
|
)[]
|
|
15011
|
+
/** 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. */
|
|
15012
|
+
default_checkin_time?: string | undefined
|
|
15013
|
+
/** Default reservation check-out time for this connected account, as `HH:mm` (24-hour). Sourced from the connector configuration. */
|
|
15014
|
+
default_checkout_time?: string | undefined
|
|
15015
|
+
/** IANA time zone (e.g. America/Los_Angeles) for this connected account. Sourced from the connector configuration. */
|
|
15016
|
+
time_zone?: string | undefined
|
|
15011
15017
|
}[]
|
|
15012
15018
|
| undefined
|
|
15013
15019
|
acs_systems?:
|
|
@@ -36504,6 +36510,12 @@ export type Routes = {
|
|
|
36504
36510
|
| 'access_control'
|
|
36505
36511
|
| 'camera'
|
|
36506
36512
|
)[]
|
|
36513
|
+
/** 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. */
|
|
36514
|
+
default_checkin_time?: string | undefined
|
|
36515
|
+
/** Default reservation check-out time for this connected account, as `HH:mm` (24-hour). Sourced from the connector configuration. */
|
|
36516
|
+
default_checkout_time?: string | undefined
|
|
36517
|
+
/** IANA time zone (e.g. America/Los_Angeles) for this connected account. Sourced from the connector configuration. */
|
|
36518
|
+
time_zone?: string | undefined
|
|
36507
36519
|
}
|
|
36508
36520
|
}
|
|
36509
36521
|
maxDuration: undefined
|
|
@@ -36698,6 +36710,12 @@ export type Routes = {
|
|
|
36698
36710
|
| 'access_control'
|
|
36699
36711
|
| 'camera'
|
|
36700
36712
|
)[]
|
|
36713
|
+
/** 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. */
|
|
36714
|
+
default_checkin_time?: string | undefined
|
|
36715
|
+
/** Default reservation check-out time for this connected account, as `HH:mm` (24-hour). Sourced from the connector configuration. */
|
|
36716
|
+
default_checkout_time?: string | undefined
|
|
36717
|
+
/** IANA time zone (e.g. America/Los_Angeles) for this connected account. Sourced from the connector configuration. */
|
|
36718
|
+
time_zone?: string | undefined
|
|
36701
36719
|
}[]
|
|
36702
36720
|
/** Information about the current page of results. */
|
|
36703
36721
|
pagination: {
|
|
@@ -36932,6 +36950,12 @@ export type Routes = {
|
|
|
36932
36950
|
| 'access_control'
|
|
36933
36951
|
| 'camera'
|
|
36934
36952
|
)[]
|
|
36953
|
+
/** 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. */
|
|
36954
|
+
default_checkin_time?: string | undefined
|
|
36955
|
+
/** Default reservation check-out time for this connected account, as `HH:mm` (24-hour). Sourced from the connector configuration. */
|
|
36956
|
+
default_checkout_time?: string | undefined
|
|
36957
|
+
/** IANA time zone (e.g. America/Los_Angeles) for this connected account. Sourced from the connector configuration. */
|
|
36958
|
+
time_zone?: string | undefined
|
|
36935
36959
|
}
|
|
36936
36960
|
}
|
|
36937
36961
|
maxDuration: undefined
|
|
@@ -81299,6 +81323,17 @@ export type Routes = {
|
|
|
81299
81323
|
acs_entrance_ids?: string[] | undefined
|
|
81300
81324
|
/** 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. */
|
|
81301
81325
|
connected_account_ids?: string[] | undefined
|
|
81326
|
+
/** 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. */
|
|
81327
|
+
customer_data?:
|
|
81328
|
+
| {
|
|
81329
|
+
/** IANA time zone for the space, e.g. America/Los_Angeles. */
|
|
81330
|
+
time_zone?: (string | null) | undefined
|
|
81331
|
+
/** Default check-in time for reservations at the space, as HH:mm or HH:mm:ss. */
|
|
81332
|
+
default_checkin_time?: (string | null) | undefined
|
|
81333
|
+
/** Default check-out time for reservations at the space, as HH:mm or HH:mm:ss. */
|
|
81334
|
+
default_checkout_time?: (string | null) | undefined
|
|
81335
|
+
}
|
|
81336
|
+
| undefined
|
|
81302
81337
|
/** Space key of the parent space for this space. */
|
|
81303
81338
|
parent_space_key?: string | undefined
|
|
81304
81339
|
/** Name of the parent space for this space. */
|
|
@@ -84797,6 +84832,12 @@ export type Routes = {
|
|
|
84797
84832
|
| 'access_control'
|
|
84798
84833
|
| 'camera'
|
|
84799
84834
|
)[]
|
|
84835
|
+
/** 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. */
|
|
84836
|
+
default_checkin_time?: string | undefined
|
|
84837
|
+
/** Default reservation check-out time for this connected account, as `HH:mm` (24-hour). Sourced from the connector configuration. */
|
|
84838
|
+
default_checkout_time?: string | undefined
|
|
84839
|
+
/** IANA time zone (e.g. America/Los_Angeles) for this connected account. Sourced from the connector configuration. */
|
|
84840
|
+
time_zone?: string | undefined
|
|
84800
84841
|
}[]
|
|
84801
84842
|
| undefined
|
|
84802
84843
|
acs_systems?:
|
|
@@ -115932,6 +115973,12 @@ export type Routes = {
|
|
|
115932
115973
|
| 'access_control'
|
|
115933
115974
|
| 'camera'
|
|
115934
115975
|
)[]
|
|
115976
|
+
/** 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. */
|
|
115977
|
+
default_checkin_time?: string | undefined
|
|
115978
|
+
/** Default reservation check-out time for this connected account, as `HH:mm` (24-hour). Sourced from the connector configuration. */
|
|
115979
|
+
default_checkout_time?: string | undefined
|
|
115980
|
+
/** IANA time zone (e.g. America/Los_Angeles) for this connected account. Sourced from the connector configuration. */
|
|
115981
|
+
time_zone?: string | undefined
|
|
115935
115982
|
}[]
|
|
115936
115983
|
| undefined
|
|
115937
115984
|
events?:
|