"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.mockPathwayStepActivitiesResponse = exports.mockCurrentActivityResponse = void 0;
const date_fns_1 = require("date-fns");
const today = new Date();
const stepId = 'step_a';
exports.mockCurrentActivityResponse = {
    success: true,
    activity: {
        status: 'ACTIVE',
        date: today.toISOString(),
        object: {
            type: 'PLUGIN_ACTION',
        },
        context: {
            step_id: stepId,
        },
    },
};
exports.mockPathwayStepActivitiesResponse = {
    success: true,
    activities: [
        { ...exports.mockCurrentActivityResponse.activity },
        {
            id: 'calculation_two',
            status: 'DONE',
            date: (0, date_fns_1.subDays)(today, 1).toISOString(),
            object: {
                id: 'calculation_two',
                type: 'CALCULATION',
            },
            context: {
                step_id: 'step_a',
            },
        },
        {
            id: 'calculation_one',
            status: 'DONE',
            date: (0, date_fns_1.subDays)(today, 2).toISOString(),
            object: {
                id: 'calculation_one',
                type: 'CALCULATION',
            },
            context: {
                step_id: stepId,
            },
        },
        {
            id: 'form',
            status: 'DONE',
            date: (0, date_fns_1.subDays)(today, 3).toISOString(),
            object: {
                type: 'FORM',
            },
            context: {
                step_id: stepId,
            },
        },
    ],
};
//# sourceMappingURL=getLastCalculationActivityInCurrentStep.mock.js.map