zklighter-perps 1.0.312 → 1.0.313
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 +0 -10
- package/models/ReqGetTrades.ts +0 -8
- package/openapi.json +0 -18
- package/package.json +1 -1
package/apis/OrderApi.ts
CHANGED
|
@@ -149,8 +149,6 @@ export interface RecentTradesRequest {
|
|
|
149
149
|
export interface TradesRequest {
|
|
150
150
|
sort_by: TradesSortByEnum;
|
|
151
151
|
limit: number;
|
|
152
|
-
authorization?: string;
|
|
153
|
-
auth?: string;
|
|
154
152
|
market_id?: number;
|
|
155
153
|
market_type?: TradesMarketTypeEnum;
|
|
156
154
|
account_index?: number;
|
|
@@ -893,14 +891,6 @@ export class OrderApi extends runtime.BaseAPI {
|
|
|
893
891
|
|
|
894
892
|
const queryParameters: any = {};
|
|
895
893
|
|
|
896
|
-
if (requestParameters['authorization'] != null) {
|
|
897
|
-
queryParameters['authorization'] = requestParameters['authorization'];
|
|
898
|
-
}
|
|
899
|
-
|
|
900
|
-
if (requestParameters['auth'] != null) {
|
|
901
|
-
queryParameters['auth'] = requestParameters['auth'];
|
|
902
|
-
}
|
|
903
|
-
|
|
904
894
|
if (requestParameters['market_id'] != null) {
|
|
905
895
|
queryParameters['market_id'] = requestParameters['market_id'];
|
|
906
896
|
}
|
package/models/ReqGetTrades.ts
CHANGED
|
@@ -19,12 +19,6 @@ import { mapValues } from '../runtime';
|
|
|
19
19
|
* @interface ReqGetTrades
|
|
20
20
|
*/
|
|
21
21
|
export interface ReqGetTrades {
|
|
22
|
-
/**
|
|
23
|
-
* made optional to support header auth clients
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof ReqGetTrades
|
|
26
|
-
*/
|
|
27
|
-
auth?: string;
|
|
28
22
|
/**
|
|
29
23
|
*
|
|
30
24
|
* @type {number}
|
|
@@ -195,7 +189,6 @@ export function ReqGetTradesFromJSONTyped(json: any, ignoreDiscriminator: boolea
|
|
|
195
189
|
}
|
|
196
190
|
return {
|
|
197
191
|
|
|
198
|
-
'auth': json['auth'] == null ? undefined : json['auth'],
|
|
199
192
|
'market_id': json['market_id'] == null ? undefined : json['market_id'],
|
|
200
193
|
'market_type': json['market_type'] == null ? undefined : json['market_type'],
|
|
201
194
|
'account_index': json['account_index'] == null ? undefined : json['account_index'],
|
|
@@ -221,7 +214,6 @@ export function ReqGetTradesToJSON(value?: ReqGetTrades | null): any {
|
|
|
221
214
|
}
|
|
222
215
|
return {
|
|
223
216
|
|
|
224
|
-
'auth': value['auth'],
|
|
225
217
|
'market_id': value['market_id'],
|
|
226
218
|
'market_type': value['market_type'],
|
|
227
219
|
'account_index': value['account_index'],
|
package/openapi.json
CHANGED
|
@@ -6322,20 +6322,6 @@
|
|
|
6322
6322
|
}
|
|
6323
6323
|
},
|
|
6324
6324
|
"parameters": [
|
|
6325
|
-
{
|
|
6326
|
-
"name": "authorization",
|
|
6327
|
-
"description": " make required after integ is done",
|
|
6328
|
-
"in": "query",
|
|
6329
|
-
"required": false,
|
|
6330
|
-
"type": "string"
|
|
6331
|
-
},
|
|
6332
|
-
{
|
|
6333
|
-
"name": "auth",
|
|
6334
|
-
"description": " made optional to support header auth clients",
|
|
6335
|
-
"in": "query",
|
|
6336
|
-
"required": false,
|
|
6337
|
-
"type": "string"
|
|
6338
|
-
},
|
|
6339
6325
|
{
|
|
6340
6326
|
"name": "market_id",
|
|
6341
6327
|
"in": "query",
|
|
@@ -16210,10 +16196,6 @@
|
|
|
16210
16196
|
"ReqGetTrades": {
|
|
16211
16197
|
"type": "object",
|
|
16212
16198
|
"properties": {
|
|
16213
|
-
"auth": {
|
|
16214
|
-
"type": "string",
|
|
16215
|
-
"description": " made optional to support header auth clients"
|
|
16216
|
-
},
|
|
16217
16199
|
"market_id": {
|
|
16218
16200
|
"type": "integer",
|
|
16219
16201
|
"format": "int64",
|