"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.transformCustomer = transformCustomer;
function transformCustomer(payload) {
    return {
        customer: {
            id: payload.identifiers.userId,
            email: payload.customer?.email,
            firstName: payload.customer?.firstName,
            lastName: payload.customer?.lastName,
            phone: payload.customer?.phone,
            dob: payload.customer?.dob
        }
    };
}
//# sourceMappingURL=transformCustomer.js.map