@seamapi/types 1.948.0 → 1.949.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.
@@ -1785,15 +1785,6 @@ export type Routes = {
1785
1785
  unmanaged_access_code_id?: string | undefined;
1786
1786
  /** ID of the managed access code that conflicts with this managed access code, when Seam can identify it. */
1787
1787
  managed_access_code_id?: string | undefined;
1788
- } | {
1789
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
1790
- message: string;
1791
- /** Indicates that this is an access code error. */
1792
- is_access_code_error: true;
1793
- /** Date and time at which Seam created the error. */
1794
- created_at?: string | undefined;
1795
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1796
- error_code: 'duplicate_code_attempt_prevented';
1797
1788
  } | {
1798
1789
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
1799
1790
  message: string;
@@ -2300,15 +2291,6 @@ export type Routes = {
2300
2291
  unmanaged_access_code_id?: string | undefined;
2301
2292
  /** ID of the managed access code that conflicts with this managed access code, when Seam can identify it. */
2302
2293
  managed_access_code_id?: string | undefined;
2303
- } | {
2304
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
2305
- message: string;
2306
- /** Indicates that this is an access code error. */
2307
- is_access_code_error: true;
2308
- /** Date and time at which Seam created the error. */
2309
- created_at?: string | undefined;
2310
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2311
- error_code: 'duplicate_code_attempt_prevented';
2312
2294
  } | {
2313
2295
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
2314
2296
  message: string;
@@ -4503,15 +4485,6 @@ export type Routes = {
4503
4485
  unmanaged_access_code_id?: string | undefined;
4504
4486
  /** ID of the managed access code that conflicts with this managed access code, when Seam can identify it. */
4505
4487
  managed_access_code_id?: string | undefined;
4506
- } | {
4507
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
4508
- message: string;
4509
- /** Indicates that this is an access code error. */
4510
- is_access_code_error: true;
4511
- /** Date and time at which Seam created the error. */
4512
- created_at?: string | undefined;
4513
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4514
- error_code: 'duplicate_code_attempt_prevented';
4515
4488
  } | {
4516
4489
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
4517
4490
  message: string;
@@ -5064,15 +5037,6 @@ export type Routes = {
5064
5037
  unmanaged_access_code_id?: string | undefined;
5065
5038
  /** ID of the managed access code that conflicts with this managed access code, when Seam can identify it. */
5066
5039
  managed_access_code_id?: string | undefined;
5067
- } | {
5068
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
5069
- message: string;
5070
- /** Indicates that this is an access code error. */
5071
- is_access_code_error: true;
5072
- /** Date and time at which Seam created the error. */
5073
- created_at?: string | undefined;
5074
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5075
- error_code: 'duplicate_code_attempt_prevented';
5076
5040
  } | {
5077
5041
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
5078
5042
  message: string;
@@ -5570,15 +5534,6 @@ export type Routes = {
5570
5534
  unmanaged_access_code_id?: string | undefined;
5571
5535
  /** ID of the managed access code that conflicts with this managed access code, when Seam can identify it. */
5572
5536
  managed_access_code_id?: string | undefined;
5573
- } | {
5574
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
5575
- message: string;
5576
- /** Indicates that this is an access code error. */
5577
- is_access_code_error: true;
5578
- /** Date and time at which Seam created the error. */
5579
- created_at?: string | undefined;
5580
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5581
- error_code: 'duplicate_code_attempt_prevented';
5582
5537
  } | {
5583
5538
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
5584
5539
  message: string;
@@ -6053,15 +6008,6 @@ export type Routes = {
6053
6008
  unmanaged_access_code_id?: string | undefined;
6054
6009
  /** ID of the managed access code that conflicts with this managed access code, when Seam can identify it. */
6055
6010
  managed_access_code_id?: string | undefined;
6056
- } | {
6057
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
6058
- message: string;
6059
- /** Indicates that this is an access code error. */
6060
- is_access_code_error: true;
6061
- /** Date and time at which Seam created the error. */
6062
- created_at?: string | undefined;
6063
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
6064
- error_code: 'duplicate_code_attempt_prevented';
6065
6011
  } | {
6066
6012
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
6067
6013
  message: string;
@@ -6569,15 +6515,6 @@ export type Routes = {
6569
6515
  unmanaged_access_code_id?: string | undefined;
6570
6516
  /** ID of the managed access code that conflicts with this managed access code, when Seam can identify it. */
6571
6517
  managed_access_code_id?: string | undefined;
6572
- } | {
6573
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
6574
- message: string;
6575
- /** Indicates that this is an access code error. */
6576
- is_access_code_error: true;
6577
- /** Date and time at which Seam created the error. */
6578
- created_at?: string | undefined;
6579
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
6580
- error_code: 'duplicate_code_attempt_prevented';
6581
6518
  } | {
6582
6519
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
6583
6520
  message: string;
@@ -8681,15 +8618,6 @@ export type Routes = {
8681
8618
  unmanaged_access_code_id?: string | undefined;
8682
8619
  /** ID of the managed access code that conflicts with this managed access code, when Seam can identify it. */
8683
8620
  managed_access_code_id?: string | undefined;
8684
- } | {
8685
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
8686
- message: string;
8687
- /** Indicates that this is an access code error. */
8688
- is_access_code_error: true;
8689
- /** Date and time at which Seam created the error. */
8690
- created_at?: string | undefined;
8691
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
8692
- error_code: 'duplicate_code_attempt_prevented';
8693
8621
  } | {
8694
8622
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
8695
8623
  message: string;
@@ -9083,15 +9011,6 @@ export type Routes = {
9083
9011
  unmanaged_access_code_id?: string | undefined;
9084
9012
  /** ID of the managed access code that conflicts with this managed access code, when Seam can identify it. */
9085
9013
  managed_access_code_id?: string | undefined;
9086
- } | {
9087
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
9088
- message: string;
9089
- /** Indicates that this is an access code error. */
9090
- is_access_code_error: true;
9091
- /** Date and time at which Seam created the error. */
9092
- created_at?: string | undefined;
9093
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
9094
- error_code: 'duplicate_code_attempt_prevented';
9095
9014
  } | {
9096
9015
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
9097
9016
  message: string;
@@ -119794,15 +119713,6 @@ export type Routes = {
119794
119713
  unmanaged_access_code_id?: string | undefined;
119795
119714
  /** ID of the managed access code that conflicts with this managed access code, when Seam can identify it. */
119796
119715
  managed_access_code_id?: string | undefined;
119797
- } | {
119798
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
119799
- message: string;
119800
- /** Indicates that this is an access code error. */
119801
- is_access_code_error: true;
119802
- /** Date and time at which Seam created the error. */
119803
- created_at?: string | undefined;
119804
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
119805
- error_code: 'duplicate_code_attempt_prevented';
119806
119716
  } | {
119807
119717
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
119808
119718
  message: string;
@@ -120180,15 +120090,6 @@ export type Routes = {
120180
120090
  unmanaged_access_code_id?: string | undefined;
120181
120091
  /** ID of the managed access code that conflicts with this managed access code, when Seam can identify it. */
120182
120092
  managed_access_code_id?: string | undefined;
120183
- } | {
120184
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
120185
- message: string;
120186
- /** Indicates that this is an access code error. */
120187
- is_access_code_error: true;
120188
- /** Date and time at which Seam created the error. */
120189
- created_at?: string | undefined;
120190
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
120191
- error_code: 'duplicate_code_attempt_prevented';
120192
120093
  } | {
120193
120094
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
120194
120095
  message: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.948.0",
3
+ "version": "1.949.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -111,17 +111,6 @@ const duplicate_code_on_device = common_access_code_error.extend({
111
111
  Duplicate access code detected on device.
112
112
  `)
113
113
 
114
- const duplicate_code_attempt_prevented = common_access_code_error.extend({
115
- error_code: z
116
- .literal('duplicate_code_attempt_prevented')
117
- .describe(error_code_description),
118
- }).describe(`
119
- ---
120
- resource_type: access_code
121
- ---
122
- An attempt to modify this access code was prevented.
123
- `)
124
-
125
114
  const no_space_for_access_code_on_device = common_access_code_error.extend({
126
115
  error_code: z
127
116
  .literal('no_space_for_access_code_on_device')
@@ -161,7 +150,6 @@ const access_code_error = z
161
150
  failed_to_set_on_device,
162
151
  failed_to_remove_from_device,
163
152
  duplicate_code_on_device,
164
- duplicate_code_attempt_prevented,
165
153
  no_space_for_access_code_on_device,
166
154
  code_modified_external_to_seam_error,
167
155
  access_code_inactive_error,
@@ -183,9 +171,6 @@ const _access_code_error_map = z.object({
183
171
  .optional()
184
172
  .nullable(),
185
173
  duplicate_code_on_device: duplicate_code_on_device.optional().nullable(),
186
- duplicate_code_attempt_prevented: duplicate_code_attempt_prevented
187
- .optional()
188
- .nullable(),
189
174
  insufficient_permissions: insufficient_permissions.optional().nullable(),
190
175
  code_modified_external_to_seam_error: code_modified_external_to_seam_error
191
176
  .optional()
@@ -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: {
@@ -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: {
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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