@seamapi/types 1.395.0 → 1.395.2
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 +58 -80
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +705 -778
- package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +0 -71
- package/lib/seam/connect/models/access-codes/managed-access-code.js +0 -9
- package/lib/seam/connect/models/access-codes/managed-access-code.js.map +1 -1
- package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +0 -26
- package/lib/seam/connect/models/access-grants/access-grant.d.ts +2 -2
- package/lib/seam/connect/models/access-grants/access-method.d.ts +2 -2
- package/lib/seam/connect/models/acs/acs-access-group.d.ts +4 -4
- package/lib/seam/connect/models/acs/acs-credential-pool.d.ts +2 -2
- package/lib/seam/connect/models/acs/acs-credential-provisioning-automation.d.ts +4 -4
- package/lib/seam/connect/models/acs/acs-credential.d.ts +4 -4
- package/lib/seam/connect/models/acs/acs-encoder.d.ts +2 -2
- package/lib/seam/connect/models/acs/acs-system.d.ts +2 -2
- package/lib/seam/connect/models/acs/acs-users/acs-user.d.ts +4 -4
- package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +24 -24
- package/lib/seam/connect/models/action-attempts/encode-access-method.d.ts +4 -4
- package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +8 -8
- package/lib/seam/connect/models/action-attempts/scan-credential.d.ts +12 -12
- package/lib/seam/connect/models/bridges/bridge-connected-system.d.ts +2 -2
- package/lib/seam/connect/models/bridges/bridge.d.ts +2 -2
- package/lib/seam/connect/models/client-sessions/client-session.d.ts +2 -2
- package/lib/seam/connect/models/connect-webviews/connect-webview.d.ts +2 -2
- package/lib/seam/connect/models/devices/capability-properties/index.d.ts +25 -20
- package/lib/seam/connect/models/devices/capability-properties/thermostat.d.ts +25 -20
- package/lib/seam/connect/models/devices/capability-properties/thermostat.js +2 -7
- package/lib/seam/connect/models/devices/capability-properties/thermostat.js.map +1 -1
- package/lib/seam/connect/models/devices/device.d.ts +37 -30
- package/lib/seam/connect/models/devices/phone.d.ts +2 -2
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +28 -23
- package/lib/seam/connect/models/events/access-codes.d.ts +68 -68
- package/lib/seam/connect/models/events/access-grants.d.ts +20 -20
- package/lib/seam/connect/models/events/access-methods.d.ts +12 -12
- package/lib/seam/connect/models/events/acs/access-groups.d.ts +4 -4
- package/lib/seam/connect/models/events/acs/common.d.ts +2 -2
- package/lib/seam/connect/models/events/acs/credentials.d.ts +16 -16
- package/lib/seam/connect/models/events/acs/encoders.d.ts +8 -8
- package/lib/seam/connect/models/events/acs/entrances.d.ts +8 -8
- package/lib/seam/connect/models/events/acs/index.d.ts +28 -28
- package/lib/seam/connect/models/events/acs/systems.d.ts +12 -12
- package/lib/seam/connect/models/events/acs/users.d.ts +8 -8
- package/lib/seam/connect/models/events/action-attempts.d.ts +16 -16
- package/lib/seam/connect/models/events/client-sessions.d.ts +4 -4
- package/lib/seam/connect/models/events/common.d.ts +2 -2
- package/lib/seam/connect/models/events/connect-webviews.d.ts +8 -8
- package/lib/seam/connect/models/events/connected-accounts.d.ts +28 -28
- package/lib/seam/connect/models/events/devices.d.ts +132 -132
- package/lib/seam/connect/models/events/enrollment-automations.d.ts +4 -4
- package/lib/seam/connect/models/events/phones.d.ts +4 -4
- package/lib/seam/connect/models/events/seam-event.d.ts +176 -176
- package/lib/seam/connect/models/instant-keys/instant-key.d.ts +2 -2
- package/lib/seam/connect/models/locations/location.d.ts +2 -2
- package/lib/seam/connect/models/thermostats/thermostat-program.d.ts +6 -6
- package/lib/seam/connect/models/thermostats/thermostat-program.js +5 -5
- package/lib/seam/connect/models/thermostats/thermostat-program.js.map +1 -1
- package/lib/seam/connect/models/thermostats/thermostat-schedule.d.ts +6 -3
- package/lib/seam/connect/models/thermostats/thermostat-schedule.js +5 -1
- package/lib/seam/connect/models/thermostats/thermostat-schedule.js.map +1 -1
- package/lib/seam/connect/models/user-identities/user-identity.d.ts +2 -2
- package/lib/seam/connect/openapi.d.ts +35 -8
- package/lib/seam/connect/openapi.js +43 -65
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +136 -183
- package/package.json +2 -2
- package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +0 -12
- package/src/lib/seam/connect/models/devices/capability-properties/thermostat.ts +2 -7
- package/src/lib/seam/connect/models/thermostats/thermostat-program.ts +7 -5
- package/src/lib/seam/connect/models/thermostats/thermostat-schedule.ts +7 -1
- package/src/lib/seam/connect/openapi.ts +47 -74
- package/src/lib/seam/connect/route-types.ts +617 -595
|
@@ -3440,12 +3440,13 @@ export declare const device: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3440
3440
|
active_thermostat_schedule: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
3441
3441
|
thermostat_schedule_id: z.ZodString;
|
|
3442
3442
|
device_id: z.ZodString;
|
|
3443
|
-
name: z.
|
|
3443
|
+
name: z.ZodNullable<z.ZodString>;
|
|
3444
3444
|
climate_preset_key: z.ZodString;
|
|
3445
3445
|
max_override_period_minutes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3446
3446
|
starts_at: z.ZodString;
|
|
3447
3447
|
is_override_allowed: z.ZodOptional<z.ZodBoolean>;
|
|
3448
3448
|
ends_at: z.ZodString;
|
|
3449
|
+
workspace_id: z.ZodString;
|
|
3449
3450
|
created_at: z.ZodString;
|
|
3450
3451
|
errors: z.ZodArray<z.ZodObject<{
|
|
3451
3452
|
error_code: z.ZodString;
|
|
@@ -3458,8 +3459,10 @@ export declare const device: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3458
3459
|
error_code: string;
|
|
3459
3460
|
}>, "many">;
|
|
3460
3461
|
}, "strip", z.ZodTypeAny, {
|
|
3462
|
+
name: string | null;
|
|
3461
3463
|
climate_preset_key: string;
|
|
3462
3464
|
device_id: string;
|
|
3465
|
+
workspace_id: string;
|
|
3463
3466
|
created_at: string;
|
|
3464
3467
|
thermostat_schedule_id: string;
|
|
3465
3468
|
starts_at: string;
|
|
@@ -3468,12 +3471,13 @@ export declare const device: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3468
3471
|
message: string;
|
|
3469
3472
|
error_code: string;
|
|
3470
3473
|
}[];
|
|
3471
|
-
name?: string | undefined;
|
|
3472
3474
|
max_override_period_minutes?: number | null | undefined;
|
|
3473
3475
|
is_override_allowed?: boolean | undefined;
|
|
3474
3476
|
}, {
|
|
3477
|
+
name: string | null;
|
|
3475
3478
|
climate_preset_key: string;
|
|
3476
3479
|
device_id: string;
|
|
3480
|
+
workspace_id: string;
|
|
3477
3481
|
created_at: string;
|
|
3478
3482
|
thermostat_schedule_id: string;
|
|
3479
3483
|
starts_at: string;
|
|
@@ -3482,14 +3486,13 @@ export declare const device: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3482
3486
|
message: string;
|
|
3483
3487
|
error_code: string;
|
|
3484
3488
|
}[];
|
|
3485
|
-
name?: string | undefined;
|
|
3486
3489
|
max_override_period_minutes?: number | null | undefined;
|
|
3487
3490
|
is_override_allowed?: boolean | undefined;
|
|
3488
3491
|
}>>>>;
|
|
3489
|
-
thermostat_daily_programs: z.ZodOptional<z.
|
|
3492
|
+
thermostat_daily_programs: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3490
3493
|
thermostat_daily_program_id: z.ZodString;
|
|
3491
3494
|
device_id: z.ZodString;
|
|
3492
|
-
name: z.
|
|
3495
|
+
name: z.ZodNullable<z.ZodString>;
|
|
3493
3496
|
periods: z.ZodArray<z.ZodObject<{
|
|
3494
3497
|
starts_at_time: z.ZodString;
|
|
3495
3498
|
climate_preset_key: z.ZodString;
|
|
@@ -3500,28 +3503,30 @@ export declare const device: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3500
3503
|
climate_preset_key: string;
|
|
3501
3504
|
starts_at_time: string;
|
|
3502
3505
|
}>, "many">;
|
|
3506
|
+
workspace_id: z.ZodString;
|
|
3503
3507
|
created_at: z.ZodString;
|
|
3504
3508
|
}, "strip", z.ZodTypeAny, {
|
|
3509
|
+
name: string | null;
|
|
3505
3510
|
thermostat_daily_program_id: string;
|
|
3506
3511
|
device_id: string;
|
|
3507
3512
|
periods: {
|
|
3508
3513
|
climate_preset_key: string;
|
|
3509
3514
|
starts_at_time: string;
|
|
3510
3515
|
}[];
|
|
3516
|
+
workspace_id: string;
|
|
3511
3517
|
created_at: string;
|
|
3512
|
-
name?: string | undefined;
|
|
3513
3518
|
}, {
|
|
3519
|
+
name: string | null;
|
|
3514
3520
|
thermostat_daily_program_id: string;
|
|
3515
3521
|
device_id: string;
|
|
3516
3522
|
periods: {
|
|
3517
3523
|
climate_preset_key: string;
|
|
3518
3524
|
starts_at_time: string;
|
|
3519
3525
|
}[];
|
|
3526
|
+
workspace_id: string;
|
|
3520
3527
|
created_at: string;
|
|
3521
|
-
|
|
3522
|
-
|
|
3523
|
-
thermostat_weekly_program: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
3524
|
-
device_id: z.ZodString;
|
|
3528
|
+
}>, "many">>>;
|
|
3529
|
+
thermostat_weekly_program: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3525
3530
|
monday_program_id: z.ZodNullable<z.ZodString>;
|
|
3526
3531
|
tuesday_program_id: z.ZodNullable<z.ZodString>;
|
|
3527
3532
|
wednesday_program_id: z.ZodNullable<z.ZodString>;
|
|
@@ -3531,7 +3536,6 @@ export declare const device: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3531
3536
|
sunday_program_id: z.ZodNullable<z.ZodString>;
|
|
3532
3537
|
created_at: z.ZodString;
|
|
3533
3538
|
}, "strip", z.ZodTypeAny, {
|
|
3534
|
-
device_id: string;
|
|
3535
3539
|
created_at: string;
|
|
3536
3540
|
monday_program_id: string | null;
|
|
3537
3541
|
tuesday_program_id: string | null;
|
|
@@ -3541,7 +3545,6 @@ export declare const device: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3541
3545
|
saturday_program_id: string | null;
|
|
3542
3546
|
sunday_program_id: string | null;
|
|
3543
3547
|
}, {
|
|
3544
|
-
device_id: string;
|
|
3545
3548
|
created_at: string;
|
|
3546
3549
|
monday_program_id: string | null;
|
|
3547
3550
|
tuesday_program_id: string | null;
|
|
@@ -3635,8 +3638,10 @@ export declare const device: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3635
3638
|
}[] | undefined;
|
|
3636
3639
|
fallback_climate_preset_key?: string | null | undefined;
|
|
3637
3640
|
active_thermostat_schedule?: {
|
|
3641
|
+
name: string | null;
|
|
3638
3642
|
climate_preset_key: string;
|
|
3639
3643
|
device_id: string;
|
|
3644
|
+
workspace_id: string;
|
|
3640
3645
|
created_at: string;
|
|
3641
3646
|
thermostat_schedule_id: string;
|
|
3642
3647
|
starts_at: string;
|
|
@@ -3645,22 +3650,21 @@ export declare const device: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3645
3650
|
message: string;
|
|
3646
3651
|
error_code: string;
|
|
3647
3652
|
}[];
|
|
3648
|
-
name?: string | undefined;
|
|
3649
3653
|
max_override_period_minutes?: number | null | undefined;
|
|
3650
3654
|
is_override_allowed?: boolean | undefined;
|
|
3651
3655
|
} | null | undefined;
|
|
3652
3656
|
thermostat_daily_programs?: {
|
|
3657
|
+
name: string | null;
|
|
3653
3658
|
thermostat_daily_program_id: string;
|
|
3654
3659
|
device_id: string;
|
|
3655
3660
|
periods: {
|
|
3656
3661
|
climate_preset_key: string;
|
|
3657
3662
|
starts_at_time: string;
|
|
3658
3663
|
}[];
|
|
3664
|
+
workspace_id: string;
|
|
3659
3665
|
created_at: string;
|
|
3660
|
-
|
|
3661
|
-
}[] | null | undefined;
|
|
3666
|
+
}[] | undefined;
|
|
3662
3667
|
thermostat_weekly_program?: {
|
|
3663
|
-
device_id: string;
|
|
3664
3668
|
created_at: string;
|
|
3665
3669
|
monday_program_id: string | null;
|
|
3666
3670
|
tuesday_program_id: string | null;
|
|
@@ -3744,8 +3748,10 @@ export declare const device: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3744
3748
|
}[] | undefined;
|
|
3745
3749
|
fallback_climate_preset_key?: string | null | undefined;
|
|
3746
3750
|
active_thermostat_schedule?: {
|
|
3751
|
+
name: string | null;
|
|
3747
3752
|
climate_preset_key: string;
|
|
3748
3753
|
device_id: string;
|
|
3754
|
+
workspace_id: string;
|
|
3749
3755
|
created_at: string;
|
|
3750
3756
|
thermostat_schedule_id: string;
|
|
3751
3757
|
starts_at: string;
|
|
@@ -3754,22 +3760,21 @@ export declare const device: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3754
3760
|
message: string;
|
|
3755
3761
|
error_code: string;
|
|
3756
3762
|
}[];
|
|
3757
|
-
name?: string | undefined;
|
|
3758
3763
|
max_override_period_minutes?: number | null | undefined;
|
|
3759
3764
|
is_override_allowed?: boolean | undefined;
|
|
3760
3765
|
} | null | undefined;
|
|
3761
3766
|
thermostat_daily_programs?: {
|
|
3767
|
+
name: string | null;
|
|
3762
3768
|
thermostat_daily_program_id: string;
|
|
3763
3769
|
device_id: string;
|
|
3764
3770
|
periods: {
|
|
3765
3771
|
climate_preset_key: string;
|
|
3766
3772
|
starts_at_time: string;
|
|
3767
3773
|
}[];
|
|
3774
|
+
workspace_id: string;
|
|
3768
3775
|
created_at: string;
|
|
3769
|
-
|
|
3770
|
-
}[] | null | undefined;
|
|
3776
|
+
}[] | undefined;
|
|
3771
3777
|
thermostat_weekly_program?: {
|
|
3772
|
-
device_id: string;
|
|
3773
3778
|
created_at: string;
|
|
3774
3779
|
monday_program_id: string | null;
|
|
3775
3780
|
tuesday_program_id: string | null;
|
|
@@ -4394,6 +4399,7 @@ export declare const device: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
4394
4399
|
} | null;
|
|
4395
4400
|
display_name: string;
|
|
4396
4401
|
device_id: string;
|
|
4402
|
+
workspace_id: string;
|
|
4397
4403
|
created_at: string;
|
|
4398
4404
|
errors: ({
|
|
4399
4405
|
message: string;
|
|
@@ -4924,8 +4930,10 @@ export declare const device: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
4924
4930
|
}[] | undefined;
|
|
4925
4931
|
fallback_climate_preset_key?: string | null | undefined;
|
|
4926
4932
|
active_thermostat_schedule?: {
|
|
4933
|
+
name: string | null;
|
|
4927
4934
|
climate_preset_key: string;
|
|
4928
4935
|
device_id: string;
|
|
4936
|
+
workspace_id: string;
|
|
4929
4937
|
created_at: string;
|
|
4930
4938
|
thermostat_schedule_id: string;
|
|
4931
4939
|
starts_at: string;
|
|
@@ -4934,22 +4942,21 @@ export declare const device: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
4934
4942
|
message: string;
|
|
4935
4943
|
error_code: string;
|
|
4936
4944
|
}[];
|
|
4937
|
-
name?: string | undefined;
|
|
4938
4945
|
max_override_period_minutes?: number | null | undefined;
|
|
4939
4946
|
is_override_allowed?: boolean | undefined;
|
|
4940
4947
|
} | null | undefined;
|
|
4941
4948
|
thermostat_daily_programs?: {
|
|
4949
|
+
name: string | null;
|
|
4942
4950
|
thermostat_daily_program_id: string;
|
|
4943
4951
|
device_id: string;
|
|
4944
4952
|
periods: {
|
|
4945
4953
|
climate_preset_key: string;
|
|
4946
4954
|
starts_at_time: string;
|
|
4947
4955
|
}[];
|
|
4956
|
+
workspace_id: string;
|
|
4948
4957
|
created_at: string;
|
|
4949
|
-
|
|
4950
|
-
}[] | null | undefined;
|
|
4958
|
+
}[] | undefined;
|
|
4951
4959
|
thermostat_weekly_program?: {
|
|
4952
|
-
device_id: string;
|
|
4953
4960
|
created_at: string;
|
|
4954
4961
|
monday_program_id: string | null;
|
|
4955
4962
|
tuesday_program_id: string | null;
|
|
@@ -4976,7 +4983,6 @@ export declare const device: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
4976
4983
|
upper_limit_fahrenheit: number | null;
|
|
4977
4984
|
} | undefined;
|
|
4978
4985
|
};
|
|
4979
|
-
workspace_id: string;
|
|
4980
4986
|
is_managed: true;
|
|
4981
4987
|
can_remotely_unlock?: boolean | undefined;
|
|
4982
4988
|
can_remotely_lock?: boolean | undefined;
|
|
@@ -4997,6 +5003,7 @@ export declare const device: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
4997
5003
|
} | null;
|
|
4998
5004
|
display_name: string;
|
|
4999
5005
|
device_id: string;
|
|
5006
|
+
workspace_id: string;
|
|
5000
5007
|
created_at: string;
|
|
5001
5008
|
errors: ({
|
|
5002
5009
|
message: string;
|
|
@@ -5527,8 +5534,10 @@ export declare const device: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
5527
5534
|
}[] | undefined;
|
|
5528
5535
|
fallback_climate_preset_key?: string | null | undefined;
|
|
5529
5536
|
active_thermostat_schedule?: {
|
|
5537
|
+
name: string | null;
|
|
5530
5538
|
climate_preset_key: string;
|
|
5531
5539
|
device_id: string;
|
|
5540
|
+
workspace_id: string;
|
|
5532
5541
|
created_at: string;
|
|
5533
5542
|
thermostat_schedule_id: string;
|
|
5534
5543
|
starts_at: string;
|
|
@@ -5537,22 +5546,21 @@ export declare const device: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
5537
5546
|
message: string;
|
|
5538
5547
|
error_code: string;
|
|
5539
5548
|
}[];
|
|
5540
|
-
name?: string | undefined;
|
|
5541
5549
|
max_override_period_minutes?: number | null | undefined;
|
|
5542
5550
|
is_override_allowed?: boolean | undefined;
|
|
5543
5551
|
} | null | undefined;
|
|
5544
5552
|
thermostat_daily_programs?: {
|
|
5553
|
+
name: string | null;
|
|
5545
5554
|
thermostat_daily_program_id: string;
|
|
5546
5555
|
device_id: string;
|
|
5547
5556
|
periods: {
|
|
5548
5557
|
climate_preset_key: string;
|
|
5549
5558
|
starts_at_time: string;
|
|
5550
5559
|
}[];
|
|
5560
|
+
workspace_id: string;
|
|
5551
5561
|
created_at: string;
|
|
5552
|
-
|
|
5553
|
-
}[] | null | undefined;
|
|
5562
|
+
}[] | undefined;
|
|
5554
5563
|
thermostat_weekly_program?: {
|
|
5555
|
-
device_id: string;
|
|
5556
5564
|
created_at: string;
|
|
5557
5565
|
monday_program_id: string | null;
|
|
5558
5566
|
tuesday_program_id: string | null;
|
|
@@ -5579,7 +5587,6 @@ export declare const device: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
5579
5587
|
upper_limit_fahrenheit: number | null;
|
|
5580
5588
|
} | undefined;
|
|
5581
5589
|
};
|
|
5582
|
-
workspace_id: string;
|
|
5583
5590
|
is_managed: true;
|
|
5584
5591
|
can_remotely_unlock?: boolean | undefined;
|
|
5585
5592
|
can_remotely_lock?: boolean | undefined;
|
|
@@ -87,6 +87,7 @@ export declare const phone: z.ZodObject<{
|
|
|
87
87
|
}, "strip", z.ZodTypeAny, {
|
|
88
88
|
display_name: string;
|
|
89
89
|
device_id: string;
|
|
90
|
+
workspace_id: string;
|
|
90
91
|
created_at: string;
|
|
91
92
|
errors: {
|
|
92
93
|
message: string;
|
|
@@ -110,11 +111,11 @@ export declare const phone: z.ZodObject<{
|
|
|
110
111
|
has_active_phone: boolean;
|
|
111
112
|
} | undefined;
|
|
112
113
|
};
|
|
113
|
-
workspace_id: string;
|
|
114
114
|
nickname?: string | undefined;
|
|
115
115
|
}, {
|
|
116
116
|
display_name: string;
|
|
117
117
|
device_id: string;
|
|
118
|
+
workspace_id: string;
|
|
118
119
|
created_at: string;
|
|
119
120
|
errors: {
|
|
120
121
|
message: string;
|
|
@@ -138,6 +139,5 @@ export declare const phone: z.ZodObject<{
|
|
|
138
139
|
has_active_phone: boolean;
|
|
139
140
|
} | undefined;
|
|
140
141
|
};
|
|
141
|
-
workspace_id: string;
|
|
142
142
|
nickname?: string | undefined;
|
|
143
143
|
}>;
|
|
@@ -1634,12 +1634,13 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
|
|
|
1634
1634
|
active_thermostat_schedule: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
1635
1635
|
thermostat_schedule_id: z.ZodString;
|
|
1636
1636
|
device_id: z.ZodString;
|
|
1637
|
-
name: z.
|
|
1637
|
+
name: z.ZodNullable<z.ZodString>;
|
|
1638
1638
|
climate_preset_key: z.ZodString;
|
|
1639
1639
|
max_override_period_minutes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1640
1640
|
starts_at: z.ZodString;
|
|
1641
1641
|
is_override_allowed: z.ZodOptional<z.ZodBoolean>;
|
|
1642
1642
|
ends_at: z.ZodString;
|
|
1643
|
+
workspace_id: z.ZodString;
|
|
1643
1644
|
created_at: z.ZodString;
|
|
1644
1645
|
errors: z.ZodArray<z.ZodObject<{
|
|
1645
1646
|
error_code: z.ZodString;
|
|
@@ -1652,8 +1653,10 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
|
|
|
1652
1653
|
error_code: string;
|
|
1653
1654
|
}>, "many">;
|
|
1654
1655
|
}, "strip", z.ZodTypeAny, {
|
|
1656
|
+
name: string | null;
|
|
1655
1657
|
climate_preset_key: string;
|
|
1656
1658
|
device_id: string;
|
|
1659
|
+
workspace_id: string;
|
|
1657
1660
|
created_at: string;
|
|
1658
1661
|
thermostat_schedule_id: string;
|
|
1659
1662
|
starts_at: string;
|
|
@@ -1662,12 +1665,13 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
|
|
|
1662
1665
|
message: string;
|
|
1663
1666
|
error_code: string;
|
|
1664
1667
|
}[];
|
|
1665
|
-
name?: string | undefined;
|
|
1666
1668
|
max_override_period_minutes?: number | null | undefined;
|
|
1667
1669
|
is_override_allowed?: boolean | undefined;
|
|
1668
1670
|
}, {
|
|
1671
|
+
name: string | null;
|
|
1669
1672
|
climate_preset_key: string;
|
|
1670
1673
|
device_id: string;
|
|
1674
|
+
workspace_id: string;
|
|
1671
1675
|
created_at: string;
|
|
1672
1676
|
thermostat_schedule_id: string;
|
|
1673
1677
|
starts_at: string;
|
|
@@ -1676,14 +1680,13 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
|
|
|
1676
1680
|
message: string;
|
|
1677
1681
|
error_code: string;
|
|
1678
1682
|
}[];
|
|
1679
|
-
name?: string | undefined;
|
|
1680
1683
|
max_override_period_minutes?: number | null | undefined;
|
|
1681
1684
|
is_override_allowed?: boolean | undefined;
|
|
1682
1685
|
}>>>>;
|
|
1683
|
-
thermostat_daily_programs: z.ZodOptional<z.
|
|
1686
|
+
thermostat_daily_programs: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1684
1687
|
thermostat_daily_program_id: z.ZodString;
|
|
1685
1688
|
device_id: z.ZodString;
|
|
1686
|
-
name: z.
|
|
1689
|
+
name: z.ZodNullable<z.ZodString>;
|
|
1687
1690
|
periods: z.ZodArray<z.ZodObject<{
|
|
1688
1691
|
starts_at_time: z.ZodString;
|
|
1689
1692
|
climate_preset_key: z.ZodString;
|
|
@@ -1694,28 +1697,30 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
|
|
|
1694
1697
|
climate_preset_key: string;
|
|
1695
1698
|
starts_at_time: string;
|
|
1696
1699
|
}>, "many">;
|
|
1700
|
+
workspace_id: z.ZodString;
|
|
1697
1701
|
created_at: z.ZodString;
|
|
1698
1702
|
}, "strip", z.ZodTypeAny, {
|
|
1703
|
+
name: string | null;
|
|
1699
1704
|
thermostat_daily_program_id: string;
|
|
1700
1705
|
device_id: string;
|
|
1701
1706
|
periods: {
|
|
1702
1707
|
climate_preset_key: string;
|
|
1703
1708
|
starts_at_time: string;
|
|
1704
1709
|
}[];
|
|
1710
|
+
workspace_id: string;
|
|
1705
1711
|
created_at: string;
|
|
1706
|
-
name?: string | undefined;
|
|
1707
1712
|
}, {
|
|
1713
|
+
name: string | null;
|
|
1708
1714
|
thermostat_daily_program_id: string;
|
|
1709
1715
|
device_id: string;
|
|
1710
1716
|
periods: {
|
|
1711
1717
|
climate_preset_key: string;
|
|
1712
1718
|
starts_at_time: string;
|
|
1713
1719
|
}[];
|
|
1720
|
+
workspace_id: string;
|
|
1714
1721
|
created_at: string;
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
thermostat_weekly_program: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
1718
|
-
device_id: z.ZodString;
|
|
1722
|
+
}>, "many">>>;
|
|
1723
|
+
thermostat_weekly_program: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1719
1724
|
monday_program_id: z.ZodNullable<z.ZodString>;
|
|
1720
1725
|
tuesday_program_id: z.ZodNullable<z.ZodString>;
|
|
1721
1726
|
wednesday_program_id: z.ZodNullable<z.ZodString>;
|
|
@@ -1725,7 +1730,6 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
|
|
|
1725
1730
|
sunday_program_id: z.ZodNullable<z.ZodString>;
|
|
1726
1731
|
created_at: z.ZodString;
|
|
1727
1732
|
}, "strip", z.ZodTypeAny, {
|
|
1728
|
-
device_id: string;
|
|
1729
1733
|
created_at: string;
|
|
1730
1734
|
monday_program_id: string | null;
|
|
1731
1735
|
tuesday_program_id: string | null;
|
|
@@ -1735,7 +1739,6 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
|
|
|
1735
1739
|
saturday_program_id: string | null;
|
|
1736
1740
|
sunday_program_id: string | null;
|
|
1737
1741
|
}, {
|
|
1738
|
-
device_id: string;
|
|
1739
1742
|
created_at: string;
|
|
1740
1743
|
monday_program_id: string | null;
|
|
1741
1744
|
tuesday_program_id: string | null;
|
|
@@ -1829,8 +1832,10 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
|
|
|
1829
1832
|
}[] | undefined;
|
|
1830
1833
|
fallback_climate_preset_key?: string | null | undefined;
|
|
1831
1834
|
active_thermostat_schedule?: {
|
|
1835
|
+
name: string | null;
|
|
1832
1836
|
climate_preset_key: string;
|
|
1833
1837
|
device_id: string;
|
|
1838
|
+
workspace_id: string;
|
|
1834
1839
|
created_at: string;
|
|
1835
1840
|
thermostat_schedule_id: string;
|
|
1836
1841
|
starts_at: string;
|
|
@@ -1839,22 +1844,21 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
|
|
|
1839
1844
|
message: string;
|
|
1840
1845
|
error_code: string;
|
|
1841
1846
|
}[];
|
|
1842
|
-
name?: string | undefined;
|
|
1843
1847
|
max_override_period_minutes?: number | null | undefined;
|
|
1844
1848
|
is_override_allowed?: boolean | undefined;
|
|
1845
1849
|
} | null | undefined;
|
|
1846
1850
|
thermostat_daily_programs?: {
|
|
1851
|
+
name: string | null;
|
|
1847
1852
|
thermostat_daily_program_id: string;
|
|
1848
1853
|
device_id: string;
|
|
1849
1854
|
periods: {
|
|
1850
1855
|
climate_preset_key: string;
|
|
1851
1856
|
starts_at_time: string;
|
|
1852
1857
|
}[];
|
|
1858
|
+
workspace_id: string;
|
|
1853
1859
|
created_at: string;
|
|
1854
|
-
|
|
1855
|
-
}[] | null | undefined;
|
|
1860
|
+
}[] | undefined;
|
|
1856
1861
|
thermostat_weekly_program?: {
|
|
1857
|
-
device_id: string;
|
|
1858
1862
|
created_at: string;
|
|
1859
1863
|
monday_program_id: string | null;
|
|
1860
1864
|
tuesday_program_id: string | null;
|
|
@@ -1938,8 +1942,10 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
|
|
|
1938
1942
|
}[] | undefined;
|
|
1939
1943
|
fallback_climate_preset_key?: string | null | undefined;
|
|
1940
1944
|
active_thermostat_schedule?: {
|
|
1945
|
+
name: string | null;
|
|
1941
1946
|
climate_preset_key: string;
|
|
1942
1947
|
device_id: string;
|
|
1948
|
+
workspace_id: string;
|
|
1943
1949
|
created_at: string;
|
|
1944
1950
|
thermostat_schedule_id: string;
|
|
1945
1951
|
starts_at: string;
|
|
@@ -1948,22 +1954,21 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
|
|
|
1948
1954
|
message: string;
|
|
1949
1955
|
error_code: string;
|
|
1950
1956
|
}[];
|
|
1951
|
-
name?: string | undefined;
|
|
1952
1957
|
max_override_period_minutes?: number | null | undefined;
|
|
1953
1958
|
is_override_allowed?: boolean | undefined;
|
|
1954
1959
|
} | null | undefined;
|
|
1955
1960
|
thermostat_daily_programs?: {
|
|
1961
|
+
name: string | null;
|
|
1956
1962
|
thermostat_daily_program_id: string;
|
|
1957
1963
|
device_id: string;
|
|
1958
1964
|
periods: {
|
|
1959
1965
|
climate_preset_key: string;
|
|
1960
1966
|
starts_at_time: string;
|
|
1961
1967
|
}[];
|
|
1968
|
+
workspace_id: string;
|
|
1962
1969
|
created_at: string;
|
|
1963
|
-
|
|
1964
|
-
}[] | null | undefined;
|
|
1970
|
+
}[] | undefined;
|
|
1965
1971
|
thermostat_weekly_program?: {
|
|
1966
|
-
device_id: string;
|
|
1967
1972
|
created_at: string;
|
|
1968
1973
|
monday_program_id: string | null;
|
|
1969
1974
|
tuesday_program_id: string | null;
|
|
@@ -2581,7 +2586,7 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
|
|
|
2581
2586
|
can_simulate_removal: z.ZodOptional<z.ZodBoolean>;
|
|
2582
2587
|
can_simulate_connection: z.ZodOptional<z.ZodBoolean>;
|
|
2583
2588
|
can_simulate_disconnection: z.ZodOptional<z.ZodBoolean>;
|
|
2584
|
-
}>>, "location" | "device_id" | "created_at" | "errors" | "connected_account_id" | "warnings" | "device_type" | "capabilities_supported"
|
|
2589
|
+
}>>, "location" | "device_id" | "workspace_id" | "created_at" | "errors" | "connected_account_id" | "warnings" | "device_type" | "capabilities_supported">, {
|
|
2585
2590
|
is_managed: z.ZodLiteral<false>;
|
|
2586
2591
|
properties: z.ZodObject<Pick<{
|
|
2587
2592
|
online: z.ZodBoolean;
|
|
@@ -2736,6 +2741,7 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
|
|
|
2736
2741
|
timezone?: string | undefined;
|
|
2737
2742
|
} | null;
|
|
2738
2743
|
device_id: string;
|
|
2744
|
+
workspace_id: string;
|
|
2739
2745
|
created_at: string;
|
|
2740
2746
|
errors: ({
|
|
2741
2747
|
message: string;
|
|
@@ -2938,7 +2944,6 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
|
|
|
2938
2944
|
online_access_codes_enabled?: boolean | undefined;
|
|
2939
2945
|
offline_access_codes_enabled?: boolean | undefined;
|
|
2940
2946
|
};
|
|
2941
|
-
workspace_id: string;
|
|
2942
2947
|
is_managed: false;
|
|
2943
2948
|
can_remotely_unlock?: boolean | undefined;
|
|
2944
2949
|
can_remotely_lock?: boolean | undefined;
|
|
@@ -2957,6 +2962,7 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
|
|
|
2957
2962
|
timezone?: string | undefined;
|
|
2958
2963
|
} | null;
|
|
2959
2964
|
device_id: string;
|
|
2965
|
+
workspace_id: string;
|
|
2960
2966
|
created_at: string;
|
|
2961
2967
|
errors: ({
|
|
2962
2968
|
message: string;
|
|
@@ -3159,7 +3165,6 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
|
|
|
3159
3165
|
online_access_codes_enabled?: boolean | undefined;
|
|
3160
3166
|
offline_access_codes_enabled?: boolean | undefined;
|
|
3161
3167
|
};
|
|
3162
|
-
workspace_id: string;
|
|
3163
3168
|
is_managed: false;
|
|
3164
3169
|
can_remotely_unlock?: boolean | undefined;
|
|
3165
3170
|
can_remotely_lock?: boolean | undefined;
|