@sp-api-sdk/shipment-invoicing-api-v0 1.8.7 → 1.9.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/shipment-invoice-api.js +4 -4
- 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 +16 -16
- package/dist/es/src/api-model/api/shipment-invoice-api.js +3 -3
- package/dist/types/src/api-model/api/shipment-invoice-api.d.ts +4 -4
- package/package.json +6 -5
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@ The Selling Partner API for Shipment Invoicing helps you programmatically retrie
|
|
|
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_shipment_invoicing_api_v0.html) for this API client.
|
|
13
13
|
|
|
@@ -62,7 +62,7 @@ const client = new ShipmentInvoicingApiClient({
|
|
|
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.ShipmentInvoiceApi = exports.ShipmentInvoiceApiFactory = exports.ShipmentInvoiceApiFp = exports.ShipmentInvoiceApiAxiosParamCreator = 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");
|
|
@@ -57,7 +57,7 @@ const ShipmentInvoiceApiAxiosParamCreator = function (configuration) {
|
|
|
57
57
|
},
|
|
58
58
|
/**
|
|
59
59
|
* Returns the shipment details required to issue an invoice for the specified shipment. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 1.133 | 25 | |Selling partner specific| Variable | Variable | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation. Rate limits for some selling partners will vary from the default rate and burst shown in the table above. For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
60
|
-
* @param {string} shipmentId The identifier for the shipment. Get this value from the FBAOutboundShipmentStatus notification. For information about subscribing to notifications, see the [Notifications API Use Case Guide](https://
|
|
60
|
+
* @param {string} shipmentId The identifier for the shipment. Get this value from the FBAOutboundShipmentStatus notification. For information about subscribing to notifications, see the [Notifications API Use Case Guide](https://developer-docs.amazon.com/sp-api/docs/notifications-api-v1-use-case-guide).
|
|
61
61
|
* @param {*} [options] Override http request option.
|
|
62
62
|
* @throws {RequiredError}
|
|
63
63
|
*/
|
|
@@ -138,7 +138,7 @@ const ShipmentInvoiceApiFp = function (configuration) {
|
|
|
138
138
|
},
|
|
139
139
|
/**
|
|
140
140
|
* Returns the shipment details required to issue an invoice for the specified shipment. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 1.133 | 25 | |Selling partner specific| Variable | Variable | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation. Rate limits for some selling partners will vary from the default rate and burst shown in the table above. For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
141
|
-
* @param {string} shipmentId The identifier for the shipment. Get this value from the FBAOutboundShipmentStatus notification. For information about subscribing to notifications, see the [Notifications API Use Case Guide](https://
|
|
141
|
+
* @param {string} shipmentId The identifier for the shipment. Get this value from the FBAOutboundShipmentStatus notification. For information about subscribing to notifications, see the [Notifications API Use Case Guide](https://developer-docs.amazon.com/sp-api/docs/notifications-api-v1-use-case-guide).
|
|
142
142
|
* @param {*} [options] Override http request option.
|
|
143
143
|
* @throws {RequiredError}
|
|
144
144
|
*/
|
|
@@ -178,7 +178,7 @@ const ShipmentInvoiceApiFactory = function (configuration, basePath, axios) {
|
|
|
178
178
|
},
|
|
179
179
|
/**
|
|
180
180
|
* Returns the shipment details required to issue an invoice for the specified shipment. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 1.133 | 25 | |Selling partner specific| Variable | Variable | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation. Rate limits for some selling partners will vary from the default rate and burst shown in the table above. For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
181
|
-
* @param {string} shipmentId The identifier for the shipment. Get this value from the FBAOutboundShipmentStatus notification. For information about subscribing to notifications, see the [Notifications API Use Case Guide](https://
|
|
181
|
+
* @param {string} shipmentId The identifier for the shipment. Get this value from the FBAOutboundShipmentStatus notification. For information about subscribing to notifications, see the [Notifications API Use Case Guide](https://developer-docs.amazon.com/sp-api/docs/notifications-api-v1-use-case-guide).
|
|
182
182
|
* @param {*} [options] Override http request option.
|
|
183
183
|
* @throws {RequiredError}
|
|
184
184
|
*/
|
|
@@ -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 = "http://localhost".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,19 +1,19 @@
|
|
|
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
|
-
|
|
4
|
+
tslib_1.__exportStar(require("./address"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./address-type-enum"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./buyer-tax-info"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./get-invoice-status-response"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./get-shipment-details-response"), exports);
|
|
9
|
+
tslib_1.__exportStar(require("./marketplace-tax-info"), exports);
|
|
10
|
+
tslib_1.__exportStar(require("./model-error"), exports);
|
|
11
|
+
tslib_1.__exportStar(require("./money"), exports);
|
|
12
|
+
tslib_1.__exportStar(require("./shipment-detail"), exports);
|
|
13
|
+
tslib_1.__exportStar(require("./shipment-invoice-status"), exports);
|
|
14
|
+
tslib_1.__exportStar(require("./shipment-invoice-status-info"), exports);
|
|
15
|
+
tslib_1.__exportStar(require("./shipment-invoice-status-response"), exports);
|
|
16
|
+
tslib_1.__exportStar(require("./shipment-item"), exports);
|
|
17
|
+
tslib_1.__exportStar(require("./submit-invoice-request"), exports);
|
|
18
|
+
tslib_1.__exportStar(require("./submit-invoice-response"), exports);
|
|
19
|
+
tslib_1.__exportStar(require("./tax-classification"), exports);
|
|
@@ -53,7 +53,7 @@ export const ShipmentInvoiceApiAxiosParamCreator = function (configuration) {
|
|
|
53
53
|
},
|
|
54
54
|
/**
|
|
55
55
|
* Returns the shipment details required to issue an invoice for the specified shipment. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 1.133 | 25 | |Selling partner specific| Variable | Variable | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation. Rate limits for some selling partners will vary from the default rate and burst shown in the table above. For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
56
|
-
* @param {string} shipmentId The identifier for the shipment. Get this value from the FBAOutboundShipmentStatus notification. For information about subscribing to notifications, see the [Notifications API Use Case Guide](https://
|
|
56
|
+
* @param {string} shipmentId The identifier for the shipment. Get this value from the FBAOutboundShipmentStatus notification. For information about subscribing to notifications, see the [Notifications API Use Case Guide](https://developer-docs.amazon.com/sp-api/docs/notifications-api-v1-use-case-guide).
|
|
57
57
|
* @param {*} [options] Override http request option.
|
|
58
58
|
* @throws {RequiredError}
|
|
59
59
|
*/
|
|
@@ -133,7 +133,7 @@ export const ShipmentInvoiceApiFp = function (configuration) {
|
|
|
133
133
|
},
|
|
134
134
|
/**
|
|
135
135
|
* Returns the shipment details required to issue an invoice for the specified shipment. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 1.133 | 25 | |Selling partner specific| Variable | Variable | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation. Rate limits for some selling partners will vary from the default rate and burst shown in the table above. For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
136
|
-
* @param {string} shipmentId The identifier for the shipment. Get this value from the FBAOutboundShipmentStatus notification. For information about subscribing to notifications, see the [Notifications API Use Case Guide](https://
|
|
136
|
+
* @param {string} shipmentId The identifier for the shipment. Get this value from the FBAOutboundShipmentStatus notification. For information about subscribing to notifications, see the [Notifications API Use Case Guide](https://developer-docs.amazon.com/sp-api/docs/notifications-api-v1-use-case-guide).
|
|
137
137
|
* @param {*} [options] Override http request option.
|
|
138
138
|
* @throws {RequiredError}
|
|
139
139
|
*/
|
|
@@ -172,7 +172,7 @@ export const ShipmentInvoiceApiFactory = function (configuration, basePath, axio
|
|
|
172
172
|
},
|
|
173
173
|
/**
|
|
174
174
|
* Returns the shipment details required to issue an invoice for the specified shipment. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 1.133 | 25 | |Selling partner specific| Variable | Variable | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation. Rate limits for some selling partners will vary from the default rate and burst shown in the table above. For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
175
|
-
* @param {string} shipmentId The identifier for the shipment. Get this value from the FBAOutboundShipmentStatus notification. For information about subscribing to notifications, see the [Notifications API Use Case Guide](https://
|
|
175
|
+
* @param {string} shipmentId The identifier for the shipment. Get this value from the FBAOutboundShipmentStatus notification. For information about subscribing to notifications, see the [Notifications API Use Case Guide](https://developer-docs.amazon.com/sp-api/docs/notifications-api-v1-use-case-guide).
|
|
176
176
|
* @param {*} [options] Override http request option.
|
|
177
177
|
* @throws {RequiredError}
|
|
178
178
|
*/
|
|
@@ -30,7 +30,7 @@ export declare const ShipmentInvoiceApiAxiosParamCreator: (configuration?: Confi
|
|
|
30
30
|
getInvoiceStatus: (shipmentId: string, options?: any) => Promise<RequestArgs>;
|
|
31
31
|
/**
|
|
32
32
|
* Returns the shipment details required to issue an invoice for the specified shipment. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 1.133 | 25 | |Selling partner specific| Variable | Variable | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation. Rate limits for some selling partners will vary from the default rate and burst shown in the table above. For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
33
|
-
* @param {string} shipmentId The identifier for the shipment. Get this value from the FBAOutboundShipmentStatus notification. For information about subscribing to notifications, see the [Notifications API Use Case Guide](https://
|
|
33
|
+
* @param {string} shipmentId The identifier for the shipment. Get this value from the FBAOutboundShipmentStatus notification. For information about subscribing to notifications, see the [Notifications API Use Case Guide](https://developer-docs.amazon.com/sp-api/docs/notifications-api-v1-use-case-guide).
|
|
34
34
|
* @param {*} [options] Override http request option.
|
|
35
35
|
* @throws {RequiredError}
|
|
36
36
|
*/
|
|
@@ -58,7 +58,7 @@ export declare const ShipmentInvoiceApiFp: (configuration?: Configuration | unde
|
|
|
58
58
|
getInvoiceStatus(shipmentId: string, options?: any): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<GetInvoiceStatusResponse>>;
|
|
59
59
|
/**
|
|
60
60
|
* Returns the shipment details required to issue an invoice for the specified shipment. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 1.133 | 25 | |Selling partner specific| Variable | Variable | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation. Rate limits for some selling partners will vary from the default rate and burst shown in the table above. For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
61
|
-
* @param {string} shipmentId The identifier for the shipment. Get this value from the FBAOutboundShipmentStatus notification. For information about subscribing to notifications, see the [Notifications API Use Case Guide](https://
|
|
61
|
+
* @param {string} shipmentId The identifier for the shipment. Get this value from the FBAOutboundShipmentStatus notification. For information about subscribing to notifications, see the [Notifications API Use Case Guide](https://developer-docs.amazon.com/sp-api/docs/notifications-api-v1-use-case-guide).
|
|
62
62
|
* @param {*} [options] Override http request option.
|
|
63
63
|
* @throws {RequiredError}
|
|
64
64
|
*/
|
|
@@ -86,7 +86,7 @@ export declare const ShipmentInvoiceApiFactory: (configuration?: Configuration |
|
|
|
86
86
|
getInvoiceStatus(shipmentId: string, options?: any): AxiosPromise<GetInvoiceStatusResponse>;
|
|
87
87
|
/**
|
|
88
88
|
* Returns the shipment details required to issue an invoice for the specified shipment. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 1.133 | 25 | |Selling partner specific| Variable | Variable | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation. Rate limits for some selling partners will vary from the default rate and burst shown in the table above. For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
89
|
-
* @param {string} shipmentId The identifier for the shipment. Get this value from the FBAOutboundShipmentStatus notification. For information about subscribing to notifications, see the [Notifications API Use Case Guide](https://
|
|
89
|
+
* @param {string} shipmentId The identifier for the shipment. Get this value from the FBAOutboundShipmentStatus notification. For information about subscribing to notifications, see the [Notifications API Use Case Guide](https://developer-docs.amazon.com/sp-api/docs/notifications-api-v1-use-case-guide).
|
|
90
90
|
* @param {*} [options] Override http request option.
|
|
91
91
|
* @throws {RequiredError}
|
|
92
92
|
*/
|
|
@@ -120,7 +120,7 @@ export interface ShipmentInvoiceApiGetInvoiceStatusRequest {
|
|
|
120
120
|
*/
|
|
121
121
|
export interface ShipmentInvoiceApiGetShipmentDetailsRequest {
|
|
122
122
|
/**
|
|
123
|
-
* The identifier for the shipment. Get this value from the FBAOutboundShipmentStatus notification. For information about subscribing to notifications, see the [Notifications API Use Case Guide](https://
|
|
123
|
+
* The identifier for the shipment. Get this value from the FBAOutboundShipmentStatus notification. For information about subscribing to notifications, see the [Notifications API Use Case Guide](https://developer-docs.amazon.com/sp-api/docs/notifications-api-v1-use-case-guide).
|
|
124
124
|
* @type {string}
|
|
125
125
|
* @memberof ShipmentInvoiceApiGetShipmentDetails
|
|
126
126
|
*/
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@sp-api-sdk/shipment-invoicing-api-v0",
|
|
3
3
|
"author": "Vincent Mesquita <vincent.mesquita@bizon.solutions>",
|
|
4
4
|
"description": "The Selling Partner API for Shipment Invoicing helps you programmatically retrieve shipment invoice information in the Brazil marketplace for a selling partner’s Fulfillment by Amazon (FBA) orders.",
|
|
5
|
-
"version": "1.
|
|
5
|
+
"version": "1.9.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
|
"shipment invoicing api"
|
|
50
51
|
],
|
|
51
|
-
"gitHead": "
|
|
52
|
+
"gitHead": "5a6b7114c19340645ce256eb9ef6d7df6a9cc58f"
|
|
52
53
|
}
|