"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.GetFaxDocumentResponseSchema = exports.GetFaxDocumentInputSchema = void 0;
const zod_1 = require("zod");
exports.GetFaxDocumentInputSchema = zod_1.z.object({
    Username: zod_1.z.string().min(1),
    Password: zod_1.z.string().min(1),
    Cookies: zod_1.z.boolean(),
    ProductId: zod_1.z.string().min(1),
    FaxIds1: zod_1.z.object({
        Id: zod_1.z.string(),
        Direction: zod_1.z.string().optional(),
    }),
    format: zod_1.z.enum(['pdf', 'tiff', 'jpeg', 'png', 'gif']),
});
const GetFaxInputSchemaWithoutCredentials = exports.GetFaxDocumentInputSchema.pick({
    Cookies: true,
    FaxIds1: true,
    format: true,
});
exports.GetFaxDocumentResponseSchema = zod_1.z.object({
    Success: zod_1.z.boolean(),
    Result: zod_1.z.array(zod_1.z.object({
        Id: zod_1.z.string(),
        Direction: zod_1.z.string(),
        Date: zod_1.z.string(),
        Status: zod_1.z.string(),
        FaxFiles: zod_1.z.array(zod_1.z.object({
            ContentType: zod_1.z.string(),
            ContentLength: zod_1.z.number(),
            FileContents: zod_1.z.string(),
        })),
        Format: zod_1.z.string(),
        PageCount: zod_1.z.number(),
    })),
});
//# sourceMappingURL=GetFaxDocument.schema.js.map