@seamapi/types 1.798.0 → 1.799.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.
@@ -10974,6 +10974,15 @@ export type Routes = {
10974
10974
  message: string;
10975
10975
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
10976
10976
  warning_code: 'overprovisioned_access';
10977
+ /** Devices whose access codes could not be revoked during reconciliation. Present when the provider does not support revoking an offline access code (e.g. Dormakaba oracode with exhausted override budget). */
10978
+ failed_devices?: {
10979
+ /** Device whose access code could not be revoked. */
10980
+ device_id: string;
10981
+ /** Reason the access code could not be revoked (e.g. `offline_access_code_not_revocable`). */
10982
+ error_code: string;
10983
+ /** Human-readable description of why revocation failed. */
10984
+ message: string;
10985
+ }[] | undefined;
10977
10986
  } | {
10978
10987
  /** Date and time at which Seam created the warning. */
10979
10988
  created_at: string;
@@ -11162,6 +11171,15 @@ export type Routes = {
11162
11171
  message: string;
11163
11172
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
11164
11173
  warning_code: 'overprovisioned_access';
11174
+ /** Devices whose access codes could not be revoked during reconciliation. Present when the provider does not support revoking an offline access code (e.g. Dormakaba oracode with exhausted override budget). */
11175
+ failed_devices?: {
11176
+ /** Device whose access code could not be revoked. */
11177
+ device_id: string;
11178
+ /** Reason the access code could not be revoked (e.g. `offline_access_code_not_revocable`). */
11179
+ error_code: string;
11180
+ /** Human-readable description of why revocation failed. */
11181
+ message: string;
11182
+ }[] | undefined;
11165
11183
  } | {
11166
11184
  /** Date and time at which Seam created the warning. */
11167
11185
  created_at: string;
@@ -13433,6 +13451,15 @@ export type Routes = {
13433
13451
  message: string;
13434
13452
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
13435
13453
  warning_code: 'overprovisioned_access';
13454
+ /** Devices whose access codes could not be revoked during reconciliation. Present when the provider does not support revoking an offline access code (e.g. Dormakaba oracode with exhausted override budget). */
13455
+ failed_devices?: {
13456
+ /** Device whose access code could not be revoked. */
13457
+ device_id: string;
13458
+ /** Reason the access code could not be revoked (e.g. `offline_access_code_not_revocable`). */
13459
+ error_code: string;
13460
+ /** Human-readable description of why revocation failed. */
13461
+ message: string;
13462
+ }[] | undefined;
13436
13463
  } | {
13437
13464
  /** Date and time at which Seam created the warning. */
13438
13465
  created_at: string;
@@ -13623,6 +13650,15 @@ export type Routes = {
13623
13650
  message: string;
13624
13651
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
13625
13652
  warning_code: 'overprovisioned_access';
13653
+ /** Devices whose access codes could not be revoked during reconciliation. Present when the provider does not support revoking an offline access code (e.g. Dormakaba oracode with exhausted override budget). */
13654
+ failed_devices?: {
13655
+ /** Device whose access code could not be revoked. */
13656
+ device_id: string;
13657
+ /** Reason the access code could not be revoked (e.g. `offline_access_code_not_revocable`). */
13658
+ error_code: string;
13659
+ /** Human-readable description of why revocation failed. */
13660
+ message: string;
13661
+ }[] | undefined;
13626
13662
  } | {
13627
13663
  /** Date and time at which Seam created the warning. */
13628
13664
  created_at: string;
@@ -13787,6 +13823,15 @@ export type Routes = {
13787
13823
  message: string;
13788
13824
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
13789
13825
  warning_code: 'overprovisioned_access';
13826
+ /** Devices whose access codes could not be revoked during reconciliation. Present when the provider does not support revoking an offline access code (e.g. Dormakaba oracode with exhausted override budget). */
13827
+ failed_devices?: {
13828
+ /** Device whose access code could not be revoked. */
13829
+ device_id: string;
13830
+ /** Reason the access code could not be revoked (e.g. `offline_access_code_not_revocable`). */
13831
+ error_code: string;
13832
+ /** Human-readable description of why revocation failed. */
13833
+ message: string;
13834
+ }[] | undefined;
13790
13835
  } | {
13791
13836
  /** Date and time at which Seam created the warning. */
13792
13837
  created_at: string;
@@ -13960,6 +14005,15 @@ export type Routes = {
13960
14005
  message: string;
13961
14006
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
13962
14007
  warning_code: 'overprovisioned_access';
14008
+ /** Devices whose access codes could not be revoked during reconciliation. Present when the provider does not support revoking an offline access code (e.g. Dormakaba oracode with exhausted override budget). */
14009
+ failed_devices?: {
14010
+ /** Device whose access code could not be revoked. */
14011
+ device_id: string;
14012
+ /** Reason the access code could not be revoked (e.g. `offline_access_code_not_revocable`). */
14013
+ error_code: string;
14014
+ /** Human-readable description of why revocation failed. */
14015
+ message: string;
14016
+ }[] | undefined;
13963
14017
  } | {
13964
14018
  /** Date and time at which Seam created the warning. */
13965
14019
  created_at: string;
@@ -17145,6 +17199,15 @@ export type Routes = {
17145
17199
  message: string;
17146
17200
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
17147
17201
  warning_code: 'overprovisioned_access';
17202
+ /** Devices whose access codes could not be revoked during reconciliation. Present when the provider does not support revoking an offline access code (e.g. Dormakaba oracode with exhausted override budget). */
17203
+ failed_devices?: {
17204
+ /** Device whose access code could not be revoked. */
17205
+ device_id: string;
17206
+ /** Reason the access code could not be revoked (e.g. `offline_access_code_not_revocable`). */
17207
+ error_code: string;
17208
+ /** Human-readable description of why revocation failed. */
17209
+ message: string;
17210
+ }[] | undefined;
17148
17211
  } | {
17149
17212
  /** Date and time at which Seam created the warning. */
17150
17213
  created_at: string;
@@ -61486,6 +61549,15 @@ export type Routes = {
61486
61549
  message: string;
61487
61550
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
61488
61551
  warning_code: 'overprovisioned_access';
61552
+ /** Devices whose access codes could not be revoked during reconciliation. Present when the provider does not support revoking an offline access code (e.g. Dormakaba oracode with exhausted override budget). */
61553
+ failed_devices?: {
61554
+ /** Device whose access code could not be revoked. */
61555
+ device_id: string;
61556
+ /** Reason the access code could not be revoked (e.g. `offline_access_code_not_revocable`). */
61557
+ error_code: string;
61558
+ /** Human-readable description of why revocation failed. */
61559
+ message: string;
61560
+ }[] | undefined;
61489
61561
  } | {
61490
61562
  /** Date and time at which Seam created the warning. */
61491
61563
  created_at: string;
@@ -67117,6 +67189,15 @@ export type Routes = {
67117
67189
  message: string;
67118
67190
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
67119
67191
  warning_code: 'overprovisioned_access';
67192
+ /** Devices whose access codes could not be revoked during reconciliation. Present when the provider does not support revoking an offline access code (e.g. Dormakaba oracode with exhausted override budget). */
67193
+ failed_devices?: {
67194
+ /** Device whose access code could not be revoked. */
67195
+ device_id: string;
67196
+ /** Reason the access code could not be revoked (e.g. `offline_access_code_not_revocable`). */
67197
+ error_code: string;
67198
+ /** Human-readable description of why revocation failed. */
67199
+ message: string;
67200
+ }[] | undefined;
67120
67201
  } | {
67121
67202
  /** Date and time at which Seam created the warning. */
67122
67203
  created_at: string;
@@ -67543,6 +67624,15 @@ export type Routes = {
67543
67624
  message: string;
67544
67625
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
67545
67626
  warning_code: 'overprovisioned_access';
67627
+ /** Devices whose access codes could not be revoked during reconciliation. Present when the provider does not support revoking an offline access code (e.g. Dormakaba oracode with exhausted override budget). */
67628
+ failed_devices?: {
67629
+ /** Device whose access code could not be revoked. */
67630
+ device_id: string;
67631
+ /** Reason the access code could not be revoked (e.g. `offline_access_code_not_revocable`). */
67632
+ error_code: string;
67633
+ /** Human-readable description of why revocation failed. */
67634
+ message: string;
67635
+ }[] | undefined;
67546
67636
  } | {
67547
67637
  /** Date and time at which Seam created the warning. */
67548
67638
  created_at: string;
@@ -95875,6 +95965,15 @@ export type Routes = {
95875
95965
  message: string;
95876
95966
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
95877
95967
  warning_code: 'overprovisioned_access';
95968
+ /** Devices whose access codes could not be revoked during reconciliation. Present when the provider does not support revoking an offline access code (e.g. Dormakaba oracode with exhausted override budget). */
95969
+ failed_devices?: {
95970
+ /** Device whose access code could not be revoked. */
95971
+ device_id: string;
95972
+ /** Reason the access code could not be revoked (e.g. `offline_access_code_not_revocable`). */
95973
+ error_code: string;
95974
+ /** Human-readable description of why revocation failed. */
95975
+ message: string;
95976
+ }[] | undefined;
95878
95977
  } | {
95879
95978
  /** Date and time at which Seam created the warning. */
95880
95979
  created_at: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.798.0",
3
+ "version": "1.799.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -71,11 +71,32 @@ const underprovisioned_access = common_access_grant_warning
71
71
  'Indicates that the access grant should have access to more locations than it currently does. Access methods are being created for the missing locations.',
72
72
  )
73
73
 
74
+ const overprovisioned_failed_device = z.object({
75
+ device_id: z
76
+ .string()
77
+ .uuid()
78
+ .describe('Device whose access code could not be revoked.'),
79
+ error_code: z
80
+ .string()
81
+ .describe(
82
+ 'Reason the access code could not be revoked (e.g. `offline_access_code_not_revocable`).',
83
+ ),
84
+ message: z
85
+ .string()
86
+ .describe('Human-readable description of why revocation failed.'),
87
+ })
88
+
74
89
  const overprovisioned_access = common_access_grant_warning
75
90
  .extend({
76
91
  warning_code: z
77
92
  .literal('overprovisioned_access')
78
93
  .describe(warning_code_description),
94
+ failed_devices: z
95
+ .array(overprovisioned_failed_device)
96
+ .optional()
97
+ .describe(
98
+ 'Devices whose access codes could not be revoked during reconciliation. Present when the provider does not support revoking an offline access code (e.g. Dormakaba oracode with exhausted override budget).',
99
+ ),
79
100
  })
80
101
  .describe(
81
102
  'Indicates that the access grant has access to locations it should not have. Access methods are being removed from the extra locations.',
@@ -2474,6 +2474,33 @@ export default {
2474
2474
  format: 'date-time',
2475
2475
  type: 'string',
2476
2476
  },
2477
+ failed_devices: {
2478
+ description:
2479
+ 'Devices whose access codes could not be revoked during reconciliation. Present when the provider does not support revoking an offline access code (e.g. Dormakaba oracode with exhausted override budget).',
2480
+ items: {
2481
+ properties: {
2482
+ device_id: {
2483
+ description:
2484
+ 'Device whose access code could not be revoked.',
2485
+ format: 'uuid',
2486
+ type: 'string',
2487
+ },
2488
+ error_code: {
2489
+ description:
2490
+ 'Reason the access code could not be revoked (e.g. `offline_access_code_not_revocable`).',
2491
+ type: 'string',
2492
+ },
2493
+ message: {
2494
+ description:
2495
+ 'Human-readable description of why revocation failed.',
2496
+ type: 'string',
2497
+ },
2498
+ },
2499
+ required: ['device_id', 'error_code', 'message'],
2500
+ type: 'object',
2501
+ },
2502
+ type: 'array',
2503
+ },
2477
2504
  message: {
2478
2505
  description:
2479
2506
  'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
@@ -36004,6 +36031,37 @@ export default {
36004
36031
  format: 'date-time',
36005
36032
  type: 'string',
36006
36033
  },
36034
+ failed_devices: {
36035
+ description:
36036
+ 'Devices whose access codes could not be revoked during reconciliation. Present when the provider does not support revoking an offline access code (e.g. Dormakaba oracode with exhausted override budget).',
36037
+ items: {
36038
+ properties: {
36039
+ device_id: {
36040
+ description:
36041
+ 'Device whose access code could not be revoked.',
36042
+ format: 'uuid',
36043
+ type: 'string',
36044
+ },
36045
+ error_code: {
36046
+ description:
36047
+ 'Reason the access code could not be revoked (e.g. `offline_access_code_not_revocable`).',
36048
+ type: 'string',
36049
+ },
36050
+ message: {
36051
+ description:
36052
+ 'Human-readable description of why revocation failed.',
36053
+ type: 'string',
36054
+ },
36055
+ },
36056
+ required: [
36057
+ 'device_id',
36058
+ 'error_code',
36059
+ 'message',
36060
+ ],
36061
+ type: 'object',
36062
+ },
36063
+ type: 'array',
36064
+ },
36007
36065
  message: {
36008
36066
  description:
36009
36067
  'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
@@ -36630,6 +36688,37 @@ export default {
36630
36688
  format: 'date-time',
36631
36689
  type: 'string',
36632
36690
  },
36691
+ failed_devices: {
36692
+ description:
36693
+ 'Devices whose access codes could not be revoked during reconciliation. Present when the provider does not support revoking an offline access code (e.g. Dormakaba oracode with exhausted override budget).',
36694
+ items: {
36695
+ properties: {
36696
+ device_id: {
36697
+ description:
36698
+ 'Device whose access code could not be revoked.',
36699
+ format: 'uuid',
36700
+ type: 'string',
36701
+ },
36702
+ error_code: {
36703
+ description:
36704
+ 'Reason the access code could not be revoked (e.g. `offline_access_code_not_revocable`).',
36705
+ type: 'string',
36706
+ },
36707
+ message: {
36708
+ description:
36709
+ 'Human-readable description of why revocation failed.',
36710
+ type: 'string',
36711
+ },
36712
+ },
36713
+ required: [
36714
+ 'device_id',
36715
+ 'error_code',
36716
+ 'message',
36717
+ ],
36718
+ type: 'object',
36719
+ },
36720
+ type: 'array',
36721
+ },
36633
36722
  message: {
36634
36723
  description:
36635
36724
  'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
@@ -37305,6 +37394,37 @@ export default {
37305
37394
  format: 'date-time',
37306
37395
  type: 'string',
37307
37396
  },
37397
+ failed_devices: {
37398
+ description:
37399
+ 'Devices whose access codes could not be revoked during reconciliation. Present when the provider does not support revoking an offline access code (e.g. Dormakaba oracode with exhausted override budget).',
37400
+ items: {
37401
+ properties: {
37402
+ device_id: {
37403
+ description:
37404
+ 'Device whose access code could not be revoked.',
37405
+ format: 'uuid',
37406
+ type: 'string',
37407
+ },
37408
+ error_code: {
37409
+ description:
37410
+ 'Reason the access code could not be revoked (e.g. `offline_access_code_not_revocable`).',
37411
+ type: 'string',
37412
+ },
37413
+ message: {
37414
+ description:
37415
+ 'Human-readable description of why revocation failed.',
37416
+ type: 'string',
37417
+ },
37418
+ },
37419
+ required: [
37420
+ 'device_id',
37421
+ 'error_code',
37422
+ 'message',
37423
+ ],
37424
+ type: 'object',
37425
+ },
37426
+ type: 'array',
37427
+ },
37308
37428
  message: {
37309
37429
  description:
37310
37430
  'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
@@ -37967,6 +38087,37 @@ export default {
37967
38087
  format: 'date-time',
37968
38088
  type: 'string',
37969
38089
  },
38090
+ failed_devices: {
38091
+ description:
38092
+ 'Devices whose access codes could not be revoked during reconciliation. Present when the provider does not support revoking an offline access code (e.g. Dormakaba oracode with exhausted override budget).',
38093
+ items: {
38094
+ properties: {
38095
+ device_id: {
38096
+ description:
38097
+ 'Device whose access code could not be revoked.',
38098
+ format: 'uuid',
38099
+ type: 'string',
38100
+ },
38101
+ error_code: {
38102
+ description:
38103
+ 'Reason the access code could not be revoked (e.g. `offline_access_code_not_revocable`).',
38104
+ type: 'string',
38105
+ },
38106
+ message: {
38107
+ description:
38108
+ 'Human-readable description of why revocation failed.',
38109
+ type: 'string',
38110
+ },
38111
+ },
38112
+ required: [
38113
+ 'device_id',
38114
+ 'error_code',
38115
+ 'message',
38116
+ ],
38117
+ type: 'object',
38118
+ },
38119
+ type: 'array',
38120
+ },
37970
38121
  message: {
37971
38122
  description:
37972
38123
  'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
@@ -12417,6 +12417,17 @@ export type Routes = {
12417
12417
  message: string
12418
12418
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
12419
12419
  warning_code: 'overprovisioned_access'
12420
+ /** Devices whose access codes could not be revoked during reconciliation. Present when the provider does not support revoking an offline access code (e.g. Dormakaba oracode with exhausted override budget). */
12421
+ failed_devices?:
12422
+ | {
12423
+ /** Device whose access code could not be revoked. */
12424
+ device_id: string
12425
+ /** Reason the access code could not be revoked (e.g. `offline_access_code_not_revocable`). */
12426
+ error_code: string
12427
+ /** Human-readable description of why revocation failed. */
12428
+ message: string
12429
+ }[]
12430
+ | undefined
12420
12431
  }
12421
12432
  | {
12422
12433
  /** Date and time at which Seam created the warning. */
@@ -12617,6 +12628,17 @@ export type Routes = {
12617
12628
  message: string
12618
12629
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
12619
12630
  warning_code: 'overprovisioned_access'
12631
+ /** Devices whose access codes could not be revoked during reconciliation. Present when the provider does not support revoking an offline access code (e.g. Dormakaba oracode with exhausted override budget). */
12632
+ failed_devices?:
12633
+ | {
12634
+ /** Device whose access code could not be revoked. */
12635
+ device_id: string
12636
+ /** Reason the access code could not be revoked (e.g. `offline_access_code_not_revocable`). */
12637
+ error_code: string
12638
+ /** Human-readable description of why revocation failed. */
12639
+ message: string
12640
+ }[]
12641
+ | undefined
12620
12642
  }
12621
12643
  | {
12622
12644
  /** Date and time at which Seam created the warning. */
@@ -15427,6 +15449,17 @@ export type Routes = {
15427
15449
  message: string
15428
15450
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
15429
15451
  warning_code: 'overprovisioned_access'
15452
+ /** Devices whose access codes could not be revoked during reconciliation. Present when the provider does not support revoking an offline access code (e.g. Dormakaba oracode with exhausted override budget). */
15453
+ failed_devices?:
15454
+ | {
15455
+ /** Device whose access code could not be revoked. */
15456
+ device_id: string
15457
+ /** Reason the access code could not be revoked (e.g. `offline_access_code_not_revocable`). */
15458
+ error_code: string
15459
+ /** Human-readable description of why revocation failed. */
15460
+ message: string
15461
+ }[]
15462
+ | undefined
15430
15463
  }
15431
15464
  | {
15432
15465
  /** Date and time at which Seam created the warning. */
@@ -15627,6 +15660,17 @@ export type Routes = {
15627
15660
  message: string
15628
15661
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
15629
15662
  warning_code: 'overprovisioned_access'
15663
+ /** Devices whose access codes could not be revoked during reconciliation. Present when the provider does not support revoking an offline access code (e.g. Dormakaba oracode with exhausted override budget). */
15664
+ failed_devices?:
15665
+ | {
15666
+ /** Device whose access code could not be revoked. */
15667
+ device_id: string
15668
+ /** Reason the access code could not be revoked (e.g. `offline_access_code_not_revocable`). */
15669
+ error_code: string
15670
+ /** Human-readable description of why revocation failed. */
15671
+ message: string
15672
+ }[]
15673
+ | undefined
15630
15674
  }
15631
15675
  | {
15632
15676
  /** Date and time at which Seam created the warning. */
@@ -15801,6 +15845,17 @@ export type Routes = {
15801
15845
  message: string
15802
15846
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
15803
15847
  warning_code: 'overprovisioned_access'
15848
+ /** Devices whose access codes could not be revoked during reconciliation. Present when the provider does not support revoking an offline access code (e.g. Dormakaba oracode with exhausted override budget). */
15849
+ failed_devices?:
15850
+ | {
15851
+ /** Device whose access code could not be revoked. */
15852
+ device_id: string
15853
+ /** Reason the access code could not be revoked (e.g. `offline_access_code_not_revocable`). */
15854
+ error_code: string
15855
+ /** Human-readable description of why revocation failed. */
15856
+ message: string
15857
+ }[]
15858
+ | undefined
15804
15859
  }
15805
15860
  | {
15806
15861
  /** Date and time at which Seam created the warning. */
@@ -15984,6 +16039,17 @@ export type Routes = {
15984
16039
  message: string
15985
16040
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
15986
16041
  warning_code: 'overprovisioned_access'
16042
+ /** Devices whose access codes could not be revoked during reconciliation. Present when the provider does not support revoking an offline access code (e.g. Dormakaba oracode with exhausted override budget). */
16043
+ failed_devices?:
16044
+ | {
16045
+ /** Device whose access code could not be revoked. */
16046
+ device_id: string
16047
+ /** Reason the access code could not be revoked (e.g. `offline_access_code_not_revocable`). */
16048
+ error_code: string
16049
+ /** Human-readable description of why revocation failed. */
16050
+ message: string
16051
+ }[]
16052
+ | undefined
15987
16053
  }
15988
16054
  | {
15989
16055
  /** Date and time at which Seam created the warning. */
@@ -19814,6 +19880,17 @@ export type Routes = {
19814
19880
  message: string
19815
19881
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
19816
19882
  warning_code: 'overprovisioned_access'
19883
+ /** Devices whose access codes could not be revoked during reconciliation. Present when the provider does not support revoking an offline access code (e.g. Dormakaba oracode with exhausted override budget). */
19884
+ failed_devices?:
19885
+ | {
19886
+ /** Device whose access code could not be revoked. */
19887
+ device_id: string
19888
+ /** Reason the access code could not be revoked (e.g. `offline_access_code_not_revocable`). */
19889
+ error_code: string
19890
+ /** Human-readable description of why revocation failed. */
19891
+ message: string
19892
+ }[]
19893
+ | undefined
19817
19894
  }
19818
19895
  | {
19819
19896
  /** Date and time at which Seam created the warning. */
@@ -73496,6 +73573,17 @@ export type Routes = {
73496
73573
  message: string
73497
73574
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
73498
73575
  warning_code: 'overprovisioned_access'
73576
+ /** Devices whose access codes could not be revoked during reconciliation. Present when the provider does not support revoking an offline access code (e.g. Dormakaba oracode with exhausted override budget). */
73577
+ failed_devices?:
73578
+ | {
73579
+ /** Device whose access code could not be revoked. */
73580
+ device_id: string
73581
+ /** Reason the access code could not be revoked (e.g. `offline_access_code_not_revocable`). */
73582
+ error_code: string
73583
+ /** Human-readable description of why revocation failed. */
73584
+ message: string
73585
+ }[]
73586
+ | undefined
73499
73587
  }
73500
73588
  | {
73501
73589
  /** Date and time at which Seam created the warning. */
@@ -80168,6 +80256,17 @@ export type Routes = {
80168
80256
  message: string
80169
80257
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
80170
80258
  warning_code: 'overprovisioned_access'
80259
+ /** Devices whose access codes could not be revoked during reconciliation. Present when the provider does not support revoking an offline access code (e.g. Dormakaba oracode with exhausted override budget). */
80260
+ failed_devices?:
80261
+ | {
80262
+ /** Device whose access code could not be revoked. */
80263
+ device_id: string
80264
+ /** Reason the access code could not be revoked (e.g. `offline_access_code_not_revocable`). */
80265
+ error_code: string
80266
+ /** Human-readable description of why revocation failed. */
80267
+ message: string
80268
+ }[]
80269
+ | undefined
80171
80270
  }
80172
80271
  | {
80173
80272
  /** Date and time at which Seam created the warning. */
@@ -80633,6 +80732,17 @@ export type Routes = {
80633
80732
  message: string
80634
80733
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
80635
80734
  warning_code: 'overprovisioned_access'
80735
+ /** Devices whose access codes could not be revoked during reconciliation. Present when the provider does not support revoking an offline access code (e.g. Dormakaba oracode with exhausted override budget). */
80736
+ failed_devices?:
80737
+ | {
80738
+ /** Device whose access code could not be revoked. */
80739
+ device_id: string
80740
+ /** Reason the access code could not be revoked (e.g. `offline_access_code_not_revocable`). */
80741
+ error_code: string
80742
+ /** Human-readable description of why revocation failed. */
80743
+ message: string
80744
+ }[]
80745
+ | undefined
80636
80746
  }
80637
80747
  | {
80638
80748
  /** Date and time at which Seam created the warning. */
@@ -114313,6 +114423,17 @@ export type Routes = {
114313
114423
  message: string
114314
114424
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
114315
114425
  warning_code: 'overprovisioned_access'
114426
+ /** Devices whose access codes could not be revoked during reconciliation. Present when the provider does not support revoking an offline access code (e.g. Dormakaba oracode with exhausted override budget). */
114427
+ failed_devices?:
114428
+ | {
114429
+ /** Device whose access code could not be revoked. */
114430
+ device_id: string
114431
+ /** Reason the access code could not be revoked (e.g. `offline_access_code_not_revocable`). */
114432
+ error_code: string
114433
+ /** Human-readable description of why revocation failed. */
114434
+ message: string
114435
+ }[]
114436
+ | undefined
114316
114437
  }
114317
114438
  | {
114318
114439
  /** Date and time at which Seam created the warning. */