@drxsuperapp/sdk 1.1.218 → 1.1.220

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.
Files changed (48) hide show
  1. package/.openapi-generator/FILES +10 -0
  2. package/apis/AuthenticationApi.ts +153 -0
  3. package/apis/EsportApi.ts +67 -0
  4. package/deploy.log +35 -8
  5. package/dist/apis/AuthenticationApi.d.ts +40 -1
  6. package/dist/apis/AuthenticationApi.js +106 -1
  7. package/dist/apis/EsportApi.d.ts +15 -1
  8. package/dist/apis/EsportApi.js +44 -1
  9. package/dist/models/ApiAuthForgotPasswordChangePasswordPost200Response.d.ts +51 -0
  10. package/dist/models/ApiAuthForgotPasswordChangePasswordPost200Response.js +54 -0
  11. package/dist/models/ApiAuthForgotPasswordChangePasswordPost200ResponseResponseObject.d.ts +38 -0
  12. package/dist/models/ApiAuthForgotPasswordChangePasswordPost200ResponseResponseObject.js +47 -0
  13. package/dist/models/ApiAuthForgotPasswordChangePasswordPostRequest.d.ts +44 -0
  14. package/dist/models/ApiAuthForgotPasswordChangePasswordPostRequest.js +51 -0
  15. package/dist/models/ApiAuthForgotPasswordRequestPostRequest.d.ts +32 -0
  16. package/dist/models/ApiAuthForgotPasswordRequestPostRequest.js +43 -0
  17. package/dist/models/ApiAuthForgotPasswordVerifyOtpPost200Response.d.ts +51 -0
  18. package/dist/models/ApiAuthForgotPasswordVerifyOtpPost200Response.js +54 -0
  19. package/dist/models/ApiAuthForgotPasswordVerifyOtpPost200ResponseResponseObject.d.ts +44 -0
  20. package/dist/models/ApiAuthForgotPasswordVerifyOtpPost200ResponseResponseObject.js +49 -0
  21. package/dist/models/ApiAuthRegisterCompletePostRequest.d.ts +2 -2
  22. package/dist/models/ApiAuthRegisterCompletePostRequest.js +4 -2
  23. package/dist/models/ApiAuthRegisterStartPostRequest.d.ts +6 -0
  24. package/dist/models/ApiAuthRegisterStartPostRequest.js +2 -0
  25. package/dist/models/ApiEsportPlayersGet200Response.d.ts +51 -0
  26. package/dist/models/ApiEsportPlayersGet200Response.js +54 -0
  27. package/dist/models/ApiEsportPlayersGet200ResponseResponseObject.d.ts +57 -0
  28. package/dist/models/ApiEsportPlayersGet200ResponseResponseObject.js +60 -0
  29. package/dist/models/ApiEsportPlayersGet200ResponseResponseObjectItemsInner.d.ts +106 -0
  30. package/dist/models/ApiEsportPlayersGet200ResponseResponseObjectItemsInner.js +77 -0
  31. package/dist/models/ApiEsportPlayersGetFilterParameter.d.ts +64 -0
  32. package/dist/models/ApiEsportPlayersGetFilterParameter.js +53 -0
  33. package/dist/models/index.d.ts +10 -0
  34. package/dist/models/index.js +10 -0
  35. package/models/ApiAuthForgotPasswordChangePasswordPost200Response.ts +100 -0
  36. package/models/ApiAuthForgotPasswordChangePasswordPost200ResponseResponseObject.ts +75 -0
  37. package/models/ApiAuthForgotPasswordChangePasswordPostRequest.ts +84 -0
  38. package/models/ApiAuthForgotPasswordRequestPostRequest.ts +66 -0
  39. package/models/ApiAuthForgotPasswordVerifyOtpPost200Response.ts +100 -0
  40. package/models/ApiAuthForgotPasswordVerifyOtpPost200ResponseResponseObject.ts +83 -0
  41. package/models/ApiAuthRegisterCompletePostRequest.ts +5 -4
  42. package/models/ApiAuthRegisterStartPostRequest.ts +8 -0
  43. package/models/ApiEsportPlayersGet200Response.ts +100 -0
  44. package/models/ApiEsportPlayersGet200ResponseResponseObject.ts +110 -0
  45. package/models/ApiEsportPlayersGet200ResponseResponseObjectItemsInner.ts +181 -0
  46. package/models/ApiEsportPlayersGetFilterParameter.ts +120 -0
  47. package/models/index.ts +10 -0
  48. package/package.json +1 -1
@@ -12,6 +12,12 @@ apis/UserPointsApi.ts
12
12
  apis/YoutubeApi.ts
13
13
  apis/index.ts
14
14
  index.ts
15
+ models/ApiAuthForgotPasswordChangePasswordPost200Response.ts
16
+ models/ApiAuthForgotPasswordChangePasswordPost200ResponseResponseObject.ts
17
+ models/ApiAuthForgotPasswordChangePasswordPostRequest.ts
18
+ models/ApiAuthForgotPasswordRequestPostRequest.ts
19
+ models/ApiAuthForgotPasswordVerifyOtpPost200Response.ts
20
+ models/ApiAuthForgotPasswordVerifyOtpPost200ResponseResponseObject.ts
15
21
  models/ApiAuthLoginPost200Response.ts
16
22
  models/ApiAuthLoginPost200ResponseResponseObject.ts
17
23
  models/ApiAuthLoginPost200ResponseResponseObjectUser.ts
@@ -39,6 +45,10 @@ models/ApiEsportMatchesGet200ResponseResponseObjectItemsInnerResultsInnerTeam.ts
39
45
  models/ApiEsportMatchesGet200ResponseResponseObjectItemsInnerStreamsListInner.ts
40
46
  models/ApiEsportMatchesGetFilterParameter.ts
41
47
  models/ApiEsportMatchesIdGet200Response.ts
48
+ models/ApiEsportPlayersGet200Response.ts
49
+ models/ApiEsportPlayersGet200ResponseResponseObject.ts
50
+ models/ApiEsportPlayersGet200ResponseResponseObjectItemsInner.ts
51
+ models/ApiEsportPlayersGetFilterParameter.ts
42
52
  models/ApiEsportVideogamesGet200Response.ts
43
53
  models/ApiEsportVideogamesGet200ResponseResponseObjectInner.ts
44
54
  models/ApiHealthCheckGet200Response.ts
@@ -15,6 +15,10 @@
15
15
 
16
16
  import * as runtime from '../runtime';
17
17
  import type {
18
+ ApiAuthForgotPasswordChangePasswordPost200Response,
19
+ ApiAuthForgotPasswordChangePasswordPostRequest,
20
+ ApiAuthForgotPasswordRequestPostRequest,
21
+ ApiAuthForgotPasswordVerifyOtpPost200Response,
18
22
  ApiAuthLoginPost200Response,
19
23
  ApiAuthLoginPostRequest,
20
24
  ApiAuthRefreshPost200Response,
@@ -29,6 +33,14 @@ import type {
29
33
  ApiUserGet200Response,
30
34
  } from '../models/index';
31
35
  import {
36
+ ApiAuthForgotPasswordChangePasswordPost200ResponseFromJSON,
37
+ ApiAuthForgotPasswordChangePasswordPost200ResponseToJSON,
38
+ ApiAuthForgotPasswordChangePasswordPostRequestFromJSON,
39
+ ApiAuthForgotPasswordChangePasswordPostRequestToJSON,
40
+ ApiAuthForgotPasswordRequestPostRequestFromJSON,
41
+ ApiAuthForgotPasswordRequestPostRequestToJSON,
42
+ ApiAuthForgotPasswordVerifyOtpPost200ResponseFromJSON,
43
+ ApiAuthForgotPasswordVerifyOtpPost200ResponseToJSON,
32
44
  ApiAuthLoginPost200ResponseFromJSON,
33
45
  ApiAuthLoginPost200ResponseToJSON,
34
46
  ApiAuthLoginPostRequestFromJSON,
@@ -55,6 +67,18 @@ import {
55
67
  ApiUserGet200ResponseToJSON,
56
68
  } from '../models/index';
57
69
 
70
+ export interface ApiAuthForgotPasswordChangePasswordPostOperationRequest {
71
+ apiAuthForgotPasswordChangePasswordPostRequest?: ApiAuthForgotPasswordChangePasswordPostRequest;
72
+ }
73
+
74
+ export interface ApiAuthForgotPasswordRequestPostOperationRequest {
75
+ apiAuthForgotPasswordRequestPostRequest?: ApiAuthForgotPasswordRequestPostRequest;
76
+ }
77
+
78
+ export interface ApiAuthForgotPasswordVerifyOtpPostRequest {
79
+ apiAuthRegisterVerifyOtpPostRequest?: ApiAuthRegisterVerifyOtpPostRequest;
80
+ }
81
+
58
82
  export interface ApiAuthLoginPostOperationRequest {
59
83
  apiAuthLoginPostRequest?: ApiAuthLoginPostRequest;
60
84
  }
@@ -80,6 +104,135 @@ export interface ApiAuthSocialMobilePostOperationRequest {
80
104
  */
81
105
  export class AuthenticationApi extends runtime.BaseAPI {
82
106
 
107
+ /**
108
+ * Change password using reset token
109
+ * Forgot Password 3. Change Password
110
+ */
111
+ async apiAuthForgotPasswordChangePasswordPostRaw(requestParameters: ApiAuthForgotPasswordChangePasswordPostOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiAuthForgotPasswordChangePasswordPost200Response>> {
112
+ const queryParameters: any = {};
113
+
114
+ const headerParameters: runtime.HTTPHeaders = {};
115
+
116
+ headerParameters['Content-Type'] = 'application/json';
117
+
118
+ if (this.configuration && this.configuration.apiKey) {
119
+ headerParameters["x-api-key"] = await this.configuration.apiKey("x-api-key"); // ApiKeyAuth authentication
120
+ }
121
+
122
+ if (this.configuration && this.configuration.accessToken) {
123
+ const token = this.configuration.accessToken;
124
+ const tokenString = await token("BearerAuth", []);
125
+
126
+ if (tokenString) {
127
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
128
+ }
129
+ }
130
+ const response = await this.request({
131
+ path: `/api/auth/forgot-password/change-password`,
132
+ method: 'POST',
133
+ headers: headerParameters,
134
+ query: queryParameters,
135
+ body: ApiAuthForgotPasswordChangePasswordPostRequestToJSON(requestParameters['apiAuthForgotPasswordChangePasswordPostRequest']),
136
+ }, initOverrides);
137
+
138
+ return new runtime.JSONApiResponse(response, (jsonValue) => ApiAuthForgotPasswordChangePasswordPost200ResponseFromJSON(jsonValue));
139
+ }
140
+
141
+ /**
142
+ * Change password using reset token
143
+ * Forgot Password 3. Change Password
144
+ */
145
+ async apiAuthForgotPasswordChangePasswordPost(requestParameters: ApiAuthForgotPasswordChangePasswordPostOperationRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiAuthForgotPasswordChangePasswordPost200Response> {
146
+ const response = await this.apiAuthForgotPasswordChangePasswordPostRaw(requestParameters, initOverrides);
147
+ return await response.value();
148
+ }
149
+
150
+ /**
151
+ * Request OTP for password reset
152
+ * Forgot Password 1. Request OTP
153
+ */
154
+ async apiAuthForgotPasswordRequestPostRaw(requestParameters: ApiAuthForgotPasswordRequestPostOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiAuthRegisterStartPost200Response>> {
155
+ const queryParameters: any = {};
156
+
157
+ const headerParameters: runtime.HTTPHeaders = {};
158
+
159
+ headerParameters['Content-Type'] = 'application/json';
160
+
161
+ if (this.configuration && this.configuration.apiKey) {
162
+ headerParameters["x-api-key"] = await this.configuration.apiKey("x-api-key"); // ApiKeyAuth authentication
163
+ }
164
+
165
+ if (this.configuration && this.configuration.accessToken) {
166
+ const token = this.configuration.accessToken;
167
+ const tokenString = await token("BearerAuth", []);
168
+
169
+ if (tokenString) {
170
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
171
+ }
172
+ }
173
+ const response = await this.request({
174
+ path: `/api/auth/forgot-password/request`,
175
+ method: 'POST',
176
+ headers: headerParameters,
177
+ query: queryParameters,
178
+ body: ApiAuthForgotPasswordRequestPostRequestToJSON(requestParameters['apiAuthForgotPasswordRequestPostRequest']),
179
+ }, initOverrides);
180
+
181
+ return new runtime.JSONApiResponse(response, (jsonValue) => ApiAuthRegisterStartPost200ResponseFromJSON(jsonValue));
182
+ }
183
+
184
+ /**
185
+ * Request OTP for password reset
186
+ * Forgot Password 1. Request OTP
187
+ */
188
+ async apiAuthForgotPasswordRequestPost(requestParameters: ApiAuthForgotPasswordRequestPostOperationRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiAuthRegisterStartPost200Response> {
189
+ const response = await this.apiAuthForgotPasswordRequestPostRaw(requestParameters, initOverrides);
190
+ return await response.value();
191
+ }
192
+
193
+ /**
194
+ * Verify OTP and get reset token
195
+ * Forgot Password 2. Verify OTP
196
+ */
197
+ async apiAuthForgotPasswordVerifyOtpPostRaw(requestParameters: ApiAuthForgotPasswordVerifyOtpPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiAuthForgotPasswordVerifyOtpPost200Response>> {
198
+ const queryParameters: any = {};
199
+
200
+ const headerParameters: runtime.HTTPHeaders = {};
201
+
202
+ headerParameters['Content-Type'] = 'application/json';
203
+
204
+ if (this.configuration && this.configuration.apiKey) {
205
+ headerParameters["x-api-key"] = await this.configuration.apiKey("x-api-key"); // ApiKeyAuth authentication
206
+ }
207
+
208
+ if (this.configuration && this.configuration.accessToken) {
209
+ const token = this.configuration.accessToken;
210
+ const tokenString = await token("BearerAuth", []);
211
+
212
+ if (tokenString) {
213
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
214
+ }
215
+ }
216
+ const response = await this.request({
217
+ path: `/api/auth/forgot-password/verify-otp`,
218
+ method: 'POST',
219
+ headers: headerParameters,
220
+ query: queryParameters,
221
+ body: ApiAuthRegisterVerifyOtpPostRequestToJSON(requestParameters['apiAuthRegisterVerifyOtpPostRequest']),
222
+ }, initOverrides);
223
+
224
+ return new runtime.JSONApiResponse(response, (jsonValue) => ApiAuthForgotPasswordVerifyOtpPost200ResponseFromJSON(jsonValue));
225
+ }
226
+
227
+ /**
228
+ * Verify OTP and get reset token
229
+ * Forgot Password 2. Verify OTP
230
+ */
231
+ async apiAuthForgotPasswordVerifyOtpPost(requestParameters: ApiAuthForgotPasswordVerifyOtpPostRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiAuthForgotPasswordVerifyOtpPost200Response> {
232
+ const response = await this.apiAuthForgotPasswordVerifyOtpPostRaw(requestParameters, initOverrides);
233
+ return await response.value();
234
+ }
235
+
83
236
  /**
84
237
  * Authenticate user with email and password
85
238
  * User Login
package/apis/EsportApi.ts CHANGED
@@ -18,6 +18,8 @@ import type {
18
18
  ApiEsportMatchesGet200Response,
19
19
  ApiEsportMatchesGetFilterParameter,
20
20
  ApiEsportMatchesIdGet200Response,
21
+ ApiEsportPlayersGet200Response,
22
+ ApiEsportPlayersGetFilterParameter,
21
23
  ApiEsportVideogamesGet200Response,
22
24
  } from '../models/index';
23
25
  import {
@@ -27,6 +29,10 @@ import {
27
29
  ApiEsportMatchesGetFilterParameterToJSON,
28
30
  ApiEsportMatchesIdGet200ResponseFromJSON,
29
31
  ApiEsportMatchesIdGet200ResponseToJSON,
32
+ ApiEsportPlayersGet200ResponseFromJSON,
33
+ ApiEsportPlayersGet200ResponseToJSON,
34
+ ApiEsportPlayersGetFilterParameterFromJSON,
35
+ ApiEsportPlayersGetFilterParameterToJSON,
30
36
  ApiEsportVideogamesGet200ResponseFromJSON,
31
37
  ApiEsportVideogamesGet200ResponseToJSON,
32
38
  } from '../models/index';
@@ -42,6 +48,13 @@ export interface ApiEsportMatchesIdGetRequest {
42
48
  id: string;
43
49
  }
44
50
 
51
+ export interface ApiEsportPlayersGetRequest {
52
+ page?: number;
53
+ pageSize?: number;
54
+ sort?: string;
55
+ filter?: ApiEsportPlayersGetFilterParameter;
56
+ }
57
+
45
58
  /**
46
59
  *
47
60
  */
@@ -146,6 +159,60 @@ export class EsportApi extends runtime.BaseAPI {
146
159
  return await response.value();
147
160
  }
148
161
 
162
+ /**
163
+ * Get Esport Players
164
+ */
165
+ async apiEsportPlayersGetRaw(requestParameters: ApiEsportPlayersGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiEsportPlayersGet200Response>> {
166
+ const queryParameters: any = {};
167
+
168
+ if (requestParameters['page'] != null) {
169
+ queryParameters['page'] = requestParameters['page'];
170
+ }
171
+
172
+ if (requestParameters['pageSize'] != null) {
173
+ queryParameters['pageSize'] = requestParameters['pageSize'];
174
+ }
175
+
176
+ if (requestParameters['sort'] != null) {
177
+ queryParameters['sort'] = requestParameters['sort'];
178
+ }
179
+
180
+ if (requestParameters['filter'] != null) {
181
+ queryParameters['filter'] = requestParameters['filter'];
182
+ }
183
+
184
+ const headerParameters: runtime.HTTPHeaders = {};
185
+
186
+ if (this.configuration && this.configuration.apiKey) {
187
+ headerParameters["x-api-key"] = await this.configuration.apiKey("x-api-key"); // ApiKeyAuth authentication
188
+ }
189
+
190
+ if (this.configuration && this.configuration.accessToken) {
191
+ const token = this.configuration.accessToken;
192
+ const tokenString = await token("BearerAuth", []);
193
+
194
+ if (tokenString) {
195
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
196
+ }
197
+ }
198
+ const response = await this.request({
199
+ path: `/api/esport/players`,
200
+ method: 'GET',
201
+ headers: headerParameters,
202
+ query: queryParameters,
203
+ }, initOverrides);
204
+
205
+ return new runtime.JSONApiResponse(response, (jsonValue) => ApiEsportPlayersGet200ResponseFromJSON(jsonValue));
206
+ }
207
+
208
+ /**
209
+ * Get Esport Players
210
+ */
211
+ async apiEsportPlayersGet(requestParameters: ApiEsportPlayersGetRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiEsportPlayersGet200Response> {
212
+ const response = await this.apiEsportPlayersGetRaw(requestParameters, initOverrides);
213
+ return await response.value();
214
+ }
215
+
149
216
  /**
150
217
  * Get All Esport\'s Video Games
151
218
  */
package/deploy.log CHANGED
@@ -151,6 +151,12 @@
151
151
  [main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_auth_register_complete_post_request. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_auth_register_complete_post_request=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_auth_register_complete_post_request=NewModel,ModelA=NewModelA in CLI).
152
152
  [main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_auth_register_complete_post_200_response_responseObject. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_auth_register_complete_post_200_response_responseObject=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_auth_register_complete_post_200_response_responseObject=NewModel,ModelA=NewModelA in CLI).
153
153
  [main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_auth_register_complete_post_200_response. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_auth_register_complete_post_200_response=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_auth_register_complete_post_200_response=NewModel,ModelA=NewModelA in CLI).
154
+ [main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_auth_forgot_password_request_post_request. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_auth_forgot_password_request_post_request=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_auth_forgot_password_request_post_request=NewModel,ModelA=NewModelA in CLI).
155
+ [main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_auth_forgot_password_verify_otp_post_200_response_responseObject. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_auth_forgot_password_verify_otp_post_200_response_responseObject=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_auth_forgot_password_verify_otp_post_200_response_responseObject=NewModel,ModelA=NewModelA in CLI).
156
+ [main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_auth_forgot_password_verify_otp_post_200_response. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_auth_forgot_password_verify_otp_post_200_response=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_auth_forgot_password_verify_otp_post_200_response=NewModel,ModelA=NewModelA in CLI).
157
+ [main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_auth_forgot_password_change_password_post_request. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_auth_forgot_password_change_password_post_request=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_auth_forgot_password_change_password_post_request=NewModel,ModelA=NewModelA in CLI).
158
+ [main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_auth_forgot_password_change_password_post_200_response_responseObject. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_auth_forgot_password_change_password_post_200_response_responseObject=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_auth_forgot_password_change_password_post_200_response_responseObject=NewModel,ModelA=NewModelA in CLI).
159
+ [main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_auth_forgot_password_change_password_post_200_response. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_auth_forgot_password_change_password_post_200_response=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_auth_forgot_password_change_password_post_200_response=NewModel,ModelA=NewModelA in CLI).
154
160
  [main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_esport_videogames_get_200_response_responseObject_inner. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_esport_videogames_get_200_response_responseObject_inner=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_esport_videogames_get_200_response_responseObject_inner=NewModel,ModelA=NewModelA in CLI).
155
161
  [main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_esport_videogames_get_200_response. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_esport_videogames_get_200_response=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_esport_videogames_get_200_response=NewModel,ModelA=NewModelA in CLI).
156
162
  [main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_esport_matches_get_filter_parameter. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_esport_matches_get_filter_parameter=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_esport_matches_get_filter_parameter=NewModel,ModelA=NewModelA in CLI).
@@ -162,8 +168,18 @@
162
168
  [main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_esport_matches_get_200_response_responseObject. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_esport_matches_get_200_response_responseObject=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_esport_matches_get_200_response_responseObject=NewModel,ModelA=NewModelA in CLI).
163
169
  [main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_esport_matches_get_200_response. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_esport_matches_get_200_response=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_esport_matches_get_200_response=NewModel,ModelA=NewModelA in CLI).
164
170
  [main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_esport_matches__id__get_200_response. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_esport_matches__id__get_200_response=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_esport_matches__id__get_200_response=NewModel,ModelA=NewModelA in CLI).
171
+ [main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_esport_players_get_filter_parameter. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_esport_players_get_filter_parameter=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_esport_players_get_filter_parameter=NewModel,ModelA=NewModelA in CLI).
172
+ [main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_esport_players_get_200_response_responseObject_items_inner. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_esport_players_get_200_response_responseObject_items_inner=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_esport_players_get_200_response_responseObject_items_inner=NewModel,ModelA=NewModelA in CLI).
173
+ [main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_esport_players_get_200_response_responseObject. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_esport_players_get_200_response_responseObject=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_esport_players_get_200_response_responseObject=NewModel,ModelA=NewModelA in CLI).
174
+ [main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_esport_players_get_200_response. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_esport_players_get_200_response=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_esport_players_get_200_response=NewModel,ModelA=NewModelA in CLI).
165
175
  [main] INFO o.o.codegen.utils.URLPathUtils - 'host' (OAS 2.0) or 'servers' (OAS 3.0) not defined in the spec. Default to [http://localhost] for server URL [http://localhost/]
166
176
  [main] INFO o.o.codegen.utils.URLPathUtils - 'host' (OAS 2.0) or 'servers' (OAS 3.0) not defined in the spec. Default to [http://localhost] for server URL [http://localhost/]
177
+ [main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiAuthForgotPasswordChangePasswordPost200Response.ts
178
+ [main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiAuthForgotPasswordChangePasswordPost200ResponseResponseObject.ts
179
+ [main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiAuthForgotPasswordChangePasswordPostRequest.ts
180
+ [main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiAuthForgotPasswordRequestPostRequest.ts
181
+ [main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiAuthForgotPasswordVerifyOtpPost200Response.ts
182
+ [main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiAuthForgotPasswordVerifyOtpPost200ResponseResponseObject.ts
167
183
  [main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiAuthLoginPost200Response.ts
168
184
  [main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiAuthLoginPost200ResponseResponseObject.ts
169
185
  [main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiAuthLoginPost200ResponseResponseObjectUser.ts
@@ -191,6 +207,10 @@
191
207
  [main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiEsportMatchesGet200ResponseResponseObjectItemsInnerStreamsListInner.ts
192
208
  [main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiEsportMatchesGetFilterParameter.ts
193
209
  [main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiEsportMatchesIdGet200Response.ts
210
+ [main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiEsportPlayersGet200Response.ts
211
+ [main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiEsportPlayersGet200ResponseResponseObject.ts
212
+ [main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiEsportPlayersGet200ResponseResponseObjectItemsInner.ts
213
+ [main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiEsportPlayersGetFilterParameter.ts
194
214
  [main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiEsportVideogamesGet200Response.ts
195
215
  [main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiEsportVideogamesGet200ResponseResponseObjectInner.ts
196
216
  [main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiHealthCheckGet200Response.ts
@@ -368,9 +388,13 @@
368
388
  [main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: post /api/auth/register/start. Renamed to auto-generated operationId: apiAuthRegisterStartPost
369
389
  [main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: post /api/auth/register/verify-otp. Renamed to auto-generated operationId: apiAuthRegisterVerifyOtpPost
370
390
  [main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: post /api/auth/register/complete. Renamed to auto-generated operationId: apiAuthRegisterCompletePost
391
+ [main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: post /api/auth/forgot-password/request. Renamed to auto-generated operationId: apiAuthForgotPasswordRequestPost
392
+ [main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: post /api/auth/forgot-password/verify-otp. Renamed to auto-generated operationId: apiAuthForgotPasswordVerifyOtpPost
393
+ [main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: post /api/auth/forgot-password/change-password. Renamed to auto-generated operationId: apiAuthForgotPasswordChangePasswordPost
371
394
  [main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: get /api/esport/videogames. Renamed to auto-generated operationId: apiEsportVideogamesGet
372
395
  [main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: get /api/esport/matches. Renamed to auto-generated operationId: apiEsportMatchesGet
373
396
  [main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: get /api/esport/matches/{id}. Renamed to auto-generated operationId: apiEsportMatchesIdGet
397
+ [main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: get /api/esport/players. Renamed to auto-generated operationId: apiEsportPlayersGet
374
398
  [main] INFO o.o.codegen.utils.URLPathUtils - 'host' (OAS 2.0) or 'servers' (OAS 3.0) not defined in the spec. Default to [http://localhost] for server URL [http://localhost/]
375
399
  [main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./apis/AppConfigApi.ts
376
400
  [main] INFO o.o.codegen.utils.URLPathUtils - 'host' (OAS 2.0) or 'servers' (OAS 3.0) not defined in the spec. Default to [http://localhost] for server URL [http://localhost/]
@@ -409,21 +433,24 @@
409
433
  # https://opencollective.com/openapi_generator/donate #
410
434
  ################################################################################
411
435
  ✅ SDK generated
412
- [master 725c5b9] VPS: Generated API SDK
413
- 4 files changed, 154 insertions(+)
414
- create mode 100644 models/ApiEsportMatchesIdGet200Response.ts
436
+ [master 0baebe8] VPS: Generated API SDK
437
+ 7 files changed, 586 insertions(+)
438
+ create mode 100644 models/ApiEsportPlayersGet200Response.ts
439
+ create mode 100644 models/ApiEsportPlayersGet200ResponseResponseObject.ts
440
+ create mode 100644 models/ApiEsportPlayersGet200ResponseResponseObjectItemsInner.ts
441
+ create mode 100644 models/ApiEsportPlayersGetFilterParameter.ts
415
442
  To https://gitlab.com/drx-super/drx-sdk.git
416
- 5c3ac6c..725c5b9 master -> master
443
+ 27e35fe..0baebe8 master -> master
417
444
  ✅ Changes committed and pushed
418
- v1.1.218
445
+ v1.1.220
419
446
  To https://gitlab.com/drx-super/drx-sdk.git
420
- 725c5b9..2f37eef master -> master
447
+ 0baebe8..1a6c22f master -> master
421
448
  ✅ Version bumped
422
449
 
423
- > @drxsuperapp/sdk@1.1.218 prepublishOnly
450
+ > @drxsuperapp/sdk@1.1.220 prepublishOnly
424
451
  > npm run build
425
452
 
426
453
 
427
- > @drxsuperapp/sdk@1.1.218 build
454
+ > @drxsuperapp/sdk@1.1.220 build
428
455
  > tsc
429
456
 
@@ -10,7 +10,16 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import * as runtime from '../runtime';
13
- import type { ApiAuthLoginPost200Response, ApiAuthLoginPostRequest, ApiAuthRefreshPost200Response, ApiAuthRegisterCompletePost200Response, ApiAuthRegisterCompletePostRequest, ApiAuthRegisterStartPost200Response, ApiAuthRegisterStartPostRequest, ApiAuthRegisterVerifyOtpPost200Response, ApiAuthRegisterVerifyOtpPostRequest, ApiAuthSocialMobilePost200Response, ApiAuthSocialMobilePostRequest, ApiUserGet200Response } from '../models/index';
13
+ import type { ApiAuthForgotPasswordChangePasswordPost200Response, ApiAuthForgotPasswordChangePasswordPostRequest, ApiAuthForgotPasswordRequestPostRequest, ApiAuthForgotPasswordVerifyOtpPost200Response, ApiAuthLoginPost200Response, ApiAuthLoginPostRequest, ApiAuthRefreshPost200Response, ApiAuthRegisterCompletePost200Response, ApiAuthRegisterCompletePostRequest, ApiAuthRegisterStartPost200Response, ApiAuthRegisterStartPostRequest, ApiAuthRegisterVerifyOtpPost200Response, ApiAuthRegisterVerifyOtpPostRequest, ApiAuthSocialMobilePost200Response, ApiAuthSocialMobilePostRequest, ApiUserGet200Response } from '../models/index';
14
+ export interface ApiAuthForgotPasswordChangePasswordPostOperationRequest {
15
+ apiAuthForgotPasswordChangePasswordPostRequest?: ApiAuthForgotPasswordChangePasswordPostRequest;
16
+ }
17
+ export interface ApiAuthForgotPasswordRequestPostOperationRequest {
18
+ apiAuthForgotPasswordRequestPostRequest?: ApiAuthForgotPasswordRequestPostRequest;
19
+ }
20
+ export interface ApiAuthForgotPasswordVerifyOtpPostRequest {
21
+ apiAuthRegisterVerifyOtpPostRequest?: ApiAuthRegisterVerifyOtpPostRequest;
22
+ }
14
23
  export interface ApiAuthLoginPostOperationRequest {
15
24
  apiAuthLoginPostRequest?: ApiAuthLoginPostRequest;
16
25
  }
@@ -30,6 +39,36 @@ export interface ApiAuthSocialMobilePostOperationRequest {
30
39
  *
31
40
  */
32
41
  export declare class AuthenticationApi extends runtime.BaseAPI {
42
+ /**
43
+ * Change password using reset token
44
+ * Forgot Password 3. Change Password
45
+ */
46
+ apiAuthForgotPasswordChangePasswordPostRaw(requestParameters: ApiAuthForgotPasswordChangePasswordPostOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiAuthForgotPasswordChangePasswordPost200Response>>;
47
+ /**
48
+ * Change password using reset token
49
+ * Forgot Password 3. Change Password
50
+ */
51
+ apiAuthForgotPasswordChangePasswordPost(requestParameters?: ApiAuthForgotPasswordChangePasswordPostOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiAuthForgotPasswordChangePasswordPost200Response>;
52
+ /**
53
+ * Request OTP for password reset
54
+ * Forgot Password 1. Request OTP
55
+ */
56
+ apiAuthForgotPasswordRequestPostRaw(requestParameters: ApiAuthForgotPasswordRequestPostOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiAuthRegisterStartPost200Response>>;
57
+ /**
58
+ * Request OTP for password reset
59
+ * Forgot Password 1. Request OTP
60
+ */
61
+ apiAuthForgotPasswordRequestPost(requestParameters?: ApiAuthForgotPasswordRequestPostOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiAuthRegisterStartPost200Response>;
62
+ /**
63
+ * Verify OTP and get reset token
64
+ * Forgot Password 2. Verify OTP
65
+ */
66
+ apiAuthForgotPasswordVerifyOtpPostRaw(requestParameters: ApiAuthForgotPasswordVerifyOtpPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiAuthForgotPasswordVerifyOtpPost200Response>>;
67
+ /**
68
+ * Verify OTP and get reset token
69
+ * Forgot Password 2. Verify OTP
70
+ */
71
+ apiAuthForgotPasswordVerifyOtpPost(requestParameters?: ApiAuthForgotPasswordVerifyOtpPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiAuthForgotPasswordVerifyOtpPost200Response>;
33
72
  /**
34
73
  * Authenticate user with email and password
35
74
  * User Login
@@ -12,11 +12,116 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
  import * as runtime from '../runtime';
15
- import { ApiAuthLoginPost200ResponseFromJSON, ApiAuthLoginPostRequestToJSON, ApiAuthRefreshPost200ResponseFromJSON, ApiAuthRegisterCompletePost200ResponseFromJSON, ApiAuthRegisterCompletePostRequestToJSON, ApiAuthRegisterStartPost200ResponseFromJSON, ApiAuthRegisterStartPostRequestToJSON, ApiAuthRegisterVerifyOtpPost200ResponseFromJSON, ApiAuthRegisterVerifyOtpPostRequestToJSON, ApiAuthSocialMobilePost200ResponseFromJSON, ApiAuthSocialMobilePostRequestToJSON, ApiUserGet200ResponseFromJSON, } from '../models/index';
15
+ import { ApiAuthForgotPasswordChangePasswordPost200ResponseFromJSON, ApiAuthForgotPasswordChangePasswordPostRequestToJSON, ApiAuthForgotPasswordRequestPostRequestToJSON, ApiAuthForgotPasswordVerifyOtpPost200ResponseFromJSON, ApiAuthLoginPost200ResponseFromJSON, ApiAuthLoginPostRequestToJSON, ApiAuthRefreshPost200ResponseFromJSON, ApiAuthRegisterCompletePost200ResponseFromJSON, ApiAuthRegisterCompletePostRequestToJSON, ApiAuthRegisterStartPost200ResponseFromJSON, ApiAuthRegisterStartPostRequestToJSON, ApiAuthRegisterVerifyOtpPost200ResponseFromJSON, ApiAuthRegisterVerifyOtpPostRequestToJSON, ApiAuthSocialMobilePost200ResponseFromJSON, ApiAuthSocialMobilePostRequestToJSON, ApiUserGet200ResponseFromJSON, } from '../models/index';
16
16
  /**
17
17
  *
18
18
  */
19
19
  export class AuthenticationApi extends runtime.BaseAPI {
20
+ /**
21
+ * Change password using reset token
22
+ * Forgot Password 3. Change Password
23
+ */
24
+ async apiAuthForgotPasswordChangePasswordPostRaw(requestParameters, initOverrides) {
25
+ const queryParameters = {};
26
+ const headerParameters = {};
27
+ headerParameters['Content-Type'] = 'application/json';
28
+ if (this.configuration && this.configuration.apiKey) {
29
+ headerParameters["x-api-key"] = await this.configuration.apiKey("x-api-key"); // ApiKeyAuth authentication
30
+ }
31
+ if (this.configuration && this.configuration.accessToken) {
32
+ const token = this.configuration.accessToken;
33
+ const tokenString = await token("BearerAuth", []);
34
+ if (tokenString) {
35
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
36
+ }
37
+ }
38
+ const response = await this.request({
39
+ path: `/api/auth/forgot-password/change-password`,
40
+ method: 'POST',
41
+ headers: headerParameters,
42
+ query: queryParameters,
43
+ body: ApiAuthForgotPasswordChangePasswordPostRequestToJSON(requestParameters['apiAuthForgotPasswordChangePasswordPostRequest']),
44
+ }, initOverrides);
45
+ return new runtime.JSONApiResponse(response, (jsonValue) => ApiAuthForgotPasswordChangePasswordPost200ResponseFromJSON(jsonValue));
46
+ }
47
+ /**
48
+ * Change password using reset token
49
+ * Forgot Password 3. Change Password
50
+ */
51
+ async apiAuthForgotPasswordChangePasswordPost(requestParameters = {}, initOverrides) {
52
+ const response = await this.apiAuthForgotPasswordChangePasswordPostRaw(requestParameters, initOverrides);
53
+ return await response.value();
54
+ }
55
+ /**
56
+ * Request OTP for password reset
57
+ * Forgot Password 1. Request OTP
58
+ */
59
+ async apiAuthForgotPasswordRequestPostRaw(requestParameters, initOverrides) {
60
+ const queryParameters = {};
61
+ const headerParameters = {};
62
+ headerParameters['Content-Type'] = 'application/json';
63
+ if (this.configuration && this.configuration.apiKey) {
64
+ headerParameters["x-api-key"] = await this.configuration.apiKey("x-api-key"); // ApiKeyAuth authentication
65
+ }
66
+ if (this.configuration && this.configuration.accessToken) {
67
+ const token = this.configuration.accessToken;
68
+ const tokenString = await token("BearerAuth", []);
69
+ if (tokenString) {
70
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
71
+ }
72
+ }
73
+ const response = await this.request({
74
+ path: `/api/auth/forgot-password/request`,
75
+ method: 'POST',
76
+ headers: headerParameters,
77
+ query: queryParameters,
78
+ body: ApiAuthForgotPasswordRequestPostRequestToJSON(requestParameters['apiAuthForgotPasswordRequestPostRequest']),
79
+ }, initOverrides);
80
+ return new runtime.JSONApiResponse(response, (jsonValue) => ApiAuthRegisterStartPost200ResponseFromJSON(jsonValue));
81
+ }
82
+ /**
83
+ * Request OTP for password reset
84
+ * Forgot Password 1. Request OTP
85
+ */
86
+ async apiAuthForgotPasswordRequestPost(requestParameters = {}, initOverrides) {
87
+ const response = await this.apiAuthForgotPasswordRequestPostRaw(requestParameters, initOverrides);
88
+ return await response.value();
89
+ }
90
+ /**
91
+ * Verify OTP and get reset token
92
+ * Forgot Password 2. Verify OTP
93
+ */
94
+ async apiAuthForgotPasswordVerifyOtpPostRaw(requestParameters, initOverrides) {
95
+ const queryParameters = {};
96
+ const headerParameters = {};
97
+ headerParameters['Content-Type'] = 'application/json';
98
+ if (this.configuration && this.configuration.apiKey) {
99
+ headerParameters["x-api-key"] = await this.configuration.apiKey("x-api-key"); // ApiKeyAuth authentication
100
+ }
101
+ if (this.configuration && this.configuration.accessToken) {
102
+ const token = this.configuration.accessToken;
103
+ const tokenString = await token("BearerAuth", []);
104
+ if (tokenString) {
105
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
106
+ }
107
+ }
108
+ const response = await this.request({
109
+ path: `/api/auth/forgot-password/verify-otp`,
110
+ method: 'POST',
111
+ headers: headerParameters,
112
+ query: queryParameters,
113
+ body: ApiAuthRegisterVerifyOtpPostRequestToJSON(requestParameters['apiAuthRegisterVerifyOtpPostRequest']),
114
+ }, initOverrides);
115
+ return new runtime.JSONApiResponse(response, (jsonValue) => ApiAuthForgotPasswordVerifyOtpPost200ResponseFromJSON(jsonValue));
116
+ }
117
+ /**
118
+ * Verify OTP and get reset token
119
+ * Forgot Password 2. Verify OTP
120
+ */
121
+ async apiAuthForgotPasswordVerifyOtpPost(requestParameters = {}, initOverrides) {
122
+ const response = await this.apiAuthForgotPasswordVerifyOtpPostRaw(requestParameters, initOverrides);
123
+ return await response.value();
124
+ }
20
125
  /**
21
126
  * Authenticate user with email and password
22
127
  * User Login
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import * as runtime from '../runtime';
13
- import type { ApiEsportMatchesGet200Response, ApiEsportMatchesGetFilterParameter, ApiEsportMatchesIdGet200Response, ApiEsportVideogamesGet200Response } from '../models/index';
13
+ import type { ApiEsportMatchesGet200Response, ApiEsportMatchesGetFilterParameter, ApiEsportMatchesIdGet200Response, ApiEsportPlayersGet200Response, ApiEsportPlayersGetFilterParameter, ApiEsportVideogamesGet200Response } from '../models/index';
14
14
  export interface ApiEsportMatchesGetRequest {
15
15
  page?: number;
16
16
  pageSize?: number;
@@ -20,6 +20,12 @@ export interface ApiEsportMatchesGetRequest {
20
20
  export interface ApiEsportMatchesIdGetRequest {
21
21
  id: string;
22
22
  }
23
+ export interface ApiEsportPlayersGetRequest {
24
+ page?: number;
25
+ pageSize?: number;
26
+ sort?: string;
27
+ filter?: ApiEsportPlayersGetFilterParameter;
28
+ }
23
29
  /**
24
30
  *
25
31
  */
@@ -40,6 +46,14 @@ export declare class EsportApi extends runtime.BaseAPI {
40
46
  * Get Esport Match Details
41
47
  */
42
48
  apiEsportMatchesIdGet(requestParameters: ApiEsportMatchesIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiEsportMatchesIdGet200Response>;
49
+ /**
50
+ * Get Esport Players
51
+ */
52
+ apiEsportPlayersGetRaw(requestParameters: ApiEsportPlayersGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiEsportPlayersGet200Response>>;
53
+ /**
54
+ * Get Esport Players
55
+ */
56
+ apiEsportPlayersGet(requestParameters?: ApiEsportPlayersGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiEsportPlayersGet200Response>;
43
57
  /**
44
58
  * Get All Esport\'s Video Games
45
59
  */