zklighter-perps 1.0.157 → 1.0.158
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/AccountLimits.ts +9 -0
- package/openapi.json +7 -1
- package/package.json +1 -1
package/models/AccountLimits.ts
CHANGED
|
@@ -43,6 +43,12 @@ export interface AccountLimits {
|
|
|
43
43
|
* @memberof AccountLimits
|
|
44
44
|
*/
|
|
45
45
|
user_tier: string;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {boolean}
|
|
49
|
+
* @memberof AccountLimits
|
|
50
|
+
*/
|
|
51
|
+
can_create_public_pool: boolean;
|
|
46
52
|
}
|
|
47
53
|
|
|
48
54
|
/**
|
|
@@ -52,6 +58,7 @@ export function instanceOfAccountLimits(value: object): value is AccountLimits {
|
|
|
52
58
|
if (!('code' in value) || value['code'] === undefined) return false;
|
|
53
59
|
if (!('max_llp_percentage' in value) || value['max_llp_percentage'] === undefined) return false;
|
|
54
60
|
if (!('user_tier' in value) || value['user_tier'] === undefined) return false;
|
|
61
|
+
if (!('can_create_public_pool' in value) || value['can_create_public_pool'] === undefined) return false;
|
|
55
62
|
return true;
|
|
56
63
|
}
|
|
57
64
|
|
|
@@ -69,6 +76,7 @@ export function AccountLimitsFromJSONTyped(json: any, ignoreDiscriminator: boole
|
|
|
69
76
|
'message': json['message'] == null ? undefined : json['message'],
|
|
70
77
|
'max_llp_percentage': json['max_llp_percentage'],
|
|
71
78
|
'user_tier': json['user_tier'],
|
|
79
|
+
'can_create_public_pool': json['can_create_public_pool'],
|
|
72
80
|
};
|
|
73
81
|
}
|
|
74
82
|
|
|
@@ -82,6 +90,7 @@ export function AccountLimitsToJSON(value?: AccountLimits | null): any {
|
|
|
82
90
|
'message': value['message'],
|
|
83
91
|
'max_llp_percentage': value['max_llp_percentage'],
|
|
84
92
|
'user_tier': value['user_tier'],
|
|
93
|
+
'can_create_public_pool': value['can_create_public_pool'],
|
|
85
94
|
};
|
|
86
95
|
}
|
|
87
96
|
|
package/openapi.json
CHANGED
|
@@ -3216,13 +3216,19 @@
|
|
|
3216
3216
|
"user_tier": {
|
|
3217
3217
|
"type": "string",
|
|
3218
3218
|
"example": "std"
|
|
3219
|
+
},
|
|
3220
|
+
"can_create_public_pool": {
|
|
3221
|
+
"type": "boolean",
|
|
3222
|
+
"format": "boolean",
|
|
3223
|
+
"example": "true"
|
|
3219
3224
|
}
|
|
3220
3225
|
},
|
|
3221
3226
|
"title": "AccountLimits",
|
|
3222
3227
|
"required": [
|
|
3223
3228
|
"code",
|
|
3224
3229
|
"max_llp_percentage",
|
|
3225
|
-
"user_tier"
|
|
3230
|
+
"user_tier",
|
|
3231
|
+
"can_create_public_pool"
|
|
3226
3232
|
]
|
|
3227
3233
|
},
|
|
3228
3234
|
"AccountMarginStats": {
|