@seamapi/types 1.495.0 → 1.497.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 +123 -23
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +401 -10
- package/dist/index.cjs +123 -23
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +360 -0
- package/lib/seam/connect/models/batch.js +5 -0
- package/lib/seam/connect/models/batch.js.map +1 -1
- package/lib/seam/connect/models/devices/device-provider.d.ts +6 -0
- package/lib/seam/connect/models/devices/device.d.ts +12 -0
- package/lib/seam/connect/models/devices/device.js +2 -0
- package/lib/seam/connect/models/devices/device.js.map +1 -1
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +8 -0
- package/lib/seam/connect/openapi.d.ts +66 -0
- package/lib/seam/connect/openapi.js +94 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +150 -10
- package/package.json +1 -1
- package/src/lib/seam/connect/models/batch.ts +8 -0
- package/src/lib/seam/connect/models/devices/device.ts +2 -0
- package/src/lib/seam/connect/openapi.ts +94 -0
- package/src/lib/seam/connect/route-types.ts +168 -0
|
@@ -9214,6 +9214,8 @@ export default {
|
|
|
9214
9214
|
can_run_thermostat_programs: { type: 'boolean' },
|
|
9215
9215
|
can_simulate_connection: { type: 'boolean' },
|
|
9216
9216
|
can_simulate_disconnection: { type: 'boolean' },
|
|
9217
|
+
can_simulate_hub_connection: { type: 'boolean' },
|
|
9218
|
+
can_simulate_hub_disconnection: { type: 'boolean' },
|
|
9217
9219
|
can_simulate_removal: { type: 'boolean' },
|
|
9218
9220
|
can_turn_off_hvac: { type: 'boolean' },
|
|
9219
9221
|
can_unlock_with_code: { type: 'boolean' },
|
|
@@ -12981,6 +12983,8 @@ export default {
|
|
|
12981
12983
|
can_run_thermostat_programs: { type: 'boolean' },
|
|
12982
12984
|
can_simulate_connection: { type: 'boolean' },
|
|
12983
12985
|
can_simulate_disconnection: { type: 'boolean' },
|
|
12986
|
+
can_simulate_hub_connection: { type: 'boolean' },
|
|
12987
|
+
can_simulate_hub_disconnection: { type: 'boolean' },
|
|
12984
12988
|
can_simulate_removal: { type: 'boolean' },
|
|
12985
12989
|
can_turn_off_hvac: { type: 'boolean' },
|
|
12986
12990
|
can_unlock_with_code: { type: 'boolean' },
|
|
@@ -23643,6 +23647,8 @@ export default {
|
|
|
23643
23647
|
can_run_thermostat_programs: { type: 'boolean' },
|
|
23644
23648
|
can_simulate_connection: { type: 'boolean' },
|
|
23645
23649
|
can_simulate_disconnection: { type: 'boolean' },
|
|
23650
|
+
can_simulate_hub_connection: { type: 'boolean' },
|
|
23651
|
+
can_simulate_hub_disconnection: { type: 'boolean' },
|
|
23646
23652
|
can_simulate_removal: { type: 'boolean' },
|
|
23647
23653
|
can_turn_off_hvac: { type: 'boolean' },
|
|
23648
23654
|
can_unlock_with_code: { type: 'boolean' },
|
|
@@ -29279,6 +29285,18 @@ export default {
|
|
|
29279
29285
|
items: { $ref: '#/components/schemas/space' },
|
|
29280
29286
|
type: 'array',
|
|
29281
29287
|
},
|
|
29288
|
+
thermostat_daily_programs: {
|
|
29289
|
+
items: {
|
|
29290
|
+
$ref: '#/components/schemas/thermostat_daily_program',
|
|
29291
|
+
},
|
|
29292
|
+
type: 'array',
|
|
29293
|
+
},
|
|
29294
|
+
thermostat_schedules: {
|
|
29295
|
+
items: {
|
|
29296
|
+
$ref: '#/components/schemas/thermostat_schedule',
|
|
29297
|
+
},
|
|
29298
|
+
type: 'array',
|
|
29299
|
+
},
|
|
29282
29300
|
unmanaged_access_codes: {
|
|
29283
29301
|
items: {
|
|
29284
29302
|
$ref: '#/components/schemas/unmanaged_access_code',
|
|
@@ -29476,6 +29494,18 @@ export default {
|
|
|
29476
29494
|
items: { $ref: '#/components/schemas/space' },
|
|
29477
29495
|
type: 'array',
|
|
29478
29496
|
},
|
|
29497
|
+
thermostat_daily_programs: {
|
|
29498
|
+
items: {
|
|
29499
|
+
$ref: '#/components/schemas/thermostat_daily_program',
|
|
29500
|
+
},
|
|
29501
|
+
type: 'array',
|
|
29502
|
+
},
|
|
29503
|
+
thermostat_schedules: {
|
|
29504
|
+
items: {
|
|
29505
|
+
$ref: '#/components/schemas/thermostat_schedule',
|
|
29506
|
+
},
|
|
29507
|
+
type: 'array',
|
|
29508
|
+
},
|
|
29479
29509
|
unmanaged_access_codes: {
|
|
29480
29510
|
items: {
|
|
29481
29511
|
$ref: '#/components/schemas/unmanaged_access_code',
|
|
@@ -40150,6 +40180,8 @@ export default {
|
|
|
40150
40180
|
'can_simulate_disconnection',
|
|
40151
40181
|
'can_unlock_with_code',
|
|
40152
40182
|
'can_run_thermostat_programs',
|
|
40183
|
+
'can_simulate_hub_connection',
|
|
40184
|
+
'can_simulate_hub_disconnection',
|
|
40153
40185
|
],
|
|
40154
40186
|
type: 'string',
|
|
40155
40187
|
},
|
|
@@ -40176,6 +40208,8 @@ export default {
|
|
|
40176
40208
|
'can_simulate_disconnection',
|
|
40177
40209
|
'can_unlock_with_code',
|
|
40178
40210
|
'can_run_thermostat_programs',
|
|
40211
|
+
'can_simulate_hub_connection',
|
|
40212
|
+
'can_simulate_hub_disconnection',
|
|
40179
40213
|
],
|
|
40180
40214
|
type: 'string',
|
|
40181
40215
|
},
|
|
@@ -40465,6 +40499,8 @@ export default {
|
|
|
40465
40499
|
'can_simulate_disconnection',
|
|
40466
40500
|
'can_unlock_with_code',
|
|
40467
40501
|
'can_run_thermostat_programs',
|
|
40502
|
+
'can_simulate_hub_connection',
|
|
40503
|
+
'can_simulate_hub_disconnection',
|
|
40468
40504
|
],
|
|
40469
40505
|
type: 'string',
|
|
40470
40506
|
},
|
|
@@ -40487,6 +40523,8 @@ export default {
|
|
|
40487
40523
|
'can_simulate_disconnection',
|
|
40488
40524
|
'can_unlock_with_code',
|
|
40489
40525
|
'can_run_thermostat_programs',
|
|
40526
|
+
'can_simulate_hub_connection',
|
|
40527
|
+
'can_simulate_hub_disconnection',
|
|
40490
40528
|
],
|
|
40491
40529
|
type: 'string',
|
|
40492
40530
|
},
|
|
@@ -41433,6 +41471,8 @@ export default {
|
|
|
41433
41471
|
'can_simulate_disconnection',
|
|
41434
41472
|
'can_unlock_with_code',
|
|
41435
41473
|
'can_run_thermostat_programs',
|
|
41474
|
+
'can_simulate_hub_connection',
|
|
41475
|
+
'can_simulate_hub_disconnection',
|
|
41436
41476
|
],
|
|
41437
41477
|
type: 'string',
|
|
41438
41478
|
},
|
|
@@ -41459,6 +41499,8 @@ export default {
|
|
|
41459
41499
|
'can_simulate_disconnection',
|
|
41460
41500
|
'can_unlock_with_code',
|
|
41461
41501
|
'can_run_thermostat_programs',
|
|
41502
|
+
'can_simulate_hub_connection',
|
|
41503
|
+
'can_simulate_hub_disconnection',
|
|
41462
41504
|
],
|
|
41463
41505
|
type: 'string',
|
|
41464
41506
|
},
|
|
@@ -41745,6 +41787,8 @@ export default {
|
|
|
41745
41787
|
'can_simulate_disconnection',
|
|
41746
41788
|
'can_unlock_with_code',
|
|
41747
41789
|
'can_run_thermostat_programs',
|
|
41790
|
+
'can_simulate_hub_connection',
|
|
41791
|
+
'can_simulate_hub_disconnection',
|
|
41748
41792
|
],
|
|
41749
41793
|
type: 'string',
|
|
41750
41794
|
},
|
|
@@ -41767,6 +41811,8 @@ export default {
|
|
|
41767
41811
|
'can_simulate_disconnection',
|
|
41768
41812
|
'can_unlock_with_code',
|
|
41769
41813
|
'can_run_thermostat_programs',
|
|
41814
|
+
'can_simulate_hub_connection',
|
|
41815
|
+
'can_simulate_hub_disconnection',
|
|
41770
41816
|
],
|
|
41771
41817
|
type: 'string',
|
|
41772
41818
|
},
|
|
@@ -43716,6 +43762,8 @@ export default {
|
|
|
43716
43762
|
'can_simulate_disconnection',
|
|
43717
43763
|
'can_unlock_with_code',
|
|
43718
43764
|
'can_run_thermostat_programs',
|
|
43765
|
+
'can_simulate_hub_connection',
|
|
43766
|
+
'can_simulate_hub_disconnection',
|
|
43719
43767
|
],
|
|
43720
43768
|
type: 'string',
|
|
43721
43769
|
},
|
|
@@ -43742,6 +43790,8 @@ export default {
|
|
|
43742
43790
|
'can_simulate_disconnection',
|
|
43743
43791
|
'can_unlock_with_code',
|
|
43744
43792
|
'can_run_thermostat_programs',
|
|
43793
|
+
'can_simulate_hub_connection',
|
|
43794
|
+
'can_simulate_hub_disconnection',
|
|
43745
43795
|
],
|
|
43746
43796
|
type: 'string',
|
|
43747
43797
|
},
|
|
@@ -43976,6 +44026,8 @@ export default {
|
|
|
43976
44026
|
'can_simulate_disconnection',
|
|
43977
44027
|
'can_unlock_with_code',
|
|
43978
44028
|
'can_run_thermostat_programs',
|
|
44029
|
+
'can_simulate_hub_connection',
|
|
44030
|
+
'can_simulate_hub_disconnection',
|
|
43979
44031
|
],
|
|
43980
44032
|
type: 'string',
|
|
43981
44033
|
},
|
|
@@ -43998,6 +44050,8 @@ export default {
|
|
|
43998
44050
|
'can_simulate_disconnection',
|
|
43999
44051
|
'can_unlock_with_code',
|
|
44000
44052
|
'can_run_thermostat_programs',
|
|
44053
|
+
'can_simulate_hub_connection',
|
|
44054
|
+
'can_simulate_hub_disconnection',
|
|
44001
44055
|
],
|
|
44002
44056
|
type: 'string',
|
|
44003
44057
|
},
|
|
@@ -44535,6 +44589,8 @@ export default {
|
|
|
44535
44589
|
'can_simulate_disconnection',
|
|
44536
44590
|
'can_unlock_with_code',
|
|
44537
44591
|
'can_run_thermostat_programs',
|
|
44592
|
+
'can_simulate_hub_connection',
|
|
44593
|
+
'can_simulate_hub_disconnection',
|
|
44538
44594
|
],
|
|
44539
44595
|
type: 'string',
|
|
44540
44596
|
},
|
|
@@ -44561,6 +44617,8 @@ export default {
|
|
|
44561
44617
|
'can_simulate_disconnection',
|
|
44562
44618
|
'can_unlock_with_code',
|
|
44563
44619
|
'can_run_thermostat_programs',
|
|
44620
|
+
'can_simulate_hub_connection',
|
|
44621
|
+
'can_simulate_hub_disconnection',
|
|
44564
44622
|
],
|
|
44565
44623
|
type: 'string',
|
|
44566
44624
|
},
|
|
@@ -44739,6 +44797,8 @@ export default {
|
|
|
44739
44797
|
'can_simulate_disconnection',
|
|
44740
44798
|
'can_unlock_with_code',
|
|
44741
44799
|
'can_run_thermostat_programs',
|
|
44800
|
+
'can_simulate_hub_connection',
|
|
44801
|
+
'can_simulate_hub_disconnection',
|
|
44742
44802
|
],
|
|
44743
44803
|
type: 'string',
|
|
44744
44804
|
},
|
|
@@ -44761,6 +44821,8 @@ export default {
|
|
|
44761
44821
|
'can_simulate_disconnection',
|
|
44762
44822
|
'can_unlock_with_code',
|
|
44763
44823
|
'can_run_thermostat_programs',
|
|
44824
|
+
'can_simulate_hub_connection',
|
|
44825
|
+
'can_simulate_hub_disconnection',
|
|
44764
44826
|
],
|
|
44765
44827
|
type: 'string',
|
|
44766
44828
|
},
|
|
@@ -51313,6 +51375,8 @@ export default {
|
|
|
51313
51375
|
'can_simulate_disconnection',
|
|
51314
51376
|
'can_unlock_with_code',
|
|
51315
51377
|
'can_run_thermostat_programs',
|
|
51378
|
+
'can_simulate_hub_connection',
|
|
51379
|
+
'can_simulate_hub_disconnection',
|
|
51316
51380
|
],
|
|
51317
51381
|
type: 'string',
|
|
51318
51382
|
},
|
|
@@ -51339,6 +51403,8 @@ export default {
|
|
|
51339
51403
|
'can_simulate_disconnection',
|
|
51340
51404
|
'can_unlock_with_code',
|
|
51341
51405
|
'can_run_thermostat_programs',
|
|
51406
|
+
'can_simulate_hub_connection',
|
|
51407
|
+
'can_simulate_hub_disconnection',
|
|
51342
51408
|
],
|
|
51343
51409
|
type: 'string',
|
|
51344
51410
|
},
|
|
@@ -51531,6 +51597,8 @@ export default {
|
|
|
51531
51597
|
'can_simulate_disconnection',
|
|
51532
51598
|
'can_unlock_with_code',
|
|
51533
51599
|
'can_run_thermostat_programs',
|
|
51600
|
+
'can_simulate_hub_connection',
|
|
51601
|
+
'can_simulate_hub_disconnection',
|
|
51534
51602
|
],
|
|
51535
51603
|
type: 'string',
|
|
51536
51604
|
},
|
|
@@ -51553,6 +51621,8 @@ export default {
|
|
|
51553
51621
|
'can_simulate_disconnection',
|
|
51554
51622
|
'can_unlock_with_code',
|
|
51555
51623
|
'can_run_thermostat_programs',
|
|
51624
|
+
'can_simulate_hub_connection',
|
|
51625
|
+
'can_simulate_hub_disconnection',
|
|
51556
51626
|
],
|
|
51557
51627
|
type: 'string',
|
|
51558
51628
|
},
|
|
@@ -56791,6 +56861,18 @@ export default {
|
|
|
56791
56861
|
items: { $ref: '#/components/schemas/space' },
|
|
56792
56862
|
type: 'array',
|
|
56793
56863
|
},
|
|
56864
|
+
thermostat_daily_programs: {
|
|
56865
|
+
items: {
|
|
56866
|
+
$ref: '#/components/schemas/thermostat_daily_program',
|
|
56867
|
+
},
|
|
56868
|
+
type: 'array',
|
|
56869
|
+
},
|
|
56870
|
+
thermostat_schedules: {
|
|
56871
|
+
items: {
|
|
56872
|
+
$ref: '#/components/schemas/thermostat_schedule',
|
|
56873
|
+
},
|
|
56874
|
+
type: 'array',
|
|
56875
|
+
},
|
|
56794
56876
|
unmanaged_access_codes: {
|
|
56795
56877
|
items: {
|
|
56796
56878
|
$ref: '#/components/schemas/unmanaged_access_code',
|
|
@@ -56966,6 +57048,18 @@ export default {
|
|
|
56966
57048
|
items: { $ref: '#/components/schemas/space' },
|
|
56967
57049
|
type: 'array',
|
|
56968
57050
|
},
|
|
57051
|
+
thermostat_daily_programs: {
|
|
57052
|
+
items: {
|
|
57053
|
+
$ref: '#/components/schemas/thermostat_daily_program',
|
|
57054
|
+
},
|
|
57055
|
+
type: 'array',
|
|
57056
|
+
},
|
|
57057
|
+
thermostat_schedules: {
|
|
57058
|
+
items: {
|
|
57059
|
+
$ref: '#/components/schemas/thermostat_schedule',
|
|
57060
|
+
},
|
|
57061
|
+
type: 'array',
|
|
57062
|
+
},
|
|
56969
57063
|
unmanaged_access_codes: {
|
|
56970
57064
|
items: {
|
|
56971
57065
|
$ref: '#/components/schemas/unmanaged_access_code',
|
|
@@ -12904,6 +12904,8 @@ export type Routes = {
|
|
|
12904
12904
|
can_simulate_disconnection?: boolean | undefined
|
|
12905
12905
|
can_unlock_with_code?: boolean | undefined
|
|
12906
12906
|
can_run_thermostat_programs?: boolean | undefined
|
|
12907
|
+
can_simulate_hub_connection?: boolean | undefined
|
|
12908
|
+
can_simulate_hub_disconnection?: boolean | undefined
|
|
12907
12909
|
}[]
|
|
12908
12910
|
| undefined
|
|
12909
12911
|
acs_entrances?:
|
|
@@ -16681,6 +16683,8 @@ export type Routes = {
|
|
|
16681
16683
|
can_simulate_disconnection?: boolean | undefined
|
|
16682
16684
|
can_unlock_with_code?: boolean | undefined
|
|
16683
16685
|
can_run_thermostat_programs?: boolean | undefined
|
|
16686
|
+
can_simulate_hub_connection?: boolean | undefined
|
|
16687
|
+
can_simulate_hub_disconnection?: boolean | undefined
|
|
16684
16688
|
}[]
|
|
16685
16689
|
| undefined
|
|
16686
16690
|
acs_entrances?:
|
|
@@ -19871,6 +19875,8 @@ export type Routes = {
|
|
|
19871
19875
|
can_simulate_disconnection?: boolean | undefined
|
|
19872
19876
|
can_unlock_with_code?: boolean | undefined
|
|
19873
19877
|
can_run_thermostat_programs?: boolean | undefined
|
|
19878
|
+
can_simulate_hub_connection?: boolean | undefined
|
|
19879
|
+
can_simulate_hub_disconnection?: boolean | undefined
|
|
19874
19880
|
}[]
|
|
19875
19881
|
| undefined
|
|
19876
19882
|
connect_webviews?:
|
|
@@ -23306,6 +23312,58 @@ export type Routes = {
|
|
|
23306
23312
|
status: 'set'
|
|
23307
23313
|
}[]
|
|
23308
23314
|
| undefined
|
|
23315
|
+
thermostat_daily_programs?:
|
|
23316
|
+
| {
|
|
23317
|
+
/** ID of the thermostat daily program. */
|
|
23318
|
+
thermostat_daily_program_id: string
|
|
23319
|
+
/** ID of the thermostat device on which the thermostat daily program is configured. */
|
|
23320
|
+
device_id: string
|
|
23321
|
+
/** User-friendly name to identify the thermostat daily program. */
|
|
23322
|
+
name: string | null
|
|
23323
|
+
/** Array of thermostat daily program periods. */
|
|
23324
|
+
periods: {
|
|
23325
|
+
/** Time at which the thermostat daily program period starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
|
|
23326
|
+
starts_at_time: string
|
|
23327
|
+
/** Key of the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) to activate at the `starts_at_time`. */
|
|
23328
|
+
climate_preset_key: string
|
|
23329
|
+
}[]
|
|
23330
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat daily program. */
|
|
23331
|
+
workspace_id: string
|
|
23332
|
+
/** Date and time at which the thermostat daily program was created. */
|
|
23333
|
+
created_at: string
|
|
23334
|
+
}[]
|
|
23335
|
+
| undefined
|
|
23336
|
+
thermostat_schedules?:
|
|
23337
|
+
| {
|
|
23338
|
+
/** ID of the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
|
|
23339
|
+
thermostat_schedule_id: string
|
|
23340
|
+
/** ID of the desired [thermostat](https://docs.seam.co/latest/capability-guides/thermostats) device. */
|
|
23341
|
+
device_id: string
|
|
23342
|
+
/** User-friendly name to identify the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
|
|
23343
|
+
name: string | null
|
|
23344
|
+
/** Key of the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) to use for the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
|
|
23345
|
+
climate_preset_key: string
|
|
23346
|
+
/** Number of minutes for which a person at the thermostat can change the thermostat's settings after the activation of the scheduled [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets). See also [Specifying Manual Override Permissions](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules#specifying-manual-override-permissions). */
|
|
23347
|
+
max_override_period_minutes?: (number | null) | undefined
|
|
23348
|
+
/** Date and time at which the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
|
|
23349
|
+
starts_at: string
|
|
23350
|
+
/** Indicates whether a person at the thermostat can change the thermostat's settings after the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) starts. */
|
|
23351
|
+
is_override_allowed?: boolean | undefined
|
|
23352
|
+
/** Date and time at which the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
|
|
23353
|
+
ends_at: string
|
|
23354
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat schedule. */
|
|
23355
|
+
workspace_id: string
|
|
23356
|
+
/** Date and time at which the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) was created. */
|
|
23357
|
+
created_at: string
|
|
23358
|
+
/** Errors associated with the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
|
|
23359
|
+
errors: {
|
|
23360
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
23361
|
+
error_code: string
|
|
23362
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
23363
|
+
message: string
|
|
23364
|
+
}[]
|
|
23365
|
+
}[]
|
|
23366
|
+
| undefined
|
|
23309
23367
|
}
|
|
23310
23368
|
}
|
|
23311
23369
|
}
|
|
@@ -37899,6 +37957,8 @@ export type Routes = {
|
|
|
37899
37957
|
can_simulate_disconnection?: boolean | undefined
|
|
37900
37958
|
can_unlock_with_code?: boolean | undefined
|
|
37901
37959
|
can_run_thermostat_programs?: boolean | undefined
|
|
37960
|
+
can_simulate_hub_connection?: boolean | undefined
|
|
37961
|
+
can_simulate_hub_disconnection?: boolean | undefined
|
|
37902
37962
|
}
|
|
37903
37963
|
}
|
|
37904
37964
|
}
|
|
@@ -38080,6 +38140,8 @@ export type Routes = {
|
|
|
38080
38140
|
| 'can_simulate_disconnection'
|
|
38081
38141
|
| 'can_unlock_with_code'
|
|
38082
38142
|
| 'can_run_thermostat_programs'
|
|
38143
|
+
| 'can_simulate_hub_connection'
|
|
38144
|
+
| 'can_simulate_hub_disconnection'
|
|
38083
38145
|
)[]
|
|
38084
38146
|
| undefined
|
|
38085
38147
|
/** */
|
|
@@ -38098,6 +38160,8 @@ export type Routes = {
|
|
|
38098
38160
|
| 'can_simulate_disconnection'
|
|
38099
38161
|
| 'can_unlock_with_code'
|
|
38100
38162
|
| 'can_run_thermostat_programs'
|
|
38163
|
+
| 'can_simulate_hub_connection'
|
|
38164
|
+
| 'can_simulate_hub_disconnection'
|
|
38101
38165
|
)[]
|
|
38102
38166
|
| undefined
|
|
38103
38167
|
/**
|
|
@@ -39617,6 +39681,8 @@ export type Routes = {
|
|
|
39617
39681
|
can_simulate_disconnection?: boolean | undefined
|
|
39618
39682
|
can_unlock_with_code?: boolean | undefined
|
|
39619
39683
|
can_run_thermostat_programs?: boolean | undefined
|
|
39684
|
+
can_simulate_hub_connection?: boolean | undefined
|
|
39685
|
+
can_simulate_hub_disconnection?: boolean | undefined
|
|
39620
39686
|
}[]
|
|
39621
39687
|
/** Information about the current page of results. */
|
|
39622
39688
|
pagination: {
|
|
@@ -39720,6 +39786,8 @@ export type Routes = {
|
|
|
39720
39786
|
can_simulate_disconnection?: boolean | undefined
|
|
39721
39787
|
can_unlock_with_code?: boolean | undefined
|
|
39722
39788
|
can_run_thermostat_programs?: boolean | undefined
|
|
39789
|
+
can_simulate_hub_connection?: boolean | undefined
|
|
39790
|
+
can_simulate_hub_disconnection?: boolean | undefined
|
|
39723
39791
|
}[]
|
|
39724
39792
|
}
|
|
39725
39793
|
}
|
|
@@ -40265,6 +40333,8 @@ export type Routes = {
|
|
|
40265
40333
|
can_simulate_disconnection?: boolean | undefined
|
|
40266
40334
|
can_unlock_with_code?: boolean | undefined
|
|
40267
40335
|
can_run_thermostat_programs?: boolean | undefined
|
|
40336
|
+
can_simulate_hub_connection?: boolean | undefined
|
|
40337
|
+
can_simulate_hub_disconnection?: boolean | undefined
|
|
40268
40338
|
}
|
|
40269
40339
|
}
|
|
40270
40340
|
}
|
|
@@ -40446,6 +40516,8 @@ export type Routes = {
|
|
|
40446
40516
|
| 'can_simulate_disconnection'
|
|
40447
40517
|
| 'can_unlock_with_code'
|
|
40448
40518
|
| 'can_run_thermostat_programs'
|
|
40519
|
+
| 'can_simulate_hub_connection'
|
|
40520
|
+
| 'can_simulate_hub_disconnection'
|
|
40449
40521
|
)[]
|
|
40450
40522
|
| undefined
|
|
40451
40523
|
/** */
|
|
@@ -40464,6 +40536,8 @@ export type Routes = {
|
|
|
40464
40536
|
| 'can_simulate_disconnection'
|
|
40465
40537
|
| 'can_unlock_with_code'
|
|
40466
40538
|
| 'can_run_thermostat_programs'
|
|
40539
|
+
| 'can_simulate_hub_connection'
|
|
40540
|
+
| 'can_simulate_hub_disconnection'
|
|
40467
40541
|
)[]
|
|
40468
40542
|
| undefined
|
|
40469
40543
|
/**
|
|
@@ -40946,6 +41020,8 @@ export type Routes = {
|
|
|
40946
41020
|
can_simulate_disconnection?: boolean | undefined
|
|
40947
41021
|
can_unlock_with_code?: boolean | undefined
|
|
40948
41022
|
can_run_thermostat_programs?: boolean | undefined
|
|
41023
|
+
can_simulate_hub_connection?: boolean | undefined
|
|
41024
|
+
can_simulate_hub_disconnection?: boolean | undefined
|
|
40949
41025
|
}[]
|
|
40950
41026
|
}
|
|
40951
41027
|
}
|
|
@@ -47180,6 +47256,8 @@ export type Routes = {
|
|
|
47180
47256
|
can_simulate_disconnection?: boolean | undefined
|
|
47181
47257
|
can_unlock_with_code?: boolean | undefined
|
|
47182
47258
|
can_run_thermostat_programs?: boolean | undefined
|
|
47259
|
+
can_simulate_hub_connection?: boolean | undefined
|
|
47260
|
+
can_simulate_hub_disconnection?: boolean | undefined
|
|
47183
47261
|
}
|
|
47184
47262
|
/** Represents a [device](https://docs.seam.co/latest/core-concepts/devices) that has been connected to Seam. */
|
|
47185
47263
|
device: {
|
|
@@ -48687,6 +48765,8 @@ export type Routes = {
|
|
|
48687
48765
|
can_simulate_disconnection?: boolean | undefined
|
|
48688
48766
|
can_unlock_with_code?: boolean | undefined
|
|
48689
48767
|
can_run_thermostat_programs?: boolean | undefined
|
|
48768
|
+
can_simulate_hub_connection?: boolean | undefined
|
|
48769
|
+
can_simulate_hub_disconnection?: boolean | undefined
|
|
48690
48770
|
}
|
|
48691
48771
|
}
|
|
48692
48772
|
}
|
|
@@ -48832,6 +48912,8 @@ export type Routes = {
|
|
|
48832
48912
|
| 'can_simulate_disconnection'
|
|
48833
48913
|
| 'can_unlock_with_code'
|
|
48834
48914
|
| 'can_run_thermostat_programs'
|
|
48915
|
+
| 'can_simulate_hub_connection'
|
|
48916
|
+
| 'can_simulate_hub_disconnection'
|
|
48835
48917
|
)[]
|
|
48836
48918
|
| undefined
|
|
48837
48919
|
/** */
|
|
@@ -48850,6 +48932,8 @@ export type Routes = {
|
|
|
48850
48932
|
| 'can_simulate_disconnection'
|
|
48851
48933
|
| 'can_unlock_with_code'
|
|
48852
48934
|
| 'can_run_thermostat_programs'
|
|
48935
|
+
| 'can_simulate_hub_connection'
|
|
48936
|
+
| 'can_simulate_hub_disconnection'
|
|
48853
48937
|
)[]
|
|
48854
48938
|
| undefined
|
|
48855
48939
|
/**
|
|
@@ -50369,6 +50453,8 @@ export type Routes = {
|
|
|
50369
50453
|
can_simulate_disconnection?: boolean | undefined
|
|
50370
50454
|
can_unlock_with_code?: boolean | undefined
|
|
50371
50455
|
can_run_thermostat_programs?: boolean | undefined
|
|
50456
|
+
can_simulate_hub_connection?: boolean | undefined
|
|
50457
|
+
can_simulate_hub_disconnection?: boolean | undefined
|
|
50372
50458
|
}[]
|
|
50373
50459
|
devices: {
|
|
50374
50460
|
/** ID of the device. */
|
|
@@ -51875,6 +51961,8 @@ export type Routes = {
|
|
|
51875
51961
|
can_simulate_disconnection?: boolean | undefined
|
|
51876
51962
|
can_unlock_with_code?: boolean | undefined
|
|
51877
51963
|
can_run_thermostat_programs?: boolean | undefined
|
|
51964
|
+
can_simulate_hub_connection?: boolean | undefined
|
|
51965
|
+
can_simulate_hub_disconnection?: boolean | undefined
|
|
51878
51966
|
}[]
|
|
51879
51967
|
}
|
|
51880
51968
|
}
|
|
@@ -57691,6 +57779,8 @@ export type Routes = {
|
|
|
57691
57779
|
| 'can_simulate_disconnection'
|
|
57692
57780
|
| 'can_unlock_with_code'
|
|
57693
57781
|
| 'can_run_thermostat_programs'
|
|
57782
|
+
| 'can_simulate_hub_connection'
|
|
57783
|
+
| 'can_simulate_hub_disconnection'
|
|
57694
57784
|
)[]
|
|
57695
57785
|
| undefined
|
|
57696
57786
|
/** */
|
|
@@ -57709,6 +57799,8 @@ export type Routes = {
|
|
|
57709
57799
|
| 'can_simulate_disconnection'
|
|
57710
57800
|
| 'can_unlock_with_code'
|
|
57711
57801
|
| 'can_run_thermostat_programs'
|
|
57802
|
+
| 'can_simulate_hub_connection'
|
|
57803
|
+
| 'can_simulate_hub_disconnection'
|
|
57712
57804
|
)[]
|
|
57713
57805
|
| undefined
|
|
57714
57806
|
/**
|
|
@@ -59228,6 +59320,8 @@ export type Routes = {
|
|
|
59228
59320
|
can_simulate_disconnection?: boolean | undefined
|
|
59229
59321
|
can_unlock_with_code?: boolean | undefined
|
|
59230
59322
|
can_run_thermostat_programs?: boolean | undefined
|
|
59323
|
+
can_simulate_hub_connection?: boolean | undefined
|
|
59324
|
+
can_simulate_hub_disconnection?: boolean | undefined
|
|
59231
59325
|
}[]
|
|
59232
59326
|
devices: {
|
|
59233
59327
|
/** ID of the device. */
|
|
@@ -60734,6 +60828,8 @@ export type Routes = {
|
|
|
60734
60828
|
can_simulate_disconnection?: boolean | undefined
|
|
60735
60829
|
can_unlock_with_code?: boolean | undefined
|
|
60736
60830
|
can_run_thermostat_programs?: boolean | undefined
|
|
60831
|
+
can_simulate_hub_connection?: boolean | undefined
|
|
60832
|
+
can_simulate_hub_disconnection?: boolean | undefined
|
|
60737
60833
|
}[]
|
|
60738
60834
|
}
|
|
60739
60835
|
}
|
|
@@ -70701,6 +70797,8 @@ export type Routes = {
|
|
|
70701
70797
|
can_simulate_disconnection?: boolean | undefined
|
|
70702
70798
|
can_unlock_with_code?: boolean | undefined
|
|
70703
70799
|
can_run_thermostat_programs?: boolean | undefined
|
|
70800
|
+
can_simulate_hub_connection?: boolean | undefined
|
|
70801
|
+
can_simulate_hub_disconnection?: boolean | undefined
|
|
70704
70802
|
}[]
|
|
70705
70803
|
| undefined
|
|
70706
70804
|
acs_entrances?:
|
|
@@ -77237,6 +77335,8 @@ export type Routes = {
|
|
|
77237
77335
|
can_simulate_disconnection?: boolean | undefined
|
|
77238
77336
|
can_unlock_with_code?: boolean | undefined
|
|
77239
77337
|
can_run_thermostat_programs?: boolean | undefined
|
|
77338
|
+
can_simulate_hub_connection?: boolean | undefined
|
|
77339
|
+
can_simulate_hub_disconnection?: boolean | undefined
|
|
77240
77340
|
}
|
|
77241
77341
|
}
|
|
77242
77342
|
}
|
|
@@ -80212,6 +80312,8 @@ export type Routes = {
|
|
|
80212
80312
|
| 'can_simulate_disconnection'
|
|
80213
80313
|
| 'can_unlock_with_code'
|
|
80214
80314
|
| 'can_run_thermostat_programs'
|
|
80315
|
+
| 'can_simulate_hub_connection'
|
|
80316
|
+
| 'can_simulate_hub_disconnection'
|
|
80215
80317
|
)[]
|
|
80216
80318
|
| undefined
|
|
80217
80319
|
/** */
|
|
@@ -80230,6 +80332,8 @@ export type Routes = {
|
|
|
80230
80332
|
| 'can_simulate_disconnection'
|
|
80231
80333
|
| 'can_unlock_with_code'
|
|
80232
80334
|
| 'can_run_thermostat_programs'
|
|
80335
|
+
| 'can_simulate_hub_connection'
|
|
80336
|
+
| 'can_simulate_hub_disconnection'
|
|
80233
80337
|
)[]
|
|
80234
80338
|
| undefined
|
|
80235
80339
|
/**
|
|
@@ -81749,6 +81853,8 @@ export type Routes = {
|
|
|
81749
81853
|
can_simulate_disconnection?: boolean | undefined
|
|
81750
81854
|
can_unlock_with_code?: boolean | undefined
|
|
81751
81855
|
can_run_thermostat_programs?: boolean | undefined
|
|
81856
|
+
can_simulate_hub_connection?: boolean | undefined
|
|
81857
|
+
can_simulate_hub_disconnection?: boolean | undefined
|
|
81752
81858
|
}[]
|
|
81753
81859
|
devices: {
|
|
81754
81860
|
/** ID of the device. */
|
|
@@ -83255,6 +83361,8 @@ export type Routes = {
|
|
|
83255
83361
|
can_simulate_disconnection?: boolean | undefined
|
|
83256
83362
|
can_unlock_with_code?: boolean | undefined
|
|
83257
83363
|
can_run_thermostat_programs?: boolean | undefined
|
|
83364
|
+
can_simulate_hub_connection?: boolean | undefined
|
|
83365
|
+
can_simulate_hub_disconnection?: boolean | undefined
|
|
83258
83366
|
}[]
|
|
83259
83367
|
}
|
|
83260
83368
|
}
|
|
@@ -91478,6 +91586,8 @@ export type Routes = {
|
|
|
91478
91586
|
can_simulate_disconnection?: boolean | undefined
|
|
91479
91587
|
can_unlock_with_code?: boolean | undefined
|
|
91480
91588
|
can_run_thermostat_programs?: boolean | undefined
|
|
91589
|
+
can_simulate_hub_connection?: boolean | undefined
|
|
91590
|
+
can_simulate_hub_disconnection?: boolean | undefined
|
|
91481
91591
|
}[]
|
|
91482
91592
|
/**
|
|
91483
91593
|
* @deprecated Use devices.*/
|
|
@@ -92986,6 +93096,8 @@ export type Routes = {
|
|
|
92986
93096
|
can_simulate_disconnection?: boolean | undefined
|
|
92987
93097
|
can_unlock_with_code?: boolean | undefined
|
|
92988
93098
|
can_run_thermostat_programs?: boolean | undefined
|
|
93099
|
+
can_simulate_hub_connection?: boolean | undefined
|
|
93100
|
+
can_simulate_hub_disconnection?: boolean | undefined
|
|
92989
93101
|
}[]
|
|
92990
93102
|
}
|
|
92991
93103
|
}
|
|
@@ -95361,6 +95473,8 @@ export type Routes = {
|
|
|
95361
95473
|
can_simulate_disconnection?: boolean | undefined
|
|
95362
95474
|
can_unlock_with_code?: boolean | undefined
|
|
95363
95475
|
can_run_thermostat_programs?: boolean | undefined
|
|
95476
|
+
can_simulate_hub_connection?: boolean | undefined
|
|
95477
|
+
can_simulate_hub_disconnection?: boolean | undefined
|
|
95364
95478
|
}[]
|
|
95365
95479
|
| undefined
|
|
95366
95480
|
acs_entrances?:
|
|
@@ -98551,6 +98665,8 @@ export type Routes = {
|
|
|
98551
98665
|
can_simulate_disconnection?: boolean | undefined
|
|
98552
98666
|
can_unlock_with_code?: boolean | undefined
|
|
98553
98667
|
can_run_thermostat_programs?: boolean | undefined
|
|
98668
|
+
can_simulate_hub_connection?: boolean | undefined
|
|
98669
|
+
can_simulate_hub_disconnection?: boolean | undefined
|
|
98554
98670
|
}[]
|
|
98555
98671
|
| undefined
|
|
98556
98672
|
connect_webviews?:
|
|
@@ -101986,6 +102102,58 @@ export type Routes = {
|
|
|
101986
102102
|
status: 'set'
|
|
101987
102103
|
}[]
|
|
101988
102104
|
| undefined
|
|
102105
|
+
thermostat_daily_programs?:
|
|
102106
|
+
| {
|
|
102107
|
+
/** ID of the thermostat daily program. */
|
|
102108
|
+
thermostat_daily_program_id: string
|
|
102109
|
+
/** ID of the thermostat device on which the thermostat daily program is configured. */
|
|
102110
|
+
device_id: string
|
|
102111
|
+
/** User-friendly name to identify the thermostat daily program. */
|
|
102112
|
+
name: string | null
|
|
102113
|
+
/** Array of thermostat daily program periods. */
|
|
102114
|
+
periods: {
|
|
102115
|
+
/** Time at which the thermostat daily program period starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
|
|
102116
|
+
starts_at_time: string
|
|
102117
|
+
/** Key of the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) to activate at the `starts_at_time`. */
|
|
102118
|
+
climate_preset_key: string
|
|
102119
|
+
}[]
|
|
102120
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat daily program. */
|
|
102121
|
+
workspace_id: string
|
|
102122
|
+
/** Date and time at which the thermostat daily program was created. */
|
|
102123
|
+
created_at: string
|
|
102124
|
+
}[]
|
|
102125
|
+
| undefined
|
|
102126
|
+
thermostat_schedules?:
|
|
102127
|
+
| {
|
|
102128
|
+
/** ID of the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
|
|
102129
|
+
thermostat_schedule_id: string
|
|
102130
|
+
/** ID of the desired [thermostat](https://docs.seam.co/latest/capability-guides/thermostats) device. */
|
|
102131
|
+
device_id: string
|
|
102132
|
+
/** User-friendly name to identify the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
|
|
102133
|
+
name: string | null
|
|
102134
|
+
/** Key of the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) to use for the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
|
|
102135
|
+
climate_preset_key: string
|
|
102136
|
+
/** Number of minutes for which a person at the thermostat can change the thermostat's settings after the activation of the scheduled [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets). See also [Specifying Manual Override Permissions](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules#specifying-manual-override-permissions). */
|
|
102137
|
+
max_override_period_minutes?: (number | null) | undefined
|
|
102138
|
+
/** Date and time at which the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
|
|
102139
|
+
starts_at: string
|
|
102140
|
+
/** Indicates whether a person at the thermostat can change the thermostat's settings after the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) starts. */
|
|
102141
|
+
is_override_allowed?: boolean | undefined
|
|
102142
|
+
/** Date and time at which the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
|
|
102143
|
+
ends_at: string
|
|
102144
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat schedule. */
|
|
102145
|
+
workspace_id: string
|
|
102146
|
+
/** Date and time at which the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) was created. */
|
|
102147
|
+
created_at: string
|
|
102148
|
+
/** Errors associated with the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
|
|
102149
|
+
errors: {
|
|
102150
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
102151
|
+
error_code: string
|
|
102152
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
102153
|
+
message: string
|
|
102154
|
+
}[]
|
|
102155
|
+
}[]
|
|
102156
|
+
| undefined
|
|
101989
102157
|
}
|
|
101990
102158
|
}
|
|
101991
102159
|
}
|