"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.FieldsSchema = exports.dataPoints = exports.fields = void 0;
const zod_1 = require("zod");
const extensions_core_1 = require("@awell-health/extensions-core");
exports.fields = {
    workspaceId: {
        id: 'workspaceId',
        label: 'Workspace ID',
        type: extensions_core_1.FieldType.STRING,
        required: true,
        description: 'Unique identifier (UUID) of the workspace the document belongs to.',
    },
    documentId: {
        id: 'documentId',
        label: 'Document ID',
        type: extensions_core_1.FieldType.STRING,
        required: true,
        description: 'Unique identifier (UUID) of the document to retrieve.',
    },
};
exports.dataPoints = {
    id: {
        key: 'id',
        valueType: 'string',
    },
    name: {
        key: 'name',
        valueType: 'string',
    },
    workspaceId: {
        key: 'workspaceId',
        valueType: 'string',
    },
    createdAt: {
        key: 'createdAt',
        valueType: 'date',
    },
    addedAt: {
        key: 'addedAt',
        valueType: 'date',
    },
    isUploading: {
        key: 'isUploading',
        valueType: 'boolean',
    },
    pagesCount: {
        key: 'pagesCount',
        valueType: 'number',
    },
    from: {
        key: 'from',
        valueType: 'string',
    },
    to: {
        key: 'to',
        valueType: 'string',
    },
    sourceType: {
        key: 'sourceType',
        valueType: 'string',
    },
    sourceId: {
        key: 'sourceId',
        valueType: 'string',
    },
    statusName: {
        key: 'statusName',
        valueType: 'string',
    },
    typeName: {
        key: 'typeName',
        valueType: 'string',
    },
    workspaceName: {
        key: 'workspaceName',
        valueType: 'string',
    },
    documentResponse: {
        key: 'documentResponse',
        valueType: 'json',
    },
};
exports.FieldsSchema = zod_1.z.object({
    workspaceId: zod_1.z.string().min(1),
    documentId: zod_1.z.string().min(1),
});
//# sourceMappingURL=config.js.map