@seamapi/types 1.869.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.
@@ -122,6 +122,22 @@ declare const access_code_error: z.ZodDiscriminatedUnion<"error_code", [z.ZodObj
122
122
  message: z.ZodString;
123
123
  is_access_code_error: z.ZodLiteral<true>;
124
124
  created_at: z.ZodOptional<z.ZodString>;
125
+ } & {
126
+ error_code: z.ZodLiteral<"access_code_state_unconfirmed">;
127
+ }, "strip", z.ZodTypeAny, {
128
+ message: string;
129
+ error_code: "access_code_state_unconfirmed";
130
+ is_access_code_error: true;
131
+ created_at?: string | undefined;
132
+ }, {
133
+ message: string;
134
+ error_code: "access_code_state_unconfirmed";
135
+ is_access_code_error: true;
136
+ created_at?: string | undefined;
137
+ }>, z.ZodObject<{
138
+ message: z.ZodString;
139
+ is_access_code_error: z.ZodLiteral<true>;
140
+ created_at: z.ZodOptional<z.ZodString>;
125
141
  } & {
126
142
  error_code: z.ZodLiteral<"kwikset_unable_to_confirm_code">;
127
143
  }, "strip", z.ZodTypeAny, {
@@ -156,16 +172,42 @@ declare const access_code_error: z.ZodDiscriminatedUnion<"error_code", [z.ZodObj
156
172
  created_at: z.ZodOptional<z.ZodString>;
157
173
  } & {
158
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">>;
159
189
  }, "strip", z.ZodTypeAny, {
160
190
  message: string;
161
191
  error_code: "code_modified_external_to_seam";
162
192
  is_access_code_error: true;
163
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;
164
200
  }, {
165
201
  message: string;
166
202
  error_code: "code_modified_external_to_seam";
167
203
  is_access_code_error: true;
168
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;
169
211
  }>, z.ZodObject<{
170
212
  message: z.ZodString;
171
213
  is_access_code_error: z.ZodLiteral<true>;
@@ -385,14 +427,40 @@ declare const access_code_warning: z.ZodDiscriminatedUnion<"warning_code", [z.Zo
385
427
  created_at: z.ZodOptional<z.ZodString>;
386
428
  } & {
387
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">>;
388
444
  }, "strip", z.ZodTypeAny, {
389
445
  message: string;
390
446
  warning_code: "code_modified_external_to_seam";
391
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;
392
454
  }, {
393
455
  message: string;
394
456
  warning_code: "code_modified_external_to_seam";
395
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;
396
464
  }>, z.ZodObject<{
397
465
  message: z.ZodString;
398
466
  created_at: z.ZodOptional<z.ZodString>;
@@ -487,6 +555,19 @@ declare const access_code_warning: z.ZodDiscriminatedUnion<"warning_code", [z.Zo
487
555
  }>, z.ZodObject<{
488
556
  message: z.ZodString;
489
557
  created_at: z.ZodOptional<z.ZodString>;
558
+ } & {
559
+ warning_code: z.ZodLiteral<"access_code_inactive">;
560
+ }, "strip", z.ZodTypeAny, {
561
+ message: string;
562
+ warning_code: "access_code_inactive";
563
+ created_at?: string | undefined;
564
+ }, {
565
+ message: string;
566
+ warning_code: "access_code_inactive";
567
+ created_at?: string | undefined;
568
+ }>, z.ZodObject<{
569
+ message: z.ZodString;
570
+ created_at: z.ZodOptional<z.ZodString>;
490
571
  } & {
491
572
  warning_code: z.ZodLiteral<"ultraloq_access_code_disabled">;
492
573
  }, "strip", z.ZodTypeAny, {
@@ -658,6 +739,22 @@ declare const access_code: z.ZodObject<{
658
739
  message: z.ZodString;
659
740
  is_access_code_error: z.ZodLiteral<true>;
660
741
  created_at: z.ZodOptional<z.ZodString>;
742
+ } & {
743
+ error_code: z.ZodLiteral<"access_code_state_unconfirmed">;
744
+ }, "strip", z.ZodTypeAny, {
745
+ message: string;
746
+ error_code: "access_code_state_unconfirmed";
747
+ is_access_code_error: true;
748
+ created_at?: string | undefined;
749
+ }, {
750
+ message: string;
751
+ error_code: "access_code_state_unconfirmed";
752
+ is_access_code_error: true;
753
+ created_at?: string | undefined;
754
+ }>, z.ZodObject<{
755
+ message: z.ZodString;
756
+ is_access_code_error: z.ZodLiteral<true>;
757
+ created_at: z.ZodOptional<z.ZodString>;
661
758
  } & {
662
759
  error_code: z.ZodLiteral<"kwikset_unable_to_confirm_code">;
663
760
  }, "strip", z.ZodTypeAny, {
@@ -692,16 +789,42 @@ declare const access_code: z.ZodObject<{
692
789
  created_at: z.ZodOptional<z.ZodString>;
693
790
  } & {
694
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">>;
695
806
  }, "strip", z.ZodTypeAny, {
696
807
  message: string;
697
808
  error_code: "code_modified_external_to_seam";
698
809
  is_access_code_error: true;
699
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;
700
817
  }, {
701
818
  message: string;
702
819
  error_code: "code_modified_external_to_seam";
703
820
  is_access_code_error: true;
704
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;
705
828
  }>, z.ZodObject<{
706
829
  message: z.ZodString;
707
830
  is_access_code_error: z.ZodLiteral<true>;
@@ -1255,14 +1378,40 @@ declare const access_code: z.ZodObject<{
1255
1378
  created_at: z.ZodOptional<z.ZodString>;
1256
1379
  } & {
1257
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">>;
1258
1395
  }, "strip", z.ZodTypeAny, {
1259
1396
  message: string;
1260
1397
  warning_code: "code_modified_external_to_seam";
1261
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;
1262
1405
  }, {
1263
1406
  message: string;
1264
1407
  warning_code: "code_modified_external_to_seam";
1265
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;
1266
1415
  }>, z.ZodObject<{
1267
1416
  message: z.ZodString;
1268
1417
  created_at: z.ZodOptional<z.ZodString>;
@@ -1357,6 +1506,19 @@ declare const access_code: z.ZodObject<{
1357
1506
  }>, z.ZodObject<{
1358
1507
  message: z.ZodString;
1359
1508
  created_at: z.ZodOptional<z.ZodString>;
1509
+ } & {
1510
+ warning_code: z.ZodLiteral<"access_code_inactive">;
1511
+ }, "strip", z.ZodTypeAny, {
1512
+ message: string;
1513
+ warning_code: "access_code_inactive";
1514
+ created_at?: string | undefined;
1515
+ }, {
1516
+ message: string;
1517
+ warning_code: "access_code_inactive";
1518
+ created_at?: string | undefined;
1519
+ }>, z.ZodObject<{
1520
+ message: z.ZodString;
1521
+ created_at: z.ZodOptional<z.ZodString>;
1360
1522
  } & {
1361
1523
  warning_code: z.ZodLiteral<"ultraloq_access_code_disabled">;
1362
1524
  }, "strip", z.ZodTypeAny, {
@@ -1723,6 +1885,12 @@ declare const access_code: z.ZodObject<{
1723
1885
  error_code: "code_modified_external_to_seam";
1724
1886
  is_access_code_error: true;
1725
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;
1726
1894
  } | {
1727
1895
  message: string;
1728
1896
  error_code: "failed_to_set_on_device";
@@ -1750,6 +1918,11 @@ declare const access_code: z.ZodObject<{
1750
1918
  error_code: "no_space_for_access_code_on_device";
1751
1919
  is_access_code_error: true;
1752
1920
  created_at?: string | undefined;
1921
+ } | {
1922
+ message: string;
1923
+ error_code: "access_code_state_unconfirmed";
1924
+ is_access_code_error: true;
1925
+ created_at?: string | undefined;
1753
1926
  } | {
1754
1927
  message: string;
1755
1928
  error_code: "kwikset_unable_to_confirm_code";
@@ -1823,6 +1996,12 @@ declare const access_code: z.ZodObject<{
1823
1996
  message: string;
1824
1997
  warning_code: "code_modified_external_to_seam";
1825
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;
1826
2005
  } | {
1827
2006
  message: string;
1828
2007
  warning_code: "schlage_detected_duplicate";
@@ -1859,6 +2038,10 @@ declare const access_code: z.ZodObject<{
1859
2038
  message: string;
1860
2039
  warning_code: "kwikset_unable_to_confirm_code";
1861
2040
  created_at?: string | undefined;
2041
+ } | {
2042
+ message: string;
2043
+ warning_code: "access_code_inactive";
2044
+ created_at?: string | undefined;
1862
2045
  } | {
1863
2046
  message: string;
1864
2047
  warning_code: "ultraloq_access_code_disabled";
@@ -2062,6 +2245,12 @@ declare const access_code: z.ZodObject<{
2062
2245
  error_code: "code_modified_external_to_seam";
2063
2246
  is_access_code_error: true;
2064
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;
2065
2254
  } | {
2066
2255
  message: string;
2067
2256
  error_code: "failed_to_set_on_device";
@@ -2089,6 +2278,11 @@ declare const access_code: z.ZodObject<{
2089
2278
  error_code: "no_space_for_access_code_on_device";
2090
2279
  is_access_code_error: true;
2091
2280
  created_at?: string | undefined;
2281
+ } | {
2282
+ message: string;
2283
+ error_code: "access_code_state_unconfirmed";
2284
+ is_access_code_error: true;
2285
+ created_at?: string | undefined;
2092
2286
  } | {
2093
2287
  message: string;
2094
2288
  error_code: "kwikset_unable_to_confirm_code";
@@ -2162,6 +2356,12 @@ declare const access_code: z.ZodObject<{
2162
2356
  message: string;
2163
2357
  warning_code: "code_modified_external_to_seam";
2164
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;
2165
2365
  } | {
2166
2366
  message: string;
2167
2367
  warning_code: "schlage_detected_duplicate";
@@ -2198,6 +2398,10 @@ declare const access_code: z.ZodObject<{
2198
2398
  message: string;
2199
2399
  warning_code: "kwikset_unable_to_confirm_code";
2200
2400
  created_at?: string | undefined;
2401
+ } | {
2402
+ message: string;
2403
+ warning_code: "access_code_inactive";
2404
+ created_at?: string | undefined;
2201
2405
  } | {
2202
2406
  message: string;
2203
2407
  warning_code: "ultraloq_access_code_disabled";
@@ -2414,6 +2618,22 @@ declare const unmanaged_access_code: z.ZodObject<{
2414
2618
  message: z.ZodString;
2415
2619
  is_access_code_error: z.ZodLiteral<true>;
2416
2620
  created_at: z.ZodOptional<z.ZodString>;
2621
+ } & {
2622
+ error_code: z.ZodLiteral<"access_code_state_unconfirmed">;
2623
+ }, "strip", z.ZodTypeAny, {
2624
+ message: string;
2625
+ error_code: "access_code_state_unconfirmed";
2626
+ is_access_code_error: true;
2627
+ created_at?: string | undefined;
2628
+ }, {
2629
+ message: string;
2630
+ error_code: "access_code_state_unconfirmed";
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>;
2417
2637
  } & {
2418
2638
  error_code: z.ZodLiteral<"kwikset_unable_to_confirm_code">;
2419
2639
  }, "strip", z.ZodTypeAny, {
@@ -2448,16 +2668,42 @@ declare const unmanaged_access_code: z.ZodObject<{
2448
2668
  created_at: z.ZodOptional<z.ZodString>;
2449
2669
  } & {
2450
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">>;
2451
2685
  }, "strip", z.ZodTypeAny, {
2452
2686
  message: string;
2453
2687
  error_code: "code_modified_external_to_seam";
2454
2688
  is_access_code_error: true;
2455
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;
2456
2696
  }, {
2457
2697
  message: string;
2458
2698
  error_code: "code_modified_external_to_seam";
2459
2699
  is_access_code_error: true;
2460
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;
2461
2707
  }>, z.ZodObject<{
2462
2708
  message: z.ZodString;
2463
2709
  is_access_code_error: z.ZodLiteral<true>;
@@ -3011,14 +3257,40 @@ declare const unmanaged_access_code: z.ZodObject<{
3011
3257
  created_at: z.ZodOptional<z.ZodString>;
3012
3258
  } & {
3013
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">>;
3014
3274
  }, "strip", z.ZodTypeAny, {
3015
3275
  message: string;
3016
3276
  warning_code: "code_modified_external_to_seam";
3017
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;
3018
3284
  }, {
3019
3285
  message: string;
3020
3286
  warning_code: "code_modified_external_to_seam";
3021
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;
3022
3294
  }>, z.ZodObject<{
3023
3295
  message: z.ZodString;
3024
3296
  created_at: z.ZodOptional<z.ZodString>;
@@ -3113,6 +3385,19 @@ declare const unmanaged_access_code: z.ZodObject<{
3113
3385
  }>, z.ZodObject<{
3114
3386
  message: z.ZodString;
3115
3387
  created_at: z.ZodOptional<z.ZodString>;
3388
+ } & {
3389
+ warning_code: z.ZodLiteral<"access_code_inactive">;
3390
+ }, "strip", z.ZodTypeAny, {
3391
+ message: string;
3392
+ warning_code: "access_code_inactive";
3393
+ created_at?: string | undefined;
3394
+ }, {
3395
+ message: string;
3396
+ warning_code: "access_code_inactive";
3397
+ created_at?: string | undefined;
3398
+ }>, z.ZodObject<{
3399
+ message: z.ZodString;
3400
+ created_at: z.ZodOptional<z.ZodString>;
3116
3401
  } & {
3117
3402
  warning_code: z.ZodLiteral<"ultraloq_access_code_disabled">;
3118
3403
  }, "strip", z.ZodTypeAny, {
@@ -3305,6 +3590,12 @@ declare const unmanaged_access_code: z.ZodObject<{
3305
3590
  error_code: "code_modified_external_to_seam";
3306
3591
  is_access_code_error: true;
3307
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;
3308
3599
  } | {
3309
3600
  message: string;
3310
3601
  error_code: "failed_to_set_on_device";
@@ -3332,6 +3623,11 @@ declare const unmanaged_access_code: z.ZodObject<{
3332
3623
  error_code: "no_space_for_access_code_on_device";
3333
3624
  is_access_code_error: true;
3334
3625
  created_at?: string | undefined;
3626
+ } | {
3627
+ message: string;
3628
+ error_code: "access_code_state_unconfirmed";
3629
+ is_access_code_error: true;
3630
+ created_at?: string | undefined;
3335
3631
  } | {
3336
3632
  message: string;
3337
3633
  error_code: "kwikset_unable_to_confirm_code";
@@ -3405,6 +3701,12 @@ declare const unmanaged_access_code: z.ZodObject<{
3405
3701
  message: string;
3406
3702
  warning_code: "code_modified_external_to_seam";
3407
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;
3408
3710
  } | {
3409
3711
  message: string;
3410
3712
  warning_code: "schlage_detected_duplicate";
@@ -3441,6 +3743,10 @@ declare const unmanaged_access_code: z.ZodObject<{
3441
3743
  message: string;
3442
3744
  warning_code: "kwikset_unable_to_confirm_code";
3443
3745
  created_at?: string | undefined;
3746
+ } | {
3747
+ message: string;
3748
+ warning_code: "access_code_inactive";
3749
+ created_at?: string | undefined;
3444
3750
  } | {
3445
3751
  message: string;
3446
3752
  warning_code: "ultraloq_access_code_disabled";
@@ -3591,6 +3897,12 @@ declare const unmanaged_access_code: z.ZodObject<{
3591
3897
  error_code: "code_modified_external_to_seam";
3592
3898
  is_access_code_error: true;
3593
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;
3594
3906
  } | {
3595
3907
  message: string;
3596
3908
  error_code: "failed_to_set_on_device";
@@ -3618,6 +3930,11 @@ declare const unmanaged_access_code: z.ZodObject<{
3618
3930
  error_code: "no_space_for_access_code_on_device";
3619
3931
  is_access_code_error: true;
3620
3932
  created_at?: string | undefined;
3933
+ } | {
3934
+ message: string;
3935
+ error_code: "access_code_state_unconfirmed";
3936
+ is_access_code_error: true;
3937
+ created_at?: string | undefined;
3621
3938
  } | {
3622
3939
  message: string;
3623
3940
  error_code: "kwikset_unable_to_confirm_code";
@@ -3691,6 +4008,12 @@ declare const unmanaged_access_code: z.ZodObject<{
3691
4008
  message: string;
3692
4009
  warning_code: "code_modified_external_to_seam";
3693
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;
3694
4017
  } | {
3695
4018
  message: string;
3696
4019
  warning_code: "schlage_detected_duplicate";
@@ -3727,6 +4050,10 @@ declare const unmanaged_access_code: z.ZodObject<{
3727
4050
  message: string;
3728
4051
  warning_code: "kwikset_unable_to_confirm_code";
3729
4052
  created_at?: string | undefined;
4053
+ } | {
4054
+ message: string;
4055
+ warning_code: "access_code_inactive";
4056
+ created_at?: string | undefined;
3730
4057
  } | {
3731
4058
  message: string;
3732
4059
  warning_code: "ultraloq_access_code_disabled";
@@ -36524,6 +36851,22 @@ declare const batch: z.ZodObject<{
36524
36851
  message: z.ZodString;
36525
36852
  is_access_code_error: z.ZodLiteral<true>;
36526
36853
  created_at: z.ZodOptional<z.ZodString>;
36854
+ } & {
36855
+ error_code: z.ZodLiteral<"access_code_state_unconfirmed">;
36856
+ }, "strip", z.ZodTypeAny, {
36857
+ message: string;
36858
+ error_code: "access_code_state_unconfirmed";
36859
+ is_access_code_error: true;
36860
+ created_at?: string | undefined;
36861
+ }, {
36862
+ message: string;
36863
+ error_code: "access_code_state_unconfirmed";
36864
+ is_access_code_error: true;
36865
+ created_at?: string | undefined;
36866
+ }>, z.ZodObject<{
36867
+ message: z.ZodString;
36868
+ is_access_code_error: z.ZodLiteral<true>;
36869
+ created_at: z.ZodOptional<z.ZodString>;
36527
36870
  } & {
36528
36871
  error_code: z.ZodLiteral<"kwikset_unable_to_confirm_code">;
36529
36872
  }, "strip", z.ZodTypeAny, {
@@ -36558,16 +36901,42 @@ declare const batch: z.ZodObject<{
36558
36901
  created_at: z.ZodOptional<z.ZodString>;
36559
36902
  } & {
36560
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">>;
36561
36918
  }, "strip", z.ZodTypeAny, {
36562
36919
  message: string;
36563
36920
  error_code: "code_modified_external_to_seam";
36564
36921
  is_access_code_error: true;
36565
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;
36566
36929
  }, {
36567
36930
  message: string;
36568
36931
  error_code: "code_modified_external_to_seam";
36569
36932
  is_access_code_error: true;
36570
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;
36571
36940
  }>, z.ZodObject<{
36572
36941
  message: z.ZodString;
36573
36942
  is_access_code_error: z.ZodLiteral<true>;
@@ -37121,14 +37490,40 @@ declare const batch: z.ZodObject<{
37121
37490
  created_at: z.ZodOptional<z.ZodString>;
37122
37491
  } & {
37123
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">>;
37124
37507
  }, "strip", z.ZodTypeAny, {
37125
37508
  message: string;
37126
37509
  warning_code: "code_modified_external_to_seam";
37127
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;
37128
37517
  }, {
37129
37518
  message: string;
37130
37519
  warning_code: "code_modified_external_to_seam";
37131
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;
37132
37527
  }>, z.ZodObject<{
37133
37528
  message: z.ZodString;
37134
37529
  created_at: z.ZodOptional<z.ZodString>;
@@ -37223,6 +37618,19 @@ declare const batch: z.ZodObject<{
37223
37618
  }>, z.ZodObject<{
37224
37619
  message: z.ZodString;
37225
37620
  created_at: z.ZodOptional<z.ZodString>;
37621
+ } & {
37622
+ warning_code: z.ZodLiteral<"access_code_inactive">;
37623
+ }, "strip", z.ZodTypeAny, {
37624
+ message: string;
37625
+ warning_code: "access_code_inactive";
37626
+ created_at?: string | undefined;
37627
+ }, {
37628
+ message: string;
37629
+ warning_code: "access_code_inactive";
37630
+ created_at?: string | undefined;
37631
+ }>, z.ZodObject<{
37632
+ message: z.ZodString;
37633
+ created_at: z.ZodOptional<z.ZodString>;
37226
37634
  } & {
37227
37635
  warning_code: z.ZodLiteral<"ultraloq_access_code_disabled">;
37228
37636
  }, "strip", z.ZodTypeAny, {
@@ -37589,6 +37997,12 @@ declare const batch: z.ZodObject<{
37589
37997
  error_code: "code_modified_external_to_seam";
37590
37998
  is_access_code_error: true;
37591
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;
37592
38006
  } | {
37593
38007
  message: string;
37594
38008
  error_code: "failed_to_set_on_device";
@@ -37616,6 +38030,11 @@ declare const batch: z.ZodObject<{
37616
38030
  error_code: "no_space_for_access_code_on_device";
37617
38031
  is_access_code_error: true;
37618
38032
  created_at?: string | undefined;
38033
+ } | {
38034
+ message: string;
38035
+ error_code: "access_code_state_unconfirmed";
38036
+ is_access_code_error: true;
38037
+ created_at?: string | undefined;
37619
38038
  } | {
37620
38039
  message: string;
37621
38040
  error_code: "kwikset_unable_to_confirm_code";
@@ -37689,6 +38108,12 @@ declare const batch: z.ZodObject<{
37689
38108
  message: string;
37690
38109
  warning_code: "code_modified_external_to_seam";
37691
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;
37692
38117
  } | {
37693
38118
  message: string;
37694
38119
  warning_code: "schlage_detected_duplicate";
@@ -37725,6 +38150,10 @@ declare const batch: z.ZodObject<{
37725
38150
  message: string;
37726
38151
  warning_code: "kwikset_unable_to_confirm_code";
37727
38152
  created_at?: string | undefined;
38153
+ } | {
38154
+ message: string;
38155
+ warning_code: "access_code_inactive";
38156
+ created_at?: string | undefined;
37728
38157
  } | {
37729
38158
  message: string;
37730
38159
  warning_code: "ultraloq_access_code_disabled";
@@ -37928,6 +38357,12 @@ declare const batch: z.ZodObject<{
37928
38357
  error_code: "code_modified_external_to_seam";
37929
38358
  is_access_code_error: true;
37930
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;
37931
38366
  } | {
37932
38367
  message: string;
37933
38368
  error_code: "failed_to_set_on_device";
@@ -37955,6 +38390,11 @@ declare const batch: z.ZodObject<{
37955
38390
  error_code: "no_space_for_access_code_on_device";
37956
38391
  is_access_code_error: true;
37957
38392
  created_at?: string | undefined;
38393
+ } | {
38394
+ message: string;
38395
+ error_code: "access_code_state_unconfirmed";
38396
+ is_access_code_error: true;
38397
+ created_at?: string | undefined;
37958
38398
  } | {
37959
38399
  message: string;
37960
38400
  error_code: "kwikset_unable_to_confirm_code";
@@ -38028,6 +38468,12 @@ declare const batch: z.ZodObject<{
38028
38468
  message: string;
38029
38469
  warning_code: "code_modified_external_to_seam";
38030
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;
38031
38477
  } | {
38032
38478
  message: string;
38033
38479
  warning_code: "schlage_detected_duplicate";
@@ -38064,6 +38510,10 @@ declare const batch: z.ZodObject<{
38064
38510
  message: string;
38065
38511
  warning_code: "kwikset_unable_to_confirm_code";
38066
38512
  created_at?: string | undefined;
38513
+ } | {
38514
+ message: string;
38515
+ warning_code: "access_code_inactive";
38516
+ created_at?: string | undefined;
38067
38517
  } | {
38068
38518
  message: string;
38069
38519
  warning_code: "ultraloq_access_code_disabled";
@@ -38278,6 +38728,22 @@ declare const batch: z.ZodObject<{
38278
38728
  message: z.ZodString;
38279
38729
  is_access_code_error: z.ZodLiteral<true>;
38280
38730
  created_at: z.ZodOptional<z.ZodString>;
38731
+ } & {
38732
+ error_code: z.ZodLiteral<"access_code_state_unconfirmed">;
38733
+ }, "strip", z.ZodTypeAny, {
38734
+ message: string;
38735
+ error_code: "access_code_state_unconfirmed";
38736
+ is_access_code_error: true;
38737
+ created_at?: string | undefined;
38738
+ }, {
38739
+ message: string;
38740
+ error_code: "access_code_state_unconfirmed";
38741
+ is_access_code_error: true;
38742
+ created_at?: string | undefined;
38743
+ }>, z.ZodObject<{
38744
+ message: z.ZodString;
38745
+ is_access_code_error: z.ZodLiteral<true>;
38746
+ created_at: z.ZodOptional<z.ZodString>;
38281
38747
  } & {
38282
38748
  error_code: z.ZodLiteral<"kwikset_unable_to_confirm_code">;
38283
38749
  }, "strip", z.ZodTypeAny, {
@@ -38312,16 +38778,42 @@ declare const batch: z.ZodObject<{
38312
38778
  created_at: z.ZodOptional<z.ZodString>;
38313
38779
  } & {
38314
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">>;
38315
38795
  }, "strip", z.ZodTypeAny, {
38316
38796
  message: string;
38317
38797
  error_code: "code_modified_external_to_seam";
38318
38798
  is_access_code_error: true;
38319
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;
38320
38806
  }, {
38321
38807
  message: string;
38322
38808
  error_code: "code_modified_external_to_seam";
38323
38809
  is_access_code_error: true;
38324
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;
38325
38817
  }>, z.ZodObject<{
38326
38818
  message: z.ZodString;
38327
38819
  is_access_code_error: z.ZodLiteral<true>;
@@ -38875,14 +39367,40 @@ declare const batch: z.ZodObject<{
38875
39367
  created_at: z.ZodOptional<z.ZodString>;
38876
39368
  } & {
38877
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">>;
38878
39384
  }, "strip", z.ZodTypeAny, {
38879
39385
  message: string;
38880
39386
  warning_code: "code_modified_external_to_seam";
38881
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;
38882
39394
  }, {
38883
39395
  message: string;
38884
39396
  warning_code: "code_modified_external_to_seam";
38885
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;
38886
39404
  }>, z.ZodObject<{
38887
39405
  message: z.ZodString;
38888
39406
  created_at: z.ZodOptional<z.ZodString>;
@@ -38977,6 +39495,19 @@ declare const batch: z.ZodObject<{
38977
39495
  }>, z.ZodObject<{
38978
39496
  message: z.ZodString;
38979
39497
  created_at: z.ZodOptional<z.ZodString>;
39498
+ } & {
39499
+ warning_code: z.ZodLiteral<"access_code_inactive">;
39500
+ }, "strip", z.ZodTypeAny, {
39501
+ message: string;
39502
+ warning_code: "access_code_inactive";
39503
+ created_at?: string | undefined;
39504
+ }, {
39505
+ message: string;
39506
+ warning_code: "access_code_inactive";
39507
+ created_at?: string | undefined;
39508
+ }>, z.ZodObject<{
39509
+ message: z.ZodString;
39510
+ created_at: z.ZodOptional<z.ZodString>;
38980
39511
  } & {
38981
39512
  warning_code: z.ZodLiteral<"ultraloq_access_code_disabled">;
38982
39513
  }, "strip", z.ZodTypeAny, {
@@ -39169,6 +39700,12 @@ declare const batch: z.ZodObject<{
39169
39700
  error_code: "code_modified_external_to_seam";
39170
39701
  is_access_code_error: true;
39171
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;
39172
39709
  } | {
39173
39710
  message: string;
39174
39711
  error_code: "failed_to_set_on_device";
@@ -39196,6 +39733,11 @@ declare const batch: z.ZodObject<{
39196
39733
  error_code: "no_space_for_access_code_on_device";
39197
39734
  is_access_code_error: true;
39198
39735
  created_at?: string | undefined;
39736
+ } | {
39737
+ message: string;
39738
+ error_code: "access_code_state_unconfirmed";
39739
+ is_access_code_error: true;
39740
+ created_at?: string | undefined;
39199
39741
  } | {
39200
39742
  message: string;
39201
39743
  error_code: "kwikset_unable_to_confirm_code";
@@ -39269,6 +39811,12 @@ declare const batch: z.ZodObject<{
39269
39811
  message: string;
39270
39812
  warning_code: "code_modified_external_to_seam";
39271
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;
39272
39820
  } | {
39273
39821
  message: string;
39274
39822
  warning_code: "schlage_detected_duplicate";
@@ -39305,6 +39853,10 @@ declare const batch: z.ZodObject<{
39305
39853
  message: string;
39306
39854
  warning_code: "kwikset_unable_to_confirm_code";
39307
39855
  created_at?: string | undefined;
39856
+ } | {
39857
+ message: string;
39858
+ warning_code: "access_code_inactive";
39859
+ created_at?: string | undefined;
39308
39860
  } | {
39309
39861
  message: string;
39310
39862
  warning_code: "ultraloq_access_code_disabled";
@@ -39455,6 +40007,12 @@ declare const batch: z.ZodObject<{
39455
40007
  error_code: "code_modified_external_to_seam";
39456
40008
  is_access_code_error: true;
39457
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;
39458
40016
  } | {
39459
40017
  message: string;
39460
40018
  error_code: "failed_to_set_on_device";
@@ -39482,6 +40040,11 @@ declare const batch: z.ZodObject<{
39482
40040
  error_code: "no_space_for_access_code_on_device";
39483
40041
  is_access_code_error: true;
39484
40042
  created_at?: string | undefined;
40043
+ } | {
40044
+ message: string;
40045
+ error_code: "access_code_state_unconfirmed";
40046
+ is_access_code_error: true;
40047
+ created_at?: string | undefined;
39485
40048
  } | {
39486
40049
  message: string;
39487
40050
  error_code: "kwikset_unable_to_confirm_code";
@@ -39555,6 +40118,12 @@ declare const batch: z.ZodObject<{
39555
40118
  message: string;
39556
40119
  warning_code: "code_modified_external_to_seam";
39557
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;
39558
40127
  } | {
39559
40128
  message: string;
39560
40129
  warning_code: "schlage_detected_duplicate";
@@ -39591,6 +40160,10 @@ declare const batch: z.ZodObject<{
39591
40160
  message: string;
39592
40161
  warning_code: "kwikset_unable_to_confirm_code";
39593
40162
  created_at?: string | undefined;
40163
+ } | {
40164
+ message: string;
40165
+ warning_code: "access_code_inactive";
40166
+ created_at?: string | undefined;
39594
40167
  } | {
39595
40168
  message: string;
39596
40169
  warning_code: "ultraloq_access_code_disabled";
@@ -44344,6 +44917,12 @@ declare const batch: z.ZodObject<{
44344
44917
  error_code: "code_modified_external_to_seam";
44345
44918
  is_access_code_error: true;
44346
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;
44347
44926
  } | {
44348
44927
  message: string;
44349
44928
  error_code: "failed_to_set_on_device";
@@ -44371,6 +44950,11 @@ declare const batch: z.ZodObject<{
44371
44950
  error_code: "no_space_for_access_code_on_device";
44372
44951
  is_access_code_error: true;
44373
44952
  created_at?: string | undefined;
44953
+ } | {
44954
+ message: string;
44955
+ error_code: "access_code_state_unconfirmed";
44956
+ is_access_code_error: true;
44957
+ created_at?: string | undefined;
44374
44958
  } | {
44375
44959
  message: string;
44376
44960
  error_code: "kwikset_unable_to_confirm_code";
@@ -44444,6 +45028,12 @@ declare const batch: z.ZodObject<{
44444
45028
  message: string;
44445
45029
  warning_code: "code_modified_external_to_seam";
44446
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;
44447
45037
  } | {
44448
45038
  message: string;
44449
45039
  warning_code: "schlage_detected_duplicate";
@@ -44480,6 +45070,10 @@ declare const batch: z.ZodObject<{
44480
45070
  message: string;
44481
45071
  warning_code: "kwikset_unable_to_confirm_code";
44482
45072
  created_at?: string | undefined;
45073
+ } | {
45074
+ message: string;
45075
+ warning_code: "access_code_inactive";
45076
+ created_at?: string | undefined;
44483
45077
  } | {
44484
45078
  message: string;
44485
45079
  warning_code: "ultraloq_access_code_disabled";
@@ -44684,6 +45278,12 @@ declare const batch: z.ZodObject<{
44684
45278
  error_code: "code_modified_external_to_seam";
44685
45279
  is_access_code_error: true;
44686
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;
44687
45287
  } | {
44688
45288
  message: string;
44689
45289
  error_code: "failed_to_set_on_device";
@@ -44711,6 +45311,11 @@ declare const batch: z.ZodObject<{
44711
45311
  error_code: "no_space_for_access_code_on_device";
44712
45312
  is_access_code_error: true;
44713
45313
  created_at?: string | undefined;
45314
+ } | {
45315
+ message: string;
45316
+ error_code: "access_code_state_unconfirmed";
45317
+ is_access_code_error: true;
45318
+ created_at?: string | undefined;
44714
45319
  } | {
44715
45320
  message: string;
44716
45321
  error_code: "kwikset_unable_to_confirm_code";
@@ -44784,6 +45389,12 @@ declare const batch: z.ZodObject<{
44784
45389
  message: string;
44785
45390
  warning_code: "code_modified_external_to_seam";
44786
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;
44787
45398
  } | {
44788
45399
  message: string;
44789
45400
  warning_code: "schlage_detected_duplicate";
@@ -44820,6 +45431,10 @@ declare const batch: z.ZodObject<{
44820
45431
  message: string;
44821
45432
  warning_code: "kwikset_unable_to_confirm_code";
44822
45433
  created_at?: string | undefined;
45434
+ } | {
45435
+ message: string;
45436
+ warning_code: "access_code_inactive";
45437
+ created_at?: string | undefined;
44823
45438
  } | {
44824
45439
  message: string;
44825
45440
  warning_code: "ultraloq_access_code_disabled";
@@ -49446,6 +50061,12 @@ declare const batch: z.ZodObject<{
49446
50061
  error_code: "code_modified_external_to_seam";
49447
50062
  is_access_code_error: true;
49448
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;
49449
50070
  } | {
49450
50071
  message: string;
49451
50072
  error_code: "failed_to_set_on_device";
@@ -49473,6 +50094,11 @@ declare const batch: z.ZodObject<{
49473
50094
  error_code: "no_space_for_access_code_on_device";
49474
50095
  is_access_code_error: true;
49475
50096
  created_at?: string | undefined;
50097
+ } | {
50098
+ message: string;
50099
+ error_code: "access_code_state_unconfirmed";
50100
+ is_access_code_error: true;
50101
+ created_at?: string | undefined;
49476
50102
  } | {
49477
50103
  message: string;
49478
50104
  error_code: "kwikset_unable_to_confirm_code";
@@ -49546,6 +50172,12 @@ declare const batch: z.ZodObject<{
49546
50172
  message: string;
49547
50173
  warning_code: "code_modified_external_to_seam";
49548
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;
49549
50181
  } | {
49550
50182
  message: string;
49551
50183
  warning_code: "schlage_detected_duplicate";
@@ -49582,6 +50214,10 @@ declare const batch: z.ZodObject<{
49582
50214
  message: string;
49583
50215
  warning_code: "kwikset_unable_to_confirm_code";
49584
50216
  created_at?: string | undefined;
50217
+ } | {
50218
+ message: string;
50219
+ warning_code: "access_code_inactive";
50220
+ created_at?: string | undefined;
49585
50221
  } | {
49586
50222
  message: string;
49587
50223
  warning_code: "ultraloq_access_code_disabled";
@@ -49786,6 +50422,12 @@ declare const batch: z.ZodObject<{
49786
50422
  error_code: "code_modified_external_to_seam";
49787
50423
  is_access_code_error: true;
49788
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;
49789
50431
  } | {
49790
50432
  message: string;
49791
50433
  error_code: "failed_to_set_on_device";
@@ -49813,6 +50455,11 @@ declare const batch: z.ZodObject<{
49813
50455
  error_code: "no_space_for_access_code_on_device";
49814
50456
  is_access_code_error: true;
49815
50457
  created_at?: string | undefined;
50458
+ } | {
50459
+ message: string;
50460
+ error_code: "access_code_state_unconfirmed";
50461
+ is_access_code_error: true;
50462
+ created_at?: string | undefined;
49816
50463
  } | {
49817
50464
  message: string;
49818
50465
  error_code: "kwikset_unable_to_confirm_code";
@@ -49886,6 +50533,12 @@ declare const batch: z.ZodObject<{
49886
50533
  message: string;
49887
50534
  warning_code: "code_modified_external_to_seam";
49888
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;
49889
50542
  } | {
49890
50543
  message: string;
49891
50544
  warning_code: "schlage_detected_duplicate";
@@ -49922,6 +50575,10 @@ declare const batch: z.ZodObject<{
49922
50575
  message: string;
49923
50576
  warning_code: "kwikset_unable_to_confirm_code";
49924
50577
  created_at?: string | undefined;
50578
+ } | {
50579
+ message: string;
50580
+ warning_code: "access_code_inactive";
50581
+ created_at?: string | undefined;
49925
50582
  } | {
49926
50583
  message: string;
49927
50584
  warning_code: "ultraloq_access_code_disabled";
@@ -67279,6 +67936,15 @@ type Routes = {
67279
67936
  created_at?: string | undefined;
67280
67937
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
67281
67938
  error_code: 'no_space_for_access_code_on_device';
67939
+ } | {
67940
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
67941
+ message: string;
67942
+ /** Indicates that this is an access code error. */
67943
+ is_access_code_error: true;
67944
+ /** Date and time at which Seam created the error. */
67945
+ created_at?: string | undefined;
67946
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
67947
+ error_code: 'access_code_state_unconfirmed';
67282
67948
  } | {
67283
67949
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
67284
67950
  message: string;
@@ -67306,6 +67972,17 @@ type Routes = {
67306
67972
  created_at?: string | undefined;
67307
67973
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
67308
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;
67309
67986
  } | {
67310
67987
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
67311
67988
  message: string;
@@ -67574,6 +68251,17 @@ type Routes = {
67574
68251
  created_at?: string | undefined;
67575
68252
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
67576
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;
67577
68265
  } | {
67578
68266
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
67579
68267
  message: string;
@@ -67623,6 +68311,13 @@ type Routes = {
67623
68311
  created_at?: string | undefined;
67624
68312
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
67625
68313
  warning_code: 'kwikset_unable_to_confirm_code';
68314
+ } | {
68315
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
68316
+ message: string;
68317
+ /** Date and time at which Seam created the warning. */
68318
+ created_at?: string | undefined;
68319
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
68320
+ warning_code: 'access_code_inactive';
67626
68321
  } | {
67627
68322
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
67628
68323
  message: string;
@@ -67895,6 +68590,15 @@ type Routes = {
67895
68590
  created_at?: string | undefined;
67896
68591
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
67897
68592
  error_code: 'no_space_for_access_code_on_device';
68593
+ } | {
68594
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
68595
+ message: string;
68596
+ /** Indicates that this is an access code error. */
68597
+ is_access_code_error: true;
68598
+ /** Date and time at which Seam created the error. */
68599
+ created_at?: string | undefined;
68600
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
68601
+ error_code: 'access_code_state_unconfirmed';
67898
68602
  } | {
67899
68603
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
67900
68604
  message: string;
@@ -67922,6 +68626,17 @@ type Routes = {
67922
68626
  created_at?: string | undefined;
67923
68627
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
67924
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;
67925
68640
  } | {
67926
68641
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
67927
68642
  message: string;
@@ -68190,6 +68905,17 @@ type Routes = {
68190
68905
  created_at?: string | undefined;
68191
68906
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
68192
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;
68193
68919
  } | {
68194
68920
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
68195
68921
  message: string;
@@ -68239,6 +68965,13 @@ type Routes = {
68239
68965
  created_at?: string | undefined;
68240
68966
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
68241
68967
  warning_code: 'kwikset_unable_to_confirm_code';
68968
+ } | {
68969
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
68970
+ message: string;
68971
+ /** Date and time at which Seam created the warning. */
68972
+ created_at?: string | undefined;
68973
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
68974
+ warning_code: 'access_code_inactive';
68242
68975
  } | {
68243
68976
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
68244
68977
  message: string;
@@ -70031,6 +70764,15 @@ type Routes = {
70031
70764
  created_at?: string | undefined;
70032
70765
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
70033
70766
  error_code: 'no_space_for_access_code_on_device';
70767
+ } | {
70768
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
70769
+ message: string;
70770
+ /** Indicates that this is an access code error. */
70771
+ is_access_code_error: true;
70772
+ /** Date and time at which Seam created the error. */
70773
+ created_at?: string | undefined;
70774
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
70775
+ error_code: 'access_code_state_unconfirmed';
70034
70776
  } | {
70035
70777
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
70036
70778
  message: string;
@@ -70058,6 +70800,17 @@ type Routes = {
70058
70800
  created_at?: string | undefined;
70059
70801
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
70060
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;
70061
70814
  } | {
70062
70815
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
70063
70816
  message: string;
@@ -70326,6 +71079,17 @@ type Routes = {
70326
71079
  created_at?: string | undefined;
70327
71080
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
70328
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;
70329
71093
  } | {
70330
71094
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
70331
71095
  message: string;
@@ -70375,6 +71139,13 @@ type Routes = {
70375
71139
  created_at?: string | undefined;
70376
71140
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
70377
71141
  warning_code: 'kwikset_unable_to_confirm_code';
71142
+ } | {
71143
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
71144
+ message: string;
71145
+ /** Date and time at which Seam created the warning. */
71146
+ created_at?: string | undefined;
71147
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
71148
+ warning_code: 'access_code_inactive';
70378
71149
  } | {
70379
71150
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
70380
71151
  message: string;
@@ -70693,6 +71464,15 @@ type Routes = {
70693
71464
  created_at?: string | undefined;
70694
71465
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
70695
71466
  error_code: 'no_space_for_access_code_on_device';
71467
+ } | {
71468
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
71469
+ message: string;
71470
+ /** Indicates that this is an access code error. */
71471
+ is_access_code_error: true;
71472
+ /** Date and time at which Seam created the error. */
71473
+ created_at?: string | undefined;
71474
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
71475
+ error_code: 'access_code_state_unconfirmed';
70696
71476
  } | {
70697
71477
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
70698
71478
  message: string;
@@ -70720,6 +71500,17 @@ type Routes = {
70720
71500
  created_at?: string | undefined;
70721
71501
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
70722
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;
70723
71514
  } | {
70724
71515
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
70725
71516
  message: string;
@@ -70988,6 +71779,17 @@ type Routes = {
70988
71779
  created_at?: string | undefined;
70989
71780
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
70990
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;
70991
71793
  } | {
70992
71794
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
70993
71795
  message: string;
@@ -71037,6 +71839,13 @@ type Routes = {
71037
71839
  created_at?: string | undefined;
71038
71840
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
71039
71841
  warning_code: 'kwikset_unable_to_confirm_code';
71842
+ } | {
71843
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
71844
+ message: string;
71845
+ /** Date and time at which Seam created the warning. */
71846
+ created_at?: string | undefined;
71847
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
71848
+ warning_code: 'access_code_inactive';
71040
71849
  } | {
71041
71850
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
71042
71851
  message: string;
@@ -71298,6 +72107,15 @@ type Routes = {
71298
72107
  created_at?: string | undefined;
71299
72108
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
71300
72109
  error_code: 'no_space_for_access_code_on_device';
72110
+ } | {
72111
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
72112
+ message: string;
72113
+ /** Indicates that this is an access code error. */
72114
+ is_access_code_error: true;
72115
+ /** Date and time at which Seam created the error. */
72116
+ created_at?: string | undefined;
72117
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
72118
+ error_code: 'access_code_state_unconfirmed';
71301
72119
  } | {
71302
72120
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
71303
72121
  message: string;
@@ -71325,6 +72143,17 @@ type Routes = {
71325
72143
  created_at?: string | undefined;
71326
72144
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
71327
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;
71328
72157
  } | {
71329
72158
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
71330
72159
  message: string;
@@ -71593,6 +72422,17 @@ type Routes = {
71593
72422
  created_at?: string | undefined;
71594
72423
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
71595
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;
71596
72436
  } | {
71597
72437
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
71598
72438
  message: string;
@@ -71642,6 +72482,13 @@ type Routes = {
71642
72482
  created_at?: string | undefined;
71643
72483
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
71644
72484
  warning_code: 'kwikset_unable_to_confirm_code';
72485
+ } | {
72486
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
72487
+ message: string;
72488
+ /** Date and time at which Seam created the warning. */
72489
+ created_at?: string | undefined;
72490
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
72491
+ warning_code: 'access_code_inactive';
71645
72492
  } | {
71646
72493
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
71647
72494
  message: string;
@@ -71880,6 +72727,15 @@ type Routes = {
71880
72727
  created_at?: string | undefined;
71881
72728
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
71882
72729
  error_code: 'no_space_for_access_code_on_device';
72730
+ } | {
72731
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
72732
+ message: string;
72733
+ /** Indicates that this is an access code error. */
72734
+ is_access_code_error: true;
72735
+ /** Date and time at which Seam created the error. */
72736
+ created_at?: string | undefined;
72737
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
72738
+ error_code: 'access_code_state_unconfirmed';
71883
72739
  } | {
71884
72740
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
71885
72741
  message: string;
@@ -71907,6 +72763,17 @@ type Routes = {
71907
72763
  created_at?: string | undefined;
71908
72764
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
71909
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;
71910
72777
  } | {
71911
72778
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
71912
72779
  message: string;
@@ -72175,6 +73042,17 @@ type Routes = {
72175
73042
  created_at?: string | undefined;
72176
73043
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
72177
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;
72178
73056
  } | {
72179
73057
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
72180
73058
  message: string;
@@ -72224,6 +73102,13 @@ type Routes = {
72224
73102
  created_at?: string | undefined;
72225
73103
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
72226
73104
  warning_code: 'kwikset_unable_to_confirm_code';
73105
+ } | {
73106
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
73107
+ message: string;
73108
+ /** Date and time at which Seam created the warning. */
73109
+ created_at?: string | undefined;
73110
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
73111
+ warning_code: 'access_code_inactive';
72227
73112
  } | {
72228
73113
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
72229
73114
  message: string;
@@ -72497,6 +73382,15 @@ type Routes = {
72497
73382
  created_at?: string | undefined;
72498
73383
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
72499
73384
  error_code: 'no_space_for_access_code_on_device';
73385
+ } | {
73386
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
73387
+ message: string;
73388
+ /** Indicates that this is an access code error. */
73389
+ is_access_code_error: true;
73390
+ /** Date and time at which Seam created the error. */
73391
+ created_at?: string | undefined;
73392
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
73393
+ error_code: 'access_code_state_unconfirmed';
72500
73394
  } | {
72501
73395
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
72502
73396
  message: string;
@@ -72524,6 +73418,17 @@ type Routes = {
72524
73418
  created_at?: string | undefined;
72525
73419
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
72526
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;
72527
73432
  } | {
72528
73433
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
72529
73434
  message: string;
@@ -72792,6 +73697,17 @@ type Routes = {
72792
73697
  created_at?: string | undefined;
72793
73698
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
72794
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;
72795
73711
  } | {
72796
73712
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
72797
73713
  message: string;
@@ -72841,6 +73757,13 @@ type Routes = {
72841
73757
  created_at?: string | undefined;
72842
73758
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
72843
73759
  warning_code: 'kwikset_unable_to_confirm_code';
73760
+ } | {
73761
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
73762
+ message: string;
73763
+ /** Date and time at which Seam created the warning. */
73764
+ created_at?: string | undefined;
73765
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
73766
+ warning_code: 'access_code_inactive';
72844
73767
  } | {
72845
73768
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
72846
73769
  message: string;
@@ -74544,6 +75467,15 @@ type Routes = {
74544
75467
  created_at?: string | undefined;
74545
75468
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
74546
75469
  error_code: 'no_space_for_access_code_on_device';
75470
+ } | {
75471
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
75472
+ message: string;
75473
+ /** Indicates that this is an access code error. */
75474
+ is_access_code_error: true;
75475
+ /** Date and time at which Seam created the error. */
75476
+ created_at?: string | undefined;
75477
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
75478
+ error_code: 'access_code_state_unconfirmed';
74547
75479
  } | {
74548
75480
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
74549
75481
  message: string;
@@ -74571,6 +75503,17 @@ type Routes = {
74571
75503
  created_at?: string | undefined;
74572
75504
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
74573
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;
74574
75517
  } | {
74575
75518
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
74576
75519
  message: string;
@@ -74839,6 +75782,17 @@ type Routes = {
74839
75782
  created_at?: string | undefined;
74840
75783
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
74841
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;
74842
75796
  } | {
74843
75797
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
74844
75798
  message: string;
@@ -74888,6 +75842,13 @@ type Routes = {
74888
75842
  created_at?: string | undefined;
74889
75843
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
74890
75844
  warning_code: 'kwikset_unable_to_confirm_code';
75845
+ } | {
75846
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
75847
+ message: string;
75848
+ /** Date and time at which Seam created the warning. */
75849
+ created_at?: string | undefined;
75850
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
75851
+ warning_code: 'access_code_inactive';
74891
75852
  } | {
74892
75853
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
74893
75854
  message: string;
@@ -75047,6 +76008,15 @@ type Routes = {
75047
76008
  created_at?: string | undefined;
75048
76009
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
75049
76010
  error_code: 'no_space_for_access_code_on_device';
76011
+ } | {
76012
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
76013
+ message: string;
76014
+ /** Indicates that this is an access code error. */
76015
+ is_access_code_error: true;
76016
+ /** Date and time at which Seam created the error. */
76017
+ created_at?: string | undefined;
76018
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
76019
+ error_code: 'access_code_state_unconfirmed';
75050
76020
  } | {
75051
76021
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
75052
76022
  message: string;
@@ -75074,6 +76044,17 @@ type Routes = {
75074
76044
  created_at?: string | undefined;
75075
76045
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
75076
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;
75077
76058
  } | {
75078
76059
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
75079
76060
  message: string;
@@ -75342,6 +76323,17 @@ type Routes = {
75342
76323
  created_at?: string | undefined;
75343
76324
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
75344
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;
75345
76337
  } | {
75346
76338
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
75347
76339
  message: string;
@@ -75391,6 +76383,13 @@ type Routes = {
75391
76383
  created_at?: string | undefined;
75392
76384
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
75393
76385
  warning_code: 'kwikset_unable_to_confirm_code';
76386
+ } | {
76387
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
76388
+ message: string;
76389
+ /** Date and time at which Seam created the warning. */
76390
+ created_at?: string | undefined;
76391
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
76392
+ warning_code: 'access_code_inactive';
75394
76393
  } | {
75395
76394
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
75396
76395
  message: string;
@@ -172944,6 +173943,15 @@ type Routes = {
172944
173943
  created_at?: string | undefined;
172945
173944
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
172946
173945
  error_code: 'no_space_for_access_code_on_device';
173946
+ } | {
173947
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
173948
+ message: string;
173949
+ /** Indicates that this is an access code error. */
173950
+ is_access_code_error: true;
173951
+ /** Date and time at which Seam created the error. */
173952
+ created_at?: string | undefined;
173953
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
173954
+ error_code: 'access_code_state_unconfirmed';
172947
173955
  } | {
172948
173956
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
172949
173957
  message: string;
@@ -172971,6 +173979,17 @@ type Routes = {
172971
173979
  created_at?: string | undefined;
172972
173980
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
172973
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;
172974
173993
  } | {
172975
173994
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
172976
173995
  message: string;
@@ -173239,6 +174258,17 @@ type Routes = {
173239
174258
  created_at?: string | undefined;
173240
174259
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
173241
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;
173242
174272
  } | {
173243
174273
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
173244
174274
  message: string;
@@ -173288,6 +174318,13 @@ type Routes = {
173288
174318
  created_at?: string | undefined;
173289
174319
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
173290
174320
  warning_code: 'kwikset_unable_to_confirm_code';
174321
+ } | {
174322
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
174323
+ message: string;
174324
+ /** Date and time at which Seam created the warning. */
174325
+ created_at?: string | undefined;
174326
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
174327
+ warning_code: 'access_code_inactive';
173291
174328
  } | {
173292
174329
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
173293
174330
  message: string;
@@ -173431,6 +174468,15 @@ type Routes = {
173431
174468
  created_at?: string | undefined;
173432
174469
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
173433
174470
  error_code: 'no_space_for_access_code_on_device';
174471
+ } | {
174472
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
174473
+ message: string;
174474
+ /** Indicates that this is an access code error. */
174475
+ is_access_code_error: true;
174476
+ /** Date and time at which Seam created the error. */
174477
+ created_at?: string | undefined;
174478
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
174479
+ error_code: 'access_code_state_unconfirmed';
173434
174480
  } | {
173435
174481
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
173436
174482
  message: string;
@@ -173458,6 +174504,17 @@ type Routes = {
173458
174504
  created_at?: string | undefined;
173459
174505
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
173460
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;
173461
174518
  } | {
173462
174519
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
173463
174520
  message: string;
@@ -173726,6 +174783,17 @@ type Routes = {
173726
174783
  created_at?: string | undefined;
173727
174784
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
173728
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;
173729
174797
  } | {
173730
174798
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
173731
174799
  message: string;
@@ -173775,6 +174843,13 @@ type Routes = {
173775
174843
  created_at?: string | undefined;
173776
174844
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
173777
174845
  warning_code: 'kwikset_unable_to_confirm_code';
174846
+ } | {
174847
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
174848
+ message: string;
174849
+ /** Date and time at which Seam created the warning. */
174850
+ created_at?: string | undefined;
174851
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
174852
+ warning_code: 'access_code_inactive';
173778
174853
  } | {
173779
174854
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
173780
174855
  message: string;