@sp-api-sdk/finances-api-v0 1.7.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 (165) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +58 -0
  3. package/dist/cjs/index.js +6 -0
  4. package/dist/cjs/src/api-model/api/default-api.js +357 -0
  5. package/dist/cjs/src/api-model/api.js +17 -0
  6. package/dist/cjs/src/api-model/base.js +62 -0
  7. package/dist/cjs/src/api-model/common.js +137 -0
  8. package/dist/cjs/src/api-model/configuration.js +42 -0
  9. package/dist/cjs/src/api-model/index.js +19 -0
  10. package/dist/cjs/src/api-model/models/adjustment-event.js +15 -0
  11. package/dist/cjs/src/api-model/models/adjustment-item.js +15 -0
  12. package/dist/cjs/src/api-model/models/affordability-expense-event.js +15 -0
  13. package/dist/cjs/src/api-model/models/charge-component.js +15 -0
  14. package/dist/cjs/src/api-model/models/charge-instrument.js +15 -0
  15. package/dist/cjs/src/api-model/models/coupon-payment-event.js +15 -0
  16. package/dist/cjs/src/api-model/models/currency.js +15 -0
  17. package/dist/cjs/src/api-model/models/debt-recovery-event.js +15 -0
  18. package/dist/cjs/src/api-model/models/debt-recovery-item.js +15 -0
  19. package/dist/cjs/src/api-model/models/direct-payment.js +15 -0
  20. package/dist/cjs/src/api-model/models/fbaliquidation-event.js +15 -0
  21. package/dist/cjs/src/api-model/models/fee-component.js +15 -0
  22. package/dist/cjs/src/api-model/models/financial-event-group.js +15 -0
  23. package/dist/cjs/src/api-model/models/financial-events.js +15 -0
  24. package/dist/cjs/src/api-model/models/imaging-services-fee-event.js +15 -0
  25. package/dist/cjs/src/api-model/models/index.js +46 -0
  26. package/dist/cjs/src/api-model/models/list-financial-event-groups-payload.js +15 -0
  27. package/dist/cjs/src/api-model/models/list-financial-event-groups-response.js +15 -0
  28. package/dist/cjs/src/api-model/models/list-financial-events-payload.js +15 -0
  29. package/dist/cjs/src/api-model/models/list-financial-events-response.js +15 -0
  30. package/dist/cjs/src/api-model/models/loan-servicing-event.js +15 -0
  31. package/dist/cjs/src/api-model/models/model-error.js +15 -0
  32. package/dist/cjs/src/api-model/models/network-commingling-transaction-event.js +15 -0
  33. package/dist/cjs/src/api-model/models/pay-with-amazon-event.js +15 -0
  34. package/dist/cjs/src/api-model/models/product-ads-payment-event.js +15 -0
  35. package/dist/cjs/src/api-model/models/promotion.js +15 -0
  36. package/dist/cjs/src/api-model/models/removal-shipment-adjustment-event.js +15 -0
  37. package/dist/cjs/src/api-model/models/removal-shipment-event.js +15 -0
  38. package/dist/cjs/src/api-model/models/removal-shipment-item-adjustment.js +15 -0
  39. package/dist/cjs/src/api-model/models/removal-shipment-item.js +15 -0
  40. package/dist/cjs/src/api-model/models/rental-transaction-event.js +15 -0
  41. package/dist/cjs/src/api-model/models/retrocharge-event.js +15 -0
  42. package/dist/cjs/src/api-model/models/safetreimbursement-event.js +15 -0
  43. package/dist/cjs/src/api-model/models/safetreimbursement-item.js +15 -0
  44. package/dist/cjs/src/api-model/models/seller-deal-payment-event.js +15 -0
  45. package/dist/cjs/src/api-model/models/seller-review-enrollment-payment-event.js +15 -0
  46. package/dist/cjs/src/api-model/models/service-fee-event.js +15 -0
  47. package/dist/cjs/src/api-model/models/shipment-event.js +15 -0
  48. package/dist/cjs/src/api-model/models/shipment-item.js +15 -0
  49. package/dist/cjs/src/api-model/models/solution-provider-credit-event.js +15 -0
  50. package/dist/cjs/src/api-model/models/tax-withheld-component.js +15 -0
  51. package/dist/cjs/src/api-model/models/tax-withholding-event.js +15 -0
  52. package/dist/cjs/src/api-model/models/tax-withholding-period.js +15 -0
  53. package/dist/cjs/src/api-model/models/tdsreimbursement-event.js +15 -0
  54. package/dist/cjs/src/api-model/models/trial-shipment-event.js +15 -0
  55. package/dist/cjs/src/client.js +53 -0
  56. package/dist/cjs/src/error.js +10 -0
  57. package/dist/es/index.js +3 -0
  58. package/dist/es/src/api-model/api/default-api.js +349 -0
  59. package/dist/es/src/api-model/api.js +14 -0
  60. package/dist/es/src/api-model/base.js +56 -0
  61. package/dist/es/src/api-model/common.js +125 -0
  62. package/dist/es/src/api-model/configuration.js +38 -0
  63. package/dist/es/src/api-model/index.js +16 -0
  64. package/dist/es/src/api-model/models/adjustment-event.js +14 -0
  65. package/dist/es/src/api-model/models/adjustment-item.js +14 -0
  66. package/dist/es/src/api-model/models/affordability-expense-event.js +14 -0
  67. package/dist/es/src/api-model/models/charge-component.js +14 -0
  68. package/dist/es/src/api-model/models/charge-instrument.js +14 -0
  69. package/dist/es/src/api-model/models/coupon-payment-event.js +14 -0
  70. package/dist/es/src/api-model/models/currency.js +14 -0
  71. package/dist/es/src/api-model/models/debt-recovery-event.js +14 -0
  72. package/dist/es/src/api-model/models/debt-recovery-item.js +14 -0
  73. package/dist/es/src/api-model/models/direct-payment.js +14 -0
  74. package/dist/es/src/api-model/models/fbaliquidation-event.js +14 -0
  75. package/dist/es/src/api-model/models/fee-component.js +14 -0
  76. package/dist/es/src/api-model/models/financial-event-group.js +14 -0
  77. package/dist/es/src/api-model/models/financial-events.js +14 -0
  78. package/dist/es/src/api-model/models/imaging-services-fee-event.js +14 -0
  79. package/dist/es/src/api-model/models/index.js +43 -0
  80. package/dist/es/src/api-model/models/list-financial-event-groups-payload.js +14 -0
  81. package/dist/es/src/api-model/models/list-financial-event-groups-response.js +14 -0
  82. package/dist/es/src/api-model/models/list-financial-events-payload.js +14 -0
  83. package/dist/es/src/api-model/models/list-financial-events-response.js +14 -0
  84. package/dist/es/src/api-model/models/loan-servicing-event.js +14 -0
  85. package/dist/es/src/api-model/models/model-error.js +14 -0
  86. package/dist/es/src/api-model/models/network-commingling-transaction-event.js +14 -0
  87. package/dist/es/src/api-model/models/pay-with-amazon-event.js +14 -0
  88. package/dist/es/src/api-model/models/product-ads-payment-event.js +14 -0
  89. package/dist/es/src/api-model/models/promotion.js +14 -0
  90. package/dist/es/src/api-model/models/removal-shipment-adjustment-event.js +14 -0
  91. package/dist/es/src/api-model/models/removal-shipment-event.js +14 -0
  92. package/dist/es/src/api-model/models/removal-shipment-item-adjustment.js +14 -0
  93. package/dist/es/src/api-model/models/removal-shipment-item.js +14 -0
  94. package/dist/es/src/api-model/models/rental-transaction-event.js +14 -0
  95. package/dist/es/src/api-model/models/retrocharge-event.js +14 -0
  96. package/dist/es/src/api-model/models/safetreimbursement-event.js +14 -0
  97. package/dist/es/src/api-model/models/safetreimbursement-item.js +14 -0
  98. package/dist/es/src/api-model/models/seller-deal-payment-event.js +14 -0
  99. package/dist/es/src/api-model/models/seller-review-enrollment-payment-event.js +14 -0
  100. package/dist/es/src/api-model/models/service-fee-event.js +14 -0
  101. package/dist/es/src/api-model/models/shipment-event.js +14 -0
  102. package/dist/es/src/api-model/models/shipment-item.js +14 -0
  103. package/dist/es/src/api-model/models/solution-provider-credit-event.js +14 -0
  104. package/dist/es/src/api-model/models/tax-withheld-component.js +14 -0
  105. package/dist/es/src/api-model/models/tax-withholding-event.js +14 -0
  106. package/dist/es/src/api-model/models/tax-withholding-period.js +14 -0
  107. package/dist/es/src/api-model/models/tdsreimbursement-event.js +14 -0
  108. package/dist/es/src/api-model/models/trial-shipment-event.js +14 -0
  109. package/dist/es/src/client.js +49 -0
  110. package/dist/es/src/error.js +6 -0
  111. package/dist/types/index.d.ts +3 -0
  112. package/dist/types/src/api-model/api/default-api.d.ts +300 -0
  113. package/dist/types/src/api-model/api.d.ts +12 -0
  114. package/dist/types/src/api-model/base.d.ts +55 -0
  115. package/dist/types/src/api-model/common.d.ts +65 -0
  116. package/dist/types/src/api-model/configuration.d.ts +83 -0
  117. package/dist/types/src/api-model/index.d.ts +14 -0
  118. package/dist/types/src/api-model/models/adjustment-event.d.ts +44 -0
  119. package/dist/types/src/api-model/models/adjustment-item.d.ts +61 -0
  120. package/dist/types/src/api-model/models/affordability-expense-event.d.ts +73 -0
  121. package/dist/types/src/api-model/models/charge-component.d.ts +31 -0
  122. package/dist/types/src/api-model/models/charge-instrument.d.ts +37 -0
  123. package/dist/types/src/api-model/models/coupon-payment-event.d.ts +69 -0
  124. package/dist/types/src/api-model/models/currency.d.ts +30 -0
  125. package/dist/types/src/api-model/models/debt-recovery-event.d.ts +51 -0
  126. package/dist/types/src/api-model/models/debt-recovery-item.d.ts +43 -0
  127. package/dist/types/src/api-model/models/direct-payment.d.ts +31 -0
  128. package/dist/types/src/api-model/models/fbaliquidation-event.d.ts +43 -0
  129. package/dist/types/src/api-model/models/fee-component.d.ts +31 -0
  130. package/dist/types/src/api-model/models/financial-event-group.d.ts +85 -0
  131. package/dist/types/src/api-model/models/financial-events.d.ts +202 -0
  132. package/dist/types/src/api-model/models/imaging-services-fee-event.d.ts +43 -0
  133. package/dist/types/src/api-model/models/index.d.ts +43 -0
  134. package/dist/types/src/api-model/models/list-financial-event-groups-payload.d.ts +31 -0
  135. package/dist/types/src/api-model/models/list-financial-event-groups-response.d.ts +31 -0
  136. package/dist/types/src/api-model/models/list-financial-events-payload.d.ts +31 -0
  137. package/dist/types/src/api-model/models/list-financial-events-response.d.ts +31 -0
  138. package/dist/types/src/api-model/models/loan-servicing-event.d.ts +31 -0
  139. package/dist/types/src/api-model/models/model-error.d.ts +36 -0
  140. package/dist/types/src/api-model/models/network-commingling-transaction-event.d.ts +67 -0
  141. package/dist/types/src/api-model/models/pay-with-amazon-event.d.ts +80 -0
  142. package/dist/types/src/api-model/models/product-ads-payment-event.d.ts +55 -0
  143. package/dist/types/src/api-model/models/promotion.d.ts +37 -0
  144. package/dist/types/src/api-model/models/removal-shipment-adjustment-event.d.ts +55 -0
  145. package/dist/types/src/api-model/models/removal-shipment-event.d.ts +49 -0
  146. package/dist/types/src/api-model/models/removal-shipment-item-adjustment.d.ts +61 -0
  147. package/dist/types/src/api-model/models/removal-shipment-item.d.ts +67 -0
  148. package/dist/types/src/api-model/models/rental-transaction-event.d.ts +82 -0
  149. package/dist/types/src/api-model/models/retrocharge-event.d.ts +62 -0
  150. package/dist/types/src/api-model/models/safetreimbursement-event.d.ts +50 -0
  151. package/dist/types/src/api-model/models/safetreimbursement-item.d.ts +37 -0
  152. package/dist/types/src/api-model/models/seller-deal-payment-event.d.ts +67 -0
  153. package/dist/types/src/api-model/models/seller-review-enrollment-payment-event.d.ts +57 -0
  154. package/dist/types/src/api-model/models/service-fee-event.d.ts +61 -0
  155. package/dist/types/src/api-model/models/shipment-event.d.ts +100 -0
  156. package/dist/types/src/api-model/models/shipment-item.d.ts +101 -0
  157. package/dist/types/src/api-model/models/solution-provider-credit-event.d.ts +79 -0
  158. package/dist/types/src/api-model/models/tax-withheld-component.d.ts +31 -0
  159. package/dist/types/src/api-model/models/tax-withholding-event.d.ts +44 -0
  160. package/dist/types/src/api-model/models/tax-withholding-period.d.ts +30 -0
  161. package/dist/types/src/api-model/models/tdsreimbursement-event.d.ts +37 -0
  162. package/dist/types/src/api-model/models/trial-shipment-event.d.ts +49 -0
  163. package/dist/types/src/client.d.ts +13 -0
  164. package/dist/types/src/error.d.ts +3 -0
  165. package/package.json +53 -0
@@ -0,0 +1,43 @@
1
+ /**
2
+ * Selling Partner API for Finances
3
+ * The Selling Partner API for Finances helps you obtain financial information relevant to a seller\'s business. You can obtain financial events for a given order, financial event group, or date range without having to wait until a statement period closes. You can also obtain financial event groups for a given date range.
4
+ *
5
+ * The version of the OpenAPI document: v0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { FeeComponent } from './fee-component';
13
+ /**
14
+ * A fee event related to Amazon Imaging services.
15
+ * @export
16
+ * @interface ImagingServicesFeeEvent
17
+ */
18
+ export interface ImagingServicesFeeEvent {
19
+ /**
20
+ * The identifier for the imaging services request.
21
+ * @type {string}
22
+ * @memberof ImagingServicesFeeEvent
23
+ */
24
+ ImagingRequestBillingItemID?: string;
25
+ /**
26
+ * The Amazon Standard Identification Number (ASIN) of the item for which the imaging service was requested.
27
+ * @type {string}
28
+ * @memberof ImagingServicesFeeEvent
29
+ */
30
+ ASIN?: string;
31
+ /**
32
+ *
33
+ * @type {string}
34
+ * @memberof ImagingServicesFeeEvent
35
+ */
36
+ PostedDate?: string;
37
+ /**
38
+ * A list of fee component information.
39
+ * @type {Array<FeeComponent>}
40
+ * @memberof ImagingServicesFeeEvent
41
+ */
42
+ FeeList?: Array<FeeComponent>;
43
+ }
@@ -0,0 +1,43 @@
1
+ export * from './adjustment-event';
2
+ export * from './adjustment-item';
3
+ export * from './affordability-expense-event';
4
+ export * from './charge-component';
5
+ export * from './charge-instrument';
6
+ export * from './coupon-payment-event';
7
+ export * from './currency';
8
+ export * from './debt-recovery-event';
9
+ export * from './debt-recovery-item';
10
+ export * from './direct-payment';
11
+ export * from './fbaliquidation-event';
12
+ export * from './fee-component';
13
+ export * from './financial-event-group';
14
+ export * from './financial-events';
15
+ export * from './imaging-services-fee-event';
16
+ export * from './list-financial-event-groups-payload';
17
+ export * from './list-financial-event-groups-response';
18
+ export * from './list-financial-events-payload';
19
+ export * from './list-financial-events-response';
20
+ export * from './loan-servicing-event';
21
+ export * from './model-error';
22
+ export * from './network-commingling-transaction-event';
23
+ export * from './pay-with-amazon-event';
24
+ export * from './product-ads-payment-event';
25
+ export * from './promotion';
26
+ export * from './removal-shipment-adjustment-event';
27
+ export * from './removal-shipment-event';
28
+ export * from './removal-shipment-item';
29
+ export * from './removal-shipment-item-adjustment';
30
+ export * from './rental-transaction-event';
31
+ export * from './retrocharge-event';
32
+ export * from './safetreimbursement-event';
33
+ export * from './safetreimbursement-item';
34
+ export * from './seller-deal-payment-event';
35
+ export * from './seller-review-enrollment-payment-event';
36
+ export * from './service-fee-event';
37
+ export * from './shipment-event';
38
+ export * from './shipment-item';
39
+ export * from './solution-provider-credit-event';
40
+ export * from './tax-withheld-component';
41
+ export * from './tax-withholding-event';
42
+ export * from './tax-withholding-period';
43
+ export * from './trial-shipment-event';
@@ -0,0 +1,31 @@
1
+ /**
2
+ * Selling Partner API for Finances
3
+ * The Selling Partner API for Finances helps you obtain financial information relevant to a seller\'s business. You can obtain financial events for a given order, financial event group, or date range without having to wait until a statement period closes. You can also obtain financial event groups for a given date range.
4
+ *
5
+ * The version of the OpenAPI document: v0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { FinancialEventGroup } from './financial-event-group';
13
+ /**
14
+ * The payload for the listFinancialEventGroups operation.
15
+ * @export
16
+ * @interface ListFinancialEventGroupsPayload
17
+ */
18
+ export interface ListFinancialEventGroupsPayload {
19
+ /**
20
+ * When present and not empty, pass this string token in the next request to return the next response page.
21
+ * @type {string}
22
+ * @memberof ListFinancialEventGroupsPayload
23
+ */
24
+ NextToken?: string;
25
+ /**
26
+ * A list of financial event group information.
27
+ * @type {Array<FinancialEventGroup>}
28
+ * @memberof ListFinancialEventGroupsPayload
29
+ */
30
+ FinancialEventGroupList?: Array<FinancialEventGroup>;
31
+ }
@@ -0,0 +1,31 @@
1
+ /**
2
+ * Selling Partner API for Finances
3
+ * The Selling Partner API for Finances helps you obtain financial information relevant to a seller\'s business. You can obtain financial events for a given order, financial event group, or date range without having to wait until a statement period closes. You can also obtain financial event groups for a given date range.
4
+ *
5
+ * The version of the OpenAPI document: v0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { ListFinancialEventGroupsPayload } from './list-financial-event-groups-payload';
13
+ /**
14
+ * The response schema for the listFinancialEventGroups operation.
15
+ * @export
16
+ * @interface ListFinancialEventGroupsResponse
17
+ */
18
+ export interface ListFinancialEventGroupsResponse {
19
+ /**
20
+ *
21
+ * @type {ListFinancialEventGroupsPayload}
22
+ * @memberof ListFinancialEventGroupsResponse
23
+ */
24
+ payload?: ListFinancialEventGroupsPayload;
25
+ /**
26
+ * A list of error responses returned when a request is unsuccessful.
27
+ * @type {Array<Error>}
28
+ * @memberof ListFinancialEventGroupsResponse
29
+ */
30
+ errors?: Array<Error>;
31
+ }
@@ -0,0 +1,31 @@
1
+ /**
2
+ * Selling Partner API for Finances
3
+ * The Selling Partner API for Finances helps you obtain financial information relevant to a seller\'s business. You can obtain financial events for a given order, financial event group, or date range without having to wait until a statement period closes. You can also obtain financial event groups for a given date range.
4
+ *
5
+ * The version of the OpenAPI document: v0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { FinancialEvents } from './financial-events';
13
+ /**
14
+ * The payload for the listFinancialEvents operation.
15
+ * @export
16
+ * @interface ListFinancialEventsPayload
17
+ */
18
+ export interface ListFinancialEventsPayload {
19
+ /**
20
+ * When present and not empty, pass this string token in the next request to return the next response page.
21
+ * @type {string}
22
+ * @memberof ListFinancialEventsPayload
23
+ */
24
+ NextToken?: string;
25
+ /**
26
+ *
27
+ * @type {FinancialEvents}
28
+ * @memberof ListFinancialEventsPayload
29
+ */
30
+ FinancialEvents?: FinancialEvents;
31
+ }
@@ -0,0 +1,31 @@
1
+ /**
2
+ * Selling Partner API for Finances
3
+ * The Selling Partner API for Finances helps you obtain financial information relevant to a seller\'s business. You can obtain financial events for a given order, financial event group, or date range without having to wait until a statement period closes. You can also obtain financial event groups for a given date range.
4
+ *
5
+ * The version of the OpenAPI document: v0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { ListFinancialEventsPayload } from './list-financial-events-payload';
13
+ /**
14
+ * The response schema for the listFinancialEvents operation.
15
+ * @export
16
+ * @interface ListFinancialEventsResponse
17
+ */
18
+ export interface ListFinancialEventsResponse {
19
+ /**
20
+ *
21
+ * @type {ListFinancialEventsPayload}
22
+ * @memberof ListFinancialEventsResponse
23
+ */
24
+ payload?: ListFinancialEventsPayload;
25
+ /**
26
+ * A list of error responses returned when a request is unsuccessful.
27
+ * @type {Array<Error>}
28
+ * @memberof ListFinancialEventsResponse
29
+ */
30
+ errors?: Array<Error>;
31
+ }
@@ -0,0 +1,31 @@
1
+ /**
2
+ * Selling Partner API for Finances
3
+ * The Selling Partner API for Finances helps you obtain financial information relevant to a seller\'s business. You can obtain financial events for a given order, financial event group, or date range without having to wait until a statement period closes. You can also obtain financial event groups for a given date range.
4
+ *
5
+ * The version of the OpenAPI document: v0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { Currency } from './currency';
13
+ /**
14
+ * A loan advance, loan payment, or loan refund.
15
+ * @export
16
+ * @interface LoanServicingEvent
17
+ */
18
+ export interface LoanServicingEvent {
19
+ /**
20
+ *
21
+ * @type {Currency}
22
+ * @memberof LoanServicingEvent
23
+ */
24
+ LoanAmount?: Currency;
25
+ /**
26
+ * The type of event. Possible values: * LoanAdvance * LoanPayment * LoanRefund
27
+ * @type {string}
28
+ * @memberof LoanServicingEvent
29
+ */
30
+ SourceBusinessEventType?: string;
31
+ }
@@ -0,0 +1,36 @@
1
+ /**
2
+ * Selling Partner API for Finances
3
+ * The Selling Partner API for Finances helps you obtain financial information relevant to a seller\'s business. You can obtain financial events for a given order, financial event group, or date range without having to wait until a statement period closes. You can also obtain financial event groups for a given date range.
4
+ *
5
+ * The version of the OpenAPI document: v0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ * Error response returned when the request is unsuccessful.
14
+ * @export
15
+ * @interface ModelError
16
+ */
17
+ export interface ModelError {
18
+ /**
19
+ * An error code that identifies the type of error that occurred.
20
+ * @type {string}
21
+ * @memberof ModelError
22
+ */
23
+ code: string;
24
+ /**
25
+ * A message that describes the error condition in a human-readable form.
26
+ * @type {string}
27
+ * @memberof ModelError
28
+ */
29
+ message: string;
30
+ /**
31
+ * Additional details that can help the caller understand or fix the issue.
32
+ * @type {string}
33
+ * @memberof ModelError
34
+ */
35
+ details?: string;
36
+ }
@@ -0,0 +1,67 @@
1
+ /**
2
+ * Selling Partner API for Finances
3
+ * The Selling Partner API for Finances helps you obtain financial information relevant to a seller\'s business. You can obtain financial events for a given order, financial event group, or date range without having to wait until a statement period closes. You can also obtain financial event groups for a given date range.
4
+ *
5
+ * The version of the OpenAPI document: v0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { Currency } from './currency';
13
+ /**
14
+ * A network commingling transaction event.
15
+ * @export
16
+ * @interface NetworkComminglingTransactionEvent
17
+ */
18
+ export interface NetworkComminglingTransactionEvent {
19
+ /**
20
+ * The type of network item swap. Possible values: * NetCo - A Fulfillment by Amazon inventory pooling transaction. Available only in the India marketplace. * ComminglingVAT - A commingling VAT transaction. Available only in the UK, Spain, France, Germany, and Italy marketplaces.
21
+ * @type {string}
22
+ * @memberof NetworkComminglingTransactionEvent
23
+ */
24
+ TransactionType?: string;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof NetworkComminglingTransactionEvent
29
+ */
30
+ PostedDate?: string;
31
+ /**
32
+ * The identifier for the network item swap.
33
+ * @type {string}
34
+ * @memberof NetworkComminglingTransactionEvent
35
+ */
36
+ NetCoTransactionID?: string;
37
+ /**
38
+ * The reason for the network item swap.
39
+ * @type {string}
40
+ * @memberof NetworkComminglingTransactionEvent
41
+ */
42
+ SwapReason?: string;
43
+ /**
44
+ * The Amazon Standard Identification Number (ASIN) of the swapped item.
45
+ * @type {string}
46
+ * @memberof NetworkComminglingTransactionEvent
47
+ */
48
+ ASIN?: string;
49
+ /**
50
+ * The marketplace in which the event took place.
51
+ * @type {string}
52
+ * @memberof NetworkComminglingTransactionEvent
53
+ */
54
+ MarketplaceId?: string;
55
+ /**
56
+ *
57
+ * @type {Currency}
58
+ * @memberof NetworkComminglingTransactionEvent
59
+ */
60
+ TaxExclusiveAmount?: Currency;
61
+ /**
62
+ *
63
+ * @type {Currency}
64
+ * @memberof NetworkComminglingTransactionEvent
65
+ */
66
+ TaxAmount?: Currency;
67
+ }
@@ -0,0 +1,80 @@
1
+ /**
2
+ * Selling Partner API for Finances
3
+ * The Selling Partner API for Finances helps you obtain financial information relevant to a seller\'s business. You can obtain financial events for a given order, financial event group, or date range without having to wait until a statement period closes. You can also obtain financial event groups for a given date range.
4
+ *
5
+ * The version of the OpenAPI document: v0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { ChargeComponent } from './charge-component';
13
+ import { FeeComponent } from './fee-component';
14
+ /**
15
+ * An event related to the seller\'s Pay with Amazon account.
16
+ * @export
17
+ * @interface PayWithAmazonEvent
18
+ */
19
+ export interface PayWithAmazonEvent {
20
+ /**
21
+ * An order identifier that is specified by the seller.
22
+ * @type {string}
23
+ * @memberof PayWithAmazonEvent
24
+ */
25
+ SellerOrderId?: string;
26
+ /**
27
+ *
28
+ * @type {string}
29
+ * @memberof PayWithAmazonEvent
30
+ */
31
+ TransactionPostedDate?: string;
32
+ /**
33
+ * The type of business object.
34
+ * @type {string}
35
+ * @memberof PayWithAmazonEvent
36
+ */
37
+ BusinessObjectType?: string;
38
+ /**
39
+ * The sales channel for the transaction.
40
+ * @type {string}
41
+ * @memberof PayWithAmazonEvent
42
+ */
43
+ SalesChannel?: string;
44
+ /**
45
+ *
46
+ * @type {ChargeComponent}
47
+ * @memberof PayWithAmazonEvent
48
+ */
49
+ Charge?: ChargeComponent;
50
+ /**
51
+ * A list of fee component information.
52
+ * @type {Array<FeeComponent>}
53
+ * @memberof PayWithAmazonEvent
54
+ */
55
+ FeeList?: Array<FeeComponent>;
56
+ /**
57
+ * The type of payment. Possible values: * Sales
58
+ * @type {string}
59
+ * @memberof PayWithAmazonEvent
60
+ */
61
+ PaymentAmountType?: string;
62
+ /**
63
+ * A short description of this payment event.
64
+ * @type {string}
65
+ * @memberof PayWithAmazonEvent
66
+ */
67
+ AmountDescription?: string;
68
+ /**
69
+ * The fulfillment channel. Possible values: * AFN - Amazon Fulfillment Network (Fulfillment by Amazon) * MFN - Merchant Fulfillment Network (self-fulfilled)
70
+ * @type {string}
71
+ * @memberof PayWithAmazonEvent
72
+ */
73
+ FulfillmentChannel?: string;
74
+ /**
75
+ * The store name where the event occurred.
76
+ * @type {string}
77
+ * @memberof PayWithAmazonEvent
78
+ */
79
+ StoreName?: string;
80
+ }
@@ -0,0 +1,55 @@
1
+ /**
2
+ * Selling Partner API for Finances
3
+ * The Selling Partner API for Finances helps you obtain financial information relevant to a seller\'s business. You can obtain financial events for a given order, financial event group, or date range without having to wait until a statement period closes. You can also obtain financial event groups for a given date range.
4
+ *
5
+ * The version of the OpenAPI document: v0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { Currency } from './currency';
13
+ /**
14
+ * A Sponsored Products payment event.
15
+ * @export
16
+ * @interface ProductAdsPaymentEvent
17
+ */
18
+ export interface ProductAdsPaymentEvent {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof ProductAdsPaymentEvent
23
+ */
24
+ postedDate?: string;
25
+ /**
26
+ * Indicates if the transaction is for a charge or a refund. Possible values: * charge - Charge * refund - Refund
27
+ * @type {string}
28
+ * @memberof ProductAdsPaymentEvent
29
+ */
30
+ transactionType?: string;
31
+ /**
32
+ * Identifier for the invoice that the transaction appears in.
33
+ * @type {string}
34
+ * @memberof ProductAdsPaymentEvent
35
+ */
36
+ invoiceId?: string;
37
+ /**
38
+ *
39
+ * @type {Currency}
40
+ * @memberof ProductAdsPaymentEvent
41
+ */
42
+ baseValue?: Currency;
43
+ /**
44
+ *
45
+ * @type {Currency}
46
+ * @memberof ProductAdsPaymentEvent
47
+ */
48
+ taxValue?: Currency;
49
+ /**
50
+ *
51
+ * @type {Currency}
52
+ * @memberof ProductAdsPaymentEvent
53
+ */
54
+ transactionValue?: Currency;
55
+ }