@whitebox-co/walmart-marketplace-api
Version:
A fully typed TypeScript, Javascript, and Node.js API library for the Walmart Marketplace API
733 lines • 208 kB
JavaScript
"use strict";
/* tslint:disable */
/* eslint-disable */
/**
* Fulfillment Management
* With Walmart Fulfillment Services, you can focus on sales while we expertly take care of fast shipping, seamless returns, and customer service. Simply send your inventory to Walmart fulfillment centers, where we will store your products securely and prepare them swiftly for shipping when an order is placed.
*
* 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.FulfillmentApi = exports.FulfillmentApiFactory = exports.FulfillmentApiFp = exports.FulfillmentApiAxiosParamCreator = exports.V3ItemsOnholdSearchSortOrderEnum = exports.V3ItemsOnholdSearchSortFieldEnum = exports.V3ItemsOnholdSearchQueryFieldEnum = exports.V3ItemsOnholdSearchFiltersValuesEnum = exports.V3ItemsOnholdSearchFiltersOpEnum = exports.V3ItemsOnholdSearchFiltersFieldEnum = exports.SortOrderEnum = exports.SortFieldEnum = exports.ServiceResponseStatusEnum = exports.QueryFieldEnum = exports.ModelErrorCategoryEnum = exports.ModelErrorSeverityEnum = exports.InlineResponse200ErrorsCategoryEnum = exports.InlineResponse200ErrorsSeverityEnum = exports.InlineResponse200StatusEnum = exports.FilterValuesEnum = exports.FilterOpEnum = exports.FilterFieldEnum = 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 FilterFieldEnum;
(function (FilterFieldEnum) {
FilterFieldEnum["Status"] = "status";
})(FilterFieldEnum = exports.FilterFieldEnum || (exports.FilterFieldEnum = {}));
/**
* @export
* @enum {string}
*/
var FilterOpEnum;
(function (FilterOpEnum) {
FilterOpEnum["Equals"] = "equals";
})(FilterOpEnum = exports.FilterOpEnum || (exports.FilterOpEnum = {}));
/**
* @export
* @enum {string}
*/
var FilterValuesEnum;
(function (FilterValuesEnum) {
FilterValuesEnum["Prohibited"] = "PROHIBITED";
FilterValuesEnum["InReview"] = "IN_REVIEW";
FilterValuesEnum["ActionNeeded"] = "ACTION_NEEDED";
})(FilterValuesEnum = exports.FilterValuesEnum || (exports.FilterValuesEnum = {}));
/**
* @export
* @enum {string}
*/
var InlineResponse200StatusEnum;
(function (InlineResponse200StatusEnum) {
InlineResponse200StatusEnum["Ok"] = "OK";
InlineResponse200StatusEnum["Created"] = "CREATED";
InlineResponse200StatusEnum["Accepted"] = "ACCEPTED";
InlineResponse200StatusEnum["NoContent"] = "NO_CONTENT";
InlineResponse200StatusEnum["Partial"] = "PARTIAL";
InlineResponse200StatusEnum["MovedPermanent"] = "MOVED_PERMANENT";
InlineResponse200StatusEnum["Found"] = "FOUND";
InlineResponse200StatusEnum["SeeOther"] = "SEE_OTHER";
InlineResponse200StatusEnum["NotModified"] = "NOT_MODIFIED";
InlineResponse200StatusEnum["TemporaryRedirect"] = "TEMPORARY_REDIRECT";
InlineResponse200StatusEnum["BadRequest"] = "BAD_REQUEST";
InlineResponse200StatusEnum["Unauthorized"] = "UNAUTHORIZED";
InlineResponse200StatusEnum["Forbidden"] = "FORBIDDEN";
InlineResponse200StatusEnum["NotFound"] = "NOT_FOUND";
InlineResponse200StatusEnum["MethodNotAllowed"] = "METHOD_NOT_ALLOWED";
InlineResponse200StatusEnum["NotAcceptable"] = "NOT_ACCEPTABLE";
InlineResponse200StatusEnum["RequestTimeout"] = "REQUEST_TIMEOUT";
InlineResponse200StatusEnum["Conflict"] = "CONFLICT";
InlineResponse200StatusEnum["RequestEntityTooLarge"] = "REQUEST_ENTITY_TOO_LARGE";
InlineResponse200StatusEnum["UnsupportedMediaType"] = "UNSUPPORTED_MEDIA_TYPE";
InlineResponse200StatusEnum["UnprocessableEntity"] = "UNPROCESSABLE_ENTITY";
InlineResponse200StatusEnum["Fail"] = "FAIL";
InlineResponse200StatusEnum["BadGateway"] = "BAD_GATEWAY";
InlineResponse200StatusEnum["ServiceUnavailable"] = "SERVICE_UNAVAILABLE";
InlineResponse200StatusEnum["GatewayTimeout"] = "GATEWAY_TIMEOUT";
})(InlineResponse200StatusEnum = exports.InlineResponse200StatusEnum || (exports.InlineResponse200StatusEnum = {}));
/**
* @export
* @enum {string}
*/
var InlineResponse200ErrorsSeverityEnum;
(function (InlineResponse200ErrorsSeverityEnum) {
InlineResponse200ErrorsSeverityEnum["Info"] = "INFO";
InlineResponse200ErrorsSeverityEnum["Warn"] = "WARN";
InlineResponse200ErrorsSeverityEnum["Error"] = "ERROR";
})(InlineResponse200ErrorsSeverityEnum = exports.InlineResponse200ErrorsSeverityEnum || (exports.InlineResponse200ErrorsSeverityEnum = {}));
/**
* @export
* @enum {string}
*/
var InlineResponse200ErrorsCategoryEnum;
(function (InlineResponse200ErrorsCategoryEnum) {
InlineResponse200ErrorsCategoryEnum["Application"] = "APPLICATION";
InlineResponse200ErrorsCategoryEnum["System"] = "SYSTEM";
InlineResponse200ErrorsCategoryEnum["Request"] = "REQUEST";
InlineResponse200ErrorsCategoryEnum["Data"] = "DATA";
})(InlineResponse200ErrorsCategoryEnum = exports.InlineResponse200ErrorsCategoryEnum || (exports.InlineResponse200ErrorsCategoryEnum = {}));
/**
* @export
* @enum {string}
*/
var ModelErrorSeverityEnum;
(function (ModelErrorSeverityEnum) {
ModelErrorSeverityEnum["Info"] = "INFO";
ModelErrorSeverityEnum["Warn"] = "WARN";
ModelErrorSeverityEnum["Error"] = "ERROR";
})(ModelErrorSeverityEnum = exports.ModelErrorSeverityEnum || (exports.ModelErrorSeverityEnum = {}));
/**
* @export
* @enum {string}
*/
var ModelErrorCategoryEnum;
(function (ModelErrorCategoryEnum) {
ModelErrorCategoryEnum["Application"] = "APPLICATION";
ModelErrorCategoryEnum["System"] = "SYSTEM";
ModelErrorCategoryEnum["Request"] = "REQUEST";
ModelErrorCategoryEnum["Data"] = "DATA";
})(ModelErrorCategoryEnum = exports.ModelErrorCategoryEnum || (exports.ModelErrorCategoryEnum = {}));
/**
* @export
* @enum {string}
*/
var QueryFieldEnum;
(function (QueryFieldEnum) {
QueryFieldEnum["Sku"] = "sku";
QueryFieldEnum["Gtin"] = "gtin";
})(QueryFieldEnum = exports.QueryFieldEnum || (exports.QueryFieldEnum = {}));
/**
* @export
* @enum {string}
*/
var ServiceResponseStatusEnum;
(function (ServiceResponseStatusEnum) {
ServiceResponseStatusEnum["Ok"] = "OK";
ServiceResponseStatusEnum["Created"] = "CREATED";
ServiceResponseStatusEnum["Accepted"] = "ACCEPTED";
ServiceResponseStatusEnum["NoContent"] = "NO_CONTENT";
ServiceResponseStatusEnum["Partial"] = "PARTIAL";
ServiceResponseStatusEnum["MovedPermanent"] = "MOVED_PERMANENT";
ServiceResponseStatusEnum["Found"] = "FOUND";
ServiceResponseStatusEnum["SeeOther"] = "SEE_OTHER";
ServiceResponseStatusEnum["NotModified"] = "NOT_MODIFIED";
ServiceResponseStatusEnum["TemporaryRedirect"] = "TEMPORARY_REDIRECT";
ServiceResponseStatusEnum["BadRequest"] = "BAD_REQUEST";
ServiceResponseStatusEnum["Unauthorized"] = "UNAUTHORIZED";
ServiceResponseStatusEnum["Forbidden"] = "FORBIDDEN";
ServiceResponseStatusEnum["NotFound"] = "NOT_FOUND";
ServiceResponseStatusEnum["MethodNotAllowed"] = "METHOD_NOT_ALLOWED";
ServiceResponseStatusEnum["NotAcceptable"] = "NOT_ACCEPTABLE";
ServiceResponseStatusEnum["RequestTimeout"] = "REQUEST_TIMEOUT";
ServiceResponseStatusEnum["Conflict"] = "CONFLICT";
ServiceResponseStatusEnum["RequestEntityTooLarge"] = "REQUEST_ENTITY_TOO_LARGE";
ServiceResponseStatusEnum["UnsupportedMediaType"] = "UNSUPPORTED_MEDIA_TYPE";
ServiceResponseStatusEnum["UnprocessableEntity"] = "UNPROCESSABLE_ENTITY";
ServiceResponseStatusEnum["Fail"] = "FAIL";
ServiceResponseStatusEnum["BadGateway"] = "BAD_GATEWAY";
ServiceResponseStatusEnum["ServiceUnavailable"] = "SERVICE_UNAVAILABLE";
ServiceResponseStatusEnum["GatewayTimeout"] = "GATEWAY_TIMEOUT";
})(ServiceResponseStatusEnum = exports.ServiceResponseStatusEnum || (exports.ServiceResponseStatusEnum = {}));
/**
* @export
* @enum {string}
*/
var SortFieldEnum;
(function (SortFieldEnum) {
SortFieldEnum["CreatedAt"] = "createdAt";
SortFieldEnum["UpdatedAt"] = "updatedAt";
})(SortFieldEnum = exports.SortFieldEnum || (exports.SortFieldEnum = {}));
/**
* @export
* @enum {string}
*/
var SortOrderEnum;
(function (SortOrderEnum) {
SortOrderEnum["Asc"] = "ASC";
SortOrderEnum["Desc"] = "DESC";
})(SortOrderEnum = exports.SortOrderEnum || (exports.SortOrderEnum = {}));
/**
* @export
* @enum {string}
*/
var V3ItemsOnholdSearchFiltersFieldEnum;
(function (V3ItemsOnholdSearchFiltersFieldEnum) {
V3ItemsOnholdSearchFiltersFieldEnum["Status"] = "status";
})(V3ItemsOnholdSearchFiltersFieldEnum = exports.V3ItemsOnholdSearchFiltersFieldEnum || (exports.V3ItemsOnholdSearchFiltersFieldEnum = {}));
/**
* @export
* @enum {string}
*/
var V3ItemsOnholdSearchFiltersOpEnum;
(function (V3ItemsOnholdSearchFiltersOpEnum) {
V3ItemsOnholdSearchFiltersOpEnum["Equals"] = "equals";
})(V3ItemsOnholdSearchFiltersOpEnum = exports.V3ItemsOnholdSearchFiltersOpEnum || (exports.V3ItemsOnholdSearchFiltersOpEnum = {}));
/**
* @export
* @enum {string}
*/
var V3ItemsOnholdSearchFiltersValuesEnum;
(function (V3ItemsOnholdSearchFiltersValuesEnum) {
V3ItemsOnholdSearchFiltersValuesEnum["Prohibited"] = "PROHIBITED";
V3ItemsOnholdSearchFiltersValuesEnum["InReview"] = "IN_REVIEW";
V3ItemsOnholdSearchFiltersValuesEnum["ActionNeeded"] = "ACTION_NEEDED";
})(V3ItemsOnholdSearchFiltersValuesEnum = exports.V3ItemsOnholdSearchFiltersValuesEnum || (exports.V3ItemsOnholdSearchFiltersValuesEnum = {}));
/**
* @export
* @enum {string}
*/
var V3ItemsOnholdSearchQueryFieldEnum;
(function (V3ItemsOnholdSearchQueryFieldEnum) {
V3ItemsOnholdSearchQueryFieldEnum["Sku"] = "sku";
V3ItemsOnholdSearchQueryFieldEnum["Gtin"] = "gtin";
})(V3ItemsOnholdSearchQueryFieldEnum = exports.V3ItemsOnholdSearchQueryFieldEnum || (exports.V3ItemsOnholdSearchQueryFieldEnum = {}));
/**
* @export
* @enum {string}
*/
var V3ItemsOnholdSearchSortFieldEnum;
(function (V3ItemsOnholdSearchSortFieldEnum) {
V3ItemsOnholdSearchSortFieldEnum["CreatedAt"] = "createdAt";
V3ItemsOnholdSearchSortFieldEnum["UpdatedAt"] = "updatedAt";
})(V3ItemsOnholdSearchSortFieldEnum = exports.V3ItemsOnholdSearchSortFieldEnum || (exports.V3ItemsOnholdSearchSortFieldEnum = {}));
/**
* @export
* @enum {string}
*/
var V3ItemsOnholdSearchSortOrderEnum;
(function (V3ItemsOnholdSearchSortOrderEnum) {
V3ItemsOnholdSearchSortOrderEnum["Asc"] = "ASC";
V3ItemsOnholdSearchSortOrderEnum["Desc"] = "DESC";
})(V3ItemsOnholdSearchSortOrderEnum = exports.V3ItemsOnholdSearchSortOrderEnum || (exports.V3ItemsOnholdSearchSortOrderEnum = {}));
/**
* FulfillmentApi - axios parameter creator
* @export
*/
const FulfillmentApiAxiosParamCreator = function (configuration) {
return {
/**
* The API is used to cancel the customer fulfilment orders created in the previous flow.
* @summary Cancel Customer Order
* @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}
*/
cancelFulfillment: async (authorization, wMSECACCESSTOKEN, wMQOSCORRELATIONID, wMSVCNAME, inlineObject2, wMCONSUMERCHANNELTYPE, options = {}) => {
// verify required parameter 'authorization' is not null or undefined
(0, common_1.assertParamExists)('cancelFulfillment', 'authorization', authorization);
// verify required parameter 'wMSECACCESSTOKEN' is not null or undefined
(0, common_1.assertParamExists)('cancelFulfillment', 'wMSECACCESSTOKEN', wMSECACCESSTOKEN);
// verify required parameter 'wMQOSCORRELATIONID' is not null or undefined
(0, common_1.assertParamExists)('cancelFulfillment', 'wMQOSCORRELATIONID', wMQOSCORRELATIONID);
// verify required parameter 'wMSVCNAME' is not null or undefined
(0, common_1.assertParamExists)('cancelFulfillment', 'wMSVCNAME', wMSVCNAME);
// verify required parameter 'inlineObject2' is not null or undefined
(0, common_1.assertParamExists)('cancelFulfillment', 'inlineObject2', inlineObject2);
const localVarPath = `/v3/orders-fulfillments/cancel`;
// 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,
};
},
/**
* The purpose of this service is to cancel an inbound order. Seller can cancel an Inbound Order before any of its Shipment arrives at the WFS FCs. Seller cannot cancel an Inbound Order if any of its Shipment’s status = Receiving in Progress, Closed, or Cancelled Seller can only cancel at the Inbound Order level, not the Shipment level: if an Inbound Order is cancelled, all Shipments on that order will be cancelled.
* @summary Cancel Inbound Shipment
* @param {string} inboundOrderId Unique ID identifying inbound shipment request
* @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}
*/
cancelShipment: async (inboundOrderId, authorization, wMSECACCESSTOKEN, wMQOSCORRELATIONID, wMSVCNAME, wMCONSUMERCHANNELTYPE, options = {}) => {
// verify required parameter 'inboundOrderId' is not null or undefined
(0, common_1.assertParamExists)('cancelShipment', 'inboundOrderId', inboundOrderId);
// verify required parameter 'authorization' is not null or undefined
(0, common_1.assertParamExists)('cancelShipment', 'authorization', authorization);
// verify required parameter 'wMSECACCESSTOKEN' is not null or undefined
(0, common_1.assertParamExists)('cancelShipment', 'wMSECACCESSTOKEN', wMSECACCESSTOKEN);
// verify required parameter 'wMQOSCORRELATIONID' is not null or undefined
(0, common_1.assertParamExists)('cancelShipment', 'wMQOSCORRELATIONID', wMQOSCORRELATIONID);
// verify required parameter 'wMSVCNAME' is not null or undefined
(0, common_1.assertParamExists)('cancelShipment', 'wMSVCNAME', wMSVCNAME);
const localVarPath = `/v3/fulfillment/inbound-shipments/{inboundOrderId}`
.replace(`{${"inboundOrderId"}}`, encodeURIComponent(String(inboundOrderId)));
// 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,
};
},
/**
* The purpose of this service is for seller to confirm and accept the estimated carrier shipping charges, when choosing to use WFS Preferred Carrier Program - FedEx parcel to inbound inventory to Walmart fulfillment centers.
* @summary Confirm Carrier Rate Quote
* @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 {InlineObject8} inlineObject8
* @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}
*/
confirmCarrierRateQuote: async (authorization, wMSECACCESSTOKEN, wMQOSCORRELATIONID, wMSVCNAME, inlineObject8, wMCONSUMERCHANNELTYPE, options = {}) => {
// verify required parameter 'authorization' is not null or undefined
(0, common_1.assertParamExists)('confirmCarrierRateQuote', 'authorization', authorization);
// verify required parameter 'wMSECACCESSTOKEN' is not null or undefined
(0, common_1.assertParamExists)('confirmCarrierRateQuote', 'wMSECACCESSTOKEN', wMSECACCESSTOKEN);
// verify required parameter 'wMQOSCORRELATIONID' is not null or undefined
(0, common_1.assertParamExists)('confirmCarrierRateQuote', 'wMQOSCORRELATIONID', wMQOSCORRELATIONID);
// verify required parameter 'wMSVCNAME' is not null or undefined
(0, common_1.assertParamExists)('confirmCarrierRateQuote', 'wMSVCNAME', wMSVCNAME);
// verify required parameter 'inlineObject8' is not null or undefined
(0, common_1.assertParamExists)('confirmCarrierRateQuote', 'inlineObject8', inlineObject8);
const localVarPath = `/v3/fulfillment/carrier-rate-quote/confirm`;
// 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)(inlineObject8, localVarRequestOptions, configuration);
return {
url: (0, common_1.toPathString)(localVarUrlObj),
options: localVarRequestOptions,
};
},
/**
* This API is used for converting existing Marketplace items to be WFS eligible. Once you’ve created a Marketplace item, each item must be converted to WFS by providing additional details that are not required during the item setup process. This item conversion process can be completed by uploading the Convert Spec excel file via Seller Center, or can be completed using the API documented here. Directions on how to convert your item to be eligible for Walmart Fulfillment Services can be found here: https://sellerhelp.walmart.com/s/guide?article=000009206 Additional details on hazmat item compliance requirements can be found here: https://sellerhelp.walmart.com/seller/s/guide?article=000009156 To download the schema, please refer to the Overview section
* @summary Convert items for WFS
* @param {string} feedType Includes details of each entity in the feed. Do not set this parameter to true.
* @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 {any} file Feed file to upload
* @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}
*/
convertItemForWfs: async (feedType, authorization, wMSECACCESSTOKEN, wMQOSCORRELATIONID, wMSVCNAME, file, wMCONSUMERCHANNELTYPE, options = {}) => {
// verify required parameter 'feedType' is not null or undefined
(0, common_1.assertParamExists)('convertItemForWfs', 'feedType', feedType);
// verify required parameter 'authorization' is not null or undefined
(0, common_1.assertParamExists)('convertItemForWfs', 'authorization', authorization);
// verify required parameter 'wMSECACCESSTOKEN' is not null or undefined
(0, common_1.assertParamExists)('convertItemForWfs', 'wMSECACCESSTOKEN', wMSECACCESSTOKEN);
// verify required parameter 'wMQOSCORRELATIONID' is not null or undefined
(0, common_1.assertParamExists)('convertItemForWfs', 'wMQOSCORRELATIONID', wMQOSCORRELATIONID);
// verify required parameter 'wMSVCNAME' is not null or undefined
(0, common_1.assertParamExists)('convertItemForWfs', 'wMSVCNAME', wMSVCNAME);
// verify required parameter 'file' is not null or undefined
(0, common_1.assertParamExists)('convertItemForWfs', 'file', file);
const localVarPath = `/v3/feeds`;
// 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 = {};
const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
// authentication basicScheme required
// http basic authentication required
(0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
if (feedType !== undefined) {
localVarQueryParameter['feedType'] = feedType;
}
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);
}
if (file !== undefined) {
localVarFormParams.append('file', file);
}
localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
localVarRequestOptions.data = localVarFormParams;
return {
url: (0, common_1.toPathString)(localVarUrlObj),
options: localVarRequestOptions,
};
},
/**
* The purpose of this service is to get the carrier rate quotes for WFS Preferred Carrier Program - FedEx parcel solution, when inbounding seller items from seller pickup point to Walmart fulfillment centers. For the shipments sent by FedEx small parcel, you can ship packages up to 150 lb, up to 108\" in length, and 165\" in length plus girth. (Girth is 2x width + 2x height.). You can ship up to 200 packages per shipment.
* @summary Create Carrier Rate Quote
* @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 {InlineObject7} inlineObject7
* @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}
*/
createCarrierRateQuotes: async (authorization, wMSECACCESSTOKEN, wMQOSCORRELATIONID, wMSVCNAME, inlineObject7, wMCONSUMERCHANNELTYPE, options = {}) => {
// verify required parameter 'authorization' is not null or undefined
(0, common_1.assertParamExists)('createCarrierRateQuotes', 'authorization', authorization);
// verify required parameter 'wMSECACCESSTOKEN' is not null or undefined
(0, common_1.assertParamExists)('createCarrierRateQuotes', 'wMSECACCESSTOKEN', wMSECACCESSTOKEN);
// verify required parameter 'wMQOSCORRELATIONID' is not null or undefined
(0, common_1.assertParamExists)('createCarrierRateQuotes', 'wMQOSCORRELATIONID', wMQOSCORRELATIONID);
// verify required parameter 'wMSVCNAME' is not null or undefined
(0, common_1.assertParamExists)('createCarrierRateQuotes', 'wMSVCNAME', wMSVCNAME);
// verify required parameter 'inlineObject7' is not null or undefined
(0, common_1.assertParamExists)('createCarrierRateQuotes', 'inlineObject7', inlineObject7);
const localVarPath = `/v3/fulfillment/carrier-rate-quotes`;
// 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)(inlineObject7, localVarRequestOptions, configuration);
return {
url: (0, common_1.toPathString)(localVarUrlObj),
options: localVarRequestOptions,
};
},
/**
* The API is used to create customer fulfilment orders by the seller for Walmart Multichannel Solutions flow.
* @summary Create Customer Order
* @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 {InlineObject1} inlineObject1
* @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}
*/
createFulfillment: async (authorization, wMSECACCESSTOKEN, wMQOSCORRELATIONID, wMSVCNAME, inlineObject1, wMCONSUMERCHANNELTYPE, options = {}) => {
// verify required parameter 'authorization' is not null or undefined
(0, common_1.assertParamExists)('createFulfillment', 'authorization', authorization);
// verify required parameter 'wMSECACCESSTOKEN' is not null or undefined
(0, common_1.assertParamExists)('createFulfillment', 'wMSECACCESSTOKEN', wMSECACCESSTOKEN);
// verify required parameter 'wMQOSCORRELATIONID' is not null or undefined
(0, common_1.assertParamExists)('createFulfillment', 'wMQOSCORRELATIONID', wMQOSCORRELATIONID);
// verify required parameter 'wMSVCNAME' is not null or undefined
(0, common_1.assertParamExists)('createFulfillment', 'wMSVCNAME', wMSVCNAME);
// verify required parameter 'inlineObject1' is not null or undefined
(0, common_1.assertParamExists)('createFulfillment', 'inlineObject1', inlineObject1);
const localVarPath = `/v3/orders-fulfillments`;
// 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)(inlineObject1, localVarRequestOptions, configuration);
return {
url: (0, common_1.toPathString)(localVarUrlObj),
options: localVarRequestOptions,
};
},
/**
* The purpose of this service is to generate WFS shipping labels in pdf format for receiving purpose. Please note this is not a carrier label; these labels are required for the FC to identify the Inbound Order and Shipment ID they are receiving against. After requesting the shipping label, sellers must work with warehouse/ supplier to follow these steps before sending any Shipments to WFS FCs: 1. Print the WFS shipping label. 2. Fill out the FILL OUT section based on seller’s packing situation. For example, if a seller plans to ship 3 boxes to the WFS fulfillment center, print out 3 labels and fill out BOX 1 of 3, 2 of 3, and 3 of 3 in the FILL OUT section. 3. Circle one shipment type in the CIRCLE ONE section. For example, if there are different SKUs in the box, circle MIXED SKUS in the CIRCLE ONE section. 4. Affix the WFS shipping labels to the boxes/ pallets.
* @summary Create Inbound Shipment label (deprecated)
* @param {string} shipmentId Unique ID identifying inbound shipment
* @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}
*/
createInboundShipmentLabel: async (shipmentId, authorization, wMSECACCESSTOKEN, wMQOSCORRELATIONID, wMSVCNAME, wMCONSUMERCHANNELTYPE, options = {}) => {
// verify required parameter 'shipmentId' is not null or undefined
(0, common_1.assertParamExists)('createInboundShipmentLabel', 'shipmentId', shipmentId);
// verify required parameter 'authorization' is not null or undefined
(0, common_1.assertParamExists)('createInboundShipmentLabel', 'authorization', authorization);
// verify required parameter 'wMSECACCESSTOKEN' is not null or undefined
(0, common_1.assertParamExists)('createInboundShipmentLabel', 'wMSECACCESSTOKEN', wMSECACCESSTOKEN);
// verify required parameter 'wMQOSCORRELATIONID' is not null or undefined
(0, common_1.assertParamExists)('createInboundShipmentLabel', 'wMQOSCORRELATIONID', wMQOSCORRELATIONID);
// verify required parameter 'wMSVCNAME' is not null or undefined
(0, common_1.assertParamExists)('createInboundShipmentLabel', 'wMSVCNAME', wMSVCNAME);
const localVarPath = `/v3/fulfillment/label/{shipmentId}`
.replace(`{${"shipmentId"}}`, encodeURIComponent(String(shipmentId)));
// 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,
};
},
/**
* The purpose of this service is to generate WFS Receiving Labels in various formats for receiving purposes. Please note this is not a carrier label; these labels are required for the FC to identify the Inbound Order and Shipment ID they are receiving against.Receiving labels are customizable: 1. 3 size and format options are available to choose from through the LabelSize and LabelFormat fields: - 4 in. x 6 in. (PDF). - 4 in. x 3 1/3 in. (PDF). - 4 in. x 6 in. (ZPL). 2. Provide the type of the label (box or pallet) in the LoadType field and the number of the labels needed in the Count field. 3. Print the WFS receiving label. 4. Affix the WFS receiving labels to the boxes/ pallets. If none of the above optional inputs are provided, a blank 4 in. x 6 in. PDF format label will be generated. Sellers must work with the warehouse/supplier to provide the required details before sending any Shipments to WFS FCs: 1. Print the WFS receiving label. 2. Fill out the FILL OUT section based on the seller’s packing situation. For example, if a seller plans to ship 3 boxes to the WFS fulfillment center, print out 3 labels and fill out BOX 1 of 3, 2 of 3, and 3 of 3 in the FILL OUT section. 3. Circle one shipment type in the CIRCLE ONE section. For example, if there are different SKUs in the box, circle MIXED SKUS in the CIRCLE ONE section. 4. Affix the WFS receiving labels to the boxes/ pallets.
* @summary Create Inbound Shipment label
* @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}
*/
createInboundShipmentLabelV2: async (authorization, wMSECACCESSTOKEN, wMQOSCORRELATIONID, wMSVCNAME, inlineObject5, wMCONSUMERCHANNELTYPE, options = {}) => {
// verify required parameter 'authorization' is not null or undefined
(0, common_1.assertParamExists)('createInboundShipmentLabelV2', 'authorization', authorization);
// verify required parameter 'wMSECACCESSTOKEN' is not null or undefined
(0, common_1.assertParamExists)('createInboundShipmentLabelV2', 'wMSECACCESSTOKEN', wMSECACCESSTOKEN);
// verify required parameter 'wMQOSCORRELATIONID' is not null or undefined
(0, common_1.assertParamExists)('createInboundShipmentLabelV2', 'wMQOSCORRELATIONID', wMQOSCORRELATIONID);
// verify required parameter 'wMSVCNAME' is not null or undefined
(0, common_1.assertParamExists)('createInboundShipmentLabelV2', 'wMSVCNAME', wMSVCNAME);
// verify required parameter 'inlineObject5' is not null or undefined
(0, common_1.assertParamExists)('createInboundShipmentLabelV2', 'inlineObject5', inlineObject5);
const localVarPath = `/v3/fulfillment/shipment-label`;
// 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 = { ...l