@sp-api-sdk/invoices-api-2024-06-19 2.1.3 → 3.0.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 +4 -4
- package/dist/index.cjs +1090 -0
- package/dist/index.cjs.map +1 -0
- package/dist/{types/api-model/api/invoices-api.d.ts → index.d.cts} +853 -45
- package/dist/index.d.ts +1408 -0
- package/dist/index.js +1042 -0
- package/dist/index.js.map +1 -0
- package/package.json +23 -12
- package/dist/cjs/api-model/api/invoices-api.js +0 -832
- package/dist/cjs/api-model/api.js +0 -30
- package/dist/cjs/api-model/base.js +0 -52
- package/dist/cjs/api-model/common.js +0 -123
- package/dist/cjs/api-model/configuration.js +0 -98
- package/dist/cjs/api-model/index.js +0 -32
- package/dist/cjs/api-model/models/attribute-option.js +0 -15
- package/dist/cjs/api-model/models/carrier-details-context.js +0 -15
- package/dist/cjs/api-model/models/error-list.js +0 -15
- package/dist/cjs/api-model/models/export-invoices-request.js +0 -15
- package/dist/cjs/api-model/models/export-invoices-response.js +0 -15
- package/dist/cjs/api-model/models/export-status.js +0 -25
- package/dist/cjs/api-model/models/export.js +0 -15
- package/dist/cjs/api-model/models/file-format.js +0 -22
- package/dist/cjs/api-model/models/get-invoice-response.js +0 -15
- package/dist/cjs/api-model/models/get-invoices-attributes-response.js +0 -15
- package/dist/cjs/api-model/models/get-invoices-document-response.js +0 -15
- package/dist/cjs/api-model/models/get-invoices-export-response.js +0 -15
- package/dist/cjs/api-model/models/get-invoices-exports-response.js +0 -15
- package/dist/cjs/api-model/models/get-invoices-response.js +0 -15
- package/dist/cjs/api-model/models/government-invoice-creation-status.js +0 -24
- package/dist/cjs/api-model/models/government-invoice-request.js +0 -15
- package/dist/cjs/api-model/models/government-invoice-status-response.js +0 -15
- package/dist/cjs/api-model/models/govt-invoice-document-response.js +0 -15
- package/dist/cjs/api-model/models/index.js +0 -41
- package/dist/cjs/api-model/models/invoice-document.js +0 -15
- package/dist/cjs/api-model/models/invoice-error.js +0 -15
- package/dist/cjs/api-model/models/invoice.js +0 -15
- package/dist/cjs/api-model/models/invoices-attributes.js +0 -15
- package/dist/cjs/api-model/models/invoices-document.js +0 -15
- package/dist/cjs/api-model/models/model-error.js +0 -15
- package/dist/cjs/api-model/models/transaction-identifier.js +0 -15
- package/dist/cjs/client.js +0 -84
- package/dist/cjs/index.js +0 -19
- package/dist/es/api-model/api/invoices-api.js +0 -822
- package/dist/es/api-model/api.js +0 -14
- package/dist/es/api-model/base.js +0 -44
- package/dist/es/api-model/common.js +0 -110
- package/dist/es/api-model/configuration.js +0 -94
- package/dist/es/api-model/index.js +0 -16
- package/dist/es/api-model/models/attribute-option.js +0 -14
- package/dist/es/api-model/models/carrier-details-context.js +0 -14
- package/dist/es/api-model/models/error-list.js +0 -14
- package/dist/es/api-model/models/export-invoices-request.js +0 -14
- package/dist/es/api-model/models/export-invoices-response.js +0 -14
- package/dist/es/api-model/models/export-status.js +0 -22
- package/dist/es/api-model/models/export.js +0 -14
- package/dist/es/api-model/models/file-format.js +0 -19
- package/dist/es/api-model/models/get-invoice-response.js +0 -14
- package/dist/es/api-model/models/get-invoices-attributes-response.js +0 -14
- package/dist/es/api-model/models/get-invoices-document-response.js +0 -14
- package/dist/es/api-model/models/get-invoices-export-response.js +0 -14
- package/dist/es/api-model/models/get-invoices-exports-response.js +0 -14
- package/dist/es/api-model/models/get-invoices-response.js +0 -14
- package/dist/es/api-model/models/government-invoice-creation-status.js +0 -21
- package/dist/es/api-model/models/government-invoice-request.js +0 -14
- package/dist/es/api-model/models/government-invoice-status-response.js +0 -14
- package/dist/es/api-model/models/govt-invoice-document-response.js +0 -14
- package/dist/es/api-model/models/index.js +0 -25
- package/dist/es/api-model/models/invoice-document.js +0 -14
- package/dist/es/api-model/models/invoice-error.js +0 -14
- package/dist/es/api-model/models/invoice.js +0 -14
- package/dist/es/api-model/models/invoices-attributes.js +0 -14
- package/dist/es/api-model/models/invoices-document.js +0 -14
- package/dist/es/api-model/models/model-error.js +0 -14
- package/dist/es/api-model/models/transaction-identifier.js +0 -14
- package/dist/es/client.js +0 -80
- package/dist/es/index.js +0 -3
- package/dist/types/api-model/api.d.ts +0 -12
- package/dist/types/api-model/base.d.ts +0 -42
- package/dist/types/api-model/common.d.ts +0 -34
- package/dist/types/api-model/configuration.d.ts +0 -98
- package/dist/types/api-model/index.d.ts +0 -14
- package/dist/types/api-model/models/attribute-option.d.ts +0 -24
- package/dist/types/api-model/models/carrier-details-context.d.ts +0 -48
- package/dist/types/api-model/models/error-list.d.ts +0 -20
- package/dist/types/api-model/models/export-invoices-request.d.ts +0 -52
- package/dist/types/api-model/models/export-invoices-response.d.ts +0 -20
- package/dist/types/api-model/models/export-status.d.ts +0 -21
- package/dist/types/api-model/models/export.d.ts +0 -38
- package/dist/types/api-model/models/file-format.d.ts +0 -18
- package/dist/types/api-model/models/get-invoice-response.d.ts +0 -18
- package/dist/types/api-model/models/get-invoices-attributes-response.d.ts +0 -18
- package/dist/types/api-model/models/get-invoices-document-response.d.ts +0 -18
- package/dist/types/api-model/models/get-invoices-export-response.d.ts +0 -18
- package/dist/types/api-model/models/get-invoices-exports-response.d.ts +0 -25
- package/dist/types/api-model/models/get-invoices-response.d.ts +0 -25
- package/dist/types/api-model/models/government-invoice-creation-status.d.ts +0 -20
- package/dist/types/api-model/models/government-invoice-request.d.ts +0 -41
- package/dist/types/api-model/models/government-invoice-status-response.d.ts +0 -27
- package/dist/types/api-model/models/govt-invoice-document-response.d.ts +0 -18
- package/dist/types/api-model/models/index.d.ts +0 -25
- package/dist/types/api-model/models/invoice-document.d.ts +0 -20
- package/dist/types/api-model/models/invoice-error.d.ts +0 -24
- package/dist/types/api-model/models/invoice.d.ts +0 -57
- package/dist/types/api-model/models/invoices-attributes.d.ts +0 -33
- package/dist/types/api-model/models/invoices-document.d.ts +0 -24
- package/dist/types/api-model/models/model-error.d.ts +0 -28
- package/dist/types/api-model/models/transaction-identifier.d.ts +0 -24
- package/dist/types/client.d.ts +0 -6
- package/dist/types/index.d.ts +0 -3
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/index.ts","../src/client.ts","../src/api-model/api/invoices-api.ts","../src/api-model/base.ts","../src/api-model/common.ts","../src/api-model/configuration.ts","../src/api-model/models/export-status.ts","../src/api-model/models/file-format.ts","../src/api-model/models/government-invoice-creation-status.ts"],"sourcesContent":["export * from './client.js'\nexport * from './api-model/api.js'\nexport * from './api-model/models/index.js'\n","import {type ClientConfiguration, createAxiosInstance, type RateLimit} from '@sp-api-sdk/common'\n\nimport {Configuration, InvoicesApi} from './api-model/index.js'\n\nexport const clientRateLimits: RateLimit[] = [\n {\n method: 'get',\n // eslint-disable-next-line prefer-regex-literals\n urlRegex: new RegExp('^/tax/invoices/2024-06-19/attributes$'),\n rate: 1,\n burst: 1,\n },\n {\n method: 'get',\n // eslint-disable-next-line prefer-regex-literals\n urlRegex: new RegExp('^/tax/invoices/2024-06-19/documents/[^/]*$'),\n rate: 0.0167,\n burst: 1,\n },\n {\n method: 'post',\n // eslint-disable-next-line prefer-regex-literals\n urlRegex: new RegExp('^/tax/invoices/2024-06-19/exports$'),\n rate: 0.167,\n burst: 1,\n },\n {\n method: 'get',\n // eslint-disable-next-line prefer-regex-literals\n urlRegex: new RegExp('^/tax/invoices/2024-06-19/exports$'),\n rate: 0.1,\n burst: 20,\n },\n {\n method: 'get',\n // eslint-disable-next-line prefer-regex-literals\n urlRegex: new RegExp('^/tax/invoices/2024-06-19/exports/[^/]*$'),\n rate: 2,\n burst: 15,\n },\n {\n method: 'post',\n // eslint-disable-next-line prefer-regex-literals\n urlRegex: new RegExp('^/tax/invoices/2024-06-19/governmentInvoiceRequests$'),\n rate: 0.0167,\n burst: 1,\n },\n {\n method: 'get',\n // eslint-disable-next-line prefer-regex-literals\n urlRegex: new RegExp('^/tax/invoices/2024-06-19/governmentInvoiceRequests$'),\n rate: 0.0167,\n burst: 1,\n },\n {\n method: 'get',\n // eslint-disable-next-line prefer-regex-literals\n urlRegex: new RegExp('^/tax/invoices/2024-06-19/governmentInvoiceRequests/[^/]*$'),\n rate: 0.0167,\n burst: 1,\n },\n {\n method: 'get',\n // eslint-disable-next-line prefer-regex-literals\n urlRegex: new RegExp('^/tax/invoices/2024-06-19/invoices$'),\n rate: 0.1,\n burst: 20,\n },\n {\n method: 'get',\n // eslint-disable-next-line prefer-regex-literals\n urlRegex: new RegExp('^/tax/invoices/2024-06-19/invoices/[^/]*$'),\n rate: 2,\n burst: 15,\n },\n]\n\nexport class InvoicesApiClient extends InvoicesApi {\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 Invoices.\n * Use the Selling Partner API for Invoices to retrieve and manage invoice-related operations, which can help selling partners manage their bookkeeping processes.\n *\n * The version of the OpenAPI document: 2024-06-19\n * \n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n\nimport type { Configuration } from '../configuration.js';\nimport type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';\nimport globalAxios from 'axios';\n// Some imports not used depending on template conditions\n// @ts-ignore\nimport { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction, replaceWithSerializableTypeIfNeeded } from '../common.js';\n// @ts-ignore\nimport { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError, operationServerMap } from '../base.js';\n// @ts-ignore\nimport type { ErrorList } from '../models/index.js';\n// @ts-ignore\nimport type { ExportInvoicesRequest } from '../models/index.js';\n// @ts-ignore\nimport type { ExportInvoicesResponse } from '../models/index.js';\n// @ts-ignore\nimport type { GetInvoiceResponse } from '../models/index.js';\n// @ts-ignore\nimport type { GetInvoicesAttributesResponse } from '../models/index.js';\n// @ts-ignore\nimport type { GetInvoicesDocumentResponse } from '../models/index.js';\n// @ts-ignore\nimport type { GetInvoicesExportResponse } from '../models/index.js';\n// @ts-ignore\nimport type { GetInvoicesExportsResponse } from '../models/index.js';\n// @ts-ignore\nimport type { GetInvoicesResponse } from '../models/index.js';\n// @ts-ignore\nimport type { GovernmentInvoiceRequest } from '../models/index.js';\n// @ts-ignore\nimport type { GovernmentInvoiceStatusResponse } from '../models/index.js';\n// @ts-ignore\nimport type { GovtInvoiceDocumentResponse } from '../models/index.js';\n/**\n * InvoicesApi - axios parameter creator\n */\nexport const InvoicesApiAxiosParamCreator = function (configuration?: Configuration) {\n return {\n /**\n * Submits an asynchronous government invoice creation request. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0167 | 1 | For more information, see \\\"Usage Plans and Rate Limits\\\" in the Selling Partner API documentation.\n * @param {GovernmentInvoiceRequest} body Information required to create the government invoice.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n createGovernmentInvoice: async (body: GovernmentInvoiceRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n // verify required parameter 'body' is not null or undefined\n assertParamExists('createGovernmentInvoice', 'body', body)\n const localVarPath = `/tax/invoices/2024-06-19/governmentInvoiceRequests`;\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 * Creates an invoice export request. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.167 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).\n * @param {ExportInvoicesRequest} body Information required to create the export request.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n createInvoicesExport: async (body: ExportInvoicesRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n // verify required parameter 'body' is not null or undefined\n assertParamExists('createInvoicesExport', 'body', body)\n const localVarPath = `/tax/invoices/2024-06-19/exports`;\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 * Returns an invoiceDocument object containing an invoiceDocumentUrl . **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0167 | 1 | For more information, see \\\"Usage Plans and Rate Limits\\\" in the Selling Partner API documentation.\n * @param {string} marketplaceId The invoices returned will match the marketplace that you specify.\n * @param {string} transactionType Marketplace specific classification of the transaction type that originated the invoice. Check \\'transactionType\\' options using \\'getInvoicesAttributes\\' operation.\n * @param {string} shipmentId The unique shipment identifier to get an invoice for.\n * @param {string} invoiceType Marketplace specific classification of the invoice type. Check \\'invoiceType\\' options using \\'getInvoicesAttributes\\' operation.\n * @param {string} [inboundPlanId] The unique InboundPlan identifier in which the shipment is contained and for which the invoice will be created.\n * @param {string} [fileFormat] Requested file format. Default is XML\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n getGovernmentInvoiceDocument: async (marketplaceId: string, transactionType: string, shipmentId: string, invoiceType: string, inboundPlanId?: string, fileFormat?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n // verify required parameter 'marketplaceId' is not null or undefined\n assertParamExists('getGovernmentInvoiceDocument', 'marketplaceId', marketplaceId)\n // verify required parameter 'transactionType' is not null or undefined\n assertParamExists('getGovernmentInvoiceDocument', 'transactionType', transactionType)\n // verify required parameter 'shipmentId' is not null or undefined\n assertParamExists('getGovernmentInvoiceDocument', 'shipmentId', shipmentId)\n // verify required parameter 'invoiceType' is not null or undefined\n assertParamExists('getGovernmentInvoiceDocument', 'invoiceType', invoiceType)\n const localVarPath = `/tax/invoices/2024-06-19/governmentInvoiceRequests/{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 if (marketplaceId !== undefined) {\n localVarQueryParameter['marketplaceId'] = marketplaceId;\n }\n\n if (transactionType !== undefined) {\n localVarQueryParameter['transactionType'] = transactionType;\n }\n\n if (invoiceType !== undefined) {\n localVarQueryParameter['invoiceType'] = invoiceType;\n }\n\n if (inboundPlanId !== undefined) {\n localVarQueryParameter['inboundPlanId'] = inboundPlanId;\n }\n\n if (fileFormat !== undefined) {\n localVarQueryParameter['fileFormat'] = fileFormat;\n }\n\n localVarHeaderParameter['Accept'] = 'application/json';\n\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Returns the status of an invoice generation request. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0167 | 1 | For more information, see \\\"Usage Plans and Rate Limits\\\" in the Selling Partner API documentation.\n * @param {string} marketplaceId The invoices status will match the marketplace that you specify.\n * @param {string} transactionType Marketplace specific classification of the transaction type that originated the invoice. Check \\'transactionType\\' options using \\'getInvoicesAttributes\\' operation.\n * @param {string} shipmentId The unique shipment identifier to get an invoice for.\n * @param {string} invoiceType Marketplace specific classification of the invoice type. Check \\'invoiceType\\' options using \\'getInvoicesAttributes\\' operation.\n * @param {string} [inboundPlanId] The unique InboundPlan identifier in which the shipment is contained and for which the invoice will be created.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n getGovernmentInvoiceStatus: async (marketplaceId: string, transactionType: string, shipmentId: string, invoiceType: string, inboundPlanId?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n // verify required parameter 'marketplaceId' is not null or undefined\n assertParamExists('getGovernmentInvoiceStatus', 'marketplaceId', marketplaceId)\n // verify required parameter 'transactionType' is not null or undefined\n assertParamExists('getGovernmentInvoiceStatus', 'transactionType', transactionType)\n // verify required parameter 'shipmentId' is not null or undefined\n assertParamExists('getGovernmentInvoiceStatus', 'shipmentId', shipmentId)\n // verify required parameter 'invoiceType' is not null or undefined\n assertParamExists('getGovernmentInvoiceStatus', 'invoiceType', invoiceType)\n const localVarPath = `/tax/invoices/2024-06-19/governmentInvoiceRequests`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n if (marketplaceId !== undefined) {\n localVarQueryParameter['marketplaceId'] = marketplaceId;\n }\n\n if (transactionType !== undefined) {\n localVarQueryParameter['transactionType'] = transactionType;\n }\n\n if (shipmentId !== undefined) {\n localVarQueryParameter['shipmentId'] = shipmentId;\n }\n\n if (invoiceType !== undefined) {\n localVarQueryParameter['invoiceType'] = invoiceType;\n }\n\n if (inboundPlanId !== undefined) {\n localVarQueryParameter['inboundPlanId'] = inboundPlanId;\n }\n\n localVarHeaderParameter['Accept'] = 'application/json';\n\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Returns invoice data for the specified invoice. This operation returns only a subset of the invoices data; refer to the response definition to get all the possible attributes. To get the full invoice, use the `createInvoicesExport` operation to start an export request. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 15 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).\n * @param {string} marketplaceId The marketplace from which you want the invoice.\n * @param {string} invoiceId The invoice identifier.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n getInvoice: async (marketplaceId: string, invoiceId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n // verify required parameter 'marketplaceId' is not null or undefined\n assertParamExists('getInvoice', 'marketplaceId', marketplaceId)\n // verify required parameter 'invoiceId' is not null or undefined\n assertParamExists('getInvoice', 'invoiceId', invoiceId)\n const localVarPath = `/tax/invoices/2024-06-19/invoices/{invoiceId}`\n .replace('{invoiceId}', encodeURIComponent(String(invoiceId)));\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n if (marketplaceId !== undefined) {\n localVarQueryParameter['marketplaceId'] = marketplaceId;\n }\n\n localVarHeaderParameter['Accept'] = 'application/json';\n\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Returns invoice details for the invoices that match the filters that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.1 | 20 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).\n * @param {string} marketplaceId The response includes only the invoices that match the specified marketplace.\n * @param {string} [transactionIdentifierName] The name of the transaction identifier filter. If you provide a value for this field, you must also provide a value for the `transactionIdentifierId` field.Use the `getInvoicesAttributes` operation to check `transactionIdentifierName` options.\n * @param {number} [pageSize] The maximum number of invoices you want to return in a single call. Minimum: 1 Maximum: 200\n * @param {string} [dateEnd] The latest invoice creation date for invoices that you want to include in the response. Dates are in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format. The default is the current date-time.\n * @param {string} [transactionType] The marketplace-specific classification of the transaction type for which the invoice was created. Use the `getInvoicesAttributes` operation to check `transactionType` options.\n * @param {string} [transactionIdentifierId] The ID of the transaction identifier filter. If you provide a value for this field, you must also provide a value for the `transactionIdentifierName` field.\n * @param {string} [dateStart] The earliest invoice creation date for invoices that you want to include in the response. Dates are in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format. The default is 24 hours prior to the time of the request.\n * @param {string} [series] Return invoices with the specified series number.\n * @param {string} [nextToken] The response includes `nextToken` when the number of results exceeds the specified `pageSize` value. 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 {GetInvoicesSortOrderEnum} [sortOrder] Sort the invoices in the response in ascending or descending order.\n * @param {string} [invoiceType] The marketplace-specific classification of the invoice type. Use the `getInvoicesAttributes` operation to check `invoiceType` options.\n * @param {Array<string>} [statuses] A list of statuses that you can use to filter invoices. Use the `getInvoicesAttributes` operation to check invoice status options. Min count: 1\n * @param {string} [externalInvoiceId] Return invoices that match this external ID. This is typically the Government Invoice ID.\n * @param {GetInvoicesSortByEnum} [sortBy] The attribute by which you want to sort the invoices in the response.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n getInvoices: async (marketplaceId: string, transactionIdentifierName?: string, pageSize?: number, dateEnd?: string, transactionType?: string, transactionIdentifierId?: string, dateStart?: string, series?: string, nextToken?: string, sortOrder?: GetInvoicesSortOrderEnum, invoiceType?: string, statuses?: Array<string>, externalInvoiceId?: string, sortBy?: GetInvoicesSortByEnum, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n // verify required parameter 'marketplaceId' is not null or undefined\n assertParamExists('getInvoices', 'marketplaceId', marketplaceId)\n const localVarPath = `/tax/invoices/2024-06-19/invoices`;\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 (transactionIdentifierName !== undefined) {\n localVarQueryParameter['transactionIdentifierName'] = transactionIdentifierName;\n }\n\n if (pageSize !== undefined) {\n localVarQueryParameter['pageSize'] = pageSize;\n }\n\n if (dateEnd !== undefined) {\n localVarQueryParameter['dateEnd'] = (dateEnd as any instanceof Date) ?\n (dateEnd as any).toISOString() :\n dateEnd;\n }\n\n if (marketplaceId !== undefined) {\n localVarQueryParameter['marketplaceId'] = marketplaceId;\n }\n\n if (transactionType !== undefined) {\n localVarQueryParameter['transactionType'] = transactionType;\n }\n\n if (transactionIdentifierId !== undefined) {\n localVarQueryParameter['transactionIdentifierId'] = transactionIdentifierId;\n }\n\n if (dateStart !== undefined) {\n localVarQueryParameter['dateStart'] = (dateStart as any instanceof Date) ?\n (dateStart as any).toISOString() :\n dateStart;\n }\n\n if (series !== undefined) {\n localVarQueryParameter['series'] = series;\n }\n\n if (nextToken !== undefined) {\n localVarQueryParameter['nextToken'] = nextToken;\n }\n\n if (sortOrder !== undefined) {\n localVarQueryParameter['sortOrder'] = sortOrder;\n }\n\n if (invoiceType !== undefined) {\n localVarQueryParameter['invoiceType'] = invoiceType;\n }\n\n if (statuses) {\n localVarQueryParameter['statuses'] = statuses.join(COLLECTION_FORMATS.csv);\n }\n\n if (externalInvoiceId !== undefined) {\n localVarQueryParameter['externalInvoiceId'] = externalInvoiceId;\n }\n\n if (sortBy !== undefined) {\n localVarQueryParameter['sortBy'] = sortBy;\n }\n\n localVarHeaderParameter['Accept'] = 'application/json';\n\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Returns marketplace-dependent schemas and their respective set of possible values. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).\n * @param {string} marketplaceId The marketplace identifier.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n getInvoicesAttributes: async (marketplaceId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n // verify required parameter 'marketplaceId' is not null or undefined\n assertParamExists('getInvoicesAttributes', 'marketplaceId', marketplaceId)\n const localVarPath = `/tax/invoices/2024-06-19/attributes`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n if (marketplaceId !== undefined) {\n localVarQueryParameter['marketplaceId'] = marketplaceId;\n }\n\n localVarHeaderParameter['Accept'] = 'application/json';\n\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Returns the invoice document\\'s ID and URL. Use the URL to download the ZIP file, which contains the invoices from the corresponding `createInvoicesExport` request. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0167 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).\n * @param {string} invoicesDocumentId The export document identifier.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n getInvoicesDocument: async (invoicesDocumentId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n // verify required parameter 'invoicesDocumentId' is not null or undefined\n assertParamExists('getInvoicesDocument', 'invoicesDocumentId', invoicesDocumentId)\n const localVarPath = `/tax/invoices/2024-06-19/documents/{invoicesDocumentId}`\n .replace('{invoicesDocumentId}', encodeURIComponent(String(invoicesDocumentId)));\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n localVarHeaderParameter['Accept'] = 'application/json';\n\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Returns invoice export details (including the `exportDocumentId`, if available) for the export that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 15 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).\n * @param {string} exportId The unique identifier for the export.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n getInvoicesExport: async (exportId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n // verify required parameter 'exportId' is not null or undefined\n assertParamExists('getInvoicesExport', 'exportId', exportId)\n const localVarPath = `/tax/invoices/2024-06-19/exports/{exportId}`\n .replace('{exportId}', encodeURIComponent(String(exportId)));\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n localVarHeaderParameter['Accept'] = 'application/json';\n\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * Returns invoice exports details for exports that match the filters that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.1 | 20 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).\n * @param {string} marketplaceId The returned exports match the specified marketplace.\n * @param {string} [dateStart] The earliest export creation date and time for exports that you want to include in the response. Values are in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format. The default is 30 days ago.\n * @param {string} [nextToken] The response includes `nextToken` when the number of results exceeds the specified `pageSize` value. 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 {number} [pageSize] The maximum number of invoices to return in a single call. Minimum: 1 Maximum: 100\n * @param {string} [dateEnd] The latest export creation date and time for exports that you want to include in the response. Values are in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format. The default value is the time of the request.\n * @param {GetInvoicesExportsStatusEnum} [status] Return exports matching the status specified. \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n getInvoicesExports: async (marketplaceId: string, dateStart?: string, nextToken?: string, pageSize?: number, dateEnd?: string, status?: GetInvoicesExportsStatusEnum, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n // verify required parameter 'marketplaceId' is not null or undefined\n assertParamExists('getInvoicesExports', 'marketplaceId', marketplaceId)\n const localVarPath = `/tax/invoices/2024-06-19/exports`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n if (marketplaceId !== undefined) {\n localVarQueryParameter['marketplaceId'] = marketplaceId;\n }\n\n if (dateStart !== undefined) {\n localVarQueryParameter['dateStart'] = (dateStart as any instanceof Date) ?\n (dateStart as any).toISOString() :\n dateStart;\n }\n\n if (nextToken !== undefined) {\n localVarQueryParameter['nextToken'] = nextToken;\n }\n\n if (pageSize !== undefined) {\n localVarQueryParameter['pageSize'] = pageSize;\n }\n\n if (dateEnd !== undefined) {\n localVarQueryParameter['dateEnd'] = (dateEnd as any instanceof Date) ?\n (dateEnd as any).toISOString() :\n dateEnd;\n }\n\n if (status !== undefined) {\n localVarQueryParameter['status'] = status;\n }\n\n localVarHeaderParameter['Accept'] = 'application/json';\n\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n }\n};\n\n/**\n * InvoicesApi - functional programming interface\n */\nexport const InvoicesApiFp = function(configuration?: Configuration) {\n const localVarAxiosParamCreator = InvoicesApiAxiosParamCreator(configuration)\n return {\n /**\n * Submits an asynchronous government invoice creation request. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0167 | 1 | For more information, see \\\"Usage Plans and Rate Limits\\\" in the Selling Partner API documentation.\n * @param {GovernmentInvoiceRequest} body Information required to create the government invoice.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async createGovernmentInvoice(body: GovernmentInvoiceRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.createGovernmentInvoice(body, options);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['InvoicesApi.createGovernmentInvoice']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n /**\n * Creates an invoice export request. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.167 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).\n * @param {ExportInvoicesRequest} body Information required to create the export request.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async createInvoicesExport(body: ExportInvoicesRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ExportInvoicesResponse>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.createInvoicesExport(body, options);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['InvoicesApi.createInvoicesExport']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n /**\n * Returns an invoiceDocument object containing an invoiceDocumentUrl . **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0167 | 1 | For more information, see \\\"Usage Plans and Rate Limits\\\" in the Selling Partner API documentation.\n * @param {string} marketplaceId The invoices returned will match the marketplace that you specify.\n * @param {string} transactionType Marketplace specific classification of the transaction type that originated the invoice. Check \\'transactionType\\' options using \\'getInvoicesAttributes\\' operation.\n * @param {string} shipmentId The unique shipment identifier to get an invoice for.\n * @param {string} invoiceType Marketplace specific classification of the invoice type. Check \\'invoiceType\\' options using \\'getInvoicesAttributes\\' operation.\n * @param {string} [inboundPlanId] The unique InboundPlan identifier in which the shipment is contained and for which the invoice will be created.\n * @param {string} [fileFormat] Requested file format. Default is XML\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async getGovernmentInvoiceDocument(marketplaceId: string, transactionType: string, shipmentId: string, invoiceType: string, inboundPlanId?: string, fileFormat?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GovtInvoiceDocumentResponse>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.getGovernmentInvoiceDocument(marketplaceId, transactionType, shipmentId, invoiceType, inboundPlanId, fileFormat, options);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['InvoicesApi.getGovernmentInvoiceDocument']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n /**\n * Returns the status of an invoice generation request. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0167 | 1 | For more information, see \\\"Usage Plans and Rate Limits\\\" in the Selling Partner API documentation.\n * @param {string} marketplaceId The invoices status will match the marketplace that you specify.\n * @param {string} transactionType Marketplace specific classification of the transaction type that originated the invoice. Check \\'transactionType\\' options using \\'getInvoicesAttributes\\' operation.\n * @param {string} shipmentId The unique shipment identifier to get an invoice for.\n * @param {string} invoiceType Marketplace specific classification of the invoice type. Check \\'invoiceType\\' options using \\'getInvoicesAttributes\\' operation.\n * @param {string} [inboundPlanId] The unique InboundPlan identifier in which the shipment is contained and for which the invoice will be created.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async getGovernmentInvoiceStatus(marketplaceId: string, transactionType: string, shipmentId: string, invoiceType: string, inboundPlanId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GovernmentInvoiceStatusResponse>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.getGovernmentInvoiceStatus(marketplaceId, transactionType, shipmentId, invoiceType, inboundPlanId, options);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['InvoicesApi.getGovernmentInvoiceStatus']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n /**\n * Returns invoice data for the specified invoice. This operation returns only a subset of the invoices data; refer to the response definition to get all the possible attributes. To get the full invoice, use the `createInvoicesExport` operation to start an export request. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 15 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).\n * @param {string} marketplaceId The marketplace from which you want the invoice.\n * @param {string} invoiceId The invoice identifier.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async getInvoice(marketplaceId: string, invoiceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetInvoiceResponse>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.getInvoice(marketplaceId, invoiceId, options);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['InvoicesApi.getInvoice']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n /**\n * Returns invoice details for the invoices that match the filters that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.1 | 20 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).\n * @param {string} marketplaceId The response includes only the invoices that match the specified marketplace.\n * @param {string} [transactionIdentifierName] The name of the transaction identifier filter. If you provide a value for this field, you must also provide a value for the `transactionIdentifierId` field.Use the `getInvoicesAttributes` operation to check `transactionIdentifierName` options.\n * @param {number} [pageSize] The maximum number of invoices you want to return in a single call. Minimum: 1 Maximum: 200\n * @param {string} [dateEnd] The latest invoice creation date for invoices that you want to include in the response. Dates are in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format. The default is the current date-time.\n * @param {string} [transactionType] The marketplace-specific classification of the transaction type for which the invoice was created. Use the `getInvoicesAttributes` operation to check `transactionType` options.\n * @param {string} [transactionIdentifierId] The ID of the transaction identifier filter. If you provide a value for this field, you must also provide a value for the `transactionIdentifierName` field.\n * @param {string} [dateStart] The earliest invoice creation date for invoices that you want to include in the response. Dates are in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format. The default is 24 hours prior to the time of the request.\n * @param {string} [series] Return invoices with the specified series number.\n * @param {string} [nextToken] The response includes `nextToken` when the number of results exceeds the specified `pageSize` value. 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 {GetInvoicesSortOrderEnum} [sortOrder] Sort the invoices in the response in ascending or descending order.\n * @param {string} [invoiceType] The marketplace-specific classification of the invoice type. Use the `getInvoicesAttributes` operation to check `invoiceType` options.\n * @param {Array<string>} [statuses] A list of statuses that you can use to filter invoices. Use the `getInvoicesAttributes` operation to check invoice status options. Min count: 1\n * @param {string} [externalInvoiceId] Return invoices that match this external ID. This is typically the Government Invoice ID.\n * @param {GetInvoicesSortByEnum} [sortBy] The attribute by which you want to sort the invoices in the response.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async getInvoices(marketplaceId: string, transactionIdentifierName?: string, pageSize?: number, dateEnd?: string, transactionType?: string, transactionIdentifierId?: string, dateStart?: string, series?: string, nextToken?: string, sortOrder?: GetInvoicesSortOrderEnum, invoiceType?: string, statuses?: Array<string>, externalInvoiceId?: string, sortBy?: GetInvoicesSortByEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetInvoicesResponse>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.getInvoices(marketplaceId, transactionIdentifierName, pageSize, dateEnd, transactionType, transactionIdentifierId, dateStart, series, nextToken, sortOrder, invoiceType, statuses, externalInvoiceId, sortBy, options);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['InvoicesApi.getInvoices']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n /**\n * Returns marketplace-dependent schemas and their respective set of possible values. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).\n * @param {string} marketplaceId The marketplace identifier.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async getInvoicesAttributes(marketplaceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetInvoicesAttributesResponse>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.getInvoicesAttributes(marketplaceId, options);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['InvoicesApi.getInvoicesAttributes']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n /**\n * Returns the invoice document\\'s ID and URL. Use the URL to download the ZIP file, which contains the invoices from the corresponding `createInvoicesExport` request. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0167 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).\n * @param {string} invoicesDocumentId The export document identifier.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async getInvoicesDocument(invoicesDocumentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetInvoicesDocumentResponse>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.getInvoicesDocument(invoicesDocumentId, options);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['InvoicesApi.getInvoicesDocument']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n /**\n * Returns invoice export details (including the `exportDocumentId`, if available) for the export that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 15 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).\n * @param {string} exportId The unique identifier for the export.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async getInvoicesExport(exportId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetInvoicesExportResponse>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.getInvoicesExport(exportId, options);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['InvoicesApi.getInvoicesExport']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n /**\n * Returns invoice exports details for exports that match the filters that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.1 | 20 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).\n * @param {string} marketplaceId The returned exports match the specified marketplace.\n * @param {string} [dateStart] The earliest export creation date and time for exports that you want to include in the response. Values are in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format. The default is 30 days ago.\n * @param {string} [nextToken] The response includes `nextToken` when the number of results exceeds the specified `pageSize` value. 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 {number} [pageSize] The maximum number of invoices to return in a single call. Minimum: 1 Maximum: 100\n * @param {string} [dateEnd] The latest export creation date and time for exports that you want to include in the response. Values are in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format. The default value is the time of the request.\n * @param {GetInvoicesExportsStatusEnum} [status] Return exports matching the status specified. \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async getInvoicesExports(marketplaceId: string, dateStart?: string, nextToken?: string, pageSize?: number, dateEnd?: string, status?: GetInvoicesExportsStatusEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetInvoicesExportsResponse>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.getInvoicesExports(marketplaceId, dateStart, nextToken, pageSize, dateEnd, status, options);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['InvoicesApi.getInvoicesExports']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n }\n};\n\n/**\n * InvoicesApi - factory interface\n */\nexport const InvoicesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {\n const localVarFp = InvoicesApiFp(configuration)\n return {\n /**\n * Submits an asynchronous government invoice creation request. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0167 | 1 | For more information, see \\\"Usage Plans and Rate Limits\\\" in the Selling Partner API documentation.\n * @param {InvoicesApiCreateGovernmentInvoiceRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n createGovernmentInvoice(requestParameters: InvoicesApiCreateGovernmentInvoiceRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {\n return localVarFp.createGovernmentInvoice(requestParameters.body, options).then((request) => request(axios, basePath));\n },\n /**\n * Creates an invoice export request. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.167 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).\n * @param {InvoicesApiCreateInvoicesExportRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n createInvoicesExport(requestParameters: InvoicesApiCreateInvoicesExportRequest, options?: RawAxiosRequestConfig): AxiosPromise<ExportInvoicesResponse> {\n return localVarFp.createInvoicesExport(requestParameters.body, options).then((request) => request(axios, basePath));\n },\n /**\n * Returns an invoiceDocument object containing an invoiceDocumentUrl . **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0167 | 1 | For more information, see \\\"Usage Plans and Rate Limits\\\" in the Selling Partner API documentation.\n * @param {InvoicesApiGetGovernmentInvoiceDocumentRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n getGovernmentInvoiceDocument(requestParameters: InvoicesApiGetGovernmentInvoiceDocumentRequest, options?: RawAxiosRequestConfig): AxiosPromise<GovtInvoiceDocumentResponse> {\n return localVarFp.getGovernmentInvoiceDocument(requestParameters.marketplaceId, requestParameters.transactionType, requestParameters.shipmentId, requestParameters.invoiceType, requestParameters.inboundPlanId, requestParameters.fileFormat, options).then((request) => request(axios, basePath));\n },\n /**\n * Returns the status of an invoice generation request. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0167 | 1 | For more information, see \\\"Usage Plans and Rate Limits\\\" in the Selling Partner API documentation.\n * @param {InvoicesApiGetGovernmentInvoiceStatusRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n getGovernmentInvoiceStatus(requestParameters: InvoicesApiGetGovernmentInvoiceStatusRequest, options?: RawAxiosRequestConfig): AxiosPromise<GovernmentInvoiceStatusResponse> {\n return localVarFp.getGovernmentInvoiceStatus(requestParameters.marketplaceId, requestParameters.transactionType, requestParameters.shipmentId, requestParameters.invoiceType, requestParameters.inboundPlanId, options).then((request) => request(axios, basePath));\n },\n /**\n * Returns invoice data for the specified invoice. This operation returns only a subset of the invoices data; refer to the response definition to get all the possible attributes. To get the full invoice, use the `createInvoicesExport` operation to start an export request. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 15 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).\n * @param {InvoicesApiGetInvoiceRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n getInvoice(requestParameters: InvoicesApiGetInvoiceRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetInvoiceResponse> {\n return localVarFp.getInvoice(requestParameters.marketplaceId, requestParameters.invoiceId, options).then((request) => request(axios, basePath));\n },\n /**\n * Returns invoice details for the invoices that match the filters that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.1 | 20 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).\n * @param {InvoicesApiGetInvoicesRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n getInvoices(requestParameters: InvoicesApiGetInvoicesRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetInvoicesResponse> {\n return localVarFp.getInvoices(requestParameters.marketplaceId, requestParameters.transactionIdentifierName, requestParameters.pageSize, requestParameters.dateEnd, requestParameters.transactionType, requestParameters.transactionIdentifierId, requestParameters.dateStart, requestParameters.series, requestParameters.nextToken, requestParameters.sortOrder, requestParameters.invoiceType, requestParameters.statuses, requestParameters.externalInvoiceId, requestParameters.sortBy, options).then((request) => request(axios, basePath));\n },\n /**\n * Returns marketplace-dependent schemas and their respective set of possible values. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).\n * @param {InvoicesApiGetInvoicesAttributesRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n getInvoicesAttributes(requestParameters: InvoicesApiGetInvoicesAttributesRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetInvoicesAttributesResponse> {\n return localVarFp.getInvoicesAttributes(requestParameters.marketplaceId, options).then((request) => request(axios, basePath));\n },\n /**\n * Returns the invoice document\\'s ID and URL. Use the URL to download the ZIP file, which contains the invoices from the corresponding `createInvoicesExport` request. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0167 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).\n * @param {InvoicesApiGetInvoicesDocumentRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n getInvoicesDocument(requestParameters: InvoicesApiGetInvoicesDocumentRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetInvoicesDocumentResponse> {\n return localVarFp.getInvoicesDocument(requestParameters.invoicesDocumentId, options).then((request) => request(axios, basePath));\n },\n /**\n * Returns invoice export details (including the `exportDocumentId`, if available) for the export that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 15 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).\n * @param {InvoicesApiGetInvoicesExportRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n getInvoicesExport(requestParameters: InvoicesApiGetInvoicesExportRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetInvoicesExportResponse> {\n return localVarFp.getInvoicesExport(requestParameters.exportId, options).then((request) => request(axios, basePath));\n },\n /**\n * Returns invoice exports details for exports that match the filters that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.1 | 20 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).\n * @param {InvoicesApiGetInvoicesExportsRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n getInvoicesExports(requestParameters: InvoicesApiGetInvoicesExportsRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetInvoicesExportsResponse> {\n return localVarFp.getInvoicesExports(requestParameters.marketplaceId, requestParameters.dateStart, requestParameters.nextToken, requestParameters.pageSize, requestParameters.dateEnd, requestParameters.status, options).then((request) => request(axios, basePath));\n },\n };\n};\n\n/**\n * Request parameters for createGovernmentInvoice operation in InvoicesApi.\n */\nexport interface InvoicesApiCreateGovernmentInvoiceRequest {\n /**\n * Information required to create the government invoice.\n */\n readonly body: GovernmentInvoiceRequest\n}\n\n/**\n * Request parameters for createInvoicesExport operation in InvoicesApi.\n */\nexport interface InvoicesApiCreateInvoicesExportRequest {\n /**\n * Information required to create the export request.\n */\n readonly body: ExportInvoicesRequest\n}\n\n/**\n * Request parameters for getGovernmentInvoiceDocument operation in InvoicesApi.\n */\nexport interface InvoicesApiGetGovernmentInvoiceDocumentRequest {\n /**\n * The invoices returned will match the marketplace that you specify.\n */\n readonly marketplaceId: string\n\n /**\n * Marketplace specific classification of the transaction type that originated the invoice. Check \\'transactionType\\' options using \\'getInvoicesAttributes\\' operation.\n */\n readonly transactionType: string\n\n /**\n * The unique shipment identifier to get an invoice for.\n */\n readonly shipmentId: string\n\n /**\n * Marketplace specific classification of the invoice type. Check \\'invoiceType\\' options using \\'getInvoicesAttributes\\' operation.\n */\n readonly invoiceType: string\n\n /**\n * The unique InboundPlan identifier in which the shipment is contained and for which the invoice will be created.\n */\n readonly inboundPlanId?: string\n\n /**\n * Requested file format. Default is XML\n */\n readonly fileFormat?: string\n}\n\n/**\n * Request parameters for getGovernmentInvoiceStatus operation in InvoicesApi.\n */\nexport interface InvoicesApiGetGovernmentInvoiceStatusRequest {\n /**\n * The invoices status will match the marketplace that you specify.\n */\n readonly marketplaceId: string\n\n /**\n * Marketplace specific classification of the transaction type that originated the invoice. Check \\'transactionType\\' options using \\'getInvoicesAttributes\\' operation.\n */\n readonly transactionType: string\n\n /**\n * The unique shipment identifier to get an invoice for.\n */\n readonly shipmentId: string\n\n /**\n * Marketplace specific classification of the invoice type. Check \\'invoiceType\\' options using \\'getInvoicesAttributes\\' operation.\n */\n readonly invoiceType: string\n\n /**\n * The unique InboundPlan identifier in which the shipment is contained and for which the invoice will be created.\n */\n readonly inboundPlanId?: string\n}\n\n/**\n * Request parameters for getInvoice operation in InvoicesApi.\n */\nexport interface InvoicesApiGetInvoiceRequest {\n /**\n * The marketplace from which you want the invoice.\n */\n readonly marketplaceId: string\n\n /**\n * The invoice identifier.\n */\n readonly invoiceId: string\n}\n\n/**\n * Request parameters for getInvoices operation in InvoicesApi.\n */\nexport interface InvoicesApiGetInvoicesRequest {\n /**\n * The response includes only the invoices that match the specified marketplace.\n */\n readonly marketplaceId: string\n\n /**\n * The name of the transaction identifier filter. If you provide a value for this field, you must also provide a value for the `transactionIdentifierId` field.Use the `getInvoicesAttributes` operation to check `transactionIdentifierName` options.\n */\n readonly transactionIdentifierName?: string\n\n /**\n * The maximum number of invoices you want to return in a single call. Minimum: 1 Maximum: 200\n */\n readonly pageSize?: number\n\n /**\n * The latest invoice creation date for invoices that you want to include in the response. Dates are in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format. The default is the current date-time.\n */\n readonly dateEnd?: string\n\n /**\n * The marketplace-specific classification of the transaction type for which the invoice was created. Use the `getInvoicesAttributes` operation to check `transactionType` options.\n */\n readonly transactionType?: string\n\n /**\n * The ID of the transaction identifier filter. If you provide a value for this field, you must also provide a value for the `transactionIdentifierName` field.\n */\n readonly transactionIdentifierId?: string\n\n /**\n * The earliest invoice creation date for invoices that you want to include in the response. Dates are in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format. The default is 24 hours prior to the time of the request.\n */\n readonly dateStart?: string\n\n /**\n * Return invoices with the specified series number.\n */\n readonly series?: string\n\n /**\n * The response includes `nextToken` when the number of results exceeds the specified `pageSize` value. 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 nextToken?: string\n\n /**\n * Sort the invoices in the response in ascending or descending order.\n */\n readonly sortOrder?: GetInvoicesSortOrderEnum\n\n /**\n * The marketplace-specific classification of the invoice type. Use the `getInvoicesAttributes` operation to check `invoiceType` options.\n */\n readonly invoiceType?: string\n\n /**\n * A list of statuses that you can use to filter invoices. Use the `getInvoicesAttributes` operation to check invoice status options. Min count: 1\n */\n readonly statuses?: Array<string>\n\n /**\n * Return invoices that match this external ID. This is typically the Government Invoice ID.\n */\n readonly externalInvoiceId?: string\n\n /**\n * The attribute by which you want to sort the invoices in the response.\n */\n readonly sortBy?: GetInvoicesSortByEnum\n}\n\n/**\n * Request parameters for getInvoicesAttributes operation in InvoicesApi.\n */\nexport interface InvoicesApiGetInvoicesAttributesRequest {\n /**\n * The marketplace identifier.\n */\n readonly marketplaceId: string\n}\n\n/**\n * Request parameters for getInvoicesDocument operation in InvoicesApi.\n */\nexport interface InvoicesApiGetInvoicesDocumentRequest {\n /**\n * The export document identifier.\n */\n readonly invoicesDocumentId: string\n}\n\n/**\n * Request parameters for getInvoicesExport operation in InvoicesApi.\n */\nexport interface InvoicesApiGetInvoicesExportRequest {\n /**\n * The unique identifier for the export.\n */\n readonly exportId: string\n}\n\n/**\n * Request parameters for getInvoicesExports operation in InvoicesApi.\n */\nexport interface InvoicesApiGetInvoicesExportsRequest {\n /**\n * The returned exports match the specified marketplace.\n */\n readonly marketplaceId: string\n\n /**\n * The earliest export creation date and time for exports that you want to include in the response. Values are in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format. The default is 30 days ago.\n */\n readonly dateStart?: string\n\n /**\n * The response includes `nextToken` when the number of results exceeds the specified `pageSize` value. 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 nextToken?: string\n\n /**\n * The maximum number of invoices to return in a single call. Minimum: 1 Maximum: 100\n */\n readonly pageSize?: number\n\n /**\n * The latest export creation date and time for exports that you want to include in the response. Values are in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format. The default value is the time of the request.\n */\n readonly dateEnd?: string\n\n /**\n * Return exports matching the status specified. \n */\n readonly status?: GetInvoicesExportsStatusEnum\n}\n\n/**\n * InvoicesApi - object-oriented interface\n */\nexport class InvoicesApi extends BaseAPI {\n /**\n * Submits an asynchronous government invoice creation request. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0167 | 1 | For more information, see \\\"Usage Plans and Rate Limits\\\" in the Selling Partner API documentation.\n * @param {InvoicesApiCreateGovernmentInvoiceRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n public createGovernmentInvoice(requestParameters: InvoicesApiCreateGovernmentInvoiceRequest, options?: RawAxiosRequestConfig) {\n return InvoicesApiFp(this.configuration).createGovernmentInvoice(requestParameters.body, options).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Creates an invoice export request. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.167 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).\n * @param {InvoicesApiCreateInvoicesExportRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n public createInvoicesExport(requestParameters: InvoicesApiCreateInvoicesExportRequest, options?: RawAxiosRequestConfig) {\n return InvoicesApiFp(this.configuration).createInvoicesExport(requestParameters.body, options).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Returns an invoiceDocument object containing an invoiceDocumentUrl . **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0167 | 1 | For more information, see \\\"Usage Plans and Rate Limits\\\" in the Selling Partner API documentation.\n * @param {InvoicesApiGetGovernmentInvoiceDocumentRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n public getGovernmentInvoiceDocument(requestParameters: InvoicesApiGetGovernmentInvoiceDocumentRequest, options?: RawAxiosRequestConfig) {\n return InvoicesApiFp(this.configuration).getGovernmentInvoiceDocument(requestParameters.marketplaceId, requestParameters.transactionType, requestParameters.shipmentId, requestParameters.invoiceType, requestParameters.inboundPlanId, requestParameters.fileFormat, options).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Returns the status of an invoice generation request. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0167 | 1 | For more information, see \\\"Usage Plans and Rate Limits\\\" in the Selling Partner API documentation.\n * @param {InvoicesApiGetGovernmentInvoiceStatusRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n public getGovernmentInvoiceStatus(requestParameters: InvoicesApiGetGovernmentInvoiceStatusRequest, options?: RawAxiosRequestConfig) {\n return InvoicesApiFp(this.configuration).getGovernmentInvoiceStatus(requestParameters.marketplaceId, requestParameters.transactionType, requestParameters.shipmentId, requestParameters.invoiceType, requestParameters.inboundPlanId, options).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Returns invoice data for the specified invoice. This operation returns only a subset of the invoices data; refer to the response definition to get all the possible attributes. To get the full invoice, use the `createInvoicesExport` operation to start an export request. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 15 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).\n * @param {InvoicesApiGetInvoiceRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n public getInvoice(requestParameters: InvoicesApiGetInvoiceRequest, options?: RawAxiosRequestConfig) {\n return InvoicesApiFp(this.configuration).getInvoice(requestParameters.marketplaceId, requestParameters.invoiceId, options).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Returns invoice details for the invoices that match the filters that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.1 | 20 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).\n * @param {InvoicesApiGetInvoicesRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n public getInvoices(requestParameters: InvoicesApiGetInvoicesRequest, options?: RawAxiosRequestConfig) {\n return InvoicesApiFp(this.configuration).getInvoices(requestParameters.marketplaceId, requestParameters.transactionIdentifierName, requestParameters.pageSize, requestParameters.dateEnd, requestParameters.transactionType, requestParameters.transactionIdentifierId, requestParameters.dateStart, requestParameters.series, requestParameters.nextToken, requestParameters.sortOrder, requestParameters.invoiceType, requestParameters.statuses, requestParameters.externalInvoiceId, requestParameters.sortBy, options).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Returns marketplace-dependent schemas and their respective set of possible values. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).\n * @param {InvoicesApiGetInvoicesAttributesRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n public getInvoicesAttributes(requestParameters: InvoicesApiGetInvoicesAttributesRequest, options?: RawAxiosRequestConfig) {\n return InvoicesApiFp(this.configuration).getInvoicesAttributes(requestParameters.marketplaceId, options).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Returns the invoice document\\'s ID and URL. Use the URL to download the ZIP file, which contains the invoices from the corresponding `createInvoicesExport` request. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0167 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).\n * @param {InvoicesApiGetInvoicesDocumentRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n public getInvoicesDocument(requestParameters: InvoicesApiGetInvoicesDocumentRequest, options?: RawAxiosRequestConfig) {\n return InvoicesApiFp(this.configuration).getInvoicesDocument(requestParameters.invoicesDocumentId, options).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Returns invoice export details (including the `exportDocumentId`, if available) for the export that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 15 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).\n * @param {InvoicesApiGetInvoicesExportRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n public getInvoicesExport(requestParameters: InvoicesApiGetInvoicesExportRequest, options?: RawAxiosRequestConfig) {\n return InvoicesApiFp(this.configuration).getInvoicesExport(requestParameters.exportId, options).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Returns invoice exports details for exports that match the filters that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.1 | 20 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).\n * @param {InvoicesApiGetInvoicesExportsRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n public getInvoicesExports(requestParameters: InvoicesApiGetInvoicesExportsRequest, options?: RawAxiosRequestConfig) {\n return InvoicesApiFp(this.configuration).getInvoicesExports(requestParameters.marketplaceId, requestParameters.dateStart, requestParameters.nextToken, requestParameters.pageSize, requestParameters.dateEnd, requestParameters.status, options).then((request) => request(this.axios, this.basePath));\n }\n}\n\nexport const GetInvoicesSortOrderEnum = {\n Desc: 'DESC',\n Asc: 'ASC',\n} as const;\nexport type GetInvoicesSortOrderEnum = typeof GetInvoicesSortOrderEnum[keyof typeof GetInvoicesSortOrderEnum];\nexport const GetInvoicesSortByEnum = {\n StartDateTime: 'START_DATE_TIME',\n} as const;\nexport type GetInvoicesSortByEnum = typeof GetInvoicesSortByEnum[keyof typeof GetInvoicesSortByEnum];\nexport const GetInvoicesExportsStatusEnum = {\n Requested: 'REQUESTED',\n Processing: 'PROCESSING',\n Done: 'DONE',\n Error: 'ERROR',\n} as const;\nexport type GetInvoicesExportsStatusEnum = typeof GetInvoicesExportsStatusEnum[keyof typeof GetInvoicesExportsStatusEnum];\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * The Selling Partner API for Invoices.\n * Use the Selling Partner API for Invoices to retrieve and manage invoice-related operations, which can help selling partners manage their bookkeeping processes.\n *\n * The version of the OpenAPI document: 2024-06-19\n * \n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n\nimport type { Configuration } from './configuration.js';\n// Some imports not used depending on template conditions\n// @ts-ignore\nimport type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';\nimport globalAxios from 'axios';\n\nexport const BASE_PATH = \"https://sellingpartnerapi-na.amazon.com\".replace(/\\/+$/, \"\");\n\nexport const COLLECTION_FORMATS = {\n csv: \",\",\n ssv: \" \",\n tsv: \"\\t\",\n pipes: \"|\",\n};\n\nexport interface RequestArgs {\n url: string;\n options: RawAxiosRequestConfig;\n}\n\nexport class BaseAPI {\n protected configuration: Configuration | undefined;\n\n constructor(configuration?: Configuration, protected basePath: string = BASE_PATH, protected axios: AxiosInstance = globalAxios) {\n if (configuration) {\n this.configuration = configuration;\n this.basePath = configuration.basePath ?? basePath;\n }\n }\n};\n\nexport class RequiredError extends Error {\n constructor(public field: string, msg?: string) {\n super(msg);\n this.name = \"RequiredError\"\n }\n}\n\ninterface ServerMap {\n [key: string]: {\n url: string,\n description: string,\n }[];\n}\n\nexport const operationServerMap: ServerMap = {\n}\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * The Selling Partner API for Invoices.\n * Use the Selling Partner API for Invoices to retrieve and manage invoice-related operations, which can help selling partners manage their bookkeeping processes.\n *\n * The version of the OpenAPI document: 2024-06-19\n * \n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\nimport type { Configuration } from \"./configuration.js\";\nimport type { RequestArgs } from \"./base.js\";\nimport type { AxiosInstance, AxiosResponse } from 'axios';\nimport { RequiredError } from \"./base.js\";\n\nexport const DUMMY_BASE_URL = 'https://example.com'\n\n/**\n *\n * @throws {RequiredError}\n */\nexport const assertParamExists = function (functionName: string, paramName: string, paramValue: unknown) {\n if (paramValue === null || paramValue === undefined) {\n throw new RequiredError(paramName, `Required parameter ${paramName} was null or undefined when calling ${functionName}.`);\n }\n}\n\nexport const setApiKeyToObject = async function (object: any, keyParamName: string, configuration?: Configuration) {\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(keyParamName)\n : await configuration.apiKey;\n object[keyParamName] = localVarApiKeyValue;\n }\n}\n\nexport const setBasicAuthToObject = function (object: any, configuration?: Configuration) {\n if (configuration && (configuration.username || configuration.password)) {\n object[\"auth\"] = { username: configuration.username, password: configuration.password };\n }\n}\n\nexport const setBearerAuthToObject = async function (object: any, configuration?: Configuration) {\n if (configuration && configuration.accessToken) {\n const accessToken = typeof configuration.accessToken === 'function'\n ? await configuration.accessToken()\n : await configuration.accessToken;\n object[\"Authorization\"] = \"Bearer \" + accessToken;\n }\n}\n\nexport const setOAuthToObject = async function (object: any, name: string, scopes: string[], configuration?: Configuration) {\n if (configuration && configuration.accessToken) {\n const localVarAccessTokenValue = typeof configuration.accessToken === 'function'\n ? await configuration.accessToken(name, scopes)\n : await configuration.accessToken;\n object[\"Authorization\"] = \"Bearer \" + localVarAccessTokenValue;\n }\n}\n\n\nfunction setFlattenedQueryParams(urlSearchParams: URLSearchParams, parameter: any, key: string = \"\"): void {\n if (parameter == null) return;\n if (typeof parameter === \"object\") {\n if (Array.isArray(parameter) || parameter instanceof Set) {\n (parameter as any[]).forEach(item => setFlattenedQueryParams(urlSearchParams, item, key));\n }\n else {\n Object.keys(parameter).forEach(currentKey =>\n setFlattenedQueryParams(urlSearchParams, parameter[currentKey], `${key}${key !== '' ? '.' : ''}${currentKey}`)\n );\n }\n }\n else {\n if (urlSearchParams.has(key)) {\n urlSearchParams.append(key, parameter);\n }\n else {\n urlSearchParams.set(key, parameter);\n }\n }\n}\n\nexport const setSearchParams = function (url: URL, ...objects: any[]) {\n const searchParams = new URLSearchParams(url.search);\n setFlattenedQueryParams(searchParams, objects);\n url.search = searchParams.toString();\n}\n\n/**\n * JSON serialization helper function which replaces instances of unserializable types with serializable ones.\n * This function will run for every key-value pair encountered by JSON.stringify while traversing an object.\n * Converting a set to a string will return an empty object, so an intermediate conversion to an array is required.\n */\n// @ts-ignore\nexport const replaceWithSerializableTypeIfNeeded = function(key: string, value: any) {\n if (value instanceof Set) {\n return Array.from(value);\n } else {\n return value;\n }\n}\n\nexport const serializeDataIfNeeded = function (value: any, requestOptions: any, configuration?: Configuration) {\n const nonString = typeof value !== 'string';\n const needsSerialization = nonString && configuration && configuration.isJsonMime\n ? configuration.isJsonMime(requestOptions.headers['Content-Type'])\n : nonString;\n return needsSerialization\n ? JSON.stringify(value !== undefined ? value : {}, replaceWithSerializableTypeIfNeeded)\n : (value || \"\");\n}\n\nexport const toPathString = function (url: URL) {\n return url.pathname + url.search + url.hash\n}\n\nexport const createRequestFunction = function (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) {\n return <T = unknown, R = AxiosResponse<T>>(axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...axiosArgs.options, url: (axios.defaults.baseURL ? '' : configuration?.basePath ?? basePath) + axiosArgs.url};\n return axios.request<T, R>(axiosRequestArgs);\n };\n}\n","/* tslint:disable */\n/**\n * The Selling Partner API for Invoices.\n * Use the Selling Partner API for Invoices to retrieve and manage invoice-related operations, which can help selling partners manage their bookkeeping processes.\n *\n * The version of the OpenAPI document: 2024-06-19\n * \n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\ninterface AWSv4Configuration {\n options?: {\n region?: string\n service?: string\n }\n credentials?: {\n accessKeyId?: string\n secretAccessKey?: string,\n sessionToken?: string\n }\n}\n\nexport interface ConfigurationParameters {\n apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);\n username?: string;\n password?: string;\n accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);\n awsv4?: AWSv4Configuration;\n basePath?: string;\n serverIndex?: number;\n baseOptions?: any;\n formDataCtor?: new () => any;\n}\n\nexport class Configuration {\n /**\n * parameter for apiKey security\n * @param name security name\n */\n apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);\n /**\n * parameter for basic security\n */\n username?: string;\n /**\n * parameter for basic security\n */\n password?: string;\n /**\n * parameter for oauth2 security\n * @param name security name\n * @param scopes oauth2 scope\n */\n accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);\n /**\n * parameter for aws4 signature security\n * @param {Object} AWS4Signature - AWS4 Signature security\n * @param {string} options.region - aws region\n * @param {string} options.service - name of the service.\n * @param {string} credentials.accessKeyId - aws access key id\n * @param {string} credentials.secretAccessKey - aws access key\n * @param {string} credentials.sessionToken - aws session token\n * @memberof Configuration\n */\n awsv4?: AWSv4Configuration;\n /**\n * override base path\n */\n basePath?: string;\n /**\n * override server index\n */\n serverIndex?: number;\n /**\n * base options for axios calls\n */\n baseOptions?: any;\n /**\n * The FormData constructor that will be used to create multipart form data\n * requests. You can inject this here so that execution environments that\n * do not support the FormData class can still run the generated client.\n *\n * @type {new () => FormData}\n */\n formDataCtor?: new () => any;\n\n constructor(param: ConfigurationParameters = {}) {\n this.apiKey = param.apiKey;\n this.username = param.username;\n this.password = param.password;\n this.accessToken = param.accessToken;\n this.awsv4 = param.awsv4;\n this.basePath = param.basePath;\n this.serverIndex = param.serverIndex;\n this.baseOptions = {\n ...param.baseOptions,\n headers: {\n ...param.baseOptions?.headers,\n },\n };\n this.formDataCtor = param.formDataCtor;\n }\n\n /**\n * Check if the given MIME is a JSON MIME.\n * JSON MIME examples:\n * application/json\n * application/json; charset=UTF8\n * APPLICATION/JSON\n * application/vnd.company+json\n * @param mime - MIME (Multipurpose Internet Mail Extensions)\n * @return True if the given MIME is JSON, false otherwise.\n */\n public isJsonMime(mime: string): boolean {\n const jsonMime: RegExp = /^(application\\/json|[^;/ \\t]+\\/[^;/ \\t]+[+]json)[ \\t]*(;.*)?$/i;\n return mime !== null && jsonMime.test(mime);\n }\n}\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * The Selling Partner API for Invoices.\n * Use the Selling Partner API for Invoices to retrieve and manage invoice-related operations, which can help selling partners manage their bookkeeping processes.\n *\n * The version of the OpenAPI document: 2024-06-19\n * \n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n\n\n/**\n * The current status of the request.\n */\n\nexport const ExportStatus = {\n Requested: 'REQUESTED',\n Processing: 'PROCESSING',\n Done: 'DONE',\n Error: 'ERROR',\n} as const;\n\nexport type ExportStatus = typeof ExportStatus[keyof typeof ExportStatus];\n\n\n\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * The Selling Partner API for Invoices.\n * Use the Selling Partner API for Invoices to retrieve and manage invoice-related operations, which can help selling partners manage their bookkeeping processes.\n *\n * The version of the OpenAPI document: 2024-06-19\n * \n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n\n\n/**\n * Supported invoice file extensions.\n */\n\nexport const FileFormat = {\n Xml: 'XML',\n} as const;\n\nexport type FileFormat = typeof FileFormat[keyof typeof FileFormat];\n\n\n\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * The Selling Partner API for Invoices.\n * Use the Selling Partner API for Invoices to retrieve and manage invoice-related operations, which can help selling partners manage their bookkeeping processes.\n *\n * The version of the OpenAPI document: 2024-06-19\n * \n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n\n\n/**\n * The current status of a government invoice creation request.\n */\n\nexport const GovernmentInvoiceCreationStatus = {\n Processing: 'PROCESSING',\n Success: 'SUCCESS',\n Error: 'ERROR',\n} as const;\n\nexport type GovernmentInvoiceCreationStatus = typeof GovernmentInvoiceCreationStatus[keyof typeof GovernmentInvoiceCreationStatus];\n\n\n\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA,IAAAA,iBAA4E;;;ACiB5E,IAAAC,gBAAwB;;;ACExB,mBAAwB;AAEjB,IAAM,YAAY,0CAA0C,QAAQ,QAAQ,EAAE;AAE9E,IAAM,qBAAqB;AAAA,EAC9B,KAAK;AAAA,EACL,KAAK;AAAA,EACL,KAAK;AAAA,EACL,OAAO;AACX;AAOO,IAAM,UAAN,MAAc;AAAA,EAGjB,YAAY,eAAyC,WAAmB,WAAqB,QAAuB,aAAAC,SAAa;AAA5E;AAAwC;AACzF,QAAI,eAAe;AACf,WAAK,gBAAgB;AACrB,WAAK,WAAW,cAAc,YAAY;AAAA,IAC9C;AAAA,EACJ;AAAA,EALqD;AAAA,EAAwC;AAAA,EAFnF;AAQd;AAEO,IAAM,gBAAN,cAA4B,MAAM;AAAA,EACrC,YAAmB,OAAe,KAAc;AAC5C,UAAM,GAAG;AADM;AAEf,SAAK,OAAO;AAAA,EAChB;AAAA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