@seamapi/types 1.287.1 → 1.287.2

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.
@@ -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;
@@ -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;
@@ -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;
@@ -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;
@@ -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;
@@ -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;
@@ -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.2",
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>
@@ -235,15 +235,23 @@ const common_acs_user = z
235
235
  .merge(user_fields)
236
236
 
237
237
  export const acs_user = common_acs_user.merge(
238
- z.object({
239
- is_managed: z.literal(true),
240
- }),
238
+ z
239
+ .object({
240
+ is_managed: z.literal(true),
241
+ })
242
+ .describe(
243
+ '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).',
244
+ ),
241
245
  )
242
246
 
243
247
  export const unmanaged_acs_user = common_acs_user.merge(
244
- z.object({
245
- is_managed: z.literal(false),
246
- }),
248
+ z
249
+ .object({
250
+ is_managed: z.literal(false),
251
+ })
252
+ .describe(
253
+ '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).',
254
+ ),
247
255
  )
248
256
 
249
257
  export type AcsUser = z.output<typeof acs_user>
@@ -1,8 +1,18 @@
1
1
  import { z } from 'zod'
2
2
 
3
3
  export const start_end_schedule = z.object({
4
- starts_at: z.string().datetime(),
5
- ends_at: z.string().datetime(),
4
+ starts_at: z
5
+ .string()
6
+ .datetime()
7
+ .describe(
8
+ "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.",
9
+ ),
10
+ ends_at: z
11
+ .string()
12
+ .datetime()
13
+ .describe(
14
+ "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.",
15
+ ),
6
16
  })
7
17
 
8
18
  // export const schedule = z.union([