@sp-api-sdk/finances-api-v0 4.0.6 → 4.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/README.md +1 -1
- package/dist/cjs/api-model/api/finances-api.js +49 -45
- package/dist/cjs/api-model/api.js +1 -1
- package/dist/cjs/api-model/base.js +1 -1
- package/dist/cjs/api-model/common.js +1 -1
- package/dist/cjs/api-model/configuration.js +13 -2
- package/dist/cjs/api-model/index.js +1 -1
- package/dist/cjs/api-model/models/adhoc-disbursement-event.js +1 -1
- package/dist/cjs/api-model/models/adjustment-event.js +1 -1
- package/dist/cjs/api-model/models/adjustment-item.js +1 -1
- package/dist/cjs/api-model/models/affordability-expense-event.js +1 -1
- package/dist/cjs/api-model/models/capacity-reservation-billing-event.js +1 -1
- package/dist/cjs/api-model/models/charge-component.js +1 -1
- package/dist/cjs/api-model/models/charge-instrument.js +1 -1
- package/dist/cjs/api-model/models/charge-refund-event.js +1 -1
- package/dist/cjs/api-model/models/charge-refund-transaction.js +1 -1
- package/dist/cjs/api-model/models/coupon-payment-event.js +1 -1
- package/dist/cjs/api-model/models/currency.js +1 -1
- package/dist/cjs/api-model/models/debt-recovery-event.js +1 -1
- package/dist/cjs/api-model/models/debt-recovery-item.js +1 -1
- package/dist/cjs/api-model/models/direct-payment.js +1 -1
- package/dist/cjs/api-model/models/ebtrefund-reimbursement-only-event.js +15 -0
- package/dist/cjs/api-model/models/failed-adhoc-disbursement-event.js +1 -1
- package/dist/cjs/api-model/models/fbaliquidation-event.js +1 -1
- package/dist/cjs/api-model/models/fee-component.js +1 -1
- package/dist/cjs/api-model/models/financial-event-group.js +1 -1
- package/dist/cjs/api-model/models/financial-events.js +1 -1
- package/dist/cjs/api-model/models/imaging-services-fee-event.js +1 -1
- package/dist/cjs/api-model/models/index.js +1 -0
- package/dist/cjs/api-model/models/list-financial-event-groups-payload.js +1 -1
- package/dist/cjs/api-model/models/list-financial-event-groups-response.js +1 -1
- package/dist/cjs/api-model/models/list-financial-events-payload.js +1 -1
- package/dist/cjs/api-model/models/list-financial-events-response.js +1 -1
- package/dist/cjs/api-model/models/loan-servicing-event.js +1 -1
- package/dist/cjs/api-model/models/model-error.js +1 -1
- package/dist/cjs/api-model/models/network-commingling-transaction-event.js +1 -1
- package/dist/cjs/api-model/models/pay-with-amazon-event.js +1 -1
- package/dist/cjs/api-model/models/product-ads-payment-event.js +1 -1
- package/dist/cjs/api-model/models/promotion.js +1 -1
- package/dist/cjs/api-model/models/removal-shipment-adjustment-event.js +1 -1
- package/dist/cjs/api-model/models/removal-shipment-event.js +1 -1
- package/dist/cjs/api-model/models/removal-shipment-item-adjustment.js +1 -1
- package/dist/cjs/api-model/models/removal-shipment-item.js +1 -1
- package/dist/cjs/api-model/models/rental-transaction-event.js +1 -1
- package/dist/cjs/api-model/models/retrocharge-event.js +1 -1
- package/dist/cjs/api-model/models/safetreimbursement-event.js +1 -1
- package/dist/cjs/api-model/models/safetreimbursement-item.js +1 -1
- package/dist/cjs/api-model/models/seller-deal-payment-event.js +1 -1
- package/dist/cjs/api-model/models/seller-review-enrollment-payment-event.js +1 -1
- package/dist/cjs/api-model/models/service-fee-event.js +1 -1
- package/dist/cjs/api-model/models/shipment-event.js +1 -1
- package/dist/cjs/api-model/models/shipment-item.js +1 -1
- package/dist/cjs/api-model/models/solution-provider-credit-event.js +1 -1
- package/dist/cjs/api-model/models/tax-withheld-component.js +1 -1
- package/dist/cjs/api-model/models/tax-withholding-event.js +1 -1
- package/dist/cjs/api-model/models/tax-withholding-period.js +1 -1
- package/dist/cjs/api-model/models/tdsreimbursement-event.js +1 -1
- package/dist/cjs/api-model/models/trial-shipment-event.js +1 -1
- package/dist/cjs/api-model/models/value-added-service-charge-event.js +1 -1
- package/dist/cjs/index.js +0 -1
- package/dist/es/api-model/api/finances-api.js +49 -45
- package/dist/es/api-model/api.js +1 -1
- package/dist/es/api-model/base.js +1 -1
- package/dist/es/api-model/common.js +1 -1
- package/dist/es/api-model/configuration.js +13 -2
- package/dist/es/api-model/index.js +1 -1
- package/dist/es/api-model/models/adhoc-disbursement-event.js +1 -1
- package/dist/es/api-model/models/adjustment-event.js +1 -1
- package/dist/es/api-model/models/adjustment-item.js +1 -1
- package/dist/es/api-model/models/affordability-expense-event.js +1 -1
- package/dist/es/api-model/models/capacity-reservation-billing-event.js +1 -1
- package/dist/es/api-model/models/charge-component.js +1 -1
- package/dist/es/api-model/models/charge-instrument.js +1 -1
- package/dist/es/api-model/models/charge-refund-event.js +1 -1
- package/dist/es/api-model/models/charge-refund-transaction.js +1 -1
- package/dist/es/api-model/models/coupon-payment-event.js +1 -1
- package/dist/es/api-model/models/currency.js +1 -1
- package/dist/es/api-model/models/debt-recovery-event.js +1 -1
- package/dist/es/api-model/models/debt-recovery-item.js +1 -1
- package/dist/es/api-model/models/direct-payment.js +1 -1
- package/dist/es/api-model/models/ebtrefund-reimbursement-only-event.js +14 -0
- package/dist/es/api-model/models/failed-adhoc-disbursement-event.js +1 -1
- package/dist/es/api-model/models/fbaliquidation-event.js +1 -1
- package/dist/es/api-model/models/fee-component.js +1 -1
- package/dist/es/api-model/models/financial-event-group.js +1 -1
- package/dist/es/api-model/models/financial-events.js +1 -1
- package/dist/es/api-model/models/imaging-services-fee-event.js +1 -1
- package/dist/es/api-model/models/index.js +1 -0
- package/dist/es/api-model/models/list-financial-event-groups-payload.js +1 -1
- package/dist/es/api-model/models/list-financial-event-groups-response.js +1 -1
- package/dist/es/api-model/models/list-financial-events-payload.js +1 -1
- package/dist/es/api-model/models/list-financial-events-response.js +1 -1
- package/dist/es/api-model/models/loan-servicing-event.js +1 -1
- package/dist/es/api-model/models/model-error.js +1 -1
- package/dist/es/api-model/models/network-commingling-transaction-event.js +1 -1
- package/dist/es/api-model/models/pay-with-amazon-event.js +1 -1
- package/dist/es/api-model/models/product-ads-payment-event.js +1 -1
- package/dist/es/api-model/models/promotion.js +1 -1
- package/dist/es/api-model/models/removal-shipment-adjustment-event.js +1 -1
- package/dist/es/api-model/models/removal-shipment-event.js +1 -1
- package/dist/es/api-model/models/removal-shipment-item-adjustment.js +1 -1
- package/dist/es/api-model/models/removal-shipment-item.js +1 -1
- package/dist/es/api-model/models/rental-transaction-event.js +1 -1
- package/dist/es/api-model/models/retrocharge-event.js +1 -1
- package/dist/es/api-model/models/safetreimbursement-event.js +1 -1
- package/dist/es/api-model/models/safetreimbursement-item.js +1 -1
- package/dist/es/api-model/models/seller-deal-payment-event.js +1 -1
- package/dist/es/api-model/models/seller-review-enrollment-payment-event.js +1 -1
- package/dist/es/api-model/models/service-fee-event.js +1 -1
- package/dist/es/api-model/models/shipment-event.js +1 -1
- package/dist/es/api-model/models/shipment-item.js +1 -1
- package/dist/es/api-model/models/solution-provider-credit-event.js +1 -1
- package/dist/es/api-model/models/tax-withheld-component.js +1 -1
- package/dist/es/api-model/models/tax-withholding-event.js +1 -1
- package/dist/es/api-model/models/tax-withholding-period.js +1 -1
- package/dist/es/api-model/models/tdsreimbursement-event.js +1 -1
- package/dist/es/api-model/models/trial-shipment-event.js +1 -1
- package/dist/es/api-model/models/value-added-service-charge-event.js +1 -1
- package/dist/es/index.js +0 -1
- package/dist/types/api-model/api/finances-api.d.ts +59 -59
- package/dist/types/api-model/api.d.ts +1 -1
- package/dist/types/api-model/base.d.ts +1 -1
- package/dist/types/api-model/common.d.ts +1 -1
- package/dist/types/api-model/configuration.d.ts +25 -1
- package/dist/types/api-model/index.d.ts +1 -1
- package/dist/types/api-model/models/adhoc-disbursement-event.d.ts +3 -3
- package/dist/types/api-model/models/adjustment-event.d.ts +3 -3
- package/dist/types/api-model/models/adjustment-item.d.ts +2 -2
- package/dist/types/api-model/models/affordability-expense-event.d.ts +4 -4
- package/dist/types/api-model/models/capacity-reservation-billing-event.d.ts +3 -3
- package/dist/types/api-model/models/charge-component.d.ts +2 -2
- package/dist/types/api-model/models/charge-instrument.d.ts +1 -1
- package/dist/types/api-model/models/charge-refund-event.d.ts +4 -4
- package/dist/types/api-model/models/charge-refund-transaction.d.ts +1 -1
- package/dist/types/api-model/models/coupon-payment-event.d.ts +2 -2
- package/dist/types/api-model/models/currency.d.ts +2 -2
- package/dist/types/api-model/models/debt-recovery-event.d.ts +2 -2
- package/dist/types/api-model/models/debt-recovery-item.d.ts +3 -3
- package/dist/types/api-model/models/direct-payment.d.ts +2 -2
- package/dist/types/api-model/models/ebtrefund-reimbursement-only-event.d.ts +26 -0
- package/dist/types/api-model/models/failed-adhoc-disbursement-event.d.ts +5 -5
- package/dist/types/api-model/models/fbaliquidation-event.d.ts +2 -2
- package/dist/types/api-model/models/fee-component.d.ts +1 -1
- package/dist/types/api-model/models/financial-event-group.d.ts +5 -5
- package/dist/types/api-model/models/financial-events.d.ts +13 -8
- package/dist/types/api-model/models/imaging-services-fee-event.d.ts +2 -2
- package/dist/types/api-model/models/index.d.ts +1 -0
- package/dist/types/api-model/models/list-financial-event-groups-payload.d.ts +2 -2
- package/dist/types/api-model/models/list-financial-event-groups-response.d.ts +2 -2
- package/dist/types/api-model/models/list-financial-events-payload.d.ts +2 -2
- package/dist/types/api-model/models/list-financial-events-response.d.ts +2 -2
- package/dist/types/api-model/models/loan-servicing-event.d.ts +2 -2
- package/dist/types/api-model/models/model-error.d.ts +1 -1
- package/dist/types/api-model/models/network-commingling-transaction-event.d.ts +3 -3
- package/dist/types/api-model/models/pay-with-amazon-event.d.ts +5 -5
- package/dist/types/api-model/models/product-ads-payment-event.d.ts +4 -4
- package/dist/types/api-model/models/promotion.d.ts +1 -1
- package/dist/types/api-model/models/removal-shipment-adjustment-event.d.ts +4 -4
- package/dist/types/api-model/models/removal-shipment-event.d.ts +5 -5
- package/dist/types/api-model/models/removal-shipment-item-adjustment.d.ts +3 -3
- package/dist/types/api-model/models/removal-shipment-item.d.ts +2 -2
- package/dist/types/api-model/models/rental-transaction-event.d.ts +4 -4
- package/dist/types/api-model/models/retrocharge-event.d.ts +3 -3
- package/dist/types/api-model/models/safetreimbursement-event.d.ts +3 -3
- package/dist/types/api-model/models/safetreimbursement-item.d.ts +1 -1
- package/dist/types/api-model/models/seller-deal-payment-event.d.ts +4 -4
- package/dist/types/api-model/models/seller-review-enrollment-payment-event.d.ts +2 -2
- package/dist/types/api-model/models/service-fee-event.d.ts +1 -1
- package/dist/types/api-model/models/shipment-event.d.ts +2 -2
- package/dist/types/api-model/models/shipment-item.d.ts +1 -1
- package/dist/types/api-model/models/solution-provider-credit-event.d.ts +2 -2
- package/dist/types/api-model/models/tax-withheld-component.d.ts +2 -2
- package/dist/types/api-model/models/tax-withholding-event.d.ts +3 -3
- package/dist/types/api-model/models/tax-withholding-period.d.ts +4 -4
- package/dist/types/api-model/models/tdsreimbursement-event.d.ts +2 -2
- package/dist/types/api-model/models/trial-shipment-event.d.ts +2 -2
- package/dist/types/api-model/models/value-added-service-charge-event.d.ts +3 -3
- package/dist/types/index.d.ts +1 -1
- package/package.json +5 -5
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Selling Partner API for Finances
|
|
5
|
-
* The Selling Partner API for Finances
|
|
5
|
+
* The Selling Partner API for Finances provides financial information that is relevant to a seller\'s business. You can obtain financial events for a given order, financial event group, or date range without having to wait until a statement period closes. You can also obtain financial event groups for a given date range.
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: v0
|
|
8
8
|
*
|
|
@@ -23,11 +23,11 @@ import { BASE_PATH, BaseAPI, operationServerMap } from '../base';
|
|
|
23
23
|
export const FinancesApiAxiosParamCreator = function (configuration) {
|
|
24
24
|
return {
|
|
25
25
|
/**
|
|
26
|
-
* Returns financial event groups for a given date range.
|
|
27
|
-
* @param {number} [maxResultsPerPage] The maximum number of results
|
|
28
|
-
* @param {string} [financialEventGroupStartedBefore] A date
|
|
29
|
-
* @param {string} [financialEventGroupStartedAfter] A date
|
|
30
|
-
* @param {string} [nextToken]
|
|
26
|
+
* Returns financial event groups for a given date range. Orders from the last 48 hours might not be included in 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 preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput can have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits).
|
|
27
|
+
* @param {number} [maxResultsPerPage] The maximum number of results per page. If the response exceeds the maximum number of transactions or 10 MB, the response is `InvalidInput`.
|
|
28
|
+
* @param {string} [financialEventGroupStartedBefore] A date that selects financial event groups that opened before (but not at) a specified date and time, in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format. The date-time must be after `FinancialEventGroupStartedAfter` and more than two minutes before the time of request. If `FinancialEventGroupStartedAfter` and `FinancialEventGroupStartedBefore` are more than 180 days apart, no financial event groups are returned.
|
|
29
|
+
* @param {string} [financialEventGroupStartedAfter] A date that selects financial event groups that opened after (or at) a specified date and time, in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format. The date-time must be more than two minutes before you submit the request.
|
|
30
|
+
* @param {string} [nextToken] The response includes `nextToken` when the number of results exceeds the specified `pageSize` value. To get the next page of results, call the operation with this token and include the same arguments as the call that produced the token. To get a complete list, call this operation until `nextToken` is null. Note that this operation can return empty pages.
|
|
31
31
|
* @param {*} [options] Override http request option.
|
|
32
32
|
* @throws {RequiredError}
|
|
33
33
|
*/
|
|
@@ -58,6 +58,7 @@ export const FinancesApiAxiosParamCreator = function (configuration) {
|
|
|
58
58
|
if (nextToken !== undefined) {
|
|
59
59
|
localVarQueryParameter['NextToken'] = nextToken;
|
|
60
60
|
}
|
|
61
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
61
62
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
62
63
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
63
64
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -67,11 +68,11 @@ export const FinancesApiAxiosParamCreator = function (configuration) {
|
|
|
67
68
|
};
|
|
68
69
|
},
|
|
69
70
|
/**
|
|
70
|
-
* Returns financial events for the specified data range.
|
|
71
|
-
* @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
|
|
72
|
-
* @param {string} [postedAfter]
|
|
73
|
-
* @param {string} [postedBefore]
|
|
74
|
-
* @param {string} [nextToken]
|
|
71
|
+
* Returns financial events for the specified data range. Orders from the last 48 hours might not be included in financial events. **Note:** in `ListFinancialEvents`, deferred events don\'t show up in responses until 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 preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput can have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits).
|
|
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 response is `InvalidInput`.
|
|
73
|
+
* @param {string} [postedAfter] The response includes financial events posted after (or on) this date. This date must be in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format. The date-time must be more than two minutes before the time of the request.
|
|
74
|
+
* @param {string} [postedBefore] The response includes financial events posted before (but not on) this date. This date must be in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format. The date-time must be later than `PostedAfter` and more than two minutes before the request was submitted. If `PostedAfter` and `PostedBefore` are more than 180 days apart, the response is empty. If you include the `PostedBefore` parameter in your request, you must also specify the `PostedAfter` parameter. **Default:** Two minutes before the time of the request.
|
|
75
|
+
* @param {string} [nextToken] The response includes `nextToken` when the number of results exceeds the specified `pageSize` value. To get the next page of results, call the operation with this token and include the same arguments as the call that produced the token. To get a complete list, call this operation until `nextToken` is null. Note that this operation can return empty pages.
|
|
75
76
|
* @param {*} [options] Override http request option.
|
|
76
77
|
* @throws {RequiredError}
|
|
77
78
|
*/
|
|
@@ -102,6 +103,7 @@ export const FinancesApiAxiosParamCreator = function (configuration) {
|
|
|
102
103
|
if (nextToken !== undefined) {
|
|
103
104
|
localVarQueryParameter['NextToken'] = nextToken;
|
|
104
105
|
}
|
|
106
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
105
107
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
106
108
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
107
109
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -111,12 +113,12 @@ export const FinancesApiAxiosParamCreator = function (configuration) {
|
|
|
111
113
|
};
|
|
112
114
|
},
|
|
113
115
|
/**
|
|
114
|
-
* Returns all financial events for the specified financial event group.
|
|
116
|
+
* Returns all financial events for the specified financial event group. Orders from the last 48 hours might not be included in financial events. **Note:** This operation only retrieves a group\'s data for the past two years. A request for data spanning more than two years produces an empty response. **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 preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput can have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits).
|
|
115
117
|
* @param {string} eventGroupId The identifier of the financial event group to which the events belong.
|
|
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
|
|
117
|
-
* @param {string} [postedAfter]
|
|
118
|
-
* @param {string} [postedBefore]
|
|
119
|
-
* @param {string} [nextToken]
|
|
118
|
+
* @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 response is `InvalidInput`.
|
|
119
|
+
* @param {string} [postedAfter] The response includes financial events posted after (or on) this date. This date must be in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format. The date-time must be more than two minutes before the time of the request.
|
|
120
|
+
* @param {string} [postedBefore] The response includes financial events posted before (but not on) this date. This date must be in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format. The date-time must be later than `PostedAfter` and more than two minutes before the request was submitted. If `PostedAfter` and `PostedBefore` are more than 180 days apart, the response is empty. If you include the `PostedBefore` parameter in your request, you must also specify the `PostedAfter` parameter. **Default:** Two minutes before the time of the request.
|
|
121
|
+
* @param {string} [nextToken] The response includes `nextToken` when the number of results exceeds the specified `pageSize` value. To get the next page of results, call the operation with this token and include the same arguments as the call that produced the token. To get a complete list, call this operation until `nextToken` is null. Note that this operation can return empty pages.
|
|
120
122
|
* @param {*} [options] Override http request option.
|
|
121
123
|
* @throws {RequiredError}
|
|
122
124
|
*/
|
|
@@ -150,6 +152,7 @@ export const FinancesApiAxiosParamCreator = function (configuration) {
|
|
|
150
152
|
if (nextToken !== undefined) {
|
|
151
153
|
localVarQueryParameter['NextToken'] = nextToken;
|
|
152
154
|
}
|
|
155
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
153
156
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
154
157
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
155
158
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -159,10 +162,10 @@ export const FinancesApiAxiosParamCreator = function (configuration) {
|
|
|
159
162
|
};
|
|
160
163
|
},
|
|
161
164
|
/**
|
|
162
|
-
* Returns all financial events for the specified order.
|
|
165
|
+
* Returns all financial events for the specified order. Orders from the last 48 hours might not be included in 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 preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput can have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits).
|
|
163
166
|
* @param {string} orderId An Amazon-defined order identifier, in 3-7-7 format.
|
|
164
|
-
* @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
|
|
165
|
-
* @param {string} [nextToken]
|
|
167
|
+
* @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 response is `InvalidInput`.
|
|
168
|
+
* @param {string} [nextToken] The response includes `nextToken` when the number of results exceeds the specified `pageSize` value. To get the next page of results, call the operation with this token and include the same arguments as the call that produced the token. To get a complete list, call this operation until `nextToken` is null. Note that this operation can return empty pages.
|
|
166
169
|
* @param {*} [options] Override http request option.
|
|
167
170
|
* @throws {RequiredError}
|
|
168
171
|
*/
|
|
@@ -186,6 +189,7 @@ export const FinancesApiAxiosParamCreator = function (configuration) {
|
|
|
186
189
|
if (nextToken !== undefined) {
|
|
187
190
|
localVarQueryParameter['NextToken'] = nextToken;
|
|
188
191
|
}
|
|
192
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
189
193
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
190
194
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
191
195
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -203,11 +207,11 @@ export const FinancesApiFp = function (configuration) {
|
|
|
203
207
|
const localVarAxiosParamCreator = FinancesApiAxiosParamCreator(configuration);
|
|
204
208
|
return {
|
|
205
209
|
/**
|
|
206
|
-
* Returns financial event groups for a given date range.
|
|
207
|
-
* @param {number} [maxResultsPerPage] The maximum number of results
|
|
208
|
-
* @param {string} [financialEventGroupStartedBefore] A date
|
|
209
|
-
* @param {string} [financialEventGroupStartedAfter] A date
|
|
210
|
-
* @param {string} [nextToken]
|
|
210
|
+
* Returns financial event groups for a given date range. Orders from the last 48 hours might not be included in 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 preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput can have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits).
|
|
211
|
+
* @param {number} [maxResultsPerPage] The maximum number of results per page. If the response exceeds the maximum number of transactions or 10 MB, the response is `InvalidInput`.
|
|
212
|
+
* @param {string} [financialEventGroupStartedBefore] A date that selects financial event groups that opened before (but not at) a specified date and time, in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format. The date-time must be after `FinancialEventGroupStartedAfter` and more than two minutes before the time of request. If `FinancialEventGroupStartedAfter` and `FinancialEventGroupStartedBefore` are more than 180 days apart, no financial event groups are returned.
|
|
213
|
+
* @param {string} [financialEventGroupStartedAfter] A date that selects financial event groups that opened after (or at) a specified date and time, in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format. The date-time must be more than two minutes before you submit the request.
|
|
214
|
+
* @param {string} [nextToken] The response includes `nextToken` when the number of results exceeds the specified `pageSize` value. To get the next page of results, call the operation with this token and include the same arguments as the call that produced the token. To get a complete list, call this operation until `nextToken` is null. Note that this operation can return empty pages.
|
|
211
215
|
* @param {*} [options] Override http request option.
|
|
212
216
|
* @throws {RequiredError}
|
|
213
217
|
*/
|
|
@@ -218,11 +222,11 @@ export const FinancesApiFp = function (configuration) {
|
|
|
218
222
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
219
223
|
},
|
|
220
224
|
/**
|
|
221
|
-
* Returns financial events for the specified data range.
|
|
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
|
|
223
|
-
* @param {string} [postedAfter]
|
|
224
|
-
* @param {string} [postedBefore]
|
|
225
|
-
* @param {string} [nextToken]
|
|
225
|
+
* Returns financial events for the specified data range. Orders from the last 48 hours might not be included in financial events. **Note:** in `ListFinancialEvents`, deferred events don\'t show up in responses until 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 preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput can have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits).
|
|
226
|
+
* @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 response is `InvalidInput`.
|
|
227
|
+
* @param {string} [postedAfter] The response includes financial events posted after (or on) this date. This date must be in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format. The date-time must be more than two minutes before the time of the request.
|
|
228
|
+
* @param {string} [postedBefore] The response includes financial events posted before (but not on) this date. This date must be in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format. The date-time must be later than `PostedAfter` and more than two minutes before the request was submitted. If `PostedAfter` and `PostedBefore` are more than 180 days apart, the response is empty. If you include the `PostedBefore` parameter in your request, you must also specify the `PostedAfter` parameter. **Default:** Two minutes before the time of the request.
|
|
229
|
+
* @param {string} [nextToken] The response includes `nextToken` when the number of results exceeds the specified `pageSize` value. To get the next page of results, call the operation with this token and include the same arguments as the call that produced the token. To get a complete list, call this operation until `nextToken` is null. Note that this operation can return empty pages.
|
|
226
230
|
* @param {*} [options] Override http request option.
|
|
227
231
|
* @throws {RequiredError}
|
|
228
232
|
*/
|
|
@@ -233,12 +237,12 @@ export const FinancesApiFp = function (configuration) {
|
|
|
233
237
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
234
238
|
},
|
|
235
239
|
/**
|
|
236
|
-
* Returns all financial events for the specified financial event group.
|
|
240
|
+
* Returns all financial events for the specified financial event group. Orders from the last 48 hours might not be included in financial events. **Note:** This operation only retrieves a group\'s data for the past two years. A request for data spanning more than two years produces an empty response. **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 preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput can have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits).
|
|
237
241
|
* @param {string} eventGroupId The identifier of the financial event group to which the events belong.
|
|
238
|
-
* @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
|
|
239
|
-
* @param {string} [postedAfter]
|
|
240
|
-
* @param {string} [postedBefore]
|
|
241
|
-
* @param {string} [nextToken]
|
|
242
|
+
* @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 response is `InvalidInput`.
|
|
243
|
+
* @param {string} [postedAfter] The response includes financial events posted after (or on) this date. This date must be in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format. The date-time must be more than two minutes before the time of the request.
|
|
244
|
+
* @param {string} [postedBefore] The response includes financial events posted before (but not on) this date. This date must be in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format. The date-time must be later than `PostedAfter` and more than two minutes before the request was submitted. If `PostedAfter` and `PostedBefore` are more than 180 days apart, the response is empty. If you include the `PostedBefore` parameter in your request, you must also specify the `PostedAfter` parameter. **Default:** Two minutes before the time of the request.
|
|
245
|
+
* @param {string} [nextToken] The response includes `nextToken` when the number of results exceeds the specified `pageSize` value. To get the next page of results, call the operation with this token and include the same arguments as the call that produced the token. To get a complete list, call this operation until `nextToken` is null. Note that this operation can return empty pages.
|
|
242
246
|
* @param {*} [options] Override http request option.
|
|
243
247
|
* @throws {RequiredError}
|
|
244
248
|
*/
|
|
@@ -249,10 +253,10 @@ export const FinancesApiFp = function (configuration) {
|
|
|
249
253
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
250
254
|
},
|
|
251
255
|
/**
|
|
252
|
-
* Returns all financial events for the specified order.
|
|
256
|
+
* Returns all financial events for the specified order. Orders from the last 48 hours might not be included in 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 preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput can have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits).
|
|
253
257
|
* @param {string} orderId An Amazon-defined order identifier, in 3-7-7 format.
|
|
254
|
-
* @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
|
|
255
|
-
* @param {string} [nextToken]
|
|
258
|
+
* @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 response is `InvalidInput`.
|
|
259
|
+
* @param {string} [nextToken] The response includes `nextToken` when the number of results exceeds the specified `pageSize` value. To get the next page of results, call the operation with this token and include the same arguments as the call that produced the token. To get a complete list, call this operation until `nextToken` is null. Note that this operation can return empty pages.
|
|
256
260
|
* @param {*} [options] Override http request option.
|
|
257
261
|
* @throws {RequiredError}
|
|
258
262
|
*/
|
|
@@ -271,7 +275,7 @@ export const FinancesApiFactory = function (configuration, basePath, axios) {
|
|
|
271
275
|
const localVarFp = FinancesApiFp(configuration);
|
|
272
276
|
return {
|
|
273
277
|
/**
|
|
274
|
-
* Returns financial event groups for a given date range.
|
|
278
|
+
* Returns financial event groups for a given date range. Orders from the last 48 hours might not be included in 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 preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput can have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits).
|
|
275
279
|
* @param {FinancesApiListFinancialEventGroupsRequest} requestParameters Request parameters.
|
|
276
280
|
* @param {*} [options] Override http request option.
|
|
277
281
|
* @throws {RequiredError}
|
|
@@ -280,7 +284,7 @@ export const FinancesApiFactory = function (configuration, basePath, axios) {
|
|
|
280
284
|
return localVarFp.listFinancialEventGroups(requestParameters.maxResultsPerPage, requestParameters.financialEventGroupStartedBefore, requestParameters.financialEventGroupStartedAfter, requestParameters.nextToken, options).then((request) => request(axios, basePath));
|
|
281
285
|
},
|
|
282
286
|
/**
|
|
283
|
-
* Returns financial events for the specified data range.
|
|
287
|
+
* Returns financial events for the specified data range. Orders from the last 48 hours might not be included in financial events. **Note:** in `ListFinancialEvents`, deferred events don\'t show up in responses until 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 preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput can have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits).
|
|
284
288
|
* @param {FinancesApiListFinancialEventsRequest} requestParameters Request parameters.
|
|
285
289
|
* @param {*} [options] Override http request option.
|
|
286
290
|
* @throws {RequiredError}
|
|
@@ -289,7 +293,7 @@ export const FinancesApiFactory = function (configuration, basePath, axios) {
|
|
|
289
293
|
return localVarFp.listFinancialEvents(requestParameters.maxResultsPerPage, requestParameters.postedAfter, requestParameters.postedBefore, requestParameters.nextToken, options).then((request) => request(axios, basePath));
|
|
290
294
|
},
|
|
291
295
|
/**
|
|
292
|
-
* Returns all financial events for the specified financial event group.
|
|
296
|
+
* Returns all financial events for the specified financial event group. Orders from the last 48 hours might not be included in financial events. **Note:** This operation only retrieves a group\'s data for the past two years. A request for data spanning more than two years produces an empty response. **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 preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput can have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits).
|
|
293
297
|
* @param {FinancesApiListFinancialEventsByGroupIdRequest} requestParameters Request parameters.
|
|
294
298
|
* @param {*} [options] Override http request option.
|
|
295
299
|
* @throws {RequiredError}
|
|
@@ -298,7 +302,7 @@ export const FinancesApiFactory = function (configuration, basePath, axios) {
|
|
|
298
302
|
return localVarFp.listFinancialEventsByGroupId(requestParameters.eventGroupId, requestParameters.maxResultsPerPage, requestParameters.postedAfter, requestParameters.postedBefore, requestParameters.nextToken, options).then((request) => request(axios, basePath));
|
|
299
303
|
},
|
|
300
304
|
/**
|
|
301
|
-
* Returns all financial events for the specified order.
|
|
305
|
+
* Returns all financial events for the specified order. Orders from the last 48 hours might not be included in 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 preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput can have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits).
|
|
302
306
|
* @param {FinancesApiListFinancialEventsByOrderIdRequest} requestParameters Request parameters.
|
|
303
307
|
* @param {*} [options] Override http request option.
|
|
304
308
|
* @throws {RequiredError}
|
|
@@ -313,7 +317,7 @@ export const FinancesApiFactory = function (configuration, basePath, axios) {
|
|
|
313
317
|
*/
|
|
314
318
|
export class FinancesApi extends BaseAPI {
|
|
315
319
|
/**
|
|
316
|
-
* Returns financial event groups for a given date range.
|
|
320
|
+
* Returns financial event groups for a given date range. Orders from the last 48 hours might not be included in 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 preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput can have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits).
|
|
317
321
|
* @param {FinancesApiListFinancialEventGroupsRequest} requestParameters Request parameters.
|
|
318
322
|
* @param {*} [options] Override http request option.
|
|
319
323
|
* @throws {RequiredError}
|
|
@@ -322,7 +326,7 @@ export class FinancesApi extends BaseAPI {
|
|
|
322
326
|
return FinancesApiFp(this.configuration).listFinancialEventGroups(requestParameters.maxResultsPerPage, requestParameters.financialEventGroupStartedBefore, requestParameters.financialEventGroupStartedAfter, requestParameters.nextToken, options).then((request) => request(this.axios, this.basePath));
|
|
323
327
|
}
|
|
324
328
|
/**
|
|
325
|
-
* Returns financial events for the specified data range.
|
|
329
|
+
* Returns financial events for the specified data range. Orders from the last 48 hours might not be included in financial events. **Note:** in `ListFinancialEvents`, deferred events don\'t show up in responses until 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 preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput can have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits).
|
|
326
330
|
* @param {FinancesApiListFinancialEventsRequest} requestParameters Request parameters.
|
|
327
331
|
* @param {*} [options] Override http request option.
|
|
328
332
|
* @throws {RequiredError}
|
|
@@ -331,7 +335,7 @@ export class FinancesApi extends BaseAPI {
|
|
|
331
335
|
return FinancesApiFp(this.configuration).listFinancialEvents(requestParameters.maxResultsPerPage, requestParameters.postedAfter, requestParameters.postedBefore, requestParameters.nextToken, options).then((request) => request(this.axios, this.basePath));
|
|
332
336
|
}
|
|
333
337
|
/**
|
|
334
|
-
* Returns all financial events for the specified financial event group.
|
|
338
|
+
* Returns all financial events for the specified financial event group. Orders from the last 48 hours might not be included in financial events. **Note:** This operation only retrieves a group\'s data for the past two years. A request for data spanning more than two years produces an empty response. **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 preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput can have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits).
|
|
335
339
|
* @param {FinancesApiListFinancialEventsByGroupIdRequest} requestParameters Request parameters.
|
|
336
340
|
* @param {*} [options] Override http request option.
|
|
337
341
|
* @throws {RequiredError}
|
|
@@ -340,7 +344,7 @@ export class FinancesApi extends BaseAPI {
|
|
|
340
344
|
return FinancesApiFp(this.configuration).listFinancialEventsByGroupId(requestParameters.eventGroupId, requestParameters.maxResultsPerPage, requestParameters.postedAfter, requestParameters.postedBefore, requestParameters.nextToken, options).then((request) => request(this.axios, this.basePath));
|
|
341
345
|
}
|
|
342
346
|
/**
|
|
343
|
-
* Returns all financial events for the specified order.
|
|
347
|
+
* Returns all financial events for the specified order. Orders from the last 48 hours might not be included in 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 preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput can have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits).
|
|
344
348
|
* @param {FinancesApiListFinancialEventsByOrderIdRequest} requestParameters Request parameters.
|
|
345
349
|
* @param {*} [options] Override http request option.
|
|
346
350
|
* @throws {RequiredError}
|
package/dist/es/api-model/api.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Selling Partner API for Finances
|
|
5
|
-
* The Selling Partner API for Finances
|
|
5
|
+
* The Selling Partner API for Finances provides financial information that is relevant to a seller\'s business. You can obtain financial events for a given order, financial event group, or date range without having to wait until a statement period closes. You can also obtain financial event groups for a given date range.
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: v0
|
|
8
8
|
*
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Selling Partner API for Finances
|
|
5
|
-
* The Selling Partner API for Finances
|
|
5
|
+
* The Selling Partner API for Finances provides financial information that is relevant to a seller\'s business. You can obtain financial events for a given order, financial event group, or date range without having to wait until a statement period closes. You can also obtain financial event groups for a given date range.
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: v0
|
|
8
8
|
*
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Selling Partner API for Finances
|
|
5
|
-
* The Selling Partner API for Finances
|
|
5
|
+
* The Selling Partner API for Finances provides financial information that is relevant to a seller\'s business. You can obtain financial events for a given order, financial event group, or date range without having to wait until a statement period closes. You can also obtain financial event groups for a given date range.
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: v0
|
|
8
8
|
*
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
2
|
/**
|
|
4
3
|
* Selling Partner API for Finances
|
|
5
|
-
* The Selling Partner API for Finances
|
|
4
|
+
* The Selling Partner API for Finances provides financial information that is relevant to a seller\'s business. You can obtain financial events for a given order, financial event group, or date range without having to wait until a statement period closes. You can also obtain financial event groups for a given date range.
|
|
6
5
|
*
|
|
7
6
|
* The version of the OpenAPI document: v0
|
|
8
7
|
*
|
|
@@ -31,6 +30,17 @@ export class Configuration {
|
|
|
31
30
|
* @param scopes oauth2 scope
|
|
32
31
|
*/
|
|
33
32
|
accessToken;
|
|
33
|
+
/**
|
|
34
|
+
* parameter for aws4 signature security
|
|
35
|
+
* @param {Object} AWS4Signature - AWS4 Signature security
|
|
36
|
+
* @param {string} options.region - aws region
|
|
37
|
+
* @param {string} options.service - name of the service.
|
|
38
|
+
* @param {string} credentials.accessKeyId - aws access key id
|
|
39
|
+
* @param {string} credentials.secretAccessKey - aws access key
|
|
40
|
+
* @param {string} credentials.sessionToken - aws session token
|
|
41
|
+
* @memberof Configuration
|
|
42
|
+
*/
|
|
43
|
+
awsv4;
|
|
34
44
|
/**
|
|
35
45
|
* override base path
|
|
36
46
|
*/
|
|
@@ -56,6 +66,7 @@ export class Configuration {
|
|
|
56
66
|
this.username = param.username;
|
|
57
67
|
this.password = param.password;
|
|
58
68
|
this.accessToken = param.accessToken;
|
|
69
|
+
this.awsv4 = param.awsv4;
|
|
59
70
|
this.basePath = param.basePath;
|
|
60
71
|
this.serverIndex = param.serverIndex;
|
|
61
72
|
this.baseOptions = {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Selling Partner API for Finances
|
|
5
|
-
* The Selling Partner API for Finances
|
|
5
|
+
* The Selling Partner API for Finances provides financial information that is relevant to a seller\'s business. You can obtain financial events for a given order, financial event group, or date range without having to wait until a statement period closes. You can also obtain financial event groups for a given date range.
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: v0
|
|
8
8
|
*
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Selling Partner API for Finances
|
|
5
|
-
* The Selling Partner API for Finances
|
|
5
|
+
* The Selling Partner API for Finances provides financial information that is relevant to a seller\'s business. You can obtain financial events for a given order, financial event group, or date range without having to wait until a statement period closes. You can also obtain financial event groups for a given date range.
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: v0
|
|
8
8
|
*
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Selling Partner API for Finances
|
|
5
|
-
* The Selling Partner API for Finances
|
|
5
|
+
* The Selling Partner API for Finances provides financial information that is relevant to a seller\'s business. You can obtain financial events for a given order, financial event group, or date range without having to wait until a statement period closes. You can also obtain financial event groups for a given date range.
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: v0
|
|
8
8
|
*
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Selling Partner API for Finances
|
|
5
|
-
* The Selling Partner API for Finances
|
|
5
|
+
* The Selling Partner API for Finances provides financial information that is relevant to a seller\'s business. You can obtain financial events for a given order, financial event group, or date range without having to wait until a statement period closes. You can also obtain financial event groups for a given date range.
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: v0
|
|
8
8
|
*
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Selling Partner API for Finances
|
|
5
|
-
* The Selling Partner API for Finances
|
|
5
|
+
* The Selling Partner API for Finances provides financial information that is relevant to a seller\'s business. You can obtain financial events for a given order, financial event group, or date range without having to wait until a statement period closes. You can also obtain financial event groups for a given date range.
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: v0
|
|
8
8
|
*
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Selling Partner API for Finances
|
|
5
|
-
* The Selling Partner API for Finances
|
|
5
|
+
* The Selling Partner API for Finances provides financial information that is relevant to a seller\'s business. You can obtain financial events for a given order, financial event group, or date range without having to wait until a statement period closes. You can also obtain financial event groups for a given date range.
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: v0
|
|
8
8
|
*
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Selling Partner API for Finances
|
|
5
|
-
* The Selling Partner API for Finances
|
|
5
|
+
* The Selling Partner API for Finances provides financial information that is relevant to a seller\'s business. You can obtain financial events for a given order, financial event group, or date range without having to wait until a statement period closes. You can also obtain financial event groups for a given date range.
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: v0
|
|
8
8
|
*
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Selling Partner API for Finances
|
|
5
|
-
* The Selling Partner API for Finances
|
|
5
|
+
* The Selling Partner API for Finances provides financial information that is relevant to a seller\'s business. You can obtain financial events for a given order, financial event group, or date range without having to wait until a statement period closes. You can also obtain financial event groups for a given date range.
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: v0
|
|
8
8
|
*
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Selling Partner API for Finances
|
|
5
|
-
* The Selling Partner API for Finances
|
|
5
|
+
* The Selling Partner API for Finances provides financial information that is relevant to a seller\'s business. You can obtain financial events for a given order, financial event group, or date range without having to wait until a statement period closes. You can also obtain financial event groups for a given date range.
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: v0
|
|
8
8
|
*
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Selling Partner API for Finances
|
|
5
|
-
* The Selling Partner API for Finances
|
|
5
|
+
* The Selling Partner API for Finances provides financial information that is relevant to a seller\'s business. You can obtain financial events for a given order, financial event group, or date range without having to wait until a statement period closes. You can also obtain financial event groups for a given date range.
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: v0
|
|
8
8
|
*
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Selling Partner API for Finances
|
|
5
|
-
* The Selling Partner API for Finances
|
|
5
|
+
* The Selling Partner API for Finances provides financial information that is relevant to a seller\'s business. You can obtain financial events for a given order, financial event group, or date range without having to wait until a statement period closes. You can also obtain financial event groups for a given date range.
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: v0
|
|
8
8
|
*
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Selling Partner API for Finances
|
|
5
|
-
* The Selling Partner API for Finances
|
|
5
|
+
* The Selling Partner API for Finances provides financial information that is relevant to a seller\'s business. You can obtain financial events for a given order, financial event group, or date range without having to wait until a statement period closes. You can also obtain financial event groups for a given date range.
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: v0
|
|
8
8
|
*
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Selling Partner API for Finances
|
|
5
|
-
* The Selling Partner API for Finances
|
|
5
|
+
* The Selling Partner API for Finances provides financial information that is relevant to a seller\'s business. You can obtain financial events for a given order, financial event group, or date range without having to wait until a statement period closes. You can also obtain financial event groups for a given date range.
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: v0
|
|
8
8
|
*
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Selling Partner API for Finances
|
|
5
|
-
* The Selling Partner API for Finances
|
|
5
|
+
* The Selling Partner API for Finances provides financial information that is relevant to a seller\'s business. You can obtain financial events for a given order, financial event group, or date range without having to wait until a statement period closes. You can also obtain financial event groups for a given date range.
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: v0
|
|
8
8
|
*
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Selling Partner API for Finances
|
|
5
|
-
* The Selling Partner API for Finances
|
|
5
|
+
* The Selling Partner API for Finances provides financial information that is relevant to a seller\'s business. You can obtain financial events for a given order, financial event group, or date range without having to wait until a statement period closes. You can also obtain financial event groups for a given date range.
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: v0
|
|
8
8
|
*
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Selling Partner API for Finances
|
|
5
|
+
* The Selling Partner API for Finances provides financial information that is relevant to a seller\'s business. You can obtain financial events for a given order, financial event group, or date range without having to wait until a statement period closes. You can also obtain financial event groups for a given date range.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
export {};
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Selling Partner API for Finances
|
|
5
|
-
* The Selling Partner API for Finances
|
|
5
|
+
* The Selling Partner API for Finances provides financial information that is relevant to a seller\'s business. You can obtain financial events for a given order, financial event group, or date range without having to wait until a statement period closes. You can also obtain financial event groups for a given date range.
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: v0
|
|
8
8
|
*
|