@seamapi/types 1.395.1 → 1.395.3
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 +57 -18
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +694 -403
- package/lib/seam/connect/model-types.d.ts +1 -1
- 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/connected-accounts/connected-account.d.ts +102 -12
- package/lib/seam/connect/models/connected-accounts/connected-account.js.map +1 -1
- 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 -9
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +136 -102
- package/package.json +2 -2
- package/src/lib/seam/connect/model-types.ts +2 -0
- package/src/lib/seam/connect/models/connected-accounts/connected-account.ts +4 -0
- 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 -10
- package/src/lib/seam/connect/route-types.ts +617 -505
package/dist/connect.d.cts
CHANGED
|
@@ -3593,13 +3593,13 @@ declare const acs_access_group: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3593
3593
|
}>, "strip", z.ZodTypeAny, {
|
|
3594
3594
|
name: string;
|
|
3595
3595
|
display_name: string;
|
|
3596
|
+
workspace_id: string;
|
|
3596
3597
|
created_at: string;
|
|
3597
3598
|
warnings: {
|
|
3598
3599
|
message: string;
|
|
3599
3600
|
created_at: string;
|
|
3600
3601
|
warning_code: "unknown_issue_with_acs_access_group";
|
|
3601
3602
|
}[];
|
|
3602
|
-
workspace_id: string;
|
|
3603
3603
|
is_managed: true;
|
|
3604
3604
|
acs_access_group_id: string;
|
|
3605
3605
|
acs_system_id: string;
|
|
@@ -3610,13 +3610,13 @@ declare const acs_access_group: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3610
3610
|
}, {
|
|
3611
3611
|
name: string;
|
|
3612
3612
|
display_name: string;
|
|
3613
|
+
workspace_id: string;
|
|
3613
3614
|
created_at: string;
|
|
3614
3615
|
warnings: {
|
|
3615
3616
|
message: string;
|
|
3616
3617
|
created_at: string;
|
|
3617
3618
|
warning_code: "unknown_issue_with_acs_access_group";
|
|
3618
3619
|
}[];
|
|
3619
|
-
workspace_id: string;
|
|
3620
3620
|
is_managed: true;
|
|
3621
3621
|
acs_access_group_id: string;
|
|
3622
3622
|
acs_system_id: string;
|
|
@@ -3655,13 +3655,13 @@ declare const unmanaged_acs_access_group: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3655
3655
|
}>, "strip", z.ZodTypeAny, {
|
|
3656
3656
|
name: string;
|
|
3657
3657
|
display_name: string;
|
|
3658
|
+
workspace_id: string;
|
|
3658
3659
|
created_at: string;
|
|
3659
3660
|
warnings: {
|
|
3660
3661
|
message: string;
|
|
3661
3662
|
created_at: string;
|
|
3662
3663
|
warning_code: "unknown_issue_with_acs_access_group";
|
|
3663
3664
|
}[];
|
|
3664
|
-
workspace_id: string;
|
|
3665
3665
|
is_managed: false;
|
|
3666
3666
|
acs_access_group_id: string;
|
|
3667
3667
|
acs_system_id: string;
|
|
@@ -3672,13 +3672,13 @@ declare const unmanaged_acs_access_group: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3672
3672
|
}, {
|
|
3673
3673
|
name: string;
|
|
3674
3674
|
display_name: string;
|
|
3675
|
+
workspace_id: string;
|
|
3675
3676
|
created_at: string;
|
|
3676
3677
|
warnings: {
|
|
3677
3678
|
message: string;
|
|
3678
3679
|
created_at: string;
|
|
3679
3680
|
warning_code: "unknown_issue_with_acs_access_group";
|
|
3680
3681
|
}[];
|
|
3681
|
-
workspace_id: string;
|
|
3682
3682
|
is_managed: false;
|
|
3683
3683
|
acs_access_group_id: string;
|
|
3684
3684
|
acs_system_id: string;
|
|
@@ -3854,6 +3854,7 @@ declare const acs_credential: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3854
3854
|
is_managed: z.ZodLiteral<true>;
|
|
3855
3855
|
}>, "strip", z.ZodTypeAny, {
|
|
3856
3856
|
display_name: string;
|
|
3857
|
+
workspace_id: string;
|
|
3857
3858
|
created_at: string;
|
|
3858
3859
|
errors: {
|
|
3859
3860
|
message: string;
|
|
@@ -3884,7 +3885,6 @@ declare const acs_credential: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3884
3885
|
created_at: string;
|
|
3885
3886
|
warning_code: "needs_to_be_reissued";
|
|
3886
3887
|
})[];
|
|
3887
|
-
workspace_id: string;
|
|
3888
3888
|
is_managed: true;
|
|
3889
3889
|
acs_system_id: string;
|
|
3890
3890
|
acs_credential_id: string;
|
|
@@ -3924,6 +3924,7 @@ declare const acs_credential: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3924
3924
|
latest_desired_state_synced_with_provider_at?: string | null | undefined;
|
|
3925
3925
|
}, {
|
|
3926
3926
|
display_name: string;
|
|
3927
|
+
workspace_id: string;
|
|
3927
3928
|
created_at: string;
|
|
3928
3929
|
errors: {
|
|
3929
3930
|
message: string;
|
|
@@ -3954,7 +3955,6 @@ declare const acs_credential: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3954
3955
|
created_at: string;
|
|
3955
3956
|
warning_code: "needs_to_be_reissued";
|
|
3956
3957
|
})[];
|
|
3957
|
-
workspace_id: string;
|
|
3958
3958
|
is_managed: true;
|
|
3959
3959
|
acs_system_id: string;
|
|
3960
3960
|
acs_credential_id: string;
|
|
@@ -4158,6 +4158,7 @@ declare const unmanaged_acs_credential: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
4158
4158
|
is_managed: z.ZodLiteral<false>;
|
|
4159
4159
|
}>, "strip", z.ZodTypeAny, {
|
|
4160
4160
|
display_name: string;
|
|
4161
|
+
workspace_id: string;
|
|
4161
4162
|
created_at: string;
|
|
4162
4163
|
errors: {
|
|
4163
4164
|
message: string;
|
|
@@ -4188,7 +4189,6 @@ declare const unmanaged_acs_credential: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
4188
4189
|
created_at: string;
|
|
4189
4190
|
warning_code: "needs_to_be_reissued";
|
|
4190
4191
|
})[];
|
|
4191
|
-
workspace_id: string;
|
|
4192
4192
|
is_managed: false;
|
|
4193
4193
|
acs_system_id: string;
|
|
4194
4194
|
acs_credential_id: string;
|
|
@@ -4228,6 +4228,7 @@ declare const unmanaged_acs_credential: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
4228
4228
|
latest_desired_state_synced_with_provider_at?: string | null | undefined;
|
|
4229
4229
|
}, {
|
|
4230
4230
|
display_name: string;
|
|
4231
|
+
workspace_id: string;
|
|
4231
4232
|
created_at: string;
|
|
4232
4233
|
errors: {
|
|
4233
4234
|
message: string;
|
|
@@ -4258,7 +4259,6 @@ declare const unmanaged_acs_credential: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
4258
4259
|
created_at: string;
|
|
4259
4260
|
warning_code: "needs_to_be_reissued";
|
|
4260
4261
|
})[];
|
|
4261
|
-
workspace_id: string;
|
|
4262
4262
|
is_managed: false;
|
|
4263
4263
|
acs_system_id: string;
|
|
4264
4264
|
acs_credential_id: string;
|
|
@@ -4321,24 +4321,24 @@ declare const acs_encoder: z.ZodObject<{
|
|
|
4321
4321
|
display_name: z.ZodString;
|
|
4322
4322
|
}, "strip", z.ZodTypeAny, {
|
|
4323
4323
|
display_name: string;
|
|
4324
|
+
workspace_id: string;
|
|
4324
4325
|
created_at: string;
|
|
4325
4326
|
errors: {
|
|
4326
4327
|
message: string;
|
|
4327
4328
|
created_at: string;
|
|
4328
4329
|
error_code: "acs_encoder_removed";
|
|
4329
4330
|
}[];
|
|
4330
|
-
workspace_id: string;
|
|
4331
4331
|
acs_system_id: string;
|
|
4332
4332
|
acs_encoder_id: string;
|
|
4333
4333
|
}, {
|
|
4334
4334
|
display_name: string;
|
|
4335
|
+
workspace_id: string;
|
|
4335
4336
|
created_at: string;
|
|
4336
4337
|
errors: {
|
|
4337
4338
|
message: string;
|
|
4338
4339
|
created_at: string;
|
|
4339
4340
|
error_code: "acs_encoder_removed";
|
|
4340
4341
|
}[];
|
|
4341
|
-
workspace_id: string;
|
|
4342
4342
|
acs_system_id: string;
|
|
4343
4343
|
acs_encoder_id: string;
|
|
4344
4344
|
}>;
|
|
@@ -4744,6 +4744,7 @@ declare const acs_system: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
4744
4744
|
can_update_user_group_membership: z.ZodOptional<z.ZodBoolean>;
|
|
4745
4745
|
}>, "strip", z.ZodTypeAny, {
|
|
4746
4746
|
name: string;
|
|
4747
|
+
workspace_id: string;
|
|
4747
4748
|
created_at: string;
|
|
4748
4749
|
errors: ({
|
|
4749
4750
|
message: string;
|
|
@@ -4791,7 +4792,6 @@ declare const acs_system: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
4791
4792
|
location: {
|
|
4792
4793
|
time_zone: string | null;
|
|
4793
4794
|
};
|
|
4794
|
-
workspace_id: string;
|
|
4795
4795
|
acs_system_id: string;
|
|
4796
4796
|
is_credential_manager: boolean;
|
|
4797
4797
|
connected_account_ids: string[];
|
|
@@ -4819,6 +4819,7 @@ declare const acs_system: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
4819
4819
|
system_type_display_name?: string | undefined;
|
|
4820
4820
|
}, {
|
|
4821
4821
|
name: string;
|
|
4822
|
+
workspace_id: string;
|
|
4822
4823
|
created_at: string;
|
|
4823
4824
|
errors: ({
|
|
4824
4825
|
message: string;
|
|
@@ -4866,7 +4867,6 @@ declare const acs_system: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
4866
4867
|
location: {
|
|
4867
4868
|
time_zone: string | null;
|
|
4868
4869
|
};
|
|
4869
|
-
workspace_id: string;
|
|
4870
4870
|
acs_system_id: string;
|
|
4871
4871
|
is_credential_manager: boolean;
|
|
4872
4872
|
connected_account_ids: string[];
|
|
@@ -5274,6 +5274,7 @@ declare const acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extend
|
|
|
5274
5274
|
is_managed: z.ZodLiteral<true>;
|
|
5275
5275
|
}>, "strip", z.ZodTypeAny, {
|
|
5276
5276
|
display_name: string;
|
|
5277
|
+
workspace_id: string;
|
|
5277
5278
|
created_at: string;
|
|
5278
5279
|
errors: ({
|
|
5279
5280
|
message: string;
|
|
@@ -5317,7 +5318,6 @@ declare const acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extend
|
|
|
5317
5318
|
created_at: string;
|
|
5318
5319
|
warning_code: "latch_resident_user";
|
|
5319
5320
|
})[];
|
|
5320
|
-
workspace_id: string;
|
|
5321
5321
|
is_managed: true;
|
|
5322
5322
|
acs_system_id: string;
|
|
5323
5323
|
acs_user_id: string;
|
|
@@ -5395,6 +5395,7 @@ declare const acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extend
|
|
|
5395
5395
|
})[] | undefined;
|
|
5396
5396
|
}, {
|
|
5397
5397
|
display_name: string;
|
|
5398
|
+
workspace_id: string;
|
|
5398
5399
|
created_at: string;
|
|
5399
5400
|
errors: ({
|
|
5400
5401
|
message: string;
|
|
@@ -5438,7 +5439,6 @@ declare const acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extend
|
|
|
5438
5439
|
created_at: string;
|
|
5439
5440
|
warning_code: "latch_resident_user";
|
|
5440
5441
|
})[];
|
|
5441
|
-
workspace_id: string;
|
|
5442
5442
|
is_managed: true;
|
|
5443
5443
|
acs_system_id: string;
|
|
5444
5444
|
acs_user_id: string;
|
|
@@ -5894,6 +5894,7 @@ declare const unmanaged_acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectU
|
|
|
5894
5894
|
is_managed: z.ZodLiteral<false>;
|
|
5895
5895
|
}>, "strip", z.ZodTypeAny, {
|
|
5896
5896
|
display_name: string;
|
|
5897
|
+
workspace_id: string;
|
|
5897
5898
|
created_at: string;
|
|
5898
5899
|
errors: ({
|
|
5899
5900
|
message: string;
|
|
@@ -5937,7 +5938,6 @@ declare const unmanaged_acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectU
|
|
|
5937
5938
|
created_at: string;
|
|
5938
5939
|
warning_code: "latch_resident_user";
|
|
5939
5940
|
})[];
|
|
5940
|
-
workspace_id: string;
|
|
5941
5941
|
is_managed: false;
|
|
5942
5942
|
acs_system_id: string;
|
|
5943
5943
|
acs_user_id: string;
|
|
@@ -6015,6 +6015,7 @@ declare const unmanaged_acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectU
|
|
|
6015
6015
|
})[] | undefined;
|
|
6016
6016
|
}, {
|
|
6017
6017
|
display_name: string;
|
|
6018
|
+
workspace_id: string;
|
|
6018
6019
|
created_at: string;
|
|
6019
6020
|
errors: ({
|
|
6020
6021
|
message: string;
|
|
@@ -6058,7 +6059,6 @@ declare const unmanaged_acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectU
|
|
|
6058
6059
|
created_at: string;
|
|
6059
6060
|
warning_code: "latch_resident_user";
|
|
6060
6061
|
})[];
|
|
6061
|
-
workspace_id: string;
|
|
6062
6062
|
is_managed: false;
|
|
6063
6063
|
acs_system_id: string;
|
|
6064
6064
|
acs_user_id: string;
|
|
@@ -6575,6 +6575,7 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
|
|
|
6575
6575
|
is_managed: z.ZodLiteral<true>;
|
|
6576
6576
|
}>, "strip", z.ZodTypeAny, {
|
|
6577
6577
|
display_name: string;
|
|
6578
|
+
workspace_id: string;
|
|
6578
6579
|
created_at: string;
|
|
6579
6580
|
errors: {
|
|
6580
6581
|
message: string;
|
|
@@ -6605,7 +6606,6 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
|
|
|
6605
6606
|
created_at: string;
|
|
6606
6607
|
warning_code: "needs_to_be_reissued";
|
|
6607
6608
|
})[];
|
|
6608
|
-
workspace_id: string;
|
|
6609
6609
|
is_managed: true;
|
|
6610
6610
|
acs_system_id: string;
|
|
6611
6611
|
acs_credential_id: string;
|
|
@@ -6645,6 +6645,7 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
|
|
|
6645
6645
|
latest_desired_state_synced_with_provider_at?: string | null | undefined;
|
|
6646
6646
|
}, {
|
|
6647
6647
|
display_name: string;
|
|
6648
|
+
workspace_id: string;
|
|
6648
6649
|
created_at: string;
|
|
6649
6650
|
errors: {
|
|
6650
6651
|
message: string;
|
|
@@ -6675,7 +6676,6 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
|
|
|
6675
6676
|
created_at: string;
|
|
6676
6677
|
warning_code: "needs_to_be_reissued";
|
|
6677
6678
|
})[];
|
|
6678
|
-
workspace_id: string;
|
|
6679
6679
|
is_managed: true;
|
|
6680
6680
|
acs_system_id: string;
|
|
6681
6681
|
acs_credential_id: string;
|
|
@@ -6878,6 +6878,7 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
|
|
|
6878
6878
|
is_managed: z.ZodLiteral<false>;
|
|
6879
6879
|
}>, "strip", z.ZodTypeAny, {
|
|
6880
6880
|
display_name: string;
|
|
6881
|
+
workspace_id: string;
|
|
6881
6882
|
created_at: string;
|
|
6882
6883
|
errors: {
|
|
6883
6884
|
message: string;
|
|
@@ -6908,7 +6909,6 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
|
|
|
6908
6909
|
created_at: string;
|
|
6909
6910
|
warning_code: "needs_to_be_reissued";
|
|
6910
6911
|
})[];
|
|
6911
|
-
workspace_id: string;
|
|
6912
6912
|
is_managed: false;
|
|
6913
6913
|
acs_system_id: string;
|
|
6914
6914
|
acs_credential_id: string;
|
|
@@ -6948,6 +6948,7 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
|
|
|
6948
6948
|
latest_desired_state_synced_with_provider_at?: string | null | undefined;
|
|
6949
6949
|
}, {
|
|
6950
6950
|
display_name: string;
|
|
6951
|
+
workspace_id: string;
|
|
6951
6952
|
created_at: string;
|
|
6952
6953
|
errors: {
|
|
6953
6954
|
message: string;
|
|
@@ -6978,7 +6979,6 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
|
|
|
6978
6979
|
created_at: string;
|
|
6979
6980
|
warning_code: "needs_to_be_reissued";
|
|
6980
6981
|
})[];
|
|
6981
|
-
workspace_id: string;
|
|
6982
6982
|
is_managed: false;
|
|
6983
6983
|
acs_system_id: string;
|
|
6984
6984
|
acs_credential_id: string;
|
|
@@ -7055,6 +7055,7 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
|
|
|
7055
7055
|
} | null;
|
|
7056
7056
|
acs_credential_on_seam: {
|
|
7057
7057
|
display_name: string;
|
|
7058
|
+
workspace_id: string;
|
|
7058
7059
|
created_at: string;
|
|
7059
7060
|
errors: {
|
|
7060
7061
|
message: string;
|
|
@@ -7085,7 +7086,6 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
|
|
|
7085
7086
|
created_at: string;
|
|
7086
7087
|
warning_code: "needs_to_be_reissued";
|
|
7087
7088
|
})[];
|
|
7088
|
-
workspace_id: string;
|
|
7089
7089
|
is_managed: true;
|
|
7090
7090
|
acs_system_id: string;
|
|
7091
7091
|
acs_credential_id: string;
|
|
@@ -7125,6 +7125,7 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
|
|
|
7125
7125
|
latest_desired_state_synced_with_provider_at?: string | null | undefined;
|
|
7126
7126
|
} | {
|
|
7127
7127
|
display_name: string;
|
|
7128
|
+
workspace_id: string;
|
|
7128
7129
|
created_at: string;
|
|
7129
7130
|
errors: {
|
|
7130
7131
|
message: string;
|
|
@@ -7155,7 +7156,6 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
|
|
|
7155
7156
|
created_at: string;
|
|
7156
7157
|
warning_code: "needs_to_be_reissued";
|
|
7157
7158
|
})[];
|
|
7158
|
-
workspace_id: string;
|
|
7159
7159
|
is_managed: false;
|
|
7160
7160
|
acs_system_id: string;
|
|
7161
7161
|
acs_credential_id: string;
|
|
@@ -7222,6 +7222,7 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
|
|
|
7222
7222
|
} | null;
|
|
7223
7223
|
acs_credential_on_seam: {
|
|
7224
7224
|
display_name: string;
|
|
7225
|
+
workspace_id: string;
|
|
7225
7226
|
created_at: string;
|
|
7226
7227
|
errors: {
|
|
7227
7228
|
message: string;
|
|
@@ -7252,7 +7253,6 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
|
|
|
7252
7253
|
created_at: string;
|
|
7253
7254
|
warning_code: "needs_to_be_reissued";
|
|
7254
7255
|
})[];
|
|
7255
|
-
workspace_id: string;
|
|
7256
7256
|
is_managed: true;
|
|
7257
7257
|
acs_system_id: string;
|
|
7258
7258
|
acs_credential_id: string;
|
|
@@ -7292,6 +7292,7 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
|
|
|
7292
7292
|
latest_desired_state_synced_with_provider_at?: string | null | undefined;
|
|
7293
7293
|
} | {
|
|
7294
7294
|
display_name: string;
|
|
7295
|
+
workspace_id: string;
|
|
7295
7296
|
created_at: string;
|
|
7296
7297
|
errors: {
|
|
7297
7298
|
message: string;
|
|
@@ -7322,7 +7323,6 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
|
|
|
7322
7323
|
created_at: string;
|
|
7323
7324
|
warning_code: "needs_to_be_reissued";
|
|
7324
7325
|
})[];
|
|
7325
|
-
workspace_id: string;
|
|
7326
7326
|
is_managed: false;
|
|
7327
7327
|
acs_system_id: string;
|
|
7328
7328
|
acs_credential_id: string;
|
|
@@ -7394,6 +7394,7 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
|
|
|
7394
7394
|
} | null;
|
|
7395
7395
|
acs_credential_on_seam: {
|
|
7396
7396
|
display_name: string;
|
|
7397
|
+
workspace_id: string;
|
|
7397
7398
|
created_at: string;
|
|
7398
7399
|
errors: {
|
|
7399
7400
|
message: string;
|
|
@@ -7424,7 +7425,6 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
|
|
|
7424
7425
|
created_at: string;
|
|
7425
7426
|
warning_code: "needs_to_be_reissued";
|
|
7426
7427
|
})[];
|
|
7427
|
-
workspace_id: string;
|
|
7428
7428
|
is_managed: true;
|
|
7429
7429
|
acs_system_id: string;
|
|
7430
7430
|
acs_credential_id: string;
|
|
@@ -7464,6 +7464,7 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
|
|
|
7464
7464
|
latest_desired_state_synced_with_provider_at?: string | null | undefined;
|
|
7465
7465
|
} | {
|
|
7466
7466
|
display_name: string;
|
|
7467
|
+
workspace_id: string;
|
|
7467
7468
|
created_at: string;
|
|
7468
7469
|
errors: {
|
|
7469
7470
|
message: string;
|
|
@@ -7494,7 +7495,6 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
|
|
|
7494
7495
|
created_at: string;
|
|
7495
7496
|
warning_code: "needs_to_be_reissued";
|
|
7496
7497
|
})[];
|
|
7497
|
-
workspace_id: string;
|
|
7498
7498
|
is_managed: false;
|
|
7499
7499
|
acs_system_id: string;
|
|
7500
7500
|
acs_credential_id: string;
|
|
@@ -7567,6 +7567,7 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
|
|
|
7567
7567
|
} | null;
|
|
7568
7568
|
acs_credential_on_seam: {
|
|
7569
7569
|
display_name: string;
|
|
7570
|
+
workspace_id: string;
|
|
7570
7571
|
created_at: string;
|
|
7571
7572
|
errors: {
|
|
7572
7573
|
message: string;
|
|
@@ -7597,7 +7598,6 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
|
|
|
7597
7598
|
created_at: string;
|
|
7598
7599
|
warning_code: "needs_to_be_reissued";
|
|
7599
7600
|
})[];
|
|
7600
|
-
workspace_id: string;
|
|
7601
7601
|
is_managed: true;
|
|
7602
7602
|
acs_system_id: string;
|
|
7603
7603
|
acs_credential_id: string;
|
|
@@ -7637,6 +7637,7 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
|
|
|
7637
7637
|
latest_desired_state_synced_with_provider_at?: string | null | undefined;
|
|
7638
7638
|
} | {
|
|
7639
7639
|
display_name: string;
|
|
7640
|
+
workspace_id: string;
|
|
7640
7641
|
created_at: string;
|
|
7641
7642
|
errors: {
|
|
7642
7643
|
message: string;
|
|
@@ -7667,7 +7668,6 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
|
|
|
7667
7668
|
created_at: string;
|
|
7668
7669
|
warning_code: "needs_to_be_reissued";
|
|
7669
7670
|
})[];
|
|
7670
|
-
workspace_id: string;
|
|
7671
7671
|
is_managed: false;
|
|
7672
7672
|
acs_system_id: string;
|
|
7673
7673
|
acs_credential_id: string;
|
|
@@ -7814,8 +7814,8 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
|
|
|
7814
7814
|
is_card_encoding_required: z.ZodOptional<z.ZodBoolean>;
|
|
7815
7815
|
}, "strip", z.ZodTypeAny, {
|
|
7816
7816
|
display_name: string;
|
|
7817
|
-
created_at: string;
|
|
7818
7817
|
workspace_id: string;
|
|
7818
|
+
created_at: string;
|
|
7819
7819
|
mode: "code" | "card" | "mobile_key";
|
|
7820
7820
|
access_method_id: string;
|
|
7821
7821
|
issued_at?: string | undefined;
|
|
@@ -7823,8 +7823,8 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
|
|
|
7823
7823
|
is_card_encoding_required?: boolean | undefined;
|
|
7824
7824
|
}, {
|
|
7825
7825
|
display_name: string;
|
|
7826
|
-
created_at: string;
|
|
7827
7826
|
workspace_id: string;
|
|
7827
|
+
created_at: string;
|
|
7828
7828
|
mode: "code" | "card" | "mobile_key";
|
|
7829
7829
|
access_method_id: string;
|
|
7830
7830
|
issued_at?: string | undefined;
|
|
@@ -7837,8 +7837,8 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
|
|
|
7837
7837
|
error: null;
|
|
7838
7838
|
result: {
|
|
7839
7839
|
display_name: string;
|
|
7840
|
-
created_at: string;
|
|
7841
7840
|
workspace_id: string;
|
|
7841
|
+
created_at: string;
|
|
7842
7842
|
mode: "code" | "card" | "mobile_key";
|
|
7843
7843
|
access_method_id: string;
|
|
7844
7844
|
issued_at?: string | undefined;
|
|
@@ -7852,8 +7852,8 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
|
|
|
7852
7852
|
error: null;
|
|
7853
7853
|
result: {
|
|
7854
7854
|
display_name: string;
|
|
7855
|
-
created_at: string;
|
|
7856
7855
|
workspace_id: string;
|
|
7856
|
+
created_at: string;
|
|
7857
7857
|
mode: "code" | "card" | "mobile_key";
|
|
7858
7858
|
access_method_id: string;
|
|
7859
7859
|
issued_at?: string | undefined;
|
|
@@ -8151,6 +8151,7 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
|
|
|
8151
8151
|
is_managed: z.ZodLiteral<true>;
|
|
8152
8152
|
}>, "strip", z.ZodTypeAny, {
|
|
8153
8153
|
display_name: string;
|
|
8154
|
+
workspace_id: string;
|
|
8154
8155
|
created_at: string;
|
|
8155
8156
|
errors: {
|
|
8156
8157
|
message: string;
|
|
@@ -8181,7 +8182,6 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
|
|
|
8181
8182
|
created_at: string;
|
|
8182
8183
|
warning_code: "needs_to_be_reissued";
|
|
8183
8184
|
})[];
|
|
8184
|
-
workspace_id: string;
|
|
8185
8185
|
is_managed: true;
|
|
8186
8186
|
acs_system_id: string;
|
|
8187
8187
|
acs_credential_id: string;
|
|
@@ -8221,6 +8221,7 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
|
|
|
8221
8221
|
latest_desired_state_synced_with_provider_at?: string | null | undefined;
|
|
8222
8222
|
}, {
|
|
8223
8223
|
display_name: string;
|
|
8224
|
+
workspace_id: string;
|
|
8224
8225
|
created_at: string;
|
|
8225
8226
|
errors: {
|
|
8226
8227
|
message: string;
|
|
@@ -8251,7 +8252,6 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
|
|
|
8251
8252
|
created_at: string;
|
|
8252
8253
|
warning_code: "needs_to_be_reissued";
|
|
8253
8254
|
})[];
|
|
8254
|
-
workspace_id: string;
|
|
8255
8255
|
is_managed: true;
|
|
8256
8256
|
acs_system_id: string;
|
|
8257
8257
|
acs_credential_id: string;
|
|
@@ -8454,6 +8454,7 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
|
|
|
8454
8454
|
is_managed: z.ZodLiteral<false>;
|
|
8455
8455
|
}>, "strip", z.ZodTypeAny, {
|
|
8456
8456
|
display_name: string;
|
|
8457
|
+
workspace_id: string;
|
|
8457
8458
|
created_at: string;
|
|
8458
8459
|
errors: {
|
|
8459
8460
|
message: string;
|
|
@@ -8484,7 +8485,6 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
|
|
|
8484
8485
|
created_at: string;
|
|
8485
8486
|
warning_code: "needs_to_be_reissued";
|
|
8486
8487
|
})[];
|
|
8487
|
-
workspace_id: string;
|
|
8488
8488
|
is_managed: false;
|
|
8489
8489
|
acs_system_id: string;
|
|
8490
8490
|
acs_credential_id: string;
|
|
@@ -8524,6 +8524,7 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
|
|
|
8524
8524
|
latest_desired_state_synced_with_provider_at?: string | null | undefined;
|
|
8525
8525
|
}, {
|
|
8526
8526
|
display_name: string;
|
|
8527
|
+
workspace_id: string;
|
|
8527
8528
|
created_at: string;
|
|
8528
8529
|
errors: {
|
|
8529
8530
|
message: string;
|
|
@@ -8554,7 +8555,6 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
|
|
|
8554
8555
|
created_at: string;
|
|
8555
8556
|
warning_code: "needs_to_be_reissued";
|
|
8556
8557
|
})[];
|
|
8557
|
-
workspace_id: string;
|
|
8558
8558
|
is_managed: false;
|
|
8559
8559
|
acs_system_id: string;
|
|
8560
8560
|
acs_credential_id: string;
|
|
@@ -8599,6 +8599,7 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
|
|
|
8599
8599
|
error: null;
|
|
8600
8600
|
result: {
|
|
8601
8601
|
display_name: string;
|
|
8602
|
+
workspace_id: string;
|
|
8602
8603
|
created_at: string;
|
|
8603
8604
|
errors: {
|
|
8604
8605
|
message: string;
|
|
@@ -8629,7 +8630,6 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
|
|
|
8629
8630
|
created_at: string;
|
|
8630
8631
|
warning_code: "needs_to_be_reissued";
|
|
8631
8632
|
})[];
|
|
8632
|
-
workspace_id: string;
|
|
8633
8633
|
is_managed: true;
|
|
8634
8634
|
acs_system_id: string;
|
|
8635
8635
|
acs_credential_id: string;
|
|
@@ -8669,6 +8669,7 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
|
|
|
8669
8669
|
latest_desired_state_synced_with_provider_at?: string | null | undefined;
|
|
8670
8670
|
} | {
|
|
8671
8671
|
display_name: string;
|
|
8672
|
+
workspace_id: string;
|
|
8672
8673
|
created_at: string;
|
|
8673
8674
|
errors: {
|
|
8674
8675
|
message: string;
|
|
@@ -8699,7 +8700,6 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
|
|
|
8699
8700
|
created_at: string;
|
|
8700
8701
|
warning_code: "needs_to_be_reissued";
|
|
8701
8702
|
})[];
|
|
8702
|
-
workspace_id: string;
|
|
8703
8703
|
is_managed: false;
|
|
8704
8704
|
acs_system_id: string;
|
|
8705
8705
|
acs_credential_id: string;
|
|
@@ -8745,6 +8745,7 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
|
|
|
8745
8745
|
error: null;
|
|
8746
8746
|
result: {
|
|
8747
8747
|
display_name: string;
|
|
8748
|
+
workspace_id: string;
|
|
8748
8749
|
created_at: string;
|
|
8749
8750
|
errors: {
|
|
8750
8751
|
message: string;
|
|
@@ -8775,7 +8776,6 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
|
|
|
8775
8776
|
created_at: string;
|
|
8776
8777
|
warning_code: "needs_to_be_reissued";
|
|
8777
8778
|
})[];
|
|
8778
|
-
workspace_id: string;
|
|
8779
8779
|
is_managed: true;
|
|
8780
8780
|
acs_system_id: string;
|
|
8781
8781
|
acs_credential_id: string;
|
|
@@ -8815,6 +8815,7 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
|
|
|
8815
8815
|
latest_desired_state_synced_with_provider_at?: string | null | undefined;
|
|
8816
8816
|
} | {
|
|
8817
8817
|
display_name: string;
|
|
8818
|
+
workspace_id: string;
|
|
8818
8819
|
created_at: string;
|
|
8819
8820
|
errors: {
|
|
8820
8821
|
message: string;
|
|
@@ -8845,7 +8846,6 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
|
|
|
8845
8846
|
created_at: string;
|
|
8846
8847
|
warning_code: "needs_to_be_reissued";
|
|
8847
8848
|
})[];
|
|
8848
|
-
workspace_id: string;
|
|
8849
8849
|
is_managed: false;
|
|
8850
8850
|
acs_system_id: string;
|
|
8851
8851
|
acs_credential_id: string;
|
|
@@ -10170,13 +10170,13 @@ declare const bridge: z.ZodObject<{
|
|
|
10170
10170
|
workspace_id: z.ZodString;
|
|
10171
10171
|
created_at: z.ZodString;
|
|
10172
10172
|
}, "strip", z.ZodTypeAny, {
|
|
10173
|
+
workspace_id: string;
|
|
10173
10174
|
created_at: string;
|
|
10174
10175
|
bridge_id: string;
|
|
10175
|
-
workspace_id: string;
|
|
10176
10176
|
}, {
|
|
10177
|
+
workspace_id: string;
|
|
10177
10178
|
created_at: string;
|
|
10178
10179
|
bridge_id: string;
|
|
10179
|
-
workspace_id: string;
|
|
10180
10180
|
}>;
|
|
10181
10181
|
type Bridge = z.infer<typeof bridge>;
|
|
10182
10182
|
|
|
@@ -10306,8 +10306,8 @@ declare const client_session: z.ZodObject<{
|
|
|
10306
10306
|
connect_webview_ids: z.ZodArray<z.ZodString, "many">;
|
|
10307
10307
|
user_identity_ids: z.ZodArray<z.ZodString, "many">;
|
|
10308
10308
|
}, "strip", z.ZodTypeAny, {
|
|
10309
|
-
created_at: string;
|
|
10310
10309
|
workspace_id: string;
|
|
10310
|
+
created_at: string;
|
|
10311
10311
|
connected_account_ids: string[];
|
|
10312
10312
|
client_session_id: string;
|
|
10313
10313
|
expires_at: string;
|
|
@@ -10317,8 +10317,8 @@ declare const client_session: z.ZodObject<{
|
|
|
10317
10317
|
connect_webview_ids: string[];
|
|
10318
10318
|
user_identity_ids: string[];
|
|
10319
10319
|
}, {
|
|
10320
|
-
created_at: string;
|
|
10321
10320
|
workspace_id: string;
|
|
10321
|
+
created_at: string;
|
|
10322
10322
|
connected_account_ids: string[];
|
|
10323
10323
|
client_session_id: string;
|
|
10324
10324
|
expires_at: string;
|
|
@@ -10352,12 +10352,12 @@ declare const connect_webview: z.ZodObject<{
|
|
|
10352
10352
|
selected_provider: z.ZodNullable<z.ZodString>;
|
|
10353
10353
|
}, "strip", z.ZodTypeAny, {
|
|
10354
10354
|
status: "pending" | "failed" | "authorized";
|
|
10355
|
+
workspace_id: string;
|
|
10355
10356
|
created_at: string;
|
|
10356
10357
|
url: string;
|
|
10357
10358
|
connected_account_id: string | null;
|
|
10358
10359
|
custom_metadata: Record<string, string | boolean>;
|
|
10359
10360
|
automatically_manage_new_devices: boolean;
|
|
10360
|
-
workspace_id: string;
|
|
10361
10361
|
connect_webview_id: string;
|
|
10362
10362
|
device_selection_mode: "none" | "single" | "multiple";
|
|
10363
10363
|
accepted_providers: string[];
|
|
@@ -10372,12 +10372,12 @@ declare const connect_webview: z.ZodObject<{
|
|
|
10372
10372
|
selected_provider: string | null;
|
|
10373
10373
|
}, {
|
|
10374
10374
|
status: "pending" | "failed" | "authorized";
|
|
10375
|
+
workspace_id: string;
|
|
10375
10376
|
created_at: string;
|
|
10376
10377
|
url: string;
|
|
10377
10378
|
connected_account_id: string | null;
|
|
10378
10379
|
custom_metadata: Record<string, string | boolean>;
|
|
10379
10380
|
automatically_manage_new_devices: boolean;
|
|
10380
|
-
workspace_id: string;
|
|
10381
10381
|
connect_webview_id: string;
|
|
10382
10382
|
device_selection_mode: "none" | "single" | "multiple";
|
|
10383
10383
|
accepted_providers: string[];
|
|
@@ -10393,6 +10393,221 @@ declare const connect_webview: z.ZodObject<{
|
|
|
10393
10393
|
}>;
|
|
10394
10394
|
type ConnectWebview = z.infer<typeof connect_webview>;
|
|
10395
10395
|
|
|
10396
|
+
declare const connected_account_error: z.ZodDiscriminatedUnion<"error_code", [z.ZodObject<z.objectUtil.extendShape<{
|
|
10397
|
+
created_at: z.ZodString;
|
|
10398
|
+
message: z.ZodString;
|
|
10399
|
+
is_connected_account_error: z.ZodOptional<z.ZodBoolean>;
|
|
10400
|
+
is_bridge_error: z.ZodOptional<z.ZodBoolean>;
|
|
10401
|
+
}, {
|
|
10402
|
+
error_code: z.ZodLiteral<"account_disconnected">;
|
|
10403
|
+
}>, "strip", z.ZodTypeAny, {
|
|
10404
|
+
message: string;
|
|
10405
|
+
created_at: string;
|
|
10406
|
+
error_code: "account_disconnected";
|
|
10407
|
+
is_connected_account_error?: boolean | undefined;
|
|
10408
|
+
is_bridge_error?: boolean | undefined;
|
|
10409
|
+
}, {
|
|
10410
|
+
message: string;
|
|
10411
|
+
created_at: string;
|
|
10412
|
+
error_code: "account_disconnected";
|
|
10413
|
+
is_connected_account_error?: boolean | undefined;
|
|
10414
|
+
is_bridge_error?: boolean | undefined;
|
|
10415
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
10416
|
+
created_at: z.ZodString;
|
|
10417
|
+
message: z.ZodString;
|
|
10418
|
+
is_connected_account_error: z.ZodOptional<z.ZodBoolean>;
|
|
10419
|
+
is_bridge_error: z.ZodOptional<z.ZodBoolean>;
|
|
10420
|
+
}, {
|
|
10421
|
+
error_code: z.ZodLiteral<"invalid_credentials">;
|
|
10422
|
+
}>, "strip", z.ZodTypeAny, {
|
|
10423
|
+
message: string;
|
|
10424
|
+
created_at: string;
|
|
10425
|
+
error_code: "invalid_credentials";
|
|
10426
|
+
is_connected_account_error?: boolean | undefined;
|
|
10427
|
+
is_bridge_error?: boolean | undefined;
|
|
10428
|
+
}, {
|
|
10429
|
+
message: string;
|
|
10430
|
+
created_at: string;
|
|
10431
|
+
error_code: "invalid_credentials";
|
|
10432
|
+
is_connected_account_error?: boolean | undefined;
|
|
10433
|
+
is_bridge_error?: boolean | undefined;
|
|
10434
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
10435
|
+
created_at: z.ZodString;
|
|
10436
|
+
message: z.ZodString;
|
|
10437
|
+
is_connected_account_error: z.ZodOptional<z.ZodBoolean>;
|
|
10438
|
+
is_bridge_error: z.ZodOptional<z.ZodBoolean>;
|
|
10439
|
+
}, {
|
|
10440
|
+
error_code: z.ZodLiteral<"bridge_disconnected">;
|
|
10441
|
+
}>, "strip", z.ZodTypeAny, {
|
|
10442
|
+
message: string;
|
|
10443
|
+
created_at: string;
|
|
10444
|
+
error_code: "bridge_disconnected";
|
|
10445
|
+
is_connected_account_error?: boolean | undefined;
|
|
10446
|
+
is_bridge_error?: boolean | undefined;
|
|
10447
|
+
}, {
|
|
10448
|
+
message: string;
|
|
10449
|
+
created_at: string;
|
|
10450
|
+
error_code: "bridge_disconnected";
|
|
10451
|
+
is_connected_account_error?: boolean | undefined;
|
|
10452
|
+
is_bridge_error?: boolean | undefined;
|
|
10453
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
10454
|
+
created_at: z.ZodString;
|
|
10455
|
+
message: z.ZodString;
|
|
10456
|
+
is_connected_account_error: z.ZodOptional<z.ZodBoolean>;
|
|
10457
|
+
is_bridge_error: z.ZodOptional<z.ZodBoolean>;
|
|
10458
|
+
}, {
|
|
10459
|
+
error_code: z.ZodLiteral<"salto_ks_subscription_limit_exceeded">;
|
|
10460
|
+
salto_ks_metadata: z.ZodObject<{
|
|
10461
|
+
sites: z.ZodArray<z.ZodObject<{
|
|
10462
|
+
site_id: z.ZodString;
|
|
10463
|
+
site_name: z.ZodString;
|
|
10464
|
+
subscribed_site_user_count: z.ZodNumber;
|
|
10465
|
+
site_user_subscription_limit: z.ZodNumber;
|
|
10466
|
+
}, "strip", z.ZodTypeAny, {
|
|
10467
|
+
site_id: string;
|
|
10468
|
+
site_name: string;
|
|
10469
|
+
subscribed_site_user_count: number;
|
|
10470
|
+
site_user_subscription_limit: number;
|
|
10471
|
+
}, {
|
|
10472
|
+
site_id: string;
|
|
10473
|
+
site_name: string;
|
|
10474
|
+
subscribed_site_user_count: number;
|
|
10475
|
+
site_user_subscription_limit: number;
|
|
10476
|
+
}>, "many">;
|
|
10477
|
+
}, "strip", z.ZodTypeAny, {
|
|
10478
|
+
sites: {
|
|
10479
|
+
site_id: string;
|
|
10480
|
+
site_name: string;
|
|
10481
|
+
subscribed_site_user_count: number;
|
|
10482
|
+
site_user_subscription_limit: number;
|
|
10483
|
+
}[];
|
|
10484
|
+
}, {
|
|
10485
|
+
sites: {
|
|
10486
|
+
site_id: string;
|
|
10487
|
+
site_name: string;
|
|
10488
|
+
subscribed_site_user_count: number;
|
|
10489
|
+
site_user_subscription_limit: number;
|
|
10490
|
+
}[];
|
|
10491
|
+
}>;
|
|
10492
|
+
}>, "strip", z.ZodTypeAny, {
|
|
10493
|
+
message: string;
|
|
10494
|
+
created_at: string;
|
|
10495
|
+
error_code: "salto_ks_subscription_limit_exceeded";
|
|
10496
|
+
salto_ks_metadata: {
|
|
10497
|
+
sites: {
|
|
10498
|
+
site_id: string;
|
|
10499
|
+
site_name: string;
|
|
10500
|
+
subscribed_site_user_count: number;
|
|
10501
|
+
site_user_subscription_limit: number;
|
|
10502
|
+
}[];
|
|
10503
|
+
};
|
|
10504
|
+
is_connected_account_error?: boolean | undefined;
|
|
10505
|
+
is_bridge_error?: boolean | undefined;
|
|
10506
|
+
}, {
|
|
10507
|
+
message: string;
|
|
10508
|
+
created_at: string;
|
|
10509
|
+
error_code: "salto_ks_subscription_limit_exceeded";
|
|
10510
|
+
salto_ks_metadata: {
|
|
10511
|
+
sites: {
|
|
10512
|
+
site_id: string;
|
|
10513
|
+
site_name: string;
|
|
10514
|
+
subscribed_site_user_count: number;
|
|
10515
|
+
site_user_subscription_limit: number;
|
|
10516
|
+
}[];
|
|
10517
|
+
};
|
|
10518
|
+
is_connected_account_error?: boolean | undefined;
|
|
10519
|
+
is_bridge_error?: boolean | undefined;
|
|
10520
|
+
}>]>;
|
|
10521
|
+
type ConnectedAccountError = z.infer<typeof connected_account_error>;
|
|
10522
|
+
type ConnectedAccountWarning = z.infer<typeof connected_account_warning>;
|
|
10523
|
+
declare const connected_account_warning: z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<z.objectUtil.extendShape<{
|
|
10524
|
+
created_at: z.ZodString;
|
|
10525
|
+
message: z.ZodString;
|
|
10526
|
+
}, {
|
|
10527
|
+
warning_code: z.ZodLiteral<"scheduled_maintenance_window">;
|
|
10528
|
+
}>, "strip", z.ZodTypeAny, {
|
|
10529
|
+
message: string;
|
|
10530
|
+
created_at: string;
|
|
10531
|
+
warning_code: "scheduled_maintenance_window";
|
|
10532
|
+
}, {
|
|
10533
|
+
message: string;
|
|
10534
|
+
created_at: string;
|
|
10535
|
+
warning_code: "scheduled_maintenance_window";
|
|
10536
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
10537
|
+
created_at: z.ZodString;
|
|
10538
|
+
message: z.ZodString;
|
|
10539
|
+
}, {
|
|
10540
|
+
warning_code: z.ZodLiteral<"unknown_issue_with_connected_account">;
|
|
10541
|
+
}>, "strip", z.ZodTypeAny, {
|
|
10542
|
+
message: string;
|
|
10543
|
+
created_at: string;
|
|
10544
|
+
warning_code: "unknown_issue_with_connected_account";
|
|
10545
|
+
}, {
|
|
10546
|
+
message: string;
|
|
10547
|
+
created_at: string;
|
|
10548
|
+
warning_code: "unknown_issue_with_connected_account";
|
|
10549
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
10550
|
+
created_at: z.ZodString;
|
|
10551
|
+
message: z.ZodString;
|
|
10552
|
+
}, {
|
|
10553
|
+
warning_code: z.ZodLiteral<"salto_ks_subscription_limit_almost_reached">;
|
|
10554
|
+
salto_ks_metadata: z.ZodObject<{
|
|
10555
|
+
sites: z.ZodArray<z.ZodObject<{
|
|
10556
|
+
site_id: z.ZodString;
|
|
10557
|
+
site_name: z.ZodString;
|
|
10558
|
+
site_user_subscription_limit: z.ZodNumber;
|
|
10559
|
+
subscribed_site_user_count: z.ZodNumber;
|
|
10560
|
+
}, "strip", z.ZodTypeAny, {
|
|
10561
|
+
site_id: string;
|
|
10562
|
+
site_name: string;
|
|
10563
|
+
subscribed_site_user_count: number;
|
|
10564
|
+
site_user_subscription_limit: number;
|
|
10565
|
+
}, {
|
|
10566
|
+
site_id: string;
|
|
10567
|
+
site_name: string;
|
|
10568
|
+
subscribed_site_user_count: number;
|
|
10569
|
+
site_user_subscription_limit: number;
|
|
10570
|
+
}>, "many">;
|
|
10571
|
+
}, "strip", z.ZodTypeAny, {
|
|
10572
|
+
sites: {
|
|
10573
|
+
site_id: string;
|
|
10574
|
+
site_name: string;
|
|
10575
|
+
subscribed_site_user_count: number;
|
|
10576
|
+
site_user_subscription_limit: number;
|
|
10577
|
+
}[];
|
|
10578
|
+
}, {
|
|
10579
|
+
sites: {
|
|
10580
|
+
site_id: string;
|
|
10581
|
+
site_name: string;
|
|
10582
|
+
subscribed_site_user_count: number;
|
|
10583
|
+
site_user_subscription_limit: number;
|
|
10584
|
+
}[];
|
|
10585
|
+
}>;
|
|
10586
|
+
}>, "strip", z.ZodTypeAny, {
|
|
10587
|
+
message: string;
|
|
10588
|
+
created_at: string;
|
|
10589
|
+
salto_ks_metadata: {
|
|
10590
|
+
sites: {
|
|
10591
|
+
site_id: string;
|
|
10592
|
+
site_name: string;
|
|
10593
|
+
subscribed_site_user_count: number;
|
|
10594
|
+
site_user_subscription_limit: number;
|
|
10595
|
+
}[];
|
|
10596
|
+
};
|
|
10597
|
+
warning_code: "salto_ks_subscription_limit_almost_reached";
|
|
10598
|
+
}, {
|
|
10599
|
+
message: string;
|
|
10600
|
+
created_at: string;
|
|
10601
|
+
salto_ks_metadata: {
|
|
10602
|
+
sites: {
|
|
10603
|
+
site_id: string;
|
|
10604
|
+
site_name: string;
|
|
10605
|
+
subscribed_site_user_count: number;
|
|
10606
|
+
site_user_subscription_limit: number;
|
|
10607
|
+
}[];
|
|
10608
|
+
};
|
|
10609
|
+
warning_code: "salto_ks_subscription_limit_almost_reached";
|
|
10610
|
+
}>]>;
|
|
10396
10611
|
declare const connected_account: z.ZodObject<{
|
|
10397
10612
|
connected_account_id: z.ZodOptional<z.ZodString>;
|
|
10398
10613
|
created_at: z.ZodOptional<z.ZodString>;
|
|
@@ -10670,11 +10885,11 @@ declare const connected_account: z.ZodObject<{
|
|
|
10670
10885
|
warnings: ({
|
|
10671
10886
|
message: string;
|
|
10672
10887
|
created_at: string;
|
|
10673
|
-
warning_code: "
|
|
10888
|
+
warning_code: "scheduled_maintenance_window";
|
|
10674
10889
|
} | {
|
|
10675
10890
|
message: string;
|
|
10676
10891
|
created_at: string;
|
|
10677
|
-
warning_code: "
|
|
10892
|
+
warning_code: "unknown_issue_with_connected_account";
|
|
10678
10893
|
} | {
|
|
10679
10894
|
message: string;
|
|
10680
10895
|
created_at: string;
|
|
@@ -10738,11 +10953,11 @@ declare const connected_account: z.ZodObject<{
|
|
|
10738
10953
|
warnings: ({
|
|
10739
10954
|
message: string;
|
|
10740
10955
|
created_at: string;
|
|
10741
|
-
warning_code: "
|
|
10956
|
+
warning_code: "scheduled_maintenance_window";
|
|
10742
10957
|
} | {
|
|
10743
10958
|
message: string;
|
|
10744
10959
|
created_at: string;
|
|
10745
|
-
warning_code: "
|
|
10960
|
+
warning_code: "unknown_issue_with_connected_account";
|
|
10746
10961
|
} | {
|
|
10747
10962
|
message: string;
|
|
10748
10963
|
created_at: string;
|
|
@@ -12850,12 +13065,13 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
12850
13065
|
active_thermostat_schedule: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
12851
13066
|
thermostat_schedule_id: z.ZodString;
|
|
12852
13067
|
device_id: z.ZodString;
|
|
12853
|
-
name: z.
|
|
13068
|
+
name: z.ZodNullable<z.ZodString>;
|
|
12854
13069
|
climate_preset_key: z.ZodString;
|
|
12855
13070
|
max_override_period_minutes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
12856
13071
|
starts_at: z.ZodString;
|
|
12857
13072
|
is_override_allowed: z.ZodOptional<z.ZodBoolean>;
|
|
12858
13073
|
ends_at: z.ZodString;
|
|
13074
|
+
workspace_id: z.ZodString;
|
|
12859
13075
|
created_at: z.ZodString;
|
|
12860
13076
|
errors: z.ZodArray<z.ZodObject<{
|
|
12861
13077
|
error_code: z.ZodString;
|
|
@@ -12869,7 +13085,9 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
12869
13085
|
}>, "many">;
|
|
12870
13086
|
}, "strip", z.ZodTypeAny, {
|
|
12871
13087
|
climate_preset_key: string;
|
|
13088
|
+
name: string | null;
|
|
12872
13089
|
device_id: string;
|
|
13090
|
+
workspace_id: string;
|
|
12873
13091
|
created_at: string;
|
|
12874
13092
|
thermostat_schedule_id: string;
|
|
12875
13093
|
starts_at: string;
|
|
@@ -12878,12 +13096,13 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
12878
13096
|
message: string;
|
|
12879
13097
|
error_code: string;
|
|
12880
13098
|
}[];
|
|
12881
|
-
name?: string | undefined;
|
|
12882
13099
|
max_override_period_minutes?: number | null | undefined;
|
|
12883
13100
|
is_override_allowed?: boolean | undefined;
|
|
12884
13101
|
}, {
|
|
12885
13102
|
climate_preset_key: string;
|
|
13103
|
+
name: string | null;
|
|
12886
13104
|
device_id: string;
|
|
13105
|
+
workspace_id: string;
|
|
12887
13106
|
created_at: string;
|
|
12888
13107
|
thermostat_schedule_id: string;
|
|
12889
13108
|
starts_at: string;
|
|
@@ -12892,14 +13111,13 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
12892
13111
|
message: string;
|
|
12893
13112
|
error_code: string;
|
|
12894
13113
|
}[];
|
|
12895
|
-
name?: string | undefined;
|
|
12896
13114
|
max_override_period_minutes?: number | null | undefined;
|
|
12897
13115
|
is_override_allowed?: boolean | undefined;
|
|
12898
13116
|
}>>>>;
|
|
12899
|
-
thermostat_daily_programs: z.ZodOptional<z.
|
|
13117
|
+
thermostat_daily_programs: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
12900
13118
|
thermostat_daily_program_id: z.ZodString;
|
|
12901
13119
|
device_id: z.ZodString;
|
|
12902
|
-
name: z.
|
|
13120
|
+
name: z.ZodNullable<z.ZodString>;
|
|
12903
13121
|
periods: z.ZodArray<z.ZodObject<{
|
|
12904
13122
|
starts_at_time: z.ZodString;
|
|
12905
13123
|
climate_preset_key: z.ZodString;
|
|
@@ -12910,28 +13128,30 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
12910
13128
|
climate_preset_key: string;
|
|
12911
13129
|
starts_at_time: string;
|
|
12912
13130
|
}>, "many">;
|
|
13131
|
+
workspace_id: z.ZodString;
|
|
12913
13132
|
created_at: z.ZodString;
|
|
12914
13133
|
}, "strip", z.ZodTypeAny, {
|
|
13134
|
+
name: string | null;
|
|
12915
13135
|
thermostat_daily_program_id: string;
|
|
12916
13136
|
device_id: string;
|
|
12917
13137
|
periods: {
|
|
12918
13138
|
climate_preset_key: string;
|
|
12919
13139
|
starts_at_time: string;
|
|
12920
13140
|
}[];
|
|
13141
|
+
workspace_id: string;
|
|
12921
13142
|
created_at: string;
|
|
12922
|
-
name?: string | undefined;
|
|
12923
13143
|
}, {
|
|
13144
|
+
name: string | null;
|
|
12924
13145
|
thermostat_daily_program_id: string;
|
|
12925
13146
|
device_id: string;
|
|
12926
13147
|
periods: {
|
|
12927
13148
|
climate_preset_key: string;
|
|
12928
13149
|
starts_at_time: string;
|
|
12929
13150
|
}[];
|
|
13151
|
+
workspace_id: string;
|
|
12930
13152
|
created_at: string;
|
|
12931
|
-
|
|
12932
|
-
|
|
12933
|
-
thermostat_weekly_program: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
12934
|
-
device_id: z.ZodString;
|
|
13153
|
+
}>, "many">>>;
|
|
13154
|
+
thermostat_weekly_program: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
12935
13155
|
monday_program_id: z.ZodNullable<z.ZodString>;
|
|
12936
13156
|
tuesday_program_id: z.ZodNullable<z.ZodString>;
|
|
12937
13157
|
wednesday_program_id: z.ZodNullable<z.ZodString>;
|
|
@@ -12941,7 +13161,6 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
12941
13161
|
sunday_program_id: z.ZodNullable<z.ZodString>;
|
|
12942
13162
|
created_at: z.ZodString;
|
|
12943
13163
|
}, "strip", z.ZodTypeAny, {
|
|
12944
|
-
device_id: string;
|
|
12945
13164
|
created_at: string;
|
|
12946
13165
|
monday_program_id: string | null;
|
|
12947
13166
|
tuesday_program_id: string | null;
|
|
@@ -12951,7 +13170,6 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
12951
13170
|
saturday_program_id: string | null;
|
|
12952
13171
|
sunday_program_id: string | null;
|
|
12953
13172
|
}, {
|
|
12954
|
-
device_id: string;
|
|
12955
13173
|
created_at: string;
|
|
12956
13174
|
monday_program_id: string | null;
|
|
12957
13175
|
tuesday_program_id: string | null;
|
|
@@ -13046,7 +13264,9 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
13046
13264
|
fallback_climate_preset_key?: string | null | undefined;
|
|
13047
13265
|
active_thermostat_schedule?: {
|
|
13048
13266
|
climate_preset_key: string;
|
|
13267
|
+
name: string | null;
|
|
13049
13268
|
device_id: string;
|
|
13269
|
+
workspace_id: string;
|
|
13050
13270
|
created_at: string;
|
|
13051
13271
|
thermostat_schedule_id: string;
|
|
13052
13272
|
starts_at: string;
|
|
@@ -13055,22 +13275,21 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
13055
13275
|
message: string;
|
|
13056
13276
|
error_code: string;
|
|
13057
13277
|
}[];
|
|
13058
|
-
name?: string | undefined;
|
|
13059
13278
|
max_override_period_minutes?: number | null | undefined;
|
|
13060
13279
|
is_override_allowed?: boolean | undefined;
|
|
13061
13280
|
} | null | undefined;
|
|
13062
13281
|
thermostat_daily_programs?: {
|
|
13282
|
+
name: string | null;
|
|
13063
13283
|
thermostat_daily_program_id: string;
|
|
13064
13284
|
device_id: string;
|
|
13065
13285
|
periods: {
|
|
13066
13286
|
climate_preset_key: string;
|
|
13067
13287
|
starts_at_time: string;
|
|
13068
13288
|
}[];
|
|
13289
|
+
workspace_id: string;
|
|
13069
13290
|
created_at: string;
|
|
13070
|
-
|
|
13071
|
-
}[] | null | undefined;
|
|
13291
|
+
}[] | undefined;
|
|
13072
13292
|
thermostat_weekly_program?: {
|
|
13073
|
-
device_id: string;
|
|
13074
13293
|
created_at: string;
|
|
13075
13294
|
monday_program_id: string | null;
|
|
13076
13295
|
tuesday_program_id: string | null;
|
|
@@ -13155,7 +13374,9 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
13155
13374
|
fallback_climate_preset_key?: string | null | undefined;
|
|
13156
13375
|
active_thermostat_schedule?: {
|
|
13157
13376
|
climate_preset_key: string;
|
|
13377
|
+
name: string | null;
|
|
13158
13378
|
device_id: string;
|
|
13379
|
+
workspace_id: string;
|
|
13159
13380
|
created_at: string;
|
|
13160
13381
|
thermostat_schedule_id: string;
|
|
13161
13382
|
starts_at: string;
|
|
@@ -13164,22 +13385,21 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
13164
13385
|
message: string;
|
|
13165
13386
|
error_code: string;
|
|
13166
13387
|
}[];
|
|
13167
|
-
name?: string | undefined;
|
|
13168
13388
|
max_override_period_minutes?: number | null | undefined;
|
|
13169
13389
|
is_override_allowed?: boolean | undefined;
|
|
13170
13390
|
} | null | undefined;
|
|
13171
13391
|
thermostat_daily_programs?: {
|
|
13392
|
+
name: string | null;
|
|
13172
13393
|
thermostat_daily_program_id: string;
|
|
13173
13394
|
device_id: string;
|
|
13174
13395
|
periods: {
|
|
13175
13396
|
climate_preset_key: string;
|
|
13176
13397
|
starts_at_time: string;
|
|
13177
13398
|
}[];
|
|
13399
|
+
workspace_id: string;
|
|
13178
13400
|
created_at: string;
|
|
13179
|
-
|
|
13180
|
-
}[] | null | undefined;
|
|
13401
|
+
}[] | undefined;
|
|
13181
13402
|
thermostat_weekly_program?: {
|
|
13182
|
-
device_id: string;
|
|
13183
13403
|
created_at: string;
|
|
13184
13404
|
monday_program_id: string | null;
|
|
13185
13405
|
tuesday_program_id: string | null;
|
|
@@ -13800,6 +14020,7 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
13800
14020
|
}>>, "strip", z.ZodTypeAny, {
|
|
13801
14021
|
display_name: string;
|
|
13802
14022
|
device_id: string;
|
|
14023
|
+
workspace_id: string;
|
|
13803
14024
|
created_at: string;
|
|
13804
14025
|
errors: ({
|
|
13805
14026
|
message: string;
|
|
@@ -14331,7 +14552,9 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
14331
14552
|
fallback_climate_preset_key?: string | null | undefined;
|
|
14332
14553
|
active_thermostat_schedule?: {
|
|
14333
14554
|
climate_preset_key: string;
|
|
14555
|
+
name: string | null;
|
|
14334
14556
|
device_id: string;
|
|
14557
|
+
workspace_id: string;
|
|
14335
14558
|
created_at: string;
|
|
14336
14559
|
thermostat_schedule_id: string;
|
|
14337
14560
|
starts_at: string;
|
|
@@ -14340,22 +14563,21 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
14340
14563
|
message: string;
|
|
14341
14564
|
error_code: string;
|
|
14342
14565
|
}[];
|
|
14343
|
-
name?: string | undefined;
|
|
14344
14566
|
max_override_period_minutes?: number | null | undefined;
|
|
14345
14567
|
is_override_allowed?: boolean | undefined;
|
|
14346
14568
|
} | null | undefined;
|
|
14347
14569
|
thermostat_daily_programs?: {
|
|
14570
|
+
name: string | null;
|
|
14348
14571
|
thermostat_daily_program_id: string;
|
|
14349
14572
|
device_id: string;
|
|
14350
14573
|
periods: {
|
|
14351
14574
|
climate_preset_key: string;
|
|
14352
14575
|
starts_at_time: string;
|
|
14353
14576
|
}[];
|
|
14577
|
+
workspace_id: string;
|
|
14354
14578
|
created_at: string;
|
|
14355
|
-
|
|
14356
|
-
}[] | null | undefined;
|
|
14579
|
+
}[] | undefined;
|
|
14357
14580
|
thermostat_weekly_program?: {
|
|
14358
|
-
device_id: string;
|
|
14359
14581
|
created_at: string;
|
|
14360
14582
|
monday_program_id: string | null;
|
|
14361
14583
|
tuesday_program_id: string | null;
|
|
@@ -14386,7 +14608,6 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
14386
14608
|
location_name?: string | undefined;
|
|
14387
14609
|
timezone?: string | undefined;
|
|
14388
14610
|
} | null;
|
|
14389
|
-
workspace_id: string;
|
|
14390
14611
|
is_managed: true;
|
|
14391
14612
|
can_remotely_unlock?: boolean | undefined;
|
|
14392
14613
|
can_remotely_lock?: boolean | undefined;
|
|
@@ -14403,6 +14624,7 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
14403
14624
|
}, {
|
|
14404
14625
|
display_name: string;
|
|
14405
14626
|
device_id: string;
|
|
14627
|
+
workspace_id: string;
|
|
14406
14628
|
created_at: string;
|
|
14407
14629
|
errors: ({
|
|
14408
14630
|
message: string;
|
|
@@ -14934,7 +15156,9 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
14934
15156
|
fallback_climate_preset_key?: string | null | undefined;
|
|
14935
15157
|
active_thermostat_schedule?: {
|
|
14936
15158
|
climate_preset_key: string;
|
|
15159
|
+
name: string | null;
|
|
14937
15160
|
device_id: string;
|
|
15161
|
+
workspace_id: string;
|
|
14938
15162
|
created_at: string;
|
|
14939
15163
|
thermostat_schedule_id: string;
|
|
14940
15164
|
starts_at: string;
|
|
@@ -14943,22 +15167,21 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
14943
15167
|
message: string;
|
|
14944
15168
|
error_code: string;
|
|
14945
15169
|
}[];
|
|
14946
|
-
name?: string | undefined;
|
|
14947
15170
|
max_override_period_minutes?: number | null | undefined;
|
|
14948
15171
|
is_override_allowed?: boolean | undefined;
|
|
14949
15172
|
} | null | undefined;
|
|
14950
15173
|
thermostat_daily_programs?: {
|
|
15174
|
+
name: string | null;
|
|
14951
15175
|
thermostat_daily_program_id: string;
|
|
14952
15176
|
device_id: string;
|
|
14953
15177
|
periods: {
|
|
14954
15178
|
climate_preset_key: string;
|
|
14955
15179
|
starts_at_time: string;
|
|
14956
15180
|
}[];
|
|
15181
|
+
workspace_id: string;
|
|
14957
15182
|
created_at: string;
|
|
14958
|
-
|
|
14959
|
-
}[] | null | undefined;
|
|
15183
|
+
}[] | undefined;
|
|
14960
15184
|
thermostat_weekly_program?: {
|
|
14961
|
-
device_id: string;
|
|
14962
15185
|
created_at: string;
|
|
14963
15186
|
monday_program_id: string | null;
|
|
14964
15187
|
tuesday_program_id: string | null;
|
|
@@ -14989,7 +15212,6 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
14989
15212
|
location_name?: string | undefined;
|
|
14990
15213
|
timezone?: string | undefined;
|
|
14991
15214
|
} | null;
|
|
14992
|
-
workspace_id: string;
|
|
14993
15215
|
is_managed: true;
|
|
14994
15216
|
can_remotely_unlock?: boolean | undefined;
|
|
14995
15217
|
can_remotely_lock?: boolean | undefined;
|
|
@@ -16743,12 +16965,13 @@ declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.objectUti
|
|
|
16743
16965
|
active_thermostat_schedule: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
16744
16966
|
thermostat_schedule_id: z.ZodString;
|
|
16745
16967
|
device_id: z.ZodString;
|
|
16746
|
-
name: z.
|
|
16968
|
+
name: z.ZodNullable<z.ZodString>;
|
|
16747
16969
|
climate_preset_key: z.ZodString;
|
|
16748
16970
|
max_override_period_minutes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
16749
16971
|
starts_at: z.ZodString;
|
|
16750
16972
|
is_override_allowed: z.ZodOptional<z.ZodBoolean>;
|
|
16751
16973
|
ends_at: z.ZodString;
|
|
16974
|
+
workspace_id: z.ZodString;
|
|
16752
16975
|
created_at: z.ZodString;
|
|
16753
16976
|
errors: z.ZodArray<z.ZodObject<{
|
|
16754
16977
|
error_code: z.ZodString;
|
|
@@ -16762,7 +16985,9 @@ declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.objectUti
|
|
|
16762
16985
|
}>, "many">;
|
|
16763
16986
|
}, "strip", z.ZodTypeAny, {
|
|
16764
16987
|
climate_preset_key: string;
|
|
16988
|
+
name: string | null;
|
|
16765
16989
|
device_id: string;
|
|
16990
|
+
workspace_id: string;
|
|
16766
16991
|
created_at: string;
|
|
16767
16992
|
thermostat_schedule_id: string;
|
|
16768
16993
|
starts_at: string;
|
|
@@ -16771,12 +16996,13 @@ declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.objectUti
|
|
|
16771
16996
|
message: string;
|
|
16772
16997
|
error_code: string;
|
|
16773
16998
|
}[];
|
|
16774
|
-
name?: string | undefined;
|
|
16775
16999
|
max_override_period_minutes?: number | null | undefined;
|
|
16776
17000
|
is_override_allowed?: boolean | undefined;
|
|
16777
17001
|
}, {
|
|
16778
17002
|
climate_preset_key: string;
|
|
17003
|
+
name: string | null;
|
|
16779
17004
|
device_id: string;
|
|
17005
|
+
workspace_id: string;
|
|
16780
17006
|
created_at: string;
|
|
16781
17007
|
thermostat_schedule_id: string;
|
|
16782
17008
|
starts_at: string;
|
|
@@ -16785,14 +17011,13 @@ declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.objectUti
|
|
|
16785
17011
|
message: string;
|
|
16786
17012
|
error_code: string;
|
|
16787
17013
|
}[];
|
|
16788
|
-
name?: string | undefined;
|
|
16789
17014
|
max_override_period_minutes?: number | null | undefined;
|
|
16790
17015
|
is_override_allowed?: boolean | undefined;
|
|
16791
17016
|
}>>>>;
|
|
16792
|
-
thermostat_daily_programs: z.ZodOptional<z.
|
|
17017
|
+
thermostat_daily_programs: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
16793
17018
|
thermostat_daily_program_id: z.ZodString;
|
|
16794
17019
|
device_id: z.ZodString;
|
|
16795
|
-
name: z.
|
|
17020
|
+
name: z.ZodNullable<z.ZodString>;
|
|
16796
17021
|
periods: z.ZodArray<z.ZodObject<{
|
|
16797
17022
|
starts_at_time: z.ZodString;
|
|
16798
17023
|
climate_preset_key: z.ZodString;
|
|
@@ -16803,28 +17028,30 @@ declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.objectUti
|
|
|
16803
17028
|
climate_preset_key: string;
|
|
16804
17029
|
starts_at_time: string;
|
|
16805
17030
|
}>, "many">;
|
|
17031
|
+
workspace_id: z.ZodString;
|
|
16806
17032
|
created_at: z.ZodString;
|
|
16807
17033
|
}, "strip", z.ZodTypeAny, {
|
|
17034
|
+
name: string | null;
|
|
16808
17035
|
thermostat_daily_program_id: string;
|
|
16809
17036
|
device_id: string;
|
|
16810
17037
|
periods: {
|
|
16811
17038
|
climate_preset_key: string;
|
|
16812
17039
|
starts_at_time: string;
|
|
16813
17040
|
}[];
|
|
17041
|
+
workspace_id: string;
|
|
16814
17042
|
created_at: string;
|
|
16815
|
-
name?: string | undefined;
|
|
16816
17043
|
}, {
|
|
17044
|
+
name: string | null;
|
|
16817
17045
|
thermostat_daily_program_id: string;
|
|
16818
17046
|
device_id: string;
|
|
16819
17047
|
periods: {
|
|
16820
17048
|
climate_preset_key: string;
|
|
16821
17049
|
starts_at_time: string;
|
|
16822
17050
|
}[];
|
|
17051
|
+
workspace_id: string;
|
|
16823
17052
|
created_at: string;
|
|
16824
|
-
|
|
16825
|
-
|
|
16826
|
-
thermostat_weekly_program: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
16827
|
-
device_id: z.ZodString;
|
|
17053
|
+
}>, "many">>>;
|
|
17054
|
+
thermostat_weekly_program: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
16828
17055
|
monday_program_id: z.ZodNullable<z.ZodString>;
|
|
16829
17056
|
tuesday_program_id: z.ZodNullable<z.ZodString>;
|
|
16830
17057
|
wednesday_program_id: z.ZodNullable<z.ZodString>;
|
|
@@ -16834,7 +17061,6 @@ declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.objectUti
|
|
|
16834
17061
|
sunday_program_id: z.ZodNullable<z.ZodString>;
|
|
16835
17062
|
created_at: z.ZodString;
|
|
16836
17063
|
}, "strip", z.ZodTypeAny, {
|
|
16837
|
-
device_id: string;
|
|
16838
17064
|
created_at: string;
|
|
16839
17065
|
monday_program_id: string | null;
|
|
16840
17066
|
tuesday_program_id: string | null;
|
|
@@ -16844,7 +17070,6 @@ declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.objectUti
|
|
|
16844
17070
|
saturday_program_id: string | null;
|
|
16845
17071
|
sunday_program_id: string | null;
|
|
16846
17072
|
}, {
|
|
16847
|
-
device_id: string;
|
|
16848
17073
|
created_at: string;
|
|
16849
17074
|
monday_program_id: string | null;
|
|
16850
17075
|
tuesday_program_id: string | null;
|
|
@@ -16939,7 +17164,9 @@ declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.objectUti
|
|
|
16939
17164
|
fallback_climate_preset_key?: string | null | undefined;
|
|
16940
17165
|
active_thermostat_schedule?: {
|
|
16941
17166
|
climate_preset_key: string;
|
|
17167
|
+
name: string | null;
|
|
16942
17168
|
device_id: string;
|
|
17169
|
+
workspace_id: string;
|
|
16943
17170
|
created_at: string;
|
|
16944
17171
|
thermostat_schedule_id: string;
|
|
16945
17172
|
starts_at: string;
|
|
@@ -16948,22 +17175,21 @@ declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.objectUti
|
|
|
16948
17175
|
message: string;
|
|
16949
17176
|
error_code: string;
|
|
16950
17177
|
}[];
|
|
16951
|
-
name?: string | undefined;
|
|
16952
17178
|
max_override_period_minutes?: number | null | undefined;
|
|
16953
17179
|
is_override_allowed?: boolean | undefined;
|
|
16954
17180
|
} | null | undefined;
|
|
16955
17181
|
thermostat_daily_programs?: {
|
|
17182
|
+
name: string | null;
|
|
16956
17183
|
thermostat_daily_program_id: string;
|
|
16957
17184
|
device_id: string;
|
|
16958
17185
|
periods: {
|
|
16959
17186
|
climate_preset_key: string;
|
|
16960
17187
|
starts_at_time: string;
|
|
16961
17188
|
}[];
|
|
17189
|
+
workspace_id: string;
|
|
16962
17190
|
created_at: string;
|
|
16963
|
-
|
|
16964
|
-
}[] | null | undefined;
|
|
17191
|
+
}[] | undefined;
|
|
16965
17192
|
thermostat_weekly_program?: {
|
|
16966
|
-
device_id: string;
|
|
16967
17193
|
created_at: string;
|
|
16968
17194
|
monday_program_id: string | null;
|
|
16969
17195
|
tuesday_program_id: string | null;
|
|
@@ -17048,7 +17274,9 @@ declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.objectUti
|
|
|
17048
17274
|
fallback_climate_preset_key?: string | null | undefined;
|
|
17049
17275
|
active_thermostat_schedule?: {
|
|
17050
17276
|
climate_preset_key: string;
|
|
17277
|
+
name: string | null;
|
|
17051
17278
|
device_id: string;
|
|
17279
|
+
workspace_id: string;
|
|
17052
17280
|
created_at: string;
|
|
17053
17281
|
thermostat_schedule_id: string;
|
|
17054
17282
|
starts_at: string;
|
|
@@ -17057,22 +17285,21 @@ declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.objectUti
|
|
|
17057
17285
|
message: string;
|
|
17058
17286
|
error_code: string;
|
|
17059
17287
|
}[];
|
|
17060
|
-
name?: string | undefined;
|
|
17061
17288
|
max_override_period_minutes?: number | null | undefined;
|
|
17062
17289
|
is_override_allowed?: boolean | undefined;
|
|
17063
17290
|
} | null | undefined;
|
|
17064
17291
|
thermostat_daily_programs?: {
|
|
17292
|
+
name: string | null;
|
|
17065
17293
|
thermostat_daily_program_id: string;
|
|
17066
17294
|
device_id: string;
|
|
17067
17295
|
periods: {
|
|
17068
17296
|
climate_preset_key: string;
|
|
17069
17297
|
starts_at_time: string;
|
|
17070
17298
|
}[];
|
|
17299
|
+
workspace_id: string;
|
|
17071
17300
|
created_at: string;
|
|
17072
|
-
|
|
17073
|
-
}[] | null | undefined;
|
|
17301
|
+
}[] | undefined;
|
|
17074
17302
|
thermostat_weekly_program?: {
|
|
17075
|
-
device_id: string;
|
|
17076
17303
|
created_at: string;
|
|
17077
17304
|
monday_program_id: string | null;
|
|
17078
17305
|
tuesday_program_id: string | null;
|
|
@@ -17690,7 +17917,7 @@ declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.objectUti
|
|
|
17690
17917
|
can_simulate_removal: z.ZodOptional<z.ZodBoolean>;
|
|
17691
17918
|
can_simulate_connection: z.ZodOptional<z.ZodBoolean>;
|
|
17692
17919
|
can_simulate_disconnection: z.ZodOptional<z.ZodBoolean>;
|
|
17693
|
-
}>>, "device_id" | "created_at" | "errors" | "connected_account_id" | "warnings" | "device_type" | "capabilities_supported" | "location"
|
|
17920
|
+
}>>, "device_id" | "workspace_id" | "created_at" | "errors" | "connected_account_id" | "warnings" | "device_type" | "capabilities_supported" | "location">, {
|
|
17694
17921
|
is_managed: z.ZodLiteral<false>;
|
|
17695
17922
|
properties: z.ZodObject<Pick<{
|
|
17696
17923
|
online: z.ZodBoolean;
|
|
@@ -17841,6 +18068,7 @@ declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.objectUti
|
|
|
17841
18068
|
can_simulate_disconnection: z.ZodOptional<z.ZodBoolean>;
|
|
17842
18069
|
}>>, "strip", z.ZodTypeAny, {
|
|
17843
18070
|
device_id: string;
|
|
18071
|
+
workspace_id: string;
|
|
17844
18072
|
created_at: string;
|
|
17845
18073
|
errors: ({
|
|
17846
18074
|
message: string;
|
|
@@ -18047,7 +18275,6 @@ declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.objectUti
|
|
|
18047
18275
|
location_name?: string | undefined;
|
|
18048
18276
|
timezone?: string | undefined;
|
|
18049
18277
|
} | null;
|
|
18050
|
-
workspace_id: string;
|
|
18051
18278
|
is_managed: false;
|
|
18052
18279
|
can_remotely_unlock?: boolean | undefined;
|
|
18053
18280
|
can_remotely_lock?: boolean | undefined;
|
|
@@ -18062,6 +18289,7 @@ declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.objectUti
|
|
|
18062
18289
|
can_simulate_disconnection?: boolean | undefined;
|
|
18063
18290
|
}, {
|
|
18064
18291
|
device_id: string;
|
|
18292
|
+
workspace_id: string;
|
|
18065
18293
|
created_at: string;
|
|
18066
18294
|
errors: ({
|
|
18067
18295
|
message: string;
|
|
@@ -18268,7 +18496,6 @@ declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.objectUti
|
|
|
18268
18496
|
location_name?: string | undefined;
|
|
18269
18497
|
timezone?: string | undefined;
|
|
18270
18498
|
} | null;
|
|
18271
|
-
workspace_id: string;
|
|
18272
18499
|
is_managed: false;
|
|
18273
18500
|
can_remotely_unlock?: boolean | undefined;
|
|
18274
18501
|
can_remotely_lock?: boolean | undefined;
|
|
@@ -18297,18 +18524,18 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
18297
18524
|
event_type: z.ZodLiteral<"access_code.created">;
|
|
18298
18525
|
}>, "strip", z.ZodTypeAny, {
|
|
18299
18526
|
device_id: string;
|
|
18527
|
+
workspace_id: string;
|
|
18300
18528
|
created_at: string;
|
|
18301
18529
|
connected_account_id: string;
|
|
18302
|
-
workspace_id: string;
|
|
18303
18530
|
access_code_id: string;
|
|
18304
18531
|
event_id: string;
|
|
18305
18532
|
occurred_at: string;
|
|
18306
18533
|
event_type: "access_code.created";
|
|
18307
18534
|
}, {
|
|
18308
18535
|
device_id: string;
|
|
18536
|
+
workspace_id: string;
|
|
18309
18537
|
created_at: string;
|
|
18310
18538
|
connected_account_id: string;
|
|
18311
|
-
workspace_id: string;
|
|
18312
18539
|
access_code_id: string;
|
|
18313
18540
|
event_id: string;
|
|
18314
18541
|
occurred_at: string;
|
|
@@ -18326,18 +18553,18 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
18326
18553
|
event_type: z.ZodLiteral<"access_code.changed">;
|
|
18327
18554
|
}>, "strip", z.ZodTypeAny, {
|
|
18328
18555
|
device_id: string;
|
|
18556
|
+
workspace_id: string;
|
|
18329
18557
|
created_at: string;
|
|
18330
18558
|
connected_account_id: string;
|
|
18331
|
-
workspace_id: string;
|
|
18332
18559
|
access_code_id: string;
|
|
18333
18560
|
event_id: string;
|
|
18334
18561
|
occurred_at: string;
|
|
18335
18562
|
event_type: "access_code.changed";
|
|
18336
18563
|
}, {
|
|
18337
18564
|
device_id: string;
|
|
18565
|
+
workspace_id: string;
|
|
18338
18566
|
created_at: string;
|
|
18339
18567
|
connected_account_id: string;
|
|
18340
|
-
workspace_id: string;
|
|
18341
18568
|
access_code_id: string;
|
|
18342
18569
|
event_id: string;
|
|
18343
18570
|
occurred_at: string;
|
|
@@ -18357,9 +18584,9 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
18357
18584
|
}>, "strip", z.ZodTypeAny, {
|
|
18358
18585
|
code: string;
|
|
18359
18586
|
device_id: string;
|
|
18587
|
+
workspace_id: string;
|
|
18360
18588
|
created_at: string;
|
|
18361
18589
|
connected_account_id: string;
|
|
18362
|
-
workspace_id: string;
|
|
18363
18590
|
access_code_id: string;
|
|
18364
18591
|
event_id: string;
|
|
18365
18592
|
occurred_at: string;
|
|
@@ -18367,9 +18594,9 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
18367
18594
|
}, {
|
|
18368
18595
|
code: string;
|
|
18369
18596
|
device_id: string;
|
|
18597
|
+
workspace_id: string;
|
|
18370
18598
|
created_at: string;
|
|
18371
18599
|
connected_account_id: string;
|
|
18372
|
-
workspace_id: string;
|
|
18373
18600
|
access_code_id: string;
|
|
18374
18601
|
event_id: string;
|
|
18375
18602
|
occurred_at: string;
|
|
@@ -18389,9 +18616,9 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
18389
18616
|
}>, "strip", z.ZodTypeAny, {
|
|
18390
18617
|
code: string;
|
|
18391
18618
|
device_id: string;
|
|
18619
|
+
workspace_id: string;
|
|
18392
18620
|
created_at: string;
|
|
18393
18621
|
connected_account_id: string;
|
|
18394
|
-
workspace_id: string;
|
|
18395
18622
|
access_code_id: string;
|
|
18396
18623
|
event_id: string;
|
|
18397
18624
|
occurred_at: string;
|
|
@@ -18399,9 +18626,9 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
18399
18626
|
}, {
|
|
18400
18627
|
code: string;
|
|
18401
18628
|
device_id: string;
|
|
18629
|
+
workspace_id: string;
|
|
18402
18630
|
created_at: string;
|
|
18403
18631
|
connected_account_id: string;
|
|
18404
|
-
workspace_id: string;
|
|
18405
18632
|
access_code_id: string;
|
|
18406
18633
|
event_id: string;
|
|
18407
18634
|
occurred_at: string;
|
|
@@ -18419,18 +18646,18 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
18419
18646
|
event_type: z.ZodLiteral<"access_code.removed_from_device">;
|
|
18420
18647
|
}>, "strip", z.ZodTypeAny, {
|
|
18421
18648
|
device_id: string;
|
|
18649
|
+
workspace_id: string;
|
|
18422
18650
|
created_at: string;
|
|
18423
18651
|
connected_account_id: string;
|
|
18424
|
-
workspace_id: string;
|
|
18425
18652
|
access_code_id: string;
|
|
18426
18653
|
event_id: string;
|
|
18427
18654
|
occurred_at: string;
|
|
18428
18655
|
event_type: "access_code.removed_from_device";
|
|
18429
18656
|
}, {
|
|
18430
18657
|
device_id: string;
|
|
18658
|
+
workspace_id: string;
|
|
18431
18659
|
created_at: string;
|
|
18432
18660
|
connected_account_id: string;
|
|
18433
|
-
workspace_id: string;
|
|
18434
18661
|
access_code_id: string;
|
|
18435
18662
|
event_id: string;
|
|
18436
18663
|
occurred_at: string;
|
|
@@ -18448,18 +18675,18 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
18448
18675
|
event_type: z.ZodLiteral<"access_code.delay_in_setting_on_device">;
|
|
18449
18676
|
}>, "strip", z.ZodTypeAny, {
|
|
18450
18677
|
device_id: string;
|
|
18678
|
+
workspace_id: string;
|
|
18451
18679
|
created_at: string;
|
|
18452
18680
|
connected_account_id: string;
|
|
18453
|
-
workspace_id: string;
|
|
18454
18681
|
access_code_id: string;
|
|
18455
18682
|
event_id: string;
|
|
18456
18683
|
occurred_at: string;
|
|
18457
18684
|
event_type: "access_code.delay_in_setting_on_device";
|
|
18458
18685
|
}, {
|
|
18459
18686
|
device_id: string;
|
|
18687
|
+
workspace_id: string;
|
|
18460
18688
|
created_at: string;
|
|
18461
18689
|
connected_account_id: string;
|
|
18462
|
-
workspace_id: string;
|
|
18463
18690
|
access_code_id: string;
|
|
18464
18691
|
event_id: string;
|
|
18465
18692
|
occurred_at: string;
|
|
@@ -18477,18 +18704,18 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
18477
18704
|
event_type: z.ZodLiteral<"access_code.failed_to_set_on_device">;
|
|
18478
18705
|
}>, "strip", z.ZodTypeAny, {
|
|
18479
18706
|
device_id: string;
|
|
18707
|
+
workspace_id: string;
|
|
18480
18708
|
created_at: string;
|
|
18481
18709
|
connected_account_id: string;
|
|
18482
|
-
workspace_id: string;
|
|
18483
18710
|
access_code_id: string;
|
|
18484
18711
|
event_id: string;
|
|
18485
18712
|
occurred_at: string;
|
|
18486
18713
|
event_type: "access_code.failed_to_set_on_device";
|
|
18487
18714
|
}, {
|
|
18488
18715
|
device_id: string;
|
|
18716
|
+
workspace_id: string;
|
|
18489
18717
|
created_at: string;
|
|
18490
18718
|
connected_account_id: string;
|
|
18491
|
-
workspace_id: string;
|
|
18492
18719
|
access_code_id: string;
|
|
18493
18720
|
event_id: string;
|
|
18494
18721
|
occurred_at: string;
|
|
@@ -18508,9 +18735,9 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
18508
18735
|
}>, "strip", z.ZodTypeAny, {
|
|
18509
18736
|
code: string | null;
|
|
18510
18737
|
device_id: string;
|
|
18738
|
+
workspace_id: string;
|
|
18511
18739
|
created_at: string;
|
|
18512
18740
|
connected_account_id: string;
|
|
18513
|
-
workspace_id: string;
|
|
18514
18741
|
access_code_id: string;
|
|
18515
18742
|
event_id: string;
|
|
18516
18743
|
occurred_at: string;
|
|
@@ -18518,9 +18745,9 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
18518
18745
|
}, {
|
|
18519
18746
|
code: string | null;
|
|
18520
18747
|
device_id: string;
|
|
18748
|
+
workspace_id: string;
|
|
18521
18749
|
created_at: string;
|
|
18522
18750
|
connected_account_id: string;
|
|
18523
|
-
workspace_id: string;
|
|
18524
18751
|
access_code_id: string;
|
|
18525
18752
|
event_id: string;
|
|
18526
18753
|
occurred_at: string;
|
|
@@ -18538,18 +18765,18 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
18538
18765
|
event_type: z.ZodLiteral<"access_code.delay_in_removing_from_device">;
|
|
18539
18766
|
}>, "strip", z.ZodTypeAny, {
|
|
18540
18767
|
device_id: string;
|
|
18768
|
+
workspace_id: string;
|
|
18541
18769
|
created_at: string;
|
|
18542
18770
|
connected_account_id: string;
|
|
18543
|
-
workspace_id: string;
|
|
18544
18771
|
access_code_id: string;
|
|
18545
18772
|
event_id: string;
|
|
18546
18773
|
occurred_at: string;
|
|
18547
18774
|
event_type: "access_code.delay_in_removing_from_device";
|
|
18548
18775
|
}, {
|
|
18549
18776
|
device_id: string;
|
|
18777
|
+
workspace_id: string;
|
|
18550
18778
|
created_at: string;
|
|
18551
18779
|
connected_account_id: string;
|
|
18552
|
-
workspace_id: string;
|
|
18553
18780
|
access_code_id: string;
|
|
18554
18781
|
event_id: string;
|
|
18555
18782
|
occurred_at: string;
|
|
@@ -18567,18 +18794,18 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
18567
18794
|
event_type: z.ZodLiteral<"access_code.failed_to_remove_from_device">;
|
|
18568
18795
|
}>, "strip", z.ZodTypeAny, {
|
|
18569
18796
|
device_id: string;
|
|
18797
|
+
workspace_id: string;
|
|
18570
18798
|
created_at: string;
|
|
18571
18799
|
connected_account_id: string;
|
|
18572
|
-
workspace_id: string;
|
|
18573
18800
|
access_code_id: string;
|
|
18574
18801
|
event_id: string;
|
|
18575
18802
|
occurred_at: string;
|
|
18576
18803
|
event_type: "access_code.failed_to_remove_from_device";
|
|
18577
18804
|
}, {
|
|
18578
18805
|
device_id: string;
|
|
18806
|
+
workspace_id: string;
|
|
18579
18807
|
created_at: string;
|
|
18580
18808
|
connected_account_id: string;
|
|
18581
|
-
workspace_id: string;
|
|
18582
18809
|
access_code_id: string;
|
|
18583
18810
|
event_id: string;
|
|
18584
18811
|
occurred_at: string;
|
|
@@ -18596,18 +18823,18 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
18596
18823
|
event_type: z.ZodLiteral<"access_code.modified_external_to_seam">;
|
|
18597
18824
|
}>, "strip", z.ZodTypeAny, {
|
|
18598
18825
|
device_id: string;
|
|
18826
|
+
workspace_id: string;
|
|
18599
18827
|
created_at: string;
|
|
18600
18828
|
connected_account_id: string;
|
|
18601
|
-
workspace_id: string;
|
|
18602
18829
|
access_code_id: string;
|
|
18603
18830
|
event_id: string;
|
|
18604
18831
|
occurred_at: string;
|
|
18605
18832
|
event_type: "access_code.modified_external_to_seam";
|
|
18606
18833
|
}, {
|
|
18607
18834
|
device_id: string;
|
|
18835
|
+
workspace_id: string;
|
|
18608
18836
|
created_at: string;
|
|
18609
18837
|
connected_account_id: string;
|
|
18610
|
-
workspace_id: string;
|
|
18611
18838
|
access_code_id: string;
|
|
18612
18839
|
event_id: string;
|
|
18613
18840
|
occurred_at: string;
|
|
@@ -18625,18 +18852,18 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
18625
18852
|
event_type: z.ZodLiteral<"access_code.deleted_external_to_seam">;
|
|
18626
18853
|
}>, "strip", z.ZodTypeAny, {
|
|
18627
18854
|
device_id: string;
|
|
18855
|
+
workspace_id: string;
|
|
18628
18856
|
created_at: string;
|
|
18629
18857
|
connected_account_id: string;
|
|
18630
|
-
workspace_id: string;
|
|
18631
18858
|
access_code_id: string;
|
|
18632
18859
|
event_id: string;
|
|
18633
18860
|
occurred_at: string;
|
|
18634
18861
|
event_type: "access_code.deleted_external_to_seam";
|
|
18635
18862
|
}, {
|
|
18636
18863
|
device_id: string;
|
|
18864
|
+
workspace_id: string;
|
|
18637
18865
|
created_at: string;
|
|
18638
18866
|
connected_account_id: string;
|
|
18639
|
-
workspace_id: string;
|
|
18640
18867
|
access_code_id: string;
|
|
18641
18868
|
event_id: string;
|
|
18642
18869
|
occurred_at: string;
|
|
@@ -18655,9 +18882,9 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
18655
18882
|
backup_access_code_id: z.ZodString;
|
|
18656
18883
|
}>, "strip", z.ZodTypeAny, {
|
|
18657
18884
|
device_id: string;
|
|
18885
|
+
workspace_id: string;
|
|
18658
18886
|
created_at: string;
|
|
18659
18887
|
connected_account_id: string;
|
|
18660
|
-
workspace_id: string;
|
|
18661
18888
|
access_code_id: string;
|
|
18662
18889
|
event_id: string;
|
|
18663
18890
|
occurred_at: string;
|
|
@@ -18665,9 +18892,9 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
18665
18892
|
backup_access_code_id: string;
|
|
18666
18893
|
}, {
|
|
18667
18894
|
device_id: string;
|
|
18895
|
+
workspace_id: string;
|
|
18668
18896
|
created_at: string;
|
|
18669
18897
|
connected_account_id: string;
|
|
18670
|
-
workspace_id: string;
|
|
18671
18898
|
access_code_id: string;
|
|
18672
18899
|
event_id: string;
|
|
18673
18900
|
occurred_at: string;
|
|
@@ -18686,18 +18913,18 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
18686
18913
|
event_type: z.ZodLiteral<"access_code.unmanaged.converted_to_managed">;
|
|
18687
18914
|
}>, "strip", z.ZodTypeAny, {
|
|
18688
18915
|
device_id: string;
|
|
18916
|
+
workspace_id: string;
|
|
18689
18917
|
created_at: string;
|
|
18690
18918
|
connected_account_id: string;
|
|
18691
|
-
workspace_id: string;
|
|
18692
18919
|
access_code_id: string;
|
|
18693
18920
|
event_id: string;
|
|
18694
18921
|
occurred_at: string;
|
|
18695
18922
|
event_type: "access_code.unmanaged.converted_to_managed";
|
|
18696
18923
|
}, {
|
|
18697
18924
|
device_id: string;
|
|
18925
|
+
workspace_id: string;
|
|
18698
18926
|
created_at: string;
|
|
18699
18927
|
connected_account_id: string;
|
|
18700
|
-
workspace_id: string;
|
|
18701
18928
|
access_code_id: string;
|
|
18702
18929
|
event_id: string;
|
|
18703
18930
|
occurred_at: string;
|
|
@@ -18715,18 +18942,18 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
18715
18942
|
event_type: z.ZodLiteral<"access_code.unmanaged.failed_to_convert_to_managed">;
|
|
18716
18943
|
}>, "strip", z.ZodTypeAny, {
|
|
18717
18944
|
device_id: string;
|
|
18945
|
+
workspace_id: string;
|
|
18718
18946
|
created_at: string;
|
|
18719
18947
|
connected_account_id: string;
|
|
18720
|
-
workspace_id: string;
|
|
18721
18948
|
access_code_id: string;
|
|
18722
18949
|
event_id: string;
|
|
18723
18950
|
occurred_at: string;
|
|
18724
18951
|
event_type: "access_code.unmanaged.failed_to_convert_to_managed";
|
|
18725
18952
|
}, {
|
|
18726
18953
|
device_id: string;
|
|
18954
|
+
workspace_id: string;
|
|
18727
18955
|
created_at: string;
|
|
18728
18956
|
connected_account_id: string;
|
|
18729
|
-
workspace_id: string;
|
|
18730
18957
|
access_code_id: string;
|
|
18731
18958
|
event_id: string;
|
|
18732
18959
|
occurred_at: string;
|
|
@@ -18744,18 +18971,18 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
18744
18971
|
event_type: z.ZodLiteral<"access_code.unmanaged.created">;
|
|
18745
18972
|
}>, "strip", z.ZodTypeAny, {
|
|
18746
18973
|
device_id: string;
|
|
18974
|
+
workspace_id: string;
|
|
18747
18975
|
created_at: string;
|
|
18748
18976
|
connected_account_id: string;
|
|
18749
|
-
workspace_id: string;
|
|
18750
18977
|
access_code_id: string;
|
|
18751
18978
|
event_id: string;
|
|
18752
18979
|
occurred_at: string;
|
|
18753
18980
|
event_type: "access_code.unmanaged.created";
|
|
18754
18981
|
}, {
|
|
18755
18982
|
device_id: string;
|
|
18983
|
+
workspace_id: string;
|
|
18756
18984
|
created_at: string;
|
|
18757
18985
|
connected_account_id: string;
|
|
18758
|
-
workspace_id: string;
|
|
18759
18986
|
access_code_id: string;
|
|
18760
18987
|
event_id: string;
|
|
18761
18988
|
occurred_at: string;
|
|
@@ -18773,18 +19000,18 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
18773
19000
|
event_type: z.ZodLiteral<"access_code.unmanaged.removed">;
|
|
18774
19001
|
}>, "strip", z.ZodTypeAny, {
|
|
18775
19002
|
device_id: string;
|
|
19003
|
+
workspace_id: string;
|
|
18776
19004
|
created_at: string;
|
|
18777
19005
|
connected_account_id: string;
|
|
18778
|
-
workspace_id: string;
|
|
18779
19006
|
access_code_id: string;
|
|
18780
19007
|
event_id: string;
|
|
18781
19008
|
occurred_at: string;
|
|
18782
19009
|
event_type: "access_code.unmanaged.removed";
|
|
18783
19010
|
}, {
|
|
18784
19011
|
device_id: string;
|
|
19012
|
+
workspace_id: string;
|
|
18785
19013
|
created_at: string;
|
|
18786
19014
|
connected_account_id: string;
|
|
18787
|
-
workspace_id: string;
|
|
18788
19015
|
access_code_id: string;
|
|
18789
19016
|
event_id: string;
|
|
18790
19017
|
occurred_at: string;
|
|
@@ -18799,15 +19026,15 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
18799
19026
|
}>, {
|
|
18800
19027
|
event_type: z.ZodLiteral<"access_grant.created">;
|
|
18801
19028
|
}>, "strip", z.ZodTypeAny, {
|
|
18802
|
-
created_at: string;
|
|
18803
19029
|
workspace_id: string;
|
|
19030
|
+
created_at: string;
|
|
18804
19031
|
access_grant_id: string;
|
|
18805
19032
|
event_id: string;
|
|
18806
19033
|
occurred_at: string;
|
|
18807
19034
|
event_type: "access_grant.created";
|
|
18808
19035
|
}, {
|
|
18809
|
-
created_at: string;
|
|
18810
19036
|
workspace_id: string;
|
|
19037
|
+
created_at: string;
|
|
18811
19038
|
access_grant_id: string;
|
|
18812
19039
|
event_id: string;
|
|
18813
19040
|
occurred_at: string;
|
|
@@ -18822,15 +19049,15 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
18822
19049
|
}>, {
|
|
18823
19050
|
event_type: z.ZodLiteral<"access_grant.deleted">;
|
|
18824
19051
|
}>, "strip", z.ZodTypeAny, {
|
|
18825
|
-
created_at: string;
|
|
18826
19052
|
workspace_id: string;
|
|
19053
|
+
created_at: string;
|
|
18827
19054
|
access_grant_id: string;
|
|
18828
19055
|
event_id: string;
|
|
18829
19056
|
occurred_at: string;
|
|
18830
19057
|
event_type: "access_grant.deleted";
|
|
18831
19058
|
}, {
|
|
18832
|
-
created_at: string;
|
|
18833
19059
|
workspace_id: string;
|
|
19060
|
+
created_at: string;
|
|
18834
19061
|
access_grant_id: string;
|
|
18835
19062
|
event_id: string;
|
|
18836
19063
|
occurred_at: string;
|
|
@@ -18845,15 +19072,15 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
18845
19072
|
}>, {
|
|
18846
19073
|
event_type: z.ZodLiteral<"access_grant.access_granted_to_all_doors">;
|
|
18847
19074
|
}>, "strip", z.ZodTypeAny, {
|
|
18848
|
-
created_at: string;
|
|
18849
19075
|
workspace_id: string;
|
|
19076
|
+
created_at: string;
|
|
18850
19077
|
access_grant_id: string;
|
|
18851
19078
|
event_id: string;
|
|
18852
19079
|
occurred_at: string;
|
|
18853
19080
|
event_type: "access_grant.access_granted_to_all_doors";
|
|
18854
19081
|
}, {
|
|
18855
|
-
created_at: string;
|
|
18856
19082
|
workspace_id: string;
|
|
19083
|
+
created_at: string;
|
|
18857
19084
|
access_grant_id: string;
|
|
18858
19085
|
event_id: string;
|
|
18859
19086
|
occurred_at: string;
|
|
@@ -18869,16 +19096,16 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
18869
19096
|
event_type: z.ZodLiteral<"access_grant.access_granted_to_door">;
|
|
18870
19097
|
acs_entrance_id: z.ZodString;
|
|
18871
19098
|
}>, "strip", z.ZodTypeAny, {
|
|
18872
|
-
created_at: string;
|
|
18873
19099
|
workspace_id: string;
|
|
19100
|
+
created_at: string;
|
|
18874
19101
|
access_grant_id: string;
|
|
18875
19102
|
acs_entrance_id: string;
|
|
18876
19103
|
event_id: string;
|
|
18877
19104
|
occurred_at: string;
|
|
18878
19105
|
event_type: "access_grant.access_granted_to_door";
|
|
18879
19106
|
}, {
|
|
18880
|
-
created_at: string;
|
|
18881
19107
|
workspace_id: string;
|
|
19108
|
+
created_at: string;
|
|
18882
19109
|
access_grant_id: string;
|
|
18883
19110
|
acs_entrance_id: string;
|
|
18884
19111
|
event_id: string;
|
|
@@ -18895,16 +19122,16 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
18895
19122
|
event_type: z.ZodLiteral<"access_grant.access_to_door_lost">;
|
|
18896
19123
|
acs_entrance_id: z.ZodString;
|
|
18897
19124
|
}>, "strip", z.ZodTypeAny, {
|
|
18898
|
-
created_at: string;
|
|
18899
19125
|
workspace_id: string;
|
|
19126
|
+
created_at: string;
|
|
18900
19127
|
access_grant_id: string;
|
|
18901
19128
|
acs_entrance_id: string;
|
|
18902
19129
|
event_id: string;
|
|
18903
19130
|
occurred_at: string;
|
|
18904
19131
|
event_type: "access_grant.access_to_door_lost";
|
|
18905
19132
|
}, {
|
|
18906
|
-
created_at: string;
|
|
18907
19133
|
workspace_id: string;
|
|
19134
|
+
created_at: string;
|
|
18908
19135
|
access_grant_id: string;
|
|
18909
19136
|
acs_entrance_id: string;
|
|
18910
19137
|
event_id: string;
|
|
@@ -18920,15 +19147,15 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
18920
19147
|
}>, {
|
|
18921
19148
|
event_type: z.ZodLiteral<"access_method.issued">;
|
|
18922
19149
|
}>, "strip", z.ZodTypeAny, {
|
|
18923
|
-
created_at: string;
|
|
18924
19150
|
workspace_id: string;
|
|
19151
|
+
created_at: string;
|
|
18925
19152
|
access_method_id: string;
|
|
18926
19153
|
event_id: string;
|
|
18927
19154
|
occurred_at: string;
|
|
18928
19155
|
event_type: "access_method.issued";
|
|
18929
19156
|
}, {
|
|
18930
|
-
created_at: string;
|
|
18931
19157
|
workspace_id: string;
|
|
19158
|
+
created_at: string;
|
|
18932
19159
|
access_method_id: string;
|
|
18933
19160
|
event_id: string;
|
|
18934
19161
|
occurred_at: string;
|
|
@@ -18943,15 +19170,15 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
18943
19170
|
}>, {
|
|
18944
19171
|
event_type: z.ZodLiteral<"access_method.revoked">;
|
|
18945
19172
|
}>, "strip", z.ZodTypeAny, {
|
|
18946
|
-
created_at: string;
|
|
18947
19173
|
workspace_id: string;
|
|
19174
|
+
created_at: string;
|
|
18948
19175
|
access_method_id: string;
|
|
18949
19176
|
event_id: string;
|
|
18950
19177
|
occurred_at: string;
|
|
18951
19178
|
event_type: "access_method.revoked";
|
|
18952
19179
|
}, {
|
|
18953
|
-
created_at: string;
|
|
18954
19180
|
workspace_id: string;
|
|
19181
|
+
created_at: string;
|
|
18955
19182
|
access_method_id: string;
|
|
18956
19183
|
event_id: string;
|
|
18957
19184
|
occurred_at: string;
|
|
@@ -18966,15 +19193,15 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
18966
19193
|
}>, {
|
|
18967
19194
|
event_type: z.ZodLiteral<"access_method.card_encoding_required">;
|
|
18968
19195
|
}>, "strip", z.ZodTypeAny, {
|
|
18969
|
-
created_at: string;
|
|
18970
19196
|
workspace_id: string;
|
|
19197
|
+
created_at: string;
|
|
18971
19198
|
access_method_id: string;
|
|
18972
19199
|
event_id: string;
|
|
18973
19200
|
occurred_at: string;
|
|
18974
19201
|
event_type: "access_method.card_encoding_required";
|
|
18975
19202
|
}, {
|
|
18976
|
-
created_at: string;
|
|
18977
19203
|
workspace_id: string;
|
|
19204
|
+
created_at: string;
|
|
18978
19205
|
access_method_id: string;
|
|
18979
19206
|
event_id: string;
|
|
18980
19207
|
occurred_at: string;
|
|
@@ -18990,16 +19217,16 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
18990
19217
|
}>, {}>, {
|
|
18991
19218
|
event_type: z.ZodLiteral<"acs_system.connected">;
|
|
18992
19219
|
}>, "strip", z.ZodTypeAny, {
|
|
18993
|
-
created_at: string;
|
|
18994
19220
|
workspace_id: string;
|
|
19221
|
+
created_at: string;
|
|
18995
19222
|
acs_system_id: string;
|
|
18996
19223
|
event_id: string;
|
|
18997
19224
|
occurred_at: string;
|
|
18998
19225
|
event_type: "acs_system.connected";
|
|
18999
19226
|
connected_account_id?: string | undefined;
|
|
19000
19227
|
}, {
|
|
19001
|
-
created_at: string;
|
|
19002
19228
|
workspace_id: string;
|
|
19229
|
+
created_at: string;
|
|
19003
19230
|
acs_system_id: string;
|
|
19004
19231
|
event_id: string;
|
|
19005
19232
|
occurred_at: string;
|
|
@@ -19016,16 +19243,16 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
19016
19243
|
}>, {}>, {
|
|
19017
19244
|
event_type: z.ZodLiteral<"acs_system.added">;
|
|
19018
19245
|
}>, "strip", z.ZodTypeAny, {
|
|
19019
|
-
created_at: string;
|
|
19020
19246
|
workspace_id: string;
|
|
19247
|
+
created_at: string;
|
|
19021
19248
|
acs_system_id: string;
|
|
19022
19249
|
event_id: string;
|
|
19023
19250
|
occurred_at: string;
|
|
19024
19251
|
event_type: "acs_system.added";
|
|
19025
19252
|
connected_account_id?: string | undefined;
|
|
19026
19253
|
}, {
|
|
19027
|
-
created_at: string;
|
|
19028
19254
|
workspace_id: string;
|
|
19255
|
+
created_at: string;
|
|
19029
19256
|
acs_system_id: string;
|
|
19030
19257
|
event_id: string;
|
|
19031
19258
|
occurred_at: string;
|
|
@@ -19042,16 +19269,16 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
19042
19269
|
}>, {}>, {
|
|
19043
19270
|
event_type: z.ZodLiteral<"acs_system.disconnected">;
|
|
19044
19271
|
}>, "strip", z.ZodTypeAny, {
|
|
19045
|
-
created_at: string;
|
|
19046
19272
|
workspace_id: string;
|
|
19273
|
+
created_at: string;
|
|
19047
19274
|
acs_system_id: string;
|
|
19048
19275
|
event_id: string;
|
|
19049
19276
|
occurred_at: string;
|
|
19050
19277
|
event_type: "acs_system.disconnected";
|
|
19051
19278
|
connected_account_id?: string | undefined;
|
|
19052
19279
|
}, {
|
|
19053
|
-
created_at: string;
|
|
19054
19280
|
workspace_id: string;
|
|
19281
|
+
created_at: string;
|
|
19055
19282
|
acs_system_id: string;
|
|
19056
19283
|
event_id: string;
|
|
19057
19284
|
occurred_at: string;
|
|
@@ -19070,8 +19297,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
19070
19297
|
}>, {
|
|
19071
19298
|
event_type: z.ZodLiteral<"acs_credential.deleted">;
|
|
19072
19299
|
}>, "strip", z.ZodTypeAny, {
|
|
19073
|
-
created_at: string;
|
|
19074
19300
|
workspace_id: string;
|
|
19301
|
+
created_at: string;
|
|
19075
19302
|
acs_system_id: string;
|
|
19076
19303
|
acs_credential_id: string;
|
|
19077
19304
|
event_id: string;
|
|
@@ -19079,8 +19306,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
19079
19306
|
event_type: "acs_credential.deleted";
|
|
19080
19307
|
connected_account_id?: string | undefined;
|
|
19081
19308
|
}, {
|
|
19082
|
-
created_at: string;
|
|
19083
19309
|
workspace_id: string;
|
|
19310
|
+
created_at: string;
|
|
19084
19311
|
acs_system_id: string;
|
|
19085
19312
|
acs_credential_id: string;
|
|
19086
19313
|
event_id: string;
|
|
@@ -19100,8 +19327,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
19100
19327
|
}>, {
|
|
19101
19328
|
event_type: z.ZodLiteral<"acs_credential.issued">;
|
|
19102
19329
|
}>, "strip", z.ZodTypeAny, {
|
|
19103
|
-
created_at: string;
|
|
19104
19330
|
workspace_id: string;
|
|
19331
|
+
created_at: string;
|
|
19105
19332
|
acs_system_id: string;
|
|
19106
19333
|
acs_credential_id: string;
|
|
19107
19334
|
event_id: string;
|
|
@@ -19109,8 +19336,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
19109
19336
|
event_type: "acs_credential.issued";
|
|
19110
19337
|
connected_account_id?: string | undefined;
|
|
19111
19338
|
}, {
|
|
19112
|
-
created_at: string;
|
|
19113
19339
|
workspace_id: string;
|
|
19340
|
+
created_at: string;
|
|
19114
19341
|
acs_system_id: string;
|
|
19115
19342
|
acs_credential_id: string;
|
|
19116
19343
|
event_id: string;
|
|
@@ -19130,8 +19357,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
19130
19357
|
}>, {
|
|
19131
19358
|
event_type: z.ZodLiteral<"acs_credential.reissued">;
|
|
19132
19359
|
}>, "strip", z.ZodTypeAny, {
|
|
19133
|
-
created_at: string;
|
|
19134
19360
|
workspace_id: string;
|
|
19361
|
+
created_at: string;
|
|
19135
19362
|
acs_system_id: string;
|
|
19136
19363
|
acs_credential_id: string;
|
|
19137
19364
|
event_id: string;
|
|
@@ -19139,8 +19366,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
19139
19366
|
event_type: "acs_credential.reissued";
|
|
19140
19367
|
connected_account_id?: string | undefined;
|
|
19141
19368
|
}, {
|
|
19142
|
-
created_at: string;
|
|
19143
19369
|
workspace_id: string;
|
|
19370
|
+
created_at: string;
|
|
19144
19371
|
acs_system_id: string;
|
|
19145
19372
|
acs_credential_id: string;
|
|
19146
19373
|
event_id: string;
|
|
@@ -19160,8 +19387,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
19160
19387
|
}>, {
|
|
19161
19388
|
event_type: z.ZodLiteral<"acs_credential.invalidated">;
|
|
19162
19389
|
}>, "strip", z.ZodTypeAny, {
|
|
19163
|
-
created_at: string;
|
|
19164
19390
|
workspace_id: string;
|
|
19391
|
+
created_at: string;
|
|
19165
19392
|
acs_system_id: string;
|
|
19166
19393
|
acs_credential_id: string;
|
|
19167
19394
|
event_id: string;
|
|
@@ -19169,8 +19396,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
19169
19396
|
event_type: "acs_credential.invalidated";
|
|
19170
19397
|
connected_account_id?: string | undefined;
|
|
19171
19398
|
}, {
|
|
19172
|
-
created_at: string;
|
|
19173
19399
|
workspace_id: string;
|
|
19400
|
+
created_at: string;
|
|
19174
19401
|
acs_system_id: string;
|
|
19175
19402
|
acs_credential_id: string;
|
|
19176
19403
|
event_id: string;
|
|
@@ -19190,8 +19417,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
19190
19417
|
}>, {
|
|
19191
19418
|
event_type: z.ZodLiteral<"acs_user.created">;
|
|
19192
19419
|
}>, "strip", z.ZodTypeAny, {
|
|
19193
|
-
created_at: string;
|
|
19194
19420
|
workspace_id: string;
|
|
19421
|
+
created_at: string;
|
|
19195
19422
|
acs_system_id: string;
|
|
19196
19423
|
acs_user_id: string;
|
|
19197
19424
|
event_id: string;
|
|
@@ -19199,8 +19426,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
19199
19426
|
event_type: "acs_user.created";
|
|
19200
19427
|
connected_account_id?: string | undefined;
|
|
19201
19428
|
}, {
|
|
19202
|
-
created_at: string;
|
|
19203
19429
|
workspace_id: string;
|
|
19430
|
+
created_at: string;
|
|
19204
19431
|
acs_system_id: string;
|
|
19205
19432
|
acs_user_id: string;
|
|
19206
19433
|
event_id: string;
|
|
@@ -19220,8 +19447,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
19220
19447
|
}>, {
|
|
19221
19448
|
event_type: z.ZodLiteral<"acs_user.deleted">;
|
|
19222
19449
|
}>, "strip", z.ZodTypeAny, {
|
|
19223
|
-
created_at: string;
|
|
19224
19450
|
workspace_id: string;
|
|
19451
|
+
created_at: string;
|
|
19225
19452
|
acs_system_id: string;
|
|
19226
19453
|
acs_user_id: string;
|
|
19227
19454
|
event_id: string;
|
|
@@ -19229,8 +19456,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
19229
19456
|
event_type: "acs_user.deleted";
|
|
19230
19457
|
connected_account_id?: string | undefined;
|
|
19231
19458
|
}, {
|
|
19232
|
-
created_at: string;
|
|
19233
19459
|
workspace_id: string;
|
|
19460
|
+
created_at: string;
|
|
19234
19461
|
acs_system_id: string;
|
|
19235
19462
|
acs_user_id: string;
|
|
19236
19463
|
event_id: string;
|
|
@@ -19250,8 +19477,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
19250
19477
|
}>, {
|
|
19251
19478
|
event_type: z.ZodLiteral<"acs_encoder.added">;
|
|
19252
19479
|
}>, "strip", z.ZodTypeAny, {
|
|
19253
|
-
created_at: string;
|
|
19254
19480
|
workspace_id: string;
|
|
19481
|
+
created_at: string;
|
|
19255
19482
|
acs_system_id: string;
|
|
19256
19483
|
acs_encoder_id: string;
|
|
19257
19484
|
event_id: string;
|
|
@@ -19259,8 +19486,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
19259
19486
|
event_type: "acs_encoder.added";
|
|
19260
19487
|
connected_account_id?: string | undefined;
|
|
19261
19488
|
}, {
|
|
19262
|
-
created_at: string;
|
|
19263
19489
|
workspace_id: string;
|
|
19490
|
+
created_at: string;
|
|
19264
19491
|
acs_system_id: string;
|
|
19265
19492
|
acs_encoder_id: string;
|
|
19266
19493
|
event_id: string;
|
|
@@ -19280,8 +19507,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
19280
19507
|
}>, {
|
|
19281
19508
|
event_type: z.ZodLiteral<"acs_encoder.removed">;
|
|
19282
19509
|
}>, "strip", z.ZodTypeAny, {
|
|
19283
|
-
created_at: string;
|
|
19284
19510
|
workspace_id: string;
|
|
19511
|
+
created_at: string;
|
|
19285
19512
|
acs_system_id: string;
|
|
19286
19513
|
acs_encoder_id: string;
|
|
19287
19514
|
event_id: string;
|
|
@@ -19289,8 +19516,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
19289
19516
|
event_type: "acs_encoder.removed";
|
|
19290
19517
|
connected_account_id?: string | undefined;
|
|
19291
19518
|
}, {
|
|
19292
|
-
created_at: string;
|
|
19293
19519
|
workspace_id: string;
|
|
19520
|
+
created_at: string;
|
|
19294
19521
|
acs_system_id: string;
|
|
19295
19522
|
acs_encoder_id: string;
|
|
19296
19523
|
event_id: string;
|
|
@@ -19310,8 +19537,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
19310
19537
|
}>, {
|
|
19311
19538
|
event_type: z.ZodLiteral<"acs_access_group.deleted">;
|
|
19312
19539
|
}>, "strip", z.ZodTypeAny, {
|
|
19313
|
-
created_at: string;
|
|
19314
19540
|
workspace_id: string;
|
|
19541
|
+
created_at: string;
|
|
19315
19542
|
acs_access_group_id: string;
|
|
19316
19543
|
acs_system_id: string;
|
|
19317
19544
|
event_id: string;
|
|
@@ -19319,8 +19546,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
19319
19546
|
event_type: "acs_access_group.deleted";
|
|
19320
19547
|
connected_account_id?: string | undefined;
|
|
19321
19548
|
}, {
|
|
19322
|
-
created_at: string;
|
|
19323
19549
|
workspace_id: string;
|
|
19550
|
+
created_at: string;
|
|
19324
19551
|
acs_access_group_id: string;
|
|
19325
19552
|
acs_system_id: string;
|
|
19326
19553
|
event_id: string;
|
|
@@ -19340,8 +19567,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
19340
19567
|
}>, {
|
|
19341
19568
|
event_type: z.ZodLiteral<"acs_entrance.added">;
|
|
19342
19569
|
}>, "strip", z.ZodTypeAny, {
|
|
19343
|
-
created_at: string;
|
|
19344
19570
|
workspace_id: string;
|
|
19571
|
+
created_at: string;
|
|
19345
19572
|
acs_system_id: string;
|
|
19346
19573
|
acs_entrance_id: string;
|
|
19347
19574
|
event_id: string;
|
|
@@ -19349,8 +19576,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
19349
19576
|
event_type: "acs_entrance.added";
|
|
19350
19577
|
connected_account_id?: string | undefined;
|
|
19351
19578
|
}, {
|
|
19352
|
-
created_at: string;
|
|
19353
19579
|
workspace_id: string;
|
|
19580
|
+
created_at: string;
|
|
19354
19581
|
acs_system_id: string;
|
|
19355
19582
|
acs_entrance_id: string;
|
|
19356
19583
|
event_id: string;
|
|
@@ -19370,8 +19597,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
19370
19597
|
}>, {
|
|
19371
19598
|
event_type: z.ZodLiteral<"acs_entrance.removed">;
|
|
19372
19599
|
}>, "strip", z.ZodTypeAny, {
|
|
19373
|
-
created_at: string;
|
|
19374
19600
|
workspace_id: string;
|
|
19601
|
+
created_at: string;
|
|
19375
19602
|
acs_system_id: string;
|
|
19376
19603
|
acs_entrance_id: string;
|
|
19377
19604
|
event_id: string;
|
|
@@ -19379,8 +19606,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
19379
19606
|
event_type: "acs_entrance.removed";
|
|
19380
19607
|
connected_account_id?: string | undefined;
|
|
19381
19608
|
}, {
|
|
19382
|
-
created_at: string;
|
|
19383
19609
|
workspace_id: string;
|
|
19610
|
+
created_at: string;
|
|
19384
19611
|
acs_system_id: string;
|
|
19385
19612
|
acs_entrance_id: string;
|
|
19386
19613
|
event_id: string;
|
|
@@ -19397,15 +19624,15 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
19397
19624
|
}>, {
|
|
19398
19625
|
event_type: z.ZodLiteral<"client_session.deleted">;
|
|
19399
19626
|
}>, "strip", z.ZodTypeAny, {
|
|
19400
|
-
created_at: string;
|
|
19401
19627
|
workspace_id: string;
|
|
19628
|
+
created_at: string;
|
|
19402
19629
|
client_session_id: string;
|
|
19403
19630
|
event_id: string;
|
|
19404
19631
|
occurred_at: string;
|
|
19405
19632
|
event_type: "client_session.deleted";
|
|
19406
19633
|
}, {
|
|
19407
|
-
created_at: string;
|
|
19408
19634
|
workspace_id: string;
|
|
19635
|
+
created_at: string;
|
|
19409
19636
|
client_session_id: string;
|
|
19410
19637
|
event_id: string;
|
|
19411
19638
|
occurred_at: string;
|
|
@@ -19421,17 +19648,17 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
19421
19648
|
event_type: z.ZodLiteral<"connected_account.connected">;
|
|
19422
19649
|
connect_webview_id: z.ZodString;
|
|
19423
19650
|
}>, "strip", z.ZodTypeAny, {
|
|
19651
|
+
workspace_id: string;
|
|
19424
19652
|
created_at: string;
|
|
19425
19653
|
connected_account_id: string;
|
|
19426
|
-
workspace_id: string;
|
|
19427
19654
|
connect_webview_id: string;
|
|
19428
19655
|
event_id: string;
|
|
19429
19656
|
occurred_at: string;
|
|
19430
19657
|
event_type: "connected_account.connected";
|
|
19431
19658
|
}, {
|
|
19659
|
+
workspace_id: string;
|
|
19432
19660
|
created_at: string;
|
|
19433
19661
|
connected_account_id: string;
|
|
19434
|
-
workspace_id: string;
|
|
19435
19662
|
connect_webview_id: string;
|
|
19436
19663
|
event_id: string;
|
|
19437
19664
|
occurred_at: string;
|
|
@@ -19447,17 +19674,17 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
19447
19674
|
event_type: z.ZodLiteral<"connected_account.created">;
|
|
19448
19675
|
connect_webview_id: z.ZodString;
|
|
19449
19676
|
}>, "strip", z.ZodTypeAny, {
|
|
19677
|
+
workspace_id: string;
|
|
19450
19678
|
created_at: string;
|
|
19451
19679
|
connected_account_id: string;
|
|
19452
|
-
workspace_id: string;
|
|
19453
19680
|
connect_webview_id: string;
|
|
19454
19681
|
event_id: string;
|
|
19455
19682
|
occurred_at: string;
|
|
19456
19683
|
event_type: "connected_account.created";
|
|
19457
19684
|
}, {
|
|
19685
|
+
workspace_id: string;
|
|
19458
19686
|
created_at: string;
|
|
19459
19687
|
connected_account_id: string;
|
|
19460
|
-
workspace_id: string;
|
|
19461
19688
|
connect_webview_id: string;
|
|
19462
19689
|
event_id: string;
|
|
19463
19690
|
occurred_at: string;
|
|
@@ -19473,17 +19700,17 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
19473
19700
|
event_type: z.ZodLiteral<"connected_account.successful_login">;
|
|
19474
19701
|
connect_webview_id: z.ZodString;
|
|
19475
19702
|
}>, "strip", z.ZodTypeAny, {
|
|
19703
|
+
workspace_id: string;
|
|
19476
19704
|
created_at: string;
|
|
19477
19705
|
connected_account_id: string;
|
|
19478
|
-
workspace_id: string;
|
|
19479
19706
|
connect_webview_id: string;
|
|
19480
19707
|
event_id: string;
|
|
19481
19708
|
occurred_at: string;
|
|
19482
19709
|
event_type: "connected_account.successful_login";
|
|
19483
19710
|
}, {
|
|
19711
|
+
workspace_id: string;
|
|
19484
19712
|
created_at: string;
|
|
19485
19713
|
connected_account_id: string;
|
|
19486
|
-
workspace_id: string;
|
|
19487
19714
|
connect_webview_id: string;
|
|
19488
19715
|
event_id: string;
|
|
19489
19716
|
occurred_at: string;
|
|
@@ -19498,16 +19725,16 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
19498
19725
|
}>, {
|
|
19499
19726
|
event_type: z.ZodLiteral<"connected_account.disconnected">;
|
|
19500
19727
|
}>, "strip", z.ZodTypeAny, {
|
|
19728
|
+
workspace_id: string;
|
|
19501
19729
|
created_at: string;
|
|
19502
19730
|
connected_account_id: string;
|
|
19503
|
-
workspace_id: string;
|
|
19504
19731
|
event_id: string;
|
|
19505
19732
|
occurred_at: string;
|
|
19506
19733
|
event_type: "connected_account.disconnected";
|
|
19507
19734
|
}, {
|
|
19735
|
+
workspace_id: string;
|
|
19508
19736
|
created_at: string;
|
|
19509
19737
|
connected_account_id: string;
|
|
19510
|
-
workspace_id: string;
|
|
19511
19738
|
event_id: string;
|
|
19512
19739
|
occurred_at: string;
|
|
19513
19740
|
event_type: "connected_account.disconnected";
|
|
@@ -19521,16 +19748,16 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
19521
19748
|
}>, {
|
|
19522
19749
|
event_type: z.ZodLiteral<"connected_account.completed_first_sync">;
|
|
19523
19750
|
}>, "strip", z.ZodTypeAny, {
|
|
19751
|
+
workspace_id: string;
|
|
19524
19752
|
created_at: string;
|
|
19525
19753
|
connected_account_id: string;
|
|
19526
|
-
workspace_id: string;
|
|
19527
19754
|
event_id: string;
|
|
19528
19755
|
occurred_at: string;
|
|
19529
19756
|
event_type: "connected_account.completed_first_sync";
|
|
19530
19757
|
}, {
|
|
19758
|
+
workspace_id: string;
|
|
19531
19759
|
created_at: string;
|
|
19532
19760
|
connected_account_id: string;
|
|
19533
|
-
workspace_id: string;
|
|
19534
19761
|
event_id: string;
|
|
19535
19762
|
occurred_at: string;
|
|
19536
19763
|
event_type: "connected_account.completed_first_sync";
|
|
@@ -19544,16 +19771,16 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
19544
19771
|
}>, {
|
|
19545
19772
|
event_type: z.ZodLiteral<"connected_account.deleted">;
|
|
19546
19773
|
}>, "strip", z.ZodTypeAny, {
|
|
19774
|
+
workspace_id: string;
|
|
19547
19775
|
created_at: string;
|
|
19548
19776
|
connected_account_id: string;
|
|
19549
|
-
workspace_id: string;
|
|
19550
19777
|
event_id: string;
|
|
19551
19778
|
occurred_at: string;
|
|
19552
19779
|
event_type: "connected_account.deleted";
|
|
19553
19780
|
}, {
|
|
19781
|
+
workspace_id: string;
|
|
19554
19782
|
created_at: string;
|
|
19555
19783
|
connected_account_id: string;
|
|
19556
|
-
workspace_id: string;
|
|
19557
19784
|
event_id: string;
|
|
19558
19785
|
occurred_at: string;
|
|
19559
19786
|
event_type: "connected_account.deleted";
|
|
@@ -19567,16 +19794,16 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
19567
19794
|
}>, {
|
|
19568
19795
|
event_type: z.ZodLiteral<"connected_account.completed_first_sync_after_reconnection">;
|
|
19569
19796
|
}>, "strip", z.ZodTypeAny, {
|
|
19797
|
+
workspace_id: string;
|
|
19570
19798
|
created_at: string;
|
|
19571
19799
|
connected_account_id: string;
|
|
19572
|
-
workspace_id: string;
|
|
19573
19800
|
event_id: string;
|
|
19574
19801
|
occurred_at: string;
|
|
19575
19802
|
event_type: "connected_account.completed_first_sync_after_reconnection";
|
|
19576
19803
|
}, {
|
|
19804
|
+
workspace_id: string;
|
|
19577
19805
|
created_at: string;
|
|
19578
19806
|
connected_account_id: string;
|
|
19579
|
-
workspace_id: string;
|
|
19580
19807
|
event_id: string;
|
|
19581
19808
|
occurred_at: string;
|
|
19582
19809
|
event_type: "connected_account.completed_first_sync_after_reconnection";
|
|
@@ -19593,8 +19820,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
19593
19820
|
event_type: z.ZodLiteral<"action_attempt.lock_door.succeeded">;
|
|
19594
19821
|
}>, "strip", z.ZodTypeAny, {
|
|
19595
19822
|
status: string;
|
|
19596
|
-
created_at: string;
|
|
19597
19823
|
workspace_id: string;
|
|
19824
|
+
created_at: string;
|
|
19598
19825
|
action_attempt_id: string;
|
|
19599
19826
|
action_type: string;
|
|
19600
19827
|
event_id: string;
|
|
@@ -19602,8 +19829,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
19602
19829
|
event_type: "action_attempt.lock_door.succeeded";
|
|
19603
19830
|
}, {
|
|
19604
19831
|
status: string;
|
|
19605
|
-
created_at: string;
|
|
19606
19832
|
workspace_id: string;
|
|
19833
|
+
created_at: string;
|
|
19607
19834
|
action_attempt_id: string;
|
|
19608
19835
|
action_type: string;
|
|
19609
19836
|
event_id: string;
|
|
@@ -19622,8 +19849,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
19622
19849
|
event_type: z.ZodLiteral<"action_attempt.lock_door.failed">;
|
|
19623
19850
|
}>, "strip", z.ZodTypeAny, {
|
|
19624
19851
|
status: string;
|
|
19625
|
-
created_at: string;
|
|
19626
19852
|
workspace_id: string;
|
|
19853
|
+
created_at: string;
|
|
19627
19854
|
action_attempt_id: string;
|
|
19628
19855
|
action_type: string;
|
|
19629
19856
|
event_id: string;
|
|
@@ -19631,8 +19858,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
19631
19858
|
event_type: "action_attempt.lock_door.failed";
|
|
19632
19859
|
}, {
|
|
19633
19860
|
status: string;
|
|
19634
|
-
created_at: string;
|
|
19635
19861
|
workspace_id: string;
|
|
19862
|
+
created_at: string;
|
|
19636
19863
|
action_attempt_id: string;
|
|
19637
19864
|
action_type: string;
|
|
19638
19865
|
event_id: string;
|
|
@@ -19651,8 +19878,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
19651
19878
|
event_type: z.ZodLiteral<"action_attempt.unlock_door.succeeded">;
|
|
19652
19879
|
}>, "strip", z.ZodTypeAny, {
|
|
19653
19880
|
status: string;
|
|
19654
|
-
created_at: string;
|
|
19655
19881
|
workspace_id: string;
|
|
19882
|
+
created_at: string;
|
|
19656
19883
|
action_attempt_id: string;
|
|
19657
19884
|
action_type: string;
|
|
19658
19885
|
event_id: string;
|
|
@@ -19660,8 +19887,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
19660
19887
|
event_type: "action_attempt.unlock_door.succeeded";
|
|
19661
19888
|
}, {
|
|
19662
19889
|
status: string;
|
|
19663
|
-
created_at: string;
|
|
19664
19890
|
workspace_id: string;
|
|
19891
|
+
created_at: string;
|
|
19665
19892
|
action_attempt_id: string;
|
|
19666
19893
|
action_type: string;
|
|
19667
19894
|
event_id: string;
|
|
@@ -19680,8 +19907,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
19680
19907
|
event_type: z.ZodLiteral<"action_attempt.unlock_door.failed">;
|
|
19681
19908
|
}>, "strip", z.ZodTypeAny, {
|
|
19682
19909
|
status: string;
|
|
19683
|
-
created_at: string;
|
|
19684
19910
|
workspace_id: string;
|
|
19911
|
+
created_at: string;
|
|
19685
19912
|
action_attempt_id: string;
|
|
19686
19913
|
action_type: string;
|
|
19687
19914
|
event_id: string;
|
|
@@ -19689,8 +19916,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
19689
19916
|
event_type: "action_attempt.unlock_door.failed";
|
|
19690
19917
|
}, {
|
|
19691
19918
|
status: string;
|
|
19692
|
-
created_at: string;
|
|
19693
19919
|
workspace_id: string;
|
|
19920
|
+
created_at: string;
|
|
19694
19921
|
action_attempt_id: string;
|
|
19695
19922
|
action_type: string;
|
|
19696
19923
|
event_id: string;
|
|
@@ -19707,17 +19934,17 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
19707
19934
|
event_type: z.ZodLiteral<"connect_webview.login_succeeded">;
|
|
19708
19935
|
connected_account_id: z.ZodString;
|
|
19709
19936
|
}>, "strip", z.ZodTypeAny, {
|
|
19937
|
+
workspace_id: string;
|
|
19710
19938
|
created_at: string;
|
|
19711
19939
|
connected_account_id: string;
|
|
19712
|
-
workspace_id: string;
|
|
19713
19940
|
connect_webview_id: string;
|
|
19714
19941
|
event_id: string;
|
|
19715
19942
|
occurred_at: string;
|
|
19716
19943
|
event_type: "connect_webview.login_succeeded";
|
|
19717
19944
|
}, {
|
|
19945
|
+
workspace_id: string;
|
|
19718
19946
|
created_at: string;
|
|
19719
19947
|
connected_account_id: string;
|
|
19720
|
-
workspace_id: string;
|
|
19721
19948
|
connect_webview_id: string;
|
|
19722
19949
|
event_id: string;
|
|
19723
19950
|
occurred_at: string;
|
|
@@ -19732,15 +19959,15 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
19732
19959
|
}>, {
|
|
19733
19960
|
event_type: z.ZodLiteral<"connect_webview.login_failed">;
|
|
19734
19961
|
}>, "strip", z.ZodTypeAny, {
|
|
19735
|
-
created_at: string;
|
|
19736
19962
|
workspace_id: string;
|
|
19963
|
+
created_at: string;
|
|
19737
19964
|
connect_webview_id: string;
|
|
19738
19965
|
event_id: string;
|
|
19739
19966
|
occurred_at: string;
|
|
19740
19967
|
event_type: "connect_webview.login_failed";
|
|
19741
19968
|
}, {
|
|
19742
|
-
created_at: string;
|
|
19743
19969
|
workspace_id: string;
|
|
19970
|
+
created_at: string;
|
|
19744
19971
|
connect_webview_id: string;
|
|
19745
19972
|
event_id: string;
|
|
19746
19973
|
occurred_at: string;
|
|
@@ -19757,17 +19984,17 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
19757
19984
|
event_type: z.ZodLiteral<"device.connected">;
|
|
19758
19985
|
}>, "strip", z.ZodTypeAny, {
|
|
19759
19986
|
device_id: string;
|
|
19987
|
+
workspace_id: string;
|
|
19760
19988
|
created_at: string;
|
|
19761
19989
|
connected_account_id: string;
|
|
19762
|
-
workspace_id: string;
|
|
19763
19990
|
event_id: string;
|
|
19764
19991
|
occurred_at: string;
|
|
19765
19992
|
event_type: "device.connected";
|
|
19766
19993
|
}, {
|
|
19767
19994
|
device_id: string;
|
|
19995
|
+
workspace_id: string;
|
|
19768
19996
|
created_at: string;
|
|
19769
19997
|
connected_account_id: string;
|
|
19770
|
-
workspace_id: string;
|
|
19771
19998
|
event_id: string;
|
|
19772
19999
|
occurred_at: string;
|
|
19773
20000
|
event_type: "device.connected";
|
|
@@ -19783,17 +20010,17 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
19783
20010
|
event_type: z.ZodLiteral<"device.added">;
|
|
19784
20011
|
}>, "strip", z.ZodTypeAny, {
|
|
19785
20012
|
device_id: string;
|
|
20013
|
+
workspace_id: string;
|
|
19786
20014
|
created_at: string;
|
|
19787
20015
|
connected_account_id: string;
|
|
19788
|
-
workspace_id: string;
|
|
19789
20016
|
event_id: string;
|
|
19790
20017
|
occurred_at: string;
|
|
19791
20018
|
event_type: "device.added";
|
|
19792
20019
|
}, {
|
|
19793
20020
|
device_id: string;
|
|
20021
|
+
workspace_id: string;
|
|
19794
20022
|
created_at: string;
|
|
19795
20023
|
connected_account_id: string;
|
|
19796
|
-
workspace_id: string;
|
|
19797
20024
|
event_id: string;
|
|
19798
20025
|
occurred_at: string;
|
|
19799
20026
|
event_type: "device.added";
|
|
@@ -19809,17 +20036,17 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
19809
20036
|
event_type: z.ZodLiteral<"device.converted_to_unmanaged">;
|
|
19810
20037
|
}>, "strip", z.ZodTypeAny, {
|
|
19811
20038
|
device_id: string;
|
|
20039
|
+
workspace_id: string;
|
|
19812
20040
|
created_at: string;
|
|
19813
20041
|
connected_account_id: string;
|
|
19814
|
-
workspace_id: string;
|
|
19815
20042
|
event_id: string;
|
|
19816
20043
|
occurred_at: string;
|
|
19817
20044
|
event_type: "device.converted_to_unmanaged";
|
|
19818
20045
|
}, {
|
|
19819
20046
|
device_id: string;
|
|
20047
|
+
workspace_id: string;
|
|
19820
20048
|
created_at: string;
|
|
19821
20049
|
connected_account_id: string;
|
|
19822
|
-
workspace_id: string;
|
|
19823
20050
|
event_id: string;
|
|
19824
20051
|
occurred_at: string;
|
|
19825
20052
|
event_type: "device.converted_to_unmanaged";
|
|
@@ -19835,17 +20062,17 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
19835
20062
|
event_type: z.ZodLiteral<"device.unmanaged.converted_to_managed">;
|
|
19836
20063
|
}>, "strip", z.ZodTypeAny, {
|
|
19837
20064
|
device_id: string;
|
|
20065
|
+
workspace_id: string;
|
|
19838
20066
|
created_at: string;
|
|
19839
20067
|
connected_account_id: string;
|
|
19840
|
-
workspace_id: string;
|
|
19841
20068
|
event_id: string;
|
|
19842
20069
|
occurred_at: string;
|
|
19843
20070
|
event_type: "device.unmanaged.converted_to_managed";
|
|
19844
20071
|
}, {
|
|
19845
20072
|
device_id: string;
|
|
20073
|
+
workspace_id: string;
|
|
19846
20074
|
created_at: string;
|
|
19847
20075
|
connected_account_id: string;
|
|
19848
|
-
workspace_id: string;
|
|
19849
20076
|
event_id: string;
|
|
19850
20077
|
occurred_at: string;
|
|
19851
20078
|
event_type: "device.unmanaged.converted_to_managed";
|
|
@@ -19861,17 +20088,17 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
19861
20088
|
event_type: z.ZodLiteral<"device.unmanaged.connected">;
|
|
19862
20089
|
}>, "strip", z.ZodTypeAny, {
|
|
19863
20090
|
device_id: string;
|
|
20091
|
+
workspace_id: string;
|
|
19864
20092
|
created_at: string;
|
|
19865
20093
|
connected_account_id: string;
|
|
19866
|
-
workspace_id: string;
|
|
19867
20094
|
event_id: string;
|
|
19868
20095
|
occurred_at: string;
|
|
19869
20096
|
event_type: "device.unmanaged.connected";
|
|
19870
20097
|
}, {
|
|
19871
20098
|
device_id: string;
|
|
20099
|
+
workspace_id: string;
|
|
19872
20100
|
created_at: string;
|
|
19873
20101
|
connected_account_id: string;
|
|
19874
|
-
workspace_id: string;
|
|
19875
20102
|
event_id: string;
|
|
19876
20103
|
occurred_at: string;
|
|
19877
20104
|
event_type: "device.unmanaged.connected";
|
|
@@ -19888,19 +20115,19 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
19888
20115
|
error_code: z.ZodEnum<["account_disconnected", "hub_disconnected", "device_disconnected"]>;
|
|
19889
20116
|
}>, "strip", z.ZodTypeAny, {
|
|
19890
20117
|
device_id: string;
|
|
20118
|
+
workspace_id: string;
|
|
19891
20119
|
created_at: string;
|
|
19892
20120
|
error_code: "account_disconnected" | "hub_disconnected" | "device_disconnected";
|
|
19893
20121
|
connected_account_id: string;
|
|
19894
|
-
workspace_id: string;
|
|
19895
20122
|
event_id: string;
|
|
19896
20123
|
occurred_at: string;
|
|
19897
20124
|
event_type: "device.disconnected";
|
|
19898
20125
|
}, {
|
|
19899
20126
|
device_id: string;
|
|
20127
|
+
workspace_id: string;
|
|
19900
20128
|
created_at: string;
|
|
19901
20129
|
error_code: "account_disconnected" | "hub_disconnected" | "device_disconnected";
|
|
19902
20130
|
connected_account_id: string;
|
|
19903
|
-
workspace_id: string;
|
|
19904
20131
|
event_id: string;
|
|
19905
20132
|
occurred_at: string;
|
|
19906
20133
|
event_type: "device.disconnected";
|
|
@@ -19917,19 +20144,19 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
19917
20144
|
error_code: z.ZodEnum<["account_disconnected", "hub_disconnected", "device_disconnected"]>;
|
|
19918
20145
|
}>, "strip", z.ZodTypeAny, {
|
|
19919
20146
|
device_id: string;
|
|
20147
|
+
workspace_id: string;
|
|
19920
20148
|
created_at: string;
|
|
19921
20149
|
error_code: "account_disconnected" | "hub_disconnected" | "device_disconnected";
|
|
19922
20150
|
connected_account_id: string;
|
|
19923
|
-
workspace_id: string;
|
|
19924
20151
|
event_id: string;
|
|
19925
20152
|
occurred_at: string;
|
|
19926
20153
|
event_type: "device.unmanaged.disconnected";
|
|
19927
20154
|
}, {
|
|
19928
20155
|
device_id: string;
|
|
20156
|
+
workspace_id: string;
|
|
19929
20157
|
created_at: string;
|
|
19930
20158
|
error_code: "account_disconnected" | "hub_disconnected" | "device_disconnected";
|
|
19931
20159
|
connected_account_id: string;
|
|
19932
|
-
workspace_id: string;
|
|
19933
20160
|
event_id: string;
|
|
19934
20161
|
occurred_at: string;
|
|
19935
20162
|
event_type: "device.unmanaged.disconnected";
|
|
@@ -19945,17 +20172,17 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
19945
20172
|
event_type: z.ZodLiteral<"device.tampered">;
|
|
19946
20173
|
}>, "strip", z.ZodTypeAny, {
|
|
19947
20174
|
device_id: string;
|
|
20175
|
+
workspace_id: string;
|
|
19948
20176
|
created_at: string;
|
|
19949
20177
|
connected_account_id: string;
|
|
19950
|
-
workspace_id: string;
|
|
19951
20178
|
event_id: string;
|
|
19952
20179
|
occurred_at: string;
|
|
19953
20180
|
event_type: "device.tampered";
|
|
19954
20181
|
}, {
|
|
19955
20182
|
device_id: string;
|
|
20183
|
+
workspace_id: string;
|
|
19956
20184
|
created_at: string;
|
|
19957
20185
|
connected_account_id: string;
|
|
19958
|
-
workspace_id: string;
|
|
19959
20186
|
event_id: string;
|
|
19960
20187
|
occurred_at: string;
|
|
19961
20188
|
event_type: "device.tampered";
|
|
@@ -19972,19 +20199,19 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
19972
20199
|
battery_level: z.ZodNumber;
|
|
19973
20200
|
}>, "strip", z.ZodTypeAny, {
|
|
19974
20201
|
device_id: string;
|
|
20202
|
+
workspace_id: string;
|
|
19975
20203
|
created_at: string;
|
|
19976
20204
|
connected_account_id: string;
|
|
19977
20205
|
battery_level: number;
|
|
19978
|
-
workspace_id: string;
|
|
19979
20206
|
event_id: string;
|
|
19980
20207
|
occurred_at: string;
|
|
19981
20208
|
event_type: "device.low_battery";
|
|
19982
20209
|
}, {
|
|
19983
20210
|
device_id: string;
|
|
20211
|
+
workspace_id: string;
|
|
19984
20212
|
created_at: string;
|
|
19985
20213
|
connected_account_id: string;
|
|
19986
20214
|
battery_level: number;
|
|
19987
|
-
workspace_id: string;
|
|
19988
20215
|
event_id: string;
|
|
19989
20216
|
occurred_at: string;
|
|
19990
20217
|
event_type: "device.low_battery";
|
|
@@ -20002,20 +20229,20 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
20002
20229
|
battery_level: z.ZodNumber;
|
|
20003
20230
|
}>, "strip", z.ZodTypeAny, {
|
|
20004
20231
|
device_id: string;
|
|
20232
|
+
workspace_id: string;
|
|
20005
20233
|
created_at: string;
|
|
20006
20234
|
connected_account_id: string;
|
|
20007
20235
|
battery_level: number;
|
|
20008
|
-
workspace_id: string;
|
|
20009
20236
|
event_id: string;
|
|
20010
20237
|
occurred_at: string;
|
|
20011
20238
|
event_type: "device.battery_status_changed";
|
|
20012
20239
|
battery_status: "critical" | "low" | "good" | "full";
|
|
20013
20240
|
}, {
|
|
20014
20241
|
device_id: string;
|
|
20242
|
+
workspace_id: string;
|
|
20015
20243
|
created_at: string;
|
|
20016
20244
|
connected_account_id: string;
|
|
20017
20245
|
battery_level: number;
|
|
20018
|
-
workspace_id: string;
|
|
20019
20246
|
event_id: string;
|
|
20020
20247
|
occurred_at: string;
|
|
20021
20248
|
event_type: "device.battery_status_changed";
|
|
@@ -20032,17 +20259,17 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
20032
20259
|
event_type: z.ZodLiteral<"device.removed">;
|
|
20033
20260
|
}>, "strip", z.ZodTypeAny, {
|
|
20034
20261
|
device_id: string;
|
|
20262
|
+
workspace_id: string;
|
|
20035
20263
|
created_at: string;
|
|
20036
20264
|
connected_account_id: string;
|
|
20037
|
-
workspace_id: string;
|
|
20038
20265
|
event_id: string;
|
|
20039
20266
|
occurred_at: string;
|
|
20040
20267
|
event_type: "device.removed";
|
|
20041
20268
|
}, {
|
|
20042
20269
|
device_id: string;
|
|
20270
|
+
workspace_id: string;
|
|
20043
20271
|
created_at: string;
|
|
20044
20272
|
connected_account_id: string;
|
|
20045
|
-
workspace_id: string;
|
|
20046
20273
|
event_id: string;
|
|
20047
20274
|
occurred_at: string;
|
|
20048
20275
|
event_type: "device.removed";
|
|
@@ -20058,17 +20285,17 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
20058
20285
|
event_type: z.ZodLiteral<"device.deleted">;
|
|
20059
20286
|
}>, "strip", z.ZodTypeAny, {
|
|
20060
20287
|
device_id: string;
|
|
20288
|
+
workspace_id: string;
|
|
20061
20289
|
created_at: string;
|
|
20062
20290
|
connected_account_id: string;
|
|
20063
|
-
workspace_id: string;
|
|
20064
20291
|
event_id: string;
|
|
20065
20292
|
occurred_at: string;
|
|
20066
20293
|
event_type: "device.deleted";
|
|
20067
20294
|
}, {
|
|
20068
20295
|
device_id: string;
|
|
20296
|
+
workspace_id: string;
|
|
20069
20297
|
created_at: string;
|
|
20070
20298
|
connected_account_id: string;
|
|
20071
|
-
workspace_id: string;
|
|
20072
20299
|
event_id: string;
|
|
20073
20300
|
occurred_at: string;
|
|
20074
20301
|
event_type: "device.deleted";
|
|
@@ -20084,17 +20311,17 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
20084
20311
|
event_type: z.ZodLiteral<"device.third_party_integration_detected">;
|
|
20085
20312
|
}>, "strip", z.ZodTypeAny, {
|
|
20086
20313
|
device_id: string;
|
|
20314
|
+
workspace_id: string;
|
|
20087
20315
|
created_at: string;
|
|
20088
20316
|
connected_account_id: string;
|
|
20089
|
-
workspace_id: string;
|
|
20090
20317
|
event_id: string;
|
|
20091
20318
|
occurred_at: string;
|
|
20092
20319
|
event_type: "device.third_party_integration_detected";
|
|
20093
20320
|
}, {
|
|
20094
20321
|
device_id: string;
|
|
20322
|
+
workspace_id: string;
|
|
20095
20323
|
created_at: string;
|
|
20096
20324
|
connected_account_id: string;
|
|
20097
|
-
workspace_id: string;
|
|
20098
20325
|
event_id: string;
|
|
20099
20326
|
occurred_at: string;
|
|
20100
20327
|
event_type: "device.third_party_integration_detected";
|
|
@@ -20110,17 +20337,17 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
20110
20337
|
event_type: z.ZodLiteral<"device.third_party_integration_no_longer_detected">;
|
|
20111
20338
|
}>, "strip", z.ZodTypeAny, {
|
|
20112
20339
|
device_id: string;
|
|
20340
|
+
workspace_id: string;
|
|
20113
20341
|
created_at: string;
|
|
20114
20342
|
connected_account_id: string;
|
|
20115
|
-
workspace_id: string;
|
|
20116
20343
|
event_id: string;
|
|
20117
20344
|
occurred_at: string;
|
|
20118
20345
|
event_type: "device.third_party_integration_no_longer_detected";
|
|
20119
20346
|
}, {
|
|
20120
20347
|
device_id: string;
|
|
20348
|
+
workspace_id: string;
|
|
20121
20349
|
created_at: string;
|
|
20122
20350
|
connected_account_id: string;
|
|
20123
|
-
workspace_id: string;
|
|
20124
20351
|
event_id: string;
|
|
20125
20352
|
occurred_at: string;
|
|
20126
20353
|
event_type: "device.third_party_integration_no_longer_detected";
|
|
@@ -20136,17 +20363,17 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
20136
20363
|
event_type: z.ZodLiteral<"device.salto.privacy_mode_activated">;
|
|
20137
20364
|
}>, "strip", z.ZodTypeAny, {
|
|
20138
20365
|
device_id: string;
|
|
20366
|
+
workspace_id: string;
|
|
20139
20367
|
created_at: string;
|
|
20140
20368
|
connected_account_id: string;
|
|
20141
|
-
workspace_id: string;
|
|
20142
20369
|
event_id: string;
|
|
20143
20370
|
occurred_at: string;
|
|
20144
20371
|
event_type: "device.salto.privacy_mode_activated";
|
|
20145
20372
|
}, {
|
|
20146
20373
|
device_id: string;
|
|
20374
|
+
workspace_id: string;
|
|
20147
20375
|
created_at: string;
|
|
20148
20376
|
connected_account_id: string;
|
|
20149
|
-
workspace_id: string;
|
|
20150
20377
|
event_id: string;
|
|
20151
20378
|
occurred_at: string;
|
|
20152
20379
|
event_type: "device.salto.privacy_mode_activated";
|
|
@@ -20162,17 +20389,17 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
20162
20389
|
event_type: z.ZodLiteral<"device.salto.privacy_mode_deactivated">;
|
|
20163
20390
|
}>, "strip", z.ZodTypeAny, {
|
|
20164
20391
|
device_id: string;
|
|
20392
|
+
workspace_id: string;
|
|
20165
20393
|
created_at: string;
|
|
20166
20394
|
connected_account_id: string;
|
|
20167
|
-
workspace_id: string;
|
|
20168
20395
|
event_id: string;
|
|
20169
20396
|
occurred_at: string;
|
|
20170
20397
|
event_type: "device.salto.privacy_mode_deactivated";
|
|
20171
20398
|
}, {
|
|
20172
20399
|
device_id: string;
|
|
20400
|
+
workspace_id: string;
|
|
20173
20401
|
created_at: string;
|
|
20174
20402
|
connected_account_id: string;
|
|
20175
|
-
workspace_id: string;
|
|
20176
20403
|
event_id: string;
|
|
20177
20404
|
occurred_at: string;
|
|
20178
20405
|
event_type: "device.salto.privacy_mode_deactivated";
|
|
@@ -20188,17 +20415,17 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
20188
20415
|
event_type: z.ZodLiteral<"device.connection_became_flaky">;
|
|
20189
20416
|
}>, "strip", z.ZodTypeAny, {
|
|
20190
20417
|
device_id: string;
|
|
20418
|
+
workspace_id: string;
|
|
20191
20419
|
created_at: string;
|
|
20192
20420
|
connected_account_id: string;
|
|
20193
|
-
workspace_id: string;
|
|
20194
20421
|
event_id: string;
|
|
20195
20422
|
occurred_at: string;
|
|
20196
20423
|
event_type: "device.connection_became_flaky";
|
|
20197
20424
|
}, {
|
|
20198
20425
|
device_id: string;
|
|
20426
|
+
workspace_id: string;
|
|
20199
20427
|
created_at: string;
|
|
20200
20428
|
connected_account_id: string;
|
|
20201
|
-
workspace_id: string;
|
|
20202
20429
|
event_id: string;
|
|
20203
20430
|
occurred_at: string;
|
|
20204
20431
|
event_type: "device.connection_became_flaky";
|
|
@@ -20214,17 +20441,17 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
20214
20441
|
event_type: z.ZodLiteral<"device.connection_stabilized">;
|
|
20215
20442
|
}>, "strip", z.ZodTypeAny, {
|
|
20216
20443
|
device_id: string;
|
|
20444
|
+
workspace_id: string;
|
|
20217
20445
|
created_at: string;
|
|
20218
20446
|
connected_account_id: string;
|
|
20219
|
-
workspace_id: string;
|
|
20220
20447
|
event_id: string;
|
|
20221
20448
|
occurred_at: string;
|
|
20222
20449
|
event_type: "device.connection_stabilized";
|
|
20223
20450
|
}, {
|
|
20224
20451
|
device_id: string;
|
|
20452
|
+
workspace_id: string;
|
|
20225
20453
|
created_at: string;
|
|
20226
20454
|
connected_account_id: string;
|
|
20227
|
-
workspace_id: string;
|
|
20228
20455
|
event_id: string;
|
|
20229
20456
|
occurred_at: string;
|
|
20230
20457
|
event_type: "device.connection_stabilized";
|
|
@@ -20240,17 +20467,17 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
20240
20467
|
event_type: z.ZodLiteral<"device.error.subscription_required">;
|
|
20241
20468
|
}>, "strip", z.ZodTypeAny, {
|
|
20242
20469
|
device_id: string;
|
|
20470
|
+
workspace_id: string;
|
|
20243
20471
|
created_at: string;
|
|
20244
20472
|
connected_account_id: string;
|
|
20245
|
-
workspace_id: string;
|
|
20246
20473
|
event_id: string;
|
|
20247
20474
|
occurred_at: string;
|
|
20248
20475
|
event_type: "device.error.subscription_required";
|
|
20249
20476
|
}, {
|
|
20250
20477
|
device_id: string;
|
|
20478
|
+
workspace_id: string;
|
|
20251
20479
|
created_at: string;
|
|
20252
20480
|
connected_account_id: string;
|
|
20253
|
-
workspace_id: string;
|
|
20254
20481
|
event_id: string;
|
|
20255
20482
|
occurred_at: string;
|
|
20256
20483
|
event_type: "device.error.subscription_required";
|
|
@@ -20266,17 +20493,17 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
20266
20493
|
event_type: z.ZodLiteral<"device.error.subscription_required.resolved">;
|
|
20267
20494
|
}>, "strip", z.ZodTypeAny, {
|
|
20268
20495
|
device_id: string;
|
|
20496
|
+
workspace_id: string;
|
|
20269
20497
|
created_at: string;
|
|
20270
20498
|
connected_account_id: string;
|
|
20271
|
-
workspace_id: string;
|
|
20272
20499
|
event_id: string;
|
|
20273
20500
|
occurred_at: string;
|
|
20274
20501
|
event_type: "device.error.subscription_required.resolved";
|
|
20275
20502
|
}, {
|
|
20276
20503
|
device_id: string;
|
|
20504
|
+
workspace_id: string;
|
|
20277
20505
|
created_at: string;
|
|
20278
20506
|
connected_account_id: string;
|
|
20279
|
-
workspace_id: string;
|
|
20280
20507
|
event_id: string;
|
|
20281
20508
|
occurred_at: string;
|
|
20282
20509
|
event_type: "device.error.subscription_required.resolved";
|
|
@@ -20292,17 +20519,17 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
20292
20519
|
event_type: z.ZodLiteral<"device.accessory_keypad_connected">;
|
|
20293
20520
|
}>, "strip", z.ZodTypeAny, {
|
|
20294
20521
|
device_id: string;
|
|
20522
|
+
workspace_id: string;
|
|
20295
20523
|
created_at: string;
|
|
20296
20524
|
connected_account_id: string;
|
|
20297
|
-
workspace_id: string;
|
|
20298
20525
|
event_id: string;
|
|
20299
20526
|
occurred_at: string;
|
|
20300
20527
|
event_type: "device.accessory_keypad_connected";
|
|
20301
20528
|
}, {
|
|
20302
20529
|
device_id: string;
|
|
20530
|
+
workspace_id: string;
|
|
20303
20531
|
created_at: string;
|
|
20304
20532
|
connected_account_id: string;
|
|
20305
|
-
workspace_id: string;
|
|
20306
20533
|
event_id: string;
|
|
20307
20534
|
occurred_at: string;
|
|
20308
20535
|
event_type: "device.accessory_keypad_connected";
|
|
@@ -20318,17 +20545,17 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
20318
20545
|
event_type: z.ZodLiteral<"device.accessory_keypad_disconnected">;
|
|
20319
20546
|
}>, "strip", z.ZodTypeAny, {
|
|
20320
20547
|
device_id: string;
|
|
20548
|
+
workspace_id: string;
|
|
20321
20549
|
created_at: string;
|
|
20322
20550
|
connected_account_id: string;
|
|
20323
|
-
workspace_id: string;
|
|
20324
20551
|
event_id: string;
|
|
20325
20552
|
occurred_at: string;
|
|
20326
20553
|
event_type: "device.accessory_keypad_disconnected";
|
|
20327
20554
|
}, {
|
|
20328
20555
|
device_id: string;
|
|
20556
|
+
workspace_id: string;
|
|
20329
20557
|
created_at: string;
|
|
20330
20558
|
connected_account_id: string;
|
|
20331
|
-
workspace_id: string;
|
|
20332
20559
|
event_id: string;
|
|
20333
20560
|
occurred_at: string;
|
|
20334
20561
|
event_type: "device.accessory_keypad_disconnected";
|
|
@@ -20350,9 +20577,9 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
20350
20577
|
minut_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
20351
20578
|
}>, "strip", z.ZodTypeAny, {
|
|
20352
20579
|
device_id: string;
|
|
20580
|
+
workspace_id: string;
|
|
20353
20581
|
created_at: string;
|
|
20354
20582
|
connected_account_id: string;
|
|
20355
|
-
workspace_id: string;
|
|
20356
20583
|
event_id: string;
|
|
20357
20584
|
occurred_at: string;
|
|
20358
20585
|
event_type: "noise_sensor.noise_threshold_triggered";
|
|
@@ -20364,9 +20591,9 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
20364
20591
|
noise_threshold_name?: string | undefined;
|
|
20365
20592
|
}, {
|
|
20366
20593
|
device_id: string;
|
|
20594
|
+
workspace_id: string;
|
|
20367
20595
|
created_at: string;
|
|
20368
20596
|
connected_account_id: string;
|
|
20369
|
-
workspace_id: string;
|
|
20370
20597
|
event_id: string;
|
|
20371
20598
|
occurred_at: string;
|
|
20372
20599
|
event_type: "noise_sensor.noise_threshold_triggered";
|
|
@@ -20391,10 +20618,10 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
20391
20618
|
method: z.ZodEnum<["keycode", "manual", "automatic", "unknown", "seamapi"]>;
|
|
20392
20619
|
}>, "strip", z.ZodTypeAny, {
|
|
20393
20620
|
device_id: string;
|
|
20621
|
+
workspace_id: string;
|
|
20394
20622
|
created_at: string;
|
|
20395
20623
|
method: "unknown" | "keycode" | "manual" | "automatic" | "seamapi";
|
|
20396
20624
|
connected_account_id: string;
|
|
20397
|
-
workspace_id: string;
|
|
20398
20625
|
event_id: string;
|
|
20399
20626
|
occurred_at: string;
|
|
20400
20627
|
event_type: "lock.locked";
|
|
@@ -20402,10 +20629,10 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
20402
20629
|
action_attempt_id?: string | undefined;
|
|
20403
20630
|
}, {
|
|
20404
20631
|
device_id: string;
|
|
20632
|
+
workspace_id: string;
|
|
20405
20633
|
created_at: string;
|
|
20406
20634
|
method: "unknown" | "keycode" | "manual" | "automatic" | "seamapi";
|
|
20407
20635
|
connected_account_id: string;
|
|
20408
|
-
workspace_id: string;
|
|
20409
20636
|
event_id: string;
|
|
20410
20637
|
occurred_at: string;
|
|
20411
20638
|
event_type: "lock.locked";
|
|
@@ -20426,10 +20653,10 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
20426
20653
|
method: z.ZodEnum<["keycode", "manual", "automatic", "unknown", "seamapi"]>;
|
|
20427
20654
|
}>, "strip", z.ZodTypeAny, {
|
|
20428
20655
|
device_id: string;
|
|
20656
|
+
workspace_id: string;
|
|
20429
20657
|
created_at: string;
|
|
20430
20658
|
method: "unknown" | "keycode" | "manual" | "automatic" | "seamapi";
|
|
20431
20659
|
connected_account_id: string;
|
|
20432
|
-
workspace_id: string;
|
|
20433
20660
|
event_id: string;
|
|
20434
20661
|
occurred_at: string;
|
|
20435
20662
|
event_type: "lock.unlocked";
|
|
@@ -20437,10 +20664,10 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
20437
20664
|
action_attempt_id?: string | undefined;
|
|
20438
20665
|
}, {
|
|
20439
20666
|
device_id: string;
|
|
20667
|
+
workspace_id: string;
|
|
20440
20668
|
created_at: string;
|
|
20441
20669
|
method: "unknown" | "keycode" | "manual" | "automatic" | "seamapi";
|
|
20442
20670
|
connected_account_id: string;
|
|
20443
|
-
workspace_id: string;
|
|
20444
20671
|
event_id: string;
|
|
20445
20672
|
occurred_at: string;
|
|
20446
20673
|
event_type: "lock.unlocked";
|
|
@@ -20459,18 +20686,18 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
20459
20686
|
access_code_id: z.ZodOptional<z.ZodString>;
|
|
20460
20687
|
}>, "strip", z.ZodTypeAny, {
|
|
20461
20688
|
device_id: string;
|
|
20689
|
+
workspace_id: string;
|
|
20462
20690
|
created_at: string;
|
|
20463
20691
|
connected_account_id: string;
|
|
20464
|
-
workspace_id: string;
|
|
20465
20692
|
event_id: string;
|
|
20466
20693
|
occurred_at: string;
|
|
20467
20694
|
event_type: "lock.access_denied";
|
|
20468
20695
|
access_code_id?: string | undefined;
|
|
20469
20696
|
}, {
|
|
20470
20697
|
device_id: string;
|
|
20698
|
+
workspace_id: string;
|
|
20471
20699
|
created_at: string;
|
|
20472
20700
|
connected_account_id: string;
|
|
20473
|
-
workspace_id: string;
|
|
20474
20701
|
event_id: string;
|
|
20475
20702
|
occurred_at: string;
|
|
20476
20703
|
event_type: "lock.access_denied";
|
|
@@ -20491,10 +20718,10 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
20491
20718
|
}>, "strip", z.ZodTypeAny, {
|
|
20492
20719
|
climate_preset_key: string;
|
|
20493
20720
|
device_id: string;
|
|
20721
|
+
workspace_id: string;
|
|
20494
20722
|
created_at: string;
|
|
20495
20723
|
thermostat_schedule_id: string | null;
|
|
20496
20724
|
connected_account_id: string;
|
|
20497
|
-
workspace_id: string;
|
|
20498
20725
|
event_id: string;
|
|
20499
20726
|
occurred_at: string;
|
|
20500
20727
|
event_type: "thermostat.climate_preset_activated";
|
|
@@ -20502,10 +20729,10 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
20502
20729
|
}, {
|
|
20503
20730
|
climate_preset_key: string;
|
|
20504
20731
|
device_id: string;
|
|
20732
|
+
workspace_id: string;
|
|
20505
20733
|
created_at: string;
|
|
20506
20734
|
thermostat_schedule_id: string | null;
|
|
20507
20735
|
connected_account_id: string;
|
|
20508
|
-
workspace_id: string;
|
|
20509
20736
|
event_id: string;
|
|
20510
20737
|
occurred_at: string;
|
|
20511
20738
|
event_type: "thermostat.climate_preset_activated";
|
|
@@ -20537,10 +20764,10 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
20537
20764
|
manual_override_allowed: z.ZodOptional<z.ZodBoolean>;
|
|
20538
20765
|
}, "fan_mode_setting" | "hvac_mode_setting" | "cooling_set_point_celsius" | "heating_set_point_celsius" | "cooling_set_point_fahrenheit" | "heating_set_point_fahrenheit">>, "strip", z.ZodTypeAny, {
|
|
20539
20766
|
device_id: string;
|
|
20767
|
+
workspace_id: string;
|
|
20540
20768
|
created_at: string;
|
|
20541
20769
|
method: "seam" | "external";
|
|
20542
20770
|
connected_account_id: string;
|
|
20543
|
-
workspace_id: string;
|
|
20544
20771
|
event_id: string;
|
|
20545
20772
|
occurred_at: string;
|
|
20546
20773
|
event_type: "thermostat.manually_adjusted";
|
|
@@ -20552,10 +20779,10 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
20552
20779
|
heating_set_point_fahrenheit?: number | undefined;
|
|
20553
20780
|
}, {
|
|
20554
20781
|
device_id: string;
|
|
20782
|
+
workspace_id: string;
|
|
20555
20783
|
created_at: string;
|
|
20556
20784
|
method: "seam" | "external";
|
|
20557
20785
|
connected_account_id: string;
|
|
20558
|
-
workspace_id: string;
|
|
20559
20786
|
event_id: string;
|
|
20560
20787
|
occurred_at: string;
|
|
20561
20788
|
event_type: "thermostat.manually_adjusted";
|
|
@@ -20583,6 +20810,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
20583
20810
|
lower_limit_fahrenheit: z.ZodNullable<z.ZodNumber>;
|
|
20584
20811
|
}>, "strip", z.ZodTypeAny, {
|
|
20585
20812
|
device_id: string;
|
|
20813
|
+
workspace_id: string;
|
|
20586
20814
|
created_at: string;
|
|
20587
20815
|
temperature_fahrenheit: number;
|
|
20588
20816
|
temperature_celsius: number;
|
|
@@ -20591,12 +20819,12 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
20591
20819
|
upper_limit_celsius: number | null;
|
|
20592
20820
|
upper_limit_fahrenheit: number | null;
|
|
20593
20821
|
connected_account_id: string;
|
|
20594
|
-
workspace_id: string;
|
|
20595
20822
|
event_id: string;
|
|
20596
20823
|
occurred_at: string;
|
|
20597
20824
|
event_type: "thermostat.temperature_threshold_exceeded";
|
|
20598
20825
|
}, {
|
|
20599
20826
|
device_id: string;
|
|
20827
|
+
workspace_id: string;
|
|
20600
20828
|
created_at: string;
|
|
20601
20829
|
temperature_fahrenheit: number;
|
|
20602
20830
|
temperature_celsius: number;
|
|
@@ -20605,7 +20833,6 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
20605
20833
|
upper_limit_celsius: number | null;
|
|
20606
20834
|
upper_limit_fahrenheit: number | null;
|
|
20607
20835
|
connected_account_id: string;
|
|
20608
|
-
workspace_id: string;
|
|
20609
20836
|
event_id: string;
|
|
20610
20837
|
occurred_at: string;
|
|
20611
20838
|
event_type: "thermostat.temperature_threshold_exceeded";
|
|
@@ -20627,6 +20854,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
20627
20854
|
lower_limit_fahrenheit: z.ZodNullable<z.ZodNumber>;
|
|
20628
20855
|
}>, "strip", z.ZodTypeAny, {
|
|
20629
20856
|
device_id: string;
|
|
20857
|
+
workspace_id: string;
|
|
20630
20858
|
created_at: string;
|
|
20631
20859
|
temperature_fahrenheit: number;
|
|
20632
20860
|
temperature_celsius: number;
|
|
@@ -20635,12 +20863,12 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
20635
20863
|
upper_limit_celsius: number | null;
|
|
20636
20864
|
upper_limit_fahrenheit: number | null;
|
|
20637
20865
|
connected_account_id: string;
|
|
20638
|
-
workspace_id: string;
|
|
20639
20866
|
event_id: string;
|
|
20640
20867
|
occurred_at: string;
|
|
20641
20868
|
event_type: "thermostat.temperature_threshold_no_longer_exceeded";
|
|
20642
20869
|
}, {
|
|
20643
20870
|
device_id: string;
|
|
20871
|
+
workspace_id: string;
|
|
20644
20872
|
created_at: string;
|
|
20645
20873
|
temperature_fahrenheit: number;
|
|
20646
20874
|
temperature_celsius: number;
|
|
@@ -20649,7 +20877,6 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
20649
20877
|
upper_limit_celsius: number | null;
|
|
20650
20878
|
upper_limit_fahrenheit: number | null;
|
|
20651
20879
|
connected_account_id: string;
|
|
20652
|
-
workspace_id: string;
|
|
20653
20880
|
event_id: string;
|
|
20654
20881
|
occurred_at: string;
|
|
20655
20882
|
event_type: "thermostat.temperature_threshold_no_longer_exceeded";
|
|
@@ -20669,11 +20896,11 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
20669
20896
|
desired_temperature_fahrenheit: z.ZodOptional<z.ZodNumber>;
|
|
20670
20897
|
}>, "strip", z.ZodTypeAny, {
|
|
20671
20898
|
device_id: string;
|
|
20899
|
+
workspace_id: string;
|
|
20672
20900
|
created_at: string;
|
|
20673
20901
|
temperature_fahrenheit: number;
|
|
20674
20902
|
temperature_celsius: number;
|
|
20675
20903
|
connected_account_id: string;
|
|
20676
|
-
workspace_id: string;
|
|
20677
20904
|
event_id: string;
|
|
20678
20905
|
occurred_at: string;
|
|
20679
20906
|
event_type: "thermostat.temperature_reached_set_point";
|
|
@@ -20681,11 +20908,11 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
20681
20908
|
desired_temperature_fahrenheit?: number | undefined;
|
|
20682
20909
|
}, {
|
|
20683
20910
|
device_id: string;
|
|
20911
|
+
workspace_id: string;
|
|
20684
20912
|
created_at: string;
|
|
20685
20913
|
temperature_fahrenheit: number;
|
|
20686
20914
|
temperature_celsius: number;
|
|
20687
20915
|
connected_account_id: string;
|
|
20688
|
-
workspace_id: string;
|
|
20689
20916
|
event_id: string;
|
|
20690
20917
|
occurred_at: string;
|
|
20691
20918
|
event_type: "thermostat.temperature_reached_set_point";
|
|
@@ -20705,21 +20932,21 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
20705
20932
|
temperature_fahrenheit: z.ZodNumber;
|
|
20706
20933
|
}>, "strip", z.ZodTypeAny, {
|
|
20707
20934
|
device_id: string;
|
|
20935
|
+
workspace_id: string;
|
|
20708
20936
|
created_at: string;
|
|
20709
20937
|
temperature_fahrenheit: number;
|
|
20710
20938
|
temperature_celsius: number;
|
|
20711
20939
|
connected_account_id: string;
|
|
20712
|
-
workspace_id: string;
|
|
20713
20940
|
event_id: string;
|
|
20714
20941
|
occurred_at: string;
|
|
20715
20942
|
event_type: "thermostat.temperature_changed";
|
|
20716
20943
|
}, {
|
|
20717
20944
|
device_id: string;
|
|
20945
|
+
workspace_id: string;
|
|
20718
20946
|
created_at: string;
|
|
20719
20947
|
temperature_fahrenheit: number;
|
|
20720
20948
|
temperature_celsius: number;
|
|
20721
20949
|
connected_account_id: string;
|
|
20722
|
-
workspace_id: string;
|
|
20723
20950
|
event_id: string;
|
|
20724
20951
|
occurred_at: string;
|
|
20725
20952
|
event_type: "thermostat.temperature_changed";
|
|
@@ -20736,19 +20963,19 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
20736
20963
|
device_name: z.ZodString;
|
|
20737
20964
|
}>, "strip", z.ZodTypeAny, {
|
|
20738
20965
|
device_id: string;
|
|
20966
|
+
workspace_id: string;
|
|
20739
20967
|
created_at: string;
|
|
20740
20968
|
connected_account_id: string;
|
|
20741
20969
|
device_name: string;
|
|
20742
|
-
workspace_id: string;
|
|
20743
20970
|
event_id: string;
|
|
20744
20971
|
occurred_at: string;
|
|
20745
20972
|
event_type: "device.name_changed";
|
|
20746
20973
|
}, {
|
|
20747
20974
|
device_id: string;
|
|
20975
|
+
workspace_id: string;
|
|
20748
20976
|
created_at: string;
|
|
20749
20977
|
connected_account_id: string;
|
|
20750
20978
|
device_name: string;
|
|
20751
|
-
workspace_id: string;
|
|
20752
20979
|
event_id: string;
|
|
20753
20980
|
occurred_at: string;
|
|
20754
20981
|
event_type: "device.name_changed";
|
|
@@ -20762,15 +20989,15 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
20762
20989
|
}>, {
|
|
20763
20990
|
event_type: z.ZodLiteral<"enrollment_automation.deleted">;
|
|
20764
20991
|
}>, "strip", z.ZodTypeAny, {
|
|
20765
|
-
created_at: string;
|
|
20766
20992
|
workspace_id: string;
|
|
20993
|
+
created_at: string;
|
|
20767
20994
|
enrollment_automation_id: string;
|
|
20768
20995
|
event_id: string;
|
|
20769
20996
|
occurred_at: string;
|
|
20770
20997
|
event_type: "enrollment_automation.deleted";
|
|
20771
20998
|
}, {
|
|
20772
|
-
created_at: string;
|
|
20773
20999
|
workspace_id: string;
|
|
21000
|
+
created_at: string;
|
|
20774
21001
|
enrollment_automation_id: string;
|
|
20775
21002
|
event_id: string;
|
|
20776
21003
|
occurred_at: string;
|
|
@@ -20786,15 +21013,15 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
20786
21013
|
event_type: z.ZodLiteral<"phone.deactivated">;
|
|
20787
21014
|
}>, "strip", z.ZodTypeAny, {
|
|
20788
21015
|
device_id: string;
|
|
20789
|
-
created_at: string;
|
|
20790
21016
|
workspace_id: string;
|
|
21017
|
+
created_at: string;
|
|
20791
21018
|
event_id: string;
|
|
20792
21019
|
occurred_at: string;
|
|
20793
21020
|
event_type: "phone.deactivated";
|
|
20794
21021
|
}, {
|
|
20795
21022
|
device_id: string;
|
|
20796
|
-
created_at: string;
|
|
20797
21023
|
workspace_id: string;
|
|
21024
|
+
created_at: string;
|
|
20798
21025
|
event_id: string;
|
|
20799
21026
|
occurred_at: string;
|
|
20800
21027
|
event_type: "phone.deactivated";
|
|
@@ -20811,16 +21038,16 @@ declare const instant_key: z.ZodObject<{
|
|
|
20811
21038
|
user_identity_id: z.ZodString;
|
|
20812
21039
|
expires_at: z.ZodString;
|
|
20813
21040
|
}, "strip", z.ZodTypeAny, {
|
|
20814
|
-
created_at: string;
|
|
20815
21041
|
workspace_id: string;
|
|
21042
|
+
created_at: string;
|
|
20816
21043
|
user_identity_id: string;
|
|
20817
21044
|
instant_key_url: string;
|
|
20818
21045
|
client_session_id: string;
|
|
20819
21046
|
expires_at: string;
|
|
20820
21047
|
instant_key_id: string;
|
|
20821
21048
|
}, {
|
|
20822
|
-
created_at: string;
|
|
20823
21049
|
workspace_id: string;
|
|
21050
|
+
created_at: string;
|
|
20824
21051
|
user_identity_id: string;
|
|
20825
21052
|
instant_key_url: string;
|
|
20826
21053
|
client_session_id: string;
|
|
@@ -20873,7 +21100,7 @@ declare const pagination: z.ZodObject<{
|
|
|
20873
21100
|
declare const thermostat_daily_program: z.ZodObject<{
|
|
20874
21101
|
thermostat_daily_program_id: z.ZodString;
|
|
20875
21102
|
device_id: z.ZodString;
|
|
20876
|
-
name: z.
|
|
21103
|
+
name: z.ZodNullable<z.ZodString>;
|
|
20877
21104
|
periods: z.ZodArray<z.ZodObject<{
|
|
20878
21105
|
starts_at_time: z.ZodString;
|
|
20879
21106
|
climate_preset_key: z.ZodString;
|
|
@@ -20884,28 +21111,30 @@ declare const thermostat_daily_program: z.ZodObject<{
|
|
|
20884
21111
|
climate_preset_key: string;
|
|
20885
21112
|
starts_at_time: string;
|
|
20886
21113
|
}>, "many">;
|
|
21114
|
+
workspace_id: z.ZodString;
|
|
20887
21115
|
created_at: z.ZodString;
|
|
20888
21116
|
}, "strip", z.ZodTypeAny, {
|
|
21117
|
+
name: string | null;
|
|
20889
21118
|
thermostat_daily_program_id: string;
|
|
20890
21119
|
device_id: string;
|
|
20891
21120
|
periods: {
|
|
20892
21121
|
climate_preset_key: string;
|
|
20893
21122
|
starts_at_time: string;
|
|
20894
21123
|
}[];
|
|
21124
|
+
workspace_id: string;
|
|
20895
21125
|
created_at: string;
|
|
20896
|
-
name?: string | undefined;
|
|
20897
21126
|
}, {
|
|
21127
|
+
name: string | null;
|
|
20898
21128
|
thermostat_daily_program_id: string;
|
|
20899
21129
|
device_id: string;
|
|
20900
21130
|
periods: {
|
|
20901
21131
|
climate_preset_key: string;
|
|
20902
21132
|
starts_at_time: string;
|
|
20903
21133
|
}[];
|
|
21134
|
+
workspace_id: string;
|
|
20904
21135
|
created_at: string;
|
|
20905
|
-
name?: string | undefined;
|
|
20906
21136
|
}>;
|
|
20907
21137
|
declare const thermostat_weekly_program: z.ZodObject<{
|
|
20908
|
-
device_id: z.ZodString;
|
|
20909
21138
|
monday_program_id: z.ZodNullable<z.ZodString>;
|
|
20910
21139
|
tuesday_program_id: z.ZodNullable<z.ZodString>;
|
|
20911
21140
|
wednesday_program_id: z.ZodNullable<z.ZodString>;
|
|
@@ -20915,7 +21144,6 @@ declare const thermostat_weekly_program: z.ZodObject<{
|
|
|
20915
21144
|
sunday_program_id: z.ZodNullable<z.ZodString>;
|
|
20916
21145
|
created_at: z.ZodString;
|
|
20917
21146
|
}, "strip", z.ZodTypeAny, {
|
|
20918
|
-
device_id: string;
|
|
20919
21147
|
created_at: string;
|
|
20920
21148
|
monday_program_id: string | null;
|
|
20921
21149
|
tuesday_program_id: string | null;
|
|
@@ -20925,7 +21153,6 @@ declare const thermostat_weekly_program: z.ZodObject<{
|
|
|
20925
21153
|
saturday_program_id: string | null;
|
|
20926
21154
|
sunday_program_id: string | null;
|
|
20927
21155
|
}, {
|
|
20928
|
-
device_id: string;
|
|
20929
21156
|
created_at: string;
|
|
20930
21157
|
monday_program_id: string | null;
|
|
20931
21158
|
tuesday_program_id: string | null;
|
|
@@ -20939,12 +21166,13 @@ declare const thermostat_weekly_program: z.ZodObject<{
|
|
|
20939
21166
|
declare const thermostat_schedule: z.ZodObject<{
|
|
20940
21167
|
thermostat_schedule_id: z.ZodString;
|
|
20941
21168
|
device_id: z.ZodString;
|
|
20942
|
-
name: z.
|
|
21169
|
+
name: z.ZodNullable<z.ZodString>;
|
|
20943
21170
|
climate_preset_key: z.ZodString;
|
|
20944
21171
|
max_override_period_minutes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
20945
21172
|
starts_at: z.ZodString;
|
|
20946
21173
|
is_override_allowed: z.ZodOptional<z.ZodBoolean>;
|
|
20947
21174
|
ends_at: z.ZodString;
|
|
21175
|
+
workspace_id: z.ZodString;
|
|
20948
21176
|
created_at: z.ZodString;
|
|
20949
21177
|
errors: z.ZodArray<z.ZodObject<{
|
|
20950
21178
|
error_code: z.ZodString;
|
|
@@ -20958,7 +21186,9 @@ declare const thermostat_schedule: z.ZodObject<{
|
|
|
20958
21186
|
}>, "many">;
|
|
20959
21187
|
}, "strip", z.ZodTypeAny, {
|
|
20960
21188
|
climate_preset_key: string;
|
|
21189
|
+
name: string | null;
|
|
20961
21190
|
device_id: string;
|
|
21191
|
+
workspace_id: string;
|
|
20962
21192
|
created_at: string;
|
|
20963
21193
|
thermostat_schedule_id: string;
|
|
20964
21194
|
starts_at: string;
|
|
@@ -20967,12 +21197,13 @@ declare const thermostat_schedule: z.ZodObject<{
|
|
|
20967
21197
|
message: string;
|
|
20968
21198
|
error_code: string;
|
|
20969
21199
|
}[];
|
|
20970
|
-
name?: string | undefined;
|
|
20971
21200
|
max_override_period_minutes?: number | null | undefined;
|
|
20972
21201
|
is_override_allowed?: boolean | undefined;
|
|
20973
21202
|
}, {
|
|
20974
21203
|
climate_preset_key: string;
|
|
21204
|
+
name: string | null;
|
|
20975
21205
|
device_id: string;
|
|
21206
|
+
workspace_id: string;
|
|
20976
21207
|
created_at: string;
|
|
20977
21208
|
thermostat_schedule_id: string;
|
|
20978
21209
|
starts_at: string;
|
|
@@ -20981,7 +21212,6 @@ declare const thermostat_schedule: z.ZodObject<{
|
|
|
20981
21212
|
message: string;
|
|
20982
21213
|
error_code: string;
|
|
20983
21214
|
}[];
|
|
20984
|
-
name?: string | undefined;
|
|
20985
21215
|
max_override_period_minutes?: number | null | undefined;
|
|
20986
21216
|
is_override_allowed?: boolean | undefined;
|
|
20987
21217
|
}>;
|
|
@@ -20998,8 +21228,8 @@ declare const user_identity: z.ZodObject<{
|
|
|
20998
21228
|
workspace_id: z.ZodString;
|
|
20999
21229
|
}, "strip", z.ZodTypeAny, {
|
|
21000
21230
|
display_name: string;
|
|
21001
|
-
created_at: string;
|
|
21002
21231
|
workspace_id: string;
|
|
21232
|
+
created_at: string;
|
|
21003
21233
|
user_identity_id: string;
|
|
21004
21234
|
email_address: string | null;
|
|
21005
21235
|
full_name: string | null;
|
|
@@ -21007,8 +21237,8 @@ declare const user_identity: z.ZodObject<{
|
|
|
21007
21237
|
user_identity_key: string | null;
|
|
21008
21238
|
}, {
|
|
21009
21239
|
display_name: string;
|
|
21010
|
-
created_at: string;
|
|
21011
21240
|
workspace_id: string;
|
|
21241
|
+
created_at: string;
|
|
21012
21242
|
user_identity_id: string;
|
|
21013
21243
|
email_address: string | null;
|
|
21014
21244
|
full_name: string | null;
|
|
@@ -25690,6 +25920,7 @@ declare const _default: {
|
|
|
25690
25920
|
};
|
|
25691
25921
|
name: {
|
|
25692
25922
|
description: string;
|
|
25923
|
+
nullable: boolean;
|
|
25693
25924
|
type: string;
|
|
25694
25925
|
};
|
|
25695
25926
|
starts_at: {
|
|
@@ -25702,6 +25933,11 @@ declare const _default: {
|
|
|
25702
25933
|
format: string;
|
|
25703
25934
|
type: string;
|
|
25704
25935
|
};
|
|
25936
|
+
workspace_id: {
|
|
25937
|
+
description: string;
|
|
25938
|
+
format: string;
|
|
25939
|
+
type: string;
|
|
25940
|
+
};
|
|
25705
25941
|
};
|
|
25706
25942
|
required: string[];
|
|
25707
25943
|
type: string;
|
|
@@ -26033,7 +26269,6 @@ declare const _default: {
|
|
|
26033
26269
|
type: string;
|
|
26034
26270
|
};
|
|
26035
26271
|
thermostat_daily_programs: {
|
|
26036
|
-
default: null;
|
|
26037
26272
|
items: {
|
|
26038
26273
|
properties: {
|
|
26039
26274
|
created_at: {
|
|
@@ -26048,6 +26283,7 @@ declare const _default: {
|
|
|
26048
26283
|
};
|
|
26049
26284
|
name: {
|
|
26050
26285
|
description: string;
|
|
26286
|
+
nullable: boolean;
|
|
26051
26287
|
type: string;
|
|
26052
26288
|
};
|
|
26053
26289
|
periods: {
|
|
@@ -26074,15 +26310,18 @@ declare const _default: {
|
|
|
26074
26310
|
format: string;
|
|
26075
26311
|
type: string;
|
|
26076
26312
|
};
|
|
26313
|
+
workspace_id: {
|
|
26314
|
+
description: string;
|
|
26315
|
+
format: string;
|
|
26316
|
+
type: string;
|
|
26317
|
+
};
|
|
26077
26318
|
};
|
|
26078
26319
|
required: string[];
|
|
26079
26320
|
type: string;
|
|
26080
26321
|
};
|
|
26081
|
-
nullable: boolean;
|
|
26082
26322
|
type: string;
|
|
26083
26323
|
};
|
|
26084
26324
|
thermostat_weekly_program: {
|
|
26085
|
-
default: null;
|
|
26086
26325
|
nullable: boolean;
|
|
26087
26326
|
properties: {
|
|
26088
26327
|
created_at: {
|
|
@@ -26090,11 +26329,6 @@ declare const _default: {
|
|
|
26090
26329
|
format: string;
|
|
26091
26330
|
type: string;
|
|
26092
26331
|
};
|
|
26093
|
-
device_id: {
|
|
26094
|
-
description: string;
|
|
26095
|
-
format: string;
|
|
26096
|
-
type: string;
|
|
26097
|
-
};
|
|
26098
26332
|
friday_program_id: {
|
|
26099
26333
|
description: string;
|
|
26100
26334
|
format: string;
|
|
@@ -29649,6 +29883,7 @@ declare const _default: {
|
|
|
29649
29883
|
};
|
|
29650
29884
|
name: {
|
|
29651
29885
|
description: string;
|
|
29886
|
+
nullable: boolean;
|
|
29652
29887
|
type: string;
|
|
29653
29888
|
};
|
|
29654
29889
|
starts_at: {
|
|
@@ -29661,6 +29896,11 @@ declare const _default: {
|
|
|
29661
29896
|
format: string;
|
|
29662
29897
|
type: string;
|
|
29663
29898
|
};
|
|
29899
|
+
workspace_id: {
|
|
29900
|
+
description: string;
|
|
29901
|
+
format: string;
|
|
29902
|
+
type: string;
|
|
29903
|
+
};
|
|
29664
29904
|
};
|
|
29665
29905
|
required: string[];
|
|
29666
29906
|
type: string;
|
|
@@ -39572,6 +39812,7 @@ declare const _default: {
|
|
|
39572
39812
|
'x-fern-sdk-group-name': string[];
|
|
39573
39813
|
'x-fern-sdk-method-name': string;
|
|
39574
39814
|
'x-response-key': null;
|
|
39815
|
+
'x-title': string;
|
|
39575
39816
|
};
|
|
39576
39817
|
};
|
|
39577
39818
|
'/connected_accounts/get': {
|
|
@@ -39660,6 +39901,7 @@ declare const _default: {
|
|
|
39660
39901
|
'x-fern-sdk-method-name': string;
|
|
39661
39902
|
'x-fern-sdk-return-value': string;
|
|
39662
39903
|
'x-response-key': string;
|
|
39904
|
+
'x-title': string;
|
|
39663
39905
|
};
|
|
39664
39906
|
};
|
|
39665
39907
|
'/connected_accounts/list': {
|
|
@@ -39753,6 +39995,7 @@ declare const _default: {
|
|
|
39753
39995
|
'x-fern-sdk-method-name': string;
|
|
39754
39996
|
'x-fern-sdk-return-value': string;
|
|
39755
39997
|
'x-response-key': string;
|
|
39998
|
+
'x-title': string;
|
|
39756
39999
|
};
|
|
39757
40000
|
};
|
|
39758
40001
|
'/connected_accounts/update': {
|
|
@@ -39835,6 +40078,7 @@ declare const _default: {
|
|
|
39835
40078
|
'x-fern-sdk-group-name': string[];
|
|
39836
40079
|
'x-fern-sdk-method-name': string;
|
|
39837
40080
|
'x-response-key': null;
|
|
40081
|
+
'x-title': string;
|
|
39838
40082
|
};
|
|
39839
40083
|
};
|
|
39840
40084
|
'/devices/delete': {
|
|
@@ -44440,36 +44684,43 @@ declare const _default: {
|
|
|
44440
44684
|
friday_program_id: {
|
|
44441
44685
|
description: string;
|
|
44442
44686
|
format: string;
|
|
44687
|
+
nullable: boolean;
|
|
44443
44688
|
type: string;
|
|
44444
44689
|
};
|
|
44445
44690
|
monday_program_id: {
|
|
44446
44691
|
description: string;
|
|
44447
44692
|
format: string;
|
|
44693
|
+
nullable: boolean;
|
|
44448
44694
|
type: string;
|
|
44449
44695
|
};
|
|
44450
44696
|
saturday_program_id: {
|
|
44451
44697
|
description: string;
|
|
44452
44698
|
format: string;
|
|
44699
|
+
nullable: boolean;
|
|
44453
44700
|
type: string;
|
|
44454
44701
|
};
|
|
44455
44702
|
sunday_program_id: {
|
|
44456
44703
|
description: string;
|
|
44457
44704
|
format: string;
|
|
44705
|
+
nullable: boolean;
|
|
44458
44706
|
type: string;
|
|
44459
44707
|
};
|
|
44460
44708
|
thursday_program_id: {
|
|
44461
44709
|
description: string;
|
|
44462
44710
|
format: string;
|
|
44711
|
+
nullable: boolean;
|
|
44463
44712
|
type: string;
|
|
44464
44713
|
};
|
|
44465
44714
|
tuesday_program_id: {
|
|
44466
44715
|
description: string;
|
|
44467
44716
|
format: string;
|
|
44717
|
+
nullable: boolean;
|
|
44468
44718
|
type: string;
|
|
44469
44719
|
};
|
|
44470
44720
|
wednesday_program_id: {
|
|
44471
44721
|
description: string;
|
|
44472
44722
|
format: string;
|
|
44723
|
+
nullable: boolean;
|
|
44473
44724
|
type: string;
|
|
44474
44725
|
};
|
|
44475
44726
|
};
|
|
@@ -44900,6 +45151,7 @@ declare const _default: {
|
|
|
44900
45151
|
};
|
|
44901
45152
|
name: {
|
|
44902
45153
|
description: string;
|
|
45154
|
+
nullable: boolean;
|
|
44903
45155
|
type: string;
|
|
44904
45156
|
};
|
|
44905
45157
|
periods: {
|
|
@@ -44926,6 +45178,11 @@ declare const _default: {
|
|
|
44926
45178
|
format: string;
|
|
44927
45179
|
type: string;
|
|
44928
45180
|
};
|
|
45181
|
+
workspace_id: {
|
|
45182
|
+
description: string;
|
|
45183
|
+
format: string;
|
|
45184
|
+
type: string;
|
|
45185
|
+
};
|
|
44929
45186
|
};
|
|
44930
45187
|
required: string[];
|
|
44931
45188
|
type: string;
|
|
@@ -71552,7 +71809,7 @@ interface Routes {
|
|
|
71552
71809
|
/** ID of the desired [thermostat](https://docs.seam.co/latest/capability-guides/thermostats) device. */
|
|
71553
71810
|
device_id: string;
|
|
71554
71811
|
/** User-friendly name to identify the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
|
|
71555
|
-
name
|
|
71812
|
+
name: string | null;
|
|
71556
71813
|
/** 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). */
|
|
71557
71814
|
climate_preset_key: string;
|
|
71558
71815
|
/** 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). */
|
|
@@ -71563,6 +71820,8 @@ interface Routes {
|
|
|
71563
71820
|
is_override_allowed?: boolean | undefined;
|
|
71564
71821
|
/** 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. */
|
|
71565
71822
|
ends_at: string;
|
|
71823
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat schedule. */
|
|
71824
|
+
workspace_id: string;
|
|
71566
71825
|
/** Date and time at which the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) was created. */
|
|
71567
71826
|
created_at: string;
|
|
71568
71827
|
/** Errors associated with the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
|
|
@@ -71579,7 +71838,7 @@ interface Routes {
|
|
|
71579
71838
|
/** ID of the desired thermostat device. */
|
|
71580
71839
|
device_id: string;
|
|
71581
71840
|
/** User-friendly name to identify the thermostat daily program. */
|
|
71582
|
-
name
|
|
71841
|
+
name: string | null;
|
|
71583
71842
|
/** Array of thermostat daily program periods. */
|
|
71584
71843
|
periods: Array<{
|
|
71585
71844
|
/** Time at which the thermostat daily program entry starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
|
|
@@ -71587,12 +71846,12 @@ interface Routes {
|
|
|
71587
71846
|
/** 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. */
|
|
71588
71847
|
climate_preset_key: string;
|
|
71589
71848
|
}>;
|
|
71849
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat daily program. */
|
|
71850
|
+
workspace_id: string;
|
|
71590
71851
|
/** Date and time at which the thermostat daily program was created. */
|
|
71591
71852
|
created_at: string;
|
|
71592
|
-
}> |
|
|
71593
|
-
thermostat_weekly_program?: ({
|
|
71594
|
-
/** ID of the thermostat device the weekly program is for. */
|
|
71595
|
-
device_id: string;
|
|
71853
|
+
}> | undefined) | undefined;
|
|
71854
|
+
thermostat_weekly_program?: (({
|
|
71596
71855
|
/** ID of the thermostat daily program to run on Mondays. */
|
|
71597
71856
|
monday_program_id: string | null;
|
|
71598
71857
|
/** ID of the thermostat daily program to run on Tuesdays. */
|
|
@@ -71609,7 +71868,7 @@ interface Routes {
|
|
|
71609
71868
|
sunday_program_id: string | null;
|
|
71610
71869
|
/** Date and time at which the thermostat weekly program was created. */
|
|
71611
71870
|
created_at: string;
|
|
71612
|
-
} | null) | undefined;
|
|
71871
|
+
} | null) | undefined) | undefined;
|
|
71613
71872
|
min_cooling_set_point_celsius?: number | undefined;
|
|
71614
71873
|
min_cooling_set_point_fahrenheit?: number | undefined;
|
|
71615
71874
|
max_cooling_set_point_celsius?: number | undefined;
|
|
@@ -72343,7 +72602,7 @@ interface Routes {
|
|
|
72343
72602
|
/** ID of the desired [thermostat](https://docs.seam.co/latest/capability-guides/thermostats) device. */
|
|
72344
72603
|
device_id: string;
|
|
72345
72604
|
/** User-friendly name to identify the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
|
|
72346
|
-
name
|
|
72605
|
+
name: string | null;
|
|
72347
72606
|
/** 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). */
|
|
72348
72607
|
climate_preset_key: string;
|
|
72349
72608
|
/** 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). */
|
|
@@ -72354,6 +72613,8 @@ interface Routes {
|
|
|
72354
72613
|
is_override_allowed?: boolean | undefined;
|
|
72355
72614
|
/** 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. */
|
|
72356
72615
|
ends_at: string;
|
|
72616
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat schedule. */
|
|
72617
|
+
workspace_id: string;
|
|
72357
72618
|
/** Date and time at which the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) was created. */
|
|
72358
72619
|
created_at: string;
|
|
72359
72620
|
/** Errors associated with the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
|
|
@@ -72370,7 +72631,7 @@ interface Routes {
|
|
|
72370
72631
|
/** ID of the desired thermostat device. */
|
|
72371
72632
|
device_id: string;
|
|
72372
72633
|
/** User-friendly name to identify the thermostat daily program. */
|
|
72373
|
-
name
|
|
72634
|
+
name: string | null;
|
|
72374
72635
|
/** Array of thermostat daily program periods. */
|
|
72375
72636
|
periods: Array<{
|
|
72376
72637
|
/** Time at which the thermostat daily program entry starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
|
|
@@ -72378,12 +72639,12 @@ interface Routes {
|
|
|
72378
72639
|
/** 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. */
|
|
72379
72640
|
climate_preset_key: string;
|
|
72380
72641
|
}>;
|
|
72642
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat daily program. */
|
|
72643
|
+
workspace_id: string;
|
|
72381
72644
|
/** Date and time at which the thermostat daily program was created. */
|
|
72382
72645
|
created_at: string;
|
|
72383
|
-
}> |
|
|
72384
|
-
thermostat_weekly_program?: ({
|
|
72385
|
-
/** ID of the thermostat device the weekly program is for. */
|
|
72386
|
-
device_id: string;
|
|
72646
|
+
}> | undefined) | undefined;
|
|
72647
|
+
thermostat_weekly_program?: (({
|
|
72387
72648
|
/** ID of the thermostat daily program to run on Mondays. */
|
|
72388
72649
|
monday_program_id: string | null;
|
|
72389
72650
|
/** ID of the thermostat daily program to run on Tuesdays. */
|
|
@@ -72400,7 +72661,7 @@ interface Routes {
|
|
|
72400
72661
|
sunday_program_id: string | null;
|
|
72401
72662
|
/** Date and time at which the thermostat weekly program was created. */
|
|
72402
72663
|
created_at: string;
|
|
72403
|
-
} | null) | undefined;
|
|
72664
|
+
} | null) | undefined) | undefined;
|
|
72404
72665
|
min_cooling_set_point_celsius?: number | undefined;
|
|
72405
72666
|
min_cooling_set_point_fahrenheit?: number | undefined;
|
|
72406
72667
|
max_cooling_set_point_celsius?: number | undefined;
|
|
@@ -76562,7 +76823,7 @@ interface Routes {
|
|
|
76562
76823
|
/** ID of the desired [thermostat](https://docs.seam.co/latest/capability-guides/thermostats) device. */
|
|
76563
76824
|
device_id: string;
|
|
76564
76825
|
/** User-friendly name to identify the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
|
|
76565
|
-
name
|
|
76826
|
+
name: string | null;
|
|
76566
76827
|
/** 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). */
|
|
76567
76828
|
climate_preset_key: string;
|
|
76568
76829
|
/** 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). */
|
|
@@ -76573,6 +76834,8 @@ interface Routes {
|
|
|
76573
76834
|
is_override_allowed?: boolean | undefined;
|
|
76574
76835
|
/** 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. */
|
|
76575
76836
|
ends_at: string;
|
|
76837
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat schedule. */
|
|
76838
|
+
workspace_id: string;
|
|
76576
76839
|
/** Date and time at which the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) was created. */
|
|
76577
76840
|
created_at: string;
|
|
76578
76841
|
/** Errors associated with the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
|
|
@@ -76589,7 +76852,7 @@ interface Routes {
|
|
|
76589
76852
|
/** ID of the desired thermostat device. */
|
|
76590
76853
|
device_id: string;
|
|
76591
76854
|
/** User-friendly name to identify the thermostat daily program. */
|
|
76592
|
-
name
|
|
76855
|
+
name: string | null;
|
|
76593
76856
|
/** Array of thermostat daily program periods. */
|
|
76594
76857
|
periods: Array<{
|
|
76595
76858
|
/** Time at which the thermostat daily program entry starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
|
|
@@ -76597,12 +76860,12 @@ interface Routes {
|
|
|
76597
76860
|
/** 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. */
|
|
76598
76861
|
climate_preset_key: string;
|
|
76599
76862
|
}>;
|
|
76863
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat daily program. */
|
|
76864
|
+
workspace_id: string;
|
|
76600
76865
|
/** Date and time at which the thermostat daily program was created. */
|
|
76601
76866
|
created_at: string;
|
|
76602
|
-
}> |
|
|
76603
|
-
thermostat_weekly_program?: ({
|
|
76604
|
-
/** ID of the thermostat device the weekly program is for. */
|
|
76605
|
-
device_id: string;
|
|
76867
|
+
}> | undefined) | undefined;
|
|
76868
|
+
thermostat_weekly_program?: (({
|
|
76606
76869
|
/** ID of the thermostat daily program to run on Mondays. */
|
|
76607
76870
|
monday_program_id: string | null;
|
|
76608
76871
|
/** ID of the thermostat daily program to run on Tuesdays. */
|
|
@@ -76619,7 +76882,7 @@ interface Routes {
|
|
|
76619
76882
|
sunday_program_id: string | null;
|
|
76620
76883
|
/** Date and time at which the thermostat weekly program was created. */
|
|
76621
76884
|
created_at: string;
|
|
76622
|
-
} | null) | undefined;
|
|
76885
|
+
} | null) | undefined) | undefined;
|
|
76623
76886
|
min_cooling_set_point_celsius?: number | undefined;
|
|
76624
76887
|
min_cooling_set_point_fahrenheit?: number | undefined;
|
|
76625
76888
|
max_cooling_set_point_celsius?: number | undefined;
|
|
@@ -77313,7 +77576,7 @@ interface Routes {
|
|
|
77313
77576
|
/** ID of the desired [thermostat](https://docs.seam.co/latest/capability-guides/thermostats) device. */
|
|
77314
77577
|
device_id: string;
|
|
77315
77578
|
/** User-friendly name to identify the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
|
|
77316
|
-
name
|
|
77579
|
+
name: string | null;
|
|
77317
77580
|
/** 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). */
|
|
77318
77581
|
climate_preset_key: string;
|
|
77319
77582
|
/** 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). */
|
|
@@ -77324,6 +77587,8 @@ interface Routes {
|
|
|
77324
77587
|
is_override_allowed?: boolean | undefined;
|
|
77325
77588
|
/** 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. */
|
|
77326
77589
|
ends_at: string;
|
|
77590
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat schedule. */
|
|
77591
|
+
workspace_id: string;
|
|
77327
77592
|
/** Date and time at which the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) was created. */
|
|
77328
77593
|
created_at: string;
|
|
77329
77594
|
/** Errors associated with the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
|
|
@@ -77340,7 +77605,7 @@ interface Routes {
|
|
|
77340
77605
|
/** ID of the desired thermostat device. */
|
|
77341
77606
|
device_id: string;
|
|
77342
77607
|
/** User-friendly name to identify the thermostat daily program. */
|
|
77343
|
-
name
|
|
77608
|
+
name: string | null;
|
|
77344
77609
|
/** Array of thermostat daily program periods. */
|
|
77345
77610
|
periods: Array<{
|
|
77346
77611
|
/** Time at which the thermostat daily program entry starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
|
|
@@ -77348,12 +77613,12 @@ interface Routes {
|
|
|
77348
77613
|
/** 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. */
|
|
77349
77614
|
climate_preset_key: string;
|
|
77350
77615
|
}>;
|
|
77616
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat daily program. */
|
|
77617
|
+
workspace_id: string;
|
|
77351
77618
|
/** Date and time at which the thermostat daily program was created. */
|
|
77352
77619
|
created_at: string;
|
|
77353
|
-
}> |
|
|
77354
|
-
thermostat_weekly_program?: ({
|
|
77355
|
-
/** ID of the thermostat device the weekly program is for. */
|
|
77356
|
-
device_id: string;
|
|
77620
|
+
}> | undefined) | undefined;
|
|
77621
|
+
thermostat_weekly_program?: (({
|
|
77357
77622
|
/** ID of the thermostat daily program to run on Mondays. */
|
|
77358
77623
|
monday_program_id: string | null;
|
|
77359
77624
|
/** ID of the thermostat daily program to run on Tuesdays. */
|
|
@@ -77370,7 +77635,7 @@ interface Routes {
|
|
|
77370
77635
|
sunday_program_id: string | null;
|
|
77371
77636
|
/** Date and time at which the thermostat weekly program was created. */
|
|
77372
77637
|
created_at: string;
|
|
77373
|
-
} | null) | undefined;
|
|
77638
|
+
} | null) | undefined) | undefined;
|
|
77374
77639
|
min_cooling_set_point_celsius?: number | undefined;
|
|
77375
77640
|
min_cooling_set_point_fahrenheit?: number | undefined;
|
|
77376
77641
|
max_cooling_set_point_celsius?: number | undefined;
|
|
@@ -78104,7 +78369,7 @@ interface Routes {
|
|
|
78104
78369
|
/** ID of the desired [thermostat](https://docs.seam.co/latest/capability-guides/thermostats) device. */
|
|
78105
78370
|
device_id: string;
|
|
78106
78371
|
/** User-friendly name to identify the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
|
|
78107
|
-
name
|
|
78372
|
+
name: string | null;
|
|
78108
78373
|
/** 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). */
|
|
78109
78374
|
climate_preset_key: string;
|
|
78110
78375
|
/** 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). */
|
|
@@ -78115,6 +78380,8 @@ interface Routes {
|
|
|
78115
78380
|
is_override_allowed?: boolean | undefined;
|
|
78116
78381
|
/** 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. */
|
|
78117
78382
|
ends_at: string;
|
|
78383
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat schedule. */
|
|
78384
|
+
workspace_id: string;
|
|
78118
78385
|
/** Date and time at which the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) was created. */
|
|
78119
78386
|
created_at: string;
|
|
78120
78387
|
/** Errors associated with the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
|
|
@@ -78131,7 +78398,7 @@ interface Routes {
|
|
|
78131
78398
|
/** ID of the desired thermostat device. */
|
|
78132
78399
|
device_id: string;
|
|
78133
78400
|
/** User-friendly name to identify the thermostat daily program. */
|
|
78134
|
-
name
|
|
78401
|
+
name: string | null;
|
|
78135
78402
|
/** Array of thermostat daily program periods. */
|
|
78136
78403
|
periods: Array<{
|
|
78137
78404
|
/** Time at which the thermostat daily program entry starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
|
|
@@ -78139,12 +78406,12 @@ interface Routes {
|
|
|
78139
78406
|
/** 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. */
|
|
78140
78407
|
climate_preset_key: string;
|
|
78141
78408
|
}>;
|
|
78409
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat daily program. */
|
|
78410
|
+
workspace_id: string;
|
|
78142
78411
|
/** Date and time at which the thermostat daily program was created. */
|
|
78143
78412
|
created_at: string;
|
|
78144
|
-
}> |
|
|
78145
|
-
thermostat_weekly_program?: ({
|
|
78146
|
-
/** ID of the thermostat device the weekly program is for. */
|
|
78147
|
-
device_id: string;
|
|
78413
|
+
}> | undefined) | undefined;
|
|
78414
|
+
thermostat_weekly_program?: (({
|
|
78148
78415
|
/** ID of the thermostat daily program to run on Mondays. */
|
|
78149
78416
|
monday_program_id: string | null;
|
|
78150
78417
|
/** ID of the thermostat daily program to run on Tuesdays. */
|
|
@@ -78161,7 +78428,7 @@ interface Routes {
|
|
|
78161
78428
|
sunday_program_id: string | null;
|
|
78162
78429
|
/** Date and time at which the thermostat weekly program was created. */
|
|
78163
78430
|
created_at: string;
|
|
78164
|
-
} | null) | undefined;
|
|
78431
|
+
} | null) | undefined) | undefined;
|
|
78165
78432
|
min_cooling_set_point_celsius?: number | undefined;
|
|
78166
78433
|
min_cooling_set_point_fahrenheit?: number | undefined;
|
|
78167
78434
|
max_cooling_set_point_celsius?: number | undefined;
|
|
@@ -78854,7 +79121,7 @@ interface Routes {
|
|
|
78854
79121
|
/** ID of the desired [thermostat](https://docs.seam.co/latest/capability-guides/thermostats) device. */
|
|
78855
79122
|
device_id: string;
|
|
78856
79123
|
/** User-friendly name to identify the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
|
|
78857
|
-
name
|
|
79124
|
+
name: string | null;
|
|
78858
79125
|
/** 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). */
|
|
78859
79126
|
climate_preset_key: string;
|
|
78860
79127
|
/** 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). */
|
|
@@ -78865,6 +79132,8 @@ interface Routes {
|
|
|
78865
79132
|
is_override_allowed?: boolean | undefined;
|
|
78866
79133
|
/** 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. */
|
|
78867
79134
|
ends_at: string;
|
|
79135
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat schedule. */
|
|
79136
|
+
workspace_id: string;
|
|
78868
79137
|
/** Date and time at which the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) was created. */
|
|
78869
79138
|
created_at: string;
|
|
78870
79139
|
/** Errors associated with the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
|
|
@@ -78881,7 +79150,7 @@ interface Routes {
|
|
|
78881
79150
|
/** ID of the desired thermostat device. */
|
|
78882
79151
|
device_id: string;
|
|
78883
79152
|
/** User-friendly name to identify the thermostat daily program. */
|
|
78884
|
-
name
|
|
79153
|
+
name: string | null;
|
|
78885
79154
|
/** Array of thermostat daily program periods. */
|
|
78886
79155
|
periods: Array<{
|
|
78887
79156
|
/** Time at which the thermostat daily program entry starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
|
|
@@ -78889,12 +79158,12 @@ interface Routes {
|
|
|
78889
79158
|
/** 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. */
|
|
78890
79159
|
climate_preset_key: string;
|
|
78891
79160
|
}>;
|
|
79161
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat daily program. */
|
|
79162
|
+
workspace_id: string;
|
|
78892
79163
|
/** Date and time at which the thermostat daily program was created. */
|
|
78893
79164
|
created_at: string;
|
|
78894
|
-
}> |
|
|
78895
|
-
thermostat_weekly_program?: ({
|
|
78896
|
-
/** ID of the thermostat device the weekly program is for. */
|
|
78897
|
-
device_id: string;
|
|
79165
|
+
}> | undefined) | undefined;
|
|
79166
|
+
thermostat_weekly_program?: (({
|
|
78898
79167
|
/** ID of the thermostat daily program to run on Mondays. */
|
|
78899
79168
|
monday_program_id: string | null;
|
|
78900
79169
|
/** ID of the thermostat daily program to run on Tuesdays. */
|
|
@@ -78911,7 +79180,7 @@ interface Routes {
|
|
|
78911
79180
|
sunday_program_id: string | null;
|
|
78912
79181
|
/** Date and time at which the thermostat weekly program was created. */
|
|
78913
79182
|
created_at: string;
|
|
78914
|
-
} | null) | undefined;
|
|
79183
|
+
} | null) | undefined) | undefined;
|
|
78915
79184
|
min_cooling_set_point_celsius?: number | undefined;
|
|
78916
79185
|
min_cooling_set_point_fahrenheit?: number | undefined;
|
|
78917
79186
|
max_cooling_set_point_celsius?: number | undefined;
|
|
@@ -84143,7 +84412,7 @@ interface Routes {
|
|
|
84143
84412
|
/** ID of the desired [thermostat](https://docs.seam.co/latest/capability-guides/thermostats) device. */
|
|
84144
84413
|
device_id: string;
|
|
84145
84414
|
/** User-friendly name to identify the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
|
|
84146
|
-
name
|
|
84415
|
+
name: string | null;
|
|
84147
84416
|
/** 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). */
|
|
84148
84417
|
climate_preset_key: string;
|
|
84149
84418
|
/** 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). */
|
|
@@ -84154,6 +84423,8 @@ interface Routes {
|
|
|
84154
84423
|
is_override_allowed?: boolean | undefined;
|
|
84155
84424
|
/** 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. */
|
|
84156
84425
|
ends_at: string;
|
|
84426
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat schedule. */
|
|
84427
|
+
workspace_id: string;
|
|
84157
84428
|
/** Date and time at which the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) was created. */
|
|
84158
84429
|
created_at: string;
|
|
84159
84430
|
/** Errors associated with the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
|
|
@@ -84170,7 +84441,7 @@ interface Routes {
|
|
|
84170
84441
|
/** ID of the desired thermostat device. */
|
|
84171
84442
|
device_id: string;
|
|
84172
84443
|
/** User-friendly name to identify the thermostat daily program. */
|
|
84173
|
-
name
|
|
84444
|
+
name: string | null;
|
|
84174
84445
|
/** Array of thermostat daily program periods. */
|
|
84175
84446
|
periods: Array<{
|
|
84176
84447
|
/** Time at which the thermostat daily program entry starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
|
|
@@ -84178,12 +84449,12 @@ interface Routes {
|
|
|
84178
84449
|
/** 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. */
|
|
84179
84450
|
climate_preset_key: string;
|
|
84180
84451
|
}>;
|
|
84452
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat daily program. */
|
|
84453
|
+
workspace_id: string;
|
|
84181
84454
|
/** Date and time at which the thermostat daily program was created. */
|
|
84182
84455
|
created_at: string;
|
|
84183
|
-
}> |
|
|
84184
|
-
thermostat_weekly_program?: ({
|
|
84185
|
-
/** ID of the thermostat device the weekly program is for. */
|
|
84186
|
-
device_id: string;
|
|
84456
|
+
}> | undefined) | undefined;
|
|
84457
|
+
thermostat_weekly_program?: (({
|
|
84187
84458
|
/** ID of the thermostat daily program to run on Mondays. */
|
|
84188
84459
|
monday_program_id: string | null;
|
|
84189
84460
|
/** ID of the thermostat daily program to run on Tuesdays. */
|
|
@@ -84200,7 +84471,7 @@ interface Routes {
|
|
|
84200
84471
|
sunday_program_id: string | null;
|
|
84201
84472
|
/** Date and time at which the thermostat weekly program was created. */
|
|
84202
84473
|
created_at: string;
|
|
84203
|
-
} | null) | undefined;
|
|
84474
|
+
} | null) | undefined) | undefined;
|
|
84204
84475
|
min_cooling_set_point_celsius?: number | undefined;
|
|
84205
84476
|
min_cooling_set_point_fahrenheit?: number | undefined;
|
|
84206
84477
|
max_cooling_set_point_celsius?: number | undefined;
|
|
@@ -84893,7 +85164,7 @@ interface Routes {
|
|
|
84893
85164
|
/** ID of the desired [thermostat](https://docs.seam.co/latest/capability-guides/thermostats) device. */
|
|
84894
85165
|
device_id: string;
|
|
84895
85166
|
/** User-friendly name to identify the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
|
|
84896
|
-
name
|
|
85167
|
+
name: string | null;
|
|
84897
85168
|
/** 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). */
|
|
84898
85169
|
climate_preset_key: string;
|
|
84899
85170
|
/** 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). */
|
|
@@ -84904,6 +85175,8 @@ interface Routes {
|
|
|
84904
85175
|
is_override_allowed?: boolean | undefined;
|
|
84905
85176
|
/** 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. */
|
|
84906
85177
|
ends_at: string;
|
|
85178
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat schedule. */
|
|
85179
|
+
workspace_id: string;
|
|
84907
85180
|
/** Date and time at which the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) was created. */
|
|
84908
85181
|
created_at: string;
|
|
84909
85182
|
/** Errors associated with the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
|
|
@@ -84920,7 +85193,7 @@ interface Routes {
|
|
|
84920
85193
|
/** ID of the desired thermostat device. */
|
|
84921
85194
|
device_id: string;
|
|
84922
85195
|
/** User-friendly name to identify the thermostat daily program. */
|
|
84923
|
-
name
|
|
85196
|
+
name: string | null;
|
|
84924
85197
|
/** Array of thermostat daily program periods. */
|
|
84925
85198
|
periods: Array<{
|
|
84926
85199
|
/** Time at which the thermostat daily program entry starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
|
|
@@ -84928,12 +85201,12 @@ interface Routes {
|
|
|
84928
85201
|
/** 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. */
|
|
84929
85202
|
climate_preset_key: string;
|
|
84930
85203
|
}>;
|
|
85204
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat daily program. */
|
|
85205
|
+
workspace_id: string;
|
|
84931
85206
|
/** Date and time at which the thermostat daily program was created. */
|
|
84932
85207
|
created_at: string;
|
|
84933
|
-
}> |
|
|
84934
|
-
thermostat_weekly_program?: ({
|
|
84935
|
-
/** ID of the thermostat device the weekly program is for. */
|
|
84936
|
-
device_id: string;
|
|
85208
|
+
}> | undefined) | undefined;
|
|
85209
|
+
thermostat_weekly_program?: (({
|
|
84937
85210
|
/** ID of the thermostat daily program to run on Mondays. */
|
|
84938
85211
|
monday_program_id: string | null;
|
|
84939
85212
|
/** ID of the thermostat daily program to run on Tuesdays. */
|
|
@@ -84950,7 +85223,7 @@ interface Routes {
|
|
|
84950
85223
|
sunday_program_id: string | null;
|
|
84951
85224
|
/** Date and time at which the thermostat weekly program was created. */
|
|
84952
85225
|
created_at: string;
|
|
84953
|
-
} | null) | undefined;
|
|
85226
|
+
} | null) | undefined) | undefined;
|
|
84954
85227
|
min_cooling_set_point_celsius?: number | undefined;
|
|
84955
85228
|
min_cooling_set_point_fahrenheit?: number | undefined;
|
|
84956
85229
|
max_cooling_set_point_celsius?: number | undefined;
|
|
@@ -90328,19 +90601,19 @@ interface Routes {
|
|
|
90328
90601
|
/** ID of the thermostat device that the weekly program is for. */
|
|
90329
90602
|
device_id: string;
|
|
90330
90603
|
/** ID of the thermostat daily program to run on Mondays. */
|
|
90331
|
-
monday_program_id?: string | undefined;
|
|
90604
|
+
monday_program_id?: (string | undefined) | null;
|
|
90332
90605
|
/** ID of the thermostat daily program to run on Tuesdays. */
|
|
90333
|
-
tuesday_program_id?: string | undefined;
|
|
90606
|
+
tuesday_program_id?: (string | undefined) | null;
|
|
90334
90607
|
/** ID of the thermostat daily program to run on Wednesdays. */
|
|
90335
|
-
wednesday_program_id?: string | undefined;
|
|
90608
|
+
wednesday_program_id?: (string | undefined) | null;
|
|
90336
90609
|
/** ID of the thermostat daily program to run on Thursdays. */
|
|
90337
|
-
thursday_program_id?: string | undefined;
|
|
90610
|
+
thursday_program_id?: (string | undefined) | null;
|
|
90338
90611
|
/** ID of the thermostat daily program to run on Fridays. */
|
|
90339
|
-
friday_program_id?: string | undefined;
|
|
90612
|
+
friday_program_id?: (string | undefined) | null;
|
|
90340
90613
|
/** ID of the thermostat daily program to run on Saturdays. */
|
|
90341
|
-
saturday_program_id?: string | undefined;
|
|
90614
|
+
saturday_program_id?: (string | undefined) | null;
|
|
90342
90615
|
/** ID of the thermostat daily program to run on Sundays. */
|
|
90343
|
-
sunday_program_id?: string | undefined;
|
|
90616
|
+
sunday_program_id?: (string | undefined) | null;
|
|
90344
90617
|
};
|
|
90345
90618
|
commonParams: {};
|
|
90346
90619
|
formData: {};
|
|
@@ -93745,7 +94018,7 @@ interface Routes {
|
|
|
93745
94018
|
/** ID of the desired thermostat device. */
|
|
93746
94019
|
device_id: string;
|
|
93747
94020
|
/** User-friendly name to identify the thermostat daily program. */
|
|
93748
|
-
name
|
|
94021
|
+
name: string | null;
|
|
93749
94022
|
/** Array of thermostat daily program periods. */
|
|
93750
94023
|
periods: Array<{
|
|
93751
94024
|
/** Time at which the thermostat daily program entry starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
|
|
@@ -93753,6 +94026,8 @@ interface Routes {
|
|
|
93753
94026
|
/** 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. */
|
|
93754
94027
|
climate_preset_key: string;
|
|
93755
94028
|
}>;
|
|
94029
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat daily program. */
|
|
94030
|
+
workspace_id: string;
|
|
93756
94031
|
/** Date and time at which the thermostat daily program was created. */
|
|
93757
94032
|
created_at: string;
|
|
93758
94033
|
};
|
|
@@ -95385,7 +95660,7 @@ interface Routes {
|
|
|
95385
95660
|
/** ID of the desired [thermostat](https://docs.seam.co/latest/capability-guides/thermostats) device. */
|
|
95386
95661
|
device_id: string;
|
|
95387
95662
|
/** User-friendly name to identify the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
|
|
95388
|
-
name
|
|
95663
|
+
name: string | null;
|
|
95389
95664
|
/** 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). */
|
|
95390
95665
|
climate_preset_key: string;
|
|
95391
95666
|
/** 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). */
|
|
@@ -95396,6 +95671,8 @@ interface Routes {
|
|
|
95396
95671
|
is_override_allowed?: boolean | undefined;
|
|
95397
95672
|
/** 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. */
|
|
95398
95673
|
ends_at: string;
|
|
95674
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat schedule. */
|
|
95675
|
+
workspace_id: string;
|
|
95399
95676
|
/** Date and time at which the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) was created. */
|
|
95400
95677
|
created_at: string;
|
|
95401
95678
|
/** Errors associated with the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
|
|
@@ -95412,7 +95689,7 @@ interface Routes {
|
|
|
95412
95689
|
/** ID of the desired thermostat device. */
|
|
95413
95690
|
device_id: string;
|
|
95414
95691
|
/** User-friendly name to identify the thermostat daily program. */
|
|
95415
|
-
name
|
|
95692
|
+
name: string | null;
|
|
95416
95693
|
/** Array of thermostat daily program periods. */
|
|
95417
95694
|
periods: Array<{
|
|
95418
95695
|
/** Time at which the thermostat daily program entry starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
|
|
@@ -95420,12 +95697,12 @@ interface Routes {
|
|
|
95420
95697
|
/** 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. */
|
|
95421
95698
|
climate_preset_key: string;
|
|
95422
95699
|
}>;
|
|
95700
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat daily program. */
|
|
95701
|
+
workspace_id: string;
|
|
95423
95702
|
/** Date and time at which the thermostat daily program was created. */
|
|
95424
95703
|
created_at: string;
|
|
95425
|
-
}> |
|
|
95426
|
-
thermostat_weekly_program?: ({
|
|
95427
|
-
/** ID of the thermostat device the weekly program is for. */
|
|
95428
|
-
device_id: string;
|
|
95704
|
+
}> | undefined) | undefined;
|
|
95705
|
+
thermostat_weekly_program?: (({
|
|
95429
95706
|
/** ID of the thermostat daily program to run on Mondays. */
|
|
95430
95707
|
monday_program_id: string | null;
|
|
95431
95708
|
/** ID of the thermostat daily program to run on Tuesdays. */
|
|
@@ -95442,7 +95719,7 @@ interface Routes {
|
|
|
95442
95719
|
sunday_program_id: string | null;
|
|
95443
95720
|
/** Date and time at which the thermostat weekly program was created. */
|
|
95444
95721
|
created_at: string;
|
|
95445
|
-
} | null) | undefined;
|
|
95722
|
+
} | null) | undefined) | undefined;
|
|
95446
95723
|
min_cooling_set_point_celsius?: number | undefined;
|
|
95447
95724
|
min_cooling_set_point_fahrenheit?: number | undefined;
|
|
95448
95725
|
max_cooling_set_point_celsius?: number | undefined;
|
|
@@ -98424,7 +98701,7 @@ interface Routes {
|
|
|
98424
98701
|
/** ID of the desired [thermostat](https://docs.seam.co/latest/capability-guides/thermostats) device. */
|
|
98425
98702
|
device_id: string;
|
|
98426
98703
|
/** User-friendly name to identify the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
|
|
98427
|
-
name
|
|
98704
|
+
name: string | null;
|
|
98428
98705
|
/** 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). */
|
|
98429
98706
|
climate_preset_key: string;
|
|
98430
98707
|
/** 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). */
|
|
@@ -98435,6 +98712,8 @@ interface Routes {
|
|
|
98435
98712
|
is_override_allowed?: boolean | undefined;
|
|
98436
98713
|
/** 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. */
|
|
98437
98714
|
ends_at: string;
|
|
98715
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat schedule. */
|
|
98716
|
+
workspace_id: string;
|
|
98438
98717
|
/** Date and time at which the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) was created. */
|
|
98439
98718
|
created_at: string;
|
|
98440
98719
|
/** Errors associated with the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
|
|
@@ -98451,7 +98730,7 @@ interface Routes {
|
|
|
98451
98730
|
/** ID of the desired thermostat device. */
|
|
98452
98731
|
device_id: string;
|
|
98453
98732
|
/** User-friendly name to identify the thermostat daily program. */
|
|
98454
|
-
name
|
|
98733
|
+
name: string | null;
|
|
98455
98734
|
/** Array of thermostat daily program periods. */
|
|
98456
98735
|
periods: Array<{
|
|
98457
98736
|
/** Time at which the thermostat daily program entry starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
|
|
@@ -98459,12 +98738,12 @@ interface Routes {
|
|
|
98459
98738
|
/** 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. */
|
|
98460
98739
|
climate_preset_key: string;
|
|
98461
98740
|
}>;
|
|
98741
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat daily program. */
|
|
98742
|
+
workspace_id: string;
|
|
98462
98743
|
/** Date and time at which the thermostat daily program was created. */
|
|
98463
98744
|
created_at: string;
|
|
98464
|
-
}> |
|
|
98465
|
-
thermostat_weekly_program?: ({
|
|
98466
|
-
/** ID of the thermostat device the weekly program is for. */
|
|
98467
|
-
device_id: string;
|
|
98745
|
+
}> | undefined) | undefined;
|
|
98746
|
+
thermostat_weekly_program?: (({
|
|
98468
98747
|
/** ID of the thermostat daily program to run on Mondays. */
|
|
98469
98748
|
monday_program_id: string | null;
|
|
98470
98749
|
/** ID of the thermostat daily program to run on Tuesdays. */
|
|
@@ -98481,7 +98760,7 @@ interface Routes {
|
|
|
98481
98760
|
sunday_program_id: string | null;
|
|
98482
98761
|
/** Date and time at which the thermostat weekly program was created. */
|
|
98483
98762
|
created_at: string;
|
|
98484
|
-
} | null) | undefined;
|
|
98763
|
+
} | null) | undefined) | undefined;
|
|
98485
98764
|
min_cooling_set_point_celsius?: number | undefined;
|
|
98486
98765
|
min_cooling_set_point_fahrenheit?: number | undefined;
|
|
98487
98766
|
max_cooling_set_point_celsius?: number | undefined;
|
|
@@ -99174,7 +99453,7 @@ interface Routes {
|
|
|
99174
99453
|
/** ID of the desired [thermostat](https://docs.seam.co/latest/capability-guides/thermostats) device. */
|
|
99175
99454
|
device_id: string;
|
|
99176
99455
|
/** User-friendly name to identify the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
|
|
99177
|
-
name
|
|
99456
|
+
name: string | null;
|
|
99178
99457
|
/** 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). */
|
|
99179
99458
|
climate_preset_key: string;
|
|
99180
99459
|
/** 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). */
|
|
@@ -99185,6 +99464,8 @@ interface Routes {
|
|
|
99185
99464
|
is_override_allowed?: boolean | undefined;
|
|
99186
99465
|
/** 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. */
|
|
99187
99466
|
ends_at: string;
|
|
99467
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat schedule. */
|
|
99468
|
+
workspace_id: string;
|
|
99188
99469
|
/** Date and time at which the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) was created. */
|
|
99189
99470
|
created_at: string;
|
|
99190
99471
|
/** Errors associated with the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
|
|
@@ -99201,7 +99482,7 @@ interface Routes {
|
|
|
99201
99482
|
/** ID of the desired thermostat device. */
|
|
99202
99483
|
device_id: string;
|
|
99203
99484
|
/** User-friendly name to identify the thermostat daily program. */
|
|
99204
|
-
name
|
|
99485
|
+
name: string | null;
|
|
99205
99486
|
/** Array of thermostat daily program periods. */
|
|
99206
99487
|
periods: Array<{
|
|
99207
99488
|
/** Time at which the thermostat daily program entry starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
|
|
@@ -99209,12 +99490,12 @@ interface Routes {
|
|
|
99209
99490
|
/** 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. */
|
|
99210
99491
|
climate_preset_key: string;
|
|
99211
99492
|
}>;
|
|
99493
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat daily program. */
|
|
99494
|
+
workspace_id: string;
|
|
99212
99495
|
/** Date and time at which the thermostat daily program was created. */
|
|
99213
99496
|
created_at: string;
|
|
99214
|
-
}> |
|
|
99215
|
-
thermostat_weekly_program?: ({
|
|
99216
|
-
/** ID of the thermostat device the weekly program is for. */
|
|
99217
|
-
device_id: string;
|
|
99497
|
+
}> | undefined) | undefined;
|
|
99498
|
+
thermostat_weekly_program?: (({
|
|
99218
99499
|
/** ID of the thermostat daily program to run on Mondays. */
|
|
99219
99500
|
monday_program_id: string | null;
|
|
99220
99501
|
/** ID of the thermostat daily program to run on Tuesdays. */
|
|
@@ -99231,7 +99512,7 @@ interface Routes {
|
|
|
99231
99512
|
sunday_program_id: string | null;
|
|
99232
99513
|
/** Date and time at which the thermostat weekly program was created. */
|
|
99233
99514
|
created_at: string;
|
|
99234
|
-
} | null) | undefined;
|
|
99515
|
+
} | null) | undefined) | undefined;
|
|
99235
99516
|
min_cooling_set_point_celsius?: number | undefined;
|
|
99236
99517
|
min_cooling_set_point_fahrenheit?: number | undefined;
|
|
99237
99518
|
max_cooling_set_point_celsius?: number | undefined;
|
|
@@ -100612,7 +100893,7 @@ interface Routes {
|
|
|
100612
100893
|
/** ID of the desired [thermostat](https://docs.seam.co/latest/capability-guides/thermostats) device. */
|
|
100613
100894
|
device_id: string;
|
|
100614
100895
|
/** User-friendly name to identify the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
|
|
100615
|
-
name
|
|
100896
|
+
name: string | null;
|
|
100616
100897
|
/** 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). */
|
|
100617
100898
|
climate_preset_key: string;
|
|
100618
100899
|
/** 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). */
|
|
@@ -100623,6 +100904,8 @@ interface Routes {
|
|
|
100623
100904
|
is_override_allowed?: boolean | undefined;
|
|
100624
100905
|
/** 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. */
|
|
100625
100906
|
ends_at: string;
|
|
100907
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat schedule. */
|
|
100908
|
+
workspace_id: string;
|
|
100626
100909
|
/** Date and time at which the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) was created. */
|
|
100627
100910
|
created_at: string;
|
|
100628
100911
|
/** Errors associated with the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
|
|
@@ -100665,7 +100948,7 @@ interface Routes {
|
|
|
100665
100948
|
/** ID of the desired [thermostat](https://docs.seam.co/latest/capability-guides/thermostats) device. */
|
|
100666
100949
|
device_id: string;
|
|
100667
100950
|
/** User-friendly name to identify the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
|
|
100668
|
-
name
|
|
100951
|
+
name: string | null;
|
|
100669
100952
|
/** 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). */
|
|
100670
100953
|
climate_preset_key: string;
|
|
100671
100954
|
/** 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). */
|
|
@@ -100676,6 +100959,8 @@ interface Routes {
|
|
|
100676
100959
|
is_override_allowed?: boolean | undefined;
|
|
100677
100960
|
/** 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. */
|
|
100678
100961
|
ends_at: string;
|
|
100962
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat schedule. */
|
|
100963
|
+
workspace_id: string;
|
|
100679
100964
|
/** Date and time at which the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) was created. */
|
|
100680
100965
|
created_at: string;
|
|
100681
100966
|
/** Errors associated with the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
|
|
@@ -100707,7 +100992,7 @@ interface Routes {
|
|
|
100707
100992
|
/** ID of the desired [thermostat](https://docs.seam.co/latest/capability-guides/thermostats) device. */
|
|
100708
100993
|
device_id: string;
|
|
100709
100994
|
/** User-friendly name to identify the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
|
|
100710
|
-
name
|
|
100995
|
+
name: string | null;
|
|
100711
100996
|
/** 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). */
|
|
100712
100997
|
climate_preset_key: string;
|
|
100713
100998
|
/** 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). */
|
|
@@ -100718,6 +101003,8 @@ interface Routes {
|
|
|
100718
101003
|
is_override_allowed?: boolean | undefined;
|
|
100719
101004
|
/** 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. */
|
|
100720
101005
|
ends_at: string;
|
|
101006
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat schedule. */
|
|
101007
|
+
workspace_id: string;
|
|
100721
101008
|
/** Date and time at which the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) was created. */
|
|
100722
101009
|
created_at: string;
|
|
100723
101010
|
/** Errors associated with the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
|
|
@@ -104287,7 +104574,7 @@ interface Routes {
|
|
|
104287
104574
|
/** ID of the desired [thermostat](https://docs.seam.co/latest/capability-guides/thermostats) device. */
|
|
104288
104575
|
device_id: string;
|
|
104289
104576
|
/** User-friendly name to identify the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
|
|
104290
|
-
name
|
|
104577
|
+
name: string | null;
|
|
104291
104578
|
/** 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). */
|
|
104292
104579
|
climate_preset_key: string;
|
|
104293
104580
|
/** 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). */
|
|
@@ -104298,6 +104585,8 @@ interface Routes {
|
|
|
104298
104585
|
is_override_allowed?: boolean | undefined;
|
|
104299
104586
|
/** 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. */
|
|
104300
104587
|
ends_at: string;
|
|
104588
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat schedule. */
|
|
104589
|
+
workspace_id: string;
|
|
104301
104590
|
/** Date and time at which the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) was created. */
|
|
104302
104591
|
created_at: string;
|
|
104303
104592
|
/** Errors associated with the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
|
|
@@ -104314,7 +104603,7 @@ interface Routes {
|
|
|
104314
104603
|
/** ID of the desired thermostat device. */
|
|
104315
104604
|
device_id: string;
|
|
104316
104605
|
/** User-friendly name to identify the thermostat daily program. */
|
|
104317
|
-
name
|
|
104606
|
+
name: string | null;
|
|
104318
104607
|
/** Array of thermostat daily program periods. */
|
|
104319
104608
|
periods: Array<{
|
|
104320
104609
|
/** Time at which the thermostat daily program entry starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
|
|
@@ -104322,12 +104611,12 @@ interface Routes {
|
|
|
104322
104611
|
/** 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. */
|
|
104323
104612
|
climate_preset_key: string;
|
|
104324
104613
|
}>;
|
|
104614
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat daily program. */
|
|
104615
|
+
workspace_id: string;
|
|
104325
104616
|
/** Date and time at which the thermostat daily program was created. */
|
|
104326
104617
|
created_at: string;
|
|
104327
|
-
}> |
|
|
104328
|
-
thermostat_weekly_program?: ({
|
|
104329
|
-
/** ID of the thermostat device the weekly program is for. */
|
|
104330
|
-
device_id: string;
|
|
104618
|
+
}> | undefined) | undefined;
|
|
104619
|
+
thermostat_weekly_program?: (({
|
|
104331
104620
|
/** ID of the thermostat daily program to run on Mondays. */
|
|
104332
104621
|
monday_program_id: string | null;
|
|
104333
104622
|
/** ID of the thermostat daily program to run on Tuesdays. */
|
|
@@ -104344,7 +104633,7 @@ interface Routes {
|
|
|
104344
104633
|
sunday_program_id: string | null;
|
|
104345
104634
|
/** Date and time at which the thermostat weekly program was created. */
|
|
104346
104635
|
created_at: string;
|
|
104347
|
-
} | null) | undefined;
|
|
104636
|
+
} | null) | undefined) | undefined;
|
|
104348
104637
|
min_cooling_set_point_celsius?: number | undefined;
|
|
104349
104638
|
min_cooling_set_point_fahrenheit?: number | undefined;
|
|
104350
104639
|
max_cooling_set_point_celsius?: number | undefined;
|
|
@@ -105039,7 +105328,7 @@ interface Routes {
|
|
|
105039
105328
|
/** ID of the desired [thermostat](https://docs.seam.co/latest/capability-guides/thermostats) device. */
|
|
105040
105329
|
device_id: string;
|
|
105041
105330
|
/** User-friendly name to identify the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
|
|
105042
|
-
name
|
|
105331
|
+
name: string | null;
|
|
105043
105332
|
/** 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). */
|
|
105044
105333
|
climate_preset_key: string;
|
|
105045
105334
|
/** 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). */
|
|
@@ -105050,6 +105339,8 @@ interface Routes {
|
|
|
105050
105339
|
is_override_allowed?: boolean | undefined;
|
|
105051
105340
|
/** 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. */
|
|
105052
105341
|
ends_at: string;
|
|
105342
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat schedule. */
|
|
105343
|
+
workspace_id: string;
|
|
105053
105344
|
/** Date and time at which the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) was created. */
|
|
105054
105345
|
created_at: string;
|
|
105055
105346
|
/** Errors associated with the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
|
|
@@ -105066,7 +105357,7 @@ interface Routes {
|
|
|
105066
105357
|
/** ID of the desired thermostat device. */
|
|
105067
105358
|
device_id: string;
|
|
105068
105359
|
/** User-friendly name to identify the thermostat daily program. */
|
|
105069
|
-
name
|
|
105360
|
+
name: string | null;
|
|
105070
105361
|
/** Array of thermostat daily program periods. */
|
|
105071
105362
|
periods: Array<{
|
|
105072
105363
|
/** Time at which the thermostat daily program entry starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
|
|
@@ -105074,12 +105365,12 @@ interface Routes {
|
|
|
105074
105365
|
/** 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. */
|
|
105075
105366
|
climate_preset_key: string;
|
|
105076
105367
|
}>;
|
|
105368
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat daily program. */
|
|
105369
|
+
workspace_id: string;
|
|
105077
105370
|
/** Date and time at which the thermostat daily program was created. */
|
|
105078
105371
|
created_at: string;
|
|
105079
|
-
}> |
|
|
105080
|
-
thermostat_weekly_program?: ({
|
|
105081
|
-
/** ID of the thermostat device the weekly program is for. */
|
|
105082
|
-
device_id: string;
|
|
105372
|
+
}> | undefined) | undefined;
|
|
105373
|
+
thermostat_weekly_program?: (({
|
|
105083
105374
|
/** ID of the thermostat daily program to run on Mondays. */
|
|
105084
105375
|
monday_program_id: string | null;
|
|
105085
105376
|
/** ID of the thermostat daily program to run on Tuesdays. */
|
|
@@ -105096,7 +105387,7 @@ interface Routes {
|
|
|
105096
105387
|
sunday_program_id: string | null;
|
|
105097
105388
|
/** Date and time at which the thermostat weekly program was created. */
|
|
105098
105389
|
created_at: string;
|
|
105099
|
-
} | null) | undefined;
|
|
105390
|
+
} | null) | undefined) | undefined;
|
|
105100
105391
|
min_cooling_set_point_celsius?: number | undefined;
|
|
105101
105392
|
min_cooling_set_point_fahrenheit?: number | undefined;
|
|
105102
105393
|
max_cooling_set_point_celsius?: number | undefined;
|
|
@@ -107044,4 +107335,4 @@ type RouteRequestParams<Path extends keyof Routes> = Routes[Path]['queryParams']
|
|
|
107044
107335
|
|
|
107045
107336
|
declare const routes: {};
|
|
107046
107337
|
|
|
107047
|
-
export { type AccessCode, type AccessCodeError, type AccessCodeWarning, type AcsAccessGroup, type AcsCredential, type AcsEncoder, type AcsEntrance, type AcsSystem, type AcsUser, type ActionAttempt, type Bridge, type ClientSession, type ConnectWebview, type ConnectedAccount, type CustomMetadata, type Device, type DeviceError, type DeviceProvider, type DeviceWarning, type InstantKey, type NoiseThreshold, type RouteRequestBody, type RouteRequestParams, type RouteResponse, type Routes, type SeamEvent, type SeamEventType, type ThermostatSchedule, type UnmanagedAccessCode, type UnmanagedDevice, type UserIdentity, type Webhook, type Workspace, _default as openapi, routes, schemas };
|
|
107338
|
+
export { type AccessCode, type AccessCodeError, type AccessCodeWarning, type AcsAccessGroup, type AcsCredential, type AcsEncoder, type AcsEntrance, type AcsSystem, type AcsUser, type ActionAttempt, type Bridge, type ClientSession, type ConnectWebview, type ConnectedAccount, type ConnectedAccountError, type ConnectedAccountWarning, type CustomMetadata, type Device, type DeviceError, type DeviceProvider, type DeviceWarning, type InstantKey, type NoiseThreshold, type RouteRequestBody, type RouteRequestParams, type RouteResponse, type Routes, type SeamEvent, type SeamEventType, type ThermostatSchedule, type UnmanagedAccessCode, type UnmanagedDevice, type UserIdentity, type Webhook, type Workspace, _default as openapi, routes, schemas };
|