@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,74 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * DRX API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface ApiTournamentPadelPostRequestBodyPlayersInner
20
+ */
21
+ export interface ApiTournamentPadelPostRequestBodyPlayersInner {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof ApiTournamentPadelPostRequestBodyPlayersInner
26
+ */
27
+ name: string;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof ApiTournamentPadelPostRequestBodyPlayersInner
32
+ */
33
+ gender?: string;
34
+ }
35
+
36
+ /**
37
+ * Check if a given object implements the ApiTournamentPadelPostRequestBodyPlayersInner interface.
38
+ */
39
+ export function instanceOfApiTournamentPadelPostRequestBodyPlayersInner(value: object): value is ApiTournamentPadelPostRequestBodyPlayersInner {
40
+ if (!('name' in value) || value['name'] === undefined) return false;
41
+ return true;
42
+ }
43
+
44
+ export function ApiTournamentPadelPostRequestBodyPlayersInnerFromJSON(json: any): ApiTournamentPadelPostRequestBodyPlayersInner {
45
+ return ApiTournamentPadelPostRequestBodyPlayersInnerFromJSONTyped(json, false);
46
+ }
47
+
48
+ export function ApiTournamentPadelPostRequestBodyPlayersInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiTournamentPadelPostRequestBodyPlayersInner {
49
+ if (json == null) {
50
+ return json;
51
+ }
52
+ return {
53
+
54
+ 'name': json['name'],
55
+ 'gender': json['gender'] == null ? undefined : json['gender'],
56
+ };
57
+ }
58
+
59
+ export function ApiTournamentPadelPostRequestBodyPlayersInnerToJSON(json: any): ApiTournamentPadelPostRequestBodyPlayersInner {
60
+ return ApiTournamentPadelPostRequestBodyPlayersInnerToJSONTyped(json, false);
61
+ }
62
+
63
+ export function ApiTournamentPadelPostRequestBodyPlayersInnerToJSONTyped(value?: ApiTournamentPadelPostRequestBodyPlayersInner | null, ignoreDiscriminator: boolean = false): any {
64
+ if (value == null) {
65
+ return value;
66
+ }
67
+
68
+ return {
69
+
70
+ 'name': value['name'],
71
+ 'gender': value['gender'],
72
+ };
73
+ }
74
+
@@ -0,0 +1,74 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * DRX API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface ApiTournamentPadelPostRequestBodyTeamsInner
20
+ */
21
+ export interface ApiTournamentPadelPostRequestBodyTeamsInner {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof ApiTournamentPadelPostRequestBodyTeamsInner
26
+ */
27
+ name: string;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof ApiTournamentPadelPostRequestBodyTeamsInner
32
+ */
33
+ club?: string;
34
+ }
35
+
36
+ /**
37
+ * Check if a given object implements the ApiTournamentPadelPostRequestBodyTeamsInner interface.
38
+ */
39
+ export function instanceOfApiTournamentPadelPostRequestBodyTeamsInner(value: object): value is ApiTournamentPadelPostRequestBodyTeamsInner {
40
+ if (!('name' in value) || value['name'] === undefined) return false;
41
+ return true;
42
+ }
43
+
44
+ export function ApiTournamentPadelPostRequestBodyTeamsInnerFromJSON(json: any): ApiTournamentPadelPostRequestBodyTeamsInner {
45
+ return ApiTournamentPadelPostRequestBodyTeamsInnerFromJSONTyped(json, false);
46
+ }
47
+
48
+ export function ApiTournamentPadelPostRequestBodyTeamsInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiTournamentPadelPostRequestBodyTeamsInner {
49
+ if (json == null) {
50
+ return json;
51
+ }
52
+ return {
53
+
54
+ 'name': json['name'],
55
+ 'club': json['club'] == null ? undefined : json['club'],
56
+ };
57
+ }
58
+
59
+ export function ApiTournamentPadelPostRequestBodyTeamsInnerToJSON(json: any): ApiTournamentPadelPostRequestBodyTeamsInner {
60
+ return ApiTournamentPadelPostRequestBodyTeamsInnerToJSONTyped(json, false);
61
+ }
62
+
63
+ export function ApiTournamentPadelPostRequestBodyTeamsInnerToJSONTyped(value?: ApiTournamentPadelPostRequestBodyTeamsInner | null, ignoreDiscriminator: boolean = false): any {
64
+ if (value == null) {
65
+ return value;
66
+ }
67
+
68
+ return {
69
+
70
+ 'name': value['name'],
71
+ 'club': value['club'],
72
+ };
73
+ }
74
+
@@ -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 { ApiYoutubeDrxContentGet200ResponseResponseObject } from './ApiYoutubeDrxContentGet200ResponseResponseObject';
17
+ import {
18
+ ApiYoutubeDrxContentGet200ResponseResponseObjectFromJSON,
19
+ ApiYoutubeDrxContentGet200ResponseResponseObjectFromJSONTyped,
20
+ ApiYoutubeDrxContentGet200ResponseResponseObjectToJSON,
21
+ ApiYoutubeDrxContentGet200ResponseResponseObjectToJSONTyped,
22
+ } from './ApiYoutubeDrxContentGet200ResponseResponseObject';
23
+
24
+ /**
25
+ *
26
+ * @export
27
+ * @interface ApiYoutubeDrxContentGet200Response
28
+ */
29
+ export interface ApiYoutubeDrxContentGet200Response {
30
+ /**
31
+ *
32
+ * @type {boolean}
33
+ * @memberof ApiYoutubeDrxContentGet200Response
34
+ */
35
+ success: boolean;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof ApiYoutubeDrxContentGet200Response
40
+ */
41
+ message: string;
42
+ /**
43
+ *
44
+ * @type {ApiYoutubeDrxContentGet200ResponseResponseObject}
45
+ * @memberof ApiYoutubeDrxContentGet200Response
46
+ */
47
+ responseObject?: ApiYoutubeDrxContentGet200ResponseResponseObject;
48
+ /**
49
+ *
50
+ * @type {number}
51
+ * @memberof ApiYoutubeDrxContentGet200Response
52
+ */
53
+ statusCode: number;
54
+ }
55
+
56
+ /**
57
+ * Check if a given object implements the ApiYoutubeDrxContentGet200Response interface.
58
+ */
59
+ export function instanceOfApiYoutubeDrxContentGet200Response(value: object): value is ApiYoutubeDrxContentGet200Response {
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 ApiYoutubeDrxContentGet200ResponseFromJSON(json: any): ApiYoutubeDrxContentGet200Response {
67
+ return ApiYoutubeDrxContentGet200ResponseFromJSONTyped(json, false);
68
+ }
69
+
70
+ export function ApiYoutubeDrxContentGet200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiYoutubeDrxContentGet200Response {
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 : ApiYoutubeDrxContentGet200ResponseResponseObjectFromJSON(json['responseObject']),
79
+ 'statusCode': json['statusCode'],
80
+ };
81
+ }
82
+
83
+ export function ApiYoutubeDrxContentGet200ResponseToJSON(json: any): ApiYoutubeDrxContentGet200Response {
84
+ return ApiYoutubeDrxContentGet200ResponseToJSONTyped(json, false);
85
+ }
86
+
87
+ export function ApiYoutubeDrxContentGet200ResponseToJSONTyped(value?: ApiYoutubeDrxContentGet200Response | 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': ApiYoutubeDrxContentGet200ResponseResponseObjectToJSON(value['responseObject']),
97
+ 'statusCode': value['statusCode'],
98
+ };
99
+ }
100
+
@@ -0,0 +1,90 @@
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 { ApiYoutubeDrxContentGet200ResponseResponseObjectCurrentLive } from './ApiYoutubeDrxContentGet200ResponseResponseObjectCurrentLive';
17
+ import {
18
+ ApiYoutubeDrxContentGet200ResponseResponseObjectCurrentLiveFromJSON,
19
+ ApiYoutubeDrxContentGet200ResponseResponseObjectCurrentLiveFromJSONTyped,
20
+ ApiYoutubeDrxContentGet200ResponseResponseObjectCurrentLiveToJSON,
21
+ ApiYoutubeDrxContentGet200ResponseResponseObjectCurrentLiveToJSONTyped,
22
+ } from './ApiYoutubeDrxContentGet200ResponseResponseObjectCurrentLive';
23
+ import type { ApiYoutubeDrxContentGet200ResponseResponseObjectPreviousContentInner } from './ApiYoutubeDrxContentGet200ResponseResponseObjectPreviousContentInner';
24
+ import {
25
+ ApiYoutubeDrxContentGet200ResponseResponseObjectPreviousContentInnerFromJSON,
26
+ ApiYoutubeDrxContentGet200ResponseResponseObjectPreviousContentInnerFromJSONTyped,
27
+ ApiYoutubeDrxContentGet200ResponseResponseObjectPreviousContentInnerToJSON,
28
+ ApiYoutubeDrxContentGet200ResponseResponseObjectPreviousContentInnerToJSONTyped,
29
+ } from './ApiYoutubeDrxContentGet200ResponseResponseObjectPreviousContentInner';
30
+
31
+ /**
32
+ *
33
+ * @export
34
+ * @interface ApiYoutubeDrxContentGet200ResponseResponseObject
35
+ */
36
+ export interface ApiYoutubeDrxContentGet200ResponseResponseObject {
37
+ /**
38
+ *
39
+ * @type {ApiYoutubeDrxContentGet200ResponseResponseObjectCurrentLive}
40
+ * @memberof ApiYoutubeDrxContentGet200ResponseResponseObject
41
+ */
42
+ currentLive: ApiYoutubeDrxContentGet200ResponseResponseObjectCurrentLive | null;
43
+ /**
44
+ *
45
+ * @type {Array<ApiYoutubeDrxContentGet200ResponseResponseObjectPreviousContentInner>}
46
+ * @memberof ApiYoutubeDrxContentGet200ResponseResponseObject
47
+ */
48
+ previousContent: Array<ApiYoutubeDrxContentGet200ResponseResponseObjectPreviousContentInner>;
49
+ }
50
+
51
+ /**
52
+ * Check if a given object implements the ApiYoutubeDrxContentGet200ResponseResponseObject interface.
53
+ */
54
+ export function instanceOfApiYoutubeDrxContentGet200ResponseResponseObject(value: object): value is ApiYoutubeDrxContentGet200ResponseResponseObject {
55
+ if (!('currentLive' in value) || value['currentLive'] === undefined) return false;
56
+ if (!('previousContent' in value) || value['previousContent'] === undefined) return false;
57
+ return true;
58
+ }
59
+
60
+ export function ApiYoutubeDrxContentGet200ResponseResponseObjectFromJSON(json: any): ApiYoutubeDrxContentGet200ResponseResponseObject {
61
+ return ApiYoutubeDrxContentGet200ResponseResponseObjectFromJSONTyped(json, false);
62
+ }
63
+
64
+ export function ApiYoutubeDrxContentGet200ResponseResponseObjectFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiYoutubeDrxContentGet200ResponseResponseObject {
65
+ if (json == null) {
66
+ return json;
67
+ }
68
+ return {
69
+
70
+ 'currentLive': ApiYoutubeDrxContentGet200ResponseResponseObjectCurrentLiveFromJSON(json['currentLive']),
71
+ 'previousContent': ((json['previousContent'] as Array<any>).map(ApiYoutubeDrxContentGet200ResponseResponseObjectPreviousContentInnerFromJSON)),
72
+ };
73
+ }
74
+
75
+ export function ApiYoutubeDrxContentGet200ResponseResponseObjectToJSON(json: any): ApiYoutubeDrxContentGet200ResponseResponseObject {
76
+ return ApiYoutubeDrxContentGet200ResponseResponseObjectToJSONTyped(json, false);
77
+ }
78
+
79
+ export function ApiYoutubeDrxContentGet200ResponseResponseObjectToJSONTyped(value?: ApiYoutubeDrxContentGet200ResponseResponseObject | null, ignoreDiscriminator: boolean = false): any {
80
+ if (value == null) {
81
+ return value;
82
+ }
83
+
84
+ return {
85
+
86
+ 'currentLive': ApiYoutubeDrxContentGet200ResponseResponseObjectCurrentLiveToJSON(value['currentLive']),
87
+ 'previousContent': ((value['previousContent'] as Array<any>).map(ApiYoutubeDrxContentGet200ResponseResponseObjectPreviousContentInnerToJSON)),
88
+ };
89
+ }
90
+
@@ -0,0 +1,178 @@
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 ApiYoutubeDrxContentGet200ResponseResponseObjectCurrentLive
20
+ */
21
+ export interface ApiYoutubeDrxContentGet200ResponseResponseObjectCurrentLive {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof ApiYoutubeDrxContentGet200ResponseResponseObjectCurrentLive
26
+ */
27
+ id: string;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof ApiYoutubeDrxContentGet200ResponseResponseObjectCurrentLive
32
+ */
33
+ channelId: string;
34
+ /**
35
+ *
36
+ * @type {string}
37
+ * @memberof ApiYoutubeDrxContentGet200ResponseResponseObjectCurrentLive
38
+ */
39
+ channelTitle: string;
40
+ /**
41
+ *
42
+ * @type {string}
43
+ * @memberof ApiYoutubeDrxContentGet200ResponseResponseObjectCurrentLive
44
+ */
45
+ videoId: string;
46
+ /**
47
+ *
48
+ * @type {string}
49
+ * @memberof ApiYoutubeDrxContentGet200ResponseResponseObjectCurrentLive
50
+ */
51
+ title: string;
52
+ /**
53
+ *
54
+ * @type {string}
55
+ * @memberof ApiYoutubeDrxContentGet200ResponseResponseObjectCurrentLive
56
+ */
57
+ description?: string;
58
+ /**
59
+ *
60
+ * @type {string}
61
+ * @memberof ApiYoutubeDrxContentGet200ResponseResponseObjectCurrentLive
62
+ */
63
+ thumbnailUrl?: string;
64
+ /**
65
+ *
66
+ * @type {boolean}
67
+ * @memberof ApiYoutubeDrxContentGet200ResponseResponseObjectCurrentLive
68
+ */
69
+ isLive: boolean;
70
+ /**
71
+ *
72
+ * @type {number}
73
+ * @memberof ApiYoutubeDrxContentGet200ResponseResponseObjectCurrentLive
74
+ */
75
+ viewerCount?: number;
76
+ /**
77
+ *
78
+ * @type {Date}
79
+ * @memberof ApiYoutubeDrxContentGet200ResponseResponseObjectCurrentLive
80
+ */
81
+ scheduledStartTime?: Date;
82
+ /**
83
+ *
84
+ * @type {Date}
85
+ * @memberof ApiYoutubeDrxContentGet200ResponseResponseObjectCurrentLive
86
+ */
87
+ actualStartTime?: Date;
88
+ /**
89
+ *
90
+ * @type {string}
91
+ * @memberof ApiYoutubeDrxContentGet200ResponseResponseObjectCurrentLive
92
+ */
93
+ embedUrl: string;
94
+ /**
95
+ *
96
+ * @type {Date}
97
+ * @memberof ApiYoutubeDrxContentGet200ResponseResponseObjectCurrentLive
98
+ */
99
+ createdAt: Date;
100
+ /**
101
+ *
102
+ * @type {Date}
103
+ * @memberof ApiYoutubeDrxContentGet200ResponseResponseObjectCurrentLive
104
+ */
105
+ updatedAt: Date;
106
+ }
107
+
108
+ /**
109
+ * Check if a given object implements the ApiYoutubeDrxContentGet200ResponseResponseObjectCurrentLive interface.
110
+ */
111
+ export function instanceOfApiYoutubeDrxContentGet200ResponseResponseObjectCurrentLive(value: object): value is ApiYoutubeDrxContentGet200ResponseResponseObjectCurrentLive {
112
+ if (!('id' in value) || value['id'] === undefined) return false;
113
+ if (!('channelId' in value) || value['channelId'] === undefined) return false;
114
+ if (!('channelTitle' in value) || value['channelTitle'] === undefined) return false;
115
+ if (!('videoId' in value) || value['videoId'] === undefined) return false;
116
+ if (!('title' in value) || value['title'] === undefined) return false;
117
+ if (!('isLive' in value) || value['isLive'] === undefined) return false;
118
+ if (!('embedUrl' in value) || value['embedUrl'] === undefined) return false;
119
+ if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
120
+ if (!('updatedAt' in value) || value['updatedAt'] === undefined) return false;
121
+ return true;
122
+ }
123
+
124
+ export function ApiYoutubeDrxContentGet200ResponseResponseObjectCurrentLiveFromJSON(json: any): ApiYoutubeDrxContentGet200ResponseResponseObjectCurrentLive {
125
+ return ApiYoutubeDrxContentGet200ResponseResponseObjectCurrentLiveFromJSONTyped(json, false);
126
+ }
127
+
128
+ export function ApiYoutubeDrxContentGet200ResponseResponseObjectCurrentLiveFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiYoutubeDrxContentGet200ResponseResponseObjectCurrentLive {
129
+ if (json == null) {
130
+ return json;
131
+ }
132
+ return {
133
+
134
+ 'id': json['id'],
135
+ 'channelId': json['channelId'],
136
+ 'channelTitle': json['channelTitle'],
137
+ 'videoId': json['videoId'],
138
+ 'title': json['title'],
139
+ 'description': json['description'] == null ? undefined : json['description'],
140
+ 'thumbnailUrl': json['thumbnailUrl'] == null ? undefined : json['thumbnailUrl'],
141
+ 'isLive': json['isLive'],
142
+ 'viewerCount': json['viewerCount'] == null ? undefined : json['viewerCount'],
143
+ 'scheduledStartTime': json['scheduledStartTime'] == null ? undefined : (new Date(json['scheduledStartTime'])),
144
+ 'actualStartTime': json['actualStartTime'] == null ? undefined : (new Date(json['actualStartTime'])),
145
+ 'embedUrl': json['embedUrl'],
146
+ 'createdAt': (new Date(json['createdAt'])),
147
+ 'updatedAt': (new Date(json['updatedAt'])),
148
+ };
149
+ }
150
+
151
+ export function ApiYoutubeDrxContentGet200ResponseResponseObjectCurrentLiveToJSON(json: any): ApiYoutubeDrxContentGet200ResponseResponseObjectCurrentLive {
152
+ return ApiYoutubeDrxContentGet200ResponseResponseObjectCurrentLiveToJSONTyped(json, false);
153
+ }
154
+
155
+ export function ApiYoutubeDrxContentGet200ResponseResponseObjectCurrentLiveToJSONTyped(value?: ApiYoutubeDrxContentGet200ResponseResponseObjectCurrentLive | null, ignoreDiscriminator: boolean = false): any {
156
+ if (value == null) {
157
+ return value;
158
+ }
159
+
160
+ return {
161
+
162
+ 'id': value['id'],
163
+ 'channelId': value['channelId'],
164
+ 'channelTitle': value['channelTitle'],
165
+ 'videoId': value['videoId'],
166
+ 'title': value['title'],
167
+ 'description': value['description'],
168
+ 'thumbnailUrl': value['thumbnailUrl'],
169
+ 'isLive': value['isLive'],
170
+ 'viewerCount': value['viewerCount'],
171
+ 'scheduledStartTime': value['scheduledStartTime'] == null ? undefined : ((value['scheduledStartTime']).toISOString()),
172
+ 'actualStartTime': value['actualStartTime'] == null ? undefined : ((value['actualStartTime']).toISOString()),
173
+ 'embedUrl': value['embedUrl'],
174
+ 'createdAt': ((value['createdAt']).toISOString()),
175
+ 'updatedAt': ((value['updatedAt']).toISOString()),
176
+ };
177
+ }
178
+
@@ -0,0 +1,170 @@
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 ApiYoutubeDrxContentGet200ResponseResponseObjectPreviousContentInner
20
+ */
21
+ export interface ApiYoutubeDrxContentGet200ResponseResponseObjectPreviousContentInner {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof ApiYoutubeDrxContentGet200ResponseResponseObjectPreviousContentInner
26
+ */
27
+ id: string;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof ApiYoutubeDrxContentGet200ResponseResponseObjectPreviousContentInner
32
+ */
33
+ channelId: string;
34
+ /**
35
+ *
36
+ * @type {string}
37
+ * @memberof ApiYoutubeDrxContentGet200ResponseResponseObjectPreviousContentInner
38
+ */
39
+ channelTitle: string;
40
+ /**
41
+ *
42
+ * @type {string}
43
+ * @memberof ApiYoutubeDrxContentGet200ResponseResponseObjectPreviousContentInner
44
+ */
45
+ videoId: string;
46
+ /**
47
+ *
48
+ * @type {string}
49
+ * @memberof ApiYoutubeDrxContentGet200ResponseResponseObjectPreviousContentInner
50
+ */
51
+ title: string;
52
+ /**
53
+ *
54
+ * @type {string}
55
+ * @memberof ApiYoutubeDrxContentGet200ResponseResponseObjectPreviousContentInner
56
+ */
57
+ description?: string;
58
+ /**
59
+ *
60
+ * @type {string}
61
+ * @memberof ApiYoutubeDrxContentGet200ResponseResponseObjectPreviousContentInner
62
+ */
63
+ thumbnailUrl?: string;
64
+ /**
65
+ *
66
+ * @type {Date}
67
+ * @memberof ApiYoutubeDrxContentGet200ResponseResponseObjectPreviousContentInner
68
+ */
69
+ publishedAt: Date;
70
+ /**
71
+ *
72
+ * @type {string}
73
+ * @memberof ApiYoutubeDrxContentGet200ResponseResponseObjectPreviousContentInner
74
+ */
75
+ duration: string;
76
+ /**
77
+ *
78
+ * @type {number}
79
+ * @memberof ApiYoutubeDrxContentGet200ResponseResponseObjectPreviousContentInner
80
+ */
81
+ viewCount?: number;
82
+ /**
83
+ *
84
+ * @type {number}
85
+ * @memberof ApiYoutubeDrxContentGet200ResponseResponseObjectPreviousContentInner
86
+ */
87
+ likeCount?: number;
88
+ /**
89
+ *
90
+ * @type {string}
91
+ * @memberof ApiYoutubeDrxContentGet200ResponseResponseObjectPreviousContentInner
92
+ */
93
+ embedUrl: string;
94
+ /**
95
+ *
96
+ * @type {Date}
97
+ * @memberof ApiYoutubeDrxContentGet200ResponseResponseObjectPreviousContentInner
98
+ */
99
+ createdAt: Date;
100
+ }
101
+
102
+ /**
103
+ * Check if a given object implements the ApiYoutubeDrxContentGet200ResponseResponseObjectPreviousContentInner interface.
104
+ */
105
+ export function instanceOfApiYoutubeDrxContentGet200ResponseResponseObjectPreviousContentInner(value: object): value is ApiYoutubeDrxContentGet200ResponseResponseObjectPreviousContentInner {
106
+ if (!('id' in value) || value['id'] === undefined) return false;
107
+ if (!('channelId' in value) || value['channelId'] === undefined) return false;
108
+ if (!('channelTitle' in value) || value['channelTitle'] === undefined) return false;
109
+ if (!('videoId' in value) || value['videoId'] === undefined) return false;
110
+ if (!('title' in value) || value['title'] === undefined) return false;
111
+ if (!('publishedAt' in value) || value['publishedAt'] === undefined) return false;
112
+ if (!('duration' in value) || value['duration'] === undefined) return false;
113
+ if (!('embedUrl' in value) || value['embedUrl'] === undefined) return false;
114
+ if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
115
+ return true;
116
+ }
117
+
118
+ export function ApiYoutubeDrxContentGet200ResponseResponseObjectPreviousContentInnerFromJSON(json: any): ApiYoutubeDrxContentGet200ResponseResponseObjectPreviousContentInner {
119
+ return ApiYoutubeDrxContentGet200ResponseResponseObjectPreviousContentInnerFromJSONTyped(json, false);
120
+ }
121
+
122
+ export function ApiYoutubeDrxContentGet200ResponseResponseObjectPreviousContentInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiYoutubeDrxContentGet200ResponseResponseObjectPreviousContentInner {
123
+ if (json == null) {
124
+ return json;
125
+ }
126
+ return {
127
+
128
+ 'id': json['id'],
129
+ 'channelId': json['channelId'],
130
+ 'channelTitle': json['channelTitle'],
131
+ 'videoId': json['videoId'],
132
+ 'title': json['title'],
133
+ 'description': json['description'] == null ? undefined : json['description'],
134
+ 'thumbnailUrl': json['thumbnailUrl'] == null ? undefined : json['thumbnailUrl'],
135
+ 'publishedAt': (new Date(json['publishedAt'])),
136
+ 'duration': json['duration'],
137
+ 'viewCount': json['viewCount'] == null ? undefined : json['viewCount'],
138
+ 'likeCount': json['likeCount'] == null ? undefined : json['likeCount'],
139
+ 'embedUrl': json['embedUrl'],
140
+ 'createdAt': (new Date(json['createdAt'])),
141
+ };
142
+ }
143
+
144
+ export function ApiYoutubeDrxContentGet200ResponseResponseObjectPreviousContentInnerToJSON(json: any): ApiYoutubeDrxContentGet200ResponseResponseObjectPreviousContentInner {
145
+ return ApiYoutubeDrxContentGet200ResponseResponseObjectPreviousContentInnerToJSONTyped(json, false);
146
+ }
147
+
148
+ export function ApiYoutubeDrxContentGet200ResponseResponseObjectPreviousContentInnerToJSONTyped(value?: ApiYoutubeDrxContentGet200ResponseResponseObjectPreviousContentInner | null, ignoreDiscriminator: boolean = false): any {
149
+ if (value == null) {
150
+ return value;
151
+ }
152
+
153
+ return {
154
+
155
+ 'id': value['id'],
156
+ 'channelId': value['channelId'],
157
+ 'channelTitle': value['channelTitle'],
158
+ 'videoId': value['videoId'],
159
+ 'title': value['title'],
160
+ 'description': value['description'],
161
+ 'thumbnailUrl': value['thumbnailUrl'],
162
+ 'publishedAt': ((value['publishedAt']).toISOString()),
163
+ 'duration': value['duration'],
164
+ 'viewCount': value['viewCount'],
165
+ 'likeCount': value['likeCount'],
166
+ 'embedUrl': value['embedUrl'],
167
+ 'createdAt': ((value['createdAt']).toISOString()),
168
+ };
169
+ }
170
+