@drxsuperapp/sdk 2.0.1 → 2.0.3
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/.ai/mcp/mcp.json +0 -0
- package/.idea/vcs.xml +6 -0
- package/.openapi-generator/FILES +14 -3
- package/apis/AdminPointsApi.ts +69 -0
- package/apis/AppConfigurationApi.ts +6 -6
- package/apis/AuthenticationApi.ts +107 -9
- package/dist/apis/AdminPointsApi.d.ts +17 -1
- package/dist/apis/AdminPointsApi.js +46 -1
- package/dist/apis/AppConfigurationApi.d.ts +3 -3
- package/dist/apis/AppConfigurationApi.js +2 -2
- package/dist/apis/AuthenticationApi.d.ts +28 -5
- package/dist/apis/AuthenticationApi.js +75 -3
- package/dist/models/ApiAdminPointDropsGet200Response.d.ts +51 -0
- package/dist/models/ApiAdminPointDropsGet200Response.js +54 -0
- package/dist/models/ApiAdminPointDropsGet200ResponseResponseObject.d.ts +57 -0
- package/dist/models/ApiAdminPointDropsGet200ResponseResponseObject.js +59 -0
- package/dist/models/ApiAdminPointDropsGet200ResponseResponseObjectItemsInnerInner.d.ts +149 -0
- package/dist/models/ApiAdminPointDropsGet200ResponseResponseObjectItemsInnerInner.js +123 -0
- package/dist/models/ApiAdminPointDropsGet200ResponseResponseObjectItemsInnerInnerAdmin.d.ts +38 -0
- package/dist/models/ApiAdminPointDropsGet200ResponseResponseObjectItemsInnerInnerAdmin.js +47 -0
- package/dist/models/ApiAdminPointDropsGet200ResponseResponseObjectItemsInnerInnerAmountPerUser.d.ts +26 -0
- package/dist/models/ApiAdminPointDropsGet200ResponseResponseObjectItemsInnerInnerAmountPerUser.js +31 -0
- package/dist/models/ApiAdminPointDropsGet200ResponseResponseObjectItemsInnerInnerCompletedAt.d.ts +26 -0
- package/dist/models/ApiAdminPointDropsGet200ResponseResponseObjectItemsInnerInnerCompletedAt.js +31 -0
- package/dist/models/ApiAdminPointDropsGet200ResponseResponseObjectItemsInnerInnerCreatedAt.d.ts +26 -0
- package/dist/models/ApiAdminPointDropsGet200ResponseResponseObjectItemsInnerInnerCreatedAt.js +31 -0
- package/dist/models/ApiAdminPointDropsGet200ResponseResponseObjectItemsInnerInnerTargetUsersInner.d.ts +44 -0
- package/dist/models/ApiAdminPointDropsGet200ResponseResponseObjectItemsInnerInnerTargetUsersInner.js +51 -0
- package/dist/models/ApiAdminPointDropsGetFilterParameter.d.ts +58 -0
- package/dist/models/ApiAdminPointDropsGetFilterParameter.js +51 -0
- package/dist/models/ApiAdminPointDropsPost200Response.d.ts +3 -3
- package/dist/models/ApiAdminPointDropsPost200Response.js +3 -3
- package/dist/models/ApiAuthOneTimeLoginCodePost200Response.d.ts +51 -0
- package/dist/models/ApiAuthOneTimeLoginCodePost200Response.js +54 -0
- package/dist/models/ApiAuthOneTimeLoginCodePost200ResponseResponseObject.d.ts +38 -0
- package/dist/models/ApiAuthOneTimeLoginCodePost200ResponseResponseObject.js +47 -0
- package/dist/models/ApiAuthValidateGet200Response.d.ts +50 -0
- package/dist/models/{ApiWalletUnbindPost200Response.js → ApiAuthValidateGet200Response.js} +10 -11
- package/dist/models/ApiPwaTournamentPostRequest.d.ts +3 -3
- package/dist/models/ApiPwaTournamentPostRequest.js +3 -3
- package/dist/models/ApiUserGet200Response.d.ts +3 -2
- package/dist/models/ApiUserGet200Response.js +3 -2
- package/dist/models/ApiUserGet200ResponseResponseObject.d.ts +57 -0
- package/dist/models/ApiUserGet200ResponseResponseObject.js +60 -0
- package/dist/models/ApiUserGet200ResponseResponseObjectItemsInner.d.ts +62 -0
- package/dist/models/ApiUserGet200ResponseResponseObjectItemsInner.js +63 -0
- package/dist/models/index.d.ts +14 -3
- package/dist/models/index.js +14 -3
- package/models/ApiAdminPointDropsGet200Response.ts +100 -0
- package/models/ApiAdminPointDropsGet200ResponseResponseObject.ts +110 -0
- package/models/ApiAdminPointDropsGet200ResponseResponseObjectItemsInnerInner.ts +258 -0
- package/models/ApiAdminPointDropsGet200ResponseResponseObjectItemsInnerInnerAdmin.ts +75 -0
- package/models/ApiAdminPointDropsGet200ResponseResponseObjectItemsInnerInnerAmountPerUser.ts +46 -0
- package/models/ApiAdminPointDropsGet200ResponseResponseObjectItemsInnerInnerCompletedAt.ts +46 -0
- package/models/ApiAdminPointDropsGet200ResponseResponseObjectItemsInnerInnerCreatedAt.ts +46 -0
- package/models/ApiAdminPointDropsGet200ResponseResponseObjectItemsInnerInnerTargetUsersInner.ts +84 -0
- package/models/ApiAdminPointDropsGetFilterParameter.ts +112 -0
- package/models/ApiAdminPointDropsPost200Response.ts +10 -10
- package/models/ApiAdminPointDropsPost200ResponseResponseObject.ts +101 -101
- package/models/ApiAdminPointDropsPost200ResponseResponseObjectCreatedAt.ts +46 -46
- package/models/ApiAuthOneTimeLoginCodePost200Response.ts +100 -0
- package/models/ApiAuthOneTimeLoginCodePost200ResponseResponseObject.ts +75 -0
- package/models/ApiAuthValidateGet200Response.ts +92 -0
- package/models/ApiPwaTournamentPostRequest.ts +10 -10
- package/models/ApiPwaTournamentPostRequestAdminInner.ts +46 -46
- package/models/ApiUserGet200Response.ts +12 -4
- package/models/ApiUserGet200ResponseResponseObject.ts +110 -0
- package/models/ApiUserGet200ResponseResponseObjectItemsInner.ts +111 -0
- package/models/index.ts +14 -3
- package/package.json +1 -1
- package/workflow.sh +88 -88
- package/dist/models/ApiWalletUnbindPost200Response.d.ts +0 -51
- package/dist/models/ApiWalletUnbindPost200ResponseResponseObject.d.ts +0 -32
- package/dist/models/ApiWalletUnbindPost200ResponseResponseObject.js +0 -43
- package/dist/models/ApiWeb3RedeemPost200ResponseResponseObjectData.d.ts +0 -69
- package/dist/models/ApiWeb3RedeemPost200ResponseResponseObjectData.js +0 -68
package/.ai/mcp/mcp.json
ADDED
|
File without changes
|
package/.idea/vcs.xml
ADDED
package/.openapi-generator/FILES
CHANGED
|
@@ -41,9 +41,16 @@ models/ApiAdminAppConfigsIdPutRequest.ts
|
|
|
41
41
|
models/ApiAdminAppConfigsPost200Response.ts
|
|
42
42
|
models/ApiAdminAppConfigsPostRequest.ts
|
|
43
43
|
models/ApiAdminNotificationBroadcastPostRequest.ts
|
|
44
|
+
models/ApiAdminPointDropsGet200Response.ts
|
|
45
|
+
models/ApiAdminPointDropsGet200ResponseResponseObject.ts
|
|
46
|
+
models/ApiAdminPointDropsGet200ResponseResponseObjectItemsInnerInner.ts
|
|
47
|
+
models/ApiAdminPointDropsGet200ResponseResponseObjectItemsInnerInnerAdmin.ts
|
|
48
|
+
models/ApiAdminPointDropsGet200ResponseResponseObjectItemsInnerInnerAmountPerUser.ts
|
|
49
|
+
models/ApiAdminPointDropsGet200ResponseResponseObjectItemsInnerInnerCompletedAt.ts
|
|
50
|
+
models/ApiAdminPointDropsGet200ResponseResponseObjectItemsInnerInnerCreatedAt.ts
|
|
51
|
+
models/ApiAdminPointDropsGet200ResponseResponseObjectItemsInnerInnerTargetUsersInner.ts
|
|
52
|
+
models/ApiAdminPointDropsGetFilterParameter.ts
|
|
44
53
|
models/ApiAdminPointDropsPost200Response.ts
|
|
45
|
-
models/ApiAdminPointDropsPost200ResponseResponseObject.ts
|
|
46
|
-
models/ApiAdminPointDropsPost200ResponseResponseObjectCreatedAt.ts
|
|
47
54
|
models/ApiAdminPointDropsPostRequest.ts
|
|
48
55
|
models/ApiAdminSyncUserPointsPost200Response.ts
|
|
49
56
|
models/ApiAdminSyncUserPointsPost200ResponseResponseObject.ts
|
|
@@ -58,6 +65,8 @@ models/ApiAuthLoginPost200Response.ts
|
|
|
58
65
|
models/ApiAuthLoginPost200ResponseResponseObject.ts
|
|
59
66
|
models/ApiAuthLoginPost200ResponseResponseObjectUser.ts
|
|
60
67
|
models/ApiAuthLoginPostRequest.ts
|
|
68
|
+
models/ApiAuthOneTimeLoginCodePost200Response.ts
|
|
69
|
+
models/ApiAuthOneTimeLoginCodePost200ResponseResponseObject.ts
|
|
61
70
|
models/ApiAuthRefreshPost200Response.ts
|
|
62
71
|
models/ApiAuthRefreshPost200ResponseResponseObject.ts
|
|
63
72
|
models/ApiAuthRegisterCompletePost200Response.ts
|
|
@@ -72,6 +81,7 @@ models/ApiAuthRegisterVerifyOtpPostRequest.ts
|
|
|
72
81
|
models/ApiAuthSocialMobilePost200Response.ts
|
|
73
82
|
models/ApiAuthSocialMobilePost200ResponseResponseObject.ts
|
|
74
83
|
models/ApiAuthSocialMobilePostRequest.ts
|
|
84
|
+
models/ApiAuthValidateGet200Response.ts
|
|
75
85
|
models/ApiBindCreateJwtGet200Response.ts
|
|
76
86
|
models/ApiBindCreateJwtGet200ResponseResponseObject.ts
|
|
77
87
|
models/ApiBindDiscordGet200Response.ts
|
|
@@ -238,7 +248,6 @@ models/ApiPwaTournamentIdGet200ResponseResponseObjectCreatedBy.ts
|
|
|
238
248
|
models/ApiPwaTournamentIdGet200ResponseResponseObjectTeamsInner.ts
|
|
239
249
|
models/ApiPwaTournamentPost200Response.ts
|
|
240
250
|
models/ApiPwaTournamentPostRequest.ts
|
|
241
|
-
models/ApiPwaTournamentPostRequestAdminInner.ts
|
|
242
251
|
models/ApiPwaTournamentTournamentIdPlayersGet200Response.ts
|
|
243
252
|
models/ApiPwaTournamentTournamentIdPlayersGet200ResponseResponseObjectInner.ts
|
|
244
253
|
models/ApiPwaTournamentTournamentIdPlayersPost200Response.ts
|
|
@@ -327,6 +336,8 @@ models/ApiUserFcmTokenPost200Response.ts
|
|
|
327
336
|
models/ApiUserFcmTokenPost200ResponseResponseObject.ts
|
|
328
337
|
models/ApiUserFcmTokenPostRequest.ts
|
|
329
338
|
models/ApiUserGet200Response.ts
|
|
339
|
+
models/ApiUserGet200ResponseResponseObject.ts
|
|
340
|
+
models/ApiUserGet200ResponseResponseObjectItemsInner.ts
|
|
330
341
|
models/ApiUserGetFilterParameter.ts
|
|
331
342
|
models/ApiUserLeaderboardGet200Response.ts
|
|
332
343
|
models/ApiUserLeaderboardGet200ResponseResponseObject.ts
|
package/apis/AdminPointsApi.ts
CHANGED
|
@@ -15,16 +15,29 @@
|
|
|
15
15
|
|
|
16
16
|
import * as runtime from '../runtime';
|
|
17
17
|
import type {
|
|
18
|
+
ApiAdminPointDropsGet200Response,
|
|
19
|
+
ApiAdminPointDropsGetFilterParameter,
|
|
18
20
|
ApiAdminPointDropsPost200Response,
|
|
19
21
|
ApiAdminPointDropsPostRequest,
|
|
20
22
|
} from '../models/index';
|
|
21
23
|
import {
|
|
24
|
+
ApiAdminPointDropsGet200ResponseFromJSON,
|
|
25
|
+
ApiAdminPointDropsGet200ResponseToJSON,
|
|
26
|
+
ApiAdminPointDropsGetFilterParameterFromJSON,
|
|
27
|
+
ApiAdminPointDropsGetFilterParameterToJSON,
|
|
22
28
|
ApiAdminPointDropsPost200ResponseFromJSON,
|
|
23
29
|
ApiAdminPointDropsPost200ResponseToJSON,
|
|
24
30
|
ApiAdminPointDropsPostRequestFromJSON,
|
|
25
31
|
ApiAdminPointDropsPostRequestToJSON,
|
|
26
32
|
} from '../models/index';
|
|
27
33
|
|
|
34
|
+
export interface ApiAdminPointDropsGetRequest {
|
|
35
|
+
page?: number;
|
|
36
|
+
pageSize?: number;
|
|
37
|
+
sort?: string;
|
|
38
|
+
filter?: ApiAdminPointDropsGetFilterParameter;
|
|
39
|
+
}
|
|
40
|
+
|
|
28
41
|
export interface ApiAdminPointDropsPostOperationRequest {
|
|
29
42
|
apiAdminPointDropsPostRequest?: ApiAdminPointDropsPostRequest;
|
|
30
43
|
}
|
|
@@ -34,6 +47,62 @@ export interface ApiAdminPointDropsPostOperationRequest {
|
|
|
34
47
|
*/
|
|
35
48
|
export class AdminPointsApi extends runtime.BaseAPI {
|
|
36
49
|
|
|
50
|
+
/**
|
|
51
|
+
* Retrieve a paginated list of point drop events
|
|
52
|
+
* List Point Drops
|
|
53
|
+
*/
|
|
54
|
+
async apiAdminPointDropsGetRaw(requestParameters: ApiAdminPointDropsGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiAdminPointDropsGet200Response>> {
|
|
55
|
+
const queryParameters: any = {};
|
|
56
|
+
|
|
57
|
+
if (requestParameters['page'] != null) {
|
|
58
|
+
queryParameters['page'] = requestParameters['page'];
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
if (requestParameters['pageSize'] != null) {
|
|
62
|
+
queryParameters['pageSize'] = requestParameters['pageSize'];
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
if (requestParameters['sort'] != null) {
|
|
66
|
+
queryParameters['sort'] = requestParameters['sort'];
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
if (requestParameters['filter'] != null) {
|
|
70
|
+
queryParameters['filter'] = requestParameters['filter'];
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
74
|
+
|
|
75
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
76
|
+
headerParameters["x-api-key"] = await this.configuration.apiKey("x-api-key"); // ApiKeyAuth authentication
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
80
|
+
const token = this.configuration.accessToken;
|
|
81
|
+
const tokenString = await token("BearerAuth", []);
|
|
82
|
+
|
|
83
|
+
if (tokenString) {
|
|
84
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
const response = await this.request({
|
|
88
|
+
path: `/api/admin/point-drops`,
|
|
89
|
+
method: 'GET',
|
|
90
|
+
headers: headerParameters,
|
|
91
|
+
query: queryParameters,
|
|
92
|
+
}, initOverrides);
|
|
93
|
+
|
|
94
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ApiAdminPointDropsGet200ResponseFromJSON(jsonValue));
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
/**
|
|
98
|
+
* Retrieve a paginated list of point drop events
|
|
99
|
+
* List Point Drops
|
|
100
|
+
*/
|
|
101
|
+
async apiAdminPointDropsGet(requestParameters: ApiAdminPointDropsGetRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiAdminPointDropsGet200Response> {
|
|
102
|
+
const response = await this.apiAdminPointDropsGetRaw(requestParameters, initOverrides);
|
|
103
|
+
return await response.value();
|
|
104
|
+
}
|
|
105
|
+
|
|
37
106
|
/**
|
|
38
107
|
* Create a new point drop event (manual, batch, or global)
|
|
39
108
|
* Create Point Drop
|
|
@@ -21,7 +21,7 @@ import type {
|
|
|
21
21
|
ApiAdminAppConfigsIdPutRequest,
|
|
22
22
|
ApiAdminAppConfigsPost200Response,
|
|
23
23
|
ApiAdminAppConfigsPostRequest,
|
|
24
|
-
|
|
24
|
+
ApiAuthValidateGet200Response,
|
|
25
25
|
} from '../models/index';
|
|
26
26
|
import {
|
|
27
27
|
ApiAdminAppConfigsGet200ResponseFromJSON,
|
|
@@ -36,8 +36,8 @@ import {
|
|
|
36
36
|
ApiAdminAppConfigsPost200ResponseToJSON,
|
|
37
37
|
ApiAdminAppConfigsPostRequestFromJSON,
|
|
38
38
|
ApiAdminAppConfigsPostRequestToJSON,
|
|
39
|
-
|
|
40
|
-
|
|
39
|
+
ApiAuthValidateGet200ResponseFromJSON,
|
|
40
|
+
ApiAuthValidateGet200ResponseToJSON,
|
|
41
41
|
} from '../models/index';
|
|
42
42
|
|
|
43
43
|
export interface ApiAdminAppConfigsGetRequest {
|
|
@@ -184,7 +184,7 @@ export class AppConfigurationApi extends runtime.BaseAPI {
|
|
|
184
184
|
* Delete an existing app configuration
|
|
185
185
|
* Delete App Config
|
|
186
186
|
*/
|
|
187
|
-
async apiAdminAppConfigsIdDeleteRaw(requestParameters: ApiAdminAppConfigsIdDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
187
|
+
async apiAdminAppConfigsIdDeleteRaw(requestParameters: ApiAdminAppConfigsIdDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiAuthValidateGet200Response>> {
|
|
188
188
|
if (requestParameters['id'] == null) {
|
|
189
189
|
throw new runtime.RequiredError(
|
|
190
190
|
'id',
|
|
@@ -215,14 +215,14 @@ export class AppConfigurationApi extends runtime.BaseAPI {
|
|
|
215
215
|
query: queryParameters,
|
|
216
216
|
}, initOverrides);
|
|
217
217
|
|
|
218
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
218
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ApiAuthValidateGet200ResponseFromJSON(jsonValue));
|
|
219
219
|
}
|
|
220
220
|
|
|
221
221
|
/**
|
|
222
222
|
* Delete an existing app configuration
|
|
223
223
|
* Delete App Config
|
|
224
224
|
*/
|
|
225
|
-
async apiAdminAppConfigsIdDelete(requestParameters: ApiAdminAppConfigsIdDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
225
|
+
async apiAdminAppConfigsIdDelete(requestParameters: ApiAdminAppConfigsIdDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiAuthValidateGet200Response> {
|
|
226
226
|
const response = await this.apiAdminAppConfigsIdDeleteRaw(requestParameters, initOverrides);
|
|
227
227
|
return await response.value();
|
|
228
228
|
}
|
|
@@ -22,6 +22,7 @@ import type {
|
|
|
22
22
|
ApiAuthForgotPasswordVerifyOtpPost200Response,
|
|
23
23
|
ApiAuthLoginPost200Response,
|
|
24
24
|
ApiAuthLoginPostRequest,
|
|
25
|
+
ApiAuthOneTimeLoginCodePost200Response,
|
|
25
26
|
ApiAuthRefreshPost200Response,
|
|
26
27
|
ApiAuthRegisterCompletePost200Response,
|
|
27
28
|
ApiAuthRegisterCompletePostRequest,
|
|
@@ -31,7 +32,7 @@ import type {
|
|
|
31
32
|
ApiAuthRegisterVerifyOtpPostRequest,
|
|
32
33
|
ApiAuthSocialMobilePost200Response,
|
|
33
34
|
ApiAuthSocialMobilePostRequest,
|
|
34
|
-
|
|
35
|
+
ApiAuthValidateGet200Response,
|
|
35
36
|
} from '../models/index';
|
|
36
37
|
import {
|
|
37
38
|
ApiAuthChangePasswordPostRequestFromJSON,
|
|
@@ -48,6 +49,8 @@ import {
|
|
|
48
49
|
ApiAuthLoginPost200ResponseToJSON,
|
|
49
50
|
ApiAuthLoginPostRequestFromJSON,
|
|
50
51
|
ApiAuthLoginPostRequestToJSON,
|
|
52
|
+
ApiAuthOneTimeLoginCodePost200ResponseFromJSON,
|
|
53
|
+
ApiAuthOneTimeLoginCodePost200ResponseToJSON,
|
|
51
54
|
ApiAuthRefreshPost200ResponseFromJSON,
|
|
52
55
|
ApiAuthRefreshPost200ResponseToJSON,
|
|
53
56
|
ApiAuthRegisterCompletePost200ResponseFromJSON,
|
|
@@ -66,8 +69,8 @@ import {
|
|
|
66
69
|
ApiAuthSocialMobilePost200ResponseToJSON,
|
|
67
70
|
ApiAuthSocialMobilePostRequestFromJSON,
|
|
68
71
|
ApiAuthSocialMobilePostRequestToJSON,
|
|
69
|
-
|
|
70
|
-
|
|
72
|
+
ApiAuthValidateGet200ResponseFromJSON,
|
|
73
|
+
ApiAuthValidateGet200ResponseToJSON,
|
|
71
74
|
} from '../models/index';
|
|
72
75
|
|
|
73
76
|
export interface ApiAuthChangePasswordPostOperationRequest {
|
|
@@ -90,6 +93,10 @@ export interface ApiAuthLoginPostOperationRequest {
|
|
|
90
93
|
apiAuthLoginPostRequest?: ApiAuthLoginPostRequest;
|
|
91
94
|
}
|
|
92
95
|
|
|
96
|
+
export interface ApiAuthOneTimeLoginCodeGetRequest {
|
|
97
|
+
code: string;
|
|
98
|
+
}
|
|
99
|
+
|
|
93
100
|
export interface ApiAuthRegisterCompletePostOperationRequest {
|
|
94
101
|
apiAuthRegisterCompletePostRequest?: ApiAuthRegisterCompletePostRequest;
|
|
95
102
|
}
|
|
@@ -115,7 +122,7 @@ export class AuthenticationApi extends runtime.BaseAPI {
|
|
|
115
122
|
* Change user password (requires authentication)
|
|
116
123
|
* Change Password
|
|
117
124
|
*/
|
|
118
|
-
async apiAuthChangePasswordPostRaw(requestParameters: ApiAuthChangePasswordPostOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
125
|
+
async apiAuthChangePasswordPostRaw(requestParameters: ApiAuthChangePasswordPostOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiAuthValidateGet200Response>> {
|
|
119
126
|
const queryParameters: any = {};
|
|
120
127
|
|
|
121
128
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
@@ -142,14 +149,14 @@ export class AuthenticationApi extends runtime.BaseAPI {
|
|
|
142
149
|
body: ApiAuthChangePasswordPostRequestToJSON(requestParameters['apiAuthChangePasswordPostRequest']),
|
|
143
150
|
}, initOverrides);
|
|
144
151
|
|
|
145
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
152
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ApiAuthValidateGet200ResponseFromJSON(jsonValue));
|
|
146
153
|
}
|
|
147
154
|
|
|
148
155
|
/**
|
|
149
156
|
* Change user password (requires authentication)
|
|
150
157
|
* Change Password
|
|
151
158
|
*/
|
|
152
|
-
async apiAuthChangePasswordPost(requestParameters: ApiAuthChangePasswordPostOperationRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
159
|
+
async apiAuthChangePasswordPost(requestParameters: ApiAuthChangePasswordPostOperationRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiAuthValidateGet200Response> {
|
|
153
160
|
const response = await this.apiAuthChangePasswordPostRaw(requestParameters, initOverrides);
|
|
154
161
|
return await response.value();
|
|
155
162
|
}
|
|
@@ -326,6 +333,97 @@ export class AuthenticationApi extends runtime.BaseAPI {
|
|
|
326
333
|
return await response.value();
|
|
327
334
|
}
|
|
328
335
|
|
|
336
|
+
/**
|
|
337
|
+
* Verify one-time login code and return JWT tokens
|
|
338
|
+
* Verify One-Time Login Code
|
|
339
|
+
*/
|
|
340
|
+
async apiAuthOneTimeLoginCodeGetRaw(requestParameters: ApiAuthOneTimeLoginCodeGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiAuthRefreshPost200Response>> {
|
|
341
|
+
if (requestParameters['code'] == null) {
|
|
342
|
+
throw new runtime.RequiredError(
|
|
343
|
+
'code',
|
|
344
|
+
'Required parameter "code" was null or undefined when calling apiAuthOneTimeLoginCodeGet().'
|
|
345
|
+
);
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
const queryParameters: any = {};
|
|
349
|
+
|
|
350
|
+
if (requestParameters['code'] != null) {
|
|
351
|
+
queryParameters['code'] = requestParameters['code'];
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
355
|
+
|
|
356
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
357
|
+
headerParameters["x-api-key"] = await this.configuration.apiKey("x-api-key"); // ApiKeyAuth authentication
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
361
|
+
const token = this.configuration.accessToken;
|
|
362
|
+
const tokenString = await token("BearerAuth", []);
|
|
363
|
+
|
|
364
|
+
if (tokenString) {
|
|
365
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
366
|
+
}
|
|
367
|
+
}
|
|
368
|
+
const response = await this.request({
|
|
369
|
+
path: `/api/auth/one-time-login-code`,
|
|
370
|
+
method: 'GET',
|
|
371
|
+
headers: headerParameters,
|
|
372
|
+
query: queryParameters,
|
|
373
|
+
}, initOverrides);
|
|
374
|
+
|
|
375
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ApiAuthRefreshPost200ResponseFromJSON(jsonValue));
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
/**
|
|
379
|
+
* Verify one-time login code and return JWT tokens
|
|
380
|
+
* Verify One-Time Login Code
|
|
381
|
+
*/
|
|
382
|
+
async apiAuthOneTimeLoginCodeGet(requestParameters: ApiAuthOneTimeLoginCodeGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiAuthRefreshPost200Response> {
|
|
383
|
+
const response = await this.apiAuthOneTimeLoginCodeGetRaw(requestParameters, initOverrides);
|
|
384
|
+
return await response.value();
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
/**
|
|
388
|
+
* Generate a one-time login code for authenticated user (expires in 1 minute)
|
|
389
|
+
* Generate One-Time Login Code
|
|
390
|
+
*/
|
|
391
|
+
async apiAuthOneTimeLoginCodePostRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiAuthOneTimeLoginCodePost200Response>> {
|
|
392
|
+
const queryParameters: any = {};
|
|
393
|
+
|
|
394
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
395
|
+
|
|
396
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
397
|
+
headerParameters["x-api-key"] = await this.configuration.apiKey("x-api-key"); // ApiKeyAuth authentication
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
401
|
+
const token = this.configuration.accessToken;
|
|
402
|
+
const tokenString = await token("BearerAuth", []);
|
|
403
|
+
|
|
404
|
+
if (tokenString) {
|
|
405
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
406
|
+
}
|
|
407
|
+
}
|
|
408
|
+
const response = await this.request({
|
|
409
|
+
path: `/api/auth/one-time-login-code`,
|
|
410
|
+
method: 'POST',
|
|
411
|
+
headers: headerParameters,
|
|
412
|
+
query: queryParameters,
|
|
413
|
+
}, initOverrides);
|
|
414
|
+
|
|
415
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ApiAuthOneTimeLoginCodePost200ResponseFromJSON(jsonValue));
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
/**
|
|
419
|
+
* Generate a one-time login code for authenticated user (expires in 1 minute)
|
|
420
|
+
* Generate One-Time Login Code
|
|
421
|
+
*/
|
|
422
|
+
async apiAuthOneTimeLoginCodePost(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiAuthOneTimeLoginCodePost200Response> {
|
|
423
|
+
const response = await this.apiAuthOneTimeLoginCodePostRaw(initOverrides);
|
|
424
|
+
return await response.value();
|
|
425
|
+
}
|
|
426
|
+
|
|
329
427
|
/**
|
|
330
428
|
* Generate new access and refresh tokens using Authorization header
|
|
331
429
|
* Refresh Access Token
|
|
@@ -542,7 +640,7 @@ export class AuthenticationApi extends runtime.BaseAPI {
|
|
|
542
640
|
* Validate the current access token and return user information
|
|
543
641
|
* Validate Token
|
|
544
642
|
*/
|
|
545
|
-
async apiAuthValidateGetRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
643
|
+
async apiAuthValidateGetRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiAuthValidateGet200Response>> {
|
|
546
644
|
const queryParameters: any = {};
|
|
547
645
|
|
|
548
646
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
@@ -566,14 +664,14 @@ export class AuthenticationApi extends runtime.BaseAPI {
|
|
|
566
664
|
query: queryParameters,
|
|
567
665
|
}, initOverrides);
|
|
568
666
|
|
|
569
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
667
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ApiAuthValidateGet200ResponseFromJSON(jsonValue));
|
|
570
668
|
}
|
|
571
669
|
|
|
572
670
|
/**
|
|
573
671
|
* Validate the current access token and return user information
|
|
574
672
|
* Validate Token
|
|
575
673
|
*/
|
|
576
|
-
async apiAuthValidateGet(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
674
|
+
async apiAuthValidateGet(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiAuthValidateGet200Response> {
|
|
577
675
|
const response = await this.apiAuthValidateGetRaw(initOverrides);
|
|
578
676
|
return await response.value();
|
|
579
677
|
}
|
|
@@ -10,7 +10,13 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { ApiAdminPointDropsPost200Response, ApiAdminPointDropsPostRequest } from '../models/index';
|
|
13
|
+
import type { ApiAdminPointDropsGet200Response, ApiAdminPointDropsGetFilterParameter, ApiAdminPointDropsPost200Response, ApiAdminPointDropsPostRequest } from '../models/index';
|
|
14
|
+
export interface ApiAdminPointDropsGetRequest {
|
|
15
|
+
page?: number;
|
|
16
|
+
pageSize?: number;
|
|
17
|
+
sort?: string;
|
|
18
|
+
filter?: ApiAdminPointDropsGetFilterParameter;
|
|
19
|
+
}
|
|
14
20
|
export interface ApiAdminPointDropsPostOperationRequest {
|
|
15
21
|
apiAdminPointDropsPostRequest?: ApiAdminPointDropsPostRequest;
|
|
16
22
|
}
|
|
@@ -18,6 +24,16 @@ export interface ApiAdminPointDropsPostOperationRequest {
|
|
|
18
24
|
*
|
|
19
25
|
*/
|
|
20
26
|
export declare class AdminPointsApi extends runtime.BaseAPI {
|
|
27
|
+
/**
|
|
28
|
+
* Retrieve a paginated list of point drop events
|
|
29
|
+
* List Point Drops
|
|
30
|
+
*/
|
|
31
|
+
apiAdminPointDropsGetRaw(requestParameters: ApiAdminPointDropsGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiAdminPointDropsGet200Response>>;
|
|
32
|
+
/**
|
|
33
|
+
* Retrieve a paginated list of point drop events
|
|
34
|
+
* List Point Drops
|
|
35
|
+
*/
|
|
36
|
+
apiAdminPointDropsGet(requestParameters?: ApiAdminPointDropsGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiAdminPointDropsGet200Response>;
|
|
21
37
|
/**
|
|
22
38
|
* Create a new point drop event (manual, batch, or global)
|
|
23
39
|
* Create Point Drop
|
|
@@ -12,11 +12,56 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
import * as runtime from '../runtime';
|
|
15
|
-
import { ApiAdminPointDropsPost200ResponseFromJSON, ApiAdminPointDropsPostRequestToJSON, } from '../models/index';
|
|
15
|
+
import { ApiAdminPointDropsGet200ResponseFromJSON, ApiAdminPointDropsPost200ResponseFromJSON, ApiAdminPointDropsPostRequestToJSON, } from '../models/index';
|
|
16
16
|
/**
|
|
17
17
|
*
|
|
18
18
|
*/
|
|
19
19
|
export class AdminPointsApi extends runtime.BaseAPI {
|
|
20
|
+
/**
|
|
21
|
+
* Retrieve a paginated list of point drop events
|
|
22
|
+
* List Point Drops
|
|
23
|
+
*/
|
|
24
|
+
async apiAdminPointDropsGetRaw(requestParameters, initOverrides) {
|
|
25
|
+
const queryParameters = {};
|
|
26
|
+
if (requestParameters['page'] != null) {
|
|
27
|
+
queryParameters['page'] = requestParameters['page'];
|
|
28
|
+
}
|
|
29
|
+
if (requestParameters['pageSize'] != null) {
|
|
30
|
+
queryParameters['pageSize'] = requestParameters['pageSize'];
|
|
31
|
+
}
|
|
32
|
+
if (requestParameters['sort'] != null) {
|
|
33
|
+
queryParameters['sort'] = requestParameters['sort'];
|
|
34
|
+
}
|
|
35
|
+
if (requestParameters['filter'] != null) {
|
|
36
|
+
queryParameters['filter'] = requestParameters['filter'];
|
|
37
|
+
}
|
|
38
|
+
const headerParameters = {};
|
|
39
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
40
|
+
headerParameters["x-api-key"] = await this.configuration.apiKey("x-api-key"); // ApiKeyAuth authentication
|
|
41
|
+
}
|
|
42
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
43
|
+
const token = this.configuration.accessToken;
|
|
44
|
+
const tokenString = await token("BearerAuth", []);
|
|
45
|
+
if (tokenString) {
|
|
46
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
const response = await this.request({
|
|
50
|
+
path: `/api/admin/point-drops`,
|
|
51
|
+
method: 'GET',
|
|
52
|
+
headers: headerParameters,
|
|
53
|
+
query: queryParameters,
|
|
54
|
+
}, initOverrides);
|
|
55
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ApiAdminPointDropsGet200ResponseFromJSON(jsonValue));
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* Retrieve a paginated list of point drop events
|
|
59
|
+
* List Point Drops
|
|
60
|
+
*/
|
|
61
|
+
async apiAdminPointDropsGet(requestParameters = {}, initOverrides) {
|
|
62
|
+
const response = await this.apiAdminPointDropsGetRaw(requestParameters, initOverrides);
|
|
63
|
+
return await response.value();
|
|
64
|
+
}
|
|
20
65
|
/**
|
|
21
66
|
* Create a new point drop event (manual, batch, or global)
|
|
22
67
|
* Create Point Drop
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { ApiAdminAppConfigsGet200Response, ApiAdminAppConfigsGetFilterParameter, ApiAdminAppConfigsGroupGroupGet200Response, ApiAdminAppConfigsIdPutRequest, ApiAdminAppConfigsPost200Response, ApiAdminAppConfigsPostRequest,
|
|
13
|
+
import type { ApiAdminAppConfigsGet200Response, ApiAdminAppConfigsGetFilterParameter, ApiAdminAppConfigsGroupGroupGet200Response, ApiAdminAppConfigsIdPutRequest, ApiAdminAppConfigsPost200Response, ApiAdminAppConfigsPostRequest, ApiAuthValidateGet200Response } from '../models/index';
|
|
14
14
|
export interface ApiAdminAppConfigsGetRequest {
|
|
15
15
|
page?: number;
|
|
16
16
|
pageSize?: number;
|
|
@@ -64,12 +64,12 @@ export declare class AppConfigurationApi extends runtime.BaseAPI {
|
|
|
64
64
|
* Delete an existing app configuration
|
|
65
65
|
* Delete App Config
|
|
66
66
|
*/
|
|
67
|
-
apiAdminAppConfigsIdDeleteRaw(requestParameters: ApiAdminAppConfigsIdDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
67
|
+
apiAdminAppConfigsIdDeleteRaw(requestParameters: ApiAdminAppConfigsIdDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiAuthValidateGet200Response>>;
|
|
68
68
|
/**
|
|
69
69
|
* Delete an existing app configuration
|
|
70
70
|
* Delete App Config
|
|
71
71
|
*/
|
|
72
|
-
apiAdminAppConfigsIdDelete(requestParameters: ApiAdminAppConfigsIdDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
72
|
+
apiAdminAppConfigsIdDelete(requestParameters: ApiAdminAppConfigsIdDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiAuthValidateGet200Response>;
|
|
73
73
|
/**
|
|
74
74
|
* Retrieve a specific app configuration by its ID
|
|
75
75
|
* Get App Config by ID
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
import * as runtime from '../runtime';
|
|
15
|
-
import { ApiAdminAppConfigsGet200ResponseFromJSON, ApiAdminAppConfigsGroupGroupGet200ResponseFromJSON, ApiAdminAppConfigsIdPutRequestToJSON, ApiAdminAppConfigsPost200ResponseFromJSON, ApiAdminAppConfigsPostRequestToJSON,
|
|
15
|
+
import { ApiAdminAppConfigsGet200ResponseFromJSON, ApiAdminAppConfigsGroupGroupGet200ResponseFromJSON, ApiAdminAppConfigsIdPutRequestToJSON, ApiAdminAppConfigsPost200ResponseFromJSON, ApiAdminAppConfigsPostRequestToJSON, ApiAuthValidateGet200ResponseFromJSON, } from '../models/index';
|
|
16
16
|
/**
|
|
17
17
|
*
|
|
18
18
|
*/
|
|
@@ -124,7 +124,7 @@ export class AppConfigurationApi extends runtime.BaseAPI {
|
|
|
124
124
|
headers: headerParameters,
|
|
125
125
|
query: queryParameters,
|
|
126
126
|
}, initOverrides);
|
|
127
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
127
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ApiAuthValidateGet200ResponseFromJSON(jsonValue));
|
|
128
128
|
}
|
|
129
129
|
/**
|
|
130
130
|
* Delete an existing app configuration
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { ApiAuthChangePasswordPostRequest, ApiAuthForgotPasswordChangePasswordPost200Response, ApiAuthForgotPasswordChangePasswordPostRequest, ApiAuthForgotPasswordRequestPostRequest, ApiAuthForgotPasswordVerifyOtpPost200Response, ApiAuthLoginPost200Response, ApiAuthLoginPostRequest, ApiAuthRefreshPost200Response, ApiAuthRegisterCompletePost200Response, ApiAuthRegisterCompletePostRequest, ApiAuthRegisterStartPost200Response, ApiAuthRegisterStartPostRequest, ApiAuthRegisterVerifyOtpPost200Response, ApiAuthRegisterVerifyOtpPostRequest, ApiAuthSocialMobilePost200Response, ApiAuthSocialMobilePostRequest,
|
|
13
|
+
import type { ApiAuthChangePasswordPostRequest, ApiAuthForgotPasswordChangePasswordPost200Response, ApiAuthForgotPasswordChangePasswordPostRequest, ApiAuthForgotPasswordRequestPostRequest, ApiAuthForgotPasswordVerifyOtpPost200Response, ApiAuthLoginPost200Response, ApiAuthLoginPostRequest, ApiAuthOneTimeLoginCodePost200Response, ApiAuthRefreshPost200Response, ApiAuthRegisterCompletePost200Response, ApiAuthRegisterCompletePostRequest, ApiAuthRegisterStartPost200Response, ApiAuthRegisterStartPostRequest, ApiAuthRegisterVerifyOtpPost200Response, ApiAuthRegisterVerifyOtpPostRequest, ApiAuthSocialMobilePost200Response, ApiAuthSocialMobilePostRequest, ApiAuthValidateGet200Response } from '../models/index';
|
|
14
14
|
export interface ApiAuthChangePasswordPostOperationRequest {
|
|
15
15
|
apiAuthChangePasswordPostRequest?: ApiAuthChangePasswordPostRequest;
|
|
16
16
|
}
|
|
@@ -26,6 +26,9 @@ export interface ApiAuthForgotPasswordVerifyOtpPostRequest {
|
|
|
26
26
|
export interface ApiAuthLoginPostOperationRequest {
|
|
27
27
|
apiAuthLoginPostRequest?: ApiAuthLoginPostRequest;
|
|
28
28
|
}
|
|
29
|
+
export interface ApiAuthOneTimeLoginCodeGetRequest {
|
|
30
|
+
code: string;
|
|
31
|
+
}
|
|
29
32
|
export interface ApiAuthRegisterCompletePostOperationRequest {
|
|
30
33
|
apiAuthRegisterCompletePostRequest?: ApiAuthRegisterCompletePostRequest;
|
|
31
34
|
}
|
|
@@ -46,12 +49,12 @@ export declare class AuthenticationApi extends runtime.BaseAPI {
|
|
|
46
49
|
* Change user password (requires authentication)
|
|
47
50
|
* Change Password
|
|
48
51
|
*/
|
|
49
|
-
apiAuthChangePasswordPostRaw(requestParameters: ApiAuthChangePasswordPostOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
52
|
+
apiAuthChangePasswordPostRaw(requestParameters: ApiAuthChangePasswordPostOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiAuthValidateGet200Response>>;
|
|
50
53
|
/**
|
|
51
54
|
* Change user password (requires authentication)
|
|
52
55
|
* Change Password
|
|
53
56
|
*/
|
|
54
|
-
apiAuthChangePasswordPost(requestParameters?: ApiAuthChangePasswordPostOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
57
|
+
apiAuthChangePasswordPost(requestParameters?: ApiAuthChangePasswordPostOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiAuthValidateGet200Response>;
|
|
55
58
|
/**
|
|
56
59
|
* Change password using reset token
|
|
57
60
|
* Forgot Password 3. Change Password
|
|
@@ -92,6 +95,26 @@ export declare class AuthenticationApi extends runtime.BaseAPI {
|
|
|
92
95
|
* User Login
|
|
93
96
|
*/
|
|
94
97
|
apiAuthLoginPost(requestParameters?: ApiAuthLoginPostOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiAuthLoginPost200Response>;
|
|
98
|
+
/**
|
|
99
|
+
* Verify one-time login code and return JWT tokens
|
|
100
|
+
* Verify One-Time Login Code
|
|
101
|
+
*/
|
|
102
|
+
apiAuthOneTimeLoginCodeGetRaw(requestParameters: ApiAuthOneTimeLoginCodeGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiAuthRefreshPost200Response>>;
|
|
103
|
+
/**
|
|
104
|
+
* Verify one-time login code and return JWT tokens
|
|
105
|
+
* Verify One-Time Login Code
|
|
106
|
+
*/
|
|
107
|
+
apiAuthOneTimeLoginCodeGet(requestParameters: ApiAuthOneTimeLoginCodeGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiAuthRefreshPost200Response>;
|
|
108
|
+
/**
|
|
109
|
+
* Generate a one-time login code for authenticated user (expires in 1 minute)
|
|
110
|
+
* Generate One-Time Login Code
|
|
111
|
+
*/
|
|
112
|
+
apiAuthOneTimeLoginCodePostRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiAuthOneTimeLoginCodePost200Response>>;
|
|
113
|
+
/**
|
|
114
|
+
* Generate a one-time login code for authenticated user (expires in 1 minute)
|
|
115
|
+
* Generate One-Time Login Code
|
|
116
|
+
*/
|
|
117
|
+
apiAuthOneTimeLoginCodePost(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiAuthOneTimeLoginCodePost200Response>;
|
|
95
118
|
/**
|
|
96
119
|
* Generate new access and refresh tokens using Authorization header
|
|
97
120
|
* Refresh Access Token
|
|
@@ -146,10 +169,10 @@ export declare class AuthenticationApi extends runtime.BaseAPI {
|
|
|
146
169
|
* Validate the current access token and return user information
|
|
147
170
|
* Validate Token
|
|
148
171
|
*/
|
|
149
|
-
apiAuthValidateGetRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
172
|
+
apiAuthValidateGetRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiAuthValidateGet200Response>>;
|
|
150
173
|
/**
|
|
151
174
|
* Validate the current access token and return user information
|
|
152
175
|
* Validate Token
|
|
153
176
|
*/
|
|
154
|
-
apiAuthValidateGet(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
177
|
+
apiAuthValidateGet(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiAuthValidateGet200Response>;
|
|
155
178
|
}
|