@sp-api-sdk/finances-api-v0 1.10.6 → 1.11.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 (29) hide show
  1. package/dist/cjs/src/api-model/api/default-api.js +34 -18
  2. package/dist/cjs/src/api-model/models/adhoc-disbursement-event.js +15 -0
  3. package/dist/cjs/src/api-model/models/capacity-reservation-billing-event.js +15 -0
  4. package/dist/cjs/src/api-model/models/charge-refund-event.js +15 -0
  5. package/dist/cjs/src/api-model/models/charge-refund-transaction.js +15 -0
  6. package/dist/cjs/src/api-model/models/failed-adhoc-disbursement-event-list.js +15 -0
  7. package/dist/cjs/src/api-model/models/index.js +7 -0
  8. package/dist/cjs/src/api-model/models/tdsreimbursement-event.js +15 -0
  9. package/dist/cjs/src/api-model/models/value-added-service-charge-event-list.js +15 -0
  10. package/dist/es/src/api-model/api/default-api.js +34 -18
  11. package/dist/es/src/api-model/models/adhoc-disbursement-event.js +14 -0
  12. package/dist/es/src/api-model/models/capacity-reservation-billing-event.js +14 -0
  13. package/dist/es/src/api-model/models/charge-refund-event.js +14 -0
  14. package/dist/es/src/api-model/models/charge-refund-transaction.js +14 -0
  15. package/dist/es/src/api-model/models/failed-adhoc-disbursement-event-list.js +14 -0
  16. package/dist/es/src/api-model/models/index.js +7 -0
  17. package/dist/es/src/api-model/models/tdsreimbursement-event.js +14 -0
  18. package/dist/es/src/api-model/models/value-added-service-charge-event-list.js +14 -0
  19. package/dist/types/src/api-model/api/default-api.d.ts +37 -19
  20. package/dist/types/src/api-model/models/adhoc-disbursement-event.d.ts +43 -0
  21. package/dist/types/src/api-model/models/capacity-reservation-billing-event.d.ts +43 -0
  22. package/dist/types/src/api-model/models/charge-refund-event.d.ts +43 -0
  23. package/dist/types/src/api-model/models/charge-refund-transaction.d.ts +31 -0
  24. package/dist/types/src/api-model/models/failed-adhoc-disbursement-event-list.d.ts +61 -0
  25. package/dist/types/src/api-model/models/financial-events.d.ts +52 -10
  26. package/dist/types/src/api-model/models/index.d.ts +7 -0
  27. package/dist/types/src/api-model/models/tdsreimbursement-event.d.ts +37 -0
  28. package/dist/types/src/api-model/models/value-added-service-charge-event-list.d.ts +43 -0
  29. package/package.json +3 -3
@@ -0,0 +1,14 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Selling Partner API for Finances
5
+ * The Selling Partner API for Finances helps you obtain financial information relevant to a seller\'s business. You can obtain financial events for a given order, financial event group, or date range without having to wait until a statement period closes. You can also obtain financial event groups for a given date range.
6
+ *
7
+ * The version of the OpenAPI document: v0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ export {};
@@ -21,7 +21,7 @@ import { ListFinancialEventsResponse } from '../models';
21
21
  export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration) => {
22
22
  /**
23
23
  * Returns financial event groups for a given date range. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
24
- * @param {number} [maxResultsPerPage] The maximum number of results to return per page.
24
+ * @param {number} [maxResultsPerPage] The maximum number of results to return per page. If the response exceeds the maximum number of transactions or 10 MB, the API responds with \'InvalidInput\'.
25
25
  * @param {string} [financialEventGroupStartedBefore] A date used for selecting financial event groups that opened before (but not at) a specified date and time, in ISO 8601 format. The date-time must be later than FinancialEventGroupStartedAfter and no later than two minutes before the request was submitted. If FinancialEventGroupStartedAfter and FinancialEventGroupStartedBefore are more than 180 days apart, no financial event groups are returned.
26
26
  * @param {string} [financialEventGroupStartedAfter] A date used for selecting financial event groups that opened after (or at) a specified date and time, in ISO 8601 format. The date-time must be no later than two minutes before the request was submitted.
27
27
  * @param {string} [nextToken] A string token returned in the response of your previous request.
@@ -31,7 +31,7 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
31
31
  listFinancialEventGroups: (maxResultsPerPage?: number, financialEventGroupStartedBefore?: string, financialEventGroupStartedAfter?: string, nextToken?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
32
32
  /**
33
33
  * Returns financial events for the specified data range. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
34
- * @param {number} [maxResultsPerPage] The maximum number of results to return per page.
34
+ * @param {number} [maxResultsPerPage] The maximum number of results to return per page. If the response exceeds the maximum number of transactions or 10 MB, the API responds with \&#39;InvalidInput\&#39;.
35
35
  * @param {string} [postedAfter] A date used for selecting financial events posted after (or at) a specified time. The date-time must be no later than two minutes before the request was submitted, in ISO 8601 date time format.
36
36
  * @param {string} [postedBefore] A date used for selecting financial events posted before (but not at) a specified time. The date-time must be later than PostedAfter and no later than two minutes before the request was submitted, in ISO 8601 date time format. If PostedAfter and PostedBefore are more than 180 days apart, no financial events are returned. You must specify the PostedAfter parameter if you specify the PostedBefore parameter. Default: Now minus two minutes.
37
37
  * @param {string} [nextToken] A string token returned in the response of your previous request.
@@ -42,16 +42,18 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
42
42
  /**
43
43
  * Returns all financial events for the specified financial event group. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
44
44
  * @param {string} eventGroupId The identifier of the financial event group to which the events belong.
45
- * @param {number} [maxResultsPerPage] The maximum number of results to return per page.
45
+ * @param {number} [maxResultsPerPage] The maximum number of results to return per page. If the response exceeds the maximum number of transactions or 10 MB, the API responds with \&#39;InvalidInput\&#39;.
46
+ * @param {string} [postedAfter] A date used for selecting financial events posted after (or at) a specified time. The date-time **must** be more than two minutes before the time of the request, in ISO 8601 date time format.
47
+ * @param {string} [postedBefore] A date used for selecting financial events posted before (but not at) a specified time. The date-time must be later than &#x60;PostedAfter&#x60; and no later than two minutes before the request was submitted, in ISO 8601 date time format. If &#x60;PostedAfter&#x60; and &#x60;PostedBefore&#x60; are more than 180 days apart, no financial events are returned. You must specify the &#x60;PostedAfter&#x60; parameter if you specify the &#x60;PostedBefore&#x60; parameter. Default: Now minus two minutes.
46
48
  * @param {string} [nextToken] A string token returned in the response of your previous request.
47
49
  * @param {*} [options] Override http request option.
48
50
  * @throws {RequiredError}
49
51
  */
50
- listFinancialEventsByGroupId: (eventGroupId: string, maxResultsPerPage?: number, nextToken?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
52
+ listFinancialEventsByGroupId: (eventGroupId: string, maxResultsPerPage?: number, postedAfter?: string, postedBefore?: string, nextToken?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
51
53
  /**
52
54
  * Returns all financial events for the specified order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
53
55
  * @param {string} orderId An Amazon-defined order identifier, in 3-7-7 format.
54
- * @param {number} [maxResultsPerPage] The maximum number of results to return per page.
56
+ * @param {number} [maxResultsPerPage] The maximum number of results to return per page. If the response exceeds the maximum number of transactions or 10 MB, the API responds with \&#39;InvalidInput\&#39;.
55
57
  * @param {string} [nextToken] A string token returned in the response of your previous request.
56
58
  * @param {*} [options] Override http request option.
57
59
  * @throws {RequiredError}
@@ -65,7 +67,7 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
65
67
  export declare const DefaultApiFp: (configuration?: Configuration) => {
66
68
  /**
67
69
  * Returns financial event groups for a given date range. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
68
- * @param {number} [maxResultsPerPage] The maximum number of results to return per page.
70
+ * @param {number} [maxResultsPerPage] The maximum number of results to return per page. If the response exceeds the maximum number of transactions or 10 MB, the API responds with \&#39;InvalidInput\&#39;.
69
71
  * @param {string} [financialEventGroupStartedBefore] A date used for selecting financial event groups that opened before (but not at) a specified date and time, in ISO 8601 format. The date-time must be later than FinancialEventGroupStartedAfter and no later than two minutes before the request was submitted. If FinancialEventGroupStartedAfter and FinancialEventGroupStartedBefore are more than 180 days apart, no financial event groups are returned.
70
72
  * @param {string} [financialEventGroupStartedAfter] A date used for selecting financial event groups that opened after (or at) a specified date and time, in ISO 8601 format. The date-time must be no later than two minutes before the request was submitted.
71
73
  * @param {string} [nextToken] A string token returned in the response of your previous request.
@@ -75,7 +77,7 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
75
77
  listFinancialEventGroups(maxResultsPerPage?: number, financialEventGroupStartedBefore?: string, financialEventGroupStartedAfter?: string, nextToken?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListFinancialEventGroupsResponse>>;
76
78
  /**
77
79
  * Returns financial events for the specified data range. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
78
- * @param {number} [maxResultsPerPage] The maximum number of results to return per page.
80
+ * @param {number} [maxResultsPerPage] The maximum number of results to return per page. If the response exceeds the maximum number of transactions or 10 MB, the API responds with \&#39;InvalidInput\&#39;.
79
81
  * @param {string} [postedAfter] A date used for selecting financial events posted after (or at) a specified time. The date-time must be no later than two minutes before the request was submitted, in ISO 8601 date time format.
80
82
  * @param {string} [postedBefore] A date used for selecting financial events posted before (but not at) a specified time. The date-time must be later than PostedAfter and no later than two minutes before the request was submitted, in ISO 8601 date time format. If PostedAfter and PostedBefore are more than 180 days apart, no financial events are returned. You must specify the PostedAfter parameter if you specify the PostedBefore parameter. Default: Now minus two minutes.
81
83
  * @param {string} [nextToken] A string token returned in the response of your previous request.
@@ -86,16 +88,18 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
86
88
  /**
87
89
  * Returns all financial events for the specified financial event group. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
88
90
  * @param {string} eventGroupId The identifier of the financial event group to which the events belong.
89
- * @param {number} [maxResultsPerPage] The maximum number of results to return per page.
91
+ * @param {number} [maxResultsPerPage] The maximum number of results to return per page. If the response exceeds the maximum number of transactions or 10 MB, the API responds with \&#39;InvalidInput\&#39;.
92
+ * @param {string} [postedAfter] A date used for selecting financial events posted after (or at) a specified time. The date-time **must** be more than two minutes before the time of the request, in ISO 8601 date time format.
93
+ * @param {string} [postedBefore] A date used for selecting financial events posted before (but not at) a specified time. The date-time must be later than &#x60;PostedAfter&#x60; and no later than two minutes before the request was submitted, in ISO 8601 date time format. If &#x60;PostedAfter&#x60; and &#x60;PostedBefore&#x60; are more than 180 days apart, no financial events are returned. You must specify the &#x60;PostedAfter&#x60; parameter if you specify the &#x60;PostedBefore&#x60; parameter. Default: Now minus two minutes.
90
94
  * @param {string} [nextToken] A string token returned in the response of your previous request.
91
95
  * @param {*} [options] Override http request option.
92
96
  * @throws {RequiredError}
93
97
  */
94
- listFinancialEventsByGroupId(eventGroupId: string, maxResultsPerPage?: number, nextToken?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListFinancialEventsResponse>>;
98
+ listFinancialEventsByGroupId(eventGroupId: string, maxResultsPerPage?: number, postedAfter?: string, postedBefore?: string, nextToken?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListFinancialEventsResponse>>;
95
99
  /**
96
100
  * Returns all financial events for the specified order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
97
101
  * @param {string} orderId An Amazon-defined order identifier, in 3-7-7 format.
98
- * @param {number} [maxResultsPerPage] The maximum number of results to return per page.
102
+ * @param {number} [maxResultsPerPage] The maximum number of results to return per page. If the response exceeds the maximum number of transactions or 10 MB, the API responds with \&#39;InvalidInput\&#39;.
99
103
  * @param {string} [nextToken] A string token returned in the response of your previous request.
100
104
  * @param {*} [options] Override http request option.
101
105
  * @throws {RequiredError}
@@ -109,7 +113,7 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
109
113
  export declare const DefaultApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
110
114
  /**
111
115
  * Returns financial event groups for a given date range. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
112
- * @param {number} [maxResultsPerPage] The maximum number of results to return per page.
116
+ * @param {number} [maxResultsPerPage] The maximum number of results to return per page. If the response exceeds the maximum number of transactions or 10 MB, the API responds with \&#39;InvalidInput\&#39;.
113
117
  * @param {string} [financialEventGroupStartedBefore] A date used for selecting financial event groups that opened before (but not at) a specified date and time, in ISO 8601 format. The date-time must be later than FinancialEventGroupStartedAfter and no later than two minutes before the request was submitted. If FinancialEventGroupStartedAfter and FinancialEventGroupStartedBefore are more than 180 days apart, no financial event groups are returned.
114
118
  * @param {string} [financialEventGroupStartedAfter] A date used for selecting financial event groups that opened after (or at) a specified date and time, in ISO 8601 format. The date-time must be no later than two minutes before the request was submitted.
115
119
  * @param {string} [nextToken] A string token returned in the response of your previous request.
@@ -119,7 +123,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
119
123
  listFinancialEventGroups(maxResultsPerPage?: number, financialEventGroupStartedBefore?: string, financialEventGroupStartedAfter?: string, nextToken?: string, options?: any): AxiosPromise<ListFinancialEventGroupsResponse>;
120
124
  /**
121
125
  * Returns financial events for the specified data range. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
122
- * @param {number} [maxResultsPerPage] The maximum number of results to return per page.
126
+ * @param {number} [maxResultsPerPage] The maximum number of results to return per page. If the response exceeds the maximum number of transactions or 10 MB, the API responds with \&#39;InvalidInput\&#39;.
123
127
  * @param {string} [postedAfter] A date used for selecting financial events posted after (or at) a specified time. The date-time must be no later than two minutes before the request was submitted, in ISO 8601 date time format.
124
128
  * @param {string} [postedBefore] A date used for selecting financial events posted before (but not at) a specified time. The date-time must be later than PostedAfter and no later than two minutes before the request was submitted, in ISO 8601 date time format. If PostedAfter and PostedBefore are more than 180 days apart, no financial events are returned. You must specify the PostedAfter parameter if you specify the PostedBefore parameter. Default: Now minus two minutes.
125
129
  * @param {string} [nextToken] A string token returned in the response of your previous request.
@@ -130,16 +134,18 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
130
134
  /**
131
135
  * Returns all financial events for the specified financial event group. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
132
136
  * @param {string} eventGroupId The identifier of the financial event group to which the events belong.
133
- * @param {number} [maxResultsPerPage] The maximum number of results to return per page.
137
+ * @param {number} [maxResultsPerPage] The maximum number of results to return per page. If the response exceeds the maximum number of transactions or 10 MB, the API responds with \&#39;InvalidInput\&#39;.
138
+ * @param {string} [postedAfter] A date used for selecting financial events posted after (or at) a specified time. The date-time **must** be more than two minutes before the time of the request, in ISO 8601 date time format.
139
+ * @param {string} [postedBefore] A date used for selecting financial events posted before (but not at) a specified time. The date-time must be later than &#x60;PostedAfter&#x60; and no later than two minutes before the request was submitted, in ISO 8601 date time format. If &#x60;PostedAfter&#x60; and &#x60;PostedBefore&#x60; are more than 180 days apart, no financial events are returned. You must specify the &#x60;PostedAfter&#x60; parameter if you specify the &#x60;PostedBefore&#x60; parameter. Default: Now minus two minutes.
134
140
  * @param {string} [nextToken] A string token returned in the response of your previous request.
135
141
  * @param {*} [options] Override http request option.
136
142
  * @throws {RequiredError}
137
143
  */
138
- listFinancialEventsByGroupId(eventGroupId: string, maxResultsPerPage?: number, nextToken?: string, options?: any): AxiosPromise<ListFinancialEventsResponse>;
144
+ listFinancialEventsByGroupId(eventGroupId: string, maxResultsPerPage?: number, postedAfter?: string, postedBefore?: string, nextToken?: string, options?: any): AxiosPromise<ListFinancialEventsResponse>;
139
145
  /**
140
146
  * Returns all financial events for the specified order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
141
147
  * @param {string} orderId An Amazon-defined order identifier, in 3-7-7 format.
142
- * @param {number} [maxResultsPerPage] The maximum number of results to return per page.
148
+ * @param {number} [maxResultsPerPage] The maximum number of results to return per page. If the response exceeds the maximum number of transactions or 10 MB, the API responds with \&#39;InvalidInput\&#39;.
143
149
  * @param {string} [nextToken] A string token returned in the response of your previous request.
144
150
  * @param {*} [options] Override http request option.
145
151
  * @throws {RequiredError}
@@ -153,7 +159,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
153
159
  */
154
160
  export interface DefaultApiListFinancialEventGroupsRequest {
155
161
  /**
156
- * The maximum number of results to return per page.
162
+ * The maximum number of results to return per page. If the response exceeds the maximum number of transactions or 10 MB, the API responds with \&#39;InvalidInput\&#39;.
157
163
  * @type {number}
158
164
  * @memberof DefaultApiListFinancialEventGroups
159
165
  */
@@ -184,7 +190,7 @@ export interface DefaultApiListFinancialEventGroupsRequest {
184
190
  */
185
191
  export interface DefaultApiListFinancialEventsRequest {
186
192
  /**
187
- * The maximum number of results to return per page.
193
+ * The maximum number of results to return per page. If the response exceeds the maximum number of transactions or 10 MB, the API responds with \&#39;InvalidInput\&#39;.
188
194
  * @type {number}
189
195
  * @memberof DefaultApiListFinancialEvents
190
196
  */
@@ -221,11 +227,23 @@ export interface DefaultApiListFinancialEventsByGroupIdRequest {
221
227
  */
222
228
  readonly eventGroupId: string;
223
229
  /**
224
- * The maximum number of results to return per page.
230
+ * The maximum number of results to return per page. If the response exceeds the maximum number of transactions or 10 MB, the API responds with \&#39;InvalidInput\&#39;.
225
231
  * @type {number}
226
232
  * @memberof DefaultApiListFinancialEventsByGroupId
227
233
  */
228
234
  readonly maxResultsPerPage?: number;
235
+ /**
236
+ * A date used for selecting financial events posted after (or at) a specified time. The date-time **must** be more than two minutes before the time of the request, in ISO 8601 date time format.
237
+ * @type {string}
238
+ * @memberof DefaultApiListFinancialEventsByGroupId
239
+ */
240
+ readonly postedAfter?: string;
241
+ /**
242
+ * A date used for selecting financial events posted before (but not at) a specified time. The date-time must be later than &#x60;PostedAfter&#x60; and no later than two minutes before the request was submitted, in ISO 8601 date time format. If &#x60;PostedAfter&#x60; and &#x60;PostedBefore&#x60; are more than 180 days apart, no financial events are returned. You must specify the &#x60;PostedAfter&#x60; parameter if you specify the &#x60;PostedBefore&#x60; parameter. Default: Now minus two minutes.
243
+ * @type {string}
244
+ * @memberof DefaultApiListFinancialEventsByGroupId
245
+ */
246
+ readonly postedBefore?: string;
229
247
  /**
230
248
  * A string token returned in the response of your previous request.
231
249
  * @type {string}
@@ -246,7 +264,7 @@ export interface DefaultApiListFinancialEventsByOrderIdRequest {
246
264
  */
247
265
  readonly orderId: string;
248
266
  /**
249
- * The maximum number of results to return per page.
267
+ * The maximum number of results to return per page. If the response exceeds the maximum number of transactions or 10 MB, the API responds with \&#39;InvalidInput\&#39;.
250
268
  * @type {number}
251
269
  * @memberof DefaultApiListFinancialEventsByOrderId
252
270
  */
@@ -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 { Currency } from './currency';
13
+ /**
14
+ * An event related to an Adhoc Disbursement.
15
+ * @export
16
+ * @interface AdhocDisbursementEvent
17
+ */
18
+ export interface AdhocDisbursementEvent {
19
+ /**
20
+ * Indicates the type of transaction. Example: \"Disbursed to Amazon Gift Card balance\"
21
+ * @type {string}
22
+ * @memberof AdhocDisbursementEvent
23
+ */
24
+ 'TransactionType'?: string;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof AdhocDisbursementEvent
29
+ */
30
+ 'PostedDate'?: string;
31
+ /**
32
+ * The identifier for the transaction.
33
+ * @type {string}
34
+ * @memberof AdhocDisbursementEvent
35
+ */
36
+ 'TransactionId'?: string;
37
+ /**
38
+ *
39
+ * @type {Currency}
40
+ * @memberof AdhocDisbursementEvent
41
+ */
42
+ 'TransactionAmount'?: Currency;
43
+ }
@@ -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 { Currency } from './currency';
13
+ /**
14
+ * An event related to a capacity reservation billing charge.
15
+ * @export
16
+ * @interface CapacityReservationBillingEvent
17
+ */
18
+ export interface CapacityReservationBillingEvent {
19
+ /**
20
+ * Indicates the type of transaction. Example: \"FBA Inventory Fee\"
21
+ * @type {string}
22
+ * @memberof CapacityReservationBillingEvent
23
+ */
24
+ 'TransactionType'?: string;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof CapacityReservationBillingEvent
29
+ */
30
+ 'PostedDate'?: string;
31
+ /**
32
+ * A short description of the capacity reservation billing event.
33
+ * @type {string}
34
+ * @memberof CapacityReservationBillingEvent
35
+ */
36
+ 'Description'?: string;
37
+ /**
38
+ *
39
+ * @type {Currency}
40
+ * @memberof CapacityReservationBillingEvent
41
+ */
42
+ 'TransactionAmount'?: Currency;
43
+ }
@@ -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 { ChargeRefundTransaction } from './charge-refund-transaction';
13
+ /**
14
+ * An event related to charge refund.
15
+ * @export
16
+ * @interface ChargeRefundEvent
17
+ */
18
+ export interface ChargeRefundEvent {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof ChargeRefundEvent
23
+ */
24
+ 'PostedDate'?: string;
25
+ /**
26
+ * The reason given for a charge refund. Example: `SubscriptionFeeCorrection`
27
+ * @type {string}
28
+ * @memberof ChargeRefundEvent
29
+ */
30
+ 'ReasonCode'?: string;
31
+ /**
32
+ * A description of the Reason Code. Example: `SubscriptionFeeCorrection`
33
+ * @type {string}
34
+ * @memberof ChargeRefundEvent
35
+ */
36
+ 'ReasonCodeDescription'?: string;
37
+ /**
38
+ *
39
+ * @type {ChargeRefundTransaction}
40
+ * @memberof ChargeRefundEvent
41
+ */
42
+ 'ChargeRefundTransactions'?: ChargeRefundTransaction;
43
+ }
@@ -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
+ * The charge refund transaction.
15
+ * @export
16
+ * @interface ChargeRefundTransaction
17
+ */
18
+ export interface ChargeRefundTransaction {
19
+ /**
20
+ *
21
+ * @type {Currency}
22
+ * @memberof ChargeRefundTransaction
23
+ */
24
+ 'ChargeAmount'?: Currency;
25
+ /**
26
+ * The type of charge.
27
+ * @type {string}
28
+ * @memberof ChargeRefundTransaction
29
+ */
30
+ 'ChargeType'?: string;
31
+ }
@@ -0,0 +1,61 @@
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
+ * Failed ad hoc disbursement event list.
15
+ * @export
16
+ * @interface FailedAdhocDisbursementEventList
17
+ */
18
+ export interface FailedAdhocDisbursementEventList {
19
+ /**
20
+ * The type of fund transfer. Example \"Refund\"
21
+ * @type {string}
22
+ * @memberof FailedAdhocDisbursementEventList
23
+ */
24
+ 'FundsTransfersType'?: string;
25
+ /**
26
+ * The transfer identifier.
27
+ * @type {string}
28
+ * @memberof FailedAdhocDisbursementEventList
29
+ */
30
+ 'TransferId'?: string;
31
+ /**
32
+ * The disbursement identifier.
33
+ * @type {string}
34
+ * @memberof FailedAdhocDisbursementEventList
35
+ */
36
+ 'DisbursementId'?: string;
37
+ /**
38
+ * The type of payment for disbursement. Example `CREDIT_CARD`
39
+ * @type {string}
40
+ * @memberof FailedAdhocDisbursementEventList
41
+ */
42
+ 'PaymentDisbursementType'?: string;
43
+ /**
44
+ * The status of the failed `AdhocDisbursement`. Example `HARD_DECLINED`
45
+ * @type {string}
46
+ * @memberof FailedAdhocDisbursementEventList
47
+ */
48
+ 'Status'?: string;
49
+ /**
50
+ *
51
+ * @type {Currency}
52
+ * @memberof FailedAdhocDisbursementEventList
53
+ */
54
+ 'TransferAmount'?: Currency;
55
+ /**
56
+ *
57
+ * @type {string}
58
+ * @memberof FailedAdhocDisbursementEventList
59
+ */
60
+ 'PostedDate'?: string;
61
+ }
@@ -9,11 +9,15 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { AdhocDisbursementEvent } from './adhoc-disbursement-event';
12
13
  import { AdjustmentEvent } from './adjustment-event';
13
14
  import { AffordabilityExpenseEvent } from './affordability-expense-event';
15
+ import { CapacityReservationBillingEvent } from './capacity-reservation-billing-event';
16
+ import { ChargeRefundEvent } from './charge-refund-event';
14
17
  import { CouponPaymentEvent } from './coupon-payment-event';
15
18
  import { DebtRecoveryEvent } from './debt-recovery-event';
16
19
  import { FBALiquidationEvent } from './fbaliquidation-event';
20
+ import { FailedAdhocDisbursementEventList } from './failed-adhoc-disbursement-event-list';
17
21
  import { ImagingServicesFeeEvent } from './imaging-services-fee-event';
18
22
  import { LoanServicingEvent } from './loan-servicing-event';
19
23
  import { NetworkComminglingTransactionEvent } from './network-commingling-transaction-event';
@@ -29,8 +33,10 @@ import { SellerReviewEnrollmentPaymentEvent } from './seller-review-enrollment-p
29
33
  import { ServiceFeeEvent } from './service-fee-event';
30
34
  import { ShipmentEvent } from './shipment-event';
31
35
  import { SolutionProviderCreditEvent } from './solution-provider-credit-event';
36
+ import { TDSReimbursementEvent } from './tdsreimbursement-event';
32
37
  import { TaxWithholdingEvent } from './tax-withholding-event';
33
38
  import { TrialShipmentEvent } from './trial-shipment-event';
39
+ import { ValueAddedServiceChargeEventList } from './value-added-service-charge-event-list';
34
40
  /**
35
41
  * Contains all information related to a financial event.
36
42
  * @export
@@ -43,6 +49,12 @@ export interface FinancialEvents {
43
49
  * @memberof FinancialEvents
44
50
  */
45
51
  'ShipmentEventList'?: Array<ShipmentEvent>;
52
+ /**
53
+ * A list of `ShipmentEvent` items.
54
+ * @type {Array<ShipmentEvent>}
55
+ * @memberof FinancialEvents
56
+ */
57
+ 'ShipmentSettleEventList'?: Array<ShipmentEvent>;
46
58
  /**
47
59
  * A list of shipment event information.
48
60
  * @type {Array<ShipmentEvent>}
@@ -169,6 +181,18 @@ export interface FinancialEvents {
169
181
  * @memberof FinancialEvents
170
182
  */
171
183
  'AffordabilityExpenseReversalEventList'?: Array<AffordabilityExpenseEvent>;
184
+ /**
185
+ * A list of removal shipment event information.
186
+ * @type {Array<RemovalShipmentEvent>}
187
+ * @memberof FinancialEvents
188
+ */
189
+ 'RemovalShipmentEventList'?: Array<RemovalShipmentEvent>;
190
+ /**
191
+ * A comma-delimited list of Removal shipmentAdjustment details for FBA inventory.
192
+ * @type {Array<RemovalShipmentAdjustmentEvent>}
193
+ * @memberof FinancialEvents
194
+ */
195
+ 'RemovalShipmentAdjustmentEventList'?: Array<RemovalShipmentAdjustmentEvent>;
172
196
  /**
173
197
  * A list of information about trial shipment financial events.
174
198
  * @type {Array<TrialShipmentEvent>}
@@ -176,27 +200,45 @@ export interface FinancialEvents {
176
200
  */
177
201
  'TrialShipmentEventList'?: Array<TrialShipmentEvent>;
178
202
  /**
179
- * A list of information about shipment settle financial events.
180
- * @type {Array<ShipmentEvent>}
203
+ * A list of `TDSReimbursementEvent` items.
204
+ * @type {Array<TDSReimbursementEvent>}
181
205
  * @memberof FinancialEvents
182
206
  */
183
- 'ShipmentSettleEventList'?: Array<ShipmentEvent>;
207
+ 'TDSReimbursementEventList'?: Array<TDSReimbursementEvent>;
208
+ /**
209
+ * A list of `AdhocDisbursement` events.
210
+ * @type {Array<AdhocDisbursementEvent>}
211
+ * @memberof FinancialEvents
212
+ */
213
+ 'AdhocDisbursementEventList'?: Array<AdhocDisbursementEvent>;
184
214
  /**
185
- * List of TaxWithholding events.
215
+ * A list of `TaxWithholding` events.
186
216
  * @type {Array<TaxWithholdingEvent>}
187
217
  * @memberof FinancialEvents
188
218
  */
189
219
  'TaxWithholdingEventList'?: Array<TaxWithholdingEvent>;
190
220
  /**
191
- * A list of removal shipment event information.
192
- * @type {Array<RemovalShipmentEvent>}
221
+ * A list of charge refund events.
222
+ * @type {Array<ChargeRefundEvent>}
193
223
  * @memberof FinancialEvents
194
224
  */
195
- 'RemovalShipmentEventList'?: Array<RemovalShipmentEvent>;
225
+ 'ChargeRefundEventList'?: Array<ChargeRefundEvent>;
196
226
  /**
197
- * A comma-delimited list of Removal shipmentAdjustment details for FBA inventory.
198
- * @type {Array<RemovalShipmentAdjustmentEvent>}
227
+ *
228
+ * @type {FailedAdhocDisbursementEventList}
199
229
  * @memberof FinancialEvents
200
230
  */
201
- 'RemovalShipmentAdjustmentEventList'?: Array<RemovalShipmentAdjustmentEvent>;
231
+ 'FailedAdhocDisbursementEventList'?: FailedAdhocDisbursementEventList;
232
+ /**
233
+ *
234
+ * @type {ValueAddedServiceChargeEventList}
235
+ * @memberof FinancialEvents
236
+ */
237
+ 'ValueAddedServiceChargeEventList'?: ValueAddedServiceChargeEventList;
238
+ /**
239
+ * A list of `CapacityReservationBillingEvent` events.
240
+ * @type {Array<CapacityReservationBillingEvent>}
241
+ * @memberof FinancialEvents
242
+ */
243
+ 'CapacityReservationBillingEventList'?: Array<CapacityReservationBillingEvent>;
202
244
  }
@@ -1,14 +1,19 @@
1
+ export * from './adhoc-disbursement-event';
1
2
  export * from './adjustment-event';
2
3
  export * from './adjustment-item';
3
4
  export * from './affordability-expense-event';
5
+ export * from './capacity-reservation-billing-event';
4
6
  export * from './charge-component';
5
7
  export * from './charge-instrument';
8
+ export * from './charge-refund-event';
9
+ export * from './charge-refund-transaction';
6
10
  export * from './coupon-payment-event';
7
11
  export * from './currency';
8
12
  export * from './debt-recovery-event';
9
13
  export * from './debt-recovery-item';
10
14
  export * from './direct-payment';
11
15
  export * from './fbaliquidation-event';
16
+ export * from './failed-adhoc-disbursement-event-list';
12
17
  export * from './fee-component';
13
18
  export * from './financial-event-group';
14
19
  export * from './financial-events';
@@ -37,7 +42,9 @@ export * from './service-fee-event';
37
42
  export * from './shipment-event';
38
43
  export * from './shipment-item';
39
44
  export * from './solution-provider-credit-event';
45
+ export * from './tdsreimbursement-event';
40
46
  export * from './tax-withheld-component';
41
47
  export * from './tax-withholding-event';
42
48
  export * from './tax-withholding-period';
43
49
  export * from './trial-shipment-event';
50
+ export * from './value-added-service-charge-event-list';
@@ -0,0 +1,37 @@
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
+ * An event related to a Tax-Deducted-at-Source (TDS) reimbursement.
15
+ * @export
16
+ * @interface TDSReimbursementEvent
17
+ */
18
+ export interface TDSReimbursementEvent {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof TDSReimbursementEvent
23
+ */
24
+ 'PostedDate'?: string;
25
+ /**
26
+ * The Tax-Deducted-at-Source (TDS) identifier.
27
+ * @type {string}
28
+ * @memberof TDSReimbursementEvent
29
+ */
30
+ 'TDSOrderId'?: string;
31
+ /**
32
+ *
33
+ * @type {Currency}
34
+ * @memberof TDSReimbursementEvent
35
+ */
36
+ 'ReimbursedAmount'?: Currency;
37
+ }
@@ -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 { Currency } from './currency';
13
+ /**
14
+ * An event related to a value added service charge.
15
+ * @export
16
+ * @interface ValueAddedServiceChargeEventList
17
+ */
18
+ export interface ValueAddedServiceChargeEventList {
19
+ /**
20
+ * Indicates the type of transaction. Example: \'Other Support Service fees\'
21
+ * @type {string}
22
+ * @memberof ValueAddedServiceChargeEventList
23
+ */
24
+ 'TransactionType'?: string;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof ValueAddedServiceChargeEventList
29
+ */
30
+ 'PostedDate'?: string;
31
+ /**
32
+ * A short description of the service charge event.
33
+ * @type {string}
34
+ * @memberof ValueAddedServiceChargeEventList
35
+ */
36
+ 'Description'?: string;
37
+ /**
38
+ *
39
+ * @type {Currency}
40
+ * @memberof ValueAddedServiceChargeEventList
41
+ */
42
+ 'TransactionAmount'?: Currency;
43
+ }