@seamapi/types 1.1010.0 → 1.1012.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.
@@ -1939,6 +1939,15 @@ export type Routes = {
1939
1939
  created_at?: string | undefined;
1940
1940
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1941
1941
  error_code: 'access_code_inactive';
1942
+ } | {
1943
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
1944
+ message: string;
1945
+ /** Indicates that this is an access code error. */
1946
+ is_access_code_error: true;
1947
+ /** Date and time at which Seam created the error. */
1948
+ created_at?: string | undefined;
1949
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1950
+ error_code: 'code_constraints_violated';
1942
1951
  } | {
1943
1952
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
1944
1953
  message: string;
@@ -2427,6 +2436,15 @@ export type Routes = {
2427
2436
  created_at?: string | undefined;
2428
2437
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2429
2438
  error_code: 'access_code_inactive';
2439
+ } | {
2440
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
2441
+ message: string;
2442
+ /** Indicates that this is an access code error. */
2443
+ is_access_code_error: true;
2444
+ /** Date and time at which Seam created the error. */
2445
+ created_at?: string | undefined;
2446
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2447
+ error_code: 'code_constraints_violated';
2430
2448
  } | {
2431
2449
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
2432
2450
  message: string;
@@ -4719,6 +4737,15 @@ export type Routes = {
4719
4737
  created_at?: string | undefined;
4720
4738
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4721
4739
  error_code: 'access_code_inactive';
4740
+ } | {
4741
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
4742
+ message: string;
4743
+ /** Indicates that this is an access code error. */
4744
+ is_access_code_error: true;
4745
+ /** Date and time at which Seam created the error. */
4746
+ created_at?: string | undefined;
4747
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4748
+ error_code: 'code_constraints_violated';
4722
4749
  } | {
4723
4750
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
4724
4751
  message: string;
@@ -5255,6 +5282,15 @@ export type Routes = {
5255
5282
  created_at?: string | undefined;
5256
5283
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5257
5284
  error_code: 'access_code_inactive';
5285
+ } | {
5286
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
5287
+ message: string;
5288
+ /** Indicates that this is an access code error. */
5289
+ is_access_code_error: true;
5290
+ /** Date and time at which Seam created the error. */
5291
+ created_at?: string | undefined;
5292
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5293
+ error_code: 'code_constraints_violated';
5258
5294
  } | {
5259
5295
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
5260
5296
  message: string;
@@ -5734,6 +5770,15 @@ export type Routes = {
5734
5770
  created_at?: string | undefined;
5735
5771
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5736
5772
  error_code: 'access_code_inactive';
5773
+ } | {
5774
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
5775
+ message: string;
5776
+ /** Indicates that this is an access code error. */
5777
+ is_access_code_error: true;
5778
+ /** Date and time at which Seam created the error. */
5779
+ created_at?: string | undefined;
5780
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5781
+ error_code: 'code_constraints_violated';
5737
5782
  } | {
5738
5783
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
5739
5784
  message: string;
@@ -6190,6 +6235,15 @@ export type Routes = {
6190
6235
  created_at?: string | undefined;
6191
6236
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
6192
6237
  error_code: 'access_code_inactive';
6238
+ } | {
6239
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
6240
+ message: string;
6241
+ /** Indicates that this is an access code error. */
6242
+ is_access_code_error: true;
6243
+ /** Date and time at which Seam created the error. */
6244
+ created_at?: string | undefined;
6245
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
6246
+ error_code: 'code_constraints_violated';
6193
6247
  } | {
6194
6248
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
6195
6249
  message: string;
@@ -6679,6 +6733,15 @@ export type Routes = {
6679
6733
  created_at?: string | undefined;
6680
6734
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
6681
6735
  error_code: 'access_code_inactive';
6736
+ } | {
6737
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
6738
+ message: string;
6739
+ /** Indicates that this is an access code error. */
6740
+ is_access_code_error: true;
6741
+ /** Date and time at which Seam created the error. */
6742
+ created_at?: string | undefined;
6743
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
6744
+ error_code: 'code_constraints_violated';
6682
6745
  } | {
6683
6746
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
6684
6747
  message: string;
@@ -8880,6 +8943,15 @@ export type Routes = {
8880
8943
  created_at?: string | undefined;
8881
8944
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
8882
8945
  error_code: 'access_code_inactive';
8946
+ } | {
8947
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
8948
+ message: string;
8949
+ /** Indicates that this is an access code error. */
8950
+ is_access_code_error: true;
8951
+ /** Date and time at which Seam created the error. */
8952
+ created_at?: string | undefined;
8953
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
8954
+ error_code: 'code_constraints_violated';
8883
8955
  } | {
8884
8956
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
8885
8957
  message: string;
@@ -9255,6 +9327,15 @@ export type Routes = {
9255
9327
  created_at?: string | undefined;
9256
9328
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
9257
9329
  error_code: 'access_code_inactive';
9330
+ } | {
9331
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
9332
+ message: string;
9333
+ /** Indicates that this is an access code error. */
9334
+ is_access_code_error: true;
9335
+ /** Date and time at which Seam created the error. */
9336
+ created_at?: string | undefined;
9337
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
9338
+ error_code: 'code_constraints_violated';
9258
9339
  } | {
9259
9340
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
9260
9341
  message: string;
@@ -124997,6 +125078,15 @@ export type Routes = {
124997
125078
  created_at?: string | undefined;
124998
125079
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
124999
125080
  error_code: 'access_code_inactive';
125081
+ } | {
125082
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
125083
+ message: string;
125084
+ /** Indicates that this is an access code error. */
125085
+ is_access_code_error: true;
125086
+ /** Date and time at which Seam created the error. */
125087
+ created_at?: string | undefined;
125088
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
125089
+ error_code: 'code_constraints_violated';
125000
125090
  } | {
125001
125091
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
125002
125092
  message: string;
@@ -125356,6 +125446,15 @@ export type Routes = {
125356
125446
  created_at?: string | undefined;
125357
125447
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
125358
125448
  error_code: 'access_code_inactive';
125449
+ } | {
125450
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
125451
+ message: string;
125452
+ /** Indicates that this is an access code error. */
125453
+ is_access_code_error: true;
125454
+ /** Date and time at which Seam created the error. */
125455
+ created_at?: string | undefined;
125456
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
125457
+ error_code: 'code_constraints_violated';
125359
125458
  } | {
125360
125459
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
125361
125460
  message: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.1010.0",
3
+ "version": "1.1012.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -135,6 +135,17 @@ const access_code_inactive_error = common_access_code_error.extend({
135
135
  Indicates that the access code is disabled or inactive on the device. The code exists but will not grant access until re-enabled.
136
136
  `)
137
137
 
138
+ const code_constraints_violated = common_access_code_error.extend({
139
+ error_code: z
140
+ .literal('code_constraints_violated')
141
+ .describe(error_code_description),
142
+ }).describe(`
143
+ ---
144
+ resource_type: access_code
145
+ ---
146
+ The code cannot be set on the device because it violates the device's code constraints (for example, its length, digits, or a too-simple value). The code will not be retried until you change it. See the device's \`code_constraints\` and \`supported_code_lengths\`.
147
+ `)
148
+
138
149
  const access_code_error = z
139
150
  .discriminatedUnion('error_code', [
140
151
  provider_issue,
@@ -144,6 +155,7 @@ const access_code_error = z
144
155
  no_space_for_access_code_on_device,
145
156
  conflicting_external_modification_error,
146
157
  access_code_inactive_error,
158
+ code_constraints_violated,
147
159
  ])
148
160
  .describe(
149
161
  'Errors associated with the [access code](https://docs.seam.co/low-level-apis/smart-locks/access-codes).',
@@ -165,6 +177,7 @@ const _access_code_error_map = z.object({
165
177
  .optional()
166
178
  .nullable(),
167
179
  access_code_inactive: access_code_inactive_error.optional().nullable(),
180
+ code_constraints_violated: code_constraints_violated.optional().nullable(),
168
181
  })
169
182
 
170
183
  export type AccessCodeErrorMap = z.infer<typeof _access_code_error_map>
@@ -1,15 +1,22 @@
1
1
  import { z } from 'zod'
2
2
 
3
+ const custom_metadata_key = z
4
+ .string()
5
+ .max(40)
6
+ .refine((key) => !key.includes('.'), {
7
+ message: 'Custom metadata key names cannot contain a period (.)',
8
+ })
9
+
3
10
  export const custom_metadata_input = z
4
11
  .record(
5
- z.string().max(40),
12
+ custom_metadata_key,
6
13
  z.union([z.string().max(500), z.boolean(), z.null()]),
7
14
  )
8
15
  .refine((val) => Object.keys(val).length <= 50, {
9
16
  message: 'Custom metadata is limited to a maximum of 50 keys',
10
17
  })
11
18
  .describe(
12
- 'Set of up to 50 key:value pairs, with key names up to 40 characters long. Accepts string or Boolean values. Strings are limited to 500 characters. Adding custom metadata to a resource, such as a [Connect Webview](https://docs.seam.co/core-concepts/connect-webviews/attaching-custom-data-to-the-connect-webview), [connected account](https://docs.seam.co/core-concepts/connected-accounts/adding-custom-metadata-to-a-connected-account), or [device](https://docs.seam.co/core-concepts/devices/adding-custom-metadata-to-a-device), enables you to store custom information, like customer details or internal IDs from your application.',
19
+ 'Set of up to 50 key:value pairs, with key names up to 40 characters long that cannot contain a period (.). Accepts string or Boolean values. Strings are limited to 500 characters. Adding custom metadata to a resource, such as a [Connect Webview](https://docs.seam.co/core-concepts/connect-webviews/attaching-custom-data-to-the-connect-webview), [connected account](https://docs.seam.co/core-concepts/connected-accounts/adding-custom-metadata-to-a-connected-account), or [device](https://docs.seam.co/core-concepts/devices/adding-custom-metadata-to-a-device), enables you to store custom information, like customer details or internal IDs from your application.',
13
20
  )
14
21
 
15
22
  export const custom_metadata = z
@@ -367,6 +367,38 @@ const openapi: OpenAPISpec = {
367
367
  type: 'object',
368
368
  'x-resource-type': 'access_code',
369
369
  },
370
+ {
371
+ description:
372
+ "The code cannot be set on the device because it violates the device's code constraints (for example, its length, digits, or a too-simple value). The code will not be retried until you change it. See the device's `code_constraints` and `supported_code_lengths`.",
373
+ properties: {
374
+ created_at: {
375
+ description:
376
+ 'Date and time at which Seam created the error.',
377
+ format: 'date-time',
378
+ type: 'string',
379
+ },
380
+ error_code: {
381
+ description:
382
+ 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
383
+ enum: ['code_constraints_violated'],
384
+ type: 'string',
385
+ },
386
+ is_access_code_error: {
387
+ description:
388
+ 'Indicates that this is an access code error.',
389
+ enum: [true],
390
+ type: 'boolean',
391
+ },
392
+ message: {
393
+ description:
394
+ 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
395
+ type: 'string',
396
+ },
397
+ },
398
+ required: ['message', 'is_access_code_error', 'error_code'],
399
+ type: 'object',
400
+ 'x-resource-type': 'access_code',
401
+ },
370
402
  {
371
403
  description: 'Indicates that the account is disconnected.',
372
404
  properties: {
@@ -30476,6 +30508,38 @@ const openapi: OpenAPISpec = {
30476
30508
  type: 'object',
30477
30509
  'x-resource-type': 'access_code',
30478
30510
  },
30511
+ {
30512
+ description:
30513
+ "The code cannot be set on the device because it violates the device's code constraints (for example, its length, digits, or a too-simple value). The code will not be retried until you change it. See the device's `code_constraints` and `supported_code_lengths`.",
30514
+ properties: {
30515
+ created_at: {
30516
+ description:
30517
+ 'Date and time at which Seam created the error.',
30518
+ format: 'date-time',
30519
+ type: 'string',
30520
+ },
30521
+ error_code: {
30522
+ description:
30523
+ 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
30524
+ enum: ['code_constraints_violated'],
30525
+ type: 'string',
30526
+ },
30527
+ is_access_code_error: {
30528
+ description:
30529
+ 'Indicates that this is an access code error.',
30530
+ enum: [true],
30531
+ type: 'boolean',
30532
+ },
30533
+ message: {
30534
+ description:
30535
+ 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
30536
+ type: 'string',
30537
+ },
30538
+ },
30539
+ required: ['message', 'is_access_code_error', 'error_code'],
30540
+ type: 'object',
30541
+ 'x-resource-type': 'access_code',
30542
+ },
30479
30543
  {
30480
30544
  description: 'Indicates that the account is disconnected.',
30481
30545
  properties: {
@@ -2253,6 +2253,16 @@ export type Routes = {
2253
2253
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2254
2254
  error_code: 'access_code_inactive'
2255
2255
  }
2256
+ | {
2257
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
2258
+ message: string
2259
+ /** Indicates that this is an access code error. */
2260
+ is_access_code_error: true
2261
+ /** Date and time at which Seam created the error. */
2262
+ created_at?: string | undefined
2263
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2264
+ error_code: 'code_constraints_violated'
2265
+ }
2256
2266
  | {
2257
2267
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
2258
2268
  message: string
@@ -2788,6 +2798,16 @@ export type Routes = {
2788
2798
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2789
2799
  error_code: 'access_code_inactive'
2790
2800
  }
2801
+ | {
2802
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
2803
+ message: string
2804
+ /** Indicates that this is an access code error. */
2805
+ is_access_code_error: true
2806
+ /** Date and time at which Seam created the error. */
2807
+ created_at?: string | undefined
2808
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2809
+ error_code: 'code_constraints_violated'
2810
+ }
2791
2811
  | {
2792
2812
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
2793
2813
  message: string
@@ -5431,6 +5451,16 @@ export type Routes = {
5431
5451
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5432
5452
  error_code: 'access_code_inactive'
5433
5453
  }
5454
+ | {
5455
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
5456
+ message: string
5457
+ /** Indicates that this is an access code error. */
5458
+ is_access_code_error: true
5459
+ /** Date and time at which Seam created the error. */
5460
+ created_at?: string | undefined
5461
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5462
+ error_code: 'code_constraints_violated'
5463
+ }
5434
5464
  | {
5435
5465
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
5436
5466
  message: string
@@ -6067,6 +6097,16 @@ export type Routes = {
6067
6097
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
6068
6098
  error_code: 'access_code_inactive'
6069
6099
  }
6100
+ | {
6101
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
6102
+ message: string
6103
+ /** Indicates that this is an access code error. */
6104
+ is_access_code_error: true
6105
+ /** Date and time at which Seam created the error. */
6106
+ created_at?: string | undefined
6107
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
6108
+ error_code: 'code_constraints_violated'
6109
+ }
6070
6110
  | {
6071
6111
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
6072
6112
  message: string
@@ -6593,6 +6633,16 @@ export type Routes = {
6593
6633
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
6594
6634
  error_code: 'access_code_inactive'
6595
6635
  }
6636
+ | {
6637
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
6638
+ message: string
6639
+ /** Indicates that this is an access code error. */
6640
+ is_access_code_error: true
6641
+ /** Date and time at which Seam created the error. */
6642
+ created_at?: string | undefined
6643
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
6644
+ error_code: 'code_constraints_violated'
6645
+ }
6596
6646
  | {
6597
6647
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
6598
6648
  message: string
@@ -7096,6 +7146,16 @@ export type Routes = {
7096
7146
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
7097
7147
  error_code: 'access_code_inactive'
7098
7148
  }
7149
+ | {
7150
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
7151
+ message: string
7152
+ /** Indicates that this is an access code error. */
7153
+ is_access_code_error: true
7154
+ /** Date and time at which Seam created the error. */
7155
+ created_at?: string | undefined
7156
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
7157
+ error_code: 'code_constraints_violated'
7158
+ }
7099
7159
  | {
7100
7160
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
7101
7161
  message: string
@@ -7632,6 +7692,16 @@ export type Routes = {
7632
7692
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
7633
7693
  error_code: 'access_code_inactive'
7634
7694
  }
7695
+ | {
7696
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
7697
+ message: string
7698
+ /** Indicates that this is an access code error. */
7699
+ is_access_code_error: true
7700
+ /** Date and time at which Seam created the error. */
7701
+ created_at?: string | undefined
7702
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
7703
+ error_code: 'code_constraints_violated'
7704
+ }
7635
7705
  | {
7636
7706
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
7637
7707
  message: string
@@ -10177,6 +10247,16 @@ export type Routes = {
10177
10247
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
10178
10248
  error_code: 'access_code_inactive'
10179
10249
  }
10250
+ | {
10251
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
10252
+ message: string
10253
+ /** Indicates that this is an access code error. */
10254
+ is_access_code_error: true
10255
+ /** Date and time at which Seam created the error. */
10256
+ created_at?: string | undefined
10257
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
10258
+ error_code: 'code_constraints_violated'
10259
+ }
10180
10260
  | {
10181
10261
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
10182
10262
  message: string
@@ -10592,6 +10672,16 @@ export type Routes = {
10592
10672
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
10593
10673
  error_code: 'access_code_inactive'
10594
10674
  }
10675
+ | {
10676
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
10677
+ message: string
10678
+ /** Indicates that this is an access code error. */
10679
+ is_access_code_error: true
10680
+ /** Date and time at which Seam created the error. */
10681
+ created_at?: string | undefined
10682
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
10683
+ error_code: 'code_constraints_violated'
10684
+ }
10595
10685
  | {
10596
10686
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
10597
10687
  message: string
@@ -149674,6 +149764,16 @@ export type Routes = {
149674
149764
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
149675
149765
  error_code: 'access_code_inactive'
149676
149766
  }
149767
+ | {
149768
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
149769
+ message: string
149770
+ /** Indicates that this is an access code error. */
149771
+ is_access_code_error: true
149772
+ /** Date and time at which Seam created the error. */
149773
+ created_at?: string | undefined
149774
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
149775
+ error_code: 'code_constraints_violated'
149776
+ }
149677
149777
  | {
149678
149778
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
149679
149779
  message: string
@@ -150075,6 +150175,16 @@ export type Routes = {
150075
150175
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
150076
150176
  error_code: 'access_code_inactive'
150077
150177
  }
150178
+ | {
150179
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
150180
+ message: string
150181
+ /** Indicates that this is an access code error. */
150182
+ is_access_code_error: true
150183
+ /** Date and time at which Seam created the error. */
150184
+ created_at?: string | undefined
150185
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
150186
+ error_code: 'code_constraints_violated'
150187
+ }
150078
150188
  | {
150079
150189
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
150080
150190
  message: string