"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getVoucherifyEndpointURL = void 0;
const getVoucherifyEndpointURL = (settings, eventType) => {
    if (!settings.customURL) {
        throw new Error('URL not provided.');
    }
    return `${settings.customURL}/segmentio/${eventType}-processing`;
};
exports.getVoucherifyEndpointURL = getVoucherifyEndpointURL;
//# sourceMappingURL=url-provider.js.map