@seamapi/types 1.336.1 → 1.337.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 +17 -1
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +78 -0
- package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +15 -0
- package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +15 -0
- package/lib/seam/connect/models/action-attempts/encode-credential.js +5 -0
- package/lib/seam/connect/models/action-attempts/encode-credential.js.map +1 -1
- package/lib/seam/connect/openapi.js +11 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +63 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/action-attempts/encode-credential.ts +6 -0
- package/src/lib/seam/connect/openapi.ts +11 -0
- package/src/lib/seam/connect/route-types.ts +84 -0
package/dist/connect.cjs
CHANGED
|
@@ -2311,10 +2311,15 @@ var incompatible_card_format_error = zod.z.object({
|
|
|
2311
2311
|
type: zod.z.literal("incompatible_card_format"),
|
|
2312
2312
|
message: zod.z.string()
|
|
2313
2313
|
});
|
|
2314
|
+
var credential_cannot_be_reissued = zod.z.object({
|
|
2315
|
+
type: zod.z.literal("credential_cannot_be_reissued"),
|
|
2316
|
+
message: zod.z.string()
|
|
2317
|
+
});
|
|
2314
2318
|
var error3 = zod.z.union([
|
|
2315
2319
|
...common_action_attempt_errors,
|
|
2316
2320
|
no_credential_on_encoder_error,
|
|
2317
|
-
incompatible_card_format_error
|
|
2321
|
+
incompatible_card_format_error,
|
|
2322
|
+
credential_cannot_be_reissued
|
|
2318
2323
|
]);
|
|
2319
2324
|
var result3 = acs_credential.or(unmanaged_acs_credential);
|
|
2320
2325
|
var encode_credential_action_attempt = zod.z.discriminatedUnion("status", [
|
|
@@ -7389,6 +7394,17 @@ var openapi_default = {
|
|
|
7389
7394
|
},
|
|
7390
7395
|
required: ["type", "message"],
|
|
7391
7396
|
type: "object"
|
|
7397
|
+
},
|
|
7398
|
+
{
|
|
7399
|
+
properties: {
|
|
7400
|
+
message: { type: "string" },
|
|
7401
|
+
type: {
|
|
7402
|
+
enum: ["credential_cannot_be_reissued"],
|
|
7403
|
+
type: "string"
|
|
7404
|
+
}
|
|
7405
|
+
},
|
|
7406
|
+
required: ["type", "message"],
|
|
7407
|
+
type: "object"
|
|
7392
7408
|
}
|
|
7393
7409
|
]
|
|
7394
7410
|
},
|