@sp-api-sdk/finances-api-v0 1.9.3 → 1.9.6

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 (49) hide show
  1. package/dist/cjs/src/api-model/api/default-api.js +4 -4
  2. package/dist/es/src/api-model/api/default-api.js +4 -4
  3. package/dist/types/src/api-model/api/default-api.d.ts +20 -20
  4. package/dist/types/src/api-model/base.d.ts +2 -2
  5. package/dist/types/src/api-model/common.d.ts +7 -7
  6. package/dist/types/src/api-model/models/adjustment-event.d.ts +4 -4
  7. package/dist/types/src/api-model/models/adjustment-item.d.ts +7 -7
  8. package/dist/types/src/api-model/models/affordability-expense-event.d.ts +9 -9
  9. package/dist/types/src/api-model/models/charge-component.d.ts +2 -2
  10. package/dist/types/src/api-model/models/charge-instrument.d.ts +3 -3
  11. package/dist/types/src/api-model/models/coupon-payment-event.d.ts +8 -8
  12. package/dist/types/src/api-model/models/currency.d.ts +2 -2
  13. package/dist/types/src/api-model/models/debt-recovery-event.d.ts +5 -5
  14. package/dist/types/src/api-model/models/debt-recovery-item.d.ts +4 -4
  15. package/dist/types/src/api-model/models/direct-payment.d.ts +2 -2
  16. package/dist/types/src/api-model/models/fbaliquidation-event.d.ts +4 -4
  17. package/dist/types/src/api-model/models/fee-component.d.ts +2 -2
  18. package/dist/types/src/api-model/models/financial-event-group.d.ts +11 -11
  19. package/dist/types/src/api-model/models/financial-events.d.ts +27 -27
  20. package/dist/types/src/api-model/models/imaging-services-fee-event.d.ts +4 -4
  21. package/dist/types/src/api-model/models/list-financial-event-groups-payload.d.ts +2 -2
  22. package/dist/types/src/api-model/models/list-financial-event-groups-response.d.ts +2 -2
  23. package/dist/types/src/api-model/models/list-financial-events-payload.d.ts +2 -2
  24. package/dist/types/src/api-model/models/list-financial-events-response.d.ts +2 -2
  25. package/dist/types/src/api-model/models/loan-servicing-event.d.ts +2 -2
  26. package/dist/types/src/api-model/models/model-error.d.ts +3 -3
  27. package/dist/types/src/api-model/models/network-commingling-transaction-event.d.ts +8 -8
  28. package/dist/types/src/api-model/models/pay-with-amazon-event.d.ts +10 -10
  29. package/dist/types/src/api-model/models/product-ads-payment-event.d.ts +6 -6
  30. package/dist/types/src/api-model/models/promotion.d.ts +3 -3
  31. package/dist/types/src/api-model/models/removal-shipment-adjustment-event.d.ts +6 -6
  32. package/dist/types/src/api-model/models/removal-shipment-event.d.ts +5 -5
  33. package/dist/types/src/api-model/models/removal-shipment-item-adjustment.d.ts +7 -7
  34. package/dist/types/src/api-model/models/removal-shipment-item.d.ts +8 -8
  35. package/dist/types/src/api-model/models/rental-transaction-event.d.ts +10 -10
  36. package/dist/types/src/api-model/models/retrocharge-event.d.ts +7 -7
  37. package/dist/types/src/api-model/models/safetreimbursement-event.d.ts +5 -5
  38. package/dist/types/src/api-model/models/safetreimbursement-item.d.ts +3 -3
  39. package/dist/types/src/api-model/models/seller-deal-payment-event.d.ts +8 -8
  40. package/dist/types/src/api-model/models/seller-review-enrollment-payment-event.d.ts +6 -6
  41. package/dist/types/src/api-model/models/service-fee-event.d.ts +7 -7
  42. package/dist/types/src/api-model/models/shipment-event.d.ts +13 -13
  43. package/dist/types/src/api-model/models/shipment-item.d.ts +13 -13
  44. package/dist/types/src/api-model/models/solution-provider-credit-event.d.ts +10 -10
  45. package/dist/types/src/api-model/models/tax-withheld-component.d.ts +2 -2
  46. package/dist/types/src/api-model/models/tax-withholding-event.d.ts +4 -4
  47. package/dist/types/src/api-model/models/tax-withholding-period.d.ts +2 -2
  48. package/dist/types/src/api-model/models/trial-shipment-event.d.ts +5 -5
  49. package/package.json +4 -4
@@ -63,7 +63,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
63
63
  if (nextToken !== undefined) {
64
64
  localVarQueryParameter['NextToken'] = nextToken;
65
65
  }
66
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
66
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
67
67
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
68
68
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
69
69
  return {
@@ -107,7 +107,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
107
107
  if (nextToken !== undefined) {
108
108
  localVarQueryParameter['NextToken'] = nextToken;
109
109
  }
110
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
110
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
111
111
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
112
112
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
113
113
  return {
@@ -143,7 +143,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
143
143
  if (nextToken !== undefined) {
144
144
  localVarQueryParameter['NextToken'] = nextToken;
145
145
  }
146
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
146
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
147
147
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
148
148
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
149
149
  return {
@@ -179,7 +179,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
179
179
  if (nextToken !== undefined) {
180
180
  localVarQueryParameter['NextToken'] = nextToken;
181
181
  }
182
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
182
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
183
183
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
184
184
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
185
185
  return {
@@ -59,7 +59,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
59
59
  if (nextToken !== undefined) {
60
60
  localVarQueryParameter['NextToken'] = nextToken;
61
61
  }
62
- setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
62
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
63
63
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
64
64
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
65
65
  return {
@@ -103,7 +103,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
103
103
  if (nextToken !== undefined) {
104
104
  localVarQueryParameter['NextToken'] = nextToken;
105
105
  }
106
- setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
106
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
107
107
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
108
108
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
109
109
  return {
@@ -139,7 +139,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
139
139
  if (nextToken !== undefined) {
140
140
  localVarQueryParameter['NextToken'] = nextToken;
141
141
  }
142
- setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
142
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
143
143
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
144
144
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
145
145
  return {
@@ -175,7 +175,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
175
175
  if (nextToken !== undefined) {
176
176
  localVarQueryParameter['NextToken'] = nextToken;
177
177
  }
178
- setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
178
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
179
179
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
180
180
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
181
181
  return {
@@ -9,7 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import { AxiosPromise, AxiosInstance } from 'axios';
12
+ import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
13
13
  import { Configuration } from '../configuration';
14
14
  import { RequestArgs, BaseAPI } from '../base';
15
15
  import { ListFinancialEventGroupsResponse } from '../models';
@@ -18,7 +18,7 @@ import { ListFinancialEventsResponse } from '../models';
18
18
  * DefaultApi - axios parameter creator
19
19
  * @export
20
20
  */
21
- export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration | undefined) => {
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
24
  * @param {number} [maxResultsPerPage] The maximum number of results to return per page.
@@ -28,7 +28,7 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
28
28
  * @param {*} [options] Override http request option.
29
29
  * @throws {RequiredError}
30
30
  */
31
- listFinancialEventGroups: (maxResultsPerPage?: number | undefined, financialEventGroupStartedBefore?: string | undefined, financialEventGroupStartedAfter?: string | undefined, nextToken?: string | undefined, options?: any) => Promise<RequestArgs>;
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
34
  * @param {number} [maxResultsPerPage] The maximum number of results to return per page.
@@ -38,7 +38,7 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
38
38
  * @param {*} [options] Override http request option.
39
39
  * @throws {RequiredError}
40
40
  */
41
- listFinancialEvents: (maxResultsPerPage?: number | undefined, postedAfter?: string | undefined, postedBefore?: string | undefined, nextToken?: string | undefined, options?: any) => Promise<RequestArgs>;
41
+ listFinancialEvents: (maxResultsPerPage?: number, postedAfter?: string, postedBefore?: string, nextToken?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
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.
@@ -47,7 +47,7 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
47
47
  * @param {*} [options] Override http request option.
48
48
  * @throws {RequiredError}
49
49
  */
50
- listFinancialEventsByGroupId: (eventGroupId: string, maxResultsPerPage?: number | undefined, nextToken?: string | undefined, options?: any) => Promise<RequestArgs>;
50
+ listFinancialEventsByGroupId: (eventGroupId: string, maxResultsPerPage?: number, nextToken?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
51
51
  /**
52
52
  * 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
53
  * @param {string} orderId An Amazon-defined order identifier, in 3-7-7 format.
@@ -56,13 +56,13 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
56
56
  * @param {*} [options] Override http request option.
57
57
  * @throws {RequiredError}
58
58
  */
59
- listFinancialEventsByOrderId: (orderId: string, maxResultsPerPage?: number | undefined, nextToken?: string | undefined, options?: any) => Promise<RequestArgs>;
59
+ listFinancialEventsByOrderId: (orderId: string, maxResultsPerPage?: number, nextToken?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
60
60
  };
61
61
  /**
62
62
  * DefaultApi - functional programming interface
63
63
  * @export
64
64
  */
65
- export declare const DefaultApiFp: (configuration?: Configuration | undefined) => {
65
+ export declare const DefaultApiFp: (configuration?: Configuration) => {
66
66
  /**
67
67
  * 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
68
  * @param {number} [maxResultsPerPage] The maximum number of results to return per page.
@@ -72,7 +72,7 @@ export declare const DefaultApiFp: (configuration?: Configuration | undefined) =
72
72
  * @param {*} [options] Override http request option.
73
73
  * @throws {RequiredError}
74
74
  */
75
- listFinancialEventGroups(maxResultsPerPage?: number | undefined, financialEventGroupStartedBefore?: string | undefined, financialEventGroupStartedAfter?: string | undefined, nextToken?: string | undefined, options?: any): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<ListFinancialEventGroupsResponse>>;
75
+ listFinancialEventGroups(maxResultsPerPage?: number, financialEventGroupStartedBefore?: string, financialEventGroupStartedAfter?: string, nextToken?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListFinancialEventGroupsResponse>>;
76
76
  /**
77
77
  * 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
78
  * @param {number} [maxResultsPerPage] The maximum number of results to return per page.
@@ -82,7 +82,7 @@ export declare const DefaultApiFp: (configuration?: Configuration | undefined) =
82
82
  * @param {*} [options] Override http request option.
83
83
  * @throws {RequiredError}
84
84
  */
85
- listFinancialEvents(maxResultsPerPage?: number | undefined, postedAfter?: string | undefined, postedBefore?: string | undefined, nextToken?: string | undefined, options?: any): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<ListFinancialEventsResponse>>;
85
+ listFinancialEvents(maxResultsPerPage?: number, postedAfter?: string, postedBefore?: string, nextToken?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListFinancialEventsResponse>>;
86
86
  /**
87
87
  * 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
88
  * @param {string} eventGroupId The identifier of the financial event group to which the events belong.
@@ -91,7 +91,7 @@ export declare const DefaultApiFp: (configuration?: Configuration | undefined) =
91
91
  * @param {*} [options] Override http request option.
92
92
  * @throws {RequiredError}
93
93
  */
94
- listFinancialEventsByGroupId(eventGroupId: string, maxResultsPerPage?: number | undefined, nextToken?: string | undefined, options?: any): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<ListFinancialEventsResponse>>;
94
+ listFinancialEventsByGroupId(eventGroupId: string, maxResultsPerPage?: number, nextToken?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListFinancialEventsResponse>>;
95
95
  /**
96
96
  * 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
97
  * @param {string} orderId An Amazon-defined order identifier, in 3-7-7 format.
@@ -100,13 +100,13 @@ export declare const DefaultApiFp: (configuration?: Configuration | undefined) =
100
100
  * @param {*} [options] Override http request option.
101
101
  * @throws {RequiredError}
102
102
  */
103
- listFinancialEventsByOrderId(orderId: string, maxResultsPerPage?: number | undefined, nextToken?: string | undefined, options?: any): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<ListFinancialEventsResponse>>;
103
+ listFinancialEventsByOrderId(orderId: string, maxResultsPerPage?: number, nextToken?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListFinancialEventsResponse>>;
104
104
  };
105
105
  /**
106
106
  * DefaultApi - factory interface
107
107
  * @export
108
108
  */
109
- export declare const DefaultApiFactory: (configuration?: Configuration | undefined, basePath?: string | undefined, axios?: AxiosInstance | undefined) => {
109
+ export declare const DefaultApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
110
110
  /**
111
111
  * 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
112
  * @param {number} [maxResultsPerPage] The maximum number of results to return per page.
@@ -116,7 +116,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration | undefin
116
116
  * @param {*} [options] Override http request option.
117
117
  * @throws {RequiredError}
118
118
  */
119
- listFinancialEventGroups(maxResultsPerPage?: number | undefined, financialEventGroupStartedBefore?: string | undefined, financialEventGroupStartedAfter?: string | undefined, nextToken?: string | undefined, options?: any): AxiosPromise<ListFinancialEventGroupsResponse>;
119
+ listFinancialEventGroups(maxResultsPerPage?: number, financialEventGroupStartedBefore?: string, financialEventGroupStartedAfter?: string, nextToken?: string, options?: any): AxiosPromise<ListFinancialEventGroupsResponse>;
120
120
  /**
121
121
  * 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
122
  * @param {number} [maxResultsPerPage] The maximum number of results to return per page.
@@ -126,7 +126,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration | undefin
126
126
  * @param {*} [options] Override http request option.
127
127
  * @throws {RequiredError}
128
128
  */
129
- listFinancialEvents(maxResultsPerPage?: number | undefined, postedAfter?: string | undefined, postedBefore?: string | undefined, nextToken?: string | undefined, options?: any): AxiosPromise<ListFinancialEventsResponse>;
129
+ listFinancialEvents(maxResultsPerPage?: number, postedAfter?: string, postedBefore?: string, nextToken?: string, options?: any): AxiosPromise<ListFinancialEventsResponse>;
130
130
  /**
131
131
  * 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
132
  * @param {string} eventGroupId The identifier of the financial event group to which the events belong.
@@ -135,7 +135,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration | undefin
135
135
  * @param {*} [options] Override http request option.
136
136
  * @throws {RequiredError}
137
137
  */
138
- listFinancialEventsByGroupId(eventGroupId: string, maxResultsPerPage?: number | undefined, nextToken?: string | undefined, options?: any): AxiosPromise<ListFinancialEventsResponse>;
138
+ listFinancialEventsByGroupId(eventGroupId: string, maxResultsPerPage?: number, nextToken?: string, options?: any): AxiosPromise<ListFinancialEventsResponse>;
139
139
  /**
140
140
  * 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
141
  * @param {string} orderId An Amazon-defined order identifier, in 3-7-7 format.
@@ -144,7 +144,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration | undefin
144
144
  * @param {*} [options] Override http request option.
145
145
  * @throws {RequiredError}
146
146
  */
147
- listFinancialEventsByOrderId(orderId: string, maxResultsPerPage?: number | undefined, nextToken?: string | undefined, options?: any): AxiosPromise<ListFinancialEventsResponse>;
147
+ listFinancialEventsByOrderId(orderId: string, maxResultsPerPage?: number, nextToken?: string, options?: any): AxiosPromise<ListFinancialEventsResponse>;
148
148
  };
149
149
  /**
150
150
  * Request parameters for listFinancialEventGroups operation in DefaultApi.
@@ -272,7 +272,7 @@ export declare class DefaultApi extends BaseAPI {
272
272
  * @throws {RequiredError}
273
273
  * @memberof DefaultApi
274
274
  */
275
- listFinancialEventGroups(requestParameters?: DefaultApiListFinancialEventGroupsRequest, options?: any): Promise<import("axios").AxiosResponse<ListFinancialEventGroupsResponse, any>>;
275
+ listFinancialEventGroups(requestParameters?: DefaultApiListFinancialEventGroupsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListFinancialEventGroupsResponse, any>>;
276
276
  /**
277
277
  * 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.
278
278
  * @param {DefaultApiListFinancialEventsRequest} requestParameters Request parameters.
@@ -280,7 +280,7 @@ export declare class DefaultApi extends BaseAPI {
280
280
  * @throws {RequiredError}
281
281
  * @memberof DefaultApi
282
282
  */
283
- listFinancialEvents(requestParameters?: DefaultApiListFinancialEventsRequest, options?: any): Promise<import("axios").AxiosResponse<ListFinancialEventsResponse, any>>;
283
+ listFinancialEvents(requestParameters?: DefaultApiListFinancialEventsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListFinancialEventsResponse, any>>;
284
284
  /**
285
285
  * 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.
286
286
  * @param {DefaultApiListFinancialEventsByGroupIdRequest} requestParameters Request parameters.
@@ -288,7 +288,7 @@ export declare class DefaultApi extends BaseAPI {
288
288
  * @throws {RequiredError}
289
289
  * @memberof DefaultApi
290
290
  */
291
- listFinancialEventsByGroupId(requestParameters: DefaultApiListFinancialEventsByGroupIdRequest, options?: any): Promise<import("axios").AxiosResponse<ListFinancialEventsResponse, any>>;
291
+ listFinancialEventsByGroupId(requestParameters: DefaultApiListFinancialEventsByGroupIdRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListFinancialEventsResponse, any>>;
292
292
  /**
293
293
  * 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.
294
294
  * @param {DefaultApiListFinancialEventsByOrderIdRequest} requestParameters Request parameters.
@@ -296,5 +296,5 @@ export declare class DefaultApi extends BaseAPI {
296
296
  * @throws {RequiredError}
297
297
  * @memberof DefaultApi
298
298
  */
299
- listFinancialEventsByOrderId(requestParameters: DefaultApiListFinancialEventsByOrderIdRequest, options?: any): Promise<import("axios").AxiosResponse<ListFinancialEventsResponse, any>>;
299
+ listFinancialEventsByOrderId(requestParameters: DefaultApiListFinancialEventsByOrderIdRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListFinancialEventsResponse, any>>;
300
300
  }
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import { Configuration } from "./configuration";
13
- import { AxiosInstance } from 'axios';
13
+ import { AxiosInstance, AxiosRequestConfig } from 'axios';
14
14
  export declare const BASE_PATH: string;
15
15
  /**
16
16
  *
@@ -29,7 +29,7 @@ export declare const COLLECTION_FORMATS: {
29
29
  */
30
30
  export interface RequestArgs {
31
31
  url: string;
32
- options: any;
32
+ options: AxiosRequestConfig;
33
33
  }
34
34
  /**
35
35
  *
@@ -11,7 +11,7 @@
11
11
  */
12
12
  import { Configuration } from "./configuration";
13
13
  import { RequestArgs } from "./base";
14
- import { AxiosInstance } from 'axios';
14
+ import { AxiosInstance, AxiosResponse } from 'axios';
15
15
  /**
16
16
  *
17
17
  * @export
@@ -27,22 +27,22 @@ export declare const assertParamExists: (functionName: string, paramName: string
27
27
  *
28
28
  * @export
29
29
  */
30
- export declare const setApiKeyToObject: (object: any, keyParamName: string, configuration?: Configuration | undefined) => Promise<void>;
30
+ export declare const setApiKeyToObject: (object: any, keyParamName: string, configuration?: Configuration) => Promise<void>;
31
31
  /**
32
32
  *
33
33
  * @export
34
34
  */
35
- export declare const setBasicAuthToObject: (object: any, configuration?: Configuration | undefined) => void;
35
+ export declare const setBasicAuthToObject: (object: any, configuration?: Configuration) => void;
36
36
  /**
37
37
  *
38
38
  * @export
39
39
  */
40
- export declare const setBearerAuthToObject: (object: any, configuration?: Configuration | undefined) => Promise<void>;
40
+ export declare const setBearerAuthToObject: (object: any, configuration?: Configuration) => Promise<void>;
41
41
  /**
42
42
  *
43
43
  * @export
44
44
  */
45
- export declare const setOAuthToObject: (object: any, name: string, scopes: string[], configuration?: Configuration | undefined) => Promise<void>;
45
+ export declare const setOAuthToObject: (object: any, name: string, scopes: string[], configuration?: Configuration) => Promise<void>;
46
46
  /**
47
47
  *
48
48
  * @export
@@ -52,7 +52,7 @@ export declare const setSearchParams: (url: URL, ...objects: any[]) => void;
52
52
  *
53
53
  * @export
54
54
  */
55
- export declare const serializeDataIfNeeded: (value: any, requestOptions: any, configuration?: Configuration | undefined) => any;
55
+ export declare const serializeDataIfNeeded: (value: any, requestOptions: any, configuration?: Configuration) => any;
56
56
  /**
57
57
  *
58
58
  * @export
@@ -62,4 +62,4 @@ export declare const toPathString: (url: URL) => string;
62
62
  *
63
63
  * @export
64
64
  */
65
- export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration | undefined) => (axios?: AxiosInstance, basePath?: string) => Promise<import("axios").AxiosResponse<any, any>>;
65
+ export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T, any>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
@@ -22,23 +22,23 @@ export interface AdjustmentEvent {
22
22
  * @type {string}
23
23
  * @memberof AdjustmentEvent
24
24
  */
25
- AdjustmentType?: string;
25
+ 'AdjustmentType'?: string;
26
26
  /**
27
27
  *
28
28
  * @type {string}
29
29
  * @memberof AdjustmentEvent
30
30
  */
31
- PostedDate?: string;
31
+ 'PostedDate'?: string;
32
32
  /**
33
33
  *
34
34
  * @type {Currency}
35
35
  * @memberof AdjustmentEvent
36
36
  */
37
- AdjustmentAmount?: Currency;
37
+ 'AdjustmentAmount'?: Currency;
38
38
  /**
39
39
  * A list of information about items in an adjustment to the seller\'s account.
40
40
  * @type {Array<AdjustmentItem>}
41
41
  * @memberof AdjustmentEvent
42
42
  */
43
- AdjustmentItemList?: Array<AdjustmentItem>;
43
+ 'AdjustmentItemList'?: Array<AdjustmentItem>;
44
44
  }
@@ -21,41 +21,41 @@ export interface AdjustmentItem {
21
21
  * @type {string}
22
22
  * @memberof AdjustmentItem
23
23
  */
24
- Quantity?: string;
24
+ 'Quantity'?: string;
25
25
  /**
26
26
  *
27
27
  * @type {Currency}
28
28
  * @memberof AdjustmentItem
29
29
  */
30
- PerUnitAmount?: Currency;
30
+ 'PerUnitAmount'?: Currency;
31
31
  /**
32
32
  *
33
33
  * @type {Currency}
34
34
  * @memberof AdjustmentItem
35
35
  */
36
- TotalAmount?: Currency;
36
+ 'TotalAmount'?: Currency;
37
37
  /**
38
38
  * 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.
39
39
  * @type {string}
40
40
  * @memberof AdjustmentItem
41
41
  */
42
- SellerSKU?: string;
42
+ 'SellerSKU'?: string;
43
43
  /**
44
44
  * A unique identifier assigned to products stored in and fulfilled from a fulfillment center.
45
45
  * @type {string}
46
46
  * @memberof AdjustmentItem
47
47
  */
48
- FnSKU?: string;
48
+ 'FnSKU'?: string;
49
49
  /**
50
50
  * A short description of the item.
51
51
  * @type {string}
52
52
  * @memberof AdjustmentItem
53
53
  */
54
- ProductDescription?: string;
54
+ 'ProductDescription'?: string;
55
55
  /**
56
56
  * The Amazon Standard Identification Number (ASIN) of the item.
57
57
  * @type {string}
58
58
  * @memberof AdjustmentItem
59
59
  */
60
- ASIN?: string;
60
+ 'ASIN'?: string;
61
61
  }
@@ -21,53 +21,53 @@ export interface AffordabilityExpenseEvent {
21
21
  * @type {string}
22
22
  * @memberof AffordabilityExpenseEvent
23
23
  */
24
- AmazonOrderId?: string;
24
+ 'AmazonOrderId'?: string;
25
25
  /**
26
26
  *
27
27
  * @type {string}
28
28
  * @memberof AffordabilityExpenseEvent
29
29
  */
30
- PostedDate?: string;
30
+ 'PostedDate'?: string;
31
31
  /**
32
32
  * An encrypted, Amazon-defined marketplace identifier.
33
33
  * @type {string}
34
34
  * @memberof AffordabilityExpenseEvent
35
35
  */
36
- MarketplaceId?: string;
36
+ 'MarketplaceId'?: string;
37
37
  /**
38
38
  * Indicates the type of transaction. Possible values: * Charge - For an affordability promotion expense. * Refund - For an affordability promotion expense reversal.
39
39
  * @type {string}
40
40
  * @memberof AffordabilityExpenseEvent
41
41
  */
42
- TransactionType?: string;
42
+ 'TransactionType'?: string;
43
43
  /**
44
44
  *
45
45
  * @type {Currency}
46
46
  * @memberof AffordabilityExpenseEvent
47
47
  */
48
- BaseExpense?: Currency;
48
+ 'BaseExpense'?: Currency;
49
49
  /**
50
50
  *
51
51
  * @type {Currency}
52
52
  * @memberof AffordabilityExpenseEvent
53
53
  */
54
- TaxTypeCGST: Currency;
54
+ 'TaxTypeCGST': Currency;
55
55
  /**
56
56
  *
57
57
  * @type {Currency}
58
58
  * @memberof AffordabilityExpenseEvent
59
59
  */
60
- TaxTypeSGST: Currency;
60
+ 'TaxTypeSGST': Currency;
61
61
  /**
62
62
  *
63
63
  * @type {Currency}
64
64
  * @memberof AffordabilityExpenseEvent
65
65
  */
66
- TaxTypeIGST: Currency;
66
+ 'TaxTypeIGST': Currency;
67
67
  /**
68
68
  *
69
69
  * @type {Currency}
70
70
  * @memberof AffordabilityExpenseEvent
71
71
  */
72
- TotalExpense?: Currency;
72
+ 'TotalExpense'?: Currency;
73
73
  }
@@ -21,11 +21,11 @@ export interface ChargeComponent {
21
21
  * @type {string}
22
22
  * @memberof ChargeComponent
23
23
  */
24
- ChargeType?: string;
24
+ 'ChargeType'?: string;
25
25
  /**
26
26
  *
27
27
  * @type {Currency}
28
28
  * @memberof ChargeComponent
29
29
  */
30
- ChargeAmount?: Currency;
30
+ 'ChargeAmount'?: Currency;
31
31
  }
@@ -21,17 +21,17 @@ export interface ChargeInstrument {
21
21
  * @type {string}
22
22
  * @memberof ChargeInstrument
23
23
  */
24
- Description?: string;
24
+ 'Description'?: string;
25
25
  /**
26
26
  * The account tail (trailing digits) of the charge instrument.
27
27
  * @type {string}
28
28
  * @memberof ChargeInstrument
29
29
  */
30
- Tail?: string;
30
+ 'Tail'?: string;
31
31
  /**
32
32
  *
33
33
  * @type {Currency}
34
34
  * @memberof ChargeInstrument
35
35
  */
36
- Amount?: Currency;
36
+ 'Amount'?: Currency;
37
37
  }
@@ -23,47 +23,47 @@ export interface CouponPaymentEvent {
23
23
  * @type {string}
24
24
  * @memberof CouponPaymentEvent
25
25
  */
26
- PostedDate?: string;
26
+ 'PostedDate'?: string;
27
27
  /**
28
28
  * A coupon identifier.
29
29
  * @type {string}
30
30
  * @memberof CouponPaymentEvent
31
31
  */
32
- CouponId?: string;
32
+ 'CouponId'?: string;
33
33
  /**
34
34
  * The description provided by the seller when they created the coupon.
35
35
  * @type {string}
36
36
  * @memberof CouponPaymentEvent
37
37
  */
38
- SellerCouponDescription?: string;
38
+ 'SellerCouponDescription'?: string;
39
39
  /**
40
40
  * The number of coupon clips or redemptions.
41
41
  * @type {number}
42
42
  * @memberof CouponPaymentEvent
43
43
  */
44
- ClipOrRedemptionCount?: number;
44
+ 'ClipOrRedemptionCount'?: number;
45
45
  /**
46
46
  * A payment event identifier.
47
47
  * @type {string}
48
48
  * @memberof CouponPaymentEvent
49
49
  */
50
- PaymentEventId?: string;
50
+ 'PaymentEventId'?: string;
51
51
  /**
52
52
  *
53
53
  * @type {FeeComponent}
54
54
  * @memberof CouponPaymentEvent
55
55
  */
56
- FeeComponent?: FeeComponent;
56
+ 'FeeComponent'?: FeeComponent;
57
57
  /**
58
58
  *
59
59
  * @type {ChargeComponent}
60
60
  * @memberof CouponPaymentEvent
61
61
  */
62
- ChargeComponent?: ChargeComponent;
62
+ 'ChargeComponent'?: ChargeComponent;
63
63
  /**
64
64
  *
65
65
  * @type {Currency}
66
66
  * @memberof CouponPaymentEvent
67
67
  */
68
- TotalAmount?: Currency;
68
+ 'TotalAmount'?: Currency;
69
69
  }
@@ -20,11 +20,11 @@ export interface Currency {
20
20
  * @type {string}
21
21
  * @memberof Currency
22
22
  */
23
- CurrencyCode?: string;
23
+ 'CurrencyCode'?: string;
24
24
  /**
25
25
  *
26
26
  * @type {number}
27
27
  * @memberof Currency
28
28
  */
29
- CurrencyAmount?: number;
29
+ 'CurrencyAmount'?: number;
30
30
  }
@@ -23,29 +23,29 @@ export interface DebtRecoveryEvent {
23
23
  * @type {string}
24
24
  * @memberof DebtRecoveryEvent
25
25
  */
26
- DebtRecoveryType?: string;
26
+ 'DebtRecoveryType'?: string;
27
27
  /**
28
28
  *
29
29
  * @type {Currency}
30
30
  * @memberof DebtRecoveryEvent
31
31
  */
32
- RecoveryAmount?: Currency;
32
+ 'RecoveryAmount'?: Currency;
33
33
  /**
34
34
  *
35
35
  * @type {Currency}
36
36
  * @memberof DebtRecoveryEvent
37
37
  */
38
- OverPaymentCredit?: Currency;
38
+ 'OverPaymentCredit'?: Currency;
39
39
  /**
40
40
  * A list of debt recovery item information.
41
41
  * @type {Array<DebtRecoveryItem>}
42
42
  * @memberof DebtRecoveryEvent
43
43
  */
44
- DebtRecoveryItemList?: Array<DebtRecoveryItem>;
44
+ 'DebtRecoveryItemList'?: Array<DebtRecoveryItem>;
45
45
  /**
46
46
  * A list of payment instruments.
47
47
  * @type {Array<ChargeInstrument>}
48
48
  * @memberof DebtRecoveryEvent
49
49
  */
50
- ChargeInstrumentList?: Array<ChargeInstrument>;
50
+ 'ChargeInstrumentList'?: Array<ChargeInstrument>;
51
51
  }
@@ -21,23 +21,23 @@ export interface DebtRecoveryItem {
21
21
  * @type {Currency}
22
22
  * @memberof DebtRecoveryItem
23
23
  */
24
- RecoveryAmount?: Currency;
24
+ 'RecoveryAmount'?: Currency;
25
25
  /**
26
26
  *
27
27
  * @type {Currency}
28
28
  * @memberof DebtRecoveryItem
29
29
  */
30
- OriginalAmount?: Currency;
30
+ 'OriginalAmount'?: Currency;
31
31
  /**
32
32
  *
33
33
  * @type {string}
34
34
  * @memberof DebtRecoveryItem
35
35
  */
36
- GroupBeginDate?: string;
36
+ 'GroupBeginDate'?: string;
37
37
  /**
38
38
  *
39
39
  * @type {string}
40
40
  * @memberof DebtRecoveryItem
41
41
  */
42
- GroupEndDate?: string;
42
+ 'GroupEndDate'?: string;
43
43
  }
@@ -21,11 +21,11 @@ export interface DirectPayment {
21
21
  * @type {string}
22
22
  * @memberof DirectPayment
23
23
  */
24
- DirectPaymentType?: string;
24
+ 'DirectPaymentType'?: string;
25
25
  /**
26
26
  *
27
27
  * @type {Currency}
28
28
  * @memberof DirectPayment
29
29
  */
30
- DirectPaymentAmount?: Currency;
30
+ 'DirectPaymentAmount'?: Currency;
31
31
  }