@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.cjs
CHANGED
|
@@ -11,6 +11,11 @@ var __export = (target, all) => {
|
|
|
11
11
|
// src/lib/seam/connect/schemas.ts
|
|
12
12
|
var schemas_exports = {};
|
|
13
13
|
__export(schemas_exports, {
|
|
14
|
+
acs_access_group: () => acs_access_group,
|
|
15
|
+
acs_credential: () => acs_credential,
|
|
16
|
+
acs_entrance: () => acs_entrance,
|
|
17
|
+
acs_system: () => acs_system,
|
|
18
|
+
acs_user: () => acs_user,
|
|
14
19
|
action_attempt: () => action_attempt,
|
|
15
20
|
client_session: () => client_session,
|
|
16
21
|
connect_webview: () => connect_webview,
|
|
@@ -21,6 +26,180 @@ __export(schemas_exports, {
|
|
|
21
26
|
webhook: () => webhook,
|
|
22
27
|
workspace: () => workspace
|
|
23
28
|
});
|
|
29
|
+
var acs_access_group_external_type = zod.z.enum([
|
|
30
|
+
"pti_unit",
|
|
31
|
+
"pti_access_level",
|
|
32
|
+
"salto_access_group",
|
|
33
|
+
"brivo_group"
|
|
34
|
+
]);
|
|
35
|
+
var acs_access_group = zod.z.object({
|
|
36
|
+
acs_access_group_id: zod.z.string().uuid(),
|
|
37
|
+
acs_system_id: zod.z.string().uuid(),
|
|
38
|
+
workspace_id: zod.z.string().uuid(),
|
|
39
|
+
name: zod.z.string(),
|
|
40
|
+
access_group_type: acs_access_group_external_type.describe(`
|
|
41
|
+
---
|
|
42
|
+
deprecated: use external_type
|
|
43
|
+
---
|
|
44
|
+
`),
|
|
45
|
+
access_group_type_display_name: zod.z.string().describe(`
|
|
46
|
+
---
|
|
47
|
+
deprecated: use external_type_display_name
|
|
48
|
+
---
|
|
49
|
+
`),
|
|
50
|
+
display_name: zod.z.string(),
|
|
51
|
+
external_type: acs_access_group_external_type,
|
|
52
|
+
external_type_display_name: zod.z.string(),
|
|
53
|
+
created_at: zod.z.string().datetime()
|
|
54
|
+
});
|
|
55
|
+
var acs_entrance_latch_metadata = zod.z.object({
|
|
56
|
+
accessibility_type: zod.z.string(),
|
|
57
|
+
door_name: zod.z.string(),
|
|
58
|
+
door_type: zod.z.string(),
|
|
59
|
+
is_connected: zod.z.boolean()
|
|
60
|
+
});
|
|
61
|
+
var acs_entrance_visionline_metadata = zod.z.object({
|
|
62
|
+
door_name: zod.z.string(),
|
|
63
|
+
door_category: zod.z.enum([
|
|
64
|
+
"entrance",
|
|
65
|
+
"guest",
|
|
66
|
+
"elevator reader",
|
|
67
|
+
"common",
|
|
68
|
+
"common (PMS)"
|
|
69
|
+
]),
|
|
70
|
+
profiles: zod.z.array(
|
|
71
|
+
zod.z.object({
|
|
72
|
+
visionline_door_profile_id: zod.z.string(),
|
|
73
|
+
visionline_door_profile_type: zod.z.enum(["BLE", "commonDoor", "touch"])
|
|
74
|
+
})
|
|
75
|
+
).optional()
|
|
76
|
+
});
|
|
77
|
+
var acs_credential_visionline_metadata = zod.z.object({
|
|
78
|
+
card_function_type: zod.z.enum(["guest", "staff"]),
|
|
79
|
+
joiner_acs_credential_ids: zod.z.array(zod.z.string().uuid()).optional(),
|
|
80
|
+
guest_acs_entrance_ids: zod.z.array(zod.z.string().uuid()).optional(),
|
|
81
|
+
common_acs_entrance_ids: zod.z.array(zod.z.string().uuid()).optional()
|
|
82
|
+
});
|
|
83
|
+
|
|
84
|
+
// src/lib/seam/connect/models/acs/acs-credential.ts
|
|
85
|
+
var acs_credential_external_type = zod.z.enum([
|
|
86
|
+
"pti_card",
|
|
87
|
+
"brivo_credential",
|
|
88
|
+
"hid_credential",
|
|
89
|
+
"visionline_card"
|
|
90
|
+
]);
|
|
91
|
+
var acs_credential_access_method_type = zod.z.enum([
|
|
92
|
+
"code",
|
|
93
|
+
"card",
|
|
94
|
+
"mobile_key"
|
|
95
|
+
]);
|
|
96
|
+
var acs_credential = zod.z.object({
|
|
97
|
+
acs_credential_id: zod.z.string().uuid(),
|
|
98
|
+
acs_user_id: zod.z.string().uuid().optional(),
|
|
99
|
+
acs_credential_pool_id: zod.z.string().uuid().optional(),
|
|
100
|
+
acs_system_id: zod.z.string().uuid(),
|
|
101
|
+
parent_acs_credential_id: zod.z.string().uuid().optional(),
|
|
102
|
+
display_name: zod.z.string().min(1),
|
|
103
|
+
code: zod.z.string().optional().nullable(),
|
|
104
|
+
access_method: acs_credential_access_method_type,
|
|
105
|
+
external_type: acs_credential_external_type.optional(),
|
|
106
|
+
external_type_display_name: zod.z.string().optional(),
|
|
107
|
+
created_at: zod.z.string().datetime(),
|
|
108
|
+
workspace_id: zod.z.string().uuid(),
|
|
109
|
+
starts_at: zod.z.string().optional(),
|
|
110
|
+
ends_at: zod.z.string().optional(),
|
|
111
|
+
errors: zod.z.array(
|
|
112
|
+
zod.z.object({
|
|
113
|
+
error_code: zod.z.string(),
|
|
114
|
+
message: zod.z.string()
|
|
115
|
+
})
|
|
116
|
+
),
|
|
117
|
+
warnings: zod.z.array(
|
|
118
|
+
zod.z.object({
|
|
119
|
+
warning_code: zod.z.string(),
|
|
120
|
+
message: zod.z.string()
|
|
121
|
+
})
|
|
122
|
+
),
|
|
123
|
+
is_multi_phone_sync_credential: zod.z.boolean().optional(),
|
|
124
|
+
is_latest_desired_state_synced_with_provider: zod.z.boolean().optional(),
|
|
125
|
+
latest_desired_state_synced_with_provider_at: zod.z.string().datetime().optional(),
|
|
126
|
+
visionline_metadata: acs_credential_visionline_metadata.optional()
|
|
127
|
+
});
|
|
128
|
+
var acs_entrance = zod.z.object({
|
|
129
|
+
acs_system_id: zod.z.string().uuid(),
|
|
130
|
+
acs_entrance_id: zod.z.string().uuid(),
|
|
131
|
+
created_at: zod.z.string().datetime(),
|
|
132
|
+
display_name: zod.z.string(),
|
|
133
|
+
errors: zod.z.array(
|
|
134
|
+
zod.z.object({
|
|
135
|
+
error_code: zod.z.string(),
|
|
136
|
+
message: zod.z.string()
|
|
137
|
+
})
|
|
138
|
+
),
|
|
139
|
+
latch_metadata: acs_entrance_latch_metadata.optional(),
|
|
140
|
+
visionline_metadata: acs_entrance_visionline_metadata.optional()
|
|
141
|
+
});
|
|
142
|
+
var acs_system_capability_flags = zod.z.object({
|
|
143
|
+
can_automate_enrollment: zod.z.boolean().optional(),
|
|
144
|
+
can_create_acs_access_groups: zod.z.boolean().optional(),
|
|
145
|
+
can_remove_acs_users_from_acs_access_groups: zod.z.boolean().optional(),
|
|
146
|
+
can_add_acs_users_to_acs_access_groups: zod.z.boolean().optional()
|
|
147
|
+
});
|
|
148
|
+
var acs_system_external_type = zod.z.enum([
|
|
149
|
+
"pti_site",
|
|
150
|
+
"alta_org",
|
|
151
|
+
"salto_site",
|
|
152
|
+
"brivo_account",
|
|
153
|
+
"hid_credential_manager_organization",
|
|
154
|
+
"visionline_system",
|
|
155
|
+
"assa_abloy_credential_service",
|
|
156
|
+
"latch_building"
|
|
157
|
+
]);
|
|
158
|
+
var common_acs_system_error = zod.z.object({
|
|
159
|
+
created_at: zod.z.string().datetime(),
|
|
160
|
+
message: zod.z.string()
|
|
161
|
+
});
|
|
162
|
+
var seam_bridge_disconnected = common_acs_system_error.extend({
|
|
163
|
+
error_code: zod.z.literal("seam_bridge_disconnected")
|
|
164
|
+
});
|
|
165
|
+
var visionline_instance_unreachable = common_acs_system_error.extend({
|
|
166
|
+
error_code: zod.z.literal("visionline_instance_unreachable")
|
|
167
|
+
});
|
|
168
|
+
var acs_system_error = zod.z.union([
|
|
169
|
+
seam_bridge_disconnected,
|
|
170
|
+
visionline_instance_unreachable
|
|
171
|
+
]);
|
|
172
|
+
zod.z.object({
|
|
173
|
+
seam_bridge_disconnected: seam_bridge_disconnected.optional().nullable(),
|
|
174
|
+
visionline_instance_unreachable: visionline_instance_unreachable.optional().nullable()
|
|
175
|
+
});
|
|
176
|
+
var acs_system_warning = zod.z.object({});
|
|
177
|
+
zod.z.object({});
|
|
178
|
+
var acs_system = zod.z.object({
|
|
179
|
+
acs_system_id: zod.z.string().uuid(),
|
|
180
|
+
external_type: acs_system_external_type.optional(),
|
|
181
|
+
external_type_display_name: zod.z.string().optional(),
|
|
182
|
+
system_type: acs_system_external_type.describe(
|
|
183
|
+
`
|
|
184
|
+
---
|
|
185
|
+
deprecated: use external_type
|
|
186
|
+
---
|
|
187
|
+
`
|
|
188
|
+
).optional(),
|
|
189
|
+
system_type_display_name: zod.z.string().optional().describe(`
|
|
190
|
+
---
|
|
191
|
+
deprecated: use external_type_display_name
|
|
192
|
+
---
|
|
193
|
+
`),
|
|
194
|
+
name: zod.z.string(),
|
|
195
|
+
created_at: zod.z.string().datetime(),
|
|
196
|
+
workspace_id: zod.z.string().uuid(),
|
|
197
|
+
connected_account_ids: zod.z.array(zod.z.string().uuid()),
|
|
198
|
+
image_url: zod.z.string(),
|
|
199
|
+
image_alt_text: zod.z.string(),
|
|
200
|
+
errors: zod.z.array(acs_system_error),
|
|
201
|
+
warnings: zod.z.array(acs_system_warning)
|
|
202
|
+
}).merge(acs_system_capability_flags);
|
|
24
203
|
var phone_number = zod.z.coerce.string().trim().refine(
|
|
25
204
|
(val) => {
|
|
26
205
|
return /^\+[1-9]\d{1,14}$/.test(val);
|
|
@@ -29,6 +208,46 @@ var phone_number = zod.z.coerce.string().trim().refine(
|
|
|
29
208
|
message: "Phone number must be in E.164 format: +14155552671"
|
|
30
209
|
}
|
|
31
210
|
);
|
|
211
|
+
var start_end_schedule = zod.z.object({
|
|
212
|
+
starts_at: zod.z.string().datetime(),
|
|
213
|
+
ends_at: zod.z.string().datetime()
|
|
214
|
+
});
|
|
215
|
+
var schedule = start_end_schedule;
|
|
216
|
+
|
|
217
|
+
// src/lib/seam/connect/models/acs/acs-user.ts
|
|
218
|
+
var acs_user_external_type = zod.z.enum([
|
|
219
|
+
"pti_user",
|
|
220
|
+
"brivo_user",
|
|
221
|
+
"hid_credential_manager_user",
|
|
222
|
+
"salto_site_user",
|
|
223
|
+
"latch_user"
|
|
224
|
+
]);
|
|
225
|
+
var user_fields = zod.z.object({
|
|
226
|
+
full_name: zod.z.string().optional(),
|
|
227
|
+
email: zod.z.string().email().optional().describe(`
|
|
228
|
+
---
|
|
229
|
+
deprecated: use email_address.
|
|
230
|
+
---
|
|
231
|
+
`),
|
|
232
|
+
email_address: zod.z.string().email().optional(),
|
|
233
|
+
phone_number: phone_number.optional()
|
|
234
|
+
});
|
|
235
|
+
var acs_user = zod.z.object({
|
|
236
|
+
acs_user_id: zod.z.string().uuid(),
|
|
237
|
+
acs_system_id: zod.z.string().uuid(),
|
|
238
|
+
hid_acs_system_id: zod.z.string().uuid().optional(),
|
|
239
|
+
workspace_id: zod.z.string().uuid(),
|
|
240
|
+
created_at: zod.z.string().datetime(),
|
|
241
|
+
display_name: zod.z.string(),
|
|
242
|
+
external_type: acs_user_external_type.optional(),
|
|
243
|
+
external_type_display_name: zod.z.string().optional(),
|
|
244
|
+
is_suspended: zod.z.boolean(),
|
|
245
|
+
access_schedule: schedule.optional(),
|
|
246
|
+
user_identity_id: zod.z.string().optional(),
|
|
247
|
+
user_identity_full_name: zod.z.string().nullable().optional(),
|
|
248
|
+
user_identity_email_address: zod.z.string().nullable().optional(),
|
|
249
|
+
user_identity_phone_number: zod.z.string().nullable().optional()
|
|
250
|
+
}).merge(user_fields);
|
|
32
251
|
var common_action_attempt = zod.z.object({
|
|
33
252
|
action_attempt_id: zod.z.string().uuid().describe(`
|
|
34
253
|
---
|
|
@@ -1197,7 +1416,6 @@ var openapi_default = {
|
|
|
1197
1416
|
type: "array"
|
|
1198
1417
|
},
|
|
1199
1418
|
latch_metadata: {
|
|
1200
|
-
nullable: true,
|
|
1201
1419
|
properties: {
|
|
1202
1420
|
accessibility_type: { type: "string" },
|
|
1203
1421
|
door_name: { type: "string" },
|
|
@@ -1213,7 +1431,6 @@ var openapi_default = {
|
|
|
1213
1431
|
type: "object"
|
|
1214
1432
|
},
|
|
1215
1433
|
visionline_metadata: {
|
|
1216
|
-
nullable: true,
|
|
1217
1434
|
properties: {
|
|
1218
1435
|
door_category: {
|
|
1219
1436
|
enum: [
|
|
@@ -1249,13 +1466,11 @@ var openapi_default = {
|
|
|
1249
1466
|
}
|
|
1250
1467
|
},
|
|
1251
1468
|
required: [
|
|
1252
|
-
"acs_entrance_id",
|
|
1253
|
-
"display_name",
|
|
1254
1469
|
"acs_system_id",
|
|
1470
|
+
"acs_entrance_id",
|
|
1255
1471
|
"created_at",
|
|
1256
|
-
"
|
|
1257
|
-
"errors"
|
|
1258
|
-
"visionline_metadata"
|
|
1472
|
+
"display_name",
|
|
1473
|
+
"errors"
|
|
1259
1474
|
],
|
|
1260
1475
|
type: "object"
|
|
1261
1476
|
},
|
|
@@ -1266,16 +1481,39 @@ var openapi_default = {
|
|
|
1266
1481
|
can_automate_enrollment: { type: "boolean" },
|
|
1267
1482
|
can_create_acs_access_groups: { type: "boolean" },
|
|
1268
1483
|
can_remove_acs_users_from_acs_access_groups: { type: "boolean" },
|
|
1269
|
-
connected_account_ids: {
|
|
1484
|
+
connected_account_ids: {
|
|
1485
|
+
items: { format: "uuid", type: "string" },
|
|
1486
|
+
type: "array"
|
|
1487
|
+
},
|
|
1270
1488
|
created_at: { format: "date-time", type: "string" },
|
|
1271
1489
|
errors: {
|
|
1272
1490
|
items: {
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1491
|
+
oneOf: [
|
|
1492
|
+
{
|
|
1493
|
+
properties: {
|
|
1494
|
+
created_at: { format: "date-time", type: "string" },
|
|
1495
|
+
error_code: {
|
|
1496
|
+
enum: ["seam_bridge_disconnected"],
|
|
1497
|
+
type: "string"
|
|
1498
|
+
},
|
|
1499
|
+
message: { type: "string" }
|
|
1500
|
+
},
|
|
1501
|
+
required: ["created_at", "message", "error_code"],
|
|
1502
|
+
type: "object"
|
|
1503
|
+
},
|
|
1504
|
+
{
|
|
1505
|
+
properties: {
|
|
1506
|
+
created_at: { format: "date-time", type: "string" },
|
|
1507
|
+
error_code: {
|
|
1508
|
+
enum: ["visionline_instance_unreachable"],
|
|
1509
|
+
type: "string"
|
|
1510
|
+
},
|
|
1511
|
+
message: { type: "string" }
|
|
1512
|
+
},
|
|
1513
|
+
required: ["created_at", "message", "error_code"],
|
|
1514
|
+
type: "object"
|
|
1515
|
+
}
|
|
1516
|
+
]
|
|
1279
1517
|
},
|
|
1280
1518
|
type: "array"
|
|
1281
1519
|
},
|
|
@@ -1315,14 +1553,7 @@ var openapi_default = {
|
|
|
1315
1553
|
type: "string"
|
|
1316
1554
|
},
|
|
1317
1555
|
warnings: {
|
|
1318
|
-
items: {
|
|
1319
|
-
properties: {
|
|
1320
|
-
message: { type: "string" },
|
|
1321
|
-
warning_code: { type: "string" }
|
|
1322
|
-
},
|
|
1323
|
-
required: ["warning_code", "message"],
|
|
1324
|
-
type: "object"
|
|
1325
|
-
},
|
|
1556
|
+
items: { properties: {}, type: "object" },
|
|
1326
1557
|
type: "array"
|
|
1327
1558
|
},
|
|
1328
1559
|
workspace_id: { format: "uuid", type: "string" }
|
|
@@ -2620,6 +2851,8 @@ var openapi_default = {
|
|
|
2620
2851
|
can_program_online_access_codes: { type: "boolean" },
|
|
2621
2852
|
can_remotely_lock: { type: "boolean" },
|
|
2622
2853
|
can_remotely_unlock: { type: "boolean" },
|
|
2854
|
+
can_simulate_connection: { type: "boolean" },
|
|
2855
|
+
can_simulate_disconnection: { type: "boolean" },
|
|
2623
2856
|
can_simulate_removal: { type: "boolean" },
|
|
2624
2857
|
capabilities_supported: {
|
|
2625
2858
|
description: 'Collection of capabilities that the device supports when connected to Seam. Values are "access_code," which indicates that the device can manage and utilize digital PIN codes for secure access; "lock," which indicates that the device controls a door locking mechanism, enabling the remote opening and closing of doors and other entry points; "noise_detection," which indicates that the device supports monitoring and responding to ambient noise levels; "thermostat," which indicates that the device can regulate and adjust indoor temperatures; and "battery," which indicates that the device can manage battery life and health.',
|
|
@@ -4012,6 +4245,8 @@ var openapi_default = {
|
|
|
4012
4245
|
can_program_online_access_codes: { type: "boolean" },
|
|
4013
4246
|
can_remotely_lock: { type: "boolean" },
|
|
4014
4247
|
can_remotely_unlock: { type: "boolean" },
|
|
4248
|
+
can_simulate_connection: { type: "boolean" },
|
|
4249
|
+
can_simulate_disconnection: { type: "boolean" },
|
|
4015
4250
|
can_simulate_removal: { type: "boolean" },
|
|
4016
4251
|
capabilities_supported: {
|
|
4017
4252
|
description: 'Collection of capabilities that the device supports when connected to Seam. Values are "access_code," which indicates that the device can manage and utilize digital PIN codes for secure access; "lock," which indicates that the device controls a door locking mechanism, enabling the remote opening and closing of doors and other entry points; "noise_detection," which indicates that the device supports monitoring and responding to ambient noise levels; "thermostat," which indicates that the device can regulate and adjust indoor temperatures; and "battery," which indicates that the device can manage battery life and health.',
|
|
@@ -4224,6 +4459,8 @@ var openapi_default = {
|
|
|
4224
4459
|
can_program_online_access_codes: { type: "boolean" },
|
|
4225
4460
|
can_remotely_lock: { type: "boolean" },
|
|
4226
4461
|
can_remotely_unlock: { type: "boolean" },
|
|
4462
|
+
can_simulate_connection: { type: "boolean" },
|
|
4463
|
+
can_simulate_disconnection: { type: "boolean" },
|
|
4227
4464
|
can_simulate_removal: { type: "boolean" },
|
|
4228
4465
|
capabilities_supported: {
|
|
4229
4466
|
description: 'Collection of capabilities that the device supports when connected to Seam. Values are "access_code," which indicates that the device can manage and utilize digital PIN codes for secure access; "lock," which indicates that the device controls a door locking mechanism, enabling the remote opening and closing of doors and other entry points; "noise_detection," which indicates that the device supports monitoring and responding to ambient noise levels; "thermostat," which indicates that the device can regulate and adjust indoor temperatures; and "battery," which indicates that the device can manage battery life and health.',
|
|
@@ -9038,7 +9275,9 @@ var openapi_default = {
|
|
|
9038
9275
|
"can_remotely_lock",
|
|
9039
9276
|
"can_program_offline_access_codes",
|
|
9040
9277
|
"can_program_online_access_codes",
|
|
9041
|
-
"can_simulate_removal"
|
|
9278
|
+
"can_simulate_removal",
|
|
9279
|
+
"can_simulate_connection",
|
|
9280
|
+
"can_simulate_disconnection"
|
|
9042
9281
|
],
|
|
9043
9282
|
type: "string"
|
|
9044
9283
|
},
|
|
@@ -9051,7 +9290,9 @@ var openapi_default = {
|
|
|
9051
9290
|
"can_remotely_lock",
|
|
9052
9291
|
"can_program_offline_access_codes",
|
|
9053
9292
|
"can_program_online_access_codes",
|
|
9054
|
-
"can_simulate_removal"
|
|
9293
|
+
"can_simulate_removal",
|
|
9294
|
+
"can_simulate_connection",
|
|
9295
|
+
"can_simulate_disconnection"
|
|
9055
9296
|
],
|
|
9056
9297
|
type: "string"
|
|
9057
9298
|
},
|
|
@@ -9198,6 +9439,88 @@ var openapi_default = {
|
|
|
9198
9439
|
"x-fern-sdk-return-value": "device_providers"
|
|
9199
9440
|
}
|
|
9200
9441
|
},
|
|
9442
|
+
"/devices/simulate/connect": {
|
|
9443
|
+
post: {
|
|
9444
|
+
operationId: "devicesSimulateConnectPost",
|
|
9445
|
+
requestBody: {
|
|
9446
|
+
content: {
|
|
9447
|
+
"application/json": {
|
|
9448
|
+
schema: {
|
|
9449
|
+
properties: { device_id: { format: "uuid", type: "string" } },
|
|
9450
|
+
required: ["device_id"],
|
|
9451
|
+
type: "object"
|
|
9452
|
+
}
|
|
9453
|
+
}
|
|
9454
|
+
}
|
|
9455
|
+
},
|
|
9456
|
+
responses: {
|
|
9457
|
+
200: {
|
|
9458
|
+
content: {
|
|
9459
|
+
"application/json": {
|
|
9460
|
+
schema: {
|
|
9461
|
+
properties: { ok: { type: "boolean" } },
|
|
9462
|
+
required: ["ok"],
|
|
9463
|
+
type: "object"
|
|
9464
|
+
}
|
|
9465
|
+
}
|
|
9466
|
+
},
|
|
9467
|
+
description: "OK"
|
|
9468
|
+
},
|
|
9469
|
+
400: { description: "Bad Request" },
|
|
9470
|
+
401: { description: "Unauthorized" }
|
|
9471
|
+
},
|
|
9472
|
+
security: [
|
|
9473
|
+
{ api_key: [] },
|
|
9474
|
+
{ pat_with_workspace: [] },
|
|
9475
|
+
{ console_session: [] }
|
|
9476
|
+
],
|
|
9477
|
+
summary: "/devices/simulate/connect",
|
|
9478
|
+
tags: ["/devices"],
|
|
9479
|
+
"x-fern-sdk-group-name": ["devices", "simulate"],
|
|
9480
|
+
"x-fern-sdk-method-name": "connect"
|
|
9481
|
+
}
|
|
9482
|
+
},
|
|
9483
|
+
"/devices/simulate/disconnect": {
|
|
9484
|
+
post: {
|
|
9485
|
+
operationId: "devicesSimulateDisconnectPost",
|
|
9486
|
+
requestBody: {
|
|
9487
|
+
content: {
|
|
9488
|
+
"application/json": {
|
|
9489
|
+
schema: {
|
|
9490
|
+
properties: { device_id: { format: "uuid", type: "string" } },
|
|
9491
|
+
required: ["device_id"],
|
|
9492
|
+
type: "object"
|
|
9493
|
+
}
|
|
9494
|
+
}
|
|
9495
|
+
}
|
|
9496
|
+
},
|
|
9497
|
+
responses: {
|
|
9498
|
+
200: {
|
|
9499
|
+
content: {
|
|
9500
|
+
"application/json": {
|
|
9501
|
+
schema: {
|
|
9502
|
+
properties: { ok: { type: "boolean" } },
|
|
9503
|
+
required: ["ok"],
|
|
9504
|
+
type: "object"
|
|
9505
|
+
}
|
|
9506
|
+
}
|
|
9507
|
+
},
|
|
9508
|
+
description: "OK"
|
|
9509
|
+
},
|
|
9510
|
+
400: { description: "Bad Request" },
|
|
9511
|
+
401: { description: "Unauthorized" }
|
|
9512
|
+
},
|
|
9513
|
+
security: [
|
|
9514
|
+
{ api_key: [] },
|
|
9515
|
+
{ pat_with_workspace: [] },
|
|
9516
|
+
{ console_session: [] }
|
|
9517
|
+
],
|
|
9518
|
+
summary: "/devices/simulate/disconnect",
|
|
9519
|
+
tags: ["/devices"],
|
|
9520
|
+
"x-fern-sdk-group-name": ["devices", "simulate"],
|
|
9521
|
+
"x-fern-sdk-method-name": "disconnect"
|
|
9522
|
+
}
|
|
9523
|
+
},
|
|
9201
9524
|
"/devices/simulate/remove": {
|
|
9202
9525
|
post: {
|
|
9203
9526
|
operationId: "devicesSimulateRemovePost",
|
|
@@ -9429,7 +9752,9 @@ var openapi_default = {
|
|
|
9429
9752
|
"can_remotely_lock",
|
|
9430
9753
|
"can_program_offline_access_codes",
|
|
9431
9754
|
"can_program_online_access_codes",
|
|
9432
|
-
"can_simulate_removal"
|
|
9755
|
+
"can_simulate_removal",
|
|
9756
|
+
"can_simulate_connection",
|
|
9757
|
+
"can_simulate_disconnection"
|
|
9433
9758
|
],
|
|
9434
9759
|
type: "string"
|
|
9435
9760
|
},
|
|
@@ -9442,7 +9767,9 @@ var openapi_default = {
|
|
|
9442
9767
|
"can_remotely_lock",
|
|
9443
9768
|
"can_program_offline_access_codes",
|
|
9444
9769
|
"can_program_online_access_codes",
|
|
9445
|
-
"can_simulate_removal"
|
|
9770
|
+
"can_simulate_removal",
|
|
9771
|
+
"can_simulate_connection",
|
|
9772
|
+
"can_simulate_disconnection"
|
|
9446
9773
|
],
|
|
9447
9774
|
type: "string"
|
|
9448
9775
|
},
|
|
@@ -10174,7 +10501,9 @@ var openapi_default = {
|
|
|
10174
10501
|
"can_remotely_lock",
|
|
10175
10502
|
"can_program_offline_access_codes",
|
|
10176
10503
|
"can_program_online_access_codes",
|
|
10177
|
-
"can_simulate_removal"
|
|
10504
|
+
"can_simulate_removal",
|
|
10505
|
+
"can_simulate_connection",
|
|
10506
|
+
"can_simulate_disconnection"
|
|
10178
10507
|
],
|
|
10179
10508
|
type: "string"
|
|
10180
10509
|
},
|
|
@@ -10187,7 +10516,9 @@ var openapi_default = {
|
|
|
10187
10516
|
"can_remotely_lock",
|
|
10188
10517
|
"can_program_offline_access_codes",
|
|
10189
10518
|
"can_program_online_access_codes",
|
|
10190
|
-
"can_simulate_removal"
|
|
10519
|
+
"can_simulate_removal",
|
|
10520
|
+
"can_simulate_connection",
|
|
10521
|
+
"can_simulate_disconnection"
|
|
10191
10522
|
],
|
|
10192
10523
|
type: "string"
|
|
10193
10524
|
},
|
|
@@ -11877,7 +12208,9 @@ var openapi_default = {
|
|
|
11877
12208
|
"can_remotely_lock",
|
|
11878
12209
|
"can_program_offline_access_codes",
|
|
11879
12210
|
"can_program_online_access_codes",
|
|
11880
|
-
"can_simulate_removal"
|
|
12211
|
+
"can_simulate_removal",
|
|
12212
|
+
"can_simulate_connection",
|
|
12213
|
+
"can_simulate_disconnection"
|
|
11881
12214
|
],
|
|
11882
12215
|
type: "string"
|
|
11883
12216
|
},
|
|
@@ -11890,7 +12223,9 @@ var openapi_default = {
|
|
|
11890
12223
|
"can_remotely_lock",
|
|
11891
12224
|
"can_program_offline_access_codes",
|
|
11892
12225
|
"can_program_online_access_codes",
|
|
11893
|
-
"can_simulate_removal"
|
|
12226
|
+
"can_simulate_removal",
|
|
12227
|
+
"can_simulate_connection",
|
|
12228
|
+
"can_simulate_disconnection"
|
|
11894
12229
|
],
|
|
11895
12230
|
type: "string"
|
|
11896
12231
|
},
|