@sp-api-sdk/finances-api-v0 4.2.8 → 5.0.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 +4 -4
- package/dist/index.cjs +550 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +2281 -0
- package/dist/index.d.ts +2281 -0
- package/dist/{types/api-model/api/finances-api.d.ts → index.js} +409 -158
- package/dist/index.js.map +1 -0
- package/package.json +23 -12
- package/dist/cjs/api-model/api/finances-api.js +0 -365
- package/dist/cjs/api-model/api.js +0 -30
- package/dist/cjs/api-model/base.js +0 -52
- package/dist/cjs/api-model/common.js +0 -123
- package/dist/cjs/api-model/configuration.js +0 -98
- package/dist/cjs/api-model/index.js +0 -32
- package/dist/cjs/api-model/models/adhoc-disbursement-event.js +0 -15
- package/dist/cjs/api-model/models/adjustment-event.js +0 -15
- package/dist/cjs/api-model/models/adjustment-item.js +0 -15
- package/dist/cjs/api-model/models/affordability-expense-event.js +0 -15
- package/dist/cjs/api-model/models/capacity-reservation-billing-event.js +0 -15
- package/dist/cjs/api-model/models/charge-component.js +0 -15
- package/dist/cjs/api-model/models/charge-instrument.js +0 -15
- package/dist/cjs/api-model/models/charge-refund-event.js +0 -15
- package/dist/cjs/api-model/models/charge-refund-transaction.js +0 -15
- package/dist/cjs/api-model/models/coupon-payment-event.js +0 -15
- package/dist/cjs/api-model/models/currency.js +0 -15
- package/dist/cjs/api-model/models/debt-recovery-event.js +0 -15
- package/dist/cjs/api-model/models/debt-recovery-item.js +0 -15
- package/dist/cjs/api-model/models/direct-payment.js +0 -15
- package/dist/cjs/api-model/models/ebtrefund-reimbursement-only-event.js +0 -15
- package/dist/cjs/api-model/models/failed-adhoc-disbursement-event.js +0 -15
- package/dist/cjs/api-model/models/fbaliquidation-event.js +0 -15
- package/dist/cjs/api-model/models/fee-component.js +0 -15
- package/dist/cjs/api-model/models/financial-event-group.js +0 -15
- package/dist/cjs/api-model/models/financial-events.js +0 -15
- package/dist/cjs/api-model/models/imaging-services-fee-event.js +0 -15
- package/dist/cjs/api-model/models/index.js +0 -67
- package/dist/cjs/api-model/models/list-financial-event-groups-payload.js +0 -15
- package/dist/cjs/api-model/models/list-financial-event-groups-response.js +0 -15
- package/dist/cjs/api-model/models/list-financial-events-payload.js +0 -15
- package/dist/cjs/api-model/models/list-financial-events-response.js +0 -15
- package/dist/cjs/api-model/models/loan-servicing-event.js +0 -15
- package/dist/cjs/api-model/models/model-error.js +0 -15
- package/dist/cjs/api-model/models/network-commingling-transaction-event.js +0 -15
- package/dist/cjs/api-model/models/pay-with-amazon-event.js +0 -15
- package/dist/cjs/api-model/models/product-ads-payment-event.js +0 -15
- package/dist/cjs/api-model/models/promotion.js +0 -15
- package/dist/cjs/api-model/models/removal-shipment-adjustment-event.js +0 -15
- package/dist/cjs/api-model/models/removal-shipment-event.js +0 -15
- package/dist/cjs/api-model/models/removal-shipment-item-adjustment.js +0 -15
- package/dist/cjs/api-model/models/removal-shipment-item.js +0 -15
- package/dist/cjs/api-model/models/rental-transaction-event.js +0 -15
- package/dist/cjs/api-model/models/retrocharge-event.js +0 -15
- package/dist/cjs/api-model/models/safetreimbursement-event.js +0 -15
- package/dist/cjs/api-model/models/safetreimbursement-item.js +0 -15
- package/dist/cjs/api-model/models/seller-deal-payment-event.js +0 -15
- package/dist/cjs/api-model/models/seller-review-enrollment-payment-event.js +0 -15
- package/dist/cjs/api-model/models/service-fee-event.js +0 -15
- package/dist/cjs/api-model/models/shipment-event.js +0 -15
- package/dist/cjs/api-model/models/shipment-item.js +0 -15
- package/dist/cjs/api-model/models/solution-provider-credit-event.js +0 -15
- package/dist/cjs/api-model/models/tax-withheld-component.js +0 -15
- package/dist/cjs/api-model/models/tax-withholding-event.js +0 -15
- package/dist/cjs/api-model/models/tax-withholding-period.js +0 -15
- package/dist/cjs/api-model/models/tdsreimbursement-event.js +0 -15
- package/dist/cjs/api-model/models/trial-shipment-event.js +0 -15
- package/dist/cjs/api-model/models/value-added-service-charge-event.js +0 -15
- package/dist/cjs/client.js +0 -42
- package/dist/cjs/index.js +0 -18
- package/dist/es/api-model/api/finances-api.js +0 -355
- package/dist/es/api-model/api.js +0 -14
- package/dist/es/api-model/base.js +0 -44
- package/dist/es/api-model/common.js +0 -110
- package/dist/es/api-model/configuration.js +0 -94
- package/dist/es/api-model/index.js +0 -16
- package/dist/es/api-model/models/adhoc-disbursement-event.js +0 -14
- package/dist/es/api-model/models/adjustment-event.js +0 -14
- package/dist/es/api-model/models/adjustment-item.js +0 -14
- package/dist/es/api-model/models/affordability-expense-event.js +0 -14
- package/dist/es/api-model/models/capacity-reservation-billing-event.js +0 -14
- package/dist/es/api-model/models/charge-component.js +0 -14
- package/dist/es/api-model/models/charge-instrument.js +0 -14
- package/dist/es/api-model/models/charge-refund-event.js +0 -14
- package/dist/es/api-model/models/charge-refund-transaction.js +0 -14
- package/dist/es/api-model/models/coupon-payment-event.js +0 -14
- package/dist/es/api-model/models/currency.js +0 -14
- package/dist/es/api-model/models/debt-recovery-event.js +0 -14
- package/dist/es/api-model/models/debt-recovery-item.js +0 -14
- package/dist/es/api-model/models/direct-payment.js +0 -14
- package/dist/es/api-model/models/ebtrefund-reimbursement-only-event.js +0 -14
- package/dist/es/api-model/models/failed-adhoc-disbursement-event.js +0 -14
- package/dist/es/api-model/models/fbaliquidation-event.js +0 -14
- package/dist/es/api-model/models/fee-component.js +0 -14
- package/dist/es/api-model/models/financial-event-group.js +0 -14
- package/dist/es/api-model/models/financial-events.js +0 -14
- package/dist/es/api-model/models/imaging-services-fee-event.js +0 -14
- package/dist/es/api-model/models/index.js +0 -51
- package/dist/es/api-model/models/list-financial-event-groups-payload.js +0 -14
- package/dist/es/api-model/models/list-financial-event-groups-response.js +0 -14
- package/dist/es/api-model/models/list-financial-events-payload.js +0 -14
- package/dist/es/api-model/models/list-financial-events-response.js +0 -14
- package/dist/es/api-model/models/loan-servicing-event.js +0 -14
- package/dist/es/api-model/models/model-error.js +0 -14
- package/dist/es/api-model/models/network-commingling-transaction-event.js +0 -14
- package/dist/es/api-model/models/pay-with-amazon-event.js +0 -14
- package/dist/es/api-model/models/product-ads-payment-event.js +0 -14
- package/dist/es/api-model/models/promotion.js +0 -14
- package/dist/es/api-model/models/removal-shipment-adjustment-event.js +0 -14
- package/dist/es/api-model/models/removal-shipment-event.js +0 -14
- package/dist/es/api-model/models/removal-shipment-item-adjustment.js +0 -14
- package/dist/es/api-model/models/removal-shipment-item.js +0 -14
- package/dist/es/api-model/models/rental-transaction-event.js +0 -14
- package/dist/es/api-model/models/retrocharge-event.js +0 -14
- package/dist/es/api-model/models/safetreimbursement-event.js +0 -14
- package/dist/es/api-model/models/safetreimbursement-item.js +0 -14
- package/dist/es/api-model/models/seller-deal-payment-event.js +0 -14
- package/dist/es/api-model/models/seller-review-enrollment-payment-event.js +0 -14
- package/dist/es/api-model/models/service-fee-event.js +0 -14
- package/dist/es/api-model/models/shipment-event.js +0 -14
- package/dist/es/api-model/models/shipment-item.js +0 -14
- package/dist/es/api-model/models/solution-provider-credit-event.js +0 -14
- package/dist/es/api-model/models/tax-withheld-component.js +0 -14
- package/dist/es/api-model/models/tax-withholding-event.js +0 -14
- package/dist/es/api-model/models/tax-withholding-period.js +0 -14
- package/dist/es/api-model/models/tdsreimbursement-event.js +0 -14
- package/dist/es/api-model/models/trial-shipment-event.js +0 -14
- package/dist/es/api-model/models/value-added-service-charge-event.js +0 -14
- package/dist/es/client.js +0 -38
- package/dist/es/index.js +0 -2
- package/dist/types/api-model/api.d.ts +0 -12
- package/dist/types/api-model/base.d.ts +0 -42
- package/dist/types/api-model/common.d.ts +0 -34
- package/dist/types/api-model/configuration.d.ts +0 -98
- package/dist/types/api-model/index.d.ts +0 -14
- package/dist/types/api-model/models/adhoc-disbursement-event.d.ts +0 -30
- package/dist/types/api-model/models/adjustment-event.d.ts +0 -35
- package/dist/types/api-model/models/adjustment-item.d.ts +0 -43
- package/dist/types/api-model/models/affordability-expense-event.d.ts +0 -38
- package/dist/types/api-model/models/capacity-reservation-billing-event.d.ts +0 -30
- package/dist/types/api-model/models/charge-component.d.ts +0 -22
- package/dist/types/api-model/models/charge-instrument.d.ts +0 -26
- package/dist/types/api-model/models/charge-refund-event.d.ts +0 -33
- package/dist/types/api-model/models/charge-refund-transaction.d.ts +0 -22
- package/dist/types/api-model/models/coupon-payment-event.d.ts +0 -42
- package/dist/types/api-model/models/currency.d.ts +0 -24
- package/dist/types/api-model/models/debt-recovery-event.d.ts +0 -33
- package/dist/types/api-model/models/debt-recovery-item.d.ts +0 -27
- package/dist/types/api-model/models/direct-payment.d.ts +0 -22
- package/dist/types/api-model/models/ebtrefund-reimbursement-only-event.d.ts +0 -26
- package/dist/types/api-model/models/failed-adhoc-disbursement-event.d.ts +0 -42
- package/dist/types/api-model/models/fbaliquidation-event.d.ts +0 -27
- package/dist/types/api-model/models/fee-component.d.ts +0 -22
- package/dist/types/api-model/models/financial-event-group.d.ts +0 -52
- package/dist/types/api-model/models/financial-events.d.ts +0 -181
- package/dist/types/api-model/models/imaging-services-fee-event.d.ts +0 -33
- package/dist/types/api-model/models/index.d.ts +0 -51
- package/dist/types/api-model/models/list-financial-event-groups-payload.d.ts +0 -25
- package/dist/types/api-model/models/list-financial-event-groups-response.d.ts +0 -22
- package/dist/types/api-model/models/list-financial-events-payload.d.ts +0 -22
- package/dist/types/api-model/models/list-financial-events-response.d.ts +0 -22
- package/dist/types/api-model/models/loan-servicing-event.d.ts +0 -22
- package/dist/types/api-model/models/model-error.d.ts +0 -28
- package/dist/types/api-model/models/network-commingling-transaction-event.d.ts +0 -43
- package/dist/types/api-model/models/pay-with-amazon-event.d.ts +0 -55
- package/dist/types/api-model/models/product-ads-payment-event.d.ts +0 -32
- package/dist/types/api-model/models/promotion.d.ts +0 -26
- package/dist/types/api-model/models/removal-shipment-adjustment-event.d.ts +0 -41
- package/dist/types/api-model/models/removal-shipment-event.d.ts +0 -41
- package/dist/types/api-model/models/removal-shipment-item-adjustment.d.ts +0 -36
- package/dist/types/api-model/models/removal-shipment-item.d.ts +0 -37
- package/dist/types/api-model/models/rental-transaction-event.d.ts +0 -54
- package/dist/types/api-model/models/retrocharge-event.d.ts +0 -40
- package/dist/types/api-model/models/safetreimbursement-event.d.ts +0 -35
- package/dist/types/api-model/models/safetreimbursement-item.d.ts +0 -29
- package/dist/types/api-model/models/seller-deal-payment-event.d.ts +0 -40
- package/dist/types/api-model/models/seller-review-enrollment-payment-event.d.ts +0 -34
- package/dist/types/api-model/models/service-fee-event.d.ts +0 -49
- package/dist/types/api-model/models/shipment-event.d.ts +0 -76
- package/dist/types/api-model/models/shipment-item.d.ts +0 -67
- package/dist/types/api-model/models/solution-provider-credit-event.d.ts +0 -54
- package/dist/types/api-model/models/tax-withheld-component.d.ts +0 -25
- package/dist/types/api-model/models/tax-withholding-event.d.ts +0 -25
- package/dist/types/api-model/models/tax-withholding-period.d.ts +0 -24
- package/dist/types/api-model/models/tdsreimbursement-event.d.ts +0 -26
- package/dist/types/api-model/models/trial-shipment-event.d.ts +0 -37
- package/dist/types/api-model/models/value-added-service-charge-event.d.ts +0 -30
- package/dist/types/client.d.ts +0 -6
- package/dist/types/index.d.ts +0 -3
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Selling Partner API for Finances
|
|
3
|
-
* 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.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: v0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import type { Currency } from './currency';
|
|
13
|
-
import type { SAFETReimbursementItem } from './safetreimbursement-item';
|
|
14
|
-
/**
|
|
15
|
-
* A SAFE-T claim reimbursement on the seller\'s account.
|
|
16
|
-
*/
|
|
17
|
-
export interface SAFETReimbursementEvent {
|
|
18
|
-
/**
|
|
19
|
-
* A date in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format.
|
|
20
|
-
*/
|
|
21
|
-
'PostedDate'?: string;
|
|
22
|
-
/**
|
|
23
|
-
* A SAFE-T claim identifier.
|
|
24
|
-
*/
|
|
25
|
-
'SAFETClaimId'?: string;
|
|
26
|
-
'ReimbursedAmount'?: Currency;
|
|
27
|
-
/**
|
|
28
|
-
* Indicates why the seller was reimbursed.
|
|
29
|
-
*/
|
|
30
|
-
'ReasonCode'?: string;
|
|
31
|
-
/**
|
|
32
|
-
* A list of `SAFETReimbursementItem`.
|
|
33
|
-
*/
|
|
34
|
-
'SAFETReimbursementItemList'?: Array<SAFETReimbursementItem>;
|
|
35
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Selling Partner API for Finances
|
|
3
|
-
* 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.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: v0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import type { ChargeComponent } from './charge-component';
|
|
13
|
-
/**
|
|
14
|
-
* An item from a SAFE-T claim reimbursement.
|
|
15
|
-
*/
|
|
16
|
-
export interface SAFETReimbursementItem {
|
|
17
|
-
/**
|
|
18
|
-
* A list of charge information on the seller\'s account.
|
|
19
|
-
*/
|
|
20
|
-
'itemChargeList'?: Array<ChargeComponent>;
|
|
21
|
-
/**
|
|
22
|
-
* The description of the item as shown on the product detail page on the retail website.
|
|
23
|
-
*/
|
|
24
|
-
'productDescription'?: string;
|
|
25
|
-
/**
|
|
26
|
-
* The number of units of the item being reimbursed.
|
|
27
|
-
*/
|
|
28
|
-
'quantity'?: string;
|
|
29
|
-
}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Selling Partner API for Finances
|
|
3
|
-
* 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.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: v0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import type { Currency } from './currency';
|
|
13
|
-
/**
|
|
14
|
-
* An event linked to the payment of a fee related to the specified deal.
|
|
15
|
-
*/
|
|
16
|
-
export interface SellerDealPaymentEvent {
|
|
17
|
-
/**
|
|
18
|
-
* A date in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format.
|
|
19
|
-
*/
|
|
20
|
-
'postedDate'?: string;
|
|
21
|
-
/**
|
|
22
|
-
* The unique identifier of the deal.
|
|
23
|
-
*/
|
|
24
|
-
'dealId'?: string;
|
|
25
|
-
/**
|
|
26
|
-
* The internal description of the deal.
|
|
27
|
-
*/
|
|
28
|
-
'dealDescription'?: string;
|
|
29
|
-
/**
|
|
30
|
-
* The type of event: `SellerDealComplete`.
|
|
31
|
-
*/
|
|
32
|
-
'eventType'?: string;
|
|
33
|
-
/**
|
|
34
|
-
* The type of fee: `RunLightningDealFee`.
|
|
35
|
-
*/
|
|
36
|
-
'feeType'?: string;
|
|
37
|
-
'feeAmount'?: Currency;
|
|
38
|
-
'taxAmount'?: Currency;
|
|
39
|
-
'totalAmount'?: Currency;
|
|
40
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Selling Partner API for Finances
|
|
3
|
-
* 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.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: v0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import type { ChargeComponent } from './charge-component';
|
|
13
|
-
import type { Currency } from './currency';
|
|
14
|
-
import type { FeeComponent } from './fee-component';
|
|
15
|
-
/**
|
|
16
|
-
* A fee payment event for the Early Reviewer Program.
|
|
17
|
-
*/
|
|
18
|
-
export interface SellerReviewEnrollmentPaymentEvent {
|
|
19
|
-
/**
|
|
20
|
-
* A date in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format.
|
|
21
|
-
*/
|
|
22
|
-
'PostedDate'?: string;
|
|
23
|
-
/**
|
|
24
|
-
* An enrollment identifier.
|
|
25
|
-
*/
|
|
26
|
-
'EnrollmentId'?: string;
|
|
27
|
-
/**
|
|
28
|
-
* The Amazon Standard Identification Number (ASIN) of the item that was enrolled in the Early Reviewer Program.
|
|
29
|
-
*/
|
|
30
|
-
'ParentASIN'?: string;
|
|
31
|
-
'FeeComponent'?: FeeComponent;
|
|
32
|
-
'ChargeComponent'?: ChargeComponent;
|
|
33
|
-
'TotalAmount'?: Currency;
|
|
34
|
-
}
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Selling Partner API for Finances
|
|
3
|
-
* 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.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: v0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import type { FeeComponent } from './fee-component';
|
|
13
|
-
/**
|
|
14
|
-
* A service fee on the seller\'s account.
|
|
15
|
-
*/
|
|
16
|
-
export interface ServiceFeeEvent {
|
|
17
|
-
/**
|
|
18
|
-
* An Amazon-defined identifier for an order.
|
|
19
|
-
*/
|
|
20
|
-
'AmazonOrderId'?: string;
|
|
21
|
-
/**
|
|
22
|
-
* A short description of the service fee reason.
|
|
23
|
-
*/
|
|
24
|
-
'FeeReason'?: string;
|
|
25
|
-
/**
|
|
26
|
-
* A list of fee component information.
|
|
27
|
-
*/
|
|
28
|
-
'FeeList'?: Array<FeeComponent>;
|
|
29
|
-
/**
|
|
30
|
-
* The seller SKU of the item. The seller SKU is qualified by the seller\'s seller ID, which is included with every call to the Selling Partner API.
|
|
31
|
-
*/
|
|
32
|
-
'SellerSKU'?: string;
|
|
33
|
-
/**
|
|
34
|
-
* A unique identifier assigned by Amazon to products stored in and fulfilled from an Amazon fulfillment center.
|
|
35
|
-
*/
|
|
36
|
-
'FnSKU'?: string;
|
|
37
|
-
/**
|
|
38
|
-
* A short description of the service fee event.
|
|
39
|
-
*/
|
|
40
|
-
'FeeDescription'?: string;
|
|
41
|
-
/**
|
|
42
|
-
* The Amazon Standard Identification Number (ASIN) of the item.
|
|
43
|
-
*/
|
|
44
|
-
'ASIN'?: string;
|
|
45
|
-
/**
|
|
46
|
-
* The name of the store where the event occurred.
|
|
47
|
-
*/
|
|
48
|
-
'StoreName'?: string;
|
|
49
|
-
}
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Selling Partner API for Finances
|
|
3
|
-
* 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.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: v0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import type { ChargeComponent } from './charge-component';
|
|
13
|
-
import type { DirectPayment } from './direct-payment';
|
|
14
|
-
import type { FeeComponent } from './fee-component';
|
|
15
|
-
import type { ShipmentItem } from './shipment-item';
|
|
16
|
-
/**
|
|
17
|
-
* A shipment, refund, guarantee claim, or chargeback.
|
|
18
|
-
*/
|
|
19
|
-
export interface ShipmentEvent {
|
|
20
|
-
/**
|
|
21
|
-
* An Amazon-defined identifier for an order.
|
|
22
|
-
*/
|
|
23
|
-
'AmazonOrderId'?: string;
|
|
24
|
-
/**
|
|
25
|
-
* A seller-defined identifier for an order.
|
|
26
|
-
*/
|
|
27
|
-
'SellerOrderId'?: string;
|
|
28
|
-
/**
|
|
29
|
-
* The name of the marketplace where the event occurred.
|
|
30
|
-
*/
|
|
31
|
-
'MarketplaceName'?: string;
|
|
32
|
-
/**
|
|
33
|
-
* The name of the store where the event occurred.
|
|
34
|
-
*/
|
|
35
|
-
'StoreName'?: string;
|
|
36
|
-
/**
|
|
37
|
-
* A list of charge information on the seller\'s account.
|
|
38
|
-
*/
|
|
39
|
-
'OrderChargeList'?: Array<ChargeComponent>;
|
|
40
|
-
/**
|
|
41
|
-
* A list of charge information on the seller\'s account.
|
|
42
|
-
*/
|
|
43
|
-
'OrderChargeAdjustmentList'?: Array<ChargeComponent>;
|
|
44
|
-
/**
|
|
45
|
-
* A list of fee component information.
|
|
46
|
-
*/
|
|
47
|
-
'ShipmentFeeList'?: Array<FeeComponent>;
|
|
48
|
-
/**
|
|
49
|
-
* A list of fee component information.
|
|
50
|
-
*/
|
|
51
|
-
'ShipmentFeeAdjustmentList'?: Array<FeeComponent>;
|
|
52
|
-
/**
|
|
53
|
-
* A list of fee component information.
|
|
54
|
-
*/
|
|
55
|
-
'OrderFeeList'?: Array<FeeComponent>;
|
|
56
|
-
/**
|
|
57
|
-
* A list of fee component information.
|
|
58
|
-
*/
|
|
59
|
-
'OrderFeeAdjustmentList'?: Array<FeeComponent>;
|
|
60
|
-
/**
|
|
61
|
-
* A list of direct payment information.
|
|
62
|
-
*/
|
|
63
|
-
'DirectPaymentList'?: Array<DirectPayment>;
|
|
64
|
-
/**
|
|
65
|
-
* A date in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format.
|
|
66
|
-
*/
|
|
67
|
-
'PostedDate'?: string;
|
|
68
|
-
/**
|
|
69
|
-
* A list of shipment items.
|
|
70
|
-
*/
|
|
71
|
-
'ShipmentItemList'?: Array<ShipmentItem>;
|
|
72
|
-
/**
|
|
73
|
-
* A list of shipment items.
|
|
74
|
-
*/
|
|
75
|
-
'ShipmentItemAdjustmentList'?: Array<ShipmentItem>;
|
|
76
|
-
}
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Selling Partner API for Finances
|
|
3
|
-
* 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.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: v0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import type { ChargeComponent } from './charge-component';
|
|
13
|
-
import type { Currency } from './currency';
|
|
14
|
-
import type { FeeComponent } from './fee-component';
|
|
15
|
-
import type { Promotion } from './promotion';
|
|
16
|
-
import type { TaxWithheldComponent } from './tax-withheld-component';
|
|
17
|
-
/**
|
|
18
|
-
* An item of a shipment, refund, guarantee claim, or chargeback.
|
|
19
|
-
*/
|
|
20
|
-
export interface ShipmentItem {
|
|
21
|
-
/**
|
|
22
|
-
* The seller SKU of the item. The seller SKU is qualified by the seller\'s seller ID, which is included with every call to the Selling Partner API.
|
|
23
|
-
*/
|
|
24
|
-
'SellerSKU'?: string;
|
|
25
|
-
/**
|
|
26
|
-
* An Amazon-defined order item identifier.
|
|
27
|
-
*/
|
|
28
|
-
'OrderItemId'?: string;
|
|
29
|
-
/**
|
|
30
|
-
* An Amazon-defined order adjustment identifier defined for refunds, guarantee claims, and chargeback events.
|
|
31
|
-
*/
|
|
32
|
-
'OrderAdjustmentItemId'?: string;
|
|
33
|
-
/**
|
|
34
|
-
* The number of items shipped.
|
|
35
|
-
*/
|
|
36
|
-
'QuantityShipped'?: number;
|
|
37
|
-
/**
|
|
38
|
-
* A list of charge information on the seller\'s account.
|
|
39
|
-
*/
|
|
40
|
-
'ItemChargeList'?: Array<ChargeComponent>;
|
|
41
|
-
/**
|
|
42
|
-
* A list of charge information on the seller\'s account.
|
|
43
|
-
*/
|
|
44
|
-
'ItemChargeAdjustmentList'?: Array<ChargeComponent>;
|
|
45
|
-
/**
|
|
46
|
-
* A list of fee component information.
|
|
47
|
-
*/
|
|
48
|
-
'ItemFeeList'?: Array<FeeComponent>;
|
|
49
|
-
/**
|
|
50
|
-
* A list of fee component information.
|
|
51
|
-
*/
|
|
52
|
-
'ItemFeeAdjustmentList'?: Array<FeeComponent>;
|
|
53
|
-
/**
|
|
54
|
-
* A list of information about taxes withheld.
|
|
55
|
-
*/
|
|
56
|
-
'ItemTaxWithheldList'?: Array<TaxWithheldComponent>;
|
|
57
|
-
/**
|
|
58
|
-
* A list of promotions.
|
|
59
|
-
*/
|
|
60
|
-
'PromotionList'?: Array<Promotion>;
|
|
61
|
-
/**
|
|
62
|
-
* A list of promotions.
|
|
63
|
-
*/
|
|
64
|
-
'PromotionAdjustmentList'?: Array<Promotion>;
|
|
65
|
-
'CostOfPointsGranted'?: Currency;
|
|
66
|
-
'CostOfPointsReturned'?: Currency;
|
|
67
|
-
}
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Selling Partner API for Finances
|
|
3
|
-
* 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.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: v0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import type { Currency } from './currency';
|
|
13
|
-
/**
|
|
14
|
-
* A credit given to a solution provider.
|
|
15
|
-
*/
|
|
16
|
-
export interface SolutionProviderCreditEvent {
|
|
17
|
-
/**
|
|
18
|
-
* The transaction type.
|
|
19
|
-
*/
|
|
20
|
-
'ProviderTransactionType'?: string;
|
|
21
|
-
/**
|
|
22
|
-
* A seller-defined identifier for an order.
|
|
23
|
-
*/
|
|
24
|
-
'SellerOrderId'?: string;
|
|
25
|
-
/**
|
|
26
|
-
* The identifier of the marketplace where the order was placed.
|
|
27
|
-
*/
|
|
28
|
-
'MarketplaceId'?: string;
|
|
29
|
-
/**
|
|
30
|
-
* The two-letter country code of the country associated with the marketplace where the order was placed.
|
|
31
|
-
*/
|
|
32
|
-
'MarketplaceCountryCode'?: string;
|
|
33
|
-
/**
|
|
34
|
-
* The Amazon-defined identifier of the seller.
|
|
35
|
-
*/
|
|
36
|
-
'SellerId'?: string;
|
|
37
|
-
/**
|
|
38
|
-
* The store name where the payment event occurred.
|
|
39
|
-
*/
|
|
40
|
-
'SellerStoreName'?: string;
|
|
41
|
-
/**
|
|
42
|
-
* The Amazon-defined identifier of the solution provider.
|
|
43
|
-
*/
|
|
44
|
-
'ProviderId'?: string;
|
|
45
|
-
/**
|
|
46
|
-
* The store name where the payment event occurred.
|
|
47
|
-
*/
|
|
48
|
-
'ProviderStoreName'?: string;
|
|
49
|
-
'TransactionAmount'?: Currency;
|
|
50
|
-
/**
|
|
51
|
-
* A date in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format.
|
|
52
|
-
*/
|
|
53
|
-
'TransactionCreationDate'?: string;
|
|
54
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Selling Partner API for Finances
|
|
3
|
-
* 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.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: v0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import type { ChargeComponent } from './charge-component';
|
|
13
|
-
/**
|
|
14
|
-
* Information about the taxes withheld.
|
|
15
|
-
*/
|
|
16
|
-
export interface TaxWithheldComponent {
|
|
17
|
-
/**
|
|
18
|
-
* The tax collection model applied to the item. Possible values: * `MarketplaceFacilitator`: Tax is withheld and remitted to the taxing authority by Amazon on behalf of the seller. * `Standard`: Tax is paid to the seller and not remitted to the taxing authority by Amazon.
|
|
19
|
-
*/
|
|
20
|
-
'TaxCollectionModel'?: string;
|
|
21
|
-
/**
|
|
22
|
-
* A list of charge information on the seller\'s account.
|
|
23
|
-
*/
|
|
24
|
-
'TaxesWithheld'?: Array<ChargeComponent>;
|
|
25
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Selling Partner API for Finances
|
|
3
|
-
* 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.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: v0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import type { Currency } from './currency';
|
|
13
|
-
import type { TaxWithholdingPeriod } from './tax-withholding-period';
|
|
14
|
-
/**
|
|
15
|
-
* A tax withholding event on a seller\'s account.
|
|
16
|
-
*/
|
|
17
|
-
export interface TaxWithholdingEvent {
|
|
18
|
-
/**
|
|
19
|
-
* A date in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format.
|
|
20
|
-
*/
|
|
21
|
-
'PostedDate'?: string;
|
|
22
|
-
'BaseAmount'?: Currency;
|
|
23
|
-
'WithheldAmount'?: Currency;
|
|
24
|
-
'TaxWithholdingPeriod'?: TaxWithholdingPeriod;
|
|
25
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Selling Partner API for Finances
|
|
3
|
-
* 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.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: v0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
* The period during which tax withholding on a seller\'s account is calculated.
|
|
14
|
-
*/
|
|
15
|
-
export interface TaxWithholdingPeriod {
|
|
16
|
-
/**
|
|
17
|
-
* A date in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format.
|
|
18
|
-
*/
|
|
19
|
-
'StartDate'?: string;
|
|
20
|
-
/**
|
|
21
|
-
* A date in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format.
|
|
22
|
-
*/
|
|
23
|
-
'EndDate'?: string;
|
|
24
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Selling Partner API for Finances
|
|
3
|
-
* 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.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: v0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import type { Currency } from './currency';
|
|
13
|
-
/**
|
|
14
|
-
* An event related to a Tax-Deducted-at-Source (TDS) reimbursement.
|
|
15
|
-
*/
|
|
16
|
-
export interface TDSReimbursementEvent {
|
|
17
|
-
/**
|
|
18
|
-
* A date in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format.
|
|
19
|
-
*/
|
|
20
|
-
'PostedDate'?: string;
|
|
21
|
-
/**
|
|
22
|
-
* The Tax-Deducted-at-Source (TDS) identifier.
|
|
23
|
-
*/
|
|
24
|
-
'TDSOrderId'?: string;
|
|
25
|
-
'ReimbursedAmount'?: Currency;
|
|
26
|
-
}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Selling Partner API for Finances
|
|
3
|
-
* 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.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: v0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import type { FeeComponent } from './fee-component';
|
|
13
|
-
/**
|
|
14
|
-
* An event related to a trial shipment.
|
|
15
|
-
*/
|
|
16
|
-
export interface TrialShipmentEvent {
|
|
17
|
-
/**
|
|
18
|
-
* An Amazon-defined identifier for an order.
|
|
19
|
-
*/
|
|
20
|
-
'AmazonOrderId'?: string;
|
|
21
|
-
/**
|
|
22
|
-
* The identifier of the financial event group.
|
|
23
|
-
*/
|
|
24
|
-
'FinancialEventGroupId'?: string;
|
|
25
|
-
/**
|
|
26
|
-
* A date in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format.
|
|
27
|
-
*/
|
|
28
|
-
'PostedDate'?: string;
|
|
29
|
-
/**
|
|
30
|
-
* The seller SKU of the item. The seller SKU is qualified by the seller\'s seller ID, which is included with every call to the Selling Partner API.
|
|
31
|
-
*/
|
|
32
|
-
'SKU'?: string;
|
|
33
|
-
/**
|
|
34
|
-
* A list of fee component information.
|
|
35
|
-
*/
|
|
36
|
-
'FeeList'?: Array<FeeComponent>;
|
|
37
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Selling Partner API for Finances
|
|
3
|
-
* 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.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: v0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import type { Currency } from './currency';
|
|
13
|
-
/**
|
|
14
|
-
* An event related to a value added service charge.
|
|
15
|
-
*/
|
|
16
|
-
export interface ValueAddedServiceChargeEvent {
|
|
17
|
-
/**
|
|
18
|
-
* The transaction type. For example, \'Other Support Service fees\'
|
|
19
|
-
*/
|
|
20
|
-
'TransactionType'?: string;
|
|
21
|
-
/**
|
|
22
|
-
* A date in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format.
|
|
23
|
-
*/
|
|
24
|
-
'PostedDate'?: string;
|
|
25
|
-
/**
|
|
26
|
-
* A short description of the service charge event.
|
|
27
|
-
*/
|
|
28
|
-
'Description'?: string;
|
|
29
|
-
'TransactionAmount'?: Currency;
|
|
30
|
-
}
|
package/dist/types/client.d.ts
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { type ClientConfiguration, type RateLimit } from '@sp-api-sdk/common';
|
|
2
|
-
import { FinancesApi } from './api-model';
|
|
3
|
-
export declare const clientRateLimits: RateLimit[];
|
|
4
|
-
export declare class FinancesApiClient extends FinancesApi {
|
|
5
|
-
constructor(configuration: ClientConfiguration);
|
|
6
|
-
}
|
package/dist/types/index.d.ts
DELETED