@drxsuperapp/sdk 1.1.225 → 1.1.227
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 +9 -0
- package/apis/EsportApi.ts +186 -0
- package/deploy.log +33 -8
- package/dist/apis/EsportApi.d.ts +40 -1
- package/dist/apis/EsportApi.js +121 -1
- package/dist/models/ApiEsportSeriesGet200Response.d.ts +51 -0
- package/dist/models/ApiEsportSeriesGet200Response.js +54 -0
- package/dist/models/ApiEsportSeriesGet200ResponseResponseObject.d.ts +57 -0
- package/dist/models/ApiEsportSeriesGet200ResponseResponseObject.js +60 -0
- package/dist/models/ApiEsportSeriesGet200ResponseResponseObjectItemsInner.d.ts +100 -0
- package/dist/models/ApiEsportSeriesGet200ResponseResponseObjectItemsInner.js +75 -0
- package/dist/models/ApiEsportSeriesGetFilterParameter.d.ts +58 -0
- package/dist/models/ApiEsportSeriesGetFilterParameter.js +51 -0
- package/dist/models/ApiEsportTournamentsGet200Response.d.ts +51 -0
- package/dist/models/ApiEsportTournamentsGet200Response.js +54 -0
- package/dist/models/ApiEsportTournamentsGet200ResponseResponseObject.d.ts +57 -0
- package/dist/models/ApiEsportTournamentsGet200ResponseResponseObject.js +60 -0
- package/dist/models/ApiEsportTournamentsGet200ResponseResponseObjectItemsInner.d.ts +136 -0
- package/dist/models/ApiEsportTournamentsGet200ResponseResponseObjectItemsInner.js +87 -0
- package/dist/models/ApiEsportTournamentsGetFilterParameter.d.ts +70 -0
- package/dist/models/ApiEsportTournamentsGetFilterParameter.js +55 -0
- package/dist/models/ApiEsportTournamentsIdGet200Response.d.ts +51 -0
- package/dist/models/ApiEsportTournamentsIdGet200Response.js +54 -0
- package/dist/models/index.d.ts +9 -0
- package/dist/models/index.js +9 -0
- package/models/ApiEsportSeriesGet200Response.ts +100 -0
- package/models/ApiEsportSeriesGet200ResponseResponseObject.ts +110 -0
- package/models/ApiEsportSeriesGet200ResponseResponseObjectItemsInner.ts +173 -0
- package/models/ApiEsportSeriesGetFilterParameter.ts +112 -0
- package/models/ApiEsportTournamentsGet200Response.ts +100 -0
- package/models/ApiEsportTournamentsGet200ResponseResponseObject.ts +110 -0
- package/models/ApiEsportTournamentsGet200ResponseResponseObjectItemsInner.ts +221 -0
- package/models/ApiEsportTournamentsGetFilterParameter.ts +128 -0
- package/models/ApiEsportTournamentsIdGet200Response.ts +100 -0
- package/models/index.ts +9 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -50,11 +50,20 @@ models/ApiEsportPlayersGet200ResponseResponseObject.ts
|
|
|
50
50
|
models/ApiEsportPlayersGet200ResponseResponseObjectItemsInner.ts
|
|
51
51
|
models/ApiEsportPlayersGetFilterParameter.ts
|
|
52
52
|
models/ApiEsportPlayersIdGet200Response.ts
|
|
53
|
+
models/ApiEsportSeriesGet200Response.ts
|
|
54
|
+
models/ApiEsportSeriesGet200ResponseResponseObject.ts
|
|
55
|
+
models/ApiEsportSeriesGet200ResponseResponseObjectItemsInner.ts
|
|
56
|
+
models/ApiEsportSeriesGetFilterParameter.ts
|
|
53
57
|
models/ApiEsportTeamsGet200Response.ts
|
|
54
58
|
models/ApiEsportTeamsGet200ResponseResponseObject.ts
|
|
55
59
|
models/ApiEsportTeamsGet200ResponseResponseObjectItemsInner.ts
|
|
56
60
|
models/ApiEsportTeamsGetFilterParameter.ts
|
|
57
61
|
models/ApiEsportTeamsIdGet200Response.ts
|
|
62
|
+
models/ApiEsportTournamentsGet200Response.ts
|
|
63
|
+
models/ApiEsportTournamentsGet200ResponseResponseObject.ts
|
|
64
|
+
models/ApiEsportTournamentsGet200ResponseResponseObjectItemsInner.ts
|
|
65
|
+
models/ApiEsportTournamentsGetFilterParameter.ts
|
|
66
|
+
models/ApiEsportTournamentsIdGet200Response.ts
|
|
58
67
|
models/ApiEsportVideogamesGet200Response.ts
|
|
59
68
|
models/ApiEsportVideogamesGet200ResponseResponseObjectInner.ts
|
|
60
69
|
models/ApiHealthCheckGet200Response.ts
|
package/apis/EsportApi.ts
CHANGED
|
@@ -21,9 +21,14 @@ import type {
|
|
|
21
21
|
ApiEsportPlayersGet200Response,
|
|
22
22
|
ApiEsportPlayersGetFilterParameter,
|
|
23
23
|
ApiEsportPlayersIdGet200Response,
|
|
24
|
+
ApiEsportSeriesGet200Response,
|
|
25
|
+
ApiEsportSeriesGetFilterParameter,
|
|
24
26
|
ApiEsportTeamsGet200Response,
|
|
25
27
|
ApiEsportTeamsGetFilterParameter,
|
|
26
28
|
ApiEsportTeamsIdGet200Response,
|
|
29
|
+
ApiEsportTournamentsGet200Response,
|
|
30
|
+
ApiEsportTournamentsGetFilterParameter,
|
|
31
|
+
ApiEsportTournamentsIdGet200Response,
|
|
27
32
|
ApiEsportVideogamesGet200Response,
|
|
28
33
|
} from '../models/index';
|
|
29
34
|
import {
|
|
@@ -39,12 +44,22 @@ import {
|
|
|
39
44
|
ApiEsportPlayersGetFilterParameterToJSON,
|
|
40
45
|
ApiEsportPlayersIdGet200ResponseFromJSON,
|
|
41
46
|
ApiEsportPlayersIdGet200ResponseToJSON,
|
|
47
|
+
ApiEsportSeriesGet200ResponseFromJSON,
|
|
48
|
+
ApiEsportSeriesGet200ResponseToJSON,
|
|
49
|
+
ApiEsportSeriesGetFilterParameterFromJSON,
|
|
50
|
+
ApiEsportSeriesGetFilterParameterToJSON,
|
|
42
51
|
ApiEsportTeamsGet200ResponseFromJSON,
|
|
43
52
|
ApiEsportTeamsGet200ResponseToJSON,
|
|
44
53
|
ApiEsportTeamsGetFilterParameterFromJSON,
|
|
45
54
|
ApiEsportTeamsGetFilterParameterToJSON,
|
|
46
55
|
ApiEsportTeamsIdGet200ResponseFromJSON,
|
|
47
56
|
ApiEsportTeamsIdGet200ResponseToJSON,
|
|
57
|
+
ApiEsportTournamentsGet200ResponseFromJSON,
|
|
58
|
+
ApiEsportTournamentsGet200ResponseToJSON,
|
|
59
|
+
ApiEsportTournamentsGetFilterParameterFromJSON,
|
|
60
|
+
ApiEsportTournamentsGetFilterParameterToJSON,
|
|
61
|
+
ApiEsportTournamentsIdGet200ResponseFromJSON,
|
|
62
|
+
ApiEsportTournamentsIdGet200ResponseToJSON,
|
|
48
63
|
ApiEsportVideogamesGet200ResponseFromJSON,
|
|
49
64
|
ApiEsportVideogamesGet200ResponseToJSON,
|
|
50
65
|
} from '../models/index';
|
|
@@ -71,6 +86,13 @@ export interface ApiEsportPlayersIdGetRequest {
|
|
|
71
86
|
id: string;
|
|
72
87
|
}
|
|
73
88
|
|
|
89
|
+
export interface ApiEsportSeriesGetRequest {
|
|
90
|
+
page?: number;
|
|
91
|
+
pageSize?: number;
|
|
92
|
+
sort?: string;
|
|
93
|
+
filter?: ApiEsportSeriesGetFilterParameter;
|
|
94
|
+
}
|
|
95
|
+
|
|
74
96
|
export interface ApiEsportTeamsGetRequest {
|
|
75
97
|
page?: number;
|
|
76
98
|
pageSize?: number;
|
|
@@ -82,6 +104,17 @@ export interface ApiEsportTeamsIdGetRequest {
|
|
|
82
104
|
id: string;
|
|
83
105
|
}
|
|
84
106
|
|
|
107
|
+
export interface ApiEsportTournamentsGetRequest {
|
|
108
|
+
page?: number;
|
|
109
|
+
pageSize?: number;
|
|
110
|
+
sort?: string;
|
|
111
|
+
filter?: ApiEsportTournamentsGetFilterParameter;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
export interface ApiEsportTournamentsIdGetRequest {
|
|
115
|
+
id: string;
|
|
116
|
+
}
|
|
117
|
+
|
|
85
118
|
/**
|
|
86
119
|
*
|
|
87
120
|
*/
|
|
@@ -285,6 +318,60 @@ export class EsportApi extends runtime.BaseAPI {
|
|
|
285
318
|
return await response.value();
|
|
286
319
|
}
|
|
287
320
|
|
|
321
|
+
/**
|
|
322
|
+
* Get Esport Series
|
|
323
|
+
*/
|
|
324
|
+
async apiEsportSeriesGetRaw(requestParameters: ApiEsportSeriesGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiEsportSeriesGet200Response>> {
|
|
325
|
+
const queryParameters: any = {};
|
|
326
|
+
|
|
327
|
+
if (requestParameters['page'] != null) {
|
|
328
|
+
queryParameters['page'] = requestParameters['page'];
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
if (requestParameters['pageSize'] != null) {
|
|
332
|
+
queryParameters['pageSize'] = requestParameters['pageSize'];
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
if (requestParameters['sort'] != null) {
|
|
336
|
+
queryParameters['sort'] = requestParameters['sort'];
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
if (requestParameters['filter'] != null) {
|
|
340
|
+
queryParameters['filter'] = requestParameters['filter'];
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
344
|
+
|
|
345
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
346
|
+
headerParameters["x-api-key"] = await this.configuration.apiKey("x-api-key"); // ApiKeyAuth authentication
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
350
|
+
const token = this.configuration.accessToken;
|
|
351
|
+
const tokenString = await token("BearerAuth", []);
|
|
352
|
+
|
|
353
|
+
if (tokenString) {
|
|
354
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
355
|
+
}
|
|
356
|
+
}
|
|
357
|
+
const response = await this.request({
|
|
358
|
+
path: `/api/esport/series`,
|
|
359
|
+
method: 'GET',
|
|
360
|
+
headers: headerParameters,
|
|
361
|
+
query: queryParameters,
|
|
362
|
+
}, initOverrides);
|
|
363
|
+
|
|
364
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ApiEsportSeriesGet200ResponseFromJSON(jsonValue));
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
/**
|
|
368
|
+
* Get Esport Series
|
|
369
|
+
*/
|
|
370
|
+
async apiEsportSeriesGet(requestParameters: ApiEsportSeriesGetRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiEsportSeriesGet200Response> {
|
|
371
|
+
const response = await this.apiEsportSeriesGetRaw(requestParameters, initOverrides);
|
|
372
|
+
return await response.value();
|
|
373
|
+
}
|
|
374
|
+
|
|
288
375
|
/**
|
|
289
376
|
* Get Esport Teams
|
|
290
377
|
*/
|
|
@@ -384,6 +471,105 @@ export class EsportApi extends runtime.BaseAPI {
|
|
|
384
471
|
return await response.value();
|
|
385
472
|
}
|
|
386
473
|
|
|
474
|
+
/**
|
|
475
|
+
* Get Esport Tournaments
|
|
476
|
+
*/
|
|
477
|
+
async apiEsportTournamentsGetRaw(requestParameters: ApiEsportTournamentsGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiEsportTournamentsGet200Response>> {
|
|
478
|
+
const queryParameters: any = {};
|
|
479
|
+
|
|
480
|
+
if (requestParameters['page'] != null) {
|
|
481
|
+
queryParameters['page'] = requestParameters['page'];
|
|
482
|
+
}
|
|
483
|
+
|
|
484
|
+
if (requestParameters['pageSize'] != null) {
|
|
485
|
+
queryParameters['pageSize'] = requestParameters['pageSize'];
|
|
486
|
+
}
|
|
487
|
+
|
|
488
|
+
if (requestParameters['sort'] != null) {
|
|
489
|
+
queryParameters['sort'] = requestParameters['sort'];
|
|
490
|
+
}
|
|
491
|
+
|
|
492
|
+
if (requestParameters['filter'] != null) {
|
|
493
|
+
queryParameters['filter'] = requestParameters['filter'];
|
|
494
|
+
}
|
|
495
|
+
|
|
496
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
497
|
+
|
|
498
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
499
|
+
headerParameters["x-api-key"] = await this.configuration.apiKey("x-api-key"); // ApiKeyAuth authentication
|
|
500
|
+
}
|
|
501
|
+
|
|
502
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
503
|
+
const token = this.configuration.accessToken;
|
|
504
|
+
const tokenString = await token("BearerAuth", []);
|
|
505
|
+
|
|
506
|
+
if (tokenString) {
|
|
507
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
508
|
+
}
|
|
509
|
+
}
|
|
510
|
+
const response = await this.request({
|
|
511
|
+
path: `/api/esport/tournaments`,
|
|
512
|
+
method: 'GET',
|
|
513
|
+
headers: headerParameters,
|
|
514
|
+
query: queryParameters,
|
|
515
|
+
}, initOverrides);
|
|
516
|
+
|
|
517
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ApiEsportTournamentsGet200ResponseFromJSON(jsonValue));
|
|
518
|
+
}
|
|
519
|
+
|
|
520
|
+
/**
|
|
521
|
+
* Get Esport Tournaments
|
|
522
|
+
*/
|
|
523
|
+
async apiEsportTournamentsGet(requestParameters: ApiEsportTournamentsGetRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiEsportTournamentsGet200Response> {
|
|
524
|
+
const response = await this.apiEsportTournamentsGetRaw(requestParameters, initOverrides);
|
|
525
|
+
return await response.value();
|
|
526
|
+
}
|
|
527
|
+
|
|
528
|
+
/**
|
|
529
|
+
* Get Esport Tournament Details
|
|
530
|
+
*/
|
|
531
|
+
async apiEsportTournamentsIdGetRaw(requestParameters: ApiEsportTournamentsIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiEsportTournamentsIdGet200Response>> {
|
|
532
|
+
if (requestParameters['id'] == null) {
|
|
533
|
+
throw new runtime.RequiredError(
|
|
534
|
+
'id',
|
|
535
|
+
'Required parameter "id" was null or undefined when calling apiEsportTournamentsIdGet().'
|
|
536
|
+
);
|
|
537
|
+
}
|
|
538
|
+
|
|
539
|
+
const queryParameters: any = {};
|
|
540
|
+
|
|
541
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
542
|
+
|
|
543
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
544
|
+
headerParameters["x-api-key"] = await this.configuration.apiKey("x-api-key"); // ApiKeyAuth authentication
|
|
545
|
+
}
|
|
546
|
+
|
|
547
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
548
|
+
const token = this.configuration.accessToken;
|
|
549
|
+
const tokenString = await token("BearerAuth", []);
|
|
550
|
+
|
|
551
|
+
if (tokenString) {
|
|
552
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
553
|
+
}
|
|
554
|
+
}
|
|
555
|
+
const response = await this.request({
|
|
556
|
+
path: `/api/esport/tournaments/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))),
|
|
557
|
+
method: 'GET',
|
|
558
|
+
headers: headerParameters,
|
|
559
|
+
query: queryParameters,
|
|
560
|
+
}, initOverrides);
|
|
561
|
+
|
|
562
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ApiEsportTournamentsIdGet200ResponseFromJSON(jsonValue));
|
|
563
|
+
}
|
|
564
|
+
|
|
565
|
+
/**
|
|
566
|
+
* Get Esport Tournament Details
|
|
567
|
+
*/
|
|
568
|
+
async apiEsportTournamentsIdGet(requestParameters: ApiEsportTournamentsIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiEsportTournamentsIdGet200Response> {
|
|
569
|
+
const response = await this.apiEsportTournamentsIdGetRaw(requestParameters, initOverrides);
|
|
570
|
+
return await response.value();
|
|
571
|
+
}
|
|
572
|
+
|
|
387
573
|
/**
|
|
388
574
|
* Get All Esport\'s Video Games
|
|
389
575
|
*/
|
package/deploy.log
CHANGED
|
@@ -178,6 +178,15 @@
|
|
|
178
178
|
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_esport_teams_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_teams_get_200_response_responseObject=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_esport_teams_get_200_response_responseObject=NewModel,ModelA=NewModelA in CLI).
|
|
179
179
|
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_esport_teams_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_teams_get_200_response=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_esport_teams_get_200_response=NewModel,ModelA=NewModelA in CLI).
|
|
180
180
|
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_esport_teams__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_teams__id__get_200_response=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_esport_teams__id__get_200_response=NewModel,ModelA=NewModelA in CLI).
|
|
181
|
+
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_esport_tournaments_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_tournaments_get_filter_parameter=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_esport_tournaments_get_filter_parameter=NewModel,ModelA=NewModelA in CLI).
|
|
182
|
+
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_esport_tournaments_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_tournaments_get_200_response_responseObject_items_inner=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_esport_tournaments_get_200_response_responseObject_items_inner=NewModel,ModelA=NewModelA in CLI).
|
|
183
|
+
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_esport_tournaments_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_tournaments_get_200_response_responseObject=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_esport_tournaments_get_200_response_responseObject=NewModel,ModelA=NewModelA in CLI).
|
|
184
|
+
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_esport_tournaments_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_tournaments_get_200_response=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_esport_tournaments_get_200_response=NewModel,ModelA=NewModelA in CLI).
|
|
185
|
+
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_esport_tournaments__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_tournaments__id__get_200_response=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_esport_tournaments__id__get_200_response=NewModel,ModelA=NewModelA in CLI).
|
|
186
|
+
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_esport_series_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_series_get_filter_parameter=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_esport_series_get_filter_parameter=NewModel,ModelA=NewModelA in CLI).
|
|
187
|
+
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_esport_series_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_series_get_200_response_responseObject_items_inner=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_esport_series_get_200_response_responseObject_items_inner=NewModel,ModelA=NewModelA in CLI).
|
|
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
|
+
[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).
|
|
181
190
|
[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/]
|
|
182
191
|
[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/]
|
|
183
192
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiAuthForgotPasswordChangePasswordPost200Response.ts
|
|
@@ -218,11 +227,20 @@
|
|
|
218
227
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiEsportPlayersGet200ResponseResponseObjectItemsInner.ts
|
|
219
228
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiEsportPlayersGetFilterParameter.ts
|
|
220
229
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiEsportPlayersIdGet200Response.ts
|
|
230
|
+
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiEsportSeriesGet200Response.ts
|
|
231
|
+
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiEsportSeriesGet200ResponseResponseObject.ts
|
|
232
|
+
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiEsportSeriesGet200ResponseResponseObjectItemsInner.ts
|
|
233
|
+
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiEsportSeriesGetFilterParameter.ts
|
|
221
234
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiEsportTeamsGet200Response.ts
|
|
222
235
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiEsportTeamsGet200ResponseResponseObject.ts
|
|
223
236
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiEsportTeamsGet200ResponseResponseObjectItemsInner.ts
|
|
224
237
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiEsportTeamsGetFilterParameter.ts
|
|
225
238
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiEsportTeamsIdGet200Response.ts
|
|
239
|
+
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiEsportTournamentsGet200Response.ts
|
|
240
|
+
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiEsportTournamentsGet200ResponseResponseObject.ts
|
|
241
|
+
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiEsportTournamentsGet200ResponseResponseObjectItemsInner.ts
|
|
242
|
+
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiEsportTournamentsGetFilterParameter.ts
|
|
243
|
+
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiEsportTournamentsIdGet200Response.ts
|
|
226
244
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiEsportVideogamesGet200Response.ts
|
|
227
245
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiEsportVideogamesGet200ResponseResponseObjectInner.ts
|
|
228
246
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiHealthCheckGet200Response.ts
|
|
@@ -410,6 +428,9 @@
|
|
|
410
428
|
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: get /api/esport/players/{id}. Renamed to auto-generated operationId: apiEsportPlayersIdGet
|
|
411
429
|
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: get /api/esport/teams. Renamed to auto-generated operationId: apiEsportTeamsGet
|
|
412
430
|
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: get /api/esport/teams/{id}. Renamed to auto-generated operationId: apiEsportTeamsIdGet
|
|
431
|
+
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: get /api/esport/tournaments. Renamed to auto-generated operationId: apiEsportTournamentsGet
|
|
432
|
+
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: get /api/esport/tournaments/{id}. Renamed to auto-generated operationId: apiEsportTournamentsIdGet
|
|
433
|
+
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: get /api/esport/series. Renamed to auto-generated operationId: apiEsportSeriesGet
|
|
413
434
|
[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/]
|
|
414
435
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./apis/AppConfigApi.ts
|
|
415
436
|
[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/]
|
|
@@ -448,21 +469,25 @@
|
|
|
448
469
|
# https://opencollective.com/openapi_generator/donate #
|
|
449
470
|
################################################################################
|
|
450
471
|
✅ SDK generated
|
|
451
|
-
[master
|
|
452
|
-
|
|
453
|
-
create mode 100644 models/
|
|
472
|
+
[master 7de24e5] VPS: Generated API SDK
|
|
473
|
+
8 files changed, 724 insertions(+)
|
|
474
|
+
create mode 100644 models/ApiEsportSeriesGet200Response.ts
|
|
475
|
+
create mode 100644 models/ApiEsportSeriesGet200ResponseResponseObject.ts
|
|
476
|
+
create mode 100644 models/ApiEsportSeriesGet200ResponseResponseObjectItemsInner.ts
|
|
477
|
+
create mode 100644 models/ApiEsportSeriesGetFilterParameter.ts
|
|
478
|
+
create mode 100644 models/ApiEsportTournamentsIdGet200Response.ts
|
|
454
479
|
To https://gitlab.com/drx-super/drx-sdk.git
|
|
455
|
-
|
|
480
|
+
eb66e93..7de24e5 master -> master
|
|
456
481
|
✅ Changes committed and pushed
|
|
457
|
-
v1.1.
|
|
482
|
+
v1.1.227
|
|
458
483
|
To https://gitlab.com/drx-super/drx-sdk.git
|
|
459
|
-
|
|
484
|
+
7de24e5..731cde3 master -> master
|
|
460
485
|
✅ Version bumped
|
|
461
486
|
|
|
462
|
-
> @drxsuperapp/sdk@1.1.
|
|
487
|
+
> @drxsuperapp/sdk@1.1.227 prepublishOnly
|
|
463
488
|
> npm run build
|
|
464
489
|
|
|
465
490
|
|
|
466
|
-
> @drxsuperapp/sdk@1.1.
|
|
491
|
+
> @drxsuperapp/sdk@1.1.227 build
|
|
467
492
|
> tsc
|
|
468
493
|
|
package/dist/apis/EsportApi.d.ts
CHANGED
|
@@ -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, ApiEsportPlayersGet200Response, ApiEsportPlayersGetFilterParameter, ApiEsportPlayersIdGet200Response, ApiEsportTeamsGet200Response, ApiEsportTeamsGetFilterParameter, ApiEsportTeamsIdGet200Response, ApiEsportVideogamesGet200Response } from '../models/index';
|
|
13
|
+
import type { ApiEsportMatchesGet200Response, ApiEsportMatchesGetFilterParameter, ApiEsportMatchesIdGet200Response, ApiEsportPlayersGet200Response, ApiEsportPlayersGetFilterParameter, ApiEsportPlayersIdGet200Response, ApiEsportSeriesGet200Response, ApiEsportSeriesGetFilterParameter, ApiEsportTeamsGet200Response, ApiEsportTeamsGetFilterParameter, ApiEsportTeamsIdGet200Response, ApiEsportTournamentsGet200Response, ApiEsportTournamentsGetFilterParameter, ApiEsportTournamentsIdGet200Response, ApiEsportVideogamesGet200Response } from '../models/index';
|
|
14
14
|
export interface ApiEsportMatchesGetRequest {
|
|
15
15
|
page?: number;
|
|
16
16
|
pageSize?: number;
|
|
@@ -29,6 +29,12 @@ export interface ApiEsportPlayersGetRequest {
|
|
|
29
29
|
export interface ApiEsportPlayersIdGetRequest {
|
|
30
30
|
id: string;
|
|
31
31
|
}
|
|
32
|
+
export interface ApiEsportSeriesGetRequest {
|
|
33
|
+
page?: number;
|
|
34
|
+
pageSize?: number;
|
|
35
|
+
sort?: string;
|
|
36
|
+
filter?: ApiEsportSeriesGetFilterParameter;
|
|
37
|
+
}
|
|
32
38
|
export interface ApiEsportTeamsGetRequest {
|
|
33
39
|
page?: number;
|
|
34
40
|
pageSize?: number;
|
|
@@ -38,6 +44,15 @@ export interface ApiEsportTeamsGetRequest {
|
|
|
38
44
|
export interface ApiEsportTeamsIdGetRequest {
|
|
39
45
|
id: string;
|
|
40
46
|
}
|
|
47
|
+
export interface ApiEsportTournamentsGetRequest {
|
|
48
|
+
page?: number;
|
|
49
|
+
pageSize?: number;
|
|
50
|
+
sort?: string;
|
|
51
|
+
filter?: ApiEsportTournamentsGetFilterParameter;
|
|
52
|
+
}
|
|
53
|
+
export interface ApiEsportTournamentsIdGetRequest {
|
|
54
|
+
id: string;
|
|
55
|
+
}
|
|
41
56
|
/**
|
|
42
57
|
*
|
|
43
58
|
*/
|
|
@@ -74,6 +89,14 @@ export declare class EsportApi extends runtime.BaseAPI {
|
|
|
74
89
|
* Get Esport Player Details
|
|
75
90
|
*/
|
|
76
91
|
apiEsportPlayersIdGet(requestParameters: ApiEsportPlayersIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiEsportPlayersIdGet200Response>;
|
|
92
|
+
/**
|
|
93
|
+
* Get Esport Series
|
|
94
|
+
*/
|
|
95
|
+
apiEsportSeriesGetRaw(requestParameters: ApiEsportSeriesGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiEsportSeriesGet200Response>>;
|
|
96
|
+
/**
|
|
97
|
+
* Get Esport Series
|
|
98
|
+
*/
|
|
99
|
+
apiEsportSeriesGet(requestParameters?: ApiEsportSeriesGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiEsportSeriesGet200Response>;
|
|
77
100
|
/**
|
|
78
101
|
* Get Esport Teams
|
|
79
102
|
*/
|
|
@@ -90,6 +113,22 @@ export declare class EsportApi extends runtime.BaseAPI {
|
|
|
90
113
|
* Get Esport Team Details
|
|
91
114
|
*/
|
|
92
115
|
apiEsportTeamsIdGet(requestParameters: ApiEsportTeamsIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiEsportTeamsIdGet200Response>;
|
|
116
|
+
/**
|
|
117
|
+
* Get Esport Tournaments
|
|
118
|
+
*/
|
|
119
|
+
apiEsportTournamentsGetRaw(requestParameters: ApiEsportTournamentsGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiEsportTournamentsGet200Response>>;
|
|
120
|
+
/**
|
|
121
|
+
* Get Esport Tournaments
|
|
122
|
+
*/
|
|
123
|
+
apiEsportTournamentsGet(requestParameters?: ApiEsportTournamentsGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiEsportTournamentsGet200Response>;
|
|
124
|
+
/**
|
|
125
|
+
* Get Esport Tournament Details
|
|
126
|
+
*/
|
|
127
|
+
apiEsportTournamentsIdGetRaw(requestParameters: ApiEsportTournamentsIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiEsportTournamentsIdGet200Response>>;
|
|
128
|
+
/**
|
|
129
|
+
* Get Esport Tournament Details
|
|
130
|
+
*/
|
|
131
|
+
apiEsportTournamentsIdGet(requestParameters: ApiEsportTournamentsIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiEsportTournamentsIdGet200Response>;
|
|
93
132
|
/**
|
|
94
133
|
* Get All Esport\'s Video Games
|
|
95
134
|
*/
|
package/dist/apis/EsportApi.js
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
import * as runtime from '../runtime';
|
|
15
|
-
import { ApiEsportMatchesGet200ResponseFromJSON, ApiEsportMatchesIdGet200ResponseFromJSON, ApiEsportPlayersGet200ResponseFromJSON, ApiEsportPlayersIdGet200ResponseFromJSON, ApiEsportTeamsGet200ResponseFromJSON, ApiEsportTeamsIdGet200ResponseFromJSON, ApiEsportVideogamesGet200ResponseFromJSON, } from '../models/index';
|
|
15
|
+
import { ApiEsportMatchesGet200ResponseFromJSON, ApiEsportMatchesIdGet200ResponseFromJSON, ApiEsportPlayersGet200ResponseFromJSON, ApiEsportPlayersIdGet200ResponseFromJSON, ApiEsportSeriesGet200ResponseFromJSON, ApiEsportTeamsGet200ResponseFromJSON, ApiEsportTeamsIdGet200ResponseFromJSON, ApiEsportTournamentsGet200ResponseFromJSON, ApiEsportTournamentsIdGet200ResponseFromJSON, ApiEsportVideogamesGet200ResponseFromJSON, } from '../models/index';
|
|
16
16
|
/**
|
|
17
17
|
*
|
|
18
18
|
*/
|
|
@@ -171,6 +171,49 @@ export class EsportApi extends runtime.BaseAPI {
|
|
|
171
171
|
const response = await this.apiEsportPlayersIdGetRaw(requestParameters, initOverrides);
|
|
172
172
|
return await response.value();
|
|
173
173
|
}
|
|
174
|
+
/**
|
|
175
|
+
* Get Esport Series
|
|
176
|
+
*/
|
|
177
|
+
async apiEsportSeriesGetRaw(requestParameters, initOverrides) {
|
|
178
|
+
const queryParameters = {};
|
|
179
|
+
if (requestParameters['page'] != null) {
|
|
180
|
+
queryParameters['page'] = requestParameters['page'];
|
|
181
|
+
}
|
|
182
|
+
if (requestParameters['pageSize'] != null) {
|
|
183
|
+
queryParameters['pageSize'] = requestParameters['pageSize'];
|
|
184
|
+
}
|
|
185
|
+
if (requestParameters['sort'] != null) {
|
|
186
|
+
queryParameters['sort'] = requestParameters['sort'];
|
|
187
|
+
}
|
|
188
|
+
if (requestParameters['filter'] != null) {
|
|
189
|
+
queryParameters['filter'] = requestParameters['filter'];
|
|
190
|
+
}
|
|
191
|
+
const headerParameters = {};
|
|
192
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
193
|
+
headerParameters["x-api-key"] = await this.configuration.apiKey("x-api-key"); // ApiKeyAuth authentication
|
|
194
|
+
}
|
|
195
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
196
|
+
const token = this.configuration.accessToken;
|
|
197
|
+
const tokenString = await token("BearerAuth", []);
|
|
198
|
+
if (tokenString) {
|
|
199
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
const response = await this.request({
|
|
203
|
+
path: `/api/esport/series`,
|
|
204
|
+
method: 'GET',
|
|
205
|
+
headers: headerParameters,
|
|
206
|
+
query: queryParameters,
|
|
207
|
+
}, initOverrides);
|
|
208
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ApiEsportSeriesGet200ResponseFromJSON(jsonValue));
|
|
209
|
+
}
|
|
210
|
+
/**
|
|
211
|
+
* Get Esport Series
|
|
212
|
+
*/
|
|
213
|
+
async apiEsportSeriesGet(requestParameters = {}, initOverrides) {
|
|
214
|
+
const response = await this.apiEsportSeriesGetRaw(requestParameters, initOverrides);
|
|
215
|
+
return await response.value();
|
|
216
|
+
}
|
|
174
217
|
/**
|
|
175
218
|
* Get Esport Teams
|
|
176
219
|
*/
|
|
@@ -248,6 +291,83 @@ export class EsportApi extends runtime.BaseAPI {
|
|
|
248
291
|
const response = await this.apiEsportTeamsIdGetRaw(requestParameters, initOverrides);
|
|
249
292
|
return await response.value();
|
|
250
293
|
}
|
|
294
|
+
/**
|
|
295
|
+
* Get Esport Tournaments
|
|
296
|
+
*/
|
|
297
|
+
async apiEsportTournamentsGetRaw(requestParameters, initOverrides) {
|
|
298
|
+
const queryParameters = {};
|
|
299
|
+
if (requestParameters['page'] != null) {
|
|
300
|
+
queryParameters['page'] = requestParameters['page'];
|
|
301
|
+
}
|
|
302
|
+
if (requestParameters['pageSize'] != null) {
|
|
303
|
+
queryParameters['pageSize'] = requestParameters['pageSize'];
|
|
304
|
+
}
|
|
305
|
+
if (requestParameters['sort'] != null) {
|
|
306
|
+
queryParameters['sort'] = requestParameters['sort'];
|
|
307
|
+
}
|
|
308
|
+
if (requestParameters['filter'] != null) {
|
|
309
|
+
queryParameters['filter'] = requestParameters['filter'];
|
|
310
|
+
}
|
|
311
|
+
const headerParameters = {};
|
|
312
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
313
|
+
headerParameters["x-api-key"] = await this.configuration.apiKey("x-api-key"); // ApiKeyAuth authentication
|
|
314
|
+
}
|
|
315
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
316
|
+
const token = this.configuration.accessToken;
|
|
317
|
+
const tokenString = await token("BearerAuth", []);
|
|
318
|
+
if (tokenString) {
|
|
319
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
const response = await this.request({
|
|
323
|
+
path: `/api/esport/tournaments`,
|
|
324
|
+
method: 'GET',
|
|
325
|
+
headers: headerParameters,
|
|
326
|
+
query: queryParameters,
|
|
327
|
+
}, initOverrides);
|
|
328
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ApiEsportTournamentsGet200ResponseFromJSON(jsonValue));
|
|
329
|
+
}
|
|
330
|
+
/**
|
|
331
|
+
* Get Esport Tournaments
|
|
332
|
+
*/
|
|
333
|
+
async apiEsportTournamentsGet(requestParameters = {}, initOverrides) {
|
|
334
|
+
const response = await this.apiEsportTournamentsGetRaw(requestParameters, initOverrides);
|
|
335
|
+
return await response.value();
|
|
336
|
+
}
|
|
337
|
+
/**
|
|
338
|
+
* Get Esport Tournament Details
|
|
339
|
+
*/
|
|
340
|
+
async apiEsportTournamentsIdGetRaw(requestParameters, initOverrides) {
|
|
341
|
+
if (requestParameters['id'] == null) {
|
|
342
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling apiEsportTournamentsIdGet().');
|
|
343
|
+
}
|
|
344
|
+
const queryParameters = {};
|
|
345
|
+
const headerParameters = {};
|
|
346
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
347
|
+
headerParameters["x-api-key"] = await this.configuration.apiKey("x-api-key"); // ApiKeyAuth authentication
|
|
348
|
+
}
|
|
349
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
350
|
+
const token = this.configuration.accessToken;
|
|
351
|
+
const tokenString = await token("BearerAuth", []);
|
|
352
|
+
if (tokenString) {
|
|
353
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
354
|
+
}
|
|
355
|
+
}
|
|
356
|
+
const response = await this.request({
|
|
357
|
+
path: `/api/esport/tournaments/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))),
|
|
358
|
+
method: 'GET',
|
|
359
|
+
headers: headerParameters,
|
|
360
|
+
query: queryParameters,
|
|
361
|
+
}, initOverrides);
|
|
362
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ApiEsportTournamentsIdGet200ResponseFromJSON(jsonValue));
|
|
363
|
+
}
|
|
364
|
+
/**
|
|
365
|
+
* Get Esport Tournament Details
|
|
366
|
+
*/
|
|
367
|
+
async apiEsportTournamentsIdGet(requestParameters, initOverrides) {
|
|
368
|
+
const response = await this.apiEsportTournamentsIdGetRaw(requestParameters, initOverrides);
|
|
369
|
+
return await response.value();
|
|
370
|
+
}
|
|
251
371
|
/**
|
|
252
372
|
* Get All Esport\'s Video Games
|
|
253
373
|
*/
|
|
@@ -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 { ApiEsportSeriesGet200ResponseResponseObject } from './ApiEsportSeriesGet200ResponseResponseObject';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ApiEsportSeriesGet200Response
|
|
17
|
+
*/
|
|
18
|
+
export interface ApiEsportSeriesGet200Response {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {boolean}
|
|
22
|
+
* @memberof ApiEsportSeriesGet200Response
|
|
23
|
+
*/
|
|
24
|
+
success: boolean;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ApiEsportSeriesGet200Response
|
|
29
|
+
*/
|
|
30
|
+
message: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {ApiEsportSeriesGet200ResponseResponseObject}
|
|
34
|
+
* @memberof ApiEsportSeriesGet200Response
|
|
35
|
+
*/
|
|
36
|
+
responseObject?: ApiEsportSeriesGet200ResponseResponseObject;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {number}
|
|
40
|
+
* @memberof ApiEsportSeriesGet200Response
|
|
41
|
+
*/
|
|
42
|
+
statusCode: number;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Check if a given object implements the ApiEsportSeriesGet200Response interface.
|
|
46
|
+
*/
|
|
47
|
+
export declare function instanceOfApiEsportSeriesGet200Response(value: object): value is ApiEsportSeriesGet200Response;
|
|
48
|
+
export declare function ApiEsportSeriesGet200ResponseFromJSON(json: any): ApiEsportSeriesGet200Response;
|
|
49
|
+
export declare function ApiEsportSeriesGet200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiEsportSeriesGet200Response;
|
|
50
|
+
export declare function ApiEsportSeriesGet200ResponseToJSON(json: any): ApiEsportSeriesGet200Response;
|
|
51
|
+
export declare function ApiEsportSeriesGet200ResponseToJSONTyped(value?: ApiEsportSeriesGet200Response | 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 { ApiEsportSeriesGet200ResponseResponseObjectFromJSON, ApiEsportSeriesGet200ResponseResponseObjectToJSON, } from './ApiEsportSeriesGet200ResponseResponseObject';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the ApiEsportSeriesGet200Response interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfApiEsportSeriesGet200Response(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 ApiEsportSeriesGet200ResponseFromJSON(json) {
|
|
28
|
+
return ApiEsportSeriesGet200ResponseFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
export function ApiEsportSeriesGet200ResponseFromJSONTyped(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 : ApiEsportSeriesGet200ResponseResponseObjectFromJSON(json['responseObject']),
|
|
38
|
+
'statusCode': json['statusCode'],
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
export function ApiEsportSeriesGet200ResponseToJSON(json) {
|
|
42
|
+
return ApiEsportSeriesGet200ResponseToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
export function ApiEsportSeriesGet200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'success': value['success'],
|
|
50
|
+
'message': value['message'],
|
|
51
|
+
'responseObject': ApiEsportSeriesGet200ResponseResponseObjectToJSON(value['responseObject']),
|
|
52
|
+
'statusCode': value['statusCode'],
|
|
53
|
+
};
|
|
54
|
+
}
|