@seamapi/types 1.167.0 → 1.169.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.
@@ -7574,6 +7574,10 @@ declare const _default: {
7574
7574
  pattern: string;
7575
7575
  type: string;
7576
7576
  };
7577
+ ends_at: {
7578
+ format: string;
7579
+ type: string;
7580
+ };
7577
7581
  };
7578
7582
  required: string[];
7579
7583
  type: string;
@@ -7639,6 +7643,10 @@ declare const _default: {
7639
7643
  pattern: string;
7640
7644
  type: string;
7641
7645
  };
7646
+ ends_at: {
7647
+ format: string;
7648
+ type: string;
7649
+ };
7642
7650
  };
7643
7651
  required: string[];
7644
7652
  type: string;
@@ -18081,7 +18089,8 @@ interface Routes {
18081
18089
  queryParams: {};
18082
18090
  jsonBody: {
18083
18091
  acs_credential_id: string;
18084
- code: string;
18092
+ code?: string | undefined;
18093
+ ends_at?: string | undefined;
18085
18094
  };
18086
18095
  commonParams: {};
18087
18096
  formData: {};
@@ -20444,8 +20453,8 @@ interface Routes {
20444
20453
  device_ids?: string[] | undefined;
20445
20454
  access_code_id?: string | undefined;
20446
20455
  access_code_ids?: string[] | undefined;
20447
- event_type?: ('device.connected' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.removed' | 'device.deleted' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | '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' | 'access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.deleted' | 'access_code.removed_from_device' | 'access_code.failed_to_set_on_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_remove_from_device' | 'access_code.delay_in_removing_from_device' | 'access_code.deleted_external_to_seam' | 'access_code.modified_external_to_seam' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'lock.locked' | 'lock.unlocked' | 'phone.deactivated' | 'connected_account.connected' | 'connected_account.successful_login' | 'connected_account.created' | 'connected_account.deleted' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.completed_first_sync_after_reconnection' | 'noise_sensor.noise_threshold_triggered' | 'access_code.backup_access_code_pulled' | 'acs_user.deleted' | 'acs_credential.deleted' | 'enrollment_automation.deleted' | 'client_session.deleted' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed') | undefined;
20448
- event_types?: Array<'device.connected' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.removed' | 'device.deleted' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | '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' | 'access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.deleted' | 'access_code.removed_from_device' | 'access_code.failed_to_set_on_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_remove_from_device' | 'access_code.delay_in_removing_from_device' | 'access_code.deleted_external_to_seam' | 'access_code.modified_external_to_seam' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'lock.locked' | 'lock.unlocked' | 'phone.deactivated' | 'connected_account.connected' | 'connected_account.successful_login' | 'connected_account.created' | 'connected_account.deleted' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.completed_first_sync_after_reconnection' | 'noise_sensor.noise_threshold_triggered' | 'access_code.backup_access_code_pulled' | 'acs_user.deleted' | 'acs_credential.deleted' | 'enrollment_automation.deleted' | 'client_session.deleted' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed'> | undefined;
20456
+ event_type?: ('device.connected' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.removed' | 'device.deleted' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | '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' | 'access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.deleted' | 'access_code.removed_from_device' | 'access_code.failed_to_set_on_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_remove_from_device' | 'access_code.delay_in_removing_from_device' | 'access_code.deleted_external_to_seam' | 'access_code.modified_external_to_seam' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'lock.locked' | 'lock.unlocked' | 'phone.deactivated' | 'connected_account.connected' | 'connected_account.successful_login' | 'connected_account.created' | 'connected_account.deleted' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.completed_first_sync_after_reconnection' | 'noise_sensor.noise_threshold_triggered' | 'access_code.backup_access_code_pulled' | 'acs_user.deleted' | 'acs_credential.deleted' | 'enrollment_automation.deleted' | 'client_session.deleted' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed') | undefined;
20457
+ event_types?: Array<'device.connected' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.removed' | 'device.deleted' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | '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' | 'access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.deleted' | 'access_code.removed_from_device' | 'access_code.failed_to_set_on_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_remove_from_device' | 'access_code.delay_in_removing_from_device' | 'access_code.deleted_external_to_seam' | 'access_code.modified_external_to_seam' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'lock.locked' | 'lock.unlocked' | 'phone.deactivated' | 'connected_account.connected' | 'connected_account.successful_login' | 'connected_account.created' | 'connected_account.deleted' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.completed_first_sync_after_reconnection' | 'noise_sensor.noise_threshold_triggered' | 'access_code.backup_access_code_pulled' | 'acs_user.deleted' | 'acs_credential.deleted' | 'enrollment_automation.deleted' | 'client_session.deleted' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed'> | undefined;
20449
20458
  connected_account_id?: string | undefined;
20450
20459
  limit?: number;
20451
20460
  };
@@ -6294,6 +6294,10 @@ declare const _default: {
6294
6294
  pattern: string;
6295
6295
  type: string;
6296
6296
  };
6297
+ ends_at: {
6298
+ format: string;
6299
+ type: string;
6300
+ };
6297
6301
  };
6298
6302
  required: string[];
6299
6303
  type: string;
@@ -6359,6 +6363,10 @@ declare const _default: {
6359
6363
  pattern: string;
6360
6364
  type: string;
6361
6365
  };
6366
+ ends_at: {
6367
+ format: string;
6368
+ type: string;
6369
+ };
6362
6370
  };
6363
6371
  required: string[];
6364
6372
  type: string;
@@ -4638,8 +4638,9 @@ export default {
4638
4638
  properties: {
4639
4639
  acs_credential_id: { type: 'string' },
4640
4640
  code: { pattern: '^\\d+$', type: 'string' },
4641
+ ends_at: { format: 'date-time', type: 'string' },
4641
4642
  },
4642
- required: ['acs_credential_id', 'code'],
4643
+ required: ['acs_credential_id'],
4643
4644
  type: 'object',
4644
4645
  },
4645
4646
  },
@@ -4684,8 +4685,9 @@ export default {
4684
4685
  properties: {
4685
4686
  acs_credential_id: { type: 'string' },
4686
4687
  code: { pattern: '^\\d+$', type: 'string' },
4688
+ ends_at: { format: 'date-time', type: 'string' },
4687
4689
  },
4688
- required: ['acs_credential_id', 'code'],
4690
+ required: ['acs_credential_id'],
4689
4691
  type: 'object',
4690
4692
  },
4691
4693
  },
@@ -7849,6 +7851,8 @@ export default {
7849
7851
  'client_session.deleted',
7850
7852
  'action_attempt.lock_door.succeeded',
7851
7853
  'action_attempt.lock_door.failed',
7854
+ 'action_attempt.unlock_door.succeeded',
7855
+ 'action_attempt.unlock_door.failed',
7852
7856
  ],
7853
7857
  type: 'string',
7854
7858
  },
@@ -7910,6 +7914,8 @@ export default {
7910
7914
  'client_session.deleted',
7911
7915
  'action_attempt.lock_door.succeeded',
7912
7916
  'action_attempt.lock_door.failed',
7917
+ 'action_attempt.unlock_door.succeeded',
7918
+ 'action_attempt.unlock_door.failed',
7913
7919
  ],
7914
7920
  type: 'string',
7915
7921
  },