@drxsuperapp/sdk 1.1.82 → 1.1.84

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 (122) hide show
  1. package/.idea/vcs.xml +6 -0
  2. package/.idea/workspace.xml +123 -0
  3. package/.openapi-generator/FILES +37 -0
  4. package/apis/TournamentApi.ts +469 -0
  5. package/apis/YoutubeApi.ts +70 -0
  6. package/apis/index.ts +2 -0
  7. package/dist/apis/TournamentApi.d.ts +111 -0
  8. package/dist/apis/TournamentApi.js +324 -0
  9. package/dist/apis/YoutubeApi.d.ts +28 -0
  10. package/dist/apis/YoutubeApi.js +53 -0
  11. package/dist/apis/index.d.ts +2 -0
  12. package/dist/apis/index.js +2 -0
  13. package/dist/models/ApiTournamentGameTypesGet200Response.d.ts +51 -0
  14. package/dist/models/ApiTournamentGameTypesGet200Response.js +54 -0
  15. package/dist/models/ApiTournamentGameTypesGet200ResponseResponseObject.d.ts +51 -0
  16. package/dist/models/ApiTournamentGameTypesGet200ResponseResponseObject.js +54 -0
  17. package/dist/models/ApiTournamentGet200Response.d.ts +51 -0
  18. package/dist/models/ApiTournamentGet200Response.js +54 -0
  19. package/dist/models/ApiTournamentGet200ResponseResponseObject.d.ts +57 -0
  20. package/dist/models/ApiTournamentGet200ResponseResponseObject.js +60 -0
  21. package/dist/models/ApiTournamentGet200ResponseResponseObjectItemsInner.d.ts +111 -0
  22. package/dist/models/ApiTournamentGet200ResponseResponseObjectItemsInner.js +98 -0
  23. package/dist/models/ApiTournamentGet200ResponseResponseObjectItemsInnerFinalScoreSoloInner.d.ts +50 -0
  24. package/dist/models/ApiTournamentGet200ResponseResponseObjectItemsInnerFinalScoreSoloInner.js +55 -0
  25. package/dist/models/ApiTournamentGet200ResponseResponseObjectItemsInnerFinalScoreTeamInner.d.ts +50 -0
  26. package/dist/models/ApiTournamentGet200ResponseResponseObjectItemsInnerFinalScoreTeamInner.js +55 -0
  27. package/dist/models/ApiTournamentGet200ResponseResponseObjectItemsInnerGameType.d.ts +56 -0
  28. package/dist/models/ApiTournamentGet200ResponseResponseObjectItemsInnerGameType.js +59 -0
  29. package/dist/models/ApiTournamentGet200ResponseResponseObjectItemsInnerMatchesSoloInner.d.ts +86 -0
  30. package/dist/models/ApiTournamentGet200ResponseResponseObjectItemsInnerMatchesSoloInner.js +79 -0
  31. package/dist/models/ApiTournamentGet200ResponseResponseObjectItemsInnerMatchesTeamInner.d.ts +74 -0
  32. package/dist/models/ApiTournamentGet200ResponseResponseObjectItemsInnerMatchesTeamInner.js +71 -0
  33. package/dist/models/ApiTournamentGet200ResponseResponseObjectItemsInnerPlayersInner.d.ts +50 -0
  34. package/dist/models/ApiTournamentGet200ResponseResponseObjectItemsInnerPlayersInner.js +55 -0
  35. package/dist/models/ApiTournamentGet200ResponseResponseObjectItemsInnerTeamsInner.d.ts +44 -0
  36. package/dist/models/ApiTournamentGet200ResponseResponseObjectItemsInnerTeamsInner.js +51 -0
  37. package/dist/models/ApiTournamentPadelIdDelete200Response.d.ts +51 -0
  38. package/dist/models/ApiTournamentPadelIdDelete200Response.js +54 -0
  39. package/dist/models/ApiTournamentPadelIdDelete200ResponseResponseObject.d.ts +51 -0
  40. package/dist/models/ApiTournamentPadelIdDelete200ResponseResponseObject.js +54 -0
  41. package/dist/models/ApiTournamentPadelIdDelete200ResponseResponseObjectResponseObject.d.ts +33 -0
  42. package/dist/models/ApiTournamentPadelIdDelete200ResponseResponseObjectResponseObject.js +44 -0
  43. package/dist/models/ApiTournamentPadelIdDelete200ResponseResponseObjectResponseObjectParams.d.ts +32 -0
  44. package/dist/models/ApiTournamentPadelIdDelete200ResponseResponseObjectResponseObjectParams.js +43 -0
  45. package/dist/models/ApiTournamentPadelIdGet200Response.d.ts +51 -0
  46. package/dist/models/ApiTournamentPadelIdGet200Response.js +54 -0
  47. package/dist/models/ApiTournamentPadelIdGet200ResponseResponseObject.d.ts +51 -0
  48. package/dist/models/ApiTournamentPadelIdGet200ResponseResponseObject.js +54 -0
  49. package/dist/models/ApiTournamentPadelLeaderboardIdGet200Response.d.ts +51 -0
  50. package/dist/models/ApiTournamentPadelLeaderboardIdGet200Response.js +54 -0
  51. package/dist/models/ApiTournamentPadelLeaderboardIdGet200ResponseResponseObject.d.ts +51 -0
  52. package/dist/models/ApiTournamentPadelLeaderboardIdGet200ResponseResponseObject.js +54 -0
  53. package/dist/models/ApiTournamentPadelLeaderboardIdGet200ResponseResponseObjectResponseObject.d.ts +57 -0
  54. package/dist/models/ApiTournamentPadelLeaderboardIdGet200ResponseResponseObjectResponseObject.js +60 -0
  55. package/dist/models/ApiTournamentPadelLeaderboardIdGet200ResponseResponseObjectResponseObjectFinalScores.d.ts +86 -0
  56. package/dist/models/ApiTournamentPadelLeaderboardIdGet200ResponseResponseObjectResponseObjectFinalScores.js +79 -0
  57. package/dist/models/ApiTournamentPadelMatchSoloPut200Response.d.ts +51 -0
  58. package/dist/models/ApiTournamentPadelMatchSoloPut200Response.js +54 -0
  59. package/dist/models/ApiTournamentPadelMatchSoloPut200ResponseResponseObject.d.ts +51 -0
  60. package/dist/models/ApiTournamentPadelMatchSoloPut200ResponseResponseObject.js +54 -0
  61. package/dist/models/ApiTournamentPadelMatchSoloPutRequest.d.ts +33 -0
  62. package/dist/models/ApiTournamentPadelMatchSoloPutRequest.js +44 -0
  63. package/dist/models/ApiTournamentPadelPost200Response.d.ts +51 -0
  64. package/dist/models/ApiTournamentPadelPost200Response.js +54 -0
  65. package/dist/models/ApiTournamentPadelPost200ResponseResponseObject.d.ts +51 -0
  66. package/dist/models/ApiTournamentPadelPost200ResponseResponseObject.js +54 -0
  67. package/dist/models/ApiTournamentPadelPostRequest.d.ts +33 -0
  68. package/dist/models/ApiTournamentPadelPostRequest.js +44 -0
  69. package/dist/models/ApiTournamentPadelPostRequestBody.d.ts +64 -0
  70. package/dist/models/ApiTournamentPadelPostRequestBody.js +63 -0
  71. package/dist/models/ApiTournamentPadelPostRequestBodyPlayersInner.d.ts +38 -0
  72. package/dist/models/ApiTournamentPadelPostRequestBodyPlayersInner.js +45 -0
  73. package/dist/models/ApiTournamentPadelPostRequestBodyTeamsInner.d.ts +38 -0
  74. package/dist/models/ApiTournamentPadelPostRequestBodyTeamsInner.js +45 -0
  75. package/dist/models/ApiYoutubeDrxContentGet200Response.d.ts +51 -0
  76. package/dist/models/ApiYoutubeDrxContentGet200Response.js +54 -0
  77. package/dist/models/ApiYoutubeDrxContentGet200ResponseResponseObject.d.ts +40 -0
  78. package/dist/models/ApiYoutubeDrxContentGet200ResponseResponseObject.js +49 -0
  79. package/dist/models/ApiYoutubeDrxContentGet200ResponseResponseObjectCurrentLive.d.ts +110 -0
  80. package/dist/models/ApiYoutubeDrxContentGet200ResponseResponseObjectCurrentLive.js +85 -0
  81. package/dist/models/ApiYoutubeDrxContentGet200ResponseResponseObjectPreviousContentInner.d.ts +104 -0
  82. package/dist/models/ApiYoutubeDrxContentGet200ResponseResponseObjectPreviousContentInner.js +83 -0
  83. package/dist/models/index.d.ts +35 -0
  84. package/dist/models/index.js +35 -0
  85. package/models/ApiTournamentGameTypesGet200Response.ts +100 -0
  86. package/models/ApiTournamentGameTypesGet200ResponseResponseObject.ts +100 -0
  87. package/models/ApiTournamentGet200Response.ts +100 -0
  88. package/models/ApiTournamentGet200ResponseResponseObject.ts +110 -0
  89. package/models/ApiTournamentGet200ResponseResponseObjectItemsInner.ts +224 -0
  90. package/models/ApiTournamentGet200ResponseResponseObjectItemsInnerFinalScoreSoloInner.ts +93 -0
  91. package/models/ApiTournamentGet200ResponseResponseObjectItemsInnerFinalScoreTeamInner.ts +93 -0
  92. package/models/ApiTournamentGet200ResponseResponseObjectItemsInnerGameType.ts +102 -0
  93. package/models/ApiTournamentGet200ResponseResponseObjectItemsInnerMatchesSoloInner.ts +147 -0
  94. package/models/ApiTournamentGet200ResponseResponseObjectItemsInnerMatchesTeamInner.ts +129 -0
  95. package/models/ApiTournamentGet200ResponseResponseObjectItemsInnerPlayersInner.ts +93 -0
  96. package/models/ApiTournamentGet200ResponseResponseObjectItemsInnerTeamsInner.ts +84 -0
  97. package/models/ApiTournamentPadelIdDelete200Response.ts +100 -0
  98. package/models/ApiTournamentPadelIdDelete200ResponseResponseObject.ts +100 -0
  99. package/models/ApiTournamentPadelIdDelete200ResponseResponseObjectResponseObject.ts +74 -0
  100. package/models/ApiTournamentPadelIdDelete200ResponseResponseObjectResponseObjectParams.ts +66 -0
  101. package/models/ApiTournamentPadelIdGet200Response.ts +100 -0
  102. package/models/ApiTournamentPadelIdGet200ResponseResponseObject.ts +100 -0
  103. package/models/ApiTournamentPadelLeaderboardIdGet200Response.ts +100 -0
  104. package/models/ApiTournamentPadelLeaderboardIdGet200ResponseResponseObject.ts +100 -0
  105. package/models/ApiTournamentPadelLeaderboardIdGet200ResponseResponseObjectResponseObject.ts +110 -0
  106. package/models/ApiTournamentPadelLeaderboardIdGet200ResponseResponseObjectResponseObjectFinalScores.ts +147 -0
  107. package/models/ApiTournamentPadelMatchSoloPut200Response.ts +100 -0
  108. package/models/ApiTournamentPadelMatchSoloPut200ResponseResponseObject.ts +100 -0
  109. package/models/ApiTournamentPadelMatchSoloPutRequest.ts +74 -0
  110. package/models/ApiTournamentPadelPost200Response.ts +100 -0
  111. package/models/ApiTournamentPadelPost200ResponseResponseObject.ts +100 -0
  112. package/models/ApiTournamentPadelPostRequest.ts +74 -0
  113. package/models/ApiTournamentPadelPostRequestBody.ts +125 -0
  114. package/models/ApiTournamentPadelPostRequestBodyPlayersInner.ts +74 -0
  115. package/models/ApiTournamentPadelPostRequestBodyTeamsInner.ts +74 -0
  116. package/models/ApiYoutubeDrxContentGet200Response.ts +100 -0
  117. package/models/ApiYoutubeDrxContentGet200ResponseResponseObject.ts +90 -0
  118. package/models/ApiYoutubeDrxContentGet200ResponseResponseObjectCurrentLive.ts +178 -0
  119. package/models/ApiYoutubeDrxContentGet200ResponseResponseObjectPreviousContentInner.ts +170 -0
  120. package/models/index.ts +35 -0
  121. package/package.json +1 -1
  122. package/deploy.log +0 -116
@@ -0,0 +1,54 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * DRX API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import { ApiTournamentPadelMatchSoloPut200ResponseResponseObjectFromJSON, ApiTournamentPadelMatchSoloPut200ResponseResponseObjectToJSON, } from './ApiTournamentPadelMatchSoloPut200ResponseResponseObject';
15
+ /**
16
+ * Check if a given object implements the ApiTournamentPadelMatchSoloPut200Response interface.
17
+ */
18
+ export function instanceOfApiTournamentPadelMatchSoloPut200Response(value) {
19
+ if (!('success' in value) || value['success'] === undefined)
20
+ return false;
21
+ if (!('message' in value) || value['message'] === undefined)
22
+ return false;
23
+ if (!('statusCode' in value) || value['statusCode'] === undefined)
24
+ return false;
25
+ return true;
26
+ }
27
+ export function ApiTournamentPadelMatchSoloPut200ResponseFromJSON(json) {
28
+ return ApiTournamentPadelMatchSoloPut200ResponseFromJSONTyped(json, false);
29
+ }
30
+ export function ApiTournamentPadelMatchSoloPut200ResponseFromJSONTyped(json, ignoreDiscriminator) {
31
+ if (json == null) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'success': json['success'],
36
+ 'message': json['message'],
37
+ 'responseObject': json['responseObject'] == null ? undefined : ApiTournamentPadelMatchSoloPut200ResponseResponseObjectFromJSON(json['responseObject']),
38
+ 'statusCode': json['statusCode'],
39
+ };
40
+ }
41
+ export function ApiTournamentPadelMatchSoloPut200ResponseToJSON(json) {
42
+ return ApiTournamentPadelMatchSoloPut200ResponseToJSONTyped(json, false);
43
+ }
44
+ export function ApiTournamentPadelMatchSoloPut200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
45
+ if (value == null) {
46
+ return value;
47
+ }
48
+ return {
49
+ 'success': value['success'],
50
+ 'message': value['message'],
51
+ 'responseObject': ApiTournamentPadelMatchSoloPut200ResponseResponseObjectToJSON(value['responseObject']),
52
+ 'statusCode': value['statusCode'],
53
+ };
54
+ }
@@ -0,0 +1,51 @@
1
+ /**
2
+ * DRX API
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { ApiTournamentPadelMatchSoloPutRequest } from './ApiTournamentPadelMatchSoloPutRequest';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ApiTournamentPadelMatchSoloPut200ResponseResponseObject
17
+ */
18
+ export interface ApiTournamentPadelMatchSoloPut200ResponseResponseObject {
19
+ /**
20
+ *
21
+ * @type {boolean}
22
+ * @memberof ApiTournamentPadelMatchSoloPut200ResponseResponseObject
23
+ */
24
+ success: boolean;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof ApiTournamentPadelMatchSoloPut200ResponseResponseObject
29
+ */
30
+ message: string;
31
+ /**
32
+ *
33
+ * @type {ApiTournamentPadelMatchSoloPutRequest}
34
+ * @memberof ApiTournamentPadelMatchSoloPut200ResponseResponseObject
35
+ */
36
+ responseObject?: ApiTournamentPadelMatchSoloPutRequest;
37
+ /**
38
+ *
39
+ * @type {number}
40
+ * @memberof ApiTournamentPadelMatchSoloPut200ResponseResponseObject
41
+ */
42
+ statusCode: number;
43
+ }
44
+ /**
45
+ * Check if a given object implements the ApiTournamentPadelMatchSoloPut200ResponseResponseObject interface.
46
+ */
47
+ export declare function instanceOfApiTournamentPadelMatchSoloPut200ResponseResponseObject(value: object): value is ApiTournamentPadelMatchSoloPut200ResponseResponseObject;
48
+ export declare function ApiTournamentPadelMatchSoloPut200ResponseResponseObjectFromJSON(json: any): ApiTournamentPadelMatchSoloPut200ResponseResponseObject;
49
+ export declare function ApiTournamentPadelMatchSoloPut200ResponseResponseObjectFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiTournamentPadelMatchSoloPut200ResponseResponseObject;
50
+ export declare function ApiTournamentPadelMatchSoloPut200ResponseResponseObjectToJSON(json: any): ApiTournamentPadelMatchSoloPut200ResponseResponseObject;
51
+ export declare function ApiTournamentPadelMatchSoloPut200ResponseResponseObjectToJSONTyped(value?: ApiTournamentPadelMatchSoloPut200ResponseResponseObject | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,54 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * DRX API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import { ApiTournamentPadelMatchSoloPutRequestFromJSON, ApiTournamentPadelMatchSoloPutRequestToJSON, } from './ApiTournamentPadelMatchSoloPutRequest';
15
+ /**
16
+ * Check if a given object implements the ApiTournamentPadelMatchSoloPut200ResponseResponseObject interface.
17
+ */
18
+ export function instanceOfApiTournamentPadelMatchSoloPut200ResponseResponseObject(value) {
19
+ if (!('success' in value) || value['success'] === undefined)
20
+ return false;
21
+ if (!('message' in value) || value['message'] === undefined)
22
+ return false;
23
+ if (!('statusCode' in value) || value['statusCode'] === undefined)
24
+ return false;
25
+ return true;
26
+ }
27
+ export function ApiTournamentPadelMatchSoloPut200ResponseResponseObjectFromJSON(json) {
28
+ return ApiTournamentPadelMatchSoloPut200ResponseResponseObjectFromJSONTyped(json, false);
29
+ }
30
+ export function ApiTournamentPadelMatchSoloPut200ResponseResponseObjectFromJSONTyped(json, ignoreDiscriminator) {
31
+ if (json == null) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'success': json['success'],
36
+ 'message': json['message'],
37
+ 'responseObject': json['responseObject'] == null ? undefined : ApiTournamentPadelMatchSoloPutRequestFromJSON(json['responseObject']),
38
+ 'statusCode': json['statusCode'],
39
+ };
40
+ }
41
+ export function ApiTournamentPadelMatchSoloPut200ResponseResponseObjectToJSON(json) {
42
+ return ApiTournamentPadelMatchSoloPut200ResponseResponseObjectToJSONTyped(json, false);
43
+ }
44
+ export function ApiTournamentPadelMatchSoloPut200ResponseResponseObjectToJSONTyped(value, ignoreDiscriminator = false) {
45
+ if (value == null) {
46
+ return value;
47
+ }
48
+ return {
49
+ 'success': value['success'],
50
+ 'message': value['message'],
51
+ 'responseObject': ApiTournamentPadelMatchSoloPutRequestToJSON(value['responseObject']),
52
+ 'statusCode': value['statusCode'],
53
+ };
54
+ }
@@ -0,0 +1,33 @@
1
+ /**
2
+ * DRX API
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { ApiTournamentGet200ResponseResponseObjectItemsInnerMatchesSoloInner } from './ApiTournamentGet200ResponseResponseObjectItemsInnerMatchesSoloInner';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ApiTournamentPadelMatchSoloPutRequest
17
+ */
18
+ export interface ApiTournamentPadelMatchSoloPutRequest {
19
+ /**
20
+ *
21
+ * @type {ApiTournamentGet200ResponseResponseObjectItemsInnerMatchesSoloInner}
22
+ * @memberof ApiTournamentPadelMatchSoloPutRequest
23
+ */
24
+ body: ApiTournamentGet200ResponseResponseObjectItemsInnerMatchesSoloInner;
25
+ }
26
+ /**
27
+ * Check if a given object implements the ApiTournamentPadelMatchSoloPutRequest interface.
28
+ */
29
+ export declare function instanceOfApiTournamentPadelMatchSoloPutRequest(value: object): value is ApiTournamentPadelMatchSoloPutRequest;
30
+ export declare function ApiTournamentPadelMatchSoloPutRequestFromJSON(json: any): ApiTournamentPadelMatchSoloPutRequest;
31
+ export declare function ApiTournamentPadelMatchSoloPutRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiTournamentPadelMatchSoloPutRequest;
32
+ export declare function ApiTournamentPadelMatchSoloPutRequestToJSON(json: any): ApiTournamentPadelMatchSoloPutRequest;
33
+ export declare function ApiTournamentPadelMatchSoloPutRequestToJSONTyped(value?: ApiTournamentPadelMatchSoloPutRequest | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,44 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * DRX API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import { ApiTournamentGet200ResponseResponseObjectItemsInnerMatchesSoloInnerFromJSON, ApiTournamentGet200ResponseResponseObjectItemsInnerMatchesSoloInnerToJSON, } from './ApiTournamentGet200ResponseResponseObjectItemsInnerMatchesSoloInner';
15
+ /**
16
+ * Check if a given object implements the ApiTournamentPadelMatchSoloPutRequest interface.
17
+ */
18
+ export function instanceOfApiTournamentPadelMatchSoloPutRequest(value) {
19
+ if (!('body' in value) || value['body'] === undefined)
20
+ return false;
21
+ return true;
22
+ }
23
+ export function ApiTournamentPadelMatchSoloPutRequestFromJSON(json) {
24
+ return ApiTournamentPadelMatchSoloPutRequestFromJSONTyped(json, false);
25
+ }
26
+ export function ApiTournamentPadelMatchSoloPutRequestFromJSONTyped(json, ignoreDiscriminator) {
27
+ if (json == null) {
28
+ return json;
29
+ }
30
+ return {
31
+ 'body': ApiTournamentGet200ResponseResponseObjectItemsInnerMatchesSoloInnerFromJSON(json['body']),
32
+ };
33
+ }
34
+ export function ApiTournamentPadelMatchSoloPutRequestToJSON(json) {
35
+ return ApiTournamentPadelMatchSoloPutRequestToJSONTyped(json, false);
36
+ }
37
+ export function ApiTournamentPadelMatchSoloPutRequestToJSONTyped(value, ignoreDiscriminator = false) {
38
+ if (value == null) {
39
+ return value;
40
+ }
41
+ return {
42
+ 'body': ApiTournamentGet200ResponseResponseObjectItemsInnerMatchesSoloInnerToJSON(value['body']),
43
+ };
44
+ }
@@ -0,0 +1,51 @@
1
+ /**
2
+ * DRX API
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { ApiTournamentPadelPost200ResponseResponseObject } from './ApiTournamentPadelPost200ResponseResponseObject';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ApiTournamentPadelPost200Response
17
+ */
18
+ export interface ApiTournamentPadelPost200Response {
19
+ /**
20
+ *
21
+ * @type {boolean}
22
+ * @memberof ApiTournamentPadelPost200Response
23
+ */
24
+ success: boolean;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof ApiTournamentPadelPost200Response
29
+ */
30
+ message: string;
31
+ /**
32
+ *
33
+ * @type {ApiTournamentPadelPost200ResponseResponseObject}
34
+ * @memberof ApiTournamentPadelPost200Response
35
+ */
36
+ responseObject?: ApiTournamentPadelPost200ResponseResponseObject;
37
+ /**
38
+ *
39
+ * @type {number}
40
+ * @memberof ApiTournamentPadelPost200Response
41
+ */
42
+ statusCode: number;
43
+ }
44
+ /**
45
+ * Check if a given object implements the ApiTournamentPadelPost200Response interface.
46
+ */
47
+ export declare function instanceOfApiTournamentPadelPost200Response(value: object): value is ApiTournamentPadelPost200Response;
48
+ export declare function ApiTournamentPadelPost200ResponseFromJSON(json: any): ApiTournamentPadelPost200Response;
49
+ export declare function ApiTournamentPadelPost200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiTournamentPadelPost200Response;
50
+ export declare function ApiTournamentPadelPost200ResponseToJSON(json: any): ApiTournamentPadelPost200Response;
51
+ export declare function ApiTournamentPadelPost200ResponseToJSONTyped(value?: ApiTournamentPadelPost200Response | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,54 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * DRX API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import { ApiTournamentPadelPost200ResponseResponseObjectFromJSON, ApiTournamentPadelPost200ResponseResponseObjectToJSON, } from './ApiTournamentPadelPost200ResponseResponseObject';
15
+ /**
16
+ * Check if a given object implements the ApiTournamentPadelPost200Response interface.
17
+ */
18
+ export function instanceOfApiTournamentPadelPost200Response(value) {
19
+ if (!('success' in value) || value['success'] === undefined)
20
+ return false;
21
+ if (!('message' in value) || value['message'] === undefined)
22
+ return false;
23
+ if (!('statusCode' in value) || value['statusCode'] === undefined)
24
+ return false;
25
+ return true;
26
+ }
27
+ export function ApiTournamentPadelPost200ResponseFromJSON(json) {
28
+ return ApiTournamentPadelPost200ResponseFromJSONTyped(json, false);
29
+ }
30
+ export function ApiTournamentPadelPost200ResponseFromJSONTyped(json, ignoreDiscriminator) {
31
+ if (json == null) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'success': json['success'],
36
+ 'message': json['message'],
37
+ 'responseObject': json['responseObject'] == null ? undefined : ApiTournamentPadelPost200ResponseResponseObjectFromJSON(json['responseObject']),
38
+ 'statusCode': json['statusCode'],
39
+ };
40
+ }
41
+ export function ApiTournamentPadelPost200ResponseToJSON(json) {
42
+ return ApiTournamentPadelPost200ResponseToJSONTyped(json, false);
43
+ }
44
+ export function ApiTournamentPadelPost200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
45
+ if (value == null) {
46
+ return value;
47
+ }
48
+ return {
49
+ 'success': value['success'],
50
+ 'message': value['message'],
51
+ 'responseObject': ApiTournamentPadelPost200ResponseResponseObjectToJSON(value['responseObject']),
52
+ 'statusCode': value['statusCode'],
53
+ };
54
+ }
@@ -0,0 +1,51 @@
1
+ /**
2
+ * DRX API
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { ApiTournamentPadelPostRequest } from './ApiTournamentPadelPostRequest';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ApiTournamentPadelPost200ResponseResponseObject
17
+ */
18
+ export interface ApiTournamentPadelPost200ResponseResponseObject {
19
+ /**
20
+ *
21
+ * @type {boolean}
22
+ * @memberof ApiTournamentPadelPost200ResponseResponseObject
23
+ */
24
+ success: boolean;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof ApiTournamentPadelPost200ResponseResponseObject
29
+ */
30
+ message: string;
31
+ /**
32
+ *
33
+ * @type {ApiTournamentPadelPostRequest}
34
+ * @memberof ApiTournamentPadelPost200ResponseResponseObject
35
+ */
36
+ responseObject?: ApiTournamentPadelPostRequest;
37
+ /**
38
+ *
39
+ * @type {number}
40
+ * @memberof ApiTournamentPadelPost200ResponseResponseObject
41
+ */
42
+ statusCode: number;
43
+ }
44
+ /**
45
+ * Check if a given object implements the ApiTournamentPadelPost200ResponseResponseObject interface.
46
+ */
47
+ export declare function instanceOfApiTournamentPadelPost200ResponseResponseObject(value: object): value is ApiTournamentPadelPost200ResponseResponseObject;
48
+ export declare function ApiTournamentPadelPost200ResponseResponseObjectFromJSON(json: any): ApiTournamentPadelPost200ResponseResponseObject;
49
+ export declare function ApiTournamentPadelPost200ResponseResponseObjectFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiTournamentPadelPost200ResponseResponseObject;
50
+ export declare function ApiTournamentPadelPost200ResponseResponseObjectToJSON(json: any): ApiTournamentPadelPost200ResponseResponseObject;
51
+ export declare function ApiTournamentPadelPost200ResponseResponseObjectToJSONTyped(value?: ApiTournamentPadelPost200ResponseResponseObject | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,54 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * DRX API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import { ApiTournamentPadelPostRequestFromJSON, ApiTournamentPadelPostRequestToJSON, } from './ApiTournamentPadelPostRequest';
15
+ /**
16
+ * Check if a given object implements the ApiTournamentPadelPost200ResponseResponseObject interface.
17
+ */
18
+ export function instanceOfApiTournamentPadelPost200ResponseResponseObject(value) {
19
+ if (!('success' in value) || value['success'] === undefined)
20
+ return false;
21
+ if (!('message' in value) || value['message'] === undefined)
22
+ return false;
23
+ if (!('statusCode' in value) || value['statusCode'] === undefined)
24
+ return false;
25
+ return true;
26
+ }
27
+ export function ApiTournamentPadelPost200ResponseResponseObjectFromJSON(json) {
28
+ return ApiTournamentPadelPost200ResponseResponseObjectFromJSONTyped(json, false);
29
+ }
30
+ export function ApiTournamentPadelPost200ResponseResponseObjectFromJSONTyped(json, ignoreDiscriminator) {
31
+ if (json == null) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'success': json['success'],
36
+ 'message': json['message'],
37
+ 'responseObject': json['responseObject'] == null ? undefined : ApiTournamentPadelPostRequestFromJSON(json['responseObject']),
38
+ 'statusCode': json['statusCode'],
39
+ };
40
+ }
41
+ export function ApiTournamentPadelPost200ResponseResponseObjectToJSON(json) {
42
+ return ApiTournamentPadelPost200ResponseResponseObjectToJSONTyped(json, false);
43
+ }
44
+ export function ApiTournamentPadelPost200ResponseResponseObjectToJSONTyped(value, ignoreDiscriminator = false) {
45
+ if (value == null) {
46
+ return value;
47
+ }
48
+ return {
49
+ 'success': value['success'],
50
+ 'message': value['message'],
51
+ 'responseObject': ApiTournamentPadelPostRequestToJSON(value['responseObject']),
52
+ 'statusCode': value['statusCode'],
53
+ };
54
+ }
@@ -0,0 +1,33 @@
1
+ /**
2
+ * DRX API
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { ApiTournamentPadelPostRequestBody } from './ApiTournamentPadelPostRequestBody';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ApiTournamentPadelPostRequest
17
+ */
18
+ export interface ApiTournamentPadelPostRequest {
19
+ /**
20
+ *
21
+ * @type {ApiTournamentPadelPostRequestBody}
22
+ * @memberof ApiTournamentPadelPostRequest
23
+ */
24
+ body: ApiTournamentPadelPostRequestBody;
25
+ }
26
+ /**
27
+ * Check if a given object implements the ApiTournamentPadelPostRequest interface.
28
+ */
29
+ export declare function instanceOfApiTournamentPadelPostRequest(value: object): value is ApiTournamentPadelPostRequest;
30
+ export declare function ApiTournamentPadelPostRequestFromJSON(json: any): ApiTournamentPadelPostRequest;
31
+ export declare function ApiTournamentPadelPostRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiTournamentPadelPostRequest;
32
+ export declare function ApiTournamentPadelPostRequestToJSON(json: any): ApiTournamentPadelPostRequest;
33
+ export declare function ApiTournamentPadelPostRequestToJSONTyped(value?: ApiTournamentPadelPostRequest | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,44 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * DRX API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import { ApiTournamentPadelPostRequestBodyFromJSON, ApiTournamentPadelPostRequestBodyToJSON, } from './ApiTournamentPadelPostRequestBody';
15
+ /**
16
+ * Check if a given object implements the ApiTournamentPadelPostRequest interface.
17
+ */
18
+ export function instanceOfApiTournamentPadelPostRequest(value) {
19
+ if (!('body' in value) || value['body'] === undefined)
20
+ return false;
21
+ return true;
22
+ }
23
+ export function ApiTournamentPadelPostRequestFromJSON(json) {
24
+ return ApiTournamentPadelPostRequestFromJSONTyped(json, false);
25
+ }
26
+ export function ApiTournamentPadelPostRequestFromJSONTyped(json, ignoreDiscriminator) {
27
+ if (json == null) {
28
+ return json;
29
+ }
30
+ return {
31
+ 'body': ApiTournamentPadelPostRequestBodyFromJSON(json['body']),
32
+ };
33
+ }
34
+ export function ApiTournamentPadelPostRequestToJSON(json) {
35
+ return ApiTournamentPadelPostRequestToJSONTyped(json, false);
36
+ }
37
+ export function ApiTournamentPadelPostRequestToJSONTyped(value, ignoreDiscriminator = false) {
38
+ if (value == null) {
39
+ return value;
40
+ }
41
+ return {
42
+ 'body': ApiTournamentPadelPostRequestBodyToJSON(value['body']),
43
+ };
44
+ }
@@ -0,0 +1,64 @@
1
+ /**
2
+ * DRX API
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { ApiTournamentPadelPostRequestBodyTeamsInner } from './ApiTournamentPadelPostRequestBodyTeamsInner';
13
+ import type { ApiTournamentPadelPostRequestBodyPlayersInner } from './ApiTournamentPadelPostRequestBodyPlayersInner';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface ApiTournamentPadelPostRequestBody
18
+ */
19
+ export interface ApiTournamentPadelPostRequestBody {
20
+ /**
21
+ *
22
+ * @type {string}
23
+ * @memberof ApiTournamentPadelPostRequestBody
24
+ */
25
+ title: string;
26
+ /**
27
+ *
28
+ * @type {string}
29
+ * @memberof ApiTournamentPadelPostRequestBody
30
+ */
31
+ gameType: string;
32
+ /**
33
+ *
34
+ * @type {number}
35
+ * @memberof ApiTournamentPadelPostRequestBody
36
+ */
37
+ courtsAmount: number | null;
38
+ /**
39
+ *
40
+ * @type {string}
41
+ * @memberof ApiTournamentPadelPostRequestBody
42
+ */
43
+ userId?: string;
44
+ /**
45
+ *
46
+ * @type {Array<ApiTournamentPadelPostRequestBodyPlayersInner>}
47
+ * @memberof ApiTournamentPadelPostRequestBody
48
+ */
49
+ players: Array<ApiTournamentPadelPostRequestBodyPlayersInner>;
50
+ /**
51
+ *
52
+ * @type {Array<ApiTournamentPadelPostRequestBodyTeamsInner>}
53
+ * @memberof ApiTournamentPadelPostRequestBody
54
+ */
55
+ teams: Array<ApiTournamentPadelPostRequestBodyTeamsInner>;
56
+ }
57
+ /**
58
+ * Check if a given object implements the ApiTournamentPadelPostRequestBody interface.
59
+ */
60
+ export declare function instanceOfApiTournamentPadelPostRequestBody(value: object): value is ApiTournamentPadelPostRequestBody;
61
+ export declare function ApiTournamentPadelPostRequestBodyFromJSON(json: any): ApiTournamentPadelPostRequestBody;
62
+ export declare function ApiTournamentPadelPostRequestBodyFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiTournamentPadelPostRequestBody;
63
+ export declare function ApiTournamentPadelPostRequestBodyToJSON(json: any): ApiTournamentPadelPostRequestBody;
64
+ export declare function ApiTournamentPadelPostRequestBodyToJSONTyped(value?: ApiTournamentPadelPostRequestBody | 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
+ import { ApiTournamentPadelPostRequestBodyTeamsInnerFromJSON, ApiTournamentPadelPostRequestBodyTeamsInnerToJSON, } from './ApiTournamentPadelPostRequestBodyTeamsInner';
15
+ import { ApiTournamentPadelPostRequestBodyPlayersInnerFromJSON, ApiTournamentPadelPostRequestBodyPlayersInnerToJSON, } from './ApiTournamentPadelPostRequestBodyPlayersInner';
16
+ /**
17
+ * Check if a given object implements the ApiTournamentPadelPostRequestBody interface.
18
+ */
19
+ export function instanceOfApiTournamentPadelPostRequestBody(value) {
20
+ if (!('title' in value) || value['title'] === undefined)
21
+ return false;
22
+ if (!('gameType' in value) || value['gameType'] === undefined)
23
+ return false;
24
+ if (!('courtsAmount' in value) || value['courtsAmount'] === undefined)
25
+ return false;
26
+ if (!('players' in value) || value['players'] === undefined)
27
+ return false;
28
+ if (!('teams' in value) || value['teams'] === undefined)
29
+ return false;
30
+ return true;
31
+ }
32
+ export function ApiTournamentPadelPostRequestBodyFromJSON(json) {
33
+ return ApiTournamentPadelPostRequestBodyFromJSONTyped(json, false);
34
+ }
35
+ export function ApiTournamentPadelPostRequestBodyFromJSONTyped(json, ignoreDiscriminator) {
36
+ if (json == null) {
37
+ return json;
38
+ }
39
+ return {
40
+ 'title': json['title'],
41
+ 'gameType': json['game_type'],
42
+ 'courtsAmount': json['courts_amount'],
43
+ 'userId': json['user_id'] == null ? undefined : json['user_id'],
44
+ 'players': (json['players'].map(ApiTournamentPadelPostRequestBodyPlayersInnerFromJSON)),
45
+ 'teams': (json['teams'].map(ApiTournamentPadelPostRequestBodyTeamsInnerFromJSON)),
46
+ };
47
+ }
48
+ export function ApiTournamentPadelPostRequestBodyToJSON(json) {
49
+ return ApiTournamentPadelPostRequestBodyToJSONTyped(json, false);
50
+ }
51
+ export function ApiTournamentPadelPostRequestBodyToJSONTyped(value, ignoreDiscriminator = false) {
52
+ if (value == null) {
53
+ return value;
54
+ }
55
+ return {
56
+ 'title': value['title'],
57
+ 'game_type': value['gameType'],
58
+ 'courts_amount': value['courtsAmount'],
59
+ 'user_id': value['userId'],
60
+ 'players': (value['players'].map(ApiTournamentPadelPostRequestBodyPlayersInnerToJSON)),
61
+ 'teams': (value['teams'].map(ApiTournamentPadelPostRequestBodyTeamsInnerToJSON)),
62
+ };
63
+ }