@drxsuperapp/sdk 1.1.128 → 1.1.130

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.
Files changed (30) hide show
  1. package/.openapi-generator/FILES +4 -1
  2. package/apis/TournamentApi.ts +50 -2
  3. package/deploy.log +18 -11
  4. package/dist/apis/TournamentApi.d.ts +14 -3
  5. package/dist/apis/TournamentApi.js +36 -3
  6. package/dist/models/ApiTournamentPadelIdGet200ResponseResponseObject.d.ts +3 -3
  7. package/dist/models/ApiTournamentPadelIdGet200ResponseResponseObject.js +3 -3
  8. package/dist/models/ApiTournamentPadelIdGet200ResponseResponseObjectMatchTeamInner.d.ts +8 -8
  9. package/dist/models/ApiTournamentPadelIdGet200ResponseResponseObjectMatchTeamInner.js +9 -9
  10. package/dist/models/ApiTournamentPadelIdGet200ResponseResponseObjectMatchTeamInnerTeamA.d.ts +62 -0
  11. package/dist/models/ApiTournamentPadelIdGet200ResponseResponseObjectMatchTeamInnerTeamA.js +63 -0
  12. package/dist/models/ApiTournamentPadelIdGet200ResponseResponseObjectTeamInner.d.ts +5 -4
  13. package/dist/models/ApiTournamentPadelIdGet200ResponseResponseObjectTeamInner.js +7 -6
  14. package/dist/models/{ApiTournamentPadelIdGet200ResponseResponseObjectFinalScoreTeamInner.d.ts → ApiTournamentPadelIdGet200ResponseResponseObjectTeamInnerFinalScoreTeam.d.ts} +18 -18
  15. package/dist/models/{ApiTournamentPadelIdGet200ResponseResponseObjectFinalScoreTeamInner.js → ApiTournamentPadelIdGet200ResponseResponseObjectTeamInnerFinalScoreTeam.js} +8 -8
  16. package/dist/models/ApiTournamentPadelMatchTeamPutRequest.d.ts +33 -0
  17. package/dist/models/ApiTournamentPadelMatchTeamPutRequest.js +44 -0
  18. package/dist/models/ApiTournamentPadelMatchTeamPutRequestBody.d.ts +74 -0
  19. package/dist/models/ApiTournamentPadelMatchTeamPutRequestBody.js +71 -0
  20. package/dist/models/index.d.ts +4 -1
  21. package/dist/models/index.js +4 -1
  22. package/models/ApiTournamentPadelIdGet200ResponseResponseObject.ts +10 -10
  23. package/models/ApiTournamentPadelIdGet200ResponseResponseObjectMatchTeamInner.ts +20 -20
  24. package/models/ApiTournamentPadelIdGet200ResponseResponseObjectMatchTeamInnerTeamA.ts +111 -0
  25. package/models/ApiTournamentPadelIdGet200ResponseResponseObjectTeamInner.ts +18 -10
  26. package/models/{ApiTournamentPadelIdGet200ResponseResponseObjectFinalScoreTeamInner.ts → ApiTournamentPadelIdGet200ResponseResponseObjectTeamInnerFinalScoreTeam.ts} +20 -20
  27. package/models/ApiTournamentPadelMatchTeamPutRequest.ts +74 -0
  28. package/models/ApiTournamentPadelMatchTeamPutRequestBody.ts +129 -0
  29. package/models/index.ts +4 -1
  30. package/package.json +1 -1
@@ -45,14 +45,15 @@ models/ApiTournamentPadelIdDelete200Response.ts
45
45
  models/ApiTournamentPadelIdDelete200ResponseResponseObject.ts
46
46
  models/ApiTournamentPadelIdGet200Response.ts
47
47
  models/ApiTournamentPadelIdGet200ResponseResponseObject.ts
48
- models/ApiTournamentPadelIdGet200ResponseResponseObjectFinalScoreTeamInner.ts
49
48
  models/ApiTournamentPadelIdGet200ResponseResponseObjectGameType.ts
50
49
  models/ApiTournamentPadelIdGet200ResponseResponseObjectMatchTeamInner.ts
50
+ models/ApiTournamentPadelIdGet200ResponseResponseObjectMatchTeamInnerTeamA.ts
51
51
  models/ApiTournamentPadelIdGet200ResponseResponseObjectMatchesSoloInner.ts
52
52
  models/ApiTournamentPadelIdGet200ResponseResponseObjectMatchesSoloInnerPlayerA1.ts
53
53
  models/ApiTournamentPadelIdGet200ResponseResponseObjectPlayersInner.ts
54
54
  models/ApiTournamentPadelIdGet200ResponseResponseObjectPlayersInnerFinalScores.ts
55
55
  models/ApiTournamentPadelIdGet200ResponseResponseObjectTeamInner.ts
56
+ models/ApiTournamentPadelIdGet200ResponseResponseObjectTeamInnerFinalScoreTeam.ts
56
57
  models/ApiTournamentPadelLeaderboardIdGet200Response.ts
57
58
  models/ApiTournamentPadelLeaderboardIdGet200ResponseResponseObjectInner.ts
58
59
  models/ApiTournamentPadelLeaderboardIdGet200ResponseResponseObjectInnerFinalScores.ts
@@ -60,6 +61,8 @@ models/ApiTournamentPadelMatchSoloPut200Response.ts
60
61
  models/ApiTournamentPadelMatchSoloPut200ResponseResponseObject.ts
61
62
  models/ApiTournamentPadelMatchSoloPutRequest.ts
62
63
  models/ApiTournamentPadelMatchSoloPutRequestBody.ts
64
+ models/ApiTournamentPadelMatchTeamPutRequest.ts
65
+ models/ApiTournamentPadelMatchTeamPutRequestBody.ts
63
66
  models/ApiTournamentPadelPost200Response.ts
64
67
  models/ApiTournamentPadelPost200ResponseResponseObject.ts
65
68
  models/ApiTournamentPadelPostRequest.ts
@@ -23,6 +23,7 @@ import type {
23
23
  ApiTournamentPadelLeaderboardIdGet200Response,
24
24
  ApiTournamentPadelMatchSoloPut200Response,
25
25
  ApiTournamentPadelMatchSoloPutRequest,
26
+ ApiTournamentPadelMatchTeamPutRequest,
26
27
  ApiTournamentPadelPost200Response,
27
28
  ApiTournamentPadelPostRequest,
28
29
  ApiTournamentSeedGameTypesGet200Response,
@@ -44,6 +45,8 @@ import {
44
45
  ApiTournamentPadelMatchSoloPut200ResponseToJSON,
45
46
  ApiTournamentPadelMatchSoloPutRequestFromJSON,
46
47
  ApiTournamentPadelMatchSoloPutRequestToJSON,
48
+ ApiTournamentPadelMatchTeamPutRequestFromJSON,
49
+ ApiTournamentPadelMatchTeamPutRequestToJSON,
47
50
  ApiTournamentPadelPost200ResponseFromJSON,
48
51
  ApiTournamentPadelPost200ResponseToJSON,
49
52
  ApiTournamentPadelPostRequestFromJSON,
@@ -76,6 +79,10 @@ export interface ApiTournamentPadelMatchSoloPutOperationRequest {
76
79
  apiTournamentPadelMatchSoloPutRequest?: ApiTournamentPadelMatchSoloPutRequest;
77
80
  }
78
81
 
82
+ export interface ApiTournamentPadelMatchTeamPutOperationRequest {
83
+ apiTournamentPadelMatchTeamPutRequest?: ApiTournamentPadelMatchTeamPutRequest;
84
+ }
85
+
79
86
  export interface ApiTournamentPadelPostOperationRequest {
80
87
  apiTournamentPadelPostRequest?: ApiTournamentPadelPostRequest;
81
88
  }
@@ -317,7 +324,7 @@ export class TournamentApi extends runtime.BaseAPI {
317
324
  }
318
325
 
319
326
  /**
320
- * Update Match
327
+ * Update Match Solo
321
328
  */
322
329
  async apiTournamentPadelMatchSoloPutRaw(requestParameters: ApiTournamentPadelMatchSoloPutOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiTournamentPadelMatchSoloPut200Response>> {
323
330
  const queryParameters: any = {};
@@ -350,13 +357,54 @@ export class TournamentApi extends runtime.BaseAPI {
350
357
  }
351
358
 
352
359
  /**
353
- * Update Match
360
+ * Update Match Solo
354
361
  */
355
362
  async apiTournamentPadelMatchSoloPut(requestParameters: ApiTournamentPadelMatchSoloPutOperationRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiTournamentPadelMatchSoloPut200Response> {
356
363
  const response = await this.apiTournamentPadelMatchSoloPutRaw(requestParameters, initOverrides);
357
364
  return await response.value();
358
365
  }
359
366
 
367
+ /**
368
+ * Update Match Team
369
+ */
370
+ async apiTournamentPadelMatchTeamPutRaw(requestParameters: ApiTournamentPadelMatchTeamPutOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiTournamentPadelMatchSoloPut200Response>> {
371
+ const queryParameters: any = {};
372
+
373
+ const headerParameters: runtime.HTTPHeaders = {};
374
+
375
+ headerParameters['Content-Type'] = 'application/json';
376
+
377
+ if (this.configuration && this.configuration.apiKey) {
378
+ headerParameters["x-api-key"] = await this.configuration.apiKey("x-api-key"); // ApiKeyAuth authentication
379
+ }
380
+
381
+ if (this.configuration && this.configuration.accessToken) {
382
+ const token = this.configuration.accessToken;
383
+ const tokenString = await token("BearerAuth", []);
384
+
385
+ if (tokenString) {
386
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
387
+ }
388
+ }
389
+ const response = await this.request({
390
+ path: `/api/tournament/padel/match-team`,
391
+ method: 'PUT',
392
+ headers: headerParameters,
393
+ query: queryParameters,
394
+ body: ApiTournamentPadelMatchTeamPutRequestToJSON(requestParameters['apiTournamentPadelMatchTeamPutRequest']),
395
+ }, initOverrides);
396
+
397
+ return new runtime.JSONApiResponse(response, (jsonValue) => ApiTournamentPadelMatchSoloPut200ResponseFromJSON(jsonValue));
398
+ }
399
+
400
+ /**
401
+ * Update Match Team
402
+ */
403
+ async apiTournamentPadelMatchTeamPut(requestParameters: ApiTournamentPadelMatchTeamPutOperationRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiTournamentPadelMatchSoloPut200Response> {
404
+ const response = await this.apiTournamentPadelMatchTeamPutRaw(requestParameters, initOverrides);
405
+ return await response.value();
406
+ }
407
+
360
408
  /**
361
409
  * Create Tournament
362
410
  */
package/deploy.log CHANGED
@@ -54,9 +54,10 @@
54
54
  [main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_tournament_padel__id__get_200_response_responseObject_players_inner. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_tournament_padel__id__get_200_response_responseObject_players_inner=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_tournament_padel__id__get_200_response_responseObject_players_inner=NewModel,ModelA=NewModelA in CLI).
55
55
  [main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_tournament_padel__id__get_200_response_responseObject_matchesSolo_inner_playerA1. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_tournament_padel__id__get_200_response_responseObject_matchesSolo_inner_playerA1=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_tournament_padel__id__get_200_response_responseObject_matchesSolo_inner_playerA1=NewModel,ModelA=NewModelA in CLI).
56
56
  [main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_tournament_padel__id__get_200_response_responseObject_matchesSolo_inner. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_tournament_padel__id__get_200_response_responseObject_matchesSolo_inner=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_tournament_padel__id__get_200_response_responseObject_matchesSolo_inner=NewModel,ModelA=NewModelA in CLI).
57
+ [main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_tournament_padel__id__get_200_response_responseObject_Team_inner_FinalScoreTeam. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_tournament_padel__id__get_200_response_responseObject_Team_inner_FinalScoreTeam=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_tournament_padel__id__get_200_response_responseObject_Team_inner_FinalScoreTeam=NewModel,ModelA=NewModelA in CLI).
57
58
  [main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_tournament_padel__id__get_200_response_responseObject_Team_inner. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_tournament_padel__id__get_200_response_responseObject_Team_inner=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_tournament_padel__id__get_200_response_responseObject_Team_inner=NewModel,ModelA=NewModelA in CLI).
59
+ [main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_tournament_padel__id__get_200_response_responseObject_MatchTeam_inner_team_a. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_tournament_padel__id__get_200_response_responseObject_MatchTeam_inner_team_a=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_tournament_padel__id__get_200_response_responseObject_MatchTeam_inner_team_a=NewModel,ModelA=NewModelA in CLI).
58
60
  [main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_tournament_padel__id__get_200_response_responseObject_MatchTeam_inner. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_tournament_padel__id__get_200_response_responseObject_MatchTeam_inner=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_tournament_padel__id__get_200_response_responseObject_MatchTeam_inner=NewModel,ModelA=NewModelA in CLI).
59
- [main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_tournament_padel__id__get_200_response_responseObject_FinalScoreTeam_inner. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_tournament_padel__id__get_200_response_responseObject_FinalScoreTeam_inner=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_tournament_padel__id__get_200_response_responseObject_FinalScoreTeam_inner=NewModel,ModelA=NewModelA in CLI).
60
61
  [main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_tournament_padel__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_tournament_padel__id__get_200_response_responseObject=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_tournament_padel__id__get_200_response_responseObject=NewModel,ModelA=NewModelA in CLI).
61
62
  [main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_tournament_padel__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_tournament_padel__id__get_200_response=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_tournament_padel__id__get_200_response=NewModel,ModelA=NewModelA in CLI).
62
63
  [main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_tournament_padel__id__delete_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_tournament_padel__id__delete_200_response_responseObject=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_tournament_padel__id__delete_200_response_responseObject=NewModel,ModelA=NewModelA in CLI).
@@ -67,6 +68,8 @@
67
68
  [main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_tournament_padel_match_solo_put_request. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_tournament_padel_match_solo_put_request=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_tournament_padel_match_solo_put_request=NewModel,ModelA=NewModelA in CLI).
68
69
  [main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_tournament_padel_match_solo_put_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_tournament_padel_match_solo_put_200_response_responseObject=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_tournament_padel_match_solo_put_200_response_responseObject=NewModel,ModelA=NewModelA in CLI).
69
70
  [main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_tournament_padel_match_solo_put_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_tournament_padel_match_solo_put_200_response=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_tournament_padel_match_solo_put_200_response=NewModel,ModelA=NewModelA in CLI).
71
+ [main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_tournament_padel_match_team_put_request_body. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_tournament_padel_match_team_put_request_body=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_tournament_padel_match_team_put_request_body=NewModel,ModelA=NewModelA in CLI).
72
+ [main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_tournament_padel_match_team_put_request. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_tournament_padel_match_team_put_request=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_tournament_padel_match_team_put_request=NewModel,ModelA=NewModelA in CLI).
70
73
  [main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_tournament_padel_leaderboard__id__get_200_response_responseObject_inner_final_scores. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_tournament_padel_leaderboard__id__get_200_response_responseObject_inner_final_scores=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_tournament_padel_leaderboard__id__get_200_response_responseObject_inner_final_scores=NewModel,ModelA=NewModelA in CLI).
71
74
  [main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_tournament_padel_leaderboard__id__get_200_response_responseObject_inner. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_tournament_padel_leaderboard__id__get_200_response_responseObject_inner=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_tournament_padel_leaderboard__id__get_200_response_responseObject_inner=NewModel,ModelA=NewModelA in CLI).
72
75
  [main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_tournament_padel_leaderboard__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_tournament_padel_leaderboard__id__get_200_response=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_tournament_padel_leaderboard__id__get_200_response=NewModel,ModelA=NewModelA in CLI).
@@ -113,14 +116,15 @@
113
116
  [main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiTournamentPadelIdDelete200ResponseResponseObject.ts
114
117
  [main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiTournamentPadelIdGet200Response.ts
115
118
  [main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiTournamentPadelIdGet200ResponseResponseObject.ts
116
- [main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiTournamentPadelIdGet200ResponseResponseObjectFinalScoreTeamInner.ts
117
119
  [main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiTournamentPadelIdGet200ResponseResponseObjectGameType.ts
118
120
  [main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiTournamentPadelIdGet200ResponseResponseObjectMatchTeamInner.ts
121
+ [main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiTournamentPadelIdGet200ResponseResponseObjectMatchTeamInnerTeamA.ts
119
122
  [main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiTournamentPadelIdGet200ResponseResponseObjectMatchesSoloInner.ts
120
123
  [main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiTournamentPadelIdGet200ResponseResponseObjectMatchesSoloInnerPlayerA1.ts
121
124
  [main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiTournamentPadelIdGet200ResponseResponseObjectPlayersInner.ts
122
125
  [main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiTournamentPadelIdGet200ResponseResponseObjectPlayersInnerFinalScores.ts
123
126
  [main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiTournamentPadelIdGet200ResponseResponseObjectTeamInner.ts
127
+ [main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiTournamentPadelIdGet200ResponseResponseObjectTeamInnerFinalScoreTeam.ts
124
128
  [main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiTournamentPadelLeaderboardIdGet200Response.ts
125
129
  [main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiTournamentPadelLeaderboardIdGet200ResponseResponseObjectInner.ts
126
130
  [main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiTournamentPadelLeaderboardIdGet200ResponseResponseObjectInnerFinalScores.ts
@@ -128,6 +132,8 @@
128
132
  [main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiTournamentPadelMatchSoloPut200ResponseResponseObject.ts
129
133
  [main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiTournamentPadelMatchSoloPutRequest.ts
130
134
  [main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiTournamentPadelMatchSoloPutRequestBody.ts
135
+ [main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiTournamentPadelMatchTeamPutRequest.ts
136
+ [main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiTournamentPadelMatchTeamPutRequestBody.ts
131
137
  [main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiTournamentPadelPost200Response.ts
132
138
  [main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiTournamentPadelPost200ResponseResponseObject.ts
133
139
  [main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiTournamentPadelPostRequest.ts
@@ -159,6 +165,7 @@
159
165
  [main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: get /api/tournament/seed-game-types. Renamed to auto-generated operationId: apiTournamentSeedGameTypesGet
160
166
  [main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: get /api/tournament/game-types. Renamed to auto-generated operationId: apiTournamentGameTypesGet
161
167
  [main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: put /api/tournament/padel/match-solo. Renamed to auto-generated operationId: apiTournamentPadelMatchSoloPut
168
+ [main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: put /api/tournament/padel/match-team. Renamed to auto-generated operationId: apiTournamentPadelMatchTeamPut
162
169
  [main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: get /api/tournament/padel/leaderboard/{id}. Renamed to auto-generated operationId: apiTournamentPadelLeaderboardIdGet
163
170
  [main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: get /api/user. Renamed to auto-generated operationId: apiUserGet
164
171
  [main] INFO o.o.codegen.utils.URLPathUtils - 'host' (OAS 2.0) or 'servers' (OAS 3.0) not defined in the spec. Default to [http://localhost] for server URL [http://localhost/]
@@ -187,21 +194,21 @@
187
194
  # https://opencollective.com/openapi_generator/donate #
188
195
  ################################################################################
189
196
  ✅ SDK generated
190
- [master 95cc6bf] VPS: Generated API SDK
191
- 4 files changed, 22 insertions(+), 60 deletions(-)
192
- rename models/{ApiTournamentCleanupGet200Response.ts => ApiTournamentSeedGameTypesGet200Response.ts} (54%)
193
- To https://gitlab.com/drx-super/drx-sdk.git
194
- b5ab5c3..95cc6bf master -> master
197
+ On branch master
198
+ Your branch is up to date with 'origin/master'.
199
+
200
+ nothing to commit, working tree clean
201
+ Everything up-to-date
195
202
  ✅ Changes committed and pushed
196
- v1.1.128
203
+ v1.1.130
197
204
  To https://gitlab.com/drx-super/drx-sdk.git
198
- 95cc6bf..110d9dd master -> master
205
+ 2669443..89ff31c master -> master
199
206
  ✅ Version bumped
200
207
 
201
- > @drxsuperapp/sdk@1.1.128 prepublishOnly
208
+ > @drxsuperapp/sdk@1.1.130 prepublishOnly
202
209
  > npm run build
203
210
 
204
211
 
205
- > @drxsuperapp/sdk@1.1.128 build
212
+ > @drxsuperapp/sdk@1.1.130 build
206
213
  > tsc
207
214
 
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import * as runtime from '../runtime';
13
- import type { ApiTournamentGameTypesGet200Response, ApiTournamentGet200Response, ApiTournamentGetFilterParameter, ApiTournamentPadelIdDelete200Response, ApiTournamentPadelIdGet200Response, ApiTournamentPadelLeaderboardIdGet200Response, ApiTournamentPadelMatchSoloPut200Response, ApiTournamentPadelMatchSoloPutRequest, ApiTournamentPadelPost200Response, ApiTournamentPadelPostRequest, ApiTournamentSeedGameTypesGet200Response } from '../models/index';
13
+ import type { ApiTournamentGameTypesGet200Response, ApiTournamentGet200Response, ApiTournamentGetFilterParameter, ApiTournamentPadelIdDelete200Response, ApiTournamentPadelIdGet200Response, ApiTournamentPadelLeaderboardIdGet200Response, ApiTournamentPadelMatchSoloPut200Response, ApiTournamentPadelMatchSoloPutRequest, ApiTournamentPadelMatchTeamPutRequest, ApiTournamentPadelPost200Response, ApiTournamentPadelPostRequest, ApiTournamentSeedGameTypesGet200Response } from '../models/index';
14
14
  export interface ApiTournamentGetRequest {
15
15
  page?: number;
16
16
  pageSize?: number;
@@ -30,6 +30,9 @@ export interface ApiTournamentPadelLeaderboardIdGetRequest {
30
30
  export interface ApiTournamentPadelMatchSoloPutOperationRequest {
31
31
  apiTournamentPadelMatchSoloPutRequest?: ApiTournamentPadelMatchSoloPutRequest;
32
32
  }
33
+ export interface ApiTournamentPadelMatchTeamPutOperationRequest {
34
+ apiTournamentPadelMatchTeamPutRequest?: ApiTournamentPadelMatchTeamPutRequest;
35
+ }
33
36
  export interface ApiTournamentPadelPostOperationRequest {
34
37
  apiTournamentPadelPostRequest?: ApiTournamentPadelPostRequest;
35
38
  }
@@ -78,13 +81,21 @@ export declare class TournamentApi extends runtime.BaseAPI {
78
81
  */
79
82
  apiTournamentPadelLeaderboardIdGet(requestParameters: ApiTournamentPadelLeaderboardIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiTournamentPadelLeaderboardIdGet200Response>;
80
83
  /**
81
- * Update Match
84
+ * Update Match Solo
82
85
  */
83
86
  apiTournamentPadelMatchSoloPutRaw(requestParameters: ApiTournamentPadelMatchSoloPutOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiTournamentPadelMatchSoloPut200Response>>;
84
87
  /**
85
- * Update Match
88
+ * Update Match Solo
86
89
  */
87
90
  apiTournamentPadelMatchSoloPut(requestParameters?: ApiTournamentPadelMatchSoloPutOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiTournamentPadelMatchSoloPut200Response>;
91
+ /**
92
+ * Update Match Team
93
+ */
94
+ apiTournamentPadelMatchTeamPutRaw(requestParameters: ApiTournamentPadelMatchTeamPutOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiTournamentPadelMatchSoloPut200Response>>;
95
+ /**
96
+ * Update Match Team
97
+ */
98
+ apiTournamentPadelMatchTeamPut(requestParameters?: ApiTournamentPadelMatchTeamPutOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiTournamentPadelMatchSoloPut200Response>;
88
99
  /**
89
100
  * Create Tournament
90
101
  */
@@ -12,7 +12,7 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
  import * as runtime from '../runtime';
15
- import { ApiTournamentGameTypesGet200ResponseFromJSON, ApiTournamentGet200ResponseFromJSON, ApiTournamentPadelIdDelete200ResponseFromJSON, ApiTournamentPadelIdGet200ResponseFromJSON, ApiTournamentPadelLeaderboardIdGet200ResponseFromJSON, ApiTournamentPadelMatchSoloPut200ResponseFromJSON, ApiTournamentPadelMatchSoloPutRequestToJSON, ApiTournamentPadelPost200ResponseFromJSON, ApiTournamentPadelPostRequestToJSON, ApiTournamentSeedGameTypesGet200ResponseFromJSON, } from '../models/index';
15
+ import { ApiTournamentGameTypesGet200ResponseFromJSON, ApiTournamentGet200ResponseFromJSON, ApiTournamentPadelIdDelete200ResponseFromJSON, ApiTournamentPadelIdGet200ResponseFromJSON, ApiTournamentPadelLeaderboardIdGet200ResponseFromJSON, ApiTournamentPadelMatchSoloPut200ResponseFromJSON, ApiTournamentPadelMatchSoloPutRequestToJSON, ApiTournamentPadelMatchTeamPutRequestToJSON, ApiTournamentPadelPost200ResponseFromJSON, ApiTournamentPadelPostRequestToJSON, ApiTournamentSeedGameTypesGet200ResponseFromJSON, } from '../models/index';
16
16
  /**
17
17
  *
18
18
  */
@@ -197,7 +197,7 @@ export class TournamentApi extends runtime.BaseAPI {
197
197
  return await response.value();
198
198
  }
199
199
  /**
200
- * Update Match
200
+ * Update Match Solo
201
201
  */
202
202
  async apiTournamentPadelMatchSoloPutRaw(requestParameters, initOverrides) {
203
203
  const queryParameters = {};
@@ -223,12 +223,45 @@ export class TournamentApi extends runtime.BaseAPI {
223
223
  return new runtime.JSONApiResponse(response, (jsonValue) => ApiTournamentPadelMatchSoloPut200ResponseFromJSON(jsonValue));
224
224
  }
225
225
  /**
226
- * Update Match
226
+ * Update Match Solo
227
227
  */
228
228
  async apiTournamentPadelMatchSoloPut(requestParameters = {}, initOverrides) {
229
229
  const response = await this.apiTournamentPadelMatchSoloPutRaw(requestParameters, initOverrides);
230
230
  return await response.value();
231
231
  }
232
+ /**
233
+ * Update Match Team
234
+ */
235
+ async apiTournamentPadelMatchTeamPutRaw(requestParameters, initOverrides) {
236
+ const queryParameters = {};
237
+ const headerParameters = {};
238
+ headerParameters['Content-Type'] = 'application/json';
239
+ if (this.configuration && this.configuration.apiKey) {
240
+ headerParameters["x-api-key"] = await this.configuration.apiKey("x-api-key"); // ApiKeyAuth authentication
241
+ }
242
+ if (this.configuration && this.configuration.accessToken) {
243
+ const token = this.configuration.accessToken;
244
+ const tokenString = await token("BearerAuth", []);
245
+ if (tokenString) {
246
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
247
+ }
248
+ }
249
+ const response = await this.request({
250
+ path: `/api/tournament/padel/match-team`,
251
+ method: 'PUT',
252
+ headers: headerParameters,
253
+ query: queryParameters,
254
+ body: ApiTournamentPadelMatchTeamPutRequestToJSON(requestParameters['apiTournamentPadelMatchTeamPutRequest']),
255
+ }, initOverrides);
256
+ return new runtime.JSONApiResponse(response, (jsonValue) => ApiTournamentPadelMatchSoloPut200ResponseFromJSON(jsonValue));
257
+ }
258
+ /**
259
+ * Update Match Team
260
+ */
261
+ async apiTournamentPadelMatchTeamPut(requestParameters = {}, initOverrides) {
262
+ const response = await this.apiTournamentPadelMatchTeamPutRaw(requestParameters, initOverrides);
263
+ return await response.value();
264
+ }
232
265
  /**
233
266
  * Create Tournament
234
267
  */
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import type { ApiTournamentPadelIdGet200ResponseResponseObjectPlayersInnerFinalScores } from './ApiTournamentPadelIdGet200ResponseResponseObjectPlayersInnerFinalScores';
13
- import type { ApiTournamentPadelIdGet200ResponseResponseObjectFinalScoreTeamInner } from './ApiTournamentPadelIdGet200ResponseResponseObjectFinalScoreTeamInner';
13
+ import type { ApiTournamentPadelIdGet200ResponseResponseObjectTeamInnerFinalScoreTeam } from './ApiTournamentPadelIdGet200ResponseResponseObjectTeamInnerFinalScoreTeam';
14
14
  import type { ApiTournamentPadelIdGet200ResponseResponseObjectGameType } from './ApiTournamentPadelIdGet200ResponseResponseObjectGameType';
15
15
  import type { ApiTournamentPadelIdGet200ResponseResponseObjectMatchTeamInner } from './ApiTournamentPadelIdGet200ResponseResponseObjectMatchTeamInner';
16
16
  import type { ApiTournamentPadelIdGet200ResponseResponseObjectTeamInner } from './ApiTournamentPadelIdGet200ResponseResponseObjectTeamInner';
@@ -102,10 +102,10 @@ export interface ApiTournamentPadelIdGet200ResponseResponseObject {
102
102
  matchTeam: Array<ApiTournamentPadelIdGet200ResponseResponseObjectMatchTeamInner>;
103
103
  /**
104
104
  *
105
- * @type {Array<ApiTournamentPadelIdGet200ResponseResponseObjectFinalScoreTeamInner>}
105
+ * @type {Array<ApiTournamentPadelIdGet200ResponseResponseObjectTeamInnerFinalScoreTeam>}
106
106
  * @memberof ApiTournamentPadelIdGet200ResponseResponseObject
107
107
  */
108
- finalScoreTeam: Array<ApiTournamentPadelIdGet200ResponseResponseObjectFinalScoreTeamInner>;
108
+ finalScoreTeam: Array<ApiTournamentPadelIdGet200ResponseResponseObjectTeamInnerFinalScoreTeam>;
109
109
  }
110
110
  /**
111
111
  * Check if a given object implements the ApiTournamentPadelIdGet200ResponseResponseObject interface.
@@ -12,7 +12,7 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
  import { ApiTournamentPadelIdGet200ResponseResponseObjectPlayersInnerFinalScoresFromJSON, ApiTournamentPadelIdGet200ResponseResponseObjectPlayersInnerFinalScoresToJSON, } from './ApiTournamentPadelIdGet200ResponseResponseObjectPlayersInnerFinalScores';
15
- import { ApiTournamentPadelIdGet200ResponseResponseObjectFinalScoreTeamInnerFromJSON, ApiTournamentPadelIdGet200ResponseResponseObjectFinalScoreTeamInnerToJSON, } from './ApiTournamentPadelIdGet200ResponseResponseObjectFinalScoreTeamInner';
15
+ import { ApiTournamentPadelIdGet200ResponseResponseObjectTeamInnerFinalScoreTeamFromJSON, ApiTournamentPadelIdGet200ResponseResponseObjectTeamInnerFinalScoreTeamToJSON, } from './ApiTournamentPadelIdGet200ResponseResponseObjectTeamInnerFinalScoreTeam';
16
16
  import { ApiTournamentPadelIdGet200ResponseResponseObjectGameTypeFromJSON, ApiTournamentPadelIdGet200ResponseResponseObjectGameTypeToJSON, } from './ApiTournamentPadelIdGet200ResponseResponseObjectGameType';
17
17
  import { ApiTournamentPadelIdGet200ResponseResponseObjectMatchTeamInnerFromJSON, ApiTournamentPadelIdGet200ResponseResponseObjectMatchTeamInnerToJSON, } from './ApiTournamentPadelIdGet200ResponseResponseObjectMatchTeamInner';
18
18
  import { ApiTournamentPadelIdGet200ResponseResponseObjectTeamInnerFromJSON, ApiTournamentPadelIdGet200ResponseResponseObjectTeamInnerToJSON, } from './ApiTournamentPadelIdGet200ResponseResponseObjectTeamInner';
@@ -73,7 +73,7 @@ export function ApiTournamentPadelIdGet200ResponseResponseObjectFromJSONTyped(js
73
73
  'finalScoresSolo': (json['final_scores_solo'].map(ApiTournamentPadelIdGet200ResponseResponseObjectPlayersInnerFinalScoresFromJSON)),
74
74
  'team': (json['Team'].map(ApiTournamentPadelIdGet200ResponseResponseObjectTeamInnerFromJSON)),
75
75
  'matchTeam': (json['MatchTeam'].map(ApiTournamentPadelIdGet200ResponseResponseObjectMatchTeamInnerFromJSON)),
76
- 'finalScoreTeam': (json['FinalScoreTeam'].map(ApiTournamentPadelIdGet200ResponseResponseObjectFinalScoreTeamInnerFromJSON)),
76
+ 'finalScoreTeam': (json['FinalScoreTeam'].map(ApiTournamentPadelIdGet200ResponseResponseObjectTeamInnerFinalScoreTeamFromJSON)),
77
77
  };
78
78
  }
79
79
  export function ApiTournamentPadelIdGet200ResponseResponseObjectToJSON(json) {
@@ -97,6 +97,6 @@ export function ApiTournamentPadelIdGet200ResponseResponseObjectToJSONTyped(valu
97
97
  'final_scores_solo': (value['finalScoresSolo'].map(ApiTournamentPadelIdGet200ResponseResponseObjectPlayersInnerFinalScoresToJSON)),
98
98
  'Team': (value['team'].map(ApiTournamentPadelIdGet200ResponseResponseObjectTeamInnerToJSON)),
99
99
  'MatchTeam': (value['matchTeam'].map(ApiTournamentPadelIdGet200ResponseResponseObjectMatchTeamInnerToJSON)),
100
- 'FinalScoreTeam': (value['finalScoreTeam'].map(ApiTournamentPadelIdGet200ResponseResponseObjectFinalScoreTeamInnerToJSON)),
100
+ 'FinalScoreTeam': (value['finalScoreTeam'].map(ApiTournamentPadelIdGet200ResponseResponseObjectTeamInnerFinalScoreTeamToJSON)),
101
101
  };
102
102
  }
@@ -9,7 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { ApiTournamentPadelIdGet200ResponseResponseObjectTeamInner } from './ApiTournamentPadelIdGet200ResponseResponseObjectTeamInner';
12
+ import type { ApiTournamentPadelIdGet200ResponseResponseObjectMatchTeamInnerTeamA } from './ApiTournamentPadelIdGet200ResponseResponseObjectMatchTeamInnerTeamA';
13
13
  /**
14
14
  *
15
15
  * @export
@@ -27,19 +27,19 @@ export interface ApiTournamentPadelIdGet200ResponseResponseObjectMatchTeamInner
27
27
  * @type {number}
28
28
  * @memberof ApiTournamentPadelIdGet200ResponseResponseObjectMatchTeamInner
29
29
  */
30
- tournamentId: number;
30
+ teamAId: number;
31
31
  /**
32
32
  *
33
33
  * @type {number}
34
34
  * @memberof ApiTournamentPadelIdGet200ResponseResponseObjectMatchTeamInner
35
35
  */
36
- teamAId: number;
36
+ teamBId: number;
37
37
  /**
38
38
  *
39
39
  * @type {number}
40
40
  * @memberof ApiTournamentPadelIdGet200ResponseResponseObjectMatchTeamInner
41
41
  */
42
- teamBId: number;
42
+ tournamentId: number;
43
43
  /**
44
44
  *
45
45
  * @type {number}
@@ -66,16 +66,16 @@ export interface ApiTournamentPadelIdGet200ResponseResponseObjectMatchTeamInner
66
66
  court: number;
67
67
  /**
68
68
  *
69
- * @type {ApiTournamentPadelIdGet200ResponseResponseObjectTeamInner}
69
+ * @type {ApiTournamentPadelIdGet200ResponseResponseObjectMatchTeamInnerTeamA}
70
70
  * @memberof ApiTournamentPadelIdGet200ResponseResponseObjectMatchTeamInner
71
71
  */
72
- teamA: ApiTournamentPadelIdGet200ResponseResponseObjectTeamInner;
72
+ teamA: ApiTournamentPadelIdGet200ResponseResponseObjectMatchTeamInnerTeamA;
73
73
  /**
74
74
  *
75
- * @type {ApiTournamentPadelIdGet200ResponseResponseObjectTeamInner}
75
+ * @type {ApiTournamentPadelIdGet200ResponseResponseObjectMatchTeamInnerTeamA}
76
76
  * @memberof ApiTournamentPadelIdGet200ResponseResponseObjectMatchTeamInner
77
77
  */
78
- teamB: ApiTournamentPadelIdGet200ResponseResponseObjectTeamInner;
78
+ teamB: ApiTournamentPadelIdGet200ResponseResponseObjectMatchTeamInnerTeamA;
79
79
  }
80
80
  /**
81
81
  * Check if a given object implements the ApiTournamentPadelIdGet200ResponseResponseObjectMatchTeamInner interface.
@@ -11,19 +11,19 @@
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
- import { ApiTournamentPadelIdGet200ResponseResponseObjectTeamInnerFromJSON, ApiTournamentPadelIdGet200ResponseResponseObjectTeamInnerToJSON, } from './ApiTournamentPadelIdGet200ResponseResponseObjectTeamInner';
14
+ import { ApiTournamentPadelIdGet200ResponseResponseObjectMatchTeamInnerTeamAFromJSON, ApiTournamentPadelIdGet200ResponseResponseObjectMatchTeamInnerTeamAToJSON, } from './ApiTournamentPadelIdGet200ResponseResponseObjectMatchTeamInnerTeamA';
15
15
  /**
16
16
  * Check if a given object implements the ApiTournamentPadelIdGet200ResponseResponseObjectMatchTeamInner interface.
17
17
  */
18
18
  export function instanceOfApiTournamentPadelIdGet200ResponseResponseObjectMatchTeamInner(value) {
19
19
  if (!('id' in value) || value['id'] === undefined)
20
20
  return false;
21
- if (!('tournamentId' in value) || value['tournamentId'] === undefined)
22
- return false;
23
21
  if (!('teamAId' in value) || value['teamAId'] === undefined)
24
22
  return false;
25
23
  if (!('teamBId' in value) || value['teamBId'] === undefined)
26
24
  return false;
25
+ if (!('tournamentId' in value) || value['tournamentId'] === undefined)
26
+ return false;
27
27
  if (!('scoreA' in value) || value['scoreA'] === undefined)
28
28
  return false;
29
29
  if (!('scoreB' in value) || value['scoreB'] === undefined)
@@ -47,15 +47,15 @@ export function ApiTournamentPadelIdGet200ResponseResponseObjectMatchTeamInnerFr
47
47
  }
48
48
  return {
49
49
  'id': json['id'],
50
- 'tournamentId': json['tournament_id'],
51
50
  'teamAId': json['team_a_id'],
52
51
  'teamBId': json['team_b_id'],
52
+ 'tournamentId': json['tournament_id'],
53
53
  'scoreA': json['score_a'],
54
54
  'scoreB': json['score_b'],
55
55
  'round': json['round'],
56
56
  'court': json['court'],
57
- 'teamA': ApiTournamentPadelIdGet200ResponseResponseObjectTeamInnerFromJSON(json['teamA']),
58
- 'teamB': ApiTournamentPadelIdGet200ResponseResponseObjectTeamInnerFromJSON(json['teamB']),
57
+ 'teamA': ApiTournamentPadelIdGet200ResponseResponseObjectMatchTeamInnerTeamAFromJSON(json['team_a']),
58
+ 'teamB': ApiTournamentPadelIdGet200ResponseResponseObjectMatchTeamInnerTeamAFromJSON(json['team_b']),
59
59
  };
60
60
  }
61
61
  export function ApiTournamentPadelIdGet200ResponseResponseObjectMatchTeamInnerToJSON(json) {
@@ -67,14 +67,14 @@ export function ApiTournamentPadelIdGet200ResponseResponseObjectMatchTeamInnerTo
67
67
  }
68
68
  return {
69
69
  'id': value['id'],
70
- 'tournament_id': value['tournamentId'],
71
70
  'team_a_id': value['teamAId'],
72
71
  'team_b_id': value['teamBId'],
72
+ 'tournament_id': value['tournamentId'],
73
73
  'score_a': value['scoreA'],
74
74
  'score_b': value['scoreB'],
75
75
  'round': value['round'],
76
76
  'court': value['court'],
77
- 'teamA': ApiTournamentPadelIdGet200ResponseResponseObjectTeamInnerToJSON(value['teamA']),
78
- 'teamB': ApiTournamentPadelIdGet200ResponseResponseObjectTeamInnerToJSON(value['teamB']),
77
+ 'team_a': ApiTournamentPadelIdGet200ResponseResponseObjectMatchTeamInnerTeamAToJSON(value['teamA']),
78
+ 'team_b': ApiTournamentPadelIdGet200ResponseResponseObjectMatchTeamInnerTeamAToJSON(value['teamB']),
79
79
  };
80
80
  }
@@ -0,0 +1,62 @@
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 ApiTournamentPadelIdGet200ResponseResponseObjectMatchTeamInnerTeamA
16
+ */
17
+ export interface ApiTournamentPadelIdGet200ResponseResponseObjectMatchTeamInnerTeamA {
18
+ /**
19
+ *
20
+ * @type {number}
21
+ * @memberof ApiTournamentPadelIdGet200ResponseResponseObjectMatchTeamInnerTeamA
22
+ */
23
+ id: number;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof ApiTournamentPadelIdGet200ResponseResponseObjectMatchTeamInnerTeamA
28
+ */
29
+ name: string;
30
+ /**
31
+ *
32
+ * @type {number}
33
+ * @memberof ApiTournamentPadelIdGet200ResponseResponseObjectMatchTeamInnerTeamA
34
+ */
35
+ tournamentId: number;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof ApiTournamentPadelIdGet200ResponseResponseObjectMatchTeamInnerTeamA
40
+ */
41
+ club: string | null;
42
+ /**
43
+ *
44
+ * @type {Date}
45
+ * @memberof ApiTournamentPadelIdGet200ResponseResponseObjectMatchTeamInnerTeamA
46
+ */
47
+ createdAt: Date;
48
+ /**
49
+ *
50
+ * @type {Date}
51
+ * @memberof ApiTournamentPadelIdGet200ResponseResponseObjectMatchTeamInnerTeamA
52
+ */
53
+ updatedAt: Date;
54
+ }
55
+ /**
56
+ * Check if a given object implements the ApiTournamentPadelIdGet200ResponseResponseObjectMatchTeamInnerTeamA interface.
57
+ */
58
+ export declare function instanceOfApiTournamentPadelIdGet200ResponseResponseObjectMatchTeamInnerTeamA(value: object): value is ApiTournamentPadelIdGet200ResponseResponseObjectMatchTeamInnerTeamA;
59
+ export declare function ApiTournamentPadelIdGet200ResponseResponseObjectMatchTeamInnerTeamAFromJSON(json: any): ApiTournamentPadelIdGet200ResponseResponseObjectMatchTeamInnerTeamA;
60
+ export declare function ApiTournamentPadelIdGet200ResponseResponseObjectMatchTeamInnerTeamAFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiTournamentPadelIdGet200ResponseResponseObjectMatchTeamInnerTeamA;
61
+ export declare function ApiTournamentPadelIdGet200ResponseResponseObjectMatchTeamInnerTeamAToJSON(json: any): ApiTournamentPadelIdGet200ResponseResponseObjectMatchTeamInnerTeamA;
62
+ export declare function ApiTournamentPadelIdGet200ResponseResponseObjectMatchTeamInnerTeamAToJSONTyped(value?: ApiTournamentPadelIdGet200ResponseResponseObjectMatchTeamInnerTeamA | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,63 @@
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 ApiTournamentPadelIdGet200ResponseResponseObjectMatchTeamInnerTeamA interface.
16
+ */
17
+ export function instanceOfApiTournamentPadelIdGet200ResponseResponseObjectMatchTeamInnerTeamA(value) {
18
+ if (!('id' in value) || value['id'] === undefined)
19
+ return false;
20
+ if (!('name' in value) || value['name'] === undefined)
21
+ return false;
22
+ if (!('tournamentId' in value) || value['tournamentId'] === undefined)
23
+ return false;
24
+ if (!('club' in value) || value['club'] === undefined)
25
+ return false;
26
+ if (!('createdAt' in value) || value['createdAt'] === undefined)
27
+ return false;
28
+ if (!('updatedAt' in value) || value['updatedAt'] === undefined)
29
+ return false;
30
+ return true;
31
+ }
32
+ export function ApiTournamentPadelIdGet200ResponseResponseObjectMatchTeamInnerTeamAFromJSON(json) {
33
+ return ApiTournamentPadelIdGet200ResponseResponseObjectMatchTeamInnerTeamAFromJSONTyped(json, false);
34
+ }
35
+ export function ApiTournamentPadelIdGet200ResponseResponseObjectMatchTeamInnerTeamAFromJSONTyped(json, ignoreDiscriminator) {
36
+ if (json == null) {
37
+ return json;
38
+ }
39
+ return {
40
+ 'id': json['id'],
41
+ 'name': json['name'],
42
+ 'tournamentId': json['tournament_id'],
43
+ 'club': json['club'],
44
+ 'createdAt': (new Date(json['created_at'])),
45
+ 'updatedAt': (new Date(json['updated_at'])),
46
+ };
47
+ }
48
+ export function ApiTournamentPadelIdGet200ResponseResponseObjectMatchTeamInnerTeamAToJSON(json) {
49
+ return ApiTournamentPadelIdGet200ResponseResponseObjectMatchTeamInnerTeamAToJSONTyped(json, false);
50
+ }
51
+ export function ApiTournamentPadelIdGet200ResponseResponseObjectMatchTeamInnerTeamAToJSONTyped(value, ignoreDiscriminator = false) {
52
+ if (value == null) {
53
+ return value;
54
+ }
55
+ return {
56
+ 'id': value['id'],
57
+ 'name': value['name'],
58
+ 'tournament_id': value['tournamentId'],
59
+ 'club': value['club'],
60
+ 'created_at': ((value['createdAt']).toISOString()),
61
+ 'updated_at': ((value['updatedAt']).toISOString()),
62
+ };
63
+ }