UNPKG

@whitebox-co/walmart-marketplace-api

Version:

A fully typed TypeScript, Javascript, and Node.js API library for the Walmart Marketplace API

802 lines (801 loc) 148 kB
"use strict"; /* tslint:disable */ /* eslint-disable */ /** * Settings Management * Settings Management API * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); exports.SettingsApi = exports.SettingsApiFactory = exports.SettingsApiFp = exports.SettingsApiAxiosParamCreator = exports.UpdateShippingTemplateRequestStatusEnum = exports.UpdateShippingTemplateRequestRateModelTypeEnum = exports.UpdateShippingTemplateRequestTypeEnum = exports.TimeWindowUnitOfMeasurementEnum = exports.ThrottlingConfigDTOTypeEnum = exports.ShippingTemplateSummaryRateModelTypeEnum = exports.ShippingTemplateSummaryStatusEnum = exports.ShippingTemplateSummaryTypeEnum = exports.ShippingTemplateStatusEnum = exports.ShippingTemplateRateModelTypeEnum = exports.ShippingTemplateTypeEnum = exports.ShippingMethodStatusEnum = exports.ShippingMethodShipMethodEnum = exports.ShippingConfigAnyOfConfigurationNameEnum = exports.ShippingConfigConfigurationNameEnum = exports.LagTimeConfigConfigurationNameEnum = exports.InlineResponse200ShippingMethodsStatusEnum = exports.InlineResponse200ShippingMethodsShipMethodEnum = exports.InlineResponse200ConfigurationsAddressTypesEnum = exports.InlineResponse2004ShippingTemplatesRateModelTypeEnum = exports.InlineResponse2004ShippingTemplatesStatusEnum = exports.InlineResponse2004ShippingTemplatesTypeEnum = exports.InlineResponse200StatusEnum = exports.InlineResponse200RateModelTypeEnum = exports.InlineResponse200TypeEnum = exports.InlineObjectStatusEnum = exports.InlineObjectRateModelTypeEnum = exports.InlineObjectTypeEnum = exports.FileSizeUnitOfMeasurementEnum = exports.FeedThrottlingDTOFeedTypeEnum = exports.FeedConfigConfigurationValuesFeedTypeEnum = exports.FeedConfigConfigurationThrottleConfigurationsTypeEnum = exports.FeedConfigConfigurationRateReplenishTimeWindowUnitOfMeasurementEnum = exports.FeedConfigConfigurationFileSizeUnitOfMeasurementEnum = exports.AccountInfoDTOStatusEnum = exports.AccountConfigConfigurationStatusEnum = void 0; const axios_1 = __importDefault(require("axios")); // Some imports not used depending on template conditions // @ts-ignore const common_1 = require("./common"); // @ts-ignore const base_1 = require("./base"); /** * @export * @enum {string} */ var AccountConfigConfigurationStatusEnum; (function (AccountConfigConfigurationStatusEnum) { AccountConfigConfigurationStatusEnum["Active"] = "ACTIVE"; AccountConfigConfigurationStatusEnum["OnboardingActive"] = "ONBOARDING_ACTIVE"; AccountConfigConfigurationStatusEnum["OnboardingInactive"] = "ONBOARDING_INACTIVE"; AccountConfigConfigurationStatusEnum["Suspended"] = "SUSPENDED"; AccountConfigConfigurationStatusEnum["TnsDeclined"] = "TNS_DECLINED"; AccountConfigConfigurationStatusEnum["Terminated"] = "TERMINATED"; })(AccountConfigConfigurationStatusEnum = exports.AccountConfigConfigurationStatusEnum || (exports.AccountConfigConfigurationStatusEnum = {})); /** * @export * @enum {string} */ var AccountInfoDTOStatusEnum; (function (AccountInfoDTOStatusEnum) { AccountInfoDTOStatusEnum["Active"] = "ACTIVE"; AccountInfoDTOStatusEnum["OnboardingActive"] = "ONBOARDING_ACTIVE"; AccountInfoDTOStatusEnum["OnboardingInactive"] = "ONBOARDING_INACTIVE"; AccountInfoDTOStatusEnum["Suspended"] = "SUSPENDED"; AccountInfoDTOStatusEnum["TnsDeclined"] = "TNS_DECLINED"; AccountInfoDTOStatusEnum["Terminated"] = "TERMINATED"; })(AccountInfoDTOStatusEnum = exports.AccountInfoDTOStatusEnum || (exports.AccountInfoDTOStatusEnum = {})); /** * @export * @enum {string} */ var FeedConfigConfigurationFileSizeUnitOfMeasurementEnum; (function (FeedConfigConfigurationFileSizeUnitOfMeasurementEnum) { FeedConfigConfigurationFileSizeUnitOfMeasurementEnum["Bytes"] = "BYTES"; })(FeedConfigConfigurationFileSizeUnitOfMeasurementEnum = exports.FeedConfigConfigurationFileSizeUnitOfMeasurementEnum || (exports.FeedConfigConfigurationFileSizeUnitOfMeasurementEnum = {})); /** * @export * @enum {string} */ var FeedConfigConfigurationRateReplenishTimeWindowUnitOfMeasurementEnum; (function (FeedConfigConfigurationRateReplenishTimeWindowUnitOfMeasurementEnum) { FeedConfigConfigurationRateReplenishTimeWindowUnitOfMeasurementEnum["Second"] = "SECOND"; })(FeedConfigConfigurationRateReplenishTimeWindowUnitOfMeasurementEnum = exports.FeedConfigConfigurationRateReplenishTimeWindowUnitOfMeasurementEnum || (exports.FeedConfigConfigurationRateReplenishTimeWindowUnitOfMeasurementEnum = {})); /** * @export * @enum {string} */ var FeedConfigConfigurationThrottleConfigurationsTypeEnum; (function (FeedConfigConfigurationThrottleConfigurationsTypeEnum) { FeedConfigConfigurationThrottleConfigurationsTypeEnum["Seller"] = "SELLER"; })(FeedConfigConfigurationThrottleConfigurationsTypeEnum = exports.FeedConfigConfigurationThrottleConfigurationsTypeEnum || (exports.FeedConfigConfigurationThrottleConfigurationsTypeEnum = {})); /** * @export * @enum {string} */ var FeedConfigConfigurationValuesFeedTypeEnum; (function (FeedConfigConfigurationValuesFeedTypeEnum) { FeedConfigConfigurationValuesFeedTypeEnum["Item"] = "item"; FeedConfigConfigurationValuesFeedTypeEnum["RetireItem"] = "RETIRE_ITEM"; FeedConfigConfigurationValuesFeedTypeEnum["MpItem"] = "MP_ITEM"; FeedConfigConfigurationValuesFeedTypeEnum["MpWfsItem"] = "MP_WFS_ITEM"; FeedConfigConfigurationValuesFeedTypeEnum["MpMaintenance"] = "MP_MAINTENANCE"; FeedConfigConfigurationValuesFeedTypeEnum["SkuTemplateMap"] = "SKU_TEMPLATE_MAP"; FeedConfigConfigurationValuesFeedTypeEnum["ShippingOverrides"] = "SHIPPING_OVERRIDES"; FeedConfigConfigurationValuesFeedTypeEnum["Price"] = "price"; FeedConfigConfigurationValuesFeedTypeEnum["CptSellerEligibility"] = "CPT_SELLER_ELIGIBILITY"; FeedConfigConfigurationValuesFeedTypeEnum["Promo"] = "promo"; FeedConfigConfigurationValuesFeedTypeEnum["ReturnsOverrides"] = "RETURNS_OVERRIDES"; FeedConfigConfigurationValuesFeedTypeEnum["Inventory"] = "inventory"; FeedConfigConfigurationValuesFeedTypeEnum["Lagtime"] = "lagtime"; })(FeedConfigConfigurationValuesFeedTypeEnum = exports.FeedConfigConfigurationValuesFeedTypeEnum || (exports.FeedConfigConfigurationValuesFeedTypeEnum = {})); /** * @export * @enum {string} */ var FeedThrottlingDTOFeedTypeEnum; (function (FeedThrottlingDTOFeedTypeEnum) { FeedThrottlingDTOFeedTypeEnum["Item"] = "item"; FeedThrottlingDTOFeedTypeEnum["RetireItem"] = "RETIRE_ITEM"; FeedThrottlingDTOFeedTypeEnum["MpItem"] = "MP_ITEM"; FeedThrottlingDTOFeedTypeEnum["MpWfsItem"] = "MP_WFS_ITEM"; FeedThrottlingDTOFeedTypeEnum["MpMaintenance"] = "MP_MAINTENANCE"; FeedThrottlingDTOFeedTypeEnum["SkuTemplateMap"] = "SKU_TEMPLATE_MAP"; FeedThrottlingDTOFeedTypeEnum["ShippingOverrides"] = "SHIPPING_OVERRIDES"; FeedThrottlingDTOFeedTypeEnum["Price"] = "price"; FeedThrottlingDTOFeedTypeEnum["CptSellerEligibility"] = "CPT_SELLER_ELIGIBILITY"; FeedThrottlingDTOFeedTypeEnum["Promo"] = "promo"; FeedThrottlingDTOFeedTypeEnum["ReturnsOverrides"] = "RETURNS_OVERRIDES"; FeedThrottlingDTOFeedTypeEnum["Inventory"] = "inventory"; FeedThrottlingDTOFeedTypeEnum["Lagtime"] = "lagtime"; })(FeedThrottlingDTOFeedTypeEnum = exports.FeedThrottlingDTOFeedTypeEnum || (exports.FeedThrottlingDTOFeedTypeEnum = {})); /** * @export * @enum {string} */ var FileSizeUnitOfMeasurementEnum; (function (FileSizeUnitOfMeasurementEnum) { FileSizeUnitOfMeasurementEnum["Bytes"] = "BYTES"; })(FileSizeUnitOfMeasurementEnum = exports.FileSizeUnitOfMeasurementEnum || (exports.FileSizeUnitOfMeasurementEnum = {})); /** * @export * @enum {string} */ var InlineObjectTypeEnum; (function (InlineObjectTypeEnum) { InlineObjectTypeEnum["Default"] = "DEFAULT"; InlineObjectTypeEnum["Custom"] = "CUSTOM"; InlineObjectTypeEnum["Deliverr"] = "DELIVERR"; })(InlineObjectTypeEnum = exports.InlineObjectTypeEnum || (exports.InlineObjectTypeEnum = {})); /** * @export * @enum {string} */ var InlineObjectRateModelTypeEnum; (function (InlineObjectRateModelTypeEnum) { InlineObjectRateModelTypeEnum["TieredPricing"] = "TIERED_PRICING"; InlineObjectRateModelTypeEnum["PerShipmentPricing"] = "PER_SHIPMENT_PRICING"; })(InlineObjectRateModelTypeEnum = exports.InlineObjectRateModelTypeEnum || (exports.InlineObjectRateModelTypeEnum = {})); /** * @export * @enum {string} */ var InlineObjectStatusEnum; (function (InlineObjectStatusEnum) { InlineObjectStatusEnum["Active"] = "ACTIVE"; InlineObjectStatusEnum["Inactive"] = "INACTIVE"; })(InlineObjectStatusEnum = exports.InlineObjectStatusEnum || (exports.InlineObjectStatusEnum = {})); /** * @export * @enum {string} */ var InlineResponse200TypeEnum; (function (InlineResponse200TypeEnum) { InlineResponse200TypeEnum["Default"] = "DEFAULT"; InlineResponse200TypeEnum["Custom"] = "CUSTOM"; InlineResponse200TypeEnum["Deliverr"] = "DELIVERR"; })(InlineResponse200TypeEnum = exports.InlineResponse200TypeEnum || (exports.InlineResponse200TypeEnum = {})); /** * @export * @enum {string} */ var InlineResponse200RateModelTypeEnum; (function (InlineResponse200RateModelTypeEnum) { InlineResponse200RateModelTypeEnum["TieredPricing"] = "TIERED_PRICING"; InlineResponse200RateModelTypeEnum["PerShipmentPricing"] = "PER_SHIPMENT_PRICING"; })(InlineResponse200RateModelTypeEnum = exports.InlineResponse200RateModelTypeEnum || (exports.InlineResponse200RateModelTypeEnum = {})); /** * @export * @enum {string} */ var InlineResponse200StatusEnum; (function (InlineResponse200StatusEnum) { InlineResponse200StatusEnum["Active"] = "ACTIVE"; InlineResponse200StatusEnum["Inactive"] = "INACTIVE"; })(InlineResponse200StatusEnum = exports.InlineResponse200StatusEnum || (exports.InlineResponse200StatusEnum = {})); /** * @export * @enum {string} */ var InlineResponse2004ShippingTemplatesTypeEnum; (function (InlineResponse2004ShippingTemplatesTypeEnum) { InlineResponse2004ShippingTemplatesTypeEnum["Default"] = "DEFAULT"; InlineResponse2004ShippingTemplatesTypeEnum["Custom"] = "CUSTOM"; InlineResponse2004ShippingTemplatesTypeEnum["Deliverr"] = "DELIVERR"; })(InlineResponse2004ShippingTemplatesTypeEnum = exports.InlineResponse2004ShippingTemplatesTypeEnum || (exports.InlineResponse2004ShippingTemplatesTypeEnum = {})); /** * @export * @enum {string} */ var InlineResponse2004ShippingTemplatesStatusEnum; (function (InlineResponse2004ShippingTemplatesStatusEnum) { InlineResponse2004ShippingTemplatesStatusEnum["Active"] = "ACTIVE"; InlineResponse2004ShippingTemplatesStatusEnum["Inactive"] = "INACTIVE"; })(InlineResponse2004ShippingTemplatesStatusEnum = exports.InlineResponse2004ShippingTemplatesStatusEnum || (exports.InlineResponse2004ShippingTemplatesStatusEnum = {})); /** * @export * @enum {string} */ var InlineResponse2004ShippingTemplatesRateModelTypeEnum; (function (InlineResponse2004ShippingTemplatesRateModelTypeEnum) { InlineResponse2004ShippingTemplatesRateModelTypeEnum["TieredPricing"] = "TIERED_PRICING"; InlineResponse2004ShippingTemplatesRateModelTypeEnum["PerShipmentPricing"] = "PER_SHIPMENT_PRICING"; })(InlineResponse2004ShippingTemplatesRateModelTypeEnum = exports.InlineResponse2004ShippingTemplatesRateModelTypeEnum || (exports.InlineResponse2004ShippingTemplatesRateModelTypeEnum = {})); /** * @export * @enum {string} */ var InlineResponse200ConfigurationsAddressTypesEnum; (function (InlineResponse200ConfigurationsAddressTypesEnum) { InlineResponse200ConfigurationsAddressTypesEnum["PoBox"] = "PO_BOX"; InlineResponse200ConfigurationsAddressTypesEnum["Military"] = "MILITARY"; InlineResponse200ConfigurationsAddressTypesEnum["Street"] = "STREET"; })(InlineResponse200ConfigurationsAddressTypesEnum = exports.InlineResponse200ConfigurationsAddressTypesEnum || (exports.InlineResponse200ConfigurationsAddressTypesEnum = {})); /** * @export * @enum {string} */ var InlineResponse200ShippingMethodsShipMethodEnum; (function (InlineResponse200ShippingMethodsShipMethodEnum) { InlineResponse200ShippingMethodsShipMethodEnum["Value"] = "VALUE"; InlineResponse200ShippingMethodsShipMethodEnum["Standard"] = "STANDARD"; InlineResponse200ShippingMethodsShipMethodEnum["ThreeDay"] = "THREE_DAY"; InlineResponse200ShippingMethodsShipMethodEnum["TwoDay"] = "TWO_DAY"; InlineResponse200ShippingMethodsShipMethodEnum["Freight"] = "FREIGHT"; })(InlineResponse200ShippingMethodsShipMethodEnum = exports.InlineResponse200ShippingMethodsShipMethodEnum || (exports.InlineResponse200ShippingMethodsShipMethodEnum = {})); /** * @export * @enum {string} */ var InlineResponse200ShippingMethodsStatusEnum; (function (InlineResponse200ShippingMethodsStatusEnum) { InlineResponse200ShippingMethodsStatusEnum["Active"] = "ACTIVE"; InlineResponse200ShippingMethodsStatusEnum["Inactive"] = "INACTIVE"; })(InlineResponse200ShippingMethodsStatusEnum = exports.InlineResponse200ShippingMethodsStatusEnum || (exports.InlineResponse200ShippingMethodsStatusEnum = {})); /** * @export * @enum {string} */ var LagTimeConfigConfigurationNameEnum; (function (LagTimeConfigConfigurationNameEnum) { LagTimeConfigConfigurationNameEnum["LagTime"] = "LAG_TIME"; })(LagTimeConfigConfigurationNameEnum = exports.LagTimeConfigConfigurationNameEnum || (exports.LagTimeConfigConfigurationNameEnum = {})); /** * @export * @enum {string} */ var ShippingConfigConfigurationNameEnum; (function (ShippingConfigConfigurationNameEnum) { ShippingConfigConfigurationNameEnum["LagTime"] = "LAG_TIME"; })(ShippingConfigConfigurationNameEnum = exports.ShippingConfigConfigurationNameEnum || (exports.ShippingConfigConfigurationNameEnum = {})); /** * @export * @enum {string} */ var ShippingConfigAnyOfConfigurationNameEnum; (function (ShippingConfigAnyOfConfigurationNameEnum) { ShippingConfigAnyOfConfigurationNameEnum["LagTime"] = "LAG_TIME"; })(ShippingConfigAnyOfConfigurationNameEnum = exports.ShippingConfigAnyOfConfigurationNameEnum || (exports.ShippingConfigAnyOfConfigurationNameEnum = {})); /** * @export * @enum {string} */ var ShippingMethodShipMethodEnum; (function (ShippingMethodShipMethodEnum) { ShippingMethodShipMethodEnum["Value"] = "VALUE"; ShippingMethodShipMethodEnum["Standard"] = "STANDARD"; ShippingMethodShipMethodEnum["ThreeDay"] = "THREE_DAY"; ShippingMethodShipMethodEnum["TwoDay"] = "TWO_DAY"; ShippingMethodShipMethodEnum["Freight"] = "FREIGHT"; })(ShippingMethodShipMethodEnum = exports.ShippingMethodShipMethodEnum || (exports.ShippingMethodShipMethodEnum = {})); /** * @export * @enum {string} */ var ShippingMethodStatusEnum; (function (ShippingMethodStatusEnum) { ShippingMethodStatusEnum["Active"] = "ACTIVE"; ShippingMethodStatusEnum["Inactive"] = "INACTIVE"; })(ShippingMethodStatusEnum = exports.ShippingMethodStatusEnum || (exports.ShippingMethodStatusEnum = {})); /** * @export * @enum {string} */ var ShippingTemplateTypeEnum; (function (ShippingTemplateTypeEnum) { ShippingTemplateTypeEnum["Default"] = "DEFAULT"; ShippingTemplateTypeEnum["Custom"] = "CUSTOM"; ShippingTemplateTypeEnum["Deliverr"] = "DELIVERR"; })(ShippingTemplateTypeEnum = exports.ShippingTemplateTypeEnum || (exports.ShippingTemplateTypeEnum = {})); /** * @export * @enum {string} */ var ShippingTemplateRateModelTypeEnum; (function (ShippingTemplateRateModelTypeEnum) { ShippingTemplateRateModelTypeEnum["TieredPricing"] = "TIERED_PRICING"; ShippingTemplateRateModelTypeEnum["PerShipmentPricing"] = "PER_SHIPMENT_PRICING"; })(ShippingTemplateRateModelTypeEnum = exports.ShippingTemplateRateModelTypeEnum || (exports.ShippingTemplateRateModelTypeEnum = {})); /** * @export * @enum {string} */ var ShippingTemplateStatusEnum; (function (ShippingTemplateStatusEnum) { ShippingTemplateStatusEnum["Active"] = "ACTIVE"; ShippingTemplateStatusEnum["Inactive"] = "INACTIVE"; })(ShippingTemplateStatusEnum = exports.ShippingTemplateStatusEnum || (exports.ShippingTemplateStatusEnum = {})); /** * @export * @enum {string} */ var ShippingTemplateSummaryTypeEnum; (function (ShippingTemplateSummaryTypeEnum) { ShippingTemplateSummaryTypeEnum["Default"] = "DEFAULT"; ShippingTemplateSummaryTypeEnum["Custom"] = "CUSTOM"; ShippingTemplateSummaryTypeEnum["Deliverr"] = "DELIVERR"; })(ShippingTemplateSummaryTypeEnum = exports.ShippingTemplateSummaryTypeEnum || (exports.ShippingTemplateSummaryTypeEnum = {})); /** * @export * @enum {string} */ var ShippingTemplateSummaryStatusEnum; (function (ShippingTemplateSummaryStatusEnum) { ShippingTemplateSummaryStatusEnum["Active"] = "ACTIVE"; ShippingTemplateSummaryStatusEnum["Inactive"] = "INACTIVE"; })(ShippingTemplateSummaryStatusEnum = exports.ShippingTemplateSummaryStatusEnum || (exports.ShippingTemplateSummaryStatusEnum = {})); /** * @export * @enum {string} */ var ShippingTemplateSummaryRateModelTypeEnum; (function (ShippingTemplateSummaryRateModelTypeEnum) { ShippingTemplateSummaryRateModelTypeEnum["TieredPricing"] = "TIERED_PRICING"; ShippingTemplateSummaryRateModelTypeEnum["PerShipmentPricing"] = "PER_SHIPMENT_PRICING"; })(ShippingTemplateSummaryRateModelTypeEnum = exports.ShippingTemplateSummaryRateModelTypeEnum || (exports.ShippingTemplateSummaryRateModelTypeEnum = {})); /** * @export * @enum {string} */ var ThrottlingConfigDTOTypeEnum; (function (ThrottlingConfigDTOTypeEnum) { ThrottlingConfigDTOTypeEnum["Seller"] = "SELLER"; })(ThrottlingConfigDTOTypeEnum = exports.ThrottlingConfigDTOTypeEnum || (exports.ThrottlingConfigDTOTypeEnum = {})); /** * @export * @enum {string} */ var TimeWindowUnitOfMeasurementEnum; (function (TimeWindowUnitOfMeasurementEnum) { TimeWindowUnitOfMeasurementEnum["Second"] = "SECOND"; })(TimeWindowUnitOfMeasurementEnum = exports.TimeWindowUnitOfMeasurementEnum || (exports.TimeWindowUnitOfMeasurementEnum = {})); /** * @export * @enum {string} */ var UpdateShippingTemplateRequestTypeEnum; (function (UpdateShippingTemplateRequestTypeEnum) { UpdateShippingTemplateRequestTypeEnum["Default"] = "DEFAULT"; UpdateShippingTemplateRequestTypeEnum["Custom"] = "CUSTOM"; UpdateShippingTemplateRequestTypeEnum["Deliverr"] = "DELIVERR"; })(UpdateShippingTemplateRequestTypeEnum = exports.UpdateShippingTemplateRequestTypeEnum || (exports.UpdateShippingTemplateRequestTypeEnum = {})); /** * @export * @enum {string} */ var UpdateShippingTemplateRequestRateModelTypeEnum; (function (UpdateShippingTemplateRequestRateModelTypeEnum) { UpdateShippingTemplateRequestRateModelTypeEnum["TieredPricing"] = "TIERED_PRICING"; UpdateShippingTemplateRequestRateModelTypeEnum["PerShipmentPricing"] = "PER_SHIPMENT_PRICING"; })(UpdateShippingTemplateRequestRateModelTypeEnum = exports.UpdateShippingTemplateRequestRateModelTypeEnum || (exports.UpdateShippingTemplateRequestRateModelTypeEnum = {})); /** * @export * @enum {string} */ var UpdateShippingTemplateRequestStatusEnum; (function (UpdateShippingTemplateRequestStatusEnum) { UpdateShippingTemplateRequestStatusEnum["Active"] = "ACTIVE"; UpdateShippingTemplateRequestStatusEnum["Inactive"] = "INACTIVE"; })(UpdateShippingTemplateRequestStatusEnum = exports.UpdateShippingTemplateRequestStatusEnum || (exports.UpdateShippingTemplateRequestStatusEnum = {})); /** * SettingsApi - axios parameter creator * @export */ const SettingsApiAxiosParamCreator = function (configuration) { return { /** * This API associate a third party fulfillment center with Seller. * @summary Third party fulfillment center association * @param {string} authorization Basic authorization header. Base 64 encodes the Client ID and Client Secret retrieved in step two of the integration steps. * @param {string} wMSECACCESSTOKEN The access token retrieved in the Token API call * @param {string} wMQOSCORRELATIONID A unique ID which identifies each API call and used to track and debug issues; use a random generated GUID for this ID * @param {string} wMSVCNAME Walmart Service Name * @param {InlineObject5} inlineObject5 * @param {string} [wMCONSUMERCHANNELTYPE] A unique ID to track the consumer request by channel. Use the Consumer Channel Type received during onboarding * @param {*} [options] Override http request option. * @throws {RequiredError} */ associate3PFulfillmentCenter: async (authorization, wMSECACCESSTOKEN, wMQOSCORRELATIONID, wMSVCNAME, inlineObject5, wMCONSUMERCHANNELTYPE, options = {}) => { // verify required parameter 'authorization' is not null or undefined (0, common_1.assertParamExists)('associate3PFulfillmentCenter', 'authorization', authorization); // verify required parameter 'wMSECACCESSTOKEN' is not null or undefined (0, common_1.assertParamExists)('associate3PFulfillmentCenter', 'wMSECACCESSTOKEN', wMSECACCESSTOKEN); // verify required parameter 'wMQOSCORRELATIONID' is not null or undefined (0, common_1.assertParamExists)('associate3PFulfillmentCenter', 'wMQOSCORRELATIONID', wMQOSCORRELATIONID); // verify required parameter 'wMSVCNAME' is not null or undefined (0, common_1.assertParamExists)('associate3PFulfillmentCenter', 'wMSVCNAME', wMSVCNAME); // verify required parameter 'inlineObject5' is not null or undefined (0, common_1.assertParamExists)('associate3PFulfillmentCenter', 'inlineObject5', inlineObject5); const localVarPath = `/v3/settings/shipping/3plshipnodes`; // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL); let baseOptions; if (configuration) { baseOptions = configuration.baseOptions; } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options }; const localVarHeaderParameter = {}; const localVarQueryParameter = {}; // authentication basicScheme required // http basic authentication required (0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration); if (authorization !== undefined && authorization !== null) { localVarHeaderParameter['Authorization'] = String(authorization); } if (wMSECACCESSTOKEN !== undefined && wMSECACCESSTOKEN !== null) { localVarHeaderParameter['WM_SEC.ACCESS_TOKEN'] = String(wMSECACCESSTOKEN); } if (wMCONSUMERCHANNELTYPE !== undefined && wMCONSUMERCHANNELTYPE !== null) { localVarHeaderParameter['WM_CONSUMER.CHANNEL.TYPE'] = String(wMCONSUMERCHANNELTYPE); } if (wMQOSCORRELATIONID !== undefined && wMQOSCORRELATIONID !== null) { localVarHeaderParameter['WM_QOS.CORRELATION_ID'] = String(wMQOSCORRELATIONID); } if (wMSVCNAME !== undefined && wMSVCNAME !== null) { localVarHeaderParameter['WM_SVC.NAME'] = String(wMSVCNAME); } localVarHeaderParameter['Content-Type'] = 'application/json'; (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers }; localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(inlineObject5, localVarRequestOptions, configuration); return { url: (0, common_1.toPathString)(localVarUrlObj), options: localVarRequestOptions, }; }, /** * Create an automated shipping template with minimal input to optimize transit time. * @summary Create Automated Shipping Templates (Beta) * @param {string} authorization Basic authorization header. Base 64 encodes the Client ID and Client Secret retrieved in step two of the integration steps. * @param {string} wMSECACCESSTOKEN The access token retrieved in the Token API call * @param {string} wMQOSCORRELATIONID A unique ID which identifies each API call and used to track and debug issues; use a random generated GUID for this ID * @param {string} wMSVCNAME Walmart Service Name * @param {InlineObject4} inlineObject4 * @param {string} [wMCONSUMERCHANNELTYPE] A unique ID to track the consumer request by channel. Use the Consumer Channel Type received during onboarding * @param {*} [options] Override http request option. * @throws {RequiredError} */ createAutomatedShippingTemplates: async (authorization, wMSECACCESSTOKEN, wMQOSCORRELATIONID, wMSVCNAME, inlineObject4, wMCONSUMERCHANNELTYPE, options = {}) => { // verify required parameter 'authorization' is not null or undefined (0, common_1.assertParamExists)('createAutomatedShippingTemplates', 'authorization', authorization); // verify required parameter 'wMSECACCESSTOKEN' is not null or undefined (0, common_1.assertParamExists)('createAutomatedShippingTemplates', 'wMSECACCESSTOKEN', wMSECACCESSTOKEN); // verify required parameter 'wMQOSCORRELATIONID' is not null or undefined (0, common_1.assertParamExists)('createAutomatedShippingTemplates', 'wMQOSCORRELATIONID', wMQOSCORRELATIONID); // verify required parameter 'wMSVCNAME' is not null or undefined (0, common_1.assertParamExists)('createAutomatedShippingTemplates', 'wMSVCNAME', wMSVCNAME); // verify required parameter 'inlineObject4' is not null or undefined (0, common_1.assertParamExists)('createAutomatedShippingTemplates', 'inlineObject4', inlineObject4); const localVarPath = `/v3/settings/shipping/templates/automatedShippingTemplate`; // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL); let baseOptions; if (configuration) { baseOptions = configuration.baseOptions; } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options }; const localVarHeaderParameter = {}; const localVarQueryParameter = {}; // authentication basicScheme required // http basic authentication required (0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration); if (authorization !== undefined && authorization !== null) { localVarHeaderParameter['Authorization'] = String(authorization); } if (wMSECACCESSTOKEN !== undefined && wMSECACCESSTOKEN !== null) { localVarHeaderParameter['WM_SEC.ACCESS_TOKEN'] = String(wMSECACCESSTOKEN); } if (wMCONSUMERCHANNELTYPE !== undefined && wMCONSUMERCHANNELTYPE !== null) { localVarHeaderParameter['WM_CONSUMER.CHANNEL.TYPE'] = String(wMCONSUMERCHANNELTYPE); } if (wMQOSCORRELATIONID !== undefined && wMQOSCORRELATIONID !== null) { localVarHeaderParameter['WM_QOS.CORRELATION_ID'] = String(wMQOSCORRELATIONID); } if (wMSVCNAME !== undefined && wMSVCNAME !== null) { localVarHeaderParameter['WM_SVC.NAME'] = String(wMSVCNAME); } localVarHeaderParameter['Content-Type'] = 'application/json'; (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers }; localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(inlineObject4, localVarRequestOptions, configuration); return { url: (0, common_1.toPathString)(localVarUrlObj), options: localVarRequestOptions, }; }, /** * This API creates a fulfillment center. * @summary Create fulfillment center * @param {string} authorization Basic authorization header. Base 64 encodes the Client ID and Client Secret retrieved in step two of the integration steps. * @param {string} wMSECACCESSTOKEN The access token retrieved in the Token API call * @param {string} wMQOSCORRELATIONID A unique ID which identifies each API call and used to track and debug issues; use a random generated GUID for this ID * @param {string} wMSVCNAME Walmart Service Name * @param {InlineObject2} inlineObject2 * @param {string} [wMCONSUMERCHANNELTYPE] A unique ID to track the consumer request by channel. Use the Consumer Channel Type received during onboarding * @param {*} [options] Override http request option. * @throws {RequiredError} */ createFulfillmentCenter: async (authorization, wMSECACCESSTOKEN, wMQOSCORRELATIONID, wMSVCNAME, inlineObject2, wMCONSUMERCHANNELTYPE, options = {}) => { // verify required parameter 'authorization' is not null or undefined (0, common_1.assertParamExists)('createFulfillmentCenter', 'authorization', authorization); // verify required parameter 'wMSECACCESSTOKEN' is not null or undefined (0, common_1.assertParamExists)('createFulfillmentCenter', 'wMSECACCESSTOKEN', wMSECACCESSTOKEN); // verify required parameter 'wMQOSCORRELATIONID' is not null or undefined (0, common_1.assertParamExists)('createFulfillmentCenter', 'wMQOSCORRELATIONID', wMQOSCORRELATIONID); // verify required parameter 'wMSVCNAME' is not null or undefined (0, common_1.assertParamExists)('createFulfillmentCenter', 'wMSVCNAME', wMSVCNAME); // verify required parameter 'inlineObject2' is not null or undefined (0, common_1.assertParamExists)('createFulfillmentCenter', 'inlineObject2', inlineObject2); const localVarPath = `/v3/settings/shipping/shipnodes`; // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL); let baseOptions; if (configuration) { baseOptions = configuration.baseOptions; } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options }; const localVarHeaderParameter = {}; const localVarQueryParameter = {}; // authentication basicScheme required // http basic authentication required (0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration); if (authorization !== undefined && authorization !== null) { localVarHeaderParameter['Authorization'] = String(authorization); } if (wMSECACCESSTOKEN !== undefined && wMSECACCESSTOKEN !== null) { localVarHeaderParameter['WM_SEC.ACCESS_TOKEN'] = String(wMSECACCESSTOKEN); } if (wMCONSUMERCHANNELTYPE !== undefined && wMCONSUMERCHANNELTYPE !== null) { localVarHeaderParameter['WM_CONSUMER.CHANNEL.TYPE'] = String(wMCONSUMERCHANNELTYPE); } if (wMQOSCORRELATIONID !== undefined && wMQOSCORRELATIONID !== null) { localVarHeaderParameter['WM_QOS.CORRELATION_ID'] = String(wMQOSCORRELATIONID); } if (wMSVCNAME !== undefined && wMSVCNAME !== null) { localVarHeaderParameter['WM_SVC.NAME'] = String(wMSVCNAME); } localVarHeaderParameter['Content-Type'] = 'application/json'; (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers }; localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(inlineObject2, localVarRequestOptions, configuration); return { url: (0, common_1.toPathString)(localVarUrlObj), options: localVarRequestOptions, }; }, /** * Create a new shipping template * @summary Create Shipping Templates * @param {string} authorization Basic authorization header. Base 64 encodes the Client ID and Client Secret retrieved in step two of the integration steps. * @param {string} wMSECACCESSTOKEN The access token retrieved in the Token API call * @param {string} wMQOSCORRELATIONID A unique ID which identifies each API call and used to track and debug issues; use a random generated GUID for this ID * @param {string} wMSVCNAME Walmart Service Name * @param {InlineObject3} inlineObject3 * @param {string} [wMCONSUMERCHANNELTYPE] A unique ID to track the consumer request by channel. Use the Consumer Channel Type received during onboarding * @param {*} [options] Override http request option. * @throws {RequiredError} */ createShippingTemplates: async (authorization, wMSECACCESSTOKEN, wMQOSCORRELATIONID, wMSVCNAME, inlineObject3, wMCONSUMERCHANNELTYPE, options = {}) => { // verify required parameter 'authorization' is not null or undefined (0, common_1.assertParamExists)('createShippingTemplates', 'authorization', authorization); // verify required parameter 'wMSECACCESSTOKEN' is not null or undefined (0, common_1.assertParamExists)('createShippingTemplates', 'wMSECACCESSTOKEN', wMSECACCESSTOKEN); // verify required parameter 'wMQOSCORRELATIONID' is not null or undefined (0, common_1.assertParamExists)('createShippingTemplates', 'wMQOSCORRELATIONID', wMQOSCORRELATIONID); // verify required parameter 'wMSVCNAME' is not null or undefined (0, common_1.assertParamExists)('createShippingTemplates', 'wMSVCNAME', wMSVCNAME); // verify required parameter 'inlineObject3' is not null or undefined (0, common_1.assertParamExists)('createShippingTemplates', 'inlineObject3', inlineObject3); const localVarPath = `/v3/settings/shipping/templates`; // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL); let baseOptions; if (configuration) { baseOptions = configuration.baseOptions; } const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options }; const localVarHeaderParameter = {}; const localVarQueryParameter = {}; // authentication basicScheme required // http basic authentication required (0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration); if (authorization !== undefined && authorization !== null) { localVarHeaderParameter['Authorization'] = String(authorization); } if (wMSECACCESSTOKEN !== undefined && wMSECACCESSTOKEN !== null) { localVarHeaderParameter['WM_SEC.ACCESS_TOKEN'] = String(wMSECACCESSTOKEN); } if (wMCONSUMERCHANNELTYPE !== undefined && wMCONSUMERCHANNELTYPE !== null) { localVarHeaderParameter['WM_CONSUMER.CHANNEL.TYPE'] = String(wMCONSUMERCHANNELTYPE); } if (wMQOSCORRELATIONID !== undefined && wMQOSCORRELATIONID !== null) { localVarHeaderParameter['WM_QOS.CORRELATION_ID'] = String(wMQOSCORRELATIONID); } if (wMSVCNAME !== undefined && wMSVCNAME !== null) { localVarHeaderParameter['WM_SVC.NAME'] = String(wMSVCNAME); } localVarHeaderParameter['Content-Type'] = 'application/json'; (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers }; localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(inlineObject3, localVarRequestOptions, configuration); return { url: (0, common_1.toPathString)(localVarUrlObj), options: localVarRequestOptions, }; }, /** * Delete Existing Shipping Template. DEFAULT templates cannot be deleted. 3PL partners cannot delete templates created by Sellers. * @summary Delete Shipping Template * @param {string} templateId Shipping Template ID of the template to be deleted * @param {string} authorization Basic authorization header. Base 64 encodes the Client ID and Client Secret retrieved in step two of the integration steps. * @param {string} wMSECACCESSTOKEN The access token retrieved in the Token API call * @param {string} wMQOSCORRELATIONID A unique ID which identifies each API call and used to track and debug issues; use a random generated GUID for this ID * @param {string} wMSVCNAME Walmart Service Name * @param {string} [wMCONSUMERCHANNELTYPE] A unique ID to track the consumer request by channel. Use the Consumer Channel Type received during onboarding * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteShippingTemplateDetails: async (templateId, authorization, wMSECACCESSTOKEN, wMQOSCORRELATIONID, wMSVCNAME, wMCONSUMERCHANNELTYPE, options = {}) => { // verify required parameter 'templateId' is not null or undefined (0, common_1.assertParamExists)('deleteShippingTemplateDetails', 'templateId', templateId); // verify required parameter 'authorization' is not null or undefined (0, common_1.assertParamExists)('deleteShippingTemplateDetails', 'authorization', authorization); // verify required parameter 'wMSECACCESSTOKEN' is not null or undefined (0, common_1.assertParamExists)('deleteShippingTemplateDetails', 'wMSECACCESSTOKEN', wMSECACCESSTOKEN); // verify required parameter 'wMQOSCORRELATIONID' is not null or undefined (0, common_1.assertParamExists)('deleteShippingTemplateDetails', 'wMQOSCORRELATIONID', wMQOSCORRELATIONID); // verify required parameter 'wMSVCNAME' is not null or undefined (0, common_1.assertParamExists)('deleteShippingTemplateDetails', 'wMSVCNAME', wMSVCNAME); const localVarPath = `/v3/settings/shipping/templates/{templateId}` .replace(`{${"templateId"}}`, encodeURIComponent(String(templateId))); // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL); let baseOptions; if (configuration) { baseOptions = configuration.baseOptions; } const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options }; const localVarHeaderParameter = {}; const localVarQueryParameter = {}; // authentication basicScheme required // http basic authentication required (0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration); if (authorization !== undefined && authorization !== null) { localVarHeaderParameter['Authorization'] = String(authorization); } if (wMSECACCESSTOKEN !== undefined && wMSECACCESSTOKEN !== null) { localVarHeaderParameter['WM_SEC.ACCESS_TOKEN'] = String(wMSECACCESSTOKEN); } if (wMCONSUMERCHANNELTYPE !== undefined && wMCONSUMERCHANNELTYPE !== null) { localVarHeaderParameter['WM_CONSUMER.CHANNEL.TYPE'] = String(wMCONSUMERCHANNELTYPE); } if (wMQOSCORRELATIONID !== undefined && wMQOSCORRELATIONID !== null) { localVarHeaderParameter['WM_QOS.CORRELATION_ID'] = String(wMQOSCORRELATIONID); } if (wMSVCNAME !== undefined && wMSVCNAME !== null) { localVarHeaderParameter['WM_SVC.NAME'] = String(wMSVCNAME); } (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers }; return { url: (0, common_1.toPathString)(localVarUrlObj), options: localVarRequestOptions, }; }, /** * Get a list of all third party fulfillment providers. * @summary Get all third party fulfillment providers * @param {string} authorization Basic authorization header. Base 64 encodes the Client ID and Client Secret retrieved in step two of the integration steps. * @param {string} wMSECACCESSTOKEN The access token retrieved in the Token API call * @param {string} wMQOSCORRELATIONID A unique ID which identifies each API call and used to track and debug issues; use a random generated GUID for this ID * @param {string} wMSVCNAME Walmart Service Name * @param {string} [wMCONSUMERCHANNELTYPE] A unique ID to track the consumer request by channel. Use the Consumer Channel Type received during onboarding * @param {*} [options] Override http request option. * @throws {RequiredError} */ get3PFulfillmentProviders: async (authorization, wMSECACCESSTOKEN, wMQOSCORRELATIONID, wMSVCNAME, wMCONSUMERCHANNELTYPE, options = {}) => { // verify required parameter 'authorization' is not null or undefined (0, common_1.assertParamExists)('get3PFulfillmentProviders', 'authorization', authorization); // verify required parameter 'wMSECACCESSTOKEN' is not null or undefined (0, common_1.assertParamExists)('get3PFulfillmentProviders', 'wMSECACCESSTOKEN', wMSECACCESSTOKEN); // verify required parameter 'wMQOSCORRELATIONID' is not null or undefined (0, common_1.assertParamExists)('get3PFulfillmentProviders', 'wMQOSCORRELATIONID', wMQOSCORRELATIONID); // verify required parameter 'wMSVCNAME' is not null or undefined (0, common_1.assertParamExists)('get3PFulfillmentProviders', 'wMSVCNAME', wMSVCNAME); const localVarPath = `/v3/settings/shipping/3plproviders`; // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL); let baseOptions; if (configuration) { baseOptions = configuration.baseOptions; } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options }; const localVarHeaderParameter = {}; const localVarQueryParameter = {}; // authentication basicScheme required // http basic authentication required (0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration); if (authorization !== undefined && authorization !== null) { localVarHeaderParameter['Authorization'] = String(authorization); } if (wMSECACCESSTOKEN !== undefined && wMSECACCESSTOKEN !== null) { localVarHeaderParameter['WM_SEC.ACCESS_TOKEN'] = String(wMSECACCESSTOKEN); } if (wMCONSUMERCHANNELTYPE !== undefined && wMCONSUMERCHANNELTYPE !== null) { localVarHeaderParameter['WM_CONSUMER.CHANNEL.TYPE'] = String(wMCONSUMERCHANNELTYPE); } if (wMQOSCORRELATIONID !== undefined && wMQOSCORRELATIONID !== null) { localVarHeaderParameter['WM_QOS.CORRELATION_ID'] = String(wMQOSCORRELATIONID); } if (wMSVCNAME !== undefined && wMSVCNAME !== null) { localVarHeaderParameter['WM_SVC.NAME'] = String(wMSVCNAME); } (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers }; return { url: (0, common_1.toPathString)(localVarUrlObj), options: localVarRequestOptions, }; }, /** * This API provides a list of all the fulfillment centers * @summary Get all fulfillment centers * @param {string} authorization Basic authorization header. Base 64 encodes the Client ID and Client Secret retrieved in step two of the integration steps. * @param {string} wMSECACCESSTOKEN The access token retrieved in the Token API call * @param {string} wMQOSCORRELATIONID A unique ID which identifies each API call and used to track and debug issues; use a random generated GUID for this ID * @param {string} wMSVCNAME Walmart Service Name * @param {boolean} [includeCalendarDayConfiguration] Flag to specify if calendarDayConfiguration block will be included in the response. Allowed values are true or false. * @param {string} [wMCONSUMERCHANNELTYPE] A unique ID to track the consumer request by channel. Use the Consumer Channel Type received during onboarding * @param {*} [options] Override http request option. * @throws {RequiredError} */ getAllFulfillmentCenters: async (authorization, wMSECACCESSTOKEN, wMQOSCORRELATIONID, wMSVCNAME, includeCalendarDayConfiguration, wMCONSUMERCHANNELTYPE, options = {}) => { // verify required parameter 'authorization' is not null or undefined (0, common_1.assertParamExists)('getAllFulfillmentCenters', 'authorization', authorization); // verify required parameter 'wMSECACCESSTOKEN' is not null or undefined (0, common_1.assertParamExists)('getAllFulfillmentCenters', 'wMSECACCESSTOKEN', wMSECACCESSTOKEN); // verify required parameter 'wMQOSCORRELATIONID' is not null or undefined (0, common_1.assertParamExists)('getAllFulfillmentCenters', 'wMQOSCORRELATIONID', wMQOSCORRELATIONID); // verify required parameter 'wMSVCNAME' is not null or undefined (0, common_1.assertParamExists)('getAllFulfillmentCenters', 'wMSVCNAME', wMSVCNAME); const localVarPath = `/v3/settings/shipping/shipnodes`; // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL); let baseOptions; if (configuration) { baseOptions = configuration.baseOptions; } const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options }; const localVarHeaderParameter = {}; const localVarQueryParameter = {}; // authentication basicScheme required // http basic authentication required (0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration); if (includeCalendarDayConfiguration !== undefined) { localVarQueryParameter['includeCalendarDayConfiguration'] = includeCalendarDayConfiguration; } if (authorization !== undefined && authorization !== null) { localVarHeaderParameter['Authorization'] = String(authorization); } if (wMSECACCESSTOKEN !== undefined && wMSECACCESSTOKEN !== null) { localVarHeaderParameter['WM_SEC.ACCESS_TOKEN'] = String(wMSECACCESSTOKEN); } if (wMCONSUMERCHANNELTYPE !== undefined && wMCONSUMERCHANNELTYPE !== null) { localVarHeaderParameter['WM_CONSUMER.CHANNEL.TYPE'] = String(wMCONSUMERCHANNELTYPE); } if (wMQOSCORRELATIONID !== undefined && wMQOSCORRELATIONID !== null) { localVarHeaderParameter['WM_QOS.CORRELATION_ID'] = String(wMQOSCORRELATIONID); } if (wMSVCNAME !== undefined && wMSVCNAME !== null) { localVarHeaderParameter['WM_SVC.NAME'] = String(wMSVCNAME); }