@sp-api-sdk/shipping-api-v1 1.11.0 → 1.11.2

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.
package/README.md CHANGED
@@ -15,10 +15,6 @@ Also, see the [generated documentation](https://bizon.github.io/selling-partner-
15
15
 
16
16
  ## Installing
17
17
 
18
- ```sh
19
- yarn add @sp-api-sdk/shipping-api-v1
20
- ```
21
-
22
18
  ```sh
23
19
  npm install @sp-api-sdk/shipping-api-v1
24
20
  ```
package/dist/cjs/index.js CHANGED
@@ -1,5 +1,18 @@
1
1
  "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
2
16
  Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./src/client"), exports);
5
- tslib_1.__exportStar(require("./src/api-model/models"), exports);
17
+ __exportStar(require("./src/client"), exports);
18
+ __exportStar(require("./src/api-model/models"), exports);
@@ -12,10 +12,12 @@
12
12
  * https://openapi-generator.tech
13
13
  * Do not edit the class manually.
14
14
  */
15
+ var __importDefault = (this && this.__importDefault) || function (mod) {
16
+ return (mod && mod.__esModule) ? mod : { "default": mod };
17
+ };
15
18
  Object.defineProperty(exports, "__esModule", { value: true });
16
19
  exports.ShippingApi = exports.ShippingApiFactory = exports.ShippingApiFp = exports.ShippingApiAxiosParamCreator = void 0;
17
- const tslib_1 = require("tslib");
18
- const axios_1 = tslib_1.__importDefault(require("axios"));
20
+ const axios_1 = __importDefault(require("axios"));
19
21
  // Some imports not used depending on template conditions
20
22
  // @ts-ignore
21
23
  const common_1 = require("../common");
@@ -12,6 +12,19 @@
12
12
  * https://openapi-generator.tech
13
13
  * Do not edit the class manually.
14
14
  */
15
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
16
+ if (k2 === undefined) k2 = k;
17
+ var desc = Object.getOwnPropertyDescriptor(m, k);
18
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
19
+ desc = { enumerable: true, get: function() { return m[k]; } };
20
+ }
21
+ Object.defineProperty(o, k2, desc);
22
+ }) : (function(o, m, k, k2) {
23
+ if (k2 === undefined) k2 = k;
24
+ o[k2] = m[k];
25
+ }));
26
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
27
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
28
+ };
15
29
  Object.defineProperty(exports, "__esModule", { value: true });
16
- const tslib_1 = require("tslib");
17
- tslib_1.__exportStar(require("./api/shipping-api"), exports);
30
+ __exportStar(require("./api/shipping-api"), exports);
@@ -12,10 +12,12 @@
12
12
  * https://openapi-generator.tech
13
13
  * Do not edit the class manually.
14
14
  */
15
+ var __importDefault = (this && this.__importDefault) || function (mod) {
16
+ return (mod && mod.__esModule) ? mod : { "default": mod };
17
+ };
15
18
  Object.defineProperty(exports, "__esModule", { value: true });
16
19
  exports.RequiredError = exports.BaseAPI = exports.COLLECTION_FORMATS = exports.BASE_PATH = void 0;
17
- const tslib_1 = require("tslib");
18
- const axios_1 = tslib_1.__importDefault(require("axios"));
20
+ const axios_1 = __importDefault(require("axios"));
19
21
  exports.BASE_PATH = "https://sellingpartnerapi-na.amazon.com".replace(/\/+$/, "");
20
22
  /**
21
23
  *
@@ -12,8 +12,21 @@
12
12
  * https://openapi-generator.tech
13
13
  * Do not edit the class manually.
14
14
  */
15
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
16
+ if (k2 === undefined) k2 = k;
17
+ var desc = Object.getOwnPropertyDescriptor(m, k);
18
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
19
+ desc = { enumerable: true, get: function() { return m[k]; } };
20
+ }
21
+ Object.defineProperty(o, k2, desc);
22
+ }) : (function(o, m, k, k2) {
23
+ if (k2 === undefined) k2 = k;
24
+ o[k2] = m[k];
25
+ }));
26
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
27
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
28
+ };
15
29
  Object.defineProperty(exports, "__esModule", { value: true });
16
- const tslib_1 = require("tslib");
17
- tslib_1.__exportStar(require("./api"), exports);
18
- tslib_1.__exportStar(require("./configuration"), exports);
19
- tslib_1.__exportStar(require("./models"), exports);
30
+ __exportStar(require("./api"), exports);
31
+ __exportStar(require("./configuration"), exports);
32
+ __exportStar(require("./models"), exports);
@@ -1,46 +1,59 @@
1
1
  "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
2
16
  Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./accepted-rate"), exports);
5
- tslib_1.__exportStar(require("./account"), exports);
6
- tslib_1.__exportStar(require("./address"), exports);
7
- tslib_1.__exportStar(require("./cancel-shipment-response"), exports);
8
- tslib_1.__exportStar(require("./container"), exports);
9
- tslib_1.__exportStar(require("./container-item"), exports);
10
- tslib_1.__exportStar(require("./container-specification"), exports);
11
- tslib_1.__exportStar(require("./create-shipment-request"), exports);
12
- tslib_1.__exportStar(require("./create-shipment-response"), exports);
13
- tslib_1.__exportStar(require("./create-shipment-result"), exports);
14
- tslib_1.__exportStar(require("./currency"), exports);
15
- tslib_1.__exportStar(require("./dimensions"), exports);
16
- tslib_1.__exportStar(require("./event"), exports);
17
- tslib_1.__exportStar(require("./get-account-response"), exports);
18
- tslib_1.__exportStar(require("./get-rates-request"), exports);
19
- tslib_1.__exportStar(require("./get-rates-response"), exports);
20
- tslib_1.__exportStar(require("./get-rates-result"), exports);
21
- tslib_1.__exportStar(require("./get-shipment-response"), exports);
22
- tslib_1.__exportStar(require("./get-tracking-information-response"), exports);
23
- tslib_1.__exportStar(require("./label"), exports);
24
- tslib_1.__exportStar(require("./label-result"), exports);
25
- tslib_1.__exportStar(require("./label-specification"), exports);
26
- tslib_1.__exportStar(require("./location"), exports);
27
- tslib_1.__exportStar(require("./model-error"), exports);
28
- tslib_1.__exportStar(require("./party"), exports);
29
- tslib_1.__exportStar(require("./purchase-labels-request"), exports);
30
- tslib_1.__exportStar(require("./purchase-labels-response"), exports);
31
- tslib_1.__exportStar(require("./purchase-labels-result"), exports);
32
- tslib_1.__exportStar(require("./purchase-shipment-request"), exports);
33
- tslib_1.__exportStar(require("./purchase-shipment-response"), exports);
34
- tslib_1.__exportStar(require("./purchase-shipment-result"), exports);
35
- tslib_1.__exportStar(require("./rate"), exports);
36
- tslib_1.__exportStar(require("./retrieve-shipping-label-request"), exports);
37
- tslib_1.__exportStar(require("./retrieve-shipping-label-response"), exports);
38
- tslib_1.__exportStar(require("./retrieve-shipping-label-result"), exports);
39
- tslib_1.__exportStar(require("./service-rate"), exports);
40
- tslib_1.__exportStar(require("./service-type"), exports);
41
- tslib_1.__exportStar(require("./shipment"), exports);
42
- tslib_1.__exportStar(require("./shipping-promise-set"), exports);
43
- tslib_1.__exportStar(require("./time-range"), exports);
44
- tslib_1.__exportStar(require("./tracking-information"), exports);
45
- tslib_1.__exportStar(require("./tracking-summary"), exports);
46
- tslib_1.__exportStar(require("./weight"), exports);
17
+ __exportStar(require("./accepted-rate"), exports);
18
+ __exportStar(require("./account"), exports);
19
+ __exportStar(require("./address"), exports);
20
+ __exportStar(require("./cancel-shipment-response"), exports);
21
+ __exportStar(require("./container"), exports);
22
+ __exportStar(require("./container-item"), exports);
23
+ __exportStar(require("./container-specification"), exports);
24
+ __exportStar(require("./create-shipment-request"), exports);
25
+ __exportStar(require("./create-shipment-response"), exports);
26
+ __exportStar(require("./create-shipment-result"), exports);
27
+ __exportStar(require("./currency"), exports);
28
+ __exportStar(require("./dimensions"), exports);
29
+ __exportStar(require("./event"), exports);
30
+ __exportStar(require("./get-account-response"), exports);
31
+ __exportStar(require("./get-rates-request"), exports);
32
+ __exportStar(require("./get-rates-response"), exports);
33
+ __exportStar(require("./get-rates-result"), exports);
34
+ __exportStar(require("./get-shipment-response"), exports);
35
+ __exportStar(require("./get-tracking-information-response"), exports);
36
+ __exportStar(require("./label"), exports);
37
+ __exportStar(require("./label-result"), exports);
38
+ __exportStar(require("./label-specification"), exports);
39
+ __exportStar(require("./location"), exports);
40
+ __exportStar(require("./model-error"), exports);
41
+ __exportStar(require("./party"), exports);
42
+ __exportStar(require("./purchase-labels-request"), exports);
43
+ __exportStar(require("./purchase-labels-response"), exports);
44
+ __exportStar(require("./purchase-labels-result"), exports);
45
+ __exportStar(require("./purchase-shipment-request"), exports);
46
+ __exportStar(require("./purchase-shipment-response"), exports);
47
+ __exportStar(require("./purchase-shipment-result"), exports);
48
+ __exportStar(require("./rate"), exports);
49
+ __exportStar(require("./retrieve-shipping-label-request"), exports);
50
+ __exportStar(require("./retrieve-shipping-label-response"), exports);
51
+ __exportStar(require("./retrieve-shipping-label-result"), exports);
52
+ __exportStar(require("./service-rate"), exports);
53
+ __exportStar(require("./service-type"), exports);
54
+ __exportStar(require("./shipment"), exports);
55
+ __exportStar(require("./shipping-promise-set"), exports);
56
+ __exportStar(require("./time-range"), exports);
57
+ __exportStar(require("./tracking-information"), exports);
58
+ __exportStar(require("./tracking-summary"), exports);
59
+ __exportStar(require("./weight"), exports);
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@sp-api-sdk/shipping-api-v1",
3
3
  "author": "Vincent Mesquita <vincent.mesquita@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": "1.11.0",
5
+ "version": "1.11.2",
6
6
  "main": "dist/cjs/index.js",
7
7
  "module": "dist/es/index.js",
8
8
  "types": "dist/types/index.d.ts",
@@ -17,16 +17,8 @@
17
17
  "dist/**/*.js",
18
18
  "dist/**/*.d.ts"
19
19
  ],
20
- "scripts": {
21
- "check:ts": "yarn tsc --noEmit",
22
- "build:cjs": "tsc -p tsconfig.json",
23
- "build:es": "tsc -p tsconfig.es.json",
24
- "build": "yarn build:cjs && yarn build:es",
25
- "clean": "rimraf dist",
26
- "test": "jest"
27
- },
28
20
  "dependencies": {
29
- "@sp-api-sdk/common": "^1.11.0",
21
+ "@sp-api-sdk/common": "1.11.3",
30
22
  "axios": "^1.4.0"
31
23
  },
32
24
  "repository": {
@@ -48,8 +40,5 @@
48
40
  "sp sdk",
49
41
  "shipping api"
50
42
  ],
51
- "typedoc": {
52
- "entryPoint": "./index.ts"
53
- },
54
- "gitHead": "107d3711376fa9561a8c02add732f7508c9c02ec"
43
+ "gitHead": "37246595dfc41a7b7d79eab072309752caf5049c"
55
44
  }