zklighter-perps 1.0.353 → 1.0.354
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/apis/OrderApi.ts +10 -0
- package/models/ReqGetAggregatedTrades.ts +16 -0
- package/openapi.json +28 -2
- package/package.json +1 -1
package/apis/OrderApi.ts
CHANGED
|
@@ -114,6 +114,8 @@ export interface AggregatedTradesRequest {
|
|
|
114
114
|
ask_filter?: number;
|
|
115
115
|
role?: AggregatedTradesRoleEnum;
|
|
116
116
|
type?: AggregatedTradesTypeEnum;
|
|
117
|
+
start_timestamp?: number;
|
|
118
|
+
end_timestamp?: number;
|
|
117
119
|
limit?: number;
|
|
118
120
|
}
|
|
119
121
|
|
|
@@ -498,6 +500,14 @@ export class OrderApi extends runtime.BaseAPI {
|
|
|
498
500
|
queryParameters['type'] = requestParameters['type'];
|
|
499
501
|
}
|
|
500
502
|
|
|
503
|
+
if (requestParameters['start_timestamp'] != null) {
|
|
504
|
+
queryParameters['start_timestamp'] = requestParameters['start_timestamp'];
|
|
505
|
+
}
|
|
506
|
+
|
|
507
|
+
if (requestParameters['end_timestamp'] != null) {
|
|
508
|
+
queryParameters['end_timestamp'] = requestParameters['end_timestamp'];
|
|
509
|
+
}
|
|
510
|
+
|
|
501
511
|
if (requestParameters['limit'] != null) {
|
|
502
512
|
queryParameters['limit'] = requestParameters['limit'];
|
|
503
513
|
}
|
|
@@ -67,6 +67,18 @@ export interface ReqGetAggregatedTrades {
|
|
|
67
67
|
* @memberof ReqGetAggregatedTrades
|
|
68
68
|
*/
|
|
69
69
|
type?: ReqGetAggregatedTradesTypeEnum;
|
|
70
|
+
/**
|
|
71
|
+
* Inclusive aggregate-row last_timestamp bound in milliseconds.
|
|
72
|
+
* @type {number}
|
|
73
|
+
* @memberof ReqGetAggregatedTrades
|
|
74
|
+
*/
|
|
75
|
+
start_timestamp?: number;
|
|
76
|
+
/**
|
|
77
|
+
* Exclusive aggregate-row last_timestamp bound in milliseconds.
|
|
78
|
+
* @type {number}
|
|
79
|
+
* @memberof ReqGetAggregatedTrades
|
|
80
|
+
*/
|
|
81
|
+
end_timestamp?: number;
|
|
70
82
|
/**
|
|
71
83
|
*
|
|
72
84
|
* @type {number}
|
|
@@ -133,6 +145,8 @@ export function ReqGetAggregatedTradesFromJSONTyped(json: any, ignoreDiscriminat
|
|
|
133
145
|
'ask_filter': json['ask_filter'] == null ? undefined : json['ask_filter'],
|
|
134
146
|
'role': json['role'] == null ? undefined : json['role'],
|
|
135
147
|
'type': json['type'] == null ? undefined : json['type'],
|
|
148
|
+
'start_timestamp': json['start_timestamp'] == null ? undefined : json['start_timestamp'],
|
|
149
|
+
'end_timestamp': json['end_timestamp'] == null ? undefined : json['end_timestamp'],
|
|
136
150
|
'limit': json['limit'] == null ? undefined : json['limit'],
|
|
137
151
|
};
|
|
138
152
|
}
|
|
@@ -151,6 +165,8 @@ export function ReqGetAggregatedTradesToJSON(value?: ReqGetAggregatedTrades | nu
|
|
|
151
165
|
'ask_filter': value['ask_filter'],
|
|
152
166
|
'role': value['role'],
|
|
153
167
|
'type': value['type'],
|
|
168
|
+
'start_timestamp': value['start_timestamp'],
|
|
169
|
+
'end_timestamp': value['end_timestamp'],
|
|
154
170
|
'limit': value['limit'],
|
|
155
171
|
};
|
|
156
172
|
}
|
package/openapi.json
CHANGED
|
@@ -661,6 +661,22 @@
|
|
|
661
661
|
"market_settlement"
|
|
662
662
|
]
|
|
663
663
|
},
|
|
664
|
+
{
|
|
665
|
+
"name": "start_timestamp",
|
|
666
|
+
"description": " Inclusive aggregate-row last_timestamp bound in milliseconds.",
|
|
667
|
+
"in": "query",
|
|
668
|
+
"required": false,
|
|
669
|
+
"type": "integer",
|
|
670
|
+
"format": "int64"
|
|
671
|
+
},
|
|
672
|
+
{
|
|
673
|
+
"name": "end_timestamp",
|
|
674
|
+
"description": " Exclusive aggregate-row last_timestamp bound in milliseconds.",
|
|
675
|
+
"in": "query",
|
|
676
|
+
"required": false,
|
|
677
|
+
"type": "integer",
|
|
678
|
+
"format": "int64"
|
|
679
|
+
},
|
|
664
680
|
{
|
|
665
681
|
"name": "limit",
|
|
666
682
|
"in": "query",
|
|
@@ -669,7 +685,7 @@
|
|
|
669
685
|
"format": "int64",
|
|
670
686
|
"default": "100",
|
|
671
687
|
"minimum": 1,
|
|
672
|
-
"maximum":
|
|
688
|
+
"maximum": 1000
|
|
673
689
|
}
|
|
674
690
|
],
|
|
675
691
|
"tags": [
|
|
@@ -18026,11 +18042,21 @@
|
|
|
18026
18042
|
"market_settlement"
|
|
18027
18043
|
]
|
|
18028
18044
|
},
|
|
18045
|
+
"start_timestamp": {
|
|
18046
|
+
"type": "integer",
|
|
18047
|
+
"format": "int64",
|
|
18048
|
+
"description": " Inclusive aggregate-row last_timestamp bound in milliseconds."
|
|
18049
|
+
},
|
|
18050
|
+
"end_timestamp": {
|
|
18051
|
+
"type": "integer",
|
|
18052
|
+
"format": "int64",
|
|
18053
|
+
"description": " Exclusive aggregate-row last_timestamp bound in milliseconds."
|
|
18054
|
+
},
|
|
18029
18055
|
"limit": {
|
|
18030
18056
|
"type": "integer",
|
|
18031
18057
|
"format": "int64",
|
|
18032
18058
|
"default": "100",
|
|
18033
|
-
"maximum":
|
|
18059
|
+
"maximum": 1000,
|
|
18034
18060
|
"minimum": 1
|
|
18035
18061
|
}
|
|
18036
18062
|
},
|