@seamapi/types 1.267.0 → 1.269.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.
package/dist/connect.cjs CHANGED
@@ -2285,6 +2285,9 @@ var lock_method = zod.z.enum([
2285
2285
  var device_connected_event = device_event.extend({
2286
2286
  event_type: zod.z.literal("device.connected")
2287
2287
  }).describe("A new device was connected to Seam.");
2288
+ var device_added_event = device_event.extend({
2289
+ event_type: zod.z.literal("device.added")
2290
+ }).describe("A device has been added or reconnected to Seam.");
2288
2291
  var device_converted_to_unmanaged_event = device_event.extend({
2289
2292
  event_type: zod.z.literal("device.converted_to_unmanaged")
2290
2293
  }).describe(
@@ -2414,8 +2417,10 @@ var thermostat_climate_preset_activated_event = device_event.extend({
2414
2417
  climate_preset_key: zod.z.string(),
2415
2418
  is_fallback_climate_preset: zod.z.boolean()
2416
2419
  }).describe("A thermostat climate preset was activated.");
2420
+ var thermostat_manually_adjusted_method = zod.z.enum(["seam", "external"]);
2417
2421
  var thermostat_manually_adjusted_event = device_event.extend({
2418
- event_type: zod.z.literal("thermostat.manually_adjusted")
2422
+ event_type: zod.z.literal("thermostat.manually_adjusted"),
2423
+ method: thermostat_manually_adjusted_method
2419
2424
  }).merge(
2420
2425
  climate_setting.pick({
2421
2426
  fan_mode_setting: true,
@@ -2428,6 +2433,7 @@ var thermostat_manually_adjusted_event = device_event.extend({
2428
2433
  ).describe("A thermostat was manually adjusted.");
2429
2434
  var device_events = [
2430
2435
  device_connected_event,
2436
+ device_added_event,
2431
2437
  device_converted_to_unmanaged_event,
2432
2438
  unmanaged_device_converted_to_managed_event,
2433
2439
  unmanaged_device_connected_event,
@@ -14728,6 +14734,7 @@ var openapi_default = {
14728
14734
  enum: [
14729
14735
  "device.accessory_keypad_connected",
14730
14736
  "device.accessory_keypad_disconnected",
14737
+ "device.added",
14731
14738
  "device.connected",
14732
14739
  "device.unmanaged.connected",
14733
14740
  "device.disconnected",
@@ -14782,6 +14789,7 @@ var openapi_default = {
14782
14789
  "acs_system.connected",
14783
14790
  "acs_user.deleted",
14784
14791
  "acs_credential.deleted",
14792
+ "acs_credential.issued",
14785
14793
  "enrollment_automation.deleted",
14786
14794
  "client_session.deleted",
14787
14795
  "action_attempt.lock_door.succeeded",
@@ -14798,6 +14806,7 @@ var openapi_default = {
14798
14806
  enum: [
14799
14807
  "device.accessory_keypad_connected",
14800
14808
  "device.accessory_keypad_disconnected",
14809
+ "device.added",
14801
14810
  "device.connected",
14802
14811
  "device.unmanaged.connected",
14803
14812
  "device.disconnected",
@@ -14852,6 +14861,7 @@ var openapi_default = {
14852
14861
  "acs_system.connected",
14853
14862
  "acs_user.deleted",
14854
14863
  "acs_credential.deleted",
14864
+ "acs_credential.issued",
14855
14865
  "enrollment_automation.deleted",
14856
14866
  "client_session.deleted",
14857
14867
  "action_attempt.lock_door.succeeded",