@seamapi/types 1.292.2 → 1.293.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.
Files changed (33) hide show
  1. package/dist/connect.cjs +42 -15
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +161 -43
  4. package/lib/seam/connect/models/acs/metadata/{assa_abloy_vostio.js → assa-abloy-vostio.js} +1 -1
  5. package/lib/seam/connect/models/acs/metadata/{assa_abloy_vostio.js.map → assa-abloy-vostio.js.map} +1 -1
  6. package/lib/seam/connect/models/acs/metadata/{dormakaba_community.js → dormakaba-community.js} +1 -1
  7. package/lib/seam/connect/models/acs/metadata/{dormakaba_community.js.map → dormakaba-community.js.map} +1 -1
  8. package/lib/seam/connect/models/acs/metadata/index.d.ts +2 -2
  9. package/lib/seam/connect/models/acs/metadata/index.js +2 -2
  10. package/lib/seam/connect/models/devices/capability-properties/index.d.ts +5 -0
  11. package/lib/seam/connect/models/devices/capability-properties/thermostat.d.ts +5 -0
  12. package/lib/seam/connect/models/devices/device.d.ts +7 -0
  13. package/lib/seam/connect/models/devices/phone.d.ts +5 -0
  14. package/lib/seam/connect/models/devices/unmanaged-device.d.ts +5 -0
  15. package/lib/seam/connect/models/thermostats/climate-preset.js +5 -3
  16. package/lib/seam/connect/models/thermostats/climate-preset.js.map +1 -1
  17. package/lib/seam/connect/models/thermostats/thermostat-schedule.d.ts +3 -0
  18. package/lib/seam/connect/models/thermostats/thermostat-schedule.js +8 -0
  19. package/lib/seam/connect/models/thermostats/thermostat-schedule.js.map +1 -1
  20. package/lib/seam/connect/openapi.d.ts +31 -1
  21. package/lib/seam/connect/openapi.js +25 -9
  22. package/lib/seam/connect/openapi.js.map +1 -1
  23. package/lib/seam/connect/route-types.d.ts +115 -42
  24. package/package.json +1 -1
  25. package/src/lib/seam/connect/models/acs/metadata/index.ts +2 -2
  26. package/src/lib/seam/connect/models/thermostats/climate-preset.ts +7 -5
  27. package/src/lib/seam/connect/models/thermostats/thermostat-schedule.ts +10 -0
  28. package/src/lib/seam/connect/openapi.ts +32 -10
  29. package/src/lib/seam/connect/route-types.ts +115 -42
  30. /package/lib/seam/connect/models/acs/metadata/{assa_abloy_vostio.d.ts → assa-abloy-vostio.d.ts} +0 -0
  31. /package/lib/seam/connect/models/acs/metadata/{dormakaba_community.d.ts → dormakaba-community.d.ts} +0 -0
  32. /package/src/lib/seam/connect/models/acs/metadata/{assa_abloy_vostio.ts → assa-abloy-vostio.ts} +0 -0
  33. /package/src/lib/seam/connect/models/acs/metadata/{dormakaba_community.ts → dormakaba-community.ts} +0 -0
package/dist/connect.cjs CHANGED
@@ -163,7 +163,11 @@ var climate_preset = zod.z.object({
163
163
  cooling_set_point_fahrenheit: zod.z.number().optional().describe("Temperature to which the thermostat should cool (in \xB0F)."),
164
164
  heating_set_point_fahrenheit: zod.z.number().optional().describe("Temperature to which the thermostat should heat (in \xB0F)."),
165
165
  manual_override_allowed: zod.z.boolean().describe(
166
- "Indicates whether a person at the thermostat can change the thermostat's settings."
166
+ `
167
+ ---
168
+ deprecated: Use 'thermostat_schedule.is_override_allowed'
169
+ ---
170
+ Indicates whether a person at the thermostat can change the thermostat's settings.`
167
171
  )
168
172
  });
169
173
  var climate_setting = climate_preset.partial();
@@ -180,6 +184,13 @@ var thermostat_schedule = zod.z.object({
180
184
  starts_at: zod.z.string().datetime().describe(
181
185
  "Date and time at which the thermostat schedule starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format."
182
186
  ),
187
+ unstable_is_override_allowed: zod.z.boolean().optional().describe(
188
+ `
189
+ ---
190
+ undocumented: Unstable
191
+ ---
192
+ Indicates whether a person at the thermostat can change the thermostat's settings.`
193
+ ),
183
194
  ends_at: zod.z.string().datetime().describe(
184
195
  "Date and time at which the thermostat schedule ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format."
185
196
  ),
@@ -7251,6 +7262,11 @@ var openapi_default = {
7251
7262
  description: "ID of the thermostat schedule.",
7252
7263
  format: "uuid",
7253
7264
  type: "string"
7265
+ },
7266
+ unstable_is_override_allowed: {
7267
+ description: "Indicates whether a person at the thermostat can change the thermostat's settings.",
7268
+ type: "boolean",
7269
+ "x-undocumented": "Unstable"
7254
7270
  }
7255
7271
  },
7256
7272
  required: [
@@ -7314,8 +7330,10 @@ var openapi_default = {
7314
7330
  type: "string"
7315
7331
  },
7316
7332
  manual_override_allowed: {
7333
+ deprecated: true,
7317
7334
  description: "Indicates whether a person at the thermostat can change the thermostat's settings.",
7318
- type: "boolean"
7335
+ type: "boolean",
7336
+ "x-deprecated": "Use 'thermostat_schedule.is_override_allowed'"
7319
7337
  },
7320
7338
  name: {
7321
7339
  default: null,
@@ -7398,8 +7416,10 @@ var openapi_default = {
7398
7416
  type: "string"
7399
7417
  },
7400
7418
  manual_override_allowed: {
7419
+ deprecated: true,
7401
7420
  description: "Indicates whether a person at the thermostat can change the thermostat's settings.",
7402
- type: "boolean"
7421
+ type: "boolean",
7422
+ "x-deprecated": "Use 'thermostat_schedule.is_override_allowed'"
7403
7423
  },
7404
7424
  name: {
7405
7425
  default: null,
@@ -7460,8 +7480,10 @@ var openapi_default = {
7460
7480
  type: "string"
7461
7481
  },
7462
7482
  manual_override_allowed: {
7483
+ deprecated: true,
7463
7484
  description: "Indicates whether a person at the thermostat can change the thermostat's settings.",
7464
- type: "boolean"
7485
+ type: "boolean",
7486
+ "x-deprecated": "Use 'thermostat_schedule.is_override_allowed'"
7465
7487
  },
7466
7488
  name: {
7467
7489
  default: null,
@@ -8000,6 +8022,11 @@ var openapi_default = {
8000
8022
  description: "ID of the thermostat schedule.",
8001
8023
  format: "uuid",
8002
8024
  type: "string"
8025
+ },
8026
+ unstable_is_override_allowed: {
8027
+ description: "Indicates whether a person at the thermostat can change the thermostat's settings.",
8028
+ type: "boolean",
8029
+ "x-undocumented": "Unstable"
8003
8030
  }
8004
8031
  },
8005
8032
  required: [
@@ -18133,10 +18160,7 @@ var openapi_default = {
18133
18160
  enum: ["off", "heat", "cool", "heat_cool"],
18134
18161
  type: "string"
18135
18162
  },
18136
- manual_override_allowed: {
18137
- description: "Indicates whether a person at the thermostat can change the thermostat's settings.",
18138
- type: "boolean"
18139
- },
18163
+ manual_override_allowed: { default: true, type: "boolean" },
18140
18164
  name: {
18141
18165
  default: null,
18142
18166
  description: "User-friendly name to identify the climate preset.",
@@ -18144,11 +18168,7 @@ var openapi_default = {
18144
18168
  type: "string"
18145
18169
  }
18146
18170
  },
18147
- required: [
18148
- "device_id",
18149
- "climate_preset_key",
18150
- "manual_override_allowed"
18151
- ],
18171
+ required: ["device_id", "climate_preset_key"],
18152
18172
  type: "object"
18153
18173
  }
18154
18174
  }
@@ -18833,6 +18853,7 @@ var openapi_default = {
18833
18853
  description: "Date and time at which the thermostat schedule ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.",
18834
18854
  type: "string"
18835
18855
  },
18856
+ is_override_allowed: { default: false, type: "boolean" },
18836
18857
  max_override_period_minutes: {
18837
18858
  default: 0,
18838
18859
  description: "Number of minutes for which a person at the thermostat can change the thermostat's settings after the activation of the scheduled climate preset. See also [Specifying Manual Override Permissions](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules#specifying-manual-override-permissions).",
@@ -19084,6 +19105,7 @@ var openapi_default = {
19084
19105
  description: "Date and time at which the thermostat schedule ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.",
19085
19106
  type: "string"
19086
19107
  },
19108
+ is_override_allowed: { type: "boolean" },
19087
19109
  max_override_period_minutes: {
19088
19110
  description: "Number of minutes for which a person at the thermostat can change the thermostat's settings after the activation of the scheduled climate preset. See also [Specifying Manual Override Permissions](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules#specifying-manual-override-permissions).",
19089
19111
  minimum: 0,
@@ -19153,6 +19175,7 @@ var openapi_default = {
19153
19175
  description: "Date and time at which the thermostat schedule ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.",
19154
19176
  type: "string"
19155
19177
  },
19178
+ is_override_allowed: { type: "boolean" },
19156
19179
  max_override_period_minutes: {
19157
19180
  description: "Number of minutes for which a person at the thermostat can change the thermostat's settings after the activation of the scheduled climate preset. See also [Specifying Manual Override Permissions](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules#specifying-manual-override-permissions).",
19158
19181
  minimum: 0,
@@ -19533,8 +19556,10 @@ var openapi_default = {
19533
19556
  type: "string"
19534
19557
  },
19535
19558
  manual_override_allowed: {
19559
+ deprecated: true,
19536
19560
  description: "Indicates whether a person at the thermostat can change the thermostat's settings.",
19537
- type: "boolean"
19561
+ type: "boolean",
19562
+ "x-deprecated": "Use 'thermostat_schedule.is_override_allowed'"
19538
19563
  },
19539
19564
  name: {
19540
19565
  default: null,
@@ -19628,8 +19653,10 @@ var openapi_default = {
19628
19653
  type: "string"
19629
19654
  },
19630
19655
  manual_override_allowed: {
19656
+ deprecated: true,
19631
19657
  description: "Indicates whether a person at the thermostat can change the thermostat's settings.",
19632
- type: "boolean"
19658
+ type: "boolean",
19659
+ "x-deprecated": "Use 'thermostat_schedule.is_override_allowed'"
19633
19660
  },
19634
19661
  name: {
19635
19662
  default: null,