@sp-api-sdk/finances-api-v0 2.2.0 → 2.2.1

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.
@@ -11,6 +11,7 @@
11
11
  */
12
12
  import type { Configuration } from '../configuration';
13
13
  import type { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
14
+ import globalAxios from 'axios';
14
15
  import { RequestArgs, BaseAPI } from '../base';
15
16
  import { ListFinancialEventGroupsResponse } from '../models';
16
17
  import { ListFinancialEventsResponse } from '../models';
@@ -278,7 +279,7 @@ export declare class DefaultApi extends BaseAPI {
278
279
  * @throws {RequiredError}
279
280
  * @memberof DefaultApi
280
281
  */
281
- listFinancialEventGroups(requestParameters?: DefaultApiListFinancialEventGroupsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListFinancialEventGroupsResponse, any>>;
282
+ listFinancialEventGroups(requestParameters?: DefaultApiListFinancialEventGroupsRequest, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<ListFinancialEventGroupsResponse, any>>;
282
283
  /**
283
284
  * Returns financial events for the specified data range. It may take up to 48 hours for orders to appear in your financial events. **Note:** in `ListFinancialEvents`, deferred events don\'t show up in responses until in they are released. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
284
285
  * @param {DefaultApiListFinancialEventsRequest} requestParameters Request parameters.
@@ -286,7 +287,7 @@ export declare class DefaultApi extends BaseAPI {
286
287
  * @throws {RequiredError}
287
288
  * @memberof DefaultApi
288
289
  */
289
- listFinancialEvents(requestParameters?: DefaultApiListFinancialEventsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListFinancialEventsResponse, any>>;
290
+ listFinancialEvents(requestParameters?: DefaultApiListFinancialEventsRequest, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<ListFinancialEventsResponse, any>>;
290
291
  /**
291
292
  * Returns all financial events for the specified financial event group. It may take up to 48 hours for orders to appear in your financial events. **Note:** This operation will only retrieve group\'s data for the past two years. If a request is submitted for data spanning more than two years, an empty response is returned. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
292
293
  * @param {DefaultApiListFinancialEventsByGroupIdRequest} requestParameters Request parameters.
@@ -294,7 +295,7 @@ export declare class DefaultApi extends BaseAPI {
294
295
  * @throws {RequiredError}
295
296
  * @memberof DefaultApi
296
297
  */
297
- listFinancialEventsByGroupId(requestParameters: DefaultApiListFinancialEventsByGroupIdRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListFinancialEventsResponse, any>>;
298
+ listFinancialEventsByGroupId(requestParameters: DefaultApiListFinancialEventsByGroupIdRequest, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<ListFinancialEventsResponse, any>>;
298
299
  /**
299
300
  * Returns all financial events for the specified order. It may take up to 48 hours for orders to appear in your financial events. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
300
301
  * @param {DefaultApiListFinancialEventsByOrderIdRequest} requestParameters Request parameters.
@@ -302,5 +303,5 @@ export declare class DefaultApi extends BaseAPI {
302
303
  * @throws {RequiredError}
303
304
  * @memberof DefaultApi
304
305
  */
305
- listFinancialEventsByOrderId(requestParameters: DefaultApiListFinancialEventsByOrderIdRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListFinancialEventsResponse, any>>;
306
+ listFinancialEventsByOrderId(requestParameters: DefaultApiListFinancialEventsByOrderIdRequest, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<ListFinancialEventsResponse, any>>;
306
307
  }
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@sp-api-sdk/finances-api-v0",
3
3
  "author": "Vincent Mesquita <vincent.mesquita@bizon.solutions>",
4
4
  "description": "The Selling Partner API for Finances helps you obtain financial information relevant to a seller's business. You can obtain financial events for a given order, financial event group, or date range without having to wait until a statement period closes. You can also obtain financial event groups for a given date range.",
5
- "version": "2.2.0",
5
+ "version": "2.2.1",
6
6
  "main": "dist/cjs/index.js",
7
7
  "module": "dist/es/index.js",
8
8
  "types": "dist/types/index.d.ts",
@@ -18,7 +18,7 @@
18
18
  "dist/**/*.d.ts"
19
19
  ],
20
20
  "dependencies": {
21
- "@sp-api-sdk/common": "2.0.3",
21
+ "@sp-api-sdk/common": "2.0.4",
22
22
  "axios": "^1.6.2"
23
23
  },
24
24
  "repository": {
@@ -40,5 +40,5 @@
40
40
  "sp sdk",
41
41
  "finances api"
42
42
  ],
43
- "gitHead": "c81279baeb662780ae3cb42fb60fa11670fed191"
43
+ "gitHead": "96729dd2eabfca855da5eb33f271c0b09b449972"
44
44
  }