@sp-api-sdk/finances-api-v0 4.0.1 → 4.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/api-model/api/finances-api.js +0 -10
- package/dist/cjs/api-model/base.js +0 -19
- package/dist/cjs/api-model/common.js +0 -37
- package/dist/cjs/api-model/configuration.js +0 -17
- package/dist/es/api-model/api/finances-api.js +0 -10
- package/dist/es/api-model/base.js +0 -19
- package/dist/es/api-model/common.js +0 -37
- package/dist/es/api-model/configuration.js +0 -17
- package/dist/types/api-model/api/finances-api.d.ts +0 -50
- package/dist/types/api-model/base.d.ts +0 -24
- package/dist/types/api-model/common.d.ts +0 -37
- package/dist/types/api-model/configuration.d.ts +0 -17
- package/dist/types/api-model/models/adhoc-disbursement-event.d.ts +0 -13
- package/dist/types/api-model/models/adjustment-event.d.ts +0 -15
- package/dist/types/api-model/models/adjustment-item.d.ts +0 -24
- package/dist/types/api-model/models/affordability-expense-event.d.ts +0 -35
- package/dist/types/api-model/models/capacity-reservation-billing-event.d.ts +0 -13
- package/dist/types/api-model/models/charge-component.d.ts +0 -9
- package/dist/types/api-model/models/charge-instrument.d.ts +0 -11
- package/dist/types/api-model/models/charge-refund-event.d.ts +0 -10
- package/dist/types/api-model/models/charge-refund-transaction.d.ts +0 -9
- package/dist/types/api-model/models/coupon-payment-event.d.ts +0 -27
- package/dist/types/api-model/models/currency.d.ts +0 -6
- package/dist/types/api-model/models/debt-recovery-event.d.ts +0 -18
- package/dist/types/api-model/models/debt-recovery-item.d.ts +0 -16
- package/dist/types/api-model/models/direct-payment.d.ts +0 -9
- package/dist/types/api-model/models/failed-adhoc-disbursement-event.d.ts +0 -19
- package/dist/types/api-model/models/fbaliquidation-event.d.ts +0 -16
- package/dist/types/api-model/models/fee-component.d.ts +0 -9
- package/dist/types/api-model/models/financial-event-group.d.ts +0 -33
- package/dist/types/api-model/models/financial-events.d.ts +0 -68
- package/dist/types/api-model/models/imaging-services-fee-event.d.ts +0 -10
- package/dist/types/api-model/models/list-financial-event-groups-payload.d.ts +0 -6
- package/dist/types/api-model/models/list-financial-event-groups-response.d.ts +0 -9
- package/dist/types/api-model/models/list-financial-events-payload.d.ts +0 -9
- package/dist/types/api-model/models/list-financial-events-response.d.ts +0 -9
- package/dist/types/api-model/models/loan-servicing-event.d.ts +0 -9
- package/dist/types/api-model/models/model-error.d.ts +0 -8
- package/dist/types/api-model/models/network-commingling-transaction-event.d.ts +0 -24
- package/dist/types/api-model/models/pay-with-amazon-event.d.ts +0 -25
- package/dist/types/api-model/models/product-ads-payment-event.d.ts +0 -23
- package/dist/types/api-model/models/promotion.d.ts +0 -11
- package/dist/types/api-model/models/removal-shipment-adjustment-event.d.ts +0 -14
- package/dist/types/api-model/models/removal-shipment-event.d.ts +0 -14
- package/dist/types/api-model/models/removal-shipment-item-adjustment.d.ts +0 -25
- package/dist/types/api-model/models/removal-shipment-item.d.ts +0 -30
- package/dist/types/api-model/models/rental-transaction-event.d.ts +0 -28
- package/dist/types/api-model/models/retrocharge-event.d.ts +0 -22
- package/dist/types/api-model/models/safetreimbursement-event.d.ts +0 -15
- package/dist/types/api-model/models/safetreimbursement-item.d.ts +0 -8
- package/dist/types/api-model/models/seller-deal-payment-event.d.ts +0 -27
- package/dist/types/api-model/models/seller-review-enrollment-payment-event.d.ts +0 -23
- package/dist/types/api-model/models/service-fee-event.d.ts +0 -18
- package/dist/types/api-model/models/shipment-event.d.ts +0 -30
- package/dist/types/api-model/models/shipment-item.d.ts +0 -34
- package/dist/types/api-model/models/solution-provider-credit-event.d.ts +0 -25
- package/dist/types/api-model/models/tax-withheld-component.d.ts +0 -6
- package/dist/types/api-model/models/tax-withholding-event.d.ts +0 -19
- package/dist/types/api-model/models/tax-withholding-period.d.ts +0 -6
- package/dist/types/api-model/models/tdsreimbursement-event.d.ts +0 -11
- package/dist/types/api-model/models/trial-shipment-event.d.ts +0 -12
- package/dist/types/api-model/models/value-added-service-charge-event.d.ts +0 -13
- package/package.json +25 -4
|
@@ -12,20 +12,11 @@
|
|
|
12
12
|
import type { Currency } from './currency';
|
|
13
13
|
/**
|
|
14
14
|
* A loan advance, loan payment, or loan refund.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface LoanServicingEvent
|
|
17
15
|
*/
|
|
18
16
|
export interface LoanServicingEvent {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {Currency}
|
|
22
|
-
* @memberof LoanServicingEvent
|
|
23
|
-
*/
|
|
24
17
|
'LoanAmount'?: Currency;
|
|
25
18
|
/**
|
|
26
19
|
* The type of event. Possible values: * LoanAdvance * LoanPayment * LoanRefund
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof LoanServicingEvent
|
|
29
20
|
*/
|
|
30
21
|
'SourceBusinessEventType'?: string;
|
|
31
22
|
}
|
|
@@ -11,26 +11,18 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* Error response returned when the request is unsuccessful.
|
|
14
|
-
* @export
|
|
15
|
-
* @interface ModelError
|
|
16
14
|
*/
|
|
17
15
|
export interface ModelError {
|
|
18
16
|
/**
|
|
19
17
|
* An error code that identifies the type of error that occurred.
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof ModelError
|
|
22
18
|
*/
|
|
23
19
|
'code': string;
|
|
24
20
|
/**
|
|
25
21
|
* A message that describes the error condition in a human-readable form.
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof ModelError
|
|
28
22
|
*/
|
|
29
23
|
'message': string;
|
|
30
24
|
/**
|
|
31
25
|
* Additional details that can help the caller understand or fix the issue.
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof ModelError
|
|
34
26
|
*/
|
|
35
27
|
'details'?: string;
|
|
36
28
|
}
|
|
@@ -12,56 +12,32 @@
|
|
|
12
12
|
import type { Currency } from './currency';
|
|
13
13
|
/**
|
|
14
14
|
* A network commingling transaction event.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface NetworkComminglingTransactionEvent
|
|
17
15
|
*/
|
|
18
16
|
export interface NetworkComminglingTransactionEvent {
|
|
19
17
|
/**
|
|
20
18
|
* The type of network item swap. Possible values: * NetCo - A Fulfillment by Amazon inventory pooling transaction. Available only in the India marketplace. * ComminglingVAT - A commingling VAT transaction. Available only in the UK, Spain, France, Germany, and Italy marketplaces.
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof NetworkComminglingTransactionEvent
|
|
23
19
|
*/
|
|
24
20
|
'TransactionType'?: string;
|
|
25
21
|
/**
|
|
26
22
|
* Fields with a schema type of date are in ISO 8601 date time format (for example GroupBeginDate).
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof NetworkComminglingTransactionEvent
|
|
29
23
|
*/
|
|
30
24
|
'PostedDate'?: string;
|
|
31
25
|
/**
|
|
32
26
|
* The identifier for the network item swap.
|
|
33
|
-
* @type {string}
|
|
34
|
-
* @memberof NetworkComminglingTransactionEvent
|
|
35
27
|
*/
|
|
36
28
|
'NetCoTransactionID'?: string;
|
|
37
29
|
/**
|
|
38
30
|
* The reason for the network item swap.
|
|
39
|
-
* @type {string}
|
|
40
|
-
* @memberof NetworkComminglingTransactionEvent
|
|
41
31
|
*/
|
|
42
32
|
'SwapReason'?: string;
|
|
43
33
|
/**
|
|
44
34
|
* The Amazon Standard Identification Number (ASIN) of the swapped item.
|
|
45
|
-
* @type {string}
|
|
46
|
-
* @memberof NetworkComminglingTransactionEvent
|
|
47
35
|
*/
|
|
48
36
|
'ASIN'?: string;
|
|
49
37
|
/**
|
|
50
38
|
* The marketplace in which the event took place.
|
|
51
|
-
* @type {string}
|
|
52
|
-
* @memberof NetworkComminglingTransactionEvent
|
|
53
39
|
*/
|
|
54
40
|
'MarketplaceId'?: string;
|
|
55
|
-
/**
|
|
56
|
-
*
|
|
57
|
-
* @type {Currency}
|
|
58
|
-
* @memberof NetworkComminglingTransactionEvent
|
|
59
|
-
*/
|
|
60
41
|
'TaxExclusiveAmount'?: Currency;
|
|
61
|
-
/**
|
|
62
|
-
*
|
|
63
|
-
* @type {Currency}
|
|
64
|
-
* @memberof NetworkComminglingTransactionEvent
|
|
65
|
-
*/
|
|
66
42
|
'TaxAmount'?: Currency;
|
|
67
43
|
}
|
|
@@ -13,68 +13,43 @@ import type { ChargeComponent } from './charge-component';
|
|
|
13
13
|
import type { FeeComponent } from './fee-component';
|
|
14
14
|
/**
|
|
15
15
|
* An event related to the seller\'s Pay with Amazon account.
|
|
16
|
-
* @export
|
|
17
|
-
* @interface PayWithAmazonEvent
|
|
18
16
|
*/
|
|
19
17
|
export interface PayWithAmazonEvent {
|
|
20
18
|
/**
|
|
21
19
|
* An order identifier that is specified by the seller.
|
|
22
|
-
* @type {string}
|
|
23
|
-
* @memberof PayWithAmazonEvent
|
|
24
20
|
*/
|
|
25
21
|
'SellerOrderId'?: string;
|
|
26
22
|
/**
|
|
27
23
|
* Fields with a schema type of date are in ISO 8601 date time format (for example GroupBeginDate).
|
|
28
|
-
* @type {string}
|
|
29
|
-
* @memberof PayWithAmazonEvent
|
|
30
24
|
*/
|
|
31
25
|
'TransactionPostedDate'?: string;
|
|
32
26
|
/**
|
|
33
27
|
* The type of business object.
|
|
34
|
-
* @type {string}
|
|
35
|
-
* @memberof PayWithAmazonEvent
|
|
36
28
|
*/
|
|
37
29
|
'BusinessObjectType'?: string;
|
|
38
30
|
/**
|
|
39
31
|
* The sales channel for the transaction.
|
|
40
|
-
* @type {string}
|
|
41
|
-
* @memberof PayWithAmazonEvent
|
|
42
32
|
*/
|
|
43
33
|
'SalesChannel'?: string;
|
|
44
|
-
/**
|
|
45
|
-
*
|
|
46
|
-
* @type {ChargeComponent}
|
|
47
|
-
* @memberof PayWithAmazonEvent
|
|
48
|
-
*/
|
|
49
34
|
'Charge'?: ChargeComponent;
|
|
50
35
|
/**
|
|
51
36
|
* A list of fee component information.
|
|
52
|
-
* @type {Array<FeeComponent>}
|
|
53
|
-
* @memberof PayWithAmazonEvent
|
|
54
37
|
*/
|
|
55
38
|
'FeeList'?: Array<FeeComponent>;
|
|
56
39
|
/**
|
|
57
40
|
* The type of payment. Possible values: * Sales
|
|
58
|
-
* @type {string}
|
|
59
|
-
* @memberof PayWithAmazonEvent
|
|
60
41
|
*/
|
|
61
42
|
'PaymentAmountType'?: string;
|
|
62
43
|
/**
|
|
63
44
|
* A short description of this payment event.
|
|
64
|
-
* @type {string}
|
|
65
|
-
* @memberof PayWithAmazonEvent
|
|
66
45
|
*/
|
|
67
46
|
'AmountDescription'?: string;
|
|
68
47
|
/**
|
|
69
48
|
* The fulfillment channel. Possible values: * AFN - Amazon Fulfillment Network (Fulfillment by Amazon) * MFN - Merchant Fulfillment Network (self-fulfilled)
|
|
70
|
-
* @type {string}
|
|
71
|
-
* @memberof PayWithAmazonEvent
|
|
72
49
|
*/
|
|
73
50
|
'FulfillmentChannel'?: string;
|
|
74
51
|
/**
|
|
75
52
|
* The store name where the event occurred.
|
|
76
|
-
* @type {string}
|
|
77
|
-
* @memberof PayWithAmazonEvent
|
|
78
53
|
*/
|
|
79
54
|
'StoreName'?: string;
|
|
80
55
|
}
|
|
@@ -12,44 +12,21 @@
|
|
|
12
12
|
import type { Currency } from './currency';
|
|
13
13
|
/**
|
|
14
14
|
* A Sponsored Products payment event.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface ProductAdsPaymentEvent
|
|
17
15
|
*/
|
|
18
16
|
export interface ProductAdsPaymentEvent {
|
|
19
17
|
/**
|
|
20
18
|
* Fields with a schema type of date are in ISO 8601 date time format (for example GroupBeginDate).
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof ProductAdsPaymentEvent
|
|
23
19
|
*/
|
|
24
20
|
'postedDate'?: string;
|
|
25
21
|
/**
|
|
26
22
|
* Indicates if the transaction is for a charge or a refund. Possible values: * charge - Charge * refund - Refund
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof ProductAdsPaymentEvent
|
|
29
23
|
*/
|
|
30
24
|
'transactionType'?: string;
|
|
31
25
|
/**
|
|
32
26
|
* Identifier for the invoice that the transaction appears in.
|
|
33
|
-
* @type {string}
|
|
34
|
-
* @memberof ProductAdsPaymentEvent
|
|
35
27
|
*/
|
|
36
28
|
'invoiceId'?: string;
|
|
37
|
-
/**
|
|
38
|
-
*
|
|
39
|
-
* @type {Currency}
|
|
40
|
-
* @memberof ProductAdsPaymentEvent
|
|
41
|
-
*/
|
|
42
29
|
'baseValue'?: Currency;
|
|
43
|
-
/**
|
|
44
|
-
*
|
|
45
|
-
* @type {Currency}
|
|
46
|
-
* @memberof ProductAdsPaymentEvent
|
|
47
|
-
*/
|
|
48
30
|
'taxValue'?: Currency;
|
|
49
|
-
/**
|
|
50
|
-
*
|
|
51
|
-
* @type {Currency}
|
|
52
|
-
* @memberof ProductAdsPaymentEvent
|
|
53
|
-
*/
|
|
54
31
|
'transactionValue'?: Currency;
|
|
55
32
|
}
|
|
@@ -12,26 +12,15 @@
|
|
|
12
12
|
import type { Currency } from './currency';
|
|
13
13
|
/**
|
|
14
14
|
* A promotion applied to an item.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface Promotion
|
|
17
15
|
*/
|
|
18
16
|
export interface Promotion {
|
|
19
17
|
/**
|
|
20
18
|
* The type of promotion.
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof Promotion
|
|
23
19
|
*/
|
|
24
20
|
'PromotionType'?: string;
|
|
25
21
|
/**
|
|
26
22
|
* The seller-specified identifier for the promotion.
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof Promotion
|
|
29
23
|
*/
|
|
30
24
|
'PromotionId'?: string;
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @type {Currency}
|
|
34
|
-
* @memberof Promotion
|
|
35
|
-
*/
|
|
36
25
|
'PromotionAmount'?: Currency;
|
|
37
26
|
}
|
|
@@ -12,44 +12,30 @@
|
|
|
12
12
|
import type { RemovalShipmentItemAdjustment } from './removal-shipment-item-adjustment';
|
|
13
13
|
/**
|
|
14
14
|
* A financial adjustment event for FBA liquidated inventory. A positive value indicates money owed to Amazon by the buyer (for example, when the charge was incorrectly calculated as less than it should be). A negative value indicates a full or partial refund owed to the buyer (for example, when the buyer receives damaged items or fewer items than ordered).
|
|
15
|
-
* @export
|
|
16
|
-
* @interface RemovalShipmentAdjustmentEvent
|
|
17
15
|
*/
|
|
18
16
|
export interface RemovalShipmentAdjustmentEvent {
|
|
19
17
|
/**
|
|
20
18
|
* Fields with a schema type of date are in ISO 8601 date time format (for example GroupBeginDate).
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof RemovalShipmentAdjustmentEvent
|
|
23
19
|
*/
|
|
24
20
|
'PostedDate'?: string;
|
|
25
21
|
/**
|
|
26
22
|
* The unique identifier for the adjustment event.
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof RemovalShipmentAdjustmentEvent
|
|
29
23
|
*/
|
|
30
24
|
'AdjustmentEventId'?: string;
|
|
31
25
|
/**
|
|
32
26
|
* The merchant removal orderId.
|
|
33
|
-
* @type {string}
|
|
34
|
-
* @memberof RemovalShipmentAdjustmentEvent
|
|
35
27
|
*/
|
|
36
28
|
'MerchantOrderId'?: string;
|
|
37
29
|
/**
|
|
38
30
|
* The orderId for shipping inventory.
|
|
39
|
-
* @type {string}
|
|
40
|
-
* @memberof RemovalShipmentAdjustmentEvent
|
|
41
31
|
*/
|
|
42
32
|
'OrderId'?: string;
|
|
43
33
|
/**
|
|
44
34
|
* The type of removal order. Possible values: * WHOLESALE_LIQUIDATION.
|
|
45
|
-
* @type {string}
|
|
46
|
-
* @memberof RemovalShipmentAdjustmentEvent
|
|
47
35
|
*/
|
|
48
36
|
'TransactionType'?: string;
|
|
49
37
|
/**
|
|
50
38
|
* A comma-delimited list of Removal shipmentItemAdjustment details for FBA inventory.
|
|
51
|
-
* @type {Array<RemovalShipmentItemAdjustment>}
|
|
52
|
-
* @memberof RemovalShipmentAdjustmentEvent
|
|
53
39
|
*/
|
|
54
40
|
'RemovalShipmentItemAdjustmentList'?: Array<RemovalShipmentItemAdjustment>;
|
|
55
41
|
}
|
|
@@ -12,44 +12,30 @@
|
|
|
12
12
|
import type { RemovalShipmentItem } from './removal-shipment-item';
|
|
13
13
|
/**
|
|
14
14
|
* A removal shipment event for a removal order.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface RemovalShipmentEvent
|
|
17
15
|
*/
|
|
18
16
|
export interface RemovalShipmentEvent {
|
|
19
17
|
/**
|
|
20
18
|
* Fields with a schema type of date are in ISO 8601 date time format (for example GroupBeginDate).
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof RemovalShipmentEvent
|
|
23
19
|
*/
|
|
24
20
|
'PostedDate'?: string;
|
|
25
21
|
/**
|
|
26
22
|
* The merchant removal orderId.
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof RemovalShipmentEvent
|
|
29
23
|
*/
|
|
30
24
|
'MerchantOrderId'?: string;
|
|
31
25
|
/**
|
|
32
26
|
* The identifier for the removal shipment order.
|
|
33
|
-
* @type {string}
|
|
34
|
-
* @memberof RemovalShipmentEvent
|
|
35
27
|
*/
|
|
36
28
|
'OrderId'?: string;
|
|
37
29
|
/**
|
|
38
30
|
* The type of removal order. Possible values: * WHOLESALE_LIQUIDATION
|
|
39
|
-
* @type {string}
|
|
40
|
-
* @memberof RemovalShipmentEvent
|
|
41
31
|
*/
|
|
42
32
|
'TransactionType'?: string;
|
|
43
33
|
/**
|
|
44
34
|
* The name of the store where the event occurred.
|
|
45
|
-
* @type {string}
|
|
46
|
-
* @memberof RemovalShipmentEvent
|
|
47
35
|
*/
|
|
48
36
|
'StoreName'?: string;
|
|
49
37
|
/**
|
|
50
38
|
* A list of information about removal shipment items.
|
|
51
|
-
* @type {Array<RemovalShipmentItem>}
|
|
52
|
-
* @memberof RemovalShipmentEvent
|
|
53
39
|
*/
|
|
54
40
|
'RemovalShipmentItemList'?: Array<RemovalShipmentItem>;
|
|
55
41
|
}
|
|
@@ -12,50 +12,25 @@
|
|
|
12
12
|
import type { Currency } from './currency';
|
|
13
13
|
/**
|
|
14
14
|
* Item-level information for a removal shipment item adjustment.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface RemovalShipmentItemAdjustment
|
|
17
15
|
*/
|
|
18
16
|
export interface RemovalShipmentItemAdjustment {
|
|
19
17
|
/**
|
|
20
18
|
* An identifier for an item in a removal shipment.
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof RemovalShipmentItemAdjustment
|
|
23
19
|
*/
|
|
24
20
|
'RemovalShipmentItemId'?: string;
|
|
25
21
|
/**
|
|
26
22
|
* 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.
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof RemovalShipmentItemAdjustment
|
|
29
23
|
*/
|
|
30
24
|
'TaxCollectionModel'?: string;
|
|
31
25
|
/**
|
|
32
26
|
* The Amazon fulfillment network SKU for the item.
|
|
33
|
-
* @type {string}
|
|
34
|
-
* @memberof RemovalShipmentItemAdjustment
|
|
35
27
|
*/
|
|
36
28
|
'FulfillmentNetworkSKU'?: string;
|
|
37
29
|
/**
|
|
38
30
|
* Adjusted quantity of removal shipmentItemAdjustment items.
|
|
39
|
-
* @type {number}
|
|
40
|
-
* @memberof RemovalShipmentItemAdjustment
|
|
41
31
|
*/
|
|
42
32
|
'AdjustedQuantity'?: number;
|
|
43
|
-
/**
|
|
44
|
-
*
|
|
45
|
-
* @type {Currency}
|
|
46
|
-
* @memberof RemovalShipmentItemAdjustment
|
|
47
|
-
*/
|
|
48
33
|
'RevenueAdjustment'?: Currency;
|
|
49
|
-
/**
|
|
50
|
-
*
|
|
51
|
-
* @type {Currency}
|
|
52
|
-
* @memberof RemovalShipmentItemAdjustment
|
|
53
|
-
*/
|
|
54
34
|
'TaxAmountAdjustment'?: Currency;
|
|
55
|
-
/**
|
|
56
|
-
*
|
|
57
|
-
* @type {Currency}
|
|
58
|
-
* @memberof RemovalShipmentItemAdjustment
|
|
59
|
-
*/
|
|
60
35
|
'TaxWithheldAdjustment'?: Currency;
|
|
61
36
|
}
|
|
@@ -12,56 +12,26 @@
|
|
|
12
12
|
import type { Currency } from './currency';
|
|
13
13
|
/**
|
|
14
14
|
* Item-level information for a removal shipment.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface RemovalShipmentItem
|
|
17
15
|
*/
|
|
18
16
|
export interface RemovalShipmentItem {
|
|
19
17
|
/**
|
|
20
18
|
* An identifier for an item in a removal shipment.
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof RemovalShipmentItem
|
|
23
19
|
*/
|
|
24
20
|
'RemovalShipmentItemId'?: string;
|
|
25
21
|
/**
|
|
26
22
|
* 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.
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof RemovalShipmentItem
|
|
29
23
|
*/
|
|
30
24
|
'TaxCollectionModel'?: string;
|
|
31
25
|
/**
|
|
32
26
|
* The Amazon fulfillment network SKU for the item.
|
|
33
|
-
* @type {string}
|
|
34
|
-
* @memberof RemovalShipmentItem
|
|
35
27
|
*/
|
|
36
28
|
'FulfillmentNetworkSKU'?: string;
|
|
37
29
|
/**
|
|
38
30
|
* The quantity of the item.
|
|
39
|
-
* @type {number}
|
|
40
|
-
* @memberof RemovalShipmentItem
|
|
41
31
|
*/
|
|
42
32
|
'Quantity'?: number;
|
|
43
|
-
/**
|
|
44
|
-
*
|
|
45
|
-
* @type {Currency}
|
|
46
|
-
* @memberof RemovalShipmentItem
|
|
47
|
-
*/
|
|
48
33
|
'Revenue'?: Currency;
|
|
49
|
-
/**
|
|
50
|
-
*
|
|
51
|
-
* @type {Currency}
|
|
52
|
-
* @memberof RemovalShipmentItem
|
|
53
|
-
*/
|
|
54
34
|
'FeeAmount'?: Currency;
|
|
55
|
-
/**
|
|
56
|
-
*
|
|
57
|
-
* @type {Currency}
|
|
58
|
-
* @memberof RemovalShipmentItem
|
|
59
|
-
*/
|
|
60
35
|
'TaxAmount'?: Currency;
|
|
61
|
-
/**
|
|
62
|
-
*
|
|
63
|
-
* @type {Currency}
|
|
64
|
-
* @memberof RemovalShipmentItem
|
|
65
|
-
*/
|
|
66
36
|
'TaxWithheld'?: Currency;
|
|
67
37
|
}
|
|
@@ -15,68 +15,40 @@ import type { FeeComponent } from './fee-component';
|
|
|
15
15
|
import type { TaxWithheldComponent } from './tax-withheld-component';
|
|
16
16
|
/**
|
|
17
17
|
* An event related to a rental transaction.
|
|
18
|
-
* @export
|
|
19
|
-
* @interface RentalTransactionEvent
|
|
20
18
|
*/
|
|
21
19
|
export interface RentalTransactionEvent {
|
|
22
20
|
/**
|
|
23
21
|
* An Amazon-defined identifier for an order.
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof RentalTransactionEvent
|
|
26
22
|
*/
|
|
27
23
|
'AmazonOrderId'?: string;
|
|
28
24
|
/**
|
|
29
25
|
* The type of rental event. Possible values: * RentalCustomerPayment-Buyout - Transaction type that represents when the customer wants to buy out a rented item. * RentalCustomerPayment-Extension - Transaction type that represents when the customer wants to extend the rental period. * RentalCustomerRefund-Buyout - Transaction type that represents when the customer requests a refund for the buyout of the rented item. * RentalCustomerRefund-Extension - Transaction type that represents when the customer requests a refund over the extension on the rented item. * RentalHandlingFee - Transaction type that represents the fee that Amazon charges sellers who rent through Amazon. * RentalChargeFailureReimbursement - Transaction type that represents when Amazon sends money to the seller to compensate for a failed charge. * RentalLostItemReimbursement - Transaction type that represents when Amazon sends money to the seller to compensate for a lost item.
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof RentalTransactionEvent
|
|
32
26
|
*/
|
|
33
27
|
'RentalEventType'?: string;
|
|
34
28
|
/**
|
|
35
29
|
* The number of days that the buyer extended an already rented item. This value is only returned for RentalCustomerPayment-Extension and RentalCustomerRefund-Extension events.
|
|
36
|
-
* @type {number}
|
|
37
|
-
* @memberof RentalTransactionEvent
|
|
38
30
|
*/
|
|
39
31
|
'ExtensionLength'?: number;
|
|
40
32
|
/**
|
|
41
33
|
* Fields with a schema type of date are in ISO 8601 date time format (for example GroupBeginDate).
|
|
42
|
-
* @type {string}
|
|
43
|
-
* @memberof RentalTransactionEvent
|
|
44
34
|
*/
|
|
45
35
|
'PostedDate'?: string;
|
|
46
36
|
/**
|
|
47
37
|
* A list of charge information on the seller\'s account.
|
|
48
|
-
* @type {Array<ChargeComponent>}
|
|
49
|
-
* @memberof RentalTransactionEvent
|
|
50
38
|
*/
|
|
51
39
|
'RentalChargeList'?: Array<ChargeComponent>;
|
|
52
40
|
/**
|
|
53
41
|
* A list of fee component information.
|
|
54
|
-
* @type {Array<FeeComponent>}
|
|
55
|
-
* @memberof RentalTransactionEvent
|
|
56
42
|
*/
|
|
57
43
|
'RentalFeeList'?: Array<FeeComponent>;
|
|
58
44
|
/**
|
|
59
45
|
* The name of the marketplace.
|
|
60
|
-
* @type {string}
|
|
61
|
-
* @memberof RentalTransactionEvent
|
|
62
46
|
*/
|
|
63
47
|
'MarketplaceName'?: string;
|
|
64
|
-
/**
|
|
65
|
-
*
|
|
66
|
-
* @type {Currency}
|
|
67
|
-
* @memberof RentalTransactionEvent
|
|
68
|
-
*/
|
|
69
48
|
'RentalInitialValue'?: Currency;
|
|
70
|
-
/**
|
|
71
|
-
*
|
|
72
|
-
* @type {Currency}
|
|
73
|
-
* @memberof RentalTransactionEvent
|
|
74
|
-
*/
|
|
75
49
|
'RentalReimbursement'?: Currency;
|
|
76
50
|
/**
|
|
77
51
|
* A list of information about taxes withheld.
|
|
78
|
-
* @type {Array<TaxWithheldComponent>}
|
|
79
|
-
* @memberof RentalTransactionEvent
|
|
80
52
|
*/
|
|
81
53
|
'RentalTaxWithheldList'?: Array<TaxWithheldComponent>;
|
|
82
54
|
}
|
|
@@ -13,50 +13,28 @@ import type { Currency } from './currency';
|
|
|
13
13
|
import type { TaxWithheldComponent } from './tax-withheld-component';
|
|
14
14
|
/**
|
|
15
15
|
* A retrocharge or retrocharge reversal.
|
|
16
|
-
* @export
|
|
17
|
-
* @interface RetrochargeEvent
|
|
18
16
|
*/
|
|
19
17
|
export interface RetrochargeEvent {
|
|
20
18
|
/**
|
|
21
19
|
* The type of event. Possible values: * Retrocharge * RetrochargeReversal
|
|
22
|
-
* @type {string}
|
|
23
|
-
* @memberof RetrochargeEvent
|
|
24
20
|
*/
|
|
25
21
|
'RetrochargeEventType'?: string;
|
|
26
22
|
/**
|
|
27
23
|
* An Amazon-defined identifier for an order.
|
|
28
|
-
* @type {string}
|
|
29
|
-
* @memberof RetrochargeEvent
|
|
30
24
|
*/
|
|
31
25
|
'AmazonOrderId'?: string;
|
|
32
26
|
/**
|
|
33
27
|
* Fields with a schema type of date are in ISO 8601 date time format (for example GroupBeginDate).
|
|
34
|
-
* @type {string}
|
|
35
|
-
* @memberof RetrochargeEvent
|
|
36
28
|
*/
|
|
37
29
|
'PostedDate'?: string;
|
|
38
|
-
/**
|
|
39
|
-
*
|
|
40
|
-
* @type {Currency}
|
|
41
|
-
* @memberof RetrochargeEvent
|
|
42
|
-
*/
|
|
43
30
|
'BaseTax'?: Currency;
|
|
44
|
-
/**
|
|
45
|
-
*
|
|
46
|
-
* @type {Currency}
|
|
47
|
-
* @memberof RetrochargeEvent
|
|
48
|
-
*/
|
|
49
31
|
'ShippingTax'?: Currency;
|
|
50
32
|
/**
|
|
51
33
|
* The name of the marketplace where the retrocharge event occurred.
|
|
52
|
-
* @type {string}
|
|
53
|
-
* @memberof RetrochargeEvent
|
|
54
34
|
*/
|
|
55
35
|
'MarketplaceName'?: string;
|
|
56
36
|
/**
|
|
57
37
|
* A list of information about taxes withheld.
|
|
58
|
-
* @type {Array<TaxWithheldComponent>}
|
|
59
|
-
* @memberof RetrochargeEvent
|
|
60
38
|
*/
|
|
61
39
|
'RetrochargeTaxWithheldList'?: Array<TaxWithheldComponent>;
|
|
62
40
|
}
|
|
@@ -13,38 +13,23 @@ import type { Currency } from './currency';
|
|
|
13
13
|
import type { SAFETReimbursementItem } from './safetreimbursement-item';
|
|
14
14
|
/**
|
|
15
15
|
* A SAFE-T claim reimbursement on the seller\'s account.
|
|
16
|
-
* @export
|
|
17
|
-
* @interface SAFETReimbursementEvent
|
|
18
16
|
*/
|
|
19
17
|
export interface SAFETReimbursementEvent {
|
|
20
18
|
/**
|
|
21
19
|
* Fields with a schema type of date are in ISO 8601 date time format (for example GroupBeginDate).
|
|
22
|
-
* @type {string}
|
|
23
|
-
* @memberof SAFETReimbursementEvent
|
|
24
20
|
*/
|
|
25
21
|
'PostedDate'?: string;
|
|
26
22
|
/**
|
|
27
23
|
* A SAFE-T claim identifier.
|
|
28
|
-
* @type {string}
|
|
29
|
-
* @memberof SAFETReimbursementEvent
|
|
30
24
|
*/
|
|
31
25
|
'SAFETClaimId'?: string;
|
|
32
|
-
/**
|
|
33
|
-
*
|
|
34
|
-
* @type {Currency}
|
|
35
|
-
* @memberof SAFETReimbursementEvent
|
|
36
|
-
*/
|
|
37
26
|
'ReimbursedAmount'?: Currency;
|
|
38
27
|
/**
|
|
39
28
|
* Indicates why the seller was reimbursed.
|
|
40
|
-
* @type {string}
|
|
41
|
-
* @memberof SAFETReimbursementEvent
|
|
42
29
|
*/
|
|
43
30
|
'ReasonCode'?: string;
|
|
44
31
|
/**
|
|
45
32
|
* A list of SAFETReimbursementItems.
|
|
46
|
-
* @type {Array<SAFETReimbursementItem>}
|
|
47
|
-
* @memberof SAFETReimbursementEvent
|
|
48
33
|
*/
|
|
49
34
|
'SAFETReimbursementItemList'?: Array<SAFETReimbursementItem>;
|
|
50
35
|
}
|
|
@@ -12,26 +12,18 @@
|
|
|
12
12
|
import type { ChargeComponent } from './charge-component';
|
|
13
13
|
/**
|
|
14
14
|
* An item from a SAFE-T claim reimbursement.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface SAFETReimbursementItem
|
|
17
15
|
*/
|
|
18
16
|
export interface SAFETReimbursementItem {
|
|
19
17
|
/**
|
|
20
18
|
* A list of charge information on the seller\'s account.
|
|
21
|
-
* @type {Array<ChargeComponent>}
|
|
22
|
-
* @memberof SAFETReimbursementItem
|
|
23
19
|
*/
|
|
24
20
|
'itemChargeList'?: Array<ChargeComponent>;
|
|
25
21
|
/**
|
|
26
22
|
* The description of the item as shown on the product detail page on the retail website.
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof SAFETReimbursementItem
|
|
29
23
|
*/
|
|
30
24
|
'productDescription'?: string;
|
|
31
25
|
/**
|
|
32
26
|
* The number of units of the item being reimbursed.
|
|
33
|
-
* @type {string}
|
|
34
|
-
* @memberof SAFETReimbursementItem
|
|
35
27
|
*/
|
|
36
28
|
'quantity'?: string;
|
|
37
29
|
}
|