@seamapi/types 1.877.1 → 1.878.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 +46 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +42 -0
- package/dist/index.cjs +46 -0
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/access-grants/access-method.d.ts +12 -0
- package/lib/seam/connect/models/access-grants/access-method.js +8 -0
- package/lib/seam/connect/models/access-grants/access-method.js.map +1 -1
- package/lib/seam/connect/openapi.js +40 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +36 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-grants/access-method.ts +12 -0
- package/src/lib/seam/connect/openapi.ts +50 -0
- package/src/lib/seam/connect/route-types.ts +36 -0
package/dist/connect.d.cts
CHANGED
|
@@ -4775,6 +4775,8 @@ declare const access_method: z.ZodObject<{
|
|
|
4775
4775
|
client_session_token: z.ZodOptional<z.ZodString>;
|
|
4776
4776
|
is_encoding_required: z.ZodOptional<z.ZodBoolean>;
|
|
4777
4777
|
is_ready_for_encoding: z.ZodOptional<z.ZodBoolean>;
|
|
4778
|
+
is_assignment_required: z.ZodOptional<z.ZodBoolean>;
|
|
4779
|
+
is_ready_for_assignment: z.ZodOptional<z.ZodBoolean>;
|
|
4778
4780
|
code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4779
4781
|
warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<{
|
|
4780
4782
|
created_at: z.ZodString;
|
|
@@ -5009,6 +5011,8 @@ declare const access_method: z.ZodObject<{
|
|
|
5009
5011
|
customization_profile_id?: string | undefined;
|
|
5010
5012
|
is_encoding_required?: boolean | undefined;
|
|
5011
5013
|
is_ready_for_encoding?: boolean | undefined;
|
|
5014
|
+
is_assignment_required?: boolean | undefined;
|
|
5015
|
+
is_ready_for_assignment?: boolean | undefined;
|
|
5012
5016
|
}, {
|
|
5013
5017
|
display_name: string;
|
|
5014
5018
|
workspace_id: string;
|
|
@@ -5070,6 +5074,8 @@ declare const access_method: z.ZodObject<{
|
|
|
5070
5074
|
customization_profile_id?: string | undefined;
|
|
5071
5075
|
is_encoding_required?: boolean | undefined;
|
|
5072
5076
|
is_ready_for_encoding?: boolean | undefined;
|
|
5077
|
+
is_assignment_required?: boolean | undefined;
|
|
5078
|
+
is_ready_for_assignment?: boolean | undefined;
|
|
5073
5079
|
}>;
|
|
5074
5080
|
type AccessMethod = z.infer<typeof access_method>;
|
|
5075
5081
|
|
|
@@ -43835,6 +43841,10 @@ type Routes = {
|
|
|
43835
43841
|
is_encoding_required?: boolean | undefined;
|
|
43836
43842
|
/** 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. */
|
|
43837
43843
|
is_ready_for_encoding?: boolean | undefined;
|
|
43844
|
+
/** Indicates whether an existing card credential must be assigned to this access method before it can be issued. Only applies to card-mode access methods on systems that support credential assignment. */
|
|
43845
|
+
is_assignment_required?: boolean | undefined;
|
|
43846
|
+
/** Indicates whether the access method is ready for card assignment. This is true when the access method is in card mode, has not yet been issued, and the system supports credential assignment. */
|
|
43847
|
+
is_ready_for_assignment?: boolean | undefined;
|
|
43838
43848
|
/** The actual PIN code for code access methods. */
|
|
43839
43849
|
code?: (string | null) | undefined;
|
|
43840
43850
|
/** Warnings associated with the [access method](https://docs.seam.co/latest/capability-guides/access-grants/delivering-access-methods). */
|
|
@@ -44819,6 +44829,10 @@ type Routes = {
|
|
|
44819
44829
|
is_encoding_required?: boolean | undefined;
|
|
44820
44830
|
/** 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. */
|
|
44821
44831
|
is_ready_for_encoding?: boolean | undefined;
|
|
44832
|
+
/** Indicates whether an existing card credential must be assigned to this access method before it can be issued. Only applies to card-mode access methods on systems that support credential assignment. */
|
|
44833
|
+
is_assignment_required?: boolean | undefined;
|
|
44834
|
+
/** Indicates whether the access method is ready for card assignment. This is true when the access method is in card mode, has not yet been issued, and the system supports credential assignment. */
|
|
44835
|
+
is_ready_for_assignment?: boolean | undefined;
|
|
44822
44836
|
/** The actual PIN code for code access methods. */
|
|
44823
44837
|
code?: (string | null) | undefined;
|
|
44824
44838
|
/** Warnings associated with the [access method](https://docs.seam.co/latest/capability-guides/access-grants/delivering-access-methods). */
|
|
@@ -46479,6 +46493,10 @@ type Routes = {
|
|
|
46479
46493
|
is_encoding_required?: boolean | undefined;
|
|
46480
46494
|
/** 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. */
|
|
46481
46495
|
is_ready_for_encoding?: boolean | undefined;
|
|
46496
|
+
/** Indicates whether an existing card credential must be assigned to this access method before it can be issued. Only applies to card-mode access methods on systems that support credential assignment. */
|
|
46497
|
+
is_assignment_required?: boolean | undefined;
|
|
46498
|
+
/** Indicates whether the access method is ready for card assignment. This is true when the access method is in card mode, has not yet been issued, and the system supports credential assignment. */
|
|
46499
|
+
is_ready_for_assignment?: boolean | undefined;
|
|
46482
46500
|
/** The actual PIN code for code access methods. */
|
|
46483
46501
|
code?: (string | null) | undefined;
|
|
46484
46502
|
/** Warnings associated with the [access method](https://docs.seam.co/latest/capability-guides/access-grants/delivering-access-methods). */
|
|
@@ -48352,6 +48370,10 @@ type Routes = {
|
|
|
48352
48370
|
is_encoding_required?: boolean | undefined;
|
|
48353
48371
|
/** 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. */
|
|
48354
48372
|
is_ready_for_encoding?: boolean | undefined;
|
|
48373
|
+
/** Indicates whether an existing card credential must be assigned to this access method before it can be issued. Only applies to card-mode access methods on systems that support credential assignment. */
|
|
48374
|
+
is_assignment_required?: boolean | undefined;
|
|
48375
|
+
/** Indicates whether the access method is ready for card assignment. This is true when the access method is in card mode, has not yet been issued, and the system supports credential assignment. */
|
|
48376
|
+
is_ready_for_assignment?: boolean | undefined;
|
|
48355
48377
|
/** The actual PIN code for code access methods. */
|
|
48356
48378
|
code?: (string | null) | undefined;
|
|
48357
48379
|
/** Warnings associated with the [access method](https://docs.seam.co/latest/capability-guides/access-grants/delivering-access-methods). */
|
|
@@ -48672,6 +48694,10 @@ type Routes = {
|
|
|
48672
48694
|
is_encoding_required?: boolean | undefined;
|
|
48673
48695
|
/** 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. */
|
|
48674
48696
|
is_ready_for_encoding?: boolean | undefined;
|
|
48697
|
+
/** Indicates whether an existing card credential must be assigned to this access method before it can be issued. Only applies to card-mode access methods on systems that support credential assignment. */
|
|
48698
|
+
is_assignment_required?: boolean | undefined;
|
|
48699
|
+
/** Indicates whether the access method is ready for card assignment. This is true when the access method is in card mode, has not yet been issued, and the system supports credential assignment. */
|
|
48700
|
+
is_ready_for_assignment?: boolean | undefined;
|
|
48675
48701
|
/** The actual PIN code for code access methods. */
|
|
48676
48702
|
code?: (string | null) | undefined;
|
|
48677
48703
|
/** Warnings associated with the [access method](https://docs.seam.co/latest/capability-guides/access-grants/delivering-access-methods). */
|
|
@@ -50309,6 +50335,10 @@ type Routes = {
|
|
|
50309
50335
|
is_encoding_required?: boolean | undefined;
|
|
50310
50336
|
/** 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. */
|
|
50311
50337
|
is_ready_for_encoding?: boolean | undefined;
|
|
50338
|
+
/** Indicates whether an existing card credential must be assigned to this access method before it can be issued. Only applies to card-mode access methods on systems that support credential assignment. */
|
|
50339
|
+
is_assignment_required?: boolean | undefined;
|
|
50340
|
+
/** Indicates whether the access method is ready for card assignment. This is true when the access method is in card mode, has not yet been issued, and the system supports credential assignment. */
|
|
50341
|
+
is_ready_for_assignment?: boolean | undefined;
|
|
50312
50342
|
/** The actual PIN code for code access methods. */
|
|
50313
50343
|
code?: (string | null) | undefined;
|
|
50314
50344
|
/** Warnings associated with the [access method](https://docs.seam.co/latest/capability-guides/access-grants/delivering-access-methods). */
|
|
@@ -50433,6 +50463,10 @@ type Routes = {
|
|
|
50433
50463
|
is_encoding_required?: boolean | undefined;
|
|
50434
50464
|
/** 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. */
|
|
50435
50465
|
is_ready_for_encoding?: boolean | undefined;
|
|
50466
|
+
/** Indicates whether an existing card credential must be assigned to this access method before it can be issued. Only applies to card-mode access methods on systems that support credential assignment. */
|
|
50467
|
+
is_assignment_required?: boolean | undefined;
|
|
50468
|
+
/** Indicates whether the access method is ready for card assignment. This is true when the access method is in card mode, has not yet been issued, and the system supports credential assignment. */
|
|
50469
|
+
is_ready_for_assignment?: boolean | undefined;
|
|
50436
50470
|
/** The actual PIN code for code access methods. */
|
|
50437
50471
|
code?: (string | null) | undefined;
|
|
50438
50472
|
/** Warnings associated with the [access method](https://docs.seam.co/latest/capability-guides/access-grants/delivering-access-methods). */
|
|
@@ -107863,6 +107897,10 @@ type Routes = {
|
|
|
107863
107897
|
is_encoding_required?: boolean | undefined;
|
|
107864
107898
|
/** 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. */
|
|
107865
107899
|
is_ready_for_encoding?: boolean | undefined;
|
|
107900
|
+
/** Indicates whether an existing card credential must be assigned to this access method before it can be issued. Only applies to card-mode access methods on systems that support credential assignment. */
|
|
107901
|
+
is_assignment_required?: boolean | undefined;
|
|
107902
|
+
/** Indicates whether the access method is ready for card assignment. This is true when the access method is in card mode, has not yet been issued, and the system supports credential assignment. */
|
|
107903
|
+
is_ready_for_assignment?: boolean | undefined;
|
|
107866
107904
|
/** The actual PIN code for code access methods. */
|
|
107867
107905
|
code?: (string | null) | undefined;
|
|
107868
107906
|
/** Warnings associated with the [access method](https://docs.seam.co/latest/capability-guides/access-grants/delivering-access-methods). */
|
|
@@ -135478,6 +135516,10 @@ type Routes = {
|
|
|
135478
135516
|
is_encoding_required?: boolean | undefined;
|
|
135479
135517
|
/** 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. */
|
|
135480
135518
|
is_ready_for_encoding?: boolean | undefined;
|
|
135519
|
+
/** Indicates whether an existing card credential must be assigned to this access method before it can be issued. Only applies to card-mode access methods on systems that support credential assignment. */
|
|
135520
|
+
is_assignment_required?: boolean | undefined;
|
|
135521
|
+
/** Indicates whether the access method is ready for card assignment. This is true when the access method is in card mode, has not yet been issued, and the system supports credential assignment. */
|
|
135522
|
+
is_ready_for_assignment?: boolean | undefined;
|
|
135481
135523
|
/** The actual PIN code for code access methods. */
|
|
135482
135524
|
code?: (string | null) | undefined;
|
|
135483
135525
|
/** Warnings associated with the [access method](https://docs.seam.co/latest/capability-guides/access-grants/delivering-access-methods). */
|
package/dist/index.cjs
CHANGED
|
@@ -3224,6 +3224,12 @@ var access_method = zod.z.object({
|
|
|
3224
3224
|
is_ready_for_encoding: zod.z.boolean().optional().describe(
|
|
3225
3225
|
"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."
|
|
3226
3226
|
),
|
|
3227
|
+
is_assignment_required: zod.z.boolean().optional().describe(
|
|
3228
|
+
"Indicates whether an existing card credential must be assigned to this access method before it can be issued. Only applies to card-mode access methods on systems that support credential assignment."
|
|
3229
|
+
),
|
|
3230
|
+
is_ready_for_assignment: zod.z.boolean().optional().describe(
|
|
3231
|
+
"Indicates whether the access method is ready for card assignment. This is true when the access method is in card mode, has not yet been issued, and the system supports credential assignment."
|
|
3232
|
+
),
|
|
3227
3233
|
code: zod.z.string().nullable().optional().describe("The actual PIN code for code access methods."),
|
|
3228
3234
|
warnings: zod.z.array(access_method_warning).describe(
|
|
3229
3235
|
"Warnings associated with the [access method](https://docs.seam.co/latest/capability-guides/access-grants/delivering-access-methods)."
|
|
@@ -9844,6 +9850,10 @@ var openapi = {
|
|
|
9844
9850
|
format: "uri",
|
|
9845
9851
|
type: "string"
|
|
9846
9852
|
},
|
|
9853
|
+
is_assignment_required: {
|
|
9854
|
+
description: "Indicates whether an existing card credential must be assigned to this access method before it can be issued. Only applies to card-mode access methods on systems that support credential assignment.",
|
|
9855
|
+
type: "boolean"
|
|
9856
|
+
},
|
|
9847
9857
|
is_encoding_required: {
|
|
9848
9858
|
description: "Indicates whether encoding with an card encoder is required to issue or reissue the plastic card associated with the access method.",
|
|
9849
9859
|
type: "boolean"
|
|
@@ -9852,6 +9862,10 @@ var openapi = {
|
|
|
9852
9862
|
description: "Indicates whether the access method has been issued.",
|
|
9853
9863
|
type: "boolean"
|
|
9854
9864
|
},
|
|
9865
|
+
is_ready_for_assignment: {
|
|
9866
|
+
description: "Indicates whether the access method is ready for card assignment. This is true when the access method is in card mode, has not yet been issued, and the system supports credential assignment.",
|
|
9867
|
+
type: "boolean"
|
|
9868
|
+
},
|
|
9855
9869
|
is_ready_for_encoding: {
|
|
9856
9870
|
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.",
|
|
9857
9871
|
type: "boolean"
|
|
@@ -44673,6 +44687,10 @@ var openapi = {
|
|
|
44673
44687
|
description: "Display name of the access method.",
|
|
44674
44688
|
type: "string"
|
|
44675
44689
|
},
|
|
44690
|
+
is_assignment_required: {
|
|
44691
|
+
description: "Indicates whether an existing card credential must be assigned to this access method before it can be issued. Only applies to card-mode access methods on systems that support credential assignment.",
|
|
44692
|
+
type: "boolean"
|
|
44693
|
+
},
|
|
44676
44694
|
is_encoding_required: {
|
|
44677
44695
|
description: "Indicates whether encoding with an card encoder is required to issue or reissue the plastic card associated with the access method.",
|
|
44678
44696
|
type: "boolean"
|
|
@@ -44681,6 +44699,10 @@ var openapi = {
|
|
|
44681
44699
|
description: "Indicates whether the access method has been issued.",
|
|
44682
44700
|
type: "boolean"
|
|
44683
44701
|
},
|
|
44702
|
+
is_ready_for_assignment: {
|
|
44703
|
+
description: "Indicates whether the access method is ready for card assignment. This is true when the access method is in card mode, has not yet been issued, and the system supports credential assignment.",
|
|
44704
|
+
type: "boolean"
|
|
44705
|
+
},
|
|
44684
44706
|
is_ready_for_encoding: {
|
|
44685
44707
|
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.",
|
|
44686
44708
|
type: "boolean"
|
|
@@ -45068,6 +45090,10 @@ var openapi = {
|
|
|
45068
45090
|
description: "Display name of the access method.",
|
|
45069
45091
|
type: "string"
|
|
45070
45092
|
},
|
|
45093
|
+
is_assignment_required: {
|
|
45094
|
+
description: "Indicates whether an existing card credential must be assigned to this access method before it can be issued. Only applies to card-mode access methods on systems that support credential assignment.",
|
|
45095
|
+
type: "boolean"
|
|
45096
|
+
},
|
|
45071
45097
|
is_encoding_required: {
|
|
45072
45098
|
description: "Indicates whether encoding with an card encoder is required to issue or reissue the plastic card associated with the access method.",
|
|
45073
45099
|
type: "boolean"
|
|
@@ -45076,6 +45102,10 @@ var openapi = {
|
|
|
45076
45102
|
description: "Indicates whether the access method has been issued.",
|
|
45077
45103
|
type: "boolean"
|
|
45078
45104
|
},
|
|
45105
|
+
is_ready_for_assignment: {
|
|
45106
|
+
description: "Indicates whether the access method is ready for card assignment. This is true when the access method is in card mode, has not yet been issued, and the system supports credential assignment.",
|
|
45107
|
+
type: "boolean"
|
|
45108
|
+
},
|
|
45079
45109
|
is_ready_for_encoding: {
|
|
45080
45110
|
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.",
|
|
45081
45111
|
type: "boolean"
|
|
@@ -45491,6 +45521,10 @@ var openapi = {
|
|
|
45491
45521
|
description: "Display name of the access method.",
|
|
45492
45522
|
type: "string"
|
|
45493
45523
|
},
|
|
45524
|
+
is_assignment_required: {
|
|
45525
|
+
description: "Indicates whether an existing card credential must be assigned to this access method before it can be issued. Only applies to card-mode access methods on systems that support credential assignment.",
|
|
45526
|
+
type: "boolean"
|
|
45527
|
+
},
|
|
45494
45528
|
is_encoding_required: {
|
|
45495
45529
|
description: "Indicates whether encoding with an card encoder is required to issue or reissue the plastic card associated with the access method.",
|
|
45496
45530
|
type: "boolean"
|
|
@@ -45499,6 +45533,10 @@ var openapi = {
|
|
|
45499
45533
|
description: "Indicates whether the access method has been issued.",
|
|
45500
45534
|
type: "boolean"
|
|
45501
45535
|
},
|
|
45536
|
+
is_ready_for_assignment: {
|
|
45537
|
+
description: "Indicates whether the access method is ready for card assignment. This is true when the access method is in card mode, has not yet been issued, and the system supports credential assignment.",
|
|
45538
|
+
type: "boolean"
|
|
45539
|
+
},
|
|
45502
45540
|
is_ready_for_encoding: {
|
|
45503
45541
|
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.",
|
|
45504
45542
|
type: "boolean"
|
|
@@ -45905,6 +45943,10 @@ var openapi = {
|
|
|
45905
45943
|
description: "Display name of the access method.",
|
|
45906
45944
|
type: "string"
|
|
45907
45945
|
},
|
|
45946
|
+
is_assignment_required: {
|
|
45947
|
+
description: "Indicates whether an existing card credential must be assigned to this access method before it can be issued. Only applies to card-mode access methods on systems that support credential assignment.",
|
|
45948
|
+
type: "boolean"
|
|
45949
|
+
},
|
|
45908
45950
|
is_encoding_required: {
|
|
45909
45951
|
description: "Indicates whether encoding with an card encoder is required to issue or reissue the plastic card associated with the access method.",
|
|
45910
45952
|
type: "boolean"
|
|
@@ -45913,6 +45955,10 @@ var openapi = {
|
|
|
45913
45955
|
description: "Indicates whether the access method has been issued.",
|
|
45914
45956
|
type: "boolean"
|
|
45915
45957
|
},
|
|
45958
|
+
is_ready_for_assignment: {
|
|
45959
|
+
description: "Indicates whether the access method is ready for card assignment. This is true when the access method is in card mode, has not yet been issued, and the system supports credential assignment.",
|
|
45960
|
+
type: "boolean"
|
|
45961
|
+
},
|
|
45916
45962
|
is_ready_for_encoding: {
|
|
45917
45963
|
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.",
|
|
45918
45964
|
type: "boolean"
|