@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
package/dist/connect.d.cts
CHANGED
|
@@ -13198,6 +13198,8 @@ declare const batch: z.ZodObject<{
|
|
|
13198
13198
|
can_simulate_disconnection: z.ZodOptional<z.ZodBoolean>;
|
|
13199
13199
|
can_unlock_with_code: z.ZodOptional<z.ZodBoolean>;
|
|
13200
13200
|
can_run_thermostat_programs: z.ZodOptional<z.ZodBoolean>;
|
|
13201
|
+
can_simulate_hub_connection: z.ZodOptional<z.ZodBoolean>;
|
|
13202
|
+
can_simulate_hub_disconnection: z.ZodOptional<z.ZodBoolean>;
|
|
13201
13203
|
}, "strip", z.ZodTypeAny, {
|
|
13202
13204
|
display_name: string;
|
|
13203
13205
|
device_id: string;
|
|
@@ -13853,6 +13855,8 @@ declare const batch: z.ZodObject<{
|
|
|
13853
13855
|
can_simulate_disconnection?: boolean | undefined;
|
|
13854
13856
|
can_unlock_with_code?: boolean | undefined;
|
|
13855
13857
|
can_run_thermostat_programs?: boolean | undefined;
|
|
13858
|
+
can_simulate_hub_connection?: boolean | undefined;
|
|
13859
|
+
can_simulate_hub_disconnection?: boolean | undefined;
|
|
13856
13860
|
nickname?: string | undefined;
|
|
13857
13861
|
}, {
|
|
13858
13862
|
display_name: string;
|
|
@@ -14509,6 +14513,8 @@ declare const batch: z.ZodObject<{
|
|
|
14509
14513
|
can_simulate_disconnection?: boolean | undefined;
|
|
14510
14514
|
can_unlock_with_code?: boolean | undefined;
|
|
14511
14515
|
can_run_thermostat_programs?: boolean | undefined;
|
|
14516
|
+
can_simulate_hub_connection?: boolean | undefined;
|
|
14517
|
+
can_simulate_hub_disconnection?: boolean | undefined;
|
|
14512
14518
|
nickname?: string | undefined;
|
|
14513
14519
|
}>, "many">>;
|
|
14514
14520
|
acs_entrances: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -23779,6 +23785,8 @@ declare const batch: z.ZodObject<{
|
|
|
23779
23785
|
can_simulate_disconnection: z.ZodOptional<z.ZodBoolean>;
|
|
23780
23786
|
can_unlock_with_code: z.ZodOptional<z.ZodBoolean>;
|
|
23781
23787
|
can_run_thermostat_programs: z.ZodOptional<z.ZodBoolean>;
|
|
23788
|
+
can_simulate_hub_connection: z.ZodOptional<z.ZodBoolean>;
|
|
23789
|
+
can_simulate_hub_disconnection: z.ZodOptional<z.ZodBoolean>;
|
|
23782
23790
|
}, "device_id" | "workspace_id" | "created_at" | "errors" | "connected_account_id" | "warnings" | "device_type" | "capabilities_supported" | "location"> & {
|
|
23783
23791
|
is_managed: z.ZodLiteral<false>;
|
|
23784
23792
|
properties: z.ZodObject<Pick<{
|
|
@@ -23929,6 +23937,8 @@ declare const batch: z.ZodObject<{
|
|
|
23929
23937
|
can_simulate_disconnection: z.ZodOptional<z.ZodBoolean>;
|
|
23930
23938
|
can_unlock_with_code: z.ZodOptional<z.ZodBoolean>;
|
|
23931
23939
|
can_run_thermostat_programs: z.ZodOptional<z.ZodBoolean>;
|
|
23940
|
+
can_simulate_hub_connection: z.ZodOptional<z.ZodBoolean>;
|
|
23941
|
+
can_simulate_hub_disconnection: z.ZodOptional<z.ZodBoolean>;
|
|
23932
23942
|
}, "strip", z.ZodTypeAny, {
|
|
23933
23943
|
device_id: string;
|
|
23934
23944
|
workspace_id: string;
|
|
@@ -24157,6 +24167,8 @@ declare const batch: z.ZodObject<{
|
|
|
24157
24167
|
can_simulate_disconnection?: boolean | undefined;
|
|
24158
24168
|
can_unlock_with_code?: boolean | undefined;
|
|
24159
24169
|
can_run_thermostat_programs?: boolean | undefined;
|
|
24170
|
+
can_simulate_hub_connection?: boolean | undefined;
|
|
24171
|
+
can_simulate_hub_disconnection?: boolean | undefined;
|
|
24160
24172
|
}, {
|
|
24161
24173
|
device_id: string;
|
|
24162
24174
|
workspace_id: string;
|
|
@@ -24385,6 +24397,8 @@ declare const batch: z.ZodObject<{
|
|
|
24385
24397
|
can_simulate_disconnection?: boolean | undefined;
|
|
24386
24398
|
can_unlock_with_code?: boolean | undefined;
|
|
24387
24399
|
can_run_thermostat_programs?: boolean | undefined;
|
|
24400
|
+
can_simulate_hub_connection?: boolean | undefined;
|
|
24401
|
+
can_simulate_hub_disconnection?: boolean | undefined;
|
|
24388
24402
|
}>, "many">>;
|
|
24389
24403
|
connect_webviews: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
24390
24404
|
connect_webview_id: z.ZodString;
|
|
@@ -30553,8 +30567,108 @@ declare const batch: z.ZodObject<{
|
|
|
30553
30567
|
starts_at?: string | null | undefined;
|
|
30554
30568
|
ends_at?: string | null | undefined;
|
|
30555
30569
|
}>, "many">>;
|
|
30570
|
+
thermostat_daily_programs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
30571
|
+
thermostat_daily_program_id: z.ZodString;
|
|
30572
|
+
device_id: z.ZodString;
|
|
30573
|
+
name: z.ZodNullable<z.ZodString>;
|
|
30574
|
+
periods: z.ZodArray<z.ZodObject<{
|
|
30575
|
+
starts_at_time: z.ZodString;
|
|
30576
|
+
climate_preset_key: z.ZodString;
|
|
30577
|
+
}, "strip", z.ZodTypeAny, {
|
|
30578
|
+
climate_preset_key: string;
|
|
30579
|
+
starts_at_time: string;
|
|
30580
|
+
}, {
|
|
30581
|
+
climate_preset_key: string;
|
|
30582
|
+
starts_at_time: string;
|
|
30583
|
+
}>, "many">;
|
|
30584
|
+
workspace_id: z.ZodString;
|
|
30585
|
+
created_at: z.ZodString;
|
|
30586
|
+
}, "strip", z.ZodTypeAny, {
|
|
30587
|
+
name: string | null;
|
|
30588
|
+
thermostat_daily_program_id: string;
|
|
30589
|
+
device_id: string;
|
|
30590
|
+
periods: {
|
|
30591
|
+
climate_preset_key: string;
|
|
30592
|
+
starts_at_time: string;
|
|
30593
|
+
}[];
|
|
30594
|
+
workspace_id: string;
|
|
30595
|
+
created_at: string;
|
|
30596
|
+
}, {
|
|
30597
|
+
name: string | null;
|
|
30598
|
+
thermostat_daily_program_id: string;
|
|
30599
|
+
device_id: string;
|
|
30600
|
+
periods: {
|
|
30601
|
+
climate_preset_key: string;
|
|
30602
|
+
starts_at_time: string;
|
|
30603
|
+
}[];
|
|
30604
|
+
workspace_id: string;
|
|
30605
|
+
created_at: string;
|
|
30606
|
+
}>, "many">>;
|
|
30607
|
+
thermostat_schedules: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
30608
|
+
thermostat_schedule_id: z.ZodString;
|
|
30609
|
+
device_id: z.ZodString;
|
|
30610
|
+
name: z.ZodNullable<z.ZodString>;
|
|
30611
|
+
climate_preset_key: z.ZodString;
|
|
30612
|
+
max_override_period_minutes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
30613
|
+
starts_at: z.ZodString;
|
|
30614
|
+
is_override_allowed: z.ZodOptional<z.ZodBoolean>;
|
|
30615
|
+
ends_at: z.ZodString;
|
|
30616
|
+
workspace_id: z.ZodString;
|
|
30617
|
+
created_at: z.ZodString;
|
|
30618
|
+
errors: z.ZodArray<z.ZodObject<{
|
|
30619
|
+
error_code: z.ZodString;
|
|
30620
|
+
message: z.ZodString;
|
|
30621
|
+
}, "strip", z.ZodTypeAny, {
|
|
30622
|
+
message: string;
|
|
30623
|
+
error_code: string;
|
|
30624
|
+
}, {
|
|
30625
|
+
message: string;
|
|
30626
|
+
error_code: string;
|
|
30627
|
+
}>, "many">;
|
|
30628
|
+
}, "strip", z.ZodTypeAny, {
|
|
30629
|
+
climate_preset_key: string;
|
|
30630
|
+
name: string | null;
|
|
30631
|
+
device_id: string;
|
|
30632
|
+
workspace_id: string;
|
|
30633
|
+
created_at: string;
|
|
30634
|
+
thermostat_schedule_id: string;
|
|
30635
|
+
starts_at: string;
|
|
30636
|
+
ends_at: string;
|
|
30637
|
+
errors: {
|
|
30638
|
+
message: string;
|
|
30639
|
+
error_code: string;
|
|
30640
|
+
}[];
|
|
30641
|
+
max_override_period_minutes?: number | null | undefined;
|
|
30642
|
+
is_override_allowed?: boolean | undefined;
|
|
30643
|
+
}, {
|
|
30644
|
+
climate_preset_key: string;
|
|
30645
|
+
name: string | null;
|
|
30646
|
+
device_id: string;
|
|
30647
|
+
workspace_id: string;
|
|
30648
|
+
created_at: string;
|
|
30649
|
+
thermostat_schedule_id: string;
|
|
30650
|
+
starts_at: string;
|
|
30651
|
+
ends_at: string;
|
|
30652
|
+
errors: {
|
|
30653
|
+
message: string;
|
|
30654
|
+
error_code: string;
|
|
30655
|
+
}[];
|
|
30656
|
+
max_override_period_minutes?: number | null | undefined;
|
|
30657
|
+
is_override_allowed?: boolean | undefined;
|
|
30658
|
+
}>, "many">>;
|
|
30556
30659
|
}, "strip", z.ZodTypeAny, {
|
|
30557
30660
|
batch_type: "spaces" | "access_grants" | "access_methods" | "workspaces";
|
|
30661
|
+
thermostat_daily_programs?: {
|
|
30662
|
+
name: string | null;
|
|
30663
|
+
thermostat_daily_program_id: string;
|
|
30664
|
+
device_id: string;
|
|
30665
|
+
periods: {
|
|
30666
|
+
climate_preset_key: string;
|
|
30667
|
+
starts_at_time: string;
|
|
30668
|
+
}[];
|
|
30669
|
+
workspace_id: string;
|
|
30670
|
+
created_at: string;
|
|
30671
|
+
}[] | undefined;
|
|
30558
30672
|
spaces?: {
|
|
30559
30673
|
name: string;
|
|
30560
30674
|
display_name: string;
|
|
@@ -31220,6 +31334,8 @@ declare const batch: z.ZodObject<{
|
|
|
31220
31334
|
can_simulate_disconnection?: boolean | undefined;
|
|
31221
31335
|
can_unlock_with_code?: boolean | undefined;
|
|
31222
31336
|
can_run_thermostat_programs?: boolean | undefined;
|
|
31337
|
+
can_simulate_hub_connection?: boolean | undefined;
|
|
31338
|
+
can_simulate_hub_disconnection?: boolean | undefined;
|
|
31223
31339
|
nickname?: string | undefined;
|
|
31224
31340
|
}[] | undefined;
|
|
31225
31341
|
acs_entrances?: {
|
|
@@ -32829,6 +32945,8 @@ declare const batch: z.ZodObject<{
|
|
|
32829
32945
|
can_simulate_disconnection?: boolean | undefined;
|
|
32830
32946
|
can_unlock_with_code?: boolean | undefined;
|
|
32831
32947
|
can_run_thermostat_programs?: boolean | undefined;
|
|
32948
|
+
can_simulate_hub_connection?: boolean | undefined;
|
|
32949
|
+
can_simulate_hub_disconnection?: boolean | undefined;
|
|
32832
32950
|
}[] | undefined;
|
|
32833
32951
|
connect_webviews?: {
|
|
32834
32952
|
status: "pending" | "failed" | "authorized";
|
|
@@ -34356,8 +34474,35 @@ declare const batch: z.ZodObject<{
|
|
|
34356
34474
|
starts_at?: string | null | undefined;
|
|
34357
34475
|
ends_at?: string | null | undefined;
|
|
34358
34476
|
}[] | undefined;
|
|
34477
|
+
thermostat_schedules?: {
|
|
34478
|
+
climate_preset_key: string;
|
|
34479
|
+
name: string | null;
|
|
34480
|
+
device_id: string;
|
|
34481
|
+
workspace_id: string;
|
|
34482
|
+
created_at: string;
|
|
34483
|
+
thermostat_schedule_id: string;
|
|
34484
|
+
starts_at: string;
|
|
34485
|
+
ends_at: string;
|
|
34486
|
+
errors: {
|
|
34487
|
+
message: string;
|
|
34488
|
+
error_code: string;
|
|
34489
|
+
}[];
|
|
34490
|
+
max_override_period_minutes?: number | null | undefined;
|
|
34491
|
+
is_override_allowed?: boolean | undefined;
|
|
34492
|
+
}[] | undefined;
|
|
34359
34493
|
}, {
|
|
34360
34494
|
batch_type: "spaces" | "access_grants" | "access_methods" | "workspaces";
|
|
34495
|
+
thermostat_daily_programs?: {
|
|
34496
|
+
name: string | null;
|
|
34497
|
+
thermostat_daily_program_id: string;
|
|
34498
|
+
device_id: string;
|
|
34499
|
+
periods: {
|
|
34500
|
+
climate_preset_key: string;
|
|
34501
|
+
starts_at_time: string;
|
|
34502
|
+
}[];
|
|
34503
|
+
workspace_id: string;
|
|
34504
|
+
created_at: string;
|
|
34505
|
+
}[] | undefined;
|
|
34361
34506
|
spaces?: {
|
|
34362
34507
|
name: string;
|
|
34363
34508
|
display_name: string;
|
|
@@ -35023,6 +35168,8 @@ declare const batch: z.ZodObject<{
|
|
|
35023
35168
|
can_simulate_disconnection?: boolean | undefined;
|
|
35024
35169
|
can_unlock_with_code?: boolean | undefined;
|
|
35025
35170
|
can_run_thermostat_programs?: boolean | undefined;
|
|
35171
|
+
can_simulate_hub_connection?: boolean | undefined;
|
|
35172
|
+
can_simulate_hub_disconnection?: boolean | undefined;
|
|
35026
35173
|
nickname?: string | undefined;
|
|
35027
35174
|
}[] | undefined;
|
|
35028
35175
|
acs_entrances?: {
|
|
@@ -36632,6 +36779,8 @@ declare const batch: z.ZodObject<{
|
|
|
36632
36779
|
can_simulate_disconnection?: boolean | undefined;
|
|
36633
36780
|
can_unlock_with_code?: boolean | undefined;
|
|
36634
36781
|
can_run_thermostat_programs?: boolean | undefined;
|
|
36782
|
+
can_simulate_hub_connection?: boolean | undefined;
|
|
36783
|
+
can_simulate_hub_disconnection?: boolean | undefined;
|
|
36635
36784
|
}[] | undefined;
|
|
36636
36785
|
connect_webviews?: {
|
|
36637
36786
|
status: "pending" | "failed" | "authorized";
|
|
@@ -38159,6 +38308,22 @@ declare const batch: z.ZodObject<{
|
|
|
38159
38308
|
starts_at?: string | null | undefined;
|
|
38160
38309
|
ends_at?: string | null | undefined;
|
|
38161
38310
|
}[] | undefined;
|
|
38311
|
+
thermostat_schedules?: {
|
|
38312
|
+
climate_preset_key: string;
|
|
38313
|
+
name: string | null;
|
|
38314
|
+
device_id: string;
|
|
38315
|
+
workspace_id: string;
|
|
38316
|
+
created_at: string;
|
|
38317
|
+
thermostat_schedule_id: string;
|
|
38318
|
+
starts_at: string;
|
|
38319
|
+
ends_at: string;
|
|
38320
|
+
errors: {
|
|
38321
|
+
message: string;
|
|
38322
|
+
error_code: string;
|
|
38323
|
+
}[];
|
|
38324
|
+
max_override_period_minutes?: number | null | undefined;
|
|
38325
|
+
is_override_allowed?: boolean | undefined;
|
|
38326
|
+
}[] | undefined;
|
|
38162
38327
|
}>;
|
|
38163
38328
|
type Batch = z.infer<typeof batch>;
|
|
38164
38329
|
|
|
@@ -42326,6 +42491,8 @@ declare const device: z.ZodObject<{
|
|
|
42326
42491
|
can_simulate_disconnection: z.ZodOptional<z.ZodBoolean>;
|
|
42327
42492
|
can_unlock_with_code: z.ZodOptional<z.ZodBoolean>;
|
|
42328
42493
|
can_run_thermostat_programs: z.ZodOptional<z.ZodBoolean>;
|
|
42494
|
+
can_simulate_hub_connection: z.ZodOptional<z.ZodBoolean>;
|
|
42495
|
+
can_simulate_hub_disconnection: z.ZodOptional<z.ZodBoolean>;
|
|
42329
42496
|
}, "strip", z.ZodTypeAny, {
|
|
42330
42497
|
display_name: string;
|
|
42331
42498
|
device_id: string;
|
|
@@ -42981,6 +43148,8 @@ declare const device: z.ZodObject<{
|
|
|
42981
43148
|
can_simulate_disconnection?: boolean | undefined;
|
|
42982
43149
|
can_unlock_with_code?: boolean | undefined;
|
|
42983
43150
|
can_run_thermostat_programs?: boolean | undefined;
|
|
43151
|
+
can_simulate_hub_connection?: boolean | undefined;
|
|
43152
|
+
can_simulate_hub_disconnection?: boolean | undefined;
|
|
42984
43153
|
nickname?: string | undefined;
|
|
42985
43154
|
}, {
|
|
42986
43155
|
display_name: string;
|
|
@@ -43637,6 +43806,8 @@ declare const device: z.ZodObject<{
|
|
|
43637
43806
|
can_simulate_disconnection?: boolean | undefined;
|
|
43638
43807
|
can_unlock_with_code?: boolean | undefined;
|
|
43639
43808
|
can_run_thermostat_programs?: boolean | undefined;
|
|
43809
|
+
can_simulate_hub_connection?: boolean | undefined;
|
|
43810
|
+
can_simulate_hub_disconnection?: boolean | undefined;
|
|
43640
43811
|
nickname?: string | undefined;
|
|
43641
43812
|
}>;
|
|
43642
43813
|
type Device = z.infer<typeof device>;
|
|
@@ -43711,6 +43882,8 @@ declare const device_provider: z.ZodObject<{
|
|
|
43711
43882
|
can_simulate_disconnection: z.ZodOptional<z.ZodBoolean>;
|
|
43712
43883
|
can_unlock_with_code: z.ZodOptional<z.ZodBoolean>;
|
|
43713
43884
|
can_run_thermostat_programs: z.ZodOptional<z.ZodBoolean>;
|
|
43885
|
+
can_simulate_hub_connection: z.ZodOptional<z.ZodBoolean>;
|
|
43886
|
+
can_simulate_hub_disconnection: z.ZodOptional<z.ZodBoolean>;
|
|
43714
43887
|
}, "strip", z.ZodTypeAny, {
|
|
43715
43888
|
display_name: string;
|
|
43716
43889
|
image_url: string;
|
|
@@ -43729,6 +43902,8 @@ declare const device_provider: z.ZodObject<{
|
|
|
43729
43902
|
can_simulate_disconnection?: boolean | undefined;
|
|
43730
43903
|
can_unlock_with_code?: boolean | undefined;
|
|
43731
43904
|
can_run_thermostat_programs?: boolean | undefined;
|
|
43905
|
+
can_simulate_hub_connection?: boolean | undefined;
|
|
43906
|
+
can_simulate_hub_disconnection?: boolean | undefined;
|
|
43732
43907
|
}, {
|
|
43733
43908
|
display_name: string;
|
|
43734
43909
|
image_url: string;
|
|
@@ -43747,6 +43922,8 @@ declare const device_provider: z.ZodObject<{
|
|
|
43747
43922
|
can_simulate_disconnection?: boolean | undefined;
|
|
43748
43923
|
can_unlock_with_code?: boolean | undefined;
|
|
43749
43924
|
can_run_thermostat_programs?: boolean | undefined;
|
|
43925
|
+
can_simulate_hub_connection?: boolean | undefined;
|
|
43926
|
+
can_simulate_hub_disconnection?: boolean | undefined;
|
|
43750
43927
|
}>;
|
|
43751
43928
|
type DeviceProvider = z.infer<typeof device_provider>;
|
|
43752
43929
|
|
|
@@ -46591,6 +46768,8 @@ declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
46591
46768
|
can_simulate_disconnection: z.ZodOptional<z.ZodBoolean>;
|
|
46592
46769
|
can_unlock_with_code: z.ZodOptional<z.ZodBoolean>;
|
|
46593
46770
|
can_run_thermostat_programs: z.ZodOptional<z.ZodBoolean>;
|
|
46771
|
+
can_simulate_hub_connection: z.ZodOptional<z.ZodBoolean>;
|
|
46772
|
+
can_simulate_hub_disconnection: z.ZodOptional<z.ZodBoolean>;
|
|
46594
46773
|
}, "device_id" | "workspace_id" | "created_at" | "errors" | "connected_account_id" | "warnings" | "device_type" | "capabilities_supported" | "location"> & {
|
|
46595
46774
|
is_managed: z.ZodLiteral<false>;
|
|
46596
46775
|
properties: z.ZodObject<Pick<{
|
|
@@ -46741,6 +46920,8 @@ declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
46741
46920
|
can_simulate_disconnection: z.ZodOptional<z.ZodBoolean>;
|
|
46742
46921
|
can_unlock_with_code: z.ZodOptional<z.ZodBoolean>;
|
|
46743
46922
|
can_run_thermostat_programs: z.ZodOptional<z.ZodBoolean>;
|
|
46923
|
+
can_simulate_hub_connection: z.ZodOptional<z.ZodBoolean>;
|
|
46924
|
+
can_simulate_hub_disconnection: z.ZodOptional<z.ZodBoolean>;
|
|
46744
46925
|
}, "strip", z.ZodTypeAny, {
|
|
46745
46926
|
device_id: string;
|
|
46746
46927
|
workspace_id: string;
|
|
@@ -46969,6 +47150,8 @@ declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
46969
47150
|
can_simulate_disconnection?: boolean | undefined;
|
|
46970
47151
|
can_unlock_with_code?: boolean | undefined;
|
|
46971
47152
|
can_run_thermostat_programs?: boolean | undefined;
|
|
47153
|
+
can_simulate_hub_connection?: boolean | undefined;
|
|
47154
|
+
can_simulate_hub_disconnection?: boolean | undefined;
|
|
46972
47155
|
}, {
|
|
46973
47156
|
device_id: string;
|
|
46974
47157
|
workspace_id: string;
|
|
@@ -47197,6 +47380,8 @@ declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
47197
47380
|
can_simulate_disconnection?: boolean | undefined;
|
|
47198
47381
|
can_unlock_with_code?: boolean | undefined;
|
|
47199
47382
|
can_run_thermostat_programs?: boolean | undefined;
|
|
47383
|
+
can_simulate_hub_connection?: boolean | undefined;
|
|
47384
|
+
can_simulate_hub_disconnection?: boolean | undefined;
|
|
47200
47385
|
}>;
|
|
47201
47386
|
type UnmanagedDevice = z.infer<typeof unmanaged_device>;
|
|
47202
47387
|
|
|
@@ -54970,6 +55155,12 @@ declare const _default: {
|
|
|
54970
55155
|
can_simulate_disconnection: {
|
|
54971
55156
|
type: string;
|
|
54972
55157
|
};
|
|
55158
|
+
can_simulate_hub_connection: {
|
|
55159
|
+
type: string;
|
|
55160
|
+
};
|
|
55161
|
+
can_simulate_hub_disconnection: {
|
|
55162
|
+
type: string;
|
|
55163
|
+
};
|
|
54973
55164
|
can_simulate_removal: {
|
|
54974
55165
|
type: string;
|
|
54975
55166
|
};
|
|
@@ -57520,6 +57711,12 @@ declare const _default: {
|
|
|
57520
57711
|
can_simulate_disconnection: {
|
|
57521
57712
|
type: string;
|
|
57522
57713
|
};
|
|
57714
|
+
can_simulate_hub_connection: {
|
|
57715
|
+
type: string;
|
|
57716
|
+
};
|
|
57717
|
+
can_simulate_hub_disconnection: {
|
|
57718
|
+
type: string;
|
|
57719
|
+
};
|
|
57523
57720
|
can_simulate_removal: {
|
|
57524
57721
|
type: string;
|
|
57525
57722
|
};
|
|
@@ -63374,6 +63571,12 @@ declare const _default: {
|
|
|
63374
63571
|
can_simulate_disconnection: {
|
|
63375
63572
|
type: string;
|
|
63376
63573
|
};
|
|
63574
|
+
can_simulate_hub_connection: {
|
|
63575
|
+
type: string;
|
|
63576
|
+
};
|
|
63577
|
+
can_simulate_hub_disconnection: {
|
|
63578
|
+
type: string;
|
|
63579
|
+
};
|
|
63377
63580
|
can_simulate_removal: {
|
|
63378
63581
|
type: string;
|
|
63379
63582
|
};
|
|
@@ -68919,6 +69122,18 @@ declare const _default: {
|
|
|
68919
69122
|
};
|
|
68920
69123
|
type: string;
|
|
68921
69124
|
};
|
|
69125
|
+
thermostat_daily_programs: {
|
|
69126
|
+
items: {
|
|
69127
|
+
$ref: string;
|
|
69128
|
+
};
|
|
69129
|
+
type: string;
|
|
69130
|
+
};
|
|
69131
|
+
thermostat_schedules: {
|
|
69132
|
+
items: {
|
|
69133
|
+
$ref: string;
|
|
69134
|
+
};
|
|
69135
|
+
type: string;
|
|
69136
|
+
};
|
|
68922
69137
|
unmanaged_access_codes: {
|
|
68923
69138
|
items: {
|
|
68924
69139
|
$ref: string;
|
|
@@ -69152,6 +69367,18 @@ declare const _default: {
|
|
|
69152
69367
|
};
|
|
69153
69368
|
type: string;
|
|
69154
69369
|
};
|
|
69370
|
+
thermostat_daily_programs: {
|
|
69371
|
+
items: {
|
|
69372
|
+
$ref: string;
|
|
69373
|
+
};
|
|
69374
|
+
type: string;
|
|
69375
|
+
};
|
|
69376
|
+
thermostat_schedules: {
|
|
69377
|
+
items: {
|
|
69378
|
+
$ref: string;
|
|
69379
|
+
};
|
|
69380
|
+
type: string;
|
|
69381
|
+
};
|
|
69155
69382
|
unmanaged_access_codes: {
|
|
69156
69383
|
items: {
|
|
69157
69384
|
$ref: string;
|
|
@@ -99428,6 +99655,18 @@ declare const _default: {
|
|
|
99428
99655
|
};
|
|
99429
99656
|
type: string;
|
|
99430
99657
|
};
|
|
99658
|
+
thermostat_daily_programs: {
|
|
99659
|
+
items: {
|
|
99660
|
+
$ref: string;
|
|
99661
|
+
};
|
|
99662
|
+
type: string;
|
|
99663
|
+
};
|
|
99664
|
+
thermostat_schedules: {
|
|
99665
|
+
items: {
|
|
99666
|
+
$ref: string;
|
|
99667
|
+
};
|
|
99668
|
+
type: string;
|
|
99669
|
+
};
|
|
99431
99670
|
unmanaged_access_codes: {
|
|
99432
99671
|
items: {
|
|
99433
99672
|
$ref: string;
|
|
@@ -99643,6 +99882,18 @@ declare const _default: {
|
|
|
99643
99882
|
};
|
|
99644
99883
|
type: string;
|
|
99645
99884
|
};
|
|
99885
|
+
thermostat_daily_programs: {
|
|
99886
|
+
items: {
|
|
99887
|
+
$ref: string;
|
|
99888
|
+
};
|
|
99889
|
+
type: string;
|
|
99890
|
+
};
|
|
99891
|
+
thermostat_schedules: {
|
|
99892
|
+
items: {
|
|
99893
|
+
$ref: string;
|
|
99894
|
+
};
|
|
99895
|
+
type: string;
|
|
99896
|
+
};
|
|
99646
99897
|
unmanaged_access_codes: {
|
|
99647
99898
|
items: {
|
|
99648
99899
|
$ref: string;
|
|
@@ -111613,6 +111864,8 @@ type Routes = {
|
|
|
111613
111864
|
can_simulate_disconnection?: boolean | undefined;
|
|
111614
111865
|
can_unlock_with_code?: boolean | undefined;
|
|
111615
111866
|
can_run_thermostat_programs?: boolean | undefined;
|
|
111867
|
+
can_simulate_hub_connection?: boolean | undefined;
|
|
111868
|
+
can_simulate_hub_disconnection?: boolean | undefined;
|
|
111616
111869
|
}[] | undefined;
|
|
111617
111870
|
acs_entrances?: {
|
|
111618
111871
|
/** ID of the [access control system](https://docs.seam.co/latest/capability-guides/access-systems) that contains the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
@@ -114759,6 +115012,8 @@ type Routes = {
|
|
|
114759
115012
|
can_simulate_disconnection?: boolean | undefined;
|
|
114760
115013
|
can_unlock_with_code?: boolean | undefined;
|
|
114761
115014
|
can_run_thermostat_programs?: boolean | undefined;
|
|
115015
|
+
can_simulate_hub_connection?: boolean | undefined;
|
|
115016
|
+
can_simulate_hub_disconnection?: boolean | undefined;
|
|
114762
115017
|
}[] | undefined;
|
|
114763
115018
|
acs_entrances?: {
|
|
114764
115019
|
/** ID of the [access control system](https://docs.seam.co/latest/capability-guides/access-systems) that contains the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
@@ -117405,6 +117660,8 @@ type Routes = {
|
|
|
117405
117660
|
can_simulate_disconnection?: boolean | undefined;
|
|
117406
117661
|
can_unlock_with_code?: boolean | undefined;
|
|
117407
117662
|
can_run_thermostat_programs?: boolean | undefined;
|
|
117663
|
+
can_simulate_hub_connection?: boolean | undefined;
|
|
117664
|
+
can_simulate_hub_disconnection?: boolean | undefined;
|
|
117408
117665
|
}[] | undefined;
|
|
117409
117666
|
connect_webviews?: {
|
|
117410
117667
|
/** ID of the Connect Webview. */
|
|
@@ -120368,6 +120625,54 @@ type Routes = {
|
|
|
120368
120625
|
/** Current status of the access code within the operational lifecycle. `set` indicates that the code is active and operational. */
|
|
120369
120626
|
status: 'set';
|
|
120370
120627
|
}[] | undefined;
|
|
120628
|
+
thermostat_daily_programs?: {
|
|
120629
|
+
/** ID of the thermostat daily program. */
|
|
120630
|
+
thermostat_daily_program_id: string;
|
|
120631
|
+
/** ID of the thermostat device on which the thermostat daily program is configured. */
|
|
120632
|
+
device_id: string;
|
|
120633
|
+
/** User-friendly name to identify the thermostat daily program. */
|
|
120634
|
+
name: string | null;
|
|
120635
|
+
/** Array of thermostat daily program periods. */
|
|
120636
|
+
periods: {
|
|
120637
|
+
/** Time at which the thermostat daily program period starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
|
|
120638
|
+
starts_at_time: string;
|
|
120639
|
+
/** 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`. */
|
|
120640
|
+
climate_preset_key: string;
|
|
120641
|
+
}[];
|
|
120642
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat daily program. */
|
|
120643
|
+
workspace_id: string;
|
|
120644
|
+
/** Date and time at which the thermostat daily program was created. */
|
|
120645
|
+
created_at: string;
|
|
120646
|
+
}[] | undefined;
|
|
120647
|
+
thermostat_schedules?: {
|
|
120648
|
+
/** ID of the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
|
|
120649
|
+
thermostat_schedule_id: string;
|
|
120650
|
+
/** ID of the desired [thermostat](https://docs.seam.co/latest/capability-guides/thermostats) device. */
|
|
120651
|
+
device_id: string;
|
|
120652
|
+
/** User-friendly name to identify the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
|
|
120653
|
+
name: string | null;
|
|
120654
|
+
/** 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). */
|
|
120655
|
+
climate_preset_key: string;
|
|
120656
|
+
/** 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). */
|
|
120657
|
+
max_override_period_minutes?: (number | null) | undefined;
|
|
120658
|
+
/** 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. */
|
|
120659
|
+
starts_at: string;
|
|
120660
|
+
/** 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. */
|
|
120661
|
+
is_override_allowed?: boolean | undefined;
|
|
120662
|
+
/** 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. */
|
|
120663
|
+
ends_at: string;
|
|
120664
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat schedule. */
|
|
120665
|
+
workspace_id: string;
|
|
120666
|
+
/** Date and time at which the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) was created. */
|
|
120667
|
+
created_at: string;
|
|
120668
|
+
/** Errors associated with the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
|
|
120669
|
+
errors: {
|
|
120670
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
120671
|
+
error_code: string;
|
|
120672
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
120673
|
+
message: string;
|
|
120674
|
+
}[];
|
|
120675
|
+
}[] | undefined;
|
|
120371
120676
|
};
|
|
120372
120677
|
};
|
|
120373
120678
|
};
|
|
@@ -132909,6 +133214,8 @@ type Routes = {
|
|
|
132909
133214
|
can_simulate_disconnection?: boolean | undefined;
|
|
132910
133215
|
can_unlock_with_code?: boolean | undefined;
|
|
132911
133216
|
can_run_thermostat_programs?: boolean | undefined;
|
|
133217
|
+
can_simulate_hub_connection?: boolean | undefined;
|
|
133218
|
+
can_simulate_hub_disconnection?: boolean | undefined;
|
|
132912
133219
|
};
|
|
132913
133220
|
};
|
|
132914
133221
|
};
|
|
@@ -132946,9 +133253,9 @@ type Routes = {
|
|
|
132946
133253
|
/** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
|
|
132947
133254
|
page_cursor?: (string | undefined) | null;
|
|
132948
133255
|
/** */
|
|
132949
|
-
include_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs')[] | undefined;
|
|
133256
|
+
include_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs' | 'can_simulate_hub_connection' | 'can_simulate_hub_disconnection')[] | undefined;
|
|
132950
133257
|
/** */
|
|
132951
|
-
exclude_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs')[] | undefined;
|
|
133258
|
+
exclude_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs' | 'can_simulate_hub_connection' | 'can_simulate_hub_disconnection')[] | undefined;
|
|
132952
133259
|
/**
|
|
132953
133260
|
* @deprecated Use `space_id`.*/
|
|
132954
133261
|
unstable_location_id?: (string | null) | undefined;
|
|
@@ -134163,6 +134470,8 @@ type Routes = {
|
|
|
134163
134470
|
can_simulate_disconnection?: boolean | undefined;
|
|
134164
134471
|
can_unlock_with_code?: boolean | undefined;
|
|
134165
134472
|
can_run_thermostat_programs?: boolean | undefined;
|
|
134473
|
+
can_simulate_hub_connection?: boolean | undefined;
|
|
134474
|
+
can_simulate_hub_disconnection?: boolean | undefined;
|
|
134166
134475
|
}[];
|
|
134167
134476
|
/** Information about the current page of results. */
|
|
134168
134477
|
pagination: {
|
|
@@ -134204,6 +134513,8 @@ type Routes = {
|
|
|
134204
134513
|
can_simulate_disconnection?: boolean | undefined;
|
|
134205
134514
|
can_unlock_with_code?: boolean | undefined;
|
|
134206
134515
|
can_run_thermostat_programs?: boolean | undefined;
|
|
134516
|
+
can_simulate_hub_connection?: boolean | undefined;
|
|
134517
|
+
can_simulate_hub_disconnection?: boolean | undefined;
|
|
134207
134518
|
}[];
|
|
134208
134519
|
};
|
|
134209
134520
|
};
|
|
@@ -134662,6 +134973,8 @@ type Routes = {
|
|
|
134662
134973
|
can_simulate_disconnection?: boolean | undefined;
|
|
134663
134974
|
can_unlock_with_code?: boolean | undefined;
|
|
134664
134975
|
can_run_thermostat_programs?: boolean | undefined;
|
|
134976
|
+
can_simulate_hub_connection?: boolean | undefined;
|
|
134977
|
+
can_simulate_hub_disconnection?: boolean | undefined;
|
|
134665
134978
|
};
|
|
134666
134979
|
};
|
|
134667
134980
|
};
|
|
@@ -134699,9 +135012,9 @@ type Routes = {
|
|
|
134699
135012
|
/** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
|
|
134700
135013
|
page_cursor?: (string | undefined) | null;
|
|
134701
135014
|
/** */
|
|
134702
|
-
include_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs')[] | undefined;
|
|
135015
|
+
include_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs' | 'can_simulate_hub_connection' | 'can_simulate_hub_disconnection')[] | undefined;
|
|
134703
135016
|
/** */
|
|
134704
|
-
exclude_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs')[] | undefined;
|
|
135017
|
+
exclude_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs' | 'can_simulate_hub_connection' | 'can_simulate_hub_disconnection')[] | undefined;
|
|
134705
135018
|
/**
|
|
134706
135019
|
* @deprecated Use `space_id`.*/
|
|
134707
135020
|
unstable_location_id?: (string | null) | undefined;
|
|
@@ -135095,6 +135408,8 @@ type Routes = {
|
|
|
135095
135408
|
can_simulate_disconnection?: boolean | undefined;
|
|
135096
135409
|
can_unlock_with_code?: boolean | undefined;
|
|
135097
135410
|
can_run_thermostat_programs?: boolean | undefined;
|
|
135411
|
+
can_simulate_hub_connection?: boolean | undefined;
|
|
135412
|
+
can_simulate_hub_disconnection?: boolean | undefined;
|
|
135098
135413
|
}[];
|
|
135099
135414
|
};
|
|
135100
135415
|
};
|
|
@@ -140171,6 +140486,8 @@ type Routes = {
|
|
|
140171
140486
|
can_simulate_disconnection?: boolean | undefined;
|
|
140172
140487
|
can_unlock_with_code?: boolean | undefined;
|
|
140173
140488
|
can_run_thermostat_programs?: boolean | undefined;
|
|
140489
|
+
can_simulate_hub_connection?: boolean | undefined;
|
|
140490
|
+
can_simulate_hub_disconnection?: boolean | undefined;
|
|
140174
140491
|
};
|
|
140175
140492
|
/** Represents a [device](https://docs.seam.co/latest/core-concepts/devices) that has been connected to Seam. */
|
|
140176
140493
|
device: {
|
|
@@ -141375,6 +141692,8 @@ type Routes = {
|
|
|
141375
141692
|
can_simulate_disconnection?: boolean | undefined;
|
|
141376
141693
|
can_unlock_with_code?: boolean | undefined;
|
|
141377
141694
|
can_run_thermostat_programs?: boolean | undefined;
|
|
141695
|
+
can_simulate_hub_connection?: boolean | undefined;
|
|
141696
|
+
can_simulate_hub_disconnection?: boolean | undefined;
|
|
141378
141697
|
};
|
|
141379
141698
|
};
|
|
141380
141699
|
};
|
|
@@ -141412,9 +141731,9 @@ type Routes = {
|
|
|
141412
141731
|
/** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
|
|
141413
141732
|
page_cursor?: (string | undefined) | null;
|
|
141414
141733
|
/** */
|
|
141415
|
-
include_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs')[] | undefined;
|
|
141734
|
+
include_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs' | 'can_simulate_hub_connection' | 'can_simulate_hub_disconnection')[] | undefined;
|
|
141416
141735
|
/** */
|
|
141417
|
-
exclude_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs')[] | undefined;
|
|
141736
|
+
exclude_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs' | 'can_simulate_hub_connection' | 'can_simulate_hub_disconnection')[] | undefined;
|
|
141418
141737
|
/**
|
|
141419
141738
|
* @deprecated Use `space_id`.*/
|
|
141420
141739
|
unstable_location_id?: (string | null) | undefined;
|
|
@@ -142629,6 +142948,8 @@ type Routes = {
|
|
|
142629
142948
|
can_simulate_disconnection?: boolean | undefined;
|
|
142630
142949
|
can_unlock_with_code?: boolean | undefined;
|
|
142631
142950
|
can_run_thermostat_programs?: boolean | undefined;
|
|
142951
|
+
can_simulate_hub_connection?: boolean | undefined;
|
|
142952
|
+
can_simulate_hub_disconnection?: boolean | undefined;
|
|
142632
142953
|
}[];
|
|
142633
142954
|
devices: {
|
|
142634
142955
|
/** ID of the device. */
|
|
@@ -143832,6 +144153,8 @@ type Routes = {
|
|
|
143832
144153
|
can_simulate_disconnection?: boolean | undefined;
|
|
143833
144154
|
can_unlock_with_code?: boolean | undefined;
|
|
143834
144155
|
can_run_thermostat_programs?: boolean | undefined;
|
|
144156
|
+
can_simulate_hub_connection?: boolean | undefined;
|
|
144157
|
+
can_simulate_hub_disconnection?: boolean | undefined;
|
|
143835
144158
|
}[];
|
|
143836
144159
|
};
|
|
143837
144160
|
};
|
|
@@ -148907,9 +149230,9 @@ type Routes = {
|
|
|
148907
149230
|
/** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
|
|
148908
149231
|
page_cursor?: (string | undefined) | null;
|
|
148909
149232
|
/** */
|
|
148910
|
-
include_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs')[] | undefined;
|
|
149233
|
+
include_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs' | 'can_simulate_hub_connection' | 'can_simulate_hub_disconnection')[] | undefined;
|
|
148911
149234
|
/** */
|
|
148912
|
-
exclude_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs')[] | undefined;
|
|
149235
|
+
exclude_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs' | 'can_simulate_hub_connection' | 'can_simulate_hub_disconnection')[] | undefined;
|
|
148913
149236
|
/**
|
|
148914
149237
|
* @deprecated Use `space_id`.*/
|
|
148915
149238
|
unstable_location_id?: (string | null) | undefined;
|
|
@@ -150124,6 +150447,8 @@ type Routes = {
|
|
|
150124
150447
|
can_simulate_disconnection?: boolean | undefined;
|
|
150125
150448
|
can_unlock_with_code?: boolean | undefined;
|
|
150126
150449
|
can_run_thermostat_programs?: boolean | undefined;
|
|
150450
|
+
can_simulate_hub_connection?: boolean | undefined;
|
|
150451
|
+
can_simulate_hub_disconnection?: boolean | undefined;
|
|
150127
150452
|
}[];
|
|
150128
150453
|
devices: {
|
|
150129
150454
|
/** ID of the device. */
|
|
@@ -151327,6 +151652,8 @@ type Routes = {
|
|
|
151327
151652
|
can_simulate_disconnection?: boolean | undefined;
|
|
151328
151653
|
can_unlock_with_code?: boolean | undefined;
|
|
151329
151654
|
can_run_thermostat_programs?: boolean | undefined;
|
|
151655
|
+
can_simulate_hub_connection?: boolean | undefined;
|
|
151656
|
+
can_simulate_hub_disconnection?: boolean | undefined;
|
|
151330
151657
|
}[];
|
|
151331
151658
|
};
|
|
151332
151659
|
};
|
|
@@ -159724,6 +160051,8 @@ type Routes = {
|
|
|
159724
160051
|
can_simulate_disconnection?: boolean | undefined;
|
|
159725
160052
|
can_unlock_with_code?: boolean | undefined;
|
|
159726
160053
|
can_run_thermostat_programs?: boolean | undefined;
|
|
160054
|
+
can_simulate_hub_connection?: boolean | undefined;
|
|
160055
|
+
can_simulate_hub_disconnection?: boolean | undefined;
|
|
159727
160056
|
}[] | undefined;
|
|
159728
160057
|
acs_entrances?: {
|
|
159729
160058
|
/** ID of the [access control system](https://docs.seam.co/latest/capability-guides/access-systems) that contains the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
@@ -165308,6 +165637,8 @@ type Routes = {
|
|
|
165308
165637
|
can_simulate_disconnection?: boolean | undefined;
|
|
165309
165638
|
can_unlock_with_code?: boolean | undefined;
|
|
165310
165639
|
can_run_thermostat_programs?: boolean | undefined;
|
|
165640
|
+
can_simulate_hub_connection?: boolean | undefined;
|
|
165641
|
+
can_simulate_hub_disconnection?: boolean | undefined;
|
|
165311
165642
|
};
|
|
165312
165643
|
};
|
|
165313
165644
|
};
|
|
@@ -167877,9 +168208,9 @@ type Routes = {
|
|
|
167877
168208
|
/** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
|
|
167878
168209
|
page_cursor?: (string | undefined) | null;
|
|
167879
168210
|
/** */
|
|
167880
|
-
include_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs')[] | undefined;
|
|
168211
|
+
include_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs' | 'can_simulate_hub_connection' | 'can_simulate_hub_disconnection')[] | undefined;
|
|
167881
168212
|
/** */
|
|
167882
|
-
exclude_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs')[] | undefined;
|
|
168213
|
+
exclude_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs' | 'can_simulate_hub_connection' | 'can_simulate_hub_disconnection')[] | undefined;
|
|
167883
168214
|
/**
|
|
167884
168215
|
* @deprecated Use `space_id`.*/
|
|
167885
168216
|
unstable_location_id?: (string | null) | undefined;
|
|
@@ -169094,6 +169425,8 @@ type Routes = {
|
|
|
169094
169425
|
can_simulate_disconnection?: boolean | undefined;
|
|
169095
169426
|
can_unlock_with_code?: boolean | undefined;
|
|
169096
169427
|
can_run_thermostat_programs?: boolean | undefined;
|
|
169428
|
+
can_simulate_hub_connection?: boolean | undefined;
|
|
169429
|
+
can_simulate_hub_disconnection?: boolean | undefined;
|
|
169097
169430
|
}[];
|
|
169098
169431
|
devices: {
|
|
169099
169432
|
/** ID of the device. */
|
|
@@ -170297,6 +170630,8 @@ type Routes = {
|
|
|
170297
170630
|
can_simulate_disconnection?: boolean | undefined;
|
|
170298
170631
|
can_unlock_with_code?: boolean | undefined;
|
|
170299
170632
|
can_run_thermostat_programs?: boolean | undefined;
|
|
170633
|
+
can_simulate_hub_connection?: boolean | undefined;
|
|
170634
|
+
can_simulate_hub_disconnection?: boolean | undefined;
|
|
170300
170635
|
}[];
|
|
170301
170636
|
};
|
|
170302
170637
|
};
|
|
@@ -177441,6 +177776,8 @@ type Routes = {
|
|
|
177441
177776
|
can_simulate_disconnection?: boolean | undefined;
|
|
177442
177777
|
can_unlock_with_code?: boolean | undefined;
|
|
177443
177778
|
can_run_thermostat_programs?: boolean | undefined;
|
|
177779
|
+
can_simulate_hub_connection?: boolean | undefined;
|
|
177780
|
+
can_simulate_hub_disconnection?: boolean | undefined;
|
|
177444
177781
|
}[];
|
|
177445
177782
|
/**
|
|
177446
177783
|
* @deprecated Use devices.*/
|
|
@@ -178646,6 +178983,8 @@ type Routes = {
|
|
|
178646
178983
|
can_simulate_disconnection?: boolean | undefined;
|
|
178647
178984
|
can_unlock_with_code?: boolean | undefined;
|
|
178648
178985
|
can_run_thermostat_programs?: boolean | undefined;
|
|
178986
|
+
can_simulate_hub_connection?: boolean | undefined;
|
|
178987
|
+
can_simulate_hub_disconnection?: boolean | undefined;
|
|
178649
178988
|
}[];
|
|
178650
178989
|
};
|
|
178651
178990
|
};
|
|
@@ -180610,6 +180949,8 @@ type Routes = {
|
|
|
180610
180949
|
can_simulate_disconnection?: boolean | undefined;
|
|
180611
180950
|
can_unlock_with_code?: boolean | undefined;
|
|
180612
180951
|
can_run_thermostat_programs?: boolean | undefined;
|
|
180952
|
+
can_simulate_hub_connection?: boolean | undefined;
|
|
180953
|
+
can_simulate_hub_disconnection?: boolean | undefined;
|
|
180613
180954
|
}[] | undefined;
|
|
180614
180955
|
acs_entrances?: {
|
|
180615
180956
|
/** ID of the [access control system](https://docs.seam.co/latest/capability-guides/access-systems) that contains the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
@@ -183256,6 +183597,8 @@ type Routes = {
|
|
|
183256
183597
|
can_simulate_disconnection?: boolean | undefined;
|
|
183257
183598
|
can_unlock_with_code?: boolean | undefined;
|
|
183258
183599
|
can_run_thermostat_programs?: boolean | undefined;
|
|
183600
|
+
can_simulate_hub_connection?: boolean | undefined;
|
|
183601
|
+
can_simulate_hub_disconnection?: boolean | undefined;
|
|
183259
183602
|
}[] | undefined;
|
|
183260
183603
|
connect_webviews?: {
|
|
183261
183604
|
/** ID of the Connect Webview. */
|
|
@@ -186219,6 +186562,54 @@ type Routes = {
|
|
|
186219
186562
|
/** Current status of the access code within the operational lifecycle. `set` indicates that the code is active and operational. */
|
|
186220
186563
|
status: 'set';
|
|
186221
186564
|
}[] | undefined;
|
|
186565
|
+
thermostat_daily_programs?: {
|
|
186566
|
+
/** ID of the thermostat daily program. */
|
|
186567
|
+
thermostat_daily_program_id: string;
|
|
186568
|
+
/** ID of the thermostat device on which the thermostat daily program is configured. */
|
|
186569
|
+
device_id: string;
|
|
186570
|
+
/** User-friendly name to identify the thermostat daily program. */
|
|
186571
|
+
name: string | null;
|
|
186572
|
+
/** Array of thermostat daily program periods. */
|
|
186573
|
+
periods: {
|
|
186574
|
+
/** Time at which the thermostat daily program period starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
|
|
186575
|
+
starts_at_time: string;
|
|
186576
|
+
/** 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`. */
|
|
186577
|
+
climate_preset_key: string;
|
|
186578
|
+
}[];
|
|
186579
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat daily program. */
|
|
186580
|
+
workspace_id: string;
|
|
186581
|
+
/** Date and time at which the thermostat daily program was created. */
|
|
186582
|
+
created_at: string;
|
|
186583
|
+
}[] | undefined;
|
|
186584
|
+
thermostat_schedules?: {
|
|
186585
|
+
/** ID of the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
|
|
186586
|
+
thermostat_schedule_id: string;
|
|
186587
|
+
/** ID of the desired [thermostat](https://docs.seam.co/latest/capability-guides/thermostats) device. */
|
|
186588
|
+
device_id: string;
|
|
186589
|
+
/** User-friendly name to identify the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
|
|
186590
|
+
name: string | null;
|
|
186591
|
+
/** 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). */
|
|
186592
|
+
climate_preset_key: string;
|
|
186593
|
+
/** 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). */
|
|
186594
|
+
max_override_period_minutes?: (number | null) | undefined;
|
|
186595
|
+
/** 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. */
|
|
186596
|
+
starts_at: string;
|
|
186597
|
+
/** 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. */
|
|
186598
|
+
is_override_allowed?: boolean | undefined;
|
|
186599
|
+
/** 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. */
|
|
186600
|
+
ends_at: string;
|
|
186601
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat schedule. */
|
|
186602
|
+
workspace_id: string;
|
|
186603
|
+
/** Date and time at which the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) was created. */
|
|
186604
|
+
created_at: string;
|
|
186605
|
+
/** Errors associated with the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
|
|
186606
|
+
errors: {
|
|
186607
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
186608
|
+
error_code: string;
|
|
186609
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
186610
|
+
message: string;
|
|
186611
|
+
}[];
|
|
186612
|
+
}[] | undefined;
|
|
186222
186613
|
};
|
|
186223
186614
|
};
|
|
186224
186615
|
};
|