@sp-api-sdk/solicitations-api-v1 1.7.6 → 1.8.0

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
@@ -7,7 +7,7 @@ With the Solicitations API you can build applications that send non-critical sol
7
7
 
8
8
  ## Documentation
9
9
 
10
- Learn more about this Selling Partner API by visiting the [official documentation](https://github.com/amzn/selling-partner-api-docs/tree/main/references/solicitations-api/solicitations.md).
10
+ Learn more about this Selling Partner API by visiting the [official documentation](https://developer-docs.amazon.com/sp-api/docs).
11
11
 
12
12
  Also, see the [generated documentation](https://bizon.github.io/selling-partner-api-sdk/modules/_sp_api_sdk_solicitations_api_v1.html) for this API client.
13
13
 
@@ -62,7 +62,7 @@ const client = new SolicitationsApiClient({
62
62
  })
63
63
  ```
64
64
 
65
- The rate limits used for each route are specified in the [API documentation]((https://github.com/amzn/selling-partner-api-docs/tree/main/references/solicitations-api/solicitations.md)).
65
+ The rate limits used for each route are specified in the [API documentation](https://developer-docs.amazon.com/sp-api/docs).
66
66
 
67
67
  ## License
68
68
 
package/dist/cjs/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
- (0, tslib_1.__exportStar)(require("./src/client"), exports);
5
- (0, tslib_1.__exportStar)(require("./src/error"), exports);
6
- (0, tslib_1.__exportStar)(require("./src/api-model/models"), exports);
4
+ tslib_1.__exportStar(require("./src/client"), exports);
5
+ tslib_1.__exportStar(require("./src/error"), exports);
6
+ tslib_1.__exportStar(require("./src/api-model/models"), exports);
@@ -15,7 +15,7 @@
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.SolicitationsApi = exports.SolicitationsApiFactory = exports.SolicitationsApiFp = exports.SolicitationsApiAxiosParamCreator = void 0;
17
17
  const tslib_1 = require("tslib");
18
- const axios_1 = (0, tslib_1.__importDefault)(require("axios"));
18
+ const axios_1 = tslib_1.__importDefault(require("axios"));
19
19
  // Some imports not used depending on template conditions
20
20
  // @ts-ignore
21
21
  const common_1 = require("../common");
@@ -14,4 +14,4 @@
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  const tslib_1 = require("tslib");
17
- (0, tslib_1.__exportStar)(require("./api/solicitations-api"), exports);
17
+ tslib_1.__exportStar(require("./api/solicitations-api"), exports);
@@ -17,7 +17,7 @@ exports.RequiredError = exports.BaseAPI = exports.COLLECTION_FORMATS = exports.B
17
17
  const tslib_1 = require("tslib");
18
18
  // Some imports not used depending on template conditions
19
19
  // @ts-ignore
20
- const axios_1 = (0, tslib_1.__importDefault)(require("axios"));
20
+ const axios_1 = tslib_1.__importDefault(require("axios"));
21
21
  exports.BASE_PATH = "https://sellingpartnerapi-na.amazon.com".replace(/\/+$/, "");
22
22
  /**
23
23
  *
@@ -14,6 +14,6 @@
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  const tslib_1 = require("tslib");
17
- (0, tslib_1.__exportStar)(require("./api"), exports);
18
- (0, tslib_1.__exportStar)(require("./configuration"), exports);
19
- (0, tslib_1.__exportStar)(require("./models"), exports);
17
+ tslib_1.__exportStar(require("./api"), exports);
18
+ tslib_1.__exportStar(require("./configuration"), exports);
19
+ tslib_1.__exportStar(require("./models"), exports);
@@ -1,15 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
- (0, tslib_1.__exportStar)(require("./create-product-review-and-seller-feedback-solicitation-response"), exports);
5
- (0, tslib_1.__exportStar)(require("./get-schema-response"), exports);
6
- (0, tslib_1.__exportStar)(require("./get-schema-response-links"), exports);
7
- (0, tslib_1.__exportStar)(require("./get-solicitation-action-response"), exports);
8
- (0, tslib_1.__exportStar)(require("./get-solicitation-action-response-embedded"), exports);
9
- (0, tslib_1.__exportStar)(require("./get-solicitation-action-response-links"), exports);
10
- (0, tslib_1.__exportStar)(require("./get-solicitation-actions-for-order-response"), exports);
11
- (0, tslib_1.__exportStar)(require("./get-solicitation-actions-for-order-response-embedded"), exports);
12
- (0, tslib_1.__exportStar)(require("./get-solicitation-actions-for-order-response-links"), exports);
13
- (0, tslib_1.__exportStar)(require("./link-object"), exports);
14
- (0, tslib_1.__exportStar)(require("./model-error"), exports);
15
- (0, tslib_1.__exportStar)(require("./solicitations-action"), exports);
4
+ tslib_1.__exportStar(require("./create-product-review-and-seller-feedback-solicitation-response"), exports);
5
+ tslib_1.__exportStar(require("./get-schema-response"), exports);
6
+ tslib_1.__exportStar(require("./get-schema-response-links"), exports);
7
+ tslib_1.__exportStar(require("./get-solicitation-action-response"), exports);
8
+ tslib_1.__exportStar(require("./get-solicitation-action-response-embedded"), exports);
9
+ tslib_1.__exportStar(require("./get-solicitation-action-response-links"), exports);
10
+ tslib_1.__exportStar(require("./get-solicitation-actions-for-order-response"), exports);
11
+ tslib_1.__exportStar(require("./get-solicitation-actions-for-order-response-embedded"), exports);
12
+ tslib_1.__exportStar(require("./get-solicitation-actions-for-order-response-links"), exports);
13
+ tslib_1.__exportStar(require("./link-object"), exports);
14
+ tslib_1.__exportStar(require("./model-error"), exports);
15
+ tslib_1.__exportStar(require("./solicitations-action"), exports);
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@sp-api-sdk/solicitations-api-v1",
3
3
  "author": "Vincent Mesquita <vincent.mesquita@bizon.solutions>",
4
4
  "description": "With the Solicitations API you can build applications that send non-critical solicitations to buyers. You can get a list of solicitation types that are available for an order that you specify, then call an operation that sends a solicitation to the buyer for that order. Buyers cannot respond to solicitations sent by this API, and these solicitations do not appear in the Messaging section of Seller Central or in the recipient's Message Center. The Solicitations API returns responses that are formed according to the JSON Hypertext Application Language (HAL) standard.",
5
- "version": "1.7.6",
5
+ "version": "1.8.0",
6
6
  "main": "dist/cjs/index.js",
7
7
  "module": "dist/es/index.js",
8
8
  "types": "dist/types/index.d.ts",
@@ -18,6 +18,7 @@
18
18
  "dist/**/*.d.ts"
19
19
  ],
20
20
  "scripts": {
21
+ "check:ts": "yarn tsc --noEmit",
21
22
  "build:cjs": "tsc -p tsconfig.json",
22
23
  "build:es": "tsc -p tsconfig.es.json",
23
24
  "build": "yarn build:cjs && yarn build:es",
@@ -25,9 +26,9 @@
25
26
  "test": "NODE_ENV='test' yarn jest"
26
27
  },
27
28
  "dependencies": {
28
- "@sp-api-sdk/auth": "^1.9.6",
29
- "@sp-api-sdk/common": "^1.7.8",
30
- "axios": "^0.24.0"
29
+ "@sp-api-sdk/auth": "^1.9.9",
30
+ "@sp-api-sdk/common": "^1.7.11",
31
+ "axios": "^0.26.1"
31
32
  },
32
33
  "repository": {
33
34
  "type": "git",
@@ -48,5 +49,5 @@
48
49
  "sp sdk",
49
50
  "solicitations api"
50
51
  ],
51
- "gitHead": "f21b5cb511abd110bf1f07843558719993f36187"
52
+ "gitHead": "5a6b7114c19340645ce256eb9ef6d7df6a9cc58f"
52
53
  }