@sp-api-sdk/finances-api-v0 2.0.1 → 2.2.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.
- package/dist/cjs/src/api-model/api/default-api.js +4 -4
- package/dist/cjs/src/api-model/models/index.js +2 -2
- package/dist/es/src/api-model/api/default-api.js +4 -4
- package/dist/es/src/api-model/models/index.js +2 -2
- package/dist/types/src/api-model/api/default-api.d.ts +4 -4
- package/dist/types/src/api-model/models/charge-refund-event.d.ts +3 -3
- package/dist/types/src/api-model/models/{failed-adhoc-disbursement-event-list.d.ts → failed-adhoc-disbursement-event.d.ts} +9 -9
- package/dist/types/src/api-model/models/financial-events.d.ts +8 -8
- package/dist/types/src/api-model/models/index.d.ts +2 -2
- package/dist/types/src/api-model/models/{value-added-service-charge-event-list.d.ts → value-added-service-charge-event.d.ts} +6 -6
- package/package.json +4 -4
- /package/dist/cjs/src/api-model/models/{failed-adhoc-disbursement-event-list.js → failed-adhoc-disbursement-event.js} +0 -0
- /package/dist/cjs/src/api-model/models/{value-added-service-charge-event-list.js → value-added-service-charge-event.js} +0 -0
- /package/dist/es/src/api-model/models/{failed-adhoc-disbursement-event-list.js → failed-adhoc-disbursement-event.js} +0 -0
- /package/dist/es/src/api-model/models/{value-added-service-charge-event-list.js → value-added-service-charge-event.js} +0 -0
|
@@ -74,7 +74,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
74
74
|
};
|
|
75
75
|
},
|
|
76
76
|
/**
|
|
77
|
-
* Returns financial events for the specified data range. It may take up to 48 hours for orders to appear in your financial events. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
77
|
+
* Returns financial events for the specified data range. It may take up to 48 hours for orders to appear in your financial events. **Note:** in `ListFinancialEvents`, deferred events don\'t show up in responses until in they are released. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
78
78
|
* @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\'.
|
|
79
79
|
* @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
80
|
* @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.
|
|
@@ -225,7 +225,7 @@ const DefaultApiFp = function (configuration) {
|
|
|
225
225
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
226
226
|
},
|
|
227
227
|
/**
|
|
228
|
-
* Returns financial events for the specified data range. It may take up to 48 hours for orders to appear in your financial events. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
228
|
+
* Returns financial events for the specified data range. It may take up to 48 hours for orders to appear in your financial events. **Note:** in `ListFinancialEvents`, deferred events don\'t show up in responses until in they are released. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
229
229
|
* @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\'.
|
|
230
230
|
* @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.
|
|
231
231
|
* @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.
|
|
@@ -283,7 +283,7 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
283
283
|
return localVarFp.listFinancialEventGroups(requestParameters.maxResultsPerPage, requestParameters.financialEventGroupStartedBefore, requestParameters.financialEventGroupStartedAfter, requestParameters.nextToken, options).then((request) => request(axios, basePath));
|
|
284
284
|
},
|
|
285
285
|
/**
|
|
286
|
-
* Returns financial events for the specified data range. It may take up to 48 hours for orders to appear in your financial events. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
286
|
+
* Returns financial events for the specified data range. It may take up to 48 hours for orders to appear in your financial events. **Note:** in `ListFinancialEvents`, deferred events don\'t show up in responses until in they are released. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
287
287
|
* @param {DefaultApiListFinancialEventsRequest} requestParameters Request parameters.
|
|
288
288
|
* @param {*} [options] Override http request option.
|
|
289
289
|
* @throws {RequiredError}
|
|
@@ -330,7 +330,7 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
330
330
|
return (0, exports.DefaultApiFp)(this.configuration).listFinancialEventGroups(requestParameters.maxResultsPerPage, requestParameters.financialEventGroupStartedBefore, requestParameters.financialEventGroupStartedAfter, requestParameters.nextToken, options).then((request) => request(this.axios, this.basePath));
|
|
331
331
|
}
|
|
332
332
|
/**
|
|
333
|
-
* Returns financial events for the specified data range. It may take up to 48 hours for orders to appear in your financial events. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
333
|
+
* Returns financial events for the specified data range. It may take up to 48 hours for orders to appear in your financial events. **Note:** in `ListFinancialEvents`, deferred events don\'t show up in responses until in they are released. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
334
334
|
* @param {DefaultApiListFinancialEventsRequest} requestParameters Request parameters.
|
|
335
335
|
* @param {*} [options] Override http request option.
|
|
336
336
|
* @throws {RequiredError}
|
|
@@ -29,7 +29,7 @@ __exportStar(require("./debt-recovery-event"), exports);
|
|
|
29
29
|
__exportStar(require("./debt-recovery-item"), exports);
|
|
30
30
|
__exportStar(require("./direct-payment"), exports);
|
|
31
31
|
__exportStar(require("./fbaliquidation-event"), exports);
|
|
32
|
-
__exportStar(require("./failed-adhoc-disbursement-event
|
|
32
|
+
__exportStar(require("./failed-adhoc-disbursement-event"), exports);
|
|
33
33
|
__exportStar(require("./fee-component"), exports);
|
|
34
34
|
__exportStar(require("./financial-event-group"), exports);
|
|
35
35
|
__exportStar(require("./financial-events"), exports);
|
|
@@ -63,4 +63,4 @@ __exportStar(require("./tax-withheld-component"), exports);
|
|
|
63
63
|
__exportStar(require("./tax-withholding-event"), exports);
|
|
64
64
|
__exportStar(require("./tax-withholding-period"), exports);
|
|
65
65
|
__exportStar(require("./trial-shipment-event"), exports);
|
|
66
|
-
__exportStar(require("./value-added-service-charge-event
|
|
66
|
+
__exportStar(require("./value-added-service-charge-event"), exports);
|
|
@@ -68,7 +68,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
68
68
|
};
|
|
69
69
|
},
|
|
70
70
|
/**
|
|
71
|
-
* Returns financial events for the specified data range. It may take up to 48 hours for orders to appear in your financial events. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
71
|
+
* Returns financial events for the specified data range. It may take up to 48 hours for orders to appear in your financial events. **Note:** in `ListFinancialEvents`, deferred events don\'t show up in responses until in they are released. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
72
72
|
* @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\'.
|
|
73
73
|
* @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.
|
|
74
74
|
* @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.
|
|
@@ -218,7 +218,7 @@ export const DefaultApiFp = function (configuration) {
|
|
|
218
218
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
219
219
|
},
|
|
220
220
|
/**
|
|
221
|
-
* Returns financial events for the specified data range. It may take up to 48 hours for orders to appear in your financial events. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
221
|
+
* Returns financial events for the specified data range. It may take up to 48 hours for orders to appear in your financial events. **Note:** in `ListFinancialEvents`, deferred events don\'t show up in responses until in they are released. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
222
222
|
* @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\'.
|
|
223
223
|
* @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.
|
|
224
224
|
* @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.
|
|
@@ -275,7 +275,7 @@ export const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
275
275
|
return localVarFp.listFinancialEventGroups(requestParameters.maxResultsPerPage, requestParameters.financialEventGroupStartedBefore, requestParameters.financialEventGroupStartedAfter, requestParameters.nextToken, options).then((request) => request(axios, basePath));
|
|
276
276
|
},
|
|
277
277
|
/**
|
|
278
|
-
* Returns financial events for the specified data range. It may take up to 48 hours for orders to appear in your financial events. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
278
|
+
* Returns financial events for the specified data range. It may take up to 48 hours for orders to appear in your financial events. **Note:** in `ListFinancialEvents`, deferred events don\'t show up in responses until in they are released. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
279
279
|
* @param {DefaultApiListFinancialEventsRequest} requestParameters Request parameters.
|
|
280
280
|
* @param {*} [options] Override http request option.
|
|
281
281
|
* @throws {RequiredError}
|
|
@@ -321,7 +321,7 @@ export class DefaultApi extends BaseAPI {
|
|
|
321
321
|
return DefaultApiFp(this.configuration).listFinancialEventGroups(requestParameters.maxResultsPerPage, requestParameters.financialEventGroupStartedBefore, requestParameters.financialEventGroupStartedAfter, requestParameters.nextToken, options).then((request) => request(this.axios, this.basePath));
|
|
322
322
|
}
|
|
323
323
|
/**
|
|
324
|
-
* Returns financial events for the specified data range. It may take up to 48 hours for orders to appear in your financial events. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
324
|
+
* Returns financial events for the specified data range. It may take up to 48 hours for orders to appear in your financial events. **Note:** in `ListFinancialEvents`, deferred events don\'t show up in responses until in they are released. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
325
325
|
* @param {DefaultApiListFinancialEventsRequest} requestParameters Request parameters.
|
|
326
326
|
* @param {*} [options] Override http request option.
|
|
327
327
|
* @throws {RequiredError}
|
|
@@ -13,7 +13,7 @@ export * from './debt-recovery-event';
|
|
|
13
13
|
export * from './debt-recovery-item';
|
|
14
14
|
export * from './direct-payment';
|
|
15
15
|
export * from './fbaliquidation-event';
|
|
16
|
-
export * from './failed-adhoc-disbursement-event
|
|
16
|
+
export * from './failed-adhoc-disbursement-event';
|
|
17
17
|
export * from './fee-component';
|
|
18
18
|
export * from './financial-event-group';
|
|
19
19
|
export * from './financial-events';
|
|
@@ -47,4 +47,4 @@ export * from './tax-withheld-component';
|
|
|
47
47
|
export * from './tax-withholding-event';
|
|
48
48
|
export * from './tax-withholding-period';
|
|
49
49
|
export * from './trial-shipment-event';
|
|
50
|
-
export * from './value-added-service-charge-event
|
|
50
|
+
export * from './value-added-service-charge-event';
|
|
@@ -30,7 +30,7 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
30
30
|
*/
|
|
31
31
|
listFinancialEventGroups: (maxResultsPerPage?: number, financialEventGroupStartedBefore?: string, financialEventGroupStartedAfter?: string, nextToken?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
32
32
|
/**
|
|
33
|
-
* Returns financial events for the specified data range. It may take up to 48 hours for orders to appear in your financial events. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
33
|
+
* Returns financial events for the specified data range. It may take up to 48 hours for orders to appear in your financial events. **Note:** in `ListFinancialEvents`, deferred events don\'t show up in responses until in they are released. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
34
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 \'InvalidInput\'.
|
|
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.
|
|
@@ -76,7 +76,7 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
76
76
|
*/
|
|
77
77
|
listFinancialEventGroups(maxResultsPerPage?: number, financialEventGroupStartedBefore?: string, financialEventGroupStartedAfter?: string, nextToken?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListFinancialEventGroupsResponse>>;
|
|
78
78
|
/**
|
|
79
|
-
* Returns financial events for the specified data range. It may take up to 48 hours for orders to appear in your financial events. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
79
|
+
* Returns financial events for the specified data range. It may take up to 48 hours for orders to appear in your financial events. **Note:** in `ListFinancialEvents`, deferred events don\'t show up in responses until in they are released. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
80
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 \'InvalidInput\'.
|
|
81
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.
|
|
82
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.
|
|
@@ -119,7 +119,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
119
119
|
*/
|
|
120
120
|
listFinancialEventGroups(requestParameters?: DefaultApiListFinancialEventGroupsRequest, options?: AxiosRequestConfig): AxiosPromise<ListFinancialEventGroupsResponse>;
|
|
121
121
|
/**
|
|
122
|
-
* Returns financial events for the specified data range. It may take up to 48 hours for orders to appear in your financial events. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
122
|
+
* Returns financial events for the specified data range. It may take up to 48 hours for orders to appear in your financial events. **Note:** in `ListFinancialEvents`, deferred events don\'t show up in responses until in they are released. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
123
123
|
* @param {DefaultApiListFinancialEventsRequest} requestParameters Request parameters.
|
|
124
124
|
* @param {*} [options] Override http request option.
|
|
125
125
|
* @throws {RequiredError}
|
|
@@ -280,7 +280,7 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
280
280
|
*/
|
|
281
281
|
listFinancialEventGroups(requestParameters?: DefaultApiListFinancialEventGroupsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListFinancialEventGroupsResponse, any>>;
|
|
282
282
|
/**
|
|
283
|
-
* Returns financial events for the specified data range. It may take up to 48 hours for orders to appear in your financial events. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
283
|
+
* Returns financial events for the specified data range. It may take up to 48 hours for orders to appear in your financial events. **Note:** in `ListFinancialEvents`, deferred events don\'t show up in responses until in they are released. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
284
284
|
* @param {DefaultApiListFinancialEventsRequest} requestParameters Request parameters.
|
|
285
285
|
* @param {*} [options] Override http request option.
|
|
286
286
|
* @throws {RequiredError}
|
|
@@ -35,9 +35,9 @@ export interface ChargeRefundEvent {
|
|
|
35
35
|
*/
|
|
36
36
|
'ReasonCodeDescription'?: string;
|
|
37
37
|
/**
|
|
38
|
-
*
|
|
39
|
-
* @type {ChargeRefundTransaction}
|
|
38
|
+
* A list of `ChargeRefund` transactions.
|
|
39
|
+
* @type {Array<ChargeRefundTransaction>}
|
|
40
40
|
* @memberof ChargeRefundEvent
|
|
41
41
|
*/
|
|
42
|
-
'ChargeRefundTransactions'?: ChargeRefundTransaction
|
|
42
|
+
'ChargeRefundTransactions'?: Array<ChargeRefundTransaction>;
|
|
43
43
|
}
|
|
@@ -13,49 +13,49 @@ import { Currency } from './currency';
|
|
|
13
13
|
/**
|
|
14
14
|
* Failed ad hoc disbursement event list.
|
|
15
15
|
* @export
|
|
16
|
-
* @interface
|
|
16
|
+
* @interface FailedAdhocDisbursementEvent
|
|
17
17
|
*/
|
|
18
|
-
export interface
|
|
18
|
+
export interface FailedAdhocDisbursementEvent {
|
|
19
19
|
/**
|
|
20
20
|
* The type of fund transfer. Example \"Refund\"
|
|
21
21
|
* @type {string}
|
|
22
|
-
* @memberof
|
|
22
|
+
* @memberof FailedAdhocDisbursementEvent
|
|
23
23
|
*/
|
|
24
24
|
'FundsTransfersType'?: string;
|
|
25
25
|
/**
|
|
26
26
|
* The transfer identifier.
|
|
27
27
|
* @type {string}
|
|
28
|
-
* @memberof
|
|
28
|
+
* @memberof FailedAdhocDisbursementEvent
|
|
29
29
|
*/
|
|
30
30
|
'TransferId'?: string;
|
|
31
31
|
/**
|
|
32
32
|
* The disbursement identifier.
|
|
33
33
|
* @type {string}
|
|
34
|
-
* @memberof
|
|
34
|
+
* @memberof FailedAdhocDisbursementEvent
|
|
35
35
|
*/
|
|
36
36
|
'DisbursementId'?: string;
|
|
37
37
|
/**
|
|
38
38
|
* The type of payment for disbursement. Example `CREDIT_CARD`
|
|
39
39
|
* @type {string}
|
|
40
|
-
* @memberof
|
|
40
|
+
* @memberof FailedAdhocDisbursementEvent
|
|
41
41
|
*/
|
|
42
42
|
'PaymentDisbursementType'?: string;
|
|
43
43
|
/**
|
|
44
44
|
* The status of the failed `AdhocDisbursement`. Example `HARD_DECLINED`
|
|
45
45
|
* @type {string}
|
|
46
|
-
* @memberof
|
|
46
|
+
* @memberof FailedAdhocDisbursementEvent
|
|
47
47
|
*/
|
|
48
48
|
'Status'?: string;
|
|
49
49
|
/**
|
|
50
50
|
*
|
|
51
51
|
* @type {Currency}
|
|
52
|
-
* @memberof
|
|
52
|
+
* @memberof FailedAdhocDisbursementEvent
|
|
53
53
|
*/
|
|
54
54
|
'TransferAmount'?: Currency;
|
|
55
55
|
/**
|
|
56
56
|
*
|
|
57
57
|
* @type {string}
|
|
58
|
-
* @memberof
|
|
58
|
+
* @memberof FailedAdhocDisbursementEvent
|
|
59
59
|
*/
|
|
60
60
|
'PostedDate'?: string;
|
|
61
61
|
}
|
|
@@ -17,7 +17,7 @@ import { ChargeRefundEvent } from './charge-refund-event';
|
|
|
17
17
|
import { CouponPaymentEvent } from './coupon-payment-event';
|
|
18
18
|
import { DebtRecoveryEvent } from './debt-recovery-event';
|
|
19
19
|
import { FBALiquidationEvent } from './fbaliquidation-event';
|
|
20
|
-
import {
|
|
20
|
+
import { FailedAdhocDisbursementEvent } from './failed-adhoc-disbursement-event';
|
|
21
21
|
import { ImagingServicesFeeEvent } from './imaging-services-fee-event';
|
|
22
22
|
import { LoanServicingEvent } from './loan-servicing-event';
|
|
23
23
|
import { NetworkComminglingTransactionEvent } from './network-commingling-transaction-event';
|
|
@@ -36,7 +36,7 @@ import { SolutionProviderCreditEvent } from './solution-provider-credit-event';
|
|
|
36
36
|
import { TDSReimbursementEvent } from './tdsreimbursement-event';
|
|
37
37
|
import { TaxWithholdingEvent } from './tax-withholding-event';
|
|
38
38
|
import { TrialShipmentEvent } from './trial-shipment-event';
|
|
39
|
-
import {
|
|
39
|
+
import { ValueAddedServiceChargeEvent } from './value-added-service-charge-event';
|
|
40
40
|
/**
|
|
41
41
|
* Contains all information related to a financial event.
|
|
42
42
|
* @export
|
|
@@ -224,17 +224,17 @@ export interface FinancialEvents {
|
|
|
224
224
|
*/
|
|
225
225
|
'ChargeRefundEventList'?: Array<ChargeRefundEvent>;
|
|
226
226
|
/**
|
|
227
|
-
*
|
|
228
|
-
* @type {
|
|
227
|
+
* A list of `FailedAdhocDisbursementEvent`s.
|
|
228
|
+
* @type {Array<FailedAdhocDisbursementEvent>}
|
|
229
229
|
* @memberof FinancialEvents
|
|
230
230
|
*/
|
|
231
|
-
'FailedAdhocDisbursementEventList'?:
|
|
231
|
+
'FailedAdhocDisbursementEventList'?: Array<FailedAdhocDisbursementEvent>;
|
|
232
232
|
/**
|
|
233
|
-
*
|
|
234
|
-
* @type {
|
|
233
|
+
* A list of `ValueAddedServiceCharge` events.
|
|
234
|
+
* @type {Array<ValueAddedServiceChargeEvent>}
|
|
235
235
|
* @memberof FinancialEvents
|
|
236
236
|
*/
|
|
237
|
-
'ValueAddedServiceChargeEventList'?:
|
|
237
|
+
'ValueAddedServiceChargeEventList'?: Array<ValueAddedServiceChargeEvent>;
|
|
238
238
|
/**
|
|
239
239
|
* A list of `CapacityReservationBillingEvent` events.
|
|
240
240
|
* @type {Array<CapacityReservationBillingEvent>}
|
|
@@ -13,7 +13,7 @@ export * from './debt-recovery-event';
|
|
|
13
13
|
export * from './debt-recovery-item';
|
|
14
14
|
export * from './direct-payment';
|
|
15
15
|
export * from './fbaliquidation-event';
|
|
16
|
-
export * from './failed-adhoc-disbursement-event
|
|
16
|
+
export * from './failed-adhoc-disbursement-event';
|
|
17
17
|
export * from './fee-component';
|
|
18
18
|
export * from './financial-event-group';
|
|
19
19
|
export * from './financial-events';
|
|
@@ -47,4 +47,4 @@ export * from './tax-withheld-component';
|
|
|
47
47
|
export * from './tax-withholding-event';
|
|
48
48
|
export * from './tax-withholding-period';
|
|
49
49
|
export * from './trial-shipment-event';
|
|
50
|
-
export * from './value-added-service-charge-event
|
|
50
|
+
export * from './value-added-service-charge-event';
|
|
@@ -13,31 +13,31 @@ import { Currency } from './currency';
|
|
|
13
13
|
/**
|
|
14
14
|
* An event related to a value added service charge.
|
|
15
15
|
* @export
|
|
16
|
-
* @interface
|
|
16
|
+
* @interface ValueAddedServiceChargeEvent
|
|
17
17
|
*/
|
|
18
|
-
export interface
|
|
18
|
+
export interface ValueAddedServiceChargeEvent {
|
|
19
19
|
/**
|
|
20
20
|
* Indicates the type of transaction. Example: \'Other Support Service fees\'
|
|
21
21
|
* @type {string}
|
|
22
|
-
* @memberof
|
|
22
|
+
* @memberof ValueAddedServiceChargeEvent
|
|
23
23
|
*/
|
|
24
24
|
'TransactionType'?: string;
|
|
25
25
|
/**
|
|
26
26
|
*
|
|
27
27
|
* @type {string}
|
|
28
|
-
* @memberof
|
|
28
|
+
* @memberof ValueAddedServiceChargeEvent
|
|
29
29
|
*/
|
|
30
30
|
'PostedDate'?: string;
|
|
31
31
|
/**
|
|
32
32
|
* A short description of the service charge event.
|
|
33
33
|
* @type {string}
|
|
34
|
-
* @memberof
|
|
34
|
+
* @memberof ValueAddedServiceChargeEvent
|
|
35
35
|
*/
|
|
36
36
|
'Description'?: string;
|
|
37
37
|
/**
|
|
38
38
|
*
|
|
39
39
|
* @type {Currency}
|
|
40
|
-
* @memberof
|
|
40
|
+
* @memberof ValueAddedServiceChargeEvent
|
|
41
41
|
*/
|
|
42
42
|
'TransactionAmount'?: Currency;
|
|
43
43
|
}
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@sp-api-sdk/finances-api-v0",
|
|
3
3
|
"author": "Vincent Mesquita <vincent.mesquita@bizon.solutions>",
|
|
4
4
|
"description": "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.",
|
|
5
|
-
"version": "2.0
|
|
5
|
+
"version": "2.2.0",
|
|
6
6
|
"main": "dist/cjs/index.js",
|
|
7
7
|
"module": "dist/es/index.js",
|
|
8
8
|
"types": "dist/types/index.d.ts",
|
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
"dist/**/*.d.ts"
|
|
19
19
|
],
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@sp-api-sdk/common": "2.0.
|
|
22
|
-
"axios": "^1.6.
|
|
21
|
+
"@sp-api-sdk/common": "2.0.3",
|
|
22
|
+
"axios": "^1.6.2"
|
|
23
23
|
},
|
|
24
24
|
"repository": {
|
|
25
25
|
"type": "git",
|
|
@@ -40,5 +40,5 @@
|
|
|
40
40
|
"sp sdk",
|
|
41
41
|
"finances api"
|
|
42
42
|
],
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "c81279baeb662780ae3cb42fb60fa11670fed191"
|
|
44
44
|
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|