@seamapi/types 1.302.2 → 1.303.1

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.
@@ -321,6 +321,10 @@ export default {
321
321
  description: 'Indicates whether the credential is a [multi-phone sync credential](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/issuing-mobile-credentials-from-an-access-control-system#what-are-multi-phone-sync-credentials).',
322
322
  type: 'boolean',
323
323
  },
324
+ is_one_time_use: {
325
+ description: 'Indicates whether the credential can only be used once. If "true," the code becomes invalid after the first use.',
326
+ type: 'boolean',
327
+ },
324
328
  issued_at: { format: 'date-time', nullable: true, type: 'string' },
325
329
  latest_desired_state_synced_with_provider_at: {
326
330
  description: 'Date and time at which the state of the credential was most recently synced from Seam to the provider.',
@@ -953,6 +957,7 @@ export default {
953
957
  type: 'object',
954
958
  },
955
959
  acs_user: {
960
+ description: 'Represents a [user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) in an [access control system](https://docs.seam.co/latest/capability-guides/access-systems).',
956
961
  properties: {
957
962
  access_schedule: {
958
963
  description: "`starts_at` and `ends_at` timestamps for the `acs_user`'s access.",
@@ -1575,6 +1580,10 @@ export default {
1575
1580
  description: 'Indicates whether the credential is a [multi-phone sync credential](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/issuing-mobile-credentials-from-an-access-control-system#what-are-multi-phone-sync-credentials).',
1576
1581
  type: 'boolean',
1577
1582
  },
1583
+ is_one_time_use: {
1584
+ description: 'Indicates whether the credential can only be used once. If "true," the code becomes invalid after the first use.',
1585
+ type: 'boolean',
1586
+ },
1578
1587
  issued_at: {
1579
1588
  format: 'date-time',
1580
1589
  nullable: true,
@@ -1833,6 +1842,10 @@ export default {
1833
1842
  description: 'Indicates whether the credential is a [multi-phone sync credential](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/issuing-mobile-credentials-from-an-access-control-system#what-are-multi-phone-sync-credentials).',
1834
1843
  type: 'boolean',
1835
1844
  },
1845
+ is_one_time_use: {
1846
+ description: 'Indicates whether the credential can only be used once. If "true," the code becomes invalid after the first use.',
1847
+ type: 'boolean',
1848
+ },
1836
1849
  issued_at: {
1837
1850
  format: 'date-time',
1838
1851
  nullable: true,
@@ -2216,6 +2229,10 @@ export default {
2216
2229
  description: 'Indicates whether the credential is a [multi-phone sync credential](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/issuing-mobile-credentials-from-an-access-control-system#what-are-multi-phone-sync-credentials).',
2217
2230
  type: 'boolean',
2218
2231
  },
2232
+ is_one_time_use: {
2233
+ description: 'Indicates whether the credential can only be used once. If "true," the code becomes invalid after the first use.',
2234
+ type: 'boolean',
2235
+ },
2219
2236
  issued_at: {
2220
2237
  format: 'date-time',
2221
2238
  nullable: true,
@@ -2474,6 +2491,10 @@ export default {
2474
2491
  description: 'Indicates whether the credential is a [multi-phone sync credential](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/issuing-mobile-credentials-from-an-access-control-system#what-are-multi-phone-sync-credentials).',
2475
2492
  type: 'boolean',
2476
2493
  },
2494
+ is_one_time_use: {
2495
+ description: 'Indicates whether the credential can only be used once. If "true," the code becomes invalid after the first use.',
2496
+ type: 'boolean',
2497
+ },
2477
2498
  issued_at: {
2478
2499
  format: 'date-time',
2479
2500
  nullable: true,
@@ -8603,7 +8624,7 @@ export default {
8603
8624
  type: 'string',
8604
8625
  },
8605
8626
  },
8606
- required: ['acs_user_id'],
8627
+ required: ['acs_user_id', 'allowed_acs_entrance_id'],
8607
8628
  type: 'object',
8608
8629
  },
8609
8630
  },
@@ -9160,6 +9181,10 @@ export default {
9160
9181
  description: 'Indicates whether the credential is a [multi-phone sync credential](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/issuing-mobile-credentials-from-an-access-control-system#what-are-multi-phone-sync-credentials).',
9161
9182
  type: 'boolean',
9162
9183
  },
9184
+ is_one_time_use: {
9185
+ description: 'Indicates whether the credential can only be used once. If "true," the code becomes invalid after the first use.',
9186
+ type: 'boolean',
9187
+ },
9163
9188
  issued_at: {
9164
9189
  format: 'date-time',
9165
9190
  nullable: true,
@@ -9515,6 +9540,10 @@ export default {
9515
9540
  description: 'Indicates whether the credential is a [multi-phone sync credential](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/issuing-mobile-credentials-from-an-access-control-system#what-are-multi-phone-sync-credentials).',
9516
9541
  type: 'boolean',
9517
9542
  },
9543
+ is_one_time_use: {
9544
+ description: 'Indicates whether the credential can only be used once. If "true," the code becomes invalid after the first use.',
9545
+ type: 'boolean',
9546
+ },
9518
9547
  issued_at: {
9519
9548
  format: 'date-time',
9520
9549
  nullable: true,
@@ -11106,6 +11135,7 @@ export default {
11106
11135
  schema: {
11107
11136
  properties: {
11108
11137
  acs_user: {
11138
+ description: 'Represents an unmanaged [user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) in an [access control system](https://docs.seam.co/latest/capability-guides/access-systems).',
11109
11139
  properties: {
11110
11140
  access_schedule: {
11111
11141
  description: "`starts_at` and `ends_at` timestamps for the `acs_user`'s access.",
@@ -11465,6 +11495,7 @@ export default {
11465
11495
  properties: {
11466
11496
  acs_users: {
11467
11497
  items: {
11498
+ description: 'Represents an unmanaged [user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) in an [access control system](https://docs.seam.co/latest/capability-guides/access-systems).',
11468
11499
  properties: {
11469
11500
  access_schedule: {
11470
11501
  description: "`starts_at` and `ends_at` timestamps for the `acs_user`'s access.",