zklighter-perps 1.0.116 → 1.0.117
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/apis/AccountApi.ts +5 -0
- package/models/ReqGetPublicPools.ts +8 -0
- package/openapi.json +9 -0
- package/package.json +1 -1
package/apis/AccountApi.ts
CHANGED
|
@@ -103,6 +103,7 @@ export interface PositionFundingRequest {
|
|
|
103
103
|
export interface PublicPoolsRequest {
|
|
104
104
|
index: number;
|
|
105
105
|
limit: number;
|
|
106
|
+
auth?: string;
|
|
106
107
|
filter?: PublicPoolsFilterEnum;
|
|
107
108
|
account_index?: number;
|
|
108
109
|
}
|
|
@@ -593,6 +594,10 @@ export class AccountApi extends runtime.BaseAPI {
|
|
|
593
594
|
|
|
594
595
|
const queryParameters: any = {};
|
|
595
596
|
|
|
597
|
+
if (requestParameters['auth'] != null) {
|
|
598
|
+
queryParameters['auth'] = requestParameters['auth'];
|
|
599
|
+
}
|
|
600
|
+
|
|
596
601
|
if (requestParameters['filter'] != null) {
|
|
597
602
|
queryParameters['filter'] = requestParameters['filter'];
|
|
598
603
|
}
|
|
@@ -19,6 +19,12 @@ import { mapValues } from '../runtime';
|
|
|
19
19
|
* @interface ReqGetPublicPools
|
|
20
20
|
*/
|
|
21
21
|
export interface ReqGetPublicPools {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof ReqGetPublicPools
|
|
26
|
+
*/
|
|
27
|
+
auth?: string;
|
|
22
28
|
/**
|
|
23
29
|
*
|
|
24
30
|
* @type {string}
|
|
@@ -77,6 +83,7 @@ export function ReqGetPublicPoolsFromJSONTyped(json: any, ignoreDiscriminator: b
|
|
|
77
83
|
}
|
|
78
84
|
return {
|
|
79
85
|
|
|
86
|
+
'auth': json['auth'] == null ? undefined : json['auth'],
|
|
80
87
|
'filter': json['filter'] == null ? undefined : json['filter'],
|
|
81
88
|
'index': json['index'],
|
|
82
89
|
'limit': json['limit'],
|
|
@@ -90,6 +97,7 @@ export function ReqGetPublicPoolsToJSON(value?: ReqGetPublicPools | null): any {
|
|
|
90
97
|
}
|
|
91
98
|
return {
|
|
92
99
|
|
|
100
|
+
'auth': value['auth'],
|
|
93
101
|
'filter': value['filter'],
|
|
94
102
|
'index': value['index'],
|
|
95
103
|
'limit': value['limit'],
|
package/openapi.json
CHANGED
|
@@ -1787,6 +1787,12 @@
|
|
|
1787
1787
|
}
|
|
1788
1788
|
},
|
|
1789
1789
|
"parameters": [
|
|
1790
|
+
{
|
|
1791
|
+
"name": "auth",
|
|
1792
|
+
"in": "query",
|
|
1793
|
+
"required": false,
|
|
1794
|
+
"type": "string"
|
|
1795
|
+
},
|
|
1790
1796
|
{
|
|
1791
1797
|
"name": "filter",
|
|
1792
1798
|
"in": "query",
|
|
@@ -6034,6 +6040,9 @@
|
|
|
6034
6040
|
"ReqGetPublicPools": {
|
|
6035
6041
|
"type": "object",
|
|
6036
6042
|
"properties": {
|
|
6043
|
+
"auth": {
|
|
6044
|
+
"type": "string"
|
|
6045
|
+
},
|
|
6037
6046
|
"filter": {
|
|
6038
6047
|
"type": "string",
|
|
6039
6048
|
"enum": [
|