"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");
exports.fields = {
    userId: {
        label: 'User ID',
        id: 'userId',
        type: extensions_core_1.FieldType.STRING,
        required: true,
        description: "The user's unique ID in Sendbird.",
    },
    leaveAllGroupChannelsUponDeactivation: {
        label: 'Leave all group channels upon deactivation',
        id: 'leaveAllGroupChannelsUponDeactivation',
        type: extensions_core_1.FieldType.BOOLEAN,
        required: false,
        description: 'Determines whether the user leaves all joined group channels upon deactivation. Defaults to true if not specified.',
    },
};
exports.FieldsValidationSchema = zod_1.z.object({
    userId: zod_1.z.string().nonempty(),
    leaveAllGroupChannelsUponDeactivation: zod_1.z.boolean().optional().default(true),
});
//# sourceMappingURL=fields.js.map