@seamapi/types 1.789.0 → 1.790.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 CHANGED
@@ -4421,6 +4421,16 @@ var credential_being_deleted_error = zod.z.object({
4421
4421
  }).describe(
4422
4422
  "Error to indicate that the credential is being deleted and can no longer be encoded."
4423
4423
  );
4424
+ var credential_deleted_error = zod.z.object({
4425
+ type: zod.z.literal("credential_deleted").describe(
4426
+ "Error type to indicate that the credential was deleted while encoding was in progress."
4427
+ ),
4428
+ message: zod.z.string().describe(
4429
+ "Detailed description of the error. Provides insights into the issue and potentially how to rectify it."
4430
+ )
4431
+ }).describe(
4432
+ "Error to indicate that the credential was deleted while encoding was in progress."
4433
+ );
4424
4434
  var error4 = zod.z.union([
4425
4435
  ...common_action_attempt_errors,
4426
4436
  no_credential_on_encoder_error,
@@ -4430,7 +4440,8 @@ var error4 = zod.z.union([
4430
4440
  encoder_communication_timeout,
4431
4441
  bridge_disconnected_error,
4432
4442
  encoding_interrupted_error,
4433
- credential_being_deleted_error
4443
+ credential_being_deleted_error,
4444
+ credential_deleted_error
4434
4445
  ]);
4435
4446
  var result4 = acs_credential.or(unmanaged_acs_credential).describe(
4436
4447
  "Result of an encoding attempt. If the attempt was successful, includes the credential data that was encoded onto the card."
@@ -13856,6 +13867,22 @@ var openapi_default = {
13856
13867
  },
13857
13868
  required: ["type", "message"],
13858
13869
  type: "object"
13870
+ },
13871
+ {
13872
+ description: "Error to indicate that the credential was deleted while encoding was in progress.",
13873
+ properties: {
13874
+ message: {
13875
+ description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
13876
+ type: "string"
13877
+ },
13878
+ type: {
13879
+ description: "Error type to indicate that the credential was deleted while encoding was in progress.",
13880
+ enum: ["credential_deleted"],
13881
+ type: "string"
13882
+ }
13883
+ },
13884
+ required: ["type", "message"],
13885
+ type: "object"
13859
13886
  }
13860
13887
  ]
13861
13888
  },