@drxsuperapp/sdk 1.1.121 → 1.1.122
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 +4 -1
- package/deploy.log +20 -16
- package/dist/models/ApiPadelMatchesIdGet200ResponseResponseObject.d.ts +3 -2
- package/dist/models/ApiPadelMatchesIdGet200ResponseResponseObject.js +3 -2
- package/dist/models/ApiPadelMatchesIdGet200ResponseResponseObjectSets.d.ts +6 -5
- package/dist/models/ApiPadelMatchesIdGet200ResponseResponseObjectSets.js +6 -5
- package/dist/models/ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInner.d.ts +39 -0
- package/dist/models/ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInner.js +48 -0
- package/dist/models/ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInnerGamesInner.d.ts +44 -0
- package/dist/models/ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInnerGamesInner.js +51 -0
- package/dist/models/ApiPadelMatchesIdGet200ResponseResponseObjectStats.d.ts +69 -0
- package/dist/models/ApiPadelMatchesIdGet200ResponseResponseObjectStats.js +58 -0
- package/dist/models/ApiPadelMatchesIdGet200ResponseResponseObjectStatsConnections.d.ts +32 -0
- package/dist/models/{ApiPadelMatchesIdGet200ResponseResponseObjectSetsConnections.js → ApiPadelMatchesIdGet200ResponseResponseObjectStatsConnections.js} +8 -8
- package/dist/models/index.d.ts +4 -1
- package/dist/models/index.js +4 -1
- package/models/ApiPadelMatchesIdGet200ResponseResponseObject.ts +11 -4
- package/models/ApiPadelMatchesIdGet200ResponseResponseObjectSets.ts +21 -14
- package/models/ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInner.ts +83 -0
- package/models/ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInnerGamesInner.ts +84 -0
- package/models/ApiPadelMatchesIdGet200ResponseResponseObjectStats.ts +123 -0
- package/models/ApiPadelMatchesIdGet200ResponseResponseObjectStatsConnections.ts +66 -0
- package/models/index.ts +4 -1
- package/package.json +1 -1
- package/dist/models/ApiPadelMatchesIdGet200ResponseResponseObjectSetsConnections.d.ts +0 -32
- package/models/ApiPadelMatchesIdGet200ResponseResponseObjectSetsConnections.ts +0 -66
package/.openapi-generator/FILES
CHANGED
|
@@ -30,7 +30,10 @@ models/ApiPadelMatchesGetFilterParameterPlayedAt.ts
|
|
|
30
30
|
models/ApiPadelMatchesIdGet200Response.ts
|
|
31
31
|
models/ApiPadelMatchesIdGet200ResponseResponseObject.ts
|
|
32
32
|
models/ApiPadelMatchesIdGet200ResponseResponseObjectSets.ts
|
|
33
|
-
models/
|
|
33
|
+
models/ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInner.ts
|
|
34
|
+
models/ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInnerGamesInner.ts
|
|
35
|
+
models/ApiPadelMatchesIdGet200ResponseResponseObjectStats.ts
|
|
36
|
+
models/ApiPadelMatchesIdGet200ResponseResponseObjectStatsConnections.ts
|
|
34
37
|
models/ApiPadelSeedGet200Response.ts
|
|
35
38
|
models/ApiTournamentCleanupGet200Response.ts
|
|
36
39
|
models/ApiTournamentGameTypesGet200Response.ts
|
package/deploy.log
CHANGED
|
@@ -25,7 +25,10 @@
|
|
|
25
25
|
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_padel_matches_get_200_response_responseObject_items_inner. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_padel_matches_get_200_response_responseObject_items_inner=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_padel_matches_get_200_response_responseObject_items_inner=NewModel,ModelA=NewModelA in CLI).
|
|
26
26
|
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_padel_matches_get_200_response_responseObject. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_padel_matches_get_200_response_responseObject=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_padel_matches_get_200_response_responseObject=NewModel,ModelA=NewModelA in CLI).
|
|
27
27
|
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_padel_matches_get_200_response. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_padel_matches_get_200_response=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_padel_matches_get_200_response=NewModel,ModelA=NewModelA in CLI).
|
|
28
|
-
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as
|
|
28
|
+
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_padel_matches__id__get_200_response_responseObject_stats_connections. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_padel_matches__id__get_200_response_responseObject_stats_connections=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_padel_matches__id__get_200_response_responseObject_stats_connections=NewModel,ModelA=NewModelA in CLI).
|
|
29
|
+
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_padel_matches__id__get_200_response_responseObject_stats. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_padel_matches__id__get_200_response_responseObject_stats=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_padel_matches__id__get_200_response_responseObject_stats=NewModel,ModelA=NewModelA in CLI).
|
|
30
|
+
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_padel_matches__id__get_200_response_responseObject_sets_sets_inner_games_inner. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_padel_matches__id__get_200_response_responseObject_sets_sets_inner_games_inner=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_padel_matches__id__get_200_response_responseObject_sets_sets_inner_games_inner=NewModel,ModelA=NewModelA in CLI).
|
|
31
|
+
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_padel_matches__id__get_200_response_responseObject_sets_sets_inner. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_padel_matches__id__get_200_response_responseObject_sets_sets_inner=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_padel_matches__id__get_200_response_responseObject_sets_sets_inner=NewModel,ModelA=NewModelA in CLI).
|
|
29
32
|
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_padel_matches__id__get_200_response_responseObject_sets. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_padel_matches__id__get_200_response_responseObject_sets=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_padel_matches__id__get_200_response_responseObject_sets=NewModel,ModelA=NewModelA in CLI).
|
|
30
33
|
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_padel_matches__id__get_200_response_responseObject. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_padel_matches__id__get_200_response_responseObject=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_padel_matches__id__get_200_response_responseObject=NewModel,ModelA=NewModelA in CLI).
|
|
31
34
|
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_padel_matches__id__get_200_response. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_padel_matches__id__get_200_response=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_padel_matches__id__get_200_response=NewModel,ModelA=NewModelA in CLI).
|
|
@@ -95,7 +98,10 @@
|
|
|
95
98
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiPadelMatchesIdGet200Response.ts
|
|
96
99
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiPadelMatchesIdGet200ResponseResponseObject.ts
|
|
97
100
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiPadelMatchesIdGet200ResponseResponseObjectSets.ts
|
|
98
|
-
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/
|
|
101
|
+
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInner.ts
|
|
102
|
+
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInnerGamesInner.ts
|
|
103
|
+
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiPadelMatchesIdGet200ResponseResponseObjectStats.ts
|
|
104
|
+
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiPadelMatchesIdGet200ResponseResponseObjectStatsConnections.ts
|
|
99
105
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiPadelSeedGet200Response.ts
|
|
100
106
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiTournamentCleanupGet200Response.ts
|
|
101
107
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiTournamentGameTypesGet200Response.ts
|
|
@@ -182,27 +188,25 @@
|
|
|
182
188
|
# https://opencollective.com/openapi_generator/donate #
|
|
183
189
|
################################################################################
|
|
184
190
|
✅ SDK generated
|
|
185
|
-
[master
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
delete mode 100644 models/ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatch.ts
|
|
193
|
-
delete mode 100644 models/ApiPadelMatchesIdGet200ResponseResponseObjectStatsMatchAnyOfValue.ts
|
|
191
|
+
[master d9d6a7d] VPS: Generated API SDK
|
|
192
|
+
9 files changed, 396 insertions(+), 86 deletions(-)
|
|
193
|
+
delete mode 100644 models/ApiPadelMatchesIdGet200ResponseResponseObjectSetsConnections.ts
|
|
194
|
+
create mode 100644 models/ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInner.ts
|
|
195
|
+
create mode 100644 models/ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInnerGamesInner.ts
|
|
196
|
+
create mode 100644 models/ApiPadelMatchesIdGet200ResponseResponseObjectStats.ts
|
|
197
|
+
create mode 100644 models/ApiPadelMatchesIdGet200ResponseResponseObjectStatsConnections.ts
|
|
194
198
|
To https://gitlab.com/drx-super/drx-sdk.git
|
|
195
|
-
|
|
199
|
+
4c75101..d9d6a7d master -> master
|
|
196
200
|
✅ Changes committed and pushed
|
|
197
|
-
v1.1.
|
|
201
|
+
v1.1.122
|
|
198
202
|
To https://gitlab.com/drx-super/drx-sdk.git
|
|
199
|
-
|
|
203
|
+
d9d6a7d..e49172d master -> master
|
|
200
204
|
✅ Version bumped
|
|
201
205
|
|
|
202
|
-
> @drxsuperapp/sdk@1.1.
|
|
206
|
+
> @drxsuperapp/sdk@1.1.122 prepublishOnly
|
|
203
207
|
> npm run build
|
|
204
208
|
|
|
205
209
|
|
|
206
|
-
> @drxsuperapp/sdk@1.1.
|
|
210
|
+
> @drxsuperapp/sdk@1.1.122 build
|
|
207
211
|
> tsc
|
|
208
212
|
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { ApiPadelMatchesIdGet200ResponseResponseObjectSets } from './ApiPadelMatchesIdGet200ResponseResponseObjectSets';
|
|
13
|
+
import type { ApiPadelMatchesIdGet200ResponseResponseObjectStats } from './ApiPadelMatchesIdGet200ResponseResponseObjectStats';
|
|
13
14
|
import type { ApiPadelMatchesGet200ResponseResponseObjectItemsInnerPlayers } from './ApiPadelMatchesGet200ResponseResponseObjectItemsInnerPlayers';
|
|
14
15
|
import type { ApiPadelMatchesGet200ResponseResponseObjectItemsInnerScoreInner } from './ApiPadelMatchesGet200ResponseResponseObjectItemsInnerScoreInner';
|
|
15
16
|
/**
|
|
@@ -110,10 +111,10 @@ export interface ApiPadelMatchesIdGet200ResponseResponseObject {
|
|
|
110
111
|
court: string | null;
|
|
111
112
|
/**
|
|
112
113
|
*
|
|
113
|
-
* @type {
|
|
114
|
+
* @type {ApiPadelMatchesIdGet200ResponseResponseObjectStats}
|
|
114
115
|
* @memberof ApiPadelMatchesIdGet200ResponseResponseObject
|
|
115
116
|
*/
|
|
116
|
-
stats?:
|
|
117
|
+
stats?: ApiPadelMatchesIdGet200ResponseResponseObjectStats | null;
|
|
117
118
|
/**
|
|
118
119
|
*
|
|
119
120
|
* @type {ApiPadelMatchesIdGet200ResponseResponseObjectSets}
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
import { ApiPadelMatchesIdGet200ResponseResponseObjectSetsFromJSON, ApiPadelMatchesIdGet200ResponseResponseObjectSetsToJSON, } from './ApiPadelMatchesIdGet200ResponseResponseObjectSets';
|
|
15
|
+
import { ApiPadelMatchesIdGet200ResponseResponseObjectStatsFromJSON, ApiPadelMatchesIdGet200ResponseResponseObjectStatsToJSON, } from './ApiPadelMatchesIdGet200ResponseResponseObjectStats';
|
|
15
16
|
import { ApiPadelMatchesGet200ResponseResponseObjectItemsInnerPlayersFromJSON, ApiPadelMatchesGet200ResponseResponseObjectItemsInnerPlayersToJSON, } from './ApiPadelMatchesGet200ResponseResponseObjectItemsInnerPlayers';
|
|
16
17
|
import { ApiPadelMatchesGet200ResponseResponseObjectItemsInnerScoreInnerFromJSON, ApiPadelMatchesGet200ResponseResponseObjectItemsInnerScoreInnerToJSON, } from './ApiPadelMatchesGet200ResponseResponseObjectItemsInnerScoreInner';
|
|
17
18
|
/**
|
|
@@ -75,7 +76,7 @@ export function ApiPadelMatchesIdGet200ResponseResponseObjectFromJSONTyped(json,
|
|
|
75
76
|
'category': json['category'],
|
|
76
77
|
'duration': json['duration'],
|
|
77
78
|
'court': json['court'],
|
|
78
|
-
'stats': json['stats'] == null ? undefined : json['stats'],
|
|
79
|
+
'stats': json['stats'] == null ? undefined : ApiPadelMatchesIdGet200ResponseResponseObjectStatsFromJSON(json['stats']),
|
|
79
80
|
'sets': json['sets'] == null ? undefined : ApiPadelMatchesIdGet200ResponseResponseObjectSetsFromJSON(json['sets']),
|
|
80
81
|
'createdAt': (new Date(json['createdAt'])),
|
|
81
82
|
'updatedAt': (new Date(json['updatedAt'])),
|
|
@@ -104,7 +105,7 @@ export function ApiPadelMatchesIdGet200ResponseResponseObjectToJSONTyped(value,
|
|
|
104
105
|
'category': value['category'],
|
|
105
106
|
'duration': value['duration'],
|
|
106
107
|
'court': value['court'],
|
|
107
|
-
'stats': value['stats'],
|
|
108
|
+
'stats': ApiPadelMatchesIdGet200ResponseResponseObjectStatsToJSON(value['stats']),
|
|
108
109
|
'sets': ApiPadelMatchesIdGet200ResponseResponseObjectSetsToJSON(value['sets']),
|
|
109
110
|
'createdAt': ((value['createdAt']).toISOString()),
|
|
110
111
|
'updatedAt': ((value['updatedAt']).toISOString()),
|
|
@@ -9,7 +9,8 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type {
|
|
12
|
+
import type { ApiPadelMatchesIdGet200ResponseResponseObjectStatsConnections } from './ApiPadelMatchesIdGet200ResponseResponseObjectStatsConnections';
|
|
13
|
+
import type { ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInner } from './ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInner';
|
|
13
14
|
/**
|
|
14
15
|
*
|
|
15
16
|
* @export
|
|
@@ -30,16 +31,16 @@ export interface ApiPadelMatchesIdGet200ResponseResponseObjectSets {
|
|
|
30
31
|
self: string;
|
|
31
32
|
/**
|
|
32
33
|
*
|
|
33
|
-
* @type {Array<
|
|
34
|
+
* @type {Array<ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInner>}
|
|
34
35
|
* @memberof ApiPadelMatchesIdGet200ResponseResponseObjectSets
|
|
35
36
|
*/
|
|
36
|
-
sets: Array<
|
|
37
|
+
sets: Array<ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInner>;
|
|
37
38
|
/**
|
|
38
39
|
*
|
|
39
|
-
* @type {
|
|
40
|
+
* @type {ApiPadelMatchesIdGet200ResponseResponseObjectStatsConnections}
|
|
40
41
|
* @memberof ApiPadelMatchesIdGet200ResponseResponseObjectSets
|
|
41
42
|
*/
|
|
42
|
-
connections:
|
|
43
|
+
connections: ApiPadelMatchesIdGet200ResponseResponseObjectStatsConnections;
|
|
43
44
|
}
|
|
44
45
|
/**
|
|
45
46
|
* Check if a given object implements the ApiPadelMatchesIdGet200ResponseResponseObjectSets interface.
|
|
@@ -11,7 +11,8 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
-
import {
|
|
14
|
+
import { ApiPadelMatchesIdGet200ResponseResponseObjectStatsConnectionsFromJSON, ApiPadelMatchesIdGet200ResponseResponseObjectStatsConnectionsToJSON, } from './ApiPadelMatchesIdGet200ResponseResponseObjectStatsConnections';
|
|
15
|
+
import { ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInnerFromJSON, ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInnerToJSON, } from './ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInner';
|
|
15
16
|
/**
|
|
16
17
|
* Check if a given object implements the ApiPadelMatchesIdGet200ResponseResponseObjectSets interface.
|
|
17
18
|
*/
|
|
@@ -36,8 +37,8 @@ export function ApiPadelMatchesIdGet200ResponseResponseObjectSetsFromJSONTyped(j
|
|
|
36
37
|
return {
|
|
37
38
|
'id': json['id'],
|
|
38
39
|
'self': json['self'],
|
|
39
|
-
'sets': json['sets'],
|
|
40
|
-
'connections':
|
|
40
|
+
'sets': (json['sets'].map(ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInnerFromJSON)),
|
|
41
|
+
'connections': ApiPadelMatchesIdGet200ResponseResponseObjectStatsConnectionsFromJSON(json['connections']),
|
|
41
42
|
};
|
|
42
43
|
}
|
|
43
44
|
export function ApiPadelMatchesIdGet200ResponseResponseObjectSetsToJSON(json) {
|
|
@@ -50,7 +51,7 @@ export function ApiPadelMatchesIdGet200ResponseResponseObjectSetsToJSONTyped(val
|
|
|
50
51
|
return {
|
|
51
52
|
'id': value['id'],
|
|
52
53
|
'self': value['self'],
|
|
53
|
-
'sets': value['sets'],
|
|
54
|
-
'connections':
|
|
54
|
+
'sets': (value['sets'].map(ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInnerToJSON)),
|
|
55
|
+
'connections': ApiPadelMatchesIdGet200ResponseResponseObjectStatsConnectionsToJSON(value['connections']),
|
|
55
56
|
};
|
|
56
57
|
}
|
|
@@ -0,0 +1,39 @@
|
|
|
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 { ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInnerGamesInner } from './ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInnerGamesInner';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInner
|
|
17
|
+
*/
|
|
18
|
+
export interface ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInner {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInnerGamesInner>}
|
|
22
|
+
* @memberof ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInner
|
|
23
|
+
*/
|
|
24
|
+
games: Array<ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInnerGamesInner>;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInner
|
|
29
|
+
*/
|
|
30
|
+
setNumber: number;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInner interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInner(value: object): value is ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInner;
|
|
36
|
+
export declare function ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInnerFromJSON(json: any): ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInner;
|
|
37
|
+
export declare function ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInner;
|
|
38
|
+
export declare function ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInnerToJSON(json: any): ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInner;
|
|
39
|
+
export declare function ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInnerToJSONTyped(value?: ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInner | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,48 @@
|
|
|
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 { ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInnerGamesInnerFromJSON, ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInnerGamesInnerToJSON, } from './ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInnerGamesInner';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInner interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInner(value) {
|
|
19
|
+
if (!('games' in value) || value['games'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
if (!('setNumber' in value) || value['setNumber'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
return true;
|
|
24
|
+
}
|
|
25
|
+
export function ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInnerFromJSON(json) {
|
|
26
|
+
return ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInnerFromJSONTyped(json, false);
|
|
27
|
+
}
|
|
28
|
+
export function ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
29
|
+
if (json == null) {
|
|
30
|
+
return json;
|
|
31
|
+
}
|
|
32
|
+
return {
|
|
33
|
+
'games': (json['games'].map(ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInnerGamesInnerFromJSON)),
|
|
34
|
+
'setNumber': json['set_number'],
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
export function ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInnerToJSON(json) {
|
|
38
|
+
return ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInnerToJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
export function ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInnerToJSONTyped(value, ignoreDiscriminator = false) {
|
|
41
|
+
if (value == null) {
|
|
42
|
+
return value;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
'games': (value['games'].map(ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInnerGamesInnerToJSON)),
|
|
46
|
+
'set_number': value['setNumber'],
|
|
47
|
+
};
|
|
48
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
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 ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInnerGamesInner
|
|
16
|
+
*/
|
|
17
|
+
export interface ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInnerGamesInner {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {Array<string>}
|
|
21
|
+
* @memberof ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInnerGamesInner
|
|
22
|
+
*/
|
|
23
|
+
points: Array<string>;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInnerGamesInner
|
|
28
|
+
*/
|
|
29
|
+
gameScore: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInnerGamesInner
|
|
34
|
+
*/
|
|
35
|
+
gameNumber: number;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInnerGamesInner interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInnerGamesInner(value: object): value is ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInnerGamesInner;
|
|
41
|
+
export declare function ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInnerGamesInnerFromJSON(json: any): ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInnerGamesInner;
|
|
42
|
+
export declare function ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInnerGamesInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInnerGamesInner;
|
|
43
|
+
export declare function ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInnerGamesInnerToJSON(json: any): ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInnerGamesInner;
|
|
44
|
+
export declare function ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInnerGamesInnerToJSONTyped(value?: ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInnerGamesInner | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,51 @@
|
|
|
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 ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInnerGamesInner interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInnerGamesInner(value) {
|
|
18
|
+
if (!('points' in value) || value['points'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('gameScore' in value) || value['gameScore'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('gameNumber' in value) || value['gameNumber'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
return true;
|
|
25
|
+
}
|
|
26
|
+
export function ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInnerGamesInnerFromJSON(json) {
|
|
27
|
+
return ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInnerGamesInnerFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
export function ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInnerGamesInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
+
if (json == null) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'points': json['points'],
|
|
35
|
+
'gameScore': json['game_score'],
|
|
36
|
+
'gameNumber': json['game_number'],
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
export function ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInnerGamesInnerToJSON(json) {
|
|
40
|
+
return ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInnerGamesInnerToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
export function ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInnerGamesInnerToJSONTyped(value, ignoreDiscriminator = false) {
|
|
43
|
+
if (value == null) {
|
|
44
|
+
return value;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'points': value['points'],
|
|
48
|
+
'game_score': value['gameScore'],
|
|
49
|
+
'game_number': value['gameNumber'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
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 { ApiPadelMatchesIdGet200ResponseResponseObjectStatsConnections } from './ApiPadelMatchesIdGet200ResponseResponseObjectStatsConnections';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ApiPadelMatchesIdGet200ResponseResponseObjectStats
|
|
17
|
+
*/
|
|
18
|
+
export interface ApiPadelMatchesIdGet200ResponseResponseObjectStats {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof ApiPadelMatchesIdGet200ResponseResponseObjectStats
|
|
23
|
+
*/
|
|
24
|
+
id: number;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ApiPadelMatchesIdGet200ResponseResponseObjectStats
|
|
29
|
+
*/
|
|
30
|
+
self: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {any}
|
|
34
|
+
* @memberof ApiPadelMatchesIdGet200ResponseResponseObjectStats
|
|
35
|
+
*/
|
|
36
|
+
match?: any | null;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {any}
|
|
40
|
+
* @memberof ApiPadelMatchesIdGet200ResponseResponseObjectStats
|
|
41
|
+
*/
|
|
42
|
+
set1?: any | null;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {any}
|
|
46
|
+
* @memberof ApiPadelMatchesIdGet200ResponseResponseObjectStats
|
|
47
|
+
*/
|
|
48
|
+
set2?: any | null;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {any}
|
|
52
|
+
* @memberof ApiPadelMatchesIdGet200ResponseResponseObjectStats
|
|
53
|
+
*/
|
|
54
|
+
set3?: any | null;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {ApiPadelMatchesIdGet200ResponseResponseObjectStatsConnections}
|
|
58
|
+
* @memberof ApiPadelMatchesIdGet200ResponseResponseObjectStats
|
|
59
|
+
*/
|
|
60
|
+
connections?: ApiPadelMatchesIdGet200ResponseResponseObjectStatsConnections;
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* Check if a given object implements the ApiPadelMatchesIdGet200ResponseResponseObjectStats interface.
|
|
64
|
+
*/
|
|
65
|
+
export declare function instanceOfApiPadelMatchesIdGet200ResponseResponseObjectStats(value: object): value is ApiPadelMatchesIdGet200ResponseResponseObjectStats;
|
|
66
|
+
export declare function ApiPadelMatchesIdGet200ResponseResponseObjectStatsFromJSON(json: any): ApiPadelMatchesIdGet200ResponseResponseObjectStats;
|
|
67
|
+
export declare function ApiPadelMatchesIdGet200ResponseResponseObjectStatsFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiPadelMatchesIdGet200ResponseResponseObjectStats;
|
|
68
|
+
export declare function ApiPadelMatchesIdGet200ResponseResponseObjectStatsToJSON(json: any): ApiPadelMatchesIdGet200ResponseResponseObjectStats;
|
|
69
|
+
export declare function ApiPadelMatchesIdGet200ResponseResponseObjectStatsToJSONTyped(value?: ApiPadelMatchesIdGet200ResponseResponseObjectStats | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,58 @@
|
|
|
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 { ApiPadelMatchesIdGet200ResponseResponseObjectStatsConnectionsFromJSON, ApiPadelMatchesIdGet200ResponseResponseObjectStatsConnectionsToJSON, } from './ApiPadelMatchesIdGet200ResponseResponseObjectStatsConnections';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the ApiPadelMatchesIdGet200ResponseResponseObjectStats interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfApiPadelMatchesIdGet200ResponseResponseObjectStats(value) {
|
|
19
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
if (!('self' in value) || value['self'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
return true;
|
|
24
|
+
}
|
|
25
|
+
export function ApiPadelMatchesIdGet200ResponseResponseObjectStatsFromJSON(json) {
|
|
26
|
+
return ApiPadelMatchesIdGet200ResponseResponseObjectStatsFromJSONTyped(json, false);
|
|
27
|
+
}
|
|
28
|
+
export function ApiPadelMatchesIdGet200ResponseResponseObjectStatsFromJSONTyped(json, ignoreDiscriminator) {
|
|
29
|
+
if (json == null) {
|
|
30
|
+
return json;
|
|
31
|
+
}
|
|
32
|
+
return {
|
|
33
|
+
'id': json['id'],
|
|
34
|
+
'self': json['self'],
|
|
35
|
+
'match': json['match'] == null ? undefined : json['match'],
|
|
36
|
+
'set1': json['set_1'] == null ? undefined : json['set_1'],
|
|
37
|
+
'set2': json['set_2'] == null ? undefined : json['set_2'],
|
|
38
|
+
'set3': json['set_3'] == null ? undefined : json['set_3'],
|
|
39
|
+
'connections': json['connections'] == null ? undefined : ApiPadelMatchesIdGet200ResponseResponseObjectStatsConnectionsFromJSON(json['connections']),
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
export function ApiPadelMatchesIdGet200ResponseResponseObjectStatsToJSON(json) {
|
|
43
|
+
return ApiPadelMatchesIdGet200ResponseResponseObjectStatsToJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
export function ApiPadelMatchesIdGet200ResponseResponseObjectStatsToJSONTyped(value, ignoreDiscriminator = false) {
|
|
46
|
+
if (value == null) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'id': value['id'],
|
|
51
|
+
'self': value['self'],
|
|
52
|
+
'match': value['match'],
|
|
53
|
+
'set_1': value['set1'],
|
|
54
|
+
'set_2': value['set2'],
|
|
55
|
+
'set_3': value['set3'],
|
|
56
|
+
'connections': ApiPadelMatchesIdGet200ResponseResponseObjectStatsConnectionsToJSON(value['connections']),
|
|
57
|
+
};
|
|
58
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
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 ApiPadelMatchesIdGet200ResponseResponseObjectStatsConnections
|
|
16
|
+
*/
|
|
17
|
+
export interface ApiPadelMatchesIdGet200ResponseResponseObjectStatsConnections {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ApiPadelMatchesIdGet200ResponseResponseObjectStatsConnections
|
|
22
|
+
*/
|
|
23
|
+
match: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the ApiPadelMatchesIdGet200ResponseResponseObjectStatsConnections interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfApiPadelMatchesIdGet200ResponseResponseObjectStatsConnections(value: object): value is ApiPadelMatchesIdGet200ResponseResponseObjectStatsConnections;
|
|
29
|
+
export declare function ApiPadelMatchesIdGet200ResponseResponseObjectStatsConnectionsFromJSON(json: any): ApiPadelMatchesIdGet200ResponseResponseObjectStatsConnections;
|
|
30
|
+
export declare function ApiPadelMatchesIdGet200ResponseResponseObjectStatsConnectionsFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiPadelMatchesIdGet200ResponseResponseObjectStatsConnections;
|
|
31
|
+
export declare function ApiPadelMatchesIdGet200ResponseResponseObjectStatsConnectionsToJSON(json: any): ApiPadelMatchesIdGet200ResponseResponseObjectStatsConnections;
|
|
32
|
+
export declare function ApiPadelMatchesIdGet200ResponseResponseObjectStatsConnectionsToJSONTyped(value?: ApiPadelMatchesIdGet200ResponseResponseObjectStatsConnections | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -12,17 +12,17 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
/**
|
|
15
|
-
* Check if a given object implements the
|
|
15
|
+
* Check if a given object implements the ApiPadelMatchesIdGet200ResponseResponseObjectStatsConnections interface.
|
|
16
16
|
*/
|
|
17
|
-
export function
|
|
17
|
+
export function instanceOfApiPadelMatchesIdGet200ResponseResponseObjectStatsConnections(value) {
|
|
18
18
|
if (!('match' in value) || value['match'] === undefined)
|
|
19
19
|
return false;
|
|
20
20
|
return true;
|
|
21
21
|
}
|
|
22
|
-
export function
|
|
23
|
-
return
|
|
22
|
+
export function ApiPadelMatchesIdGet200ResponseResponseObjectStatsConnectionsFromJSON(json) {
|
|
23
|
+
return ApiPadelMatchesIdGet200ResponseResponseObjectStatsConnectionsFromJSONTyped(json, false);
|
|
24
24
|
}
|
|
25
|
-
export function
|
|
25
|
+
export function ApiPadelMatchesIdGet200ResponseResponseObjectStatsConnectionsFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
26
|
if (json == null) {
|
|
27
27
|
return json;
|
|
28
28
|
}
|
|
@@ -30,10 +30,10 @@ export function ApiPadelMatchesIdGet200ResponseResponseObjectSetsConnectionsFrom
|
|
|
30
30
|
'match': json['match'],
|
|
31
31
|
};
|
|
32
32
|
}
|
|
33
|
-
export function
|
|
34
|
-
return
|
|
33
|
+
export function ApiPadelMatchesIdGet200ResponseResponseObjectStatsConnectionsToJSON(json) {
|
|
34
|
+
return ApiPadelMatchesIdGet200ResponseResponseObjectStatsConnectionsToJSONTyped(json, false);
|
|
35
35
|
}
|
|
36
|
-
export function
|
|
36
|
+
export function ApiPadelMatchesIdGet200ResponseResponseObjectStatsConnectionsToJSONTyped(value, ignoreDiscriminator = false) {
|
|
37
37
|
if (value == null) {
|
|
38
38
|
return value;
|
|
39
39
|
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -22,7 +22,10 @@ export * from './ApiPadelMatchesGetFilterParameterPlayedAt';
|
|
|
22
22
|
export * from './ApiPadelMatchesIdGet200Response';
|
|
23
23
|
export * from './ApiPadelMatchesIdGet200ResponseResponseObject';
|
|
24
24
|
export * from './ApiPadelMatchesIdGet200ResponseResponseObjectSets';
|
|
25
|
-
export * from './
|
|
25
|
+
export * from './ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInner';
|
|
26
|
+
export * from './ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInnerGamesInner';
|
|
27
|
+
export * from './ApiPadelMatchesIdGet200ResponseResponseObjectStats';
|
|
28
|
+
export * from './ApiPadelMatchesIdGet200ResponseResponseObjectStatsConnections';
|
|
26
29
|
export * from './ApiPadelSeedGet200Response';
|
|
27
30
|
export * from './ApiTournamentCleanupGet200Response';
|
|
28
31
|
export * from './ApiTournamentGameTypesGet200Response';
|
package/dist/models/index.js
CHANGED
|
@@ -24,7 +24,10 @@ export * from './ApiPadelMatchesGetFilterParameterPlayedAt';
|
|
|
24
24
|
export * from './ApiPadelMatchesIdGet200Response';
|
|
25
25
|
export * from './ApiPadelMatchesIdGet200ResponseResponseObject';
|
|
26
26
|
export * from './ApiPadelMatchesIdGet200ResponseResponseObjectSets';
|
|
27
|
-
export * from './
|
|
27
|
+
export * from './ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInner';
|
|
28
|
+
export * from './ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInnerGamesInner';
|
|
29
|
+
export * from './ApiPadelMatchesIdGet200ResponseResponseObjectStats';
|
|
30
|
+
export * from './ApiPadelMatchesIdGet200ResponseResponseObjectStatsConnections';
|
|
28
31
|
export * from './ApiPadelSeedGet200Response';
|
|
29
32
|
export * from './ApiTournamentCleanupGet200Response';
|
|
30
33
|
export * from './ApiTournamentGameTypesGet200Response';
|
|
@@ -20,6 +20,13 @@ import {
|
|
|
20
20
|
ApiPadelMatchesIdGet200ResponseResponseObjectSetsToJSON,
|
|
21
21
|
ApiPadelMatchesIdGet200ResponseResponseObjectSetsToJSONTyped,
|
|
22
22
|
} from './ApiPadelMatchesIdGet200ResponseResponseObjectSets';
|
|
23
|
+
import type { ApiPadelMatchesIdGet200ResponseResponseObjectStats } from './ApiPadelMatchesIdGet200ResponseResponseObjectStats';
|
|
24
|
+
import {
|
|
25
|
+
ApiPadelMatchesIdGet200ResponseResponseObjectStatsFromJSON,
|
|
26
|
+
ApiPadelMatchesIdGet200ResponseResponseObjectStatsFromJSONTyped,
|
|
27
|
+
ApiPadelMatchesIdGet200ResponseResponseObjectStatsToJSON,
|
|
28
|
+
ApiPadelMatchesIdGet200ResponseResponseObjectStatsToJSONTyped,
|
|
29
|
+
} from './ApiPadelMatchesIdGet200ResponseResponseObjectStats';
|
|
23
30
|
import type { ApiPadelMatchesGet200ResponseResponseObjectItemsInnerPlayers } from './ApiPadelMatchesGet200ResponseResponseObjectItemsInnerPlayers';
|
|
24
31
|
import {
|
|
25
32
|
ApiPadelMatchesGet200ResponseResponseObjectItemsInnerPlayersFromJSON,
|
|
@@ -133,10 +140,10 @@ export interface ApiPadelMatchesIdGet200ResponseResponseObject {
|
|
|
133
140
|
court: string | null;
|
|
134
141
|
/**
|
|
135
142
|
*
|
|
136
|
-
* @type {
|
|
143
|
+
* @type {ApiPadelMatchesIdGet200ResponseResponseObjectStats}
|
|
137
144
|
* @memberof ApiPadelMatchesIdGet200ResponseResponseObject
|
|
138
145
|
*/
|
|
139
|
-
stats?:
|
|
146
|
+
stats?: ApiPadelMatchesIdGet200ResponseResponseObjectStats | null;
|
|
140
147
|
/**
|
|
141
148
|
*
|
|
142
149
|
* @type {ApiPadelMatchesIdGet200ResponseResponseObjectSets}
|
|
@@ -205,7 +212,7 @@ export function ApiPadelMatchesIdGet200ResponseResponseObjectFromJSONTyped(json:
|
|
|
205
212
|
'category': json['category'],
|
|
206
213
|
'duration': json['duration'],
|
|
207
214
|
'court': json['court'],
|
|
208
|
-
'stats': json['stats'] == null ? undefined : json['stats'],
|
|
215
|
+
'stats': json['stats'] == null ? undefined : ApiPadelMatchesIdGet200ResponseResponseObjectStatsFromJSON(json['stats']),
|
|
209
216
|
'sets': json['sets'] == null ? undefined : ApiPadelMatchesIdGet200ResponseResponseObjectSetsFromJSON(json['sets']),
|
|
210
217
|
'createdAt': (new Date(json['createdAt'])),
|
|
211
218
|
'updatedAt': (new Date(json['updatedAt'])),
|
|
@@ -238,7 +245,7 @@ export function ApiPadelMatchesIdGet200ResponseResponseObjectToJSONTyped(value?:
|
|
|
238
245
|
'category': value['category'],
|
|
239
246
|
'duration': value['duration'],
|
|
240
247
|
'court': value['court'],
|
|
241
|
-
'stats': value['stats'],
|
|
248
|
+
'stats': ApiPadelMatchesIdGet200ResponseResponseObjectStatsToJSON(value['stats']),
|
|
242
249
|
'sets': ApiPadelMatchesIdGet200ResponseResponseObjectSetsToJSON(value['sets']),
|
|
243
250
|
'createdAt': ((value['createdAt']).toISOString()),
|
|
244
251
|
'updatedAt': ((value['updatedAt']).toISOString()),
|
|
@@ -13,13 +13,20 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime';
|
|
16
|
-
import type {
|
|
16
|
+
import type { ApiPadelMatchesIdGet200ResponseResponseObjectStatsConnections } from './ApiPadelMatchesIdGet200ResponseResponseObjectStatsConnections';
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from './
|
|
18
|
+
ApiPadelMatchesIdGet200ResponseResponseObjectStatsConnectionsFromJSON,
|
|
19
|
+
ApiPadelMatchesIdGet200ResponseResponseObjectStatsConnectionsFromJSONTyped,
|
|
20
|
+
ApiPadelMatchesIdGet200ResponseResponseObjectStatsConnectionsToJSON,
|
|
21
|
+
ApiPadelMatchesIdGet200ResponseResponseObjectStatsConnectionsToJSONTyped,
|
|
22
|
+
} from './ApiPadelMatchesIdGet200ResponseResponseObjectStatsConnections';
|
|
23
|
+
import type { ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInner } from './ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInner';
|
|
24
|
+
import {
|
|
25
|
+
ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInnerFromJSON,
|
|
26
|
+
ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInnerFromJSONTyped,
|
|
27
|
+
ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInnerToJSON,
|
|
28
|
+
ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInnerToJSONTyped,
|
|
29
|
+
} from './ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInner';
|
|
23
30
|
|
|
24
31
|
/**
|
|
25
32
|
*
|
|
@@ -41,16 +48,16 @@ export interface ApiPadelMatchesIdGet200ResponseResponseObjectSets {
|
|
|
41
48
|
self: string;
|
|
42
49
|
/**
|
|
43
50
|
*
|
|
44
|
-
* @type {Array<
|
|
51
|
+
* @type {Array<ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInner>}
|
|
45
52
|
* @memberof ApiPadelMatchesIdGet200ResponseResponseObjectSets
|
|
46
53
|
*/
|
|
47
|
-
sets: Array<
|
|
54
|
+
sets: Array<ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInner>;
|
|
48
55
|
/**
|
|
49
56
|
*
|
|
50
|
-
* @type {
|
|
57
|
+
* @type {ApiPadelMatchesIdGet200ResponseResponseObjectStatsConnections}
|
|
51
58
|
* @memberof ApiPadelMatchesIdGet200ResponseResponseObjectSets
|
|
52
59
|
*/
|
|
53
|
-
connections:
|
|
60
|
+
connections: ApiPadelMatchesIdGet200ResponseResponseObjectStatsConnections;
|
|
54
61
|
}
|
|
55
62
|
|
|
56
63
|
/**
|
|
@@ -76,8 +83,8 @@ export function ApiPadelMatchesIdGet200ResponseResponseObjectSetsFromJSONTyped(j
|
|
|
76
83
|
|
|
77
84
|
'id': json['id'],
|
|
78
85
|
'self': json['self'],
|
|
79
|
-
'sets': json['sets'],
|
|
80
|
-
'connections':
|
|
86
|
+
'sets': ((json['sets'] as Array<any>).map(ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInnerFromJSON)),
|
|
87
|
+
'connections': ApiPadelMatchesIdGet200ResponseResponseObjectStatsConnectionsFromJSON(json['connections']),
|
|
81
88
|
};
|
|
82
89
|
}
|
|
83
90
|
|
|
@@ -94,8 +101,8 @@ export function ApiPadelMatchesIdGet200ResponseResponseObjectSetsToJSONTyped(val
|
|
|
94
101
|
|
|
95
102
|
'id': value['id'],
|
|
96
103
|
'self': value['self'],
|
|
97
|
-
'sets': value['sets'],
|
|
98
|
-
'connections':
|
|
104
|
+
'sets': ((value['sets'] as Array<any>).map(ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInnerToJSON)),
|
|
105
|
+
'connections': ApiPadelMatchesIdGet200ResponseResponseObjectStatsConnectionsToJSON(value['connections']),
|
|
99
106
|
};
|
|
100
107
|
}
|
|
101
108
|
|
|
@@ -0,0 +1,83 @@
|
|
|
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 { ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInnerGamesInner } from './ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInnerGamesInner';
|
|
17
|
+
import {
|
|
18
|
+
ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInnerGamesInnerFromJSON,
|
|
19
|
+
ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInnerGamesInnerFromJSONTyped,
|
|
20
|
+
ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInnerGamesInnerToJSON,
|
|
21
|
+
ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInnerGamesInnerToJSONTyped,
|
|
22
|
+
} from './ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInnerGamesInner';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInner
|
|
28
|
+
*/
|
|
29
|
+
export interface ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInner {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {Array<ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInnerGamesInner>}
|
|
33
|
+
* @memberof ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInner
|
|
34
|
+
*/
|
|
35
|
+
games: Array<ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInnerGamesInner>;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInner
|
|
40
|
+
*/
|
|
41
|
+
setNumber: number;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* Check if a given object implements the ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInner interface.
|
|
46
|
+
*/
|
|
47
|
+
export function instanceOfApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInner(value: object): value is ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInner {
|
|
48
|
+
if (!('games' in value) || value['games'] === undefined) return false;
|
|
49
|
+
if (!('setNumber' in value) || value['setNumber'] === undefined) return false;
|
|
50
|
+
return true;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export function ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInnerFromJSON(json: any): ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInner {
|
|
54
|
+
return ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInnerFromJSONTyped(json, false);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export function ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInner {
|
|
58
|
+
if (json == null) {
|
|
59
|
+
return json;
|
|
60
|
+
}
|
|
61
|
+
return {
|
|
62
|
+
|
|
63
|
+
'games': ((json['games'] as Array<any>).map(ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInnerGamesInnerFromJSON)),
|
|
64
|
+
'setNumber': json['set_number'],
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export function ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInnerToJSON(json: any): ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInner {
|
|
69
|
+
return ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInnerToJSONTyped(json, false);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export function ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInnerToJSONTyped(value?: ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInner | null, ignoreDiscriminator: boolean = false): any {
|
|
73
|
+
if (value == null) {
|
|
74
|
+
return value;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
return {
|
|
78
|
+
|
|
79
|
+
'games': ((value['games'] as Array<any>).map(ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInnerGamesInnerToJSON)),
|
|
80
|
+
'set_number': value['setNumber'],
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
|
|
@@ -0,0 +1,84 @@
|
|
|
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 ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInnerGamesInner
|
|
20
|
+
*/
|
|
21
|
+
export interface ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInnerGamesInner {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {Array<string>}
|
|
25
|
+
* @memberof ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInnerGamesInner
|
|
26
|
+
*/
|
|
27
|
+
points: Array<string>;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInnerGamesInner
|
|
32
|
+
*/
|
|
33
|
+
gameScore: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {number}
|
|
37
|
+
* @memberof ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInnerGamesInner
|
|
38
|
+
*/
|
|
39
|
+
gameNumber: number;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Check if a given object implements the ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInnerGamesInner interface.
|
|
44
|
+
*/
|
|
45
|
+
export function instanceOfApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInnerGamesInner(value: object): value is ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInnerGamesInner {
|
|
46
|
+
if (!('points' in value) || value['points'] === undefined) return false;
|
|
47
|
+
if (!('gameScore' in value) || value['gameScore'] === undefined) return false;
|
|
48
|
+
if (!('gameNumber' in value) || value['gameNumber'] === undefined) return false;
|
|
49
|
+
return true;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInnerGamesInnerFromJSON(json: any): ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInnerGamesInner {
|
|
53
|
+
return ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInnerGamesInnerFromJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInnerGamesInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInnerGamesInner {
|
|
57
|
+
if (json == null) {
|
|
58
|
+
return json;
|
|
59
|
+
}
|
|
60
|
+
return {
|
|
61
|
+
|
|
62
|
+
'points': json['points'],
|
|
63
|
+
'gameScore': json['game_score'],
|
|
64
|
+
'gameNumber': json['game_number'],
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export function ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInnerGamesInnerToJSON(json: any): ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInnerGamesInner {
|
|
69
|
+
return ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInnerGamesInnerToJSONTyped(json, false);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export function ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInnerGamesInnerToJSONTyped(value?: ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInnerGamesInner | null, ignoreDiscriminator: boolean = false): any {
|
|
73
|
+
if (value == null) {
|
|
74
|
+
return value;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
return {
|
|
78
|
+
|
|
79
|
+
'points': value['points'],
|
|
80
|
+
'game_score': value['gameScore'],
|
|
81
|
+
'game_number': value['gameNumber'],
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
|
|
@@ -0,0 +1,123 @@
|
|
|
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 { ApiPadelMatchesIdGet200ResponseResponseObjectStatsConnections } from './ApiPadelMatchesIdGet200ResponseResponseObjectStatsConnections';
|
|
17
|
+
import {
|
|
18
|
+
ApiPadelMatchesIdGet200ResponseResponseObjectStatsConnectionsFromJSON,
|
|
19
|
+
ApiPadelMatchesIdGet200ResponseResponseObjectStatsConnectionsFromJSONTyped,
|
|
20
|
+
ApiPadelMatchesIdGet200ResponseResponseObjectStatsConnectionsToJSON,
|
|
21
|
+
ApiPadelMatchesIdGet200ResponseResponseObjectStatsConnectionsToJSONTyped,
|
|
22
|
+
} from './ApiPadelMatchesIdGet200ResponseResponseObjectStatsConnections';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface ApiPadelMatchesIdGet200ResponseResponseObjectStats
|
|
28
|
+
*/
|
|
29
|
+
export interface ApiPadelMatchesIdGet200ResponseResponseObjectStats {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof ApiPadelMatchesIdGet200ResponseResponseObjectStats
|
|
34
|
+
*/
|
|
35
|
+
id: number;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof ApiPadelMatchesIdGet200ResponseResponseObjectStats
|
|
40
|
+
*/
|
|
41
|
+
self: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {any}
|
|
45
|
+
* @memberof ApiPadelMatchesIdGet200ResponseResponseObjectStats
|
|
46
|
+
*/
|
|
47
|
+
match?: any | null;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {any}
|
|
51
|
+
* @memberof ApiPadelMatchesIdGet200ResponseResponseObjectStats
|
|
52
|
+
*/
|
|
53
|
+
set1?: any | null;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {any}
|
|
57
|
+
* @memberof ApiPadelMatchesIdGet200ResponseResponseObjectStats
|
|
58
|
+
*/
|
|
59
|
+
set2?: any | null;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {any}
|
|
63
|
+
* @memberof ApiPadelMatchesIdGet200ResponseResponseObjectStats
|
|
64
|
+
*/
|
|
65
|
+
set3?: any | null;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {ApiPadelMatchesIdGet200ResponseResponseObjectStatsConnections}
|
|
69
|
+
* @memberof ApiPadelMatchesIdGet200ResponseResponseObjectStats
|
|
70
|
+
*/
|
|
71
|
+
connections?: ApiPadelMatchesIdGet200ResponseResponseObjectStatsConnections;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
/**
|
|
75
|
+
* Check if a given object implements the ApiPadelMatchesIdGet200ResponseResponseObjectStats interface.
|
|
76
|
+
*/
|
|
77
|
+
export function instanceOfApiPadelMatchesIdGet200ResponseResponseObjectStats(value: object): value is ApiPadelMatchesIdGet200ResponseResponseObjectStats {
|
|
78
|
+
if (!('id' in value) || value['id'] === undefined) return false;
|
|
79
|
+
if (!('self' in value) || value['self'] === undefined) return false;
|
|
80
|
+
return true;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
export function ApiPadelMatchesIdGet200ResponseResponseObjectStatsFromJSON(json: any): ApiPadelMatchesIdGet200ResponseResponseObjectStats {
|
|
84
|
+
return ApiPadelMatchesIdGet200ResponseResponseObjectStatsFromJSONTyped(json, false);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
export function ApiPadelMatchesIdGet200ResponseResponseObjectStatsFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiPadelMatchesIdGet200ResponseResponseObjectStats {
|
|
88
|
+
if (json == null) {
|
|
89
|
+
return json;
|
|
90
|
+
}
|
|
91
|
+
return {
|
|
92
|
+
|
|
93
|
+
'id': json['id'],
|
|
94
|
+
'self': json['self'],
|
|
95
|
+
'match': json['match'] == null ? undefined : json['match'],
|
|
96
|
+
'set1': json['set_1'] == null ? undefined : json['set_1'],
|
|
97
|
+
'set2': json['set_2'] == null ? undefined : json['set_2'],
|
|
98
|
+
'set3': json['set_3'] == null ? undefined : json['set_3'],
|
|
99
|
+
'connections': json['connections'] == null ? undefined : ApiPadelMatchesIdGet200ResponseResponseObjectStatsConnectionsFromJSON(json['connections']),
|
|
100
|
+
};
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
export function ApiPadelMatchesIdGet200ResponseResponseObjectStatsToJSON(json: any): ApiPadelMatchesIdGet200ResponseResponseObjectStats {
|
|
104
|
+
return ApiPadelMatchesIdGet200ResponseResponseObjectStatsToJSONTyped(json, false);
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
export function ApiPadelMatchesIdGet200ResponseResponseObjectStatsToJSONTyped(value?: ApiPadelMatchesIdGet200ResponseResponseObjectStats | null, ignoreDiscriminator: boolean = false): any {
|
|
108
|
+
if (value == null) {
|
|
109
|
+
return value;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
return {
|
|
113
|
+
|
|
114
|
+
'id': value['id'],
|
|
115
|
+
'self': value['self'],
|
|
116
|
+
'match': value['match'],
|
|
117
|
+
'set_1': value['set1'],
|
|
118
|
+
'set_2': value['set2'],
|
|
119
|
+
'set_3': value['set3'],
|
|
120
|
+
'connections': ApiPadelMatchesIdGet200ResponseResponseObjectStatsConnectionsToJSON(value['connections']),
|
|
121
|
+
};
|
|
122
|
+
}
|
|
123
|
+
|
|
@@ -0,0 +1,66 @@
|
|
|
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 ApiPadelMatchesIdGet200ResponseResponseObjectStatsConnections
|
|
20
|
+
*/
|
|
21
|
+
export interface ApiPadelMatchesIdGet200ResponseResponseObjectStatsConnections {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof ApiPadelMatchesIdGet200ResponseResponseObjectStatsConnections
|
|
26
|
+
*/
|
|
27
|
+
match: string;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the ApiPadelMatchesIdGet200ResponseResponseObjectStatsConnections interface.
|
|
32
|
+
*/
|
|
33
|
+
export function instanceOfApiPadelMatchesIdGet200ResponseResponseObjectStatsConnections(value: object): value is ApiPadelMatchesIdGet200ResponseResponseObjectStatsConnections {
|
|
34
|
+
if (!('match' in value) || value['match'] === undefined) return false;
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export function ApiPadelMatchesIdGet200ResponseResponseObjectStatsConnectionsFromJSON(json: any): ApiPadelMatchesIdGet200ResponseResponseObjectStatsConnections {
|
|
39
|
+
return ApiPadelMatchesIdGet200ResponseResponseObjectStatsConnectionsFromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export function ApiPadelMatchesIdGet200ResponseResponseObjectStatsConnectionsFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiPadelMatchesIdGet200ResponseResponseObjectStatsConnections {
|
|
43
|
+
if (json == null) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
|
|
48
|
+
'match': json['match'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function ApiPadelMatchesIdGet200ResponseResponseObjectStatsConnectionsToJSON(json: any): ApiPadelMatchesIdGet200ResponseResponseObjectStatsConnections {
|
|
53
|
+
return ApiPadelMatchesIdGet200ResponseResponseObjectStatsConnectionsToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function ApiPadelMatchesIdGet200ResponseResponseObjectStatsConnectionsToJSONTyped(value?: ApiPadelMatchesIdGet200ResponseResponseObjectStatsConnections | null, ignoreDiscriminator: boolean = false): any {
|
|
57
|
+
if (value == null) {
|
|
58
|
+
return value;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
return {
|
|
62
|
+
|
|
63
|
+
'match': value['match'],
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
package/models/index.ts
CHANGED
|
@@ -24,7 +24,10 @@ export * from './ApiPadelMatchesGetFilterParameterPlayedAt';
|
|
|
24
24
|
export * from './ApiPadelMatchesIdGet200Response';
|
|
25
25
|
export * from './ApiPadelMatchesIdGet200ResponseResponseObject';
|
|
26
26
|
export * from './ApiPadelMatchesIdGet200ResponseResponseObjectSets';
|
|
27
|
-
export * from './
|
|
27
|
+
export * from './ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInner';
|
|
28
|
+
export * from './ApiPadelMatchesIdGet200ResponseResponseObjectSetsSetsInnerGamesInner';
|
|
29
|
+
export * from './ApiPadelMatchesIdGet200ResponseResponseObjectStats';
|
|
30
|
+
export * from './ApiPadelMatchesIdGet200ResponseResponseObjectStatsConnections';
|
|
28
31
|
export * from './ApiPadelSeedGet200Response';
|
|
29
32
|
export * from './ApiTournamentCleanupGet200Response';
|
|
30
33
|
export * from './ApiTournamentGameTypesGet200Response';
|
package/package.json
CHANGED
|
@@ -1,32 +0,0 @@
|
|
|
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 ApiPadelMatchesIdGet200ResponseResponseObjectSetsConnections
|
|
16
|
-
*/
|
|
17
|
-
export interface ApiPadelMatchesIdGet200ResponseResponseObjectSetsConnections {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof ApiPadelMatchesIdGet200ResponseResponseObjectSetsConnections
|
|
22
|
-
*/
|
|
23
|
-
match: string;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Check if a given object implements the ApiPadelMatchesIdGet200ResponseResponseObjectSetsConnections interface.
|
|
27
|
-
*/
|
|
28
|
-
export declare function instanceOfApiPadelMatchesIdGet200ResponseResponseObjectSetsConnections(value: object): value is ApiPadelMatchesIdGet200ResponseResponseObjectSetsConnections;
|
|
29
|
-
export declare function ApiPadelMatchesIdGet200ResponseResponseObjectSetsConnectionsFromJSON(json: any): ApiPadelMatchesIdGet200ResponseResponseObjectSetsConnections;
|
|
30
|
-
export declare function ApiPadelMatchesIdGet200ResponseResponseObjectSetsConnectionsFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiPadelMatchesIdGet200ResponseResponseObjectSetsConnections;
|
|
31
|
-
export declare function ApiPadelMatchesIdGet200ResponseResponseObjectSetsConnectionsToJSON(json: any): ApiPadelMatchesIdGet200ResponseResponseObjectSetsConnections;
|
|
32
|
-
export declare function ApiPadelMatchesIdGet200ResponseResponseObjectSetsConnectionsToJSONTyped(value?: ApiPadelMatchesIdGet200ResponseResponseObjectSetsConnections | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,66 +0,0 @@
|
|
|
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 ApiPadelMatchesIdGet200ResponseResponseObjectSetsConnections
|
|
20
|
-
*/
|
|
21
|
-
export interface ApiPadelMatchesIdGet200ResponseResponseObjectSetsConnections {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof ApiPadelMatchesIdGet200ResponseResponseObjectSetsConnections
|
|
26
|
-
*/
|
|
27
|
-
match: string;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
/**
|
|
31
|
-
* Check if a given object implements the ApiPadelMatchesIdGet200ResponseResponseObjectSetsConnections interface.
|
|
32
|
-
*/
|
|
33
|
-
export function instanceOfApiPadelMatchesIdGet200ResponseResponseObjectSetsConnections(value: object): value is ApiPadelMatchesIdGet200ResponseResponseObjectSetsConnections {
|
|
34
|
-
if (!('match' in value) || value['match'] === undefined) return false;
|
|
35
|
-
return true;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
export function ApiPadelMatchesIdGet200ResponseResponseObjectSetsConnectionsFromJSON(json: any): ApiPadelMatchesIdGet200ResponseResponseObjectSetsConnections {
|
|
39
|
-
return ApiPadelMatchesIdGet200ResponseResponseObjectSetsConnectionsFromJSONTyped(json, false);
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
export function ApiPadelMatchesIdGet200ResponseResponseObjectSetsConnectionsFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiPadelMatchesIdGet200ResponseResponseObjectSetsConnections {
|
|
43
|
-
if (json == null) {
|
|
44
|
-
return json;
|
|
45
|
-
}
|
|
46
|
-
return {
|
|
47
|
-
|
|
48
|
-
'match': json['match'],
|
|
49
|
-
};
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
export function ApiPadelMatchesIdGet200ResponseResponseObjectSetsConnectionsToJSON(json: any): ApiPadelMatchesIdGet200ResponseResponseObjectSetsConnections {
|
|
53
|
-
return ApiPadelMatchesIdGet200ResponseResponseObjectSetsConnectionsToJSONTyped(json, false);
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
export function ApiPadelMatchesIdGet200ResponseResponseObjectSetsConnectionsToJSONTyped(value?: ApiPadelMatchesIdGet200ResponseResponseObjectSetsConnections | null, ignoreDiscriminator: boolean = false): any {
|
|
57
|
-
if (value == null) {
|
|
58
|
-
return value;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
return {
|
|
62
|
-
|
|
63
|
-
'match': value['match'],
|
|
64
|
-
};
|
|
65
|
-
}
|
|
66
|
-
|