"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
}) : (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    o[k2] = m[k];
}));
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
    Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
    o["default"] = v;
});
var __importStar = (this && this.__importStar) || function (mod) {
    if (mod && mod.__esModule) return mod;
    var result = {};
    if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
    __setModuleDefault(result, mod);
    return result;
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.listOffersBulk = exports.resolveOffer = exports.listOffers = exports.getOffer = exports.debugOffer = void 0;
var httpWixDealerV1ServingOffer = __importStar(require("./http.impl"));
function debugOffer() {
    var payload = { offerId: ':offerId' };
    var getRequestOptions = httpWixDealerV1ServingOffer.debugOffer(payload);
    var getUrl = function (context) {
        var url = getRequestOptions(context).url;
        return url;
    };
    return {
        getUrl: getUrl,
        httpMethod: 'POST',
        path: '/v1/dealer/debug/offers/{offerId}/debug',
        pathParams: { offerId: 'offerId' },
        __requestType: null,
        __originalRequestType: null,
        __responseType: null,
        __originalResponseType: null,
    };
}
exports.debugOffer = debugOffer;
function getOffer() {
    var payload = { offerId: ':offerId' };
    var getRequestOptions = httpWixDealerV1ServingOffer.getOffer(payload);
    var getUrl = function (context) {
        var url = getRequestOptions(context).url;
        return url;
    };
    return {
        getUrl: getUrl,
        httpMethod: 'GET',
        path: '/v1/dealer/debug/offer/{offerId}',
        pathParams: { offerId: 'offerId' },
        __requestType: null,
        __originalRequestType: null,
        __responseType: null,
        __originalResponseType: null,
    };
}
exports.getOffer = getOffer;
function listOffers() {
    var payload = {};
    var getRequestOptions = httpWixDealerV1ServingOffer.listOffers(payload);
    var getUrl = function (context) {
        var url = getRequestOptions(context).url;
        return url;
    };
    return {
        getUrl: getUrl,
        httpMethod: 'POST',
        path: '/v1/dealer/serving/offers/list',
        pathParams: {},
        __requestType: null,
        __originalRequestType: null,
        __responseType: null,
        __originalResponseType: null,
    };
}
exports.listOffers = listOffers;
function resolveOffer() {
    var payload = {};
    var getRequestOptions = httpWixDealerV1ServingOffer.resolveOffer(payload);
    var getUrl = function (context) {
        var url = getRequestOptions(context).url;
        return url;
    };
    return {
        getUrl: getUrl,
        httpMethod: 'POST',
        path: '/v1/dealer/serving/offer/resolve',
        pathParams: {},
        __requestType: null,
        __originalRequestType: null,
        __responseType: null,
        __originalResponseType: null,
    };
}
exports.resolveOffer = resolveOffer;
function listOffersBulk() {
    var payload = {};
    var getRequestOptions = httpWixDealerV1ServingOffer.listOffersBulk(payload);
    var getUrl = function (context) {
        var url = getRequestOptions(context).url;
        return url;
    };
    return {
        getUrl: getUrl,
        httpMethod: 'POST',
        path: '/v1/dealer/serving/offers/bulk',
        pathParams: {},
        __requestType: null,
        __originalRequestType: null,
        __responseType: null,
        __originalResponseType: null,
    };
}
exports.listOffersBulk = listOffersBulk;
//# sourceMappingURL=meta.impl.js.map