@seamapi/types 1.1078.1 → 1.1080.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.
@@ -196,15 +196,15 @@ declare const access_code_error: z.ZodDiscriminatedUnion<"error_code", [z.ZodObj
196
196
  is_access_code_error: z.ZodLiteral<true>;
197
197
  created_at: z.ZodOptional<z.ZodString>;
198
198
  } & {
199
- error_code: z.ZodLiteral<"failed_to_remove">;
199
+ error_code: z.ZodLiteral<"failed_to_delete">;
200
200
  }, "strip", z.ZodTypeAny, {
201
201
  message: string;
202
- error_code: "failed_to_remove";
202
+ error_code: "failed_to_delete";
203
203
  is_access_code_error: true;
204
204
  created_at?: string | undefined;
205
205
  }, {
206
206
  message: string;
207
- error_code: "failed_to_remove";
207
+ error_code: "failed_to_delete";
208
208
  is_access_code_error: true;
209
209
  created_at?: string | undefined;
210
210
  }>]>;
@@ -412,20 +412,20 @@ declare const _access_code_error_map: z.ZodObject<{
412
412
  is_access_code_error: true;
413
413
  created_at?: string | undefined;
414
414
  }>>>;
415
- failed_to_remove: z.ZodNullable<z.ZodOptional<z.ZodObject<{
415
+ failed_to_delete: z.ZodNullable<z.ZodOptional<z.ZodObject<{
416
416
  message: z.ZodString;
417
417
  is_access_code_error: z.ZodLiteral<true>;
418
418
  created_at: z.ZodOptional<z.ZodString>;
419
419
  } & {
420
- error_code: z.ZodLiteral<"failed_to_remove">;
420
+ error_code: z.ZodLiteral<"failed_to_delete">;
421
421
  }, "strip", z.ZodTypeAny, {
422
422
  message: string;
423
- error_code: "failed_to_remove";
423
+ error_code: "failed_to_delete";
424
424
  is_access_code_error: true;
425
425
  created_at?: string | undefined;
426
426
  }, {
427
427
  message: string;
428
- error_code: "failed_to_remove";
428
+ error_code: "failed_to_delete";
429
429
  is_access_code_error: true;
430
430
  created_at?: string | undefined;
431
431
  }>>>;
@@ -486,9 +486,9 @@ declare const _access_code_error_map: z.ZodObject<{
486
486
  is_access_code_error: true;
487
487
  created_at?: string | undefined;
488
488
  } | null | undefined;
489
- failed_to_remove?: {
489
+ failed_to_delete?: {
490
490
  message: string;
491
- error_code: "failed_to_remove";
491
+ error_code: "failed_to_delete";
492
492
  is_access_code_error: true;
493
493
  created_at?: string | undefined;
494
494
  } | null | undefined;
@@ -561,9 +561,9 @@ declare const _access_code_error_map: z.ZodObject<{
561
561
  is_access_code_error: true;
562
562
  created_at?: string | undefined;
563
563
  } | null | undefined;
564
- failed_to_remove?: {
564
+ failed_to_delete?: {
565
565
  message: string;
566
- error_code: "failed_to_remove";
566
+ error_code: "failed_to_delete";
567
567
  is_access_code_error: true;
568
568
  created_at?: string | undefined;
569
569
  } | null | undefined;
@@ -1332,15 +1332,15 @@ export declare const access_code: z.ZodObject<{
1332
1332
  is_access_code_error: z.ZodLiteral<true>;
1333
1333
  created_at: z.ZodOptional<z.ZodString>;
1334
1334
  } & {
1335
- error_code: z.ZodLiteral<"failed_to_remove">;
1335
+ error_code: z.ZodLiteral<"failed_to_delete">;
1336
1336
  }, "strip", z.ZodTypeAny, {
1337
1337
  message: string;
1338
- error_code: "failed_to_remove";
1338
+ error_code: "failed_to_delete";
1339
1339
  is_access_code_error: true;
1340
1340
  created_at?: string | undefined;
1341
1341
  }, {
1342
1342
  message: string;
1343
- error_code: "failed_to_remove";
1343
+ error_code: "failed_to_delete";
1344
1344
  is_access_code_error: true;
1345
1345
  created_at?: string | undefined;
1346
1346
  }>, ...(z.ZodObject<{
@@ -2239,7 +2239,7 @@ export declare const access_code: z.ZodObject<{
2239
2239
  created_at?: string | undefined;
2240
2240
  } | {
2241
2241
  message: string;
2242
- error_code: "failed_to_remove";
2242
+ error_code: "failed_to_delete";
2243
2243
  is_access_code_error: true;
2244
2244
  created_at?: string | undefined;
2245
2245
  } | {
@@ -2537,7 +2537,7 @@ export declare const access_code: z.ZodObject<{
2537
2537
  created_at?: string | undefined;
2538
2538
  } | {
2539
2539
  message: string;
2540
- error_code: "failed_to_remove";
2540
+ error_code: "failed_to_delete";
2541
2541
  is_access_code_error: true;
2542
2542
  created_at?: string | undefined;
2543
2543
  } | {
@@ -115,14 +115,14 @@ const failed_to_update = common_access_code_error.extend({
115
115
  ---
116
116
  Seam was unable to apply this access code's requested update to the device, so the code on the device does not match its requested state. Seam keeps retrying, and this error clears automatically once the update is applied.
117
117
  `);
118
- const failed_to_remove = common_access_code_error.extend({
119
- error_code: z.literal('failed_to_remove').describe(error_code_description),
118
+ const failed_to_delete = common_access_code_error.extend({
119
+ error_code: z.literal('failed_to_delete').describe(error_code_description),
120
120
  }).describe(`
121
121
  ---
122
122
  resource_type: access_code
123
123
  undocumented: Unreleased.
124
124
  ---
125
- 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 remove it, and this error clears automatically once the access code is no longer active.
125
+ 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.
126
126
  `);
127
127
  const access_code_inactive_error = common_access_code_error.extend({
128
128
  error_code: z
@@ -156,7 +156,7 @@ const access_code_error = z
156
156
  code_constraints_violated,
157
157
  failed_to_issue,
158
158
  failed_to_update,
159
- failed_to_remove,
159
+ failed_to_delete,
160
160
  ])
161
161
  .describe('Errors associated with the [access code](https://www.seam.co/docs/low-level-apis/smart-locks/access-codes).');
162
162
  const _access_code_error_map = z.object({
@@ -176,7 +176,7 @@ const _access_code_error_map = z.object({
176
176
  code_constraints_violated: code_constraints_violated.optional().nullable(),
177
177
  failed_to_issue: failed_to_issue.optional().nullable(),
178
178
  failed_to_update: failed_to_update.optional().nullable(),
179
- failed_to_remove: failed_to_remove.optional().nullable(),
179
+ failed_to_delete: failed_to_delete.optional().nullable(),
180
180
  });
181
181
  const common_access_code_warning = z.object({
182
182
  message: z
@@ -205,15 +205,15 @@ export declare const unmanaged_access_code: z.ZodObject<{
205
205
  is_access_code_error: z.ZodLiteral<true>;
206
206
  created_at: z.ZodOptional<z.ZodString>;
207
207
  } & {
208
- error_code: z.ZodLiteral<"failed_to_remove">;
208
+ error_code: z.ZodLiteral<"failed_to_delete">;
209
209
  }, "strip", z.ZodTypeAny, {
210
210
  message: string;
211
- error_code: "failed_to_remove";
211
+ error_code: "failed_to_delete";
212
212
  is_access_code_error: true;
213
213
  created_at?: string | undefined;
214
214
  }, {
215
215
  message: string;
216
- error_code: "failed_to_remove";
216
+ error_code: "failed_to_delete";
217
217
  is_access_code_error: true;
218
218
  created_at?: string | undefined;
219
219
  }>, ...(z.ZodObject<{
@@ -938,7 +938,7 @@ export declare const unmanaged_access_code: z.ZodObject<{
938
938
  created_at?: string | undefined;
939
939
  } | {
940
940
  message: string;
941
- error_code: "failed_to_remove";
941
+ error_code: "failed_to_delete";
942
942
  is_access_code_error: true;
943
943
  created_at?: string | undefined;
944
944
  } | {
@@ -1183,7 +1183,7 @@ export declare const unmanaged_access_code: z.ZodObject<{
1183
1183
  created_at?: string | undefined;
1184
1184
  } | {
1185
1185
  message: string;
1186
- error_code: "failed_to_remove";
1186
+ error_code: "failed_to_delete";
1187
1187
  is_access_code_error: true;
1188
1188
  created_at?: string | undefined;
1189
1189
  } | {
@@ -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 access_code_failed_to_remove_event: z.ZodObject<{
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.failed_to_remove">;
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.failed_to_remove";
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.failed_to_remove";
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 AccessCodeFailedToRemoveEvent = z.infer<typeof access_code_failed_to_remove_event>;
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.failed_to_remove">;
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.failed_to_remove";
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.failed_to_remove";
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 access_code_failed_to_remove_event = access_code_event
267
+ export const access_code_failed_to_delete_event = access_code_event
268
268
  .extend({
269
- event_type: z.literal('access_code.failed_to_remove'),
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 remove it, and the accompanying \`failed_to_remove\` error clears automatically once the access code is no longer active.
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
- access_code_failed_to_remove_event,
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.failed_to_remove">;
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.failed_to_remove";
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.failed_to_remove";
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.failed_to_remove" | "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_remove" | "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")[]]>;
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 remove it, and this error clears automatically once the access code is no longer active.',
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: ['failed_to_remove'],
409
+ enum: ['failed_to_delete'],
410
410
  type: 'string',
411
411
  },
412
412
  is_access_code_error: {
@@ -18200,7 +18200,7 @@ const openapi = {
18200
18200
  'x-undocumented': 'Unreleased.',
18201
18201
  },
18202
18202
  {
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 remove it, and the accompanying `failed_to_remove` error clears automatically once the access code is no longer active.',
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 delete it, and the accompanying `failed_to_delete` error clears automatically once the access code is no longer active.',
18204
18204
  properties: {
18205
18205
  access_code_errors: {
18206
18206
  description: 'Errors associated with the access code.',
@@ -18390,7 +18390,7 @@ const openapi = {
18390
18390
  type: 'string',
18391
18391
  },
18392
18392
  event_type: {
18393
- enum: ['access_code.failed_to_remove'],
18393
+ enum: ['access_code.failed_to_delete'],
18394
18394
  type: 'string',
18395
18395
  },
18396
18396
  occurred_at: {
@@ -28656,7 +28656,7 @@ const openapi = {
28656
28656
  'x-undocumented': 'Unreleased.',
28657
28657
  },
28658
28658
  {
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 remove it, and this error clears automatically once the access code is no longer active.',
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 delete it, and this error clears automatically once the access code is no longer active.',
28660
28660
  properties: {
28661
28661
  created_at: {
28662
28662
  description: 'Date and time at which Seam created the error.',
@@ -28665,7 +28665,7 @@ const openapi = {
28665
28665
  },
28666
28666
  error_code: {
28667
28667
  description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
28668
- enum: ['failed_to_remove'],
28668
+ enum: ['failed_to_delete'],
28669
28669
  type: 'string',
28670
28670
  },
28671
28671
  is_access_code_error: {
@@ -34869,7 +34869,7 @@ const openapi = {
34869
34869
  'access_code.delay_in_issuing',
34870
34870
  'access_code.failed_to_issue',
34871
34871
  'access_code.failed_to_update',
34872
- 'access_code.failed_to_remove',
34872
+ 'access_code.failed_to_delete',
34873
34873
  'access_code.scheduled_on_device',
34874
34874
  'access_code.set_on_device',
34875
34875
  'access_code.removed_from_device',
@@ -34963,7 +34963,7 @@ const openapi = {
34963
34963
  'access_code.delay_in_issuing',
34964
34964
  'access_code.failed_to_issue',
34965
34965
  'access_code.failed_to_update',
34966
- 'access_code.failed_to_remove',
34966
+ 'access_code.failed_to_delete',
34967
34967
  'access_code.scheduled_on_device',
34968
34968
  'access_code.set_on_device',
34969
34969
  'access_code.removed_from_device',
@@ -46006,6 +46006,7 @@ const openapi = {
46006
46006
  'akiles',
46007
46007
  'aqara',
46008
46008
  'ecobee',
46009
+ 'eufy',
46009
46010
  'dormakaba_oracode',
46010
46011
  'dormakaba_oracode_iho',
46011
46012
  'honeywell_resideo',
@@ -48277,6 +48278,7 @@ const openapi = {
48277
48278
  'akiles',
48278
48279
  'aqara',
48279
48280
  'ecobee',
48281
+ 'eufy',
48280
48282
  'dormakaba_oracode',
48281
48283
  'dormakaba_oracode_iho',
48282
48284
  'honeywell_resideo',
@@ -48800,7 +48802,7 @@ const openapi = {
48800
48802
  'access_code.delay_in_issuing',
48801
48803
  'access_code.failed_to_issue',
48802
48804
  'access_code.failed_to_update',
48803
- 'access_code.failed_to_remove',
48805
+ 'access_code.failed_to_delete',
48804
48806
  'access_code.deleted',
48805
48807
  'access_code.delay_in_removing_from_device',
48806
48808
  'access_code.failed_to_remove_from_device',
@@ -48925,7 +48927,7 @@ const openapi = {
48925
48927
  'access_code.delay_in_issuing',
48926
48928
  'access_code.failed_to_issue',
48927
48929
  'access_code.failed_to_update',
48928
- 'access_code.failed_to_remove',
48930
+ 'access_code.failed_to_delete',
48929
48931
  'access_code.deleted',
48930
48932
  'access_code.delay_in_removing_from_device',
48931
48933
  'access_code.failed_to_remove_from_device',
@@ -49657,6 +49659,7 @@ const openapi = {
49657
49659
  'keyincode',
49658
49660
  'akiles',
49659
49661
  'aqara',
49662
+ 'eufy',
49660
49663
  'dormakaba_oracode',
49661
49664
  'dormakaba_oracode_iho',
49662
49665
  'korelock',
@@ -56535,7 +56538,7 @@ const openapi = {
56535
56538
  'access_code.delay_in_issuing',
56536
56539
  'access_code.failed_to_issue',
56537
56540
  'access_code.failed_to_update',
56538
- 'access_code.failed_to_remove',
56541
+ 'access_code.failed_to_delete',
56539
56542
  'access_code.deleted',
56540
56543
  'access_code.delay_in_removing_from_device',
56541
56544
  'access_code.failed_to_remove_from_device',
@@ -56661,7 +56664,7 @@ const openapi = {
56661
56664
  'access_code.delay_in_issuing',
56662
56665
  'access_code.failed_to_issue',
56663
56666
  'access_code.failed_to_update',
56664
- 'access_code.failed_to_remove',
56667
+ 'access_code.failed_to_delete',
56665
56668
  'access_code.deleted',
56666
56669
  'access_code.delay_in_removing_from_device',
56667
56670
  'access_code.failed_to_remove_from_device',
@@ -59887,7 +59890,6 @@ const openapi = {
59887
59890
  schema: { type: 'string' },
59888
59891
  },
59889
59892
  ],
59890
- requestBody: { content: { 'application/json': { schema: {} } } },
59891
59893
  responses: {
59892
59894
  '200': {
59893
59895
  content: {
@@ -59940,7 +59942,7 @@ const openapi = {
59940
59942
  'access_code.delay_in_issuing',
59941
59943
  'access_code.failed_to_issue',
59942
59944
  'access_code.failed_to_update',
59943
- 'access_code.failed_to_remove',
59945
+ 'access_code.failed_to_delete',
59944
59946
  'access_code.deleted',
59945
59947
  'access_code.delay_in_removing_from_device',
59946
59948
  'access_code.failed_to_remove_from_device',
@@ -60143,7 +60145,7 @@ const openapi = {
60143
60145
  'access_code.delay_in_issuing',
60144
60146
  'access_code.failed_to_issue',
60145
60147
  'access_code.failed_to_update',
60146
- 'access_code.failed_to_remove',
60148
+ 'access_code.failed_to_delete',
60147
60149
  'access_code.deleted',
60148
60150
  'access_code.delay_in_removing_from_device',
60149
60151
  'access_code.failed_to_remove_from_device',