@seamapi/types 1.287.1 → 1.287.3

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 (32) hide show
  1. package/dist/connect.cjs +66 -39
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +85 -92
  4. package/lib/seam/connect/models/acs/acs-access-group.js +5 -7
  5. package/lib/seam/connect/models/acs/acs-access-group.js.map +1 -1
  6. package/lib/seam/connect/models/acs/acs-credential.js +2 -4
  7. package/lib/seam/connect/models/acs/acs-credential.js.map +1 -1
  8. package/lib/seam/connect/models/acs/acs-entrance.js +4 -2
  9. package/lib/seam/connect/models/acs/acs-entrance.js.map +1 -1
  10. package/lib/seam/connect/models/acs/acs-user.js +8 -4
  11. package/lib/seam/connect/models/acs/acs-user.js.map +1 -1
  12. package/lib/seam/connect/models/devices/device-metadata.d.ts +5 -5
  13. package/lib/seam/connect/models/devices/device-metadata.js +1 -1
  14. package/lib/seam/connect/models/devices/device-metadata.js.map +1 -1
  15. package/lib/seam/connect/models/devices/device.d.ts +7 -7
  16. package/lib/seam/connect/models/devices/phone.d.ts +5 -5
  17. package/lib/seam/connect/models/devices/unmanaged-device.d.ts +5 -5
  18. package/lib/seam/connect/models/schedule.js +8 -2
  19. package/lib/seam/connect/models/schedule.js.map +1 -1
  20. package/lib/seam/connect/openapi.d.ts +8 -1
  21. package/lib/seam/connect/openapi.js +44 -22
  22. package/lib/seam/connect/openapi.js.map +1 -1
  23. package/lib/seam/connect/route-types.d.ts +65 -79
  24. package/package.json +1 -1
  25. package/src/lib/seam/connect/models/acs/acs-access-group.ts +5 -7
  26. package/src/lib/seam/connect/models/acs/acs-credential.ts +2 -4
  27. package/src/lib/seam/connect/models/acs/acs-entrance.ts +29 -25
  28. package/src/lib/seam/connect/models/acs/acs-user.ts +14 -6
  29. package/src/lib/seam/connect/models/devices/device-metadata.ts +1 -1
  30. package/src/lib/seam/connect/models/schedule.ts +12 -2
  31. package/src/lib/seam/connect/openapi.ts +51 -22
  32. package/src/lib/seam/connect/route-types.ts +65 -79
@@ -314,8 +314,7 @@ export interface Routes {
314
314
  error: null
315
315
  action_type: 'ENCODE_CREDENTIAL'
316
316
  /** Means by which a user gains access at an entrance.
317
-
318
- The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code. */
317
+ The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code. */
319
318
  result:
320
319
  | {
321
320
  /** ID of the credential. */
@@ -1332,8 +1331,7 @@ export interface Routes {
1332
1331
  error: null
1333
1332
  action_type: 'ENCODE_CREDENTIAL'
1334
1333
  /** Means by which a user gains access at an entrance.
1335
-
1336
- The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code. */
1334
+ The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code. */
1337
1335
  result:
1338
1336
  | {
1339
1337
  /** ID of the credential. */
@@ -2515,8 +2513,7 @@ export interface Routes {
2515
2513
  error: null
2516
2514
  action_type: 'ENCODE_CREDENTIAL'
2517
2515
  /** Means by which a user gains access at an entrance.
2518
-
2519
- The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code. */
2516
+ The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code. */
2520
2517
  result:
2521
2518
  | {
2522
2519
  /** ID of the credential. */
@@ -3520,8 +3517,7 @@ export interface Routes {
3520
3517
  error: null
3521
3518
  action_type: 'ENCODE_CREDENTIAL'
3522
3519
  /** Means by which a user gains access at an entrance.
3523
-
3524
- The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code. */
3520
+ The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code. */
3525
3521
  result:
3526
3522
  | {
3527
3523
  /** ID of the credential. */
@@ -4119,11 +4115,8 @@ export interface Routes {
4119
4115
  }
4120
4116
  formData: {}
4121
4117
  jsonResponse: {
4122
- /**
4123
- Group that defines the entrances to which a set of users has access and, in some cases, the access schedule for these entrances and users.
4124
-
4125
- The `acs_access_group` object represents an [access group](https://docs.seam.co/latest/capability-guides/access-systems/assigning-users-to-access-groups) within an [access control system](https://docs.seam.co/latest/capability-guides/access-systems).
4126
- */
4118
+ /** Group that defines the entrances to which a set of users has access and, in some cases, the access schedule for these entrances and users.
4119
+ The `acs_access_group` object represents an [access group](https://docs.seam.co/latest/capability-guides/access-systems/assigning-users-to-access-groups) within an [access control system](https://docs.seam.co/latest/capability-guides/access-systems). */
4127
4120
  acs_access_group: {
4128
4121
  /** ID of the access group. */
4129
4122
  acs_access_group_id: string
@@ -4134,14 +4127,14 @@ export interface Routes {
4134
4127
  /** Name of the access group. */
4135
4128
  name: string
4136
4129
  /**
4137
- * @deprecated use external_type */
4130
+ * @deprecated Use `external_type`. */
4138
4131
  access_group_type:
4139
4132
  | 'pti_unit'
4140
4133
  | 'pti_access_level'
4141
4134
  | 'salto_access_group'
4142
4135
  | 'brivo_group'
4143
4136
  /**
4144
- * @deprecated use external_type_display_name */
4137
+ * @deprecated Use `external_type_display_name`. */
4145
4138
  access_group_type_display_name: string
4146
4139
  display_name: string
4147
4140
  /** Brand-specific terminology for the access group type. */
@@ -4181,14 +4174,14 @@ export interface Routes {
4181
4174
  /** Name of the access group. */
4182
4175
  name: string
4183
4176
  /**
4184
- * @deprecated use external_type */
4177
+ * @deprecated Use `external_type`. */
4185
4178
  access_group_type:
4186
4179
  | 'pti_unit'
4187
4180
  | 'pti_access_level'
4188
4181
  | 'salto_access_group'
4189
4182
  | 'brivo_group'
4190
4183
  /**
4191
- * @deprecated use external_type_display_name */
4184
+ * @deprecated Use `external_type_display_name`. */
4192
4185
  access_group_type_display_name: string
4193
4186
  display_name: string
4194
4187
  /** Brand-specific terminology for the access group type. */
@@ -4328,7 +4321,9 @@ export interface Routes {
4328
4321
  /** `starts_at` and `ends_at` timestamps for the `acs_user`'s access. */
4329
4322
  access_schedule?:
4330
4323
  | {
4324
+ /** Date and time at which the user's access starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
4331
4325
  starts_at: string
4326
+ /** Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
4332
4327
  ends_at: string
4333
4328
  }
4334
4329
  | undefined
@@ -4443,14 +4438,14 @@ export interface Routes {
4443
4438
  /** Name of the access group. */
4444
4439
  name: string
4445
4440
  /**
4446
- * @deprecated use external_type */
4441
+ * @deprecated Use `external_type`. */
4447
4442
  access_group_type:
4448
4443
  | 'pti_unit'
4449
4444
  | 'pti_access_level'
4450
4445
  | 'salto_access_group'
4451
4446
  | 'brivo_group'
4452
4447
  /**
4453
- * @deprecated use external_type_display_name */
4448
+ * @deprecated Use `external_type_display_name`. */
4454
4449
  access_group_type_display_name: string
4455
4450
  display_name: string
4456
4451
  /** Brand-specific terminology for the access group type. */
@@ -4490,14 +4485,14 @@ export interface Routes {
4490
4485
  /** Name of the access group. */
4491
4486
  name: string
4492
4487
  /**
4493
- * @deprecated use external_type */
4488
+ * @deprecated Use `external_type`. */
4494
4489
  access_group_type:
4495
4490
  | 'pti_unit'
4496
4491
  | 'pti_access_level'
4497
4492
  | 'salto_access_group'
4498
4493
  | 'brivo_group'
4499
4494
  /**
4500
- * @deprecated use external_type_display_name */
4495
+ * @deprecated Use `external_type_display_name`. */
4501
4496
  access_group_type_display_name: string
4502
4497
  display_name: string
4503
4498
  /** Brand-specific terminology for the access group type. */
@@ -4572,8 +4567,7 @@ export interface Routes {
4572
4567
  formData: {}
4573
4568
  jsonResponse: {
4574
4569
  /** Means by which a user gains access at an entrance.
4575
-
4576
- The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code. */
4570
+ The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code. */
4577
4571
  acs_credential: {
4578
4572
  /** ID of the credential. */
4579
4573
  acs_credential_id: string
@@ -4687,8 +4681,7 @@ export interface Routes {
4687
4681
  formData: {}
4688
4682
  jsonResponse: {
4689
4683
  /** Means by which a user gains access at an entrance.
4690
-
4691
- The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code. */
4684
+ The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code. */
4692
4685
  acs_credential: {
4693
4686
  /** ID of the credential. */
4694
4687
  acs_credential_id: string
@@ -4783,8 +4776,7 @@ export interface Routes {
4783
4776
  formData: {}
4784
4777
  jsonResponse: {
4785
4778
  /** Means by which a user gains access at an entrance.
4786
-
4787
- The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code. */
4779
+ The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code. */
4788
4780
  acs_credential: {
4789
4781
  /** ID of the credential. */
4790
4782
  acs_credential_id: string
@@ -5055,8 +5047,7 @@ export interface Routes {
5055
5047
  formData: {}
5056
5048
  jsonResponse: {
5057
5049
  /** Means by which a user gains access at an entrance.
5058
-
5059
- The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code. */
5050
+ The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code. */
5060
5051
  acs_credential: {
5061
5052
  /** ID of the credential. */
5062
5053
  acs_credential_id: string
@@ -5139,8 +5130,7 @@ export interface Routes {
5139
5130
  formData: {}
5140
5131
  jsonResponse: {
5141
5132
  /** Means by which a user gains access at an entrance.
5142
-
5143
- The `unmanaged_acs_credential` object, which is not managed by Seam, represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code. */
5133
+ The `unmanaged_acs_credential` object, which is not managed by Seam, represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code. */
5144
5134
  acs_credential: {
5145
5135
  /** ID of the credential. */
5146
5136
  acs_credential_id: string
@@ -5323,8 +5313,7 @@ export interface Routes {
5323
5313
  formData: {}
5324
5314
  jsonResponse: {
5325
5315
  /** Means by which a user gains access at an entrance.
5326
-
5327
- The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code. */
5316
+ The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code. */
5328
5317
  acs_credential: {
5329
5318
  /** ID of the credential. */
5330
5319
  acs_credential_id: string
@@ -5697,8 +5686,7 @@ export interface Routes {
5697
5686
  error: null
5698
5687
  action_type: 'ENCODE_CREDENTIAL'
5699
5688
  /** Means by which a user gains access at an entrance.
5700
-
5701
- The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code. */
5689
+ The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code. */
5702
5690
  result:
5703
5691
  | {
5704
5692
  /** ID of the credential. */
@@ -6709,7 +6697,7 @@ export interface Routes {
6709
6697
  | undefined
6710
6698
  assa_abloy_vostio_metadata?:
6711
6699
  | {
6712
- encoder_id: string
6700
+ encoder_name: string
6713
6701
  }
6714
6702
  | undefined
6715
6703
  }) &
@@ -7228,8 +7216,7 @@ export interface Routes {
7228
7216
  error: null
7229
7217
  action_type: 'ENCODE_CREDENTIAL'
7230
7218
  /** Means by which a user gains access at an entrance.
7231
-
7232
- The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code. */
7219
+ The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code. */
7233
7220
  result:
7234
7221
  | {
7235
7222
  /** ID of the credential. */
@@ -7798,6 +7785,7 @@ export interface Routes {
7798
7785
  }
7799
7786
  formData: {}
7800
7787
  jsonResponse: {
7788
+ /** Represents an [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details) within an [access control system](https://docs.seam.co/latest/capability-guides/access-systems). */
7801
7789
  acs_entrance: {
7802
7790
  /** ID of the access control system that contains the entrance. */
7803
7791
  acs_system_id: string
@@ -8549,7 +8537,9 @@ export interface Routes {
8549
8537
  /** `starts_at` and `ends_at` timestamps for the `acs_user`'s access. */
8550
8538
  access_schedule?:
8551
8539
  | {
8540
+ /** Date and time at which the user's access starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
8552
8541
  starts_at: string
8542
+ /** Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
8553
8543
  ends_at: string
8554
8544
  }
8555
8545
  | undefined
@@ -8682,7 +8672,9 @@ export interface Routes {
8682
8672
  /** `starts_at` and `ends_at` timestamps for the `acs_user`'s access. */
8683
8673
  access_schedule?:
8684
8674
  | {
8675
+ /** Date and time at which the user's access starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
8685
8676
  starts_at: string
8677
+ /** Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
8686
8678
  ends_at: string
8687
8679
  }
8688
8680
  | undefined
@@ -8811,7 +8803,9 @@ export interface Routes {
8811
8803
  /** `starts_at` and `ends_at` timestamps for the `acs_user`'s access. */
8812
8804
  access_schedule?:
8813
8805
  | {
8806
+ /** Date and time at which the user's access starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
8814
8807
  starts_at: string
8808
+ /** Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
8815
8809
  ends_at: string
8816
8810
  }
8817
8811
  | undefined
@@ -9051,7 +9045,9 @@ export interface Routes {
9051
9045
  /** `starts_at` and `ends_at` timestamps for the `acs_user`'s access. */
9052
9046
  access_schedule?:
9053
9047
  | {
9048
+ /** Date and time at which the user's access starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
9054
9049
  starts_at: string
9050
+ /** Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
9055
9051
  ends_at: string
9056
9052
  }
9057
9053
  | undefined
@@ -9175,7 +9171,9 @@ export interface Routes {
9175
9171
  /** `starts_at` and `ends_at` timestamps for the `acs_user`'s access. */
9176
9172
  access_schedule?:
9177
9173
  | {
9174
+ /** Date and time at which the user's access starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
9178
9175
  starts_at: string
9176
+ /** Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
9179
9177
  ends_at: string
9180
9178
  }
9181
9179
  | undefined
@@ -9595,8 +9593,7 @@ export interface Routes {
9595
9593
  error: null
9596
9594
  action_type: 'ENCODE_CREDENTIAL'
9597
9595
  /** Means by which a user gains access at an entrance.
9598
-
9599
- The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code. */
9596
+ The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code. */
9600
9597
  result:
9601
9598
  | {
9602
9599
  /** ID of the credential. */
@@ -10454,8 +10451,7 @@ export interface Routes {
10454
10451
  error: null
10455
10452
  action_type: 'ENCODE_CREDENTIAL'
10456
10453
  /** Means by which a user gains access at an entrance.
10457
-
10458
- The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code. */
10454
+ The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code. */
10459
10455
  result:
10460
10456
  | {
10461
10457
  /** ID of the credential. */
@@ -11947,7 +11943,7 @@ export interface Routes {
11947
11943
  | undefined
11948
11944
  assa_abloy_vostio_metadata?:
11949
11945
  | {
11950
- encoder_id: string
11946
+ encoder_name: string
11951
11947
  }
11952
11948
  | undefined
11953
11949
  }) &
@@ -12764,7 +12760,7 @@ export interface Routes {
12764
12760
  | undefined
12765
12761
  assa_abloy_vostio_metadata?:
12766
12762
  | {
12767
- encoder_id: string
12763
+ encoder_name: string
12768
12764
  }
12769
12765
  | undefined
12770
12766
  }) &
@@ -14292,7 +14288,7 @@ export interface Routes {
14292
14288
  | undefined
14293
14289
  assa_abloy_vostio_metadata?:
14294
14290
  | {
14295
- encoder_id: string
14291
+ encoder_name: string
14296
14292
  }
14297
14293
  | undefined
14298
14294
  }) &
@@ -14938,7 +14934,7 @@ export interface Routes {
14938
14934
  | undefined
14939
14935
  assa_abloy_vostio_metadata?:
14940
14936
  | {
14941
- encoder_id: string
14937
+ encoder_name: string
14942
14938
  }
14943
14939
  | undefined
14944
14940
  }) &
@@ -15755,7 +15751,7 @@ export interface Routes {
15755
15751
  | undefined
15756
15752
  assa_abloy_vostio_metadata?:
15757
15753
  | {
15758
- encoder_id: string
15754
+ encoder_name: string
15759
15755
  }
15760
15756
  | undefined
15761
15757
  }) &
@@ -16401,7 +16397,7 @@ export interface Routes {
16401
16397
  | undefined
16402
16398
  assa_abloy_vostio_metadata?:
16403
16399
  | {
16404
- encoder_id: string
16400
+ encoder_name: string
16405
16401
  }
16406
16402
  | undefined
16407
16403
  }) &
@@ -16918,8 +16914,7 @@ export interface Routes {
16918
16914
  error: null
16919
16915
  action_type: 'ENCODE_CREDENTIAL'
16920
16916
  /** Means by which a user gains access at an entrance.
16921
-
16922
- The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code. */
16917
+ The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code. */
16923
16918
  result:
16924
16919
  | {
16925
16920
  /** ID of the credential. */
@@ -17778,8 +17773,7 @@ export interface Routes {
17778
17773
  error: null
17779
17774
  action_type: 'ENCODE_CREDENTIAL'
17780
17775
  /** Means by which a user gains access at an entrance.
17781
-
17782
- The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code. */
17776
+ The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code. */
17783
17777
  result:
17784
17778
  | {
17785
17779
  /** ID of the credential. */
@@ -18972,7 +18966,7 @@ export interface Routes {
18972
18966
  | undefined
18973
18967
  assa_abloy_vostio_metadata?:
18974
18968
  | {
18975
- encoder_id: string
18969
+ encoder_name: string
18976
18970
  }
18977
18971
  | undefined
18978
18972
  }) &
@@ -19618,7 +19612,7 @@ export interface Routes {
19618
19612
  | undefined
19619
19613
  assa_abloy_vostio_metadata?:
19620
19614
  | {
19621
- encoder_id: string
19615
+ encoder_name: string
19622
19616
  }
19623
19617
  | undefined
19624
19618
  }) &
@@ -20140,8 +20134,7 @@ export interface Routes {
20140
20134
  error: null
20141
20135
  action_type: 'ENCODE_CREDENTIAL'
20142
20136
  /** Means by which a user gains access at an entrance.
20143
-
20144
- The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code. */
20137
+ The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code. */
20145
20138
  result:
20146
20139
  | {
20147
20140
  /** ID of the credential. */
@@ -21010,8 +21003,7 @@ export interface Routes {
21010
21003
  error: null
21011
21004
  action_type: 'ENCODE_CREDENTIAL'
21012
21005
  /** Means by which a user gains access at an entrance.
21013
-
21014
- The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code. */
21006
+ The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code. */
21015
21007
  result:
21016
21008
  | {
21017
21009
  /** ID of the credential. */
@@ -21919,8 +21911,7 @@ export interface Routes {
21919
21911
  error: null
21920
21912
  action_type: 'ENCODE_CREDENTIAL'
21921
21913
  /** Means by which a user gains access at an entrance.
21922
-
21923
- The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code. */
21914
+ The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code. */
21924
21915
  result:
21925
21916
  | {
21926
21917
  /** ID of the credential. */
@@ -22985,8 +22976,7 @@ export interface Routes {
22985
22976
  error: null
22986
22977
  action_type: 'ENCODE_CREDENTIAL'
22987
22978
  /** Means by which a user gains access at an entrance.
22988
-
22989
- The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code. */
22979
+ The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code. */
22990
22980
  result:
22991
22981
  | {
22992
22982
  /** ID of the credential. */
@@ -23847,8 +23837,7 @@ export interface Routes {
23847
23837
  error: null
23848
23838
  action_type: 'ENCODE_CREDENTIAL'
23849
23839
  /** Means by which a user gains access at an entrance.
23850
-
23851
- The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code. */
23840
+ The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code. */
23852
23841
  result:
23853
23842
  | {
23854
23843
  /** ID of the credential. */
@@ -24881,7 +24870,7 @@ export interface Routes {
24881
24870
  | undefined
24882
24871
  assa_abloy_vostio_metadata?:
24883
24872
  | {
24884
- encoder_id: string
24873
+ encoder_name: string
24885
24874
  }
24886
24875
  | undefined
24887
24876
  }) &
@@ -25400,8 +25389,7 @@ export interface Routes {
25400
25389
  error: null
25401
25390
  action_type: 'ENCODE_CREDENTIAL'
25402
25391
  /** Means by which a user gains access at an entrance.
25403
-
25404
- The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code. */
25392
+ The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code. */
25405
25393
  result:
25406
25394
  | {
25407
25395
  /** ID of the credential. */
@@ -26264,8 +26252,7 @@ export interface Routes {
26264
26252
  error: null
26265
26253
  action_type: 'ENCODE_CREDENTIAL'
26266
26254
  /** Means by which a user gains access at an entrance.
26267
-
26268
- The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code. */
26255
+ The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code. */
26269
26256
  result:
26270
26257
  | {
26271
26258
  /** ID of the credential. */
@@ -27424,7 +27411,7 @@ export interface Routes {
27424
27411
  | undefined
27425
27412
  assa_abloy_vostio_metadata?:
27426
27413
  | {
27427
- encoder_id: string
27414
+ encoder_name: string
27428
27415
  }
27429
27416
  | undefined
27430
27417
  }) &
@@ -28070,7 +28057,7 @@ export interface Routes {
28070
28057
  | undefined
28071
28058
  assa_abloy_vostio_metadata?:
28072
28059
  | {
28073
- encoder_id: string
28060
+ encoder_name: string
28074
28061
  }
28075
28062
  | undefined
28076
28063
  }) &
@@ -28587,8 +28574,7 @@ export interface Routes {
28587
28574
  error: null
28588
28575
  action_type: 'ENCODE_CREDENTIAL'
28589
28576
  /** Means by which a user gains access at an entrance.
28590
-
28591
- The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code. */
28577
+ The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code. */
28592
28578
  result:
28593
28579
  | {
28594
28580
  /** ID of the credential. */
@@ -29568,8 +29554,7 @@ export interface Routes {
29568
29554
  error: null
29569
29555
  action_type: 'ENCODE_CREDENTIAL'
29570
29556
  /** Means by which a user gains access at an entrance.
29571
-
29572
- The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code. */
29557
+ The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code. */
29573
29558
  result:
29574
29559
  | {
29575
29560
  /** ID of the credential. */
@@ -30785,7 +30770,7 @@ export interface Routes {
30785
30770
  | undefined
30786
30771
  assa_abloy_vostio_metadata?:
30787
30772
  | {
30788
- encoder_id: string
30773
+ encoder_name: string
30789
30774
  }
30790
30775
  | undefined
30791
30776
  }) &
@@ -31433,7 +31418,7 @@ export interface Routes {
31433
31418
  | undefined
31434
31419
  assa_abloy_vostio_metadata?:
31435
31420
  | {
31436
- encoder_id: string
31421
+ encoder_name: string
31437
31422
  }
31438
31423
  | undefined
31439
31424
  }) &
@@ -31832,7 +31817,9 @@ export interface Routes {
31832
31817
  /** `starts_at` and `ends_at` timestamps for the `acs_user`'s access. */
31833
31818
  access_schedule?:
31834
31819
  | {
31820
+ /** Date and time at which the user's access starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
31835
31821
  starts_at: string
31822
+ /** Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
31836
31823
  ends_at: string
31837
31824
  }
31838
31825
  | undefined
@@ -32391,8 +32378,7 @@ export interface Routes {
32391
32378
  error: null
32392
32379
  action_type: 'ENCODE_CREDENTIAL'
32393
32380
  /** Means by which a user gains access at an entrance.
32394
-
32395
- The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code. */
32381
+ The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code. */
32396
32382
  result:
32397
32383
  | {
32398
32384
  /** ID of the credential. */