@seamapi/types 1.555.0 → 1.556.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.
@@ -35864,14 +35864,13 @@ export declare const workspaces_batch: z.ZodObject<{
35864
35864
  workspace_id: z.ZodString;
35865
35865
  created_at: z.ZodString;
35866
35866
  occurred_at: z.ZodString;
35867
- } & {
35868
35867
  access_method_id: z.ZodString;
35869
35868
  access_grant_ids: z.ZodArray<z.ZodString, "many">;
35870
35869
  access_grant_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
35871
- } & {
35872
- event_type: z.ZodLiteral<"access_method.reissued">;
35873
35870
  code: z.ZodOptional<z.ZodString>;
35874
35871
  is_backup_code: z.ZodOptional<z.ZodBoolean>;
35872
+ } & {
35873
+ event_type: z.ZodLiteral<"access_method.reissued">;
35875
35874
  }, "strip", z.ZodTypeAny, {
35876
35875
  workspace_id: string;
35877
35876
  created_at: string;
@@ -35899,38 +35898,6 @@ export declare const workspaces_batch: z.ZodObject<{
35899
35898
  workspace_id: z.ZodString;
35900
35899
  created_at: z.ZodString;
35901
35900
  occurred_at: z.ZodString;
35902
- } & {
35903
- access_method_id: z.ZodString;
35904
- access_grant_ids: z.ZodArray<z.ZodString, "many">;
35905
- access_grant_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
35906
- } & {
35907
- event_type: z.ZodLiteral<"access_method.code_changed">;
35908
- code: z.ZodString;
35909
- }, "strip", z.ZodTypeAny, {
35910
- code: string;
35911
- workspace_id: string;
35912
- created_at: string;
35913
- access_method_id: string;
35914
- event_id: string;
35915
- occurred_at: string;
35916
- event_type: "access_method.code_changed";
35917
- access_grant_ids: string[];
35918
- access_grant_keys?: string[] | undefined;
35919
- }, {
35920
- code: string;
35921
- workspace_id: string;
35922
- created_at: string;
35923
- access_method_id: string;
35924
- event_id: string;
35925
- occurred_at: string;
35926
- event_type: "access_method.code_changed";
35927
- access_grant_ids: string[];
35928
- access_grant_keys?: string[] | undefined;
35929
- }>, z.ZodObject<{
35930
- event_id: z.ZodString;
35931
- workspace_id: z.ZodString;
35932
- created_at: z.ZodString;
35933
- occurred_at: z.ZodString;
35934
35901
  } & {
35935
35902
  connected_account_id: z.ZodOptional<z.ZodString>;
35936
35903
  acs_system_id: z.ZodString;
@@ -43919,16 +43886,6 @@ export declare const workspaces_batch: z.ZodObject<{
43919
43886
  code?: string | undefined;
43920
43887
  access_grant_keys?: string[] | undefined;
43921
43888
  is_backup_code?: boolean | undefined;
43922
- } | {
43923
- code: string;
43924
- workspace_id: string;
43925
- created_at: string;
43926
- access_method_id: string;
43927
- event_id: string;
43928
- occurred_at: string;
43929
- event_type: "access_method.code_changed";
43930
- access_grant_ids: string[];
43931
- access_grant_keys?: string[] | undefined;
43932
43889
  } | {
43933
43890
  workspace_id: string;
43934
43891
  created_at: string;
@@ -47903,16 +47860,6 @@ export declare const workspaces_batch: z.ZodObject<{
47903
47860
  code?: string | undefined;
47904
47861
  access_grant_keys?: string[] | undefined;
47905
47862
  is_backup_code?: boolean | undefined;
47906
- } | {
47907
- code: string;
47908
- workspace_id: string;
47909
- created_at: string;
47910
- access_method_id: string;
47911
- event_id: string;
47912
- occurred_at: string;
47913
- event_type: "access_method.code_changed";
47914
- access_grant_ids: string[];
47915
- access_grant_keys?: string[] | undefined;
47916
47863
  } | {
47917
47864
  workspace_id: string;
47918
47865
  created_at: string;
@@ -64603,14 +64550,13 @@ export declare const batch: z.ZodObject<{
64603
64550
  workspace_id: z.ZodString;
64604
64551
  created_at: z.ZodString;
64605
64552
  occurred_at: z.ZodString;
64606
- } & {
64607
64553
  access_method_id: z.ZodString;
64608
64554
  access_grant_ids: z.ZodArray<z.ZodString, "many">;
64609
64555
  access_grant_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
64610
- } & {
64611
- event_type: z.ZodLiteral<"access_method.reissued">;
64612
64556
  code: z.ZodOptional<z.ZodString>;
64613
64557
  is_backup_code: z.ZodOptional<z.ZodBoolean>;
64558
+ } & {
64559
+ event_type: z.ZodLiteral<"access_method.reissued">;
64614
64560
  }, "strip", z.ZodTypeAny, {
64615
64561
  workspace_id: string;
64616
64562
  created_at: string;
@@ -64638,38 +64584,6 @@ export declare const batch: z.ZodObject<{
64638
64584
  workspace_id: z.ZodString;
64639
64585
  created_at: z.ZodString;
64640
64586
  occurred_at: z.ZodString;
64641
- } & {
64642
- access_method_id: z.ZodString;
64643
- access_grant_ids: z.ZodArray<z.ZodString, "many">;
64644
- access_grant_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
64645
- } & {
64646
- event_type: z.ZodLiteral<"access_method.code_changed">;
64647
- code: z.ZodString;
64648
- }, "strip", z.ZodTypeAny, {
64649
- code: string;
64650
- workspace_id: string;
64651
- created_at: string;
64652
- access_method_id: string;
64653
- event_id: string;
64654
- occurred_at: string;
64655
- event_type: "access_method.code_changed";
64656
- access_grant_ids: string[];
64657
- access_grant_keys?: string[] | undefined;
64658
- }, {
64659
- code: string;
64660
- workspace_id: string;
64661
- created_at: string;
64662
- access_method_id: string;
64663
- event_id: string;
64664
- occurred_at: string;
64665
- event_type: "access_method.code_changed";
64666
- access_grant_ids: string[];
64667
- access_grant_keys?: string[] | undefined;
64668
- }>, z.ZodObject<{
64669
- event_id: z.ZodString;
64670
- workspace_id: z.ZodString;
64671
- created_at: z.ZodString;
64672
- occurred_at: z.ZodString;
64673
64587
  } & {
64674
64588
  connected_account_id: z.ZodOptional<z.ZodString>;
64675
64589
  acs_system_id: z.ZodString;
@@ -72587,16 +72501,6 @@ export declare const batch: z.ZodObject<{
72587
72501
  code?: string | undefined;
72588
72502
  access_grant_keys?: string[] | undefined;
72589
72503
  is_backup_code?: boolean | undefined;
72590
- } | {
72591
- code: string;
72592
- workspace_id: string;
72593
- created_at: string;
72594
- access_method_id: string;
72595
- event_id: string;
72596
- occurred_at: string;
72597
- event_type: "access_method.code_changed";
72598
- access_grant_ids: string[];
72599
- access_grant_keys?: string[] | undefined;
72600
72504
  } | {
72601
72505
  workspace_id: string;
72602
72506
  created_at: string;
@@ -76500,16 +76404,6 @@ export declare const batch: z.ZodObject<{
76500
76404
  code?: string | undefined;
76501
76405
  access_grant_keys?: string[] | undefined;
76502
76406
  is_backup_code?: boolean | undefined;
76503
- } | {
76504
- code: string;
76505
- workspace_id: string;
76506
- created_at: string;
76507
- access_method_id: string;
76508
- event_id: string;
76509
- occurred_at: string;
76510
- event_type: "access_method.code_changed";
76511
- access_grant_ids: string[];
76512
- access_grant_keys?: string[] | undefined;
76513
76407
  } | {
76514
76408
  workspace_id: string;
76515
76409
  created_at: string;
@@ -132,14 +132,13 @@ export declare const access_method_reissued_event: z.ZodObject<{
132
132
  workspace_id: z.ZodString;
133
133
  created_at: z.ZodString;
134
134
  occurred_at: z.ZodString;
135
- } & {
136
135
  access_method_id: z.ZodString;
137
136
  access_grant_ids: z.ZodArray<z.ZodString, "many">;
138
137
  access_grant_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
139
- } & {
140
- event_type: z.ZodLiteral<"access_method.reissued">;
141
138
  code: z.ZodOptional<z.ZodString>;
142
139
  is_backup_code: z.ZodOptional<z.ZodBoolean>;
140
+ } & {
141
+ event_type: z.ZodLiteral<"access_method.reissued">;
143
142
  }, "strip", z.ZodTypeAny, {
144
143
  workspace_id: string;
145
144
  created_at: string;
@@ -163,39 +162,6 @@ export declare const access_method_reissued_event: z.ZodObject<{
163
162
  access_grant_keys?: string[] | undefined;
164
163
  is_backup_code?: boolean | undefined;
165
164
  }>;
166
- export declare const access_method_code_changed_event: z.ZodObject<{
167
- event_id: z.ZodString;
168
- workspace_id: z.ZodString;
169
- created_at: z.ZodString;
170
- occurred_at: z.ZodString;
171
- } & {
172
- access_method_id: z.ZodString;
173
- access_grant_ids: z.ZodArray<z.ZodString, "many">;
174
- access_grant_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
175
- } & {
176
- event_type: z.ZodLiteral<"access_method.code_changed">;
177
- code: z.ZodString;
178
- }, "strip", z.ZodTypeAny, {
179
- code: string;
180
- workspace_id: string;
181
- created_at: string;
182
- access_method_id: string;
183
- event_id: string;
184
- occurred_at: string;
185
- event_type: "access_method.code_changed";
186
- access_grant_ids: string[];
187
- access_grant_keys?: string[] | undefined;
188
- }, {
189
- code: string;
190
- workspace_id: string;
191
- created_at: string;
192
- access_method_id: string;
193
- event_id: string;
194
- occurred_at: string;
195
- event_type: "access_method.code_changed";
196
- access_grant_ids: string[];
197
- access_grant_keys?: string[] | undefined;
198
- }>;
199
165
  export type AccessMethodRevokedEvent = z.infer<typeof access_method_revoked_event>;
200
166
  export declare const access_method_events: readonly [z.ZodObject<{
201
167
  event_id: z.ZodString;
@@ -324,14 +290,13 @@ export declare const access_method_events: readonly [z.ZodObject<{
324
290
  workspace_id: z.ZodString;
325
291
  created_at: z.ZodString;
326
292
  occurred_at: z.ZodString;
327
- } & {
328
293
  access_method_id: z.ZodString;
329
294
  access_grant_ids: z.ZodArray<z.ZodString, "many">;
330
295
  access_grant_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
331
- } & {
332
- event_type: z.ZodLiteral<"access_method.reissued">;
333
296
  code: z.ZodOptional<z.ZodString>;
334
297
  is_backup_code: z.ZodOptional<z.ZodBoolean>;
298
+ } & {
299
+ event_type: z.ZodLiteral<"access_method.reissued">;
335
300
  }, "strip", z.ZodTypeAny, {
336
301
  workspace_id: string;
337
302
  created_at: string;
@@ -354,36 +319,4 @@ export declare const access_method_events: readonly [z.ZodObject<{
354
319
  code?: string | undefined;
355
320
  access_grant_keys?: string[] | undefined;
356
321
  is_backup_code?: boolean | undefined;
357
- }>, z.ZodObject<{
358
- event_id: z.ZodString;
359
- workspace_id: z.ZodString;
360
- created_at: z.ZodString;
361
- occurred_at: z.ZodString;
362
- } & {
363
- access_method_id: z.ZodString;
364
- access_grant_ids: z.ZodArray<z.ZodString, "many">;
365
- access_grant_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
366
- } & {
367
- event_type: z.ZodLiteral<"access_method.code_changed">;
368
- code: z.ZodString;
369
- }, "strip", z.ZodTypeAny, {
370
- code: string;
371
- workspace_id: string;
372
- created_at: string;
373
- access_method_id: string;
374
- event_id: string;
375
- occurred_at: string;
376
- event_type: "access_method.code_changed";
377
- access_grant_ids: string[];
378
- access_grant_keys?: string[] | undefined;
379
- }, {
380
- code: string;
381
- workspace_id: string;
382
- created_at: string;
383
- access_method_id: string;
384
- event_id: string;
385
- occurred_at: string;
386
- event_type: "access_method.code_changed";
387
- access_grant_ids: string[];
388
- access_grant_keys?: string[] | undefined;
389
322
  }>];
@@ -53,32 +53,13 @@ export const access_method_deleted_event = access_method_event.extend({
53
53
  ---
54
54
  An access method was deleted.
55
55
  `);
56
- export const access_method_reissued_event = access_method_event.extend({
56
+ export const access_method_reissued_event = access_method_issued_event.extend({
57
57
  event_type: z.literal('access_method.reissued'),
58
- code: z
59
- .string()
60
- .optional()
61
- .describe("The actual PIN code for code access methods (only present when mode is 'code')."),
62
- is_backup_code: z
63
- .boolean()
64
- .optional()
65
- .describe("Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used)."),
66
- }).describe(`
67
- ---
68
- route_path: /access_methods
69
- ---
70
- An access method was reissued due to an Access Grant update.
71
- `);
72
- export const access_method_code_changed_event = access_method_event.extend({
73
- event_type: z.literal('access_method.code_changed'),
74
- code: z
75
- .string()
76
- .describe("The new PIN code for code access methods (only present when mode is 'code')."),
77
58
  }).describe(`
78
59
  ---
79
60
  route_path: /access_methods
80
61
  ---
81
- An access method's PIN code was changed.
62
+ An access method was reissued.
82
63
  `);
83
64
  export const access_method_events = [
84
65
  access_method_issued_event,
@@ -86,6 +67,5 @@ export const access_method_events = [
86
67
  access_method_card_encoding_required_event,
87
68
  access_method_deleted_event,
88
69
  access_method_reissued_event,
89
- access_method_code_changed_event,
90
70
  ];
91
71
  //# sourceMappingURL=access-methods.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"access-methods.js","sourceRoot":"","sources":["../../../../../src/l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,CAAA;AAEJ,MAAM,CAAC,MAAM,4BAA4B,GAAG,0BAA0B,CAAC,MAAM,CAAC;IAC5E,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,wBAAwB,CAAC;CAChD,CAAC,CAAC,QAAQ,CAAC;;;;;GAKT,CAAC,CAAA;AAMJ,MAAM,CAAC,MAAM,oBAAoB,GAAG;IAClC,0BAA0B;IAC1B,2BAA2B;IAC3B,0CAA0C;IAC1C,2BAA2B;IAC3B,4BAA4B;CACpB,CAAA"}
@@ -886,14 +886,13 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
886
886
  workspace_id: z.ZodString;
887
887
  created_at: z.ZodString;
888
888
  occurred_at: z.ZodString;
889
- } & {
890
889
  access_method_id: z.ZodString;
891
890
  access_grant_ids: z.ZodArray<z.ZodString, "many">;
892
891
  access_grant_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
893
- } & {
894
- event_type: z.ZodLiteral<"access_method.reissued">;
895
892
  code: z.ZodOptional<z.ZodString>;
896
893
  is_backup_code: z.ZodOptional<z.ZodBoolean>;
894
+ } & {
895
+ event_type: z.ZodLiteral<"access_method.reissued">;
897
896
  }, "strip", z.ZodTypeAny, {
898
897
  workspace_id: string;
899
898
  created_at: string;
@@ -921,38 +920,6 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
921
920
  workspace_id: z.ZodString;
922
921
  created_at: z.ZodString;
923
922
  occurred_at: z.ZodString;
924
- } & {
925
- access_method_id: z.ZodString;
926
- access_grant_ids: z.ZodArray<z.ZodString, "many">;
927
- access_grant_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
928
- } & {
929
- event_type: z.ZodLiteral<"access_method.code_changed">;
930
- code: z.ZodString;
931
- }, "strip", z.ZodTypeAny, {
932
- code: string;
933
- workspace_id: string;
934
- created_at: string;
935
- access_method_id: string;
936
- event_id: string;
937
- occurred_at: string;
938
- event_type: "access_method.code_changed";
939
- access_grant_ids: string[];
940
- access_grant_keys?: string[] | undefined;
941
- }, {
942
- code: string;
943
- workspace_id: string;
944
- created_at: string;
945
- access_method_id: string;
946
- event_id: string;
947
- occurred_at: string;
948
- event_type: "access_method.code_changed";
949
- access_grant_ids: string[];
950
- access_grant_keys?: string[] | undefined;
951
- }>, z.ZodObject<{
952
- event_id: z.ZodString;
953
- workspace_id: z.ZodString;
954
- created_at: z.ZodString;
955
- occurred_at: z.ZodString;
956
923
  } & {
957
924
  connected_account_id: z.ZodOptional<z.ZodString>;
958
925
  acs_system_id: z.ZodString;
@@ -3014,5 +2981,5 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
3014
2981
  device_custom_metadata?: Record<string, string | boolean> | undefined;
3015
2982
  }>]>;
3016
2983
  export type SeamEvent = z.infer<typeof seam_event>;
3017
- export declare const seam_event_type: z.ZodEnum<["access_code.created" | "access_code.changed" | "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_method.issued" | "access_method.card_encoding_required" | "access_method.revoked" | "access_method.deleted" | "access_method.reissued" | "access_method.code_changed" | "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" | "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" | "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" | "enrollment_automation.deleted" | "phone.deactivated", ...("access_code.created" | "access_code.changed" | "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_method.issued" | "access_method.card_encoding_required" | "access_method.revoked" | "access_method.deleted" | "access_method.reissued" | "access_method.code_changed" | "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" | "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" | "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" | "enrollment_automation.deleted" | "phone.deactivated")[]]>;
2984
+ export declare const seam_event_type: z.ZodEnum<["access_code.created" | "access_code.changed" | "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_method.issued" | "access_method.card_encoding_required" | "access_method.revoked" | "access_method.deleted" | "access_method.reissued" | "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" | "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" | "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" | "enrollment_automation.deleted" | "phone.deactivated", ...("access_code.created" | "access_code.changed" | "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_method.issued" | "access_method.card_encoding_required" | "access_method.revoked" | "access_method.deleted" | "access_method.reissued" | "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" | "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" | "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" | "enrollment_automation.deleted" | "phone.deactivated")[]]>;
3018
2985
  export type SeamEventType = SeamEvent['event_type'];
@@ -8067,116 +8067,6 @@ declare const _default: {
8067
8067
  'x-route-path': string;
8068
8068
  deprecated?: never;
8069
8069
  'x-deprecated'?: never;
8070
- } | {
8071
- description: string;
8072
- properties: {
8073
- access_grant_ids: {
8074
- description: string;
8075
- items: {
8076
- format: string;
8077
- type: string;
8078
- };
8079
- type: string;
8080
- };
8081
- access_grant_keys: {
8082
- description: string;
8083
- items: {
8084
- type: string;
8085
- };
8086
- type: string;
8087
- };
8088
- access_method_id: {
8089
- description: string;
8090
- format: string;
8091
- type: string;
8092
- };
8093
- code: {
8094
- description: string;
8095
- type: string;
8096
- nullable?: never;
8097
- };
8098
- created_at: {
8099
- description: string;
8100
- format: string;
8101
- type: string;
8102
- };
8103
- event_id: {
8104
- description: string;
8105
- format: string;
8106
- type: string;
8107
- };
8108
- event_type: {
8109
- enum: string[];
8110
- type: string;
8111
- };
8112
- occurred_at: {
8113
- description: string;
8114
- format: string;
8115
- type: string;
8116
- };
8117
- workspace_id: {
8118
- description: string;
8119
- format: string;
8120
- type: string;
8121
- };
8122
- access_code_id?: never;
8123
- connected_account_custom_metadata?: never;
8124
- connected_account_id?: never;
8125
- device_custom_metadata?: never;
8126
- device_id?: never;
8127
- backup_access_code_id?: never;
8128
- access_grant_id?: never;
8129
- acs_entrance_id?: never;
8130
- access_grant_key?: never;
8131
- ends_at?: never;
8132
- starts_at?: never;
8133
- is_backup_code?: never;
8134
- acs_system_id?: never;
8135
- acs_credential_id?: never;
8136
- acs_user_id?: never;
8137
- acs_encoder_id?: never;
8138
- acs_access_group_id?: never;
8139
- client_session_id?: never;
8140
- connect_webview_id?: never;
8141
- customer_key?: never;
8142
- action_attempt_id?: never;
8143
- action_type?: never;
8144
- status?: never;
8145
- error_code?: never;
8146
- battery_level?: never;
8147
- battery_status?: never;
8148
- minut_metadata?: never;
8149
- noise_level_decibels?: never;
8150
- noise_level_nrs?: never;
8151
- noise_threshold_id?: never;
8152
- noise_threshold_name?: never;
8153
- noiseaware_metadata?: never;
8154
- method?: never;
8155
- climate_preset_key?: never;
8156
- is_fallback_climate_preset?: never;
8157
- thermostat_schedule_id?: never;
8158
- cooling_set_point_celsius?: never;
8159
- cooling_set_point_fahrenheit?: never;
8160
- fan_mode_setting?: never;
8161
- heating_set_point_celsius?: never;
8162
- heating_set_point_fahrenheit?: never;
8163
- hvac_mode_setting?: never;
8164
- lower_limit_celsius?: never;
8165
- lower_limit_fahrenheit?: never;
8166
- temperature_celsius?: never;
8167
- temperature_fahrenheit?: never;
8168
- upper_limit_celsius?: never;
8169
- upper_limit_fahrenheit?: never;
8170
- desired_temperature_celsius?: never;
8171
- desired_temperature_fahrenheit?: never;
8172
- device_name?: never;
8173
- enrollment_automation_id?: never;
8174
- };
8175
- required: string[];
8176
- type: string;
8177
- 'x-route-path': string;
8178
- deprecated?: never;
8179
- 'x-deprecated'?: never;
8180
8070
  } | {
8181
8071
  description: string;
8182
8072
  properties: {