zklighter-perps 1.0.332 → 1.0.333
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/PushnotifApi.ts +5 -0
- package/openapi.json +3 -0
- package/package.json +1 -1
package/apis/PushnotifApi.ts
CHANGED
|
@@ -31,6 +31,7 @@ export interface PushnotifRegisterRequest {
|
|
|
31
31
|
platform: PushnotifRegisterPlatformEnum;
|
|
32
32
|
auth?: string;
|
|
33
33
|
app_version?: string;
|
|
34
|
+
language?: string;
|
|
34
35
|
}
|
|
35
36
|
|
|
36
37
|
export interface PushnotifSettingsGetRequest {
|
|
@@ -122,6 +123,10 @@ export class PushnotifApi extends runtime.BaseAPI {
|
|
|
122
123
|
formParams.append('app_version', requestParameters['app_version'] as any);
|
|
123
124
|
}
|
|
124
125
|
|
|
126
|
+
if (requestParameters['language'] != null) {
|
|
127
|
+
formParams.append('language', requestParameters['language'] as any);
|
|
128
|
+
}
|
|
129
|
+
|
|
125
130
|
const response = await this.request({
|
|
126
131
|
path: `/api/v1/pushnotif/register`,
|
|
127
132
|
method: 'POST',
|
package/openapi.json
CHANGED
|
@@ -17294,6 +17294,9 @@
|
|
|
17294
17294
|
},
|
|
17295
17295
|
"app_version": {
|
|
17296
17296
|
"type": "string"
|
|
17297
|
+
},
|
|
17298
|
+
"language": {
|
|
17299
|
+
"type": "string"
|
|
17297
17300
|
}
|
|
17298
17301
|
},
|
|
17299
17302
|
"title": "ReqRegisterPushNotifToken",
|