import TrackingEvent from '../../../tracking-event.js';
import { boolToYesNo } from '../../../utils/transformers.js';
import consumerModuleEventGroup from '../groups/module.js';
export const completeDcmStep = new TrackingEvent(consumerModuleEventGroup, ({ status, stepType, isRequiredStep, currentStep, totalSteps }) => ({
    currentStep,
    isRequiredStep: boolToYesNo(isRequiredStep),
    status,
    stepType,
    totalSteps
}));
export default completeDcmStep;
