@drxsuperapp/sdk 1.1.238 → 1.1.240
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 +7 -0
- package/deploy.log +24 -9
- package/dist/models/ApiEsportMatchesGet200ResponseResponseObjectItemsInner.d.ts +35 -0
- package/dist/models/ApiEsportMatchesGet200ResponseResponseObjectItemsInner.js +23 -2
- package/dist/models/ApiEsportMatchesGet200ResponseResponseObjectItemsInnerGamesInner.d.ts +105 -0
- package/dist/models/ApiEsportMatchesGet200ResponseResponseObjectItemsInnerGamesInner.js +80 -0
- package/dist/models/ApiEsportMatchesGet200ResponseResponseObjectItemsInnerGamesInnerWinner.d.ts +38 -0
- package/dist/models/ApiEsportMatchesGet200ResponseResponseObjectItemsInnerGamesInnerWinner.js +45 -0
- 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 +7 -0
- package/dist/models/index.js +7 -0
- package/models/ApiEsportMatchesGet200ResponseResponseObjectItemsInner.ts +80 -2
- package/models/ApiEsportMatchesGet200ResponseResponseObjectItemsInnerGamesInner.ts +176 -0
- package/models/ApiEsportMatchesGet200ResponseResponseObjectItemsInnerGamesInnerWinner.ts +74 -0
- 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 +7 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -44,10 +44,17 @@ models/ApiEsportLeaguesIdGet200Response.ts
|
|
|
44
44
|
models/ApiEsportMatchesGet200Response.ts
|
|
45
45
|
models/ApiEsportMatchesGet200ResponseResponseObject.ts
|
|
46
46
|
models/ApiEsportMatchesGet200ResponseResponseObjectItemsInner.ts
|
|
47
|
+
models/ApiEsportMatchesGet200ResponseResponseObjectItemsInnerGamesInner.ts
|
|
48
|
+
models/ApiEsportMatchesGet200ResponseResponseObjectItemsInnerGamesInnerWinner.ts
|
|
49
|
+
models/ApiEsportMatchesGet200ResponseResponseObjectItemsInnerLeague.ts
|
|
50
|
+
models/ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInner.ts
|
|
51
|
+
models/ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerTeam.ts
|
|
47
52
|
models/ApiEsportMatchesGet200ResponseResponseObjectItemsInnerResultsInner.ts
|
|
48
53
|
models/ApiEsportMatchesGet200ResponseResponseObjectItemsInnerResultsInnerPlayersInner.ts
|
|
49
54
|
models/ApiEsportMatchesGet200ResponseResponseObjectItemsInnerResultsInnerTeam.ts
|
|
55
|
+
models/ApiEsportMatchesGet200ResponseResponseObjectItemsInnerSerie.ts
|
|
50
56
|
models/ApiEsportMatchesGet200ResponseResponseObjectItemsInnerStreamsListInner.ts
|
|
57
|
+
models/ApiEsportMatchesGet200ResponseResponseObjectItemsInnerTournament.ts
|
|
51
58
|
models/ApiEsportMatchesGetFilterParameter.ts
|
|
52
59
|
models/ApiEsportMatchesIdGet200Response.ts
|
|
53
60
|
models/ApiEsportPlayersGet200Response.ts
|
package/deploy.log
CHANGED
|
@@ -167,6 +167,13 @@
|
|
|
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).
|
|
175
|
+
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_esport_matches_get_200_response_responseObject_items_inner_Games_inner_winner. 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_Games_inner_winner=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_esport_matches_get_200_response_responseObject_items_inner_Games_inner_winner=NewModel,ModelA=NewModelA in CLI).
|
|
176
|
+
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_esport_matches_get_200_response_responseObject_items_inner_Games_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_Games_inner=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_esport_matches_get_200_response_responseObject_items_inner_Games_inner=NewModel,ModelA=NewModelA in CLI).
|
|
170
177
|
[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
178
|
[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
179
|
[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 +237,17 @@
|
|
|
230
237
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiEsportMatchesGet200Response.ts
|
|
231
238
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiEsportMatchesGet200ResponseResponseObject.ts
|
|
232
239
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiEsportMatchesGet200ResponseResponseObjectItemsInner.ts
|
|
240
|
+
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiEsportMatchesGet200ResponseResponseObjectItemsInnerGamesInner.ts
|
|
241
|
+
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiEsportMatchesGet200ResponseResponseObjectItemsInnerGamesInnerWinner.ts
|
|
242
|
+
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiEsportMatchesGet200ResponseResponseObjectItemsInnerLeague.ts
|
|
243
|
+
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInner.ts
|
|
244
|
+
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerTeam.ts
|
|
233
245
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiEsportMatchesGet200ResponseResponseObjectItemsInnerResultsInner.ts
|
|
234
246
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiEsportMatchesGet200ResponseResponseObjectItemsInnerResultsInnerPlayersInner.ts
|
|
235
247
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiEsportMatchesGet200ResponseResponseObjectItemsInnerResultsInnerTeam.ts
|
|
248
|
+
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiEsportMatchesGet200ResponseResponseObjectItemsInnerSerie.ts
|
|
236
249
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiEsportMatchesGet200ResponseResponseObjectItemsInnerStreamsListInner.ts
|
|
250
|
+
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiEsportMatchesGet200ResponseResponseObjectItemsInnerTournament.ts
|
|
237
251
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiEsportMatchesGetFilterParameter.ts
|
|
238
252
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiEsportMatchesIdGet200Response.ts
|
|
239
253
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiEsportPlayersGet200Response.ts
|
|
@@ -494,21 +508,22 @@
|
|
|
494
508
|
# https://opencollective.com/openapi_generator/donate #
|
|
495
509
|
################################################################################
|
|
496
510
|
✅ SDK generated
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
511
|
+
[master 86f25ea] VPS: Generated API SDK
|
|
512
|
+
5 files changed, 269 insertions(+)
|
|
513
|
+
create mode 100644 models/ApiEsportMatchesGet200ResponseResponseObjectItemsInnerGamesInner.ts
|
|
514
|
+
create mode 100644 models/ApiEsportMatchesGet200ResponseResponseObjectItemsInnerGamesInnerWinner.ts
|
|
515
|
+
To https://gitlab.com/drx-super/drx-sdk.git
|
|
516
|
+
c60e7e4..86f25ea master -> master
|
|
502
517
|
✅ Changes committed and pushed
|
|
503
|
-
v1.1.
|
|
518
|
+
v1.1.240
|
|
504
519
|
To https://gitlab.com/drx-super/drx-sdk.git
|
|
505
|
-
|
|
520
|
+
86f25ea..48aac9e master -> master
|
|
506
521
|
✅ Version bumped
|
|
507
522
|
|
|
508
|
-
> @drxsuperapp/sdk@1.1.
|
|
523
|
+
> @drxsuperapp/sdk@1.1.240 prepublishOnly
|
|
509
524
|
> npm run build
|
|
510
525
|
|
|
511
526
|
|
|
512
|
-
> @drxsuperapp/sdk@1.1.
|
|
527
|
+
> @drxsuperapp/sdk@1.1.240 build
|
|
513
528
|
> tsc
|
|
514
529
|
|
|
@@ -11,7 +11,12 @@
|
|
|
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 { ApiEsportMatchesGet200ResponseResponseObjectItemsInnerGamesInner } from './ApiEsportMatchesGet200ResponseResponseObjectItemsInnerGamesInner';
|
|
17
|
+
import type { ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInner } from './ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInner';
|
|
14
18
|
import type { ApiEsportMatchesGet200ResponseResponseObjectItemsInnerResultsInner } from './ApiEsportMatchesGet200ResponseResponseObjectItemsInnerResultsInner';
|
|
19
|
+
import type { ApiEsportMatchesGet200ResponseResponseObjectItemsInnerTournament } from './ApiEsportMatchesGet200ResponseResponseObjectItemsInnerTournament';
|
|
15
20
|
/**
|
|
16
21
|
*
|
|
17
22
|
* @export
|
|
@@ -90,6 +95,36 @@ export interface ApiEsportMatchesGet200ResponseResponseObjectItemsInner {
|
|
|
90
95
|
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInner
|
|
91
96
|
*/
|
|
92
97
|
videogame: ApiEsportVideogamesGet200ResponseResponseObjectInner;
|
|
98
|
+
/**
|
|
99
|
+
*
|
|
100
|
+
* @type {ApiEsportMatchesGet200ResponseResponseObjectItemsInnerTournament}
|
|
101
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInner
|
|
102
|
+
*/
|
|
103
|
+
tournament: ApiEsportMatchesGet200ResponseResponseObjectItemsInnerTournament;
|
|
104
|
+
/**
|
|
105
|
+
*
|
|
106
|
+
* @type {ApiEsportMatchesGet200ResponseResponseObjectItemsInnerLeague}
|
|
107
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInner
|
|
108
|
+
*/
|
|
109
|
+
league: ApiEsportMatchesGet200ResponseResponseObjectItemsInnerLeague;
|
|
110
|
+
/**
|
|
111
|
+
*
|
|
112
|
+
* @type {ApiEsportMatchesGet200ResponseResponseObjectItemsInnerSerie}
|
|
113
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInner
|
|
114
|
+
*/
|
|
115
|
+
serie: ApiEsportMatchesGet200ResponseResponseObjectItemsInnerSerie;
|
|
116
|
+
/**
|
|
117
|
+
*
|
|
118
|
+
* @type {Array<ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInner>}
|
|
119
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInner
|
|
120
|
+
*/
|
|
121
|
+
opponents?: Array<ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInner>;
|
|
122
|
+
/**
|
|
123
|
+
*
|
|
124
|
+
* @type {Array<ApiEsportMatchesGet200ResponseResponseObjectItemsInnerGamesInner>}
|
|
125
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInner
|
|
126
|
+
*/
|
|
127
|
+
games?: Array<ApiEsportMatchesGet200ResponseResponseObjectItemsInnerGamesInner>;
|
|
93
128
|
}
|
|
94
129
|
/**
|
|
95
130
|
* Check if a given object implements the ApiEsportMatchesGet200ResponseResponseObjectItemsInner interface.
|
|
@@ -13,7 +13,12 @@
|
|
|
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 { ApiEsportMatchesGet200ResponseResponseObjectItemsInnerGamesInnerFromJSON, ApiEsportMatchesGet200ResponseResponseObjectItemsInnerGamesInnerToJSON, } from './ApiEsportMatchesGet200ResponseResponseObjectItemsInnerGamesInner';
|
|
19
|
+
import { ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerFromJSON, ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerToJSON, } from './ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInner';
|
|
16
20
|
import { ApiEsportMatchesGet200ResponseResponseObjectItemsInnerResultsInnerFromJSON, ApiEsportMatchesGet200ResponseResponseObjectItemsInnerResultsInnerToJSON, } from './ApiEsportMatchesGet200ResponseResponseObjectItemsInnerResultsInner';
|
|
21
|
+
import { ApiEsportMatchesGet200ResponseResponseObjectItemsInnerTournamentFromJSON, ApiEsportMatchesGet200ResponseResponseObjectItemsInnerTournamentToJSON, } from './ApiEsportMatchesGet200ResponseResponseObjectItemsInnerTournament';
|
|
17
22
|
/**
|
|
18
23
|
* Check if a given object implements the ApiEsportMatchesGet200ResponseResponseObjectItemsInner interface.
|
|
19
24
|
*/
|
|
@@ -36,6 +41,12 @@ export function instanceOfApiEsportMatchesGet200ResponseResponseObjectItemsInner
|
|
|
36
41
|
return false;
|
|
37
42
|
if (!('videogame' in value) || value['videogame'] === undefined)
|
|
38
43
|
return false;
|
|
44
|
+
if (!('tournament' in value) || value['tournament'] === undefined)
|
|
45
|
+
return false;
|
|
46
|
+
if (!('league' in value) || value['league'] === undefined)
|
|
47
|
+
return false;
|
|
48
|
+
if (!('serie' in value) || value['serie'] === undefined)
|
|
49
|
+
return false;
|
|
39
50
|
return true;
|
|
40
51
|
}
|
|
41
52
|
export function ApiEsportMatchesGet200ResponseResponseObjectItemsInnerFromJSON(json) {
|
|
@@ -57,7 +68,12 @@ export function ApiEsportMatchesGet200ResponseResponseObjectItemsInnerFromJSONTy
|
|
|
57
68
|
'tournamentId': json['tournament_id'],
|
|
58
69
|
'leagueId': json['league_id'],
|
|
59
70
|
'serieId': json['serie_id'],
|
|
60
|
-
'videogame': ApiEsportVideogamesGet200ResponseResponseObjectInnerFromJSON(json['
|
|
71
|
+
'videogame': ApiEsportVideogamesGet200ResponseResponseObjectInnerFromJSON(json['Videogame']),
|
|
72
|
+
'tournament': ApiEsportMatchesGet200ResponseResponseObjectItemsInnerTournamentFromJSON(json['Tournament']),
|
|
73
|
+
'league': ApiEsportMatchesGet200ResponseResponseObjectItemsInnerLeagueFromJSON(json['League']),
|
|
74
|
+
'serie': ApiEsportMatchesGet200ResponseResponseObjectItemsInnerSerieFromJSON(json['Serie']),
|
|
75
|
+
'opponents': json['Opponents'] == null ? undefined : (json['Opponents'].map(ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerFromJSON)),
|
|
76
|
+
'games': json['Games'] == null ? undefined : (json['Games'].map(ApiEsportMatchesGet200ResponseResponseObjectItemsInnerGamesInnerFromJSON)),
|
|
61
77
|
};
|
|
62
78
|
}
|
|
63
79
|
export function ApiEsportMatchesGet200ResponseResponseObjectItemsInnerToJSON(json) {
|
|
@@ -79,6 +95,11 @@ export function ApiEsportMatchesGet200ResponseResponseObjectItemsInnerToJSONType
|
|
|
79
95
|
'tournament_id': value['tournamentId'],
|
|
80
96
|
'league_id': value['leagueId'],
|
|
81
97
|
'serie_id': value['serieId'],
|
|
82
|
-
'
|
|
98
|
+
'Videogame': ApiEsportVideogamesGet200ResponseResponseObjectInnerToJSON(value['videogame']),
|
|
99
|
+
'Tournament': ApiEsportMatchesGet200ResponseResponseObjectItemsInnerTournamentToJSON(value['tournament']),
|
|
100
|
+
'League': ApiEsportMatchesGet200ResponseResponseObjectItemsInnerLeagueToJSON(value['league']),
|
|
101
|
+
'Serie': ApiEsportMatchesGet200ResponseResponseObjectItemsInnerSerieToJSON(value['serie']),
|
|
102
|
+
'Opponents': value['opponents'] == null ? undefined : (value['opponents'].map(ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerToJSON)),
|
|
103
|
+
'Games': value['games'] == null ? undefined : (value['games'].map(ApiEsportMatchesGet200ResponseResponseObjectItemsInnerGamesInnerToJSON)),
|
|
83
104
|
};
|
|
84
105
|
}
|
|
@@ -0,0 +1,105 @@
|
|
|
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 { ApiEsportMatchesGet200ResponseResponseObjectItemsInnerGamesInnerWinner } from './ApiEsportMatchesGet200ResponseResponseObjectItemsInnerGamesInnerWinner';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ApiEsportMatchesGet200ResponseResponseObjectItemsInnerGamesInner
|
|
17
|
+
*/
|
|
18
|
+
export interface ApiEsportMatchesGet200ResponseResponseObjectItemsInnerGamesInner {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInnerGamesInner
|
|
23
|
+
*/
|
|
24
|
+
id: number;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {boolean}
|
|
28
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInnerGamesInner
|
|
29
|
+
*/
|
|
30
|
+
complete: boolean;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {number}
|
|
34
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInnerGamesInner
|
|
35
|
+
*/
|
|
36
|
+
position?: number;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInnerGamesInner
|
|
41
|
+
*/
|
|
42
|
+
status?: string;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {number}
|
|
46
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInnerGamesInner
|
|
47
|
+
*/
|
|
48
|
+
length?: number;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {boolean}
|
|
52
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInnerGamesInner
|
|
53
|
+
*/
|
|
54
|
+
finished: boolean;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInnerGamesInner
|
|
59
|
+
*/
|
|
60
|
+
beginAt?: string;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {boolean}
|
|
64
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInnerGamesInner
|
|
65
|
+
*/
|
|
66
|
+
detailedStats: boolean;
|
|
67
|
+
/**
|
|
68
|
+
*
|
|
69
|
+
* @type {string}
|
|
70
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInnerGamesInner
|
|
71
|
+
*/
|
|
72
|
+
endAt?: string;
|
|
73
|
+
/**
|
|
74
|
+
*
|
|
75
|
+
* @type {boolean}
|
|
76
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInnerGamesInner
|
|
77
|
+
*/
|
|
78
|
+
forfeit: boolean;
|
|
79
|
+
/**
|
|
80
|
+
*
|
|
81
|
+
* @type {string}
|
|
82
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInnerGamesInner
|
|
83
|
+
*/
|
|
84
|
+
winnerType?: string;
|
|
85
|
+
/**
|
|
86
|
+
*
|
|
87
|
+
* @type {ApiEsportMatchesGet200ResponseResponseObjectItemsInnerGamesInnerWinner}
|
|
88
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInnerGamesInner
|
|
89
|
+
*/
|
|
90
|
+
winner: ApiEsportMatchesGet200ResponseResponseObjectItemsInnerGamesInnerWinner;
|
|
91
|
+
/**
|
|
92
|
+
*
|
|
93
|
+
* @type {number}
|
|
94
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInnerGamesInner
|
|
95
|
+
*/
|
|
96
|
+
matchId: number;
|
|
97
|
+
}
|
|
98
|
+
/**
|
|
99
|
+
* Check if a given object implements the ApiEsportMatchesGet200ResponseResponseObjectItemsInnerGamesInner interface.
|
|
100
|
+
*/
|
|
101
|
+
export declare function instanceOfApiEsportMatchesGet200ResponseResponseObjectItemsInnerGamesInner(value: object): value is ApiEsportMatchesGet200ResponseResponseObjectItemsInnerGamesInner;
|
|
102
|
+
export declare function ApiEsportMatchesGet200ResponseResponseObjectItemsInnerGamesInnerFromJSON(json: any): ApiEsportMatchesGet200ResponseResponseObjectItemsInnerGamesInner;
|
|
103
|
+
export declare function ApiEsportMatchesGet200ResponseResponseObjectItemsInnerGamesInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiEsportMatchesGet200ResponseResponseObjectItemsInnerGamesInner;
|
|
104
|
+
export declare function ApiEsportMatchesGet200ResponseResponseObjectItemsInnerGamesInnerToJSON(json: any): ApiEsportMatchesGet200ResponseResponseObjectItemsInnerGamesInner;
|
|
105
|
+
export declare function ApiEsportMatchesGet200ResponseResponseObjectItemsInnerGamesInnerToJSONTyped(value?: ApiEsportMatchesGet200ResponseResponseObjectItemsInnerGamesInner | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,80 @@
|
|
|
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 { ApiEsportMatchesGet200ResponseResponseObjectItemsInnerGamesInnerWinnerFromJSON, ApiEsportMatchesGet200ResponseResponseObjectItemsInnerGamesInnerWinnerToJSON, } from './ApiEsportMatchesGet200ResponseResponseObjectItemsInnerGamesInnerWinner';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the ApiEsportMatchesGet200ResponseResponseObjectItemsInnerGamesInner interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfApiEsportMatchesGet200ResponseResponseObjectItemsInnerGamesInner(value) {
|
|
19
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
if (!('complete' in value) || value['complete'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
if (!('finished' in value) || value['finished'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
if (!('detailedStats' in value) || value['detailedStats'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('forfeit' in value) || value['forfeit'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('winner' in value) || value['winner'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('matchId' in value) || value['matchId'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
return true;
|
|
34
|
+
}
|
|
35
|
+
export function ApiEsportMatchesGet200ResponseResponseObjectItemsInnerGamesInnerFromJSON(json) {
|
|
36
|
+
return ApiEsportMatchesGet200ResponseResponseObjectItemsInnerGamesInnerFromJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
export function ApiEsportMatchesGet200ResponseResponseObjectItemsInnerGamesInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
+
if (json == null) {
|
|
40
|
+
return json;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'id': json['id'],
|
|
44
|
+
'complete': json['complete'],
|
|
45
|
+
'position': json['position'] == null ? undefined : json['position'],
|
|
46
|
+
'status': json['status'] == null ? undefined : json['status'],
|
|
47
|
+
'length': json['length'] == null ? undefined : json['length'],
|
|
48
|
+
'finished': json['finished'],
|
|
49
|
+
'beginAt': json['begin_at'] == null ? undefined : json['begin_at'],
|
|
50
|
+
'detailedStats': json['detailed_stats'],
|
|
51
|
+
'endAt': json['end_at'] == null ? undefined : json['end_at'],
|
|
52
|
+
'forfeit': json['forfeit'],
|
|
53
|
+
'winnerType': json['winner_type'] == null ? undefined : json['winner_type'],
|
|
54
|
+
'winner': ApiEsportMatchesGet200ResponseResponseObjectItemsInnerGamesInnerWinnerFromJSON(json['winner']),
|
|
55
|
+
'matchId': json['match_id'],
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
export function ApiEsportMatchesGet200ResponseResponseObjectItemsInnerGamesInnerToJSON(json) {
|
|
59
|
+
return ApiEsportMatchesGet200ResponseResponseObjectItemsInnerGamesInnerToJSONTyped(json, false);
|
|
60
|
+
}
|
|
61
|
+
export function ApiEsportMatchesGet200ResponseResponseObjectItemsInnerGamesInnerToJSONTyped(value, ignoreDiscriminator = false) {
|
|
62
|
+
if (value == null) {
|
|
63
|
+
return value;
|
|
64
|
+
}
|
|
65
|
+
return {
|
|
66
|
+
'id': value['id'],
|
|
67
|
+
'complete': value['complete'],
|
|
68
|
+
'position': value['position'],
|
|
69
|
+
'status': value['status'],
|
|
70
|
+
'length': value['length'],
|
|
71
|
+
'finished': value['finished'],
|
|
72
|
+
'begin_at': value['beginAt'],
|
|
73
|
+
'detailed_stats': value['detailedStats'],
|
|
74
|
+
'end_at': value['endAt'],
|
|
75
|
+
'forfeit': value['forfeit'],
|
|
76
|
+
'winner_type': value['winnerType'],
|
|
77
|
+
'winner': ApiEsportMatchesGet200ResponseResponseObjectItemsInnerGamesInnerWinnerToJSON(value['winner']),
|
|
78
|
+
'match_id': value['matchId'],
|
|
79
|
+
};
|
|
80
|
+
}
|
package/dist/models/ApiEsportMatchesGet200ResponseResponseObjectItemsInnerGamesInnerWinner.d.ts
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
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 ApiEsportMatchesGet200ResponseResponseObjectItemsInnerGamesInnerWinner
|
|
16
|
+
*/
|
|
17
|
+
export interface ApiEsportMatchesGet200ResponseResponseObjectItemsInnerGamesInnerWinner {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInnerGamesInnerWinner
|
|
22
|
+
*/
|
|
23
|
+
id: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInnerGamesInnerWinner
|
|
28
|
+
*/
|
|
29
|
+
type?: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the ApiEsportMatchesGet200ResponseResponseObjectItemsInnerGamesInnerWinner interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfApiEsportMatchesGet200ResponseResponseObjectItemsInnerGamesInnerWinner(value: object): value is ApiEsportMatchesGet200ResponseResponseObjectItemsInnerGamesInnerWinner;
|
|
35
|
+
export declare function ApiEsportMatchesGet200ResponseResponseObjectItemsInnerGamesInnerWinnerFromJSON(json: any): ApiEsportMatchesGet200ResponseResponseObjectItemsInnerGamesInnerWinner;
|
|
36
|
+
export declare function ApiEsportMatchesGet200ResponseResponseObjectItemsInnerGamesInnerWinnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiEsportMatchesGet200ResponseResponseObjectItemsInnerGamesInnerWinner;
|
|
37
|
+
export declare function ApiEsportMatchesGet200ResponseResponseObjectItemsInnerGamesInnerWinnerToJSON(json: any): ApiEsportMatchesGet200ResponseResponseObjectItemsInnerGamesInnerWinner;
|
|
38
|
+
export declare function ApiEsportMatchesGet200ResponseResponseObjectItemsInnerGamesInnerWinnerToJSONTyped(value?: ApiEsportMatchesGet200ResponseResponseObjectItemsInnerGamesInnerWinner | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,45 @@
|
|
|
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 ApiEsportMatchesGet200ResponseResponseObjectItemsInnerGamesInnerWinner interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfApiEsportMatchesGet200ResponseResponseObjectItemsInnerGamesInnerWinner(value) {
|
|
18
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
return true;
|
|
21
|
+
}
|
|
22
|
+
export function ApiEsportMatchesGet200ResponseResponseObjectItemsInnerGamesInnerWinnerFromJSON(json) {
|
|
23
|
+
return ApiEsportMatchesGet200ResponseResponseObjectItemsInnerGamesInnerWinnerFromJSONTyped(json, false);
|
|
24
|
+
}
|
|
25
|
+
export function ApiEsportMatchesGet200ResponseResponseObjectItemsInnerGamesInnerWinnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
+
if (json == null) {
|
|
27
|
+
return json;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'id': json['id'],
|
|
31
|
+
'type': json['type'] == null ? undefined : json['type'],
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
export function ApiEsportMatchesGet200ResponseResponseObjectItemsInnerGamesInnerWinnerToJSON(json) {
|
|
35
|
+
return ApiEsportMatchesGet200ResponseResponseObjectItemsInnerGamesInnerWinnerToJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
export function ApiEsportMatchesGet200ResponseResponseObjectItemsInnerGamesInnerWinnerToJSONTyped(value, ignoreDiscriminator = false) {
|
|
38
|
+
if (value == null) {
|
|
39
|
+
return value;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'id': value['id'],
|
|
43
|
+
'type': value['type'],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
@@ -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;
|