@drxsuperapp/sdk 1.1.238 → 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
|
@@ -0,0 +1,69 @@
|
|
|
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 ApiEsportMatchesGet200ResponseResponseObjectItemsInnerSerie interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfApiEsportMatchesGet200ResponseResponseObjectItemsInnerSerie(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 ApiEsportMatchesGet200ResponseResponseObjectItemsInnerSerieFromJSON(json) {
|
|
29
|
+
return ApiEsportMatchesGet200ResponseResponseObjectItemsInnerSerieFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
export function ApiEsportMatchesGet200ResponseResponseObjectItemsInnerSerieFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'id': json['id'],
|
|
37
|
+
'name': json['name'],
|
|
38
|
+
'year': json['year'] == null ? undefined : json['year'],
|
|
39
|
+
'beginAt': json['begin_at'] == null ? undefined : json['begin_at'],
|
|
40
|
+
'endAt': json['end_at'] == null ? undefined : json['end_at'],
|
|
41
|
+
'winnderType': json['winnder_type'] == null ? undefined : json['winnder_type'],
|
|
42
|
+
'slug': json['slug'],
|
|
43
|
+
'fullName': json['full_name'] == null ? undefined : json['full_name'],
|
|
44
|
+
'winnerId': json['winner_id'] == null ? undefined : json['winner_id'],
|
|
45
|
+
'videogameId': json['videogame_id'],
|
|
46
|
+
'leagueId': json['league_id'] == null ? undefined : json['league_id'],
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
export function ApiEsportMatchesGet200ResponseResponseObjectItemsInnerSerieToJSON(json) {
|
|
50
|
+
return ApiEsportMatchesGet200ResponseResponseObjectItemsInnerSerieToJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
export function ApiEsportMatchesGet200ResponseResponseObjectItemsInnerSerieToJSONTyped(value, ignoreDiscriminator = false) {
|
|
53
|
+
if (value == null) {
|
|
54
|
+
return value;
|
|
55
|
+
}
|
|
56
|
+
return {
|
|
57
|
+
'id': value['id'],
|
|
58
|
+
'name': value['name'],
|
|
59
|
+
'year': value['year'],
|
|
60
|
+
'begin_at': value['beginAt'],
|
|
61
|
+
'end_at': value['endAt'],
|
|
62
|
+
'winnder_type': value['winnderType'],
|
|
63
|
+
'slug': value['slug'],
|
|
64
|
+
'full_name': value['fullName'],
|
|
65
|
+
'winner_id': value['winnerId'],
|
|
66
|
+
'videogame_id': value['videogameId'],
|
|
67
|
+
'league_id': value['leagueId'],
|
|
68
|
+
};
|
|
69
|
+
}
|
|
@@ -0,0 +1,122 @@
|
|
|
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 ApiEsportMatchesGet200ResponseResponseObjectItemsInnerTournament
|
|
16
|
+
*/
|
|
17
|
+
export interface ApiEsportMatchesGet200ResponseResponseObjectItemsInnerTournament {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInnerTournament
|
|
22
|
+
*/
|
|
23
|
+
id: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInnerTournament
|
|
28
|
+
*/
|
|
29
|
+
name: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInnerTournament
|
|
34
|
+
*/
|
|
35
|
+
type?: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInnerTournament
|
|
40
|
+
*/
|
|
41
|
+
country?: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInnerTournament
|
|
46
|
+
*/
|
|
47
|
+
beginAt?: string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {boolean}
|
|
51
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInnerTournament
|
|
52
|
+
*/
|
|
53
|
+
detailedStats: boolean;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInnerTournament
|
|
58
|
+
*/
|
|
59
|
+
endAt?: string;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {number}
|
|
63
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInnerTournament
|
|
64
|
+
*/
|
|
65
|
+
winnerId?: number;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInnerTournament
|
|
70
|
+
*/
|
|
71
|
+
winnerType?: string;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInnerTournament
|
|
76
|
+
*/
|
|
77
|
+
slug: string;
|
|
78
|
+
/**
|
|
79
|
+
*
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInnerTournament
|
|
82
|
+
*/
|
|
83
|
+
prizepool?: string;
|
|
84
|
+
/**
|
|
85
|
+
*
|
|
86
|
+
* @type {string}
|
|
87
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInnerTournament
|
|
88
|
+
*/
|
|
89
|
+
tier?: string;
|
|
90
|
+
/**
|
|
91
|
+
*
|
|
92
|
+
* @type {string}
|
|
93
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInnerTournament
|
|
94
|
+
*/
|
|
95
|
+
region?: string;
|
|
96
|
+
/**
|
|
97
|
+
*
|
|
98
|
+
* @type {number}
|
|
99
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInnerTournament
|
|
100
|
+
*/
|
|
101
|
+
videogameId: number;
|
|
102
|
+
/**
|
|
103
|
+
*
|
|
104
|
+
* @type {number}
|
|
105
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInnerTournament
|
|
106
|
+
*/
|
|
107
|
+
serieId?: number;
|
|
108
|
+
/**
|
|
109
|
+
*
|
|
110
|
+
* @type {number}
|
|
111
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInnerTournament
|
|
112
|
+
*/
|
|
113
|
+
leagueId?: number;
|
|
114
|
+
}
|
|
115
|
+
/**
|
|
116
|
+
* Check if a given object implements the ApiEsportMatchesGet200ResponseResponseObjectItemsInnerTournament interface.
|
|
117
|
+
*/
|
|
118
|
+
export declare function instanceOfApiEsportMatchesGet200ResponseResponseObjectItemsInnerTournament(value: object): value is ApiEsportMatchesGet200ResponseResponseObjectItemsInnerTournament;
|
|
119
|
+
export declare function ApiEsportMatchesGet200ResponseResponseObjectItemsInnerTournamentFromJSON(json: any): ApiEsportMatchesGet200ResponseResponseObjectItemsInnerTournament;
|
|
120
|
+
export declare function ApiEsportMatchesGet200ResponseResponseObjectItemsInnerTournamentFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiEsportMatchesGet200ResponseResponseObjectItemsInnerTournament;
|
|
121
|
+
export declare function ApiEsportMatchesGet200ResponseResponseObjectItemsInnerTournamentToJSON(json: any): ApiEsportMatchesGet200ResponseResponseObjectItemsInnerTournament;
|
|
122
|
+
export declare function ApiEsportMatchesGet200ResponseResponseObjectItemsInnerTournamentToJSONTyped(value?: ApiEsportMatchesGet200ResponseResponseObjectItemsInnerTournament | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,81 @@
|
|
|
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 ApiEsportMatchesGet200ResponseResponseObjectItemsInnerTournament interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfApiEsportMatchesGet200ResponseResponseObjectItemsInnerTournament(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 (!('detailedStats' in value) || value['detailedStats'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
if (!('slug' in value) || value['slug'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
if (!('videogameId' in value) || value['videogameId'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
export function ApiEsportMatchesGet200ResponseResponseObjectItemsInnerTournamentFromJSON(json) {
|
|
31
|
+
return ApiEsportMatchesGet200ResponseResponseObjectItemsInnerTournamentFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
export function ApiEsportMatchesGet200ResponseResponseObjectItemsInnerTournamentFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if (json == null) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'id': json['id'],
|
|
39
|
+
'name': json['name'],
|
|
40
|
+
'type': json['type'] == null ? undefined : json['type'],
|
|
41
|
+
'country': json['country'] == null ? undefined : json['country'],
|
|
42
|
+
'beginAt': json['begin_at'] == null ? undefined : json['begin_at'],
|
|
43
|
+
'detailedStats': json['detailed_stats'],
|
|
44
|
+
'endAt': json['end_at'] == null ? undefined : json['end_at'],
|
|
45
|
+
'winnerId': json['winner_id'] == null ? undefined : json['winner_id'],
|
|
46
|
+
'winnerType': json['winner_type'] == null ? undefined : json['winner_type'],
|
|
47
|
+
'slug': json['slug'],
|
|
48
|
+
'prizepool': json['prizepool'] == null ? undefined : json['prizepool'],
|
|
49
|
+
'tier': json['tier'] == null ? undefined : json['tier'],
|
|
50
|
+
'region': json['region'] == null ? undefined : json['region'],
|
|
51
|
+
'videogameId': json['videogame_id'],
|
|
52
|
+
'serieId': json['serie_id'] == null ? undefined : json['serie_id'],
|
|
53
|
+
'leagueId': json['league_id'] == null ? undefined : json['league_id'],
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
export function ApiEsportMatchesGet200ResponseResponseObjectItemsInnerTournamentToJSON(json) {
|
|
57
|
+
return ApiEsportMatchesGet200ResponseResponseObjectItemsInnerTournamentToJSONTyped(json, false);
|
|
58
|
+
}
|
|
59
|
+
export function ApiEsportMatchesGet200ResponseResponseObjectItemsInnerTournamentToJSONTyped(value, ignoreDiscriminator = false) {
|
|
60
|
+
if (value == null) {
|
|
61
|
+
return value;
|
|
62
|
+
}
|
|
63
|
+
return {
|
|
64
|
+
'id': value['id'],
|
|
65
|
+
'name': value['name'],
|
|
66
|
+
'type': value['type'],
|
|
67
|
+
'country': value['country'],
|
|
68
|
+
'begin_at': value['beginAt'],
|
|
69
|
+
'detailed_stats': value['detailedStats'],
|
|
70
|
+
'end_at': value['endAt'],
|
|
71
|
+
'winner_id': value['winnerId'],
|
|
72
|
+
'winner_type': value['winnerType'],
|
|
73
|
+
'slug': value['slug'],
|
|
74
|
+
'prizepool': value['prizepool'],
|
|
75
|
+
'tier': value['tier'],
|
|
76
|
+
'region': value['region'],
|
|
77
|
+
'videogame_id': value['videogameId'],
|
|
78
|
+
'serie_id': value['serieId'],
|
|
79
|
+
'league_id': value['leagueId'],
|
|
80
|
+
};
|
|
81
|
+
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -30,10 +30,15 @@ export * from './ApiEsportLeaguesIdGet200Response';
|
|
|
30
30
|
export * from './ApiEsportMatchesGet200Response';
|
|
31
31
|
export * from './ApiEsportMatchesGet200ResponseResponseObject';
|
|
32
32
|
export * from './ApiEsportMatchesGet200ResponseResponseObjectItemsInner';
|
|
33
|
+
export * from './ApiEsportMatchesGet200ResponseResponseObjectItemsInnerLeague';
|
|
34
|
+
export * from './ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInner';
|
|
35
|
+
export * from './ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerTeam';
|
|
33
36
|
export * from './ApiEsportMatchesGet200ResponseResponseObjectItemsInnerResultsInner';
|
|
34
37
|
export * from './ApiEsportMatchesGet200ResponseResponseObjectItemsInnerResultsInnerPlayersInner';
|
|
35
38
|
export * from './ApiEsportMatchesGet200ResponseResponseObjectItemsInnerResultsInnerTeam';
|
|
39
|
+
export * from './ApiEsportMatchesGet200ResponseResponseObjectItemsInnerSerie';
|
|
36
40
|
export * from './ApiEsportMatchesGet200ResponseResponseObjectItemsInnerStreamsListInner';
|
|
41
|
+
export * from './ApiEsportMatchesGet200ResponseResponseObjectItemsInnerTournament';
|
|
37
42
|
export * from './ApiEsportMatchesGetFilterParameter';
|
|
38
43
|
export * from './ApiEsportMatchesIdGet200Response';
|
|
39
44
|
export * from './ApiEsportPlayersGet200Response';
|
package/dist/models/index.js
CHANGED
|
@@ -32,10 +32,15 @@ export * from './ApiEsportLeaguesIdGet200Response';
|
|
|
32
32
|
export * from './ApiEsportMatchesGet200Response';
|
|
33
33
|
export * from './ApiEsportMatchesGet200ResponseResponseObject';
|
|
34
34
|
export * from './ApiEsportMatchesGet200ResponseResponseObjectItemsInner';
|
|
35
|
+
export * from './ApiEsportMatchesGet200ResponseResponseObjectItemsInnerLeague';
|
|
36
|
+
export * from './ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInner';
|
|
37
|
+
export * from './ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerTeam';
|
|
35
38
|
export * from './ApiEsportMatchesGet200ResponseResponseObjectItemsInnerResultsInner';
|
|
36
39
|
export * from './ApiEsportMatchesGet200ResponseResponseObjectItemsInnerResultsInnerPlayersInner';
|
|
37
40
|
export * from './ApiEsportMatchesGet200ResponseResponseObjectItemsInnerResultsInnerTeam';
|
|
41
|
+
export * from './ApiEsportMatchesGet200ResponseResponseObjectItemsInnerSerie';
|
|
38
42
|
export * from './ApiEsportMatchesGet200ResponseResponseObjectItemsInnerStreamsListInner';
|
|
43
|
+
export * from './ApiEsportMatchesGet200ResponseResponseObjectItemsInnerTournament';
|
|
39
44
|
export * from './ApiEsportMatchesGetFilterParameter';
|
|
40
45
|
export * from './ApiEsportMatchesIdGet200Response';
|
|
41
46
|
export * from './ApiEsportPlayersGet200Response';
|
|
@@ -27,6 +27,27 @@ import {
|
|
|
27
27
|
ApiEsportVideogamesGet200ResponseResponseObjectInnerToJSON,
|
|
28
28
|
ApiEsportVideogamesGet200ResponseResponseObjectInnerToJSONTyped,
|
|
29
29
|
} from './ApiEsportVideogamesGet200ResponseResponseObjectInner';
|
|
30
|
+
import type { ApiEsportMatchesGet200ResponseResponseObjectItemsInnerSerie } from './ApiEsportMatchesGet200ResponseResponseObjectItemsInnerSerie';
|
|
31
|
+
import {
|
|
32
|
+
ApiEsportMatchesGet200ResponseResponseObjectItemsInnerSerieFromJSON,
|
|
33
|
+
ApiEsportMatchesGet200ResponseResponseObjectItemsInnerSerieFromJSONTyped,
|
|
34
|
+
ApiEsportMatchesGet200ResponseResponseObjectItemsInnerSerieToJSON,
|
|
35
|
+
ApiEsportMatchesGet200ResponseResponseObjectItemsInnerSerieToJSONTyped,
|
|
36
|
+
} from './ApiEsportMatchesGet200ResponseResponseObjectItemsInnerSerie';
|
|
37
|
+
import type { ApiEsportMatchesGet200ResponseResponseObjectItemsInnerLeague } from './ApiEsportMatchesGet200ResponseResponseObjectItemsInnerLeague';
|
|
38
|
+
import {
|
|
39
|
+
ApiEsportMatchesGet200ResponseResponseObjectItemsInnerLeagueFromJSON,
|
|
40
|
+
ApiEsportMatchesGet200ResponseResponseObjectItemsInnerLeagueFromJSONTyped,
|
|
41
|
+
ApiEsportMatchesGet200ResponseResponseObjectItemsInnerLeagueToJSON,
|
|
42
|
+
ApiEsportMatchesGet200ResponseResponseObjectItemsInnerLeagueToJSONTyped,
|
|
43
|
+
} from './ApiEsportMatchesGet200ResponseResponseObjectItemsInnerLeague';
|
|
44
|
+
import type { ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInner } from './ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInner';
|
|
45
|
+
import {
|
|
46
|
+
ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerFromJSON,
|
|
47
|
+
ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerFromJSONTyped,
|
|
48
|
+
ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerToJSON,
|
|
49
|
+
ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerToJSONTyped,
|
|
50
|
+
} from './ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInner';
|
|
30
51
|
import type { ApiEsportMatchesGet200ResponseResponseObjectItemsInnerResultsInner } from './ApiEsportMatchesGet200ResponseResponseObjectItemsInnerResultsInner';
|
|
31
52
|
import {
|
|
32
53
|
ApiEsportMatchesGet200ResponseResponseObjectItemsInnerResultsInnerFromJSON,
|
|
@@ -34,6 +55,13 @@ import {
|
|
|
34
55
|
ApiEsportMatchesGet200ResponseResponseObjectItemsInnerResultsInnerToJSON,
|
|
35
56
|
ApiEsportMatchesGet200ResponseResponseObjectItemsInnerResultsInnerToJSONTyped,
|
|
36
57
|
} from './ApiEsportMatchesGet200ResponseResponseObjectItemsInnerResultsInner';
|
|
58
|
+
import type { ApiEsportMatchesGet200ResponseResponseObjectItemsInnerTournament } from './ApiEsportMatchesGet200ResponseResponseObjectItemsInnerTournament';
|
|
59
|
+
import {
|
|
60
|
+
ApiEsportMatchesGet200ResponseResponseObjectItemsInnerTournamentFromJSON,
|
|
61
|
+
ApiEsportMatchesGet200ResponseResponseObjectItemsInnerTournamentFromJSONTyped,
|
|
62
|
+
ApiEsportMatchesGet200ResponseResponseObjectItemsInnerTournamentToJSON,
|
|
63
|
+
ApiEsportMatchesGet200ResponseResponseObjectItemsInnerTournamentToJSONTyped,
|
|
64
|
+
} from './ApiEsportMatchesGet200ResponseResponseObjectItemsInnerTournament';
|
|
37
65
|
|
|
38
66
|
/**
|
|
39
67
|
*
|
|
@@ -113,6 +141,30 @@ export interface ApiEsportMatchesGet200ResponseResponseObjectItemsInner {
|
|
|
113
141
|
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInner
|
|
114
142
|
*/
|
|
115
143
|
videogame: ApiEsportVideogamesGet200ResponseResponseObjectInner;
|
|
144
|
+
/**
|
|
145
|
+
*
|
|
146
|
+
* @type {ApiEsportMatchesGet200ResponseResponseObjectItemsInnerTournament}
|
|
147
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInner
|
|
148
|
+
*/
|
|
149
|
+
tournament: ApiEsportMatchesGet200ResponseResponseObjectItemsInnerTournament;
|
|
150
|
+
/**
|
|
151
|
+
*
|
|
152
|
+
* @type {ApiEsportMatchesGet200ResponseResponseObjectItemsInnerLeague}
|
|
153
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInner
|
|
154
|
+
*/
|
|
155
|
+
league: ApiEsportMatchesGet200ResponseResponseObjectItemsInnerLeague;
|
|
156
|
+
/**
|
|
157
|
+
*
|
|
158
|
+
* @type {ApiEsportMatchesGet200ResponseResponseObjectItemsInnerSerie}
|
|
159
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInner
|
|
160
|
+
*/
|
|
161
|
+
serie: ApiEsportMatchesGet200ResponseResponseObjectItemsInnerSerie;
|
|
162
|
+
/**
|
|
163
|
+
*
|
|
164
|
+
* @type {Array<ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInner>}
|
|
165
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInner
|
|
166
|
+
*/
|
|
167
|
+
opponents?: Array<ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInner>;
|
|
116
168
|
}
|
|
117
169
|
|
|
118
170
|
/**
|
|
@@ -128,6 +180,9 @@ export function instanceOfApiEsportMatchesGet200ResponseResponseObjectItemsInner
|
|
|
128
180
|
if (!('leagueId' in value) || value['leagueId'] === undefined) return false;
|
|
129
181
|
if (!('serieId' in value) || value['serieId'] === undefined) return false;
|
|
130
182
|
if (!('videogame' in value) || value['videogame'] === undefined) return false;
|
|
183
|
+
if (!('tournament' in value) || value['tournament'] === undefined) return false;
|
|
184
|
+
if (!('league' in value) || value['league'] === undefined) return false;
|
|
185
|
+
if (!('serie' in value) || value['serie'] === undefined) return false;
|
|
131
186
|
return true;
|
|
132
187
|
}
|
|
133
188
|
|
|
@@ -152,7 +207,11 @@ export function ApiEsportMatchesGet200ResponseResponseObjectItemsInnerFromJSONTy
|
|
|
152
207
|
'tournamentId': json['tournament_id'],
|
|
153
208
|
'leagueId': json['league_id'],
|
|
154
209
|
'serieId': json['serie_id'],
|
|
155
|
-
'videogame': ApiEsportVideogamesGet200ResponseResponseObjectInnerFromJSON(json['
|
|
210
|
+
'videogame': ApiEsportVideogamesGet200ResponseResponseObjectInnerFromJSON(json['Videogame']),
|
|
211
|
+
'tournament': ApiEsportMatchesGet200ResponseResponseObjectItemsInnerTournamentFromJSON(json['Tournament']),
|
|
212
|
+
'league': ApiEsportMatchesGet200ResponseResponseObjectItemsInnerLeagueFromJSON(json['League']),
|
|
213
|
+
'serie': ApiEsportMatchesGet200ResponseResponseObjectItemsInnerSerieFromJSON(json['Serie']),
|
|
214
|
+
'opponents': json['Opponents'] == null ? undefined : ((json['Opponents'] as Array<any>).map(ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerFromJSON)),
|
|
156
215
|
};
|
|
157
216
|
}
|
|
158
217
|
|
|
@@ -178,7 +237,11 @@ export function ApiEsportMatchesGet200ResponseResponseObjectItemsInnerToJSONType
|
|
|
178
237
|
'tournament_id': value['tournamentId'],
|
|
179
238
|
'league_id': value['leagueId'],
|
|
180
239
|
'serie_id': value['serieId'],
|
|
181
|
-
'
|
|
240
|
+
'Videogame': ApiEsportVideogamesGet200ResponseResponseObjectInnerToJSON(value['videogame']),
|
|
241
|
+
'Tournament': ApiEsportMatchesGet200ResponseResponseObjectItemsInnerTournamentToJSON(value['tournament']),
|
|
242
|
+
'League': ApiEsportMatchesGet200ResponseResponseObjectItemsInnerLeagueToJSON(value['league']),
|
|
243
|
+
'Serie': ApiEsportMatchesGet200ResponseResponseObjectItemsInnerSerieToJSON(value['serie']),
|
|
244
|
+
'Opponents': value['opponents'] == null ? undefined : ((value['opponents'] as Array<any>).map(ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerToJSON)),
|
|
182
245
|
};
|
|
183
246
|
}
|
|
184
247
|
|
|
@@ -0,0 +1,101 @@
|
|
|
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
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface ApiEsportMatchesGet200ResponseResponseObjectItemsInnerLeague
|
|
20
|
+
*/
|
|
21
|
+
export interface ApiEsportMatchesGet200ResponseResponseObjectItemsInnerLeague {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInnerLeague
|
|
26
|
+
*/
|
|
27
|
+
id: number;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInnerLeague
|
|
32
|
+
*/
|
|
33
|
+
name: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInnerLeague
|
|
38
|
+
*/
|
|
39
|
+
slug: string;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInnerLeague
|
|
44
|
+
*/
|
|
45
|
+
imageUrl?: string;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {number}
|
|
49
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInnerLeague
|
|
50
|
+
*/
|
|
51
|
+
videogameId: number;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Check if a given object implements the ApiEsportMatchesGet200ResponseResponseObjectItemsInnerLeague interface.
|
|
56
|
+
*/
|
|
57
|
+
export function instanceOfApiEsportMatchesGet200ResponseResponseObjectItemsInnerLeague(value: object): value is ApiEsportMatchesGet200ResponseResponseObjectItemsInnerLeague {
|
|
58
|
+
if (!('id' in value) || value['id'] === undefined) return false;
|
|
59
|
+
if (!('name' in value) || value['name'] === undefined) return false;
|
|
60
|
+
if (!('slug' in value) || value['slug'] === undefined) return false;
|
|
61
|
+
if (!('videogameId' in value) || value['videogameId'] === undefined) return false;
|
|
62
|
+
return true;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
export function ApiEsportMatchesGet200ResponseResponseObjectItemsInnerLeagueFromJSON(json: any): ApiEsportMatchesGet200ResponseResponseObjectItemsInnerLeague {
|
|
66
|
+
return ApiEsportMatchesGet200ResponseResponseObjectItemsInnerLeagueFromJSONTyped(json, false);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
export function ApiEsportMatchesGet200ResponseResponseObjectItemsInnerLeagueFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiEsportMatchesGet200ResponseResponseObjectItemsInnerLeague {
|
|
70
|
+
if (json == null) {
|
|
71
|
+
return json;
|
|
72
|
+
}
|
|
73
|
+
return {
|
|
74
|
+
|
|
75
|
+
'id': json['id'],
|
|
76
|
+
'name': json['name'],
|
|
77
|
+
'slug': json['slug'],
|
|
78
|
+
'imageUrl': json['image_url'] == null ? undefined : json['image_url'],
|
|
79
|
+
'videogameId': json['videogame_id'],
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
export function ApiEsportMatchesGet200ResponseResponseObjectItemsInnerLeagueToJSON(json: any): ApiEsportMatchesGet200ResponseResponseObjectItemsInnerLeague {
|
|
84
|
+
return ApiEsportMatchesGet200ResponseResponseObjectItemsInnerLeagueToJSONTyped(json, false);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
export function ApiEsportMatchesGet200ResponseResponseObjectItemsInnerLeagueToJSONTyped(value?: ApiEsportMatchesGet200ResponseResponseObjectItemsInnerLeague | null, ignoreDiscriminator: boolean = false): any {
|
|
88
|
+
if (value == null) {
|
|
89
|
+
return value;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
return {
|
|
93
|
+
|
|
94
|
+
'id': value['id'],
|
|
95
|
+
'name': value['name'],
|
|
96
|
+
'slug': value['slug'],
|
|
97
|
+
'image_url': value['imageUrl'],
|
|
98
|
+
'videogame_id': value['videogameId'],
|
|
99
|
+
};
|
|
100
|
+
}
|
|
101
|
+
|
|
@@ -0,0 +1,108 @@
|
|
|
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
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
import type { ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerTeam } from './ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerTeam';
|
|
17
|
+
import {
|
|
18
|
+
ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerTeamFromJSON,
|
|
19
|
+
ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerTeamFromJSONTyped,
|
|
20
|
+
ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerTeamToJSON,
|
|
21
|
+
ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerTeamToJSONTyped,
|
|
22
|
+
} from './ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerTeam';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInner
|
|
28
|
+
*/
|
|
29
|
+
export interface ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInner {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInner
|
|
34
|
+
*/
|
|
35
|
+
id: number;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInner
|
|
40
|
+
*/
|
|
41
|
+
type?: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInner
|
|
46
|
+
*/
|
|
47
|
+
matchId: number;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInner
|
|
52
|
+
*/
|
|
53
|
+
teamId?: number;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerTeam}
|
|
57
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInner
|
|
58
|
+
*/
|
|
59
|
+
team: ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerTeam;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* Check if a given object implements the ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInner interface.
|
|
64
|
+
*/
|
|
65
|
+
export function instanceOfApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInner(value: object): value is ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInner {
|
|
66
|
+
if (!('id' in value) || value['id'] === undefined) return false;
|
|
67
|
+
if (!('matchId' in value) || value['matchId'] === undefined) return false;
|
|
68
|
+
if (!('team' in value) || value['team'] === undefined) return false;
|
|
69
|
+
return true;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export function ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerFromJSON(json: any): ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInner {
|
|
73
|
+
return ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerFromJSONTyped(json, false);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
export function ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInner {
|
|
77
|
+
if (json == null) {
|
|
78
|
+
return json;
|
|
79
|
+
}
|
|
80
|
+
return {
|
|
81
|
+
|
|
82
|
+
'id': json['id'],
|
|
83
|
+
'type': json['type'] == null ? undefined : json['type'],
|
|
84
|
+
'matchId': json['match_id'],
|
|
85
|
+
'teamId': json['team_id'] == null ? undefined : json['team_id'],
|
|
86
|
+
'team': ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerTeamFromJSON(json['Team']),
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
export function ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerToJSON(json: any): ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInner {
|
|
91
|
+
return ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerToJSONTyped(json, false);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
export function ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerToJSONTyped(value?: ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInner | null, ignoreDiscriminator: boolean = false): any {
|
|
95
|
+
if (value == null) {
|
|
96
|
+
return value;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
return {
|
|
100
|
+
|
|
101
|
+
'id': value['id'],
|
|
102
|
+
'type': value['type'],
|
|
103
|
+
'match_id': value['matchId'],
|
|
104
|
+
'team_id': value['teamId'],
|
|
105
|
+
'Team': ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerTeamToJSON(value['team']),
|
|
106
|
+
};
|
|
107
|
+
}
|
|
108
|
+
|