import * as v from "valibot";

export const sessionPrepareSchema = v.object({
    deviceId: v.pipe(v.number(), v.integer()),
    packageName: v.pipe(v.string(), v.minLength(1)),
    linkToken: v.optional(v.pipe(v.string(), v.minLength(1))),
});

export type SessionPrepareInput = v.InferOutput<typeof sessionPrepareSchema>;
