@sp-api-sdk/finances-api-v0 2.4.2 → 2.6.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 (183) hide show
  1. package/README.md +1 -1
  2. package/dist/cjs/{src/api-model → api-model}/api/default-api.js +45 -45
  3. package/dist/cjs/{src/api-model → api-model}/api.js +1 -1
  4. package/dist/cjs/{src/api-model → api-model}/base.js +1 -1
  5. package/dist/cjs/{src/api-model → api-model}/common.js +1 -1
  6. package/dist/cjs/{src/api-model → api-model}/configuration.js +1 -1
  7. package/dist/cjs/{src/api-model → api-model}/index.js +1 -1
  8. package/dist/cjs/{src/api-model → api-model}/models/adhoc-disbursement-event.js +1 -1
  9. package/dist/cjs/{src/api-model → api-model}/models/adjustment-event.js +1 -1
  10. package/dist/cjs/{src/api-model → api-model}/models/adjustment-item.js +1 -1
  11. package/dist/cjs/{src/api-model → api-model}/models/affordability-expense-event.js +1 -1
  12. package/dist/cjs/{src/api-model → api-model}/models/capacity-reservation-billing-event.js +1 -1
  13. package/dist/cjs/{src/api-model → api-model}/models/charge-component.js +1 -1
  14. package/dist/cjs/{src/api-model → api-model}/models/charge-instrument.js +1 -1
  15. package/dist/cjs/{src/api-model → api-model}/models/charge-refund-event.js +1 -1
  16. package/dist/cjs/{src/api-model → api-model}/models/charge-refund-transaction.js +1 -1
  17. package/dist/cjs/{src/api-model → api-model}/models/coupon-payment-event.js +1 -1
  18. package/dist/cjs/{src/api-model → api-model}/models/currency.js +1 -1
  19. package/dist/cjs/{src/api-model → api-model}/models/debt-recovery-event.js +1 -1
  20. package/dist/cjs/{src/api-model → api-model}/models/debt-recovery-item.js +1 -1
  21. package/dist/cjs/{src/api-model → api-model}/models/direct-payment.js +1 -1
  22. package/dist/cjs/{src/api-model → api-model}/models/failed-adhoc-disbursement-event.js +1 -1
  23. package/dist/cjs/{src/api-model → api-model}/models/fbaliquidation-event.js +1 -1
  24. package/dist/cjs/{src/api-model → api-model}/models/fee-component.js +1 -1
  25. package/dist/cjs/{src/api-model → api-model}/models/financial-event-group.js +1 -1
  26. package/dist/cjs/{src/api-model → api-model}/models/financial-events.js +1 -1
  27. package/dist/cjs/{src/api-model → api-model}/models/imaging-services-fee-event.js +1 -1
  28. package/dist/cjs/{src/api-model → api-model}/models/list-financial-event-groups-payload.js +1 -1
  29. package/dist/cjs/{src/api-model → api-model}/models/list-financial-event-groups-response.js +1 -1
  30. package/dist/cjs/{src/api-model → api-model}/models/list-financial-events-payload.js +1 -1
  31. package/dist/cjs/{src/api-model → api-model}/models/list-financial-events-response.js +1 -1
  32. package/dist/cjs/{src/api-model → api-model}/models/loan-servicing-event.js +1 -1
  33. package/dist/cjs/{src/api-model → api-model}/models/model-error.js +1 -1
  34. package/dist/cjs/{src/api-model → api-model}/models/network-commingling-transaction-event.js +1 -1
  35. package/dist/cjs/{src/api-model → api-model}/models/pay-with-amazon-event.js +1 -1
  36. package/dist/cjs/{src/api-model → api-model}/models/product-ads-payment-event.js +1 -1
  37. package/dist/cjs/{src/api-model → api-model}/models/promotion.js +1 -1
  38. package/dist/cjs/{src/api-model → api-model}/models/removal-shipment-adjustment-event.js +1 -1
  39. package/dist/cjs/{src/api-model → api-model}/models/removal-shipment-event.js +1 -1
  40. package/dist/cjs/{src/api-model → api-model}/models/removal-shipment-item-adjustment.js +1 -1
  41. package/dist/cjs/{src/api-model → api-model}/models/removal-shipment-item.js +1 -1
  42. package/dist/cjs/{src/api-model → api-model}/models/rental-transaction-event.js +1 -1
  43. package/dist/cjs/{src/api-model → api-model}/models/retrocharge-event.js +1 -1
  44. package/dist/cjs/{src/api-model → api-model}/models/safetreimbursement-event.js +1 -1
  45. package/dist/cjs/{src/api-model → api-model}/models/safetreimbursement-item.js +1 -1
  46. package/dist/cjs/{src/api-model → api-model}/models/seller-deal-payment-event.js +1 -1
  47. package/dist/cjs/{src/api-model → api-model}/models/seller-review-enrollment-payment-event.js +1 -1
  48. package/dist/cjs/{src/api-model → api-model}/models/service-fee-event.js +1 -1
  49. package/dist/cjs/{src/api-model → api-model}/models/shipment-event.js +1 -1
  50. package/dist/cjs/{src/api-model → api-model}/models/shipment-item.js +1 -1
  51. package/dist/cjs/{src/api-model → api-model}/models/solution-provider-credit-event.js +1 -1
  52. package/dist/cjs/{src/api-model → api-model}/models/tax-withheld-component.js +1 -1
  53. package/dist/cjs/{src/api-model → api-model}/models/tax-withholding-event.js +1 -1
  54. package/dist/cjs/{src/api-model → api-model}/models/tax-withholding-period.js +1 -1
  55. package/dist/cjs/{src/api-model → api-model}/models/tdsreimbursement-event.js +1 -1
  56. package/dist/cjs/{src/api-model → api-model}/models/trial-shipment-event.js +1 -1
  57. package/dist/cjs/{src/api-model → api-model}/models/value-added-service-charge-event.js +1 -1
  58. package/dist/cjs/index.js +3 -3
  59. package/dist/es/{src/api-model → api-model}/api/default-api.js +45 -45
  60. package/dist/es/{src/api-model → api-model}/api.js +1 -1
  61. package/dist/es/{src/api-model → api-model}/base.js +1 -1
  62. package/dist/es/{src/api-model → api-model}/common.js +1 -1
  63. package/dist/es/{src/api-model → api-model}/configuration.js +1 -1
  64. package/dist/es/{src/api-model → api-model}/index.js +1 -1
  65. package/dist/es/{src/api-model → api-model}/models/adhoc-disbursement-event.js +1 -1
  66. package/dist/es/{src/api-model → api-model}/models/adjustment-event.js +1 -1
  67. package/dist/es/{src/api-model → api-model}/models/adjustment-item.js +1 -1
  68. package/dist/es/{src/api-model → api-model}/models/affordability-expense-event.js +1 -1
  69. package/dist/es/{src/api-model → api-model}/models/capacity-reservation-billing-event.js +1 -1
  70. package/dist/es/{src/api-model → api-model}/models/charge-component.js +1 -1
  71. package/dist/es/{src/api-model → api-model}/models/charge-instrument.js +1 -1
  72. package/dist/es/{src/api-model → api-model}/models/charge-refund-event.js +1 -1
  73. package/dist/es/{src/api-model → api-model}/models/charge-refund-transaction.js +1 -1
  74. package/dist/es/{src/api-model → api-model}/models/coupon-payment-event.js +1 -1
  75. package/dist/es/{src/api-model → api-model}/models/currency.js +1 -1
  76. package/dist/es/{src/api-model → api-model}/models/debt-recovery-event.js +1 -1
  77. package/dist/es/{src/api-model → api-model}/models/debt-recovery-item.js +1 -1
  78. package/dist/es/{src/api-model → api-model}/models/direct-payment.js +1 -1
  79. package/dist/es/{src/api-model → api-model}/models/failed-adhoc-disbursement-event.js +1 -1
  80. package/dist/es/{src/api-model → api-model}/models/fbaliquidation-event.js +1 -1
  81. package/dist/es/{src/api-model → api-model}/models/fee-component.js +1 -1
  82. package/dist/es/{src/api-model → api-model}/models/financial-event-group.js +1 -1
  83. package/dist/es/{src/api-model → api-model}/models/financial-events.js +1 -1
  84. package/dist/es/{src/api-model → api-model}/models/imaging-services-fee-event.js +1 -1
  85. package/dist/es/{src/api-model → api-model}/models/list-financial-event-groups-payload.js +1 -1
  86. package/dist/es/{src/api-model → api-model}/models/list-financial-event-groups-response.js +1 -1
  87. package/dist/es/{src/api-model → api-model}/models/list-financial-events-payload.js +1 -1
  88. package/dist/es/{src/api-model → api-model}/models/list-financial-events-response.js +1 -1
  89. package/dist/es/{src/api-model → api-model}/models/loan-servicing-event.js +1 -1
  90. package/dist/es/{src/api-model → api-model}/models/model-error.js +1 -1
  91. package/dist/es/{src/api-model → api-model}/models/network-commingling-transaction-event.js +1 -1
  92. package/dist/es/{src/api-model → api-model}/models/pay-with-amazon-event.js +1 -1
  93. package/dist/es/{src/api-model → api-model}/models/product-ads-payment-event.js +1 -1
  94. package/dist/es/{src/api-model → api-model}/models/promotion.js +1 -1
  95. package/dist/es/{src/api-model → api-model}/models/removal-shipment-adjustment-event.js +1 -1
  96. package/dist/es/{src/api-model → api-model}/models/removal-shipment-event.js +1 -1
  97. package/dist/es/{src/api-model → api-model}/models/removal-shipment-item-adjustment.js +1 -1
  98. package/dist/es/{src/api-model → api-model}/models/removal-shipment-item.js +1 -1
  99. package/dist/es/{src/api-model → api-model}/models/rental-transaction-event.js +1 -1
  100. package/dist/es/{src/api-model → api-model}/models/retrocharge-event.js +1 -1
  101. package/dist/es/{src/api-model → api-model}/models/safetreimbursement-event.js +1 -1
  102. package/dist/es/{src/api-model → api-model}/models/safetreimbursement-item.js +1 -1
  103. package/dist/es/{src/api-model → api-model}/models/seller-deal-payment-event.js +1 -1
  104. package/dist/es/{src/api-model → api-model}/models/seller-review-enrollment-payment-event.js +1 -1
  105. package/dist/es/{src/api-model → api-model}/models/service-fee-event.js +1 -1
  106. package/dist/es/{src/api-model → api-model}/models/shipment-event.js +1 -1
  107. package/dist/es/{src/api-model → api-model}/models/shipment-item.js +1 -1
  108. package/dist/es/{src/api-model → api-model}/models/solution-provider-credit-event.js +1 -1
  109. package/dist/es/{src/api-model → api-model}/models/tax-withheld-component.js +1 -1
  110. package/dist/es/{src/api-model → api-model}/models/tax-withholding-event.js +1 -1
  111. package/dist/es/{src/api-model → api-model}/models/tax-withholding-period.js +1 -1
  112. package/dist/es/{src/api-model → api-model}/models/tdsreimbursement-event.js +1 -1
  113. package/dist/es/{src/api-model → api-model}/models/trial-shipment-event.js +1 -1
  114. package/dist/es/{src/api-model → api-model}/models/value-added-service-charge-event.js +1 -1
  115. package/dist/es/index.js +3 -3
  116. package/dist/types/api-model/api/default-api.d.ts +307 -0
  117. package/dist/types/{src/api-model → api-model}/api.d.ts +1 -1
  118. package/dist/types/{src/api-model → api-model}/base.d.ts +1 -1
  119. package/dist/types/{src/api-model → api-model}/common.d.ts +1 -1
  120. package/dist/types/{src/api-model → api-model}/configuration.d.ts +1 -1
  121. package/dist/types/{src/api-model → api-model}/index.d.ts +1 -1
  122. package/dist/types/{src/api-model → api-model}/models/adhoc-disbursement-event.d.ts +3 -3
  123. package/dist/types/api-model/models/adjustment-event.d.ts +44 -0
  124. package/dist/types/{src/api-model → api-model}/models/adjustment-item.d.ts +2 -2
  125. package/dist/types/{src/api-model → api-model}/models/affordability-expense-event.d.ts +4 -4
  126. package/dist/types/{src/api-model → api-model}/models/capacity-reservation-billing-event.d.ts +3 -3
  127. package/dist/types/api-model/models/charge-component.d.ts +31 -0
  128. package/dist/types/{src/api-model → api-model}/models/charge-instrument.d.ts +1 -1
  129. package/dist/types/{src/api-model → api-model}/models/charge-refund-event.d.ts +4 -4
  130. package/dist/types/{src/api-model → api-model}/models/charge-refund-transaction.d.ts +1 -1
  131. package/dist/types/{src/api-model → api-model}/models/coupon-payment-event.d.ts +2 -2
  132. package/dist/types/{src/api-model → api-model}/models/currency.d.ts +2 -2
  133. package/dist/types/{src/api-model → api-model}/models/debt-recovery-event.d.ts +2 -2
  134. package/dist/types/{src/api-model → api-model}/models/debt-recovery-item.d.ts +3 -3
  135. package/dist/types/api-model/models/direct-payment.d.ts +31 -0
  136. package/dist/types/{src/api-model → api-model}/models/failed-adhoc-disbursement-event.d.ts +5 -5
  137. package/dist/types/{src/api-model → api-model}/models/fbaliquidation-event.d.ts +2 -2
  138. package/dist/types/{src/api-model → api-model}/models/fee-component.d.ts +1 -1
  139. package/dist/types/{src/api-model → api-model}/models/financial-event-group.d.ts +5 -5
  140. package/dist/types/{src/api-model → api-model}/models/financial-events.d.ts +8 -8
  141. package/dist/types/{src/api-model → api-model}/models/imaging-services-fee-event.d.ts +2 -2
  142. package/dist/types/{src/api-model → api-model}/models/list-financial-event-groups-payload.d.ts +2 -2
  143. package/dist/types/{src/api-model → api-model}/models/list-financial-event-groups-response.d.ts +2 -2
  144. package/dist/types/{src/api-model → api-model}/models/list-financial-events-payload.d.ts +2 -2
  145. package/dist/types/{src/api-model → api-model}/models/list-financial-events-response.d.ts +2 -2
  146. package/dist/types/{src/api-model → api-model}/models/loan-servicing-event.d.ts +2 -2
  147. package/dist/types/{src/api-model → api-model}/models/model-error.d.ts +1 -1
  148. package/dist/types/{src/api-model → api-model}/models/network-commingling-transaction-event.d.ts +3 -3
  149. package/dist/types/{src/api-model → api-model}/models/pay-with-amazon-event.d.ts +5 -5
  150. package/dist/types/{src/api-model → api-model}/models/product-ads-payment-event.d.ts +4 -4
  151. package/dist/types/{src/api-model → api-model}/models/promotion.d.ts +1 -1
  152. package/dist/types/{src/api-model → api-model}/models/removal-shipment-adjustment-event.d.ts +4 -4
  153. package/dist/types/{src/api-model → api-model}/models/removal-shipment-event.d.ts +11 -5
  154. package/dist/types/{src/api-model → api-model}/models/removal-shipment-item-adjustment.d.ts +3 -3
  155. package/dist/types/{src/api-model → api-model}/models/removal-shipment-item.d.ts +2 -2
  156. package/dist/types/{src/api-model → api-model}/models/rental-transaction-event.d.ts +4 -4
  157. package/dist/types/{src/api-model → api-model}/models/retrocharge-event.d.ts +3 -3
  158. package/dist/types/{src/api-model → api-model}/models/safetreimbursement-event.d.ts +3 -3
  159. package/dist/types/{src/api-model → api-model}/models/safetreimbursement-item.d.ts +1 -1
  160. package/dist/types/{src/api-model → api-model}/models/seller-deal-payment-event.d.ts +4 -4
  161. package/dist/types/{src/api-model → api-model}/models/seller-review-enrollment-payment-event.d.ts +2 -2
  162. package/dist/types/{src/api-model → api-model}/models/service-fee-event.d.ts +7 -1
  163. package/dist/types/{src/api-model → api-model}/models/shipment-event.d.ts +8 -2
  164. package/dist/types/{src/api-model → api-model}/models/shipment-item.d.ts +1 -1
  165. package/dist/types/{src/api-model → api-model}/models/solution-provider-credit-event.d.ts +2 -2
  166. package/dist/types/{src/api-model → api-model}/models/tax-withheld-component.d.ts +2 -2
  167. package/dist/types/{src/api-model → api-model}/models/tax-withholding-event.d.ts +3 -3
  168. package/dist/types/{src/api-model → api-model}/models/tax-withholding-period.d.ts +4 -4
  169. package/dist/types/{src/api-model → api-model}/models/tdsreimbursement-event.d.ts +2 -2
  170. package/dist/types/{src/api-model → api-model}/models/trial-shipment-event.d.ts +2 -2
  171. package/dist/types/{src/api-model → api-model}/models/value-added-service-charge-event.d.ts +3 -3
  172. package/dist/types/index.d.ts +3 -3
  173. package/package.json +11 -4
  174. package/dist/types/src/api-model/api/default-api.d.ts +0 -307
  175. package/dist/types/src/api-model/models/adjustment-event.d.ts +0 -44
  176. package/dist/types/src/api-model/models/charge-component.d.ts +0 -31
  177. package/dist/types/src/api-model/models/direct-payment.d.ts +0 -31
  178. /package/dist/cjs/{src/api-model → api-model}/models/index.js +0 -0
  179. /package/dist/cjs/{src/client.js → client.js} +0 -0
  180. /package/dist/es/{src/api-model → api-model}/models/index.js +0 -0
  181. /package/dist/es/{src/client.js → client.js} +0 -0
  182. /package/dist/types/{src/api-model → api-model}/models/index.d.ts +0 -0
  183. /package/dist/types/{src/client.d.ts → client.d.ts} +0 -0
@@ -0,0 +1,307 @@
1
+ /**
2
+ * Selling Partner API for Finances
3
+ * The Selling Partner API for Finances provides financial information that is 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 type { Configuration } from '../configuration';
13
+ import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
+ import globalAxios from 'axios';
15
+ import { type RequestArgs, BaseAPI } from '../base';
16
+ import type { ListFinancialEventGroupsResponse } from '../models';
17
+ import type { ListFinancialEventsResponse } from '../models';
18
+ /**
19
+ * DefaultApi - axios parameter creator
20
+ * @export
21
+ */
22
+ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration) => {
23
+ /**
24
+ * Returns financial event groups for a given date range. Orders from the last 48 hours might not be included in financial 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 preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput can have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits).
25
+ * @param {number} [maxResultsPerPage] The maximum number of results per page. If the response exceeds the maximum number of transactions or 10 MB, the response is `InvalidInput`.
26
+ * @param {string} [financialEventGroupStartedBefore] A date that selects financial event groups that opened before (but not at) a specified date and time, in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format. The date-time must be after `FinancialEventGroupStartedAfter` and more than two minutes before the time of request. If `FinancialEventGroupStartedAfter` and `FinancialEventGroupStartedBefore` are more than 180 days apart, no financial event groups are returned.
27
+ * @param {string} [financialEventGroupStartedAfter] A date that selects financial event groups that opened after (or at) a specified date and time, in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format. The date-time must be more than two minutes before you submit the request.
28
+ * @param {string} [nextToken] The response includes `nextToken` when the number of results exceeds the specified `pageSize` value. To get the next page of results, call the operation with this token and include the same arguments as the call that produced the token. To get a complete list, call this operation until `nextToken` is null. Note that this operation can return empty pages.
29
+ * @param {*} [options] Override http request option.
30
+ * @throws {RequiredError}
31
+ */
32
+ listFinancialEventGroups: (maxResultsPerPage?: number, financialEventGroupStartedBefore?: string, financialEventGroupStartedAfter?: string, nextToken?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
33
+ /**
34
+ * Returns financial events for the specified data range. Orders from the last 48 hours might not be included in 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 preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput can have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits).
35
+ * @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 response is &#x60;InvalidInput&#x60;.
36
+ * @param {string} [postedAfter] The response includes financial events posted after (or on) this date. This date must be in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format. The date-time must be more than two minutes before the time of the request.
37
+ * @param {string} [postedBefore] The response includes financial events posted before (but not on) this date. This date must be in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format. The date-time must be later than &#x60;PostedAfter&#x60; and more than two minutes before the request was submitted. If &#x60;PostedAfter&#x60; and &#x60;PostedBefore&#x60; are more than 180 days apart, the response is empty. If you include the &#x60;PostedBefore&#x60; parameter in your request, you must also specify the &#x60;PostedAfter&#x60; parameter. **Default:** Two minutes before the time of the request.
38
+ * @param {string} [nextToken] The response includes &#x60;nextToken&#x60; when the number of results exceeds the specified &#x60;pageSize&#x60; value. To get the next page of results, call the operation with this token and include the same arguments as the call that produced the token. To get a complete list, call this operation until &#x60;nextToken&#x60; is null. Note that this operation can return empty pages.
39
+ * @param {*} [options] Override http request option.
40
+ * @throws {RequiredError}
41
+ */
42
+ listFinancialEvents: (maxResultsPerPage?: number, postedAfter?: string, postedBefore?: string, nextToken?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
43
+ /**
44
+ * Returns all financial events for the specified financial event group. Orders from the last 48 hours might not be included in financial events. **Note:** This operation only retrieves a group\'s data for the past two years. A request for data spanning more than two years produces an empty response. **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 preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput can have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits).
45
+ * @param {string} eventGroupId The identifier of the financial event group to which the events belong.
46
+ * @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 response is &#x60;InvalidInput&#x60;.
47
+ * @param {string} [postedAfter] The response includes financial events posted after (or on) this date. This date must be in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format. The date-time must be more than two minutes before the time of the request.
48
+ * @param {string} [postedBefore] The response includes financial events posted before (but not on) this date. This date must be in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format. The date-time must be later than &#x60;PostedAfter&#x60; and more than two minutes before the requestd was submitted. If &#x60;PostedAfter&#x60; and &#x60;PostedBefore&#x60; are more than 180 days apart, the response is empty. If you include the &#x60;PostedBefore&#x60; parameter in your request, you must also specify the &#x60;PostedAfter&#x60; parameter. **Default:** Two minutes before the time of the request.
49
+ * @param {string} [nextToken] The response includes &#x60;nextToken&#x60; when the number of results exceeds the specified &#x60;pageSize&#x60; value. To get the next page of results, call the operation with this token and include the same arguments as the call that produced the token. To get a complete list, call this operation until &#x60;nextToken&#x60; is null. Note that this operation can return empty pages.
50
+ * @param {*} [options] Override http request option.
51
+ * @throws {RequiredError}
52
+ */
53
+ listFinancialEventsByGroupId: (eventGroupId: string, maxResultsPerPage?: number, postedAfter?: string, postedBefore?: string, nextToken?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
54
+ /**
55
+ * Returns all financial events for the specified order. Orders from the last 48 hours might not be included in financial 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 preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput can have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits).
56
+ * @param {string} orderId An Amazon-defined order identifier, in 3-7-7 format.
57
+ * @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 response is &#x60;InvalidInput&#x60;.
58
+ * @param {string} [nextToken] The response includes &#x60;nextToken&#x60; when the number of results exceeds the specified &#x60;pageSize&#x60; value. To get the next page of results, call the operation with this token and include the same arguments as the call that produced the token. To get a complete list, call this operation until &#x60;nextToken&#x60; is null. Note that this operation can return empty pages.
59
+ * @param {*} [options] Override http request option.
60
+ * @throws {RequiredError}
61
+ */
62
+ listFinancialEventsByOrderId: (orderId: string, maxResultsPerPage?: number, nextToken?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
63
+ };
64
+ /**
65
+ * DefaultApi - functional programming interface
66
+ * @export
67
+ */
68
+ export declare const DefaultApiFp: (configuration?: Configuration) => {
69
+ /**
70
+ * Returns financial event groups for a given date range. Orders from the last 48 hours might not be included in financial 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 preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput can have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits).
71
+ * @param {number} [maxResultsPerPage] The maximum number of results per page. If the response exceeds the maximum number of transactions or 10 MB, the response is &#x60;InvalidInput&#x60;.
72
+ * @param {string} [financialEventGroupStartedBefore] A date that selects financial event groups that opened before (but not at) a specified date and time, in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format. The date-time must be after &#x60;FinancialEventGroupStartedAfter&#x60; and more than two minutes before the time of request. If &#x60;FinancialEventGroupStartedAfter&#x60; and &#x60;FinancialEventGroupStartedBefore&#x60; are more than 180 days apart, no financial event groups are returned.
73
+ * @param {string} [financialEventGroupStartedAfter] A date that selects financial event groups that opened after (or at) a specified date and time, in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format. The date-time must be more than two minutes before you submit the request.
74
+ * @param {string} [nextToken] The response includes &#x60;nextToken&#x60; when the number of results exceeds the specified &#x60;pageSize&#x60; value. To get the next page of results, call the operation with this token and include the same arguments as the call that produced the token. To get a complete list, call this operation until &#x60;nextToken&#x60; is null. Note that this operation can return empty pages.
75
+ * @param {*} [options] Override http request option.
76
+ * @throws {RequiredError}
77
+ */
78
+ listFinancialEventGroups(maxResultsPerPage?: number, financialEventGroupStartedBefore?: string, financialEventGroupStartedAfter?: string, nextToken?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListFinancialEventGroupsResponse>>;
79
+ /**
80
+ * Returns financial events for the specified data range. Orders from the last 48 hours might not be included in 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 preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput can have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits).
81
+ * @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 response is &#x60;InvalidInput&#x60;.
82
+ * @param {string} [postedAfter] The response includes financial events posted after (or on) this date. This date must be in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format. The date-time must be more than two minutes before the time of the request.
83
+ * @param {string} [postedBefore] The response includes financial events posted before (but not on) this date. This date must be in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format. The date-time must be later than &#x60;PostedAfter&#x60; and more than two minutes before the request was submitted. If &#x60;PostedAfter&#x60; and &#x60;PostedBefore&#x60; are more than 180 days apart, the response is empty. If you include the &#x60;PostedBefore&#x60; parameter in your request, you must also specify the &#x60;PostedAfter&#x60; parameter. **Default:** Two minutes before the time of the request.
84
+ * @param {string} [nextToken] The response includes &#x60;nextToken&#x60; when the number of results exceeds the specified &#x60;pageSize&#x60; value. To get the next page of results, call the operation with this token and include the same arguments as the call that produced the token. To get a complete list, call this operation until &#x60;nextToken&#x60; is null. Note that this operation can return empty pages.
85
+ * @param {*} [options] Override http request option.
86
+ * @throws {RequiredError}
87
+ */
88
+ listFinancialEvents(maxResultsPerPage?: number, postedAfter?: string, postedBefore?: string, nextToken?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListFinancialEventsResponse>>;
89
+ /**
90
+ * Returns all financial events for the specified financial event group. Orders from the last 48 hours might not be included in financial events. **Note:** This operation only retrieves a group\'s data for the past two years. A request for data spanning more than two years produces an empty response. **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 preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput can have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits).
91
+ * @param {string} eventGroupId The identifier of the financial event group to which the events belong.
92
+ * @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 response is &#x60;InvalidInput&#x60;.
93
+ * @param {string} [postedAfter] The response includes financial events posted after (or on) this date. This date must be in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format. The date-time must be more than two minutes before the time of the request.
94
+ * @param {string} [postedBefore] The response includes financial events posted before (but not on) this date. This date must be in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format. The date-time must be later than &#x60;PostedAfter&#x60; and more than two minutes before the requestd was submitted. If &#x60;PostedAfter&#x60; and &#x60;PostedBefore&#x60; are more than 180 days apart, the response is empty. If you include the &#x60;PostedBefore&#x60; parameter in your request, you must also specify the &#x60;PostedAfter&#x60; parameter. **Default:** Two minutes before the time of the request.
95
+ * @param {string} [nextToken] The response includes &#x60;nextToken&#x60; when the number of results exceeds the specified &#x60;pageSize&#x60; value. To get the next page of results, call the operation with this token and include the same arguments as the call that produced the token. To get a complete list, call this operation until &#x60;nextToken&#x60; is null. Note that this operation can return empty pages.
96
+ * @param {*} [options] Override http request option.
97
+ * @throws {RequiredError}
98
+ */
99
+ listFinancialEventsByGroupId(eventGroupId: string, maxResultsPerPage?: number, postedAfter?: string, postedBefore?: string, nextToken?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListFinancialEventsResponse>>;
100
+ /**
101
+ * Returns all financial events for the specified order. Orders from the last 48 hours might not be included in financial 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 preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput can have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits).
102
+ * @param {string} orderId An Amazon-defined order identifier, in 3-7-7 format.
103
+ * @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 response is &#x60;InvalidInput&#x60;.
104
+ * @param {string} [nextToken] The response includes &#x60;nextToken&#x60; when the number of results exceeds the specified &#x60;pageSize&#x60; value. To get the next page of results, call the operation with this token and include the same arguments as the call that produced the token. To get a complete list, call this operation until &#x60;nextToken&#x60; is null. Note that this operation can return empty pages.
105
+ * @param {*} [options] Override http request option.
106
+ * @throws {RequiredError}
107
+ */
108
+ listFinancialEventsByOrderId(orderId: string, maxResultsPerPage?: number, nextToken?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListFinancialEventsResponse>>;
109
+ };
110
+ /**
111
+ * DefaultApi - factory interface
112
+ * @export
113
+ */
114
+ export declare const DefaultApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
115
+ /**
116
+ * Returns financial event groups for a given date range. Orders from the last 48 hours might not be included in financial 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 preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput can have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits).
117
+ * @param {DefaultApiListFinancialEventGroupsRequest} requestParameters Request parameters.
118
+ * @param {*} [options] Override http request option.
119
+ * @throws {RequiredError}
120
+ */
121
+ listFinancialEventGroups(requestParameters?: DefaultApiListFinancialEventGroupsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListFinancialEventGroupsResponse>;
122
+ /**
123
+ * Returns financial events for the specified data range. Orders from the last 48 hours might not be included in 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 preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput can have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits).
124
+ * @param {DefaultApiListFinancialEventsRequest} requestParameters Request parameters.
125
+ * @param {*} [options] Override http request option.
126
+ * @throws {RequiredError}
127
+ */
128
+ listFinancialEvents(requestParameters?: DefaultApiListFinancialEventsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListFinancialEventsResponse>;
129
+ /**
130
+ * Returns all financial events for the specified financial event group. Orders from the last 48 hours might not be included in financial events. **Note:** This operation only retrieves a group\'s data for the past two years. A request for data spanning more than two years produces an empty response. **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 preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput can have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits).
131
+ * @param {DefaultApiListFinancialEventsByGroupIdRequest} requestParameters Request parameters.
132
+ * @param {*} [options] Override http request option.
133
+ * @throws {RequiredError}
134
+ */
135
+ listFinancialEventsByGroupId(requestParameters: DefaultApiListFinancialEventsByGroupIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListFinancialEventsResponse>;
136
+ /**
137
+ * Returns all financial events for the specified order. Orders from the last 48 hours might not be included in financial 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 preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput can have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits).
138
+ * @param {DefaultApiListFinancialEventsByOrderIdRequest} requestParameters Request parameters.
139
+ * @param {*} [options] Override http request option.
140
+ * @throws {RequiredError}
141
+ */
142
+ listFinancialEventsByOrderId(requestParameters: DefaultApiListFinancialEventsByOrderIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListFinancialEventsResponse>;
143
+ };
144
+ /**
145
+ * Request parameters for listFinancialEventGroups operation in DefaultApi.
146
+ * @export
147
+ * @interface DefaultApiListFinancialEventGroupsRequest
148
+ */
149
+ export interface DefaultApiListFinancialEventGroupsRequest {
150
+ /**
151
+ * The maximum number of results per page. If the response exceeds the maximum number of transactions or 10 MB, the response is &#x60;InvalidInput&#x60;.
152
+ * @type {number}
153
+ * @memberof DefaultApiListFinancialEventGroups
154
+ */
155
+ readonly maxResultsPerPage?: number;
156
+ /**
157
+ * A date that selects financial event groups that opened before (but not at) a specified date and time, in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format. The date-time must be after &#x60;FinancialEventGroupStartedAfter&#x60; and more than two minutes before the time of request. If &#x60;FinancialEventGroupStartedAfter&#x60; and &#x60;FinancialEventGroupStartedBefore&#x60; are more than 180 days apart, no financial event groups are returned.
158
+ * @type {string}
159
+ * @memberof DefaultApiListFinancialEventGroups
160
+ */
161
+ readonly financialEventGroupStartedBefore?: string;
162
+ /**
163
+ * A date that selects financial event groups that opened after (or at) a specified date and time, in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format. The date-time must be more than two minutes before you submit the request.
164
+ * @type {string}
165
+ * @memberof DefaultApiListFinancialEventGroups
166
+ */
167
+ readonly financialEventGroupStartedAfter?: string;
168
+ /**
169
+ * The response includes &#x60;nextToken&#x60; when the number of results exceeds the specified &#x60;pageSize&#x60; value. To get the next page of results, call the operation with this token and include the same arguments as the call that produced the token. To get a complete list, call this operation until &#x60;nextToken&#x60; is null. Note that this operation can return empty pages.
170
+ * @type {string}
171
+ * @memberof DefaultApiListFinancialEventGroups
172
+ */
173
+ readonly nextToken?: string;
174
+ }
175
+ /**
176
+ * Request parameters for listFinancialEvents operation in DefaultApi.
177
+ * @export
178
+ * @interface DefaultApiListFinancialEventsRequest
179
+ */
180
+ export interface DefaultApiListFinancialEventsRequest {
181
+ /**
182
+ * The maximum number of results to return per page. If the response exceeds the maximum number of transactions or 10 MB, the response is &#x60;InvalidInput&#x60;.
183
+ * @type {number}
184
+ * @memberof DefaultApiListFinancialEvents
185
+ */
186
+ readonly maxResultsPerPage?: number;
187
+ /**
188
+ * The response includes financial events posted after (or on) this date. This date must be in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format. The date-time must be more than two minutes before the time of the request.
189
+ * @type {string}
190
+ * @memberof DefaultApiListFinancialEvents
191
+ */
192
+ readonly postedAfter?: string;
193
+ /**
194
+ * The response includes financial events posted before (but not on) this date. This date must be in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format. The date-time must be later than &#x60;PostedAfter&#x60; and more than two minutes before the request was submitted. If &#x60;PostedAfter&#x60; and &#x60;PostedBefore&#x60; are more than 180 days apart, the response is empty. If you include the &#x60;PostedBefore&#x60; parameter in your request, you must also specify the &#x60;PostedAfter&#x60; parameter. **Default:** Two minutes before the time of the request.
195
+ * @type {string}
196
+ * @memberof DefaultApiListFinancialEvents
197
+ */
198
+ readonly postedBefore?: string;
199
+ /**
200
+ * The response includes &#x60;nextToken&#x60; when the number of results exceeds the specified &#x60;pageSize&#x60; value. To get the next page of results, call the operation with this token and include the same arguments as the call that produced the token. To get a complete list, call this operation until &#x60;nextToken&#x60; is null. Note that this operation can return empty pages.
201
+ * @type {string}
202
+ * @memberof DefaultApiListFinancialEvents
203
+ */
204
+ readonly nextToken?: string;
205
+ }
206
+ /**
207
+ * Request parameters for listFinancialEventsByGroupId operation in DefaultApi.
208
+ * @export
209
+ * @interface DefaultApiListFinancialEventsByGroupIdRequest
210
+ */
211
+ export interface DefaultApiListFinancialEventsByGroupIdRequest {
212
+ /**
213
+ * The identifier of the financial event group to which the events belong.
214
+ * @type {string}
215
+ * @memberof DefaultApiListFinancialEventsByGroupId
216
+ */
217
+ readonly eventGroupId: string;
218
+ /**
219
+ * The maximum number of results to return per page. If the response exceeds the maximum number of transactions or 10 MB, the response is &#x60;InvalidInput&#x60;.
220
+ * @type {number}
221
+ * @memberof DefaultApiListFinancialEventsByGroupId
222
+ */
223
+ readonly maxResultsPerPage?: number;
224
+ /**
225
+ * The response includes financial events posted after (or on) this date. This date must be in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format. The date-time must be more than two minutes before the time of the request.
226
+ * @type {string}
227
+ * @memberof DefaultApiListFinancialEventsByGroupId
228
+ */
229
+ readonly postedAfter?: string;
230
+ /**
231
+ * The response includes financial events posted before (but not on) this date. This date must be in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format. The date-time must be later than &#x60;PostedAfter&#x60; and more than two minutes before the requestd was submitted. If &#x60;PostedAfter&#x60; and &#x60;PostedBefore&#x60; are more than 180 days apart, the response is empty. If you include the &#x60;PostedBefore&#x60; parameter in your request, you must also specify the &#x60;PostedAfter&#x60; parameter. **Default:** Two minutes before the time of the request.
232
+ * @type {string}
233
+ * @memberof DefaultApiListFinancialEventsByGroupId
234
+ */
235
+ readonly postedBefore?: string;
236
+ /**
237
+ * The response includes &#x60;nextToken&#x60; when the number of results exceeds the specified &#x60;pageSize&#x60; value. To get the next page of results, call the operation with this token and include the same arguments as the call that produced the token. To get a complete list, call this operation until &#x60;nextToken&#x60; is null. Note that this operation can return empty pages.
238
+ * @type {string}
239
+ * @memberof DefaultApiListFinancialEventsByGroupId
240
+ */
241
+ readonly nextToken?: string;
242
+ }
243
+ /**
244
+ * Request parameters for listFinancialEventsByOrderId operation in DefaultApi.
245
+ * @export
246
+ * @interface DefaultApiListFinancialEventsByOrderIdRequest
247
+ */
248
+ export interface DefaultApiListFinancialEventsByOrderIdRequest {
249
+ /**
250
+ * An Amazon-defined order identifier, in 3-7-7 format.
251
+ * @type {string}
252
+ * @memberof DefaultApiListFinancialEventsByOrderId
253
+ */
254
+ readonly orderId: string;
255
+ /**
256
+ * The maximum number of results to return per page. If the response exceeds the maximum number of transactions or 10 MB, the response is &#x60;InvalidInput&#x60;.
257
+ * @type {number}
258
+ * @memberof DefaultApiListFinancialEventsByOrderId
259
+ */
260
+ readonly maxResultsPerPage?: number;
261
+ /**
262
+ * The response includes &#x60;nextToken&#x60; when the number of results exceeds the specified &#x60;pageSize&#x60; value. To get the next page of results, call the operation with this token and include the same arguments as the call that produced the token. To get a complete list, call this operation until &#x60;nextToken&#x60; is null. Note that this operation can return empty pages.
263
+ * @type {string}
264
+ * @memberof DefaultApiListFinancialEventsByOrderId
265
+ */
266
+ readonly nextToken?: string;
267
+ }
268
+ /**
269
+ * DefaultApi - object-oriented interface
270
+ * @export
271
+ * @class DefaultApi
272
+ * @extends {BaseAPI}
273
+ */
274
+ export declare class DefaultApi extends BaseAPI {
275
+ /**
276
+ * Returns financial event groups for a given date range. Orders from the last 48 hours might not be included in financial 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 preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput can have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits).
277
+ * @param {DefaultApiListFinancialEventGroupsRequest} requestParameters Request parameters.
278
+ * @param {*} [options] Override http request option.
279
+ * @throws {RequiredError}
280
+ * @memberof DefaultApi
281
+ */
282
+ listFinancialEventGroups(requestParameters?: DefaultApiListFinancialEventGroupsRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<ListFinancialEventGroupsResponse, any>>;
283
+ /**
284
+ * Returns financial events for the specified data range. Orders from the last 48 hours might not be included in 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 preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput can have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits).
285
+ * @param {DefaultApiListFinancialEventsRequest} requestParameters Request parameters.
286
+ * @param {*} [options] Override http request option.
287
+ * @throws {RequiredError}
288
+ * @memberof DefaultApi
289
+ */
290
+ listFinancialEvents(requestParameters?: DefaultApiListFinancialEventsRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<ListFinancialEventsResponse, any>>;
291
+ /**
292
+ * Returns all financial events for the specified financial event group. Orders from the last 48 hours might not be included in financial events. **Note:** This operation only retrieves a group\'s data for the past two years. A request for data spanning more than two years produces an empty response. **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 preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput can have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits).
293
+ * @param {DefaultApiListFinancialEventsByGroupIdRequest} requestParameters Request parameters.
294
+ * @param {*} [options] Override http request option.
295
+ * @throws {RequiredError}
296
+ * @memberof DefaultApi
297
+ */
298
+ listFinancialEventsByGroupId(requestParameters: DefaultApiListFinancialEventsByGroupIdRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<ListFinancialEventsResponse, any>>;
299
+ /**
300
+ * Returns all financial events for the specified order. Orders from the last 48 hours might not be included in financial 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 preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput can have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits).
301
+ * @param {DefaultApiListFinancialEventsByOrderIdRequest} requestParameters Request parameters.
302
+ * @param {*} [options] Override http request option.
303
+ * @throws {RequiredError}
304
+ * @memberof DefaultApi
305
+ */
306
+ listFinancialEventsByOrderId(requestParameters: DefaultApiListFinancialEventsByOrderIdRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<ListFinancialEventsResponse, any>>;
307
+ }
@@ -1,6 +1,6 @@
1
1
  /**
2
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.
3
+ * The Selling Partner API for Finances provides financial information that is 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
4
  *
5
5
  * The version of the OpenAPI document: v0
6
6
  *
@@ -1,6 +1,6 @@
1
1
  /**
2
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.
3
+ * The Selling Partner API for Finances provides financial information that is 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
4
  *
5
5
  * The version of the OpenAPI document: v0
6
6
  *
@@ -1,6 +1,6 @@
1
1
  /**
2
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.
3
+ * The Selling Partner API for Finances provides financial information that is 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
4
  *
5
5
  * The version of the OpenAPI document: v0
6
6
  *
@@ -1,6 +1,6 @@
1
1
  /**
2
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.
3
+ * The Selling Partner API for Finances provides financial information that is 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
4
  *
5
5
  * The version of the OpenAPI document: v0
6
6
  *
@@ -1,6 +1,6 @@
1
1
  /**
2
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.
3
+ * The Selling Partner API for Finances provides financial information that is 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
4
  *
5
5
  * The version of the OpenAPI document: v0
6
6
  *
@@ -1,6 +1,6 @@
1
1
  /**
2
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.
3
+ * The Selling Partner API for Finances provides financial information that is 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
4
  *
5
5
  * The version of the OpenAPI document: v0
6
6
  *
@@ -17,13 +17,13 @@ import type { Currency } from './currency';
17
17
  */
18
18
  export interface AdhocDisbursementEvent {
19
19
  /**
20
- * Indicates the type of transaction. Example: \"Disbursed to Amazon Gift Card balance\"
20
+ * The type of transaction. For example, \"Disbursed to Amazon Gift Card balance\".
21
21
  * @type {string}
22
22
  * @memberof AdhocDisbursementEvent
23
23
  */
24
24
  'TransactionType'?: string;
25
25
  /**
26
- *
26
+ * A date in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format.
27
27
  * @type {string}
28
28
  * @memberof AdhocDisbursementEvent
29
29
  */
@@ -0,0 +1,44 @@
1
+ /**
2
+ * Selling Partner API for Finances
3
+ * The Selling Partner API for Finances provides financial information that is 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 type { AdjustmentItem } from './adjustment-item';
13
+ import type { Currency } from './currency';
14
+ /**
15
+ * An adjustment to the seller\'s account.
16
+ * @export
17
+ * @interface AdjustmentEvent
18
+ */
19
+ export interface AdjustmentEvent {
20
+ /**
21
+ * The type of adjustment. Possible values: * `FBAInventoryReimbursement`: An FBA inventory reimbursement to a seller\'s account. This occurs if a seller\'s inventory is damaged. * `ReserveEvent`: A reserve event that is generated at the time a settlement period closes. This occurs when some money from a seller\'s account is held back. * `PostageBilling`: The amount paid by a seller for shipping labels. * `PostageRefund`: The reimbursement of shipping labels purchased for orders that were canceled or refunded. * `LostOrDamagedReimbursement`: An Amazon Easy Ship reimbursement to a seller\'s account for a package that we lost or damaged. * `CanceledButPickedUpReimbursement`: An Amazon Easy Ship reimbursement to a seller\'s account. This occurs when a package is picked up and the order is subsequently canceled. This value is used only in the India marketplace. * `ReimbursementClawback`: An Amazon Easy Ship reimbursement clawback from a seller\'s account. This occurs when a prior reimbursement is reversed. This value is used only in the India marketplace. * `SellerRewards`: An award credited to a seller\'s account for their participation in an offer in the Seller Rewards program. Applies only to the India marketplace.
22
+ * @type {string}
23
+ * @memberof AdjustmentEvent
24
+ */
25
+ 'AdjustmentType'?: string;
26
+ /**
27
+ * A date in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format.
28
+ * @type {string}
29
+ * @memberof AdjustmentEvent
30
+ */
31
+ 'PostedDate'?: string;
32
+ /**
33
+ *
34
+ * @type {Currency}
35
+ * @memberof AdjustmentEvent
36
+ */
37
+ 'AdjustmentAmount'?: Currency;
38
+ /**
39
+ * A list of information about items in an adjustment to the seller\'s account.
40
+ * @type {Array<AdjustmentItem>}
41
+ * @memberof AdjustmentEvent
42
+ */
43
+ 'AdjustmentItemList'?: Array<AdjustmentItem>;
44
+ }
@@ -1,6 +1,6 @@
1
1
  /**
2
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.
3
+ * The Selling Partner API for Finances provides financial information that is 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
4
  *
5
5
  * The version of the OpenAPI document: v0
6
6
  *
@@ -17,7 +17,7 @@ import type { Currency } from './currency';
17
17
  */
18
18
  export interface AdjustmentItem {
19
19
  /**
20
- * Represents the number of units in the seller\'s inventory when the AdustmentType is FBAInventoryReimbursement.
20
+ * Represents the number of units in the seller\'s inventory when the `AdjustmentType` is `FBAInventoryReimbursement`.
21
21
  * @type {string}
22
22
  * @memberof AdjustmentItem
23
23
  */
@@ -1,6 +1,6 @@
1
1
  /**
2
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.
3
+ * The Selling Partner API for Finances provides financial information that is 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
4
  *
5
5
  * The version of the OpenAPI document: v0
6
6
  *
@@ -23,19 +23,19 @@ export interface AffordabilityExpenseEvent {
23
23
  */
24
24
  'AmazonOrderId'?: string;
25
25
  /**
26
- *
26
+ * A date in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format.
27
27
  * @type {string}
28
28
  * @memberof AffordabilityExpenseEvent
29
29
  */
30
30
  'PostedDate'?: string;
31
31
  /**
32
- * An encrypted, Amazon-defined marketplace identifier.
32
+ * The Amazon-defined marketplace identifier.
33
33
  * @type {string}
34
34
  * @memberof AffordabilityExpenseEvent
35
35
  */
36
36
  'MarketplaceId'?: string;
37
37
  /**
38
- * Indicates the type of transaction. Possible values: * Charge - For an affordability promotion expense. * Refund - For an affordability promotion expense reversal.
38
+ * The type of transaction. Possible values: * `Charge`: an affordability promotion expense. * `Refund`: an affordability promotion expense reversal.
39
39
  * @type {string}
40
40
  * @memberof AffordabilityExpenseEvent
41
41
  */
@@ -1,6 +1,6 @@
1
1
  /**
2
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.
3
+ * The Selling Partner API for Finances provides financial information that is 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
4
  *
5
5
  * The version of the OpenAPI document: v0
6
6
  *
@@ -17,13 +17,13 @@ import type { Currency } from './currency';
17
17
  */
18
18
  export interface CapacityReservationBillingEvent {
19
19
  /**
20
- * Indicates the type of transaction. For example, FBA Inventory Fee
20
+ * The transaction type. For example, FBA Inventory Fee.
21
21
  * @type {string}
22
22
  * @memberof CapacityReservationBillingEvent
23
23
  */
24
24
  'TransactionType'?: string;
25
25
  /**
26
- *
26
+ * A date in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format.
27
27
  * @type {string}
28
28
  * @memberof CapacityReservationBillingEvent
29
29
  */
@@ -0,0 +1,31 @@
1
+ /**
2
+ * Selling Partner API for Finances
3
+ * The Selling Partner API for Finances provides financial information that is 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 type { Currency } from './currency';
13
+ /**
14
+ * A charge on the seller\'s account. Possible values: * `Principal`: The selling price of the order item, which is equal to the selling price of the item multiplied by the quantity ordered. * `Tax`: The tax on the principal that is collected by the seller. * `MarketplaceFacilitatorTax-Principal`: The tax that is withheld on the principal. * `MarketplaceFacilitatorTax-Shipping`: The tax that is withheld on the `ShippingCharge`. * `MarketplaceFacilitatorTax-Giftwrap`: The tax that is withheld on the Giftwrap charge. * `MarketplaceFacilitatorTax-Other`: The tax that is withheld on other miscellaneous charges. * `Discount`: The promotional discount for an order item. * `TaxDiscount`: The tax that is deducted for promotional rebates. * `CODItemCharge`: The COD charge for an order item. * `CODItemTaxCharge`: The tax that is collected by the seller on a `CODItemCharge`. * `CODOrderCharge`: The COD charge for an order. * `CODOrderTaxCharge`: The tax that is collected by the seller on a `CODOrderCharge`. * `CODShippingCharge`: Shipping charges for a COD order. * `CODShippingTaxCharge`: The tax that is collected by the seller on a `CODShippingCharge`. * `ShippingCharge`: The shipping charge. * `ShippingTax`: The tax that is collected by the seller on a `ShippingCharge`. * `Goodwill`: The amount of money that is given to a buyer as a gesture of goodwill or to compensate for pain and suffering in the buying experience. * `Giftwrap`: The gift wrap charge. * `GiftwrapTax`: The tax that is collected by the seller on a gift wrap charge. * `RestockingFee`: The charge that is applied to the buyer when returning a product in certain categories. * `ReturnShipping`: The amount of money that is given to the buyer to compensate for shipping the item back if we are at fault. * `PointsFee`: The value of Amazon Points deducted from the refund if the buyer does not have enough Amazon Points to cover the deduction. * `GenericDeduction`: A generic bad debt deduction. * `FreeReplacementReturnShipping`: The compensation for return shipping when a buyer receives the wrong item, requests a free replacement, and returns the incorrect item. * `PaymentMethodFee`: The fee that is collected for certain payment methods in certain marketplaces. * `ExportCharge`: The export duty that is charged when an item is shipped to an international destination as part of the Amazon Global program. * `SAFE-TReimbursement`: The SAFE-T claim amount for the item. * `TCS-CGST`: Tax Collected at Source (TCS) for Central Goods and Services Tax (CGST). * `TCS-SGST`: Tax Collected at Source for State Goods and Services Tax (SGST). * `TCS-IGST`: Tax Collected at Source for Integrated Goods and Services Tax (IGST). * `TCS-UTGST`: Tax Collected at Source for Union Territories Goods and Services Tax (UTGST).
15
+ * @export
16
+ * @interface ChargeComponent
17
+ */
18
+ export interface ChargeComponent {
19
+ /**
20
+ * The type of charge.
21
+ * @type {string}
22
+ * @memberof ChargeComponent
23
+ */
24
+ 'ChargeType'?: string;
25
+ /**
26
+ *
27
+ * @type {Currency}
28
+ * @memberof ChargeComponent
29
+ */
30
+ 'ChargeAmount'?: Currency;
31
+ }
@@ -1,6 +1,6 @@
1
1
  /**
2
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.
3
+ * The Selling Partner API for Finances provides financial information that is 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
4
  *
5
5
  * The version of the OpenAPI document: v0
6
6
  *
@@ -1,6 +1,6 @@
1
1
  /**
2
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.
3
+ * The Selling Partner API for Finances provides financial information that is 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
4
  *
5
5
  * The version of the OpenAPI document: v0
6
6
  *
@@ -17,19 +17,19 @@ import type { ChargeRefundTransaction } from './charge-refund-transaction';
17
17
  */
18
18
  export interface ChargeRefundEvent {
19
19
  /**
20
- *
20
+ * A date in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format.
21
21
  * @type {string}
22
22
  * @memberof ChargeRefundEvent
23
23
  */
24
24
  'PostedDate'?: string;
25
25
  /**
26
- * The reason given for a charge refund. Example: `SubscriptionFeeCorrection`
26
+ * The reason given for a charge refund. For example, `SubscriptionFeeCorrection`.
27
27
  * @type {string}
28
28
  * @memberof ChargeRefundEvent
29
29
  */
30
30
  'ReasonCode'?: string;
31
31
  /**
32
- * A description of the Reason Code. Example: `SubscriptionFeeCorrection`
32
+ * A description of the Reason Code. For example, `SubscriptionFeeCorrection`.
33
33
  * @type {string}
34
34
  * @memberof ChargeRefundEvent
35
35
  */
@@ -1,6 +1,6 @@
1
1
  /**
2
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.
3
+ * The Selling Partner API for Finances provides financial information that is 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
4
  *
5
5
  * The version of the OpenAPI document: v0
6
6
  *