"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.GetMessagesSchema = void 0;
const zod_1 = require("zod");
const CreatorSchema = zod_1.z.object({
    phone_number: zod_1.z.optional(zod_1.z.string()),
    type: zod_1.z.string(),
    name: zod_1.z.string(),
});
const PostSchema = zod_1.z.object({
    body: zod_1.z.string(),
    created_at: zod_1.z.number(),
    creator: CreatorSchema,
    conversation_uuid: zod_1.z.string(),
    uuid: zod_1.z.string()
});
exports.GetMessagesSchema = zod_1.z.object({
    posts: zod_1.z.optional(zod_1.z.array(PostSchema)),
});
const SendMessageResponseSchema = zod_1.z.object({
    post: PostSchema,
});
//# sourceMappingURL=schema.js.map