@seamapi/types 1.603.0 → 1.605.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 +144 -17
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +300 -94
- package/dist/index.cjs +144 -17
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/access-grants/access-grant.d.ts +6 -0
- package/lib/seam/connect/models/access-grants/access-grant.js +4 -0
- package/lib/seam/connect/models/access-grants/access-grant.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-entrance.d.ts +19 -19
- package/lib/seam/connect/models/acs/metadata/hotek.d.ts +9 -9
- package/lib/seam/connect/models/acs/metadata/hotek.js +3 -2
- package/lib/seam/connect/models/acs/metadata/hotek.js.map +1 -1
- package/lib/seam/connect/models/acs/metadata/visionline.d.ts +2 -2
- package/lib/seam/connect/models/batch.d.ts +150 -135
- package/lib/seam/connect/models/phones/phone-session.d.ts +78 -78
- package/lib/seam/connect/openapi.d.ts +154 -8
- package/lib/seam/connect/openapi.js +140 -14
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +92 -40
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-grants/access-grant.ts +4 -0
- package/src/lib/seam/connect/models/acs/metadata/hotek.ts +3 -2
- package/src/lib/seam/connect/openapi.ts +145 -14
- package/src/lib/seam/connect/route-types.ts +96 -40
|
@@ -11165,6 +11165,8 @@ export type Routes = {
|
|
|
11165
11165
|
name?: (string | undefined) | null
|
|
11166
11166
|
/** Unique key for the access grant within the workspace. */
|
|
11167
11167
|
access_grant_key?: string | undefined
|
|
11168
|
+
/** Reservation key for the access grant. */
|
|
11169
|
+
reservation_key?: string | undefined
|
|
11168
11170
|
/**
|
|
11169
11171
|
* @deprecated Use `space_ids`.*/
|
|
11170
11172
|
location_ids?: string[] | undefined
|
|
@@ -11212,6 +11214,8 @@ export type Routes = {
|
|
|
11212
11214
|
access_grant_id: string
|
|
11213
11215
|
/** Unique key for the access grant within the workspace. */
|
|
11214
11216
|
access_grant_key?: string | undefined
|
|
11217
|
+
/** Reservation key for the access grant. */
|
|
11218
|
+
reservation_key?: string | undefined
|
|
11215
11219
|
/** ID of user identity to which the Access Grant gives access. */
|
|
11216
11220
|
user_identity_id: string
|
|
11217
11221
|
/**
|
|
@@ -11298,6 +11302,8 @@ export type Routes = {
|
|
|
11298
11302
|
access_grant_id: string
|
|
11299
11303
|
/** Unique key for the access grant within the workspace. */
|
|
11300
11304
|
access_grant_key?: string | undefined
|
|
11305
|
+
/** Reservation key for the access grant. */
|
|
11306
|
+
reservation_key?: string | undefined
|
|
11301
11307
|
/** ID of user identity to which the Access Grant gives access. */
|
|
11302
11308
|
user_identity_id: string
|
|
11303
11309
|
/**
|
|
@@ -12994,11 +13000,11 @@ export type Routes = {
|
|
|
12994
13000
|
hotek_metadata?:
|
|
12995
13001
|
| {
|
|
12996
13002
|
/** Room number of the entrance. */
|
|
12997
|
-
room_number
|
|
13003
|
+
room_number?: string | undefined
|
|
13004
|
+
/** Display name of the entrance. */
|
|
13005
|
+
common_area_number?: string | undefined
|
|
12998
13006
|
/** Display name of the entrance. */
|
|
12999
|
-
|
|
13000
|
-
/** Type of door. */
|
|
13001
|
-
door_type: 'common_area' | 'guest'
|
|
13007
|
+
common_area_name?: string | undefined
|
|
13002
13008
|
}
|
|
13003
13009
|
| undefined
|
|
13004
13010
|
/** Visionline-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
@@ -13559,6 +13565,8 @@ export type Routes = {
|
|
|
13559
13565
|
access_grant_id: string
|
|
13560
13566
|
/** Unique key for the access grant within the workspace. */
|
|
13561
13567
|
access_grant_key?: string | undefined
|
|
13568
|
+
/** Reservation key for the access grant. */
|
|
13569
|
+
reservation_key?: string | undefined
|
|
13562
13570
|
/** ID of user identity to which the Access Grant gives access. */
|
|
13563
13571
|
user_identity_id: string
|
|
13564
13572
|
/**
|
|
@@ -13635,6 +13643,8 @@ export type Routes = {
|
|
|
13635
13643
|
access_grant_id: string
|
|
13636
13644
|
/** Unique key for the access grant within the workspace. */
|
|
13637
13645
|
access_grant_key?: string | undefined
|
|
13646
|
+
/** Reservation key for the access grant. */
|
|
13647
|
+
reservation_key?: string | undefined
|
|
13638
13648
|
/** ID of user identity to which the Access Grant gives access. */
|
|
13639
13649
|
user_identity_id: string
|
|
13640
13650
|
/**
|
|
@@ -13702,6 +13712,8 @@ export type Routes = {
|
|
|
13702
13712
|
workspace_id: string
|
|
13703
13713
|
/** ID of the Access Grant. */
|
|
13704
13714
|
access_grant_id: string
|
|
13715
|
+
/** Reservation key for the access grant. */
|
|
13716
|
+
reservation_key?: string | undefined
|
|
13705
13717
|
/** ID of user identity to which the Access Grant gives access. */
|
|
13706
13718
|
user_identity_id: string
|
|
13707
13719
|
/**
|
|
@@ -13766,6 +13778,8 @@ export type Routes = {
|
|
|
13766
13778
|
workspace_id: string
|
|
13767
13779
|
/** ID of the Access Grant. */
|
|
13768
13780
|
access_grant_id: string
|
|
13781
|
+
/** Reservation key for the access grant. */
|
|
13782
|
+
reservation_key?: string | undefined
|
|
13769
13783
|
/** ID of user identity to which the Access Grant gives access. */
|
|
13770
13784
|
user_identity_id: string
|
|
13771
13785
|
/**
|
|
@@ -17098,11 +17112,11 @@ export type Routes = {
|
|
|
17098
17112
|
hotek_metadata?:
|
|
17099
17113
|
| {
|
|
17100
17114
|
/** Room number of the entrance. */
|
|
17101
|
-
room_number
|
|
17115
|
+
room_number?: string | undefined
|
|
17102
17116
|
/** Display name of the entrance. */
|
|
17103
|
-
|
|
17104
|
-
/**
|
|
17105
|
-
|
|
17117
|
+
common_area_number?: string | undefined
|
|
17118
|
+
/** Display name of the entrance. */
|
|
17119
|
+
common_area_name?: string | undefined
|
|
17106
17120
|
}
|
|
17107
17121
|
| undefined
|
|
17108
17122
|
/** Visionline-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
@@ -20396,6 +20410,8 @@ export type Routes = {
|
|
|
20396
20410
|
access_grant_id: string
|
|
20397
20411
|
/** Unique key for the access grant within the workspace. */
|
|
20398
20412
|
access_grant_key?: string | undefined
|
|
20413
|
+
/** Reservation key for the access grant. */
|
|
20414
|
+
reservation_key?: string | undefined
|
|
20399
20415
|
/** ID of user identity to which the Access Grant gives access. */
|
|
20400
20416
|
user_identity_id: string
|
|
20401
20417
|
/**
|
|
@@ -24230,11 +24246,11 @@ export type Routes = {
|
|
|
24230
24246
|
hotek_metadata?:
|
|
24231
24247
|
| {
|
|
24232
24248
|
/** Room number of the entrance. */
|
|
24233
|
-
room_number
|
|
24249
|
+
room_number?: string | undefined
|
|
24234
24250
|
/** Display name of the entrance. */
|
|
24235
|
-
|
|
24236
|
-
/**
|
|
24237
|
-
|
|
24251
|
+
common_area_number?: string | undefined
|
|
24252
|
+
/** Display name of the entrance. */
|
|
24253
|
+
common_area_name?: string | undefined
|
|
24238
24254
|
}
|
|
24239
24255
|
| undefined
|
|
24240
24256
|
/** Visionline-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
@@ -25840,11 +25856,11 @@ export type Routes = {
|
|
|
25840
25856
|
hotek_metadata?:
|
|
25841
25857
|
| {
|
|
25842
25858
|
/** Room number of the entrance. */
|
|
25843
|
-
room_number
|
|
25859
|
+
room_number?: string | undefined
|
|
25844
25860
|
/** Display name of the entrance. */
|
|
25845
|
-
|
|
25846
|
-
/**
|
|
25847
|
-
|
|
25861
|
+
common_area_number?: string | undefined
|
|
25862
|
+
/** Display name of the entrance. */
|
|
25863
|
+
common_area_name?: string | undefined
|
|
25848
25864
|
}
|
|
25849
25865
|
| undefined
|
|
25850
25866
|
/** Visionline-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
@@ -29844,11 +29860,11 @@ export type Routes = {
|
|
|
29844
29860
|
hotek_metadata?:
|
|
29845
29861
|
| {
|
|
29846
29862
|
/** Room number of the entrance. */
|
|
29847
|
-
room_number
|
|
29863
|
+
room_number?: string | undefined
|
|
29848
29864
|
/** Display name of the entrance. */
|
|
29849
|
-
|
|
29850
|
-
/**
|
|
29851
|
-
|
|
29865
|
+
common_area_number?: string | undefined
|
|
29866
|
+
/** Display name of the entrance. */
|
|
29867
|
+
common_area_name?: string | undefined
|
|
29852
29868
|
}
|
|
29853
29869
|
| undefined
|
|
29854
29870
|
/** Visionline-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
@@ -30038,11 +30054,11 @@ export type Routes = {
|
|
|
30038
30054
|
hotek_metadata?:
|
|
30039
30055
|
| {
|
|
30040
30056
|
/** Room number of the entrance. */
|
|
30041
|
-
room_number
|
|
30057
|
+
room_number?: string | undefined
|
|
30042
30058
|
/** Display name of the entrance. */
|
|
30043
|
-
|
|
30044
|
-
/**
|
|
30045
|
-
|
|
30059
|
+
common_area_number?: string | undefined
|
|
30060
|
+
/** Display name of the entrance. */
|
|
30061
|
+
common_area_name?: string | undefined
|
|
30046
30062
|
}
|
|
30047
30063
|
| undefined
|
|
30048
30064
|
/** Visionline-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
@@ -30879,6 +30895,44 @@ export type Routes = {
|
|
|
30879
30895
|
}[]
|
|
30880
30896
|
}
|
|
30881
30897
|
}
|
|
30898
|
+
'/acs/systems/report_devices': {
|
|
30899
|
+
route: '/acs/systems/report_devices'
|
|
30900
|
+
method: 'POST'
|
|
30901
|
+
queryParams: {}
|
|
30902
|
+
jsonBody: {}
|
|
30903
|
+
commonParams: {
|
|
30904
|
+
/** ID of the ACS system to report resources for */
|
|
30905
|
+
acs_system_id: string
|
|
30906
|
+
/** Array of ACS encoders to report */
|
|
30907
|
+
acs_encoders?:
|
|
30908
|
+
| {
|
|
30909
|
+
/** Whether the encoder is removed */
|
|
30910
|
+
is_removed?: boolean | undefined
|
|
30911
|
+
hotek_metadata: {
|
|
30912
|
+
/** The encoder number determined by the USB port connection. */
|
|
30913
|
+
encoder_number: string
|
|
30914
|
+
}
|
|
30915
|
+
}[]
|
|
30916
|
+
| undefined
|
|
30917
|
+
/** Array of ACS entrances to report */
|
|
30918
|
+
acs_entrances?:
|
|
30919
|
+
| {
|
|
30920
|
+
/** Whether the entrance is removed */
|
|
30921
|
+
is_removed?: boolean | undefined
|
|
30922
|
+
/** Hotek-specific metadata associated with the entrance. */
|
|
30923
|
+
hotek_metadata: {
|
|
30924
|
+
/** The room number identifier */
|
|
30925
|
+
room_number?: string | undefined
|
|
30926
|
+
/** The common area name */
|
|
30927
|
+
common_area_name?: string | undefined
|
|
30928
|
+
common_area_number?: string | undefined
|
|
30929
|
+
}
|
|
30930
|
+
}[]
|
|
30931
|
+
| undefined
|
|
30932
|
+
}
|
|
30933
|
+
formData: {}
|
|
30934
|
+
jsonResponse: {}
|
|
30935
|
+
}
|
|
30882
30936
|
'/acs/users/add_to_access_group': {
|
|
30883
30937
|
route: '/acs/users/add_to_access_group'
|
|
30884
30938
|
method: 'PUT' | 'POST'
|
|
@@ -31782,11 +31836,11 @@ export type Routes = {
|
|
|
31782
31836
|
hotek_metadata?:
|
|
31783
31837
|
| {
|
|
31784
31838
|
/** Room number of the entrance. */
|
|
31785
|
-
room_number
|
|
31839
|
+
room_number?: string | undefined
|
|
31786
31840
|
/** Display name of the entrance. */
|
|
31787
|
-
|
|
31788
|
-
/**
|
|
31789
|
-
|
|
31841
|
+
common_area_number?: string | undefined
|
|
31842
|
+
/** Display name of the entrance. */
|
|
31843
|
+
common_area_name?: string | undefined
|
|
31790
31844
|
}
|
|
31791
31845
|
| undefined
|
|
31792
31846
|
/** Visionline-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
@@ -70936,11 +70990,11 @@ export type Routes = {
|
|
|
70936
70990
|
hotek_metadata?:
|
|
70937
70991
|
| {
|
|
70938
70992
|
/** Room number of the entrance. */
|
|
70939
|
-
room_number
|
|
70993
|
+
room_number?: string | undefined
|
|
70994
|
+
/** Display name of the entrance. */
|
|
70995
|
+
common_area_number?: string | undefined
|
|
70940
70996
|
/** Display name of the entrance. */
|
|
70941
|
-
|
|
70942
|
-
/** Type of door. */
|
|
70943
|
-
door_type: 'common_area' | 'guest'
|
|
70997
|
+
common_area_name?: string | undefined
|
|
70944
70998
|
}
|
|
70945
70999
|
| undefined
|
|
70946
71000
|
/** Visionline-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
@@ -72905,11 +72959,11 @@ export type Routes = {
|
|
|
72905
72959
|
hotek_metadata?:
|
|
72906
72960
|
| {
|
|
72907
72961
|
/** Room number of the entrance. */
|
|
72908
|
-
room_number
|
|
72962
|
+
room_number?: string | undefined
|
|
72909
72963
|
/** Display name of the entrance. */
|
|
72910
|
-
|
|
72911
|
-
/**
|
|
72912
|
-
|
|
72964
|
+
common_area_number?: string | undefined
|
|
72965
|
+
/** Display name of the entrance. */
|
|
72966
|
+
common_area_name?: string | undefined
|
|
72913
72967
|
}
|
|
72914
72968
|
| undefined
|
|
72915
72969
|
/** Visionline-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
@@ -98077,11 +98131,11 @@ export type Routes = {
|
|
|
98077
98131
|
hotek_metadata?:
|
|
98078
98132
|
| {
|
|
98079
98133
|
/** Room number of the entrance. */
|
|
98080
|
-
room_number
|
|
98134
|
+
room_number?: string | undefined
|
|
98135
|
+
/** Display name of the entrance. */
|
|
98136
|
+
common_area_number?: string | undefined
|
|
98081
98137
|
/** Display name of the entrance. */
|
|
98082
|
-
|
|
98083
|
-
/** Type of door. */
|
|
98084
|
-
door_type: 'common_area' | 'guest'
|
|
98138
|
+
common_area_name?: string | undefined
|
|
98085
98139
|
}
|
|
98086
98140
|
| undefined
|
|
98087
98141
|
/** Visionline-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
@@ -101375,6 +101429,8 @@ export type Routes = {
|
|
|
101375
101429
|
access_grant_id: string
|
|
101376
101430
|
/** Unique key for the access grant within the workspace. */
|
|
101377
101431
|
access_grant_key?: string | undefined
|
|
101432
|
+
/** Reservation key for the access grant. */
|
|
101433
|
+
reservation_key?: string | undefined
|
|
101378
101434
|
/** ID of user identity to which the Access Grant gives access. */
|
|
101379
101435
|
user_identity_id: string
|
|
101380
101436
|
/**
|