@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.
@@ -1644,6 +1644,15 @@ export type Routes = {
1644
1644
  created_at?: string | undefined;
1645
1645
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1646
1646
  error_code: 'no_space_for_access_code_on_device';
1647
+ } | {
1648
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
1649
+ message: string;
1650
+ /** Indicates that this is an access code error. */
1651
+ is_access_code_error: true;
1652
+ /** Date and time at which Seam created the error. */
1653
+ created_at?: string | undefined;
1654
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1655
+ error_code: 'access_code_state_unconfirmed';
1647
1656
  } | {
1648
1657
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
1649
1658
  message: string;
@@ -1671,6 +1680,17 @@ export type Routes = {
1671
1680
  created_at?: string | undefined;
1672
1681
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1673
1682
  error_code: 'code_modified_external_to_seam';
1683
+ /** 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. */
1684
+ change_type?: ('modified' | 'removed') | undefined;
1685
+ /** List of fields that were changed externally, with their previous and new values. */
1686
+ modified_fields?: {
1687
+ /** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
1688
+ field: string;
1689
+ /** The previous value of the field. */
1690
+ from: string | null;
1691
+ /** The new value of the field. */
1692
+ to: string | null;
1693
+ }[] | undefined;
1674
1694
  } | {
1675
1695
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
1676
1696
  message: string;
@@ -1939,6 +1959,17 @@ export type Routes = {
1939
1959
  created_at?: string | undefined;
1940
1960
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
1941
1961
  warning_code: 'code_modified_external_to_seam';
1962
+ /** 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. */
1963
+ change_type?: ('modified' | 'removed') | undefined;
1964
+ /** List of fields that were changed externally, with their previous and new values. */
1965
+ modified_fields?: {
1966
+ /** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
1967
+ field: string;
1968
+ /** The previous value of the field. */
1969
+ from: string | null;
1970
+ /** The new value of the field. */
1971
+ to: string | null;
1972
+ }[] | undefined;
1942
1973
  } | {
1943
1974
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
1944
1975
  message: string;
@@ -1988,6 +2019,13 @@ export type Routes = {
1988
2019
  created_at?: string | undefined;
1989
2020
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
1990
2021
  warning_code: 'kwikset_unable_to_confirm_code';
2022
+ } | {
2023
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
2024
+ message: string;
2025
+ /** Date and time at which Seam created the warning. */
2026
+ created_at?: string | undefined;
2027
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
2028
+ warning_code: 'access_code_inactive';
1991
2029
  } | {
1992
2030
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
1993
2031
  message: string;
@@ -2260,6 +2298,15 @@ export type Routes = {
2260
2298
  created_at?: string | undefined;
2261
2299
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2262
2300
  error_code: 'no_space_for_access_code_on_device';
2301
+ } | {
2302
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
2303
+ message: string;
2304
+ /** Indicates that this is an access code error. */
2305
+ is_access_code_error: true;
2306
+ /** Date and time at which Seam created the error. */
2307
+ created_at?: string | undefined;
2308
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2309
+ error_code: 'access_code_state_unconfirmed';
2263
2310
  } | {
2264
2311
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
2265
2312
  message: string;
@@ -2287,6 +2334,17 @@ export type Routes = {
2287
2334
  created_at?: string | undefined;
2288
2335
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2289
2336
  error_code: 'code_modified_external_to_seam';
2337
+ /** 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. */
2338
+ change_type?: ('modified' | 'removed') | undefined;
2339
+ /** List of fields that were changed externally, with their previous and new values. */
2340
+ modified_fields?: {
2341
+ /** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
2342
+ field: string;
2343
+ /** The previous value of the field. */
2344
+ from: string | null;
2345
+ /** The new value of the field. */
2346
+ to: string | null;
2347
+ }[] | undefined;
2290
2348
  } | {
2291
2349
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
2292
2350
  message: string;
@@ -2555,6 +2613,17 @@ export type Routes = {
2555
2613
  created_at?: string | undefined;
2556
2614
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
2557
2615
  warning_code: 'code_modified_external_to_seam';
2616
+ /** 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. */
2617
+ change_type?: ('modified' | 'removed') | undefined;
2618
+ /** List of fields that were changed externally, with their previous and new values. */
2619
+ modified_fields?: {
2620
+ /** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
2621
+ field: string;
2622
+ /** The previous value of the field. */
2623
+ from: string | null;
2624
+ /** The new value of the field. */
2625
+ to: string | null;
2626
+ }[] | undefined;
2558
2627
  } | {
2559
2628
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
2560
2629
  message: string;
@@ -2604,6 +2673,13 @@ export type Routes = {
2604
2673
  created_at?: string | undefined;
2605
2674
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
2606
2675
  warning_code: 'kwikset_unable_to_confirm_code';
2676
+ } | {
2677
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
2678
+ message: string;
2679
+ /** Date and time at which Seam created the warning. */
2680
+ created_at?: string | undefined;
2681
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
2682
+ warning_code: 'access_code_inactive';
2607
2683
  } | {
2608
2684
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
2609
2685
  message: string;
@@ -4396,6 +4472,15 @@ export type Routes = {
4396
4472
  created_at?: string | undefined;
4397
4473
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4398
4474
  error_code: 'no_space_for_access_code_on_device';
4475
+ } | {
4476
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
4477
+ message: string;
4478
+ /** Indicates that this is an access code error. */
4479
+ is_access_code_error: true;
4480
+ /** Date and time at which Seam created the error. */
4481
+ created_at?: string | undefined;
4482
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4483
+ error_code: 'access_code_state_unconfirmed';
4399
4484
  } | {
4400
4485
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
4401
4486
  message: string;
@@ -4423,6 +4508,17 @@ export type Routes = {
4423
4508
  created_at?: string | undefined;
4424
4509
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4425
4510
  error_code: 'code_modified_external_to_seam';
4511
+ /** 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. */
4512
+ change_type?: ('modified' | 'removed') | undefined;
4513
+ /** List of fields that were changed externally, with their previous and new values. */
4514
+ modified_fields?: {
4515
+ /** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
4516
+ field: string;
4517
+ /** The previous value of the field. */
4518
+ from: string | null;
4519
+ /** The new value of the field. */
4520
+ to: string | null;
4521
+ }[] | undefined;
4426
4522
  } | {
4427
4523
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
4428
4524
  message: string;
@@ -4691,6 +4787,17 @@ export type Routes = {
4691
4787
  created_at?: string | undefined;
4692
4788
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
4693
4789
  warning_code: 'code_modified_external_to_seam';
4790
+ /** 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. */
4791
+ change_type?: ('modified' | 'removed') | undefined;
4792
+ /** List of fields that were changed externally, with their previous and new values. */
4793
+ modified_fields?: {
4794
+ /** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
4795
+ field: string;
4796
+ /** The previous value of the field. */
4797
+ from: string | null;
4798
+ /** The new value of the field. */
4799
+ to: string | null;
4800
+ }[] | undefined;
4694
4801
  } | {
4695
4802
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
4696
4803
  message: string;
@@ -4740,6 +4847,13 @@ export type Routes = {
4740
4847
  created_at?: string | undefined;
4741
4848
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
4742
4849
  warning_code: 'kwikset_unable_to_confirm_code';
4850
+ } | {
4851
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
4852
+ message: string;
4853
+ /** Date and time at which Seam created the warning. */
4854
+ created_at?: string | undefined;
4855
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
4856
+ warning_code: 'access_code_inactive';
4743
4857
  } | {
4744
4858
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
4745
4859
  message: string;
@@ -5058,6 +5172,15 @@ export type Routes = {
5058
5172
  created_at?: string | undefined;
5059
5173
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5060
5174
  error_code: 'no_space_for_access_code_on_device';
5175
+ } | {
5176
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
5177
+ message: string;
5178
+ /** Indicates that this is an access code error. */
5179
+ is_access_code_error: true;
5180
+ /** Date and time at which Seam created the error. */
5181
+ created_at?: string | undefined;
5182
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5183
+ error_code: 'access_code_state_unconfirmed';
5061
5184
  } | {
5062
5185
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
5063
5186
  message: string;
@@ -5085,6 +5208,17 @@ export type Routes = {
5085
5208
  created_at?: string | undefined;
5086
5209
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5087
5210
  error_code: 'code_modified_external_to_seam';
5211
+ /** 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. */
5212
+ change_type?: ('modified' | 'removed') | undefined;
5213
+ /** List of fields that were changed externally, with their previous and new values. */
5214
+ modified_fields?: {
5215
+ /** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
5216
+ field: string;
5217
+ /** The previous value of the field. */
5218
+ from: string | null;
5219
+ /** The new value of the field. */
5220
+ to: string | null;
5221
+ }[] | undefined;
5088
5222
  } | {
5089
5223
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
5090
5224
  message: string;
@@ -5353,6 +5487,17 @@ export type Routes = {
5353
5487
  created_at?: string | undefined;
5354
5488
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
5355
5489
  warning_code: 'code_modified_external_to_seam';
5490
+ /** 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. */
5491
+ change_type?: ('modified' | 'removed') | undefined;
5492
+ /** List of fields that were changed externally, with their previous and new values. */
5493
+ modified_fields?: {
5494
+ /** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
5495
+ field: string;
5496
+ /** The previous value of the field. */
5497
+ from: string | null;
5498
+ /** The new value of the field. */
5499
+ to: string | null;
5500
+ }[] | undefined;
5356
5501
  } | {
5357
5502
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
5358
5503
  message: string;
@@ -5402,6 +5547,13 @@ export type Routes = {
5402
5547
  created_at?: string | undefined;
5403
5548
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
5404
5549
  warning_code: 'kwikset_unable_to_confirm_code';
5550
+ } | {
5551
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
5552
+ message: string;
5553
+ /** Date and time at which Seam created the warning. */
5554
+ created_at?: string | undefined;
5555
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
5556
+ warning_code: 'access_code_inactive';
5405
5557
  } | {
5406
5558
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
5407
5559
  message: string;
@@ -5663,6 +5815,15 @@ export type Routes = {
5663
5815
  created_at?: string | undefined;
5664
5816
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5665
5817
  error_code: 'no_space_for_access_code_on_device';
5818
+ } | {
5819
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
5820
+ message: string;
5821
+ /** Indicates that this is an access code error. */
5822
+ is_access_code_error: true;
5823
+ /** Date and time at which Seam created the error. */
5824
+ created_at?: string | undefined;
5825
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5826
+ error_code: 'access_code_state_unconfirmed';
5666
5827
  } | {
5667
5828
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
5668
5829
  message: string;
@@ -5690,6 +5851,17 @@ export type Routes = {
5690
5851
  created_at?: string | undefined;
5691
5852
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5692
5853
  error_code: 'code_modified_external_to_seam';
5854
+ /** 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. */
5855
+ change_type?: ('modified' | 'removed') | undefined;
5856
+ /** List of fields that were changed externally, with their previous and new values. */
5857
+ modified_fields?: {
5858
+ /** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
5859
+ field: string;
5860
+ /** The previous value of the field. */
5861
+ from: string | null;
5862
+ /** The new value of the field. */
5863
+ to: string | null;
5864
+ }[] | undefined;
5693
5865
  } | {
5694
5866
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
5695
5867
  message: string;
@@ -5958,6 +6130,17 @@ export type Routes = {
5958
6130
  created_at?: string | undefined;
5959
6131
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
5960
6132
  warning_code: 'code_modified_external_to_seam';
6133
+ /** 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. */
6134
+ change_type?: ('modified' | 'removed') | undefined;
6135
+ /** List of fields that were changed externally, with their previous and new values. */
6136
+ modified_fields?: {
6137
+ /** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
6138
+ field: string;
6139
+ /** The previous value of the field. */
6140
+ from: string | null;
6141
+ /** The new value of the field. */
6142
+ to: string | null;
6143
+ }[] | undefined;
5961
6144
  } | {
5962
6145
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
5963
6146
  message: string;
@@ -6007,6 +6190,13 @@ export type Routes = {
6007
6190
  created_at?: string | undefined;
6008
6191
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
6009
6192
  warning_code: 'kwikset_unable_to_confirm_code';
6193
+ } | {
6194
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
6195
+ message: string;
6196
+ /** Date and time at which Seam created the warning. */
6197
+ created_at?: string | undefined;
6198
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
6199
+ warning_code: 'access_code_inactive';
6010
6200
  } | {
6011
6201
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
6012
6202
  message: string;
@@ -6245,6 +6435,15 @@ export type Routes = {
6245
6435
  created_at?: string | undefined;
6246
6436
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
6247
6437
  error_code: 'no_space_for_access_code_on_device';
6438
+ } | {
6439
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
6440
+ message: string;
6441
+ /** Indicates that this is an access code error. */
6442
+ is_access_code_error: true;
6443
+ /** Date and time at which Seam created the error. */
6444
+ created_at?: string | undefined;
6445
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
6446
+ error_code: 'access_code_state_unconfirmed';
6248
6447
  } | {
6249
6448
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
6250
6449
  message: string;
@@ -6272,6 +6471,17 @@ export type Routes = {
6272
6471
  created_at?: string | undefined;
6273
6472
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
6274
6473
  error_code: 'code_modified_external_to_seam';
6474
+ /** 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. */
6475
+ change_type?: ('modified' | 'removed') | undefined;
6476
+ /** List of fields that were changed externally, with their previous and new values. */
6477
+ modified_fields?: {
6478
+ /** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
6479
+ field: string;
6480
+ /** The previous value of the field. */
6481
+ from: string | null;
6482
+ /** The new value of the field. */
6483
+ to: string | null;
6484
+ }[] | undefined;
6275
6485
  } | {
6276
6486
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
6277
6487
  message: string;
@@ -6540,6 +6750,17 @@ export type Routes = {
6540
6750
  created_at?: string | undefined;
6541
6751
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
6542
6752
  warning_code: 'code_modified_external_to_seam';
6753
+ /** 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. */
6754
+ change_type?: ('modified' | 'removed') | undefined;
6755
+ /** List of fields that were changed externally, with their previous and new values. */
6756
+ modified_fields?: {
6757
+ /** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
6758
+ field: string;
6759
+ /** The previous value of the field. */
6760
+ from: string | null;
6761
+ /** The new value of the field. */
6762
+ to: string | null;
6763
+ }[] | undefined;
6543
6764
  } | {
6544
6765
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
6545
6766
  message: string;
@@ -6589,6 +6810,13 @@ export type Routes = {
6589
6810
  created_at?: string | undefined;
6590
6811
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
6591
6812
  warning_code: 'kwikset_unable_to_confirm_code';
6813
+ } | {
6814
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
6815
+ message: string;
6816
+ /** Date and time at which Seam created the warning. */
6817
+ created_at?: string | undefined;
6818
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
6819
+ warning_code: 'access_code_inactive';
6592
6820
  } | {
6593
6821
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
6594
6822
  message: string;
@@ -6862,6 +7090,15 @@ export type Routes = {
6862
7090
  created_at?: string | undefined;
6863
7091
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
6864
7092
  error_code: 'no_space_for_access_code_on_device';
7093
+ } | {
7094
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
7095
+ message: string;
7096
+ /** Indicates that this is an access code error. */
7097
+ is_access_code_error: true;
7098
+ /** Date and time at which Seam created the error. */
7099
+ created_at?: string | undefined;
7100
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
7101
+ error_code: 'access_code_state_unconfirmed';
6865
7102
  } | {
6866
7103
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
6867
7104
  message: string;
@@ -6889,6 +7126,17 @@ export type Routes = {
6889
7126
  created_at?: string | undefined;
6890
7127
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
6891
7128
  error_code: 'code_modified_external_to_seam';
7129
+ /** 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. */
7130
+ change_type?: ('modified' | 'removed') | undefined;
7131
+ /** List of fields that were changed externally, with their previous and new values. */
7132
+ modified_fields?: {
7133
+ /** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
7134
+ field: string;
7135
+ /** The previous value of the field. */
7136
+ from: string | null;
7137
+ /** The new value of the field. */
7138
+ to: string | null;
7139
+ }[] | undefined;
6892
7140
  } | {
6893
7141
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
6894
7142
  message: string;
@@ -7157,6 +7405,17 @@ export type Routes = {
7157
7405
  created_at?: string | undefined;
7158
7406
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
7159
7407
  warning_code: 'code_modified_external_to_seam';
7408
+ /** 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. */
7409
+ change_type?: ('modified' | 'removed') | undefined;
7410
+ /** List of fields that were changed externally, with their previous and new values. */
7411
+ modified_fields?: {
7412
+ /** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
7413
+ field: string;
7414
+ /** The previous value of the field. */
7415
+ from: string | null;
7416
+ /** The new value of the field. */
7417
+ to: string | null;
7418
+ }[] | undefined;
7160
7419
  } | {
7161
7420
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
7162
7421
  message: string;
@@ -7206,6 +7465,13 @@ export type Routes = {
7206
7465
  created_at?: string | undefined;
7207
7466
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
7208
7467
  warning_code: 'kwikset_unable_to_confirm_code';
7468
+ } | {
7469
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
7470
+ message: string;
7471
+ /** Date and time at which Seam created the warning. */
7472
+ created_at?: string | undefined;
7473
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
7474
+ warning_code: 'access_code_inactive';
7209
7475
  } | {
7210
7476
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
7211
7477
  message: string;
@@ -8909,6 +9175,15 @@ export type Routes = {
8909
9175
  created_at?: string | undefined;
8910
9176
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
8911
9177
  error_code: 'no_space_for_access_code_on_device';
9178
+ } | {
9179
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
9180
+ message: string;
9181
+ /** Indicates that this is an access code error. */
9182
+ is_access_code_error: true;
9183
+ /** Date and time at which Seam created the error. */
9184
+ created_at?: string | undefined;
9185
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
9186
+ error_code: 'access_code_state_unconfirmed';
8912
9187
  } | {
8913
9188
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
8914
9189
  message: string;
@@ -8936,6 +9211,17 @@ export type Routes = {
8936
9211
  created_at?: string | undefined;
8937
9212
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
8938
9213
  error_code: 'code_modified_external_to_seam';
9214
+ /** 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. */
9215
+ change_type?: ('modified' | 'removed') | undefined;
9216
+ /** List of fields that were changed externally, with their previous and new values. */
9217
+ modified_fields?: {
9218
+ /** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
9219
+ field: string;
9220
+ /** The previous value of the field. */
9221
+ from: string | null;
9222
+ /** The new value of the field. */
9223
+ to: string | null;
9224
+ }[] | undefined;
8939
9225
  } | {
8940
9226
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
8941
9227
  message: string;
@@ -9204,6 +9490,17 @@ export type Routes = {
9204
9490
  created_at?: string | undefined;
9205
9491
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
9206
9492
  warning_code: 'code_modified_external_to_seam';
9493
+ /** 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. */
9494
+ change_type?: ('modified' | 'removed') | undefined;
9495
+ /** List of fields that were changed externally, with their previous and new values. */
9496
+ modified_fields?: {
9497
+ /** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
9498
+ field: string;
9499
+ /** The previous value of the field. */
9500
+ from: string | null;
9501
+ /** The new value of the field. */
9502
+ to: string | null;
9503
+ }[] | undefined;
9207
9504
  } | {
9208
9505
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
9209
9506
  message: string;
@@ -9253,6 +9550,13 @@ export type Routes = {
9253
9550
  created_at?: string | undefined;
9254
9551
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
9255
9552
  warning_code: 'kwikset_unable_to_confirm_code';
9553
+ } | {
9554
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
9555
+ message: string;
9556
+ /** Date and time at which Seam created the warning. */
9557
+ created_at?: string | undefined;
9558
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
9559
+ warning_code: 'access_code_inactive';
9256
9560
  } | {
9257
9561
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
9258
9562
  message: string;
@@ -9412,6 +9716,15 @@ export type Routes = {
9412
9716
  created_at?: string | undefined;
9413
9717
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
9414
9718
  error_code: 'no_space_for_access_code_on_device';
9719
+ } | {
9720
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
9721
+ message: string;
9722
+ /** Indicates that this is an access code error. */
9723
+ is_access_code_error: true;
9724
+ /** Date and time at which Seam created the error. */
9725
+ created_at?: string | undefined;
9726
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
9727
+ error_code: 'access_code_state_unconfirmed';
9415
9728
  } | {
9416
9729
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
9417
9730
  message: string;
@@ -9439,6 +9752,17 @@ export type Routes = {
9439
9752
  created_at?: string | undefined;
9440
9753
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
9441
9754
  error_code: 'code_modified_external_to_seam';
9755
+ /** 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. */
9756
+ change_type?: ('modified' | 'removed') | undefined;
9757
+ /** List of fields that were changed externally, with their previous and new values. */
9758
+ modified_fields?: {
9759
+ /** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
9760
+ field: string;
9761
+ /** The previous value of the field. */
9762
+ from: string | null;
9763
+ /** The new value of the field. */
9764
+ to: string | null;
9765
+ }[] | undefined;
9442
9766
  } | {
9443
9767
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
9444
9768
  message: string;
@@ -9707,6 +10031,17 @@ export type Routes = {
9707
10031
  created_at?: string | undefined;
9708
10032
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
9709
10033
  warning_code: 'code_modified_external_to_seam';
10034
+ /** 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. */
10035
+ change_type?: ('modified' | 'removed') | undefined;
10036
+ /** List of fields that were changed externally, with their previous and new values. */
10037
+ modified_fields?: {
10038
+ /** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
10039
+ field: string;
10040
+ /** The previous value of the field. */
10041
+ from: string | null;
10042
+ /** The new value of the field. */
10043
+ to: string | null;
10044
+ }[] | undefined;
9710
10045
  } | {
9711
10046
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
9712
10047
  message: string;
@@ -9756,6 +10091,13 @@ export type Routes = {
9756
10091
  created_at?: string | undefined;
9757
10092
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
9758
10093
  warning_code: 'kwikset_unable_to_confirm_code';
10094
+ } | {
10095
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
10096
+ message: string;
10097
+ /** Date and time at which Seam created the warning. */
10098
+ created_at?: string | undefined;
10099
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
10100
+ warning_code: 'access_code_inactive';
9759
10101
  } | {
9760
10102
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
9761
10103
  message: string;
@@ -107309,6 +107651,15 @@ export type Routes = {
107309
107651
  created_at?: string | undefined;
107310
107652
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
107311
107653
  error_code: 'no_space_for_access_code_on_device';
107654
+ } | {
107655
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
107656
+ message: string;
107657
+ /** Indicates that this is an access code error. */
107658
+ is_access_code_error: true;
107659
+ /** Date and time at which Seam created the error. */
107660
+ created_at?: string | undefined;
107661
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
107662
+ error_code: 'access_code_state_unconfirmed';
107312
107663
  } | {
107313
107664
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
107314
107665
  message: string;
@@ -107336,6 +107687,17 @@ export type Routes = {
107336
107687
  created_at?: string | undefined;
107337
107688
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
107338
107689
  error_code: 'code_modified_external_to_seam';
107690
+ /** 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. */
107691
+ change_type?: ('modified' | 'removed') | undefined;
107692
+ /** List of fields that were changed externally, with their previous and new values. */
107693
+ modified_fields?: {
107694
+ /** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
107695
+ field: string;
107696
+ /** The previous value of the field. */
107697
+ from: string | null;
107698
+ /** The new value of the field. */
107699
+ to: string | null;
107700
+ }[] | undefined;
107339
107701
  } | {
107340
107702
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
107341
107703
  message: string;
@@ -107604,6 +107966,17 @@ export type Routes = {
107604
107966
  created_at?: string | undefined;
107605
107967
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
107606
107968
  warning_code: 'code_modified_external_to_seam';
107969
+ /** 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. */
107970
+ change_type?: ('modified' | 'removed') | undefined;
107971
+ /** List of fields that were changed externally, with their previous and new values. */
107972
+ modified_fields?: {
107973
+ /** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
107974
+ field: string;
107975
+ /** The previous value of the field. */
107976
+ from: string | null;
107977
+ /** The new value of the field. */
107978
+ to: string | null;
107979
+ }[] | undefined;
107607
107980
  } | {
107608
107981
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
107609
107982
  message: string;
@@ -107653,6 +108026,13 @@ export type Routes = {
107653
108026
  created_at?: string | undefined;
107654
108027
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
107655
108028
  warning_code: 'kwikset_unable_to_confirm_code';
108029
+ } | {
108030
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
108031
+ message: string;
108032
+ /** Date and time at which Seam created the warning. */
108033
+ created_at?: string | undefined;
108034
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
108035
+ warning_code: 'access_code_inactive';
107656
108036
  } | {
107657
108037
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
107658
108038
  message: string;
@@ -107796,6 +108176,15 @@ export type Routes = {
107796
108176
  created_at?: string | undefined;
107797
108177
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
107798
108178
  error_code: 'no_space_for_access_code_on_device';
108179
+ } | {
108180
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
108181
+ message: string;
108182
+ /** Indicates that this is an access code error. */
108183
+ is_access_code_error: true;
108184
+ /** Date and time at which Seam created the error. */
108185
+ created_at?: string | undefined;
108186
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
108187
+ error_code: 'access_code_state_unconfirmed';
107799
108188
  } | {
107800
108189
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
107801
108190
  message: string;
@@ -107823,6 +108212,17 @@ export type Routes = {
107823
108212
  created_at?: string | undefined;
107824
108213
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
107825
108214
  error_code: 'code_modified_external_to_seam';
108215
+ /** 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. */
108216
+ change_type?: ('modified' | 'removed') | undefined;
108217
+ /** List of fields that were changed externally, with their previous and new values. */
108218
+ modified_fields?: {
108219
+ /** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
108220
+ field: string;
108221
+ /** The previous value of the field. */
108222
+ from: string | null;
108223
+ /** The new value of the field. */
108224
+ to: string | null;
108225
+ }[] | undefined;
107826
108226
  } | {
107827
108227
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
107828
108228
  message: string;
@@ -108091,6 +108491,17 @@ export type Routes = {
108091
108491
  created_at?: string | undefined;
108092
108492
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
108093
108493
  warning_code: 'code_modified_external_to_seam';
108494
+ /** 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. */
108495
+ change_type?: ('modified' | 'removed') | undefined;
108496
+ /** List of fields that were changed externally, with their previous and new values. */
108497
+ modified_fields?: {
108498
+ /** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
108499
+ field: string;
108500
+ /** The previous value of the field. */
108501
+ from: string | null;
108502
+ /** The new value of the field. */
108503
+ to: string | null;
108504
+ }[] | undefined;
108094
108505
  } | {
108095
108506
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
108096
108507
  message: string;
@@ -108140,6 +108551,13 @@ export type Routes = {
108140
108551
  created_at?: string | undefined;
108141
108552
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
108142
108553
  warning_code: 'kwikset_unable_to_confirm_code';
108554
+ } | {
108555
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
108556
+ message: string;
108557
+ /** Date and time at which Seam created the warning. */
108558
+ created_at?: string | undefined;
108559
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
108560
+ warning_code: 'access_code_inactive';
108143
108561
  } | {
108144
108562
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
108145
108563
  message: string;