@sp-api-sdk/shipment-invoicing-api-v0 2.0.2 → 2.0.4

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 { GetInvoiceStatusResponse } from '../models';
16
17
  import { GetShipmentDetailsResponse } from '../models';
@@ -158,7 +159,7 @@ export declare class ShipmentInvoiceApi extends BaseAPI {
158
159
  * @throws {RequiredError}
159
160
  * @memberof ShipmentInvoiceApi
160
161
  */
161
- getInvoiceStatus(requestParameters: ShipmentInvoiceApiGetInvoiceStatusRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetInvoiceStatusResponse, any>>;
162
+ getInvoiceStatus(requestParameters: ShipmentInvoiceApiGetInvoiceStatusRequest, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetInvoiceStatusResponse, any>>;
162
163
  /**
163
164
  * Returns the shipment details required to issue an invoice for the specified shipment. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1.133 | 25 | 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).
164
165
  * @param {ShipmentInvoiceApiGetShipmentDetailsRequest} requestParameters Request parameters.
@@ -166,7 +167,7 @@ export declare class ShipmentInvoiceApi extends BaseAPI {
166
167
  * @throws {RequiredError}
167
168
  * @memberof ShipmentInvoiceApi
168
169
  */
169
- getShipmentDetails(requestParameters: ShipmentInvoiceApiGetShipmentDetailsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetShipmentDetailsResponse, any>>;
170
+ getShipmentDetails(requestParameters: ShipmentInvoiceApiGetShipmentDetailsRequest, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetShipmentDetailsResponse, any>>;
170
171
  /**
171
172
  * Submits a shipment invoice document for a given shipment. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1.133 | 25 | 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).
172
173
  * @param {ShipmentInvoiceApiSubmitInvoiceRequest} requestParameters Request parameters.
@@ -174,5 +175,5 @@ export declare class ShipmentInvoiceApi extends BaseAPI {
174
175
  * @throws {RequiredError}
175
176
  * @memberof ShipmentInvoiceApi
176
177
  */
177
- submitInvoice(requestParameters: ShipmentInvoiceApiSubmitInvoiceRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SubmitInvoiceResponse, any>>;
178
+ submitInvoice(requestParameters: ShipmentInvoiceApiSubmitInvoiceRequest, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<SubmitInvoiceResponse, any>>;
178
179
  }
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@sp-api-sdk/shipment-invoicing-api-v0",
3
3
  "author": "Vincent Mesquita <vincent.mesquita@bizon.solutions>",
4
4
  "description": "The Selling Partner API for Shipment Invoicing helps you programmatically retrieve shipment invoice information in the Brazil marketplace for a selling partner’s Fulfillment by Amazon (FBA) orders.",
5
- "version": "2.0.2",
5
+ "version": "2.0.4",
6
6
  "main": "dist/cjs/index.js",
7
7
  "module": "dist/es/index.js",
8
8
  "types": "dist/types/index.d.ts",
@@ -18,8 +18,8 @@
18
18
  "dist/**/*.d.ts"
19
19
  ],
20
20
  "dependencies": {
21
- "@sp-api-sdk/common": "2.0.2",
22
- "axios": "^1.6.1"
21
+ "@sp-api-sdk/common": "2.0.4",
22
+ "axios": "^1.6.2"
23
23
  },
24
24
  "repository": {
25
25
  "type": "git",
@@ -40,5 +40,5 @@
40
40
  "sp sdk",
41
41
  "shipment invoicing api"
42
42
  ],
43
- "gitHead": "23d420d10e931be7657141e989fccdc9dafe2a9c"
43
+ "gitHead": "96729dd2eabfca855da5eb33f271c0b09b449972"
44
44
  }