@seamapi/types 1.288.2 → 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.
@@ -18636,8 +18636,11 @@ export interface Routes {
18636
18636
  method: 'POST';
18637
18637
  queryParams: {};
18638
18638
  jsonBody: {
18639
+ /** ID of the thermostat device. */
18639
18640
  device_id: string;
18641
+ /** Temperature to which the HVAC system connected to the thermostat should cool (in °C). You must set one of the `cooling_set_point` parameters. */
18640
18642
  cooling_set_point_celsius?: number | undefined;
18643
+ /** Temperature to which the HVAC system connected to the thermostat should cool (in °F). You must set one of the `cooling_set_point` parameters. */
18641
18644
  cooling_set_point_fahrenheit?: number | undefined;
18642
18645
  sync?: boolean;
18643
18646
  };
@@ -19404,7 +19407,9 @@ export interface Routes {
19404
19407
  queryParams: {};
19405
19408
  jsonBody: {};
19406
19409
  commonParams: {
19410
+ /** ID of the thermostat device. */
19407
19411
  device_id?: string | undefined;
19412
+ /** Name of the thermostat. */
19408
19413
  name?: string | undefined;
19409
19414
  };
19410
19415
  formData: {};
@@ -19879,8 +19884,11 @@ export interface Routes {
19879
19884
  method: 'POST';
19880
19885
  queryParams: {};
19881
19886
  jsonBody: {
19887
+ /** ID of the thermostat device. */
19882
19888
  device_id: string;
19889
+ /** Temperature to which the HVAC system connected to the thermostat should heat (in °C). You must set one of the `heating_set_point` parameters. */
19883
19890
  heating_set_point_celsius?: number | undefined;
19891
+ /** Temperature to which the HVAC system connected to the thermostat should heat (in °F). You must set one of the `heating_set_point` parameters. */
19884
19892
  heating_set_point_fahrenheit?: number | undefined;
19885
19893
  sync?: boolean;
19886
19894
  };
@@ -20614,10 +20622,15 @@ export interface Routes {
20614
20622
  method: 'POST';
20615
20623
  queryParams: {};
20616
20624
  jsonBody: {
20625
+ /** ID of the thermostat device. */
20617
20626
  device_id: string;
20627
+ /** Temperature to which the HVAC system connected to the thermostat should heat (in °C). You must set one of the `heating_set_point` parameters. */
20618
20628
  heating_set_point_celsius?: number | undefined;
20629
+ /** Temperature the thermostat should heat to (in °F). You must set one of the heating_set_point parameters. */
20619
20630
  heating_set_point_fahrenheit?: number | undefined;
20631
+ /** Temperature to which the HVAC system connected to the thermostat should cool (in °C). You must set one of the `cooling_set_point` parameters. */
20620
20632
  cooling_set_point_celsius?: number | undefined;
20633
+ /** Temperature the thermostat should cool to (in °F). You must set one of the cooling_set_point parameters. */
20621
20634
  cooling_set_point_fahrenheit?: number | undefined;
20622
20635
  sync?: boolean;
20623
20636
  };
@@ -22302,6 +22315,7 @@ export interface Routes {
22302
22315
  method: 'POST';
22303
22316
  queryParams: {};
22304
22317
  jsonBody: {
22318
+ /** ID of the thermostat device. */
22305
22319
  device_id: string;
22306
22320
  sync?: boolean;
22307
22321
  };
@@ -23152,10 +23166,12 @@ export interface Routes {
23152
23166
  method: 'POST';
23153
23167
  queryParams: {};
23154
23168
  jsonBody: {
23169
+ /** ID of the thermostat device. */
23155
23170
  device_id: string;
23156
23171
  /**
23157
- * @deprecated use fan_mode_setting instead. */
23172
+ * @deprecated Use `fan_mode_setting` instead. */
23158
23173
  fan_mode?: ('auto' | 'on' | 'circulate') | undefined;
23174
+ /** 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). */
23159
23175
  fan_mode_setting?: ('auto' | 'on' | 'circulate') | undefined;
23160
23176
  sync?: boolean;
23161
23177
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.288.2",
3
+ "version": "1.289.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -15331,6 +15331,8 @@ export default {
15331
15331
  },
15332
15332
  '/thermostats/cool': {
15333
15333
  post: {
15334
+ description:
15335
+ '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).',
15334
15336
  operationId: 'thermostatsCoolPost',
15335
15337
  requestBody: {
15336
15338
  content: {
@@ -15338,14 +15340,22 @@ export default {
15338
15340
  schema: {
15339
15341
  properties: {
15340
15342
  cooling_set_point_celsius: {
15343
+ description:
15344
+ 'Temperature to which the HVAC system connected to the thermostat should cool (in °C). You must set one of the `cooling_set_point` parameters.',
15341
15345
  format: 'float',
15342
15346
  type: 'number',
15343
15347
  },
15344
15348
  cooling_set_point_fahrenheit: {
15349
+ description:
15350
+ 'Temperature to which the HVAC system connected to the thermostat should cool (in °F). You must set one of the `cooling_set_point` parameters.',
15345
15351
  format: 'float',
15346
15352
  type: 'number',
15347
15353
  },
15348
- device_id: { format: 'uuid', type: 'string' },
15354
+ device_id: {
15355
+ description: 'ID of the thermostat device.',
15356
+ format: 'uuid',
15357
+ type: 'string',
15358
+ },
15349
15359
  sync: { default: false, type: 'boolean' },
15350
15360
  },
15351
15361
  required: ['device_id'],
@@ -15387,6 +15397,7 @@ export default {
15387
15397
  'x-fern-sdk-method-name': 'cool',
15388
15398
  'x-fern-sdk-return-value': 'action_attempt',
15389
15399
  'x-response-key': 'action_attempt',
15400
+ 'x-title': 'Set to Cool Mode',
15390
15401
  },
15391
15402
  },
15392
15403
  '/thermostats/create_climate_preset': {
@@ -15511,14 +15522,22 @@ export default {
15511
15522
  },
15512
15523
  '/thermostats/get': {
15513
15524
  post: {
15525
+ description: 'Returns a specific thermostat.',
15514
15526
  operationId: 'thermostatsGetPost',
15515
15527
  requestBody: {
15516
15528
  content: {
15517
15529
  'application/json': {
15518
15530
  schema: {
15519
15531
  properties: {
15520
- device_id: { format: 'uuid', type: 'string' },
15521
- name: { type: 'string' },
15532
+ device_id: {
15533
+ description: 'ID of the thermostat device.',
15534
+ format: 'uuid',
15535
+ type: 'string',
15536
+ },
15537
+ name: {
15538
+ description: 'Name of the thermostat.',
15539
+ type: 'string',
15540
+ },
15522
15541
  },
15523
15542
  type: 'object',
15524
15543
  },
@@ -15557,22 +15576,33 @@ export default {
15557
15576
  'x-fern-sdk-method-name': 'get',
15558
15577
  'x-fern-sdk-return-value': 'thermostat',
15559
15578
  'x-response-key': 'thermostat',
15579
+ 'x-title': 'Get a Thermostat',
15560
15580
  },
15561
15581
  },
15562
15582
  '/thermostats/heat': {
15563
15583
  post: {
15584
+ description:
15585
+ '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).',
15564
15586
  operationId: 'thermostatsHeatPost',
15565
15587
  requestBody: {
15566
15588
  content: {
15567
15589
  'application/json': {
15568
15590
  schema: {
15569
15591
  properties: {
15570
- device_id: { format: 'uuid', type: 'string' },
15592
+ device_id: {
15593
+ description: 'ID of the thermostat device.',
15594
+ format: 'uuid',
15595
+ type: 'string',
15596
+ },
15571
15597
  heating_set_point_celsius: {
15598
+ description:
15599
+ 'Temperature to which the HVAC system connected to the thermostat should heat (in °C). You must set one of the `heating_set_point` parameters.',
15572
15600
  format: 'float',
15573
15601
  type: 'number',
15574
15602
  },
15575
15603
  heating_set_point_fahrenheit: {
15604
+ description:
15605
+ 'Temperature to which the HVAC system connected to the thermostat should heat (in °F). You must set one of the `heating_set_point` parameters.',
15576
15606
  format: 'float',
15577
15607
  type: 'number',
15578
15608
  },
@@ -15617,10 +15647,13 @@ export default {
15617
15647
  'x-fern-sdk-method-name': 'heat',
15618
15648
  'x-fern-sdk-return-value': 'action_attempt',
15619
15649
  'x-response-key': 'action_attempt',
15650
+ 'x-title': 'Set to Heat Mode',
15620
15651
  },
15621
15652
  },
15622
15653
  '/thermostats/heat_cool': {
15623
15654
  post: {
15655
+ description:
15656
+ '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).',
15624
15657
  operationId: 'thermostatsHeatCoolPost',
15625
15658
  requestBody: {
15626
15659
  content: {
@@ -15628,19 +15661,31 @@ export default {
15628
15661
  schema: {
15629
15662
  properties: {
15630
15663
  cooling_set_point_celsius: {
15664
+ description:
15665
+ 'Temperature to which the HVAC system connected to the thermostat should cool (in °C). You must set one of the `cooling_set_point` parameters.',
15631
15666
  format: 'float',
15632
15667
  type: 'number',
15633
15668
  },
15634
15669
  cooling_set_point_fahrenheit: {
15670
+ description:
15671
+ 'Temperature the thermostat should cool to (in °F). You must set one of the cooling_set_point parameters.',
15635
15672
  format: 'float',
15636
15673
  type: 'number',
15637
15674
  },
15638
- device_id: { format: 'uuid', type: 'string' },
15675
+ device_id: {
15676
+ description: 'ID of the thermostat device.',
15677
+ format: 'uuid',
15678
+ type: 'string',
15679
+ },
15639
15680
  heating_set_point_celsius: {
15681
+ description:
15682
+ 'Temperature to which the HVAC system connected to the thermostat should heat (in °C). You must set one of the `heating_set_point` parameters.',
15640
15683
  format: 'float',
15641
15684
  type: 'number',
15642
15685
  },
15643
15686
  heating_set_point_fahrenheit: {
15687
+ description:
15688
+ 'Temperature the thermostat should heat to (in °F). You must set one of the heating_set_point parameters.',
15644
15689
  format: 'float',
15645
15690
  type: 'number',
15646
15691
  },
@@ -15685,10 +15730,13 @@ export default {
15685
15730
  'x-fern-sdk-method-name': 'heat_cool',
15686
15731
  'x-fern-sdk-return-value': 'action_attempt',
15687
15732
  'x-response-key': 'action_attempt',
15733
+ 'x-title': 'Set to Heat-Cool (Auto) Mode',
15688
15734
  },
15689
15735
  },
15690
15736
  '/thermostats/list': {
15691
15737
  post: {
15738
+ description:
15739
+ 'Returns a list of thermostats connected to your workspace. If no thermostats are connected, the list will be empty.',
15692
15740
  operationId: 'thermostatsListPost',
15693
15741
  requestBody: {
15694
15742
  content: {
@@ -15959,17 +16007,24 @@ export default {
15959
16007
  'x-fern-sdk-method-name': 'list',
15960
16008
  'x-fern-sdk-return-value': 'devices',
15961
16009
  'x-response-key': 'devices',
16010
+ 'x-title': 'List Thermostats',
15962
16011
  },
15963
16012
  },
15964
16013
  '/thermostats/off': {
15965
16014
  post: {
16015
+ description:
16016
+ '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).',
15966
16017
  operationId: 'thermostatsOffPost',
15967
16018
  requestBody: {
15968
16019
  content: {
15969
16020
  'application/json': {
15970
16021
  schema: {
15971
16022
  properties: {
15972
- device_id: { format: 'uuid', type: 'string' },
16023
+ device_id: {
16024
+ description: 'ID of the thermostat device.',
16025
+ format: 'uuid',
16026
+ type: 'string',
16027
+ },
15973
16028
  sync: { default: false, type: 'boolean' },
15974
16029
  },
15975
16030
  required: ['device_id'],
@@ -16011,6 +16066,7 @@ export default {
16011
16066
  'x-fern-sdk-method-name': 'off',
16012
16067
  'x-fern-sdk-return-value': 'action_attempt',
16013
16068
  'x-response-key': 'action_attempt',
16069
+ 'x-title': 'Set to Off Mode',
16014
16070
  },
16015
16071
  },
16016
16072
  '/thermostats/schedules/create': {
@@ -16373,20 +16429,28 @@ export default {
16373
16429
  },
16374
16430
  '/thermostats/set_fan_mode': {
16375
16431
  post: {
16432
+ description:
16433
+ '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).',
16376
16434
  operationId: 'thermostatsSetFanModePost',
16377
16435
  requestBody: {
16378
16436
  content: {
16379
16437
  'application/json': {
16380
16438
  schema: {
16381
16439
  properties: {
16382
- device_id: { format: 'uuid', type: 'string' },
16440
+ device_id: {
16441
+ description: 'ID of the thermostat device.',
16442
+ format: 'uuid',
16443
+ type: 'string',
16444
+ },
16383
16445
  fan_mode: {
16384
16446
  deprecated: true,
16385
16447
  enum: ['auto', 'on', 'circulate'],
16386
16448
  type: 'string',
16387
- 'x-deprecated': 'use fan_mode_setting instead.',
16449
+ 'x-deprecated': 'Use `fan_mode_setting` instead.',
16388
16450
  },
16389
16451
  fan_mode_setting: {
16452
+ description:
16453
+ '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).',
16390
16454
  enum: ['auto', 'on', 'circulate'],
16391
16455
  type: 'string',
16392
16456
  },
@@ -16431,6 +16495,7 @@ export default {
16431
16495
  'x-fern-sdk-method-name': 'set_fan_mode',
16432
16496
  'x-fern-sdk-return-value': 'action_attempt',
16433
16497
  'x-response-key': 'action_attempt',
16498
+ 'x-title': 'Set Fan Mode Setting',
16434
16499
  },
16435
16500
  },
16436
16501
  '/thermostats/set_temperature_threshold': {
@@ -23544,8 +23544,11 @@ export interface Routes {
23544
23544
  method: 'POST'
23545
23545
  queryParams: {}
23546
23546
  jsonBody: {
23547
+ /** ID of the thermostat device. */
23547
23548
  device_id: string
23549
+ /** Temperature to which the HVAC system connected to the thermostat should cool (in °C). You must set one of the `cooling_set_point` parameters. */
23548
23550
  cooling_set_point_celsius?: number | undefined
23551
+ /** Temperature to which the HVAC system connected to the thermostat should cool (in °F). You must set one of the `cooling_set_point` parameters. */
23549
23552
  cooling_set_point_fahrenheit?: number | undefined
23550
23553
  sync?: boolean
23551
23554
  }
@@ -24438,7 +24441,9 @@ export interface Routes {
24438
24441
  queryParams: {}
24439
24442
  jsonBody: {}
24440
24443
  commonParams: {
24444
+ /** ID of the thermostat device. */
24441
24445
  device_id?: string | undefined
24446
+ /** Name of the thermostat. */
24442
24447
  name?: string | undefined
24443
24448
  }
24444
24449
  formData: {}
@@ -25096,8 +25101,11 @@ export interface Routes {
25096
25101
  method: 'POST'
25097
25102
  queryParams: {}
25098
25103
  jsonBody: {
25104
+ /** ID of the thermostat device. */
25099
25105
  device_id: string
25106
+ /** Temperature to which the HVAC system connected to the thermostat should heat (in °C). You must set one of the `heating_set_point` parameters. */
25100
25107
  heating_set_point_celsius?: number | undefined
25108
+ /** Temperature to which the HVAC system connected to the thermostat should heat (in °F). You must set one of the `heating_set_point` parameters. */
25101
25109
  heating_set_point_fahrenheit?: number | undefined
25102
25110
  sync?: boolean
25103
25111
  }
@@ -25957,10 +25965,15 @@ export interface Routes {
25957
25965
  method: 'POST'
25958
25966
  queryParams: {}
25959
25967
  jsonBody: {
25968
+ /** ID of the thermostat device. */
25960
25969
  device_id: string
25970
+ /** Temperature to which the HVAC system connected to the thermostat should heat (in °C). You must set one of the `heating_set_point` parameters. */
25961
25971
  heating_set_point_celsius?: number | undefined
25972
+ /** Temperature the thermostat should heat to (in °F). You must set one of the heating_set_point parameters. */
25962
25973
  heating_set_point_fahrenheit?: number | undefined
25974
+ /** Temperature to which the HVAC system connected to the thermostat should cool (in °C). You must set one of the `cooling_set_point` parameters. */
25963
25975
  cooling_set_point_celsius?: number | undefined
25976
+ /** Temperature the thermostat should cool to (in °F). You must set one of the cooling_set_point parameters. */
25964
25977
  cooling_set_point_fahrenheit?: number | undefined
25965
25978
  sync?: boolean
25966
25979
  }
@@ -28283,6 +28296,7 @@ export interface Routes {
28283
28296
  method: 'POST'
28284
28297
  queryParams: {}
28285
28298
  jsonBody: {
28299
+ /** ID of the thermostat device. */
28286
28300
  device_id: string
28287
28301
  sync?: boolean
28288
28302
  }
@@ -29259,10 +29273,12 @@ export interface Routes {
29259
29273
  method: 'POST'
29260
29274
  queryParams: {}
29261
29275
  jsonBody: {
29276
+ /** ID of the thermostat device. */
29262
29277
  device_id: string
29263
29278
  /**
29264
- * @deprecated use fan_mode_setting instead. */
29279
+ * @deprecated Use `fan_mode_setting` instead. */
29265
29280
  fan_mode?: ('auto' | 'on' | 'circulate') | undefined
29281
+ /** 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). */
29266
29282
  fan_mode_setting?: ('auto' | 'on' | 'circulate') | undefined
29267
29283
  sync?: boolean
29268
29284
  }