bitget-api 3.1.5 → 3.1.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.
Files changed (53) hide show
  1. package/README.md +3 -2
  2. package/dist/cjs/index.d.ts +3 -0
  3. package/dist/cjs/index.js +3 -0
  4. package/dist/cjs/index.js.map +1 -1
  5. package/dist/cjs/rest-client-v2.d.ts +32 -4
  6. package/dist/cjs/rest-client-v2.js +60 -0
  7. package/dist/cjs/rest-client-v2.js.map +1 -1
  8. package/dist/cjs/rest-client-v3.d.ts +43 -2
  9. package/dist/cjs/rest-client-v3.js +62 -0
  10. package/dist/cjs/rest-client-v3.js.map +1 -1
  11. package/dist/cjs/types/request/v2/broker.d.ts +68 -0
  12. package/dist/cjs/types/request/v2/earn.d.ts +38 -0
  13. package/dist/cjs/types/request/v3/earn.d.ts +38 -0
  14. package/dist/cjs/types/request/v3/earn.js +10 -0
  15. package/dist/cjs/types/request/v3/earn.js.map +1 -0
  16. package/dist/cjs/types/request/v3/public.d.ts +4 -0
  17. package/dist/cjs/types/response/v2/broker.d.ts +98 -0
  18. package/dist/cjs/types/response/v2/earn.d.ts +115 -0
  19. package/dist/cjs/types/response/v2/spot.d.ts +2 -0
  20. package/dist/cjs/types/response/v3/copytrading.d.ts +34 -0
  21. package/dist/cjs/types/response/v3/copytrading.js +10 -0
  22. package/dist/cjs/types/response/v3/copytrading.js.map +1 -0
  23. package/dist/cjs/types/response/v3/earn.d.ts +114 -0
  24. package/dist/cjs/types/response/v3/earn.js +10 -0
  25. package/dist/cjs/types/response/v3/earn.js.map +1 -0
  26. package/dist/cjs/types/response/v3/public.d.ts +19 -0
  27. package/dist/mjs/index.d.ts +3 -0
  28. package/dist/mjs/index.js +3 -0
  29. package/dist/mjs/index.js.map +1 -1
  30. package/dist/mjs/rest-client-v2.d.ts +32 -4
  31. package/dist/mjs/rest-client-v2.js +60 -0
  32. package/dist/mjs/rest-client-v2.js.map +1 -1
  33. package/dist/mjs/rest-client-v3.d.ts +43 -2
  34. package/dist/mjs/rest-client-v3.js +62 -0
  35. package/dist/mjs/rest-client-v3.js.map +1 -1
  36. package/dist/mjs/types/request/v2/broker.d.ts +68 -0
  37. package/dist/mjs/types/request/v2/earn.d.ts +38 -0
  38. package/dist/mjs/types/request/v3/earn.d.ts +38 -0
  39. package/dist/mjs/types/request/v3/earn.js +9 -0
  40. package/dist/mjs/types/request/v3/earn.js.map +1 -0
  41. package/dist/mjs/types/request/v3/public.d.ts +4 -0
  42. package/dist/mjs/types/response/v2/broker.d.ts +98 -0
  43. package/dist/mjs/types/response/v2/earn.d.ts +115 -0
  44. package/dist/mjs/types/response/v2/spot.d.ts +2 -0
  45. package/dist/mjs/types/response/v3/copytrading.d.ts +34 -0
  46. package/dist/mjs/types/response/v3/copytrading.js +9 -0
  47. package/dist/mjs/types/response/v3/copytrading.js.map +1 -0
  48. package/dist/mjs/types/response/v3/earn.d.ts +114 -0
  49. package/dist/mjs/types/response/v3/earn.js +9 -0
  50. package/dist/mjs/types/response/v3/earn.js.map +1 -0
  51. package/dist/mjs/types/response/v3/public.d.ts +19 -0
  52. package/llms.txt +3606 -2775
  53. package/package.json +1 -1
@@ -144,3 +144,71 @@ export interface GetBrokerOrderCommissionRequestV2 {
144
144
  export interface GetBrokerRebateInfoRequestV2 {
145
145
  uid: string;
146
146
  }
147
+ /**
148
+ *
149
+ * * Broker | Agent (affiliate) customer APIs
150
+ *
151
+ */
152
+ export interface GetAgentCustomerCommissionsRequestV2 {
153
+ startTime?: string;
154
+ endTime?: string;
155
+ idLessThan?: string;
156
+ limit?: string;
157
+ uid?: string;
158
+ coin?: string;
159
+ symbol?: string;
160
+ showSub?: 'yes' | 'no';
161
+ }
162
+ export interface GetAgentSubCustomerListRequestV2 {
163
+ startTime?: string;
164
+ endTime?: string;
165
+ idLessThan?: string;
166
+ limit?: string;
167
+ uid?: string;
168
+ showSub?: 'yes' | 'no';
169
+ }
170
+ export interface AgentCustomerTradeVolumeRequestV2 {
171
+ startTime?: string;
172
+ endTime?: string;
173
+ pageNo?: string;
174
+ pageSize?: string;
175
+ uid?: string;
176
+ showSub?: 'yes' | 'no';
177
+ }
178
+ export interface AgentCustomerListRequestV2 {
179
+ startTime?: string;
180
+ endTime?: string;
181
+ pageNo?: string;
182
+ pageSize?: string;
183
+ uid?: string;
184
+ referralCode?: string;
185
+ showSub?: 'yes' | 'no';
186
+ }
187
+ export interface GetAgentCustomerKycResultRequestV2 {
188
+ startTime?: string;
189
+ endTime?: string;
190
+ idLessThan?: string;
191
+ limit?: string;
192
+ uid?: string;
193
+ showSub?: 'yes' | 'no';
194
+ }
195
+ export interface AgentCustomerDepositRequestV2 {
196
+ startTime?: string;
197
+ endTime?: string;
198
+ pageNo?: string;
199
+ pageSize?: string;
200
+ uid?: string;
201
+ showSub?: 'yes' | 'no';
202
+ }
203
+ export interface AgentCustomerAssetRequestV2 {
204
+ pageNo?: string;
205
+ pageSize?: string;
206
+ uid?: string;
207
+ showSub?: 'yes' | 'no';
208
+ }
209
+ export interface GetAgentCommissionDetailRequestV2 {
210
+ startTime?: string;
211
+ endTime?: string;
212
+ limit?: string;
213
+ idLessThan?: string;
214
+ }
@@ -119,3 +119,41 @@ export interface GetLiquidationRecordsRequestV2 {
119
119
  pageNo?: string;
120
120
  pageSize?: string;
121
121
  }
122
+ /**
123
+ *
124
+ *
125
+ * Earn | On-Chain Elite
126
+ *
127
+ *
128
+ */
129
+ export interface GetEarnEliteRecordsRequestV2 {
130
+ type: 'subscribe' | 'redeem' | 'interest';
131
+ startTime?: string;
132
+ endTime?: string;
133
+ limit?: string;
134
+ cursor?: string;
135
+ }
136
+ export interface GetEarnEliteSubscribeInfoRequestV2 {
137
+ productId: string;
138
+ }
139
+ export interface EarnEliteSubscribeRequestV2 {
140
+ productSubId: string;
141
+ amount: string;
142
+ coin?: string;
143
+ paymentAccount?: 'spot' | 'unified';
144
+ }
145
+ export interface GetEarnEliteSubscribeResultRequestV2 {
146
+ orderId: string;
147
+ }
148
+ export interface GetEarnEliteRedeemInfoRequestV2 {
149
+ productId: string;
150
+ }
151
+ export interface RedeemEarnEliteRequestV2 {
152
+ productId: string;
153
+ productSubId: string;
154
+ redeemType: 'fast' | 'standard';
155
+ amount: string;
156
+ receiveAccount: 'spot' | 'unified';
157
+ advancedSettle?: 'yes' | 'no';
158
+ coin?: string;
159
+ }
@@ -0,0 +1,38 @@
1
+ /**
2
+ *
3
+ *
4
+ * Earn | On-Chain Elite (UTA)
5
+ *
6
+ *
7
+ */
8
+ export interface GetEarnEliteRecordsRequestV3 {
9
+ type: 'subscribe' | 'redeem' | 'interest';
10
+ startTime?: string;
11
+ endTime?: string;
12
+ limit?: string;
13
+ cursor?: string;
14
+ }
15
+ export interface GetEarnEliteSubscribeInfoRequestV3 {
16
+ productId: string;
17
+ }
18
+ export interface EarnEliteSubscribeRequestV3 {
19
+ productSubId: string;
20
+ amount: string;
21
+ coin?: string;
22
+ paymentAccount?: 'spot' | 'unified';
23
+ }
24
+ export interface GetEarnEliteSubscribeResultRequestV3 {
25
+ orderId: string;
26
+ }
27
+ export interface GetEarnEliteRedeemInfoRequestV3 {
28
+ productId: string;
29
+ }
30
+ export interface RedeemEarnEliteRequestV3 {
31
+ productId: string;
32
+ productSubId: string;
33
+ redeemType: 'fast' | 'standard';
34
+ amount: string;
35
+ receiveAccount: 'spot' | 'unified';
36
+ advancedSettle?: 'yes' | 'no';
37
+ coin?: string;
38
+ }
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ /**
3
+ *
4
+ *
5
+ * Earn | On-Chain Elite (UTA)
6
+ *
7
+ *
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ //# sourceMappingURL=earn.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"earn.js","sourceRoot":"","sources":["../../../../../src/types/request/v3/earn.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG"}
@@ -49,6 +49,10 @@ export interface GetPositionTierRequestV3 {
49
49
  export interface GetRiskReserveRequestV3 {
50
50
  category: 'USDT-FUTURES' | 'COIN-FUTURES' | 'USDC-FUTURES';
51
51
  symbol: string;
52
+ marginCoin?: string;
53
+ }
54
+ export interface GetRiskReserveAllRequestV3 {
55
+ category: 'USDT-FUTURES' | 'COIN-FUTURES' | 'USDC-FUTURES';
52
56
  }
53
57
  export interface GetInstrumentsRequestV3 {
54
58
  category: 'SPOT' | 'MARGIN' | 'USDT-FUTURES' | 'COIN-FUTURES' | 'USDC-FUTURES';
@@ -243,3 +243,101 @@ export interface BrokerRebateInfoV2 {
243
243
  clientSpotRebateRatio: string;
244
244
  clientFuturesRebateRatio: string;
245
245
  }
246
+ /**
247
+ *
248
+ * * Broker | Agent (affiliate) customer APIs
249
+ *
250
+ */
251
+ export interface AgentCustomerCommissionItemV2 {
252
+ uid: string;
253
+ date: string;
254
+ coin: string;
255
+ symbol: string;
256
+ productType: 'SPOT' | 'MARGIN' | 'USDT-FUTURES' | 'COIN-FUTURES' | 'USDC-FUTURES' | string;
257
+ dealAmount: string;
258
+ fee: string;
259
+ feeDeduction: string;
260
+ activityBonusDeduct: string;
261
+ spotCouponDeduct: string;
262
+ futuresCouponDeduct: string;
263
+ spotFeeDiscountDeduct: string;
264
+ negativeMakerFeeDeduct: string;
265
+ feePaid: string;
266
+ rebateAmount: string;
267
+ userTotalRebateAmount: string;
268
+ dayTotalRebateAmount: string;
269
+ totalRebateAmount: string;
270
+ }
271
+ export interface AgentCustomerCommissionsV2 {
272
+ endId: string;
273
+ commissionList: AgentCustomerCommissionItemV2[];
274
+ }
275
+ export interface AgentSubCustomerItemV2 {
276
+ uid: string;
277
+ registerTime: string;
278
+ }
279
+ export interface AgentSubCustomerListV2 {
280
+ list: AgentSubCustomerItemV2[];
281
+ minId: string;
282
+ }
283
+ export interface AgentCustomerTradeVolumeItemV2 {
284
+ uid: string;
285
+ /** API field name (Bitget spelling). */
286
+ volumn: string;
287
+ spotVolume: string;
288
+ futuresVolume: string;
289
+ time: string;
290
+ }
291
+ export interface AgentCustomerListItemV2 {
292
+ uid: string;
293
+ registerTime: string;
294
+ }
295
+ export interface AgentCustomerKycItemV2 {
296
+ uid: string;
297
+ kycResult: 'passed' | 'not_passed' | string;
298
+ }
299
+ export interface AgentCustomerKycResultV2 {
300
+ userList: AgentCustomerKycItemV2[];
301
+ endId: string;
302
+ }
303
+ export interface AgentCustomerDepositItemV2 {
304
+ orderId: string;
305
+ uid: string;
306
+ depositTime: string;
307
+ depositCoin: string;
308
+ depositAmount: string;
309
+ }
310
+ export interface AgentCustomerAssetItemV2 {
311
+ balance: string;
312
+ uid: string;
313
+ uTime: string;
314
+ remark: string;
315
+ }
316
+ export interface AgentCommissionDetailItemV2 {
317
+ uid: string;
318
+ bizType: 'spot' | 'futures' | string;
319
+ subBizType: string;
320
+ symbol: string;
321
+ coin: string;
322
+ fee: string;
323
+ volume: string;
324
+ activityBonusDeduct: string;
325
+ spotCouponDeduct: string;
326
+ futuresCouponDeduct: string;
327
+ spotFeeDiscountDeduct: string;
328
+ negativeMakerFeeDeduct: string;
329
+ feePaid: string;
330
+ directCommission: string;
331
+ subCommission: string;
332
+ partnerCommission: string;
333
+ partnerActualCommission: string;
334
+ traderType: string;
335
+ apiType: string;
336
+ status: 'settled' | 'unsettled' | 'notIssued' | string;
337
+ startCalculationTime: string;
338
+ endCalculationTime: string;
339
+ }
340
+ export interface AgentCommissionDetailV2 {
341
+ endId: string;
342
+ commissionList: AgentCommissionDetailItemV2[];
343
+ }
@@ -292,3 +292,118 @@ export interface EarnLoanLiquidationRecordsV2 {
292
292
  runlockAmount: string;
293
293
  repayLoanAmount: string;
294
294
  }
295
+ /**
296
+ *
297
+ *
298
+ * Earn | On-Chain Elite
299
+ *
300
+ *
301
+ */
302
+ export interface EarnEliteSubscriptionCoinV2 {
303
+ subscriptionCoin: string;
304
+ precision: string;
305
+ feeRate: string;
306
+ exchangeRate: string;
307
+ remainQuota?: string;
308
+ minAmount?: string;
309
+ }
310
+ export interface EarnEliteProductV2 {
311
+ productId: string;
312
+ coin: string;
313
+ minApr: string;
314
+ maxApr: string;
315
+ subscriptionCoinList: EarnEliteSubscriptionCoinV2[];
316
+ sellOut: 'YES' | 'NO' | string;
317
+ }
318
+ export interface EarnEliteAssetProjectV2 {
319
+ projectName: string;
320
+ }
321
+ export interface EarnEliteAssetV2 {
322
+ productId: string;
323
+ productCoin: string;
324
+ holdingAmount: string;
325
+ usdtHoldingAmount: string;
326
+ exchangeRate: string;
327
+ apr: string;
328
+ minApy?: string;
329
+ maxApy?: string;
330
+ subscriptionCoin: string;
331
+ exchangeAmount: string;
332
+ projectList?: EarnEliteAssetProjectV2[];
333
+ unsettledBGPoints: string;
334
+ interestCoin: string;
335
+ totalProfit: string;
336
+ }
337
+ export interface EarnEliteAssetsV2 {
338
+ resultList: EarnEliteAssetV2[];
339
+ }
340
+ export interface EarnEliteRecordV2 {
341
+ recordId: string;
342
+ productId: string;
343
+ coin: string;
344
+ status: string;
345
+ exchangeRate: string;
346
+ receivedCoin: string;
347
+ receivedAmount: string;
348
+ investAmount: string;
349
+ feeRate: string;
350
+ redeemType?: string | string[];
351
+ receivingAccount: string;
352
+ actualReceivingAccount: string;
353
+ paymentAccount?: string[];
354
+ settlePoints: string;
355
+ fee: string;
356
+ }
357
+ export interface EarnEliteRecordsV2 {
358
+ recordList: EarnEliteRecordV2[];
359
+ endId: string;
360
+ }
361
+ export interface EarnEliteSubscribeInfoV2 {
362
+ productSubId: string;
363
+ minAmount: string;
364
+ remainQuota: string;
365
+ exchangeRate: string;
366
+ productCoin: string;
367
+ interestTime: string;
368
+ settleTime: string;
369
+ precision: string;
370
+ feeRate: string;
371
+ /** Present for BGUSD per API docs. */
372
+ subscriptionCoinList?: EarnEliteSubscriptionCoinV2[];
373
+ }
374
+ export interface EarnEliteSubscribeResultV2 {
375
+ orderId: string;
376
+ }
377
+ export interface EarnEliteSubscribeStatusV2 {
378
+ result: 'settled' | 'pending' | 'rejected' | string;
379
+ }
380
+ export interface EarnEliteRedeemInfoBgusdReceiveCoinV2 {
381
+ bgusdReceiveCoin: string;
382
+ bgusdExchangeRate: string;
383
+ }
384
+ export interface EarnEliteRedeemModeV2 {
385
+ redeemFeeRate: string;
386
+ remainQuota: string;
387
+ redeemType: 'fast' | 'standard' | string;
388
+ redeemScale: string;
389
+ redeemDelayDate: string;
390
+ minRedeemAmount: string;
391
+ redeemTime: string;
392
+ }
393
+ export interface EarnEliteRedeemInfoV2 {
394
+ productId: string;
395
+ productSubId: string;
396
+ productCoin: string;
397
+ subscriptionCoin: string;
398
+ profitCoin: string;
399
+ exchangeRate: string;
400
+ totalUnPayInterestAmount: string;
401
+ preSettleApr: string;
402
+ receivedCoin: string;
403
+ unsettledPoints: string;
404
+ bgusdReceiveCoinList: EarnEliteRedeemInfoBgusdReceiveCoinV2[];
405
+ redeemModeList: EarnEliteRedeemModeV2[];
406
+ }
407
+ export interface RedeemEarnEliteResultV2 {
408
+ orderId: string;
409
+ }
@@ -43,6 +43,8 @@ export interface SpotSymbolInfoV2 {
43
43
  sellLimitPriceRatio: string;
44
44
  orderQuantity: string;
45
45
  areaSymbol: string;
46
+ maxLimitOrderValue?: string;
47
+ maxMarketOrderValue?: string;
46
48
  }
47
49
  export interface SpotVipFeeRateV2 {
48
50
  level: number;
@@ -0,0 +1,34 @@
1
+ /**
2
+ *
3
+ *
4
+ * Copy Trading | Futures (UTA)
5
+ *
6
+ *
7
+ */
8
+ export interface CopyFuturesMarginDetailV3 {
9
+ marginCoin: string;
10
+ maxLongCount: string;
11
+ remainingLongCount: string;
12
+ maxShortCount: string;
13
+ remainingShortCount: string;
14
+ }
15
+ export interface CopyFuturesTradingPairV3 {
16
+ symbol: string;
17
+ leverage: string;
18
+ marginDetails: CopyFuturesMarginDetailV3[];
19
+ }
20
+ export interface CopyFuturesPositionSummaryV3 {
21
+ unrealizedPnl: string;
22
+ realizedPnl: string;
23
+ holdSize: string;
24
+ avgPrice: string;
25
+ symbol: string;
26
+ leverage: string;
27
+ marginMode: string;
28
+ liqPrice: string;
29
+ margin: string;
30
+ holdSide: string;
31
+ roi: string;
32
+ markPrice: string;
33
+ positionValue: string;
34
+ }
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ /**
3
+ *
4
+ *
5
+ * Copy Trading | Futures (UTA)
6
+ *
7
+ *
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ //# sourceMappingURL=copytrading.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"copytrading.js","sourceRoot":"","sources":["../../../../../src/types/response/v3/copytrading.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG"}
@@ -0,0 +1,114 @@
1
+ /**
2
+ *
3
+ *
4
+ * Earn | On-Chain Elite (UTA)
5
+ *
6
+ *
7
+ */
8
+ export interface EarnEliteSubscriptionCoinV3 {
9
+ subscriptionCoin: string;
10
+ precision: string;
11
+ feeRate: string;
12
+ exchangeRate: string;
13
+ remainQuota?: string;
14
+ minAmount?: string;
15
+ }
16
+ export interface EarnEliteProductV3 {
17
+ productId: string;
18
+ coin: string;
19
+ minApr: string;
20
+ maxApr: string;
21
+ subscriptionCoinList: EarnEliteSubscriptionCoinV3[];
22
+ sellOut: 'YES' | 'NO' | string;
23
+ }
24
+ export interface EarnEliteAssetProjectV3 {
25
+ projectName: string;
26
+ }
27
+ export interface EarnEliteAssetV3 {
28
+ productId: string;
29
+ productCoin: string;
30
+ holdingAmount: string;
31
+ usdtHoldingAmount: string;
32
+ exchangeRate: string;
33
+ apr: string;
34
+ minApy?: string;
35
+ maxApy?: string;
36
+ subscriptionCoin: string;
37
+ exchangeAmount: string;
38
+ projectList?: EarnEliteAssetProjectV3[];
39
+ unsettledBGPoints: string;
40
+ interestCoin: string;
41
+ totalProfit: string;
42
+ }
43
+ export interface EarnEliteAssetsV3 {
44
+ resultList: EarnEliteAssetV3[];
45
+ }
46
+ export interface EarnEliteRecordV3 {
47
+ recordId: string;
48
+ productId: string;
49
+ coin: string;
50
+ status: string;
51
+ exchangeRate: string;
52
+ receivedCoin: string;
53
+ receivedAmount: string;
54
+ investAmount: string;
55
+ feeRate: string;
56
+ redeemType?: string | string[];
57
+ receivingAccount: string;
58
+ actualReceivingAccount: string;
59
+ paymentAccount?: string[];
60
+ settlePoints: string;
61
+ fee: string;
62
+ }
63
+ export interface EarnEliteRecordsV3 {
64
+ recordList: EarnEliteRecordV3[];
65
+ endId: string;
66
+ }
67
+ export interface EarnEliteSubscribeInfoV3 {
68
+ productSubId: string;
69
+ minAmount: string;
70
+ remainQuota: string;
71
+ exchangeRate: string;
72
+ productCoin: string;
73
+ interestTime: string;
74
+ settleTime: string;
75
+ precision: string;
76
+ feeRate: string;
77
+ subscriptionCoinList?: EarnEliteSubscriptionCoinV3[];
78
+ }
79
+ export interface EarnEliteSubscribeResultV3 {
80
+ orderId: string;
81
+ }
82
+ export interface EarnEliteSubscribeStatusV3 {
83
+ result: 'settled' | 'pending' | 'rejected' | string;
84
+ }
85
+ export interface EarnEliteRedeemInfoBgusdReceiveCoinV3 {
86
+ bgusdReceiveCoin: string;
87
+ bgusdExchangeRate: string;
88
+ }
89
+ export interface EarnEliteRedeemModeV3 {
90
+ redeemFeeRate: string;
91
+ remainQuota: string;
92
+ redeemType: 'fast' | 'standard' | string;
93
+ redeemScale: string;
94
+ redeemDelayDate: string;
95
+ minRedeemAmount: string;
96
+ redeemTime: string;
97
+ }
98
+ export interface EarnEliteRedeemInfoV3 {
99
+ productId: string;
100
+ productSubId: string;
101
+ productCoin: string;
102
+ subscriptionCoin: string;
103
+ profitCoin: string;
104
+ exchangeRate: string;
105
+ totalUnPayInterestAmount: string;
106
+ preSettleApr: string;
107
+ receivedCoin: string;
108
+ unsettledPoints: string;
109
+ bgusdReceiveCoinList: EarnEliteRedeemInfoBgusdReceiveCoinV3[];
110
+ redeemModeList: EarnEliteRedeemModeV3[];
111
+ }
112
+ export interface RedeemEarnEliteResultV3 {
113
+ orderId: string;
114
+ }
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ /**
3
+ *
4
+ *
5
+ * Earn | On-Chain Elite (UTA)
6
+ *
7
+ *
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ //# sourceMappingURL=earn.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"earn.js","sourceRoot":"","sources":["../../../../../src/types/response/v3/earn.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG"}
@@ -64,11 +64,30 @@ export interface RiskReserveRecordV3 {
64
64
  balance: string;
65
65
  amount: string;
66
66
  ts: string;
67
+ type?: string;
67
68
  }
68
69
  export interface RiskReserveV3 {
70
+ totalBalance?: string;
69
71
  coin: string;
70
72
  riskReserveRecords: RiskReserveRecordV3[];
71
73
  }
74
+ export interface RiskReserveHourRecordV3 {
75
+ amount: string;
76
+ balance: string;
77
+ ts: string;
78
+ }
79
+ export interface RiskReserveHourV3 {
80
+ coin: string;
81
+ riskReserveRecords: RiskReserveHourRecordV3[];
82
+ }
83
+ export interface RiskReserveAllItemV3 {
84
+ symbols: string[];
85
+ coin: string;
86
+ balance: string;
87
+ }
88
+ export interface RiskReserveAllV3 {
89
+ list: RiskReserveAllItemV3[];
90
+ }
72
91
  export interface InstrumentV3 {
73
92
  symbol: string;
74
93
  category: 'SPOT' | 'MARGIN' | 'USDT-FUTURES' | 'COIN-FUTURES' | 'USDC-FUTURES';
@@ -10,6 +10,7 @@ export * from './types/request/v2/futures.js';
10
10
  export * from './types/request/v2/margin.js';
11
11
  export * from './types/request/v2/spot.js';
12
12
  export * from './types/request/v3/account.js';
13
+ export * from './types/request/v3/earn.js';
13
14
  export * from './types/request/v3/loan.js';
14
15
  export * from './types/request/v3/public.js';
15
16
  export * from './types/request/v3/strategy.js';
@@ -22,6 +23,8 @@ export * from './types/response/v2/futures.js';
22
23
  export * from './types/response/v2/margin.js';
23
24
  export * from './types/response/v2/spot.js';
24
25
  export * from './types/response/v3/account.js';
26
+ export * from './types/response/v3/copytrading.js';
27
+ export * from './types/response/v3/earn.js';
25
28
  export * from './types/response/v3/loan.js';
26
29
  export * from './types/response/v3/public.js';
27
30
  export * from './types/response/v3/strategy.js';
package/dist/mjs/index.js CHANGED
@@ -10,6 +10,7 @@ export * from './types/request/v2/futures.js';
10
10
  export * from './types/request/v2/margin.js';
11
11
  export * from './types/request/v2/spot.js';
12
12
  export * from './types/request/v3/account.js';
13
+ export * from './types/request/v3/earn.js';
13
14
  export * from './types/request/v3/loan.js';
14
15
  export * from './types/request/v3/public.js';
15
16
  export * from './types/request/v3/strategy.js';
@@ -22,6 +23,8 @@ export * from './types/response/v2/futures.js';
22
23
  export * from './types/response/v2/margin.js';
23
24
  export * from './types/response/v2/spot.js';
24
25
  export * from './types/response/v3/account.js';
26
+ export * from './types/response/v3/copytrading.js';
27
+ export * from './types/response/v3/earn.js';
25
28
  export * from './types/response/v3/loan.js';
26
29
  export * from './types/response/v3/public.js';
27
30
  export * from './types/response/v3/strategy.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,mCAAmC,CAAC;AAClD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,qCAAqC,CAAC;AACpD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,6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