"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.SendSmsResponseSchema = exports.SendSmsInputSchema = void 0;
const zod_1 = require("zod");
exports.SendSmsInputSchema = zod_1.z
    .object({
    user_number: zod_1.z.string().min(1), // For best results, use the E.164 format.
    agent_number: zod_1.z.string().min(1), // Must be a Bland-owned SMS-enabled number.
    agent_message: zod_1.z.string().optional(), // When omitted, the pathway generates the message.
    pathway_id: zod_1.z.string().optional(),
    new_conversation: zod_1.z.boolean().optional(),
    request_data: zod_1.z.record(zod_1.z.string(), zod_1.z.any()).optional(),
    webhook: zod_1.z.string().optional(),
    time_out: zod_1.z.number().optional(), // Seconds of user silence before the timeout flow fires. Persists on the conversation.
    timeout_message: zod_1.z.string().optional(), // Message sent when the timeout fires.
    warning_time: zod_1.z.number().optional(), // Seconds before sending the warning message. Must be less than time_out.
    warning_message: zod_1.z.string().optional(), // Warning message sent at warning_time.
    metadata: zod_1.z.record(zod_1.z.string(), zod_1.z.any()).optional(),
})
    .passthrough();
exports.SendSmsResponseSchema = zod_1.z
    .object({
    data: zod_1.z
        .object({
        conversation_id: zod_1.z.string().optional(),
        message_id: zod_1.z.string().optional(),
        status: zod_1.z.string().optional(),
    })
        .passthrough()
        .nullish(),
    errors: zod_1.z.array(zod_1.z.any()).nullish(),
})
    .passthrough();
//# sourceMappingURL=SendSms.schema.js.map