@seamapi/types 1.288.1 → 1.289.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
@@ -1176,11 +1176,11 @@ var acs_entrance_salto_ks_metadata = zod.z.object({
1176
1176
  door_name: zod.z.string(),
1177
1177
  locked_state: zod.z.string(),
1178
1178
  lock_type: zod.z.string(),
1179
- online: zod.z.boolean(),
1179
+ online: zod.z.boolean().optional(),
1180
1180
  battery_level: zod.z.string(),
1181
- left_open_alarm: zod.z.boolean(),
1182
- intrusion_alarm: zod.z.boolean(),
1183
- privacy_mode: zod.z.boolean()
1181
+ left_open_alarm: zod.z.boolean().optional(),
1182
+ intrusion_alarm: zod.z.boolean().optional(),
1183
+ privacy_mode: zod.z.boolean().optional()
1184
1184
  });
1185
1185
  var acs_entrance_visionline_metadata = zod.z.object({
1186
1186
  door_name: zod.z.string(),
@@ -3238,11 +3238,7 @@ var openapi_default = {
3238
3238
  "door_name",
3239
3239
  "locked_state",
3240
3240
  "lock_type",
3241
- "online",
3242
- "battery_level",
3243
- "left_open_alarm",
3244
- "intrusion_alarm",
3245
- "privacy_mode"
3241
+ "battery_level"
3246
3242
  ],
3247
3243
  type: "object"
3248
3244
  },
@@ -17615,6 +17611,7 @@ var openapi_default = {
17615
17611
  },
17616
17612
  "/thermostats/cool": {
17617
17613
  post: {
17614
+ description: "Sets a thermostat to cooling mode. You must include a cooling set point in Celsius or Fahrenheit. See also [Setting the Current HVAC and Fan Mode Settings](https://docs.seam.co/latest/capability-guides/thermostats/configure-current-climate-settings).",
17618
17615
  operationId: "thermostatsCoolPost",
17619
17616
  requestBody: {
17620
17617
  content: {
@@ -17622,14 +17619,20 @@ var openapi_default = {
17622
17619
  schema: {
17623
17620
  properties: {
17624
17621
  cooling_set_point_celsius: {
17622
+ description: "Temperature to which the HVAC system connected to the thermostat should cool (in \xB0C). You must set one of the `cooling_set_point` parameters.",
17625
17623
  format: "float",
17626
17624
  type: "number"
17627
17625
  },
17628
17626
  cooling_set_point_fahrenheit: {
17627
+ description: "Temperature to which the HVAC system connected to the thermostat should cool (in \xB0F). You must set one of the `cooling_set_point` parameters.",
17629
17628
  format: "float",
17630
17629
  type: "number"
17631
17630
  },
17632
- device_id: { format: "uuid", type: "string" },
17631
+ device_id: {
17632
+ description: "ID of the thermostat device.",
17633
+ format: "uuid",
17634
+ type: "string"
17635
+ },
17633
17636
  sync: { default: false, type: "boolean" }
17634
17637
  },
17635
17638
  required: ["device_id"],
@@ -17670,7 +17673,8 @@ var openapi_default = {
17670
17673
  "x-fern-sdk-group-name": ["thermostats"],
17671
17674
  "x-fern-sdk-method-name": "cool",
17672
17675
  "x-fern-sdk-return-value": "action_attempt",
17673
- "x-response-key": "action_attempt"
17676
+ "x-response-key": "action_attempt",
17677
+ "x-title": "Set to Cool Mode"
17674
17678
  }
17675
17679
  },
17676
17680
  "/thermostats/create_climate_preset": {
@@ -17795,14 +17799,22 @@ var openapi_default = {
17795
17799
  },
17796
17800
  "/thermostats/get": {
17797
17801
  post: {
17802
+ description: "Returns a specific thermostat.",
17798
17803
  operationId: "thermostatsGetPost",
17799
17804
  requestBody: {
17800
17805
  content: {
17801
17806
  "application/json": {
17802
17807
  schema: {
17803
17808
  properties: {
17804
- device_id: { format: "uuid", type: "string" },
17805
- name: { type: "string" }
17809
+ device_id: {
17810
+ description: "ID of the thermostat device.",
17811
+ format: "uuid",
17812
+ type: "string"
17813
+ },
17814
+ name: {
17815
+ description: "Name of the thermostat.",
17816
+ type: "string"
17817
+ }
17806
17818
  },
17807
17819
  type: "object"
17808
17820
  }
@@ -17840,23 +17852,31 @@ var openapi_default = {
17840
17852
  "x-fern-sdk-group-name": ["thermostats"],
17841
17853
  "x-fern-sdk-method-name": "get",
17842
17854
  "x-fern-sdk-return-value": "thermostat",
17843
- "x-response-key": "thermostat"
17855
+ "x-response-key": "thermostat",
17856
+ "x-title": "Get a Thermostat"
17844
17857
  }
17845
17858
  },
17846
17859
  "/thermostats/heat": {
17847
17860
  post: {
17861
+ description: "Sets a thermostat to heating mode. You must include a heating set point in Celsius or Fahrenheit. See also [Setting the Current HVAC and Fan Mode Settings](https://docs.seam.co/latest/capability-guides/thermostats/configure-current-climate-settings).",
17848
17862
  operationId: "thermostatsHeatPost",
17849
17863
  requestBody: {
17850
17864
  content: {
17851
17865
  "application/json": {
17852
17866
  schema: {
17853
17867
  properties: {
17854
- device_id: { format: "uuid", type: "string" },
17868
+ device_id: {
17869
+ description: "ID of the thermostat device.",
17870
+ format: "uuid",
17871
+ type: "string"
17872
+ },
17855
17873
  heating_set_point_celsius: {
17874
+ description: "Temperature to which the HVAC system connected to the thermostat should heat (in \xB0C). You must set one of the `heating_set_point` parameters.",
17856
17875
  format: "float",
17857
17876
  type: "number"
17858
17877
  },
17859
17878
  heating_set_point_fahrenheit: {
17879
+ description: "Temperature to which the HVAC system connected to the thermostat should heat (in \xB0F). You must set one of the `heating_set_point` parameters.",
17860
17880
  format: "float",
17861
17881
  type: "number"
17862
17882
  },
@@ -17900,11 +17920,13 @@ var openapi_default = {
17900
17920
  "x-fern-sdk-group-name": ["thermostats"],
17901
17921
  "x-fern-sdk-method-name": "heat",
17902
17922
  "x-fern-sdk-return-value": "action_attempt",
17903
- "x-response-key": "action_attempt"
17923
+ "x-response-key": "action_attempt",
17924
+ "x-title": "Set to Heat Mode"
17904
17925
  }
17905
17926
  },
17906
17927
  "/thermostats/heat_cool": {
17907
17928
  post: {
17929
+ description: 'Set a thermostat to heat-cool mode, also known as "auto" mode. To do so, you must include both cooling and heating set points in the payload, either in Celsius or Fahrenheit. For information about verifying the heating and cooling availability of the thermostat and validating the correct set points, see [HVAC Mode Constraints](https://docs.seam.co/latest/capability-guides/thermostats/hvac-mode#hvac-mode-constraints) and [Set Point Constraints](https://docs.seam.co/latest/capability-guides/thermostats/set-points#set-point-constraints).',
17908
17930
  operationId: "thermostatsHeatCoolPost",
17909
17931
  requestBody: {
17910
17932
  content: {
@@ -17912,19 +17934,27 @@ var openapi_default = {
17912
17934
  schema: {
17913
17935
  properties: {
17914
17936
  cooling_set_point_celsius: {
17937
+ description: "Temperature to which the HVAC system connected to the thermostat should cool (in \xB0C). You must set one of the `cooling_set_point` parameters.",
17915
17938
  format: "float",
17916
17939
  type: "number"
17917
17940
  },
17918
17941
  cooling_set_point_fahrenheit: {
17942
+ description: "Temperature the thermostat should cool to (in \xB0F). You must set one of the cooling_set_point parameters.",
17919
17943
  format: "float",
17920
17944
  type: "number"
17921
17945
  },
17922
- device_id: { format: "uuid", type: "string" },
17946
+ device_id: {
17947
+ description: "ID of the thermostat device.",
17948
+ format: "uuid",
17949
+ type: "string"
17950
+ },
17923
17951
  heating_set_point_celsius: {
17952
+ description: "Temperature to which the HVAC system connected to the thermostat should heat (in \xB0C). You must set one of the `heating_set_point` parameters.",
17924
17953
  format: "float",
17925
17954
  type: "number"
17926
17955
  },
17927
17956
  heating_set_point_fahrenheit: {
17957
+ description: "Temperature the thermostat should heat to (in \xB0F). You must set one of the heating_set_point parameters.",
17928
17958
  format: "float",
17929
17959
  type: "number"
17930
17960
  },
@@ -17968,11 +17998,13 @@ var openapi_default = {
17968
17998
  "x-fern-sdk-group-name": ["thermostats"],
17969
17999
  "x-fern-sdk-method-name": "heat_cool",
17970
18000
  "x-fern-sdk-return-value": "action_attempt",
17971
- "x-response-key": "action_attempt"
18001
+ "x-response-key": "action_attempt",
18002
+ "x-title": "Set to Heat-Cool (Auto) Mode"
17972
18003
  }
17973
18004
  },
17974
18005
  "/thermostats/list": {
17975
18006
  post: {
18007
+ description: "Returns a list of thermostats connected to your workspace. If no thermostats are connected, the list will be empty.",
17976
18008
  operationId: "thermostatsListPost",
17977
18009
  requestBody: {
17978
18010
  content: {
@@ -18241,18 +18273,24 @@ var openapi_default = {
18241
18273
  "x-fern-sdk-group-name": ["thermostats"],
18242
18274
  "x-fern-sdk-method-name": "list",
18243
18275
  "x-fern-sdk-return-value": "devices",
18244
- "x-response-key": "devices"
18276
+ "x-response-key": "devices",
18277
+ "x-title": "List Thermostats"
18245
18278
  }
18246
18279
  },
18247
18280
  "/thermostats/off": {
18248
18281
  post: {
18282
+ description: 'Sets a thermostat to "off" mode. See also [Setting the Current HVAC and Fan Mode Settings](https://docs.seam.co/latest/capability-guides/thermostats/configure-current-climate-settings).',
18249
18283
  operationId: "thermostatsOffPost",
18250
18284
  requestBody: {
18251
18285
  content: {
18252
18286
  "application/json": {
18253
18287
  schema: {
18254
18288
  properties: {
18255
- device_id: { format: "uuid", type: "string" },
18289
+ device_id: {
18290
+ description: "ID of the thermostat device.",
18291
+ format: "uuid",
18292
+ type: "string"
18293
+ },
18256
18294
  sync: { default: false, type: "boolean" }
18257
18295
  },
18258
18296
  required: ["device_id"],
@@ -18293,7 +18331,8 @@ var openapi_default = {
18293
18331
  "x-fern-sdk-group-name": ["thermostats"],
18294
18332
  "x-fern-sdk-method-name": "off",
18295
18333
  "x-fern-sdk-return-value": "action_attempt",
18296
- "x-response-key": "action_attempt"
18334
+ "x-response-key": "action_attempt",
18335
+ "x-title": "Set to Off Mode"
18297
18336
  }
18298
18337
  },
18299
18338
  "/thermostats/schedules/create": {
@@ -18656,20 +18695,26 @@ var openapi_default = {
18656
18695
  },
18657
18696
  "/thermostats/set_fan_mode": {
18658
18697
  post: {
18698
+ description: "Sets the fan mode setting for a thermostat. See also [Setting the Current HVAC and Fan Mode Settings](https://docs.seam.co/latest/capability-guides/thermostats/configure-current-climate-settings) and [Fan Mode Settings](https://docs.seam.co/latest/capability-guides/thermostats/configure-current-climate-settings#fan-mode-settings).",
18659
18699
  operationId: "thermostatsSetFanModePost",
18660
18700
  requestBody: {
18661
18701
  content: {
18662
18702
  "application/json": {
18663
18703
  schema: {
18664
18704
  properties: {
18665
- device_id: { format: "uuid", type: "string" },
18705
+ device_id: {
18706
+ description: "ID of the thermostat device.",
18707
+ format: "uuid",
18708
+ type: "string"
18709
+ },
18666
18710
  fan_mode: {
18667
18711
  deprecated: true,
18668
18712
  enum: ["auto", "on", "circulate"],
18669
18713
  type: "string",
18670
- "x-deprecated": "use fan_mode_setting instead."
18714
+ "x-deprecated": "Use `fan_mode_setting` instead."
18671
18715
  },
18672
18716
  fan_mode_setting: {
18717
+ description: "Fan mode setting of the thermostat. See also [Fan Mode Settings](https://docs.seam.co/latest/capability-guides/thermostats/configure-current-climate-settings#fan-mode-settings).",
18673
18718
  enum: ["auto", "on", "circulate"],
18674
18719
  type: "string"
18675
18720
  },
@@ -18713,7 +18758,8 @@ var openapi_default = {
18713
18758
  "x-fern-sdk-group-name": ["thermostats"],
18714
18759
  "x-fern-sdk-method-name": "set_fan_mode",
18715
18760
  "x-fern-sdk-return-value": "action_attempt",
18716
- "x-response-key": "action_attempt"
18761
+ "x-response-key": "action_attempt",
18762
+ "x-title": "Set Fan Mode Setting"
18717
18763
  }
18718
18764
  },
18719
18765
  "/thermostats/set_temperature_threshold": {