@seamapi/types 1.841.0 → 1.843.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.
@@ -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;
@@ -64044,6 +64068,24 @@ export type Routes = {
64044
64068
  };
64045
64069
  maxDuration: undefined;
64046
64070
  };
64071
+ '/seam/customer/v1/connectors/external_sites/list': {
64072
+ route: '/seam/customer/v1/connectors/external_sites/list';
64073
+ method: 'GET' | 'POST';
64074
+ queryParams: {};
64075
+ jsonBody: {};
64076
+ commonParams: {
64077
+ /** ID of the connected account to list external sites for */
64078
+ connected_account_id: string;
64079
+ };
64080
+ formData: {};
64081
+ jsonResponse: {
64082
+ external_sites: {
64083
+ key: string;
64084
+ name: string;
64085
+ }[];
64086
+ };
64087
+ maxDuration: undefined;
64088
+ };
64047
64089
  '/seam/customer/v1/connectors/ical/validate-config': {
64048
64090
  route: '/seam/customer/v1/connectors/ical/validate-config';
64049
64091
  method: 'POST';
@@ -68016,6 +68058,15 @@ export type Routes = {
68016
68058
  acs_entrance_ids?: string[] | undefined;
68017
68059
  /** 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
68060
  connected_account_ids?: string[] | undefined;
68061
+ /** 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. */
68062
+ customer_data?: {
68063
+ /** IANA time zone for the space, e.g. America/Los_Angeles. */
68064
+ time_zone?: (string | null) | undefined;
68065
+ /** Default check-in time for reservations at the space, as HH:mm or HH:mm:ss. */
68066
+ default_checkin_time?: (string | null) | undefined;
68067
+ /** Default check-out time for reservations at the space, as HH:mm or HH:mm:ss. */
68068
+ default_checkout_time?: (string | null) | undefined;
68069
+ } | undefined;
68019
68070
  /** Space key of the parent space for this space. */
68020
68071
  parent_space_key?: string | undefined;
68021
68072
  /** Name of the parent space for this space. */
@@ -70951,6 +71002,12 @@ export type Routes = {
70951
71002
  customer_key?: string | undefined;
70952
71003
  /** List of capabilities that were accepted during the account connection process. */
70953
71004
  accepted_capabilities: ('lock' | 'thermostat' | 'noise_sensor' | 'access_control' | 'camera')[];
71005
+ /** 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. */
71006
+ default_checkin_time?: string | undefined;
71007
+ /** Default reservation check-out time for this connected account, as `HH:mm` (24-hour). Sourced from the connector configuration. */
71008
+ default_checkout_time?: string | undefined;
71009
+ /** IANA time zone (e.g. America/Los_Angeles) for this connected account. Sourced from the connector configuration. */
71010
+ time_zone?: string | undefined;
70954
71011
  }[] | undefined;
70955
71012
  acs_systems?: {
70956
71013
  /** ID of the default credential manager `acs_system` for this [access control system](https://docs.seam.co/latest/capability-guides/access-systems). */
@@ -97169,6 +97226,12 @@ export type Routes = {
97169
97226
  customer_key?: string | undefined;
97170
97227
  /** List of capabilities that were accepted during the account connection process. */
97171
97228
  accepted_capabilities: ('lock' | 'thermostat' | 'noise_sensor' | 'access_control' | 'camera')[];
97229
+ /** 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. */
97230
+ default_checkin_time?: string | undefined;
97231
+ /** Default reservation check-out time for this connected account, as `HH:mm` (24-hour). Sourced from the connector configuration. */
97232
+ default_checkout_time?: string | undefined;
97233
+ /** IANA time zone (e.g. America/Los_Angeles) for this connected account. Sourced from the connector configuration. */
97234
+ time_zone?: string | undefined;
97172
97235
  }[] | undefined;
97173
97236
  events?: ({
97174
97237
  /** ID of the event. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.841.0",
3
+ "version": "1.843.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -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:
@@ -65764,6 +65779,137 @@ const openapi: OpenAPISpec = {
65764
65779
  'x-undocumented': 'Internal endpoint for Console.',
65765
65780
  },
65766
65781
  },
65782
+ '/seam/customer/v1/connectors/external_sites/list': {
65783
+ get: {
65784
+ description:
65785
+ "Lists sites/properties available from the external system for a given connected account by calling the connector's live API.",
65786
+ operationId: 'seamCustomerV1ConnectorsExternalSitesListGet',
65787
+ parameters: [
65788
+ {
65789
+ in: 'query',
65790
+ name: 'connected_account_id',
65791
+ required: true,
65792
+ schema: {
65793
+ description:
65794
+ 'ID of the connected account to list external sites for',
65795
+ format: 'uuid',
65796
+ type: 'string',
65797
+ },
65798
+ },
65799
+ ],
65800
+ responses: {
65801
+ 200: {
65802
+ content: {
65803
+ 'application/json': {
65804
+ schema: {
65805
+ properties: {
65806
+ external_sites: {
65807
+ items: {
65808
+ properties: {
65809
+ key: { type: 'string' },
65810
+ name: { type: 'string' },
65811
+ },
65812
+ required: ['key', 'name'],
65813
+ type: 'object',
65814
+ },
65815
+ type: 'array',
65816
+ },
65817
+ ok: { type: 'boolean' },
65818
+ },
65819
+ required: ['external_sites', 'ok'],
65820
+ type: 'object',
65821
+ },
65822
+ },
65823
+ },
65824
+ description: 'OK',
65825
+ },
65826
+ 400: { description: 'Bad Request' },
65827
+ 401: { description: 'Unauthorized' },
65828
+ },
65829
+ security: [{ api_key: [] }, { console_session_with_workspace: [] }],
65830
+ summary: '/seam/customer/v1/connectors/external_sites/list',
65831
+ tags: [],
65832
+ 'x-fern-sdk-group-name': [
65833
+ 'seam',
65834
+ 'customer',
65835
+ 'v1',
65836
+ 'connectors',
65837
+ 'external_sites',
65838
+ ],
65839
+ 'x-fern-sdk-method-name': 'list',
65840
+ 'x-fern-sdk-return-value': 'external_sites',
65841
+ 'x-response-key': 'external_sites',
65842
+ 'x-title': 'List External Sites for a Connected Account',
65843
+ 'x-undocumented': 'Internal endpoint for Console.',
65844
+ },
65845
+ post: {
65846
+ description:
65847
+ "Lists sites/properties available from the external system for a given connected account by calling the connector's live API.",
65848
+ operationId: 'seamCustomerV1ConnectorsExternalSitesListPost',
65849
+ requestBody: {
65850
+ content: {
65851
+ 'application/json': {
65852
+ schema: {
65853
+ properties: {
65854
+ connected_account_id: {
65855
+ description:
65856
+ 'ID of the connected account to list external sites for',
65857
+ format: 'uuid',
65858
+ type: 'string',
65859
+ },
65860
+ },
65861
+ required: ['connected_account_id'],
65862
+ type: 'object',
65863
+ },
65864
+ },
65865
+ },
65866
+ },
65867
+ responses: {
65868
+ 200: {
65869
+ content: {
65870
+ 'application/json': {
65871
+ schema: {
65872
+ properties: {
65873
+ external_sites: {
65874
+ items: {
65875
+ properties: {
65876
+ key: { type: 'string' },
65877
+ name: { type: 'string' },
65878
+ },
65879
+ required: ['key', 'name'],
65880
+ type: 'object',
65881
+ },
65882
+ type: 'array',
65883
+ },
65884
+ ok: { type: 'boolean' },
65885
+ },
65886
+ required: ['external_sites', 'ok'],
65887
+ type: 'object',
65888
+ },
65889
+ },
65890
+ },
65891
+ description: 'OK',
65892
+ },
65893
+ 400: { description: 'Bad Request' },
65894
+ 401: { description: 'Unauthorized' },
65895
+ },
65896
+ security: [{ api_key: [] }, { console_session_with_workspace: [] }],
65897
+ summary: '/seam/customer/v1/connectors/external_sites/list',
65898
+ tags: [],
65899
+ 'x-fern-sdk-group-name': [
65900
+ 'seam',
65901
+ 'customer',
65902
+ 'v1',
65903
+ 'connectors',
65904
+ 'external_sites',
65905
+ ],
65906
+ 'x-fern-sdk-method-name': 'list',
65907
+ 'x-fern-sdk-return-value': 'external_sites',
65908
+ 'x-response-key': 'external_sites',
65909
+ 'x-title': 'List External Sites for a Connected Account',
65910
+ 'x-undocumented': 'Internal endpoint for Console.',
65911
+ },
65912
+ },
65767
65913
  '/seam/customer/v1/connectors/ical/validate-config': {
65768
65914
  post: {
65769
65915
  description:
@@ -72050,6 +72196,33 @@ const openapi: OpenAPISpec = {
72050
72196
  items: { format: 'uuid', type: 'string' },
72051
72197
  type: 'array',
72052
72198
  },
72199
+ customer_data: {
72200
+ description:
72201
+ "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.",
72202
+ properties: {
72203
+ default_checkin_time: {
72204
+ description:
72205
+ 'Default check-in time for reservations at the space, as HH:mm or HH:mm:ss.',
72206
+ nullable: true,
72207
+ pattern: '^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$',
72208
+ type: 'string',
72209
+ },
72210
+ default_checkout_time: {
72211
+ description:
72212
+ 'Default check-out time for reservations at the space, as HH:mm or HH:mm:ss.',
72213
+ nullable: true,
72214
+ pattern: '^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$',
72215
+ type: 'string',
72216
+ },
72217
+ time_zone: {
72218
+ description:
72219
+ 'IANA time zone for the space, e.g. America/Los_Angeles.',
72220
+ nullable: true,
72221
+ type: 'string',
72222
+ },
72223
+ },
72224
+ type: 'object',
72225
+ },
72053
72226
  device_ids: {
72054
72227
  description:
72055
72228
  '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
@@ -76564,6 +76588,24 @@ export type Routes = {
76564
76588
  }
76565
76589
  maxDuration: undefined
76566
76590
  }
76591
+ '/seam/customer/v1/connectors/external_sites/list': {
76592
+ route: '/seam/customer/v1/connectors/external_sites/list'
76593
+ method: 'GET' | 'POST'
76594
+ queryParams: {}
76595
+ jsonBody: {}
76596
+ commonParams: {
76597
+ /** ID of the connected account to list external sites for */
76598
+ connected_account_id: string
76599
+ }
76600
+ formData: {}
76601
+ jsonResponse: {
76602
+ external_sites: {
76603
+ key: string
76604
+ name: string
76605
+ }[]
76606
+ }
76607
+ maxDuration: undefined
76608
+ }
76567
76609
  '/seam/customer/v1/connectors/ical/validate-config': {
76568
76610
  route: '/seam/customer/v1/connectors/ical/validate-config'
76569
76611
  method: 'POST'
@@ -81299,6 +81341,17 @@ export type Routes = {
81299
81341
  acs_entrance_ids?: string[] | undefined
81300
81342
  /** 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
81343
  connected_account_ids?: string[] | undefined
81344
+ /** 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. */
81345
+ customer_data?:
81346
+ | {
81347
+ /** IANA time zone for the space, e.g. America/Los_Angeles. */
81348
+ time_zone?: (string | null) | undefined
81349
+ /** Default check-in time for reservations at the space, as HH:mm or HH:mm:ss. */
81350
+ default_checkin_time?: (string | null) | undefined
81351
+ /** Default check-out time for reservations at the space, as HH:mm or HH:mm:ss. */
81352
+ default_checkout_time?: (string | null) | undefined
81353
+ }
81354
+ | undefined
81302
81355
  /** Space key of the parent space for this space. */
81303
81356
  parent_space_key?: string | undefined
81304
81357
  /** Name of the parent space for this space. */
@@ -84797,6 +84850,12 @@ export type Routes = {
84797
84850
  | 'access_control'
84798
84851
  | 'camera'
84799
84852
  )[]
84853
+ /** 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. */
84854
+ default_checkin_time?: string | undefined
84855
+ /** Default reservation check-out time for this connected account, as `HH:mm` (24-hour). Sourced from the connector configuration. */
84856
+ default_checkout_time?: string | undefined
84857
+ /** IANA time zone (e.g. America/Los_Angeles) for this connected account. Sourced from the connector configuration. */
84858
+ time_zone?: string | undefined
84800
84859
  }[]
84801
84860
  | undefined
84802
84861
  acs_systems?:
@@ -115932,6 +115991,12 @@ export type Routes = {
115932
115991
  | 'access_control'
115933
115992
  | 'camera'
115934
115993
  )[]
115994
+ /** 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. */
115995
+ default_checkin_time?: string | undefined
115996
+ /** Default reservation check-out time for this connected account, as `HH:mm` (24-hour). Sourced from the connector configuration. */
115997
+ default_checkout_time?: string | undefined
115998
+ /** IANA time zone (e.g. America/Los_Angeles) for this connected account. Sourced from the connector configuration. */
115999
+ time_zone?: string | undefined
115935
116000
  }[]
115936
116001
  | undefined
115937
116002
  events?: