@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
package/README.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
[](https://www.npmjs.com/package/@sp-api-sdk/finances-api-v0)
|
|
4
4
|
[](https://github.com/xojs/xo)
|
|
5
5
|
|
|
6
|
-
The Selling Partner API for Finances
|
|
6
|
+
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.
|
|
7
7
|
|
|
8
8
|
[<img src="https://files.bizon.solutions/images/logo/bizon-horizontal.png" alt="Bizon" width="250"/>](https://www.bizon.solutions?utm_source=github&utm_medium=readme&utm_campaign=selling-partner-api-sdk)
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Selling Partner API for Finances
|
|
6
|
-
* The Selling Partner API for Finances
|
|
6
|
+
* 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.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: v0
|
|
9
9
|
*
|
|
@@ -29,11 +29,11 @@ const base_1 = require("../base");
|
|
|
29
29
|
const FinancesApiAxiosParamCreator = function (configuration) {
|
|
30
30
|
return {
|
|
31
31
|
/**
|
|
32
|
-
* Returns financial event groups for a given date range.
|
|
33
|
-
* @param {number} [maxResultsPerPage] The maximum number of results
|
|
34
|
-
* @param {string} [financialEventGroupStartedBefore] A date
|
|
35
|
-
* @param {string} [financialEventGroupStartedAfter] A date
|
|
36
|
-
* @param {string} [nextToken]
|
|
32
|
+
* 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).
|
|
33
|
+
* @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`.
|
|
34
|
+
* @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.
|
|
35
|
+
* @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.
|
|
36
|
+
* @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.
|
|
37
37
|
* @param {*} [options] Override http request option.
|
|
38
38
|
* @throws {RequiredError}
|
|
39
39
|
*/
|
|
@@ -64,6 +64,7 @@ const FinancesApiAxiosParamCreator = function (configuration) {
|
|
|
64
64
|
if (nextToken !== undefined) {
|
|
65
65
|
localVarQueryParameter['NextToken'] = nextToken;
|
|
66
66
|
}
|
|
67
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
67
68
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
68
69
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
69
70
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -73,11 +74,11 @@ const FinancesApiAxiosParamCreator = function (configuration) {
|
|
|
73
74
|
};
|
|
74
75
|
},
|
|
75
76
|
/**
|
|
76
|
-
* Returns financial events for the specified data range.
|
|
77
|
-
* @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
|
|
78
|
-
* @param {string} [postedAfter]
|
|
79
|
-
* @param {string} [postedBefore]
|
|
80
|
-
* @param {string} [nextToken]
|
|
77
|
+
* 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).
|
|
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 response is `InvalidInput`.
|
|
79
|
+
* @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.
|
|
80
|
+
* @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.
|
|
81
|
+
* @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.
|
|
81
82
|
* @param {*} [options] Override http request option.
|
|
82
83
|
* @throws {RequiredError}
|
|
83
84
|
*/
|
|
@@ -108,6 +109,7 @@ const FinancesApiAxiosParamCreator = function (configuration) {
|
|
|
108
109
|
if (nextToken !== undefined) {
|
|
109
110
|
localVarQueryParameter['NextToken'] = nextToken;
|
|
110
111
|
}
|
|
112
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
111
113
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
112
114
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
113
115
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -117,12 +119,12 @@ const FinancesApiAxiosParamCreator = function (configuration) {
|
|
|
117
119
|
};
|
|
118
120
|
},
|
|
119
121
|
/**
|
|
120
|
-
* Returns all financial events for the specified financial event group.
|
|
122
|
+
* 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).
|
|
121
123
|
* @param {string} eventGroupId The identifier of the financial event group to which the events belong.
|
|
122
|
-
* @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
|
|
123
|
-
* @param {string} [postedAfter]
|
|
124
|
-
* @param {string} [postedBefore]
|
|
125
|
-
* @param {string} [nextToken]
|
|
124
|
+
* @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`.
|
|
125
|
+
* @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.
|
|
126
|
+
* @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.
|
|
127
|
+
* @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.
|
|
126
128
|
* @param {*} [options] Override http request option.
|
|
127
129
|
* @throws {RequiredError}
|
|
128
130
|
*/
|
|
@@ -156,6 +158,7 @@ const FinancesApiAxiosParamCreator = function (configuration) {
|
|
|
156
158
|
if (nextToken !== undefined) {
|
|
157
159
|
localVarQueryParameter['NextToken'] = nextToken;
|
|
158
160
|
}
|
|
161
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
159
162
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
160
163
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
161
164
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -165,10 +168,10 @@ const FinancesApiAxiosParamCreator = function (configuration) {
|
|
|
165
168
|
};
|
|
166
169
|
},
|
|
167
170
|
/**
|
|
168
|
-
* Returns all financial events for the specified order.
|
|
171
|
+
* 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).
|
|
169
172
|
* @param {string} orderId An Amazon-defined order identifier, in 3-7-7 format.
|
|
170
|
-
* @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
|
|
171
|
-
* @param {string} [nextToken]
|
|
173
|
+
* @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`.
|
|
174
|
+
* @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.
|
|
172
175
|
* @param {*} [options] Override http request option.
|
|
173
176
|
* @throws {RequiredError}
|
|
174
177
|
*/
|
|
@@ -192,6 +195,7 @@ const FinancesApiAxiosParamCreator = function (configuration) {
|
|
|
192
195
|
if (nextToken !== undefined) {
|
|
193
196
|
localVarQueryParameter['NextToken'] = nextToken;
|
|
194
197
|
}
|
|
198
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
195
199
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
196
200
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
197
201
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -210,11 +214,11 @@ const FinancesApiFp = function (configuration) {
|
|
|
210
214
|
const localVarAxiosParamCreator = (0, exports.FinancesApiAxiosParamCreator)(configuration);
|
|
211
215
|
return {
|
|
212
216
|
/**
|
|
213
|
-
* Returns financial event groups for a given date range.
|
|
214
|
-
* @param {number} [maxResultsPerPage] The maximum number of results
|
|
215
|
-
* @param {string} [financialEventGroupStartedBefore] A date
|
|
216
|
-
* @param {string} [financialEventGroupStartedAfter] A date
|
|
217
|
-
* @param {string} [nextToken]
|
|
217
|
+
* 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).
|
|
218
|
+
* @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`.
|
|
219
|
+
* @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.
|
|
220
|
+
* @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.
|
|
221
|
+
* @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.
|
|
218
222
|
* @param {*} [options] Override http request option.
|
|
219
223
|
* @throws {RequiredError}
|
|
220
224
|
*/
|
|
@@ -225,11 +229,11 @@ const FinancesApiFp = function (configuration) {
|
|
|
225
229
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
226
230
|
},
|
|
227
231
|
/**
|
|
228
|
-
* Returns financial events for the specified data range.
|
|
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
|
|
230
|
-
* @param {string} [postedAfter]
|
|
231
|
-
* @param {string} [postedBefore]
|
|
232
|
-
* @param {string} [nextToken]
|
|
232
|
+
* 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).
|
|
233
|
+
* @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`.
|
|
234
|
+
* @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.
|
|
235
|
+
* @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.
|
|
236
|
+
* @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.
|
|
233
237
|
* @param {*} [options] Override http request option.
|
|
234
238
|
* @throws {RequiredError}
|
|
235
239
|
*/
|
|
@@ -240,12 +244,12 @@ const FinancesApiFp = function (configuration) {
|
|
|
240
244
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
241
245
|
},
|
|
242
246
|
/**
|
|
243
|
-
* Returns all financial events for the specified financial event group.
|
|
247
|
+
* 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).
|
|
244
248
|
* @param {string} eventGroupId The identifier of the financial event group to which the events belong.
|
|
245
|
-
* @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
|
|
246
|
-
* @param {string} [postedAfter]
|
|
247
|
-
* @param {string} [postedBefore]
|
|
248
|
-
* @param {string} [nextToken]
|
|
249
|
+
* @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`.
|
|
250
|
+
* @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.
|
|
251
|
+
* @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.
|
|
252
|
+
* @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.
|
|
249
253
|
* @param {*} [options] Override http request option.
|
|
250
254
|
* @throws {RequiredError}
|
|
251
255
|
*/
|
|
@@ -256,10 +260,10 @@ const FinancesApiFp = function (configuration) {
|
|
|
256
260
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
257
261
|
},
|
|
258
262
|
/**
|
|
259
|
-
* Returns all financial events for the specified order.
|
|
263
|
+
* 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).
|
|
260
264
|
* @param {string} orderId An Amazon-defined order identifier, in 3-7-7 format.
|
|
261
|
-
* @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
|
|
262
|
-
* @param {string} [nextToken]
|
|
265
|
+
* @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`.
|
|
266
|
+
* @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.
|
|
263
267
|
* @param {*} [options] Override http request option.
|
|
264
268
|
* @throws {RequiredError}
|
|
265
269
|
*/
|
|
@@ -279,7 +283,7 @@ const FinancesApiFactory = function (configuration, basePath, axios) {
|
|
|
279
283
|
const localVarFp = (0, exports.FinancesApiFp)(configuration);
|
|
280
284
|
return {
|
|
281
285
|
/**
|
|
282
|
-
* Returns financial event groups for a given date range.
|
|
286
|
+
* 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).
|
|
283
287
|
* @param {FinancesApiListFinancialEventGroupsRequest} requestParameters Request parameters.
|
|
284
288
|
* @param {*} [options] Override http request option.
|
|
285
289
|
* @throws {RequiredError}
|
|
@@ -288,7 +292,7 @@ const FinancesApiFactory = function (configuration, basePath, axios) {
|
|
|
288
292
|
return localVarFp.listFinancialEventGroups(requestParameters.maxResultsPerPage, requestParameters.financialEventGroupStartedBefore, requestParameters.financialEventGroupStartedAfter, requestParameters.nextToken, options).then((request) => request(axios, basePath));
|
|
289
293
|
},
|
|
290
294
|
/**
|
|
291
|
-
* Returns financial events for the specified data range.
|
|
295
|
+
* 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).
|
|
292
296
|
* @param {FinancesApiListFinancialEventsRequest} requestParameters Request parameters.
|
|
293
297
|
* @param {*} [options] Override http request option.
|
|
294
298
|
* @throws {RequiredError}
|
|
@@ -297,7 +301,7 @@ const FinancesApiFactory = function (configuration, basePath, axios) {
|
|
|
297
301
|
return localVarFp.listFinancialEvents(requestParameters.maxResultsPerPage, requestParameters.postedAfter, requestParameters.postedBefore, requestParameters.nextToken, options).then((request) => request(axios, basePath));
|
|
298
302
|
},
|
|
299
303
|
/**
|
|
300
|
-
* Returns all financial events for the specified financial event group.
|
|
304
|
+
* 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).
|
|
301
305
|
* @param {FinancesApiListFinancialEventsByGroupIdRequest} requestParameters Request parameters.
|
|
302
306
|
* @param {*} [options] Override http request option.
|
|
303
307
|
* @throws {RequiredError}
|
|
@@ -306,7 +310,7 @@ const FinancesApiFactory = function (configuration, basePath, axios) {
|
|
|
306
310
|
return localVarFp.listFinancialEventsByGroupId(requestParameters.eventGroupId, requestParameters.maxResultsPerPage, requestParameters.postedAfter, requestParameters.postedBefore, requestParameters.nextToken, options).then((request) => request(axios, basePath));
|
|
307
311
|
},
|
|
308
312
|
/**
|
|
309
|
-
* Returns all financial events for the specified order.
|
|
313
|
+
* 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).
|
|
310
314
|
* @param {FinancesApiListFinancialEventsByOrderIdRequest} requestParameters Request parameters.
|
|
311
315
|
* @param {*} [options] Override http request option.
|
|
312
316
|
* @throws {RequiredError}
|
|
@@ -322,7 +326,7 @@ exports.FinancesApiFactory = FinancesApiFactory;
|
|
|
322
326
|
*/
|
|
323
327
|
class FinancesApi extends base_1.BaseAPI {
|
|
324
328
|
/**
|
|
325
|
-
* Returns financial event groups for a given date range.
|
|
329
|
+
* 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).
|
|
326
330
|
* @param {FinancesApiListFinancialEventGroupsRequest} requestParameters Request parameters.
|
|
327
331
|
* @param {*} [options] Override http request option.
|
|
328
332
|
* @throws {RequiredError}
|
|
@@ -331,7 +335,7 @@ class FinancesApi extends base_1.BaseAPI {
|
|
|
331
335
|
return (0, exports.FinancesApiFp)(this.configuration).listFinancialEventGroups(requestParameters.maxResultsPerPage, requestParameters.financialEventGroupStartedBefore, requestParameters.financialEventGroupStartedAfter, requestParameters.nextToken, options).then((request) => request(this.axios, this.basePath));
|
|
332
336
|
}
|
|
333
337
|
/**
|
|
334
|
-
* Returns financial events for the specified data range.
|
|
338
|
+
* 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).
|
|
335
339
|
* @param {FinancesApiListFinancialEventsRequest} requestParameters Request parameters.
|
|
336
340
|
* @param {*} [options] Override http request option.
|
|
337
341
|
* @throws {RequiredError}
|
|
@@ -340,7 +344,7 @@ class FinancesApi extends base_1.BaseAPI {
|
|
|
340
344
|
return (0, exports.FinancesApiFp)(this.configuration).listFinancialEvents(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 financial event group.
|
|
347
|
+
* 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).
|
|
344
348
|
* @param {FinancesApiListFinancialEventsByGroupIdRequest} requestParameters Request parameters.
|
|
345
349
|
* @param {*} [options] Override http request option.
|
|
346
350
|
* @throws {RequiredError}
|
|
@@ -349,7 +353,7 @@ class FinancesApi extends base_1.BaseAPI {
|
|
|
349
353
|
return (0, exports.FinancesApiFp)(this.configuration).listFinancialEventsByGroupId(requestParameters.eventGroupId, requestParameters.maxResultsPerPage, requestParameters.postedAfter, requestParameters.postedBefore, requestParameters.nextToken, options).then((request) => request(this.axios, this.basePath));
|
|
350
354
|
}
|
|
351
355
|
/**
|
|
352
|
-
* Returns all financial events for the specified order.
|
|
356
|
+
* 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).
|
|
353
357
|
* @param {FinancesApiListFinancialEventsByOrderIdRequest} requestParameters Request parameters.
|
|
354
358
|
* @param {*} [options] Override http request option.
|
|
355
359
|
* @throws {RequiredError}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Selling Partner API for Finances
|
|
6
|
-
* The Selling Partner API for Finances
|
|
6
|
+
* 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.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: v0
|
|
9
9
|
*
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Selling Partner API for Finances
|
|
6
|
-
* The Selling Partner API for Finances
|
|
6
|
+
* 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.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: v0
|
|
9
9
|
*
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Selling Partner API for Finances
|
|
6
|
-
* The Selling Partner API for Finances
|
|
6
|
+
* 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.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: v0
|
|
9
9
|
*
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
3
|
/**
|
|
5
4
|
* Selling Partner API for Finances
|
|
6
|
-
* 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.
|
|
7
6
|
*
|
|
8
7
|
* The version of the OpenAPI document: v0
|
|
9
8
|
*
|
|
@@ -34,6 +33,17 @@ class Configuration {
|
|
|
34
33
|
* @param scopes oauth2 scope
|
|
35
34
|
*/
|
|
36
35
|
accessToken;
|
|
36
|
+
/**
|
|
37
|
+
* parameter for aws4 signature security
|
|
38
|
+
* @param {Object} AWS4Signature - AWS4 Signature security
|
|
39
|
+
* @param {string} options.region - aws region
|
|
40
|
+
* @param {string} options.service - name of the service.
|
|
41
|
+
* @param {string} credentials.accessKeyId - aws access key id
|
|
42
|
+
* @param {string} credentials.secretAccessKey - aws access key
|
|
43
|
+
* @param {string} credentials.sessionToken - aws session token
|
|
44
|
+
* @memberof Configuration
|
|
45
|
+
*/
|
|
46
|
+
awsv4;
|
|
37
47
|
/**
|
|
38
48
|
* override base path
|
|
39
49
|
*/
|
|
@@ -59,6 +69,7 @@ class Configuration {
|
|
|
59
69
|
this.username = param.username;
|
|
60
70
|
this.password = param.password;
|
|
61
71
|
this.accessToken = param.accessToken;
|
|
72
|
+
this.awsv4 = param.awsv4;
|
|
62
73
|
this.basePath = param.basePath;
|
|
63
74
|
this.serverIndex = param.serverIndex;
|
|
64
75
|
this.baseOptions = {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Selling Partner API for Finances
|
|
6
|
-
* The Selling Partner API for Finances
|
|
6
|
+
* 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.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: v0
|
|
9
9
|
*
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Selling Partner API for Finances
|
|
6
|
-
* The Selling Partner API for Finances
|
|
6
|
+
* 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.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: v0
|
|
9
9
|
*
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Selling Partner API for Finances
|
|
6
|
-
* The Selling Partner API for Finances
|
|
6
|
+
* 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.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: v0
|
|
9
9
|
*
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Selling Partner API for Finances
|
|
6
|
-
* The Selling Partner API for Finances
|
|
6
|
+
* 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.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: v0
|
|
9
9
|
*
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Selling Partner API for Finances
|
|
6
|
-
* The Selling Partner API for Finances
|
|
6
|
+
* 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.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: v0
|
|
9
9
|
*
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Selling Partner API for Finances
|
|
6
|
-
* The Selling Partner API for Finances
|
|
6
|
+
* 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.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: v0
|
|
9
9
|
*
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Selling Partner API for Finances
|
|
6
|
-
* The Selling Partner API for Finances
|
|
6
|
+
* 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.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: v0
|
|
9
9
|
*
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Selling Partner API for Finances
|
|
6
|
-
* The Selling Partner API for Finances
|
|
6
|
+
* 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.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: v0
|
|
9
9
|
*
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Selling Partner API for Finances
|
|
6
|
-
* The Selling Partner API for Finances
|
|
6
|
+
* 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.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: v0
|
|
9
9
|
*
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Selling Partner API for Finances
|
|
6
|
-
* The Selling Partner API for Finances
|
|
6
|
+
* 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.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: v0
|
|
9
9
|
*
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Selling Partner API for Finances
|
|
6
|
-
* The Selling Partner API for Finances
|
|
6
|
+
* 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.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: v0
|
|
9
9
|
*
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Selling Partner API for Finances
|
|
6
|
-
* The Selling Partner API for Finances
|
|
6
|
+
* 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.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: v0
|
|
9
9
|
*
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Selling Partner API for Finances
|
|
6
|
-
* The Selling Partner API for Finances
|
|
6
|
+
* 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.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: v0
|
|
9
9
|
*
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Selling Partner API for Finances
|
|
6
|
-
* The Selling Partner API for Finances
|
|
6
|
+
* 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.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: v0
|
|
9
9
|
*
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Selling Partner API for Finances
|
|
6
|
-
* The Selling Partner API for Finances
|
|
6
|
+
* 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.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: v0
|
|
9
9
|
*
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Selling Partner API for Finances
|
|
6
|
+
* 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.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|