@sp-api-sdk/finances-api-v0 1.10.6 → 1.11.1
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 +34 -18
- package/dist/cjs/src/api-model/base.js +5 -1
- package/dist/cjs/src/api-model/configuration.js +49 -0
- package/dist/cjs/src/api-model/models/adhoc-disbursement-event.js +15 -0
- package/dist/cjs/src/api-model/models/capacity-reservation-billing-event.js +15 -0
- package/dist/cjs/src/api-model/models/charge-refund-event.js +15 -0
- package/dist/cjs/src/api-model/models/charge-refund-transaction.js +15 -0
- package/dist/cjs/src/api-model/models/failed-adhoc-disbursement-event-list.js +15 -0
- package/dist/cjs/src/api-model/models/index.js +7 -0
- package/dist/cjs/src/api-model/models/tdsreimbursement-event.js +15 -0
- package/dist/cjs/src/api-model/models/value-added-service-charge-event-list.js +15 -0
- package/dist/es/src/api-model/api/default-api.js +34 -18
- package/dist/es/src/api-model/base.js +5 -1
- package/dist/es/src/api-model/configuration.js +49 -0
- package/dist/es/src/api-model/models/adhoc-disbursement-event.js +14 -0
- package/dist/es/src/api-model/models/capacity-reservation-billing-event.js +14 -0
- package/dist/es/src/api-model/models/charge-refund-event.js +14 -0
- package/dist/es/src/api-model/models/charge-refund-transaction.js +14 -0
- package/dist/es/src/api-model/models/failed-adhoc-disbursement-event-list.js +14 -0
- package/dist/es/src/api-model/models/index.js +7 -0
- package/dist/es/src/api-model/models/tdsreimbursement-event.js +14 -0
- package/dist/es/src/api-model/models/value-added-service-charge-event-list.js +14 -0
- package/dist/types/src/api-model/api/default-api.d.ts +37 -19
- package/dist/types/src/api-model/models/adhoc-disbursement-event.d.ts +43 -0
- package/dist/types/src/api-model/models/capacity-reservation-billing-event.d.ts +43 -0
- package/dist/types/src/api-model/models/charge-refund-event.d.ts +43 -0
- package/dist/types/src/api-model/models/charge-refund-transaction.d.ts +31 -0
- package/dist/types/src/api-model/models/failed-adhoc-disbursement-event-list.d.ts +61 -0
- package/dist/types/src/api-model/models/financial-events.d.ts +52 -10
- package/dist/types/src/api-model/models/index.d.ts +7 -0
- package/dist/types/src/api-model/models/tdsreimbursement-event.d.ts +37 -0
- package/dist/types/src/api-model/models/value-added-service-charge-event-list.d.ts +43 -0
- package/package.json +3 -3
|
@@ -9,11 +9,15 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { AdhocDisbursementEvent } from './adhoc-disbursement-event';
|
|
12
13
|
import { AdjustmentEvent } from './adjustment-event';
|
|
13
14
|
import { AffordabilityExpenseEvent } from './affordability-expense-event';
|
|
15
|
+
import { CapacityReservationBillingEvent } from './capacity-reservation-billing-event';
|
|
16
|
+
import { ChargeRefundEvent } from './charge-refund-event';
|
|
14
17
|
import { CouponPaymentEvent } from './coupon-payment-event';
|
|
15
18
|
import { DebtRecoveryEvent } from './debt-recovery-event';
|
|
16
19
|
import { FBALiquidationEvent } from './fbaliquidation-event';
|
|
20
|
+
import { FailedAdhocDisbursementEventList } from './failed-adhoc-disbursement-event-list';
|
|
17
21
|
import { ImagingServicesFeeEvent } from './imaging-services-fee-event';
|
|
18
22
|
import { LoanServicingEvent } from './loan-servicing-event';
|
|
19
23
|
import { NetworkComminglingTransactionEvent } from './network-commingling-transaction-event';
|
|
@@ -29,8 +33,10 @@ import { SellerReviewEnrollmentPaymentEvent } from './seller-review-enrollment-p
|
|
|
29
33
|
import { ServiceFeeEvent } from './service-fee-event';
|
|
30
34
|
import { ShipmentEvent } from './shipment-event';
|
|
31
35
|
import { SolutionProviderCreditEvent } from './solution-provider-credit-event';
|
|
36
|
+
import { TDSReimbursementEvent } from './tdsreimbursement-event';
|
|
32
37
|
import { TaxWithholdingEvent } from './tax-withholding-event';
|
|
33
38
|
import { TrialShipmentEvent } from './trial-shipment-event';
|
|
39
|
+
import { ValueAddedServiceChargeEventList } from './value-added-service-charge-event-list';
|
|
34
40
|
/**
|
|
35
41
|
* Contains all information related to a financial event.
|
|
36
42
|
* @export
|
|
@@ -43,6 +49,12 @@ export interface FinancialEvents {
|
|
|
43
49
|
* @memberof FinancialEvents
|
|
44
50
|
*/
|
|
45
51
|
'ShipmentEventList'?: Array<ShipmentEvent>;
|
|
52
|
+
/**
|
|
53
|
+
* A list of `ShipmentEvent` items.
|
|
54
|
+
* @type {Array<ShipmentEvent>}
|
|
55
|
+
* @memberof FinancialEvents
|
|
56
|
+
*/
|
|
57
|
+
'ShipmentSettleEventList'?: Array<ShipmentEvent>;
|
|
46
58
|
/**
|
|
47
59
|
* A list of shipment event information.
|
|
48
60
|
* @type {Array<ShipmentEvent>}
|
|
@@ -169,6 +181,18 @@ export interface FinancialEvents {
|
|
|
169
181
|
* @memberof FinancialEvents
|
|
170
182
|
*/
|
|
171
183
|
'AffordabilityExpenseReversalEventList'?: Array<AffordabilityExpenseEvent>;
|
|
184
|
+
/**
|
|
185
|
+
* A list of removal shipment event information.
|
|
186
|
+
* @type {Array<RemovalShipmentEvent>}
|
|
187
|
+
* @memberof FinancialEvents
|
|
188
|
+
*/
|
|
189
|
+
'RemovalShipmentEventList'?: Array<RemovalShipmentEvent>;
|
|
190
|
+
/**
|
|
191
|
+
* A comma-delimited list of Removal shipmentAdjustment details for FBA inventory.
|
|
192
|
+
* @type {Array<RemovalShipmentAdjustmentEvent>}
|
|
193
|
+
* @memberof FinancialEvents
|
|
194
|
+
*/
|
|
195
|
+
'RemovalShipmentAdjustmentEventList'?: Array<RemovalShipmentAdjustmentEvent>;
|
|
172
196
|
/**
|
|
173
197
|
* A list of information about trial shipment financial events.
|
|
174
198
|
* @type {Array<TrialShipmentEvent>}
|
|
@@ -176,27 +200,45 @@ export interface FinancialEvents {
|
|
|
176
200
|
*/
|
|
177
201
|
'TrialShipmentEventList'?: Array<TrialShipmentEvent>;
|
|
178
202
|
/**
|
|
179
|
-
* A list of
|
|
180
|
-
* @type {Array<
|
|
203
|
+
* A list of `TDSReimbursementEvent` items.
|
|
204
|
+
* @type {Array<TDSReimbursementEvent>}
|
|
181
205
|
* @memberof FinancialEvents
|
|
182
206
|
*/
|
|
183
|
-
'
|
|
207
|
+
'TDSReimbursementEventList'?: Array<TDSReimbursementEvent>;
|
|
208
|
+
/**
|
|
209
|
+
* A list of `AdhocDisbursement` events.
|
|
210
|
+
* @type {Array<AdhocDisbursementEvent>}
|
|
211
|
+
* @memberof FinancialEvents
|
|
212
|
+
*/
|
|
213
|
+
'AdhocDisbursementEventList'?: Array<AdhocDisbursementEvent>;
|
|
184
214
|
/**
|
|
185
|
-
*
|
|
215
|
+
* A list of `TaxWithholding` events.
|
|
186
216
|
* @type {Array<TaxWithholdingEvent>}
|
|
187
217
|
* @memberof FinancialEvents
|
|
188
218
|
*/
|
|
189
219
|
'TaxWithholdingEventList'?: Array<TaxWithholdingEvent>;
|
|
190
220
|
/**
|
|
191
|
-
* A list of
|
|
192
|
-
* @type {Array<
|
|
221
|
+
* A list of charge refund events.
|
|
222
|
+
* @type {Array<ChargeRefundEvent>}
|
|
193
223
|
* @memberof FinancialEvents
|
|
194
224
|
*/
|
|
195
|
-
'
|
|
225
|
+
'ChargeRefundEventList'?: Array<ChargeRefundEvent>;
|
|
196
226
|
/**
|
|
197
|
-
*
|
|
198
|
-
* @type {
|
|
227
|
+
*
|
|
228
|
+
* @type {FailedAdhocDisbursementEventList}
|
|
199
229
|
* @memberof FinancialEvents
|
|
200
230
|
*/
|
|
201
|
-
'
|
|
231
|
+
'FailedAdhocDisbursementEventList'?: FailedAdhocDisbursementEventList;
|
|
232
|
+
/**
|
|
233
|
+
*
|
|
234
|
+
* @type {ValueAddedServiceChargeEventList}
|
|
235
|
+
* @memberof FinancialEvents
|
|
236
|
+
*/
|
|
237
|
+
'ValueAddedServiceChargeEventList'?: ValueAddedServiceChargeEventList;
|
|
238
|
+
/**
|
|
239
|
+
* A list of `CapacityReservationBillingEvent` events.
|
|
240
|
+
* @type {Array<CapacityReservationBillingEvent>}
|
|
241
|
+
* @memberof FinancialEvents
|
|
242
|
+
*/
|
|
243
|
+
'CapacityReservationBillingEventList'?: Array<CapacityReservationBillingEvent>;
|
|
202
244
|
}
|
|
@@ -1,14 +1,19 @@
|
|
|
1
|
+
export * from './adhoc-disbursement-event';
|
|
1
2
|
export * from './adjustment-event';
|
|
2
3
|
export * from './adjustment-item';
|
|
3
4
|
export * from './affordability-expense-event';
|
|
5
|
+
export * from './capacity-reservation-billing-event';
|
|
4
6
|
export * from './charge-component';
|
|
5
7
|
export * from './charge-instrument';
|
|
8
|
+
export * from './charge-refund-event';
|
|
9
|
+
export * from './charge-refund-transaction';
|
|
6
10
|
export * from './coupon-payment-event';
|
|
7
11
|
export * from './currency';
|
|
8
12
|
export * from './debt-recovery-event';
|
|
9
13
|
export * from './debt-recovery-item';
|
|
10
14
|
export * from './direct-payment';
|
|
11
15
|
export * from './fbaliquidation-event';
|
|
16
|
+
export * from './failed-adhoc-disbursement-event-list';
|
|
12
17
|
export * from './fee-component';
|
|
13
18
|
export * from './financial-event-group';
|
|
14
19
|
export * from './financial-events';
|
|
@@ -37,7 +42,9 @@ export * from './service-fee-event';
|
|
|
37
42
|
export * from './shipment-event';
|
|
38
43
|
export * from './shipment-item';
|
|
39
44
|
export * from './solution-provider-credit-event';
|
|
45
|
+
export * from './tdsreimbursement-event';
|
|
40
46
|
export * from './tax-withheld-component';
|
|
41
47
|
export * from './tax-withholding-event';
|
|
42
48
|
export * from './tax-withholding-period';
|
|
43
49
|
export * from './trial-shipment-event';
|
|
50
|
+
export * from './value-added-service-charge-event-list';
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Selling Partner API for Finances
|
|
3
|
+
* 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.
|
|
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 { Currency } from './currency';
|
|
13
|
+
/**
|
|
14
|
+
* An event related to a Tax-Deducted-at-Source (TDS) reimbursement.
|
|
15
|
+
* @export
|
|
16
|
+
* @interface TDSReimbursementEvent
|
|
17
|
+
*/
|
|
18
|
+
export interface TDSReimbursementEvent {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof TDSReimbursementEvent
|
|
23
|
+
*/
|
|
24
|
+
'PostedDate'?: string;
|
|
25
|
+
/**
|
|
26
|
+
* The Tax-Deducted-at-Source (TDS) identifier.
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof TDSReimbursementEvent
|
|
29
|
+
*/
|
|
30
|
+
'TDSOrderId'?: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {Currency}
|
|
34
|
+
* @memberof TDSReimbursementEvent
|
|
35
|
+
*/
|
|
36
|
+
'ReimbursedAmount'?: Currency;
|
|
37
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Selling Partner API for Finances
|
|
3
|
+
* 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.
|
|
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 { Currency } from './currency';
|
|
13
|
+
/**
|
|
14
|
+
* An event related to a value added service charge.
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ValueAddedServiceChargeEventList
|
|
17
|
+
*/
|
|
18
|
+
export interface ValueAddedServiceChargeEventList {
|
|
19
|
+
/**
|
|
20
|
+
* Indicates the type of transaction. Example: \'Other Support Service fees\'
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof ValueAddedServiceChargeEventList
|
|
23
|
+
*/
|
|
24
|
+
'TransactionType'?: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ValueAddedServiceChargeEventList
|
|
29
|
+
*/
|
|
30
|
+
'PostedDate'?: string;
|
|
31
|
+
/**
|
|
32
|
+
* A short description of the service charge event.
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof ValueAddedServiceChargeEventList
|
|
35
|
+
*/
|
|
36
|
+
'Description'?: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {Currency}
|
|
40
|
+
* @memberof ValueAddedServiceChargeEventList
|
|
41
|
+
*/
|
|
42
|
+
'TransactionAmount'?: Currency;
|
|
43
|
+
}
|
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.
|
|
5
|
+
"version": "1.11.1",
|
|
6
6
|
"main": "dist/cjs/index.js",
|
|
7
7
|
"module": "dist/es/index.js",
|
|
8
8
|
"types": "dist/types/index.d.ts",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"test": "jest"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@sp-api-sdk/common": "^1.9.
|
|
29
|
+
"@sp-api-sdk/common": "^1.9.20",
|
|
30
30
|
"axios": "^0.27.2"
|
|
31
31
|
},
|
|
32
32
|
"repository": {
|
|
@@ -51,5 +51,5 @@
|
|
|
51
51
|
"typedoc": {
|
|
52
52
|
"entryPoint": "./index.ts"
|
|
53
53
|
},
|
|
54
|
-
"gitHead": "
|
|
54
|
+
"gitHead": "e8ea8ef5b7745f2c4413bd7dd8eefa1b31cee128"
|
|
55
55
|
}
|