@seamapi/types 1.249.0 → 1.251.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
@@ -1975,9 +1975,10 @@ var access_code_events = [
1975
1975
  unmanaged_access_code_removed_event
1976
1976
  ];
1977
1977
  var common_acs_event = common_event.extend({
1978
- connected_account_id: zod.z.string().uuid().describe(`
1978
+ connected_account_id: zod.z.string().uuid().optional().describe(`
1979
1979
  ---
1980
1980
  title: Connected Account ID
1981
+ deprecated: Will be removed.
1981
1982
  ---
1982
1983
  ID of the connected account.
1983
1984
  `),
@@ -2001,7 +2002,13 @@ var acs_system_event = common_acs_event.extend({});
2001
2002
  var acs_system_connected_event = acs_system_event.extend({
2002
2003
  event_type: zod.z.literal("acs_system.connected")
2003
2004
  }).describe("An ACS system was connected.");
2004
- var acs_system_events = [acs_system_connected_event];
2005
+ var acs_system_added_event = acs_system_event.extend({
2006
+ event_type: zod.z.literal("acs_system.added")
2007
+ }).describe("An ACS system was added.");
2008
+ var acs_system_events = [
2009
+ acs_system_connected_event,
2010
+ acs_system_added_event
2011
+ ];
2005
2012
  var acs_user_event = common_acs_event.extend({
2006
2013
  acs_user_id: zod.z.string().uuid()
2007
2014
  });
@@ -2286,6 +2293,22 @@ var lock_access_denied_event = device_event.extend({
2286
2293
  }).describe(
2287
2294
  "The lock denied access to a user after one or more consecutive invalid attempts to unlock the device."
2288
2295
  );
2296
+ device_event.extend({
2297
+ event_type: zod.z.literal("thermostat.climate_preset_activated"),
2298
+ thermostat_schedule_id: zod.z.string().uuid().nullable(),
2299
+ climate_preset_key: zod.z.string(),
2300
+ is_fallback_climate_preset: zod.z.boolean()
2301
+ }).describe("A thermostat climate preset was activated.");
2302
+ device_event.merge(
2303
+ climate_setting.pick({
2304
+ fan_mode_setting: true,
2305
+ hvac_mode_setting: true,
2306
+ cooling_set_point_celsius: true,
2307
+ heating_set_point_celsius: true,
2308
+ cooling_set_point_fahrenheit: true,
2309
+ heating_set_point_fahrenheit: true
2310
+ })
2311
+ ).describe("A thermostat was manually adjusted.");
2289
2312
  var device_events = [
2290
2313
  device_connected_event,
2291
2314
  device_converted_to_unmanaged_event,
@@ -2312,6 +2335,8 @@ var device_events = [
2312
2335
  lock_locked_event,
2313
2336
  lock_unlocked_event,
2314
2337
  lock_access_denied_event
2338
+ // thermostat_climate_preset_activated_event,
2339
+ // thermostat_manually_adjusted_event,
2315
2340
  ];
2316
2341
  var enrollment_automation_event = common_event.extend({
2317
2342
  enrollment_automation_id: zod.z.string().uuid().describe(`
@@ -13642,6 +13667,7 @@ var openapi_default = {
13642
13667
  "connect_webview.login_failed",
13643
13668
  "noise_sensor.noise_threshold_triggered",
13644
13669
  "access_code.backup_access_code_pulled",
13670
+ "acs_system.added",
13645
13671
  "acs_system.connected",
13646
13672
  "acs_user.deleted",
13647
13673
  "acs_credential.deleted",
@@ -13709,6 +13735,7 @@ var openapi_default = {
13709
13735
  "connect_webview.login_failed",
13710
13736
  "noise_sensor.noise_threshold_triggered",
13711
13737
  "access_code.backup_access_code_pulled",
13738
+ "acs_system.added",
13712
13739
  "acs_system.connected",
13713
13740
  "acs_user.deleted",
13714
13741
  "acs_credential.deleted",