@seamapi/types 1.360.0 → 1.361.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/connect.cjs +1645 -1159
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +5946 -4573
- package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +192 -126
- package/lib/seam/connect/models/access-codes/managed-access-code.js +2 -4
- package/lib/seam/connect/models/access-codes/managed-access-code.js.map +1 -1
- package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +193 -127
- 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.d.ts +6 -6
- package/lib/seam/connect/models/acs/acs-credential.js +94 -51
- package/lib/seam/connect/models/acs/acs-credential.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-encoder.d.ts +2 -2
- package/lib/seam/connect/models/acs/acs-encoder.js +12 -7
- package/lib/seam/connect/models/acs/acs-encoder.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-entrance.d.ts +2 -2
- package/lib/seam/connect/models/acs/acs-entrance.js +37 -14
- package/lib/seam/connect/models/acs/acs-entrance.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-system.d.ts +2 -2
- package/lib/seam/connect/models/acs/acs-system.js +48 -41
- package/lib/seam/connect/models/acs/acs-system.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-user.d.ts +4 -4
- package/lib/seam/connect/models/acs/acs-user.js +45 -32
- package/lib/seam/connect/models/acs/acs-user.js.map +1 -1
- package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +26 -26
- package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +8 -8
- package/lib/seam/connect/models/action-attempts/scan-credential.d.ts +18 -18
- package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +42 -42
- package/lib/seam/connect/models/devices/capability-properties/index.d.ts +18 -18
- package/lib/seam/connect/models/devices/capability-properties/thermostat.d.ts +18 -18
- package/lib/seam/connect/models/devices/device.d.ts +1760 -389
- package/lib/seam/connect/models/devices/device.js +82 -4
- package/lib/seam/connect/models/devices/device.js.map +1 -1
- package/lib/seam/connect/models/devices/phone.d.ts +4 -4
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +236 -58
- package/lib/seam/connect/models/events/access-codes.d.ts +68 -68
- package/lib/seam/connect/models/events/devices.d.ts +152 -152
- package/lib/seam/connect/models/events/phones.d.ts +4 -4
- package/lib/seam/connect/models/events/seam-event.d.ts +112 -112
- package/lib/seam/connect/models/thermostats/climate-preset.js +12 -10
- package/lib/seam/connect/models/thermostats/climate-preset.js.map +1 -1
- package/lib/seam/connect/models/thermostats/thermostat-schedule.d.ts +8 -8
- package/lib/seam/connect/models/thermostats/thermostat-schedule.js +19 -12
- 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 +103 -171
- package/lib/seam/connect/openapi.js +1120 -864
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +4421 -3576
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +2 -4
- package/src/lib/seam/connect/models/acs/acs-credential.ts +162 -51
- package/src/lib/seam/connect/models/acs/acs-encoder.ts +22 -7
- package/src/lib/seam/connect/models/acs/acs-entrance.ts +65 -18
- package/src/lib/seam/connect/models/acs/acs-system.ts +81 -52
- package/src/lib/seam/connect/models/acs/acs-user.ts +69 -32
- package/src/lib/seam/connect/models/devices/device.ts +103 -4
- package/src/lib/seam/connect/models/thermostats/climate-preset.ts +28 -10
- package/src/lib/seam/connect/models/thermostats/thermostat-schedule.ts +31 -12
- package/src/lib/seam/connect/openapi.ts +1259 -878
- package/src/lib/seam/connect/route-types.ts +4469 -3648
|
@@ -76,9 +76,9 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
|
|
|
76
76
|
card_holder?: string | undefined;
|
|
77
77
|
}>>;
|
|
78
78
|
}, "strip", z.ZodTypeAny, {
|
|
79
|
-
created_at: string | null;
|
|
80
79
|
starts_at: string | null;
|
|
81
80
|
ends_at: string | null;
|
|
81
|
+
created_at: string | null;
|
|
82
82
|
card_number: string | null;
|
|
83
83
|
is_issued: boolean | null;
|
|
84
84
|
visionline_metadata?: {
|
|
@@ -96,9 +96,9 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
|
|
|
96
96
|
card_holder?: string | undefined;
|
|
97
97
|
} | undefined;
|
|
98
98
|
}, {
|
|
99
|
-
created_at: string | null;
|
|
100
99
|
starts_at: string | null;
|
|
101
100
|
ends_at: string | null;
|
|
101
|
+
created_at: string | null;
|
|
102
102
|
card_number: string | null;
|
|
103
103
|
is_issued: boolean | null;
|
|
104
104
|
visionline_metadata?: {
|
|
@@ -277,6 +277,7 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
|
|
|
277
277
|
}, {
|
|
278
278
|
is_managed: z.ZodLiteral<true>;
|
|
279
279
|
}>, "strip", z.ZodTypeAny, {
|
|
280
|
+
display_name: string;
|
|
280
281
|
created_at: string;
|
|
281
282
|
errors: {
|
|
282
283
|
message: string;
|
|
@@ -307,7 +308,6 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
|
|
|
307
308
|
created_at: string;
|
|
308
309
|
warning_code: "needs_to_be_reissued";
|
|
309
310
|
})[];
|
|
310
|
-
display_name: string;
|
|
311
311
|
workspace_id: string;
|
|
312
312
|
is_managed: true;
|
|
313
313
|
acs_system_id: string;
|
|
@@ -346,6 +346,7 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
|
|
|
346
346
|
is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
|
|
347
347
|
latest_desired_state_synced_with_provider_at?: string | null | undefined;
|
|
348
348
|
}, {
|
|
349
|
+
display_name: string;
|
|
349
350
|
created_at: string;
|
|
350
351
|
errors: {
|
|
351
352
|
message: string;
|
|
@@ -376,7 +377,6 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
|
|
|
376
377
|
created_at: string;
|
|
377
378
|
warning_code: "needs_to_be_reissued";
|
|
378
379
|
})[];
|
|
379
|
-
display_name: string;
|
|
380
380
|
workspace_id: string;
|
|
381
381
|
is_managed: true;
|
|
382
382
|
acs_system_id: string;
|
|
@@ -575,6 +575,7 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
|
|
|
575
575
|
}, {
|
|
576
576
|
is_managed: z.ZodLiteral<false>;
|
|
577
577
|
}>, "strip", z.ZodTypeAny, {
|
|
578
|
+
display_name: string;
|
|
578
579
|
created_at: string;
|
|
579
580
|
errors: {
|
|
580
581
|
message: string;
|
|
@@ -605,7 +606,6 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
|
|
|
605
606
|
created_at: string;
|
|
606
607
|
warning_code: "needs_to_be_reissued";
|
|
607
608
|
})[];
|
|
608
|
-
display_name: string;
|
|
609
609
|
workspace_id: string;
|
|
610
610
|
is_managed: false;
|
|
611
611
|
acs_system_id: string;
|
|
@@ -644,6 +644,7 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
|
|
|
644
644
|
is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
|
|
645
645
|
latest_desired_state_synced_with_provider_at?: string | null | undefined;
|
|
646
646
|
}, {
|
|
647
|
+
display_name: string;
|
|
647
648
|
created_at: string;
|
|
648
649
|
errors: {
|
|
649
650
|
message: string;
|
|
@@ -674,7 +675,6 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
|
|
|
674
675
|
created_at: string;
|
|
675
676
|
warning_code: "needs_to_be_reissued";
|
|
676
677
|
})[];
|
|
677
|
-
display_name: string;
|
|
678
678
|
workspace_id: string;
|
|
679
679
|
is_managed: false;
|
|
680
680
|
acs_system_id: string;
|
|
@@ -729,9 +729,9 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
|
|
|
729
729
|
warning_message: string;
|
|
730
730
|
}[];
|
|
731
731
|
acs_credential_on_encoder: {
|
|
732
|
-
created_at: string | null;
|
|
733
732
|
starts_at: string | null;
|
|
734
733
|
ends_at: string | null;
|
|
734
|
+
created_at: string | null;
|
|
735
735
|
card_number: string | null;
|
|
736
736
|
is_issued: boolean | null;
|
|
737
737
|
visionline_metadata?: {
|
|
@@ -750,6 +750,7 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
|
|
|
750
750
|
} | undefined;
|
|
751
751
|
} | null;
|
|
752
752
|
acs_credential_on_seam: {
|
|
753
|
+
display_name: string;
|
|
753
754
|
created_at: string;
|
|
754
755
|
errors: {
|
|
755
756
|
message: string;
|
|
@@ -780,7 +781,6 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
|
|
|
780
781
|
created_at: string;
|
|
781
782
|
warning_code: "needs_to_be_reissued";
|
|
782
783
|
})[];
|
|
783
|
-
display_name: string;
|
|
784
784
|
workspace_id: string;
|
|
785
785
|
is_managed: true;
|
|
786
786
|
acs_system_id: string;
|
|
@@ -819,6 +819,7 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
|
|
|
819
819
|
is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
|
|
820
820
|
latest_desired_state_synced_with_provider_at?: string | null | undefined;
|
|
821
821
|
} | {
|
|
822
|
+
display_name: string;
|
|
822
823
|
created_at: string;
|
|
823
824
|
errors: {
|
|
824
825
|
message: string;
|
|
@@ -849,7 +850,6 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
|
|
|
849
850
|
created_at: string;
|
|
850
851
|
warning_code: "needs_to_be_reissued";
|
|
851
852
|
})[];
|
|
852
|
-
display_name: string;
|
|
853
853
|
workspace_id: string;
|
|
854
854
|
is_managed: false;
|
|
855
855
|
acs_system_id: string;
|
|
@@ -894,9 +894,9 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
|
|
|
894
894
|
warning_message: string;
|
|
895
895
|
}[];
|
|
896
896
|
acs_credential_on_encoder: {
|
|
897
|
-
created_at: string | null;
|
|
898
897
|
starts_at: string | null;
|
|
899
898
|
ends_at: string | null;
|
|
899
|
+
created_at: string | null;
|
|
900
900
|
card_number: string | null;
|
|
901
901
|
is_issued: boolean | null;
|
|
902
902
|
visionline_metadata?: {
|
|
@@ -915,6 +915,7 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
|
|
|
915
915
|
} | undefined;
|
|
916
916
|
} | null;
|
|
917
917
|
acs_credential_on_seam: {
|
|
918
|
+
display_name: string;
|
|
918
919
|
created_at: string;
|
|
919
920
|
errors: {
|
|
920
921
|
message: string;
|
|
@@ -945,7 +946,6 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
|
|
|
945
946
|
created_at: string;
|
|
946
947
|
warning_code: "needs_to_be_reissued";
|
|
947
948
|
})[];
|
|
948
|
-
display_name: string;
|
|
949
949
|
workspace_id: string;
|
|
950
950
|
is_managed: true;
|
|
951
951
|
acs_system_id: string;
|
|
@@ -984,6 +984,7 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
|
|
|
984
984
|
is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
|
|
985
985
|
latest_desired_state_synced_with_provider_at?: string | null | undefined;
|
|
986
986
|
} | {
|
|
987
|
+
display_name: string;
|
|
987
988
|
created_at: string;
|
|
988
989
|
errors: {
|
|
989
990
|
message: string;
|
|
@@ -1014,7 +1015,6 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
|
|
|
1014
1015
|
created_at: string;
|
|
1015
1016
|
warning_code: "needs_to_be_reissued";
|
|
1016
1017
|
})[];
|
|
1017
|
-
display_name: string;
|
|
1018
1018
|
workspace_id: string;
|
|
1019
1019
|
is_managed: false;
|
|
1020
1020
|
acs_system_id: string;
|
|
@@ -1064,9 +1064,9 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
|
|
|
1064
1064
|
warning_message: string;
|
|
1065
1065
|
}[];
|
|
1066
1066
|
acs_credential_on_encoder: {
|
|
1067
|
-
created_at: string | null;
|
|
1068
1067
|
starts_at: string | null;
|
|
1069
1068
|
ends_at: string | null;
|
|
1069
|
+
created_at: string | null;
|
|
1070
1070
|
card_number: string | null;
|
|
1071
1071
|
is_issued: boolean | null;
|
|
1072
1072
|
visionline_metadata?: {
|
|
@@ -1085,6 +1085,7 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
|
|
|
1085
1085
|
} | undefined;
|
|
1086
1086
|
} | null;
|
|
1087
1087
|
acs_credential_on_seam: {
|
|
1088
|
+
display_name: string;
|
|
1088
1089
|
created_at: string;
|
|
1089
1090
|
errors: {
|
|
1090
1091
|
message: string;
|
|
@@ -1115,7 +1116,6 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
|
|
|
1115
1116
|
created_at: string;
|
|
1116
1117
|
warning_code: "needs_to_be_reissued";
|
|
1117
1118
|
})[];
|
|
1118
|
-
display_name: string;
|
|
1119
1119
|
workspace_id: string;
|
|
1120
1120
|
is_managed: true;
|
|
1121
1121
|
acs_system_id: string;
|
|
@@ -1154,6 +1154,7 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
|
|
|
1154
1154
|
is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
|
|
1155
1155
|
latest_desired_state_synced_with_provider_at?: string | null | undefined;
|
|
1156
1156
|
} | {
|
|
1157
|
+
display_name: string;
|
|
1157
1158
|
created_at: string;
|
|
1158
1159
|
errors: {
|
|
1159
1160
|
message: string;
|
|
@@ -1184,7 +1185,6 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
|
|
|
1184
1185
|
created_at: string;
|
|
1185
1186
|
warning_code: "needs_to_be_reissued";
|
|
1186
1187
|
})[];
|
|
1187
|
-
display_name: string;
|
|
1188
1188
|
workspace_id: string;
|
|
1189
1189
|
is_managed: false;
|
|
1190
1190
|
acs_system_id: string;
|
|
@@ -1235,9 +1235,9 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
|
|
|
1235
1235
|
warning_message: string;
|
|
1236
1236
|
}[];
|
|
1237
1237
|
acs_credential_on_encoder: {
|
|
1238
|
-
created_at: string | null;
|
|
1239
1238
|
starts_at: string | null;
|
|
1240
1239
|
ends_at: string | null;
|
|
1240
|
+
created_at: string | null;
|
|
1241
1241
|
card_number: string | null;
|
|
1242
1242
|
is_issued: boolean | null;
|
|
1243
1243
|
visionline_metadata?: {
|
|
@@ -1256,6 +1256,7 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
|
|
|
1256
1256
|
} | undefined;
|
|
1257
1257
|
} | null;
|
|
1258
1258
|
acs_credential_on_seam: {
|
|
1259
|
+
display_name: string;
|
|
1259
1260
|
created_at: string;
|
|
1260
1261
|
errors: {
|
|
1261
1262
|
message: string;
|
|
@@ -1286,7 +1287,6 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
|
|
|
1286
1287
|
created_at: string;
|
|
1287
1288
|
warning_code: "needs_to_be_reissued";
|
|
1288
1289
|
})[];
|
|
1289
|
-
display_name: string;
|
|
1290
1290
|
workspace_id: string;
|
|
1291
1291
|
is_managed: true;
|
|
1292
1292
|
acs_system_id: string;
|
|
@@ -1325,6 +1325,7 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
|
|
|
1325
1325
|
is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
|
|
1326
1326
|
latest_desired_state_synced_with_provider_at?: string | null | undefined;
|
|
1327
1327
|
} | {
|
|
1328
|
+
display_name: string;
|
|
1328
1329
|
created_at: string;
|
|
1329
1330
|
errors: {
|
|
1330
1331
|
message: string;
|
|
@@ -1355,7 +1356,6 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
|
|
|
1355
1356
|
created_at: string;
|
|
1356
1357
|
warning_code: "needs_to_be_reissued";
|
|
1357
1358
|
})[];
|
|
1358
|
-
display_name: string;
|
|
1359
1359
|
workspace_id: string;
|
|
1360
1360
|
is_managed: false;
|
|
1361
1361
|
acs_system_id: string;
|
|
@@ -8,13 +8,13 @@ export declare const account_disconnected: z.ZodObject<z.objectUtil.extendShape<
|
|
|
8
8
|
}>, "strip", z.ZodTypeAny, {
|
|
9
9
|
message: string;
|
|
10
10
|
created_at: string;
|
|
11
|
-
is_connected_account_error: true;
|
|
12
11
|
error_code: "account_disconnected";
|
|
12
|
+
is_connected_account_error: true;
|
|
13
13
|
}, {
|
|
14
14
|
message: string;
|
|
15
15
|
created_at: string;
|
|
16
|
-
is_connected_account_error: true;
|
|
17
16
|
error_code: "account_disconnected";
|
|
17
|
+
is_connected_account_error: true;
|
|
18
18
|
}>;
|
|
19
19
|
export declare const invalid_credentials: z.ZodObject<z.objectUtil.extendShape<{
|
|
20
20
|
created_at: z.ZodString;
|
|
@@ -25,13 +25,13 @@ export declare const invalid_credentials: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
25
25
|
}>, "strip", z.ZodTypeAny, {
|
|
26
26
|
message: string;
|
|
27
27
|
created_at: string;
|
|
28
|
-
is_connected_account_error: true;
|
|
29
28
|
error_code: "invalid_credentials";
|
|
29
|
+
is_connected_account_error: true;
|
|
30
30
|
}, {
|
|
31
31
|
message: string;
|
|
32
32
|
created_at: string;
|
|
33
|
-
is_connected_account_error: true;
|
|
34
33
|
error_code: "invalid_credentials";
|
|
34
|
+
is_connected_account_error: true;
|
|
35
35
|
}>;
|
|
36
36
|
export declare const salto_ks_subscription_limit_exceeded: z.ZodObject<z.objectUtil.extendShape<{
|
|
37
37
|
created_at: z.ZodString;
|
|
@@ -74,8 +74,8 @@ export declare const salto_ks_subscription_limit_exceeded: z.ZodObject<z.objectU
|
|
|
74
74
|
}>, "strip", z.ZodTypeAny, {
|
|
75
75
|
message: string;
|
|
76
76
|
created_at: string;
|
|
77
|
-
is_connected_account_error: true;
|
|
78
77
|
error_code: "salto_ks_subscription_limit_exceeded";
|
|
78
|
+
is_connected_account_error: true;
|
|
79
79
|
salto_ks_metadata: {
|
|
80
80
|
sites: {
|
|
81
81
|
site_id: string;
|
|
@@ -87,8 +87,8 @@ export declare const salto_ks_subscription_limit_exceeded: z.ZodObject<z.objectU
|
|
|
87
87
|
}, {
|
|
88
88
|
message: string;
|
|
89
89
|
created_at: string;
|
|
90
|
-
is_connected_account_error: true;
|
|
91
90
|
error_code: "salto_ks_subscription_limit_exceeded";
|
|
91
|
+
is_connected_account_error: true;
|
|
92
92
|
salto_ks_metadata: {
|
|
93
93
|
sites: {
|
|
94
94
|
site_id: string;
|
|
@@ -107,13 +107,13 @@ export declare const connected_account_error: z.ZodDiscriminatedUnion<"error_cod
|
|
|
107
107
|
}>, "strip", z.ZodTypeAny, {
|
|
108
108
|
message: string;
|
|
109
109
|
created_at: string;
|
|
110
|
-
is_connected_account_error: true;
|
|
111
110
|
error_code: "account_disconnected";
|
|
111
|
+
is_connected_account_error: true;
|
|
112
112
|
}, {
|
|
113
113
|
message: string;
|
|
114
114
|
created_at: string;
|
|
115
|
-
is_connected_account_error: true;
|
|
116
115
|
error_code: "account_disconnected";
|
|
116
|
+
is_connected_account_error: true;
|
|
117
117
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
118
118
|
created_at: z.ZodString;
|
|
119
119
|
message: z.ZodString;
|
|
@@ -123,13 +123,13 @@ export declare const connected_account_error: z.ZodDiscriminatedUnion<"error_cod
|
|
|
123
123
|
}>, "strip", z.ZodTypeAny, {
|
|
124
124
|
message: string;
|
|
125
125
|
created_at: string;
|
|
126
|
-
is_connected_account_error: true;
|
|
127
126
|
error_code: "invalid_credentials";
|
|
127
|
+
is_connected_account_error: true;
|
|
128
128
|
}, {
|
|
129
129
|
message: string;
|
|
130
130
|
created_at: string;
|
|
131
|
-
is_connected_account_error: true;
|
|
132
131
|
error_code: "invalid_credentials";
|
|
132
|
+
is_connected_account_error: true;
|
|
133
133
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
134
134
|
created_at: z.ZodString;
|
|
135
135
|
message: z.ZodString;
|
|
@@ -171,8 +171,8 @@ export declare const connected_account_error: z.ZodDiscriminatedUnion<"error_cod
|
|
|
171
171
|
}>, "strip", z.ZodTypeAny, {
|
|
172
172
|
message: string;
|
|
173
173
|
created_at: string;
|
|
174
|
-
is_connected_account_error: true;
|
|
175
174
|
error_code: "salto_ks_subscription_limit_exceeded";
|
|
175
|
+
is_connected_account_error: true;
|
|
176
176
|
salto_ks_metadata: {
|
|
177
177
|
sites: {
|
|
178
178
|
site_id: string;
|
|
@@ -184,8 +184,8 @@ export declare const connected_account_error: z.ZodDiscriminatedUnion<"error_cod
|
|
|
184
184
|
}, {
|
|
185
185
|
message: string;
|
|
186
186
|
created_at: string;
|
|
187
|
-
is_connected_account_error: true;
|
|
188
187
|
error_code: "salto_ks_subscription_limit_exceeded";
|
|
188
|
+
is_connected_account_error: true;
|
|
189
189
|
salto_ks_metadata: {
|
|
190
190
|
sites: {
|
|
191
191
|
site_id: string;
|
|
@@ -205,13 +205,13 @@ declare const connected_account_error_map: z.ZodObject<{
|
|
|
205
205
|
}>, "strip", z.ZodTypeAny, {
|
|
206
206
|
message: string;
|
|
207
207
|
created_at: string;
|
|
208
|
-
is_connected_account_error: true;
|
|
209
208
|
error_code: "account_disconnected";
|
|
209
|
+
is_connected_account_error: true;
|
|
210
210
|
}, {
|
|
211
211
|
message: string;
|
|
212
212
|
created_at: string;
|
|
213
|
-
is_connected_account_error: true;
|
|
214
213
|
error_code: "account_disconnected";
|
|
214
|
+
is_connected_account_error: true;
|
|
215
215
|
}>>>;
|
|
216
216
|
invalid_credentials: z.ZodOptional<z.ZodNullable<z.ZodObject<z.objectUtil.extendShape<{
|
|
217
217
|
created_at: z.ZodString;
|
|
@@ -222,13 +222,13 @@ declare const connected_account_error_map: z.ZodObject<{
|
|
|
222
222
|
}>, "strip", z.ZodTypeAny, {
|
|
223
223
|
message: string;
|
|
224
224
|
created_at: string;
|
|
225
|
-
is_connected_account_error: true;
|
|
226
225
|
error_code: "invalid_credentials";
|
|
226
|
+
is_connected_account_error: true;
|
|
227
227
|
}, {
|
|
228
228
|
message: string;
|
|
229
229
|
created_at: string;
|
|
230
|
-
is_connected_account_error: true;
|
|
231
230
|
error_code: "invalid_credentials";
|
|
231
|
+
is_connected_account_error: true;
|
|
232
232
|
}>>>;
|
|
233
233
|
salto_ks_subscription_limit_exceeded: z.ZodOptional<z.ZodNullable<z.ZodObject<z.objectUtil.extendShape<{
|
|
234
234
|
created_at: z.ZodString;
|
|
@@ -271,8 +271,8 @@ declare const connected_account_error_map: z.ZodObject<{
|
|
|
271
271
|
}>, "strip", z.ZodTypeAny, {
|
|
272
272
|
message: string;
|
|
273
273
|
created_at: string;
|
|
274
|
-
is_connected_account_error: true;
|
|
275
274
|
error_code: "salto_ks_subscription_limit_exceeded";
|
|
275
|
+
is_connected_account_error: true;
|
|
276
276
|
salto_ks_metadata: {
|
|
277
277
|
sites: {
|
|
278
278
|
site_id: string;
|
|
@@ -284,8 +284,8 @@ declare const connected_account_error_map: z.ZodObject<{
|
|
|
284
284
|
}, {
|
|
285
285
|
message: string;
|
|
286
286
|
created_at: string;
|
|
287
|
-
is_connected_account_error: true;
|
|
288
287
|
error_code: "salto_ks_subscription_limit_exceeded";
|
|
288
|
+
is_connected_account_error: true;
|
|
289
289
|
salto_ks_metadata: {
|
|
290
290
|
sites: {
|
|
291
291
|
site_id: string;
|
|
@@ -299,20 +299,20 @@ declare const connected_account_error_map: z.ZodObject<{
|
|
|
299
299
|
account_disconnected?: {
|
|
300
300
|
message: string;
|
|
301
301
|
created_at: string;
|
|
302
|
-
is_connected_account_error: true;
|
|
303
302
|
error_code: "account_disconnected";
|
|
303
|
+
is_connected_account_error: true;
|
|
304
304
|
} | null | undefined;
|
|
305
305
|
invalid_credentials?: {
|
|
306
306
|
message: string;
|
|
307
307
|
created_at: string;
|
|
308
|
-
is_connected_account_error: true;
|
|
309
308
|
error_code: "invalid_credentials";
|
|
309
|
+
is_connected_account_error: true;
|
|
310
310
|
} | null | undefined;
|
|
311
311
|
salto_ks_subscription_limit_exceeded?: {
|
|
312
312
|
message: string;
|
|
313
313
|
created_at: string;
|
|
314
|
-
is_connected_account_error: true;
|
|
315
314
|
error_code: "salto_ks_subscription_limit_exceeded";
|
|
315
|
+
is_connected_account_error: true;
|
|
316
316
|
salto_ks_metadata: {
|
|
317
317
|
sites: {
|
|
318
318
|
site_id: string;
|
|
@@ -326,20 +326,20 @@ declare const connected_account_error_map: z.ZodObject<{
|
|
|
326
326
|
account_disconnected?: {
|
|
327
327
|
message: string;
|
|
328
328
|
created_at: string;
|
|
329
|
-
is_connected_account_error: true;
|
|
330
329
|
error_code: "account_disconnected";
|
|
330
|
+
is_connected_account_error: true;
|
|
331
331
|
} | null | undefined;
|
|
332
332
|
invalid_credentials?: {
|
|
333
333
|
message: string;
|
|
334
334
|
created_at: string;
|
|
335
|
-
is_connected_account_error: true;
|
|
336
335
|
error_code: "invalid_credentials";
|
|
336
|
+
is_connected_account_error: true;
|
|
337
337
|
} | null | undefined;
|
|
338
338
|
salto_ks_subscription_limit_exceeded?: {
|
|
339
339
|
message: string;
|
|
340
340
|
created_at: string;
|
|
341
|
-
is_connected_account_error: true;
|
|
342
341
|
error_code: "salto_ks_subscription_limit_exceeded";
|
|
342
|
+
is_connected_account_error: true;
|
|
343
343
|
salto_ks_metadata: {
|
|
344
344
|
sites: {
|
|
345
345
|
site_id: string;
|
|
@@ -519,14 +519,14 @@ export declare const connected_account: z.ZodObject<{
|
|
|
519
519
|
exclusive?: boolean | undefined;
|
|
520
520
|
username?: string | undefined;
|
|
521
521
|
email?: string | undefined;
|
|
522
|
-
api_url?: string | undefined;
|
|
523
522
|
phone?: string | undefined;
|
|
523
|
+
api_url?: string | undefined;
|
|
524
524
|
}, {
|
|
525
525
|
exclusive?: boolean | undefined;
|
|
526
526
|
username?: string | undefined;
|
|
527
527
|
email?: string | undefined;
|
|
528
|
-
api_url?: string | undefined;
|
|
529
528
|
phone?: string | undefined;
|
|
529
|
+
api_url?: string | undefined;
|
|
530
530
|
}>>;
|
|
531
531
|
account_type: z.ZodOptional<z.ZodString>;
|
|
532
532
|
account_type_display_name: z.ZodString;
|
|
@@ -539,13 +539,13 @@ export declare const connected_account: z.ZodObject<{
|
|
|
539
539
|
}>, "strip", z.ZodTypeAny, {
|
|
540
540
|
message: string;
|
|
541
541
|
created_at: string;
|
|
542
|
-
is_connected_account_error: true;
|
|
543
542
|
error_code: "account_disconnected";
|
|
543
|
+
is_connected_account_error: true;
|
|
544
544
|
}, {
|
|
545
545
|
message: string;
|
|
546
546
|
created_at: string;
|
|
547
|
-
is_connected_account_error: true;
|
|
548
547
|
error_code: "account_disconnected";
|
|
548
|
+
is_connected_account_error: true;
|
|
549
549
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
550
550
|
created_at: z.ZodString;
|
|
551
551
|
message: z.ZodString;
|
|
@@ -555,13 +555,13 @@ export declare const connected_account: z.ZodObject<{
|
|
|
555
555
|
}>, "strip", z.ZodTypeAny, {
|
|
556
556
|
message: string;
|
|
557
557
|
created_at: string;
|
|
558
|
-
is_connected_account_error: true;
|
|
559
558
|
error_code: "invalid_credentials";
|
|
559
|
+
is_connected_account_error: true;
|
|
560
560
|
}, {
|
|
561
561
|
message: string;
|
|
562
562
|
created_at: string;
|
|
563
|
-
is_connected_account_error: true;
|
|
564
563
|
error_code: "invalid_credentials";
|
|
564
|
+
is_connected_account_error: true;
|
|
565
565
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
566
566
|
created_at: z.ZodString;
|
|
567
567
|
message: z.ZodString;
|
|
@@ -603,8 +603,8 @@ export declare const connected_account: z.ZodObject<{
|
|
|
603
603
|
}>, "strip", z.ZodTypeAny, {
|
|
604
604
|
message: string;
|
|
605
605
|
created_at: string;
|
|
606
|
-
is_connected_account_error: true;
|
|
607
606
|
error_code: "salto_ks_subscription_limit_exceeded";
|
|
607
|
+
is_connected_account_error: true;
|
|
608
608
|
salto_ks_metadata: {
|
|
609
609
|
sites: {
|
|
610
610
|
site_id: string;
|
|
@@ -616,8 +616,8 @@ export declare const connected_account: z.ZodObject<{
|
|
|
616
616
|
}, {
|
|
617
617
|
message: string;
|
|
618
618
|
created_at: string;
|
|
619
|
-
is_connected_account_error: true;
|
|
620
619
|
error_code: "salto_ks_subscription_limit_exceeded";
|
|
620
|
+
is_connected_account_error: true;
|
|
621
621
|
salto_ks_metadata: {
|
|
622
622
|
sites: {
|
|
623
623
|
site_id: string;
|
|
@@ -718,22 +718,21 @@ export declare const connected_account: z.ZodObject<{
|
|
|
718
718
|
custom_metadata: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>;
|
|
719
719
|
automatically_manage_new_devices: z.ZodBoolean;
|
|
720
720
|
}, "strip", z.ZodTypeAny, {
|
|
721
|
-
account_type_display_name: string;
|
|
722
721
|
errors: ({
|
|
723
722
|
message: string;
|
|
724
723
|
created_at: string;
|
|
725
|
-
is_connected_account_error: true;
|
|
726
724
|
error_code: "account_disconnected";
|
|
725
|
+
is_connected_account_error: true;
|
|
727
726
|
} | {
|
|
728
727
|
message: string;
|
|
729
728
|
created_at: string;
|
|
730
|
-
is_connected_account_error: true;
|
|
731
729
|
error_code: "invalid_credentials";
|
|
730
|
+
is_connected_account_error: true;
|
|
732
731
|
} | {
|
|
733
732
|
message: string;
|
|
734
733
|
created_at: string;
|
|
735
|
-
is_connected_account_error: true;
|
|
736
734
|
error_code: "salto_ks_subscription_limit_exceeded";
|
|
735
|
+
is_connected_account_error: true;
|
|
737
736
|
salto_ks_metadata: {
|
|
738
737
|
sites: {
|
|
739
738
|
site_id: string;
|
|
@@ -743,6 +742,7 @@ export declare const connected_account: z.ZodObject<{
|
|
|
743
742
|
}[];
|
|
744
743
|
};
|
|
745
744
|
})[];
|
|
745
|
+
account_type_display_name: string;
|
|
746
746
|
warnings: ({
|
|
747
747
|
message: string;
|
|
748
748
|
created_at: string;
|
|
@@ -772,27 +772,26 @@ export declare const connected_account: z.ZodObject<{
|
|
|
772
772
|
exclusive?: boolean | undefined;
|
|
773
773
|
username?: string | undefined;
|
|
774
774
|
email?: string | undefined;
|
|
775
|
-
api_url?: string | undefined;
|
|
776
775
|
phone?: string | undefined;
|
|
776
|
+
api_url?: string | undefined;
|
|
777
777
|
} | undefined;
|
|
778
778
|
account_type?: string | undefined;
|
|
779
779
|
}, {
|
|
780
|
-
account_type_display_name: string;
|
|
781
780
|
errors: ({
|
|
782
781
|
message: string;
|
|
783
782
|
created_at: string;
|
|
784
|
-
is_connected_account_error: true;
|
|
785
783
|
error_code: "account_disconnected";
|
|
784
|
+
is_connected_account_error: true;
|
|
786
785
|
} | {
|
|
787
786
|
message: string;
|
|
788
787
|
created_at: string;
|
|
789
|
-
is_connected_account_error: true;
|
|
790
788
|
error_code: "invalid_credentials";
|
|
789
|
+
is_connected_account_error: true;
|
|
791
790
|
} | {
|
|
792
791
|
message: string;
|
|
793
792
|
created_at: string;
|
|
794
|
-
is_connected_account_error: true;
|
|
795
793
|
error_code: "salto_ks_subscription_limit_exceeded";
|
|
794
|
+
is_connected_account_error: true;
|
|
796
795
|
salto_ks_metadata: {
|
|
797
796
|
sites: {
|
|
798
797
|
site_id: string;
|
|
@@ -802,6 +801,7 @@ export declare const connected_account: z.ZodObject<{
|
|
|
802
801
|
}[];
|
|
803
802
|
};
|
|
804
803
|
})[];
|
|
804
|
+
account_type_display_name: string;
|
|
805
805
|
warnings: ({
|
|
806
806
|
message: string;
|
|
807
807
|
created_at: string;
|
|
@@ -831,8 +831,8 @@ export declare const connected_account: z.ZodObject<{
|
|
|
831
831
|
exclusive?: boolean | undefined;
|
|
832
832
|
username?: string | undefined;
|
|
833
833
|
email?: string | undefined;
|
|
834
|
-
api_url?: string | undefined;
|
|
835
834
|
phone?: string | undefined;
|
|
835
|
+
api_url?: string | undefined;
|
|
836
836
|
} | undefined;
|
|
837
837
|
account_type?: string | undefined;
|
|
838
838
|
}>;
|
|
@@ -227,31 +227,31 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<z.obje
|
|
|
227
227
|
error_code: string;
|
|
228
228
|
}>, "many">;
|
|
229
229
|
}, "strip", z.ZodTypeAny, {
|
|
230
|
-
created_at: string;
|
|
231
|
-
errors: {
|
|
232
|
-
message: string;
|
|
233
|
-
error_code: string;
|
|
234
|
-
}[];
|
|
235
230
|
climate_preset_key: string;
|
|
236
231
|
thermostat_schedule_id: string;
|
|
237
232
|
device_id: string;
|
|
238
233
|
max_override_period_minutes: number;
|
|
239
234
|
starts_at: string;
|
|
240
235
|
ends_at: string;
|
|
241
|
-
name?: string | undefined;
|
|
242
|
-
unstable_is_override_allowed?: boolean | undefined;
|
|
243
|
-
}, {
|
|
244
236
|
created_at: string;
|
|
245
237
|
errors: {
|
|
246
238
|
message: string;
|
|
247
239
|
error_code: string;
|
|
248
240
|
}[];
|
|
241
|
+
name?: string | undefined;
|
|
242
|
+
unstable_is_override_allowed?: boolean | undefined;
|
|
243
|
+
}, {
|
|
249
244
|
climate_preset_key: string;
|
|
250
245
|
thermostat_schedule_id: string;
|
|
251
246
|
device_id: string;
|
|
252
247
|
max_override_period_minutes: number;
|
|
253
248
|
starts_at: string;
|
|
254
249
|
ends_at: string;
|
|
250
|
+
created_at: string;
|
|
251
|
+
errors: {
|
|
252
|
+
message: string;
|
|
253
|
+
error_code: string;
|
|
254
|
+
}[];
|
|
255
255
|
name?: string | undefined;
|
|
256
256
|
unstable_is_override_allowed?: boolean | undefined;
|
|
257
257
|
}>>>>;
|
|
@@ -336,17 +336,17 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<z.obje
|
|
|
336
336
|
}[] | undefined;
|
|
337
337
|
fallback_climate_preset_key?: string | null | undefined;
|
|
338
338
|
active_thermostat_schedule?: {
|
|
339
|
-
created_at: string;
|
|
340
|
-
errors: {
|
|
341
|
-
message: string;
|
|
342
|
-
error_code: string;
|
|
343
|
-
}[];
|
|
344
339
|
climate_preset_key: string;
|
|
345
340
|
thermostat_schedule_id: string;
|
|
346
341
|
device_id: string;
|
|
347
342
|
max_override_period_minutes: number;
|
|
348
343
|
starts_at: string;
|
|
349
344
|
ends_at: string;
|
|
345
|
+
created_at: string;
|
|
346
|
+
errors: {
|
|
347
|
+
message: string;
|
|
348
|
+
error_code: string;
|
|
349
|
+
}[];
|
|
350
350
|
name?: string | undefined;
|
|
351
351
|
unstable_is_override_allowed?: boolean | undefined;
|
|
352
352
|
} | null | undefined;
|
|
@@ -421,17 +421,17 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<z.obje
|
|
|
421
421
|
}[] | undefined;
|
|
422
422
|
fallback_climate_preset_key?: string | null | undefined;
|
|
423
423
|
active_thermostat_schedule?: {
|
|
424
|
-
created_at: string;
|
|
425
|
-
errors: {
|
|
426
|
-
message: string;
|
|
427
|
-
error_code: string;
|
|
428
|
-
}[];
|
|
429
424
|
climate_preset_key: string;
|
|
430
425
|
thermostat_schedule_id: string;
|
|
431
426
|
device_id: string;
|
|
432
427
|
max_override_period_minutes: number;
|
|
433
428
|
starts_at: string;
|
|
434
429
|
ends_at: string;
|
|
430
|
+
created_at: string;
|
|
431
|
+
errors: {
|
|
432
|
+
message: string;
|
|
433
|
+
error_code: string;
|
|
434
|
+
}[];
|
|
435
435
|
name?: string | undefined;
|
|
436
436
|
unstable_is_override_allowed?: boolean | undefined;
|
|
437
437
|
} | null | undefined;
|