zklighter-perps 1.0.287 → 1.0.288
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/.openapi-generator/FILES +3 -0
- package/apis/InfoApi.ts +0 -10
- package/apis/index.ts +1 -0
- package/models/ReqGetTransferFeeInfo.ts +0 -8
- package/models/index.ts +2 -0
- package/openapi.json +89 -18
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -9,6 +9,7 @@ apis/FundingApi.ts
|
|
|
9
9
|
apis/GeckoApi.ts
|
|
10
10
|
apis/GeoApi.ts
|
|
11
11
|
apis/InfoApi.ts
|
|
12
|
+
apis/LivepointsApi.ts
|
|
12
13
|
apis/MarketnewsApi.ts
|
|
13
14
|
apis/NotificationApi.ts
|
|
14
15
|
apis/OrderApi.ts
|
|
@@ -92,6 +93,7 @@ models/LiqTrade.ts
|
|
|
92
93
|
models/Liquidation.ts
|
|
93
94
|
models/LiquidationInfo.ts
|
|
94
95
|
models/LiquidationInfos.ts
|
|
96
|
+
models/LivePointsTotal.ts
|
|
95
97
|
models/MarkPriceCandle.ts
|
|
96
98
|
models/MarkPriceCandles.ts
|
|
97
99
|
models/MarketConfig.ts
|
|
@@ -168,6 +170,7 @@ models/ReqGetLatestDeposit.ts
|
|
|
168
170
|
models/ReqGetLeaderboard.ts
|
|
169
171
|
models/ReqGetLeases.ts
|
|
170
172
|
models/ReqGetLiquidationInfos.ts
|
|
173
|
+
models/ReqGetLivePointsTotal.ts
|
|
171
174
|
models/ReqGetMakerOnlyApiKeys.ts
|
|
172
175
|
models/ReqGetMarkPriceCandles.ts
|
|
173
176
|
models/ReqGetMarketMetrics.ts
|
package/apis/InfoApi.ts
CHANGED
|
@@ -50,8 +50,6 @@ export interface SyntheticSpotInfoRequest {
|
|
|
50
50
|
|
|
51
51
|
export interface TransferFeeInfoRequest {
|
|
52
52
|
account_index: number;
|
|
53
|
-
authorization?: string;
|
|
54
|
-
auth?: string;
|
|
55
53
|
to_account_index?: number;
|
|
56
54
|
}
|
|
57
55
|
|
|
@@ -208,14 +206,6 @@ export class InfoApi extends runtime.BaseAPI {
|
|
|
208
206
|
|
|
209
207
|
const queryParameters: any = {};
|
|
210
208
|
|
|
211
|
-
if (requestParameters['authorization'] != null) {
|
|
212
|
-
queryParameters['authorization'] = requestParameters['authorization'];
|
|
213
|
-
}
|
|
214
|
-
|
|
215
|
-
if (requestParameters['auth'] != null) {
|
|
216
|
-
queryParameters['auth'] = requestParameters['auth'];
|
|
217
|
-
}
|
|
218
|
-
|
|
219
209
|
if (requestParameters['account_index'] != null) {
|
|
220
210
|
queryParameters['account_index'] = requestParameters['account_index'];
|
|
221
211
|
}
|
package/apis/index.ts
CHANGED
|
@@ -19,12 +19,6 @@ import { mapValues } from '../runtime';
|
|
|
19
19
|
* @interface ReqGetTransferFeeInfo
|
|
20
20
|
*/
|
|
21
21
|
export interface ReqGetTransferFeeInfo {
|
|
22
|
-
/**
|
|
23
|
-
* made optional to support header auth clients
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof ReqGetTransferFeeInfo
|
|
26
|
-
*/
|
|
27
|
-
auth?: string;
|
|
28
22
|
/**
|
|
29
23
|
*
|
|
30
24
|
* @type {number}
|
|
@@ -57,7 +51,6 @@ export function ReqGetTransferFeeInfoFromJSONTyped(json: any, ignoreDiscriminato
|
|
|
57
51
|
}
|
|
58
52
|
return {
|
|
59
53
|
|
|
60
|
-
'auth': json['auth'] == null ? undefined : json['auth'],
|
|
61
54
|
'account_index': json['account_index'],
|
|
62
55
|
'to_account_index': json['to_account_index'] == null ? undefined : json['to_account_index'],
|
|
63
56
|
};
|
|
@@ -69,7 +62,6 @@ export function ReqGetTransferFeeInfoToJSON(value?: ReqGetTransferFeeInfo | null
|
|
|
69
62
|
}
|
|
70
63
|
return {
|
|
71
64
|
|
|
72
|
-
'auth': value['auth'],
|
|
73
65
|
'account_index': value['account_index'],
|
|
74
66
|
'to_account_index': value['to_account_index'],
|
|
75
67
|
};
|
package/models/index.ts
CHANGED
|
@@ -71,6 +71,7 @@ export * from './LiqTrade';
|
|
|
71
71
|
export * from './Liquidation';
|
|
72
72
|
export * from './LiquidationInfo';
|
|
73
73
|
export * from './LiquidationInfos';
|
|
74
|
+
export * from './LivePointsTotal';
|
|
74
75
|
export * from './MarkPriceCandle';
|
|
75
76
|
export * from './MarkPriceCandles';
|
|
76
77
|
export * from './MarketConfig';
|
|
@@ -147,6 +148,7 @@ export * from './ReqGetLatestDeposit';
|
|
|
147
148
|
export * from './ReqGetLeaderboard';
|
|
148
149
|
export * from './ReqGetLeases';
|
|
149
150
|
export * from './ReqGetLiquidationInfos';
|
|
151
|
+
export * from './ReqGetLivePointsTotal';
|
|
150
152
|
export * from './ReqGetMakerOnlyApiKeys';
|
|
151
153
|
export * from './ReqGetMarkPriceCandles';
|
|
152
154
|
export * from './ReqGetMarketMetrics';
|
package/openapi.json
CHANGED
|
@@ -2696,6 +2696,56 @@
|
|
|
2696
2696
|
"description": "Submit LIT lease transfer"
|
|
2697
2697
|
}
|
|
2698
2698
|
},
|
|
2699
|
+
"/api/v1/livePoints/total": {
|
|
2700
|
+
"get": {
|
|
2701
|
+
"summary": "livePoints_total",
|
|
2702
|
+
"operationId": "livePoints_total",
|
|
2703
|
+
"responses": {
|
|
2704
|
+
"200": {
|
|
2705
|
+
"description": "A successful response.",
|
|
2706
|
+
"schema": {
|
|
2707
|
+
"$ref": "#/definitions/LivePointsTotal"
|
|
2708
|
+
}
|
|
2709
|
+
},
|
|
2710
|
+
"400": {
|
|
2711
|
+
"description": "Bad request",
|
|
2712
|
+
"schema": {
|
|
2713
|
+
"$ref": "#/definitions/ResultCode"
|
|
2714
|
+
}
|
|
2715
|
+
}
|
|
2716
|
+
},
|
|
2717
|
+
"parameters": [
|
|
2718
|
+
{
|
|
2719
|
+
"name": "authorization",
|
|
2720
|
+
"description": " make required after integ is done",
|
|
2721
|
+
"in": "query",
|
|
2722
|
+
"required": false,
|
|
2723
|
+
"type": "string"
|
|
2724
|
+
},
|
|
2725
|
+
{
|
|
2726
|
+
"name": "auth",
|
|
2727
|
+
"description": " made optional to support header auth clients",
|
|
2728
|
+
"in": "query",
|
|
2729
|
+
"required": false,
|
|
2730
|
+
"type": "string"
|
|
2731
|
+
},
|
|
2732
|
+
{
|
|
2733
|
+
"name": "account_index",
|
|
2734
|
+
"in": "query",
|
|
2735
|
+
"required": true,
|
|
2736
|
+
"type": "integer",
|
|
2737
|
+
"format": "int64"
|
|
2738
|
+
}
|
|
2739
|
+
],
|
|
2740
|
+
"tags": [
|
|
2741
|
+
"livepoints"
|
|
2742
|
+
],
|
|
2743
|
+
"consumes": [
|
|
2744
|
+
"multipart/form-data"
|
|
2745
|
+
],
|
|
2746
|
+
"description": "Get RH live points total for an account"
|
|
2747
|
+
}
|
|
2748
|
+
},
|
|
2699
2749
|
"/api/v1/markPriceCandles": {
|
|
2700
2750
|
"get": {
|
|
2701
2751
|
"summary": "markPriceCandles",
|
|
@@ -5076,20 +5126,6 @@
|
|
|
5076
5126
|
}
|
|
5077
5127
|
},
|
|
5078
5128
|
"parameters": [
|
|
5079
|
-
{
|
|
5080
|
-
"name": "authorization",
|
|
5081
|
-
"description": " make required after integ is done",
|
|
5082
|
-
"in": "query",
|
|
5083
|
-
"required": false,
|
|
5084
|
-
"type": "string"
|
|
5085
|
-
},
|
|
5086
|
-
{
|
|
5087
|
-
"name": "auth",
|
|
5088
|
-
"description": " made optional to support header auth clients",
|
|
5089
|
-
"in": "query",
|
|
5090
|
-
"required": false,
|
|
5091
|
-
"type": "string"
|
|
5092
|
-
},
|
|
5093
5129
|
{
|
|
5094
5130
|
"name": "account_index",
|
|
5095
5131
|
"in": "query",
|
|
@@ -8632,6 +8668,28 @@
|
|
|
8632
8668
|
"liquidations"
|
|
8633
8669
|
]
|
|
8634
8670
|
},
|
|
8671
|
+
"LivePointsTotal": {
|
|
8672
|
+
"type": "object",
|
|
8673
|
+
"properties": {
|
|
8674
|
+
"code": {
|
|
8675
|
+
"type": "integer",
|
|
8676
|
+
"format": "int32",
|
|
8677
|
+
"example": "200"
|
|
8678
|
+
},
|
|
8679
|
+
"message": {
|
|
8680
|
+
"type": "string"
|
|
8681
|
+
},
|
|
8682
|
+
"total_live_points": {
|
|
8683
|
+
"type": "number",
|
|
8684
|
+
"format": "double"
|
|
8685
|
+
}
|
|
8686
|
+
},
|
|
8687
|
+
"title": "LivePointsTotal",
|
|
8688
|
+
"required": [
|
|
8689
|
+
"code",
|
|
8690
|
+
"total_live_points"
|
|
8691
|
+
]
|
|
8692
|
+
},
|
|
8635
8693
|
"MarkPriceCandle": {
|
|
8636
8694
|
"type": "object",
|
|
8637
8695
|
"properties": {
|
|
@@ -12020,6 +12078,23 @@
|
|
|
12020
12078
|
"limit"
|
|
12021
12079
|
]
|
|
12022
12080
|
},
|
|
12081
|
+
"ReqGetLivePointsTotal": {
|
|
12082
|
+
"type": "object",
|
|
12083
|
+
"properties": {
|
|
12084
|
+
"auth": {
|
|
12085
|
+
"type": "string",
|
|
12086
|
+
"description": " made optional to support header auth clients"
|
|
12087
|
+
},
|
|
12088
|
+
"account_index": {
|
|
12089
|
+
"type": "integer",
|
|
12090
|
+
"format": "int64"
|
|
12091
|
+
}
|
|
12092
|
+
},
|
|
12093
|
+
"title": "ReqGetLivePointsTotal",
|
|
12094
|
+
"required": [
|
|
12095
|
+
"account_index"
|
|
12096
|
+
]
|
|
12097
|
+
},
|
|
12023
12098
|
"ReqGetMakerOnlyApiKeys": {
|
|
12024
12099
|
"type": "object",
|
|
12025
12100
|
"properties": {
|
|
@@ -12620,10 +12695,6 @@
|
|
|
12620
12695
|
"ReqGetTransferFeeInfo": {
|
|
12621
12696
|
"type": "object",
|
|
12622
12697
|
"properties": {
|
|
12623
|
-
"auth": {
|
|
12624
|
-
"type": "string",
|
|
12625
|
-
"description": " made optional to support header auth clients"
|
|
12626
|
-
},
|
|
12627
12698
|
"account_index": {
|
|
12628
12699
|
"type": "integer",
|
|
12629
12700
|
"format": "int64"
|