@seamapi/types 1.1079.0 → 1.1081.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/lib/seam/connect/models/access-codes/managed-access-code.d.ts +16 -16
- package/lib/seam/connect/models/access-codes/managed-access-code.js +5 -5
- package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +5 -5
- package/lib/seam/connect/models/devices/device-metadata.d.ts +33 -0
- package/lib/seam/connect/models/devices/device-metadata.js +23 -0
- package/lib/seam/connect/models/devices/device-metadata.js.map +1 -1
- package/lib/seam/connect/models/devices/device-provider.d.ts +2 -1
- package/lib/seam/connect/models/devices/device-provider.js +2 -1
- package/lib/seam/connect/models/devices/device-provider.js.map +1 -1
- package/lib/seam/connect/models/devices/device-type.d.ts +2 -1
- package/lib/seam/connect/models/devices/device-type.js +1 -0
- package/lib/seam/connect/models/devices/device-type.js.map +1 -1
- package/lib/seam/connect/models/devices/device.d.ts +50 -3
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +36 -3
- package/lib/seam/connect/models/events/access-codes.d.ts +8 -8
- package/lib/seam/connect/models/events/access-codes.js +4 -4
- package/lib/seam/connect/models/events/seam-event.d.ts +4 -4
- package/lib/seam/connect/openapi.js +50 -20
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +273 -52
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +5 -5
- package/src/lib/seam/connect/models/devices/device-metadata.ts +24 -0
- package/src/lib/seam/connect/models/devices/device-provider.ts +2 -1
- package/src/lib/seam/connect/models/devices/device-type.ts +1 -0
- package/src/lib/seam/connect/models/events/access-codes.ts +6 -6
- package/src/lib/seam/connect/openapi.ts +50 -20
- package/src/lib/seam/connect/route-types.ts +358 -48
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as z from 'zod/v3';
|
|
2
2
|
export declare const unmanaged_device: z.ZodObject<Pick<{
|
|
3
3
|
device_id: z.ZodString;
|
|
4
|
-
device_type: z.ZodUnion<[z.ZodEnum<["akuvox_lock" | "august_lock" | "brivo_access_point" | "butterflymx_panel" | "avigilon_alta_entry" | "doorking_lock" | "genie_door" | "igloo_lock" | "linear_lock" | "lockly_lock" | "kwikset_lock" | "nuki_lock" | "salto_lock" | "schlage_lock" | "smartthings_lock" | "wyze_lock" | "yale_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "four_suites_door" | "dormakaba_oracode_door" | "tedee_lock" | "akiles_lock" | "ultraloq_lock" | "yacan_lock" | "keyincode_lock" | "omnitec_lock" | "kisi_lock" | "aqara_lock"]>, z.ZodEnum<["keynest_key"]>, z.ZodEnum<["noiseaware_activity_zone" | "minut_sensor"]>, z.ZodEnum<["ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat" | "tado_thermostat" | "sensi_thermostat" | "smartthings_thermostat"]>, z.ZodEnum<["ios_phone" | "android_phone"]>, z.ZodEnum<["ring_camera" | "tapo_camera"]>]>;
|
|
4
|
+
device_type: z.ZodUnion<[z.ZodEnum<["akuvox_lock" | "august_lock" | "brivo_access_point" | "butterflymx_panel" | "avigilon_alta_entry" | "doorking_lock" | "genie_door" | "igloo_lock" | "linear_lock" | "lockly_lock" | "kwikset_lock" | "nuki_lock" | "salto_lock" | "schlage_lock" | "smartthings_lock" | "wyze_lock" | "yale_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "four_suites_door" | "dormakaba_oracode_door" | "tedee_lock" | "akiles_lock" | "ultraloq_lock" | "yacan_lock" | "keyincode_lock" | "omnitec_lock" | "kisi_lock" | "aqara_lock"]>, z.ZodEnum<["keynest_key"]>, z.ZodEnum<["noiseaware_activity_zone" | "minut_sensor"]>, z.ZodEnum<["ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat" | "tado_thermostat" | "sensi_thermostat" | "smartthings_thermostat"]>, z.ZodEnum<["ios_phone" | "android_phone"]>, z.ZodEnum<["ring_camera" | "tapo_camera" | "arlo_camera"]>]>;
|
|
5
5
|
space_ids: z.ZodArray<z.ZodString, "many">;
|
|
6
6
|
nickname: z.ZodOptional<z.ZodString>;
|
|
7
7
|
display_name: z.ZodString;
|
|
@@ -1161,6 +1161,25 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
1161
1161
|
firmware_version?: string | undefined;
|
|
1162
1162
|
hardware_version?: string | undefined;
|
|
1163
1163
|
}>>>;
|
|
1164
|
+
arlo_metadata: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
1165
|
+
device_id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1166
|
+
device_name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1167
|
+
model_id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1168
|
+
hardware_version: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1169
|
+
firmware_version: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1170
|
+
}, "strip", z.ZodTypeAny, {
|
|
1171
|
+
device_id?: string | undefined;
|
|
1172
|
+
device_name?: string | undefined;
|
|
1173
|
+
firmware_version?: string | undefined;
|
|
1174
|
+
hardware_version?: string | undefined;
|
|
1175
|
+
model_id?: string | undefined;
|
|
1176
|
+
}, {
|
|
1177
|
+
device_id?: string | undefined;
|
|
1178
|
+
device_name?: string | undefined;
|
|
1179
|
+
firmware_version?: string | undefined;
|
|
1180
|
+
hardware_version?: string | undefined;
|
|
1181
|
+
model_id?: string | undefined;
|
|
1182
|
+
}>>>;
|
|
1164
1183
|
ring_metadata: z.ZodOptional<z.ZodObject<{
|
|
1165
1184
|
device_id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1166
1185
|
device_name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
@@ -1539,6 +1558,13 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
1539
1558
|
firmware_version?: string | undefined;
|
|
1540
1559
|
hardware_version?: string | undefined;
|
|
1541
1560
|
} | undefined;
|
|
1561
|
+
arlo_metadata?: {
|
|
1562
|
+
device_id?: string | undefined;
|
|
1563
|
+
device_name?: string | undefined;
|
|
1564
|
+
firmware_version?: string | undefined;
|
|
1565
|
+
hardware_version?: string | undefined;
|
|
1566
|
+
model_id?: string | undefined;
|
|
1567
|
+
} | undefined;
|
|
1542
1568
|
ring_metadata?: {
|
|
1543
1569
|
device_id?: string | undefined;
|
|
1544
1570
|
device_name?: string | undefined;
|
|
@@ -1867,6 +1893,13 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
1867
1893
|
firmware_version?: string | undefined;
|
|
1868
1894
|
hardware_version?: string | undefined;
|
|
1869
1895
|
} | undefined;
|
|
1896
|
+
arlo_metadata?: {
|
|
1897
|
+
device_id?: string | undefined;
|
|
1898
|
+
device_name?: string | undefined;
|
|
1899
|
+
firmware_version?: string | undefined;
|
|
1900
|
+
hardware_version?: string | undefined;
|
|
1901
|
+
model_id?: string | undefined;
|
|
1902
|
+
} | undefined;
|
|
1870
1903
|
ring_metadata?: {
|
|
1871
1904
|
device_id?: string | undefined;
|
|
1872
1905
|
device_name?: string | undefined;
|
|
@@ -3934,7 +3967,7 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
3934
3967
|
max_active_access_code_count: number;
|
|
3935
3968
|
})[];
|
|
3936
3969
|
custom_metadata: Record<string, string | boolean>;
|
|
3937
|
-
device_type: ("akuvox_lock" | "august_lock" | "brivo_access_point" | "butterflymx_panel" | "avigilon_alta_entry" | "doorking_lock" | "genie_door" | "igloo_lock" | "linear_lock" | "lockly_lock" | "kwikset_lock" | "nuki_lock" | "salto_lock" | "schlage_lock" | "smartthings_lock" | "wyze_lock" | "yale_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "four_suites_door" | "dormakaba_oracode_door" | "tedee_lock" | "akiles_lock" | "ultraloq_lock" | "yacan_lock" | "keyincode_lock" | "omnitec_lock" | "kisi_lock" | "aqara_lock") | "keynest_key" | ("noiseaware_activity_zone" | "minut_sensor") | ("ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat" | "tado_thermostat" | "sensi_thermostat" | "smartthings_thermostat") | ("ios_phone" | "android_phone") | ("ring_camera" | "tapo_camera");
|
|
3970
|
+
device_type: ("akuvox_lock" | "august_lock" | "brivo_access_point" | "butterflymx_panel" | "avigilon_alta_entry" | "doorking_lock" | "genie_door" | "igloo_lock" | "linear_lock" | "lockly_lock" | "kwikset_lock" | "nuki_lock" | "salto_lock" | "schlage_lock" | "smartthings_lock" | "wyze_lock" | "yale_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "four_suites_door" | "dormakaba_oracode_door" | "tedee_lock" | "akiles_lock" | "ultraloq_lock" | "yacan_lock" | "keyincode_lock" | "omnitec_lock" | "kisi_lock" | "aqara_lock") | "keynest_key" | ("noiseaware_activity_zone" | "minut_sensor") | ("ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat" | "tado_thermostat" | "sensi_thermostat" | "smartthings_thermostat") | ("ios_phone" | "android_phone") | ("ring_camera" | "tapo_camera" | "arlo_camera");
|
|
3938
3971
|
capabilities_supported: ("access_code" | "lock" | "noise_detection" | "thermostat" | "battery" | "phone")[];
|
|
3939
3972
|
properties: {
|
|
3940
3973
|
name: string;
|
|
@@ -4216,7 +4249,7 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
4216
4249
|
max_active_access_code_count: number;
|
|
4217
4250
|
})[];
|
|
4218
4251
|
custom_metadata: Record<string, string | boolean>;
|
|
4219
|
-
device_type: ("akuvox_lock" | "august_lock" | "brivo_access_point" | "butterflymx_panel" | "avigilon_alta_entry" | "doorking_lock" | "genie_door" | "igloo_lock" | "linear_lock" | "lockly_lock" | "kwikset_lock" | "nuki_lock" | "salto_lock" | "schlage_lock" | "smartthings_lock" | "wyze_lock" | "yale_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "four_suites_door" | "dormakaba_oracode_door" | "tedee_lock" | "akiles_lock" | "ultraloq_lock" | "yacan_lock" | "keyincode_lock" | "omnitec_lock" | "kisi_lock" | "aqara_lock") | "keynest_key" | ("noiseaware_activity_zone" | "minut_sensor") | ("ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat" | "tado_thermostat" | "sensi_thermostat" | "smartthings_thermostat") | ("ios_phone" | "android_phone") | ("ring_camera" | "tapo_camera");
|
|
4252
|
+
device_type: ("akuvox_lock" | "august_lock" | "brivo_access_point" | "butterflymx_panel" | "avigilon_alta_entry" | "doorking_lock" | "genie_door" | "igloo_lock" | "linear_lock" | "lockly_lock" | "kwikset_lock" | "nuki_lock" | "salto_lock" | "schlage_lock" | "smartthings_lock" | "wyze_lock" | "yale_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "four_suites_door" | "dormakaba_oracode_door" | "tedee_lock" | "akiles_lock" | "ultraloq_lock" | "yacan_lock" | "keyincode_lock" | "omnitec_lock" | "kisi_lock" | "aqara_lock") | "keynest_key" | ("noiseaware_activity_zone" | "minut_sensor") | ("ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat" | "tado_thermostat" | "sensi_thermostat" | "smartthings_thermostat") | ("ios_phone" | "android_phone") | ("ring_camera" | "tapo_camera" | "arlo_camera");
|
|
4220
4253
|
capabilities_supported: ("access_code" | "lock" | "noise_detection" | "thermostat" | "battery" | "phone")[];
|
|
4221
4254
|
properties: {
|
|
4222
4255
|
name: string;
|
|
@@ -1449,7 +1449,7 @@ export declare const access_code_failed_to_update_event: z.ZodObject<{
|
|
|
1449
1449
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1450
1450
|
}>;
|
|
1451
1451
|
export type AccessCodeFailedToUpdateEvent = z.infer<typeof access_code_failed_to_update_event>;
|
|
1452
|
-
export declare const
|
|
1452
|
+
export declare const access_code_failed_to_delete_event: z.ZodObject<{
|
|
1453
1453
|
event_id: z.ZodString;
|
|
1454
1454
|
workspace_id: z.ZodString;
|
|
1455
1455
|
created_at: z.ZodString;
|
|
@@ -1462,7 +1462,7 @@ export declare const access_code_failed_to_remove_event: z.ZodObject<{
|
|
|
1462
1462
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1463
1463
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1464
1464
|
} & {
|
|
1465
|
-
event_type: z.ZodLiteral<"access_code.
|
|
1465
|
+
event_type: z.ZodLiteral<"access_code.failed_to_delete">;
|
|
1466
1466
|
} & {
|
|
1467
1467
|
connected_account_errors: z.ZodArray<z.ZodObject<{
|
|
1468
1468
|
created_at: z.ZodString;
|
|
@@ -1550,7 +1550,7 @@ export declare const access_code_failed_to_remove_event: z.ZodObject<{
|
|
|
1550
1550
|
access_code_id: string;
|
|
1551
1551
|
event_id: string;
|
|
1552
1552
|
occurred_at: string;
|
|
1553
|
-
event_type: "access_code.
|
|
1553
|
+
event_type: "access_code.failed_to_delete";
|
|
1554
1554
|
connected_account_errors: {
|
|
1555
1555
|
message: string;
|
|
1556
1556
|
created_at: string;
|
|
@@ -1592,7 +1592,7 @@ export declare const access_code_failed_to_remove_event: z.ZodObject<{
|
|
|
1592
1592
|
access_code_id: string;
|
|
1593
1593
|
event_id: string;
|
|
1594
1594
|
occurred_at: string;
|
|
1595
|
-
event_type: "access_code.
|
|
1595
|
+
event_type: "access_code.failed_to_delete";
|
|
1596
1596
|
connected_account_errors: {
|
|
1597
1597
|
message: string;
|
|
1598
1598
|
created_at: string;
|
|
@@ -1627,7 +1627,7 @@ export declare const access_code_failed_to_remove_event: z.ZodObject<{
|
|
|
1627
1627
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1628
1628
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1629
1629
|
}>;
|
|
1630
|
-
export type
|
|
1630
|
+
export type AccessCodeFailedToDeleteEvent = z.infer<typeof access_code_failed_to_delete_event>;
|
|
1631
1631
|
export declare const access_code_deleted_event: z.ZodObject<{
|
|
1632
1632
|
event_id: z.ZodString;
|
|
1633
1633
|
workspace_id: z.ZodString;
|
|
@@ -3886,7 +3886,7 @@ export declare const access_code_events: readonly [z.ZodObject<{
|
|
|
3886
3886
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
3887
3887
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
3888
3888
|
} & {
|
|
3889
|
-
event_type: z.ZodLiteral<"access_code.
|
|
3889
|
+
event_type: z.ZodLiteral<"access_code.failed_to_delete">;
|
|
3890
3890
|
} & {
|
|
3891
3891
|
connected_account_errors: z.ZodArray<z.ZodObject<{
|
|
3892
3892
|
created_at: z.ZodString;
|
|
@@ -3974,7 +3974,7 @@ export declare const access_code_events: readonly [z.ZodObject<{
|
|
|
3974
3974
|
access_code_id: string;
|
|
3975
3975
|
event_id: string;
|
|
3976
3976
|
occurred_at: string;
|
|
3977
|
-
event_type: "access_code.
|
|
3977
|
+
event_type: "access_code.failed_to_delete";
|
|
3978
3978
|
connected_account_errors: {
|
|
3979
3979
|
message: string;
|
|
3980
3980
|
created_at: string;
|
|
@@ -4016,7 +4016,7 @@ export declare const access_code_events: readonly [z.ZodObject<{
|
|
|
4016
4016
|
access_code_id: string;
|
|
4017
4017
|
event_id: string;
|
|
4018
4018
|
occurred_at: string;
|
|
4019
|
-
event_type: "access_code.
|
|
4019
|
+
event_type: "access_code.failed_to_delete";
|
|
4020
4020
|
connected_account_errors: {
|
|
4021
4021
|
message: string;
|
|
4022
4022
|
created_at: string;
|
|
@@ -264,16 +264,16 @@ export const access_code_failed_to_update_event = access_code_event
|
|
|
264
264
|
---
|
|
265
265
|
Seam was unable to apply this [access code](https://www.seam.co/docs/low-level-apis/smart-locks/access-codes)'s requested update to the device, so the code on the device does not match its requested state. Seam keeps retrying, and the accompanying \`failed_to_update\` error clears automatically once the update is applied.
|
|
266
266
|
`);
|
|
267
|
-
export const
|
|
267
|
+
export const access_code_failed_to_delete_event = access_code_event
|
|
268
268
|
.extend({
|
|
269
|
-
event_type: z.literal('access_code.
|
|
269
|
+
event_type: z.literal('access_code.failed_to_delete'),
|
|
270
270
|
})
|
|
271
271
|
.extend(access_code_event_issue_properties).describe(`
|
|
272
272
|
---
|
|
273
273
|
route_path: /access_codes
|
|
274
274
|
undocumented: Unreleased.
|
|
275
275
|
---
|
|
276
|
-
An [access code](https://www.seam.co/docs/low-level-apis/smart-locks/access-codes) is still active on the device even though its \`ends_at\` has passed, so the recipient may still be able to unlock the device after their access window ended. Seam is attempting to
|
|
276
|
+
An [access code](https://www.seam.co/docs/low-level-apis/smart-locks/access-codes) is still active on the device even though its \`ends_at\` has passed, so the recipient may still be able to unlock the device after their access window ended. Seam is attempting to delete it, and the accompanying \`failed_to_delete\` error clears automatically once the access code is no longer active.
|
|
277
277
|
`);
|
|
278
278
|
export const access_code_deleted_event = access_code_event.extend({
|
|
279
279
|
event_type: z.literal('access_code.deleted'),
|
|
@@ -383,7 +383,7 @@ export const access_code_events = [
|
|
|
383
383
|
access_code_delay_in_issuing_event,
|
|
384
384
|
access_code_failed_to_issue_event,
|
|
385
385
|
access_code_failed_to_update_event,
|
|
386
|
-
|
|
386
|
+
access_code_failed_to_delete_event,
|
|
387
387
|
access_code_deleted_event,
|
|
388
388
|
access_code_delay_in_removing_from_device_event,
|
|
389
389
|
access_code_failed_to_remove_from_device_event,
|
|
@@ -1432,7 +1432,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1432
1432
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1433
1433
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1434
1434
|
} & {
|
|
1435
|
-
event_type: z.ZodLiteral<"access_code.
|
|
1435
|
+
event_type: z.ZodLiteral<"access_code.failed_to_delete">;
|
|
1436
1436
|
} & {
|
|
1437
1437
|
connected_account_errors: z.ZodArray<z.ZodObject<{
|
|
1438
1438
|
created_at: z.ZodString;
|
|
@@ -1520,7 +1520,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1520
1520
|
access_code_id: string;
|
|
1521
1521
|
event_id: string;
|
|
1522
1522
|
occurred_at: string;
|
|
1523
|
-
event_type: "access_code.
|
|
1523
|
+
event_type: "access_code.failed_to_delete";
|
|
1524
1524
|
connected_account_errors: {
|
|
1525
1525
|
message: string;
|
|
1526
1526
|
created_at: string;
|
|
@@ -1562,7 +1562,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1562
1562
|
access_code_id: string;
|
|
1563
1563
|
event_id: string;
|
|
1564
1564
|
occurred_at: string;
|
|
1565
|
-
event_type: "access_code.
|
|
1565
|
+
event_type: "access_code.failed_to_delete";
|
|
1566
1566
|
connected_account_errors: {
|
|
1567
1567
|
message: string;
|
|
1568
1568
|
created_at: string;
|
|
@@ -6370,5 +6370,5 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
6370
6370
|
space_key?: string | undefined;
|
|
6371
6371
|
}>]>;
|
|
6372
6372
|
export type SeamEvent = z.infer<typeof seam_event>;
|
|
6373
|
-
export declare const seam_event_type: z.ZodEnum<["access_code.created" | "access_code.changed" | "access_code.name_changed" | "access_code.code_changed" | "access_code.time_frame_changed" | "access_code.mutations_requested" | "access_code.scheduled_on_device" | "access_code.set_on_device" | "access_code.removed_from_device" | "access_code.delay_in_setting_on_device" | "access_code.failed_to_set_on_device" | "access_code.issued" | "access_code.delay_in_issuing" | "access_code.failed_to_issue" | "access_code.failed_to_update" | "access_code.
|
|
6373
|
+
export declare const seam_event_type: z.ZodEnum<["access_code.created" | "access_code.changed" | "access_code.name_changed" | "access_code.code_changed" | "access_code.time_frame_changed" | "access_code.mutations_requested" | "access_code.scheduled_on_device" | "access_code.set_on_device" | "access_code.removed_from_device" | "access_code.delay_in_setting_on_device" | "access_code.failed_to_set_on_device" | "access_code.issued" | "access_code.delay_in_issuing" | "access_code.failed_to_issue" | "access_code.failed_to_update" | "access_code.failed_to_delete" | "access_code.deleted" | "access_code.delay_in_removing_from_device" | "access_code.failed_to_remove_from_device" | "access_code.modified_external_to_seam" | "access_code.deleted_external_to_seam" | "access_code.backup_access_code_pulled" | "access_code.unmanaged.converted_to_managed" | "access_code.unmanaged.failed_to_convert_to_managed" | "access_code.unmanaged.created" | "access_code.unmanaged.removed" | "access_grant.created" | "access_grant.deleted" | "access_grant.access_granted_to_all_doors" | "access_grant.access_granted_to_door" | "access_grant.access_to_door_lost" | "access_grant.access_times_changed" | "access_grant.could_not_create_requested_access_methods" | "access_method.issued" | "access_method.card_encoding_required" | "access_method.revoked" | "access_method.deleted" | "access_method.reissued" | "access_method.created" | "access_method.delay_in_issuing" | "access_method.failed_to_issue" | "acs_access_group.deleted" | "acs_credential.deleted" | "acs_credential.issued" | "acs_credential.reissued" | "acs_credential.invalidated" | "acs_encoder.added" | "acs_encoder.removed" | "acs_entrance.added" | "acs_entrance.removed" | "acs_system.connected" | "acs_system.disconnected" | "acs_system.added" | "acs_user.deleted" | "acs_user.created" | "action_attempt.lock_door.succeeded" | "action_attempt.lock_door.failed" | "action_attempt.unlock_door.succeeded" | "action_attempt.unlock_door.failed" | "action_attempt.simulate_keypad_code_entry.succeeded" | "action_attempt.simulate_keypad_code_entry.failed" | "action_attempt.simulate_manual_lock_via_keypad.succeeded" | "action_attempt.simulate_manual_lock_via_keypad.failed" | "client_session.deleted" | "connect_webview.login_succeeded" | "connect_webview.login_failed" | "connected_account.connected" | "connected_account.created" | "connected_account.successful_login" | "connected_account.disconnected" | "connected_account.completed_first_sync" | "connected_account.deleted" | "connected_account.completed_first_sync_after_reconnection" | "connected_account.reauthorization_requested" | "device.connected" | "device.added" | "device.converted_to_unmanaged" | "device.unmanaged.converted_to_managed" | "device.unmanaged.connected" | "device.disconnected" | "device.unmanaged.disconnected" | "device.tampered" | "device.low_battery" | "device.battery_status_changed" | "device.removed" | "device.deleted" | "device.third_party_integration_detected" | "device.third_party_integration_no_longer_detected" | "device.salto.privacy_mode_activated" | "device.salto.privacy_mode_deactivated" | "device.connection_became_flaky" | "device.connection_stabilized" | "device.error.subscription_required" | "device.error.subscription_required.resolved" | "device.accessory_keypad_connected" | "device.accessory_keypad_disconnected" | "noise_sensor.noise_threshold_triggered" | "lock.locked" | "lock.unlocked" | "lock.access_denied" | "thermostat.climate_preset_activated" | "thermostat.manually_adjusted" | "thermostat.temperature_threshold_exceeded" | "thermostat.temperature_threshold_no_longer_exceeded" | "thermostat.temperature_reached_set_point" | "thermostat.temperature_changed" | "device.name_changed" | "camera.activated" | "device.doorbell_rang" | "enrollment_automation.deleted" | "phone.deactivated" | "space.device_membership_changed" | "space.created" | "space.deleted", ...("access_code.created" | "access_code.changed" | "access_code.name_changed" | "access_code.code_changed" | "access_code.time_frame_changed" | "access_code.mutations_requested" | "access_code.scheduled_on_device" | "access_code.set_on_device" | "access_code.removed_from_device" | "access_code.delay_in_setting_on_device" | "access_code.failed_to_set_on_device" | "access_code.issued" | "access_code.delay_in_issuing" | "access_code.failed_to_issue" | "access_code.failed_to_update" | "access_code.failed_to_delete" | "access_code.deleted" | "access_code.delay_in_removing_from_device" | "access_code.failed_to_remove_from_device" | "access_code.modified_external_to_seam" | "access_code.deleted_external_to_seam" | "access_code.backup_access_code_pulled" | "access_code.unmanaged.converted_to_managed" | "access_code.unmanaged.failed_to_convert_to_managed" | "access_code.unmanaged.created" | "access_code.unmanaged.removed" | "access_grant.created" | "access_grant.deleted" | "access_grant.access_granted_to_all_doors" | "access_grant.access_granted_to_door" | "access_grant.access_to_door_lost" | "access_grant.access_times_changed" | "access_grant.could_not_create_requested_access_methods" | "access_method.issued" | "access_method.card_encoding_required" | "access_method.revoked" | "access_method.deleted" | "access_method.reissued" | "access_method.created" | "access_method.delay_in_issuing" | "access_method.failed_to_issue" | "acs_access_group.deleted" | "acs_credential.deleted" | "acs_credential.issued" | "acs_credential.reissued" | "acs_credential.invalidated" | "acs_encoder.added" | "acs_encoder.removed" | "acs_entrance.added" | "acs_entrance.removed" | "acs_system.connected" | "acs_system.disconnected" | "acs_system.added" | "acs_user.deleted" | "acs_user.created" | "action_attempt.lock_door.succeeded" | "action_attempt.lock_door.failed" | "action_attempt.unlock_door.succeeded" | "action_attempt.unlock_door.failed" | "action_attempt.simulate_keypad_code_entry.succeeded" | "action_attempt.simulate_keypad_code_entry.failed" | "action_attempt.simulate_manual_lock_via_keypad.succeeded" | "action_attempt.simulate_manual_lock_via_keypad.failed" | "client_session.deleted" | "connect_webview.login_succeeded" | "connect_webview.login_failed" | "connected_account.connected" | "connected_account.created" | "connected_account.successful_login" | "connected_account.disconnected" | "connected_account.completed_first_sync" | "connected_account.deleted" | "connected_account.completed_first_sync_after_reconnection" | "connected_account.reauthorization_requested" | "device.connected" | "device.added" | "device.converted_to_unmanaged" | "device.unmanaged.converted_to_managed" | "device.unmanaged.connected" | "device.disconnected" | "device.unmanaged.disconnected" | "device.tampered" | "device.low_battery" | "device.battery_status_changed" | "device.removed" | "device.deleted" | "device.third_party_integration_detected" | "device.third_party_integration_no_longer_detected" | "device.salto.privacy_mode_activated" | "device.salto.privacy_mode_deactivated" | "device.connection_became_flaky" | "device.connection_stabilized" | "device.error.subscription_required" | "device.error.subscription_required.resolved" | "device.accessory_keypad_connected" | "device.accessory_keypad_disconnected" | "noise_sensor.noise_threshold_triggered" | "lock.locked" | "lock.unlocked" | "lock.access_denied" | "thermostat.climate_preset_activated" | "thermostat.manually_adjusted" | "thermostat.temperature_threshold_exceeded" | "thermostat.temperature_threshold_no_longer_exceeded" | "thermostat.temperature_reached_set_point" | "thermostat.temperature_changed" | "device.name_changed" | "camera.activated" | "device.doorbell_rang" | "enrollment_automation.deleted" | "phone.deactivated" | "space.device_membership_changed" | "space.created" | "space.deleted")[]]>;
|
|
6374
6374
|
export type SeamEventType = SeamEvent['event_type'];
|
|
@@ -397,7 +397,7 @@ const openapi = {
|
|
|
397
397
|
'x-undocumented': 'Unreleased.',
|
|
398
398
|
},
|
|
399
399
|
{
|
|
400
|
-
description: 'This access code is still active on the device even though its `ends_at` has passed, so the recipient may still be able to unlock the device after their access window ended. Seam is attempting to
|
|
400
|
+
description: 'This access code is still active on the device even though its `ends_at` has passed, so the recipient may still be able to unlock the device after their access window ended. Seam is attempting to delete it, and this error clears automatically once the access code is no longer active.',
|
|
401
401
|
properties: {
|
|
402
402
|
created_at: {
|
|
403
403
|
description: 'Date and time at which Seam created the error.',
|
|
@@ -406,7 +406,7 @@ const openapi = {
|
|
|
406
406
|
},
|
|
407
407
|
error_code: {
|
|
408
408
|
description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
409
|
-
enum: ['
|
|
409
|
+
enum: ['failed_to_delete'],
|
|
410
410
|
type: 'string',
|
|
411
411
|
},
|
|
412
412
|
is_access_code_error: {
|
|
@@ -12162,7 +12162,7 @@ const openapi = {
|
|
|
12162
12162
|
},
|
|
12163
12163
|
{
|
|
12164
12164
|
description: 'Device type for cameras.',
|
|
12165
|
-
enum: ['ring_camera', 'tapo_camera'],
|
|
12165
|
+
enum: ['ring_camera', 'tapo_camera', 'arlo_camera'],
|
|
12166
12166
|
type: 'string',
|
|
12167
12167
|
},
|
|
12168
12168
|
],
|
|
@@ -13000,6 +13000,32 @@ const openapi = {
|
|
|
13000
13000
|
},
|
|
13001
13001
|
type: 'object',
|
|
13002
13002
|
},
|
|
13003
|
+
arlo_metadata: {
|
|
13004
|
+
description: 'Metadata for an Arlo camera.',
|
|
13005
|
+
properties: {
|
|
13006
|
+
device_id: {
|
|
13007
|
+
description: 'Device ID reported by Arlo.',
|
|
13008
|
+
type: 'string',
|
|
13009
|
+
},
|
|
13010
|
+
device_name: {
|
|
13011
|
+
description: 'Device name reported by Arlo.',
|
|
13012
|
+
type: 'string',
|
|
13013
|
+
},
|
|
13014
|
+
firmware_version: {
|
|
13015
|
+
description: 'Firmware version reported by Arlo.',
|
|
13016
|
+
type: 'string',
|
|
13017
|
+
},
|
|
13018
|
+
hardware_version: {
|
|
13019
|
+
description: 'Hardware version reported by Arlo.',
|
|
13020
|
+
type: 'string',
|
|
13021
|
+
},
|
|
13022
|
+
model_id: {
|
|
13023
|
+
description: 'Model ID reported by Arlo.',
|
|
13024
|
+
type: 'string',
|
|
13025
|
+
},
|
|
13026
|
+
},
|
|
13027
|
+
type: 'object',
|
|
13028
|
+
},
|
|
13003
13029
|
assa_abloy_vostio_metadata: {
|
|
13004
13030
|
description: 'Metadata for an ASSA ABLOY Vostio system.',
|
|
13005
13031
|
properties: {
|
|
@@ -16073,6 +16099,7 @@ const openapi = {
|
|
|
16073
16099
|
'thirty_three_lock',
|
|
16074
16100
|
'ring',
|
|
16075
16101
|
'tapo',
|
|
16102
|
+
'arlo',
|
|
16076
16103
|
'ical',
|
|
16077
16104
|
'lodgify',
|
|
16078
16105
|
'hostaway',
|
|
@@ -18200,7 +18227,7 @@ const openapi = {
|
|
|
18200
18227
|
'x-undocumented': 'Unreleased.',
|
|
18201
18228
|
},
|
|
18202
18229
|
{
|
|
18203
|
-
description: 'An [access code](https://www.seam.co/docs/low-level-apis/smart-locks/access-codes) is still active on the device even though its `ends_at` has passed, so the recipient may still be able to unlock the device after their access window ended. Seam is attempting to
|
|
18230
|
+
description: 'An [access code](https://www.seam.co/docs/low-level-apis/smart-locks/access-codes) is still active on the device even though its `ends_at` has passed, so the recipient may still be able to unlock the device after their access window ended. Seam is attempting to delete it, and the accompanying `failed_to_delete` error clears automatically once the access code is no longer active.',
|
|
18204
18231
|
properties: {
|
|
18205
18232
|
access_code_errors: {
|
|
18206
18233
|
description: 'Errors associated with the access code.',
|
|
@@ -18390,7 +18417,7 @@ const openapi = {
|
|
|
18390
18417
|
type: 'string',
|
|
18391
18418
|
},
|
|
18392
18419
|
event_type: {
|
|
18393
|
-
enum: ['access_code.
|
|
18420
|
+
enum: ['access_code.failed_to_delete'],
|
|
18394
18421
|
type: 'string',
|
|
18395
18422
|
},
|
|
18396
18423
|
occurred_at: {
|
|
@@ -28656,7 +28683,7 @@ const openapi = {
|
|
|
28656
28683
|
'x-undocumented': 'Unreleased.',
|
|
28657
28684
|
},
|
|
28658
28685
|
{
|
|
28659
|
-
description: 'This access code is still active on the device even though its `ends_at` has passed, so the recipient may still be able to unlock the device after their access window ended. Seam is attempting to
|
|
28686
|
+
description: 'This access code is still active on the device even though its `ends_at` has passed, so the recipient may still be able to unlock the device after their access window ended. Seam is attempting to delete it, and this error clears automatically once the access code is no longer active.',
|
|
28660
28687
|
properties: {
|
|
28661
28688
|
created_at: {
|
|
28662
28689
|
description: 'Date and time at which Seam created the error.',
|
|
@@ -28665,7 +28692,7 @@ const openapi = {
|
|
|
28665
28692
|
},
|
|
28666
28693
|
error_code: {
|
|
28667
28694
|
description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
28668
|
-
enum: ['
|
|
28695
|
+
enum: ['failed_to_delete'],
|
|
28669
28696
|
type: 'string',
|
|
28670
28697
|
},
|
|
28671
28698
|
is_access_code_error: {
|
|
@@ -32438,7 +32465,7 @@ const openapi = {
|
|
|
32438
32465
|
},
|
|
32439
32466
|
{
|
|
32440
32467
|
description: 'Device type for cameras.',
|
|
32441
|
-
enum: ['ring_camera', 'tapo_camera'],
|
|
32468
|
+
enum: ['ring_camera', 'tapo_camera', 'arlo_camera'],
|
|
32442
32469
|
type: 'string',
|
|
32443
32470
|
},
|
|
32444
32471
|
],
|
|
@@ -34869,7 +34896,7 @@ const openapi = {
|
|
|
34869
34896
|
'access_code.delay_in_issuing',
|
|
34870
34897
|
'access_code.failed_to_issue',
|
|
34871
34898
|
'access_code.failed_to_update',
|
|
34872
|
-
'access_code.
|
|
34899
|
+
'access_code.failed_to_delete',
|
|
34873
34900
|
'access_code.scheduled_on_device',
|
|
34874
34901
|
'access_code.set_on_device',
|
|
34875
34902
|
'access_code.removed_from_device',
|
|
@@ -34963,7 +34990,7 @@ const openapi = {
|
|
|
34963
34990
|
'access_code.delay_in_issuing',
|
|
34964
34991
|
'access_code.failed_to_issue',
|
|
34965
34992
|
'access_code.failed_to_update',
|
|
34966
|
-
'access_code.
|
|
34993
|
+
'access_code.failed_to_delete',
|
|
34967
34994
|
'access_code.scheduled_on_device',
|
|
34968
34995
|
'access_code.set_on_device',
|
|
34969
34996
|
'access_code.removed_from_device',
|
|
@@ -42548,6 +42575,7 @@ const openapi = {
|
|
|
42548
42575
|
'thirty_three_lock',
|
|
42549
42576
|
'ring',
|
|
42550
42577
|
'tapo',
|
|
42578
|
+
'arlo',
|
|
42551
42579
|
'ical',
|
|
42552
42580
|
'lodgify',
|
|
42553
42581
|
'hostaway',
|
|
@@ -45883,7 +45911,7 @@ const openapi = {
|
|
|
45883
45911
|
},
|
|
45884
45912
|
{
|
|
45885
45913
|
description: 'Device type for cameras.',
|
|
45886
|
-
enum: ['ring_camera', 'tapo_camera'],
|
|
45914
|
+
enum: ['ring_camera', 'tapo_camera', 'arlo_camera'],
|
|
45887
45915
|
type: 'string',
|
|
45888
45916
|
},
|
|
45889
45917
|
],
|
|
@@ -45962,7 +45990,7 @@ const openapi = {
|
|
|
45962
45990
|
},
|
|
45963
45991
|
{
|
|
45964
45992
|
description: 'Device type for cameras.',
|
|
45965
|
-
enum: ['ring_camera', 'tapo_camera'],
|
|
45993
|
+
enum: ['ring_camera', 'tapo_camera', 'arlo_camera'],
|
|
45966
45994
|
type: 'string',
|
|
45967
45995
|
},
|
|
45968
45996
|
],
|
|
@@ -46022,6 +46050,7 @@ const openapi = {
|
|
|
46022
46050
|
'ultraloq',
|
|
46023
46051
|
'ring',
|
|
46024
46052
|
'tapo',
|
|
46053
|
+
'arlo',
|
|
46025
46054
|
'ical',
|
|
46026
46055
|
'lodgify',
|
|
46027
46056
|
'hostaway',
|
|
@@ -48155,7 +48184,7 @@ const openapi = {
|
|
|
48155
48184
|
},
|
|
48156
48185
|
{
|
|
48157
48186
|
description: 'Device type for cameras.',
|
|
48158
|
-
enum: ['ring_camera', 'tapo_camera'],
|
|
48187
|
+
enum: ['ring_camera', 'tapo_camera', 'arlo_camera'],
|
|
48159
48188
|
type: 'string',
|
|
48160
48189
|
},
|
|
48161
48190
|
],
|
|
@@ -48234,7 +48263,7 @@ const openapi = {
|
|
|
48234
48263
|
},
|
|
48235
48264
|
{
|
|
48236
48265
|
description: 'Device type for cameras.',
|
|
48237
|
-
enum: ['ring_camera', 'tapo_camera'],
|
|
48266
|
+
enum: ['ring_camera', 'tapo_camera', 'arlo_camera'],
|
|
48238
48267
|
type: 'string',
|
|
48239
48268
|
},
|
|
48240
48269
|
],
|
|
@@ -48294,6 +48323,7 @@ const openapi = {
|
|
|
48294
48323
|
'ultraloq',
|
|
48295
48324
|
'ring',
|
|
48296
48325
|
'tapo',
|
|
48326
|
+
'arlo',
|
|
48297
48327
|
'ical',
|
|
48298
48328
|
'lodgify',
|
|
48299
48329
|
'hostaway',
|
|
@@ -48802,7 +48832,7 @@ const openapi = {
|
|
|
48802
48832
|
'access_code.delay_in_issuing',
|
|
48803
48833
|
'access_code.failed_to_issue',
|
|
48804
48834
|
'access_code.failed_to_update',
|
|
48805
|
-
'access_code.
|
|
48835
|
+
'access_code.failed_to_delete',
|
|
48806
48836
|
'access_code.deleted',
|
|
48807
48837
|
'access_code.delay_in_removing_from_device',
|
|
48808
48838
|
'access_code.failed_to_remove_from_device',
|
|
@@ -48927,7 +48957,7 @@ const openapi = {
|
|
|
48927
48957
|
'access_code.delay_in_issuing',
|
|
48928
48958
|
'access_code.failed_to_issue',
|
|
48929
48959
|
'access_code.failed_to_update',
|
|
48930
|
-
'access_code.
|
|
48960
|
+
'access_code.failed_to_delete',
|
|
48931
48961
|
'access_code.deleted',
|
|
48932
48962
|
'access_code.delay_in_removing_from_device',
|
|
48933
48963
|
'access_code.failed_to_remove_from_device',
|
|
@@ -56538,7 +56568,7 @@ const openapi = {
|
|
|
56538
56568
|
'access_code.delay_in_issuing',
|
|
56539
56569
|
'access_code.failed_to_issue',
|
|
56540
56570
|
'access_code.failed_to_update',
|
|
56541
|
-
'access_code.
|
|
56571
|
+
'access_code.failed_to_delete',
|
|
56542
56572
|
'access_code.deleted',
|
|
56543
56573
|
'access_code.delay_in_removing_from_device',
|
|
56544
56574
|
'access_code.failed_to_remove_from_device',
|
|
@@ -56664,7 +56694,7 @@ const openapi = {
|
|
|
56664
56694
|
'access_code.delay_in_issuing',
|
|
56665
56695
|
'access_code.failed_to_issue',
|
|
56666
56696
|
'access_code.failed_to_update',
|
|
56667
|
-
'access_code.
|
|
56697
|
+
'access_code.failed_to_delete',
|
|
56668
56698
|
'access_code.deleted',
|
|
56669
56699
|
'access_code.delay_in_removing_from_device',
|
|
56670
56700
|
'access_code.failed_to_remove_from_device',
|
|
@@ -59942,7 +59972,7 @@ const openapi = {
|
|
|
59942
59972
|
'access_code.delay_in_issuing',
|
|
59943
59973
|
'access_code.failed_to_issue',
|
|
59944
59974
|
'access_code.failed_to_update',
|
|
59945
|
-
'access_code.
|
|
59975
|
+
'access_code.failed_to_delete',
|
|
59946
59976
|
'access_code.deleted',
|
|
59947
59977
|
'access_code.delay_in_removing_from_device',
|
|
59948
59978
|
'access_code.failed_to_remove_from_device',
|
|
@@ -60145,7 +60175,7 @@ const openapi = {
|
|
|
60145
60175
|
'access_code.delay_in_issuing',
|
|
60146
60176
|
'access_code.failed_to_issue',
|
|
60147
60177
|
'access_code.failed_to_update',
|
|
60148
|
-
'access_code.
|
|
60178
|
+
'access_code.failed_to_delete',
|
|
60149
60179
|
'access_code.deleted',
|
|
60150
60180
|
'access_code.delay_in_removing_from_device',
|
|
60151
60181
|
'access_code.failed_to_remove_from_device',
|