@seamapi/types 1.601.0 → 1.603.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 +148 -6
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +503 -2
- package/dist/index.cjs +148 -6
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +30 -0
- package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +15 -0
- package/lib/seam/connect/models/action-attempts/encode-credential.js +11 -0
- package/lib/seam/connect/models/action-attempts/encode-credential.js.map +1 -1
- package/lib/seam/connect/models/action-attempts/scan-credential.d.ts +15 -0
- package/lib/seam/connect/models/action-attempts/scan-credential.js +11 -0
- package/lib/seam/connect/models/action-attempts/scan-credential.js.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +84 -0
- package/lib/seam/connect/openapi.d.ts +121 -2
- package/lib/seam/connect/openapi.js +132 -4
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +310 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/action-attempts/encode-credential.ts +14 -0
- package/src/lib/seam/connect/models/action-attempts/scan-credential.ts +14 -0
- package/src/lib/seam/connect/openapi.ts +148 -4
- package/src/lib/seam/connect/route-types.ts +366 -0
package/package.json
CHANGED
|
@@ -62,11 +62,25 @@ const credential_cannot_be_reissued = z
|
|
|
62
62
|
'Error to indicate that the affected credential cannot be reissued.',
|
|
63
63
|
)
|
|
64
64
|
|
|
65
|
+
const no_card_on_encoder_error = z
|
|
66
|
+
.object({
|
|
67
|
+
type: z
|
|
68
|
+
.literal('no_card_on_encoder')
|
|
69
|
+
.describe('Error type to indicate that there is no card on the encoder.'),
|
|
70
|
+
message: z
|
|
71
|
+
.string()
|
|
72
|
+
.describe(
|
|
73
|
+
'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
74
|
+
),
|
|
75
|
+
})
|
|
76
|
+
.describe('Error to indicate that there is no card on the encoder.')
|
|
77
|
+
|
|
65
78
|
const error = z.union([
|
|
66
79
|
...common_action_attempt_errors,
|
|
67
80
|
no_credential_on_encoder_error,
|
|
68
81
|
incompatible_card_format_error,
|
|
69
82
|
credential_cannot_be_reissued,
|
|
83
|
+
no_card_on_encoder_error,
|
|
70
84
|
])
|
|
71
85
|
|
|
72
86
|
const result = acs_credential
|
|
@@ -31,9 +31,23 @@ const no_credential_on_encoder_error = z
|
|
|
31
31
|
})
|
|
32
32
|
.describe('Error to indicate that there is no credential on the encoder.')
|
|
33
33
|
|
|
34
|
+
const no_card_on_encoder_error = z
|
|
35
|
+
.object({
|
|
36
|
+
type: z
|
|
37
|
+
.literal('no_card_on_encoder')
|
|
38
|
+
.describe('Error type to indicate that there is no card on the encoder.'),
|
|
39
|
+
message: z
|
|
40
|
+
.string()
|
|
41
|
+
.describe(
|
|
42
|
+
'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
43
|
+
),
|
|
44
|
+
})
|
|
45
|
+
.describe('Error to indicate that there is no card on the encoder.')
|
|
46
|
+
|
|
34
47
|
const error = z.union([
|
|
35
48
|
...common_action_attempt_errors,
|
|
36
49
|
no_credential_on_encoder_error,
|
|
50
|
+
no_card_on_encoder_error,
|
|
37
51
|
])
|
|
38
52
|
|
|
39
53
|
const warning = z
|
|
@@ -5684,6 +5684,25 @@ export default {
|
|
|
5684
5684
|
required: ['type', 'message'],
|
|
5685
5685
|
type: 'object',
|
|
5686
5686
|
},
|
|
5687
|
+
{
|
|
5688
|
+
description:
|
|
5689
|
+
'Error to indicate that there is no card on the encoder.',
|
|
5690
|
+
properties: {
|
|
5691
|
+
message: {
|
|
5692
|
+
description:
|
|
5693
|
+
'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
5694
|
+
type: 'string',
|
|
5695
|
+
},
|
|
5696
|
+
type: {
|
|
5697
|
+
description:
|
|
5698
|
+
'Error type to indicate that there is no card on the encoder.',
|
|
5699
|
+
enum: ['no_card_on_encoder'],
|
|
5700
|
+
type: 'string',
|
|
5701
|
+
},
|
|
5702
|
+
},
|
|
5703
|
+
required: ['type', 'message'],
|
|
5704
|
+
type: 'object',
|
|
5705
|
+
},
|
|
5687
5706
|
],
|
|
5688
5707
|
},
|
|
5689
5708
|
result: {
|
|
@@ -6793,6 +6812,25 @@ export default {
|
|
|
6793
6812
|
required: ['type', 'message'],
|
|
6794
6813
|
type: 'object',
|
|
6795
6814
|
},
|
|
6815
|
+
{
|
|
6816
|
+
description:
|
|
6817
|
+
'Error to indicate that there is no card on the encoder.',
|
|
6818
|
+
properties: {
|
|
6819
|
+
message: {
|
|
6820
|
+
description:
|
|
6821
|
+
'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
6822
|
+
type: 'string',
|
|
6823
|
+
},
|
|
6824
|
+
type: {
|
|
6825
|
+
description:
|
|
6826
|
+
'Error type to indicate that there is no card on the encoder.',
|
|
6827
|
+
enum: ['no_card_on_encoder'],
|
|
6828
|
+
type: 'string',
|
|
6829
|
+
},
|
|
6830
|
+
},
|
|
6831
|
+
required: ['type', 'message'],
|
|
6832
|
+
type: 'object',
|
|
6833
|
+
},
|
|
6796
6834
|
],
|
|
6797
6835
|
},
|
|
6798
6836
|
result: {
|
|
@@ -60404,6 +60442,37 @@ export default {
|
|
|
60404
60442
|
type: 'string',
|
|
60405
60443
|
},
|
|
60406
60444
|
},
|
|
60445
|
+
{
|
|
60446
|
+
in: 'query',
|
|
60447
|
+
name: 'limit',
|
|
60448
|
+
schema: {
|
|
60449
|
+
default: 500,
|
|
60450
|
+
description: 'Maximum number of records to return per page.',
|
|
60451
|
+
exclusiveMinimum: true,
|
|
60452
|
+
minimum: 0,
|
|
60453
|
+
type: 'integer',
|
|
60454
|
+
},
|
|
60455
|
+
},
|
|
60456
|
+
{
|
|
60457
|
+
in: 'query',
|
|
60458
|
+
name: 'created_before',
|
|
60459
|
+
schema: {
|
|
60460
|
+
description:
|
|
60461
|
+
'Timestamp by which to limit returned user identities. Returns user identities created before this timestamp.',
|
|
60462
|
+
format: 'date-time',
|
|
60463
|
+
type: 'string',
|
|
60464
|
+
},
|
|
60465
|
+
},
|
|
60466
|
+
{
|
|
60467
|
+
in: 'query',
|
|
60468
|
+
name: 'page_cursor',
|
|
60469
|
+
schema: {
|
|
60470
|
+
description:
|
|
60471
|
+
"Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`.",
|
|
60472
|
+
nullable: true,
|
|
60473
|
+
type: 'string',
|
|
60474
|
+
},
|
|
60475
|
+
},
|
|
60407
60476
|
],
|
|
60408
60477
|
responses: {
|
|
60409
60478
|
200: {
|
|
@@ -60412,12 +60481,13 @@ export default {
|
|
|
60412
60481
|
schema: {
|
|
60413
60482
|
properties: {
|
|
60414
60483
|
ok: { type: 'boolean' },
|
|
60484
|
+
pagination: { $ref: '#/components/schemas/pagination' },
|
|
60415
60485
|
user_identities: {
|
|
60416
60486
|
items: { $ref: '#/components/schemas/user_identity' },
|
|
60417
60487
|
type: 'array',
|
|
60418
60488
|
},
|
|
60419
60489
|
},
|
|
60420
|
-
required: ['user_identities', 'ok'],
|
|
60490
|
+
required: ['user_identities', 'pagination', 'ok'],
|
|
60421
60491
|
type: 'object',
|
|
60422
60492
|
},
|
|
60423
60493
|
},
|
|
@@ -60450,12 +60520,32 @@ export default {
|
|
|
60450
60520
|
'application/json': {
|
|
60451
60521
|
schema: {
|
|
60452
60522
|
properties: {
|
|
60523
|
+
created_before: {
|
|
60524
|
+
description:
|
|
60525
|
+
'Timestamp by which to limit returned user identities. Returns user identities created before this timestamp.',
|
|
60526
|
+
format: 'date-time',
|
|
60527
|
+
type: 'string',
|
|
60528
|
+
},
|
|
60453
60529
|
credential_manager_acs_system_id: {
|
|
60454
60530
|
description:
|
|
60455
60531
|
'`acs_system_id` of the credential manager by which you want to filter the list of user identities.',
|
|
60456
60532
|
format: 'uuid',
|
|
60457
60533
|
type: 'string',
|
|
60458
60534
|
},
|
|
60535
|
+
limit: {
|
|
60536
|
+
default: 500,
|
|
60537
|
+
description:
|
|
60538
|
+
'Maximum number of records to return per page.',
|
|
60539
|
+
exclusiveMinimum: true,
|
|
60540
|
+
minimum: 0,
|
|
60541
|
+
type: 'integer',
|
|
60542
|
+
},
|
|
60543
|
+
page_cursor: {
|
|
60544
|
+
description:
|
|
60545
|
+
"Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`.",
|
|
60546
|
+
nullable: true,
|
|
60547
|
+
type: 'string',
|
|
60548
|
+
},
|
|
60459
60549
|
search: {
|
|
60460
60550
|
description:
|
|
60461
60551
|
'String for which to search. Filters returned user identities to include all records that satisfy a partial match using `full_name`, `phone_number`, `email_address` or `user_identity_id`.',
|
|
@@ -60474,12 +60564,13 @@ export default {
|
|
|
60474
60564
|
schema: {
|
|
60475
60565
|
properties: {
|
|
60476
60566
|
ok: { type: 'boolean' },
|
|
60567
|
+
pagination: { $ref: '#/components/schemas/pagination' },
|
|
60477
60568
|
user_identities: {
|
|
60478
60569
|
items: { $ref: '#/components/schemas/user_identity' },
|
|
60479
60570
|
type: 'array',
|
|
60480
60571
|
},
|
|
60481
60572
|
},
|
|
60482
|
-
required: ['user_identities', 'ok'],
|
|
60573
|
+
required: ['user_identities', 'pagination', 'ok'],
|
|
60483
60574
|
type: 'object',
|
|
60484
60575
|
},
|
|
60485
60576
|
},
|
|
@@ -61577,6 +61668,37 @@ export default {
|
|
|
61577
61668
|
type: 'string',
|
|
61578
61669
|
},
|
|
61579
61670
|
},
|
|
61671
|
+
{
|
|
61672
|
+
in: 'query',
|
|
61673
|
+
name: 'limit',
|
|
61674
|
+
schema: {
|
|
61675
|
+
default: 500,
|
|
61676
|
+
description: 'Maximum number of records to return per page.',
|
|
61677
|
+
exclusiveMinimum: true,
|
|
61678
|
+
minimum: 0,
|
|
61679
|
+
type: 'integer',
|
|
61680
|
+
},
|
|
61681
|
+
},
|
|
61682
|
+
{
|
|
61683
|
+
in: 'query',
|
|
61684
|
+
name: 'created_before',
|
|
61685
|
+
schema: {
|
|
61686
|
+
description:
|
|
61687
|
+
'Timestamp by which to limit returned unmanaged user identities. Returns user identities created before this timestamp.',
|
|
61688
|
+
format: 'date-time',
|
|
61689
|
+
type: 'string',
|
|
61690
|
+
},
|
|
61691
|
+
},
|
|
61692
|
+
{
|
|
61693
|
+
in: 'query',
|
|
61694
|
+
name: 'page_cursor',
|
|
61695
|
+
schema: {
|
|
61696
|
+
description:
|
|
61697
|
+
"Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`.",
|
|
61698
|
+
nullable: true,
|
|
61699
|
+
type: 'string',
|
|
61700
|
+
},
|
|
61701
|
+
},
|
|
61580
61702
|
],
|
|
61581
61703
|
responses: {
|
|
61582
61704
|
200: {
|
|
@@ -61585,6 +61707,7 @@ export default {
|
|
|
61585
61707
|
schema: {
|
|
61586
61708
|
properties: {
|
|
61587
61709
|
ok: { type: 'boolean' },
|
|
61710
|
+
pagination: { $ref: '#/components/schemas/pagination' },
|
|
61588
61711
|
user_identities: {
|
|
61589
61712
|
items: {
|
|
61590
61713
|
description:
|
|
@@ -61779,7 +61902,7 @@ export default {
|
|
|
61779
61902
|
type: 'array',
|
|
61780
61903
|
},
|
|
61781
61904
|
},
|
|
61782
|
-
required: ['user_identities', 'ok'],
|
|
61905
|
+
required: ['user_identities', 'pagination', 'ok'],
|
|
61783
61906
|
type: 'object',
|
|
61784
61907
|
},
|
|
61785
61908
|
},
|
|
@@ -61812,6 +61935,26 @@ export default {
|
|
|
61812
61935
|
'application/json': {
|
|
61813
61936
|
schema: {
|
|
61814
61937
|
properties: {
|
|
61938
|
+
created_before: {
|
|
61939
|
+
description:
|
|
61940
|
+
'Timestamp by which to limit returned unmanaged user identities. Returns user identities created before this timestamp.',
|
|
61941
|
+
format: 'date-time',
|
|
61942
|
+
type: 'string',
|
|
61943
|
+
},
|
|
61944
|
+
limit: {
|
|
61945
|
+
default: 500,
|
|
61946
|
+
description:
|
|
61947
|
+
'Maximum number of records to return per page.',
|
|
61948
|
+
exclusiveMinimum: true,
|
|
61949
|
+
minimum: 0,
|
|
61950
|
+
type: 'integer',
|
|
61951
|
+
},
|
|
61952
|
+
page_cursor: {
|
|
61953
|
+
description:
|
|
61954
|
+
"Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`.",
|
|
61955
|
+
nullable: true,
|
|
61956
|
+
type: 'string',
|
|
61957
|
+
},
|
|
61815
61958
|
search: {
|
|
61816
61959
|
description:
|
|
61817
61960
|
'String for which to search. Filters returned unmanaged user identities to include all records that satisfy a partial match using `full_name`, `phone_number`, `email_address` or `user_identity_id`.',
|
|
@@ -61830,6 +61973,7 @@ export default {
|
|
|
61830
61973
|
schema: {
|
|
61831
61974
|
properties: {
|
|
61832
61975
|
ok: { type: 'boolean' },
|
|
61976
|
+
pagination: { $ref: '#/components/schemas/pagination' },
|
|
61833
61977
|
user_identities: {
|
|
61834
61978
|
items: {
|
|
61835
61979
|
description:
|
|
@@ -62024,7 +62168,7 @@ export default {
|
|
|
62024
62168
|
type: 'array',
|
|
62025
62169
|
},
|
|
62026
62170
|
},
|
|
62027
|
-
required: ['user_identities', 'ok'],
|
|
62171
|
+
required: ['user_identities', 'pagination', 'ok'],
|
|
62028
62172
|
type: 'object',
|
|
62029
62173
|
},
|
|
62030
62174
|
},
|