@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,133 @@
|
|
|
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 { ApiEsportMatchesGet200ResponseResponseObjectItemsInnerResultsInnerPlayersInner } from './ApiEsportMatchesGet200ResponseResponseObjectItemsInnerResultsInnerPlayersInner';
|
|
17
|
+
import {
|
|
18
|
+
ApiEsportMatchesGet200ResponseResponseObjectItemsInnerResultsInnerPlayersInnerFromJSON,
|
|
19
|
+
ApiEsportMatchesGet200ResponseResponseObjectItemsInnerResultsInnerPlayersInnerFromJSONTyped,
|
|
20
|
+
ApiEsportMatchesGet200ResponseResponseObjectItemsInnerResultsInnerPlayersInnerToJSON,
|
|
21
|
+
ApiEsportMatchesGet200ResponseResponseObjectItemsInnerResultsInnerPlayersInnerToJSONTyped,
|
|
22
|
+
} from './ApiEsportMatchesGet200ResponseResponseObjectItemsInnerResultsInnerPlayersInner';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerTeam
|
|
28
|
+
*/
|
|
29
|
+
export interface ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerTeam {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerTeam
|
|
34
|
+
*/
|
|
35
|
+
id: number;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerTeam
|
|
40
|
+
*/
|
|
41
|
+
name: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerTeam
|
|
46
|
+
*/
|
|
47
|
+
location?: string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerTeam
|
|
52
|
+
*/
|
|
53
|
+
slug: string;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerTeam
|
|
58
|
+
*/
|
|
59
|
+
acronym?: string;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerTeam
|
|
64
|
+
*/
|
|
65
|
+
imageUrl?: string;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {number}
|
|
69
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerTeam
|
|
70
|
+
*/
|
|
71
|
+
videogameId: number;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @type {Array<ApiEsportMatchesGet200ResponseResponseObjectItemsInnerResultsInnerPlayersInner>}
|
|
75
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerTeam
|
|
76
|
+
*/
|
|
77
|
+
players?: Array<ApiEsportMatchesGet200ResponseResponseObjectItemsInnerResultsInnerPlayersInner>;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* Check if a given object implements the ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerTeam interface.
|
|
82
|
+
*/
|
|
83
|
+
export function instanceOfApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerTeam(value: object): value is ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerTeam {
|
|
84
|
+
if (!('id' in value) || value['id'] === undefined) return false;
|
|
85
|
+
if (!('name' in value) || value['name'] === undefined) return false;
|
|
86
|
+
if (!('slug' in value) || value['slug'] === undefined) return false;
|
|
87
|
+
if (!('videogameId' in value) || value['videogameId'] === undefined) return false;
|
|
88
|
+
return true;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
export function ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerTeamFromJSON(json: any): ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerTeam {
|
|
92
|
+
return ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerTeamFromJSONTyped(json, false);
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
export function ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerTeamFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerTeam {
|
|
96
|
+
if (json == null) {
|
|
97
|
+
return json;
|
|
98
|
+
}
|
|
99
|
+
return {
|
|
100
|
+
|
|
101
|
+
'id': json['id'],
|
|
102
|
+
'name': json['name'],
|
|
103
|
+
'location': json['location'] == null ? undefined : json['location'],
|
|
104
|
+
'slug': json['slug'],
|
|
105
|
+
'acronym': json['acronym'] == null ? undefined : json['acronym'],
|
|
106
|
+
'imageUrl': json['image_url'] == null ? undefined : json['image_url'],
|
|
107
|
+
'videogameId': json['videogame_id'],
|
|
108
|
+
'players': json['Players'] == null ? undefined : ((json['Players'] as Array<any>).map(ApiEsportMatchesGet200ResponseResponseObjectItemsInnerResultsInnerPlayersInnerFromJSON)),
|
|
109
|
+
};
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
export function ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerTeamToJSON(json: any): ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerTeam {
|
|
113
|
+
return ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerTeamToJSONTyped(json, false);
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
export function ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerTeamToJSONTyped(value?: ApiEsportMatchesGet200ResponseResponseObjectItemsInnerOpponentsInnerTeam | null, ignoreDiscriminator: boolean = false): any {
|
|
117
|
+
if (value == null) {
|
|
118
|
+
return value;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
return {
|
|
122
|
+
|
|
123
|
+
'id': value['id'],
|
|
124
|
+
'name': value['name'],
|
|
125
|
+
'location': value['location'],
|
|
126
|
+
'slug': value['slug'],
|
|
127
|
+
'acronym': value['acronym'],
|
|
128
|
+
'image_url': value['imageUrl'],
|
|
129
|
+
'videogame_id': value['videogameId'],
|
|
130
|
+
'Players': value['players'] == null ? undefined : ((value['players'] as Array<any>).map(ApiEsportMatchesGet200ResponseResponseObjectItemsInnerResultsInnerPlayersInnerToJSON)),
|
|
131
|
+
};
|
|
132
|
+
}
|
|
133
|
+
|
|
@@ -0,0 +1,149 @@
|
|
|
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 ApiEsportMatchesGet200ResponseResponseObjectItemsInnerSerie
|
|
20
|
+
*/
|
|
21
|
+
export interface ApiEsportMatchesGet200ResponseResponseObjectItemsInnerSerie {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInnerSerie
|
|
26
|
+
*/
|
|
27
|
+
id: number;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInnerSerie
|
|
32
|
+
*/
|
|
33
|
+
name: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {number}
|
|
37
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInnerSerie
|
|
38
|
+
*/
|
|
39
|
+
year?: number;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInnerSerie
|
|
44
|
+
*/
|
|
45
|
+
beginAt?: string;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {string}
|
|
49
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInnerSerie
|
|
50
|
+
*/
|
|
51
|
+
endAt?: string;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {string}
|
|
55
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInnerSerie
|
|
56
|
+
*/
|
|
57
|
+
winnderType?: string;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {string}
|
|
61
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInnerSerie
|
|
62
|
+
*/
|
|
63
|
+
slug: string;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @type {string}
|
|
67
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInnerSerie
|
|
68
|
+
*/
|
|
69
|
+
fullName?: string;
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
* @type {number}
|
|
73
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInnerSerie
|
|
74
|
+
*/
|
|
75
|
+
winnerId?: number;
|
|
76
|
+
/**
|
|
77
|
+
*
|
|
78
|
+
* @type {number}
|
|
79
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInnerSerie
|
|
80
|
+
*/
|
|
81
|
+
videogameId: number;
|
|
82
|
+
/**
|
|
83
|
+
*
|
|
84
|
+
* @type {number}
|
|
85
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInnerSerie
|
|
86
|
+
*/
|
|
87
|
+
leagueId?: number;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* Check if a given object implements the ApiEsportMatchesGet200ResponseResponseObjectItemsInnerSerie interface.
|
|
92
|
+
*/
|
|
93
|
+
export function instanceOfApiEsportMatchesGet200ResponseResponseObjectItemsInnerSerie(value: object): value is ApiEsportMatchesGet200ResponseResponseObjectItemsInnerSerie {
|
|
94
|
+
if (!('id' in value) || value['id'] === undefined) return false;
|
|
95
|
+
if (!('name' in value) || value['name'] === undefined) return false;
|
|
96
|
+
if (!('slug' in value) || value['slug'] === undefined) return false;
|
|
97
|
+
if (!('videogameId' in value) || value['videogameId'] === undefined) return false;
|
|
98
|
+
return true;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
export function ApiEsportMatchesGet200ResponseResponseObjectItemsInnerSerieFromJSON(json: any): ApiEsportMatchesGet200ResponseResponseObjectItemsInnerSerie {
|
|
102
|
+
return ApiEsportMatchesGet200ResponseResponseObjectItemsInnerSerieFromJSONTyped(json, false);
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
export function ApiEsportMatchesGet200ResponseResponseObjectItemsInnerSerieFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiEsportMatchesGet200ResponseResponseObjectItemsInnerSerie {
|
|
106
|
+
if (json == null) {
|
|
107
|
+
return json;
|
|
108
|
+
}
|
|
109
|
+
return {
|
|
110
|
+
|
|
111
|
+
'id': json['id'],
|
|
112
|
+
'name': json['name'],
|
|
113
|
+
'year': json['year'] == null ? undefined : json['year'],
|
|
114
|
+
'beginAt': json['begin_at'] == null ? undefined : json['begin_at'],
|
|
115
|
+
'endAt': json['end_at'] == null ? undefined : json['end_at'],
|
|
116
|
+
'winnderType': json['winnder_type'] == null ? undefined : json['winnder_type'],
|
|
117
|
+
'slug': json['slug'],
|
|
118
|
+
'fullName': json['full_name'] == null ? undefined : json['full_name'],
|
|
119
|
+
'winnerId': json['winner_id'] == null ? undefined : json['winner_id'],
|
|
120
|
+
'videogameId': json['videogame_id'],
|
|
121
|
+
'leagueId': json['league_id'] == null ? undefined : json['league_id'],
|
|
122
|
+
};
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
export function ApiEsportMatchesGet200ResponseResponseObjectItemsInnerSerieToJSON(json: any): ApiEsportMatchesGet200ResponseResponseObjectItemsInnerSerie {
|
|
126
|
+
return ApiEsportMatchesGet200ResponseResponseObjectItemsInnerSerieToJSONTyped(json, false);
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
export function ApiEsportMatchesGet200ResponseResponseObjectItemsInnerSerieToJSONTyped(value?: ApiEsportMatchesGet200ResponseResponseObjectItemsInnerSerie | null, ignoreDiscriminator: boolean = false): any {
|
|
130
|
+
if (value == null) {
|
|
131
|
+
return value;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
return {
|
|
135
|
+
|
|
136
|
+
'id': value['id'],
|
|
137
|
+
'name': value['name'],
|
|
138
|
+
'year': value['year'],
|
|
139
|
+
'begin_at': value['beginAt'],
|
|
140
|
+
'end_at': value['endAt'],
|
|
141
|
+
'winnder_type': value['winnderType'],
|
|
142
|
+
'slug': value['slug'],
|
|
143
|
+
'full_name': value['fullName'],
|
|
144
|
+
'winner_id': value['winnerId'],
|
|
145
|
+
'videogame_id': value['videogameId'],
|
|
146
|
+
'league_id': value['leagueId'],
|
|
147
|
+
};
|
|
148
|
+
}
|
|
149
|
+
|
|
@@ -0,0 +1,190 @@
|
|
|
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 ApiEsportMatchesGet200ResponseResponseObjectItemsInnerTournament
|
|
20
|
+
*/
|
|
21
|
+
export interface ApiEsportMatchesGet200ResponseResponseObjectItemsInnerTournament {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInnerTournament
|
|
26
|
+
*/
|
|
27
|
+
id: number;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInnerTournament
|
|
32
|
+
*/
|
|
33
|
+
name: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInnerTournament
|
|
38
|
+
*/
|
|
39
|
+
type?: string;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInnerTournament
|
|
44
|
+
*/
|
|
45
|
+
country?: string;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {string}
|
|
49
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInnerTournament
|
|
50
|
+
*/
|
|
51
|
+
beginAt?: string;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {boolean}
|
|
55
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInnerTournament
|
|
56
|
+
*/
|
|
57
|
+
detailedStats: boolean;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {string}
|
|
61
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInnerTournament
|
|
62
|
+
*/
|
|
63
|
+
endAt?: string;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @type {number}
|
|
67
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInnerTournament
|
|
68
|
+
*/
|
|
69
|
+
winnerId?: number;
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
* @type {string}
|
|
73
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInnerTournament
|
|
74
|
+
*/
|
|
75
|
+
winnerType?: string;
|
|
76
|
+
/**
|
|
77
|
+
*
|
|
78
|
+
* @type {string}
|
|
79
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInnerTournament
|
|
80
|
+
*/
|
|
81
|
+
slug: string;
|
|
82
|
+
/**
|
|
83
|
+
*
|
|
84
|
+
* @type {string}
|
|
85
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInnerTournament
|
|
86
|
+
*/
|
|
87
|
+
prizepool?: string;
|
|
88
|
+
/**
|
|
89
|
+
*
|
|
90
|
+
* @type {string}
|
|
91
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInnerTournament
|
|
92
|
+
*/
|
|
93
|
+
tier?: string;
|
|
94
|
+
/**
|
|
95
|
+
*
|
|
96
|
+
* @type {string}
|
|
97
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInnerTournament
|
|
98
|
+
*/
|
|
99
|
+
region?: string;
|
|
100
|
+
/**
|
|
101
|
+
*
|
|
102
|
+
* @type {number}
|
|
103
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInnerTournament
|
|
104
|
+
*/
|
|
105
|
+
videogameId: number;
|
|
106
|
+
/**
|
|
107
|
+
*
|
|
108
|
+
* @type {number}
|
|
109
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInnerTournament
|
|
110
|
+
*/
|
|
111
|
+
serieId?: number;
|
|
112
|
+
/**
|
|
113
|
+
*
|
|
114
|
+
* @type {number}
|
|
115
|
+
* @memberof ApiEsportMatchesGet200ResponseResponseObjectItemsInnerTournament
|
|
116
|
+
*/
|
|
117
|
+
leagueId?: number;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
/**
|
|
121
|
+
* Check if a given object implements the ApiEsportMatchesGet200ResponseResponseObjectItemsInnerTournament interface.
|
|
122
|
+
*/
|
|
123
|
+
export function instanceOfApiEsportMatchesGet200ResponseResponseObjectItemsInnerTournament(value: object): value is ApiEsportMatchesGet200ResponseResponseObjectItemsInnerTournament {
|
|
124
|
+
if (!('id' in value) || value['id'] === undefined) return false;
|
|
125
|
+
if (!('name' in value) || value['name'] === undefined) return false;
|
|
126
|
+
if (!('detailedStats' in value) || value['detailedStats'] === undefined) return false;
|
|
127
|
+
if (!('slug' in value) || value['slug'] === undefined) return false;
|
|
128
|
+
if (!('videogameId' in value) || value['videogameId'] === undefined) return false;
|
|
129
|
+
return true;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
export function ApiEsportMatchesGet200ResponseResponseObjectItemsInnerTournamentFromJSON(json: any): ApiEsportMatchesGet200ResponseResponseObjectItemsInnerTournament {
|
|
133
|
+
return ApiEsportMatchesGet200ResponseResponseObjectItemsInnerTournamentFromJSONTyped(json, false);
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
export function ApiEsportMatchesGet200ResponseResponseObjectItemsInnerTournamentFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiEsportMatchesGet200ResponseResponseObjectItemsInnerTournament {
|
|
137
|
+
if (json == null) {
|
|
138
|
+
return json;
|
|
139
|
+
}
|
|
140
|
+
return {
|
|
141
|
+
|
|
142
|
+
'id': json['id'],
|
|
143
|
+
'name': json['name'],
|
|
144
|
+
'type': json['type'] == null ? undefined : json['type'],
|
|
145
|
+
'country': json['country'] == null ? undefined : json['country'],
|
|
146
|
+
'beginAt': json['begin_at'] == null ? undefined : json['begin_at'],
|
|
147
|
+
'detailedStats': json['detailed_stats'],
|
|
148
|
+
'endAt': json['end_at'] == null ? undefined : json['end_at'],
|
|
149
|
+
'winnerId': json['winner_id'] == null ? undefined : json['winner_id'],
|
|
150
|
+
'winnerType': json['winner_type'] == null ? undefined : json['winner_type'],
|
|
151
|
+
'slug': json['slug'],
|
|
152
|
+
'prizepool': json['prizepool'] == null ? undefined : json['prizepool'],
|
|
153
|
+
'tier': json['tier'] == null ? undefined : json['tier'],
|
|
154
|
+
'region': json['region'] == null ? undefined : json['region'],
|
|
155
|
+
'videogameId': json['videogame_id'],
|
|
156
|
+
'serieId': json['serie_id'] == null ? undefined : json['serie_id'],
|
|
157
|
+
'leagueId': json['league_id'] == null ? undefined : json['league_id'],
|
|
158
|
+
};
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
export function ApiEsportMatchesGet200ResponseResponseObjectItemsInnerTournamentToJSON(json: any): ApiEsportMatchesGet200ResponseResponseObjectItemsInnerTournament {
|
|
162
|
+
return ApiEsportMatchesGet200ResponseResponseObjectItemsInnerTournamentToJSONTyped(json, false);
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
export function ApiEsportMatchesGet200ResponseResponseObjectItemsInnerTournamentToJSONTyped(value?: ApiEsportMatchesGet200ResponseResponseObjectItemsInnerTournament | null, ignoreDiscriminator: boolean = false): any {
|
|
166
|
+
if (value == null) {
|
|
167
|
+
return value;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
return {
|
|
171
|
+
|
|
172
|
+
'id': value['id'],
|
|
173
|
+
'name': value['name'],
|
|
174
|
+
'type': value['type'],
|
|
175
|
+
'country': value['country'],
|
|
176
|
+
'begin_at': value['beginAt'],
|
|
177
|
+
'detailed_stats': value['detailedStats'],
|
|
178
|
+
'end_at': value['endAt'],
|
|
179
|
+
'winner_id': value['winnerId'],
|
|
180
|
+
'winner_type': value['winnerType'],
|
|
181
|
+
'slug': value['slug'],
|
|
182
|
+
'prizepool': value['prizepool'],
|
|
183
|
+
'tier': value['tier'],
|
|
184
|
+
'region': value['region'],
|
|
185
|
+
'videogame_id': value['videogameId'],
|
|
186
|
+
'serie_id': value['serieId'],
|
|
187
|
+
'league_id': value['leagueId'],
|
|
188
|
+
};
|
|
189
|
+
}
|
|
190
|
+
|
package/models/index.ts
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';
|