@seamapi/types 1.272.0 → 1.273.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/connect.cjs +180 -39
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +90 -0
- package/lib/seam/connect/models/acs/acs-access-group.js +23 -8
- package/lib/seam/connect/models/acs/acs-access-group.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +45 -0
- package/lib/seam/connect/openapi.js +160 -31
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +45 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-access-group.ts +31 -8
- package/src/lib/seam/connect/openapi.ts +190 -31
- package/src/lib/seam/connect/route-types.ts +45 -0
package/dist/connect.d.cts
CHANGED
|
@@ -11310,6 +11310,7 @@ declare const _default: {
|
|
|
11310
11310
|
type: string;
|
|
11311
11311
|
};
|
|
11312
11312
|
acs_access_group: {
|
|
11313
|
+
description: string;
|
|
11313
11314
|
properties: {
|
|
11314
11315
|
access_group_type: {
|
|
11315
11316
|
deprecated: boolean;
|
|
@@ -11323,14 +11324,17 @@ declare const _default: {
|
|
|
11323
11324
|
'x-deprecated': string;
|
|
11324
11325
|
};
|
|
11325
11326
|
acs_access_group_id: {
|
|
11327
|
+
description: string;
|
|
11326
11328
|
format: string;
|
|
11327
11329
|
type: string;
|
|
11328
11330
|
};
|
|
11329
11331
|
acs_system_id: {
|
|
11332
|
+
description: string;
|
|
11330
11333
|
format: string;
|
|
11331
11334
|
type: string;
|
|
11332
11335
|
};
|
|
11333
11336
|
created_at: {
|
|
11337
|
+
description: string;
|
|
11334
11338
|
format: string;
|
|
11335
11339
|
type: string;
|
|
11336
11340
|
};
|
|
@@ -11338,10 +11342,12 @@ declare const _default: {
|
|
|
11338
11342
|
type: string;
|
|
11339
11343
|
};
|
|
11340
11344
|
external_type: {
|
|
11345
|
+
description: string;
|
|
11341
11346
|
enum: string[];
|
|
11342
11347
|
type: string;
|
|
11343
11348
|
};
|
|
11344
11349
|
external_type_display_name: {
|
|
11350
|
+
description: string;
|
|
11345
11351
|
type: string;
|
|
11346
11352
|
};
|
|
11347
11353
|
is_managed: {
|
|
@@ -11349,9 +11355,11 @@ declare const _default: {
|
|
|
11349
11355
|
type: string;
|
|
11350
11356
|
};
|
|
11351
11357
|
name: {
|
|
11358
|
+
description: string;
|
|
11352
11359
|
type: string;
|
|
11353
11360
|
};
|
|
11354
11361
|
workspace_id: {
|
|
11362
|
+
description: string;
|
|
11355
11363
|
format: string;
|
|
11356
11364
|
type: string;
|
|
11357
11365
|
};
|
|
@@ -17611,6 +17619,7 @@ declare const _default: {
|
|
|
17611
17619
|
};
|
|
17612
17620
|
'/acs/access_groups/add_user': {
|
|
17613
17621
|
post: {
|
|
17622
|
+
description: string;
|
|
17614
17623
|
operationId: string;
|
|
17615
17624
|
requestBody: {
|
|
17616
17625
|
content: {
|
|
@@ -17618,10 +17627,12 @@ declare const _default: {
|
|
|
17618
17627
|
schema: {
|
|
17619
17628
|
properties: {
|
|
17620
17629
|
acs_access_group_id: {
|
|
17630
|
+
description: string;
|
|
17621
17631
|
format: string;
|
|
17622
17632
|
type: string;
|
|
17623
17633
|
};
|
|
17624
17634
|
acs_user_id: {
|
|
17635
|
+
description: string;
|
|
17625
17636
|
format: string;
|
|
17626
17637
|
type: string;
|
|
17627
17638
|
};
|
|
@@ -17676,6 +17687,7 @@ declare const _default: {
|
|
|
17676
17687
|
'x-response-key': null;
|
|
17677
17688
|
};
|
|
17678
17689
|
put: {
|
|
17690
|
+
description: string;
|
|
17679
17691
|
operationId: string;
|
|
17680
17692
|
requestBody: {
|
|
17681
17693
|
content: {
|
|
@@ -17683,10 +17695,12 @@ declare const _default: {
|
|
|
17683
17695
|
schema: {
|
|
17684
17696
|
properties: {
|
|
17685
17697
|
acs_access_group_id: {
|
|
17698
|
+
description: string;
|
|
17686
17699
|
format: string;
|
|
17687
17700
|
type: string;
|
|
17688
17701
|
};
|
|
17689
17702
|
acs_user_id: {
|
|
17703
|
+
description: string;
|
|
17690
17704
|
format: string;
|
|
17691
17705
|
type: string;
|
|
17692
17706
|
};
|
|
@@ -17742,6 +17756,7 @@ declare const _default: {
|
|
|
17742
17756
|
};
|
|
17743
17757
|
'/acs/access_groups/get': {
|
|
17744
17758
|
post: {
|
|
17759
|
+
description: string;
|
|
17745
17760
|
operationId: string;
|
|
17746
17761
|
requestBody: {
|
|
17747
17762
|
content: {
|
|
@@ -17749,6 +17764,7 @@ declare const _default: {
|
|
|
17749
17764
|
schema: {
|
|
17750
17765
|
properties: {
|
|
17751
17766
|
acs_access_group_id: {
|
|
17767
|
+
description: string;
|
|
17752
17768
|
format: string;
|
|
17753
17769
|
type: string;
|
|
17754
17770
|
};
|
|
@@ -17809,6 +17825,7 @@ declare const _default: {
|
|
|
17809
17825
|
};
|
|
17810
17826
|
'/acs/access_groups/list': {
|
|
17811
17827
|
post: {
|
|
17828
|
+
description: string;
|
|
17812
17829
|
operationId: string;
|
|
17813
17830
|
requestBody: {
|
|
17814
17831
|
content: {
|
|
@@ -17816,10 +17833,12 @@ declare const _default: {
|
|
|
17816
17833
|
schema: {
|
|
17817
17834
|
properties: {
|
|
17818
17835
|
acs_system_id: {
|
|
17836
|
+
description: string;
|
|
17819
17837
|
format: string;
|
|
17820
17838
|
type: string;
|
|
17821
17839
|
};
|
|
17822
17840
|
acs_user_id: {
|
|
17841
|
+
description: string;
|
|
17823
17842
|
format: string;
|
|
17824
17843
|
type: string;
|
|
17825
17844
|
};
|
|
@@ -17882,6 +17901,7 @@ declare const _default: {
|
|
|
17882
17901
|
};
|
|
17883
17902
|
'/acs/access_groups/list_accessible_entrances': {
|
|
17884
17903
|
post: {
|
|
17904
|
+
description: string;
|
|
17885
17905
|
operationId: string;
|
|
17886
17906
|
requestBody: {
|
|
17887
17907
|
content: {
|
|
@@ -17889,6 +17909,7 @@ declare const _default: {
|
|
|
17889
17909
|
schema: {
|
|
17890
17910
|
properties: {
|
|
17891
17911
|
acs_access_group_id: {
|
|
17912
|
+
description: string;
|
|
17892
17913
|
format: string;
|
|
17893
17914
|
type: string;
|
|
17894
17915
|
};
|
|
@@ -17952,6 +17973,7 @@ declare const _default: {
|
|
|
17952
17973
|
};
|
|
17953
17974
|
'/acs/access_groups/list_users': {
|
|
17954
17975
|
post: {
|
|
17976
|
+
description: string;
|
|
17955
17977
|
operationId: string;
|
|
17956
17978
|
requestBody: {
|
|
17957
17979
|
content: {
|
|
@@ -17959,6 +17981,7 @@ declare const _default: {
|
|
|
17959
17981
|
schema: {
|
|
17960
17982
|
properties: {
|
|
17961
17983
|
acs_access_group_id: {
|
|
17984
|
+
description: string;
|
|
17962
17985
|
format: string;
|
|
17963
17986
|
type: string;
|
|
17964
17987
|
};
|
|
@@ -18022,6 +18045,7 @@ declare const _default: {
|
|
|
18022
18045
|
};
|
|
18023
18046
|
'/acs/access_groups/remove_user': {
|
|
18024
18047
|
post: {
|
|
18048
|
+
description: string;
|
|
18025
18049
|
operationId: string;
|
|
18026
18050
|
requestBody: {
|
|
18027
18051
|
content: {
|
|
@@ -18029,10 +18053,12 @@ declare const _default: {
|
|
|
18029
18053
|
schema: {
|
|
18030
18054
|
properties: {
|
|
18031
18055
|
acs_access_group_id: {
|
|
18056
|
+
description: string;
|
|
18032
18057
|
format: string;
|
|
18033
18058
|
type: string;
|
|
18034
18059
|
};
|
|
18035
18060
|
acs_user_id: {
|
|
18061
|
+
description: string;
|
|
18036
18062
|
format: string;
|
|
18037
18063
|
type: string;
|
|
18038
18064
|
};
|
|
@@ -18089,6 +18115,7 @@ declare const _default: {
|
|
|
18089
18115
|
};
|
|
18090
18116
|
'/acs/access_groups/unmanaged/get': {
|
|
18091
18117
|
post: {
|
|
18118
|
+
description: string;
|
|
18092
18119
|
operationId: string;
|
|
18093
18120
|
requestBody: {
|
|
18094
18121
|
content: {
|
|
@@ -18096,6 +18123,7 @@ declare const _default: {
|
|
|
18096
18123
|
schema: {
|
|
18097
18124
|
properties: {
|
|
18098
18125
|
acs_access_group_id: {
|
|
18126
|
+
description: string;
|
|
18099
18127
|
format: string;
|
|
18100
18128
|
type: string;
|
|
18101
18129
|
};
|
|
@@ -18126,14 +18154,17 @@ declare const _default: {
|
|
|
18126
18154
|
'x-deprecated': string;
|
|
18127
18155
|
};
|
|
18128
18156
|
acs_access_group_id: {
|
|
18157
|
+
description: string;
|
|
18129
18158
|
format: string;
|
|
18130
18159
|
type: string;
|
|
18131
18160
|
};
|
|
18132
18161
|
acs_system_id: {
|
|
18162
|
+
description: string;
|
|
18133
18163
|
format: string;
|
|
18134
18164
|
type: string;
|
|
18135
18165
|
};
|
|
18136
18166
|
created_at: {
|
|
18167
|
+
description: string;
|
|
18137
18168
|
format: string;
|
|
18138
18169
|
type: string;
|
|
18139
18170
|
};
|
|
@@ -18141,10 +18172,12 @@ declare const _default: {
|
|
|
18141
18172
|
type: string;
|
|
18142
18173
|
};
|
|
18143
18174
|
external_type: {
|
|
18175
|
+
description: string;
|
|
18144
18176
|
enum: string[];
|
|
18145
18177
|
type: string;
|
|
18146
18178
|
};
|
|
18147
18179
|
external_type_display_name: {
|
|
18180
|
+
description: string;
|
|
18148
18181
|
type: string;
|
|
18149
18182
|
};
|
|
18150
18183
|
is_managed: {
|
|
@@ -18152,9 +18185,11 @@ declare const _default: {
|
|
|
18152
18185
|
type: string;
|
|
18153
18186
|
};
|
|
18154
18187
|
name: {
|
|
18188
|
+
description: string;
|
|
18155
18189
|
type: string;
|
|
18156
18190
|
};
|
|
18157
18191
|
workspace_id: {
|
|
18192
|
+
description: string;
|
|
18158
18193
|
format: string;
|
|
18159
18194
|
type: string;
|
|
18160
18195
|
};
|
|
@@ -18203,6 +18238,7 @@ declare const _default: {
|
|
|
18203
18238
|
};
|
|
18204
18239
|
'/acs/access_groups/unmanaged/list': {
|
|
18205
18240
|
post: {
|
|
18241
|
+
description: string;
|
|
18206
18242
|
operationId: string;
|
|
18207
18243
|
requestBody: {
|
|
18208
18244
|
content: {
|
|
@@ -18210,10 +18246,12 @@ declare const _default: {
|
|
|
18210
18246
|
schema: {
|
|
18211
18247
|
properties: {
|
|
18212
18248
|
acs_system_id: {
|
|
18249
|
+
description: string;
|
|
18213
18250
|
format: string;
|
|
18214
18251
|
type: string;
|
|
18215
18252
|
};
|
|
18216
18253
|
acs_user_id: {
|
|
18254
|
+
description: string;
|
|
18217
18255
|
format: string;
|
|
18218
18256
|
type: string;
|
|
18219
18257
|
};
|
|
@@ -18244,14 +18282,17 @@ declare const _default: {
|
|
|
18244
18282
|
'x-deprecated': string;
|
|
18245
18283
|
};
|
|
18246
18284
|
acs_access_group_id: {
|
|
18285
|
+
description: string;
|
|
18247
18286
|
format: string;
|
|
18248
18287
|
type: string;
|
|
18249
18288
|
};
|
|
18250
18289
|
acs_system_id: {
|
|
18290
|
+
description: string;
|
|
18251
18291
|
format: string;
|
|
18252
18292
|
type: string;
|
|
18253
18293
|
};
|
|
18254
18294
|
created_at: {
|
|
18295
|
+
description: string;
|
|
18255
18296
|
format: string;
|
|
18256
18297
|
type: string;
|
|
18257
18298
|
};
|
|
@@ -18259,10 +18300,12 @@ declare const _default: {
|
|
|
18259
18300
|
type: string;
|
|
18260
18301
|
};
|
|
18261
18302
|
external_type: {
|
|
18303
|
+
description: string;
|
|
18262
18304
|
enum: string[];
|
|
18263
18305
|
type: string;
|
|
18264
18306
|
};
|
|
18265
18307
|
external_type_display_name: {
|
|
18308
|
+
description: string;
|
|
18266
18309
|
type: string;
|
|
18267
18310
|
};
|
|
18268
18311
|
is_managed: {
|
|
@@ -18270,9 +18313,11 @@ declare const _default: {
|
|
|
18270
18313
|
type: string;
|
|
18271
18314
|
};
|
|
18272
18315
|
name: {
|
|
18316
|
+
description: string;
|
|
18273
18317
|
type: string;
|
|
18274
18318
|
};
|
|
18275
18319
|
workspace_id: {
|
|
18320
|
+
description: string;
|
|
18276
18321
|
format: string;
|
|
18277
18322
|
type: string;
|
|
18278
18323
|
};
|
|
@@ -33751,7 +33796,9 @@ interface Routes {
|
|
|
33751
33796
|
queryParams: {};
|
|
33752
33797
|
jsonBody: {};
|
|
33753
33798
|
commonParams: {
|
|
33799
|
+
/** ID of the desired access group. */
|
|
33754
33800
|
acs_access_group_id: string;
|
|
33801
|
+
/** ID of the desired user. */
|
|
33755
33802
|
acs_user_id: string;
|
|
33756
33803
|
};
|
|
33757
33804
|
formData: {};
|
|
@@ -33763,14 +33810,24 @@ interface Routes {
|
|
|
33763
33810
|
queryParams: {};
|
|
33764
33811
|
jsonBody: {};
|
|
33765
33812
|
commonParams: {
|
|
33813
|
+
/** ID of the desired access group. */
|
|
33766
33814
|
acs_access_group_id: string;
|
|
33767
33815
|
};
|
|
33768
33816
|
formData: {};
|
|
33769
33817
|
jsonResponse: {
|
|
33818
|
+
/**
|
|
33819
|
+
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.
|
|
33820
|
+
|
|
33821
|
+
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).
|
|
33822
|
+
*/
|
|
33770
33823
|
acs_access_group: {
|
|
33824
|
+
/** ID of the access group. */
|
|
33771
33825
|
acs_access_group_id: string;
|
|
33826
|
+
/** ID of the access control system that contains the access group. */
|
|
33772
33827
|
acs_system_id: string;
|
|
33828
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the access group. */
|
|
33773
33829
|
workspace_id: string;
|
|
33830
|
+
/** Name of the access group. */
|
|
33774
33831
|
name: string;
|
|
33775
33832
|
/**
|
|
33776
33833
|
* @deprecated use external_type */
|
|
@@ -33779,8 +33836,11 @@ interface Routes {
|
|
|
33779
33836
|
* @deprecated use external_type_display_name */
|
|
33780
33837
|
access_group_type_display_name: string;
|
|
33781
33838
|
display_name: string;
|
|
33839
|
+
/** Brand-specific terminology for the access group type. */
|
|
33782
33840
|
external_type: 'pti_unit' | 'pti_access_level' | 'salto_access_group' | 'brivo_group';
|
|
33841
|
+
/** Display name that corresponds to the brand-specific terminology for the access group type. */
|
|
33783
33842
|
external_type_display_name: string;
|
|
33843
|
+
/** Date and time at which the access group was created. */
|
|
33784
33844
|
created_at: string;
|
|
33785
33845
|
is_managed: true;
|
|
33786
33846
|
};
|
|
@@ -33792,15 +33852,21 @@ interface Routes {
|
|
|
33792
33852
|
queryParams: {};
|
|
33793
33853
|
jsonBody: {};
|
|
33794
33854
|
commonParams: {
|
|
33855
|
+
/** ID of the access control system for which you want to retrieve all access groups. */
|
|
33795
33856
|
acs_system_id?: string | undefined;
|
|
33857
|
+
/** ID of the user for which you want to retrieve all access groups. */
|
|
33796
33858
|
acs_user_id?: string | undefined;
|
|
33797
33859
|
};
|
|
33798
33860
|
formData: {};
|
|
33799
33861
|
jsonResponse: {
|
|
33800
33862
|
acs_access_groups: Array<{
|
|
33863
|
+
/** ID of the access group. */
|
|
33801
33864
|
acs_access_group_id: string;
|
|
33865
|
+
/** ID of the access control system that contains the access group. */
|
|
33802
33866
|
acs_system_id: string;
|
|
33867
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the access group. */
|
|
33803
33868
|
workspace_id: string;
|
|
33869
|
+
/** Name of the access group. */
|
|
33804
33870
|
name: string;
|
|
33805
33871
|
/**
|
|
33806
33872
|
* @deprecated use external_type */
|
|
@@ -33809,8 +33875,11 @@ interface Routes {
|
|
|
33809
33875
|
* @deprecated use external_type_display_name */
|
|
33810
33876
|
access_group_type_display_name: string;
|
|
33811
33877
|
display_name: string;
|
|
33878
|
+
/** Brand-specific terminology for the access group type. */
|
|
33812
33879
|
external_type: 'pti_unit' | 'pti_access_level' | 'salto_access_group' | 'brivo_group';
|
|
33880
|
+
/** Display name that corresponds to the brand-specific terminology for the access group type. */
|
|
33813
33881
|
external_type_display_name: string;
|
|
33882
|
+
/** Date and time at which the access group was created. */
|
|
33814
33883
|
created_at: string;
|
|
33815
33884
|
is_managed: true;
|
|
33816
33885
|
}>;
|
|
@@ -33822,6 +33891,7 @@ interface Routes {
|
|
|
33822
33891
|
queryParams: {};
|
|
33823
33892
|
jsonBody: {};
|
|
33824
33893
|
commonParams: {
|
|
33894
|
+
/** ID of the access group for which you want to retrieve all accessible entrances. */
|
|
33825
33895
|
acs_access_group_id: string;
|
|
33826
33896
|
};
|
|
33827
33897
|
formData: {};
|
|
@@ -33872,6 +33942,7 @@ interface Routes {
|
|
|
33872
33942
|
queryParams: {};
|
|
33873
33943
|
jsonBody: {};
|
|
33874
33944
|
commonParams: {
|
|
33945
|
+
/** ID of the access group for which you want to retrieve all users. */
|
|
33875
33946
|
acs_access_group_id: string;
|
|
33876
33947
|
};
|
|
33877
33948
|
formData: {};
|
|
@@ -33972,7 +34043,9 @@ interface Routes {
|
|
|
33972
34043
|
queryParams: {};
|
|
33973
34044
|
jsonBody: {};
|
|
33974
34045
|
commonParams: {
|
|
34046
|
+
/** ID of the desired access group. */
|
|
33975
34047
|
acs_access_group_id: string;
|
|
34048
|
+
/** ID of the desired user. */
|
|
33976
34049
|
acs_user_id: string;
|
|
33977
34050
|
};
|
|
33978
34051
|
formData: {};
|
|
@@ -33984,14 +34057,19 @@ interface Routes {
|
|
|
33984
34057
|
queryParams: {};
|
|
33985
34058
|
jsonBody: {};
|
|
33986
34059
|
commonParams: {
|
|
34060
|
+
/** ID of the desired unmanaged access group. */
|
|
33987
34061
|
acs_access_group_id: string;
|
|
33988
34062
|
};
|
|
33989
34063
|
formData: {};
|
|
33990
34064
|
jsonResponse: {
|
|
33991
34065
|
acs_access_group: {
|
|
34066
|
+
/** ID of the access group. */
|
|
33992
34067
|
acs_access_group_id: string;
|
|
34068
|
+
/** ID of the access control system that contains the access group. */
|
|
33993
34069
|
acs_system_id: string;
|
|
34070
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the access group. */
|
|
33994
34071
|
workspace_id: string;
|
|
34072
|
+
/** Name of the access group. */
|
|
33995
34073
|
name: string;
|
|
33996
34074
|
/**
|
|
33997
34075
|
* @deprecated use external_type */
|
|
@@ -34000,8 +34078,11 @@ interface Routes {
|
|
|
34000
34078
|
* @deprecated use external_type_display_name */
|
|
34001
34079
|
access_group_type_display_name: string;
|
|
34002
34080
|
display_name: string;
|
|
34081
|
+
/** Brand-specific terminology for the access group type. */
|
|
34003
34082
|
external_type: 'pti_unit' | 'pti_access_level' | 'salto_access_group' | 'brivo_group';
|
|
34083
|
+
/** Display name that corresponds to the brand-specific terminology for the access group type. */
|
|
34004
34084
|
external_type_display_name: string;
|
|
34085
|
+
/** Date and time at which the access group was created. */
|
|
34005
34086
|
created_at: string;
|
|
34006
34087
|
is_managed: false;
|
|
34007
34088
|
};
|
|
@@ -34013,15 +34094,21 @@ interface Routes {
|
|
|
34013
34094
|
queryParams: {};
|
|
34014
34095
|
jsonBody: {};
|
|
34015
34096
|
commonParams: {
|
|
34097
|
+
/** ID of the access control system for which you want to retrieve all unmanaged access groups. */
|
|
34016
34098
|
acs_system_id?: string | undefined;
|
|
34099
|
+
/** ID of the user for which you want to retrieve all unmanaged access groups. */
|
|
34017
34100
|
acs_user_id?: string | undefined;
|
|
34018
34101
|
};
|
|
34019
34102
|
formData: {};
|
|
34020
34103
|
jsonResponse: {
|
|
34021
34104
|
acs_access_groups: Array<{
|
|
34105
|
+
/** ID of the access group. */
|
|
34022
34106
|
acs_access_group_id: string;
|
|
34107
|
+
/** ID of the access control system that contains the access group. */
|
|
34023
34108
|
acs_system_id: string;
|
|
34109
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the access group. */
|
|
34024
34110
|
workspace_id: string;
|
|
34111
|
+
/** Name of the access group. */
|
|
34025
34112
|
name: string;
|
|
34026
34113
|
/**
|
|
34027
34114
|
* @deprecated use external_type */
|
|
@@ -34030,8 +34117,11 @@ interface Routes {
|
|
|
34030
34117
|
* @deprecated use external_type_display_name */
|
|
34031
34118
|
access_group_type_display_name: string;
|
|
34032
34119
|
display_name: string;
|
|
34120
|
+
/** Brand-specific terminology for the access group type. */
|
|
34033
34121
|
external_type: 'pti_unit' | 'pti_access_level' | 'salto_access_group' | 'brivo_group';
|
|
34122
|
+
/** Display name that corresponds to the brand-specific terminology for the access group type. */
|
|
34034
34123
|
external_type_display_name: string;
|
|
34124
|
+
/** Date and time at which the access group was created. */
|
|
34035
34125
|
created_at: string;
|
|
34036
34126
|
is_managed: false;
|
|
34037
34127
|
}>;
|
|
@@ -7,10 +7,16 @@ export const acs_access_group_external_type = z.enum([
|
|
|
7
7
|
'brivo_group',
|
|
8
8
|
]);
|
|
9
9
|
const common_acs_access_group = z.object({
|
|
10
|
-
acs_access_group_id: z.string().uuid(),
|
|
11
|
-
acs_system_id: z
|
|
12
|
-
|
|
13
|
-
|
|
10
|
+
acs_access_group_id: z.string().uuid().describe('ID of the access group.'),
|
|
11
|
+
acs_system_id: z
|
|
12
|
+
.string()
|
|
13
|
+
.uuid()
|
|
14
|
+
.describe('ID of the access control system that contains the access group.'),
|
|
15
|
+
workspace_id: z
|
|
16
|
+
.string()
|
|
17
|
+
.uuid()
|
|
18
|
+
.describe('ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the access group.'),
|
|
19
|
+
name: z.string().describe('Name of the access group.'),
|
|
14
20
|
access_group_type: acs_access_group_external_type.describe(`
|
|
15
21
|
---
|
|
16
22
|
deprecated: use external_type
|
|
@@ -22,13 +28,22 @@ const common_acs_access_group = z.object({
|
|
|
22
28
|
---
|
|
23
29
|
`),
|
|
24
30
|
display_name: z.string(),
|
|
25
|
-
external_type: acs_access_group_external_type,
|
|
26
|
-
external_type_display_name: z
|
|
27
|
-
|
|
31
|
+
external_type: acs_access_group_external_type.describe('Brand-specific terminology for the access group type.'),
|
|
32
|
+
external_type_display_name: z
|
|
33
|
+
.string()
|
|
34
|
+
.describe('Display name that corresponds to the brand-specific terminology for the access group type.'),
|
|
35
|
+
created_at: z
|
|
36
|
+
.string()
|
|
37
|
+
.datetime()
|
|
38
|
+
.describe('Date and time at which the access group was created.'),
|
|
28
39
|
});
|
|
29
40
|
export const acs_access_group = common_acs_access_group.extend({
|
|
30
41
|
is_managed: z.literal(true),
|
|
31
|
-
})
|
|
42
|
+
}).describe(`
|
|
43
|
+
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.
|
|
44
|
+
|
|
45
|
+
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).
|
|
46
|
+
`);
|
|
32
47
|
export const unmanaged_acs_access_group = common_acs_access_group.extend({
|
|
33
48
|
is_managed: z.literal(false),
|
|
34
49
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"acs-access-group.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/acs/acs-access-group.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,0EAA0E;AAC1E,MAAM,CAAC,MAAM,8BAA8B,GAAG,CAAC,CAAC,IAAI,CAAC;IACnD,UAAU;IACV,kBAAkB;IAClB,oBAAoB;IACpB,aAAa;CACd,CAAC,CAAA;AAMF,MAAM,uBAAuB,GAAG,CAAC,CAAC,MAAM,CAAC;IACvC,mBAAmB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;
|
|
1
|
+
{"version":3,"file":"acs-access-group.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/acs/acs-access-group.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,0EAA0E;AAC1E,MAAM,CAAC,MAAM,8BAA8B,GAAG,CAAC,CAAC,IAAI,CAAC;IACnD,UAAU;IACV,kBAAkB;IAClB,oBAAoB;IACpB,aAAa;CACd,CAAC,CAAA;AAMF,MAAM,uBAAuB,GAAG,CAAC,CAAC,MAAM,CAAC;IACvC,mBAAmB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,CAAC,yBAAyB,CAAC;IAC1E,aAAa,EAAE,CAAC;SACb,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CACP,iEAAiE,CAClE;IACH,YAAY,EAAE,CAAC;SACZ,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CACP,6GAA6G,CAC9G;IACH,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,2BAA2B,CAAC;IACtD,iBAAiB,EAAE,8BAA8B,CAAC,QAAQ,CAAC;;;;GAI1D,CAAC;IACF,8BAA8B,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC;;;;KAIjD,CAAC;IACJ,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;IACxB,aAAa,EAAE,8BAA8B,CAAC,QAAQ,CACpD,uDAAuD,CACxD;IACD,0BAA0B,EAAE,CAAC;SAC1B,MAAM,EAAE;SACR,QAAQ,CACP,4FAA4F,CAC7F;IACH,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,sDAAsD,CAAC;CACpE,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,gBAAgB,GAAG,uBAAuB,CAAC,MAAM,CAAC;IAC7D,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC;CAC5B,CAAC,CAAC,QAAQ,CAAC;;;;GAIT,CAAC,CAAA;AACJ,MAAM,CAAC,MAAM,0BAA0B,GAAG,uBAAuB,CAAC,MAAM,CAAC;IACvE,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC;CAC7B,CAAC,CAAA"}
|