@seamapi/types 1.870.0 → 1.872.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1830,6 +1830,16 @@ export type Routes = {
1830
1830
  created_at: string
1831
1831
  /** Errors associated with the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
1832
1832
  errors: (
1833
+ | {
1834
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
1835
+ message: string
1836
+ /** Indicates that this is an access code error. */
1837
+ is_access_code_error: true
1838
+ /** Date and time at which Seam created the error. */
1839
+ created_at?: string | undefined
1840
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1841
+ error_code: 'provider_issue'
1842
+ }
1833
1843
  | {
1834
1844
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
1835
1845
  message: string
@@ -1943,6 +1953,19 @@ export type Routes = {
1943
1953
  created_at?: string | undefined
1944
1954
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1945
1955
  error_code: 'code_modified_external_to_seam'
1956
+ /** 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. */
1957
+ change_type?: ('modified' | 'removed') | undefined
1958
+ /** List of fields that were changed externally, with their previous and new values. */
1959
+ modified_fields?:
1960
+ | {
1961
+ /** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
1962
+ field: string
1963
+ /** The previous value of the field. */
1964
+ from: string | null
1965
+ /** The new value of the field. */
1966
+ to: string | null
1967
+ }[]
1968
+ | undefined
1946
1969
  }
1947
1970
  | {
1948
1971
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
@@ -1974,6 +1997,16 @@ export type Routes = {
1974
1997
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1975
1998
  error_code: 'august_lock_temporarily_offline'
1976
1999
  }
2000
+ | {
2001
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
2002
+ message: string
2003
+ /** Indicates that this is an access code error. */
2004
+ is_access_code_error: true
2005
+ /** Date and time at which Seam created the error. */
2006
+ created_at?: string | undefined
2007
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2008
+ error_code: 'access_code_inactive'
2009
+ }
1977
2010
  | {
1978
2011
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
1979
2012
  message: string
@@ -2203,6 +2236,14 @@ export type Routes = {
2203
2236
  )[]
2204
2237
  /** Warnings associated with the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
2205
2238
  warnings: (
2239
+ | {
2240
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
2241
+ message: string
2242
+ /** Date and time at which Seam created the warning. */
2243
+ created_at?: string | undefined
2244
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
2245
+ warning_code: 'provider_issue'
2246
+ }
2206
2247
  | {
2207
2248
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
2208
2249
  message: string
@@ -2242,6 +2283,19 @@ export type Routes = {
2242
2283
  created_at?: string | undefined
2243
2284
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
2244
2285
  warning_code: 'code_modified_external_to_seam'
2286
+ /** 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. */
2287
+ change_type?: ('modified' | 'removed') | undefined
2288
+ /** List of fields that were changed externally, with their previous and new values. */
2289
+ modified_fields?:
2290
+ | {
2291
+ /** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
2292
+ field: string
2293
+ /** The previous value of the field. */
2294
+ from: string | null
2295
+ /** The new value of the field. */
2296
+ to: string | null
2297
+ }[]
2298
+ | undefined
2245
2299
  }
2246
2300
  | {
2247
2301
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
@@ -2525,6 +2579,16 @@ export type Routes = {
2525
2579
  created_at: string
2526
2580
  /** Errors associated with the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
2527
2581
  errors: (
2582
+ | {
2583
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
2584
+ message: string
2585
+ /** Indicates that this is an access code error. */
2586
+ is_access_code_error: true
2587
+ /** Date and time at which Seam created the error. */
2588
+ created_at?: string | undefined
2589
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2590
+ error_code: 'provider_issue'
2591
+ }
2528
2592
  | {
2529
2593
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
2530
2594
  message: string
@@ -2638,6 +2702,19 @@ export type Routes = {
2638
2702
  created_at?: string | undefined
2639
2703
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2640
2704
  error_code: 'code_modified_external_to_seam'
2705
+ /** 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. */
2706
+ change_type?: ('modified' | 'removed') | undefined
2707
+ /** List of fields that were changed externally, with their previous and new values. */
2708
+ modified_fields?:
2709
+ | {
2710
+ /** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
2711
+ field: string
2712
+ /** The previous value of the field. */
2713
+ from: string | null
2714
+ /** The new value of the field. */
2715
+ to: string | null
2716
+ }[]
2717
+ | undefined
2641
2718
  }
2642
2719
  | {
2643
2720
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
@@ -2669,6 +2746,16 @@ export type Routes = {
2669
2746
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2670
2747
  error_code: 'august_lock_temporarily_offline'
2671
2748
  }
2749
+ | {
2750
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
2751
+ message: string
2752
+ /** Indicates that this is an access code error. */
2753
+ is_access_code_error: true
2754
+ /** Date and time at which Seam created the error. */
2755
+ created_at?: string | undefined
2756
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2757
+ error_code: 'access_code_inactive'
2758
+ }
2672
2759
  | {
2673
2760
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
2674
2761
  message: string
@@ -2898,6 +2985,14 @@ export type Routes = {
2898
2985
  )[]
2899
2986
  /** Warnings associated with the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
2900
2987
  warnings: (
2988
+ | {
2989
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
2990
+ message: string
2991
+ /** Date and time at which Seam created the warning. */
2992
+ created_at?: string | undefined
2993
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
2994
+ warning_code: 'provider_issue'
2995
+ }
2901
2996
  | {
2902
2997
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
2903
2998
  message: string
@@ -2937,6 +3032,19 @@ export type Routes = {
2937
3032
  created_at?: string | undefined
2938
3033
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
2939
3034
  warning_code: 'code_modified_external_to_seam'
3035
+ /** 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. */
3036
+ change_type?: ('modified' | 'removed') | undefined
3037
+ /** List of fields that were changed externally, with their previous and new values. */
3038
+ modified_fields?:
3039
+ | {
3040
+ /** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
3041
+ field: string
3042
+ /** The previous value of the field. */
3043
+ from: string | null
3044
+ /** The new value of the field. */
3045
+ to: string | null
3046
+ }[]
3047
+ | undefined
2940
3048
  }
2941
3049
  | {
2942
3050
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
@@ -4992,6 +5100,16 @@ export type Routes = {
4992
5100
  created_at: string
4993
5101
  /** Errors associated with the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
4994
5102
  errors: (
5103
+ | {
5104
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
5105
+ message: string
5106
+ /** Indicates that this is an access code error. */
5107
+ is_access_code_error: true
5108
+ /** Date and time at which Seam created the error. */
5109
+ created_at?: string | undefined
5110
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5111
+ error_code: 'provider_issue'
5112
+ }
4995
5113
  | {
4996
5114
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
4997
5115
  message: string
@@ -5105,6 +5223,19 @@ export type Routes = {
5105
5223
  created_at?: string | undefined
5106
5224
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5107
5225
  error_code: 'code_modified_external_to_seam'
5226
+ /** 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. */
5227
+ change_type?: ('modified' | 'removed') | undefined
5228
+ /** List of fields that were changed externally, with their previous and new values. */
5229
+ modified_fields?:
5230
+ | {
5231
+ /** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
5232
+ field: string
5233
+ /** The previous value of the field. */
5234
+ from: string | null
5235
+ /** The new value of the field. */
5236
+ to: string | null
5237
+ }[]
5238
+ | undefined
5108
5239
  }
5109
5240
  | {
5110
5241
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
@@ -5136,6 +5267,16 @@ export type Routes = {
5136
5267
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5137
5268
  error_code: 'august_lock_temporarily_offline'
5138
5269
  }
5270
+ | {
5271
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
5272
+ message: string
5273
+ /** Indicates that this is an access code error. */
5274
+ is_access_code_error: true
5275
+ /** Date and time at which Seam created the error. */
5276
+ created_at?: string | undefined
5277
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5278
+ error_code: 'access_code_inactive'
5279
+ }
5139
5280
  | {
5140
5281
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
5141
5282
  message: string
@@ -5365,6 +5506,14 @@ export type Routes = {
5365
5506
  )[]
5366
5507
  /** Warnings associated with the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
5367
5508
  warnings: (
5509
+ | {
5510
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
5511
+ message: string
5512
+ /** Date and time at which Seam created the warning. */
5513
+ created_at?: string | undefined
5514
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
5515
+ warning_code: 'provider_issue'
5516
+ }
5368
5517
  | {
5369
5518
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
5370
5519
  message: string
@@ -5404,6 +5553,19 @@ export type Routes = {
5404
5553
  created_at?: string | undefined
5405
5554
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
5406
5555
  warning_code: 'code_modified_external_to_seam'
5556
+ /** 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. */
5557
+ change_type?: ('modified' | 'removed') | undefined
5558
+ /** List of fields that were changed externally, with their previous and new values. */
5559
+ modified_fields?:
5560
+ | {
5561
+ /** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
5562
+ field: string
5563
+ /** The previous value of the field. */
5564
+ from: string | null
5565
+ /** The new value of the field. */
5566
+ to: string | null
5567
+ }[]
5568
+ | undefined
5407
5569
  }
5408
5570
  | {
5409
5571
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
@@ -5774,6 +5936,16 @@ export type Routes = {
5774
5936
  created_at: string
5775
5937
  /** Errors associated with the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
5776
5938
  errors: (
5939
+ | {
5940
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
5941
+ message: string
5942
+ /** Indicates that this is an access code error. */
5943
+ is_access_code_error: true
5944
+ /** Date and time at which Seam created the error. */
5945
+ created_at?: string | undefined
5946
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5947
+ error_code: 'provider_issue'
5948
+ }
5777
5949
  | {
5778
5950
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
5779
5951
  message: string
@@ -5887,6 +6059,19 @@ export type Routes = {
5887
6059
  created_at?: string | undefined
5888
6060
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5889
6061
  error_code: 'code_modified_external_to_seam'
6062
+ /** 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. */
6063
+ change_type?: ('modified' | 'removed') | undefined
6064
+ /** List of fields that were changed externally, with their previous and new values. */
6065
+ modified_fields?:
6066
+ | {
6067
+ /** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
6068
+ field: string
6069
+ /** The previous value of the field. */
6070
+ from: string | null
6071
+ /** The new value of the field. */
6072
+ to: string | null
6073
+ }[]
6074
+ | undefined
5890
6075
  }
5891
6076
  | {
5892
6077
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
@@ -5918,6 +6103,16 @@ export type Routes = {
5918
6103
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5919
6104
  error_code: 'august_lock_temporarily_offline'
5920
6105
  }
6106
+ | {
6107
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
6108
+ message: string
6109
+ /** Indicates that this is an access code error. */
6110
+ is_access_code_error: true
6111
+ /** Date and time at which Seam created the error. */
6112
+ created_at?: string | undefined
6113
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
6114
+ error_code: 'access_code_inactive'
6115
+ }
5921
6116
  | {
5922
6117
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
5923
6118
  message: string
@@ -6147,6 +6342,14 @@ export type Routes = {
6147
6342
  )[]
6148
6343
  /** Warnings associated with the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
6149
6344
  warnings: (
6345
+ | {
6346
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
6347
+ message: string
6348
+ /** Date and time at which Seam created the warning. */
6349
+ created_at?: string | undefined
6350
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
6351
+ warning_code: 'provider_issue'
6352
+ }
6150
6353
  | {
6151
6354
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
6152
6355
  message: string
@@ -6186,6 +6389,19 @@ export type Routes = {
6186
6389
  created_at?: string | undefined
6187
6390
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
6188
6391
  warning_code: 'code_modified_external_to_seam'
6392
+ /** 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. */
6393
+ change_type?: ('modified' | 'removed') | undefined
6394
+ /** List of fields that were changed externally, with their previous and new values. */
6395
+ modified_fields?:
6396
+ | {
6397
+ /** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
6398
+ field: string
6399
+ /** The previous value of the field. */
6400
+ from: string | null
6401
+ /** The new value of the field. */
6402
+ to: string | null
6403
+ }[]
6404
+ | undefined
6189
6405
  }
6190
6406
  | {
6191
6407
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
@@ -6458,6 +6674,16 @@ export type Routes = {
6458
6674
  created_at: string
6459
6675
  /** Errors associated with the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
6460
6676
  errors: (
6677
+ | {
6678
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
6679
+ message: string
6680
+ /** Indicates that this is an access code error. */
6681
+ is_access_code_error: true
6682
+ /** Date and time at which Seam created the error. */
6683
+ created_at?: string | undefined
6684
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
6685
+ error_code: 'provider_issue'
6686
+ }
6461
6687
  | {
6462
6688
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
6463
6689
  message: string
@@ -6571,6 +6797,19 @@ export type Routes = {
6571
6797
  created_at?: string | undefined
6572
6798
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
6573
6799
  error_code: 'code_modified_external_to_seam'
6800
+ /** 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. */
6801
+ change_type?: ('modified' | 'removed') | undefined
6802
+ /** List of fields that were changed externally, with their previous and new values. */
6803
+ modified_fields?:
6804
+ | {
6805
+ /** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
6806
+ field: string
6807
+ /** The previous value of the field. */
6808
+ from: string | null
6809
+ /** The new value of the field. */
6810
+ to: string | null
6811
+ }[]
6812
+ | undefined
6574
6813
  }
6575
6814
  | {
6576
6815
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
@@ -6602,6 +6841,16 @@ export type Routes = {
6602
6841
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
6603
6842
  error_code: 'august_lock_temporarily_offline'
6604
6843
  }
6844
+ | {
6845
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
6846
+ message: string
6847
+ /** Indicates that this is an access code error. */
6848
+ is_access_code_error: true
6849
+ /** Date and time at which Seam created the error. */
6850
+ created_at?: string | undefined
6851
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
6852
+ error_code: 'access_code_inactive'
6853
+ }
6605
6854
  | {
6606
6855
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
6607
6856
  message: string
@@ -6831,6 +7080,14 @@ export type Routes = {
6831
7080
  )[]
6832
7081
  /** Warnings associated with the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
6833
7082
  warnings: (
7083
+ | {
7084
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
7085
+ message: string
7086
+ /** Date and time at which Seam created the warning. */
7087
+ created_at?: string | undefined
7088
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
7089
+ warning_code: 'provider_issue'
7090
+ }
6834
7091
  | {
6835
7092
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
6836
7093
  message: string
@@ -6870,6 +7127,19 @@ export type Routes = {
6870
7127
  created_at?: string | undefined
6871
7128
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
6872
7129
  warning_code: 'code_modified_external_to_seam'
7130
+ /** 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. */
7131
+ change_type?: ('modified' | 'removed') | undefined
7132
+ /** List of fields that were changed externally, with their previous and new values. */
7133
+ modified_fields?:
7134
+ | {
7135
+ /** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
7136
+ field: string
7137
+ /** The previous value of the field. */
7138
+ from: string | null
7139
+ /** The new value of the field. */
7140
+ to: string | null
7141
+ }[]
7142
+ | undefined
6873
7143
  }
6874
7144
  | {
6875
7145
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
@@ -7119,6 +7389,16 @@ export type Routes = {
7119
7389
  created_at: string
7120
7390
  /** Errors associated with the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
7121
7391
  errors: (
7392
+ | {
7393
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
7394
+ message: string
7395
+ /** Indicates that this is an access code error. */
7396
+ is_access_code_error: true
7397
+ /** Date and time at which Seam created the error. */
7398
+ created_at?: string | undefined
7399
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
7400
+ error_code: 'provider_issue'
7401
+ }
7122
7402
  | {
7123
7403
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
7124
7404
  message: string
@@ -7232,6 +7512,19 @@ export type Routes = {
7232
7512
  created_at?: string | undefined
7233
7513
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
7234
7514
  error_code: 'code_modified_external_to_seam'
7515
+ /** 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. */
7516
+ change_type?: ('modified' | 'removed') | undefined
7517
+ /** List of fields that were changed externally, with their previous and new values. */
7518
+ modified_fields?:
7519
+ | {
7520
+ /** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
7521
+ field: string
7522
+ /** The previous value of the field. */
7523
+ from: string | null
7524
+ /** The new value of the field. */
7525
+ to: string | null
7526
+ }[]
7527
+ | undefined
7235
7528
  }
7236
7529
  | {
7237
7530
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
@@ -7263,6 +7556,16 @@ export type Routes = {
7263
7556
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
7264
7557
  error_code: 'august_lock_temporarily_offline'
7265
7558
  }
7559
+ | {
7560
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
7561
+ message: string
7562
+ /** Indicates that this is an access code error. */
7563
+ is_access_code_error: true
7564
+ /** Date and time at which Seam created the error. */
7565
+ created_at?: string | undefined
7566
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
7567
+ error_code: 'access_code_inactive'
7568
+ }
7266
7569
  | {
7267
7570
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
7268
7571
  message: string
@@ -7492,6 +7795,14 @@ export type Routes = {
7492
7795
  )[]
7493
7796
  /** Warnings associated with the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
7494
7797
  warnings: (
7798
+ | {
7799
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
7800
+ message: string
7801
+ /** Date and time at which Seam created the warning. */
7802
+ created_at?: string | undefined
7803
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
7804
+ warning_code: 'provider_issue'
7805
+ }
7495
7806
  | {
7496
7807
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
7497
7808
  message: string
@@ -7531,6 +7842,19 @@ export type Routes = {
7531
7842
  created_at?: string | undefined
7532
7843
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
7533
7844
  warning_code: 'code_modified_external_to_seam'
7845
+ /** 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. */
7846
+ change_type?: ('modified' | 'removed') | undefined
7847
+ /** List of fields that were changed externally, with their previous and new values. */
7848
+ modified_fields?:
7849
+ | {
7850
+ /** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
7851
+ field: string
7852
+ /** The previous value of the field. */
7853
+ from: string | null
7854
+ /** The new value of the field. */
7855
+ to: string | null
7856
+ }[]
7857
+ | undefined
7534
7858
  }
7535
7859
  | {
7536
7860
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
@@ -7815,6 +8139,16 @@ export type Routes = {
7815
8139
  created_at: string
7816
8140
  /** Errors associated with the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
7817
8141
  errors: (
8142
+ | {
8143
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
8144
+ message: string
8145
+ /** Indicates that this is an access code error. */
8146
+ is_access_code_error: true
8147
+ /** Date and time at which Seam created the error. */
8148
+ created_at?: string | undefined
8149
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
8150
+ error_code: 'provider_issue'
8151
+ }
7818
8152
  | {
7819
8153
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
7820
8154
  message: string
@@ -7928,6 +8262,19 @@ export type Routes = {
7928
8262
  created_at?: string | undefined
7929
8263
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
7930
8264
  error_code: 'code_modified_external_to_seam'
8265
+ /** 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. */
8266
+ change_type?: ('modified' | 'removed') | undefined
8267
+ /** List of fields that were changed externally, with their previous and new values. */
8268
+ modified_fields?:
8269
+ | {
8270
+ /** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
8271
+ field: string
8272
+ /** The previous value of the field. */
8273
+ from: string | null
8274
+ /** The new value of the field. */
8275
+ to: string | null
8276
+ }[]
8277
+ | undefined
7931
8278
  }
7932
8279
  | {
7933
8280
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
@@ -7959,6 +8306,16 @@ export type Routes = {
7959
8306
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
7960
8307
  error_code: 'august_lock_temporarily_offline'
7961
8308
  }
8309
+ | {
8310
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
8311
+ message: string
8312
+ /** Indicates that this is an access code error. */
8313
+ is_access_code_error: true
8314
+ /** Date and time at which Seam created the error. */
8315
+ created_at?: string | undefined
8316
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
8317
+ error_code: 'access_code_inactive'
8318
+ }
7962
8319
  | {
7963
8320
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
7964
8321
  message: string
@@ -8188,6 +8545,14 @@ export type Routes = {
8188
8545
  )[]
8189
8546
  /** Warnings associated with the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
8190
8547
  warnings: (
8548
+ | {
8549
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
8550
+ message: string
8551
+ /** Date and time at which Seam created the warning. */
8552
+ created_at?: string | undefined
8553
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
8554
+ warning_code: 'provider_issue'
8555
+ }
8191
8556
  | {
8192
8557
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
8193
8558
  message: string
@@ -8227,6 +8592,19 @@ export type Routes = {
8227
8592
  created_at?: string | undefined
8228
8593
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
8229
8594
  warning_code: 'code_modified_external_to_seam'
8595
+ /** 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. */
8596
+ change_type?: ('modified' | 'removed') | undefined
8597
+ /** List of fields that were changed externally, with their previous and new values. */
8598
+ modified_fields?:
8599
+ | {
8600
+ /** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
8601
+ field: string
8602
+ /** The previous value of the field. */
8603
+ from: string | null
8604
+ /** The new value of the field. */
8605
+ to: string | null
8606
+ }[]
8607
+ | undefined
8230
8608
  }
8231
8609
  | {
8232
8610
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
@@ -10186,6 +10564,16 @@ export type Routes = {
10186
10564
  created_at: string
10187
10565
  /** Errors associated with the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
10188
10566
  errors: (
10567
+ | {
10568
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
10569
+ message: string
10570
+ /** Indicates that this is an access code error. */
10571
+ is_access_code_error: true
10572
+ /** Date and time at which Seam created the error. */
10573
+ created_at?: string | undefined
10574
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
10575
+ error_code: 'provider_issue'
10576
+ }
10189
10577
  | {
10190
10578
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
10191
10579
  message: string
@@ -10299,6 +10687,19 @@ export type Routes = {
10299
10687
  created_at?: string | undefined
10300
10688
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
10301
10689
  error_code: 'code_modified_external_to_seam'
10690
+ /** 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. */
10691
+ change_type?: ('modified' | 'removed') | undefined
10692
+ /** List of fields that were changed externally, with their previous and new values. */
10693
+ modified_fields?:
10694
+ | {
10695
+ /** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
10696
+ field: string
10697
+ /** The previous value of the field. */
10698
+ from: string | null
10699
+ /** The new value of the field. */
10700
+ to: string | null
10701
+ }[]
10702
+ | undefined
10302
10703
  }
10303
10704
  | {
10304
10705
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
@@ -10330,6 +10731,16 @@ export type Routes = {
10330
10731
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
10331
10732
  error_code: 'august_lock_temporarily_offline'
10332
10733
  }
10734
+ | {
10735
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
10736
+ message: string
10737
+ /** Indicates that this is an access code error. */
10738
+ is_access_code_error: true
10739
+ /** Date and time at which Seam created the error. */
10740
+ created_at?: string | undefined
10741
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
10742
+ error_code: 'access_code_inactive'
10743
+ }
10333
10744
  | {
10334
10745
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
10335
10746
  message: string
@@ -10559,6 +10970,14 @@ export type Routes = {
10559
10970
  )[]
10560
10971
  /** Warnings associated with the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
10561
10972
  warnings: (
10973
+ | {
10974
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
10975
+ message: string
10976
+ /** Date and time at which Seam created the warning. */
10977
+ created_at?: string | undefined
10978
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
10979
+ warning_code: 'provider_issue'
10980
+ }
10562
10981
  | {
10563
10982
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
10564
10983
  message: string
@@ -10598,6 +11017,19 @@ export type Routes = {
10598
11017
  created_at?: string | undefined
10599
11018
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
10600
11019
  warning_code: 'code_modified_external_to_seam'
11020
+ /** 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. */
11021
+ change_type?: ('modified' | 'removed') | undefined
11022
+ /** List of fields that were changed externally, with their previous and new values. */
11023
+ modified_fields?:
11024
+ | {
11025
+ /** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
11026
+ field: string
11027
+ /** The previous value of the field. */
11028
+ from: string | null
11029
+ /** The new value of the field. */
11030
+ to: string | null
11031
+ }[]
11032
+ | undefined
10601
11033
  }
10602
11034
  | {
10603
11035
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
@@ -10761,6 +11193,16 @@ export type Routes = {
10761
11193
  created_at: string
10762
11194
  /** Errors associated with the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
10763
11195
  errors: (
11196
+ | {
11197
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
11198
+ message: string
11199
+ /** Indicates that this is an access code error. */
11200
+ is_access_code_error: true
11201
+ /** Date and time at which Seam created the error. */
11202
+ created_at?: string | undefined
11203
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
11204
+ error_code: 'provider_issue'
11205
+ }
10764
11206
  | {
10765
11207
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
10766
11208
  message: string
@@ -10874,6 +11316,19 @@ export type Routes = {
10874
11316
  created_at?: string | undefined
10875
11317
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
10876
11318
  error_code: 'code_modified_external_to_seam'
11319
+ /** 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. */
11320
+ change_type?: ('modified' | 'removed') | undefined
11321
+ /** List of fields that were changed externally, with their previous and new values. */
11322
+ modified_fields?:
11323
+ | {
11324
+ /** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
11325
+ field: string
11326
+ /** The previous value of the field. */
11327
+ from: string | null
11328
+ /** The new value of the field. */
11329
+ to: string | null
11330
+ }[]
11331
+ | undefined
10877
11332
  }
10878
11333
  | {
10879
11334
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
@@ -10905,6 +11360,16 @@ export type Routes = {
10905
11360
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
10906
11361
  error_code: 'august_lock_temporarily_offline'
10907
11362
  }
11363
+ | {
11364
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
11365
+ message: string
11366
+ /** Indicates that this is an access code error. */
11367
+ is_access_code_error: true
11368
+ /** Date and time at which Seam created the error. */
11369
+ created_at?: string | undefined
11370
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
11371
+ error_code: 'access_code_inactive'
11372
+ }
10908
11373
  | {
10909
11374
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
10910
11375
  message: string
@@ -11134,6 +11599,14 @@ export type Routes = {
11134
11599
  )[]
11135
11600
  /** Warnings associated with the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
11136
11601
  warnings: (
11602
+ | {
11603
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
11604
+ message: string
11605
+ /** Date and time at which Seam created the warning. */
11606
+ created_at?: string | undefined
11607
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
11608
+ warning_code: 'provider_issue'
11609
+ }
11137
11610
  | {
11138
11611
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
11139
11612
  message: string
@@ -11173,6 +11646,19 @@ export type Routes = {
11173
11646
  created_at?: string | undefined
11174
11647
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
11175
11648
  warning_code: 'code_modified_external_to_seam'
11649
+ /** 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. */
11650
+ change_type?: ('modified' | 'removed') | undefined
11651
+ /** List of fields that were changed externally, with their previous and new values. */
11652
+ modified_fields?:
11653
+ | {
11654
+ /** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
11655
+ field: string
11656
+ /** The previous value of the field. */
11657
+ from: string | null
11658
+ /** The new value of the field. */
11659
+ to: string | null
11660
+ }[]
11661
+ | undefined
11176
11662
  }
11177
11663
  | {
11178
11664
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
@@ -128456,6 +128942,16 @@ export type Routes = {
128456
128942
  created_at: string
128457
128943
  /** Errors associated with the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
128458
128944
  errors: (
128945
+ | {
128946
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
128947
+ message: string
128948
+ /** Indicates that this is an access code error. */
128949
+ is_access_code_error: true
128950
+ /** Date and time at which Seam created the error. */
128951
+ created_at?: string | undefined
128952
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
128953
+ error_code: 'provider_issue'
128954
+ }
128459
128955
  | {
128460
128956
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
128461
128957
  message: string
@@ -128569,6 +129065,19 @@ export type Routes = {
128569
129065
  created_at?: string | undefined
128570
129066
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
128571
129067
  error_code: 'code_modified_external_to_seam'
129068
+ /** 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. */
129069
+ change_type?: ('modified' | 'removed') | undefined
129070
+ /** List of fields that were changed externally, with their previous and new values. */
129071
+ modified_fields?:
129072
+ | {
129073
+ /** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
129074
+ field: string
129075
+ /** The previous value of the field. */
129076
+ from: string | null
129077
+ /** The new value of the field. */
129078
+ to: string | null
129079
+ }[]
129080
+ | undefined
128572
129081
  }
128573
129082
  | {
128574
129083
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
@@ -128600,6 +129109,16 @@ export type Routes = {
128600
129109
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
128601
129110
  error_code: 'august_lock_temporarily_offline'
128602
129111
  }
129112
+ | {
129113
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
129114
+ message: string
129115
+ /** Indicates that this is an access code error. */
129116
+ is_access_code_error: true
129117
+ /** Date and time at which Seam created the error. */
129118
+ created_at?: string | undefined
129119
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
129120
+ error_code: 'access_code_inactive'
129121
+ }
128603
129122
  | {
128604
129123
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
128605
129124
  message: string
@@ -128829,6 +129348,14 @@ export type Routes = {
128829
129348
  )[]
128830
129349
  /** Warnings associated with the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
128831
129350
  warnings: (
129351
+ | {
129352
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
129353
+ message: string
129354
+ /** Date and time at which Seam created the warning. */
129355
+ created_at?: string | undefined
129356
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
129357
+ warning_code: 'provider_issue'
129358
+ }
128832
129359
  | {
128833
129360
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
128834
129361
  message: string
@@ -128868,6 +129395,19 @@ export type Routes = {
128868
129395
  created_at?: string | undefined
128869
129396
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
128870
129397
  warning_code: 'code_modified_external_to_seam'
129398
+ /** 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. */
129399
+ change_type?: ('modified' | 'removed') | undefined
129400
+ /** List of fields that were changed externally, with their previous and new values. */
129401
+ modified_fields?:
129402
+ | {
129403
+ /** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
129404
+ field: string
129405
+ /** The previous value of the field. */
129406
+ from: string | null
129407
+ /** The new value of the field. */
129408
+ to: string | null
129409
+ }[]
129410
+ | undefined
128871
129411
  }
128872
129412
  | {
128873
129413
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
@@ -129017,6 +129557,16 @@ export type Routes = {
129017
129557
  created_at: string
129018
129558
  /** Errors associated with the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
129019
129559
  errors: (
129560
+ | {
129561
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
129562
+ message: string
129563
+ /** Indicates that this is an access code error. */
129564
+ is_access_code_error: true
129565
+ /** Date and time at which Seam created the error. */
129566
+ created_at?: string | undefined
129567
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
129568
+ error_code: 'provider_issue'
129569
+ }
129020
129570
  | {
129021
129571
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
129022
129572
  message: string
@@ -129130,6 +129680,19 @@ export type Routes = {
129130
129680
  created_at?: string | undefined
129131
129681
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
129132
129682
  error_code: 'code_modified_external_to_seam'
129683
+ /** 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. */
129684
+ change_type?: ('modified' | 'removed') | undefined
129685
+ /** List of fields that were changed externally, with their previous and new values. */
129686
+ modified_fields?:
129687
+ | {
129688
+ /** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
129689
+ field: string
129690
+ /** The previous value of the field. */
129691
+ from: string | null
129692
+ /** The new value of the field. */
129693
+ to: string | null
129694
+ }[]
129695
+ | undefined
129133
129696
  }
129134
129697
  | {
129135
129698
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
@@ -129161,6 +129724,16 @@ export type Routes = {
129161
129724
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
129162
129725
  error_code: 'august_lock_temporarily_offline'
129163
129726
  }
129727
+ | {
129728
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
129729
+ message: string
129730
+ /** Indicates that this is an access code error. */
129731
+ is_access_code_error: true
129732
+ /** Date and time at which Seam created the error. */
129733
+ created_at?: string | undefined
129734
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
129735
+ error_code: 'access_code_inactive'
129736
+ }
129164
129737
  | {
129165
129738
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
129166
129739
  message: string
@@ -129390,6 +129963,14 @@ export type Routes = {
129390
129963
  )[]
129391
129964
  /** Warnings associated with the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes). */
129392
129965
  warnings: (
129966
+ | {
129967
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
129968
+ message: string
129969
+ /** Date and time at which Seam created the warning. */
129970
+ created_at?: string | undefined
129971
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
129972
+ warning_code: 'provider_issue'
129973
+ }
129393
129974
  | {
129394
129975
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
129395
129976
  message: string
@@ -129429,6 +130010,19 @@ export type Routes = {
129429
130010
  created_at?: string | undefined
129430
130011
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
129431
130012
  warning_code: 'code_modified_external_to_seam'
130013
+ /** 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. */
130014
+ change_type?: ('modified' | 'removed') | undefined
130015
+ /** List of fields that were changed externally, with their previous and new values. */
130016
+ modified_fields?:
130017
+ | {
130018
+ /** The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`). */
130019
+ field: string
130020
+ /** The previous value of the field. */
130021
+ from: string | null
130022
+ /** The new value of the field. */
130023
+ to: string | null
130024
+ }[]
130025
+ | undefined
129432
130026
  }
129433
130027
  | {
129434
130028
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */