@sp-api-sdk/finances-api-v0 1.9.4 → 1.9.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/src/api-model/api/default-api.js +4 -4
- package/dist/es/src/api-model/api/default-api.js +4 -4
- package/dist/types/src/api-model/api/default-api.d.ts +20 -20
- package/dist/types/src/api-model/base.d.ts +2 -2
- package/dist/types/src/api-model/common.d.ts +7 -7
- package/dist/types/src/api-model/models/adjustment-event.d.ts +4 -4
- package/dist/types/src/api-model/models/adjustment-item.d.ts +7 -7
- package/dist/types/src/api-model/models/affordability-expense-event.d.ts +9 -9
- package/dist/types/src/api-model/models/charge-component.d.ts +2 -2
- package/dist/types/src/api-model/models/charge-instrument.d.ts +3 -3
- package/dist/types/src/api-model/models/coupon-payment-event.d.ts +8 -8
- package/dist/types/src/api-model/models/currency.d.ts +2 -2
- package/dist/types/src/api-model/models/debt-recovery-event.d.ts +5 -5
- package/dist/types/src/api-model/models/debt-recovery-item.d.ts +4 -4
- package/dist/types/src/api-model/models/direct-payment.d.ts +2 -2
- package/dist/types/src/api-model/models/fbaliquidation-event.d.ts +4 -4
- package/dist/types/src/api-model/models/fee-component.d.ts +2 -2
- package/dist/types/src/api-model/models/financial-event-group.d.ts +11 -11
- package/dist/types/src/api-model/models/financial-events.d.ts +27 -27
- package/dist/types/src/api-model/models/imaging-services-fee-event.d.ts +4 -4
- package/dist/types/src/api-model/models/list-financial-event-groups-payload.d.ts +2 -2
- package/dist/types/src/api-model/models/list-financial-event-groups-response.d.ts +2 -2
- package/dist/types/src/api-model/models/list-financial-events-payload.d.ts +2 -2
- package/dist/types/src/api-model/models/list-financial-events-response.d.ts +2 -2
- package/dist/types/src/api-model/models/loan-servicing-event.d.ts +2 -2
- package/dist/types/src/api-model/models/model-error.d.ts +3 -3
- package/dist/types/src/api-model/models/network-commingling-transaction-event.d.ts +8 -8
- package/dist/types/src/api-model/models/pay-with-amazon-event.d.ts +10 -10
- package/dist/types/src/api-model/models/product-ads-payment-event.d.ts +6 -6
- package/dist/types/src/api-model/models/promotion.d.ts +3 -3
- package/dist/types/src/api-model/models/removal-shipment-adjustment-event.d.ts +6 -6
- package/dist/types/src/api-model/models/removal-shipment-event.d.ts +5 -5
- package/dist/types/src/api-model/models/removal-shipment-item-adjustment.d.ts +7 -7
- package/dist/types/src/api-model/models/removal-shipment-item.d.ts +8 -8
- package/dist/types/src/api-model/models/rental-transaction-event.d.ts +10 -10
- package/dist/types/src/api-model/models/retrocharge-event.d.ts +7 -7
- package/dist/types/src/api-model/models/safetreimbursement-event.d.ts +5 -5
- package/dist/types/src/api-model/models/safetreimbursement-item.d.ts +3 -3
- package/dist/types/src/api-model/models/seller-deal-payment-event.d.ts +8 -8
- package/dist/types/src/api-model/models/seller-review-enrollment-payment-event.d.ts +6 -6
- package/dist/types/src/api-model/models/service-fee-event.d.ts +7 -7
- package/dist/types/src/api-model/models/shipment-event.d.ts +13 -13
- package/dist/types/src/api-model/models/shipment-item.d.ts +13 -13
- package/dist/types/src/api-model/models/solution-provider-credit-event.d.ts +10 -10
- package/dist/types/src/api-model/models/tax-withheld-component.d.ts +2 -2
- package/dist/types/src/api-model/models/tax-withholding-event.d.ts +4 -4
- package/dist/types/src/api-model/models/tax-withholding-period.d.ts +2 -2
- package/dist/types/src/api-model/models/trial-shipment-event.d.ts +5 -5
- package/package.json +4 -4
|
@@ -21,59 +21,59 @@ export interface SolutionProviderCreditEvent {
|
|
|
21
21
|
* @type {string}
|
|
22
22
|
* @memberof SolutionProviderCreditEvent
|
|
23
23
|
*/
|
|
24
|
-
ProviderTransactionType?: string;
|
|
24
|
+
'ProviderTransactionType'?: string;
|
|
25
25
|
/**
|
|
26
26
|
* A seller-defined identifier for an order.
|
|
27
27
|
* @type {string}
|
|
28
28
|
* @memberof SolutionProviderCreditEvent
|
|
29
29
|
*/
|
|
30
|
-
SellerOrderId?: string;
|
|
30
|
+
'SellerOrderId'?: string;
|
|
31
31
|
/**
|
|
32
32
|
* The identifier of the marketplace where the order was placed.
|
|
33
33
|
* @type {string}
|
|
34
34
|
* @memberof SolutionProviderCreditEvent
|
|
35
35
|
*/
|
|
36
|
-
MarketplaceId?: string;
|
|
36
|
+
'MarketplaceId'?: string;
|
|
37
37
|
/**
|
|
38
38
|
* The two-letter country code of the country associated with the marketplace where the order was placed.
|
|
39
39
|
* @type {string}
|
|
40
40
|
* @memberof SolutionProviderCreditEvent
|
|
41
41
|
*/
|
|
42
|
-
MarketplaceCountryCode?: string;
|
|
42
|
+
'MarketplaceCountryCode'?: string;
|
|
43
43
|
/**
|
|
44
44
|
* The Amazon-defined identifier of the seller.
|
|
45
45
|
* @type {string}
|
|
46
46
|
* @memberof SolutionProviderCreditEvent
|
|
47
47
|
*/
|
|
48
|
-
SellerId?: string;
|
|
48
|
+
'SellerId'?: string;
|
|
49
49
|
/**
|
|
50
50
|
* The store name where the payment event occurred.
|
|
51
51
|
* @type {string}
|
|
52
52
|
* @memberof SolutionProviderCreditEvent
|
|
53
53
|
*/
|
|
54
|
-
SellerStoreName?: string;
|
|
54
|
+
'SellerStoreName'?: string;
|
|
55
55
|
/**
|
|
56
56
|
* The Amazon-defined identifier of the solution provider.
|
|
57
57
|
* @type {string}
|
|
58
58
|
* @memberof SolutionProviderCreditEvent
|
|
59
59
|
*/
|
|
60
|
-
ProviderId?: string;
|
|
60
|
+
'ProviderId'?: string;
|
|
61
61
|
/**
|
|
62
62
|
* The store name where the payment event occurred.
|
|
63
63
|
* @type {string}
|
|
64
64
|
* @memberof SolutionProviderCreditEvent
|
|
65
65
|
*/
|
|
66
|
-
ProviderStoreName?: string;
|
|
66
|
+
'ProviderStoreName'?: string;
|
|
67
67
|
/**
|
|
68
68
|
*
|
|
69
69
|
* @type {Currency}
|
|
70
70
|
* @memberof SolutionProviderCreditEvent
|
|
71
71
|
*/
|
|
72
|
-
TransactionAmount?: Currency;
|
|
72
|
+
'TransactionAmount'?: Currency;
|
|
73
73
|
/**
|
|
74
74
|
*
|
|
75
75
|
* @type {string}
|
|
76
76
|
* @memberof SolutionProviderCreditEvent
|
|
77
77
|
*/
|
|
78
|
-
TransactionCreationDate?: string;
|
|
78
|
+
'TransactionCreationDate'?: string;
|
|
79
79
|
}
|
|
@@ -21,11 +21,11 @@ export interface TaxWithheldComponent {
|
|
|
21
21
|
* @type {string}
|
|
22
22
|
* @memberof TaxWithheldComponent
|
|
23
23
|
*/
|
|
24
|
-
TaxCollectionModel?: string;
|
|
24
|
+
'TaxCollectionModel'?: string;
|
|
25
25
|
/**
|
|
26
26
|
* A list of charge information on the seller\'s account.
|
|
27
27
|
* @type {Array<ChargeComponent>}
|
|
28
28
|
* @memberof TaxWithheldComponent
|
|
29
29
|
*/
|
|
30
|
-
TaxesWithheld?: Array<ChargeComponent>;
|
|
30
|
+
'TaxesWithheld'?: Array<ChargeComponent>;
|
|
31
31
|
}
|
|
@@ -22,23 +22,23 @@ export interface TaxWithholdingEvent {
|
|
|
22
22
|
* @type {string}
|
|
23
23
|
* @memberof TaxWithholdingEvent
|
|
24
24
|
*/
|
|
25
|
-
PostedDate?: string;
|
|
25
|
+
'PostedDate'?: string;
|
|
26
26
|
/**
|
|
27
27
|
*
|
|
28
28
|
* @type {Currency}
|
|
29
29
|
* @memberof TaxWithholdingEvent
|
|
30
30
|
*/
|
|
31
|
-
BaseAmount?: Currency;
|
|
31
|
+
'BaseAmount'?: Currency;
|
|
32
32
|
/**
|
|
33
33
|
*
|
|
34
34
|
* @type {Currency}
|
|
35
35
|
* @memberof TaxWithholdingEvent
|
|
36
36
|
*/
|
|
37
|
-
WithheldAmount?: Currency;
|
|
37
|
+
'WithheldAmount'?: Currency;
|
|
38
38
|
/**
|
|
39
39
|
*
|
|
40
40
|
* @type {TaxWithholdingPeriod}
|
|
41
41
|
* @memberof TaxWithholdingEvent
|
|
42
42
|
*/
|
|
43
|
-
TaxWithholdingPeriod?: TaxWithholdingPeriod;
|
|
43
|
+
'TaxWithholdingPeriod'?: TaxWithholdingPeriod;
|
|
44
44
|
}
|
|
@@ -20,11 +20,11 @@ export interface TaxWithholdingPeriod {
|
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof TaxWithholdingPeriod
|
|
22
22
|
*/
|
|
23
|
-
StartDate?: string;
|
|
23
|
+
'StartDate'?: string;
|
|
24
24
|
/**
|
|
25
25
|
*
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof TaxWithholdingPeriod
|
|
28
28
|
*/
|
|
29
|
-
EndDate?: string;
|
|
29
|
+
'EndDate'?: string;
|
|
30
30
|
}
|
|
@@ -21,29 +21,29 @@ export interface TrialShipmentEvent {
|
|
|
21
21
|
* @type {string}
|
|
22
22
|
* @memberof TrialShipmentEvent
|
|
23
23
|
*/
|
|
24
|
-
AmazonOrderId?: string;
|
|
24
|
+
'AmazonOrderId'?: string;
|
|
25
25
|
/**
|
|
26
26
|
* The identifier of the financial event group.
|
|
27
27
|
* @type {string}
|
|
28
28
|
* @memberof TrialShipmentEvent
|
|
29
29
|
*/
|
|
30
|
-
FinancialEventGroupId?: string;
|
|
30
|
+
'FinancialEventGroupId'?: string;
|
|
31
31
|
/**
|
|
32
32
|
*
|
|
33
33
|
* @type {string}
|
|
34
34
|
* @memberof TrialShipmentEvent
|
|
35
35
|
*/
|
|
36
|
-
PostedDate?: string;
|
|
36
|
+
'PostedDate'?: string;
|
|
37
37
|
/**
|
|
38
38
|
* 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.
|
|
39
39
|
* @type {string}
|
|
40
40
|
* @memberof TrialShipmentEvent
|
|
41
41
|
*/
|
|
42
|
-
SKU?: string;
|
|
42
|
+
'SKU'?: string;
|
|
43
43
|
/**
|
|
44
44
|
* A list of fee component information.
|
|
45
45
|
* @type {Array<FeeComponent>}
|
|
46
46
|
* @memberof TrialShipmentEvent
|
|
47
47
|
*/
|
|
48
|
-
FeeList?: Array<FeeComponent>;
|
|
48
|
+
'FeeList'?: Array<FeeComponent>;
|
|
49
49
|
}
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@sp-api-sdk/finances-api-v0",
|
|
3
3
|
"author": "Vincent Mesquita <vincent.mesquita@bizon.solutions>",
|
|
4
4
|
"description": "The Selling Partner API for Finances helps you obtain financial information relevant to a seller's business. You can obtain financial events for a given order, financial event group, or date range without having to wait until a statement period closes. You can also obtain financial event groups for a given date range.",
|
|
5
|
-
"version": "1.9.
|
|
5
|
+
"version": "1.9.7",
|
|
6
6
|
"main": "dist/cjs/index.js",
|
|
7
7
|
"module": "dist/es/index.js",
|
|
8
8
|
"types": "dist/types/index.d.ts",
|
|
@@ -27,8 +27,8 @@
|
|
|
27
27
|
"test": "jest"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@sp-api-sdk/auth": "^1.9.
|
|
31
|
-
"@sp-api-sdk/common": "^1.9.
|
|
30
|
+
"@sp-api-sdk/auth": "^1.9.19",
|
|
31
|
+
"@sp-api-sdk/common": "^1.9.5",
|
|
32
32
|
"axios": "^0.27.2"
|
|
33
33
|
},
|
|
34
34
|
"repository": {
|
|
@@ -50,5 +50,5 @@
|
|
|
50
50
|
"sp sdk",
|
|
51
51
|
"finances api"
|
|
52
52
|
],
|
|
53
|
-
"gitHead": "
|
|
53
|
+
"gitHead": "72808979582d663f043688f24d519b604f7fd2df"
|
|
54
54
|
}
|