"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.GetRecordResponseSchema = exports.GetRecordInputSchema = exports.UpdateRecordResponseSchema = exports.UpdateRecordInputSchema = exports.CreateRecordResponseSchema = exports.CreateRecordInputSchema = void 0;
const zod_1 = require("zod");
/**
 * Create a record
 */
exports.CreateRecordInputSchema = zod_1.z.object({
    sObject: zod_1.z.string().min(1),
    data: zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()),
});
exports.CreateRecordResponseSchema = zod_1.z.object({
    id: zod_1.z.string(),
    errors: zod_1.z.array(zod_1.z.unknown()),
    success: zod_1.z.boolean(),
});
/**
 * Update a record
 */
exports.UpdateRecordInputSchema = zod_1.z.object({
    sObject: zod_1.z.string().min(1),
    sObjectId: zod_1.z.string().min(1),
    data: zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()),
});
exports.UpdateRecordResponseSchema = zod_1.z.undefined();
/**
 * Get a record
 */
exports.GetRecordInputSchema = zod_1.z.object({
    sObject: zod_1.z.string().min(1),
    sObjectId: zod_1.z.string().min(1),
});
exports.GetRecordResponseSchema = zod_1.z.record(zod_1.z.string(), zod_1.z.unknown());
//# sourceMappingURL=record.schema.js.map