zklighter-perps 1.0.34 → 1.0.35
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/AccountStats.ts +4 -4
- package/openapi.json +5 -5
- package/package.json +1 -1
package/models/AccountStats.ts
CHANGED
|
@@ -36,7 +36,7 @@ export interface AccountStats {
|
|
|
36
36
|
* @type {string}
|
|
37
37
|
* @memberof AccountStats
|
|
38
38
|
*/
|
|
39
|
-
|
|
39
|
+
available_balance: string;
|
|
40
40
|
/**
|
|
41
41
|
*
|
|
42
42
|
* @type {string}
|
|
@@ -57,7 +57,7 @@ export interface AccountStats {
|
|
|
57
57
|
export function instanceOfAccountStats(value: object): value is AccountStats {
|
|
58
58
|
if (!('portfolio_value' in value) || value['portfolio_value'] === undefined) return false;
|
|
59
59
|
if (!('leverage' in value) || value['leverage'] === undefined) return false;
|
|
60
|
-
if (!('
|
|
60
|
+
if (!('available_balance' in value) || value['available_balance'] === undefined) return false;
|
|
61
61
|
if (!('margin_usage' in value) || value['margin_usage'] === undefined) return false;
|
|
62
62
|
if (!('buying_power' in value) || value['buying_power'] === undefined) return false;
|
|
63
63
|
return true;
|
|
@@ -75,7 +75,7 @@ export function AccountStatsFromJSONTyped(json: any, ignoreDiscriminator: boolea
|
|
|
75
75
|
|
|
76
76
|
'portfolio_value': json['portfolio_value'],
|
|
77
77
|
'leverage': json['leverage'],
|
|
78
|
-
'
|
|
78
|
+
'available_balance': json['available_balance'],
|
|
79
79
|
'margin_usage': json['margin_usage'],
|
|
80
80
|
'buying_power': json['buying_power'],
|
|
81
81
|
};
|
|
@@ -89,7 +89,7 @@ export function AccountStatsToJSON(value?: AccountStats | null): any {
|
|
|
89
89
|
|
|
90
90
|
'portfolio_value': value['portfolio_value'],
|
|
91
91
|
'leverage': value['leverage'],
|
|
92
|
-
'
|
|
92
|
+
'available_balance': value['available_balance'],
|
|
93
93
|
'margin_usage': value['margin_usage'],
|
|
94
94
|
'buying_power': value['buying_power'],
|
|
95
95
|
};
|
package/openapi.json
CHANGED
|
@@ -1773,7 +1773,7 @@
|
|
|
1773
1773
|
},
|
|
1774
1774
|
"status": {
|
|
1775
1775
|
"type": "integer",
|
|
1776
|
-
"format": "
|
|
1776
|
+
"format": "uint8",
|
|
1777
1777
|
"example": "1"
|
|
1778
1778
|
},
|
|
1779
1779
|
"collateral": {
|
|
@@ -1973,7 +1973,7 @@
|
|
|
1973
1973
|
"type": "string",
|
|
1974
1974
|
"example": "1.0"
|
|
1975
1975
|
},
|
|
1976
|
-
"
|
|
1976
|
+
"available_balance": {
|
|
1977
1977
|
"type": "string",
|
|
1978
1978
|
"example": "199955"
|
|
1979
1979
|
},
|
|
@@ -1990,7 +1990,7 @@
|
|
|
1990
1990
|
"required": [
|
|
1991
1991
|
"portfolio_value",
|
|
1992
1992
|
"leverage",
|
|
1993
|
-
"
|
|
1993
|
+
"available_balance",
|
|
1994
1994
|
"margin_usage",
|
|
1995
1995
|
"buying_power"
|
|
1996
1996
|
]
|
|
@@ -2319,7 +2319,7 @@
|
|
|
2319
2319
|
},
|
|
2320
2320
|
"status": {
|
|
2321
2321
|
"type": "integer",
|
|
2322
|
-
"format": "
|
|
2322
|
+
"format": "uint8",
|
|
2323
2323
|
"example": "1"
|
|
2324
2324
|
},
|
|
2325
2325
|
"collateral": {
|
|
@@ -3543,7 +3543,7 @@
|
|
|
3543
3543
|
},
|
|
3544
3544
|
"status": {
|
|
3545
3545
|
"type": "integer",
|
|
3546
|
-
"format": "
|
|
3546
|
+
"format": "uint8",
|
|
3547
3547
|
"example": "1"
|
|
3548
3548
|
},
|
|
3549
3549
|
"collateral": {
|