@sp-api-sdk/shipment-invoicing-api-v0 1.11.7 → 1.11.9
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/dist/cjs/src/api-model/api/shipment-invoice-api.js +12 -12
- package/dist/cjs/src/api-model/base.js +5 -1
- package/dist/cjs/src/api-model/configuration.js +49 -0
- package/dist/es/src/api-model/api/shipment-invoice-api.js +12 -12
- package/dist/es/src/api-model/base.js +5 -1
- package/dist/es/src/api-model/configuration.js +49 -0
- package/dist/types/src/api-model/api/shipment-invoice-api.d.ts +12 -12
- package/package.json +3 -3
|
@@ -28,7 +28,7 @@ const base_1 = require("../base");
|
|
|
28
28
|
const ShipmentInvoiceApiAxiosParamCreator = function (configuration) {
|
|
29
29
|
return {
|
|
30
30
|
/**
|
|
31
|
-
* Returns the invoice status for the shipment you specify. **Usage
|
|
31
|
+
* Returns the invoice status for the shipment you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1.133 | 25 | 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).
|
|
32
32
|
* @param {string} shipmentId The shipment identifier for the shipment.
|
|
33
33
|
* @param {*} [options] Override http request option.
|
|
34
34
|
* @throws {RequiredError}
|
|
@@ -56,7 +56,7 @@ const ShipmentInvoiceApiAxiosParamCreator = function (configuration) {
|
|
|
56
56
|
};
|
|
57
57
|
},
|
|
58
58
|
/**
|
|
59
|
-
* Returns the shipment details required to issue an invoice for the specified shipment. **Usage
|
|
59
|
+
* Returns the shipment details required to issue an invoice for the specified shipment. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1.133 | 25 | 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).
|
|
60
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}
|
|
@@ -84,7 +84,7 @@ const ShipmentInvoiceApiAxiosParamCreator = function (configuration) {
|
|
|
84
84
|
};
|
|
85
85
|
},
|
|
86
86
|
/**
|
|
87
|
-
* Submits a shipment invoice document for a given shipment. **Usage
|
|
87
|
+
* Submits a shipment invoice document for a given shipment. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1.133 | 25 | 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).
|
|
88
88
|
* @param {string} shipmentId The identifier for the shipment.
|
|
89
89
|
* @param {SubmitInvoiceRequest} body
|
|
90
90
|
* @param {*} [options] Override http request option.
|
|
@@ -127,7 +127,7 @@ const ShipmentInvoiceApiFp = function (configuration) {
|
|
|
127
127
|
const localVarAxiosParamCreator = (0, exports.ShipmentInvoiceApiAxiosParamCreator)(configuration);
|
|
128
128
|
return {
|
|
129
129
|
/**
|
|
130
|
-
* Returns the invoice status for the shipment you specify. **Usage
|
|
130
|
+
* Returns the invoice status for the shipment you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1.133 | 25 | 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).
|
|
131
131
|
* @param {string} shipmentId The shipment identifier for the shipment.
|
|
132
132
|
* @param {*} [options] Override http request option.
|
|
133
133
|
* @throws {RequiredError}
|
|
@@ -137,7 +137,7 @@ const ShipmentInvoiceApiFp = function (configuration) {
|
|
|
137
137
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
138
138
|
},
|
|
139
139
|
/**
|
|
140
|
-
* Returns the shipment details required to issue an invoice for the specified shipment. **Usage
|
|
140
|
+
* Returns the shipment details required to issue an invoice for the specified shipment. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1.133 | 25 | 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).
|
|
141
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}
|
|
@@ -147,7 +147,7 @@ const ShipmentInvoiceApiFp = function (configuration) {
|
|
|
147
147
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
148
148
|
},
|
|
149
149
|
/**
|
|
150
|
-
* Submits a shipment invoice document for a given shipment. **Usage
|
|
150
|
+
* Submits a shipment invoice document for a given shipment. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1.133 | 25 | 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).
|
|
151
151
|
* @param {string} shipmentId The identifier for the shipment.
|
|
152
152
|
* @param {SubmitInvoiceRequest} body
|
|
153
153
|
* @param {*} [options] Override http request option.
|
|
@@ -168,7 +168,7 @@ const ShipmentInvoiceApiFactory = function (configuration, basePath, axios) {
|
|
|
168
168
|
const localVarFp = (0, exports.ShipmentInvoiceApiFp)(configuration);
|
|
169
169
|
return {
|
|
170
170
|
/**
|
|
171
|
-
* Returns the invoice status for the shipment you specify. **Usage
|
|
171
|
+
* Returns the invoice status for the shipment you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1.133 | 25 | 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).
|
|
172
172
|
* @param {string} shipmentId The shipment identifier for the shipment.
|
|
173
173
|
* @param {*} [options] Override http request option.
|
|
174
174
|
* @throws {RequiredError}
|
|
@@ -177,7 +177,7 @@ const ShipmentInvoiceApiFactory = function (configuration, basePath, axios) {
|
|
|
177
177
|
return localVarFp.getInvoiceStatus(shipmentId, options).then((request) => request(axios, basePath));
|
|
178
178
|
},
|
|
179
179
|
/**
|
|
180
|
-
* Returns the shipment details required to issue an invoice for the specified shipment. **Usage
|
|
180
|
+
* Returns the shipment details required to issue an invoice for the specified shipment. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1.133 | 25 | 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).
|
|
181
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}
|
|
@@ -186,7 +186,7 @@ const ShipmentInvoiceApiFactory = function (configuration, basePath, axios) {
|
|
|
186
186
|
return localVarFp.getShipmentDetails(shipmentId, options).then((request) => request(axios, basePath));
|
|
187
187
|
},
|
|
188
188
|
/**
|
|
189
|
-
* Submits a shipment invoice document for a given shipment. **Usage
|
|
189
|
+
* Submits a shipment invoice document for a given shipment. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1.133 | 25 | 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).
|
|
190
190
|
* @param {string} shipmentId The identifier for the shipment.
|
|
191
191
|
* @param {SubmitInvoiceRequest} body
|
|
192
192
|
* @param {*} [options] Override http request option.
|
|
@@ -206,7 +206,7 @@ exports.ShipmentInvoiceApiFactory = ShipmentInvoiceApiFactory;
|
|
|
206
206
|
*/
|
|
207
207
|
class ShipmentInvoiceApi extends base_1.BaseAPI {
|
|
208
208
|
/**
|
|
209
|
-
* Returns the invoice status for the shipment you specify. **Usage
|
|
209
|
+
* Returns the invoice status for the shipment you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1.133 | 25 | 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).
|
|
210
210
|
* @param {ShipmentInvoiceApiGetInvoiceStatusRequest} requestParameters Request parameters.
|
|
211
211
|
* @param {*} [options] Override http request option.
|
|
212
212
|
* @throws {RequiredError}
|
|
@@ -216,7 +216,7 @@ class ShipmentInvoiceApi extends base_1.BaseAPI {
|
|
|
216
216
|
return (0, exports.ShipmentInvoiceApiFp)(this.configuration).getInvoiceStatus(requestParameters.shipmentId, options).then((request) => request(this.axios, this.basePath));
|
|
217
217
|
}
|
|
218
218
|
/**
|
|
219
|
-
* Returns the shipment details required to issue an invoice for the specified shipment. **Usage
|
|
219
|
+
* Returns the shipment details required to issue an invoice for the specified shipment. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1.133 | 25 | 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).
|
|
220
220
|
* @param {ShipmentInvoiceApiGetShipmentDetailsRequest} requestParameters Request parameters.
|
|
221
221
|
* @param {*} [options] Override http request option.
|
|
222
222
|
* @throws {RequiredError}
|
|
@@ -226,7 +226,7 @@ class ShipmentInvoiceApi extends base_1.BaseAPI {
|
|
|
226
226
|
return (0, exports.ShipmentInvoiceApiFp)(this.configuration).getShipmentDetails(requestParameters.shipmentId, options).then((request) => request(this.axios, this.basePath));
|
|
227
227
|
}
|
|
228
228
|
/**
|
|
229
|
-
* Submits a shipment invoice document for a given shipment. **Usage
|
|
229
|
+
* Submits a shipment invoice document for a given shipment. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1.133 | 25 | 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).
|
|
230
230
|
* @param {ShipmentInvoiceApiSubmitInvoiceRequest} requestParameters Request parameters.
|
|
231
231
|
* @param {*} [options] Override http request option.
|
|
232
232
|
* @throws {RequiredError}
|
|
@@ -35,6 +35,9 @@ exports.COLLECTION_FORMATS = {
|
|
|
35
35
|
* @class BaseAPI
|
|
36
36
|
*/
|
|
37
37
|
class BaseAPI {
|
|
38
|
+
basePath;
|
|
39
|
+
axios;
|
|
40
|
+
configuration;
|
|
38
41
|
constructor(configuration, basePath = exports.BASE_PATH, axios = axios_1.default) {
|
|
39
42
|
this.basePath = basePath;
|
|
40
43
|
this.axios = axios;
|
|
@@ -53,10 +56,11 @@ exports.BaseAPI = BaseAPI;
|
|
|
53
56
|
* @extends {Error}
|
|
54
57
|
*/
|
|
55
58
|
class RequiredError extends Error {
|
|
59
|
+
field;
|
|
60
|
+
name = "RequiredError";
|
|
56
61
|
constructor(field, msg) {
|
|
57
62
|
super(msg);
|
|
58
63
|
this.field = field;
|
|
59
|
-
this.name = "RequiredError";
|
|
60
64
|
}
|
|
61
65
|
}
|
|
62
66
|
exports.RequiredError = RequiredError;
|
|
@@ -15,6 +15,55 @@
|
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.Configuration = void 0;
|
|
17
17
|
class Configuration {
|
|
18
|
+
/**
|
|
19
|
+
* parameter for apiKey security
|
|
20
|
+
* @param name security name
|
|
21
|
+
* @memberof Configuration
|
|
22
|
+
*/
|
|
23
|
+
apiKey;
|
|
24
|
+
/**
|
|
25
|
+
* parameter for basic security
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof Configuration
|
|
29
|
+
*/
|
|
30
|
+
username;
|
|
31
|
+
/**
|
|
32
|
+
* parameter for basic security
|
|
33
|
+
*
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof Configuration
|
|
36
|
+
*/
|
|
37
|
+
password;
|
|
38
|
+
/**
|
|
39
|
+
* parameter for oauth2 security
|
|
40
|
+
* @param name security name
|
|
41
|
+
* @param scopes oauth2 scope
|
|
42
|
+
* @memberof Configuration
|
|
43
|
+
*/
|
|
44
|
+
accessToken;
|
|
45
|
+
/**
|
|
46
|
+
* override base path
|
|
47
|
+
*
|
|
48
|
+
* @type {string}
|
|
49
|
+
* @memberof Configuration
|
|
50
|
+
*/
|
|
51
|
+
basePath;
|
|
52
|
+
/**
|
|
53
|
+
* base options for axios calls
|
|
54
|
+
*
|
|
55
|
+
* @type {any}
|
|
56
|
+
* @memberof Configuration
|
|
57
|
+
*/
|
|
58
|
+
baseOptions;
|
|
59
|
+
/**
|
|
60
|
+
* The FormData constructor that will be used to create multipart form data
|
|
61
|
+
* requests. You can inject this here so that execution environments that
|
|
62
|
+
* do not support the FormData class can still run the generated client.
|
|
63
|
+
*
|
|
64
|
+
* @type {new () => FormData}
|
|
65
|
+
*/
|
|
66
|
+
formDataCtor;
|
|
18
67
|
constructor(param = {}) {
|
|
19
68
|
this.apiKey = param.apiKey;
|
|
20
69
|
this.username = param.username;
|
|
@@ -24,7 +24,7 @@ import { BASE_PATH, BaseAPI } from '../base';
|
|
|
24
24
|
export const ShipmentInvoiceApiAxiosParamCreator = function (configuration) {
|
|
25
25
|
return {
|
|
26
26
|
/**
|
|
27
|
-
* Returns the invoice status for the shipment you specify. **Usage
|
|
27
|
+
* Returns the invoice status for the shipment you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1.133 | 25 | 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).
|
|
28
28
|
* @param {string} shipmentId The shipment identifier for the shipment.
|
|
29
29
|
* @param {*} [options] Override http request option.
|
|
30
30
|
* @throws {RequiredError}
|
|
@@ -52,7 +52,7 @@ export const ShipmentInvoiceApiAxiosParamCreator = function (configuration) {
|
|
|
52
52
|
};
|
|
53
53
|
},
|
|
54
54
|
/**
|
|
55
|
-
* Returns the shipment details required to issue an invoice for the specified shipment. **Usage
|
|
55
|
+
* Returns the shipment details required to issue an invoice for the specified shipment. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1.133 | 25 | 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).
|
|
56
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}
|
|
@@ -80,7 +80,7 @@ export const ShipmentInvoiceApiAxiosParamCreator = function (configuration) {
|
|
|
80
80
|
};
|
|
81
81
|
},
|
|
82
82
|
/**
|
|
83
|
-
* Submits a shipment invoice document for a given shipment. **Usage
|
|
83
|
+
* Submits a shipment invoice document for a given shipment. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1.133 | 25 | 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).
|
|
84
84
|
* @param {string} shipmentId The identifier for the shipment.
|
|
85
85
|
* @param {SubmitInvoiceRequest} body
|
|
86
86
|
* @param {*} [options] Override http request option.
|
|
@@ -122,7 +122,7 @@ export const ShipmentInvoiceApiFp = function (configuration) {
|
|
|
122
122
|
const localVarAxiosParamCreator = ShipmentInvoiceApiAxiosParamCreator(configuration);
|
|
123
123
|
return {
|
|
124
124
|
/**
|
|
125
|
-
* Returns the invoice status for the shipment you specify. **Usage
|
|
125
|
+
* Returns the invoice status for the shipment you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1.133 | 25 | 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).
|
|
126
126
|
* @param {string} shipmentId The shipment identifier for the shipment.
|
|
127
127
|
* @param {*} [options] Override http request option.
|
|
128
128
|
* @throws {RequiredError}
|
|
@@ -132,7 +132,7 @@ export const ShipmentInvoiceApiFp = function (configuration) {
|
|
|
132
132
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
133
133
|
},
|
|
134
134
|
/**
|
|
135
|
-
* Returns the shipment details required to issue an invoice for the specified shipment. **Usage
|
|
135
|
+
* Returns the shipment details required to issue an invoice for the specified shipment. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1.133 | 25 | 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).
|
|
136
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}
|
|
@@ -142,7 +142,7 @@ export const ShipmentInvoiceApiFp = function (configuration) {
|
|
|
142
142
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
143
143
|
},
|
|
144
144
|
/**
|
|
145
|
-
* Submits a shipment invoice document for a given shipment. **Usage
|
|
145
|
+
* Submits a shipment invoice document for a given shipment. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1.133 | 25 | 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).
|
|
146
146
|
* @param {string} shipmentId The identifier for the shipment.
|
|
147
147
|
* @param {SubmitInvoiceRequest} body
|
|
148
148
|
* @param {*} [options] Override http request option.
|
|
@@ -162,7 +162,7 @@ export const ShipmentInvoiceApiFactory = function (configuration, basePath, axio
|
|
|
162
162
|
const localVarFp = ShipmentInvoiceApiFp(configuration);
|
|
163
163
|
return {
|
|
164
164
|
/**
|
|
165
|
-
* Returns the invoice status for the shipment you specify. **Usage
|
|
165
|
+
* Returns the invoice status for the shipment you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1.133 | 25 | 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).
|
|
166
166
|
* @param {string} shipmentId The shipment identifier for the shipment.
|
|
167
167
|
* @param {*} [options] Override http request option.
|
|
168
168
|
* @throws {RequiredError}
|
|
@@ -171,7 +171,7 @@ export const ShipmentInvoiceApiFactory = function (configuration, basePath, axio
|
|
|
171
171
|
return localVarFp.getInvoiceStatus(shipmentId, options).then((request) => request(axios, basePath));
|
|
172
172
|
},
|
|
173
173
|
/**
|
|
174
|
-
* Returns the shipment details required to issue an invoice for the specified shipment. **Usage
|
|
174
|
+
* Returns the shipment details required to issue an invoice for the specified shipment. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1.133 | 25 | 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).
|
|
175
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}
|
|
@@ -180,7 +180,7 @@ export const ShipmentInvoiceApiFactory = function (configuration, basePath, axio
|
|
|
180
180
|
return localVarFp.getShipmentDetails(shipmentId, options).then((request) => request(axios, basePath));
|
|
181
181
|
},
|
|
182
182
|
/**
|
|
183
|
-
* Submits a shipment invoice document for a given shipment. **Usage
|
|
183
|
+
* Submits a shipment invoice document for a given shipment. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1.133 | 25 | 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).
|
|
184
184
|
* @param {string} shipmentId The identifier for the shipment.
|
|
185
185
|
* @param {SubmitInvoiceRequest} body
|
|
186
186
|
* @param {*} [options] Override http request option.
|
|
@@ -199,7 +199,7 @@ export const ShipmentInvoiceApiFactory = function (configuration, basePath, axio
|
|
|
199
199
|
*/
|
|
200
200
|
export class ShipmentInvoiceApi extends BaseAPI {
|
|
201
201
|
/**
|
|
202
|
-
* Returns the invoice status for the shipment you specify. **Usage
|
|
202
|
+
* Returns the invoice status for the shipment you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1.133 | 25 | 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).
|
|
203
203
|
* @param {ShipmentInvoiceApiGetInvoiceStatusRequest} requestParameters Request parameters.
|
|
204
204
|
* @param {*} [options] Override http request option.
|
|
205
205
|
* @throws {RequiredError}
|
|
@@ -209,7 +209,7 @@ export class ShipmentInvoiceApi extends BaseAPI {
|
|
|
209
209
|
return ShipmentInvoiceApiFp(this.configuration).getInvoiceStatus(requestParameters.shipmentId, options).then((request) => request(this.axios, this.basePath));
|
|
210
210
|
}
|
|
211
211
|
/**
|
|
212
|
-
* Returns the shipment details required to issue an invoice for the specified shipment. **Usage
|
|
212
|
+
* Returns the shipment details required to issue an invoice for the specified shipment. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1.133 | 25 | 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).
|
|
213
213
|
* @param {ShipmentInvoiceApiGetShipmentDetailsRequest} requestParameters Request parameters.
|
|
214
214
|
* @param {*} [options] Override http request option.
|
|
215
215
|
* @throws {RequiredError}
|
|
@@ -219,7 +219,7 @@ export class ShipmentInvoiceApi extends BaseAPI {
|
|
|
219
219
|
return ShipmentInvoiceApiFp(this.configuration).getShipmentDetails(requestParameters.shipmentId, options).then((request) => request(this.axios, this.basePath));
|
|
220
220
|
}
|
|
221
221
|
/**
|
|
222
|
-
* Submits a shipment invoice document for a given shipment. **Usage
|
|
222
|
+
* Submits a shipment invoice document for a given shipment. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1.133 | 25 | 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).
|
|
223
223
|
* @param {ShipmentInvoiceApiSubmitInvoiceRequest} requestParameters Request parameters.
|
|
224
224
|
* @param {*} [options] Override http request option.
|
|
225
225
|
* @throws {RequiredError}
|
|
@@ -31,6 +31,9 @@ export const COLLECTION_FORMATS = {
|
|
|
31
31
|
* @class BaseAPI
|
|
32
32
|
*/
|
|
33
33
|
export class BaseAPI {
|
|
34
|
+
basePath;
|
|
35
|
+
axios;
|
|
36
|
+
configuration;
|
|
34
37
|
constructor(configuration, basePath = BASE_PATH, axios = globalAxios) {
|
|
35
38
|
this.basePath = basePath;
|
|
36
39
|
this.axios = axios;
|
|
@@ -48,9 +51,10 @@ export class BaseAPI {
|
|
|
48
51
|
* @extends {Error}
|
|
49
52
|
*/
|
|
50
53
|
export class RequiredError extends Error {
|
|
54
|
+
field;
|
|
55
|
+
name = "RequiredError";
|
|
51
56
|
constructor(field, msg) {
|
|
52
57
|
super(msg);
|
|
53
58
|
this.field = field;
|
|
54
|
-
this.name = "RequiredError";
|
|
55
59
|
}
|
|
56
60
|
}
|
|
@@ -12,6 +12,55 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
export class Configuration {
|
|
15
|
+
/**
|
|
16
|
+
* parameter for apiKey security
|
|
17
|
+
* @param name security name
|
|
18
|
+
* @memberof Configuration
|
|
19
|
+
*/
|
|
20
|
+
apiKey;
|
|
21
|
+
/**
|
|
22
|
+
* parameter for basic security
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof Configuration
|
|
26
|
+
*/
|
|
27
|
+
username;
|
|
28
|
+
/**
|
|
29
|
+
* parameter for basic security
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof Configuration
|
|
33
|
+
*/
|
|
34
|
+
password;
|
|
35
|
+
/**
|
|
36
|
+
* parameter for oauth2 security
|
|
37
|
+
* @param name security name
|
|
38
|
+
* @param scopes oauth2 scope
|
|
39
|
+
* @memberof Configuration
|
|
40
|
+
*/
|
|
41
|
+
accessToken;
|
|
42
|
+
/**
|
|
43
|
+
* override base path
|
|
44
|
+
*
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof Configuration
|
|
47
|
+
*/
|
|
48
|
+
basePath;
|
|
49
|
+
/**
|
|
50
|
+
* base options for axios calls
|
|
51
|
+
*
|
|
52
|
+
* @type {any}
|
|
53
|
+
* @memberof Configuration
|
|
54
|
+
*/
|
|
55
|
+
baseOptions;
|
|
56
|
+
/**
|
|
57
|
+
* The FormData constructor that will be used to create multipart form data
|
|
58
|
+
* requests. You can inject this here so that execution environments that
|
|
59
|
+
* do not support the FormData class can still run the generated client.
|
|
60
|
+
*
|
|
61
|
+
* @type {new () => FormData}
|
|
62
|
+
*/
|
|
63
|
+
formDataCtor;
|
|
15
64
|
constructor(param = {}) {
|
|
16
65
|
this.apiKey = param.apiKey;
|
|
17
66
|
this.username = param.username;
|
|
@@ -22,21 +22,21 @@ import { SubmitInvoiceResponse } from '../models';
|
|
|
22
22
|
*/
|
|
23
23
|
export declare const ShipmentInvoiceApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
24
24
|
/**
|
|
25
|
-
* Returns the invoice status for the shipment you specify. **Usage
|
|
25
|
+
* Returns the invoice status for the shipment you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1.133 | 25 | 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).
|
|
26
26
|
* @param {string} shipmentId The shipment identifier for the shipment.
|
|
27
27
|
* @param {*} [options] Override http request option.
|
|
28
28
|
* @throws {RequiredError}
|
|
29
29
|
*/
|
|
30
30
|
getInvoiceStatus: (shipmentId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
31
31
|
/**
|
|
32
|
-
* Returns the shipment details required to issue an invoice for the specified shipment. **Usage
|
|
32
|
+
* Returns the shipment details required to issue an invoice for the specified shipment. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1.133 | 25 | 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).
|
|
33
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
|
*/
|
|
37
37
|
getShipmentDetails: (shipmentId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
38
38
|
/**
|
|
39
|
-
* Submits a shipment invoice document for a given shipment. **Usage
|
|
39
|
+
* Submits a shipment invoice document for a given shipment. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1.133 | 25 | 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).
|
|
40
40
|
* @param {string} shipmentId The identifier for the shipment.
|
|
41
41
|
* @param {SubmitInvoiceRequest} body
|
|
42
42
|
* @param {*} [options] Override http request option.
|
|
@@ -50,21 +50,21 @@ export declare const ShipmentInvoiceApiAxiosParamCreator: (configuration?: Confi
|
|
|
50
50
|
*/
|
|
51
51
|
export declare const ShipmentInvoiceApiFp: (configuration?: Configuration) => {
|
|
52
52
|
/**
|
|
53
|
-
* Returns the invoice status for the shipment you specify. **Usage
|
|
53
|
+
* Returns the invoice status for the shipment you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1.133 | 25 | 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).
|
|
54
54
|
* @param {string} shipmentId The shipment identifier for the shipment.
|
|
55
55
|
* @param {*} [options] Override http request option.
|
|
56
56
|
* @throws {RequiredError}
|
|
57
57
|
*/
|
|
58
58
|
getInvoiceStatus(shipmentId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetInvoiceStatusResponse>>;
|
|
59
59
|
/**
|
|
60
|
-
* Returns the shipment details required to issue an invoice for the specified shipment. **Usage
|
|
60
|
+
* Returns the shipment details required to issue an invoice for the specified shipment. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1.133 | 25 | 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).
|
|
61
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
|
*/
|
|
65
65
|
getShipmentDetails(shipmentId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetShipmentDetailsResponse>>;
|
|
66
66
|
/**
|
|
67
|
-
* Submits a shipment invoice document for a given shipment. **Usage
|
|
67
|
+
* Submits a shipment invoice document for a given shipment. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1.133 | 25 | 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).
|
|
68
68
|
* @param {string} shipmentId The identifier for the shipment.
|
|
69
69
|
* @param {SubmitInvoiceRequest} body
|
|
70
70
|
* @param {*} [options] Override http request option.
|
|
@@ -78,21 +78,21 @@ export declare const ShipmentInvoiceApiFp: (configuration?: Configuration) => {
|
|
|
78
78
|
*/
|
|
79
79
|
export declare const ShipmentInvoiceApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
80
80
|
/**
|
|
81
|
-
* Returns the invoice status for the shipment you specify. **Usage
|
|
81
|
+
* Returns the invoice status for the shipment you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1.133 | 25 | 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).
|
|
82
82
|
* @param {string} shipmentId The shipment identifier for the shipment.
|
|
83
83
|
* @param {*} [options] Override http request option.
|
|
84
84
|
* @throws {RequiredError}
|
|
85
85
|
*/
|
|
86
86
|
getInvoiceStatus(shipmentId: string, options?: any): AxiosPromise<GetInvoiceStatusResponse>;
|
|
87
87
|
/**
|
|
88
|
-
* Returns the shipment details required to issue an invoice for the specified shipment. **Usage
|
|
88
|
+
* Returns the shipment details required to issue an invoice for the specified shipment. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1.133 | 25 | 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).
|
|
89
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
|
*/
|
|
93
93
|
getShipmentDetails(shipmentId: string, options?: any): AxiosPromise<GetShipmentDetailsResponse>;
|
|
94
94
|
/**
|
|
95
|
-
* Submits a shipment invoice document for a given shipment. **Usage
|
|
95
|
+
* Submits a shipment invoice document for a given shipment. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1.133 | 25 | 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).
|
|
96
96
|
* @param {string} shipmentId The identifier for the shipment.
|
|
97
97
|
* @param {SubmitInvoiceRequest} body
|
|
98
98
|
* @param {*} [options] Override http request option.
|
|
@@ -153,7 +153,7 @@ export interface ShipmentInvoiceApiSubmitInvoiceRequest {
|
|
|
153
153
|
*/
|
|
154
154
|
export declare class ShipmentInvoiceApi extends BaseAPI {
|
|
155
155
|
/**
|
|
156
|
-
* Returns the invoice status for the shipment you specify. **Usage
|
|
156
|
+
* Returns the invoice status for the shipment you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1.133 | 25 | 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).
|
|
157
157
|
* @param {ShipmentInvoiceApiGetInvoiceStatusRequest} requestParameters Request parameters.
|
|
158
158
|
* @param {*} [options] Override http request option.
|
|
159
159
|
* @throws {RequiredError}
|
|
@@ -161,7 +161,7 @@ export declare class ShipmentInvoiceApi extends BaseAPI {
|
|
|
161
161
|
*/
|
|
162
162
|
getInvoiceStatus(requestParameters: ShipmentInvoiceApiGetInvoiceStatusRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetInvoiceStatusResponse, any>>;
|
|
163
163
|
/**
|
|
164
|
-
* Returns the shipment details required to issue an invoice for the specified shipment. **Usage
|
|
164
|
+
* Returns the shipment details required to issue an invoice for the specified shipment. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1.133 | 25 | 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).
|
|
165
165
|
* @param {ShipmentInvoiceApiGetShipmentDetailsRequest} requestParameters Request parameters.
|
|
166
166
|
* @param {*} [options] Override http request option.
|
|
167
167
|
* @throws {RequiredError}
|
|
@@ -169,7 +169,7 @@ export declare class ShipmentInvoiceApi extends BaseAPI {
|
|
|
169
169
|
*/
|
|
170
170
|
getShipmentDetails(requestParameters: ShipmentInvoiceApiGetShipmentDetailsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetShipmentDetailsResponse, any>>;
|
|
171
171
|
/**
|
|
172
|
-
* Submits a shipment invoice document for a given shipment. **Usage
|
|
172
|
+
* Submits a shipment invoice document for a given shipment. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1.133 | 25 | 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).
|
|
173
173
|
* @param {ShipmentInvoiceApiSubmitInvoiceRequest} requestParameters Request parameters.
|
|
174
174
|
* @param {*} [options] Override http request option.
|
|
175
175
|
* @throws {RequiredError}
|
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.11.
|
|
5
|
+
"version": "1.11.9",
|
|
6
6
|
"main": "dist/cjs/index.js",
|
|
7
7
|
"module": "dist/es/index.js",
|
|
8
8
|
"types": "dist/types/index.d.ts",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"test": "jest"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@sp-api-sdk/common": "^1.9.
|
|
29
|
+
"@sp-api-sdk/common": "^1.9.21",
|
|
30
30
|
"axios": "^0.27.2"
|
|
31
31
|
},
|
|
32
32
|
"repository": {
|
|
@@ -51,5 +51,5 @@
|
|
|
51
51
|
"typedoc": {
|
|
52
52
|
"entryPoint": "./index.ts"
|
|
53
53
|
},
|
|
54
|
-
"gitHead": "
|
|
54
|
+
"gitHead": "4aae180b5a1395b37b673b93c285065ddba25470"
|
|
55
55
|
}
|