"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.FieldsValidationSchema = exports.fields = void 0;
const zod_1 = require("zod");
const extensions_core_1 = require("@awell-health/extensions-core");
const validation_1 = require("../../../validation");
exports.fields = {
    customerId: {
        label: 'Customer ID',
        id: 'customerId',
        type: extensions_core_1.FieldType.NUMERIC,
        required: true,
        description: "The customer's unique ID in Sendbird.",
    },
    customFields: {
        id: 'customFields',
        label: 'Custom fields',
        description: 'A JSON object that can store up to twenty key-value items for additional customer information. The specified keys must be registered as a custom field in Sendbird.',
        type: extensions_core_1.FieldType.JSON,
        required: true,
    },
};
exports.FieldsValidationSchema = zod_1.z.object({
    customerId: zod_1.z.coerce.number(),
    customFields: validation_1.CustomFieldsValidationSchema,
});
//# sourceMappingURL=fields.js.map