@drxsuperapp/sdk 1.1.90 → 1.1.99

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 (121) hide show
  1. package/.openapi-generator/FILES +37 -0
  2. package/apis/TournamentApi.ts +472 -0
  3. package/apis/YoutubeApi.ts +70 -0
  4. package/apis/index.ts +2 -0
  5. package/deploy.log +88 -4
  6. package/dist/apis/TournamentApi.d.ts +111 -0
  7. package/dist/apis/TournamentApi.js +324 -0
  8. package/dist/apis/YoutubeApi.d.ts +28 -0
  9. package/dist/apis/YoutubeApi.js +53 -0
  10. package/dist/apis/index.d.ts +2 -0
  11. package/dist/apis/index.js +2 -0
  12. package/dist/models/ApiTournamentCleanupGet200Response.d.ts +50 -0
  13. package/dist/models/ApiTournamentCleanupGet200Response.js +53 -0
  14. package/dist/models/ApiTournamentGameTypesGet200Response.d.ts +51 -0
  15. package/dist/models/ApiTournamentGameTypesGet200Response.js +54 -0
  16. package/dist/models/ApiTournamentGet200Response.d.ts +51 -0
  17. package/dist/models/ApiTournamentGet200Response.js +54 -0
  18. package/dist/models/ApiTournamentGet200ResponseResponseObject.d.ts +57 -0
  19. package/dist/models/ApiTournamentGet200ResponseResponseObject.js +60 -0
  20. package/dist/models/ApiTournamentGet200ResponseResponseObjectItemsInner.d.ts +92 -0
  21. package/dist/models/ApiTournamentGet200ResponseResponseObjectItemsInner.js +83 -0
  22. package/dist/models/ApiTournamentGetFilterParameter.d.ts +45 -0
  23. package/dist/models/ApiTournamentGetFilterParameter.js +46 -0
  24. package/dist/models/ApiTournamentPadelIdDelete200Response.d.ts +51 -0
  25. package/dist/models/ApiTournamentPadelIdDelete200Response.js +54 -0
  26. package/dist/models/ApiTournamentPadelIdDelete200ResponseResponseObject.d.ts +32 -0
  27. package/dist/models/ApiTournamentPadelIdDelete200ResponseResponseObject.js +43 -0
  28. package/dist/models/ApiTournamentPadelIdGet200Response.d.ts +51 -0
  29. package/dist/models/ApiTournamentPadelIdGet200Response.js +54 -0
  30. package/dist/models/ApiTournamentPadelIdGet200ResponseResponseObject.d.ts +117 -0
  31. package/dist/models/ApiTournamentPadelIdGet200ResponseResponseObject.js +102 -0
  32. package/dist/models/ApiTournamentPadelIdGet200ResponseResponseObjectFinalScoreTeamInner.d.ts +86 -0
  33. package/dist/models/ApiTournamentPadelIdGet200ResponseResponseObjectFinalScoreTeamInner.js +79 -0
  34. package/dist/models/ApiTournamentPadelIdGet200ResponseResponseObjectGameType.d.ts +74 -0
  35. package/dist/models/ApiTournamentPadelIdGet200ResponseResponseObjectGameType.js +71 -0
  36. package/dist/models/ApiTournamentPadelIdGet200ResponseResponseObjectMatchTeamInner.d.ts +87 -0
  37. package/dist/models/ApiTournamentPadelIdGet200ResponseResponseObjectMatchTeamInner.js +80 -0
  38. package/dist/models/ApiTournamentPadelIdGet200ResponseResponseObjectMatchesSoloInner.d.ts +111 -0
  39. package/dist/models/ApiTournamentPadelIdGet200ResponseResponseObjectMatchesSoloInner.js +96 -0
  40. package/dist/models/ApiTournamentPadelIdGet200ResponseResponseObjectMatchesSoloInnerPlayerA1.d.ts +62 -0
  41. package/dist/models/ApiTournamentPadelIdGet200ResponseResponseObjectMatchesSoloInnerPlayerA1.js +63 -0
  42. package/dist/models/ApiTournamentPadelIdGet200ResponseResponseObjectPlayersInner.d.ts +57 -0
  43. package/dist/models/ApiTournamentPadelIdGet200ResponseResponseObjectPlayersInner.js +60 -0
  44. package/dist/models/ApiTournamentPadelIdGet200ResponseResponseObjectPlayersInnerFinalScores.d.ts +86 -0
  45. package/dist/models/ApiTournamentPadelIdGet200ResponseResponseObjectPlayersInnerFinalScores.js +79 -0
  46. package/dist/models/ApiTournamentPadelIdGet200ResponseResponseObjectTeamInner.d.ts +56 -0
  47. package/dist/models/ApiTournamentPadelIdGet200ResponseResponseObjectTeamInner.js +59 -0
  48. package/dist/models/ApiTournamentPadelLeaderboardIdGet200Response.d.ts +51 -0
  49. package/dist/models/ApiTournamentPadelLeaderboardIdGet200Response.js +54 -0
  50. package/dist/models/ApiTournamentPadelLeaderboardIdGet200ResponseResponseObjectInner.d.ts +57 -0
  51. package/dist/models/ApiTournamentPadelLeaderboardIdGet200ResponseResponseObjectInner.js +60 -0
  52. package/dist/models/ApiTournamentPadelLeaderboardIdGet200ResponseResponseObjectInnerFinalScores.d.ts +86 -0
  53. package/dist/models/ApiTournamentPadelLeaderboardIdGet200ResponseResponseObjectInnerFinalScores.js +79 -0
  54. package/dist/models/ApiTournamentPadelMatchSoloPut200Response.d.ts +51 -0
  55. package/dist/models/ApiTournamentPadelMatchSoloPut200Response.js +54 -0
  56. package/dist/models/ApiTournamentPadelMatchSoloPut200ResponseResponseObject.d.ts +98 -0
  57. package/dist/models/ApiTournamentPadelMatchSoloPut200ResponseResponseObject.js +87 -0
  58. package/dist/models/ApiTournamentPadelMatchSoloPutRequest.d.ts +33 -0
  59. package/dist/models/ApiTournamentPadelMatchSoloPutRequest.js +44 -0
  60. package/dist/models/ApiTournamentPadelMatchSoloPutRequestBody.d.ts +86 -0
  61. package/dist/models/ApiTournamentPadelMatchSoloPutRequestBody.js +79 -0
  62. package/dist/models/ApiTournamentPadelPost200Response.d.ts +51 -0
  63. package/dist/models/ApiTournamentPadelPost200Response.js +54 -0
  64. package/dist/models/ApiTournamentPadelPost200ResponseResponseObject.d.ts +74 -0
  65. package/dist/models/ApiTournamentPadelPost200ResponseResponseObject.js +71 -0
  66. package/dist/models/ApiTournamentPadelPostRequest.d.ts +33 -0
  67. package/dist/models/ApiTournamentPadelPostRequest.js +44 -0
  68. package/dist/models/ApiTournamentPadelPostRequestBody.d.ts +64 -0
  69. package/dist/models/ApiTournamentPadelPostRequestBody.js +63 -0
  70. package/dist/models/ApiTournamentPadelPostRequestBodyPlayersInner.d.ts +38 -0
  71. package/dist/models/ApiTournamentPadelPostRequestBodyPlayersInner.js +45 -0
  72. package/dist/models/ApiTournamentPadelPostRequestBodyTeamsInner.d.ts +38 -0
  73. package/dist/models/ApiTournamentPadelPostRequestBodyTeamsInner.js +45 -0
  74. package/dist/models/ApiYoutubeDrxContentGet200Response.d.ts +51 -0
  75. package/dist/models/ApiYoutubeDrxContentGet200Response.js +54 -0
  76. package/dist/models/ApiYoutubeDrxContentGet200ResponseResponseObject.d.ts +40 -0
  77. package/dist/models/ApiYoutubeDrxContentGet200ResponseResponseObject.js +49 -0
  78. package/dist/models/ApiYoutubeDrxContentGet200ResponseResponseObjectCurrentLive.d.ts +110 -0
  79. package/dist/models/ApiYoutubeDrxContentGet200ResponseResponseObjectCurrentLive.js +85 -0
  80. package/dist/models/ApiYoutubeDrxContentGet200ResponseResponseObjectPreviousContentInner.d.ts +104 -0
  81. package/dist/models/ApiYoutubeDrxContentGet200ResponseResponseObjectPreviousContentInner.js +83 -0
  82. package/dist/models/index.d.ts +35 -0
  83. package/dist/models/index.js +35 -0
  84. package/models/ApiTournamentCleanupGet200Response.ts +92 -0
  85. package/models/ApiTournamentGameTypesGet200Response.ts +100 -0
  86. package/models/ApiTournamentGet200Response.ts +100 -0
  87. package/models/ApiTournamentGet200ResponseResponseObject.ts +110 -0
  88. package/models/ApiTournamentGet200ResponseResponseObjectItemsInner.ts +156 -0
  89. package/models/ApiTournamentGetFilterParameter.ts +89 -0
  90. package/models/ApiTournamentPadelIdDelete200Response.ts +100 -0
  91. package/models/ApiTournamentPadelIdDelete200ResponseResponseObject.ts +66 -0
  92. package/models/ApiTournamentPadelIdGet200Response.ts +100 -0
  93. package/models/ApiTournamentPadelIdGet200ResponseResponseObject.ts +233 -0
  94. package/models/ApiTournamentPadelIdGet200ResponseResponseObjectFinalScoreTeamInner.ts +147 -0
  95. package/models/ApiTournamentPadelIdGet200ResponseResponseObjectGameType.ts +129 -0
  96. package/models/ApiTournamentPadelIdGet200ResponseResponseObjectMatchTeamInner.ts +155 -0
  97. package/models/ApiTournamentPadelIdGet200ResponseResponseObjectMatchesSoloInner.ts +191 -0
  98. package/models/ApiTournamentPadelIdGet200ResponseResponseObjectMatchesSoloInnerPlayerA1.ts +111 -0
  99. package/models/ApiTournamentPadelIdGet200ResponseResponseObjectPlayersInner.ts +110 -0
  100. package/models/ApiTournamentPadelIdGet200ResponseResponseObjectPlayersInnerFinalScores.ts +147 -0
  101. package/models/ApiTournamentPadelIdGet200ResponseResponseObjectTeamInner.ts +102 -0
  102. package/models/ApiTournamentPadelLeaderboardIdGet200Response.ts +100 -0
  103. package/models/ApiTournamentPadelLeaderboardIdGet200ResponseResponseObjectInner.ts +110 -0
  104. package/models/ApiTournamentPadelLeaderboardIdGet200ResponseResponseObjectInnerFinalScores.ts +147 -0
  105. package/models/ApiTournamentPadelMatchSoloPut200Response.ts +100 -0
  106. package/models/ApiTournamentPadelMatchSoloPut200ResponseResponseObject.ts +165 -0
  107. package/models/ApiTournamentPadelMatchSoloPutRequest.ts +74 -0
  108. package/models/ApiTournamentPadelMatchSoloPutRequestBody.ts +147 -0
  109. package/models/ApiTournamentPadelPost200Response.ts +100 -0
  110. package/models/ApiTournamentPadelPost200ResponseResponseObject.ts +129 -0
  111. package/models/ApiTournamentPadelPostRequest.ts +74 -0
  112. package/models/ApiTournamentPadelPostRequestBody.ts +125 -0
  113. package/models/ApiTournamentPadelPostRequestBodyPlayersInner.ts +74 -0
  114. package/models/ApiTournamentPadelPostRequestBodyTeamsInner.ts +74 -0
  115. package/models/ApiYoutubeDrxContentGet200Response.ts +100 -0
  116. package/models/ApiYoutubeDrxContentGet200ResponseResponseObject.ts +90 -0
  117. package/models/ApiYoutubeDrxContentGet200ResponseResponseObjectCurrentLive.ts +178 -0
  118. package/models/ApiYoutubeDrxContentGet200ResponseResponseObjectPreviousContentInner.ts +170 -0
  119. package/models/index.ts +35 -0
  120. package/package.json +1 -1
  121. package/workflow.sh +5 -1
@@ -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 { ApiTournamentPadelLeaderboardIdGet200ResponseResponseObjectInner } from './ApiTournamentPadelLeaderboardIdGet200ResponseResponseObjectInner';
17
+ import {
18
+ ApiTournamentPadelLeaderboardIdGet200ResponseResponseObjectInnerFromJSON,
19
+ ApiTournamentPadelLeaderboardIdGet200ResponseResponseObjectInnerFromJSONTyped,
20
+ ApiTournamentPadelLeaderboardIdGet200ResponseResponseObjectInnerToJSON,
21
+ ApiTournamentPadelLeaderboardIdGet200ResponseResponseObjectInnerToJSONTyped,
22
+ } from './ApiTournamentPadelLeaderboardIdGet200ResponseResponseObjectInner';
23
+
24
+ /**
25
+ *
26
+ * @export
27
+ * @interface ApiTournamentPadelLeaderboardIdGet200Response
28
+ */
29
+ export interface ApiTournamentPadelLeaderboardIdGet200Response {
30
+ /**
31
+ *
32
+ * @type {boolean}
33
+ * @memberof ApiTournamentPadelLeaderboardIdGet200Response
34
+ */
35
+ success: boolean;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof ApiTournamentPadelLeaderboardIdGet200Response
40
+ */
41
+ message: string;
42
+ /**
43
+ *
44
+ * @type {Array<ApiTournamentPadelLeaderboardIdGet200ResponseResponseObjectInner>}
45
+ * @memberof ApiTournamentPadelLeaderboardIdGet200Response
46
+ */
47
+ responseObject?: Array<ApiTournamentPadelLeaderboardIdGet200ResponseResponseObjectInner>;
48
+ /**
49
+ *
50
+ * @type {number}
51
+ * @memberof ApiTournamentPadelLeaderboardIdGet200Response
52
+ */
53
+ statusCode: number;
54
+ }
55
+
56
+ /**
57
+ * Check if a given object implements the ApiTournamentPadelLeaderboardIdGet200Response interface.
58
+ */
59
+ export function instanceOfApiTournamentPadelLeaderboardIdGet200Response(value: object): value is ApiTournamentPadelLeaderboardIdGet200Response {
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 ApiTournamentPadelLeaderboardIdGet200ResponseFromJSON(json: any): ApiTournamentPadelLeaderboardIdGet200Response {
67
+ return ApiTournamentPadelLeaderboardIdGet200ResponseFromJSONTyped(json, false);
68
+ }
69
+
70
+ export function ApiTournamentPadelLeaderboardIdGet200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiTournamentPadelLeaderboardIdGet200Response {
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 : ((json['responseObject'] as Array<any>).map(ApiTournamentPadelLeaderboardIdGet200ResponseResponseObjectInnerFromJSON)),
79
+ 'statusCode': json['statusCode'],
80
+ };
81
+ }
82
+
83
+ export function ApiTournamentPadelLeaderboardIdGet200ResponseToJSON(json: any): ApiTournamentPadelLeaderboardIdGet200Response {
84
+ return ApiTournamentPadelLeaderboardIdGet200ResponseToJSONTyped(json, false);
85
+ }
86
+
87
+ export function ApiTournamentPadelLeaderboardIdGet200ResponseToJSONTyped(value?: ApiTournamentPadelLeaderboardIdGet200Response | 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': value['responseObject'] == null ? undefined : ((value['responseObject'] as Array<any>).map(ApiTournamentPadelLeaderboardIdGet200ResponseResponseObjectInnerToJSON)),
97
+ 'statusCode': value['statusCode'],
98
+ };
99
+ }
100
+
@@ -0,0 +1,110 @@
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 { ApiTournamentPadelLeaderboardIdGet200ResponseResponseObjectInnerFinalScores } from './ApiTournamentPadelLeaderboardIdGet200ResponseResponseObjectInnerFinalScores';
17
+ import {
18
+ ApiTournamentPadelLeaderboardIdGet200ResponseResponseObjectInnerFinalScoresFromJSON,
19
+ ApiTournamentPadelLeaderboardIdGet200ResponseResponseObjectInnerFinalScoresFromJSONTyped,
20
+ ApiTournamentPadelLeaderboardIdGet200ResponseResponseObjectInnerFinalScoresToJSON,
21
+ ApiTournamentPadelLeaderboardIdGet200ResponseResponseObjectInnerFinalScoresToJSONTyped,
22
+ } from './ApiTournamentPadelLeaderboardIdGet200ResponseResponseObjectInnerFinalScores';
23
+
24
+ /**
25
+ *
26
+ * @export
27
+ * @interface ApiTournamentPadelLeaderboardIdGet200ResponseResponseObjectInner
28
+ */
29
+ export interface ApiTournamentPadelLeaderboardIdGet200ResponseResponseObjectInner {
30
+ /**
31
+ *
32
+ * @type {number}
33
+ * @memberof ApiTournamentPadelLeaderboardIdGet200ResponseResponseObjectInner
34
+ */
35
+ id: number;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof ApiTournamentPadelLeaderboardIdGet200ResponseResponseObjectInner
40
+ */
41
+ name: string;
42
+ /**
43
+ *
44
+ * @type {number}
45
+ * @memberof ApiTournamentPadelLeaderboardIdGet200ResponseResponseObjectInner
46
+ */
47
+ tournamentId: number;
48
+ /**
49
+ *
50
+ * @type {string}
51
+ * @memberof ApiTournamentPadelLeaderboardIdGet200ResponseResponseObjectInner
52
+ */
53
+ gender: string | null;
54
+ /**
55
+ *
56
+ * @type {ApiTournamentPadelLeaderboardIdGet200ResponseResponseObjectInnerFinalScores}
57
+ * @memberof ApiTournamentPadelLeaderboardIdGet200ResponseResponseObjectInner
58
+ */
59
+ finalScores: ApiTournamentPadelLeaderboardIdGet200ResponseResponseObjectInnerFinalScores | null;
60
+ }
61
+
62
+ /**
63
+ * Check if a given object implements the ApiTournamentPadelLeaderboardIdGet200ResponseResponseObjectInner interface.
64
+ */
65
+ export function instanceOfApiTournamentPadelLeaderboardIdGet200ResponseResponseObjectInner(value: object): value is ApiTournamentPadelLeaderboardIdGet200ResponseResponseObjectInner {
66
+ if (!('id' in value) || value['id'] === undefined) return false;
67
+ if (!('name' in value) || value['name'] === undefined) return false;
68
+ if (!('tournamentId' in value) || value['tournamentId'] === undefined) return false;
69
+ if (!('gender' in value) || value['gender'] === undefined) return false;
70
+ if (!('finalScores' in value) || value['finalScores'] === undefined) return false;
71
+ return true;
72
+ }
73
+
74
+ export function ApiTournamentPadelLeaderboardIdGet200ResponseResponseObjectInnerFromJSON(json: any): ApiTournamentPadelLeaderboardIdGet200ResponseResponseObjectInner {
75
+ return ApiTournamentPadelLeaderboardIdGet200ResponseResponseObjectInnerFromJSONTyped(json, false);
76
+ }
77
+
78
+ export function ApiTournamentPadelLeaderboardIdGet200ResponseResponseObjectInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiTournamentPadelLeaderboardIdGet200ResponseResponseObjectInner {
79
+ if (json == null) {
80
+ return json;
81
+ }
82
+ return {
83
+
84
+ 'id': json['id'],
85
+ 'name': json['name'],
86
+ 'tournamentId': json['tournament_id'],
87
+ 'gender': json['gender'],
88
+ 'finalScores': ApiTournamentPadelLeaderboardIdGet200ResponseResponseObjectInnerFinalScoresFromJSON(json['final_scores']),
89
+ };
90
+ }
91
+
92
+ export function ApiTournamentPadelLeaderboardIdGet200ResponseResponseObjectInnerToJSON(json: any): ApiTournamentPadelLeaderboardIdGet200ResponseResponseObjectInner {
93
+ return ApiTournamentPadelLeaderboardIdGet200ResponseResponseObjectInnerToJSONTyped(json, false);
94
+ }
95
+
96
+ export function ApiTournamentPadelLeaderboardIdGet200ResponseResponseObjectInnerToJSONTyped(value?: ApiTournamentPadelLeaderboardIdGet200ResponseResponseObjectInner | null, ignoreDiscriminator: boolean = false): any {
97
+ if (value == null) {
98
+ return value;
99
+ }
100
+
101
+ return {
102
+
103
+ 'id': value['id'],
104
+ 'name': value['name'],
105
+ 'tournament_id': value['tournamentId'],
106
+ 'gender': value['gender'],
107
+ 'final_scores': ApiTournamentPadelLeaderboardIdGet200ResponseResponseObjectInnerFinalScoresToJSON(value['finalScores']),
108
+ };
109
+ }
110
+
@@ -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 ApiTournamentPadelLeaderboardIdGet200ResponseResponseObjectInnerFinalScores
20
+ */
21
+ export interface ApiTournamentPadelLeaderboardIdGet200ResponseResponseObjectInnerFinalScores {
22
+ /**
23
+ *
24
+ * @type {number}
25
+ * @memberof ApiTournamentPadelLeaderboardIdGet200ResponseResponseObjectInnerFinalScores
26
+ */
27
+ id: number;
28
+ /**
29
+ *
30
+ * @type {number}
31
+ * @memberof ApiTournamentPadelLeaderboardIdGet200ResponseResponseObjectInnerFinalScores
32
+ */
33
+ tournamentId: number;
34
+ /**
35
+ *
36
+ * @type {number}
37
+ * @memberof ApiTournamentPadelLeaderboardIdGet200ResponseResponseObjectInnerFinalScores
38
+ */
39
+ playerId: number;
40
+ /**
41
+ *
42
+ * @type {number}
43
+ * @memberof ApiTournamentPadelLeaderboardIdGet200ResponseResponseObjectInnerFinalScores
44
+ */
45
+ win: number;
46
+ /**
47
+ *
48
+ * @type {number}
49
+ * @memberof ApiTournamentPadelLeaderboardIdGet200ResponseResponseObjectInnerFinalScores
50
+ */
51
+ lose: number;
52
+ /**
53
+ *
54
+ * @type {number}
55
+ * @memberof ApiTournamentPadelLeaderboardIdGet200ResponseResponseObjectInnerFinalScores
56
+ */
57
+ ties: number;
58
+ /**
59
+ *
60
+ * @type {number}
61
+ * @memberof ApiTournamentPadelLeaderboardIdGet200ResponseResponseObjectInnerFinalScores
62
+ */
63
+ points: number;
64
+ /**
65
+ *
66
+ * @type {number}
67
+ * @memberof ApiTournamentPadelLeaderboardIdGet200ResponseResponseObjectInnerFinalScores
68
+ */
69
+ diff: number;
70
+ /**
71
+ *
72
+ * @type {Date}
73
+ * @memberof ApiTournamentPadelLeaderboardIdGet200ResponseResponseObjectInnerFinalScores
74
+ */
75
+ createdAt: Date;
76
+ /**
77
+ *
78
+ * @type {Date}
79
+ * @memberof ApiTournamentPadelLeaderboardIdGet200ResponseResponseObjectInnerFinalScores
80
+ */
81
+ updatedAt: Date;
82
+ }
83
+
84
+ /**
85
+ * Check if a given object implements the ApiTournamentPadelLeaderboardIdGet200ResponseResponseObjectInnerFinalScores interface.
86
+ */
87
+ export function instanceOfApiTournamentPadelLeaderboardIdGet200ResponseResponseObjectInnerFinalScores(value: object): value is ApiTournamentPadelLeaderboardIdGet200ResponseResponseObjectInnerFinalScores {
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 ApiTournamentPadelLeaderboardIdGet200ResponseResponseObjectInnerFinalScoresFromJSON(json: any): ApiTournamentPadelLeaderboardIdGet200ResponseResponseObjectInnerFinalScores {
102
+ return ApiTournamentPadelLeaderboardIdGet200ResponseResponseObjectInnerFinalScoresFromJSONTyped(json, false);
103
+ }
104
+
105
+ export function ApiTournamentPadelLeaderboardIdGet200ResponseResponseObjectInnerFinalScoresFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiTournamentPadelLeaderboardIdGet200ResponseResponseObjectInnerFinalScores {
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 ApiTournamentPadelLeaderboardIdGet200ResponseResponseObjectInnerFinalScoresToJSON(json: any): ApiTournamentPadelLeaderboardIdGet200ResponseResponseObjectInnerFinalScores {
125
+ return ApiTournamentPadelLeaderboardIdGet200ResponseResponseObjectInnerFinalScoresToJSONTyped(json, false);
126
+ }
127
+
128
+ export function ApiTournamentPadelLeaderboardIdGet200ResponseResponseObjectInnerFinalScoresToJSONTyped(value?: ApiTournamentPadelLeaderboardIdGet200ResponseResponseObjectInnerFinalScores | 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
+