@seamapi/types 1.870.0 → 1.872.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 +438 -30
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +1314 -0
- package/dist/index.cjs +438 -30
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +414 -10
- package/lib/seam/connect/models/access-codes/managed-access-code.js +108 -10
- 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 +149 -0
- package/lib/seam/connect/models/batch.d.ts +402 -0
- package/lib/seam/connect/openapi.js +302 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +517 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +144 -10
- package/src/lib/seam/connect/openapi.ts +346 -0
- package/src/lib/seam/connect/route-types.ts +594 -0
package/dist/connect.d.cts
CHANGED
|
@@ -4,6 +4,22 @@ declare const access_code_error: z.ZodDiscriminatedUnion<"error_code", [z.ZodObj
|
|
|
4
4
|
message: z.ZodString;
|
|
5
5
|
is_access_code_error: z.ZodLiteral<true>;
|
|
6
6
|
created_at: z.ZodOptional<z.ZodString>;
|
|
7
|
+
} & {
|
|
8
|
+
error_code: z.ZodLiteral<"provider_issue">;
|
|
9
|
+
}, "strip", z.ZodTypeAny, {
|
|
10
|
+
message: string;
|
|
11
|
+
error_code: "provider_issue";
|
|
12
|
+
is_access_code_error: true;
|
|
13
|
+
created_at?: string | undefined;
|
|
14
|
+
}, {
|
|
15
|
+
message: string;
|
|
16
|
+
error_code: "provider_issue";
|
|
17
|
+
is_access_code_error: true;
|
|
18
|
+
created_at?: string | undefined;
|
|
19
|
+
}>, z.ZodObject<{
|
|
20
|
+
message: z.ZodString;
|
|
21
|
+
is_access_code_error: z.ZodLiteral<true>;
|
|
22
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
7
23
|
} & {
|
|
8
24
|
error_code: z.ZodLiteral<"smartthings_failed_to_set_access_code">;
|
|
9
25
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -172,16 +188,42 @@ declare const access_code_error: z.ZodDiscriminatedUnion<"error_code", [z.ZodObj
|
|
|
172
188
|
created_at: z.ZodOptional<z.ZodString>;
|
|
173
189
|
} & {
|
|
174
190
|
error_code: z.ZodLiteral<"code_modified_external_to_seam">;
|
|
191
|
+
change_type: z.ZodOptional<z.ZodEnum<["modified", "removed"]>>;
|
|
192
|
+
modified_fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
193
|
+
field: z.ZodString;
|
|
194
|
+
from: z.ZodNullable<z.ZodString>;
|
|
195
|
+
to: z.ZodNullable<z.ZodString>;
|
|
196
|
+
}, "strip", z.ZodTypeAny, {
|
|
197
|
+
from: string | null;
|
|
198
|
+
to: string | null;
|
|
199
|
+
field: string;
|
|
200
|
+
}, {
|
|
201
|
+
from: string | null;
|
|
202
|
+
to: string | null;
|
|
203
|
+
field: string;
|
|
204
|
+
}>, "many">>;
|
|
175
205
|
}, "strip", z.ZodTypeAny, {
|
|
176
206
|
message: string;
|
|
177
207
|
error_code: "code_modified_external_to_seam";
|
|
178
208
|
is_access_code_error: true;
|
|
179
209
|
created_at?: string | undefined;
|
|
210
|
+
change_type?: "modified" | "removed" | undefined;
|
|
211
|
+
modified_fields?: {
|
|
212
|
+
from: string | null;
|
|
213
|
+
to: string | null;
|
|
214
|
+
field: string;
|
|
215
|
+
}[] | undefined;
|
|
180
216
|
}, {
|
|
181
217
|
message: string;
|
|
182
218
|
error_code: "code_modified_external_to_seam";
|
|
183
219
|
is_access_code_error: true;
|
|
184
220
|
created_at?: string | undefined;
|
|
221
|
+
change_type?: "modified" | "removed" | undefined;
|
|
222
|
+
modified_fields?: {
|
|
223
|
+
from: string | null;
|
|
224
|
+
to: string | null;
|
|
225
|
+
field: string;
|
|
226
|
+
}[] | undefined;
|
|
185
227
|
}>, z.ZodObject<{
|
|
186
228
|
message: z.ZodString;
|
|
187
229
|
is_access_code_error: z.ZodLiteral<true>;
|
|
@@ -234,6 +276,22 @@ declare const access_code_error: z.ZodDiscriminatedUnion<"error_code", [z.ZodObj
|
|
|
234
276
|
message: z.ZodString;
|
|
235
277
|
is_access_code_error: z.ZodLiteral<true>;
|
|
236
278
|
created_at: z.ZodOptional<z.ZodString>;
|
|
279
|
+
} & {
|
|
280
|
+
error_code: z.ZodLiteral<"access_code_inactive">;
|
|
281
|
+
}, "strip", z.ZodTypeAny, {
|
|
282
|
+
message: string;
|
|
283
|
+
error_code: "access_code_inactive";
|
|
284
|
+
is_access_code_error: true;
|
|
285
|
+
created_at?: string | undefined;
|
|
286
|
+
}, {
|
|
287
|
+
message: string;
|
|
288
|
+
error_code: "access_code_inactive";
|
|
289
|
+
is_access_code_error: true;
|
|
290
|
+
created_at?: string | undefined;
|
|
291
|
+
}>, z.ZodObject<{
|
|
292
|
+
message: z.ZodString;
|
|
293
|
+
is_access_code_error: z.ZodLiteral<true>;
|
|
294
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
237
295
|
} & {
|
|
238
296
|
error_code: z.ZodLiteral<"salto_ks_user_not_subscribed">;
|
|
239
297
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -347,6 +405,19 @@ type AccessCodeError = z.infer<typeof access_code_error>;
|
|
|
347
405
|
declare const access_code_warning: z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<{
|
|
348
406
|
message: z.ZodString;
|
|
349
407
|
created_at: z.ZodOptional<z.ZodString>;
|
|
408
|
+
} & {
|
|
409
|
+
warning_code: z.ZodLiteral<"provider_issue">;
|
|
410
|
+
}, "strip", z.ZodTypeAny, {
|
|
411
|
+
message: string;
|
|
412
|
+
warning_code: "provider_issue";
|
|
413
|
+
created_at?: string | undefined;
|
|
414
|
+
}, {
|
|
415
|
+
message: string;
|
|
416
|
+
warning_code: "provider_issue";
|
|
417
|
+
created_at?: string | undefined;
|
|
418
|
+
}>, z.ZodObject<{
|
|
419
|
+
message: z.ZodString;
|
|
420
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
350
421
|
} & {
|
|
351
422
|
warning_code: z.ZodLiteral<"smartthings_failed_to_set_access_code">;
|
|
352
423
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -401,14 +472,40 @@ declare const access_code_warning: z.ZodDiscriminatedUnion<"warning_code", [z.Zo
|
|
|
401
472
|
created_at: z.ZodOptional<z.ZodString>;
|
|
402
473
|
} & {
|
|
403
474
|
warning_code: z.ZodLiteral<"code_modified_external_to_seam">;
|
|
475
|
+
change_type: z.ZodOptional<z.ZodEnum<["modified", "removed"]>>;
|
|
476
|
+
modified_fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
477
|
+
field: z.ZodString;
|
|
478
|
+
from: z.ZodNullable<z.ZodString>;
|
|
479
|
+
to: z.ZodNullable<z.ZodString>;
|
|
480
|
+
}, "strip", z.ZodTypeAny, {
|
|
481
|
+
from: string | null;
|
|
482
|
+
to: string | null;
|
|
483
|
+
field: string;
|
|
484
|
+
}, {
|
|
485
|
+
from: string | null;
|
|
486
|
+
to: string | null;
|
|
487
|
+
field: string;
|
|
488
|
+
}>, "many">>;
|
|
404
489
|
}, "strip", z.ZodTypeAny, {
|
|
405
490
|
message: string;
|
|
406
491
|
warning_code: "code_modified_external_to_seam";
|
|
407
492
|
created_at?: string | undefined;
|
|
493
|
+
change_type?: "modified" | "removed" | undefined;
|
|
494
|
+
modified_fields?: {
|
|
495
|
+
from: string | null;
|
|
496
|
+
to: string | null;
|
|
497
|
+
field: string;
|
|
498
|
+
}[] | undefined;
|
|
408
499
|
}, {
|
|
409
500
|
message: string;
|
|
410
501
|
warning_code: "code_modified_external_to_seam";
|
|
411
502
|
created_at?: string | undefined;
|
|
503
|
+
change_type?: "modified" | "removed" | undefined;
|
|
504
|
+
modified_fields?: {
|
|
505
|
+
from: string | null;
|
|
506
|
+
to: string | null;
|
|
507
|
+
field: string;
|
|
508
|
+
}[] | undefined;
|
|
412
509
|
}>, z.ZodObject<{
|
|
413
510
|
message: z.ZodString;
|
|
414
511
|
created_at: z.ZodOptional<z.ZodString>;
|
|
@@ -569,6 +666,22 @@ declare const access_code: z.ZodObject<{
|
|
|
569
666
|
message: z.ZodString;
|
|
570
667
|
is_access_code_error: z.ZodLiteral<true>;
|
|
571
668
|
created_at: z.ZodOptional<z.ZodString>;
|
|
669
|
+
} & {
|
|
670
|
+
error_code: z.ZodLiteral<"provider_issue">;
|
|
671
|
+
}, "strip", z.ZodTypeAny, {
|
|
672
|
+
message: string;
|
|
673
|
+
error_code: "provider_issue";
|
|
674
|
+
is_access_code_error: true;
|
|
675
|
+
created_at?: string | undefined;
|
|
676
|
+
}, {
|
|
677
|
+
message: string;
|
|
678
|
+
error_code: "provider_issue";
|
|
679
|
+
is_access_code_error: true;
|
|
680
|
+
created_at?: string | undefined;
|
|
681
|
+
}>, z.ZodObject<{
|
|
682
|
+
message: z.ZodString;
|
|
683
|
+
is_access_code_error: z.ZodLiteral<true>;
|
|
684
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
572
685
|
} & {
|
|
573
686
|
error_code: z.ZodLiteral<"smartthings_failed_to_set_access_code">;
|
|
574
687
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -737,16 +850,42 @@ declare const access_code: z.ZodObject<{
|
|
|
737
850
|
created_at: z.ZodOptional<z.ZodString>;
|
|
738
851
|
} & {
|
|
739
852
|
error_code: z.ZodLiteral<"code_modified_external_to_seam">;
|
|
853
|
+
change_type: z.ZodOptional<z.ZodEnum<["modified", "removed"]>>;
|
|
854
|
+
modified_fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
855
|
+
field: z.ZodString;
|
|
856
|
+
from: z.ZodNullable<z.ZodString>;
|
|
857
|
+
to: z.ZodNullable<z.ZodString>;
|
|
858
|
+
}, "strip", z.ZodTypeAny, {
|
|
859
|
+
from: string | null;
|
|
860
|
+
to: string | null;
|
|
861
|
+
field: string;
|
|
862
|
+
}, {
|
|
863
|
+
from: string | null;
|
|
864
|
+
to: string | null;
|
|
865
|
+
field: string;
|
|
866
|
+
}>, "many">>;
|
|
740
867
|
}, "strip", z.ZodTypeAny, {
|
|
741
868
|
message: string;
|
|
742
869
|
error_code: "code_modified_external_to_seam";
|
|
743
870
|
is_access_code_error: true;
|
|
744
871
|
created_at?: string | undefined;
|
|
872
|
+
change_type?: "modified" | "removed" | undefined;
|
|
873
|
+
modified_fields?: {
|
|
874
|
+
from: string | null;
|
|
875
|
+
to: string | null;
|
|
876
|
+
field: string;
|
|
877
|
+
}[] | undefined;
|
|
745
878
|
}, {
|
|
746
879
|
message: string;
|
|
747
880
|
error_code: "code_modified_external_to_seam";
|
|
748
881
|
is_access_code_error: true;
|
|
749
882
|
created_at?: string | undefined;
|
|
883
|
+
change_type?: "modified" | "removed" | undefined;
|
|
884
|
+
modified_fields?: {
|
|
885
|
+
from: string | null;
|
|
886
|
+
to: string | null;
|
|
887
|
+
field: string;
|
|
888
|
+
}[] | undefined;
|
|
750
889
|
}>, z.ZodObject<{
|
|
751
890
|
message: z.ZodString;
|
|
752
891
|
is_access_code_error: z.ZodLiteral<true>;
|
|
@@ -799,6 +938,22 @@ declare const access_code: z.ZodObject<{
|
|
|
799
938
|
message: z.ZodString;
|
|
800
939
|
is_access_code_error: z.ZodLiteral<true>;
|
|
801
940
|
created_at: z.ZodOptional<z.ZodString>;
|
|
941
|
+
} & {
|
|
942
|
+
error_code: z.ZodLiteral<"access_code_inactive">;
|
|
943
|
+
}, "strip", z.ZodTypeAny, {
|
|
944
|
+
message: string;
|
|
945
|
+
error_code: "access_code_inactive";
|
|
946
|
+
is_access_code_error: true;
|
|
947
|
+
created_at?: string | undefined;
|
|
948
|
+
}, {
|
|
949
|
+
message: string;
|
|
950
|
+
error_code: "access_code_inactive";
|
|
951
|
+
is_access_code_error: true;
|
|
952
|
+
created_at?: string | undefined;
|
|
953
|
+
}>, z.ZodObject<{
|
|
954
|
+
message: z.ZodString;
|
|
955
|
+
is_access_code_error: z.ZodLiteral<true>;
|
|
956
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
802
957
|
} & {
|
|
803
958
|
error_code: z.ZodLiteral<"salto_ks_user_not_subscribed">;
|
|
804
959
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1246,6 +1401,19 @@ declare const access_code: z.ZodObject<{
|
|
|
1246
1401
|
warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<{
|
|
1247
1402
|
message: z.ZodString;
|
|
1248
1403
|
created_at: z.ZodOptional<z.ZodString>;
|
|
1404
|
+
} & {
|
|
1405
|
+
warning_code: z.ZodLiteral<"provider_issue">;
|
|
1406
|
+
}, "strip", z.ZodTypeAny, {
|
|
1407
|
+
message: string;
|
|
1408
|
+
warning_code: "provider_issue";
|
|
1409
|
+
created_at?: string | undefined;
|
|
1410
|
+
}, {
|
|
1411
|
+
message: string;
|
|
1412
|
+
warning_code: "provider_issue";
|
|
1413
|
+
created_at?: string | undefined;
|
|
1414
|
+
}>, z.ZodObject<{
|
|
1415
|
+
message: z.ZodString;
|
|
1416
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
1249
1417
|
} & {
|
|
1250
1418
|
warning_code: z.ZodLiteral<"smartthings_failed_to_set_access_code">;
|
|
1251
1419
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1300,14 +1468,40 @@ declare const access_code: z.ZodObject<{
|
|
|
1300
1468
|
created_at: z.ZodOptional<z.ZodString>;
|
|
1301
1469
|
} & {
|
|
1302
1470
|
warning_code: z.ZodLiteral<"code_modified_external_to_seam">;
|
|
1471
|
+
change_type: z.ZodOptional<z.ZodEnum<["modified", "removed"]>>;
|
|
1472
|
+
modified_fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1473
|
+
field: z.ZodString;
|
|
1474
|
+
from: z.ZodNullable<z.ZodString>;
|
|
1475
|
+
to: z.ZodNullable<z.ZodString>;
|
|
1476
|
+
}, "strip", z.ZodTypeAny, {
|
|
1477
|
+
from: string | null;
|
|
1478
|
+
to: string | null;
|
|
1479
|
+
field: string;
|
|
1480
|
+
}, {
|
|
1481
|
+
from: string | null;
|
|
1482
|
+
to: string | null;
|
|
1483
|
+
field: string;
|
|
1484
|
+
}>, "many">>;
|
|
1303
1485
|
}, "strip", z.ZodTypeAny, {
|
|
1304
1486
|
message: string;
|
|
1305
1487
|
warning_code: "code_modified_external_to_seam";
|
|
1306
1488
|
created_at?: string | undefined;
|
|
1489
|
+
change_type?: "modified" | "removed" | undefined;
|
|
1490
|
+
modified_fields?: {
|
|
1491
|
+
from: string | null;
|
|
1492
|
+
to: string | null;
|
|
1493
|
+
field: string;
|
|
1494
|
+
}[] | undefined;
|
|
1307
1495
|
}, {
|
|
1308
1496
|
message: string;
|
|
1309
1497
|
warning_code: "code_modified_external_to_seam";
|
|
1310
1498
|
created_at?: string | undefined;
|
|
1499
|
+
change_type?: "modified" | "removed" | undefined;
|
|
1500
|
+
modified_fields?: {
|
|
1501
|
+
from: string | null;
|
|
1502
|
+
to: string | null;
|
|
1503
|
+
field: string;
|
|
1504
|
+
}[] | undefined;
|
|
1311
1505
|
}>, z.ZodObject<{
|
|
1312
1506
|
message: z.ZodString;
|
|
1313
1507
|
created_at: z.ZodOptional<z.ZodString>;
|
|
@@ -1766,6 +1960,11 @@ declare const access_code: z.ZodObject<{
|
|
|
1766
1960
|
created_at: string;
|
|
1767
1961
|
error_code: "lockly_missing_wifi_bridge";
|
|
1768
1962
|
is_device_error: true;
|
|
1963
|
+
} | {
|
|
1964
|
+
message: string;
|
|
1965
|
+
error_code: "provider_issue";
|
|
1966
|
+
is_access_code_error: true;
|
|
1967
|
+
created_at?: string | undefined;
|
|
1769
1968
|
} | {
|
|
1770
1969
|
message: string;
|
|
1771
1970
|
error_code: "smartthings_failed_to_set_access_code";
|
|
@@ -1781,6 +1980,12 @@ declare const access_code: z.ZodObject<{
|
|
|
1781
1980
|
error_code: "code_modified_external_to_seam";
|
|
1782
1981
|
is_access_code_error: true;
|
|
1783
1982
|
created_at?: string | undefined;
|
|
1983
|
+
change_type?: "modified" | "removed" | undefined;
|
|
1984
|
+
modified_fields?: {
|
|
1985
|
+
from: string | null;
|
|
1986
|
+
to: string | null;
|
|
1987
|
+
field: string;
|
|
1988
|
+
}[] | undefined;
|
|
1784
1989
|
} | {
|
|
1785
1990
|
message: string;
|
|
1786
1991
|
error_code: "failed_to_set_on_device";
|
|
@@ -1843,6 +2048,11 @@ declare const access_code: z.ZodObject<{
|
|
|
1843
2048
|
error_code: "august_lock_missing_keypad";
|
|
1844
2049
|
is_access_code_error: true;
|
|
1845
2050
|
created_at?: string | undefined;
|
|
2051
|
+
} | {
|
|
2052
|
+
message: string;
|
|
2053
|
+
error_code: "access_code_inactive";
|
|
2054
|
+
is_access_code_error: true;
|
|
2055
|
+
created_at?: string | undefined;
|
|
1846
2056
|
} | {
|
|
1847
2057
|
message: string;
|
|
1848
2058
|
error_code: "salto_ks_user_not_subscribed";
|
|
@@ -1886,10 +2096,20 @@ declare const access_code: z.ZodObject<{
|
|
|
1886
2096
|
message: string;
|
|
1887
2097
|
warning_code: "code_modified_external_to_seam";
|
|
1888
2098
|
created_at?: string | undefined;
|
|
2099
|
+
change_type?: "modified" | "removed" | undefined;
|
|
2100
|
+
modified_fields?: {
|
|
2101
|
+
from: string | null;
|
|
2102
|
+
to: string | null;
|
|
2103
|
+
field: string;
|
|
2104
|
+
}[] | undefined;
|
|
1889
2105
|
} | {
|
|
1890
2106
|
message: string;
|
|
1891
2107
|
warning_code: "schlage_detected_duplicate";
|
|
1892
2108
|
created_at?: string | undefined;
|
|
2109
|
+
} | {
|
|
2110
|
+
message: string;
|
|
2111
|
+
warning_code: "provider_issue";
|
|
2112
|
+
created_at?: string | undefined;
|
|
1893
2113
|
} | {
|
|
1894
2114
|
message: string;
|
|
1895
2115
|
warning_code: "schlage_creation_outage";
|
|
@@ -2114,6 +2334,11 @@ declare const access_code: z.ZodObject<{
|
|
|
2114
2334
|
created_at: string;
|
|
2115
2335
|
error_code: "lockly_missing_wifi_bridge";
|
|
2116
2336
|
is_device_error: true;
|
|
2337
|
+
} | {
|
|
2338
|
+
message: string;
|
|
2339
|
+
error_code: "provider_issue";
|
|
2340
|
+
is_access_code_error: true;
|
|
2341
|
+
created_at?: string | undefined;
|
|
2117
2342
|
} | {
|
|
2118
2343
|
message: string;
|
|
2119
2344
|
error_code: "smartthings_failed_to_set_access_code";
|
|
@@ -2129,6 +2354,12 @@ declare const access_code: z.ZodObject<{
|
|
|
2129
2354
|
error_code: "code_modified_external_to_seam";
|
|
2130
2355
|
is_access_code_error: true;
|
|
2131
2356
|
created_at?: string | undefined;
|
|
2357
|
+
change_type?: "modified" | "removed" | undefined;
|
|
2358
|
+
modified_fields?: {
|
|
2359
|
+
from: string | null;
|
|
2360
|
+
to: string | null;
|
|
2361
|
+
field: string;
|
|
2362
|
+
}[] | undefined;
|
|
2132
2363
|
} | {
|
|
2133
2364
|
message: string;
|
|
2134
2365
|
error_code: "failed_to_set_on_device";
|
|
@@ -2191,6 +2422,11 @@ declare const access_code: z.ZodObject<{
|
|
|
2191
2422
|
error_code: "august_lock_missing_keypad";
|
|
2192
2423
|
is_access_code_error: true;
|
|
2193
2424
|
created_at?: string | undefined;
|
|
2425
|
+
} | {
|
|
2426
|
+
message: string;
|
|
2427
|
+
error_code: "access_code_inactive";
|
|
2428
|
+
is_access_code_error: true;
|
|
2429
|
+
created_at?: string | undefined;
|
|
2194
2430
|
} | {
|
|
2195
2431
|
message: string;
|
|
2196
2432
|
error_code: "salto_ks_user_not_subscribed";
|
|
@@ -2234,10 +2470,20 @@ declare const access_code: z.ZodObject<{
|
|
|
2234
2470
|
message: string;
|
|
2235
2471
|
warning_code: "code_modified_external_to_seam";
|
|
2236
2472
|
created_at?: string | undefined;
|
|
2473
|
+
change_type?: "modified" | "removed" | undefined;
|
|
2474
|
+
modified_fields?: {
|
|
2475
|
+
from: string | null;
|
|
2476
|
+
to: string | null;
|
|
2477
|
+
field: string;
|
|
2478
|
+
}[] | undefined;
|
|
2237
2479
|
} | {
|
|
2238
2480
|
message: string;
|
|
2239
2481
|
warning_code: "schlage_detected_duplicate";
|
|
2240
2482
|
created_at?: string | undefined;
|
|
2483
|
+
} | {
|
|
2484
|
+
message: string;
|
|
2485
|
+
warning_code: "provider_issue";
|
|
2486
|
+
created_at?: string | undefined;
|
|
2241
2487
|
} | {
|
|
2242
2488
|
message: string;
|
|
2243
2489
|
warning_code: "schlage_creation_outage";
|
|
@@ -2372,6 +2618,22 @@ declare const unmanaged_access_code: z.ZodObject<{
|
|
|
2372
2618
|
message: z.ZodString;
|
|
2373
2619
|
is_access_code_error: z.ZodLiteral<true>;
|
|
2374
2620
|
created_at: z.ZodOptional<z.ZodString>;
|
|
2621
|
+
} & {
|
|
2622
|
+
error_code: z.ZodLiteral<"provider_issue">;
|
|
2623
|
+
}, "strip", z.ZodTypeAny, {
|
|
2624
|
+
message: string;
|
|
2625
|
+
error_code: "provider_issue";
|
|
2626
|
+
is_access_code_error: true;
|
|
2627
|
+
created_at?: string | undefined;
|
|
2628
|
+
}, {
|
|
2629
|
+
message: string;
|
|
2630
|
+
error_code: "provider_issue";
|
|
2631
|
+
is_access_code_error: true;
|
|
2632
|
+
created_at?: string | undefined;
|
|
2633
|
+
}>, z.ZodObject<{
|
|
2634
|
+
message: z.ZodString;
|
|
2635
|
+
is_access_code_error: z.ZodLiteral<true>;
|
|
2636
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
2375
2637
|
} & {
|
|
2376
2638
|
error_code: z.ZodLiteral<"smartthings_failed_to_set_access_code">;
|
|
2377
2639
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2540,16 +2802,42 @@ declare const unmanaged_access_code: z.ZodObject<{
|
|
|
2540
2802
|
created_at: z.ZodOptional<z.ZodString>;
|
|
2541
2803
|
} & {
|
|
2542
2804
|
error_code: z.ZodLiteral<"code_modified_external_to_seam">;
|
|
2805
|
+
change_type: z.ZodOptional<z.ZodEnum<["modified", "removed"]>>;
|
|
2806
|
+
modified_fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2807
|
+
field: z.ZodString;
|
|
2808
|
+
from: z.ZodNullable<z.ZodString>;
|
|
2809
|
+
to: z.ZodNullable<z.ZodString>;
|
|
2810
|
+
}, "strip", z.ZodTypeAny, {
|
|
2811
|
+
from: string | null;
|
|
2812
|
+
to: string | null;
|
|
2813
|
+
field: string;
|
|
2814
|
+
}, {
|
|
2815
|
+
from: string | null;
|
|
2816
|
+
to: string | null;
|
|
2817
|
+
field: string;
|
|
2818
|
+
}>, "many">>;
|
|
2543
2819
|
}, "strip", z.ZodTypeAny, {
|
|
2544
2820
|
message: string;
|
|
2545
2821
|
error_code: "code_modified_external_to_seam";
|
|
2546
2822
|
is_access_code_error: true;
|
|
2547
2823
|
created_at?: string | undefined;
|
|
2824
|
+
change_type?: "modified" | "removed" | undefined;
|
|
2825
|
+
modified_fields?: {
|
|
2826
|
+
from: string | null;
|
|
2827
|
+
to: string | null;
|
|
2828
|
+
field: string;
|
|
2829
|
+
}[] | undefined;
|
|
2548
2830
|
}, {
|
|
2549
2831
|
message: string;
|
|
2550
2832
|
error_code: "code_modified_external_to_seam";
|
|
2551
2833
|
is_access_code_error: true;
|
|
2552
2834
|
created_at?: string | undefined;
|
|
2835
|
+
change_type?: "modified" | "removed" | undefined;
|
|
2836
|
+
modified_fields?: {
|
|
2837
|
+
from: string | null;
|
|
2838
|
+
to: string | null;
|
|
2839
|
+
field: string;
|
|
2840
|
+
}[] | undefined;
|
|
2553
2841
|
}>, z.ZodObject<{
|
|
2554
2842
|
message: z.ZodString;
|
|
2555
2843
|
is_access_code_error: z.ZodLiteral<true>;
|
|
@@ -2602,6 +2890,22 @@ declare const unmanaged_access_code: z.ZodObject<{
|
|
|
2602
2890
|
message: z.ZodString;
|
|
2603
2891
|
is_access_code_error: z.ZodLiteral<true>;
|
|
2604
2892
|
created_at: z.ZodOptional<z.ZodString>;
|
|
2893
|
+
} & {
|
|
2894
|
+
error_code: z.ZodLiteral<"access_code_inactive">;
|
|
2895
|
+
}, "strip", z.ZodTypeAny, {
|
|
2896
|
+
message: string;
|
|
2897
|
+
error_code: "access_code_inactive";
|
|
2898
|
+
is_access_code_error: true;
|
|
2899
|
+
created_at?: string | undefined;
|
|
2900
|
+
}, {
|
|
2901
|
+
message: string;
|
|
2902
|
+
error_code: "access_code_inactive";
|
|
2903
|
+
is_access_code_error: true;
|
|
2904
|
+
created_at?: string | undefined;
|
|
2905
|
+
}>, z.ZodObject<{
|
|
2906
|
+
message: z.ZodString;
|
|
2907
|
+
is_access_code_error: z.ZodLiteral<true>;
|
|
2908
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
2605
2909
|
} & {
|
|
2606
2910
|
error_code: z.ZodLiteral<"salto_ks_user_not_subscribed">;
|
|
2607
2911
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -3049,6 +3353,19 @@ declare const unmanaged_access_code: z.ZodObject<{
|
|
|
3049
3353
|
warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<{
|
|
3050
3354
|
message: z.ZodString;
|
|
3051
3355
|
created_at: z.ZodOptional<z.ZodString>;
|
|
3356
|
+
} & {
|
|
3357
|
+
warning_code: z.ZodLiteral<"provider_issue">;
|
|
3358
|
+
}, "strip", z.ZodTypeAny, {
|
|
3359
|
+
message: string;
|
|
3360
|
+
warning_code: "provider_issue";
|
|
3361
|
+
created_at?: string | undefined;
|
|
3362
|
+
}, {
|
|
3363
|
+
message: string;
|
|
3364
|
+
warning_code: "provider_issue";
|
|
3365
|
+
created_at?: string | undefined;
|
|
3366
|
+
}>, z.ZodObject<{
|
|
3367
|
+
message: z.ZodString;
|
|
3368
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
3052
3369
|
} & {
|
|
3053
3370
|
warning_code: z.ZodLiteral<"smartthings_failed_to_set_access_code">;
|
|
3054
3371
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -3103,14 +3420,40 @@ declare const unmanaged_access_code: z.ZodObject<{
|
|
|
3103
3420
|
created_at: z.ZodOptional<z.ZodString>;
|
|
3104
3421
|
} & {
|
|
3105
3422
|
warning_code: z.ZodLiteral<"code_modified_external_to_seam">;
|
|
3423
|
+
change_type: z.ZodOptional<z.ZodEnum<["modified", "removed"]>>;
|
|
3424
|
+
modified_fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3425
|
+
field: z.ZodString;
|
|
3426
|
+
from: z.ZodNullable<z.ZodString>;
|
|
3427
|
+
to: z.ZodNullable<z.ZodString>;
|
|
3428
|
+
}, "strip", z.ZodTypeAny, {
|
|
3429
|
+
from: string | null;
|
|
3430
|
+
to: string | null;
|
|
3431
|
+
field: string;
|
|
3432
|
+
}, {
|
|
3433
|
+
from: string | null;
|
|
3434
|
+
to: string | null;
|
|
3435
|
+
field: string;
|
|
3436
|
+
}>, "many">>;
|
|
3106
3437
|
}, "strip", z.ZodTypeAny, {
|
|
3107
3438
|
message: string;
|
|
3108
3439
|
warning_code: "code_modified_external_to_seam";
|
|
3109
3440
|
created_at?: string | undefined;
|
|
3441
|
+
change_type?: "modified" | "removed" | undefined;
|
|
3442
|
+
modified_fields?: {
|
|
3443
|
+
from: string | null;
|
|
3444
|
+
to: string | null;
|
|
3445
|
+
field: string;
|
|
3446
|
+
}[] | undefined;
|
|
3110
3447
|
}, {
|
|
3111
3448
|
message: string;
|
|
3112
3449
|
warning_code: "code_modified_external_to_seam";
|
|
3113
3450
|
created_at?: string | undefined;
|
|
3451
|
+
change_type?: "modified" | "removed" | undefined;
|
|
3452
|
+
modified_fields?: {
|
|
3453
|
+
from: string | null;
|
|
3454
|
+
to: string | null;
|
|
3455
|
+
field: string;
|
|
3456
|
+
}[] | undefined;
|
|
3114
3457
|
}>, z.ZodObject<{
|
|
3115
3458
|
message: z.ZodString;
|
|
3116
3459
|
created_at: z.ZodOptional<z.ZodString>;
|
|
@@ -3395,6 +3738,11 @@ declare const unmanaged_access_code: z.ZodObject<{
|
|
|
3395
3738
|
created_at: string;
|
|
3396
3739
|
error_code: "lockly_missing_wifi_bridge";
|
|
3397
3740
|
is_device_error: true;
|
|
3741
|
+
} | {
|
|
3742
|
+
message: string;
|
|
3743
|
+
error_code: "provider_issue";
|
|
3744
|
+
is_access_code_error: true;
|
|
3745
|
+
created_at?: string | undefined;
|
|
3398
3746
|
} | {
|
|
3399
3747
|
message: string;
|
|
3400
3748
|
error_code: "smartthings_failed_to_set_access_code";
|
|
@@ -3410,6 +3758,12 @@ declare const unmanaged_access_code: z.ZodObject<{
|
|
|
3410
3758
|
error_code: "code_modified_external_to_seam";
|
|
3411
3759
|
is_access_code_error: true;
|
|
3412
3760
|
created_at?: string | undefined;
|
|
3761
|
+
change_type?: "modified" | "removed" | undefined;
|
|
3762
|
+
modified_fields?: {
|
|
3763
|
+
from: string | null;
|
|
3764
|
+
to: string | null;
|
|
3765
|
+
field: string;
|
|
3766
|
+
}[] | undefined;
|
|
3413
3767
|
} | {
|
|
3414
3768
|
message: string;
|
|
3415
3769
|
error_code: "failed_to_set_on_device";
|
|
@@ -3472,6 +3826,11 @@ declare const unmanaged_access_code: z.ZodObject<{
|
|
|
3472
3826
|
error_code: "august_lock_missing_keypad";
|
|
3473
3827
|
is_access_code_error: true;
|
|
3474
3828
|
created_at?: string | undefined;
|
|
3829
|
+
} | {
|
|
3830
|
+
message: string;
|
|
3831
|
+
error_code: "access_code_inactive";
|
|
3832
|
+
is_access_code_error: true;
|
|
3833
|
+
created_at?: string | undefined;
|
|
3475
3834
|
} | {
|
|
3476
3835
|
message: string;
|
|
3477
3836
|
error_code: "salto_ks_user_not_subscribed";
|
|
@@ -3515,10 +3874,20 @@ declare const unmanaged_access_code: z.ZodObject<{
|
|
|
3515
3874
|
message: string;
|
|
3516
3875
|
warning_code: "code_modified_external_to_seam";
|
|
3517
3876
|
created_at?: string | undefined;
|
|
3877
|
+
change_type?: "modified" | "removed" | undefined;
|
|
3878
|
+
modified_fields?: {
|
|
3879
|
+
from: string | null;
|
|
3880
|
+
to: string | null;
|
|
3881
|
+
field: string;
|
|
3882
|
+
}[] | undefined;
|
|
3518
3883
|
} | {
|
|
3519
3884
|
message: string;
|
|
3520
3885
|
warning_code: "schlage_detected_duplicate";
|
|
3521
3886
|
created_at?: string | undefined;
|
|
3887
|
+
} | {
|
|
3888
|
+
message: string;
|
|
3889
|
+
warning_code: "provider_issue";
|
|
3890
|
+
created_at?: string | undefined;
|
|
3522
3891
|
} | {
|
|
3523
3892
|
message: string;
|
|
3524
3893
|
warning_code: "schlage_creation_outage";
|
|
@@ -3690,6 +4059,11 @@ declare const unmanaged_access_code: z.ZodObject<{
|
|
|
3690
4059
|
created_at: string;
|
|
3691
4060
|
error_code: "lockly_missing_wifi_bridge";
|
|
3692
4061
|
is_device_error: true;
|
|
4062
|
+
} | {
|
|
4063
|
+
message: string;
|
|
4064
|
+
error_code: "provider_issue";
|
|
4065
|
+
is_access_code_error: true;
|
|
4066
|
+
created_at?: string | undefined;
|
|
3693
4067
|
} | {
|
|
3694
4068
|
message: string;
|
|
3695
4069
|
error_code: "smartthings_failed_to_set_access_code";
|
|
@@ -3705,6 +4079,12 @@ declare const unmanaged_access_code: z.ZodObject<{
|
|
|
3705
4079
|
error_code: "code_modified_external_to_seam";
|
|
3706
4080
|
is_access_code_error: true;
|
|
3707
4081
|
created_at?: string | undefined;
|
|
4082
|
+
change_type?: "modified" | "removed" | undefined;
|
|
4083
|
+
modified_fields?: {
|
|
4084
|
+
from: string | null;
|
|
4085
|
+
to: string | null;
|
|
4086
|
+
field: string;
|
|
4087
|
+
}[] | undefined;
|
|
3708
4088
|
} | {
|
|
3709
4089
|
message: string;
|
|
3710
4090
|
error_code: "failed_to_set_on_device";
|
|
@@ -3767,6 +4147,11 @@ declare const unmanaged_access_code: z.ZodObject<{
|
|
|
3767
4147
|
error_code: "august_lock_missing_keypad";
|
|
3768
4148
|
is_access_code_error: true;
|
|
3769
4149
|
created_at?: string | undefined;
|
|
4150
|
+
} | {
|
|
4151
|
+
message: string;
|
|
4152
|
+
error_code: "access_code_inactive";
|
|
4153
|
+
is_access_code_error: true;
|
|
4154
|
+
created_at?: string | undefined;
|
|
3770
4155
|
} | {
|
|
3771
4156
|
message: string;
|
|
3772
4157
|
error_code: "salto_ks_user_not_subscribed";
|
|
@@ -3810,10 +4195,20 @@ declare const unmanaged_access_code: z.ZodObject<{
|
|
|
3810
4195
|
message: string;
|
|
3811
4196
|
warning_code: "code_modified_external_to_seam";
|
|
3812
4197
|
created_at?: string | undefined;
|
|
4198
|
+
change_type?: "modified" | "removed" | undefined;
|
|
4199
|
+
modified_fields?: {
|
|
4200
|
+
from: string | null;
|
|
4201
|
+
to: string | null;
|
|
4202
|
+
field: string;
|
|
4203
|
+
}[] | undefined;
|
|
3813
4204
|
} | {
|
|
3814
4205
|
message: string;
|
|
3815
4206
|
warning_code: "schlage_detected_duplicate";
|
|
3816
4207
|
created_at?: string | undefined;
|
|
4208
|
+
} | {
|
|
4209
|
+
message: string;
|
|
4210
|
+
warning_code: "provider_issue";
|
|
4211
|
+
created_at?: string | undefined;
|
|
3817
4212
|
} | {
|
|
3818
4213
|
message: string;
|
|
3819
4214
|
warning_code: "schlage_creation_outage";
|
|
@@ -36529,6 +36924,22 @@ declare const batch: z.ZodObject<{
|
|
|
36529
36924
|
message: z.ZodString;
|
|
36530
36925
|
is_access_code_error: z.ZodLiteral<true>;
|
|
36531
36926
|
created_at: z.ZodOptional<z.ZodString>;
|
|
36927
|
+
} & {
|
|
36928
|
+
error_code: z.ZodLiteral<"provider_issue">;
|
|
36929
|
+
}, "strip", z.ZodTypeAny, {
|
|
36930
|
+
message: string;
|
|
36931
|
+
error_code: "provider_issue";
|
|
36932
|
+
is_access_code_error: true;
|
|
36933
|
+
created_at?: string | undefined;
|
|
36934
|
+
}, {
|
|
36935
|
+
message: string;
|
|
36936
|
+
error_code: "provider_issue";
|
|
36937
|
+
is_access_code_error: true;
|
|
36938
|
+
created_at?: string | undefined;
|
|
36939
|
+
}>, z.ZodObject<{
|
|
36940
|
+
message: z.ZodString;
|
|
36941
|
+
is_access_code_error: z.ZodLiteral<true>;
|
|
36942
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
36532
36943
|
} & {
|
|
36533
36944
|
error_code: z.ZodLiteral<"smartthings_failed_to_set_access_code">;
|
|
36534
36945
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -36697,16 +37108,42 @@ declare const batch: z.ZodObject<{
|
|
|
36697
37108
|
created_at: z.ZodOptional<z.ZodString>;
|
|
36698
37109
|
} & {
|
|
36699
37110
|
error_code: z.ZodLiteral<"code_modified_external_to_seam">;
|
|
37111
|
+
change_type: z.ZodOptional<z.ZodEnum<["modified", "removed"]>>;
|
|
37112
|
+
modified_fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
37113
|
+
field: z.ZodString;
|
|
37114
|
+
from: z.ZodNullable<z.ZodString>;
|
|
37115
|
+
to: z.ZodNullable<z.ZodString>;
|
|
37116
|
+
}, "strip", z.ZodTypeAny, {
|
|
37117
|
+
from: string | null;
|
|
37118
|
+
to: string | null;
|
|
37119
|
+
field: string;
|
|
37120
|
+
}, {
|
|
37121
|
+
from: string | null;
|
|
37122
|
+
to: string | null;
|
|
37123
|
+
field: string;
|
|
37124
|
+
}>, "many">>;
|
|
36700
37125
|
}, "strip", z.ZodTypeAny, {
|
|
36701
37126
|
message: string;
|
|
36702
37127
|
error_code: "code_modified_external_to_seam";
|
|
36703
37128
|
is_access_code_error: true;
|
|
36704
37129
|
created_at?: string | undefined;
|
|
37130
|
+
change_type?: "modified" | "removed" | undefined;
|
|
37131
|
+
modified_fields?: {
|
|
37132
|
+
from: string | null;
|
|
37133
|
+
to: string | null;
|
|
37134
|
+
field: string;
|
|
37135
|
+
}[] | undefined;
|
|
36705
37136
|
}, {
|
|
36706
37137
|
message: string;
|
|
36707
37138
|
error_code: "code_modified_external_to_seam";
|
|
36708
37139
|
is_access_code_error: true;
|
|
36709
37140
|
created_at?: string | undefined;
|
|
37141
|
+
change_type?: "modified" | "removed" | undefined;
|
|
37142
|
+
modified_fields?: {
|
|
37143
|
+
from: string | null;
|
|
37144
|
+
to: string | null;
|
|
37145
|
+
field: string;
|
|
37146
|
+
}[] | undefined;
|
|
36710
37147
|
}>, z.ZodObject<{
|
|
36711
37148
|
message: z.ZodString;
|
|
36712
37149
|
is_access_code_error: z.ZodLiteral<true>;
|
|
@@ -36759,6 +37196,22 @@ declare const batch: z.ZodObject<{
|
|
|
36759
37196
|
message: z.ZodString;
|
|
36760
37197
|
is_access_code_error: z.ZodLiteral<true>;
|
|
36761
37198
|
created_at: z.ZodOptional<z.ZodString>;
|
|
37199
|
+
} & {
|
|
37200
|
+
error_code: z.ZodLiteral<"access_code_inactive">;
|
|
37201
|
+
}, "strip", z.ZodTypeAny, {
|
|
37202
|
+
message: string;
|
|
37203
|
+
error_code: "access_code_inactive";
|
|
37204
|
+
is_access_code_error: true;
|
|
37205
|
+
created_at?: string | undefined;
|
|
37206
|
+
}, {
|
|
37207
|
+
message: string;
|
|
37208
|
+
error_code: "access_code_inactive";
|
|
37209
|
+
is_access_code_error: true;
|
|
37210
|
+
created_at?: string | undefined;
|
|
37211
|
+
}>, z.ZodObject<{
|
|
37212
|
+
message: z.ZodString;
|
|
37213
|
+
is_access_code_error: z.ZodLiteral<true>;
|
|
37214
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
36762
37215
|
} & {
|
|
36763
37216
|
error_code: z.ZodLiteral<"salto_ks_user_not_subscribed">;
|
|
36764
37217
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -37206,6 +37659,19 @@ declare const batch: z.ZodObject<{
|
|
|
37206
37659
|
warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<{
|
|
37207
37660
|
message: z.ZodString;
|
|
37208
37661
|
created_at: z.ZodOptional<z.ZodString>;
|
|
37662
|
+
} & {
|
|
37663
|
+
warning_code: z.ZodLiteral<"provider_issue">;
|
|
37664
|
+
}, "strip", z.ZodTypeAny, {
|
|
37665
|
+
message: string;
|
|
37666
|
+
warning_code: "provider_issue";
|
|
37667
|
+
created_at?: string | undefined;
|
|
37668
|
+
}, {
|
|
37669
|
+
message: string;
|
|
37670
|
+
warning_code: "provider_issue";
|
|
37671
|
+
created_at?: string | undefined;
|
|
37672
|
+
}>, z.ZodObject<{
|
|
37673
|
+
message: z.ZodString;
|
|
37674
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
37209
37675
|
} & {
|
|
37210
37676
|
warning_code: z.ZodLiteral<"smartthings_failed_to_set_access_code">;
|
|
37211
37677
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -37260,14 +37726,40 @@ declare const batch: z.ZodObject<{
|
|
|
37260
37726
|
created_at: z.ZodOptional<z.ZodString>;
|
|
37261
37727
|
} & {
|
|
37262
37728
|
warning_code: z.ZodLiteral<"code_modified_external_to_seam">;
|
|
37729
|
+
change_type: z.ZodOptional<z.ZodEnum<["modified", "removed"]>>;
|
|
37730
|
+
modified_fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
37731
|
+
field: z.ZodString;
|
|
37732
|
+
from: z.ZodNullable<z.ZodString>;
|
|
37733
|
+
to: z.ZodNullable<z.ZodString>;
|
|
37734
|
+
}, "strip", z.ZodTypeAny, {
|
|
37735
|
+
from: string | null;
|
|
37736
|
+
to: string | null;
|
|
37737
|
+
field: string;
|
|
37738
|
+
}, {
|
|
37739
|
+
from: string | null;
|
|
37740
|
+
to: string | null;
|
|
37741
|
+
field: string;
|
|
37742
|
+
}>, "many">>;
|
|
37263
37743
|
}, "strip", z.ZodTypeAny, {
|
|
37264
37744
|
message: string;
|
|
37265
37745
|
warning_code: "code_modified_external_to_seam";
|
|
37266
37746
|
created_at?: string | undefined;
|
|
37747
|
+
change_type?: "modified" | "removed" | undefined;
|
|
37748
|
+
modified_fields?: {
|
|
37749
|
+
from: string | null;
|
|
37750
|
+
to: string | null;
|
|
37751
|
+
field: string;
|
|
37752
|
+
}[] | undefined;
|
|
37267
37753
|
}, {
|
|
37268
37754
|
message: string;
|
|
37269
37755
|
warning_code: "code_modified_external_to_seam";
|
|
37270
37756
|
created_at?: string | undefined;
|
|
37757
|
+
change_type?: "modified" | "removed" | undefined;
|
|
37758
|
+
modified_fields?: {
|
|
37759
|
+
from: string | null;
|
|
37760
|
+
to: string | null;
|
|
37761
|
+
field: string;
|
|
37762
|
+
}[] | undefined;
|
|
37271
37763
|
}>, z.ZodObject<{
|
|
37272
37764
|
message: z.ZodString;
|
|
37273
37765
|
created_at: z.ZodOptional<z.ZodString>;
|
|
@@ -37726,6 +38218,11 @@ declare const batch: z.ZodObject<{
|
|
|
37726
38218
|
created_at: string;
|
|
37727
38219
|
error_code: "lockly_missing_wifi_bridge";
|
|
37728
38220
|
is_device_error: true;
|
|
38221
|
+
} | {
|
|
38222
|
+
message: string;
|
|
38223
|
+
error_code: "provider_issue";
|
|
38224
|
+
is_access_code_error: true;
|
|
38225
|
+
created_at?: string | undefined;
|
|
37729
38226
|
} | {
|
|
37730
38227
|
message: string;
|
|
37731
38228
|
error_code: "smartthings_failed_to_set_access_code";
|
|
@@ -37741,6 +38238,12 @@ declare const batch: z.ZodObject<{
|
|
|
37741
38238
|
error_code: "code_modified_external_to_seam";
|
|
37742
38239
|
is_access_code_error: true;
|
|
37743
38240
|
created_at?: string | undefined;
|
|
38241
|
+
change_type?: "modified" | "removed" | undefined;
|
|
38242
|
+
modified_fields?: {
|
|
38243
|
+
from: string | null;
|
|
38244
|
+
to: string | null;
|
|
38245
|
+
field: string;
|
|
38246
|
+
}[] | undefined;
|
|
37744
38247
|
} | {
|
|
37745
38248
|
message: string;
|
|
37746
38249
|
error_code: "failed_to_set_on_device";
|
|
@@ -37803,6 +38306,11 @@ declare const batch: z.ZodObject<{
|
|
|
37803
38306
|
error_code: "august_lock_missing_keypad";
|
|
37804
38307
|
is_access_code_error: true;
|
|
37805
38308
|
created_at?: string | undefined;
|
|
38309
|
+
} | {
|
|
38310
|
+
message: string;
|
|
38311
|
+
error_code: "access_code_inactive";
|
|
38312
|
+
is_access_code_error: true;
|
|
38313
|
+
created_at?: string | undefined;
|
|
37806
38314
|
} | {
|
|
37807
38315
|
message: string;
|
|
37808
38316
|
error_code: "salto_ks_user_not_subscribed";
|
|
@@ -37846,10 +38354,20 @@ declare const batch: z.ZodObject<{
|
|
|
37846
38354
|
message: string;
|
|
37847
38355
|
warning_code: "code_modified_external_to_seam";
|
|
37848
38356
|
created_at?: string | undefined;
|
|
38357
|
+
change_type?: "modified" | "removed" | undefined;
|
|
38358
|
+
modified_fields?: {
|
|
38359
|
+
from: string | null;
|
|
38360
|
+
to: string | null;
|
|
38361
|
+
field: string;
|
|
38362
|
+
}[] | undefined;
|
|
37849
38363
|
} | {
|
|
37850
38364
|
message: string;
|
|
37851
38365
|
warning_code: "schlage_detected_duplicate";
|
|
37852
38366
|
created_at?: string | undefined;
|
|
38367
|
+
} | {
|
|
38368
|
+
message: string;
|
|
38369
|
+
warning_code: "provider_issue";
|
|
38370
|
+
created_at?: string | undefined;
|
|
37853
38371
|
} | {
|
|
37854
38372
|
message: string;
|
|
37855
38373
|
warning_code: "schlage_creation_outage";
|
|
@@ -38074,6 +38592,11 @@ declare const batch: z.ZodObject<{
|
|
|
38074
38592
|
created_at: string;
|
|
38075
38593
|
error_code: "lockly_missing_wifi_bridge";
|
|
38076
38594
|
is_device_error: true;
|
|
38595
|
+
} | {
|
|
38596
|
+
message: string;
|
|
38597
|
+
error_code: "provider_issue";
|
|
38598
|
+
is_access_code_error: true;
|
|
38599
|
+
created_at?: string | undefined;
|
|
38077
38600
|
} | {
|
|
38078
38601
|
message: string;
|
|
38079
38602
|
error_code: "smartthings_failed_to_set_access_code";
|
|
@@ -38089,6 +38612,12 @@ declare const batch: z.ZodObject<{
|
|
|
38089
38612
|
error_code: "code_modified_external_to_seam";
|
|
38090
38613
|
is_access_code_error: true;
|
|
38091
38614
|
created_at?: string | undefined;
|
|
38615
|
+
change_type?: "modified" | "removed" | undefined;
|
|
38616
|
+
modified_fields?: {
|
|
38617
|
+
from: string | null;
|
|
38618
|
+
to: string | null;
|
|
38619
|
+
field: string;
|
|
38620
|
+
}[] | undefined;
|
|
38092
38621
|
} | {
|
|
38093
38622
|
message: string;
|
|
38094
38623
|
error_code: "failed_to_set_on_device";
|
|
@@ -38151,6 +38680,11 @@ declare const batch: z.ZodObject<{
|
|
|
38151
38680
|
error_code: "august_lock_missing_keypad";
|
|
38152
38681
|
is_access_code_error: true;
|
|
38153
38682
|
created_at?: string | undefined;
|
|
38683
|
+
} | {
|
|
38684
|
+
message: string;
|
|
38685
|
+
error_code: "access_code_inactive";
|
|
38686
|
+
is_access_code_error: true;
|
|
38687
|
+
created_at?: string | undefined;
|
|
38154
38688
|
} | {
|
|
38155
38689
|
message: string;
|
|
38156
38690
|
error_code: "salto_ks_user_not_subscribed";
|
|
@@ -38194,10 +38728,20 @@ declare const batch: z.ZodObject<{
|
|
|
38194
38728
|
message: string;
|
|
38195
38729
|
warning_code: "code_modified_external_to_seam";
|
|
38196
38730
|
created_at?: string | undefined;
|
|
38731
|
+
change_type?: "modified" | "removed" | undefined;
|
|
38732
|
+
modified_fields?: {
|
|
38733
|
+
from: string | null;
|
|
38734
|
+
to: string | null;
|
|
38735
|
+
field: string;
|
|
38736
|
+
}[] | undefined;
|
|
38197
38737
|
} | {
|
|
38198
38738
|
message: string;
|
|
38199
38739
|
warning_code: "schlage_detected_duplicate";
|
|
38200
38740
|
created_at?: string | undefined;
|
|
38741
|
+
} | {
|
|
38742
|
+
message: string;
|
|
38743
|
+
warning_code: "provider_issue";
|
|
38744
|
+
created_at?: string | undefined;
|
|
38201
38745
|
} | {
|
|
38202
38746
|
message: string;
|
|
38203
38747
|
warning_code: "schlage_creation_outage";
|
|
@@ -38330,6 +38874,22 @@ declare const batch: z.ZodObject<{
|
|
|
38330
38874
|
message: z.ZodString;
|
|
38331
38875
|
is_access_code_error: z.ZodLiteral<true>;
|
|
38332
38876
|
created_at: z.ZodOptional<z.ZodString>;
|
|
38877
|
+
} & {
|
|
38878
|
+
error_code: z.ZodLiteral<"provider_issue">;
|
|
38879
|
+
}, "strip", z.ZodTypeAny, {
|
|
38880
|
+
message: string;
|
|
38881
|
+
error_code: "provider_issue";
|
|
38882
|
+
is_access_code_error: true;
|
|
38883
|
+
created_at?: string | undefined;
|
|
38884
|
+
}, {
|
|
38885
|
+
message: string;
|
|
38886
|
+
error_code: "provider_issue";
|
|
38887
|
+
is_access_code_error: true;
|
|
38888
|
+
created_at?: string | undefined;
|
|
38889
|
+
}>, z.ZodObject<{
|
|
38890
|
+
message: z.ZodString;
|
|
38891
|
+
is_access_code_error: z.ZodLiteral<true>;
|
|
38892
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
38333
38893
|
} & {
|
|
38334
38894
|
error_code: z.ZodLiteral<"smartthings_failed_to_set_access_code">;
|
|
38335
38895
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -38498,16 +39058,42 @@ declare const batch: z.ZodObject<{
|
|
|
38498
39058
|
created_at: z.ZodOptional<z.ZodString>;
|
|
38499
39059
|
} & {
|
|
38500
39060
|
error_code: z.ZodLiteral<"code_modified_external_to_seam">;
|
|
39061
|
+
change_type: z.ZodOptional<z.ZodEnum<["modified", "removed"]>>;
|
|
39062
|
+
modified_fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
39063
|
+
field: z.ZodString;
|
|
39064
|
+
from: z.ZodNullable<z.ZodString>;
|
|
39065
|
+
to: z.ZodNullable<z.ZodString>;
|
|
39066
|
+
}, "strip", z.ZodTypeAny, {
|
|
39067
|
+
from: string | null;
|
|
39068
|
+
to: string | null;
|
|
39069
|
+
field: string;
|
|
39070
|
+
}, {
|
|
39071
|
+
from: string | null;
|
|
39072
|
+
to: string | null;
|
|
39073
|
+
field: string;
|
|
39074
|
+
}>, "many">>;
|
|
38501
39075
|
}, "strip", z.ZodTypeAny, {
|
|
38502
39076
|
message: string;
|
|
38503
39077
|
error_code: "code_modified_external_to_seam";
|
|
38504
39078
|
is_access_code_error: true;
|
|
38505
39079
|
created_at?: string | undefined;
|
|
39080
|
+
change_type?: "modified" | "removed" | undefined;
|
|
39081
|
+
modified_fields?: {
|
|
39082
|
+
from: string | null;
|
|
39083
|
+
to: string | null;
|
|
39084
|
+
field: string;
|
|
39085
|
+
}[] | undefined;
|
|
38506
39086
|
}, {
|
|
38507
39087
|
message: string;
|
|
38508
39088
|
error_code: "code_modified_external_to_seam";
|
|
38509
39089
|
is_access_code_error: true;
|
|
38510
39090
|
created_at?: string | undefined;
|
|
39091
|
+
change_type?: "modified" | "removed" | undefined;
|
|
39092
|
+
modified_fields?: {
|
|
39093
|
+
from: string | null;
|
|
39094
|
+
to: string | null;
|
|
39095
|
+
field: string;
|
|
39096
|
+
}[] | undefined;
|
|
38511
39097
|
}>, z.ZodObject<{
|
|
38512
39098
|
message: z.ZodString;
|
|
38513
39099
|
is_access_code_error: z.ZodLiteral<true>;
|
|
@@ -38560,6 +39146,22 @@ declare const batch: z.ZodObject<{
|
|
|
38560
39146
|
message: z.ZodString;
|
|
38561
39147
|
is_access_code_error: z.ZodLiteral<true>;
|
|
38562
39148
|
created_at: z.ZodOptional<z.ZodString>;
|
|
39149
|
+
} & {
|
|
39150
|
+
error_code: z.ZodLiteral<"access_code_inactive">;
|
|
39151
|
+
}, "strip", z.ZodTypeAny, {
|
|
39152
|
+
message: string;
|
|
39153
|
+
error_code: "access_code_inactive";
|
|
39154
|
+
is_access_code_error: true;
|
|
39155
|
+
created_at?: string | undefined;
|
|
39156
|
+
}, {
|
|
39157
|
+
message: string;
|
|
39158
|
+
error_code: "access_code_inactive";
|
|
39159
|
+
is_access_code_error: true;
|
|
39160
|
+
created_at?: string | undefined;
|
|
39161
|
+
}>, z.ZodObject<{
|
|
39162
|
+
message: z.ZodString;
|
|
39163
|
+
is_access_code_error: z.ZodLiteral<true>;
|
|
39164
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
38563
39165
|
} & {
|
|
38564
39166
|
error_code: z.ZodLiteral<"salto_ks_user_not_subscribed">;
|
|
38565
39167
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -39007,6 +39609,19 @@ declare const batch: z.ZodObject<{
|
|
|
39007
39609
|
warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<{
|
|
39008
39610
|
message: z.ZodString;
|
|
39009
39611
|
created_at: z.ZodOptional<z.ZodString>;
|
|
39612
|
+
} & {
|
|
39613
|
+
warning_code: z.ZodLiteral<"provider_issue">;
|
|
39614
|
+
}, "strip", z.ZodTypeAny, {
|
|
39615
|
+
message: string;
|
|
39616
|
+
warning_code: "provider_issue";
|
|
39617
|
+
created_at?: string | undefined;
|
|
39618
|
+
}, {
|
|
39619
|
+
message: string;
|
|
39620
|
+
warning_code: "provider_issue";
|
|
39621
|
+
created_at?: string | undefined;
|
|
39622
|
+
}>, z.ZodObject<{
|
|
39623
|
+
message: z.ZodString;
|
|
39624
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
39010
39625
|
} & {
|
|
39011
39626
|
warning_code: z.ZodLiteral<"smartthings_failed_to_set_access_code">;
|
|
39012
39627
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -39061,14 +39676,40 @@ declare const batch: z.ZodObject<{
|
|
|
39061
39676
|
created_at: z.ZodOptional<z.ZodString>;
|
|
39062
39677
|
} & {
|
|
39063
39678
|
warning_code: z.ZodLiteral<"code_modified_external_to_seam">;
|
|
39679
|
+
change_type: z.ZodOptional<z.ZodEnum<["modified", "removed"]>>;
|
|
39680
|
+
modified_fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
39681
|
+
field: z.ZodString;
|
|
39682
|
+
from: z.ZodNullable<z.ZodString>;
|
|
39683
|
+
to: z.ZodNullable<z.ZodString>;
|
|
39684
|
+
}, "strip", z.ZodTypeAny, {
|
|
39685
|
+
from: string | null;
|
|
39686
|
+
to: string | null;
|
|
39687
|
+
field: string;
|
|
39688
|
+
}, {
|
|
39689
|
+
from: string | null;
|
|
39690
|
+
to: string | null;
|
|
39691
|
+
field: string;
|
|
39692
|
+
}>, "many">>;
|
|
39064
39693
|
}, "strip", z.ZodTypeAny, {
|
|
39065
39694
|
message: string;
|
|
39066
39695
|
warning_code: "code_modified_external_to_seam";
|
|
39067
39696
|
created_at?: string | undefined;
|
|
39697
|
+
change_type?: "modified" | "removed" | undefined;
|
|
39698
|
+
modified_fields?: {
|
|
39699
|
+
from: string | null;
|
|
39700
|
+
to: string | null;
|
|
39701
|
+
field: string;
|
|
39702
|
+
}[] | undefined;
|
|
39068
39703
|
}, {
|
|
39069
39704
|
message: string;
|
|
39070
39705
|
warning_code: "code_modified_external_to_seam";
|
|
39071
39706
|
created_at?: string | undefined;
|
|
39707
|
+
change_type?: "modified" | "removed" | undefined;
|
|
39708
|
+
modified_fields?: {
|
|
39709
|
+
from: string | null;
|
|
39710
|
+
to: string | null;
|
|
39711
|
+
field: string;
|
|
39712
|
+
}[] | undefined;
|
|
39072
39713
|
}>, z.ZodObject<{
|
|
39073
39714
|
message: z.ZodString;
|
|
39074
39715
|
created_at: z.ZodOptional<z.ZodString>;
|
|
@@ -39353,6 +39994,11 @@ declare const batch: z.ZodObject<{
|
|
|
39353
39994
|
created_at: string;
|
|
39354
39995
|
error_code: "lockly_missing_wifi_bridge";
|
|
39355
39996
|
is_device_error: true;
|
|
39997
|
+
} | {
|
|
39998
|
+
message: string;
|
|
39999
|
+
error_code: "provider_issue";
|
|
40000
|
+
is_access_code_error: true;
|
|
40001
|
+
created_at?: string | undefined;
|
|
39356
40002
|
} | {
|
|
39357
40003
|
message: string;
|
|
39358
40004
|
error_code: "smartthings_failed_to_set_access_code";
|
|
@@ -39368,6 +40014,12 @@ declare const batch: z.ZodObject<{
|
|
|
39368
40014
|
error_code: "code_modified_external_to_seam";
|
|
39369
40015
|
is_access_code_error: true;
|
|
39370
40016
|
created_at?: string | undefined;
|
|
40017
|
+
change_type?: "modified" | "removed" | undefined;
|
|
40018
|
+
modified_fields?: {
|
|
40019
|
+
from: string | null;
|
|
40020
|
+
to: string | null;
|
|
40021
|
+
field: string;
|
|
40022
|
+
}[] | undefined;
|
|
39371
40023
|
} | {
|
|
39372
40024
|
message: string;
|
|
39373
40025
|
error_code: "failed_to_set_on_device";
|
|
@@ -39430,6 +40082,11 @@ declare const batch: z.ZodObject<{
|
|
|
39430
40082
|
error_code: "august_lock_missing_keypad";
|
|
39431
40083
|
is_access_code_error: true;
|
|
39432
40084
|
created_at?: string | undefined;
|
|
40085
|
+
} | {
|
|
40086
|
+
message: string;
|
|
40087
|
+
error_code: "access_code_inactive";
|
|
40088
|
+
is_access_code_error: true;
|
|
40089
|
+
created_at?: string | undefined;
|
|
39433
40090
|
} | {
|
|
39434
40091
|
message: string;
|
|
39435
40092
|
error_code: "salto_ks_user_not_subscribed";
|
|
@@ -39473,10 +40130,20 @@ declare const batch: z.ZodObject<{
|
|
|
39473
40130
|
message: string;
|
|
39474
40131
|
warning_code: "code_modified_external_to_seam";
|
|
39475
40132
|
created_at?: string | undefined;
|
|
40133
|
+
change_type?: "modified" | "removed" | undefined;
|
|
40134
|
+
modified_fields?: {
|
|
40135
|
+
from: string | null;
|
|
40136
|
+
to: string | null;
|
|
40137
|
+
field: string;
|
|
40138
|
+
}[] | undefined;
|
|
39476
40139
|
} | {
|
|
39477
40140
|
message: string;
|
|
39478
40141
|
warning_code: "schlage_detected_duplicate";
|
|
39479
40142
|
created_at?: string | undefined;
|
|
40143
|
+
} | {
|
|
40144
|
+
message: string;
|
|
40145
|
+
warning_code: "provider_issue";
|
|
40146
|
+
created_at?: string | undefined;
|
|
39480
40147
|
} | {
|
|
39481
40148
|
message: string;
|
|
39482
40149
|
warning_code: "schlage_creation_outage";
|
|
@@ -39648,6 +40315,11 @@ declare const batch: z.ZodObject<{
|
|
|
39648
40315
|
created_at: string;
|
|
39649
40316
|
error_code: "lockly_missing_wifi_bridge";
|
|
39650
40317
|
is_device_error: true;
|
|
40318
|
+
} | {
|
|
40319
|
+
message: string;
|
|
40320
|
+
error_code: "provider_issue";
|
|
40321
|
+
is_access_code_error: true;
|
|
40322
|
+
created_at?: string | undefined;
|
|
39651
40323
|
} | {
|
|
39652
40324
|
message: string;
|
|
39653
40325
|
error_code: "smartthings_failed_to_set_access_code";
|
|
@@ -39663,6 +40335,12 @@ declare const batch: z.ZodObject<{
|
|
|
39663
40335
|
error_code: "code_modified_external_to_seam";
|
|
39664
40336
|
is_access_code_error: true;
|
|
39665
40337
|
created_at?: string | undefined;
|
|
40338
|
+
change_type?: "modified" | "removed" | undefined;
|
|
40339
|
+
modified_fields?: {
|
|
40340
|
+
from: string | null;
|
|
40341
|
+
to: string | null;
|
|
40342
|
+
field: string;
|
|
40343
|
+
}[] | undefined;
|
|
39666
40344
|
} | {
|
|
39667
40345
|
message: string;
|
|
39668
40346
|
error_code: "failed_to_set_on_device";
|
|
@@ -39725,6 +40403,11 @@ declare const batch: z.ZodObject<{
|
|
|
39725
40403
|
error_code: "august_lock_missing_keypad";
|
|
39726
40404
|
is_access_code_error: true;
|
|
39727
40405
|
created_at?: string | undefined;
|
|
40406
|
+
} | {
|
|
40407
|
+
message: string;
|
|
40408
|
+
error_code: "access_code_inactive";
|
|
40409
|
+
is_access_code_error: true;
|
|
40410
|
+
created_at?: string | undefined;
|
|
39728
40411
|
} | {
|
|
39729
40412
|
message: string;
|
|
39730
40413
|
error_code: "salto_ks_user_not_subscribed";
|
|
@@ -39768,10 +40451,20 @@ declare const batch: z.ZodObject<{
|
|
|
39768
40451
|
message: string;
|
|
39769
40452
|
warning_code: "code_modified_external_to_seam";
|
|
39770
40453
|
created_at?: string | undefined;
|
|
40454
|
+
change_type?: "modified" | "removed" | undefined;
|
|
40455
|
+
modified_fields?: {
|
|
40456
|
+
from: string | null;
|
|
40457
|
+
to: string | null;
|
|
40458
|
+
field: string;
|
|
40459
|
+
}[] | undefined;
|
|
39771
40460
|
} | {
|
|
39772
40461
|
message: string;
|
|
39773
40462
|
warning_code: "schlage_detected_duplicate";
|
|
39774
40463
|
created_at?: string | undefined;
|
|
40464
|
+
} | {
|
|
40465
|
+
message: string;
|
|
40466
|
+
warning_code: "provider_issue";
|
|
40467
|
+
created_at?: string | undefined;
|
|
39775
40468
|
} | {
|
|
39776
40469
|
message: string;
|
|
39777
40470
|
warning_code: "schlage_creation_outage";
|
|
@@ -44546,6 +45239,11 @@ declare const batch: z.ZodObject<{
|
|
|
44546
45239
|
created_at: string;
|
|
44547
45240
|
error_code: "lockly_missing_wifi_bridge";
|
|
44548
45241
|
is_device_error: true;
|
|
45242
|
+
} | {
|
|
45243
|
+
message: string;
|
|
45244
|
+
error_code: "provider_issue";
|
|
45245
|
+
is_access_code_error: true;
|
|
45246
|
+
created_at?: string | undefined;
|
|
44549
45247
|
} | {
|
|
44550
45248
|
message: string;
|
|
44551
45249
|
error_code: "smartthings_failed_to_set_access_code";
|
|
@@ -44561,6 +45259,12 @@ declare const batch: z.ZodObject<{
|
|
|
44561
45259
|
error_code: "code_modified_external_to_seam";
|
|
44562
45260
|
is_access_code_error: true;
|
|
44563
45261
|
created_at?: string | undefined;
|
|
45262
|
+
change_type?: "modified" | "removed" | undefined;
|
|
45263
|
+
modified_fields?: {
|
|
45264
|
+
from: string | null;
|
|
45265
|
+
to: string | null;
|
|
45266
|
+
field: string;
|
|
45267
|
+
}[] | undefined;
|
|
44564
45268
|
} | {
|
|
44565
45269
|
message: string;
|
|
44566
45270
|
error_code: "failed_to_set_on_device";
|
|
@@ -44623,6 +45327,11 @@ declare const batch: z.ZodObject<{
|
|
|
44623
45327
|
error_code: "august_lock_missing_keypad";
|
|
44624
45328
|
is_access_code_error: true;
|
|
44625
45329
|
created_at?: string | undefined;
|
|
45330
|
+
} | {
|
|
45331
|
+
message: string;
|
|
45332
|
+
error_code: "access_code_inactive";
|
|
45333
|
+
is_access_code_error: true;
|
|
45334
|
+
created_at?: string | undefined;
|
|
44626
45335
|
} | {
|
|
44627
45336
|
message: string;
|
|
44628
45337
|
error_code: "salto_ks_user_not_subscribed";
|
|
@@ -44666,10 +45375,20 @@ declare const batch: z.ZodObject<{
|
|
|
44666
45375
|
message: string;
|
|
44667
45376
|
warning_code: "code_modified_external_to_seam";
|
|
44668
45377
|
created_at?: string | undefined;
|
|
45378
|
+
change_type?: "modified" | "removed" | undefined;
|
|
45379
|
+
modified_fields?: {
|
|
45380
|
+
from: string | null;
|
|
45381
|
+
to: string | null;
|
|
45382
|
+
field: string;
|
|
45383
|
+
}[] | undefined;
|
|
44669
45384
|
} | {
|
|
44670
45385
|
message: string;
|
|
44671
45386
|
warning_code: "schlage_detected_duplicate";
|
|
44672
45387
|
created_at?: string | undefined;
|
|
45388
|
+
} | {
|
|
45389
|
+
message: string;
|
|
45390
|
+
warning_code: "provider_issue";
|
|
45391
|
+
created_at?: string | undefined;
|
|
44673
45392
|
} | {
|
|
44674
45393
|
message: string;
|
|
44675
45394
|
warning_code: "schlage_creation_outage";
|
|
@@ -44895,6 +45614,11 @@ declare const batch: z.ZodObject<{
|
|
|
44895
45614
|
created_at: string;
|
|
44896
45615
|
error_code: "lockly_missing_wifi_bridge";
|
|
44897
45616
|
is_device_error: true;
|
|
45617
|
+
} | {
|
|
45618
|
+
message: string;
|
|
45619
|
+
error_code: "provider_issue";
|
|
45620
|
+
is_access_code_error: true;
|
|
45621
|
+
created_at?: string | undefined;
|
|
44898
45622
|
} | {
|
|
44899
45623
|
message: string;
|
|
44900
45624
|
error_code: "smartthings_failed_to_set_access_code";
|
|
@@ -44910,6 +45634,12 @@ declare const batch: z.ZodObject<{
|
|
|
44910
45634
|
error_code: "code_modified_external_to_seam";
|
|
44911
45635
|
is_access_code_error: true;
|
|
44912
45636
|
created_at?: string | undefined;
|
|
45637
|
+
change_type?: "modified" | "removed" | undefined;
|
|
45638
|
+
modified_fields?: {
|
|
45639
|
+
from: string | null;
|
|
45640
|
+
to: string | null;
|
|
45641
|
+
field: string;
|
|
45642
|
+
}[] | undefined;
|
|
44913
45643
|
} | {
|
|
44914
45644
|
message: string;
|
|
44915
45645
|
error_code: "failed_to_set_on_device";
|
|
@@ -44972,6 +45702,11 @@ declare const batch: z.ZodObject<{
|
|
|
44972
45702
|
error_code: "august_lock_missing_keypad";
|
|
44973
45703
|
is_access_code_error: true;
|
|
44974
45704
|
created_at?: string | undefined;
|
|
45705
|
+
} | {
|
|
45706
|
+
message: string;
|
|
45707
|
+
error_code: "access_code_inactive";
|
|
45708
|
+
is_access_code_error: true;
|
|
45709
|
+
created_at?: string | undefined;
|
|
44975
45710
|
} | {
|
|
44976
45711
|
message: string;
|
|
44977
45712
|
error_code: "salto_ks_user_not_subscribed";
|
|
@@ -45015,10 +45750,20 @@ declare const batch: z.ZodObject<{
|
|
|
45015
45750
|
message: string;
|
|
45016
45751
|
warning_code: "code_modified_external_to_seam";
|
|
45017
45752
|
created_at?: string | undefined;
|
|
45753
|
+
change_type?: "modified" | "removed" | undefined;
|
|
45754
|
+
modified_fields?: {
|
|
45755
|
+
from: string | null;
|
|
45756
|
+
to: string | null;
|
|
45757
|
+
field: string;
|
|
45758
|
+
}[] | undefined;
|
|
45018
45759
|
} | {
|
|
45019
45760
|
message: string;
|
|
45020
45761
|
warning_code: "schlage_detected_duplicate";
|
|
45021
45762
|
created_at?: string | undefined;
|
|
45763
|
+
} | {
|
|
45764
|
+
message: string;
|
|
45765
|
+
warning_code: "provider_issue";
|
|
45766
|
+
created_at?: string | undefined;
|
|
45022
45767
|
} | {
|
|
45023
45768
|
message: string;
|
|
45024
45769
|
warning_code: "schlage_creation_outage";
|
|
@@ -49666,6 +50411,11 @@ declare const batch: z.ZodObject<{
|
|
|
49666
50411
|
created_at: string;
|
|
49667
50412
|
error_code: "lockly_missing_wifi_bridge";
|
|
49668
50413
|
is_device_error: true;
|
|
50414
|
+
} | {
|
|
50415
|
+
message: string;
|
|
50416
|
+
error_code: "provider_issue";
|
|
50417
|
+
is_access_code_error: true;
|
|
50418
|
+
created_at?: string | undefined;
|
|
49669
50419
|
} | {
|
|
49670
50420
|
message: string;
|
|
49671
50421
|
error_code: "smartthings_failed_to_set_access_code";
|
|
@@ -49681,6 +50431,12 @@ declare const batch: z.ZodObject<{
|
|
|
49681
50431
|
error_code: "code_modified_external_to_seam";
|
|
49682
50432
|
is_access_code_error: true;
|
|
49683
50433
|
created_at?: string | undefined;
|
|
50434
|
+
change_type?: "modified" | "removed" | undefined;
|
|
50435
|
+
modified_fields?: {
|
|
50436
|
+
from: string | null;
|
|
50437
|
+
to: string | null;
|
|
50438
|
+
field: string;
|
|
50439
|
+
}[] | undefined;
|
|
49684
50440
|
} | {
|
|
49685
50441
|
message: string;
|
|
49686
50442
|
error_code: "failed_to_set_on_device";
|
|
@@ -49743,6 +50499,11 @@ declare const batch: z.ZodObject<{
|
|
|
49743
50499
|
error_code: "august_lock_missing_keypad";
|
|
49744
50500
|
is_access_code_error: true;
|
|
49745
50501
|
created_at?: string | undefined;
|
|
50502
|
+
} | {
|
|
50503
|
+
message: string;
|
|
50504
|
+
error_code: "access_code_inactive";
|
|
50505
|
+
is_access_code_error: true;
|
|
50506
|
+
created_at?: string | undefined;
|
|
49746
50507
|
} | {
|
|
49747
50508
|
message: string;
|
|
49748
50509
|
error_code: "salto_ks_user_not_subscribed";
|
|
@@ -49786,10 +50547,20 @@ declare const batch: z.ZodObject<{
|
|
|
49786
50547
|
message: string;
|
|
49787
50548
|
warning_code: "code_modified_external_to_seam";
|
|
49788
50549
|
created_at?: string | undefined;
|
|
50550
|
+
change_type?: "modified" | "removed" | undefined;
|
|
50551
|
+
modified_fields?: {
|
|
50552
|
+
from: string | null;
|
|
50553
|
+
to: string | null;
|
|
50554
|
+
field: string;
|
|
50555
|
+
}[] | undefined;
|
|
49789
50556
|
} | {
|
|
49790
50557
|
message: string;
|
|
49791
50558
|
warning_code: "schlage_detected_duplicate";
|
|
49792
50559
|
created_at?: string | undefined;
|
|
50560
|
+
} | {
|
|
50561
|
+
message: string;
|
|
50562
|
+
warning_code: "provider_issue";
|
|
50563
|
+
created_at?: string | undefined;
|
|
49793
50564
|
} | {
|
|
49794
50565
|
message: string;
|
|
49795
50566
|
warning_code: "schlage_creation_outage";
|
|
@@ -50015,6 +50786,11 @@ declare const batch: z.ZodObject<{
|
|
|
50015
50786
|
created_at: string;
|
|
50016
50787
|
error_code: "lockly_missing_wifi_bridge";
|
|
50017
50788
|
is_device_error: true;
|
|
50789
|
+
} | {
|
|
50790
|
+
message: string;
|
|
50791
|
+
error_code: "provider_issue";
|
|
50792
|
+
is_access_code_error: true;
|
|
50793
|
+
created_at?: string | undefined;
|
|
50018
50794
|
} | {
|
|
50019
50795
|
message: string;
|
|
50020
50796
|
error_code: "smartthings_failed_to_set_access_code";
|
|
@@ -50030,6 +50806,12 @@ declare const batch: z.ZodObject<{
|
|
|
50030
50806
|
error_code: "code_modified_external_to_seam";
|
|
50031
50807
|
is_access_code_error: true;
|
|
50032
50808
|
created_at?: string | undefined;
|
|
50809
|
+
change_type?: "modified" | "removed" | undefined;
|
|
50810
|
+
modified_fields?: {
|
|
50811
|
+
from: string | null;
|
|
50812
|
+
to: string | null;
|
|
50813
|
+
field: string;
|
|
50814
|
+
}[] | undefined;
|
|
50033
50815
|
} | {
|
|
50034
50816
|
message: string;
|
|
50035
50817
|
error_code: "failed_to_set_on_device";
|
|
@@ -50092,6 +50874,11 @@ declare const batch: z.ZodObject<{
|
|
|
50092
50874
|
error_code: "august_lock_missing_keypad";
|
|
50093
50875
|
is_access_code_error: true;
|
|
50094
50876
|
created_at?: string | undefined;
|
|
50877
|
+
} | {
|
|
50878
|
+
message: string;
|
|
50879
|
+
error_code: "access_code_inactive";
|
|
50880
|
+
is_access_code_error: true;
|
|
50881
|
+
created_at?: string | undefined;
|
|
50095
50882
|
} | {
|
|
50096
50883
|
message: string;
|
|
50097
50884
|
error_code: "salto_ks_user_not_subscribed";
|
|
@@ -50135,10 +50922,20 @@ declare const batch: z.ZodObject<{
|
|
|
50135
50922
|
message: string;
|
|
50136
50923
|
warning_code: "code_modified_external_to_seam";
|
|
50137
50924
|
created_at?: string | undefined;
|
|
50925
|
+
change_type?: "modified" | "removed" | undefined;
|
|
50926
|
+
modified_fields?: {
|
|
50927
|
+
from: string | null;
|
|
50928
|
+
to: string | null;
|
|
50929
|
+
field: string;
|
|
50930
|
+
}[] | undefined;
|
|
50138
50931
|
} | {
|
|
50139
50932
|
message: string;
|
|
50140
50933
|
warning_code: "schlage_detected_duplicate";
|
|
50141
50934
|
created_at?: string | undefined;
|
|
50935
|
+
} | {
|
|
50936
|
+
message: string;
|
|
50937
|
+
warning_code: "provider_issue";
|
|
50938
|
+
created_at?: string | undefined;
|
|
50142
50939
|
} | {
|
|
50143
50940
|
message: string;
|
|
50144
50941
|
warning_code: "schlage_creation_outage";
|
|
@@ -67466,6 +68263,15 @@ type Routes = {
|
|
|
67466
68263
|
created_at: string;
|
|
67467
68264
|
/** Errors associated with the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
|
|
67468
68265
|
errors: ({
|
|
68266
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
68267
|
+
message: string;
|
|
68268
|
+
/** Indicates that this is an access code error. */
|
|
68269
|
+
is_access_code_error: true;
|
|
68270
|
+
/** Date and time at which Seam created the error. */
|
|
68271
|
+
created_at?: string | undefined;
|
|
68272
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
68273
|
+
error_code: 'provider_issue';
|
|
68274
|
+
} | {
|
|
67469
68275
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
67470
68276
|
message: string;
|
|
67471
68277
|
/** Indicates that this is an access code error. */
|
|
@@ -67568,6 +68374,17 @@ type Routes = {
|
|
|
67568
68374
|
created_at?: string | undefined;
|
|
67569
68375
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
67570
68376
|
error_code: 'code_modified_external_to_seam';
|
|
68377
|
+
/** Indicates the type of external modification. `modified` means the code's PIN or schedule was changed. `removed` means the code was deleted from the device. */
|
|
68378
|
+
change_type?: ('modified' | 'removed') | undefined;
|
|
68379
|
+
/** List of fields that were changed externally, with their previous and new values. */
|
|
68380
|
+
modified_fields?: {
|
|
68381
|
+
/** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
|
|
68382
|
+
field: string;
|
|
68383
|
+
/** The previous value of the field. */
|
|
68384
|
+
from: string | null;
|
|
68385
|
+
/** The new value of the field. */
|
|
68386
|
+
to: string | null;
|
|
68387
|
+
}[] | undefined;
|
|
67571
68388
|
} | {
|
|
67572
68389
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
67573
68390
|
message: string;
|
|
@@ -67595,6 +68412,15 @@ type Routes = {
|
|
|
67595
68412
|
created_at?: string | undefined;
|
|
67596
68413
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
67597
68414
|
error_code: 'august_lock_temporarily_offline';
|
|
68415
|
+
} | {
|
|
68416
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
68417
|
+
message: string;
|
|
68418
|
+
/** Indicates that this is an access code error. */
|
|
68419
|
+
is_access_code_error: true;
|
|
68420
|
+
/** Date and time at which Seam created the error. */
|
|
68421
|
+
created_at?: string | undefined;
|
|
68422
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
68423
|
+
error_code: 'access_code_inactive';
|
|
67598
68424
|
} | {
|
|
67599
68425
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
67600
68426
|
message: string;
|
|
@@ -67802,6 +68628,13 @@ type Routes = {
|
|
|
67802
68628
|
})[];
|
|
67803
68629
|
/** Warnings associated with the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
|
|
67804
68630
|
warnings: ({
|
|
68631
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
68632
|
+
message: string;
|
|
68633
|
+
/** Date and time at which Seam created the warning. */
|
|
68634
|
+
created_at?: string | undefined;
|
|
68635
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
68636
|
+
warning_code: 'provider_issue';
|
|
68637
|
+
} | {
|
|
67805
68638
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
67806
68639
|
message: string;
|
|
67807
68640
|
/** Date and time at which Seam created the warning. */
|
|
@@ -67836,6 +68669,17 @@ type Routes = {
|
|
|
67836
68669
|
created_at?: string | undefined;
|
|
67837
68670
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
67838
68671
|
warning_code: 'code_modified_external_to_seam';
|
|
68672
|
+
/** Indicates the type of external modification. `modified` means the code's PIN or schedule was changed. `removed` means the code was deleted from the device. */
|
|
68673
|
+
change_type?: ('modified' | 'removed') | undefined;
|
|
68674
|
+
/** List of fields that were changed externally, with their previous and new values. */
|
|
68675
|
+
modified_fields?: {
|
|
68676
|
+
/** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
|
|
68677
|
+
field: string;
|
|
68678
|
+
/** The previous value of the field. */
|
|
68679
|
+
from: string | null;
|
|
68680
|
+
/** The new value of the field. */
|
|
68681
|
+
to: string | null;
|
|
68682
|
+
}[] | undefined;
|
|
67839
68683
|
} | {
|
|
67840
68684
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
67841
68685
|
message: string;
|
|
@@ -68098,6 +68942,15 @@ type Routes = {
|
|
|
68098
68942
|
created_at: string;
|
|
68099
68943
|
/** Errors associated with the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
|
|
68100
68944
|
errors: ({
|
|
68945
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
68946
|
+
message: string;
|
|
68947
|
+
/** Indicates that this is an access code error. */
|
|
68948
|
+
is_access_code_error: true;
|
|
68949
|
+
/** Date and time at which Seam created the error. */
|
|
68950
|
+
created_at?: string | undefined;
|
|
68951
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
68952
|
+
error_code: 'provider_issue';
|
|
68953
|
+
} | {
|
|
68101
68954
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
68102
68955
|
message: string;
|
|
68103
68956
|
/** Indicates that this is an access code error. */
|
|
@@ -68200,6 +69053,17 @@ type Routes = {
|
|
|
68200
69053
|
created_at?: string | undefined;
|
|
68201
69054
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
68202
69055
|
error_code: 'code_modified_external_to_seam';
|
|
69056
|
+
/** Indicates the type of external modification. `modified` means the code's PIN or schedule was changed. `removed` means the code was deleted from the device. */
|
|
69057
|
+
change_type?: ('modified' | 'removed') | undefined;
|
|
69058
|
+
/** List of fields that were changed externally, with their previous and new values. */
|
|
69059
|
+
modified_fields?: {
|
|
69060
|
+
/** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
|
|
69061
|
+
field: string;
|
|
69062
|
+
/** The previous value of the field. */
|
|
69063
|
+
from: string | null;
|
|
69064
|
+
/** The new value of the field. */
|
|
69065
|
+
to: string | null;
|
|
69066
|
+
}[] | undefined;
|
|
68203
69067
|
} | {
|
|
68204
69068
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
68205
69069
|
message: string;
|
|
@@ -68227,6 +69091,15 @@ type Routes = {
|
|
|
68227
69091
|
created_at?: string | undefined;
|
|
68228
69092
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
68229
69093
|
error_code: 'august_lock_temporarily_offline';
|
|
69094
|
+
} | {
|
|
69095
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
69096
|
+
message: string;
|
|
69097
|
+
/** Indicates that this is an access code error. */
|
|
69098
|
+
is_access_code_error: true;
|
|
69099
|
+
/** Date and time at which Seam created the error. */
|
|
69100
|
+
created_at?: string | undefined;
|
|
69101
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
69102
|
+
error_code: 'access_code_inactive';
|
|
68230
69103
|
} | {
|
|
68231
69104
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
68232
69105
|
message: string;
|
|
@@ -68434,6 +69307,13 @@ type Routes = {
|
|
|
68434
69307
|
})[];
|
|
68435
69308
|
/** Warnings associated with the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
|
|
68436
69309
|
warnings: ({
|
|
69310
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
69311
|
+
message: string;
|
|
69312
|
+
/** Date and time at which Seam created the warning. */
|
|
69313
|
+
created_at?: string | undefined;
|
|
69314
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
69315
|
+
warning_code: 'provider_issue';
|
|
69316
|
+
} | {
|
|
68437
69317
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
68438
69318
|
message: string;
|
|
68439
69319
|
/** Date and time at which Seam created the warning. */
|
|
@@ -68468,6 +69348,17 @@ type Routes = {
|
|
|
68468
69348
|
created_at?: string | undefined;
|
|
68469
69349
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
68470
69350
|
warning_code: 'code_modified_external_to_seam';
|
|
69351
|
+
/** Indicates the type of external modification. `modified` means the code's PIN or schedule was changed. `removed` means the code was deleted from the device. */
|
|
69352
|
+
change_type?: ('modified' | 'removed') | undefined;
|
|
69353
|
+
/** List of fields that were changed externally, with their previous and new values. */
|
|
69354
|
+
modified_fields?: {
|
|
69355
|
+
/** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
|
|
69356
|
+
field: string;
|
|
69357
|
+
/** The previous value of the field. */
|
|
69358
|
+
from: string | null;
|
|
69359
|
+
/** The new value of the field. */
|
|
69360
|
+
to: string | null;
|
|
69361
|
+
}[] | undefined;
|
|
68471
69362
|
} | {
|
|
68472
69363
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
68473
69364
|
message: string;
|
|
@@ -70250,6 +71141,15 @@ type Routes = {
|
|
|
70250
71141
|
created_at: string;
|
|
70251
71142
|
/** Errors associated with the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
|
|
70252
71143
|
errors: ({
|
|
71144
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
71145
|
+
message: string;
|
|
71146
|
+
/** Indicates that this is an access code error. */
|
|
71147
|
+
is_access_code_error: true;
|
|
71148
|
+
/** Date and time at which Seam created the error. */
|
|
71149
|
+
created_at?: string | undefined;
|
|
71150
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
71151
|
+
error_code: 'provider_issue';
|
|
71152
|
+
} | {
|
|
70253
71153
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
70254
71154
|
message: string;
|
|
70255
71155
|
/** Indicates that this is an access code error. */
|
|
@@ -70352,6 +71252,17 @@ type Routes = {
|
|
|
70352
71252
|
created_at?: string | undefined;
|
|
70353
71253
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
70354
71254
|
error_code: 'code_modified_external_to_seam';
|
|
71255
|
+
/** Indicates the type of external modification. `modified` means the code's PIN or schedule was changed. `removed` means the code was deleted from the device. */
|
|
71256
|
+
change_type?: ('modified' | 'removed') | undefined;
|
|
71257
|
+
/** List of fields that were changed externally, with their previous and new values. */
|
|
71258
|
+
modified_fields?: {
|
|
71259
|
+
/** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
|
|
71260
|
+
field: string;
|
|
71261
|
+
/** The previous value of the field. */
|
|
71262
|
+
from: string | null;
|
|
71263
|
+
/** The new value of the field. */
|
|
71264
|
+
to: string | null;
|
|
71265
|
+
}[] | undefined;
|
|
70355
71266
|
} | {
|
|
70356
71267
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
70357
71268
|
message: string;
|
|
@@ -70379,6 +71290,15 @@ type Routes = {
|
|
|
70379
71290
|
created_at?: string | undefined;
|
|
70380
71291
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
70381
71292
|
error_code: 'august_lock_temporarily_offline';
|
|
71293
|
+
} | {
|
|
71294
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
71295
|
+
message: string;
|
|
71296
|
+
/** Indicates that this is an access code error. */
|
|
71297
|
+
is_access_code_error: true;
|
|
71298
|
+
/** Date and time at which Seam created the error. */
|
|
71299
|
+
created_at?: string | undefined;
|
|
71300
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
71301
|
+
error_code: 'access_code_inactive';
|
|
70382
71302
|
} | {
|
|
70383
71303
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
70384
71304
|
message: string;
|
|
@@ -70586,6 +71506,13 @@ type Routes = {
|
|
|
70586
71506
|
})[];
|
|
70587
71507
|
/** Warnings associated with the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
|
|
70588
71508
|
warnings: ({
|
|
71509
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
71510
|
+
message: string;
|
|
71511
|
+
/** Date and time at which Seam created the warning. */
|
|
71512
|
+
created_at?: string | undefined;
|
|
71513
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
71514
|
+
warning_code: 'provider_issue';
|
|
71515
|
+
} | {
|
|
70589
71516
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
70590
71517
|
message: string;
|
|
70591
71518
|
/** Date and time at which Seam created the warning. */
|
|
@@ -70620,6 +71547,17 @@ type Routes = {
|
|
|
70620
71547
|
created_at?: string | undefined;
|
|
70621
71548
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
70622
71549
|
warning_code: 'code_modified_external_to_seam';
|
|
71550
|
+
/** Indicates the type of external modification. `modified` means the code's PIN or schedule was changed. `removed` means the code was deleted from the device. */
|
|
71551
|
+
change_type?: ('modified' | 'removed') | undefined;
|
|
71552
|
+
/** List of fields that were changed externally, with their previous and new values. */
|
|
71553
|
+
modified_fields?: {
|
|
71554
|
+
/** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
|
|
71555
|
+
field: string;
|
|
71556
|
+
/** The previous value of the field. */
|
|
71557
|
+
from: string | null;
|
|
71558
|
+
/** The new value of the field. */
|
|
71559
|
+
to: string | null;
|
|
71560
|
+
}[] | undefined;
|
|
70623
71561
|
} | {
|
|
70624
71562
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
70625
71563
|
message: string;
|
|
@@ -70928,6 +71866,15 @@ type Routes = {
|
|
|
70928
71866
|
created_at: string;
|
|
70929
71867
|
/** Errors associated with the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
|
|
70930
71868
|
errors: ({
|
|
71869
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
71870
|
+
message: string;
|
|
71871
|
+
/** Indicates that this is an access code error. */
|
|
71872
|
+
is_access_code_error: true;
|
|
71873
|
+
/** Date and time at which Seam created the error. */
|
|
71874
|
+
created_at?: string | undefined;
|
|
71875
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
71876
|
+
error_code: 'provider_issue';
|
|
71877
|
+
} | {
|
|
70931
71878
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
70932
71879
|
message: string;
|
|
70933
71880
|
/** Indicates that this is an access code error. */
|
|
@@ -71030,6 +71977,17 @@ type Routes = {
|
|
|
71030
71977
|
created_at?: string | undefined;
|
|
71031
71978
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
71032
71979
|
error_code: 'code_modified_external_to_seam';
|
|
71980
|
+
/** Indicates the type of external modification. `modified` means the code's PIN or schedule was changed. `removed` means the code was deleted from the device. */
|
|
71981
|
+
change_type?: ('modified' | 'removed') | undefined;
|
|
71982
|
+
/** List of fields that were changed externally, with their previous and new values. */
|
|
71983
|
+
modified_fields?: {
|
|
71984
|
+
/** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
|
|
71985
|
+
field: string;
|
|
71986
|
+
/** The previous value of the field. */
|
|
71987
|
+
from: string | null;
|
|
71988
|
+
/** The new value of the field. */
|
|
71989
|
+
to: string | null;
|
|
71990
|
+
}[] | undefined;
|
|
71033
71991
|
} | {
|
|
71034
71992
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
71035
71993
|
message: string;
|
|
@@ -71057,6 +72015,15 @@ type Routes = {
|
|
|
71057
72015
|
created_at?: string | undefined;
|
|
71058
72016
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
71059
72017
|
error_code: 'august_lock_temporarily_offline';
|
|
72018
|
+
} | {
|
|
72019
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
72020
|
+
message: string;
|
|
72021
|
+
/** Indicates that this is an access code error. */
|
|
72022
|
+
is_access_code_error: true;
|
|
72023
|
+
/** Date and time at which Seam created the error. */
|
|
72024
|
+
created_at?: string | undefined;
|
|
72025
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
72026
|
+
error_code: 'access_code_inactive';
|
|
71060
72027
|
} | {
|
|
71061
72028
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
71062
72029
|
message: string;
|
|
@@ -71264,6 +72231,13 @@ type Routes = {
|
|
|
71264
72231
|
})[];
|
|
71265
72232
|
/** Warnings associated with the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
|
|
71266
72233
|
warnings: ({
|
|
72234
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
72235
|
+
message: string;
|
|
72236
|
+
/** Date and time at which Seam created the warning. */
|
|
72237
|
+
created_at?: string | undefined;
|
|
72238
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
72239
|
+
warning_code: 'provider_issue';
|
|
72240
|
+
} | {
|
|
71267
72241
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
71268
72242
|
message: string;
|
|
71269
72243
|
/** Date and time at which Seam created the warning. */
|
|
@@ -71298,6 +72272,17 @@ type Routes = {
|
|
|
71298
72272
|
created_at?: string | undefined;
|
|
71299
72273
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
71300
72274
|
warning_code: 'code_modified_external_to_seam';
|
|
72275
|
+
/** Indicates the type of external modification. `modified` means the code's PIN or schedule was changed. `removed` means the code was deleted from the device. */
|
|
72276
|
+
change_type?: ('modified' | 'removed') | undefined;
|
|
72277
|
+
/** List of fields that were changed externally, with their previous and new values. */
|
|
72278
|
+
modified_fields?: {
|
|
72279
|
+
/** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
|
|
72280
|
+
field: string;
|
|
72281
|
+
/** The previous value of the field. */
|
|
72282
|
+
from: string | null;
|
|
72283
|
+
/** The new value of the field. */
|
|
72284
|
+
to: string | null;
|
|
72285
|
+
}[] | undefined;
|
|
71301
72286
|
} | {
|
|
71302
72287
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
71303
72288
|
message: string;
|
|
@@ -71549,6 +72534,15 @@ type Routes = {
|
|
|
71549
72534
|
created_at: string;
|
|
71550
72535
|
/** Errors associated with the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
|
|
71551
72536
|
errors: ({
|
|
72537
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
72538
|
+
message: string;
|
|
72539
|
+
/** Indicates that this is an access code error. */
|
|
72540
|
+
is_access_code_error: true;
|
|
72541
|
+
/** Date and time at which Seam created the error. */
|
|
72542
|
+
created_at?: string | undefined;
|
|
72543
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
72544
|
+
error_code: 'provider_issue';
|
|
72545
|
+
} | {
|
|
71552
72546
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
71553
72547
|
message: string;
|
|
71554
72548
|
/** Indicates that this is an access code error. */
|
|
@@ -71651,6 +72645,17 @@ type Routes = {
|
|
|
71651
72645
|
created_at?: string | undefined;
|
|
71652
72646
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
71653
72647
|
error_code: 'code_modified_external_to_seam';
|
|
72648
|
+
/** Indicates the type of external modification. `modified` means the code's PIN or schedule was changed. `removed` means the code was deleted from the device. */
|
|
72649
|
+
change_type?: ('modified' | 'removed') | undefined;
|
|
72650
|
+
/** List of fields that were changed externally, with their previous and new values. */
|
|
72651
|
+
modified_fields?: {
|
|
72652
|
+
/** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
|
|
72653
|
+
field: string;
|
|
72654
|
+
/** The previous value of the field. */
|
|
72655
|
+
from: string | null;
|
|
72656
|
+
/** The new value of the field. */
|
|
72657
|
+
to: string | null;
|
|
72658
|
+
}[] | undefined;
|
|
71654
72659
|
} | {
|
|
71655
72660
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
71656
72661
|
message: string;
|
|
@@ -71678,6 +72683,15 @@ type Routes = {
|
|
|
71678
72683
|
created_at?: string | undefined;
|
|
71679
72684
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
71680
72685
|
error_code: 'august_lock_temporarily_offline';
|
|
72686
|
+
} | {
|
|
72687
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
72688
|
+
message: string;
|
|
72689
|
+
/** Indicates that this is an access code error. */
|
|
72690
|
+
is_access_code_error: true;
|
|
72691
|
+
/** Date and time at which Seam created the error. */
|
|
72692
|
+
created_at?: string | undefined;
|
|
72693
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
72694
|
+
error_code: 'access_code_inactive';
|
|
71681
72695
|
} | {
|
|
71682
72696
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
71683
72697
|
message: string;
|
|
@@ -71885,6 +72899,13 @@ type Routes = {
|
|
|
71885
72899
|
})[];
|
|
71886
72900
|
/** Warnings associated with the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
|
|
71887
72901
|
warnings: ({
|
|
72902
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
72903
|
+
message: string;
|
|
72904
|
+
/** Date and time at which Seam created the warning. */
|
|
72905
|
+
created_at?: string | undefined;
|
|
72906
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
72907
|
+
warning_code: 'provider_issue';
|
|
72908
|
+
} | {
|
|
71888
72909
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
71889
72910
|
message: string;
|
|
71890
72911
|
/** Date and time at which Seam created the warning. */
|
|
@@ -71919,6 +72940,17 @@ type Routes = {
|
|
|
71919
72940
|
created_at?: string | undefined;
|
|
71920
72941
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
71921
72942
|
warning_code: 'code_modified_external_to_seam';
|
|
72943
|
+
/** Indicates the type of external modification. `modified` means the code's PIN or schedule was changed. `removed` means the code was deleted from the device. */
|
|
72944
|
+
change_type?: ('modified' | 'removed') | undefined;
|
|
72945
|
+
/** List of fields that were changed externally, with their previous and new values. */
|
|
72946
|
+
modified_fields?: {
|
|
72947
|
+
/** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
|
|
72948
|
+
field: string;
|
|
72949
|
+
/** The previous value of the field. */
|
|
72950
|
+
from: string | null;
|
|
72951
|
+
/** The new value of the field. */
|
|
72952
|
+
to: string | null;
|
|
72953
|
+
}[] | undefined;
|
|
71922
72954
|
} | {
|
|
71923
72955
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
71924
72956
|
message: string;
|
|
@@ -72147,6 +73179,15 @@ type Routes = {
|
|
|
72147
73179
|
created_at: string;
|
|
72148
73180
|
/** Errors associated with the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
|
|
72149
73181
|
errors: ({
|
|
73182
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
73183
|
+
message: string;
|
|
73184
|
+
/** Indicates that this is an access code error. */
|
|
73185
|
+
is_access_code_error: true;
|
|
73186
|
+
/** Date and time at which Seam created the error. */
|
|
73187
|
+
created_at?: string | undefined;
|
|
73188
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
73189
|
+
error_code: 'provider_issue';
|
|
73190
|
+
} | {
|
|
72150
73191
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
72151
73192
|
message: string;
|
|
72152
73193
|
/** Indicates that this is an access code error. */
|
|
@@ -72249,6 +73290,17 @@ type Routes = {
|
|
|
72249
73290
|
created_at?: string | undefined;
|
|
72250
73291
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
72251
73292
|
error_code: 'code_modified_external_to_seam';
|
|
73293
|
+
/** Indicates the type of external modification. `modified` means the code's PIN or schedule was changed. `removed` means the code was deleted from the device. */
|
|
73294
|
+
change_type?: ('modified' | 'removed') | undefined;
|
|
73295
|
+
/** List of fields that were changed externally, with their previous and new values. */
|
|
73296
|
+
modified_fields?: {
|
|
73297
|
+
/** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
|
|
73298
|
+
field: string;
|
|
73299
|
+
/** The previous value of the field. */
|
|
73300
|
+
from: string | null;
|
|
73301
|
+
/** The new value of the field. */
|
|
73302
|
+
to: string | null;
|
|
73303
|
+
}[] | undefined;
|
|
72252
73304
|
} | {
|
|
72253
73305
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
72254
73306
|
message: string;
|
|
@@ -72276,6 +73328,15 @@ type Routes = {
|
|
|
72276
73328
|
created_at?: string | undefined;
|
|
72277
73329
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
72278
73330
|
error_code: 'august_lock_temporarily_offline';
|
|
73331
|
+
} | {
|
|
73332
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
73333
|
+
message: string;
|
|
73334
|
+
/** Indicates that this is an access code error. */
|
|
73335
|
+
is_access_code_error: true;
|
|
73336
|
+
/** Date and time at which Seam created the error. */
|
|
73337
|
+
created_at?: string | undefined;
|
|
73338
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
73339
|
+
error_code: 'access_code_inactive';
|
|
72279
73340
|
} | {
|
|
72280
73341
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
72281
73342
|
message: string;
|
|
@@ -72483,6 +73544,13 @@ type Routes = {
|
|
|
72483
73544
|
})[];
|
|
72484
73545
|
/** Warnings associated with the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
|
|
72485
73546
|
warnings: ({
|
|
73547
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
73548
|
+
message: string;
|
|
73549
|
+
/** Date and time at which Seam created the warning. */
|
|
73550
|
+
created_at?: string | undefined;
|
|
73551
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
73552
|
+
warning_code: 'provider_issue';
|
|
73553
|
+
} | {
|
|
72486
73554
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
72487
73555
|
message: string;
|
|
72488
73556
|
/** Date and time at which Seam created the warning. */
|
|
@@ -72517,6 +73585,17 @@ type Routes = {
|
|
|
72517
73585
|
created_at?: string | undefined;
|
|
72518
73586
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
72519
73587
|
warning_code: 'code_modified_external_to_seam';
|
|
73588
|
+
/** Indicates the type of external modification. `modified` means the code's PIN or schedule was changed. `removed` means the code was deleted from the device. */
|
|
73589
|
+
change_type?: ('modified' | 'removed') | undefined;
|
|
73590
|
+
/** List of fields that were changed externally, with their previous and new values. */
|
|
73591
|
+
modified_fields?: {
|
|
73592
|
+
/** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
|
|
73593
|
+
field: string;
|
|
73594
|
+
/** The previous value of the field. */
|
|
73595
|
+
from: string | null;
|
|
73596
|
+
/** The new value of the field. */
|
|
73597
|
+
to: string | null;
|
|
73598
|
+
}[] | undefined;
|
|
72520
73599
|
} | {
|
|
72521
73600
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
72522
73601
|
message: string;
|
|
@@ -72780,6 +73859,15 @@ type Routes = {
|
|
|
72780
73859
|
created_at: string;
|
|
72781
73860
|
/** Errors associated with the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
|
|
72782
73861
|
errors: ({
|
|
73862
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
73863
|
+
message: string;
|
|
73864
|
+
/** Indicates that this is an access code error. */
|
|
73865
|
+
is_access_code_error: true;
|
|
73866
|
+
/** Date and time at which Seam created the error. */
|
|
73867
|
+
created_at?: string | undefined;
|
|
73868
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
73869
|
+
error_code: 'provider_issue';
|
|
73870
|
+
} | {
|
|
72783
73871
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
72784
73872
|
message: string;
|
|
72785
73873
|
/** Indicates that this is an access code error. */
|
|
@@ -72882,6 +73970,17 @@ type Routes = {
|
|
|
72882
73970
|
created_at?: string | undefined;
|
|
72883
73971
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
72884
73972
|
error_code: 'code_modified_external_to_seam';
|
|
73973
|
+
/** Indicates the type of external modification. `modified` means the code's PIN or schedule was changed. `removed` means the code was deleted from the device. */
|
|
73974
|
+
change_type?: ('modified' | 'removed') | undefined;
|
|
73975
|
+
/** List of fields that were changed externally, with their previous and new values. */
|
|
73976
|
+
modified_fields?: {
|
|
73977
|
+
/** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
|
|
73978
|
+
field: string;
|
|
73979
|
+
/** The previous value of the field. */
|
|
73980
|
+
from: string | null;
|
|
73981
|
+
/** The new value of the field. */
|
|
73982
|
+
to: string | null;
|
|
73983
|
+
}[] | undefined;
|
|
72885
73984
|
} | {
|
|
72886
73985
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
72887
73986
|
message: string;
|
|
@@ -72909,6 +74008,15 @@ type Routes = {
|
|
|
72909
74008
|
created_at?: string | undefined;
|
|
72910
74009
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
72911
74010
|
error_code: 'august_lock_temporarily_offline';
|
|
74011
|
+
} | {
|
|
74012
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
74013
|
+
message: string;
|
|
74014
|
+
/** Indicates that this is an access code error. */
|
|
74015
|
+
is_access_code_error: true;
|
|
74016
|
+
/** Date and time at which Seam created the error. */
|
|
74017
|
+
created_at?: string | undefined;
|
|
74018
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
74019
|
+
error_code: 'access_code_inactive';
|
|
72912
74020
|
} | {
|
|
72913
74021
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
72914
74022
|
message: string;
|
|
@@ -73116,6 +74224,13 @@ type Routes = {
|
|
|
73116
74224
|
})[];
|
|
73117
74225
|
/** Warnings associated with the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
|
|
73118
74226
|
warnings: ({
|
|
74227
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
74228
|
+
message: string;
|
|
74229
|
+
/** Date and time at which Seam created the warning. */
|
|
74230
|
+
created_at?: string | undefined;
|
|
74231
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
74232
|
+
warning_code: 'provider_issue';
|
|
74233
|
+
} | {
|
|
73119
74234
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
73120
74235
|
message: string;
|
|
73121
74236
|
/** Date and time at which Seam created the warning. */
|
|
@@ -73150,6 +74265,17 @@ type Routes = {
|
|
|
73150
74265
|
created_at?: string | undefined;
|
|
73151
74266
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
73152
74267
|
warning_code: 'code_modified_external_to_seam';
|
|
74268
|
+
/** Indicates the type of external modification. `modified` means the code's PIN or schedule was changed. `removed` means the code was deleted from the device. */
|
|
74269
|
+
change_type?: ('modified' | 'removed') | undefined;
|
|
74270
|
+
/** List of fields that were changed externally, with their previous and new values. */
|
|
74271
|
+
modified_fields?: {
|
|
74272
|
+
/** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
|
|
74273
|
+
field: string;
|
|
74274
|
+
/** The previous value of the field. */
|
|
74275
|
+
from: string | null;
|
|
74276
|
+
/** The new value of the field. */
|
|
74277
|
+
to: string | null;
|
|
74278
|
+
}[] | undefined;
|
|
73153
74279
|
} | {
|
|
73154
74280
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
73155
74281
|
message: string;
|
|
@@ -74843,6 +75969,15 @@ type Routes = {
|
|
|
74843
75969
|
created_at: string;
|
|
74844
75970
|
/** Errors associated with the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
|
|
74845
75971
|
errors: ({
|
|
75972
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
75973
|
+
message: string;
|
|
75974
|
+
/** Indicates that this is an access code error. */
|
|
75975
|
+
is_access_code_error: true;
|
|
75976
|
+
/** Date and time at which Seam created the error. */
|
|
75977
|
+
created_at?: string | undefined;
|
|
75978
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
75979
|
+
error_code: 'provider_issue';
|
|
75980
|
+
} | {
|
|
74846
75981
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
74847
75982
|
message: string;
|
|
74848
75983
|
/** Indicates that this is an access code error. */
|
|
@@ -74945,6 +76080,17 @@ type Routes = {
|
|
|
74945
76080
|
created_at?: string | undefined;
|
|
74946
76081
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
74947
76082
|
error_code: 'code_modified_external_to_seam';
|
|
76083
|
+
/** Indicates the type of external modification. `modified` means the code's PIN or schedule was changed. `removed` means the code was deleted from the device. */
|
|
76084
|
+
change_type?: ('modified' | 'removed') | undefined;
|
|
76085
|
+
/** List of fields that were changed externally, with their previous and new values. */
|
|
76086
|
+
modified_fields?: {
|
|
76087
|
+
/** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
|
|
76088
|
+
field: string;
|
|
76089
|
+
/** The previous value of the field. */
|
|
76090
|
+
from: string | null;
|
|
76091
|
+
/** The new value of the field. */
|
|
76092
|
+
to: string | null;
|
|
76093
|
+
}[] | undefined;
|
|
74948
76094
|
} | {
|
|
74949
76095
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
74950
76096
|
message: string;
|
|
@@ -74972,6 +76118,15 @@ type Routes = {
|
|
|
74972
76118
|
created_at?: string | undefined;
|
|
74973
76119
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
74974
76120
|
error_code: 'august_lock_temporarily_offline';
|
|
76121
|
+
} | {
|
|
76122
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
76123
|
+
message: string;
|
|
76124
|
+
/** Indicates that this is an access code error. */
|
|
76125
|
+
is_access_code_error: true;
|
|
76126
|
+
/** Date and time at which Seam created the error. */
|
|
76127
|
+
created_at?: string | undefined;
|
|
76128
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
76129
|
+
error_code: 'access_code_inactive';
|
|
74975
76130
|
} | {
|
|
74976
76131
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
74977
76132
|
message: string;
|
|
@@ -75179,6 +76334,13 @@ type Routes = {
|
|
|
75179
76334
|
})[];
|
|
75180
76335
|
/** Warnings associated with the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
|
|
75181
76336
|
warnings: ({
|
|
76337
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
76338
|
+
message: string;
|
|
76339
|
+
/** Date and time at which Seam created the warning. */
|
|
76340
|
+
created_at?: string | undefined;
|
|
76341
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
76342
|
+
warning_code: 'provider_issue';
|
|
76343
|
+
} | {
|
|
75182
76344
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
75183
76345
|
message: string;
|
|
75184
76346
|
/** Date and time at which Seam created the warning. */
|
|
@@ -75213,6 +76375,17 @@ type Routes = {
|
|
|
75213
76375
|
created_at?: string | undefined;
|
|
75214
76376
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
75215
76377
|
warning_code: 'code_modified_external_to_seam';
|
|
76378
|
+
/** Indicates the type of external modification. `modified` means the code's PIN or schedule was changed. `removed` means the code was deleted from the device. */
|
|
76379
|
+
change_type?: ('modified' | 'removed') | undefined;
|
|
76380
|
+
/** List of fields that were changed externally, with their previous and new values. */
|
|
76381
|
+
modified_fields?: {
|
|
76382
|
+
/** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
|
|
76383
|
+
field: string;
|
|
76384
|
+
/** The previous value of the field. */
|
|
76385
|
+
from: string | null;
|
|
76386
|
+
/** The new value of the field. */
|
|
76387
|
+
to: string | null;
|
|
76388
|
+
}[] | undefined;
|
|
75216
76389
|
} | {
|
|
75217
76390
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
75218
76391
|
message: string;
|
|
@@ -75362,6 +76535,15 @@ type Routes = {
|
|
|
75362
76535
|
created_at: string;
|
|
75363
76536
|
/** Errors associated with the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
|
|
75364
76537
|
errors: ({
|
|
76538
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
76539
|
+
message: string;
|
|
76540
|
+
/** Indicates that this is an access code error. */
|
|
76541
|
+
is_access_code_error: true;
|
|
76542
|
+
/** Date and time at which Seam created the error. */
|
|
76543
|
+
created_at?: string | undefined;
|
|
76544
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
76545
|
+
error_code: 'provider_issue';
|
|
76546
|
+
} | {
|
|
75365
76547
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
75366
76548
|
message: string;
|
|
75367
76549
|
/** Indicates that this is an access code error. */
|
|
@@ -75464,6 +76646,17 @@ type Routes = {
|
|
|
75464
76646
|
created_at?: string | undefined;
|
|
75465
76647
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
75466
76648
|
error_code: 'code_modified_external_to_seam';
|
|
76649
|
+
/** Indicates the type of external modification. `modified` means the code's PIN or schedule was changed. `removed` means the code was deleted from the device. */
|
|
76650
|
+
change_type?: ('modified' | 'removed') | undefined;
|
|
76651
|
+
/** List of fields that were changed externally, with their previous and new values. */
|
|
76652
|
+
modified_fields?: {
|
|
76653
|
+
/** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
|
|
76654
|
+
field: string;
|
|
76655
|
+
/** The previous value of the field. */
|
|
76656
|
+
from: string | null;
|
|
76657
|
+
/** The new value of the field. */
|
|
76658
|
+
to: string | null;
|
|
76659
|
+
}[] | undefined;
|
|
75467
76660
|
} | {
|
|
75468
76661
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
75469
76662
|
message: string;
|
|
@@ -75491,6 +76684,15 @@ type Routes = {
|
|
|
75491
76684
|
created_at?: string | undefined;
|
|
75492
76685
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
75493
76686
|
error_code: 'august_lock_temporarily_offline';
|
|
76687
|
+
} | {
|
|
76688
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
76689
|
+
message: string;
|
|
76690
|
+
/** Indicates that this is an access code error. */
|
|
76691
|
+
is_access_code_error: true;
|
|
76692
|
+
/** Date and time at which Seam created the error. */
|
|
76693
|
+
created_at?: string | undefined;
|
|
76694
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
76695
|
+
error_code: 'access_code_inactive';
|
|
75494
76696
|
} | {
|
|
75495
76697
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
75496
76698
|
message: string;
|
|
@@ -75698,6 +76900,13 @@ type Routes = {
|
|
|
75698
76900
|
})[];
|
|
75699
76901
|
/** Warnings associated with the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
|
|
75700
76902
|
warnings: ({
|
|
76903
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
76904
|
+
message: string;
|
|
76905
|
+
/** Date and time at which Seam created the warning. */
|
|
76906
|
+
created_at?: string | undefined;
|
|
76907
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
76908
|
+
warning_code: 'provider_issue';
|
|
76909
|
+
} | {
|
|
75701
76910
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
75702
76911
|
message: string;
|
|
75703
76912
|
/** Date and time at which Seam created the warning. */
|
|
@@ -75732,6 +76941,17 @@ type Routes = {
|
|
|
75732
76941
|
created_at?: string | undefined;
|
|
75733
76942
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
75734
76943
|
warning_code: 'code_modified_external_to_seam';
|
|
76944
|
+
/** Indicates the type of external modification. `modified` means the code's PIN or schedule was changed. `removed` means the code was deleted from the device. */
|
|
76945
|
+
change_type?: ('modified' | 'removed') | undefined;
|
|
76946
|
+
/** List of fields that were changed externally, with their previous and new values. */
|
|
76947
|
+
modified_fields?: {
|
|
76948
|
+
/** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
|
|
76949
|
+
field: string;
|
|
76950
|
+
/** The previous value of the field. */
|
|
76951
|
+
from: string | null;
|
|
76952
|
+
/** The new value of the field. */
|
|
76953
|
+
to: string | null;
|
|
76954
|
+
}[] | undefined;
|
|
75735
76955
|
} | {
|
|
75736
76956
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
75737
76957
|
message: string;
|
|
@@ -173275,6 +174495,15 @@ type Routes = {
|
|
|
173275
174495
|
created_at: string;
|
|
173276
174496
|
/** Errors associated with the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
|
|
173277
174497
|
errors: ({
|
|
174498
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
174499
|
+
message: string;
|
|
174500
|
+
/** Indicates that this is an access code error. */
|
|
174501
|
+
is_access_code_error: true;
|
|
174502
|
+
/** Date and time at which Seam created the error. */
|
|
174503
|
+
created_at?: string | undefined;
|
|
174504
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
174505
|
+
error_code: 'provider_issue';
|
|
174506
|
+
} | {
|
|
173278
174507
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
173279
174508
|
message: string;
|
|
173280
174509
|
/** Indicates that this is an access code error. */
|
|
@@ -173377,6 +174606,17 @@ type Routes = {
|
|
|
173377
174606
|
created_at?: string | undefined;
|
|
173378
174607
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
173379
174608
|
error_code: 'code_modified_external_to_seam';
|
|
174609
|
+
/** Indicates the type of external modification. `modified` means the code's PIN or schedule was changed. `removed` means the code was deleted from the device. */
|
|
174610
|
+
change_type?: ('modified' | 'removed') | undefined;
|
|
174611
|
+
/** List of fields that were changed externally, with their previous and new values. */
|
|
174612
|
+
modified_fields?: {
|
|
174613
|
+
/** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
|
|
174614
|
+
field: string;
|
|
174615
|
+
/** The previous value of the field. */
|
|
174616
|
+
from: string | null;
|
|
174617
|
+
/** The new value of the field. */
|
|
174618
|
+
to: string | null;
|
|
174619
|
+
}[] | undefined;
|
|
173380
174620
|
} | {
|
|
173381
174621
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
173382
174622
|
message: string;
|
|
@@ -173404,6 +174644,15 @@ type Routes = {
|
|
|
173404
174644
|
created_at?: string | undefined;
|
|
173405
174645
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
173406
174646
|
error_code: 'august_lock_temporarily_offline';
|
|
174647
|
+
} | {
|
|
174648
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
174649
|
+
message: string;
|
|
174650
|
+
/** Indicates that this is an access code error. */
|
|
174651
|
+
is_access_code_error: true;
|
|
174652
|
+
/** Date and time at which Seam created the error. */
|
|
174653
|
+
created_at?: string | undefined;
|
|
174654
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
174655
|
+
error_code: 'access_code_inactive';
|
|
173407
174656
|
} | {
|
|
173408
174657
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
173409
174658
|
message: string;
|
|
@@ -173611,6 +174860,13 @@ type Routes = {
|
|
|
173611
174860
|
})[];
|
|
173612
174861
|
/** Warnings associated with the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
|
|
173613
174862
|
warnings: ({
|
|
174863
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
174864
|
+
message: string;
|
|
174865
|
+
/** Date and time at which Seam created the warning. */
|
|
174866
|
+
created_at?: string | undefined;
|
|
174867
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
174868
|
+
warning_code: 'provider_issue';
|
|
174869
|
+
} | {
|
|
173614
174870
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
173615
174871
|
message: string;
|
|
173616
174872
|
/** Date and time at which Seam created the warning. */
|
|
@@ -173645,6 +174901,17 @@ type Routes = {
|
|
|
173645
174901
|
created_at?: string | undefined;
|
|
173646
174902
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
173647
174903
|
warning_code: 'code_modified_external_to_seam';
|
|
174904
|
+
/** Indicates the type of external modification. `modified` means the code's PIN or schedule was changed. `removed` means the code was deleted from the device. */
|
|
174905
|
+
change_type?: ('modified' | 'removed') | undefined;
|
|
174906
|
+
/** List of fields that were changed externally, with their previous and new values. */
|
|
174907
|
+
modified_fields?: {
|
|
174908
|
+
/** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
|
|
174909
|
+
field: string;
|
|
174910
|
+
/** The previous value of the field. */
|
|
174911
|
+
from: string | null;
|
|
174912
|
+
/** The new value of the field. */
|
|
174913
|
+
to: string | null;
|
|
174914
|
+
}[] | undefined;
|
|
173648
174915
|
} | {
|
|
173649
174916
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
173650
174917
|
message: string;
|
|
@@ -173778,6 +175045,15 @@ type Routes = {
|
|
|
173778
175045
|
created_at: string;
|
|
173779
175046
|
/** Errors associated with the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
|
|
173780
175047
|
errors: ({
|
|
175048
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
175049
|
+
message: string;
|
|
175050
|
+
/** Indicates that this is an access code error. */
|
|
175051
|
+
is_access_code_error: true;
|
|
175052
|
+
/** Date and time at which Seam created the error. */
|
|
175053
|
+
created_at?: string | undefined;
|
|
175054
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
175055
|
+
error_code: 'provider_issue';
|
|
175056
|
+
} | {
|
|
173781
175057
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
173782
175058
|
message: string;
|
|
173783
175059
|
/** Indicates that this is an access code error. */
|
|
@@ -173880,6 +175156,17 @@ type Routes = {
|
|
|
173880
175156
|
created_at?: string | undefined;
|
|
173881
175157
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
173882
175158
|
error_code: 'code_modified_external_to_seam';
|
|
175159
|
+
/** Indicates the type of external modification. `modified` means the code's PIN or schedule was changed. `removed` means the code was deleted from the device. */
|
|
175160
|
+
change_type?: ('modified' | 'removed') | undefined;
|
|
175161
|
+
/** List of fields that were changed externally, with their previous and new values. */
|
|
175162
|
+
modified_fields?: {
|
|
175163
|
+
/** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
|
|
175164
|
+
field: string;
|
|
175165
|
+
/** The previous value of the field. */
|
|
175166
|
+
from: string | null;
|
|
175167
|
+
/** The new value of the field. */
|
|
175168
|
+
to: string | null;
|
|
175169
|
+
}[] | undefined;
|
|
173883
175170
|
} | {
|
|
173884
175171
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
173885
175172
|
message: string;
|
|
@@ -173907,6 +175194,15 @@ type Routes = {
|
|
|
173907
175194
|
created_at?: string | undefined;
|
|
173908
175195
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
173909
175196
|
error_code: 'august_lock_temporarily_offline';
|
|
175197
|
+
} | {
|
|
175198
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
175199
|
+
message: string;
|
|
175200
|
+
/** Indicates that this is an access code error. */
|
|
175201
|
+
is_access_code_error: true;
|
|
175202
|
+
/** Date and time at which Seam created the error. */
|
|
175203
|
+
created_at?: string | undefined;
|
|
175204
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
175205
|
+
error_code: 'access_code_inactive';
|
|
173910
175206
|
} | {
|
|
173911
175207
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
173912
175208
|
message: string;
|
|
@@ -174114,6 +175410,13 @@ type Routes = {
|
|
|
174114
175410
|
})[];
|
|
174115
175411
|
/** Warnings associated with the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
|
|
174116
175412
|
warnings: ({
|
|
175413
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
175414
|
+
message: string;
|
|
175415
|
+
/** Date and time at which Seam created the warning. */
|
|
175416
|
+
created_at?: string | undefined;
|
|
175417
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
175418
|
+
warning_code: 'provider_issue';
|
|
175419
|
+
} | {
|
|
174117
175420
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
174118
175421
|
message: string;
|
|
174119
175422
|
/** Date and time at which Seam created the warning. */
|
|
@@ -174148,6 +175451,17 @@ type Routes = {
|
|
|
174148
175451
|
created_at?: string | undefined;
|
|
174149
175452
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
174150
175453
|
warning_code: 'code_modified_external_to_seam';
|
|
175454
|
+
/** Indicates the type of external modification. `modified` means the code's PIN or schedule was changed. `removed` means the code was deleted from the device. */
|
|
175455
|
+
change_type?: ('modified' | 'removed') | undefined;
|
|
175456
|
+
/** List of fields that were changed externally, with their previous and new values. */
|
|
175457
|
+
modified_fields?: {
|
|
175458
|
+
/** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
|
|
175459
|
+
field: string;
|
|
175460
|
+
/** The previous value of the field. */
|
|
175461
|
+
from: string | null;
|
|
175462
|
+
/** The new value of the field. */
|
|
175463
|
+
to: string | null;
|
|
175464
|
+
}[] | undefined;
|
|
174151
175465
|
} | {
|
|
174152
175466
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
174153
175467
|
message: string;
|