@seamapi/types 1.1098.0 → 1.1100.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/lib/seam/connect/models/access-grants/access-grant.d.ts +87 -8
- package/lib/seam/connect/models/access-grants/access-grant.js +12 -0
- package/lib/seam/connect/models/access-grants/access-grant.js.map +1 -1
- package/lib/seam/connect/models/access-grants/access-method.d.ts +74 -8
- package/lib/seam/connect/models/access-grants/access-method.js +15 -1
- package/lib/seam/connect/models/access-grants/access-method.js.map +1 -1
- package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +112 -8
- package/lib/seam/connect/models/action-attempts/action-attempt.js +2 -0
- package/lib/seam/connect/models/action-attempts/action-attempt.js.map +1 -1
- package/lib/seam/connect/models/action-attempts/assign-credential.d.ts +37 -8
- package/lib/seam/connect/models/action-attempts/convert-access-code-to-managed.d.ts +77 -0
- package/lib/seam/connect/models/action-attempts/convert-access-code-to-managed.js +31 -0
- package/lib/seam/connect/models/action-attempts/convert-access-code-to-managed.js.map +1 -0
- package/lib/seam/connect/openapi.js +215 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +1667 -106
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-grants/access-grant.ts +13 -0
- package/src/lib/seam/connect/models/access-grants/access-method.ts +16 -1
- package/src/lib/seam/connect/models/action-attempts/action-attempt.ts +2 -0
- package/src/lib/seam/connect/models/action-attempts/convert-access-code-to-managed.ts +44 -0
- package/src/lib/seam/connect/openapi.ts +246 -0
- package/src/lib/seam/connect/route-types.ts +2451 -629
|
@@ -137,6 +137,19 @@ export declare const assign_credential_action_attempt: z.ZodDiscriminatedUnion<"
|
|
|
137
137
|
message: string;
|
|
138
138
|
created_at: string;
|
|
139
139
|
error_code: "failed_to_issue";
|
|
140
|
+
}>, z.ZodObject<{
|
|
141
|
+
created_at: z.ZodString;
|
|
142
|
+
message: z.ZodString;
|
|
143
|
+
} & {
|
|
144
|
+
error_code: z.ZodLiteral<"access_not_provisioned">;
|
|
145
|
+
}, "strip", z.ZodTypeAny, {
|
|
146
|
+
message: string;
|
|
147
|
+
created_at: string;
|
|
148
|
+
error_code: "access_not_provisioned";
|
|
149
|
+
}, {
|
|
150
|
+
message: string;
|
|
151
|
+
created_at: string;
|
|
152
|
+
error_code: "access_not_provisioned";
|
|
140
153
|
}>]>, "many">;
|
|
141
154
|
pending_mutations: z.ZodArray<z.ZodDiscriminatedUnion<"mutation_code", [z.ZodObject<{
|
|
142
155
|
created_at: z.ZodString;
|
|
@@ -271,11 +284,15 @@ export declare const assign_credential_action_attempt: z.ZodDiscriminatedUnion<"
|
|
|
271
284
|
display_name: string;
|
|
272
285
|
workspace_id: string;
|
|
273
286
|
created_at: string;
|
|
274
|
-
errors: {
|
|
287
|
+
errors: ({
|
|
275
288
|
message: string;
|
|
276
289
|
created_at: string;
|
|
277
290
|
error_code: "failed_to_issue";
|
|
278
|
-
}
|
|
291
|
+
} | {
|
|
292
|
+
message: string;
|
|
293
|
+
created_at: string;
|
|
294
|
+
error_code: "access_not_provisioned";
|
|
295
|
+
})[];
|
|
279
296
|
warnings: ({
|
|
280
297
|
message: string;
|
|
281
298
|
created_at: string;
|
|
@@ -352,11 +369,15 @@ export declare const assign_credential_action_attempt: z.ZodDiscriminatedUnion<"
|
|
|
352
369
|
display_name: string;
|
|
353
370
|
workspace_id: string;
|
|
354
371
|
created_at: string;
|
|
355
|
-
errors: {
|
|
372
|
+
errors: ({
|
|
356
373
|
message: string;
|
|
357
374
|
created_at: string;
|
|
358
375
|
error_code: "failed_to_issue";
|
|
359
|
-
}
|
|
376
|
+
} | {
|
|
377
|
+
message: string;
|
|
378
|
+
created_at: string;
|
|
379
|
+
error_code: "access_not_provisioned";
|
|
380
|
+
})[];
|
|
360
381
|
warnings: ({
|
|
361
382
|
message: string;
|
|
362
383
|
created_at: string;
|
|
@@ -438,11 +459,15 @@ export declare const assign_credential_action_attempt: z.ZodDiscriminatedUnion<"
|
|
|
438
459
|
display_name: string;
|
|
439
460
|
workspace_id: string;
|
|
440
461
|
created_at: string;
|
|
441
|
-
errors: {
|
|
462
|
+
errors: ({
|
|
442
463
|
message: string;
|
|
443
464
|
created_at: string;
|
|
444
465
|
error_code: "failed_to_issue";
|
|
445
|
-
}
|
|
466
|
+
} | {
|
|
467
|
+
message: string;
|
|
468
|
+
created_at: string;
|
|
469
|
+
error_code: "access_not_provisioned";
|
|
470
|
+
})[];
|
|
446
471
|
warnings: ({
|
|
447
472
|
message: string;
|
|
448
473
|
created_at: string;
|
|
@@ -525,11 +550,15 @@ export declare const assign_credential_action_attempt: z.ZodDiscriminatedUnion<"
|
|
|
525
550
|
display_name: string;
|
|
526
551
|
workspace_id: string;
|
|
527
552
|
created_at: string;
|
|
528
|
-
errors: {
|
|
553
|
+
errors: ({
|
|
529
554
|
message: string;
|
|
530
555
|
created_at: string;
|
|
531
556
|
error_code: "failed_to_issue";
|
|
532
|
-
}
|
|
557
|
+
} | {
|
|
558
|
+
message: string;
|
|
559
|
+
created_at: string;
|
|
560
|
+
error_code: "access_not_provisioned";
|
|
561
|
+
})[];
|
|
533
562
|
warnings: ({
|
|
534
563
|
message: string;
|
|
535
564
|
created_at: string;
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import * as z from 'zod/v3';
|
|
2
|
+
export declare const convert_access_code_to_managed_action_attempt: z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
|
|
3
|
+
action_attempt_id: z.ZodString;
|
|
4
|
+
} & {
|
|
5
|
+
status: z.ZodLiteral<"pending">;
|
|
6
|
+
result: z.ZodNull;
|
|
7
|
+
error: z.ZodNull;
|
|
8
|
+
} & {
|
|
9
|
+
action_type: z.ZodLiteral<"CONVERT_ACCESS_CODE_TO_MANAGED">;
|
|
10
|
+
}, "strip", z.ZodTypeAny, {
|
|
11
|
+
status: "pending";
|
|
12
|
+
action_attempt_id: string;
|
|
13
|
+
error: null;
|
|
14
|
+
result: null;
|
|
15
|
+
action_type: "CONVERT_ACCESS_CODE_TO_MANAGED";
|
|
16
|
+
}, {
|
|
17
|
+
status: "pending";
|
|
18
|
+
action_attempt_id: string;
|
|
19
|
+
error: null;
|
|
20
|
+
result: null;
|
|
21
|
+
action_type: "CONVERT_ACCESS_CODE_TO_MANAGED";
|
|
22
|
+
}>, z.ZodObject<{
|
|
23
|
+
action_attempt_id: z.ZodString;
|
|
24
|
+
} & {
|
|
25
|
+
status: z.ZodLiteral<"success">;
|
|
26
|
+
error: z.ZodNull;
|
|
27
|
+
} & {
|
|
28
|
+
action_type: z.ZodLiteral<"CONVERT_ACCESS_CODE_TO_MANAGED">;
|
|
29
|
+
result: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
30
|
+
}, "strip", z.ZodTypeAny, {
|
|
31
|
+
status: "success";
|
|
32
|
+
action_attempt_id: string;
|
|
33
|
+
error: null;
|
|
34
|
+
result: {};
|
|
35
|
+
action_type: "CONVERT_ACCESS_CODE_TO_MANAGED";
|
|
36
|
+
}, {
|
|
37
|
+
status: "success";
|
|
38
|
+
action_attempt_id: string;
|
|
39
|
+
error: null;
|
|
40
|
+
result: {};
|
|
41
|
+
action_type: "CONVERT_ACCESS_CODE_TO_MANAGED";
|
|
42
|
+
}>, z.ZodObject<{
|
|
43
|
+
action_attempt_id: z.ZodString;
|
|
44
|
+
} & {
|
|
45
|
+
status: z.ZodLiteral<"error">;
|
|
46
|
+
result: z.ZodNull;
|
|
47
|
+
} & {
|
|
48
|
+
action_type: z.ZodLiteral<"CONVERT_ACCESS_CODE_TO_MANAGED">;
|
|
49
|
+
error: z.ZodObject<{
|
|
50
|
+
type: z.ZodString;
|
|
51
|
+
message: z.ZodString;
|
|
52
|
+
}, "strip", z.ZodTypeAny, {
|
|
53
|
+
message: string;
|
|
54
|
+
type: string;
|
|
55
|
+
}, {
|
|
56
|
+
message: string;
|
|
57
|
+
type: string;
|
|
58
|
+
}>;
|
|
59
|
+
}, "strip", z.ZodTypeAny, {
|
|
60
|
+
status: "error";
|
|
61
|
+
action_attempt_id: string;
|
|
62
|
+
error: {
|
|
63
|
+
message: string;
|
|
64
|
+
type: string;
|
|
65
|
+
};
|
|
66
|
+
result: null;
|
|
67
|
+
action_type: "CONVERT_ACCESS_CODE_TO_MANAGED";
|
|
68
|
+
}, {
|
|
69
|
+
status: "error";
|
|
70
|
+
action_attempt_id: string;
|
|
71
|
+
error: {
|
|
72
|
+
message: string;
|
|
73
|
+
type: string;
|
|
74
|
+
};
|
|
75
|
+
result: null;
|
|
76
|
+
action_type: "CONVERT_ACCESS_CODE_TO_MANAGED";
|
|
77
|
+
}>]>;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import * as z from 'zod/v3';
|
|
2
|
+
import { common_failed_action_attempt, common_pending_action_attempt, common_succeeded_action_attempt, } from './common.js';
|
|
3
|
+
const action_type = z
|
|
4
|
+
.literal('CONVERT_ACCESS_CODE_TO_MANAGED')
|
|
5
|
+
.describe('Action attempt to track the status of converting an unmanaged access code to a managed access code.');
|
|
6
|
+
const error = z
|
|
7
|
+
.object({
|
|
8
|
+
type: z.string().describe('Type of the error.'),
|
|
9
|
+
message: z
|
|
10
|
+
.string()
|
|
11
|
+
.describe('Detailed description of the error. Provides insights into the issue and potentially how to rectify it.'),
|
|
12
|
+
})
|
|
13
|
+
.describe('Error associated with the action.');
|
|
14
|
+
const result = z.object({}).describe('Result of the action.');
|
|
15
|
+
export const convert_access_code_to_managed_action_attempt = z.discriminatedUnion('status', [
|
|
16
|
+
common_pending_action_attempt
|
|
17
|
+
.extend({
|
|
18
|
+
action_type,
|
|
19
|
+
})
|
|
20
|
+
.describe('Converting an unmanaged access code to managed is pending.'),
|
|
21
|
+
common_succeeded_action_attempt
|
|
22
|
+
.extend({
|
|
23
|
+
action_type,
|
|
24
|
+
result,
|
|
25
|
+
})
|
|
26
|
+
.describe('Converting an unmanaged access code to managed succeeded.'),
|
|
27
|
+
common_failed_action_attempt
|
|
28
|
+
.extend({ action_type, error })
|
|
29
|
+
.describe('Converting an unmanaged access code to managed failed.'),
|
|
30
|
+
]);
|
|
31
|
+
//# sourceMappingURL=convert-access-code-to-managed.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"convert-access-code-to-managed.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/action-attempts/convert-access-code-to-managed.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAA;AAE3B,OAAO,EACL,4BAA4B,EAC5B,6BAA6B,EAC7B,+BAA+B,GAChC,MAAM,aAAa,CAAA;AAEpB,MAAM,WAAW,GAAG,CAAC;KAClB,OAAO,CAAC,gCAAgC,CAAC;KACzC,QAAQ,CACP,qGAAqG,CACtG,CAAA;AAEH,MAAM,KAAK,GAAG,CAAC;KACZ,MAAM,CAAC;IACN,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,oBAAoB,CAAC;IAC/C,OAAO,EAAE,CAAC;SACP,MAAM,EAAE;SACR,QAAQ,CACP,wGAAwG,CACzG;CACJ,CAAC;KACD,QAAQ,CAAC,mCAAmC,CAAC,CAAA;AAEhD,MAAM,MAAM,GAAG,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,QAAQ,CAAC,uBAAuB,CAAC,CAAA;AAE7D,MAAM,CAAC,MAAM,6CAA6C,GACxD,CAAC,CAAC,kBAAkB,CAAC,QAAQ,EAAE;IAC7B,6BAA6B;SAC1B,MAAM,CAAC;QACN,WAAW;KACZ,CAAC;SACD,QAAQ,CAAC,4DAA4D,CAAC;IACzE,+BAA+B;SAC5B,MAAM,CAAC;QACN,WAAW;QACX,MAAM;KACP,CAAC;SACD,QAAQ,CAAC,2DAA2D,CAAC;IACxE,4BAA4B;SACzB,MAAM,CAAC,EAAE,WAAW,EAAE,KAAK,EAAE,CAAC;SAC9B,QAAQ,CAAC,wDAAwD,CAAC;CACtE,CAAC,CAAA"}
|
|
@@ -1634,6 +1634,28 @@ const openapi = {
|
|
|
1634
1634
|
type: 'object',
|
|
1635
1635
|
'x-resource-type': 'access_grant',
|
|
1636
1636
|
},
|
|
1637
|
+
{
|
|
1638
|
+
description: 'Indicates that the access system rejected the access that Seam tried to set up for this access grant, so its credentials cannot open the affected entrances. For example, a hotel room may already be reserved or checked in for another guest. The message contains the reason that the access system gave. Seam keeps retrying, and this error clears automatically once the access system accepts the access.',
|
|
1639
|
+
properties: {
|
|
1640
|
+
created_at: {
|
|
1641
|
+
description: 'Date and time at which Seam created the error.',
|
|
1642
|
+
format: 'date-time',
|
|
1643
|
+
type: 'string',
|
|
1644
|
+
},
|
|
1645
|
+
error_code: {
|
|
1646
|
+
description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
1647
|
+
enum: ['access_not_provisioned'],
|
|
1648
|
+
type: 'string',
|
|
1649
|
+
},
|
|
1650
|
+
message: {
|
|
1651
|
+
description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
1652
|
+
type: 'string',
|
|
1653
|
+
},
|
|
1654
|
+
},
|
|
1655
|
+
required: ['created_at', 'message', 'error_code'],
|
|
1656
|
+
type: 'object',
|
|
1657
|
+
'x-resource-type': 'access_grant',
|
|
1658
|
+
},
|
|
1637
1659
|
],
|
|
1638
1660
|
},
|
|
1639
1661
|
type: 'array',
|
|
@@ -2186,6 +2208,28 @@ const openapi = {
|
|
|
2186
2208
|
type: 'object',
|
|
2187
2209
|
'x-resource-type': 'access_method',
|
|
2188
2210
|
},
|
|
2211
|
+
{
|
|
2212
|
+
description: 'Indicates that the access system rejected the access that Seam tried to set up for this access method, so its credential cannot open the affected entrances, even after it is issued. For example, a hotel room may already be reserved or checked in for another guest. The message contains the reason that the access system gave. Seam keeps retrying, and this error clears automatically once the access system accepts the access.',
|
|
2213
|
+
properties: {
|
|
2214
|
+
created_at: {
|
|
2215
|
+
description: 'Date and time at which Seam created the error.',
|
|
2216
|
+
format: 'date-time',
|
|
2217
|
+
type: 'string',
|
|
2218
|
+
},
|
|
2219
|
+
error_code: {
|
|
2220
|
+
description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
2221
|
+
enum: ['access_not_provisioned'],
|
|
2222
|
+
type: 'string',
|
|
2223
|
+
},
|
|
2224
|
+
message: {
|
|
2225
|
+
description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
2226
|
+
type: 'string',
|
|
2227
|
+
},
|
|
2228
|
+
},
|
|
2229
|
+
required: ['created_at', 'message', 'error_code'],
|
|
2230
|
+
type: 'object',
|
|
2231
|
+
'x-resource-type': 'access_method',
|
|
2232
|
+
},
|
|
2189
2233
|
],
|
|
2190
2234
|
},
|
|
2191
2235
|
type: 'array',
|
|
@@ -8685,6 +8729,28 @@ const openapi = {
|
|
|
8685
8729
|
type: 'object',
|
|
8686
8730
|
'x-resource-type': 'access_method',
|
|
8687
8731
|
},
|
|
8732
|
+
{
|
|
8733
|
+
description: 'Indicates that the access system rejected the access that Seam tried to set up for this access method, so its credential cannot open the affected entrances, even after it is issued. For example, a hotel room may already be reserved or checked in for another guest. The message contains the reason that the access system gave. Seam keeps retrying, and this error clears automatically once the access system accepts the access.',
|
|
8734
|
+
properties: {
|
|
8735
|
+
created_at: {
|
|
8736
|
+
description: 'Date and time at which Seam created the error.',
|
|
8737
|
+
format: 'date-time',
|
|
8738
|
+
type: 'string',
|
|
8739
|
+
},
|
|
8740
|
+
error_code: {
|
|
8741
|
+
description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
8742
|
+
enum: ['access_not_provisioned'],
|
|
8743
|
+
type: 'string',
|
|
8744
|
+
},
|
|
8745
|
+
message: {
|
|
8746
|
+
description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
8747
|
+
type: 'string',
|
|
8748
|
+
},
|
|
8749
|
+
},
|
|
8750
|
+
required: ['created_at', 'message', 'error_code'],
|
|
8751
|
+
type: 'object',
|
|
8752
|
+
'x-resource-type': 'access_method',
|
|
8753
|
+
},
|
|
8688
8754
|
],
|
|
8689
8755
|
},
|
|
8690
8756
|
type: 'array',
|
|
@@ -10099,6 +10165,111 @@ const openapi = {
|
|
|
10099
10165
|
],
|
|
10100
10166
|
type: 'object',
|
|
10101
10167
|
},
|
|
10168
|
+
{
|
|
10169
|
+
description: 'Converting an unmanaged access code to managed is pending.',
|
|
10170
|
+
properties: {
|
|
10171
|
+
action_attempt_id: {
|
|
10172
|
+
description: 'ID of the action attempt.',
|
|
10173
|
+
format: 'uuid',
|
|
10174
|
+
type: 'string',
|
|
10175
|
+
},
|
|
10176
|
+
action_type: {
|
|
10177
|
+
description: 'Action attempt to track the status of converting an unmanaged access code to a managed access code.',
|
|
10178
|
+
enum: ['CONVERT_ACCESS_CODE_TO_MANAGED'],
|
|
10179
|
+
type: 'string',
|
|
10180
|
+
},
|
|
10181
|
+
error: {
|
|
10182
|
+
description: 'Errors associated with the action attempt. Null for pending action attempts.',
|
|
10183
|
+
nullable: true,
|
|
10184
|
+
},
|
|
10185
|
+
result: {
|
|
10186
|
+
description: 'Result of the action attempt. Null for pending action attempts.',
|
|
10187
|
+
nullable: true,
|
|
10188
|
+
},
|
|
10189
|
+
status: { enum: ['pending'], type: 'string' },
|
|
10190
|
+
},
|
|
10191
|
+
required: [
|
|
10192
|
+
'action_attempt_id',
|
|
10193
|
+
'status',
|
|
10194
|
+
'result',
|
|
10195
|
+
'error',
|
|
10196
|
+
'action_type',
|
|
10197
|
+
],
|
|
10198
|
+
type: 'object',
|
|
10199
|
+
},
|
|
10200
|
+
{
|
|
10201
|
+
description: 'Converting an unmanaged access code to managed succeeded.',
|
|
10202
|
+
properties: {
|
|
10203
|
+
action_attempt_id: {
|
|
10204
|
+
description: 'ID of the action attempt.',
|
|
10205
|
+
format: 'uuid',
|
|
10206
|
+
type: 'string',
|
|
10207
|
+
},
|
|
10208
|
+
action_type: {
|
|
10209
|
+
description: 'Action attempt to track the status of converting an unmanaged access code to a managed access code.',
|
|
10210
|
+
enum: ['CONVERT_ACCESS_CODE_TO_MANAGED'],
|
|
10211
|
+
type: 'string',
|
|
10212
|
+
},
|
|
10213
|
+
error: {
|
|
10214
|
+
description: 'Errors associated with the action attempt. Null for successful action attempts.',
|
|
10215
|
+
nullable: true,
|
|
10216
|
+
},
|
|
10217
|
+
result: {
|
|
10218
|
+
description: 'Result of the action.',
|
|
10219
|
+
properties: {},
|
|
10220
|
+
type: 'object',
|
|
10221
|
+
},
|
|
10222
|
+
status: { enum: ['success'], type: 'string' },
|
|
10223
|
+
},
|
|
10224
|
+
required: [
|
|
10225
|
+
'action_attempt_id',
|
|
10226
|
+
'status',
|
|
10227
|
+
'error',
|
|
10228
|
+
'action_type',
|
|
10229
|
+
'result',
|
|
10230
|
+
],
|
|
10231
|
+
type: 'object',
|
|
10232
|
+
},
|
|
10233
|
+
{
|
|
10234
|
+
description: 'Converting an unmanaged access code to managed failed.',
|
|
10235
|
+
properties: {
|
|
10236
|
+
action_attempt_id: {
|
|
10237
|
+
description: 'ID of the action attempt.',
|
|
10238
|
+
format: 'uuid',
|
|
10239
|
+
type: 'string',
|
|
10240
|
+
},
|
|
10241
|
+
action_type: {
|
|
10242
|
+
description: 'Action attempt to track the status of converting an unmanaged access code to a managed access code.',
|
|
10243
|
+
enum: ['CONVERT_ACCESS_CODE_TO_MANAGED'],
|
|
10244
|
+
type: 'string',
|
|
10245
|
+
},
|
|
10246
|
+
error: {
|
|
10247
|
+
description: 'Error associated with the action.',
|
|
10248
|
+
properties: {
|
|
10249
|
+
message: {
|
|
10250
|
+
description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
10251
|
+
type: 'string',
|
|
10252
|
+
},
|
|
10253
|
+
type: { description: 'Type of the error.', type: 'string' },
|
|
10254
|
+
},
|
|
10255
|
+
required: ['type', 'message'],
|
|
10256
|
+
type: 'object',
|
|
10257
|
+
},
|
|
10258
|
+
result: {
|
|
10259
|
+
description: 'Result of the action attempt. Null for failed action attempts.',
|
|
10260
|
+
nullable: true,
|
|
10261
|
+
},
|
|
10262
|
+
status: { enum: ['error'], type: 'string' },
|
|
10263
|
+
},
|
|
10264
|
+
required: [
|
|
10265
|
+
'action_attempt_id',
|
|
10266
|
+
'status',
|
|
10267
|
+
'result',
|
|
10268
|
+
'action_type',
|
|
10269
|
+
'error',
|
|
10270
|
+
],
|
|
10271
|
+
type: 'object',
|
|
10272
|
+
},
|
|
10102
10273
|
{
|
|
10103
10274
|
properties: {
|
|
10104
10275
|
action_attempt_id: {
|
|
@@ -29942,6 +30113,28 @@ const openapi = {
|
|
|
29942
30113
|
type: 'object',
|
|
29943
30114
|
'x-resource-type': 'access_grant',
|
|
29944
30115
|
},
|
|
30116
|
+
{
|
|
30117
|
+
description: 'Indicates that the access system rejected the access that Seam tried to set up for this access grant, so its credentials cannot open the affected entrances. For example, a hotel room may already be reserved or checked in for another guest. The message contains the reason that the access system gave. Seam keeps retrying, and this error clears automatically once the access system accepts the access.',
|
|
30118
|
+
properties: {
|
|
30119
|
+
created_at: {
|
|
30120
|
+
description: 'Date and time at which Seam created the error.',
|
|
30121
|
+
format: 'date-time',
|
|
30122
|
+
type: 'string',
|
|
30123
|
+
},
|
|
30124
|
+
error_code: {
|
|
30125
|
+
description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
30126
|
+
enum: ['access_not_provisioned'],
|
|
30127
|
+
type: 'string',
|
|
30128
|
+
},
|
|
30129
|
+
message: {
|
|
30130
|
+
description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
30131
|
+
type: 'string',
|
|
30132
|
+
},
|
|
30133
|
+
},
|
|
30134
|
+
required: ['created_at', 'message', 'error_code'],
|
|
30135
|
+
type: 'object',
|
|
30136
|
+
'x-resource-type': 'access_grant',
|
|
30137
|
+
},
|
|
29945
30138
|
],
|
|
29946
30139
|
},
|
|
29947
30140
|
type: 'array',
|
|
@@ -30478,6 +30671,28 @@ const openapi = {
|
|
|
30478
30671
|
type: 'object',
|
|
30479
30672
|
'x-resource-type': 'access_method',
|
|
30480
30673
|
},
|
|
30674
|
+
{
|
|
30675
|
+
description: 'Indicates that the access system rejected the access that Seam tried to set up for this access method, so its credential cannot open the affected entrances, even after it is issued. For example, a hotel room may already be reserved or checked in for another guest. The message contains the reason that the access system gave. Seam keeps retrying, and this error clears automatically once the access system accepts the access.',
|
|
30676
|
+
properties: {
|
|
30677
|
+
created_at: {
|
|
30678
|
+
description: 'Date and time at which Seam created the error.',
|
|
30679
|
+
format: 'date-time',
|
|
30680
|
+
type: 'string',
|
|
30681
|
+
},
|
|
30682
|
+
error_code: {
|
|
30683
|
+
description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
30684
|
+
enum: ['access_not_provisioned'],
|
|
30685
|
+
type: 'string',
|
|
30686
|
+
},
|
|
30687
|
+
message: {
|
|
30688
|
+
description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
30689
|
+
type: 'string',
|
|
30690
|
+
},
|
|
30691
|
+
},
|
|
30692
|
+
required: ['created_at', 'message', 'error_code'],
|
|
30693
|
+
type: 'object',
|
|
30694
|
+
'x-resource-type': 'access_method',
|
|
30695
|
+
},
|
|
30481
30696
|
],
|
|
30482
30697
|
},
|
|
30483
30698
|
type: 'array',
|