@seamapi/types 1.948.0 → 1.950.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -241,38 +241,6 @@ const openapi: OpenAPISpec = {
241
241
  type: 'object',
242
242
  'x-resource-type': 'access_code',
243
243
  },
244
- {
245
- description:
246
- 'An attempt to modify this access code was prevented.',
247
- properties: {
248
- created_at: {
249
- description:
250
- 'Date and time at which Seam created the error.',
251
- format: 'date-time',
252
- type: 'string',
253
- },
254
- error_code: {
255
- description:
256
- 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
257
- enum: ['duplicate_code_attempt_prevented'],
258
- type: 'string',
259
- },
260
- is_access_code_error: {
261
- description:
262
- 'Indicates that this is an access code error.',
263
- enum: [true],
264
- type: 'boolean',
265
- },
266
- message: {
267
- description:
268
- 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
269
- type: 'string',
270
- },
271
- },
272
- required: ['message', 'is_access_code_error', 'error_code'],
273
- type: 'object',
274
- 'x-resource-type': 'access_code',
275
- },
276
244
  {
277
245
  description: 'No space for access code on device.',
278
246
  properties: {
@@ -306,7 +274,7 @@ const openapi: OpenAPISpec = {
306
274
  },
307
275
  {
308
276
  description:
309
- 'Code was modified or removed externally after Seam successfully set it on the device.',
277
+ 'Code was modified or removed externally after Seam successfully set it on the device. The external change conflicts with the state that Seam is trying to apply, so Seam will attempt to set the code on the device again.',
310
278
  properties: {
311
279
  change_type: {
312
280
  description:
@@ -323,7 +291,7 @@ const openapi: OpenAPISpec = {
323
291
  error_code: {
324
292
  description:
325
293
  'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
326
- enum: ['code_modified_external_to_seam'],
294
+ enum: ['conflicting_external_modification'],
327
295
  type: 'string',
328
296
  },
329
297
  is_access_code_error: {
@@ -1467,7 +1435,7 @@ const openapi: OpenAPISpec = {
1467
1435
  },
1468
1436
  {
1469
1437
  description:
1470
- 'Code was modified or removed externally after Seam successfully set it on the device.',
1438
+ 'Code was modified or removed externally after Seam successfully set it on the device. External modification is allowed for this code, so the externally modified state is being honored.',
1471
1439
  properties: {
1472
1440
  change_type: {
1473
1441
  description:
@@ -1515,7 +1483,7 @@ const openapi: OpenAPISpec = {
1515
1483
  warning_code: {
1516
1484
  description:
1517
1485
  'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
1518
- enum: ['code_modified_external_to_seam'],
1486
+ enum: ['external_modification_in_effect'],
1519
1487
  type: 'string',
1520
1488
  },
1521
1489
  },
@@ -29667,38 +29635,6 @@ const openapi: OpenAPISpec = {
29667
29635
  type: 'object',
29668
29636
  'x-resource-type': 'access_code',
29669
29637
  },
29670
- {
29671
- description:
29672
- 'An attempt to modify this access code was prevented.',
29673
- properties: {
29674
- created_at: {
29675
- description:
29676
- 'Date and time at which Seam created the error.',
29677
- format: 'date-time',
29678
- type: 'string',
29679
- },
29680
- error_code: {
29681
- description:
29682
- 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
29683
- enum: ['duplicate_code_attempt_prevented'],
29684
- type: 'string',
29685
- },
29686
- is_access_code_error: {
29687
- description:
29688
- 'Indicates that this is an access code error.',
29689
- enum: [true],
29690
- type: 'boolean',
29691
- },
29692
- message: {
29693
- description:
29694
- 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
29695
- type: 'string',
29696
- },
29697
- },
29698
- required: ['message', 'is_access_code_error', 'error_code'],
29699
- type: 'object',
29700
- 'x-resource-type': 'access_code',
29701
- },
29702
29638
  {
29703
29639
  description: 'No space for access code on device.',
29704
29640
  properties: {
@@ -29732,7 +29668,7 @@ const openapi: OpenAPISpec = {
29732
29668
  },
29733
29669
  {
29734
29670
  description:
29735
- 'Code was modified or removed externally after Seam successfully set it on the device.',
29671
+ 'Code was modified or removed externally after Seam successfully set it on the device. The external change conflicts with the state that Seam is trying to apply, so Seam will attempt to set the code on the device again.',
29736
29672
  properties: {
29737
29673
  change_type: {
29738
29674
  description:
@@ -29749,7 +29685,7 @@ const openapi: OpenAPISpec = {
29749
29685
  error_code: {
29750
29686
  description:
29751
29687
  'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
29752
- enum: ['code_modified_external_to_seam'],
29688
+ enum: ['conflicting_external_modification'],
29753
29689
  type: 'string',
29754
29690
  },
29755
29691
  is_access_code_error: {
@@ -30582,7 +30518,7 @@ const openapi: OpenAPISpec = {
30582
30518
  },
30583
30519
  {
30584
30520
  description:
30585
- 'Code was modified or removed externally after Seam successfully set it on the device.',
30521
+ 'Code was modified or removed externally after Seam successfully set it on the device. External modification is allowed for this code, so the externally modified state is being honored.',
30586
30522
  properties: {
30587
30523
  change_type: {
30588
30524
  description:
@@ -30630,7 +30566,7 @@ const openapi: OpenAPISpec = {
30630
30566
  warning_code: {
30631
30567
  description:
30632
30568
  'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
30633
- enum: ['code_modified_external_to_seam'],
30569
+ enum: ['external_modification_in_effect'],
30634
30570
  type: 'string',
30635
30571
  },
30636
30572
  },
@@ -2061,16 +2061,6 @@ export type Routes = {
2061
2061
  /** ID of the managed access code that conflicts with this managed access code, when Seam can identify it. */
2062
2062
  managed_access_code_id?: string | undefined
2063
2063
  }
2064
- | {
2065
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
2066
- message: string
2067
- /** Indicates that this is an access code error. */
2068
- is_access_code_error: true
2069
- /** Date and time at which Seam created the error. */
2070
- created_at?: string | undefined
2071
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2072
- error_code: 'duplicate_code_attempt_prevented'
2073
- }
2074
2064
  | {
2075
2065
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
2076
2066
  message: string
@@ -2089,7 +2079,7 @@ export type Routes = {
2089
2079
  /** Date and time at which Seam created the error. */
2090
2080
  created_at?: string | undefined
2091
2081
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2092
- error_code: 'code_modified_external_to_seam'
2082
+ error_code: 'conflicting_external_modification'
2093
2083
  /** 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. */
2094
2084
  change_type?: ('modified' | 'removed') | undefined
2095
2085
  /** List of fields that were changed externally, with their previous and new values. */
@@ -2317,7 +2307,7 @@ export type Routes = {
2317
2307
  /** Date and time at which Seam created the warning. */
2318
2308
  created_at?: string | undefined
2319
2309
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
2320
- warning_code: 'code_modified_external_to_seam'
2310
+ warning_code: 'external_modification_in_effect'
2321
2311
  /** 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. */
2322
2312
  change_type?: ('modified' | 'removed') | undefined
2323
2313
  /** List of fields that were changed externally, with their previous and new values. */
@@ -2626,16 +2616,6 @@ export type Routes = {
2626
2616
  /** ID of the managed access code that conflicts with this managed access code, when Seam can identify it. */
2627
2617
  managed_access_code_id?: string | undefined
2628
2618
  }
2629
- | {
2630
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
2631
- message: string
2632
- /** Indicates that this is an access code error. */
2633
- is_access_code_error: true
2634
- /** Date and time at which Seam created the error. */
2635
- created_at?: string | undefined
2636
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2637
- error_code: 'duplicate_code_attempt_prevented'
2638
- }
2639
2619
  | {
2640
2620
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
2641
2621
  message: string
@@ -2654,7 +2634,7 @@ export type Routes = {
2654
2634
  /** Date and time at which Seam created the error. */
2655
2635
  created_at?: string | undefined
2656
2636
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2657
- error_code: 'code_modified_external_to_seam'
2637
+ error_code: 'conflicting_external_modification'
2658
2638
  /** 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. */
2659
2639
  change_type?: ('modified' | 'removed') | undefined
2660
2640
  /** List of fields that were changed externally, with their previous and new values. */
@@ -2882,7 +2862,7 @@ export type Routes = {
2882
2862
  /** Date and time at which Seam created the warning. */
2883
2863
  created_at?: string | undefined
2884
2864
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
2885
- warning_code: 'code_modified_external_to_seam'
2865
+ warning_code: 'external_modification_in_effect'
2886
2866
  /** 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. */
2887
2867
  change_type?: ('modified' | 'removed') | undefined
2888
2868
  /** List of fields that were changed externally, with their previous and new values. */
@@ -5150,16 +5130,6 @@ export type Routes = {
5150
5130
  /** ID of the managed access code that conflicts with this managed access code, when Seam can identify it. */
5151
5131
  managed_access_code_id?: string | undefined
5152
5132
  }
5153
- | {
5154
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
5155
- message: string
5156
- /** Indicates that this is an access code error. */
5157
- is_access_code_error: true
5158
- /** Date and time at which Seam created the error. */
5159
- created_at?: string | undefined
5160
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5161
- error_code: 'duplicate_code_attempt_prevented'
5162
- }
5163
5133
  | {
5164
5134
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
5165
5135
  message: string
@@ -5178,7 +5148,7 @@ export type Routes = {
5178
5148
  /** Date and time at which Seam created the error. */
5179
5149
  created_at?: string | undefined
5180
5150
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5181
- error_code: 'code_modified_external_to_seam'
5151
+ error_code: 'conflicting_external_modification'
5182
5152
  /** 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. */
5183
5153
  change_type?: ('modified' | 'removed') | undefined
5184
5154
  /** List of fields that were changed externally, with their previous and new values. */
@@ -5406,7 +5376,7 @@ export type Routes = {
5406
5376
  /** Date and time at which Seam created the warning. */
5407
5377
  created_at?: string | undefined
5408
5378
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
5409
- warning_code: 'code_modified_external_to_seam'
5379
+ warning_code: 'external_modification_in_effect'
5410
5380
  /** 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. */
5411
5381
  change_type?: ('modified' | 'removed') | undefined
5412
5382
  /** List of fields that were changed externally, with their previous and new values. */
@@ -5814,16 +5784,6 @@ export type Routes = {
5814
5784
  /** ID of the managed access code that conflicts with this managed access code, when Seam can identify it. */
5815
5785
  managed_access_code_id?: string | undefined
5816
5786
  }
5817
- | {
5818
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
5819
- message: string
5820
- /** Indicates that this is an access code error. */
5821
- is_access_code_error: true
5822
- /** Date and time at which Seam created the error. */
5823
- created_at?: string | undefined
5824
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5825
- error_code: 'duplicate_code_attempt_prevented'
5826
- }
5827
5787
  | {
5828
5788
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
5829
5789
  message: string
@@ -5842,7 +5802,7 @@ export type Routes = {
5842
5802
  /** Date and time at which Seam created the error. */
5843
5803
  created_at?: string | undefined
5844
5804
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5845
- error_code: 'code_modified_external_to_seam'
5805
+ error_code: 'conflicting_external_modification'
5846
5806
  /** 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. */
5847
5807
  change_type?: ('modified' | 'removed') | undefined
5848
5808
  /** List of fields that were changed externally, with their previous and new values. */
@@ -6070,7 +6030,7 @@ export type Routes = {
6070
6030
  /** Date and time at which Seam created the warning. */
6071
6031
  created_at?: string | undefined
6072
6032
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
6073
- warning_code: 'code_modified_external_to_seam'
6033
+ warning_code: 'external_modification_in_effect'
6074
6034
  /** 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. */
6075
6035
  change_type?: ('modified' | 'removed') | undefined
6076
6036
  /** List of fields that were changed externally, with their previous and new values. */
@@ -6370,16 +6330,6 @@ export type Routes = {
6370
6330
  /** ID of the managed access code that conflicts with this managed access code, when Seam can identify it. */
6371
6331
  managed_access_code_id?: string | undefined
6372
6332
  }
6373
- | {
6374
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
6375
- message: string
6376
- /** Indicates that this is an access code error. */
6377
- is_access_code_error: true
6378
- /** Date and time at which Seam created the error. */
6379
- created_at?: string | undefined
6380
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
6381
- error_code: 'duplicate_code_attempt_prevented'
6382
- }
6383
6333
  | {
6384
6334
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
6385
6335
  message: string
@@ -6398,7 +6348,7 @@ export type Routes = {
6398
6348
  /** Date and time at which Seam created the error. */
6399
6349
  created_at?: string | undefined
6400
6350
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
6401
- error_code: 'code_modified_external_to_seam'
6351
+ error_code: 'conflicting_external_modification'
6402
6352
  /** 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. */
6403
6353
  change_type?: ('modified' | 'removed') | undefined
6404
6354
  /** List of fields that were changed externally, with their previous and new values. */
@@ -6626,7 +6576,7 @@ export type Routes = {
6626
6576
  /** Date and time at which Seam created the warning. */
6627
6577
  created_at?: string | undefined
6628
6578
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
6629
- warning_code: 'code_modified_external_to_seam'
6579
+ warning_code: 'external_modification_in_effect'
6630
6580
  /** 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. */
6631
6581
  change_type?: ('modified' | 'removed') | undefined
6632
6582
  /** List of fields that were changed externally, with their previous and new values. */
@@ -6903,16 +6853,6 @@ export type Routes = {
6903
6853
  /** ID of the managed access code that conflicts with this managed access code, when Seam can identify it. */
6904
6854
  managed_access_code_id?: string | undefined
6905
6855
  }
6906
- | {
6907
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
6908
- message: string
6909
- /** Indicates that this is an access code error. */
6910
- is_access_code_error: true
6911
- /** Date and time at which Seam created the error. */
6912
- created_at?: string | undefined
6913
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
6914
- error_code: 'duplicate_code_attempt_prevented'
6915
- }
6916
6856
  | {
6917
6857
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
6918
6858
  message: string
@@ -6931,7 +6871,7 @@ export type Routes = {
6931
6871
  /** Date and time at which Seam created the error. */
6932
6872
  created_at?: string | undefined
6933
6873
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
6934
- error_code: 'code_modified_external_to_seam'
6874
+ error_code: 'conflicting_external_modification'
6935
6875
  /** 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. */
6936
6876
  change_type?: ('modified' | 'removed') | undefined
6937
6877
  /** List of fields that were changed externally, with their previous and new values. */
@@ -7159,7 +7099,7 @@ export type Routes = {
7159
7099
  /** Date and time at which Seam created the warning. */
7160
7100
  created_at?: string | undefined
7161
7101
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
7162
- warning_code: 'code_modified_external_to_seam'
7102
+ warning_code: 'external_modification_in_effect'
7163
7103
  /** 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. */
7164
7104
  change_type?: ('modified' | 'removed') | undefined
7165
7105
  /** List of fields that were changed externally, with their previous and new values. */
@@ -7469,16 +7409,6 @@ export type Routes = {
7469
7409
  /** ID of the managed access code that conflicts with this managed access code, when Seam can identify it. */
7470
7410
  managed_access_code_id?: string | undefined
7471
7411
  }
7472
- | {
7473
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
7474
- message: string
7475
- /** Indicates that this is an access code error. */
7476
- is_access_code_error: true
7477
- /** Date and time at which Seam created the error. */
7478
- created_at?: string | undefined
7479
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
7480
- error_code: 'duplicate_code_attempt_prevented'
7481
- }
7482
7412
  | {
7483
7413
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
7484
7414
  message: string
@@ -7497,7 +7427,7 @@ export type Routes = {
7497
7427
  /** Date and time at which Seam created the error. */
7498
7428
  created_at?: string | undefined
7499
7429
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
7500
- error_code: 'code_modified_external_to_seam'
7430
+ error_code: 'conflicting_external_modification'
7501
7431
  /** 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. */
7502
7432
  change_type?: ('modified' | 'removed') | undefined
7503
7433
  /** List of fields that were changed externally, with their previous and new values. */
@@ -7725,7 +7655,7 @@ export type Routes = {
7725
7655
  /** Date and time at which Seam created the warning. */
7726
7656
  created_at?: string | undefined
7727
7657
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
7728
- warning_code: 'code_modified_external_to_seam'
7658
+ warning_code: 'external_modification_in_effect'
7729
7659
  /** 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. */
7730
7660
  change_type?: ('modified' | 'removed') | undefined
7731
7661
  /** List of fields that were changed externally, with their previous and new values. */
@@ -9895,16 +9825,6 @@ export type Routes = {
9895
9825
  /** ID of the managed access code that conflicts with this managed access code, when Seam can identify it. */
9896
9826
  managed_access_code_id?: string | undefined
9897
9827
  }
9898
- | {
9899
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
9900
- message: string
9901
- /** Indicates that this is an access code error. */
9902
- is_access_code_error: true
9903
- /** Date and time at which Seam created the error. */
9904
- created_at?: string | undefined
9905
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
9906
- error_code: 'duplicate_code_attempt_prevented'
9907
- }
9908
9828
  | {
9909
9829
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
9910
9830
  message: string
@@ -9923,7 +9843,7 @@ export type Routes = {
9923
9843
  /** Date and time at which Seam created the error. */
9924
9844
  created_at?: string | undefined
9925
9845
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
9926
- error_code: 'code_modified_external_to_seam'
9846
+ error_code: 'conflicting_external_modification'
9927
9847
  /** 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. */
9928
9848
  change_type?: ('modified' | 'removed') | undefined
9929
9849
  /** List of fields that were changed externally, with their previous and new values. */
@@ -10151,7 +10071,7 @@ export type Routes = {
10151
10071
  /** Date and time at which Seam created the warning. */
10152
10072
  created_at?: string | undefined
10153
10073
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
10154
- warning_code: 'code_modified_external_to_seam'
10074
+ warning_code: 'external_modification_in_effect'
10155
10075
  /** 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. */
10156
10076
  change_type?: ('modified' | 'removed') | undefined
10157
10077
  /** List of fields that were changed externally, with their previous and new values. */
@@ -10340,16 +10260,6 @@ export type Routes = {
10340
10260
  /** ID of the managed access code that conflicts with this managed access code, when Seam can identify it. */
10341
10261
  managed_access_code_id?: string | undefined
10342
10262
  }
10343
- | {
10344
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
10345
- message: string
10346
- /** Indicates that this is an access code error. */
10347
- is_access_code_error: true
10348
- /** Date and time at which Seam created the error. */
10349
- created_at?: string | undefined
10350
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
10351
- error_code: 'duplicate_code_attempt_prevented'
10352
- }
10353
10263
  | {
10354
10264
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
10355
10265
  message: string
@@ -10368,7 +10278,7 @@ export type Routes = {
10368
10278
  /** Date and time at which Seam created the error. */
10369
10279
  created_at?: string | undefined
10370
10280
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
10371
- error_code: 'code_modified_external_to_seam'
10281
+ error_code: 'conflicting_external_modification'
10372
10282
  /** 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. */
10373
10283
  change_type?: ('modified' | 'removed') | undefined
10374
10284
  /** List of fields that were changed externally, with their previous and new values. */
@@ -10596,7 +10506,7 @@ export type Routes = {
10596
10506
  /** Date and time at which Seam created the warning. */
10597
10507
  created_at?: string | undefined
10598
10508
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
10599
- warning_code: 'code_modified_external_to_seam'
10509
+ warning_code: 'external_modification_in_effect'
10600
10510
  /** 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. */
10601
10511
  change_type?: ('modified' | 'removed') | undefined
10602
10512
  /** List of fields that were changed externally, with their previous and new values. */
@@ -142643,16 +142553,6 @@ export type Routes = {
142643
142553
  /** ID of the managed access code that conflicts with this managed access code, when Seam can identify it. */
142644
142554
  managed_access_code_id?: string | undefined
142645
142555
  }
142646
- | {
142647
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
142648
- message: string
142649
- /** Indicates that this is an access code error. */
142650
- is_access_code_error: true
142651
- /** Date and time at which Seam created the error. */
142652
- created_at?: string | undefined
142653
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
142654
- error_code: 'duplicate_code_attempt_prevented'
142655
- }
142656
142556
  | {
142657
142557
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
142658
142558
  message: string
@@ -142671,7 +142571,7 @@ export type Routes = {
142671
142571
  /** Date and time at which Seam created the error. */
142672
142572
  created_at?: string | undefined
142673
142573
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
142674
- error_code: 'code_modified_external_to_seam'
142574
+ error_code: 'conflicting_external_modification'
142675
142575
  /** 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. */
142676
142576
  change_type?: ('modified' | 'removed') | undefined
142677
142577
  /** List of fields that were changed externally, with their previous and new values. */
@@ -142899,7 +142799,7 @@ export type Routes = {
142899
142799
  /** Date and time at which Seam created the warning. */
142900
142800
  created_at?: string | undefined
142901
142801
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
142902
- warning_code: 'code_modified_external_to_seam'
142802
+ warning_code: 'external_modification_in_effect'
142903
142803
  /** 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. */
142904
142804
  change_type?: ('modified' | 'removed') | undefined
142905
142805
  /** List of fields that were changed externally, with their previous and new values. */
@@ -143074,16 +142974,6 @@ export type Routes = {
143074
142974
  /** ID of the managed access code that conflicts with this managed access code, when Seam can identify it. */
143075
142975
  managed_access_code_id?: string | undefined
143076
142976
  }
143077
- | {
143078
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
143079
- message: string
143080
- /** Indicates that this is an access code error. */
143081
- is_access_code_error: true
143082
- /** Date and time at which Seam created the error. */
143083
- created_at?: string | undefined
143084
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
143085
- error_code: 'duplicate_code_attempt_prevented'
143086
- }
143087
142977
  | {
143088
142978
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
143089
142979
  message: string
@@ -143102,7 +142992,7 @@ export type Routes = {
143102
142992
  /** Date and time at which Seam created the error. */
143103
142993
  created_at?: string | undefined
143104
142994
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
143105
- error_code: 'code_modified_external_to_seam'
142995
+ error_code: 'conflicting_external_modification'
143106
142996
  /** 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. */
143107
142997
  change_type?: ('modified' | 'removed') | undefined
143108
142998
  /** List of fields that were changed externally, with their previous and new values. */
@@ -143330,7 +143220,7 @@ export type Routes = {
143330
143220
  /** Date and time at which Seam created the warning. */
143331
143221
  created_at?: string | undefined
143332
143222
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
143333
- warning_code: 'code_modified_external_to_seam'
143223
+ warning_code: 'external_modification_in_effect'
143334
143224
  /** 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. */
143335
143225
  change_type?: ('modified' | 'removed') | undefined
143336
143226
  /** List of fields that were changed externally, with their previous and new values. */