zklighter-perps 1.0.288 → 1.0.289
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/LiqTrade.ts +18 -0
- package/openapi.json +13 -1
- package/package.json +1 -1
package/models/LiqTrade.ts
CHANGED
|
@@ -49,6 +49,18 @@ export interface LiqTrade {
|
|
|
49
49
|
* @memberof LiqTrade
|
|
50
50
|
*/
|
|
51
51
|
transaction_time: number;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {number}
|
|
55
|
+
* @memberof LiqTrade
|
|
56
|
+
*/
|
|
57
|
+
ask_account_id: number;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {number}
|
|
61
|
+
* @memberof LiqTrade
|
|
62
|
+
*/
|
|
63
|
+
bid_account_id: number;
|
|
52
64
|
}
|
|
53
65
|
|
|
54
66
|
/**
|
|
@@ -60,6 +72,8 @@ export function instanceOfLiqTrade(value: object): value is LiqTrade {
|
|
|
60
72
|
if (!('taker_fee' in value) || value['taker_fee'] === undefined) return false;
|
|
61
73
|
if (!('maker_fee' in value) || value['maker_fee'] === undefined) return false;
|
|
62
74
|
if (!('transaction_time' in value) || value['transaction_time'] === undefined) return false;
|
|
75
|
+
if (!('ask_account_id' in value) || value['ask_account_id'] === undefined) return false;
|
|
76
|
+
if (!('bid_account_id' in value) || value['bid_account_id'] === undefined) return false;
|
|
63
77
|
return true;
|
|
64
78
|
}
|
|
65
79
|
|
|
@@ -78,6 +92,8 @@ export function LiqTradeFromJSONTyped(json: any, ignoreDiscriminator: boolean):
|
|
|
78
92
|
'taker_fee': json['taker_fee'],
|
|
79
93
|
'maker_fee': json['maker_fee'],
|
|
80
94
|
'transaction_time': json['transaction_time'],
|
|
95
|
+
'ask_account_id': json['ask_account_id'],
|
|
96
|
+
'bid_account_id': json['bid_account_id'],
|
|
81
97
|
};
|
|
82
98
|
}
|
|
83
99
|
|
|
@@ -92,6 +108,8 @@ export function LiqTradeToJSON(value?: LiqTrade | null): any {
|
|
|
92
108
|
'taker_fee': value['taker_fee'],
|
|
93
109
|
'maker_fee': value['maker_fee'],
|
|
94
110
|
'transaction_time': value['transaction_time'],
|
|
111
|
+
'ask_account_id': value['ask_account_id'],
|
|
112
|
+
'bid_account_id': value['bid_account_id'],
|
|
95
113
|
};
|
|
96
114
|
}
|
|
97
115
|
|
package/openapi.json
CHANGED
|
@@ -8546,6 +8546,16 @@
|
|
|
8546
8546
|
"transaction_time": {
|
|
8547
8547
|
"type": "integer",
|
|
8548
8548
|
"format": "int64"
|
|
8549
|
+
},
|
|
8550
|
+
"ask_account_id": {
|
|
8551
|
+
"type": "integer",
|
|
8552
|
+
"format": "int64",
|
|
8553
|
+
"example": "1"
|
|
8554
|
+
},
|
|
8555
|
+
"bid_account_id": {
|
|
8556
|
+
"type": "integer",
|
|
8557
|
+
"format": "int64",
|
|
8558
|
+
"example": "3"
|
|
8549
8559
|
}
|
|
8550
8560
|
},
|
|
8551
8561
|
"title": "LiqTrade",
|
|
@@ -8554,7 +8564,9 @@
|
|
|
8554
8564
|
"size",
|
|
8555
8565
|
"taker_fee",
|
|
8556
8566
|
"maker_fee",
|
|
8557
|
-
"transaction_time"
|
|
8567
|
+
"transaction_time",
|
|
8568
|
+
"ask_account_id",
|
|
8569
|
+
"bid_account_id"
|
|
8558
8570
|
]
|
|
8559
8571
|
},
|
|
8560
8572
|
"Liquidation": {
|