@drxsuperapp/sdk 1.1.228 → 1.1.230
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/.openapi-generator/FILES +5 -0
- package/apis/EsportApi.ts +119 -0
- package/deploy.log +19 -7
- package/dist/apis/EsportApi.d.ts +26 -1
- package/dist/apis/EsportApi.js +78 -1
- package/dist/models/ApiEsportLeaguesGet200Response.d.ts +51 -0
- package/dist/models/ApiEsportLeaguesGet200Response.js +54 -0
- package/dist/models/ApiEsportLeaguesGet200ResponseResponseObject.d.ts +57 -0
- package/dist/models/ApiEsportLeaguesGet200ResponseResponseObject.js +60 -0
- package/dist/models/ApiEsportLeaguesGet200ResponseResponseObjectItemsInner.d.ts +70 -0
- package/dist/models/ApiEsportLeaguesGet200ResponseResponseObjectItemsInner.js +63 -0
- package/dist/models/ApiEsportLeaguesGetFilterParameter.d.ts +46 -0
- package/dist/models/ApiEsportLeaguesGetFilterParameter.js +47 -0
- package/dist/models/ApiEsportLeaguesIdGet200Response.d.ts +51 -0
- package/dist/models/ApiEsportLeaguesIdGet200Response.js +54 -0
- package/dist/models/index.d.ts +5 -0
- package/dist/models/index.js +5 -0
- package/models/ApiEsportLeaguesGet200Response.ts +100 -0
- package/models/ApiEsportLeaguesGet200ResponseResponseObject.ts +110 -0
- package/models/ApiEsportLeaguesGet200ResponseResponseObjectItemsInner.ts +132 -0
- package/models/ApiEsportLeaguesGetFilterParameter.ts +96 -0
- package/models/ApiEsportLeaguesIdGet200Response.ts +100 -0
- package/models/index.ts +5 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -36,6 +36,11 @@ models/ApiAuthRegisterVerifyOtpPostRequest.ts
|
|
|
36
36
|
models/ApiAuthSocialMobilePost200Response.ts
|
|
37
37
|
models/ApiAuthSocialMobilePost200ResponseResponseObject.ts
|
|
38
38
|
models/ApiAuthSocialMobilePostRequest.ts
|
|
39
|
+
models/ApiEsportLeaguesGet200Response.ts
|
|
40
|
+
models/ApiEsportLeaguesGet200ResponseResponseObject.ts
|
|
41
|
+
models/ApiEsportLeaguesGet200ResponseResponseObjectItemsInner.ts
|
|
42
|
+
models/ApiEsportLeaguesGetFilterParameter.ts
|
|
43
|
+
models/ApiEsportLeaguesIdGet200Response.ts
|
|
39
44
|
models/ApiEsportMatchesGet200Response.ts
|
|
40
45
|
models/ApiEsportMatchesGet200ResponseResponseObject.ts
|
|
41
46
|
models/ApiEsportMatchesGet200ResponseResponseObjectItemsInner.ts
|
package/apis/EsportApi.ts
CHANGED
|
@@ -15,6 +15,9 @@
|
|
|
15
15
|
|
|
16
16
|
import * as runtime from '../runtime';
|
|
17
17
|
import type {
|
|
18
|
+
ApiEsportLeaguesGet200Response,
|
|
19
|
+
ApiEsportLeaguesGetFilterParameter,
|
|
20
|
+
ApiEsportLeaguesIdGet200Response,
|
|
18
21
|
ApiEsportMatchesGet200Response,
|
|
19
22
|
ApiEsportMatchesGetFilterParameter,
|
|
20
23
|
ApiEsportMatchesIdGet200Response,
|
|
@@ -33,6 +36,12 @@ import type {
|
|
|
33
36
|
ApiEsportVideogamesGet200Response,
|
|
34
37
|
} from '../models/index';
|
|
35
38
|
import {
|
|
39
|
+
ApiEsportLeaguesGet200ResponseFromJSON,
|
|
40
|
+
ApiEsportLeaguesGet200ResponseToJSON,
|
|
41
|
+
ApiEsportLeaguesGetFilterParameterFromJSON,
|
|
42
|
+
ApiEsportLeaguesGetFilterParameterToJSON,
|
|
43
|
+
ApiEsportLeaguesIdGet200ResponseFromJSON,
|
|
44
|
+
ApiEsportLeaguesIdGet200ResponseToJSON,
|
|
36
45
|
ApiEsportMatchesGet200ResponseFromJSON,
|
|
37
46
|
ApiEsportMatchesGet200ResponseToJSON,
|
|
38
47
|
ApiEsportMatchesGetFilterParameterFromJSON,
|
|
@@ -67,6 +76,17 @@ import {
|
|
|
67
76
|
ApiEsportVideogamesGet200ResponseToJSON,
|
|
68
77
|
} from '../models/index';
|
|
69
78
|
|
|
79
|
+
export interface ApiEsportLeaguesGetRequest {
|
|
80
|
+
page?: number;
|
|
81
|
+
pageSize?: number;
|
|
82
|
+
sort?: string;
|
|
83
|
+
filter?: ApiEsportLeaguesGetFilterParameter;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
export interface ApiEsportLeaguesIdGetRequest {
|
|
87
|
+
id: string;
|
|
88
|
+
}
|
|
89
|
+
|
|
70
90
|
export interface ApiEsportMatchesGetRequest {
|
|
71
91
|
page?: number;
|
|
72
92
|
pageSize?: number;
|
|
@@ -127,6 +147,105 @@ export interface ApiEsportTournamentsIdGetRequest {
|
|
|
127
147
|
*/
|
|
128
148
|
export class EsportApi extends runtime.BaseAPI {
|
|
129
149
|
|
|
150
|
+
/**
|
|
151
|
+
* Get Esport Leagues
|
|
152
|
+
*/
|
|
153
|
+
async apiEsportLeaguesGetRaw(requestParameters: ApiEsportLeaguesGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiEsportLeaguesGet200Response>> {
|
|
154
|
+
const queryParameters: any = {};
|
|
155
|
+
|
|
156
|
+
if (requestParameters['page'] != null) {
|
|
157
|
+
queryParameters['page'] = requestParameters['page'];
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
if (requestParameters['pageSize'] != null) {
|
|
161
|
+
queryParameters['pageSize'] = requestParameters['pageSize'];
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
if (requestParameters['sort'] != null) {
|
|
165
|
+
queryParameters['sort'] = requestParameters['sort'];
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
if (requestParameters['filter'] != null) {
|
|
169
|
+
queryParameters['filter'] = requestParameters['filter'];
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
173
|
+
|
|
174
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
175
|
+
headerParameters["x-api-key"] = await this.configuration.apiKey("x-api-key"); // ApiKeyAuth authentication
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
179
|
+
const token = this.configuration.accessToken;
|
|
180
|
+
const tokenString = await token("BearerAuth", []);
|
|
181
|
+
|
|
182
|
+
if (tokenString) {
|
|
183
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
const response = await this.request({
|
|
187
|
+
path: `/api/esport/leagues`,
|
|
188
|
+
method: 'GET',
|
|
189
|
+
headers: headerParameters,
|
|
190
|
+
query: queryParameters,
|
|
191
|
+
}, initOverrides);
|
|
192
|
+
|
|
193
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ApiEsportLeaguesGet200ResponseFromJSON(jsonValue));
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
/**
|
|
197
|
+
* Get Esport Leagues
|
|
198
|
+
*/
|
|
199
|
+
async apiEsportLeaguesGet(requestParameters: ApiEsportLeaguesGetRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiEsportLeaguesGet200Response> {
|
|
200
|
+
const response = await this.apiEsportLeaguesGetRaw(requestParameters, initOverrides);
|
|
201
|
+
return await response.value();
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
/**
|
|
205
|
+
* Get Esport League Details
|
|
206
|
+
*/
|
|
207
|
+
async apiEsportLeaguesIdGetRaw(requestParameters: ApiEsportLeaguesIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiEsportLeaguesIdGet200Response>> {
|
|
208
|
+
if (requestParameters['id'] == null) {
|
|
209
|
+
throw new runtime.RequiredError(
|
|
210
|
+
'id',
|
|
211
|
+
'Required parameter "id" was null or undefined when calling apiEsportLeaguesIdGet().'
|
|
212
|
+
);
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
const queryParameters: any = {};
|
|
216
|
+
|
|
217
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
218
|
+
|
|
219
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
220
|
+
headerParameters["x-api-key"] = await this.configuration.apiKey("x-api-key"); // ApiKeyAuth authentication
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
224
|
+
const token = this.configuration.accessToken;
|
|
225
|
+
const tokenString = await token("BearerAuth", []);
|
|
226
|
+
|
|
227
|
+
if (tokenString) {
|
|
228
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
const response = await this.request({
|
|
232
|
+
path: `/api/esport/leagues/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))),
|
|
233
|
+
method: 'GET',
|
|
234
|
+
headers: headerParameters,
|
|
235
|
+
query: queryParameters,
|
|
236
|
+
}, initOverrides);
|
|
237
|
+
|
|
238
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ApiEsportLeaguesIdGet200ResponseFromJSON(jsonValue));
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
/**
|
|
242
|
+
* Get Esport League Details
|
|
243
|
+
*/
|
|
244
|
+
async apiEsportLeaguesIdGet(requestParameters: ApiEsportLeaguesIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiEsportLeaguesIdGet200Response> {
|
|
245
|
+
const response = await this.apiEsportLeaguesIdGetRaw(requestParameters, initOverrides);
|
|
246
|
+
return await response.value();
|
|
247
|
+
}
|
|
248
|
+
|
|
130
249
|
/**
|
|
131
250
|
* Get Esport Matches
|
|
132
251
|
*/
|
package/deploy.log
CHANGED
|
@@ -188,6 +188,11 @@
|
|
|
188
188
|
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_esport_series_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_series_get_200_response_responseObject=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_esport_series_get_200_response_responseObject=NewModel,ModelA=NewModelA in CLI).
|
|
189
189
|
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_esport_series_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_series_get_200_response=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_esport_series_get_200_response=NewModel,ModelA=NewModelA in CLI).
|
|
190
190
|
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_esport_series__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_series__id__get_200_response=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_esport_series__id__get_200_response=NewModel,ModelA=NewModelA in CLI).
|
|
191
|
+
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_esport_leagues_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_leagues_get_filter_parameter=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_esport_leagues_get_filter_parameter=NewModel,ModelA=NewModelA in CLI).
|
|
192
|
+
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_esport_leagues_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_leagues_get_200_response_responseObject_items_inner=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_esport_leagues_get_200_response_responseObject_items_inner=NewModel,ModelA=NewModelA in CLI).
|
|
193
|
+
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_esport_leagues_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_leagues_get_200_response_responseObject=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_esport_leagues_get_200_response_responseObject=NewModel,ModelA=NewModelA in CLI).
|
|
194
|
+
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_esport_leagues_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_leagues_get_200_response=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_esport_leagues_get_200_response=NewModel,ModelA=NewModelA in CLI).
|
|
195
|
+
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_esport_leagues__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_leagues__id__get_200_response=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_esport_leagues__id__get_200_response=NewModel,ModelA=NewModelA in CLI).
|
|
191
196
|
[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/]
|
|
192
197
|
[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/]
|
|
193
198
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiAuthForgotPasswordChangePasswordPost200Response.ts
|
|
@@ -214,6 +219,11 @@
|
|
|
214
219
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiAuthSocialMobilePost200Response.ts
|
|
215
220
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiAuthSocialMobilePost200ResponseResponseObject.ts
|
|
216
221
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiAuthSocialMobilePostRequest.ts
|
|
222
|
+
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiEsportLeaguesGet200Response.ts
|
|
223
|
+
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiEsportLeaguesGet200ResponseResponseObject.ts
|
|
224
|
+
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiEsportLeaguesGet200ResponseResponseObjectItemsInner.ts
|
|
225
|
+
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiEsportLeaguesGetFilterParameter.ts
|
|
226
|
+
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiEsportLeaguesIdGet200Response.ts
|
|
217
227
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiEsportMatchesGet200Response.ts
|
|
218
228
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiEsportMatchesGet200ResponseResponseObject.ts
|
|
219
229
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiEsportMatchesGet200ResponseResponseObjectItemsInner.ts
|
|
@@ -434,6 +444,8 @@
|
|
|
434
444
|
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: get /api/esport/tournaments/{id}. Renamed to auto-generated operationId: apiEsportTournamentsIdGet
|
|
435
445
|
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: get /api/esport/series. Renamed to auto-generated operationId: apiEsportSeriesGet
|
|
436
446
|
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: get /api/esport/series/{id}. Renamed to auto-generated operationId: apiEsportSeriesIdGet
|
|
447
|
+
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: get /api/esport/leagues. Renamed to auto-generated operationId: apiEsportLeaguesGet
|
|
448
|
+
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: get /api/esport/leagues/{id}. Renamed to auto-generated operationId: apiEsportLeaguesIdGet
|
|
437
449
|
[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/]
|
|
438
450
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./apis/AppConfigApi.ts
|
|
439
451
|
[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/]
|
|
@@ -472,21 +484,21 @@
|
|
|
472
484
|
# https://opencollective.com/openapi_generator/donate #
|
|
473
485
|
################################################################################
|
|
474
486
|
✅ SDK generated
|
|
475
|
-
[master
|
|
487
|
+
[master 09fe8b8] VPS: Generated API SDK
|
|
476
488
|
4 files changed, 154 insertions(+)
|
|
477
|
-
create mode 100644 models/
|
|
489
|
+
create mode 100644 models/ApiEsportLeaguesIdGet200Response.ts
|
|
478
490
|
To https://gitlab.com/drx-super/drx-sdk.git
|
|
479
|
-
|
|
491
|
+
f3fd82b..09fe8b8 master -> master
|
|
480
492
|
✅ Changes committed and pushed
|
|
481
|
-
v1.1.
|
|
493
|
+
v1.1.230
|
|
482
494
|
To https://gitlab.com/drx-super/drx-sdk.git
|
|
483
|
-
|
|
495
|
+
09fe8b8..c2b1e55 master -> master
|
|
484
496
|
✅ Version bumped
|
|
485
497
|
|
|
486
|
-
> @drxsuperapp/sdk@1.1.
|
|
498
|
+
> @drxsuperapp/sdk@1.1.230 prepublishOnly
|
|
487
499
|
> npm run build
|
|
488
500
|
|
|
489
501
|
|
|
490
|
-
> @drxsuperapp/sdk@1.1.
|
|
502
|
+
> @drxsuperapp/sdk@1.1.230 build
|
|
491
503
|
> tsc
|
|
492
504
|
|
package/dist/apis/EsportApi.d.ts
CHANGED
|
@@ -10,7 +10,16 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { ApiEsportMatchesGet200Response, ApiEsportMatchesGetFilterParameter, ApiEsportMatchesIdGet200Response, ApiEsportPlayersGet200Response, ApiEsportPlayersGetFilterParameter, ApiEsportPlayersIdGet200Response, ApiEsportSeriesGet200Response, ApiEsportSeriesGetFilterParameter, ApiEsportSeriesIdGet200Response, ApiEsportTeamsGet200Response, ApiEsportTeamsGetFilterParameter, ApiEsportTeamsIdGet200Response, ApiEsportTournamentsGet200Response, ApiEsportTournamentsGetFilterParameter, ApiEsportTournamentsIdGet200Response, ApiEsportVideogamesGet200Response } from '../models/index';
|
|
13
|
+
import type { ApiEsportLeaguesGet200Response, ApiEsportLeaguesGetFilterParameter, ApiEsportLeaguesIdGet200Response, ApiEsportMatchesGet200Response, ApiEsportMatchesGetFilterParameter, ApiEsportMatchesIdGet200Response, ApiEsportPlayersGet200Response, ApiEsportPlayersGetFilterParameter, ApiEsportPlayersIdGet200Response, ApiEsportSeriesGet200Response, ApiEsportSeriesGetFilterParameter, ApiEsportSeriesIdGet200Response, ApiEsportTeamsGet200Response, ApiEsportTeamsGetFilterParameter, ApiEsportTeamsIdGet200Response, ApiEsportTournamentsGet200Response, ApiEsportTournamentsGetFilterParameter, ApiEsportTournamentsIdGet200Response, ApiEsportVideogamesGet200Response } from '../models/index';
|
|
14
|
+
export interface ApiEsportLeaguesGetRequest {
|
|
15
|
+
page?: number;
|
|
16
|
+
pageSize?: number;
|
|
17
|
+
sort?: string;
|
|
18
|
+
filter?: ApiEsportLeaguesGetFilterParameter;
|
|
19
|
+
}
|
|
20
|
+
export interface ApiEsportLeaguesIdGetRequest {
|
|
21
|
+
id: string;
|
|
22
|
+
}
|
|
14
23
|
export interface ApiEsportMatchesGetRequest {
|
|
15
24
|
page?: number;
|
|
16
25
|
pageSize?: number;
|
|
@@ -60,6 +69,22 @@ export interface ApiEsportTournamentsIdGetRequest {
|
|
|
60
69
|
*
|
|
61
70
|
*/
|
|
62
71
|
export declare class EsportApi extends runtime.BaseAPI {
|
|
72
|
+
/**
|
|
73
|
+
* Get Esport Leagues
|
|
74
|
+
*/
|
|
75
|
+
apiEsportLeaguesGetRaw(requestParameters: ApiEsportLeaguesGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiEsportLeaguesGet200Response>>;
|
|
76
|
+
/**
|
|
77
|
+
* Get Esport Leagues
|
|
78
|
+
*/
|
|
79
|
+
apiEsportLeaguesGet(requestParameters?: ApiEsportLeaguesGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiEsportLeaguesGet200Response>;
|
|
80
|
+
/**
|
|
81
|
+
* Get Esport League Details
|
|
82
|
+
*/
|
|
83
|
+
apiEsportLeaguesIdGetRaw(requestParameters: ApiEsportLeaguesIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiEsportLeaguesIdGet200Response>>;
|
|
84
|
+
/**
|
|
85
|
+
* Get Esport League Details
|
|
86
|
+
*/
|
|
87
|
+
apiEsportLeaguesIdGet(requestParameters: ApiEsportLeaguesIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiEsportLeaguesIdGet200Response>;
|
|
63
88
|
/**
|
|
64
89
|
* Get Esport Matches
|
|
65
90
|
*/
|
package/dist/apis/EsportApi.js
CHANGED
|
@@ -12,11 +12,88 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
import * as runtime from '../runtime';
|
|
15
|
-
import { ApiEsportMatchesGet200ResponseFromJSON, ApiEsportMatchesIdGet200ResponseFromJSON, ApiEsportPlayersGet200ResponseFromJSON, ApiEsportPlayersIdGet200ResponseFromJSON, ApiEsportSeriesGet200ResponseFromJSON, ApiEsportSeriesIdGet200ResponseFromJSON, ApiEsportTeamsGet200ResponseFromJSON, ApiEsportTeamsIdGet200ResponseFromJSON, ApiEsportTournamentsGet200ResponseFromJSON, ApiEsportTournamentsIdGet200ResponseFromJSON, ApiEsportVideogamesGet200ResponseFromJSON, } from '../models/index';
|
|
15
|
+
import { ApiEsportLeaguesGet200ResponseFromJSON, ApiEsportLeaguesIdGet200ResponseFromJSON, ApiEsportMatchesGet200ResponseFromJSON, ApiEsportMatchesIdGet200ResponseFromJSON, ApiEsportPlayersGet200ResponseFromJSON, ApiEsportPlayersIdGet200ResponseFromJSON, ApiEsportSeriesGet200ResponseFromJSON, ApiEsportSeriesIdGet200ResponseFromJSON, ApiEsportTeamsGet200ResponseFromJSON, ApiEsportTeamsIdGet200ResponseFromJSON, ApiEsportTournamentsGet200ResponseFromJSON, ApiEsportTournamentsIdGet200ResponseFromJSON, ApiEsportVideogamesGet200ResponseFromJSON, } from '../models/index';
|
|
16
16
|
/**
|
|
17
17
|
*
|
|
18
18
|
*/
|
|
19
19
|
export class EsportApi extends runtime.BaseAPI {
|
|
20
|
+
/**
|
|
21
|
+
* Get Esport Leagues
|
|
22
|
+
*/
|
|
23
|
+
async apiEsportLeaguesGetRaw(requestParameters, initOverrides) {
|
|
24
|
+
const queryParameters = {};
|
|
25
|
+
if (requestParameters['page'] != null) {
|
|
26
|
+
queryParameters['page'] = requestParameters['page'];
|
|
27
|
+
}
|
|
28
|
+
if (requestParameters['pageSize'] != null) {
|
|
29
|
+
queryParameters['pageSize'] = requestParameters['pageSize'];
|
|
30
|
+
}
|
|
31
|
+
if (requestParameters['sort'] != null) {
|
|
32
|
+
queryParameters['sort'] = requestParameters['sort'];
|
|
33
|
+
}
|
|
34
|
+
if (requestParameters['filter'] != null) {
|
|
35
|
+
queryParameters['filter'] = requestParameters['filter'];
|
|
36
|
+
}
|
|
37
|
+
const headerParameters = {};
|
|
38
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
39
|
+
headerParameters["x-api-key"] = await this.configuration.apiKey("x-api-key"); // ApiKeyAuth authentication
|
|
40
|
+
}
|
|
41
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
42
|
+
const token = this.configuration.accessToken;
|
|
43
|
+
const tokenString = await token("BearerAuth", []);
|
|
44
|
+
if (tokenString) {
|
|
45
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
const response = await this.request({
|
|
49
|
+
path: `/api/esport/leagues`,
|
|
50
|
+
method: 'GET',
|
|
51
|
+
headers: headerParameters,
|
|
52
|
+
query: queryParameters,
|
|
53
|
+
}, initOverrides);
|
|
54
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ApiEsportLeaguesGet200ResponseFromJSON(jsonValue));
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Get Esport Leagues
|
|
58
|
+
*/
|
|
59
|
+
async apiEsportLeaguesGet(requestParameters = {}, initOverrides) {
|
|
60
|
+
const response = await this.apiEsportLeaguesGetRaw(requestParameters, initOverrides);
|
|
61
|
+
return await response.value();
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Get Esport League Details
|
|
65
|
+
*/
|
|
66
|
+
async apiEsportLeaguesIdGetRaw(requestParameters, initOverrides) {
|
|
67
|
+
if (requestParameters['id'] == null) {
|
|
68
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling apiEsportLeaguesIdGet().');
|
|
69
|
+
}
|
|
70
|
+
const queryParameters = {};
|
|
71
|
+
const headerParameters = {};
|
|
72
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
73
|
+
headerParameters["x-api-key"] = await this.configuration.apiKey("x-api-key"); // ApiKeyAuth authentication
|
|
74
|
+
}
|
|
75
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
76
|
+
const token = this.configuration.accessToken;
|
|
77
|
+
const tokenString = await token("BearerAuth", []);
|
|
78
|
+
if (tokenString) {
|
|
79
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
const response = await this.request({
|
|
83
|
+
path: `/api/esport/leagues/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))),
|
|
84
|
+
method: 'GET',
|
|
85
|
+
headers: headerParameters,
|
|
86
|
+
query: queryParameters,
|
|
87
|
+
}, initOverrides);
|
|
88
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ApiEsportLeaguesIdGet200ResponseFromJSON(jsonValue));
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* Get Esport League Details
|
|
92
|
+
*/
|
|
93
|
+
async apiEsportLeaguesIdGet(requestParameters, initOverrides) {
|
|
94
|
+
const response = await this.apiEsportLeaguesIdGetRaw(requestParameters, initOverrides);
|
|
95
|
+
return await response.value();
|
|
96
|
+
}
|
|
20
97
|
/**
|
|
21
98
|
* Get Esport Matches
|
|
22
99
|
*/
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* DRX API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { ApiEsportLeaguesGet200ResponseResponseObject } from './ApiEsportLeaguesGet200ResponseResponseObject';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ApiEsportLeaguesGet200Response
|
|
17
|
+
*/
|
|
18
|
+
export interface ApiEsportLeaguesGet200Response {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {boolean}
|
|
22
|
+
* @memberof ApiEsportLeaguesGet200Response
|
|
23
|
+
*/
|
|
24
|
+
success: boolean;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ApiEsportLeaguesGet200Response
|
|
29
|
+
*/
|
|
30
|
+
message: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {ApiEsportLeaguesGet200ResponseResponseObject}
|
|
34
|
+
* @memberof ApiEsportLeaguesGet200Response
|
|
35
|
+
*/
|
|
36
|
+
responseObject?: ApiEsportLeaguesGet200ResponseResponseObject;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {number}
|
|
40
|
+
* @memberof ApiEsportLeaguesGet200Response
|
|
41
|
+
*/
|
|
42
|
+
statusCode: number;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Check if a given object implements the ApiEsportLeaguesGet200Response interface.
|
|
46
|
+
*/
|
|
47
|
+
export declare function instanceOfApiEsportLeaguesGet200Response(value: object): value is ApiEsportLeaguesGet200Response;
|
|
48
|
+
export declare function ApiEsportLeaguesGet200ResponseFromJSON(json: any): ApiEsportLeaguesGet200Response;
|
|
49
|
+
export declare function ApiEsportLeaguesGet200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiEsportLeaguesGet200Response;
|
|
50
|
+
export declare function ApiEsportLeaguesGet200ResponseToJSON(json: any): ApiEsportLeaguesGet200Response;
|
|
51
|
+
export declare function ApiEsportLeaguesGet200ResponseToJSONTyped(value?: ApiEsportLeaguesGet200Response | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* DRX API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { ApiEsportLeaguesGet200ResponseResponseObjectFromJSON, ApiEsportLeaguesGet200ResponseResponseObjectToJSON, } from './ApiEsportLeaguesGet200ResponseResponseObject';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the ApiEsportLeaguesGet200Response interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfApiEsportLeaguesGet200Response(value) {
|
|
19
|
+
if (!('success' in value) || value['success'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
if (!('message' in value) || value['message'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
if (!('statusCode' in value) || value['statusCode'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
export function ApiEsportLeaguesGet200ResponseFromJSON(json) {
|
|
28
|
+
return ApiEsportLeaguesGet200ResponseFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
export function ApiEsportLeaguesGet200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'success': json['success'],
|
|
36
|
+
'message': json['message'],
|
|
37
|
+
'responseObject': json['responseObject'] == null ? undefined : ApiEsportLeaguesGet200ResponseResponseObjectFromJSON(json['responseObject']),
|
|
38
|
+
'statusCode': json['statusCode'],
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
export function ApiEsportLeaguesGet200ResponseToJSON(json) {
|
|
42
|
+
return ApiEsportLeaguesGet200ResponseToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
export function ApiEsportLeaguesGet200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'success': value['success'],
|
|
50
|
+
'message': value['message'],
|
|
51
|
+
'responseObject': ApiEsportLeaguesGet200ResponseResponseObjectToJSON(value['responseObject']),
|
|
52
|
+
'statusCode': value['statusCode'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* DRX API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { ApiEsportLeaguesGet200ResponseResponseObjectItemsInner } from './ApiEsportLeaguesGet200ResponseResponseObjectItemsInner';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ApiEsportLeaguesGet200ResponseResponseObject
|
|
17
|
+
*/
|
|
18
|
+
export interface ApiEsportLeaguesGet200ResponseResponseObject {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<ApiEsportLeaguesGet200ResponseResponseObjectItemsInner>}
|
|
22
|
+
* @memberof ApiEsportLeaguesGet200ResponseResponseObject
|
|
23
|
+
*/
|
|
24
|
+
items: Array<ApiEsportLeaguesGet200ResponseResponseObjectItemsInner>;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof ApiEsportLeaguesGet200ResponseResponseObject
|
|
29
|
+
*/
|
|
30
|
+
currentPage: number;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {number}
|
|
34
|
+
* @memberof ApiEsportLeaguesGet200ResponseResponseObject
|
|
35
|
+
*/
|
|
36
|
+
totalItems: number;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {number}
|
|
40
|
+
* @memberof ApiEsportLeaguesGet200ResponseResponseObject
|
|
41
|
+
*/
|
|
42
|
+
totalPages: number;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {number}
|
|
46
|
+
* @memberof ApiEsportLeaguesGet200ResponseResponseObject
|
|
47
|
+
*/
|
|
48
|
+
pageSize: number;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Check if a given object implements the ApiEsportLeaguesGet200ResponseResponseObject interface.
|
|
52
|
+
*/
|
|
53
|
+
export declare function instanceOfApiEsportLeaguesGet200ResponseResponseObject(value: object): value is ApiEsportLeaguesGet200ResponseResponseObject;
|
|
54
|
+
export declare function ApiEsportLeaguesGet200ResponseResponseObjectFromJSON(json: any): ApiEsportLeaguesGet200ResponseResponseObject;
|
|
55
|
+
export declare function ApiEsportLeaguesGet200ResponseResponseObjectFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiEsportLeaguesGet200ResponseResponseObject;
|
|
56
|
+
export declare function ApiEsportLeaguesGet200ResponseResponseObjectToJSON(json: any): ApiEsportLeaguesGet200ResponseResponseObject;
|
|
57
|
+
export declare function ApiEsportLeaguesGet200ResponseResponseObjectToJSONTyped(value?: ApiEsportLeaguesGet200ResponseResponseObject | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* DRX API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { ApiEsportLeaguesGet200ResponseResponseObjectItemsInnerFromJSON, ApiEsportLeaguesGet200ResponseResponseObjectItemsInnerToJSON, } from './ApiEsportLeaguesGet200ResponseResponseObjectItemsInner';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the ApiEsportLeaguesGet200ResponseResponseObject interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfApiEsportLeaguesGet200ResponseResponseObject(value) {
|
|
19
|
+
if (!('items' in value) || value['items'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
if (!('currentPage' in value) || value['currentPage'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
if (!('totalItems' in value) || value['totalItems'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
if (!('totalPages' in value) || value['totalPages'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('pageSize' in value) || value['pageSize'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
export function ApiEsportLeaguesGet200ResponseResponseObjectFromJSON(json) {
|
|
32
|
+
return ApiEsportLeaguesGet200ResponseResponseObjectFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
export function ApiEsportLeaguesGet200ResponseResponseObjectFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'items': (json['items'].map(ApiEsportLeaguesGet200ResponseResponseObjectItemsInnerFromJSON)),
|
|
40
|
+
'currentPage': json['currentPage'],
|
|
41
|
+
'totalItems': json['totalItems'],
|
|
42
|
+
'totalPages': json['totalPages'],
|
|
43
|
+
'pageSize': json['pageSize'],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
export function ApiEsportLeaguesGet200ResponseResponseObjectToJSON(json) {
|
|
47
|
+
return ApiEsportLeaguesGet200ResponseResponseObjectToJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
export function ApiEsportLeaguesGet200ResponseResponseObjectToJSONTyped(value, ignoreDiscriminator = false) {
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'items': (value['items'].map(ApiEsportLeaguesGet200ResponseResponseObjectItemsInnerToJSON)),
|
|
55
|
+
'currentPage': value['currentPage'],
|
|
56
|
+
'totalItems': value['totalItems'],
|
|
57
|
+
'totalPages': value['totalPages'],
|
|
58
|
+
'pageSize': value['pageSize'],
|
|
59
|
+
};
|
|
60
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* DRX API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { ApiEsportVideogamesGet200ResponseResponseObjectInner } from './ApiEsportVideogamesGet200ResponseResponseObjectInner';
|
|
13
|
+
import type { ApiEsportSeriesGet200ResponseResponseObjectItemsInner } from './ApiEsportSeriesGet200ResponseResponseObjectItemsInner';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface ApiEsportLeaguesGet200ResponseResponseObjectItemsInner
|
|
18
|
+
*/
|
|
19
|
+
export interface ApiEsportLeaguesGet200ResponseResponseObjectItemsInner {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {number}
|
|
23
|
+
* @memberof ApiEsportLeaguesGet200ResponseResponseObjectItemsInner
|
|
24
|
+
*/
|
|
25
|
+
id: number;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof ApiEsportLeaguesGet200ResponseResponseObjectItemsInner
|
|
30
|
+
*/
|
|
31
|
+
name: string;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof ApiEsportLeaguesGet200ResponseResponseObjectItemsInner
|
|
36
|
+
*/
|
|
37
|
+
slug: string;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof ApiEsportLeaguesGet200ResponseResponseObjectItemsInner
|
|
42
|
+
*/
|
|
43
|
+
imageUrl?: string;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {number}
|
|
47
|
+
* @memberof ApiEsportLeaguesGet200ResponseResponseObjectItemsInner
|
|
48
|
+
*/
|
|
49
|
+
videogameId: number;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {ApiEsportVideogamesGet200ResponseResponseObjectInner}
|
|
53
|
+
* @memberof ApiEsportLeaguesGet200ResponseResponseObjectItemsInner
|
|
54
|
+
*/
|
|
55
|
+
videogame?: ApiEsportVideogamesGet200ResponseResponseObjectInner;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {Array<ApiEsportSeriesGet200ResponseResponseObjectItemsInner>}
|
|
59
|
+
* @memberof ApiEsportLeaguesGet200ResponseResponseObjectItemsInner
|
|
60
|
+
*/
|
|
61
|
+
series?: Array<ApiEsportSeriesGet200ResponseResponseObjectItemsInner>;
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Check if a given object implements the ApiEsportLeaguesGet200ResponseResponseObjectItemsInner interface.
|
|
65
|
+
*/
|
|
66
|
+
export declare function instanceOfApiEsportLeaguesGet200ResponseResponseObjectItemsInner(value: object): value is ApiEsportLeaguesGet200ResponseResponseObjectItemsInner;
|
|
67
|
+
export declare function ApiEsportLeaguesGet200ResponseResponseObjectItemsInnerFromJSON(json: any): ApiEsportLeaguesGet200ResponseResponseObjectItemsInner;
|
|
68
|
+
export declare function ApiEsportLeaguesGet200ResponseResponseObjectItemsInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiEsportLeaguesGet200ResponseResponseObjectItemsInner;
|
|
69
|
+
export declare function ApiEsportLeaguesGet200ResponseResponseObjectItemsInnerToJSON(json: any): ApiEsportLeaguesGet200ResponseResponseObjectItemsInner;
|
|
70
|
+
export declare function ApiEsportLeaguesGet200ResponseResponseObjectItemsInnerToJSONTyped(value?: ApiEsportLeaguesGet200ResponseResponseObjectItemsInner | null, ignoreDiscriminator?: boolean): any;
|