@seamapi/types 1.601.0 → 1.602.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 +48 -2
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +352 -0
- package/dist/index.cjs +48 -2
- 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.js +32 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +280 -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 +38 -0
- package/src/lib/seam/connect/route-types.ts +336 -0
package/dist/index.cjs
CHANGED
|
@@ -3743,11 +3743,18 @@ var credential_cannot_be_reissued = zod.z.object({
|
|
|
3743
3743
|
}).describe(
|
|
3744
3744
|
"Error to indicate that the affected credential cannot be reissued."
|
|
3745
3745
|
);
|
|
3746
|
+
var no_card_on_encoder_error = zod.z.object({
|
|
3747
|
+
type: zod.z.literal("no_card_on_encoder").describe("Error type to indicate that there is no card on the encoder."),
|
|
3748
|
+
message: zod.z.string().describe(
|
|
3749
|
+
"Detailed description of the error. Provides insights into the issue and potentially how to rectify it."
|
|
3750
|
+
)
|
|
3751
|
+
}).describe("Error to indicate that there is no card on the encoder.");
|
|
3746
3752
|
var error3 = zod.z.union([
|
|
3747
3753
|
...common_action_attempt_errors,
|
|
3748
3754
|
no_credential_on_encoder_error,
|
|
3749
3755
|
incompatible_card_format_error,
|
|
3750
|
-
credential_cannot_be_reissued
|
|
3756
|
+
credential_cannot_be_reissued,
|
|
3757
|
+
no_card_on_encoder_error
|
|
3751
3758
|
]);
|
|
3752
3759
|
var result3 = acs_credential.or(unmanaged_acs_credential).describe(
|
|
3753
3760
|
"Result of an encoding attempt. If the attempt was successful, includes the credential data that was encoded onto the card."
|
|
@@ -3844,9 +3851,16 @@ var no_credential_on_encoder_error2 = zod.z.object({
|
|
|
3844
3851
|
"Detailed description of the error. Provides insights into the issue and potentially how to rectify it."
|
|
3845
3852
|
)
|
|
3846
3853
|
}).describe("Error to indicate that there is no credential on the encoder.");
|
|
3854
|
+
var no_card_on_encoder_error2 = zod.z.object({
|
|
3855
|
+
type: zod.z.literal("no_card_on_encoder").describe("Error type to indicate that there is no card on the encoder."),
|
|
3856
|
+
message: zod.z.string().describe(
|
|
3857
|
+
"Detailed description of the error. Provides insights into the issue and potentially how to rectify it."
|
|
3858
|
+
)
|
|
3859
|
+
}).describe("Error to indicate that there is no card on the encoder.");
|
|
3847
3860
|
var error7 = zod.z.union([
|
|
3848
3861
|
...common_action_attempt_errors,
|
|
3849
|
-
no_credential_on_encoder_error2
|
|
3862
|
+
no_credential_on_encoder_error2,
|
|
3863
|
+
no_card_on_encoder_error2
|
|
3850
3864
|
]);
|
|
3851
3865
|
var warning = zod.z.object({
|
|
3852
3866
|
warning_code: zod.z.union([
|
|
@@ -10709,6 +10723,22 @@ var openapi_default = {
|
|
|
10709
10723
|
},
|
|
10710
10724
|
required: ["type", "message"],
|
|
10711
10725
|
type: "object"
|
|
10726
|
+
},
|
|
10727
|
+
{
|
|
10728
|
+
description: "Error to indicate that there is no card on the encoder.",
|
|
10729
|
+
properties: {
|
|
10730
|
+
message: {
|
|
10731
|
+
description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
|
|
10732
|
+
type: "string"
|
|
10733
|
+
},
|
|
10734
|
+
type: {
|
|
10735
|
+
description: "Error type to indicate that there is no card on the encoder.",
|
|
10736
|
+
enum: ["no_card_on_encoder"],
|
|
10737
|
+
type: "string"
|
|
10738
|
+
}
|
|
10739
|
+
},
|
|
10740
|
+
required: ["type", "message"],
|
|
10741
|
+
type: "object"
|
|
10712
10742
|
}
|
|
10713
10743
|
]
|
|
10714
10744
|
},
|
|
@@ -11663,6 +11693,22 @@ var openapi_default = {
|
|
|
11663
11693
|
},
|
|
11664
11694
|
required: ["type", "message"],
|
|
11665
11695
|
type: "object"
|
|
11696
|
+
},
|
|
11697
|
+
{
|
|
11698
|
+
description: "Error to indicate that there is no card on the encoder.",
|
|
11699
|
+
properties: {
|
|
11700
|
+
message: {
|
|
11701
|
+
description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
|
|
11702
|
+
type: "string"
|
|
11703
|
+
},
|
|
11704
|
+
type: {
|
|
11705
|
+
description: "Error type to indicate that there is no card on the encoder.",
|
|
11706
|
+
enum: ["no_card_on_encoder"],
|
|
11707
|
+
type: "string"
|
|
11708
|
+
}
|
|
11709
|
+
},
|
|
11710
|
+
required: ["type", "message"],
|
|
11711
|
+
type: "object"
|
|
11666
11712
|
}
|
|
11667
11713
|
]
|
|
11668
11714
|
},
|