@seamapi/types 1.185.0 → 1.187.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 +365 -30
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +726 -86
- package/lib/seam/connect/model-types.d.ts +1 -1
- package/lib/seam/connect/models/acs/acs-credential.d.ts +0 -17
- package/lib/seam/connect/models/acs/acs-credential.js +1 -6
- package/lib/seam/connect/models/acs/acs-credential.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-entrance.d.ts +36 -53
- package/lib/seam/connect/models/acs/acs-entrance.js +5 -31
- package/lib/seam/connect/models/acs/acs-entrance.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-system.d.ts +87 -24
- package/lib/seam/connect/models/acs/acs-system.js +33 -18
- package/lib/seam/connect/models/acs/acs-system.js.map +1 -1
- package/lib/seam/connect/models/acs/index.d.ts +1 -0
- package/lib/seam/connect/models/acs/index.js +1 -0
- package/lib/seam/connect/models/acs/index.js.map +1 -1
- package/lib/seam/connect/models/acs/metadata/index.d.ts +2 -0
- package/lib/seam/connect/models/acs/metadata/index.js +3 -0
- package/lib/seam/connect/models/acs/metadata/index.js.map +1 -0
- package/lib/seam/connect/models/acs/metadata/latch.d.ts +18 -0
- package/lib/seam/connect/models/acs/metadata/latch.js +8 -0
- package/lib/seam/connect/models/acs/metadata/latch.js.map +1 -0
- package/lib/seam/connect/models/acs/metadata/visionline.d.ts +47 -0
- package/lib/seam/connect/models/acs/metadata/visionline.js +24 -0
- package/lib/seam/connect/models/acs/metadata/visionline.js.map +1 -0
- package/lib/seam/connect/models/devices/managed-device.d.ts +12 -0
- package/lib/seam/connect/models/devices/managed-device.js +2 -0
- package/lib/seam/connect/models/devices/managed-device.js.map +1 -1
- package/lib/seam/connect/models/devices/phone.d.ts +6 -0
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +6 -0
- package/lib/seam/connect/openapi.d.ts +160 -20
- package/lib/seam/connect/openapi.js +137 -21
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +122 -64
- package/lib/seam/connect/schemas.d.ts +1 -1
- package/lib/seam/connect/schemas.js +1 -1
- package/lib/seam/connect/schemas.js.map +1 -1
- package/package.json +1 -1
- package/src/lib/seam/connect/model-types.ts +5 -0
- package/src/lib/seam/connect/models/acs/acs-credential.ts +2 -11
- package/src/lib/seam/connect/models/acs/acs-entrance.ts +8 -37
- package/src/lib/seam/connect/models/acs/acs-system.ts +45 -23
- package/src/lib/seam/connect/models/acs/index.ts +1 -0
- package/src/lib/seam/connect/models/acs/metadata/index.ts +2 -0
- package/src/lib/seam/connect/models/acs/metadata/latch.ts +12 -0
- package/src/lib/seam/connect/models/acs/metadata/visionline.ts +35 -0
- package/src/lib/seam/connect/models/devices/managed-device.ts +2 -0
- package/src/lib/seam/connect/openapi.ts +137 -21
- package/src/lib/seam/connect/route-types.ts +226 -124
- package/src/lib/seam/connect/schemas.ts +5 -0
package/dist/connect.d.cts
CHANGED
|
@@ -1,5 +1,442 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
|
|
3
|
+
declare const acs_access_group: z.ZodObject<{
|
|
4
|
+
acs_access_group_id: z.ZodString;
|
|
5
|
+
acs_system_id: z.ZodString;
|
|
6
|
+
workspace_id: z.ZodString;
|
|
7
|
+
name: z.ZodString;
|
|
8
|
+
access_group_type: z.ZodEnum<["pti_unit", "pti_access_level", "salto_access_group", "brivo_group"]>;
|
|
9
|
+
access_group_type_display_name: z.ZodString;
|
|
10
|
+
display_name: z.ZodString;
|
|
11
|
+
external_type: z.ZodEnum<["pti_unit", "pti_access_level", "salto_access_group", "brivo_group"]>;
|
|
12
|
+
external_type_display_name: z.ZodString;
|
|
13
|
+
created_at: z.ZodString;
|
|
14
|
+
}, "strip", z.ZodTypeAny, {
|
|
15
|
+
name: string;
|
|
16
|
+
created_at: string;
|
|
17
|
+
acs_access_group_id: string;
|
|
18
|
+
acs_system_id: string;
|
|
19
|
+
workspace_id: string;
|
|
20
|
+
access_group_type: "pti_unit" | "pti_access_level" | "salto_access_group" | "brivo_group";
|
|
21
|
+
access_group_type_display_name: string;
|
|
22
|
+
display_name: string;
|
|
23
|
+
external_type: "pti_unit" | "pti_access_level" | "salto_access_group" | "brivo_group";
|
|
24
|
+
external_type_display_name: string;
|
|
25
|
+
}, {
|
|
26
|
+
name: string;
|
|
27
|
+
created_at: string;
|
|
28
|
+
acs_access_group_id: string;
|
|
29
|
+
acs_system_id: string;
|
|
30
|
+
workspace_id: string;
|
|
31
|
+
access_group_type: "pti_unit" | "pti_access_level" | "salto_access_group" | "brivo_group";
|
|
32
|
+
access_group_type_display_name: string;
|
|
33
|
+
display_name: string;
|
|
34
|
+
external_type: "pti_unit" | "pti_access_level" | "salto_access_group" | "brivo_group";
|
|
35
|
+
external_type_display_name: string;
|
|
36
|
+
}>;
|
|
37
|
+
type AcsAccessGroup = z.output<typeof acs_access_group>;
|
|
38
|
+
|
|
39
|
+
declare const acs_credential: z.ZodObject<{
|
|
40
|
+
acs_credential_id: z.ZodString;
|
|
41
|
+
acs_user_id: z.ZodOptional<z.ZodString>;
|
|
42
|
+
acs_credential_pool_id: z.ZodOptional<z.ZodString>;
|
|
43
|
+
acs_system_id: z.ZodString;
|
|
44
|
+
parent_acs_credential_id: z.ZodOptional<z.ZodString>;
|
|
45
|
+
display_name: z.ZodString;
|
|
46
|
+
code: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
47
|
+
access_method: z.ZodEnum<["code", "card", "mobile_key"]>;
|
|
48
|
+
external_type: z.ZodOptional<z.ZodEnum<["pti_card", "brivo_credential", "hid_credential", "visionline_card"]>>;
|
|
49
|
+
external_type_display_name: z.ZodOptional<z.ZodString>;
|
|
50
|
+
created_at: z.ZodString;
|
|
51
|
+
workspace_id: z.ZodString;
|
|
52
|
+
starts_at: z.ZodOptional<z.ZodString>;
|
|
53
|
+
ends_at: z.ZodOptional<z.ZodString>;
|
|
54
|
+
errors: z.ZodArray<z.ZodObject<{
|
|
55
|
+
error_code: z.ZodString;
|
|
56
|
+
message: z.ZodString;
|
|
57
|
+
}, "strip", z.ZodTypeAny, {
|
|
58
|
+
message: string;
|
|
59
|
+
error_code: string;
|
|
60
|
+
}, {
|
|
61
|
+
message: string;
|
|
62
|
+
error_code: string;
|
|
63
|
+
}>, "many">;
|
|
64
|
+
warnings: z.ZodArray<z.ZodObject<{
|
|
65
|
+
warning_code: z.ZodString;
|
|
66
|
+
message: z.ZodString;
|
|
67
|
+
}, "strip", z.ZodTypeAny, {
|
|
68
|
+
message: string;
|
|
69
|
+
warning_code: string;
|
|
70
|
+
}, {
|
|
71
|
+
message: string;
|
|
72
|
+
warning_code: string;
|
|
73
|
+
}>, "many">;
|
|
74
|
+
is_multi_phone_sync_credential: z.ZodOptional<z.ZodBoolean>;
|
|
75
|
+
is_latest_desired_state_synced_with_provider: z.ZodOptional<z.ZodBoolean>;
|
|
76
|
+
latest_desired_state_synced_with_provider_at: z.ZodOptional<z.ZodString>;
|
|
77
|
+
visionline_metadata: z.ZodOptional<z.ZodObject<{
|
|
78
|
+
card_function_type: z.ZodEnum<["guest", "staff"]>;
|
|
79
|
+
joiner_acs_credential_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
80
|
+
guest_acs_entrance_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
81
|
+
common_acs_entrance_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
82
|
+
}, "strip", z.ZodTypeAny, {
|
|
83
|
+
card_function_type: "guest" | "staff";
|
|
84
|
+
joiner_acs_credential_ids?: string[] | undefined;
|
|
85
|
+
guest_acs_entrance_ids?: string[] | undefined;
|
|
86
|
+
common_acs_entrance_ids?: string[] | undefined;
|
|
87
|
+
}, {
|
|
88
|
+
card_function_type: "guest" | "staff";
|
|
89
|
+
joiner_acs_credential_ids?: string[] | undefined;
|
|
90
|
+
guest_acs_entrance_ids?: string[] | undefined;
|
|
91
|
+
common_acs_entrance_ids?: string[] | undefined;
|
|
92
|
+
}>>;
|
|
93
|
+
}, "strip", z.ZodTypeAny, {
|
|
94
|
+
created_at: string;
|
|
95
|
+
errors: {
|
|
96
|
+
message: string;
|
|
97
|
+
error_code: string;
|
|
98
|
+
}[];
|
|
99
|
+
warnings: {
|
|
100
|
+
message: string;
|
|
101
|
+
warning_code: string;
|
|
102
|
+
}[];
|
|
103
|
+
acs_system_id: string;
|
|
104
|
+
workspace_id: string;
|
|
105
|
+
display_name: string;
|
|
106
|
+
acs_credential_id: string;
|
|
107
|
+
access_method: "code" | "card" | "mobile_key";
|
|
108
|
+
acs_user_id?: string | undefined;
|
|
109
|
+
acs_credential_pool_id?: string | undefined;
|
|
110
|
+
parent_acs_credential_id?: string | undefined;
|
|
111
|
+
code?: string | null | undefined;
|
|
112
|
+
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | undefined;
|
|
113
|
+
external_type_display_name?: string | undefined;
|
|
114
|
+
starts_at?: string | undefined;
|
|
115
|
+
ends_at?: string | undefined;
|
|
116
|
+
is_multi_phone_sync_credential?: boolean | undefined;
|
|
117
|
+
is_latest_desired_state_synced_with_provider?: boolean | undefined;
|
|
118
|
+
latest_desired_state_synced_with_provider_at?: string | undefined;
|
|
119
|
+
visionline_metadata?: {
|
|
120
|
+
card_function_type: "guest" | "staff";
|
|
121
|
+
joiner_acs_credential_ids?: string[] | undefined;
|
|
122
|
+
guest_acs_entrance_ids?: string[] | undefined;
|
|
123
|
+
common_acs_entrance_ids?: string[] | undefined;
|
|
124
|
+
} | undefined;
|
|
125
|
+
}, {
|
|
126
|
+
created_at: string;
|
|
127
|
+
errors: {
|
|
128
|
+
message: string;
|
|
129
|
+
error_code: string;
|
|
130
|
+
}[];
|
|
131
|
+
warnings: {
|
|
132
|
+
message: string;
|
|
133
|
+
warning_code: string;
|
|
134
|
+
}[];
|
|
135
|
+
acs_system_id: string;
|
|
136
|
+
workspace_id: string;
|
|
137
|
+
display_name: string;
|
|
138
|
+
acs_credential_id: string;
|
|
139
|
+
access_method: "code" | "card" | "mobile_key";
|
|
140
|
+
acs_user_id?: string | undefined;
|
|
141
|
+
acs_credential_pool_id?: string | undefined;
|
|
142
|
+
parent_acs_credential_id?: string | undefined;
|
|
143
|
+
code?: string | null | undefined;
|
|
144
|
+
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | undefined;
|
|
145
|
+
external_type_display_name?: string | undefined;
|
|
146
|
+
starts_at?: string | undefined;
|
|
147
|
+
ends_at?: string | undefined;
|
|
148
|
+
is_multi_phone_sync_credential?: boolean | undefined;
|
|
149
|
+
is_latest_desired_state_synced_with_provider?: boolean | undefined;
|
|
150
|
+
latest_desired_state_synced_with_provider_at?: string | undefined;
|
|
151
|
+
visionline_metadata?: {
|
|
152
|
+
card_function_type: "guest" | "staff";
|
|
153
|
+
joiner_acs_credential_ids?: string[] | undefined;
|
|
154
|
+
guest_acs_entrance_ids?: string[] | undefined;
|
|
155
|
+
common_acs_entrance_ids?: string[] | undefined;
|
|
156
|
+
} | undefined;
|
|
157
|
+
}>;
|
|
158
|
+
type AcsCredential = z.output<typeof acs_credential>;
|
|
159
|
+
|
|
160
|
+
declare const acs_entrance: z.ZodObject<{
|
|
161
|
+
acs_system_id: z.ZodString;
|
|
162
|
+
acs_entrance_id: z.ZodString;
|
|
163
|
+
created_at: z.ZodString;
|
|
164
|
+
display_name: z.ZodString;
|
|
165
|
+
errors: z.ZodArray<z.ZodObject<{
|
|
166
|
+
error_code: z.ZodString;
|
|
167
|
+
message: z.ZodString;
|
|
168
|
+
}, "strip", z.ZodTypeAny, {
|
|
169
|
+
message: string;
|
|
170
|
+
error_code: string;
|
|
171
|
+
}, {
|
|
172
|
+
message: string;
|
|
173
|
+
error_code: string;
|
|
174
|
+
}>, "many">;
|
|
175
|
+
latch_metadata: z.ZodOptional<z.ZodObject<{
|
|
176
|
+
accessibility_type: z.ZodString;
|
|
177
|
+
door_name: z.ZodString;
|
|
178
|
+
door_type: z.ZodString;
|
|
179
|
+
is_connected: z.ZodBoolean;
|
|
180
|
+
}, "strip", z.ZodTypeAny, {
|
|
181
|
+
accessibility_type: string;
|
|
182
|
+
door_name: string;
|
|
183
|
+
door_type: string;
|
|
184
|
+
is_connected: boolean;
|
|
185
|
+
}, {
|
|
186
|
+
accessibility_type: string;
|
|
187
|
+
door_name: string;
|
|
188
|
+
door_type: string;
|
|
189
|
+
is_connected: boolean;
|
|
190
|
+
}>>;
|
|
191
|
+
visionline_metadata: z.ZodOptional<z.ZodObject<{
|
|
192
|
+
door_name: z.ZodString;
|
|
193
|
+
door_category: z.ZodEnum<["entrance", "guest", "elevator reader", "common", "common (PMS)"]>;
|
|
194
|
+
profiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
195
|
+
visionline_door_profile_id: z.ZodString;
|
|
196
|
+
visionline_door_profile_type: z.ZodEnum<["BLE", "commonDoor", "touch"]>;
|
|
197
|
+
}, "strip", z.ZodTypeAny, {
|
|
198
|
+
visionline_door_profile_id: string;
|
|
199
|
+
visionline_door_profile_type: "BLE" | "commonDoor" | "touch";
|
|
200
|
+
}, {
|
|
201
|
+
visionline_door_profile_id: string;
|
|
202
|
+
visionline_door_profile_type: "BLE" | "commonDoor" | "touch";
|
|
203
|
+
}>, "many">>;
|
|
204
|
+
}, "strip", z.ZodTypeAny, {
|
|
205
|
+
door_name: string;
|
|
206
|
+
door_category: "entrance" | "guest" | "elevator reader" | "common" | "common (PMS)";
|
|
207
|
+
profiles?: {
|
|
208
|
+
visionline_door_profile_id: string;
|
|
209
|
+
visionline_door_profile_type: "BLE" | "commonDoor" | "touch";
|
|
210
|
+
}[] | undefined;
|
|
211
|
+
}, {
|
|
212
|
+
door_name: string;
|
|
213
|
+
door_category: "entrance" | "guest" | "elevator reader" | "common" | "common (PMS)";
|
|
214
|
+
profiles?: {
|
|
215
|
+
visionline_door_profile_id: string;
|
|
216
|
+
visionline_door_profile_type: "BLE" | "commonDoor" | "touch";
|
|
217
|
+
}[] | undefined;
|
|
218
|
+
}>>;
|
|
219
|
+
}, "strip", z.ZodTypeAny, {
|
|
220
|
+
created_at: string;
|
|
221
|
+
errors: {
|
|
222
|
+
message: string;
|
|
223
|
+
error_code: string;
|
|
224
|
+
}[];
|
|
225
|
+
acs_system_id: string;
|
|
226
|
+
display_name: string;
|
|
227
|
+
acs_entrance_id: string;
|
|
228
|
+
latch_metadata?: {
|
|
229
|
+
accessibility_type: string;
|
|
230
|
+
door_name: string;
|
|
231
|
+
door_type: string;
|
|
232
|
+
is_connected: boolean;
|
|
233
|
+
} | undefined;
|
|
234
|
+
visionline_metadata?: {
|
|
235
|
+
door_name: string;
|
|
236
|
+
door_category: "entrance" | "guest" | "elevator reader" | "common" | "common (PMS)";
|
|
237
|
+
profiles?: {
|
|
238
|
+
visionline_door_profile_id: string;
|
|
239
|
+
visionline_door_profile_type: "BLE" | "commonDoor" | "touch";
|
|
240
|
+
}[] | undefined;
|
|
241
|
+
} | undefined;
|
|
242
|
+
}, {
|
|
243
|
+
created_at: string;
|
|
244
|
+
errors: {
|
|
245
|
+
message: string;
|
|
246
|
+
error_code: string;
|
|
247
|
+
}[];
|
|
248
|
+
acs_system_id: string;
|
|
249
|
+
display_name: string;
|
|
250
|
+
acs_entrance_id: string;
|
|
251
|
+
latch_metadata?: {
|
|
252
|
+
accessibility_type: string;
|
|
253
|
+
door_name: string;
|
|
254
|
+
door_type: string;
|
|
255
|
+
is_connected: boolean;
|
|
256
|
+
} | undefined;
|
|
257
|
+
visionline_metadata?: {
|
|
258
|
+
door_name: string;
|
|
259
|
+
door_category: "entrance" | "guest" | "elevator reader" | "common" | "common (PMS)";
|
|
260
|
+
profiles?: {
|
|
261
|
+
visionline_door_profile_id: string;
|
|
262
|
+
visionline_door_profile_type: "BLE" | "commonDoor" | "touch";
|
|
263
|
+
}[] | undefined;
|
|
264
|
+
} | undefined;
|
|
265
|
+
}>;
|
|
266
|
+
type AcsEntrance = z.infer<typeof acs_entrance>;
|
|
267
|
+
|
|
268
|
+
declare const acs_system: z.ZodObject<{
|
|
269
|
+
name: z.ZodString;
|
|
270
|
+
created_at: z.ZodString;
|
|
271
|
+
errors: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
272
|
+
created_at: z.ZodString;
|
|
273
|
+
message: z.ZodString;
|
|
274
|
+
error_code: z.ZodLiteral<"seam_bridge_disconnected">;
|
|
275
|
+
}, "strip", z.ZodTypeAny, {
|
|
276
|
+
created_at: string;
|
|
277
|
+
message: string;
|
|
278
|
+
error_code: "seam_bridge_disconnected";
|
|
279
|
+
}, {
|
|
280
|
+
created_at: string;
|
|
281
|
+
message: string;
|
|
282
|
+
error_code: "seam_bridge_disconnected";
|
|
283
|
+
}>, z.ZodObject<{
|
|
284
|
+
created_at: z.ZodString;
|
|
285
|
+
message: z.ZodString;
|
|
286
|
+
error_code: z.ZodLiteral<"visionline_instance_unreachable">;
|
|
287
|
+
}, "strip", z.ZodTypeAny, {
|
|
288
|
+
created_at: string;
|
|
289
|
+
message: string;
|
|
290
|
+
error_code: "visionline_instance_unreachable";
|
|
291
|
+
}, {
|
|
292
|
+
created_at: string;
|
|
293
|
+
message: string;
|
|
294
|
+
error_code: "visionline_instance_unreachable";
|
|
295
|
+
}>]>, "many">;
|
|
296
|
+
warnings: z.ZodArray<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>, "many">;
|
|
297
|
+
acs_system_id: z.ZodString;
|
|
298
|
+
workspace_id: z.ZodString;
|
|
299
|
+
external_type: z.ZodOptional<z.ZodEnum<["pti_site", "alta_org", "salto_site", "brivo_account", "hid_credential_manager_organization", "visionline_system", "assa_abloy_credential_service", "latch_building"]>>;
|
|
300
|
+
external_type_display_name: z.ZodOptional<z.ZodString>;
|
|
301
|
+
system_type: z.ZodOptional<z.ZodEnum<["pti_site", "alta_org", "salto_site", "brivo_account", "hid_credential_manager_organization", "visionline_system", "assa_abloy_credential_service", "latch_building"]>>;
|
|
302
|
+
system_type_display_name: z.ZodOptional<z.ZodString>;
|
|
303
|
+
connected_account_ids: z.ZodArray<z.ZodString, "many">;
|
|
304
|
+
image_url: z.ZodString;
|
|
305
|
+
image_alt_text: z.ZodString;
|
|
306
|
+
can_automate_enrollment: z.ZodOptional<z.ZodBoolean>;
|
|
307
|
+
can_create_acs_access_groups: z.ZodOptional<z.ZodBoolean>;
|
|
308
|
+
can_remove_acs_users_from_acs_access_groups: z.ZodOptional<z.ZodBoolean>;
|
|
309
|
+
can_add_acs_users_to_acs_access_groups: z.ZodOptional<z.ZodBoolean>;
|
|
310
|
+
}, "strip", z.ZodTypeAny, {
|
|
311
|
+
name: string;
|
|
312
|
+
created_at: string;
|
|
313
|
+
errors: ({
|
|
314
|
+
created_at: string;
|
|
315
|
+
message: string;
|
|
316
|
+
error_code: "seam_bridge_disconnected";
|
|
317
|
+
} | {
|
|
318
|
+
created_at: string;
|
|
319
|
+
message: string;
|
|
320
|
+
error_code: "visionline_instance_unreachable";
|
|
321
|
+
})[];
|
|
322
|
+
warnings: {}[];
|
|
323
|
+
acs_system_id: string;
|
|
324
|
+
workspace_id: string;
|
|
325
|
+
connected_account_ids: string[];
|
|
326
|
+
image_url: string;
|
|
327
|
+
image_alt_text: string;
|
|
328
|
+
external_type?: "pti_site" | "alta_org" | "salto_site" | "brivo_account" | "hid_credential_manager_organization" | "visionline_system" | "assa_abloy_credential_service" | "latch_building" | undefined;
|
|
329
|
+
external_type_display_name?: string | undefined;
|
|
330
|
+
system_type?: "pti_site" | "alta_org" | "salto_site" | "brivo_account" | "hid_credential_manager_organization" | "visionline_system" | "assa_abloy_credential_service" | "latch_building" | undefined;
|
|
331
|
+
system_type_display_name?: string | undefined;
|
|
332
|
+
can_automate_enrollment?: boolean | undefined;
|
|
333
|
+
can_create_acs_access_groups?: boolean | undefined;
|
|
334
|
+
can_remove_acs_users_from_acs_access_groups?: boolean | undefined;
|
|
335
|
+
can_add_acs_users_to_acs_access_groups?: boolean | undefined;
|
|
336
|
+
}, {
|
|
337
|
+
name: string;
|
|
338
|
+
created_at: string;
|
|
339
|
+
errors: ({
|
|
340
|
+
created_at: string;
|
|
341
|
+
message: string;
|
|
342
|
+
error_code: "seam_bridge_disconnected";
|
|
343
|
+
} | {
|
|
344
|
+
created_at: string;
|
|
345
|
+
message: string;
|
|
346
|
+
error_code: "visionline_instance_unreachable";
|
|
347
|
+
})[];
|
|
348
|
+
warnings: {}[];
|
|
349
|
+
acs_system_id: string;
|
|
350
|
+
workspace_id: string;
|
|
351
|
+
connected_account_ids: string[];
|
|
352
|
+
image_url: string;
|
|
353
|
+
image_alt_text: string;
|
|
354
|
+
external_type?: "pti_site" | "alta_org" | "salto_site" | "brivo_account" | "hid_credential_manager_organization" | "visionline_system" | "assa_abloy_credential_service" | "latch_building" | undefined;
|
|
355
|
+
external_type_display_name?: string | undefined;
|
|
356
|
+
system_type?: "pti_site" | "alta_org" | "salto_site" | "brivo_account" | "hid_credential_manager_organization" | "visionline_system" | "assa_abloy_credential_service" | "latch_building" | undefined;
|
|
357
|
+
system_type_display_name?: string | undefined;
|
|
358
|
+
can_automate_enrollment?: boolean | undefined;
|
|
359
|
+
can_create_acs_access_groups?: boolean | undefined;
|
|
360
|
+
can_remove_acs_users_from_acs_access_groups?: boolean | undefined;
|
|
361
|
+
can_add_acs_users_to_acs_access_groups?: boolean | undefined;
|
|
362
|
+
}>;
|
|
363
|
+
type AcsSystem = z.output<typeof acs_system>;
|
|
364
|
+
|
|
365
|
+
declare const acs_user: z.ZodObject<{
|
|
366
|
+
created_at: z.ZodString;
|
|
367
|
+
acs_system_id: z.ZodString;
|
|
368
|
+
workspace_id: z.ZodString;
|
|
369
|
+
display_name: z.ZodString;
|
|
370
|
+
external_type: z.ZodOptional<z.ZodEnum<["pti_user", "brivo_user", "hid_credential_manager_user", "salto_site_user", "latch_user"]>>;
|
|
371
|
+
external_type_display_name: z.ZodOptional<z.ZodString>;
|
|
372
|
+
acs_user_id: z.ZodString;
|
|
373
|
+
user_identity_id: z.ZodOptional<z.ZodString>;
|
|
374
|
+
hid_acs_system_id: z.ZodOptional<z.ZodString>;
|
|
375
|
+
is_suspended: z.ZodBoolean;
|
|
376
|
+
access_schedule: z.ZodOptional<z.ZodObject<{
|
|
377
|
+
starts_at: z.ZodString;
|
|
378
|
+
ends_at: z.ZodString;
|
|
379
|
+
}, "strip", z.ZodTypeAny, {
|
|
380
|
+
starts_at: string;
|
|
381
|
+
ends_at: string;
|
|
382
|
+
}, {
|
|
383
|
+
starts_at: string;
|
|
384
|
+
ends_at: string;
|
|
385
|
+
}>>;
|
|
386
|
+
user_identity_full_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
387
|
+
user_identity_email_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
388
|
+
user_identity_phone_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
389
|
+
full_name: z.ZodOptional<z.ZodString>;
|
|
390
|
+
email: z.ZodOptional<z.ZodString>;
|
|
391
|
+
email_address: z.ZodOptional<z.ZodString>;
|
|
392
|
+
phone_number: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
393
|
+
}, "strip", z.ZodTypeAny, {
|
|
394
|
+
created_at: string;
|
|
395
|
+
acs_system_id: string;
|
|
396
|
+
workspace_id: string;
|
|
397
|
+
display_name: string;
|
|
398
|
+
acs_user_id: string;
|
|
399
|
+
is_suspended: boolean;
|
|
400
|
+
external_type?: "pti_user" | "brivo_user" | "hid_credential_manager_user" | "salto_site_user" | "latch_user" | undefined;
|
|
401
|
+
external_type_display_name?: string | undefined;
|
|
402
|
+
user_identity_id?: string | undefined;
|
|
403
|
+
hid_acs_system_id?: string | undefined;
|
|
404
|
+
access_schedule?: {
|
|
405
|
+
starts_at: string;
|
|
406
|
+
ends_at: string;
|
|
407
|
+
} | undefined;
|
|
408
|
+
user_identity_full_name?: string | null | undefined;
|
|
409
|
+
user_identity_email_address?: string | null | undefined;
|
|
410
|
+
user_identity_phone_number?: string | null | undefined;
|
|
411
|
+
full_name?: string | undefined;
|
|
412
|
+
email?: string | undefined;
|
|
413
|
+
email_address?: string | undefined;
|
|
414
|
+
phone_number?: string | undefined;
|
|
415
|
+
}, {
|
|
416
|
+
created_at: string;
|
|
417
|
+
acs_system_id: string;
|
|
418
|
+
workspace_id: string;
|
|
419
|
+
display_name: string;
|
|
420
|
+
acs_user_id: string;
|
|
421
|
+
is_suspended: boolean;
|
|
422
|
+
external_type?: "pti_user" | "brivo_user" | "hid_credential_manager_user" | "salto_site_user" | "latch_user" | undefined;
|
|
423
|
+
external_type_display_name?: string | undefined;
|
|
424
|
+
user_identity_id?: string | undefined;
|
|
425
|
+
hid_acs_system_id?: string | undefined;
|
|
426
|
+
access_schedule?: {
|
|
427
|
+
starts_at: string;
|
|
428
|
+
ends_at: string;
|
|
429
|
+
} | undefined;
|
|
430
|
+
user_identity_full_name?: string | null | undefined;
|
|
431
|
+
user_identity_email_address?: string | null | undefined;
|
|
432
|
+
user_identity_phone_number?: string | null | undefined;
|
|
433
|
+
full_name?: string | undefined;
|
|
434
|
+
email?: string | undefined;
|
|
435
|
+
email_address?: string | undefined;
|
|
436
|
+
phone_number?: string | undefined;
|
|
437
|
+
}>;
|
|
438
|
+
type AcsUser = z.output<typeof acs_user>;
|
|
439
|
+
|
|
3
440
|
declare const action_attempt: z.ZodUnion<[z.ZodObject<{
|
|
4
441
|
status: z.ZodLiteral<"pending">;
|
|
5
442
|
error: z.ZodNull;
|
|
@@ -2494,6 +2931,11 @@ declare const workspace: z.ZodObject<{
|
|
|
2494
2931
|
}>;
|
|
2495
2932
|
type Workspace = z.infer<typeof workspace>;
|
|
2496
2933
|
|
|
2934
|
+
declare const schemas_acs_access_group: typeof acs_access_group;
|
|
2935
|
+
declare const schemas_acs_credential: typeof acs_credential;
|
|
2936
|
+
declare const schemas_acs_entrance: typeof acs_entrance;
|
|
2937
|
+
declare const schemas_acs_system: typeof acs_system;
|
|
2938
|
+
declare const schemas_acs_user: typeof acs_user;
|
|
2497
2939
|
declare const schemas_action_attempt: typeof action_attempt;
|
|
2498
2940
|
declare const schemas_client_session: typeof client_session;
|
|
2499
2941
|
declare const schemas_connect_webview: typeof connect_webview;
|
|
@@ -2504,7 +2946,7 @@ declare const schemas_user_identity: typeof user_identity;
|
|
|
2504
2946
|
declare const schemas_webhook: typeof webhook;
|
|
2505
2947
|
declare const schemas_workspace: typeof workspace;
|
|
2506
2948
|
declare namespace schemas {
|
|
2507
|
-
export { schemas_action_attempt as action_attempt, schemas_client_session as client_session, schemas_connect_webview as connect_webview, schemas_connected_account as connected_account, schemas_custom_metadata as custom_metadata, schemas_seam_event as seam_event, schemas_user_identity as user_identity, schemas_webhook as webhook, schemas_workspace as workspace };
|
|
2949
|
+
export { schemas_acs_access_group as acs_access_group, schemas_acs_credential as acs_credential, schemas_acs_entrance as acs_entrance, schemas_acs_system as acs_system, schemas_acs_user as acs_user, schemas_action_attempt as action_attempt, schemas_client_session as client_session, schemas_connect_webview as connect_webview, schemas_connected_account as connected_account, schemas_custom_metadata as custom_metadata, schemas_seam_event as seam_event, schemas_user_identity as user_identity, schemas_webhook as webhook, schemas_workspace as workspace };
|
|
2508
2950
|
}
|
|
2509
2951
|
|
|
2510
2952
|
declare const _default: {
|
|
@@ -2881,7 +3323,6 @@ declare const _default: {
|
|
|
2881
3323
|
type: string;
|
|
2882
3324
|
};
|
|
2883
3325
|
latch_metadata: {
|
|
2884
|
-
nullable: boolean;
|
|
2885
3326
|
properties: {
|
|
2886
3327
|
accessibility_type: {
|
|
2887
3328
|
type: string;
|
|
@@ -2900,7 +3341,6 @@ declare const _default: {
|
|
|
2900
3341
|
type: string;
|
|
2901
3342
|
};
|
|
2902
3343
|
visionline_metadata: {
|
|
2903
|
-
nullable: boolean;
|
|
2904
3344
|
properties: {
|
|
2905
3345
|
door_category: {
|
|
2906
3346
|
enum: string[];
|
|
@@ -2953,6 +3393,7 @@ declare const _default: {
|
|
|
2953
3393
|
};
|
|
2954
3394
|
connected_account_ids: {
|
|
2955
3395
|
items: {
|
|
3396
|
+
format: string;
|
|
2956
3397
|
type: string;
|
|
2957
3398
|
};
|
|
2958
3399
|
type: string;
|
|
@@ -2963,16 +3404,23 @@ declare const _default: {
|
|
|
2963
3404
|
};
|
|
2964
3405
|
errors: {
|
|
2965
3406
|
items: {
|
|
2966
|
-
|
|
2967
|
-
|
|
2968
|
-
|
|
2969
|
-
|
|
2970
|
-
|
|
2971
|
-
|
|
3407
|
+
oneOf: {
|
|
3408
|
+
properties: {
|
|
3409
|
+
created_at: {
|
|
3410
|
+
format: string;
|
|
3411
|
+
type: string;
|
|
3412
|
+
};
|
|
3413
|
+
error_code: {
|
|
3414
|
+
enum: string[];
|
|
3415
|
+
type: string;
|
|
3416
|
+
};
|
|
3417
|
+
message: {
|
|
3418
|
+
type: string;
|
|
3419
|
+
};
|
|
2972
3420
|
};
|
|
2973
|
-
|
|
2974
|
-
|
|
2975
|
-
|
|
3421
|
+
required: string[];
|
|
3422
|
+
type: string;
|
|
3423
|
+
}[];
|
|
2976
3424
|
};
|
|
2977
3425
|
type: string;
|
|
2978
3426
|
};
|
|
@@ -3003,15 +3451,7 @@ declare const _default: {
|
|
|
3003
3451
|
};
|
|
3004
3452
|
warnings: {
|
|
3005
3453
|
items: {
|
|
3006
|
-
properties: {
|
|
3007
|
-
message: {
|
|
3008
|
-
type: string;
|
|
3009
|
-
};
|
|
3010
|
-
warning_code: {
|
|
3011
|
-
type: string;
|
|
3012
|
-
};
|
|
3013
|
-
};
|
|
3014
|
-
required: string[];
|
|
3454
|
+
properties: {};
|
|
3015
3455
|
type: string;
|
|
3016
3456
|
};
|
|
3017
3457
|
type: string;
|
|
@@ -3588,6 +4028,12 @@ declare const _default: {
|
|
|
3588
4028
|
can_remotely_unlock: {
|
|
3589
4029
|
type: string;
|
|
3590
4030
|
};
|
|
4031
|
+
can_simulate_connection: {
|
|
4032
|
+
type: string;
|
|
4033
|
+
};
|
|
4034
|
+
can_simulate_disconnection: {
|
|
4035
|
+
type: string;
|
|
4036
|
+
};
|
|
3591
4037
|
can_simulate_removal: {
|
|
3592
4038
|
type: string;
|
|
3593
4039
|
};
|
|
@@ -5328,6 +5774,12 @@ declare const _default: {
|
|
|
5328
5774
|
can_remotely_unlock: {
|
|
5329
5775
|
type: string;
|
|
5330
5776
|
};
|
|
5777
|
+
can_simulate_connection: {
|
|
5778
|
+
type: string;
|
|
5779
|
+
};
|
|
5780
|
+
can_simulate_disconnection: {
|
|
5781
|
+
type: string;
|
|
5782
|
+
};
|
|
5331
5783
|
can_simulate_removal: {
|
|
5332
5784
|
type: string;
|
|
5333
5785
|
};
|
|
@@ -5553,6 +6005,12 @@ declare const _default: {
|
|
|
5553
6005
|
can_remotely_unlock: {
|
|
5554
6006
|
type: string;
|
|
5555
6007
|
};
|
|
6008
|
+
can_simulate_connection: {
|
|
6009
|
+
type: string;
|
|
6010
|
+
};
|
|
6011
|
+
can_simulate_disconnection: {
|
|
6012
|
+
type: string;
|
|
6013
|
+
};
|
|
5556
6014
|
can_simulate_removal: {
|
|
5557
6015
|
type: string;
|
|
5558
6016
|
};
|
|
@@ -12529,6 +12987,130 @@ declare const _default: {
|
|
|
12529
12987
|
'x-fern-sdk-return-value': string;
|
|
12530
12988
|
};
|
|
12531
12989
|
};
|
|
12990
|
+
'/devices/simulate/connect': {
|
|
12991
|
+
post: {
|
|
12992
|
+
operationId: string;
|
|
12993
|
+
requestBody: {
|
|
12994
|
+
content: {
|
|
12995
|
+
'application/json': {
|
|
12996
|
+
schema: {
|
|
12997
|
+
properties: {
|
|
12998
|
+
device_id: {
|
|
12999
|
+
format: string;
|
|
13000
|
+
type: string;
|
|
13001
|
+
};
|
|
13002
|
+
};
|
|
13003
|
+
required: string[];
|
|
13004
|
+
type: string;
|
|
13005
|
+
};
|
|
13006
|
+
};
|
|
13007
|
+
};
|
|
13008
|
+
};
|
|
13009
|
+
responses: {
|
|
13010
|
+
200: {
|
|
13011
|
+
content: {
|
|
13012
|
+
'application/json': {
|
|
13013
|
+
schema: {
|
|
13014
|
+
properties: {
|
|
13015
|
+
ok: {
|
|
13016
|
+
type: string;
|
|
13017
|
+
};
|
|
13018
|
+
};
|
|
13019
|
+
required: string[];
|
|
13020
|
+
type: string;
|
|
13021
|
+
};
|
|
13022
|
+
};
|
|
13023
|
+
};
|
|
13024
|
+
description: string;
|
|
13025
|
+
};
|
|
13026
|
+
400: {
|
|
13027
|
+
description: string;
|
|
13028
|
+
};
|
|
13029
|
+
401: {
|
|
13030
|
+
description: string;
|
|
13031
|
+
};
|
|
13032
|
+
};
|
|
13033
|
+
security: ({
|
|
13034
|
+
api_key: never[];
|
|
13035
|
+
pat_with_workspace?: never;
|
|
13036
|
+
console_session?: never;
|
|
13037
|
+
} | {
|
|
13038
|
+
pat_with_workspace: never[];
|
|
13039
|
+
api_key?: never;
|
|
13040
|
+
console_session?: never;
|
|
13041
|
+
} | {
|
|
13042
|
+
console_session: never[];
|
|
13043
|
+
api_key?: never;
|
|
13044
|
+
pat_with_workspace?: never;
|
|
13045
|
+
})[];
|
|
13046
|
+
summary: string;
|
|
13047
|
+
tags: string[];
|
|
13048
|
+
'x-fern-sdk-group-name': string[];
|
|
13049
|
+
'x-fern-sdk-method-name': string;
|
|
13050
|
+
};
|
|
13051
|
+
};
|
|
13052
|
+
'/devices/simulate/disconnect': {
|
|
13053
|
+
post: {
|
|
13054
|
+
operationId: string;
|
|
13055
|
+
requestBody: {
|
|
13056
|
+
content: {
|
|
13057
|
+
'application/json': {
|
|
13058
|
+
schema: {
|
|
13059
|
+
properties: {
|
|
13060
|
+
device_id: {
|
|
13061
|
+
format: string;
|
|
13062
|
+
type: string;
|
|
13063
|
+
};
|
|
13064
|
+
};
|
|
13065
|
+
required: string[];
|
|
13066
|
+
type: string;
|
|
13067
|
+
};
|
|
13068
|
+
};
|
|
13069
|
+
};
|
|
13070
|
+
};
|
|
13071
|
+
responses: {
|
|
13072
|
+
200: {
|
|
13073
|
+
content: {
|
|
13074
|
+
'application/json': {
|
|
13075
|
+
schema: {
|
|
13076
|
+
properties: {
|
|
13077
|
+
ok: {
|
|
13078
|
+
type: string;
|
|
13079
|
+
};
|
|
13080
|
+
};
|
|
13081
|
+
required: string[];
|
|
13082
|
+
type: string;
|
|
13083
|
+
};
|
|
13084
|
+
};
|
|
13085
|
+
};
|
|
13086
|
+
description: string;
|
|
13087
|
+
};
|
|
13088
|
+
400: {
|
|
13089
|
+
description: string;
|
|
13090
|
+
};
|
|
13091
|
+
401: {
|
|
13092
|
+
description: string;
|
|
13093
|
+
};
|
|
13094
|
+
};
|
|
13095
|
+
security: ({
|
|
13096
|
+
api_key: never[];
|
|
13097
|
+
pat_with_workspace?: never;
|
|
13098
|
+
console_session?: never;
|
|
13099
|
+
} | {
|
|
13100
|
+
pat_with_workspace: never[];
|
|
13101
|
+
api_key?: never;
|
|
13102
|
+
console_session?: never;
|
|
13103
|
+
} | {
|
|
13104
|
+
console_session: never[];
|
|
13105
|
+
api_key?: never;
|
|
13106
|
+
pat_with_workspace?: never;
|
|
13107
|
+
})[];
|
|
13108
|
+
summary: string;
|
|
13109
|
+
tags: string[];
|
|
13110
|
+
'x-fern-sdk-group-name': string[];
|
|
13111
|
+
'x-fern-sdk-method-name': string;
|
|
13112
|
+
};
|
|
13113
|
+
};
|
|
12532
13114
|
'/devices/simulate/remove': {
|
|
12533
13115
|
post: {
|
|
12534
13116
|
operationId: string;
|
|
@@ -21856,28 +22438,28 @@ interface Routes {
|
|
|
21856
22438
|
formData: {};
|
|
21857
22439
|
jsonResponse: {
|
|
21858
22440
|
acs_entrances: Array<{
|
|
21859
|
-
acs_entrance_id: string;
|
|
21860
|
-
display_name: string;
|
|
21861
22441
|
acs_system_id: string;
|
|
22442
|
+
acs_entrance_id: string;
|
|
21862
22443
|
created_at: string;
|
|
21863
|
-
|
|
21864
|
-
accessibility_type: string;
|
|
21865
|
-
door_name: string;
|
|
21866
|
-
door_type: string;
|
|
21867
|
-
is_connected: boolean;
|
|
21868
|
-
} | null;
|
|
22444
|
+
display_name: string;
|
|
21869
22445
|
errors: Array<{
|
|
21870
22446
|
error_code: string;
|
|
21871
22447
|
message: string;
|
|
21872
22448
|
}>;
|
|
21873
|
-
|
|
22449
|
+
latch_metadata?: {
|
|
22450
|
+
accessibility_type: string;
|
|
22451
|
+
door_name: string;
|
|
22452
|
+
door_type: string;
|
|
22453
|
+
is_connected: boolean;
|
|
22454
|
+
} | undefined;
|
|
22455
|
+
visionline_metadata?: {
|
|
21874
22456
|
door_name: string;
|
|
21875
22457
|
door_category: 'entrance' | 'guest' | 'elevator reader' | 'common' | 'common (PMS)';
|
|
21876
22458
|
profiles?: Array<{
|
|
21877
22459
|
visionline_door_profile_id: string;
|
|
21878
22460
|
visionline_door_profile_type: 'BLE' | 'commonDoor' | 'touch';
|
|
21879
22461
|
}> | undefined;
|
|
21880
|
-
} |
|
|
22462
|
+
} | undefined;
|
|
21881
22463
|
}>;
|
|
21882
22464
|
};
|
|
21883
22465
|
};
|
|
@@ -21985,28 +22567,28 @@ interface Routes {
|
|
|
21985
22567
|
formData: {};
|
|
21986
22568
|
jsonResponse: {
|
|
21987
22569
|
acs_entrance: {
|
|
21988
|
-
acs_entrance_id: string;
|
|
21989
|
-
display_name: string;
|
|
21990
22570
|
acs_system_id: string;
|
|
22571
|
+
acs_entrance_id: string;
|
|
21991
22572
|
created_at: string;
|
|
21992
|
-
|
|
21993
|
-
accessibility_type: string;
|
|
21994
|
-
door_name: string;
|
|
21995
|
-
door_type: string;
|
|
21996
|
-
is_connected: boolean;
|
|
21997
|
-
} | null;
|
|
22573
|
+
display_name: string;
|
|
21998
22574
|
errors: Array<{
|
|
21999
22575
|
error_code: string;
|
|
22000
22576
|
message: string;
|
|
22001
22577
|
}>;
|
|
22002
|
-
|
|
22578
|
+
latch_metadata?: {
|
|
22579
|
+
accessibility_type: string;
|
|
22580
|
+
door_name: string;
|
|
22581
|
+
door_type: string;
|
|
22582
|
+
is_connected: boolean;
|
|
22583
|
+
} | undefined;
|
|
22584
|
+
visionline_metadata?: {
|
|
22003
22585
|
door_name: string;
|
|
22004
22586
|
door_category: 'entrance' | 'guest' | 'elevator reader' | 'common' | 'common (PMS)';
|
|
22005
22587
|
profiles?: Array<{
|
|
22006
22588
|
visionline_door_profile_id: string;
|
|
22007
22589
|
visionline_door_profile_type: 'BLE' | 'commonDoor' | 'touch';
|
|
22008
22590
|
}> | undefined;
|
|
22009
|
-
} |
|
|
22591
|
+
} | undefined;
|
|
22010
22592
|
};
|
|
22011
22593
|
};
|
|
22012
22594
|
};
|
|
@@ -22034,28 +22616,28 @@ interface Routes {
|
|
|
22034
22616
|
formData: {};
|
|
22035
22617
|
jsonResponse: {
|
|
22036
22618
|
acs_entrances: Array<{
|
|
22037
|
-
acs_entrance_id: string;
|
|
22038
|
-
display_name: string;
|
|
22039
22619
|
acs_system_id: string;
|
|
22620
|
+
acs_entrance_id: string;
|
|
22040
22621
|
created_at: string;
|
|
22041
|
-
|
|
22042
|
-
accessibility_type: string;
|
|
22043
|
-
door_name: string;
|
|
22044
|
-
door_type: string;
|
|
22045
|
-
is_connected: boolean;
|
|
22046
|
-
} | null;
|
|
22622
|
+
display_name: string;
|
|
22047
22623
|
errors: Array<{
|
|
22048
22624
|
error_code: string;
|
|
22049
22625
|
message: string;
|
|
22050
22626
|
}>;
|
|
22051
|
-
|
|
22627
|
+
latch_metadata?: {
|
|
22628
|
+
accessibility_type: string;
|
|
22629
|
+
door_name: string;
|
|
22630
|
+
door_type: string;
|
|
22631
|
+
is_connected: boolean;
|
|
22632
|
+
} | undefined;
|
|
22633
|
+
visionline_metadata?: {
|
|
22052
22634
|
door_name: string;
|
|
22053
22635
|
door_category: 'entrance' | 'guest' | 'elevator reader' | 'common' | 'common (PMS)';
|
|
22054
22636
|
profiles?: Array<{
|
|
22055
22637
|
visionline_door_profile_id: string;
|
|
22056
22638
|
visionline_door_profile_type: 'BLE' | 'commonDoor' | 'touch';
|
|
22057
22639
|
}> | undefined;
|
|
22058
|
-
} |
|
|
22640
|
+
} | undefined;
|
|
22059
22641
|
}>;
|
|
22060
22642
|
};
|
|
22061
22643
|
};
|
|
@@ -22138,13 +22720,15 @@ interface Routes {
|
|
|
22138
22720
|
image_url: string;
|
|
22139
22721
|
image_alt_text: string;
|
|
22140
22722
|
errors: Array<{
|
|
22141
|
-
|
|
22723
|
+
created_at: string;
|
|
22142
22724
|
message: string;
|
|
22143
|
-
|
|
22144
|
-
|
|
22145
|
-
|
|
22725
|
+
error_code: 'seam_bridge_disconnected';
|
|
22726
|
+
} | {
|
|
22727
|
+
created_at: string;
|
|
22146
22728
|
message: string;
|
|
22729
|
+
error_code: 'visionline_instance_unreachable';
|
|
22147
22730
|
}>;
|
|
22731
|
+
warnings: Array<{}>;
|
|
22148
22732
|
can_automate_enrollment?: boolean | undefined;
|
|
22149
22733
|
can_create_acs_access_groups?: boolean | undefined;
|
|
22150
22734
|
can_remove_acs_users_from_acs_access_groups?: boolean | undefined;
|
|
@@ -22185,13 +22769,15 @@ interface Routes {
|
|
|
22185
22769
|
image_url: string;
|
|
22186
22770
|
image_alt_text: string;
|
|
22187
22771
|
errors: Array<{
|
|
22188
|
-
|
|
22772
|
+
created_at: string;
|
|
22189
22773
|
message: string;
|
|
22190
|
-
|
|
22191
|
-
|
|
22192
|
-
|
|
22774
|
+
error_code: 'seam_bridge_disconnected';
|
|
22775
|
+
} | {
|
|
22776
|
+
created_at: string;
|
|
22193
22777
|
message: string;
|
|
22778
|
+
error_code: 'visionline_instance_unreachable';
|
|
22194
22779
|
}>;
|
|
22780
|
+
warnings: Array<{}>;
|
|
22195
22781
|
can_automate_enrollment?: boolean | undefined;
|
|
22196
22782
|
can_create_acs_access_groups?: boolean | undefined;
|
|
22197
22783
|
can_remove_acs_users_from_acs_access_groups?: boolean | undefined;
|
|
@@ -22232,13 +22818,15 @@ interface Routes {
|
|
|
22232
22818
|
image_url: string;
|
|
22233
22819
|
image_alt_text: string;
|
|
22234
22820
|
errors: Array<{
|
|
22235
|
-
|
|
22821
|
+
created_at: string;
|
|
22236
22822
|
message: string;
|
|
22237
|
-
|
|
22238
|
-
|
|
22239
|
-
|
|
22823
|
+
error_code: 'seam_bridge_disconnected';
|
|
22824
|
+
} | {
|
|
22825
|
+
created_at: string;
|
|
22240
22826
|
message: string;
|
|
22827
|
+
error_code: 'visionline_instance_unreachable';
|
|
22241
22828
|
}>;
|
|
22829
|
+
warnings: Array<{}>;
|
|
22242
22830
|
can_automate_enrollment?: boolean | undefined;
|
|
22243
22831
|
can_create_acs_access_groups?: boolean | undefined;
|
|
22244
22832
|
can_remove_acs_users_from_acs_access_groups?: boolean | undefined;
|
|
@@ -22418,28 +23006,28 @@ interface Routes {
|
|
|
22418
23006
|
formData: {};
|
|
22419
23007
|
jsonResponse: {
|
|
22420
23008
|
acs_entrances: Array<{
|
|
22421
|
-
acs_entrance_id: string;
|
|
22422
|
-
display_name: string;
|
|
22423
23009
|
acs_system_id: string;
|
|
23010
|
+
acs_entrance_id: string;
|
|
22424
23011
|
created_at: string;
|
|
22425
|
-
|
|
22426
|
-
accessibility_type: string;
|
|
22427
|
-
door_name: string;
|
|
22428
|
-
door_type: string;
|
|
22429
|
-
is_connected: boolean;
|
|
22430
|
-
} | null;
|
|
23012
|
+
display_name: string;
|
|
22431
23013
|
errors: Array<{
|
|
22432
23014
|
error_code: string;
|
|
22433
23015
|
message: string;
|
|
22434
23016
|
}>;
|
|
22435
|
-
|
|
23017
|
+
latch_metadata?: {
|
|
23018
|
+
accessibility_type: string;
|
|
23019
|
+
door_name: string;
|
|
23020
|
+
door_type: string;
|
|
23021
|
+
is_connected: boolean;
|
|
23022
|
+
} | undefined;
|
|
23023
|
+
visionline_metadata?: {
|
|
22436
23024
|
door_name: string;
|
|
22437
23025
|
door_category: 'entrance' | 'guest' | 'elevator reader' | 'common' | 'common (PMS)';
|
|
22438
23026
|
profiles?: Array<{
|
|
22439
23027
|
visionline_door_profile_id: string;
|
|
22440
23028
|
visionline_door_profile_type: 'BLE' | 'commonDoor' | 'touch';
|
|
22441
23029
|
}> | undefined;
|
|
22442
|
-
} |
|
|
23030
|
+
} | undefined;
|
|
22443
23031
|
}>;
|
|
22444
23032
|
};
|
|
22445
23033
|
};
|
|
@@ -24659,6 +25247,8 @@ interface Routes {
|
|
|
24659
25247
|
can_program_offline_access_codes?: boolean | undefined;
|
|
24660
25248
|
can_program_online_access_codes?: boolean | undefined;
|
|
24661
25249
|
can_simulate_removal?: boolean | undefined;
|
|
25250
|
+
can_simulate_connection?: boolean | undefined;
|
|
25251
|
+
can_simulate_disconnection?: boolean | undefined;
|
|
24662
25252
|
};
|
|
24663
25253
|
};
|
|
24664
25254
|
};
|
|
@@ -24680,8 +25270,8 @@ interface Routes {
|
|
|
24680
25270
|
created_before?: Date | undefined;
|
|
24681
25271
|
user_identifier_key?: string | undefined;
|
|
24682
25272
|
custom_metadata_has?: Record<string, string | boolean> | undefined;
|
|
24683
|
-
include_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_simulate_removal'> | undefined;
|
|
24684
|
-
exclude_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_simulate_removal'> | undefined;
|
|
25273
|
+
include_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection'> | undefined;
|
|
25274
|
+
exclude_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection'> | undefined;
|
|
24685
25275
|
};
|
|
24686
25276
|
formData: {};
|
|
24687
25277
|
jsonResponse: {
|
|
@@ -25205,6 +25795,8 @@ interface Routes {
|
|
|
25205
25795
|
can_program_offline_access_codes?: boolean | undefined;
|
|
25206
25796
|
can_program_online_access_codes?: boolean | undefined;
|
|
25207
25797
|
can_simulate_removal?: boolean | undefined;
|
|
25798
|
+
can_simulate_connection?: boolean | undefined;
|
|
25799
|
+
can_simulate_disconnection?: boolean | undefined;
|
|
25208
25800
|
}>;
|
|
25209
25801
|
};
|
|
25210
25802
|
};
|
|
@@ -25226,6 +25818,28 @@ interface Routes {
|
|
|
25226
25818
|
}>;
|
|
25227
25819
|
};
|
|
25228
25820
|
};
|
|
25821
|
+
'/devices/simulate/connect': {
|
|
25822
|
+
route: '/devices/simulate/connect';
|
|
25823
|
+
method: 'POST';
|
|
25824
|
+
queryParams: {};
|
|
25825
|
+
jsonBody: {
|
|
25826
|
+
device_id: string;
|
|
25827
|
+
};
|
|
25828
|
+
commonParams: {};
|
|
25829
|
+
formData: {};
|
|
25830
|
+
jsonResponse: {};
|
|
25831
|
+
};
|
|
25832
|
+
'/devices/simulate/disconnect': {
|
|
25833
|
+
route: '/devices/simulate/disconnect';
|
|
25834
|
+
method: 'POST';
|
|
25835
|
+
queryParams: {};
|
|
25836
|
+
jsonBody: {
|
|
25837
|
+
device_id: string;
|
|
25838
|
+
};
|
|
25839
|
+
commonParams: {};
|
|
25840
|
+
formData: {};
|
|
25841
|
+
jsonResponse: {};
|
|
25842
|
+
};
|
|
25229
25843
|
'/devices/simulate/remove': {
|
|
25230
25844
|
route: '/devices/simulate/remove';
|
|
25231
25845
|
method: 'DELETE' | 'POST';
|
|
@@ -25334,6 +25948,8 @@ interface Routes {
|
|
|
25334
25948
|
can_program_offline_access_codes?: boolean | undefined;
|
|
25335
25949
|
can_program_online_access_codes?: boolean | undefined;
|
|
25336
25950
|
can_simulate_removal?: boolean | undefined;
|
|
25951
|
+
can_simulate_connection?: boolean | undefined;
|
|
25952
|
+
can_simulate_disconnection?: boolean | undefined;
|
|
25337
25953
|
};
|
|
25338
25954
|
};
|
|
25339
25955
|
};
|
|
@@ -25355,8 +25971,8 @@ interface Routes {
|
|
|
25355
25971
|
created_before?: Date | undefined;
|
|
25356
25972
|
user_identifier_key?: string | undefined;
|
|
25357
25973
|
custom_metadata_has?: Record<string, string | boolean> | undefined;
|
|
25358
|
-
include_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_simulate_removal'> | undefined;
|
|
25359
|
-
exclude_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_simulate_removal'> | undefined;
|
|
25974
|
+
include_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection'> | undefined;
|
|
25975
|
+
exclude_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection'> | undefined;
|
|
25360
25976
|
};
|
|
25361
25977
|
formData: {};
|
|
25362
25978
|
jsonResponse: {
|
|
@@ -25446,6 +26062,8 @@ interface Routes {
|
|
|
25446
26062
|
can_program_offline_access_codes?: boolean | undefined;
|
|
25447
26063
|
can_program_online_access_codes?: boolean | undefined;
|
|
25448
26064
|
can_simulate_removal?: boolean | undefined;
|
|
26065
|
+
can_simulate_connection?: boolean | undefined;
|
|
26066
|
+
can_simulate_disconnection?: boolean | undefined;
|
|
25449
26067
|
}>;
|
|
25450
26068
|
};
|
|
25451
26069
|
};
|
|
@@ -26073,6 +26691,8 @@ interface Routes {
|
|
|
26073
26691
|
can_program_offline_access_codes?: boolean | undefined;
|
|
26074
26692
|
can_program_online_access_codes?: boolean | undefined;
|
|
26075
26693
|
can_simulate_removal?: boolean | undefined;
|
|
26694
|
+
can_simulate_connection?: boolean | undefined;
|
|
26695
|
+
can_simulate_disconnection?: boolean | undefined;
|
|
26076
26696
|
};
|
|
26077
26697
|
device: {
|
|
26078
26698
|
/** Unique identifier for the device. */
|
|
@@ -26594,6 +27214,8 @@ interface Routes {
|
|
|
26594
27214
|
can_program_offline_access_codes?: boolean | undefined;
|
|
26595
27215
|
can_program_online_access_codes?: boolean | undefined;
|
|
26596
27216
|
can_simulate_removal?: boolean | undefined;
|
|
27217
|
+
can_simulate_connection?: boolean | undefined;
|
|
27218
|
+
can_simulate_disconnection?: boolean | undefined;
|
|
26597
27219
|
};
|
|
26598
27220
|
};
|
|
26599
27221
|
};
|
|
@@ -26615,8 +27237,8 @@ interface Routes {
|
|
|
26615
27237
|
created_before?: Date | undefined;
|
|
26616
27238
|
user_identifier_key?: string | undefined;
|
|
26617
27239
|
custom_metadata_has?: Record<string, string | boolean> | undefined;
|
|
26618
|
-
include_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_simulate_removal'> | undefined;
|
|
26619
|
-
exclude_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_simulate_removal'> | undefined;
|
|
27240
|
+
include_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection'> | undefined;
|
|
27241
|
+
exclude_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection'> | undefined;
|
|
26620
27242
|
};
|
|
26621
27243
|
formData: {};
|
|
26622
27244
|
jsonResponse: {
|
|
@@ -27140,6 +27762,8 @@ interface Routes {
|
|
|
27140
27762
|
can_program_offline_access_codes?: boolean | undefined;
|
|
27141
27763
|
can_program_online_access_codes?: boolean | undefined;
|
|
27142
27764
|
can_simulate_removal?: boolean | undefined;
|
|
27765
|
+
can_simulate_connection?: boolean | undefined;
|
|
27766
|
+
can_simulate_disconnection?: boolean | undefined;
|
|
27143
27767
|
}>;
|
|
27144
27768
|
devices: Array<{
|
|
27145
27769
|
/** Unique identifier for the device. */
|
|
@@ -27661,6 +28285,8 @@ interface Routes {
|
|
|
27661
28285
|
can_program_offline_access_codes?: boolean | undefined;
|
|
27662
28286
|
can_program_online_access_codes?: boolean | undefined;
|
|
27663
28287
|
can_simulate_removal?: boolean | undefined;
|
|
28288
|
+
can_simulate_connection?: boolean | undefined;
|
|
28289
|
+
can_simulate_disconnection?: boolean | undefined;
|
|
27664
28290
|
}>;
|
|
27665
28291
|
};
|
|
27666
28292
|
};
|
|
@@ -30837,6 +31463,8 @@ interface Routes {
|
|
|
30837
31463
|
can_program_offline_access_codes?: boolean | undefined;
|
|
30838
31464
|
can_program_online_access_codes?: boolean | undefined;
|
|
30839
31465
|
can_simulate_removal?: boolean | undefined;
|
|
31466
|
+
can_simulate_connection?: boolean | undefined;
|
|
31467
|
+
can_simulate_disconnection?: boolean | undefined;
|
|
30840
31468
|
}>;
|
|
30841
31469
|
};
|
|
30842
31470
|
};
|
|
@@ -30913,6 +31541,8 @@ interface Routes {
|
|
|
30913
31541
|
can_program_offline_access_codes?: boolean | undefined;
|
|
30914
31542
|
can_program_online_access_codes?: boolean | undefined;
|
|
30915
31543
|
can_simulate_removal?: boolean | undefined;
|
|
31544
|
+
can_simulate_connection?: boolean | undefined;
|
|
31545
|
+
can_simulate_disconnection?: boolean | undefined;
|
|
30916
31546
|
};
|
|
30917
31547
|
};
|
|
30918
31548
|
};
|
|
@@ -32209,6 +32839,8 @@ interface Routes {
|
|
|
32209
32839
|
can_program_offline_access_codes?: boolean | undefined;
|
|
32210
32840
|
can_program_online_access_codes?: boolean | undefined;
|
|
32211
32841
|
can_simulate_removal?: boolean | undefined;
|
|
32842
|
+
can_simulate_connection?: boolean | undefined;
|
|
32843
|
+
can_simulate_disconnection?: boolean | undefined;
|
|
32212
32844
|
};
|
|
32213
32845
|
};
|
|
32214
32846
|
};
|
|
@@ -33434,8 +34066,8 @@ interface Routes {
|
|
|
33434
34066
|
created_before?: Date | undefined;
|
|
33435
34067
|
user_identifier_key?: string | undefined;
|
|
33436
34068
|
custom_metadata_has?: Record<string, string | boolean> | undefined;
|
|
33437
|
-
include_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_simulate_removal'> | undefined;
|
|
33438
|
-
exclude_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_simulate_removal'> | undefined;
|
|
34069
|
+
include_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection'> | undefined;
|
|
34070
|
+
exclude_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection'> | undefined;
|
|
33439
34071
|
};
|
|
33440
34072
|
formData: {};
|
|
33441
34073
|
jsonResponse: {
|
|
@@ -33959,6 +34591,8 @@ interface Routes {
|
|
|
33959
34591
|
can_program_offline_access_codes?: boolean | undefined;
|
|
33960
34592
|
can_program_online_access_codes?: boolean | undefined;
|
|
33961
34593
|
can_simulate_removal?: boolean | undefined;
|
|
34594
|
+
can_simulate_connection?: boolean | undefined;
|
|
34595
|
+
can_simulate_disconnection?: boolean | undefined;
|
|
33962
34596
|
}>;
|
|
33963
34597
|
};
|
|
33964
34598
|
};
|
|
@@ -35892,6 +36526,8 @@ interface Routes {
|
|
|
35892
36526
|
can_program_offline_access_codes?: boolean | undefined;
|
|
35893
36527
|
can_program_online_access_codes?: boolean | undefined;
|
|
35894
36528
|
can_simulate_removal?: boolean | undefined;
|
|
36529
|
+
can_simulate_connection?: boolean | undefined;
|
|
36530
|
+
can_simulate_disconnection?: boolean | undefined;
|
|
35895
36531
|
}>;
|
|
35896
36532
|
/**
|
|
35897
36533
|
---
|
|
@@ -36418,6 +37054,8 @@ interface Routes {
|
|
|
36418
37054
|
can_program_offline_access_codes?: boolean | undefined;
|
|
36419
37055
|
can_program_online_access_codes?: boolean | undefined;
|
|
36420
37056
|
can_simulate_removal?: boolean | undefined;
|
|
37057
|
+
can_simulate_connection?: boolean | undefined;
|
|
37058
|
+
can_simulate_disconnection?: boolean | undefined;
|
|
36421
37059
|
}>;
|
|
36422
37060
|
};
|
|
36423
37061
|
};
|
|
@@ -36454,13 +37092,15 @@ interface Routes {
|
|
|
36454
37092
|
image_url: string;
|
|
36455
37093
|
image_alt_text: string;
|
|
36456
37094
|
errors: Array<{
|
|
36457
|
-
|
|
37095
|
+
created_at: string;
|
|
36458
37096
|
message: string;
|
|
36459
|
-
|
|
36460
|
-
|
|
36461
|
-
|
|
37097
|
+
error_code: 'seam_bridge_disconnected';
|
|
37098
|
+
} | {
|
|
37099
|
+
created_at: string;
|
|
36462
37100
|
message: string;
|
|
37101
|
+
error_code: 'visionline_instance_unreachable';
|
|
36463
37102
|
}>;
|
|
37103
|
+
warnings: Array<{}>;
|
|
36464
37104
|
can_automate_enrollment?: boolean | undefined;
|
|
36465
37105
|
can_create_acs_access_groups?: boolean | undefined;
|
|
36466
37106
|
can_remove_acs_users_from_acs_access_groups?: boolean | undefined;
|
|
@@ -37304,4 +37944,4 @@ type RouteRequestParams<Path extends keyof Routes> = Routes[Path]['queryParams']
|
|
|
37304
37944
|
|
|
37305
37945
|
declare const routes: {};
|
|
37306
37946
|
|
|
37307
|
-
export { type ActionAttempt, type ClientSession, type ConnectWebview, type ConnectedAccount, type CustomMetadata, type RouteRequestBody, type RouteRequestParams, type RouteResponse, type Routes, type SeamEvent, type SeamEventType, type UserIdentity, type Webhook, type Workspace, _default as openapi, routes, schemas };
|
|
37947
|
+
export { type AcsAccessGroup, type AcsCredential, type AcsEntrance, type AcsSystem, type AcsUser, type ActionAttempt, type ClientSession, type ConnectWebview, type ConnectedAccount, type CustomMetadata, type RouteRequestBody, type RouteRequestParams, type RouteResponse, type Routes, type SeamEvent, type SeamEventType, type UserIdentity, type Webhook, type Workspace, _default as openapi, routes, schemas };
|