{"version":3,"file":"index.cjs","names":["axios","globalAxios","globalAxios","axios","createAxiosInstance"],"sources":["../src/api-model/base.ts","../src/api-model/common.ts","../src/api-model/api/finances-api.ts","../src/api-model/configuration.ts","../src/api-model/models/balance.ts","../src/api-model/models/business-context.ts","../src/api-model/models/item-related-identifier.ts","../src/api-model/models/related-identifier.ts","../src/client.ts"],"sourcesContent":["/* tslint:disable */\n/* eslint-disable */\n/**\n * The Selling Partner API for Finances\n * The Selling Partner API for Finances provides financial information relevant to a seller\\'s business. You can obtain financial events for a given order or date range without having to wait until a statement period closes.\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 Finances\n * The Selling Partner API for Finances provides financial information relevant to a seller\\'s business. You can obtain financial events for a given order or date range without having to wait until a statement period closes.\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): Promise<R> => {\n        const axiosRequestArgs = {...axiosArgs.options, url: (axios.defaults.baseURL ? '' : configuration?.basePath ?? basePath) + axiosArgs.url};\n        return axios.request<T, R>(axiosRequestArgs) as Promise<R>;\n    };\n}\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * The Selling Partner API for Finances\n * The Selling Partner API for Finances provides financial information relevant to a seller\\'s business. You can obtain financial events for a given order or date range without having to wait until a statement period closes.\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 { ListBalancesResponse } from '../models/index.js';\n// @ts-ignore\nimport type { ListTransactionsResponse } from '../models/index.js';\n// @ts-ignore\nimport type { SummaryResponse } from '../models/index.js';\n/**\n * FinancesApi - axios parameter creator\n */\nexport const FinancesApiAxiosParamCreator = function (configuration?: Configuration) {\n    return {\n        /**\n         * Retrieve a balance. This balance can be a past balances at a specified date, or a current balance. Sub-balances are listed by account type and marketplace.  **Usage Plan:**  | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 10 |  The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that apply to the 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 {Array<string>} [marketplaceIds] The marketplaces from which to retrieve balances. If omitted, balances from all applicable marketplaces may be returned. To find the marketplace ID for a region, refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids).\n         * @param {string} [balanceType] The type of balance to include in the response. If omitted, all balance types may be included in the response.  **Possible values:** &#x60;AVAILABLE&#x60;, &#x60;RESERVED&#x60;, &#x60;TOTAL&#x60;, &#x60;DEFERRED&#x60;, &#x60;ACCOUNT_LEVEL_RESERVE&#x60;\n         * @param {string} [accountType] The type of account to include in the response.\n         * @param {string} [asOfDate] The date from which you want to retrieve balances. If provided, the response includes historical balances at the specified date. The value must be in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date format. If omitted, the point in time balance is provided.\n         * @param {string} [nextToken] A token that you use to retrieve subsequent pages of results. When there are more than 500 results available, the response will include a &#x60;nextToken&#x60; 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. Repeat this process until the &#x60;nextToken&#x60; value is null to retrieve all results.\n         * @param {*} [options] Override http request option.\n         * @throws {RequiredError}\n         */\n        listBalances: async (marketplaceIds?: Array<string>, balanceType?: string, accountType?: string, asOfDate?: string, nextToken?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n            const localVarPath = `/finances/2024-06-19/balances`;\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 (marketplaceIds) {\n                localVarQueryParameter['marketplaceIds'] = marketplaceIds.join(COLLECTION_FORMATS.csv);\n            }\n\n            if (balanceType !== undefined) {\n                localVarQueryParameter['balanceType'] = balanceType;\n            }\n\n            if (accountType !== undefined) {\n                localVarQueryParameter['accountType'] = accountType;\n            }\n\n            if (asOfDate !== undefined) {\n                localVarQueryParameter['asOfDate'] = (asOfDate as any instanceof Date) ?\n                    (asOfDate as any).toISOString().substring(0,10) :\n                    asOfDate;\n            }\n\n            if (nextToken !== undefined) {\n                localVarQueryParameter['nextToken'] = nextToken;\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         * Retrieve the financial summary for the specified time period or settlement period.  **Usage Plan:**  | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 10 |  The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that apply to the 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 {Array<string>} [marketplaceIds] The marketplaces from which to retrieve summaries. If omitted, summaries from all applicable marketplaces may be returned. To find the marketplace ID for a region, refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids).\n         * @param {string} [accountType] The type of account to include in the response.\n         * @param {string} [relatedIdentifierName] The name of the &#x60;relatedIdentifier&#x60;. The only possible value is &#x60;SETTLEMENT_ID&#x60;, the settlement ID associated with the summary.\n         * @param {string} [relatedIdentifierValue] The value of the &#x60;relatedIdentifier&#x60;.\n         * @param {string} [periodStart] The start of the period for which to retrieve summaries. When provided, the response will only include summaries with transactions that occurred on or after the specified date. The value must be formatted in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date format.\n         * @param {string} [periodEnd] The end of the period for which to retrieve summaries. When provided, the response will only include summaries with transactions that occurred on or before the specified date. The value must be formatted in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date format.\n         * @param {string} [nextToken] A token that you use to retrieve subsequent pages of results. When there are more results available, the response will include a &#x60;nextToken&#x60; 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. Repeat this process until the &#x60;nextToken&#x60; value is null to retrieve all results.\n         * @param {*} [options] Override http request option.\n         * @throws {RequiredError}\n         */\n        listSummary: async (marketplaceIds?: Array<string>, accountType?: string, relatedIdentifierName?: string, relatedIdentifierValue?: string, periodStart?: string, periodEnd?: string, nextToken?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n            const localVarPath = `/finances/2024-06-19/summary`;\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 (marketplaceIds) {\n                localVarQueryParameter['marketplaceIds'] = marketplaceIds.join(COLLECTION_FORMATS.csv);\n            }\n\n            if (accountType !== undefined) {\n                localVarQueryParameter['accountType'] = accountType;\n            }\n\n            if (relatedIdentifierName !== undefined) {\n                localVarQueryParameter['relatedIdentifierName'] = relatedIdentifierName;\n            }\n\n            if (relatedIdentifierValue !== undefined) {\n                localVarQueryParameter['relatedIdentifierValue'] = relatedIdentifierValue;\n            }\n\n            if (periodStart !== undefined) {\n                localVarQueryParameter['periodStart'] = (periodStart as any instanceof Date) ?\n                    (periodStart as any).toISOString().substring(0,10) :\n                    periodStart;\n            }\n\n            if (periodEnd !== undefined) {\n                localVarQueryParameter['periodEnd'] = (periodEnd as any instanceof Date) ?\n                    (periodEnd as any).toISOString().substring(0,10) :\n                    periodEnd;\n            }\n\n            if (nextToken !== undefined) {\n                localVarQueryParameter['nextToken'] = nextToken;\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 transactions for the given parameters. Financial events might not include orders from the last 48 hours. **Note:** If you want to retrieve MFN orders in the US store, do not supply the `marketplaceId` parameter.  **Usage plan:**  | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 10 |  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 contains 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](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits).\n         * @param {string} [postedAfter] The response includes financial events posted on or after this date. This date must be in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format. The date-time must be more than two minutes before the time of the request.  This field is required if you do not specify a related identifier.\n         * @param {string} [postedBefore] The response includes financial events posted before (but not on) this date. This date must be in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format.  The date-time must be later than &#x60;PostedAfter&#x60; and more than two minutes before the request was submitted. If &#x60;PostedAfter&#x60; and &#x60;PostedBefore&#x60; are more than 180 days apart, the response is empty.  **Default:** Two minutes before the time of the request.\n         * @param {string} [marketplaceId] The identifier of the marketplace from which you want to retrieve transactions. The marketplace ID is the globally unique identifier of a marketplace. To find the ID for a marketplace, refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids).\n         * @param {string} [transactionStatus] The status of the transaction.  **Possible values:**  * &#x60;DEFERRED&#x60;: the transaction is currently deferred. * &#x60;RELEASED&#x60;: the transaction is currently released. * &#x60;DEFERRED_RELEASED&#x60;: the transaction was deferred in the past, but is now released. The status of a deferred transaction is updated to &#x60;DEFERRED_RELEASED&#x60; when the transaction is released.\n         * @param {string} [relatedIdentifierName] The name of the &#x60;relatedIdentifier&#x60;.  **Possible values:**  * &#x60;FINANCIAL_EVENT_GROUP_ID&#x60;: the financial event group ID associated with the transaction.  * &#x60;ORDER_ID&#x60;: the order ID associated with the transaction.    **Note:**  &#x60;FINANCIAL_EVENT_GROUP_ID&#x60; and &#x60;ORDER_ID&#x60; are the only &#x60;relatedIdentifier&#x60; with filtering capabilities at the moment. While other &#x60;relatedIdentifier&#x60; values will be included in the response when available, they cannot be used for filtering purposes.\n         * @param {string} [relatedIdentifierValue] The value of the &#x60;relatedIdentifier&#x60;.\n         * @param {string} [nextToken] The response includes &#x60;nextToken&#x60; when the number of results exceeds the specified &#x60;pageSize&#x60; 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 &#x60;nextToken&#x60; is null. Note that this operation can return empty pages.\n         * @param {*} [options] Override http request option.\n         * @throws {RequiredError}\n         */\n        listTransactions: async (postedAfter?: string, postedBefore?: string, marketplaceId?: string, transactionStatus?: string, relatedIdentifierName?: string, relatedIdentifierValue?: string, nextToken?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n            const localVarPath = `/finances/2024-06-19/transactions`;\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 (postedAfter !== undefined) {\n                localVarQueryParameter['postedAfter'] = (postedAfter as any instanceof Date) ?\n                    (postedAfter as any).toISOString() :\n                    postedAfter;\n            }\n\n            if (postedBefore !== undefined) {\n                localVarQueryParameter['postedBefore'] = (postedBefore as any instanceof Date) ?\n                    (postedBefore as any).toISOString() :\n                    postedBefore;\n            }\n\n            if (marketplaceId !== undefined) {\n                localVarQueryParameter['marketplaceId'] = marketplaceId;\n            }\n\n            if (transactionStatus !== undefined) {\n                localVarQueryParameter['transactionStatus'] = transactionStatus;\n            }\n\n            if (relatedIdentifierName !== undefined) {\n                localVarQueryParameter['relatedIdentifierName'] = relatedIdentifierName;\n            }\n\n            if (relatedIdentifierValue !== undefined) {\n                localVarQueryParameter['relatedIdentifierValue'] = relatedIdentifierValue;\n            }\n\n            if (nextToken !== undefined) {\n                localVarQueryParameter['nextToken'] = nextToken;\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 * FinancesApi - functional programming interface\n */\nexport const FinancesApiFp = function(configuration?: Configuration) {\n    const localVarAxiosParamCreator = FinancesApiAxiosParamCreator(configuration)\n    return {\n        /**\n         * Retrieve a balance. This balance can be a past balances at a specified date, or a current balance. Sub-balances are listed by account type and marketplace.  **Usage Plan:**  | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 10 |  The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that apply to the 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 {Array<string>} [marketplaceIds] The marketplaces from which to retrieve balances. If omitted, balances from all applicable marketplaces may be returned. To find the marketplace ID for a region, refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids).\n         * @param {string} [balanceType] The type of balance to include in the response. If omitted, all balance types may be included in the response.  **Possible values:** &#x60;AVAILABLE&#x60;, &#x60;RESERVED&#x60;, &#x60;TOTAL&#x60;, &#x60;DEFERRED&#x60;, &#x60;ACCOUNT_LEVEL_RESERVE&#x60;\n         * @param {string} [accountType] The type of account to include in the response.\n         * @param {string} [asOfDate] The date from which you want to retrieve balances. If provided, the response includes historical balances at the specified date. The value must be in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date format. If omitted, the point in time balance is provided.\n         * @param {string} [nextToken] A token that you use to retrieve subsequent pages of results. When there are more than 500 results available, the response will include a &#x60;nextToken&#x60; 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. Repeat this process until the &#x60;nextToken&#x60; value is null to retrieve all results.\n         * @param {*} [options] Override http request option.\n         * @throws {RequiredError}\n         */\n        async listBalances(marketplaceIds?: Array<string>, balanceType?: string, accountType?: string, asOfDate?: string, nextToken?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListBalancesResponse>> {\n            const localVarAxiosArgs = await localVarAxiosParamCreator.listBalances(marketplaceIds, balanceType, accountType, asOfDate, nextToken, options);\n            const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n            const localVarOperationServerBasePath = operationServerMap['FinancesApi.listBalances']?.[localVarOperationServerIndex]?.url;\n            return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n        },\n        /**\n         * Retrieve the financial summary for the specified time period or settlement period.  **Usage Plan:**  | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 10 |  The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that apply to the 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 {Array<string>} [marketplaceIds] The marketplaces from which to retrieve summaries. If omitted, summaries from all applicable marketplaces may be returned. To find the marketplace ID for a region, refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids).\n         * @param {string} [accountType] The type of account to include in the response.\n         * @param {string} [relatedIdentifierName] The name of the &#x60;relatedIdentifier&#x60;. The only possible value is &#x60;SETTLEMENT_ID&#x60;, the settlement ID associated with the summary.\n         * @param {string} [relatedIdentifierValue] The value of the &#x60;relatedIdentifier&#x60;.\n         * @param {string} [periodStart] The start of the period for which to retrieve summaries. When provided, the response will only include summaries with transactions that occurred on or after the specified date. The value must be formatted in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date format.\n         * @param {string} [periodEnd] The end of the period for which to retrieve summaries. When provided, the response will only include summaries with transactions that occurred on or before the specified date. The value must be formatted in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date format.\n         * @param {string} [nextToken] A token that you use to retrieve subsequent pages of results. When there are more results available, the response will include a &#x60;nextToken&#x60; 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. Repeat this process until the &#x60;nextToken&#x60; value is null to retrieve all results.\n         * @param {*} [options] Override http request option.\n         * @throws {RequiredError}\n         */\n        async listSummary(marketplaceIds?: Array<string>, accountType?: string, relatedIdentifierName?: string, relatedIdentifierValue?: string, periodStart?: string, periodEnd?: string, nextToken?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SummaryResponse>> {\n            const localVarAxiosArgs = await localVarAxiosParamCreator.listSummary(marketplaceIds, accountType, relatedIdentifierName, relatedIdentifierValue, periodStart, periodEnd, nextToken, options);\n            const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n            const localVarOperationServerBasePath = operationServerMap['FinancesApi.listSummary']?.[localVarOperationServerIndex]?.url;\n            return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n        },\n        /**\n         * Returns transactions for the given parameters. Financial events might not include orders from the last 48 hours. **Note:** If you want to retrieve MFN orders in the US store, do not supply the `marketplaceId` parameter.  **Usage plan:**  | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 10 |  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 contains 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](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits).\n         * @param {string} [postedAfter] The response includes financial events posted on or after this date. This date must be in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format. The date-time must be more than two minutes before the time of the request.  This field is required if you do not specify a related identifier.\n         * @param {string} [postedBefore] The response includes financial events posted before (but not on) this date. This date must be in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format.  The date-time must be later than &#x60;PostedAfter&#x60; and more than two minutes before the request was submitted. If &#x60;PostedAfter&#x60; and &#x60;PostedBefore&#x60; are more than 180 days apart, the response is empty.  **Default:** Two minutes before the time of the request.\n         * @param {string} [marketplaceId] The identifier of the marketplace from which you want to retrieve transactions. The marketplace ID is the globally unique identifier of a marketplace. To find the ID for a marketplace, refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids).\n         * @param {string} [transactionStatus] The status of the transaction.  **Possible values:**  * &#x60;DEFERRED&#x60;: the transaction is currently deferred. * &#x60;RELEASED&#x60;: the transaction is currently released. * &#x60;DEFERRED_RELEASED&#x60;: the transaction was deferred in the past, but is now released. The status of a deferred transaction is updated to &#x60;DEFERRED_RELEASED&#x60; when the transaction is released.\n         * @param {string} [relatedIdentifierName] The name of the &#x60;relatedIdentifier&#x60;.  **Possible values:**  * &#x60;FINANCIAL_EVENT_GROUP_ID&#x60;: the financial event group ID associated with the transaction.  * &#x60;ORDER_ID&#x60;: the order ID associated with the transaction.    **Note:**  &#x60;FINANCIAL_EVENT_GROUP_ID&#x60; and &#x60;ORDER_ID&#x60; are the only &#x60;relatedIdentifier&#x60; with filtering capabilities at the moment. While other &#x60;relatedIdentifier&#x60; values will be included in the response when available, they cannot be used for filtering purposes.\n         * @param {string} [relatedIdentifierValue] The value of the &#x60;relatedIdentifier&#x60;.\n         * @param {string} [nextToken] The response includes &#x60;nextToken&#x60; when the number of results exceeds the specified &#x60;pageSize&#x60; 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 &#x60;nextToken&#x60; is null. Note that this operation can return empty pages.\n         * @param {*} [options] Override http request option.\n         * @throws {RequiredError}\n         */\n        async listTransactions(postedAfter?: string, postedBefore?: string, marketplaceId?: string, transactionStatus?: string, relatedIdentifierName?: string, relatedIdentifierValue?: string, nextToken?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListTransactionsResponse>> {\n            const localVarAxiosArgs = await localVarAxiosParamCreator.listTransactions(postedAfter, postedBefore, marketplaceId, transactionStatus, relatedIdentifierName, relatedIdentifierValue, nextToken, options);\n            const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n            const localVarOperationServerBasePath = operationServerMap['FinancesApi.listTransactions']?.[localVarOperationServerIndex]?.url;\n            return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n        },\n    }\n};\n\n/**\n * FinancesApi - factory interface\n */\nexport const FinancesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {\n    const localVarFp = FinancesApiFp(configuration)\n    return {\n        /**\n         * Retrieve a balance. This balance can be a past balances at a specified date, or a current balance. Sub-balances are listed by account type and marketplace.  **Usage Plan:**  | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 10 |  The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that apply to the 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 {FinancesApiListBalancesRequest} requestParameters Request parameters.\n         * @param {*} [options] Override http request option.\n         * @throws {RequiredError}\n         */\n        listBalances(requestParameters: FinancesApiListBalancesRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<ListBalancesResponse> {\n            return localVarFp.listBalances(requestParameters.marketplaceIds, requestParameters.balanceType, requestParameters.accountType, requestParameters.asOfDate, requestParameters.nextToken, options).then((request) => request(axios, basePath));\n        },\n        /**\n         * Retrieve the financial summary for the specified time period or settlement period.  **Usage Plan:**  | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 10 |  The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that apply to the 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 {FinancesApiListSummaryRequest} requestParameters Request parameters.\n         * @param {*} [options] Override http request option.\n         * @throws {RequiredError}\n         */\n        listSummary(requestParameters: FinancesApiListSummaryRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<SummaryResponse> {\n            return localVarFp.listSummary(requestParameters.marketplaceIds, requestParameters.accountType, requestParameters.relatedIdentifierName, requestParameters.relatedIdentifierValue, requestParameters.periodStart, requestParameters.periodEnd, requestParameters.nextToken, options).then((request) => request(axios, basePath));\n        },\n        /**\n         * Returns transactions for the given parameters. Financial events might not include orders from the last 48 hours. **Note:** If you want to retrieve MFN orders in the US store, do not supply the `marketplaceId` parameter.  **Usage plan:**  | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 10 |  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 contains 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](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits).\n         * @param {FinancesApiListTransactionsRequest} requestParameters Request parameters.\n         * @param {*} [options] Override http request option.\n         * @throws {RequiredError}\n         */\n        listTransactions(requestParameters: FinancesApiListTransactionsRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<ListTransactionsResponse> {\n            return localVarFp.listTransactions(requestParameters.postedAfter, requestParameters.postedBefore, requestParameters.marketplaceId, requestParameters.transactionStatus, requestParameters.relatedIdentifierName, requestParameters.relatedIdentifierValue, requestParameters.nextToken, options).then((request) => request(axios, basePath));\n        },\n    };\n};\n\n/**\n * Request parameters for listBalances operation in FinancesApi.\n */\nexport interface FinancesApiListBalancesRequest {\n    /**\n     * The marketplaces from which to retrieve balances. If omitted, balances from all applicable marketplaces may be returned. To find the marketplace ID for a region, refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids).\n     */\n    readonly marketplaceIds?: Array<string>\n\n    /**\n     * The type of balance to include in the response. If omitted, all balance types may be included in the response.  **Possible values:** &#x60;AVAILABLE&#x60;, &#x60;RESERVED&#x60;, &#x60;TOTAL&#x60;, &#x60;DEFERRED&#x60;, &#x60;ACCOUNT_LEVEL_RESERVE&#x60;\n     */\n    readonly balanceType?: string\n\n    /**\n     * The type of account to include in the response.\n     */\n    readonly accountType?: string\n\n    /**\n     * The date from which you want to retrieve balances. If provided, the response includes historical balances at the specified date. The value must be in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date format. If omitted, the point in time balance is provided.\n     */\n    readonly asOfDate?: string\n\n    /**\n     * A token that you use to retrieve subsequent pages of results. When there are more than 500 results available, the response will include a &#x60;nextToken&#x60; 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. Repeat this process until the &#x60;nextToken&#x60; value is null to retrieve all results.\n     */\n    readonly nextToken?: string\n}\n\n/**\n * Request parameters for listSummary operation in FinancesApi.\n */\nexport interface FinancesApiListSummaryRequest {\n    /**\n     * The marketplaces from which to retrieve summaries. If omitted, summaries from all applicable marketplaces may be returned. To find the marketplace ID for a region, refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids).\n     */\n    readonly marketplaceIds?: Array<string>\n\n    /**\n     * The type of account to include in the response.\n     */\n    readonly accountType?: string\n\n    /**\n     * The name of the &#x60;relatedIdentifier&#x60;. The only possible value is &#x60;SETTLEMENT_ID&#x60;, the settlement ID associated with the summary.\n     */\n    readonly relatedIdentifierName?: string\n\n    /**\n     * The value of the &#x60;relatedIdentifier&#x60;.\n     */\n    readonly relatedIdentifierValue?: string\n\n    /**\n     * The start of the period for which to retrieve summaries. When provided, the response will only include summaries with transactions that occurred on or after the specified date. The value must be formatted in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date format.\n     */\n    readonly periodStart?: string\n\n    /**\n     * The end of the period for which to retrieve summaries. When provided, the response will only include summaries with transactions that occurred on or before the specified date. The value must be formatted in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date format.\n     */\n    readonly periodEnd?: string\n\n    /**\n     * A token that you use to retrieve subsequent pages of results. When there are more results available, the response will include a &#x60;nextToken&#x60; 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. Repeat this process until the &#x60;nextToken&#x60; value is null to retrieve all results.\n     */\n    readonly nextToken?: string\n}\n\n/**\n * Request parameters for listTransactions operation in FinancesApi.\n */\nexport interface FinancesApiListTransactionsRequest {\n    /**\n     * The response includes financial events posted on or after this date. This date must be in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format. The date-time must be more than two minutes before the time of the request.  This field is required if you do not specify a related identifier.\n     */\n    readonly postedAfter?: string\n\n    /**\n     * The response includes financial events posted before (but not on) this date. This date must be in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format.  The date-time must be later than &#x60;PostedAfter&#x60; and more than two minutes before the request was submitted. If &#x60;PostedAfter&#x60; and &#x60;PostedBefore&#x60; are more than 180 days apart, the response is empty.  **Default:** Two minutes before the time of the request.\n     */\n    readonly postedBefore?: string\n\n    /**\n     * The identifier of the marketplace from which you want to retrieve transactions. The marketplace ID is the globally unique identifier of a marketplace. To find the ID for a marketplace, refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids).\n     */\n    readonly marketplaceId?: string\n\n    /**\n     * The status of the transaction.  **Possible values:**  * &#x60;DEFERRED&#x60;: the transaction is currently deferred. * &#x60;RELEASED&#x60;: the transaction is currently released. * &#x60;DEFERRED_RELEASED&#x60;: the transaction was deferred in the past, but is now released. The status of a deferred transaction is updated to &#x60;DEFERRED_RELEASED&#x60; when the transaction is released.\n     */\n    readonly transactionStatus?: string\n\n    /**\n     * The name of the &#x60;relatedIdentifier&#x60;.  **Possible values:**  * &#x60;FINANCIAL_EVENT_GROUP_ID&#x60;: the financial event group ID associated with the transaction.  * &#x60;ORDER_ID&#x60;: the order ID associated with the transaction.    **Note:**  &#x60;FINANCIAL_EVENT_GROUP_ID&#x60; and &#x60;ORDER_ID&#x60; are the only &#x60;relatedIdentifier&#x60; with filtering capabilities at the moment. While other &#x60;relatedIdentifier&#x60; values will be included in the response when available, they cannot be used for filtering purposes.\n     */\n    readonly relatedIdentifierName?: string\n\n    /**\n     * The value of the &#x60;relatedIdentifier&#x60;.\n     */\n    readonly relatedIdentifierValue?: string\n\n    /**\n     * The response includes &#x60;nextToken&#x60; when the number of results exceeds the specified &#x60;pageSize&#x60; 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 &#x60;nextToken&#x60; is null. Note that this operation can return empty pages.\n     */\n    readonly nextToken?: string\n}\n\n/**\n * FinancesApi - object-oriented interface\n */\nexport class FinancesApi extends BaseAPI {\n    /**\n     * Retrieve a balance. This balance can be a past balances at a specified date, or a current balance. Sub-balances are listed by account type and marketplace.  **Usage Plan:**  | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 10 |  The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that apply to the 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 {FinancesApiListBalancesRequest} requestParameters Request parameters.\n     * @param {*} [options] Override http request option.\n     * @throws {RequiredError}\n     */\n    public listBalances(requestParameters: FinancesApiListBalancesRequest = {}, options?: RawAxiosRequestConfig) {\n        return FinancesApiFp(this.configuration).listBalances(requestParameters.marketplaceIds, requestParameters.balanceType, requestParameters.accountType, requestParameters.asOfDate, requestParameters.nextToken, options).then((request) => request(this.axios, this.basePath));\n    }\n\n    /**\n     * Retrieve the financial summary for the specified time period or settlement period.  **Usage Plan:**  | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 10 |  The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that apply to the 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 {FinancesApiListSummaryRequest} requestParameters Request parameters.\n     * @param {*} [options] Override http request option.\n     * @throws {RequiredError}\n     */\n    public listSummary(requestParameters: FinancesApiListSummaryRequest = {}, options?: RawAxiosRequestConfig) {\n        return FinancesApiFp(this.configuration).listSummary(requestParameters.marketplaceIds, requestParameters.accountType, requestParameters.relatedIdentifierName, requestParameters.relatedIdentifierValue, requestParameters.periodStart, requestParameters.periodEnd, requestParameters.nextToken, options).then((request) => request(this.axios, this.basePath));\n    }\n\n    /**\n     * Returns transactions for the given parameters. Financial events might not include orders from the last 48 hours. **Note:** If you want to retrieve MFN orders in the US store, do not supply the `marketplaceId` parameter.  **Usage plan:**  | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 10 |  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 contains 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](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits).\n     * @param {FinancesApiListTransactionsRequest} requestParameters Request parameters.\n     * @param {*} [options] Override http request option.\n     * @throws {RequiredError}\n     */\n    public listTransactions(requestParameters: FinancesApiListTransactionsRequest = {}, options?: RawAxiosRequestConfig) {\n        return FinancesApiFp(this.configuration).listTransactions(requestParameters.postedAfter, requestParameters.postedBefore, requestParameters.marketplaceId, requestParameters.transactionStatus, requestParameters.relatedIdentifierName, requestParameters.relatedIdentifierValue, requestParameters.nextToken, options).then((request) => request(this.axios, this.basePath));\n    }\n}\n\n","/* tslint:disable */\n/**\n * The Selling Partner API for Finances\n * The Selling Partner API for Finances provides financial information relevant to a seller\\'s business. You can obtain financial events for a given order or date range without having to wait until a statement period closes.\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 Finances\n * The Selling Partner API for Finances provides financial information relevant to a seller\\'s business. You can obtain financial events for a given order or date range without having to wait until a statement period closes.\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// May contain unused imports in some cases\n// @ts-ignore\nimport type { Currency } from './currency.js';\n// May contain unused imports in some cases\n// @ts-ignore\nimport type { PartnerMetadata } from './partner-metadata.js';\n\n/**\n * All information relevant to a balance.\n */\nexport interface Balance {\n    'partnerMetadata'?: PartnerMetadata;\n    /**\n     * The type of balance.\n     */\n    'balanceType'?: BalanceBalanceTypeEnum;\n    'amount'?: Currency;\n    /**\n     * A list of balances that comprise this balance.\n     */\n    'balances'?: Array<Balance>;\n    /**\n     * A date in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format.\n     */\n    'asOfDate'?: string;\n    /**\n     * The date and time when the balance was last updated, in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format. The value is in the marketplace\\'s local time zone. This field is present for point-in-time balance queries (when no `asOfDate` query parameter is provided). Null for ending balance queries.\n     */\n    'lastUpdatedTime'?: string;\n}\n\nexport const BalanceBalanceTypeEnum = {\n    Available: 'AVAILABLE',\n    Reserved: 'RESERVED',\n    AccountLevelReserve: 'ACCOUNT_LEVEL_RESERVE',\n    Deferred: 'DEFERRED',\n    Total: 'TOTAL',\n} as const;\n\nexport type BalanceBalanceTypeEnum = typeof BalanceBalanceTypeEnum[keyof typeof BalanceBalanceTypeEnum];\n\n\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * The Selling Partner API for Finances\n * The Selling Partner API for Finances provides financial information relevant to a seller\\'s business. You can obtain financial events for a given order or date range without having to wait until a statement period closes.\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 * Information about the line of business associated with a transaction.\n */\nexport interface BusinessContext {\n    /**\n     * The store name associated with the transaction.\n     */\n    'storeName'?: BusinessContextStoreNameEnum;\n}\n\nexport const BusinessContextStoreNameEnum = {\n    AmazonHaul: 'AMAZON_HAUL',\n} as const;\n\nexport type BusinessContextStoreNameEnum = typeof BusinessContextStoreNameEnum[keyof typeof BusinessContextStoreNameEnum];\n\n\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * The Selling Partner API for Finances\n * The Selling Partner API for Finances provides financial information relevant to a seller\\'s business. You can obtain financial events for a given order or date range without having to wait until a statement period closes.\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 * Related business identifiers of the item.\n */\nexport interface ItemRelatedIdentifier {\n    /**\n     * Enumerated set of related item identifier names for the item.\n     */\n    'itemRelatedIdentifierName'?: ItemRelatedIdentifierItemRelatedIdentifierNameEnum;\n    /**\n     * Corresponding value to `ItemRelatedIdentifierName`.\n     */\n    'itemRelatedIdentifierValue'?: string;\n}\n\nexport const ItemRelatedIdentifierItemRelatedIdentifierNameEnum = {\n    OrderAdjustmentItemId: 'ORDER_ADJUSTMENT_ITEM_ID',\n    CouponId: 'COUPON_ID',\n    RemovalShipmentItemId: 'REMOVAL_SHIPMENT_ITEM_ID',\n    TransactionId: 'TRANSACTION_ID',\n} as const;\n\nexport type ItemRelatedIdentifierItemRelatedIdentifierNameEnum = typeof ItemRelatedIdentifierItemRelatedIdentifierNameEnum[keyof typeof ItemRelatedIdentifierItemRelatedIdentifierNameEnum];\n\n\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * The Selling Partner API for Finances\n * The Selling Partner API for Finances provides financial information relevant to a seller\\'s business. You can obtain financial events for a given order or date range without having to wait until a statement period closes.\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 * Related business identifier of the transaction.\n */\nexport interface RelatedIdentifier {\n    /**\n     * An enumerated set of related business identifier names.\n     */\n    'relatedIdentifierName'?: RelatedIdentifierRelatedIdentifierNameEnum;\n    /**\n     * Corresponding value of `RelatedIdentifierName`.\n     */\n    'relatedIdentifierValue'?: string;\n}\n\nexport const RelatedIdentifierRelatedIdentifierNameEnum = {\n    OrderId: 'ORDER_ID',\n    ShipmentId: 'SHIPMENT_ID',\n    FinancialEventGroupId: 'FINANCIAL_EVENT_GROUP_ID',\n    RefundId: 'REFUND_ID',\n    InvoiceId: 'INVOICE_ID',\n    DisbursementId: 'DISBURSEMENT_ID',\n    TransferId: 'TRANSFER_ID',\n    DeferredTransactionId: 'DEFERRED_TRANSACTION_ID',\n    ReleaseTransactionId: 'RELEASE_TRANSACTION_ID',\n    SettlementId: 'SETTLEMENT_ID',\n} as const;\n\nexport type RelatedIdentifierRelatedIdentifierNameEnum = typeof RelatedIdentifierRelatedIdentifierNameEnum[keyof typeof RelatedIdentifierRelatedIdentifierNameEnum];\n\n\n","import {type ClientConfiguration, createAxiosInstance, type RateLimit} from '@sp-api-sdk/common'\n\nimport {Configuration, FinancesApi} from './api-model/index.js'\n\nexport const clientRateLimits: RateLimit[] = [\n  {\n    method: 'get',\n    urlRegex: /^\\/finances\\/2024\\u{2D}06\\u{2D}19\\/transactions$/v,\n    rate: 0.5,\n    burst: 10,\n  },\n  {\n    method: 'get',\n    urlRegex: /^\\/finances\\/2024\\u{2D}06\\u{2D}19\\/balances$/v,\n    rate: 0.5,\n    burst: 10,\n  },\n  {\n    method: 'get',\n    urlRegex: /^\\/finances\\/2024\\u{2D}06\\u{2D}19\\/summary$/v,\n    rate: 0.5,\n    burst: 10,\n  },\n]\n\nexport class FinancesApiClient extends FinancesApi {\n  constructor(configuration: ClientConfiguration) {\n    const {axios, endpoint} = createAxiosInstance(configuration, clientRateLimits)\n\n    super(new Configuration(), endpoint, axios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