@sp-api-sdk/finances-api-v0 2.1.0 → 2.2.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.
Files changed (26) hide show
  1. package/dist/cjs/src/api-model/api/default-api.js +4 -84
  2. package/dist/cjs/src/api-model/models/index.js +0 -5
  3. package/dist/cjs/src/client.js +0 -7
  4. package/dist/es/src/api-model/api/default-api.js +4 -84
  5. package/dist/es/src/api-model/models/index.js +0 -5
  6. package/dist/es/src/client.js +0 -7
  7. package/dist/types/src/api-model/api/default-api.d.ts +4 -71
  8. package/dist/types/src/api-model/models/charge-refund-event.d.ts +1 -1
  9. package/dist/types/src/api-model/models/financial-events.d.ts +2 -2
  10. package/dist/types/src/api-model/models/index.d.ts +0 -5
  11. package/package.json +4 -4
  12. package/dist/cjs/src/api-model/models/list-transactions-payload.js +0 -15
  13. package/dist/cjs/src/api-model/models/list-transactions-response.js +0 -15
  14. package/dist/cjs/src/api-model/models/related-identifier.js +0 -19
  15. package/dist/cjs/src/api-model/models/selling-partner-metadata.js +0 -15
  16. package/dist/cjs/src/api-model/models/transaction.js +0 -15
  17. package/dist/es/src/api-model/models/list-transactions-payload.js +0 -14
  18. package/dist/es/src/api-model/models/list-transactions-response.js +0 -14
  19. package/dist/es/src/api-model/models/related-identifier.js +0 -16
  20. package/dist/es/src/api-model/models/selling-partner-metadata.js +0 -14
  21. package/dist/es/src/api-model/models/transaction.js +0 -14
  22. package/dist/types/src/api-model/models/list-transactions-payload.d.ts +0 -31
  23. package/dist/types/src/api-model/models/list-transactions-response.d.ts +0 -31
  24. package/dist/types/src/api-model/models/related-identifier.d.ts +0 -34
  25. package/dist/types/src/api-model/models/selling-partner-metadata.d.ts +0 -36
  26. package/dist/types/src/api-model/models/transaction.d.ts +0 -51
@@ -74,7 +74,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
74
74
  };
75
75
  },
76
76
  /**
77
- * Returns financial events for the specified data range. It may take up to 48 hours for orders to appear in your financial events. *note in ListFinancialEvents that deferred events dont show up in responses until in they are released. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | 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).
77
+ * Returns financial events for the specified data range. It may take up to 48 hours for orders to appear in your financial events. **Note:** in `ListFinancialEvents`, deferred events don\'t show up in responses until in they are released. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | 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).
78
78
  * @param {number} [maxResultsPerPage] The maximum number of results to return per page. If the response exceeds the maximum number of transactions or 10 MB, the API responds with \'InvalidInput\'.
79
79
  * @param {string} [postedAfter] A date used for selecting financial events posted after (or at) a specified time. The date-time must be no later than two minutes before the request was submitted, in ISO 8601 date time format.
80
80
  * @param {string} [postedBefore] A date used for selecting financial events posted before (but not at) a specified time. The date-time must be later than PostedAfter and no later than two minutes before the request was submitted, in ISO 8601 date time format. If PostedAfter and PostedBefore are more than 180 days apart, no financial events are returned. You must specify the PostedAfter parameter if you specify the PostedBefore parameter. Default: Now minus two minutes.
@@ -201,54 +201,6 @@ const DefaultApiAxiosParamCreator = function (configuration) {
201
201
  options: localVarRequestOptions,
202
202
  };
203
203
  },
204
- /**
205
- * Returns transactions for the given parameters. It may take up to 48 hours for transactions to appear in your transaction events. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | 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).
206
- * @param {string} postedAfter A date used for selecting transactions posted after (or at) a specified time. The date-time must be no later than two minutes before the request was submitted, in ISO 8601 date time format.
207
- * @param {string} marketplaceId A string token used to select Marketplace ID.
208
- * @param {string} [postedBefore] A date used for selecting transactions posted before (but not at) a specified time. The date-time must be later than PostedAfter and no later than two minutes before the request was submitted, in ISO 8601 date time format. If PostedAfter and PostedBefore are more than 180 days apart, no transactions are returned. You must specify the PostedAfter parameter if you specify the PostedBefore parameter. Default: Now minus two minutes.
209
- * @param {string} [nextToken] A string token returned in the response of your previous request.
210
- * @param {*} [options] Override http request option.
211
- * @throws {RequiredError}
212
- */
213
- listTransactions: async (postedAfter, marketplaceId, postedBefore, nextToken, options = {}) => {
214
- // verify required parameter 'postedAfter' is not null or undefined
215
- (0, common_1.assertParamExists)('listTransactions', 'postedAfter', postedAfter);
216
- // verify required parameter 'marketplaceId' is not null or undefined
217
- (0, common_1.assertParamExists)('listTransactions', 'marketplaceId', marketplaceId);
218
- const localVarPath = `/finances/v0/transactions`;
219
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
220
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
221
- let baseOptions;
222
- if (configuration) {
223
- baseOptions = configuration.baseOptions;
224
- }
225
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
226
- const localVarHeaderParameter = {};
227
- const localVarQueryParameter = {};
228
- if (postedAfter !== undefined) {
229
- localVarQueryParameter['PostedAfter'] = (postedAfter instanceof Date) ?
230
- postedAfter.toISOString() :
231
- postedAfter;
232
- }
233
- if (postedBefore !== undefined) {
234
- localVarQueryParameter['PostedBefore'] = (postedBefore instanceof Date) ?
235
- postedBefore.toISOString() :
236
- postedBefore;
237
- }
238
- if (marketplaceId !== undefined) {
239
- localVarQueryParameter['MarketplaceId'] = marketplaceId;
240
- }
241
- if (nextToken !== undefined) {
242
- localVarQueryParameter['NextToken'] = nextToken;
243
- }
244
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
245
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
246
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
247
- return {
248
- url: (0, common_1.toPathString)(localVarUrlObj),
249
- options: localVarRequestOptions,
250
- };
251
- },
252
204
  };
253
205
  };
254
206
  exports.DefaultApiAxiosParamCreator = DefaultApiAxiosParamCreator;
@@ -273,7 +225,7 @@ const DefaultApiFp = function (configuration) {
273
225
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
274
226
  },
275
227
  /**
276
- * Returns financial events for the specified data range. It may take up to 48 hours for orders to appear in your financial events. *note in ListFinancialEvents that deferred events dont show up in responses until in they are released. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | 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
+ * Returns financial events for the specified data range. It may take up to 48 hours for orders to appear in your financial events. **Note:** in `ListFinancialEvents`, deferred events don\'t show up in responses until in they are released. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | 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).
277
229
  * @param {number} [maxResultsPerPage] The maximum number of results to return per page. If the response exceeds the maximum number of transactions or 10 MB, the API responds with \'InvalidInput\'.
278
230
  * @param {string} [postedAfter] A date used for selecting financial events posted after (or at) a specified time. The date-time must be no later than two minutes before the request was submitted, in ISO 8601 date time format.
279
231
  * @param {string} [postedBefore] A date used for selecting financial events posted before (but not at) a specified time. The date-time must be later than PostedAfter and no later than two minutes before the request was submitted, in ISO 8601 date time format. If PostedAfter and PostedBefore are more than 180 days apart, no financial events are returned. You must specify the PostedAfter parameter if you specify the PostedBefore parameter. Default: Now minus two minutes.
@@ -311,19 +263,6 @@ const DefaultApiFp = function (configuration) {
311
263
  const localVarAxiosArgs = await localVarAxiosParamCreator.listFinancialEventsByOrderId(orderId, maxResultsPerPage, nextToken, options);
312
264
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
313
265
  },
314
- /**
315
- * Returns transactions for the given parameters. It may take up to 48 hours for transactions to appear in your transaction events. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | 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).
316
- * @param {string} postedAfter A date used for selecting transactions posted after (or at) a specified time. The date-time must be no later than two minutes before the request was submitted, in ISO 8601 date time format.
317
- * @param {string} marketplaceId A string token used to select Marketplace ID.
318
- * @param {string} [postedBefore] A date used for selecting transactions posted before (but not at) a specified time. The date-time must be later than PostedAfter and no later than two minutes before the request was submitted, in ISO 8601 date time format. If PostedAfter and PostedBefore are more than 180 days apart, no transactions are returned. You must specify the PostedAfter parameter if you specify the PostedBefore parameter. Default: Now minus two minutes.
319
- * @param {string} [nextToken] A string token returned in the response of your previous request.
320
- * @param {*} [options] Override http request option.
321
- * @throws {RequiredError}
322
- */
323
- async listTransactions(postedAfter, marketplaceId, postedBefore, nextToken, options) {
324
- const localVarAxiosArgs = await localVarAxiosParamCreator.listTransactions(postedAfter, marketplaceId, postedBefore, nextToken, options);
325
- return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
326
- },
327
266
  };
328
267
  };
329
268
  exports.DefaultApiFp = DefaultApiFp;
@@ -344,7 +283,7 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
344
283
  return localVarFp.listFinancialEventGroups(requestParameters.maxResultsPerPage, requestParameters.financialEventGroupStartedBefore, requestParameters.financialEventGroupStartedAfter, requestParameters.nextToken, options).then((request) => request(axios, basePath));
345
284
  },
346
285
  /**
347
- * Returns financial events for the specified data range. It may take up to 48 hours for orders to appear in your financial events. *note in ListFinancialEvents that deferred events dont show up in responses until in they are released. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | 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).
286
+ * Returns financial events for the specified data range. It may take up to 48 hours for orders to appear in your financial events. **Note:** in `ListFinancialEvents`, deferred events don\'t show up in responses until in they are released. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | 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).
348
287
  * @param {DefaultApiListFinancialEventsRequest} requestParameters Request parameters.
349
288
  * @param {*} [options] Override http request option.
350
289
  * @throws {RequiredError}
@@ -370,15 +309,6 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
370
309
  listFinancialEventsByOrderId(requestParameters, options) {
371
310
  return localVarFp.listFinancialEventsByOrderId(requestParameters.orderId, requestParameters.maxResultsPerPage, requestParameters.nextToken, options).then((request) => request(axios, basePath));
372
311
  },
373
- /**
374
- * Returns transactions for the given parameters. It may take up to 48 hours for transactions to appear in your transaction events. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | 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).
375
- * @param {DefaultApiListTransactionsRequest} requestParameters Request parameters.
376
- * @param {*} [options] Override http request option.
377
- * @throws {RequiredError}
378
- */
379
- listTransactions(requestParameters, options) {
380
- return localVarFp.listTransactions(requestParameters.postedAfter, requestParameters.marketplaceId, requestParameters.postedBefore, requestParameters.nextToken, options).then((request) => request(axios, basePath));
381
- },
382
312
  };
383
313
  };
384
314
  exports.DefaultApiFactory = DefaultApiFactory;
@@ -400,7 +330,7 @@ class DefaultApi extends base_1.BaseAPI {
400
330
  return (0, exports.DefaultApiFp)(this.configuration).listFinancialEventGroups(requestParameters.maxResultsPerPage, requestParameters.financialEventGroupStartedBefore, requestParameters.financialEventGroupStartedAfter, requestParameters.nextToken, options).then((request) => request(this.axios, this.basePath));
401
331
  }
402
332
  /**
403
- * Returns financial events for the specified data range. It may take up to 48 hours for orders to appear in your financial events. *note in ListFinancialEvents that deferred events dont show up in responses until in they are released. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | 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).
333
+ * Returns financial events for the specified data range. It may take up to 48 hours for orders to appear in your financial events. **Note:** in `ListFinancialEvents`, deferred events don\'t show up in responses until in they are released. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | 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).
404
334
  * @param {DefaultApiListFinancialEventsRequest} requestParameters Request parameters.
405
335
  * @param {*} [options] Override http request option.
406
336
  * @throws {RequiredError}
@@ -429,15 +359,5 @@ class DefaultApi extends base_1.BaseAPI {
429
359
  listFinancialEventsByOrderId(requestParameters, options) {
430
360
  return (0, exports.DefaultApiFp)(this.configuration).listFinancialEventsByOrderId(requestParameters.orderId, requestParameters.maxResultsPerPage, requestParameters.nextToken, options).then((request) => request(this.axios, this.basePath));
431
361
  }
432
- /**
433
- * Returns transactions for the given parameters. It may take up to 48 hours for transactions to appear in your transaction events. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | 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).
434
- * @param {DefaultApiListTransactionsRequest} requestParameters Request parameters.
435
- * @param {*} [options] Override http request option.
436
- * @throws {RequiredError}
437
- * @memberof DefaultApi
438
- */
439
- listTransactions(requestParameters, options) {
440
- return (0, exports.DefaultApiFp)(this.configuration).listTransactions(requestParameters.postedAfter, requestParameters.marketplaceId, requestParameters.postedBefore, requestParameters.nextToken, options).then((request) => request(this.axios, this.basePath));
441
- }
442
362
  }
443
363
  exports.DefaultApi = DefaultApi;
@@ -38,15 +38,12 @@ __exportStar(require("./list-financial-event-groups-payload"), exports);
38
38
  __exportStar(require("./list-financial-event-groups-response"), exports);
39
39
  __exportStar(require("./list-financial-events-payload"), exports);
40
40
  __exportStar(require("./list-financial-events-response"), exports);
41
- __exportStar(require("./list-transactions-payload"), exports);
42
- __exportStar(require("./list-transactions-response"), exports);
43
41
  __exportStar(require("./loan-servicing-event"), exports);
44
42
  __exportStar(require("./model-error"), exports);
45
43
  __exportStar(require("./network-commingling-transaction-event"), exports);
46
44
  __exportStar(require("./pay-with-amazon-event"), exports);
47
45
  __exportStar(require("./product-ads-payment-event"), exports);
48
46
  __exportStar(require("./promotion"), exports);
49
- __exportStar(require("./related-identifier"), exports);
50
47
  __exportStar(require("./removal-shipment-adjustment-event"), exports);
51
48
  __exportStar(require("./removal-shipment-event"), exports);
52
49
  __exportStar(require("./removal-shipment-item"), exports);
@@ -57,7 +54,6 @@ __exportStar(require("./safetreimbursement-event"), exports);
57
54
  __exportStar(require("./safetreimbursement-item"), exports);
58
55
  __exportStar(require("./seller-deal-payment-event"), exports);
59
56
  __exportStar(require("./seller-review-enrollment-payment-event"), exports);
60
- __exportStar(require("./selling-partner-metadata"), exports);
61
57
  __exportStar(require("./service-fee-event"), exports);
62
58
  __exportStar(require("./shipment-event"), exports);
63
59
  __exportStar(require("./shipment-item"), exports);
@@ -66,6 +62,5 @@ __exportStar(require("./tdsreimbursement-event"), exports);
66
62
  __exportStar(require("./tax-withheld-component"), exports);
67
63
  __exportStar(require("./tax-withholding-event"), exports);
68
64
  __exportStar(require("./tax-withholding-period"), exports);
69
- __exportStar(require("./transaction"), exports);
70
65
  __exportStar(require("./trial-shipment-event"), exports);
71
66
  __exportStar(require("./value-added-service-charge-event"), exports);
@@ -32,13 +32,6 @@ exports.clientRateLimits = [
32
32
  rate: 0.5,
33
33
  burst: 30,
34
34
  },
35
- {
36
- method: 'get',
37
- // eslint-disable-next-line prefer-regex-literals
38
- urlRegex: new RegExp('^/finances/v0/transactions$'),
39
- rate: 0.5,
40
- burst: 30,
41
- },
42
35
  ];
43
36
  class FinancesApiClient extends api_model_1.DefaultApi {
44
37
  constructor(configuration) {
@@ -68,7 +68,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
68
68
  };
69
69
  },
70
70
  /**
71
- * Returns financial events for the specified data range. It may take up to 48 hours for orders to appear in your financial events. *note in ListFinancialEvents that deferred events dont show up in responses until in they are released. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | 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).
71
+ * Returns financial events for the specified data range. It may take up to 48 hours for orders to appear in your financial events. **Note:** in `ListFinancialEvents`, deferred events don\'t show up in responses until in they are released. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | 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).
72
72
  * @param {number} [maxResultsPerPage] The maximum number of results to return per page. If the response exceeds the maximum number of transactions or 10 MB, the API responds with \'InvalidInput\'.
73
73
  * @param {string} [postedAfter] A date used for selecting financial events posted after (or at) a specified time. The date-time must be no later than two minutes before the request was submitted, in ISO 8601 date time format.
74
74
  * @param {string} [postedBefore] A date used for selecting financial events posted before (but not at) a specified time. The date-time must be later than PostedAfter and no later than two minutes before the request was submitted, in ISO 8601 date time format. If PostedAfter and PostedBefore are more than 180 days apart, no financial events are returned. You must specify the PostedAfter parameter if you specify the PostedBefore parameter. Default: Now minus two minutes.
@@ -195,54 +195,6 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
195
195
  options: localVarRequestOptions,
196
196
  };
197
197
  },
198
- /**
199
- * Returns transactions for the given parameters. It may take up to 48 hours for transactions to appear in your transaction events. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | 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).
200
- * @param {string} postedAfter A date used for selecting transactions posted after (or at) a specified time. The date-time must be no later than two minutes before the request was submitted, in ISO 8601 date time format.
201
- * @param {string} marketplaceId A string token used to select Marketplace ID.
202
- * @param {string} [postedBefore] A date used for selecting transactions posted before (but not at) a specified time. The date-time must be later than PostedAfter and no later than two minutes before the request was submitted, in ISO 8601 date time format. If PostedAfter and PostedBefore are more than 180 days apart, no transactions are returned. You must specify the PostedAfter parameter if you specify the PostedBefore parameter. Default: Now minus two minutes.
203
- * @param {string} [nextToken] A string token returned in the response of your previous request.
204
- * @param {*} [options] Override http request option.
205
- * @throws {RequiredError}
206
- */
207
- listTransactions: async (postedAfter, marketplaceId, postedBefore, nextToken, options = {}) => {
208
- // verify required parameter 'postedAfter' is not null or undefined
209
- assertParamExists('listTransactions', 'postedAfter', postedAfter);
210
- // verify required parameter 'marketplaceId' is not null or undefined
211
- assertParamExists('listTransactions', 'marketplaceId', marketplaceId);
212
- const localVarPath = `/finances/v0/transactions`;
213
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
214
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
215
- let baseOptions;
216
- if (configuration) {
217
- baseOptions = configuration.baseOptions;
218
- }
219
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
220
- const localVarHeaderParameter = {};
221
- const localVarQueryParameter = {};
222
- if (postedAfter !== undefined) {
223
- localVarQueryParameter['PostedAfter'] = (postedAfter instanceof Date) ?
224
- postedAfter.toISOString() :
225
- postedAfter;
226
- }
227
- if (postedBefore !== undefined) {
228
- localVarQueryParameter['PostedBefore'] = (postedBefore instanceof Date) ?
229
- postedBefore.toISOString() :
230
- postedBefore;
231
- }
232
- if (marketplaceId !== undefined) {
233
- localVarQueryParameter['MarketplaceId'] = marketplaceId;
234
- }
235
- if (nextToken !== undefined) {
236
- localVarQueryParameter['NextToken'] = nextToken;
237
- }
238
- setSearchParams(localVarUrlObj, localVarQueryParameter);
239
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
240
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
241
- return {
242
- url: toPathString(localVarUrlObj),
243
- options: localVarRequestOptions,
244
- };
245
- },
246
198
  };
247
199
  };
248
200
  /**
@@ -266,7 +218,7 @@ export const DefaultApiFp = function (configuration) {
266
218
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
267
219
  },
268
220
  /**
269
- * Returns financial events for the specified data range. It may take up to 48 hours for orders to appear in your financial events. *note in ListFinancialEvents that deferred events dont show up in responses until in they are released. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | 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).
221
+ * Returns financial events for the specified data range. It may take up to 48 hours for orders to appear in your financial events. **Note:** in `ListFinancialEvents`, deferred events don\'t show up in responses until in they are released. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | 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).
270
222
  * @param {number} [maxResultsPerPage] The maximum number of results to return per page. If the response exceeds the maximum number of transactions or 10 MB, the API responds with \'InvalidInput\'.
271
223
  * @param {string} [postedAfter] A date used for selecting financial events posted after (or at) a specified time. The date-time must be no later than two minutes before the request was submitted, in ISO 8601 date time format.
272
224
  * @param {string} [postedBefore] A date used for selecting financial events posted before (but not at) a specified time. The date-time must be later than PostedAfter and no later than two minutes before the request was submitted, in ISO 8601 date time format. If PostedAfter and PostedBefore are more than 180 days apart, no financial events are returned. You must specify the PostedAfter parameter if you specify the PostedBefore parameter. Default: Now minus two minutes.
@@ -304,19 +256,6 @@ export const DefaultApiFp = function (configuration) {
304
256
  const localVarAxiosArgs = await localVarAxiosParamCreator.listFinancialEventsByOrderId(orderId, maxResultsPerPage, nextToken, options);
305
257
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
306
258
  },
307
- /**
308
- * Returns transactions for the given parameters. It may take up to 48 hours for transactions to appear in your transaction events. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | 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).
309
- * @param {string} postedAfter A date used for selecting transactions posted after (or at) a specified time. The date-time must be no later than two minutes before the request was submitted, in ISO 8601 date time format.
310
- * @param {string} marketplaceId A string token used to select Marketplace ID.
311
- * @param {string} [postedBefore] A date used for selecting transactions posted before (but not at) a specified time. The date-time must be later than PostedAfter and no later than two minutes before the request was submitted, in ISO 8601 date time format. If PostedAfter and PostedBefore are more than 180 days apart, no transactions are returned. You must specify the PostedAfter parameter if you specify the PostedBefore parameter. Default: Now minus two minutes.
312
- * @param {string} [nextToken] A string token returned in the response of your previous request.
313
- * @param {*} [options] Override http request option.
314
- * @throws {RequiredError}
315
- */
316
- async listTransactions(postedAfter, marketplaceId, postedBefore, nextToken, options) {
317
- const localVarAxiosArgs = await localVarAxiosParamCreator.listTransactions(postedAfter, marketplaceId, postedBefore, nextToken, options);
318
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
319
- },
320
259
  };
321
260
  };
322
261
  /**
@@ -336,7 +275,7 @@ export const DefaultApiFactory = function (configuration, basePath, axios) {
336
275
  return localVarFp.listFinancialEventGroups(requestParameters.maxResultsPerPage, requestParameters.financialEventGroupStartedBefore, requestParameters.financialEventGroupStartedAfter, requestParameters.nextToken, options).then((request) => request(axios, basePath));
337
276
  },
338
277
  /**
339
- * Returns financial events for the specified data range. It may take up to 48 hours for orders to appear in your financial events. *note in ListFinancialEvents that deferred events dont show up in responses until in they are released. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | 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).
278
+ * Returns financial events for the specified data range. It may take up to 48 hours for orders to appear in your financial events. **Note:** in `ListFinancialEvents`, deferred events don\'t show up in responses until in they are released. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | 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).
340
279
  * @param {DefaultApiListFinancialEventsRequest} requestParameters Request parameters.
341
280
  * @param {*} [options] Override http request option.
342
281
  * @throws {RequiredError}
@@ -362,15 +301,6 @@ export const DefaultApiFactory = function (configuration, basePath, axios) {
362
301
  listFinancialEventsByOrderId(requestParameters, options) {
363
302
  return localVarFp.listFinancialEventsByOrderId(requestParameters.orderId, requestParameters.maxResultsPerPage, requestParameters.nextToken, options).then((request) => request(axios, basePath));
364
303
  },
365
- /**
366
- * Returns transactions for the given parameters. It may take up to 48 hours for transactions to appear in your transaction events. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | 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).
367
- * @param {DefaultApiListTransactionsRequest} requestParameters Request parameters.
368
- * @param {*} [options] Override http request option.
369
- * @throws {RequiredError}
370
- */
371
- listTransactions(requestParameters, options) {
372
- return localVarFp.listTransactions(requestParameters.postedAfter, requestParameters.marketplaceId, requestParameters.postedBefore, requestParameters.nextToken, options).then((request) => request(axios, basePath));
373
- },
374
304
  };
375
305
  };
376
306
  /**
@@ -391,7 +321,7 @@ export class DefaultApi extends BaseAPI {
391
321
  return DefaultApiFp(this.configuration).listFinancialEventGroups(requestParameters.maxResultsPerPage, requestParameters.financialEventGroupStartedBefore, requestParameters.financialEventGroupStartedAfter, requestParameters.nextToken, options).then((request) => request(this.axios, this.basePath));
392
322
  }
393
323
  /**
394
- * Returns financial events for the specified data range. It may take up to 48 hours for orders to appear in your financial events. *note in ListFinancialEvents that deferred events dont show up in responses until in they are released. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | 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).
324
+ * Returns financial events for the specified data range. It may take up to 48 hours for orders to appear in your financial events. **Note:** in `ListFinancialEvents`, deferred events don\'t show up in responses until in they are released. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | 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).
395
325
  * @param {DefaultApiListFinancialEventsRequest} requestParameters Request parameters.
396
326
  * @param {*} [options] Override http request option.
397
327
  * @throws {RequiredError}
@@ -420,14 +350,4 @@ export class DefaultApi extends BaseAPI {
420
350
  listFinancialEventsByOrderId(requestParameters, options) {
421
351
  return DefaultApiFp(this.configuration).listFinancialEventsByOrderId(requestParameters.orderId, requestParameters.maxResultsPerPage, requestParameters.nextToken, options).then((request) => request(this.axios, this.basePath));
422
352
  }
423
- /**
424
- * Returns transactions for the given parameters. It may take up to 48 hours for transactions to appear in your transaction events. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | 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).
425
- * @param {DefaultApiListTransactionsRequest} requestParameters Request parameters.
426
- * @param {*} [options] Override http request option.
427
- * @throws {RequiredError}
428
- * @memberof DefaultApi
429
- */
430
- listTransactions(requestParameters, options) {
431
- return DefaultApiFp(this.configuration).listTransactions(requestParameters.postedAfter, requestParameters.marketplaceId, requestParameters.postedBefore, requestParameters.nextToken, options).then((request) => request(this.axios, this.basePath));
432
- }
433
353
  }
@@ -22,15 +22,12 @@ export * from './list-financial-event-groups-payload';
22
22
  export * from './list-financial-event-groups-response';
23
23
  export * from './list-financial-events-payload';
24
24
  export * from './list-financial-events-response';
25
- export * from './list-transactions-payload';
26
- export * from './list-transactions-response';
27
25
  export * from './loan-servicing-event';
28
26
  export * from './model-error';
29
27
  export * from './network-commingling-transaction-event';
30
28
  export * from './pay-with-amazon-event';
31
29
  export * from './product-ads-payment-event';
32
30
  export * from './promotion';
33
- export * from './related-identifier';
34
31
  export * from './removal-shipment-adjustment-event';
35
32
  export * from './removal-shipment-event';
36
33
  export * from './removal-shipment-item';
@@ -41,7 +38,6 @@ export * from './safetreimbursement-event';
41
38
  export * from './safetreimbursement-item';
42
39
  export * from './seller-deal-payment-event';
43
40
  export * from './seller-review-enrollment-payment-event';
44
- export * from './selling-partner-metadata';
45
41
  export * from './service-fee-event';
46
42
  export * from './shipment-event';
47
43
  export * from './shipment-item';
@@ -50,6 +46,5 @@ export * from './tdsreimbursement-event';
50
46
  export * from './tax-withheld-component';
51
47
  export * from './tax-withholding-event';
52
48
  export * from './tax-withholding-period';
53
- export * from './transaction';
54
49
  export * from './trial-shipment-event';
55
50
  export * from './value-added-service-charge-event';
@@ -29,13 +29,6 @@ export const clientRateLimits = [
29
29
  rate: 0.5,
30
30
  burst: 30,
31
31
  },
32
- {
33
- method: 'get',
34
- // eslint-disable-next-line prefer-regex-literals
35
- urlRegex: new RegExp('^/finances/v0/transactions$'),
36
- rate: 0.5,
37
- burst: 30,
38
- },
39
32
  ];
40
33
  export class FinancesApiClient extends DefaultApi {
41
34
  constructor(configuration) {
@@ -14,7 +14,6 @@ import type { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
14
14
  import { RequestArgs, BaseAPI } from '../base';
15
15
  import { ListFinancialEventGroupsResponse } from '../models';
16
16
  import { ListFinancialEventsResponse } from '../models';
17
- import { ListTransactionsResponse } from '../models';
18
17
  /**
19
18
  * DefaultApi - axios parameter creator
20
19
  * @export
@@ -31,7 +30,7 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
31
30
  */
32
31
  listFinancialEventGroups: (maxResultsPerPage?: number, financialEventGroupStartedBefore?: string, financialEventGroupStartedAfter?: string, nextToken?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
33
32
  /**
34
- * Returns financial events for the specified data range. It may take up to 48 hours for orders to appear in your financial events. *note in ListFinancialEvents that deferred events dont show up in responses until in they are released. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | 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
+ * Returns financial events for the specified data range. It may take up to 48 hours for orders to appear in your financial events. **Note:** in `ListFinancialEvents`, deferred events don\'t show up in responses until in they are released. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | 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).
35
34
  * @param {number} [maxResultsPerPage] The maximum number of results to return per page. If the response exceeds the maximum number of transactions or 10 MB, the API responds with \&#39;InvalidInput\&#39;.
36
35
  * @param {string} [postedAfter] A date used for selecting financial events posted after (or at) a specified time. The date-time must be no later than two minutes before the request was submitted, in ISO 8601 date time format.
37
36
  * @param {string} [postedBefore] A date used for selecting financial events posted before (but not at) a specified time. The date-time must be later than PostedAfter and no later than two minutes before the request was submitted, in ISO 8601 date time format. If PostedAfter and PostedBefore are more than 180 days apart, no financial events are returned. You must specify the PostedAfter parameter if you specify the PostedBefore parameter. Default: Now minus two minutes.
@@ -60,16 +59,6 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
60
59
  * @throws {RequiredError}
61
60
  */
62
61
  listFinancialEventsByOrderId: (orderId: string, maxResultsPerPage?: number, nextToken?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
63
- /**
64
- * Returns transactions for the given parameters. It may take up to 48 hours for transactions to appear in your transaction events. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | 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).
65
- * @param {string} postedAfter A date used for selecting transactions posted after (or at) a specified time. The date-time must be no later than two minutes before the request was submitted, in ISO 8601 date time format.
66
- * @param {string} marketplaceId A string token used to select Marketplace ID.
67
- * @param {string} [postedBefore] A date used for selecting transactions posted before (but not at) a specified time. The date-time must be later than PostedAfter and no later than two minutes before the request was submitted, in ISO 8601 date time format. If PostedAfter and PostedBefore are more than 180 days apart, no transactions are returned. You must specify the PostedAfter parameter if you specify the PostedBefore parameter. Default: Now minus two minutes.
68
- * @param {string} [nextToken] A string token returned in the response of your previous request.
69
- * @param {*} [options] Override http request option.
70
- * @throws {RequiredError}
71
- */
72
- listTransactions: (postedAfter: string, marketplaceId: string, postedBefore?: string, nextToken?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
73
62
  };
74
63
  /**
75
64
  * DefaultApi - functional programming interface
@@ -87,7 +76,7 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
87
76
  */
88
77
  listFinancialEventGroups(maxResultsPerPage?: number, financialEventGroupStartedBefore?: string, financialEventGroupStartedAfter?: string, nextToken?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListFinancialEventGroupsResponse>>;
89
78
  /**
90
- * Returns financial events for the specified data range. It may take up to 48 hours for orders to appear in your financial events. *note in ListFinancialEvents that deferred events dont show up in responses until in they are released. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | 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).
79
+ * Returns financial events for the specified data range. It may take up to 48 hours for orders to appear in your financial events. **Note:** in `ListFinancialEvents`, deferred events don\'t show up in responses until in they are released. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | 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).
91
80
  * @param {number} [maxResultsPerPage] The maximum number of results to return per page. If the response exceeds the maximum number of transactions or 10 MB, the API responds with \&#39;InvalidInput\&#39;.
92
81
  * @param {string} [postedAfter] A date used for selecting financial events posted after (or at) a specified time. The date-time must be no later than two minutes before the request was submitted, in ISO 8601 date time format.
93
82
  * @param {string} [postedBefore] A date used for selecting financial events posted before (but not at) a specified time. The date-time must be later than PostedAfter and no later than two minutes before the request was submitted, in ISO 8601 date time format. If PostedAfter and PostedBefore are more than 180 days apart, no financial events are returned. You must specify the PostedAfter parameter if you specify the PostedBefore parameter. Default: Now minus two minutes.
@@ -116,16 +105,6 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
116
105
  * @throws {RequiredError}
117
106
  */
118
107
  listFinancialEventsByOrderId(orderId: string, maxResultsPerPage?: number, nextToken?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListFinancialEventsResponse>>;
119
- /**
120
- * Returns transactions for the given parameters. It may take up to 48 hours for transactions to appear in your transaction events. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | 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).
121
- * @param {string} postedAfter A date used for selecting transactions posted after (or at) a specified time. The date-time must be no later than two minutes before the request was submitted, in ISO 8601 date time format.
122
- * @param {string} marketplaceId A string token used to select Marketplace ID.
123
- * @param {string} [postedBefore] A date used for selecting transactions posted before (but not at) a specified time. The date-time must be later than PostedAfter and no later than two minutes before the request was submitted, in ISO 8601 date time format. If PostedAfter and PostedBefore are more than 180 days apart, no transactions are returned. You must specify the PostedAfter parameter if you specify the PostedBefore parameter. Default: Now minus two minutes.
124
- * @param {string} [nextToken] A string token returned in the response of your previous request.
125
- * @param {*} [options] Override http request option.
126
- * @throws {RequiredError}
127
- */
128
- listTransactions(postedAfter: string, marketplaceId: string, postedBefore?: string, nextToken?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListTransactionsResponse>>;
129
108
  };
130
109
  /**
131
110
  * DefaultApi - factory interface
@@ -140,7 +119,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
140
119
  */
141
120
  listFinancialEventGroups(requestParameters?: DefaultApiListFinancialEventGroupsRequest, options?: AxiosRequestConfig): AxiosPromise<ListFinancialEventGroupsResponse>;
142
121
  /**
143
- * Returns financial events for the specified data range. It may take up to 48 hours for orders to appear in your financial events. *note in ListFinancialEvents that deferred events dont show up in responses until in they are released. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | 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).
122
+ * Returns financial events for the specified data range. It may take up to 48 hours for orders to appear in your financial events. **Note:** in `ListFinancialEvents`, deferred events don\'t show up in responses until in they are released. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | 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).
144
123
  * @param {DefaultApiListFinancialEventsRequest} requestParameters Request parameters.
145
124
  * @param {*} [options] Override http request option.
146
125
  * @throws {RequiredError}
@@ -160,13 +139,6 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
160
139
  * @throws {RequiredError}
161
140
  */
162
141
  listFinancialEventsByOrderId(requestParameters: DefaultApiListFinancialEventsByOrderIdRequest, options?: AxiosRequestConfig): AxiosPromise<ListFinancialEventsResponse>;
163
- /**
164
- * Returns transactions for the given parameters. It may take up to 48 hours for transactions to appear in your transaction events. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | 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 {DefaultApiListTransactionsRequest} requestParameters Request parameters.
166
- * @param {*} [options] Override http request option.
167
- * @throws {RequiredError}
168
- */
169
- listTransactions(requestParameters: DefaultApiListTransactionsRequest, options?: AxiosRequestConfig): AxiosPromise<ListTransactionsResponse>;
170
142
  };
171
143
  /**
172
144
  * Request parameters for listFinancialEventGroups operation in DefaultApi.
@@ -292,37 +264,6 @@ export interface DefaultApiListFinancialEventsByOrderIdRequest {
292
264
  */
293
265
  readonly nextToken?: string;
294
266
  }
295
- /**
296
- * Request parameters for listTransactions operation in DefaultApi.
297
- * @export
298
- * @interface DefaultApiListTransactionsRequest
299
- */
300
- export interface DefaultApiListTransactionsRequest {
301
- /**
302
- * A date used for selecting transactions posted after (or at) a specified time. The date-time must be no later than two minutes before the request was submitted, in ISO 8601 date time format.
303
- * @type {string}
304
- * @memberof DefaultApiListTransactions
305
- */
306
- readonly postedAfter: string;
307
- /**
308
- * A string token used to select Marketplace ID.
309
- * @type {string}
310
- * @memberof DefaultApiListTransactions
311
- */
312
- readonly marketplaceId: string;
313
- /**
314
- * A date used for selecting transactions posted before (but not at) a specified time. The date-time must be later than PostedAfter and no later than two minutes before the request was submitted, in ISO 8601 date time format. If PostedAfter and PostedBefore are more than 180 days apart, no transactions are returned. You must specify the PostedAfter parameter if you specify the PostedBefore parameter. Default: Now minus two minutes.
315
- * @type {string}
316
- * @memberof DefaultApiListTransactions
317
- */
318
- readonly postedBefore?: string;
319
- /**
320
- * A string token returned in the response of your previous request.
321
- * @type {string}
322
- * @memberof DefaultApiListTransactions
323
- */
324
- readonly nextToken?: string;
325
- }
326
267
  /**
327
268
  * DefaultApi - object-oriented interface
328
269
  * @export
@@ -339,7 +280,7 @@ export declare class DefaultApi extends BaseAPI {
339
280
  */
340
281
  listFinancialEventGroups(requestParameters?: DefaultApiListFinancialEventGroupsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListFinancialEventGroupsResponse, any>>;
341
282
  /**
342
- * Returns financial events for the specified data range. It may take up to 48 hours for orders to appear in your financial events. *note in ListFinancialEvents that deferred events dont show up in responses until in they are released. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | 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).
283
+ * Returns financial events for the specified data range. It may take up to 48 hours for orders to appear in your financial events. **Note:** in `ListFinancialEvents`, deferred events don\'t show up in responses until in they are released. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | 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).
343
284
  * @param {DefaultApiListFinancialEventsRequest} requestParameters Request parameters.
344
285
  * @param {*} [options] Override http request option.
345
286
  * @throws {RequiredError}
@@ -362,12 +303,4 @@ export declare class DefaultApi extends BaseAPI {
362
303
  * @memberof DefaultApi
363
304
  */
364
305
  listFinancialEventsByOrderId(requestParameters: DefaultApiListFinancialEventsByOrderIdRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListFinancialEventsResponse, any>>;
365
- /**
366
- * Returns transactions for the given parameters. It may take up to 48 hours for transactions to appear in your transaction events. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | 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).
367
- * @param {DefaultApiListTransactionsRequest} requestParameters Request parameters.
368
- * @param {*} [options] Override http request option.
369
- * @throws {RequiredError}
370
- * @memberof DefaultApi
371
- */
372
- listTransactions(requestParameters: DefaultApiListTransactionsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListTransactionsResponse, any>>;
373
306
  }
@@ -35,7 +35,7 @@ export interface ChargeRefundEvent {
35
35
  */
36
36
  'ReasonCodeDescription'?: string;
37
37
  /**
38
- * A list of ChargeRefund Transactions
38
+ * A list of `ChargeRefund` transactions.
39
39
  * @type {Array<ChargeRefundTransaction>}
40
40
  * @memberof ChargeRefundEvent
41
41
  */
@@ -224,13 +224,13 @@ export interface FinancialEvents {
224
224
  */
225
225
  'ChargeRefundEventList'?: Array<ChargeRefundEvent>;
226
226
  /**
227
- * A list of FailedAdhocDisbursementEvents.
227
+ * A list of `FailedAdhocDisbursementEvent`s.
228
228
  * @type {Array<FailedAdhocDisbursementEvent>}
229
229
  * @memberof FinancialEvents
230
230
  */
231
231
  'FailedAdhocDisbursementEventList'?: Array<FailedAdhocDisbursementEvent>;
232
232
  /**
233
- * A list of ValueAddedServiceCharge events.
233
+ * A list of `ValueAddedServiceCharge` events.
234
234
  * @type {Array<ValueAddedServiceChargeEvent>}
235
235
  * @memberof FinancialEvents
236
236
  */
@@ -22,15 +22,12 @@ export * from './list-financial-event-groups-payload';
22
22
  export * from './list-financial-event-groups-response';
23
23
  export * from './list-financial-events-payload';
24
24
  export * from './list-financial-events-response';
25
- export * from './list-transactions-payload';
26
- export * from './list-transactions-response';
27
25
  export * from './loan-servicing-event';
28
26
  export * from './model-error';
29
27
  export * from './network-commingling-transaction-event';
30
28
  export * from './pay-with-amazon-event';
31
29
  export * from './product-ads-payment-event';
32
30
  export * from './promotion';
33
- export * from './related-identifier';
34
31
  export * from './removal-shipment-adjustment-event';
35
32
  export * from './removal-shipment-event';
36
33
  export * from './removal-shipment-item';
@@ -41,7 +38,6 @@ export * from './safetreimbursement-event';
41
38
  export * from './safetreimbursement-item';
42
39
  export * from './seller-deal-payment-event';
43
40
  export * from './seller-review-enrollment-payment-event';
44
- export * from './selling-partner-metadata';
45
41
  export * from './service-fee-event';
46
42
  export * from './shipment-event';
47
43
  export * from './shipment-item';
@@ -50,6 +46,5 @@ export * from './tdsreimbursement-event';
50
46
  export * from './tax-withheld-component';
51
47
  export * from './tax-withholding-event';
52
48
  export * from './tax-withholding-period';
53
- export * from './transaction';
54
49
  export * from './trial-shipment-event';
55
50
  export * from './value-added-service-charge-event';
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@sp-api-sdk/finances-api-v0",
3
3
  "author": "Vincent Mesquita <vincent.mesquita@bizon.solutions>",
4
4
  "description": "The Selling Partner API for Finances helps you obtain financial information relevant to a seller's business. You can obtain financial events for a given order, financial event group, or date range without having to wait until a statement period closes. You can also obtain financial event groups for a given date range.",
5
- "version": "2.1.0",
5
+ "version": "2.2.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.0.2",
22
- "axios": "^1.6.1"
21
+ "@sp-api-sdk/common": "2.0.3",
22
+ "axios": "^1.6.2"
23
23
  },
24
24
  "repository": {
25
25
  "type": "git",
@@ -40,5 +40,5 @@
40
40
  "sp sdk",
41
41
  "finances api"
42
42
  ],
43
- "gitHead": "23d420d10e931be7657141e989fccdc9dafe2a9c"
43
+ "gitHead": "c81279baeb662780ae3cb42fb60fa11670fed191"
44
44
  }
@@ -1,15 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * Selling Partner API for Finances
6
- * The Selling Partner API for Finances helps you obtain financial information relevant to a seller\'s business. You can obtain financial events for a given order, financial event group, or date range without having to wait until a statement period closes. You can also obtain financial event groups for a given date range.
7
- *
8
- * The version of the OpenAPI document: v0
9
- *
10
- *
11
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
- * https://openapi-generator.tech
13
- * Do not edit the class manually.
14
- */
15
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,15 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * Selling Partner API for Finances
6
- * The Selling Partner API for Finances helps you obtain financial information relevant to a seller\'s business. You can obtain financial events for a given order, financial event group, or date range without having to wait until a statement period closes. You can also obtain financial event groups for a given date range.
7
- *
8
- * The version of the OpenAPI document: v0
9
- *
10
- *
11
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
- * https://openapi-generator.tech
13
- * Do not edit the class manually.
14
- */
15
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,19 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * Selling Partner API for Finances
6
- * The Selling Partner API for Finances helps you obtain financial information relevant to a seller\'s business. You can obtain financial events for a given order, financial event group, or date range without having to wait until a statement period closes. You can also obtain financial event groups for a given date range.
7
- *
8
- * The version of the OpenAPI document: v0
9
- *
10
- *
11
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
- * https://openapi-generator.tech
13
- * Do not edit the class manually.
14
- */
15
- Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.RelatedIdentifierRelatedIdentifierNameEnum = void 0;
17
- exports.RelatedIdentifierRelatedIdentifierNameEnum = {
18
- OrderId: 'ORDER_ID'
19
- };
@@ -1,15 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * Selling Partner API for Finances
6
- * The Selling Partner API for Finances helps you obtain financial information relevant to a seller\'s business. You can obtain financial events for a given order, financial event group, or date range without having to wait until a statement period closes. You can also obtain financial event groups for a given date range.
7
- *
8
- * The version of the OpenAPI document: v0
9
- *
10
- *
11
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
- * https://openapi-generator.tech
13
- * Do not edit the class manually.
14
- */
15
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,15 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * Selling Partner API for Finances
6
- * The Selling Partner API for Finances helps you obtain financial information relevant to a seller\'s business. You can obtain financial events for a given order, financial event group, or date range without having to wait until a statement period closes. You can also obtain financial event groups for a given date range.
7
- *
8
- * The version of the OpenAPI document: v0
9
- *
10
- *
11
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
- * https://openapi-generator.tech
13
- * Do not edit the class manually.
14
- */
15
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,14 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Selling Partner API for Finances
5
- * The Selling Partner API for Finances helps you obtain financial information relevant to a seller\'s business. You can obtain financial events for a given order, financial event group, or date range without having to wait until a statement period closes. You can also obtain financial event groups for a given date range.
6
- *
7
- * The version of the OpenAPI document: v0
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- export {};
@@ -1,14 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Selling Partner API for Finances
5
- * The Selling Partner API for Finances helps you obtain financial information relevant to a seller\'s business. You can obtain financial events for a given order, financial event group, or date range without having to wait until a statement period closes. You can also obtain financial event groups for a given date range.
6
- *
7
- * The version of the OpenAPI document: v0
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- export {};
@@ -1,16 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Selling Partner API for Finances
5
- * The Selling Partner API for Finances helps you obtain financial information relevant to a seller\'s business. You can obtain financial events for a given order, financial event group, or date range without having to wait until a statement period closes. You can also obtain financial event groups for a given date range.
6
- *
7
- * The version of the OpenAPI document: v0
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- export const RelatedIdentifierRelatedIdentifierNameEnum = {
15
- OrderId: 'ORDER_ID'
16
- };
@@ -1,14 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Selling Partner API for Finances
5
- * The Selling Partner API for Finances helps you obtain financial information relevant to a seller\'s business. You can obtain financial events for a given order, financial event group, or date range without having to wait until a statement period closes. You can also obtain financial event groups for a given date range.
6
- *
7
- * The version of the OpenAPI document: v0
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- export {};
@@ -1,14 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Selling Partner API for Finances
5
- * The Selling Partner API for Finances helps you obtain financial information relevant to a seller\'s business. You can obtain financial events for a given order, financial event group, or date range without having to wait until a statement period closes. You can also obtain financial event groups for a given date range.
6
- *
7
- * The version of the OpenAPI document: v0
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- export {};
@@ -1,31 +0,0 @@
1
- /**
2
- * Selling Partner API for Finances
3
- * The Selling Partner API for Finances helps you obtain financial information relevant to a seller\'s business. You can obtain financial events for a given order, financial event group, or date range without having to wait until a statement period closes. You can also obtain financial event groups for a given date range.
4
- *
5
- * The version of the OpenAPI document: v0
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import { Transaction } from './transaction';
13
- /**
14
- * The payload for the listTransactions operation.
15
- * @export
16
- * @interface ListTransactionsPayload
17
- */
18
- export interface ListTransactionsPayload {
19
- /**
20
- * When present and not empty, pass this string token in the next request to return the next response page.
21
- * @type {string}
22
- * @memberof ListTransactionsPayload
23
- */
24
- 'NextToken'?: string;
25
- /**
26
- * Contains transactions within a given time period.
27
- * @type {Array<Transaction>}
28
- * @memberof ListTransactionsPayload
29
- */
30
- 'Transactions'?: Array<Transaction>;
31
- }
@@ -1,31 +0,0 @@
1
- /**
2
- * Selling Partner API for Finances
3
- * The Selling Partner API for Finances helps you obtain financial information relevant to a seller\'s business. You can obtain financial events for a given order, financial event group, or date range without having to wait until a statement period closes. You can also obtain financial event groups for a given date range.
4
- *
5
- * The version of the OpenAPI document: v0
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import { ListTransactionsPayload } from './list-transactions-payload';
13
- /**
14
- * The response schema for the listTransactions operation.
15
- * @export
16
- * @interface ListTransactionsResponse
17
- */
18
- export interface ListTransactionsResponse {
19
- /**
20
- *
21
- * @type {ListTransactionsPayload}
22
- * @memberof ListTransactionsResponse
23
- */
24
- 'payload'?: ListTransactionsPayload;
25
- /**
26
- * A list of error responses returned when a request is unsuccessful.
27
- * @type {Array<Error>}
28
- * @memberof ListTransactionsResponse
29
- */
30
- 'errors'?: Array<Error>;
31
- }
@@ -1,34 +0,0 @@
1
- /**
2
- * Selling Partner API for Finances
3
- * The Selling Partner API for Finances helps you obtain financial information relevant to a seller\'s business. You can obtain financial events for a given order, financial event group, or date range without having to wait until a statement period closes. You can also obtain financial event groups for a given date range.
4
- *
5
- * The version of the OpenAPI document: v0
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- * Related business identifier of the transaction.
14
- * @export
15
- * @interface RelatedIdentifier
16
- */
17
- export interface RelatedIdentifier {
18
- /**
19
- * Enumerated set of related business identifier names.
20
- * @type {string}
21
- * @memberof RelatedIdentifier
22
- */
23
- 'RelatedIdentifierName'?: RelatedIdentifierRelatedIdentifierNameEnum;
24
- /**
25
- * Corresponding value of RelatedIdentifierName
26
- * @type {string}
27
- * @memberof RelatedIdentifier
28
- */
29
- 'RelatedIdentifierValue'?: string;
30
- }
31
- export declare const RelatedIdentifierRelatedIdentifierNameEnum: {
32
- readonly OrderId: "ORDER_ID";
33
- };
34
- export type RelatedIdentifierRelatedIdentifierNameEnum = typeof RelatedIdentifierRelatedIdentifierNameEnum[keyof typeof RelatedIdentifierRelatedIdentifierNameEnum];
@@ -1,36 +0,0 @@
1
- /**
2
- * Selling Partner API for Finances
3
- * The Selling Partner API for Finances helps you obtain financial information relevant to a seller\'s business. You can obtain financial events for a given order, financial event group, or date range without having to wait until a statement period closes. You can also obtain financial event groups for a given date range.
4
- *
5
- * The version of the OpenAPI document: v0
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- * Metadata describing the seller.
14
- * @export
15
- * @interface SellingPartnerMetadata
16
- */
17
- export interface SellingPartnerMetadata {
18
- /**
19
- * Unique seller identifier.
20
- * @type {string}
21
- * @memberof SellingPartnerMetadata
22
- */
23
- 'SellingPartnerId'?: string;
24
- /**
25
- * Account type of transaction.
26
- * @type {string}
27
- * @memberof SellingPartnerMetadata
28
- */
29
- 'AccountType'?: string;
30
- /**
31
- * Marketplace identifier of transaction.
32
- * @type {string}
33
- * @memberof SellingPartnerMetadata
34
- */
35
- 'MarketplaceId'?: string;
36
- }
@@ -1,51 +0,0 @@
1
- /**
2
- * Selling Partner API for Finances
3
- * The Selling Partner API for Finances helps you obtain financial information relevant to a seller\'s business. You can obtain financial events for a given order, financial event group, or date range without having to wait until a statement period closes. You can also obtain financial event groups for a given date range.
4
- *
5
- * The version of the OpenAPI document: v0
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import { Currency } from './currency';
13
- import { RelatedIdentifier } from './related-identifier';
14
- import { SellingPartnerMetadata } from './selling-partner-metadata';
15
- /**
16
- * Contains all information related to the transaction.
17
- * @export
18
- * @interface Transaction
19
- */
20
- export interface Transaction {
21
- /**
22
- *
23
- * @type {SellingPartnerMetadata}
24
- * @memberof Transaction
25
- */
26
- 'SellingPartnerMetadata'?: SellingPartnerMetadata;
27
- /**
28
- * Related business identifiers of the transaction.
29
- * @type {Array<RelatedIdentifier>}
30
- * @memberof Transaction
31
- */
32
- 'RelatedIdentifiers'?: Array<RelatedIdentifier>;
33
- /**
34
- * The type of transaction. Possible values: * Shipment
35
- * @type {string}
36
- * @memberof Transaction
37
- */
38
- 'TransactionType'?: string;
39
- /**
40
- *
41
- * @type {string}
42
- * @memberof Transaction
43
- */
44
- 'PostedDate'?: string;
45
- /**
46
- *
47
- * @type {Currency}
48
- * @memberof Transaction
49
- */
50
- 'TotalAmount'?: Currency;
51
- }