@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
|
@@ -2870,6 +2870,8 @@ export declare const spaces_batch: z.ZodObject<{
|
|
|
2870
2870
|
can_simulate_disconnection: z.ZodOptional<z.ZodBoolean>;
|
|
2871
2871
|
can_unlock_with_code: z.ZodOptional<z.ZodBoolean>;
|
|
2872
2872
|
can_run_thermostat_programs: z.ZodOptional<z.ZodBoolean>;
|
|
2873
|
+
can_simulate_hub_connection: z.ZodOptional<z.ZodBoolean>;
|
|
2874
|
+
can_simulate_hub_disconnection: z.ZodOptional<z.ZodBoolean>;
|
|
2873
2875
|
}, "strip", z.ZodTypeAny, {
|
|
2874
2876
|
display_name: string;
|
|
2875
2877
|
device_id: string;
|
|
@@ -3525,6 +3527,8 @@ export declare const spaces_batch: z.ZodObject<{
|
|
|
3525
3527
|
can_simulate_disconnection?: boolean | undefined;
|
|
3526
3528
|
can_unlock_with_code?: boolean | undefined;
|
|
3527
3529
|
can_run_thermostat_programs?: boolean | undefined;
|
|
3530
|
+
can_simulate_hub_connection?: boolean | undefined;
|
|
3531
|
+
can_simulate_hub_disconnection?: boolean | undefined;
|
|
3528
3532
|
nickname?: string | undefined;
|
|
3529
3533
|
}, {
|
|
3530
3534
|
display_name: string;
|
|
@@ -4181,6 +4185,8 @@ export declare const spaces_batch: z.ZodObject<{
|
|
|
4181
4185
|
can_simulate_disconnection?: boolean | undefined;
|
|
4182
4186
|
can_unlock_with_code?: boolean | undefined;
|
|
4183
4187
|
can_run_thermostat_programs?: boolean | undefined;
|
|
4188
|
+
can_simulate_hub_connection?: boolean | undefined;
|
|
4189
|
+
can_simulate_hub_disconnection?: boolean | undefined;
|
|
4184
4190
|
nickname?: string | undefined;
|
|
4185
4191
|
}>, "many">>;
|
|
4186
4192
|
acs_entrances: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -5789,6 +5795,8 @@ export declare const spaces_batch: z.ZodObject<{
|
|
|
5789
5795
|
can_simulate_disconnection?: boolean | undefined;
|
|
5790
5796
|
can_unlock_with_code?: boolean | undefined;
|
|
5791
5797
|
can_run_thermostat_programs?: boolean | undefined;
|
|
5798
|
+
can_simulate_hub_connection?: boolean | undefined;
|
|
5799
|
+
can_simulate_hub_disconnection?: boolean | undefined;
|
|
5792
5800
|
nickname?: string | undefined;
|
|
5793
5801
|
}[] | undefined;
|
|
5794
5802
|
acs_entrances?: {
|
|
@@ -6654,6 +6662,8 @@ export declare const spaces_batch: z.ZodObject<{
|
|
|
6654
6662
|
can_simulate_disconnection?: boolean | undefined;
|
|
6655
6663
|
can_unlock_with_code?: boolean | undefined;
|
|
6656
6664
|
can_run_thermostat_programs?: boolean | undefined;
|
|
6665
|
+
can_simulate_hub_connection?: boolean | undefined;
|
|
6666
|
+
can_simulate_hub_disconnection?: boolean | undefined;
|
|
6657
6667
|
nickname?: string | undefined;
|
|
6658
6668
|
}[] | undefined;
|
|
6659
6669
|
acs_entrances?: {
|
|
@@ -9724,6 +9734,8 @@ export declare const access_grants_batch: z.ZodObject<{
|
|
|
9724
9734
|
can_simulate_disconnection: z.ZodOptional<z.ZodBoolean>;
|
|
9725
9735
|
can_unlock_with_code: z.ZodOptional<z.ZodBoolean>;
|
|
9726
9736
|
can_run_thermostat_programs: z.ZodOptional<z.ZodBoolean>;
|
|
9737
|
+
can_simulate_hub_connection: z.ZodOptional<z.ZodBoolean>;
|
|
9738
|
+
can_simulate_hub_disconnection: z.ZodOptional<z.ZodBoolean>;
|
|
9727
9739
|
}, "strip", z.ZodTypeAny, {
|
|
9728
9740
|
display_name: string;
|
|
9729
9741
|
device_id: string;
|
|
@@ -10379,6 +10391,8 @@ export declare const access_grants_batch: z.ZodObject<{
|
|
|
10379
10391
|
can_simulate_disconnection?: boolean | undefined;
|
|
10380
10392
|
can_unlock_with_code?: boolean | undefined;
|
|
10381
10393
|
can_run_thermostat_programs?: boolean | undefined;
|
|
10394
|
+
can_simulate_hub_connection?: boolean | undefined;
|
|
10395
|
+
can_simulate_hub_disconnection?: boolean | undefined;
|
|
10382
10396
|
nickname?: string | undefined;
|
|
10383
10397
|
}, {
|
|
10384
10398
|
display_name: string;
|
|
@@ -11035,6 +11049,8 @@ export declare const access_grants_batch: z.ZodObject<{
|
|
|
11035
11049
|
can_simulate_disconnection?: boolean | undefined;
|
|
11036
11050
|
can_unlock_with_code?: boolean | undefined;
|
|
11037
11051
|
can_run_thermostat_programs?: boolean | undefined;
|
|
11052
|
+
can_simulate_hub_connection?: boolean | undefined;
|
|
11053
|
+
can_simulate_hub_disconnection?: boolean | undefined;
|
|
11038
11054
|
nickname?: string | undefined;
|
|
11039
11055
|
}>, "many">>;
|
|
11040
11056
|
acs_entrances: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -12818,6 +12834,8 @@ export declare const access_grants_batch: z.ZodObject<{
|
|
|
12818
12834
|
can_simulate_disconnection?: boolean | undefined;
|
|
12819
12835
|
can_unlock_with_code?: boolean | undefined;
|
|
12820
12836
|
can_run_thermostat_programs?: boolean | undefined;
|
|
12837
|
+
can_simulate_hub_connection?: boolean | undefined;
|
|
12838
|
+
can_simulate_hub_disconnection?: boolean | undefined;
|
|
12821
12839
|
nickname?: string | undefined;
|
|
12822
12840
|
}[] | undefined;
|
|
12823
12841
|
acs_entrances?: {
|
|
@@ -13729,6 +13747,8 @@ export declare const access_grants_batch: z.ZodObject<{
|
|
|
13729
13747
|
can_simulate_disconnection?: boolean | undefined;
|
|
13730
13748
|
can_unlock_with_code?: boolean | undefined;
|
|
13731
13749
|
can_run_thermostat_programs?: boolean | undefined;
|
|
13750
|
+
can_simulate_hub_connection?: boolean | undefined;
|
|
13751
|
+
can_simulate_hub_disconnection?: boolean | undefined;
|
|
13732
13752
|
nickname?: string | undefined;
|
|
13733
13753
|
}[] | undefined;
|
|
13734
13754
|
acs_entrances?: {
|
|
@@ -16845,6 +16865,8 @@ export declare const access_methods_batch: z.ZodObject<{
|
|
|
16845
16865
|
can_simulate_disconnection: z.ZodOptional<z.ZodBoolean>;
|
|
16846
16866
|
can_unlock_with_code: z.ZodOptional<z.ZodBoolean>;
|
|
16847
16867
|
can_run_thermostat_programs: z.ZodOptional<z.ZodBoolean>;
|
|
16868
|
+
can_simulate_hub_connection: z.ZodOptional<z.ZodBoolean>;
|
|
16869
|
+
can_simulate_hub_disconnection: z.ZodOptional<z.ZodBoolean>;
|
|
16848
16870
|
}, "strip", z.ZodTypeAny, {
|
|
16849
16871
|
display_name: string;
|
|
16850
16872
|
device_id: string;
|
|
@@ -17500,6 +17522,8 @@ export declare const access_methods_batch: z.ZodObject<{
|
|
|
17500
17522
|
can_simulate_disconnection?: boolean | undefined;
|
|
17501
17523
|
can_unlock_with_code?: boolean | undefined;
|
|
17502
17524
|
can_run_thermostat_programs?: boolean | undefined;
|
|
17525
|
+
can_simulate_hub_connection?: boolean | undefined;
|
|
17526
|
+
can_simulate_hub_disconnection?: boolean | undefined;
|
|
17503
17527
|
nickname?: string | undefined;
|
|
17504
17528
|
}, {
|
|
17505
17529
|
display_name: string;
|
|
@@ -18156,6 +18180,8 @@ export declare const access_methods_batch: z.ZodObject<{
|
|
|
18156
18180
|
can_simulate_disconnection?: boolean | undefined;
|
|
18157
18181
|
can_unlock_with_code?: boolean | undefined;
|
|
18158
18182
|
can_run_thermostat_programs?: boolean | undefined;
|
|
18183
|
+
can_simulate_hub_connection?: boolean | undefined;
|
|
18184
|
+
can_simulate_hub_disconnection?: boolean | undefined;
|
|
18159
18185
|
nickname?: string | undefined;
|
|
18160
18186
|
}>, "many">>;
|
|
18161
18187
|
acs_entrances: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -19089,6 +19115,8 @@ export declare const access_methods_batch: z.ZodObject<{
|
|
|
19089
19115
|
can_simulate_disconnection?: boolean | undefined;
|
|
19090
19116
|
can_unlock_with_code?: boolean | undefined;
|
|
19091
19117
|
can_run_thermostat_programs?: boolean | undefined;
|
|
19118
|
+
can_simulate_hub_connection?: boolean | undefined;
|
|
19119
|
+
can_simulate_hub_disconnection?: boolean | undefined;
|
|
19092
19120
|
nickname?: string | undefined;
|
|
19093
19121
|
}[] | undefined;
|
|
19094
19122
|
acs_entrances?: {
|
|
@@ -19817,6 +19845,8 @@ export declare const access_methods_batch: z.ZodObject<{
|
|
|
19817
19845
|
can_simulate_disconnection?: boolean | undefined;
|
|
19818
19846
|
can_unlock_with_code?: boolean | undefined;
|
|
19819
19847
|
can_run_thermostat_programs?: boolean | undefined;
|
|
19848
|
+
can_simulate_hub_connection?: boolean | undefined;
|
|
19849
|
+
can_simulate_hub_disconnection?: boolean | undefined;
|
|
19820
19850
|
nickname?: string | undefined;
|
|
19821
19851
|
}[] | undefined;
|
|
19822
19852
|
acs_entrances?: {
|
|
@@ -22915,6 +22945,8 @@ export declare const workspaces_batch: z.ZodObject<{
|
|
|
22915
22945
|
can_simulate_disconnection: z.ZodOptional<z.ZodBoolean>;
|
|
22916
22946
|
can_unlock_with_code: z.ZodOptional<z.ZodBoolean>;
|
|
22917
22947
|
can_run_thermostat_programs: z.ZodOptional<z.ZodBoolean>;
|
|
22948
|
+
can_simulate_hub_connection: z.ZodOptional<z.ZodBoolean>;
|
|
22949
|
+
can_simulate_hub_disconnection: z.ZodOptional<z.ZodBoolean>;
|
|
22918
22950
|
}, "strip", z.ZodTypeAny, {
|
|
22919
22951
|
display_name: string;
|
|
22920
22952
|
device_id: string;
|
|
@@ -23570,6 +23602,8 @@ export declare const workspaces_batch: z.ZodObject<{
|
|
|
23570
23602
|
can_simulate_disconnection?: boolean | undefined;
|
|
23571
23603
|
can_unlock_with_code?: boolean | undefined;
|
|
23572
23604
|
can_run_thermostat_programs?: boolean | undefined;
|
|
23605
|
+
can_simulate_hub_connection?: boolean | undefined;
|
|
23606
|
+
can_simulate_hub_disconnection?: boolean | undefined;
|
|
23573
23607
|
nickname?: string | undefined;
|
|
23574
23608
|
}, {
|
|
23575
23609
|
display_name: string;
|
|
@@ -24226,6 +24260,8 @@ export declare const workspaces_batch: z.ZodObject<{
|
|
|
24226
24260
|
can_simulate_disconnection?: boolean | undefined;
|
|
24227
24261
|
can_unlock_with_code?: boolean | undefined;
|
|
24228
24262
|
can_run_thermostat_programs?: boolean | undefined;
|
|
24263
|
+
can_simulate_hub_connection?: boolean | undefined;
|
|
24264
|
+
can_simulate_hub_disconnection?: boolean | undefined;
|
|
24229
24265
|
nickname?: string | undefined;
|
|
24230
24266
|
}>, "many">>;
|
|
24231
24267
|
acs_entrances: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -33496,6 +33532,8 @@ export declare const workspaces_batch: z.ZodObject<{
|
|
|
33496
33532
|
can_simulate_disconnection: z.ZodOptional<z.ZodBoolean>;
|
|
33497
33533
|
can_unlock_with_code: z.ZodOptional<z.ZodBoolean>;
|
|
33498
33534
|
can_run_thermostat_programs: z.ZodOptional<z.ZodBoolean>;
|
|
33535
|
+
can_simulate_hub_connection: z.ZodOptional<z.ZodBoolean>;
|
|
33536
|
+
can_simulate_hub_disconnection: z.ZodOptional<z.ZodBoolean>;
|
|
33499
33537
|
}, "device_id" | "workspace_id" | "created_at" | "errors" | "connected_account_id" | "warnings" | "device_type" | "capabilities_supported" | "location"> & {
|
|
33500
33538
|
is_managed: z.ZodLiteral<false>;
|
|
33501
33539
|
properties: z.ZodObject<Pick<{
|
|
@@ -33646,6 +33684,8 @@ export declare const workspaces_batch: z.ZodObject<{
|
|
|
33646
33684
|
can_simulate_disconnection: z.ZodOptional<z.ZodBoolean>;
|
|
33647
33685
|
can_unlock_with_code: z.ZodOptional<z.ZodBoolean>;
|
|
33648
33686
|
can_run_thermostat_programs: z.ZodOptional<z.ZodBoolean>;
|
|
33687
|
+
can_simulate_hub_connection: z.ZodOptional<z.ZodBoolean>;
|
|
33688
|
+
can_simulate_hub_disconnection: z.ZodOptional<z.ZodBoolean>;
|
|
33649
33689
|
}, "strip", z.ZodTypeAny, {
|
|
33650
33690
|
device_id: string;
|
|
33651
33691
|
workspace_id: string;
|
|
@@ -33874,6 +33914,8 @@ export declare const workspaces_batch: z.ZodObject<{
|
|
|
33874
33914
|
can_simulate_disconnection?: boolean | undefined;
|
|
33875
33915
|
can_unlock_with_code?: boolean | undefined;
|
|
33876
33916
|
can_run_thermostat_programs?: boolean | undefined;
|
|
33917
|
+
can_simulate_hub_connection?: boolean | undefined;
|
|
33918
|
+
can_simulate_hub_disconnection?: boolean | undefined;
|
|
33877
33919
|
}, {
|
|
33878
33920
|
device_id: string;
|
|
33879
33921
|
workspace_id: string;
|
|
@@ -34102,6 +34144,8 @@ export declare const workspaces_batch: z.ZodObject<{
|
|
|
34102
34144
|
can_simulate_disconnection?: boolean | undefined;
|
|
34103
34145
|
can_unlock_with_code?: boolean | undefined;
|
|
34104
34146
|
can_run_thermostat_programs?: boolean | undefined;
|
|
34147
|
+
can_simulate_hub_connection?: boolean | undefined;
|
|
34148
|
+
can_simulate_hub_disconnection?: boolean | undefined;
|
|
34105
34149
|
}>, "many">>;
|
|
34106
34150
|
connected_accounts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
34107
34151
|
connected_account_id: z.ZodString;
|
|
@@ -40652,8 +40696,108 @@ export declare const workspaces_batch: z.ZodObject<{
|
|
|
40652
40696
|
starts_at?: string | null | undefined;
|
|
40653
40697
|
ends_at?: string | null | undefined;
|
|
40654
40698
|
}>, "many">>;
|
|
40699
|
+
thermostat_daily_programs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
40700
|
+
thermostat_daily_program_id: z.ZodString;
|
|
40701
|
+
device_id: z.ZodString;
|
|
40702
|
+
name: z.ZodNullable<z.ZodString>;
|
|
40703
|
+
periods: z.ZodArray<z.ZodObject<{
|
|
40704
|
+
starts_at_time: z.ZodString;
|
|
40705
|
+
climate_preset_key: z.ZodString;
|
|
40706
|
+
}, "strip", z.ZodTypeAny, {
|
|
40707
|
+
climate_preset_key: string;
|
|
40708
|
+
starts_at_time: string;
|
|
40709
|
+
}, {
|
|
40710
|
+
climate_preset_key: string;
|
|
40711
|
+
starts_at_time: string;
|
|
40712
|
+
}>, "many">;
|
|
40713
|
+
workspace_id: z.ZodString;
|
|
40714
|
+
created_at: z.ZodString;
|
|
40715
|
+
}, "strip", z.ZodTypeAny, {
|
|
40716
|
+
name: string | null;
|
|
40717
|
+
thermostat_daily_program_id: string;
|
|
40718
|
+
device_id: string;
|
|
40719
|
+
periods: {
|
|
40720
|
+
climate_preset_key: string;
|
|
40721
|
+
starts_at_time: string;
|
|
40722
|
+
}[];
|
|
40723
|
+
workspace_id: string;
|
|
40724
|
+
created_at: string;
|
|
40725
|
+
}, {
|
|
40726
|
+
name: string | null;
|
|
40727
|
+
thermostat_daily_program_id: string;
|
|
40728
|
+
device_id: string;
|
|
40729
|
+
periods: {
|
|
40730
|
+
climate_preset_key: string;
|
|
40731
|
+
starts_at_time: string;
|
|
40732
|
+
}[];
|
|
40733
|
+
workspace_id: string;
|
|
40734
|
+
created_at: string;
|
|
40735
|
+
}>, "many">>;
|
|
40736
|
+
thermostat_schedules: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
40737
|
+
thermostat_schedule_id: z.ZodString;
|
|
40738
|
+
device_id: z.ZodString;
|
|
40739
|
+
name: z.ZodNullable<z.ZodString>;
|
|
40740
|
+
climate_preset_key: z.ZodString;
|
|
40741
|
+
max_override_period_minutes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
40742
|
+
starts_at: z.ZodString;
|
|
40743
|
+
is_override_allowed: z.ZodOptional<z.ZodBoolean>;
|
|
40744
|
+
ends_at: z.ZodString;
|
|
40745
|
+
workspace_id: z.ZodString;
|
|
40746
|
+
created_at: z.ZodString;
|
|
40747
|
+
errors: z.ZodArray<z.ZodObject<{
|
|
40748
|
+
error_code: z.ZodString;
|
|
40749
|
+
message: z.ZodString;
|
|
40750
|
+
}, "strip", z.ZodTypeAny, {
|
|
40751
|
+
message: string;
|
|
40752
|
+
error_code: string;
|
|
40753
|
+
}, {
|
|
40754
|
+
message: string;
|
|
40755
|
+
error_code: string;
|
|
40756
|
+
}>, "many">;
|
|
40757
|
+
}, "strip", z.ZodTypeAny, {
|
|
40758
|
+
climate_preset_key: string;
|
|
40759
|
+
name: string | null;
|
|
40760
|
+
device_id: string;
|
|
40761
|
+
workspace_id: string;
|
|
40762
|
+
created_at: string;
|
|
40763
|
+
thermostat_schedule_id: string;
|
|
40764
|
+
starts_at: string;
|
|
40765
|
+
ends_at: string;
|
|
40766
|
+
errors: {
|
|
40767
|
+
message: string;
|
|
40768
|
+
error_code: string;
|
|
40769
|
+
}[];
|
|
40770
|
+
max_override_period_minutes?: number | null | undefined;
|
|
40771
|
+
is_override_allowed?: boolean | undefined;
|
|
40772
|
+
}, {
|
|
40773
|
+
climate_preset_key: string;
|
|
40774
|
+
name: string | null;
|
|
40775
|
+
device_id: string;
|
|
40776
|
+
workspace_id: string;
|
|
40777
|
+
created_at: string;
|
|
40778
|
+
thermostat_schedule_id: string;
|
|
40779
|
+
starts_at: string;
|
|
40780
|
+
ends_at: string;
|
|
40781
|
+
errors: {
|
|
40782
|
+
message: string;
|
|
40783
|
+
error_code: string;
|
|
40784
|
+
}[];
|
|
40785
|
+
max_override_period_minutes?: number | null | undefined;
|
|
40786
|
+
is_override_allowed?: boolean | undefined;
|
|
40787
|
+
}>, "many">>;
|
|
40655
40788
|
}, "strip", z.ZodTypeAny, {
|
|
40656
40789
|
batch_type: "workspaces";
|
|
40790
|
+
thermostat_daily_programs?: {
|
|
40791
|
+
name: string | null;
|
|
40792
|
+
thermostat_daily_program_id: string;
|
|
40793
|
+
device_id: string;
|
|
40794
|
+
periods: {
|
|
40795
|
+
climate_preset_key: string;
|
|
40796
|
+
starts_at_time: string;
|
|
40797
|
+
}[];
|
|
40798
|
+
workspace_id: string;
|
|
40799
|
+
created_at: string;
|
|
40800
|
+
}[] | undefined;
|
|
40657
40801
|
spaces?: {
|
|
40658
40802
|
name: string;
|
|
40659
40803
|
display_name: string;
|
|
@@ -41319,6 +41463,8 @@ export declare const workspaces_batch: z.ZodObject<{
|
|
|
41319
41463
|
can_simulate_disconnection?: boolean | undefined;
|
|
41320
41464
|
can_unlock_with_code?: boolean | undefined;
|
|
41321
41465
|
can_run_thermostat_programs?: boolean | undefined;
|
|
41466
|
+
can_simulate_hub_connection?: boolean | undefined;
|
|
41467
|
+
can_simulate_hub_disconnection?: boolean | undefined;
|
|
41322
41468
|
nickname?: string | undefined;
|
|
41323
41469
|
}[] | undefined;
|
|
41324
41470
|
acs_entrances?: {
|
|
@@ -42999,6 +43145,8 @@ export declare const workspaces_batch: z.ZodObject<{
|
|
|
42999
43145
|
can_simulate_disconnection?: boolean | undefined;
|
|
43000
43146
|
can_unlock_with_code?: boolean | undefined;
|
|
43001
43147
|
can_run_thermostat_programs?: boolean | undefined;
|
|
43148
|
+
can_simulate_hub_connection?: boolean | undefined;
|
|
43149
|
+
can_simulate_hub_disconnection?: boolean | undefined;
|
|
43002
43150
|
}[] | undefined;
|
|
43003
43151
|
connect_webviews?: {
|
|
43004
43152
|
status: "pending" | "failed" | "authorized";
|
|
@@ -44526,8 +44674,35 @@ export declare const workspaces_batch: z.ZodObject<{
|
|
|
44526
44674
|
starts_at?: string | null | undefined;
|
|
44527
44675
|
ends_at?: string | null | undefined;
|
|
44528
44676
|
}[] | undefined;
|
|
44677
|
+
thermostat_schedules?: {
|
|
44678
|
+
climate_preset_key: string;
|
|
44679
|
+
name: string | null;
|
|
44680
|
+
device_id: string;
|
|
44681
|
+
workspace_id: string;
|
|
44682
|
+
created_at: string;
|
|
44683
|
+
thermostat_schedule_id: string;
|
|
44684
|
+
starts_at: string;
|
|
44685
|
+
ends_at: string;
|
|
44686
|
+
errors: {
|
|
44687
|
+
message: string;
|
|
44688
|
+
error_code: string;
|
|
44689
|
+
}[];
|
|
44690
|
+
max_override_period_minutes?: number | null | undefined;
|
|
44691
|
+
is_override_allowed?: boolean | undefined;
|
|
44692
|
+
}[] | undefined;
|
|
44529
44693
|
}, {
|
|
44530
44694
|
batch_type: "workspaces";
|
|
44695
|
+
thermostat_daily_programs?: {
|
|
44696
|
+
name: string | null;
|
|
44697
|
+
thermostat_daily_program_id: string;
|
|
44698
|
+
device_id: string;
|
|
44699
|
+
periods: {
|
|
44700
|
+
climate_preset_key: string;
|
|
44701
|
+
starts_at_time: string;
|
|
44702
|
+
}[];
|
|
44703
|
+
workspace_id: string;
|
|
44704
|
+
created_at: string;
|
|
44705
|
+
}[] | undefined;
|
|
44531
44706
|
spaces?: {
|
|
44532
44707
|
name: string;
|
|
44533
44708
|
display_name: string;
|
|
@@ -45193,6 +45368,8 @@ export declare const workspaces_batch: z.ZodObject<{
|
|
|
45193
45368
|
can_simulate_disconnection?: boolean | undefined;
|
|
45194
45369
|
can_unlock_with_code?: boolean | undefined;
|
|
45195
45370
|
can_run_thermostat_programs?: boolean | undefined;
|
|
45371
|
+
can_simulate_hub_connection?: boolean | undefined;
|
|
45372
|
+
can_simulate_hub_disconnection?: boolean | undefined;
|
|
45196
45373
|
nickname?: string | undefined;
|
|
45197
45374
|
}[] | undefined;
|
|
45198
45375
|
acs_entrances?: {
|
|
@@ -46873,6 +47050,8 @@ export declare const workspaces_batch: z.ZodObject<{
|
|
|
46873
47050
|
can_simulate_disconnection?: boolean | undefined;
|
|
46874
47051
|
can_unlock_with_code?: boolean | undefined;
|
|
46875
47052
|
can_run_thermostat_programs?: boolean | undefined;
|
|
47053
|
+
can_simulate_hub_connection?: boolean | undefined;
|
|
47054
|
+
can_simulate_hub_disconnection?: boolean | undefined;
|
|
46876
47055
|
}[] | undefined;
|
|
46877
47056
|
connect_webviews?: {
|
|
46878
47057
|
status: "pending" | "failed" | "authorized";
|
|
@@ -48400,6 +48579,22 @@ export declare const workspaces_batch: z.ZodObject<{
|
|
|
48400
48579
|
starts_at?: string | null | undefined;
|
|
48401
48580
|
ends_at?: string | null | undefined;
|
|
48402
48581
|
}[] | undefined;
|
|
48582
|
+
thermostat_schedules?: {
|
|
48583
|
+
climate_preset_key: string;
|
|
48584
|
+
name: string | null;
|
|
48585
|
+
device_id: string;
|
|
48586
|
+
workspace_id: string;
|
|
48587
|
+
created_at: string;
|
|
48588
|
+
thermostat_schedule_id: string;
|
|
48589
|
+
starts_at: string;
|
|
48590
|
+
ends_at: string;
|
|
48591
|
+
errors: {
|
|
48592
|
+
message: string;
|
|
48593
|
+
error_code: string;
|
|
48594
|
+
}[];
|
|
48595
|
+
max_override_period_minutes?: number | null | undefined;
|
|
48596
|
+
is_override_allowed?: boolean | undefined;
|
|
48597
|
+
}[] | undefined;
|
|
48403
48598
|
}>;
|
|
48404
48599
|
export declare const batch: z.ZodObject<{
|
|
48405
48600
|
batch_type: z.ZodEnum<["workspaces", "spaces", "access_grants", "access_methods"]>;
|
|
@@ -51437,6 +51632,8 @@ export declare const batch: z.ZodObject<{
|
|
|
51437
51632
|
can_simulate_disconnection: z.ZodOptional<z.ZodBoolean>;
|
|
51438
51633
|
can_unlock_with_code: z.ZodOptional<z.ZodBoolean>;
|
|
51439
51634
|
can_run_thermostat_programs: z.ZodOptional<z.ZodBoolean>;
|
|
51635
|
+
can_simulate_hub_connection: z.ZodOptional<z.ZodBoolean>;
|
|
51636
|
+
can_simulate_hub_disconnection: z.ZodOptional<z.ZodBoolean>;
|
|
51440
51637
|
}, "strip", z.ZodTypeAny, {
|
|
51441
51638
|
display_name: string;
|
|
51442
51639
|
device_id: string;
|
|
@@ -52092,6 +52289,8 @@ export declare const batch: z.ZodObject<{
|
|
|
52092
52289
|
can_simulate_disconnection?: boolean | undefined;
|
|
52093
52290
|
can_unlock_with_code?: boolean | undefined;
|
|
52094
52291
|
can_run_thermostat_programs?: boolean | undefined;
|
|
52292
|
+
can_simulate_hub_connection?: boolean | undefined;
|
|
52293
|
+
can_simulate_hub_disconnection?: boolean | undefined;
|
|
52095
52294
|
nickname?: string | undefined;
|
|
52096
52295
|
}, {
|
|
52097
52296
|
display_name: string;
|
|
@@ -52748,6 +52947,8 @@ export declare const batch: z.ZodObject<{
|
|
|
52748
52947
|
can_simulate_disconnection?: boolean | undefined;
|
|
52749
52948
|
can_unlock_with_code?: boolean | undefined;
|
|
52750
52949
|
can_run_thermostat_programs?: boolean | undefined;
|
|
52950
|
+
can_simulate_hub_connection?: boolean | undefined;
|
|
52951
|
+
can_simulate_hub_disconnection?: boolean | undefined;
|
|
52751
52952
|
nickname?: string | undefined;
|
|
52752
52953
|
}>, "many">>;
|
|
52753
52954
|
acs_entrances: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -62018,6 +62219,8 @@ export declare const batch: z.ZodObject<{
|
|
|
62018
62219
|
can_simulate_disconnection: z.ZodOptional<z.ZodBoolean>;
|
|
62019
62220
|
can_unlock_with_code: z.ZodOptional<z.ZodBoolean>;
|
|
62020
62221
|
can_run_thermostat_programs: z.ZodOptional<z.ZodBoolean>;
|
|
62222
|
+
can_simulate_hub_connection: z.ZodOptional<z.ZodBoolean>;
|
|
62223
|
+
can_simulate_hub_disconnection: z.ZodOptional<z.ZodBoolean>;
|
|
62021
62224
|
}, "device_id" | "workspace_id" | "created_at" | "errors" | "connected_account_id" | "warnings" | "device_type" | "capabilities_supported" | "location"> & {
|
|
62022
62225
|
is_managed: z.ZodLiteral<false>;
|
|
62023
62226
|
properties: z.ZodObject<Pick<{
|
|
@@ -62168,6 +62371,8 @@ export declare const batch: z.ZodObject<{
|
|
|
62168
62371
|
can_simulate_disconnection: z.ZodOptional<z.ZodBoolean>;
|
|
62169
62372
|
can_unlock_with_code: z.ZodOptional<z.ZodBoolean>;
|
|
62170
62373
|
can_run_thermostat_programs: z.ZodOptional<z.ZodBoolean>;
|
|
62374
|
+
can_simulate_hub_connection: z.ZodOptional<z.ZodBoolean>;
|
|
62375
|
+
can_simulate_hub_disconnection: z.ZodOptional<z.ZodBoolean>;
|
|
62171
62376
|
}, "strip", z.ZodTypeAny, {
|
|
62172
62377
|
device_id: string;
|
|
62173
62378
|
workspace_id: string;
|
|
@@ -62396,6 +62601,8 @@ export declare const batch: z.ZodObject<{
|
|
|
62396
62601
|
can_simulate_disconnection?: boolean | undefined;
|
|
62397
62602
|
can_unlock_with_code?: boolean | undefined;
|
|
62398
62603
|
can_run_thermostat_programs?: boolean | undefined;
|
|
62604
|
+
can_simulate_hub_connection?: boolean | undefined;
|
|
62605
|
+
can_simulate_hub_disconnection?: boolean | undefined;
|
|
62399
62606
|
}, {
|
|
62400
62607
|
device_id: string;
|
|
62401
62608
|
workspace_id: string;
|
|
@@ -62624,6 +62831,8 @@ export declare const batch: z.ZodObject<{
|
|
|
62624
62831
|
can_simulate_disconnection?: boolean | undefined;
|
|
62625
62832
|
can_unlock_with_code?: boolean | undefined;
|
|
62626
62833
|
can_run_thermostat_programs?: boolean | undefined;
|
|
62834
|
+
can_simulate_hub_connection?: boolean | undefined;
|
|
62835
|
+
can_simulate_hub_disconnection?: boolean | undefined;
|
|
62627
62836
|
}>, "many">>;
|
|
62628
62837
|
connect_webviews: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
62629
62838
|
connect_webview_id: z.ZodString;
|
|
@@ -68792,8 +69001,108 @@ export declare const batch: z.ZodObject<{
|
|
|
68792
69001
|
starts_at?: string | null | undefined;
|
|
68793
69002
|
ends_at?: string | null | undefined;
|
|
68794
69003
|
}>, "many">>;
|
|
69004
|
+
thermostat_daily_programs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
69005
|
+
thermostat_daily_program_id: z.ZodString;
|
|
69006
|
+
device_id: z.ZodString;
|
|
69007
|
+
name: z.ZodNullable<z.ZodString>;
|
|
69008
|
+
periods: z.ZodArray<z.ZodObject<{
|
|
69009
|
+
starts_at_time: z.ZodString;
|
|
69010
|
+
climate_preset_key: z.ZodString;
|
|
69011
|
+
}, "strip", z.ZodTypeAny, {
|
|
69012
|
+
climate_preset_key: string;
|
|
69013
|
+
starts_at_time: string;
|
|
69014
|
+
}, {
|
|
69015
|
+
climate_preset_key: string;
|
|
69016
|
+
starts_at_time: string;
|
|
69017
|
+
}>, "many">;
|
|
69018
|
+
workspace_id: z.ZodString;
|
|
69019
|
+
created_at: z.ZodString;
|
|
69020
|
+
}, "strip", z.ZodTypeAny, {
|
|
69021
|
+
name: string | null;
|
|
69022
|
+
thermostat_daily_program_id: string;
|
|
69023
|
+
device_id: string;
|
|
69024
|
+
periods: {
|
|
69025
|
+
climate_preset_key: string;
|
|
69026
|
+
starts_at_time: string;
|
|
69027
|
+
}[];
|
|
69028
|
+
workspace_id: string;
|
|
69029
|
+
created_at: string;
|
|
69030
|
+
}, {
|
|
69031
|
+
name: string | null;
|
|
69032
|
+
thermostat_daily_program_id: string;
|
|
69033
|
+
device_id: string;
|
|
69034
|
+
periods: {
|
|
69035
|
+
climate_preset_key: string;
|
|
69036
|
+
starts_at_time: string;
|
|
69037
|
+
}[];
|
|
69038
|
+
workspace_id: string;
|
|
69039
|
+
created_at: string;
|
|
69040
|
+
}>, "many">>;
|
|
69041
|
+
thermostat_schedules: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
69042
|
+
thermostat_schedule_id: z.ZodString;
|
|
69043
|
+
device_id: z.ZodString;
|
|
69044
|
+
name: z.ZodNullable<z.ZodString>;
|
|
69045
|
+
climate_preset_key: z.ZodString;
|
|
69046
|
+
max_override_period_minutes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
69047
|
+
starts_at: z.ZodString;
|
|
69048
|
+
is_override_allowed: z.ZodOptional<z.ZodBoolean>;
|
|
69049
|
+
ends_at: z.ZodString;
|
|
69050
|
+
workspace_id: z.ZodString;
|
|
69051
|
+
created_at: z.ZodString;
|
|
69052
|
+
errors: z.ZodArray<z.ZodObject<{
|
|
69053
|
+
error_code: z.ZodString;
|
|
69054
|
+
message: z.ZodString;
|
|
69055
|
+
}, "strip", z.ZodTypeAny, {
|
|
69056
|
+
message: string;
|
|
69057
|
+
error_code: string;
|
|
69058
|
+
}, {
|
|
69059
|
+
message: string;
|
|
69060
|
+
error_code: string;
|
|
69061
|
+
}>, "many">;
|
|
69062
|
+
}, "strip", z.ZodTypeAny, {
|
|
69063
|
+
climate_preset_key: string;
|
|
69064
|
+
name: string | null;
|
|
69065
|
+
device_id: string;
|
|
69066
|
+
workspace_id: string;
|
|
69067
|
+
created_at: string;
|
|
69068
|
+
thermostat_schedule_id: string;
|
|
69069
|
+
starts_at: string;
|
|
69070
|
+
ends_at: string;
|
|
69071
|
+
errors: {
|
|
69072
|
+
message: string;
|
|
69073
|
+
error_code: string;
|
|
69074
|
+
}[];
|
|
69075
|
+
max_override_period_minutes?: number | null | undefined;
|
|
69076
|
+
is_override_allowed?: boolean | undefined;
|
|
69077
|
+
}, {
|
|
69078
|
+
climate_preset_key: string;
|
|
69079
|
+
name: string | null;
|
|
69080
|
+
device_id: string;
|
|
69081
|
+
workspace_id: string;
|
|
69082
|
+
created_at: string;
|
|
69083
|
+
thermostat_schedule_id: string;
|
|
69084
|
+
starts_at: string;
|
|
69085
|
+
ends_at: string;
|
|
69086
|
+
errors: {
|
|
69087
|
+
message: string;
|
|
69088
|
+
error_code: string;
|
|
69089
|
+
}[];
|
|
69090
|
+
max_override_period_minutes?: number | null | undefined;
|
|
69091
|
+
is_override_allowed?: boolean | undefined;
|
|
69092
|
+
}>, "many">>;
|
|
68795
69093
|
}, "strip", z.ZodTypeAny, {
|
|
68796
69094
|
batch_type: "spaces" | "access_grants" | "access_methods" | "workspaces";
|
|
69095
|
+
thermostat_daily_programs?: {
|
|
69096
|
+
name: string | null;
|
|
69097
|
+
thermostat_daily_program_id: string;
|
|
69098
|
+
device_id: string;
|
|
69099
|
+
periods: {
|
|
69100
|
+
climate_preset_key: string;
|
|
69101
|
+
starts_at_time: string;
|
|
69102
|
+
}[];
|
|
69103
|
+
workspace_id: string;
|
|
69104
|
+
created_at: string;
|
|
69105
|
+
}[] | undefined;
|
|
68797
69106
|
spaces?: {
|
|
68798
69107
|
name: string;
|
|
68799
69108
|
display_name: string;
|
|
@@ -69459,6 +69768,8 @@ export declare const batch: z.ZodObject<{
|
|
|
69459
69768
|
can_simulate_disconnection?: boolean | undefined;
|
|
69460
69769
|
can_unlock_with_code?: boolean | undefined;
|
|
69461
69770
|
can_run_thermostat_programs?: boolean | undefined;
|
|
69771
|
+
can_simulate_hub_connection?: boolean | undefined;
|
|
69772
|
+
can_simulate_hub_disconnection?: boolean | undefined;
|
|
69462
69773
|
nickname?: string | undefined;
|
|
69463
69774
|
}[] | undefined;
|
|
69464
69775
|
acs_entrances?: {
|
|
@@ -71068,6 +71379,8 @@ export declare const batch: z.ZodObject<{
|
|
|
71068
71379
|
can_simulate_disconnection?: boolean | undefined;
|
|
71069
71380
|
can_unlock_with_code?: boolean | undefined;
|
|
71070
71381
|
can_run_thermostat_programs?: boolean | undefined;
|
|
71382
|
+
can_simulate_hub_connection?: boolean | undefined;
|
|
71383
|
+
can_simulate_hub_disconnection?: boolean | undefined;
|
|
71071
71384
|
}[] | undefined;
|
|
71072
71385
|
connect_webviews?: {
|
|
71073
71386
|
status: "pending" | "failed" | "authorized";
|
|
@@ -72595,8 +72908,35 @@ export declare const batch: z.ZodObject<{
|
|
|
72595
72908
|
starts_at?: string | null | undefined;
|
|
72596
72909
|
ends_at?: string | null | undefined;
|
|
72597
72910
|
}[] | undefined;
|
|
72911
|
+
thermostat_schedules?: {
|
|
72912
|
+
climate_preset_key: string;
|
|
72913
|
+
name: string | null;
|
|
72914
|
+
device_id: string;
|
|
72915
|
+
workspace_id: string;
|
|
72916
|
+
created_at: string;
|
|
72917
|
+
thermostat_schedule_id: string;
|
|
72918
|
+
starts_at: string;
|
|
72919
|
+
ends_at: string;
|
|
72920
|
+
errors: {
|
|
72921
|
+
message: string;
|
|
72922
|
+
error_code: string;
|
|
72923
|
+
}[];
|
|
72924
|
+
max_override_period_minutes?: number | null | undefined;
|
|
72925
|
+
is_override_allowed?: boolean | undefined;
|
|
72926
|
+
}[] | undefined;
|
|
72598
72927
|
}, {
|
|
72599
72928
|
batch_type: "spaces" | "access_grants" | "access_methods" | "workspaces";
|
|
72929
|
+
thermostat_daily_programs?: {
|
|
72930
|
+
name: string | null;
|
|
72931
|
+
thermostat_daily_program_id: string;
|
|
72932
|
+
device_id: string;
|
|
72933
|
+
periods: {
|
|
72934
|
+
climate_preset_key: string;
|
|
72935
|
+
starts_at_time: string;
|
|
72936
|
+
}[];
|
|
72937
|
+
workspace_id: string;
|
|
72938
|
+
created_at: string;
|
|
72939
|
+
}[] | undefined;
|
|
72600
72940
|
spaces?: {
|
|
72601
72941
|
name: string;
|
|
72602
72942
|
display_name: string;
|
|
@@ -73262,6 +73602,8 @@ export declare const batch: z.ZodObject<{
|
|
|
73262
73602
|
can_simulate_disconnection?: boolean | undefined;
|
|
73263
73603
|
can_unlock_with_code?: boolean | undefined;
|
|
73264
73604
|
can_run_thermostat_programs?: boolean | undefined;
|
|
73605
|
+
can_simulate_hub_connection?: boolean | undefined;
|
|
73606
|
+
can_simulate_hub_disconnection?: boolean | undefined;
|
|
73265
73607
|
nickname?: string | undefined;
|
|
73266
73608
|
}[] | undefined;
|
|
73267
73609
|
acs_entrances?: {
|
|
@@ -74871,6 +75213,8 @@ export declare const batch: z.ZodObject<{
|
|
|
74871
75213
|
can_simulate_disconnection?: boolean | undefined;
|
|
74872
75214
|
can_unlock_with_code?: boolean | undefined;
|
|
74873
75215
|
can_run_thermostat_programs?: boolean | undefined;
|
|
75216
|
+
can_simulate_hub_connection?: boolean | undefined;
|
|
75217
|
+
can_simulate_hub_disconnection?: boolean | undefined;
|
|
74874
75218
|
}[] | undefined;
|
|
74875
75219
|
connect_webviews?: {
|
|
74876
75220
|
status: "pending" | "failed" | "authorized";
|
|
@@ -76398,6 +76742,22 @@ export declare const batch: z.ZodObject<{
|
|
|
76398
76742
|
starts_at?: string | null | undefined;
|
|
76399
76743
|
ends_at?: string | null | undefined;
|
|
76400
76744
|
}[] | undefined;
|
|
76745
|
+
thermostat_schedules?: {
|
|
76746
|
+
climate_preset_key: string;
|
|
76747
|
+
name: string | null;
|
|
76748
|
+
device_id: string;
|
|
76749
|
+
workspace_id: string;
|
|
76750
|
+
created_at: string;
|
|
76751
|
+
thermostat_schedule_id: string;
|
|
76752
|
+
starts_at: string;
|
|
76753
|
+
ends_at: string;
|
|
76754
|
+
errors: {
|
|
76755
|
+
message: string;
|
|
76756
|
+
error_code: string;
|
|
76757
|
+
}[];
|
|
76758
|
+
max_override_period_minutes?: number | null | undefined;
|
|
76759
|
+
is_override_allowed?: boolean | undefined;
|
|
76760
|
+
}[] | undefined;
|
|
76401
76761
|
}>;
|
|
76402
76762
|
export type WorkspacesBatch = z.infer<typeof workspaces_batch>;
|
|
76403
76763
|
export type Batch = z.infer<typeof batch>;
|
|
@@ -16,6 +16,7 @@ import { unmanaged_device } from './devices/unmanaged-device.js';
|
|
|
16
16
|
import { seam_event } from './events/seam-event.js';
|
|
17
17
|
import { instant_key } from './instant-keys/instant-key.js';
|
|
18
18
|
import { space } from './spaces/index.js';
|
|
19
|
+
import { thermostat_daily_program, thermostat_schedule, } from './thermostats/index.js';
|
|
19
20
|
import { user_identity } from './user-identities/index.js';
|
|
20
21
|
import { workspace } from './workspaces/index.js';
|
|
21
22
|
export const spaces_batch = z
|
|
@@ -71,6 +72,8 @@ export const workspaces_batch = z
|
|
|
71
72
|
instant_keys: instant_key.array().optional(),
|
|
72
73
|
access_codes: access_code.array().optional(),
|
|
73
74
|
unmanaged_access_codes: unmanaged_access_code.array().optional(),
|
|
75
|
+
thermostat_daily_programs: thermostat_daily_program.array().optional(),
|
|
76
|
+
thermostat_schedules: thermostat_schedule.array().optional(),
|
|
74
77
|
})
|
|
75
78
|
.describe('A batch of workspace resources.');
|
|
76
79
|
export const batch = z
|
|
@@ -104,6 +107,8 @@ export const batch = z
|
|
|
104
107
|
instant_keys: instant_key.array().optional(),
|
|
105
108
|
access_codes: access_code.array().optional(),
|
|
106
109
|
unmanaged_access_codes: unmanaged_access_code.array().optional(),
|
|
110
|
+
thermostat_daily_programs: thermostat_daily_program.array().optional(),
|
|
111
|
+
thermostat_schedules: thermostat_schedule.array().optional(),
|
|
107
112
|
})
|
|
108
113
|
.describe('A batch of workspace resources.');
|
|
109
114
|
//# sourceMappingURL=batch.js.map
|