@drxsuperapp/sdk 1.1.224 → 1.1.226
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/apis/EsportApi.ts +119 -0
- package/deploy.log +23 -11
- package/dist/apis/EsportApi.d.ts +26 -1
- package/dist/apis/EsportApi.js +78 -1
- package/dist/models/ApiEsportTeamsIdGet200Response.d.ts +51 -0
- package/dist/models/ApiEsportTeamsIdGet200Response.js +54 -0
- package/dist/models/ApiEsportTournamentsGet200Response.d.ts +51 -0
- package/dist/models/ApiEsportTournamentsGet200Response.js +54 -0
- package/dist/models/ApiEsportTournamentsGet200ResponseResponseObject.d.ts +57 -0
- package/dist/models/ApiEsportTournamentsGet200ResponseResponseObject.js +60 -0
- package/dist/models/ApiEsportTournamentsGet200ResponseResponseObjectItemsInner.d.ts +136 -0
- package/dist/models/ApiEsportTournamentsGet200ResponseResponseObjectItemsInner.js +87 -0
- package/dist/models/ApiEsportTournamentsGetFilterParameter.d.ts +70 -0
- package/dist/models/ApiEsportTournamentsGetFilterParameter.js +55 -0
- package/dist/models/index.d.ts +5 -0
- package/dist/models/index.js +5 -0
- package/models/ApiEsportTeamsIdGet200Response.ts +100 -0
- package/models/ApiEsportTournamentsGet200Response.ts +100 -0
- package/models/ApiEsportTournamentsGet200ResponseResponseObject.ts +110 -0
- package/models/ApiEsportTournamentsGet200ResponseResponseObjectItemsInner.ts +221 -0
- package/models/ApiEsportTournamentsGetFilterParameter.ts +128 -0
- package/models/index.ts +5 -0
- package/package.json +1 -1
|
@@ -0,0 +1,110 @@
|
|
|
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 { ApiEsportTournamentsGet200ResponseResponseObjectItemsInner } from './ApiEsportTournamentsGet200ResponseResponseObjectItemsInner';
|
|
17
|
+
import {
|
|
18
|
+
ApiEsportTournamentsGet200ResponseResponseObjectItemsInnerFromJSON,
|
|
19
|
+
ApiEsportTournamentsGet200ResponseResponseObjectItemsInnerFromJSONTyped,
|
|
20
|
+
ApiEsportTournamentsGet200ResponseResponseObjectItemsInnerToJSON,
|
|
21
|
+
ApiEsportTournamentsGet200ResponseResponseObjectItemsInnerToJSONTyped,
|
|
22
|
+
} from './ApiEsportTournamentsGet200ResponseResponseObjectItemsInner';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface ApiEsportTournamentsGet200ResponseResponseObject
|
|
28
|
+
*/
|
|
29
|
+
export interface ApiEsportTournamentsGet200ResponseResponseObject {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {Array<ApiEsportTournamentsGet200ResponseResponseObjectItemsInner>}
|
|
33
|
+
* @memberof ApiEsportTournamentsGet200ResponseResponseObject
|
|
34
|
+
*/
|
|
35
|
+
items: Array<ApiEsportTournamentsGet200ResponseResponseObjectItemsInner>;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof ApiEsportTournamentsGet200ResponseResponseObject
|
|
40
|
+
*/
|
|
41
|
+
currentPage: number;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof ApiEsportTournamentsGet200ResponseResponseObject
|
|
46
|
+
*/
|
|
47
|
+
totalItems: number;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof ApiEsportTournamentsGet200ResponseResponseObject
|
|
52
|
+
*/
|
|
53
|
+
totalPages: number;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {number}
|
|
57
|
+
* @memberof ApiEsportTournamentsGet200ResponseResponseObject
|
|
58
|
+
*/
|
|
59
|
+
pageSize: number;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* Check if a given object implements the ApiEsportTournamentsGet200ResponseResponseObject interface.
|
|
64
|
+
*/
|
|
65
|
+
export function instanceOfApiEsportTournamentsGet200ResponseResponseObject(value: object): value is ApiEsportTournamentsGet200ResponseResponseObject {
|
|
66
|
+
if (!('items' in value) || value['items'] === undefined) return false;
|
|
67
|
+
if (!('currentPage' in value) || value['currentPage'] === undefined) return false;
|
|
68
|
+
if (!('totalItems' in value) || value['totalItems'] === undefined) return false;
|
|
69
|
+
if (!('totalPages' in value) || value['totalPages'] === undefined) return false;
|
|
70
|
+
if (!('pageSize' in value) || value['pageSize'] === undefined) return false;
|
|
71
|
+
return true;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
export function ApiEsportTournamentsGet200ResponseResponseObjectFromJSON(json: any): ApiEsportTournamentsGet200ResponseResponseObject {
|
|
75
|
+
return ApiEsportTournamentsGet200ResponseResponseObjectFromJSONTyped(json, false);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
export function ApiEsportTournamentsGet200ResponseResponseObjectFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiEsportTournamentsGet200ResponseResponseObject {
|
|
79
|
+
if (json == null) {
|
|
80
|
+
return json;
|
|
81
|
+
}
|
|
82
|
+
return {
|
|
83
|
+
|
|
84
|
+
'items': ((json['items'] as Array<any>).map(ApiEsportTournamentsGet200ResponseResponseObjectItemsInnerFromJSON)),
|
|
85
|
+
'currentPage': json['currentPage'],
|
|
86
|
+
'totalItems': json['totalItems'],
|
|
87
|
+
'totalPages': json['totalPages'],
|
|
88
|
+
'pageSize': json['pageSize'],
|
|
89
|
+
};
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
export function ApiEsportTournamentsGet200ResponseResponseObjectToJSON(json: any): ApiEsportTournamentsGet200ResponseResponseObject {
|
|
93
|
+
return ApiEsportTournamentsGet200ResponseResponseObjectToJSONTyped(json, false);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
export function ApiEsportTournamentsGet200ResponseResponseObjectToJSONTyped(value?: ApiEsportTournamentsGet200ResponseResponseObject | null, ignoreDiscriminator: boolean = false): any {
|
|
97
|
+
if (value == null) {
|
|
98
|
+
return value;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
return {
|
|
102
|
+
|
|
103
|
+
'items': ((value['items'] as Array<any>).map(ApiEsportTournamentsGet200ResponseResponseObjectItemsInnerToJSON)),
|
|
104
|
+
'currentPage': value['currentPage'],
|
|
105
|
+
'totalItems': value['totalItems'],
|
|
106
|
+
'totalPages': value['totalPages'],
|
|
107
|
+
'pageSize': value['pageSize'],
|
|
108
|
+
};
|
|
109
|
+
}
|
|
110
|
+
|
|
@@ -0,0 +1,221 @@
|
|
|
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 { ApiEsportVideogamesGet200ResponseResponseObjectInner } from './ApiEsportVideogamesGet200ResponseResponseObjectInner';
|
|
17
|
+
import {
|
|
18
|
+
ApiEsportVideogamesGet200ResponseResponseObjectInnerFromJSON,
|
|
19
|
+
ApiEsportVideogamesGet200ResponseResponseObjectInnerFromJSONTyped,
|
|
20
|
+
ApiEsportVideogamesGet200ResponseResponseObjectInnerToJSON,
|
|
21
|
+
ApiEsportVideogamesGet200ResponseResponseObjectInnerToJSONTyped,
|
|
22
|
+
} from './ApiEsportVideogamesGet200ResponseResponseObjectInner';
|
|
23
|
+
import type { ApiEsportMatchesGet200ResponseResponseObjectItemsInner } from './ApiEsportMatchesGet200ResponseResponseObjectItemsInner';
|
|
24
|
+
import {
|
|
25
|
+
ApiEsportMatchesGet200ResponseResponseObjectItemsInnerFromJSON,
|
|
26
|
+
ApiEsportMatchesGet200ResponseResponseObjectItemsInnerFromJSONTyped,
|
|
27
|
+
ApiEsportMatchesGet200ResponseResponseObjectItemsInnerToJSON,
|
|
28
|
+
ApiEsportMatchesGet200ResponseResponseObjectItemsInnerToJSONTyped,
|
|
29
|
+
} from './ApiEsportMatchesGet200ResponseResponseObjectItemsInner';
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @export
|
|
34
|
+
* @interface ApiEsportTournamentsGet200ResponseResponseObjectItemsInner
|
|
35
|
+
*/
|
|
36
|
+
export interface ApiEsportTournamentsGet200ResponseResponseObjectItemsInner {
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {number}
|
|
40
|
+
* @memberof ApiEsportTournamentsGet200ResponseResponseObjectItemsInner
|
|
41
|
+
*/
|
|
42
|
+
id: number;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof ApiEsportTournamentsGet200ResponseResponseObjectItemsInner
|
|
47
|
+
*/
|
|
48
|
+
name: string;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof ApiEsportTournamentsGet200ResponseResponseObjectItemsInner
|
|
53
|
+
*/
|
|
54
|
+
type?: string;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof ApiEsportTournamentsGet200ResponseResponseObjectItemsInner
|
|
59
|
+
*/
|
|
60
|
+
country?: string;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {string}
|
|
64
|
+
* @memberof ApiEsportTournamentsGet200ResponseResponseObjectItemsInner
|
|
65
|
+
*/
|
|
66
|
+
beginAt?: string;
|
|
67
|
+
/**
|
|
68
|
+
*
|
|
69
|
+
* @type {boolean}
|
|
70
|
+
* @memberof ApiEsportTournamentsGet200ResponseResponseObjectItemsInner
|
|
71
|
+
*/
|
|
72
|
+
detailedStats: boolean;
|
|
73
|
+
/**
|
|
74
|
+
*
|
|
75
|
+
* @type {string}
|
|
76
|
+
* @memberof ApiEsportTournamentsGet200ResponseResponseObjectItemsInner
|
|
77
|
+
*/
|
|
78
|
+
endAt?: string;
|
|
79
|
+
/**
|
|
80
|
+
*
|
|
81
|
+
* @type {number}
|
|
82
|
+
* @memberof ApiEsportTournamentsGet200ResponseResponseObjectItemsInner
|
|
83
|
+
*/
|
|
84
|
+
winnerId?: number;
|
|
85
|
+
/**
|
|
86
|
+
*
|
|
87
|
+
* @type {string}
|
|
88
|
+
* @memberof ApiEsportTournamentsGet200ResponseResponseObjectItemsInner
|
|
89
|
+
*/
|
|
90
|
+
winnerType?: string;
|
|
91
|
+
/**
|
|
92
|
+
*
|
|
93
|
+
* @type {string}
|
|
94
|
+
* @memberof ApiEsportTournamentsGet200ResponseResponseObjectItemsInner
|
|
95
|
+
*/
|
|
96
|
+
slug: string;
|
|
97
|
+
/**
|
|
98
|
+
*
|
|
99
|
+
* @type {string}
|
|
100
|
+
* @memberof ApiEsportTournamentsGet200ResponseResponseObjectItemsInner
|
|
101
|
+
*/
|
|
102
|
+
prizepool?: string;
|
|
103
|
+
/**
|
|
104
|
+
*
|
|
105
|
+
* @type {string}
|
|
106
|
+
* @memberof ApiEsportTournamentsGet200ResponseResponseObjectItemsInner
|
|
107
|
+
*/
|
|
108
|
+
tier?: string;
|
|
109
|
+
/**
|
|
110
|
+
*
|
|
111
|
+
* @type {string}
|
|
112
|
+
* @memberof ApiEsportTournamentsGet200ResponseResponseObjectItemsInner
|
|
113
|
+
*/
|
|
114
|
+
region?: string;
|
|
115
|
+
/**
|
|
116
|
+
*
|
|
117
|
+
* @type {number}
|
|
118
|
+
* @memberof ApiEsportTournamentsGet200ResponseResponseObjectItemsInner
|
|
119
|
+
*/
|
|
120
|
+
videogameId: number;
|
|
121
|
+
/**
|
|
122
|
+
*
|
|
123
|
+
* @type {number}
|
|
124
|
+
* @memberof ApiEsportTournamentsGet200ResponseResponseObjectItemsInner
|
|
125
|
+
*/
|
|
126
|
+
serieId?: number;
|
|
127
|
+
/**
|
|
128
|
+
*
|
|
129
|
+
* @type {number}
|
|
130
|
+
* @memberof ApiEsportTournamentsGet200ResponseResponseObjectItemsInner
|
|
131
|
+
*/
|
|
132
|
+
leagueId?: number;
|
|
133
|
+
/**
|
|
134
|
+
*
|
|
135
|
+
* @type {Array<ApiEsportMatchesGet200ResponseResponseObjectItemsInner>}
|
|
136
|
+
* @memberof ApiEsportTournamentsGet200ResponseResponseObjectItemsInner
|
|
137
|
+
*/
|
|
138
|
+
matches?: Array<ApiEsportMatchesGet200ResponseResponseObjectItemsInner>;
|
|
139
|
+
/**
|
|
140
|
+
*
|
|
141
|
+
* @type {ApiEsportVideogamesGet200ResponseResponseObjectInner}
|
|
142
|
+
* @memberof ApiEsportTournamentsGet200ResponseResponseObjectItemsInner
|
|
143
|
+
*/
|
|
144
|
+
videogame?: ApiEsportVideogamesGet200ResponseResponseObjectInner;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
/**
|
|
148
|
+
* Check if a given object implements the ApiEsportTournamentsGet200ResponseResponseObjectItemsInner interface.
|
|
149
|
+
*/
|
|
150
|
+
export function instanceOfApiEsportTournamentsGet200ResponseResponseObjectItemsInner(value: object): value is ApiEsportTournamentsGet200ResponseResponseObjectItemsInner {
|
|
151
|
+
if (!('id' in value) || value['id'] === undefined) return false;
|
|
152
|
+
if (!('name' in value) || value['name'] === undefined) return false;
|
|
153
|
+
if (!('detailedStats' in value) || value['detailedStats'] === undefined) return false;
|
|
154
|
+
if (!('slug' in value) || value['slug'] === undefined) return false;
|
|
155
|
+
if (!('videogameId' in value) || value['videogameId'] === undefined) return false;
|
|
156
|
+
return true;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
export function ApiEsportTournamentsGet200ResponseResponseObjectItemsInnerFromJSON(json: any): ApiEsportTournamentsGet200ResponseResponseObjectItemsInner {
|
|
160
|
+
return ApiEsportTournamentsGet200ResponseResponseObjectItemsInnerFromJSONTyped(json, false);
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
export function ApiEsportTournamentsGet200ResponseResponseObjectItemsInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiEsportTournamentsGet200ResponseResponseObjectItemsInner {
|
|
164
|
+
if (json == null) {
|
|
165
|
+
return json;
|
|
166
|
+
}
|
|
167
|
+
return {
|
|
168
|
+
|
|
169
|
+
'id': json['id'],
|
|
170
|
+
'name': json['name'],
|
|
171
|
+
'type': json['type'] == null ? undefined : json['type'],
|
|
172
|
+
'country': json['country'] == null ? undefined : json['country'],
|
|
173
|
+
'beginAt': json['begin_at'] == null ? undefined : json['begin_at'],
|
|
174
|
+
'detailedStats': json['detailed_stats'],
|
|
175
|
+
'endAt': json['end_at'] == null ? undefined : json['end_at'],
|
|
176
|
+
'winnerId': json['winner_id'] == null ? undefined : json['winner_id'],
|
|
177
|
+
'winnerType': json['winner_type'] == null ? undefined : json['winner_type'],
|
|
178
|
+
'slug': json['slug'],
|
|
179
|
+
'prizepool': json['prizepool'] == null ? undefined : json['prizepool'],
|
|
180
|
+
'tier': json['tier'] == null ? undefined : json['tier'],
|
|
181
|
+
'region': json['region'] == null ? undefined : json['region'],
|
|
182
|
+
'videogameId': json['videogame_id'],
|
|
183
|
+
'serieId': json['serie_id'] == null ? undefined : json['serie_id'],
|
|
184
|
+
'leagueId': json['league_id'] == null ? undefined : json['league_id'],
|
|
185
|
+
'matches': json['matches'] == null ? undefined : ((json['matches'] as Array<any>).map(ApiEsportMatchesGet200ResponseResponseObjectItemsInnerFromJSON)),
|
|
186
|
+
'videogame': json['videogame'] == null ? undefined : ApiEsportVideogamesGet200ResponseResponseObjectInnerFromJSON(json['videogame']),
|
|
187
|
+
};
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
export function ApiEsportTournamentsGet200ResponseResponseObjectItemsInnerToJSON(json: any): ApiEsportTournamentsGet200ResponseResponseObjectItemsInner {
|
|
191
|
+
return ApiEsportTournamentsGet200ResponseResponseObjectItemsInnerToJSONTyped(json, false);
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
export function ApiEsportTournamentsGet200ResponseResponseObjectItemsInnerToJSONTyped(value?: ApiEsportTournamentsGet200ResponseResponseObjectItemsInner | null, ignoreDiscriminator: boolean = false): any {
|
|
195
|
+
if (value == null) {
|
|
196
|
+
return value;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
return {
|
|
200
|
+
|
|
201
|
+
'id': value['id'],
|
|
202
|
+
'name': value['name'],
|
|
203
|
+
'type': value['type'],
|
|
204
|
+
'country': value['country'],
|
|
205
|
+
'begin_at': value['beginAt'],
|
|
206
|
+
'detailed_stats': value['detailedStats'],
|
|
207
|
+
'end_at': value['endAt'],
|
|
208
|
+
'winner_id': value['winnerId'],
|
|
209
|
+
'winner_type': value['winnerType'],
|
|
210
|
+
'slug': value['slug'],
|
|
211
|
+
'prizepool': value['prizepool'],
|
|
212
|
+
'tier': value['tier'],
|
|
213
|
+
'region': value['region'],
|
|
214
|
+
'videogame_id': value['videogameId'],
|
|
215
|
+
'serie_id': value['serieId'],
|
|
216
|
+
'league_id': value['leagueId'],
|
|
217
|
+
'matches': value['matches'] == null ? undefined : ((value['matches'] as Array<any>).map(ApiEsportMatchesGet200ResponseResponseObjectItemsInnerToJSON)),
|
|
218
|
+
'videogame': ApiEsportVideogamesGet200ResponseResponseObjectInnerToJSON(value['videogame']),
|
|
219
|
+
};
|
|
220
|
+
}
|
|
221
|
+
|
|
@@ -0,0 +1,128 @@
|
|
|
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 { ApiPadelMatchesGetFilterParameterName } from './ApiPadelMatchesGetFilterParameterName';
|
|
17
|
+
import {
|
|
18
|
+
ApiPadelMatchesGetFilterParameterNameFromJSON,
|
|
19
|
+
ApiPadelMatchesGetFilterParameterNameFromJSONTyped,
|
|
20
|
+
ApiPadelMatchesGetFilterParameterNameToJSON,
|
|
21
|
+
ApiPadelMatchesGetFilterParameterNameToJSONTyped,
|
|
22
|
+
} from './ApiPadelMatchesGetFilterParameterName';
|
|
23
|
+
import type { ApiPadelMatchesGetFilterParameterId } from './ApiPadelMatchesGetFilterParameterId';
|
|
24
|
+
import {
|
|
25
|
+
ApiPadelMatchesGetFilterParameterIdFromJSON,
|
|
26
|
+
ApiPadelMatchesGetFilterParameterIdFromJSONTyped,
|
|
27
|
+
ApiPadelMatchesGetFilterParameterIdToJSON,
|
|
28
|
+
ApiPadelMatchesGetFilterParameterIdToJSONTyped,
|
|
29
|
+
} from './ApiPadelMatchesGetFilterParameterId';
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @export
|
|
34
|
+
* @interface ApiEsportTournamentsGetFilterParameter
|
|
35
|
+
*/
|
|
36
|
+
export interface ApiEsportTournamentsGetFilterParameter {
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {ApiPadelMatchesGetFilterParameterId}
|
|
40
|
+
* @memberof ApiEsportTournamentsGetFilterParameter
|
|
41
|
+
*/
|
|
42
|
+
id?: ApiPadelMatchesGetFilterParameterId;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {ApiPadelMatchesGetFilterParameterName}
|
|
46
|
+
* @memberof ApiEsportTournamentsGetFilterParameter
|
|
47
|
+
*/
|
|
48
|
+
name?: ApiPadelMatchesGetFilterParameterName;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {ApiPadelMatchesGetFilterParameterName}
|
|
52
|
+
* @memberof ApiEsportTournamentsGetFilterParameter
|
|
53
|
+
*/
|
|
54
|
+
country?: ApiPadelMatchesGetFilterParameterName;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {ApiPadelMatchesGetFilterParameterName}
|
|
58
|
+
* @memberof ApiEsportTournamentsGetFilterParameter
|
|
59
|
+
*/
|
|
60
|
+
region?: ApiPadelMatchesGetFilterParameterName;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {ApiPadelMatchesGetFilterParameterId}
|
|
64
|
+
* @memberof ApiEsportTournamentsGetFilterParameter
|
|
65
|
+
*/
|
|
66
|
+
leagueId?: ApiPadelMatchesGetFilterParameterId;
|
|
67
|
+
/**
|
|
68
|
+
*
|
|
69
|
+
* @type {ApiPadelMatchesGetFilterParameterId}
|
|
70
|
+
* @memberof ApiEsportTournamentsGetFilterParameter
|
|
71
|
+
*/
|
|
72
|
+
serieId?: ApiPadelMatchesGetFilterParameterId;
|
|
73
|
+
/**
|
|
74
|
+
*
|
|
75
|
+
* @type {ApiPadelMatchesGetFilterParameterId}
|
|
76
|
+
* @memberof ApiEsportTournamentsGetFilterParameter
|
|
77
|
+
*/
|
|
78
|
+
videogameId?: ApiPadelMatchesGetFilterParameterId;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
* Check if a given object implements the ApiEsportTournamentsGetFilterParameter interface.
|
|
83
|
+
*/
|
|
84
|
+
export function instanceOfApiEsportTournamentsGetFilterParameter(value: object): value is ApiEsportTournamentsGetFilterParameter {
|
|
85
|
+
return true;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
export function ApiEsportTournamentsGetFilterParameterFromJSON(json: any): ApiEsportTournamentsGetFilterParameter {
|
|
89
|
+
return ApiEsportTournamentsGetFilterParameterFromJSONTyped(json, false);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
export function ApiEsportTournamentsGetFilterParameterFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiEsportTournamentsGetFilterParameter {
|
|
93
|
+
if (json == null) {
|
|
94
|
+
return json;
|
|
95
|
+
}
|
|
96
|
+
return {
|
|
97
|
+
|
|
98
|
+
'id': json['id'] == null ? undefined : ApiPadelMatchesGetFilterParameterIdFromJSON(json['id']),
|
|
99
|
+
'name': json['name'] == null ? undefined : ApiPadelMatchesGetFilterParameterNameFromJSON(json['name']),
|
|
100
|
+
'country': json['country'] == null ? undefined : ApiPadelMatchesGetFilterParameterNameFromJSON(json['country']),
|
|
101
|
+
'region': json['region'] == null ? undefined : ApiPadelMatchesGetFilterParameterNameFromJSON(json['region']),
|
|
102
|
+
'leagueId': json['league_id'] == null ? undefined : ApiPadelMatchesGetFilterParameterIdFromJSON(json['league_id']),
|
|
103
|
+
'serieId': json['serie_id'] == null ? undefined : ApiPadelMatchesGetFilterParameterIdFromJSON(json['serie_id']),
|
|
104
|
+
'videogameId': json['videogame_id'] == null ? undefined : ApiPadelMatchesGetFilterParameterIdFromJSON(json['videogame_id']),
|
|
105
|
+
};
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
export function ApiEsportTournamentsGetFilterParameterToJSON(json: any): ApiEsportTournamentsGetFilterParameter {
|
|
109
|
+
return ApiEsportTournamentsGetFilterParameterToJSONTyped(json, false);
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
export function ApiEsportTournamentsGetFilterParameterToJSONTyped(value?: ApiEsportTournamentsGetFilterParameter | null, ignoreDiscriminator: boolean = false): any {
|
|
113
|
+
if (value == null) {
|
|
114
|
+
return value;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
return {
|
|
118
|
+
|
|
119
|
+
'id': ApiPadelMatchesGetFilterParameterIdToJSON(value['id']),
|
|
120
|
+
'name': ApiPadelMatchesGetFilterParameterNameToJSON(value['name']),
|
|
121
|
+
'country': ApiPadelMatchesGetFilterParameterNameToJSON(value['country']),
|
|
122
|
+
'region': ApiPadelMatchesGetFilterParameterNameToJSON(value['region']),
|
|
123
|
+
'league_id': ApiPadelMatchesGetFilterParameterIdToJSON(value['leagueId']),
|
|
124
|
+
'serie_id': ApiPadelMatchesGetFilterParameterIdToJSON(value['serieId']),
|
|
125
|
+
'videogame_id': ApiPadelMatchesGetFilterParameterIdToJSON(value['videogameId']),
|
|
126
|
+
};
|
|
127
|
+
}
|
|
128
|
+
|
package/models/index.ts
CHANGED
|
@@ -42,6 +42,11 @@ export * from './ApiEsportTeamsGet200Response';
|
|
|
42
42
|
export * from './ApiEsportTeamsGet200ResponseResponseObject';
|
|
43
43
|
export * from './ApiEsportTeamsGet200ResponseResponseObjectItemsInner';
|
|
44
44
|
export * from './ApiEsportTeamsGetFilterParameter';
|
|
45
|
+
export * from './ApiEsportTeamsIdGet200Response';
|
|
46
|
+
export * from './ApiEsportTournamentsGet200Response';
|
|
47
|
+
export * from './ApiEsportTournamentsGet200ResponseResponseObject';
|
|
48
|
+
export * from './ApiEsportTournamentsGet200ResponseResponseObjectItemsInner';
|
|
49
|
+
export * from './ApiEsportTournamentsGetFilterParameter';
|
|
45
50
|
export * from './ApiEsportVideogamesGet200Response';
|
|
46
51
|
export * from './ApiEsportVideogamesGet200ResponseResponseObjectInner';
|
|
47
52
|
export * from './ApiHealthCheckGet200Response';
|