@seamapi/types 1.266.0 → 1.268.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.
@@ -9327,6 +9327,7 @@ export interface Routes {
9327
9327
  heating_set_point_celsius?: number | undefined;
9328
9328
  cooling_set_point_fahrenheit?: number | undefined;
9329
9329
  heating_set_point_fahrenheit?: number | undefined;
9330
+ method?: string | undefined;
9330
9331
  } | undefined;
9331
9332
  message?: string | undefined;
9332
9333
  };
@@ -9343,8 +9344,8 @@ export interface Routes {
9343
9344
  device_ids?: string[] | undefined;
9344
9345
  access_code_id?: string | undefined;
9345
9346
  access_code_ids?: string[] | undefined;
9346
- event_type?: ('device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | '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_types?: Array<'device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | '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' | '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;
9348
9349
  connected_account_id?: string | undefined;
9349
9350
  connect_webview_id?: string | undefined;
9350
9351
  limit?: number;
@@ -9374,6 +9375,7 @@ export interface Routes {
9374
9375
  heating_set_point_celsius?: number | undefined;
9375
9376
  cooling_set_point_fahrenheit?: number | undefined;
9376
9377
  heating_set_point_fahrenheit?: number | undefined;
9378
+ method?: string | undefined;
9377
9379
  }>;
9378
9380
  };
9379
9381
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.266.0",
3
+ "version": "1.268.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -66,6 +66,14 @@ export const device_connected_event = device_event
66
66
 
67
67
  export type DeviceConnectedEvent = z.infer<typeof device_connected_event>
68
68
 
69
+ export const device_added_event = device_event
70
+ .extend({
71
+ event_type: z.literal('device.added'),
72
+ })
73
+ .describe('A device has been added or reconnected to Seam.')
74
+
75
+ export type DeviceAddedEvent = z.infer<typeof device_added_event>
76
+
69
77
  export const device_converted_to_unmanaged_event = device_event
70
78
  .extend({
71
79
  event_type: z.literal('device.converted_to_unmanaged'),
@@ -377,6 +385,7 @@ export type ThermostatManuallyAdjustedEvent = z.infer<
377
385
 
378
386
  export const device_events = [
379
387
  device_connected_event,
388
+ device_added_event,
380
389
  device_converted_to_unmanaged_event,
381
390
  unmanaged_device_converted_to_managed_event,
382
391
  unmanaged_device_connected_event,
@@ -4292,6 +4292,7 @@ export default {
4292
4292
  heating_set_point_fahrenheit: { format: 'float', type: 'number' },
4293
4293
  hvac_mode_setting: { type: 'string' },
4294
4294
  is_fallback_climate_preset: { type: 'boolean' },
4295
+ method: { type: 'string' },
4295
4296
  occurred_at: { format: 'date-time', type: 'string' },
4296
4297
  thermostat_schedule_id: {
4297
4298
  format: 'uuid',
@@ -6929,10 +6930,13 @@ export default {
6929
6930
  ],
6930
6931
  summary: '/acs/credential_pools/list',
6931
6932
  tags: ['/acs'],
6933
+ 'x-deprecated':
6934
+ 'Use `/user_identities/enrollment_automations/list` instead.',
6932
6935
  'x-fern-sdk-group-name': ['acs', 'credential_pools'],
6933
6936
  'x-fern-sdk-method-name': 'list',
6934
6937
  'x-fern-sdk-return-value': 'acs_credential_pools',
6935
6938
  'x-response-key': 'acs_credential_pools',
6939
+ 'x-undocumented': 'Replaced by enrollment automations.',
6936
6940
  },
6937
6941
  },
6938
6942
  '/acs/credential_provisioning_automations/launch': {
@@ -6992,10 +6996,13 @@ export default {
6992
6996
  ],
6993
6997
  summary: '/acs/credential_provisioning_automations/launch',
6994
6998
  tags: ['/acs'],
6999
+ 'x-deprecated':
7000
+ 'Use `/user_identities/enrollment_automations/launch` instead.',
6995
7001
  'x-fern-sdk-group-name': ['acs', 'credential_provisioning_automations'],
6996
7002
  'x-fern-sdk-method-name': 'launch',
6997
7003
  'x-fern-sdk-return-value': 'acs_credential_provisioning_automation',
6998
7004
  'x-response-key': 'acs_credential_provisioning_automation',
7005
+ 'x-undocumented': 'Replaced by enrollment automations.',
6999
7006
  },
7000
7007
  },
7001
7008
  '/acs/credentials/assign': {
@@ -12441,6 +12448,7 @@ export default {
12441
12448
  enum: [
12442
12449
  'device.accessory_keypad_connected',
12443
12450
  'device.accessory_keypad_disconnected',
12451
+ 'device.added',
12444
12452
  'device.connected',
12445
12453
  'device.unmanaged.connected',
12446
12454
  'device.disconnected',
@@ -12511,6 +12519,7 @@ export default {
12511
12519
  enum: [
12512
12520
  'device.accessory_keypad_connected',
12513
12521
  'device.accessory_keypad_disconnected',
12522
+ 'device.added',
12514
12523
  'device.connected',
12515
12524
  'device.unmanaged.connected',
12516
12525
  'device.disconnected',
@@ -11523,6 +11523,7 @@ export interface Routes {
11523
11523
  heating_set_point_celsius?: number | undefined
11524
11524
  cooling_set_point_fahrenheit?: number | undefined
11525
11525
  heating_set_point_fahrenheit?: number | undefined
11526
+ method?: string | undefined
11526
11527
  }
11527
11528
  | undefined
11528
11529
  message?: string | undefined
@@ -11544,6 +11545,7 @@ export interface Routes {
11544
11545
  | (
11545
11546
  | 'device.accessory_keypad_connected'
11546
11547
  | 'device.accessory_keypad_disconnected'
11548
+ | 'device.added'
11547
11549
  | 'device.connected'
11548
11550
  | 'device.unmanaged.connected'
11549
11551
  | 'device.disconnected'
@@ -11612,6 +11614,7 @@ export interface Routes {
11612
11614
  | Array<
11613
11615
  | 'device.accessory_keypad_connected'
11614
11616
  | 'device.accessory_keypad_disconnected'
11617
+ | 'device.added'
11615
11618
  | 'device.connected'
11616
11619
  | 'device.unmanaged.connected'
11617
11620
  | 'device.disconnected'
@@ -11705,6 +11708,7 @@ export interface Routes {
11705
11708
  heating_set_point_celsius?: number | undefined
11706
11709
  cooling_set_point_fahrenheit?: number | undefined
11707
11710
  heating_set_point_fahrenheit?: number | undefined
11711
+ method?: string | undefined
11708
11712
  }>
11709
11713
  }
11710
11714
  }