@seamapi/types 1.446.0 → 1.448.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.
Files changed (28) hide show
  1. package/dist/connect.cjs +21 -15
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +148 -172
  4. package/dist/devicedb.d.cts +24 -24
  5. package/dist/index.cjs +21 -15
  6. package/dist/index.cjs.map +1 -1
  7. package/lib/seam/connect/models/batches/batch.d.ts +34 -34
  8. package/lib/seam/connect/models/batches/spaces.d.ts +34 -34
  9. package/lib/seam/connect/models/devices/capability-properties/index.d.ts +18 -18
  10. package/lib/seam/connect/models/devices/capability-properties/thermostat.d.ts +18 -18
  11. package/lib/seam/connect/models/devices/device.d.ts +26 -26
  12. package/lib/seam/connect/models/devices/unmanaged-device.d.ts +18 -18
  13. package/lib/seam/connect/models/events/devices.d.ts +6 -6
  14. package/lib/seam/connect/models/events/seam-event.d.ts +3 -3
  15. package/lib/seam/connect/models/thermostats/climate-preset.d.ts +6 -6
  16. package/lib/seam/connect/models/thermostats/modes.d.ts +1 -1
  17. package/lib/seam/connect/models/thermostats/modes.js +7 -1
  18. package/lib/seam/connect/models/thermostats/modes.js.map +1 -1
  19. package/lib/seam/connect/openapi.d.ts +2 -27
  20. package/lib/seam/connect/openapi.js +14 -14
  21. package/lib/seam/connect/openapi.js.map +1 -1
  22. package/lib/seam/connect/route-types.d.ts +62 -61
  23. package/lib/seam/devicedb/models/device-model.d.ts +12 -12
  24. package/lib/seam/devicedb/route-specs.d.ts +12 -12
  25. package/package.json +1 -1
  26. package/src/lib/seam/connect/models/thermostats/modes.ts +7 -1
  27. package/src/lib/seam/connect/openapi.ts +16 -14
  28. package/src/lib/seam/connect/route-types.ts +147 -61
package/dist/connect.cjs CHANGED
@@ -146,7 +146,13 @@ var lock_capability_properties = zod.z.object({
146
146
  Indicates whether the door is open.
147
147
  `)
148
148
  });
149
- var hvac_mode_setting = zod.z.enum(["off", "heat", "cool", "heat_cool"]);
149
+ var hvac_mode_setting = zod.z.enum([
150
+ "off",
151
+ "heat",
152
+ "cool",
153
+ "heat_cool",
154
+ "eco"
155
+ ]);
150
156
  var fan_mode_setting = zod.z.enum(["auto", "on", "circulate"]);
151
157
  zod.z.array(fan_mode_setting);
152
158
  var climate_preset_mode = zod.z.enum([
@@ -15853,7 +15859,7 @@ var openapi_default = {
15853
15859
  },
15854
15860
  hvac_mode_setting: {
15855
15861
  description: "Desired [HVAC mode](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/hvac-mode) setting, such as `heat`, `cool`, `heat_cool`, or `off`.",
15856
- enum: ["off", "heat", "cool", "heat_cool"],
15862
+ enum: ["off", "heat", "cool", "heat_cool", "eco"],
15857
15863
  type: "string"
15858
15864
  },
15859
15865
  manual_override_allowed: {
@@ -15894,7 +15900,7 @@ var openapi_default = {
15894
15900
  available_hvac_mode_settings: {
15895
15901
  description: "HVAC mode settings that the thermostat supports.",
15896
15902
  items: {
15897
- enum: ["off", "heat", "cool", "heat_cool"],
15903
+ enum: ["off", "heat", "cool", "heat_cool", "eco"],
15898
15904
  type: "string"
15899
15905
  },
15900
15906
  type: "array",
@@ -15982,7 +15988,7 @@ var openapi_default = {
15982
15988
  },
15983
15989
  hvac_mode_setting: {
15984
15990
  description: "Desired [HVAC mode](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/hvac-mode) setting, such as `heat`, `cool`, `heat_cool`, or `off`.",
15985
- enum: ["off", "heat", "cool", "heat_cool"],
15991
+ enum: ["off", "heat", "cool", "heat_cool", "eco"],
15986
15992
  type: "string"
15987
15993
  },
15988
15994
  manual_override_allowed: {
@@ -16083,7 +16089,7 @@ var openapi_default = {
16083
16089
  },
16084
16090
  hvac_mode_setting: {
16085
16091
  description: "Desired [HVAC mode](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/hvac-mode) setting, such as `heat`, `cool`, `heat_cool`, or `off`.",
16086
- enum: ["off", "heat", "cool", "heat_cool"],
16092
+ enum: ["off", "heat", "cool", "heat_cool", "eco"],
16087
16093
  type: "string"
16088
16094
  },
16089
16095
  manual_override_allowed: {
@@ -21927,7 +21933,7 @@ var openapi_default = {
21927
21933
  },
21928
21934
  hvac_mode_setting: {
21929
21935
  description: "Desired [HVAC mode](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/hvac-mode) setting, such as `heat`, `cool`, `heat_cool`, or `off`.",
21930
- enum: ["off", "heat", "cool", "heat_cool"],
21936
+ enum: ["off", "heat", "cool", "heat_cool", "eco"],
21931
21937
  type: "string"
21932
21938
  },
21933
21939
  method: {
@@ -38983,10 +38989,10 @@ var openapi_default = {
38983
38989
  },
38984
38990
  {
38985
38991
  in: "query",
38986
- name: "customer_ids",
38992
+ name: "customer_key",
38987
38993
  schema: {
38988
- items: { format: "uuid", type: "string" },
38989
- type: "array"
38994
+ description: "Customer key by which you want to filter connected accounts.",
38995
+ type: "string"
38990
38996
  }
38991
38997
  },
38992
38998
  {
@@ -39071,9 +39077,9 @@ var openapi_default = {
39071
39077
  description: "Custom metadata pairs by which you want to filter connected accounts. Returns connected accounts with `custom_metadata` that contains all of the provided key:value pairs.",
39072
39078
  type: "object"
39073
39079
  },
39074
- customer_ids: {
39075
- items: { format: "uuid", type: "string" },
39076
- type: "array"
39080
+ customer_key: {
39081
+ description: "Customer key by which you want to filter connected accounts.",
39082
+ type: "string"
39077
39083
  },
39078
39084
  limit: {
39079
39085
  default: 11e3,
@@ -49843,7 +49849,7 @@ var openapi_default = {
49843
49849
  },
49844
49850
  hvac_mode_setting: {
49845
49851
  description: "Desired [HVAC mode](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/hvac-mode) setting, such as `heat`, `cool`, `heat_cool`, or `off`.",
49846
- enum: ["off", "heat", "cool", "heat_cool"],
49852
+ enum: ["off", "heat", "cool", "heat_cool", "eco"],
49847
49853
  type: "string"
49848
49854
  },
49849
49855
  manual_override_allowed: {
@@ -52445,7 +52451,7 @@ var openapi_default = {
52445
52451
  },
52446
52452
  hvac_mode_setting: {
52447
52453
  description: "Desired [HVAC mode](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/hvac-mode) setting, such as `heat`, `cool`, `heat_cool`, or `off`.",
52448
- enum: ["off", "heat", "cool", "heat_cool"],
52454
+ enum: ["off", "heat", "cool", "heat_cool", "eco"],
52449
52455
  type: "string"
52450
52456
  },
52451
52457
  manual_override_allowed: {
@@ -52572,7 +52578,7 @@ var openapi_default = {
52572
52578
  },
52573
52579
  hvac_mode_setting: {
52574
52580
  description: "Desired [HVAC mode](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/hvac-mode) setting, such as `heat`, `cool`, `heat_cool`, or `off`.",
52575
- enum: ["off", "heat", "cool", "heat_cool"],
52581
+ enum: ["off", "heat", "cool", "heat_cool", "eco"],
52576
52582
  type: "string"
52577
52583
  },
52578
52584
  manual_override_allowed: {