@seamapi/types 1.261.1 → 1.262.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
@@ -1700,8 +1700,7 @@ var lock_door_action_attempt = zod.z.discriminatedUnion("status", [
1700
1700
  ]);
1701
1701
  var action_type4 = zod.z.literal("READ_CARD");
1702
1702
  var error5 = zod.z.object({
1703
- type: zod.z.string(),
1704
- // TODO This should be typed properly with the possible errors
1703
+ type: zod.z.literal("no_card_on_encoder"),
1705
1704
  message: zod.z.string()
1706
1705
  });
1707
1706
  var result5 = zod.z.object({
@@ -3704,7 +3703,7 @@ var openapi_default = {
3704
3703
  error: {
3705
3704
  properties: {
3706
3705
  message: { type: "string" },
3707
- type: { type: "string" }
3706
+ type: { enum: ["no_card_on_encoder"], type: "string" }
3708
3707
  },
3709
3708
  required: ["type", "message"],
3710
3709
  type: "object"