@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 +2 -3
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +67 -25
- package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +5 -5
- package/lib/seam/connect/models/action-attempts/read-card.d.ts +5 -5
- package/lib/seam/connect/models/action-attempts/read-card.js +1 -1
- package/lib/seam/connect/models/action-attempts/read-card.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +42 -0
- package/lib/seam/connect/openapi.js +1 -1
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +20 -20
- package/package.json +1 -1
- package/src/lib/seam/connect/models/action-attempts/read-card.ts +1 -1
- package/src/lib/seam/connect/openapi.ts +1 -1
- package/src/lib/seam/connect/route-types.ts +20 -20
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.
|
|
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"
|