@seamapi/types 1.344.0 → 1.344.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.
@@ -34702,24 +34702,40 @@ export interface Routes {
34702
34702
  method: 'POST';
34703
34703
  queryParams: {};
34704
34704
  jsonBody: {
34705
+ /** Desired [HVAC mode](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/hvac-mode) to simulate. */
34705
34706
  hvac_mode: 'off';
34707
+ /** ID of the desired thermostat device. */
34706
34708
  device_id: string;
34707
34709
  } | {
34710
+ /** Desired [HVAC mode](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/hvac-mode) to simulate. */
34708
34711
  hvac_mode: 'cool';
34712
+ /** ID of the desired thermostat device. */
34709
34713
  device_id: string;
34714
+ /** Desired simulated cooling [set point](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points) in °C. You must set `cooling_set_point_celsius` or `cooling_set_point_fahrenheit`. */
34710
34715
  cooling_set_point_celsius?: number | undefined;
34716
+ /** Desired simulated cooling [set point](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points) in °F. You must set `cooling_set_point_fahrenheit` or `cooling_set_point_celsius`. */
34711
34717
  cooling_set_point_fahrenheit?: number | undefined;
34712
34718
  } | {
34719
+ /** Desired [HVAC mode](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/hvac-mode) to simulate. */
34713
34720
  hvac_mode: 'heat';
34721
+ /** ID of the desired thermostat device. */
34714
34722
  device_id: string;
34723
+ /** Desired simulated heating [set point](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points) in °C. You must set `heating_set_point_celsius` or `heating_set_point_fahrenheit`. */
34715
34724
  heating_set_point_celsius?: number | undefined;
34725
+ /** Desired simulated heating [set point](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points) in °F. You must set `heating_set_point_fahrenheit` or `heating_set_point_celsius`. */
34716
34726
  heating_set_point_fahrenheit?: number | undefined;
34717
34727
  } | {
34728
+ /** Desired [HVAC mode](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/hvac-mode) to simulate. */
34718
34729
  hvac_mode: 'heat_cool';
34730
+ /** ID of the desired thermostat device. */
34719
34731
  device_id: string;
34732
+ /** Desired simulated cooling [set point](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points) in °C. You must set `cooling_set_point_celsius` or `cooling_set_point_fahrenheit`. */
34720
34733
  cooling_set_point_celsius?: number | undefined;
34734
+ /** Desired simulated cooling [set point](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points) in °F. You must set `cooling_set_point_fahrenheit` or `cooling_set_point_celsius`. */
34721
34735
  cooling_set_point_fahrenheit?: number | undefined;
34736
+ /** Desired simulated heating [set point](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points) in °C. You must set `heating_set_point_celsius` or `heating_set_point_fahrenheit`. */
34722
34737
  heating_set_point_celsius?: number | undefined;
34738
+ /** Desired simulated heating [set point](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points) in °F. You must set `heating_set_point_fahrenheit` or `heating_set_point_celsius`. */
34723
34739
  heating_set_point_fahrenheit?: number | undefined;
34724
34740
  };
34725
34741
  commonParams: {};
@@ -34731,8 +34747,11 @@ export interface Routes {
34731
34747
  method: 'POST';
34732
34748
  queryParams: {};
34733
34749
  jsonBody: {
34750
+ /** ID of the desired thermostat device. */
34734
34751
  device_id: string;
34752
+ /** Desired simulated temperature in °C. You must set `temperature_celsius` or `temperature_fahrenheit`. */
34735
34753
  temperature_celsius?: number | undefined;
34754
+ /** Desired simulated temperature in °F. You must set `temperature_fahrenheit` or `temperature_celsius`. */
34736
34755
  temperature_fahrenheit?: number | undefined;
34737
34756
  };
34738
34757
  commonParams: {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.344.0",
3
+ "version": "1.344.1",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -25718,6 +25718,8 @@ export default {
25718
25718
  },
25719
25719
  '/thermostats/simulate/hvac_mode_adjusted': {
25720
25720
  post: {
25721
+ description:
25722
+ 'Simulates having adjusted the [HVAC mode](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/hvac-mode) for a [thermostat](https://docs.seam.co/latest/capability-guides/thermostats). Only applicable for [sandbox devices](https://docs.seam.co/latest/core-concepts/workspaces#sandbox-workspaces). See also [Testing Your Thermostat App with Simulate Endpoints](https://docs.seam.co/latest/capability-guides/thermostats/testing-your-thermostat-app-with-simulate-endpoints).',
25721
25723
  operationId: 'thermostatsSimulateHvacModeAdjustedPost',
25722
25724
  requestBody: {
25723
25725
  content: {
@@ -25727,8 +25729,17 @@ export default {
25727
25729
  oneOf: [
25728
25730
  {
25729
25731
  properties: {
25730
- device_id: { format: 'uuid', type: 'string' },
25731
- hvac_mode: { enum: ['off'], type: 'string' },
25732
+ device_id: {
25733
+ description: 'ID of the desired thermostat device.',
25734
+ format: 'uuid',
25735
+ type: 'string',
25736
+ },
25737
+ hvac_mode: {
25738
+ description:
25739
+ 'Desired [HVAC mode](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/hvac-mode) to simulate.',
25740
+ enum: ['off'],
25741
+ type: 'string',
25742
+ },
25732
25743
  },
25733
25744
  required: ['hvac_mode', 'device_id'],
25734
25745
  type: 'object',
@@ -25736,31 +25747,57 @@ export default {
25736
25747
  {
25737
25748
  properties: {
25738
25749
  cooling_set_point_celsius: {
25750
+ description:
25751
+ 'Desired simulated cooling [set point](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points) in °C. You must set `cooling_set_point_celsius` or `cooling_set_point_fahrenheit`.',
25739
25752
  format: 'float',
25740
25753
  type: 'number',
25741
25754
  },
25742
25755
  cooling_set_point_fahrenheit: {
25756
+ description:
25757
+ 'Desired simulated cooling [set point](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points) in °F. You must set `cooling_set_point_fahrenheit` or `cooling_set_point_celsius`.',
25743
25758
  format: 'float',
25744
25759
  type: 'number',
25745
25760
  },
25746
- device_id: { format: 'uuid', type: 'string' },
25747
- hvac_mode: { enum: ['cool'], type: 'string' },
25761
+ device_id: {
25762
+ description: 'ID of the desired thermostat device.',
25763
+ format: 'uuid',
25764
+ type: 'string',
25765
+ },
25766
+ hvac_mode: {
25767
+ description:
25768
+ 'Desired [HVAC mode](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/hvac-mode) to simulate.',
25769
+ enum: ['cool'],
25770
+ type: 'string',
25771
+ },
25748
25772
  },
25749
25773
  required: ['hvac_mode', 'device_id'],
25750
25774
  type: 'object',
25751
25775
  },
25752
25776
  {
25753
25777
  properties: {
25754
- device_id: { format: 'uuid', type: 'string' },
25778
+ device_id: {
25779
+ description: 'ID of the desired thermostat device.',
25780
+ format: 'uuid',
25781
+ type: 'string',
25782
+ },
25755
25783
  heating_set_point_celsius: {
25784
+ description:
25785
+ 'Desired simulated heating [set point](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points) in °C. You must set `heating_set_point_celsius` or `heating_set_point_fahrenheit`.',
25756
25786
  format: 'float',
25757
25787
  type: 'number',
25758
25788
  },
25759
25789
  heating_set_point_fahrenheit: {
25790
+ description:
25791
+ 'Desired simulated heating [set point](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points) in °F. You must set `heating_set_point_fahrenheit` or `heating_set_point_celsius`.',
25760
25792
  format: 'float',
25761
25793
  type: 'number',
25762
25794
  },
25763
- hvac_mode: { enum: ['heat'], type: 'string' },
25795
+ hvac_mode: {
25796
+ description:
25797
+ 'Desired [HVAC mode](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/hvac-mode) to simulate.',
25798
+ enum: ['heat'],
25799
+ type: 'string',
25800
+ },
25764
25801
  },
25765
25802
  required: ['hvac_mode', 'device_id'],
25766
25803
  type: 'object',
@@ -25768,23 +25805,40 @@ export default {
25768
25805
  {
25769
25806
  properties: {
25770
25807
  cooling_set_point_celsius: {
25808
+ description:
25809
+ 'Desired simulated cooling [set point](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points) in °C. You must set `cooling_set_point_celsius` or `cooling_set_point_fahrenheit`.',
25771
25810
  format: 'float',
25772
25811
  type: 'number',
25773
25812
  },
25774
25813
  cooling_set_point_fahrenheit: {
25814
+ description:
25815
+ 'Desired simulated cooling [set point](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points) in °F. You must set `cooling_set_point_fahrenheit` or `cooling_set_point_celsius`.',
25775
25816
  format: 'float',
25776
25817
  type: 'number',
25777
25818
  },
25778
- device_id: { format: 'uuid', type: 'string' },
25819
+ device_id: {
25820
+ description: 'ID of the desired thermostat device.',
25821
+ format: 'uuid',
25822
+ type: 'string',
25823
+ },
25779
25824
  heating_set_point_celsius: {
25825
+ description:
25826
+ 'Desired simulated heating [set point](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points) in °C. You must set `heating_set_point_celsius` or `heating_set_point_fahrenheit`.',
25780
25827
  format: 'float',
25781
25828
  type: 'number',
25782
25829
  },
25783
25830
  heating_set_point_fahrenheit: {
25831
+ description:
25832
+ 'Desired simulated heating [set point](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points) in °F. You must set `heating_set_point_fahrenheit` or `heating_set_point_celsius`.',
25784
25833
  format: 'float',
25785
25834
  type: 'number',
25786
25835
  },
25787
- hvac_mode: { enum: ['heat_cool'], type: 'string' },
25836
+ hvac_mode: {
25837
+ description:
25838
+ 'Desired [HVAC mode](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/hvac-mode) to simulate.',
25839
+ enum: ['heat_cool'],
25840
+ type: 'string',
25841
+ },
25788
25842
  },
25789
25843
  required: ['hvac_mode', 'device_id'],
25790
25844
  type: 'object',
@@ -25820,19 +25874,36 @@ export default {
25820
25874
  'x-fern-sdk-group-name': ['thermostats', 'simulate'],
25821
25875
  'x-fern-sdk-method-name': 'hvac_mode_adjusted',
25822
25876
  'x-response-key': null,
25877
+ 'x-title': 'HVAC Mode Adjusted',
25823
25878
  },
25824
25879
  },
25825
25880
  '/thermostats/simulate/temperature_reached': {
25826
25881
  post: {
25882
+ description:
25883
+ 'Simulates a [thermostat](https://docs.seam.co/latest/capability-guides/thermostats) reaching a specified temperature. Only applicable for [sandbox devices](https://docs.seam.co/latest/core-concepts/workspaces#sandbox-workspaces). See also [Testing Your Thermostat App with Simulate Endpoints](https://docs.seam.co/latest/capability-guides/thermostats/testing-your-thermostat-app-with-simulate-endpoints).',
25827
25884
  operationId: 'thermostatsSimulateTemperatureReachedPost',
25828
25885
  requestBody: {
25829
25886
  content: {
25830
25887
  'application/json': {
25831
25888
  schema: {
25832
25889
  properties: {
25833
- device_id: { format: 'uuid', type: 'string' },
25834
- temperature_celsius: { format: 'float', type: 'number' },
25835
- temperature_fahrenheit: { format: 'float', type: 'number' },
25890
+ device_id: {
25891
+ description: 'ID of the desired thermostat device.',
25892
+ format: 'uuid',
25893
+ type: 'string',
25894
+ },
25895
+ temperature_celsius: {
25896
+ description:
25897
+ 'Desired simulated temperature in °C. You must set `temperature_celsius` or `temperature_fahrenheit`.',
25898
+ format: 'float',
25899
+ type: 'number',
25900
+ },
25901
+ temperature_fahrenheit: {
25902
+ description:
25903
+ 'Desired simulated temperature in °F. You must set `temperature_fahrenheit` or `temperature_celsius`.',
25904
+ format: 'float',
25905
+ type: 'number',
25906
+ },
25836
25907
  },
25837
25908
  required: ['device_id'],
25838
25909
  type: 'object',
@@ -25866,6 +25937,7 @@ export default {
25866
25937
  'x-fern-sdk-group-name': ['thermostats', 'simulate'],
25867
25938
  'x-fern-sdk-method-name': 'temperature_reached',
25868
25939
  'x-response-key': null,
25940
+ 'x-title': 'Temperature Reached',
25869
25941
  },
25870
25942
  },
25871
25943
  '/thermostats/update_climate_preset': {
@@ -43226,27 +43226,43 @@ export interface Routes {
43226
43226
  queryParams: {}
43227
43227
  jsonBody:
43228
43228
  | {
43229
+ /** Desired [HVAC mode](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/hvac-mode) to simulate. */
43229
43230
  hvac_mode: 'off'
43231
+ /** ID of the desired thermostat device. */
43230
43232
  device_id: string
43231
43233
  }
43232
43234
  | {
43235
+ /** Desired [HVAC mode](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/hvac-mode) to simulate. */
43233
43236
  hvac_mode: 'cool'
43237
+ /** ID of the desired thermostat device. */
43234
43238
  device_id: string
43239
+ /** Desired simulated cooling [set point](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points) in °C. You must set `cooling_set_point_celsius` or `cooling_set_point_fahrenheit`. */
43235
43240
  cooling_set_point_celsius?: number | undefined
43241
+ /** Desired simulated cooling [set point](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points) in °F. You must set `cooling_set_point_fahrenheit` or `cooling_set_point_celsius`. */
43236
43242
  cooling_set_point_fahrenheit?: number | undefined
43237
43243
  }
43238
43244
  | {
43245
+ /** Desired [HVAC mode](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/hvac-mode) to simulate. */
43239
43246
  hvac_mode: 'heat'
43247
+ /** ID of the desired thermostat device. */
43240
43248
  device_id: string
43249
+ /** Desired simulated heating [set point](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points) in °C. You must set `heating_set_point_celsius` or `heating_set_point_fahrenheit`. */
43241
43250
  heating_set_point_celsius?: number | undefined
43251
+ /** Desired simulated heating [set point](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points) in °F. You must set `heating_set_point_fahrenheit` or `heating_set_point_celsius`. */
43242
43252
  heating_set_point_fahrenheit?: number | undefined
43243
43253
  }
43244
43254
  | {
43255
+ /** Desired [HVAC mode](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/hvac-mode) to simulate. */
43245
43256
  hvac_mode: 'heat_cool'
43257
+ /** ID of the desired thermostat device. */
43246
43258
  device_id: string
43259
+ /** Desired simulated cooling [set point](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points) in °C. You must set `cooling_set_point_celsius` or `cooling_set_point_fahrenheit`. */
43247
43260
  cooling_set_point_celsius?: number | undefined
43261
+ /** Desired simulated cooling [set point](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points) in °F. You must set `cooling_set_point_fahrenheit` or `cooling_set_point_celsius`. */
43248
43262
  cooling_set_point_fahrenheit?: number | undefined
43263
+ /** Desired simulated heating [set point](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points) in °C. You must set `heating_set_point_celsius` or `heating_set_point_fahrenheit`. */
43249
43264
  heating_set_point_celsius?: number | undefined
43265
+ /** Desired simulated heating [set point](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points) in °F. You must set `heating_set_point_fahrenheit` or `heating_set_point_celsius`. */
43250
43266
  heating_set_point_fahrenheit?: number | undefined
43251
43267
  }
43252
43268
  commonParams: {}
@@ -43258,8 +43274,11 @@ export interface Routes {
43258
43274
  method: 'POST'
43259
43275
  queryParams: {}
43260
43276
  jsonBody: {
43277
+ /** ID of the desired thermostat device. */
43261
43278
  device_id: string
43279
+ /** Desired simulated temperature in °C. You must set `temperature_celsius` or `temperature_fahrenheit`. */
43262
43280
  temperature_celsius?: number | undefined
43281
+ /** Desired simulated temperature in °F. You must set `temperature_fahrenheit` or `temperature_celsius`. */
43263
43282
  temperature_fahrenheit?: number | undefined
43264
43283
  }
43265
43284
  commonParams: {}