@seamapi/types 1.788.0 → 1.789.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 +28 -1
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +186 -0
- package/dist/index.cjs +28 -1
- package/dist/index.cjs.map +1 -1
- 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 +11 -0
- package/lib/seam/connect/models/action-attempts/encode-credential.js.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +21 -0
- package/lib/seam/connect/openapi.js +16 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +150 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/action-attempts/encode-credential.ts +18 -0
- package/src/lib/seam/connect/openapi.ts +19 -0
- package/src/lib/seam/connect/route-types.ts +180 -0
package/dist/connect.cjs
CHANGED
|
@@ -4411,6 +4411,16 @@ var encoding_interrupted_error = zod.z.object({
|
|
|
4411
4411
|
}).describe(
|
|
4412
4412
|
"Error to indicate that encoding was interrupted, for example, if the card was removed from the encoder before writing was complete."
|
|
4413
4413
|
);
|
|
4414
|
+
var credential_being_deleted_error = zod.z.object({
|
|
4415
|
+
type: zod.z.literal("credential_being_deleted").describe(
|
|
4416
|
+
"Error type to indicate that the credential is being deleted and can no longer be encoded."
|
|
4417
|
+
),
|
|
4418
|
+
message: zod.z.string().describe(
|
|
4419
|
+
"Detailed description of the error. Provides insights into the issue and potentially how to rectify it."
|
|
4420
|
+
)
|
|
4421
|
+
}).describe(
|
|
4422
|
+
"Error to indicate that the credential is being deleted and can no longer be encoded."
|
|
4423
|
+
);
|
|
4414
4424
|
var error4 = zod.z.union([
|
|
4415
4425
|
...common_action_attempt_errors,
|
|
4416
4426
|
no_credential_on_encoder_error,
|
|
@@ -4419,7 +4429,8 @@ var error4 = zod.z.union([
|
|
|
4419
4429
|
encoder_not_online_error,
|
|
4420
4430
|
encoder_communication_timeout,
|
|
4421
4431
|
bridge_disconnected_error,
|
|
4422
|
-
encoding_interrupted_error
|
|
4432
|
+
encoding_interrupted_error,
|
|
4433
|
+
credential_being_deleted_error
|
|
4423
4434
|
]);
|
|
4424
4435
|
var result4 = acs_credential.or(unmanaged_acs_credential).describe(
|
|
4425
4436
|
"Result of an encoding attempt. If the attempt was successful, includes the credential data that was encoded onto the card."
|
|
@@ -13829,6 +13840,22 @@ var openapi_default = {
|
|
|
13829
13840
|
},
|
|
13830
13841
|
required: ["type", "message"],
|
|
13831
13842
|
type: "object"
|
|
13843
|
+
},
|
|
13844
|
+
{
|
|
13845
|
+
description: "Error to indicate that the credential is being deleted and can no longer be encoded.",
|
|
13846
|
+
properties: {
|
|
13847
|
+
message: {
|
|
13848
|
+
description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
|
|
13849
|
+
type: "string"
|
|
13850
|
+
},
|
|
13851
|
+
type: {
|
|
13852
|
+
description: "Error type to indicate that the credential is being deleted and can no longer be encoded.",
|
|
13853
|
+
enum: ["credential_being_deleted"],
|
|
13854
|
+
type: "string"
|
|
13855
|
+
}
|
|
13856
|
+
},
|
|
13857
|
+
required: ["type", "message"],
|
|
13858
|
+
type: "object"
|
|
13832
13859
|
}
|
|
13833
13860
|
]
|
|
13834
13861
|
},
|