@seamapi/types 1.429.0 → 1.430.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 +252 -8
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +453 -12
- package/lib/seam/connect/models/devices/capability-properties/index.d.ts +18 -0
- package/lib/seam/connect/models/devices/capability-properties/thermostat.d.ts +18 -0
- package/lib/seam/connect/models/devices/capability-properties/thermostat.js +8 -1
- package/lib/seam/connect/models/devices/capability-properties/thermostat.js.map +1 -1
- package/lib/seam/connect/models/devices/device.d.ts +26 -0
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +18 -0
- package/lib/seam/connect/models/events/devices.d.ts +2 -0
- package/lib/seam/connect/models/events/seam-event.d.ts +1 -0
- package/lib/seam/connect/models/thermostats/climate-preset.d.ts +6 -0
- package/lib/seam/connect/models/thermostats/climate-preset.js +4 -1
- package/lib/seam/connect/models/thermostats/climate-preset.js.map +1 -1
- package/lib/seam/connect/models/thermostats/modes.d.ts +2 -0
- package/lib/seam/connect/models/thermostats/modes.js +8 -0
- package/lib/seam/connect/models/thermostats/modes.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +210 -4
- package/lib/seam/connect/openapi.js +234 -8
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +198 -8
- package/package.json +2 -2
- package/src/lib/seam/connect/models/devices/capability-properties/thermostat.ts +8 -0
- package/src/lib/seam/connect/models/thermostats/climate-preset.ts +8 -1
- package/src/lib/seam/connect/models/thermostats/modes.ts +11 -0
- package/src/lib/seam/connect/openapi.ts +243 -8
- package/src/lib/seam/connect/route-types.ts +683 -8
|
@@ -10182,6 +10182,23 @@ export default {
|
|
|
10182
10182
|
type: 'string',
|
|
10183
10183
|
'x-property-group-key': 'thermostats',
|
|
10184
10184
|
},
|
|
10185
|
+
available_climate_preset_modes: {
|
|
10186
|
+
description: 'Climate preset modes that the thermostat supports, such as "home", "away", "wake", "sleep", "occupied", and "unoccupied".',
|
|
10187
|
+
items: {
|
|
10188
|
+
enum: [
|
|
10189
|
+
'home',
|
|
10190
|
+
'away',
|
|
10191
|
+
'wake',
|
|
10192
|
+
'sleep',
|
|
10193
|
+
'occupied',
|
|
10194
|
+
'unoccupied',
|
|
10195
|
+
],
|
|
10196
|
+
type: 'string',
|
|
10197
|
+
},
|
|
10198
|
+
type: 'array',
|
|
10199
|
+
'x-draft': 'Needs review.',
|
|
10200
|
+
'x-property-group-key': 'thermostats',
|
|
10201
|
+
},
|
|
10185
10202
|
available_climate_presets: {
|
|
10186
10203
|
description: 'Available [climate presets](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) for the thermostat.',
|
|
10187
10204
|
items: {
|
|
@@ -10202,6 +10219,18 @@ export default {
|
|
|
10202
10219
|
description: 'Unique key to identify the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets).',
|
|
10203
10220
|
type: 'string',
|
|
10204
10221
|
},
|
|
10222
|
+
climate_preset_mode: {
|
|
10223
|
+
description: '\n The climate preset mode for the thermostat, based on the available climate preset modes reported by the device.\n ',
|
|
10224
|
+
enum: [
|
|
10225
|
+
'home',
|
|
10226
|
+
'away',
|
|
10227
|
+
'wake',
|
|
10228
|
+
'sleep',
|
|
10229
|
+
'occupied',
|
|
10230
|
+
'unoccupied',
|
|
10231
|
+
],
|
|
10232
|
+
type: 'string',
|
|
10233
|
+
},
|
|
10205
10234
|
cooling_set_point_celsius: {
|
|
10206
10235
|
description: 'Temperature to which the thermostat should cool (in °C). See also [Set Points](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points).',
|
|
10207
10236
|
format: 'float',
|
|
@@ -10299,6 +10328,18 @@ export default {
|
|
|
10299
10328
|
description: 'Unique key to identify the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets).',
|
|
10300
10329
|
type: 'string',
|
|
10301
10330
|
},
|
|
10331
|
+
climate_preset_mode: {
|
|
10332
|
+
description: '\n The climate preset mode for the thermostat, based on the available climate preset modes reported by the device.\n ',
|
|
10333
|
+
enum: [
|
|
10334
|
+
'home',
|
|
10335
|
+
'away',
|
|
10336
|
+
'wake',
|
|
10337
|
+
'sleep',
|
|
10338
|
+
'occupied',
|
|
10339
|
+
'unoccupied',
|
|
10340
|
+
],
|
|
10341
|
+
type: 'string',
|
|
10342
|
+
},
|
|
10302
10343
|
cooling_set_point_celsius: {
|
|
10303
10344
|
description: 'Temperature to which the thermostat should cool (in °C). See also [Set Points](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points).',
|
|
10304
10345
|
format: 'float',
|
|
@@ -10368,6 +10409,18 @@ export default {
|
|
|
10368
10409
|
description: 'Unique key to identify the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets).',
|
|
10369
10410
|
type: 'string',
|
|
10370
10411
|
},
|
|
10412
|
+
climate_preset_mode: {
|
|
10413
|
+
description: '\n The climate preset mode for the thermostat, based on the available climate preset modes reported by the device.\n ',
|
|
10414
|
+
enum: [
|
|
10415
|
+
'home',
|
|
10416
|
+
'away',
|
|
10417
|
+
'wake',
|
|
10418
|
+
'sleep',
|
|
10419
|
+
'occupied',
|
|
10420
|
+
'unoccupied',
|
|
10421
|
+
],
|
|
10422
|
+
type: 'string',
|
|
10423
|
+
},
|
|
10371
10424
|
cooling_set_point_celsius: {
|
|
10372
10425
|
description: 'Temperature to which the thermostat should cool (in °C). See also [Set Points](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points).',
|
|
10373
10426
|
format: 'float',
|
|
@@ -23862,9 +23915,9 @@ export default {
|
|
|
23862
23915
|
},
|
|
23863
23916
|
},
|
|
23864
23917
|
'/access_grants/delete': {
|
|
23865
|
-
|
|
23918
|
+
delete: {
|
|
23866
23919
|
description: 'Delete an access grant.',
|
|
23867
|
-
operationId: '
|
|
23920
|
+
operationId: 'accessGrantsDeleteDelete',
|
|
23868
23921
|
parameters: [
|
|
23869
23922
|
{
|
|
23870
23923
|
in: 'query',
|
|
@@ -24357,9 +24410,9 @@ export default {
|
|
|
24357
24410
|
},
|
|
24358
24411
|
},
|
|
24359
24412
|
'/access_methods/delete': {
|
|
24360
|
-
|
|
24413
|
+
delete: {
|
|
24361
24414
|
description: 'Delete an access method.',
|
|
24362
|
-
operationId: '
|
|
24415
|
+
operationId: 'accessMethodsDeleteDelete',
|
|
24363
24416
|
parameters: [
|
|
24364
24417
|
{
|
|
24365
24418
|
in: 'query',
|
|
@@ -40602,6 +40655,43 @@ export default {
|
|
|
40602
40655
|
'x-title': 'Delete Customer Portal Automation Configuration',
|
|
40603
40656
|
'x-undocumented': 'Internal endpoint for customer portals.',
|
|
40604
40657
|
},
|
|
40658
|
+
post: {
|
|
40659
|
+
description: 'Deletes the automation configuration for a customer portal workspace.\nSupports both console session and customer client session authentication.',
|
|
40660
|
+
operationId: 'seamCustomerV1AutomationsDeletePost',
|
|
40661
|
+
requestBody: {
|
|
40662
|
+
content: {
|
|
40663
|
+
'application/json': { schema: { properties: {}, type: 'object' } },
|
|
40664
|
+
},
|
|
40665
|
+
},
|
|
40666
|
+
responses: {
|
|
40667
|
+
200: {
|
|
40668
|
+
content: {
|
|
40669
|
+
'application/json': {
|
|
40670
|
+
schema: {
|
|
40671
|
+
properties: { ok: { type: 'boolean' } },
|
|
40672
|
+
required: ['ok'],
|
|
40673
|
+
type: 'object',
|
|
40674
|
+
},
|
|
40675
|
+
},
|
|
40676
|
+
},
|
|
40677
|
+
description: 'OK',
|
|
40678
|
+
},
|
|
40679
|
+
400: { description: 'Bad Request' },
|
|
40680
|
+
401: { description: 'Unauthorized' },
|
|
40681
|
+
},
|
|
40682
|
+
security: [
|
|
40683
|
+
{ console_session_with_workspace: [] },
|
|
40684
|
+
{ api_key: [] },
|
|
40685
|
+
{ client_session_with_customer: [] },
|
|
40686
|
+
],
|
|
40687
|
+
summary: '/seam/customer/v1/automations/delete',
|
|
40688
|
+
tags: [],
|
|
40689
|
+
'x-fern-sdk-group-name': ['seam', 'customer', 'v1', 'automations'],
|
|
40690
|
+
'x-fern-sdk-method-name': 'delete',
|
|
40691
|
+
'x-response-key': null,
|
|
40692
|
+
'x-title': 'Delete Customer Portal Automation Configuration',
|
|
40693
|
+
'x-undocumented': 'Internal endpoint for customer portals.',
|
|
40694
|
+
},
|
|
40605
40695
|
},
|
|
40606
40696
|
'/seam/customer/v1/automations/get': {
|
|
40607
40697
|
get: {
|
|
@@ -40704,6 +40794,106 @@ export default {
|
|
|
40704
40794
|
'x-title': 'Get Customer Portal Automation Configuration',
|
|
40705
40795
|
'x-undocumented': 'Internal endpoint for customer portals.',
|
|
40706
40796
|
},
|
|
40797
|
+
post: {
|
|
40798
|
+
description: 'Gets the current automation configuration for a customer portal workspace.\nFor customer client sessions, returns customer-specific config if available,\notherwise falls back to workspace-level config.',
|
|
40799
|
+
operationId: 'seamCustomerV1AutomationsGetPost',
|
|
40800
|
+
responses: {
|
|
40801
|
+
200: {
|
|
40802
|
+
content: {
|
|
40803
|
+
'application/json': {
|
|
40804
|
+
schema: {
|
|
40805
|
+
properties: {
|
|
40806
|
+
access_rules: {
|
|
40807
|
+
properties: {
|
|
40808
|
+
reservation_created: {
|
|
40809
|
+
properties: {
|
|
40810
|
+
config: {
|
|
40811
|
+
properties: {
|
|
40812
|
+
access_methods: {
|
|
40813
|
+
items: {
|
|
40814
|
+
enum: ['card', 'mobile_key', 'code'],
|
|
40815
|
+
type: 'string',
|
|
40816
|
+
},
|
|
40817
|
+
minItems: 1,
|
|
40818
|
+
type: 'array',
|
|
40819
|
+
},
|
|
40820
|
+
method_issuance_strategy: {
|
|
40821
|
+
enum: [
|
|
40822
|
+
'first_available',
|
|
40823
|
+
'first_two_available',
|
|
40824
|
+
'all_available',
|
|
40825
|
+
],
|
|
40826
|
+
type: 'string',
|
|
40827
|
+
},
|
|
40828
|
+
},
|
|
40829
|
+
required: [
|
|
40830
|
+
'access_methods',
|
|
40831
|
+
'method_issuance_strategy',
|
|
40832
|
+
],
|
|
40833
|
+
type: 'object',
|
|
40834
|
+
},
|
|
40835
|
+
rule: {
|
|
40836
|
+
enum: ['reservation_created'],
|
|
40837
|
+
type: 'string',
|
|
40838
|
+
},
|
|
40839
|
+
},
|
|
40840
|
+
required: ['rule', 'config'],
|
|
40841
|
+
type: 'object',
|
|
40842
|
+
},
|
|
40843
|
+
reservation_deleted: {
|
|
40844
|
+
properties: {
|
|
40845
|
+
config: {
|
|
40846
|
+
$ref: '#/components/schemas/access_code',
|
|
40847
|
+
},
|
|
40848
|
+
rule: {
|
|
40849
|
+
enum: ['reservation_deleted'],
|
|
40850
|
+
type: 'string',
|
|
40851
|
+
},
|
|
40852
|
+
},
|
|
40853
|
+
required: ['rule', 'config'],
|
|
40854
|
+
type: 'object',
|
|
40855
|
+
},
|
|
40856
|
+
reservation_time_updated: {
|
|
40857
|
+
properties: {
|
|
40858
|
+
config: {
|
|
40859
|
+
$ref: '#/components/schemas/access_code',
|
|
40860
|
+
},
|
|
40861
|
+
rule: {
|
|
40862
|
+
enum: ['reservation_time_updated'],
|
|
40863
|
+
type: 'string',
|
|
40864
|
+
},
|
|
40865
|
+
},
|
|
40866
|
+
required: ['rule', 'config'],
|
|
40867
|
+
type: 'object',
|
|
40868
|
+
},
|
|
40869
|
+
},
|
|
40870
|
+
type: 'object',
|
|
40871
|
+
},
|
|
40872
|
+
ok: { type: 'boolean' },
|
|
40873
|
+
},
|
|
40874
|
+
required: ['ok'],
|
|
40875
|
+
type: 'object',
|
|
40876
|
+
},
|
|
40877
|
+
},
|
|
40878
|
+
},
|
|
40879
|
+
description: 'OK',
|
|
40880
|
+
},
|
|
40881
|
+
400: { description: 'Bad Request' },
|
|
40882
|
+
401: { description: 'Unauthorized' },
|
|
40883
|
+
},
|
|
40884
|
+
security: [
|
|
40885
|
+
{ console_session_with_workspace: [] },
|
|
40886
|
+
{ api_key: [] },
|
|
40887
|
+
{ client_session_with_customer: [] },
|
|
40888
|
+
],
|
|
40889
|
+
summary: '/seam/customer/v1/automations/get',
|
|
40890
|
+
tags: [],
|
|
40891
|
+
'x-fern-sdk-group-name': ['seam', 'customer', 'v1', 'automations'],
|
|
40892
|
+
'x-fern-sdk-method-name': 'get',
|
|
40893
|
+
'x-response-key': null,
|
|
40894
|
+
'x-title': 'Get Customer Portal Automation Configuration',
|
|
40895
|
+
'x-undocumented': 'Internal endpoint for customer portals.',
|
|
40896
|
+
},
|
|
40707
40897
|
},
|
|
40708
40898
|
'/seam/customer/v1/automations/update': {
|
|
40709
40899
|
patch: {
|
|
@@ -42622,6 +42812,18 @@ export default {
|
|
|
42622
42812
|
description: 'Unique key to identify the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets).',
|
|
42623
42813
|
type: 'string',
|
|
42624
42814
|
},
|
|
42815
|
+
climate_preset_mode: {
|
|
42816
|
+
description: '\n The climate preset mode for the thermostat, based on the available climate preset modes reported by the device.\n ',
|
|
42817
|
+
enum: [
|
|
42818
|
+
'home',
|
|
42819
|
+
'away',
|
|
42820
|
+
'wake',
|
|
42821
|
+
'sleep',
|
|
42822
|
+
'occupied',
|
|
42823
|
+
'unoccupied',
|
|
42824
|
+
],
|
|
42825
|
+
type: 'string',
|
|
42826
|
+
},
|
|
42625
42827
|
cooling_set_point_celsius: {
|
|
42626
42828
|
description: 'Temperature to which the thermostat should cool (in °C). See also [Set Points](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points).',
|
|
42627
42829
|
format: 'float',
|
|
@@ -45178,6 +45380,18 @@ export default {
|
|
|
45178
45380
|
description: 'Unique key to identify the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets).',
|
|
45179
45381
|
type: 'string',
|
|
45180
45382
|
},
|
|
45383
|
+
climate_preset_mode: {
|
|
45384
|
+
description: '\n The climate preset mode for the thermostat, based on the available climate preset modes reported by the device.\n ',
|
|
45385
|
+
enum: [
|
|
45386
|
+
'home',
|
|
45387
|
+
'away',
|
|
45388
|
+
'wake',
|
|
45389
|
+
'sleep',
|
|
45390
|
+
'occupied',
|
|
45391
|
+
'unoccupied',
|
|
45392
|
+
],
|
|
45393
|
+
type: 'string',
|
|
45394
|
+
},
|
|
45181
45395
|
cooling_set_point_celsius: {
|
|
45182
45396
|
description: 'Temperature to which the thermostat should cool (in °C). See also [Set Points](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points).',
|
|
45183
45397
|
format: 'float',
|
|
@@ -45273,6 +45487,18 @@ export default {
|
|
|
45273
45487
|
description: 'Unique key to identify the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets).',
|
|
45274
45488
|
type: 'string',
|
|
45275
45489
|
},
|
|
45490
|
+
climate_preset_mode: {
|
|
45491
|
+
description: '\n The climate preset mode for the thermostat, based on the available climate preset modes reported by the device.\n ',
|
|
45492
|
+
enum: [
|
|
45493
|
+
'home',
|
|
45494
|
+
'away',
|
|
45495
|
+
'wake',
|
|
45496
|
+
'sleep',
|
|
45497
|
+
'occupied',
|
|
45498
|
+
'unoccupied',
|
|
45499
|
+
],
|
|
45500
|
+
type: 'string',
|
|
45501
|
+
},
|
|
45276
45502
|
cooling_set_point_celsius: {
|
|
45277
45503
|
description: 'Temperature to which the thermostat should cool (in °C). See also [Set Points](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points).',
|
|
45278
45504
|
format: 'float',
|
|
@@ -45627,9 +45853,9 @@ export default {
|
|
|
45627
45853
|
},
|
|
45628
45854
|
},
|
|
45629
45855
|
'/unstable_access_grants/delete': {
|
|
45630
|
-
|
|
45856
|
+
delete: {
|
|
45631
45857
|
description: 'Deletes an access grant.',
|
|
45632
|
-
operationId: '
|
|
45858
|
+
operationId: 'unstableAccessGrantsDeleteDelete',
|
|
45633
45859
|
parameters: [
|
|
45634
45860
|
{
|
|
45635
45861
|
in: 'query',
|
|
@@ -45996,9 +46222,9 @@ export default {
|
|
|
45996
46222
|
},
|
|
45997
46223
|
},
|
|
45998
46224
|
'/unstable_access_methods/delete': {
|
|
45999
|
-
|
|
46225
|
+
delete: {
|
|
46000
46226
|
description: 'Deletes an access method.',
|
|
46001
|
-
operationId: '
|
|
46227
|
+
operationId: 'unstableAccessMethodsDeleteDelete',
|
|
46002
46228
|
parameters: [
|
|
46003
46229
|
{
|
|
46004
46230
|
in: 'query',
|