{"version":3,"sources":["../src/index.ts","../src/client.ts","../src/api-model/api/fulfillment-inbound-api.ts","../src/api-model/base.ts","../src/api-model/common.ts","../src/api-model/configuration.ts","../src/api-model/models/barcode-instruction.ts","../src/api-model/models/box-contents-source.ts","../src/api-model/models/currency-code.ts","../src/api-model/models/error-reason.ts","../src/api-model/models/label-prep-type.ts","../src/api-model/models/prep-guidance.ts","../src/api-model/models/prep-instruction.ts","../src/api-model/models/prep-owner.ts","../src/api-model/models/shipment-status.ts"],"sourcesContent":["export * from './client.js'\nexport * from './api-model/api.js'\nexport * from './api-model/models/index.js'\n","import {type ClientConfiguration, createAxiosInstance, type RateLimit} from '@sp-api-sdk/common'\n\nimport {Configuration, FulfillmentInboundApi} from './api-model/index.js'\n\nexport const clientRateLimits: RateLimit[] = [\n  {\n    method: 'get',\n    // eslint-disable-next-line prefer-regex-literals\n    urlRegex: new RegExp('^/fba/inbound/v0/prepInstructions$'),\n    rate: 2,\n    burst: 30,\n  },\n  {\n    method: 'get',\n    // eslint-disable-next-line prefer-regex-literals\n    urlRegex: new RegExp('^/fba/inbound/v0/shipments/[^/]*/labels$'),\n    rate: 2,\n    burst: 30,\n  },\n  {\n    method: 'get',\n    // eslint-disable-next-line prefer-regex-literals\n    urlRegex: new RegExp('^/fba/inbound/v0/shipments/[^/]*/billOfLading$'),\n    rate: 2,\n    burst: 30,\n  },\n  {\n    method: 'get',\n    // eslint-disable-next-line prefer-regex-literals\n    urlRegex: new RegExp('^/fba/inbound/v0/shipments$'),\n    rate: 2,\n    burst: 30,\n  },\n  {\n    method: 'get',\n    // eslint-disable-next-line prefer-regex-literals\n    urlRegex: new RegExp('^/fba/inbound/v0/shipments/[^/]*/items$'),\n    rate: 2,\n    burst: 30,\n  },\n  {\n    method: 'get',\n    // eslint-disable-next-line prefer-regex-literals\n    urlRegex: new RegExp('^/fba/inbound/v0/shipmentItems$'),\n    rate: 2,\n    burst: 30,\n  },\n]\n\nexport class FulfillmentInboundApiClient extends FulfillmentInboundApi {\n  constructor(configuration: ClientConfiguration) {\n    const {axios, endpoint} = createAxiosInstance(configuration, clientRateLimits)\n\n    super(new Configuration(), endpoint, axios)\n  }\n}\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * Selling Partner API for Fulfillment Inbound\n * The Selling Partner API for Fulfillment Inbound lets you create applications that create and update inbound shipments of inventory to Amazon\\'s fulfillment network.\n *\n * The version of the OpenAPI document: v0\n * \n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n\nimport type { Configuration } from '../configuration.js';\nimport type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';\nimport globalAxios from 'axios';\n// Some imports not used depending on template conditions\n// @ts-ignore\nimport { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction, replaceWithSerializableTypeIfNeeded } from '../common.js';\n// @ts-ignore\nimport { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError, operationServerMap } from '../base.js';\n// @ts-ignore\nimport type { GetBillOfLadingResponse } from '../models/index.js';\n// @ts-ignore\nimport type { GetLabelsResponse } from '../models/index.js';\n// @ts-ignore\nimport type { GetPrepInstructionsResponse } from '../models/index.js';\n// @ts-ignore\nimport type { GetShipmentItemsResponse } from '../models/index.js';\n// @ts-ignore\nimport type { GetShipmentsResponse } from '../models/index.js';\n/**\n * FulfillmentInboundApi - axios parameter creator\n */\nexport const FulfillmentInboundApiAxiosParamCreator = function (configuration?: Configuration) {\n    return {\n        /**\n         * Returns a bill of lading for a Less Than Truckload/Full Truckload (LTL/FTL) shipment. The getBillOfLading operation returns PDF document data for printing a bill of lading for an Amazon-partnered Less Than Truckload/Full Truckload (LTL/FTL) inbound shipment.  **Usage Plan:**  | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 |  The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).\n         * @param {string} shipmentId A shipment identifier originally returned by the createInboundShipmentPlan operation.\n         * @param {*} [options] Override http request option.\n         * @throws {RequiredError}\n         */\n        getBillOfLading: async (shipmentId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n            // verify required parameter 'shipmentId' is not null or undefined\n            assertParamExists('getBillOfLading', 'shipmentId', shipmentId)\n            const localVarPath = `/fba/inbound/v0/shipments/{shipmentId}/billOfLading`\n                .replace('{shipmentId}', encodeURIComponent(String(shipmentId)));\n            // use dummy base URL string because the URL constructor only accepts absolute URLs.\n            const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n            let baseOptions;\n            if (configuration) {\n                baseOptions = configuration.baseOptions;\n            }\n\n            const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n            const localVarHeaderParameter = {} as any;\n            const localVarQueryParameter = {} as any;\n\n            localVarHeaderParameter['Accept'] = 'application/json';\n\n            setSearchParams(localVarUrlObj, localVarQueryParameter);\n            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n            return {\n                url: toPathString(localVarUrlObj),\n                options: localVarRequestOptions,\n            };\n        },\n        /**\n         * Returns package/pallet labels for faster and more accurate shipment processing at the Amazon fulfillment center.  **Usage Plan:**  | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 |  The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).\n         * @param {string} shipmentId A shipment identifier originally returned by the createInboundShipmentPlan operation.\n         * @param {GetLabelsPageTypeEnum} pageType The page type to use to print the labels. Submitting a PageType value that is not supported in your marketplace returns an error.\n         * @param {GetLabelsLabelTypeEnum} labelType The type of labels requested. \n         * @param {number} [numberOfPackages] The number of packages in the shipment.\n         * @param {Array<string>} [packageLabelsToPrint] A list of identifiers that specify packages for which you want package labels printed.  If you provide box content information with the [FBA Inbound Shipment Carton Information Feed](https://developer-docs.amazon.com/sp-api/docs/fulfillment-by-amazon-feed-type-values#fba-inbound-shipment-carton-information-feed), then &#x60;PackageLabelsToPrint&#x60; must match the &#x60;CartonId&#x60; values you provide through that feed. If you provide box content information with the Fulfillment Inbound API v2024-03-20, then &#x60;PackageLabelsToPrint&#x60; must match the &#x60;boxID&#x60; values from the [&#x60;listShipmentBoxes&#x60;](https://developer-docs.amazon.com/sp-api/reference/listshipmentboxes) response. If these values do not match as required, the operation returns the &#x60;IncorrectPackageIdentifier&#x60; error code.\n         * @param {number} [numberOfPallets] The number of pallets in the shipment. This returns four identical labels for each pallet.\n         * @param {number} [pageSize] The page size for paginating through the total packages\\&#39; labels. This is a required parameter for Non-Partnered LTL Shipments. Max value:1000.\n         * @param {number} [pageStartIndex] The page start index for paginating through the total packages\\&#39; labels. This is a required parameter for Non-Partnered LTL Shipments.\n         * @param {*} [options] Override http request option.\n         * @throws {RequiredError}\n         */\n        getLabels: async (shipmentId: string, pageType: GetLabelsPageTypeEnum, labelType: GetLabelsLabelTypeEnum, numberOfPackages?: number, packageLabelsToPrint?: Array<string>, numberOfPallets?: number, pageSize?: number, pageStartIndex?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n            // verify required parameter 'shipmentId' is not null or undefined\n            assertParamExists('getLabels', 'shipmentId', shipmentId)\n            // verify required parameter 'pageType' is not null or undefined\n            assertParamExists('getLabels', 'pageType', pageType)\n            // verify required parameter 'labelType' is not null or undefined\n            assertParamExists('getLabels', 'labelType', labelType)\n            const localVarPath = `/fba/inbound/v0/shipments/{shipmentId}/labels`\n                .replace('{shipmentId}', encodeURIComponent(String(shipmentId)));\n            // use dummy base URL string because the URL constructor only accepts absolute URLs.\n            const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n            let baseOptions;\n            if (configuration) {\n                baseOptions = configuration.baseOptions;\n            }\n\n            const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n            const localVarHeaderParameter = {} as any;\n            const localVarQueryParameter = {} as any;\n\n            if (pageType !== undefined) {\n                localVarQueryParameter['PageType'] = pageType;\n            }\n\n            if (labelType !== undefined) {\n                localVarQueryParameter['LabelType'] = labelType;\n            }\n\n            if (numberOfPackages !== undefined) {\n                localVarQueryParameter['NumberOfPackages'] = numberOfPackages;\n            }\n\n            if (packageLabelsToPrint) {\n                localVarQueryParameter['PackageLabelsToPrint'] = packageLabelsToPrint.join(COLLECTION_FORMATS.csv);\n            }\n\n            if (numberOfPallets !== undefined) {\n                localVarQueryParameter['NumberOfPallets'] = numberOfPallets;\n            }\n\n            if (pageSize !== undefined) {\n                localVarQueryParameter['PageSize'] = pageSize;\n            }\n\n            if (pageStartIndex !== undefined) {\n                localVarQueryParameter['PageStartIndex'] = pageStartIndex;\n            }\n\n            localVarHeaderParameter['Accept'] = 'application/json';\n\n            setSearchParams(localVarUrlObj, localVarQueryParameter);\n            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n            return {\n                url: toPathString(localVarUrlObj),\n                options: localVarRequestOptions,\n            };\n        },\n        /**\n         * Returns labeling requirements and item preparation instructions to help prepare items for shipment to Amazon\\'s fulfillment network.  **Usage Plan:**  | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 |  The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).\n         * @param {string} shipToCountryCode The country code of the country to which the items will be shipped. Note that labeling requirements and item preparation instructions can vary by country.\n         * @param {Array<string>} [sellerSKUList] A list of SellerSKU values. Used to identify items for which you want labeling requirements and item preparation instructions for shipment to Amazon\\&#39;s fulfillment network. The SellerSKU is qualified by the Seller ID, which is included with every call to the Seller Partner API.  Note: Include seller SKUs that you have used to list items on Amazon\\&#39;s retail website. If you include a seller SKU that you have never used to list an item on Amazon\\&#39;s retail website, the seller SKU is returned in the InvalidSKUList property in the response.\n         * @param {Array<string>} [aSINList] A list of ASIN values. Used to identify items for which you want item preparation instructions to help with item sourcing decisions.  Note: ASINs must be included in the product catalog for at least one of the marketplaces that the seller  participates in. Any ASIN that is not included in the product catalog for at least one of the marketplaces that the seller participates in is returned in the InvalidASINList property in the response. You can find out which marketplaces a seller participates in by calling the getMarketplaceParticipations operation in the Selling Partner API for Sellers.\n         * @param {*} [options] Override http request option.\n         * @throws {RequiredError}\n         */\n        getPrepInstructions: async (shipToCountryCode: string, sellerSKUList?: Array<string>, aSINList?: Array<string>, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n            // verify required parameter 'shipToCountryCode' is not null or undefined\n            assertParamExists('getPrepInstructions', 'shipToCountryCode', shipToCountryCode)\n            const localVarPath = `/fba/inbound/v0/prepInstructions`;\n            // use dummy base URL string because the URL constructor only accepts absolute URLs.\n            const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n            let baseOptions;\n            if (configuration) {\n                baseOptions = configuration.baseOptions;\n            }\n\n            const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n            const localVarHeaderParameter = {} as any;\n            const localVarQueryParameter = {} as any;\n\n            if (shipToCountryCode !== undefined) {\n                localVarQueryParameter['ShipToCountryCode'] = shipToCountryCode;\n            }\n\n            if (sellerSKUList) {\n                localVarQueryParameter['SellerSKUList'] = sellerSKUList.join(COLLECTION_FORMATS.csv);\n            }\n\n            if (aSINList) {\n                localVarQueryParameter['ASINList'] = aSINList.join(COLLECTION_FORMATS.csv);\n            }\n\n            localVarHeaderParameter['Accept'] = 'application/json';\n\n            setSearchParams(localVarUrlObj, localVarQueryParameter);\n            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n            return {\n                url: toPathString(localVarUrlObj),\n                options: localVarRequestOptions,\n            };\n        },\n        /**\n         * Returns a list of items in a specified inbound shipment, or a list of items that were updated within a specified time frame.  **Usage Plan:**  | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 |  The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).\n         * @param {GetShipmentItemsQueryTypeEnum} queryType Indicates whether items are returned using a date range (by providing the LastUpdatedAfter and LastUpdatedBefore parameters), or using NextToken, which continues returning items specified in a previous request.\n         * @param {string} marketplaceId A marketplace identifier. Specifies the marketplace where the product would be stored.\n         * @param {string} [lastUpdatedAfter] A date used for selecting inbound shipment items that were last updated after (or at) a specified time. The selection includes updates made by Amazon and by the seller.\n         * @param {string} [lastUpdatedBefore] A date used for selecting inbound shipment items that were last updated before (or at) a specified time. The selection includes updates made by Amazon and by the seller.\n         * @param {string} [nextToken] A string token returned in the response to your previous request.\n         * @param {*} [options] Override http request option.\n         * @throws {RequiredError}\n         */\n        getShipmentItems: async (queryType: GetShipmentItemsQueryTypeEnum, marketplaceId: string, lastUpdatedAfter?: string, lastUpdatedBefore?: string, nextToken?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n            // verify required parameter 'queryType' is not null or undefined\n            assertParamExists('getShipmentItems', 'queryType', queryType)\n            // verify required parameter 'marketplaceId' is not null or undefined\n            assertParamExists('getShipmentItems', 'marketplaceId', marketplaceId)\n            const localVarPath = `/fba/inbound/v0/shipmentItems`;\n            // use dummy base URL string because the URL constructor only accepts absolute URLs.\n            const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n            let baseOptions;\n            if (configuration) {\n                baseOptions = configuration.baseOptions;\n            }\n\n            const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n            const localVarHeaderParameter = {} as any;\n            const localVarQueryParameter = {} as any;\n\n            if (lastUpdatedAfter !== undefined) {\n                localVarQueryParameter['LastUpdatedAfter'] = (lastUpdatedAfter as any instanceof Date) ?\n                    (lastUpdatedAfter as any).toISOString() :\n                    lastUpdatedAfter;\n            }\n\n            if (lastUpdatedBefore !== undefined) {\n                localVarQueryParameter['LastUpdatedBefore'] = (lastUpdatedBefore as any instanceof Date) ?\n                    (lastUpdatedBefore as any).toISOString() :\n                    lastUpdatedBefore;\n            }\n\n            if (queryType !== undefined) {\n                localVarQueryParameter['QueryType'] = queryType;\n            }\n\n            if (nextToken !== undefined) {\n                localVarQueryParameter['NextToken'] = nextToken;\n            }\n\n            if (marketplaceId !== undefined) {\n                localVarQueryParameter['MarketplaceId'] = marketplaceId;\n            }\n\n            localVarHeaderParameter['Accept'] = 'application/json';\n\n            setSearchParams(localVarUrlObj, localVarQueryParameter);\n            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n            return {\n                url: toPathString(localVarUrlObj),\n                options: localVarRequestOptions,\n            };\n        },\n        /**\n         * Returns a list of items in a specified inbound shipment.  **Usage Plan:**  | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 |  The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).\n         * @param {string} shipmentId A shipment identifier used for selecting items in a specific inbound shipment.\n         * @param {string} [marketplaceId] Deprecated. Do not use.\n         * @param {*} [options] Override http request option.\n         * @throws {RequiredError}\n         */\n        getShipmentItemsByShipmentId: async (shipmentId: string, marketplaceId?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n            // verify required parameter 'shipmentId' is not null or undefined\n            assertParamExists('getShipmentItemsByShipmentId', 'shipmentId', shipmentId)\n            const localVarPath = `/fba/inbound/v0/shipments/{shipmentId}/items`\n                .replace('{shipmentId}', encodeURIComponent(String(shipmentId)));\n            // use dummy base URL string because the URL constructor only accepts absolute URLs.\n            const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n            let baseOptions;\n            if (configuration) {\n                baseOptions = configuration.baseOptions;\n            }\n\n            const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n            const localVarHeaderParameter = {} as any;\n            const localVarQueryParameter = {} as any;\n\n            if (marketplaceId !== undefined) {\n                localVarQueryParameter['MarketplaceId'] = marketplaceId;\n            }\n\n            localVarHeaderParameter['Accept'] = 'application/json';\n\n            setSearchParams(localVarUrlObj, localVarQueryParameter);\n            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n            return {\n                url: toPathString(localVarUrlObj),\n                options: localVarRequestOptions,\n            };\n        },\n        /**\n         * Returns a list of inbound shipments based on criteria that you specify.  **Usage Plan:**  | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 |  The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).\n         * @param {GetShipmentsQueryTypeEnum} queryType Indicates whether shipments are returned using shipment information (by providing the ShipmentStatusList or ShipmentIdList parameters), using a date range (by providing the LastUpdatedAfter and LastUpdatedBefore parameters), or by using NextToken to continue returning items specified in a previous request.\n         * @param {string} marketplaceId A marketplace identifier. Specifies the marketplace where the product would be stored.\n         * @param {Array<GetShipmentsShipmentStatusListEnum>} [shipmentStatusList] A list of ShipmentStatus values. Used to select shipments with a current status that matches the status values that you specify.\n         * @param {Array<string>} [shipmentIdList] A list of shipment IDs used to select the shipments that you want. If both ShipmentStatusList and ShipmentIdList are specified, only shipments that match both parameters are returned.\n         * @param {string} [lastUpdatedAfter] A date used for selecting inbound shipments that were last updated after (or at) a specified time. The selection includes updates made by Amazon and by the seller.\n         * @param {string} [lastUpdatedBefore] A date used for selecting inbound shipments that were last updated before (or at) a specified time. The selection includes updates made by Amazon and by the seller.\n         * @param {string} [nextToken] A string token returned in the response to your previous request.\n         * @param {*} [options] Override http request option.\n         * @throws {RequiredError}\n         */\n        getShipments: async (queryType: GetShipmentsQueryTypeEnum, marketplaceId: string, shipmentStatusList?: Array<GetShipmentsShipmentStatusListEnum>, shipmentIdList?: Array<string>, lastUpdatedAfter?: string, lastUpdatedBefore?: string, nextToken?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n            // verify required parameter 'queryType' is not null or undefined\n            assertParamExists('getShipments', 'queryType', queryType)\n            // verify required parameter 'marketplaceId' is not null or undefined\n            assertParamExists('getShipments', 'marketplaceId', marketplaceId)\n            const localVarPath = `/fba/inbound/v0/shipments`;\n            // use dummy base URL string because the URL constructor only accepts absolute URLs.\n            const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n            let baseOptions;\n            if (configuration) {\n                baseOptions = configuration.baseOptions;\n            }\n\n            const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n            const localVarHeaderParameter = {} as any;\n            const localVarQueryParameter = {} as any;\n\n            if (shipmentStatusList) {\n                localVarQueryParameter['ShipmentStatusList'] = shipmentStatusList.join(COLLECTION_FORMATS.csv);\n            }\n\n            if (shipmentIdList) {\n                localVarQueryParameter['ShipmentIdList'] = shipmentIdList.join(COLLECTION_FORMATS.csv);\n            }\n\n            if (lastUpdatedAfter !== undefined) {\n                localVarQueryParameter['LastUpdatedAfter'] = (lastUpdatedAfter as any instanceof Date) ?\n                    (lastUpdatedAfter as any).toISOString() :\n                    lastUpdatedAfter;\n            }\n\n            if (lastUpdatedBefore !== undefined) {\n                localVarQueryParameter['LastUpdatedBefore'] = (lastUpdatedBefore as any instanceof Date) ?\n                    (lastUpdatedBefore as any).toISOString() :\n                    lastUpdatedBefore;\n            }\n\n            if (queryType !== undefined) {\n                localVarQueryParameter['QueryType'] = queryType;\n            }\n\n            if (nextToken !== undefined) {\n                localVarQueryParameter['NextToken'] = nextToken;\n            }\n\n            if (marketplaceId !== undefined) {\n                localVarQueryParameter['MarketplaceId'] = marketplaceId;\n            }\n\n            localVarHeaderParameter['Accept'] = 'application/json';\n\n            setSearchParams(localVarUrlObj, localVarQueryParameter);\n            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n            return {\n                url: toPathString(localVarUrlObj),\n                options: localVarRequestOptions,\n            };\n        },\n    }\n};\n\n/**\n * FulfillmentInboundApi - functional programming interface\n */\nexport const FulfillmentInboundApiFp = function(configuration?: Configuration) {\n    const localVarAxiosParamCreator = FulfillmentInboundApiAxiosParamCreator(configuration)\n    return {\n        /**\n         * Returns a bill of lading for a Less Than Truckload/Full Truckload (LTL/FTL) shipment. The getBillOfLading operation returns PDF document data for printing a bill of lading for an Amazon-partnered Less Than Truckload/Full Truckload (LTL/FTL) inbound shipment.  **Usage Plan:**  | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 |  The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).\n         * @param {string} shipmentId A shipment identifier originally returned by the createInboundShipmentPlan operation.\n         * @param {*} [options] Override http request option.\n         * @throws {RequiredError}\n         */\n        async getBillOfLading(shipmentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBillOfLadingResponse>> {\n            const localVarAxiosArgs = await localVarAxiosParamCreator.getBillOfLading(shipmentId, options);\n            const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n            const localVarOperationServerBasePath = operationServerMap['FulfillmentInboundApi.getBillOfLading']?.[localVarOperationServerIndex]?.url;\n            return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n        },\n        /**\n         * Returns package/pallet labels for faster and more accurate shipment processing at the Amazon fulfillment center.  **Usage Plan:**  | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 |  The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).\n         * @param {string} shipmentId A shipment identifier originally returned by the createInboundShipmentPlan operation.\n         * @param {GetLabelsPageTypeEnum} pageType The page type to use to print the labels. Submitting a PageType value that is not supported in your marketplace returns an error.\n         * @param {GetLabelsLabelTypeEnum} labelType The type of labels requested. \n         * @param {number} [numberOfPackages] The number of packages in the shipment.\n         * @param {Array<string>} [packageLabelsToPrint] A list of identifiers that specify packages for which you want package labels printed.  If you provide box content information with the [FBA Inbound Shipment Carton Information Feed](https://developer-docs.amazon.com/sp-api/docs/fulfillment-by-amazon-feed-type-values#fba-inbound-shipment-carton-information-feed), then &#x60;PackageLabelsToPrint&#x60; must match the &#x60;CartonId&#x60; values you provide through that feed. If you provide box content information with the Fulfillment Inbound API v2024-03-20, then &#x60;PackageLabelsToPrint&#x60; must match the &#x60;boxID&#x60; values from the [&#x60;listShipmentBoxes&#x60;](https://developer-docs.amazon.com/sp-api/reference/listshipmentboxes) response. If these values do not match as required, the operation returns the &#x60;IncorrectPackageIdentifier&#x60; error code.\n         * @param {number} [numberOfPallets] The number of pallets in the shipment. This returns four identical labels for each pallet.\n         * @param {number} [pageSize] The page size for paginating through the total packages\\&#39; labels. This is a required parameter for Non-Partnered LTL Shipments. Max value:1000.\n         * @param {number} [pageStartIndex] The page start index for paginating through the total packages\\&#39; labels. This is a required parameter for Non-Partnered LTL Shipments.\n         * @param {*} [options] Override http request option.\n         * @throws {RequiredError}\n         */\n        async getLabels(shipmentId: string, pageType: GetLabelsPageTypeEnum, labelType: GetLabelsLabelTypeEnum, numberOfPackages?: number, packageLabelsToPrint?: Array<string>, numberOfPallets?: number, pageSize?: number, pageStartIndex?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetLabelsResponse>> {\n            const localVarAxiosArgs = await localVarAxiosParamCreator.getLabels(shipmentId, pageType, labelType, numberOfPackages, packageLabelsToPrint, numberOfPallets, pageSize, pageStartIndex, options);\n            const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n            const localVarOperationServerBasePath = operationServerMap['FulfillmentInboundApi.getLabels']?.[localVarOperationServerIndex]?.url;\n            return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n        },\n        /**\n         * Returns labeling requirements and item preparation instructions to help prepare items for shipment to Amazon\\'s fulfillment network.  **Usage Plan:**  | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 |  The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).\n         * @param {string} shipToCountryCode The country code of the country to which the items will be shipped. Note that labeling requirements and item preparation instructions can vary by country.\n         * @param {Array<string>} [sellerSKUList] A list of SellerSKU values. Used to identify items for which you want labeling requirements and item preparation instructions for shipment to Amazon\\&#39;s fulfillment network. The SellerSKU is qualified by the Seller ID, which is included with every call to the Seller Partner API.  Note: Include seller SKUs that you have used to list items on Amazon\\&#39;s retail website. If you include a seller SKU that you have never used to list an item on Amazon\\&#39;s retail website, the seller SKU is returned in the InvalidSKUList property in the response.\n         * @param {Array<string>} [aSINList] A list of ASIN values. Used to identify items for which you want item preparation instructions to help with item sourcing decisions.  Note: ASINs must be included in the product catalog for at least one of the marketplaces that the seller  participates in. Any ASIN that is not included in the product catalog for at least one of the marketplaces that the seller participates in is returned in the InvalidASINList property in the response. You can find out which marketplaces a seller participates in by calling the getMarketplaceParticipations operation in the Selling Partner API for Sellers.\n         * @param {*} [options] Override http request option.\n         * @throws {RequiredError}\n         */\n        async getPrepInstructions(shipToCountryCode: string, sellerSKUList?: Array<string>, aSINList?: Array<string>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPrepInstructionsResponse>> {\n            const localVarAxiosArgs = await localVarAxiosParamCreator.getPrepInstructions(shipToCountryCode, sellerSKUList, aSINList, options);\n            const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n            const localVarOperationServerBasePath = operationServerMap['FulfillmentInboundApi.getPrepInstructions']?.[localVarOperationServerIndex]?.url;\n            return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n        },\n        /**\n         * Returns a list of items in a specified inbound shipment, or a list of items that were updated within a specified time frame.  **Usage Plan:**  | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 |  The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).\n         * @param {GetShipmentItemsQueryTypeEnum} queryType Indicates whether items are returned using a date range (by providing the LastUpdatedAfter and LastUpdatedBefore parameters), or using NextToken, which continues returning items specified in a previous request.\n         * @param {string} marketplaceId A marketplace identifier. Specifies the marketplace where the product would be stored.\n         * @param {string} [lastUpdatedAfter] A date used for selecting inbound shipment items that were last updated after (or at) a specified time. The selection includes updates made by Amazon and by the seller.\n         * @param {string} [lastUpdatedBefore] A date used for selecting inbound shipment items that were last updated before (or at) a specified time. The selection includes updates made by Amazon and by the seller.\n         * @param {string} [nextToken] A string token returned in the response to your previous request.\n         * @param {*} [options] Override http request option.\n         * @throws {RequiredError}\n         */\n        async getShipmentItems(queryType: GetShipmentItemsQueryTypeEnum, marketplaceId: string, lastUpdatedAfter?: string, lastUpdatedBefore?: string, nextToken?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetShipmentItemsResponse>> {\n            const localVarAxiosArgs = await localVarAxiosParamCreator.getShipmentItems(queryType, marketplaceId, lastUpdatedAfter, lastUpdatedBefore, nextToken, options);\n            const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n            const localVarOperationServerBasePath = operationServerMap['FulfillmentInboundApi.getShipmentItems']?.[localVarOperationServerIndex]?.url;\n            return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n        },\n        /**\n         * Returns a list of items in a specified inbound shipment.  **Usage Plan:**  | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 |  The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).\n         * @param {string} shipmentId A shipment identifier used for selecting items in a specific inbound shipment.\n         * @param {string} [marketplaceId] Deprecated. Do not use.\n         * @param {*} [options] Override http request option.\n         * @throws {RequiredError}\n         */\n        async getShipmentItemsByShipmentId(shipmentId: string, marketplaceId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetShipmentItemsResponse>> {\n            const localVarAxiosArgs = await localVarAxiosParamCreator.getShipmentItemsByShipmentId(shipmentId, marketplaceId, options);\n            const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n            const localVarOperationServerBasePath = operationServerMap['FulfillmentInboundApi.getShipmentItemsByShipmentId']?.[localVarOperationServerIndex]?.url;\n            return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n        },\n        /**\n         * Returns a list of inbound shipments based on criteria that you specify.  **Usage Plan:**  | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 |  The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).\n         * @param {GetShipmentsQueryTypeEnum} queryType Indicates whether shipments are returned using shipment information (by providing the ShipmentStatusList or ShipmentIdList parameters), using a date range (by providing the LastUpdatedAfter and LastUpdatedBefore parameters), or by using NextToken to continue returning items specified in a previous request.\n         * @param {string} marketplaceId A marketplace identifier. Specifies the marketplace where the product would be stored.\n         * @param {Array<GetShipmentsShipmentStatusListEnum>} [shipmentStatusList] A list of ShipmentStatus values. Used to select shipments with a current status that matches the status values that you specify.\n         * @param {Array<string>} [shipmentIdList] A list of shipment IDs used to select the shipments that you want. If both ShipmentStatusList and ShipmentIdList are specified, only shipments that match both parameters are returned.\n         * @param {string} [lastUpdatedAfter] A date used for selecting inbound shipments that were last updated after (or at) a specified time. The selection includes updates made by Amazon and by the seller.\n         * @param {string} [lastUpdatedBefore] A date used for selecting inbound shipments that were last updated before (or at) a specified time. The selection includes updates made by Amazon and by the seller.\n         * @param {string} [nextToken] A string token returned in the response to your previous request.\n         * @param {*} [options] Override http request option.\n         * @throws {RequiredError}\n         */\n        async getShipments(queryType: GetShipmentsQueryTypeEnum, marketplaceId: string, shipmentStatusList?: Array<GetShipmentsShipmentStatusListEnum>, shipmentIdList?: Array<string>, lastUpdatedAfter?: string, lastUpdatedBefore?: string, nextToken?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetShipmentsResponse>> {\n            const localVarAxiosArgs = await localVarAxiosParamCreator.getShipments(queryType, marketplaceId, shipmentStatusList, shipmentIdList, lastUpdatedAfter, lastUpdatedBefore, nextToken, options);\n            const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n            const localVarOperationServerBasePath = operationServerMap['FulfillmentInboundApi.getShipments']?.[localVarOperationServerIndex]?.url;\n            return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n        },\n    }\n};\n\n/**\n * FulfillmentInboundApi - factory interface\n */\nexport const FulfillmentInboundApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {\n    const localVarFp = FulfillmentInboundApiFp(configuration)\n    return {\n        /**\n         * Returns a bill of lading for a Less Than Truckload/Full Truckload (LTL/FTL) shipment. The getBillOfLading operation returns PDF document data for printing a bill of lading for an Amazon-partnered Less Than Truckload/Full Truckload (LTL/FTL) inbound shipment.  **Usage Plan:**  | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 |  The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).\n         * @param {FulfillmentInboundApiGetBillOfLadingRequest} requestParameters Request parameters.\n         * @param {*} [options] Override http request option.\n         * @throws {RequiredError}\n         */\n        getBillOfLading(requestParameters: FulfillmentInboundApiGetBillOfLadingRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetBillOfLadingResponse> {\n            return localVarFp.getBillOfLading(requestParameters.shipmentId, options).then((request) => request(axios, basePath));\n        },\n        /**\n         * Returns package/pallet labels for faster and more accurate shipment processing at the Amazon fulfillment center.  **Usage Plan:**  | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 |  The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).\n         * @param {FulfillmentInboundApiGetLabelsRequest} requestParameters Request parameters.\n         * @param {*} [options] Override http request option.\n         * @throws {RequiredError}\n         */\n        getLabels(requestParameters: FulfillmentInboundApiGetLabelsRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetLabelsResponse> {\n            return localVarFp.getLabels(requestParameters.shipmentId, requestParameters.pageType, requestParameters.labelType, requestParameters.numberOfPackages, requestParameters.packageLabelsToPrint, requestParameters.numberOfPallets, requestParameters.pageSize, requestParameters.pageStartIndex, options).then((request) => request(axios, basePath));\n        },\n        /**\n         * Returns labeling requirements and item preparation instructions to help prepare items for shipment to Amazon\\'s fulfillment network.  **Usage Plan:**  | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 |  The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).\n         * @param {FulfillmentInboundApiGetPrepInstructionsRequest} requestParameters Request parameters.\n         * @param {*} [options] Override http request option.\n         * @throws {RequiredError}\n         */\n        getPrepInstructions(requestParameters: FulfillmentInboundApiGetPrepInstructionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetPrepInstructionsResponse> {\n            return localVarFp.getPrepInstructions(requestParameters.shipToCountryCode, requestParameters.sellerSKUList, requestParameters.aSINList, options).then((request) => request(axios, basePath));\n        },\n        /**\n         * Returns a list of items in a specified inbound shipment, or a list of items that were updated within a specified time frame.  **Usage Plan:**  | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 |  The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).\n         * @param {FulfillmentInboundApiGetShipmentItemsRequest} requestParameters Request parameters.\n         * @param {*} [options] Override http request option.\n         * @throws {RequiredError}\n         */\n        getShipmentItems(requestParameters: FulfillmentInboundApiGetShipmentItemsRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetShipmentItemsResponse> {\n            return localVarFp.getShipmentItems(requestParameters.queryType, requestParameters.marketplaceId, requestParameters.lastUpdatedAfter, requestParameters.lastUpdatedBefore, requestParameters.nextToken, options).then((request) => request(axios, basePath));\n        },\n        /**\n         * Returns a list of items in a specified inbound shipment.  **Usage Plan:**  | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 |  The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).\n         * @param {FulfillmentInboundApiGetShipmentItemsByShipmentIdRequest} requestParameters Request parameters.\n         * @param {*} [options] Override http request option.\n         * @throws {RequiredError}\n         */\n        getShipmentItemsByShipmentId(requestParameters: FulfillmentInboundApiGetShipmentItemsByShipmentIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetShipmentItemsResponse> {\n            return localVarFp.getShipmentItemsByShipmentId(requestParameters.shipmentId, requestParameters.marketplaceId, options).then((request) => request(axios, basePath));\n        },\n        /**\n         * Returns a list of inbound shipments based on criteria that you specify.  **Usage Plan:**  | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 |  The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).\n         * @param {FulfillmentInboundApiGetShipmentsRequest} requestParameters Request parameters.\n         * @param {*} [options] Override http request option.\n         * @throws {RequiredError}\n         */\n        getShipments(requestParameters: FulfillmentInboundApiGetShipmentsRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetShipmentsResponse> {\n            return localVarFp.getShipments(requestParameters.queryType, requestParameters.marketplaceId, requestParameters.shipmentStatusList, requestParameters.shipmentIdList, requestParameters.lastUpdatedAfter, requestParameters.lastUpdatedBefore, requestParameters.nextToken, options).then((request) => request(axios, basePath));\n        },\n    };\n};\n\n/**\n * Request parameters for getBillOfLading operation in FulfillmentInboundApi.\n */\nexport interface FulfillmentInboundApiGetBillOfLadingRequest {\n    /**\n     * A shipment identifier originally returned by the createInboundShipmentPlan operation.\n     */\n    readonly shipmentId: string\n}\n\n/**\n * Request parameters for getLabels operation in FulfillmentInboundApi.\n */\nexport interface FulfillmentInboundApiGetLabelsRequest {\n    /**\n     * A shipment identifier originally returned by the createInboundShipmentPlan operation.\n     */\n    readonly shipmentId: string\n\n    /**\n     * The page type to use to print the labels. Submitting a PageType value that is not supported in your marketplace returns an error.\n     */\n    readonly pageType: GetLabelsPageTypeEnum\n\n    /**\n     * The type of labels requested. \n     */\n    readonly labelType: GetLabelsLabelTypeEnum\n\n    /**\n     * The number of packages in the shipment.\n     */\n    readonly numberOfPackages?: number\n\n    /**\n     * A list of identifiers that specify packages for which you want package labels printed.  If you provide box content information with the [FBA Inbound Shipment Carton Information Feed](https://developer-docs.amazon.com/sp-api/docs/fulfillment-by-amazon-feed-type-values#fba-inbound-shipment-carton-information-feed), then &#x60;PackageLabelsToPrint&#x60; must match the &#x60;CartonId&#x60; values you provide through that feed. If you provide box content information with the Fulfillment Inbound API v2024-03-20, then &#x60;PackageLabelsToPrint&#x60; must match the &#x60;boxID&#x60; values from the [&#x60;listShipmentBoxes&#x60;](https://developer-docs.amazon.com/sp-api/reference/listshipmentboxes) response. If these values do not match as required, the operation returns the &#x60;IncorrectPackageIdentifier&#x60; error code.\n     */\n    readonly packageLabelsToPrint?: Array<string>\n\n    /**\n     * The number of pallets in the shipment. This returns four identical labels for each pallet.\n     */\n    readonly numberOfPallets?: number\n\n    /**\n     * The page size for paginating through the total packages\\&#39; labels. This is a required parameter for Non-Partnered LTL Shipments. Max value:1000.\n     */\n    readonly pageSize?: number\n\n    /**\n     * The page start index for paginating through the total packages\\&#39; labels. This is a required parameter for Non-Partnered LTL Shipments.\n     */\n    readonly pageStartIndex?: number\n}\n\n/**\n * Request parameters for getPrepInstructions operation in FulfillmentInboundApi.\n */\nexport interface FulfillmentInboundApiGetPrepInstructionsRequest {\n    /**\n     * The country code of the country to which the items will be shipped. Note that labeling requirements and item preparation instructions can vary by country.\n     */\n    readonly shipToCountryCode: string\n\n    /**\n     * A list of SellerSKU values. Used to identify items for which you want labeling requirements and item preparation instructions for shipment to Amazon\\&#39;s fulfillment network. The SellerSKU is qualified by the Seller ID, which is included with every call to the Seller Partner API.  Note: Include seller SKUs that you have used to list items on Amazon\\&#39;s retail website. If you include a seller SKU that you have never used to list an item on Amazon\\&#39;s retail website, the seller SKU is returned in the InvalidSKUList property in the response.\n     */\n    readonly sellerSKUList?: Array<string>\n\n    /**\n     * A list of ASIN values. Used to identify items for which you want item preparation instructions to help with item sourcing decisions.  Note: ASINs must be included in the product catalog for at least one of the marketplaces that the seller  participates in. Any ASIN that is not included in the product catalog for at least one of the marketplaces that the seller participates in is returned in the InvalidASINList property in the response. You can find out which marketplaces a seller participates in by calling the getMarketplaceParticipations operation in the Selling Partner API for Sellers.\n     */\n    readonly aSINList?: Array<string>\n}\n\n/**\n * Request parameters for getShipmentItems operation in FulfillmentInboundApi.\n */\nexport interface FulfillmentInboundApiGetShipmentItemsRequest {\n    /**\n     * Indicates whether items are returned using a date range (by providing the LastUpdatedAfter and LastUpdatedBefore parameters), or using NextToken, which continues returning items specified in a previous request.\n     */\n    readonly queryType: GetShipmentItemsQueryTypeEnum\n\n    /**\n     * A marketplace identifier. Specifies the marketplace where the product would be stored.\n     */\n    readonly marketplaceId: string\n\n    /**\n     * A date used for selecting inbound shipment items that were last updated after (or at) a specified time. The selection includes updates made by Amazon and by the seller.\n     */\n    readonly lastUpdatedAfter?: string\n\n    /**\n     * A date used for selecting inbound shipment items that were last updated before (or at) a specified time. The selection includes updates made by Amazon and by the seller.\n     */\n    readonly lastUpdatedBefore?: string\n\n    /**\n     * A string token returned in the response to your previous request.\n     */\n    readonly nextToken?: string\n}\n\n/**\n * Request parameters for getShipmentItemsByShipmentId operation in FulfillmentInboundApi.\n */\nexport interface FulfillmentInboundApiGetShipmentItemsByShipmentIdRequest {\n    /**\n     * A shipment identifier used for selecting items in a specific inbound shipment.\n     */\n    readonly shipmentId: string\n\n    /**\n     * Deprecated. Do not use.\n     */\n    readonly marketplaceId?: string\n}\n\n/**\n * Request parameters for getShipments operation in FulfillmentInboundApi.\n */\nexport interface FulfillmentInboundApiGetShipmentsRequest {\n    /**\n     * Indicates whether shipments are returned using shipment information (by providing the ShipmentStatusList or ShipmentIdList parameters), using a date range (by providing the LastUpdatedAfter and LastUpdatedBefore parameters), or by using NextToken to continue returning items specified in a previous request.\n     */\n    readonly queryType: GetShipmentsQueryTypeEnum\n\n    /**\n     * A marketplace identifier. Specifies the marketplace where the product would be stored.\n     */\n    readonly marketplaceId: string\n\n    /**\n     * A list of ShipmentStatus values. Used to select shipments with a current status that matches the status values that you specify.\n     */\n    readonly shipmentStatusList?: Array<GetShipmentsShipmentStatusListEnum>\n\n    /**\n     * A list of shipment IDs used to select the shipments that you want. If both ShipmentStatusList and ShipmentIdList are specified, only shipments that match both parameters are returned.\n     */\n    readonly shipmentIdList?: Array<string>\n\n    /**\n     * A date used for selecting inbound shipments that were last updated after (or at) a specified time. The selection includes updates made by Amazon and by the seller.\n     */\n    readonly lastUpdatedAfter?: string\n\n    /**\n     * A date used for selecting inbound shipments that were last updated before (or at) a specified time. The selection includes updates made by Amazon and by the seller.\n     */\n    readonly lastUpdatedBefore?: string\n\n    /**\n     * A string token returned in the response to your previous request.\n     */\n    readonly nextToken?: string\n}\n\n/**\n * FulfillmentInboundApi - object-oriented interface\n */\nexport class FulfillmentInboundApi extends BaseAPI {\n    /**\n     * Returns a bill of lading for a Less Than Truckload/Full Truckload (LTL/FTL) shipment. The getBillOfLading operation returns PDF document data for printing a bill of lading for an Amazon-partnered Less Than Truckload/Full Truckload (LTL/FTL) inbound shipment.  **Usage Plan:**  | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 |  The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).\n     * @param {FulfillmentInboundApiGetBillOfLadingRequest} requestParameters Request parameters.\n     * @param {*} [options] Override http request option.\n     * @throws {RequiredError}\n     */\n    public getBillOfLading(requestParameters: FulfillmentInboundApiGetBillOfLadingRequest, options?: RawAxiosRequestConfig) {\n        return FulfillmentInboundApiFp(this.configuration).getBillOfLading(requestParameters.shipmentId, options).then((request) => request(this.axios, this.basePath));\n    }\n\n    /**\n     * Returns package/pallet labels for faster and more accurate shipment processing at the Amazon fulfillment center.  **Usage Plan:**  | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 |  The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).\n     * @param {FulfillmentInboundApiGetLabelsRequest} requestParameters Request parameters.\n     * @param {*} [options] Override http request option.\n     * @throws {RequiredError}\n     */\n    public getLabels(requestParameters: FulfillmentInboundApiGetLabelsRequest, options?: RawAxiosRequestConfig) {\n        return FulfillmentInboundApiFp(this.configuration).getLabels(requestParameters.shipmentId, requestParameters.pageType, requestParameters.labelType, requestParameters.numberOfPackages, requestParameters.packageLabelsToPrint, requestParameters.numberOfPallets, requestParameters.pageSize, requestParameters.pageStartIndex, options).then((request) => request(this.axios, this.basePath));\n    }\n\n    /**\n     * Returns labeling requirements and item preparation instructions to help prepare items for shipment to Amazon\\'s fulfillment network.  **Usage Plan:**  | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 |  The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).\n     * @param {FulfillmentInboundApiGetPrepInstructionsRequest} requestParameters Request parameters.\n     * @param {*} [options] Override http request option.\n     * @throws {RequiredError}\n     */\n    public getPrepInstructions(requestParameters: FulfillmentInboundApiGetPrepInstructionsRequest, options?: RawAxiosRequestConfig) {\n        return FulfillmentInboundApiFp(this.configuration).getPrepInstructions(requestParameters.shipToCountryCode, requestParameters.sellerSKUList, requestParameters.aSINList, options).then((request) => request(this.axios, this.basePath));\n    }\n\n    /**\n     * Returns a list of items in a specified inbound shipment, or a list of items that were updated within a specified time frame.  **Usage Plan:**  | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 |  The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).\n     * @param {FulfillmentInboundApiGetShipmentItemsRequest} requestParameters Request parameters.\n     * @param {*} [options] Override http request option.\n     * @throws {RequiredError}\n     */\n    public getShipmentItems(requestParameters: FulfillmentInboundApiGetShipmentItemsRequest, options?: RawAxiosRequestConfig) {\n        return FulfillmentInboundApiFp(this.configuration).getShipmentItems(requestParameters.queryType, requestParameters.marketplaceId, requestParameters.lastUpdatedAfter, requestParameters.lastUpdatedBefore, requestParameters.nextToken, options).then((request) => request(this.axios, this.basePath));\n    }\n\n    /**\n     * Returns a list of items in a specified inbound shipment.  **Usage Plan:**  | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 |  The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).\n     * @param {FulfillmentInboundApiGetShipmentItemsByShipmentIdRequest} requestParameters Request parameters.\n     * @param {*} [options] Override http request option.\n     * @throws {RequiredError}\n     */\n    public getShipmentItemsByShipmentId(requestParameters: FulfillmentInboundApiGetShipmentItemsByShipmentIdRequest, options?: RawAxiosRequestConfig) {\n        return FulfillmentInboundApiFp(this.configuration).getShipmentItemsByShipmentId(requestParameters.shipmentId, requestParameters.marketplaceId, options).then((request) => request(this.axios, this.basePath));\n    }\n\n    /**\n     * Returns a list of inbound shipments based on criteria that you specify.  **Usage Plan:**  | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 |  The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).\n     * @param {FulfillmentInboundApiGetShipmentsRequest} requestParameters Request parameters.\n     * @param {*} [options] Override http request option.\n     * @throws {RequiredError}\n     */\n    public getShipments(requestParameters: FulfillmentInboundApiGetShipmentsRequest, options?: RawAxiosRequestConfig) {\n        return FulfillmentInboundApiFp(this.configuration).getShipments(requestParameters.queryType, requestParameters.marketplaceId, requestParameters.shipmentStatusList, requestParameters.shipmentIdList, requestParameters.lastUpdatedAfter, requestParameters.lastUpdatedBefore, requestParameters.nextToken, options).then((request) => request(this.axios, this.basePath));\n    }\n}\n\nexport const GetLabelsPageTypeEnum = {\n    PackageLabelLetter2: 'PackageLabel_Letter_2',\n    PackageLabelLetter4: 'PackageLabel_Letter_4',\n    PackageLabelLetter6: 'PackageLabel_Letter_6',\n    PackageLabelLetter6CarrierLeft: 'PackageLabel_Letter_6_CarrierLeft',\n    PackageLabelA42: 'PackageLabel_A4_2',\n    PackageLabelA44: 'PackageLabel_A4_4',\n    PackageLabelPlainPaper: 'PackageLabel_Plain_Paper',\n    PackageLabelPlainPaperCarrierBottom: 'PackageLabel_Plain_Paper_CarrierBottom',\n    PackageLabelThermal: 'PackageLabel_Thermal',\n    PackageLabelThermalUnified: 'PackageLabel_Thermal_Unified',\n    PackageLabelThermalNonPcp: 'PackageLabel_Thermal_NonPCP',\n    PackageLabelThermalNoCarrierRotation: 'PackageLabel_Thermal_No_Carrier_Rotation',\n} as const;\nexport type GetLabelsPageTypeEnum = typeof GetLabelsPageTypeEnum[keyof typeof GetLabelsPageTypeEnum];\nexport const GetLabelsLabelTypeEnum = {\n    Barcode2D: 'BARCODE_2D',\n    Unique: 'UNIQUE',\n    Pallet: 'PALLET',\n} as const;\nexport type GetLabelsLabelTypeEnum = typeof GetLabelsLabelTypeEnum[keyof typeof GetLabelsLabelTypeEnum];\nexport const GetShipmentItemsQueryTypeEnum = {\n    DateRange: 'DATE_RANGE',\n    NextToken: 'NEXT_TOKEN',\n} as const;\nexport type GetShipmentItemsQueryTypeEnum = typeof GetShipmentItemsQueryTypeEnum[keyof typeof GetShipmentItemsQueryTypeEnum];\nexport const GetShipmentsQueryTypeEnum = {\n    Shipment: 'SHIPMENT',\n    DateRange: 'DATE_RANGE',\n    NextToken: 'NEXT_TOKEN',\n} as const;\nexport type GetShipmentsQueryTypeEnum = typeof GetShipmentsQueryTypeEnum[keyof typeof GetShipmentsQueryTypeEnum];\nexport const GetShipmentsShipmentStatusListEnum = {\n    Working: 'WORKING',\n    ReadyToShip: 'READY_TO_SHIP',\n    Shipped: 'SHIPPED',\n    Receiving: 'RECEIVING',\n    Cancelled: 'CANCELLED',\n    Deleted: 'DELETED',\n    Closed: 'CLOSED',\n    Error: 'ERROR',\n    InTransit: 'IN_TRANSIT',\n    Delivered: 'DELIVERED',\n    CheckedIn: 'CHECKED_IN',\n} as const;\nexport type GetShipmentsShipmentStatusListEnum = typeof GetShipmentsShipmentStatusListEnum[keyof typeof GetShipmentsShipmentStatusListEnum];\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * Selling Partner API for Fulfillment Inbound\n * The Selling Partner API for Fulfillment Inbound lets you create applications that create and update inbound shipments of inventory to Amazon\\'s fulfillment network.\n *\n * The version of the OpenAPI document: v0\n * \n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n\nimport type { Configuration } from './configuration.js';\n// Some imports not used depending on template conditions\n// @ts-ignore\nimport type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';\nimport globalAxios from 'axios';\n\nexport const BASE_PATH = \"https://sellingpartnerapi-na.amazon.com\".replace(/\\/+$/, \"\");\n\nexport const COLLECTION_FORMATS = {\n    csv: \",\",\n    ssv: \" \",\n    tsv: \"\\t\",\n    pipes: \"|\",\n};\n\nexport interface RequestArgs {\n    url: string;\n    options: RawAxiosRequestConfig;\n}\n\nexport class BaseAPI {\n    protected configuration: Configuration | undefined;\n\n    constructor(configuration?: Configuration, protected basePath: string = BASE_PATH, protected axios: AxiosInstance = globalAxios) {\n        if (configuration) {\n            this.configuration = configuration;\n            this.basePath = configuration.basePath ?? basePath;\n        }\n    }\n};\n\nexport class RequiredError extends Error {\n    constructor(public field: string, msg?: string) {\n        super(msg);\n        this.name = \"RequiredError\"\n    }\n}\n\ninterface ServerMap {\n    [key: string]: {\n        url: string,\n        description: string,\n    }[];\n}\n\nexport const operationServerMap: ServerMap = {\n}\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * Selling Partner API for Fulfillment Inbound\n * The Selling Partner API for Fulfillment Inbound lets you create applications that create and update inbound shipments of inventory to Amazon\\'s fulfillment network.\n *\n * The version of the OpenAPI document: v0\n * \n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\nimport type { Configuration } from \"./configuration.js\";\nimport type { RequestArgs } from \"./base.js\";\nimport type { AxiosInstance, AxiosResponse } from 'axios';\nimport { RequiredError } from \"./base.js\";\n\nexport const DUMMY_BASE_URL = 'https://example.com'\n\n/**\n *\n * @throws {RequiredError}\n */\nexport const assertParamExists = function (functionName: string, paramName: string, paramValue: unknown) {\n    if (paramValue === null || paramValue === undefined) {\n        throw new RequiredError(paramName, `Required parameter ${paramName} was null or undefined when calling ${functionName}.`);\n    }\n}\n\nexport const setApiKeyToObject = async function (object: any, keyParamName: string, configuration?: Configuration) {\n    if (configuration && configuration.apiKey) {\n        const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n            ? await configuration.apiKey(keyParamName)\n            : await configuration.apiKey;\n        object[keyParamName] = localVarApiKeyValue;\n    }\n}\n\nexport const setBasicAuthToObject = function (object: any, configuration?: Configuration) {\n    if (configuration && (configuration.username || configuration.password)) {\n        object[\"auth\"] = { username: configuration.username, password: configuration.password };\n    }\n}\n\nexport const setBearerAuthToObject = async function (object: any, configuration?: Configuration) {\n    if (configuration && configuration.accessToken) {\n        const accessToken = typeof configuration.accessToken === 'function'\n            ? await configuration.accessToken()\n            : await configuration.accessToken;\n        object[\"Authorization\"] = \"Bearer \" + accessToken;\n    }\n}\n\nexport const setOAuthToObject = async function (object: any, name: string, scopes: string[], configuration?: Configuration) {\n    if (configuration && configuration.accessToken) {\n        const localVarAccessTokenValue = typeof configuration.accessToken === 'function'\n            ? await configuration.accessToken(name, scopes)\n            : await configuration.accessToken;\n        object[\"Authorization\"] = \"Bearer \" + localVarAccessTokenValue;\n    }\n}\n\n\nfunction setFlattenedQueryParams(urlSearchParams: URLSearchParams, parameter: any, key: string = \"\"): void {\n    if (parameter == null) return;\n    if (typeof parameter === \"object\") {\n        if (Array.isArray(parameter) || parameter instanceof Set) {\n            (parameter as any[]).forEach(item => setFlattenedQueryParams(urlSearchParams, item, key));\n        }\n        else {\n            Object.keys(parameter).forEach(currentKey =>\n                setFlattenedQueryParams(urlSearchParams, parameter[currentKey], `${key}${key !== '' ? '.' : ''}${currentKey}`)\n            );\n        }\n    }\n    else {\n        if (urlSearchParams.has(key)) {\n            urlSearchParams.append(key, parameter);\n        }\n        else {\n            urlSearchParams.set(key, parameter);\n        }\n    }\n}\n\nexport const setSearchParams = function (url: URL, ...objects: any[]) {\n    const searchParams = new URLSearchParams(url.search);\n    setFlattenedQueryParams(searchParams, objects);\n    url.search = searchParams.toString();\n}\n\n/**\n * JSON serialization helper function which replaces instances of unserializable types with serializable ones.\n * This function will run for every key-value pair encountered by JSON.stringify while traversing an object.\n * Converting a set to a string will return an empty object, so an intermediate conversion to an array is required.\n */\n// @ts-ignore\nexport const replaceWithSerializableTypeIfNeeded = function(key: string, value: any) {\n    if (value instanceof Set) {\n        return Array.from(value);\n    } else {\n        return value;\n    }\n}\n\nexport const serializeDataIfNeeded = function (value: any, requestOptions: any, configuration?: Configuration) {\n    const nonString = typeof value !== 'string';\n    const needsSerialization = nonString && configuration && configuration.isJsonMime\n        ? configuration.isJsonMime(requestOptions.headers['Content-Type'])\n        : nonString;\n    return needsSerialization\n        ? JSON.stringify(value !== undefined ? value : {}, replaceWithSerializableTypeIfNeeded)\n        : (value || \"\");\n}\n\nexport const toPathString = function (url: URL) {\n    return url.pathname + url.search + url.hash\n}\n\nexport const createRequestFunction = function (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) {\n    return <T = unknown, R = AxiosResponse<T>>(axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n        const axiosRequestArgs = {...axiosArgs.options, url: (axios.defaults.baseURL ? '' : configuration?.basePath ?? basePath) + axiosArgs.url};\n        return axios.request<T, R>(axiosRequestArgs);\n    };\n}\n","/* tslint:disable */\n/**\n * Selling Partner API for Fulfillment Inbound\n * The Selling Partner API for Fulfillment Inbound lets you create applications that create and update inbound shipments of inventory to Amazon\\'s fulfillment network.\n *\n * The version of the OpenAPI document: v0\n * \n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\ninterface AWSv4Configuration {\n  options?: {\n    region?: string\n    service?: string\n  }\n  credentials?: {\n    accessKeyId?: string\n    secretAccessKey?: string,\n    sessionToken?: string\n  }\n}\n\nexport interface ConfigurationParameters {\n    apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);\n    username?: string;\n    password?: string;\n    accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);\n    awsv4?: AWSv4Configuration;\n    basePath?: string;\n    serverIndex?: number;\n    baseOptions?: any;\n    formDataCtor?: new () => any;\n}\n\nexport class Configuration {\n    /**\n     * parameter for apiKey security\n     * @param name security name\n     */\n    apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);\n    /**\n     * parameter for basic security\n     */\n    username?: string;\n    /**\n     * parameter for basic security\n     */\n    password?: string;\n    /**\n     * parameter for oauth2 security\n     * @param name security name\n     * @param scopes oauth2 scope\n     */\n    accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);\n    /**\n     * parameter for aws4 signature security\n     * @param {Object} AWS4Signature - AWS4 Signature security\n     * @param {string} options.region - aws region\n     * @param {string} options.service - name of the service.\n     * @param {string} credentials.accessKeyId - aws access key id\n     * @param {string} credentials.secretAccessKey - aws access key\n     * @param {string} credentials.sessionToken - aws session token\n     * @memberof Configuration\n     */\n    awsv4?: AWSv4Configuration;\n    /**\n     * override base path\n     */\n    basePath?: string;\n    /**\n     * override server index\n     */\n    serverIndex?: number;\n    /**\n     * base options for axios calls\n     */\n    baseOptions?: any;\n    /**\n     * The FormData constructor that will be used to create multipart form data\n     * requests. You can inject this here so that execution environments that\n     * do not support the FormData class can still run the generated client.\n     *\n     * @type {new () => FormData}\n     */\n    formDataCtor?: new () => any;\n\n    constructor(param: ConfigurationParameters = {}) {\n        this.apiKey = param.apiKey;\n        this.username = param.username;\n        this.password = param.password;\n        this.accessToken = param.accessToken;\n        this.awsv4 = param.awsv4;\n        this.basePath = param.basePath;\n        this.serverIndex = param.serverIndex;\n        this.baseOptions = {\n            ...param.baseOptions,\n            headers: {\n                ...param.baseOptions?.headers,\n            },\n        };\n        this.formDataCtor = param.formDataCtor;\n    }\n\n    /**\n     * Check if the given MIME is a JSON MIME.\n     * JSON MIME examples:\n     *   application/json\n     *   application/json; charset=UTF8\n     *   APPLICATION/JSON\n     *   application/vnd.company+json\n     * @param mime - MIME (Multipurpose Internet Mail Extensions)\n     * @return True if the given MIME is JSON, false otherwise.\n     */\n    public isJsonMime(mime: string): boolean {\n        const jsonMime: RegExp = /^(application\\/json|[^;/ \\t]+\\/[^;/ \\t]+[+]json)[ \\t]*(;.*)?$/i;\n        return mime !== null && jsonMime.test(mime);\n    }\n}\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * Selling Partner API for Fulfillment Inbound\n * The Selling Partner API for Fulfillment Inbound lets you create applications that create and update inbound shipments of inventory to Amazon\\'s fulfillment network.\n *\n * The version of the OpenAPI document: v0\n * \n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n\n\n/**\n * Labeling requirements for the item. For more information about FBA labeling requirements, see the Seller Central Help for your marketplace.\n */\n\nexport const BarcodeInstruction = {\n    RequiresFnskuLabel: 'RequiresFNSKULabel',\n    CanUseOriginalBarcode: 'CanUseOriginalBarcode',\n    MustProvideSellerSku: 'MustProvideSellerSKU',\n} as const;\n\nexport type BarcodeInstruction = typeof BarcodeInstruction[keyof typeof BarcodeInstruction];\n\n\n\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * Selling Partner API for Fulfillment Inbound\n * The Selling Partner API for Fulfillment Inbound lets you create applications that create and update inbound shipments of inventory to Amazon\\'s fulfillment network.\n *\n * The version of the OpenAPI document: v0\n * \n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n\n\n/**\n * Where the seller provided box contents information for a shipment.\n */\n\nexport const BoxContentsSource = {\n    None: 'NONE',\n    Feed: 'FEED',\n    _2DBarcode: '2D_BARCODE',\n    Interactive: 'INTERACTIVE',\n} as const;\n\nexport type BoxContentsSource = typeof BoxContentsSource[keyof typeof BoxContentsSource];\n\n\n\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * Selling Partner API for Fulfillment Inbound\n * The Selling Partner API for Fulfillment Inbound lets you create applications that create and update inbound shipments of inventory to Amazon\\'s fulfillment network.\n *\n * The version of the OpenAPI document: v0\n * \n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n\n\n/**\n * The currency code.\n */\n\nexport const CurrencyCode = {\n    Usd: 'USD',\n    Gbp: 'GBP',\n} as const;\n\nexport type CurrencyCode = typeof CurrencyCode[keyof typeof CurrencyCode];\n\n\n\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * Selling Partner API for Fulfillment Inbound\n * The Selling Partner API for Fulfillment Inbound lets you create applications that create and update inbound shipments of inventory to Amazon\\'s fulfillment network.\n *\n * The version of the OpenAPI document: v0\n * \n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n\n\n/**\n * The reason that the ASIN is invalid.\n */\n\nexport const ErrorReason = {\n    DoesNotExist: 'DoesNotExist',\n    InvalidAsin: 'InvalidASIN',\n} as const;\n\nexport type ErrorReason = typeof ErrorReason[keyof typeof ErrorReason];\n\n\n\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * Selling Partner API for Fulfillment Inbound\n * The Selling Partner API for Fulfillment Inbound lets you create applications that create and update inbound shipments of inventory to Amazon\\'s fulfillment network.\n *\n * The version of the OpenAPI document: v0\n * \n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n\n\n/**\n * The type of label preparation that is required for the inbound shipment.\n */\n\nexport const LabelPrepType = {\n    NoLabel: 'NO_LABEL',\n    SellerLabel: 'SELLER_LABEL',\n    AmazonLabel: 'AMAZON_LABEL',\n} as const;\n\nexport type LabelPrepType = typeof LabelPrepType[keyof typeof LabelPrepType];\n\n\n\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * Selling Partner API for Fulfillment Inbound\n * The Selling Partner API for Fulfillment Inbound lets you create applications that create and update inbound shipments of inventory to Amazon\\'s fulfillment network.\n *\n * The version of the OpenAPI document: v0\n * \n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n\n\n/**\n * Item preparation instructions.\n */\n\nexport const PrepGuidance = {\n    ConsultHelpDocuments: 'ConsultHelpDocuments',\n    NoAdditionalPrepRequired: 'NoAdditionalPrepRequired',\n    SeePrepInstructionsList: 'SeePrepInstructionsList',\n} as const;\n\nexport type PrepGuidance = typeof PrepGuidance[keyof typeof PrepGuidance];\n\n\n\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * Selling Partner API for Fulfillment Inbound\n * The Selling Partner API for Fulfillment Inbound lets you create applications that create and update inbound shipments of inventory to Amazon\\'s fulfillment network.\n *\n * The version of the OpenAPI document: v0\n * \n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n\n\n/**\n * Preparation instructions for shipping an item to Amazon\\'s fulfillment network. For more information about preparing items for shipment to Amazon\\'s fulfillment network, see the Seller Central Help for your marketplace.\n */\n\nexport const PrepInstruction = {\n    Polybagging: 'Polybagging',\n    BubbleWrapping: 'BubbleWrapping',\n    Taping: 'Taping',\n    BlackShrinkWrapping: 'BlackShrinkWrapping',\n    Labeling: 'Labeling',\n    HangGarment: 'HangGarment',\n    SetCreation: 'SetCreation',\n    Boxing: 'Boxing',\n    RemoveFromHanger: 'RemoveFromHanger',\n    Debundle: 'Debundle',\n    SuffocationStickering: 'SuffocationStickering',\n    CapSealing: 'CapSealing',\n    SetStickering: 'SetStickering',\n    BlankStickering: 'BlankStickering',\n    ShipsInProductPackaging: 'ShipsInProductPackaging',\n    NoPrep: 'NoPrep',\n} as const;\n\nexport type PrepInstruction = typeof PrepInstruction[keyof typeof PrepInstruction];\n\n\n\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * Selling Partner API for Fulfillment Inbound\n * The Selling Partner API for Fulfillment Inbound lets you create applications that create and update inbound shipments of inventory to Amazon\\'s fulfillment network.\n *\n * The version of the OpenAPI document: v0\n * \n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n\n\n/**\n * Indicates who will prepare the item.\n */\n\nexport const PrepOwner = {\n    Amazon: 'AMAZON',\n    Seller: 'SELLER',\n} as const;\n\nexport type PrepOwner = typeof PrepOwner[keyof typeof PrepOwner];\n\n\n\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * Selling Partner API for Fulfillment Inbound\n * The Selling Partner API for Fulfillment Inbound lets you create applications that create and update inbound shipments of inventory to Amazon\\'s fulfillment network.\n *\n * The version of the OpenAPI document: v0\n * \n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n\n\n/**\n * Indicates the status of the inbound shipment. When used with the createInboundShipment operation, WORKING is the only valid value. When used with the updateInboundShipment operation, possible values are WORKING, SHIPPED or CANCELLED.\n */\n\nexport const ShipmentStatus = {\n    Working: 'WORKING',\n    Shipped: 'SHIPPED',\n    Receiving: 'RECEIVING',\n    Cancelled: 'CANCELLED',\n    Deleted: 'DELETED',\n    Closed: 'CLOSED',\n    Error: 'ERROR',\n    InTransit: 'IN_TRANSIT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