@seamapi/types 1.948.0 → 1.950.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.
@@ -74,22 +74,6 @@ declare const access_code_error: z.ZodDiscriminatedUnion<"error_code", [z.ZodObj
74
74
  message: z.ZodString;
75
75
  is_access_code_error: z.ZodLiteral<true>;
76
76
  created_at: z.ZodOptional<z.ZodString>;
77
- } & {
78
- error_code: z.ZodLiteral<"duplicate_code_attempt_prevented">;
79
- }, "strip", z.ZodTypeAny, {
80
- message: string;
81
- error_code: "duplicate_code_attempt_prevented";
82
- is_access_code_error: true;
83
- created_at?: string | undefined;
84
- }, {
85
- message: string;
86
- error_code: "duplicate_code_attempt_prevented";
87
- is_access_code_error: true;
88
- created_at?: string | undefined;
89
- }>, z.ZodObject<{
90
- message: z.ZodString;
91
- is_access_code_error: z.ZodLiteral<true>;
92
- created_at: z.ZodOptional<z.ZodString>;
93
77
  } & {
94
78
  error_code: z.ZodLiteral<"no_space_for_access_code_on_device">;
95
79
  }, "strip", z.ZodTypeAny, {
@@ -107,7 +91,7 @@ declare const access_code_error: z.ZodDiscriminatedUnion<"error_code", [z.ZodObj
107
91
  is_access_code_error: z.ZodLiteral<true>;
108
92
  created_at: z.ZodOptional<z.ZodString>;
109
93
  } & {
110
- error_code: z.ZodLiteral<"code_modified_external_to_seam">;
94
+ error_code: z.ZodLiteral<"conflicting_external_modification">;
111
95
  change_type: z.ZodOptional<z.ZodEnum<["modified", "removed"]>>;
112
96
  modified_fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
113
97
  field: z.ZodString;
@@ -124,7 +108,7 @@ declare const access_code_error: z.ZodDiscriminatedUnion<"error_code", [z.ZodObj
124
108
  }>, "many">>;
125
109
  }, "strip", z.ZodTypeAny, {
126
110
  message: string;
127
- error_code: "code_modified_external_to_seam";
111
+ error_code: "conflicting_external_modification";
128
112
  is_access_code_error: true;
129
113
  created_at?: string | undefined;
130
114
  change_type?: "modified" | "removed" | undefined;
@@ -135,7 +119,7 @@ declare const access_code_error: z.ZodDiscriminatedUnion<"error_code", [z.ZodObj
135
119
  }[] | undefined;
136
120
  }, {
137
121
  message: string;
138
- error_code: "code_modified_external_to_seam";
122
+ error_code: "conflicting_external_modification";
139
123
  is_access_code_error: true;
140
124
  created_at?: string | undefined;
141
125
  change_type?: "modified" | "removed" | undefined;
@@ -208,7 +192,7 @@ declare const access_code_warning: z.ZodDiscriminatedUnion<"warning_code", [z.Zo
208
192
  message: z.ZodString;
209
193
  created_at: z.ZodOptional<z.ZodString>;
210
194
  } & {
211
- warning_code: z.ZodLiteral<"code_modified_external_to_seam">;
195
+ warning_code: z.ZodLiteral<"external_modification_in_effect">;
212
196
  change_type: z.ZodOptional<z.ZodEnum<["modified", "removed"]>>;
213
197
  modified_fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
214
198
  field: z.ZodString;
@@ -225,7 +209,7 @@ declare const access_code_warning: z.ZodDiscriminatedUnion<"warning_code", [z.Zo
225
209
  }>, "many">>;
226
210
  }, "strip", z.ZodTypeAny, {
227
211
  message: string;
228
- warning_code: "code_modified_external_to_seam";
212
+ warning_code: "external_modification_in_effect";
229
213
  created_at?: string | undefined;
230
214
  change_type?: "modified" | "removed" | undefined;
231
215
  modified_fields?: {
@@ -235,7 +219,7 @@ declare const access_code_warning: z.ZodDiscriminatedUnion<"warning_code", [z.Zo
235
219
  }[] | undefined;
236
220
  }, {
237
221
  message: string;
238
- warning_code: "code_modified_external_to_seam";
222
+ warning_code: "external_modification_in_effect";
239
223
  created_at?: string | undefined;
240
224
  change_type?: "modified" | "removed" | undefined;
241
225
  modified_fields?: {
@@ -421,22 +405,6 @@ declare const access_code: z.ZodObject<{
421
405
  message: z.ZodString;
422
406
  is_access_code_error: z.ZodLiteral<true>;
423
407
  created_at: z.ZodOptional<z.ZodString>;
424
- } & {
425
- error_code: z.ZodLiteral<"duplicate_code_attempt_prevented">;
426
- }, "strip", z.ZodTypeAny, {
427
- message: string;
428
- error_code: "duplicate_code_attempt_prevented";
429
- is_access_code_error: true;
430
- created_at?: string | undefined;
431
- }, {
432
- message: string;
433
- error_code: "duplicate_code_attempt_prevented";
434
- is_access_code_error: true;
435
- created_at?: string | undefined;
436
- }>, z.ZodObject<{
437
- message: z.ZodString;
438
- is_access_code_error: z.ZodLiteral<true>;
439
- created_at: z.ZodOptional<z.ZodString>;
440
408
  } & {
441
409
  error_code: z.ZodLiteral<"no_space_for_access_code_on_device">;
442
410
  }, "strip", z.ZodTypeAny, {
@@ -454,7 +422,7 @@ declare const access_code: z.ZodObject<{
454
422
  is_access_code_error: z.ZodLiteral<true>;
455
423
  created_at: z.ZodOptional<z.ZodString>;
456
424
  } & {
457
- error_code: z.ZodLiteral<"code_modified_external_to_seam">;
425
+ error_code: z.ZodLiteral<"conflicting_external_modification">;
458
426
  change_type: z.ZodOptional<z.ZodEnum<["modified", "removed"]>>;
459
427
  modified_fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
460
428
  field: z.ZodString;
@@ -471,7 +439,7 @@ declare const access_code: z.ZodObject<{
471
439
  }>, "many">>;
472
440
  }, "strip", z.ZodTypeAny, {
473
441
  message: string;
474
- error_code: "code_modified_external_to_seam";
442
+ error_code: "conflicting_external_modification";
475
443
  is_access_code_error: true;
476
444
  created_at?: string | undefined;
477
445
  change_type?: "modified" | "removed" | undefined;
@@ -482,7 +450,7 @@ declare const access_code: z.ZodObject<{
482
450
  }[] | undefined;
483
451
  }, {
484
452
  message: string;
485
- error_code: "code_modified_external_to_seam";
453
+ error_code: "conflicting_external_modification";
486
454
  is_access_code_error: true;
487
455
  created_at?: string | undefined;
488
456
  change_type?: "modified" | "removed" | undefined;
@@ -927,7 +895,7 @@ declare const access_code: z.ZodObject<{
927
895
  message: z.ZodString;
928
896
  created_at: z.ZodOptional<z.ZodString>;
929
897
  } & {
930
- warning_code: z.ZodLiteral<"code_modified_external_to_seam">;
898
+ warning_code: z.ZodLiteral<"external_modification_in_effect">;
931
899
  change_type: z.ZodOptional<z.ZodEnum<["modified", "removed"]>>;
932
900
  modified_fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
933
901
  field: z.ZodString;
@@ -944,7 +912,7 @@ declare const access_code: z.ZodObject<{
944
912
  }>, "many">>;
945
913
  }, "strip", z.ZodTypeAny, {
946
914
  message: string;
947
- warning_code: "code_modified_external_to_seam";
915
+ warning_code: "external_modification_in_effect";
948
916
  created_at?: string | undefined;
949
917
  change_type?: "modified" | "removed" | undefined;
950
918
  modified_fields?: {
@@ -954,7 +922,7 @@ declare const access_code: z.ZodObject<{
954
922
  }[] | undefined;
955
923
  }, {
956
924
  message: string;
957
- warning_code: "code_modified_external_to_seam";
925
+ warning_code: "external_modification_in_effect";
958
926
  created_at?: string | undefined;
959
927
  change_type?: "modified" | "removed" | undefined;
960
928
  modified_fields?: {
@@ -1387,7 +1355,7 @@ declare const access_code: z.ZodObject<{
1387
1355
  created_at?: string | undefined;
1388
1356
  } | {
1389
1357
  message: string;
1390
- error_code: "code_modified_external_to_seam";
1358
+ error_code: "conflicting_external_modification";
1391
1359
  is_access_code_error: true;
1392
1360
  created_at?: string | undefined;
1393
1361
  change_type?: "modified" | "removed" | undefined;
@@ -1413,11 +1381,6 @@ declare const access_code: z.ZodObject<{
1413
1381
  created_at?: string | undefined;
1414
1382
  unmanaged_access_code_id?: string | undefined;
1415
1383
  managed_access_code_id?: string | undefined;
1416
- } | {
1417
- message: string;
1418
- error_code: "duplicate_code_attempt_prevented";
1419
- is_access_code_error: true;
1420
- created_at?: string | undefined;
1421
1384
  } | {
1422
1385
  message: string;
1423
1386
  error_code: "no_space_for_access_code_on_device";
@@ -1436,7 +1399,7 @@ declare const access_code: z.ZodObject<{
1436
1399
  })[];
1437
1400
  warnings: ({
1438
1401
  message: string;
1439
- warning_code: "code_modified_external_to_seam";
1402
+ warning_code: "external_modification_in_effect";
1440
1403
  created_at?: string | undefined;
1441
1404
  change_type?: "modified" | "removed" | undefined;
1442
1405
  modified_fields?: {
@@ -1675,7 +1638,7 @@ declare const access_code: z.ZodObject<{
1675
1638
  created_at?: string | undefined;
1676
1639
  } | {
1677
1640
  message: string;
1678
- error_code: "code_modified_external_to_seam";
1641
+ error_code: "conflicting_external_modification";
1679
1642
  is_access_code_error: true;
1680
1643
  created_at?: string | undefined;
1681
1644
  change_type?: "modified" | "removed" | undefined;
@@ -1701,11 +1664,6 @@ declare const access_code: z.ZodObject<{
1701
1664
  created_at?: string | undefined;
1702
1665
  unmanaged_access_code_id?: string | undefined;
1703
1666
  managed_access_code_id?: string | undefined;
1704
- } | {
1705
- message: string;
1706
- error_code: "duplicate_code_attempt_prevented";
1707
- is_access_code_error: true;
1708
- created_at?: string | undefined;
1709
1667
  } | {
1710
1668
  message: string;
1711
1669
  error_code: "no_space_for_access_code_on_device";
@@ -1724,7 +1682,7 @@ declare const access_code: z.ZodObject<{
1724
1682
  })[];
1725
1683
  warnings: ({
1726
1684
  message: string;
1727
- warning_code: "code_modified_external_to_seam";
1685
+ warning_code: "external_modification_in_effect";
1728
1686
  created_at?: string | undefined;
1729
1687
  change_type?: "modified" | "removed" | undefined;
1730
1688
  modified_fields?: {
@@ -1924,22 +1882,6 @@ declare const unmanaged_access_code: z.ZodObject<{
1924
1882
  message: z.ZodString;
1925
1883
  is_access_code_error: z.ZodLiteral<true>;
1926
1884
  created_at: z.ZodOptional<z.ZodString>;
1927
- } & {
1928
- error_code: z.ZodLiteral<"duplicate_code_attempt_prevented">;
1929
- }, "strip", z.ZodTypeAny, {
1930
- message: string;
1931
- error_code: "duplicate_code_attempt_prevented";
1932
- is_access_code_error: true;
1933
- created_at?: string | undefined;
1934
- }, {
1935
- message: string;
1936
- error_code: "duplicate_code_attempt_prevented";
1937
- is_access_code_error: true;
1938
- created_at?: string | undefined;
1939
- }>, z.ZodObject<{
1940
- message: z.ZodString;
1941
- is_access_code_error: z.ZodLiteral<true>;
1942
- created_at: z.ZodOptional<z.ZodString>;
1943
1885
  } & {
1944
1886
  error_code: z.ZodLiteral<"no_space_for_access_code_on_device">;
1945
1887
  }, "strip", z.ZodTypeAny, {
@@ -1957,7 +1899,7 @@ declare const unmanaged_access_code: z.ZodObject<{
1957
1899
  is_access_code_error: z.ZodLiteral<true>;
1958
1900
  created_at: z.ZodOptional<z.ZodString>;
1959
1901
  } & {
1960
- error_code: z.ZodLiteral<"code_modified_external_to_seam">;
1902
+ error_code: z.ZodLiteral<"conflicting_external_modification">;
1961
1903
  change_type: z.ZodOptional<z.ZodEnum<["modified", "removed"]>>;
1962
1904
  modified_fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
1963
1905
  field: z.ZodString;
@@ -1974,7 +1916,7 @@ declare const unmanaged_access_code: z.ZodObject<{
1974
1916
  }>, "many">>;
1975
1917
  }, "strip", z.ZodTypeAny, {
1976
1918
  message: string;
1977
- error_code: "code_modified_external_to_seam";
1919
+ error_code: "conflicting_external_modification";
1978
1920
  is_access_code_error: true;
1979
1921
  created_at?: string | undefined;
1980
1922
  change_type?: "modified" | "removed" | undefined;
@@ -1985,7 +1927,7 @@ declare const unmanaged_access_code: z.ZodObject<{
1985
1927
  }[] | undefined;
1986
1928
  }, {
1987
1929
  message: string;
1988
- error_code: "code_modified_external_to_seam";
1930
+ error_code: "conflicting_external_modification";
1989
1931
  is_access_code_error: true;
1990
1932
  created_at?: string | undefined;
1991
1933
  change_type?: "modified" | "removed" | undefined;
@@ -2430,7 +2372,7 @@ declare const unmanaged_access_code: z.ZodObject<{
2430
2372
  message: z.ZodString;
2431
2373
  created_at: z.ZodOptional<z.ZodString>;
2432
2374
  } & {
2433
- warning_code: z.ZodLiteral<"code_modified_external_to_seam">;
2375
+ warning_code: z.ZodLiteral<"external_modification_in_effect">;
2434
2376
  change_type: z.ZodOptional<z.ZodEnum<["modified", "removed"]>>;
2435
2377
  modified_fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
2436
2378
  field: z.ZodString;
@@ -2447,7 +2389,7 @@ declare const unmanaged_access_code: z.ZodObject<{
2447
2389
  }>, "many">>;
2448
2390
  }, "strip", z.ZodTypeAny, {
2449
2391
  message: string;
2450
- warning_code: "code_modified_external_to_seam";
2392
+ warning_code: "external_modification_in_effect";
2451
2393
  created_at?: string | undefined;
2452
2394
  change_type?: "modified" | "removed" | undefined;
2453
2395
  modified_fields?: {
@@ -2457,7 +2399,7 @@ declare const unmanaged_access_code: z.ZodObject<{
2457
2399
  }[] | undefined;
2458
2400
  }, {
2459
2401
  message: string;
2460
- warning_code: "code_modified_external_to_seam";
2402
+ warning_code: "external_modification_in_effect";
2461
2403
  created_at?: string | undefined;
2462
2404
  change_type?: "modified" | "removed" | undefined;
2463
2405
  modified_fields?: {
@@ -2716,7 +2658,7 @@ declare const unmanaged_access_code: z.ZodObject<{
2716
2658
  created_at?: string | undefined;
2717
2659
  } | {
2718
2660
  message: string;
2719
- error_code: "code_modified_external_to_seam";
2661
+ error_code: "conflicting_external_modification";
2720
2662
  is_access_code_error: true;
2721
2663
  created_at?: string | undefined;
2722
2664
  change_type?: "modified" | "removed" | undefined;
@@ -2742,11 +2684,6 @@ declare const unmanaged_access_code: z.ZodObject<{
2742
2684
  created_at?: string | undefined;
2743
2685
  unmanaged_access_code_id?: string | undefined;
2744
2686
  managed_access_code_id?: string | undefined;
2745
- } | {
2746
- message: string;
2747
- error_code: "duplicate_code_attempt_prevented";
2748
- is_access_code_error: true;
2749
- created_at?: string | undefined;
2750
2687
  } | {
2751
2688
  message: string;
2752
2689
  error_code: "no_space_for_access_code_on_device";
@@ -2765,7 +2702,7 @@ declare const unmanaged_access_code: z.ZodObject<{
2765
2702
  })[];
2766
2703
  warnings: ({
2767
2704
  message: string;
2768
- warning_code: "code_modified_external_to_seam";
2705
+ warning_code: "external_modification_in_effect";
2769
2706
  created_at?: string | undefined;
2770
2707
  change_type?: "modified" | "removed" | undefined;
2771
2708
  modified_fields?: {
@@ -2951,7 +2888,7 @@ declare const unmanaged_access_code: z.ZodObject<{
2951
2888
  created_at?: string | undefined;
2952
2889
  } | {
2953
2890
  message: string;
2954
- error_code: "code_modified_external_to_seam";
2891
+ error_code: "conflicting_external_modification";
2955
2892
  is_access_code_error: true;
2956
2893
  created_at?: string | undefined;
2957
2894
  change_type?: "modified" | "removed" | undefined;
@@ -2977,11 +2914,6 @@ declare const unmanaged_access_code: z.ZodObject<{
2977
2914
  created_at?: string | undefined;
2978
2915
  unmanaged_access_code_id?: string | undefined;
2979
2916
  managed_access_code_id?: string | undefined;
2980
- } | {
2981
- message: string;
2982
- error_code: "duplicate_code_attempt_prevented";
2983
- is_access_code_error: true;
2984
- created_at?: string | undefined;
2985
2917
  } | {
2986
2918
  message: string;
2987
2919
  error_code: "no_space_for_access_code_on_device";
@@ -3000,7 +2932,7 @@ declare const unmanaged_access_code: z.ZodObject<{
3000
2932
  })[];
3001
2933
  warnings: ({
3002
2934
  message: string;
3003
- warning_code: "code_modified_external_to_seam";
2935
+ warning_code: "external_modification_in_effect";
3004
2936
  created_at?: string | undefined;
3005
2937
  change_type?: "modified" | "removed" | undefined;
3006
2938
  modified_fields?: {
@@ -31990,15 +31922,6 @@ type Routes = {
31990
31922
  unmanaged_access_code_id?: string | undefined;
31991
31923
  /** ID of the managed access code that conflicts with this managed access code, when Seam can identify it. */
31992
31924
  managed_access_code_id?: string | undefined;
31993
- } | {
31994
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
31995
- message: string;
31996
- /** Indicates that this is an access code error. */
31997
- is_access_code_error: true;
31998
- /** Date and time at which Seam created the error. */
31999
- created_at?: string | undefined;
32000
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
32001
- error_code: 'duplicate_code_attempt_prevented';
32002
31925
  } | {
32003
31926
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
32004
31927
  message: string;
@@ -32016,7 +31939,7 @@ type Routes = {
32016
31939
  /** Date and time at which Seam created the error. */
32017
31940
  created_at?: string | undefined;
32018
31941
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
32019
- error_code: 'code_modified_external_to_seam';
31942
+ error_code: 'conflicting_external_modification';
32020
31943
  /** 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. */
32021
31944
  change_type?: ('modified' | 'removed') | undefined;
32022
31945
  /** List of fields that were changed externally, with their previous and new values. */
@@ -32220,7 +32143,7 @@ type Routes = {
32220
32143
  /** Date and time at which Seam created the warning. */
32221
32144
  created_at?: string | undefined;
32222
32145
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
32223
- warning_code: 'code_modified_external_to_seam';
32146
+ warning_code: 'external_modification_in_effect';
32224
32147
  /** 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. */
32225
32148
  change_type?: ('modified' | 'removed') | undefined;
32226
32149
  /** List of fields that were changed externally, with their previous and new values. */
@@ -32505,15 +32428,6 @@ type Routes = {
32505
32428
  unmanaged_access_code_id?: string | undefined;
32506
32429
  /** ID of the managed access code that conflicts with this managed access code, when Seam can identify it. */
32507
32430
  managed_access_code_id?: string | undefined;
32508
- } | {
32509
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
32510
- message: string;
32511
- /** Indicates that this is an access code error. */
32512
- is_access_code_error: true;
32513
- /** Date and time at which Seam created the error. */
32514
- created_at?: string | undefined;
32515
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
32516
- error_code: 'duplicate_code_attempt_prevented';
32517
32431
  } | {
32518
32432
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
32519
32433
  message: string;
@@ -32531,7 +32445,7 @@ type Routes = {
32531
32445
  /** Date and time at which Seam created the error. */
32532
32446
  created_at?: string | undefined;
32533
32447
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
32534
- error_code: 'code_modified_external_to_seam';
32448
+ error_code: 'conflicting_external_modification';
32535
32449
  /** 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. */
32536
32450
  change_type?: ('modified' | 'removed') | undefined;
32537
32451
  /** List of fields that were changed externally, with their previous and new values. */
@@ -32735,7 +32649,7 @@ type Routes = {
32735
32649
  /** Date and time at which Seam created the warning. */
32736
32650
  created_at?: string | undefined;
32737
32651
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
32738
- warning_code: 'code_modified_external_to_seam';
32652
+ warning_code: 'external_modification_in_effect';
32739
32653
  /** 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. */
32740
32654
  change_type?: ('modified' | 'removed') | undefined;
32741
32655
  /** List of fields that were changed externally, with their previous and new values. */
@@ -34708,15 +34622,6 @@ type Routes = {
34708
34622
  unmanaged_access_code_id?: string | undefined;
34709
34623
  /** ID of the managed access code that conflicts with this managed access code, when Seam can identify it. */
34710
34624
  managed_access_code_id?: string | undefined;
34711
- } | {
34712
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
34713
- message: string;
34714
- /** Indicates that this is an access code error. */
34715
- is_access_code_error: true;
34716
- /** Date and time at which Seam created the error. */
34717
- created_at?: string | undefined;
34718
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
34719
- error_code: 'duplicate_code_attempt_prevented';
34720
34625
  } | {
34721
34626
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
34722
34627
  message: string;
@@ -34734,7 +34639,7 @@ type Routes = {
34734
34639
  /** Date and time at which Seam created the error. */
34735
34640
  created_at?: string | undefined;
34736
34641
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
34737
- error_code: 'code_modified_external_to_seam';
34642
+ error_code: 'conflicting_external_modification';
34738
34643
  /** 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. */
34739
34644
  change_type?: ('modified' | 'removed') | undefined;
34740
34645
  /** List of fields that were changed externally, with their previous and new values. */
@@ -34938,7 +34843,7 @@ type Routes = {
34938
34843
  /** Date and time at which Seam created the warning. */
34939
34844
  created_at?: string | undefined;
34940
34845
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
34941
- warning_code: 'code_modified_external_to_seam';
34846
+ warning_code: 'external_modification_in_effect';
34942
34847
  /** 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. */
34943
34848
  change_type?: ('modified' | 'removed') | undefined;
34944
34849
  /** List of fields that were changed externally, with their previous and new values. */
@@ -35269,15 +35174,6 @@ type Routes = {
35269
35174
  unmanaged_access_code_id?: string | undefined;
35270
35175
  /** ID of the managed access code that conflicts with this managed access code, when Seam can identify it. */
35271
35176
  managed_access_code_id?: string | undefined;
35272
- } | {
35273
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
35274
- message: string;
35275
- /** Indicates that this is an access code error. */
35276
- is_access_code_error: true;
35277
- /** Date and time at which Seam created the error. */
35278
- created_at?: string | undefined;
35279
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
35280
- error_code: 'duplicate_code_attempt_prevented';
35281
35177
  } | {
35282
35178
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
35283
35179
  message: string;
@@ -35295,7 +35191,7 @@ type Routes = {
35295
35191
  /** Date and time at which Seam created the error. */
35296
35192
  created_at?: string | undefined;
35297
35193
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
35298
- error_code: 'code_modified_external_to_seam';
35194
+ error_code: 'conflicting_external_modification';
35299
35195
  /** 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. */
35300
35196
  change_type?: ('modified' | 'removed') | undefined;
35301
35197
  /** List of fields that were changed externally, with their previous and new values. */
@@ -35499,7 +35395,7 @@ type Routes = {
35499
35395
  /** Date and time at which Seam created the warning. */
35500
35396
  created_at?: string | undefined;
35501
35397
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
35502
- warning_code: 'code_modified_external_to_seam';
35398
+ warning_code: 'external_modification_in_effect';
35503
35399
  /** 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. */
35504
35400
  change_type?: ('modified' | 'removed') | undefined;
35505
35401
  /** List of fields that were changed externally, with their previous and new values. */
@@ -35775,15 +35671,6 @@ type Routes = {
35775
35671
  unmanaged_access_code_id?: string | undefined;
35776
35672
  /** ID of the managed access code that conflicts with this managed access code, when Seam can identify it. */
35777
35673
  managed_access_code_id?: string | undefined;
35778
- } | {
35779
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
35780
- message: string;
35781
- /** Indicates that this is an access code error. */
35782
- is_access_code_error: true;
35783
- /** Date and time at which Seam created the error. */
35784
- created_at?: string | undefined;
35785
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
35786
- error_code: 'duplicate_code_attempt_prevented';
35787
35674
  } | {
35788
35675
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
35789
35676
  message: string;
@@ -35801,7 +35688,7 @@ type Routes = {
35801
35688
  /** Date and time at which Seam created the error. */
35802
35689
  created_at?: string | undefined;
35803
35690
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
35804
- error_code: 'code_modified_external_to_seam';
35691
+ error_code: 'conflicting_external_modification';
35805
35692
  /** 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. */
35806
35693
  change_type?: ('modified' | 'removed') | undefined;
35807
35694
  /** List of fields that were changed externally, with their previous and new values. */
@@ -36005,7 +35892,7 @@ type Routes = {
36005
35892
  /** Date and time at which Seam created the warning. */
36006
35893
  created_at?: string | undefined;
36007
35894
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
36008
- warning_code: 'code_modified_external_to_seam';
35895
+ warning_code: 'external_modification_in_effect';
36009
35896
  /** 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. */
36010
35897
  change_type?: ('modified' | 'removed') | undefined;
36011
35898
  /** List of fields that were changed externally, with their previous and new values. */
@@ -36258,15 +36145,6 @@ type Routes = {
36258
36145
  unmanaged_access_code_id?: string | undefined;
36259
36146
  /** ID of the managed access code that conflicts with this managed access code, when Seam can identify it. */
36260
36147
  managed_access_code_id?: string | undefined;
36261
- } | {
36262
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
36263
- message: string;
36264
- /** Indicates that this is an access code error. */
36265
- is_access_code_error: true;
36266
- /** Date and time at which Seam created the error. */
36267
- created_at?: string | undefined;
36268
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
36269
- error_code: 'duplicate_code_attempt_prevented';
36270
36148
  } | {
36271
36149
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
36272
36150
  message: string;
@@ -36284,7 +36162,7 @@ type Routes = {
36284
36162
  /** Date and time at which Seam created the error. */
36285
36163
  created_at?: string | undefined;
36286
36164
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
36287
- error_code: 'code_modified_external_to_seam';
36165
+ error_code: 'conflicting_external_modification';
36288
36166
  /** 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. */
36289
36167
  change_type?: ('modified' | 'removed') | undefined;
36290
36168
  /** List of fields that were changed externally, with their previous and new values. */
@@ -36488,7 +36366,7 @@ type Routes = {
36488
36366
  /** Date and time at which Seam created the warning. */
36489
36367
  created_at?: string | undefined;
36490
36368
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
36491
- warning_code: 'code_modified_external_to_seam';
36369
+ warning_code: 'external_modification_in_effect';
36492
36370
  /** 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. */
36493
36371
  change_type?: ('modified' | 'removed') | undefined;
36494
36372
  /** List of fields that were changed externally, with their previous and new values. */
@@ -36774,15 +36652,6 @@ type Routes = {
36774
36652
  unmanaged_access_code_id?: string | undefined;
36775
36653
  /** ID of the managed access code that conflicts with this managed access code, when Seam can identify it. */
36776
36654
  managed_access_code_id?: string | undefined;
36777
- } | {
36778
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
36779
- message: string;
36780
- /** Indicates that this is an access code error. */
36781
- is_access_code_error: true;
36782
- /** Date and time at which Seam created the error. */
36783
- created_at?: string | undefined;
36784
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
36785
- error_code: 'duplicate_code_attempt_prevented';
36786
36655
  } | {
36787
36656
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
36788
36657
  message: string;
@@ -36800,7 +36669,7 @@ type Routes = {
36800
36669
  /** Date and time at which Seam created the error. */
36801
36670
  created_at?: string | undefined;
36802
36671
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
36803
- error_code: 'code_modified_external_to_seam';
36672
+ error_code: 'conflicting_external_modification';
36804
36673
  /** 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. */
36805
36674
  change_type?: ('modified' | 'removed') | undefined;
36806
36675
  /** List of fields that were changed externally, with their previous and new values. */
@@ -37004,7 +36873,7 @@ type Routes = {
37004
36873
  /** Date and time at which Seam created the warning. */
37005
36874
  created_at?: string | undefined;
37006
36875
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
37007
- warning_code: 'code_modified_external_to_seam';
36876
+ warning_code: 'external_modification_in_effect';
37008
36877
  /** 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. */
37009
36878
  change_type?: ('modified' | 'removed') | undefined;
37010
36879
  /** List of fields that were changed externally, with their previous and new values. */
@@ -38886,15 +38755,6 @@ type Routes = {
38886
38755
  unmanaged_access_code_id?: string | undefined;
38887
38756
  /** ID of the managed access code that conflicts with this managed access code, when Seam can identify it. */
38888
38757
  managed_access_code_id?: string | undefined;
38889
- } | {
38890
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
38891
- message: string;
38892
- /** Indicates that this is an access code error. */
38893
- is_access_code_error: true;
38894
- /** Date and time at which Seam created the error. */
38895
- created_at?: string | undefined;
38896
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
38897
- error_code: 'duplicate_code_attempt_prevented';
38898
38758
  } | {
38899
38759
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
38900
38760
  message: string;
@@ -38912,7 +38772,7 @@ type Routes = {
38912
38772
  /** Date and time at which Seam created the error. */
38913
38773
  created_at?: string | undefined;
38914
38774
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
38915
- error_code: 'code_modified_external_to_seam';
38775
+ error_code: 'conflicting_external_modification';
38916
38776
  /** 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. */
38917
38777
  change_type?: ('modified' | 'removed') | undefined;
38918
38778
  /** List of fields that were changed externally, with their previous and new values. */
@@ -39116,7 +38976,7 @@ type Routes = {
39116
38976
  /** Date and time at which Seam created the warning. */
39117
38977
  created_at?: string | undefined;
39118
38978
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
39119
- warning_code: 'code_modified_external_to_seam';
38979
+ warning_code: 'external_modification_in_effect';
39120
38980
  /** 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. */
39121
38981
  change_type?: ('modified' | 'removed') | undefined;
39122
38982
  /** List of fields that were changed externally, with their previous and new values. */
@@ -39288,15 +39148,6 @@ type Routes = {
39288
39148
  unmanaged_access_code_id?: string | undefined;
39289
39149
  /** ID of the managed access code that conflicts with this managed access code, when Seam can identify it. */
39290
39150
  managed_access_code_id?: string | undefined;
39291
- } | {
39292
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
39293
- message: string;
39294
- /** Indicates that this is an access code error. */
39295
- is_access_code_error: true;
39296
- /** Date and time at which Seam created the error. */
39297
- created_at?: string | undefined;
39298
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39299
- error_code: 'duplicate_code_attempt_prevented';
39300
39151
  } | {
39301
39152
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
39302
39153
  message: string;
@@ -39314,7 +39165,7 @@ type Routes = {
39314
39165
  /** Date and time at which Seam created the error. */
39315
39166
  created_at?: string | undefined;
39316
39167
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39317
- error_code: 'code_modified_external_to_seam';
39168
+ error_code: 'conflicting_external_modification';
39318
39169
  /** 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. */
39319
39170
  change_type?: ('modified' | 'removed') | undefined;
39320
39171
  /** List of fields that were changed externally, with their previous and new values. */
@@ -39518,7 +39369,7 @@ type Routes = {
39518
39369
  /** Date and time at which Seam created the warning. */
39519
39370
  created_at?: string | undefined;
39520
39371
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
39521
- warning_code: 'code_modified_external_to_seam';
39372
+ warning_code: 'external_modification_in_effect';
39522
39373
  /** 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. */
39523
39374
  change_type?: ('modified' | 'removed') | undefined;
39524
39375
  /** List of fields that were changed externally, with their previous and new values. */
@@ -149999,15 +149850,6 @@ type Routes = {
149999
149850
  unmanaged_access_code_id?: string | undefined;
150000
149851
  /** ID of the managed access code that conflicts with this managed access code, when Seam can identify it. */
150001
149852
  managed_access_code_id?: string | undefined;
150002
- } | {
150003
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
150004
- message: string;
150005
- /** Indicates that this is an access code error. */
150006
- is_access_code_error: true;
150007
- /** Date and time at which Seam created the error. */
150008
- created_at?: string | undefined;
150009
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
150010
- error_code: 'duplicate_code_attempt_prevented';
150011
149853
  } | {
150012
149854
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
150013
149855
  message: string;
@@ -150025,7 +149867,7 @@ type Routes = {
150025
149867
  /** Date and time at which Seam created the error. */
150026
149868
  created_at?: string | undefined;
150027
149869
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
150028
- error_code: 'code_modified_external_to_seam';
149870
+ error_code: 'conflicting_external_modification';
150029
149871
  /** 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. */
150030
149872
  change_type?: ('modified' | 'removed') | undefined;
150031
149873
  /** List of fields that were changed externally, with their previous and new values. */
@@ -150229,7 +150071,7 @@ type Routes = {
150229
150071
  /** Date and time at which Seam created the warning. */
150230
150072
  created_at?: string | undefined;
150231
150073
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
150232
- warning_code: 'code_modified_external_to_seam';
150074
+ warning_code: 'external_modification_in_effect';
150233
150075
  /** 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. */
150234
150076
  change_type?: ('modified' | 'removed') | undefined;
150235
150077
  /** List of fields that were changed externally, with their previous and new values. */
@@ -150385,15 +150227,6 @@ type Routes = {
150385
150227
  unmanaged_access_code_id?: string | undefined;
150386
150228
  /** ID of the managed access code that conflicts with this managed access code, when Seam can identify it. */
150387
150229
  managed_access_code_id?: string | undefined;
150388
- } | {
150389
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
150390
- message: string;
150391
- /** Indicates that this is an access code error. */
150392
- is_access_code_error: true;
150393
- /** Date and time at which Seam created the error. */
150394
- created_at?: string | undefined;
150395
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
150396
- error_code: 'duplicate_code_attempt_prevented';
150397
150230
  } | {
150398
150231
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
150399
150232
  message: string;
@@ -150411,7 +150244,7 @@ type Routes = {
150411
150244
  /** Date and time at which Seam created the error. */
150412
150245
  created_at?: string | undefined;
150413
150246
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
150414
- error_code: 'code_modified_external_to_seam';
150247
+ error_code: 'conflicting_external_modification';
150415
150248
  /** 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. */
150416
150249
  change_type?: ('modified' | 'removed') | undefined;
150417
150250
  /** List of fields that were changed externally, with their previous and new values. */
@@ -150615,7 +150448,7 @@ type Routes = {
150615
150448
  /** Date and time at which Seam created the warning. */
150616
150449
  created_at?: string | undefined;
150617
150450
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
150618
- warning_code: 'code_modified_external_to_seam';
150451
+ warning_code: 'external_modification_in_effect';
150619
150452
  /** 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. */
150620
150453
  change_type?: ('modified' | 'removed') | undefined;
150621
150454
  /** List of fields that were changed externally, with their previous and new values. */