zklighter-perps 1.0.224 → 1.0.225
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/Token.ts +27 -0
- package/openapi.json +16 -1
- package/package.json +1 -1
package/models/Token.ts
CHANGED
|
@@ -97,6 +97,24 @@ export interface Token {
|
|
|
97
97
|
* @memberof Token
|
|
98
98
|
*/
|
|
99
99
|
is_allowed_staging: boolean;
|
|
100
|
+
/**
|
|
101
|
+
*
|
|
102
|
+
* @type {boolean}
|
|
103
|
+
* @memberof Token
|
|
104
|
+
*/
|
|
105
|
+
is_asset_allowed_staging: boolean;
|
|
106
|
+
/**
|
|
107
|
+
*
|
|
108
|
+
* @type {boolean}
|
|
109
|
+
* @memberof Token
|
|
110
|
+
*/
|
|
111
|
+
is_asset_allowed_mainnet: boolean;
|
|
112
|
+
/**
|
|
113
|
+
*
|
|
114
|
+
* @type {boolean}
|
|
115
|
+
* @memberof Token
|
|
116
|
+
*/
|
|
117
|
+
is_asset_allowed_testnet: boolean;
|
|
100
118
|
}
|
|
101
119
|
|
|
102
120
|
|
|
@@ -145,6 +163,9 @@ export function instanceOfToken(value: object): value is Token {
|
|
|
145
163
|
if (!('is_allowed_mainnet' in value) || value['is_allowed_mainnet'] === undefined) return false;
|
|
146
164
|
if (!('is_allowed_testnet' in value) || value['is_allowed_testnet'] === undefined) return false;
|
|
147
165
|
if (!('is_allowed_staging' in value) || value['is_allowed_staging'] === undefined) return false;
|
|
166
|
+
if (!('is_asset_allowed_staging' in value) || value['is_asset_allowed_staging'] === undefined) return false;
|
|
167
|
+
if (!('is_asset_allowed_mainnet' in value) || value['is_asset_allowed_mainnet'] === undefined) return false;
|
|
168
|
+
if (!('is_asset_allowed_testnet' in value) || value['is_asset_allowed_testnet'] === undefined) return false;
|
|
148
169
|
return true;
|
|
149
170
|
}
|
|
150
171
|
|
|
@@ -171,6 +192,9 @@ export function TokenFromJSONTyped(json: any, ignoreDiscriminator: boolean): Tok
|
|
|
171
192
|
'is_allowed_mainnet': json['is_allowed_mainnet'],
|
|
172
193
|
'is_allowed_testnet': json['is_allowed_testnet'],
|
|
173
194
|
'is_allowed_staging': json['is_allowed_staging'],
|
|
195
|
+
'is_asset_allowed_staging': json['is_asset_allowed_staging'],
|
|
196
|
+
'is_asset_allowed_mainnet': json['is_asset_allowed_mainnet'],
|
|
197
|
+
'is_asset_allowed_testnet': json['is_asset_allowed_testnet'],
|
|
174
198
|
};
|
|
175
199
|
}
|
|
176
200
|
|
|
@@ -193,6 +217,9 @@ export function TokenToJSON(value?: Token | null): any {
|
|
|
193
217
|
'is_allowed_mainnet': value['is_allowed_mainnet'],
|
|
194
218
|
'is_allowed_testnet': value['is_allowed_testnet'],
|
|
195
219
|
'is_allowed_staging': value['is_allowed_staging'],
|
|
220
|
+
'is_asset_allowed_staging': value['is_asset_allowed_staging'],
|
|
221
|
+
'is_asset_allowed_mainnet': value['is_asset_allowed_mainnet'],
|
|
222
|
+
'is_asset_allowed_testnet': value['is_asset_allowed_testnet'],
|
|
196
223
|
};
|
|
197
224
|
}
|
|
198
225
|
|
package/openapi.json
CHANGED
|
@@ -11617,6 +11617,18 @@
|
|
|
11617
11617
|
"is_allowed_staging": {
|
|
11618
11618
|
"type": "boolean",
|
|
11619
11619
|
"format": "boolean"
|
|
11620
|
+
},
|
|
11621
|
+
"is_asset_allowed_staging": {
|
|
11622
|
+
"type": "boolean",
|
|
11623
|
+
"format": "boolean"
|
|
11624
|
+
},
|
|
11625
|
+
"is_asset_allowed_mainnet": {
|
|
11626
|
+
"type": "boolean",
|
|
11627
|
+
"format": "boolean"
|
|
11628
|
+
},
|
|
11629
|
+
"is_asset_allowed_testnet": {
|
|
11630
|
+
"type": "boolean",
|
|
11631
|
+
"format": "boolean"
|
|
11620
11632
|
}
|
|
11621
11633
|
},
|
|
11622
11634
|
"title": "Token",
|
|
@@ -11633,7 +11645,10 @@
|
|
|
11633
11645
|
"categories",
|
|
11634
11646
|
"is_allowed_mainnet",
|
|
11635
11647
|
"is_allowed_testnet",
|
|
11636
|
-
"is_allowed_staging"
|
|
11648
|
+
"is_allowed_staging",
|
|
11649
|
+
"is_asset_allowed_staging",
|
|
11650
|
+
"is_asset_allowed_mainnet",
|
|
11651
|
+
"is_asset_allowed_testnet"
|
|
11637
11652
|
]
|
|
11638
11653
|
},
|
|
11639
11654
|
"TokenList": {
|