@seamapi/types 1.910.0 → 1.912.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.
@@ -15074,8 +15074,10 @@ export type Routes = {
15074
15074
  commonParams: {
15075
15075
  /** Display name for the access grant. */
15076
15076
  name?: (string | null) | undefined;
15077
- /** ID of the Access Grant to update. */
15078
- access_grant_id: string;
15077
+ /** ID of the Access Grant to update. Provide either `access_grant_id` or `access_grant_key`. */
15078
+ access_grant_id?: string | undefined;
15079
+ /** Key of the Access Grant to update. Provide either `access_grant_id` or `access_grant_key`. */
15080
+ access_grant_key?: string | undefined;
15079
15081
  /** Date and time at which the validity of the grant starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
15080
15082
  starts_at?: string | undefined;
15081
15083
  /** Date and time at which the validity of the grant ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. Must be a time in the future and after `starts_at`. */
@@ -79219,7 +79221,7 @@ export type Routes = {
79219
79221
  /** Business vertical of the customer portal. */
79220
79222
  business_vertical?: ('neutral' | 'short_term_rental' | 'hospitality' | 'multi_family' | 'gym_management' | 'property_tours') | undefined;
79221
79223
  feature_flags?: {
79222
- RESERVATION_UI_V2?: boolean | undefined;
79224
+ RESERVATION_LEGACY?: boolean | undefined;
79223
79225
  SALTO_KS_ENTRANCES_ONLY_FOR_SPACES?: boolean | undefined;
79224
79226
  MANAGE_DEVICES_CONFIRMATION_MODAL?: boolean | undefined;
79225
79227
  } | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.910.0",
3
+ "version": "1.912.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -40533,10 +40533,17 @@ const openapi: OpenAPISpec = {
40533
40533
  schema: {
40534
40534
  properties: {
40535
40535
  access_grant_id: {
40536
- description: 'ID of the Access Grant to update.',
40536
+ description:
40537
+ 'ID of the Access Grant to update. Provide either `access_grant_id` or `access_grant_key`.',
40537
40538
  format: 'uuid',
40538
40539
  type: 'string',
40539
40540
  },
40541
+ access_grant_key: {
40542
+ description:
40543
+ 'Key of the Access Grant to update. Provide either `access_grant_id` or `access_grant_key`.',
40544
+ minLength: 1,
40545
+ type: 'string',
40546
+ },
40540
40547
  ends_at: {
40541
40548
  description:
40542
40549
  'Date and time at which the validity of the grant ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. Must be a time in the future and after `starts_at`.',
@@ -40556,7 +40563,6 @@ const openapi: OpenAPISpec = {
40556
40563
  type: 'string',
40557
40564
  },
40558
40565
  },
40559
- required: ['access_grant_id'],
40560
40566
  type: 'object',
40561
40567
  },
40562
40568
  },
@@ -40600,10 +40606,17 @@ const openapi: OpenAPISpec = {
40600
40606
  schema: {
40601
40607
  properties: {
40602
40608
  access_grant_id: {
40603
- description: 'ID of the Access Grant to update.',
40609
+ description:
40610
+ 'ID of the Access Grant to update. Provide either `access_grant_id` or `access_grant_key`.',
40604
40611
  format: 'uuid',
40605
40612
  type: 'string',
40606
40613
  },
40614
+ access_grant_key: {
40615
+ description:
40616
+ 'Key of the Access Grant to update. Provide either `access_grant_id` or `access_grant_key`.',
40617
+ minLength: 1,
40618
+ type: 'string',
40619
+ },
40607
40620
  ends_at: {
40608
40621
  description:
40609
40622
  'Date and time at which the validity of the grant ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. Must be a time in the future and after `starts_at`.',
@@ -40623,7 +40636,6 @@ const openapi: OpenAPISpec = {
40623
40636
  type: 'string',
40624
40637
  },
40625
40638
  },
40626
- required: ['access_grant_id'],
40627
40639
  type: 'object',
40628
40640
  },
40629
40641
  },
@@ -71429,7 +71441,7 @@ const openapi: OpenAPISpec = {
71429
71441
  MANAGE_DEVICES_CONFIRMATION_MODAL: {
71430
71442
  type: 'boolean',
71431
71443
  },
71432
- RESERVATION_UI_V2: { type: 'boolean' },
71444
+ RESERVATION_LEGACY: { type: 'boolean' },
71433
71445
  SALTO_KS_ENTRANCES_ONLY_FOR_SPACES: {
71434
71446
  type: 'boolean',
71435
71447
  },
@@ -71886,7 +71898,7 @@ const openapi: OpenAPISpec = {
71886
71898
  MANAGE_DEVICES_CONFIRMATION_MODAL: {
71887
71899
  type: 'boolean',
71888
71900
  },
71889
- RESERVATION_UI_V2: { type: 'boolean' },
71901
+ RESERVATION_LEGACY: { type: 'boolean' },
71890
71902
  SALTO_KS_ENTRANCES_ONLY_FOR_SPACES: {
71891
71903
  type: 'boolean',
71892
71904
  },
@@ -17311,8 +17311,10 @@ export type Routes = {
17311
17311
  commonParams: {
17312
17312
  /** Display name for the access grant. */
17313
17313
  name?: (string | null) | undefined
17314
- /** ID of the Access Grant to update. */
17315
- access_grant_id: string
17314
+ /** ID of the Access Grant to update. Provide either `access_grant_id` or `access_grant_key`. */
17315
+ access_grant_id?: string | undefined
17316
+ /** Key of the Access Grant to update. Provide either `access_grant_id` or `access_grant_key`. */
17317
+ access_grant_key?: string | undefined
17316
17318
  /** Date and time at which the validity of the grant starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
17317
17319
  starts_at?: string | undefined
17318
17320
  /** Date and time at which the validity of the grant ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. Must be a time in the future and after `starts_at`. */
@@ -94751,7 +94753,7 @@ export type Routes = {
94751
94753
  | undefined
94752
94754
  feature_flags?:
94753
94755
  | {
94754
- RESERVATION_UI_V2?: boolean | undefined
94756
+ RESERVATION_LEGACY?: boolean | undefined
94755
94757
  SALTO_KS_ENTRANCES_ONLY_FOR_SPACES?: boolean | undefined
94756
94758
  MANAGE_DEVICES_CONFIRMATION_MODAL?: boolean | undefined
94757
94759
  }