@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
@@ -265,8 +265,7 @@ export interface Routes {
265
265
  error: null;
266
266
  action_type: 'ENCODE_CREDENTIAL';
267
267
  /** Means by which a user gains access at an entrance.
268
-
269
- 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. */
268
+ 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. */
270
269
  result: {
271
270
  /** ID of the credential. */
272
271
  acs_credential_id: string;
@@ -1149,8 +1148,7 @@ export interface Routes {
1149
1148
  error: null;
1150
1149
  action_type: 'ENCODE_CREDENTIAL';
1151
1150
  /** Means by which a user gains access at an entrance.
1152
-
1153
- 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. */
1151
+ 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. */
1154
1152
  result: {
1155
1153
  /** ID of the credential. */
1156
1154
  acs_credential_id: string;
@@ -2190,8 +2188,7 @@ export interface Routes {
2190
2188
  error: null;
2191
2189
  action_type: 'ENCODE_CREDENTIAL';
2192
2190
  /** Means by which a user gains access at an entrance.
2193
-
2194
- 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. */
2191
+ 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. */
2195
2192
  result: {
2196
2193
  /** ID of the credential. */
2197
2194
  acs_credential_id: string;
@@ -3061,8 +3058,7 @@ export interface Routes {
3061
3058
  error: null;
3062
3059
  action_type: 'ENCODE_CREDENTIAL';
3063
3060
  /** Means by which a user gains access at an entrance.
3064
-
3065
- 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. */
3061
+ 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. */
3066
3062
  result: {
3067
3063
  /** ID of the credential. */
3068
3064
  acs_credential_id: string;
@@ -3583,11 +3579,8 @@ export interface Routes {
3583
3579
  };
3584
3580
  formData: {};
3585
3581
  jsonResponse: {
3586
- /**
3587
- 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.
3588
-
3589
- 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).
3590
- */
3582
+ /** 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.
3583
+ 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). */
3591
3584
  acs_access_group: {
3592
3585
  /** ID of the access group. */
3593
3586
  acs_access_group_id: string;
@@ -3598,10 +3591,10 @@ export interface Routes {
3598
3591
  /** Name of the access group. */
3599
3592
  name: string;
3600
3593
  /**
3601
- * @deprecated use external_type */
3594
+ * @deprecated Use `external_type`. */
3602
3595
  access_group_type: 'pti_unit' | 'pti_access_level' | 'salto_access_group' | 'brivo_group';
3603
3596
  /**
3604
- * @deprecated use external_type_display_name */
3597
+ * @deprecated Use `external_type_display_name`. */
3605
3598
  access_group_type_display_name: string;
3606
3599
  display_name: string;
3607
3600
  /** Brand-specific terminology for the access group type. */
@@ -3637,10 +3630,10 @@ export interface Routes {
3637
3630
  /** Name of the access group. */
3638
3631
  name: string;
3639
3632
  /**
3640
- * @deprecated use external_type */
3633
+ * @deprecated Use `external_type`. */
3641
3634
  access_group_type: 'pti_unit' | 'pti_access_level' | 'salto_access_group' | 'brivo_group';
3642
3635
  /**
3643
- * @deprecated use external_type_display_name */
3636
+ * @deprecated Use `external_type_display_name`. */
3644
3637
  access_group_type_display_name: string;
3645
3638
  display_name: string;
3646
3639
  /** Brand-specific terminology for the access group type. */
@@ -3745,7 +3738,9 @@ export interface Routes {
3745
3738
  is_suspended: boolean;
3746
3739
  /** `starts_at` and `ends_at` timestamps for the `acs_user`'s access. */
3747
3740
  access_schedule?: {
3741
+ /** 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. */
3748
3742
  starts_at: string;
3743
+ /** 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. */
3749
3744
  ends_at: string;
3750
3745
  } | undefined;
3751
3746
  /** ID of the user identity associated with the `acs_user`. */
@@ -3850,10 +3845,10 @@ export interface Routes {
3850
3845
  /** Name of the access group. */
3851
3846
  name: string;
3852
3847
  /**
3853
- * @deprecated use external_type */
3848
+ * @deprecated Use `external_type`. */
3854
3849
  access_group_type: 'pti_unit' | 'pti_access_level' | 'salto_access_group' | 'brivo_group';
3855
3850
  /**
3856
- * @deprecated use external_type_display_name */
3851
+ * @deprecated Use `external_type_display_name`. */
3857
3852
  access_group_type_display_name: string;
3858
3853
  display_name: string;
3859
3854
  /** Brand-specific terminology for the access group type. */
@@ -3889,10 +3884,10 @@ export interface Routes {
3889
3884
  /** Name of the access group. */
3890
3885
  name: string;
3891
3886
  /**
3892
- * @deprecated use external_type */
3887
+ * @deprecated Use `external_type`. */
3893
3888
  access_group_type: 'pti_unit' | 'pti_access_level' | 'salto_access_group' | 'brivo_group';
3894
3889
  /**
3895
- * @deprecated use external_type_display_name */
3890
+ * @deprecated Use `external_type_display_name`. */
3896
3891
  access_group_type_display_name: string;
3897
3892
  display_name: string;
3898
3893
  /** Brand-specific terminology for the access group type. */
@@ -3963,8 +3958,7 @@ export interface Routes {
3963
3958
  formData: {};
3964
3959
  jsonResponse: {
3965
3960
  /** Means by which a user gains access at an entrance.
3966
-
3967
- 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. */
3961
+ 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. */
3968
3962
  acs_credential: {
3969
3963
  /** ID of the credential. */
3970
3964
  acs_credential_id: string;
@@ -4064,8 +4058,7 @@ export interface Routes {
4064
4058
  formData: {};
4065
4059
  jsonResponse: {
4066
4060
  /** Means by which a user gains access at an entrance.
4067
-
4068
- 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. */
4061
+ 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. */
4069
4062
  acs_credential: {
4070
4063
  /** ID of the credential. */
4071
4064
  acs_credential_id: string;
@@ -4150,8 +4143,7 @@ export interface Routes {
4150
4143
  formData: {};
4151
4144
  jsonResponse: {
4152
4145
  /** Means by which a user gains access at an entrance.
4153
-
4154
- 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. */
4146
+ 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. */
4155
4147
  acs_credential: {
4156
4148
  /** ID of the credential. */
4157
4149
  acs_credential_id: string;
@@ -4376,8 +4368,7 @@ export interface Routes {
4376
4368
  formData: {};
4377
4369
  jsonResponse: {
4378
4370
  /** Means by which a user gains access at an entrance.
4379
-
4380
- 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. */
4371
+ 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. */
4381
4372
  acs_credential: {
4382
4373
  /** ID of the credential. */
4383
4374
  acs_credential_id: string;
@@ -4450,8 +4441,7 @@ export interface Routes {
4450
4441
  formData: {};
4451
4442
  jsonResponse: {
4452
4443
  /** Means by which a user gains access at an entrance.
4453
-
4454
- 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. */
4444
+ 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. */
4455
4445
  acs_credential: {
4456
4446
  /** ID of the credential. */
4457
4447
  acs_credential_id: string;
@@ -4610,8 +4600,7 @@ export interface Routes {
4610
4600
  formData: {};
4611
4601
  jsonResponse: {
4612
4602
  /** Means by which a user gains access at an entrance.
4613
-
4614
- 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. */
4603
+ 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. */
4615
4604
  acs_credential: {
4616
4605
  /** ID of the credential. */
4617
4606
  acs_credential_id: string;
@@ -4925,8 +4914,7 @@ export interface Routes {
4925
4914
  error: null;
4926
4915
  action_type: 'ENCODE_CREDENTIAL';
4927
4916
  /** Means by which a user gains access at an entrance.
4928
-
4929
- 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. */
4917
+ 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. */
4930
4918
  result: {
4931
4919
  /** ID of the credential. */
4932
4920
  acs_credential_id: string;
@@ -5739,7 +5727,7 @@ export interface Routes {
5739
5727
  _member_group_id?: string | undefined;
5740
5728
  } | undefined;
5741
5729
  assa_abloy_vostio_metadata?: {
5742
- encoder_id: string;
5730
+ encoder_name: string;
5743
5731
  } | undefined;
5744
5732
  }) & ({
5745
5733
  _experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
@@ -6144,8 +6132,7 @@ export interface Routes {
6144
6132
  error: null;
6145
6133
  action_type: 'ENCODE_CREDENTIAL';
6146
6134
  /** Means by which a user gains access at an entrance.
6147
-
6148
- 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. */
6135
+ 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. */
6149
6136
  result: {
6150
6137
  /** ID of the credential. */
6151
6138
  acs_credential_id: string;
@@ -6637,6 +6624,7 @@ export interface Routes {
6637
6624
  };
6638
6625
  formData: {};
6639
6626
  jsonResponse: {
6627
+ /** 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). */
6640
6628
  acs_entrance: {
6641
6629
  /** ID of the access control system that contains the entrance. */
6642
6630
  acs_system_id: string;
@@ -7210,7 +7198,9 @@ export interface Routes {
7210
7198
  is_suspended: boolean;
7211
7199
  /** `starts_at` and `ends_at` timestamps for the `acs_user`'s access. */
7212
7200
  access_schedule?: {
7201
+ /** 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. */
7213
7202
  starts_at: string;
7203
+ /** 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. */
7214
7204
  ends_at: string;
7215
7205
  } | undefined;
7216
7206
  /** ID of the user identity associated with the `acs_user`. */
@@ -7323,7 +7313,9 @@ export interface Routes {
7323
7313
  is_suspended: boolean;
7324
7314
  /** `starts_at` and `ends_at` timestamps for the `acs_user`'s access. */
7325
7315
  access_schedule?: {
7316
+ /** 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. */
7326
7317
  starts_at: string;
7318
+ /** 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. */
7327
7319
  ends_at: string;
7328
7320
  } | undefined;
7329
7321
  /** ID of the user identity associated with the `acs_user`. */
@@ -7432,7 +7424,9 @@ export interface Routes {
7432
7424
  is_suspended: boolean;
7433
7425
  /** `starts_at` and `ends_at` timestamps for the `acs_user`'s access. */
7434
7426
  access_schedule?: {
7427
+ /** 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. */
7435
7428
  starts_at: string;
7429
+ /** 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. */
7436
7430
  ends_at: string;
7437
7431
  } | undefined;
7438
7432
  /** ID of the user identity associated with the `acs_user`. */
@@ -7631,7 +7625,9 @@ export interface Routes {
7631
7625
  is_suspended: boolean;
7632
7626
  /** `starts_at` and `ends_at` timestamps for the `acs_user`'s access. */
7633
7627
  access_schedule?: {
7628
+ /** 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. */
7634
7629
  starts_at: string;
7630
+ /** 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. */
7635
7631
  ends_at: string;
7636
7632
  } | undefined;
7637
7633
  /** ID of the user identity associated with the `acs_user`. */
@@ -7735,7 +7731,9 @@ export interface Routes {
7735
7731
  is_suspended: boolean;
7736
7732
  /** `starts_at` and `ends_at` timestamps for the `acs_user`'s access. */
7737
7733
  access_schedule?: {
7734
+ /** 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. */
7738
7735
  starts_at: string;
7736
+ /** 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. */
7739
7737
  ends_at: string;
7740
7738
  } | undefined;
7741
7739
  /** ID of the user identity associated with the `acs_user`. */
@@ -8094,8 +8092,7 @@ export interface Routes {
8094
8092
  error: null;
8095
8093
  action_type: 'ENCODE_CREDENTIAL';
8096
8094
  /** Means by which a user gains access at an entrance.
8097
-
8098
- 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. */
8095
+ 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. */
8099
8096
  result: {
8100
8097
  /** ID of the credential. */
8101
8098
  acs_credential_id: string;
@@ -8827,8 +8824,7 @@ export interface Routes {
8827
8824
  error: null;
8828
8825
  action_type: 'ENCODE_CREDENTIAL';
8829
8826
  /** Means by which a user gains access at an entrance.
8830
-
8831
- 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. */
8827
+ 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. */
8832
8828
  result: {
8833
8829
  /** ID of the credential. */
8834
8830
  acs_credential_id: string;
@@ -10059,7 +10055,7 @@ export interface Routes {
10059
10055
  _member_group_id?: string | undefined;
10060
10056
  } | undefined;
10061
10057
  assa_abloy_vostio_metadata?: {
10062
- encoder_id: string;
10058
+ encoder_name: string;
10063
10059
  } | undefined;
10064
10060
  }) & ({
10065
10061
  _experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
@@ -10547,7 +10543,7 @@ export interface Routes {
10547
10543
  _member_group_id?: string | undefined;
10548
10544
  } | undefined;
10549
10545
  assa_abloy_vostio_metadata?: {
10550
- encoder_id: string;
10546
+ encoder_name: string;
10551
10547
  } | undefined;
10552
10548
  }) & ({
10553
10549
  _experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
@@ -11438,7 +11434,7 @@ export interface Routes {
11438
11434
  _member_group_id?: string | undefined;
11439
11435
  } | undefined;
11440
11436
  assa_abloy_vostio_metadata?: {
11441
- encoder_id: string;
11437
+ encoder_name: string;
11442
11438
  } | undefined;
11443
11439
  }) & ({
11444
11440
  _experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
@@ -11901,7 +11897,7 @@ export interface Routes {
11901
11897
  _member_group_id?: string | undefined;
11902
11898
  } | undefined;
11903
11899
  assa_abloy_vostio_metadata?: {
11904
- encoder_id: string;
11900
+ encoder_name: string;
11905
11901
  } | undefined;
11906
11902
  }) & ({
11907
11903
  _experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
@@ -12389,7 +12385,7 @@ export interface Routes {
12389
12385
  _member_group_id?: string | undefined;
12390
12386
  } | undefined;
12391
12387
  assa_abloy_vostio_metadata?: {
12392
- encoder_id: string;
12388
+ encoder_name: string;
12393
12389
  } | undefined;
12394
12390
  }) & ({
12395
12391
  _experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
@@ -12852,7 +12848,7 @@ export interface Routes {
12852
12848
  _member_group_id?: string | undefined;
12853
12849
  } | undefined;
12854
12850
  assa_abloy_vostio_metadata?: {
12855
- encoder_id: string;
12851
+ encoder_name: string;
12856
12852
  } | undefined;
12857
12853
  }) & ({
12858
12854
  _experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
@@ -13255,8 +13251,7 @@ export interface Routes {
13255
13251
  error: null;
13256
13252
  action_type: 'ENCODE_CREDENTIAL';
13257
13253
  /** Means by which a user gains access at an entrance.
13258
-
13259
- 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. */
13254
+ 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. */
13260
13255
  result: {
13261
13256
  /** ID of the credential. */
13262
13257
  acs_credential_id: string;
@@ -13989,8 +13984,7 @@ export interface Routes {
13989
13984
  error: null;
13990
13985
  action_type: 'ENCODE_CREDENTIAL';
13991
13986
  /** Means by which a user gains access at an entrance.
13992
-
13993
- 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. */
13987
+ 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. */
13994
13988
  result: {
13995
13989
  /** ID of the credential. */
13996
13990
  acs_credential_id: string;
@@ -14842,7 +14836,7 @@ export interface Routes {
14842
14836
  _member_group_id?: string | undefined;
14843
14837
  } | undefined;
14844
14838
  assa_abloy_vostio_metadata?: {
14845
- encoder_id: string;
14839
+ encoder_name: string;
14846
14840
  } | undefined;
14847
14841
  }) & ({
14848
14842
  _experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
@@ -15305,7 +15299,7 @@ export interface Routes {
15305
15299
  _member_group_id?: string | undefined;
15306
15300
  } | undefined;
15307
15301
  assa_abloy_vostio_metadata?: {
15308
- encoder_id: string;
15302
+ encoder_name: string;
15309
15303
  } | undefined;
15310
15304
  }) & ({
15311
15305
  _experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
@@ -15713,8 +15707,7 @@ export interface Routes {
15713
15707
  error: null;
15714
15708
  action_type: 'ENCODE_CREDENTIAL';
15715
15709
  /** Means by which a user gains access at an entrance.
15716
-
15717
- 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. */
15710
+ 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. */
15718
15711
  result: {
15719
15712
  /** ID of the credential. */
15720
15713
  acs_credential_id: string;
@@ -16457,8 +16450,7 @@ export interface Routes {
16457
16450
  error: null;
16458
16451
  action_type: 'ENCODE_CREDENTIAL';
16459
16452
  /** Means by which a user gains access at an entrance.
16460
-
16461
- 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. */
16453
+ 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. */
16462
16454
  result: {
16463
16455
  /** ID of the credential. */
16464
16456
  acs_credential_id: string;
@@ -17240,8 +17232,7 @@ export interface Routes {
17240
17232
  error: null;
17241
17233
  action_type: 'ENCODE_CREDENTIAL';
17242
17234
  /** Means by which a user gains access at an entrance.
17243
-
17244
- 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. */
17235
+ 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. */
17245
17236
  result: {
17246
17237
  /** ID of the credential. */
17247
17238
  acs_credential_id: string;
@@ -18156,8 +18147,7 @@ export interface Routes {
18156
18147
  error: null;
18157
18148
  action_type: 'ENCODE_CREDENTIAL';
18158
18149
  /** Means by which a user gains access at an entrance.
18159
-
18160
- 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. */
18150
+ 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. */
18161
18151
  result: {
18162
18152
  /** ID of the credential. */
18163
18153
  acs_credential_id: string;
@@ -18892,8 +18882,7 @@ export interface Routes {
18892
18882
  error: null;
18893
18883
  action_type: 'ENCODE_CREDENTIAL';
18894
18884
  /** Means by which a user gains access at an entrance.
18895
-
18896
- 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. */
18885
+ 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. */
18897
18886
  result: {
18898
18887
  /** ID of the credential. */
18899
18888
  acs_credential_id: string;
@@ -19731,7 +19720,7 @@ export interface Routes {
19731
19720
  _member_group_id?: string | undefined;
19732
19721
  } | undefined;
19733
19722
  assa_abloy_vostio_metadata?: {
19734
- encoder_id: string;
19723
+ encoder_name: string;
19735
19724
  } | undefined;
19736
19725
  }) & ({
19737
19726
  _experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
@@ -20136,8 +20125,7 @@ export interface Routes {
20136
20125
  error: null;
20137
20126
  action_type: 'ENCODE_CREDENTIAL';
20138
20127
  /** Means by which a user gains access at an entrance.
20139
-
20140
- 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. */
20128
+ 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. */
20141
20129
  result: {
20142
20130
  /** ID of the credential. */
20143
20131
  acs_credential_id: string;
@@ -20874,8 +20862,7 @@ export interface Routes {
20874
20862
  error: null;
20875
20863
  action_type: 'ENCODE_CREDENTIAL';
20876
20864
  /** Means by which a user gains access at an entrance.
20877
-
20878
- 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. */
20865
+ 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. */
20879
20866
  result: {
20880
20867
  /** ID of the credential. */
20881
20868
  acs_credential_id: string;
@@ -21693,7 +21680,7 @@ export interface Routes {
21693
21680
  _member_group_id?: string | undefined;
21694
21681
  } | undefined;
21695
21682
  assa_abloy_vostio_metadata?: {
21696
- encoder_id: string;
21683
+ encoder_name: string;
21697
21684
  } | undefined;
21698
21685
  }) & ({
21699
21686
  _experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
@@ -22156,7 +22143,7 @@ export interface Routes {
22156
22143
  _member_group_id?: string | undefined;
22157
22144
  } | undefined;
22158
22145
  assa_abloy_vostio_metadata?: {
22159
- encoder_id: string;
22146
+ encoder_name: string;
22160
22147
  } | undefined;
22161
22148
  }) & ({
22162
22149
  _experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
@@ -22559,8 +22546,7 @@ export interface Routes {
22559
22546
  error: null;
22560
22547
  action_type: 'ENCODE_CREDENTIAL';
22561
22548
  /** Means by which a user gains access at an entrance.
22562
-
22563
- 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. */
22549
+ 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. */
22564
22550
  result: {
22565
22551
  /** ID of the credential. */
22566
22552
  acs_credential_id: string;
@@ -23414,8 +23400,7 @@ export interface Routes {
23414
23400
  error: null;
23415
23401
  action_type: 'ENCODE_CREDENTIAL';
23416
23402
  /** Means by which a user gains access at an entrance.
23417
-
23418
- 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. */
23403
+ 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. */
23419
23404
  result: {
23420
23405
  /** ID of the credential. */
23421
23406
  acs_credential_id: string;
@@ -24434,7 +24419,7 @@ export interface Routes {
24434
24419
  _member_group_id?: string | undefined;
24435
24420
  } | undefined;
24436
24421
  assa_abloy_vostio_metadata?: {
24437
- encoder_id: string;
24422
+ encoder_name: string;
24438
24423
  } | undefined;
24439
24424
  }) & ({
24440
24425
  _experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
@@ -24899,7 +24884,7 @@ export interface Routes {
24899
24884
  _member_group_id?: string | undefined;
24900
24885
  } | undefined;
24901
24886
  assa_abloy_vostio_metadata?: {
24902
- encoder_id: string;
24887
+ encoder_name: string;
24903
24888
  } | undefined;
24904
24889
  }) & ({
24905
24890
  _experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
@@ -25185,7 +25170,9 @@ export interface Routes {
25185
25170
  is_suspended: boolean;
25186
25171
  /** `starts_at` and `ends_at` timestamps for the `acs_user`'s access. */
25187
25172
  access_schedule?: {
25173
+ /** 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. */
25188
25174
  starts_at: string;
25175
+ /** 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. */
25189
25176
  ends_at: string;
25190
25177
  } | undefined;
25191
25178
  /** ID of the user identity associated with the `acs_user`. */
@@ -25685,8 +25672,7 @@ export interface Routes {
25685
25672
  error: null;
25686
25673
  action_type: 'ENCODE_CREDENTIAL';
25687
25674
  /** Means by which a user gains access at an entrance.
25688
-
25689
- 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. */
25675
+ 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. */
25690
25676
  result: {
25691
25677
  /** ID of the credential. */
25692
25678
  acs_credential_id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.287.1",
3
+ "version": "1.287.3",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -29,12 +29,12 @@ const common_acs_access_group = z.object({
29
29
  name: z.string().describe('Name of the access group.'),
30
30
  access_group_type: acs_access_group_external_type.describe(`
31
31
  ---
32
- deprecated: use external_type
32
+ deprecated: Use \`external_type\`.
33
33
  ---
34
34
  `),
35
35
  access_group_type_display_name: z.string().describe(`
36
36
  ---
37
- deprecated: use external_type_display_name
37
+ deprecated: Use \`external_type_display_name\`.
38
38
  ---
39
39
  `),
40
40
  display_name: z.string(),
@@ -54,11 +54,9 @@ const common_acs_access_group = z.object({
54
54
 
55
55
  export const acs_access_group = common_acs_access_group.extend({
56
56
  is_managed: z.literal(true),
57
- }).describe(`
58
- 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.
59
-
60
- 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).
61
- `)
57
+ })
58
+ .describe(`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.
59
+ 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).`)
62
60
  export const unmanaged_acs_access_group = common_acs_access_group.extend({
63
61
  is_managed: z.literal(false),
64
62
  })
@@ -144,10 +144,8 @@ function getAcsCredentialDescription(is_managed = true): string {
144
144
  : 'unmanaged_acs_credential'
145
145
  const management_clause = is_managed ? '' : ', which is not managed by Seam,'
146
146
 
147
- return `
148
- Means by which a user gains access at an entrance.
149
-
150
- The \`${resource_name}\` object${management_clause} 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.`.trim()
147
+ return `Means by which a user gains access at an entrance.
148
+ The \`${resource_name}\` object${management_clause} 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.`.trim()
151
149
  }
152
150
 
153
151
  export const acs_credential_on_encoder = z.object({
@@ -8,30 +8,34 @@ import {
8
8
  acs_entrance_visionline_metadata,
9
9
  } from './metadata/index.js'
10
10
 
11
- export const acs_entrance = z.object({
12
- acs_system_id: z
13
- .string()
14
- .uuid()
15
- .describe('ID of the access control system that contains the entrance.'),
16
- acs_entrance_id: z.string().uuid().describe('ID of the entrance.'),
17
- created_at: z
18
- .string()
19
- .datetime()
20
- .describe('Date and time at which the entrance was created.'),
21
- display_name: z.string().describe('Display name for the entrance.'),
22
- errors: z.array(
23
- z.object({
24
- error_code: z.string(),
25
- message: z.string(),
26
- }),
27
- ),
28
- latch_metadata: acs_entrance_latch_metadata.optional(),
29
- visionline_metadata: acs_entrance_visionline_metadata.optional(),
30
- salto_ks_metadata: acs_entrance_salto_ks_metadata.optional(),
31
- dormakaba_community_metadata:
32
- acs_entrance_dormakaba_community_metadata.optional(),
33
- assa_abloy_vostio_metadata:
34
- acs_entrance_assa_abloy_vostio_metadata.optional(),
35
- })
11
+ export const acs_entrance = z
12
+ .object({
13
+ acs_system_id: z
14
+ .string()
15
+ .uuid()
16
+ .describe('ID of the access control system that contains the entrance.'),
17
+ acs_entrance_id: z.string().uuid().describe('ID of the entrance.'),
18
+ created_at: z
19
+ .string()
20
+ .datetime()
21
+ .describe('Date and time at which the entrance was created.'),
22
+ display_name: z.string().describe('Display name for the entrance.'),
23
+ errors: z.array(
24
+ z.object({
25
+ error_code: z.string(),
26
+ message: z.string(),
27
+ }),
28
+ ),
29
+ latch_metadata: acs_entrance_latch_metadata.optional(),
30
+ visionline_metadata: acs_entrance_visionline_metadata.optional(),
31
+ salto_ks_metadata: acs_entrance_salto_ks_metadata.optional(),
32
+ dormakaba_community_metadata:
33
+ acs_entrance_dormakaba_community_metadata.optional(),
34
+ assa_abloy_vostio_metadata:
35
+ acs_entrance_assa_abloy_vostio_metadata.optional(),
36
+ })
37
+ .describe(
38
+ '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).',
39
+ )
36
40
 
37
41
  export type AcsEntrance = z.infer<typeof acs_entrance>