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