@binance/simple-earn 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -19
- package/dist/index.d.mts +95 -168
- package/dist/index.d.ts +95 -168
- package/dist/index.js +28 -54
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +25 -51
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -139,25 +139,6 @@ The REST API provides detailed error types to help you handle issues effectively
|
|
|
139
139
|
|
|
140
140
|
See the [Error Handling example](./docs/rest-api/error-handling.md) for detailed usage.
|
|
141
141
|
|
|
142
|
-
#### Testnet
|
|
143
|
-
|
|
144
|
-
For testing purposes, `/sapi/v1/simple-earn/*` endpoints can be used in the [Testnet](https://testnet.binance.vision/). Update the `basePath` in your configuration:
|
|
145
|
-
|
|
146
|
-
```typescript
|
|
147
|
-
import {
|
|
148
|
-
SimpleEarn,
|
|
149
|
-
SimpleEarnRestAPI,
|
|
150
|
-
SIMPLE_EARN_REST_API_TESTNET_URL,
|
|
151
|
-
} from '@binance/simple-earn';
|
|
152
|
-
|
|
153
|
-
const configurationRestAPI = {
|
|
154
|
-
apiKey: 'your-api-key',
|
|
155
|
-
apiSecret: 'your-api-secret',
|
|
156
|
-
basePath: SIMPLE_EARN_REST_API_TESTNET_URL,
|
|
157
|
-
};
|
|
158
|
-
const client = new SimpleEarn({ configurationRestAPI });
|
|
159
|
-
```
|
|
160
|
-
|
|
161
142
|
If `basePath` is not provided, it defaults to `https://api.binance.com`.
|
|
162
143
|
|
|
163
144
|
## Testing
|
package/dist/index.d.mts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { RestApiResponse, ConfigurationRestAPI } from '@binance/common';
|
|
2
|
-
export { BadRequestError, ConnectorClientError, ForbiddenError, NetworkError, NotFoundError, RateLimitBanError, RequiredError, SIMPLE_EARN_REST_API_PROD_URL,
|
|
2
|
+
export { BadRequestError, ConnectorClientError, ForbiddenError, NetworkError, NotFoundError, RateLimitBanError, RequiredError, SIMPLE_EARN_REST_API_PROD_URL, ServerError, TooManyRequestsError, UnauthorizedError } from '@binance/common';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
|
-
* Binance
|
|
5
|
+
* Binance Simple Earn REST API
|
|
6
6
|
*
|
|
7
|
-
* OpenAPI Specification for the Binance
|
|
7
|
+
* OpenAPI Specification for the Binance Simple Earn REST API
|
|
8
8
|
*
|
|
9
9
|
* The version of the OpenAPI document: 1.0.0
|
|
10
10
|
*
|
|
@@ -34,9 +34,9 @@ interface BadRequest {
|
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
/**
|
|
37
|
-
* Binance
|
|
37
|
+
* Binance Simple Earn REST API
|
|
38
38
|
*
|
|
39
|
-
* OpenAPI Specification for the Binance
|
|
39
|
+
* OpenAPI Specification for the Binance Simple Earn REST API
|
|
40
40
|
*
|
|
41
41
|
* The version of the OpenAPI document: 1.0.0
|
|
42
42
|
*
|
|
@@ -96,9 +96,9 @@ interface GetCollateralRecordResponseRowsInner {
|
|
|
96
96
|
}
|
|
97
97
|
|
|
98
98
|
/**
|
|
99
|
-
* Binance
|
|
99
|
+
* Binance Simple Earn REST API
|
|
100
100
|
*
|
|
101
|
-
* OpenAPI Specification for the Binance
|
|
101
|
+
* OpenAPI Specification for the Binance Simple Earn REST API
|
|
102
102
|
*
|
|
103
103
|
* The version of the OpenAPI document: 1.0.0
|
|
104
104
|
*
|
|
@@ -129,9 +129,9 @@ interface GetCollateralRecordResponse {
|
|
|
129
129
|
}
|
|
130
130
|
|
|
131
131
|
/**
|
|
132
|
-
* Binance
|
|
132
|
+
* Binance Simple Earn REST API
|
|
133
133
|
*
|
|
134
|
-
* OpenAPI Specification for the Binance
|
|
134
|
+
* OpenAPI Specification for the Binance Simple Earn REST API
|
|
135
135
|
*
|
|
136
136
|
* The version of the OpenAPI document: 1.0.0
|
|
137
137
|
*
|
|
@@ -155,9 +155,9 @@ interface GetFlexiblePersonalLeftQuotaResponse {
|
|
|
155
155
|
}
|
|
156
156
|
|
|
157
157
|
/**
|
|
158
|
-
* Binance
|
|
158
|
+
* Binance Simple Earn REST API
|
|
159
159
|
*
|
|
160
|
-
* OpenAPI Specification for the Binance
|
|
160
|
+
* OpenAPI Specification for the Binance Simple Earn REST API
|
|
161
161
|
*
|
|
162
162
|
* The version of the OpenAPI document: 1.0.0
|
|
163
163
|
*
|
|
@@ -187,9 +187,9 @@ interface GetFlexibleProductPositionResponseRowsInnerTierAnnualPercentageRate {
|
|
|
187
187
|
}
|
|
188
188
|
|
|
189
189
|
/**
|
|
190
|
-
* Binance
|
|
190
|
+
* Binance Simple Earn REST API
|
|
191
191
|
*
|
|
192
|
-
* OpenAPI Specification for the Binance
|
|
192
|
+
* OpenAPI Specification for the Binance Simple Earn REST API
|
|
193
193
|
*
|
|
194
194
|
* The version of the OpenAPI document: 1.0.0
|
|
195
195
|
*
|
|
@@ -292,9 +292,9 @@ interface GetFlexibleProductPositionResponseRowsInner {
|
|
|
292
292
|
}
|
|
293
293
|
|
|
294
294
|
/**
|
|
295
|
-
* Binance
|
|
295
|
+
* Binance Simple Earn REST API
|
|
296
296
|
*
|
|
297
|
-
* OpenAPI Specification for the Binance
|
|
297
|
+
* OpenAPI Specification for the Binance Simple Earn REST API
|
|
298
298
|
*
|
|
299
299
|
* The version of the OpenAPI document: 1.0.0
|
|
300
300
|
*
|
|
@@ -325,9 +325,9 @@ interface GetFlexibleProductPositionResponse {
|
|
|
325
325
|
}
|
|
326
326
|
|
|
327
327
|
/**
|
|
328
|
-
* Binance
|
|
328
|
+
* Binance Simple Earn REST API
|
|
329
329
|
*
|
|
330
|
-
* OpenAPI Specification for the Binance
|
|
330
|
+
* OpenAPI Specification for the Binance Simple Earn REST API
|
|
331
331
|
*
|
|
332
332
|
* The version of the OpenAPI document: 1.0.0
|
|
333
333
|
*
|
|
@@ -387,9 +387,9 @@ interface GetFlexibleRedemptionRecordResponseRowsInner {
|
|
|
387
387
|
}
|
|
388
388
|
|
|
389
389
|
/**
|
|
390
|
-
* Binance
|
|
390
|
+
* Binance Simple Earn REST API
|
|
391
391
|
*
|
|
392
|
-
* OpenAPI Specification for the Binance
|
|
392
|
+
* OpenAPI Specification for the Binance Simple Earn REST API
|
|
393
393
|
*
|
|
394
394
|
* The version of the OpenAPI document: 1.0.0
|
|
395
395
|
*
|
|
@@ -420,9 +420,9 @@ interface GetFlexibleRedemptionRecordResponse {
|
|
|
420
420
|
}
|
|
421
421
|
|
|
422
422
|
/**
|
|
423
|
-
* Binance
|
|
423
|
+
* Binance Simple Earn REST API
|
|
424
424
|
*
|
|
425
|
-
* OpenAPI Specification for the Binance
|
|
425
|
+
* OpenAPI Specification for the Binance Simple Earn REST API
|
|
426
426
|
*
|
|
427
427
|
* The version of the OpenAPI document: 1.0.0
|
|
428
428
|
*
|
|
@@ -470,9 +470,9 @@ interface GetFlexibleRewardsHistoryResponseRowsInner {
|
|
|
470
470
|
}
|
|
471
471
|
|
|
472
472
|
/**
|
|
473
|
-
* Binance
|
|
473
|
+
* Binance Simple Earn REST API
|
|
474
474
|
*
|
|
475
|
-
* OpenAPI Specification for the Binance
|
|
475
|
+
* OpenAPI Specification for the Binance Simple Earn REST API
|
|
476
476
|
*
|
|
477
477
|
* The version of the OpenAPI document: 1.0.0
|
|
478
478
|
*
|
|
@@ -503,9 +503,9 @@ interface GetFlexibleRewardsHistoryResponse {
|
|
|
503
503
|
}
|
|
504
504
|
|
|
505
505
|
/**
|
|
506
|
-
* Binance
|
|
506
|
+
* Binance Simple Earn REST API
|
|
507
507
|
*
|
|
508
|
-
* OpenAPI Specification for the Binance
|
|
508
|
+
* OpenAPI Specification for the Binance Simple Earn REST API
|
|
509
509
|
*
|
|
510
510
|
* The version of the OpenAPI document: 1.0.0
|
|
511
511
|
*
|
|
@@ -559,9 +559,9 @@ interface GetFlexibleSubscriptionPreviewResponse {
|
|
|
559
559
|
}
|
|
560
560
|
|
|
561
561
|
/**
|
|
562
|
-
* Binance
|
|
562
|
+
* Binance Simple Earn REST API
|
|
563
563
|
*
|
|
564
|
-
* OpenAPI Specification for the Binance
|
|
564
|
+
* OpenAPI Specification for the Binance Simple Earn REST API
|
|
565
565
|
*
|
|
566
566
|
* The version of the OpenAPI document: 1.0.0
|
|
567
567
|
*
|
|
@@ -639,9 +639,9 @@ interface GetFlexibleSubscriptionRecordResponseRowsInner {
|
|
|
639
639
|
}
|
|
640
640
|
|
|
641
641
|
/**
|
|
642
|
-
* Binance
|
|
642
|
+
* Binance Simple Earn REST API
|
|
643
643
|
*
|
|
644
|
-
* OpenAPI Specification for the Binance
|
|
644
|
+
* OpenAPI Specification for the Binance Simple Earn REST API
|
|
645
645
|
*
|
|
646
646
|
* The version of the OpenAPI document: 1.0.0
|
|
647
647
|
*
|
|
@@ -672,9 +672,9 @@ interface GetFlexibleSubscriptionRecordResponse {
|
|
|
672
672
|
}
|
|
673
673
|
|
|
674
674
|
/**
|
|
675
|
-
* Binance
|
|
675
|
+
* Binance Simple Earn REST API
|
|
676
676
|
*
|
|
677
|
-
* OpenAPI Specification for the Binance
|
|
677
|
+
* OpenAPI Specification for the Binance Simple Earn REST API
|
|
678
678
|
*
|
|
679
679
|
* The version of the OpenAPI document: 1.0.0
|
|
680
680
|
*
|
|
@@ -698,9 +698,9 @@ interface GetLockedPersonalLeftQuotaResponse {
|
|
|
698
698
|
}
|
|
699
699
|
|
|
700
700
|
/**
|
|
701
|
-
* Binance
|
|
701
|
+
* Binance Simple Earn REST API
|
|
702
702
|
*
|
|
703
|
-
* OpenAPI Specification for the Binance
|
|
703
|
+
* OpenAPI Specification for the Binance Simple Earn REST API
|
|
704
704
|
*
|
|
705
705
|
* The version of the OpenAPI document: 1.0.0
|
|
706
706
|
*
|
|
@@ -916,9 +916,9 @@ interface GetLockedProductPositionResponseRowsInner {
|
|
|
916
916
|
}
|
|
917
917
|
|
|
918
918
|
/**
|
|
919
|
-
* Binance
|
|
919
|
+
* Binance Simple Earn REST API
|
|
920
920
|
*
|
|
921
|
-
* OpenAPI Specification for the Binance
|
|
921
|
+
* OpenAPI Specification for the Binance Simple Earn REST API
|
|
922
922
|
*
|
|
923
923
|
* The version of the OpenAPI document: 1.0.0
|
|
924
924
|
*
|
|
@@ -949,9 +949,9 @@ interface GetLockedProductPositionResponse {
|
|
|
949
949
|
}
|
|
950
950
|
|
|
951
951
|
/**
|
|
952
|
-
* Binance
|
|
952
|
+
* Binance Simple Earn REST API
|
|
953
953
|
*
|
|
954
|
-
* OpenAPI Specification for the Binance
|
|
954
|
+
* OpenAPI Specification for the Binance Simple Earn REST API
|
|
955
955
|
*
|
|
956
956
|
* The version of the OpenAPI document: 1.0.0
|
|
957
957
|
*
|
|
@@ -1065,9 +1065,9 @@ interface GetLockedRedemptionRecordResponseRowsInner {
|
|
|
1065
1065
|
}
|
|
1066
1066
|
|
|
1067
1067
|
/**
|
|
1068
|
-
* Binance
|
|
1068
|
+
* Binance Simple Earn REST API
|
|
1069
1069
|
*
|
|
1070
|
-
* OpenAPI Specification for the Binance
|
|
1070
|
+
* OpenAPI Specification for the Binance Simple Earn REST API
|
|
1071
1071
|
*
|
|
1072
1072
|
* The version of the OpenAPI document: 1.0.0
|
|
1073
1073
|
*
|
|
@@ -1098,9 +1098,9 @@ interface GetLockedRedemptionRecordResponse {
|
|
|
1098
1098
|
}
|
|
1099
1099
|
|
|
1100
1100
|
/**
|
|
1101
|
-
* Binance
|
|
1101
|
+
* Binance Simple Earn REST API
|
|
1102
1102
|
*
|
|
1103
|
-
* OpenAPI Specification for the Binance
|
|
1103
|
+
* OpenAPI Specification for the Binance Simple Earn REST API
|
|
1104
1104
|
*
|
|
1105
1105
|
* The version of the OpenAPI document: 1.0.0
|
|
1106
1106
|
*
|
|
@@ -1154,9 +1154,9 @@ interface GetLockedRewardsHistoryResponseRowsInner {
|
|
|
1154
1154
|
}
|
|
1155
1155
|
|
|
1156
1156
|
/**
|
|
1157
|
-
* Binance
|
|
1157
|
+
* Binance Simple Earn REST API
|
|
1158
1158
|
*
|
|
1159
|
-
* OpenAPI Specification for the Binance
|
|
1159
|
+
* OpenAPI Specification for the Binance Simple Earn REST API
|
|
1160
1160
|
*
|
|
1161
1161
|
* The version of the OpenAPI document: 1.0.0
|
|
1162
1162
|
*
|
|
@@ -1187,9 +1187,9 @@ interface GetLockedRewardsHistoryResponse {
|
|
|
1187
1187
|
}
|
|
1188
1188
|
|
|
1189
1189
|
/**
|
|
1190
|
-
* Binance
|
|
1190
|
+
* Binance Simple Earn REST API
|
|
1191
1191
|
*
|
|
1192
|
-
* OpenAPI Specification for the Binance
|
|
1192
|
+
* OpenAPI Specification for the Binance Simple Earn REST API
|
|
1193
1193
|
*
|
|
1194
1194
|
* The version of the OpenAPI document: 1.0.0
|
|
1195
1195
|
*
|
|
@@ -1279,9 +1279,9 @@ interface GetLockedSubscriptionPreviewResponseInner {
|
|
|
1279
1279
|
}
|
|
1280
1280
|
|
|
1281
1281
|
/**
|
|
1282
|
-
* Binance
|
|
1282
|
+
* Binance Simple Earn REST API
|
|
1283
1283
|
*
|
|
1284
|
-
* OpenAPI Specification for the Binance
|
|
1284
|
+
* OpenAPI Specification for the Binance Simple Earn REST API
|
|
1285
1285
|
*
|
|
1286
1286
|
* The version of the OpenAPI document: 1.0.0
|
|
1287
1287
|
*
|
|
@@ -1300,9 +1300,9 @@ interface GetLockedSubscriptionPreviewResponse extends Array<GetLockedSubscripti
|
|
|
1300
1300
|
}
|
|
1301
1301
|
|
|
1302
1302
|
/**
|
|
1303
|
-
* Binance
|
|
1303
|
+
* Binance Simple Earn REST API
|
|
1304
1304
|
*
|
|
1305
|
-
* OpenAPI Specification for the Binance
|
|
1305
|
+
* OpenAPI Specification for the Binance Simple Earn REST API
|
|
1306
1306
|
*
|
|
1307
1307
|
* The version of the OpenAPI document: 1.0.0
|
|
1308
1308
|
*
|
|
@@ -1392,9 +1392,9 @@ interface GetLockedSubscriptionRecordResponseRowsInner {
|
|
|
1392
1392
|
}
|
|
1393
1393
|
|
|
1394
1394
|
/**
|
|
1395
|
-
* Binance
|
|
1395
|
+
* Binance Simple Earn REST API
|
|
1396
1396
|
*
|
|
1397
|
-
* OpenAPI Specification for the Binance
|
|
1397
|
+
* OpenAPI Specification for the Binance Simple Earn REST API
|
|
1398
1398
|
*
|
|
1399
1399
|
* The version of the OpenAPI document: 1.0.0
|
|
1400
1400
|
*
|
|
@@ -1425,9 +1425,9 @@ interface GetLockedSubscriptionRecordResponse {
|
|
|
1425
1425
|
}
|
|
1426
1426
|
|
|
1427
1427
|
/**
|
|
1428
|
-
* Binance
|
|
1428
|
+
* Binance Simple Earn REST API
|
|
1429
1429
|
*
|
|
1430
|
-
* OpenAPI Specification for the Binance
|
|
1430
|
+
* OpenAPI Specification for the Binance Simple Earn REST API
|
|
1431
1431
|
*
|
|
1432
1432
|
* The version of the OpenAPI document: 1.0.0
|
|
1433
1433
|
*
|
|
@@ -1469,9 +1469,9 @@ interface GetRateHistoryResponseRowsInner {
|
|
|
1469
1469
|
}
|
|
1470
1470
|
|
|
1471
1471
|
/**
|
|
1472
|
-
* Binance
|
|
1472
|
+
* Binance Simple Earn REST API
|
|
1473
1473
|
*
|
|
1474
|
-
* OpenAPI Specification for the Binance
|
|
1474
|
+
* OpenAPI Specification for the Binance Simple Earn REST API
|
|
1475
1475
|
*
|
|
1476
1476
|
* The version of the OpenAPI document: 1.0.0
|
|
1477
1477
|
*
|
|
@@ -1502,9 +1502,9 @@ interface GetRateHistoryResponse {
|
|
|
1502
1502
|
}
|
|
1503
1503
|
|
|
1504
1504
|
/**
|
|
1505
|
-
* Binance
|
|
1505
|
+
* Binance Simple Earn REST API
|
|
1506
1506
|
*
|
|
1507
|
-
* OpenAPI Specification for the Binance
|
|
1507
|
+
* OpenAPI Specification for the Binance Simple Earn REST API
|
|
1508
1508
|
*
|
|
1509
1509
|
* The version of the OpenAPI document: 1.0.0
|
|
1510
1510
|
*
|
|
@@ -1595,9 +1595,9 @@ interface GetSimpleEarnFlexibleProductListResponseRowsInner {
|
|
|
1595
1595
|
}
|
|
1596
1596
|
|
|
1597
1597
|
/**
|
|
1598
|
-
* Binance
|
|
1598
|
+
* Binance Simple Earn REST API
|
|
1599
1599
|
*
|
|
1600
|
-
* OpenAPI Specification for the Binance
|
|
1600
|
+
* OpenAPI Specification for the Binance Simple Earn REST API
|
|
1601
1601
|
*
|
|
1602
1602
|
* The version of the OpenAPI document: 1.0.0
|
|
1603
1603
|
*
|
|
@@ -1628,9 +1628,9 @@ interface GetSimpleEarnFlexibleProductListResponse {
|
|
|
1628
1628
|
}
|
|
1629
1629
|
|
|
1630
1630
|
/**
|
|
1631
|
-
* Binance
|
|
1631
|
+
* Binance Simple Earn REST API
|
|
1632
1632
|
*
|
|
1633
|
-
* OpenAPI Specification for the Binance
|
|
1633
|
+
* OpenAPI Specification for the Binance Simple Earn REST API
|
|
1634
1634
|
*
|
|
1635
1635
|
* The version of the OpenAPI document: 1.0.0
|
|
1636
1636
|
*
|
|
@@ -1726,9 +1726,9 @@ interface GetSimpleEarnLockedProductListResponseRowsInnerDetail {
|
|
|
1726
1726
|
}
|
|
1727
1727
|
|
|
1728
1728
|
/**
|
|
1729
|
-
* Binance
|
|
1729
|
+
* Binance Simple Earn REST API
|
|
1730
1730
|
*
|
|
1731
|
-
* OpenAPI Specification for the Binance
|
|
1731
|
+
* OpenAPI Specification for the Binance Simple Earn REST API
|
|
1732
1732
|
*
|
|
1733
1733
|
* The version of the OpenAPI document: 1.0.0
|
|
1734
1734
|
*
|
|
@@ -1758,9 +1758,9 @@ interface GetSimpleEarnLockedProductListResponseRowsInnerQuota {
|
|
|
1758
1758
|
}
|
|
1759
1759
|
|
|
1760
1760
|
/**
|
|
1761
|
-
* Binance
|
|
1761
|
+
* Binance Simple Earn REST API
|
|
1762
1762
|
*
|
|
1763
|
-
* OpenAPI Specification for the Binance
|
|
1763
|
+
* OpenAPI Specification for the Binance Simple Earn REST API
|
|
1764
1764
|
*
|
|
1765
1765
|
* The version of the OpenAPI document: 1.0.0
|
|
1766
1766
|
*
|
|
@@ -1797,9 +1797,9 @@ interface GetSimpleEarnLockedProductListResponseRowsInner {
|
|
|
1797
1797
|
}
|
|
1798
1798
|
|
|
1799
1799
|
/**
|
|
1800
|
-
* Binance
|
|
1800
|
+
* Binance Simple Earn REST API
|
|
1801
1801
|
*
|
|
1802
|
-
* OpenAPI Specification for the Binance
|
|
1802
|
+
* OpenAPI Specification for the Binance Simple Earn REST API
|
|
1803
1803
|
*
|
|
1804
1804
|
* The version of the OpenAPI document: 1.0.0
|
|
1805
1805
|
*
|
|
@@ -1830,9 +1830,9 @@ interface GetSimpleEarnLockedProductListResponse {
|
|
|
1830
1830
|
}
|
|
1831
1831
|
|
|
1832
1832
|
/**
|
|
1833
|
-
* Binance
|
|
1833
|
+
* Binance Simple Earn REST API
|
|
1834
1834
|
*
|
|
1835
|
-
* OpenAPI Specification for the Binance
|
|
1835
|
+
* OpenAPI Specification for the Binance Simple Earn REST API
|
|
1836
1836
|
*
|
|
1837
1837
|
* The version of the OpenAPI document: 1.0.0
|
|
1838
1838
|
*
|
|
@@ -1862,9 +1862,9 @@ interface RedeemFlexibleProductResponse {
|
|
|
1862
1862
|
}
|
|
1863
1863
|
|
|
1864
1864
|
/**
|
|
1865
|
-
* Binance
|
|
1865
|
+
* Binance Simple Earn REST API
|
|
1866
1866
|
*
|
|
1867
|
-
* OpenAPI Specification for the Binance
|
|
1867
|
+
* OpenAPI Specification for the Binance Simple Earn REST API
|
|
1868
1868
|
*
|
|
1869
1869
|
* The version of the OpenAPI document: 1.0.0
|
|
1870
1870
|
*
|
|
@@ -1894,9 +1894,9 @@ interface RedeemLockedProductResponse {
|
|
|
1894
1894
|
}
|
|
1895
1895
|
|
|
1896
1896
|
/**
|
|
1897
|
-
* Binance
|
|
1897
|
+
* Binance Simple Earn REST API
|
|
1898
1898
|
*
|
|
1899
|
-
* OpenAPI Specification for the Binance
|
|
1899
|
+
* OpenAPI Specification for the Binance Simple Earn REST API
|
|
1900
1900
|
*
|
|
1901
1901
|
* The version of the OpenAPI document: 1.0.0
|
|
1902
1902
|
*
|
|
@@ -1920,9 +1920,9 @@ interface SetFlexibleAutoSubscribeResponse {
|
|
|
1920
1920
|
}
|
|
1921
1921
|
|
|
1922
1922
|
/**
|
|
1923
|
-
* Binance
|
|
1923
|
+
* Binance Simple Earn REST API
|
|
1924
1924
|
*
|
|
1925
|
-
* OpenAPI Specification for the Binance
|
|
1925
|
+
* OpenAPI Specification for the Binance Simple Earn REST API
|
|
1926
1926
|
*
|
|
1927
1927
|
* The version of the OpenAPI document: 1.0.0
|
|
1928
1928
|
*
|
|
@@ -1946,9 +1946,9 @@ interface SetLockedAutoSubscribeResponse {
|
|
|
1946
1946
|
}
|
|
1947
1947
|
|
|
1948
1948
|
/**
|
|
1949
|
-
* Binance
|
|
1949
|
+
* Binance Simple Earn REST API
|
|
1950
1950
|
*
|
|
1951
|
-
* OpenAPI Specification for the Binance
|
|
1951
|
+
* OpenAPI Specification for the Binance Simple Earn REST API
|
|
1952
1952
|
*
|
|
1953
1953
|
* The version of the OpenAPI document: 1.0.0
|
|
1954
1954
|
*
|
|
@@ -1972,9 +1972,9 @@ interface SetLockedProductRedeemOptionResponse {
|
|
|
1972
1972
|
}
|
|
1973
1973
|
|
|
1974
1974
|
/**
|
|
1975
|
-
* Binance
|
|
1975
|
+
* Binance Simple Earn REST API
|
|
1976
1976
|
*
|
|
1977
|
-
* OpenAPI Specification for the Binance
|
|
1977
|
+
* OpenAPI Specification for the Binance Simple Earn REST API
|
|
1978
1978
|
*
|
|
1979
1979
|
* The version of the OpenAPI document: 1.0.0
|
|
1980
1980
|
*
|
|
@@ -2028,9 +2028,9 @@ interface SimpleAccountResponse {
|
|
|
2028
2028
|
}
|
|
2029
2029
|
|
|
2030
2030
|
/**
|
|
2031
|
-
* Binance
|
|
2031
|
+
* Binance Simple Earn REST API
|
|
2032
2032
|
*
|
|
2033
|
-
* OpenAPI Specification for the Binance
|
|
2033
|
+
* OpenAPI Specification for the Binance Simple Earn REST API
|
|
2034
2034
|
*
|
|
2035
2035
|
* The version of the OpenAPI document: 1.0.0
|
|
2036
2036
|
*
|
|
@@ -2060,9 +2060,9 @@ interface SubscribeFlexibleProductResponse {
|
|
|
2060
2060
|
}
|
|
2061
2061
|
|
|
2062
2062
|
/**
|
|
2063
|
-
* Binance
|
|
2063
|
+
* Binance Simple Earn REST API
|
|
2064
2064
|
*
|
|
2065
|
-
* OpenAPI Specification for the Binance
|
|
2065
|
+
* OpenAPI Specification for the Binance Simple Earn REST API
|
|
2066
2066
|
*
|
|
2067
2067
|
* The version of the OpenAPI document: 1.0.0
|
|
2068
2068
|
*
|
|
@@ -2098,9 +2098,9 @@ interface SubscribeLockedProductResponse {
|
|
|
2098
2098
|
}
|
|
2099
2099
|
|
|
2100
2100
|
/**
|
|
2101
|
-
* Binance
|
|
2101
|
+
* Binance Simple Earn REST API
|
|
2102
2102
|
*
|
|
2103
|
-
* OpenAPI Specification for the Binance
|
|
2103
|
+
* OpenAPI Specification for the Binance Simple Earn REST API
|
|
2104
2104
|
*
|
|
2105
2105
|
* The version of the OpenAPI document: 1.0.0
|
|
2106
2106
|
*
|
|
@@ -2492,9 +2492,9 @@ declare class AccountApi implements AccountApiInterface {
|
|
|
2492
2492
|
}
|
|
2493
2493
|
|
|
2494
2494
|
/**
|
|
2495
|
-
* Binance
|
|
2495
|
+
* Binance Simple Earn REST API
|
|
2496
2496
|
*
|
|
2497
|
-
* OpenAPI Specification for the Binance
|
|
2497
|
+
* OpenAPI Specification for the Binance Simple Earn REST API
|
|
2498
2498
|
*
|
|
2499
2499
|
* The version of the OpenAPI document: 1.0.0
|
|
2500
2500
|
*
|
|
@@ -3020,9 +3020,9 @@ declare class EarnApi implements EarnApiInterface {
|
|
|
3020
3020
|
}
|
|
3021
3021
|
|
|
3022
3022
|
/**
|
|
3023
|
-
* Binance
|
|
3023
|
+
* Binance Simple Earn REST API
|
|
3024
3024
|
*
|
|
3025
|
-
* OpenAPI Specification for the Binance
|
|
3025
|
+
* OpenAPI Specification for the Binance Simple Earn REST API
|
|
3026
3026
|
*
|
|
3027
3027
|
* The version of the OpenAPI document: 1.0.0
|
|
3028
3028
|
*
|
|
@@ -3707,9 +3707,9 @@ declare class HistoryApi implements HistoryApiInterface {
|
|
|
3707
3707
|
}
|
|
3708
3708
|
|
|
3709
3709
|
/**
|
|
3710
|
-
* Binance
|
|
3710
|
+
* Binance Simple Earn REST API
|
|
3711
3711
|
*
|
|
3712
|
-
* OpenAPI Specification for the Binance
|
|
3712
|
+
* OpenAPI Specification for the Binance Simple Earn REST API
|
|
3713
3713
|
*
|
|
3714
3714
|
* The version of the OpenAPI document: 1.0.0
|
|
3715
3715
|
*
|
|
@@ -4084,9 +4084,9 @@ declare class RestAPI {
|
|
|
4084
4084
|
}
|
|
4085
4085
|
|
|
4086
4086
|
/**
|
|
4087
|
-
* Binance
|
|
4087
|
+
* Binance Simple Earn REST API
|
|
4088
4088
|
*
|
|
4089
|
-
* OpenAPI Specification for the Binance
|
|
4089
|
+
* OpenAPI Specification for the Binance Simple Earn REST API
|
|
4090
4090
|
*
|
|
4091
4091
|
* The version of the OpenAPI document: 1.0.0
|
|
4092
4092
|
*
|
|
@@ -4173,80 +4173,7 @@ type index_SubscribeFlexibleProductResponse = SubscribeFlexibleProductResponse;
|
|
|
4173
4173
|
type index_SubscribeLockedProductRequest = SubscribeLockedProductRequest;
|
|
4174
4174
|
type index_SubscribeLockedProductResponse = SubscribeLockedProductResponse;
|
|
4175
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
|
-
};
|
|
4176
|
+
export { index_AccountApi as AccountApi, type index_AccountApiInterface as AccountApiInterface, type index_BadRequest as BadRequest, index_EarnApi as EarnApi, type index_EarnApiInterface as EarnApiInterface, type index_GetCollateralRecordRequest as GetCollateralRecordRequest, type index_GetCollateralRecordResponse as GetCollateralRecordResponse, type index_GetCollateralRecordResponseRowsInner as GetCollateralRecordResponseRowsInner, type index_GetFlexiblePersonalLeftQuotaRequest as GetFlexiblePersonalLeftQuotaRequest, type index_GetFlexiblePersonalLeftQuotaResponse as GetFlexiblePersonalLeftQuotaResponse, type index_GetFlexibleProductPositionRequest as GetFlexibleProductPositionRequest, type index_GetFlexibleProductPositionResponse as GetFlexibleProductPositionResponse, type index_GetFlexibleProductPositionResponseRowsInner as GetFlexibleProductPositionResponseRowsInner, type index_GetFlexibleProductPositionResponseRowsInnerTierAnnualPercentageRate as GetFlexibleProductPositionResponseRowsInnerTierAnnualPercentageRate, type index_GetFlexibleRedemptionRecordRequest as GetFlexibleRedemptionRecordRequest, type index_GetFlexibleRedemptionRecordResponse as GetFlexibleRedemptionRecordResponse, type index_GetFlexibleRedemptionRecordResponseRowsInner as GetFlexibleRedemptionRecordResponseRowsInner, type index_GetFlexibleRewardsHistoryRequest as GetFlexibleRewardsHistoryRequest, type index_GetFlexibleRewardsHistoryResponse as GetFlexibleRewardsHistoryResponse, type index_GetFlexibleRewardsHistoryResponseRowsInner as GetFlexibleRewardsHistoryResponseRowsInner, type index_GetFlexibleSubscriptionPreviewRequest as GetFlexibleSubscriptionPreviewRequest, type index_GetFlexibleSubscriptionPreviewResponse as GetFlexibleSubscriptionPreviewResponse, type index_GetFlexibleSubscriptionRecordRequest as GetFlexibleSubscriptionRecordRequest, type index_GetFlexibleSubscriptionRecordResponse as GetFlexibleSubscriptionRecordResponse, type index_GetFlexibleSubscriptionRecordResponseRowsInner as GetFlexibleSubscriptionRecordResponseRowsInner, type index_GetLockedPersonalLeftQuotaRequest as GetLockedPersonalLeftQuotaRequest, type index_GetLockedPersonalLeftQuotaResponse as GetLockedPersonalLeftQuotaResponse, type index_GetLockedProductPositionRequest as GetLockedProductPositionRequest, type index_GetLockedProductPositionResponse as GetLockedProductPositionResponse, type index_GetLockedProductPositionResponseRowsInner as GetLockedProductPositionResponseRowsInner, type index_GetLockedRedemptionRecordRequest as GetLockedRedemptionRecordRequest, type index_GetLockedRedemptionRecordResponse as GetLockedRedemptionRecordResponse, type index_GetLockedRedemptionRecordResponseRowsInner as GetLockedRedemptionRecordResponseRowsInner, type index_GetLockedRewardsHistoryRequest as GetLockedRewardsHistoryRequest, type index_GetLockedRewardsHistoryResponse as GetLockedRewardsHistoryResponse, type index_GetLockedRewardsHistoryResponseRowsInner as GetLockedRewardsHistoryResponseRowsInner, type index_GetLockedSubscriptionPreviewRequest as GetLockedSubscriptionPreviewRequest, type index_GetLockedSubscriptionPreviewResponse as GetLockedSubscriptionPreviewResponse, type index_GetLockedSubscriptionPreviewResponseInner as GetLockedSubscriptionPreviewResponseInner, type index_GetLockedSubscriptionRecordRequest as GetLockedSubscriptionRecordRequest, type index_GetLockedSubscriptionRecordResponse as GetLockedSubscriptionRecordResponse, type index_GetLockedSubscriptionRecordResponseRowsInner as GetLockedSubscriptionRecordResponseRowsInner, type index_GetRateHistoryRequest as GetRateHistoryRequest, type index_GetRateHistoryResponse as GetRateHistoryResponse, type index_GetRateHistoryResponseRowsInner as GetRateHistoryResponseRowsInner, type index_GetSimpleEarnFlexibleProductListRequest as GetSimpleEarnFlexibleProductListRequest, type index_GetSimpleEarnFlexibleProductListResponse as GetSimpleEarnFlexibleProductListResponse, type index_GetSimpleEarnFlexibleProductListResponseRowsInner as GetSimpleEarnFlexibleProductListResponseRowsInner, type index_GetSimpleEarnLockedProductListRequest as GetSimpleEarnLockedProductListRequest, type index_GetSimpleEarnLockedProductListResponse as GetSimpleEarnLockedProductListResponse, type index_GetSimpleEarnLockedProductListResponseRowsInner as GetSimpleEarnLockedProductListResponseRowsInner, type index_GetSimpleEarnLockedProductListResponseRowsInnerDetail as GetSimpleEarnLockedProductListResponseRowsInnerDetail, type index_GetSimpleEarnLockedProductListResponseRowsInnerQuota as GetSimpleEarnLockedProductListResponseRowsInnerQuota, index_HistoryApi as HistoryApi, type index_HistoryApiInterface as HistoryApiInterface, type index_RedeemFlexibleProductRequest as RedeemFlexibleProductRequest, type index_RedeemFlexibleProductResponse as RedeemFlexibleProductResponse, type index_RedeemLockedProductRequest as RedeemLockedProductRequest, type index_RedeemLockedProductResponse as RedeemLockedProductResponse, index_RestAPI as RestAPI, type index_SetFlexibleAutoSubscribeRequest as SetFlexibleAutoSubscribeRequest, type index_SetFlexibleAutoSubscribeResponse as SetFlexibleAutoSubscribeResponse, type index_SetLockedAutoSubscribeRequest as SetLockedAutoSubscribeRequest, type index_SetLockedAutoSubscribeResponse as SetLockedAutoSubscribeResponse, type index_SetLockedProductRedeemOptionRequest as SetLockedProductRedeemOptionRequest, type index_SetLockedProductRedeemOptionResponse as SetLockedProductRedeemOptionResponse, type index_SimpleAccountRequest as SimpleAccountRequest, type index_SimpleAccountResponse as SimpleAccountResponse, type index_SubscribeFlexibleProductRequest as SubscribeFlexibleProductRequest, type index_SubscribeFlexibleProductResponse as SubscribeFlexibleProductResponse, type index_SubscribeLockedProductRequest as SubscribeLockedProductRequest, type index_SubscribeLockedProductResponse as SubscribeLockedProductResponse };
|
|
4250
4177
|
}
|
|
4251
4178
|
|
|
4252
4179
|
interface ConfigurationSimpleEarn {
|
|
@@ -4257,4 +4184,4 @@ declare class SimpleEarn {
|
|
|
4257
4184
|
constructor(config: ConfigurationSimpleEarn);
|
|
4258
4185
|
}
|
|
4259
4186
|
|
|
4260
|
-
export { ConfigurationSimpleEarn, SimpleEarn, index as SimpleEarnRestAPI };
|
|
4187
|
+
export { type ConfigurationSimpleEarn, SimpleEarn, index as SimpleEarnRestAPI };
|