@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.
@@ -0,0 +1,60 @@
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 { ApiEsportTournamentsGet200ResponseResponseObjectItemsInnerFromJSON, ApiEsportTournamentsGet200ResponseResponseObjectItemsInnerToJSON, } from './ApiEsportTournamentsGet200ResponseResponseObjectItemsInner';
15
+ /**
16
+ * Check if a given object implements the ApiEsportTournamentsGet200ResponseResponseObject interface.
17
+ */
18
+ export function instanceOfApiEsportTournamentsGet200ResponseResponseObject(value) {
19
+ if (!('items' in value) || value['items'] === undefined)
20
+ return false;
21
+ if (!('currentPage' in value) || value['currentPage'] === undefined)
22
+ return false;
23
+ if (!('totalItems' in value) || value['totalItems'] === undefined)
24
+ return false;
25
+ if (!('totalPages' in value) || value['totalPages'] === undefined)
26
+ return false;
27
+ if (!('pageSize' in value) || value['pageSize'] === undefined)
28
+ return false;
29
+ return true;
30
+ }
31
+ export function ApiEsportTournamentsGet200ResponseResponseObjectFromJSON(json) {
32
+ return ApiEsportTournamentsGet200ResponseResponseObjectFromJSONTyped(json, false);
33
+ }
34
+ export function ApiEsportTournamentsGet200ResponseResponseObjectFromJSONTyped(json, ignoreDiscriminator) {
35
+ if (json == null) {
36
+ return json;
37
+ }
38
+ return {
39
+ 'items': (json['items'].map(ApiEsportTournamentsGet200ResponseResponseObjectItemsInnerFromJSON)),
40
+ 'currentPage': json['currentPage'],
41
+ 'totalItems': json['totalItems'],
42
+ 'totalPages': json['totalPages'],
43
+ 'pageSize': json['pageSize'],
44
+ };
45
+ }
46
+ export function ApiEsportTournamentsGet200ResponseResponseObjectToJSON(json) {
47
+ return ApiEsportTournamentsGet200ResponseResponseObjectToJSONTyped(json, false);
48
+ }
49
+ export function ApiEsportTournamentsGet200ResponseResponseObjectToJSONTyped(value, ignoreDiscriminator = false) {
50
+ if (value == null) {
51
+ return value;
52
+ }
53
+ return {
54
+ 'items': (value['items'].map(ApiEsportTournamentsGet200ResponseResponseObjectItemsInnerToJSON)),
55
+ 'currentPage': value['currentPage'],
56
+ 'totalItems': value['totalItems'],
57
+ 'totalPages': value['totalPages'],
58
+ 'pageSize': value['pageSize'],
59
+ };
60
+ }
@@ -0,0 +1,136 @@
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 { ApiEsportVideogamesGet200ResponseResponseObjectInner } from './ApiEsportVideogamesGet200ResponseResponseObjectInner';
13
+ import type { ApiEsportMatchesGet200ResponseResponseObjectItemsInner } from './ApiEsportMatchesGet200ResponseResponseObjectItemsInner';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface ApiEsportTournamentsGet200ResponseResponseObjectItemsInner
18
+ */
19
+ export interface ApiEsportTournamentsGet200ResponseResponseObjectItemsInner {
20
+ /**
21
+ *
22
+ * @type {number}
23
+ * @memberof ApiEsportTournamentsGet200ResponseResponseObjectItemsInner
24
+ */
25
+ id: number;
26
+ /**
27
+ *
28
+ * @type {string}
29
+ * @memberof ApiEsportTournamentsGet200ResponseResponseObjectItemsInner
30
+ */
31
+ name: string;
32
+ /**
33
+ *
34
+ * @type {string}
35
+ * @memberof ApiEsportTournamentsGet200ResponseResponseObjectItemsInner
36
+ */
37
+ type?: string;
38
+ /**
39
+ *
40
+ * @type {string}
41
+ * @memberof ApiEsportTournamentsGet200ResponseResponseObjectItemsInner
42
+ */
43
+ country?: string;
44
+ /**
45
+ *
46
+ * @type {string}
47
+ * @memberof ApiEsportTournamentsGet200ResponseResponseObjectItemsInner
48
+ */
49
+ beginAt?: string;
50
+ /**
51
+ *
52
+ * @type {boolean}
53
+ * @memberof ApiEsportTournamentsGet200ResponseResponseObjectItemsInner
54
+ */
55
+ detailedStats: boolean;
56
+ /**
57
+ *
58
+ * @type {string}
59
+ * @memberof ApiEsportTournamentsGet200ResponseResponseObjectItemsInner
60
+ */
61
+ endAt?: string;
62
+ /**
63
+ *
64
+ * @type {number}
65
+ * @memberof ApiEsportTournamentsGet200ResponseResponseObjectItemsInner
66
+ */
67
+ winnerId?: number;
68
+ /**
69
+ *
70
+ * @type {string}
71
+ * @memberof ApiEsportTournamentsGet200ResponseResponseObjectItemsInner
72
+ */
73
+ winnerType?: string;
74
+ /**
75
+ *
76
+ * @type {string}
77
+ * @memberof ApiEsportTournamentsGet200ResponseResponseObjectItemsInner
78
+ */
79
+ slug: string;
80
+ /**
81
+ *
82
+ * @type {string}
83
+ * @memberof ApiEsportTournamentsGet200ResponseResponseObjectItemsInner
84
+ */
85
+ prizepool?: string;
86
+ /**
87
+ *
88
+ * @type {string}
89
+ * @memberof ApiEsportTournamentsGet200ResponseResponseObjectItemsInner
90
+ */
91
+ tier?: string;
92
+ /**
93
+ *
94
+ * @type {string}
95
+ * @memberof ApiEsportTournamentsGet200ResponseResponseObjectItemsInner
96
+ */
97
+ region?: string;
98
+ /**
99
+ *
100
+ * @type {number}
101
+ * @memberof ApiEsportTournamentsGet200ResponseResponseObjectItemsInner
102
+ */
103
+ videogameId: number;
104
+ /**
105
+ *
106
+ * @type {number}
107
+ * @memberof ApiEsportTournamentsGet200ResponseResponseObjectItemsInner
108
+ */
109
+ serieId?: number;
110
+ /**
111
+ *
112
+ * @type {number}
113
+ * @memberof ApiEsportTournamentsGet200ResponseResponseObjectItemsInner
114
+ */
115
+ leagueId?: number;
116
+ /**
117
+ *
118
+ * @type {Array<ApiEsportMatchesGet200ResponseResponseObjectItemsInner>}
119
+ * @memberof ApiEsportTournamentsGet200ResponseResponseObjectItemsInner
120
+ */
121
+ matches?: Array<ApiEsportMatchesGet200ResponseResponseObjectItemsInner>;
122
+ /**
123
+ *
124
+ * @type {ApiEsportVideogamesGet200ResponseResponseObjectInner}
125
+ * @memberof ApiEsportTournamentsGet200ResponseResponseObjectItemsInner
126
+ */
127
+ videogame?: ApiEsportVideogamesGet200ResponseResponseObjectInner;
128
+ }
129
+ /**
130
+ * Check if a given object implements the ApiEsportTournamentsGet200ResponseResponseObjectItemsInner interface.
131
+ */
132
+ export declare function instanceOfApiEsportTournamentsGet200ResponseResponseObjectItemsInner(value: object): value is ApiEsportTournamentsGet200ResponseResponseObjectItemsInner;
133
+ export declare function ApiEsportTournamentsGet200ResponseResponseObjectItemsInnerFromJSON(json: any): ApiEsportTournamentsGet200ResponseResponseObjectItemsInner;
134
+ export declare function ApiEsportTournamentsGet200ResponseResponseObjectItemsInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiEsportTournamentsGet200ResponseResponseObjectItemsInner;
135
+ export declare function ApiEsportTournamentsGet200ResponseResponseObjectItemsInnerToJSON(json: any): ApiEsportTournamentsGet200ResponseResponseObjectItemsInner;
136
+ export declare function ApiEsportTournamentsGet200ResponseResponseObjectItemsInnerToJSONTyped(value?: ApiEsportTournamentsGet200ResponseResponseObjectItemsInner | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,87 @@
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 { ApiEsportVideogamesGet200ResponseResponseObjectInnerFromJSON, ApiEsportVideogamesGet200ResponseResponseObjectInnerToJSON, } from './ApiEsportVideogamesGet200ResponseResponseObjectInner';
15
+ import { ApiEsportMatchesGet200ResponseResponseObjectItemsInnerFromJSON, ApiEsportMatchesGet200ResponseResponseObjectItemsInnerToJSON, } from './ApiEsportMatchesGet200ResponseResponseObjectItemsInner';
16
+ /**
17
+ * Check if a given object implements the ApiEsportTournamentsGet200ResponseResponseObjectItemsInner interface.
18
+ */
19
+ export function instanceOfApiEsportTournamentsGet200ResponseResponseObjectItemsInner(value) {
20
+ if (!('id' in value) || value['id'] === undefined)
21
+ return false;
22
+ if (!('name' in value) || value['name'] === undefined)
23
+ return false;
24
+ if (!('detailedStats' in value) || value['detailedStats'] === undefined)
25
+ return false;
26
+ if (!('slug' in value) || value['slug'] === undefined)
27
+ return false;
28
+ if (!('videogameId' in value) || value['videogameId'] === undefined)
29
+ return false;
30
+ return true;
31
+ }
32
+ export function ApiEsportTournamentsGet200ResponseResponseObjectItemsInnerFromJSON(json) {
33
+ return ApiEsportTournamentsGet200ResponseResponseObjectItemsInnerFromJSONTyped(json, false);
34
+ }
35
+ export function ApiEsportTournamentsGet200ResponseResponseObjectItemsInnerFromJSONTyped(json, ignoreDiscriminator) {
36
+ if (json == null) {
37
+ return json;
38
+ }
39
+ return {
40
+ 'id': json['id'],
41
+ 'name': json['name'],
42
+ 'type': json['type'] == null ? undefined : json['type'],
43
+ 'country': json['country'] == null ? undefined : json['country'],
44
+ 'beginAt': json['begin_at'] == null ? undefined : json['begin_at'],
45
+ 'detailedStats': json['detailed_stats'],
46
+ 'endAt': json['end_at'] == null ? undefined : json['end_at'],
47
+ 'winnerId': json['winner_id'] == null ? undefined : json['winner_id'],
48
+ 'winnerType': json['winner_type'] == null ? undefined : json['winner_type'],
49
+ 'slug': json['slug'],
50
+ 'prizepool': json['prizepool'] == null ? undefined : json['prizepool'],
51
+ 'tier': json['tier'] == null ? undefined : json['tier'],
52
+ 'region': json['region'] == null ? undefined : json['region'],
53
+ 'videogameId': json['videogame_id'],
54
+ 'serieId': json['serie_id'] == null ? undefined : json['serie_id'],
55
+ 'leagueId': json['league_id'] == null ? undefined : json['league_id'],
56
+ 'matches': json['matches'] == null ? undefined : (json['matches'].map(ApiEsportMatchesGet200ResponseResponseObjectItemsInnerFromJSON)),
57
+ 'videogame': json['videogame'] == null ? undefined : ApiEsportVideogamesGet200ResponseResponseObjectInnerFromJSON(json['videogame']),
58
+ };
59
+ }
60
+ export function ApiEsportTournamentsGet200ResponseResponseObjectItemsInnerToJSON(json) {
61
+ return ApiEsportTournamentsGet200ResponseResponseObjectItemsInnerToJSONTyped(json, false);
62
+ }
63
+ export function ApiEsportTournamentsGet200ResponseResponseObjectItemsInnerToJSONTyped(value, ignoreDiscriminator = false) {
64
+ if (value == null) {
65
+ return value;
66
+ }
67
+ return {
68
+ 'id': value['id'],
69
+ 'name': value['name'],
70
+ 'type': value['type'],
71
+ 'country': value['country'],
72
+ 'begin_at': value['beginAt'],
73
+ 'detailed_stats': value['detailedStats'],
74
+ 'end_at': value['endAt'],
75
+ 'winner_id': value['winnerId'],
76
+ 'winner_type': value['winnerType'],
77
+ 'slug': value['slug'],
78
+ 'prizepool': value['prizepool'],
79
+ 'tier': value['tier'],
80
+ 'region': value['region'],
81
+ 'videogame_id': value['videogameId'],
82
+ 'serie_id': value['serieId'],
83
+ 'league_id': value['leagueId'],
84
+ 'matches': value['matches'] == null ? undefined : (value['matches'].map(ApiEsportMatchesGet200ResponseResponseObjectItemsInnerToJSON)),
85
+ 'videogame': ApiEsportVideogamesGet200ResponseResponseObjectInnerToJSON(value['videogame']),
86
+ };
87
+ }
@@ -0,0 +1,70 @@
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 { ApiPadelMatchesGetFilterParameterName } from './ApiPadelMatchesGetFilterParameterName';
13
+ import type { ApiPadelMatchesGetFilterParameterId } from './ApiPadelMatchesGetFilterParameterId';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface ApiEsportTournamentsGetFilterParameter
18
+ */
19
+ export interface ApiEsportTournamentsGetFilterParameter {
20
+ /**
21
+ *
22
+ * @type {ApiPadelMatchesGetFilterParameterId}
23
+ * @memberof ApiEsportTournamentsGetFilterParameter
24
+ */
25
+ id?: ApiPadelMatchesGetFilterParameterId;
26
+ /**
27
+ *
28
+ * @type {ApiPadelMatchesGetFilterParameterName}
29
+ * @memberof ApiEsportTournamentsGetFilterParameter
30
+ */
31
+ name?: ApiPadelMatchesGetFilterParameterName;
32
+ /**
33
+ *
34
+ * @type {ApiPadelMatchesGetFilterParameterName}
35
+ * @memberof ApiEsportTournamentsGetFilterParameter
36
+ */
37
+ country?: ApiPadelMatchesGetFilterParameterName;
38
+ /**
39
+ *
40
+ * @type {ApiPadelMatchesGetFilterParameterName}
41
+ * @memberof ApiEsportTournamentsGetFilterParameter
42
+ */
43
+ region?: ApiPadelMatchesGetFilterParameterName;
44
+ /**
45
+ *
46
+ * @type {ApiPadelMatchesGetFilterParameterId}
47
+ * @memberof ApiEsportTournamentsGetFilterParameter
48
+ */
49
+ leagueId?: ApiPadelMatchesGetFilterParameterId;
50
+ /**
51
+ *
52
+ * @type {ApiPadelMatchesGetFilterParameterId}
53
+ * @memberof ApiEsportTournamentsGetFilterParameter
54
+ */
55
+ serieId?: ApiPadelMatchesGetFilterParameterId;
56
+ /**
57
+ *
58
+ * @type {ApiPadelMatchesGetFilterParameterId}
59
+ * @memberof ApiEsportTournamentsGetFilterParameter
60
+ */
61
+ videogameId?: ApiPadelMatchesGetFilterParameterId;
62
+ }
63
+ /**
64
+ * Check if a given object implements the ApiEsportTournamentsGetFilterParameter interface.
65
+ */
66
+ export declare function instanceOfApiEsportTournamentsGetFilterParameter(value: object): value is ApiEsportTournamentsGetFilterParameter;
67
+ export declare function ApiEsportTournamentsGetFilterParameterFromJSON(json: any): ApiEsportTournamentsGetFilterParameter;
68
+ export declare function ApiEsportTournamentsGetFilterParameterFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiEsportTournamentsGetFilterParameter;
69
+ export declare function ApiEsportTournamentsGetFilterParameterToJSON(json: any): ApiEsportTournamentsGetFilterParameter;
70
+ export declare function ApiEsportTournamentsGetFilterParameterToJSONTyped(value?: ApiEsportTournamentsGetFilterParameter | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,55 @@
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 { ApiPadelMatchesGetFilterParameterNameFromJSON, ApiPadelMatchesGetFilterParameterNameToJSON, } from './ApiPadelMatchesGetFilterParameterName';
15
+ import { ApiPadelMatchesGetFilterParameterIdFromJSON, ApiPadelMatchesGetFilterParameterIdToJSON, } from './ApiPadelMatchesGetFilterParameterId';
16
+ /**
17
+ * Check if a given object implements the ApiEsportTournamentsGetFilterParameter interface.
18
+ */
19
+ export function instanceOfApiEsportTournamentsGetFilterParameter(value) {
20
+ return true;
21
+ }
22
+ export function ApiEsportTournamentsGetFilterParameterFromJSON(json) {
23
+ return ApiEsportTournamentsGetFilterParameterFromJSONTyped(json, false);
24
+ }
25
+ export function ApiEsportTournamentsGetFilterParameterFromJSONTyped(json, ignoreDiscriminator) {
26
+ if (json == null) {
27
+ return json;
28
+ }
29
+ return {
30
+ 'id': json['id'] == null ? undefined : ApiPadelMatchesGetFilterParameterIdFromJSON(json['id']),
31
+ 'name': json['name'] == null ? undefined : ApiPadelMatchesGetFilterParameterNameFromJSON(json['name']),
32
+ 'country': json['country'] == null ? undefined : ApiPadelMatchesGetFilterParameterNameFromJSON(json['country']),
33
+ 'region': json['region'] == null ? undefined : ApiPadelMatchesGetFilterParameterNameFromJSON(json['region']),
34
+ 'leagueId': json['league_id'] == null ? undefined : ApiPadelMatchesGetFilterParameterIdFromJSON(json['league_id']),
35
+ 'serieId': json['serie_id'] == null ? undefined : ApiPadelMatchesGetFilterParameterIdFromJSON(json['serie_id']),
36
+ 'videogameId': json['videogame_id'] == null ? undefined : ApiPadelMatchesGetFilterParameterIdFromJSON(json['videogame_id']),
37
+ };
38
+ }
39
+ export function ApiEsportTournamentsGetFilterParameterToJSON(json) {
40
+ return ApiEsportTournamentsGetFilterParameterToJSONTyped(json, false);
41
+ }
42
+ export function ApiEsportTournamentsGetFilterParameterToJSONTyped(value, ignoreDiscriminator = false) {
43
+ if (value == null) {
44
+ return value;
45
+ }
46
+ return {
47
+ 'id': ApiPadelMatchesGetFilterParameterIdToJSON(value['id']),
48
+ 'name': ApiPadelMatchesGetFilterParameterNameToJSON(value['name']),
49
+ 'country': ApiPadelMatchesGetFilterParameterNameToJSON(value['country']),
50
+ 'region': ApiPadelMatchesGetFilterParameterNameToJSON(value['region']),
51
+ 'league_id': ApiPadelMatchesGetFilterParameterIdToJSON(value['leagueId']),
52
+ 'serie_id': ApiPadelMatchesGetFilterParameterIdToJSON(value['serieId']),
53
+ 'videogame_id': ApiPadelMatchesGetFilterParameterIdToJSON(value['videogameId']),
54
+ };
55
+ }
@@ -40,6 +40,11 @@ export * from './ApiEsportTeamsGet200Response';
40
40
  export * from './ApiEsportTeamsGet200ResponseResponseObject';
41
41
  export * from './ApiEsportTeamsGet200ResponseResponseObjectItemsInner';
42
42
  export * from './ApiEsportTeamsGetFilterParameter';
43
+ export * from './ApiEsportTeamsIdGet200Response';
44
+ export * from './ApiEsportTournamentsGet200Response';
45
+ export * from './ApiEsportTournamentsGet200ResponseResponseObject';
46
+ export * from './ApiEsportTournamentsGet200ResponseResponseObjectItemsInner';
47
+ export * from './ApiEsportTournamentsGetFilterParameter';
43
48
  export * from './ApiEsportVideogamesGet200Response';
44
49
  export * from './ApiEsportVideogamesGet200ResponseResponseObjectInner';
45
50
  export * from './ApiHealthCheckGet200Response';
@@ -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';
@@ -0,0 +1,100 @@
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 { ApiEsportTeamsGet200ResponseResponseObjectItemsInner } from './ApiEsportTeamsGet200ResponseResponseObjectItemsInner';
17
+ import {
18
+ ApiEsportTeamsGet200ResponseResponseObjectItemsInnerFromJSON,
19
+ ApiEsportTeamsGet200ResponseResponseObjectItemsInnerFromJSONTyped,
20
+ ApiEsportTeamsGet200ResponseResponseObjectItemsInnerToJSON,
21
+ ApiEsportTeamsGet200ResponseResponseObjectItemsInnerToJSONTyped,
22
+ } from './ApiEsportTeamsGet200ResponseResponseObjectItemsInner';
23
+
24
+ /**
25
+ *
26
+ * @export
27
+ * @interface ApiEsportTeamsIdGet200Response
28
+ */
29
+ export interface ApiEsportTeamsIdGet200Response {
30
+ /**
31
+ *
32
+ * @type {boolean}
33
+ * @memberof ApiEsportTeamsIdGet200Response
34
+ */
35
+ success: boolean;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof ApiEsportTeamsIdGet200Response
40
+ */
41
+ message: string;
42
+ /**
43
+ *
44
+ * @type {ApiEsportTeamsGet200ResponseResponseObjectItemsInner}
45
+ * @memberof ApiEsportTeamsIdGet200Response
46
+ */
47
+ responseObject?: ApiEsportTeamsGet200ResponseResponseObjectItemsInner;
48
+ /**
49
+ *
50
+ * @type {number}
51
+ * @memberof ApiEsportTeamsIdGet200Response
52
+ */
53
+ statusCode: number;
54
+ }
55
+
56
+ /**
57
+ * Check if a given object implements the ApiEsportTeamsIdGet200Response interface.
58
+ */
59
+ export function instanceOfApiEsportTeamsIdGet200Response(value: object): value is ApiEsportTeamsIdGet200Response {
60
+ if (!('success' in value) || value['success'] === undefined) return false;
61
+ if (!('message' in value) || value['message'] === undefined) return false;
62
+ if (!('statusCode' in value) || value['statusCode'] === undefined) return false;
63
+ return true;
64
+ }
65
+
66
+ export function ApiEsportTeamsIdGet200ResponseFromJSON(json: any): ApiEsportTeamsIdGet200Response {
67
+ return ApiEsportTeamsIdGet200ResponseFromJSONTyped(json, false);
68
+ }
69
+
70
+ export function ApiEsportTeamsIdGet200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiEsportTeamsIdGet200Response {
71
+ if (json == null) {
72
+ return json;
73
+ }
74
+ return {
75
+
76
+ 'success': json['success'],
77
+ 'message': json['message'],
78
+ 'responseObject': json['responseObject'] == null ? undefined : ApiEsportTeamsGet200ResponseResponseObjectItemsInnerFromJSON(json['responseObject']),
79
+ 'statusCode': json['statusCode'],
80
+ };
81
+ }
82
+
83
+ export function ApiEsportTeamsIdGet200ResponseToJSON(json: any): ApiEsportTeamsIdGet200Response {
84
+ return ApiEsportTeamsIdGet200ResponseToJSONTyped(json, false);
85
+ }
86
+
87
+ export function ApiEsportTeamsIdGet200ResponseToJSONTyped(value?: ApiEsportTeamsIdGet200Response | null, ignoreDiscriminator: boolean = false): any {
88
+ if (value == null) {
89
+ return value;
90
+ }
91
+
92
+ return {
93
+
94
+ 'success': value['success'],
95
+ 'message': value['message'],
96
+ 'responseObject': ApiEsportTeamsGet200ResponseResponseObjectItemsInnerToJSON(value['responseObject']),
97
+ 'statusCode': value['statusCode'],
98
+ };
99
+ }
100
+
@@ -0,0 +1,100 @@
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 { ApiEsportTournamentsGet200ResponseResponseObject } from './ApiEsportTournamentsGet200ResponseResponseObject';
17
+ import {
18
+ ApiEsportTournamentsGet200ResponseResponseObjectFromJSON,
19
+ ApiEsportTournamentsGet200ResponseResponseObjectFromJSONTyped,
20
+ ApiEsportTournamentsGet200ResponseResponseObjectToJSON,
21
+ ApiEsportTournamentsGet200ResponseResponseObjectToJSONTyped,
22
+ } from './ApiEsportTournamentsGet200ResponseResponseObject';
23
+
24
+ /**
25
+ *
26
+ * @export
27
+ * @interface ApiEsportTournamentsGet200Response
28
+ */
29
+ export interface ApiEsportTournamentsGet200Response {
30
+ /**
31
+ *
32
+ * @type {boolean}
33
+ * @memberof ApiEsportTournamentsGet200Response
34
+ */
35
+ success: boolean;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof ApiEsportTournamentsGet200Response
40
+ */
41
+ message: string;
42
+ /**
43
+ *
44
+ * @type {ApiEsportTournamentsGet200ResponseResponseObject}
45
+ * @memberof ApiEsportTournamentsGet200Response
46
+ */
47
+ responseObject?: ApiEsportTournamentsGet200ResponseResponseObject;
48
+ /**
49
+ *
50
+ * @type {number}
51
+ * @memberof ApiEsportTournamentsGet200Response
52
+ */
53
+ statusCode: number;
54
+ }
55
+
56
+ /**
57
+ * Check if a given object implements the ApiEsportTournamentsGet200Response interface.
58
+ */
59
+ export function instanceOfApiEsportTournamentsGet200Response(value: object): value is ApiEsportTournamentsGet200Response {
60
+ if (!('success' in value) || value['success'] === undefined) return false;
61
+ if (!('message' in value) || value['message'] === undefined) return false;
62
+ if (!('statusCode' in value) || value['statusCode'] === undefined) return false;
63
+ return true;
64
+ }
65
+
66
+ export function ApiEsportTournamentsGet200ResponseFromJSON(json: any): ApiEsportTournamentsGet200Response {
67
+ return ApiEsportTournamentsGet200ResponseFromJSONTyped(json, false);
68
+ }
69
+
70
+ export function ApiEsportTournamentsGet200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiEsportTournamentsGet200Response {
71
+ if (json == null) {
72
+ return json;
73
+ }
74
+ return {
75
+
76
+ 'success': json['success'],
77
+ 'message': json['message'],
78
+ 'responseObject': json['responseObject'] == null ? undefined : ApiEsportTournamentsGet200ResponseResponseObjectFromJSON(json['responseObject']),
79
+ 'statusCode': json['statusCode'],
80
+ };
81
+ }
82
+
83
+ export function ApiEsportTournamentsGet200ResponseToJSON(json: any): ApiEsportTournamentsGet200Response {
84
+ return ApiEsportTournamentsGet200ResponseToJSONTyped(json, false);
85
+ }
86
+
87
+ export function ApiEsportTournamentsGet200ResponseToJSONTyped(value?: ApiEsportTournamentsGet200Response | null, ignoreDiscriminator: boolean = false): any {
88
+ if (value == null) {
89
+ return value;
90
+ }
91
+
92
+ return {
93
+
94
+ 'success': value['success'],
95
+ 'message': value['message'],
96
+ 'responseObject': ApiEsportTournamentsGet200ResponseResponseObjectToJSON(value['responseObject']),
97
+ 'statusCode': value['statusCode'],
98
+ };
99
+ }
100
+