@sp-api-sdk/shipment-invoicing-api-v0 3.0.4 → 4.0.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.
@@ -16,7 +16,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
16
16
  return (mod && mod.__esModule) ? mod : { "default": mod };
17
17
  };
18
18
  Object.defineProperty(exports, "__esModule", { value: true });
19
- exports.ShipmentInvoiceApi = exports.ShipmentInvoiceApiFactory = exports.ShipmentInvoiceApiFp = exports.ShipmentInvoiceApiAxiosParamCreator = void 0;
19
+ exports.ShipmentInvoicingApi = exports.ShipmentInvoicingApiFactory = exports.ShipmentInvoicingApiFp = exports.ShipmentInvoicingApiAxiosParamCreator = void 0;
20
20
  const axios_1 = __importDefault(require("axios"));
21
21
  // Some imports not used depending on template conditions
22
22
  // @ts-ignore
@@ -24,10 +24,10 @@ const common_1 = require("../common");
24
24
  // @ts-ignore
25
25
  const base_1 = require("../base");
26
26
  /**
27
- * ShipmentInvoiceApi - axios parameter creator
27
+ * ShipmentInvoicingApi - axios parameter creator
28
28
  * @export
29
29
  */
30
- const ShipmentInvoiceApiAxiosParamCreator = function (configuration) {
30
+ const ShipmentInvoicingApiAxiosParamCreator = function (configuration) {
31
31
  return {
32
32
  /**
33
33
  * 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).
@@ -120,13 +120,13 @@ const ShipmentInvoiceApiAxiosParamCreator = function (configuration) {
120
120
  },
121
121
  };
122
122
  };
123
- exports.ShipmentInvoiceApiAxiosParamCreator = ShipmentInvoiceApiAxiosParamCreator;
123
+ exports.ShipmentInvoicingApiAxiosParamCreator = ShipmentInvoicingApiAxiosParamCreator;
124
124
  /**
125
- * ShipmentInvoiceApi - functional programming interface
125
+ * ShipmentInvoicingApi - functional programming interface
126
126
  * @export
127
127
  */
128
- const ShipmentInvoiceApiFp = function (configuration) {
129
- const localVarAxiosParamCreator = (0, exports.ShipmentInvoiceApiAxiosParamCreator)(configuration);
128
+ const ShipmentInvoicingApiFp = function (configuration) {
129
+ const localVarAxiosParamCreator = (0, exports.ShipmentInvoicingApiAxiosParamCreator)(configuration);
130
130
  return {
131
131
  /**
132
132
  * 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).
@@ -137,7 +137,7 @@ const ShipmentInvoiceApiFp = function (configuration) {
137
137
  async getInvoiceStatus(shipmentId, options) {
138
138
  const localVarAxiosArgs = await localVarAxiosParamCreator.getInvoiceStatus(shipmentId, options);
139
139
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
140
- const localVarOperationServerBasePath = base_1.operationServerMap['ShipmentInvoiceApi.getInvoiceStatus']?.[localVarOperationServerIndex]?.url;
140
+ const localVarOperationServerBasePath = base_1.operationServerMap['ShipmentInvoicingApi.getInvoiceStatus']?.[localVarOperationServerIndex]?.url;
141
141
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
142
142
  },
143
143
  /**
@@ -149,7 +149,7 @@ const ShipmentInvoiceApiFp = function (configuration) {
149
149
  async getShipmentDetails(shipmentId, options) {
150
150
  const localVarAxiosArgs = await localVarAxiosParamCreator.getShipmentDetails(shipmentId, options);
151
151
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
152
- const localVarOperationServerBasePath = base_1.operationServerMap['ShipmentInvoiceApi.getShipmentDetails']?.[localVarOperationServerIndex]?.url;
152
+ const localVarOperationServerBasePath = base_1.operationServerMap['ShipmentInvoicingApi.getShipmentDetails']?.[localVarOperationServerIndex]?.url;
153
153
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
154
154
  },
155
155
  /**
@@ -162,22 +162,22 @@ const ShipmentInvoiceApiFp = function (configuration) {
162
162
  async submitInvoice(shipmentId, body, options) {
163
163
  const localVarAxiosArgs = await localVarAxiosParamCreator.submitInvoice(shipmentId, body, options);
164
164
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
165
- const localVarOperationServerBasePath = base_1.operationServerMap['ShipmentInvoiceApi.submitInvoice']?.[localVarOperationServerIndex]?.url;
165
+ const localVarOperationServerBasePath = base_1.operationServerMap['ShipmentInvoicingApi.submitInvoice']?.[localVarOperationServerIndex]?.url;
166
166
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
167
167
  },
168
168
  };
169
169
  };
170
- exports.ShipmentInvoiceApiFp = ShipmentInvoiceApiFp;
170
+ exports.ShipmentInvoicingApiFp = ShipmentInvoicingApiFp;
171
171
  /**
172
- * ShipmentInvoiceApi - factory interface
172
+ * ShipmentInvoicingApi - factory interface
173
173
  * @export
174
174
  */
175
- const ShipmentInvoiceApiFactory = function (configuration, basePath, axios) {
176
- const localVarFp = (0, exports.ShipmentInvoiceApiFp)(configuration);
175
+ const ShipmentInvoicingApiFactory = function (configuration, basePath, axios) {
176
+ const localVarFp = (0, exports.ShipmentInvoicingApiFp)(configuration);
177
177
  return {
178
178
  /**
179
179
  * 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).
180
- * @param {ShipmentInvoiceApiGetInvoiceStatusRequest} requestParameters Request parameters.
180
+ * @param {ShipmentInvoicingApiGetInvoiceStatusRequest} requestParameters Request parameters.
181
181
  * @param {*} [options] Override http request option.
182
182
  * @throws {RequiredError}
183
183
  */
@@ -186,7 +186,7 @@ const ShipmentInvoiceApiFactory = function (configuration, basePath, axios) {
186
186
  },
187
187
  /**
188
188
  * 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).
189
- * @param {ShipmentInvoiceApiGetShipmentDetailsRequest} requestParameters Request parameters.
189
+ * @param {ShipmentInvoicingApiGetShipmentDetailsRequest} requestParameters Request parameters.
190
190
  * @param {*} [options] Override http request option.
191
191
  * @throws {RequiredError}
192
192
  */
@@ -195,7 +195,7 @@ const ShipmentInvoiceApiFactory = function (configuration, basePath, axios) {
195
195
  },
196
196
  /**
197
197
  * 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).
198
- * @param {ShipmentInvoiceApiSubmitInvoiceRequest} requestParameters Request parameters.
198
+ * @param {ShipmentInvoicingApiSubmitInvoiceRequest} requestParameters Request parameters.
199
199
  * @param {*} [options] Override http request option.
200
200
  * @throws {RequiredError}
201
201
  */
@@ -204,43 +204,43 @@ const ShipmentInvoiceApiFactory = function (configuration, basePath, axios) {
204
204
  },
205
205
  };
206
206
  };
207
- exports.ShipmentInvoiceApiFactory = ShipmentInvoiceApiFactory;
207
+ exports.ShipmentInvoicingApiFactory = ShipmentInvoicingApiFactory;
208
208
  /**
209
- * ShipmentInvoiceApi - object-oriented interface
209
+ * ShipmentInvoicingApi - object-oriented interface
210
210
  * @export
211
- * @class ShipmentInvoiceApi
211
+ * @class ShipmentInvoicingApi
212
212
  * @extends {BaseAPI}
213
213
  */
214
- class ShipmentInvoiceApi extends base_1.BaseAPI {
214
+ class ShipmentInvoicingApi extends base_1.BaseAPI {
215
215
  /**
216
216
  * 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).
217
- * @param {ShipmentInvoiceApiGetInvoiceStatusRequest} requestParameters Request parameters.
217
+ * @param {ShipmentInvoicingApiGetInvoiceStatusRequest} requestParameters Request parameters.
218
218
  * @param {*} [options] Override http request option.
219
219
  * @throws {RequiredError}
220
- * @memberof ShipmentInvoiceApi
220
+ * @memberof ShipmentInvoicingApi
221
221
  */
222
222
  getInvoiceStatus(requestParameters, options) {
223
- return (0, exports.ShipmentInvoiceApiFp)(this.configuration).getInvoiceStatus(requestParameters.shipmentId, options).then((request) => request(this.axios, this.basePath));
223
+ return (0, exports.ShipmentInvoicingApiFp)(this.configuration).getInvoiceStatus(requestParameters.shipmentId, options).then((request) => request(this.axios, this.basePath));
224
224
  }
225
225
  /**
226
226
  * 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).
227
- * @param {ShipmentInvoiceApiGetShipmentDetailsRequest} requestParameters Request parameters.
227
+ * @param {ShipmentInvoicingApiGetShipmentDetailsRequest} requestParameters Request parameters.
228
228
  * @param {*} [options] Override http request option.
229
229
  * @throws {RequiredError}
230
- * @memberof ShipmentInvoiceApi
230
+ * @memberof ShipmentInvoicingApi
231
231
  */
232
232
  getShipmentDetails(requestParameters, options) {
233
- return (0, exports.ShipmentInvoiceApiFp)(this.configuration).getShipmentDetails(requestParameters.shipmentId, options).then((request) => request(this.axios, this.basePath));
233
+ return (0, exports.ShipmentInvoicingApiFp)(this.configuration).getShipmentDetails(requestParameters.shipmentId, options).then((request) => request(this.axios, this.basePath));
234
234
  }
235
235
  /**
236
236
  * 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).
237
- * @param {ShipmentInvoiceApiSubmitInvoiceRequest} requestParameters Request parameters.
237
+ * @param {ShipmentInvoicingApiSubmitInvoiceRequest} requestParameters Request parameters.
238
238
  * @param {*} [options] Override http request option.
239
239
  * @throws {RequiredError}
240
- * @memberof ShipmentInvoiceApi
240
+ * @memberof ShipmentInvoicingApi
241
241
  */
242
242
  submitInvoice(requestParameters, options) {
243
- return (0, exports.ShipmentInvoiceApiFp)(this.configuration).submitInvoice(requestParameters.shipmentId, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
243
+ return (0, exports.ShipmentInvoicingApiFp)(this.configuration).submitInvoice(requestParameters.shipmentId, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
244
244
  }
245
245
  }
246
- exports.ShipmentInvoiceApi = ShipmentInvoiceApi;
246
+ exports.ShipmentInvoicingApi = ShipmentInvoicingApi;
@@ -27,4 +27,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
27
27
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
28
28
  };
29
29
  Object.defineProperty(exports, "__esModule", { value: true });
30
- __exportStar(require("./api/shipment-invoice-api"), exports);
30
+ __exportStar(require("./api/shipment-invoicing-api"), exports);
@@ -26,7 +26,7 @@ exports.clientRateLimits = [
26
26
  burst: 25,
27
27
  },
28
28
  ];
29
- class ShipmentInvoicingApiClient extends api_model_1.ShipmentInvoiceApi {
29
+ class ShipmentInvoicingApiClient extends api_model_1.ShipmentInvoicingApi {
30
30
  constructor(configuration) {
31
31
  const { axios, endpoint } = (0, common_1.createAxiosInstance)(configuration, exports.clientRateLimits);
32
32
  super(new api_model_1.Configuration(), endpoint, axios);
@@ -18,10 +18,10 @@ import { DUMMY_BASE_URL, assertParamExists, setSearchParams, serializeDataIfNeed
18
18
  // @ts-ignore
19
19
  import { BASE_PATH, BaseAPI, operationServerMap } from '../base';
20
20
  /**
21
- * ShipmentInvoiceApi - axios parameter creator
21
+ * ShipmentInvoicingApi - axios parameter creator
22
22
  * @export
23
23
  */
24
- export const ShipmentInvoiceApiAxiosParamCreator = function (configuration) {
24
+ export const ShipmentInvoicingApiAxiosParamCreator = function (configuration) {
25
25
  return {
26
26
  /**
27
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).
@@ -115,11 +115,11 @@ export const ShipmentInvoiceApiAxiosParamCreator = function (configuration) {
115
115
  };
116
116
  };
117
117
  /**
118
- * ShipmentInvoiceApi - functional programming interface
118
+ * ShipmentInvoicingApi - functional programming interface
119
119
  * @export
120
120
  */
121
- export const ShipmentInvoiceApiFp = function (configuration) {
122
- const localVarAxiosParamCreator = ShipmentInvoiceApiAxiosParamCreator(configuration);
121
+ export const ShipmentInvoicingApiFp = function (configuration) {
122
+ const localVarAxiosParamCreator = ShipmentInvoicingApiAxiosParamCreator(configuration);
123
123
  return {
124
124
  /**
125
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).
@@ -130,7 +130,7 @@ export const ShipmentInvoiceApiFp = function (configuration) {
130
130
  async getInvoiceStatus(shipmentId, options) {
131
131
  const localVarAxiosArgs = await localVarAxiosParamCreator.getInvoiceStatus(shipmentId, options);
132
132
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
133
- const localVarOperationServerBasePath = operationServerMap['ShipmentInvoiceApi.getInvoiceStatus']?.[localVarOperationServerIndex]?.url;
133
+ const localVarOperationServerBasePath = operationServerMap['ShipmentInvoicingApi.getInvoiceStatus']?.[localVarOperationServerIndex]?.url;
134
134
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
135
135
  },
136
136
  /**
@@ -142,7 +142,7 @@ export const ShipmentInvoiceApiFp = function (configuration) {
142
142
  async getShipmentDetails(shipmentId, options) {
143
143
  const localVarAxiosArgs = await localVarAxiosParamCreator.getShipmentDetails(shipmentId, options);
144
144
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
145
- const localVarOperationServerBasePath = operationServerMap['ShipmentInvoiceApi.getShipmentDetails']?.[localVarOperationServerIndex]?.url;
145
+ const localVarOperationServerBasePath = operationServerMap['ShipmentInvoicingApi.getShipmentDetails']?.[localVarOperationServerIndex]?.url;
146
146
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
147
147
  },
148
148
  /**
@@ -155,21 +155,21 @@ export const ShipmentInvoiceApiFp = function (configuration) {
155
155
  async submitInvoice(shipmentId, body, options) {
156
156
  const localVarAxiosArgs = await localVarAxiosParamCreator.submitInvoice(shipmentId, body, options);
157
157
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
158
- const localVarOperationServerBasePath = operationServerMap['ShipmentInvoiceApi.submitInvoice']?.[localVarOperationServerIndex]?.url;
158
+ const localVarOperationServerBasePath = operationServerMap['ShipmentInvoicingApi.submitInvoice']?.[localVarOperationServerIndex]?.url;
159
159
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
160
160
  },
161
161
  };
162
162
  };
163
163
  /**
164
- * ShipmentInvoiceApi - factory interface
164
+ * ShipmentInvoicingApi - factory interface
165
165
  * @export
166
166
  */
167
- export const ShipmentInvoiceApiFactory = function (configuration, basePath, axios) {
168
- const localVarFp = ShipmentInvoiceApiFp(configuration);
167
+ export const ShipmentInvoicingApiFactory = function (configuration, basePath, axios) {
168
+ const localVarFp = ShipmentInvoicingApiFp(configuration);
169
169
  return {
170
170
  /**
171
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
- * @param {ShipmentInvoiceApiGetInvoiceStatusRequest} requestParameters Request parameters.
172
+ * @param {ShipmentInvoicingApiGetInvoiceStatusRequest} requestParameters Request parameters.
173
173
  * @param {*} [options] Override http request option.
174
174
  * @throws {RequiredError}
175
175
  */
@@ -178,7 +178,7 @@ export const ShipmentInvoiceApiFactory = function (configuration, basePath, axio
178
178
  },
179
179
  /**
180
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
- * @param {ShipmentInvoiceApiGetShipmentDetailsRequest} requestParameters Request parameters.
181
+ * @param {ShipmentInvoicingApiGetShipmentDetailsRequest} requestParameters Request parameters.
182
182
  * @param {*} [options] Override http request option.
183
183
  * @throws {RequiredError}
184
184
  */
@@ -187,7 +187,7 @@ export const ShipmentInvoiceApiFactory = function (configuration, basePath, axio
187
187
  },
188
188
  /**
189
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
- * @param {ShipmentInvoiceApiSubmitInvoiceRequest} requestParameters Request parameters.
190
+ * @param {ShipmentInvoicingApiSubmitInvoiceRequest} requestParameters Request parameters.
191
191
  * @param {*} [options] Override http request option.
192
192
  * @throws {RequiredError}
193
193
  */
@@ -197,40 +197,40 @@ export const ShipmentInvoiceApiFactory = function (configuration, basePath, axio
197
197
  };
198
198
  };
199
199
  /**
200
- * ShipmentInvoiceApi - object-oriented interface
200
+ * ShipmentInvoicingApi - object-oriented interface
201
201
  * @export
202
- * @class ShipmentInvoiceApi
202
+ * @class ShipmentInvoicingApi
203
203
  * @extends {BaseAPI}
204
204
  */
205
- export class ShipmentInvoiceApi extends BaseAPI {
205
+ export class ShipmentInvoicingApi extends BaseAPI {
206
206
  /**
207
207
  * 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).
208
- * @param {ShipmentInvoiceApiGetInvoiceStatusRequest} requestParameters Request parameters.
208
+ * @param {ShipmentInvoicingApiGetInvoiceStatusRequest} requestParameters Request parameters.
209
209
  * @param {*} [options] Override http request option.
210
210
  * @throws {RequiredError}
211
- * @memberof ShipmentInvoiceApi
211
+ * @memberof ShipmentInvoicingApi
212
212
  */
213
213
  getInvoiceStatus(requestParameters, options) {
214
- return ShipmentInvoiceApiFp(this.configuration).getInvoiceStatus(requestParameters.shipmentId, options).then((request) => request(this.axios, this.basePath));
214
+ return ShipmentInvoicingApiFp(this.configuration).getInvoiceStatus(requestParameters.shipmentId, options).then((request) => request(this.axios, this.basePath));
215
215
  }
216
216
  /**
217
217
  * 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).
218
- * @param {ShipmentInvoiceApiGetShipmentDetailsRequest} requestParameters Request parameters.
218
+ * @param {ShipmentInvoicingApiGetShipmentDetailsRequest} requestParameters Request parameters.
219
219
  * @param {*} [options] Override http request option.
220
220
  * @throws {RequiredError}
221
- * @memberof ShipmentInvoiceApi
221
+ * @memberof ShipmentInvoicingApi
222
222
  */
223
223
  getShipmentDetails(requestParameters, options) {
224
- return ShipmentInvoiceApiFp(this.configuration).getShipmentDetails(requestParameters.shipmentId, options).then((request) => request(this.axios, this.basePath));
224
+ return ShipmentInvoicingApiFp(this.configuration).getShipmentDetails(requestParameters.shipmentId, options).then((request) => request(this.axios, this.basePath));
225
225
  }
226
226
  /**
227
227
  * 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).
228
- * @param {ShipmentInvoiceApiSubmitInvoiceRequest} requestParameters Request parameters.
228
+ * @param {ShipmentInvoicingApiSubmitInvoiceRequest} requestParameters Request parameters.
229
229
  * @param {*} [options] Override http request option.
230
230
  * @throws {RequiredError}
231
- * @memberof ShipmentInvoiceApi
231
+ * @memberof ShipmentInvoicingApi
232
232
  */
233
233
  submitInvoice(requestParameters, options) {
234
- return ShipmentInvoiceApiFp(this.configuration).submitInvoice(requestParameters.shipmentId, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
234
+ return ShipmentInvoicingApiFp(this.configuration).submitInvoice(requestParameters.shipmentId, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
235
235
  }
236
236
  }
@@ -11,4 +11,4 @@
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
- export * from './api/shipment-invoice-api';
14
+ export * from './api/shipment-invoicing-api';
package/dist/es/client.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { createAxiosInstance } from '@sp-api-sdk/common';
2
- import { Configuration, ShipmentInvoiceApi } from './api-model';
2
+ import { Configuration, ShipmentInvoicingApi } from './api-model';
3
3
  export const clientRateLimits = [
4
4
  {
5
5
  method: 'get',
@@ -23,7 +23,7 @@ export const clientRateLimits = [
23
23
  burst: 25,
24
24
  },
25
25
  ];
26
- export class ShipmentInvoicingApiClient extends ShipmentInvoiceApi {
26
+ export class ShipmentInvoicingApiClient extends ShipmentInvoicingApi {
27
27
  constructor(configuration) {
28
28
  const { axios, endpoint } = createAxiosInstance(configuration, clientRateLimits);
29
29
  super(new Configuration(), endpoint, axios);
@@ -18,10 +18,10 @@ import type { GetShipmentDetailsResponse } from '../models';
18
18
  import type { SubmitInvoiceRequest } from '../models';
19
19
  import type { SubmitInvoiceResponse } from '../models';
20
20
  /**
21
- * ShipmentInvoiceApi - axios parameter creator
21
+ * ShipmentInvoicingApi - axios parameter creator
22
22
  * @export
23
23
  */
24
- export declare const ShipmentInvoiceApiAxiosParamCreator: (configuration?: Configuration) => {
24
+ export declare const ShipmentInvoicingApiAxiosParamCreator: (configuration?: Configuration) => {
25
25
  /**
26
26
  * 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).
27
27
  * @param {string} shipmentId The shipment identifier for the shipment.
@@ -46,10 +46,10 @@ export declare const ShipmentInvoiceApiAxiosParamCreator: (configuration?: Confi
46
46
  submitInvoice: (shipmentId: string, body: SubmitInvoiceRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
47
47
  };
48
48
  /**
49
- * ShipmentInvoiceApi - functional programming interface
49
+ * ShipmentInvoicingApi - functional programming interface
50
50
  * @export
51
51
  */
52
- export declare const ShipmentInvoiceApiFp: (configuration?: Configuration) => {
52
+ export declare const ShipmentInvoicingApiFp: (configuration?: Configuration) => {
53
53
  /**
54
54
  * 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).
55
55
  * @param {string} shipmentId The shipment identifier for the shipment.
@@ -74,106 +74,106 @@ export declare const ShipmentInvoiceApiFp: (configuration?: Configuration) => {
74
74
  submitInvoice(shipmentId: string, body: SubmitInvoiceRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SubmitInvoiceResponse>>;
75
75
  };
76
76
  /**
77
- * ShipmentInvoiceApi - factory interface
77
+ * ShipmentInvoicingApi - factory interface
78
78
  * @export
79
79
  */
80
- export declare const ShipmentInvoiceApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
80
+ export declare const ShipmentInvoicingApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
81
81
  /**
82
82
  * 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).
83
- * @param {ShipmentInvoiceApiGetInvoiceStatusRequest} requestParameters Request parameters.
83
+ * @param {ShipmentInvoicingApiGetInvoiceStatusRequest} requestParameters Request parameters.
84
84
  * @param {*} [options] Override http request option.
85
85
  * @throws {RequiredError}
86
86
  */
87
- getInvoiceStatus(requestParameters: ShipmentInvoiceApiGetInvoiceStatusRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetInvoiceStatusResponse>;
87
+ getInvoiceStatus(requestParameters: ShipmentInvoicingApiGetInvoiceStatusRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetInvoiceStatusResponse>;
88
88
  /**
89
89
  * 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).
90
- * @param {ShipmentInvoiceApiGetShipmentDetailsRequest} requestParameters Request parameters.
90
+ * @param {ShipmentInvoicingApiGetShipmentDetailsRequest} requestParameters Request parameters.
91
91
  * @param {*} [options] Override http request option.
92
92
  * @throws {RequiredError}
93
93
  */
94
- getShipmentDetails(requestParameters: ShipmentInvoiceApiGetShipmentDetailsRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetShipmentDetailsResponse>;
94
+ getShipmentDetails(requestParameters: ShipmentInvoicingApiGetShipmentDetailsRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetShipmentDetailsResponse>;
95
95
  /**
96
96
  * 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).
97
- * @param {ShipmentInvoiceApiSubmitInvoiceRequest} requestParameters Request parameters.
97
+ * @param {ShipmentInvoicingApiSubmitInvoiceRequest} requestParameters Request parameters.
98
98
  * @param {*} [options] Override http request option.
99
99
  * @throws {RequiredError}
100
100
  */
101
- submitInvoice(requestParameters: ShipmentInvoiceApiSubmitInvoiceRequest, options?: RawAxiosRequestConfig): AxiosPromise<SubmitInvoiceResponse>;
101
+ submitInvoice(requestParameters: ShipmentInvoicingApiSubmitInvoiceRequest, options?: RawAxiosRequestConfig): AxiosPromise<SubmitInvoiceResponse>;
102
102
  };
103
103
  /**
104
- * Request parameters for getInvoiceStatus operation in ShipmentInvoiceApi.
104
+ * Request parameters for getInvoiceStatus operation in ShipmentInvoicingApi.
105
105
  * @export
106
- * @interface ShipmentInvoiceApiGetInvoiceStatusRequest
106
+ * @interface ShipmentInvoicingApiGetInvoiceStatusRequest
107
107
  */
108
- export interface ShipmentInvoiceApiGetInvoiceStatusRequest {
108
+ export interface ShipmentInvoicingApiGetInvoiceStatusRequest {
109
109
  /**
110
110
  * The shipment identifier for the shipment.
111
111
  * @type {string}
112
- * @memberof ShipmentInvoiceApiGetInvoiceStatus
112
+ * @memberof ShipmentInvoicingApiGetInvoiceStatus
113
113
  */
114
114
  readonly shipmentId: string;
115
115
  }
116
116
  /**
117
- * Request parameters for getShipmentDetails operation in ShipmentInvoiceApi.
117
+ * Request parameters for getShipmentDetails operation in ShipmentInvoicingApi.
118
118
  * @export
119
- * @interface ShipmentInvoiceApiGetShipmentDetailsRequest
119
+ * @interface ShipmentInvoicingApiGetShipmentDetailsRequest
120
120
  */
121
- export interface ShipmentInvoiceApiGetShipmentDetailsRequest {
121
+ export interface ShipmentInvoicingApiGetShipmentDetailsRequest {
122
122
  /**
123
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
- * @memberof ShipmentInvoiceApiGetShipmentDetails
125
+ * @memberof ShipmentInvoicingApiGetShipmentDetails
126
126
  */
127
127
  readonly shipmentId: string;
128
128
  }
129
129
  /**
130
- * Request parameters for submitInvoice operation in ShipmentInvoiceApi.
130
+ * Request parameters for submitInvoice operation in ShipmentInvoicingApi.
131
131
  * @export
132
- * @interface ShipmentInvoiceApiSubmitInvoiceRequest
132
+ * @interface ShipmentInvoicingApiSubmitInvoiceRequest
133
133
  */
134
- export interface ShipmentInvoiceApiSubmitInvoiceRequest {
134
+ export interface ShipmentInvoicingApiSubmitInvoiceRequest {
135
135
  /**
136
136
  * The identifier for the shipment.
137
137
  * @type {string}
138
- * @memberof ShipmentInvoiceApiSubmitInvoice
138
+ * @memberof ShipmentInvoicingApiSubmitInvoice
139
139
  */
140
140
  readonly shipmentId: string;
141
141
  /**
142
142
  *
143
143
  * @type {SubmitInvoiceRequest}
144
- * @memberof ShipmentInvoiceApiSubmitInvoice
144
+ * @memberof ShipmentInvoicingApiSubmitInvoice
145
145
  */
146
146
  readonly body: SubmitInvoiceRequest;
147
147
  }
148
148
  /**
149
- * ShipmentInvoiceApi - object-oriented interface
149
+ * ShipmentInvoicingApi - object-oriented interface
150
150
  * @export
151
- * @class ShipmentInvoiceApi
151
+ * @class ShipmentInvoicingApi
152
152
  * @extends {BaseAPI}
153
153
  */
154
- export declare class ShipmentInvoiceApi extends BaseAPI {
154
+ export declare class ShipmentInvoicingApi extends BaseAPI {
155
155
  /**
156
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
- * @param {ShipmentInvoiceApiGetInvoiceStatusRequest} requestParameters Request parameters.
157
+ * @param {ShipmentInvoicingApiGetInvoiceStatusRequest} requestParameters Request parameters.
158
158
  * @param {*} [options] Override http request option.
159
159
  * @throws {RequiredError}
160
- * @memberof ShipmentInvoiceApi
160
+ * @memberof ShipmentInvoicingApi
161
161
  */
162
- getInvoiceStatus(requestParameters: ShipmentInvoiceApiGetInvoiceStatusRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetInvoiceStatusResponse, any>>;
162
+ getInvoiceStatus(requestParameters: ShipmentInvoicingApiGetInvoiceStatusRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetInvoiceStatusResponse, any>>;
163
163
  /**
164
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
- * @param {ShipmentInvoiceApiGetShipmentDetailsRequest} requestParameters Request parameters.
165
+ * @param {ShipmentInvoicingApiGetShipmentDetailsRequest} requestParameters Request parameters.
166
166
  * @param {*} [options] Override http request option.
167
167
  * @throws {RequiredError}
168
- * @memberof ShipmentInvoiceApi
168
+ * @memberof ShipmentInvoicingApi
169
169
  */
170
- getShipmentDetails(requestParameters: ShipmentInvoiceApiGetShipmentDetailsRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetShipmentDetailsResponse, any>>;
170
+ getShipmentDetails(requestParameters: ShipmentInvoicingApiGetShipmentDetailsRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetShipmentDetailsResponse, any>>;
171
171
  /**
172
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
- * @param {ShipmentInvoiceApiSubmitInvoiceRequest} requestParameters Request parameters.
173
+ * @param {ShipmentInvoicingApiSubmitInvoiceRequest} requestParameters Request parameters.
174
174
  * @param {*} [options] Override http request option.
175
175
  * @throws {RequiredError}
176
- * @memberof ShipmentInvoiceApi
176
+ * @memberof ShipmentInvoicingApi
177
177
  */
178
- submitInvoice(requestParameters: ShipmentInvoiceApiSubmitInvoiceRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<SubmitInvoiceResponse, any>>;
178
+ submitInvoice(requestParameters: ShipmentInvoicingApiSubmitInvoiceRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<SubmitInvoiceResponse, any>>;
179
179
  }
@@ -9,4 +9,4 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- export * from './api/shipment-invoice-api';
12
+ export * from './api/shipment-invoicing-api';
@@ -1,6 +1,6 @@
1
1
  import { type ClientConfiguration, type RateLimit } from '@sp-api-sdk/common';
2
- import { ShipmentInvoiceApi } from './api-model';
2
+ import { ShipmentInvoicingApi } from './api-model';
3
3
  export declare const clientRateLimits: RateLimit[];
4
- export declare class ShipmentInvoicingApiClient extends ShipmentInvoiceApi {
4
+ export declare class ShipmentInvoicingApiClient extends ShipmentInvoicingApi {
5
5
  constructor(configuration: ClientConfiguration);
6
6
  }
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@sp-api-sdk/shipment-invoicing-api-v0",
3
3
  "author": "Bertrand Marron <bertrand@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": "3.0.4",
5
+ "version": "4.0.0",
6
6
  "main": "dist/cjs/index.js",
7
7
  "module": "dist/es/index.js",
8
8
  "types": "dist/types/index.d.ts",
@@ -18,8 +18,8 @@
18
18
  "dist/**/*.d.ts"
19
19
  ],
20
20
  "dependencies": {
21
- "@sp-api-sdk/common": "2.1.13",
22
- "axios": "^1.8.4"
21
+ "@sp-api-sdk/common": "2.1.14",
22
+ "axios": "^1.9.0"
23
23
  },
24
24
  "repository": {
25
25
  "type": "git",
@@ -40,5 +40,5 @@
40
40
  "sp sdk",
41
41
  "shipment invoicing api"
42
42
  ],
43
- "gitHead": "287508bdc050a25bac20889ed0afb6d3f6518cd6"
43
+ "gitHead": "773f45c3f4aab28e0bd9f6033045988800d7f258"
44
44
  }