@seamapi/types 1.924.0 → 1.926.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.
@@ -1859,15 +1859,6 @@ export type Routes = {
1859
1859
  created_at?: string | undefined;
1860
1860
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1861
1861
  error_code: 'insufficient_permissions';
1862
- } | {
1863
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
1864
- message: string;
1865
- /** Indicates that this is an access code error. */
1866
- is_access_code_error: true;
1867
- /** Date and time at which Seam created the error. */
1868
- created_at?: string | undefined;
1869
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1870
- error_code: 'replaced_by_newer_access_code';
1871
1862
  } | {
1872
1863
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
1873
1864
  message: string;
@@ -2089,13 +2080,6 @@ export type Routes = {
2089
2080
  created_at?: string | undefined;
2090
2081
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
2091
2082
  warning_code: 'management_transferred';
2092
- } | {
2093
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
2094
- message: string;
2095
- /** Date and time at which Seam created the warning. */
2096
- created_at?: string | undefined;
2097
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
2098
- warning_code: 'access_code_inactive';
2099
2083
  } | {
2100
2084
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
2101
2085
  message: string;
@@ -2408,15 +2392,6 @@ export type Routes = {
2408
2392
  created_at?: string | undefined;
2409
2393
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2410
2394
  error_code: 'insufficient_permissions';
2411
- } | {
2412
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
2413
- message: string;
2414
- /** Indicates that this is an access code error. */
2415
- is_access_code_error: true;
2416
- /** Date and time at which Seam created the error. */
2417
- created_at?: string | undefined;
2418
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2419
- error_code: 'replaced_by_newer_access_code';
2420
2395
  } | {
2421
2396
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
2422
2397
  message: string;
@@ -2638,13 +2613,6 @@ export type Routes = {
2638
2613
  created_at?: string | undefined;
2639
2614
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
2640
2615
  warning_code: 'management_transferred';
2641
- } | {
2642
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
2643
- message: string;
2644
- /** Date and time at which Seam created the warning. */
2645
- created_at?: string | undefined;
2646
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
2647
- warning_code: 'access_code_inactive';
2648
2616
  } | {
2649
2617
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
2650
2618
  message: string;
@@ -4645,15 +4613,6 @@ export type Routes = {
4645
4613
  created_at?: string | undefined;
4646
4614
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4647
4615
  error_code: 'insufficient_permissions';
4648
- } | {
4649
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
4650
- message: string;
4651
- /** Indicates that this is an access code error. */
4652
- is_access_code_error: true;
4653
- /** Date and time at which Seam created the error. */
4654
- created_at?: string | undefined;
4655
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4656
- error_code: 'replaced_by_newer_access_code';
4657
4616
  } | {
4658
4617
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
4659
4618
  message: string;
@@ -4875,13 +4834,6 @@ export type Routes = {
4875
4834
  created_at?: string | undefined;
4876
4835
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
4877
4836
  warning_code: 'management_transferred';
4878
- } | {
4879
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
4880
- message: string;
4881
- /** Date and time at which Seam created the warning. */
4882
- created_at?: string | undefined;
4883
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
4884
- warning_code: 'access_code_inactive';
4885
4837
  } | {
4886
4838
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
4887
4839
  message: string;
@@ -5240,15 +5192,6 @@ export type Routes = {
5240
5192
  created_at?: string | undefined;
5241
5193
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5242
5194
  error_code: 'insufficient_permissions';
5243
- } | {
5244
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
5245
- message: string;
5246
- /** Indicates that this is an access code error. */
5247
- is_access_code_error: true;
5248
- /** Date and time at which Seam created the error. */
5249
- created_at?: string | undefined;
5250
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5251
- error_code: 'replaced_by_newer_access_code';
5252
5195
  } | {
5253
5196
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
5254
5197
  message: string;
@@ -5470,13 +5413,6 @@ export type Routes = {
5470
5413
  created_at?: string | undefined;
5471
5414
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
5472
5415
  warning_code: 'management_transferred';
5473
- } | {
5474
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
5475
- message: string;
5476
- /** Date and time at which Seam created the warning. */
5477
- created_at?: string | undefined;
5478
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
5479
- warning_code: 'access_code_inactive';
5480
5416
  } | {
5481
5417
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
5482
5418
  message: string;
@@ -5780,15 +5716,6 @@ export type Routes = {
5780
5716
  created_at?: string | undefined;
5781
5717
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5782
5718
  error_code: 'insufficient_permissions';
5783
- } | {
5784
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
5785
- message: string;
5786
- /** Indicates that this is an access code error. */
5787
- is_access_code_error: true;
5788
- /** Date and time at which Seam created the error. */
5789
- created_at?: string | undefined;
5790
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5791
- error_code: 'replaced_by_newer_access_code';
5792
5719
  } | {
5793
5720
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
5794
5721
  message: string;
@@ -6010,13 +5937,6 @@ export type Routes = {
6010
5937
  created_at?: string | undefined;
6011
5938
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
6012
5939
  warning_code: 'management_transferred';
6013
- } | {
6014
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
6015
- message: string;
6016
- /** Date and time at which Seam created the warning. */
6017
- created_at?: string | undefined;
6018
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
6019
- warning_code: 'access_code_inactive';
6020
5940
  } | {
6021
5941
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
6022
5942
  message: string;
@@ -6297,15 +6217,6 @@ export type Routes = {
6297
6217
  created_at?: string | undefined;
6298
6218
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
6299
6219
  error_code: 'insufficient_permissions';
6300
- } | {
6301
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
6302
- message: string;
6303
- /** Indicates that this is an access code error. */
6304
- is_access_code_error: true;
6305
- /** Date and time at which Seam created the error. */
6306
- created_at?: string | undefined;
6307
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
6308
- error_code: 'replaced_by_newer_access_code';
6309
6220
  } | {
6310
6221
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
6311
6222
  message: string;
@@ -6527,13 +6438,6 @@ export type Routes = {
6527
6438
  created_at?: string | undefined;
6528
6439
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
6529
6440
  warning_code: 'management_transferred';
6530
- } | {
6531
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
6532
- message: string;
6533
- /** Date and time at which Seam created the warning. */
6534
- created_at?: string | undefined;
6535
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
6536
- warning_code: 'access_code_inactive';
6537
6441
  } | {
6538
6442
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
6539
6443
  message: string;
@@ -6847,15 +6751,6 @@ export type Routes = {
6847
6751
  created_at?: string | undefined;
6848
6752
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
6849
6753
  error_code: 'insufficient_permissions';
6850
- } | {
6851
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
6852
- message: string;
6853
- /** Indicates that this is an access code error. */
6854
- is_access_code_error: true;
6855
- /** Date and time at which Seam created the error. */
6856
- created_at?: string | undefined;
6857
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
6858
- error_code: 'replaced_by_newer_access_code';
6859
6754
  } | {
6860
6755
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
6861
6756
  message: string;
@@ -7077,13 +6972,6 @@ export type Routes = {
7077
6972
  created_at?: string | undefined;
7078
6973
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
7079
6974
  warning_code: 'management_transferred';
7080
- } | {
7081
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
7082
- message: string;
7083
- /** Date and time at which Seam created the warning. */
7084
- created_at?: string | undefined;
7085
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
7086
- warning_code: 'access_code_inactive';
7087
6975
  } | {
7088
6976
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
7089
6977
  message: string;
@@ -8993,15 +8881,6 @@ export type Routes = {
8993
8881
  created_at?: string | undefined;
8994
8882
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
8995
8883
  error_code: 'insufficient_permissions';
8996
- } | {
8997
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
8998
- message: string;
8999
- /** Indicates that this is an access code error. */
9000
- is_access_code_error: true;
9001
- /** Date and time at which Seam created the error. */
9002
- created_at?: string | undefined;
9003
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
9004
- error_code: 'replaced_by_newer_access_code';
9005
8884
  } | {
9006
8885
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
9007
8886
  message: string;
@@ -9223,13 +9102,6 @@ export type Routes = {
9223
9102
  created_at?: string | undefined;
9224
9103
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
9225
9104
  warning_code: 'management_transferred';
9226
- } | {
9227
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
9228
- message: string;
9229
- /** Date and time at which Seam created the warning. */
9230
- created_at?: string | undefined;
9231
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
9232
- warning_code: 'access_code_inactive';
9233
9105
  } | {
9234
9106
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
9235
9107
  message: string;
@@ -9429,15 +9301,6 @@ export type Routes = {
9429
9301
  created_at?: string | undefined;
9430
9302
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
9431
9303
  error_code: 'insufficient_permissions';
9432
- } | {
9433
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
9434
- message: string;
9435
- /** Indicates that this is an access code error. */
9436
- is_access_code_error: true;
9437
- /** Date and time at which Seam created the error. */
9438
- created_at?: string | undefined;
9439
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
9440
- error_code: 'replaced_by_newer_access_code';
9441
9304
  } | {
9442
9305
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
9443
9306
  message: string;
@@ -9659,13 +9522,6 @@ export type Routes = {
9659
9522
  created_at?: string | undefined;
9660
9523
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
9661
9524
  warning_code: 'management_transferred';
9662
- } | {
9663
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
9664
- message: string;
9665
- /** Date and time at which Seam created the warning. */
9666
- created_at?: string | undefined;
9667
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
9668
- warning_code: 'access_code_inactive';
9669
9525
  } | {
9670
9526
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
9671
9527
  message: string;
@@ -117702,15 +117558,6 @@ export type Routes = {
117702
117558
  created_at?: string | undefined;
117703
117559
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
117704
117560
  error_code: 'insufficient_permissions';
117705
- } | {
117706
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
117707
- message: string;
117708
- /** Indicates that this is an access code error. */
117709
- is_access_code_error: true;
117710
- /** Date and time at which Seam created the error. */
117711
- created_at?: string | undefined;
117712
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
117713
- error_code: 'replaced_by_newer_access_code';
117714
117561
  } | {
117715
117562
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
117716
117563
  message: string;
@@ -117932,13 +117779,6 @@ export type Routes = {
117932
117779
  created_at?: string | undefined;
117933
117780
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
117934
117781
  warning_code: 'management_transferred';
117935
- } | {
117936
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
117937
- message: string;
117938
- /** Date and time at which Seam created the warning. */
117939
- created_at?: string | undefined;
117940
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
117941
- warning_code: 'access_code_inactive';
117942
117782
  } | {
117943
117783
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
117944
117784
  message: string;
@@ -118122,15 +117962,6 @@ export type Routes = {
118122
117962
  created_at?: string | undefined;
118123
117963
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
118124
117964
  error_code: 'insufficient_permissions';
118125
- } | {
118126
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
118127
- message: string;
118128
- /** Indicates that this is an access code error. */
118129
- is_access_code_error: true;
118130
- /** Date and time at which Seam created the error. */
118131
- created_at?: string | undefined;
118132
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
118133
- error_code: 'replaced_by_newer_access_code';
118134
117965
  } | {
118135
117966
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
118136
117967
  message: string;
@@ -118352,13 +118183,6 @@ export type Routes = {
118352
118183
  created_at?: string | undefined;
118353
118184
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
118354
118185
  warning_code: 'management_transferred';
118355
- } | {
118356
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
118357
- message: string;
118358
- /** Date and time at which Seam created the warning. */
118359
- created_at?: string | undefined;
118360
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
118361
- warning_code: 'access_code_inactive';
118362
118186
  } | {
118363
118187
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
118364
118188
  message: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.924.0",
3
+ "version": "1.926.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -182,17 +182,6 @@ const salto_ks_user_not_subscribed = common_access_code_error
182
182
  `,
183
183
  )
184
184
 
185
- const replaced_by_newer_access_code = common_access_code_error.extend({
186
- error_code: z
187
- .literal('replaced_by_newer_access_code')
188
- .describe(error_code_description),
189
- }).describe(`
190
- ---
191
- resource_type: access_code
192
- ---
193
- This access code was overridden on the device by a newer access code programmed to the same slot.
194
- `)
195
-
196
185
  const access_code_error = z
197
186
  .discriminatedUnion('error_code', [
198
187
  provider_issue,
@@ -206,7 +195,6 @@ const access_code_error = z
206
195
  access_code_inactive_error,
207
196
  salto_ks_user_not_subscribed,
208
197
  insufficient_permissions,
209
- replaced_by_newer_access_code,
210
198
  ])
211
199
  .describe(
212
200
  'Errors associated with the [access code](https://docs.seam.co/low-level-apis/smart-locks/access-codes).',
@@ -238,9 +226,6 @@ const _access_code_error_map = z.object({
238
226
  salto_ks_user_not_subscribed: salto_ks_user_not_subscribed
239
227
  .optional()
240
228
  .nullable(),
241
- replaced_by_newer_access_code: replaced_by_newer_access_code
242
- .optional()
243
- .nullable(),
244
229
  })
245
230
 
246
231
  export type AccessCodeErrorMap = z.infer<typeof _access_code_error_map>
@@ -346,16 +331,6 @@ const management_transferred = common_access_code_warning
346
331
  })
347
332
  .describe('Management was transferred to another workspace.')
348
333
 
349
- const access_code_inactive = common_access_code_warning
350
- .extend({
351
- warning_code: z
352
- .literal('access_code_inactive')
353
- .describe(warning_code_description),
354
- })
355
- .describe(
356
- 'Indicates that the access code is disabled or inactive on the device. The code exists but will not grant access until re-enabled.',
357
- )
358
-
359
334
  const using_backup_access_code = common_access_code_warning
360
335
  .extend({
361
336
  warning_code: z
@@ -382,7 +357,6 @@ const access_code_warning = z
382
357
  third_party_integration_detected,
383
358
  igloo_algopin_must_be_used_within_24_hours,
384
359
  management_transferred,
385
- access_code_inactive,
386
360
  using_backup_access_code,
387
361
  being_deleted,
388
362
  ])
@@ -409,7 +383,6 @@ const _access_code_warning_map = z.object({
409
383
  igloo_algopin_must_be_used_within_24_hours:
410
384
  igloo_algopin_must_be_used_within_24_hours.optional().nullable(),
411
385
  management_transferred: management_transferred.optional().nullable(),
412
- access_code_inactive: access_code_inactive.optional().nullable(),
413
386
  using_backup_access_code: using_backup_access_code.optional().nullable(),
414
387
  being_deleted: being_deleted.optional().nullable(),
415
388
  })
@@ -497,38 +497,6 @@ const openapi: OpenAPISpec = {
497
497
  type: 'object',
498
498
  'x-resource-type': 'access_code',
499
499
  },
500
- {
501
- description:
502
- 'This access code was overridden on the device by a newer access code programmed to the same slot.',
503
- properties: {
504
- created_at: {
505
- description:
506
- 'Date and time at which Seam created the error.',
507
- format: 'date-time',
508
- type: 'string',
509
- },
510
- error_code: {
511
- description:
512
- 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
513
- enum: ['replaced_by_newer_access_code'],
514
- type: 'string',
515
- },
516
- is_access_code_error: {
517
- description:
518
- 'Indicates that this is an access code error.',
519
- enum: [true],
520
- type: 'boolean',
521
- },
522
- message: {
523
- description:
524
- 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
525
- type: 'string',
526
- },
527
- },
528
- required: ['message', 'is_access_code_error', 'error_code'],
529
- type: 'object',
530
- 'x-resource-type': 'access_code',
531
- },
532
500
  {
533
501
  description: 'Indicates that the account is disconnected.',
534
502
  properties: {
@@ -1741,31 +1709,6 @@ const openapi: OpenAPISpec = {
1741
1709
  required: ['message', 'warning_code'],
1742
1710
  type: 'object',
1743
1711
  },
1744
- {
1745
- description:
1746
- 'Indicates that the access code is disabled or inactive on the device. The code exists but will not grant access until re-enabled.',
1747
- properties: {
1748
- created_at: {
1749
- description:
1750
- 'Date and time at which Seam created the warning.',
1751
- format: 'date-time',
1752
- type: 'string',
1753
- },
1754
- message: {
1755
- description:
1756
- 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
1757
- type: 'string',
1758
- },
1759
- warning_code: {
1760
- description:
1761
- 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
1762
- enum: ['access_code_inactive'],
1763
- type: 'string',
1764
- },
1765
- },
1766
- required: ['message', 'warning_code'],
1767
- type: 'object',
1768
- },
1769
1712
  {
1770
1713
  description:
1771
1714
  'A backup access code has been pulled and is being used in place of this access code.',
@@ -29222,38 +29165,6 @@ const openapi: OpenAPISpec = {
29222
29165
  type: 'object',
29223
29166
  'x-resource-type': 'access_code',
29224
29167
  },
29225
- {
29226
- description:
29227
- 'This access code was overridden on the device by a newer access code programmed to the same slot.',
29228
- properties: {
29229
- created_at: {
29230
- description:
29231
- 'Date and time at which Seam created the error.',
29232
- format: 'date-time',
29233
- type: 'string',
29234
- },
29235
- error_code: {
29236
- description:
29237
- 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
29238
- enum: ['replaced_by_newer_access_code'],
29239
- type: 'string',
29240
- },
29241
- is_access_code_error: {
29242
- description:
29243
- 'Indicates that this is an access code error.',
29244
- enum: [true],
29245
- type: 'boolean',
29246
- },
29247
- message: {
29248
- description:
29249
- 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
29250
- type: 'string',
29251
- },
29252
- },
29253
- required: ['message', 'is_access_code_error', 'error_code'],
29254
- type: 'object',
29255
- 'x-resource-type': 'access_code',
29256
- },
29257
29168
  {
29258
29169
  description: 'Indicates that the account is disconnected.',
29259
29170
  properties: {
@@ -30155,31 +30066,6 @@ const openapi: OpenAPISpec = {
30155
30066
  required: ['message', 'warning_code'],
30156
30067
  type: 'object',
30157
30068
  },
30158
- {
30159
- description:
30160
- 'Indicates that the access code is disabled or inactive on the device. The code exists but will not grant access until re-enabled.',
30161
- properties: {
30162
- created_at: {
30163
- description:
30164
- 'Date and time at which Seam created the warning.',
30165
- format: 'date-time',
30166
- type: 'string',
30167
- },
30168
- message: {
30169
- description:
30170
- 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
30171
- type: 'string',
30172
- },
30173
- warning_code: {
30174
- description:
30175
- 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
30176
- enum: ['access_code_inactive'],
30177
- type: 'string',
30178
- },
30179
- },
30180
- required: ['message', 'warning_code'],
30181
- type: 'object',
30182
- },
30183
30069
  {
30184
30070
  description:
30185
30071
  'A backup access code has been pulled and is being used in place of this access code.',