@seamapi/types 1.268.0 → 1.269.1

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.
@@ -5515,7 +5515,7 @@ export interface Routes {
5515
5515
  /** ID of the `acs_system`. */
5516
5516
  acs_system_id: string;
5517
5517
  /** Brand-specific terminology for the `acs_system` type. */
5518
- external_type?: ('pti_site' | 'alta_org' | 'salto_site' | 'brivo_account' | 'hid_credential_manager_organization' | 'visionline_system' | 'assa_abloy_credential_service' | 'latch_building') | undefined;
5518
+ external_type?: ('pti_site' | 'alta_org' | 'salto_ks_site' | 'brivo_account' | 'hid_credential_manager_organization' | 'visionline_system' | 'assa_abloy_credential_service' | 'latch_building') | undefined;
5519
5519
  /** Display name that corresponds to the brand-specific terminology for the `acs_system` type. */
5520
5520
  external_type_display_name?: string | undefined;
5521
5521
  /** Indicates if the `acs_system` is a credential manager. */
@@ -5530,7 +5530,7 @@ export interface Routes {
5530
5530
  } | undefined;
5531
5531
  /**
5532
5532
  * @deprecated Use `external_type`. */
5533
- system_type?: ('pti_site' | 'alta_org' | 'salto_site' | 'brivo_account' | 'hid_credential_manager_organization' | 'visionline_system' | 'assa_abloy_credential_service' | 'latch_building') | undefined;
5533
+ system_type?: ('pti_site' | 'alta_org' | 'salto_ks_site' | 'brivo_account' | 'hid_credential_manager_organization' | 'visionline_system' | 'assa_abloy_credential_service' | 'latch_building') | undefined;
5534
5534
  /**
5535
5535
  * @deprecated Use `external_type_display_name`. */
5536
5536
  system_type_display_name?: string | undefined;
@@ -5620,7 +5620,7 @@ export interface Routes {
5620
5620
  /** ID of the `acs_system`. */
5621
5621
  acs_system_id: string;
5622
5622
  /** Brand-specific terminology for the `acs_system` type. */
5623
- external_type?: ('pti_site' | 'alta_org' | 'salto_site' | 'brivo_account' | 'hid_credential_manager_organization' | 'visionline_system' | 'assa_abloy_credential_service' | 'latch_building') | undefined;
5623
+ external_type?: ('pti_site' | 'alta_org' | 'salto_ks_site' | 'brivo_account' | 'hid_credential_manager_organization' | 'visionline_system' | 'assa_abloy_credential_service' | 'latch_building') | undefined;
5624
5624
  /** Display name that corresponds to the brand-specific terminology for the `acs_system` type. */
5625
5625
  external_type_display_name?: string | undefined;
5626
5626
  /** Indicates if the `acs_system` is a credential manager. */
@@ -5635,7 +5635,7 @@ export interface Routes {
5635
5635
  } | undefined;
5636
5636
  /**
5637
5637
  * @deprecated Use `external_type`. */
5638
- system_type?: ('pti_site' | 'alta_org' | 'salto_site' | 'brivo_account' | 'hid_credential_manager_organization' | 'visionline_system' | 'assa_abloy_credential_service' | 'latch_building') | undefined;
5638
+ system_type?: ('pti_site' | 'alta_org' | 'salto_ks_site' | 'brivo_account' | 'hid_credential_manager_organization' | 'visionline_system' | 'assa_abloy_credential_service' | 'latch_building') | undefined;
5639
5639
  /**
5640
5640
  * @deprecated Use `external_type_display_name`. */
5641
5641
  system_type_display_name?: string | undefined;
@@ -5725,7 +5725,7 @@ export interface Routes {
5725
5725
  /** ID of the `acs_system`. */
5726
5726
  acs_system_id: string;
5727
5727
  /** Brand-specific terminology for the `acs_system` type. */
5728
- external_type?: ('pti_site' | 'alta_org' | 'salto_site' | 'brivo_account' | 'hid_credential_manager_organization' | 'visionline_system' | 'assa_abloy_credential_service' | 'latch_building') | undefined;
5728
+ external_type?: ('pti_site' | 'alta_org' | 'salto_ks_site' | 'brivo_account' | 'hid_credential_manager_organization' | 'visionline_system' | 'assa_abloy_credential_service' | 'latch_building') | undefined;
5729
5729
  /** Display name that corresponds to the brand-specific terminology for the `acs_system` type. */
5730
5730
  external_type_display_name?: string | undefined;
5731
5731
  /** Indicates if the `acs_system` is a credential manager. */
@@ -5740,7 +5740,7 @@ export interface Routes {
5740
5740
  } | undefined;
5741
5741
  /**
5742
5742
  * @deprecated Use `external_type`. */
5743
- system_type?: ('pti_site' | 'alta_org' | 'salto_site' | 'brivo_account' | 'hid_credential_manager_organization' | 'visionline_system' | 'assa_abloy_credential_service' | 'latch_building') | undefined;
5743
+ system_type?: ('pti_site' | 'alta_org' | 'salto_ks_site' | 'brivo_account' | 'hid_credential_manager_organization' | 'visionline_system' | 'assa_abloy_credential_service' | 'latch_building') | undefined;
5744
5744
  /**
5745
5745
  * @deprecated Use `external_type_display_name`. */
5746
5746
  system_type_display_name?: string | undefined;
@@ -9344,8 +9344,8 @@ export interface Routes {
9344
9344
  device_ids?: string[] | undefined;
9345
9345
  access_code_id?: string | undefined;
9346
9346
  access_code_ids?: string[] | undefined;
9347
- event_type?: ('device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'device.added' | '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' | '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' | 'lock.access_denied' | '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' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'noise_sensor.noise_threshold_triggered' | 'access_code.backup_access_code_pulled' | 'acs_system.added' | 'acs_system.connected' | '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' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted') | undefined;
9348
- event_types?: Array<'device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'device.added' | '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' | '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' | 'lock.access_denied' | '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' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'noise_sensor.noise_threshold_triggered' | 'access_code.backup_access_code_pulled' | 'acs_system.added' | 'acs_system.connected' | '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' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted'> | undefined;
9347
+ event_type?: ('device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'device.added' | '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' | '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' | 'lock.access_denied' | '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' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'noise_sensor.noise_threshold_triggered' | 'access_code.backup_access_code_pulled' | 'acs_system.added' | 'acs_system.connected' | 'acs_user.deleted' | 'acs_credential.deleted' | 'acs_credential.issued' | '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' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted') | undefined;
9348
+ event_types?: Array<'device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'device.added' | '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' | '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' | 'lock.access_denied' | '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' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'noise_sensor.noise_threshold_triggered' | 'access_code.backup_access_code_pulled' | 'acs_system.added' | 'acs_system.connected' | 'acs_user.deleted' | 'acs_credential.deleted' | 'acs_credential.issued' | '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' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted'> | undefined;
9349
9349
  connected_account_id?: string | undefined;
9350
9350
  connect_webview_id?: string | undefined;
9351
9351
  limit?: number;
@@ -21183,7 +21183,7 @@ export interface Routes {
21183
21183
  /** ID of the `acs_system`. */
21184
21184
  acs_system_id: string;
21185
21185
  /** Brand-specific terminology for the `acs_system` type. */
21186
- external_type?: ('pti_site' | 'alta_org' | 'salto_site' | 'brivo_account' | 'hid_credential_manager_organization' | 'visionline_system' | 'assa_abloy_credential_service' | 'latch_building') | undefined;
21186
+ external_type?: ('pti_site' | 'alta_org' | 'salto_ks_site' | 'brivo_account' | 'hid_credential_manager_organization' | 'visionline_system' | 'assa_abloy_credential_service' | 'latch_building') | undefined;
21187
21187
  /** Display name that corresponds to the brand-specific terminology for the `acs_system` type. */
21188
21188
  external_type_display_name?: string | undefined;
21189
21189
  /** Indicates if the `acs_system` is a credential manager. */
@@ -21198,7 +21198,7 @@ export interface Routes {
21198
21198
  } | undefined;
21199
21199
  /**
21200
21200
  * @deprecated Use `external_type`. */
21201
- system_type?: ('pti_site' | 'alta_org' | 'salto_site' | 'brivo_account' | 'hid_credential_manager_organization' | 'visionline_system' | 'assa_abloy_credential_service' | 'latch_building') | undefined;
21201
+ system_type?: ('pti_site' | 'alta_org' | 'salto_ks_site' | 'brivo_account' | 'hid_credential_manager_organization' | 'visionline_system' | 'assa_abloy_credential_service' | 'latch_building') | undefined;
21202
21202
  /**
21203
21203
  * @deprecated Use `external_type_display_name`. */
21204
21204
  system_type_display_name?: string | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.268.0",
3
+ "version": "1.269.1",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -31,7 +31,7 @@ export const acs_system_capability_flags = z.object({
31
31
  export const acs_system_external_type = z.enum([
32
32
  'pti_site',
33
33
  'alta_org',
34
- 'salto_site',
34
+ 'salto_ks_site',
35
35
  'brivo_account',
36
36
  'hid_credential_manager_organization',
37
37
  'visionline_system',
@@ -363,9 +363,12 @@ export type ThermostatClimatePresetActivatedEvent = z.infer<
363
363
  typeof thermostat_climate_preset_activated_event
364
364
  >
365
365
 
366
+ export const thermostat_manually_adjusted_method = z.enum(['seam', 'external'])
367
+
366
368
  export const thermostat_manually_adjusted_event = device_event
367
369
  .extend({
368
370
  event_type: z.literal('thermostat.manually_adjusted'),
371
+ method: thermostat_manually_adjusted_method,
369
372
  })
370
373
  .merge(
371
374
  climate_setting.pick({
@@ -671,7 +671,7 @@ export default {
671
671
  enum: [
672
672
  'pti_site',
673
673
  'alta_org',
674
- 'salto_site',
674
+ 'salto_ks_site',
675
675
  'brivo_account',
676
676
  'hid_credential_manager_organization',
677
677
  'visionline_system',
@@ -704,7 +704,7 @@ export default {
704
704
  enum: [
705
705
  'pti_site',
706
706
  'alta_org',
707
- 'salto_site',
707
+ 'salto_ks_site',
708
708
  'brivo_account',
709
709
  'hid_credential_manager_organization',
710
710
  'visionline_system',
@@ -12503,6 +12503,7 @@ export default {
12503
12503
  'acs_system.connected',
12504
12504
  'acs_user.deleted',
12505
12505
  'acs_credential.deleted',
12506
+ 'acs_credential.issued',
12506
12507
  'enrollment_automation.deleted',
12507
12508
  'client_session.deleted',
12508
12509
  'action_attempt.lock_door.succeeded',
@@ -12574,6 +12575,7 @@ export default {
12574
12575
  'acs_system.connected',
12575
12576
  'acs_user.deleted',
12576
12577
  'acs_credential.deleted',
12578
+ 'acs_credential.issued',
12577
12579
  'enrollment_automation.deleted',
12578
12580
  'client_session.deleted',
12579
12581
  'action_attempt.lock_door.succeeded',
@@ -6472,7 +6472,7 @@ export interface Routes {
6472
6472
  | (
6473
6473
  | 'pti_site'
6474
6474
  | 'alta_org'
6475
- | 'salto_site'
6475
+ | 'salto_ks_site'
6476
6476
  | 'brivo_account'
6477
6477
  | 'hid_credential_manager_organization'
6478
6478
  | 'visionline_system'
@@ -6500,7 +6500,7 @@ export interface Routes {
6500
6500
  | (
6501
6501
  | 'pti_site'
6502
6502
  | 'alta_org'
6503
- | 'salto_site'
6503
+ | 'salto_ks_site'
6504
6504
  | 'brivo_account'
6505
6505
  | 'hid_credential_manager_organization'
6506
6506
  | 'visionline_system'
@@ -6607,7 +6607,7 @@ export interface Routes {
6607
6607
  | (
6608
6608
  | 'pti_site'
6609
6609
  | 'alta_org'
6610
- | 'salto_site'
6610
+ | 'salto_ks_site'
6611
6611
  | 'brivo_account'
6612
6612
  | 'hid_credential_manager_organization'
6613
6613
  | 'visionline_system'
@@ -6635,7 +6635,7 @@ export interface Routes {
6635
6635
  | (
6636
6636
  | 'pti_site'
6637
6637
  | 'alta_org'
6638
- | 'salto_site'
6638
+ | 'salto_ks_site'
6639
6639
  | 'brivo_account'
6640
6640
  | 'hid_credential_manager_organization'
6641
6641
  | 'visionline_system'
@@ -6742,7 +6742,7 @@ export interface Routes {
6742
6742
  | (
6743
6743
  | 'pti_site'
6744
6744
  | 'alta_org'
6745
- | 'salto_site'
6745
+ | 'salto_ks_site'
6746
6746
  | 'brivo_account'
6747
6747
  | 'hid_credential_manager_organization'
6748
6748
  | 'visionline_system'
@@ -6770,7 +6770,7 @@ export interface Routes {
6770
6770
  | (
6771
6771
  | 'pti_site'
6772
6772
  | 'alta_org'
6773
- | 'salto_site'
6773
+ | 'salto_ks_site'
6774
6774
  | 'brivo_account'
6775
6775
  | 'hid_credential_manager_organization'
6776
6776
  | 'visionline_system'
@@ -11600,6 +11600,7 @@ export interface Routes {
11600
11600
  | 'acs_system.connected'
11601
11601
  | 'acs_user.deleted'
11602
11602
  | 'acs_credential.deleted'
11603
+ | 'acs_credential.issued'
11603
11604
  | 'enrollment_automation.deleted'
11604
11605
  | 'client_session.deleted'
11605
11606
  | 'action_attempt.lock_door.succeeded'
@@ -11669,6 +11670,7 @@ export interface Routes {
11669
11670
  | 'acs_system.connected'
11670
11671
  | 'acs_user.deleted'
11671
11672
  | 'acs_credential.deleted'
11673
+ | 'acs_credential.issued'
11672
11674
  | 'enrollment_automation.deleted'
11673
11675
  | 'client_session.deleted'
11674
11676
  | 'action_attempt.lock_door.succeeded'
@@ -26877,7 +26879,7 @@ export interface Routes {
26877
26879
  | (
26878
26880
  | 'pti_site'
26879
26881
  | 'alta_org'
26880
- | 'salto_site'
26882
+ | 'salto_ks_site'
26881
26883
  | 'brivo_account'
26882
26884
  | 'hid_credential_manager_organization'
26883
26885
  | 'visionline_system'
@@ -26905,7 +26907,7 @@ export interface Routes {
26905
26907
  | (
26906
26908
  | 'pti_site'
26907
26909
  | 'alta_org'
26908
- | 'salto_site'
26910
+ | 'salto_ks_site'
26909
26911
  | 'brivo_account'
26910
26912
  | 'hid_credential_manager_organization'
26911
26913
  | 'visionline_system'