@seamapi/types 1.327.0 → 1.329.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 +993 -370
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +1130 -63
- package/lib/seam/connect/models/access-codes/managed-access-code.js +5 -1
- package/lib/seam/connect/models/access-codes/managed-access-code.js.map +1 -1
- package/lib/seam/connect/models/access-codes/unmanaged-access-code.js +5 -1
- package/lib/seam/connect/models/access-codes/unmanaged-access-code.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-access-group.js +7 -3
- package/lib/seam/connect/models/acs/acs-access-group.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-credential-pool.js +5 -1
- package/lib/seam/connect/models/acs/acs-credential-pool.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-credential-provisioning-automation.js +12 -5
- package/lib/seam/connect/models/acs/acs-credential-provisioning-automation.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-credential.d.ts +66 -0
- package/lib/seam/connect/models/acs/acs-credential.js +9 -0
- package/lib/seam/connect/models/acs/acs-credential.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-entrance.d.ts +0 -5
- package/lib/seam/connect/models/acs/acs-entrance.js +7 -4
- package/lib/seam/connect/models/acs/acs-entrance.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-system.js +6 -2
- package/lib/seam/connect/models/acs/acs-system.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-user.js +7 -4
- package/lib/seam/connect/models/acs/acs-user.js.map +1 -1
- package/lib/seam/connect/models/acs/metadata/dormakaba-community.d.ts +0 -3
- package/lib/seam/connect/models/acs/metadata/dormakaba-community.js +0 -1
- package/lib/seam/connect/models/acs/metadata/dormakaba-community.js.map +1 -1
- package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +132 -0
- package/lib/seam/connect/models/action-attempts/action-attempt.js +5 -1
- package/lib/seam/connect/models/action-attempts/action-attempt.js.map +1 -1
- package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +58 -0
- package/lib/seam/connect/models/action-attempts/scan-credential.d.ts +74 -0
- package/lib/seam/connect/models/client-sessions/client-session.js +5 -1
- package/lib/seam/connect/models/client-sessions/client-session.js.map +1 -1
- package/lib/seam/connect/models/connect-webviews/connect-webview.js +5 -1
- package/lib/seam/connect/models/connect-webviews/connect-webview.js.map +1 -1
- package/lib/seam/connect/models/connected-accounts/connected-account.js +5 -1
- package/lib/seam/connect/models/connected-accounts/connected-account.js.map +1 -1
- package/lib/seam/connect/models/devices/device-provider.js +5 -1
- package/lib/seam/connect/models/devices/device-provider.js.map +1 -1
- package/lib/seam/connect/models/devices/device.js +5 -1
- package/lib/seam/connect/models/devices/device.js.map +1 -1
- package/lib/seam/connect/models/devices/phone.js +5 -1
- package/lib/seam/connect/models/devices/phone.js.map +1 -1
- package/lib/seam/connect/models/devices/unmanaged-device.js +5 -1
- package/lib/seam/connect/models/devices/unmanaged-device.js.map +1 -1
- package/lib/seam/connect/models/events/access-codes.js +119 -68
- package/lib/seam/connect/models/events/access-codes.js.map +1 -1
- package/lib/seam/connect/models/events/acs/access_groups.js +7 -4
- package/lib/seam/connect/models/events/acs/access_groups.js.map +1 -1
- package/lib/seam/connect/models/events/acs/credentials.d.ts +61 -0
- package/lib/seam/connect/models/events/acs/credentials.js +19 -7
- package/lib/seam/connect/models/events/acs/credentials.js.map +1 -1
- package/lib/seam/connect/models/events/acs/encoders.js +14 -8
- package/lib/seam/connect/models/events/acs/encoders.js.map +1 -1
- package/lib/seam/connect/models/events/acs/index.d.ts +30 -0
- package/lib/seam/connect/models/events/acs/systems.js +21 -12
- package/lib/seam/connect/models/events/acs/systems.js.map +1 -1
- package/lib/seam/connect/models/events/acs/users.js +7 -4
- package/lib/seam/connect/models/events/acs/users.js.map +1 -1
- package/lib/seam/connect/models/events/action-attempts.js +28 -16
- package/lib/seam/connect/models/events/action-attempts.js.map +1 -1
- package/lib/seam/connect/models/events/client-sessions.js +7 -4
- package/lib/seam/connect/models/events/client-sessions.js.map +1 -1
- package/lib/seam/connect/models/events/connect-webviews.js +14 -8
- package/lib/seam/connect/models/events/connect-webviews.js.map +1 -1
- package/lib/seam/connect/models/events/connected-accounts.js +45 -25
- package/lib/seam/connect/models/events/connected-accounts.js.map +1 -1
- package/lib/seam/connect/models/events/devices.js +214 -119
- package/lib/seam/connect/models/events/devices.js.map +1 -1
- package/lib/seam/connect/models/events/enrollment-automations.js +7 -4
- package/lib/seam/connect/models/events/enrollment-automations.js.map +1 -1
- package/lib/seam/connect/models/events/phones.js +7 -4
- package/lib/seam/connect/models/events/phones.js.map +1 -1
- package/lib/seam/connect/models/events/seam-event.d.ts +30 -0
- package/lib/seam/connect/models/events/seam-event.js +5 -1
- package/lib/seam/connect/models/events/seam-event.js.map +1 -1
- package/lib/seam/connect/models/noise-sensors/noise-threshold.js +5 -1
- package/lib/seam/connect/models/noise-sensors/noise-threshold.js.map +1 -1
- package/lib/seam/connect/models/thermostats/thermostat-schedule.js +8 -8
- package/lib/seam/connect/models/thermostats/thermostat-schedule.js.map +1 -1
- package/lib/seam/connect/models/user-identities/user-identity.js +7 -4
- package/lib/seam/connect/models/user-identities/user-identity.js.map +1 -1
- package/lib/seam/connect/models/webhooks/webhook.js +5 -1
- package/lib/seam/connect/models/webhooks/webhook.js.map +1 -1
- package/lib/seam/connect/models/workspaces/workspace.js +5 -1
- package/lib/seam/connect/models/workspaces/workspace.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +140 -4
- package/lib/seam/connect/openapi.js +322 -6
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +739 -7
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +5 -1
- package/src/lib/seam/connect/models/access-codes/unmanaged-access-code.ts +5 -1
- package/src/lib/seam/connect/models/acs/acs-access-group.ts +7 -3
- package/src/lib/seam/connect/models/acs/acs-credential-pool.ts +5 -1
- package/src/lib/seam/connect/models/acs/acs-credential-provisioning-automation.ts +38 -35
- package/src/lib/seam/connect/models/acs/acs-credential.ts +12 -0
- package/src/lib/seam/connect/models/acs/acs-entrance.ts +31 -30
- package/src/lib/seam/connect/models/acs/acs-system.ts +6 -4
- package/src/lib/seam/connect/models/acs/acs-user.ts +10 -9
- package/src/lib/seam/connect/models/acs/metadata/dormakaba-community.ts +0 -1
- package/src/lib/seam/connect/models/action-attempts/action-attempt.ts +5 -1
- package/src/lib/seam/connect/models/client-sessions/client-session.ts +5 -1
- package/src/lib/seam/connect/models/connect-webviews/connect-webview.ts +5 -1
- package/src/lib/seam/connect/models/connected-accounts/connected-account.ts +5 -1
- package/src/lib/seam/connect/models/devices/device-provider.ts +5 -1
- package/src/lib/seam/connect/models/devices/device.ts +5 -1
- package/src/lib/seam/connect/models/devices/phone.ts +5 -1
- package/src/lib/seam/connect/models/devices/unmanaged-device.ts +5 -1
- package/src/lib/seam/connect/models/events/access-codes.ts +139 -117
- package/src/lib/seam/connect/models/events/acs/access_groups.ts +8 -5
- package/src/lib/seam/connect/models/events/acs/credentials.ts +21 -10
- package/src/lib/seam/connect/models/events/acs/encoders.ts +16 -14
- package/src/lib/seam/connect/models/events/acs/systems.ts +24 -21
- package/src/lib/seam/connect/models/events/acs/users.ts +8 -7
- package/src/lib/seam/connect/models/events/action-attempts.ts +32 -24
- package/src/lib/seam/connect/models/events/client-sessions.ts +8 -7
- package/src/lib/seam/connect/models/events/connect-webviews.ts +16 -13
- package/src/lib/seam/connect/models/events/connected-accounts.ts +55 -44
- package/src/lib/seam/connect/models/events/devices.ts +339 -301
- package/src/lib/seam/connect/models/events/enrollment-automations.ts +8 -6
- package/src/lib/seam/connect/models/events/phones.ts +8 -5
- package/src/lib/seam/connect/models/events/seam-event.ts +5 -1
- package/src/lib/seam/connect/models/noise-sensors/noise-threshold.ts +5 -1
- package/src/lib/seam/connect/models/thermostats/thermostat-schedule.ts +60 -62
- package/src/lib/seam/connect/models/user-identities/user-identity.ts +35 -34
- package/src/lib/seam/connect/models/webhooks/webhook.ts +5 -1
- package/src/lib/seam/connect/models/workspaces/workspace.ts +5 -1
- package/src/lib/seam/connect/openapi.ts +354 -6
- package/src/lib/seam/connect/route-types.ts +835 -5
package/dist/connect.cjs
CHANGED
|
@@ -90,7 +90,11 @@ var connected_account = zod.z.object({
|
|
|
90
90
|
warnings: zod.z.array(connected_account_warning),
|
|
91
91
|
custom_metadata,
|
|
92
92
|
automatically_manage_new_devices: zod.z.boolean()
|
|
93
|
-
})
|
|
93
|
+
}).describe(`
|
|
94
|
+
---
|
|
95
|
+
route_path: /connected_accounts
|
|
96
|
+
---
|
|
97
|
+
`);
|
|
94
98
|
var capabilities = zod.z.enum([
|
|
95
99
|
"access_code",
|
|
96
100
|
"lock",
|
|
@@ -212,9 +216,12 @@ var thermostat_schedule = zod.z.object({
|
|
|
212
216
|
).describe(
|
|
213
217
|
"Array of errors associated with the thermostat schedule. Each error object within the array contains two fields: `error_code` and `message`. `error_code` is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. `message` provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it."
|
|
214
218
|
)
|
|
215
|
-
}).describe(
|
|
216
|
-
|
|
217
|
-
|
|
219
|
+
}).describe(`
|
|
220
|
+
---
|
|
221
|
+
route_path: /thermostats/schedules
|
|
222
|
+
---
|
|
223
|
+
Represents a [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) that activates a configured [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) on a [thermostat](https://docs.seam.co/latest/capability-guides/thermostats) at a specified starting time and deactivates the climate preset at a specified ending time.
|
|
224
|
+
`);
|
|
218
225
|
|
|
219
226
|
// src/lib/seam/connect/models/devices/capability-properties/thermostat.ts
|
|
220
227
|
var thermostat_capability_properties = zod.z.object({
|
|
@@ -986,7 +993,11 @@ var device = zod.z.object({
|
|
|
986
993
|
created_at: zod.z.string().datetime().describe("Date and time at which the device object was created."),
|
|
987
994
|
is_managed: zod.z.literal(true).describe("Indicates whether Seam manages the device."),
|
|
988
995
|
custom_metadata
|
|
989
|
-
}).merge(device_capability_flags2)
|
|
996
|
+
}).merge(device_capability_flags2).describe(`
|
|
997
|
+
---
|
|
998
|
+
route_path: /devices
|
|
999
|
+
---
|
|
1000
|
+
`);
|
|
990
1001
|
var DEVICE_PROVIDERS = {
|
|
991
1002
|
DORMAKABA_COMMUNITY: "dormakaba_community",
|
|
992
1003
|
LEGIC_CONNECT: "legic_connect",
|
|
@@ -1098,7 +1109,11 @@ var device_provider = zod.z.object({
|
|
|
1098
1109
|
display_name: zod.z.string(),
|
|
1099
1110
|
image_url: zod.z.string(),
|
|
1100
1111
|
provider_categories: zod.z.array(zod.z.enum(PUBLIC_PROVIDER_CATEGORIES))
|
|
1101
|
-
}).extend(device_capability_flags2.shape)
|
|
1112
|
+
}).extend(device_capability_flags2.shape).describe(`
|
|
1113
|
+
---
|
|
1114
|
+
route_path: /devices
|
|
1115
|
+
---
|
|
1116
|
+
`);
|
|
1102
1117
|
var unmanaged_device = device.pick({
|
|
1103
1118
|
device_id: true,
|
|
1104
1119
|
device_type: true,
|
|
@@ -1124,7 +1139,11 @@ var unmanaged_device = device.pick({
|
|
|
1124
1139
|
offline_access_codes_enabled: true,
|
|
1125
1140
|
model: true
|
|
1126
1141
|
})
|
|
1127
|
-
}).merge(device_capability_flags2)
|
|
1142
|
+
}).merge(device_capability_flags2).describe(`
|
|
1143
|
+
---
|
|
1144
|
+
route_path: /devices/unmanaged
|
|
1145
|
+
---
|
|
1146
|
+
`);
|
|
1128
1147
|
|
|
1129
1148
|
// src/lib/seam/connect/models/access-codes/managed-access-code.ts
|
|
1130
1149
|
var common_access_code_error = zod.z.object({
|
|
@@ -1196,7 +1215,11 @@ var access_code = zod.z.object({
|
|
|
1196
1215
|
is_offline_access_code: zod.z.boolean().describe(
|
|
1197
1216
|
'Indicates whether the access code is intended for use in offline scenarios. If "true," this code can be created on a device without a network connection.'
|
|
1198
1217
|
)
|
|
1199
|
-
})
|
|
1218
|
+
}).describe(`
|
|
1219
|
+
---
|
|
1220
|
+
route_path: /access_codes
|
|
1221
|
+
---
|
|
1222
|
+
`);
|
|
1200
1223
|
var unmanaged_access_code = access_code.pick({
|
|
1201
1224
|
type: true,
|
|
1202
1225
|
access_code_id: true,
|
|
@@ -1212,7 +1235,11 @@ var unmanaged_access_code = access_code.pick({
|
|
|
1212
1235
|
}).extend({
|
|
1213
1236
|
is_managed: zod.z.literal(false),
|
|
1214
1237
|
status: zod.z.enum(["set"])
|
|
1215
|
-
})
|
|
1238
|
+
}).describe(`
|
|
1239
|
+
---
|
|
1240
|
+
route_path: /access_codes/unmanaged
|
|
1241
|
+
---
|
|
1242
|
+
`);
|
|
1216
1243
|
var acs_access_group_external_type = zod.z.enum([
|
|
1217
1244
|
"pti_unit",
|
|
1218
1245
|
"pti_access_level",
|
|
@@ -1270,8 +1297,13 @@ var common_acs_access_group = zod.z.object({
|
|
|
1270
1297
|
});
|
|
1271
1298
|
var acs_access_group = common_acs_access_group.extend({
|
|
1272
1299
|
is_managed: zod.z.literal(true)
|
|
1273
|
-
}).describe(`
|
|
1274
|
-
|
|
1300
|
+
}).describe(`
|
|
1301
|
+
---
|
|
1302
|
+
route_path: /acs/access_groups
|
|
1303
|
+
---
|
|
1304
|
+
Group that defines the entrances to which a set of users has access and, in some cases, the access schedule for these entrances and users.
|
|
1305
|
+
The \`acs_access_group\` object represents an [access group](https://docs.seam.co/latest/capability-guides/access-systems/assigning-users-to-access-groups) within an [access control system](https://docs.seam.co/latest/capability-guides/access-systems).
|
|
1306
|
+
`);
|
|
1275
1307
|
var unmanaged_acs_access_group = common_acs_access_group.extend({
|
|
1276
1308
|
is_managed: zod.z.literal(false)
|
|
1277
1309
|
});
|
|
@@ -1283,8 +1315,7 @@ var acs_entrance_assa_abloy_vostio_metadata = zod.z.object({
|
|
|
1283
1315
|
pms_id: zod.z.string().optional()
|
|
1284
1316
|
});
|
|
1285
1317
|
var acs_entrance_dormakaba_community_metadata = zod.z.object({
|
|
1286
|
-
access_point_name: zod.z.string()
|
|
1287
|
-
common_area_number: zod.z.number().optional()
|
|
1318
|
+
access_point_name: zod.z.string()
|
|
1288
1319
|
});
|
|
1289
1320
|
var acs_entrance_latch_metadata = zod.z.object({
|
|
1290
1321
|
accessibility_type: zod.z.string(),
|
|
@@ -1370,19 +1401,26 @@ var unknown_issue_with_acs_credential = common_acs_credential_warning.extend({
|
|
|
1370
1401
|
}).describe(
|
|
1371
1402
|
"An unknown issue occurred while syncing the state of this credential with the provider. This issue may affect the proper functioning of this credential."
|
|
1372
1403
|
);
|
|
1404
|
+
var needs_to_be_reissued = common_acs_credential_warning.extend({
|
|
1405
|
+
warning_code: zod.z.literal("needs_to_be_reissued").describe(warning_code_description3)
|
|
1406
|
+
}).describe(
|
|
1407
|
+
"Access permissions for this [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) have changed. [Reissue](https://docs.seam.co/latest/capability-guides/access-systems/working-with-card-encoders-and-scanners/creating-and-encoding-card-based-credentials) (re-encode) this credential. This issue may affect the proper functioning of the credential."
|
|
1408
|
+
);
|
|
1373
1409
|
var acs_credential_warning = zod.z.union([
|
|
1374
1410
|
waiting_to_be_issued,
|
|
1375
1411
|
schedule_externally_modified,
|
|
1376
1412
|
schedule_modified,
|
|
1377
1413
|
being_deleted,
|
|
1378
|
-
unknown_issue_with_acs_credential
|
|
1414
|
+
unknown_issue_with_acs_credential,
|
|
1415
|
+
needs_to_be_reissued
|
|
1379
1416
|
]).describe("Warning associated with the `acs_credential`.");
|
|
1380
1417
|
zod.z.object({
|
|
1381
1418
|
waiting_to_be_issued: waiting_to_be_issued.optional().nullable(),
|
|
1382
1419
|
schedule_externally_modified: schedule_externally_modified.optional().nullable(),
|
|
1383
1420
|
schedule_modified: schedule_modified.optional().nullable(),
|
|
1384
1421
|
being_deleted: being_deleted.optional().nullable(),
|
|
1385
|
-
unknown_issue_with_acs_credential: unknown_issue_with_acs_credential.optional().nullable()
|
|
1422
|
+
unknown_issue_with_acs_credential: unknown_issue_with_acs_credential.optional().nullable(),
|
|
1423
|
+
needs_to_be_reissued: needs_to_be_reissued.optional().nullable()
|
|
1386
1424
|
});
|
|
1387
1425
|
var common_acs_credential = zod.z.object({
|
|
1388
1426
|
acs_credential_id: zod.z.string().uuid().describe("ID of the credential."),
|
|
@@ -1526,9 +1564,12 @@ var acs_entrance = zod.z.object({
|
|
|
1526
1564
|
dormakaba_community_metadata: acs_entrance_dormakaba_community_metadata.optional(),
|
|
1527
1565
|
assa_abloy_vostio_metadata: acs_entrance_assa_abloy_vostio_metadata.optional(),
|
|
1528
1566
|
salto_space_metadata: acs_entrance_salto_space_metadata.optional()
|
|
1529
|
-
}).describe(
|
|
1530
|
-
|
|
1531
|
-
|
|
1567
|
+
}).describe(`
|
|
1568
|
+
---
|
|
1569
|
+
route_path: /acs/entrances
|
|
1570
|
+
---
|
|
1571
|
+
Represents an [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details) within an [access control system](https://docs.seam.co/latest/capability-guides/access-systems).
|
|
1572
|
+
`);
|
|
1532
1573
|
var acs_system_capability_flags = zod.z.object({
|
|
1533
1574
|
can_automate_enrollment: zod.z.boolean().optional().describe(
|
|
1534
1575
|
"Indicates whether it is possible to [launch enrollment automations](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/issuing-mobile-credentials-from-an-access-control-system#prepare-the-phones-for-a-user-identity-to-start-receiving-mobile-credentials-using-an-enrollment-aut) for the `acs_system`."
|
|
@@ -1696,9 +1737,12 @@ var acs_system = zod.z.object({
|
|
|
1696
1737
|
image_alt_text: zod.z.string().describe("Alternative text for the `acs_system` image."),
|
|
1697
1738
|
errors: zod.z.array(acs_system_error).describe("Errors associated with the `acs_system`."),
|
|
1698
1739
|
warnings: zod.z.array(acs_system_warning).describe("Warnings associated with the `acs_system`.")
|
|
1699
|
-
}).merge(acs_system_capability_flags).describe(
|
|
1700
|
-
|
|
1701
|
-
|
|
1740
|
+
}).merge(acs_system_capability_flags).describe(`
|
|
1741
|
+
---
|
|
1742
|
+
route_path: /acs/systems
|
|
1743
|
+
---
|
|
1744
|
+
Represents an [access control system](https://docs.seam.co/latest/capability-guides/access-systems).
|
|
1745
|
+
`);
|
|
1702
1746
|
var phone_number = zod.z.coerce.string().trim().refine(
|
|
1703
1747
|
(val) => {
|
|
1704
1748
|
return /^\+[1-9]\d{1,14}$/.test(val);
|
|
@@ -1868,9 +1912,12 @@ var acs_user = common_acs_user.merge(
|
|
|
1868
1912
|
zod.z.object({
|
|
1869
1913
|
is_managed: zod.z.literal(true)
|
|
1870
1914
|
})
|
|
1871
|
-
).describe(
|
|
1872
|
-
|
|
1873
|
-
|
|
1915
|
+
).describe(`
|
|
1916
|
+
---
|
|
1917
|
+
route_path: /acs/users
|
|
1918
|
+
---
|
|
1919
|
+
Represents a [user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) in an [access control system](https://docs.seam.co/latest/capability-guides/access-systems).
|
|
1920
|
+
`);
|
|
1874
1921
|
var unmanaged_acs_user = common_acs_user.merge(
|
|
1875
1922
|
zod.z.object({
|
|
1876
1923
|
is_managed: zod.z.literal(false)
|
|
@@ -2199,7 +2246,11 @@ var action_attempt = zod.z.union([
|
|
|
2199
2246
|
...set_hvac_mode_action_attempt.options,
|
|
2200
2247
|
...activate_climate_preset_action_attempt.options,
|
|
2201
2248
|
...deprecated_action_attempts
|
|
2202
|
-
])
|
|
2249
|
+
]).describe(`
|
|
2250
|
+
---
|
|
2251
|
+
route_path: /action_attempts
|
|
2252
|
+
---
|
|
2253
|
+
`);
|
|
2203
2254
|
var client_session = zod.z.object({
|
|
2204
2255
|
client_session_id: zod.z.string().uuid(),
|
|
2205
2256
|
workspace_id: zod.z.string().uuid(),
|
|
@@ -2211,7 +2262,11 @@ var client_session = zod.z.object({
|
|
|
2211
2262
|
connected_account_ids: zod.z.array(zod.z.string().uuid()),
|
|
2212
2263
|
connect_webview_ids: zod.z.array(zod.z.string().uuid()),
|
|
2213
2264
|
user_identity_ids: zod.z.array(zod.z.string().uuid())
|
|
2214
|
-
})
|
|
2265
|
+
}).describe(`
|
|
2266
|
+
---
|
|
2267
|
+
route_path: /client_sessions
|
|
2268
|
+
---
|
|
2269
|
+
`);
|
|
2215
2270
|
var connect_webview_device_selection_mode = zod.z.enum([
|
|
2216
2271
|
"none",
|
|
2217
2272
|
"single",
|
|
@@ -2250,7 +2305,11 @@ var connect_webview = zod.z.object({
|
|
|
2250
2305
|
wait_for_device_creation: zod.z.boolean(),
|
|
2251
2306
|
authorized_at: zod.z.string().datetime().nullable(),
|
|
2252
2307
|
selected_provider: zod.z.string().nullable()
|
|
2253
|
-
})
|
|
2308
|
+
}).describe(`
|
|
2309
|
+
---
|
|
2310
|
+
route_path: /connect_webviews
|
|
2311
|
+
---
|
|
2312
|
+
`);
|
|
2254
2313
|
var common_event = zod.z.object({
|
|
2255
2314
|
event_id: zod.z.string().uuid().describe("ID of the event."),
|
|
2256
2315
|
workspace_id: zod.z.string().uuid().describe(
|
|
@@ -2277,95 +2336,144 @@ var code = zod.z.string().describe(
|
|
|
2277
2336
|
);
|
|
2278
2337
|
var access_code_created_event = access_code_event.extend({
|
|
2279
2338
|
event_type: zod.z.literal("access_code.created")
|
|
2280
|
-
}).describe(
|
|
2281
|
-
|
|
2282
|
-
|
|
2339
|
+
}).describe(`
|
|
2340
|
+
---
|
|
2341
|
+
route_path: /access_codes
|
|
2342
|
+
---
|
|
2343
|
+
An [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes) was created.
|
|
2344
|
+
`);
|
|
2283
2345
|
var access_code_changed_event = access_code_event.extend({
|
|
2284
2346
|
event_type: zod.z.literal("access_code.changed")
|
|
2285
|
-
}).describe(
|
|
2286
|
-
|
|
2287
|
-
|
|
2347
|
+
}).describe(`
|
|
2348
|
+
---
|
|
2349
|
+
route_path: /access_codes
|
|
2350
|
+
---
|
|
2351
|
+
An [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes) was changed.
|
|
2352
|
+
`);
|
|
2288
2353
|
var access_code_scheduled_on_device_event = access_code_event.extend({
|
|
2289
2354
|
event_type: zod.z.literal("access_code.scheduled_on_device"),
|
|
2290
2355
|
code
|
|
2291
|
-
}).describe(
|
|
2292
|
-
|
|
2293
|
-
|
|
2356
|
+
}).describe(`
|
|
2357
|
+
---
|
|
2358
|
+
route_path: /access_codes
|
|
2359
|
+
---
|
|
2360
|
+
An [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes) was [scheduled natively](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes#native-scheduling) on a device.
|
|
2361
|
+
`);
|
|
2294
2362
|
var access_code_set_on_device_event = access_code_event.extend({
|
|
2295
2363
|
event_type: zod.z.literal("access_code.set_on_device"),
|
|
2296
2364
|
code
|
|
2297
|
-
}).describe(
|
|
2298
|
-
|
|
2299
|
-
|
|
2365
|
+
}).describe(`
|
|
2366
|
+
---
|
|
2367
|
+
route_path: /access_codes
|
|
2368
|
+
---
|
|
2369
|
+
An [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes) was set on a device.
|
|
2370
|
+
`);
|
|
2300
2371
|
var access_code_removed_from_device_event = access_code_event.extend({
|
|
2301
2372
|
event_type: zod.z.literal("access_code.removed_from_device")
|
|
2302
|
-
}).describe(
|
|
2303
|
-
|
|
2304
|
-
|
|
2373
|
+
}).describe(`
|
|
2374
|
+
---
|
|
2375
|
+
route_path: /access_codes
|
|
2376
|
+
---
|
|
2377
|
+
An [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes) was removed from a device.
|
|
2378
|
+
`);
|
|
2305
2379
|
var access_code_delay_in_setting_on_device_event = access_code_event.extend({
|
|
2306
2380
|
event_type: zod.z.literal("access_code.delay_in_setting_on_device")
|
|
2307
|
-
}).describe(
|
|
2308
|
-
|
|
2309
|
-
|
|
2381
|
+
}).describe(`
|
|
2382
|
+
---
|
|
2383
|
+
route_path: /access_codes
|
|
2384
|
+
---
|
|
2385
|
+
There was an unusually long delay in setting an [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes) on a device.
|
|
2386
|
+
`);
|
|
2310
2387
|
var access_code_failed_to_set_on_device_event = access_code_event.extend({
|
|
2311
2388
|
event_type: zod.z.literal("access_code.failed_to_set_on_device")
|
|
2312
|
-
}).describe(
|
|
2313
|
-
|
|
2314
|
-
|
|
2389
|
+
}).describe(`
|
|
2390
|
+
---
|
|
2391
|
+
route_path: /access_codes
|
|
2392
|
+
---
|
|
2393
|
+
An [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes) failed to be set on a device.
|
|
2394
|
+
`);
|
|
2315
2395
|
var access_code_deleted_event = access_code_event.extend({
|
|
2316
2396
|
event_type: zod.z.literal("access_code.deleted"),
|
|
2317
2397
|
code: code.nullable()
|
|
2318
|
-
}).describe(
|
|
2319
|
-
|
|
2320
|
-
|
|
2398
|
+
}).describe(`
|
|
2399
|
+
---
|
|
2400
|
+
route_path: /access_codes
|
|
2401
|
+
---
|
|
2402
|
+
An [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes) was deleted.
|
|
2403
|
+
`);
|
|
2321
2404
|
var access_code_delay_in_removing_from_device_event = access_code_event.extend({
|
|
2322
2405
|
event_type: zod.z.literal("access_code.delay_in_removing_from_device")
|
|
2323
|
-
}).describe(
|
|
2324
|
-
|
|
2325
|
-
|
|
2406
|
+
}).describe(`
|
|
2407
|
+
---
|
|
2408
|
+
route_path: /access_codes
|
|
2409
|
+
---
|
|
2410
|
+
There was an unusually long delay in removing an [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes) from a device.
|
|
2411
|
+
`);
|
|
2326
2412
|
var access_code_failed_to_remove_from_device_event = access_code_event.extend({
|
|
2327
2413
|
event_type: zod.z.literal("access_code.failed_to_remove_from_device")
|
|
2328
|
-
}).describe(
|
|
2329
|
-
|
|
2330
|
-
|
|
2414
|
+
}).describe(`
|
|
2415
|
+
---
|
|
2416
|
+
route_path: /access_codes
|
|
2417
|
+
---
|
|
2418
|
+
An [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes) failed to be removed from a device.
|
|
2419
|
+
`);
|
|
2331
2420
|
var access_code_modified_external_to_seam_event = access_code_event.extend({
|
|
2332
2421
|
event_type: zod.z.literal("access_code.modified_external_to_seam")
|
|
2333
|
-
}).describe(
|
|
2334
|
-
|
|
2335
|
-
|
|
2422
|
+
}).describe(`
|
|
2423
|
+
---
|
|
2424
|
+
route_path: /access_codes
|
|
2425
|
+
---
|
|
2426
|
+
An [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes) was modified outside of Seam.
|
|
2427
|
+
`);
|
|
2336
2428
|
var access_code_deleted_external_to_seam_event = access_code_event.extend({
|
|
2337
2429
|
event_type: zod.z.literal("access_code.deleted_external_to_seam")
|
|
2338
|
-
}).describe(
|
|
2339
|
-
|
|
2340
|
-
|
|
2430
|
+
}).describe(`
|
|
2431
|
+
---
|
|
2432
|
+
route_path: /access_codes
|
|
2433
|
+
---
|
|
2434
|
+
An [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes) was deleted outside of Seam.
|
|
2435
|
+
`);
|
|
2341
2436
|
var access_code_backup_access_code_pulled_event = access_code_event.extend({
|
|
2342
2437
|
event_type: zod.z.literal("access_code.backup_access_code_pulled"),
|
|
2343
2438
|
backup_access_code_id: zod.z.string()
|
|
2344
|
-
}).describe(
|
|
2345
|
-
|
|
2346
|
-
|
|
2439
|
+
}).describe(`
|
|
2440
|
+
---
|
|
2441
|
+
route_path: /access_codes
|
|
2442
|
+
---
|
|
2443
|
+
A [backup access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes/backup-access-codes) was pulled from the backup access code pool and set on a device.
|
|
2444
|
+
`);
|
|
2347
2445
|
var unmanaged_access_code_converted_to_managed_event = access_code_event.extend({
|
|
2348
2446
|
event_type: zod.z.literal("access_code.unmanaged.converted_to_managed")
|
|
2349
|
-
}).describe(
|
|
2350
|
-
|
|
2351
|
-
|
|
2447
|
+
}).describe(`
|
|
2448
|
+
---
|
|
2449
|
+
route_path: /access_codes/unmanaged
|
|
2450
|
+
---
|
|
2451
|
+
An [unmanaged access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes/migrating-existing-access-codes) was converted successfully to a managed access code.
|
|
2452
|
+
`);
|
|
2352
2453
|
var unmanaged_access_code_failed_to_convert_to_managed_event = access_code_event.extend({
|
|
2353
|
-
event_type: zod.z.literal(
|
|
2354
|
-
|
|
2355
|
-
|
|
2356
|
-
|
|
2357
|
-
|
|
2358
|
-
)
|
|
2454
|
+
event_type: zod.z.literal("access_code.unmanaged.failed_to_convert_to_managed")
|
|
2455
|
+
}).describe(`
|
|
2456
|
+
---
|
|
2457
|
+
route_path: /access_codes/unmanaged
|
|
2458
|
+
---
|
|
2459
|
+
An [unmanaged access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes/migrating-existing-access-codes) failed to be converted to a managed access code.
|
|
2460
|
+
`);
|
|
2359
2461
|
var unmanaged_access_code_created_event = access_code_event.extend({
|
|
2360
2462
|
event_type: zod.z.literal("access_code.unmanaged.created")
|
|
2361
|
-
}).describe(
|
|
2362
|
-
|
|
2363
|
-
|
|
2463
|
+
}).describe(`
|
|
2464
|
+
---
|
|
2465
|
+
route_path: /access_codes/unmanaged
|
|
2466
|
+
---
|
|
2467
|
+
An [unmanaged access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes/migrating-existing-access-codes) was created on a device.
|
|
2468
|
+
`);
|
|
2364
2469
|
var unmanaged_access_code_removed_event = access_code_event.extend({
|
|
2365
2470
|
event_type: zod.z.literal("access_code.unmanaged.removed")
|
|
2366
|
-
}).describe(
|
|
2367
|
-
|
|
2368
|
-
|
|
2471
|
+
}).describe(`
|
|
2472
|
+
---
|
|
2473
|
+
route_path: /access_codes/unmanaged
|
|
2474
|
+
---
|
|
2475
|
+
An [unmanaged access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes/migrating-existing-access-codes) was removed from a device.
|
|
2476
|
+
`);
|
|
2369
2477
|
var access_code_events = [
|
|
2370
2478
|
access_code_created_event,
|
|
2371
2479
|
access_code_changed_event,
|
|
@@ -2400,24 +2508,41 @@ var acs_access_group_event = common_acs_event.extend({
|
|
|
2400
2508
|
});
|
|
2401
2509
|
var acs_access_group_deleted_event = acs_access_group_event.extend({
|
|
2402
2510
|
event_type: zod.z.literal("acs_access_group.deleted")
|
|
2403
|
-
}).describe(
|
|
2511
|
+
}).describe(`
|
|
2512
|
+
---
|
|
2513
|
+
route_path: /acs/access_groups
|
|
2514
|
+
---
|
|
2515
|
+
An ACS access group was deleted.
|
|
2516
|
+
`);
|
|
2404
2517
|
var acs_access_group_events = [acs_access_group_deleted_event];
|
|
2405
2518
|
var acs_credential_event = common_acs_event.extend({
|
|
2406
2519
|
acs_credential_id: zod.z.string().uuid()
|
|
2407
2520
|
});
|
|
2408
2521
|
var acs_credential_deleted_event = acs_credential_event.extend({
|
|
2409
2522
|
event_type: zod.z.literal("acs_credential.deleted")
|
|
2410
|
-
}).describe(
|
|
2411
|
-
|
|
2412
|
-
|
|
2523
|
+
}).describe(`
|
|
2524
|
+
---
|
|
2525
|
+
route_path: /acs/credentials
|
|
2526
|
+
---
|
|
2527
|
+
An [ACS credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) was deleted.
|
|
2528
|
+
`);
|
|
2413
2529
|
var acs_credential_issued = acs_credential_event.extend({
|
|
2414
2530
|
event_type: zod.z.literal("acs_credential.issued")
|
|
2531
|
+
}).describe(`
|
|
2532
|
+
---
|
|
2533
|
+
route_path: /acs/credentials
|
|
2534
|
+
---
|
|
2535
|
+
An [ACS credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) was issued.
|
|
2536
|
+
`);
|
|
2537
|
+
var acs_credential_reissued = acs_credential_event.extend({
|
|
2538
|
+
event_type: zod.z.literal("acs_credential.reissued")
|
|
2415
2539
|
}).describe(
|
|
2416
|
-
"An [ACS credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) was
|
|
2540
|
+
"An [ACS credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) was reissued."
|
|
2417
2541
|
);
|
|
2418
2542
|
var acs_credential_events = [
|
|
2419
2543
|
acs_credential_deleted_event,
|
|
2420
|
-
acs_credential_issued
|
|
2544
|
+
acs_credential_issued,
|
|
2545
|
+
acs_credential_reissued
|
|
2421
2546
|
];
|
|
2422
2547
|
var acs_encoder_event = common_acs_event.extend({
|
|
2423
2548
|
acs_encoder_id: zod.z.string().uuid().describe(
|
|
@@ -2426,14 +2551,20 @@ var acs_encoder_event = common_acs_event.extend({
|
|
|
2426
2551
|
});
|
|
2427
2552
|
var acs_encoder_added_event = acs_encoder_event.extend({
|
|
2428
2553
|
event_type: zod.z.literal("acs_encoder.added")
|
|
2429
|
-
}).describe(
|
|
2430
|
-
|
|
2431
|
-
|
|
2554
|
+
}).describe(`
|
|
2555
|
+
---
|
|
2556
|
+
route_path: /acs/encoders
|
|
2557
|
+
---
|
|
2558
|
+
An [ACS encoder](https://docs.seam.co/latest/capability-guides/access-systems/working-with-card-encoders-and-scanners) was added.
|
|
2559
|
+
`);
|
|
2432
2560
|
var acs_encoder_removed_event = acs_encoder_event.extend({
|
|
2433
2561
|
event_type: zod.z.literal("acs_encoder.removed")
|
|
2434
|
-
}).describe(
|
|
2435
|
-
|
|
2436
|
-
|
|
2562
|
+
}).describe(`
|
|
2563
|
+
---
|
|
2564
|
+
route_path: /acs/encoders
|
|
2565
|
+
---
|
|
2566
|
+
An [ACS encoder](https://docs.seam.co/latest/capability-guides/access-systems/working-with-card-encoders-and-scanners) was removed.
|
|
2567
|
+
`);
|
|
2437
2568
|
var acs_encoder_events = [
|
|
2438
2569
|
acs_encoder_added_event,
|
|
2439
2570
|
acs_encoder_removed_event
|
|
@@ -2441,19 +2572,28 @@ var acs_encoder_events = [
|
|
|
2441
2572
|
var acs_system_event = common_acs_event.extend({});
|
|
2442
2573
|
var acs_system_connected_event = acs_system_event.extend({
|
|
2443
2574
|
event_type: zod.z.literal("acs_system.connected")
|
|
2444
|
-
}).describe(
|
|
2445
|
-
|
|
2446
|
-
|
|
2575
|
+
}).describe(`
|
|
2576
|
+
---
|
|
2577
|
+
route_path: /acs/systems
|
|
2578
|
+
---
|
|
2579
|
+
An [ACS system](https://docs.seam.co/latest/capability-guides/access-systems) was connected.
|
|
2580
|
+
`);
|
|
2447
2581
|
var acs_system_disconnected_event = acs_system_event.extend({
|
|
2448
2582
|
event_type: zod.z.literal("acs_system.disconnected")
|
|
2449
|
-
}).describe(
|
|
2450
|
-
|
|
2451
|
-
|
|
2583
|
+
}).describe(`
|
|
2584
|
+
---
|
|
2585
|
+
route_path: /acs/systems
|
|
2586
|
+
---
|
|
2587
|
+
An [ACS system](https://docs.seam.co/latest/capability-guides/access-systems) was disconnected.
|
|
2588
|
+
`);
|
|
2452
2589
|
var acs_system_added_event = acs_system_event.extend({
|
|
2453
2590
|
event_type: zod.z.literal("acs_system.added")
|
|
2454
|
-
}).describe(
|
|
2455
|
-
|
|
2456
|
-
|
|
2591
|
+
}).describe(`
|
|
2592
|
+
---
|
|
2593
|
+
route_path: /acs/systems
|
|
2594
|
+
---
|
|
2595
|
+
An [ACS system](https://docs.seam.co/latest/capability-guides/access-systems) was added.
|
|
2596
|
+
`);
|
|
2457
2597
|
var acs_system_events = [
|
|
2458
2598
|
acs_system_connected_event,
|
|
2459
2599
|
acs_system_added_event,
|
|
@@ -2466,9 +2606,12 @@ var acs_user_event = common_acs_event.extend({
|
|
|
2466
2606
|
);
|
|
2467
2607
|
var acs_user_deleted_event = acs_user_event.extend({
|
|
2468
2608
|
event_type: zod.z.literal("acs_user.deleted")
|
|
2469
|
-
}).describe(
|
|
2470
|
-
|
|
2471
|
-
|
|
2609
|
+
}).describe(`
|
|
2610
|
+
---
|
|
2611
|
+
route_path: /acs/users
|
|
2612
|
+
---
|
|
2613
|
+
An [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) was deleted.
|
|
2614
|
+
`);
|
|
2472
2615
|
var acs_user_events = [acs_user_deleted_event];
|
|
2473
2616
|
|
|
2474
2617
|
// src/lib/seam/connect/models/events/acs/index.ts
|
|
@@ -2488,24 +2631,36 @@ var action_attempt_event = common_event.extend({
|
|
|
2488
2631
|
});
|
|
2489
2632
|
var action_attempt_lock_door_succeeded_event = action_attempt_event.extend({
|
|
2490
2633
|
event_type: zod.z.literal("action_attempt.lock_door.succeeded")
|
|
2491
|
-
}).describe(
|
|
2492
|
-
|
|
2493
|
-
|
|
2634
|
+
}).describe(`
|
|
2635
|
+
---
|
|
2636
|
+
route_path: /action_attempts
|
|
2637
|
+
---
|
|
2638
|
+
A lock door [action attempt](https://docs.seam.co/latest/core-concepts/action-attempts) succeeded.
|
|
2639
|
+
`);
|
|
2494
2640
|
var action_attempt_lock_door_failed_event = action_attempt_event.extend({
|
|
2495
2641
|
event_type: zod.z.literal("action_attempt.lock_door.failed")
|
|
2496
|
-
}).describe(
|
|
2497
|
-
|
|
2498
|
-
|
|
2642
|
+
}).describe(`
|
|
2643
|
+
---
|
|
2644
|
+
route_path: /action_attempts
|
|
2645
|
+
---
|
|
2646
|
+
A lock door [action attempt](https://docs.seam.co/latest/core-concepts/action-attempts) failed.
|
|
2647
|
+
`);
|
|
2499
2648
|
var action_attempt_unlock_door_succeeded_event = action_attempt_event.extend({
|
|
2500
2649
|
event_type: zod.z.literal("action_attempt.unlock_door.succeeded")
|
|
2501
|
-
}).describe(
|
|
2502
|
-
|
|
2503
|
-
|
|
2650
|
+
}).describe(`
|
|
2651
|
+
---
|
|
2652
|
+
route_path: /action_attempts
|
|
2653
|
+
---
|
|
2654
|
+
An unlock door [action attempt](https://docs.seam.co/latest/core-concepts/action-attempts) succeeded.
|
|
2655
|
+
`);
|
|
2504
2656
|
var action_attempt_unlock_door_failed_event = action_attempt_event.extend({
|
|
2505
2657
|
event_type: zod.z.literal("action_attempt.unlock_door.failed")
|
|
2506
|
-
}).describe(
|
|
2507
|
-
|
|
2508
|
-
|
|
2658
|
+
}).describe(`
|
|
2659
|
+
---
|
|
2660
|
+
route_path: /action_attempts
|
|
2661
|
+
---
|
|
2662
|
+
An unlock door [action attempt](https://docs.seam.co/latest/core-concepts/action-attempts) failed.
|
|
2663
|
+
`);
|
|
2509
2664
|
var action_attempt_events = [
|
|
2510
2665
|
action_attempt_lock_door_succeeded_event,
|
|
2511
2666
|
action_attempt_lock_door_failed_event,
|
|
@@ -2519,9 +2674,12 @@ var client_session_event = common_event.extend({
|
|
|
2519
2674
|
});
|
|
2520
2675
|
var client_session_deleted_event = client_session_event.extend({
|
|
2521
2676
|
event_type: zod.z.literal("client_session.deleted")
|
|
2522
|
-
}).describe(
|
|
2523
|
-
|
|
2524
|
-
|
|
2677
|
+
}).describe(`
|
|
2678
|
+
---
|
|
2679
|
+
route_path: /client_sessions
|
|
2680
|
+
---
|
|
2681
|
+
A [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens) was deleted.
|
|
2682
|
+
`);
|
|
2525
2683
|
var client_session_events = [client_session_deleted_event];
|
|
2526
2684
|
var connect_webview_event = common_event.extend({
|
|
2527
2685
|
connect_webview_id: zod.z.string().uuid().describe(
|
|
@@ -2534,14 +2692,20 @@ var connected_account_id = zod.z.string().uuid().describe(
|
|
|
2534
2692
|
var connect_webview_login_succeeded_event = connect_webview_event.extend({
|
|
2535
2693
|
event_type: zod.z.literal("connect_webview.login_succeeded"),
|
|
2536
2694
|
connected_account_id
|
|
2537
|
-
}).describe(
|
|
2538
|
-
|
|
2539
|
-
|
|
2695
|
+
}).describe(`
|
|
2696
|
+
---
|
|
2697
|
+
route_path: /connect_webviews
|
|
2698
|
+
---
|
|
2699
|
+
A [Connect Webview](https://docs.seam.co/latest/ui-components/connect-webviews) login succeeded.
|
|
2700
|
+
`);
|
|
2540
2701
|
var connect_webview_login_failed_event = connect_webview_event.extend({
|
|
2541
2702
|
event_type: zod.z.literal("connect_webview.login_failed")
|
|
2542
|
-
}).describe(
|
|
2543
|
-
|
|
2544
|
-
|
|
2703
|
+
}).describe(`
|
|
2704
|
+
---
|
|
2705
|
+
route_path: /connect_webviews
|
|
2706
|
+
---
|
|
2707
|
+
A [Connect Webview](https://docs.seam.co/latest/ui-components/connect-webviews) login failed.
|
|
2708
|
+
`);
|
|
2545
2709
|
var connect_webview_events = [
|
|
2546
2710
|
connect_webview_login_succeeded_event,
|
|
2547
2711
|
connect_webview_login_failed_event
|
|
@@ -2554,48 +2718,70 @@ var connected_account_event = common_event.extend({
|
|
|
2554
2718
|
var connect_webview_id = zod.z.string().uuid().describe(
|
|
2555
2719
|
"ID of the [Connect Webview](https://docs.seam.co/latest/ui-components/connect-webviews)."
|
|
2556
2720
|
);
|
|
2557
|
-
var connected_account_connected_event = connected_account_event.extend(
|
|
2558
|
-
|
|
2559
|
-
|
|
2560
|
-
|
|
2561
|
-
|
|
2562
|
-
)
|
|
2721
|
+
var connected_account_connected_event = connected_account_event.extend(
|
|
2722
|
+
{
|
|
2723
|
+
event_type: zod.z.literal("connected_account.connected"),
|
|
2724
|
+
connect_webview_id
|
|
2725
|
+
}
|
|
2726
|
+
).describe(`
|
|
2727
|
+
---
|
|
2728
|
+
route_path: /connected_accounts
|
|
2729
|
+
---
|
|
2730
|
+
A [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) was connected for the first time or was reconnected after being disconnected.
|
|
2731
|
+
`);
|
|
2563
2732
|
var connected_account_created_event = connected_account_event.extend({
|
|
2564
2733
|
event_type: zod.z.literal("connected_account.created"),
|
|
2565
2734
|
connect_webview_id
|
|
2566
|
-
}).describe(
|
|
2567
|
-
|
|
2568
|
-
|
|
2735
|
+
}).describe(`
|
|
2736
|
+
---
|
|
2737
|
+
route_path: /connected_accounts
|
|
2738
|
+
---
|
|
2739
|
+
A [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) was created.
|
|
2740
|
+
`);
|
|
2569
2741
|
var connected_account_successful_login_event = connected_account_event.extend({
|
|
2570
2742
|
event_type: zod.z.literal("connected_account.successful_login"),
|
|
2571
2743
|
connect_webview_id
|
|
2572
2744
|
}).describe(`
|
|
2573
2745
|
---
|
|
2574
2746
|
deprecated: Use \`connect_webview.login_succeeded\`.
|
|
2747
|
+
route_path: /connected_accounts
|
|
2575
2748
|
---
|
|
2576
|
-
A [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) had a successful login using a [Connect Webview](https://docs.seam.co/latest/ui-components/connect-webviews)
|
|
2749
|
+
A [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) had a successful login using a [Connect Webview](https://docs.seam.co/latest/ui-components/connect-webviews).
|
|
2750
|
+
`);
|
|
2577
2751
|
var connected_account_disconnected_event = connected_account_event.extend({
|
|
2578
2752
|
event_type: zod.z.literal("connected_account.disconnected")
|
|
2579
|
-
}).describe(
|
|
2580
|
-
|
|
2581
|
-
|
|
2753
|
+
}).describe(`
|
|
2754
|
+
---
|
|
2755
|
+
route_path: /connected_accounts
|
|
2756
|
+
---
|
|
2757
|
+
A [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) was disconnected.
|
|
2758
|
+
`);
|
|
2582
2759
|
var connected_account_completed_first_sync_event = connected_account_event.extend({
|
|
2583
2760
|
event_type: zod.z.literal("connected_account.completed_first_sync")
|
|
2584
|
-
}).describe(
|
|
2585
|
-
|
|
2586
|
-
|
|
2761
|
+
}).describe(`
|
|
2762
|
+
---
|
|
2763
|
+
route_path: /connected_accounts
|
|
2764
|
+
---
|
|
2765
|
+
A [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) completed the first sync with Seam, and the corresponding devices or systems are now available.
|
|
2766
|
+
`);
|
|
2587
2767
|
var connected_account_deleted_event = connected_account_event.extend({
|
|
2588
2768
|
event_type: zod.z.literal("connected_account.deleted")
|
|
2589
|
-
}).describe(
|
|
2590
|
-
|
|
2591
|
-
|
|
2769
|
+
}).describe(`
|
|
2770
|
+
---
|
|
2771
|
+
route_path: /connected_accounts
|
|
2772
|
+
---
|
|
2773
|
+
A [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) was deleted.
|
|
2774
|
+
`);
|
|
2592
2775
|
var connected_account_completed_first_sync_after_reconnection_event = connected_account_event.extend({
|
|
2593
2776
|
event_type: zod.z.literal(
|
|
2594
2777
|
"connected_account.completed_first_sync_after_reconnection"
|
|
2595
2778
|
)
|
|
2596
|
-
}).describe(
|
|
2597
|
-
|
|
2598
|
-
|
|
2779
|
+
}).describe(`
|
|
2780
|
+
---
|
|
2781
|
+
route_path: /connected_accounts
|
|
2782
|
+
---
|
|
2783
|
+
A [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) completed the first sync after reconnection with Seam, and the corresponding devices or systems are now available.
|
|
2784
|
+
`);
|
|
2599
2785
|
var connected_account_events = [
|
|
2600
2786
|
connected_account_connected_event,
|
|
2601
2787
|
connected_account_created_event,
|
|
@@ -2623,137 +2809,206 @@ var lock_method = zod.z.enum(["keycode", "manual", "automatic", "unknown", "seam
|
|
|
2623
2809
|
);
|
|
2624
2810
|
var device_connected_event = device_event.extend({
|
|
2625
2811
|
event_type: zod.z.literal("device.connected")
|
|
2626
|
-
}).describe(
|
|
2627
|
-
|
|
2628
|
-
|
|
2812
|
+
}).describe(`
|
|
2813
|
+
---
|
|
2814
|
+
route_path: /devices
|
|
2815
|
+
---
|
|
2816
|
+
The status of a [device](https://docs.seam.co/latest/core-concepts/devices) changed from offline to online. That is, the \`device.properties.online\` property changed from \`false\` to \`true\`. Note that some devices operate entirely in offline mode, so Seam never emits a \`device.connected\` event for these devices.
|
|
2817
|
+
`);
|
|
2629
2818
|
var device_added_event = device_event.extend({
|
|
2630
2819
|
event_type: zod.z.literal("device.added")
|
|
2631
|
-
}).describe(
|
|
2632
|
-
|
|
2633
|
-
|
|
2820
|
+
}).describe(`
|
|
2821
|
+
---
|
|
2822
|
+
route_path: /devices
|
|
2823
|
+
---
|
|
2824
|
+
A [device](https://docs.seam.co/latest/core-concepts/devices) was added to Seam or was re-added to Seam after having been removed.
|
|
2825
|
+
`);
|
|
2634
2826
|
var device_converted_to_unmanaged_event = device_event.extend({
|
|
2635
2827
|
event_type: zod.z.literal("device.converted_to_unmanaged")
|
|
2636
|
-
}).describe(
|
|
2637
|
-
|
|
2638
|
-
|
|
2828
|
+
}).describe(`
|
|
2829
|
+
---
|
|
2830
|
+
route_path: /devices
|
|
2831
|
+
---
|
|
2832
|
+
A managed device was successfully converted to an [unmanaged device](https://docs.seam.co/latest/core-concepts/devices/managed-and-unmanaged-devices).
|
|
2833
|
+
`);
|
|
2639
2834
|
var unmanaged_device_converted_to_managed_event = device_event.extend({
|
|
2640
2835
|
event_type: zod.z.literal("device.unmanaged.converted_to_managed")
|
|
2641
|
-
}).describe(
|
|
2642
|
-
|
|
2643
|
-
|
|
2836
|
+
}).describe(`
|
|
2837
|
+
---
|
|
2838
|
+
route_path: /devices/unmanaged
|
|
2839
|
+
---
|
|
2840
|
+
An [unmanaged device](https://docs.seam.co/latest/core-concepts/devices/managed-and-unmanaged-devices) was successfully converted to a managed device.
|
|
2841
|
+
`);
|
|
2644
2842
|
var unmanaged_device_connected_event = device_event.extend({
|
|
2645
2843
|
event_type: zod.z.literal("device.unmanaged.connected")
|
|
2646
|
-
}).describe(
|
|
2647
|
-
|
|
2648
|
-
|
|
2844
|
+
}).describe(`
|
|
2845
|
+
---
|
|
2846
|
+
route_path: /devices/unmanaged
|
|
2847
|
+
---
|
|
2848
|
+
The status of an [unmanaged device](https://docs.seam.co/latest/core-concepts/devices/managed-and-unmanaged-devices) changed from offline to online. That is, the \`device.properties.online\` property changed from \`false\` to \`true\`.
|
|
2849
|
+
`);
|
|
2649
2850
|
var device_disconnected_event = device_event.extend({
|
|
2650
2851
|
event_type: zod.z.literal("device.disconnected"),
|
|
2651
2852
|
error_code: disconnection_error_code
|
|
2652
|
-
}).describe(
|
|
2653
|
-
|
|
2654
|
-
|
|
2853
|
+
}).describe(`
|
|
2854
|
+
---
|
|
2855
|
+
route_path: /devices
|
|
2856
|
+
---
|
|
2857
|
+
The status of a [device](https://docs.seam.co/latest/core-concepts/devices) changed from online to offline. That is, the \`device.properties.online\` property changed from \`true\` to \`false\`.
|
|
2858
|
+
`);
|
|
2655
2859
|
var unmanaged_device_disconnected_event = device_event.extend({
|
|
2656
2860
|
event_type: zod.z.literal("device.unmanaged.disconnected"),
|
|
2657
2861
|
error_code: disconnection_error_code
|
|
2658
|
-
}).describe(
|
|
2659
|
-
|
|
2660
|
-
|
|
2862
|
+
}).describe(`
|
|
2863
|
+
---
|
|
2864
|
+
route_path: /devices/unmanaged
|
|
2865
|
+
---
|
|
2866
|
+
The status of an [unmanaged device](https://docs.seam.co/latest/core-concepts/devices/managed-and-unmanaged-devices) changed from online to offline. That is, the \`device.properties.online\` property changed from \`true\` to \`false\`.
|
|
2867
|
+
`);
|
|
2661
2868
|
var device_tampered_event = device_event.extend({
|
|
2662
2869
|
event_type: zod.z.literal("device.tampered")
|
|
2663
|
-
}).describe(
|
|
2664
|
-
|
|
2665
|
-
|
|
2870
|
+
}).describe(`
|
|
2871
|
+
---
|
|
2872
|
+
route_path: /devices
|
|
2873
|
+
---
|
|
2874
|
+
A [device](https://docs.seam.co/latest/core-concepts/devices) detected that it was tampered with, for example, opened or moved.
|
|
2875
|
+
`);
|
|
2666
2876
|
var device_low_battery_event = device_event.extend({
|
|
2667
2877
|
event_type: zod.z.literal("device.low_battery"),
|
|
2668
2878
|
battery_level
|
|
2669
|
-
}).describe(
|
|
2670
|
-
|
|
2671
|
-
|
|
2879
|
+
}).describe(`
|
|
2880
|
+
---
|
|
2881
|
+
route_path: /devices
|
|
2882
|
+
---
|
|
2883
|
+
A [device](https://docs.seam.co/latest/core-concepts/devices) battery level dropped below the low threshold.
|
|
2884
|
+
`);
|
|
2672
2885
|
var device_battery_status_changed_event = device_event.extend({
|
|
2673
2886
|
event_type: zod.z.literal("device.battery_status_changed"),
|
|
2674
2887
|
battery_status: device_battery_status,
|
|
2675
2888
|
battery_level
|
|
2676
|
-
}).describe(
|
|
2677
|
-
|
|
2678
|
-
|
|
2889
|
+
}).describe(`
|
|
2890
|
+
---
|
|
2891
|
+
route_path: /devices
|
|
2892
|
+
---
|
|
2893
|
+
A [device](https://docs.seam.co/latest/core-concepts/devices) battery status changed since the last \`battery_status_changed\` event.
|
|
2894
|
+
`);
|
|
2679
2895
|
var device_removed_event = device_event.extend({
|
|
2680
2896
|
event_type: zod.z.literal("device.removed")
|
|
2681
|
-
}).describe(
|
|
2682
|
-
|
|
2683
|
-
|
|
2897
|
+
}).describe(`
|
|
2898
|
+
---
|
|
2899
|
+
route_path: /devices
|
|
2900
|
+
---
|
|
2901
|
+
A [device](https://docs.seam.co/latest/core-concepts/devices) was removed externally from the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts).
|
|
2902
|
+
`);
|
|
2684
2903
|
var device_deleted_event = device_event.extend({
|
|
2685
2904
|
event_type: zod.z.literal("device.deleted")
|
|
2686
|
-
}).describe(
|
|
2687
|
-
|
|
2688
|
-
|
|
2905
|
+
}).describe(`
|
|
2906
|
+
---
|
|
2907
|
+
route_path: /devices
|
|
2908
|
+
---
|
|
2909
|
+
A [device](https://docs.seam.co/latest/core-concepts/devices) was deleted.
|
|
2910
|
+
`);
|
|
2689
2911
|
var device_third_party_integration_detected_event = device_event.extend({
|
|
2690
2912
|
event_type: zod.z.literal("device.third_party_integration_detected")
|
|
2691
|
-
}).describe(
|
|
2692
|
-
|
|
2693
|
-
|
|
2913
|
+
}).describe(`
|
|
2914
|
+
---
|
|
2915
|
+
route_path: /devices
|
|
2916
|
+
---
|
|
2917
|
+
Seam detected that a [device](https://docs.seam.co/latest/core-concepts/devices) is using a third-party integration that will interfere with Seam device management.
|
|
2918
|
+
`);
|
|
2694
2919
|
var device_third_party_integration_no_longer_detected_event = device_event.extend({
|
|
2695
|
-
event_type: zod.z.literal(
|
|
2696
|
-
|
|
2697
|
-
|
|
2698
|
-
|
|
2699
|
-
|
|
2700
|
-
)
|
|
2920
|
+
event_type: zod.z.literal("device.third_party_integration_no_longer_detected")
|
|
2921
|
+
}).describe(`
|
|
2922
|
+
---
|
|
2923
|
+
route_path: /devices
|
|
2924
|
+
---
|
|
2925
|
+
Seam detected that a [device](https://docs.seam.co/latest/core-concepts/devices) is no longer using a third-party integration that was interfering with Seam device management.
|
|
2926
|
+
`);
|
|
2701
2927
|
var device_salto_privacy_mode_activated_event = device_event.extend({
|
|
2702
2928
|
event_type: zod.z.literal("device.salto.privacy_mode_activated")
|
|
2703
|
-
}).describe(
|
|
2704
|
-
|
|
2705
|
-
|
|
2929
|
+
}).describe(`
|
|
2930
|
+
---
|
|
2931
|
+
route_path: /devices
|
|
2932
|
+
---
|
|
2933
|
+
A [Salto device](https://docs.seam.co/latest/device-and-system-integration-guides/salto-locks) activated privacy mode.
|
|
2934
|
+
`);
|
|
2706
2935
|
var device_salto_privacy_mode_deactivated_event = device_event.extend({
|
|
2707
2936
|
event_type: zod.z.literal("device.salto.privacy_mode_deactivated")
|
|
2708
|
-
}).describe(
|
|
2709
|
-
|
|
2710
|
-
|
|
2937
|
+
}).describe(`
|
|
2938
|
+
---
|
|
2939
|
+
route_path: /devices
|
|
2940
|
+
---
|
|
2941
|
+
A [Salto device](https://docs.seam.co/latest/device-and-system-integration-guides/salto-locks) deactivated privacy mode.
|
|
2942
|
+
`);
|
|
2711
2943
|
var device_connection_became_flaky_event = device_event.extend({
|
|
2712
2944
|
event_type: zod.z.literal("device.connection_became_flaky")
|
|
2713
|
-
}).describe(
|
|
2714
|
-
|
|
2715
|
-
|
|
2945
|
+
}).describe(`
|
|
2946
|
+
---
|
|
2947
|
+
route_path: /devices
|
|
2948
|
+
---
|
|
2949
|
+
Seam detected a flaky [device](https://docs.seam.co/latest/core-concepts/devices) connection.
|
|
2950
|
+
`);
|
|
2716
2951
|
var device_connection_stabilized_event = device_event.extend({
|
|
2717
2952
|
event_type: zod.z.literal("device.connection_stabilized")
|
|
2718
|
-
}).describe(
|
|
2719
|
-
|
|
2720
|
-
|
|
2953
|
+
}).describe(`
|
|
2954
|
+
---
|
|
2955
|
+
route_path: /devices
|
|
2956
|
+
---
|
|
2957
|
+
Seam detected that a previously-flaky [device](https://docs.seam.co/latest/core-concepts/devices) connection stabilized.
|
|
2958
|
+
`);
|
|
2721
2959
|
var device_error_subscription_required_event = device_event.extend({
|
|
2722
2960
|
event_type: zod.z.literal("device.error.subscription_required")
|
|
2723
|
-
}).describe(
|
|
2724
|
-
|
|
2725
|
-
|
|
2961
|
+
}).describe(`
|
|
2962
|
+
---
|
|
2963
|
+
route_path: /devices
|
|
2964
|
+
---
|
|
2965
|
+
A third-party subscription is required to use all [device](https://docs.seam.co/latest/core-concepts/devices) features.
|
|
2966
|
+
`);
|
|
2726
2967
|
var device_error_subscription_required_resolved_event = device_event.extend({
|
|
2727
2968
|
event_type: zod.z.literal("device.error.subscription_required.resolved")
|
|
2728
|
-
}).describe(
|
|
2729
|
-
|
|
2730
|
-
|
|
2969
|
+
}).describe(`
|
|
2970
|
+
---
|
|
2971
|
+
route_path: /devices
|
|
2972
|
+
---
|
|
2973
|
+
A third-party subscription is active or no longer required to use all [device](https://docs.seam.co/latest/core-concepts/devices) features.
|
|
2974
|
+
`);
|
|
2731
2975
|
var device_accessory_keypad_connected_event = device_event.extend({
|
|
2732
2976
|
event_type: zod.z.literal("device.accessory_keypad_connected")
|
|
2733
|
-
}).describe(
|
|
2734
|
-
|
|
2735
|
-
|
|
2977
|
+
}).describe(`
|
|
2978
|
+
---
|
|
2979
|
+
route_path: /devices
|
|
2980
|
+
---
|
|
2981
|
+
An accessory keypad was connected to a [device](https://docs.seam.co/latest/core-concepts/devices).
|
|
2982
|
+
`);
|
|
2736
2983
|
var device_accessory_keypad_disconnected_event = device_event.extend({
|
|
2737
2984
|
event_type: zod.z.literal("device.accessory_keypad_disconnected")
|
|
2738
|
-
}).describe(
|
|
2739
|
-
|
|
2740
|
-
|
|
2741
|
-
|
|
2742
|
-
|
|
2743
|
-
|
|
2744
|
-
|
|
2745
|
-
|
|
2746
|
-
|
|
2747
|
-
|
|
2748
|
-
|
|
2749
|
-
|
|
2750
|
-
|
|
2751
|
-
|
|
2752
|
-
|
|
2753
|
-
|
|
2754
|
-
|
|
2755
|
-
|
|
2756
|
-
)
|
|
2985
|
+
}).describe(`
|
|
2986
|
+
---
|
|
2987
|
+
route_path: /devices
|
|
2988
|
+
---
|
|
2989
|
+
An accessory keypad was disconnected from a [device](https://docs.seam.co/latest/core-concepts/devices).
|
|
2990
|
+
`);
|
|
2991
|
+
var noise_sensor_noise_threshold_triggered_event = device_event.extend(
|
|
2992
|
+
{
|
|
2993
|
+
event_type: zod.z.literal("noise_sensor.noise_threshold_triggered"),
|
|
2994
|
+
noise_level_decibels: zod.z.number().optional().describe("Detected noise level in decibels."),
|
|
2995
|
+
noise_level_nrs: zod.z.number().optional().describe("Detected noise level in Noiseaware Noise Risk Score (NRS)."),
|
|
2996
|
+
noise_threshold_id: zod.z.string().uuid().optional().describe(
|
|
2997
|
+
"ID of the [noise threshold](https://docs.seam.co/latest/capability-guides/noise-sensors#what-is-a-threshold) that was triggered."
|
|
2998
|
+
),
|
|
2999
|
+
noise_threshold_name: zod.z.string().optional().describe(
|
|
3000
|
+
"Name of the [noise threshold](https://docs.seam.co/latest/capability-guides/noise-sensors#what-is-a-threshold) that was triggered."
|
|
3001
|
+
),
|
|
3002
|
+
// TODO: remove metadata from this event
|
|
3003
|
+
noiseaware_metadata: zod.z.record(zod.z.unknown()).optional().describe("Metadata from Noiseaware."),
|
|
3004
|
+
minut_metadata: zod.z.record(zod.z.unknown()).optional().describe("Metadata from Minut.")
|
|
3005
|
+
}
|
|
3006
|
+
).describe(`
|
|
3007
|
+
---
|
|
3008
|
+
route_path: /noise_sensors/noise_thresholds
|
|
3009
|
+
---
|
|
3010
|
+
Extended periods of noise or noise exceeding a [threshold](https://docs.seam.co/latest/capability-guides/noise-sensors#what-is-a-threshold) were detected.
|
|
3011
|
+
`);
|
|
2757
3012
|
var lock_locked_event = device_event.extend({
|
|
2758
3013
|
event_type: zod.z.literal("lock.locked"),
|
|
2759
3014
|
access_code_id: zod.z.string().uuid().optional().describe(
|
|
@@ -2765,9 +3020,12 @@ var lock_locked_event = device_event.extend({
|
|
|
2765
3020
|
method: lock_method.describe(
|
|
2766
3021
|
"Method by which a [lock device](https://docs.seam.co/latest/capability-guides/smart-locks) was locked. When the method is `keycode`, the `access_code_id` indicates the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes) that was used, if reported by the device."
|
|
2767
3022
|
)
|
|
2768
|
-
}).describe(
|
|
2769
|
-
|
|
2770
|
-
|
|
3023
|
+
}).describe(`
|
|
3024
|
+
---
|
|
3025
|
+
route_path: /locks
|
|
3026
|
+
---
|
|
3027
|
+
A [lock](https://docs.seam.co/latest/capability-guides/smart-locks) was locked.
|
|
3028
|
+
`);
|
|
2771
3029
|
var lock_unlocked_event = device_event.extend({
|
|
2772
3030
|
event_type: zod.z.literal("lock.unlocked"),
|
|
2773
3031
|
access_code_id: zod.z.string().uuid().optional().describe(
|
|
@@ -2779,17 +3037,23 @@ var lock_unlocked_event = device_event.extend({
|
|
|
2779
3037
|
method: lock_method.describe(
|
|
2780
3038
|
"Method by which a [lock device](https://docs.seam.co/latest/capability-guides/smart-locks) was unlocked. When the method is `keycode`, the `access_code_id` indicates the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes) that was used, if reported by the device."
|
|
2781
3039
|
)
|
|
2782
|
-
}).describe(
|
|
2783
|
-
|
|
2784
|
-
|
|
3040
|
+
}).describe(`
|
|
3041
|
+
---
|
|
3042
|
+
route_path: /locks
|
|
3043
|
+
---
|
|
3044
|
+
A [lock](https://docs.seam.co/latest/capability-guides/smart-locks) was unlocked.
|
|
3045
|
+
`);
|
|
2785
3046
|
var lock_access_denied_event = device_event.extend({
|
|
2786
3047
|
event_type: zod.z.literal("lock.access_denied"),
|
|
2787
3048
|
access_code_id: zod.z.string().uuid().optional().describe(
|
|
2788
3049
|
"ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes) that was used in the unlock attempts."
|
|
2789
3050
|
)
|
|
2790
|
-
}).describe(
|
|
2791
|
-
|
|
2792
|
-
|
|
3051
|
+
}).describe(`
|
|
3052
|
+
---
|
|
3053
|
+
route_path: /locks
|
|
3054
|
+
---
|
|
3055
|
+
The [lock](https://docs.seam.co/latest/capability-guides/smart-locks) denied access to a user after one or more consecutive invalid attempts to unlock the device.
|
|
3056
|
+
`);
|
|
2793
3057
|
var thermostat_climate_preset_activated_event = device_event.extend({
|
|
2794
3058
|
event_type: zod.z.literal("thermostat.climate_preset_activated"),
|
|
2795
3059
|
thermostat_schedule_id: zod.z.string().uuid().nullable().describe(
|
|
@@ -2801,9 +3065,12 @@ var thermostat_climate_preset_activated_event = device_event.extend({
|
|
|
2801
3065
|
is_fallback_climate_preset: zod.z.boolean().describe(
|
|
2802
3066
|
"Indicates whether the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) that was activated is the [fallback climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets/setting-the-fallback-climate-preset) for the [thermostat](https://docs.seam.co/latest/capability-guides/thermostats)."
|
|
2803
3067
|
)
|
|
2804
|
-
}).describe(
|
|
2805
|
-
|
|
2806
|
-
|
|
3068
|
+
}).describe(`
|
|
3069
|
+
---
|
|
3070
|
+
route_path: /thermostats
|
|
3071
|
+
---
|
|
3072
|
+
A thermostat [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) was activated.
|
|
3073
|
+
`);
|
|
2807
3074
|
var thermostat_manually_adjusted_method = zod.z.enum(["seam", "external"]).describe(
|
|
2808
3075
|
"Method used to adjust the [thermostat](https://docs.seam.co/latest/capability-guides/thermostats) manually. `seam` indicates that the Seam API, Seam CLI, or Seam Console was used to adjust the [thermostat](https://docs.seam.co/latest/capability-guides/thermostats)."
|
|
2809
3076
|
);
|
|
@@ -2819,9 +3086,12 @@ var thermostat_manually_adjusted_event = device_event.extend({
|
|
|
2819
3086
|
cooling_set_point_fahrenheit: true,
|
|
2820
3087
|
heating_set_point_fahrenheit: true
|
|
2821
3088
|
})
|
|
2822
|
-
).describe(
|
|
2823
|
-
|
|
2824
|
-
|
|
3089
|
+
).describe(`
|
|
3090
|
+
---
|
|
3091
|
+
route_path: /thermostats
|
|
3092
|
+
---
|
|
3093
|
+
A [thermostat](https://docs.seam.co/latest/capability-guides/thermostats) was adjusted manually.
|
|
3094
|
+
`);
|
|
2825
3095
|
var temperature_threshold_exceeded_event = device_event.extend({
|
|
2826
3096
|
event_type: zod.z.literal("thermostat.temperature_threshold_exceeded"),
|
|
2827
3097
|
temperature_celsius: zod.z.number().describe(
|
|
@@ -2842,9 +3112,12 @@ var temperature_threshold_exceeded_event = device_event.extend({
|
|
|
2842
3112
|
lower_limit_fahrenheit: zod.z.number().nullable().describe(
|
|
2843
3113
|
"Lower temperature limit, in \xB0F, defined by the set [threshold](https://docs.seam.co/latest/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds)."
|
|
2844
3114
|
)
|
|
2845
|
-
}).describe(
|
|
2846
|
-
|
|
2847
|
-
|
|
3115
|
+
}).describe(`
|
|
3116
|
+
---
|
|
3117
|
+
route_path: /thermostats
|
|
3118
|
+
---
|
|
3119
|
+
A [thermostat's](https://docs.seam.co/latest/capability-guides/thermostats) temperature reading exceeded the set [threshold](https://docs.seam.co/latest/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds).
|
|
3120
|
+
`);
|
|
2848
3121
|
var temperature_threshold_no_longer_exceeded_event = device_event.extend({
|
|
2849
3122
|
event_type: zod.z.literal(
|
|
2850
3123
|
"thermostat.temperature_threshold_no_longer_exceeded"
|
|
@@ -2867,9 +3140,12 @@ var temperature_threshold_no_longer_exceeded_event = device_event.extend({
|
|
|
2867
3140
|
lower_limit_fahrenheit: zod.z.number().nullable().describe(
|
|
2868
3141
|
"Lower temperature limit, in \xB0F, defined by the set [threshold](https://docs.seam.co/latest/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds)."
|
|
2869
3142
|
)
|
|
2870
|
-
}).describe(
|
|
2871
|
-
|
|
2872
|
-
|
|
3143
|
+
}).describe(`
|
|
3144
|
+
---
|
|
3145
|
+
route_path: /thermostats
|
|
3146
|
+
---
|
|
3147
|
+
A [thermostat's](https://docs.seam.co/latest/capability-guides/thermostats) temperature reading no longer exceeds the set [threshold](https://docs.seam.co/latest/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds).
|
|
3148
|
+
`);
|
|
2873
3149
|
var temperature_reached_set_point_event = device_event.extend({
|
|
2874
3150
|
event_type: zod.z.literal("thermostat.temperature_reached_set_point"),
|
|
2875
3151
|
temperature_celsius: zod.z.number().describe("Temperature, in \xB0C, reported by the thermostat."),
|
|
@@ -2880,7 +3156,11 @@ var temperature_reached_set_point_event = device_event.extend({
|
|
|
2880
3156
|
desired_temperature_fahrenheit: zod.z.number().optional().describe(
|
|
2881
3157
|
"Desired temperature, in \xB0F, set by the thermostat's cooling or heating set point."
|
|
2882
3158
|
)
|
|
2883
|
-
})
|
|
3159
|
+
}).describe(`
|
|
3160
|
+
---
|
|
3161
|
+
route_path: /thermostats
|
|
3162
|
+
---
|
|
3163
|
+
`);
|
|
2884
3164
|
var device_events = [
|
|
2885
3165
|
device_connected_event,
|
|
2886
3166
|
device_added_event,
|
|
@@ -2921,9 +3201,12 @@ var enrollment_automation_event = common_event.extend({
|
|
|
2921
3201
|
});
|
|
2922
3202
|
var enrollment_automation_deleted_event = enrollment_automation_event.extend({
|
|
2923
3203
|
event_type: zod.z.literal("enrollment_automation.deleted")
|
|
2924
|
-
}).describe(
|
|
2925
|
-
|
|
2926
|
-
|
|
3204
|
+
}).describe(`
|
|
3205
|
+
---
|
|
3206
|
+
route_path: /user_identities/enrollment_automations
|
|
3207
|
+
---
|
|
3208
|
+
An [enrollment automation](https://docs.seam.co/latest/capability-guides/mobile-access/issuing-mobile-credentials-from-an-access-control-system#prepare-the-phones-for-a-user-identity-to-start-receiving-mobile-credentials-using-an-enrollment-aut) was deleted.
|
|
3209
|
+
`);
|
|
2927
3210
|
var enrollment_automation_events = [
|
|
2928
3211
|
enrollment_automation_deleted_event
|
|
2929
3212
|
];
|
|
@@ -2934,7 +3217,12 @@ var phone_event = common_event.extend({
|
|
|
2934
3217
|
});
|
|
2935
3218
|
var phone_deactivated_event = phone_event.extend({
|
|
2936
3219
|
event_type: zod.z.literal("phone.deactivated")
|
|
2937
|
-
}).describe(
|
|
3220
|
+
}).describe(`
|
|
3221
|
+
---
|
|
3222
|
+
route_path: /phones
|
|
3223
|
+
---
|
|
3224
|
+
A phone device was deactivated.
|
|
3225
|
+
`);
|
|
2938
3226
|
var phone_events = [phone_deactivated_event];
|
|
2939
3227
|
|
|
2940
3228
|
// src/lib/seam/connect/models/events/seam-event.ts
|
|
@@ -2948,7 +3236,11 @@ var seam_event = zod.z.discriminatedUnion("event_type", [
|
|
|
2948
3236
|
...device_events,
|
|
2949
3237
|
...enrollment_automation_events,
|
|
2950
3238
|
...phone_events
|
|
2951
|
-
])
|
|
3239
|
+
]).describe(`
|
|
3240
|
+
---
|
|
3241
|
+
route_path: /events
|
|
3242
|
+
---
|
|
3243
|
+
`);
|
|
2952
3244
|
var noise_threshold = zod.z.object({
|
|
2953
3245
|
noise_threshold_id: zod.z.string().uuid(),
|
|
2954
3246
|
device_id: zod.z.string().uuid(),
|
|
@@ -2959,7 +3251,11 @@ var noise_threshold = zod.z.object({
|
|
|
2959
3251
|
ends_daily_at: zod.z.string(),
|
|
2960
3252
|
// TODO: zoned_time
|
|
2961
3253
|
noise_threshold_decibels: zod.z.number()
|
|
2962
|
-
})
|
|
3254
|
+
}).describe(`
|
|
3255
|
+
---
|
|
3256
|
+
route_path: /noise_sensors/noise_thresholds
|
|
3257
|
+
---
|
|
3258
|
+
`);
|
|
2963
3259
|
var user_identity = zod.z.object({
|
|
2964
3260
|
user_identity_id: zod.z.string().uuid().describe("ID of the user identity."),
|
|
2965
3261
|
user_identity_key: zod.z.string().min(1).nullable().describe("Unique key for the user identity."),
|
|
@@ -2973,15 +3269,22 @@ var user_identity = zod.z.object({
|
|
|
2973
3269
|
workspace_id: zod.z.string().uuid().describe(
|
|
2974
3270
|
"ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the user identity."
|
|
2975
3271
|
)
|
|
2976
|
-
}).describe(
|
|
2977
|
-
|
|
2978
|
-
|
|
3272
|
+
}).describe(`
|
|
3273
|
+
---
|
|
3274
|
+
route_path: /user_identities
|
|
3275
|
+
---
|
|
3276
|
+
Represents a [user identity](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) associated with an application user account.
|
|
3277
|
+
`);
|
|
2979
3278
|
var webhook = zod.z.object({
|
|
2980
3279
|
webhook_id: zod.z.string(),
|
|
2981
3280
|
url: zod.z.string(),
|
|
2982
3281
|
event_types: zod.z.array(zod.z.string()).optional(),
|
|
2983
3282
|
secret: zod.z.string().optional()
|
|
2984
|
-
})
|
|
3283
|
+
}).describe(`
|
|
3284
|
+
---
|
|
3285
|
+
route_path: /webhooks
|
|
3286
|
+
---
|
|
3287
|
+
`);
|
|
2985
3288
|
var workspace = zod.z.object({
|
|
2986
3289
|
workspace_id: zod.z.string().uuid(),
|
|
2987
3290
|
name: zod.z.string(),
|
|
@@ -2994,7 +3297,11 @@ var workspace = zod.z.object({
|
|
|
2994
3297
|
---
|
|
2995
3298
|
`
|
|
2996
3299
|
).nullable()
|
|
2997
|
-
})
|
|
3300
|
+
}).describe(`
|
|
3301
|
+
---
|
|
3302
|
+
route_path: /workspaces
|
|
3303
|
+
---
|
|
3304
|
+
`);
|
|
2998
3305
|
|
|
2999
3306
|
// src/lib/seam/connect/openapi.ts
|
|
3000
3307
|
var openapi_default = {
|
|
@@ -3343,7 +3650,8 @@ var openapi_default = {
|
|
|
3343
3650
|
"is_one_time_use",
|
|
3344
3651
|
"is_offline_access_code"
|
|
3345
3652
|
],
|
|
3346
|
-
type: "object"
|
|
3653
|
+
type: "object",
|
|
3654
|
+
"x-route-path": "/access_codes"
|
|
3347
3655
|
},
|
|
3348
3656
|
acs_access_group: {
|
|
3349
3657
|
description: "Group that defines the entrances to which a set of users has access and, in some cases, the access schedule for these entrances and users.\nThe `acs_access_group` object represents an [access group](https://docs.seam.co/latest/capability-guides/access-systems/assigning-users-to-access-groups) within an [access control system](https://docs.seam.co/latest/capability-guides/access-systems).",
|
|
@@ -3445,7 +3753,8 @@ var openapi_default = {
|
|
|
3445
3753
|
"warnings",
|
|
3446
3754
|
"is_managed"
|
|
3447
3755
|
],
|
|
3448
|
-
type: "object"
|
|
3756
|
+
type: "object",
|
|
3757
|
+
"x-route-path": "/acs/access_groups"
|
|
3449
3758
|
},
|
|
3450
3759
|
acs_credential: {
|
|
3451
3760
|
description: "Means by which a user gains access at an entrance.\nThe `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code.",
|
|
@@ -3682,6 +3991,27 @@ var openapi_default = {
|
|
|
3682
3991
|
},
|
|
3683
3992
|
required: ["created_at", "message", "warning_code"],
|
|
3684
3993
|
type: "object"
|
|
3994
|
+
},
|
|
3995
|
+
{
|
|
3996
|
+
description: "Access permissions for this [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) have changed. [Reissue](https://docs.seam.co/latest/capability-guides/access-systems/working-with-card-encoders-and-scanners/creating-and-encoding-card-based-credentials) (re-encode) this credential. This issue may affect the proper functioning of the credential.",
|
|
3997
|
+
properties: {
|
|
3998
|
+
created_at: {
|
|
3999
|
+
description: "Date and time at which Seam created the warning.",
|
|
4000
|
+
format: "date-time",
|
|
4001
|
+
type: "string"
|
|
4002
|
+
},
|
|
4003
|
+
message: {
|
|
4004
|
+
description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
|
|
4005
|
+
type: "string"
|
|
4006
|
+
},
|
|
4007
|
+
warning_code: {
|
|
4008
|
+
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
4009
|
+
enum: ["needs_to_be_reissued"],
|
|
4010
|
+
type: "string"
|
|
4011
|
+
}
|
|
4012
|
+
},
|
|
4013
|
+
required: ["created_at", "message", "warning_code"],
|
|
4014
|
+
type: "object"
|
|
3685
4015
|
}
|
|
3686
4016
|
]
|
|
3687
4017
|
},
|
|
@@ -3725,7 +4055,8 @@ var openapi_default = {
|
|
|
3725
4055
|
"created_at",
|
|
3726
4056
|
"workspace_id"
|
|
3727
4057
|
],
|
|
3728
|
-
type: "object"
|
|
4058
|
+
type: "object",
|
|
4059
|
+
"x-route-path": "/acs/credential_pools"
|
|
3729
4060
|
},
|
|
3730
4061
|
acs_credential_provisioning_automation: {
|
|
3731
4062
|
properties: {
|
|
@@ -3745,7 +4076,8 @@ var openapi_default = {
|
|
|
3745
4076
|
"created_at",
|
|
3746
4077
|
"workspace_id"
|
|
3747
4078
|
],
|
|
3748
|
-
type: "object"
|
|
4079
|
+
type: "object",
|
|
4080
|
+
"x-route-path": "/acs/credential_provisioning_automations"
|
|
3749
4081
|
},
|
|
3750
4082
|
acs_entrance: {
|
|
3751
4083
|
description: "Represents an [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details) within an [access control system](https://docs.seam.co/latest/capability-guides/access-systems).",
|
|
@@ -3784,10 +4116,7 @@ var openapi_default = {
|
|
|
3784
4116
|
type: "string"
|
|
3785
4117
|
},
|
|
3786
4118
|
dormakaba_community_metadata: {
|
|
3787
|
-
properties: {
|
|
3788
|
-
access_point_name: { type: "string" },
|
|
3789
|
-
common_area_number: { format: "float", type: "number" }
|
|
3790
|
-
},
|
|
4119
|
+
properties: { access_point_name: { type: "string" } },
|
|
3791
4120
|
required: ["access_point_name"],
|
|
3792
4121
|
type: "object"
|
|
3793
4122
|
},
|
|
@@ -3887,7 +4216,8 @@ var openapi_default = {
|
|
|
3887
4216
|
"display_name",
|
|
3888
4217
|
"errors"
|
|
3889
4218
|
],
|
|
3890
|
-
type: "object"
|
|
4219
|
+
type: "object",
|
|
4220
|
+
"x-route-path": "/acs/entrances"
|
|
3891
4221
|
},
|
|
3892
4222
|
acs_system: {
|
|
3893
4223
|
description: "Represents an [access control system](https://docs.seam.co/latest/capability-guides/access-systems).",
|
|
@@ -4234,7 +4564,8 @@ var openapi_default = {
|
|
|
4234
4564
|
"errors",
|
|
4235
4565
|
"warnings"
|
|
4236
4566
|
],
|
|
4237
|
-
type: "object"
|
|
4567
|
+
type: "object",
|
|
4568
|
+
"x-route-path": "/acs/systems"
|
|
4238
4569
|
},
|
|
4239
4570
|
acs_user: {
|
|
4240
4571
|
description: "Represents a [user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) in an [access control system](https://docs.seam.co/latest/capability-guides/access-systems).",
|
|
@@ -4504,7 +4835,8 @@ var openapi_default = {
|
|
|
4504
4835
|
"errors",
|
|
4505
4836
|
"is_managed"
|
|
4506
4837
|
],
|
|
4507
|
-
type: "object"
|
|
4838
|
+
type: "object",
|
|
4839
|
+
"x-route-path": "/acs/users"
|
|
4508
4840
|
},
|
|
4509
4841
|
action_attempt: {
|
|
4510
4842
|
oneOf: [
|
|
@@ -5045,6 +5377,31 @@ var openapi_default = {
|
|
|
5045
5377
|
"warning_code"
|
|
5046
5378
|
],
|
|
5047
5379
|
type: "object"
|
|
5380
|
+
},
|
|
5381
|
+
{
|
|
5382
|
+
description: "Access permissions for this [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) have changed. [Reissue](https://docs.seam.co/latest/capability-guides/access-systems/working-with-card-encoders-and-scanners/creating-and-encoding-card-based-credentials) (re-encode) this credential. This issue may affect the proper functioning of the credential.",
|
|
5383
|
+
properties: {
|
|
5384
|
+
created_at: {
|
|
5385
|
+
description: "Date and time at which Seam created the warning.",
|
|
5386
|
+
format: "date-time",
|
|
5387
|
+
type: "string"
|
|
5388
|
+
},
|
|
5389
|
+
message: {
|
|
5390
|
+
description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
|
|
5391
|
+
type: "string"
|
|
5392
|
+
},
|
|
5393
|
+
warning_code: {
|
|
5394
|
+
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
5395
|
+
enum: ["needs_to_be_reissued"],
|
|
5396
|
+
type: "string"
|
|
5397
|
+
}
|
|
5398
|
+
},
|
|
5399
|
+
required: [
|
|
5400
|
+
"created_at",
|
|
5401
|
+
"message",
|
|
5402
|
+
"warning_code"
|
|
5403
|
+
],
|
|
5404
|
+
type: "object"
|
|
5048
5405
|
}
|
|
5049
5406
|
]
|
|
5050
5407
|
},
|
|
@@ -5336,6 +5693,31 @@ var openapi_default = {
|
|
|
5336
5693
|
"warning_code"
|
|
5337
5694
|
],
|
|
5338
5695
|
type: "object"
|
|
5696
|
+
},
|
|
5697
|
+
{
|
|
5698
|
+
description: "Access permissions for this [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) have changed. [Reissue](https://docs.seam.co/latest/capability-guides/access-systems/working-with-card-encoders-and-scanners/creating-and-encoding-card-based-credentials) (re-encode) this credential. This issue may affect the proper functioning of the credential.",
|
|
5699
|
+
properties: {
|
|
5700
|
+
created_at: {
|
|
5701
|
+
description: "Date and time at which Seam created the warning.",
|
|
5702
|
+
format: "date-time",
|
|
5703
|
+
type: "string"
|
|
5704
|
+
},
|
|
5705
|
+
message: {
|
|
5706
|
+
description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
|
|
5707
|
+
type: "string"
|
|
5708
|
+
},
|
|
5709
|
+
warning_code: {
|
|
5710
|
+
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
5711
|
+
enum: ["needs_to_be_reissued"],
|
|
5712
|
+
type: "string"
|
|
5713
|
+
}
|
|
5714
|
+
},
|
|
5715
|
+
required: [
|
|
5716
|
+
"created_at",
|
|
5717
|
+
"message",
|
|
5718
|
+
"warning_code"
|
|
5719
|
+
],
|
|
5720
|
+
type: "object"
|
|
5339
5721
|
}
|
|
5340
5722
|
]
|
|
5341
5723
|
},
|
|
@@ -5756,6 +6138,31 @@ var openapi_default = {
|
|
|
5756
6138
|
"warning_code"
|
|
5757
6139
|
],
|
|
5758
6140
|
type: "object"
|
|
6141
|
+
},
|
|
6142
|
+
{
|
|
6143
|
+
description: "Access permissions for this [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) have changed. [Reissue](https://docs.seam.co/latest/capability-guides/access-systems/working-with-card-encoders-and-scanners/creating-and-encoding-card-based-credentials) (re-encode) this credential. This issue may affect the proper functioning of the credential.",
|
|
6144
|
+
properties: {
|
|
6145
|
+
created_at: {
|
|
6146
|
+
description: "Date and time at which Seam created the warning.",
|
|
6147
|
+
format: "date-time",
|
|
6148
|
+
type: "string"
|
|
6149
|
+
},
|
|
6150
|
+
message: {
|
|
6151
|
+
description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
|
|
6152
|
+
type: "string"
|
|
6153
|
+
},
|
|
6154
|
+
warning_code: {
|
|
6155
|
+
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
6156
|
+
enum: ["needs_to_be_reissued"],
|
|
6157
|
+
type: "string"
|
|
6158
|
+
}
|
|
6159
|
+
},
|
|
6160
|
+
required: [
|
|
6161
|
+
"created_at",
|
|
6162
|
+
"message",
|
|
6163
|
+
"warning_code"
|
|
6164
|
+
],
|
|
6165
|
+
type: "object"
|
|
5759
6166
|
}
|
|
5760
6167
|
]
|
|
5761
6168
|
},
|
|
@@ -6045,6 +6452,31 @@ var openapi_default = {
|
|
|
6045
6452
|
"warning_code"
|
|
6046
6453
|
],
|
|
6047
6454
|
type: "object"
|
|
6455
|
+
},
|
|
6456
|
+
{
|
|
6457
|
+
description: "Access permissions for this [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) have changed. [Reissue](https://docs.seam.co/latest/capability-guides/access-systems/working-with-card-encoders-and-scanners/creating-and-encoding-card-based-credentials) (re-encode) this credential. This issue may affect the proper functioning of the credential.",
|
|
6458
|
+
properties: {
|
|
6459
|
+
created_at: {
|
|
6460
|
+
description: "Date and time at which Seam created the warning.",
|
|
6461
|
+
format: "date-time",
|
|
6462
|
+
type: "string"
|
|
6463
|
+
},
|
|
6464
|
+
message: {
|
|
6465
|
+
description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
|
|
6466
|
+
type: "string"
|
|
6467
|
+
},
|
|
6468
|
+
warning_code: {
|
|
6469
|
+
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
6470
|
+
enum: ["needs_to_be_reissued"],
|
|
6471
|
+
type: "string"
|
|
6472
|
+
}
|
|
6473
|
+
},
|
|
6474
|
+
required: [
|
|
6475
|
+
"created_at",
|
|
6476
|
+
"message",
|
|
6477
|
+
"warning_code"
|
|
6478
|
+
],
|
|
6479
|
+
type: "object"
|
|
6048
6480
|
}
|
|
6049
6481
|
]
|
|
6050
6482
|
},
|
|
@@ -6982,7 +7414,8 @@ var openapi_default = {
|
|
|
6982
7414
|
],
|
|
6983
7415
|
type: "object"
|
|
6984
7416
|
}
|
|
6985
|
-
]
|
|
7417
|
+
],
|
|
7418
|
+
"x-route-path": "/action_attempts"
|
|
6986
7419
|
},
|
|
6987
7420
|
client_session: {
|
|
6988
7421
|
properties: {
|
|
@@ -7018,7 +7451,8 @@ var openapi_default = {
|
|
|
7018
7451
|
"connect_webview_ids",
|
|
7019
7452
|
"user_identity_ids"
|
|
7020
7453
|
],
|
|
7021
|
-
type: "object"
|
|
7454
|
+
type: "object",
|
|
7455
|
+
"x-route-path": "/client_sessions"
|
|
7022
7456
|
},
|
|
7023
7457
|
connect_webview: {
|
|
7024
7458
|
properties: {
|
|
@@ -7096,7 +7530,8 @@ var openapi_default = {
|
|
|
7096
7530
|
"authorized_at",
|
|
7097
7531
|
"selected_provider"
|
|
7098
7532
|
],
|
|
7099
|
-
type: "object"
|
|
7533
|
+
type: "object",
|
|
7534
|
+
"x-route-path": "/connect_webviews"
|
|
7100
7535
|
},
|
|
7101
7536
|
connected_account: {
|
|
7102
7537
|
properties: {
|
|
@@ -7170,7 +7605,8 @@ var openapi_default = {
|
|
|
7170
7605
|
"custom_metadata",
|
|
7171
7606
|
"automatically_manage_new_devices"
|
|
7172
7607
|
],
|
|
7173
|
-
type: "object"
|
|
7608
|
+
type: "object",
|
|
7609
|
+
"x-route-path": "/connected_accounts"
|
|
7174
7610
|
},
|
|
7175
7611
|
device: {
|
|
7176
7612
|
properties: {
|
|
@@ -8381,7 +8817,8 @@ var openapi_default = {
|
|
|
8381
8817
|
"created_at",
|
|
8382
8818
|
"errors"
|
|
8383
8819
|
],
|
|
8384
|
-
type: "object"
|
|
8820
|
+
type: "object",
|
|
8821
|
+
"x-route-path": "/thermostats/schedules"
|
|
8385
8822
|
},
|
|
8386
8823
|
available_climate_presets: {
|
|
8387
8824
|
items: {
|
|
@@ -8737,7 +9174,8 @@ var openapi_default = {
|
|
|
8737
9174
|
"is_managed",
|
|
8738
9175
|
"custom_metadata"
|
|
8739
9176
|
],
|
|
8740
|
-
type: "object"
|
|
9177
|
+
type: "object",
|
|
9178
|
+
"x-route-path": "/devices"
|
|
8741
9179
|
},
|
|
8742
9180
|
device_provider: {
|
|
8743
9181
|
properties: {
|
|
@@ -8824,7 +9262,8 @@ var openapi_default = {
|
|
|
8824
9262
|
"image_url",
|
|
8825
9263
|
"provider_categories"
|
|
8826
9264
|
],
|
|
8827
|
-
type: "object"
|
|
9265
|
+
type: "object",
|
|
9266
|
+
"x-route-path": "/devices"
|
|
8828
9267
|
},
|
|
8829
9268
|
enrollment_automation: {
|
|
8830
9269
|
description: "Represents an [enrollment automation](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/issuing-mobile-credentials-from-an-access-control-system) within the [Seam mobile access solution](https://docs.seam.co/latest/capability-guides/mobile-access-in-development).",
|
|
@@ -8862,7 +9301,8 @@ var openapi_default = {
|
|
|
8862
9301
|
"created_at",
|
|
8863
9302
|
"workspace_id"
|
|
8864
9303
|
],
|
|
8865
|
-
type: "object"
|
|
9304
|
+
type: "object",
|
|
9305
|
+
"x-route-path": "/user_identities/enrollment_automations"
|
|
8866
9306
|
},
|
|
8867
9307
|
event: {
|
|
8868
9308
|
discriminator: { propertyName: "event_type" },
|
|
@@ -8917,7 +9357,8 @@ var openapi_default = {
|
|
|
8917
9357
|
"connected_account_id",
|
|
8918
9358
|
"event_type"
|
|
8919
9359
|
],
|
|
8920
|
-
type: "object"
|
|
9360
|
+
type: "object",
|
|
9361
|
+
"x-route-path": "/access_codes"
|
|
8921
9362
|
},
|
|
8922
9363
|
{
|
|
8923
9364
|
description: "An [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes) was changed.",
|
|
@@ -8969,7 +9410,8 @@ var openapi_default = {
|
|
|
8969
9410
|
"connected_account_id",
|
|
8970
9411
|
"event_type"
|
|
8971
9412
|
],
|
|
8972
|
-
type: "object"
|
|
9413
|
+
type: "object",
|
|
9414
|
+
"x-route-path": "/access_codes"
|
|
8973
9415
|
},
|
|
8974
9416
|
{
|
|
8975
9417
|
description: "An [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes) was [scheduled natively](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes#native-scheduling) on a device.",
|
|
@@ -9029,7 +9471,8 @@ var openapi_default = {
|
|
|
9029
9471
|
"event_type",
|
|
9030
9472
|
"code"
|
|
9031
9473
|
],
|
|
9032
|
-
type: "object"
|
|
9474
|
+
type: "object",
|
|
9475
|
+
"x-route-path": "/access_codes"
|
|
9033
9476
|
},
|
|
9034
9477
|
{
|
|
9035
9478
|
description: "An [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes) was set on a device.",
|
|
@@ -9089,7 +9532,8 @@ var openapi_default = {
|
|
|
9089
9532
|
"event_type",
|
|
9090
9533
|
"code"
|
|
9091
9534
|
],
|
|
9092
|
-
type: "object"
|
|
9535
|
+
type: "object",
|
|
9536
|
+
"x-route-path": "/access_codes"
|
|
9093
9537
|
},
|
|
9094
9538
|
{
|
|
9095
9539
|
description: "An [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes) was removed from a device.",
|
|
@@ -9144,7 +9588,8 @@ var openapi_default = {
|
|
|
9144
9588
|
"connected_account_id",
|
|
9145
9589
|
"event_type"
|
|
9146
9590
|
],
|
|
9147
|
-
type: "object"
|
|
9591
|
+
type: "object",
|
|
9592
|
+
"x-route-path": "/access_codes"
|
|
9148
9593
|
},
|
|
9149
9594
|
{
|
|
9150
9595
|
description: "There was an unusually long delay in setting an [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes) on a device.",
|
|
@@ -9199,7 +9644,8 @@ var openapi_default = {
|
|
|
9199
9644
|
"connected_account_id",
|
|
9200
9645
|
"event_type"
|
|
9201
9646
|
],
|
|
9202
|
-
type: "object"
|
|
9647
|
+
type: "object",
|
|
9648
|
+
"x-route-path": "/access_codes"
|
|
9203
9649
|
},
|
|
9204
9650
|
{
|
|
9205
9651
|
description: "An [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes) failed to be set on a device.",
|
|
@@ -9254,7 +9700,8 @@ var openapi_default = {
|
|
|
9254
9700
|
"connected_account_id",
|
|
9255
9701
|
"event_type"
|
|
9256
9702
|
],
|
|
9257
|
-
type: "object"
|
|
9703
|
+
type: "object",
|
|
9704
|
+
"x-route-path": "/access_codes"
|
|
9258
9705
|
},
|
|
9259
9706
|
{
|
|
9260
9707
|
description: "An [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes) was deleted.",
|
|
@@ -9312,7 +9759,8 @@ var openapi_default = {
|
|
|
9312
9759
|
"event_type",
|
|
9313
9760
|
"code"
|
|
9314
9761
|
],
|
|
9315
|
-
type: "object"
|
|
9762
|
+
type: "object",
|
|
9763
|
+
"x-route-path": "/access_codes"
|
|
9316
9764
|
},
|
|
9317
9765
|
{
|
|
9318
9766
|
description: "There was an unusually long delay in removing an [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes) from a device.",
|
|
@@ -9367,7 +9815,8 @@ var openapi_default = {
|
|
|
9367
9815
|
"connected_account_id",
|
|
9368
9816
|
"event_type"
|
|
9369
9817
|
],
|
|
9370
|
-
type: "object"
|
|
9818
|
+
type: "object",
|
|
9819
|
+
"x-route-path": "/access_codes"
|
|
9371
9820
|
},
|
|
9372
9821
|
{
|
|
9373
9822
|
description: "An [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes) failed to be removed from a device.",
|
|
@@ -9422,7 +9871,8 @@ var openapi_default = {
|
|
|
9422
9871
|
"connected_account_id",
|
|
9423
9872
|
"event_type"
|
|
9424
9873
|
],
|
|
9425
|
-
type: "object"
|
|
9874
|
+
type: "object",
|
|
9875
|
+
"x-route-path": "/access_codes"
|
|
9426
9876
|
},
|
|
9427
9877
|
{
|
|
9428
9878
|
description: "An [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes) was modified outside of Seam.",
|
|
@@ -9477,7 +9927,8 @@ var openapi_default = {
|
|
|
9477
9927
|
"connected_account_id",
|
|
9478
9928
|
"event_type"
|
|
9479
9929
|
],
|
|
9480
|
-
type: "object"
|
|
9930
|
+
type: "object",
|
|
9931
|
+
"x-route-path": "/access_codes"
|
|
9481
9932
|
},
|
|
9482
9933
|
{
|
|
9483
9934
|
description: "An [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes) was deleted outside of Seam.",
|
|
@@ -9532,7 +9983,8 @@ var openapi_default = {
|
|
|
9532
9983
|
"connected_account_id",
|
|
9533
9984
|
"event_type"
|
|
9534
9985
|
],
|
|
9535
|
-
type: "object"
|
|
9986
|
+
type: "object",
|
|
9987
|
+
"x-route-path": "/access_codes"
|
|
9536
9988
|
},
|
|
9537
9989
|
{
|
|
9538
9990
|
description: "A [backup access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes/backup-access-codes) was pulled from the backup access code pool and set on a device.",
|
|
@@ -9589,7 +10041,8 @@ var openapi_default = {
|
|
|
9589
10041
|
"event_type",
|
|
9590
10042
|
"backup_access_code_id"
|
|
9591
10043
|
],
|
|
9592
|
-
type: "object"
|
|
10044
|
+
type: "object",
|
|
10045
|
+
"x-route-path": "/access_codes"
|
|
9593
10046
|
},
|
|
9594
10047
|
{
|
|
9595
10048
|
description: "An [unmanaged access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes/migrating-existing-access-codes) was converted successfully to a managed access code.",
|
|
@@ -9644,7 +10097,8 @@ var openapi_default = {
|
|
|
9644
10097
|
"connected_account_id",
|
|
9645
10098
|
"event_type"
|
|
9646
10099
|
],
|
|
9647
|
-
type: "object"
|
|
10100
|
+
type: "object",
|
|
10101
|
+
"x-route-path": "/access_codes/unmanaged"
|
|
9648
10102
|
},
|
|
9649
10103
|
{
|
|
9650
10104
|
description: "An [unmanaged access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes/migrating-existing-access-codes) failed to be converted to a managed access code.",
|
|
@@ -9699,7 +10153,8 @@ var openapi_default = {
|
|
|
9699
10153
|
"connected_account_id",
|
|
9700
10154
|
"event_type"
|
|
9701
10155
|
],
|
|
9702
|
-
type: "object"
|
|
10156
|
+
type: "object",
|
|
10157
|
+
"x-route-path": "/access_codes/unmanaged"
|
|
9703
10158
|
},
|
|
9704
10159
|
{
|
|
9705
10160
|
description: "An [unmanaged access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes/migrating-existing-access-codes) was created on a device.",
|
|
@@ -9754,7 +10209,8 @@ var openapi_default = {
|
|
|
9754
10209
|
"connected_account_id",
|
|
9755
10210
|
"event_type"
|
|
9756
10211
|
],
|
|
9757
|
-
type: "object"
|
|
10212
|
+
type: "object",
|
|
10213
|
+
"x-route-path": "/access_codes/unmanaged"
|
|
9758
10214
|
},
|
|
9759
10215
|
{
|
|
9760
10216
|
description: "An [unmanaged access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes/migrating-existing-access-codes) was removed from a device.",
|
|
@@ -9809,7 +10265,8 @@ var openapi_default = {
|
|
|
9809
10265
|
"connected_account_id",
|
|
9810
10266
|
"event_type"
|
|
9811
10267
|
],
|
|
9812
|
-
type: "object"
|
|
10268
|
+
type: "object",
|
|
10269
|
+
"x-route-path": "/access_codes/unmanaged"
|
|
9813
10270
|
},
|
|
9814
10271
|
{
|
|
9815
10272
|
description: "An [ACS system](https://docs.seam.co/latest/capability-guides/access-systems) was connected.",
|
|
@@ -9854,7 +10311,8 @@ var openapi_default = {
|
|
|
9854
10311
|
"acs_system_id",
|
|
9855
10312
|
"event_type"
|
|
9856
10313
|
],
|
|
9857
|
-
type: "object"
|
|
10314
|
+
type: "object",
|
|
10315
|
+
"x-route-path": "/acs/systems"
|
|
9858
10316
|
},
|
|
9859
10317
|
{
|
|
9860
10318
|
description: "An [ACS system](https://docs.seam.co/latest/capability-guides/access-systems) was added.",
|
|
@@ -9899,7 +10357,8 @@ var openapi_default = {
|
|
|
9899
10357
|
"acs_system_id",
|
|
9900
10358
|
"event_type"
|
|
9901
10359
|
],
|
|
9902
|
-
type: "object"
|
|
10360
|
+
type: "object",
|
|
10361
|
+
"x-route-path": "/acs/systems"
|
|
9903
10362
|
},
|
|
9904
10363
|
{
|
|
9905
10364
|
description: "An [ACS system](https://docs.seam.co/latest/capability-guides/access-systems) was disconnected.",
|
|
@@ -9944,7 +10403,8 @@ var openapi_default = {
|
|
|
9944
10403
|
"acs_system_id",
|
|
9945
10404
|
"event_type"
|
|
9946
10405
|
],
|
|
9947
|
-
type: "object"
|
|
10406
|
+
type: "object",
|
|
10407
|
+
"x-route-path": "/acs/systems"
|
|
9948
10408
|
},
|
|
9949
10409
|
{
|
|
9950
10410
|
description: "An [ACS credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) was deleted.",
|
|
@@ -9991,7 +10451,8 @@ var openapi_default = {
|
|
|
9991
10451
|
"acs_credential_id",
|
|
9992
10452
|
"event_type"
|
|
9993
10453
|
],
|
|
9994
|
-
type: "object"
|
|
10454
|
+
type: "object",
|
|
10455
|
+
"x-route-path": "/acs/credentials"
|
|
9995
10456
|
},
|
|
9996
10457
|
{
|
|
9997
10458
|
description: "An [ACS credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) was issued.",
|
|
@@ -10038,6 +10499,54 @@ var openapi_default = {
|
|
|
10038
10499
|
"acs_credential_id",
|
|
10039
10500
|
"event_type"
|
|
10040
10501
|
],
|
|
10502
|
+
type: "object",
|
|
10503
|
+
"x-route-path": "/acs/credentials"
|
|
10504
|
+
},
|
|
10505
|
+
{
|
|
10506
|
+
description: "An [ACS credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) was reissued.",
|
|
10507
|
+
properties: {
|
|
10508
|
+
acs_credential_id: { format: "uuid", type: "string" },
|
|
10509
|
+
acs_system_id: {
|
|
10510
|
+
description: "ID of the [ACS system](https://docs.seam.co/latest/capability-guides/access-systems).",
|
|
10511
|
+
format: "uuid",
|
|
10512
|
+
type: "string"
|
|
10513
|
+
},
|
|
10514
|
+
connected_account_id: {
|
|
10515
|
+
description: "ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts).",
|
|
10516
|
+
format: "uuid",
|
|
10517
|
+
type: "string"
|
|
10518
|
+
},
|
|
10519
|
+
created_at: {
|
|
10520
|
+
description: "Date and time at which the event was created.",
|
|
10521
|
+
format: "date-time",
|
|
10522
|
+
type: "string"
|
|
10523
|
+
},
|
|
10524
|
+
event_id: {
|
|
10525
|
+
description: "ID of the event.",
|
|
10526
|
+
format: "uuid",
|
|
10527
|
+
type: "string"
|
|
10528
|
+
},
|
|
10529
|
+
event_type: { enum: ["acs_credential.reissued"], type: "string" },
|
|
10530
|
+
occurred_at: {
|
|
10531
|
+
description: "Date and time at which the event occurred.",
|
|
10532
|
+
format: "date-time",
|
|
10533
|
+
type: "string"
|
|
10534
|
+
},
|
|
10535
|
+
workspace_id: {
|
|
10536
|
+
description: "ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces).",
|
|
10537
|
+
format: "uuid",
|
|
10538
|
+
type: "string"
|
|
10539
|
+
}
|
|
10540
|
+
},
|
|
10541
|
+
required: [
|
|
10542
|
+
"event_id",
|
|
10543
|
+
"workspace_id",
|
|
10544
|
+
"created_at",
|
|
10545
|
+
"occurred_at",
|
|
10546
|
+
"acs_system_id",
|
|
10547
|
+
"acs_credential_id",
|
|
10548
|
+
"event_type"
|
|
10549
|
+
],
|
|
10041
10550
|
type: "object"
|
|
10042
10551
|
},
|
|
10043
10552
|
{
|
|
@@ -10085,7 +10594,8 @@ var openapi_default = {
|
|
|
10085
10594
|
"acs_user_id",
|
|
10086
10595
|
"event_type"
|
|
10087
10596
|
],
|
|
10088
|
-
type: "object"
|
|
10597
|
+
type: "object",
|
|
10598
|
+
"x-route-path": "/acs/users"
|
|
10089
10599
|
},
|
|
10090
10600
|
{
|
|
10091
10601
|
description: "An [ACS encoder](https://docs.seam.co/latest/capability-guides/access-systems/working-with-card-encoders-and-scanners) was added.",
|
|
@@ -10136,7 +10646,8 @@ var openapi_default = {
|
|
|
10136
10646
|
"acs_encoder_id",
|
|
10137
10647
|
"event_type"
|
|
10138
10648
|
],
|
|
10139
|
-
type: "object"
|
|
10649
|
+
type: "object",
|
|
10650
|
+
"x-route-path": "/acs/encoders"
|
|
10140
10651
|
},
|
|
10141
10652
|
{
|
|
10142
10653
|
description: "An [ACS encoder](https://docs.seam.co/latest/capability-guides/access-systems/working-with-card-encoders-and-scanners) was removed.",
|
|
@@ -10187,7 +10698,8 @@ var openapi_default = {
|
|
|
10187
10698
|
"acs_encoder_id",
|
|
10188
10699
|
"event_type"
|
|
10189
10700
|
],
|
|
10190
|
-
type: "object"
|
|
10701
|
+
type: "object",
|
|
10702
|
+
"x-route-path": "/acs/encoders"
|
|
10191
10703
|
},
|
|
10192
10704
|
{
|
|
10193
10705
|
description: "An ACS access group was deleted.",
|
|
@@ -10237,7 +10749,8 @@ var openapi_default = {
|
|
|
10237
10749
|
"acs_access_group_id",
|
|
10238
10750
|
"event_type"
|
|
10239
10751
|
],
|
|
10240
|
-
type: "object"
|
|
10752
|
+
type: "object",
|
|
10753
|
+
"x-route-path": "/acs/access_groups"
|
|
10241
10754
|
},
|
|
10242
10755
|
{
|
|
10243
10756
|
description: "A [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens) was deleted.",
|
|
@@ -10277,7 +10790,8 @@ var openapi_default = {
|
|
|
10277
10790
|
"client_session_id",
|
|
10278
10791
|
"event_type"
|
|
10279
10792
|
],
|
|
10280
|
-
type: "object"
|
|
10793
|
+
type: "object",
|
|
10794
|
+
"x-route-path": "/client_sessions"
|
|
10281
10795
|
},
|
|
10282
10796
|
{
|
|
10283
10797
|
description: "A [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) was connected for the first time or was reconnected after being disconnected.",
|
|
@@ -10326,7 +10840,8 @@ var openapi_default = {
|
|
|
10326
10840
|
"event_type",
|
|
10327
10841
|
"connect_webview_id"
|
|
10328
10842
|
],
|
|
10329
|
-
type: "object"
|
|
10843
|
+
type: "object",
|
|
10844
|
+
"x-route-path": "/connected_accounts"
|
|
10330
10845
|
},
|
|
10331
10846
|
{
|
|
10332
10847
|
description: "A [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) was created.",
|
|
@@ -10375,7 +10890,8 @@ var openapi_default = {
|
|
|
10375
10890
|
"event_type",
|
|
10376
10891
|
"connect_webview_id"
|
|
10377
10892
|
],
|
|
10378
|
-
type: "object"
|
|
10893
|
+
type: "object",
|
|
10894
|
+
"x-route-path": "/connected_accounts"
|
|
10379
10895
|
},
|
|
10380
10896
|
{
|
|
10381
10897
|
deprecated: true,
|
|
@@ -10426,7 +10942,8 @@ var openapi_default = {
|
|
|
10426
10942
|
"connect_webview_id"
|
|
10427
10943
|
],
|
|
10428
10944
|
type: "object",
|
|
10429
|
-
"x-deprecated": "Use `connect_webview.login_succeeded`."
|
|
10945
|
+
"x-deprecated": "Use `connect_webview.login_succeeded`.",
|
|
10946
|
+
"x-route-path": "/connected_accounts"
|
|
10430
10947
|
},
|
|
10431
10948
|
{
|
|
10432
10949
|
description: "A [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) was disconnected.",
|
|
@@ -10469,7 +10986,8 @@ var openapi_default = {
|
|
|
10469
10986
|
"connected_account_id",
|
|
10470
10987
|
"event_type"
|
|
10471
10988
|
],
|
|
10472
|
-
type: "object"
|
|
10989
|
+
type: "object",
|
|
10990
|
+
"x-route-path": "/connected_accounts"
|
|
10473
10991
|
},
|
|
10474
10992
|
{
|
|
10475
10993
|
description: "A [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) completed the first sync with Seam, and the corresponding devices or systems are now available.",
|
|
@@ -10512,7 +11030,8 @@ var openapi_default = {
|
|
|
10512
11030
|
"connected_account_id",
|
|
10513
11031
|
"event_type"
|
|
10514
11032
|
],
|
|
10515
|
-
type: "object"
|
|
11033
|
+
type: "object",
|
|
11034
|
+
"x-route-path": "/connected_accounts"
|
|
10516
11035
|
},
|
|
10517
11036
|
{
|
|
10518
11037
|
description: "A [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) was deleted.",
|
|
@@ -10555,7 +11074,8 @@ var openapi_default = {
|
|
|
10555
11074
|
"connected_account_id",
|
|
10556
11075
|
"event_type"
|
|
10557
11076
|
],
|
|
10558
|
-
type: "object"
|
|
11077
|
+
type: "object",
|
|
11078
|
+
"x-route-path": "/connected_accounts"
|
|
10559
11079
|
},
|
|
10560
11080
|
{
|
|
10561
11081
|
description: "A [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) completed the first sync after reconnection with Seam, and the corresponding devices or systems are now available.",
|
|
@@ -10600,7 +11120,8 @@ var openapi_default = {
|
|
|
10600
11120
|
"connected_account_id",
|
|
10601
11121
|
"event_type"
|
|
10602
11122
|
],
|
|
10603
|
-
type: "object"
|
|
11123
|
+
type: "object",
|
|
11124
|
+
"x-route-path": "/connected_accounts"
|
|
10604
11125
|
},
|
|
10605
11126
|
{
|
|
10606
11127
|
description: "A lock door [action attempt](https://docs.seam.co/latest/core-concepts/action-attempts) succeeded.",
|
|
@@ -10647,7 +11168,8 @@ var openapi_default = {
|
|
|
10647
11168
|
"status",
|
|
10648
11169
|
"event_type"
|
|
10649
11170
|
],
|
|
10650
|
-
type: "object"
|
|
11171
|
+
type: "object",
|
|
11172
|
+
"x-route-path": "/action_attempts"
|
|
10651
11173
|
},
|
|
10652
11174
|
{
|
|
10653
11175
|
description: "A lock door [action attempt](https://docs.seam.co/latest/core-concepts/action-attempts) failed.",
|
|
@@ -10694,7 +11216,8 @@ var openapi_default = {
|
|
|
10694
11216
|
"status",
|
|
10695
11217
|
"event_type"
|
|
10696
11218
|
],
|
|
10697
|
-
type: "object"
|
|
11219
|
+
type: "object",
|
|
11220
|
+
"x-route-path": "/action_attempts"
|
|
10698
11221
|
},
|
|
10699
11222
|
{
|
|
10700
11223
|
description: "An unlock door [action attempt](https://docs.seam.co/latest/core-concepts/action-attempts) succeeded.",
|
|
@@ -10741,7 +11264,8 @@ var openapi_default = {
|
|
|
10741
11264
|
"status",
|
|
10742
11265
|
"event_type"
|
|
10743
11266
|
],
|
|
10744
|
-
type: "object"
|
|
11267
|
+
type: "object",
|
|
11268
|
+
"x-route-path": "/action_attempts"
|
|
10745
11269
|
},
|
|
10746
11270
|
{
|
|
10747
11271
|
description: "An unlock door [action attempt](https://docs.seam.co/latest/core-concepts/action-attempts) failed.",
|
|
@@ -10788,7 +11312,8 @@ var openapi_default = {
|
|
|
10788
11312
|
"status",
|
|
10789
11313
|
"event_type"
|
|
10790
11314
|
],
|
|
10791
|
-
type: "object"
|
|
11315
|
+
type: "object",
|
|
11316
|
+
"x-route-path": "/action_attempts"
|
|
10792
11317
|
},
|
|
10793
11318
|
{
|
|
10794
11319
|
description: "A [Connect Webview](https://docs.seam.co/latest/ui-components/connect-webviews) login succeeded.",
|
|
@@ -10837,7 +11362,8 @@ var openapi_default = {
|
|
|
10837
11362
|
"event_type",
|
|
10838
11363
|
"connected_account_id"
|
|
10839
11364
|
],
|
|
10840
|
-
type: "object"
|
|
11365
|
+
type: "object",
|
|
11366
|
+
"x-route-path": "/connect_webviews"
|
|
10841
11367
|
},
|
|
10842
11368
|
{
|
|
10843
11369
|
description: "A [Connect Webview](https://docs.seam.co/latest/ui-components/connect-webviews) login failed.",
|
|
@@ -10880,7 +11406,8 @@ var openapi_default = {
|
|
|
10880
11406
|
"connect_webview_id",
|
|
10881
11407
|
"event_type"
|
|
10882
11408
|
],
|
|
10883
|
-
type: "object"
|
|
11409
|
+
type: "object",
|
|
11410
|
+
"x-route-path": "/connect_webviews"
|
|
10884
11411
|
},
|
|
10885
11412
|
{
|
|
10886
11413
|
description: "The status of a [device](https://docs.seam.co/latest/core-concepts/devices) changed from offline to online. That is, the `device.properties.online` property changed from `false` to `true`. Note that some devices operate entirely in offline mode, so Seam never emits a `device.connected` event for these devices.",
|
|
@@ -10926,7 +11453,8 @@ var openapi_default = {
|
|
|
10926
11453
|
"connected_account_id",
|
|
10927
11454
|
"event_type"
|
|
10928
11455
|
],
|
|
10929
|
-
type: "object"
|
|
11456
|
+
type: "object",
|
|
11457
|
+
"x-route-path": "/devices"
|
|
10930
11458
|
},
|
|
10931
11459
|
{
|
|
10932
11460
|
description: "A [device](https://docs.seam.co/latest/core-concepts/devices) was added to Seam or was re-added to Seam after having been removed.",
|
|
@@ -10972,10 +11500,11 @@ var openapi_default = {
|
|
|
10972
11500
|
"connected_account_id",
|
|
10973
11501
|
"event_type"
|
|
10974
11502
|
],
|
|
10975
|
-
type: "object"
|
|
11503
|
+
type: "object",
|
|
11504
|
+
"x-route-path": "/devices"
|
|
10976
11505
|
},
|
|
10977
11506
|
{
|
|
10978
|
-
description: "
|
|
11507
|
+
description: "A managed device was successfully converted to an [unmanaged device](https://docs.seam.co/latest/core-concepts/devices/managed-and-unmanaged-devices).",
|
|
10979
11508
|
properties: {
|
|
10980
11509
|
connected_account_id: {
|
|
10981
11510
|
description: "ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts).",
|
|
@@ -11021,10 +11550,11 @@ var openapi_default = {
|
|
|
11021
11550
|
"connected_account_id",
|
|
11022
11551
|
"event_type"
|
|
11023
11552
|
],
|
|
11024
|
-
type: "object"
|
|
11553
|
+
type: "object",
|
|
11554
|
+
"x-route-path": "/devices"
|
|
11025
11555
|
},
|
|
11026
11556
|
{
|
|
11027
|
-
description: "
|
|
11557
|
+
description: "An [unmanaged device](https://docs.seam.co/latest/core-concepts/devices/managed-and-unmanaged-devices) was successfully converted to a managed device.",
|
|
11028
11558
|
properties: {
|
|
11029
11559
|
connected_account_id: {
|
|
11030
11560
|
description: "ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts).",
|
|
@@ -11070,7 +11600,8 @@ var openapi_default = {
|
|
|
11070
11600
|
"connected_account_id",
|
|
11071
11601
|
"event_type"
|
|
11072
11602
|
],
|
|
11073
|
-
type: "object"
|
|
11603
|
+
type: "object",
|
|
11604
|
+
"x-route-path": "/devices/unmanaged"
|
|
11074
11605
|
},
|
|
11075
11606
|
{
|
|
11076
11607
|
description: "The status of an [unmanaged device](https://docs.seam.co/latest/core-concepts/devices/managed-and-unmanaged-devices) changed from offline to online. That is, the `device.properties.online` property changed from `false` to `true`.",
|
|
@@ -11119,7 +11650,8 @@ var openapi_default = {
|
|
|
11119
11650
|
"connected_account_id",
|
|
11120
11651
|
"event_type"
|
|
11121
11652
|
],
|
|
11122
|
-
type: "object"
|
|
11653
|
+
type: "object",
|
|
11654
|
+
"x-route-path": "/devices/unmanaged"
|
|
11123
11655
|
},
|
|
11124
11656
|
{
|
|
11125
11657
|
description: "The status of a [device](https://docs.seam.co/latest/core-concepts/devices) changed from online to offline. That is, the `device.properties.online` property changed from `true` to `false`.",
|
|
@@ -11175,7 +11707,8 @@ var openapi_default = {
|
|
|
11175
11707
|
"event_type",
|
|
11176
11708
|
"error_code"
|
|
11177
11709
|
],
|
|
11178
|
-
type: "object"
|
|
11710
|
+
type: "object",
|
|
11711
|
+
"x-route-path": "/devices"
|
|
11179
11712
|
},
|
|
11180
11713
|
{
|
|
11181
11714
|
description: "The status of an [unmanaged device](https://docs.seam.co/latest/core-concepts/devices/managed-and-unmanaged-devices) changed from online to offline. That is, the `device.properties.online` property changed from `true` to `false`.",
|
|
@@ -11234,7 +11767,8 @@ var openapi_default = {
|
|
|
11234
11767
|
"event_type",
|
|
11235
11768
|
"error_code"
|
|
11236
11769
|
],
|
|
11237
|
-
type: "object"
|
|
11770
|
+
type: "object",
|
|
11771
|
+
"x-route-path": "/devices/unmanaged"
|
|
11238
11772
|
},
|
|
11239
11773
|
{
|
|
11240
11774
|
description: "A [device](https://docs.seam.co/latest/core-concepts/devices) detected that it was tampered with, for example, opened or moved.",
|
|
@@ -11280,7 +11814,8 @@ var openapi_default = {
|
|
|
11280
11814
|
"connected_account_id",
|
|
11281
11815
|
"event_type"
|
|
11282
11816
|
],
|
|
11283
|
-
type: "object"
|
|
11817
|
+
type: "object",
|
|
11818
|
+
"x-route-path": "/devices"
|
|
11284
11819
|
},
|
|
11285
11820
|
{
|
|
11286
11821
|
description: "A [device](https://docs.seam.co/latest/core-concepts/devices) battery level dropped below the low threshold.",
|
|
@@ -11334,7 +11869,8 @@ var openapi_default = {
|
|
|
11334
11869
|
"event_type",
|
|
11335
11870
|
"battery_level"
|
|
11336
11871
|
],
|
|
11337
|
-
type: "object"
|
|
11872
|
+
type: "object",
|
|
11873
|
+
"x-route-path": "/devices"
|
|
11338
11874
|
},
|
|
11339
11875
|
{
|
|
11340
11876
|
description: "A [device](https://docs.seam.co/latest/core-concepts/devices) battery status changed since the last `battery_status_changed` event.",
|
|
@@ -11397,7 +11933,8 @@ var openapi_default = {
|
|
|
11397
11933
|
"battery_status",
|
|
11398
11934
|
"battery_level"
|
|
11399
11935
|
],
|
|
11400
|
-
type: "object"
|
|
11936
|
+
type: "object",
|
|
11937
|
+
"x-route-path": "/devices"
|
|
11401
11938
|
},
|
|
11402
11939
|
{
|
|
11403
11940
|
description: "A [device](https://docs.seam.co/latest/core-concepts/devices) was removed externally from the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts).",
|
|
@@ -11443,7 +11980,8 @@ var openapi_default = {
|
|
|
11443
11980
|
"connected_account_id",
|
|
11444
11981
|
"event_type"
|
|
11445
11982
|
],
|
|
11446
|
-
type: "object"
|
|
11983
|
+
type: "object",
|
|
11984
|
+
"x-route-path": "/devices"
|
|
11447
11985
|
},
|
|
11448
11986
|
{
|
|
11449
11987
|
description: "A [device](https://docs.seam.co/latest/core-concepts/devices) was deleted.",
|
|
@@ -11489,7 +12027,8 @@ var openapi_default = {
|
|
|
11489
12027
|
"connected_account_id",
|
|
11490
12028
|
"event_type"
|
|
11491
12029
|
],
|
|
11492
|
-
type: "object"
|
|
12030
|
+
type: "object",
|
|
12031
|
+
"x-route-path": "/devices"
|
|
11493
12032
|
},
|
|
11494
12033
|
{
|
|
11495
12034
|
description: "Seam detected that a [device](https://docs.seam.co/latest/core-concepts/devices) is using a third-party integration that will interfere with Seam device management.",
|
|
@@ -11538,7 +12077,8 @@ var openapi_default = {
|
|
|
11538
12077
|
"connected_account_id",
|
|
11539
12078
|
"event_type"
|
|
11540
12079
|
],
|
|
11541
|
-
type: "object"
|
|
12080
|
+
type: "object",
|
|
12081
|
+
"x-route-path": "/devices"
|
|
11542
12082
|
},
|
|
11543
12083
|
{
|
|
11544
12084
|
description: "Seam detected that a [device](https://docs.seam.co/latest/core-concepts/devices) is no longer using a third-party integration that was interfering with Seam device management.",
|
|
@@ -11587,7 +12127,8 @@ var openapi_default = {
|
|
|
11587
12127
|
"connected_account_id",
|
|
11588
12128
|
"event_type"
|
|
11589
12129
|
],
|
|
11590
|
-
type: "object"
|
|
12130
|
+
type: "object",
|
|
12131
|
+
"x-route-path": "/devices"
|
|
11591
12132
|
},
|
|
11592
12133
|
{
|
|
11593
12134
|
description: "A [Salto device](https://docs.seam.co/latest/device-and-system-integration-guides/salto-locks) activated privacy mode.",
|
|
@@ -11636,7 +12177,8 @@ var openapi_default = {
|
|
|
11636
12177
|
"connected_account_id",
|
|
11637
12178
|
"event_type"
|
|
11638
12179
|
],
|
|
11639
|
-
type: "object"
|
|
12180
|
+
type: "object",
|
|
12181
|
+
"x-route-path": "/devices"
|
|
11640
12182
|
},
|
|
11641
12183
|
{
|
|
11642
12184
|
description: "A [Salto device](https://docs.seam.co/latest/device-and-system-integration-guides/salto-locks) deactivated privacy mode.",
|
|
@@ -11685,7 +12227,8 @@ var openapi_default = {
|
|
|
11685
12227
|
"connected_account_id",
|
|
11686
12228
|
"event_type"
|
|
11687
12229
|
],
|
|
11688
|
-
type: "object"
|
|
12230
|
+
type: "object",
|
|
12231
|
+
"x-route-path": "/devices"
|
|
11689
12232
|
},
|
|
11690
12233
|
{
|
|
11691
12234
|
description: "Seam detected a flaky [device](https://docs.seam.co/latest/core-concepts/devices) connection.",
|
|
@@ -11734,7 +12277,8 @@ var openapi_default = {
|
|
|
11734
12277
|
"connected_account_id",
|
|
11735
12278
|
"event_type"
|
|
11736
12279
|
],
|
|
11737
|
-
type: "object"
|
|
12280
|
+
type: "object",
|
|
12281
|
+
"x-route-path": "/devices"
|
|
11738
12282
|
},
|
|
11739
12283
|
{
|
|
11740
12284
|
description: "Seam detected that a previously-flaky [device](https://docs.seam.co/latest/core-concepts/devices) connection stabilized.",
|
|
@@ -11783,7 +12327,8 @@ var openapi_default = {
|
|
|
11783
12327
|
"connected_account_id",
|
|
11784
12328
|
"event_type"
|
|
11785
12329
|
],
|
|
11786
|
-
type: "object"
|
|
12330
|
+
type: "object",
|
|
12331
|
+
"x-route-path": "/devices"
|
|
11787
12332
|
},
|
|
11788
12333
|
{
|
|
11789
12334
|
description: "A third-party subscription is required to use all [device](https://docs.seam.co/latest/core-concepts/devices) features.",
|
|
@@ -11832,7 +12377,8 @@ var openapi_default = {
|
|
|
11832
12377
|
"connected_account_id",
|
|
11833
12378
|
"event_type"
|
|
11834
12379
|
],
|
|
11835
|
-
type: "object"
|
|
12380
|
+
type: "object",
|
|
12381
|
+
"x-route-path": "/devices"
|
|
11836
12382
|
},
|
|
11837
12383
|
{
|
|
11838
12384
|
description: "A third-party subscription is active or no longer required to use all [device](https://docs.seam.co/latest/core-concepts/devices) features.",
|
|
@@ -11881,7 +12427,8 @@ var openapi_default = {
|
|
|
11881
12427
|
"connected_account_id",
|
|
11882
12428
|
"event_type"
|
|
11883
12429
|
],
|
|
11884
|
-
type: "object"
|
|
12430
|
+
type: "object",
|
|
12431
|
+
"x-route-path": "/devices"
|
|
11885
12432
|
},
|
|
11886
12433
|
{
|
|
11887
12434
|
description: "An accessory keypad was connected to a [device](https://docs.seam.co/latest/core-concepts/devices).",
|
|
@@ -11930,7 +12477,8 @@ var openapi_default = {
|
|
|
11930
12477
|
"connected_account_id",
|
|
11931
12478
|
"event_type"
|
|
11932
12479
|
],
|
|
11933
|
-
type: "object"
|
|
12480
|
+
type: "object",
|
|
12481
|
+
"x-route-path": "/devices"
|
|
11934
12482
|
},
|
|
11935
12483
|
{
|
|
11936
12484
|
description: "An accessory keypad was disconnected from a [device](https://docs.seam.co/latest/core-concepts/devices).",
|
|
@@ -11979,7 +12527,8 @@ var openapi_default = {
|
|
|
11979
12527
|
"connected_account_id",
|
|
11980
12528
|
"event_type"
|
|
11981
12529
|
],
|
|
11982
|
-
type: "object"
|
|
12530
|
+
type: "object",
|
|
12531
|
+
"x-route-path": "/devices"
|
|
11983
12532
|
},
|
|
11984
12533
|
{
|
|
11985
12534
|
description: "Extended periods of noise or noise exceeding a [threshold](https://docs.seam.co/latest/capability-guides/noise-sensors#what-is-a-threshold) were detected.",
|
|
@@ -12057,7 +12606,8 @@ var openapi_default = {
|
|
|
12057
12606
|
"connected_account_id",
|
|
12058
12607
|
"event_type"
|
|
12059
12608
|
],
|
|
12060
|
-
type: "object"
|
|
12609
|
+
type: "object",
|
|
12610
|
+
"x-route-path": "/noise_sensors/noise_thresholds"
|
|
12061
12611
|
},
|
|
12062
12612
|
{
|
|
12063
12613
|
description: "A [lock](https://docs.seam.co/latest/capability-guides/smart-locks) was locked.",
|
|
@@ -12119,7 +12669,8 @@ var openapi_default = {
|
|
|
12119
12669
|
"event_type",
|
|
12120
12670
|
"method"
|
|
12121
12671
|
],
|
|
12122
|
-
type: "object"
|
|
12672
|
+
type: "object",
|
|
12673
|
+
"x-route-path": "/locks"
|
|
12123
12674
|
},
|
|
12124
12675
|
{
|
|
12125
12676
|
description: "A [lock](https://docs.seam.co/latest/capability-guides/smart-locks) was unlocked.",
|
|
@@ -12181,7 +12732,8 @@ var openapi_default = {
|
|
|
12181
12732
|
"event_type",
|
|
12182
12733
|
"method"
|
|
12183
12734
|
],
|
|
12184
|
-
type: "object"
|
|
12735
|
+
type: "object",
|
|
12736
|
+
"x-route-path": "/locks"
|
|
12185
12737
|
},
|
|
12186
12738
|
{
|
|
12187
12739
|
description: "The [lock](https://docs.seam.co/latest/capability-guides/smart-locks) denied access to a user after one or more consecutive invalid attempts to unlock the device.",
|
|
@@ -12232,7 +12784,8 @@ var openapi_default = {
|
|
|
12232
12784
|
"connected_account_id",
|
|
12233
12785
|
"event_type"
|
|
12234
12786
|
],
|
|
12235
|
-
type: "object"
|
|
12787
|
+
type: "object",
|
|
12788
|
+
"x-route-path": "/locks"
|
|
12236
12789
|
},
|
|
12237
12790
|
{
|
|
12238
12791
|
description: "A thermostat [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) was activated.",
|
|
@@ -12298,7 +12851,8 @@ var openapi_default = {
|
|
|
12298
12851
|
"climate_preset_key",
|
|
12299
12852
|
"is_fallback_climate_preset"
|
|
12300
12853
|
],
|
|
12301
|
-
type: "object"
|
|
12854
|
+
type: "object",
|
|
12855
|
+
"x-route-path": "/thermostats"
|
|
12302
12856
|
},
|
|
12303
12857
|
{
|
|
12304
12858
|
description: "A [thermostat](https://docs.seam.co/latest/capability-guides/thermostats) was adjusted manually.",
|
|
@@ -12383,7 +12937,8 @@ var openapi_default = {
|
|
|
12383
12937
|
"event_type",
|
|
12384
12938
|
"method"
|
|
12385
12939
|
],
|
|
12386
|
-
type: "object"
|
|
12940
|
+
type: "object",
|
|
12941
|
+
"x-route-path": "/thermostats"
|
|
12387
12942
|
},
|
|
12388
12943
|
{
|
|
12389
12944
|
description: "A [thermostat's](https://docs.seam.co/latest/capability-guides/thermostats) temperature reading exceeded the set [threshold](https://docs.seam.co/latest/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds).",
|
|
@@ -12472,7 +13027,8 @@ var openapi_default = {
|
|
|
12472
13027
|
"lower_limit_celsius",
|
|
12473
13028
|
"lower_limit_fahrenheit"
|
|
12474
13029
|
],
|
|
12475
|
-
type: "object"
|
|
13030
|
+
type: "object",
|
|
13031
|
+
"x-route-path": "/thermostats"
|
|
12476
13032
|
},
|
|
12477
13033
|
{
|
|
12478
13034
|
description: "A [thermostat's](https://docs.seam.co/latest/capability-guides/thermostats) temperature reading no longer exceeds the set [threshold](https://docs.seam.co/latest/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds).",
|
|
@@ -12561,7 +13117,8 @@ var openapi_default = {
|
|
|
12561
13117
|
"lower_limit_celsius",
|
|
12562
13118
|
"lower_limit_fahrenheit"
|
|
12563
13119
|
],
|
|
12564
|
-
type: "object"
|
|
13120
|
+
type: "object",
|
|
13121
|
+
"x-route-path": "/thermostats"
|
|
12565
13122
|
},
|
|
12566
13123
|
{
|
|
12567
13124
|
properties: {
|
|
@@ -12631,7 +13188,8 @@ var openapi_default = {
|
|
|
12631
13188
|
"temperature_celsius",
|
|
12632
13189
|
"temperature_fahrenheit"
|
|
12633
13190
|
],
|
|
12634
|
-
type: "object"
|
|
13191
|
+
type: "object",
|
|
13192
|
+
"x-route-path": "/thermostats"
|
|
12635
13193
|
},
|
|
12636
13194
|
{
|
|
12637
13195
|
description: "An [enrollment automation](https://docs.seam.co/latest/capability-guides/mobile-access/issuing-mobile-credentials-from-an-access-control-system#prepare-the-phones-for-a-user-identity-to-start-receiving-mobile-credentials-using-an-enrollment-aut) was deleted.",
|
|
@@ -12674,7 +13232,8 @@ var openapi_default = {
|
|
|
12674
13232
|
"enrollment_automation_id",
|
|
12675
13233
|
"event_type"
|
|
12676
13234
|
],
|
|
12677
|
-
type: "object"
|
|
13235
|
+
type: "object",
|
|
13236
|
+
"x-route-path": "/user_identities/enrollment_automations"
|
|
12678
13237
|
},
|
|
12679
13238
|
{
|
|
12680
13239
|
description: "A phone device was deactivated.",
|
|
@@ -12714,9 +13273,11 @@ var openapi_default = {
|
|
|
12714
13273
|
"device_id",
|
|
12715
13274
|
"event_type"
|
|
12716
13275
|
],
|
|
12717
|
-
type: "object"
|
|
13276
|
+
type: "object",
|
|
13277
|
+
"x-route-path": "/phones"
|
|
12718
13278
|
}
|
|
12719
|
-
]
|
|
13279
|
+
],
|
|
13280
|
+
"x-route-path": "/events"
|
|
12720
13281
|
},
|
|
12721
13282
|
network: {
|
|
12722
13283
|
properties: {
|
|
@@ -12726,7 +13287,8 @@ var openapi_default = {
|
|
|
12726
13287
|
workspace_id: { format: "uuid", type: "string" }
|
|
12727
13288
|
},
|
|
12728
13289
|
required: ["network_id", "workspace_id", "display_name", "created_at"],
|
|
12729
|
-
type: "object"
|
|
13290
|
+
type: "object",
|
|
13291
|
+
"x-route-path": "/networks"
|
|
12730
13292
|
},
|
|
12731
13293
|
noise_threshold: {
|
|
12732
13294
|
properties: {
|
|
@@ -12746,7 +13308,8 @@ var openapi_default = {
|
|
|
12746
13308
|
"ends_daily_at",
|
|
12747
13309
|
"noise_threshold_decibels"
|
|
12748
13310
|
],
|
|
12749
|
-
type: "object"
|
|
13311
|
+
type: "object",
|
|
13312
|
+
"x-route-path": "/noise_sensors/noise_thresholds"
|
|
12750
13313
|
},
|
|
12751
13314
|
phone: {
|
|
12752
13315
|
properties: {
|
|
@@ -13087,7 +13650,8 @@ var openapi_default = {
|
|
|
13087
13650
|
"is_managed",
|
|
13088
13651
|
"custom_metadata"
|
|
13089
13652
|
],
|
|
13090
|
-
type: "object"
|
|
13653
|
+
type: "object",
|
|
13654
|
+
"x-route-path": "/phones"
|
|
13091
13655
|
},
|
|
13092
13656
|
service_health: {
|
|
13093
13657
|
properties: {
|
|
@@ -13096,7 +13660,8 @@ var openapi_default = {
|
|
|
13096
13660
|
status: { enum: ["healthy", "degraded", "down"], type: "string" }
|
|
13097
13661
|
},
|
|
13098
13662
|
required: ["service", "status", "description"],
|
|
13099
|
-
type: "object"
|
|
13663
|
+
type: "object",
|
|
13664
|
+
"x-route-path": "/health"
|
|
13100
13665
|
},
|
|
13101
13666
|
thermostat_schedule: {
|
|
13102
13667
|
description: "Represents a [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) that activates a configured [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) on a [thermostat](https://docs.seam.co/latest/capability-guides/thermostats) at a specified starting time and deactivates the climate preset at a specified ending time.",
|
|
@@ -13167,7 +13732,8 @@ var openapi_default = {
|
|
|
13167
13732
|
"created_at",
|
|
13168
13733
|
"errors"
|
|
13169
13734
|
],
|
|
13170
|
-
type: "object"
|
|
13735
|
+
type: "object",
|
|
13736
|
+
"x-route-path": "/thermostats/schedules"
|
|
13171
13737
|
},
|
|
13172
13738
|
unmanaged_access_code: {
|
|
13173
13739
|
properties: {
|
|
@@ -13460,7 +14026,8 @@ var openapi_default = {
|
|
|
13460
14026
|
"is_managed",
|
|
13461
14027
|
"status"
|
|
13462
14028
|
],
|
|
13463
|
-
type: "object"
|
|
14029
|
+
type: "object",
|
|
14030
|
+
"x-route-path": "/access_codes/unmanaged"
|
|
13464
14031
|
},
|
|
13465
14032
|
unmanaged_device: {
|
|
13466
14033
|
properties: {
|
|
@@ -13934,7 +14501,8 @@ var openapi_default = {
|
|
|
13934
14501
|
"is_managed",
|
|
13935
14502
|
"properties"
|
|
13936
14503
|
],
|
|
13937
|
-
type: "object"
|
|
14504
|
+
type: "object",
|
|
14505
|
+
"x-route-path": "/devices/unmanaged"
|
|
13938
14506
|
},
|
|
13939
14507
|
user_identity: {
|
|
13940
14508
|
description: "Represents a [user identity](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) associated with an application user account.",
|
|
@@ -13984,7 +14552,8 @@ var openapi_default = {
|
|
|
13984
14552
|
"created_at",
|
|
13985
14553
|
"workspace_id"
|
|
13986
14554
|
],
|
|
13987
|
-
type: "object"
|
|
14555
|
+
type: "object",
|
|
14556
|
+
"x-route-path": "/user_identities"
|
|
13988
14557
|
},
|
|
13989
14558
|
webhook: {
|
|
13990
14559
|
properties: {
|
|
@@ -13994,7 +14563,8 @@ var openapi_default = {
|
|
|
13994
14563
|
webhook_id: { type: "string" }
|
|
13995
14564
|
},
|
|
13996
14565
|
required: ["webhook_id", "url"],
|
|
13997
|
-
type: "object"
|
|
14566
|
+
type: "object",
|
|
14567
|
+
"x-route-path": "/webhooks"
|
|
13998
14568
|
},
|
|
13999
14569
|
workspace: {
|
|
14000
14570
|
properties: {
|
|
@@ -14016,7 +14586,8 @@ var openapi_default = {
|
|
|
14016
14586
|
"is_sandbox",
|
|
14017
14587
|
"connect_partner_name"
|
|
14018
14588
|
],
|
|
14019
|
-
type: "object"
|
|
14589
|
+
type: "object",
|
|
14590
|
+
"x-route-path": "/workspaces"
|
|
14020
14591
|
}
|
|
14021
14592
|
},
|
|
14022
14593
|
securitySchemes: {
|
|
@@ -17187,6 +17758,31 @@ var openapi_default = {
|
|
|
17187
17758
|
"warning_code"
|
|
17188
17759
|
],
|
|
17189
17760
|
type: "object"
|
|
17761
|
+
},
|
|
17762
|
+
{
|
|
17763
|
+
description: "Access permissions for this [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) have changed. [Reissue](https://docs.seam.co/latest/capability-guides/access-systems/working-with-card-encoders-and-scanners/creating-and-encoding-card-based-credentials) (re-encode) this credential. This issue may affect the proper functioning of the credential.",
|
|
17764
|
+
properties: {
|
|
17765
|
+
created_at: {
|
|
17766
|
+
description: "Date and time at which Seam created the warning.",
|
|
17767
|
+
format: "date-time",
|
|
17768
|
+
type: "string"
|
|
17769
|
+
},
|
|
17770
|
+
message: {
|
|
17771
|
+
description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
|
|
17772
|
+
type: "string"
|
|
17773
|
+
},
|
|
17774
|
+
warning_code: {
|
|
17775
|
+
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
17776
|
+
enum: ["needs_to_be_reissued"],
|
|
17777
|
+
type: "string"
|
|
17778
|
+
}
|
|
17779
|
+
},
|
|
17780
|
+
required: [
|
|
17781
|
+
"created_at",
|
|
17782
|
+
"message",
|
|
17783
|
+
"warning_code"
|
|
17784
|
+
],
|
|
17785
|
+
type: "object"
|
|
17190
17786
|
}
|
|
17191
17787
|
]
|
|
17192
17788
|
},
|
|
@@ -17575,6 +18171,31 @@ var openapi_default = {
|
|
|
17575
18171
|
"warning_code"
|
|
17576
18172
|
],
|
|
17577
18173
|
type: "object"
|
|
18174
|
+
},
|
|
18175
|
+
{
|
|
18176
|
+
description: "Access permissions for this [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) have changed. [Reissue](https://docs.seam.co/latest/capability-guides/access-systems/working-with-card-encoders-and-scanners/creating-and-encoding-card-based-credentials) (re-encode) this credential. This issue may affect the proper functioning of the credential.",
|
|
18177
|
+
properties: {
|
|
18178
|
+
created_at: {
|
|
18179
|
+
description: "Date and time at which Seam created the warning.",
|
|
18180
|
+
format: "date-time",
|
|
18181
|
+
type: "string"
|
|
18182
|
+
},
|
|
18183
|
+
message: {
|
|
18184
|
+
description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
|
|
18185
|
+
type: "string"
|
|
18186
|
+
},
|
|
18187
|
+
warning_code: {
|
|
18188
|
+
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
18189
|
+
enum: ["needs_to_be_reissued"],
|
|
18190
|
+
type: "string"
|
|
18191
|
+
}
|
|
18192
|
+
},
|
|
18193
|
+
required: [
|
|
18194
|
+
"created_at",
|
|
18195
|
+
"message",
|
|
18196
|
+
"warning_code"
|
|
18197
|
+
],
|
|
18198
|
+
type: "object"
|
|
17578
18199
|
}
|
|
17579
18200
|
]
|
|
17580
18201
|
},
|
|
@@ -22619,6 +23240,7 @@ var openapi_default = {
|
|
|
22619
23240
|
"acs_user.deleted",
|
|
22620
23241
|
"acs_credential.deleted",
|
|
22621
23242
|
"acs_credential.issued",
|
|
23243
|
+
"acs_credential.reissued",
|
|
22622
23244
|
"acs_encoder.added",
|
|
22623
23245
|
"acs_encoder.removed",
|
|
22624
23246
|
"enrollment_automation.deleted",
|
|
@@ -22698,6 +23320,7 @@ var openapi_default = {
|
|
|
22698
23320
|
"acs_user.deleted",
|
|
22699
23321
|
"acs_credential.deleted",
|
|
22700
23322
|
"acs_credential.issued",
|
|
23323
|
+
"acs_credential.reissued",
|
|
22701
23324
|
"acs_encoder.added",
|
|
22702
23325
|
"acs_encoder.removed",
|
|
22703
23326
|
"enrollment_automation.deleted",
|