@seamapi/types 1.788.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
@@ -4411,6 +4411,26 @@ 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
+ );
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
+ );
4414
4434
  var error4 = zod.z.union([
4415
4435
  ...common_action_attempt_errors,
4416
4436
  no_credential_on_encoder_error,
@@ -4419,7 +4439,9 @@ var error4 = zod.z.union([
4419
4439
  encoder_not_online_error,
4420
4440
  encoder_communication_timeout,
4421
4441
  bridge_disconnected_error,
4422
- encoding_interrupted_error
4442
+ encoding_interrupted_error,
4443
+ credential_being_deleted_error,
4444
+ credential_deleted_error
4423
4445
  ]);
4424
4446
  var result4 = acs_credential.or(unmanaged_acs_credential).describe(
4425
4447
  "Result of an encoding attempt. If the attempt was successful, includes the credential data that was encoded onto the card."
@@ -13829,6 +13851,38 @@ var openapi_default = {
13829
13851
  },
13830
13852
  required: ["type", "message"],
13831
13853
  type: "object"
13854
+ },
13855
+ {
13856
+ description: "Error to indicate that the credential is being deleted and can no longer be encoded.",
13857
+ properties: {
13858
+ message: {
13859
+ description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
13860
+ type: "string"
13861
+ },
13862
+ type: {
13863
+ description: "Error type to indicate that the credential is being deleted and can no longer be encoded.",
13864
+ enum: ["credential_being_deleted"],
13865
+ type: "string"
13866
+ }
13867
+ },
13868
+ required: ["type", "message"],
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"
13832
13886
  }
13833
13887
  ]
13834
13888
  },