@sp-api-sdk/services-api-v1 1.6.21 → 1.7.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 +2 -2
- package/dist/cjs/index.js +3 -3
- package/dist/cjs/src/api-model/api/service-api.js +1 -1
- package/dist/cjs/src/api-model/api.js +1 -1
- package/dist/cjs/src/api-model/base.js +1 -1
- package/dist/cjs/src/api-model/index.js +3 -3
- package/dist/cjs/src/api-model/models/index.js +25 -25
- package/package.json +6 -5
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@ With the Services API, you can build applications that help service providers ge
|
|
|
7
7
|
|
|
8
8
|
## Documentation
|
|
9
9
|
|
|
10
|
-
Learn more about this Selling Partner API by visiting the [official documentation](https://
|
|
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_services_api_v1.html) for this API client.
|
|
13
13
|
|
|
@@ -62,7 +62,7 @@ const client = new ServicesApiClient({
|
|
|
62
62
|
})
|
|
63
63
|
```
|
|
64
64
|
|
|
65
|
-
The rate limits used for each route are specified in the [API documentation](
|
|
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
|
-
|
|
5
|
-
|
|
6
|
-
|
|
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.ServiceApi = exports.ServiceApiFactory = exports.ServiceApiFp = exports.ServiceApiAxiosParamCreator = void 0;
|
|
17
17
|
const tslib_1 = require("tslib");
|
|
18
|
-
const axios_1 =
|
|
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");
|
|
@@ -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 =
|
|
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
|
-
|
|
18
|
-
|
|
19
|
-
|
|
17
|
+
tslib_1.__exportStar(require("./api"), exports);
|
|
18
|
+
tslib_1.__exportStar(require("./configuration"), exports);
|
|
19
|
+
tslib_1.__exportStar(require("./models"), exports);
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
4
|
+
tslib_1.__exportStar(require("./add-appointment-request"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./address"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./appointment"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./appointment-time"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./appointment-time-input"), exports);
|
|
9
|
+
tslib_1.__exportStar(require("./associated-item"), exports);
|
|
10
|
+
tslib_1.__exportStar(require("./buyer"), exports);
|
|
11
|
+
tslib_1.__exportStar(require("./cancel-service-job-by-service-job-id-response"), exports);
|
|
12
|
+
tslib_1.__exportStar(require("./complete-service-job-by-service-job-id-response"), exports);
|
|
13
|
+
tslib_1.__exportStar(require("./get-service-job-by-service-job-id-response"), exports);
|
|
14
|
+
tslib_1.__exportStar(require("./get-service-jobs-response"), exports);
|
|
15
|
+
tslib_1.__exportStar(require("./item-delivery"), exports);
|
|
16
|
+
tslib_1.__exportStar(require("./item-delivery-promise"), exports);
|
|
17
|
+
tslib_1.__exportStar(require("./job-listing"), exports);
|
|
18
|
+
tslib_1.__exportStar(require("./model-error"), exports);
|
|
19
|
+
tslib_1.__exportStar(require("./poa"), exports);
|
|
20
|
+
tslib_1.__exportStar(require("./reschedule-appointment-request"), exports);
|
|
21
|
+
tslib_1.__exportStar(require("./scope-of-work"), exports);
|
|
22
|
+
tslib_1.__exportStar(require("./seller"), exports);
|
|
23
|
+
tslib_1.__exportStar(require("./service-job"), exports);
|
|
24
|
+
tslib_1.__exportStar(require("./service-job-provider"), exports);
|
|
25
|
+
tslib_1.__exportStar(require("./service-location"), exports);
|
|
26
|
+
tslib_1.__exportStar(require("./set-appointment-response"), exports);
|
|
27
|
+
tslib_1.__exportStar(require("./technician"), exports);
|
|
28
|
+
tslib_1.__exportStar(require("./warning"), exports);
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@sp-api-sdk/services-api-v1",
|
|
3
3
|
"author": "Vincent Mesquita <vincent.mesquita@bizon.solutions>",
|
|
4
4
|
"description": "With the Services API, you can build applications that help service providers get and modify their service orders.",
|
|
5
|
-
"version": "1.
|
|
5
|
+
"version": "1.7.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.
|
|
29
|
-
"@sp-api-sdk/common": "^1.7.
|
|
30
|
-
"axios": "^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
|
"services api"
|
|
50
51
|
],
|
|
51
|
-
"gitHead": "
|
|
52
|
+
"gitHead": "5a6b7114c19340645ce256eb9ef6d7df6a9cc58f"
|
|
52
53
|
}
|