@seamapi/types 1.769.0 → 1.770.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.
Files changed (26) hide show
  1. package/dist/connect.cjs +53 -33
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +90 -90
  4. package/dist/index.cjs +53 -33
  5. package/dist/index.cjs.map +1 -1
  6. package/lib/seam/connect/models/access-grants/access-grant.d.ts +10 -10
  7. package/lib/seam/connect/models/access-grants/access-method.d.ts +6 -6
  8. package/lib/seam/connect/models/access-grants/access-method.js +2 -2
  9. package/lib/seam/connect/models/access-grants/access-method.js.map +1 -1
  10. package/lib/seam/connect/models/access-grants/requested-access-method.d.ts +3 -3
  11. package/lib/seam/connect/models/access-grants/requested-access-method.js +2 -2
  12. package/lib/seam/connect/models/access-grants/requested-access-method.js.map +1 -1
  13. package/lib/seam/connect/models/acs/acs-entrance.d.ts +6 -6
  14. package/lib/seam/connect/models/acs/acs-entrance.js +4 -4
  15. package/lib/seam/connect/models/acs/acs-entrance.js.map +1 -1
  16. package/lib/seam/connect/models/batch.d.ts +17 -17
  17. package/lib/seam/connect/models/phones/phone-session.d.ts +16 -16
  18. package/lib/seam/connect/openapi.js +46 -26
  19. package/lib/seam/connect/openapi.js.map +1 -1
  20. package/lib/seam/connect/route-types.d.ts +62 -62
  21. package/package.json +1 -1
  22. package/src/lib/seam/connect/models/access-grants/access-method.ts +2 -2
  23. package/src/lib/seam/connect/models/access-grants/requested-access-method.ts +2 -2
  24. package/src/lib/seam/connect/models/acs/acs-entrance.ts +4 -4
  25. package/src/lib/seam/connect/openapi.ts +46 -26
  26. package/src/lib/seam/connect/route-types.ts +62 -62
@@ -10366,8 +10366,8 @@ export type Routes = {
10366
10366
  /** Set of IDs of the [devices](https://docs.seam.co/latest/api/devices/list) to which access is being granted. */
10367
10367
  device_ids?: string[];
10368
10368
  requested_access_methods: {
10369
- /** Access method mode. Supported values: `code`, `card`, `mobile_key`. */
10370
- mode: 'code' | 'card' | 'mobile_key';
10369
+ /** Access method mode. Supported values: `code`, `card`, `mobile_key`, `cloud_key`. */
10370
+ mode: 'code' | 'card' | 'mobile_key' | 'cloud_key';
10371
10371
  /** Specific PIN code to use for this access method. Only applicable when mode is 'code'. */
10372
10372
  code?: string | undefined;
10373
10373
  /** Maximum number of times the instant key can be used. Only applicable when mode is 'mobile_key'. Defaults to 1 if not specified. */
@@ -10403,8 +10403,8 @@ export type Routes = {
10403
10403
  requested_access_methods: {
10404
10404
  /** Display name of the access method. */
10405
10405
  display_name: string;
10406
- /** Access method mode. Supported values: `code`, `card`, `mobile_key`. */
10407
- mode: 'code' | 'card' | 'mobile_key';
10406
+ /** Access method mode. Supported values: `code`, `card`, `mobile_key`, `cloud_key`. */
10407
+ mode: 'code' | 'card' | 'mobile_key' | 'cloud_key';
10408
10408
  /** Specific PIN code to use for this access method. Only applicable when mode is 'code'. */
10409
10409
  code?: string | undefined;
10410
10410
  /** Maximum number of times the instant key can be used. Only applicable when mode is 'mobile_key'. Defaults to 1 if not specified. */
@@ -10591,8 +10591,8 @@ export type Routes = {
10591
10591
  requested_access_methods: {
10592
10592
  /** Display name of the access method. */
10593
10593
  display_name: string;
10594
- /** Access method mode. Supported values: `code`, `card`, `mobile_key`. */
10595
- mode: 'code' | 'card' | 'mobile_key';
10594
+ /** Access method mode. Supported values: `code`, `card`, `mobile_key`, `cloud_key`. */
10595
+ mode: 'code' | 'card' | 'mobile_key' | 'cloud_key';
10596
10596
  /** Specific PIN code to use for this access method. Only applicable when mode is 'code'. */
10597
10597
  code?: string | undefined;
10598
10598
  /** Maximum number of times the instant key can be used. Only applicable when mode is 'mobile_key'. Defaults to 1 if not specified. */
@@ -12215,10 +12215,10 @@ export type Routes = {
12215
12215
  can_unlock_with_card?: boolean | undefined;
12216
12216
  /** Indicates whether the ACS entrance can be unlocked with pin codes. */
12217
12217
  can_unlock_with_code?: boolean | undefined;
12218
+ /** Indicates whether the ACS entrance can be unlocked with cloud key credentials. */
12219
+ can_unlock_with_cloud_key?: boolean | undefined;
12218
12220
  /** Indicates whether the ACS entrance can belong to a reservation via an access_grant.reservation_key. */
12219
12221
  can_belong_to_reservation?: boolean | undefined;
12220
- /** Indicates whether the ACS entrance can be remotely unlocked using a cloud_key credential. */
12221
- can_unlock_with_cloud_key?: boolean | undefined;
12222
12222
  }[] | undefined;
12223
12223
  connected_accounts?: {
12224
12224
  /** ID of the connected account. */
@@ -12685,8 +12685,8 @@ export type Routes = {
12685
12685
  access_method_id: string;
12686
12686
  /** Display name of the access method. */
12687
12687
  display_name: string;
12688
- /** Access method mode. Supported values: `code`, `card`, `mobile_key`. */
12689
- mode: 'code' | 'card' | 'mobile_key';
12688
+ /** Access method mode. Supported values: `code`, `card`, `mobile_key`, `cloud_key`. */
12689
+ mode: 'code' | 'card' | 'mobile_key' | 'cloud_key';
12690
12690
  /** Date and time at which the access method was created. */
12691
12691
  created_at: string;
12692
12692
  /** Date and time at which the access method was issued. */
@@ -12844,8 +12844,8 @@ export type Routes = {
12844
12844
  requested_access_methods: {
12845
12845
  /** Display name of the access method. */
12846
12846
  display_name: string;
12847
- /** Access method mode. Supported values: `code`, `card`, `mobile_key`. */
12848
- mode: 'code' | 'card' | 'mobile_key';
12847
+ /** Access method mode. Supported values: `code`, `card`, `mobile_key`, `cloud_key`. */
12848
+ mode: 'code' | 'card' | 'mobile_key' | 'cloud_key';
12849
12849
  /** Specific PIN code to use for this access method. Only applicable when mode is 'code'. */
12850
12850
  code?: string | undefined;
12851
12851
  /** Maximum number of times the instant key can be used. Only applicable when mode is 'mobile_key'. Defaults to 1 if not specified. */
@@ -13003,8 +13003,8 @@ export type Routes = {
13003
13003
  access_grant_id: string;
13004
13004
  /** Array of requested access methods to add to the access grant. */
13005
13005
  requested_access_methods: {
13006
- /** Access method mode. Supported values: `code`, `card`, `mobile_key`. */
13007
- mode: 'code' | 'card' | 'mobile_key';
13006
+ /** Access method mode. Supported values: `code`, `card`, `mobile_key`, `cloud_key`. */
13007
+ mode: 'code' | 'card' | 'mobile_key' | 'cloud_key';
13008
13008
  /** Specific PIN code to use for this access method. Only applicable when mode is 'code'. */
13009
13009
  code?: string | undefined;
13010
13010
  /** Maximum number of times the instant key can be used. Only applicable when mode is 'mobile_key'. Defaults to 1 if not specified. */
@@ -13034,8 +13034,8 @@ export type Routes = {
13034
13034
  requested_access_methods: {
13035
13035
  /** Display name of the access method. */
13036
13036
  display_name: string;
13037
- /** Access method mode. Supported values: `code`, `card`, `mobile_key`. */
13038
- mode: 'code' | 'card' | 'mobile_key';
13037
+ /** Access method mode. Supported values: `code`, `card`, `mobile_key`, `cloud_key`. */
13038
+ mode: 'code' | 'card' | 'mobile_key' | 'cloud_key';
13039
13039
  /** Specific PIN code to use for this access method. Only applicable when mode is 'code'. */
13040
13040
  code?: string | undefined;
13041
13041
  /** Maximum number of times the instant key can be used. Only applicable when mode is 'mobile_key'. Defaults to 1 if not specified. */
@@ -13202,8 +13202,8 @@ export type Routes = {
13202
13202
  requested_access_methods: {
13203
13203
  /** Display name of the access method. */
13204
13204
  display_name: string;
13205
- /** Access method mode. Supported values: `code`, `card`, `mobile_key`. */
13206
- mode: 'code' | 'card' | 'mobile_key';
13205
+ /** Access method mode. Supported values: `code`, `card`, `mobile_key`, `cloud_key`. */
13206
+ mode: 'code' | 'card' | 'mobile_key' | 'cloud_key';
13207
13207
  /** Specific PIN code to use for this access method. Only applicable when mode is 'code'. */
13208
13208
  code?: string | undefined;
13209
13209
  /** Maximum number of times the instant key can be used. Only applicable when mode is 'mobile_key'. Defaults to 1 if not specified. */
@@ -13375,8 +13375,8 @@ export type Routes = {
13375
13375
  requested_access_methods: {
13376
13376
  /** Display name of the access method. */
13377
13377
  display_name: string;
13378
- /** Access method mode. Supported values: `code`, `card`, `mobile_key`. */
13379
- mode: 'code' | 'card' | 'mobile_key';
13378
+ /** Access method mode. Supported values: `code`, `card`, `mobile_key`, `cloud_key`. */
13379
+ mode: 'code' | 'card' | 'mobile_key' | 'cloud_key';
13380
13380
  /** Specific PIN code to use for this access method. Only applicable when mode is 'code'. */
13381
13381
  code?: string | undefined;
13382
13382
  /** Maximum number of times the instant key can be used. Only applicable when mode is 'mobile_key'. Defaults to 1 if not specified. */
@@ -14926,8 +14926,8 @@ export type Routes = {
14926
14926
  access_method_id: string;
14927
14927
  /** Display name of the access method. */
14928
14928
  display_name: string;
14929
- /** Access method mode. Supported values: `code`, `card`, `mobile_key`. */
14930
- mode: 'code' | 'card' | 'mobile_key';
14929
+ /** Access method mode. Supported values: `code`, `card`, `mobile_key`, `cloud_key`. */
14930
+ mode: 'code' | 'card' | 'mobile_key' | 'cloud_key';
14931
14931
  /** Date and time at which the access method was created. */
14932
14932
  created_at: string;
14933
14933
  /** Date and time at which the access method was issued. */
@@ -16514,10 +16514,10 @@ export type Routes = {
16514
16514
  can_unlock_with_card?: boolean | undefined;
16515
16515
  /** Indicates whether the ACS entrance can be unlocked with pin codes. */
16516
16516
  can_unlock_with_code?: boolean | undefined;
16517
+ /** Indicates whether the ACS entrance can be unlocked with cloud key credentials. */
16518
+ can_unlock_with_cloud_key?: boolean | undefined;
16517
16519
  /** Indicates whether the ACS entrance can belong to a reservation via an access_grant.reservation_key. */
16518
16520
  can_belong_to_reservation?: boolean | undefined;
16519
- /** Indicates whether the ACS entrance can be remotely unlocked using a cloud_key credential. */
16520
- can_unlock_with_cloud_key?: boolean | undefined;
16521
16521
  }[] | undefined;
16522
16522
  access_grants?: {
16523
16523
  /** ID of the Seam workspace associated with the Access Grant. */
@@ -16539,8 +16539,8 @@ export type Routes = {
16539
16539
  requested_access_methods: {
16540
16540
  /** Display name of the access method. */
16541
16541
  display_name: string;
16542
- /** Access method mode. Supported values: `code`, `card`, `mobile_key`. */
16543
- mode: 'code' | 'card' | 'mobile_key';
16542
+ /** Access method mode. Supported values: `code`, `card`, `mobile_key`, `cloud_key`. */
16543
+ mode: 'code' | 'card' | 'mobile_key' | 'cloud_key';
16544
16544
  /** Specific PIN code to use for this access method. Only applicable when mode is 'code'. */
16545
16545
  code?: string | undefined;
16546
16546
  /** Maximum number of times the instant key can be used. Only applicable when mode is 'mobile_key'. Defaults to 1 if not specified. */
@@ -16683,8 +16683,8 @@ export type Routes = {
16683
16683
  access_method_id: string;
16684
16684
  /** Display name of the access method. */
16685
16685
  display_name: string;
16686
- /** Access method mode. Supported values: `code`, `card`, `mobile_key`. */
16687
- mode: 'code' | 'card' | 'mobile_key';
16686
+ /** Access method mode. Supported values: `code`, `card`, `mobile_key`, `cloud_key`. */
16687
+ mode: 'code' | 'card' | 'mobile_key' | 'cloud_key';
16688
16688
  /** Date and time at which the access method was created. */
16689
16689
  created_at: string;
16690
16690
  /** Date and time at which the access method was issued. */
@@ -17001,8 +17001,8 @@ export type Routes = {
17001
17001
  access_method_id: string;
17002
17002
  /** Display name of the access method. */
17003
17003
  display_name: string;
17004
- /** Access method mode. Supported values: `code`, `card`, `mobile_key`. */
17005
- mode: 'code' | 'card' | 'mobile_key';
17004
+ /** Access method mode. Supported values: `code`, `card`, `mobile_key`, `cloud_key`. */
17005
+ mode: 'code' | 'card' | 'mobile_key' | 'cloud_key';
17006
17006
  /** Date and time at which the access method was created. */
17007
17007
  created_at: string;
17008
17008
  /** Date and time at which the access method was issued. */
@@ -17126,8 +17126,8 @@ export type Routes = {
17126
17126
  access_method_id: string;
17127
17127
  /** Display name of the access method. */
17128
17128
  display_name: string;
17129
- /** Access method mode. Supported values: `code`, `card`, `mobile_key`. */
17130
- mode: 'code' | 'card' | 'mobile_key';
17129
+ /** Access method mode. Supported values: `code`, `card`, `mobile_key`, `cloud_key`. */
17130
+ mode: 'code' | 'card' | 'mobile_key' | 'cloud_key';
17131
17131
  /** Date and time at which the access method was created. */
17132
17132
  created_at: string;
17133
17133
  /** Date and time at which the access method was issued. */
@@ -17250,8 +17250,8 @@ export type Routes = {
17250
17250
  access_method_id: string;
17251
17251
  /** Display name of the access method. */
17252
17252
  display_name: string;
17253
- /** Access method mode. Supported values: `code`, `card`, `mobile_key`. */
17254
- mode: 'code' | 'card' | 'mobile_key';
17253
+ /** Access method mode. Supported values: `code`, `card`, `mobile_key`, `cloud_key`. */
17254
+ mode: 'code' | 'card' | 'mobile_key' | 'cloud_key';
17255
17255
  /** Date and time at which the access method was created. */
17256
17256
  created_at: string;
17257
17257
  /** Date and time at which the access method was issued. */
@@ -17866,10 +17866,10 @@ export type Routes = {
17866
17866
  can_unlock_with_card?: boolean | undefined;
17867
17867
  /** Indicates whether the ACS entrance can be unlocked with pin codes. */
17868
17868
  can_unlock_with_code?: boolean | undefined;
17869
+ /** Indicates whether the ACS entrance can be unlocked with cloud key credentials. */
17870
+ can_unlock_with_cloud_key?: boolean | undefined;
17869
17871
  /** Indicates whether the ACS entrance can belong to a reservation via an access_grant.reservation_key. */
17870
17872
  can_belong_to_reservation?: boolean | undefined;
17871
- /** Indicates whether the ACS entrance can be remotely unlocked using a cloud_key credential. */
17872
- can_unlock_with_cloud_key?: boolean | undefined;
17873
17873
  }[];
17874
17874
  };
17875
17875
  maxDuration: undefined;
@@ -19526,10 +19526,10 @@ export type Routes = {
19526
19526
  can_unlock_with_card?: boolean | undefined;
19527
19527
  /** Indicates whether the ACS entrance can be unlocked with pin codes. */
19528
19528
  can_unlock_with_code?: boolean | undefined;
19529
+ /** Indicates whether the ACS entrance can be unlocked with cloud key credentials. */
19530
+ can_unlock_with_cloud_key?: boolean | undefined;
19529
19531
  /** Indicates whether the ACS entrance can belong to a reservation via an access_grant.reservation_key. */
19530
19532
  can_belong_to_reservation?: boolean | undefined;
19531
- /** Indicates whether the ACS entrance can be remotely unlocked using a cloud_key credential. */
19532
- can_unlock_with_cloud_key?: boolean | undefined;
19533
19533
  }[];
19534
19534
  };
19535
19535
  maxDuration: undefined;
@@ -23142,10 +23142,10 @@ export type Routes = {
23142
23142
  can_unlock_with_card?: boolean | undefined;
23143
23143
  /** Indicates whether the ACS entrance can be unlocked with pin codes. */
23144
23144
  can_unlock_with_code?: boolean | undefined;
23145
+ /** Indicates whether the ACS entrance can be unlocked with cloud key credentials. */
23146
+ can_unlock_with_cloud_key?: boolean | undefined;
23145
23147
  /** Indicates whether the ACS entrance can belong to a reservation via an access_grant.reservation_key. */
23146
23148
  can_belong_to_reservation?: boolean | undefined;
23147
- /** Indicates whether the ACS entrance can be remotely unlocked using a cloud_key credential. */
23148
- can_unlock_with_cloud_key?: boolean | undefined;
23149
23149
  };
23150
23150
  };
23151
23151
  maxDuration: undefined;
@@ -23323,10 +23323,10 @@ export type Routes = {
23323
23323
  can_unlock_with_card?: boolean | undefined;
23324
23324
  /** Indicates whether the ACS entrance can be unlocked with pin codes. */
23325
23325
  can_unlock_with_code?: boolean | undefined;
23326
+ /** Indicates whether the ACS entrance can be unlocked with cloud key credentials. */
23327
+ can_unlock_with_cloud_key?: boolean | undefined;
23326
23328
  /** Indicates whether the ACS entrance can belong to a reservation via an access_grant.reservation_key. */
23327
23329
  can_belong_to_reservation?: boolean | undefined;
23328
- /** Indicates whether the ACS entrance can be remotely unlocked using a cloud_key credential. */
23329
- can_unlock_with_cloud_key?: boolean | undefined;
23330
23330
  }[];
23331
23331
  /** Information about the current page of results. */
23332
23332
  pagination: {
@@ -26237,10 +26237,10 @@ export type Routes = {
26237
26237
  can_unlock_with_card?: boolean | undefined;
26238
26238
  /** Indicates whether the ACS entrance can be unlocked with pin codes. */
26239
26239
  can_unlock_with_code?: boolean | undefined;
26240
+ /** Indicates whether the ACS entrance can be unlocked with cloud key credentials. */
26241
+ can_unlock_with_cloud_key?: boolean | undefined;
26240
26242
  /** Indicates whether the ACS entrance can belong to a reservation via an access_grant.reservation_key. */
26241
26243
  can_belong_to_reservation?: boolean | undefined;
26242
- /** Indicates whether the ACS entrance can be remotely unlocked using a cloud_key credential. */
26243
- can_unlock_with_cloud_key?: boolean | undefined;
26244
26244
  }[];
26245
26245
  };
26246
26246
  maxDuration: undefined;
@@ -60643,8 +60643,8 @@ export type Routes = {
60643
60643
  requested_access_methods: {
60644
60644
  /** Display name of the access method. */
60645
60645
  display_name: string;
60646
- /** Access method mode. Supported values: `code`, `card`, `mobile_key`. */
60647
- mode: 'code' | 'card' | 'mobile_key';
60646
+ /** Access method mode. Supported values: `code`, `card`, `mobile_key`, `cloud_key`. */
60647
+ mode: 'code' | 'card' | 'mobile_key' | 'cloud_key';
60648
60648
  /** Specific PIN code to use for this access method. Only applicable when mode is 'code'. */
60649
60649
  code?: string | undefined;
60650
60650
  /** Maximum number of times the instant key can be used. Only applicable when mode is 'mobile_key'. Defaults to 1 if not specified. */
@@ -65944,8 +65944,8 @@ export type Routes = {
65944
65944
  requested_access_methods: {
65945
65945
  /** Display name of the access method. */
65946
65946
  display_name: string;
65947
- /** Access method mode. Supported values: `code`, `card`, `mobile_key`. */
65948
- mode: 'code' | 'card' | 'mobile_key';
65947
+ /** Access method mode. Supported values: `code`, `card`, `mobile_key`, `cloud_key`. */
65948
+ mode: 'code' | 'card' | 'mobile_key' | 'cloud_key';
65949
65949
  /** Specific PIN code to use for this access method. Only applicable when mode is 'code'. */
65950
65950
  code?: string | undefined;
65951
65951
  /** Maximum number of times the instant key can be used. Only applicable when mode is 'mobile_key'. Defaults to 1 if not specified. */
@@ -66366,8 +66366,8 @@ export type Routes = {
66366
66366
  requested_access_methods: {
66367
66367
  /** Display name of the access method. */
66368
66368
  display_name: string;
66369
- /** Access method mode. Supported values: `code`, `card`, `mobile_key`. */
66370
- mode: 'code' | 'card' | 'mobile_key';
66369
+ /** Access method mode. Supported values: `code`, `card`, `mobile_key`, `cloud_key`. */
66370
+ mode: 'code' | 'card' | 'mobile_key' | 'cloud_key';
66371
66371
  /** Specific PIN code to use for this access method. Only applicable when mode is 'code'. */
66372
66372
  code?: string | undefined;
66373
66373
  /** Maximum number of times the instant key can be used. Only applicable when mode is 'mobile_key'. Defaults to 1 if not specified. */
@@ -67102,10 +67102,10 @@ export type Routes = {
67102
67102
  can_unlock_with_card?: boolean | undefined;
67103
67103
  /** Indicates whether the ACS entrance can be unlocked with pin codes. */
67104
67104
  can_unlock_with_code?: boolean | undefined;
67105
+ /** Indicates whether the ACS entrance can be unlocked with cloud key credentials. */
67106
+ can_unlock_with_cloud_key?: boolean | undefined;
67105
67107
  /** Indicates whether the ACS entrance can belong to a reservation via an access_grant.reservation_key. */
67106
67108
  can_belong_to_reservation?: boolean | undefined;
67107
- /** Indicates whether the ACS entrance can be remotely unlocked using a cloud_key credential. */
67108
- can_unlock_with_cloud_key?: boolean | undefined;
67109
67109
  }[];
67110
67110
  }[];
67111
67111
  }[];
@@ -68827,10 +68827,10 @@ export type Routes = {
68827
68827
  can_unlock_with_card?: boolean | undefined;
68828
68828
  /** Indicates whether the ACS entrance can be unlocked with pin codes. */
68829
68829
  can_unlock_with_code?: boolean | undefined;
68830
+ /** Indicates whether the ACS entrance can be unlocked with cloud key credentials. */
68831
+ can_unlock_with_cloud_key?: boolean | undefined;
68830
68832
  /** Indicates whether the ACS entrance can belong to a reservation via an access_grant.reservation_key. */
68831
68833
  can_belong_to_reservation?: boolean | undefined;
68832
- /** Indicates whether the ACS entrance can be remotely unlocked using a cloud_key credential. */
68833
- can_unlock_with_cloud_key?: boolean | undefined;
68834
68834
  }[] | undefined;
68835
68835
  connected_accounts?: {
68836
68836
  /** ID of the connected account. */
@@ -69095,8 +69095,8 @@ export type Routes = {
69095
69095
  access_method_id: string;
69096
69096
  /** Display name of the access method. */
69097
69097
  display_name: string;
69098
- /** Access method mode. Supported values: `code`, `card`, `mobile_key`. */
69099
- mode: 'code' | 'card' | 'mobile_key';
69098
+ /** Access method mode. Supported values: `code`, `card`, `mobile_key`, `cloud_key`. */
69099
+ mode: 'code' | 'card' | 'mobile_key' | 'cloud_key';
69100
69100
  /** Date and time at which the access method was created. */
69101
69101
  created_at: string;
69102
69102
  /** Date and time at which the access method was issued. */
@@ -91475,10 +91475,10 @@ export type Routes = {
91475
91475
  can_unlock_with_card?: boolean | undefined;
91476
91476
  /** Indicates whether the ACS entrance can be unlocked with pin codes. */
91477
91477
  can_unlock_with_code?: boolean | undefined;
91478
+ /** Indicates whether the ACS entrance can be unlocked with cloud key credentials. */
91479
+ can_unlock_with_cloud_key?: boolean | undefined;
91478
91480
  /** Indicates whether the ACS entrance can belong to a reservation via an access_grant.reservation_key. */
91479
91481
  can_belong_to_reservation?: boolean | undefined;
91480
- /** Indicates whether the ACS entrance can be remotely unlocked using a cloud_key credential. */
91481
- can_unlock_with_cloud_key?: boolean | undefined;
91482
91482
  }[] | undefined;
91483
91483
  acs_systems?: {
91484
91484
  /** ID of the default credential manager `acs_system` for this [access control system](https://docs.seam.co/latest/capability-guides/access-systems). */
@@ -94245,8 +94245,8 @@ export type Routes = {
94245
94245
  access_method_id: string;
94246
94246
  /** Display name of the access method. */
94247
94247
  display_name: string;
94248
- /** Access method mode. Supported values: `code`, `card`, `mobile_key`. */
94249
- mode: 'code' | 'card' | 'mobile_key';
94248
+ /** Access method mode. Supported values: `code`, `card`, `mobile_key`, `cloud_key`. */
94249
+ mode: 'code' | 'card' | 'mobile_key' | 'cloud_key';
94250
94250
  /** Date and time at which the access method was created. */
94251
94251
  created_at: string;
94252
94252
  /** Date and time at which the access method was issued. */
@@ -94368,8 +94368,8 @@ export type Routes = {
94368
94368
  requested_access_methods: {
94369
94369
  /** Display name of the access method. */
94370
94370
  display_name: string;
94371
- /** Access method mode. Supported values: `code`, `card`, `mobile_key`. */
94372
- mode: 'code' | 'card' | 'mobile_key';
94371
+ /** Access method mode. Supported values: `code`, `card`, `mobile_key`, `cloud_key`. */
94372
+ mode: 'code' | 'card' | 'mobile_key' | 'cloud_key';
94373
94373
  /** Specific PIN code to use for this access method. Only applicable when mode is 'code'. */
94374
94374
  code?: string | undefined;
94375
94375
  /** Maximum number of times the instant key can be used. Only applicable when mode is 'mobile_key'. Defaults to 1 if not specified. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.769.0",
3
+ "version": "1.770.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -220,9 +220,9 @@ export const access_method = z.object({
220
220
  access_method_id: z.string().uuid().describe('ID of the access method.'),
221
221
  display_name: z.string().describe('Display name of the access method.'),
222
222
  mode: z
223
- .enum(['code', 'card', 'mobile_key'])
223
+ .enum(['code', 'card', 'mobile_key', 'cloud_key'])
224
224
  .describe(
225
- 'Access method mode. Supported values: `code`, `card`, `mobile_key`.',
225
+ 'Access method mode. Supported values: `code`, `card`, `mobile_key`, `cloud_key`.',
226
226
  ),
227
227
  created_at: z
228
228
  .string()
@@ -3,9 +3,9 @@ import { z } from 'zod'
3
3
  export const requested_access_method = z.object({
4
4
  display_name: z.string().describe('Display name of the access method.'),
5
5
  mode: z
6
- .enum(['code', 'card', 'mobile_key'])
6
+ .enum(['code', 'card', 'mobile_key', 'cloud_key'])
7
7
  .describe(
8
- 'Access method mode. Supported values: `code`, `card`, `mobile_key`.',
8
+ 'Access method mode. Supported values: `code`, `card`, `mobile_key`, `cloud_key`.',
9
9
  ),
10
10
  code: z
11
11
  .string()
@@ -31,17 +31,17 @@ export const acs_entrance_capability_flags = z.object({
31
31
  .describe(
32
32
  'Indicates whether the ACS entrance can be unlocked with pin codes.',
33
33
  ),
34
- can_belong_to_reservation: z
34
+ can_unlock_with_cloud_key: z
35
35
  .boolean()
36
36
  .optional()
37
37
  .describe(
38
- 'Indicates whether the ACS entrance can belong to a reservation via an access_grant.reservation_key.',
38
+ 'Indicates whether the ACS entrance can be unlocked with cloud key credentials.',
39
39
  ),
40
- can_unlock_with_cloud_key: z
40
+ can_belong_to_reservation: z
41
41
  .boolean()
42
42
  .optional()
43
43
  .describe(
44
- 'Indicates whether the ACS entrance can be remotely unlocked using a cloud_key credential.',
44
+ 'Indicates whether the ACS entrance can belong to a reservation via an access_grant.reservation_key.',
45
45
  ),
46
46
  })
47
47
 
@@ -2099,8 +2099,8 @@ export default {
2099
2099
  },
2100
2100
  mode: {
2101
2101
  description:
2102
- 'Access method mode. Supported values: `code`, `card`, `mobile_key`.',
2103
- enum: ['code', 'card', 'mobile_key'],
2102
+ 'Access method mode. Supported values: `code`, `card`, `mobile_key`, `cloud_key`.',
2103
+ enum: ['code', 'card', 'mobile_key', 'cloud_key'],
2104
2104
  type: 'string',
2105
2105
  },
2106
2106
  },
@@ -2432,8 +2432,8 @@ export default {
2432
2432
  },
2433
2433
  mode: {
2434
2434
  description:
2435
- 'Access method mode. Supported values: `code`, `card`, `mobile_key`.',
2436
- enum: ['code', 'card', 'mobile_key'],
2435
+ 'Access method mode. Supported values: `code`, `card`, `mobile_key`, `cloud_key`.',
2436
+ enum: ['code', 'card', 'mobile_key', 'cloud_key'],
2437
2437
  type: 'string',
2438
2438
  },
2439
2439
  pending_mutations: {
@@ -3906,7 +3906,7 @@ export default {
3906
3906
  },
3907
3907
  can_unlock_with_cloud_key: {
3908
3908
  description:
3909
- 'Indicates whether the ACS entrance can be remotely unlocked using a cloud_key credential.',
3909
+ 'Indicates whether the ACS entrance can be unlocked with cloud key credentials.',
3910
3910
  type: 'boolean',
3911
3911
  },
3912
3912
  can_unlock_with_code: {
@@ -24367,7 +24367,7 @@ export default {
24367
24367
  },
24368
24368
  can_unlock_with_cloud_key: {
24369
24369
  description:
24370
- 'Indicates whether the ACS entrance can be remotely unlocked using a cloud_key credential.',
24370
+ 'Indicates whether the ACS entrance can be unlocked with cloud key credentials.',
24371
24371
  type: 'boolean',
24372
24372
  },
24373
24373
  can_unlock_with_code: {
@@ -34219,8 +34219,8 @@ export default {
34219
34219
  },
34220
34220
  mode: {
34221
34221
  description:
34222
- 'Access method mode. Supported values: `code`, `card`, `mobile_key`.',
34223
- enum: ['code', 'card', 'mobile_key'],
34222
+ 'Access method mode. Supported values: `code`, `card`, `mobile_key`, `cloud_key`.',
34223
+ enum: ['code', 'card', 'mobile_key', 'cloud_key'],
34224
34224
  type: 'string',
34225
34225
  },
34226
34226
  },
@@ -35095,8 +35095,8 @@ export default {
35095
35095
  },
35096
35096
  mode: {
35097
35097
  description:
35098
- 'Access method mode. Supported values: `code`, `card`, `mobile_key`.',
35099
- enum: ['code', 'card', 'mobile_key'],
35098
+ 'Access method mode. Supported values: `code`, `card`, `mobile_key`, `cloud_key`.',
35099
+ enum: ['code', 'card', 'mobile_key', 'cloud_key'],
35100
35100
  type: 'string',
35101
35101
  },
35102
35102
  },
@@ -35453,8 +35453,13 @@ export default {
35453
35453
  },
35454
35454
  mode: {
35455
35455
  description:
35456
- 'Access method mode. Supported values: `code`, `card`, `mobile_key`.',
35457
- enum: ['code', 'card', 'mobile_key'],
35456
+ 'Access method mode. Supported values: `code`, `card`, `mobile_key`, `cloud_key`.',
35457
+ enum: [
35458
+ 'code',
35459
+ 'card',
35460
+ 'mobile_key',
35461
+ 'cloud_key',
35462
+ ],
35458
35463
  type: 'string',
35459
35464
  },
35460
35465
  },
@@ -36074,8 +36079,13 @@ export default {
36074
36079
  },
36075
36080
  mode: {
36076
36081
  description:
36077
- 'Access method mode. Supported values: `code`, `card`, `mobile_key`.',
36078
- enum: ['code', 'card', 'mobile_key'],
36082
+ 'Access method mode. Supported values: `code`, `card`, `mobile_key`, `cloud_key`.',
36083
+ enum: [
36084
+ 'code',
36085
+ 'card',
36086
+ 'mobile_key',
36087
+ 'cloud_key',
36088
+ ],
36079
36089
  type: 'string',
36080
36090
  },
36081
36091
  },
@@ -36743,8 +36753,13 @@ export default {
36743
36753
  },
36744
36754
  mode: {
36745
36755
  description:
36746
- 'Access method mode. Supported values: `code`, `card`, `mobile_key`.',
36747
- enum: ['code', 'card', 'mobile_key'],
36756
+ 'Access method mode. Supported values: `code`, `card`, `mobile_key`, `cloud_key`.',
36757
+ enum: [
36758
+ 'code',
36759
+ 'card',
36760
+ 'mobile_key',
36761
+ 'cloud_key',
36762
+ ],
36748
36763
  type: 'string',
36749
36764
  },
36750
36765
  },
@@ -37400,8 +37415,13 @@ export default {
37400
37415
  },
37401
37416
  mode: {
37402
37417
  description:
37403
- 'Access method mode. Supported values: `code`, `card`, `mobile_key`.',
37404
- enum: ['code', 'card', 'mobile_key'],
37418
+ 'Access method mode. Supported values: `code`, `card`, `mobile_key`, `cloud_key`.',
37419
+ enum: [
37420
+ 'code',
37421
+ 'card',
37422
+ 'mobile_key',
37423
+ 'cloud_key',
37424
+ ],
37405
37425
  type: 'string',
37406
37426
  },
37407
37427
  },
@@ -38799,8 +38819,8 @@ export default {
38799
38819
  },
38800
38820
  mode: {
38801
38821
  description:
38802
- 'Access method mode. Supported values: `code`, `card`, `mobile_key`.',
38803
- enum: ['code', 'card', 'mobile_key'],
38822
+ 'Access method mode. Supported values: `code`, `card`, `mobile_key`, `cloud_key`.',
38823
+ enum: ['code', 'card', 'mobile_key', 'cloud_key'],
38804
38824
  type: 'string',
38805
38825
  },
38806
38826
  pending_mutations: {
@@ -39244,8 +39264,8 @@ export default {
39244
39264
  },
39245
39265
  mode: {
39246
39266
  description:
39247
- 'Access method mode. Supported values: `code`, `card`, `mobile_key`.',
39248
- enum: ['code', 'card', 'mobile_key'],
39267
+ 'Access method mode. Supported values: `code`, `card`, `mobile_key`, `cloud_key`.',
39268
+ enum: ['code', 'card', 'mobile_key', 'cloud_key'],
39249
39269
  type: 'string',
39250
39270
  },
39251
39271
  pending_mutations: {
@@ -39721,8 +39741,8 @@ export default {
39721
39741
  },
39722
39742
  mode: {
39723
39743
  description:
39724
- 'Access method mode. Supported values: `code`, `card`, `mobile_key`.',
39725
- enum: ['code', 'card', 'mobile_key'],
39744
+ 'Access method mode. Supported values: `code`, `card`, `mobile_key`, `cloud_key`.',
39745
+ enum: ['code', 'card', 'mobile_key', 'cloud_key'],
39726
39746
  type: 'string',
39727
39747
  },
39728
39748
  pending_mutations: {
@@ -40190,8 +40210,8 @@ export default {
40190
40210
  },
40191
40211
  mode: {
40192
40212
  description:
40193
- 'Access method mode. Supported values: `code`, `card`, `mobile_key`.',
40194
- enum: ['code', 'card', 'mobile_key'],
40213
+ 'Access method mode. Supported values: `code`, `card`, `mobile_key`, `cloud_key`.',
40214
+ enum: ['code', 'card', 'mobile_key', 'cloud_key'],
40195
40215
  type: 'string',
40196
40216
  },
40197
40217
  pending_mutations: {