@drxsuperapp/sdk 1.1.237 → 1.1.239
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/deploy.log +23 -9
- package/dist/models/ApiEsportMatchesGet200ResponseResponseObjectItemsInner.d.ts +28 -0
- package/dist/models/ApiEsportMatchesGet200ResponseResponseObjectItemsInner.js +20 -2
- package/dist/models/ApiEsportMatchesGet200ResponseResponseObjectItemsInnerLeague.d.ts +56 -0
- package/dist/models/ApiEsportMatchesGet200ResponseResponseObjectItemsInnerLeague.js +57 -0
- package/dist/models/ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInner.d.ts +57 -0
- package/dist/models/ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInner.js +56 -0
- package/dist/models/ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerTeam.d.ts +75 -0
- package/dist/models/ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerTeam.js +64 -0
- package/dist/models/ApiEsportMatchesGet200ResponseResponseObjectItemsInnerSerie.d.ts +92 -0
- package/dist/models/ApiEsportMatchesGet200ResponseResponseObjectItemsInnerSerie.js +69 -0
- package/dist/models/ApiEsportMatchesGet200ResponseResponseObjectItemsInnerTournament.d.ts +122 -0
- package/dist/models/ApiEsportMatchesGet200ResponseResponseObjectItemsInnerTournament.js +81 -0
- package/dist/models/index.d.ts +5 -0
- package/dist/models/index.js +5 -0
- package/models/ApiEsportMatchesGet200ResponseResponseObjectItemsInner.ts +65 -2
- package/models/ApiEsportMatchesGet200ResponseResponseObjectItemsInnerLeague.ts +101 -0
- package/models/ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInner.ts +108 -0
- package/models/ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerTeam.ts +133 -0
- package/models/ApiEsportMatchesGet200ResponseResponseObjectItemsInnerSerie.ts +149 -0
- package/models/ApiEsportMatchesGet200ResponseResponseObjectItemsInnerTournament.ts +190 -0
- package/models/index.ts +5 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -44,10 +44,15 @@ models/ApiEsportLeaguesIdGet200Response.ts
|
|
|
44
44
|
models/ApiEsportMatchesGet200Response.ts
|
|
45
45
|
models/ApiEsportMatchesGet200ResponseResponseObject.ts
|
|
46
46
|
models/ApiEsportMatchesGet200ResponseResponseObjectItemsInner.ts
|
|
47
|
+
models/ApiEsportMatchesGet200ResponseResponseObjectItemsInnerLeague.ts
|
|
48
|
+
models/ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInner.ts
|
|
49
|
+
models/ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerTeam.ts
|
|
47
50
|
models/ApiEsportMatchesGet200ResponseResponseObjectItemsInnerResultsInner.ts
|
|
48
51
|
models/ApiEsportMatchesGet200ResponseResponseObjectItemsInnerResultsInnerPlayersInner.ts
|
|
49
52
|
models/ApiEsportMatchesGet200ResponseResponseObjectItemsInnerResultsInnerTeam.ts
|
|
53
|
+
models/ApiEsportMatchesGet200ResponseResponseObjectItemsInnerSerie.ts
|
|
50
54
|
models/ApiEsportMatchesGet200ResponseResponseObjectItemsInnerStreamsListInner.ts
|
|
55
|
+
models/ApiEsportMatchesGet200ResponseResponseObjectItemsInnerTournament.ts
|
|
51
56
|
models/ApiEsportMatchesGetFilterParameter.ts
|
|
52
57
|
models/ApiEsportMatchesIdGet200Response.ts
|
|
53
58
|
models/ApiEsportPlayersGet200Response.ts
|
package/deploy.log
CHANGED
|
@@ -167,6 +167,11 @@
|
|
|
167
167
|
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_esport_matches_get_200_response_responseObject_items_inner_results_inner_players_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_matches_get_200_response_responseObject_items_inner_results_inner_players_inner=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_esport_matches_get_200_response_responseObject_items_inner_results_inner_players_inner=NewModel,ModelA=NewModelA in CLI).
|
|
168
168
|
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_esport_matches_get_200_response_responseObject_items_inner_results_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_matches_get_200_response_responseObject_items_inner_results_inner=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_esport_matches_get_200_response_responseObject_items_inner_results_inner=NewModel,ModelA=NewModelA in CLI).
|
|
169
169
|
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_esport_matches_get_200_response_responseObject_items_inner_streams_list_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_matches_get_200_response_responseObject_items_inner_streams_list_inner=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_esport_matches_get_200_response_responseObject_items_inner_streams_list_inner=NewModel,ModelA=NewModelA in CLI).
|
|
170
|
+
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_esport_matches_get_200_response_responseObject_items_inner_Tournament. 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_items_inner_Tournament=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_esport_matches_get_200_response_responseObject_items_inner_Tournament=NewModel,ModelA=NewModelA in CLI).
|
|
171
|
+
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_esport_matches_get_200_response_responseObject_items_inner_League. 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_items_inner_League=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_esport_matches_get_200_response_responseObject_items_inner_League=NewModel,ModelA=NewModelA in CLI).
|
|
172
|
+
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_esport_matches_get_200_response_responseObject_items_inner_Serie. 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_items_inner_Serie=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_esport_matches_get_200_response_responseObject_items_inner_Serie=NewModel,ModelA=NewModelA in CLI).
|
|
173
|
+
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_esport_matches_get_200_response_responseObject_items_inner_Opponents_inner_Team. 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_items_inner_Opponents_inner_Team=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_esport_matches_get_200_response_responseObject_items_inner_Opponents_inner_Team=NewModel,ModelA=NewModelA in CLI).
|
|
174
|
+
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_esport_matches_get_200_response_responseObject_items_inner_Opponents_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_matches_get_200_response_responseObject_items_inner_Opponents_inner=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_esport_matches_get_200_response_responseObject_items_inner_Opponents_inner=NewModel,ModelA=NewModelA in CLI).
|
|
170
175
|
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_esport_matches_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_matches_get_200_response_responseObject_items_inner=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_esport_matches_get_200_response_responseObject_items_inner=NewModel,ModelA=NewModelA in CLI).
|
|
171
176
|
[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).
|
|
172
177
|
[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).
|
|
@@ -230,10 +235,15 @@
|
|
|
230
235
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiEsportMatchesGet200Response.ts
|
|
231
236
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiEsportMatchesGet200ResponseResponseObject.ts
|
|
232
237
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiEsportMatchesGet200ResponseResponseObjectItemsInner.ts
|
|
238
|
+
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiEsportMatchesGet200ResponseResponseObjectItemsInnerLeague.ts
|
|
239
|
+
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInner.ts
|
|
240
|
+
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerTeam.ts
|
|
233
241
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiEsportMatchesGet200ResponseResponseObjectItemsInnerResultsInner.ts
|
|
234
242
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiEsportMatchesGet200ResponseResponseObjectItemsInnerResultsInnerPlayersInner.ts
|
|
235
243
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiEsportMatchesGet200ResponseResponseObjectItemsInnerResultsInnerTeam.ts
|
|
244
|
+
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiEsportMatchesGet200ResponseResponseObjectItemsInnerSerie.ts
|
|
236
245
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiEsportMatchesGet200ResponseResponseObjectItemsInnerStreamsListInner.ts
|
|
246
|
+
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiEsportMatchesGet200ResponseResponseObjectItemsInnerTournament.ts
|
|
237
247
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiEsportMatchesGetFilterParameter.ts
|
|
238
248
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiEsportMatchesIdGet200Response.ts
|
|
239
249
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiEsportPlayersGet200Response.ts
|
|
@@ -494,21 +504,25 @@
|
|
|
494
504
|
# https://opencollective.com/openapi_generator/donate #
|
|
495
505
|
################################################################################
|
|
496
506
|
✅ SDK generated
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
507
|
+
[master 963f424] VPS: Generated API SDK
|
|
508
|
+
8 files changed, 756 insertions(+), 2 deletions(-)
|
|
509
|
+
create mode 100644 models/ApiEsportMatchesGet200ResponseResponseObjectItemsInnerLeague.ts
|
|
510
|
+
create mode 100644 models/ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInner.ts
|
|
511
|
+
create mode 100644 models/ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerTeam.ts
|
|
512
|
+
create mode 100644 models/ApiEsportMatchesGet200ResponseResponseObjectItemsInnerSerie.ts
|
|
513
|
+
create mode 100644 models/ApiEsportMatchesGet200ResponseResponseObjectItemsInnerTournament.ts
|
|
514
|
+
To https://gitlab.com/drx-super/drx-sdk.git
|
|
515
|
+
04e73a1..963f424 master -> master
|
|
502
516
|
✅ Changes committed and pushed
|
|
503
|
-
v1.1.
|
|
517
|
+
v1.1.239
|
|
504
518
|
To https://gitlab.com/drx-super/drx-sdk.git
|
|
505
|
-
|
|
519
|
+
963f424..c60e7e4 master -> master
|
|
506
520
|
✅ Version bumped
|
|
507
521
|
|
|
508
|
-
> @drxsuperapp/sdk@1.1.
|
|
522
|
+
> @drxsuperapp/sdk@1.1.239 prepublishOnly
|
|
509
523
|
> npm run build
|
|
510
524
|
|
|
511
525
|
|
|
512
|
-
> @drxsuperapp/sdk@1.1.
|
|
526
|
+
> @drxsuperapp/sdk@1.1.239 build
|
|
513
527
|
> tsc
|
|
514
528
|
|
|
@@ -11,7 +11,11 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { ApiEsportMatchesGet200ResponseResponseObjectItemsInnerStreamsListInner } from './ApiEsportMatchesGet200ResponseResponseObjectItemsInnerStreamsListInner';
|
|
13
13
|
import type { ApiEsportVideogamesGet200ResponseResponseObjectInner } from './ApiEsportVideogamesGet200ResponseResponseObjectInner';
|
|
14
|
+
import type { ApiEsportMatchesGet200ResponseResponseObjectItemsInnerSerie } from './ApiEsportMatchesGet200ResponseResponseObjectItemsInnerSerie';
|
|
15
|
+
import type { ApiEsportMatchesGet200ResponseResponseObjectItemsInnerLeague } from './ApiEsportMatchesGet200ResponseResponseObjectItemsInnerLeague';
|
|
16
|
+
import type { ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInner } from './ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInner';
|
|
14
17
|
import type { ApiEsportMatchesGet200ResponseResponseObjectItemsInnerResultsInner } from './ApiEsportMatchesGet200ResponseResponseObjectItemsInnerResultsInner';
|
|
18
|
+
import type { ApiEsportMatchesGet200ResponseResponseObjectItemsInnerTournament } from './ApiEsportMatchesGet200ResponseResponseObjectItemsInnerTournament';
|
|
15
19
|
/**
|
|
16
20
|
*
|
|
17
21
|
* @export
|
|
@@ -90,6 +94,30 @@ export interface ApiEsportMatchesGet200ResponseResponseObjectItemsInner {
|
|
|
90
94
|
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInner
|
|
91
95
|
*/
|
|
92
96
|
videogame: ApiEsportVideogamesGet200ResponseResponseObjectInner;
|
|
97
|
+
/**
|
|
98
|
+
*
|
|
99
|
+
* @type {ApiEsportMatchesGet200ResponseResponseObjectItemsInnerTournament}
|
|
100
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInner
|
|
101
|
+
*/
|
|
102
|
+
tournament: ApiEsportMatchesGet200ResponseResponseObjectItemsInnerTournament;
|
|
103
|
+
/**
|
|
104
|
+
*
|
|
105
|
+
* @type {ApiEsportMatchesGet200ResponseResponseObjectItemsInnerLeague}
|
|
106
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInner
|
|
107
|
+
*/
|
|
108
|
+
league: ApiEsportMatchesGet200ResponseResponseObjectItemsInnerLeague;
|
|
109
|
+
/**
|
|
110
|
+
*
|
|
111
|
+
* @type {ApiEsportMatchesGet200ResponseResponseObjectItemsInnerSerie}
|
|
112
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInner
|
|
113
|
+
*/
|
|
114
|
+
serie: ApiEsportMatchesGet200ResponseResponseObjectItemsInnerSerie;
|
|
115
|
+
/**
|
|
116
|
+
*
|
|
117
|
+
* @type {Array<ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInner>}
|
|
118
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInner
|
|
119
|
+
*/
|
|
120
|
+
opponents?: Array<ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInner>;
|
|
93
121
|
}
|
|
94
122
|
/**
|
|
95
123
|
* Check if a given object implements the ApiEsportMatchesGet200ResponseResponseObjectItemsInner interface.
|
|
@@ -13,7 +13,11 @@
|
|
|
13
13
|
*/
|
|
14
14
|
import { ApiEsportMatchesGet200ResponseResponseObjectItemsInnerStreamsListInnerFromJSON, ApiEsportMatchesGet200ResponseResponseObjectItemsInnerStreamsListInnerToJSON, } from './ApiEsportMatchesGet200ResponseResponseObjectItemsInnerStreamsListInner';
|
|
15
15
|
import { ApiEsportVideogamesGet200ResponseResponseObjectInnerFromJSON, ApiEsportVideogamesGet200ResponseResponseObjectInnerToJSON, } from './ApiEsportVideogamesGet200ResponseResponseObjectInner';
|
|
16
|
+
import { ApiEsportMatchesGet200ResponseResponseObjectItemsInnerSerieFromJSON, ApiEsportMatchesGet200ResponseResponseObjectItemsInnerSerieToJSON, } from './ApiEsportMatchesGet200ResponseResponseObjectItemsInnerSerie';
|
|
17
|
+
import { ApiEsportMatchesGet200ResponseResponseObjectItemsInnerLeagueFromJSON, ApiEsportMatchesGet200ResponseResponseObjectItemsInnerLeagueToJSON, } from './ApiEsportMatchesGet200ResponseResponseObjectItemsInnerLeague';
|
|
18
|
+
import { ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerFromJSON, ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerToJSON, } from './ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInner';
|
|
16
19
|
import { ApiEsportMatchesGet200ResponseResponseObjectItemsInnerResultsInnerFromJSON, ApiEsportMatchesGet200ResponseResponseObjectItemsInnerResultsInnerToJSON, } from './ApiEsportMatchesGet200ResponseResponseObjectItemsInnerResultsInner';
|
|
20
|
+
import { ApiEsportMatchesGet200ResponseResponseObjectItemsInnerTournamentFromJSON, ApiEsportMatchesGet200ResponseResponseObjectItemsInnerTournamentToJSON, } from './ApiEsportMatchesGet200ResponseResponseObjectItemsInnerTournament';
|
|
17
21
|
/**
|
|
18
22
|
* Check if a given object implements the ApiEsportMatchesGet200ResponseResponseObjectItemsInner interface.
|
|
19
23
|
*/
|
|
@@ -36,6 +40,12 @@ export function instanceOfApiEsportMatchesGet200ResponseResponseObjectItemsInner
|
|
|
36
40
|
return false;
|
|
37
41
|
if (!('videogame' in value) || value['videogame'] === undefined)
|
|
38
42
|
return false;
|
|
43
|
+
if (!('tournament' in value) || value['tournament'] === undefined)
|
|
44
|
+
return false;
|
|
45
|
+
if (!('league' in value) || value['league'] === undefined)
|
|
46
|
+
return false;
|
|
47
|
+
if (!('serie' in value) || value['serie'] === undefined)
|
|
48
|
+
return false;
|
|
39
49
|
return true;
|
|
40
50
|
}
|
|
41
51
|
export function ApiEsportMatchesGet200ResponseResponseObjectItemsInnerFromJSON(json) {
|
|
@@ -57,7 +67,11 @@ export function ApiEsportMatchesGet200ResponseResponseObjectItemsInnerFromJSONTy
|
|
|
57
67
|
'tournamentId': json['tournament_id'],
|
|
58
68
|
'leagueId': json['league_id'],
|
|
59
69
|
'serieId': json['serie_id'],
|
|
60
|
-
'videogame': ApiEsportVideogamesGet200ResponseResponseObjectInnerFromJSON(json['
|
|
70
|
+
'videogame': ApiEsportVideogamesGet200ResponseResponseObjectInnerFromJSON(json['Videogame']),
|
|
71
|
+
'tournament': ApiEsportMatchesGet200ResponseResponseObjectItemsInnerTournamentFromJSON(json['Tournament']),
|
|
72
|
+
'league': ApiEsportMatchesGet200ResponseResponseObjectItemsInnerLeagueFromJSON(json['League']),
|
|
73
|
+
'serie': ApiEsportMatchesGet200ResponseResponseObjectItemsInnerSerieFromJSON(json['Serie']),
|
|
74
|
+
'opponents': json['Opponents'] == null ? undefined : (json['Opponents'].map(ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerFromJSON)),
|
|
61
75
|
};
|
|
62
76
|
}
|
|
63
77
|
export function ApiEsportMatchesGet200ResponseResponseObjectItemsInnerToJSON(json) {
|
|
@@ -79,6 +93,10 @@ export function ApiEsportMatchesGet200ResponseResponseObjectItemsInnerToJSONType
|
|
|
79
93
|
'tournament_id': value['tournamentId'],
|
|
80
94
|
'league_id': value['leagueId'],
|
|
81
95
|
'serie_id': value['serieId'],
|
|
82
|
-
'
|
|
96
|
+
'Videogame': ApiEsportVideogamesGet200ResponseResponseObjectInnerToJSON(value['videogame']),
|
|
97
|
+
'Tournament': ApiEsportMatchesGet200ResponseResponseObjectItemsInnerTournamentToJSON(value['tournament']),
|
|
98
|
+
'League': ApiEsportMatchesGet200ResponseResponseObjectItemsInnerLeagueToJSON(value['league']),
|
|
99
|
+
'Serie': ApiEsportMatchesGet200ResponseResponseObjectItemsInnerSerieToJSON(value['serie']),
|
|
100
|
+
'Opponents': value['opponents'] == null ? undefined : (value['opponents'].map(ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerToJSON)),
|
|
83
101
|
};
|
|
84
102
|
}
|
|
@@ -0,0 +1,56 @@
|
|
|
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
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ApiEsportMatchesGet200ResponseResponseObjectItemsInnerLeague
|
|
16
|
+
*/
|
|
17
|
+
export interface ApiEsportMatchesGet200ResponseResponseObjectItemsInnerLeague {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInnerLeague
|
|
22
|
+
*/
|
|
23
|
+
id: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInnerLeague
|
|
28
|
+
*/
|
|
29
|
+
name: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInnerLeague
|
|
34
|
+
*/
|
|
35
|
+
slug: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInnerLeague
|
|
40
|
+
*/
|
|
41
|
+
imageUrl?: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInnerLeague
|
|
46
|
+
*/
|
|
47
|
+
videogameId: number;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Check if a given object implements the ApiEsportMatchesGet200ResponseResponseObjectItemsInnerLeague interface.
|
|
51
|
+
*/
|
|
52
|
+
export declare function instanceOfApiEsportMatchesGet200ResponseResponseObjectItemsInnerLeague(value: object): value is ApiEsportMatchesGet200ResponseResponseObjectItemsInnerLeague;
|
|
53
|
+
export declare function ApiEsportMatchesGet200ResponseResponseObjectItemsInnerLeagueFromJSON(json: any): ApiEsportMatchesGet200ResponseResponseObjectItemsInnerLeague;
|
|
54
|
+
export declare function ApiEsportMatchesGet200ResponseResponseObjectItemsInnerLeagueFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiEsportMatchesGet200ResponseResponseObjectItemsInnerLeague;
|
|
55
|
+
export declare function ApiEsportMatchesGet200ResponseResponseObjectItemsInnerLeagueToJSON(json: any): ApiEsportMatchesGet200ResponseResponseObjectItemsInnerLeague;
|
|
56
|
+
export declare function ApiEsportMatchesGet200ResponseResponseObjectItemsInnerLeagueToJSONTyped(value?: ApiEsportMatchesGet200ResponseResponseObjectItemsInnerLeague | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,57 @@
|
|
|
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
|
+
/**
|
|
15
|
+
* Check if a given object implements the ApiEsportMatchesGet200ResponseResponseObjectItemsInnerLeague interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfApiEsportMatchesGet200ResponseResponseObjectItemsInnerLeague(value) {
|
|
18
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('slug' in value) || value['slug'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
if (!('videogameId' in value) || value['videogameId'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
export function ApiEsportMatchesGet200ResponseResponseObjectItemsInnerLeagueFromJSON(json) {
|
|
29
|
+
return ApiEsportMatchesGet200ResponseResponseObjectItemsInnerLeagueFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
export function ApiEsportMatchesGet200ResponseResponseObjectItemsInnerLeagueFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'id': json['id'],
|
|
37
|
+
'name': json['name'],
|
|
38
|
+
'slug': json['slug'],
|
|
39
|
+
'imageUrl': json['image_url'] == null ? undefined : json['image_url'],
|
|
40
|
+
'videogameId': json['videogame_id'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
export function ApiEsportMatchesGet200ResponseResponseObjectItemsInnerLeagueToJSON(json) {
|
|
44
|
+
return ApiEsportMatchesGet200ResponseResponseObjectItemsInnerLeagueToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
export function ApiEsportMatchesGet200ResponseResponseObjectItemsInnerLeagueToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'id': value['id'],
|
|
52
|
+
'name': value['name'],
|
|
53
|
+
'slug': value['slug'],
|
|
54
|
+
'image_url': value['imageUrl'],
|
|
55
|
+
'videogame_id': value['videogameId'],
|
|
56
|
+
};
|
|
57
|
+
}
|
|
@@ -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 { ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerTeam } from './ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerTeam';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInner
|
|
17
|
+
*/
|
|
18
|
+
export interface ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInner {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInner
|
|
23
|
+
*/
|
|
24
|
+
id: number;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInner
|
|
29
|
+
*/
|
|
30
|
+
type?: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {number}
|
|
34
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInner
|
|
35
|
+
*/
|
|
36
|
+
matchId: number;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {number}
|
|
40
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInner
|
|
41
|
+
*/
|
|
42
|
+
teamId?: number;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerTeam}
|
|
46
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInner
|
|
47
|
+
*/
|
|
48
|
+
team: ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerTeam;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Check if a given object implements the ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInner interface.
|
|
52
|
+
*/
|
|
53
|
+
export declare function instanceOfApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInner(value: object): value is ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInner;
|
|
54
|
+
export declare function ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerFromJSON(json: any): ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInner;
|
|
55
|
+
export declare function ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInner;
|
|
56
|
+
export declare function ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerToJSON(json: any): ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInner;
|
|
57
|
+
export declare function ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerToJSONTyped(value?: ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInner | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,56 @@
|
|
|
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 { ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerTeamFromJSON, ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerTeamToJSON, } from './ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerTeam';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInner interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInner(value) {
|
|
19
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
if (!('matchId' in value) || value['matchId'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
if (!('team' in value) || value['team'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
export function ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerFromJSON(json) {
|
|
28
|
+
return ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
export function ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'id': json['id'],
|
|
36
|
+
'type': json['type'] == null ? undefined : json['type'],
|
|
37
|
+
'matchId': json['match_id'],
|
|
38
|
+
'teamId': json['team_id'] == null ? undefined : json['team_id'],
|
|
39
|
+
'team': ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerTeamFromJSON(json['Team']),
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
export function ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerToJSON(json) {
|
|
43
|
+
return ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerToJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
export function ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerToJSONTyped(value, ignoreDiscriminator = false) {
|
|
46
|
+
if (value == null) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'id': value['id'],
|
|
51
|
+
'type': value['type'],
|
|
52
|
+
'match_id': value['matchId'],
|
|
53
|
+
'team_id': value['teamId'],
|
|
54
|
+
'Team': ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerTeamToJSON(value['team']),
|
|
55
|
+
};
|
|
56
|
+
}
|
package/dist/models/ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerTeam.d.ts
ADDED
|
@@ -0,0 +1,75 @@
|
|
|
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 { ApiEsportMatchesGet200ResponseResponseObjectItemsInnerResultsInnerPlayersInner } from './ApiEsportMatchesGet200ResponseResponseObjectItemsInnerResultsInnerPlayersInner';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerTeam
|
|
17
|
+
*/
|
|
18
|
+
export interface ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerTeam {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerTeam
|
|
23
|
+
*/
|
|
24
|
+
id: number;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerTeam
|
|
29
|
+
*/
|
|
30
|
+
name: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerTeam
|
|
35
|
+
*/
|
|
36
|
+
location?: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerTeam
|
|
41
|
+
*/
|
|
42
|
+
slug: string;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerTeam
|
|
47
|
+
*/
|
|
48
|
+
acronym?: string;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerTeam
|
|
53
|
+
*/
|
|
54
|
+
imageUrl?: string;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {number}
|
|
58
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerTeam
|
|
59
|
+
*/
|
|
60
|
+
videogameId: number;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {Array<ApiEsportMatchesGet200ResponseResponseObjectItemsInnerResultsInnerPlayersInner>}
|
|
64
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerTeam
|
|
65
|
+
*/
|
|
66
|
+
players?: Array<ApiEsportMatchesGet200ResponseResponseObjectItemsInnerResultsInnerPlayersInner>;
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* Check if a given object implements the ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerTeam interface.
|
|
70
|
+
*/
|
|
71
|
+
export declare function instanceOfApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerTeam(value: object): value is ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerTeam;
|
|
72
|
+
export declare function ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerTeamFromJSON(json: any): ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerTeam;
|
|
73
|
+
export declare function ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerTeamFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerTeam;
|
|
74
|
+
export declare function ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerTeamToJSON(json: any): ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerTeam;
|
|
75
|
+
export declare function ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerTeamToJSONTyped(value?: ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerTeam | null, ignoreDiscriminator?: boolean): any;
|
package/dist/models/ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerTeam.js
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
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 { ApiEsportMatchesGet200ResponseResponseObjectItemsInnerResultsInnerPlayersInnerFromJSON, ApiEsportMatchesGet200ResponseResponseObjectItemsInnerResultsInnerPlayersInnerToJSON, } from './ApiEsportMatchesGet200ResponseResponseObjectItemsInnerResultsInnerPlayersInner';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerTeam interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerTeam(value) {
|
|
19
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
if (!('slug' in value) || value['slug'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
if (!('videogameId' in value) || value['videogameId'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
export function ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerTeamFromJSON(json) {
|
|
30
|
+
return ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerTeamFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
export function ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerTeamFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'id': json['id'],
|
|
38
|
+
'name': json['name'],
|
|
39
|
+
'location': json['location'] == null ? undefined : json['location'],
|
|
40
|
+
'slug': json['slug'],
|
|
41
|
+
'acronym': json['acronym'] == null ? undefined : json['acronym'],
|
|
42
|
+
'imageUrl': json['image_url'] == null ? undefined : json['image_url'],
|
|
43
|
+
'videogameId': json['videogame_id'],
|
|
44
|
+
'players': json['Players'] == null ? undefined : (json['Players'].map(ApiEsportMatchesGet200ResponseResponseObjectItemsInnerResultsInnerPlayersInnerFromJSON)),
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
export function ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerTeamToJSON(json) {
|
|
48
|
+
return ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerTeamToJSONTyped(json, false);
|
|
49
|
+
}
|
|
50
|
+
export function ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerTeamToJSONTyped(value, ignoreDiscriminator = false) {
|
|
51
|
+
if (value == null) {
|
|
52
|
+
return value;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
'id': value['id'],
|
|
56
|
+
'name': value['name'],
|
|
57
|
+
'location': value['location'],
|
|
58
|
+
'slug': value['slug'],
|
|
59
|
+
'acronym': value['acronym'],
|
|
60
|
+
'image_url': value['imageUrl'],
|
|
61
|
+
'videogame_id': value['videogameId'],
|
|
62
|
+
'Players': value['players'] == null ? undefined : (value['players'].map(ApiEsportMatchesGet200ResponseResponseObjectItemsInnerResultsInnerPlayersInnerToJSON)),
|
|
63
|
+
};
|
|
64
|
+
}
|
|
@@ -0,0 +1,92 @@
|
|
|
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
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ApiEsportMatchesGet200ResponseResponseObjectItemsInnerSerie
|
|
16
|
+
*/
|
|
17
|
+
export interface ApiEsportMatchesGet200ResponseResponseObjectItemsInnerSerie {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInnerSerie
|
|
22
|
+
*/
|
|
23
|
+
id: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInnerSerie
|
|
28
|
+
*/
|
|
29
|
+
name: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInnerSerie
|
|
34
|
+
*/
|
|
35
|
+
year?: number;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInnerSerie
|
|
40
|
+
*/
|
|
41
|
+
beginAt?: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInnerSerie
|
|
46
|
+
*/
|
|
47
|
+
endAt?: string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInnerSerie
|
|
52
|
+
*/
|
|
53
|
+
winnderType?: string;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInnerSerie
|
|
58
|
+
*/
|
|
59
|
+
slug: string;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInnerSerie
|
|
64
|
+
*/
|
|
65
|
+
fullName?: string;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {number}
|
|
69
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInnerSerie
|
|
70
|
+
*/
|
|
71
|
+
winnerId?: number;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @type {number}
|
|
75
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInnerSerie
|
|
76
|
+
*/
|
|
77
|
+
videogameId: number;
|
|
78
|
+
/**
|
|
79
|
+
*
|
|
80
|
+
* @type {number}
|
|
81
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInnerSerie
|
|
82
|
+
*/
|
|
83
|
+
leagueId?: number;
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* Check if a given object implements the ApiEsportMatchesGet200ResponseResponseObjectItemsInnerSerie interface.
|
|
87
|
+
*/
|
|
88
|
+
export declare function instanceOfApiEsportMatchesGet200ResponseResponseObjectItemsInnerSerie(value: object): value is ApiEsportMatchesGet200ResponseResponseObjectItemsInnerSerie;
|
|
89
|
+
export declare function ApiEsportMatchesGet200ResponseResponseObjectItemsInnerSerieFromJSON(json: any): ApiEsportMatchesGet200ResponseResponseObjectItemsInnerSerie;
|
|
90
|
+
export declare function ApiEsportMatchesGet200ResponseResponseObjectItemsInnerSerieFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiEsportMatchesGet200ResponseResponseObjectItemsInnerSerie;
|
|
91
|
+
export declare function ApiEsportMatchesGet200ResponseResponseObjectItemsInnerSerieToJSON(json: any): ApiEsportMatchesGet200ResponseResponseObjectItemsInnerSerie;
|
|
92
|
+
export declare function ApiEsportMatchesGet200ResponseResponseObjectItemsInnerSerieToJSONTyped(value?: ApiEsportMatchesGet200ResponseResponseObjectItemsInnerSerie | null, ignoreDiscriminator?: boolean): any;
|