@binance/simple-earn 1.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.
@@ -0,0 +1,4260 @@
1
+ import { RestApiResponse, ConfigurationRestAPI } from '@binance/common';
2
+ export { BadRequestError, ConnectorClientError, ForbiddenError, NetworkError, NotFoundError, RateLimitBanError, RequiredError, SIMPLE_EARN_REST_API_PROD_URL, SIMPLE_EARN_REST_API_TESTNET_URL, ServerError, TooManyRequestsError, UnauthorizedError } from '@binance/common';
3
+
4
+ /**
5
+ * Binance Public Simple Earn REST API
6
+ *
7
+ * OpenAPI Specification for the Binance Public Simple Earn REST API
8
+ *
9
+ * The version of the OpenAPI document: 1.0.0
10
+ *
11
+ *
12
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
13
+ * https://openapi-generator.tech
14
+ * Do not edit the class manually.
15
+ */
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface BadRequest
20
+ */
21
+ interface BadRequest {
22
+ /**
23
+ *
24
+ * @type {number}
25
+ * @memberof BadRequest
26
+ */
27
+ code: number;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof BadRequest
32
+ */
33
+ message: string;
34
+ }
35
+
36
+ /**
37
+ * Binance Public Simple Earn REST API
38
+ *
39
+ * OpenAPI Specification for the Binance Public Simple Earn REST API
40
+ *
41
+ * The version of the OpenAPI document: 1.0.0
42
+ *
43
+ *
44
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
45
+ * https://openapi-generator.tech
46
+ * Do not edit the class manually.
47
+ */
48
+ /**
49
+ *
50
+ * @export
51
+ * @interface GetCollateralRecordResponseRowsInner
52
+ */
53
+ interface GetCollateralRecordResponseRowsInner {
54
+ /**
55
+ *
56
+ * @type {string}
57
+ * @memberof GetCollateralRecordResponseRowsInner
58
+ */
59
+ amount?: string;
60
+ /**
61
+ *
62
+ * @type {string}
63
+ * @memberof GetCollateralRecordResponseRowsInner
64
+ */
65
+ productId?: string;
66
+ /**
67
+ *
68
+ * @type {string}
69
+ * @memberof GetCollateralRecordResponseRowsInner
70
+ */
71
+ asset?: string;
72
+ /**
73
+ *
74
+ * @type {number}
75
+ * @memberof GetCollateralRecordResponseRowsInner
76
+ */
77
+ createTime?: number;
78
+ /**
79
+ *
80
+ * @type {string}
81
+ * @memberof GetCollateralRecordResponseRowsInner
82
+ */
83
+ type?: string;
84
+ /**
85
+ *
86
+ * @type {string}
87
+ * @memberof GetCollateralRecordResponseRowsInner
88
+ */
89
+ productName?: string;
90
+ /**
91
+ *
92
+ * @type {number}
93
+ * @memberof GetCollateralRecordResponseRowsInner
94
+ */
95
+ orderId?: number;
96
+ }
97
+
98
+ /**
99
+ * Binance Public Simple Earn REST API
100
+ *
101
+ * OpenAPI Specification for the Binance Public Simple Earn REST API
102
+ *
103
+ * The version of the OpenAPI document: 1.0.0
104
+ *
105
+ *
106
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
107
+ * https://openapi-generator.tech
108
+ * Do not edit the class manually.
109
+ */
110
+
111
+ /**
112
+ *
113
+ * @export
114
+ * @interface GetCollateralRecordResponse
115
+ */
116
+ interface GetCollateralRecordResponse {
117
+ /**
118
+ *
119
+ * @type {Array<GetCollateralRecordResponseRowsInner>}
120
+ * @memberof GetCollateralRecordResponse
121
+ */
122
+ rows?: Array<GetCollateralRecordResponseRowsInner>;
123
+ /**
124
+ *
125
+ * @type {string}
126
+ * @memberof GetCollateralRecordResponse
127
+ */
128
+ total?: string;
129
+ }
130
+
131
+ /**
132
+ * Binance Public Simple Earn REST API
133
+ *
134
+ * OpenAPI Specification for the Binance Public Simple Earn REST API
135
+ *
136
+ * The version of the OpenAPI document: 1.0.0
137
+ *
138
+ *
139
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
140
+ * https://openapi-generator.tech
141
+ * Do not edit the class manually.
142
+ */
143
+ /**
144
+ *
145
+ * @export
146
+ * @interface GetFlexiblePersonalLeftQuotaResponse
147
+ */
148
+ interface GetFlexiblePersonalLeftQuotaResponse {
149
+ /**
150
+ *
151
+ * @type {string}
152
+ * @memberof GetFlexiblePersonalLeftQuotaResponse
153
+ */
154
+ leftPersonalQuota?: string;
155
+ }
156
+
157
+ /**
158
+ * Binance Public Simple Earn REST API
159
+ *
160
+ * OpenAPI Specification for the Binance Public Simple Earn REST API
161
+ *
162
+ * The version of the OpenAPI document: 1.0.0
163
+ *
164
+ *
165
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
166
+ * https://openapi-generator.tech
167
+ * Do not edit the class manually.
168
+ */
169
+ /**
170
+ *
171
+ * @export
172
+ * @interface GetFlexibleProductPositionResponseRowsInnerTierAnnualPercentageRate
173
+ */
174
+ interface GetFlexibleProductPositionResponseRowsInnerTierAnnualPercentageRate {
175
+ /**
176
+ *
177
+ * @type {number}
178
+ * @memberof GetFlexibleProductPositionResponseRowsInnerTierAnnualPercentageRate
179
+ */
180
+ '0-5BTC'?: number;
181
+ /**
182
+ *
183
+ * @type {number}
184
+ * @memberof GetFlexibleProductPositionResponseRowsInnerTierAnnualPercentageRate
185
+ */
186
+ '5-10BTC'?: number;
187
+ }
188
+
189
+ /**
190
+ * Binance Public Simple Earn REST API
191
+ *
192
+ * OpenAPI Specification for the Binance Public Simple Earn REST API
193
+ *
194
+ * The version of the OpenAPI document: 1.0.0
195
+ *
196
+ *
197
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
198
+ * https://openapi-generator.tech
199
+ * Do not edit the class manually.
200
+ */
201
+
202
+ /**
203
+ *
204
+ * @export
205
+ * @interface GetFlexibleProductPositionResponseRowsInner
206
+ */
207
+ interface GetFlexibleProductPositionResponseRowsInner {
208
+ /**
209
+ *
210
+ * @type {string}
211
+ * @memberof GetFlexibleProductPositionResponseRowsInner
212
+ */
213
+ totalAmount?: string;
214
+ /**
215
+ *
216
+ * @type {GetFlexibleProductPositionResponseRowsInnerTierAnnualPercentageRate}
217
+ * @memberof GetFlexibleProductPositionResponseRowsInner
218
+ */
219
+ tierAnnualPercentageRate?: GetFlexibleProductPositionResponseRowsInnerTierAnnualPercentageRate;
220
+ /**
221
+ *
222
+ * @type {string}
223
+ * @memberof GetFlexibleProductPositionResponseRowsInner
224
+ */
225
+ latestAnnualPercentageRate?: string;
226
+ /**
227
+ *
228
+ * @type {string}
229
+ * @memberof GetFlexibleProductPositionResponseRowsInner
230
+ */
231
+ yesterdayAirdropPercentageRate?: string;
232
+ /**
233
+ *
234
+ * @type {string}
235
+ * @memberof GetFlexibleProductPositionResponseRowsInner
236
+ */
237
+ asset?: string;
238
+ /**
239
+ *
240
+ * @type {string}
241
+ * @memberof GetFlexibleProductPositionResponseRowsInner
242
+ */
243
+ airDropAsset?: string;
244
+ /**
245
+ *
246
+ * @type {boolean}
247
+ * @memberof GetFlexibleProductPositionResponseRowsInner
248
+ */
249
+ canRedeem?: boolean;
250
+ /**
251
+ *
252
+ * @type {string}
253
+ * @memberof GetFlexibleProductPositionResponseRowsInner
254
+ */
255
+ collateralAmount?: string;
256
+ /**
257
+ *
258
+ * @type {string}
259
+ * @memberof GetFlexibleProductPositionResponseRowsInner
260
+ */
261
+ productId?: string;
262
+ /**
263
+ *
264
+ * @type {string}
265
+ * @memberof GetFlexibleProductPositionResponseRowsInner
266
+ */
267
+ yesterdayRealTimeRewards?: string;
268
+ /**
269
+ *
270
+ * @type {string}
271
+ * @memberof GetFlexibleProductPositionResponseRowsInner
272
+ */
273
+ cumulativeBonusRewards?: string;
274
+ /**
275
+ *
276
+ * @type {string}
277
+ * @memberof GetFlexibleProductPositionResponseRowsInner
278
+ */
279
+ cumulativeRealTimeRewards?: string;
280
+ /**
281
+ *
282
+ * @type {string}
283
+ * @memberof GetFlexibleProductPositionResponseRowsInner
284
+ */
285
+ cumulativeTotalRewards?: string;
286
+ /**
287
+ *
288
+ * @type {boolean}
289
+ * @memberof GetFlexibleProductPositionResponseRowsInner
290
+ */
291
+ autoSubscribe?: boolean;
292
+ }
293
+
294
+ /**
295
+ * Binance Public Simple Earn REST API
296
+ *
297
+ * OpenAPI Specification for the Binance Public Simple Earn REST API
298
+ *
299
+ * The version of the OpenAPI document: 1.0.0
300
+ *
301
+ *
302
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
303
+ * https://openapi-generator.tech
304
+ * Do not edit the class manually.
305
+ */
306
+
307
+ /**
308
+ *
309
+ * @export
310
+ * @interface GetFlexibleProductPositionResponse
311
+ */
312
+ interface GetFlexibleProductPositionResponse {
313
+ /**
314
+ *
315
+ * @type {Array<GetFlexibleProductPositionResponseRowsInner>}
316
+ * @memberof GetFlexibleProductPositionResponse
317
+ */
318
+ rows?: Array<GetFlexibleProductPositionResponseRowsInner>;
319
+ /**
320
+ *
321
+ * @type {number}
322
+ * @memberof GetFlexibleProductPositionResponse
323
+ */
324
+ total?: number;
325
+ }
326
+
327
+ /**
328
+ * Binance Public Simple Earn REST API
329
+ *
330
+ * OpenAPI Specification for the Binance Public Simple Earn REST API
331
+ *
332
+ * The version of the OpenAPI document: 1.0.0
333
+ *
334
+ *
335
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
336
+ * https://openapi-generator.tech
337
+ * Do not edit the class manually.
338
+ */
339
+ /**
340
+ *
341
+ * @export
342
+ * @interface GetFlexibleRedemptionRecordResponseRowsInner
343
+ */
344
+ interface GetFlexibleRedemptionRecordResponseRowsInner {
345
+ /**
346
+ *
347
+ * @type {string}
348
+ * @memberof GetFlexibleRedemptionRecordResponseRowsInner
349
+ */
350
+ amount?: string;
351
+ /**
352
+ *
353
+ * @type {string}
354
+ * @memberof GetFlexibleRedemptionRecordResponseRowsInner
355
+ */
356
+ asset?: string;
357
+ /**
358
+ *
359
+ * @type {number}
360
+ * @memberof GetFlexibleRedemptionRecordResponseRowsInner
361
+ */
362
+ time?: number;
363
+ /**
364
+ *
365
+ * @type {string}
366
+ * @memberof GetFlexibleRedemptionRecordResponseRowsInner
367
+ */
368
+ projectId?: string;
369
+ /**
370
+ *
371
+ * @type {number}
372
+ * @memberof GetFlexibleRedemptionRecordResponseRowsInner
373
+ */
374
+ redeemId?: number;
375
+ /**
376
+ *
377
+ * @type {string}
378
+ * @memberof GetFlexibleRedemptionRecordResponseRowsInner
379
+ */
380
+ destAccount?: string;
381
+ /**
382
+ *
383
+ * @type {string}
384
+ * @memberof GetFlexibleRedemptionRecordResponseRowsInner
385
+ */
386
+ status?: string;
387
+ }
388
+
389
+ /**
390
+ * Binance Public Simple Earn REST API
391
+ *
392
+ * OpenAPI Specification for the Binance Public Simple Earn REST API
393
+ *
394
+ * The version of the OpenAPI document: 1.0.0
395
+ *
396
+ *
397
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
398
+ * https://openapi-generator.tech
399
+ * Do not edit the class manually.
400
+ */
401
+
402
+ /**
403
+ *
404
+ * @export
405
+ * @interface GetFlexibleRedemptionRecordResponse
406
+ */
407
+ interface GetFlexibleRedemptionRecordResponse {
408
+ /**
409
+ *
410
+ * @type {Array<GetFlexibleRedemptionRecordResponseRowsInner>}
411
+ * @memberof GetFlexibleRedemptionRecordResponse
412
+ */
413
+ rows?: Array<GetFlexibleRedemptionRecordResponseRowsInner>;
414
+ /**
415
+ *
416
+ * @type {number}
417
+ * @memberof GetFlexibleRedemptionRecordResponse
418
+ */
419
+ total?: number;
420
+ }
421
+
422
+ /**
423
+ * Binance Public Simple Earn REST API
424
+ *
425
+ * OpenAPI Specification for the Binance Public Simple Earn REST API
426
+ *
427
+ * The version of the OpenAPI document: 1.0.0
428
+ *
429
+ *
430
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
431
+ * https://openapi-generator.tech
432
+ * Do not edit the class manually.
433
+ */
434
+ /**
435
+ *
436
+ * @export
437
+ * @interface GetFlexibleRewardsHistoryResponseRowsInner
438
+ */
439
+ interface GetFlexibleRewardsHistoryResponseRowsInner {
440
+ /**
441
+ *
442
+ * @type {string}
443
+ * @memberof GetFlexibleRewardsHistoryResponseRowsInner
444
+ */
445
+ asset?: string;
446
+ /**
447
+ *
448
+ * @type {string}
449
+ * @memberof GetFlexibleRewardsHistoryResponseRowsInner
450
+ */
451
+ rewards?: string;
452
+ /**
453
+ *
454
+ * @type {string}
455
+ * @memberof GetFlexibleRewardsHistoryResponseRowsInner
456
+ */
457
+ projectId?: string;
458
+ /**
459
+ *
460
+ * @type {string}
461
+ * @memberof GetFlexibleRewardsHistoryResponseRowsInner
462
+ */
463
+ type?: string;
464
+ /**
465
+ *
466
+ * @type {number}
467
+ * @memberof GetFlexibleRewardsHistoryResponseRowsInner
468
+ */
469
+ time?: number;
470
+ }
471
+
472
+ /**
473
+ * Binance Public Simple Earn REST API
474
+ *
475
+ * OpenAPI Specification for the Binance Public Simple Earn REST API
476
+ *
477
+ * The version of the OpenAPI document: 1.0.0
478
+ *
479
+ *
480
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
481
+ * https://openapi-generator.tech
482
+ * Do not edit the class manually.
483
+ */
484
+
485
+ /**
486
+ *
487
+ * @export
488
+ * @interface GetFlexibleRewardsHistoryResponse
489
+ */
490
+ interface GetFlexibleRewardsHistoryResponse {
491
+ /**
492
+ *
493
+ * @type {Array<GetFlexibleRewardsHistoryResponseRowsInner>}
494
+ * @memberof GetFlexibleRewardsHistoryResponse
495
+ */
496
+ rows?: Array<GetFlexibleRewardsHistoryResponseRowsInner>;
497
+ /**
498
+ *
499
+ * @type {number}
500
+ * @memberof GetFlexibleRewardsHistoryResponse
501
+ */
502
+ total?: number;
503
+ }
504
+
505
+ /**
506
+ * Binance Public Simple Earn REST API
507
+ *
508
+ * OpenAPI Specification for the Binance Public Simple Earn REST API
509
+ *
510
+ * The version of the OpenAPI document: 1.0.0
511
+ *
512
+ *
513
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
514
+ * https://openapi-generator.tech
515
+ * Do not edit the class manually.
516
+ */
517
+ /**
518
+ *
519
+ * @export
520
+ * @interface GetFlexibleSubscriptionPreviewResponse
521
+ */
522
+ interface GetFlexibleSubscriptionPreviewResponse {
523
+ /**
524
+ *
525
+ * @type {string}
526
+ * @memberof GetFlexibleSubscriptionPreviewResponse
527
+ */
528
+ totalAmount?: string;
529
+ /**
530
+ *
531
+ * @type {string}
532
+ * @memberof GetFlexibleSubscriptionPreviewResponse
533
+ */
534
+ rewardAsset?: string;
535
+ /**
536
+ *
537
+ * @type {string}
538
+ * @memberof GetFlexibleSubscriptionPreviewResponse
539
+ */
540
+ airDropAsset?: string;
541
+ /**
542
+ *
543
+ * @type {string}
544
+ * @memberof GetFlexibleSubscriptionPreviewResponse
545
+ */
546
+ estDailyBonusRewards?: string;
547
+ /**
548
+ *
549
+ * @type {string}
550
+ * @memberof GetFlexibleSubscriptionPreviewResponse
551
+ */
552
+ estDailyRealTimeRewards?: string;
553
+ /**
554
+ *
555
+ * @type {string}
556
+ * @memberof GetFlexibleSubscriptionPreviewResponse
557
+ */
558
+ estDailyAirdropRewards?: string;
559
+ }
560
+
561
+ /**
562
+ * Binance Public Simple Earn REST API
563
+ *
564
+ * OpenAPI Specification for the Binance Public Simple Earn REST API
565
+ *
566
+ * The version of the OpenAPI document: 1.0.0
567
+ *
568
+ *
569
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
570
+ * https://openapi-generator.tech
571
+ * Do not edit the class manually.
572
+ */
573
+ /**
574
+ *
575
+ * @export
576
+ * @interface GetFlexibleSubscriptionRecordResponseRowsInner
577
+ */
578
+ interface GetFlexibleSubscriptionRecordResponseRowsInner {
579
+ /**
580
+ *
581
+ * @type {string}
582
+ * @memberof GetFlexibleSubscriptionRecordResponseRowsInner
583
+ */
584
+ amount?: string;
585
+ /**
586
+ *
587
+ * @type {string}
588
+ * @memberof GetFlexibleSubscriptionRecordResponseRowsInner
589
+ */
590
+ asset?: string;
591
+ /**
592
+ *
593
+ * @type {number}
594
+ * @memberof GetFlexibleSubscriptionRecordResponseRowsInner
595
+ */
596
+ time?: number;
597
+ /**
598
+ *
599
+ * @type {number}
600
+ * @memberof GetFlexibleSubscriptionRecordResponseRowsInner
601
+ */
602
+ purchaseId?: number;
603
+ /**
604
+ *
605
+ * @type {string}
606
+ * @memberof GetFlexibleSubscriptionRecordResponseRowsInner
607
+ */
608
+ productId?: string;
609
+ /**
610
+ *
611
+ * @type {string}
612
+ * @memberof GetFlexibleSubscriptionRecordResponseRowsInner
613
+ */
614
+ type?: string;
615
+ /**
616
+ *
617
+ * @type {string}
618
+ * @memberof GetFlexibleSubscriptionRecordResponseRowsInner
619
+ */
620
+ sourceAccount?: string;
621
+ /**
622
+ *
623
+ * @type {string}
624
+ * @memberof GetFlexibleSubscriptionRecordResponseRowsInner
625
+ */
626
+ amtFromSpot?: string;
627
+ /**
628
+ *
629
+ * @type {string}
630
+ * @memberof GetFlexibleSubscriptionRecordResponseRowsInner
631
+ */
632
+ amtFromFunding?: string;
633
+ /**
634
+ *
635
+ * @type {string}
636
+ * @memberof GetFlexibleSubscriptionRecordResponseRowsInner
637
+ */
638
+ status?: string;
639
+ }
640
+
641
+ /**
642
+ * Binance Public Simple Earn REST API
643
+ *
644
+ * OpenAPI Specification for the Binance Public Simple Earn REST API
645
+ *
646
+ * The version of the OpenAPI document: 1.0.0
647
+ *
648
+ *
649
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
650
+ * https://openapi-generator.tech
651
+ * Do not edit the class manually.
652
+ */
653
+
654
+ /**
655
+ *
656
+ * @export
657
+ * @interface GetFlexibleSubscriptionRecordResponse
658
+ */
659
+ interface GetFlexibleSubscriptionRecordResponse {
660
+ /**
661
+ *
662
+ * @type {Array<GetFlexibleSubscriptionRecordResponseRowsInner>}
663
+ * @memberof GetFlexibleSubscriptionRecordResponse
664
+ */
665
+ rows?: Array<GetFlexibleSubscriptionRecordResponseRowsInner>;
666
+ /**
667
+ *
668
+ * @type {number}
669
+ * @memberof GetFlexibleSubscriptionRecordResponse
670
+ */
671
+ total?: number;
672
+ }
673
+
674
+ /**
675
+ * Binance Public Simple Earn REST API
676
+ *
677
+ * OpenAPI Specification for the Binance Public Simple Earn REST API
678
+ *
679
+ * The version of the OpenAPI document: 1.0.0
680
+ *
681
+ *
682
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
683
+ * https://openapi-generator.tech
684
+ * Do not edit the class manually.
685
+ */
686
+ /**
687
+ *
688
+ * @export
689
+ * @interface GetLockedPersonalLeftQuotaResponse
690
+ */
691
+ interface GetLockedPersonalLeftQuotaResponse {
692
+ /**
693
+ *
694
+ * @type {string}
695
+ * @memberof GetLockedPersonalLeftQuotaResponse
696
+ */
697
+ leftPersonalQuota?: string;
698
+ }
699
+
700
+ /**
701
+ * Binance Public Simple Earn REST API
702
+ *
703
+ * OpenAPI Specification for the Binance Public Simple Earn REST API
704
+ *
705
+ * The version of the OpenAPI document: 1.0.0
706
+ *
707
+ *
708
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
709
+ * https://openapi-generator.tech
710
+ * Do not edit the class manually.
711
+ */
712
+ /**
713
+ *
714
+ * @export
715
+ * @interface GetLockedProductPositionResponseRowsInner
716
+ */
717
+ interface GetLockedProductPositionResponseRowsInner {
718
+ /**
719
+ *
720
+ * @type {number}
721
+ * @memberof GetLockedProductPositionResponseRowsInner
722
+ */
723
+ positionId?: number;
724
+ /**
725
+ *
726
+ * @type {number}
727
+ * @memberof GetLockedProductPositionResponseRowsInner
728
+ */
729
+ parentPositionId?: number;
730
+ /**
731
+ *
732
+ * @type {string}
733
+ * @memberof GetLockedProductPositionResponseRowsInner
734
+ */
735
+ projectId?: string;
736
+ /**
737
+ *
738
+ * @type {string}
739
+ * @memberof GetLockedProductPositionResponseRowsInner
740
+ */
741
+ asset?: string;
742
+ /**
743
+ *
744
+ * @type {string}
745
+ * @memberof GetLockedProductPositionResponseRowsInner
746
+ */
747
+ amount?: string;
748
+ /**
749
+ *
750
+ * @type {string}
751
+ * @memberof GetLockedProductPositionResponseRowsInner
752
+ */
753
+ purchaseTime?: string;
754
+ /**
755
+ *
756
+ * @type {string}
757
+ * @memberof GetLockedProductPositionResponseRowsInner
758
+ */
759
+ duration?: string;
760
+ /**
761
+ *
762
+ * @type {string}
763
+ * @memberof GetLockedProductPositionResponseRowsInner
764
+ */
765
+ accrualDays?: string;
766
+ /**
767
+ *
768
+ * @type {string}
769
+ * @memberof GetLockedProductPositionResponseRowsInner
770
+ */
771
+ rewardAsset?: string;
772
+ /**
773
+ *
774
+ * @type {string}
775
+ * @memberof GetLockedProductPositionResponseRowsInner
776
+ */
777
+ APY?: string;
778
+ /**
779
+ *
780
+ * @type {string}
781
+ * @memberof GetLockedProductPositionResponseRowsInner
782
+ */
783
+ rewardAmt?: string;
784
+ /**
785
+ *
786
+ * @type {string}
787
+ * @memberof GetLockedProductPositionResponseRowsInner
788
+ */
789
+ extraRewardAsset?: string;
790
+ /**
791
+ *
792
+ * @type {string}
793
+ * @memberof GetLockedProductPositionResponseRowsInner
794
+ */
795
+ extraRewardAPR?: string;
796
+ /**
797
+ *
798
+ * @type {string}
799
+ * @memberof GetLockedProductPositionResponseRowsInner
800
+ */
801
+ estExtraRewardAmt?: string;
802
+ /**
803
+ *
804
+ * @type {string}
805
+ * @memberof GetLockedProductPositionResponseRowsInner
806
+ */
807
+ boostRewardAsset?: string;
808
+ /**
809
+ *
810
+ * @type {string}
811
+ * @memberof GetLockedProductPositionResponseRowsInner
812
+ */
813
+ boostApr?: string;
814
+ /**
815
+ *
816
+ * @type {string}
817
+ * @memberof GetLockedProductPositionResponseRowsInner
818
+ */
819
+ totalBoostRewardAmt?: string;
820
+ /**
821
+ *
822
+ * @type {string}
823
+ * @memberof GetLockedProductPositionResponseRowsInner
824
+ */
825
+ nextPay?: string;
826
+ /**
827
+ *
828
+ * @type {string}
829
+ * @memberof GetLockedProductPositionResponseRowsInner
830
+ */
831
+ nextPayDate?: string;
832
+ /**
833
+ *
834
+ * @type {string}
835
+ * @memberof GetLockedProductPositionResponseRowsInner
836
+ */
837
+ payPeriod?: string;
838
+ /**
839
+ *
840
+ * @type {string}
841
+ * @memberof GetLockedProductPositionResponseRowsInner
842
+ */
843
+ redeemAmountEarly?: string;
844
+ /**
845
+ *
846
+ * @type {string}
847
+ * @memberof GetLockedProductPositionResponseRowsInner
848
+ */
849
+ rewardsEndDate?: string;
850
+ /**
851
+ *
852
+ * @type {string}
853
+ * @memberof GetLockedProductPositionResponseRowsInner
854
+ */
855
+ deliverDate?: string;
856
+ /**
857
+ *
858
+ * @type {string}
859
+ * @memberof GetLockedProductPositionResponseRowsInner
860
+ */
861
+ redeemPeriod?: string;
862
+ /**
863
+ *
864
+ * @type {string}
865
+ * @memberof GetLockedProductPositionResponseRowsInner
866
+ */
867
+ redeemingAmt?: string;
868
+ /**
869
+ *
870
+ * @type {string}
871
+ * @memberof GetLockedProductPositionResponseRowsInner
872
+ */
873
+ redeemTo?: string;
874
+ /**
875
+ *
876
+ * @type {string}
877
+ * @memberof GetLockedProductPositionResponseRowsInner
878
+ */
879
+ partialAmtDeliverDate?: string;
880
+ /**
881
+ *
882
+ * @type {boolean}
883
+ * @memberof GetLockedProductPositionResponseRowsInner
884
+ */
885
+ canRedeemEarly?: boolean;
886
+ /**
887
+ *
888
+ * @type {boolean}
889
+ * @memberof GetLockedProductPositionResponseRowsInner
890
+ */
891
+ canFastRedemption?: boolean;
892
+ /**
893
+ *
894
+ * @type {boolean}
895
+ * @memberof GetLockedProductPositionResponseRowsInner
896
+ */
897
+ autoSubscribe?: boolean;
898
+ /**
899
+ *
900
+ * @type {string}
901
+ * @memberof GetLockedProductPositionResponseRowsInner
902
+ */
903
+ type?: string;
904
+ /**
905
+ *
906
+ * @type {string}
907
+ * @memberof GetLockedProductPositionResponseRowsInner
908
+ */
909
+ status?: string;
910
+ /**
911
+ *
912
+ * @type {boolean}
913
+ * @memberof GetLockedProductPositionResponseRowsInner
914
+ */
915
+ canReStake?: boolean;
916
+ }
917
+
918
+ /**
919
+ * Binance Public Simple Earn REST API
920
+ *
921
+ * OpenAPI Specification for the Binance Public Simple Earn REST API
922
+ *
923
+ * The version of the OpenAPI document: 1.0.0
924
+ *
925
+ *
926
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
927
+ * https://openapi-generator.tech
928
+ * Do not edit the class manually.
929
+ */
930
+
931
+ /**
932
+ *
933
+ * @export
934
+ * @interface GetLockedProductPositionResponse
935
+ */
936
+ interface GetLockedProductPositionResponse {
937
+ /**
938
+ *
939
+ * @type {Array<GetLockedProductPositionResponseRowsInner>}
940
+ * @memberof GetLockedProductPositionResponse
941
+ */
942
+ rows?: Array<GetLockedProductPositionResponseRowsInner>;
943
+ /**
944
+ *
945
+ * @type {number}
946
+ * @memberof GetLockedProductPositionResponse
947
+ */
948
+ total?: number;
949
+ }
950
+
951
+ /**
952
+ * Binance Public Simple Earn REST API
953
+ *
954
+ * OpenAPI Specification for the Binance Public Simple Earn REST API
955
+ *
956
+ * The version of the OpenAPI document: 1.0.0
957
+ *
958
+ *
959
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
960
+ * https://openapi-generator.tech
961
+ * Do not edit the class manually.
962
+ */
963
+ /**
964
+ *
965
+ * @export
966
+ * @interface GetLockedRedemptionRecordResponseRowsInner
967
+ */
968
+ interface GetLockedRedemptionRecordResponseRowsInner {
969
+ /**
970
+ *
971
+ * @type {number}
972
+ * @memberof GetLockedRedemptionRecordResponseRowsInner
973
+ */
974
+ positionId?: number;
975
+ /**
976
+ *
977
+ * @type {number}
978
+ * @memberof GetLockedRedemptionRecordResponseRowsInner
979
+ */
980
+ redeemId?: number;
981
+ /**
982
+ *
983
+ * @type {number}
984
+ * @memberof GetLockedRedemptionRecordResponseRowsInner
985
+ */
986
+ time?: number;
987
+ /**
988
+ *
989
+ * @type {string}
990
+ * @memberof GetLockedRedemptionRecordResponseRowsInner
991
+ */
992
+ asset?: string;
993
+ /**
994
+ *
995
+ * @type {string}
996
+ * @memberof GetLockedRedemptionRecordResponseRowsInner
997
+ */
998
+ lockPeriod?: string;
999
+ /**
1000
+ *
1001
+ * @type {string}
1002
+ * @memberof GetLockedRedemptionRecordResponseRowsInner
1003
+ */
1004
+ amount?: string;
1005
+ /**
1006
+ *
1007
+ * @type {string}
1008
+ * @memberof GetLockedRedemptionRecordResponseRowsInner
1009
+ */
1010
+ originalAmount?: string;
1011
+ /**
1012
+ *
1013
+ * @type {string}
1014
+ * @memberof GetLockedRedemptionRecordResponseRowsInner
1015
+ */
1016
+ type?: string;
1017
+ /**
1018
+ *
1019
+ * @type {string}
1020
+ * @memberof GetLockedRedemptionRecordResponseRowsInner
1021
+ */
1022
+ deliverDate?: string;
1023
+ /**
1024
+ *
1025
+ * @type {string}
1026
+ * @memberof GetLockedRedemptionRecordResponseRowsInner
1027
+ */
1028
+ lossAmount?: string;
1029
+ /**
1030
+ *
1031
+ * @type {boolean}
1032
+ * @memberof GetLockedRedemptionRecordResponseRowsInner
1033
+ */
1034
+ isComplete?: boolean;
1035
+ /**
1036
+ *
1037
+ * @type {string}
1038
+ * @memberof GetLockedRedemptionRecordResponseRowsInner
1039
+ */
1040
+ rewardAsset?: string;
1041
+ /**
1042
+ *
1043
+ * @type {string}
1044
+ * @memberof GetLockedRedemptionRecordResponseRowsInner
1045
+ */
1046
+ rewardAmt?: string;
1047
+ /**
1048
+ *
1049
+ * @type {string}
1050
+ * @memberof GetLockedRedemptionRecordResponseRowsInner
1051
+ */
1052
+ extraRewardAsset?: string;
1053
+ /**
1054
+ *
1055
+ * @type {string}
1056
+ * @memberof GetLockedRedemptionRecordResponseRowsInner
1057
+ */
1058
+ estExtraRewardAmt?: string;
1059
+ /**
1060
+ *
1061
+ * @type {string}
1062
+ * @memberof GetLockedRedemptionRecordResponseRowsInner
1063
+ */
1064
+ status?: string;
1065
+ }
1066
+
1067
+ /**
1068
+ * Binance Public Simple Earn REST API
1069
+ *
1070
+ * OpenAPI Specification for the Binance Public Simple Earn REST API
1071
+ *
1072
+ * The version of the OpenAPI document: 1.0.0
1073
+ *
1074
+ *
1075
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1076
+ * https://openapi-generator.tech
1077
+ * Do not edit the class manually.
1078
+ */
1079
+
1080
+ /**
1081
+ *
1082
+ * @export
1083
+ * @interface GetLockedRedemptionRecordResponse
1084
+ */
1085
+ interface GetLockedRedemptionRecordResponse {
1086
+ /**
1087
+ *
1088
+ * @type {Array<GetLockedRedemptionRecordResponseRowsInner>}
1089
+ * @memberof GetLockedRedemptionRecordResponse
1090
+ */
1091
+ rows?: Array<GetLockedRedemptionRecordResponseRowsInner>;
1092
+ /**
1093
+ *
1094
+ * @type {number}
1095
+ * @memberof GetLockedRedemptionRecordResponse
1096
+ */
1097
+ total?: number;
1098
+ }
1099
+
1100
+ /**
1101
+ * Binance Public Simple Earn REST API
1102
+ *
1103
+ * OpenAPI Specification for the Binance Public Simple Earn REST API
1104
+ *
1105
+ * The version of the OpenAPI document: 1.0.0
1106
+ *
1107
+ *
1108
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1109
+ * https://openapi-generator.tech
1110
+ * Do not edit the class manually.
1111
+ */
1112
+ /**
1113
+ *
1114
+ * @export
1115
+ * @interface GetLockedRewardsHistoryResponseRowsInner
1116
+ */
1117
+ interface GetLockedRewardsHistoryResponseRowsInner {
1118
+ /**
1119
+ *
1120
+ * @type {number}
1121
+ * @memberof GetLockedRewardsHistoryResponseRowsInner
1122
+ */
1123
+ positionId?: number;
1124
+ /**
1125
+ *
1126
+ * @type {number}
1127
+ * @memberof GetLockedRewardsHistoryResponseRowsInner
1128
+ */
1129
+ time?: number;
1130
+ /**
1131
+ *
1132
+ * @type {string}
1133
+ * @memberof GetLockedRewardsHistoryResponseRowsInner
1134
+ */
1135
+ asset?: string;
1136
+ /**
1137
+ *
1138
+ * @type {string}
1139
+ * @memberof GetLockedRewardsHistoryResponseRowsInner
1140
+ */
1141
+ lockPeriod?: string;
1142
+ /**
1143
+ *
1144
+ * @type {string}
1145
+ * @memberof GetLockedRewardsHistoryResponseRowsInner
1146
+ */
1147
+ amount?: string;
1148
+ /**
1149
+ *
1150
+ * @type {string}
1151
+ * @memberof GetLockedRewardsHistoryResponseRowsInner
1152
+ */
1153
+ type?: string;
1154
+ }
1155
+
1156
+ /**
1157
+ * Binance Public Simple Earn REST API
1158
+ *
1159
+ * OpenAPI Specification for the Binance Public Simple Earn REST API
1160
+ *
1161
+ * The version of the OpenAPI document: 1.0.0
1162
+ *
1163
+ *
1164
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1165
+ * https://openapi-generator.tech
1166
+ * Do not edit the class manually.
1167
+ */
1168
+
1169
+ /**
1170
+ *
1171
+ * @export
1172
+ * @interface GetLockedRewardsHistoryResponse
1173
+ */
1174
+ interface GetLockedRewardsHistoryResponse {
1175
+ /**
1176
+ *
1177
+ * @type {Array<GetLockedRewardsHistoryResponseRowsInner>}
1178
+ * @memberof GetLockedRewardsHistoryResponse
1179
+ */
1180
+ rows?: Array<GetLockedRewardsHistoryResponseRowsInner>;
1181
+ /**
1182
+ *
1183
+ * @type {number}
1184
+ * @memberof GetLockedRewardsHistoryResponse
1185
+ */
1186
+ total?: number;
1187
+ }
1188
+
1189
+ /**
1190
+ * Binance Public Simple Earn REST API
1191
+ *
1192
+ * OpenAPI Specification for the Binance Public Simple Earn REST API
1193
+ *
1194
+ * The version of the OpenAPI document: 1.0.0
1195
+ *
1196
+ *
1197
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1198
+ * https://openapi-generator.tech
1199
+ * Do not edit the class manually.
1200
+ */
1201
+ /**
1202
+ *
1203
+ * @export
1204
+ * @interface GetLockedSubscriptionPreviewResponseInner
1205
+ */
1206
+ interface GetLockedSubscriptionPreviewResponseInner {
1207
+ /**
1208
+ *
1209
+ * @type {string}
1210
+ * @memberof GetLockedSubscriptionPreviewResponseInner
1211
+ */
1212
+ rewardAsset?: string;
1213
+ /**
1214
+ *
1215
+ * @type {string}
1216
+ * @memberof GetLockedSubscriptionPreviewResponseInner
1217
+ */
1218
+ totalRewardAmt?: string;
1219
+ /**
1220
+ *
1221
+ * @type {string}
1222
+ * @memberof GetLockedSubscriptionPreviewResponseInner
1223
+ */
1224
+ extraRewardAsset?: string;
1225
+ /**
1226
+ *
1227
+ * @type {string}
1228
+ * @memberof GetLockedSubscriptionPreviewResponseInner
1229
+ */
1230
+ estTotalExtraRewardAmt?: string;
1231
+ /**
1232
+ *
1233
+ * @type {string}
1234
+ * @memberof GetLockedSubscriptionPreviewResponseInner
1235
+ */
1236
+ boostRewardAsset?: string;
1237
+ /**
1238
+ *
1239
+ * @type {string}
1240
+ * @memberof GetLockedSubscriptionPreviewResponseInner
1241
+ */
1242
+ estDailyRewardAmt?: string;
1243
+ /**
1244
+ *
1245
+ * @type {string}
1246
+ * @memberof GetLockedSubscriptionPreviewResponseInner
1247
+ */
1248
+ nextPay?: string;
1249
+ /**
1250
+ *
1251
+ * @type {string}
1252
+ * @memberof GetLockedSubscriptionPreviewResponseInner
1253
+ */
1254
+ nextPayDate?: string;
1255
+ /**
1256
+ *
1257
+ * @type {string}
1258
+ * @memberof GetLockedSubscriptionPreviewResponseInner
1259
+ */
1260
+ valueDate?: string;
1261
+ /**
1262
+ *
1263
+ * @type {string}
1264
+ * @memberof GetLockedSubscriptionPreviewResponseInner
1265
+ */
1266
+ rewardsEndDate?: string;
1267
+ /**
1268
+ *
1269
+ * @type {string}
1270
+ * @memberof GetLockedSubscriptionPreviewResponseInner
1271
+ */
1272
+ deliverDate?: string;
1273
+ /**
1274
+ *
1275
+ * @type {string}
1276
+ * @memberof GetLockedSubscriptionPreviewResponseInner
1277
+ */
1278
+ nextSubscriptionDate?: string;
1279
+ }
1280
+
1281
+ /**
1282
+ * Binance Public Simple Earn REST API
1283
+ *
1284
+ * OpenAPI Specification for the Binance Public Simple Earn REST API
1285
+ *
1286
+ * The version of the OpenAPI document: 1.0.0
1287
+ *
1288
+ *
1289
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1290
+ * https://openapi-generator.tech
1291
+ * Do not edit the class manually.
1292
+ */
1293
+
1294
+ /**
1295
+ *
1296
+ * @export
1297
+ * @interface GetLockedSubscriptionPreviewResponse
1298
+ */
1299
+ interface GetLockedSubscriptionPreviewResponse extends Array<GetLockedSubscriptionPreviewResponseInner> {
1300
+ }
1301
+
1302
+ /**
1303
+ * Binance Public Simple Earn REST API
1304
+ *
1305
+ * OpenAPI Specification for the Binance Public Simple Earn REST API
1306
+ *
1307
+ * The version of the OpenAPI document: 1.0.0
1308
+ *
1309
+ *
1310
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1311
+ * https://openapi-generator.tech
1312
+ * Do not edit the class manually.
1313
+ */
1314
+ /**
1315
+ *
1316
+ * @export
1317
+ * @interface GetLockedSubscriptionRecordResponseRowsInner
1318
+ */
1319
+ interface GetLockedSubscriptionRecordResponseRowsInner {
1320
+ /**
1321
+ *
1322
+ * @type {number}
1323
+ * @memberof GetLockedSubscriptionRecordResponseRowsInner
1324
+ */
1325
+ positionId?: number;
1326
+ /**
1327
+ *
1328
+ * @type {string}
1329
+ * @memberof GetLockedSubscriptionRecordResponseRowsInner
1330
+ */
1331
+ purchaseId?: string;
1332
+ /**
1333
+ *
1334
+ * @type {string}
1335
+ * @memberof GetLockedSubscriptionRecordResponseRowsInner
1336
+ */
1337
+ projectId?: string;
1338
+ /**
1339
+ *
1340
+ * @type {number}
1341
+ * @memberof GetLockedSubscriptionRecordResponseRowsInner
1342
+ */
1343
+ time?: number;
1344
+ /**
1345
+ *
1346
+ * @type {string}
1347
+ * @memberof GetLockedSubscriptionRecordResponseRowsInner
1348
+ */
1349
+ asset?: string;
1350
+ /**
1351
+ *
1352
+ * @type {string}
1353
+ * @memberof GetLockedSubscriptionRecordResponseRowsInner
1354
+ */
1355
+ amount?: string;
1356
+ /**
1357
+ *
1358
+ * @type {string}
1359
+ * @memberof GetLockedSubscriptionRecordResponseRowsInner
1360
+ */
1361
+ lockPeriod?: string;
1362
+ /**
1363
+ *
1364
+ * @type {string}
1365
+ * @memberof GetLockedSubscriptionRecordResponseRowsInner
1366
+ */
1367
+ type?: string;
1368
+ /**
1369
+ *
1370
+ * @type {string}
1371
+ * @memberof GetLockedSubscriptionRecordResponseRowsInner
1372
+ */
1373
+ sourceAccount?: string;
1374
+ /**
1375
+ *
1376
+ * @type {string}
1377
+ * @memberof GetLockedSubscriptionRecordResponseRowsInner
1378
+ */
1379
+ amtFromSpot?: string;
1380
+ /**
1381
+ *
1382
+ * @type {string}
1383
+ * @memberof GetLockedSubscriptionRecordResponseRowsInner
1384
+ */
1385
+ amtFromFunding?: string;
1386
+ /**
1387
+ *
1388
+ * @type {string}
1389
+ * @memberof GetLockedSubscriptionRecordResponseRowsInner
1390
+ */
1391
+ status?: string;
1392
+ }
1393
+
1394
+ /**
1395
+ * Binance Public Simple Earn REST API
1396
+ *
1397
+ * OpenAPI Specification for the Binance Public Simple Earn REST API
1398
+ *
1399
+ * The version of the OpenAPI document: 1.0.0
1400
+ *
1401
+ *
1402
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1403
+ * https://openapi-generator.tech
1404
+ * Do not edit the class manually.
1405
+ */
1406
+
1407
+ /**
1408
+ *
1409
+ * @export
1410
+ * @interface GetLockedSubscriptionRecordResponse
1411
+ */
1412
+ interface GetLockedSubscriptionRecordResponse {
1413
+ /**
1414
+ *
1415
+ * @type {Array<GetLockedSubscriptionRecordResponseRowsInner>}
1416
+ * @memberof GetLockedSubscriptionRecordResponse
1417
+ */
1418
+ rows?: Array<GetLockedSubscriptionRecordResponseRowsInner>;
1419
+ /**
1420
+ *
1421
+ * @type {number}
1422
+ * @memberof GetLockedSubscriptionRecordResponse
1423
+ */
1424
+ total?: number;
1425
+ }
1426
+
1427
+ /**
1428
+ * Binance Public Simple Earn REST API
1429
+ *
1430
+ * OpenAPI Specification for the Binance Public Simple Earn REST API
1431
+ *
1432
+ * The version of the OpenAPI document: 1.0.0
1433
+ *
1434
+ *
1435
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1436
+ * https://openapi-generator.tech
1437
+ * Do not edit the class manually.
1438
+ */
1439
+ /**
1440
+ *
1441
+ * @export
1442
+ * @interface GetRateHistoryResponseRowsInner
1443
+ */
1444
+ interface GetRateHistoryResponseRowsInner {
1445
+ /**
1446
+ *
1447
+ * @type {string}
1448
+ * @memberof GetRateHistoryResponseRowsInner
1449
+ */
1450
+ productId?: string;
1451
+ /**
1452
+ *
1453
+ * @type {string}
1454
+ * @memberof GetRateHistoryResponseRowsInner
1455
+ */
1456
+ asset?: string;
1457
+ /**
1458
+ *
1459
+ * @type {string}
1460
+ * @memberof GetRateHistoryResponseRowsInner
1461
+ */
1462
+ annualPercentageRate?: string;
1463
+ /**
1464
+ *
1465
+ * @type {number}
1466
+ * @memberof GetRateHistoryResponseRowsInner
1467
+ */
1468
+ time?: number;
1469
+ }
1470
+
1471
+ /**
1472
+ * Binance Public Simple Earn REST API
1473
+ *
1474
+ * OpenAPI Specification for the Binance Public Simple Earn REST API
1475
+ *
1476
+ * The version of the OpenAPI document: 1.0.0
1477
+ *
1478
+ *
1479
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1480
+ * https://openapi-generator.tech
1481
+ * Do not edit the class manually.
1482
+ */
1483
+
1484
+ /**
1485
+ *
1486
+ * @export
1487
+ * @interface GetRateHistoryResponse
1488
+ */
1489
+ interface GetRateHistoryResponse {
1490
+ /**
1491
+ *
1492
+ * @type {Array<GetRateHistoryResponseRowsInner>}
1493
+ * @memberof GetRateHistoryResponse
1494
+ */
1495
+ rows?: Array<GetRateHistoryResponseRowsInner>;
1496
+ /**
1497
+ *
1498
+ * @type {string}
1499
+ * @memberof GetRateHistoryResponse
1500
+ */
1501
+ total?: string;
1502
+ }
1503
+
1504
+ /**
1505
+ * Binance Public Simple Earn REST API
1506
+ *
1507
+ * OpenAPI Specification for the Binance Public Simple Earn REST API
1508
+ *
1509
+ * The version of the OpenAPI document: 1.0.0
1510
+ *
1511
+ *
1512
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1513
+ * https://openapi-generator.tech
1514
+ * Do not edit the class manually.
1515
+ */
1516
+
1517
+ /**
1518
+ *
1519
+ * @export
1520
+ * @interface GetSimpleEarnFlexibleProductListResponseRowsInner
1521
+ */
1522
+ interface GetSimpleEarnFlexibleProductListResponseRowsInner {
1523
+ /**
1524
+ *
1525
+ * @type {string}
1526
+ * @memberof GetSimpleEarnFlexibleProductListResponseRowsInner
1527
+ */
1528
+ asset?: string;
1529
+ /**
1530
+ *
1531
+ * @type {string}
1532
+ * @memberof GetSimpleEarnFlexibleProductListResponseRowsInner
1533
+ */
1534
+ latestAnnualPercentageRate?: string;
1535
+ /**
1536
+ *
1537
+ * @type {GetFlexibleProductPositionResponseRowsInnerTierAnnualPercentageRate}
1538
+ * @memberof GetSimpleEarnFlexibleProductListResponseRowsInner
1539
+ */
1540
+ tierAnnualPercentageRate?: GetFlexibleProductPositionResponseRowsInnerTierAnnualPercentageRate;
1541
+ /**
1542
+ *
1543
+ * @type {string}
1544
+ * @memberof GetSimpleEarnFlexibleProductListResponseRowsInner
1545
+ */
1546
+ airDropPercentageRate?: string;
1547
+ /**
1548
+ *
1549
+ * @type {boolean}
1550
+ * @memberof GetSimpleEarnFlexibleProductListResponseRowsInner
1551
+ */
1552
+ canPurchase?: boolean;
1553
+ /**
1554
+ *
1555
+ * @type {boolean}
1556
+ * @memberof GetSimpleEarnFlexibleProductListResponseRowsInner
1557
+ */
1558
+ canRedeem?: boolean;
1559
+ /**
1560
+ *
1561
+ * @type {boolean}
1562
+ * @memberof GetSimpleEarnFlexibleProductListResponseRowsInner
1563
+ */
1564
+ isSoldOut?: boolean;
1565
+ /**
1566
+ *
1567
+ * @type {boolean}
1568
+ * @memberof GetSimpleEarnFlexibleProductListResponseRowsInner
1569
+ */
1570
+ hot?: boolean;
1571
+ /**
1572
+ *
1573
+ * @type {string}
1574
+ * @memberof GetSimpleEarnFlexibleProductListResponseRowsInner
1575
+ */
1576
+ minPurchaseAmount?: string;
1577
+ /**
1578
+ *
1579
+ * @type {string}
1580
+ * @memberof GetSimpleEarnFlexibleProductListResponseRowsInner
1581
+ */
1582
+ productId?: string;
1583
+ /**
1584
+ *
1585
+ * @type {string}
1586
+ * @memberof GetSimpleEarnFlexibleProductListResponseRowsInner
1587
+ */
1588
+ subscriptionStartTime?: string;
1589
+ /**
1590
+ *
1591
+ * @type {string}
1592
+ * @memberof GetSimpleEarnFlexibleProductListResponseRowsInner
1593
+ */
1594
+ status?: string;
1595
+ }
1596
+
1597
+ /**
1598
+ * Binance Public Simple Earn REST API
1599
+ *
1600
+ * OpenAPI Specification for the Binance Public Simple Earn REST API
1601
+ *
1602
+ * The version of the OpenAPI document: 1.0.0
1603
+ *
1604
+ *
1605
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1606
+ * https://openapi-generator.tech
1607
+ * Do not edit the class manually.
1608
+ */
1609
+
1610
+ /**
1611
+ *
1612
+ * @export
1613
+ * @interface GetSimpleEarnFlexibleProductListResponse
1614
+ */
1615
+ interface GetSimpleEarnFlexibleProductListResponse {
1616
+ /**
1617
+ *
1618
+ * @type {Array<GetSimpleEarnFlexibleProductListResponseRowsInner>}
1619
+ * @memberof GetSimpleEarnFlexibleProductListResponse
1620
+ */
1621
+ rows?: Array<GetSimpleEarnFlexibleProductListResponseRowsInner>;
1622
+ /**
1623
+ *
1624
+ * @type {number}
1625
+ * @memberof GetSimpleEarnFlexibleProductListResponse
1626
+ */
1627
+ total?: number;
1628
+ }
1629
+
1630
+ /**
1631
+ * Binance Public Simple Earn REST API
1632
+ *
1633
+ * OpenAPI Specification for the Binance Public Simple Earn REST API
1634
+ *
1635
+ * The version of the OpenAPI document: 1.0.0
1636
+ *
1637
+ *
1638
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1639
+ * https://openapi-generator.tech
1640
+ * Do not edit the class manually.
1641
+ */
1642
+ /**
1643
+ *
1644
+ * @export
1645
+ * @interface GetSimpleEarnLockedProductListResponseRowsInnerDetail
1646
+ */
1647
+ interface GetSimpleEarnLockedProductListResponseRowsInnerDetail {
1648
+ /**
1649
+ *
1650
+ * @type {string}
1651
+ * @memberof GetSimpleEarnLockedProductListResponseRowsInnerDetail
1652
+ */
1653
+ asset?: string;
1654
+ /**
1655
+ *
1656
+ * @type {string}
1657
+ * @memberof GetSimpleEarnLockedProductListResponseRowsInnerDetail
1658
+ */
1659
+ rewardAsset?: string;
1660
+ /**
1661
+ *
1662
+ * @type {number}
1663
+ * @memberof GetSimpleEarnLockedProductListResponseRowsInnerDetail
1664
+ */
1665
+ duration?: number;
1666
+ /**
1667
+ *
1668
+ * @type {boolean}
1669
+ * @memberof GetSimpleEarnLockedProductListResponseRowsInnerDetail
1670
+ */
1671
+ renewable?: boolean;
1672
+ /**
1673
+ *
1674
+ * @type {boolean}
1675
+ * @memberof GetSimpleEarnLockedProductListResponseRowsInnerDetail
1676
+ */
1677
+ isSoldOut?: boolean;
1678
+ /**
1679
+ *
1680
+ * @type {string}
1681
+ * @memberof GetSimpleEarnLockedProductListResponseRowsInnerDetail
1682
+ */
1683
+ apr?: string;
1684
+ /**
1685
+ *
1686
+ * @type {string}
1687
+ * @memberof GetSimpleEarnLockedProductListResponseRowsInnerDetail
1688
+ */
1689
+ status?: string;
1690
+ /**
1691
+ *
1692
+ * @type {string}
1693
+ * @memberof GetSimpleEarnLockedProductListResponseRowsInnerDetail
1694
+ */
1695
+ subscriptionStartTime?: string;
1696
+ /**
1697
+ *
1698
+ * @type {string}
1699
+ * @memberof GetSimpleEarnLockedProductListResponseRowsInnerDetail
1700
+ */
1701
+ extraRewardAsset?: string;
1702
+ /**
1703
+ *
1704
+ * @type {string}
1705
+ * @memberof GetSimpleEarnLockedProductListResponseRowsInnerDetail
1706
+ */
1707
+ extraRewardAPR?: string;
1708
+ /**
1709
+ *
1710
+ * @type {string}
1711
+ * @memberof GetSimpleEarnLockedProductListResponseRowsInnerDetail
1712
+ */
1713
+ boostRewardAsset?: string;
1714
+ /**
1715
+ *
1716
+ * @type {string}
1717
+ * @memberof GetSimpleEarnLockedProductListResponseRowsInnerDetail
1718
+ */
1719
+ boostApr?: string;
1720
+ /**
1721
+ *
1722
+ * @type {string}
1723
+ * @memberof GetSimpleEarnLockedProductListResponseRowsInnerDetail
1724
+ */
1725
+ boostEndTime?: string;
1726
+ }
1727
+
1728
+ /**
1729
+ * Binance Public Simple Earn REST API
1730
+ *
1731
+ * OpenAPI Specification for the Binance Public Simple Earn REST API
1732
+ *
1733
+ * The version of the OpenAPI document: 1.0.0
1734
+ *
1735
+ *
1736
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1737
+ * https://openapi-generator.tech
1738
+ * Do not edit the class manually.
1739
+ */
1740
+ /**
1741
+ *
1742
+ * @export
1743
+ * @interface GetSimpleEarnLockedProductListResponseRowsInnerQuota
1744
+ */
1745
+ interface GetSimpleEarnLockedProductListResponseRowsInnerQuota {
1746
+ /**
1747
+ *
1748
+ * @type {string}
1749
+ * @memberof GetSimpleEarnLockedProductListResponseRowsInnerQuota
1750
+ */
1751
+ totalPersonalQuota?: string;
1752
+ /**
1753
+ *
1754
+ * @type {string}
1755
+ * @memberof GetSimpleEarnLockedProductListResponseRowsInnerQuota
1756
+ */
1757
+ minimum?: string;
1758
+ }
1759
+
1760
+ /**
1761
+ * Binance Public Simple Earn REST API
1762
+ *
1763
+ * OpenAPI Specification for the Binance Public Simple Earn REST API
1764
+ *
1765
+ * The version of the OpenAPI document: 1.0.0
1766
+ *
1767
+ *
1768
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1769
+ * https://openapi-generator.tech
1770
+ * Do not edit the class manually.
1771
+ */
1772
+
1773
+ /**
1774
+ *
1775
+ * @export
1776
+ * @interface GetSimpleEarnLockedProductListResponseRowsInner
1777
+ */
1778
+ interface GetSimpleEarnLockedProductListResponseRowsInner {
1779
+ /**
1780
+ *
1781
+ * @type {string}
1782
+ * @memberof GetSimpleEarnLockedProductListResponseRowsInner
1783
+ */
1784
+ projectId?: string;
1785
+ /**
1786
+ *
1787
+ * @type {GetSimpleEarnLockedProductListResponseRowsInnerDetail}
1788
+ * @memberof GetSimpleEarnLockedProductListResponseRowsInner
1789
+ */
1790
+ detail?: GetSimpleEarnLockedProductListResponseRowsInnerDetail;
1791
+ /**
1792
+ *
1793
+ * @type {GetSimpleEarnLockedProductListResponseRowsInnerQuota}
1794
+ * @memberof GetSimpleEarnLockedProductListResponseRowsInner
1795
+ */
1796
+ quota?: GetSimpleEarnLockedProductListResponseRowsInnerQuota;
1797
+ }
1798
+
1799
+ /**
1800
+ * Binance Public Simple Earn REST API
1801
+ *
1802
+ * OpenAPI Specification for the Binance Public Simple Earn REST API
1803
+ *
1804
+ * The version of the OpenAPI document: 1.0.0
1805
+ *
1806
+ *
1807
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1808
+ * https://openapi-generator.tech
1809
+ * Do not edit the class manually.
1810
+ */
1811
+
1812
+ /**
1813
+ *
1814
+ * @export
1815
+ * @interface GetSimpleEarnLockedProductListResponse
1816
+ */
1817
+ interface GetSimpleEarnLockedProductListResponse {
1818
+ /**
1819
+ *
1820
+ * @type {Array<GetSimpleEarnLockedProductListResponseRowsInner>}
1821
+ * @memberof GetSimpleEarnLockedProductListResponse
1822
+ */
1823
+ rows?: Array<GetSimpleEarnLockedProductListResponseRowsInner>;
1824
+ /**
1825
+ *
1826
+ * @type {number}
1827
+ * @memberof GetSimpleEarnLockedProductListResponse
1828
+ */
1829
+ total?: number;
1830
+ }
1831
+
1832
+ /**
1833
+ * Binance Public Simple Earn REST API
1834
+ *
1835
+ * OpenAPI Specification for the Binance Public Simple Earn REST API
1836
+ *
1837
+ * The version of the OpenAPI document: 1.0.0
1838
+ *
1839
+ *
1840
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1841
+ * https://openapi-generator.tech
1842
+ * Do not edit the class manually.
1843
+ */
1844
+ /**
1845
+ *
1846
+ * @export
1847
+ * @interface RedeemFlexibleProductResponse
1848
+ */
1849
+ interface RedeemFlexibleProductResponse {
1850
+ /**
1851
+ *
1852
+ * @type {number}
1853
+ * @memberof RedeemFlexibleProductResponse
1854
+ */
1855
+ redeemId?: number;
1856
+ /**
1857
+ *
1858
+ * @type {boolean}
1859
+ * @memberof RedeemFlexibleProductResponse
1860
+ */
1861
+ success?: boolean;
1862
+ }
1863
+
1864
+ /**
1865
+ * Binance Public Simple Earn REST API
1866
+ *
1867
+ * OpenAPI Specification for the Binance Public Simple Earn REST API
1868
+ *
1869
+ * The version of the OpenAPI document: 1.0.0
1870
+ *
1871
+ *
1872
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1873
+ * https://openapi-generator.tech
1874
+ * Do not edit the class manually.
1875
+ */
1876
+ /**
1877
+ *
1878
+ * @export
1879
+ * @interface RedeemLockedProductResponse
1880
+ */
1881
+ interface RedeemLockedProductResponse {
1882
+ /**
1883
+ *
1884
+ * @type {number}
1885
+ * @memberof RedeemLockedProductResponse
1886
+ */
1887
+ redeemId?: number;
1888
+ /**
1889
+ *
1890
+ * @type {boolean}
1891
+ * @memberof RedeemLockedProductResponse
1892
+ */
1893
+ success?: boolean;
1894
+ }
1895
+
1896
+ /**
1897
+ * Binance Public Simple Earn REST API
1898
+ *
1899
+ * OpenAPI Specification for the Binance Public Simple Earn REST API
1900
+ *
1901
+ * The version of the OpenAPI document: 1.0.0
1902
+ *
1903
+ *
1904
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1905
+ * https://openapi-generator.tech
1906
+ * Do not edit the class manually.
1907
+ */
1908
+ /**
1909
+ *
1910
+ * @export
1911
+ * @interface SetFlexibleAutoSubscribeResponse
1912
+ */
1913
+ interface SetFlexibleAutoSubscribeResponse {
1914
+ /**
1915
+ *
1916
+ * @type {boolean}
1917
+ * @memberof SetFlexibleAutoSubscribeResponse
1918
+ */
1919
+ success?: boolean;
1920
+ }
1921
+
1922
+ /**
1923
+ * Binance Public Simple Earn REST API
1924
+ *
1925
+ * OpenAPI Specification for the Binance Public Simple Earn REST API
1926
+ *
1927
+ * The version of the OpenAPI document: 1.0.0
1928
+ *
1929
+ *
1930
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1931
+ * https://openapi-generator.tech
1932
+ * Do not edit the class manually.
1933
+ */
1934
+ /**
1935
+ *
1936
+ * @export
1937
+ * @interface SetLockedAutoSubscribeResponse
1938
+ */
1939
+ interface SetLockedAutoSubscribeResponse {
1940
+ /**
1941
+ *
1942
+ * @type {boolean}
1943
+ * @memberof SetLockedAutoSubscribeResponse
1944
+ */
1945
+ success?: boolean;
1946
+ }
1947
+
1948
+ /**
1949
+ * Binance Public Simple Earn REST API
1950
+ *
1951
+ * OpenAPI Specification for the Binance Public Simple Earn REST API
1952
+ *
1953
+ * The version of the OpenAPI document: 1.0.0
1954
+ *
1955
+ *
1956
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1957
+ * https://openapi-generator.tech
1958
+ * Do not edit the class manually.
1959
+ */
1960
+ /**
1961
+ *
1962
+ * @export
1963
+ * @interface SetLockedProductRedeemOptionResponse
1964
+ */
1965
+ interface SetLockedProductRedeemOptionResponse {
1966
+ /**
1967
+ *
1968
+ * @type {boolean}
1969
+ * @memberof SetLockedProductRedeemOptionResponse
1970
+ */
1971
+ success?: boolean;
1972
+ }
1973
+
1974
+ /**
1975
+ * Binance Public Simple Earn REST API
1976
+ *
1977
+ * OpenAPI Specification for the Binance Public Simple Earn REST API
1978
+ *
1979
+ * The version of the OpenAPI document: 1.0.0
1980
+ *
1981
+ *
1982
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1983
+ * https://openapi-generator.tech
1984
+ * Do not edit the class manually.
1985
+ */
1986
+ /**
1987
+ *
1988
+ * @export
1989
+ * @interface SimpleAccountResponse
1990
+ */
1991
+ interface SimpleAccountResponse {
1992
+ /**
1993
+ *
1994
+ * @type {string}
1995
+ * @memberof SimpleAccountResponse
1996
+ */
1997
+ totalAmountInBTC?: string;
1998
+ /**
1999
+ *
2000
+ * @type {string}
2001
+ * @memberof SimpleAccountResponse
2002
+ */
2003
+ totalAmountInUSDT?: string;
2004
+ /**
2005
+ *
2006
+ * @type {string}
2007
+ * @memberof SimpleAccountResponse
2008
+ */
2009
+ totalFlexibleAmountInBTC?: string;
2010
+ /**
2011
+ *
2012
+ * @type {string}
2013
+ * @memberof SimpleAccountResponse
2014
+ */
2015
+ totalFlexibleAmountInUSDT?: string;
2016
+ /**
2017
+ *
2018
+ * @type {string}
2019
+ * @memberof SimpleAccountResponse
2020
+ */
2021
+ totalLockedInBTC?: string;
2022
+ /**
2023
+ *
2024
+ * @type {string}
2025
+ * @memberof SimpleAccountResponse
2026
+ */
2027
+ totalLockedInUSDT?: string;
2028
+ }
2029
+
2030
+ /**
2031
+ * Binance Public Simple Earn REST API
2032
+ *
2033
+ * OpenAPI Specification for the Binance Public Simple Earn REST API
2034
+ *
2035
+ * The version of the OpenAPI document: 1.0.0
2036
+ *
2037
+ *
2038
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2039
+ * https://openapi-generator.tech
2040
+ * Do not edit the class manually.
2041
+ */
2042
+ /**
2043
+ *
2044
+ * @export
2045
+ * @interface SubscribeFlexibleProductResponse
2046
+ */
2047
+ interface SubscribeFlexibleProductResponse {
2048
+ /**
2049
+ *
2050
+ * @type {number}
2051
+ * @memberof SubscribeFlexibleProductResponse
2052
+ */
2053
+ purchaseId?: number;
2054
+ /**
2055
+ *
2056
+ * @type {boolean}
2057
+ * @memberof SubscribeFlexibleProductResponse
2058
+ */
2059
+ success?: boolean;
2060
+ }
2061
+
2062
+ /**
2063
+ * Binance Public Simple Earn REST API
2064
+ *
2065
+ * OpenAPI Specification for the Binance Public Simple Earn REST API
2066
+ *
2067
+ * The version of the OpenAPI document: 1.0.0
2068
+ *
2069
+ *
2070
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2071
+ * https://openapi-generator.tech
2072
+ * Do not edit the class manually.
2073
+ */
2074
+ /**
2075
+ *
2076
+ * @export
2077
+ * @interface SubscribeLockedProductResponse
2078
+ */
2079
+ interface SubscribeLockedProductResponse {
2080
+ /**
2081
+ *
2082
+ * @type {number}
2083
+ * @memberof SubscribeLockedProductResponse
2084
+ */
2085
+ purchaseId?: number;
2086
+ /**
2087
+ *
2088
+ * @type {string}
2089
+ * @memberof SubscribeLockedProductResponse
2090
+ */
2091
+ positionId?: string;
2092
+ /**
2093
+ *
2094
+ * @type {boolean}
2095
+ * @memberof SubscribeLockedProductResponse
2096
+ */
2097
+ success?: boolean;
2098
+ }
2099
+
2100
+ /**
2101
+ * Binance Public Simple Earn REST API
2102
+ *
2103
+ * OpenAPI Specification for the Binance Public Simple Earn REST API
2104
+ *
2105
+ * The version of the OpenAPI document: 1.0.0
2106
+ *
2107
+ *
2108
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2109
+ * https://openapi-generator.tech
2110
+ * Do not edit the class manually.
2111
+ */
2112
+
2113
+ /**
2114
+ * AccountApi - interface
2115
+ * @interface AccountApi
2116
+ */
2117
+ interface AccountApiInterface {
2118
+ /**
2119
+ * Get Flexible Personal Left Quota
2120
+ *
2121
+ * Weight: 150
2122
+ *
2123
+ * @summary Get Flexible Personal Left Quota(USER_DATA)
2124
+ * @param {GetFlexiblePersonalLeftQuotaRequest} requestParameters Request parameters.
2125
+ *
2126
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2127
+ * @memberof AccountApiInterface
2128
+ */
2129
+ getFlexiblePersonalLeftQuota(requestParameters: GetFlexiblePersonalLeftQuotaRequest): Promise<RestApiResponse<GetFlexiblePersonalLeftQuotaResponse>>;
2130
+ /**
2131
+ * Get Flexible Product Position
2132
+ *
2133
+ * Weight: 150
2134
+ *
2135
+ * @summary Get Flexible Product Position(USER_DATA)
2136
+ * @param {GetFlexibleProductPositionRequest} requestParameters Request parameters.
2137
+ *
2138
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2139
+ * @memberof AccountApiInterface
2140
+ */
2141
+ getFlexibleProductPosition(requestParameters?: GetFlexibleProductPositionRequest): Promise<RestApiResponse<GetFlexibleProductPositionResponse>>;
2142
+ /**
2143
+ * Get Locked Personal Left Quota
2144
+ *
2145
+ * Weight: 150
2146
+ *
2147
+ * @summary Get Locked Personal Left Quota(USER_DATA)
2148
+ * @param {GetLockedPersonalLeftQuotaRequest} requestParameters Request parameters.
2149
+ *
2150
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2151
+ * @memberof AccountApiInterface
2152
+ */
2153
+ getLockedPersonalLeftQuota(requestParameters: GetLockedPersonalLeftQuotaRequest): Promise<RestApiResponse<GetLockedPersonalLeftQuotaResponse>>;
2154
+ /**
2155
+ * Get Locked Product Position
2156
+ *
2157
+ * Weight: 150
2158
+ *
2159
+ * @summary Get Locked Product Position
2160
+ * @param {GetLockedProductPositionRequest} requestParameters Request parameters.
2161
+ *
2162
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2163
+ * @memberof AccountApiInterface
2164
+ */
2165
+ getLockedProductPosition(requestParameters?: GetLockedProductPositionRequest): Promise<RestApiResponse<GetLockedProductPositionResponse>>;
2166
+ /**
2167
+ * Get available Simple Earn flexible product list
2168
+ *
2169
+ * Weight: 150
2170
+ *
2171
+ * @summary Get Simple Earn Flexible Product List(USER_DATA)
2172
+ * @param {GetSimpleEarnFlexibleProductListRequest} requestParameters Request parameters.
2173
+ *
2174
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2175
+ * @memberof AccountApiInterface
2176
+ */
2177
+ getSimpleEarnFlexibleProductList(requestParameters?: GetSimpleEarnFlexibleProductListRequest): Promise<RestApiResponse<GetSimpleEarnFlexibleProductListResponse>>;
2178
+ /**
2179
+ * Get Simple Earn Locked Product List
2180
+ *
2181
+ * Get available Simple Earn locked product list
2182
+ *
2183
+ * Weight: 150
2184
+ *
2185
+ * @summary Get Simple Earn Locked Product List(USER_DATA)
2186
+ * @param {GetSimpleEarnLockedProductListRequest} requestParameters Request parameters.
2187
+ *
2188
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2189
+ * @memberof AccountApiInterface
2190
+ */
2191
+ getSimpleEarnLockedProductList(requestParameters?: GetSimpleEarnLockedProductListRequest): Promise<RestApiResponse<GetSimpleEarnLockedProductListResponse>>;
2192
+ /**
2193
+ * Simple Account query
2194
+ *
2195
+ * Weight: 150
2196
+ *
2197
+ * @summary Simple Account(USER_DATA)
2198
+ * @param {SimpleAccountRequest} requestParameters Request parameters.
2199
+ *
2200
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2201
+ * @memberof AccountApiInterface
2202
+ */
2203
+ simpleAccount(requestParameters?: SimpleAccountRequest): Promise<RestApiResponse<SimpleAccountResponse>>;
2204
+ }
2205
+ /**
2206
+ * Request parameters for getFlexiblePersonalLeftQuota operation in AccountApi.
2207
+ * @interface GetFlexiblePersonalLeftQuotaRequest
2208
+ */
2209
+ interface GetFlexiblePersonalLeftQuotaRequest {
2210
+ /**
2211
+ *
2212
+ * @type {string}
2213
+ * @memberof AccountApiGetFlexiblePersonalLeftQuota
2214
+ */
2215
+ readonly productId: string;
2216
+ /**
2217
+ *
2218
+ * @type {number}
2219
+ * @memberof AccountApiGetFlexiblePersonalLeftQuota
2220
+ */
2221
+ readonly recvWindow?: number;
2222
+ }
2223
+ /**
2224
+ * Request parameters for getFlexibleProductPosition operation in AccountApi.
2225
+ * @interface GetFlexibleProductPositionRequest
2226
+ */
2227
+ interface GetFlexibleProductPositionRequest {
2228
+ /**
2229
+ *
2230
+ * @type {string}
2231
+ * @memberof AccountApiGetFlexibleProductPosition
2232
+ */
2233
+ readonly asset?: string;
2234
+ /**
2235
+ *
2236
+ * @type {string}
2237
+ * @memberof AccountApiGetFlexibleProductPosition
2238
+ */
2239
+ readonly productId?: string;
2240
+ /**
2241
+ * Currently querying the page. Start from 1. Default:1
2242
+ * @type {number}
2243
+ * @memberof AccountApiGetFlexibleProductPosition
2244
+ */
2245
+ readonly current?: number;
2246
+ /**
2247
+ * Default:10, Max:100
2248
+ * @type {number}
2249
+ * @memberof AccountApiGetFlexibleProductPosition
2250
+ */
2251
+ readonly size?: number;
2252
+ /**
2253
+ *
2254
+ * @type {number}
2255
+ * @memberof AccountApiGetFlexibleProductPosition
2256
+ */
2257
+ readonly recvWindow?: number;
2258
+ }
2259
+ /**
2260
+ * Request parameters for getLockedPersonalLeftQuota operation in AccountApi.
2261
+ * @interface GetLockedPersonalLeftQuotaRequest
2262
+ */
2263
+ interface GetLockedPersonalLeftQuotaRequest {
2264
+ /**
2265
+ *
2266
+ * @type {string}
2267
+ * @memberof AccountApiGetLockedPersonalLeftQuota
2268
+ */
2269
+ readonly projectId: string;
2270
+ /**
2271
+ *
2272
+ * @type {number}
2273
+ * @memberof AccountApiGetLockedPersonalLeftQuota
2274
+ */
2275
+ readonly recvWindow?: number;
2276
+ }
2277
+ /**
2278
+ * Request parameters for getLockedProductPosition operation in AccountApi.
2279
+ * @interface GetLockedProductPositionRequest
2280
+ */
2281
+ interface GetLockedProductPositionRequest {
2282
+ /**
2283
+ *
2284
+ * @type {string}
2285
+ * @memberof AccountApiGetLockedProductPosition
2286
+ */
2287
+ readonly asset?: string;
2288
+ /**
2289
+ *
2290
+ * @type {number}
2291
+ * @memberof AccountApiGetLockedProductPosition
2292
+ */
2293
+ readonly positionId?: number;
2294
+ /**
2295
+ *
2296
+ * @type {string}
2297
+ * @memberof AccountApiGetLockedProductPosition
2298
+ */
2299
+ readonly projectId?: string;
2300
+ /**
2301
+ * Currently querying the page. Start from 1. Default:1
2302
+ * @type {number}
2303
+ * @memberof AccountApiGetLockedProductPosition
2304
+ */
2305
+ readonly current?: number;
2306
+ /**
2307
+ * Default:10, Max:100
2308
+ * @type {number}
2309
+ * @memberof AccountApiGetLockedProductPosition
2310
+ */
2311
+ readonly size?: number;
2312
+ /**
2313
+ *
2314
+ * @type {number}
2315
+ * @memberof AccountApiGetLockedProductPosition
2316
+ */
2317
+ readonly recvWindow?: number;
2318
+ }
2319
+ /**
2320
+ * Request parameters for getSimpleEarnFlexibleProductList operation in AccountApi.
2321
+ * @interface GetSimpleEarnFlexibleProductListRequest
2322
+ */
2323
+ interface GetSimpleEarnFlexibleProductListRequest {
2324
+ /**
2325
+ *
2326
+ * @type {string}
2327
+ * @memberof AccountApiGetSimpleEarnFlexibleProductList
2328
+ */
2329
+ readonly asset?: string;
2330
+ /**
2331
+ * Currently querying the page. Start from 1. Default:1
2332
+ * @type {number}
2333
+ * @memberof AccountApiGetSimpleEarnFlexibleProductList
2334
+ */
2335
+ readonly current?: number;
2336
+ /**
2337
+ * Default:10, Max:100
2338
+ * @type {number}
2339
+ * @memberof AccountApiGetSimpleEarnFlexibleProductList
2340
+ */
2341
+ readonly size?: number;
2342
+ /**
2343
+ *
2344
+ * @type {number}
2345
+ * @memberof AccountApiGetSimpleEarnFlexibleProductList
2346
+ */
2347
+ readonly recvWindow?: number;
2348
+ }
2349
+ /**
2350
+ * Request parameters for getSimpleEarnLockedProductList operation in AccountApi.
2351
+ * @interface GetSimpleEarnLockedProductListRequest
2352
+ */
2353
+ interface GetSimpleEarnLockedProductListRequest {
2354
+ /**
2355
+ *
2356
+ * @type {string}
2357
+ * @memberof AccountApiGetSimpleEarnLockedProductList
2358
+ */
2359
+ readonly asset?: string;
2360
+ /**
2361
+ * Currently querying the page. Start from 1. Default:1
2362
+ * @type {number}
2363
+ * @memberof AccountApiGetSimpleEarnLockedProductList
2364
+ */
2365
+ readonly current?: number;
2366
+ /**
2367
+ * Default:10, Max:100
2368
+ * @type {number}
2369
+ * @memberof AccountApiGetSimpleEarnLockedProductList
2370
+ */
2371
+ readonly size?: number;
2372
+ /**
2373
+ *
2374
+ * @type {number}
2375
+ * @memberof AccountApiGetSimpleEarnLockedProductList
2376
+ */
2377
+ readonly recvWindow?: number;
2378
+ }
2379
+ /**
2380
+ * Request parameters for simpleAccount operation in AccountApi.
2381
+ * @interface SimpleAccountRequest
2382
+ */
2383
+ interface SimpleAccountRequest {
2384
+ /**
2385
+ *
2386
+ * @type {number}
2387
+ * @memberof AccountApiSimpleAccount
2388
+ */
2389
+ readonly recvWindow?: number;
2390
+ }
2391
+ /**
2392
+ * AccountApi - object-oriented interface
2393
+ * @class AccountApi
2394
+ */
2395
+ declare class AccountApi implements AccountApiInterface {
2396
+ private readonly configuration;
2397
+ private localVarAxiosParamCreator;
2398
+ constructor(configuration: ConfigurationRestAPI);
2399
+ /**
2400
+ * Get Flexible Personal Left Quota
2401
+ *
2402
+ * Weight: 150
2403
+ *
2404
+ * @summary Get Flexible Personal Left Quota(USER_DATA)
2405
+ * @param {GetFlexiblePersonalLeftQuotaRequest} requestParameters Request parameters.
2406
+ * @returns {Promise<RestApiResponse<GetFlexiblePersonalLeftQuotaResponse>>}
2407
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2408
+ * @memberof AccountApi
2409
+ * @see {@link https://developers.binance.com/docs/simple_earn/account/Get-Flexible-Personal-Left-Quota Binance API Documentation}
2410
+ */
2411
+ getFlexiblePersonalLeftQuota(requestParameters: GetFlexiblePersonalLeftQuotaRequest): Promise<RestApiResponse<GetFlexiblePersonalLeftQuotaResponse>>;
2412
+ /**
2413
+ * Get Flexible Product Position
2414
+ *
2415
+ * Weight: 150
2416
+ *
2417
+ * @summary Get Flexible Product Position(USER_DATA)
2418
+ * @param {GetFlexibleProductPositionRequest} requestParameters Request parameters.
2419
+ * @returns {Promise<RestApiResponse<GetFlexibleProductPositionResponse>>}
2420
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2421
+ * @memberof AccountApi
2422
+ * @see {@link https://developers.binance.com/docs/simple_earn/account/Get-Flexible-Product-Position Binance API Documentation}
2423
+ */
2424
+ getFlexibleProductPosition(requestParameters?: GetFlexibleProductPositionRequest): Promise<RestApiResponse<GetFlexibleProductPositionResponse>>;
2425
+ /**
2426
+ * Get Locked Personal Left Quota
2427
+ *
2428
+ * Weight: 150
2429
+ *
2430
+ * @summary Get Locked Personal Left Quota(USER_DATA)
2431
+ * @param {GetLockedPersonalLeftQuotaRequest} requestParameters Request parameters.
2432
+ * @returns {Promise<RestApiResponse<GetLockedPersonalLeftQuotaResponse>>}
2433
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2434
+ * @memberof AccountApi
2435
+ * @see {@link https://developers.binance.com/docs/simple_earn/account/Get-Locked-Personal-Left-Quota Binance API Documentation}
2436
+ */
2437
+ getLockedPersonalLeftQuota(requestParameters: GetLockedPersonalLeftQuotaRequest): Promise<RestApiResponse<GetLockedPersonalLeftQuotaResponse>>;
2438
+ /**
2439
+ * Get Locked Product Position
2440
+ *
2441
+ * Weight: 150
2442
+ *
2443
+ * @summary Get Locked Product Position
2444
+ * @param {GetLockedProductPositionRequest} requestParameters Request parameters.
2445
+ * @returns {Promise<RestApiResponse<GetLockedProductPositionResponse>>}
2446
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2447
+ * @memberof AccountApi
2448
+ * @see {@link https://developers.binance.com/docs/simple_earn/account/Get-Locked-Product-Position Binance API Documentation}
2449
+ */
2450
+ getLockedProductPosition(requestParameters?: GetLockedProductPositionRequest): Promise<RestApiResponse<GetLockedProductPositionResponse>>;
2451
+ /**
2452
+ * Get available Simple Earn flexible product list
2453
+ *
2454
+ * Weight: 150
2455
+ *
2456
+ * @summary Get Simple Earn Flexible Product List(USER_DATA)
2457
+ * @param {GetSimpleEarnFlexibleProductListRequest} requestParameters Request parameters.
2458
+ * @returns {Promise<RestApiResponse<GetSimpleEarnFlexibleProductListResponse>>}
2459
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2460
+ * @memberof AccountApi
2461
+ * @see {@link https://developers.binance.com/docs/simple_earn/account/Get-Simple-Earn-Flexible-Product-List Binance API Documentation}
2462
+ */
2463
+ getSimpleEarnFlexibleProductList(requestParameters?: GetSimpleEarnFlexibleProductListRequest): Promise<RestApiResponse<GetSimpleEarnFlexibleProductListResponse>>;
2464
+ /**
2465
+ * Get Simple Earn Locked Product List
2466
+ *
2467
+ * Get available Simple Earn locked product list
2468
+ *
2469
+ * Weight: 150
2470
+ *
2471
+ * @summary Get Simple Earn Locked Product List(USER_DATA)
2472
+ * @param {GetSimpleEarnLockedProductListRequest} requestParameters Request parameters.
2473
+ * @returns {Promise<RestApiResponse<GetSimpleEarnLockedProductListResponse>>}
2474
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2475
+ * @memberof AccountApi
2476
+ * @see {@link https://developers.binance.com/docs/simple_earn/account/Get-Simple-Earn-Locked-Product-List Binance API Documentation}
2477
+ */
2478
+ getSimpleEarnLockedProductList(requestParameters?: GetSimpleEarnLockedProductListRequest): Promise<RestApiResponse<GetSimpleEarnLockedProductListResponse>>;
2479
+ /**
2480
+ * Simple Account query
2481
+ *
2482
+ * Weight: 150
2483
+ *
2484
+ * @summary Simple Account(USER_DATA)
2485
+ * @param {SimpleAccountRequest} requestParameters Request parameters.
2486
+ * @returns {Promise<RestApiResponse<SimpleAccountResponse>>}
2487
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2488
+ * @memberof AccountApi
2489
+ * @see {@link https://developers.binance.com/docs/simple_earn/account/Simple-Account Binance API Documentation}
2490
+ */
2491
+ simpleAccount(requestParameters?: SimpleAccountRequest): Promise<RestApiResponse<SimpleAccountResponse>>;
2492
+ }
2493
+
2494
+ /**
2495
+ * Binance Public Simple Earn REST API
2496
+ *
2497
+ * OpenAPI Specification for the Binance Public Simple Earn REST API
2498
+ *
2499
+ * The version of the OpenAPI document: 1.0.0
2500
+ *
2501
+ *
2502
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2503
+ * https://openapi-generator.tech
2504
+ * Do not edit the class manually.
2505
+ */
2506
+
2507
+ /**
2508
+ * EarnApi - interface
2509
+ * @interface EarnApi
2510
+ */
2511
+ interface EarnApiInterface {
2512
+ /**
2513
+ * Get Flexible Subscription Preview
2514
+ *
2515
+ * Weight: 150
2516
+ *
2517
+ * @summary Get Flexible Subscription Preview(USER_DATA)
2518
+ * @param {GetFlexibleSubscriptionPreviewRequest} requestParameters Request parameters.
2519
+ *
2520
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2521
+ * @memberof EarnApiInterface
2522
+ */
2523
+ getFlexibleSubscriptionPreview(requestParameters: GetFlexibleSubscriptionPreviewRequest): Promise<RestApiResponse<GetFlexibleSubscriptionPreviewResponse>>;
2524
+ /**
2525
+ * Get Locked Subscription Preview
2526
+ *
2527
+ * Weight: 150
2528
+ *
2529
+ * @summary Get Locked Subscription Preview(USER_DATA)
2530
+ * @param {GetLockedSubscriptionPreviewRequest} requestParameters Request parameters.
2531
+ *
2532
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2533
+ * @memberof EarnApiInterface
2534
+ */
2535
+ getLockedSubscriptionPreview(requestParameters: GetLockedSubscriptionPreviewRequest): Promise<RestApiResponse<GetLockedSubscriptionPreviewResponse>>;
2536
+ /**
2537
+ * Redeem Flexible Product
2538
+ *
2539
+ * You need to open `Enable Spot & Margin Trading` permission for the API Key which requests this endpoint.
2540
+ *
2541
+ * Weight: 1
2542
+ *
2543
+ * @summary Redeem Flexible Product(TRADE)
2544
+ * @param {RedeemFlexibleProductRequest} requestParameters Request parameters.
2545
+ *
2546
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2547
+ * @memberof EarnApiInterface
2548
+ */
2549
+ redeemFlexibleProduct(requestParameters: RedeemFlexibleProductRequest): Promise<RestApiResponse<RedeemFlexibleProductResponse>>;
2550
+ /**
2551
+ * Redeem Locked Product
2552
+ *
2553
+ * You need to open `Enable Spot & Margin Trading` permission for the API Key which requests this endpoint.
2554
+ *
2555
+ * Weight: 1/3s per account
2556
+ *
2557
+ * @summary Redeem Locked Product(TRADE)
2558
+ * @param {RedeemLockedProductRequest} requestParameters Request parameters.
2559
+ *
2560
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2561
+ * @memberof EarnApiInterface
2562
+ */
2563
+ redeemLockedProduct(requestParameters: RedeemLockedProductRequest): Promise<RestApiResponse<RedeemLockedProductResponse>>;
2564
+ /**
2565
+ * Set Flexible Auto Subscribe
2566
+ *
2567
+ * Weight: 150
2568
+ *
2569
+ * @summary Set Flexible Auto Subscribe(USER_DATA)
2570
+ * @param {SetFlexibleAutoSubscribeRequest} requestParameters Request parameters.
2571
+ *
2572
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2573
+ * @memberof EarnApiInterface
2574
+ */
2575
+ setFlexibleAutoSubscribe(requestParameters: SetFlexibleAutoSubscribeRequest): Promise<RestApiResponse<SetFlexibleAutoSubscribeResponse>>;
2576
+ /**
2577
+ * Set locked auto subscribe
2578
+ *
2579
+ * Weight: 150
2580
+ *
2581
+ * @summary Set Locked Auto Subscribe(USER_DATA)
2582
+ * @param {SetLockedAutoSubscribeRequest} requestParameters Request parameters.
2583
+ *
2584
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2585
+ * @memberof EarnApiInterface
2586
+ */
2587
+ setLockedAutoSubscribe(requestParameters: SetLockedAutoSubscribeRequest): Promise<RestApiResponse<SetLockedAutoSubscribeResponse>>;
2588
+ /**
2589
+ * Set redeem option for Locked product
2590
+ *
2591
+ * Weight: 50
2592
+ *
2593
+ * @summary Set Locked Product Redeem Option(USER_DATA)
2594
+ * @param {SetLockedProductRedeemOptionRequest} requestParameters Request parameters.
2595
+ *
2596
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2597
+ * @memberof EarnApiInterface
2598
+ */
2599
+ setLockedProductRedeemOption(requestParameters: SetLockedProductRedeemOptionRequest): Promise<RestApiResponse<SetLockedProductRedeemOptionResponse>>;
2600
+ /**
2601
+ * Subscribe Flexible Product
2602
+ *
2603
+ * You need to open `Enable Spot & Margin Trading` permission for the API Key which requests this endpoint.
2604
+ *
2605
+ * Weight: 1
2606
+ *
2607
+ * @summary Subscribe Flexible Product(TRADE)
2608
+ * @param {SubscribeFlexibleProductRequest} requestParameters Request parameters.
2609
+ *
2610
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2611
+ * @memberof EarnApiInterface
2612
+ */
2613
+ subscribeFlexibleProduct(requestParameters: SubscribeFlexibleProductRequest): Promise<RestApiResponse<SubscribeFlexibleProductResponse>>;
2614
+ /**
2615
+ * Subscribe Locked Product
2616
+ *
2617
+ * You need to open `Enable Spot & Margin Trading` permission for the API Key which requests this endpoint.
2618
+ *
2619
+ * Weight: 1
2620
+ *
2621
+ * @summary Subscribe Locked Product(TRADE)
2622
+ * @param {SubscribeLockedProductRequest} requestParameters Request parameters.
2623
+ *
2624
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2625
+ * @memberof EarnApiInterface
2626
+ */
2627
+ subscribeLockedProduct(requestParameters: SubscribeLockedProductRequest): Promise<RestApiResponse<SubscribeLockedProductResponse>>;
2628
+ }
2629
+ /**
2630
+ * Request parameters for getFlexibleSubscriptionPreview operation in EarnApi.
2631
+ * @interface GetFlexibleSubscriptionPreviewRequest
2632
+ */
2633
+ interface GetFlexibleSubscriptionPreviewRequest {
2634
+ /**
2635
+ *
2636
+ * @type {string}
2637
+ * @memberof EarnApiGetFlexibleSubscriptionPreview
2638
+ */
2639
+ readonly productId: string;
2640
+ /**
2641
+ *
2642
+ * @type {number}
2643
+ * @memberof EarnApiGetFlexibleSubscriptionPreview
2644
+ */
2645
+ readonly amount: number;
2646
+ /**
2647
+ *
2648
+ * @type {number}
2649
+ * @memberof EarnApiGetFlexibleSubscriptionPreview
2650
+ */
2651
+ readonly recvWindow?: number;
2652
+ }
2653
+ /**
2654
+ * Request parameters for getLockedSubscriptionPreview operation in EarnApi.
2655
+ * @interface GetLockedSubscriptionPreviewRequest
2656
+ */
2657
+ interface GetLockedSubscriptionPreviewRequest {
2658
+ /**
2659
+ *
2660
+ * @type {string}
2661
+ * @memberof EarnApiGetLockedSubscriptionPreview
2662
+ */
2663
+ readonly projectId: string;
2664
+ /**
2665
+ *
2666
+ * @type {number}
2667
+ * @memberof EarnApiGetLockedSubscriptionPreview
2668
+ */
2669
+ readonly amount: number;
2670
+ /**
2671
+ * true or false, default true.
2672
+ * @type {boolean}
2673
+ * @memberof EarnApiGetLockedSubscriptionPreview
2674
+ */
2675
+ readonly autoSubscribe?: boolean;
2676
+ /**
2677
+ *
2678
+ * @type {number}
2679
+ * @memberof EarnApiGetLockedSubscriptionPreview
2680
+ */
2681
+ readonly recvWindow?: number;
2682
+ }
2683
+ /**
2684
+ * Request parameters for redeemFlexibleProduct operation in EarnApi.
2685
+ * @interface RedeemFlexibleProductRequest
2686
+ */
2687
+ interface RedeemFlexibleProductRequest {
2688
+ /**
2689
+ *
2690
+ * @type {string}
2691
+ * @memberof EarnApiRedeemFlexibleProduct
2692
+ */
2693
+ readonly productId: string;
2694
+ /**
2695
+ * true or false, default to false
2696
+ * @type {boolean}
2697
+ * @memberof EarnApiRedeemFlexibleProduct
2698
+ */
2699
+ readonly redeemAll?: boolean;
2700
+ /**
2701
+ * if redeemAll is false, amount is mandatory
2702
+ * @type {number}
2703
+ * @memberof EarnApiRedeemFlexibleProduct
2704
+ */
2705
+ readonly amount?: number;
2706
+ /**
2707
+ * `SPOT`,`FUND`, default `SPOT`
2708
+ * @type {string}
2709
+ * @memberof EarnApiRedeemFlexibleProduct
2710
+ */
2711
+ readonly destAccount?: string;
2712
+ /**
2713
+ *
2714
+ * @type {number}
2715
+ * @memberof EarnApiRedeemFlexibleProduct
2716
+ */
2717
+ readonly recvWindow?: number;
2718
+ }
2719
+ /**
2720
+ * Request parameters for redeemLockedProduct operation in EarnApi.
2721
+ * @interface RedeemLockedProductRequest
2722
+ */
2723
+ interface RedeemLockedProductRequest {
2724
+ /**
2725
+ *
2726
+ * @type {string}
2727
+ * @memberof EarnApiRedeemLockedProduct
2728
+ */
2729
+ readonly positionId: string;
2730
+ /**
2731
+ *
2732
+ * @type {number}
2733
+ * @memberof EarnApiRedeemLockedProduct
2734
+ */
2735
+ readonly recvWindow?: number;
2736
+ }
2737
+ /**
2738
+ * Request parameters for setFlexibleAutoSubscribe operation in EarnApi.
2739
+ * @interface SetFlexibleAutoSubscribeRequest
2740
+ */
2741
+ interface SetFlexibleAutoSubscribeRequest {
2742
+ /**
2743
+ *
2744
+ * @type {string}
2745
+ * @memberof EarnApiSetFlexibleAutoSubscribe
2746
+ */
2747
+ readonly productId: string;
2748
+ /**
2749
+ * true or false
2750
+ * @type {boolean}
2751
+ * @memberof EarnApiSetFlexibleAutoSubscribe
2752
+ */
2753
+ readonly autoSubscribe: boolean;
2754
+ /**
2755
+ *
2756
+ * @type {number}
2757
+ * @memberof EarnApiSetFlexibleAutoSubscribe
2758
+ */
2759
+ readonly recvWindow?: number;
2760
+ }
2761
+ /**
2762
+ * Request parameters for setLockedAutoSubscribe operation in EarnApi.
2763
+ * @interface SetLockedAutoSubscribeRequest
2764
+ */
2765
+ interface SetLockedAutoSubscribeRequest {
2766
+ /**
2767
+ *
2768
+ * @type {string}
2769
+ * @memberof EarnApiSetLockedAutoSubscribe
2770
+ */
2771
+ readonly positionId: string;
2772
+ /**
2773
+ * true or false
2774
+ * @type {boolean}
2775
+ * @memberof EarnApiSetLockedAutoSubscribe
2776
+ */
2777
+ readonly autoSubscribe: boolean;
2778
+ /**
2779
+ *
2780
+ * @type {number}
2781
+ * @memberof EarnApiSetLockedAutoSubscribe
2782
+ */
2783
+ readonly recvWindow?: number;
2784
+ }
2785
+ /**
2786
+ * Request parameters for setLockedProductRedeemOption operation in EarnApi.
2787
+ * @interface SetLockedProductRedeemOptionRequest
2788
+ */
2789
+ interface SetLockedProductRedeemOptionRequest {
2790
+ /**
2791
+ *
2792
+ * @type {string}
2793
+ * @memberof EarnApiSetLockedProductRedeemOption
2794
+ */
2795
+ readonly positionId: string;
2796
+ /**
2797
+ * `SPOT`,'FLEXIBLE'
2798
+ * @type {string}
2799
+ * @memberof EarnApiSetLockedProductRedeemOption
2800
+ */
2801
+ readonly redeemTo: string;
2802
+ /**
2803
+ *
2804
+ * @type {number}
2805
+ * @memberof EarnApiSetLockedProductRedeemOption
2806
+ */
2807
+ readonly recvWindow?: number;
2808
+ }
2809
+ /**
2810
+ * Request parameters for subscribeFlexibleProduct operation in EarnApi.
2811
+ * @interface SubscribeFlexibleProductRequest
2812
+ */
2813
+ interface SubscribeFlexibleProductRequest {
2814
+ /**
2815
+ *
2816
+ * @type {string}
2817
+ * @memberof EarnApiSubscribeFlexibleProduct
2818
+ */
2819
+ readonly productId: string;
2820
+ /**
2821
+ *
2822
+ * @type {number}
2823
+ * @memberof EarnApiSubscribeFlexibleProduct
2824
+ */
2825
+ readonly amount: number;
2826
+ /**
2827
+ * true or false, default true.
2828
+ * @type {boolean}
2829
+ * @memberof EarnApiSubscribeFlexibleProduct
2830
+ */
2831
+ readonly autoSubscribe?: boolean;
2832
+ /**
2833
+ * `SPOT`,`FUND`,`ALL`, default `SPOT`
2834
+ * @type {string}
2835
+ * @memberof EarnApiSubscribeFlexibleProduct
2836
+ */
2837
+ readonly sourceAccount?: string;
2838
+ /**
2839
+ *
2840
+ * @type {number}
2841
+ * @memberof EarnApiSubscribeFlexibleProduct
2842
+ */
2843
+ readonly recvWindow?: number;
2844
+ }
2845
+ /**
2846
+ * Request parameters for subscribeLockedProduct operation in EarnApi.
2847
+ * @interface SubscribeLockedProductRequest
2848
+ */
2849
+ interface SubscribeLockedProductRequest {
2850
+ /**
2851
+ *
2852
+ * @type {string}
2853
+ * @memberof EarnApiSubscribeLockedProduct
2854
+ */
2855
+ readonly projectId: string;
2856
+ /**
2857
+ *
2858
+ * @type {number}
2859
+ * @memberof EarnApiSubscribeLockedProduct
2860
+ */
2861
+ readonly amount: number;
2862
+ /**
2863
+ * true or false, default true.
2864
+ * @type {boolean}
2865
+ * @memberof EarnApiSubscribeLockedProduct
2866
+ */
2867
+ readonly autoSubscribe?: boolean;
2868
+ /**
2869
+ * `SPOT`,`FUND`,`ALL`, default `SPOT`
2870
+ * @type {string}
2871
+ * @memberof EarnApiSubscribeLockedProduct
2872
+ */
2873
+ readonly sourceAccount?: string;
2874
+ /**
2875
+ * `SPOT`,`FLEXIBLE`, default `FLEXIBLE`
2876
+ * @type {string}
2877
+ * @memberof EarnApiSubscribeLockedProduct
2878
+ */
2879
+ readonly redeemTo?: string;
2880
+ /**
2881
+ *
2882
+ * @type {number}
2883
+ * @memberof EarnApiSubscribeLockedProduct
2884
+ */
2885
+ readonly recvWindow?: number;
2886
+ }
2887
+ /**
2888
+ * EarnApi - object-oriented interface
2889
+ * @class EarnApi
2890
+ */
2891
+ declare class EarnApi implements EarnApiInterface {
2892
+ private readonly configuration;
2893
+ private localVarAxiosParamCreator;
2894
+ constructor(configuration: ConfigurationRestAPI);
2895
+ /**
2896
+ * Get Flexible Subscription Preview
2897
+ *
2898
+ * Weight: 150
2899
+ *
2900
+ * @summary Get Flexible Subscription Preview(USER_DATA)
2901
+ * @param {GetFlexibleSubscriptionPreviewRequest} requestParameters Request parameters.
2902
+ * @returns {Promise<RestApiResponse<GetFlexibleSubscriptionPreviewResponse>>}
2903
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2904
+ * @memberof EarnApi
2905
+ * @see {@link https://developers.binance.com/docs/simple_earn/earn/Get-Flexible-Subscription-Preview Binance API Documentation}
2906
+ */
2907
+ getFlexibleSubscriptionPreview(requestParameters: GetFlexibleSubscriptionPreviewRequest): Promise<RestApiResponse<GetFlexibleSubscriptionPreviewResponse>>;
2908
+ /**
2909
+ * Get Locked Subscription Preview
2910
+ *
2911
+ * Weight: 150
2912
+ *
2913
+ * @summary Get Locked Subscription Preview(USER_DATA)
2914
+ * @param {GetLockedSubscriptionPreviewRequest} requestParameters Request parameters.
2915
+ * @returns {Promise<RestApiResponse<GetLockedSubscriptionPreviewResponse>>}
2916
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2917
+ * @memberof EarnApi
2918
+ * @see {@link https://developers.binance.com/docs/simple_earn/earn/Get-Locked-Subscription-Preview Binance API Documentation}
2919
+ */
2920
+ getLockedSubscriptionPreview(requestParameters: GetLockedSubscriptionPreviewRequest): Promise<RestApiResponse<GetLockedSubscriptionPreviewResponse>>;
2921
+ /**
2922
+ * Redeem Flexible Product
2923
+ *
2924
+ * You need to open `Enable Spot & Margin Trading` permission for the API Key which requests this endpoint.
2925
+ *
2926
+ * Weight: 1
2927
+ *
2928
+ * @summary Redeem Flexible Product(TRADE)
2929
+ * @param {RedeemFlexibleProductRequest} requestParameters Request parameters.
2930
+ * @returns {Promise<RestApiResponse<RedeemFlexibleProductResponse>>}
2931
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2932
+ * @memberof EarnApi
2933
+ * @see {@link https://developers.binance.com/docs/simple_earn/earn/Redeem-Flexible-Product Binance API Documentation}
2934
+ */
2935
+ redeemFlexibleProduct(requestParameters: RedeemFlexibleProductRequest): Promise<RestApiResponse<RedeemFlexibleProductResponse>>;
2936
+ /**
2937
+ * Redeem Locked Product
2938
+ *
2939
+ * You need to open `Enable Spot & Margin Trading` permission for the API Key which requests this endpoint.
2940
+ *
2941
+ * Weight: 1/3s per account
2942
+ *
2943
+ * @summary Redeem Locked Product(TRADE)
2944
+ * @param {RedeemLockedProductRequest} requestParameters Request parameters.
2945
+ * @returns {Promise<RestApiResponse<RedeemLockedProductResponse>>}
2946
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2947
+ * @memberof EarnApi
2948
+ * @see {@link https://developers.binance.com/docs/simple_earn/earn/Redeem-Locked-Product Binance API Documentation}
2949
+ */
2950
+ redeemLockedProduct(requestParameters: RedeemLockedProductRequest): Promise<RestApiResponse<RedeemLockedProductResponse>>;
2951
+ /**
2952
+ * Set Flexible Auto Subscribe
2953
+ *
2954
+ * Weight: 150
2955
+ *
2956
+ * @summary Set Flexible Auto Subscribe(USER_DATA)
2957
+ * @param {SetFlexibleAutoSubscribeRequest} requestParameters Request parameters.
2958
+ * @returns {Promise<RestApiResponse<SetFlexibleAutoSubscribeResponse>>}
2959
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2960
+ * @memberof EarnApi
2961
+ * @see {@link https://developers.binance.com/docs/simple_earn/earn/Set-Flexible-Auto-Subscribe Binance API Documentation}
2962
+ */
2963
+ setFlexibleAutoSubscribe(requestParameters: SetFlexibleAutoSubscribeRequest): Promise<RestApiResponse<SetFlexibleAutoSubscribeResponse>>;
2964
+ /**
2965
+ * Set locked auto subscribe
2966
+ *
2967
+ * Weight: 150
2968
+ *
2969
+ * @summary Set Locked Auto Subscribe(USER_DATA)
2970
+ * @param {SetLockedAutoSubscribeRequest} requestParameters Request parameters.
2971
+ * @returns {Promise<RestApiResponse<SetLockedAutoSubscribeResponse>>}
2972
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2973
+ * @memberof EarnApi
2974
+ * @see {@link https://developers.binance.com/docs/simple_earn/earn/Set-Locked-Auto-Subscribe Binance API Documentation}
2975
+ */
2976
+ setLockedAutoSubscribe(requestParameters: SetLockedAutoSubscribeRequest): Promise<RestApiResponse<SetLockedAutoSubscribeResponse>>;
2977
+ /**
2978
+ * Set redeem option for Locked product
2979
+ *
2980
+ * Weight: 50
2981
+ *
2982
+ * @summary Set Locked Product Redeem Option(USER_DATA)
2983
+ * @param {SetLockedProductRedeemOptionRequest} requestParameters Request parameters.
2984
+ * @returns {Promise<RestApiResponse<SetLockedProductRedeemOptionResponse>>}
2985
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2986
+ * @memberof EarnApi
2987
+ * @see {@link https://developers.binance.com/docs/simple_earn/earn/Set-Locked-Redeem-Option Binance API Documentation}
2988
+ */
2989
+ setLockedProductRedeemOption(requestParameters: SetLockedProductRedeemOptionRequest): Promise<RestApiResponse<SetLockedProductRedeemOptionResponse>>;
2990
+ /**
2991
+ * Subscribe Flexible Product
2992
+ *
2993
+ * You need to open `Enable Spot & Margin Trading` permission for the API Key which requests this endpoint.
2994
+ *
2995
+ * Weight: 1
2996
+ *
2997
+ * @summary Subscribe Flexible Product(TRADE)
2998
+ * @param {SubscribeFlexibleProductRequest} requestParameters Request parameters.
2999
+ * @returns {Promise<RestApiResponse<SubscribeFlexibleProductResponse>>}
3000
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3001
+ * @memberof EarnApi
3002
+ * @see {@link https://developers.binance.com/docs/simple_earn/earn/Subscribe-Flexible-Product Binance API Documentation}
3003
+ */
3004
+ subscribeFlexibleProduct(requestParameters: SubscribeFlexibleProductRequest): Promise<RestApiResponse<SubscribeFlexibleProductResponse>>;
3005
+ /**
3006
+ * Subscribe Locked Product
3007
+ *
3008
+ * You need to open `Enable Spot & Margin Trading` permission for the API Key which requests this endpoint.
3009
+ *
3010
+ * Weight: 1
3011
+ *
3012
+ * @summary Subscribe Locked Product(TRADE)
3013
+ * @param {SubscribeLockedProductRequest} requestParameters Request parameters.
3014
+ * @returns {Promise<RestApiResponse<SubscribeLockedProductResponse>>}
3015
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3016
+ * @memberof EarnApi
3017
+ * @see {@link https://developers.binance.com/docs/simple_earn/earn/Subscribe-Locked-Product Binance API Documentation}
3018
+ */
3019
+ subscribeLockedProduct(requestParameters: SubscribeLockedProductRequest): Promise<RestApiResponse<SubscribeLockedProductResponse>>;
3020
+ }
3021
+
3022
+ /**
3023
+ * Binance Public Simple Earn REST API
3024
+ *
3025
+ * OpenAPI Specification for the Binance Public Simple Earn REST API
3026
+ *
3027
+ * The version of the OpenAPI document: 1.0.0
3028
+ *
3029
+ *
3030
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3031
+ * https://openapi-generator.tech
3032
+ * Do not edit the class manually.
3033
+ */
3034
+
3035
+ /**
3036
+ * HistoryApi - interface
3037
+ * @interface HistoryApi
3038
+ */
3039
+ interface HistoryApiInterface {
3040
+ /**
3041
+ * Get Collateral Record
3042
+ *
3043
+ * The time between `startTime` and `endTime` cannot be longer than 30 days.
3044
+ * If `startTime` and `endTime` are both not sent, then the last 30 days' data will be returned.
3045
+ * If `startTime` is sent but `endTime` is not sent, the next 30 days' data beginning from `startTime` will be returned.
3046
+ * If `endTime` is sent but `startTime` is not sent, the 30 days' data before `endTime` will be returned.
3047
+ *
3048
+ * Weight: 1
3049
+ *
3050
+ * @summary Get Collateral Record(USER_DATA)
3051
+ * @param {GetCollateralRecordRequest} requestParameters Request parameters.
3052
+ *
3053
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3054
+ * @memberof HistoryApiInterface
3055
+ */
3056
+ getCollateralRecord(requestParameters?: GetCollateralRecordRequest): Promise<RestApiResponse<GetCollateralRecordResponse>>;
3057
+ /**
3058
+ * Get Flexible Redemption Record
3059
+ *
3060
+ * The time between `startTime` and `endTime` cannot be longer than 3 months.
3061
+ * If `startTime` and `endTime` are both not sent, then the last 30 days' data will be returned.
3062
+ * If `startTime` is sent but `endTime` is not sent, the next 30 days' data beginning from `startTime` will be returned.
3063
+ * If `endTime` is sent but `startTime` is not sent, the 30 days' data before `endTime` will be returned.
3064
+ *
3065
+ * Weight: 150
3066
+ *
3067
+ * @summary Get Flexible Redemption Record(USER_DATA)
3068
+ * @param {GetFlexibleRedemptionRecordRequest} requestParameters Request parameters.
3069
+ *
3070
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3071
+ * @memberof HistoryApiInterface
3072
+ */
3073
+ getFlexibleRedemptionRecord(requestParameters?: GetFlexibleRedemptionRecordRequest): Promise<RestApiResponse<GetFlexibleRedemptionRecordResponse>>;
3074
+ /**
3075
+ * Get Flexible Rewards History
3076
+ *
3077
+ * The time between `startTime` and `endTime` cannot be longer than 3 months.
3078
+ * If `startTime` and `endTime` are both not sent, then the last 30 days' data will be returned.
3079
+ * If `startTime` is sent but `endTime` is not sent, the next 30 days' data beginning from `startTime` will be returned.
3080
+ * If `endTime` is sent but `startTime` is not sent, the 30 days' data before `endTime` will be returned.
3081
+ *
3082
+ * Weight: 150
3083
+ *
3084
+ * @summary Get Flexible Rewards History(USER_DATA)
3085
+ * @param {GetFlexibleRewardsHistoryRequest} requestParameters Request parameters.
3086
+ *
3087
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3088
+ * @memberof HistoryApiInterface
3089
+ */
3090
+ getFlexibleRewardsHistory(requestParameters: GetFlexibleRewardsHistoryRequest): Promise<RestApiResponse<GetFlexibleRewardsHistoryResponse>>;
3091
+ /**
3092
+ * Get Flexible Subscription Record
3093
+ *
3094
+ * The time between `startTime` and `endTime` cannot be longer than 3 months.
3095
+ * If `startTime` and `endTime` are both not sent, then the last 30 days' data will be returned.
3096
+ * If `startTime` is sent but `endTime` is not sent, the next 30 days' data beginning from `startTime` will be returned.
3097
+ * If `endTime` is sent but `startTime` is not sent, the 30 days' data before `endTime` will be returned.
3098
+ *
3099
+ * Weight: 150
3100
+ *
3101
+ * @summary Get Flexible Subscription Record(USER_DATA)
3102
+ * @param {GetFlexibleSubscriptionRecordRequest} requestParameters Request parameters.
3103
+ *
3104
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3105
+ * @memberof HistoryApiInterface
3106
+ */
3107
+ getFlexibleSubscriptionRecord(requestParameters?: GetFlexibleSubscriptionRecordRequest): Promise<RestApiResponse<GetFlexibleSubscriptionRecordResponse>>;
3108
+ /**
3109
+ * Get Locked Redemption Record
3110
+ *
3111
+ * The time between `startTime` and `endTime` cannot be longer than 3 months.
3112
+ * If `startTime` and `endTime` are both not sent, then the last 30 days' data will be returned.
3113
+ * If `startTime` is sent but `endTime` is not sent, the next 30 days' data beginning from `startTime` will be returned.
3114
+ * If `endTime` is sent but `startTime` is not sent, the 30 days' data before `endTime` will be returned.
3115
+ *
3116
+ * Weight: 150
3117
+ *
3118
+ * @summary Get Locked Redemption Record(USER_DATA)
3119
+ * @param {GetLockedRedemptionRecordRequest} requestParameters Request parameters.
3120
+ *
3121
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3122
+ * @memberof HistoryApiInterface
3123
+ */
3124
+ getLockedRedemptionRecord(requestParameters?: GetLockedRedemptionRecordRequest): Promise<RestApiResponse<GetLockedRedemptionRecordResponse>>;
3125
+ /**
3126
+ * Get Locked Rewards History
3127
+ *
3128
+ * The time between `startTime` and `endTime` cannot be longer than 3 months.
3129
+ * If `startTime` and `endTime` are both not sent, then the last 30 days' data will be returned.
3130
+ * If `startTime` is sent but `endTime` is not sent, the next 30 days' data beginning from `startTime` will be returned.
3131
+ * If `endTime` is sent but `startTime` is not sent, the 30 days' data before `endTime` will be returned.
3132
+ *
3133
+ * Weight: 150
3134
+ *
3135
+ * @summary Get Locked Rewards History(USER_DATA)
3136
+ * @param {GetLockedRewardsHistoryRequest} requestParameters Request parameters.
3137
+ *
3138
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3139
+ * @memberof HistoryApiInterface
3140
+ */
3141
+ getLockedRewardsHistory(requestParameters?: GetLockedRewardsHistoryRequest): Promise<RestApiResponse<GetLockedRewardsHistoryResponse>>;
3142
+ /**
3143
+ * Get Locked Subscription Record
3144
+ *
3145
+ * The time between `startTime` and `endTime` cannot be longer than 3 months.
3146
+ * If `startTime` and `endTime` are both not sent, then the last 30 days' data will be returned.
3147
+ * If `startTime` is sent but `endTime` is not sent, the next 30 days' data beginning from `startTime` will be returned.
3148
+ * If `endTime` is sent but `startTime` is not sent, the 30 days' data before `endTime` will be returned.
3149
+ *
3150
+ * Weight: 150
3151
+ *
3152
+ * @summary Get Locked Subscription Record(USER_DATA)
3153
+ * @param {GetLockedSubscriptionRecordRequest} requestParameters Request parameters.
3154
+ *
3155
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3156
+ * @memberof HistoryApiInterface
3157
+ */
3158
+ getLockedSubscriptionRecord(requestParameters?: GetLockedSubscriptionRecordRequest): Promise<RestApiResponse<GetLockedSubscriptionRecordResponse>>;
3159
+ /**
3160
+ * Get Rate History
3161
+ *
3162
+ * The time between startTime and endTime cannot be longer than 1 year.
3163
+ * If `startTime` and `endTime` are both not sent, then the last 30 days' data will be returned.
3164
+ * If `startTime` is sent but `endTime` is not sent, the next 30 days' data beginning from `startTime` will be returned.
3165
+ * If `endTime` is sent but `startTime` is not sent, the 30 days' data before `endTime` will be returned.
3166
+ *
3167
+ * Weight: 150
3168
+ *
3169
+ * @summary Get Rate History(USER_DATA)
3170
+ * @param {GetRateHistoryRequest} requestParameters Request parameters.
3171
+ *
3172
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3173
+ * @memberof HistoryApiInterface
3174
+ */
3175
+ getRateHistory(requestParameters: GetRateHistoryRequest): Promise<RestApiResponse<GetRateHistoryResponse>>;
3176
+ }
3177
+ /**
3178
+ * Request parameters for getCollateralRecord operation in HistoryApi.
3179
+ * @interface GetCollateralRecordRequest
3180
+ */
3181
+ interface GetCollateralRecordRequest {
3182
+ /**
3183
+ *
3184
+ * @type {string}
3185
+ * @memberof HistoryApiGetCollateralRecord
3186
+ */
3187
+ readonly productId?: string;
3188
+ /**
3189
+ *
3190
+ * @type {number}
3191
+ * @memberof HistoryApiGetCollateralRecord
3192
+ */
3193
+ readonly startTime?: number;
3194
+ /**
3195
+ *
3196
+ * @type {number}
3197
+ * @memberof HistoryApiGetCollateralRecord
3198
+ */
3199
+ readonly endTime?: number;
3200
+ /**
3201
+ * Currently querying the page. Start from 1. Default:1
3202
+ * @type {number}
3203
+ * @memberof HistoryApiGetCollateralRecord
3204
+ */
3205
+ readonly current?: number;
3206
+ /**
3207
+ * Default:10, Max:100
3208
+ * @type {number}
3209
+ * @memberof HistoryApiGetCollateralRecord
3210
+ */
3211
+ readonly size?: number;
3212
+ /**
3213
+ *
3214
+ * @type {number}
3215
+ * @memberof HistoryApiGetCollateralRecord
3216
+ */
3217
+ readonly recvWindow?: number;
3218
+ }
3219
+ /**
3220
+ * Request parameters for getFlexibleRedemptionRecord operation in HistoryApi.
3221
+ * @interface GetFlexibleRedemptionRecordRequest
3222
+ */
3223
+ interface GetFlexibleRedemptionRecordRequest {
3224
+ /**
3225
+ *
3226
+ * @type {string}
3227
+ * @memberof HistoryApiGetFlexibleRedemptionRecord
3228
+ */
3229
+ readonly productId?: string;
3230
+ /**
3231
+ *
3232
+ * @type {string}
3233
+ * @memberof HistoryApiGetFlexibleRedemptionRecord
3234
+ */
3235
+ readonly redeemId?: string;
3236
+ /**
3237
+ *
3238
+ * @type {string}
3239
+ * @memberof HistoryApiGetFlexibleRedemptionRecord
3240
+ */
3241
+ readonly asset?: string;
3242
+ /**
3243
+ *
3244
+ * @type {number}
3245
+ * @memberof HistoryApiGetFlexibleRedemptionRecord
3246
+ */
3247
+ readonly startTime?: number;
3248
+ /**
3249
+ *
3250
+ * @type {number}
3251
+ * @memberof HistoryApiGetFlexibleRedemptionRecord
3252
+ */
3253
+ readonly endTime?: number;
3254
+ /**
3255
+ * Currently querying the page. Start from 1. Default:1
3256
+ * @type {number}
3257
+ * @memberof HistoryApiGetFlexibleRedemptionRecord
3258
+ */
3259
+ readonly current?: number;
3260
+ /**
3261
+ * Default:10, Max:100
3262
+ * @type {number}
3263
+ * @memberof HistoryApiGetFlexibleRedemptionRecord
3264
+ */
3265
+ readonly size?: number;
3266
+ }
3267
+ /**
3268
+ * Request parameters for getFlexibleRewardsHistory operation in HistoryApi.
3269
+ * @interface GetFlexibleRewardsHistoryRequest
3270
+ */
3271
+ interface GetFlexibleRewardsHistoryRequest {
3272
+ /**
3273
+ * `Bonus` - Bonus tiered APR, `REALTIME` Real-time APR, `REWARDS` Historical rewards,`ALL`(set to default)
3274
+ * @type {string}
3275
+ * @memberof HistoryApiGetFlexibleRewardsHistory
3276
+ */
3277
+ readonly type: string;
3278
+ /**
3279
+ *
3280
+ * @type {string}
3281
+ * @memberof HistoryApiGetFlexibleRewardsHistory
3282
+ */
3283
+ readonly productId?: string;
3284
+ /**
3285
+ *
3286
+ * @type {string}
3287
+ * @memberof HistoryApiGetFlexibleRewardsHistory
3288
+ */
3289
+ readonly asset?: string;
3290
+ /**
3291
+ *
3292
+ * @type {number}
3293
+ * @memberof HistoryApiGetFlexibleRewardsHistory
3294
+ */
3295
+ readonly startTime?: number;
3296
+ /**
3297
+ *
3298
+ * @type {number}
3299
+ * @memberof HistoryApiGetFlexibleRewardsHistory
3300
+ */
3301
+ readonly endTime?: number;
3302
+ }
3303
+ /**
3304
+ * Request parameters for getFlexibleSubscriptionRecord operation in HistoryApi.
3305
+ * @interface GetFlexibleSubscriptionRecordRequest
3306
+ */
3307
+ interface GetFlexibleSubscriptionRecordRequest {
3308
+ /**
3309
+ *
3310
+ * @type {string}
3311
+ * @memberof HistoryApiGetFlexibleSubscriptionRecord
3312
+ */
3313
+ readonly productId?: string;
3314
+ /**
3315
+ *
3316
+ * @type {string}
3317
+ * @memberof HistoryApiGetFlexibleSubscriptionRecord
3318
+ */
3319
+ readonly purchaseId?: string;
3320
+ /**
3321
+ *
3322
+ * @type {string}
3323
+ * @memberof HistoryApiGetFlexibleSubscriptionRecord
3324
+ */
3325
+ readonly asset?: string;
3326
+ /**
3327
+ *
3328
+ * @type {number}
3329
+ * @memberof HistoryApiGetFlexibleSubscriptionRecord
3330
+ */
3331
+ readonly startTime?: number;
3332
+ /**
3333
+ *
3334
+ * @type {number}
3335
+ * @memberof HistoryApiGetFlexibleSubscriptionRecord
3336
+ */
3337
+ readonly endTime?: number;
3338
+ /**
3339
+ * Currently querying the page. Start from 1. Default:1
3340
+ * @type {number}
3341
+ * @memberof HistoryApiGetFlexibleSubscriptionRecord
3342
+ */
3343
+ readonly current?: number;
3344
+ /**
3345
+ * Default:10, Max:100
3346
+ * @type {number}
3347
+ * @memberof HistoryApiGetFlexibleSubscriptionRecord
3348
+ */
3349
+ readonly size?: number;
3350
+ /**
3351
+ *
3352
+ * @type {number}
3353
+ * @memberof HistoryApiGetFlexibleSubscriptionRecord
3354
+ */
3355
+ readonly recvWindow?: number;
3356
+ }
3357
+ /**
3358
+ * Request parameters for getLockedRedemptionRecord operation in HistoryApi.
3359
+ * @interface GetLockedRedemptionRecordRequest
3360
+ */
3361
+ interface GetLockedRedemptionRecordRequest {
3362
+ /**
3363
+ *
3364
+ * @type {number}
3365
+ * @memberof HistoryApiGetLockedRedemptionRecord
3366
+ */
3367
+ readonly positionId?: number;
3368
+ /**
3369
+ *
3370
+ * @type {string}
3371
+ * @memberof HistoryApiGetLockedRedemptionRecord
3372
+ */
3373
+ readonly redeemId?: string;
3374
+ /**
3375
+ *
3376
+ * @type {string}
3377
+ * @memberof HistoryApiGetLockedRedemptionRecord
3378
+ */
3379
+ readonly asset?: string;
3380
+ /**
3381
+ *
3382
+ * @type {number}
3383
+ * @memberof HistoryApiGetLockedRedemptionRecord
3384
+ */
3385
+ readonly startTime?: number;
3386
+ /**
3387
+ *
3388
+ * @type {number}
3389
+ * @memberof HistoryApiGetLockedRedemptionRecord
3390
+ */
3391
+ readonly endTime?: number;
3392
+ /**
3393
+ * Currently querying the page. Start from 1. Default:1
3394
+ * @type {number}
3395
+ * @memberof HistoryApiGetLockedRedemptionRecord
3396
+ */
3397
+ readonly current?: number;
3398
+ /**
3399
+ * Default:10, Max:100
3400
+ * @type {number}
3401
+ * @memberof HistoryApiGetLockedRedemptionRecord
3402
+ */
3403
+ readonly size?: number;
3404
+ /**
3405
+ *
3406
+ * @type {number}
3407
+ * @memberof HistoryApiGetLockedRedemptionRecord
3408
+ */
3409
+ readonly recvWindow?: number;
3410
+ }
3411
+ /**
3412
+ * Request parameters for getLockedRewardsHistory operation in HistoryApi.
3413
+ * @interface GetLockedRewardsHistoryRequest
3414
+ */
3415
+ interface GetLockedRewardsHistoryRequest {
3416
+ /**
3417
+ *
3418
+ * @type {number}
3419
+ * @memberof HistoryApiGetLockedRewardsHistory
3420
+ */
3421
+ readonly positionId?: number;
3422
+ /**
3423
+ *
3424
+ * @type {string}
3425
+ * @memberof HistoryApiGetLockedRewardsHistory
3426
+ */
3427
+ readonly asset?: string;
3428
+ /**
3429
+ *
3430
+ * @type {number}
3431
+ * @memberof HistoryApiGetLockedRewardsHistory
3432
+ */
3433
+ readonly startTime?: number;
3434
+ /**
3435
+ *
3436
+ * @type {number}
3437
+ * @memberof HistoryApiGetLockedRewardsHistory
3438
+ */
3439
+ readonly endTime?: number;
3440
+ /**
3441
+ * Currently querying the page. Start from 1. Default:1
3442
+ * @type {number}
3443
+ * @memberof HistoryApiGetLockedRewardsHistory
3444
+ */
3445
+ readonly current?: number;
3446
+ /**
3447
+ * Default:10, Max:100
3448
+ * @type {number}
3449
+ * @memberof HistoryApiGetLockedRewardsHistory
3450
+ */
3451
+ readonly size?: number;
3452
+ /**
3453
+ *
3454
+ * @type {number}
3455
+ * @memberof HistoryApiGetLockedRewardsHistory
3456
+ */
3457
+ readonly recvWindow?: number;
3458
+ }
3459
+ /**
3460
+ * Request parameters for getLockedSubscriptionRecord operation in HistoryApi.
3461
+ * @interface GetLockedSubscriptionRecordRequest
3462
+ */
3463
+ interface GetLockedSubscriptionRecordRequest {
3464
+ /**
3465
+ *
3466
+ * @type {string}
3467
+ * @memberof HistoryApiGetLockedSubscriptionRecord
3468
+ */
3469
+ readonly purchaseId?: string;
3470
+ /**
3471
+ *
3472
+ * @type {string}
3473
+ * @memberof HistoryApiGetLockedSubscriptionRecord
3474
+ */
3475
+ readonly asset?: string;
3476
+ /**
3477
+ *
3478
+ * @type {number}
3479
+ * @memberof HistoryApiGetLockedSubscriptionRecord
3480
+ */
3481
+ readonly startTime?: number;
3482
+ /**
3483
+ *
3484
+ * @type {number}
3485
+ * @memberof HistoryApiGetLockedSubscriptionRecord
3486
+ */
3487
+ readonly endTime?: number;
3488
+ /**
3489
+ * Currently querying the page. Start from 1. Default:1
3490
+ * @type {number}
3491
+ * @memberof HistoryApiGetLockedSubscriptionRecord
3492
+ */
3493
+ readonly current?: number;
3494
+ /**
3495
+ * Default:10, Max:100
3496
+ * @type {number}
3497
+ * @memberof HistoryApiGetLockedSubscriptionRecord
3498
+ */
3499
+ readonly size?: number;
3500
+ /**
3501
+ *
3502
+ * @type {number}
3503
+ * @memberof HistoryApiGetLockedSubscriptionRecord
3504
+ */
3505
+ readonly recvWindow?: number;
3506
+ }
3507
+ /**
3508
+ * Request parameters for getRateHistory operation in HistoryApi.
3509
+ * @interface GetRateHistoryRequest
3510
+ */
3511
+ interface GetRateHistoryRequest {
3512
+ /**
3513
+ *
3514
+ * @type {string}
3515
+ * @memberof HistoryApiGetRateHistory
3516
+ */
3517
+ readonly productId: string;
3518
+ /**
3519
+ * "DAY","YEAR",default"DAY"
3520
+ * @type {string}
3521
+ * @memberof HistoryApiGetRateHistory
3522
+ */
3523
+ readonly aprPeriod?: string;
3524
+ /**
3525
+ *
3526
+ * @type {number}
3527
+ * @memberof HistoryApiGetRateHistory
3528
+ */
3529
+ readonly startTime?: number;
3530
+ /**
3531
+ *
3532
+ * @type {number}
3533
+ * @memberof HistoryApiGetRateHistory
3534
+ */
3535
+ readonly endTime?: number;
3536
+ /**
3537
+ * Currently querying the page. Start from 1. Default:1
3538
+ * @type {number}
3539
+ * @memberof HistoryApiGetRateHistory
3540
+ */
3541
+ readonly current?: number;
3542
+ /**
3543
+ * Default:10, Max:100
3544
+ * @type {number}
3545
+ * @memberof HistoryApiGetRateHistory
3546
+ */
3547
+ readonly size?: number;
3548
+ /**
3549
+ *
3550
+ * @type {number}
3551
+ * @memberof HistoryApiGetRateHistory
3552
+ */
3553
+ readonly recvWindow?: number;
3554
+ }
3555
+ /**
3556
+ * HistoryApi - object-oriented interface
3557
+ * @class HistoryApi
3558
+ */
3559
+ declare class HistoryApi implements HistoryApiInterface {
3560
+ private readonly configuration;
3561
+ private localVarAxiosParamCreator;
3562
+ constructor(configuration: ConfigurationRestAPI);
3563
+ /**
3564
+ * Get Collateral Record
3565
+ *
3566
+ * The time between `startTime` and `endTime` cannot be longer than 30 days.
3567
+ * If `startTime` and `endTime` are both not sent, then the last 30 days' data will be returned.
3568
+ * If `startTime` is sent but `endTime` is not sent, the next 30 days' data beginning from `startTime` will be returned.
3569
+ * If `endTime` is sent but `startTime` is not sent, the 30 days' data before `endTime` will be returned.
3570
+ *
3571
+ * Weight: 1
3572
+ *
3573
+ * @summary Get Collateral Record(USER_DATA)
3574
+ * @param {GetCollateralRecordRequest} requestParameters Request parameters.
3575
+ * @returns {Promise<RestApiResponse<GetCollateralRecordResponse>>}
3576
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3577
+ * @memberof HistoryApi
3578
+ * @see {@link https://developers.binance.com/docs/simple_earn/history/Get-Collateral-Record Binance API Documentation}
3579
+ */
3580
+ getCollateralRecord(requestParameters?: GetCollateralRecordRequest): Promise<RestApiResponse<GetCollateralRecordResponse>>;
3581
+ /**
3582
+ * Get Flexible Redemption Record
3583
+ *
3584
+ * The time between `startTime` and `endTime` cannot be longer than 3 months.
3585
+ * If `startTime` and `endTime` are both not sent, then the last 30 days' data will be returned.
3586
+ * If `startTime` is sent but `endTime` is not sent, the next 30 days' data beginning from `startTime` will be returned.
3587
+ * If `endTime` is sent but `startTime` is not sent, the 30 days' data before `endTime` will be returned.
3588
+ *
3589
+ * Weight: 150
3590
+ *
3591
+ * @summary Get Flexible Redemption Record(USER_DATA)
3592
+ * @param {GetFlexibleRedemptionRecordRequest} requestParameters Request parameters.
3593
+ * @returns {Promise<RestApiResponse<GetFlexibleRedemptionRecordResponse>>}
3594
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3595
+ * @memberof HistoryApi
3596
+ * @see {@link https://developers.binance.com/docs/simple_earn/history/Get-Flexible-Redemption-Record Binance API Documentation}
3597
+ */
3598
+ getFlexibleRedemptionRecord(requestParameters?: GetFlexibleRedemptionRecordRequest): Promise<RestApiResponse<GetFlexibleRedemptionRecordResponse>>;
3599
+ /**
3600
+ * Get Flexible Rewards History
3601
+ *
3602
+ * The time between `startTime` and `endTime` cannot be longer than 3 months.
3603
+ * If `startTime` and `endTime` are both not sent, then the last 30 days' data will be returned.
3604
+ * If `startTime` is sent but `endTime` is not sent, the next 30 days' data beginning from `startTime` will be returned.
3605
+ * If `endTime` is sent but `startTime` is not sent, the 30 days' data before `endTime` will be returned.
3606
+ *
3607
+ * Weight: 150
3608
+ *
3609
+ * @summary Get Flexible Rewards History(USER_DATA)
3610
+ * @param {GetFlexibleRewardsHistoryRequest} requestParameters Request parameters.
3611
+ * @returns {Promise<RestApiResponse<GetFlexibleRewardsHistoryResponse>>}
3612
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3613
+ * @memberof HistoryApi
3614
+ * @see {@link https://developers.binance.com/docs/simple_earn/history/Get-Flexible-Rewards-History Binance API Documentation}
3615
+ */
3616
+ getFlexibleRewardsHistory(requestParameters: GetFlexibleRewardsHistoryRequest): Promise<RestApiResponse<GetFlexibleRewardsHistoryResponse>>;
3617
+ /**
3618
+ * Get Flexible Subscription Record
3619
+ *
3620
+ * The time between `startTime` and `endTime` cannot be longer than 3 months.
3621
+ * If `startTime` and `endTime` are both not sent, then the last 30 days' data will be returned.
3622
+ * If `startTime` is sent but `endTime` is not sent, the next 30 days' data beginning from `startTime` will be returned.
3623
+ * If `endTime` is sent but `startTime` is not sent, the 30 days' data before `endTime` will be returned.
3624
+ *
3625
+ * Weight: 150
3626
+ *
3627
+ * @summary Get Flexible Subscription Record(USER_DATA)
3628
+ * @param {GetFlexibleSubscriptionRecordRequest} requestParameters Request parameters.
3629
+ * @returns {Promise<RestApiResponse<GetFlexibleSubscriptionRecordResponse>>}
3630
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3631
+ * @memberof HistoryApi
3632
+ * @see {@link https://developers.binance.com/docs/simple_earn/history/Get-Flexible-Subscription-Record Binance API Documentation}
3633
+ */
3634
+ getFlexibleSubscriptionRecord(requestParameters?: GetFlexibleSubscriptionRecordRequest): Promise<RestApiResponse<GetFlexibleSubscriptionRecordResponse>>;
3635
+ /**
3636
+ * Get Locked Redemption Record
3637
+ *
3638
+ * The time between `startTime` and `endTime` cannot be longer than 3 months.
3639
+ * If `startTime` and `endTime` are both not sent, then the last 30 days' data will be returned.
3640
+ * If `startTime` is sent but `endTime` is not sent, the next 30 days' data beginning from `startTime` will be returned.
3641
+ * If `endTime` is sent but `startTime` is not sent, the 30 days' data before `endTime` will be returned.
3642
+ *
3643
+ * Weight: 150
3644
+ *
3645
+ * @summary Get Locked Redemption Record(USER_DATA)
3646
+ * @param {GetLockedRedemptionRecordRequest} requestParameters Request parameters.
3647
+ * @returns {Promise<RestApiResponse<GetLockedRedemptionRecordResponse>>}
3648
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3649
+ * @memberof HistoryApi
3650
+ * @see {@link https://developers.binance.com/docs/simple_earn/history/Get-Locked-Redemption-Record Binance API Documentation}
3651
+ */
3652
+ getLockedRedemptionRecord(requestParameters?: GetLockedRedemptionRecordRequest): Promise<RestApiResponse<GetLockedRedemptionRecordResponse>>;
3653
+ /**
3654
+ * Get Locked Rewards History
3655
+ *
3656
+ * The time between `startTime` and `endTime` cannot be longer than 3 months.
3657
+ * If `startTime` and `endTime` are both not sent, then the last 30 days' data will be returned.
3658
+ * If `startTime` is sent but `endTime` is not sent, the next 30 days' data beginning from `startTime` will be returned.
3659
+ * If `endTime` is sent but `startTime` is not sent, the 30 days' data before `endTime` will be returned.
3660
+ *
3661
+ * Weight: 150
3662
+ *
3663
+ * @summary Get Locked Rewards History(USER_DATA)
3664
+ * @param {GetLockedRewardsHistoryRequest} requestParameters Request parameters.
3665
+ * @returns {Promise<RestApiResponse<GetLockedRewardsHistoryResponse>>}
3666
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3667
+ * @memberof HistoryApi
3668
+ * @see {@link https://developers.binance.com/docs/simple_earn/history/Get-Locked-Rewards-History Binance API Documentation}
3669
+ */
3670
+ getLockedRewardsHistory(requestParameters?: GetLockedRewardsHistoryRequest): Promise<RestApiResponse<GetLockedRewardsHistoryResponse>>;
3671
+ /**
3672
+ * Get Locked Subscription Record
3673
+ *
3674
+ * The time between `startTime` and `endTime` cannot be longer than 3 months.
3675
+ * If `startTime` and `endTime` are both not sent, then the last 30 days' data will be returned.
3676
+ * If `startTime` is sent but `endTime` is not sent, the next 30 days' data beginning from `startTime` will be returned.
3677
+ * If `endTime` is sent but `startTime` is not sent, the 30 days' data before `endTime` will be returned.
3678
+ *
3679
+ * Weight: 150
3680
+ *
3681
+ * @summary Get Locked Subscription Record(USER_DATA)
3682
+ * @param {GetLockedSubscriptionRecordRequest} requestParameters Request parameters.
3683
+ * @returns {Promise<RestApiResponse<GetLockedSubscriptionRecordResponse>>}
3684
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3685
+ * @memberof HistoryApi
3686
+ * @see {@link https://developers.binance.com/docs/simple_earn/history/Get-Locked-Subscription-Record Binance API Documentation}
3687
+ */
3688
+ getLockedSubscriptionRecord(requestParameters?: GetLockedSubscriptionRecordRequest): Promise<RestApiResponse<GetLockedSubscriptionRecordResponse>>;
3689
+ /**
3690
+ * Get Rate History
3691
+ *
3692
+ * The time between startTime and endTime cannot be longer than 1 year.
3693
+ * If `startTime` and `endTime` are both not sent, then the last 30 days' data will be returned.
3694
+ * If `startTime` is sent but `endTime` is not sent, the next 30 days' data beginning from `startTime` will be returned.
3695
+ * If `endTime` is sent but `startTime` is not sent, the 30 days' data before `endTime` will be returned.
3696
+ *
3697
+ * Weight: 150
3698
+ *
3699
+ * @summary Get Rate History(USER_DATA)
3700
+ * @param {GetRateHistoryRequest} requestParameters Request parameters.
3701
+ * @returns {Promise<RestApiResponse<GetRateHistoryResponse>>}
3702
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3703
+ * @memberof HistoryApi
3704
+ * @see {@link https://developers.binance.com/docs/simple_earn/history/Get-Rate-History Binance API Documentation}
3705
+ */
3706
+ getRateHistory(requestParameters: GetRateHistoryRequest): Promise<RestApiResponse<GetRateHistoryResponse>>;
3707
+ }
3708
+
3709
+ /**
3710
+ * Binance Public Simple Earn REST API
3711
+ *
3712
+ * OpenAPI Specification for the Binance Public Simple Earn REST API
3713
+ *
3714
+ * The version of the OpenAPI document: 1.0.0
3715
+ *
3716
+ *
3717
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3718
+ * https://openapi-generator.tech
3719
+ * Do not edit the class manually.
3720
+ */
3721
+
3722
+ declare class RestAPI {
3723
+ private configuration;
3724
+ private accountApi;
3725
+ private earnApi;
3726
+ private historyApi;
3727
+ constructor(configuration: ConfigurationRestAPI);
3728
+ /**
3729
+ * Generic function to send a request.
3730
+ * @param endpoint - The API endpoint to call.
3731
+ * @param method - HTTP method to use (GET, POST, DELETE, etc.).
3732
+ * @param params - Query parameters for the request.
3733
+ *
3734
+ * @returns A promise resolving to the response data object.
3735
+ */
3736
+ sendRequest<T>(endpoint: string, method: 'GET' | 'POST' | 'DELETE' | 'PUT' | 'PATCH', params?: Record<string, unknown>): Promise<RestApiResponse<T>>;
3737
+ /**
3738
+ * Generic function to send a signed request.
3739
+ * @param endpoint - The API endpoint to call.
3740
+ * @param method - HTTP method to use (GET, POST, DELETE, etc.).
3741
+ * @param params - Query parameters for the request.
3742
+ *
3743
+ * @returns A promise resolving to the response data object.
3744
+ */
3745
+ sendSignedRequest<T>(endpoint: string, method: 'GET' | 'POST' | 'DELETE' | 'PUT' | 'PATCH', params?: Record<string, unknown>): Promise<RestApiResponse<T>>;
3746
+ /**
3747
+ * Get Flexible Personal Left Quota
3748
+ *
3749
+ * Weight: 150
3750
+ *
3751
+ * @summary Get Flexible Personal Left Quota(USER_DATA)
3752
+ * @param {GetFlexiblePersonalLeftQuotaRequest} requestParameters Request parameters.
3753
+ * @returns {Promise<RestApiResponse<GetFlexiblePersonalLeftQuotaResponse>>}
3754
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3755
+ * @see {@link https://developers.binance.com/docs/simple_earn/account/Get-Flexible-Personal-Left-Quota Binance API Documentation}
3756
+ */
3757
+ getFlexiblePersonalLeftQuota(requestParameters: GetFlexiblePersonalLeftQuotaRequest): Promise<RestApiResponse<GetFlexiblePersonalLeftQuotaResponse>>;
3758
+ /**
3759
+ * Get Flexible Product Position
3760
+ *
3761
+ * Weight: 150
3762
+ *
3763
+ * @summary Get Flexible Product Position(USER_DATA)
3764
+ * @param {GetFlexibleProductPositionRequest} requestParameters Request parameters.
3765
+ * @returns {Promise<RestApiResponse<GetFlexibleProductPositionResponse>>}
3766
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3767
+ * @see {@link https://developers.binance.com/docs/simple_earn/account/Get-Flexible-Product-Position Binance API Documentation}
3768
+ */
3769
+ getFlexibleProductPosition(requestParameters?: GetFlexibleProductPositionRequest): Promise<RestApiResponse<GetFlexibleProductPositionResponse>>;
3770
+ /**
3771
+ * Get Locked Personal Left Quota
3772
+ *
3773
+ * Weight: 150
3774
+ *
3775
+ * @summary Get Locked Personal Left Quota(USER_DATA)
3776
+ * @param {GetLockedPersonalLeftQuotaRequest} requestParameters Request parameters.
3777
+ * @returns {Promise<RestApiResponse<GetLockedPersonalLeftQuotaResponse>>}
3778
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3779
+ * @see {@link https://developers.binance.com/docs/simple_earn/account/Get-Locked-Personal-Left-Quota Binance API Documentation}
3780
+ */
3781
+ getLockedPersonalLeftQuota(requestParameters: GetLockedPersonalLeftQuotaRequest): Promise<RestApiResponse<GetLockedPersonalLeftQuotaResponse>>;
3782
+ /**
3783
+ * Get Locked Product Position
3784
+ *
3785
+ * Weight: 150
3786
+ *
3787
+ * @summary Get Locked Product Position
3788
+ * @param {GetLockedProductPositionRequest} requestParameters Request parameters.
3789
+ * @returns {Promise<RestApiResponse<GetLockedProductPositionResponse>>}
3790
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3791
+ * @see {@link https://developers.binance.com/docs/simple_earn/account/Get-Locked-Product-Position Binance API Documentation}
3792
+ */
3793
+ getLockedProductPosition(requestParameters?: GetLockedProductPositionRequest): Promise<RestApiResponse<GetLockedProductPositionResponse>>;
3794
+ /**
3795
+ * Get available Simple Earn flexible product list
3796
+ *
3797
+ * Weight: 150
3798
+ *
3799
+ * @summary Get Simple Earn Flexible Product List(USER_DATA)
3800
+ * @param {GetSimpleEarnFlexibleProductListRequest} requestParameters Request parameters.
3801
+ * @returns {Promise<RestApiResponse<GetSimpleEarnFlexibleProductListResponse>>}
3802
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3803
+ * @see {@link https://developers.binance.com/docs/simple_earn/account/Get-Simple-Earn-Flexible-Product-List Binance API Documentation}
3804
+ */
3805
+ getSimpleEarnFlexibleProductList(requestParameters?: GetSimpleEarnFlexibleProductListRequest): Promise<RestApiResponse<GetSimpleEarnFlexibleProductListResponse>>;
3806
+ /**
3807
+ * Get Simple Earn Locked Product List
3808
+ *
3809
+ * Get available Simple Earn locked product list
3810
+ *
3811
+ * Weight: 150
3812
+ *
3813
+ * @summary Get Simple Earn Locked Product List(USER_DATA)
3814
+ * @param {GetSimpleEarnLockedProductListRequest} requestParameters Request parameters.
3815
+ * @returns {Promise<RestApiResponse<GetSimpleEarnLockedProductListResponse>>}
3816
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3817
+ * @see {@link https://developers.binance.com/docs/simple_earn/account/Get-Simple-Earn-Locked-Product-List Binance API Documentation}
3818
+ */
3819
+ getSimpleEarnLockedProductList(requestParameters?: GetSimpleEarnLockedProductListRequest): Promise<RestApiResponse<GetSimpleEarnLockedProductListResponse>>;
3820
+ /**
3821
+ * Simple Account query
3822
+ *
3823
+ * Weight: 150
3824
+ *
3825
+ * @summary Simple Account(USER_DATA)
3826
+ * @param {SimpleAccountRequest} requestParameters Request parameters.
3827
+ * @returns {Promise<RestApiResponse<SimpleAccountResponse>>}
3828
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3829
+ * @see {@link https://developers.binance.com/docs/simple_earn/account/Simple-Account Binance API Documentation}
3830
+ */
3831
+ simpleAccount(requestParameters?: SimpleAccountRequest): Promise<RestApiResponse<SimpleAccountResponse>>;
3832
+ /**
3833
+ * Get Flexible Subscription Preview
3834
+ *
3835
+ * Weight: 150
3836
+ *
3837
+ * @summary Get Flexible Subscription Preview(USER_DATA)
3838
+ * @param {GetFlexibleSubscriptionPreviewRequest} requestParameters Request parameters.
3839
+ * @returns {Promise<RestApiResponse<GetFlexibleSubscriptionPreviewResponse>>}
3840
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3841
+ * @see {@link https://developers.binance.com/docs/simple_earn/earn/Get-Flexible-Subscription-Preview Binance API Documentation}
3842
+ */
3843
+ getFlexibleSubscriptionPreview(requestParameters: GetFlexibleSubscriptionPreviewRequest): Promise<RestApiResponse<GetFlexibleSubscriptionPreviewResponse>>;
3844
+ /**
3845
+ * Get Locked Subscription Preview
3846
+ *
3847
+ * Weight: 150
3848
+ *
3849
+ * @summary Get Locked Subscription Preview(USER_DATA)
3850
+ * @param {GetLockedSubscriptionPreviewRequest} requestParameters Request parameters.
3851
+ * @returns {Promise<RestApiResponse<GetLockedSubscriptionPreviewResponse>>}
3852
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3853
+ * @see {@link https://developers.binance.com/docs/simple_earn/earn/Get-Locked-Subscription-Preview Binance API Documentation}
3854
+ */
3855
+ getLockedSubscriptionPreview(requestParameters: GetLockedSubscriptionPreviewRequest): Promise<RestApiResponse<GetLockedSubscriptionPreviewResponse>>;
3856
+ /**
3857
+ * Redeem Flexible Product
3858
+ *
3859
+ * You need to open `Enable Spot & Margin Trading` permission for the API Key which requests this endpoint.
3860
+ *
3861
+ * Weight: 1
3862
+ *
3863
+ * @summary Redeem Flexible Product(TRADE)
3864
+ * @param {RedeemFlexibleProductRequest} requestParameters Request parameters.
3865
+ * @returns {Promise<RestApiResponse<RedeemFlexibleProductResponse>>}
3866
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3867
+ * @see {@link https://developers.binance.com/docs/simple_earn/earn/Redeem-Flexible-Product Binance API Documentation}
3868
+ */
3869
+ redeemFlexibleProduct(requestParameters: RedeemFlexibleProductRequest): Promise<RestApiResponse<RedeemFlexibleProductResponse>>;
3870
+ /**
3871
+ * Redeem Locked Product
3872
+ *
3873
+ * You need to open `Enable Spot & Margin Trading` permission for the API Key which requests this endpoint.
3874
+ *
3875
+ * Weight: 1/3s per account
3876
+ *
3877
+ * @summary Redeem Locked Product(TRADE)
3878
+ * @param {RedeemLockedProductRequest} requestParameters Request parameters.
3879
+ * @returns {Promise<RestApiResponse<RedeemLockedProductResponse>>}
3880
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3881
+ * @see {@link https://developers.binance.com/docs/simple_earn/earn/Redeem-Locked-Product Binance API Documentation}
3882
+ */
3883
+ redeemLockedProduct(requestParameters: RedeemLockedProductRequest): Promise<RestApiResponse<RedeemLockedProductResponse>>;
3884
+ /**
3885
+ * Set Flexible Auto Subscribe
3886
+ *
3887
+ * Weight: 150
3888
+ *
3889
+ * @summary Set Flexible Auto Subscribe(USER_DATA)
3890
+ * @param {SetFlexibleAutoSubscribeRequest} requestParameters Request parameters.
3891
+ * @returns {Promise<RestApiResponse<SetFlexibleAutoSubscribeResponse>>}
3892
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3893
+ * @see {@link https://developers.binance.com/docs/simple_earn/earn/Set-Flexible-Auto-Subscribe Binance API Documentation}
3894
+ */
3895
+ setFlexibleAutoSubscribe(requestParameters: SetFlexibleAutoSubscribeRequest): Promise<RestApiResponse<SetFlexibleAutoSubscribeResponse>>;
3896
+ /**
3897
+ * Set locked auto subscribe
3898
+ *
3899
+ * Weight: 150
3900
+ *
3901
+ * @summary Set Locked Auto Subscribe(USER_DATA)
3902
+ * @param {SetLockedAutoSubscribeRequest} requestParameters Request parameters.
3903
+ * @returns {Promise<RestApiResponse<SetLockedAutoSubscribeResponse>>}
3904
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3905
+ * @see {@link https://developers.binance.com/docs/simple_earn/earn/Set-Locked-Auto-Subscribe Binance API Documentation}
3906
+ */
3907
+ setLockedAutoSubscribe(requestParameters: SetLockedAutoSubscribeRequest): Promise<RestApiResponse<SetLockedAutoSubscribeResponse>>;
3908
+ /**
3909
+ * Set redeem option for Locked product
3910
+ *
3911
+ * Weight: 50
3912
+ *
3913
+ * @summary Set Locked Product Redeem Option(USER_DATA)
3914
+ * @param {SetLockedProductRedeemOptionRequest} requestParameters Request parameters.
3915
+ * @returns {Promise<RestApiResponse<SetLockedProductRedeemOptionResponse>>}
3916
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3917
+ * @see {@link https://developers.binance.com/docs/simple_earn/earn/Set-Locked-Redeem-Option Binance API Documentation}
3918
+ */
3919
+ setLockedProductRedeemOption(requestParameters: SetLockedProductRedeemOptionRequest): Promise<RestApiResponse<SetLockedProductRedeemOptionResponse>>;
3920
+ /**
3921
+ * Subscribe Flexible Product
3922
+ *
3923
+ * You need to open `Enable Spot & Margin Trading` permission for the API Key which requests this endpoint.
3924
+ *
3925
+ * Weight: 1
3926
+ *
3927
+ * @summary Subscribe Flexible Product(TRADE)
3928
+ * @param {SubscribeFlexibleProductRequest} requestParameters Request parameters.
3929
+ * @returns {Promise<RestApiResponse<SubscribeFlexibleProductResponse>>}
3930
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3931
+ * @see {@link https://developers.binance.com/docs/simple_earn/earn/Subscribe-Flexible-Product Binance API Documentation}
3932
+ */
3933
+ subscribeFlexibleProduct(requestParameters: SubscribeFlexibleProductRequest): Promise<RestApiResponse<SubscribeFlexibleProductResponse>>;
3934
+ /**
3935
+ * Subscribe Locked Product
3936
+ *
3937
+ * You need to open `Enable Spot & Margin Trading` permission for the API Key which requests this endpoint.
3938
+ *
3939
+ * Weight: 1
3940
+ *
3941
+ * @summary Subscribe Locked Product(TRADE)
3942
+ * @param {SubscribeLockedProductRequest} requestParameters Request parameters.
3943
+ * @returns {Promise<RestApiResponse<SubscribeLockedProductResponse>>}
3944
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3945
+ * @see {@link https://developers.binance.com/docs/simple_earn/earn/Subscribe-Locked-Product Binance API Documentation}
3946
+ */
3947
+ subscribeLockedProduct(requestParameters: SubscribeLockedProductRequest): Promise<RestApiResponse<SubscribeLockedProductResponse>>;
3948
+ /**
3949
+ * Get Collateral Record
3950
+ *
3951
+ * The time between `startTime` and `endTime` cannot be longer than 30 days.
3952
+ * If `startTime` and `endTime` are both not sent, then the last 30 days' data will be returned.
3953
+ * If `startTime` is sent but `endTime` is not sent, the next 30 days' data beginning from `startTime` will be returned.
3954
+ * If `endTime` is sent but `startTime` is not sent, the 30 days' data before `endTime` will be returned.
3955
+ *
3956
+ * Weight: 1
3957
+ *
3958
+ * @summary Get Collateral Record(USER_DATA)
3959
+ * @param {GetCollateralRecordRequest} requestParameters Request parameters.
3960
+ * @returns {Promise<RestApiResponse<GetCollateralRecordResponse>>}
3961
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3962
+ * @see {@link https://developers.binance.com/docs/simple_earn/history/Get-Collateral-Record Binance API Documentation}
3963
+ */
3964
+ getCollateralRecord(requestParameters?: GetCollateralRecordRequest): Promise<RestApiResponse<GetCollateralRecordResponse>>;
3965
+ /**
3966
+ * Get Flexible Redemption Record
3967
+ *
3968
+ * The time between `startTime` and `endTime` cannot be longer than 3 months.
3969
+ * If `startTime` and `endTime` are both not sent, then the last 30 days' data will be returned.
3970
+ * If `startTime` is sent but `endTime` is not sent, the next 30 days' data beginning from `startTime` will be returned.
3971
+ * If `endTime` is sent but `startTime` is not sent, the 30 days' data before `endTime` will be returned.
3972
+ *
3973
+ * Weight: 150
3974
+ *
3975
+ * @summary Get Flexible Redemption Record(USER_DATA)
3976
+ * @param {GetFlexibleRedemptionRecordRequest} requestParameters Request parameters.
3977
+ * @returns {Promise<RestApiResponse<GetFlexibleRedemptionRecordResponse>>}
3978
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3979
+ * @see {@link https://developers.binance.com/docs/simple_earn/history/Get-Flexible-Redemption-Record Binance API Documentation}
3980
+ */
3981
+ getFlexibleRedemptionRecord(requestParameters?: GetFlexibleRedemptionRecordRequest): Promise<RestApiResponse<GetFlexibleRedemptionRecordResponse>>;
3982
+ /**
3983
+ * Get Flexible Rewards History
3984
+ *
3985
+ * The time between `startTime` and `endTime` cannot be longer than 3 months.
3986
+ * If `startTime` and `endTime` are both not sent, then the last 30 days' data will be returned.
3987
+ * If `startTime` is sent but `endTime` is not sent, the next 30 days' data beginning from `startTime` will be returned.
3988
+ * If `endTime` is sent but `startTime` is not sent, the 30 days' data before `endTime` will be returned.
3989
+ *
3990
+ * Weight: 150
3991
+ *
3992
+ * @summary Get Flexible Rewards History(USER_DATA)
3993
+ * @param {GetFlexibleRewardsHistoryRequest} requestParameters Request parameters.
3994
+ * @returns {Promise<RestApiResponse<GetFlexibleRewardsHistoryResponse>>}
3995
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3996
+ * @see {@link https://developers.binance.com/docs/simple_earn/history/Get-Flexible-Rewards-History Binance API Documentation}
3997
+ */
3998
+ getFlexibleRewardsHistory(requestParameters: GetFlexibleRewardsHistoryRequest): Promise<RestApiResponse<GetFlexibleRewardsHistoryResponse>>;
3999
+ /**
4000
+ * Get Flexible Subscription Record
4001
+ *
4002
+ * The time between `startTime` and `endTime` cannot be longer than 3 months.
4003
+ * If `startTime` and `endTime` are both not sent, then the last 30 days' data will be returned.
4004
+ * If `startTime` is sent but `endTime` is not sent, the next 30 days' data beginning from `startTime` will be returned.
4005
+ * If `endTime` is sent but `startTime` is not sent, the 30 days' data before `endTime` will be returned.
4006
+ *
4007
+ * Weight: 150
4008
+ *
4009
+ * @summary Get Flexible Subscription Record(USER_DATA)
4010
+ * @param {GetFlexibleSubscriptionRecordRequest} requestParameters Request parameters.
4011
+ * @returns {Promise<RestApiResponse<GetFlexibleSubscriptionRecordResponse>>}
4012
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
4013
+ * @see {@link https://developers.binance.com/docs/simple_earn/history/Get-Flexible-Subscription-Record Binance API Documentation}
4014
+ */
4015
+ getFlexibleSubscriptionRecord(requestParameters?: GetFlexibleSubscriptionRecordRequest): Promise<RestApiResponse<GetFlexibleSubscriptionRecordResponse>>;
4016
+ /**
4017
+ * Get Locked Redemption Record
4018
+ *
4019
+ * The time between `startTime` and `endTime` cannot be longer than 3 months.
4020
+ * If `startTime` and `endTime` are both not sent, then the last 30 days' data will be returned.
4021
+ * If `startTime` is sent but `endTime` is not sent, the next 30 days' data beginning from `startTime` will be returned.
4022
+ * If `endTime` is sent but `startTime` is not sent, the 30 days' data before `endTime` will be returned.
4023
+ *
4024
+ * Weight: 150
4025
+ *
4026
+ * @summary Get Locked Redemption Record(USER_DATA)
4027
+ * @param {GetLockedRedemptionRecordRequest} requestParameters Request parameters.
4028
+ * @returns {Promise<RestApiResponse<GetLockedRedemptionRecordResponse>>}
4029
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
4030
+ * @see {@link https://developers.binance.com/docs/simple_earn/history/Get-Locked-Redemption-Record Binance API Documentation}
4031
+ */
4032
+ getLockedRedemptionRecord(requestParameters?: GetLockedRedemptionRecordRequest): Promise<RestApiResponse<GetLockedRedemptionRecordResponse>>;
4033
+ /**
4034
+ * Get Locked Rewards History
4035
+ *
4036
+ * The time between `startTime` and `endTime` cannot be longer than 3 months.
4037
+ * If `startTime` and `endTime` are both not sent, then the last 30 days' data will be returned.
4038
+ * If `startTime` is sent but `endTime` is not sent, the next 30 days' data beginning from `startTime` will be returned.
4039
+ * If `endTime` is sent but `startTime` is not sent, the 30 days' data before `endTime` will be returned.
4040
+ *
4041
+ * Weight: 150
4042
+ *
4043
+ * @summary Get Locked Rewards History(USER_DATA)
4044
+ * @param {GetLockedRewardsHistoryRequest} requestParameters Request parameters.
4045
+ * @returns {Promise<RestApiResponse<GetLockedRewardsHistoryResponse>>}
4046
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
4047
+ * @see {@link https://developers.binance.com/docs/simple_earn/history/Get-Locked-Rewards-History Binance API Documentation}
4048
+ */
4049
+ getLockedRewardsHistory(requestParameters?: GetLockedRewardsHistoryRequest): Promise<RestApiResponse<GetLockedRewardsHistoryResponse>>;
4050
+ /**
4051
+ * Get Locked Subscription Record
4052
+ *
4053
+ * The time between `startTime` and `endTime` cannot be longer than 3 months.
4054
+ * If `startTime` and `endTime` are both not sent, then the last 30 days' data will be returned.
4055
+ * If `startTime` is sent but `endTime` is not sent, the next 30 days' data beginning from `startTime` will be returned.
4056
+ * If `endTime` is sent but `startTime` is not sent, the 30 days' data before `endTime` will be returned.
4057
+ *
4058
+ * Weight: 150
4059
+ *
4060
+ * @summary Get Locked Subscription Record(USER_DATA)
4061
+ * @param {GetLockedSubscriptionRecordRequest} requestParameters Request parameters.
4062
+ * @returns {Promise<RestApiResponse<GetLockedSubscriptionRecordResponse>>}
4063
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
4064
+ * @see {@link https://developers.binance.com/docs/simple_earn/history/Get-Locked-Subscription-Record Binance API Documentation}
4065
+ */
4066
+ getLockedSubscriptionRecord(requestParameters?: GetLockedSubscriptionRecordRequest): Promise<RestApiResponse<GetLockedSubscriptionRecordResponse>>;
4067
+ /**
4068
+ * Get Rate History
4069
+ *
4070
+ * The time between startTime and endTime cannot be longer than 1 year.
4071
+ * If `startTime` and `endTime` are both not sent, then the last 30 days' data will be returned.
4072
+ * If `startTime` is sent but `endTime` is not sent, the next 30 days' data beginning from `startTime` will be returned.
4073
+ * If `endTime` is sent but `startTime` is not sent, the 30 days' data before `endTime` will be returned.
4074
+ *
4075
+ * Weight: 150
4076
+ *
4077
+ * @summary Get Rate History(USER_DATA)
4078
+ * @param {GetRateHistoryRequest} requestParameters Request parameters.
4079
+ * @returns {Promise<RestApiResponse<GetRateHistoryResponse>>}
4080
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
4081
+ * @see {@link https://developers.binance.com/docs/simple_earn/history/Get-Rate-History Binance API Documentation}
4082
+ */
4083
+ getRateHistory(requestParameters: GetRateHistoryRequest): Promise<RestApiResponse<GetRateHistoryResponse>>;
4084
+ }
4085
+
4086
+ /**
4087
+ * Binance Public Simple Earn REST API
4088
+ *
4089
+ * OpenAPI Specification for the Binance Public Simple Earn REST API
4090
+ *
4091
+ * The version of the OpenAPI document: 1.0.0
4092
+ *
4093
+ *
4094
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
4095
+ * https://openapi-generator.tech
4096
+ * Do not edit the class manually.
4097
+ */
4098
+
4099
+ type index_AccountApi = AccountApi;
4100
+ declare const index_AccountApi: typeof AccountApi;
4101
+ type index_AccountApiInterface = AccountApiInterface;
4102
+ type index_BadRequest = BadRequest;
4103
+ type index_EarnApi = EarnApi;
4104
+ declare const index_EarnApi: typeof EarnApi;
4105
+ type index_EarnApiInterface = EarnApiInterface;
4106
+ type index_GetCollateralRecordRequest = GetCollateralRecordRequest;
4107
+ type index_GetCollateralRecordResponse = GetCollateralRecordResponse;
4108
+ type index_GetCollateralRecordResponseRowsInner = GetCollateralRecordResponseRowsInner;
4109
+ type index_GetFlexiblePersonalLeftQuotaRequest = GetFlexiblePersonalLeftQuotaRequest;
4110
+ type index_GetFlexiblePersonalLeftQuotaResponse = GetFlexiblePersonalLeftQuotaResponse;
4111
+ type index_GetFlexibleProductPositionRequest = GetFlexibleProductPositionRequest;
4112
+ type index_GetFlexibleProductPositionResponse = GetFlexibleProductPositionResponse;
4113
+ type index_GetFlexibleProductPositionResponseRowsInner = GetFlexibleProductPositionResponseRowsInner;
4114
+ type index_GetFlexibleProductPositionResponseRowsInnerTierAnnualPercentageRate = GetFlexibleProductPositionResponseRowsInnerTierAnnualPercentageRate;
4115
+ type index_GetFlexibleRedemptionRecordRequest = GetFlexibleRedemptionRecordRequest;
4116
+ type index_GetFlexibleRedemptionRecordResponse = GetFlexibleRedemptionRecordResponse;
4117
+ type index_GetFlexibleRedemptionRecordResponseRowsInner = GetFlexibleRedemptionRecordResponseRowsInner;
4118
+ type index_GetFlexibleRewardsHistoryRequest = GetFlexibleRewardsHistoryRequest;
4119
+ type index_GetFlexibleRewardsHistoryResponse = GetFlexibleRewardsHistoryResponse;
4120
+ type index_GetFlexibleRewardsHistoryResponseRowsInner = GetFlexibleRewardsHistoryResponseRowsInner;
4121
+ type index_GetFlexibleSubscriptionPreviewRequest = GetFlexibleSubscriptionPreviewRequest;
4122
+ type index_GetFlexibleSubscriptionPreviewResponse = GetFlexibleSubscriptionPreviewResponse;
4123
+ type index_GetFlexibleSubscriptionRecordRequest = GetFlexibleSubscriptionRecordRequest;
4124
+ type index_GetFlexibleSubscriptionRecordResponse = GetFlexibleSubscriptionRecordResponse;
4125
+ type index_GetFlexibleSubscriptionRecordResponseRowsInner = GetFlexibleSubscriptionRecordResponseRowsInner;
4126
+ type index_GetLockedPersonalLeftQuotaRequest = GetLockedPersonalLeftQuotaRequest;
4127
+ type index_GetLockedPersonalLeftQuotaResponse = GetLockedPersonalLeftQuotaResponse;
4128
+ type index_GetLockedProductPositionRequest = GetLockedProductPositionRequest;
4129
+ type index_GetLockedProductPositionResponse = GetLockedProductPositionResponse;
4130
+ type index_GetLockedProductPositionResponseRowsInner = GetLockedProductPositionResponseRowsInner;
4131
+ type index_GetLockedRedemptionRecordRequest = GetLockedRedemptionRecordRequest;
4132
+ type index_GetLockedRedemptionRecordResponse = GetLockedRedemptionRecordResponse;
4133
+ type index_GetLockedRedemptionRecordResponseRowsInner = GetLockedRedemptionRecordResponseRowsInner;
4134
+ type index_GetLockedRewardsHistoryRequest = GetLockedRewardsHistoryRequest;
4135
+ type index_GetLockedRewardsHistoryResponse = GetLockedRewardsHistoryResponse;
4136
+ type index_GetLockedRewardsHistoryResponseRowsInner = GetLockedRewardsHistoryResponseRowsInner;
4137
+ type index_GetLockedSubscriptionPreviewRequest = GetLockedSubscriptionPreviewRequest;
4138
+ type index_GetLockedSubscriptionPreviewResponse = GetLockedSubscriptionPreviewResponse;
4139
+ type index_GetLockedSubscriptionPreviewResponseInner = GetLockedSubscriptionPreviewResponseInner;
4140
+ type index_GetLockedSubscriptionRecordRequest = GetLockedSubscriptionRecordRequest;
4141
+ type index_GetLockedSubscriptionRecordResponse = GetLockedSubscriptionRecordResponse;
4142
+ type index_GetLockedSubscriptionRecordResponseRowsInner = GetLockedSubscriptionRecordResponseRowsInner;
4143
+ type index_GetRateHistoryRequest = GetRateHistoryRequest;
4144
+ type index_GetRateHistoryResponse = GetRateHistoryResponse;
4145
+ type index_GetRateHistoryResponseRowsInner = GetRateHistoryResponseRowsInner;
4146
+ type index_GetSimpleEarnFlexibleProductListRequest = GetSimpleEarnFlexibleProductListRequest;
4147
+ type index_GetSimpleEarnFlexibleProductListResponse = GetSimpleEarnFlexibleProductListResponse;
4148
+ type index_GetSimpleEarnFlexibleProductListResponseRowsInner = GetSimpleEarnFlexibleProductListResponseRowsInner;
4149
+ type index_GetSimpleEarnLockedProductListRequest = GetSimpleEarnLockedProductListRequest;
4150
+ type index_GetSimpleEarnLockedProductListResponse = GetSimpleEarnLockedProductListResponse;
4151
+ type index_GetSimpleEarnLockedProductListResponseRowsInner = GetSimpleEarnLockedProductListResponseRowsInner;
4152
+ type index_GetSimpleEarnLockedProductListResponseRowsInnerDetail = GetSimpleEarnLockedProductListResponseRowsInnerDetail;
4153
+ type index_GetSimpleEarnLockedProductListResponseRowsInnerQuota = GetSimpleEarnLockedProductListResponseRowsInnerQuota;
4154
+ type index_HistoryApi = HistoryApi;
4155
+ declare const index_HistoryApi: typeof HistoryApi;
4156
+ type index_HistoryApiInterface = HistoryApiInterface;
4157
+ type index_RedeemFlexibleProductRequest = RedeemFlexibleProductRequest;
4158
+ type index_RedeemFlexibleProductResponse = RedeemFlexibleProductResponse;
4159
+ type index_RedeemLockedProductRequest = RedeemLockedProductRequest;
4160
+ type index_RedeemLockedProductResponse = RedeemLockedProductResponse;
4161
+ type index_RestAPI = RestAPI;
4162
+ declare const index_RestAPI: typeof RestAPI;
4163
+ type index_SetFlexibleAutoSubscribeRequest = SetFlexibleAutoSubscribeRequest;
4164
+ type index_SetFlexibleAutoSubscribeResponse = SetFlexibleAutoSubscribeResponse;
4165
+ type index_SetLockedAutoSubscribeRequest = SetLockedAutoSubscribeRequest;
4166
+ type index_SetLockedAutoSubscribeResponse = SetLockedAutoSubscribeResponse;
4167
+ type index_SetLockedProductRedeemOptionRequest = SetLockedProductRedeemOptionRequest;
4168
+ type index_SetLockedProductRedeemOptionResponse = SetLockedProductRedeemOptionResponse;
4169
+ type index_SimpleAccountRequest = SimpleAccountRequest;
4170
+ type index_SimpleAccountResponse = SimpleAccountResponse;
4171
+ type index_SubscribeFlexibleProductRequest = SubscribeFlexibleProductRequest;
4172
+ type index_SubscribeFlexibleProductResponse = SubscribeFlexibleProductResponse;
4173
+ type index_SubscribeLockedProductRequest = SubscribeLockedProductRequest;
4174
+ type index_SubscribeLockedProductResponse = SubscribeLockedProductResponse;
4175
+ declare namespace index {
4176
+ export {
4177
+ index_AccountApi as AccountApi,
4178
+ index_AccountApiInterface as AccountApiInterface,
4179
+ index_BadRequest as BadRequest,
4180
+ index_EarnApi as EarnApi,
4181
+ index_EarnApiInterface as EarnApiInterface,
4182
+ index_GetCollateralRecordRequest as GetCollateralRecordRequest,
4183
+ index_GetCollateralRecordResponse as GetCollateralRecordResponse,
4184
+ index_GetCollateralRecordResponseRowsInner as GetCollateralRecordResponseRowsInner,
4185
+ index_GetFlexiblePersonalLeftQuotaRequest as GetFlexiblePersonalLeftQuotaRequest,
4186
+ index_GetFlexiblePersonalLeftQuotaResponse as GetFlexiblePersonalLeftQuotaResponse,
4187
+ index_GetFlexibleProductPositionRequest as GetFlexibleProductPositionRequest,
4188
+ index_GetFlexibleProductPositionResponse as GetFlexibleProductPositionResponse,
4189
+ index_GetFlexibleProductPositionResponseRowsInner as GetFlexibleProductPositionResponseRowsInner,
4190
+ index_GetFlexibleProductPositionResponseRowsInnerTierAnnualPercentageRate as GetFlexibleProductPositionResponseRowsInnerTierAnnualPercentageRate,
4191
+ index_GetFlexibleRedemptionRecordRequest as GetFlexibleRedemptionRecordRequest,
4192
+ index_GetFlexibleRedemptionRecordResponse as GetFlexibleRedemptionRecordResponse,
4193
+ index_GetFlexibleRedemptionRecordResponseRowsInner as GetFlexibleRedemptionRecordResponseRowsInner,
4194
+ index_GetFlexibleRewardsHistoryRequest as GetFlexibleRewardsHistoryRequest,
4195
+ index_GetFlexibleRewardsHistoryResponse as GetFlexibleRewardsHistoryResponse,
4196
+ index_GetFlexibleRewardsHistoryResponseRowsInner as GetFlexibleRewardsHistoryResponseRowsInner,
4197
+ index_GetFlexibleSubscriptionPreviewRequest as GetFlexibleSubscriptionPreviewRequest,
4198
+ index_GetFlexibleSubscriptionPreviewResponse as GetFlexibleSubscriptionPreviewResponse,
4199
+ index_GetFlexibleSubscriptionRecordRequest as GetFlexibleSubscriptionRecordRequest,
4200
+ index_GetFlexibleSubscriptionRecordResponse as GetFlexibleSubscriptionRecordResponse,
4201
+ index_GetFlexibleSubscriptionRecordResponseRowsInner as GetFlexibleSubscriptionRecordResponseRowsInner,
4202
+ index_GetLockedPersonalLeftQuotaRequest as GetLockedPersonalLeftQuotaRequest,
4203
+ index_GetLockedPersonalLeftQuotaResponse as GetLockedPersonalLeftQuotaResponse,
4204
+ index_GetLockedProductPositionRequest as GetLockedProductPositionRequest,
4205
+ index_GetLockedProductPositionResponse as GetLockedProductPositionResponse,
4206
+ index_GetLockedProductPositionResponseRowsInner as GetLockedProductPositionResponseRowsInner,
4207
+ index_GetLockedRedemptionRecordRequest as GetLockedRedemptionRecordRequest,
4208
+ index_GetLockedRedemptionRecordResponse as GetLockedRedemptionRecordResponse,
4209
+ index_GetLockedRedemptionRecordResponseRowsInner as GetLockedRedemptionRecordResponseRowsInner,
4210
+ index_GetLockedRewardsHistoryRequest as GetLockedRewardsHistoryRequest,
4211
+ index_GetLockedRewardsHistoryResponse as GetLockedRewardsHistoryResponse,
4212
+ index_GetLockedRewardsHistoryResponseRowsInner as GetLockedRewardsHistoryResponseRowsInner,
4213
+ index_GetLockedSubscriptionPreviewRequest as GetLockedSubscriptionPreviewRequest,
4214
+ index_GetLockedSubscriptionPreviewResponse as GetLockedSubscriptionPreviewResponse,
4215
+ index_GetLockedSubscriptionPreviewResponseInner as GetLockedSubscriptionPreviewResponseInner,
4216
+ index_GetLockedSubscriptionRecordRequest as GetLockedSubscriptionRecordRequest,
4217
+ index_GetLockedSubscriptionRecordResponse as GetLockedSubscriptionRecordResponse,
4218
+ index_GetLockedSubscriptionRecordResponseRowsInner as GetLockedSubscriptionRecordResponseRowsInner,
4219
+ index_GetRateHistoryRequest as GetRateHistoryRequest,
4220
+ index_GetRateHistoryResponse as GetRateHistoryResponse,
4221
+ index_GetRateHistoryResponseRowsInner as GetRateHistoryResponseRowsInner,
4222
+ index_GetSimpleEarnFlexibleProductListRequest as GetSimpleEarnFlexibleProductListRequest,
4223
+ index_GetSimpleEarnFlexibleProductListResponse as GetSimpleEarnFlexibleProductListResponse,
4224
+ index_GetSimpleEarnFlexibleProductListResponseRowsInner as GetSimpleEarnFlexibleProductListResponseRowsInner,
4225
+ index_GetSimpleEarnLockedProductListRequest as GetSimpleEarnLockedProductListRequest,
4226
+ index_GetSimpleEarnLockedProductListResponse as GetSimpleEarnLockedProductListResponse,
4227
+ index_GetSimpleEarnLockedProductListResponseRowsInner as GetSimpleEarnLockedProductListResponseRowsInner,
4228
+ index_GetSimpleEarnLockedProductListResponseRowsInnerDetail as GetSimpleEarnLockedProductListResponseRowsInnerDetail,
4229
+ index_GetSimpleEarnLockedProductListResponseRowsInnerQuota as GetSimpleEarnLockedProductListResponseRowsInnerQuota,
4230
+ index_HistoryApi as HistoryApi,
4231
+ index_HistoryApiInterface as HistoryApiInterface,
4232
+ index_RedeemFlexibleProductRequest as RedeemFlexibleProductRequest,
4233
+ index_RedeemFlexibleProductResponse as RedeemFlexibleProductResponse,
4234
+ index_RedeemLockedProductRequest as RedeemLockedProductRequest,
4235
+ index_RedeemLockedProductResponse as RedeemLockedProductResponse,
4236
+ index_RestAPI as RestAPI,
4237
+ index_SetFlexibleAutoSubscribeRequest as SetFlexibleAutoSubscribeRequest,
4238
+ index_SetFlexibleAutoSubscribeResponse as SetFlexibleAutoSubscribeResponse,
4239
+ index_SetLockedAutoSubscribeRequest as SetLockedAutoSubscribeRequest,
4240
+ index_SetLockedAutoSubscribeResponse as SetLockedAutoSubscribeResponse,
4241
+ index_SetLockedProductRedeemOptionRequest as SetLockedProductRedeemOptionRequest,
4242
+ index_SetLockedProductRedeemOptionResponse as SetLockedProductRedeemOptionResponse,
4243
+ index_SimpleAccountRequest as SimpleAccountRequest,
4244
+ index_SimpleAccountResponse as SimpleAccountResponse,
4245
+ index_SubscribeFlexibleProductRequest as SubscribeFlexibleProductRequest,
4246
+ index_SubscribeFlexibleProductResponse as SubscribeFlexibleProductResponse,
4247
+ index_SubscribeLockedProductRequest as SubscribeLockedProductRequest,
4248
+ index_SubscribeLockedProductResponse as SubscribeLockedProductResponse,
4249
+ };
4250
+ }
4251
+
4252
+ interface ConfigurationSimpleEarn {
4253
+ configurationRestAPI?: ConfigurationRestAPI;
4254
+ }
4255
+ declare class SimpleEarn {
4256
+ restAPI: RestAPI;
4257
+ constructor(config: ConfigurationSimpleEarn);
4258
+ }
4259
+
4260
+ export { ConfigurationSimpleEarn, SimpleEarn, index as SimpleEarnRestAPI };