@sp-api-sdk/shipping-api-v1 3.1.6 → 3.1.8
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.
|
@@ -328,60 +328,60 @@ export declare class ShippingApi extends BaseAPI {
|
|
|
328
328
|
* @param {*} [options] Override http request option.
|
|
329
329
|
* @throws {RequiredError}
|
|
330
330
|
*/
|
|
331
|
-
cancelShipment(requestParameters: ShippingApiCancelShipmentRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<CancelShipmentResponse, any>>;
|
|
331
|
+
cancelShipment(requestParameters: ShippingApiCancelShipmentRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<CancelShipmentResponse, any, {}>>;
|
|
332
332
|
/**
|
|
333
333
|
* Create a new shipment. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 15 | 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).
|
|
334
334
|
* @param {ShippingApiCreateShipmentRequest} requestParameters Request parameters.
|
|
335
335
|
* @param {*} [options] Override http request option.
|
|
336
336
|
* @throws {RequiredError}
|
|
337
337
|
*/
|
|
338
|
-
createShipment(requestParameters: ShippingApiCreateShipmentRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<CreateShipmentResponse, any>>;
|
|
338
|
+
createShipment(requestParameters: ShippingApiCreateShipmentRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<CreateShipmentResponse, any, {}>>;
|
|
339
339
|
/**
|
|
340
340
|
* Verify if the current account is valid. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 15 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
341
341
|
* @param {*} [options] Override http request option.
|
|
342
342
|
* @throws {RequiredError}
|
|
343
343
|
*/
|
|
344
|
-
getAccount(options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetAccountResponse, any>>;
|
|
344
|
+
getAccount(options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetAccountResponse, any, {}>>;
|
|
345
345
|
/**
|
|
346
346
|
* Get service rates. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 15 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
347
347
|
* @param {ShippingApiGetRatesRequest} requestParameters Request parameters.
|
|
348
348
|
* @param {*} [options] Override http request option.
|
|
349
349
|
* @throws {RequiredError}
|
|
350
350
|
*/
|
|
351
|
-
getRates(requestParameters: ShippingApiGetRatesRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetRatesResponse, any>>;
|
|
351
|
+
getRates(requestParameters: ShippingApiGetRatesRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetRatesResponse, any, {}>>;
|
|
352
352
|
/**
|
|
353
353
|
* Return the entire shipment object for the shipmentId. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 15 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
354
354
|
* @param {ShippingApiGetShipmentRequest} requestParameters Request parameters.
|
|
355
355
|
* @param {*} [options] Override http request option.
|
|
356
356
|
* @throws {RequiredError}
|
|
357
357
|
*/
|
|
358
|
-
getShipment(requestParameters: ShippingApiGetShipmentRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetShipmentResponse, any>>;
|
|
358
|
+
getShipment(requestParameters: ShippingApiGetShipmentRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetShipmentResponse, any, {}>>;
|
|
359
359
|
/**
|
|
360
360
|
* Return the tracking information of a shipment. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
361
361
|
* @param {ShippingApiGetTrackingInformationRequest} requestParameters Request parameters.
|
|
362
362
|
* @param {*} [options] Override http request option.
|
|
363
363
|
* @throws {RequiredError}
|
|
364
364
|
*/
|
|
365
|
-
getTrackingInformation(requestParameters: ShippingApiGetTrackingInformationRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetTrackingInformationResponse, any>>;
|
|
365
|
+
getTrackingInformation(requestParameters: ShippingApiGetTrackingInformationRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetTrackingInformationResponse, any, {}>>;
|
|
366
366
|
/**
|
|
367
367
|
* Purchase shipping labels based on a given rate. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 15 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
368
368
|
* @param {ShippingApiPurchaseLabelsRequest} requestParameters Request parameters.
|
|
369
369
|
* @param {*} [options] Override http request option.
|
|
370
370
|
* @throws {RequiredError}
|
|
371
371
|
*/
|
|
372
|
-
purchaseLabels(requestParameters: ShippingApiPurchaseLabelsRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<PurchaseLabelsResponse, any>>;
|
|
372
|
+
purchaseLabels(requestParameters: ShippingApiPurchaseLabelsRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<PurchaseLabelsResponse, any, {}>>;
|
|
373
373
|
/**
|
|
374
374
|
* Purchase shipping labels. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 15 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
375
375
|
* @param {ShippingApiPurchaseShipmentRequest} requestParameters Request parameters.
|
|
376
376
|
* @param {*} [options] Override http request option.
|
|
377
377
|
* @throws {RequiredError}
|
|
378
378
|
*/
|
|
379
|
-
purchaseShipment(requestParameters: ShippingApiPurchaseShipmentRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<PurchaseShipmentResponse, any>>;
|
|
379
|
+
purchaseShipment(requestParameters: ShippingApiPurchaseShipmentRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<PurchaseShipmentResponse, any, {}>>;
|
|
380
380
|
/**
|
|
381
381
|
* Retrieve shipping label based on the shipment id and tracking id. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 15 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
382
382
|
* @param {ShippingApiRetrieveShippingLabelRequest} requestParameters Request parameters.
|
|
383
383
|
* @param {*} [options] Override http request option.
|
|
384
384
|
* @throws {RequiredError}
|
|
385
385
|
*/
|
|
386
|
-
retrieveShippingLabel(requestParameters: ShippingApiRetrieveShippingLabelRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<RetrieveShippingLabelResponse, any>>;
|
|
386
|
+
retrieveShippingLabel(requestParameters: ShippingApiRetrieveShippingLabelRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<RetrieveShippingLabelResponse, any, {}>>;
|
|
387
387
|
}
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@sp-api-sdk/shipping-api-v1",
|
|
3
3
|
"author": "Bertrand Marron <bertrand@bizon.solutions>",
|
|
4
4
|
"description": "Provides programmatic access to Amazon Shipping APIs. Note: If you are new to the Amazon Shipping API, refer to the latest version of Amazon Shipping API (v2) on the Amazon Shipping Developer Documentation site.",
|
|
5
|
-
"version": "3.1.
|
|
5
|
+
"version": "3.1.8",
|
|
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.1.
|
|
22
|
-
"axios": "^1.
|
|
21
|
+
"@sp-api-sdk/common": "2.1.19",
|
|
22
|
+
"axios": "^1.12.2"
|
|
23
23
|
},
|
|
24
24
|
"repository": {
|
|
25
25
|
"type": "git",
|
|
@@ -40,26 +40,5 @@
|
|
|
40
40
|
"sp sdk",
|
|
41
41
|
"shipping api"
|
|
42
42
|
],
|
|
43
|
-
"
|
|
44
|
-
"extends": [
|
|
45
|
-
"xo-bizon"
|
|
46
|
-
],
|
|
47
|
-
"settings": {
|
|
48
|
-
"import/internal-regex": "^@sp-api-sdk/"
|
|
49
|
-
},
|
|
50
|
-
"semicolon": false,
|
|
51
|
-
"space": 2,
|
|
52
|
-
"prettier": true,
|
|
53
|
-
"ignores": [
|
|
54
|
-
"src/api-model/**"
|
|
55
|
-
],
|
|
56
|
-
"rules": {
|
|
57
|
-
"unicorn/prevent-abbreviations": "off"
|
|
58
|
-
}
|
|
59
|
-
},
|
|
60
|
-
"prettier": {
|
|
61
|
-
"printWidth": 100,
|
|
62
|
-
"jsxSingleQuote": true
|
|
63
|
-
},
|
|
64
|
-
"gitHead": "961457650a65779f38e5d35547ca8cb2fb749943"
|
|
43
|
+
"gitHead": "95f22690de1d02f4739da49cffb24bef8b5b61c9"
|
|
65
44
|
}
|