zklighter-perps 1.0.317 → 1.0.319
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 +2 -2
- package/models/NotificationPreferences.ts +9 -0
- package/openapi.json +7 -2
- package/package.json +1 -1
package/apis/AccountApi.ts
CHANGED
|
@@ -1620,7 +1620,7 @@ export class AccountApi extends runtime.BaseAPI {
|
|
|
1620
1620
|
}
|
|
1621
1621
|
|
|
1622
1622
|
/**
|
|
1623
|
-
* Trade, pool, staking and total equity, interval and window PnL in USD. Total ROI is a fraction (0.0088 = 0.88%). The latest sample
|
|
1623
|
+
* Trade, pool, staking and total equity, interval and window PnL in USD. Total ROI is a fraction (0.0088 = 0.88%). Samples close their preceding bucket: a daily sample at midnight represents the previous day. The latest sample at or before start is a hidden baseline; an end within a bucket rounds up to its close. Without a baseline, the first bucket starts from zero equity and cash flows. Entry volume is per bucket; summary volume is the window total. Historical queries never append current data.
|
|
1624
1624
|
* pnl_v2
|
|
1625
1625
|
*/
|
|
1626
1626
|
async pnlV2Raw(requestParameters: PnlV2Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AccountPnLV2>> {
|
|
@@ -1702,7 +1702,7 @@ export class AccountApi extends runtime.BaseAPI {
|
|
|
1702
1702
|
}
|
|
1703
1703
|
|
|
1704
1704
|
/**
|
|
1705
|
-
* Trade, pool, staking and total equity, interval and window PnL in USD. Total ROI is a fraction (0.0088 = 0.88%). The latest sample
|
|
1705
|
+
* Trade, pool, staking and total equity, interval and window PnL in USD. Total ROI is a fraction (0.0088 = 0.88%). Samples close their preceding bucket: a daily sample at midnight represents the previous day. The latest sample at or before start is a hidden baseline; an end within a bucket rounds up to its close. Without a baseline, the first bucket starts from zero equity and cash flows. Entry volume is per bucket; summary volume is the window total. Historical queries never append current data.
|
|
1706
1706
|
* pnl_v2
|
|
1707
1707
|
*/
|
|
1708
1708
|
async pnlV2(requestParameters: PnlV2Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AccountPnLV2> {
|
|
@@ -55,6 +55,12 @@ export interface NotificationPreferences {
|
|
|
55
55
|
* @memberof NotificationPreferences
|
|
56
56
|
*/
|
|
57
57
|
cashflow_enabled: boolean;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {boolean}
|
|
61
|
+
* @memberof NotificationPreferences
|
|
62
|
+
*/
|
|
63
|
+
api_key_change_enabled: boolean;
|
|
58
64
|
}
|
|
59
65
|
|
|
60
66
|
/**
|
|
@@ -67,6 +73,7 @@ export function instanceOfNotificationPreferences(value: object): value is Notif
|
|
|
67
73
|
if (!('price_alerts_enabled' in value) || value['price_alerts_enabled'] === undefined) return false;
|
|
68
74
|
if (!('order_filled_enabled' in value) || value['order_filled_enabled'] === undefined) return false;
|
|
69
75
|
if (!('cashflow_enabled' in value) || value['cashflow_enabled'] === undefined) return false;
|
|
76
|
+
if (!('api_key_change_enabled' in value) || value['api_key_change_enabled'] === undefined) return false;
|
|
70
77
|
return true;
|
|
71
78
|
}
|
|
72
79
|
|
|
@@ -86,6 +93,7 @@ export function NotificationPreferencesFromJSONTyped(json: any, ignoreDiscrimina
|
|
|
86
93
|
'price_alerts_enabled': json['price_alerts_enabled'],
|
|
87
94
|
'order_filled_enabled': json['order_filled_enabled'],
|
|
88
95
|
'cashflow_enabled': json['cashflow_enabled'],
|
|
96
|
+
'api_key_change_enabled': json['api_key_change_enabled'],
|
|
89
97
|
};
|
|
90
98
|
}
|
|
91
99
|
|
|
@@ -101,6 +109,7 @@ export function NotificationPreferencesToJSON(value?: NotificationPreferences |
|
|
|
101
109
|
'price_alerts_enabled': value['price_alerts_enabled'],
|
|
102
110
|
'order_filled_enabled': value['order_filled_enabled'],
|
|
103
111
|
'cashflow_enabled': value['cashflow_enabled'],
|
|
112
|
+
'api_key_change_enabled': value['api_key_change_enabled'],
|
|
104
113
|
};
|
|
105
114
|
}
|
|
106
115
|
|
package/openapi.json
CHANGED
|
@@ -7192,7 +7192,7 @@
|
|
|
7192
7192
|
"consumes": [
|
|
7193
7193
|
"multipart/form-data"
|
|
7194
7194
|
],
|
|
7195
|
-
"description": "Trade, pool, staking and total equity, interval and window PnL in USD. Total ROI is a fraction (0.0088 = 0.88%). The latest sample
|
|
7195
|
+
"description": "Trade, pool, staking and total equity, interval and window PnL in USD. Total ROI is a fraction (0.0088 = 0.88%). Samples close their preceding bucket: a daily sample at midnight represents the previous day. The latest sample at or before start is a hidden baseline; an end within a bucket rounds up to its close. Without a baseline, the first bucket starts from zero equity and cash flows. Entry volume is per bucket; summary volume is the window total. Historical queries never append current data."
|
|
7196
7196
|
}
|
|
7197
7197
|
},
|
|
7198
7198
|
"/info": {
|
|
@@ -11780,6 +11780,10 @@
|
|
|
11780
11780
|
"cashflow_enabled": {
|
|
11781
11781
|
"type": "boolean",
|
|
11782
11782
|
"format": "boolean"
|
|
11783
|
+
},
|
|
11784
|
+
"api_key_change_enabled": {
|
|
11785
|
+
"type": "boolean",
|
|
11786
|
+
"format": "boolean"
|
|
11783
11787
|
}
|
|
11784
11788
|
},
|
|
11785
11789
|
"title": "NotificationPreferences",
|
|
@@ -11789,7 +11793,8 @@
|
|
|
11789
11793
|
"private_announcements_enabled",
|
|
11790
11794
|
"price_alerts_enabled",
|
|
11791
11795
|
"order_filled_enabled",
|
|
11792
|
-
"cashflow_enabled"
|
|
11796
|
+
"cashflow_enabled",
|
|
11797
|
+
"api_key_change_enabled"
|
|
11793
11798
|
]
|
|
11794
11799
|
},
|
|
11795
11800
|
"Order": {
|