@seamapi/types 1.1099.0 → 1.1101.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.
@@ -2256,7 +2256,7 @@ const openapi = {
2256
2256
  type: 'boolean',
2257
2257
  },
2258
2258
  is_ready_for_encoding: {
2259
- description: 'Indicates whether the access method is ready to be encoded. This is true when the credential has been created and the card has not yet been issued.',
2259
+ description: '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`.',
2260
2260
  type: 'boolean',
2261
2261
  },
2262
2262
  issued_at: {
@@ -2442,6 +2442,27 @@ const openapi = {
2442
2442
  ],
2443
2443
  type: 'object',
2444
2444
  },
2445
+ {
2446
+ description: '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.',
2447
+ properties: {
2448
+ created_at: {
2449
+ description: 'Date and time at which the mutation was created.',
2450
+ format: 'date-time',
2451
+ type: 'string',
2452
+ },
2453
+ message: {
2454
+ description: 'Detailed description of the mutation.',
2455
+ type: 'string',
2456
+ },
2457
+ mutation_code: {
2458
+ description: '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.',
2459
+ enum: ['waiting_for_access_on_acs_system'],
2460
+ type: 'string',
2461
+ },
2462
+ },
2463
+ required: ['created_at', 'message', 'mutation_code'],
2464
+ type: 'object',
2465
+ },
2445
2466
  ],
2446
2467
  },
2447
2468
  type: 'array',
@@ -8777,7 +8798,7 @@ const openapi = {
8777
8798
  type: 'boolean',
8778
8799
  },
8779
8800
  is_ready_for_encoding: {
8780
- description: 'Indicates whether the access method is ready to be encoded. This is true when the credential has been created and the card has not yet been issued.',
8801
+ description: '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`.',
8781
8802
  type: 'boolean',
8782
8803
  },
8783
8804
  issued_at: {
@@ -8963,6 +8984,27 @@ const openapi = {
8963
8984
  ],
8964
8985
  type: 'object',
8965
8986
  },
8987
+ {
8988
+ description: '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.',
8989
+ properties: {
8990
+ created_at: {
8991
+ description: 'Date and time at which the mutation was created.',
8992
+ format: 'date-time',
8993
+ type: 'string',
8994
+ },
8995
+ message: {
8996
+ description: 'Detailed description of the mutation.',
8997
+ type: 'string',
8998
+ },
8999
+ mutation_code: {
9000
+ description: '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.',
9001
+ enum: ['waiting_for_access_on_acs_system'],
9002
+ type: 'string',
9003
+ },
9004
+ },
9005
+ required: ['created_at', 'message', 'mutation_code'],
9006
+ type: 'object',
9007
+ },
8966
9008
  ],
8967
9009
  },
8968
9010
  type: 'array',
@@ -10165,6 +10207,111 @@ const openapi = {
10165
10207
  ],
10166
10208
  type: 'object',
10167
10209
  },
10210
+ {
10211
+ description: 'Converting an unmanaged access code to managed is pending.',
10212
+ properties: {
10213
+ action_attempt_id: {
10214
+ description: 'ID of the action attempt.',
10215
+ format: 'uuid',
10216
+ type: 'string',
10217
+ },
10218
+ action_type: {
10219
+ description: 'Action attempt to track the status of converting an unmanaged access code to a managed access code.',
10220
+ enum: ['CONVERT_ACCESS_CODE_TO_MANAGED'],
10221
+ type: 'string',
10222
+ },
10223
+ error: {
10224
+ description: 'Errors associated with the action attempt. Null for pending action attempts.',
10225
+ nullable: true,
10226
+ },
10227
+ result: {
10228
+ description: 'Result of the action attempt. Null for pending action attempts.',
10229
+ nullable: true,
10230
+ },
10231
+ status: { enum: ['pending'], type: 'string' },
10232
+ },
10233
+ required: [
10234
+ 'action_attempt_id',
10235
+ 'status',
10236
+ 'result',
10237
+ 'error',
10238
+ 'action_type',
10239
+ ],
10240
+ type: 'object',
10241
+ },
10242
+ {
10243
+ description: 'Converting an unmanaged access code to managed succeeded.',
10244
+ properties: {
10245
+ action_attempt_id: {
10246
+ description: 'ID of the action attempt.',
10247
+ format: 'uuid',
10248
+ type: 'string',
10249
+ },
10250
+ action_type: {
10251
+ description: 'Action attempt to track the status of converting an unmanaged access code to a managed access code.',
10252
+ enum: ['CONVERT_ACCESS_CODE_TO_MANAGED'],
10253
+ type: 'string',
10254
+ },
10255
+ error: {
10256
+ description: 'Errors associated with the action attempt. Null for successful action attempts.',
10257
+ nullable: true,
10258
+ },
10259
+ result: {
10260
+ description: 'Result of the action.',
10261
+ properties: {},
10262
+ type: 'object',
10263
+ },
10264
+ status: { enum: ['success'], type: 'string' },
10265
+ },
10266
+ required: [
10267
+ 'action_attempt_id',
10268
+ 'status',
10269
+ 'error',
10270
+ 'action_type',
10271
+ 'result',
10272
+ ],
10273
+ type: 'object',
10274
+ },
10275
+ {
10276
+ description: 'Converting an unmanaged access code to managed failed.',
10277
+ properties: {
10278
+ action_attempt_id: {
10279
+ description: 'ID of the action attempt.',
10280
+ format: 'uuid',
10281
+ type: 'string',
10282
+ },
10283
+ action_type: {
10284
+ description: 'Action attempt to track the status of converting an unmanaged access code to a managed access code.',
10285
+ enum: ['CONVERT_ACCESS_CODE_TO_MANAGED'],
10286
+ type: 'string',
10287
+ },
10288
+ error: {
10289
+ description: 'Error associated with the action.',
10290
+ properties: {
10291
+ message: {
10292
+ description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
10293
+ type: 'string',
10294
+ },
10295
+ type: { description: 'Type of the error.', type: 'string' },
10296
+ },
10297
+ required: ['type', 'message'],
10298
+ type: 'object',
10299
+ },
10300
+ result: {
10301
+ description: 'Result of the action attempt. Null for failed action attempts.',
10302
+ nullable: true,
10303
+ },
10304
+ status: { enum: ['error'], type: 'string' },
10305
+ },
10306
+ required: [
10307
+ 'action_attempt_id',
10308
+ 'status',
10309
+ 'result',
10310
+ 'action_type',
10311
+ 'error',
10312
+ ],
10313
+ type: 'object',
10314
+ },
10168
10315
  {
10169
10316
  properties: {
10170
10317
  action_attempt_id: {
@@ -30609,7 +30756,7 @@ const openapi = {
30609
30756
  type: 'boolean',
30610
30757
  },
30611
30758
  is_ready_for_encoding: {
30612
- description: 'Indicates whether the access method is ready to be encoded. This is true when the credential has been created and the card has not yet been issued.',
30759
+ description: '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`.',
30613
30760
  type: 'boolean',
30614
30761
  },
30615
30762
  issued_at: {
@@ -30795,6 +30942,27 @@ const openapi = {
30795
30942
  ],
30796
30943
  type: 'object',
30797
30944
  },
30945
+ {
30946
+ description: '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.',
30947
+ properties: {
30948
+ created_at: {
30949
+ description: 'Date and time at which the mutation was created.',
30950
+ format: 'date-time',
30951
+ type: 'string',
30952
+ },
30953
+ message: {
30954
+ description: 'Detailed description of the mutation.',
30955
+ type: 'string',
30956
+ },
30957
+ mutation_code: {
30958
+ description: '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.',
30959
+ enum: ['waiting_for_access_on_acs_system'],
30960
+ type: 'string',
30961
+ },
30962
+ },
30963
+ required: ['created_at', 'message', 'mutation_code'],
30964
+ type: 'object',
30965
+ },
30798
30966
  ],
30799
30967
  },
30800
30968
  type: 'array',