@sp-api-sdk/vendor-shipments-api-v1 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 { GetShipmentDetailsResponse } from '../models';
16
17
  import { GetShipmentLabels } from '../models';
@@ -425,7 +426,7 @@ export declare class VendorShippingApi extends BaseAPI {
425
426
  * @throws {RequiredError}
426
427
  * @memberof VendorShippingApi
427
428
  */
428
- getShipmentDetails(requestParameters?: VendorShippingApiGetShipmentDetailsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetShipmentDetailsResponse, any>>;
429
+ getShipmentDetails(requestParameters?: VendorShippingApiGetShipmentDetailsRequest, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetShipmentDetailsResponse, any>>;
429
430
  /**
430
431
  * Returns transport Labels based on the filters that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | 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).
431
432
  * @param {VendorShippingApiGetShipmentLabelsRequest} requestParameters Request parameters.
@@ -433,7 +434,7 @@ export declare class VendorShippingApi extends BaseAPI {
433
434
  * @throws {RequiredError}
434
435
  * @memberof VendorShippingApi
435
436
  */
436
- getShipmentLabels(requestParameters?: VendorShippingApiGetShipmentLabelsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetShipmentLabels, any>>;
437
+ getShipmentLabels(requestParameters?: VendorShippingApiGetShipmentLabelsRequest, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetShipmentLabels, any>>;
437
438
  /**
438
439
  * Submits one or more shipment confirmations for vendor orders. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | 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).
439
440
  * @param {VendorShippingApiSubmitShipmentConfirmationsRequest} requestParameters Request parameters.
@@ -441,7 +442,7 @@ export declare class VendorShippingApi extends BaseAPI {
441
442
  * @throws {RequiredError}
442
443
  * @memberof VendorShippingApi
443
444
  */
444
- submitShipmentConfirmations(requestParameters: VendorShippingApiSubmitShipmentConfirmationsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SubmitShipmentConfirmationsResponse, any>>;
445
+ submitShipmentConfirmations(requestParameters: VendorShippingApiSubmitShipmentConfirmationsRequest, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<SubmitShipmentConfirmationsResponse, any>>;
445
446
  /**
446
447
  * Submits one or more shipment request for vendor Orders. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | 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).
447
448
  * @param {VendorShippingApiSubmitShipmentsRequest} requestParameters Request parameters.
@@ -449,5 +450,5 @@ export declare class VendorShippingApi extends BaseAPI {
449
450
  * @throws {RequiredError}
450
451
  * @memberof VendorShippingApi
451
452
  */
452
- submitShipments(requestParameters: VendorShippingApiSubmitShipmentsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SubmitShipmentConfirmationsResponse, any>>;
453
+ submitShipments(requestParameters: VendorShippingApiSubmitShipmentsRequest, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<SubmitShipmentConfirmationsResponse, any>>;
453
454
  }
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@sp-api-sdk/vendor-shipments-api-v1",
3
3
  "author": "Vincent Mesquita <vincent.mesquita@bizon.solutions>",
4
4
  "description": "The Selling Partner API for Retail Procurement Shipments provides programmatic access to retail shipping data for vendors.",
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
  "vendor shipments api"
42
42
  ],
43
- "gitHead": "23d420d10e931be7657141e989fccdc9dafe2a9c"
43
+ "gitHead": "96729dd2eabfca855da5eb33f271c0b09b449972"
44
44
  }