@seamapi/types 1.1100.0 → 1.1102.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-method.d.ts +79 -0
- package/lib/seam/connect/models/access-grants/access-method.js +12 -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 +29 -0
- package/lib/seam/connect/models/action-attempts/assign-credential.d.ts +29 -0
- package/lib/seam/connect/openapi.js +67 -4
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +336 -42
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-grants/access-method.ts +17 -1
- package/src/lib/seam/connect/openapi.ts +77 -4
- package/src/lib/seam/connect/route-types.ts +378 -42
package/package.json
CHANGED
|
@@ -260,12 +260,25 @@ const notifying_connector_mutation = common_pending_mutation
|
|
|
260
260
|
"Seam is in the process of notifying the connector about this access method's issuance.",
|
|
261
261
|
)
|
|
262
262
|
|
|
263
|
+
const waiting_for_access_on_acs_system_mutation = common_pending_mutation
|
|
264
|
+
.extend({
|
|
265
|
+
mutation_code: z
|
|
266
|
+
.literal('waiting_for_access_on_acs_system')
|
|
267
|
+
.describe(
|
|
268
|
+
'Mutation code to indicate that the access system has not yet received all the access this card needs, so the card is not ready to be encoded.',
|
|
269
|
+
),
|
|
270
|
+
})
|
|
271
|
+
.describe(
|
|
272
|
+
'The access system has not yet received all the access this card needs. A card encoded now would carry only the access the system already has, so wait until this clears before encoding.',
|
|
273
|
+
)
|
|
274
|
+
|
|
263
275
|
export const access_method_pending_mutations = z.discriminatedUnion(
|
|
264
276
|
'mutation_code',
|
|
265
277
|
[
|
|
266
278
|
provisioning_access_mutation,
|
|
267
279
|
revoking_access_mutation,
|
|
268
280
|
updating_access_times_mutation,
|
|
281
|
+
waiting_for_access_on_acs_system_mutation,
|
|
269
282
|
],
|
|
270
283
|
)
|
|
271
284
|
|
|
@@ -278,6 +291,9 @@ const _access_method_pending_mutations_map = z.object({
|
|
|
278
291
|
revoking_access: revoking_access_mutation.optional().nullable(),
|
|
279
292
|
updating_access_times: updating_access_times_mutation.optional().nullable(),
|
|
280
293
|
notifying_connector: notifying_connector_mutation.optional().nullable(),
|
|
294
|
+
waiting_for_access_on_acs_system: waiting_for_access_on_acs_system_mutation
|
|
295
|
+
.optional()
|
|
296
|
+
.nullable(),
|
|
281
297
|
})
|
|
282
298
|
|
|
283
299
|
export type AccessMethodPendingMutationsMap = z.infer<
|
|
@@ -329,7 +345,7 @@ export const access_method = z.object({
|
|
|
329
345
|
.boolean()
|
|
330
346
|
.optional()
|
|
331
347
|
.describe(
|
|
332
|
-
'Indicates whether the access method is ready to be encoded. This is true when the
|
|
348
|
+
'Indicates whether the access method is ready to be encoded. This is true when the card has not yet been issued and the access system has received all the access the card needs. While it is false, `pending_mutations` contains `waiting_for_access_on_acs_system`.',
|
|
333
349
|
),
|
|
334
350
|
is_assignment_required: z
|
|
335
351
|
.boolean()
|
|
@@ -2579,7 +2579,7 @@ const openapi: OpenAPISpec = {
|
|
|
2579
2579
|
},
|
|
2580
2580
|
is_ready_for_encoding: {
|
|
2581
2581
|
description:
|
|
2582
|
-
'Indicates whether the access method is ready to be encoded. This is true when the
|
|
2582
|
+
'Indicates whether the access method is ready to be encoded. This is true when the card has not yet been issued and the access system has received all the access the card needs. While it is false, `pending_mutations` contains `waiting_for_access_on_acs_system`.',
|
|
2583
2583
|
type: 'boolean',
|
|
2584
2584
|
},
|
|
2585
2585
|
issued_at: {
|
|
@@ -2780,6 +2780,30 @@ const openapi: OpenAPISpec = {
|
|
|
2780
2780
|
],
|
|
2781
2781
|
type: 'object',
|
|
2782
2782
|
},
|
|
2783
|
+
{
|
|
2784
|
+
description:
|
|
2785
|
+
'The access system has not yet received all the access this card needs. A card encoded now would carry only the access the system already has, so wait until this clears before encoding.',
|
|
2786
|
+
properties: {
|
|
2787
|
+
created_at: {
|
|
2788
|
+
description:
|
|
2789
|
+
'Date and time at which the mutation was created.',
|
|
2790
|
+
format: 'date-time',
|
|
2791
|
+
type: 'string',
|
|
2792
|
+
},
|
|
2793
|
+
message: {
|
|
2794
|
+
description: 'Detailed description of the mutation.',
|
|
2795
|
+
type: 'string',
|
|
2796
|
+
},
|
|
2797
|
+
mutation_code: {
|
|
2798
|
+
description:
|
|
2799
|
+
'Mutation code to indicate that the access system has not yet received all the access this card needs, so the card is not ready to be encoded.',
|
|
2800
|
+
enum: ['waiting_for_access_on_acs_system'],
|
|
2801
|
+
type: 'string',
|
|
2802
|
+
},
|
|
2803
|
+
},
|
|
2804
|
+
required: ['created_at', 'message', 'mutation_code'],
|
|
2805
|
+
type: 'object',
|
|
2806
|
+
},
|
|
2783
2807
|
],
|
|
2784
2808
|
},
|
|
2785
2809
|
type: 'array',
|
|
@@ -10044,7 +10068,7 @@ const openapi: OpenAPISpec = {
|
|
|
10044
10068
|
},
|
|
10045
10069
|
is_ready_for_encoding: {
|
|
10046
10070
|
description:
|
|
10047
|
-
'Indicates whether the access method is ready to be encoded. This is true when the
|
|
10071
|
+
'Indicates whether the access method is ready to be encoded. This is true when the card has not yet been issued and the access system has received all the access the card needs. While it is false, `pending_mutations` contains `waiting_for_access_on_acs_system`.',
|
|
10048
10072
|
type: 'boolean',
|
|
10049
10073
|
},
|
|
10050
10074
|
issued_at: {
|
|
@@ -10251,6 +10275,31 @@ const openapi: OpenAPISpec = {
|
|
|
10251
10275
|
],
|
|
10252
10276
|
type: 'object',
|
|
10253
10277
|
},
|
|
10278
|
+
{
|
|
10279
|
+
description:
|
|
10280
|
+
'The access system has not yet received all the access this card needs. A card encoded now would carry only the access the system already has, so wait until this clears before encoding.',
|
|
10281
|
+
properties: {
|
|
10282
|
+
created_at: {
|
|
10283
|
+
description:
|
|
10284
|
+
'Date and time at which the mutation was created.',
|
|
10285
|
+
format: 'date-time',
|
|
10286
|
+
type: 'string',
|
|
10287
|
+
},
|
|
10288
|
+
message: {
|
|
10289
|
+
description:
|
|
10290
|
+
'Detailed description of the mutation.',
|
|
10291
|
+
type: 'string',
|
|
10292
|
+
},
|
|
10293
|
+
mutation_code: {
|
|
10294
|
+
description:
|
|
10295
|
+
'Mutation code to indicate that the access system has not yet received all the access this card needs, so the card is not ready to be encoded.',
|
|
10296
|
+
enum: ['waiting_for_access_on_acs_system'],
|
|
10297
|
+
type: 'string',
|
|
10298
|
+
},
|
|
10299
|
+
},
|
|
10300
|
+
required: ['created_at', 'message', 'mutation_code'],
|
|
10301
|
+
type: 'object',
|
|
10302
|
+
},
|
|
10254
10303
|
],
|
|
10255
10304
|
},
|
|
10256
10305
|
type: 'array',
|
|
@@ -34366,7 +34415,7 @@ const openapi: OpenAPISpec = {
|
|
|
34366
34415
|
},
|
|
34367
34416
|
is_ready_for_encoding: {
|
|
34368
34417
|
description:
|
|
34369
|
-
'Indicates whether the access method is ready to be encoded. This is true when the
|
|
34418
|
+
'Indicates whether the access method is ready to be encoded. This is true when the card has not yet been issued and the access system has received all the access the card needs. While it is false, `pending_mutations` contains `waiting_for_access_on_acs_system`.',
|
|
34370
34419
|
type: 'boolean',
|
|
34371
34420
|
},
|
|
34372
34421
|
issued_at: {
|
|
@@ -34567,6 +34616,30 @@ const openapi: OpenAPISpec = {
|
|
|
34567
34616
|
],
|
|
34568
34617
|
type: 'object',
|
|
34569
34618
|
},
|
|
34619
|
+
{
|
|
34620
|
+
description:
|
|
34621
|
+
'The access system has not yet received all the access this card needs. A card encoded now would carry only the access the system already has, so wait until this clears before encoding.',
|
|
34622
|
+
properties: {
|
|
34623
|
+
created_at: {
|
|
34624
|
+
description:
|
|
34625
|
+
'Date and time at which the mutation was created.',
|
|
34626
|
+
format: 'date-time',
|
|
34627
|
+
type: 'string',
|
|
34628
|
+
},
|
|
34629
|
+
message: {
|
|
34630
|
+
description: 'Detailed description of the mutation.',
|
|
34631
|
+
type: 'string',
|
|
34632
|
+
},
|
|
34633
|
+
mutation_code: {
|
|
34634
|
+
description:
|
|
34635
|
+
'Mutation code to indicate that the access system has not yet received all the access this card needs, so the card is not ready to be encoded.',
|
|
34636
|
+
enum: ['waiting_for_access_on_acs_system'],
|
|
34637
|
+
type: 'string',
|
|
34638
|
+
},
|
|
34639
|
+
},
|
|
34640
|
+
required: ['created_at', 'message', 'mutation_code'],
|
|
34641
|
+
type: 'object',
|
|
34642
|
+
},
|
|
34570
34643
|
],
|
|
34571
34644
|
},
|
|
34572
34645
|
type: 'array',
|
|
@@ -50013,7 +50086,7 @@ const openapi: OpenAPISpec = {
|
|
|
50013
50086
|
'/customers/delete_data': {
|
|
50014
50087
|
delete: {
|
|
50015
50088
|
description:
|
|
50016
|
-
'Deletes customer data including resources like spaces, properties, rooms, users, etc.\nThis will delete the partner resources and any related Seam resources (user identities, access grants, spaces).',
|
|
50089
|
+
'Deletes customer data including resources like spaces, properties, rooms, users, etc.\nThis will delete the partner resources and any related Seam resources (user identities, access grants, spaces).\nSpace keys also match spaces created directly with a `space_key` (for example, through `/spaces/create`).',
|
|
50017
50090
|
operationId: 'customersDeleteDataDelete',
|
|
50018
50091
|
parameters: [
|
|
50019
50092
|
{
|