@seamapi/types 1.752.0 → 1.753.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 +23 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +44 -0
- package/dist/index.cjs +23 -0
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/access-grants/access-method.d.ts +6 -0
- package/lib/seam/connect/models/access-grants/access-method.js +4 -0
- package/lib/seam/connect/models/access-grants/access-method.js.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +5 -0
- package/lib/seam/connect/openapi.d.ts +20 -0
- package/lib/seam/connect/openapi.js +20 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +16 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-grants/access-method.ts +6 -0
- package/src/lib/seam/connect/openapi.ts +25 -0
- package/src/lib/seam/connect/route-types.ts +16 -0
package/dist/connect.d.cts
CHANGED
|
@@ -3974,6 +3974,7 @@ declare const access_method: z.ZodObject<{
|
|
|
3974
3974
|
instant_key_url: z.ZodOptional<z.ZodString>;
|
|
3975
3975
|
client_session_token: z.ZodOptional<z.ZodString>;
|
|
3976
3976
|
is_encoding_required: z.ZodOptional<z.ZodBoolean>;
|
|
3977
|
+
is_ready_for_encoding: z.ZodOptional<z.ZodBoolean>;
|
|
3977
3978
|
code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3978
3979
|
warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<{
|
|
3979
3980
|
created_at: z.ZodString;
|
|
@@ -4207,6 +4208,7 @@ declare const access_method: z.ZodObject<{
|
|
|
4207
4208
|
instant_key_url?: string | undefined;
|
|
4208
4209
|
customization_profile_id?: string | undefined;
|
|
4209
4210
|
is_encoding_required?: boolean | undefined;
|
|
4211
|
+
is_ready_for_encoding?: boolean | undefined;
|
|
4210
4212
|
}, {
|
|
4211
4213
|
display_name: string;
|
|
4212
4214
|
workspace_id: string;
|
|
@@ -4267,6 +4269,7 @@ declare const access_method: z.ZodObject<{
|
|
|
4267
4269
|
instant_key_url?: string | undefined;
|
|
4268
4270
|
customization_profile_id?: string | undefined;
|
|
4269
4271
|
is_encoding_required?: boolean | undefined;
|
|
4272
|
+
is_ready_for_encoding?: boolean | undefined;
|
|
4270
4273
|
}>;
|
|
4271
4274
|
type AccessMethod = z.infer<typeof access_method>;
|
|
4272
4275
|
|
|
@@ -28043,6 +28046,7 @@ declare const batch: z.ZodObject<{
|
|
|
28043
28046
|
instant_key_url: z.ZodOptional<z.ZodString>;
|
|
28044
28047
|
client_session_token: z.ZodOptional<z.ZodString>;
|
|
28045
28048
|
is_encoding_required: z.ZodOptional<z.ZodBoolean>;
|
|
28049
|
+
is_ready_for_encoding: z.ZodOptional<z.ZodBoolean>;
|
|
28046
28050
|
code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28047
28051
|
warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<{
|
|
28048
28052
|
created_at: z.ZodString;
|
|
@@ -28276,6 +28280,7 @@ declare const batch: z.ZodObject<{
|
|
|
28276
28280
|
instant_key_url?: string | undefined;
|
|
28277
28281
|
customization_profile_id?: string | undefined;
|
|
28278
28282
|
is_encoding_required?: boolean | undefined;
|
|
28283
|
+
is_ready_for_encoding?: boolean | undefined;
|
|
28279
28284
|
}, {
|
|
28280
28285
|
display_name: string;
|
|
28281
28286
|
workspace_id: string;
|
|
@@ -28336,6 +28341,7 @@ declare const batch: z.ZodObject<{
|
|
|
28336
28341
|
instant_key_url?: string | undefined;
|
|
28337
28342
|
customization_profile_id?: string | undefined;
|
|
28338
28343
|
is_encoding_required?: boolean | undefined;
|
|
28344
|
+
is_ready_for_encoding?: boolean | undefined;
|
|
28339
28345
|
}>, "many">>;
|
|
28340
28346
|
access_grants: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
28341
28347
|
workspace_id: z.ZodString;
|
|
@@ -39538,6 +39544,7 @@ declare const batch: z.ZodObject<{
|
|
|
39538
39544
|
instant_key_url?: string | undefined;
|
|
39539
39545
|
customization_profile_id?: string | undefined;
|
|
39540
39546
|
is_encoding_required?: boolean | undefined;
|
|
39547
|
+
is_ready_for_encoding?: boolean | undefined;
|
|
39541
39548
|
}[] | undefined;
|
|
39542
39549
|
access_grants?: {
|
|
39543
39550
|
name: string | null;
|
|
@@ -44341,6 +44348,7 @@ declare const batch: z.ZodObject<{
|
|
|
44341
44348
|
instant_key_url?: string | undefined;
|
|
44342
44349
|
customization_profile_id?: string | undefined;
|
|
44343
44350
|
is_encoding_required?: boolean | undefined;
|
|
44351
|
+
is_ready_for_encoding?: boolean | undefined;
|
|
44344
44352
|
}[] | undefined;
|
|
44345
44353
|
access_grants?: {
|
|
44346
44354
|
name: string | null;
|
|
@@ -62614,6 +62622,10 @@ declare const _default: {
|
|
|
62614
62622
|
description: string;
|
|
62615
62623
|
type: string;
|
|
62616
62624
|
};
|
|
62625
|
+
is_ready_for_encoding: {
|
|
62626
|
+
description: string;
|
|
62627
|
+
type: string;
|
|
62628
|
+
};
|
|
62617
62629
|
issued_at: {
|
|
62618
62630
|
description: string;
|
|
62619
62631
|
format: string;
|
|
@@ -88741,6 +88753,10 @@ declare const _default: {
|
|
|
88741
88753
|
description: string;
|
|
88742
88754
|
type: string;
|
|
88743
88755
|
};
|
|
88756
|
+
is_ready_for_encoding: {
|
|
88757
|
+
description: string;
|
|
88758
|
+
type: string;
|
|
88759
|
+
};
|
|
88744
88760
|
issued_at: {
|
|
88745
88761
|
description: string;
|
|
88746
88762
|
format: string;
|
|
@@ -89040,6 +89056,10 @@ declare const _default: {
|
|
|
89040
89056
|
description: string;
|
|
89041
89057
|
type: string;
|
|
89042
89058
|
};
|
|
89059
|
+
is_ready_for_encoding: {
|
|
89060
|
+
description: string;
|
|
89061
|
+
type: string;
|
|
89062
|
+
};
|
|
89043
89063
|
issued_at: {
|
|
89044
89064
|
description: string;
|
|
89045
89065
|
format: string;
|
|
@@ -89335,6 +89355,10 @@ declare const _default: {
|
|
|
89335
89355
|
description: string;
|
|
89336
89356
|
type: string;
|
|
89337
89357
|
};
|
|
89358
|
+
is_ready_for_encoding: {
|
|
89359
|
+
description: string;
|
|
89360
|
+
type: string;
|
|
89361
|
+
};
|
|
89338
89362
|
issued_at: {
|
|
89339
89363
|
description: string;
|
|
89340
89364
|
format: string;
|
|
@@ -89652,6 +89676,10 @@ declare const _default: {
|
|
|
89652
89676
|
description: string;
|
|
89653
89677
|
type: string;
|
|
89654
89678
|
};
|
|
89679
|
+
is_ready_for_encoding: {
|
|
89680
|
+
description: string;
|
|
89681
|
+
type: string;
|
|
89682
|
+
};
|
|
89655
89683
|
issued_at: {
|
|
89656
89684
|
description: string;
|
|
89657
89685
|
format: string;
|
|
@@ -145168,6 +145196,8 @@ type Routes = {
|
|
|
145168
145196
|
client_session_token?: string | undefined;
|
|
145169
145197
|
/** Indicates whether encoding with an card encoder is required to issue or reissue the plastic card associated with the access method. */
|
|
145170
145198
|
is_encoding_required?: boolean | undefined;
|
|
145199
|
+
/** 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. */
|
|
145200
|
+
is_ready_for_encoding?: boolean | undefined;
|
|
145171
145201
|
/** The actual PIN code for code access methods. */
|
|
145172
145202
|
code?: (string | null) | undefined;
|
|
145173
145203
|
/** Warnings associated with the [access method](https://docs.seam.co/latest/capability-guides/access-grants/delivering-access-methods). */
|
|
@@ -147339,6 +147369,8 @@ type Routes = {
|
|
|
147339
147369
|
client_session_token?: string | undefined;
|
|
147340
147370
|
/** Indicates whether encoding with an card encoder is required to issue or reissue the plastic card associated with the access method. */
|
|
147341
147371
|
is_encoding_required?: boolean | undefined;
|
|
147372
|
+
/** 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. */
|
|
147373
|
+
is_ready_for_encoding?: boolean | undefined;
|
|
147342
147374
|
/** The actual PIN code for code access methods. */
|
|
147343
147375
|
code?: (string | null) | undefined;
|
|
147344
147376
|
/** Warnings associated with the [access method](https://docs.seam.co/latest/capability-guides/access-grants/delivering-access-methods). */
|
|
@@ -149080,6 +149112,8 @@ type Routes = {
|
|
|
149080
149112
|
client_session_token?: string | undefined;
|
|
149081
149113
|
/** Indicates whether encoding with an card encoder is required to issue or reissue the plastic card associated with the access method. */
|
|
149082
149114
|
is_encoding_required?: boolean | undefined;
|
|
149115
|
+
/** 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. */
|
|
149116
|
+
is_ready_for_encoding?: boolean | undefined;
|
|
149083
149117
|
/** The actual PIN code for code access methods. */
|
|
149084
149118
|
code?: (string | null) | undefined;
|
|
149085
149119
|
/** Warnings associated with the [access method](https://docs.seam.co/latest/capability-guides/access-grants/delivering-access-methods). */
|
|
@@ -149394,6 +149428,8 @@ type Routes = {
|
|
|
149394
149428
|
client_session_token?: string | undefined;
|
|
149395
149429
|
/** Indicates whether encoding with an card encoder is required to issue or reissue the plastic card associated with the access method. */
|
|
149396
149430
|
is_encoding_required?: boolean | undefined;
|
|
149431
|
+
/** 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. */
|
|
149432
|
+
is_ready_for_encoding?: boolean | undefined;
|
|
149397
149433
|
/** The actual PIN code for code access methods. */
|
|
149398
149434
|
code?: (string | null) | undefined;
|
|
149399
149435
|
/** Warnings associated with the [access method](https://docs.seam.co/latest/capability-guides/access-grants/delivering-access-methods). */
|
|
@@ -149513,6 +149549,8 @@ type Routes = {
|
|
|
149513
149549
|
is_issued: boolean;
|
|
149514
149550
|
/** Indicates whether encoding with an card encoder is required to issue or reissue the plastic card associated with the access method. */
|
|
149515
149551
|
is_encoding_required?: boolean | undefined;
|
|
149552
|
+
/** 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. */
|
|
149553
|
+
is_ready_for_encoding?: boolean | undefined;
|
|
149516
149554
|
/** The actual PIN code for code access methods. */
|
|
149517
149555
|
code?: (string | null) | undefined;
|
|
149518
149556
|
/** Warnings associated with the [access method](https://docs.seam.co/latest/capability-guides/access-grants/delivering-access-methods). */
|
|
@@ -149635,6 +149673,8 @@ type Routes = {
|
|
|
149635
149673
|
is_issued: boolean;
|
|
149636
149674
|
/** Indicates whether encoding with an card encoder is required to issue or reissue the plastic card associated with the access method. */
|
|
149637
149675
|
is_encoding_required?: boolean | undefined;
|
|
149676
|
+
/** 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. */
|
|
149677
|
+
is_ready_for_encoding?: boolean | undefined;
|
|
149638
149678
|
/** The actual PIN code for code access methods. */
|
|
149639
149679
|
code?: (string | null) | undefined;
|
|
149640
149680
|
/** Warnings associated with the [access method](https://docs.seam.co/latest/capability-guides/access-grants/delivering-access-methods). */
|
|
@@ -199106,6 +199146,8 @@ type Routes = {
|
|
|
199106
199146
|
client_session_token?: string | undefined;
|
|
199107
199147
|
/** Indicates whether encoding with an card encoder is required to issue or reissue the plastic card associated with the access method. */
|
|
199108
199148
|
is_encoding_required?: boolean | undefined;
|
|
199149
|
+
/** 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. */
|
|
199150
|
+
is_ready_for_encoding?: boolean | undefined;
|
|
199109
199151
|
/** The actual PIN code for code access methods. */
|
|
199110
199152
|
code?: (string | null) | undefined;
|
|
199111
199153
|
/** Warnings associated with the [access method](https://docs.seam.co/latest/capability-guides/access-grants/delivering-access-methods). */
|
|
@@ -223612,6 +223654,8 @@ type Routes = {
|
|
|
223612
223654
|
client_session_token?: string | undefined;
|
|
223613
223655
|
/** Indicates whether encoding with an card encoder is required to issue or reissue the plastic card associated with the access method. */
|
|
223614
223656
|
is_encoding_required?: boolean | undefined;
|
|
223657
|
+
/** 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. */
|
|
223658
|
+
is_ready_for_encoding?: boolean | undefined;
|
|
223615
223659
|
/** The actual PIN code for code access methods. */
|
|
223616
223660
|
code?: (string | null) | undefined;
|
|
223617
223661
|
/** Warnings associated with the [access method](https://docs.seam.co/latest/capability-guides/access-grants/delivering-access-methods). */
|
package/dist/index.cjs
CHANGED
|
@@ -2808,6 +2808,9 @@ var access_method = zod.z.object({
|
|
|
2808
2808
|
is_encoding_required: zod.z.boolean().optional().describe(
|
|
2809
2809
|
"Indicates whether encoding with an card encoder is required to issue or reissue the plastic card associated with the access method."
|
|
2810
2810
|
),
|
|
2811
|
+
is_ready_for_encoding: zod.z.boolean().optional().describe(
|
|
2812
|
+
"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."
|
|
2813
|
+
),
|
|
2811
2814
|
code: zod.z.string().nullable().optional().describe("The actual PIN code for code access methods."),
|
|
2812
2815
|
warnings: zod.z.array(access_method_warning).describe(
|
|
2813
2816
|
"Warnings associated with the [access method](https://docs.seam.co/latest/capability-guides/access-grants/delivering-access-methods)."
|
|
@@ -8641,6 +8644,10 @@ var openapi_default = {
|
|
|
8641
8644
|
description: "Indicates whether the access method has been issued.",
|
|
8642
8645
|
type: "boolean"
|
|
8643
8646
|
},
|
|
8647
|
+
is_ready_for_encoding: {
|
|
8648
|
+
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.",
|
|
8649
|
+
type: "boolean"
|
|
8650
|
+
},
|
|
8644
8651
|
issued_at: {
|
|
8645
8652
|
description: "Date and time at which the access method was issued.",
|
|
8646
8653
|
format: "date-time",
|
|
@@ -41150,6 +41157,10 @@ var openapi_default = {
|
|
|
41150
41157
|
description: "Indicates whether the access method has been issued.",
|
|
41151
41158
|
type: "boolean"
|
|
41152
41159
|
},
|
|
41160
|
+
is_ready_for_encoding: {
|
|
41161
|
+
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.",
|
|
41162
|
+
type: "boolean"
|
|
41163
|
+
},
|
|
41153
41164
|
issued_at: {
|
|
41154
41165
|
description: "Date and time at which the access method was issued.",
|
|
41155
41166
|
format: "date-time",
|
|
@@ -41542,6 +41553,10 @@ var openapi_default = {
|
|
|
41542
41553
|
description: "Indicates whether the access method has been issued.",
|
|
41543
41554
|
type: "boolean"
|
|
41544
41555
|
},
|
|
41556
|
+
is_ready_for_encoding: {
|
|
41557
|
+
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.",
|
|
41558
|
+
type: "boolean"
|
|
41559
|
+
},
|
|
41545
41560
|
issued_at: {
|
|
41546
41561
|
description: "Date and time at which the access method was issued.",
|
|
41547
41562
|
format: "date-time",
|
|
@@ -41962,6 +41977,10 @@ var openapi_default = {
|
|
|
41962
41977
|
description: "Indicates whether the access method has been issued.",
|
|
41963
41978
|
type: "boolean"
|
|
41964
41979
|
},
|
|
41980
|
+
is_ready_for_encoding: {
|
|
41981
|
+
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.",
|
|
41982
|
+
type: "boolean"
|
|
41983
|
+
},
|
|
41965
41984
|
issued_at: {
|
|
41966
41985
|
description: "Date and time at which the access method was issued.",
|
|
41967
41986
|
format: "date-time",
|
|
@@ -42372,6 +42391,10 @@ var openapi_default = {
|
|
|
42372
42391
|
description: "Indicates whether the access method has been issued.",
|
|
42373
42392
|
type: "boolean"
|
|
42374
42393
|
},
|
|
42394
|
+
is_ready_for_encoding: {
|
|
42395
|
+
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.",
|
|
42396
|
+
type: "boolean"
|
|
42397
|
+
},
|
|
42375
42398
|
issued_at: {
|
|
42376
42399
|
description: "Date and time at which the access method was issued.",
|
|
42377
42400
|
format: "date-time",
|