zklighter-perps 1.0.49 → 1.0.50

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 CHANGED
@@ -49,6 +49,7 @@ export interface AccountInactiveOrdersRequest {
49
49
  account_index: number;
50
50
  limit: number;
51
51
  market_id?: number;
52
+ ask_filter?: number;
52
53
  cursor?: string;
53
54
  }
54
55
 
@@ -173,6 +174,10 @@ export class OrderApi extends runtime.BaseAPI {
173
174
  queryParameters['market_id'] = requestParameters['market_id'];
174
175
  }
175
176
 
177
+ if (requestParameters['ask_filter'] != null) {
178
+ queryParameters['ask_filter'] = requestParameters['ask_filter'];
179
+ }
180
+
176
181
  if (requestParameters['cursor'] != null) {
177
182
  queryParameters['cursor'] = requestParameters['cursor'];
178
183
  }
@@ -31,6 +31,12 @@ export interface ReqGetAccountInactiveOrders {
31
31
  * @memberof ReqGetAccountInactiveOrders
32
32
  */
33
33
  market_id?: number;
34
+ /**
35
+ *
36
+ * @type {number}
37
+ * @memberof ReqGetAccountInactiveOrders
38
+ */
39
+ ask_filter?: number;
34
40
  /**
35
41
  *
36
42
  * @type {string}
@@ -66,6 +72,7 @@ export function ReqGetAccountInactiveOrdersFromJSONTyped(json: any, ignoreDiscri
66
72
 
67
73
  'account_index': json['account_index'],
68
74
  'market_id': json['market_id'] == null ? undefined : json['market_id'],
75
+ 'ask_filter': json['ask_filter'] == null ? undefined : json['ask_filter'],
69
76
  'cursor': json['cursor'] == null ? undefined : json['cursor'],
70
77
  'limit': json['limit'],
71
78
  };
@@ -79,6 +86,7 @@ export function ReqGetAccountInactiveOrdersToJSON(value?: ReqGetAccountInactiveO
79
86
 
80
87
  'account_index': value['account_index'],
81
88
  'market_id': value['market_id'],
89
+ 'ask_filter': value['ask_filter'],
82
90
  'cursor': value['cursor'],
83
91
  'limit': value['limit'],
84
92
  };
package/openapi.json CHANGED
@@ -160,6 +160,13 @@
160
160
  "type": "integer",
161
161
  "format": "uint8"
162
162
  },
163
+ {
164
+ "name": "ask_filter",
165
+ "in": "query",
166
+ "required": false,
167
+ "type": "integer",
168
+ "format": "int8"
169
+ },
163
170
  {
164
171
  "name": "cursor",
165
172
  "in": "query",
@@ -3834,6 +3841,10 @@
3834
3841
  "type": "integer",
3835
3842
  "format": "uint8"
3836
3843
  },
3844
+ "ask_filter": {
3845
+ "type": "integer",
3846
+ "format": "int8"
3847
+ },
3837
3848
  "cursor": {
3838
3849
  "type": "string"
3839
3850
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zklighter-perps",
3
- "version": "1.0.49",
3
+ "version": "1.0.50",
4
4
  "description": "zkLighter Perps SDK",
5
5
  "main": "index.ts",
6
6
  "directories": {