@sp-api-sdk/finances-api-v0 4.2.7 → 5.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (187) hide show
  1. package/README.md +4 -4
  2. package/dist/index.cjs +550 -0
  3. package/dist/index.cjs.map +1 -0
  4. package/dist/index.d.cts +2281 -0
  5. package/dist/index.d.ts +2281 -0
  6. package/dist/{types/api-model/api/finances-api.d.ts → index.js} +409 -158
  7. package/dist/index.js.map +1 -0
  8. package/package.json +23 -12
  9. package/dist/cjs/api-model/api/finances-api.js +0 -365
  10. package/dist/cjs/api-model/api.js +0 -30
  11. package/dist/cjs/api-model/base.js +0 -52
  12. package/dist/cjs/api-model/common.js +0 -123
  13. package/dist/cjs/api-model/configuration.js +0 -98
  14. package/dist/cjs/api-model/index.js +0 -32
  15. package/dist/cjs/api-model/models/adhoc-disbursement-event.js +0 -15
  16. package/dist/cjs/api-model/models/adjustment-event.js +0 -15
  17. package/dist/cjs/api-model/models/adjustment-item.js +0 -15
  18. package/dist/cjs/api-model/models/affordability-expense-event.js +0 -15
  19. package/dist/cjs/api-model/models/capacity-reservation-billing-event.js +0 -15
  20. package/dist/cjs/api-model/models/charge-component.js +0 -15
  21. package/dist/cjs/api-model/models/charge-instrument.js +0 -15
  22. package/dist/cjs/api-model/models/charge-refund-event.js +0 -15
  23. package/dist/cjs/api-model/models/charge-refund-transaction.js +0 -15
  24. package/dist/cjs/api-model/models/coupon-payment-event.js +0 -15
  25. package/dist/cjs/api-model/models/currency.js +0 -15
  26. package/dist/cjs/api-model/models/debt-recovery-event.js +0 -15
  27. package/dist/cjs/api-model/models/debt-recovery-item.js +0 -15
  28. package/dist/cjs/api-model/models/direct-payment.js +0 -15
  29. package/dist/cjs/api-model/models/ebtrefund-reimbursement-only-event.js +0 -15
  30. package/dist/cjs/api-model/models/failed-adhoc-disbursement-event.js +0 -15
  31. package/dist/cjs/api-model/models/fbaliquidation-event.js +0 -15
  32. package/dist/cjs/api-model/models/fee-component.js +0 -15
  33. package/dist/cjs/api-model/models/financial-event-group.js +0 -15
  34. package/dist/cjs/api-model/models/financial-events.js +0 -15
  35. package/dist/cjs/api-model/models/imaging-services-fee-event.js +0 -15
  36. package/dist/cjs/api-model/models/index.js +0 -67
  37. package/dist/cjs/api-model/models/list-financial-event-groups-payload.js +0 -15
  38. package/dist/cjs/api-model/models/list-financial-event-groups-response.js +0 -15
  39. package/dist/cjs/api-model/models/list-financial-events-payload.js +0 -15
  40. package/dist/cjs/api-model/models/list-financial-events-response.js +0 -15
  41. package/dist/cjs/api-model/models/loan-servicing-event.js +0 -15
  42. package/dist/cjs/api-model/models/model-error.js +0 -15
  43. package/dist/cjs/api-model/models/network-commingling-transaction-event.js +0 -15
  44. package/dist/cjs/api-model/models/pay-with-amazon-event.js +0 -15
  45. package/dist/cjs/api-model/models/product-ads-payment-event.js +0 -15
  46. package/dist/cjs/api-model/models/promotion.js +0 -15
  47. package/dist/cjs/api-model/models/removal-shipment-adjustment-event.js +0 -15
  48. package/dist/cjs/api-model/models/removal-shipment-event.js +0 -15
  49. package/dist/cjs/api-model/models/removal-shipment-item-adjustment.js +0 -15
  50. package/dist/cjs/api-model/models/removal-shipment-item.js +0 -15
  51. package/dist/cjs/api-model/models/rental-transaction-event.js +0 -15
  52. package/dist/cjs/api-model/models/retrocharge-event.js +0 -15
  53. package/dist/cjs/api-model/models/safetreimbursement-event.js +0 -15
  54. package/dist/cjs/api-model/models/safetreimbursement-item.js +0 -15
  55. package/dist/cjs/api-model/models/seller-deal-payment-event.js +0 -15
  56. package/dist/cjs/api-model/models/seller-review-enrollment-payment-event.js +0 -15
  57. package/dist/cjs/api-model/models/service-fee-event.js +0 -15
  58. package/dist/cjs/api-model/models/shipment-event.js +0 -15
  59. package/dist/cjs/api-model/models/shipment-item.js +0 -15
  60. package/dist/cjs/api-model/models/solution-provider-credit-event.js +0 -15
  61. package/dist/cjs/api-model/models/tax-withheld-component.js +0 -15
  62. package/dist/cjs/api-model/models/tax-withholding-event.js +0 -15
  63. package/dist/cjs/api-model/models/tax-withholding-period.js +0 -15
  64. package/dist/cjs/api-model/models/tdsreimbursement-event.js +0 -15
  65. package/dist/cjs/api-model/models/trial-shipment-event.js +0 -15
  66. package/dist/cjs/api-model/models/value-added-service-charge-event.js +0 -15
  67. package/dist/cjs/client.js +0 -42
  68. package/dist/cjs/index.js +0 -18
  69. package/dist/es/api-model/api/finances-api.js +0 -355
  70. package/dist/es/api-model/api.js +0 -14
  71. package/dist/es/api-model/base.js +0 -44
  72. package/dist/es/api-model/common.js +0 -110
  73. package/dist/es/api-model/configuration.js +0 -94
  74. package/dist/es/api-model/index.js +0 -16
  75. package/dist/es/api-model/models/adhoc-disbursement-event.js +0 -14
  76. package/dist/es/api-model/models/adjustment-event.js +0 -14
  77. package/dist/es/api-model/models/adjustment-item.js +0 -14
  78. package/dist/es/api-model/models/affordability-expense-event.js +0 -14
  79. package/dist/es/api-model/models/capacity-reservation-billing-event.js +0 -14
  80. package/dist/es/api-model/models/charge-component.js +0 -14
  81. package/dist/es/api-model/models/charge-instrument.js +0 -14
  82. package/dist/es/api-model/models/charge-refund-event.js +0 -14
  83. package/dist/es/api-model/models/charge-refund-transaction.js +0 -14
  84. package/dist/es/api-model/models/coupon-payment-event.js +0 -14
  85. package/dist/es/api-model/models/currency.js +0 -14
  86. package/dist/es/api-model/models/debt-recovery-event.js +0 -14
  87. package/dist/es/api-model/models/debt-recovery-item.js +0 -14
  88. package/dist/es/api-model/models/direct-payment.js +0 -14
  89. package/dist/es/api-model/models/ebtrefund-reimbursement-only-event.js +0 -14
  90. package/dist/es/api-model/models/failed-adhoc-disbursement-event.js +0 -14
  91. package/dist/es/api-model/models/fbaliquidation-event.js +0 -14
  92. package/dist/es/api-model/models/fee-component.js +0 -14
  93. package/dist/es/api-model/models/financial-event-group.js +0 -14
  94. package/dist/es/api-model/models/financial-events.js +0 -14
  95. package/dist/es/api-model/models/imaging-services-fee-event.js +0 -14
  96. package/dist/es/api-model/models/index.js +0 -51
  97. package/dist/es/api-model/models/list-financial-event-groups-payload.js +0 -14
  98. package/dist/es/api-model/models/list-financial-event-groups-response.js +0 -14
  99. package/dist/es/api-model/models/list-financial-events-payload.js +0 -14
  100. package/dist/es/api-model/models/list-financial-events-response.js +0 -14
  101. package/dist/es/api-model/models/loan-servicing-event.js +0 -14
  102. package/dist/es/api-model/models/model-error.js +0 -14
  103. package/dist/es/api-model/models/network-commingling-transaction-event.js +0 -14
  104. package/dist/es/api-model/models/pay-with-amazon-event.js +0 -14
  105. package/dist/es/api-model/models/product-ads-payment-event.js +0 -14
  106. package/dist/es/api-model/models/promotion.js +0 -14
  107. package/dist/es/api-model/models/removal-shipment-adjustment-event.js +0 -14
  108. package/dist/es/api-model/models/removal-shipment-event.js +0 -14
  109. package/dist/es/api-model/models/removal-shipment-item-adjustment.js +0 -14
  110. package/dist/es/api-model/models/removal-shipment-item.js +0 -14
  111. package/dist/es/api-model/models/rental-transaction-event.js +0 -14
  112. package/dist/es/api-model/models/retrocharge-event.js +0 -14
  113. package/dist/es/api-model/models/safetreimbursement-event.js +0 -14
  114. package/dist/es/api-model/models/safetreimbursement-item.js +0 -14
  115. package/dist/es/api-model/models/seller-deal-payment-event.js +0 -14
  116. package/dist/es/api-model/models/seller-review-enrollment-payment-event.js +0 -14
  117. package/dist/es/api-model/models/service-fee-event.js +0 -14
  118. package/dist/es/api-model/models/shipment-event.js +0 -14
  119. package/dist/es/api-model/models/shipment-item.js +0 -14
  120. package/dist/es/api-model/models/solution-provider-credit-event.js +0 -14
  121. package/dist/es/api-model/models/tax-withheld-component.js +0 -14
  122. package/dist/es/api-model/models/tax-withholding-event.js +0 -14
  123. package/dist/es/api-model/models/tax-withholding-period.js +0 -14
  124. package/dist/es/api-model/models/tdsreimbursement-event.js +0 -14
  125. package/dist/es/api-model/models/trial-shipment-event.js +0 -14
  126. package/dist/es/api-model/models/value-added-service-charge-event.js +0 -14
  127. package/dist/es/client.js +0 -38
  128. package/dist/es/index.js +0 -2
  129. package/dist/types/api-model/api.d.ts +0 -12
  130. package/dist/types/api-model/base.d.ts +0 -42
  131. package/dist/types/api-model/common.d.ts +0 -34
  132. package/dist/types/api-model/configuration.d.ts +0 -98
  133. package/dist/types/api-model/index.d.ts +0 -14
  134. package/dist/types/api-model/models/adhoc-disbursement-event.d.ts +0 -30
  135. package/dist/types/api-model/models/adjustment-event.d.ts +0 -35
  136. package/dist/types/api-model/models/adjustment-item.d.ts +0 -43
  137. package/dist/types/api-model/models/affordability-expense-event.d.ts +0 -38
  138. package/dist/types/api-model/models/capacity-reservation-billing-event.d.ts +0 -30
  139. package/dist/types/api-model/models/charge-component.d.ts +0 -22
  140. package/dist/types/api-model/models/charge-instrument.d.ts +0 -26
  141. package/dist/types/api-model/models/charge-refund-event.d.ts +0 -33
  142. package/dist/types/api-model/models/charge-refund-transaction.d.ts +0 -22
  143. package/dist/types/api-model/models/coupon-payment-event.d.ts +0 -42
  144. package/dist/types/api-model/models/currency.d.ts +0 -24
  145. package/dist/types/api-model/models/debt-recovery-event.d.ts +0 -33
  146. package/dist/types/api-model/models/debt-recovery-item.d.ts +0 -27
  147. package/dist/types/api-model/models/direct-payment.d.ts +0 -22
  148. package/dist/types/api-model/models/ebtrefund-reimbursement-only-event.d.ts +0 -26
  149. package/dist/types/api-model/models/failed-adhoc-disbursement-event.d.ts +0 -42
  150. package/dist/types/api-model/models/fbaliquidation-event.d.ts +0 -27
  151. package/dist/types/api-model/models/fee-component.d.ts +0 -22
  152. package/dist/types/api-model/models/financial-event-group.d.ts +0 -52
  153. package/dist/types/api-model/models/financial-events.d.ts +0 -181
  154. package/dist/types/api-model/models/imaging-services-fee-event.d.ts +0 -33
  155. package/dist/types/api-model/models/index.d.ts +0 -51
  156. package/dist/types/api-model/models/list-financial-event-groups-payload.d.ts +0 -25
  157. package/dist/types/api-model/models/list-financial-event-groups-response.d.ts +0 -22
  158. package/dist/types/api-model/models/list-financial-events-payload.d.ts +0 -22
  159. package/dist/types/api-model/models/list-financial-events-response.d.ts +0 -22
  160. package/dist/types/api-model/models/loan-servicing-event.d.ts +0 -22
  161. package/dist/types/api-model/models/model-error.d.ts +0 -28
  162. package/dist/types/api-model/models/network-commingling-transaction-event.d.ts +0 -43
  163. package/dist/types/api-model/models/pay-with-amazon-event.d.ts +0 -55
  164. package/dist/types/api-model/models/product-ads-payment-event.d.ts +0 -32
  165. package/dist/types/api-model/models/promotion.d.ts +0 -26
  166. package/dist/types/api-model/models/removal-shipment-adjustment-event.d.ts +0 -41
  167. package/dist/types/api-model/models/removal-shipment-event.d.ts +0 -41
  168. package/dist/types/api-model/models/removal-shipment-item-adjustment.d.ts +0 -36
  169. package/dist/types/api-model/models/removal-shipment-item.d.ts +0 -37
  170. package/dist/types/api-model/models/rental-transaction-event.d.ts +0 -54
  171. package/dist/types/api-model/models/retrocharge-event.d.ts +0 -40
  172. package/dist/types/api-model/models/safetreimbursement-event.d.ts +0 -35
  173. package/dist/types/api-model/models/safetreimbursement-item.d.ts +0 -29
  174. package/dist/types/api-model/models/seller-deal-payment-event.d.ts +0 -40
  175. package/dist/types/api-model/models/seller-review-enrollment-payment-event.d.ts +0 -34
  176. package/dist/types/api-model/models/service-fee-event.d.ts +0 -49
  177. package/dist/types/api-model/models/shipment-event.d.ts +0 -76
  178. package/dist/types/api-model/models/shipment-item.d.ts +0 -67
  179. package/dist/types/api-model/models/solution-provider-credit-event.d.ts +0 -54
  180. package/dist/types/api-model/models/tax-withheld-component.d.ts +0 -25
  181. package/dist/types/api-model/models/tax-withholding-event.d.ts +0 -25
  182. package/dist/types/api-model/models/tax-withholding-period.d.ts +0 -24
  183. package/dist/types/api-model/models/tdsreimbursement-event.d.ts +0 -26
  184. package/dist/types/api-model/models/trial-shipment-event.d.ts +0 -37
  185. package/dist/types/api-model/models/value-added-service-charge-event.d.ts +0 -30
  186. package/dist/types/client.d.ts +0 -6
  187. package/dist/types/index.d.ts +0 -3
@@ -1,14 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Selling Partner API for Finances
5
- * 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.
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 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.
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 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.
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 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.
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 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.
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 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.
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 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.
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 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.
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 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.
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 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.
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 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.
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 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.
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 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.
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 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.
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 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.
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 {};
package/dist/es/client.js DELETED
@@ -1,38 +0,0 @@
1
- import { createAxiosInstance } from '@sp-api-sdk/common';
2
- import { Configuration, FinancesApi } from './api-model';
3
- export const clientRateLimits = [
4
- {
5
- method: 'get',
6
- // eslint-disable-next-line prefer-regex-literals
7
- urlRegex: new RegExp('^/finances/v0/financialEventGroups$'),
8
- rate: 0.5,
9
- burst: 30,
10
- },
11
- {
12
- method: 'get',
13
- // eslint-disable-next-line prefer-regex-literals
14
- urlRegex: new RegExp('^/finances/v0/financialEventGroups/[^/]*/financialEvents$'),
15
- rate: 0.5,
16
- burst: 30,
17
- },
18
- {
19
- method: 'get',
20
- // eslint-disable-next-line prefer-regex-literals
21
- urlRegex: new RegExp('^/finances/v0/orders/[^/]*/financialEvents$'),
22
- rate: 0.5,
23
- burst: 30,
24
- },
25
- {
26
- method: 'get',
27
- // eslint-disable-next-line prefer-regex-literals
28
- urlRegex: new RegExp('^/finances/v0/financialEvents$'),
29
- rate: 0.5,
30
- burst: 30,
31
- },
32
- ];
33
- export class FinancesApiClient extends FinancesApi {
34
- constructor(configuration) {
35
- const { axios, endpoint } = createAxiosInstance(configuration, clientRateLimits);
36
- super(new Configuration(), endpoint, axios);
37
- }
38
- }
package/dist/es/index.js DELETED
@@ -1,2 +0,0 @@
1
- export * from './client';
2
- export * from './api-model/api';
@@ -1,12 +0,0 @@
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
- export * from './api/finances-api';
@@ -1,42 +0,0 @@
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 { AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
- export declare const BASE_PATH: string;
15
- export declare const COLLECTION_FORMATS: {
16
- csv: string;
17
- ssv: string;
18
- tsv: string;
19
- pipes: string;
20
- };
21
- export interface RequestArgs {
22
- url: string;
23
- options: RawAxiosRequestConfig;
24
- }
25
- export declare class BaseAPI {
26
- protected basePath: string;
27
- protected axios: AxiosInstance;
28
- protected configuration: Configuration | undefined;
29
- constructor(configuration?: Configuration, basePath?: string, axios?: AxiosInstance);
30
- }
31
- export declare class RequiredError extends Error {
32
- field: string;
33
- constructor(field: string, msg?: string);
34
- }
35
- interface ServerMap {
36
- [key: string]: {
37
- url: string;
38
- description: string;
39
- }[];
40
- }
41
- export declare const operationServerMap: ServerMap;
42
- export {};
@@ -1,34 +0,0 @@
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 { RequestArgs } from "./base";
14
- import type { AxiosInstance, AxiosResponse } from 'axios';
15
- export declare const DUMMY_BASE_URL = "https://example.com";
16
- /**
17
- *
18
- * @throws {RequiredError}
19
- */
20
- export declare const assertParamExists: (functionName: string, paramName: string, paramValue: unknown) => void;
21
- export declare const setApiKeyToObject: (object: any, keyParamName: string, configuration?: Configuration) => Promise<void>;
22
- export declare const setBasicAuthToObject: (object: any, configuration?: Configuration) => void;
23
- export declare const setBearerAuthToObject: (object: any, configuration?: Configuration) => Promise<void>;
24
- export declare const setOAuthToObject: (object: any, name: string, scopes: string[], configuration?: Configuration) => Promise<void>;
25
- export declare const setSearchParams: (url: URL, ...objects: any[]) => void;
26
- /**
27
- * JSON serialization helper function which replaces instances of unserializable types with serializable ones.
28
- * This function will run for every key-value pair encountered by JSON.stringify while traversing an object.
29
- * Converting a set to a string will return an empty object, so an intermediate conversion to an array is required.
30
- */
31
- export declare const replaceWithSerializableTypeIfNeeded: (key: string, value: any) => any;
32
- export declare const serializeDataIfNeeded: (value: any, requestOptions: any, configuration?: Configuration) => any;
33
- export declare const toPathString: (url: URL) => string;
34
- export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
@@ -1,98 +0,0 @@
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
- interface AWSv4Configuration {
13
- options?: {
14
- region?: string;
15
- service?: string;
16
- };
17
- credentials?: {
18
- accessKeyId?: string;
19
- secretAccessKey?: string;
20
- sessionToken?: string;
21
- };
22
- }
23
- export interface ConfigurationParameters {
24
- apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
25
- username?: string;
26
- password?: string;
27
- accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
28
- awsv4?: AWSv4Configuration;
29
- basePath?: string;
30
- serverIndex?: number;
31
- baseOptions?: any;
32
- formDataCtor?: new () => any;
33
- }
34
- export declare class Configuration {
35
- /**
36
- * parameter for apiKey security
37
- * @param name security name
38
- */
39
- apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
40
- /**
41
- * parameter for basic security
42
- */
43
- username?: string;
44
- /**
45
- * parameter for basic security
46
- */
47
- password?: string;
48
- /**
49
- * parameter for oauth2 security
50
- * @param name security name
51
- * @param scopes oauth2 scope
52
- */
53
- accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
54
- /**
55
- * parameter for aws4 signature security
56
- * @param {Object} AWS4Signature - AWS4 Signature security
57
- * @param {string} options.region - aws region
58
- * @param {string} options.service - name of the service.
59
- * @param {string} credentials.accessKeyId - aws access key id
60
- * @param {string} credentials.secretAccessKey - aws access key
61
- * @param {string} credentials.sessionToken - aws session token
62
- * @memberof Configuration
63
- */
64
- awsv4?: AWSv4Configuration;
65
- /**
66
- * override base path
67
- */
68
- basePath?: string;
69
- /**
70
- * override server index
71
- */
72
- serverIndex?: number;
73
- /**
74
- * base options for axios calls
75
- */
76
- baseOptions?: any;
77
- /**
78
- * The FormData constructor that will be used to create multipart form data
79
- * requests. You can inject this here so that execution environments that
80
- * do not support the FormData class can still run the generated client.
81
- *
82
- * @type {new () => FormData}
83
- */
84
- formDataCtor?: new () => any;
85
- constructor(param?: ConfigurationParameters);
86
- /**
87
- * Check if the given MIME is a JSON MIME.
88
- * JSON MIME examples:
89
- * application/json
90
- * application/json; charset=UTF8
91
- * APPLICATION/JSON
92
- * application/vnd.company+json
93
- * @param mime - MIME (Multipurpose Internet Mail Extensions)
94
- * @return True if the given MIME is JSON, false otherwise.
95
- */
96
- isJsonMime(mime: string): boolean;
97
- }
98
- export {};
@@ -1,14 +0,0 @@
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
- export * from "./api";
13
- export * from "./configuration";
14
- export * from "./models";
@@ -1,30 +0,0 @@
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
- * An event related to an Adhoc Disbursement.
15
- */
16
- export interface AdhocDisbursementEvent {
17
- /**
18
- * The type of transaction. For example, \"Disbursed to Amazon Gift Card balance\".
19
- */
20
- 'TransactionType'?: string;
21
- /**
22
- * A date in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format.
23
- */
24
- 'PostedDate'?: string;
25
- /**
26
- * The identifier for the transaction.
27
- */
28
- 'TransactionId'?: string;
29
- 'TransactionAmount'?: Currency;
30
- }
@@ -1,35 +0,0 @@
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
- */
17
- export interface AdjustmentEvent {
18
- /**
19
- * 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.
20
- */
21
- 'AdjustmentType'?: string;
22
- /**
23
- * A date in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format.
24
- */
25
- 'PostedDate'?: string;
26
- /**
27
- * The name of the store where the event occurred.
28
- */
29
- 'StoreName'?: string;
30
- 'AdjustmentAmount'?: Currency;
31
- /**
32
- * A list of information about items in an adjustment to the seller\'s account.
33
- */
34
- 'AdjustmentItemList'?: Array<AdjustmentItem>;
35
- }
@@ -1,43 +0,0 @@
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
- * An item in an adjustment to the seller\'s account.
15
- */
16
- export interface AdjustmentItem {
17
- /**
18
- * Represents the number of units in the seller\'s inventory when the `AdjustmentType` is `FBAInventoryReimbursement`.
19
- */
20
- 'Quantity'?: string;
21
- 'PerUnitAmount'?: Currency;
22
- 'TotalAmount'?: Currency;
23
- /**
24
- * The seller SKU of the item. The seller SKU is qualified by the seller\'s seller ID, which is included with every call to the Selling Partner API.
25
- */
26
- 'SellerSKU'?: string;
27
- /**
28
- * A unique identifier assigned to products stored in and fulfilled from a fulfillment center.
29
- */
30
- 'FnSKU'?: string;
31
- /**
32
- * A short description of the item.
33
- */
34
- 'ProductDescription'?: string;
35
- /**
36
- * The Amazon Standard Identification Number (ASIN) of the item.
37
- */
38
- 'ASIN'?: string;
39
- /**
40
- * The transaction number that is related to the adjustment.
41
- */
42
- 'TransactionNumber'?: string;
43
- }
@@ -1,38 +0,0 @@
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
- * An expense related to an affordability promotion.
15
- */
16
- export interface AffordabilityExpenseEvent {
17
- /**
18
- * An Amazon-defined identifier for an order.
19
- */
20
- 'AmazonOrderId'?: string;
21
- /**
22
- * A date in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format.
23
- */
24
- 'PostedDate'?: string;
25
- /**
26
- * The Amazon-defined marketplace identifier.
27
- */
28
- 'MarketplaceId'?: string;
29
- /**
30
- * The type of transaction. Possible values: * `Charge`: an affordability promotion expense. * `Refund`: an affordability promotion expense reversal.
31
- */
32
- 'TransactionType'?: string;
33
- 'BaseExpense'?: Currency;
34
- 'TaxTypeCGST': Currency;
35
- 'TaxTypeSGST': Currency;
36
- 'TaxTypeIGST': Currency;
37
- 'TotalExpense'?: Currency;
38
- }