@drxsuperapp/sdk 1.1.89 → 1.1.91
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/.idea/vcs.xml +6 -0
- package/.idea/workspace.xml +144 -0
- package/.openapi-generator/FILES +36 -0
- package/apis/TournamentApi.ts +472 -0
- package/apis/YoutubeApi.ts +70 -0
- package/apis/index.ts +2 -0
- package/dist/apis/TournamentApi.d.ts +111 -0
- package/dist/apis/TournamentApi.js +324 -0
- package/dist/apis/YoutubeApi.d.ts +28 -0
- package/dist/apis/YoutubeApi.js +53 -0
- package/dist/apis/index.d.ts +2 -0
- package/dist/apis/index.js +2 -0
- package/dist/models/ApiTournamentCleanupGet200Response.d.ts +50 -0
- package/dist/models/ApiTournamentCleanupGet200Response.js +53 -0
- package/dist/models/ApiTournamentGameTypesGet200Response.d.ts +51 -0
- package/dist/models/ApiTournamentGameTypesGet200Response.js +54 -0
- package/dist/models/ApiTournamentGameTypesGet200ResponseResponseObject.d.ts +51 -0
- package/dist/models/ApiTournamentGameTypesGet200ResponseResponseObject.js +54 -0
- package/dist/models/ApiTournamentGet200Response.d.ts +51 -0
- package/dist/models/ApiTournamentGet200Response.js +54 -0
- package/dist/models/ApiTournamentGet200ResponseResponseObject.d.ts +57 -0
- package/dist/models/ApiTournamentGet200ResponseResponseObject.js +60 -0
- package/dist/models/ApiTournamentGet200ResponseResponseObjectItemsInner.d.ts +92 -0
- package/dist/models/ApiTournamentGet200ResponseResponseObjectItemsInner.js +83 -0
- package/dist/models/ApiTournamentGet200ResponseResponseObjectItemsInnerFinalScoreSoloInner.d.ts +50 -0
- package/dist/models/ApiTournamentGet200ResponseResponseObjectItemsInnerFinalScoreSoloInner.js +55 -0
- package/dist/models/ApiTournamentGet200ResponseResponseObjectItemsInnerFinalScoreTeamInner.d.ts +50 -0
- package/dist/models/ApiTournamentGet200ResponseResponseObjectItemsInnerFinalScoreTeamInner.js +55 -0
- package/dist/models/ApiTournamentGet200ResponseResponseObjectItemsInnerGameType.d.ts +56 -0
- package/dist/models/ApiTournamentGet200ResponseResponseObjectItemsInnerGameType.js +59 -0
- package/dist/models/ApiTournamentGet200ResponseResponseObjectItemsInnerMatchesSoloInner.d.ts +86 -0
- package/dist/models/ApiTournamentGet200ResponseResponseObjectItemsInnerMatchesSoloInner.js +79 -0
- package/dist/models/ApiTournamentGet200ResponseResponseObjectItemsInnerMatchesTeamInner.d.ts +74 -0
- package/dist/models/ApiTournamentGet200ResponseResponseObjectItemsInnerMatchesTeamInner.js +71 -0
- package/dist/models/ApiTournamentGet200ResponseResponseObjectItemsInnerPlayersInner.d.ts +50 -0
- package/dist/models/ApiTournamentGet200ResponseResponseObjectItemsInnerPlayersInner.js +55 -0
- package/dist/models/ApiTournamentGet200ResponseResponseObjectItemsInnerTeamsInner.d.ts +44 -0
- package/dist/models/ApiTournamentGet200ResponseResponseObjectItemsInnerTeamsInner.js +51 -0
- package/dist/models/ApiTournamentPadelIdDelete200Response.d.ts +51 -0
- package/dist/models/ApiTournamentPadelIdDelete200Response.js +54 -0
- package/dist/models/ApiTournamentPadelIdDelete200ResponseResponseObject.d.ts +32 -0
- package/dist/models/ApiTournamentPadelIdDelete200ResponseResponseObject.js +43 -0
- package/dist/models/ApiTournamentPadelIdDelete200ResponseResponseObjectResponseObject.d.ts +33 -0
- package/dist/models/ApiTournamentPadelIdDelete200ResponseResponseObjectResponseObject.js +44 -0
- package/dist/models/ApiTournamentPadelIdDelete200ResponseResponseObjectResponseObjectParams.d.ts +32 -0
- package/dist/models/ApiTournamentPadelIdDelete200ResponseResponseObjectResponseObjectParams.js +43 -0
- package/dist/models/ApiTournamentPadelIdGet200Response.d.ts +51 -0
- package/dist/models/ApiTournamentPadelIdGet200Response.js +54 -0
- package/dist/models/ApiTournamentPadelIdGet200ResponseResponseObject.d.ts +117 -0
- package/dist/models/ApiTournamentPadelIdGet200ResponseResponseObject.js +102 -0
- package/dist/models/ApiTournamentPadelIdGet200ResponseResponseObjectFinalScoreTeamInner.d.ts +86 -0
- package/dist/models/ApiTournamentPadelIdGet200ResponseResponseObjectFinalScoreTeamInner.js +79 -0
- package/dist/models/ApiTournamentPadelIdGet200ResponseResponseObjectGameType.d.ts +74 -0
- package/dist/models/ApiTournamentPadelIdGet200ResponseResponseObjectGameType.js +71 -0
- package/dist/models/ApiTournamentPadelIdGet200ResponseResponseObjectMatchTeamInner.d.ts +87 -0
- package/dist/models/ApiTournamentPadelIdGet200ResponseResponseObjectMatchTeamInner.js +80 -0
- package/dist/models/ApiTournamentPadelIdGet200ResponseResponseObjectMatchesSoloInner.d.ts +111 -0
- package/dist/models/ApiTournamentPadelIdGet200ResponseResponseObjectMatchesSoloInner.js +96 -0
- package/dist/models/ApiTournamentPadelIdGet200ResponseResponseObjectMatchesSoloInnerPlayerA1.d.ts +62 -0
- package/dist/models/ApiTournamentPadelIdGet200ResponseResponseObjectMatchesSoloInnerPlayerA1.js +63 -0
- package/dist/models/ApiTournamentPadelIdGet200ResponseResponseObjectPlayersInner.d.ts +57 -0
- package/dist/models/ApiTournamentPadelIdGet200ResponseResponseObjectPlayersInner.js +60 -0
- package/dist/models/ApiTournamentPadelIdGet200ResponseResponseObjectPlayersInnerFinalScores.d.ts +86 -0
- package/dist/models/ApiTournamentPadelIdGet200ResponseResponseObjectPlayersInnerFinalScores.js +79 -0
- package/dist/models/ApiTournamentPadelIdGet200ResponseResponseObjectTeamInner.d.ts +56 -0
- package/dist/models/ApiTournamentPadelIdGet200ResponseResponseObjectTeamInner.js +59 -0
- package/dist/models/ApiTournamentPadelLeaderboardIdGet200Response.d.ts +51 -0
- package/dist/models/ApiTournamentPadelLeaderboardIdGet200Response.js +54 -0
- package/dist/models/ApiTournamentPadelLeaderboardIdGet200ResponseResponseObject.d.ts +57 -0
- package/dist/models/ApiTournamentPadelLeaderboardIdGet200ResponseResponseObject.js +60 -0
- package/dist/models/ApiTournamentPadelLeaderboardIdGet200ResponseResponseObjectFinalScores.d.ts +86 -0
- package/dist/models/ApiTournamentPadelLeaderboardIdGet200ResponseResponseObjectFinalScores.js +79 -0
- package/dist/models/ApiTournamentPadelLeaderboardIdGet200ResponseResponseObjectResponseObject.d.ts +57 -0
- package/dist/models/ApiTournamentPadelLeaderboardIdGet200ResponseResponseObjectResponseObject.js +60 -0
- package/dist/models/ApiTournamentPadelLeaderboardIdGet200ResponseResponseObjectResponseObjectFinalScores.d.ts +86 -0
- package/dist/models/ApiTournamentPadelLeaderboardIdGet200ResponseResponseObjectResponseObjectFinalScores.js +79 -0
- package/dist/models/ApiTournamentPadelMatchSoloPut200Response.d.ts +51 -0
- package/dist/models/ApiTournamentPadelMatchSoloPut200Response.js +54 -0
- package/dist/models/ApiTournamentPadelMatchSoloPut200ResponseResponseObject.d.ts +98 -0
- package/dist/models/ApiTournamentPadelMatchSoloPut200ResponseResponseObject.js +87 -0
- package/dist/models/ApiTournamentPadelMatchSoloPutRequest.d.ts +33 -0
- package/dist/models/ApiTournamentPadelMatchSoloPutRequest.js +44 -0
- package/dist/models/ApiTournamentPadelMatchSoloPutRequestBody.d.ts +86 -0
- package/dist/models/ApiTournamentPadelMatchSoloPutRequestBody.js +79 -0
- package/dist/models/ApiTournamentPadelPost200Response.d.ts +51 -0
- package/dist/models/ApiTournamentPadelPost200Response.js +54 -0
- package/dist/models/ApiTournamentPadelPost200ResponseResponseObject.d.ts +74 -0
- package/dist/models/ApiTournamentPadelPost200ResponseResponseObject.js +71 -0
- package/dist/models/ApiTournamentPadelPostRequest.d.ts +33 -0
- package/dist/models/ApiTournamentPadelPostRequest.js +44 -0
- package/dist/models/ApiTournamentPadelPostRequestBody.d.ts +64 -0
- package/dist/models/ApiTournamentPadelPostRequestBody.js +63 -0
- package/dist/models/ApiTournamentPadelPostRequestBodyPlayersInner.d.ts +38 -0
- package/dist/models/ApiTournamentPadelPostRequestBodyPlayersInner.js +45 -0
- package/dist/models/ApiTournamentPadelPostRequestBodyTeamsInner.d.ts +38 -0
- package/dist/models/ApiTournamentPadelPostRequestBodyTeamsInner.js +45 -0
- package/dist/models/ApiYoutubeDrxContentGet200Response.d.ts +51 -0
- package/dist/models/ApiYoutubeDrxContentGet200Response.js +54 -0
- package/dist/models/ApiYoutubeDrxContentGet200ResponseResponseObject.d.ts +40 -0
- package/dist/models/ApiYoutubeDrxContentGet200ResponseResponseObject.js +49 -0
- package/dist/models/ApiYoutubeDrxContentGet200ResponseResponseObjectCurrentLive.d.ts +110 -0
- package/dist/models/ApiYoutubeDrxContentGet200ResponseResponseObjectCurrentLive.js +85 -0
- package/dist/models/ApiYoutubeDrxContentGet200ResponseResponseObjectPreviousContentInner.d.ts +104 -0
- package/dist/models/ApiYoutubeDrxContentGet200ResponseResponseObjectPreviousContentInner.js +83 -0
- package/dist/models/index.d.ts +34 -0
- package/dist/models/index.js +34 -0
- package/models/ApiTournamentCleanupGet200Response.ts +92 -0
- package/models/ApiTournamentGameTypesGet200Response.ts +100 -0
- package/models/ApiTournamentGet200Response.ts +100 -0
- package/models/ApiTournamentGet200ResponseResponseObject.ts +110 -0
- package/models/ApiTournamentGet200ResponseResponseObjectItemsInner.ts +156 -0
- package/models/ApiTournamentPadelIdDelete200Response.ts +100 -0
- package/models/ApiTournamentPadelIdDelete200ResponseResponseObject.ts +66 -0
- package/models/ApiTournamentPadelIdGet200Response.ts +100 -0
- package/models/ApiTournamentPadelIdGet200ResponseResponseObject.ts +233 -0
- package/models/ApiTournamentPadelIdGet200ResponseResponseObjectFinalScoreTeamInner.ts +147 -0
- package/models/ApiTournamentPadelIdGet200ResponseResponseObjectGameType.ts +129 -0
- package/models/ApiTournamentPadelIdGet200ResponseResponseObjectMatchTeamInner.ts +155 -0
- package/models/ApiTournamentPadelIdGet200ResponseResponseObjectMatchesSoloInner.ts +191 -0
- package/models/ApiTournamentPadelIdGet200ResponseResponseObjectMatchesSoloInnerPlayerA1.ts +111 -0
- package/models/ApiTournamentPadelIdGet200ResponseResponseObjectPlayersInner.ts +110 -0
- package/models/ApiTournamentPadelIdGet200ResponseResponseObjectPlayersInnerFinalScores.ts +147 -0
- package/models/ApiTournamentPadelIdGet200ResponseResponseObjectTeamInner.ts +102 -0
- package/models/ApiTournamentPadelLeaderboardIdGet200Response.ts +100 -0
- package/models/ApiTournamentPadelLeaderboardIdGet200ResponseResponseObject.ts +110 -0
- package/models/ApiTournamentPadelLeaderboardIdGet200ResponseResponseObjectFinalScores.ts +147 -0
- package/models/ApiTournamentPadelMatchSoloPut200Response.ts +100 -0
- package/models/ApiTournamentPadelMatchSoloPut200ResponseResponseObject.ts +165 -0
- package/models/ApiTournamentPadelMatchSoloPutRequest.ts +74 -0
- package/models/ApiTournamentPadelMatchSoloPutRequestBody.ts +147 -0
- package/models/ApiTournamentPadelPost200Response.ts +100 -0
- package/models/ApiTournamentPadelPost200ResponseResponseObject.ts +129 -0
- package/models/ApiTournamentPadelPostRequest.ts +74 -0
- package/models/ApiTournamentPadelPostRequestBody.ts +125 -0
- package/models/ApiTournamentPadelPostRequestBodyPlayersInner.ts +74 -0
- package/models/ApiTournamentPadelPostRequestBodyTeamsInner.ts +74 -0
- package/models/ApiYoutubeDrxContentGet200Response.ts +100 -0
- package/models/ApiYoutubeDrxContentGet200ResponseResponseObject.ts +90 -0
- package/models/ApiYoutubeDrxContentGet200ResponseResponseObjectCurrentLive.ts +178 -0
- package/models/ApiYoutubeDrxContentGet200ResponseResponseObjectPreviousContentInner.ts +170 -0
- package/models/index.ts +34 -0
- package/package.json +1 -1
- package/workflow.sh +5 -0
- package/deploy.log +0 -116
|
@@ -0,0 +1,147 @@
|
|
|
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 ApiTournamentPadelLeaderboardIdGet200ResponseResponseObjectFinalScores
|
|
20
|
+
*/
|
|
21
|
+
export interface ApiTournamentPadelLeaderboardIdGet200ResponseResponseObjectFinalScores {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof ApiTournamentPadelLeaderboardIdGet200ResponseResponseObjectFinalScores
|
|
26
|
+
*/
|
|
27
|
+
id: number;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {number}
|
|
31
|
+
* @memberof ApiTournamentPadelLeaderboardIdGet200ResponseResponseObjectFinalScores
|
|
32
|
+
*/
|
|
33
|
+
tournamentId: number;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {number}
|
|
37
|
+
* @memberof ApiTournamentPadelLeaderboardIdGet200ResponseResponseObjectFinalScores
|
|
38
|
+
*/
|
|
39
|
+
playerId: number;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {number}
|
|
43
|
+
* @memberof ApiTournamentPadelLeaderboardIdGet200ResponseResponseObjectFinalScores
|
|
44
|
+
*/
|
|
45
|
+
win: number;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {number}
|
|
49
|
+
* @memberof ApiTournamentPadelLeaderboardIdGet200ResponseResponseObjectFinalScores
|
|
50
|
+
*/
|
|
51
|
+
lose: number;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {number}
|
|
55
|
+
* @memberof ApiTournamentPadelLeaderboardIdGet200ResponseResponseObjectFinalScores
|
|
56
|
+
*/
|
|
57
|
+
ties: number;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {number}
|
|
61
|
+
* @memberof ApiTournamentPadelLeaderboardIdGet200ResponseResponseObjectFinalScores
|
|
62
|
+
*/
|
|
63
|
+
points: number;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @type {number}
|
|
67
|
+
* @memberof ApiTournamentPadelLeaderboardIdGet200ResponseResponseObjectFinalScores
|
|
68
|
+
*/
|
|
69
|
+
diff: number;
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
* @type {Date}
|
|
73
|
+
* @memberof ApiTournamentPadelLeaderboardIdGet200ResponseResponseObjectFinalScores
|
|
74
|
+
*/
|
|
75
|
+
createdAt: Date;
|
|
76
|
+
/**
|
|
77
|
+
*
|
|
78
|
+
* @type {Date}
|
|
79
|
+
* @memberof ApiTournamentPadelLeaderboardIdGet200ResponseResponseObjectFinalScores
|
|
80
|
+
*/
|
|
81
|
+
updatedAt: Date;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* Check if a given object implements the ApiTournamentPadelLeaderboardIdGet200ResponseResponseObjectFinalScores interface.
|
|
86
|
+
*/
|
|
87
|
+
export function instanceOfApiTournamentPadelLeaderboardIdGet200ResponseResponseObjectFinalScores(value: object): value is ApiTournamentPadelLeaderboardIdGet200ResponseResponseObjectFinalScores {
|
|
88
|
+
if (!('id' in value) || value['id'] === undefined) return false;
|
|
89
|
+
if (!('tournamentId' in value) || value['tournamentId'] === undefined) return false;
|
|
90
|
+
if (!('playerId' in value) || value['playerId'] === undefined) return false;
|
|
91
|
+
if (!('win' in value) || value['win'] === undefined) return false;
|
|
92
|
+
if (!('lose' in value) || value['lose'] === undefined) return false;
|
|
93
|
+
if (!('ties' in value) || value['ties'] === undefined) return false;
|
|
94
|
+
if (!('points' in value) || value['points'] === undefined) return false;
|
|
95
|
+
if (!('diff' in value) || value['diff'] === undefined) return false;
|
|
96
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
|
|
97
|
+
if (!('updatedAt' in value) || value['updatedAt'] === undefined) return false;
|
|
98
|
+
return true;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
export function ApiTournamentPadelLeaderboardIdGet200ResponseResponseObjectFinalScoresFromJSON(json: any): ApiTournamentPadelLeaderboardIdGet200ResponseResponseObjectFinalScores {
|
|
102
|
+
return ApiTournamentPadelLeaderboardIdGet200ResponseResponseObjectFinalScoresFromJSONTyped(json, false);
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
export function ApiTournamentPadelLeaderboardIdGet200ResponseResponseObjectFinalScoresFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiTournamentPadelLeaderboardIdGet200ResponseResponseObjectFinalScores {
|
|
106
|
+
if (json == null) {
|
|
107
|
+
return json;
|
|
108
|
+
}
|
|
109
|
+
return {
|
|
110
|
+
|
|
111
|
+
'id': json['id'],
|
|
112
|
+
'tournamentId': json['tournament_id'],
|
|
113
|
+
'playerId': json['player_id'],
|
|
114
|
+
'win': json['win'],
|
|
115
|
+
'lose': json['lose'],
|
|
116
|
+
'ties': json['ties'],
|
|
117
|
+
'points': json['points'],
|
|
118
|
+
'diff': json['diff'],
|
|
119
|
+
'createdAt': (new Date(json['created_at'])),
|
|
120
|
+
'updatedAt': (new Date(json['updated_at'])),
|
|
121
|
+
};
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
export function ApiTournamentPadelLeaderboardIdGet200ResponseResponseObjectFinalScoresToJSON(json: any): ApiTournamentPadelLeaderboardIdGet200ResponseResponseObjectFinalScores {
|
|
125
|
+
return ApiTournamentPadelLeaderboardIdGet200ResponseResponseObjectFinalScoresToJSONTyped(json, false);
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
export function ApiTournamentPadelLeaderboardIdGet200ResponseResponseObjectFinalScoresToJSONTyped(value?: ApiTournamentPadelLeaderboardIdGet200ResponseResponseObjectFinalScores | null, ignoreDiscriminator: boolean = false): any {
|
|
129
|
+
if (value == null) {
|
|
130
|
+
return value;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
return {
|
|
134
|
+
|
|
135
|
+
'id': value['id'],
|
|
136
|
+
'tournament_id': value['tournamentId'],
|
|
137
|
+
'player_id': value['playerId'],
|
|
138
|
+
'win': value['win'],
|
|
139
|
+
'lose': value['lose'],
|
|
140
|
+
'ties': value['ties'],
|
|
141
|
+
'points': value['points'],
|
|
142
|
+
'diff': value['diff'],
|
|
143
|
+
'created_at': ((value['createdAt']).toISOString()),
|
|
144
|
+
'updated_at': ((value['updatedAt']).toISOString()),
|
|
145
|
+
};
|
|
146
|
+
}
|
|
147
|
+
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* DRX API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
import type { ApiTournamentPadelMatchSoloPut200ResponseResponseObject } from './ApiTournamentPadelMatchSoloPut200ResponseResponseObject';
|
|
17
|
+
import {
|
|
18
|
+
ApiTournamentPadelMatchSoloPut200ResponseResponseObjectFromJSON,
|
|
19
|
+
ApiTournamentPadelMatchSoloPut200ResponseResponseObjectFromJSONTyped,
|
|
20
|
+
ApiTournamentPadelMatchSoloPut200ResponseResponseObjectToJSON,
|
|
21
|
+
ApiTournamentPadelMatchSoloPut200ResponseResponseObjectToJSONTyped,
|
|
22
|
+
} from './ApiTournamentPadelMatchSoloPut200ResponseResponseObject';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface ApiTournamentPadelMatchSoloPut200Response
|
|
28
|
+
*/
|
|
29
|
+
export interface ApiTournamentPadelMatchSoloPut200Response {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {boolean}
|
|
33
|
+
* @memberof ApiTournamentPadelMatchSoloPut200Response
|
|
34
|
+
*/
|
|
35
|
+
success: boolean;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof ApiTournamentPadelMatchSoloPut200Response
|
|
40
|
+
*/
|
|
41
|
+
message: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {ApiTournamentPadelMatchSoloPut200ResponseResponseObject}
|
|
45
|
+
* @memberof ApiTournamentPadelMatchSoloPut200Response
|
|
46
|
+
*/
|
|
47
|
+
responseObject?: ApiTournamentPadelMatchSoloPut200ResponseResponseObject;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof ApiTournamentPadelMatchSoloPut200Response
|
|
52
|
+
*/
|
|
53
|
+
statusCode: number;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* Check if a given object implements the ApiTournamentPadelMatchSoloPut200Response interface.
|
|
58
|
+
*/
|
|
59
|
+
export function instanceOfApiTournamentPadelMatchSoloPut200Response(value: object): value is ApiTournamentPadelMatchSoloPut200Response {
|
|
60
|
+
if (!('success' in value) || value['success'] === undefined) return false;
|
|
61
|
+
if (!('message' in value) || value['message'] === undefined) return false;
|
|
62
|
+
if (!('statusCode' in value) || value['statusCode'] === undefined) return false;
|
|
63
|
+
return true;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
export function ApiTournamentPadelMatchSoloPut200ResponseFromJSON(json: any): ApiTournamentPadelMatchSoloPut200Response {
|
|
67
|
+
return ApiTournamentPadelMatchSoloPut200ResponseFromJSONTyped(json, false);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
export function ApiTournamentPadelMatchSoloPut200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiTournamentPadelMatchSoloPut200Response {
|
|
71
|
+
if (json == null) {
|
|
72
|
+
return json;
|
|
73
|
+
}
|
|
74
|
+
return {
|
|
75
|
+
|
|
76
|
+
'success': json['success'],
|
|
77
|
+
'message': json['message'],
|
|
78
|
+
'responseObject': json['responseObject'] == null ? undefined : ApiTournamentPadelMatchSoloPut200ResponseResponseObjectFromJSON(json['responseObject']),
|
|
79
|
+
'statusCode': json['statusCode'],
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
export function ApiTournamentPadelMatchSoloPut200ResponseToJSON(json: any): ApiTournamentPadelMatchSoloPut200Response {
|
|
84
|
+
return ApiTournamentPadelMatchSoloPut200ResponseToJSONTyped(json, false);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
export function ApiTournamentPadelMatchSoloPut200ResponseToJSONTyped(value?: ApiTournamentPadelMatchSoloPut200Response | null, ignoreDiscriminator: boolean = false): any {
|
|
88
|
+
if (value == null) {
|
|
89
|
+
return value;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
return {
|
|
93
|
+
|
|
94
|
+
'success': value['success'],
|
|
95
|
+
'message': value['message'],
|
|
96
|
+
'responseObject': ApiTournamentPadelMatchSoloPut200ResponseResponseObjectToJSON(value['responseObject']),
|
|
97
|
+
'statusCode': value['statusCode'],
|
|
98
|
+
};
|
|
99
|
+
}
|
|
100
|
+
|
|
@@ -0,0 +1,165 @@
|
|
|
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 ApiTournamentPadelMatchSoloPut200ResponseResponseObject
|
|
20
|
+
*/
|
|
21
|
+
export interface ApiTournamentPadelMatchSoloPut200ResponseResponseObject {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof ApiTournamentPadelMatchSoloPut200ResponseResponseObject
|
|
26
|
+
*/
|
|
27
|
+
id: number;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {number}
|
|
31
|
+
* @memberof ApiTournamentPadelMatchSoloPut200ResponseResponseObject
|
|
32
|
+
*/
|
|
33
|
+
playerA1Id: number;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {number}
|
|
37
|
+
* @memberof ApiTournamentPadelMatchSoloPut200ResponseResponseObject
|
|
38
|
+
*/
|
|
39
|
+
playerA2Id: number;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {number}
|
|
43
|
+
* @memberof ApiTournamentPadelMatchSoloPut200ResponseResponseObject
|
|
44
|
+
*/
|
|
45
|
+
playerB1Id: number;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {number}
|
|
49
|
+
* @memberof ApiTournamentPadelMatchSoloPut200ResponseResponseObject
|
|
50
|
+
*/
|
|
51
|
+
playerB2Id: number;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {number}
|
|
55
|
+
* @memberof ApiTournamentPadelMatchSoloPut200ResponseResponseObject
|
|
56
|
+
*/
|
|
57
|
+
tournamentId: number;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {number}
|
|
61
|
+
* @memberof ApiTournamentPadelMatchSoloPut200ResponseResponseObject
|
|
62
|
+
*/
|
|
63
|
+
scoreA: number;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @type {number}
|
|
67
|
+
* @memberof ApiTournamentPadelMatchSoloPut200ResponseResponseObject
|
|
68
|
+
*/
|
|
69
|
+
scoreB: number;
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
* @type {number}
|
|
73
|
+
* @memberof ApiTournamentPadelMatchSoloPut200ResponseResponseObject
|
|
74
|
+
*/
|
|
75
|
+
round: number;
|
|
76
|
+
/**
|
|
77
|
+
*
|
|
78
|
+
* @type {number}
|
|
79
|
+
* @memberof ApiTournamentPadelMatchSoloPut200ResponseResponseObject
|
|
80
|
+
*/
|
|
81
|
+
court: number;
|
|
82
|
+
/**
|
|
83
|
+
*
|
|
84
|
+
* @type {Date}
|
|
85
|
+
* @memberof ApiTournamentPadelMatchSoloPut200ResponseResponseObject
|
|
86
|
+
*/
|
|
87
|
+
createdAt: Date;
|
|
88
|
+
/**
|
|
89
|
+
*
|
|
90
|
+
* @type {Date}
|
|
91
|
+
* @memberof ApiTournamentPadelMatchSoloPut200ResponseResponseObject
|
|
92
|
+
*/
|
|
93
|
+
updatedAt: Date;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* Check if a given object implements the ApiTournamentPadelMatchSoloPut200ResponseResponseObject interface.
|
|
98
|
+
*/
|
|
99
|
+
export function instanceOfApiTournamentPadelMatchSoloPut200ResponseResponseObject(value: object): value is ApiTournamentPadelMatchSoloPut200ResponseResponseObject {
|
|
100
|
+
if (!('id' in value) || value['id'] === undefined) return false;
|
|
101
|
+
if (!('playerA1Id' in value) || value['playerA1Id'] === undefined) return false;
|
|
102
|
+
if (!('playerA2Id' in value) || value['playerA2Id'] === undefined) return false;
|
|
103
|
+
if (!('playerB1Id' in value) || value['playerB1Id'] === undefined) return false;
|
|
104
|
+
if (!('playerB2Id' in value) || value['playerB2Id'] === undefined) return false;
|
|
105
|
+
if (!('tournamentId' in value) || value['tournamentId'] === undefined) return false;
|
|
106
|
+
if (!('scoreA' in value) || value['scoreA'] === undefined) return false;
|
|
107
|
+
if (!('scoreB' in value) || value['scoreB'] === undefined) return false;
|
|
108
|
+
if (!('round' in value) || value['round'] === undefined) return false;
|
|
109
|
+
if (!('court' in value) || value['court'] === undefined) return false;
|
|
110
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
|
|
111
|
+
if (!('updatedAt' in value) || value['updatedAt'] === undefined) return false;
|
|
112
|
+
return true;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
export function ApiTournamentPadelMatchSoloPut200ResponseResponseObjectFromJSON(json: any): ApiTournamentPadelMatchSoloPut200ResponseResponseObject {
|
|
116
|
+
return ApiTournamentPadelMatchSoloPut200ResponseResponseObjectFromJSONTyped(json, false);
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
export function ApiTournamentPadelMatchSoloPut200ResponseResponseObjectFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiTournamentPadelMatchSoloPut200ResponseResponseObject {
|
|
120
|
+
if (json == null) {
|
|
121
|
+
return json;
|
|
122
|
+
}
|
|
123
|
+
return {
|
|
124
|
+
|
|
125
|
+
'id': json['id'],
|
|
126
|
+
'playerA1Id': json['player_a_1_id'],
|
|
127
|
+
'playerA2Id': json['player_a_2_id'],
|
|
128
|
+
'playerB1Id': json['player_b_1_id'],
|
|
129
|
+
'playerB2Id': json['player_b_2_id'],
|
|
130
|
+
'tournamentId': json['tournament_id'],
|
|
131
|
+
'scoreA': json['score_a'],
|
|
132
|
+
'scoreB': json['score_b'],
|
|
133
|
+
'round': json['round'],
|
|
134
|
+
'court': json['court'],
|
|
135
|
+
'createdAt': (new Date(json['created_at'])),
|
|
136
|
+
'updatedAt': (new Date(json['updated_at'])),
|
|
137
|
+
};
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
export function ApiTournamentPadelMatchSoloPut200ResponseResponseObjectToJSON(json: any): ApiTournamentPadelMatchSoloPut200ResponseResponseObject {
|
|
141
|
+
return ApiTournamentPadelMatchSoloPut200ResponseResponseObjectToJSONTyped(json, false);
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
export function ApiTournamentPadelMatchSoloPut200ResponseResponseObjectToJSONTyped(value?: ApiTournamentPadelMatchSoloPut200ResponseResponseObject | null, ignoreDiscriminator: boolean = false): any {
|
|
145
|
+
if (value == null) {
|
|
146
|
+
return value;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
return {
|
|
150
|
+
|
|
151
|
+
'id': value['id'],
|
|
152
|
+
'player_a_1_id': value['playerA1Id'],
|
|
153
|
+
'player_a_2_id': value['playerA2Id'],
|
|
154
|
+
'player_b_1_id': value['playerB1Id'],
|
|
155
|
+
'player_b_2_id': value['playerB2Id'],
|
|
156
|
+
'tournament_id': value['tournamentId'],
|
|
157
|
+
'score_a': value['scoreA'],
|
|
158
|
+
'score_b': value['scoreB'],
|
|
159
|
+
'round': value['round'],
|
|
160
|
+
'court': value['court'],
|
|
161
|
+
'created_at': ((value['createdAt']).toISOString()),
|
|
162
|
+
'updated_at': ((value['updatedAt']).toISOString()),
|
|
163
|
+
};
|
|
164
|
+
}
|
|
165
|
+
|
|
@@ -0,0 +1,74 @@
|
|
|
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 { ApiTournamentPadelMatchSoloPutRequestBody } from './ApiTournamentPadelMatchSoloPutRequestBody';
|
|
17
|
+
import {
|
|
18
|
+
ApiTournamentPadelMatchSoloPutRequestBodyFromJSON,
|
|
19
|
+
ApiTournamentPadelMatchSoloPutRequestBodyFromJSONTyped,
|
|
20
|
+
ApiTournamentPadelMatchSoloPutRequestBodyToJSON,
|
|
21
|
+
ApiTournamentPadelMatchSoloPutRequestBodyToJSONTyped,
|
|
22
|
+
} from './ApiTournamentPadelMatchSoloPutRequestBody';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface ApiTournamentPadelMatchSoloPutRequest
|
|
28
|
+
*/
|
|
29
|
+
export interface ApiTournamentPadelMatchSoloPutRequest {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {ApiTournamentPadelMatchSoloPutRequestBody}
|
|
33
|
+
* @memberof ApiTournamentPadelMatchSoloPutRequest
|
|
34
|
+
*/
|
|
35
|
+
body: ApiTournamentPadelMatchSoloPutRequestBody;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the ApiTournamentPadelMatchSoloPutRequest interface.
|
|
40
|
+
*/
|
|
41
|
+
export function instanceOfApiTournamentPadelMatchSoloPutRequest(value: object): value is ApiTournamentPadelMatchSoloPutRequest {
|
|
42
|
+
if (!('body' in value) || value['body'] === undefined) return false;
|
|
43
|
+
return true;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export function ApiTournamentPadelMatchSoloPutRequestFromJSON(json: any): ApiTournamentPadelMatchSoloPutRequest {
|
|
47
|
+
return ApiTournamentPadelMatchSoloPutRequestFromJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export function ApiTournamentPadelMatchSoloPutRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiTournamentPadelMatchSoloPutRequest {
|
|
51
|
+
if (json == null) {
|
|
52
|
+
return json;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
|
|
56
|
+
'body': ApiTournamentPadelMatchSoloPutRequestBodyFromJSON(json['body']),
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function ApiTournamentPadelMatchSoloPutRequestToJSON(json: any): ApiTournamentPadelMatchSoloPutRequest {
|
|
61
|
+
return ApiTournamentPadelMatchSoloPutRequestToJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function ApiTournamentPadelMatchSoloPutRequestToJSONTyped(value?: ApiTournamentPadelMatchSoloPutRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
65
|
+
if (value == null) {
|
|
66
|
+
return value;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
return {
|
|
70
|
+
|
|
71
|
+
'body': ApiTournamentPadelMatchSoloPutRequestBodyToJSON(value['body']),
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
|
|
@@ -0,0 +1,147 @@
|
|
|
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 ApiTournamentPadelMatchSoloPutRequestBody
|
|
20
|
+
*/
|
|
21
|
+
export interface ApiTournamentPadelMatchSoloPutRequestBody {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof ApiTournamentPadelMatchSoloPutRequestBody
|
|
26
|
+
*/
|
|
27
|
+
id: number;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {number}
|
|
31
|
+
* @memberof ApiTournamentPadelMatchSoloPutRequestBody
|
|
32
|
+
*/
|
|
33
|
+
playerA1Id: number;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {number}
|
|
37
|
+
* @memberof ApiTournamentPadelMatchSoloPutRequestBody
|
|
38
|
+
*/
|
|
39
|
+
playerA2Id: number;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {number}
|
|
43
|
+
* @memberof ApiTournamentPadelMatchSoloPutRequestBody
|
|
44
|
+
*/
|
|
45
|
+
playerB1Id: number;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {number}
|
|
49
|
+
* @memberof ApiTournamentPadelMatchSoloPutRequestBody
|
|
50
|
+
*/
|
|
51
|
+
playerB2Id: number;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {number}
|
|
55
|
+
* @memberof ApiTournamentPadelMatchSoloPutRequestBody
|
|
56
|
+
*/
|
|
57
|
+
tournamentId: number;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {number}
|
|
61
|
+
* @memberof ApiTournamentPadelMatchSoloPutRequestBody
|
|
62
|
+
*/
|
|
63
|
+
scoreA: number;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @type {number}
|
|
67
|
+
* @memberof ApiTournamentPadelMatchSoloPutRequestBody
|
|
68
|
+
*/
|
|
69
|
+
scoreB: number;
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
* @type {number}
|
|
73
|
+
* @memberof ApiTournamentPadelMatchSoloPutRequestBody
|
|
74
|
+
*/
|
|
75
|
+
round: number;
|
|
76
|
+
/**
|
|
77
|
+
*
|
|
78
|
+
* @type {number}
|
|
79
|
+
* @memberof ApiTournamentPadelMatchSoloPutRequestBody
|
|
80
|
+
*/
|
|
81
|
+
court: number;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* Check if a given object implements the ApiTournamentPadelMatchSoloPutRequestBody interface.
|
|
86
|
+
*/
|
|
87
|
+
export function instanceOfApiTournamentPadelMatchSoloPutRequestBody(value: object): value is ApiTournamentPadelMatchSoloPutRequestBody {
|
|
88
|
+
if (!('id' in value) || value['id'] === undefined) return false;
|
|
89
|
+
if (!('playerA1Id' in value) || value['playerA1Id'] === undefined) return false;
|
|
90
|
+
if (!('playerA2Id' in value) || value['playerA2Id'] === undefined) return false;
|
|
91
|
+
if (!('playerB1Id' in value) || value['playerB1Id'] === undefined) return false;
|
|
92
|
+
if (!('playerB2Id' in value) || value['playerB2Id'] === undefined) return false;
|
|
93
|
+
if (!('tournamentId' in value) || value['tournamentId'] === undefined) return false;
|
|
94
|
+
if (!('scoreA' in value) || value['scoreA'] === undefined) return false;
|
|
95
|
+
if (!('scoreB' in value) || value['scoreB'] === undefined) return false;
|
|
96
|
+
if (!('round' in value) || value['round'] === undefined) return false;
|
|
97
|
+
if (!('court' in value) || value['court'] === undefined) return false;
|
|
98
|
+
return true;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
export function ApiTournamentPadelMatchSoloPutRequestBodyFromJSON(json: any): ApiTournamentPadelMatchSoloPutRequestBody {
|
|
102
|
+
return ApiTournamentPadelMatchSoloPutRequestBodyFromJSONTyped(json, false);
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
export function ApiTournamentPadelMatchSoloPutRequestBodyFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiTournamentPadelMatchSoloPutRequestBody {
|
|
106
|
+
if (json == null) {
|
|
107
|
+
return json;
|
|
108
|
+
}
|
|
109
|
+
return {
|
|
110
|
+
|
|
111
|
+
'id': json['id'],
|
|
112
|
+
'playerA1Id': json['player_a_1_id'],
|
|
113
|
+
'playerA2Id': json['player_a_2_id'],
|
|
114
|
+
'playerB1Id': json['player_b_1_id'],
|
|
115
|
+
'playerB2Id': json['player_b_2_id'],
|
|
116
|
+
'tournamentId': json['tournament_id'],
|
|
117
|
+
'scoreA': json['score_a'],
|
|
118
|
+
'scoreB': json['score_b'],
|
|
119
|
+
'round': json['round'],
|
|
120
|
+
'court': json['court'],
|
|
121
|
+
};
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
export function ApiTournamentPadelMatchSoloPutRequestBodyToJSON(json: any): ApiTournamentPadelMatchSoloPutRequestBody {
|
|
125
|
+
return ApiTournamentPadelMatchSoloPutRequestBodyToJSONTyped(json, false);
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
export function ApiTournamentPadelMatchSoloPutRequestBodyToJSONTyped(value?: ApiTournamentPadelMatchSoloPutRequestBody | null, ignoreDiscriminator: boolean = false): any {
|
|
129
|
+
if (value == null) {
|
|
130
|
+
return value;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
return {
|
|
134
|
+
|
|
135
|
+
'id': value['id'],
|
|
136
|
+
'player_a_1_id': value['playerA1Id'],
|
|
137
|
+
'player_a_2_id': value['playerA2Id'],
|
|
138
|
+
'player_b_1_id': value['playerB1Id'],
|
|
139
|
+
'player_b_2_id': value['playerB2Id'],
|
|
140
|
+
'tournament_id': value['tournamentId'],
|
|
141
|
+
'score_a': value['scoreA'],
|
|
142
|
+
'score_b': value['scoreB'],
|
|
143
|
+
'round': value['round'],
|
|
144
|
+
'court': value['court'],
|
|
145
|
+
};
|
|
146
|
+
}
|
|
147
|
+
|