"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.documentFieldValueAssigned = void 0;
const dataPoints = {
    webhookData: {
        key: 'webhookData',
        valueType: 'json',
    },
};
exports.documentFieldValueAssigned = {
    key: 'documentFieldValueAssigned',
    description: 'This webhook is triggered when a field value is assigned to a document.',
    dataPoints,
    onWebhookReceived: async ({ payload }, onSuccess) => {
        await onSuccess({
            data_points: {
                webhookData: JSON.stringify(payload),
            },
        });
    },
};
//# sourceMappingURL=documentFieldValueAssigned.js.map