@seamapi/types 1.695.0 → 1.696.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.
- package/dist/connect.cjs +211 -18
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +293 -0
- package/dist/index.cjs +211 -18
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/access-grants/access-grant.d.ts +92 -0
- package/lib/seam/connect/models/access-grants/access-grant.js +24 -0
- package/lib/seam/connect/models/access-grants/access-grant.js.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +34 -0
- package/lib/seam/connect/openapi.d.ts +145 -0
- package/lib/seam/connect/openapi.js +174 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +90 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-grants/access-grant.ts +40 -0
- package/src/lib/seam/connect/openapi.ts +194 -0
- package/src/lib/seam/connect/route-types.ts +90 -0
|
@@ -10166,6 +10166,15 @@ export type Routes = {
|
|
|
10166
10166
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
10167
10167
|
warning_code: 'being_deleted';
|
|
10168
10168
|
}[];
|
|
10169
|
+
/** Errors associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants). */
|
|
10170
|
+
errors: {
|
|
10171
|
+
/** Date and time at which Seam created the error. */
|
|
10172
|
+
created_at: string;
|
|
10173
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
10174
|
+
message: string;
|
|
10175
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
10176
|
+
error_code: 'cannot_create_requested_access_methods';
|
|
10177
|
+
}[];
|
|
10169
10178
|
/** ID of the customization profile associated with the Access Grant. */
|
|
10170
10179
|
customization_profile_id?: string | undefined;
|
|
10171
10180
|
};
|
|
@@ -10254,6 +10263,15 @@ export type Routes = {
|
|
|
10254
10263
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
10255
10264
|
warning_code: 'being_deleted';
|
|
10256
10265
|
}[];
|
|
10266
|
+
/** Errors associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants). */
|
|
10267
|
+
errors: {
|
|
10268
|
+
/** Date and time at which Seam created the error. */
|
|
10269
|
+
created_at: string;
|
|
10270
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
10271
|
+
message: string;
|
|
10272
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
10273
|
+
error_code: 'cannot_create_requested_access_methods';
|
|
10274
|
+
}[];
|
|
10257
10275
|
/** ID of the customization profile associated with the Access Grant. */
|
|
10258
10276
|
customization_profile_id?: string | undefined;
|
|
10259
10277
|
};
|
|
@@ -12082,6 +12100,15 @@ export type Routes = {
|
|
|
12082
12100
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
12083
12101
|
warning_code: 'being_deleted';
|
|
12084
12102
|
}[];
|
|
12103
|
+
/** Errors associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants). */
|
|
12104
|
+
errors: {
|
|
12105
|
+
/** Date and time at which Seam created the error. */
|
|
12106
|
+
created_at: string;
|
|
12107
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
12108
|
+
message: string;
|
|
12109
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
12110
|
+
error_code: 'cannot_create_requested_access_methods';
|
|
12111
|
+
}[];
|
|
12085
12112
|
/** ID of the customization profile associated with the Access Grant. */
|
|
12086
12113
|
customization_profile_id?: string | undefined;
|
|
12087
12114
|
}[];
|
|
@@ -12161,6 +12188,15 @@ export type Routes = {
|
|
|
12161
12188
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
12162
12189
|
warning_code: 'being_deleted';
|
|
12163
12190
|
}[];
|
|
12191
|
+
/** Errors associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants). */
|
|
12192
|
+
errors: {
|
|
12193
|
+
/** Date and time at which Seam created the error. */
|
|
12194
|
+
created_at: string;
|
|
12195
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
12196
|
+
message: string;
|
|
12197
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
12198
|
+
error_code: 'cannot_create_requested_access_methods';
|
|
12199
|
+
}[];
|
|
12164
12200
|
/** ID of the customization profile associated with the Access Grant. */
|
|
12165
12201
|
customization_profile_id?: string | undefined;
|
|
12166
12202
|
};
|
|
@@ -12225,6 +12261,15 @@ export type Routes = {
|
|
|
12225
12261
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
12226
12262
|
warning_code: 'being_deleted';
|
|
12227
12263
|
}[];
|
|
12264
|
+
/** Errors associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants). */
|
|
12265
|
+
errors: {
|
|
12266
|
+
/** Date and time at which Seam created the error. */
|
|
12267
|
+
created_at: string;
|
|
12268
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
12269
|
+
message: string;
|
|
12270
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
12271
|
+
error_code: 'cannot_create_requested_access_methods';
|
|
12272
|
+
}[];
|
|
12228
12273
|
/** ID of user identity to which the Access Grant gives access. */
|
|
12229
12274
|
user_identity_id?: string | undefined;
|
|
12230
12275
|
};
|
|
@@ -12294,6 +12339,15 @@ export type Routes = {
|
|
|
12294
12339
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
12295
12340
|
warning_code: 'being_deleted';
|
|
12296
12341
|
}[];
|
|
12342
|
+
/** Errors associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants). */
|
|
12343
|
+
errors: {
|
|
12344
|
+
/** Date and time at which Seam created the error. */
|
|
12345
|
+
created_at: string;
|
|
12346
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
12347
|
+
message: string;
|
|
12348
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
12349
|
+
error_code: 'cannot_create_requested_access_methods';
|
|
12350
|
+
}[];
|
|
12297
12351
|
/** ID of user identity to which the Access Grant gives access. */
|
|
12298
12352
|
user_identity_id?: string | undefined;
|
|
12299
12353
|
}[];
|
|
@@ -15126,6 +15180,15 @@ export type Routes = {
|
|
|
15126
15180
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
15127
15181
|
warning_code: 'being_deleted';
|
|
15128
15182
|
}[];
|
|
15183
|
+
/** Errors associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants). */
|
|
15184
|
+
errors: {
|
|
15185
|
+
/** Date and time at which Seam created the error. */
|
|
15186
|
+
created_at: string;
|
|
15187
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
15188
|
+
message: string;
|
|
15189
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
15190
|
+
error_code: 'cannot_create_requested_access_methods';
|
|
15191
|
+
}[];
|
|
15129
15192
|
/** ID of the customization profile associated with the Access Grant. */
|
|
15130
15193
|
customization_profile_id?: string | undefined;
|
|
15131
15194
|
}[] | undefined;
|
|
@@ -52424,6 +52487,15 @@ export type Routes = {
|
|
|
52424
52487
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
52425
52488
|
warning_code: 'being_deleted';
|
|
52426
52489
|
}[];
|
|
52490
|
+
/** Errors associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants). */
|
|
52491
|
+
errors: {
|
|
52492
|
+
/** Date and time at which Seam created the error. */
|
|
52493
|
+
created_at: string;
|
|
52494
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
52495
|
+
message: string;
|
|
52496
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
52497
|
+
error_code: 'cannot_create_requested_access_methods';
|
|
52498
|
+
}[];
|
|
52427
52499
|
/** ID of the customization profile associated with the Access Grant. */
|
|
52428
52500
|
customization_profile_id?: string | undefined;
|
|
52429
52501
|
}[];
|
|
@@ -55298,6 +55370,15 @@ export type Routes = {
|
|
|
55298
55370
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
55299
55371
|
warning_code: 'being_deleted';
|
|
55300
55372
|
}[];
|
|
55373
|
+
/** Errors associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants). */
|
|
55374
|
+
errors: {
|
|
55375
|
+
/** Date and time at which Seam created the error. */
|
|
55376
|
+
created_at: string;
|
|
55377
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
55378
|
+
message: string;
|
|
55379
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
55380
|
+
error_code: 'cannot_create_requested_access_methods';
|
|
55381
|
+
}[];
|
|
55301
55382
|
/** ID of the customization profile associated with the Access Grant. */
|
|
55302
55383
|
customization_profile_id?: string | undefined;
|
|
55303
55384
|
};
|
|
@@ -81539,6 +81620,15 @@ export type Routes = {
|
|
|
81539
81620
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
81540
81621
|
warning_code: 'being_deleted';
|
|
81541
81622
|
}[];
|
|
81623
|
+
/** Errors associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants). */
|
|
81624
|
+
errors: {
|
|
81625
|
+
/** Date and time at which Seam created the error. */
|
|
81626
|
+
created_at: string;
|
|
81627
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
81628
|
+
message: string;
|
|
81629
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
81630
|
+
error_code: 'cannot_create_requested_access_methods';
|
|
81631
|
+
}[];
|
|
81542
81632
|
/** ID of the customization profile associated with the Access Grant. */
|
|
81543
81633
|
customization_profile_id?: string | undefined;
|
|
81544
81634
|
}[] | undefined;
|
package/package.json
CHANGED
|
@@ -2,6 +2,28 @@ import { z } from 'zod'
|
|
|
2
2
|
|
|
3
3
|
import { requested_access_method } from './requested-access-method.js'
|
|
4
4
|
|
|
5
|
+
const common_access_grant_error = z.object({
|
|
6
|
+
created_at: z
|
|
7
|
+
.string()
|
|
8
|
+
.datetime()
|
|
9
|
+
.describe('Date and time at which Seam created the error.'),
|
|
10
|
+
message: z
|
|
11
|
+
.string()
|
|
12
|
+
.describe(
|
|
13
|
+
'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
14
|
+
),
|
|
15
|
+
})
|
|
16
|
+
|
|
17
|
+
const error_code_description =
|
|
18
|
+
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.'
|
|
19
|
+
|
|
20
|
+
const cannot_create_requested_access_methods_error =
|
|
21
|
+
common_access_grant_error.extend({
|
|
22
|
+
error_code: z
|
|
23
|
+
.literal('cannot_create_requested_access_methods')
|
|
24
|
+
.describe(error_code_description),
|
|
25
|
+
})
|
|
26
|
+
|
|
5
27
|
const common_access_grant_warning = z.object({
|
|
6
28
|
created_at: z
|
|
7
29
|
.string()
|
|
@@ -17,6 +39,19 @@ const common_access_grant_warning = z.object({
|
|
|
17
39
|
const warning_code_description =
|
|
18
40
|
'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.'
|
|
19
41
|
|
|
42
|
+
const access_grant_error = z.discriminatedUnion('error_code', [
|
|
43
|
+
cannot_create_requested_access_methods_error,
|
|
44
|
+
])
|
|
45
|
+
|
|
46
|
+
export type AccessGrantError = z.infer<typeof access_grant_error>
|
|
47
|
+
|
|
48
|
+
export const _access_grant_error_map = z.object({
|
|
49
|
+
cannot_create_requested_access_methods:
|
|
50
|
+
cannot_create_requested_access_methods_error.optional().nullable(),
|
|
51
|
+
})
|
|
52
|
+
|
|
53
|
+
export type AccessGrantErrorMap = z.infer<typeof _access_grant_error_map>
|
|
54
|
+
|
|
20
55
|
const being_deleted = common_access_grant_warning
|
|
21
56
|
.extend({
|
|
22
57
|
warning_code: z.literal('being_deleted').describe(warning_code_description),
|
|
@@ -107,6 +142,11 @@ export const access_grant = z.object({
|
|
|
107
142
|
.describe(
|
|
108
143
|
'Warnings associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants).',
|
|
109
144
|
),
|
|
145
|
+
errors: z
|
|
146
|
+
.array(access_grant_error)
|
|
147
|
+
.describe(
|
|
148
|
+
'Errors associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants).',
|
|
149
|
+
),
|
|
110
150
|
customization_profile_id: z
|
|
111
151
|
.string()
|
|
112
152
|
.uuid()
|
|
@@ -1888,6 +1888,39 @@ export default {
|
|
|
1888
1888
|
nullable: true,
|
|
1889
1889
|
type: 'string',
|
|
1890
1890
|
},
|
|
1891
|
+
errors: {
|
|
1892
|
+
description:
|
|
1893
|
+
'Errors associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants).',
|
|
1894
|
+
items: {
|
|
1895
|
+
discriminator: { propertyName: 'error_code' },
|
|
1896
|
+
oneOf: [
|
|
1897
|
+
{
|
|
1898
|
+
properties: {
|
|
1899
|
+
created_at: {
|
|
1900
|
+
description:
|
|
1901
|
+
'Date and time at which Seam created the error.',
|
|
1902
|
+
format: 'date-time',
|
|
1903
|
+
type: 'string',
|
|
1904
|
+
},
|
|
1905
|
+
error_code: {
|
|
1906
|
+
description:
|
|
1907
|
+
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
1908
|
+
enum: ['cannot_create_requested_access_methods'],
|
|
1909
|
+
type: 'string',
|
|
1910
|
+
},
|
|
1911
|
+
message: {
|
|
1912
|
+
description:
|
|
1913
|
+
'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
1914
|
+
type: 'string',
|
|
1915
|
+
},
|
|
1916
|
+
},
|
|
1917
|
+
required: ['created_at', 'message', 'error_code'],
|
|
1918
|
+
type: 'object',
|
|
1919
|
+
},
|
|
1920
|
+
],
|
|
1921
|
+
},
|
|
1922
|
+
type: 'array',
|
|
1923
|
+
},
|
|
1891
1924
|
instant_key_url: {
|
|
1892
1925
|
description:
|
|
1893
1926
|
'Instant Key URL. Only returned if the Access Grant has a single mobile_key access_method. ',
|
|
@@ -2031,6 +2064,7 @@ export default {
|
|
|
2031
2064
|
'starts_at',
|
|
2032
2065
|
'ends_at',
|
|
2033
2066
|
'warnings',
|
|
2067
|
+
'errors',
|
|
2034
2068
|
],
|
|
2035
2069
|
type: 'object',
|
|
2036
2070
|
'x-draft': 'Early access.',
|
|
@@ -30156,6 +30190,45 @@ export default {
|
|
|
30156
30190
|
nullable: true,
|
|
30157
30191
|
type: 'string',
|
|
30158
30192
|
},
|
|
30193
|
+
errors: {
|
|
30194
|
+
description:
|
|
30195
|
+
'Errors associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants).',
|
|
30196
|
+
items: {
|
|
30197
|
+
discriminator: { propertyName: 'error_code' },
|
|
30198
|
+
oneOf: [
|
|
30199
|
+
{
|
|
30200
|
+
properties: {
|
|
30201
|
+
created_at: {
|
|
30202
|
+
description:
|
|
30203
|
+
'Date and time at which Seam created the error.',
|
|
30204
|
+
format: 'date-time',
|
|
30205
|
+
type: 'string',
|
|
30206
|
+
},
|
|
30207
|
+
error_code: {
|
|
30208
|
+
description:
|
|
30209
|
+
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
30210
|
+
enum: [
|
|
30211
|
+
'cannot_create_requested_access_methods',
|
|
30212
|
+
],
|
|
30213
|
+
type: 'string',
|
|
30214
|
+
},
|
|
30215
|
+
message: {
|
|
30216
|
+
description:
|
|
30217
|
+
'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
30218
|
+
type: 'string',
|
|
30219
|
+
},
|
|
30220
|
+
},
|
|
30221
|
+
required: [
|
|
30222
|
+
'created_at',
|
|
30223
|
+
'message',
|
|
30224
|
+
'error_code',
|
|
30225
|
+
],
|
|
30226
|
+
type: 'object',
|
|
30227
|
+
},
|
|
30228
|
+
],
|
|
30229
|
+
},
|
|
30230
|
+
type: 'array',
|
|
30231
|
+
},
|
|
30159
30232
|
location_ids: {
|
|
30160
30233
|
deprecated: true,
|
|
30161
30234
|
items: { format: 'uuid', type: 'string' },
|
|
@@ -30298,6 +30371,7 @@ export default {
|
|
|
30298
30371
|
'starts_at',
|
|
30299
30372
|
'ends_at',
|
|
30300
30373
|
'warnings',
|
|
30374
|
+
'errors',
|
|
30301
30375
|
],
|
|
30302
30376
|
type: 'object',
|
|
30303
30377
|
'x-draft': 'Early access.',
|
|
@@ -30389,6 +30463,45 @@ export default {
|
|
|
30389
30463
|
nullable: true,
|
|
30390
30464
|
type: 'string',
|
|
30391
30465
|
},
|
|
30466
|
+
errors: {
|
|
30467
|
+
description:
|
|
30468
|
+
'Errors associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants).',
|
|
30469
|
+
items: {
|
|
30470
|
+
discriminator: { propertyName: 'error_code' },
|
|
30471
|
+
oneOf: [
|
|
30472
|
+
{
|
|
30473
|
+
properties: {
|
|
30474
|
+
created_at: {
|
|
30475
|
+
description:
|
|
30476
|
+
'Date and time at which Seam created the error.',
|
|
30477
|
+
format: 'date-time',
|
|
30478
|
+
type: 'string',
|
|
30479
|
+
},
|
|
30480
|
+
error_code: {
|
|
30481
|
+
description:
|
|
30482
|
+
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
30483
|
+
enum: [
|
|
30484
|
+
'cannot_create_requested_access_methods',
|
|
30485
|
+
],
|
|
30486
|
+
type: 'string',
|
|
30487
|
+
},
|
|
30488
|
+
message: {
|
|
30489
|
+
description:
|
|
30490
|
+
'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
30491
|
+
type: 'string',
|
|
30492
|
+
},
|
|
30493
|
+
},
|
|
30494
|
+
required: [
|
|
30495
|
+
'created_at',
|
|
30496
|
+
'message',
|
|
30497
|
+
'error_code',
|
|
30498
|
+
],
|
|
30499
|
+
type: 'object',
|
|
30500
|
+
},
|
|
30501
|
+
],
|
|
30502
|
+
},
|
|
30503
|
+
type: 'array',
|
|
30504
|
+
},
|
|
30392
30505
|
location_ids: {
|
|
30393
30506
|
deprecated: true,
|
|
30394
30507
|
items: { format: 'uuid', type: 'string' },
|
|
@@ -30531,6 +30644,7 @@ export default {
|
|
|
30531
30644
|
'starts_at',
|
|
30532
30645
|
'ends_at',
|
|
30533
30646
|
'warnings',
|
|
30647
|
+
'errors',
|
|
30534
30648
|
],
|
|
30535
30649
|
type: 'object',
|
|
30536
30650
|
'x-draft': 'Early access.',
|
|
@@ -30647,6 +30761,45 @@ export default {
|
|
|
30647
30761
|
nullable: true,
|
|
30648
30762
|
type: 'string',
|
|
30649
30763
|
},
|
|
30764
|
+
errors: {
|
|
30765
|
+
description:
|
|
30766
|
+
'Errors associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants).',
|
|
30767
|
+
items: {
|
|
30768
|
+
discriminator: { propertyName: 'error_code' },
|
|
30769
|
+
oneOf: [
|
|
30770
|
+
{
|
|
30771
|
+
properties: {
|
|
30772
|
+
created_at: {
|
|
30773
|
+
description:
|
|
30774
|
+
'Date and time at which Seam created the error.',
|
|
30775
|
+
format: 'date-time',
|
|
30776
|
+
type: 'string',
|
|
30777
|
+
},
|
|
30778
|
+
error_code: {
|
|
30779
|
+
description:
|
|
30780
|
+
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
30781
|
+
enum: [
|
|
30782
|
+
'cannot_create_requested_access_methods',
|
|
30783
|
+
],
|
|
30784
|
+
type: 'string',
|
|
30785
|
+
},
|
|
30786
|
+
message: {
|
|
30787
|
+
description:
|
|
30788
|
+
'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
30789
|
+
type: 'string',
|
|
30790
|
+
},
|
|
30791
|
+
},
|
|
30792
|
+
required: [
|
|
30793
|
+
'created_at',
|
|
30794
|
+
'message',
|
|
30795
|
+
'error_code',
|
|
30796
|
+
],
|
|
30797
|
+
type: 'object',
|
|
30798
|
+
},
|
|
30799
|
+
],
|
|
30800
|
+
},
|
|
30801
|
+
type: 'array',
|
|
30802
|
+
},
|
|
30650
30803
|
location_ids: {
|
|
30651
30804
|
deprecated: true,
|
|
30652
30805
|
items: { format: 'uuid', type: 'string' },
|
|
@@ -30790,6 +30943,7 @@ export default {
|
|
|
30790
30943
|
'starts_at',
|
|
30791
30944
|
'ends_at',
|
|
30792
30945
|
'warnings',
|
|
30946
|
+
'errors',
|
|
30793
30947
|
],
|
|
30794
30948
|
type: 'object',
|
|
30795
30949
|
'x-draft': 'Early access.',
|
|
@@ -30900,6 +31054,45 @@ export default {
|
|
|
30900
31054
|
nullable: true,
|
|
30901
31055
|
type: 'string',
|
|
30902
31056
|
},
|
|
31057
|
+
errors: {
|
|
31058
|
+
description:
|
|
31059
|
+
'Errors associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants).',
|
|
31060
|
+
items: {
|
|
31061
|
+
discriminator: { propertyName: 'error_code' },
|
|
31062
|
+
oneOf: [
|
|
31063
|
+
{
|
|
31064
|
+
properties: {
|
|
31065
|
+
created_at: {
|
|
31066
|
+
description:
|
|
31067
|
+
'Date and time at which Seam created the error.',
|
|
31068
|
+
format: 'date-time',
|
|
31069
|
+
type: 'string',
|
|
31070
|
+
},
|
|
31071
|
+
error_code: {
|
|
31072
|
+
description:
|
|
31073
|
+
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
31074
|
+
enum: [
|
|
31075
|
+
'cannot_create_requested_access_methods',
|
|
31076
|
+
],
|
|
31077
|
+
type: 'string',
|
|
31078
|
+
},
|
|
31079
|
+
message: {
|
|
31080
|
+
description:
|
|
31081
|
+
'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
31082
|
+
type: 'string',
|
|
31083
|
+
},
|
|
31084
|
+
},
|
|
31085
|
+
required: [
|
|
31086
|
+
'created_at',
|
|
31087
|
+
'message',
|
|
31088
|
+
'error_code',
|
|
31089
|
+
],
|
|
31090
|
+
type: 'object',
|
|
31091
|
+
},
|
|
31092
|
+
],
|
|
31093
|
+
},
|
|
31094
|
+
type: 'array',
|
|
31095
|
+
},
|
|
30903
31096
|
location_ids: {
|
|
30904
31097
|
deprecated: true,
|
|
30905
31098
|
items: { format: 'uuid', type: 'string' },
|
|
@@ -31043,6 +31236,7 @@ export default {
|
|
|
31043
31236
|
'starts_at',
|
|
31044
31237
|
'ends_at',
|
|
31045
31238
|
'warnings',
|
|
31239
|
+
'errors',
|
|
31046
31240
|
],
|
|
31047
31241
|
type: 'object',
|
|
31048
31242
|
'x-draft': 'Early access.',
|
|
@@ -11439,6 +11439,15 @@ export type Routes = {
|
|
|
11439
11439
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
11440
11440
|
warning_code: 'being_deleted'
|
|
11441
11441
|
}[]
|
|
11442
|
+
/** Errors associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants). */
|
|
11443
|
+
errors: {
|
|
11444
|
+
/** Date and time at which Seam created the error. */
|
|
11445
|
+
created_at: string
|
|
11446
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
11447
|
+
message: string
|
|
11448
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
11449
|
+
error_code: 'cannot_create_requested_access_methods'
|
|
11450
|
+
}[]
|
|
11442
11451
|
/** ID of the customization profile associated with the Access Grant. */
|
|
11443
11452
|
customization_profile_id?: string | undefined
|
|
11444
11453
|
}
|
|
@@ -11529,6 +11538,15 @@ export type Routes = {
|
|
|
11529
11538
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
11530
11539
|
warning_code: 'being_deleted'
|
|
11531
11540
|
}[]
|
|
11541
|
+
/** Errors associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants). */
|
|
11542
|
+
errors: {
|
|
11543
|
+
/** Date and time at which Seam created the error. */
|
|
11544
|
+
created_at: string
|
|
11545
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
11546
|
+
message: string
|
|
11547
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
11548
|
+
error_code: 'cannot_create_requested_access_methods'
|
|
11549
|
+
}[]
|
|
11532
11550
|
/** ID of the customization profile associated with the Access Grant. */
|
|
11533
11551
|
customization_profile_id?: string | undefined
|
|
11534
11552
|
}
|
|
@@ -13845,6 +13863,15 @@ export type Routes = {
|
|
|
13845
13863
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
13846
13864
|
warning_code: 'being_deleted'
|
|
13847
13865
|
}[]
|
|
13866
|
+
/** Errors associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants). */
|
|
13867
|
+
errors: {
|
|
13868
|
+
/** Date and time at which Seam created the error. */
|
|
13869
|
+
created_at: string
|
|
13870
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
13871
|
+
message: string
|
|
13872
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
13873
|
+
error_code: 'cannot_create_requested_access_methods'
|
|
13874
|
+
}[]
|
|
13848
13875
|
/** ID of the customization profile associated with the Access Grant. */
|
|
13849
13876
|
customization_profile_id?: string | undefined
|
|
13850
13877
|
}[]
|
|
@@ -13924,6 +13951,15 @@ export type Routes = {
|
|
|
13924
13951
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
13925
13952
|
warning_code: 'being_deleted'
|
|
13926
13953
|
}[]
|
|
13954
|
+
/** Errors associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants). */
|
|
13955
|
+
errors: {
|
|
13956
|
+
/** Date and time at which Seam created the error. */
|
|
13957
|
+
created_at: string
|
|
13958
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
13959
|
+
message: string
|
|
13960
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
13961
|
+
error_code: 'cannot_create_requested_access_methods'
|
|
13962
|
+
}[]
|
|
13927
13963
|
/** ID of the customization profile associated with the Access Grant. */
|
|
13928
13964
|
customization_profile_id?: string | undefined
|
|
13929
13965
|
}
|
|
@@ -13988,6 +14024,15 @@ export type Routes = {
|
|
|
13988
14024
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
13989
14025
|
warning_code: 'being_deleted'
|
|
13990
14026
|
}[]
|
|
14027
|
+
/** Errors associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants). */
|
|
14028
|
+
errors: {
|
|
14029
|
+
/** Date and time at which Seam created the error. */
|
|
14030
|
+
created_at: string
|
|
14031
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
14032
|
+
message: string
|
|
14033
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
14034
|
+
error_code: 'cannot_create_requested_access_methods'
|
|
14035
|
+
}[]
|
|
13991
14036
|
/** ID of user identity to which the Access Grant gives access. */
|
|
13992
14037
|
user_identity_id?: string | undefined
|
|
13993
14038
|
}
|
|
@@ -14057,6 +14102,15 @@ export type Routes = {
|
|
|
14057
14102
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
14058
14103
|
warning_code: 'being_deleted'
|
|
14059
14104
|
}[]
|
|
14105
|
+
/** Errors associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants). */
|
|
14106
|
+
errors: {
|
|
14107
|
+
/** Date and time at which Seam created the error. */
|
|
14108
|
+
created_at: string
|
|
14109
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
14110
|
+
message: string
|
|
14111
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
14112
|
+
error_code: 'cannot_create_requested_access_methods'
|
|
14113
|
+
}[]
|
|
14060
14114
|
/** ID of user identity to which the Access Grant gives access. */
|
|
14061
14115
|
user_identity_id?: string | undefined
|
|
14062
14116
|
}[]
|
|
@@ -17476,6 +17530,15 @@ export type Routes = {
|
|
|
17476
17530
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
17477
17531
|
warning_code: 'being_deleted'
|
|
17478
17532
|
}[]
|
|
17533
|
+
/** Errors associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants). */
|
|
17534
|
+
errors: {
|
|
17535
|
+
/** Date and time at which Seam created the error. */
|
|
17536
|
+
created_at: string
|
|
17537
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
17538
|
+
message: string
|
|
17539
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
17540
|
+
error_code: 'cannot_create_requested_access_methods'
|
|
17541
|
+
}[]
|
|
17479
17542
|
/** ID of the customization profile associated with the Access Grant. */
|
|
17480
17543
|
customization_profile_id?: string | undefined
|
|
17481
17544
|
}[]
|
|
@@ -62687,6 +62750,15 @@ export type Routes = {
|
|
|
62687
62750
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
62688
62751
|
warning_code: 'being_deleted'
|
|
62689
62752
|
}[]
|
|
62753
|
+
/** Errors associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants). */
|
|
62754
|
+
errors: {
|
|
62755
|
+
/** Date and time at which Seam created the error. */
|
|
62756
|
+
created_at: string
|
|
62757
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
62758
|
+
message: string
|
|
62759
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
62760
|
+
error_code: 'cannot_create_requested_access_methods'
|
|
62761
|
+
}[]
|
|
62690
62762
|
/** ID of the customization profile associated with the Access Grant. */
|
|
62691
62763
|
customization_profile_id?: string | undefined
|
|
62692
62764
|
}[]
|
|
@@ -66212,6 +66284,15 @@ export type Routes = {
|
|
|
66212
66284
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
66213
66285
|
warning_code: 'being_deleted'
|
|
66214
66286
|
}[]
|
|
66287
|
+
/** Errors associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants). */
|
|
66288
|
+
errors: {
|
|
66289
|
+
/** Date and time at which Seam created the error. */
|
|
66290
|
+
created_at: string
|
|
66291
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
66292
|
+
message: string
|
|
66293
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
66294
|
+
error_code: 'cannot_create_requested_access_methods'
|
|
66295
|
+
}[]
|
|
66215
66296
|
/** ID of the customization profile associated with the Access Grant. */
|
|
66216
66297
|
customization_profile_id?: string | undefined
|
|
66217
66298
|
}
|
|
@@ -97393,6 +97474,15 @@ export type Routes = {
|
|
|
97393
97474
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
97394
97475
|
warning_code: 'being_deleted'
|
|
97395
97476
|
}[]
|
|
97477
|
+
/** Errors associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants). */
|
|
97478
|
+
errors: {
|
|
97479
|
+
/** Date and time at which Seam created the error. */
|
|
97480
|
+
created_at: string
|
|
97481
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
97482
|
+
message: string
|
|
97483
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
97484
|
+
error_code: 'cannot_create_requested_access_methods'
|
|
97485
|
+
}[]
|
|
97396
97486
|
/** ID of the customization profile associated with the Access Grant. */
|
|
97397
97487
|
customization_profile_id?: string | undefined
|
|
97398
97488
|
}[]
|