@seamapi/types 1.962.0 → 1.963.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 +560 -21
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +976 -4
- package/dist/index.cjs +560 -21
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/access-grants/access-method.d.ts +143 -0
- package/lib/seam/connect/models/access-grants/access-method.js +36 -0
- package/lib/seam/connect/models/access-grants/access-method.js.map +1 -1
- package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +63 -0
- package/lib/seam/connect/models/action-attempts/assign-credential.d.ts +63 -0
- package/lib/seam/connect/models/events/access-methods.d.ts +130 -0
- package/lib/seam/connect/models/events/access-methods.js +18 -0
- package/lib/seam/connect/models/events/access-methods.js.map +1 -1
- package/lib/seam/connect/models/events/seam-event.d.ts +65 -1
- package/lib/seam/connect/openapi.js +490 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +804 -4
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-grants/access-method.ts +53 -0
- package/src/lib/seam/connect/models/events/access-methods.ts +20 -0
- package/src/lib/seam/connect/openapi.ts +558 -0
- package/src/lib/seam/connect/route-types.ts +857 -0
|
@@ -210,6 +210,72 @@ export declare const access_method_created_event: z.ZodObject<{
|
|
|
210
210
|
event_description?: string | undefined;
|
|
211
211
|
access_grant_keys?: string[] | undefined;
|
|
212
212
|
}>;
|
|
213
|
+
export declare const access_method_delay_in_issuing_event: z.ZodObject<{
|
|
214
|
+
event_id: z.ZodString;
|
|
215
|
+
workspace_id: z.ZodString;
|
|
216
|
+
created_at: z.ZodString;
|
|
217
|
+
occurred_at: z.ZodString;
|
|
218
|
+
event_description: z.ZodOptional<z.ZodString>;
|
|
219
|
+
} & {
|
|
220
|
+
access_method_id: z.ZodString;
|
|
221
|
+
access_grant_ids: z.ZodArray<z.ZodString, "many">;
|
|
222
|
+
access_grant_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
223
|
+
} & {
|
|
224
|
+
event_type: z.ZodLiteral<"access_method.delay_in_issuing">;
|
|
225
|
+
}, "strip", z.ZodTypeAny, {
|
|
226
|
+
workspace_id: string;
|
|
227
|
+
created_at: string;
|
|
228
|
+
access_method_id: string;
|
|
229
|
+
event_id: string;
|
|
230
|
+
occurred_at: string;
|
|
231
|
+
event_type: "access_method.delay_in_issuing";
|
|
232
|
+
access_grant_ids: string[];
|
|
233
|
+
event_description?: string | undefined;
|
|
234
|
+
access_grant_keys?: string[] | undefined;
|
|
235
|
+
}, {
|
|
236
|
+
workspace_id: string;
|
|
237
|
+
created_at: string;
|
|
238
|
+
access_method_id: string;
|
|
239
|
+
event_id: string;
|
|
240
|
+
occurred_at: string;
|
|
241
|
+
event_type: "access_method.delay_in_issuing";
|
|
242
|
+
access_grant_ids: string[];
|
|
243
|
+
event_description?: string | undefined;
|
|
244
|
+
access_grant_keys?: string[] | undefined;
|
|
245
|
+
}>;
|
|
246
|
+
export declare const access_method_failed_to_issue_event: z.ZodObject<{
|
|
247
|
+
event_id: z.ZodString;
|
|
248
|
+
workspace_id: z.ZodString;
|
|
249
|
+
created_at: z.ZodString;
|
|
250
|
+
occurred_at: z.ZodString;
|
|
251
|
+
event_description: z.ZodOptional<z.ZodString>;
|
|
252
|
+
} & {
|
|
253
|
+
access_method_id: z.ZodString;
|
|
254
|
+
access_grant_ids: z.ZodArray<z.ZodString, "many">;
|
|
255
|
+
access_grant_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
256
|
+
} & {
|
|
257
|
+
event_type: z.ZodLiteral<"access_method.failed_to_issue">;
|
|
258
|
+
}, "strip", z.ZodTypeAny, {
|
|
259
|
+
workspace_id: string;
|
|
260
|
+
created_at: string;
|
|
261
|
+
access_method_id: string;
|
|
262
|
+
event_id: string;
|
|
263
|
+
occurred_at: string;
|
|
264
|
+
event_type: "access_method.failed_to_issue";
|
|
265
|
+
access_grant_ids: string[];
|
|
266
|
+
event_description?: string | undefined;
|
|
267
|
+
access_grant_keys?: string[] | undefined;
|
|
268
|
+
}, {
|
|
269
|
+
workspace_id: string;
|
|
270
|
+
created_at: string;
|
|
271
|
+
access_method_id: string;
|
|
272
|
+
event_id: string;
|
|
273
|
+
occurred_at: string;
|
|
274
|
+
event_type: "access_method.failed_to_issue";
|
|
275
|
+
access_grant_ids: string[];
|
|
276
|
+
event_description?: string | undefined;
|
|
277
|
+
access_grant_keys?: string[] | undefined;
|
|
278
|
+
}>;
|
|
213
279
|
export type AccessMethodCreatedEvent = z.infer<typeof access_method_created_event>;
|
|
214
280
|
export type AccessMethodRevokedEvent = z.infer<typeof access_method_revoked_event>;
|
|
215
281
|
export declare const access_method_events: readonly [z.ZodObject<{
|
|
@@ -415,4 +481,68 @@ export declare const access_method_events: readonly [z.ZodObject<{
|
|
|
415
481
|
access_grant_ids: string[];
|
|
416
482
|
event_description?: string | undefined;
|
|
417
483
|
access_grant_keys?: string[] | undefined;
|
|
484
|
+
}>, z.ZodObject<{
|
|
485
|
+
event_id: z.ZodString;
|
|
486
|
+
workspace_id: z.ZodString;
|
|
487
|
+
created_at: z.ZodString;
|
|
488
|
+
occurred_at: z.ZodString;
|
|
489
|
+
event_description: z.ZodOptional<z.ZodString>;
|
|
490
|
+
} & {
|
|
491
|
+
access_method_id: z.ZodString;
|
|
492
|
+
access_grant_ids: z.ZodArray<z.ZodString, "many">;
|
|
493
|
+
access_grant_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
494
|
+
} & {
|
|
495
|
+
event_type: z.ZodLiteral<"access_method.delay_in_issuing">;
|
|
496
|
+
}, "strip", z.ZodTypeAny, {
|
|
497
|
+
workspace_id: string;
|
|
498
|
+
created_at: string;
|
|
499
|
+
access_method_id: string;
|
|
500
|
+
event_id: string;
|
|
501
|
+
occurred_at: string;
|
|
502
|
+
event_type: "access_method.delay_in_issuing";
|
|
503
|
+
access_grant_ids: string[];
|
|
504
|
+
event_description?: string | undefined;
|
|
505
|
+
access_grant_keys?: string[] | undefined;
|
|
506
|
+
}, {
|
|
507
|
+
workspace_id: string;
|
|
508
|
+
created_at: string;
|
|
509
|
+
access_method_id: string;
|
|
510
|
+
event_id: string;
|
|
511
|
+
occurred_at: string;
|
|
512
|
+
event_type: "access_method.delay_in_issuing";
|
|
513
|
+
access_grant_ids: string[];
|
|
514
|
+
event_description?: string | undefined;
|
|
515
|
+
access_grant_keys?: string[] | undefined;
|
|
516
|
+
}>, z.ZodObject<{
|
|
517
|
+
event_id: z.ZodString;
|
|
518
|
+
workspace_id: z.ZodString;
|
|
519
|
+
created_at: z.ZodString;
|
|
520
|
+
occurred_at: z.ZodString;
|
|
521
|
+
event_description: z.ZodOptional<z.ZodString>;
|
|
522
|
+
} & {
|
|
523
|
+
access_method_id: z.ZodString;
|
|
524
|
+
access_grant_ids: z.ZodArray<z.ZodString, "many">;
|
|
525
|
+
access_grant_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
526
|
+
} & {
|
|
527
|
+
event_type: z.ZodLiteral<"access_method.failed_to_issue">;
|
|
528
|
+
}, "strip", z.ZodTypeAny, {
|
|
529
|
+
workspace_id: string;
|
|
530
|
+
created_at: string;
|
|
531
|
+
access_method_id: string;
|
|
532
|
+
event_id: string;
|
|
533
|
+
occurred_at: string;
|
|
534
|
+
event_type: "access_method.failed_to_issue";
|
|
535
|
+
access_grant_ids: string[];
|
|
536
|
+
event_description?: string | undefined;
|
|
537
|
+
access_grant_keys?: string[] | undefined;
|
|
538
|
+
}, {
|
|
539
|
+
workspace_id: string;
|
|
540
|
+
created_at: string;
|
|
541
|
+
access_method_id: string;
|
|
542
|
+
event_id: string;
|
|
543
|
+
occurred_at: string;
|
|
544
|
+
event_type: "access_method.failed_to_issue";
|
|
545
|
+
access_grant_ids: string[];
|
|
546
|
+
event_description?: string | undefined;
|
|
547
|
+
access_grant_keys?: string[] | undefined;
|
|
418
548
|
}>];
|
|
@@ -69,6 +69,22 @@ export const access_method_created_event = access_method_event.extend({
|
|
|
69
69
|
---
|
|
70
70
|
An access method was created.
|
|
71
71
|
`);
|
|
72
|
+
export const access_method_delay_in_issuing_event = access_method_event.extend({
|
|
73
|
+
event_type: z.literal('access_method.delay_in_issuing'),
|
|
74
|
+
}).describe(`
|
|
75
|
+
---
|
|
76
|
+
route_path: /access_methods
|
|
77
|
+
---
|
|
78
|
+
Seam has not yet issued this access method, even though its access grant is about to begin, so access may not be ready when the recipient arrives. Seam is still attempting to issue it, and the accompanying \`delay_in_issuing\` warning clears automatically once issuance succeeds.
|
|
79
|
+
`);
|
|
80
|
+
export const access_method_failed_to_issue_event = access_method_event.extend({
|
|
81
|
+
event_type: z.literal('access_method.failed_to_issue'),
|
|
82
|
+
}).describe(`
|
|
83
|
+
---
|
|
84
|
+
route_path: /access_methods
|
|
85
|
+
---
|
|
86
|
+
Seam was unable to issue this access method before its access grant started, so the recipient may be unable to access the space. This usually points to a problem that needs attention, such as an offline or disconnected device. Seam keeps retrying, and the accompanying \`failed_to_issue\` error clears automatically if the access method is eventually issued.
|
|
87
|
+
`);
|
|
72
88
|
export const access_method_events = [
|
|
73
89
|
access_method_issued_event,
|
|
74
90
|
access_method_revoked_event,
|
|
@@ -76,5 +92,7 @@ export const access_method_events = [
|
|
|
76
92
|
access_method_deleted_event,
|
|
77
93
|
access_method_reissued_event,
|
|
78
94
|
access_method_created_event,
|
|
95
|
+
access_method_delay_in_issuing_event,
|
|
96
|
+
access_method_failed_to_issue_event,
|
|
79
97
|
];
|
|
80
98
|
//# sourceMappingURL=access-methods.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"access-methods.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/events/access-methods.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAE1C,MAAM,mB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AAC,MAAM,CAAC;IAC7E,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,gCAAgC,CAAC;CACxD,CAAC,CAAC,QAAQ,CAAC;;;;;GAKT,CAAC,CAAA;AAEJ,MAAM,CAAC,MAAM,mCAAmC,GAAG,mBAAmB,CAAC,MAAM,CAAC;IAC5E,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,+BAA+B,CAAC;CACvD,CAAC,CAAC,QAAQ,CAAC;;;;;GAKT,CAAC,CAAA;AAUJ,MAAM,CAAC,MAAM,oBAAoB,GAAG;IAClC,0BAA0B;IAC1B,2BAA2B;IAC3B,0CAA0C;IAC1C,2BAA2B;IAC3B,4BAA4B;IAC5B,2BAA2B;IAC3B,oCAAoC;IACpC,mCAAmC;CAC3B,CAAA"}
|
|
@@ -2062,6 +2062,70 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2062
2062
|
created_at: z.ZodString;
|
|
2063
2063
|
occurred_at: z.ZodString;
|
|
2064
2064
|
event_description: z.ZodOptional<z.ZodString>;
|
|
2065
|
+
} & {
|
|
2066
|
+
access_method_id: z.ZodString;
|
|
2067
|
+
access_grant_ids: z.ZodArray<z.ZodString, "many">;
|
|
2068
|
+
access_grant_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2069
|
+
} & {
|
|
2070
|
+
event_type: z.ZodLiteral<"access_method.delay_in_issuing">;
|
|
2071
|
+
}, "strip", z.ZodTypeAny, {
|
|
2072
|
+
workspace_id: string;
|
|
2073
|
+
created_at: string;
|
|
2074
|
+
access_method_id: string;
|
|
2075
|
+
event_id: string;
|
|
2076
|
+
occurred_at: string;
|
|
2077
|
+
event_type: "access_method.delay_in_issuing";
|
|
2078
|
+
access_grant_ids: string[];
|
|
2079
|
+
event_description?: string | undefined;
|
|
2080
|
+
access_grant_keys?: string[] | undefined;
|
|
2081
|
+
}, {
|
|
2082
|
+
workspace_id: string;
|
|
2083
|
+
created_at: string;
|
|
2084
|
+
access_method_id: string;
|
|
2085
|
+
event_id: string;
|
|
2086
|
+
occurred_at: string;
|
|
2087
|
+
event_type: "access_method.delay_in_issuing";
|
|
2088
|
+
access_grant_ids: string[];
|
|
2089
|
+
event_description?: string | undefined;
|
|
2090
|
+
access_grant_keys?: string[] | undefined;
|
|
2091
|
+
}>, z.ZodObject<{
|
|
2092
|
+
event_id: z.ZodString;
|
|
2093
|
+
workspace_id: z.ZodString;
|
|
2094
|
+
created_at: z.ZodString;
|
|
2095
|
+
occurred_at: z.ZodString;
|
|
2096
|
+
event_description: z.ZodOptional<z.ZodString>;
|
|
2097
|
+
} & {
|
|
2098
|
+
access_method_id: z.ZodString;
|
|
2099
|
+
access_grant_ids: z.ZodArray<z.ZodString, "many">;
|
|
2100
|
+
access_grant_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2101
|
+
} & {
|
|
2102
|
+
event_type: z.ZodLiteral<"access_method.failed_to_issue">;
|
|
2103
|
+
}, "strip", z.ZodTypeAny, {
|
|
2104
|
+
workspace_id: string;
|
|
2105
|
+
created_at: string;
|
|
2106
|
+
access_method_id: string;
|
|
2107
|
+
event_id: string;
|
|
2108
|
+
occurred_at: string;
|
|
2109
|
+
event_type: "access_method.failed_to_issue";
|
|
2110
|
+
access_grant_ids: string[];
|
|
2111
|
+
event_description?: string | undefined;
|
|
2112
|
+
access_grant_keys?: string[] | undefined;
|
|
2113
|
+
}, {
|
|
2114
|
+
workspace_id: string;
|
|
2115
|
+
created_at: string;
|
|
2116
|
+
access_method_id: string;
|
|
2117
|
+
event_id: string;
|
|
2118
|
+
occurred_at: string;
|
|
2119
|
+
event_type: "access_method.failed_to_issue";
|
|
2120
|
+
access_grant_ids: string[];
|
|
2121
|
+
event_description?: string | undefined;
|
|
2122
|
+
access_grant_keys?: string[] | undefined;
|
|
2123
|
+
}>, z.ZodObject<{
|
|
2124
|
+
event_id: z.ZodString;
|
|
2125
|
+
workspace_id: z.ZodString;
|
|
2126
|
+
created_at: z.ZodString;
|
|
2127
|
+
occurred_at: z.ZodString;
|
|
2128
|
+
event_description: z.ZodOptional<z.ZodString>;
|
|
2065
2129
|
} & {
|
|
2066
2130
|
connected_account_id: z.ZodOptional<z.ZodString>;
|
|
2067
2131
|
acs_system_id: z.ZodString;
|
|
@@ -5539,5 +5603,5 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
5539
5603
|
space_key?: string | undefined;
|
|
5540
5604
|
}>]>;
|
|
5541
5605
|
export type SeamEvent = z.infer<typeof seam_event>;
|
|
5542
|
-
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.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" | "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.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" | "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")[]]>;
|
|
5606
|
+
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.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.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")[]]>;
|
|
5543
5607
|
export type SeamEventType = SeamEvent['event_type'];
|