"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.GetCallDetailsResponseSchema = exports.GetCallDetailsInputSchema = void 0;
const zod_1 = require("zod");
exports.GetCallDetailsInputSchema = zod_1.z.object({
    call_id: zod_1.z.string().min(1),
});
exports.GetCallDetailsResponseSchema = zod_1.z.object({
    call_id: zod_1.z.string(),
    c_id: zod_1.z.string(),
    call_length: zod_1.z.number(),
    batch_id: zod_1.z.string().nullable(),
    to: zod_1.z.string(),
    from: zod_1.z.string(),
    completed: zod_1.z.boolean(),
    created_at: zod_1.z.string().datetime(),
    inbound: zod_1.z.boolean(),
    queue_status: zod_1.z.string(),
    max_duration: zod_1.z.number(),
    error_message: zod_1.z.string().nullable(),
    variables: zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()),
    answered_by: zod_1.z.string().nullable(),
    record: zod_1.z.boolean(),
    recording_url: zod_1.z.string().nullable(),
    metadata: zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()),
    summary: zod_1.z.string(),
    price: zod_1.z.number(),
    started_at: zod_1.z.string().datetime(),
    local_dialing: zod_1.z.boolean(),
    call_ended_by: zod_1.z.string(),
    pathway_logs: zod_1.z.unknown().nullable(),
    analysis_schema: zod_1.z.unknown().nullable(),
    analysis: zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()),
    transferred_to: zod_1.z.unknown().nullable(),
    pathway_tags: zod_1.z.array(zod_1.z.unknown()),
    recording_expiration: zod_1.z.unknown().nullable(),
    status: zod_1.z.string(),
    pathway_id: zod_1.z.string().nullable(),
    concatenated_transcript: zod_1.z.string(),
    transcripts: zod_1.z.array(zod_1.z.object({
        id: zod_1.z.number(),
        user: zod_1.z.string(),
        text: zod_1.z.string(),
        created_at: zod_1.z.string().datetime(),
    })),
    corrected_duration: zod_1.z.string(),
    end_at: zod_1.z.string().datetime(),
});
//# sourceMappingURL=GetCallDetails.schema.js.map