@sp-api-sdk/external-fulfillment-shipments-api-2024-09-11 2.0.0 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -4
- package/dist/index.cjs +1259 -1172
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1411 -1756
- package/dist/index.d.ts +1411 -1756
- package/dist/index.js +1199 -1099
- package/dist/index.js.map +1 -1
- package/package.json +7 -4
package/dist/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/index.ts","../src/client.ts","../src/api-model/api/external-fulfillment-shipments-api.ts","../src/api-model/base.ts","../src/api-model/common.ts","../src/api-model/configuration.ts","../src/api-model/models/cancellation.ts","../src/api-model/models/charge.ts","../src/api-model/models/custom-attribute-type.ts","../src/api-model/models/dimension.ts","../src/api-model/models/distance.ts","../src/api-model/models/document.ts","../src/api-model/models/invoice-requirement.ts","../src/api-model/models/line-item-with-reason.ts","../src/api-model/models/marketplace-attributes.ts","../src/api-model/models/package.ts","../src/api-model/models/package-status.ts","../src/api-model/models/package-sub-status.ts","../src/api-model/models/packing-slip-requirement.ts","../src/api-model/models/party-identification-info.ts","../src/api-model/models/piece-type.ts","../src/api-model/models/presence-status.ts","../src/api-model/models/priority.ts","../src/api-model/models/requirement-level.ts","../src/api-model/models/shipment.ts","../src/api-model/models/shipment-info.ts","../src/api-model/models/shipping-info.ts","../src/api-model/models/shipping-options.ts","../src/api-model/models/status.ts","../src/api-model/models/tax.ts","../src/api-model/models/tax-registration-info.ts","../src/api-model/models/time-window.ts","../src/api-model/models/weight.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, ExternalFulfillmentShipmentsApi} from './api-model/index.js'\n\nexport const clientRateLimits: RateLimit[] = []\n\nexport class ExternalFulfillmentShipmentsApiClient extends ExternalFulfillmentShipmentsApi {\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 * The Selling Partner API for Amazon External Fulfillment Shipments Processing\n * You can use the External Fulfillment Shipments API to retrieve, manage, and track shipments processed through Amazon\\'s external fulfillment network. Use this API to get shipment details, monitor status changes, and access fulfillment requirements.\n *\n * The version of the OpenAPI document: 2024-09-11\n * Contact: marketplaceapitest@amazon.com\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 { ErrorList } from '../models/index.js';\n// @ts-ignore\nimport type { InvoiceResponse } from '../models/index.js';\n// @ts-ignore\nimport type { Package } from '../models/index.js';\n// @ts-ignore\nimport type { PackageDeliveryStatus } from '../models/index.js';\n// @ts-ignore\nimport type { Packages } from '../models/index.js';\n// @ts-ignore\nimport type { ShipLabelsInput } from '../models/index.js';\n// @ts-ignore\nimport type { ShipLabelsResponse } from '../models/index.js';\n// @ts-ignore\nimport type { Shipment } from '../models/index.js';\n// @ts-ignore\nimport type { ShipmentAcknowledgementRequest } from '../models/index.js';\n// @ts-ignore\nimport type { ShipmentsResponse } from '../models/index.js';\n// @ts-ignore\nimport type { ShippingOptionsResponse } from '../models/index.js';\n/**\n * ExternalFulfillmentShipmentsApi - axios parameter creator\n */\nexport const ExternalFulfillmentShipmentsApiAxiosParamCreator = function (configuration?: Configuration) {\n return {\n /**\n * Provide details about the packages in the specified shipment.\n * @param {string} shipmentId The ID of the shipment.\n * @param {Packages} body A list of packages in the shipment.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n createPackages: async (shipmentId: string, body: Packages, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n // verify required parameter 'shipmentId' is not null or undefined\n assertParamExists('createPackages', 'shipmentId', shipmentId)\n // verify required parameter 'body' is not null or undefined\n assertParamExists('createPackages', 'body', body)\n const localVarPath = `/externalFulfillment/2024-09-11/shipments/{shipmentId}/packages`\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: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n localVarHeaderParameter['Content-Type'] = 'application/json';\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 localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Get invoices for the shipment you specify.\n * @param {string} shipmentId The ID of the shipment whose invoice you want.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n generateInvoice: async (shipmentId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n // verify required parameter 'shipmentId' is not null or undefined\n assertParamExists('generateInvoice', 'shipmentId', shipmentId)\n const localVarPath = `/externalFulfillment/2024-09-11/shipments/{shipmentId}/invoice`\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: 'POST', ...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 * Generate and retrieve all shipping labels for one or more packages in the shipment you specify.\n * @param {string} shipmentId The ID of the shipment whose shipping labels you want to generate and retrieve.\n * @param {GenerateShipLabelsOperationEnum} operation Specify whether you want to generate or regenerate a label.\n * @param {string} [shippingOptionId] The ID of the shipping option whose shipping labels you want.\n * @param {ShipLabelsInput} [body] Shipping details for when shipping is not done by the marketplace channel.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n generateShipLabels: async (shipmentId: string, operation: GenerateShipLabelsOperationEnum, shippingOptionId?: string, body?: ShipLabelsInput, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n // verify required parameter 'shipmentId' is not null or undefined\n assertParamExists('generateShipLabels', 'shipmentId', shipmentId)\n // verify required parameter 'operation' is not null or undefined\n assertParamExists('generateShipLabels', 'operation', operation)\n const localVarPath = `/externalFulfillment/2024-09-11/shipments/{shipmentId}/shipLabels`\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: 'PUT', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n if (shippingOptionId !== undefined) {\n localVarQueryParameter['shippingOptionId'] = shippingOptionId;\n }\n\n if (operation !== undefined) {\n localVarQueryParameter['operation'] = operation;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json';\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 localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Get a single shipment with the ID you specify.\n * @param {string} shipmentId The ID of the shipment you want to retrieve.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n getShipment: async (shipmentId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n // verify required parameter 'shipmentId' is not null or undefined\n assertParamExists('getShipment', 'shipmentId', shipmentId)\n const localVarPath = `/externalFulfillment/2024-09-11/shipments/{shipmentId}`\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 * Get a list of shipments created for the seller in the status you specify. Shipments can be further filtered based on the fulfillment node or the time of the shipments\\' last update.\n * @param {GetShipmentsStatusEnum} status The status of shipment you want to include in the response. To retrieve all new shipments, set this value to `CREATED` or `ACCEPTED`.\n * @param {string} [locationId] The Amazon channel location identifier for the shipments you want to retrieve.\n * @param {string} [marketplaceId] The marketplace ID associated with the location. To find the ID for your marketplace, refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids).\n * @param {string} [channelName] The channel name associated with the location.\n * @param {string} [lastUpdatedAfter] The response includes shipments whose latest update is after the specified time. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format.\n * @param {string} [lastUpdatedBefore] The response includes shipments whose latest update is before the specified time. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format.\n * @param {number} [maxResults] The maximum number of shipments to include in the response.\n * @param {string} [paginationToken] A token that you use to retrieve the next page of results. The response includes `nextToken` when there are multiple pages of results. To get the next page of results, call the operation with this token and include the same arguments as the call that produced the token. To get a complete list, call this operation until `nextToken` is null. Note that this operation can return empty pages.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n getShipments: async (status: GetShipmentsStatusEnum, locationId?: string, marketplaceId?: string, channelName?: string, lastUpdatedAfter?: string, lastUpdatedBefore?: string, maxResults?: number, paginationToken?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n // verify required parameter 'status' is not null or undefined\n assertParamExists('getShipments', 'status', status)\n const localVarPath = `/externalFulfillment/2024-09-11/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 (locationId !== undefined) {\n localVarQueryParameter['locationId'] = locationId;\n }\n\n if (marketplaceId !== undefined) {\n localVarQueryParameter['marketplaceId'] = marketplaceId;\n }\n\n if (channelName !== undefined) {\n localVarQueryParameter['channelName'] = channelName;\n }\n\n if (status !== undefined) {\n localVarQueryParameter['status'] = status;\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 (maxResults !== undefined) {\n localVarQueryParameter['maxResults'] = maxResults;\n }\n\n if (paginationToken !== undefined) {\n localVarQueryParameter['paginationToken'] = paginationToken;\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 * Confirm or reject the specified shipment.\n * @param {string} shipmentId The ID of the shipment you want to confirm or reject.\n * @param {ProcessShipmentOperationEnum} operation The status of the shipment.\n * @param {ShipmentAcknowledgementRequest} [body] Information about the shipment and its line items.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n processShipment: async (shipmentId: string, operation: ProcessShipmentOperationEnum, body?: ShipmentAcknowledgementRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n // verify required parameter 'shipmentId' is not null or undefined\n assertParamExists('processShipment', 'shipmentId', shipmentId)\n // verify required parameter 'operation' is not null or undefined\n assertParamExists('processShipment', 'operation', operation)\n const localVarPath = `/externalFulfillment/2024-09-11/shipments/{shipmentId}`\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: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n if (operation !== undefined) {\n localVarQueryParameter['operation'] = operation;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json';\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 localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Retrieve invoices for the shipment you specify.\n * @param {string} shipmentId The ID of the shipment whose invoice you want to retrieve.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n retrieveInvoice: async (shipmentId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n // verify required parameter 'shipmentId' is not null or undefined\n assertParamExists('retrieveInvoice', 'shipmentId', shipmentId)\n const localVarPath = `/externalFulfillment/2024-09-11/shipments/{shipmentId}/invoice`\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 * Get a list of shipping options for a package in a shipment given the shipment\\'s marketplace and channel. If the marketplace and channel have a pre-determined shipping option, then this operation returns an empty response.\n * @param {string} shipmentId The ID of the shipment to which the package belongs.\n * @param {string} packageId The ID of the package for which you want to retrieve shipping options.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n retrieveShippingOptions: async (shipmentId: string, packageId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n // verify required parameter 'shipmentId' is not null or undefined\n assertParamExists('retrieveShippingOptions', 'shipmentId', shipmentId)\n // verify required parameter 'packageId' is not null or undefined\n assertParamExists('retrieveShippingOptions', 'packageId', packageId)\n const localVarPath = `/externalFulfillment/2024-09-11/shipments/{shipmentId}/shippingOptions`\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 (packageId !== undefined) {\n localVarQueryParameter['packageId'] = packageId;\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 * Updates the details about the packages that will be used to fulfill the specified shipment.\n * @param {string} shipmentId The ID of the shipment to which the package belongs.\n * @param {string} packageId The ID of the package whose information you want to update.\n * @param {Package} body The body of the request.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n updatePackage: async (shipmentId: string, packageId: string, body: Package, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n // verify required parameter 'shipmentId' is not null or undefined\n assertParamExists('updatePackage', 'shipmentId', shipmentId)\n // verify required parameter 'packageId' is not null or undefined\n assertParamExists('updatePackage', 'packageId', packageId)\n // verify required parameter 'body' is not null or undefined\n assertParamExists('updatePackage', 'body', body)\n const localVarPath = `/externalFulfillment/2024-09-11/shipments/{shipmentId}/packages/{packageId}`\n .replace('{shipmentId}', encodeURIComponent(String(shipmentId)))\n .replace('{packageId}', encodeURIComponent(String(packageId)));\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: 'PUT', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n localVarHeaderParameter['Content-Type'] = 'application/json';\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 localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Updates the status of the packages.\n * @param {string} shipmentId The ID of the shipment to which the package belongs.\n * @param {string} packageId The ID of the package whose status you want to update.\n * @param {UpdatePackageStatusStatusEnum} [status] **DEPRECATED**. Do not use. Package status is defined in the body parameter.\n * @param {PackageDeliveryStatus} [body] The body of the request.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n updatePackageStatus: async (shipmentId: string, packageId: string, status?: UpdatePackageStatusStatusEnum, body?: PackageDeliveryStatus, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n // verify required parameter 'shipmentId' is not null or undefined\n assertParamExists('updatePackageStatus', 'shipmentId', shipmentId)\n // verify required parameter 'packageId' is not null or undefined\n assertParamExists('updatePackageStatus', 'packageId', packageId)\n const localVarPath = `/externalFulfillment/2024-09-11/shipments/{shipmentId}/packages/{packageId}`\n .replace('{shipmentId}', encodeURIComponent(String(shipmentId)))\n .replace('{packageId}', encodeURIComponent(String(packageId)));\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: 'PATCH', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n if (status !== undefined) {\n localVarQueryParameter['status'] = status;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json';\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 localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n }\n};\n\n/**\n * ExternalFulfillmentShipmentsApi - functional programming interface\n */\nexport const ExternalFulfillmentShipmentsApiFp = function(configuration?: Configuration) {\n const localVarAxiosParamCreator = ExternalFulfillmentShipmentsApiAxiosParamCreator(configuration)\n return {\n /**\n * Provide details about the packages in the specified shipment.\n * @param {string} shipmentId The ID of the shipment.\n * @param {Packages} body A list of packages in the shipment.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async createPackages(shipmentId: string, body: Packages, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.createPackages(shipmentId, body, options);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['ExternalFulfillmentShipmentsApi.createPackages']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n /**\n * Get invoices for the shipment you specify.\n * @param {string} shipmentId The ID of the shipment whose invoice you want.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async generateInvoice(shipmentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InvoiceResponse>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.generateInvoice(shipmentId, options);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['ExternalFulfillmentShipmentsApi.generateInvoice']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n /**\n * Generate and retrieve all shipping labels for one or more packages in the shipment you specify.\n * @param {string} shipmentId The ID of the shipment whose shipping labels you want to generate and retrieve.\n * @param {GenerateShipLabelsOperationEnum} operation Specify whether you want to generate or regenerate a label.\n * @param {string} [shippingOptionId] The ID of the shipping option whose shipping labels you want.\n * @param {ShipLabelsInput} [body] Shipping details for when shipping is not done by the marketplace channel.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async generateShipLabels(shipmentId: string, operation: GenerateShipLabelsOperationEnum, shippingOptionId?: string, body?: ShipLabelsInput, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShipLabelsResponse>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.generateShipLabels(shipmentId, operation, shippingOptionId, body, options);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['ExternalFulfillmentShipmentsApi.generateShipLabels']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n /**\n * Get a single shipment with the ID you specify.\n * @param {string} shipmentId The ID of the shipment you want to retrieve.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async getShipment(shipmentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Shipment>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.getShipment(shipmentId, options);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['ExternalFulfillmentShipmentsApi.getShipment']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n /**\n * Get a list of shipments created for the seller in the status you specify. Shipments can be further filtered based on the fulfillment node or the time of the shipments\\' last update.\n * @param {GetShipmentsStatusEnum} status The status of shipment you want to include in the response. To retrieve all new shipments, set this value to `CREATED` or `ACCEPTED`.\n * @param {string} [locationId] The Amazon channel location identifier for the shipments you want to retrieve.\n * @param {string} [marketplaceId] The marketplace ID associated with the location. To find the ID for your marketplace, refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids).\n * @param {string} [channelName] The channel name associated with the location.\n * @param {string} [lastUpdatedAfter] The response includes shipments whose latest update is after the specified time. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format.\n * @param {string} [lastUpdatedBefore] The response includes shipments whose latest update is before the specified time. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format.\n * @param {number} [maxResults] The maximum number of shipments to include in the response.\n * @param {string} [paginationToken] A token that you use to retrieve the next page of results. The response includes `nextToken` when there are multiple pages of results. To get the next page of results, call the operation with this token and include the same arguments as the call that produced the token. To get a complete list, call this operation until `nextToken` is null. Note that this operation can return empty pages.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async getShipments(status: GetShipmentsStatusEnum, locationId?: string, marketplaceId?: string, channelName?: string, lastUpdatedAfter?: string, lastUpdatedBefore?: string, maxResults?: number, paginationToken?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShipmentsResponse>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.getShipments(status, locationId, marketplaceId, channelName, lastUpdatedAfter, lastUpdatedBefore, maxResults, paginationToken, options);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['ExternalFulfillmentShipmentsApi.getShipments']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n /**\n * Confirm or reject the specified shipment.\n * @param {string} shipmentId The ID of the shipment you want to confirm or reject.\n * @param {ProcessShipmentOperationEnum} operation The status of the shipment.\n * @param {ShipmentAcknowledgementRequest} [body] Information about the shipment and its line items.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async processShipment(shipmentId: string, operation: ProcessShipmentOperationEnum, body?: ShipmentAcknowledgementRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.processShipment(shipmentId, operation, body, options);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['ExternalFulfillmentShipmentsApi.processShipment']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n /**\n * Retrieve invoices for the shipment you specify.\n * @param {string} shipmentId The ID of the shipment whose invoice you want to retrieve.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async retrieveInvoice(shipmentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InvoiceResponse>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.retrieveInvoice(shipmentId, options);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['ExternalFulfillmentShipmentsApi.retrieveInvoice']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n /**\n * Get a list of shipping options for a package in a shipment given the shipment\\'s marketplace and channel. If the marketplace and channel have a pre-determined shipping option, then this operation returns an empty response.\n * @param {string} shipmentId The ID of the shipment to which the package belongs.\n * @param {string} packageId The ID of the package for which you want to retrieve shipping options.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async retrieveShippingOptions(shipmentId: string, packageId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShippingOptionsResponse>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.retrieveShippingOptions(shipmentId, packageId, options);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['ExternalFulfillmentShipmentsApi.retrieveShippingOptions']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n /**\n * Updates the details about the packages that will be used to fulfill the specified shipment.\n * @param {string} shipmentId The ID of the shipment to which the package belongs.\n * @param {string} packageId The ID of the package whose information you want to update.\n * @param {Package} body The body of the request.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async updatePackage(shipmentId: string, packageId: string, body: Package, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.updatePackage(shipmentId, packageId, body, options);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['ExternalFulfillmentShipmentsApi.updatePackage']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n /**\n * Updates the status of the packages.\n * @param {string} shipmentId The ID of the shipment to which the package belongs.\n * @param {string} packageId The ID of the package whose status you want to update.\n * @param {UpdatePackageStatusStatusEnum} [status] **DEPRECATED**. Do not use. Package status is defined in the body parameter.\n * @param {PackageDeliveryStatus} [body] The body of the request.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async updatePackageStatus(shipmentId: string, packageId: string, status?: UpdatePackageStatusStatusEnum, body?: PackageDeliveryStatus, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.updatePackageStatus(shipmentId, packageId, status, body, options);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['ExternalFulfillmentShipmentsApi.updatePackageStatus']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n }\n};\n\n/**\n * ExternalFulfillmentShipmentsApi - factory interface\n */\nexport const ExternalFulfillmentShipmentsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {\n const localVarFp = ExternalFulfillmentShipmentsApiFp(configuration)\n return {\n /**\n * Provide details about the packages in the specified shipment.\n * @param {ExternalFulfillmentShipmentsApiCreatePackagesRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n createPackages(requestParameters: ExternalFulfillmentShipmentsApiCreatePackagesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {\n return localVarFp.createPackages(requestParameters.shipmentId, requestParameters.body, options).then((request) => request(axios, basePath));\n },\n /**\n * Get invoices for the shipment you specify.\n * @param {ExternalFulfillmentShipmentsApiGenerateInvoiceRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n generateInvoice(requestParameters: ExternalFulfillmentShipmentsApiGenerateInvoiceRequest, options?: RawAxiosRequestConfig): AxiosPromise<InvoiceResponse> {\n return localVarFp.generateInvoice(requestParameters.shipmentId, options).then((request) => request(axios, basePath));\n },\n /**\n * Generate and retrieve all shipping labels for one or more packages in the shipment you specify.\n * @param {ExternalFulfillmentShipmentsApiGenerateShipLabelsRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n generateShipLabels(requestParameters: ExternalFulfillmentShipmentsApiGenerateShipLabelsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ShipLabelsResponse> {\n return localVarFp.generateShipLabels(requestParameters.shipmentId, requestParameters.operation, requestParameters.shippingOptionId, requestParameters.body, options).then((request) => request(axios, basePath));\n },\n /**\n * Get a single shipment with the ID you specify.\n * @param {ExternalFulfillmentShipmentsApiGetShipmentRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n getShipment(requestParameters: ExternalFulfillmentShipmentsApiGetShipmentRequest, options?: RawAxiosRequestConfig): AxiosPromise<Shipment> {\n return localVarFp.getShipment(requestParameters.shipmentId, options).then((request) => request(axios, basePath));\n },\n /**\n * Get a list of shipments created for the seller in the status you specify. Shipments can be further filtered based on the fulfillment node or the time of the shipments\\' last update.\n * @param {ExternalFulfillmentShipmentsApiGetShipmentsRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n getShipments(requestParameters: ExternalFulfillmentShipmentsApiGetShipmentsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ShipmentsResponse> {\n return localVarFp.getShipments(requestParameters.status, requestParameters.locationId, requestParameters.marketplaceId, requestParameters.channelName, requestParameters.lastUpdatedAfter, requestParameters.lastUpdatedBefore, requestParameters.maxResults, requestParameters.paginationToken, options).then((request) => request(axios, basePath));\n },\n /**\n * Confirm or reject the specified shipment.\n * @param {ExternalFulfillmentShipmentsApiProcessShipmentRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n processShipment(requestParameters: ExternalFulfillmentShipmentsApiProcessShipmentRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {\n return localVarFp.processShipment(requestParameters.shipmentId, requestParameters.operation, requestParameters.body, options).then((request) => request(axios, basePath));\n },\n /**\n * Retrieve invoices for the shipment you specify.\n * @param {ExternalFulfillmentShipmentsApiRetrieveInvoiceRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n retrieveInvoice(requestParameters: ExternalFulfillmentShipmentsApiRetrieveInvoiceRequest, options?: RawAxiosRequestConfig): AxiosPromise<InvoiceResponse> {\n return localVarFp.retrieveInvoice(requestParameters.shipmentId, options).then((request) => request(axios, basePath));\n },\n /**\n * Get a list of shipping options for a package in a shipment given the shipment\\'s marketplace and channel. If the marketplace and channel have a pre-determined shipping option, then this operation returns an empty response.\n * @param {ExternalFulfillmentShipmentsApiRetrieveShippingOptionsRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n retrieveShippingOptions(requestParameters: ExternalFulfillmentShipmentsApiRetrieveShippingOptionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ShippingOptionsResponse> {\n return localVarFp.retrieveShippingOptions(requestParameters.shipmentId, requestParameters.packageId, options).then((request) => request(axios, basePath));\n },\n /**\n * Updates the details about the packages that will be used to fulfill the specified shipment.\n * @param {ExternalFulfillmentShipmentsApiUpdatePackageRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n updatePackage(requestParameters: ExternalFulfillmentShipmentsApiUpdatePackageRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {\n return localVarFp.updatePackage(requestParameters.shipmentId, requestParameters.packageId, requestParameters.body, options).then((request) => request(axios, basePath));\n },\n /**\n * Updates the status of the packages.\n * @param {ExternalFulfillmentShipmentsApiUpdatePackageStatusRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n updatePackageStatus(requestParameters: ExternalFulfillmentShipmentsApiUpdatePackageStatusRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {\n return localVarFp.updatePackageStatus(requestParameters.shipmentId, requestParameters.packageId, requestParameters.status, requestParameters.body, options).then((request) => request(axios, basePath));\n },\n };\n};\n\n/**\n * Request parameters for createPackages operation in ExternalFulfillmentShipmentsApi.\n */\nexport interface ExternalFulfillmentShipmentsApiCreatePackagesRequest {\n /**\n * The ID of the shipment.\n */\n readonly shipmentId: string\n\n /**\n * A list of packages in the shipment.\n */\n readonly body: Packages\n}\n\n/**\n * Request parameters for generateInvoice operation in ExternalFulfillmentShipmentsApi.\n */\nexport interface ExternalFulfillmentShipmentsApiGenerateInvoiceRequest {\n /**\n * The ID of the shipment whose invoice you want.\n */\n readonly shipmentId: string\n}\n\n/**\n * Request parameters for generateShipLabels operation in ExternalFulfillmentShipmentsApi.\n */\nexport interface ExternalFulfillmentShipmentsApiGenerateShipLabelsRequest {\n /**\n * The ID of the shipment whose shipping labels you want to generate and retrieve.\n */\n readonly shipmentId: string\n\n /**\n * Specify whether you want to generate or regenerate a label.\n */\n readonly operation: GenerateShipLabelsOperationEnum\n\n /**\n * The ID of the shipping option whose shipping labels you want.\n */\n readonly shippingOptionId?: string\n\n /**\n * Shipping details for when shipping is not done by the marketplace channel.\n */\n readonly body?: ShipLabelsInput\n}\n\n/**\n * Request parameters for getShipment operation in ExternalFulfillmentShipmentsApi.\n */\nexport interface ExternalFulfillmentShipmentsApiGetShipmentRequest {\n /**\n * The ID of the shipment you want to retrieve.\n */\n readonly shipmentId: string\n}\n\n/**\n * Request parameters for getShipments operation in ExternalFulfillmentShipmentsApi.\n */\nexport interface ExternalFulfillmentShipmentsApiGetShipmentsRequest {\n /**\n * The status of shipment you want to include in the response. To retrieve all new shipments, set this value to `CREATED` or `ACCEPTED`.\n */\n readonly status: GetShipmentsStatusEnum\n\n /**\n * The Amazon channel location identifier for the shipments you want to retrieve.\n */\n readonly locationId?: string\n\n /**\n * The marketplace ID associated with the location. To find the ID for your marketplace, refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids).\n */\n readonly marketplaceId?: string\n\n /**\n * The channel name associated with the location.\n */\n readonly channelName?: string\n\n /**\n * The response includes shipments whose latest update is after the specified time. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format.\n */\n readonly lastUpdatedAfter?: string\n\n /**\n * The response includes shipments whose latest update is before the specified time. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format.\n */\n readonly lastUpdatedBefore?: string\n\n /**\n * The maximum number of shipments to include in the response.\n */\n readonly maxResults?: number\n\n /**\n * A token that you use to retrieve the next page of results. The response includes `nextToken` when there are multiple pages of results. To get the next page of results, call the operation with this token and include the same arguments as the call that produced the token. To get a complete list, call this operation until `nextToken` is null. Note that this operation can return empty pages.\n */\n readonly paginationToken?: string\n}\n\n/**\n * Request parameters for processShipment operation in ExternalFulfillmentShipmentsApi.\n */\nexport interface ExternalFulfillmentShipmentsApiProcessShipmentRequest {\n /**\n * The ID of the shipment you want to confirm or reject.\n */\n readonly shipmentId: string\n\n /**\n * The status of the shipment.\n */\n readonly operation: ProcessShipmentOperationEnum\n\n /**\n * Information about the shipment and its line items.\n */\n readonly body?: ShipmentAcknowledgementRequest\n}\n\n/**\n * Request parameters for retrieveInvoice operation in ExternalFulfillmentShipmentsApi.\n */\nexport interface ExternalFulfillmentShipmentsApiRetrieveInvoiceRequest {\n /**\n * The ID of the shipment whose invoice you want to retrieve.\n */\n readonly shipmentId: string\n}\n\n/**\n * Request parameters for retrieveShippingOptions operation in ExternalFulfillmentShipmentsApi.\n */\nexport interface ExternalFulfillmentShipmentsApiRetrieveShippingOptionsRequest {\n /**\n * The ID of the shipment to which the package belongs.\n */\n readonly shipmentId: string\n\n /**\n * The ID of the package for which you want to retrieve shipping options.\n */\n readonly packageId: string\n}\n\n/**\n * Request parameters for updatePackage operation in ExternalFulfillmentShipmentsApi.\n */\nexport interface ExternalFulfillmentShipmentsApiUpdatePackageRequest {\n /**\n * The ID of the shipment to which the package belongs.\n */\n readonly shipmentId: string\n\n /**\n * The ID of the package whose information you want to update.\n */\n readonly packageId: string\n\n /**\n * The body of the request.\n */\n readonly body: Package\n}\n\n/**\n * Request parameters for updatePackageStatus operation in ExternalFulfillmentShipmentsApi.\n */\nexport interface ExternalFulfillmentShipmentsApiUpdatePackageStatusRequest {\n /**\n * The ID of the shipment to which the package belongs.\n */\n readonly shipmentId: string\n\n /**\n * The ID of the package whose status you want to update.\n */\n readonly packageId: string\n\n /**\n * **DEPRECATED**. Do not use. Package status is defined in the body parameter.\n */\n readonly status?: UpdatePackageStatusStatusEnum\n\n /**\n * The body of the request.\n */\n readonly body?: PackageDeliveryStatus\n}\n\n/**\n * ExternalFulfillmentShipmentsApi - object-oriented interface\n */\nexport class ExternalFulfillmentShipmentsApi extends BaseAPI {\n /**\n * Provide details about the packages in the specified shipment.\n * @param {ExternalFulfillmentShipmentsApiCreatePackagesRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n public createPackages(requestParameters: ExternalFulfillmentShipmentsApiCreatePackagesRequest, options?: RawAxiosRequestConfig) {\n return ExternalFulfillmentShipmentsApiFp(this.configuration).createPackages(requestParameters.shipmentId, requestParameters.body, options).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Get invoices for the shipment you specify.\n * @param {ExternalFulfillmentShipmentsApiGenerateInvoiceRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n public generateInvoice(requestParameters: ExternalFulfillmentShipmentsApiGenerateInvoiceRequest, options?: RawAxiosRequestConfig) {\n return ExternalFulfillmentShipmentsApiFp(this.configuration).generateInvoice(requestParameters.shipmentId, options).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Generate and retrieve all shipping labels for one or more packages in the shipment you specify.\n * @param {ExternalFulfillmentShipmentsApiGenerateShipLabelsRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n public generateShipLabels(requestParameters: ExternalFulfillmentShipmentsApiGenerateShipLabelsRequest, options?: RawAxiosRequestConfig) {\n return ExternalFulfillmentShipmentsApiFp(this.configuration).generateShipLabels(requestParameters.shipmentId, requestParameters.operation, requestParameters.shippingOptionId, requestParameters.body, options).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Get a single shipment with the ID you specify.\n * @param {ExternalFulfillmentShipmentsApiGetShipmentRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n public getShipment(requestParameters: ExternalFulfillmentShipmentsApiGetShipmentRequest, options?: RawAxiosRequestConfig) {\n return ExternalFulfillmentShipmentsApiFp(this.configuration).getShipment(requestParameters.shipmentId, options).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Get a list of shipments created for the seller in the status you specify. Shipments can be further filtered based on the fulfillment node or the time of the shipments\\' last update.\n * @param {ExternalFulfillmentShipmentsApiGetShipmentsRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n public getShipments(requestParameters: ExternalFulfillmentShipmentsApiGetShipmentsRequest, options?: RawAxiosRequestConfig) {\n return ExternalFulfillmentShipmentsApiFp(this.configuration).getShipments(requestParameters.status, requestParameters.locationId, requestParameters.marketplaceId, requestParameters.channelName, requestParameters.lastUpdatedAfter, requestParameters.lastUpdatedBefore, requestParameters.maxResults, requestParameters.paginationToken, options).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Confirm or reject the specified shipment.\n * @param {ExternalFulfillmentShipmentsApiProcessShipmentRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n public processShipment(requestParameters: ExternalFulfillmentShipmentsApiProcessShipmentRequest, options?: RawAxiosRequestConfig) {\n return ExternalFulfillmentShipmentsApiFp(this.configuration).processShipment(requestParameters.shipmentId, requestParameters.operation, requestParameters.body, options).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Retrieve invoices for the shipment you specify.\n * @param {ExternalFulfillmentShipmentsApiRetrieveInvoiceRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n public retrieveInvoice(requestParameters: ExternalFulfillmentShipmentsApiRetrieveInvoiceRequest, options?: RawAxiosRequestConfig) {\n return ExternalFulfillmentShipmentsApiFp(this.configuration).retrieveInvoice(requestParameters.shipmentId, options).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Get a list of shipping options for a package in a shipment given the shipment\\'s marketplace and channel. If the marketplace and channel have a pre-determined shipping option, then this operation returns an empty response.\n * @param {ExternalFulfillmentShipmentsApiRetrieveShippingOptionsRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n public retrieveShippingOptions(requestParameters: ExternalFulfillmentShipmentsApiRetrieveShippingOptionsRequest, options?: RawAxiosRequestConfig) {\n return ExternalFulfillmentShipmentsApiFp(this.configuration).retrieveShippingOptions(requestParameters.shipmentId, requestParameters.packageId, options).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Updates the details about the packages that will be used to fulfill the specified shipment.\n * @param {ExternalFulfillmentShipmentsApiUpdatePackageRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n public updatePackage(requestParameters: ExternalFulfillmentShipmentsApiUpdatePackageRequest, options?: RawAxiosRequestConfig) {\n return ExternalFulfillmentShipmentsApiFp(this.configuration).updatePackage(requestParameters.shipmentId, requestParameters.packageId, requestParameters.body, options).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Updates the status of the packages.\n * @param {ExternalFulfillmentShipmentsApiUpdatePackageStatusRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n public updatePackageStatus(requestParameters: ExternalFulfillmentShipmentsApiUpdatePackageStatusRequest, options?: RawAxiosRequestConfig) {\n return ExternalFulfillmentShipmentsApiFp(this.configuration).updatePackageStatus(requestParameters.shipmentId, requestParameters.packageId, requestParameters.status, requestParameters.body, options).then((request) => request(this.axios, this.basePath));\n }\n}\n\nexport const GenerateShipLabelsOperationEnum = {\n Generate: 'GENERATE',\n Regenerate: 'REGENERATE',\n} as const;\nexport type GenerateShipLabelsOperationEnum = typeof GenerateShipLabelsOperationEnum[keyof typeof GenerateShipLabelsOperationEnum];\nexport const GetShipmentsStatusEnum = {\n Created: 'CREATED',\n Accepted: 'ACCEPTED',\n Confirmed: 'CONFIRMED',\n PackageCreated: 'PACKAGE_CREATED',\n PickupSlotRetrieved: 'PICKUP_SLOT_RETRIEVED',\n InvoiceGenerated: 'INVOICE_GENERATED',\n ShiplabelGenerated: 'SHIPLABEL_GENERATED',\n Cancelled: 'CANCELLED',\n Shipped: 'SHIPPED',\n Delivered: 'DELIVERED',\n} as const;\nexport type GetShipmentsStatusEnum = typeof GetShipmentsStatusEnum[keyof typeof GetShipmentsStatusEnum];\nexport const ProcessShipmentOperationEnum = {\n Confirm: 'CONFIRM',\n Reject: 'REJECT',\n} as const;\nexport type ProcessShipmentOperationEnum = typeof ProcessShipmentOperationEnum[keyof typeof ProcessShipmentOperationEnum];\nexport const UpdatePackageStatusStatusEnum = {\n Shipped: 'SHIPPED',\n} as const;\nexport type UpdatePackageStatusStatusEnum = typeof UpdatePackageStatusStatusEnum[keyof typeof UpdatePackageStatusStatusEnum];\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * The Selling Partner API for Amazon External Fulfillment Shipments Processing\n * You can use the External Fulfillment Shipments API to retrieve, manage, and track shipments processed through Amazon\\'s external fulfillment network. Use this API to get shipment details, monitor status changes, and access fulfillment requirements.\n *\n * The version of the OpenAPI document: 2024-09-11\n * Contact: marketplaceapitest@amazon.com\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 * The Selling Partner API for Amazon External Fulfillment Shipments Processing\n * You can use the External Fulfillment Shipments API to retrieve, manage, and track shipments processed through Amazon\\'s external fulfillment network. Use this API to get shipment details, monitor status changes, and access fulfillment requirements.\n *\n * The version of the OpenAPI document: 2024-09-11\n * Contact: marketplaceapitest@amazon.com\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 * The Selling Partner API for Amazon External Fulfillment Shipments Processing\n * You can use the External Fulfillment Shipments API to retrieve, manage, and track shipments processed through Amazon\\'s external fulfillment network. Use this API to get shipment details, monitor status changes, and access fulfillment requirements.\n *\n * The version of the OpenAPI document: 2024-09-11\n * Contact: marketplaceapitest@amazon.com\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 * The Selling Partner API for Amazon External Fulfillment Shipments Processing\n * You can use the External Fulfillment Shipments API to retrieve, manage, and track shipments processed through Amazon\\'s external fulfillment network. Use this API to get shipment details, monitor status changes, and access fulfillment requirements.\n *\n * The version of the OpenAPI document: 2024-09-11\n * Contact: marketplaceapitest@amazon.com\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 * A shipment item\\'s cancellation details.\n */\nexport interface Cancellation {\n /**\n * The number of items of this particular item which have been cancelled.\n */\n 'cancelledQuantity': number;\n /**\n * A date and time in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format.\n */\n 'cancelledTimestamp': string;\n /**\n * The type of cancellation of the item in the shipment.\n */\n 'cancellationType': CancellationCancellationTypeEnum;\n /**\n * The reason for the cancellation of the shipment.\n */\n 'cancellationReason'?: string;\n}\n\nexport const CancellationCancellationTypeEnum = {\n SellerRejected: 'SELLER_REJECTED',\n MarketplaceCancelled: 'MARKETPLACE_CANCELLED',\n SystemCancelled: 'SYSTEM_CANCELLED',\n} as const;\n\nexport type CancellationCancellationTypeEnum = typeof CancellationCancellationTypeEnum[keyof typeof CancellationCancellationTypeEnum];\n\n\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * The Selling Partner API for Amazon External Fulfillment Shipments Processing\n * You can use the External Fulfillment Shipments API to retrieve, manage, and track shipments processed through Amazon\\'s external fulfillment network. Use this API to get shipment details, monitor status changes, and access fulfillment requirements.\n *\n * The version of the OpenAPI document: 2024-09-11\n * Contact: marketplaceapitest@amazon.com\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// May contain unused imports in some cases\n// @ts-ignore\nimport type { ChargeBreakup } from './charge-breakup.js';\n// May contain unused imports in some cases\n// @ts-ignore\nimport type { Tax } from './tax.js';\n\n/**\n * A shipment\\'s charge with relevant tax information.\n */\nexport interface Charge {\n 'baseCharge': ChargeBreakup;\n /**\n * The tax charge details.\n */\n 'taxBreakup'?: Array<Tax>;\n /**\n * The type of charge.\n */\n 'chargeType': ChargeChargeTypeEnum;\n 'totalCharge': ChargeBreakup;\n 'totalTax': Tax;\n}\n\nexport const ChargeChargeTypeEnum = {\n Product: 'PRODUCT',\n Shipping: 'SHIPPING',\n GiftWrap: 'GIFT_WRAP',\n Total: 'TOTAL',\n Other: 'OTHER',\n} as const;\n\nexport type ChargeChargeTypeEnum = typeof ChargeChargeTypeEnum[keyof typeof ChargeChargeTypeEnum];\n\n\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * The Selling Partner API for Amazon External Fulfillment Shipments Processing\n * You can use the External Fulfillment Shipments API to retrieve, manage, and track shipments processed through Amazon\\'s external fulfillment network. Use this API to get shipment details, monitor status changes, and access fulfillment requirements.\n *\n * The version of the OpenAPI document: 2024-09-11\n * Contact: marketplaceapitest@amazon.com\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 data type of the custom attribute value to aid with parsing during deserialization.\n */\n\nexport const CustomAttributeType = {\n String: 'STRING',\n Boolean: 'BOOLEAN',\n Integer: 'INTEGER',\n Double: 'DOUBLE',\n JsonString: 'JSON_STRING',\n} as const;\n\nexport type CustomAttributeType = typeof CustomAttributeType[keyof typeof CustomAttributeType];\n\n\n\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * The Selling Partner API for Amazon External Fulfillment Shipments Processing\n * You can use the External Fulfillment Shipments API to retrieve, manage, and track shipments processed through Amazon\\'s external fulfillment network. Use this API to get shipment details, monitor status changes, and access fulfillment requirements.\n *\n * The version of the OpenAPI document: 2024-09-11\n * Contact: marketplaceapitest@amazon.com\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 * A dimension of a package.\n */\nexport interface Dimension {\n /**\n * A decimal number with no loss of precision. Useful when precision loss is unacceptable, as with currencies.\n */\n 'value': string;\n /**\n * The unit of measurement of the dimension.\n */\n 'dimensionUnit': DimensionDimensionUnitEnum;\n}\n\nexport const DimensionDimensionUnitEnum = {\n Cm: 'CM',\n M: 'M',\n In: 'IN',\n} as const;\n\nexport type DimensionDimensionUnitEnum = typeof DimensionDimensionUnitEnum[keyof typeof DimensionDimensionUnitEnum];\n\n\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * The Selling Partner API for Amazon External Fulfillment Shipments Processing\n * You can use the External Fulfillment Shipments API to retrieve, manage, and track shipments processed through Amazon\\'s external fulfillment network. Use this API to get shipment details, monitor status changes, and access fulfillment requirements.\n *\n * The version of the OpenAPI document: 2024-09-11\n * Contact: marketplaceapitest@amazon.com\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 * A distance measurement.\n */\nexport interface Distance {\n /**\n * A decimal number with no loss of precision. Useful when precision loss is unacceptable, as with currencies.\n */\n 'value': string;\n /**\n * The unit of measurement of the distance.\n */\n 'distanceUnit': DistanceDistanceUnitEnum;\n}\n\nexport const DistanceDistanceUnitEnum = {\n Mi: 'MI',\n Km: 'KM',\n} as const;\n\nexport type DistanceDistanceUnitEnum = typeof DistanceDistanceUnitEnum[keyof typeof DistanceDistanceUnitEnum];\n\n\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * The Selling Partner API for Amazon External Fulfillment Shipments Processing\n * You can use the External Fulfillment Shipments API to retrieve, manage, and track shipments processed through Amazon\\'s external fulfillment network. Use this API to get shipment details, monitor status changes, and access fulfillment requirements.\n *\n * The version of the OpenAPI document: 2024-09-11\n * Contact: marketplaceapitest@amazon.com\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 * A document, described by its file type and data.\n */\nexport interface Document {\n /**\n * The type of the file.\n */\n 'format'?: DocumentFormatEnum;\n /**\n * Base 64 encoded file contents.\n */\n 'content'?: string;\n}\n\nexport const DocumentFormatEnum = {\n Zpl: 'ZPL',\n Pdf: 'PDF',\n Png: 'PNG',\n PlainText: 'PLAIN_TEXT',\n} as const;\n\nexport type DocumentFormatEnum = typeof DocumentFormatEnum[keyof typeof DocumentFormatEnum];\n\n\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * The Selling Partner API for Amazon External Fulfillment Shipments Processing\n * You can use the External Fulfillment Shipments API to retrieve, manage, and track shipments processed through Amazon\\'s external fulfillment network. Use this API to get shipment details, monitor status changes, and access fulfillment requirements.\n *\n * The version of the OpenAPI document: 2024-09-11\n * Contact: marketplaceapitest@amazon.com\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 * Whether the invoice document is required to be attached to the shipment and its corresponding status.\n */\nexport interface InvoiceRequirement {\n /**\n * Whether the invoice document is required to be attached to the shipment.\n */\n 'requirement'?: InvoiceRequirementRequirementEnum;\n /**\n * The status of the of the invoice document that is attached to the shipment.\n */\n 'status'?: InvoiceRequirementStatusEnum;\n}\n\nexport const InvoiceRequirementRequirementEnum = {\n Required: 'REQUIRED',\n NotRequired: 'NOT_REQUIRED',\n} as const;\n\nexport type InvoiceRequirementRequirementEnum = typeof InvoiceRequirementRequirementEnum[keyof typeof InvoiceRequirementRequirementEnum];\nexport const InvoiceRequirementStatusEnum = {\n Pending: 'PENDING',\n Available: 'AVAILABLE',\n NotAvailable: 'NOT_AVAILABLE',\n} as const;\n\nexport type InvoiceRequirementStatusEnum = typeof InvoiceRequirementStatusEnum[keyof typeof InvoiceRequirementStatusEnum];\n\n\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * The Selling Partner API for Amazon External Fulfillment Shipments Processing\n * You can use the External Fulfillment Shipments API to retrieve, manage, and track shipments processed through Amazon\\'s external fulfillment network. Use this API to get shipment details, monitor status changes, and access fulfillment requirements.\n *\n * The version of the OpenAPI document: 2024-09-11\n * Contact: marketplaceapitest@amazon.com\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// May contain unused imports in some cases\n// @ts-ignore\nimport type { LineItem } from './line-item.js';\n\n/**\n * Information about the line item being confirmed or rejected and the reason for the rejection.\n */\nexport interface LineItemWithReason {\n 'lineItem': LineItem;\n /**\n * The reason for the rejection of the line item.\n */\n 'reason'?: LineItemWithReasonReasonEnum;\n}\n\nexport const LineItemWithReasonReasonEnum = {\n OutOfStock: 'OUT_OF_STOCK',\n CustomerRequested: 'CUSTOMER_REQUESTED',\n} as const;\n\nexport type LineItemWithReasonReasonEnum = typeof LineItemWithReasonReasonEnum[keyof typeof LineItemWithReasonReasonEnum];\n\n\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * The Selling Partner API for Amazon External Fulfillment Shipments Processing\n * You can use the External Fulfillment Shipments API to retrieve, manage, and track shipments processed through Amazon\\'s external fulfillment network. Use this API to get shipment details, monitor status changes, and access fulfillment requirements.\n *\n * The version of the OpenAPI document: 2024-09-11\n * Contact: marketplaceapitest@amazon.com\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 marketplace attributes associated with the location.\n */\nexport interface MarketplaceAttributes {\n /**\n * The marketplace ID associated with the location. To find the ID for your marketplace, refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids).\n */\n 'marketplaceId': string;\n /**\n * The channel name associated with the location.\n */\n 'channelName': string;\n /**\n * The ID of the merchant or seller to whom this order is created.\n */\n 'merchantId'?: string;\n /**\n * Marketplace channel-specific attribute value.\n */\n 'customAttributes'?: Array<MarketplaceAttributesCustomAttributesEnum>;\n}\n\nexport const MarketplaceAttributesCustomAttributesEnum = {\n Prime: 'PRIME',\n Fasttrack: 'FASTTRACK',\n} as const;\n\nexport type MarketplaceAttributesCustomAttributesEnum = typeof MarketplaceAttributesCustomAttributesEnum[keyof typeof MarketplaceAttributesCustomAttributesEnum];\n\n\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * The Selling Partner API for Amazon External Fulfillment Shipments Processing\n * You can use the External Fulfillment Shipments API to retrieve, manage, and track shipments processed through Amazon\\'s external fulfillment network. Use this API to get shipment details, monitor status changes, and access fulfillment requirements.\n *\n * The version of the OpenAPI document: 2024-09-11\n * Contact: marketplaceapitest@amazon.com\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// May contain unused imports in some cases\n// @ts-ignore\nimport type { PackageDimensions } from './package-dimensions.js';\n// May contain unused imports in some cases\n// @ts-ignore\nimport type { PackageLineItem } from './package-line-item.js';\n// May contain unused imports in some cases\n// @ts-ignore\nimport type { Weight } from './weight.js';\n\n/**\n * A package that is created to ship one or more of a shipment\\'s line items.\n */\nexport interface Package {\n /**\n * An ID that uniquely identifies a package within a shipment.\n */\n 'id': string;\n 'dimensions': PackageDimensions;\n 'weight': Weight;\n /**\n * The optional list of HAZMAT labels applied to the package.\n */\n 'hazmatLabels'?: Array<string>;\n /**\n * The list of line items in a package.\n */\n 'packageLineItems': Array<PackageLineItem>;\n /**\n * The current status of the package.\n */\n 'status'?: PackageStatusEnum;\n /**\n * Whether the package requires standard handling or extra care.\n */\n 'packageHandlingRequirements'?: PackagePackageHandlingRequirementsEnum;\n}\n\nexport const PackageStatusEnum = {\n Created: 'CREATED',\n PickupSlotRetrieved: 'PICKUP_SLOT_RETRIEVED',\n InvoiceGenerated: 'INVOICE_GENERATED',\n ShiplabelGenerated: 'SHIPLABEL_GENERATED',\n Shipped: 'SHIPPED',\n Delivered: 'DELIVERED',\n Cancelled: 'CANCELLED',\n} as const;\n\nexport type PackageStatusEnum = typeof PackageStatusEnum[keyof typeof PackageStatusEnum];\nexport const PackagePackageHandlingRequirementsEnum = {\n Normal: 'NORMAL',\n Fragile: 'FRAGILE',\n} as const;\n\nexport type PackagePackageHandlingRequirementsEnum = typeof PackagePackageHandlingRequirementsEnum[keyof typeof PackagePackageHandlingRequirementsEnum];\n\n\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * The Selling Partner API for Amazon External Fulfillment Shipments Processing\n * You can use the External Fulfillment Shipments API to retrieve, manage, and track shipments processed through Amazon\\'s external fulfillment network. Use this API to get shipment details, monitor status changes, and access fulfillment requirements.\n *\n * The version of the OpenAPI document: 2024-09-11\n * Contact: marketplaceapitest@amazon.com\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 status of a package.\n */\n\nexport const PackageStatus = {\n Created: 'CREATED',\n PickupSlotRetrieved: 'PICKUP_SLOT_RETRIEVED',\n InvoiceGenerated: 'INVOICE_GENERATED',\n ShiplabelGenerated: 'SHIPLABEL_GENERATED',\n Shipped: 'SHIPPED',\n Delivered: 'DELIVERED',\n} as const;\n\nexport type PackageStatus = typeof PackageStatus[keyof typeof PackageStatus];\n\n\n\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * The Selling Partner API for Amazon External Fulfillment Shipments Processing\n * You can use the External Fulfillment Shipments API to retrieve, manage, and track shipments processed through Amazon\\'s external fulfillment network. Use this API to get shipment details, monitor status changes, and access fulfillment requirements.\n *\n * The version of the OpenAPI document: 2024-09-11\n * Contact: marketplaceapitest@amazon.com\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 sub-status of a package.\n */\n\nexport const PackageSubStatus = {\n OutForDelivery: 'OUT_FOR_DELIVERY',\n Delivered: 'DELIVERED',\n NotDelivered: 'NOT_DELIVERED',\n Undeliverable: 'UNDELIVERABLE',\n} as const;\n\nexport type PackageSubStatus = typeof PackageSubStatus[keyof typeof PackageSubStatus];\n\n\n\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * The Selling Partner API for Amazon External Fulfillment Shipments Processing\n * You can use the External Fulfillment Shipments API to retrieve, manage, and track shipments processed through Amazon\\'s external fulfillment network. Use this API to get shipment details, monitor status changes, and access fulfillment requirements.\n *\n * The version of the OpenAPI document: 2024-09-11\n * Contact: marketplaceapitest@amazon.com\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 * Whether the packing slip is required to be attached to the shipment, and its corresponding status.\n */\nexport interface PackingSlipRequirement {\n /**\n * Whether the packing slip is required to be attached to the shipment.\n */\n 'requirement'?: PackingSlipRequirementRequirementEnum;\n /**\n * The status of the packing slip that is attached to the shipment.\n */\n 'status'?: PackingSlipRequirementStatusEnum;\n}\n\nexport const PackingSlipRequirementRequirementEnum = {\n Required: 'REQUIRED',\n NotRequired: 'NOT_REQUIRED',\n} as const;\n\nexport type PackingSlipRequirementRequirementEnum = typeof PackingSlipRequirementRequirementEnum[keyof typeof PackingSlipRequirementRequirementEnum];\nexport const PackingSlipRequirementStatusEnum = {\n Generated: 'GENERATED',\n NotGenerated: 'NOT_GENERATED',\n} as const;\n\nexport type PackingSlipRequirementStatusEnum = typeof PackingSlipRequirementStatusEnum[keyof typeof PackingSlipRequirementStatusEnum];\n\n\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * The Selling Partner API for Amazon External Fulfillment Shipments Processing\n * You can use the External Fulfillment Shipments API to retrieve, manage, and track shipments processed through Amazon\\'s external fulfillment network. Use this API to get shipment details, monitor status changes, and access fulfillment requirements.\n *\n * The version of the OpenAPI document: 2024-09-11\n * Contact: marketplaceapitest@amazon.com\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// May contain unused imports in some cases\n// @ts-ignore\nimport type { Address } from './address.js';\n// May contain unused imports in some cases\n// @ts-ignore\nimport type { TaxRegistrationInfo } from './tax-registration-info.js';\n\n/**\n * Party identification details for the shipment, applicable to direct fulfillment shipments.\n */\nexport interface PartyIdentificationInfo {\n /**\n * Assigned identification for the party. For example, a warehouse code or vendor code.\n */\n 'partyId': string;\n /**\n * Assigned identification for the party. For example, a warehouse code or vendor code.\n */\n 'partyType': PartyIdentificationInfoPartyTypeEnum;\n 'address'?: Address;\n 'taxInfo'?: TaxRegistrationInfo;\n}\n\nexport const PartyIdentificationInfoPartyTypeEnum = {\n BillToParty: 'BILL_TO_PARTY',\n ShipToParty: 'SHIP_TO_PARTY',\n ShipFromParty: 'SHIP_FROM_PARTY',\n SellingParty: 'SELLING_PARTY',\n} as const;\n\nexport type PartyIdentificationInfoPartyTypeEnum = typeof PartyIdentificationInfoPartyTypeEnum[keyof typeof PartyIdentificationInfoPartyTypeEnum];\n\n\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * The Selling Partner API for Amazon External Fulfillment Shipments Processing\n * You can use the External Fulfillment Shipments API to retrieve, manage, and track shipments processed through Amazon\\'s external fulfillment network. Use this API to get shipment details, monitor status changes, and access fulfillment requirements.\n *\n * The version of the OpenAPI document: 2024-09-11\n * Contact: marketplaceapitest@amazon.com\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 * Whether the item is a single piece or multiple pieces.\n */\n\nexport const PieceType = {\n Single: 'SINGLE',\n Multiple: 'MULTIPLE',\n} as const;\n\nexport type PieceType = typeof PieceType[keyof typeof PieceType];\n\n\n\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * The Selling Partner API for Amazon External Fulfillment Shipments Processing\n * You can use the External Fulfillment Shipments API to retrieve, manage, and track shipments processed through Amazon\\'s external fulfillment network. Use this API to get shipment details, monitor status changes, and access fulfillment requirements.\n *\n * The version of the OpenAPI document: 2024-09-11\n * Contact: marketplaceapitest@amazon.com\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 * Whether the element is present or absent.\n */\n\nexport const PresenceStatus = {\n Absent: 'ABSENT',\n Present: 'PRESENT',\n} as const;\n\nexport type PresenceStatus = typeof PresenceStatus[keyof typeof PresenceStatus];\n\n\n\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * The Selling Partner API for Amazon External Fulfillment Shipments Processing\n * You can use the External Fulfillment Shipments API to retrieve, manage, and track shipments processed through Amazon\\'s external fulfillment network. Use this API to get shipment details, monitor status changes, and access fulfillment requirements.\n *\n * The version of the OpenAPI document: 2024-09-11\n * Contact: marketplaceapitest@amazon.com\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 priority of the order.\n */\n\nexport const Priority = {\n High: 'HIGH',\n Low: 'LOW',\n} as const;\n\nexport type Priority = typeof Priority[keyof typeof Priority];\n\n\n\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * The Selling Partner API for Amazon External Fulfillment Shipments Processing\n * You can use the External Fulfillment Shipments API to retrieve, manage, and track shipments processed through Amazon\\'s external fulfillment network. Use this API to get shipment details, monitor status changes, and access fulfillment requirements.\n *\n * The version of the OpenAPI document: 2024-09-11\n * Contact: marketplaceapitest@amazon.com\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 requirement level for this field.\n */\n\nexport const RequirementLevel = {\n Required: 'REQUIRED',\n Disallowed: 'DISALLOWED',\n} as const;\n\nexport type RequirementLevel = typeof RequirementLevel[keyof typeof RequirementLevel];\n\n\n\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * The Selling Partner API for Amazon External Fulfillment Shipments Processing\n * You can use the External Fulfillment Shipments API to retrieve, manage, and track shipments processed through Amazon\\'s external fulfillment network. Use this API to get shipment details, monitor status changes, and access fulfillment requirements.\n *\n * The version of the OpenAPI document: 2024-09-11\n * Contact: marketplaceapitest@amazon.com\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// May contain unused imports in some cases\n// @ts-ignore\nimport type { Charge } from './charge.js';\n// May contain unused imports in some cases\n// @ts-ignore\nimport type { InvoiceInfo } from './invoice-info.js';\n// May contain unused imports in some cases\n// @ts-ignore\nimport type { MarketplaceAttributes } from './marketplace-attributes.js';\n// May contain unused imports in some cases\n// @ts-ignore\nimport type { Package } from './package.js';\n// May contain unused imports in some cases\n// @ts-ignore\nimport type { PartyIdentificationInfo } from './party-identification-info.js';\n// May contain unused imports in some cases\n// @ts-ignore\nimport type { ShipmentInfo } from './shipment-info.js';\n// May contain unused imports in some cases\n// @ts-ignore\nimport type { ShipmentLineItem } from './shipment-line-item.js';\n// May contain unused imports in some cases\n// @ts-ignore\nimport type { ShipmentRequirements } from './shipment-requirements.js';\n// May contain unused imports in some cases\n// @ts-ignore\nimport type { ShippingInfo } from './shipping-info.js';\n\n/**\n * Information about a shipment.\n */\nexport interface Shipment {\n /**\n * The shipment\\'s ID.\n */\n 'id': string;\n /**\n * The location identifier of the seller\\'s location in the marketplace channel to which the shipment has been created for fulfillment.\n */\n 'locationId': string;\n 'marketplaceAttributes': MarketplaceAttributes;\n 'shipmentInfo': ShipmentInfo;\n 'invoiceInfo'?: InvoiceInfo;\n /**\n * All involved party identification and metadata for the vendor, buyer, and seller. Applicable for direct-fulfillment sellers.\n */\n 'partyInfoList'?: Array<PartyIdentificationInfo>;\n 'shipmentRequirements': ShipmentRequirements;\n /**\n * The charges associated with the shipment.\n */\n 'charges': Array<Charge>;\n /**\n * The current status of the shipment.\n */\n 'status': ShipmentStatusEnum;\n /**\n * The sub status of the shipment.\n */\n 'subStatus'?: ShipmentSubStatusEnum;\n /**\n * The reason for the sub-status.\n */\n 'reason'?: string;\n /**\n * The line items in the shipment.\n */\n 'lineItems': Array<ShipmentLineItem>;\n 'shippingInfo': ShippingInfo;\n /**\n * The list of packages in the shipment.\n */\n 'packages'?: Array<Package>;\n /**\n * A date and time in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format.\n */\n 'creationDateTime': string;\n /**\n * A date and time in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format.\n */\n 'lastUpdatedDateTime': string;\n /**\n * A date and time in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format.\n */\n 'earliestPackDateTime'?: string;\n}\n\nexport const ShipmentStatusEnum = {\n Created: 'CREATED',\n Accepted: 'ACCEPTED',\n Confirmed: 'CONFIRMED',\n PackageCreated: 'PACKAGE_CREATED',\n PickupSlotRetrieved: 'PICKUP_SLOT_RETRIEVED',\n InvoiceGenerated: 'INVOICE_GENERATED',\n ShiplabelGenerated: 'SHIPLABEL_GENERATED',\n Cancelled: 'CANCELLED',\n Shipped: 'SHIPPED',\n Delivered: 'DELIVERED',\n} as const;\n\nexport type ShipmentStatusEnum = typeof ShipmentStatusEnum[keyof typeof ShipmentStatusEnum];\nexport const ShipmentSubStatusEnum = {\n PendingSchedule: 'PENDING_SCHEDULE',\n PendingPickup: 'PENDING_PICKUP',\n PendingDropOff: 'PENDING_DROP_OFF',\n LabelCanceled: 'LABEL_CANCELED',\n PickedUp: 'PICKED_UP',\n DroppedOff: 'DROPPED_OFF',\n AtOriginFc: 'AT_ORIGIN_FC',\n AtDestinationFc: 'AT_DESTINATION_FC',\n Delivered: 'DELIVERED',\n NotDelivered: 'NOT_DELIVERED',\n Undeliverable: 'UNDELIVERABLE',\n Lost: 'LOST',\n OutForDelivery: 'OUT_FOR_DELIVERY',\n Damaged: 'DAMAGED',\n} as const;\n\nexport type ShipmentSubStatusEnum = typeof ShipmentSubStatusEnum[keyof typeof ShipmentSubStatusEnum];\n\n\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * The Selling Partner API for Amazon External Fulfillment Shipments Processing\n * You can use the External Fulfillment Shipments API to retrieve, manage, and track shipments processed through Amazon\\'s external fulfillment network. Use this API to get shipment details, monitor status changes, and access fulfillment requirements.\n *\n * The version of the OpenAPI document: 2024-09-11\n * Contact: marketplaceapitest@amazon.com\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// May contain unused imports in some cases\n// @ts-ignore\nimport type { Priority } from './priority.js';\n// May contain unused imports in some cases\n// @ts-ignore\nimport type { ReplacedShipmentInfo } from './replaced-shipment-info.js';\n\n/**\n * High-level details of the shipment.\n */\nexport interface ShipmentInfo {\n /**\n * The type of shipment.\n */\n 'shipmentType': ShipmentInfoShipmentTypeEnum;\n 'originalShipmentInfo'?: ReplacedShipmentInfo;\n /**\n * Total number of units in the shipment.\n */\n 'numberOfUnits': number;\n 'priority': Priority;\n /**\n * The buyer\\'s order ID.\n */\n 'buyerOrderId': string;\n /**\n * A list of order statuses for which the marketplace allows order rejection (seller cancellation). If the order has a status that does not belong to this list, then seller cancellation is not possible.\n */\n 'orderStatesEligibleForRejection'?: Array<string>;\n /**\n * The timestamp of when the order was placed, in UTC\n */\n 'orderPlacedTimestamp'?: string;\n /**\n * The source of the order operation.\n */\n 'processingSource'?: ShipmentInfoProcessingSourceEnum;\n /**\n * The payment method for the shipment.\n */\n 'paymentMethod'?: ShipmentInfoPaymentMethodEnum;\n}\n\nexport const ShipmentInfoShipmentTypeEnum = {\n New: 'NEW',\n Exchange: 'EXCHANGE',\n Replacement: 'REPLACEMENT',\n} as const;\n\nexport type ShipmentInfoShipmentTypeEnum = typeof ShipmentInfoShipmentTypeEnum[keyof typeof ShipmentInfoShipmentTypeEnum];\nexport const ShipmentInfoProcessingSourceEnum = {\n ExternalPlatform: 'EXTERNAL_PLATFORM',\n InternalPlatform: 'INTERNAL_PLATFORM',\n} as const;\n\nexport type ShipmentInfoProcessingSourceEnum = typeof ShipmentInfoProcessingSourceEnum[keyof typeof ShipmentInfoProcessingSourceEnum];\nexport const ShipmentInfoPaymentMethodEnum = {\n CashOnDelivery: 'CASH_ON_DELIVERY',\n Prepaid: 'PREPAID',\n} as const;\n\nexport type ShipmentInfoPaymentMethodEnum = typeof ShipmentInfoPaymentMethodEnum[keyof typeof ShipmentInfoPaymentMethodEnum];\n\n\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * The Selling Partner API for Amazon External Fulfillment Shipments Processing\n * You can use the External Fulfillment Shipments API to retrieve, manage, and track shipments processed through Amazon\\'s external fulfillment network. Use this API to get shipment details, monitor status changes, and access fulfillment requirements.\n *\n * The version of the OpenAPI document: 2024-09-11\n * Contact: marketplaceapitest@amazon.com\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// May contain unused imports in some cases\n// @ts-ignore\nimport type { Address } from './address.js';\n// May contain unused imports in some cases\n// @ts-ignore\nimport type { RecommendedPackage } from './recommended-package.js';\n\n/**\n * Shipping information for the packages in a shipment.\n */\nexport interface ShippingInfo {\n /**\n * The ship method recommended by the Amazon Fulfillment Network for the packages in this shipment.\n */\n 'recommendedShipMethod'?: string;\n /**\n * A date and time in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format.\n */\n 'expectedShippingDateTimeInUTC': string;\n 'shipToAddress'?: Address;\n /**\n * The type of shipping that the seller uses to deliver a customer order.\n */\n 'shippingType'?: ShippingInfoShippingTypeEnum;\n /**\n * Recommendations for the packages in an order.\n */\n 'recommendedPackages'?: Array<RecommendedPackage>;\n}\n\nexport const ShippingInfoShippingTypeEnum = {\n Marketplace: 'MARKETPLACE',\n Self: 'SELF',\n} as const;\n\nexport type ShippingInfoShippingTypeEnum = typeof ShippingInfoShippingTypeEnum[keyof typeof ShippingInfoShippingTypeEnum];\n\n\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * The Selling Partner API for Amazon External Fulfillment Shipments Processing\n * You can use the External Fulfillment Shipments API to retrieve, manage, and track shipments processed through Amazon\\'s external fulfillment network. Use this API to get shipment details, monitor status changes, and access fulfillment requirements.\n *\n * The version of the OpenAPI document: 2024-09-11\n * Contact: marketplaceapitest@amazon.com\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// May contain unused imports in some cases\n// @ts-ignore\nimport type { HandoverLocation } from './handover-location.js';\n// May contain unused imports in some cases\n// @ts-ignore\nimport type { TimeWindow } from './time-window.js';\n\n/**\n * Shipping options for a single package.\n */\nexport interface ShippingOptions {\n /**\n * An identifier for the shipping option.\n */\n 'shippingOptionId': string;\n /**\n * The shipper type.\n */\n 'shipBy': ShippingOptionsShipByEnum;\n /**\n * The carrier name for the offering.\n */\n 'carrierName'?: string;\n 'pickupWindow'?: TimeWindow;\n 'timeSlot'?: TimeWindow;\n 'handoverLocation'?: HandoverLocation;\n}\n\nexport const ShippingOptionsShipByEnum = {\n Marketplace: 'MARKETPLACE',\n Seller: 'SELLER',\n ThirdPartyCarrier: 'THIRD_PARTY_CARRIER',\n Other: 'OTHER',\n} as const;\n\nexport type ShippingOptionsShipByEnum = typeof ShippingOptionsShipByEnum[keyof typeof ShippingOptionsShipByEnum];\n\n\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * The Selling Partner API for Amazon External Fulfillment Shipments Processing\n * You can use the External Fulfillment Shipments API to retrieve, manage, and track shipments processed through Amazon\\'s external fulfillment network. Use this API to get shipment details, monitor status changes, and access fulfillment requirements.\n *\n * The version of the OpenAPI document: 2024-09-11\n * Contact: marketplaceapitest@amazon.com\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 outcome of the operation.\n */\n\nexport const Status = {\n Success: 'SUCCESS',\n Failure: 'FAILURE',\n} as const;\n\nexport type Status = typeof Status[keyof typeof Status];\n\n\n\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * The Selling Partner API for Amazon External Fulfillment Shipments Processing\n * You can use the External Fulfillment Shipments API to retrieve, manage, and track shipments processed through Amazon\\'s external fulfillment network. Use this API to get shipment details, monitor status changes, and access fulfillment requirements.\n *\n * The version of the OpenAPI document: 2024-09-11\n * Contact: marketplaceapitest@amazon.com\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// May contain unused imports in some cases\n// @ts-ignore\nimport type { ChargeBreakup } from './charge-breakup.js';\n\n/**\n * Information about taxes.\n */\nexport interface Tax {\n /**\n * The type of tax.\n */\n 'type'?: TaxTypeEnum;\n /**\n * A decimal number with no loss of precision. Useful when precision loss is unacceptable, as with currencies.\n */\n 'rate'?: string;\n 'charge': ChargeBreakup;\n}\n\nexport const TaxTypeEnum = {\n Vat: 'VAT',\n Cst: 'CST',\n Igst: 'IGST',\n Sgst: 'SGST',\n Cgst: 'CGST',\n Utgst: 'UTGST',\n Cess: 'CESS',\n Other: 'OTHER',\n Total: 'TOTAL',\n} as const;\n\nexport type TaxTypeEnum = typeof TaxTypeEnum[keyof typeof TaxTypeEnum];\n\n\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * The Selling Partner API for Amazon External Fulfillment Shipments Processing\n * You can use the External Fulfillment Shipments API to retrieve, manage, and track shipments processed through Amazon\\'s external fulfillment network. Use this API to get shipment details, monitor status changes, and access fulfillment requirements.\n *\n * The version of the OpenAPI document: 2024-09-11\n * Contact: marketplaceapitest@amazon.com\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// May contain unused imports in some cases\n// @ts-ignore\nimport type { Address } from './address.js';\n\n/**\n * Tax registration details of the entity. Applicable to direct fulfillment shipments.\n */\nexport interface TaxRegistrationInfo {\n /**\n * Tax registration type for the entity\n */\n 'type'?: TaxRegistrationInfoTypeEnum;\n /**\n * The tax registration number for the party. For example, their VAT ID.\n */\n 'number'?: string;\n 'address'?: Address;\n /**\n * Tax registration message that can be used for additional tax related details.\n */\n 'messages'?: string;\n}\n\nexport const TaxRegistrationInfoTypeEnum = {\n Vat: 'VAT',\n Gst: 'GST',\n} as const;\n\nexport type TaxRegistrationInfoTypeEnum = typeof TaxRegistrationInfoTypeEnum[keyof typeof TaxRegistrationInfoTypeEnum];\n\n\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * The Selling Partner API for Amazon External Fulfillment Shipments Processing\n * You can use the External Fulfillment Shipments API to retrieve, manage, and track shipments processed through Amazon\\'s external fulfillment network. Use this API to get shipment details, monitor status changes, and access fulfillment requirements.\n *\n * The version of the OpenAPI document: 2024-09-11\n * Contact: marketplaceapitest@amazon.com\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 * Time duration used to specify the interval of an event, such as pick up and delivery.\n */\nexport interface TimeWindow {\n /**\n * The start time of the window.\n */\n 'startTime': number;\n /**\n * The end time of the window.\n */\n 'endTime': number;\n /**\n * Whether the seller picks up from Amazon Logistics or drops off to Amazon Logistics.\n */\n 'handoverMethod'?: TimeWindowHandoverMethodEnum;\n}\n\nexport const TimeWindowHandoverMethodEnum = {\n Pickup: 'PICKUP',\n Dropoff: 'DROPOFF',\n} as const;\n\nexport type TimeWindowHandoverMethodEnum = typeof TimeWindowHandoverMethodEnum[keyof typeof TimeWindowHandoverMethodEnum];\n\n\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * The Selling Partner API for Amazon External Fulfillment Shipments Processing\n * You can use the External Fulfillment Shipments API to retrieve, manage, and track shipments processed through Amazon\\'s external fulfillment network. Use this API to get shipment details, monitor status changes, and access fulfillment requirements.\n *\n * The version of the OpenAPI document: 2024-09-11\n * Contact: marketplaceapitest@amazon.com\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 weight of a package.\n */\nexport interface Weight {\n /**\n * A decimal number with no loss of precision. Useful when precision loss is unacceptable, as with currencies.\n */\n 'value': string;\n /**\n * The unit of measurement of the weight.\n */\n 'weightUnit': WeightWeightUnitEnum;\n}\n\nexport const WeightWeightUnitEnum = {\n G: 'G',\n Kg: 'KG',\n Lb: 'LB',\n Oz: 'OZ',\n} as const;\n\nexport type WeightWeightUnitEnum = typeof WeightWeightUnitEnum[keyof typeof WeightWeightUnitEnum];\n\n\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA,IAAAA,iBAA4E;;;ACiB5E,IAAAC,gBAAwB;;;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V;;;ACLO,IAAM,4BAA4B;AAAA,EACrC,aAAa;AAAA,EACb,QAAQ;AAAA,EACR,mBAAmB;AAAA,EACnB,OAAO;AACX;;;AC5BO,IAAM,SAAS;AAAA,EAClB,SAAS;AAAA,EACT,SAAS;AACb;;;ACWO,IAAM,cAAc;AAAA,EACvB,KAAK;AAAA,EACL,KAAK;AAAA,EACL,MAAM;AAAA,EACN,MAAM;AAAA,EACN,MAAM;AAAA,EACN,OAAO;AAAA,EACP,MAAM;AAAA,EACN,OAAO;AAAA,EACP,OAAO;AACX;;;ACNO,IAAM,8BAA8B;AAAA,EACvC,KAAK;AAAA,EACL,KAAK;AACT;;;ACPO,IAAM,+BAA+B;AAAA,EACxC,QAAQ;AAAA,EACR,SAAS;AACb;;;ACPO,IAAM,uBAAuB;AAAA,EAChC,GAAG;AAAA,EACH,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AACR;;;A/B/BO,IAAM,mBAAgC,CAAC;AAEvC,IAAM,wCAAN,cAAoD,gCAAgC;AAAA,EACzF,YAAY,eAAoC;AAC9C,UAAM,EAAC,OAAO,SAAQ,QAAI,oCAAoB,eAAe,gBAAgB;AAE7E,UAAM,IAAI,cAAc,GAAG,UAAU,KAAK;AAAA,EAC5C;AACF;","names":["import_common","import_axios","globalAxios","globalAxios","BASE_PATH","globalAxios"]}
|
|
1
|
+
{"version":3,"file":"index.cjs","names":["axios","globalAxios","globalAxios","axios"],"sources":["../src/api-model/base.ts","../src/api-model/common.ts","../src/api-model/api/external-fulfillment-shipments-api.ts","../src/api-model/configuration.ts","../src/api-model/models/cancellation.ts","../src/api-model/models/charge.ts","../src/api-model/models/custom-attribute-type.ts","../src/api-model/models/dimension.ts","../src/api-model/models/distance.ts","../src/api-model/models/document.ts","../src/api-model/models/invoice-requirement.ts","../src/api-model/models/line-item-with-reason.ts","../src/api-model/models/marketplace-attributes.ts","../src/api-model/models/package.ts","../src/api-model/models/package-status.ts","../src/api-model/models/package-sub-status.ts","../src/api-model/models/packing-slip-requirement.ts","../src/api-model/models/party-identification-info.ts","../src/api-model/models/piece-type.ts","../src/api-model/models/presence-status.ts","../src/api-model/models/priority.ts","../src/api-model/models/requirement-level.ts","../src/api-model/models/shipment.ts","../src/api-model/models/shipment-info.ts","../src/api-model/models/shipping-info.ts","../src/api-model/models/shipping-options.ts","../src/api-model/models/status.ts","../src/api-model/models/tax.ts","../src/api-model/models/tax-registration-info.ts","../src/api-model/models/time-window.ts","../src/api-model/models/weight.ts","../src/client.ts"],"sourcesContent":["/* tslint:disable */\n/* eslint-disable */\n/**\n * The Selling Partner API for Amazon External Fulfillment Shipments Processing\n * You can use the External Fulfillment Shipments API to retrieve, manage, and track shipments processed through Amazon\\'s external fulfillment network. Use this API to get shipment details, monitor status changes, and access fulfillment requirements.\n *\n * The version of the OpenAPI document: 2024-09-11\n * Contact: marketplaceapitest@amazon.com\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 * The Selling Partner API for Amazon External Fulfillment Shipments Processing\n * You can use the External Fulfillment Shipments API to retrieve, manage, and track shipments processed through Amazon\\'s external fulfillment network. Use this API to get shipment details, monitor status changes, and access fulfillment requirements.\n *\n * The version of the OpenAPI document: 2024-09-11\n * Contact: marketplaceapitest@amazon.com\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/* eslint-disable */\n/**\n * The Selling Partner API for Amazon External Fulfillment Shipments Processing\n * You can use the External Fulfillment Shipments API to retrieve, manage, and track shipments processed through Amazon\\'s external fulfillment network. Use this API to get shipment details, monitor status changes, and access fulfillment requirements.\n *\n * The version of the OpenAPI document: 2024-09-11\n * Contact: marketplaceapitest@amazon.com\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 { ErrorList } from '../models/index.js';\n// @ts-ignore\nimport type { InvoiceResponse } from '../models/index.js';\n// @ts-ignore\nimport type { Package } from '../models/index.js';\n// @ts-ignore\nimport type { PackageDeliveryStatus } from '../models/index.js';\n// @ts-ignore\nimport type { Packages } from '../models/index.js';\n// @ts-ignore\nimport type { ShipLabelsInput } from '../models/index.js';\n// @ts-ignore\nimport type { ShipLabelsResponse } from '../models/index.js';\n// @ts-ignore\nimport type { Shipment } from '../models/index.js';\n// @ts-ignore\nimport type { ShipmentAcknowledgementRequest } from '../models/index.js';\n// @ts-ignore\nimport type { ShipmentsResponse } from '../models/index.js';\n// @ts-ignore\nimport type { ShippingOptionsResponse } from '../models/index.js';\n/**\n * ExternalFulfillmentShipmentsApi - axios parameter creator\n */\nexport const ExternalFulfillmentShipmentsApiAxiosParamCreator = function (configuration?: Configuration) {\n return {\n /**\n * Provide details about the packages in the specified shipment.\n * @param {string} shipmentId The ID of the shipment.\n * @param {Packages} body A list of packages in the shipment.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n createPackages: async (shipmentId: string, body: Packages, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n // verify required parameter 'shipmentId' is not null or undefined\n assertParamExists('createPackages', 'shipmentId', shipmentId)\n // verify required parameter 'body' is not null or undefined\n assertParamExists('createPackages', 'body', body)\n const localVarPath = `/externalFulfillment/2024-09-11/shipments/{shipmentId}/packages`\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: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n localVarHeaderParameter['Content-Type'] = 'application/json';\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 localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Get invoices for the shipment you specify.\n * @param {string} shipmentId The ID of the shipment whose invoice you want.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n generateInvoice: async (shipmentId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n // verify required parameter 'shipmentId' is not null or undefined\n assertParamExists('generateInvoice', 'shipmentId', shipmentId)\n const localVarPath = `/externalFulfillment/2024-09-11/shipments/{shipmentId}/invoice`\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: 'POST', ...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 * Generate and retrieve all shipping labels for one or more packages in the shipment you specify.\n * @param {string} shipmentId The ID of the shipment whose shipping labels you want to generate and retrieve.\n * @param {GenerateShipLabelsOperationEnum} operation Specify whether you want to generate or regenerate a label.\n * @param {string} [shippingOptionId] The ID of the shipping option whose shipping labels you want.\n * @param {ShipLabelsInput} [body] Shipping details for when shipping is not done by the marketplace channel.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n generateShipLabels: async (shipmentId: string, operation: GenerateShipLabelsOperationEnum, shippingOptionId?: string, body?: ShipLabelsInput, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n // verify required parameter 'shipmentId' is not null or undefined\n assertParamExists('generateShipLabels', 'shipmentId', shipmentId)\n // verify required parameter 'operation' is not null or undefined\n assertParamExists('generateShipLabels', 'operation', operation)\n const localVarPath = `/externalFulfillment/2024-09-11/shipments/{shipmentId}/shipLabels`\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: 'PUT', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n if (shippingOptionId !== undefined) {\n localVarQueryParameter['shippingOptionId'] = shippingOptionId;\n }\n\n if (operation !== undefined) {\n localVarQueryParameter['operation'] = operation;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json';\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 localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Get a single shipment with the ID you specify.\n * @param {string} shipmentId The ID of the shipment you want to retrieve.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n getShipment: async (shipmentId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n // verify required parameter 'shipmentId' is not null or undefined\n assertParamExists('getShipment', 'shipmentId', shipmentId)\n const localVarPath = `/externalFulfillment/2024-09-11/shipments/{shipmentId}`\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 * Get a list of shipments created for the seller in the status you specify. Shipments can be further filtered based on the fulfillment node or the time of the shipments\\' last update.\n * @param {GetShipmentsStatusEnum} status The status of shipment you want to include in the response. To retrieve all new shipments, set this value to `CREATED` or `ACCEPTED`.\n * @param {string} [locationId] The Amazon channel location identifier for the shipments you want to retrieve.\n * @param {string} [marketplaceId] The marketplace ID associated with the location. To find the ID for your marketplace, refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids).\n * @param {string} [channelName] The channel name associated with the location.\n * @param {string} [lastUpdatedAfter] The response includes shipments whose latest update is after the specified time. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format.\n * @param {string} [lastUpdatedBefore] The response includes shipments whose latest update is before the specified time. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format.\n * @param {number} [maxResults] The maximum number of shipments to include in the response.\n * @param {string} [paginationToken] A token that you use to retrieve the next page of results. The response includes `nextToken` when there are multiple pages of results. To get the next page of results, call the operation with this token and include the same arguments as the call that produced the token. To get a complete list, call this operation until `nextToken` is null. Note that this operation can return empty pages.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n getShipments: async (status: GetShipmentsStatusEnum, locationId?: string, marketplaceId?: string, channelName?: string, lastUpdatedAfter?: string, lastUpdatedBefore?: string, maxResults?: number, paginationToken?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n // verify required parameter 'status' is not null or undefined\n assertParamExists('getShipments', 'status', status)\n const localVarPath = `/externalFulfillment/2024-09-11/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 (locationId !== undefined) {\n localVarQueryParameter['locationId'] = locationId;\n }\n\n if (marketplaceId !== undefined) {\n localVarQueryParameter['marketplaceId'] = marketplaceId;\n }\n\n if (channelName !== undefined) {\n localVarQueryParameter['channelName'] = channelName;\n }\n\n if (status !== undefined) {\n localVarQueryParameter['status'] = status;\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 (maxResults !== undefined) {\n localVarQueryParameter['maxResults'] = maxResults;\n }\n\n if (paginationToken !== undefined) {\n localVarQueryParameter['paginationToken'] = paginationToken;\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 * Confirm or reject the specified shipment.\n * @param {string} shipmentId The ID of the shipment you want to confirm or reject.\n * @param {ProcessShipmentOperationEnum} operation The status of the shipment.\n * @param {ShipmentAcknowledgementRequest} [body] Information about the shipment and its line items.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n processShipment: async (shipmentId: string, operation: ProcessShipmentOperationEnum, body?: ShipmentAcknowledgementRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n // verify required parameter 'shipmentId' is not null or undefined\n assertParamExists('processShipment', 'shipmentId', shipmentId)\n // verify required parameter 'operation' is not null or undefined\n assertParamExists('processShipment', 'operation', operation)\n const localVarPath = `/externalFulfillment/2024-09-11/shipments/{shipmentId}`\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: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n if (operation !== undefined) {\n localVarQueryParameter['operation'] = operation;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json';\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 localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Retrieve invoices for the shipment you specify.\n * @param {string} shipmentId The ID of the shipment whose invoice you want to retrieve.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n retrieveInvoice: async (shipmentId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n // verify required parameter 'shipmentId' is not null or undefined\n assertParamExists('retrieveInvoice', 'shipmentId', shipmentId)\n const localVarPath = `/externalFulfillment/2024-09-11/shipments/{shipmentId}/invoice`\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 * Get a list of shipping options for a package in a shipment given the shipment\\'s marketplace and channel. If the marketplace and channel have a pre-determined shipping option, then this operation returns an empty response.\n * @param {string} shipmentId The ID of the shipment to which the package belongs.\n * @param {string} packageId The ID of the package for which you want to retrieve shipping options.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n retrieveShippingOptions: async (shipmentId: string, packageId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n // verify required parameter 'shipmentId' is not null or undefined\n assertParamExists('retrieveShippingOptions', 'shipmentId', shipmentId)\n // verify required parameter 'packageId' is not null or undefined\n assertParamExists('retrieveShippingOptions', 'packageId', packageId)\n const localVarPath = `/externalFulfillment/2024-09-11/shipments/{shipmentId}/shippingOptions`\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 (packageId !== undefined) {\n localVarQueryParameter['packageId'] = packageId;\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 * Updates the details about the packages that will be used to fulfill the specified shipment.\n * @param {string} shipmentId The ID of the shipment to which the package belongs.\n * @param {string} packageId The ID of the package whose information you want to update.\n * @param {Package} body The body of the request.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n updatePackage: async (shipmentId: string, packageId: string, body: Package, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n // verify required parameter 'shipmentId' is not null or undefined\n assertParamExists('updatePackage', 'shipmentId', shipmentId)\n // verify required parameter 'packageId' is not null or undefined\n assertParamExists('updatePackage', 'packageId', packageId)\n // verify required parameter 'body' is not null or undefined\n assertParamExists('updatePackage', 'body', body)\n const localVarPath = `/externalFulfillment/2024-09-11/shipments/{shipmentId}/packages/{packageId}`\n .replace('{shipmentId}', encodeURIComponent(String(shipmentId)))\n .replace('{packageId}', encodeURIComponent(String(packageId)));\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: 'PUT', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n localVarHeaderParameter['Content-Type'] = 'application/json';\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 localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Updates the status of the packages.\n * @param {string} shipmentId The ID of the shipment to which the package belongs.\n * @param {string} packageId The ID of the package whose status you want to update.\n * @param {UpdatePackageStatusStatusEnum} [status] **DEPRECATED**. Do not use. Package status is defined in the body parameter.\n * @param {PackageDeliveryStatus} [body] The body of the request.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n updatePackageStatus: async (shipmentId: string, packageId: string, status?: UpdatePackageStatusStatusEnum, body?: PackageDeliveryStatus, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n // verify required parameter 'shipmentId' is not null or undefined\n assertParamExists('updatePackageStatus', 'shipmentId', shipmentId)\n // verify required parameter 'packageId' is not null or undefined\n assertParamExists('updatePackageStatus', 'packageId', packageId)\n const localVarPath = `/externalFulfillment/2024-09-11/shipments/{shipmentId}/packages/{packageId}`\n .replace('{shipmentId}', encodeURIComponent(String(shipmentId)))\n .replace('{packageId}', encodeURIComponent(String(packageId)));\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: 'PATCH', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n if (status !== undefined) {\n localVarQueryParameter['status'] = status;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json';\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 localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n }\n};\n\n/**\n * ExternalFulfillmentShipmentsApi - functional programming interface\n */\nexport const ExternalFulfillmentShipmentsApiFp = function(configuration?: Configuration) {\n const localVarAxiosParamCreator = ExternalFulfillmentShipmentsApiAxiosParamCreator(configuration)\n return {\n /**\n * Provide details about the packages in the specified shipment.\n * @param {string} shipmentId The ID of the shipment.\n * @param {Packages} body A list of packages in the shipment.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async createPackages(shipmentId: string, body: Packages, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.createPackages(shipmentId, body, options);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['ExternalFulfillmentShipmentsApi.createPackages']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n /**\n * Get invoices for the shipment you specify.\n * @param {string} shipmentId The ID of the shipment whose invoice you want.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async generateInvoice(shipmentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InvoiceResponse>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.generateInvoice(shipmentId, options);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['ExternalFulfillmentShipmentsApi.generateInvoice']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n /**\n * Generate and retrieve all shipping labels for one or more packages in the shipment you specify.\n * @param {string} shipmentId The ID of the shipment whose shipping labels you want to generate and retrieve.\n * @param {GenerateShipLabelsOperationEnum} operation Specify whether you want to generate or regenerate a label.\n * @param {string} [shippingOptionId] The ID of the shipping option whose shipping labels you want.\n * @param {ShipLabelsInput} [body] Shipping details for when shipping is not done by the marketplace channel.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async generateShipLabels(shipmentId: string, operation: GenerateShipLabelsOperationEnum, shippingOptionId?: string, body?: ShipLabelsInput, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShipLabelsResponse>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.generateShipLabels(shipmentId, operation, shippingOptionId, body, options);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['ExternalFulfillmentShipmentsApi.generateShipLabels']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n /**\n * Get a single shipment with the ID you specify.\n * @param {string} shipmentId The ID of the shipment you want to retrieve.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async getShipment(shipmentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Shipment>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.getShipment(shipmentId, options);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['ExternalFulfillmentShipmentsApi.getShipment']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n /**\n * Get a list of shipments created for the seller in the status you specify. Shipments can be further filtered based on the fulfillment node or the time of the shipments\\' last update.\n * @param {GetShipmentsStatusEnum} status The status of shipment you want to include in the response. To retrieve all new shipments, set this value to `CREATED` or `ACCEPTED`.\n * @param {string} [locationId] The Amazon channel location identifier for the shipments you want to retrieve.\n * @param {string} [marketplaceId] The marketplace ID associated with the location. To find the ID for your marketplace, refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids).\n * @param {string} [channelName] The channel name associated with the location.\n * @param {string} [lastUpdatedAfter] The response includes shipments whose latest update is after the specified time. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format.\n * @param {string} [lastUpdatedBefore] The response includes shipments whose latest update is before the specified time. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format.\n * @param {number} [maxResults] The maximum number of shipments to include in the response.\n * @param {string} [paginationToken] A token that you use to retrieve the next page of results. The response includes `nextToken` when there are multiple pages of results. To get the next page of results, call the operation with this token and include the same arguments as the call that produced the token. To get a complete list, call this operation until `nextToken` is null. Note that this operation can return empty pages.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async getShipments(status: GetShipmentsStatusEnum, locationId?: string, marketplaceId?: string, channelName?: string, lastUpdatedAfter?: string, lastUpdatedBefore?: string, maxResults?: number, paginationToken?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShipmentsResponse>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.getShipments(status, locationId, marketplaceId, channelName, lastUpdatedAfter, lastUpdatedBefore, maxResults, paginationToken, options);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['ExternalFulfillmentShipmentsApi.getShipments']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n /**\n * Confirm or reject the specified shipment.\n * @param {string} shipmentId The ID of the shipment you want to confirm or reject.\n * @param {ProcessShipmentOperationEnum} operation The status of the shipment.\n * @param {ShipmentAcknowledgementRequest} [body] Information about the shipment and its line items.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async processShipment(shipmentId: string, operation: ProcessShipmentOperationEnum, body?: ShipmentAcknowledgementRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.processShipment(shipmentId, operation, body, options);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['ExternalFulfillmentShipmentsApi.processShipment']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n /**\n * Retrieve invoices for the shipment you specify.\n * @param {string} shipmentId The ID of the shipment whose invoice you want to retrieve.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async retrieveInvoice(shipmentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InvoiceResponse>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.retrieveInvoice(shipmentId, options);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['ExternalFulfillmentShipmentsApi.retrieveInvoice']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n /**\n * Get a list of shipping options for a package in a shipment given the shipment\\'s marketplace and channel. If the marketplace and channel have a pre-determined shipping option, then this operation returns an empty response.\n * @param {string} shipmentId The ID of the shipment to which the package belongs.\n * @param {string} packageId The ID of the package for which you want to retrieve shipping options.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async retrieveShippingOptions(shipmentId: string, packageId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShippingOptionsResponse>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.retrieveShippingOptions(shipmentId, packageId, options);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['ExternalFulfillmentShipmentsApi.retrieveShippingOptions']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n /**\n * Updates the details about the packages that will be used to fulfill the specified shipment.\n * @param {string} shipmentId The ID of the shipment to which the package belongs.\n * @param {string} packageId The ID of the package whose information you want to update.\n * @param {Package} body The body of the request.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async updatePackage(shipmentId: string, packageId: string, body: Package, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.updatePackage(shipmentId, packageId, body, options);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['ExternalFulfillmentShipmentsApi.updatePackage']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n /**\n * Updates the status of the packages.\n * @param {string} shipmentId The ID of the shipment to which the package belongs.\n * @param {string} packageId The ID of the package whose status you want to update.\n * @param {UpdatePackageStatusStatusEnum} [status] **DEPRECATED**. Do not use. Package status is defined in the body parameter.\n * @param {PackageDeliveryStatus} [body] The body of the request.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async updatePackageStatus(shipmentId: string, packageId: string, status?: UpdatePackageStatusStatusEnum, body?: PackageDeliveryStatus, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.updatePackageStatus(shipmentId, packageId, status, body, options);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['ExternalFulfillmentShipmentsApi.updatePackageStatus']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n }\n};\n\n/**\n * ExternalFulfillmentShipmentsApi - factory interface\n */\nexport const ExternalFulfillmentShipmentsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {\n const localVarFp = ExternalFulfillmentShipmentsApiFp(configuration)\n return {\n /**\n * Provide details about the packages in the specified shipment.\n * @param {ExternalFulfillmentShipmentsApiCreatePackagesRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n createPackages(requestParameters: ExternalFulfillmentShipmentsApiCreatePackagesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {\n return localVarFp.createPackages(requestParameters.shipmentId, requestParameters.body, options).then((request) => request(axios, basePath));\n },\n /**\n * Get invoices for the shipment you specify.\n * @param {ExternalFulfillmentShipmentsApiGenerateInvoiceRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n generateInvoice(requestParameters: ExternalFulfillmentShipmentsApiGenerateInvoiceRequest, options?: RawAxiosRequestConfig): AxiosPromise<InvoiceResponse> {\n return localVarFp.generateInvoice(requestParameters.shipmentId, options).then((request) => request(axios, basePath));\n },\n /**\n * Generate and retrieve all shipping labels for one or more packages in the shipment you specify.\n * @param {ExternalFulfillmentShipmentsApiGenerateShipLabelsRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n generateShipLabels(requestParameters: ExternalFulfillmentShipmentsApiGenerateShipLabelsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ShipLabelsResponse> {\n return localVarFp.generateShipLabels(requestParameters.shipmentId, requestParameters.operation, requestParameters.shippingOptionId, requestParameters.body, options).then((request) => request(axios, basePath));\n },\n /**\n * Get a single shipment with the ID you specify.\n * @param {ExternalFulfillmentShipmentsApiGetShipmentRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n getShipment(requestParameters: ExternalFulfillmentShipmentsApiGetShipmentRequest, options?: RawAxiosRequestConfig): AxiosPromise<Shipment> {\n return localVarFp.getShipment(requestParameters.shipmentId, options).then((request) => request(axios, basePath));\n },\n /**\n * Get a list of shipments created for the seller in the status you specify. Shipments can be further filtered based on the fulfillment node or the time of the shipments\\' last update.\n * @param {ExternalFulfillmentShipmentsApiGetShipmentsRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n getShipments(requestParameters: ExternalFulfillmentShipmentsApiGetShipmentsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ShipmentsResponse> {\n return localVarFp.getShipments(requestParameters.status, requestParameters.locationId, requestParameters.marketplaceId, requestParameters.channelName, requestParameters.lastUpdatedAfter, requestParameters.lastUpdatedBefore, requestParameters.maxResults, requestParameters.paginationToken, options).then((request) => request(axios, basePath));\n },\n /**\n * Confirm or reject the specified shipment.\n * @param {ExternalFulfillmentShipmentsApiProcessShipmentRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n processShipment(requestParameters: ExternalFulfillmentShipmentsApiProcessShipmentRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {\n return localVarFp.processShipment(requestParameters.shipmentId, requestParameters.operation, requestParameters.body, options).then((request) => request(axios, basePath));\n },\n /**\n * Retrieve invoices for the shipment you specify.\n * @param {ExternalFulfillmentShipmentsApiRetrieveInvoiceRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n retrieveInvoice(requestParameters: ExternalFulfillmentShipmentsApiRetrieveInvoiceRequest, options?: RawAxiosRequestConfig): AxiosPromise<InvoiceResponse> {\n return localVarFp.retrieveInvoice(requestParameters.shipmentId, options).then((request) => request(axios, basePath));\n },\n /**\n * Get a list of shipping options for a package in a shipment given the shipment\\'s marketplace and channel. If the marketplace and channel have a pre-determined shipping option, then this operation returns an empty response.\n * @param {ExternalFulfillmentShipmentsApiRetrieveShippingOptionsRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n retrieveShippingOptions(requestParameters: ExternalFulfillmentShipmentsApiRetrieveShippingOptionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ShippingOptionsResponse> {\n return localVarFp.retrieveShippingOptions(requestParameters.shipmentId, requestParameters.packageId, options).then((request) => request(axios, basePath));\n },\n /**\n * Updates the details about the packages that will be used to fulfill the specified shipment.\n * @param {ExternalFulfillmentShipmentsApiUpdatePackageRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n updatePackage(requestParameters: ExternalFulfillmentShipmentsApiUpdatePackageRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {\n return localVarFp.updatePackage(requestParameters.shipmentId, requestParameters.packageId, requestParameters.body, options).then((request) => request(axios, basePath));\n },\n /**\n * Updates the status of the packages.\n * @param {ExternalFulfillmentShipmentsApiUpdatePackageStatusRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n updatePackageStatus(requestParameters: ExternalFulfillmentShipmentsApiUpdatePackageStatusRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {\n return localVarFp.updatePackageStatus(requestParameters.shipmentId, requestParameters.packageId, requestParameters.status, requestParameters.body, options).then((request) => request(axios, basePath));\n },\n };\n};\n\n/**\n * Request parameters for createPackages operation in ExternalFulfillmentShipmentsApi.\n */\nexport interface ExternalFulfillmentShipmentsApiCreatePackagesRequest {\n /**\n * The ID of the shipment.\n */\n readonly shipmentId: string\n\n /**\n * A list of packages in the shipment.\n */\n readonly body: Packages\n}\n\n/**\n * Request parameters for generateInvoice operation in ExternalFulfillmentShipmentsApi.\n */\nexport interface ExternalFulfillmentShipmentsApiGenerateInvoiceRequest {\n /**\n * The ID of the shipment whose invoice you want.\n */\n readonly shipmentId: string\n}\n\n/**\n * Request parameters for generateShipLabels operation in ExternalFulfillmentShipmentsApi.\n */\nexport interface ExternalFulfillmentShipmentsApiGenerateShipLabelsRequest {\n /**\n * The ID of the shipment whose shipping labels you want to generate and retrieve.\n */\n readonly shipmentId: string\n\n /**\n * Specify whether you want to generate or regenerate a label.\n */\n readonly operation: GenerateShipLabelsOperationEnum\n\n /**\n * The ID of the shipping option whose shipping labels you want.\n */\n readonly shippingOptionId?: string\n\n /**\n * Shipping details for when shipping is not done by the marketplace channel.\n */\n readonly body?: ShipLabelsInput\n}\n\n/**\n * Request parameters for getShipment operation in ExternalFulfillmentShipmentsApi.\n */\nexport interface ExternalFulfillmentShipmentsApiGetShipmentRequest {\n /**\n * The ID of the shipment you want to retrieve.\n */\n readonly shipmentId: string\n}\n\n/**\n * Request parameters for getShipments operation in ExternalFulfillmentShipmentsApi.\n */\nexport interface ExternalFulfillmentShipmentsApiGetShipmentsRequest {\n /**\n * The status of shipment you want to include in the response. To retrieve all new shipments, set this value to `CREATED` or `ACCEPTED`.\n */\n readonly status: GetShipmentsStatusEnum\n\n /**\n * The Amazon channel location identifier for the shipments you want to retrieve.\n */\n readonly locationId?: string\n\n /**\n * The marketplace ID associated with the location. To find the ID for your marketplace, refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids).\n */\n readonly marketplaceId?: string\n\n /**\n * The channel name associated with the location.\n */\n readonly channelName?: string\n\n /**\n * The response includes shipments whose latest update is after the specified time. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format.\n */\n readonly lastUpdatedAfter?: string\n\n /**\n * The response includes shipments whose latest update is before the specified time. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format.\n */\n readonly lastUpdatedBefore?: string\n\n /**\n * The maximum number of shipments to include in the response.\n */\n readonly maxResults?: number\n\n /**\n * A token that you use to retrieve the next page of results. The response includes `nextToken` when there are multiple pages of results. To get the next page of results, call the operation with this token and include the same arguments as the call that produced the token. To get a complete list, call this operation until `nextToken` is null. Note that this operation can return empty pages.\n */\n readonly paginationToken?: string\n}\n\n/**\n * Request parameters for processShipment operation in ExternalFulfillmentShipmentsApi.\n */\nexport interface ExternalFulfillmentShipmentsApiProcessShipmentRequest {\n /**\n * The ID of the shipment you want to confirm or reject.\n */\n readonly shipmentId: string\n\n /**\n * The status of the shipment.\n */\n readonly operation: ProcessShipmentOperationEnum\n\n /**\n * Information about the shipment and its line items.\n */\n readonly body?: ShipmentAcknowledgementRequest\n}\n\n/**\n * Request parameters for retrieveInvoice operation in ExternalFulfillmentShipmentsApi.\n */\nexport interface ExternalFulfillmentShipmentsApiRetrieveInvoiceRequest {\n /**\n * The ID of the shipment whose invoice you want to retrieve.\n */\n readonly shipmentId: string\n}\n\n/**\n * Request parameters for retrieveShippingOptions operation in ExternalFulfillmentShipmentsApi.\n */\nexport interface ExternalFulfillmentShipmentsApiRetrieveShippingOptionsRequest {\n /**\n * The ID of the shipment to which the package belongs.\n */\n readonly shipmentId: string\n\n /**\n * The ID of the package for which you want to retrieve shipping options.\n */\n readonly packageId: string\n}\n\n/**\n * Request parameters for updatePackage operation in ExternalFulfillmentShipmentsApi.\n */\nexport interface ExternalFulfillmentShipmentsApiUpdatePackageRequest {\n /**\n * The ID of the shipment to which the package belongs.\n */\n readonly shipmentId: string\n\n /**\n * The ID of the package whose information you want to update.\n */\n readonly packageId: string\n\n /**\n * The body of the request.\n */\n readonly body: Package\n}\n\n/**\n * Request parameters for updatePackageStatus operation in ExternalFulfillmentShipmentsApi.\n */\nexport interface ExternalFulfillmentShipmentsApiUpdatePackageStatusRequest {\n /**\n * The ID of the shipment to which the package belongs.\n */\n readonly shipmentId: string\n\n /**\n * The ID of the package whose status you want to update.\n */\n readonly packageId: string\n\n /**\n * **DEPRECATED**. Do not use. Package status is defined in the body parameter.\n */\n readonly status?: UpdatePackageStatusStatusEnum\n\n /**\n * The body of the request.\n */\n readonly body?: PackageDeliveryStatus\n}\n\n/**\n * ExternalFulfillmentShipmentsApi - object-oriented interface\n */\nexport class ExternalFulfillmentShipmentsApi extends BaseAPI {\n /**\n * Provide details about the packages in the specified shipment.\n * @param {ExternalFulfillmentShipmentsApiCreatePackagesRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n public createPackages(requestParameters: ExternalFulfillmentShipmentsApiCreatePackagesRequest, options?: RawAxiosRequestConfig) {\n return ExternalFulfillmentShipmentsApiFp(this.configuration).createPackages(requestParameters.shipmentId, requestParameters.body, options).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Get invoices for the shipment you specify.\n * @param {ExternalFulfillmentShipmentsApiGenerateInvoiceRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n public generateInvoice(requestParameters: ExternalFulfillmentShipmentsApiGenerateInvoiceRequest, options?: RawAxiosRequestConfig) {\n return ExternalFulfillmentShipmentsApiFp(this.configuration).generateInvoice(requestParameters.shipmentId, options).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Generate and retrieve all shipping labels for one or more packages in the shipment you specify.\n * @param {ExternalFulfillmentShipmentsApiGenerateShipLabelsRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n public generateShipLabels(requestParameters: ExternalFulfillmentShipmentsApiGenerateShipLabelsRequest, options?: RawAxiosRequestConfig) {\n return ExternalFulfillmentShipmentsApiFp(this.configuration).generateShipLabels(requestParameters.shipmentId, requestParameters.operation, requestParameters.shippingOptionId, requestParameters.body, options).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Get a single shipment with the ID you specify.\n * @param {ExternalFulfillmentShipmentsApiGetShipmentRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n public getShipment(requestParameters: ExternalFulfillmentShipmentsApiGetShipmentRequest, options?: RawAxiosRequestConfig) {\n return ExternalFulfillmentShipmentsApiFp(this.configuration).getShipment(requestParameters.shipmentId, options).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Get a list of shipments created for the seller in the status you specify. Shipments can be further filtered based on the fulfillment node or the time of the shipments\\' last update.\n * @param {ExternalFulfillmentShipmentsApiGetShipmentsRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n public getShipments(requestParameters: ExternalFulfillmentShipmentsApiGetShipmentsRequest, options?: RawAxiosRequestConfig) {\n return ExternalFulfillmentShipmentsApiFp(this.configuration).getShipments(requestParameters.status, requestParameters.locationId, requestParameters.marketplaceId, requestParameters.channelName, requestParameters.lastUpdatedAfter, requestParameters.lastUpdatedBefore, requestParameters.maxResults, requestParameters.paginationToken, options).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Confirm or reject the specified shipment.\n * @param {ExternalFulfillmentShipmentsApiProcessShipmentRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n public processShipment(requestParameters: ExternalFulfillmentShipmentsApiProcessShipmentRequest, options?: RawAxiosRequestConfig) {\n return ExternalFulfillmentShipmentsApiFp(this.configuration).processShipment(requestParameters.shipmentId, requestParameters.operation, requestParameters.body, options).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Retrieve invoices for the shipment you specify.\n * @param {ExternalFulfillmentShipmentsApiRetrieveInvoiceRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n public retrieveInvoice(requestParameters: ExternalFulfillmentShipmentsApiRetrieveInvoiceRequest, options?: RawAxiosRequestConfig) {\n return ExternalFulfillmentShipmentsApiFp(this.configuration).retrieveInvoice(requestParameters.shipmentId, options).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Get a list of shipping options for a package in a shipment given the shipment\\'s marketplace and channel. If the marketplace and channel have a pre-determined shipping option, then this operation returns an empty response.\n * @param {ExternalFulfillmentShipmentsApiRetrieveShippingOptionsRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n public retrieveShippingOptions(requestParameters: ExternalFulfillmentShipmentsApiRetrieveShippingOptionsRequest, options?: RawAxiosRequestConfig) {\n return ExternalFulfillmentShipmentsApiFp(this.configuration).retrieveShippingOptions(requestParameters.shipmentId, requestParameters.packageId, options).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Updates the details about the packages that will be used to fulfill the specified shipment.\n * @param {ExternalFulfillmentShipmentsApiUpdatePackageRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n public updatePackage(requestParameters: ExternalFulfillmentShipmentsApiUpdatePackageRequest, options?: RawAxiosRequestConfig) {\n return ExternalFulfillmentShipmentsApiFp(this.configuration).updatePackage(requestParameters.shipmentId, requestParameters.packageId, requestParameters.body, options).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Updates the status of the packages.\n * @param {ExternalFulfillmentShipmentsApiUpdatePackageStatusRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n public updatePackageStatus(requestParameters: ExternalFulfillmentShipmentsApiUpdatePackageStatusRequest, options?: RawAxiosRequestConfig) {\n return ExternalFulfillmentShipmentsApiFp(this.configuration).updatePackageStatus(requestParameters.shipmentId, requestParameters.packageId, requestParameters.status, requestParameters.body, options).then((request) => request(this.axios, this.basePath));\n }\n}\n\nexport const GenerateShipLabelsOperationEnum = {\n Generate: 'GENERATE',\n Regenerate: 'REGENERATE',\n} as const;\nexport type GenerateShipLabelsOperationEnum = typeof GenerateShipLabelsOperationEnum[keyof typeof GenerateShipLabelsOperationEnum];\nexport const GetShipmentsStatusEnum = {\n Created: 'CREATED',\n Accepted: 'ACCEPTED',\n Confirmed: 'CONFIRMED',\n PackageCreated: 'PACKAGE_CREATED',\n PickupSlotRetrieved: 'PICKUP_SLOT_RETRIEVED',\n InvoiceGenerated: 'INVOICE_GENERATED',\n ShiplabelGenerated: 'SHIPLABEL_GENERATED',\n Cancelled: 'CANCELLED',\n Shipped: 'SHIPPED',\n Delivered: 'DELIVERED',\n} as const;\nexport type GetShipmentsStatusEnum = typeof GetShipmentsStatusEnum[keyof typeof GetShipmentsStatusEnum];\nexport const ProcessShipmentOperationEnum = {\n Confirm: 'CONFIRM',\n Reject: 'REJECT',\n} as const;\nexport type ProcessShipmentOperationEnum = typeof ProcessShipmentOperationEnum[keyof typeof ProcessShipmentOperationEnum];\nexport const UpdatePackageStatusStatusEnum = {\n Shipped: 'SHIPPED',\n} as const;\nexport type UpdatePackageStatusStatusEnum = typeof UpdatePackageStatusStatusEnum[keyof typeof UpdatePackageStatusStatusEnum];\n","/* tslint:disable */\n/**\n * The Selling Partner API for Amazon External Fulfillment Shipments Processing\n * You can use the External Fulfillment Shipments API to retrieve, manage, and track shipments processed through Amazon\\'s external fulfillment network. Use this API to get shipment details, monitor status changes, and access fulfillment requirements.\n *\n * The version of the OpenAPI document: 2024-09-11\n * Contact: marketplaceapitest@amazon.com\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 * The Selling Partner API for Amazon External Fulfillment Shipments Processing\n * You can use the External Fulfillment Shipments API to retrieve, manage, and track shipments processed through Amazon\\'s external fulfillment network. Use this API to get shipment details, monitor status changes, and access fulfillment requirements.\n *\n * The version of the OpenAPI document: 2024-09-11\n * Contact: marketplaceapitest@amazon.com\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 * A shipment item\\'s cancellation details.\n */\nexport interface Cancellation {\n /**\n * The number of items of this particular item which have been cancelled.\n */\n 'cancelledQuantity': number;\n /**\n * A date and time in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format.\n */\n 'cancelledTimestamp': string;\n /**\n * The type of cancellation of the item in the shipment.\n */\n 'cancellationType': CancellationCancellationTypeEnum;\n /**\n * The reason for the cancellation of the shipment.\n */\n 'cancellationReason'?: string;\n}\n\nexport const CancellationCancellationTypeEnum = {\n SellerRejected: 'SELLER_REJECTED',\n MarketplaceCancelled: 'MARKETPLACE_CANCELLED',\n SystemCancelled: 'SYSTEM_CANCELLED',\n} as const;\n\nexport type CancellationCancellationTypeEnum = typeof CancellationCancellationTypeEnum[keyof typeof CancellationCancellationTypeEnum];\n\n\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * The Selling Partner API for Amazon External Fulfillment Shipments Processing\n * You can use the External Fulfillment Shipments API to retrieve, manage, and track shipments processed through Amazon\\'s external fulfillment network. Use this API to get shipment details, monitor status changes, and access fulfillment requirements.\n *\n * The version of the OpenAPI document: 2024-09-11\n * Contact: marketplaceapitest@amazon.com\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// May contain unused imports in some cases\n// @ts-ignore\nimport type { ChargeBreakup } from './charge-breakup.js';\n// May contain unused imports in some cases\n// @ts-ignore\nimport type { Tax } from './tax.js';\n\n/**\n * A shipment\\'s charge with relevant tax information.\n */\nexport interface Charge {\n 'baseCharge': ChargeBreakup;\n /**\n * The tax charge details.\n */\n 'taxBreakup'?: Array<Tax>;\n /**\n * The type of charge.\n */\n 'chargeType': ChargeChargeTypeEnum;\n 'totalCharge': ChargeBreakup;\n 'totalTax': Tax;\n}\n\nexport const ChargeChargeTypeEnum = {\n Product: 'PRODUCT',\n Shipping: 'SHIPPING',\n GiftWrap: 'GIFT_WRAP',\n Total: 'TOTAL',\n Other: 'OTHER',\n} as const;\n\nexport type ChargeChargeTypeEnum = typeof ChargeChargeTypeEnum[keyof typeof ChargeChargeTypeEnum];\n\n\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * The Selling Partner API for Amazon External Fulfillment Shipments Processing\n * You can use the External Fulfillment Shipments API to retrieve, manage, and track shipments processed through Amazon\\'s external fulfillment network. Use this API to get shipment details, monitor status changes, and access fulfillment requirements.\n *\n * The version of the OpenAPI document: 2024-09-11\n * Contact: marketplaceapitest@amazon.com\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 data type of the custom attribute value to aid with parsing during deserialization.\n */\n\nexport const CustomAttributeType = {\n String: 'STRING',\n Boolean: 'BOOLEAN',\n Integer: 'INTEGER',\n Double: 'DOUBLE',\n JsonString: 'JSON_STRING',\n} as const;\n\nexport type CustomAttributeType = typeof CustomAttributeType[keyof typeof CustomAttributeType];\n\n\n\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * The Selling Partner API for Amazon External Fulfillment Shipments Processing\n * You can use the External Fulfillment Shipments API to retrieve, manage, and track shipments processed through Amazon\\'s external fulfillment network. Use this API to get shipment details, monitor status changes, and access fulfillment requirements.\n *\n * The version of the OpenAPI document: 2024-09-11\n * Contact: marketplaceapitest@amazon.com\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 * A dimension of a package.\n */\nexport interface Dimension {\n /**\n * A decimal number with no loss of precision. Useful when precision loss is unacceptable, as with currencies.\n */\n 'value': string;\n /**\n * The unit of measurement of the dimension.\n */\n 'dimensionUnit': DimensionDimensionUnitEnum;\n}\n\nexport const DimensionDimensionUnitEnum = {\n Cm: 'CM',\n M: 'M',\n In: 'IN',\n} as const;\n\nexport type DimensionDimensionUnitEnum = typeof DimensionDimensionUnitEnum[keyof typeof DimensionDimensionUnitEnum];\n\n\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * The Selling Partner API for Amazon External Fulfillment Shipments Processing\n * You can use the External Fulfillment Shipments API to retrieve, manage, and track shipments processed through Amazon\\'s external fulfillment network. Use this API to get shipment details, monitor status changes, and access fulfillment requirements.\n *\n * The version of the OpenAPI document: 2024-09-11\n * Contact: marketplaceapitest@amazon.com\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 * A distance measurement.\n */\nexport interface Distance {\n /**\n * A decimal number with no loss of precision. Useful when precision loss is unacceptable, as with currencies.\n */\n 'value': string;\n /**\n * The unit of measurement of the distance.\n */\n 'distanceUnit': DistanceDistanceUnitEnum;\n}\n\nexport const DistanceDistanceUnitEnum = {\n Mi: 'MI',\n Km: 'KM',\n} as const;\n\nexport type DistanceDistanceUnitEnum = typeof DistanceDistanceUnitEnum[keyof typeof DistanceDistanceUnitEnum];\n\n\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * The Selling Partner API for Amazon External Fulfillment Shipments Processing\n * You can use the External Fulfillment Shipments API to retrieve, manage, and track shipments processed through Amazon\\'s external fulfillment network. Use this API to get shipment details, monitor status changes, and access fulfillment requirements.\n *\n * The version of the OpenAPI document: 2024-09-11\n * Contact: marketplaceapitest@amazon.com\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 * A document, described by its file type and data.\n */\nexport interface Document {\n /**\n * The type of the file.\n */\n 'format'?: DocumentFormatEnum;\n /**\n * Base 64 encoded file contents.\n */\n 'content'?: string;\n}\n\nexport const DocumentFormatEnum = {\n Zpl: 'ZPL',\n Pdf: 'PDF',\n Png: 'PNG',\n PlainText: 'PLAIN_TEXT',\n} as const;\n\nexport type DocumentFormatEnum = typeof DocumentFormatEnum[keyof typeof DocumentFormatEnum];\n\n\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * The Selling Partner API for Amazon External Fulfillment Shipments Processing\n * You can use the External Fulfillment Shipments API to retrieve, manage, and track shipments processed through Amazon\\'s external fulfillment network. Use this API to get shipment details, monitor status changes, and access fulfillment requirements.\n *\n * The version of the OpenAPI document: 2024-09-11\n * Contact: marketplaceapitest@amazon.com\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 * Whether the invoice document is required to be attached to the shipment and its corresponding status.\n */\nexport interface InvoiceRequirement {\n /**\n * Whether the invoice document is required to be attached to the shipment.\n */\n 'requirement'?: InvoiceRequirementRequirementEnum;\n /**\n * The status of the of the invoice document that is attached to the shipment.\n */\n 'status'?: InvoiceRequirementStatusEnum;\n}\n\nexport const InvoiceRequirementRequirementEnum = {\n Required: 'REQUIRED',\n NotRequired: 'NOT_REQUIRED',\n} as const;\n\nexport type InvoiceRequirementRequirementEnum = typeof InvoiceRequirementRequirementEnum[keyof typeof InvoiceRequirementRequirementEnum];\nexport const InvoiceRequirementStatusEnum = {\n Pending: 'PENDING',\n Available: 'AVAILABLE',\n NotAvailable: 'NOT_AVAILABLE',\n} as const;\n\nexport type InvoiceRequirementStatusEnum = typeof InvoiceRequirementStatusEnum[keyof typeof InvoiceRequirementStatusEnum];\n\n\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * The Selling Partner API for Amazon External Fulfillment Shipments Processing\n * You can use the External Fulfillment Shipments API to retrieve, manage, and track shipments processed through Amazon\\'s external fulfillment network. Use this API to get shipment details, monitor status changes, and access fulfillment requirements.\n *\n * The version of the OpenAPI document: 2024-09-11\n * Contact: marketplaceapitest@amazon.com\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// May contain unused imports in some cases\n// @ts-ignore\nimport type { LineItem } from './line-item.js';\n\n/**\n * Information about the line item being confirmed or rejected and the reason for the rejection.\n */\nexport interface LineItemWithReason {\n 'lineItem': LineItem;\n /**\n * The reason for the rejection of the line item.\n */\n 'reason'?: LineItemWithReasonReasonEnum;\n}\n\nexport const LineItemWithReasonReasonEnum = {\n OutOfStock: 'OUT_OF_STOCK',\n CustomerRequested: 'CUSTOMER_REQUESTED',\n} as const;\n\nexport type LineItemWithReasonReasonEnum = typeof LineItemWithReasonReasonEnum[keyof typeof LineItemWithReasonReasonEnum];\n\n\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * The Selling Partner API for Amazon External Fulfillment Shipments Processing\n * You can use the External Fulfillment Shipments API to retrieve, manage, and track shipments processed through Amazon\\'s external fulfillment network. Use this API to get shipment details, monitor status changes, and access fulfillment requirements.\n *\n * The version of the OpenAPI document: 2024-09-11\n * Contact: marketplaceapitest@amazon.com\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 marketplace attributes associated with the location.\n */\nexport interface MarketplaceAttributes {\n /**\n * The marketplace ID associated with the location. To find the ID for your marketplace, refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids).\n */\n 'marketplaceId': string;\n /**\n * The channel name associated with the location.\n */\n 'channelName': string;\n /**\n * The ID of the merchant or seller to whom this order is created.\n */\n 'merchantId'?: string;\n /**\n * Marketplace channel-specific attribute value.\n */\n 'customAttributes'?: Array<MarketplaceAttributesCustomAttributesEnum>;\n}\n\nexport const MarketplaceAttributesCustomAttributesEnum = {\n Prime: 'PRIME',\n Fasttrack: 'FASTTRACK',\n} as const;\n\nexport type MarketplaceAttributesCustomAttributesEnum = typeof MarketplaceAttributesCustomAttributesEnum[keyof typeof MarketplaceAttributesCustomAttributesEnum];\n\n\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * The Selling Partner API for Amazon External Fulfillment Shipments Processing\n * You can use the External Fulfillment Shipments API to retrieve, manage, and track shipments processed through Amazon\\'s external fulfillment network. Use this API to get shipment details, monitor status changes, and access fulfillment requirements.\n *\n * The version of the OpenAPI document: 2024-09-11\n * Contact: marketplaceapitest@amazon.com\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// May contain unused imports in some cases\n// @ts-ignore\nimport type { PackageDimensions } from './package-dimensions.js';\n// May contain unused imports in some cases\n// @ts-ignore\nimport type { PackageLineItem } from './package-line-item.js';\n// May contain unused imports in some cases\n// @ts-ignore\nimport type { Weight } from './weight.js';\n\n/**\n * A package that is created to ship one or more of a shipment\\'s line items.\n */\nexport interface Package {\n /**\n * An ID that uniquely identifies a package within a shipment.\n */\n 'id': string;\n 'dimensions': PackageDimensions;\n 'weight': Weight;\n /**\n * The optional list of HAZMAT labels applied to the package.\n */\n 'hazmatLabels'?: Array<string>;\n /**\n * The list of line items in a package.\n */\n 'packageLineItems': Array<PackageLineItem>;\n /**\n * The current status of the package.\n */\n 'status'?: PackageStatusEnum;\n /**\n * Whether the package requires standard handling or extra care.\n */\n 'packageHandlingRequirements'?: PackagePackageHandlingRequirementsEnum;\n}\n\nexport const PackageStatusEnum = {\n Created: 'CREATED',\n PickupSlotRetrieved: 'PICKUP_SLOT_RETRIEVED',\n InvoiceGenerated: 'INVOICE_GENERATED',\n ShiplabelGenerated: 'SHIPLABEL_GENERATED',\n Shipped: 'SHIPPED',\n Delivered: 'DELIVERED',\n Cancelled: 'CANCELLED',\n} as const;\n\nexport type PackageStatusEnum = typeof PackageStatusEnum[keyof typeof PackageStatusEnum];\nexport const PackagePackageHandlingRequirementsEnum = {\n Normal: 'NORMAL',\n Fragile: 'FRAGILE',\n} as const;\n\nexport type PackagePackageHandlingRequirementsEnum = typeof PackagePackageHandlingRequirementsEnum[keyof typeof PackagePackageHandlingRequirementsEnum];\n\n\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * The Selling Partner API for Amazon External Fulfillment Shipments Processing\n * You can use the External Fulfillment Shipments API to retrieve, manage, and track shipments processed through Amazon\\'s external fulfillment network. Use this API to get shipment details, monitor status changes, and access fulfillment requirements.\n *\n * The version of the OpenAPI document: 2024-09-11\n * Contact: marketplaceapitest@amazon.com\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 status of a package.\n */\n\nexport const PackageStatus = {\n Created: 'CREATED',\n PickupSlotRetrieved: 'PICKUP_SLOT_RETRIEVED',\n InvoiceGenerated: 'INVOICE_GENERATED',\n ShiplabelGenerated: 'SHIPLABEL_GENERATED',\n Shipped: 'SHIPPED',\n Delivered: 'DELIVERED',\n} as const;\n\nexport type PackageStatus = typeof PackageStatus[keyof typeof PackageStatus];\n\n\n\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * The Selling Partner API for Amazon External Fulfillment Shipments Processing\n * You can use the External Fulfillment Shipments API to retrieve, manage, and track shipments processed through Amazon\\'s external fulfillment network. Use this API to get shipment details, monitor status changes, and access fulfillment requirements.\n *\n * The version of the OpenAPI document: 2024-09-11\n * Contact: marketplaceapitest@amazon.com\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 sub-status of a package.\n */\n\nexport const PackageSubStatus = {\n OutForDelivery: 'OUT_FOR_DELIVERY',\n Delivered: 'DELIVERED',\n NotDelivered: 'NOT_DELIVERED',\n Undeliverable: 'UNDELIVERABLE',\n} as const;\n\nexport type PackageSubStatus = typeof PackageSubStatus[keyof typeof PackageSubStatus];\n\n\n\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * The Selling Partner API for Amazon External Fulfillment Shipments Processing\n * You can use the External Fulfillment Shipments API to retrieve, manage, and track shipments processed through Amazon\\'s external fulfillment network. Use this API to get shipment details, monitor status changes, and access fulfillment requirements.\n *\n * The version of the OpenAPI document: 2024-09-11\n * Contact: marketplaceapitest@amazon.com\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 * Whether the packing slip is required to be attached to the shipment, and its corresponding status.\n */\nexport interface PackingSlipRequirement {\n /**\n * Whether the packing slip is required to be attached to the shipment.\n */\n 'requirement'?: PackingSlipRequirementRequirementEnum;\n /**\n * The status of the packing slip that is attached to the shipment.\n */\n 'status'?: PackingSlipRequirementStatusEnum;\n}\n\nexport const PackingSlipRequirementRequirementEnum = {\n Required: 'REQUIRED',\n NotRequired: 'NOT_REQUIRED',\n} as const;\n\nexport type PackingSlipRequirementRequirementEnum = typeof PackingSlipRequirementRequirementEnum[keyof typeof PackingSlipRequirementRequirementEnum];\nexport const PackingSlipRequirementStatusEnum = {\n Generated: 'GENERATED',\n NotGenerated: 'NOT_GENERATED',\n} as const;\n\nexport type PackingSlipRequirementStatusEnum = typeof PackingSlipRequirementStatusEnum[keyof typeof PackingSlipRequirementStatusEnum];\n\n\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * The Selling Partner API for Amazon External Fulfillment Shipments Processing\n * You can use the External Fulfillment Shipments API to retrieve, manage, and track shipments processed through Amazon\\'s external fulfillment network. Use this API to get shipment details, monitor status changes, and access fulfillment requirements.\n *\n * The version of the OpenAPI document: 2024-09-11\n * Contact: marketplaceapitest@amazon.com\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// May contain unused imports in some cases\n// @ts-ignore\nimport type { Address } from './address.js';\n// May contain unused imports in some cases\n// @ts-ignore\nimport type { TaxRegistrationInfo } from './tax-registration-info.js';\n\n/**\n * Party identification details for the shipment, applicable to direct fulfillment shipments.\n */\nexport interface PartyIdentificationInfo {\n /**\n * Assigned identification for the party. For example, a warehouse code or vendor code.\n */\n 'partyId': string;\n /**\n * Assigned identification for the party. For example, a warehouse code or vendor code.\n */\n 'partyType': PartyIdentificationInfoPartyTypeEnum;\n 'address'?: Address;\n 'taxInfo'?: TaxRegistrationInfo;\n}\n\nexport const PartyIdentificationInfoPartyTypeEnum = {\n BillToParty: 'BILL_TO_PARTY',\n ShipToParty: 'SHIP_TO_PARTY',\n ShipFromParty: 'SHIP_FROM_PARTY',\n SellingParty: 'SELLING_PARTY',\n} as const;\n\nexport type PartyIdentificationInfoPartyTypeEnum = typeof PartyIdentificationInfoPartyTypeEnum[keyof typeof PartyIdentificationInfoPartyTypeEnum];\n\n\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * The Selling Partner API for Amazon External Fulfillment Shipments Processing\n * You can use the External Fulfillment Shipments API to retrieve, manage, and track shipments processed through Amazon\\'s external fulfillment network. Use this API to get shipment details, monitor status changes, and access fulfillment requirements.\n *\n * The version of the OpenAPI document: 2024-09-11\n * Contact: marketplaceapitest@amazon.com\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 * Whether the item is a single piece or multiple pieces.\n */\n\nexport const PieceType = {\n Single: 'SINGLE',\n Multiple: 'MULTIPLE',\n} as const;\n\nexport type PieceType = typeof PieceType[keyof typeof PieceType];\n\n\n\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * The Selling Partner API for Amazon External Fulfillment Shipments Processing\n * You can use the External Fulfillment Shipments API to retrieve, manage, and track shipments processed through Amazon\\'s external fulfillment network. Use this API to get shipment details, monitor status changes, and access fulfillment requirements.\n *\n * The version of the OpenAPI document: 2024-09-11\n * Contact: marketplaceapitest@amazon.com\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 * Whether the element is present or absent.\n */\n\nexport const PresenceStatus = {\n Absent: 'ABSENT',\n Present: 'PRESENT',\n} as const;\n\nexport type PresenceStatus = typeof PresenceStatus[keyof typeof PresenceStatus];\n\n\n\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * The Selling Partner API for Amazon External Fulfillment Shipments Processing\n * You can use the External Fulfillment Shipments API to retrieve, manage, and track shipments processed through Amazon\\'s external fulfillment network. Use this API to get shipment details, monitor status changes, and access fulfillment requirements.\n *\n * The version of the OpenAPI document: 2024-09-11\n * Contact: marketplaceapitest@amazon.com\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 priority of the order.\n */\n\nexport const Priority = {\n High: 'HIGH',\n Low: 'LOW',\n} as const;\n\nexport type Priority = typeof Priority[keyof typeof Priority];\n\n\n\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * The Selling Partner API for Amazon External Fulfillment Shipments Processing\n * You can use the External Fulfillment Shipments API to retrieve, manage, and track shipments processed through Amazon\\'s external fulfillment network. Use this API to get shipment details, monitor status changes, and access fulfillment requirements.\n *\n * The version of the OpenAPI document: 2024-09-11\n * Contact: marketplaceapitest@amazon.com\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 requirement level for this field.\n */\n\nexport const RequirementLevel = {\n Required: 'REQUIRED',\n Disallowed: 'DISALLOWED',\n} as const;\n\nexport type RequirementLevel = typeof RequirementLevel[keyof typeof RequirementLevel];\n\n\n\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * The Selling Partner API for Amazon External Fulfillment Shipments Processing\n * You can use the External Fulfillment Shipments API to retrieve, manage, and track shipments processed through Amazon\\'s external fulfillment network. Use this API to get shipment details, monitor status changes, and access fulfillment requirements.\n *\n * The version of the OpenAPI document: 2024-09-11\n * Contact: marketplaceapitest@amazon.com\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// May contain unused imports in some cases\n// @ts-ignore\nimport type { Charge } from './charge.js';\n// May contain unused imports in some cases\n// @ts-ignore\nimport type { InvoiceInfo } from './invoice-info.js';\n// May contain unused imports in some cases\n// @ts-ignore\nimport type { MarketplaceAttributes } from './marketplace-attributes.js';\n// May contain unused imports in some cases\n// @ts-ignore\nimport type { Package } from './package.js';\n// May contain unused imports in some cases\n// @ts-ignore\nimport type { PartyIdentificationInfo } from './party-identification-info.js';\n// May contain unused imports in some cases\n// @ts-ignore\nimport type { ShipmentInfo } from './shipment-info.js';\n// May contain unused imports in some cases\n// @ts-ignore\nimport type { ShipmentLineItem } from './shipment-line-item.js';\n// May contain unused imports in some cases\n// @ts-ignore\nimport type { ShipmentRequirements } from './shipment-requirements.js';\n// May contain unused imports in some cases\n// @ts-ignore\nimport type { ShippingInfo } from './shipping-info.js';\n\n/**\n * Information about a shipment.\n */\nexport interface Shipment {\n /**\n * The shipment\\'s ID.\n */\n 'id': string;\n /**\n * The location identifier of the seller\\'s location in the marketplace channel to which the shipment has been created for fulfillment.\n */\n 'locationId': string;\n 'marketplaceAttributes': MarketplaceAttributes;\n 'shipmentInfo': ShipmentInfo;\n 'invoiceInfo'?: InvoiceInfo;\n /**\n * All involved party identification and metadata for the vendor, buyer, and seller. Applicable for direct-fulfillment sellers.\n */\n 'partyInfoList'?: Array<PartyIdentificationInfo>;\n 'shipmentRequirements': ShipmentRequirements;\n /**\n * The charges associated with the shipment.\n */\n 'charges': Array<Charge>;\n /**\n * The current status of the shipment.\n */\n 'status': ShipmentStatusEnum;\n /**\n * The sub status of the shipment.\n */\n 'subStatus'?: ShipmentSubStatusEnum;\n /**\n * The reason for the sub-status.\n */\n 'reason'?: string;\n /**\n * The line items in the shipment.\n */\n 'lineItems': Array<ShipmentLineItem>;\n 'shippingInfo': ShippingInfo;\n /**\n * The list of packages in the shipment.\n */\n 'packages'?: Array<Package>;\n /**\n * A date and time in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format.\n */\n 'creationDateTime': string;\n /**\n * A date and time in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format.\n */\n 'lastUpdatedDateTime': string;\n /**\n * A date and time in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format.\n */\n 'earliestPackDateTime'?: string;\n}\n\nexport const ShipmentStatusEnum = {\n Created: 'CREATED',\n Accepted: 'ACCEPTED',\n Confirmed: 'CONFIRMED',\n PackageCreated: 'PACKAGE_CREATED',\n PickupSlotRetrieved: 'PICKUP_SLOT_RETRIEVED',\n InvoiceGenerated: 'INVOICE_GENERATED',\n ShiplabelGenerated: 'SHIPLABEL_GENERATED',\n Cancelled: 'CANCELLED',\n Shipped: 'SHIPPED',\n Delivered: 'DELIVERED',\n} as const;\n\nexport type ShipmentStatusEnum = typeof ShipmentStatusEnum[keyof typeof ShipmentStatusEnum];\nexport const ShipmentSubStatusEnum = {\n PendingSchedule: 'PENDING_SCHEDULE',\n PendingPickup: 'PENDING_PICKUP',\n PendingDropOff: 'PENDING_DROP_OFF',\n LabelCanceled: 'LABEL_CANCELED',\n PickedUp: 'PICKED_UP',\n DroppedOff: 'DROPPED_OFF',\n AtOriginFc: 'AT_ORIGIN_FC',\n AtDestinationFc: 'AT_DESTINATION_FC',\n Delivered: 'DELIVERED',\n NotDelivered: 'NOT_DELIVERED',\n Undeliverable: 'UNDELIVERABLE',\n Lost: 'LOST',\n OutForDelivery: 'OUT_FOR_DELIVERY',\n Damaged: 'DAMAGED',\n} as const;\n\nexport type ShipmentSubStatusEnum = typeof ShipmentSubStatusEnum[keyof typeof ShipmentSubStatusEnum];\n\n\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * The Selling Partner API for Amazon External Fulfillment Shipments Processing\n * You can use the External Fulfillment Shipments API to retrieve, manage, and track shipments processed through Amazon\\'s external fulfillment network. Use this API to get shipment details, monitor status changes, and access fulfillment requirements.\n *\n * The version of the OpenAPI document: 2024-09-11\n * Contact: marketplaceapitest@amazon.com\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// May contain unused imports in some cases\n// @ts-ignore\nimport type { Priority } from './priority.js';\n// May contain unused imports in some cases\n// @ts-ignore\nimport type { ReplacedShipmentInfo } from './replaced-shipment-info.js';\n\n/**\n * High-level details of the shipment.\n */\nexport interface ShipmentInfo {\n /**\n * The type of shipment.\n */\n 'shipmentType': ShipmentInfoShipmentTypeEnum;\n 'originalShipmentInfo'?: ReplacedShipmentInfo;\n /**\n * Total number of units in the shipment.\n */\n 'numberOfUnits': number;\n 'priority': Priority;\n /**\n * The buyer\\'s order ID.\n */\n 'buyerOrderId': string;\n /**\n * A list of order statuses for which the marketplace allows order rejection (seller cancellation). If the order has a status that does not belong to this list, then seller cancellation is not possible.\n */\n 'orderStatesEligibleForRejection'?: Array<string>;\n /**\n * The timestamp of when the order was placed, in UTC\n */\n 'orderPlacedTimestamp'?: string;\n /**\n * The source of the order operation.\n */\n 'processingSource'?: ShipmentInfoProcessingSourceEnum;\n /**\n * The payment method for the shipment.\n */\n 'paymentMethod'?: ShipmentInfoPaymentMethodEnum;\n}\n\nexport const ShipmentInfoShipmentTypeEnum = {\n New: 'NEW',\n Exchange: 'EXCHANGE',\n Replacement: 'REPLACEMENT',\n} as const;\n\nexport type ShipmentInfoShipmentTypeEnum = typeof ShipmentInfoShipmentTypeEnum[keyof typeof ShipmentInfoShipmentTypeEnum];\nexport const ShipmentInfoProcessingSourceEnum = {\n ExternalPlatform: 'EXTERNAL_PLATFORM',\n InternalPlatform: 'INTERNAL_PLATFORM',\n} as const;\n\nexport type ShipmentInfoProcessingSourceEnum = typeof ShipmentInfoProcessingSourceEnum[keyof typeof ShipmentInfoProcessingSourceEnum];\nexport const ShipmentInfoPaymentMethodEnum = {\n CashOnDelivery: 'CASH_ON_DELIVERY',\n Prepaid: 'PREPAID',\n} as const;\n\nexport type ShipmentInfoPaymentMethodEnum = typeof ShipmentInfoPaymentMethodEnum[keyof typeof ShipmentInfoPaymentMethodEnum];\n\n\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * The Selling Partner API for Amazon External Fulfillment Shipments Processing\n * You can use the External Fulfillment Shipments API to retrieve, manage, and track shipments processed through Amazon\\'s external fulfillment network. Use this API to get shipment details, monitor status changes, and access fulfillment requirements.\n *\n * The version of the OpenAPI document: 2024-09-11\n * Contact: marketplaceapitest@amazon.com\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// May contain unused imports in some cases\n// @ts-ignore\nimport type { Address } from './address.js';\n// May contain unused imports in some cases\n// @ts-ignore\nimport type { RecommendedPackage } from './recommended-package.js';\n\n/**\n * Shipping information for the packages in a shipment.\n */\nexport interface ShippingInfo {\n /**\n * The ship method recommended by the Amazon Fulfillment Network for the packages in this shipment.\n */\n 'recommendedShipMethod'?: string;\n /**\n * A date and time in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format.\n */\n 'expectedShippingDateTimeInUTC': string;\n 'shipToAddress'?: Address;\n /**\n * The type of shipping that the seller uses to deliver a customer order.\n */\n 'shippingType'?: ShippingInfoShippingTypeEnum;\n /**\n * Recommendations for the packages in an order.\n */\n 'recommendedPackages'?: Array<RecommendedPackage>;\n}\n\nexport const ShippingInfoShippingTypeEnum = {\n Marketplace: 'MARKETPLACE',\n Self: 'SELF',\n} as const;\n\nexport type ShippingInfoShippingTypeEnum = typeof ShippingInfoShippingTypeEnum[keyof typeof ShippingInfoShippingTypeEnum];\n\n\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * The Selling Partner API for Amazon External Fulfillment Shipments Processing\n * You can use the External Fulfillment Shipments API to retrieve, manage, and track shipments processed through Amazon\\'s external fulfillment network. Use this API to get shipment details, monitor status changes, and access fulfillment requirements.\n *\n * The version of the OpenAPI document: 2024-09-11\n * Contact: marketplaceapitest@amazon.com\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// May contain unused imports in some cases\n// @ts-ignore\nimport type { HandoverLocation } from './handover-location.js';\n// May contain unused imports in some cases\n// @ts-ignore\nimport type { TimeWindow } from './time-window.js';\n\n/**\n * Shipping options for a single package.\n */\nexport interface ShippingOptions {\n /**\n * An identifier for the shipping option.\n */\n 'shippingOptionId': string;\n /**\n * The shipper type.\n */\n 'shipBy': ShippingOptionsShipByEnum;\n /**\n * The carrier name for the offering.\n */\n 'carrierName'?: string;\n 'pickupWindow'?: TimeWindow;\n 'timeSlot'?: TimeWindow;\n 'handoverLocation'?: HandoverLocation;\n}\n\nexport const ShippingOptionsShipByEnum = {\n Marketplace: 'MARKETPLACE',\n Seller: 'SELLER',\n ThirdPartyCarrier: 'THIRD_PARTY_CARRIER',\n Other: 'OTHER',\n} as const;\n\nexport type ShippingOptionsShipByEnum = typeof ShippingOptionsShipByEnum[keyof typeof ShippingOptionsShipByEnum];\n\n\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * The Selling Partner API for Amazon External Fulfillment Shipments Processing\n * You can use the External Fulfillment Shipments API to retrieve, manage, and track shipments processed through Amazon\\'s external fulfillment network. Use this API to get shipment details, monitor status changes, and access fulfillment requirements.\n *\n * The version of the OpenAPI document: 2024-09-11\n * Contact: marketplaceapitest@amazon.com\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 outcome of the operation.\n */\n\nexport const Status = {\n Success: 'SUCCESS',\n Failure: 'FAILURE',\n} as const;\n\nexport type Status = typeof Status[keyof typeof Status];\n\n\n\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * The Selling Partner API for Amazon External Fulfillment Shipments Processing\n * You can use the External Fulfillment Shipments API to retrieve, manage, and track shipments processed through Amazon\\'s external fulfillment network. Use this API to get shipment details, monitor status changes, and access fulfillment requirements.\n *\n * The version of the OpenAPI document: 2024-09-11\n * Contact: marketplaceapitest@amazon.com\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// May contain unused imports in some cases\n// @ts-ignore\nimport type { ChargeBreakup } from './charge-breakup.js';\n\n/**\n * Information about taxes.\n */\nexport interface Tax {\n /**\n * The type of tax.\n */\n 'type'?: TaxTypeEnum;\n /**\n * A decimal number with no loss of precision. Useful when precision loss is unacceptable, as with currencies.\n */\n 'rate'?: string;\n 'charge': ChargeBreakup;\n}\n\nexport const TaxTypeEnum = {\n Vat: 'VAT',\n Cst: 'CST',\n Igst: 'IGST',\n Sgst: 'SGST',\n Cgst: 'CGST',\n Utgst: 'UTGST',\n Cess: 'CESS',\n Other: 'OTHER',\n Total: 'TOTAL',\n} as const;\n\nexport type TaxTypeEnum = typeof TaxTypeEnum[keyof typeof TaxTypeEnum];\n\n\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * The Selling Partner API for Amazon External Fulfillment Shipments Processing\n * You can use the External Fulfillment Shipments API to retrieve, manage, and track shipments processed through Amazon\\'s external fulfillment network. Use this API to get shipment details, monitor status changes, and access fulfillment requirements.\n *\n * The version of the OpenAPI document: 2024-09-11\n * Contact: marketplaceapitest@amazon.com\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// May contain unused imports in some cases\n// @ts-ignore\nimport type { Address } from './address.js';\n\n/**\n * Tax registration details of the entity. Applicable to direct fulfillment shipments.\n */\nexport interface TaxRegistrationInfo {\n /**\n * Tax registration type for the entity\n */\n 'type'?: TaxRegistrationInfoTypeEnum;\n /**\n * The tax registration number for the party. For example, their VAT ID.\n */\n 'number'?: string;\n 'address'?: Address;\n /**\n * Tax registration message that can be used for additional tax related details.\n */\n 'messages'?: string;\n}\n\nexport const TaxRegistrationInfoTypeEnum = {\n Vat: 'VAT',\n Gst: 'GST',\n} as const;\n\nexport type TaxRegistrationInfoTypeEnum = typeof TaxRegistrationInfoTypeEnum[keyof typeof TaxRegistrationInfoTypeEnum];\n\n\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * The Selling Partner API for Amazon External Fulfillment Shipments Processing\n * You can use the External Fulfillment Shipments API to retrieve, manage, and track shipments processed through Amazon\\'s external fulfillment network. Use this API to get shipment details, monitor status changes, and access fulfillment requirements.\n *\n * The version of the OpenAPI document: 2024-09-11\n * Contact: marketplaceapitest@amazon.com\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 * Time duration used to specify the interval of an event, such as pick up and delivery.\n */\nexport interface TimeWindow {\n /**\n * The start time of the window.\n */\n 'startTime': number;\n /**\n * The end time of the window.\n */\n 'endTime': number;\n /**\n * Whether the seller picks up from Amazon Logistics or drops off to Amazon Logistics.\n */\n 'handoverMethod'?: TimeWindowHandoverMethodEnum;\n}\n\nexport const TimeWindowHandoverMethodEnum = {\n Pickup: 'PICKUP',\n Dropoff: 'DROPOFF',\n} as const;\n\nexport type TimeWindowHandoverMethodEnum = typeof TimeWindowHandoverMethodEnum[keyof typeof TimeWindowHandoverMethodEnum];\n\n\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * The Selling Partner API for Amazon External Fulfillment Shipments Processing\n * You can use the External Fulfillment Shipments API to retrieve, manage, and track shipments processed through Amazon\\'s external fulfillment network. Use this API to get shipment details, monitor status changes, and access fulfillment requirements.\n *\n * The version of the OpenAPI document: 2024-09-11\n * Contact: marketplaceapitest@amazon.com\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 weight of a package.\n */\nexport interface Weight {\n /**\n * A decimal number with no loss of precision. Useful when precision loss is unacceptable, as with currencies.\n */\n 'value': string;\n /**\n * The unit of measurement of the weight.\n */\n 'weightUnit': WeightWeightUnitEnum;\n}\n\nexport const WeightWeightUnitEnum = {\n G: 'G',\n Kg: 'KG',\n Lb: 'LB',\n Oz: 'OZ',\n} as const;\n\nexport type WeightWeightUnitEnum = typeof WeightWeightUnitEnum[keyof typeof WeightWeightUnitEnum];\n\n\n","import {type ClientConfiguration, createAxiosInstance, type RateLimit} from '@sp-api-sdk/common'\n\nimport {Configuration, ExternalFulfillmentShipmentsApi} from './api-model/index.js'\n\nexport const clientRateLimits: RateLimit[] = []\n\nexport class ExternalFulfillmentShipmentsApiClient extends ExternalFulfillmentShipmentsApi {\n constructor(configuration: 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