zklighter-perps 1.0.38 → 1.0.39
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/models/Trade.ts +8 -8
- package/openapi.json +4 -4
- package/package.json +1 -1
package/models/Trade.ts
CHANGED
|
@@ -72,13 +72,13 @@ export interface Trade {
|
|
|
72
72
|
* @type {number}
|
|
73
73
|
* @memberof Trade
|
|
74
74
|
*/
|
|
75
|
-
|
|
75
|
+
ask_account_id: number;
|
|
76
76
|
/**
|
|
77
77
|
*
|
|
78
78
|
* @type {number}
|
|
79
79
|
* @memberof Trade
|
|
80
80
|
*/
|
|
81
|
-
|
|
81
|
+
bid_account_id: number;
|
|
82
82
|
/**
|
|
83
83
|
*
|
|
84
84
|
* @type {boolean}
|
|
@@ -123,8 +123,8 @@ export function instanceOfTrade(value: object): value is Trade {
|
|
|
123
123
|
if (!('price' in value) || value['price'] === undefined) return false;
|
|
124
124
|
if (!('ask_id' in value) || value['ask_id'] === undefined) return false;
|
|
125
125
|
if (!('bid_id' in value) || value['bid_id'] === undefined) return false;
|
|
126
|
-
if (!('
|
|
127
|
-
if (!('
|
|
126
|
+
if (!('ask_account_id' in value) || value['ask_account_id'] === undefined) return false;
|
|
127
|
+
if (!('bid_account_id' in value) || value['bid_account_id'] === undefined) return false;
|
|
128
128
|
if (!('is_maker_ask' in value) || value['is_maker_ask'] === undefined) return false;
|
|
129
129
|
if (!('block_height' in value) || value['block_height'] === undefined) return false;
|
|
130
130
|
if (!('timestamp' in value) || value['timestamp'] === undefined) return false;
|
|
@@ -149,8 +149,8 @@ export function TradeFromJSONTyped(json: any, ignoreDiscriminator: boolean): Tra
|
|
|
149
149
|
'price': json['price'],
|
|
150
150
|
'ask_id': json['ask_id'],
|
|
151
151
|
'bid_id': json['bid_id'],
|
|
152
|
-
'
|
|
153
|
-
'
|
|
152
|
+
'ask_account_id': json['ask_account_id'],
|
|
153
|
+
'bid_account_id': json['bid_account_id'],
|
|
154
154
|
'is_maker_ask': json['is_maker_ask'],
|
|
155
155
|
'block_height': json['block_height'],
|
|
156
156
|
'timestamp': json['timestamp'],
|
|
@@ -171,8 +171,8 @@ export function TradeToJSON(value?: Trade | null): any {
|
|
|
171
171
|
'price': value['price'],
|
|
172
172
|
'ask_id': value['ask_id'],
|
|
173
173
|
'bid_id': value['bid_id'],
|
|
174
|
-
'
|
|
175
|
-
'
|
|
174
|
+
'ask_account_id': value['ask_account_id'],
|
|
175
|
+
'bid_account_id': value['bid_account_id'],
|
|
176
176
|
'is_maker_ask': value['is_maker_ask'],
|
|
177
177
|
'block_height': value['block_height'],
|
|
178
178
|
'timestamp': value['timestamp'],
|
package/openapi.json
CHANGED
|
@@ -4654,12 +4654,12 @@
|
|
|
4654
4654
|
"format": "int64",
|
|
4655
4655
|
"example": "245"
|
|
4656
4656
|
},
|
|
4657
|
-
"
|
|
4657
|
+
"ask_account_id": {
|
|
4658
4658
|
"type": "integer",
|
|
4659
4659
|
"format": "int64",
|
|
4660
4660
|
"example": "1"
|
|
4661
4661
|
},
|
|
4662
|
-
"
|
|
4662
|
+
"bid_account_id": {
|
|
4663
4663
|
"type": "integer",
|
|
4664
4664
|
"format": "int64",
|
|
4665
4665
|
"example": "3"
|
|
@@ -4690,8 +4690,8 @@
|
|
|
4690
4690
|
"price",
|
|
4691
4691
|
"ask_id",
|
|
4692
4692
|
"bid_id",
|
|
4693
|
-
"
|
|
4694
|
-
"
|
|
4693
|
+
"ask_account_id",
|
|
4694
|
+
"bid_account_id",
|
|
4695
4695
|
"is_maker_ask",
|
|
4696
4696
|
"block_height",
|
|
4697
4697
|
"timestamp"
|