@seamapi/types 1.870.0 → 1.871.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 +137 -2
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +646 -0
- package/dist/index.cjs +137 -2
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +204 -0
- package/lib/seam/connect/models/access-codes/managed-access-code.js +23 -0
- 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 +76 -0
- package/lib/seam/connect/models/batch.d.ts +200 -0
- package/lib/seam/connect/openapi.js +116 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +242 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +34 -0
- package/src/lib/seam/connect/openapi.ts +128 -0
- package/src/lib/seam/connect/route-types.ts +286 -0
package/dist/connect.d.cts
CHANGED
|
@@ -172,16 +172,42 @@ declare const access_code_error: z.ZodDiscriminatedUnion<"error_code", [z.ZodObj
|
|
|
172
172
|
created_at: z.ZodOptional<z.ZodString>;
|
|
173
173
|
} & {
|
|
174
174
|
error_code: z.ZodLiteral<"code_modified_external_to_seam">;
|
|
175
|
+
change_type: z.ZodOptional<z.ZodEnum<["modified", "removed"]>>;
|
|
176
|
+
modified_fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
177
|
+
field: z.ZodString;
|
|
178
|
+
from: z.ZodNullable<z.ZodString>;
|
|
179
|
+
to: z.ZodNullable<z.ZodString>;
|
|
180
|
+
}, "strip", z.ZodTypeAny, {
|
|
181
|
+
from: string | null;
|
|
182
|
+
to: string | null;
|
|
183
|
+
field: string;
|
|
184
|
+
}, {
|
|
185
|
+
from: string | null;
|
|
186
|
+
to: string | null;
|
|
187
|
+
field: string;
|
|
188
|
+
}>, "many">>;
|
|
175
189
|
}, "strip", z.ZodTypeAny, {
|
|
176
190
|
message: string;
|
|
177
191
|
error_code: "code_modified_external_to_seam";
|
|
178
192
|
is_access_code_error: true;
|
|
179
193
|
created_at?: string | undefined;
|
|
194
|
+
change_type?: "modified" | "removed" | undefined;
|
|
195
|
+
modified_fields?: {
|
|
196
|
+
from: string | null;
|
|
197
|
+
to: string | null;
|
|
198
|
+
field: string;
|
|
199
|
+
}[] | undefined;
|
|
180
200
|
}, {
|
|
181
201
|
message: string;
|
|
182
202
|
error_code: "code_modified_external_to_seam";
|
|
183
203
|
is_access_code_error: true;
|
|
184
204
|
created_at?: string | undefined;
|
|
205
|
+
change_type?: "modified" | "removed" | undefined;
|
|
206
|
+
modified_fields?: {
|
|
207
|
+
from: string | null;
|
|
208
|
+
to: string | null;
|
|
209
|
+
field: string;
|
|
210
|
+
}[] | undefined;
|
|
185
211
|
}>, z.ZodObject<{
|
|
186
212
|
message: z.ZodString;
|
|
187
213
|
is_access_code_error: z.ZodLiteral<true>;
|
|
@@ -401,14 +427,40 @@ declare const access_code_warning: z.ZodDiscriminatedUnion<"warning_code", [z.Zo
|
|
|
401
427
|
created_at: z.ZodOptional<z.ZodString>;
|
|
402
428
|
} & {
|
|
403
429
|
warning_code: z.ZodLiteral<"code_modified_external_to_seam">;
|
|
430
|
+
change_type: z.ZodOptional<z.ZodEnum<["modified", "removed"]>>;
|
|
431
|
+
modified_fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
432
|
+
field: z.ZodString;
|
|
433
|
+
from: z.ZodNullable<z.ZodString>;
|
|
434
|
+
to: z.ZodNullable<z.ZodString>;
|
|
435
|
+
}, "strip", z.ZodTypeAny, {
|
|
436
|
+
from: string | null;
|
|
437
|
+
to: string | null;
|
|
438
|
+
field: string;
|
|
439
|
+
}, {
|
|
440
|
+
from: string | null;
|
|
441
|
+
to: string | null;
|
|
442
|
+
field: string;
|
|
443
|
+
}>, "many">>;
|
|
404
444
|
}, "strip", z.ZodTypeAny, {
|
|
405
445
|
message: string;
|
|
406
446
|
warning_code: "code_modified_external_to_seam";
|
|
407
447
|
created_at?: string | undefined;
|
|
448
|
+
change_type?: "modified" | "removed" | undefined;
|
|
449
|
+
modified_fields?: {
|
|
450
|
+
from: string | null;
|
|
451
|
+
to: string | null;
|
|
452
|
+
field: string;
|
|
453
|
+
}[] | undefined;
|
|
408
454
|
}, {
|
|
409
455
|
message: string;
|
|
410
456
|
warning_code: "code_modified_external_to_seam";
|
|
411
457
|
created_at?: string | undefined;
|
|
458
|
+
change_type?: "modified" | "removed" | undefined;
|
|
459
|
+
modified_fields?: {
|
|
460
|
+
from: string | null;
|
|
461
|
+
to: string | null;
|
|
462
|
+
field: string;
|
|
463
|
+
}[] | undefined;
|
|
412
464
|
}>, z.ZodObject<{
|
|
413
465
|
message: z.ZodString;
|
|
414
466
|
created_at: z.ZodOptional<z.ZodString>;
|
|
@@ -737,16 +789,42 @@ declare const access_code: z.ZodObject<{
|
|
|
737
789
|
created_at: z.ZodOptional<z.ZodString>;
|
|
738
790
|
} & {
|
|
739
791
|
error_code: z.ZodLiteral<"code_modified_external_to_seam">;
|
|
792
|
+
change_type: z.ZodOptional<z.ZodEnum<["modified", "removed"]>>;
|
|
793
|
+
modified_fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
794
|
+
field: z.ZodString;
|
|
795
|
+
from: z.ZodNullable<z.ZodString>;
|
|
796
|
+
to: z.ZodNullable<z.ZodString>;
|
|
797
|
+
}, "strip", z.ZodTypeAny, {
|
|
798
|
+
from: string | null;
|
|
799
|
+
to: string | null;
|
|
800
|
+
field: string;
|
|
801
|
+
}, {
|
|
802
|
+
from: string | null;
|
|
803
|
+
to: string | null;
|
|
804
|
+
field: string;
|
|
805
|
+
}>, "many">>;
|
|
740
806
|
}, "strip", z.ZodTypeAny, {
|
|
741
807
|
message: string;
|
|
742
808
|
error_code: "code_modified_external_to_seam";
|
|
743
809
|
is_access_code_error: true;
|
|
744
810
|
created_at?: string | undefined;
|
|
811
|
+
change_type?: "modified" | "removed" | undefined;
|
|
812
|
+
modified_fields?: {
|
|
813
|
+
from: string | null;
|
|
814
|
+
to: string | null;
|
|
815
|
+
field: string;
|
|
816
|
+
}[] | undefined;
|
|
745
817
|
}, {
|
|
746
818
|
message: string;
|
|
747
819
|
error_code: "code_modified_external_to_seam";
|
|
748
820
|
is_access_code_error: true;
|
|
749
821
|
created_at?: string | undefined;
|
|
822
|
+
change_type?: "modified" | "removed" | undefined;
|
|
823
|
+
modified_fields?: {
|
|
824
|
+
from: string | null;
|
|
825
|
+
to: string | null;
|
|
826
|
+
field: string;
|
|
827
|
+
}[] | undefined;
|
|
750
828
|
}>, z.ZodObject<{
|
|
751
829
|
message: z.ZodString;
|
|
752
830
|
is_access_code_error: z.ZodLiteral<true>;
|
|
@@ -1300,14 +1378,40 @@ declare const access_code: z.ZodObject<{
|
|
|
1300
1378
|
created_at: z.ZodOptional<z.ZodString>;
|
|
1301
1379
|
} & {
|
|
1302
1380
|
warning_code: z.ZodLiteral<"code_modified_external_to_seam">;
|
|
1381
|
+
change_type: z.ZodOptional<z.ZodEnum<["modified", "removed"]>>;
|
|
1382
|
+
modified_fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1383
|
+
field: z.ZodString;
|
|
1384
|
+
from: z.ZodNullable<z.ZodString>;
|
|
1385
|
+
to: z.ZodNullable<z.ZodString>;
|
|
1386
|
+
}, "strip", z.ZodTypeAny, {
|
|
1387
|
+
from: string | null;
|
|
1388
|
+
to: string | null;
|
|
1389
|
+
field: string;
|
|
1390
|
+
}, {
|
|
1391
|
+
from: string | null;
|
|
1392
|
+
to: string | null;
|
|
1393
|
+
field: string;
|
|
1394
|
+
}>, "many">>;
|
|
1303
1395
|
}, "strip", z.ZodTypeAny, {
|
|
1304
1396
|
message: string;
|
|
1305
1397
|
warning_code: "code_modified_external_to_seam";
|
|
1306
1398
|
created_at?: string | undefined;
|
|
1399
|
+
change_type?: "modified" | "removed" | undefined;
|
|
1400
|
+
modified_fields?: {
|
|
1401
|
+
from: string | null;
|
|
1402
|
+
to: string | null;
|
|
1403
|
+
field: string;
|
|
1404
|
+
}[] | undefined;
|
|
1307
1405
|
}, {
|
|
1308
1406
|
message: string;
|
|
1309
1407
|
warning_code: "code_modified_external_to_seam";
|
|
1310
1408
|
created_at?: string | undefined;
|
|
1409
|
+
change_type?: "modified" | "removed" | undefined;
|
|
1410
|
+
modified_fields?: {
|
|
1411
|
+
from: string | null;
|
|
1412
|
+
to: string | null;
|
|
1413
|
+
field: string;
|
|
1414
|
+
}[] | undefined;
|
|
1311
1415
|
}>, z.ZodObject<{
|
|
1312
1416
|
message: z.ZodString;
|
|
1313
1417
|
created_at: z.ZodOptional<z.ZodString>;
|
|
@@ -1781,6 +1885,12 @@ declare const access_code: z.ZodObject<{
|
|
|
1781
1885
|
error_code: "code_modified_external_to_seam";
|
|
1782
1886
|
is_access_code_error: true;
|
|
1783
1887
|
created_at?: string | undefined;
|
|
1888
|
+
change_type?: "modified" | "removed" | undefined;
|
|
1889
|
+
modified_fields?: {
|
|
1890
|
+
from: string | null;
|
|
1891
|
+
to: string | null;
|
|
1892
|
+
field: string;
|
|
1893
|
+
}[] | undefined;
|
|
1784
1894
|
} | {
|
|
1785
1895
|
message: string;
|
|
1786
1896
|
error_code: "failed_to_set_on_device";
|
|
@@ -1886,6 +1996,12 @@ declare const access_code: z.ZodObject<{
|
|
|
1886
1996
|
message: string;
|
|
1887
1997
|
warning_code: "code_modified_external_to_seam";
|
|
1888
1998
|
created_at?: string | undefined;
|
|
1999
|
+
change_type?: "modified" | "removed" | undefined;
|
|
2000
|
+
modified_fields?: {
|
|
2001
|
+
from: string | null;
|
|
2002
|
+
to: string | null;
|
|
2003
|
+
field: string;
|
|
2004
|
+
}[] | undefined;
|
|
1889
2005
|
} | {
|
|
1890
2006
|
message: string;
|
|
1891
2007
|
warning_code: "schlage_detected_duplicate";
|
|
@@ -2129,6 +2245,12 @@ declare const access_code: z.ZodObject<{
|
|
|
2129
2245
|
error_code: "code_modified_external_to_seam";
|
|
2130
2246
|
is_access_code_error: true;
|
|
2131
2247
|
created_at?: string | undefined;
|
|
2248
|
+
change_type?: "modified" | "removed" | undefined;
|
|
2249
|
+
modified_fields?: {
|
|
2250
|
+
from: string | null;
|
|
2251
|
+
to: string | null;
|
|
2252
|
+
field: string;
|
|
2253
|
+
}[] | undefined;
|
|
2132
2254
|
} | {
|
|
2133
2255
|
message: string;
|
|
2134
2256
|
error_code: "failed_to_set_on_device";
|
|
@@ -2234,6 +2356,12 @@ declare const access_code: z.ZodObject<{
|
|
|
2234
2356
|
message: string;
|
|
2235
2357
|
warning_code: "code_modified_external_to_seam";
|
|
2236
2358
|
created_at?: string | undefined;
|
|
2359
|
+
change_type?: "modified" | "removed" | undefined;
|
|
2360
|
+
modified_fields?: {
|
|
2361
|
+
from: string | null;
|
|
2362
|
+
to: string | null;
|
|
2363
|
+
field: string;
|
|
2364
|
+
}[] | undefined;
|
|
2237
2365
|
} | {
|
|
2238
2366
|
message: string;
|
|
2239
2367
|
warning_code: "schlage_detected_duplicate";
|
|
@@ -2540,16 +2668,42 @@ declare const unmanaged_access_code: z.ZodObject<{
|
|
|
2540
2668
|
created_at: z.ZodOptional<z.ZodString>;
|
|
2541
2669
|
} & {
|
|
2542
2670
|
error_code: z.ZodLiteral<"code_modified_external_to_seam">;
|
|
2671
|
+
change_type: z.ZodOptional<z.ZodEnum<["modified", "removed"]>>;
|
|
2672
|
+
modified_fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2673
|
+
field: z.ZodString;
|
|
2674
|
+
from: z.ZodNullable<z.ZodString>;
|
|
2675
|
+
to: z.ZodNullable<z.ZodString>;
|
|
2676
|
+
}, "strip", z.ZodTypeAny, {
|
|
2677
|
+
from: string | null;
|
|
2678
|
+
to: string | null;
|
|
2679
|
+
field: string;
|
|
2680
|
+
}, {
|
|
2681
|
+
from: string | null;
|
|
2682
|
+
to: string | null;
|
|
2683
|
+
field: string;
|
|
2684
|
+
}>, "many">>;
|
|
2543
2685
|
}, "strip", z.ZodTypeAny, {
|
|
2544
2686
|
message: string;
|
|
2545
2687
|
error_code: "code_modified_external_to_seam";
|
|
2546
2688
|
is_access_code_error: true;
|
|
2547
2689
|
created_at?: string | undefined;
|
|
2690
|
+
change_type?: "modified" | "removed" | undefined;
|
|
2691
|
+
modified_fields?: {
|
|
2692
|
+
from: string | null;
|
|
2693
|
+
to: string | null;
|
|
2694
|
+
field: string;
|
|
2695
|
+
}[] | undefined;
|
|
2548
2696
|
}, {
|
|
2549
2697
|
message: string;
|
|
2550
2698
|
error_code: "code_modified_external_to_seam";
|
|
2551
2699
|
is_access_code_error: true;
|
|
2552
2700
|
created_at?: string | undefined;
|
|
2701
|
+
change_type?: "modified" | "removed" | undefined;
|
|
2702
|
+
modified_fields?: {
|
|
2703
|
+
from: string | null;
|
|
2704
|
+
to: string | null;
|
|
2705
|
+
field: string;
|
|
2706
|
+
}[] | undefined;
|
|
2553
2707
|
}>, z.ZodObject<{
|
|
2554
2708
|
message: z.ZodString;
|
|
2555
2709
|
is_access_code_error: z.ZodLiteral<true>;
|
|
@@ -3103,14 +3257,40 @@ declare const unmanaged_access_code: z.ZodObject<{
|
|
|
3103
3257
|
created_at: z.ZodOptional<z.ZodString>;
|
|
3104
3258
|
} & {
|
|
3105
3259
|
warning_code: z.ZodLiteral<"code_modified_external_to_seam">;
|
|
3260
|
+
change_type: z.ZodOptional<z.ZodEnum<["modified", "removed"]>>;
|
|
3261
|
+
modified_fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3262
|
+
field: z.ZodString;
|
|
3263
|
+
from: z.ZodNullable<z.ZodString>;
|
|
3264
|
+
to: z.ZodNullable<z.ZodString>;
|
|
3265
|
+
}, "strip", z.ZodTypeAny, {
|
|
3266
|
+
from: string | null;
|
|
3267
|
+
to: string | null;
|
|
3268
|
+
field: string;
|
|
3269
|
+
}, {
|
|
3270
|
+
from: string | null;
|
|
3271
|
+
to: string | null;
|
|
3272
|
+
field: string;
|
|
3273
|
+
}>, "many">>;
|
|
3106
3274
|
}, "strip", z.ZodTypeAny, {
|
|
3107
3275
|
message: string;
|
|
3108
3276
|
warning_code: "code_modified_external_to_seam";
|
|
3109
3277
|
created_at?: string | undefined;
|
|
3278
|
+
change_type?: "modified" | "removed" | undefined;
|
|
3279
|
+
modified_fields?: {
|
|
3280
|
+
from: string | null;
|
|
3281
|
+
to: string | null;
|
|
3282
|
+
field: string;
|
|
3283
|
+
}[] | undefined;
|
|
3110
3284
|
}, {
|
|
3111
3285
|
message: string;
|
|
3112
3286
|
warning_code: "code_modified_external_to_seam";
|
|
3113
3287
|
created_at?: string | undefined;
|
|
3288
|
+
change_type?: "modified" | "removed" | undefined;
|
|
3289
|
+
modified_fields?: {
|
|
3290
|
+
from: string | null;
|
|
3291
|
+
to: string | null;
|
|
3292
|
+
field: string;
|
|
3293
|
+
}[] | undefined;
|
|
3114
3294
|
}>, z.ZodObject<{
|
|
3115
3295
|
message: z.ZodString;
|
|
3116
3296
|
created_at: z.ZodOptional<z.ZodString>;
|
|
@@ -3410,6 +3590,12 @@ declare const unmanaged_access_code: z.ZodObject<{
|
|
|
3410
3590
|
error_code: "code_modified_external_to_seam";
|
|
3411
3591
|
is_access_code_error: true;
|
|
3412
3592
|
created_at?: string | undefined;
|
|
3593
|
+
change_type?: "modified" | "removed" | undefined;
|
|
3594
|
+
modified_fields?: {
|
|
3595
|
+
from: string | null;
|
|
3596
|
+
to: string | null;
|
|
3597
|
+
field: string;
|
|
3598
|
+
}[] | undefined;
|
|
3413
3599
|
} | {
|
|
3414
3600
|
message: string;
|
|
3415
3601
|
error_code: "failed_to_set_on_device";
|
|
@@ -3515,6 +3701,12 @@ declare const unmanaged_access_code: z.ZodObject<{
|
|
|
3515
3701
|
message: string;
|
|
3516
3702
|
warning_code: "code_modified_external_to_seam";
|
|
3517
3703
|
created_at?: string | undefined;
|
|
3704
|
+
change_type?: "modified" | "removed" | undefined;
|
|
3705
|
+
modified_fields?: {
|
|
3706
|
+
from: string | null;
|
|
3707
|
+
to: string | null;
|
|
3708
|
+
field: string;
|
|
3709
|
+
}[] | undefined;
|
|
3518
3710
|
} | {
|
|
3519
3711
|
message: string;
|
|
3520
3712
|
warning_code: "schlage_detected_duplicate";
|
|
@@ -3705,6 +3897,12 @@ declare const unmanaged_access_code: z.ZodObject<{
|
|
|
3705
3897
|
error_code: "code_modified_external_to_seam";
|
|
3706
3898
|
is_access_code_error: true;
|
|
3707
3899
|
created_at?: string | undefined;
|
|
3900
|
+
change_type?: "modified" | "removed" | undefined;
|
|
3901
|
+
modified_fields?: {
|
|
3902
|
+
from: string | null;
|
|
3903
|
+
to: string | null;
|
|
3904
|
+
field: string;
|
|
3905
|
+
}[] | undefined;
|
|
3708
3906
|
} | {
|
|
3709
3907
|
message: string;
|
|
3710
3908
|
error_code: "failed_to_set_on_device";
|
|
@@ -3810,6 +4008,12 @@ declare const unmanaged_access_code: z.ZodObject<{
|
|
|
3810
4008
|
message: string;
|
|
3811
4009
|
warning_code: "code_modified_external_to_seam";
|
|
3812
4010
|
created_at?: string | undefined;
|
|
4011
|
+
change_type?: "modified" | "removed" | undefined;
|
|
4012
|
+
modified_fields?: {
|
|
4013
|
+
from: string | null;
|
|
4014
|
+
to: string | null;
|
|
4015
|
+
field: string;
|
|
4016
|
+
}[] | undefined;
|
|
3813
4017
|
} | {
|
|
3814
4018
|
message: string;
|
|
3815
4019
|
warning_code: "schlage_detected_duplicate";
|
|
@@ -36697,16 +36901,42 @@ declare const batch: z.ZodObject<{
|
|
|
36697
36901
|
created_at: z.ZodOptional<z.ZodString>;
|
|
36698
36902
|
} & {
|
|
36699
36903
|
error_code: z.ZodLiteral<"code_modified_external_to_seam">;
|
|
36904
|
+
change_type: z.ZodOptional<z.ZodEnum<["modified", "removed"]>>;
|
|
36905
|
+
modified_fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
36906
|
+
field: z.ZodString;
|
|
36907
|
+
from: z.ZodNullable<z.ZodString>;
|
|
36908
|
+
to: z.ZodNullable<z.ZodString>;
|
|
36909
|
+
}, "strip", z.ZodTypeAny, {
|
|
36910
|
+
from: string | null;
|
|
36911
|
+
to: string | null;
|
|
36912
|
+
field: string;
|
|
36913
|
+
}, {
|
|
36914
|
+
from: string | null;
|
|
36915
|
+
to: string | null;
|
|
36916
|
+
field: string;
|
|
36917
|
+
}>, "many">>;
|
|
36700
36918
|
}, "strip", z.ZodTypeAny, {
|
|
36701
36919
|
message: string;
|
|
36702
36920
|
error_code: "code_modified_external_to_seam";
|
|
36703
36921
|
is_access_code_error: true;
|
|
36704
36922
|
created_at?: string | undefined;
|
|
36923
|
+
change_type?: "modified" | "removed" | undefined;
|
|
36924
|
+
modified_fields?: {
|
|
36925
|
+
from: string | null;
|
|
36926
|
+
to: string | null;
|
|
36927
|
+
field: string;
|
|
36928
|
+
}[] | undefined;
|
|
36705
36929
|
}, {
|
|
36706
36930
|
message: string;
|
|
36707
36931
|
error_code: "code_modified_external_to_seam";
|
|
36708
36932
|
is_access_code_error: true;
|
|
36709
36933
|
created_at?: string | undefined;
|
|
36934
|
+
change_type?: "modified" | "removed" | undefined;
|
|
36935
|
+
modified_fields?: {
|
|
36936
|
+
from: string | null;
|
|
36937
|
+
to: string | null;
|
|
36938
|
+
field: string;
|
|
36939
|
+
}[] | undefined;
|
|
36710
36940
|
}>, z.ZodObject<{
|
|
36711
36941
|
message: z.ZodString;
|
|
36712
36942
|
is_access_code_error: z.ZodLiteral<true>;
|
|
@@ -37260,14 +37490,40 @@ declare const batch: z.ZodObject<{
|
|
|
37260
37490
|
created_at: z.ZodOptional<z.ZodString>;
|
|
37261
37491
|
} & {
|
|
37262
37492
|
warning_code: z.ZodLiteral<"code_modified_external_to_seam">;
|
|
37493
|
+
change_type: z.ZodOptional<z.ZodEnum<["modified", "removed"]>>;
|
|
37494
|
+
modified_fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
37495
|
+
field: z.ZodString;
|
|
37496
|
+
from: z.ZodNullable<z.ZodString>;
|
|
37497
|
+
to: z.ZodNullable<z.ZodString>;
|
|
37498
|
+
}, "strip", z.ZodTypeAny, {
|
|
37499
|
+
from: string | null;
|
|
37500
|
+
to: string | null;
|
|
37501
|
+
field: string;
|
|
37502
|
+
}, {
|
|
37503
|
+
from: string | null;
|
|
37504
|
+
to: string | null;
|
|
37505
|
+
field: string;
|
|
37506
|
+
}>, "many">>;
|
|
37263
37507
|
}, "strip", z.ZodTypeAny, {
|
|
37264
37508
|
message: string;
|
|
37265
37509
|
warning_code: "code_modified_external_to_seam";
|
|
37266
37510
|
created_at?: string | undefined;
|
|
37511
|
+
change_type?: "modified" | "removed" | undefined;
|
|
37512
|
+
modified_fields?: {
|
|
37513
|
+
from: string | null;
|
|
37514
|
+
to: string | null;
|
|
37515
|
+
field: string;
|
|
37516
|
+
}[] | undefined;
|
|
37267
37517
|
}, {
|
|
37268
37518
|
message: string;
|
|
37269
37519
|
warning_code: "code_modified_external_to_seam";
|
|
37270
37520
|
created_at?: string | undefined;
|
|
37521
|
+
change_type?: "modified" | "removed" | undefined;
|
|
37522
|
+
modified_fields?: {
|
|
37523
|
+
from: string | null;
|
|
37524
|
+
to: string | null;
|
|
37525
|
+
field: string;
|
|
37526
|
+
}[] | undefined;
|
|
37271
37527
|
}>, z.ZodObject<{
|
|
37272
37528
|
message: z.ZodString;
|
|
37273
37529
|
created_at: z.ZodOptional<z.ZodString>;
|
|
@@ -37741,6 +37997,12 @@ declare const batch: z.ZodObject<{
|
|
|
37741
37997
|
error_code: "code_modified_external_to_seam";
|
|
37742
37998
|
is_access_code_error: true;
|
|
37743
37999
|
created_at?: string | undefined;
|
|
38000
|
+
change_type?: "modified" | "removed" | undefined;
|
|
38001
|
+
modified_fields?: {
|
|
38002
|
+
from: string | null;
|
|
38003
|
+
to: string | null;
|
|
38004
|
+
field: string;
|
|
38005
|
+
}[] | undefined;
|
|
37744
38006
|
} | {
|
|
37745
38007
|
message: string;
|
|
37746
38008
|
error_code: "failed_to_set_on_device";
|
|
@@ -37846,6 +38108,12 @@ declare const batch: z.ZodObject<{
|
|
|
37846
38108
|
message: string;
|
|
37847
38109
|
warning_code: "code_modified_external_to_seam";
|
|
37848
38110
|
created_at?: string | undefined;
|
|
38111
|
+
change_type?: "modified" | "removed" | undefined;
|
|
38112
|
+
modified_fields?: {
|
|
38113
|
+
from: string | null;
|
|
38114
|
+
to: string | null;
|
|
38115
|
+
field: string;
|
|
38116
|
+
}[] | undefined;
|
|
37849
38117
|
} | {
|
|
37850
38118
|
message: string;
|
|
37851
38119
|
warning_code: "schlage_detected_duplicate";
|
|
@@ -38089,6 +38357,12 @@ declare const batch: z.ZodObject<{
|
|
|
38089
38357
|
error_code: "code_modified_external_to_seam";
|
|
38090
38358
|
is_access_code_error: true;
|
|
38091
38359
|
created_at?: string | undefined;
|
|
38360
|
+
change_type?: "modified" | "removed" | undefined;
|
|
38361
|
+
modified_fields?: {
|
|
38362
|
+
from: string | null;
|
|
38363
|
+
to: string | null;
|
|
38364
|
+
field: string;
|
|
38365
|
+
}[] | undefined;
|
|
38092
38366
|
} | {
|
|
38093
38367
|
message: string;
|
|
38094
38368
|
error_code: "failed_to_set_on_device";
|
|
@@ -38194,6 +38468,12 @@ declare const batch: z.ZodObject<{
|
|
|
38194
38468
|
message: string;
|
|
38195
38469
|
warning_code: "code_modified_external_to_seam";
|
|
38196
38470
|
created_at?: string | undefined;
|
|
38471
|
+
change_type?: "modified" | "removed" | undefined;
|
|
38472
|
+
modified_fields?: {
|
|
38473
|
+
from: string | null;
|
|
38474
|
+
to: string | null;
|
|
38475
|
+
field: string;
|
|
38476
|
+
}[] | undefined;
|
|
38197
38477
|
} | {
|
|
38198
38478
|
message: string;
|
|
38199
38479
|
warning_code: "schlage_detected_duplicate";
|
|
@@ -38498,16 +38778,42 @@ declare const batch: z.ZodObject<{
|
|
|
38498
38778
|
created_at: z.ZodOptional<z.ZodString>;
|
|
38499
38779
|
} & {
|
|
38500
38780
|
error_code: z.ZodLiteral<"code_modified_external_to_seam">;
|
|
38781
|
+
change_type: z.ZodOptional<z.ZodEnum<["modified", "removed"]>>;
|
|
38782
|
+
modified_fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
38783
|
+
field: z.ZodString;
|
|
38784
|
+
from: z.ZodNullable<z.ZodString>;
|
|
38785
|
+
to: z.ZodNullable<z.ZodString>;
|
|
38786
|
+
}, "strip", z.ZodTypeAny, {
|
|
38787
|
+
from: string | null;
|
|
38788
|
+
to: string | null;
|
|
38789
|
+
field: string;
|
|
38790
|
+
}, {
|
|
38791
|
+
from: string | null;
|
|
38792
|
+
to: string | null;
|
|
38793
|
+
field: string;
|
|
38794
|
+
}>, "many">>;
|
|
38501
38795
|
}, "strip", z.ZodTypeAny, {
|
|
38502
38796
|
message: string;
|
|
38503
38797
|
error_code: "code_modified_external_to_seam";
|
|
38504
38798
|
is_access_code_error: true;
|
|
38505
38799
|
created_at?: string | undefined;
|
|
38800
|
+
change_type?: "modified" | "removed" | undefined;
|
|
38801
|
+
modified_fields?: {
|
|
38802
|
+
from: string | null;
|
|
38803
|
+
to: string | null;
|
|
38804
|
+
field: string;
|
|
38805
|
+
}[] | undefined;
|
|
38506
38806
|
}, {
|
|
38507
38807
|
message: string;
|
|
38508
38808
|
error_code: "code_modified_external_to_seam";
|
|
38509
38809
|
is_access_code_error: true;
|
|
38510
38810
|
created_at?: string | undefined;
|
|
38811
|
+
change_type?: "modified" | "removed" | undefined;
|
|
38812
|
+
modified_fields?: {
|
|
38813
|
+
from: string | null;
|
|
38814
|
+
to: string | null;
|
|
38815
|
+
field: string;
|
|
38816
|
+
}[] | undefined;
|
|
38511
38817
|
}>, z.ZodObject<{
|
|
38512
38818
|
message: z.ZodString;
|
|
38513
38819
|
is_access_code_error: z.ZodLiteral<true>;
|
|
@@ -39061,14 +39367,40 @@ declare const batch: z.ZodObject<{
|
|
|
39061
39367
|
created_at: z.ZodOptional<z.ZodString>;
|
|
39062
39368
|
} & {
|
|
39063
39369
|
warning_code: z.ZodLiteral<"code_modified_external_to_seam">;
|
|
39370
|
+
change_type: z.ZodOptional<z.ZodEnum<["modified", "removed"]>>;
|
|
39371
|
+
modified_fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
39372
|
+
field: z.ZodString;
|
|
39373
|
+
from: z.ZodNullable<z.ZodString>;
|
|
39374
|
+
to: z.ZodNullable<z.ZodString>;
|
|
39375
|
+
}, "strip", z.ZodTypeAny, {
|
|
39376
|
+
from: string | null;
|
|
39377
|
+
to: string | null;
|
|
39378
|
+
field: string;
|
|
39379
|
+
}, {
|
|
39380
|
+
from: string | null;
|
|
39381
|
+
to: string | null;
|
|
39382
|
+
field: string;
|
|
39383
|
+
}>, "many">>;
|
|
39064
39384
|
}, "strip", z.ZodTypeAny, {
|
|
39065
39385
|
message: string;
|
|
39066
39386
|
warning_code: "code_modified_external_to_seam";
|
|
39067
39387
|
created_at?: string | undefined;
|
|
39388
|
+
change_type?: "modified" | "removed" | undefined;
|
|
39389
|
+
modified_fields?: {
|
|
39390
|
+
from: string | null;
|
|
39391
|
+
to: string | null;
|
|
39392
|
+
field: string;
|
|
39393
|
+
}[] | undefined;
|
|
39068
39394
|
}, {
|
|
39069
39395
|
message: string;
|
|
39070
39396
|
warning_code: "code_modified_external_to_seam";
|
|
39071
39397
|
created_at?: string | undefined;
|
|
39398
|
+
change_type?: "modified" | "removed" | undefined;
|
|
39399
|
+
modified_fields?: {
|
|
39400
|
+
from: string | null;
|
|
39401
|
+
to: string | null;
|
|
39402
|
+
field: string;
|
|
39403
|
+
}[] | undefined;
|
|
39072
39404
|
}>, z.ZodObject<{
|
|
39073
39405
|
message: z.ZodString;
|
|
39074
39406
|
created_at: z.ZodOptional<z.ZodString>;
|
|
@@ -39368,6 +39700,12 @@ declare const batch: z.ZodObject<{
|
|
|
39368
39700
|
error_code: "code_modified_external_to_seam";
|
|
39369
39701
|
is_access_code_error: true;
|
|
39370
39702
|
created_at?: string | undefined;
|
|
39703
|
+
change_type?: "modified" | "removed" | undefined;
|
|
39704
|
+
modified_fields?: {
|
|
39705
|
+
from: string | null;
|
|
39706
|
+
to: string | null;
|
|
39707
|
+
field: string;
|
|
39708
|
+
}[] | undefined;
|
|
39371
39709
|
} | {
|
|
39372
39710
|
message: string;
|
|
39373
39711
|
error_code: "failed_to_set_on_device";
|
|
@@ -39473,6 +39811,12 @@ declare const batch: z.ZodObject<{
|
|
|
39473
39811
|
message: string;
|
|
39474
39812
|
warning_code: "code_modified_external_to_seam";
|
|
39475
39813
|
created_at?: string | undefined;
|
|
39814
|
+
change_type?: "modified" | "removed" | undefined;
|
|
39815
|
+
modified_fields?: {
|
|
39816
|
+
from: string | null;
|
|
39817
|
+
to: string | null;
|
|
39818
|
+
field: string;
|
|
39819
|
+
}[] | undefined;
|
|
39476
39820
|
} | {
|
|
39477
39821
|
message: string;
|
|
39478
39822
|
warning_code: "schlage_detected_duplicate";
|
|
@@ -39663,6 +40007,12 @@ declare const batch: z.ZodObject<{
|
|
|
39663
40007
|
error_code: "code_modified_external_to_seam";
|
|
39664
40008
|
is_access_code_error: true;
|
|
39665
40009
|
created_at?: string | undefined;
|
|
40010
|
+
change_type?: "modified" | "removed" | undefined;
|
|
40011
|
+
modified_fields?: {
|
|
40012
|
+
from: string | null;
|
|
40013
|
+
to: string | null;
|
|
40014
|
+
field: string;
|
|
40015
|
+
}[] | undefined;
|
|
39666
40016
|
} | {
|
|
39667
40017
|
message: string;
|
|
39668
40018
|
error_code: "failed_to_set_on_device";
|
|
@@ -39768,6 +40118,12 @@ declare const batch: z.ZodObject<{
|
|
|
39768
40118
|
message: string;
|
|
39769
40119
|
warning_code: "code_modified_external_to_seam";
|
|
39770
40120
|
created_at?: string | undefined;
|
|
40121
|
+
change_type?: "modified" | "removed" | undefined;
|
|
40122
|
+
modified_fields?: {
|
|
40123
|
+
from: string | null;
|
|
40124
|
+
to: string | null;
|
|
40125
|
+
field: string;
|
|
40126
|
+
}[] | undefined;
|
|
39771
40127
|
} | {
|
|
39772
40128
|
message: string;
|
|
39773
40129
|
warning_code: "schlage_detected_duplicate";
|
|
@@ -44561,6 +44917,12 @@ declare const batch: z.ZodObject<{
|
|
|
44561
44917
|
error_code: "code_modified_external_to_seam";
|
|
44562
44918
|
is_access_code_error: true;
|
|
44563
44919
|
created_at?: string | undefined;
|
|
44920
|
+
change_type?: "modified" | "removed" | undefined;
|
|
44921
|
+
modified_fields?: {
|
|
44922
|
+
from: string | null;
|
|
44923
|
+
to: string | null;
|
|
44924
|
+
field: string;
|
|
44925
|
+
}[] | undefined;
|
|
44564
44926
|
} | {
|
|
44565
44927
|
message: string;
|
|
44566
44928
|
error_code: "failed_to_set_on_device";
|
|
@@ -44666,6 +45028,12 @@ declare const batch: z.ZodObject<{
|
|
|
44666
45028
|
message: string;
|
|
44667
45029
|
warning_code: "code_modified_external_to_seam";
|
|
44668
45030
|
created_at?: string | undefined;
|
|
45031
|
+
change_type?: "modified" | "removed" | undefined;
|
|
45032
|
+
modified_fields?: {
|
|
45033
|
+
from: string | null;
|
|
45034
|
+
to: string | null;
|
|
45035
|
+
field: string;
|
|
45036
|
+
}[] | undefined;
|
|
44669
45037
|
} | {
|
|
44670
45038
|
message: string;
|
|
44671
45039
|
warning_code: "schlage_detected_duplicate";
|
|
@@ -44910,6 +45278,12 @@ declare const batch: z.ZodObject<{
|
|
|
44910
45278
|
error_code: "code_modified_external_to_seam";
|
|
44911
45279
|
is_access_code_error: true;
|
|
44912
45280
|
created_at?: string | undefined;
|
|
45281
|
+
change_type?: "modified" | "removed" | undefined;
|
|
45282
|
+
modified_fields?: {
|
|
45283
|
+
from: string | null;
|
|
45284
|
+
to: string | null;
|
|
45285
|
+
field: string;
|
|
45286
|
+
}[] | undefined;
|
|
44913
45287
|
} | {
|
|
44914
45288
|
message: string;
|
|
44915
45289
|
error_code: "failed_to_set_on_device";
|
|
@@ -45015,6 +45389,12 @@ declare const batch: z.ZodObject<{
|
|
|
45015
45389
|
message: string;
|
|
45016
45390
|
warning_code: "code_modified_external_to_seam";
|
|
45017
45391
|
created_at?: string | undefined;
|
|
45392
|
+
change_type?: "modified" | "removed" | undefined;
|
|
45393
|
+
modified_fields?: {
|
|
45394
|
+
from: string | null;
|
|
45395
|
+
to: string | null;
|
|
45396
|
+
field: string;
|
|
45397
|
+
}[] | undefined;
|
|
45018
45398
|
} | {
|
|
45019
45399
|
message: string;
|
|
45020
45400
|
warning_code: "schlage_detected_duplicate";
|
|
@@ -49681,6 +50061,12 @@ declare const batch: z.ZodObject<{
|
|
|
49681
50061
|
error_code: "code_modified_external_to_seam";
|
|
49682
50062
|
is_access_code_error: true;
|
|
49683
50063
|
created_at?: string | undefined;
|
|
50064
|
+
change_type?: "modified" | "removed" | undefined;
|
|
50065
|
+
modified_fields?: {
|
|
50066
|
+
from: string | null;
|
|
50067
|
+
to: string | null;
|
|
50068
|
+
field: string;
|
|
50069
|
+
}[] | undefined;
|
|
49684
50070
|
} | {
|
|
49685
50071
|
message: string;
|
|
49686
50072
|
error_code: "failed_to_set_on_device";
|
|
@@ -49786,6 +50172,12 @@ declare const batch: z.ZodObject<{
|
|
|
49786
50172
|
message: string;
|
|
49787
50173
|
warning_code: "code_modified_external_to_seam";
|
|
49788
50174
|
created_at?: string | undefined;
|
|
50175
|
+
change_type?: "modified" | "removed" | undefined;
|
|
50176
|
+
modified_fields?: {
|
|
50177
|
+
from: string | null;
|
|
50178
|
+
to: string | null;
|
|
50179
|
+
field: string;
|
|
50180
|
+
}[] | undefined;
|
|
49789
50181
|
} | {
|
|
49790
50182
|
message: string;
|
|
49791
50183
|
warning_code: "schlage_detected_duplicate";
|
|
@@ -50030,6 +50422,12 @@ declare const batch: z.ZodObject<{
|
|
|
50030
50422
|
error_code: "code_modified_external_to_seam";
|
|
50031
50423
|
is_access_code_error: true;
|
|
50032
50424
|
created_at?: string | undefined;
|
|
50425
|
+
change_type?: "modified" | "removed" | undefined;
|
|
50426
|
+
modified_fields?: {
|
|
50427
|
+
from: string | null;
|
|
50428
|
+
to: string | null;
|
|
50429
|
+
field: string;
|
|
50430
|
+
}[] | undefined;
|
|
50033
50431
|
} | {
|
|
50034
50432
|
message: string;
|
|
50035
50433
|
error_code: "failed_to_set_on_device";
|
|
@@ -50135,6 +50533,12 @@ declare const batch: z.ZodObject<{
|
|
|
50135
50533
|
message: string;
|
|
50136
50534
|
warning_code: "code_modified_external_to_seam";
|
|
50137
50535
|
created_at?: string | undefined;
|
|
50536
|
+
change_type?: "modified" | "removed" | undefined;
|
|
50537
|
+
modified_fields?: {
|
|
50538
|
+
from: string | null;
|
|
50539
|
+
to: string | null;
|
|
50540
|
+
field: string;
|
|
50541
|
+
}[] | undefined;
|
|
50138
50542
|
} | {
|
|
50139
50543
|
message: string;
|
|
50140
50544
|
warning_code: "schlage_detected_duplicate";
|
|
@@ -67568,6 +67972,17 @@ type Routes = {
|
|
|
67568
67972
|
created_at?: string | undefined;
|
|
67569
67973
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
67570
67974
|
error_code: 'code_modified_external_to_seam';
|
|
67975
|
+
/** 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. */
|
|
67976
|
+
change_type?: ('modified' | 'removed') | undefined;
|
|
67977
|
+
/** List of fields that were changed externally, with their previous and new values. */
|
|
67978
|
+
modified_fields?: {
|
|
67979
|
+
/** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
|
|
67980
|
+
field: string;
|
|
67981
|
+
/** The previous value of the field. */
|
|
67982
|
+
from: string | null;
|
|
67983
|
+
/** The new value of the field. */
|
|
67984
|
+
to: string | null;
|
|
67985
|
+
}[] | undefined;
|
|
67571
67986
|
} | {
|
|
67572
67987
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
67573
67988
|
message: string;
|
|
@@ -67836,6 +68251,17 @@ type Routes = {
|
|
|
67836
68251
|
created_at?: string | undefined;
|
|
67837
68252
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
67838
68253
|
warning_code: 'code_modified_external_to_seam';
|
|
68254
|
+
/** 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. */
|
|
68255
|
+
change_type?: ('modified' | 'removed') | undefined;
|
|
68256
|
+
/** List of fields that were changed externally, with their previous and new values. */
|
|
68257
|
+
modified_fields?: {
|
|
68258
|
+
/** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
|
|
68259
|
+
field: string;
|
|
68260
|
+
/** The previous value of the field. */
|
|
68261
|
+
from: string | null;
|
|
68262
|
+
/** The new value of the field. */
|
|
68263
|
+
to: string | null;
|
|
68264
|
+
}[] | undefined;
|
|
67839
68265
|
} | {
|
|
67840
68266
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
67841
68267
|
message: string;
|
|
@@ -68200,6 +68626,17 @@ type Routes = {
|
|
|
68200
68626
|
created_at?: string | undefined;
|
|
68201
68627
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
68202
68628
|
error_code: 'code_modified_external_to_seam';
|
|
68629
|
+
/** 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. */
|
|
68630
|
+
change_type?: ('modified' | 'removed') | undefined;
|
|
68631
|
+
/** List of fields that were changed externally, with their previous and new values. */
|
|
68632
|
+
modified_fields?: {
|
|
68633
|
+
/** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
|
|
68634
|
+
field: string;
|
|
68635
|
+
/** The previous value of the field. */
|
|
68636
|
+
from: string | null;
|
|
68637
|
+
/** The new value of the field. */
|
|
68638
|
+
to: string | null;
|
|
68639
|
+
}[] | undefined;
|
|
68203
68640
|
} | {
|
|
68204
68641
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
68205
68642
|
message: string;
|
|
@@ -68468,6 +68905,17 @@ type Routes = {
|
|
|
68468
68905
|
created_at?: string | undefined;
|
|
68469
68906
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
68470
68907
|
warning_code: 'code_modified_external_to_seam';
|
|
68908
|
+
/** 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. */
|
|
68909
|
+
change_type?: ('modified' | 'removed') | undefined;
|
|
68910
|
+
/** List of fields that were changed externally, with their previous and new values. */
|
|
68911
|
+
modified_fields?: {
|
|
68912
|
+
/** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
|
|
68913
|
+
field: string;
|
|
68914
|
+
/** The previous value of the field. */
|
|
68915
|
+
from: string | null;
|
|
68916
|
+
/** The new value of the field. */
|
|
68917
|
+
to: string | null;
|
|
68918
|
+
}[] | undefined;
|
|
68471
68919
|
} | {
|
|
68472
68920
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
68473
68921
|
message: string;
|
|
@@ -70352,6 +70800,17 @@ type Routes = {
|
|
|
70352
70800
|
created_at?: string | undefined;
|
|
70353
70801
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
70354
70802
|
error_code: 'code_modified_external_to_seam';
|
|
70803
|
+
/** 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. */
|
|
70804
|
+
change_type?: ('modified' | 'removed') | undefined;
|
|
70805
|
+
/** List of fields that were changed externally, with their previous and new values. */
|
|
70806
|
+
modified_fields?: {
|
|
70807
|
+
/** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
|
|
70808
|
+
field: string;
|
|
70809
|
+
/** The previous value of the field. */
|
|
70810
|
+
from: string | null;
|
|
70811
|
+
/** The new value of the field. */
|
|
70812
|
+
to: string | null;
|
|
70813
|
+
}[] | undefined;
|
|
70355
70814
|
} | {
|
|
70356
70815
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
70357
70816
|
message: string;
|
|
@@ -70620,6 +71079,17 @@ type Routes = {
|
|
|
70620
71079
|
created_at?: string | undefined;
|
|
70621
71080
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
70622
71081
|
warning_code: 'code_modified_external_to_seam';
|
|
71082
|
+
/** 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. */
|
|
71083
|
+
change_type?: ('modified' | 'removed') | undefined;
|
|
71084
|
+
/** List of fields that were changed externally, with their previous and new values. */
|
|
71085
|
+
modified_fields?: {
|
|
71086
|
+
/** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
|
|
71087
|
+
field: string;
|
|
71088
|
+
/** The previous value of the field. */
|
|
71089
|
+
from: string | null;
|
|
71090
|
+
/** The new value of the field. */
|
|
71091
|
+
to: string | null;
|
|
71092
|
+
}[] | undefined;
|
|
70623
71093
|
} | {
|
|
70624
71094
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
70625
71095
|
message: string;
|
|
@@ -71030,6 +71500,17 @@ type Routes = {
|
|
|
71030
71500
|
created_at?: string | undefined;
|
|
71031
71501
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
71032
71502
|
error_code: 'code_modified_external_to_seam';
|
|
71503
|
+
/** 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. */
|
|
71504
|
+
change_type?: ('modified' | 'removed') | undefined;
|
|
71505
|
+
/** List of fields that were changed externally, with their previous and new values. */
|
|
71506
|
+
modified_fields?: {
|
|
71507
|
+
/** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
|
|
71508
|
+
field: string;
|
|
71509
|
+
/** The previous value of the field. */
|
|
71510
|
+
from: string | null;
|
|
71511
|
+
/** The new value of the field. */
|
|
71512
|
+
to: string | null;
|
|
71513
|
+
}[] | undefined;
|
|
71033
71514
|
} | {
|
|
71034
71515
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
71035
71516
|
message: string;
|
|
@@ -71298,6 +71779,17 @@ type Routes = {
|
|
|
71298
71779
|
created_at?: string | undefined;
|
|
71299
71780
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
71300
71781
|
warning_code: 'code_modified_external_to_seam';
|
|
71782
|
+
/** 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. */
|
|
71783
|
+
change_type?: ('modified' | 'removed') | undefined;
|
|
71784
|
+
/** List of fields that were changed externally, with their previous and new values. */
|
|
71785
|
+
modified_fields?: {
|
|
71786
|
+
/** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
|
|
71787
|
+
field: string;
|
|
71788
|
+
/** The previous value of the field. */
|
|
71789
|
+
from: string | null;
|
|
71790
|
+
/** The new value of the field. */
|
|
71791
|
+
to: string | null;
|
|
71792
|
+
}[] | undefined;
|
|
71301
71793
|
} | {
|
|
71302
71794
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
71303
71795
|
message: string;
|
|
@@ -71651,6 +72143,17 @@ type Routes = {
|
|
|
71651
72143
|
created_at?: string | undefined;
|
|
71652
72144
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
71653
72145
|
error_code: 'code_modified_external_to_seam';
|
|
72146
|
+
/** 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. */
|
|
72147
|
+
change_type?: ('modified' | 'removed') | undefined;
|
|
72148
|
+
/** List of fields that were changed externally, with their previous and new values. */
|
|
72149
|
+
modified_fields?: {
|
|
72150
|
+
/** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
|
|
72151
|
+
field: string;
|
|
72152
|
+
/** The previous value of the field. */
|
|
72153
|
+
from: string | null;
|
|
72154
|
+
/** The new value of the field. */
|
|
72155
|
+
to: string | null;
|
|
72156
|
+
}[] | undefined;
|
|
71654
72157
|
} | {
|
|
71655
72158
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
71656
72159
|
message: string;
|
|
@@ -71919,6 +72422,17 @@ type Routes = {
|
|
|
71919
72422
|
created_at?: string | undefined;
|
|
71920
72423
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
71921
72424
|
warning_code: 'code_modified_external_to_seam';
|
|
72425
|
+
/** 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. */
|
|
72426
|
+
change_type?: ('modified' | 'removed') | undefined;
|
|
72427
|
+
/** List of fields that were changed externally, with their previous and new values. */
|
|
72428
|
+
modified_fields?: {
|
|
72429
|
+
/** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
|
|
72430
|
+
field: string;
|
|
72431
|
+
/** The previous value of the field. */
|
|
72432
|
+
from: string | null;
|
|
72433
|
+
/** The new value of the field. */
|
|
72434
|
+
to: string | null;
|
|
72435
|
+
}[] | undefined;
|
|
71922
72436
|
} | {
|
|
71923
72437
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
71924
72438
|
message: string;
|
|
@@ -72249,6 +72763,17 @@ type Routes = {
|
|
|
72249
72763
|
created_at?: string | undefined;
|
|
72250
72764
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
72251
72765
|
error_code: 'code_modified_external_to_seam';
|
|
72766
|
+
/** 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. */
|
|
72767
|
+
change_type?: ('modified' | 'removed') | undefined;
|
|
72768
|
+
/** List of fields that were changed externally, with their previous and new values. */
|
|
72769
|
+
modified_fields?: {
|
|
72770
|
+
/** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
|
|
72771
|
+
field: string;
|
|
72772
|
+
/** The previous value of the field. */
|
|
72773
|
+
from: string | null;
|
|
72774
|
+
/** The new value of the field. */
|
|
72775
|
+
to: string | null;
|
|
72776
|
+
}[] | undefined;
|
|
72252
72777
|
} | {
|
|
72253
72778
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
72254
72779
|
message: string;
|
|
@@ -72517,6 +73042,17 @@ type Routes = {
|
|
|
72517
73042
|
created_at?: string | undefined;
|
|
72518
73043
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
72519
73044
|
warning_code: 'code_modified_external_to_seam';
|
|
73045
|
+
/** 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. */
|
|
73046
|
+
change_type?: ('modified' | 'removed') | undefined;
|
|
73047
|
+
/** List of fields that were changed externally, with their previous and new values. */
|
|
73048
|
+
modified_fields?: {
|
|
73049
|
+
/** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
|
|
73050
|
+
field: string;
|
|
73051
|
+
/** The previous value of the field. */
|
|
73052
|
+
from: string | null;
|
|
73053
|
+
/** The new value of the field. */
|
|
73054
|
+
to: string | null;
|
|
73055
|
+
}[] | undefined;
|
|
72520
73056
|
} | {
|
|
72521
73057
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
72522
73058
|
message: string;
|
|
@@ -72882,6 +73418,17 @@ type Routes = {
|
|
|
72882
73418
|
created_at?: string | undefined;
|
|
72883
73419
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
72884
73420
|
error_code: 'code_modified_external_to_seam';
|
|
73421
|
+
/** 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. */
|
|
73422
|
+
change_type?: ('modified' | 'removed') | undefined;
|
|
73423
|
+
/** List of fields that were changed externally, with their previous and new values. */
|
|
73424
|
+
modified_fields?: {
|
|
73425
|
+
/** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
|
|
73426
|
+
field: string;
|
|
73427
|
+
/** The previous value of the field. */
|
|
73428
|
+
from: string | null;
|
|
73429
|
+
/** The new value of the field. */
|
|
73430
|
+
to: string | null;
|
|
73431
|
+
}[] | undefined;
|
|
72885
73432
|
} | {
|
|
72886
73433
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
72887
73434
|
message: string;
|
|
@@ -73150,6 +73697,17 @@ type Routes = {
|
|
|
73150
73697
|
created_at?: string | undefined;
|
|
73151
73698
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
73152
73699
|
warning_code: 'code_modified_external_to_seam';
|
|
73700
|
+
/** 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. */
|
|
73701
|
+
change_type?: ('modified' | 'removed') | undefined;
|
|
73702
|
+
/** List of fields that were changed externally, with their previous and new values. */
|
|
73703
|
+
modified_fields?: {
|
|
73704
|
+
/** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
|
|
73705
|
+
field: string;
|
|
73706
|
+
/** The previous value of the field. */
|
|
73707
|
+
from: string | null;
|
|
73708
|
+
/** The new value of the field. */
|
|
73709
|
+
to: string | null;
|
|
73710
|
+
}[] | undefined;
|
|
73153
73711
|
} | {
|
|
73154
73712
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
73155
73713
|
message: string;
|
|
@@ -74945,6 +75503,17 @@ type Routes = {
|
|
|
74945
75503
|
created_at?: string | undefined;
|
|
74946
75504
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
74947
75505
|
error_code: 'code_modified_external_to_seam';
|
|
75506
|
+
/** 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. */
|
|
75507
|
+
change_type?: ('modified' | 'removed') | undefined;
|
|
75508
|
+
/** List of fields that were changed externally, with their previous and new values. */
|
|
75509
|
+
modified_fields?: {
|
|
75510
|
+
/** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
|
|
75511
|
+
field: string;
|
|
75512
|
+
/** The previous value of the field. */
|
|
75513
|
+
from: string | null;
|
|
75514
|
+
/** The new value of the field. */
|
|
75515
|
+
to: string | null;
|
|
75516
|
+
}[] | undefined;
|
|
74948
75517
|
} | {
|
|
74949
75518
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
74950
75519
|
message: string;
|
|
@@ -75213,6 +75782,17 @@ type Routes = {
|
|
|
75213
75782
|
created_at?: string | undefined;
|
|
75214
75783
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
75215
75784
|
warning_code: 'code_modified_external_to_seam';
|
|
75785
|
+
/** 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. */
|
|
75786
|
+
change_type?: ('modified' | 'removed') | undefined;
|
|
75787
|
+
/** List of fields that were changed externally, with their previous and new values. */
|
|
75788
|
+
modified_fields?: {
|
|
75789
|
+
/** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
|
|
75790
|
+
field: string;
|
|
75791
|
+
/** The previous value of the field. */
|
|
75792
|
+
from: string | null;
|
|
75793
|
+
/** The new value of the field. */
|
|
75794
|
+
to: string | null;
|
|
75795
|
+
}[] | undefined;
|
|
75216
75796
|
} | {
|
|
75217
75797
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
75218
75798
|
message: string;
|
|
@@ -75464,6 +76044,17 @@ type Routes = {
|
|
|
75464
76044
|
created_at?: string | undefined;
|
|
75465
76045
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
75466
76046
|
error_code: 'code_modified_external_to_seam';
|
|
76047
|
+
/** 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. */
|
|
76048
|
+
change_type?: ('modified' | 'removed') | undefined;
|
|
76049
|
+
/** List of fields that were changed externally, with their previous and new values. */
|
|
76050
|
+
modified_fields?: {
|
|
76051
|
+
/** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
|
|
76052
|
+
field: string;
|
|
76053
|
+
/** The previous value of the field. */
|
|
76054
|
+
from: string | null;
|
|
76055
|
+
/** The new value of the field. */
|
|
76056
|
+
to: string | null;
|
|
76057
|
+
}[] | undefined;
|
|
75467
76058
|
} | {
|
|
75468
76059
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
75469
76060
|
message: string;
|
|
@@ -75732,6 +76323,17 @@ type Routes = {
|
|
|
75732
76323
|
created_at?: string | undefined;
|
|
75733
76324
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
75734
76325
|
warning_code: 'code_modified_external_to_seam';
|
|
76326
|
+
/** 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. */
|
|
76327
|
+
change_type?: ('modified' | 'removed') | undefined;
|
|
76328
|
+
/** List of fields that were changed externally, with their previous and new values. */
|
|
76329
|
+
modified_fields?: {
|
|
76330
|
+
/** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
|
|
76331
|
+
field: string;
|
|
76332
|
+
/** The previous value of the field. */
|
|
76333
|
+
from: string | null;
|
|
76334
|
+
/** The new value of the field. */
|
|
76335
|
+
to: string | null;
|
|
76336
|
+
}[] | undefined;
|
|
75735
76337
|
} | {
|
|
75736
76338
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
75737
76339
|
message: string;
|
|
@@ -173377,6 +173979,17 @@ type Routes = {
|
|
|
173377
173979
|
created_at?: string | undefined;
|
|
173378
173980
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
173379
173981
|
error_code: 'code_modified_external_to_seam';
|
|
173982
|
+
/** 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. */
|
|
173983
|
+
change_type?: ('modified' | 'removed') | undefined;
|
|
173984
|
+
/** List of fields that were changed externally, with their previous and new values. */
|
|
173985
|
+
modified_fields?: {
|
|
173986
|
+
/** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
|
|
173987
|
+
field: string;
|
|
173988
|
+
/** The previous value of the field. */
|
|
173989
|
+
from: string | null;
|
|
173990
|
+
/** The new value of the field. */
|
|
173991
|
+
to: string | null;
|
|
173992
|
+
}[] | undefined;
|
|
173380
173993
|
} | {
|
|
173381
173994
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
173382
173995
|
message: string;
|
|
@@ -173645,6 +174258,17 @@ type Routes = {
|
|
|
173645
174258
|
created_at?: string | undefined;
|
|
173646
174259
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
173647
174260
|
warning_code: 'code_modified_external_to_seam';
|
|
174261
|
+
/** 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. */
|
|
174262
|
+
change_type?: ('modified' | 'removed') | undefined;
|
|
174263
|
+
/** List of fields that were changed externally, with their previous and new values. */
|
|
174264
|
+
modified_fields?: {
|
|
174265
|
+
/** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
|
|
174266
|
+
field: string;
|
|
174267
|
+
/** The previous value of the field. */
|
|
174268
|
+
from: string | null;
|
|
174269
|
+
/** The new value of the field. */
|
|
174270
|
+
to: string | null;
|
|
174271
|
+
}[] | undefined;
|
|
173648
174272
|
} | {
|
|
173649
174273
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
173650
174274
|
message: string;
|
|
@@ -173880,6 +174504,17 @@ type Routes = {
|
|
|
173880
174504
|
created_at?: string | undefined;
|
|
173881
174505
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
173882
174506
|
error_code: 'code_modified_external_to_seam';
|
|
174507
|
+
/** 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. */
|
|
174508
|
+
change_type?: ('modified' | 'removed') | undefined;
|
|
174509
|
+
/** List of fields that were changed externally, with their previous and new values. */
|
|
174510
|
+
modified_fields?: {
|
|
174511
|
+
/** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
|
|
174512
|
+
field: string;
|
|
174513
|
+
/** The previous value of the field. */
|
|
174514
|
+
from: string | null;
|
|
174515
|
+
/** The new value of the field. */
|
|
174516
|
+
to: string | null;
|
|
174517
|
+
}[] | undefined;
|
|
173883
174518
|
} | {
|
|
173884
174519
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
173885
174520
|
message: string;
|
|
@@ -174148,6 +174783,17 @@ type Routes = {
|
|
|
174148
174783
|
created_at?: string | undefined;
|
|
174149
174784
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
174150
174785
|
warning_code: 'code_modified_external_to_seam';
|
|
174786
|
+
/** 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. */
|
|
174787
|
+
change_type?: ('modified' | 'removed') | undefined;
|
|
174788
|
+
/** List of fields that were changed externally, with their previous and new values. */
|
|
174789
|
+
modified_fields?: {
|
|
174790
|
+
/** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
|
|
174791
|
+
field: string;
|
|
174792
|
+
/** The previous value of the field. */
|
|
174793
|
+
from: string | null;
|
|
174794
|
+
/** The new value of the field. */
|
|
174795
|
+
to: string | null;
|
|
174796
|
+
}[] | undefined;
|
|
174151
174797
|
} | {
|
|
174152
174798
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
174153
174799
|
message: string;
|