@seamapi/types 1.245.1 → 1.246.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 +147 -31
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +71 -0
- package/lib/seam/connect/openapi.d.ts +52 -0
- package/lib/seam/connect/openapi.js +134 -18
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +19 -0
- package/package.json +2 -2
- package/src/lib/seam/connect/openapi.ts +157 -18
- package/src/lib/seam/connect/route-types.ts +19 -0
package/dist/connect.d.cts
CHANGED
|
@@ -17562,6 +17562,7 @@ declare const _default: {
|
|
|
17562
17562
|
};
|
|
17563
17563
|
'/acs/users/add_to_access_group': {
|
|
17564
17564
|
post: {
|
|
17565
|
+
description: string;
|
|
17565
17566
|
operationId: string;
|
|
17566
17567
|
requestBody: {
|
|
17567
17568
|
content: {
|
|
@@ -17569,10 +17570,12 @@ declare const _default: {
|
|
|
17569
17570
|
schema: {
|
|
17570
17571
|
properties: {
|
|
17571
17572
|
acs_access_group_id: {
|
|
17573
|
+
description: string;
|
|
17572
17574
|
format: string;
|
|
17573
17575
|
type: string;
|
|
17574
17576
|
};
|
|
17575
17577
|
acs_user_id: {
|
|
17578
|
+
description: string;
|
|
17576
17579
|
format: string;
|
|
17577
17580
|
type: string;
|
|
17578
17581
|
};
|
|
@@ -17624,8 +17627,10 @@ declare const _default: {
|
|
|
17624
17627
|
tags: string[];
|
|
17625
17628
|
'x-fern-sdk-group-name': string[];
|
|
17626
17629
|
'x-fern-sdk-method-name': string;
|
|
17630
|
+
'x-title': string;
|
|
17627
17631
|
};
|
|
17628
17632
|
put: {
|
|
17633
|
+
description: string;
|
|
17629
17634
|
operationId: string;
|
|
17630
17635
|
requestBody: {
|
|
17631
17636
|
content: {
|
|
@@ -17633,10 +17638,12 @@ declare const _default: {
|
|
|
17633
17638
|
schema: {
|
|
17634
17639
|
properties: {
|
|
17635
17640
|
acs_access_group_id: {
|
|
17641
|
+
description: string;
|
|
17636
17642
|
format: string;
|
|
17637
17643
|
type: string;
|
|
17638
17644
|
};
|
|
17639
17645
|
acs_user_id: {
|
|
17646
|
+
description: string;
|
|
17640
17647
|
format: string;
|
|
17641
17648
|
type: string;
|
|
17642
17649
|
};
|
|
@@ -17687,10 +17694,12 @@ declare const _default: {
|
|
|
17687
17694
|
summary: string;
|
|
17688
17695
|
tags: string[];
|
|
17689
17696
|
'x-fern-ignore': boolean;
|
|
17697
|
+
'x-title': string;
|
|
17690
17698
|
};
|
|
17691
17699
|
};
|
|
17692
17700
|
'/acs/users/create': {
|
|
17693
17701
|
post: {
|
|
17702
|
+
description: string;
|
|
17694
17703
|
operationId: string;
|
|
17695
17704
|
requestBody: {
|
|
17696
17705
|
content: {
|
|
@@ -17698,6 +17707,7 @@ declare const _default: {
|
|
|
17698
17707
|
schema: {
|
|
17699
17708
|
properties: {
|
|
17700
17709
|
access_schedule: {
|
|
17710
|
+
description: string;
|
|
17701
17711
|
properties: {
|
|
17702
17712
|
ends_at: {
|
|
17703
17713
|
format: string;
|
|
@@ -17713,6 +17723,7 @@ declare const _default: {
|
|
|
17713
17723
|
};
|
|
17714
17724
|
acs_access_group_ids: {
|
|
17715
17725
|
default: never[];
|
|
17726
|
+
description: string;
|
|
17716
17727
|
items: {
|
|
17717
17728
|
format: string;
|
|
17718
17729
|
type: string;
|
|
@@ -17720,6 +17731,7 @@ declare const _default: {
|
|
|
17720
17731
|
type: string;
|
|
17721
17732
|
};
|
|
17722
17733
|
acs_system_id: {
|
|
17734
|
+
description: string;
|
|
17723
17735
|
format: string;
|
|
17724
17736
|
type: string;
|
|
17725
17737
|
};
|
|
@@ -17740,6 +17752,7 @@ declare const _default: {
|
|
|
17740
17752
|
type: string;
|
|
17741
17753
|
};
|
|
17742
17754
|
user_identity_id: {
|
|
17755
|
+
description: string;
|
|
17743
17756
|
format: string;
|
|
17744
17757
|
type: string;
|
|
17745
17758
|
};
|
|
@@ -17795,10 +17808,13 @@ declare const _default: {
|
|
|
17795
17808
|
'x-fern-sdk-group-name': string[];
|
|
17796
17809
|
'x-fern-sdk-method-name': string;
|
|
17797
17810
|
'x-fern-sdk-return-value': string;
|
|
17811
|
+
'x-response-key': string;
|
|
17812
|
+
'x-title': string;
|
|
17798
17813
|
};
|
|
17799
17814
|
};
|
|
17800
17815
|
'/acs/users/delete': {
|
|
17801
17816
|
post: {
|
|
17817
|
+
description: string;
|
|
17802
17818
|
operationId: string;
|
|
17803
17819
|
requestBody: {
|
|
17804
17820
|
content: {
|
|
@@ -17806,6 +17822,7 @@ declare const _default: {
|
|
|
17806
17822
|
schema: {
|
|
17807
17823
|
properties: {
|
|
17808
17824
|
acs_user_id: {
|
|
17825
|
+
description: string;
|
|
17809
17826
|
format: string;
|
|
17810
17827
|
type: string;
|
|
17811
17828
|
};
|
|
@@ -17857,10 +17874,12 @@ declare const _default: {
|
|
|
17857
17874
|
tags: string[];
|
|
17858
17875
|
'x-fern-sdk-group-name': string[];
|
|
17859
17876
|
'x-fern-sdk-method-name': string;
|
|
17877
|
+
'x-title': string;
|
|
17860
17878
|
};
|
|
17861
17879
|
};
|
|
17862
17880
|
'/acs/users/get': {
|
|
17863
17881
|
post: {
|
|
17882
|
+
description: string;
|
|
17864
17883
|
operationId: string;
|
|
17865
17884
|
requestBody: {
|
|
17866
17885
|
content: {
|
|
@@ -17868,6 +17887,7 @@ declare const _default: {
|
|
|
17868
17887
|
schema: {
|
|
17869
17888
|
properties: {
|
|
17870
17889
|
acs_user_id: {
|
|
17890
|
+
description: string;
|
|
17871
17891
|
format: string;
|
|
17872
17892
|
type: string;
|
|
17873
17893
|
};
|
|
@@ -17923,10 +17943,13 @@ declare const _default: {
|
|
|
17923
17943
|
'x-fern-sdk-group-name': string[];
|
|
17924
17944
|
'x-fern-sdk-method-name': string;
|
|
17925
17945
|
'x-fern-sdk-return-value': string;
|
|
17946
|
+
'x-response-key': string;
|
|
17947
|
+
'x-title': string;
|
|
17926
17948
|
};
|
|
17927
17949
|
};
|
|
17928
17950
|
'/acs/users/list': {
|
|
17929
17951
|
post: {
|
|
17952
|
+
description: string;
|
|
17930
17953
|
operationId: string;
|
|
17931
17954
|
requestBody: {
|
|
17932
17955
|
content: {
|
|
@@ -17934,6 +17957,7 @@ declare const _default: {
|
|
|
17934
17957
|
schema: {
|
|
17935
17958
|
properties: {
|
|
17936
17959
|
acs_system_id: {
|
|
17960
|
+
description: string;
|
|
17937
17961
|
format: string;
|
|
17938
17962
|
type: string;
|
|
17939
17963
|
};
|
|
@@ -17947,13 +17971,16 @@ declare const _default: {
|
|
|
17947
17971
|
type: string;
|
|
17948
17972
|
};
|
|
17949
17973
|
user_identity_email_address: {
|
|
17974
|
+
description: string;
|
|
17950
17975
|
type: string;
|
|
17951
17976
|
};
|
|
17952
17977
|
user_identity_id: {
|
|
17978
|
+
description: string;
|
|
17953
17979
|
format: string;
|
|
17954
17980
|
type: string;
|
|
17955
17981
|
};
|
|
17956
17982
|
user_identity_phone_number: {
|
|
17983
|
+
description: string;
|
|
17957
17984
|
type: string;
|
|
17958
17985
|
};
|
|
17959
17986
|
};
|
|
@@ -18018,10 +18045,13 @@ declare const _default: {
|
|
|
18018
18045
|
'x-fern-sdk-group-name': string[];
|
|
18019
18046
|
'x-fern-sdk-method-name': string;
|
|
18020
18047
|
'x-fern-sdk-return-value': string;
|
|
18048
|
+
'x-response-key': string;
|
|
18049
|
+
'x-title': string;
|
|
18021
18050
|
};
|
|
18022
18051
|
};
|
|
18023
18052
|
'/acs/users/list_accessible_entrances': {
|
|
18024
18053
|
post: {
|
|
18054
|
+
description: string;
|
|
18025
18055
|
operationId: string;
|
|
18026
18056
|
requestBody: {
|
|
18027
18057
|
content: {
|
|
@@ -18029,6 +18059,7 @@ declare const _default: {
|
|
|
18029
18059
|
schema: {
|
|
18030
18060
|
properties: {
|
|
18031
18061
|
acs_user_id: {
|
|
18062
|
+
description: string;
|
|
18032
18063
|
format: string;
|
|
18033
18064
|
type: string;
|
|
18034
18065
|
};
|
|
@@ -18095,10 +18126,13 @@ declare const _default: {
|
|
|
18095
18126
|
'x-fern-sdk-group-name': string[];
|
|
18096
18127
|
'x-fern-sdk-method-name': string;
|
|
18097
18128
|
'x-fern-sdk-return-value': string;
|
|
18129
|
+
'x-response-key': string;
|
|
18130
|
+
'x-title': string;
|
|
18098
18131
|
};
|
|
18099
18132
|
};
|
|
18100
18133
|
'/acs/users/remove_from_access_group': {
|
|
18101
18134
|
post: {
|
|
18135
|
+
description: string;
|
|
18102
18136
|
operationId: string;
|
|
18103
18137
|
requestBody: {
|
|
18104
18138
|
content: {
|
|
@@ -18106,10 +18140,12 @@ declare const _default: {
|
|
|
18106
18140
|
schema: {
|
|
18107
18141
|
properties: {
|
|
18108
18142
|
acs_access_group_id: {
|
|
18143
|
+
description: string;
|
|
18109
18144
|
format: string;
|
|
18110
18145
|
type: string;
|
|
18111
18146
|
};
|
|
18112
18147
|
acs_user_id: {
|
|
18148
|
+
description: string;
|
|
18113
18149
|
format: string;
|
|
18114
18150
|
type: string;
|
|
18115
18151
|
};
|
|
@@ -18161,10 +18197,12 @@ declare const _default: {
|
|
|
18161
18197
|
tags: string[];
|
|
18162
18198
|
'x-fern-sdk-group-name': string[];
|
|
18163
18199
|
'x-fern-sdk-method-name': string;
|
|
18200
|
+
'x-title': string;
|
|
18164
18201
|
};
|
|
18165
18202
|
};
|
|
18166
18203
|
'/acs/users/revoke_access_to_all_entrances': {
|
|
18167
18204
|
post: {
|
|
18205
|
+
description: string;
|
|
18168
18206
|
operationId: string;
|
|
18169
18207
|
requestBody: {
|
|
18170
18208
|
content: {
|
|
@@ -18172,6 +18210,7 @@ declare const _default: {
|
|
|
18172
18210
|
schema: {
|
|
18173
18211
|
properties: {
|
|
18174
18212
|
acs_user_id: {
|
|
18213
|
+
description: string;
|
|
18175
18214
|
format: string;
|
|
18176
18215
|
type: string;
|
|
18177
18216
|
};
|
|
@@ -18223,10 +18262,12 @@ declare const _default: {
|
|
|
18223
18262
|
tags: string[];
|
|
18224
18263
|
'x-fern-sdk-group-name': string[];
|
|
18225
18264
|
'x-fern-sdk-method-name': string;
|
|
18265
|
+
'x-title': string;
|
|
18226
18266
|
};
|
|
18227
18267
|
};
|
|
18228
18268
|
'/acs/users/suspend': {
|
|
18229
18269
|
post: {
|
|
18270
|
+
description: string;
|
|
18230
18271
|
operationId: string;
|
|
18231
18272
|
requestBody: {
|
|
18232
18273
|
content: {
|
|
@@ -18234,6 +18275,7 @@ declare const _default: {
|
|
|
18234
18275
|
schema: {
|
|
18235
18276
|
properties: {
|
|
18236
18277
|
acs_user_id: {
|
|
18278
|
+
description: string;
|
|
18237
18279
|
format: string;
|
|
18238
18280
|
type: string;
|
|
18239
18281
|
};
|
|
@@ -18285,6 +18327,7 @@ declare const _default: {
|
|
|
18285
18327
|
tags: string[];
|
|
18286
18328
|
'x-fern-sdk-group-name': string[];
|
|
18287
18329
|
'x-fern-sdk-method-name': string;
|
|
18330
|
+
'x-title': string;
|
|
18288
18331
|
};
|
|
18289
18332
|
};
|
|
18290
18333
|
'/acs/users/unmanaged/get': {
|
|
@@ -18702,6 +18745,7 @@ declare const _default: {
|
|
|
18702
18745
|
};
|
|
18703
18746
|
'/acs/users/unsuspend': {
|
|
18704
18747
|
post: {
|
|
18748
|
+
description: string;
|
|
18705
18749
|
operationId: string;
|
|
18706
18750
|
requestBody: {
|
|
18707
18751
|
content: {
|
|
@@ -18709,6 +18753,7 @@ declare const _default: {
|
|
|
18709
18753
|
schema: {
|
|
18710
18754
|
properties: {
|
|
18711
18755
|
acs_user_id: {
|
|
18756
|
+
description: string;
|
|
18712
18757
|
format: string;
|
|
18713
18758
|
type: string;
|
|
18714
18759
|
};
|
|
@@ -18760,10 +18805,12 @@ declare const _default: {
|
|
|
18760
18805
|
tags: string[];
|
|
18761
18806
|
'x-fern-sdk-group-name': string[];
|
|
18762
18807
|
'x-fern-sdk-method-name': string;
|
|
18808
|
+
'x-title': string;
|
|
18763
18809
|
};
|
|
18764
18810
|
};
|
|
18765
18811
|
'/acs/users/update': {
|
|
18766
18812
|
patch: {
|
|
18813
|
+
description: string;
|
|
18767
18814
|
operationId: string;
|
|
18768
18815
|
requestBody: {
|
|
18769
18816
|
content: {
|
|
@@ -18771,6 +18818,7 @@ declare const _default: {
|
|
|
18771
18818
|
schema: {
|
|
18772
18819
|
properties: {
|
|
18773
18820
|
access_schedule: {
|
|
18821
|
+
description: string;
|
|
18774
18822
|
nullable: boolean;
|
|
18775
18823
|
properties: {
|
|
18776
18824
|
ends_at: {
|
|
@@ -18856,8 +18904,10 @@ declare const _default: {
|
|
|
18856
18904
|
summary: string;
|
|
18857
18905
|
tags: string[];
|
|
18858
18906
|
'x-fern-ignore': boolean;
|
|
18907
|
+
'x-title': string;
|
|
18859
18908
|
};
|
|
18860
18909
|
post: {
|
|
18910
|
+
description: string;
|
|
18861
18911
|
operationId: string;
|
|
18862
18912
|
requestBody: {
|
|
18863
18913
|
content: {
|
|
@@ -18865,6 +18915,7 @@ declare const _default: {
|
|
|
18865
18915
|
schema: {
|
|
18866
18916
|
properties: {
|
|
18867
18917
|
access_schedule: {
|
|
18918
|
+
description: string;
|
|
18868
18919
|
nullable: boolean;
|
|
18869
18920
|
properties: {
|
|
18870
18921
|
ends_at: {
|
|
@@ -18951,6 +19002,7 @@ declare const _default: {
|
|
|
18951
19002
|
tags: string[];
|
|
18952
19003
|
'x-fern-sdk-group-name': string[];
|
|
18953
19004
|
'x-fern-sdk-method-name': string;
|
|
19005
|
+
'x-title': string;
|
|
18954
19006
|
};
|
|
18955
19007
|
};
|
|
18956
19008
|
'/action_attempts/get': {
|
|
@@ -30643,7 +30695,9 @@ interface Routes {
|
|
|
30643
30695
|
queryParams: {};
|
|
30644
30696
|
jsonBody: {};
|
|
30645
30697
|
commonParams: {
|
|
30698
|
+
/** ID of the desired `acs_user`. */
|
|
30646
30699
|
acs_user_id: string;
|
|
30700
|
+
/** ID of the desired access group. */
|
|
30647
30701
|
acs_access_group_id: string;
|
|
30648
30702
|
};
|
|
30649
30703
|
formData: {};
|
|
@@ -30654,9 +30708,13 @@ interface Routes {
|
|
|
30654
30708
|
method: 'POST';
|
|
30655
30709
|
queryParams: {};
|
|
30656
30710
|
jsonBody: {
|
|
30711
|
+
/** ID of the `acs_system` to which to add the new `acs_user`. */
|
|
30657
30712
|
acs_system_id: string;
|
|
30713
|
+
/** Array of `access_group_id`s to indicate the access groups to which to add the new `acs_user`. */
|
|
30658
30714
|
acs_access_group_ids?: string[];
|
|
30715
|
+
/** ID of the user identity with which to associate the new `acs_user`. */
|
|
30659
30716
|
user_identity_id?: string | undefined;
|
|
30717
|
+
/** `starts_at` and `ends_at` timestamps for the new `acs_user`'s access. If you specify an `access_schedule`, you must include both `starts_at` and `ends_at`. `ends_at` must be a time in the future and after `starts_at`. Only applicable to Salto KS access control systems. */
|
|
30660
30718
|
access_schedule?: {
|
|
30661
30719
|
starts_at: string;
|
|
30662
30720
|
ends_at: string;
|
|
@@ -30747,6 +30805,7 @@ interface Routes {
|
|
|
30747
30805
|
queryParams: {};
|
|
30748
30806
|
jsonBody: {};
|
|
30749
30807
|
commonParams: {
|
|
30808
|
+
/** ID of the desired `acs_user`. */
|
|
30750
30809
|
acs_user_id: string;
|
|
30751
30810
|
};
|
|
30752
30811
|
formData: {};
|
|
@@ -30758,6 +30817,7 @@ interface Routes {
|
|
|
30758
30817
|
queryParams: {};
|
|
30759
30818
|
jsonBody: {};
|
|
30760
30819
|
commonParams: {
|
|
30820
|
+
/** ID of the desired `acs_user`. */
|
|
30761
30821
|
acs_user_id: string;
|
|
30762
30822
|
};
|
|
30763
30823
|
formData: {};
|
|
@@ -30838,9 +30898,13 @@ interface Routes {
|
|
|
30838
30898
|
queryParams: {};
|
|
30839
30899
|
jsonBody: {};
|
|
30840
30900
|
commonParams: {
|
|
30901
|
+
/** ID of the user identity for which you want to retrieve all `acs_user`s. */
|
|
30841
30902
|
user_identity_id?: string | undefined;
|
|
30903
|
+
/** Phone number of the user identity for which you want to retrieve all `acs_user`s, in [E.164 format](https://www.itu.int/rec/T-REC-E.164/en) (for example, `+15555550100`). */
|
|
30842
30904
|
user_identity_phone_number?: string | undefined;
|
|
30905
|
+
/** Email address of the user identity for which you want to retrieve all `acs_user`s. */
|
|
30843
30906
|
user_identity_email_address?: string | undefined;
|
|
30907
|
+
/** ID of the `acs_system` for which you want to retrieve all `acs_user`s. */
|
|
30844
30908
|
acs_system_id?: string | undefined;
|
|
30845
30909
|
limit?: number;
|
|
30846
30910
|
created_before?: Date | undefined;
|
|
@@ -30923,6 +30987,7 @@ interface Routes {
|
|
|
30923
30987
|
queryParams: {};
|
|
30924
30988
|
jsonBody: {};
|
|
30925
30989
|
commonParams: {
|
|
30990
|
+
/** ID of the desired `acs_user`. */
|
|
30926
30991
|
acs_user_id: string;
|
|
30927
30992
|
};
|
|
30928
30993
|
formData: {};
|
|
@@ -30959,7 +31024,9 @@ interface Routes {
|
|
|
30959
31024
|
queryParams: {};
|
|
30960
31025
|
jsonBody: {};
|
|
30961
31026
|
commonParams: {
|
|
31027
|
+
/** ID of the desired `acs_user`. */
|
|
30962
31028
|
acs_user_id: string;
|
|
31029
|
+
/** ID of the desired access group. */
|
|
30963
31030
|
acs_access_group_id: string;
|
|
30964
31031
|
};
|
|
30965
31032
|
formData: {};
|
|
@@ -30970,6 +31037,7 @@ interface Routes {
|
|
|
30970
31037
|
method: 'POST';
|
|
30971
31038
|
queryParams: {};
|
|
30972
31039
|
jsonBody: {
|
|
31040
|
+
/** ID of the desired `acs_user`. */
|
|
30973
31041
|
acs_user_id: string;
|
|
30974
31042
|
};
|
|
30975
31043
|
commonParams: {};
|
|
@@ -30982,6 +31050,7 @@ interface Routes {
|
|
|
30982
31050
|
queryParams: {};
|
|
30983
31051
|
jsonBody: {};
|
|
30984
31052
|
commonParams: {
|
|
31053
|
+
/** ID of the desired `acs_user`. */
|
|
30985
31054
|
acs_user_id: string;
|
|
30986
31055
|
};
|
|
30987
31056
|
formData: {};
|
|
@@ -31157,6 +31226,7 @@ interface Routes {
|
|
|
31157
31226
|
queryParams: {};
|
|
31158
31227
|
jsonBody: {};
|
|
31159
31228
|
commonParams: {
|
|
31229
|
+
/** ID of the desired `acs_user`. */
|
|
31160
31230
|
acs_user_id: string;
|
|
31161
31231
|
};
|
|
31162
31232
|
formData: {};
|
|
@@ -31167,6 +31237,7 @@ interface Routes {
|
|
|
31167
31237
|
method: 'PATCH' | 'POST';
|
|
31168
31238
|
queryParams: {};
|
|
31169
31239
|
jsonBody: {
|
|
31240
|
+
/** `starts_at` and `ends_at` timestamps for the `acs_user`'s access. If you specify an `access_schedule`, you must include both `starts_at` and `ends_at`. `ends_at` must be a time in the future and after `starts_at`. Only applicable to Salto KS access control systems. */
|
|
31170
31241
|
access_schedule?: ({
|
|
31171
31242
|
starts_at: string;
|
|
31172
31243
|
ends_at: string;
|