@seamapi/types 1.754.0 → 1.756.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.
@@ -16601,7 +16601,9 @@ export type Routes = {
16601
16601
  jsonBody: {};
16602
16602
  commonParams: {
16603
16603
  /** ID of Access Grant to list access methods for. */
16604
- access_grant_id: string;
16604
+ access_grant_id?: string | undefined;
16605
+ /** Key of Access Grant to list access methods for. */
16606
+ access_grant_key?: string | undefined;
16605
16607
  /** ID of the device for which you want to retrieve all access methods. */
16606
16608
  device_id?: string | undefined;
16607
16609
  /** ID of the entrance for which you want to retrieve all access methods. */
@@ -59650,6 +59652,7 @@ export type Routes = {
59650
59652
  card_count_on_reservation_create?: number | undefined;
59651
59653
  code_count_on_reservation_create?: number | undefined;
59652
59654
  instant_key_max_use_count?: number | undefined;
59655
+ prefer_guest_phone_last4_as_code?: boolean | undefined;
59653
59656
  };
59654
59657
  } | undefined;
59655
59658
  reservation_time_updated?: {
@@ -59732,6 +59735,7 @@ export type Routes = {
59732
59735
  card_count_on_reservation_create?: number | undefined;
59733
59736
  code_count_on_reservation_create?: number | undefined;
59734
59737
  instant_key_max_use_count?: number | undefined;
59738
+ prefer_guest_phone_last4_as_code?: boolean | undefined;
59735
59739
  };
59736
59740
  } | undefined;
59737
59741
  reservation_time_updated?: {
@@ -60027,6 +60031,7 @@ export type Routes = {
60027
60031
  card_count_on_reservation_create?: number | undefined;
60028
60032
  code_count_on_reservation_create?: number | undefined;
60029
60033
  instant_key_max_use_count?: number | undefined;
60034
+ prefer_guest_phone_last4_as_code?: boolean | undefined;
60030
60035
  };
60031
60036
  } | undefined;
60032
60037
  reservation_time_updated?: {
@@ -60108,6 +60113,7 @@ export type Routes = {
60108
60113
  card_count_on_reservation_create?: number | undefined;
60109
60114
  code_count_on_reservation_create?: number | undefined;
60110
60115
  instant_key_max_use_count?: number | undefined;
60116
+ prefer_guest_phone_last4_as_code?: boolean | undefined;
60111
60117
  };
60112
60118
  } | undefined;
60113
60119
  reservation_time_updated?: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.754.0",
3
+ "version": "1.756.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -38185,17 +38185,24 @@ export default {
38185
38185
  {
38186
38186
  in: 'query',
38187
38187
  name: 'access_grant_id',
38188
- required: true,
38189
38188
  schema: {
38190
38189
  description: 'ID of Access Grant to list access methods for.',
38191
38190
  format: 'uuid',
38192
38191
  type: 'string',
38193
38192
  },
38194
38193
  },
38194
+ {
38195
+ in: 'query',
38196
+ name: 'access_grant_key',
38197
+ schema: {
38198
+ description: 'Key of Access Grant to list access methods for.',
38199
+ minLength: 1,
38200
+ type: 'string',
38201
+ },
38202
+ },
38195
38203
  {
38196
38204
  in: 'query',
38197
38205
  name: 'device_id',
38198
- required: false,
38199
38206
  schema: {
38200
38207
  description:
38201
38208
  'ID of the device for which you want to retrieve all access methods.',
@@ -38206,7 +38213,6 @@ export default {
38206
38213
  {
38207
38214
  in: 'query',
38208
38215
  name: 'acs_entrance_id',
38209
- required: false,
38210
38216
  schema: {
38211
38217
  description:
38212
38218
  'ID of the entrance for which you want to retrieve all access methods.',
@@ -38217,7 +38223,6 @@ export default {
38217
38223
  {
38218
38224
  in: 'query',
38219
38225
  name: 'space_id',
38220
- required: false,
38221
38226
  schema: {
38222
38227
  description:
38223
38228
  'ID of the space for which you want to retrieve all access methods.',
@@ -38278,6 +38283,12 @@ export default {
38278
38283
  format: 'uuid',
38279
38284
  type: 'string',
38280
38285
  },
38286
+ access_grant_key: {
38287
+ description:
38288
+ 'Key of Access Grant to list access methods for.',
38289
+ minLength: 1,
38290
+ type: 'string',
38291
+ },
38281
38292
  acs_entrance_id: {
38282
38293
  description:
38283
38294
  'ID of the entrance for which you want to retrieve all access methods.',
@@ -38297,7 +38308,6 @@ export default {
38297
38308
  type: 'string',
38298
38309
  },
38299
38310
  },
38300
- required: ['access_grant_id'],
38301
38311
  type: 'object',
38302
38312
  },
38303
38313
  },
@@ -61403,6 +61413,9 @@ export default {
61403
61413
  ],
61404
61414
  type: 'string',
61405
61415
  },
61416
+ prefer_guest_phone_last4_as_code: {
61417
+ type: 'boolean',
61418
+ },
61406
61419
  },
61407
61420
  required: [
61408
61421
  'access_methods',
@@ -61701,6 +61714,9 @@ export default {
61701
61714
  ],
61702
61715
  type: 'string',
61703
61716
  },
61717
+ prefer_guest_phone_last4_as_code: {
61718
+ type: 'boolean',
61719
+ },
61704
61720
  },
61705
61721
  required: [
61706
61722
  'access_methods',
@@ -61985,6 +62001,9 @@ export default {
61985
62001
  ],
61986
62002
  type: 'string',
61987
62003
  },
62004
+ prefer_guest_phone_last4_as_code: {
62005
+ type: 'boolean',
62006
+ },
61988
62007
  },
61989
62008
  required: [
61990
62009
  'access_methods',
@@ -62270,6 +62289,9 @@ export default {
62270
62289
  ],
62271
62290
  type: 'string',
62272
62291
  },
62292
+ prefer_guest_phone_last4_as_code: {
62293
+ type: 'boolean',
62294
+ },
62273
62295
  },
62274
62296
  required: [
62275
62297
  'access_methods',
@@ -63530,6 +63552,9 @@ export default {
63530
63552
  ],
63531
63553
  type: 'string',
63532
63554
  },
63555
+ prefer_guest_phone_last4_as_code: {
63556
+ type: 'boolean',
63557
+ },
63533
63558
  },
63534
63559
  required: [
63535
63560
  'access_methods',
@@ -63827,6 +63852,9 @@ export default {
63827
63852
  ],
63828
63853
  type: 'string',
63829
63854
  },
63855
+ prefer_guest_phone_last4_as_code: {
63856
+ type: 'boolean',
63857
+ },
63830
63858
  },
63831
63859
  required: [
63832
63860
  'access_methods',
@@ -64124,6 +64152,9 @@ export default {
64124
64152
  ],
64125
64153
  type: 'string',
64126
64154
  },
64155
+ prefer_guest_phone_last4_as_code: {
64156
+ type: 'boolean',
64157
+ },
64127
64158
  },
64128
64159
  required: [
64129
64160
  'access_methods',
@@ -64409,6 +64440,9 @@ export default {
64409
64440
  ],
64410
64441
  type: 'string',
64411
64442
  },
64443
+ prefer_guest_phone_last4_as_code: {
64444
+ type: 'boolean',
64445
+ },
64412
64446
  },
64413
64447
  required: [
64414
64448
  'access_methods',
@@ -19219,7 +19219,9 @@ export type Routes = {
19219
19219
  jsonBody: {}
19220
19220
  commonParams: {
19221
19221
  /** ID of Access Grant to list access methods for. */
19222
- access_grant_id: string
19222
+ access_grant_id?: string | undefined
19223
+ /** Key of Access Grant to list access methods for. */
19224
+ access_grant_key?: string | undefined
19223
19225
  /** ID of the device for which you want to retrieve all access methods. */
19224
19226
  device_id?: string | undefined
19225
19227
  /** ID of the entrance for which you want to retrieve all access methods. */
@@ -70990,6 +70992,7 @@ export type Routes = {
70990
70992
  card_count_on_reservation_create?: number | undefined
70991
70993
  code_count_on_reservation_create?: number | undefined
70992
70994
  instant_key_max_use_count?: number | undefined
70995
+ prefer_guest_phone_last4_as_code?: boolean | undefined
70993
70996
  }
70994
70997
  }
70995
70998
  | undefined
@@ -71101,6 +71104,7 @@ export type Routes = {
71101
71104
  card_count_on_reservation_create?: number | undefined
71102
71105
  code_count_on_reservation_create?: number | undefined
71103
71106
  instant_key_max_use_count?: number | undefined
71107
+ prefer_guest_phone_last4_as_code?: boolean | undefined
71104
71108
  }
71105
71109
  }
71106
71110
  | undefined
@@ -71433,6 +71437,7 @@ export type Routes = {
71433
71437
  card_count_on_reservation_create?: number | undefined
71434
71438
  code_count_on_reservation_create?: number | undefined
71435
71439
  instant_key_max_use_count?: number | undefined
71440
+ prefer_guest_phone_last4_as_code?: boolean | undefined
71436
71441
  }
71437
71442
  }
71438
71443
  | undefined
@@ -71545,6 +71550,7 @@ export type Routes = {
71545
71550
  card_count_on_reservation_create?: number | undefined
71546
71551
  code_count_on_reservation_create?: number | undefined
71547
71552
  instant_key_max_use_count?: number | undefined
71553
+ prefer_guest_phone_last4_as_code?: boolean | undefined
71548
71554
  }
71549
71555
  }
71550
71556
  | undefined