@drxsuperapp/sdk 1.1.435 → 1.1.437

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.
@@ -116,6 +116,8 @@ models/ApiFileUploadFilenameDelete200Response.ts
116
116
  models/ApiFileUploadFilenameDelete200ResponseResponseObject.ts
117
117
  models/ApiFileUploadPost200Response.ts
118
118
  models/ApiFileUploadPost200ResponseResponseObject.ts
119
+ models/ApiGarudakuContentGet200Response.ts
120
+ models/ApiGarudakuContentGet200ResponseResponseObject.ts
119
121
  models/ApiGarudakuGameTopupsGet200Response.ts
120
122
  models/ApiGarudakuGameTopupsGet200ResponseResponseObject.ts
121
123
  models/ApiGarudakuGameTopupsGet200ResponseResponseObjectItemsInner.ts
@@ -342,6 +344,7 @@ models/ApiWeb3SwapPostRequest.ts
342
344
  models/ApiYoutubeDrxContentGet200Response.ts
343
345
  models/ApiYoutubeDrxContentGet200ResponseResponseObject.ts
344
346
  models/ApiYoutubeDrxContentGet200ResponseResponseObjectCurrentLive.ts
347
+ models/ApiYoutubeDrxContentGet200ResponseResponseObjectPinnedContent.ts
345
348
  models/ApiYoutubeDrxContentGet200ResponseResponseObjectPreviousContentInner.ts
346
349
  models/ApiYoutubePrivateStreamDelete200Response.ts
347
350
  models/ApiYoutubePrivateStreamPost200Response.ts
@@ -15,6 +15,7 @@
15
15
 
16
16
  import * as runtime from '../runtime';
17
17
  import type {
18
+ ApiGarudakuContentGet200Response,
18
19
  ApiGarudakuGameTopupsGet200Response,
19
20
  ApiGarudakuGameTopupsGetFilterParameter,
20
21
  ApiGarudakuGameTopupsIdDelete200Response,
@@ -27,11 +28,12 @@ import type {
27
28
  ApiGarudakuTournamentsIdPutRequest,
28
29
  ApiGarudakuTournamentsPost200Response,
29
30
  ApiGarudakuTournamentsPostRequest,
30
- ApiYoutubeDrxContentGet200Response,
31
31
  ApiYoutubePrivateStreamDelete200Response,
32
32
  ApiYoutubePrivateStreamPost200Response,
33
33
  } from '../models/index';
34
34
  import {
35
+ ApiGarudakuContentGet200ResponseFromJSON,
36
+ ApiGarudakuContentGet200ResponseToJSON,
35
37
  ApiGarudakuGameTopupsGet200ResponseFromJSON,
36
38
  ApiGarudakuGameTopupsGet200ResponseToJSON,
37
39
  ApiGarudakuGameTopupsGetFilterParameterFromJSON,
@@ -56,8 +58,6 @@ import {
56
58
  ApiGarudakuTournamentsPost200ResponseToJSON,
57
59
  ApiGarudakuTournamentsPostRequestFromJSON,
58
60
  ApiGarudakuTournamentsPostRequestToJSON,
59
- ApiYoutubeDrxContentGet200ResponseFromJSON,
60
- ApiYoutubeDrxContentGet200ResponseToJSON,
61
61
  ApiYoutubePrivateStreamDelete200ResponseFromJSON,
62
62
  ApiYoutubePrivateStreamDelete200ResponseToJSON,
63
63
  ApiYoutubePrivateStreamPost200ResponseFromJSON,
@@ -117,7 +117,7 @@ export class GarudakuIntegrationApi extends runtime.BaseAPI {
117
117
  * Get current live stream and 3 previous long-form videos from Garudaku YouTube channel
118
118
  * Get Garudaku Content
119
119
  */
120
- async apiGarudakuContentGetRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiYoutubeDrxContentGet200Response>> {
120
+ async apiGarudakuContentGetRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiGarudakuContentGet200Response>> {
121
121
  const queryParameters: any = {};
122
122
 
123
123
  const headerParameters: runtime.HTTPHeaders = {};
@@ -141,14 +141,14 @@ export class GarudakuIntegrationApi extends runtime.BaseAPI {
141
141
  query: queryParameters,
142
142
  }, initOverrides);
143
143
 
144
- return new runtime.JSONApiResponse(response, (jsonValue) => ApiYoutubeDrxContentGet200ResponseFromJSON(jsonValue));
144
+ return new runtime.JSONApiResponse(response, (jsonValue) => ApiGarudakuContentGet200ResponseFromJSON(jsonValue));
145
145
  }
146
146
 
147
147
  /**
148
148
  * Get current live stream and 3 previous long-form videos from Garudaku YouTube channel
149
149
  * Get Garudaku Content
150
150
  */
151
- async apiGarudakuContentGet(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiYoutubeDrxContentGet200Response> {
151
+ async apiGarudakuContentGet(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiGarudakuContentGet200Response> {
152
152
  const response = await this.apiGarudakuContentGetRaw(initOverrides);
153
153
  return await response.value();
154
154
  }
package/deploy.log CHANGED
@@ -35,12 +35,15 @@
35
35
  [main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_padel_seed_get_200_response. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_padel_seed_get_200_response=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_padel_seed_get_200_response=NewModel,ModelA=NewModelA in CLI).
36
36
  [main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_youtube_drx_content_get_200_response_responseObject_currentLive. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_youtube_drx_content_get_200_response_responseObject_currentLive=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_youtube_drx_content_get_200_response_responseObject_currentLive=NewModel,ModelA=NewModelA in CLI).
37
37
  [main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_youtube_drx_content_get_200_response_responseObject_previousContent_inner. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_youtube_drx_content_get_200_response_responseObject_previousContent_inner=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_youtube_drx_content_get_200_response_responseObject_previousContent_inner=NewModel,ModelA=NewModelA in CLI).
38
+ [main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_youtube_drx_content_get_200_response_responseObject_pinnedContent. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_youtube_drx_content_get_200_response_responseObject_pinnedContent=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_youtube_drx_content_get_200_response_responseObject_pinnedContent=NewModel,ModelA=NewModelA in CLI).
38
39
  [main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_youtube_drx_content_get_200_response_responseObject. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_youtube_drx_content_get_200_response_responseObject=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_youtube_drx_content_get_200_response_responseObject=NewModel,ModelA=NewModelA in CLI).
39
40
  [main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_youtube_drx_content_get_200_response. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_youtube_drx_content_get_200_response=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_youtube_drx_content_get_200_response=NewModel,ModelA=NewModelA in CLI).
40
41
  [main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_youtube_private_stream_post_200_response_responseObject_privateStream. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_youtube_private_stream_post_200_response_responseObject_privateStream=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_youtube_private_stream_post_200_response_responseObject_privateStream=NewModel,ModelA=NewModelA in CLI).
41
42
  [main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_youtube_private_stream_post_200_response_responseObject. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_youtube_private_stream_post_200_response_responseObject=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_youtube_private_stream_post_200_response_responseObject=NewModel,ModelA=NewModelA in CLI).
42
43
  [main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_youtube_private_stream_post_200_response. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_youtube_private_stream_post_200_response=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_youtube_private_stream_post_200_response=NewModel,ModelA=NewModelA in CLI).
43
44
  [main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_youtube_private_stream_delete_200_response. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_youtube_private_stream_delete_200_response=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_youtube_private_stream_delete_200_response=NewModel,ModelA=NewModelA in CLI).
45
+ [main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_garudaku_content_get_200_response_responseObject. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_garudaku_content_get_200_response_responseObject=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_garudaku_content_get_200_response_responseObject=NewModel,ModelA=NewModelA in CLI).
46
+ [main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_garudaku_content_get_200_response. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_garudaku_content_get_200_response=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_garudaku_content_get_200_response=NewModel,ModelA=NewModelA in CLI).
44
47
  [main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_garudaku_private_stream_post_request. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_garudaku_private_stream_post_request=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_garudaku_private_stream_post_request=NewModel,ModelA=NewModelA in CLI).
45
48
  [main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_garudaku_game_topups_get_filter_parameter_isPopular. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_garudaku_game_topups_get_filter_parameter_isPopular=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_garudaku_game_topups_get_filter_parameter_isPopular=NewModel,ModelA=NewModelA in CLI).
46
49
  [main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_garudaku_game_topups_get_filter_parameter. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_garudaku_game_topups_get_filter_parameter=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_garudaku_game_topups_get_filter_parameter=NewModel,ModelA=NewModelA in CLI).
@@ -421,6 +424,8 @@
421
424
  [main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiFileUploadFilenameDelete200ResponseResponseObject.ts
422
425
  [main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiFileUploadPost200Response.ts
423
426
  [main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiFileUploadPost200ResponseResponseObject.ts
427
+ [main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiGarudakuContentGet200Response.ts
428
+ [main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiGarudakuContentGet200ResponseResponseObject.ts
424
429
  [main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiGarudakuGameTopupsGet200Response.ts
425
430
  [main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiGarudakuGameTopupsGet200ResponseResponseObject.ts
426
431
  [main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiGarudakuGameTopupsGet200ResponseResponseObjectItemsInner.ts
@@ -647,6 +652,7 @@
647
652
  [main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiYoutubeDrxContentGet200Response.ts
648
653
  [main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiYoutubeDrxContentGet200ResponseResponseObject.ts
649
654
  [main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiYoutubeDrxContentGet200ResponseResponseObjectCurrentLive.ts
655
+ [main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiYoutubeDrxContentGet200ResponseResponseObjectPinnedContent.ts
650
656
  [main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiYoutubeDrxContentGet200ResponseResponseObjectPreviousContentInner.ts
651
657
  [main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiYoutubePrivateStreamDelete200Response.ts
652
658
  [main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiYoutubePrivateStreamPost200Response.ts
@@ -859,21 +865,23 @@
859
865
  # https://opencollective.com/openapi_generator/donate #
860
866
  ################################################################################
861
867
  ✅ SDK generated
862
- On branch master
863
- Your branch is up to date with 'origin/master'.
864
-
865
- nothing to commit, working tree clean
866
- Everything up-to-date
868
+ [master 8a8aab1] VPS: Generated API SDK
869
+ 7 files changed, 388 insertions(+), 6 deletions(-)
870
+ create mode 100644 models/ApiGarudakuContentGet200Response.ts
871
+ create mode 100644 models/ApiGarudakuContentGet200ResponseResponseObject.ts
872
+ create mode 100644 models/ApiYoutubeDrxContentGet200ResponseResponseObjectPinnedContent.ts
873
+ To https://gitlab.com/drx-super/drx-sdk.git
874
+ a648fbe..8a8aab1 master -> master
867
875
  ✅ Changes committed and pushed
868
- v1.1.435
876
+ v1.1.437
869
877
  To https://gitlab.com/drx-super/drx-sdk.git
870
- f6f1a6c..b9a45b2 master -> master
878
+ 8a8aab1..048e946 master -> master
871
879
  ✅ Version bumped
872
880
 
873
- > @drxsuperapp/sdk@1.1.435 prepublishOnly
881
+ > @drxsuperapp/sdk@1.1.437 prepublishOnly
874
882
  > npm run build
875
883
 
876
884
 
877
- > @drxsuperapp/sdk@1.1.435 build
885
+ > @drxsuperapp/sdk@1.1.437 build
878
886
  > tsc
879
887
 
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import * as runtime from '../runtime';
13
- import type { ApiGarudakuGameTopupsGet200Response, ApiGarudakuGameTopupsGetFilterParameter, ApiGarudakuGameTopupsIdDelete200Response, ApiGarudakuGameTopupsIdPutRequest, ApiGarudakuGameTopupsPost200Response, ApiGarudakuGameTopupsPostRequest, ApiGarudakuPrivateStreamPostRequest, ApiGarudakuTournamentsGet200Response, ApiGarudakuTournamentsGetFilterParameter, ApiGarudakuTournamentsIdPutRequest, ApiGarudakuTournamentsPost200Response, ApiGarudakuTournamentsPostRequest, ApiYoutubeDrxContentGet200Response, ApiYoutubePrivateStreamDelete200Response, ApiYoutubePrivateStreamPost200Response } from '../models/index';
13
+ import type { ApiGarudakuContentGet200Response, ApiGarudakuGameTopupsGet200Response, ApiGarudakuGameTopupsGetFilterParameter, ApiGarudakuGameTopupsIdDelete200Response, ApiGarudakuGameTopupsIdPutRequest, ApiGarudakuGameTopupsPost200Response, ApiGarudakuGameTopupsPostRequest, ApiGarudakuPrivateStreamPostRequest, ApiGarudakuTournamentsGet200Response, ApiGarudakuTournamentsGetFilterParameter, ApiGarudakuTournamentsIdPutRequest, ApiGarudakuTournamentsPost200Response, ApiGarudakuTournamentsPostRequest, ApiYoutubePrivateStreamDelete200Response, ApiYoutubePrivateStreamPost200Response } from '../models/index';
14
14
  export interface ApiGarudakuGameTopupsGetRequest {
15
15
  page?: number;
16
16
  pageSize?: number;
@@ -54,12 +54,12 @@ export declare class GarudakuIntegrationApi extends runtime.BaseAPI {
54
54
  * Get current live stream and 3 previous long-form videos from Garudaku YouTube channel
55
55
  * Get Garudaku Content
56
56
  */
57
- apiGarudakuContentGetRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiYoutubeDrxContentGet200Response>>;
57
+ apiGarudakuContentGetRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiGarudakuContentGet200Response>>;
58
58
  /**
59
59
  * Get current live stream and 3 previous long-form videos from Garudaku YouTube channel
60
60
  * Get Garudaku Content
61
61
  */
62
- apiGarudakuContentGet(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiYoutubeDrxContentGet200Response>;
62
+ apiGarudakuContentGet(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiGarudakuContentGet200Response>;
63
63
  /**
64
64
  * Get Game Topups
65
65
  */
@@ -12,7 +12,7 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
  import * as runtime from '../runtime';
15
- import { ApiGarudakuGameTopupsGet200ResponseFromJSON, ApiGarudakuGameTopupsIdDelete200ResponseFromJSON, ApiGarudakuGameTopupsIdPutRequestToJSON, ApiGarudakuGameTopupsPost200ResponseFromJSON, ApiGarudakuGameTopupsPostRequestToJSON, ApiGarudakuPrivateStreamPostRequestToJSON, ApiGarudakuTournamentsGet200ResponseFromJSON, ApiGarudakuTournamentsIdPutRequestToJSON, ApiGarudakuTournamentsPost200ResponseFromJSON, ApiGarudakuTournamentsPostRequestToJSON, ApiYoutubeDrxContentGet200ResponseFromJSON, ApiYoutubePrivateStreamDelete200ResponseFromJSON, ApiYoutubePrivateStreamPost200ResponseFromJSON, } from '../models/index';
15
+ import { ApiGarudakuContentGet200ResponseFromJSON, ApiGarudakuGameTopupsGet200ResponseFromJSON, ApiGarudakuGameTopupsIdDelete200ResponseFromJSON, ApiGarudakuGameTopupsIdPutRequestToJSON, ApiGarudakuGameTopupsPost200ResponseFromJSON, ApiGarudakuGameTopupsPostRequestToJSON, ApiGarudakuPrivateStreamPostRequestToJSON, ApiGarudakuTournamentsGet200ResponseFromJSON, ApiGarudakuTournamentsIdPutRequestToJSON, ApiGarudakuTournamentsPost200ResponseFromJSON, ApiGarudakuTournamentsPostRequestToJSON, ApiYoutubePrivateStreamDelete200ResponseFromJSON, ApiYoutubePrivateStreamPost200ResponseFromJSON, } from '../models/index';
16
16
  /**
17
17
  *
18
18
  */
@@ -40,7 +40,7 @@ export class GarudakuIntegrationApi extends runtime.BaseAPI {
40
40
  headers: headerParameters,
41
41
  query: queryParameters,
42
42
  }, initOverrides);
43
- return new runtime.JSONApiResponse(response, (jsonValue) => ApiYoutubeDrxContentGet200ResponseFromJSON(jsonValue));
43
+ return new runtime.JSONApiResponse(response, (jsonValue) => ApiGarudakuContentGet200ResponseFromJSON(jsonValue));
44
44
  }
45
45
  /**
46
46
  * Get current live stream and 3 previous long-form videos from Garudaku YouTube channel
@@ -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 { ApiGarudakuContentGet200ResponseResponseObject } from './ApiGarudakuContentGet200ResponseResponseObject';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ApiGarudakuContentGet200Response
17
+ */
18
+ export interface ApiGarudakuContentGet200Response {
19
+ /**
20
+ *
21
+ * @type {boolean}
22
+ * @memberof ApiGarudakuContentGet200Response
23
+ */
24
+ success: boolean;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof ApiGarudakuContentGet200Response
29
+ */
30
+ message: string;
31
+ /**
32
+ *
33
+ * @type {ApiGarudakuContentGet200ResponseResponseObject}
34
+ * @memberof ApiGarudakuContentGet200Response
35
+ */
36
+ responseObject?: ApiGarudakuContentGet200ResponseResponseObject;
37
+ /**
38
+ *
39
+ * @type {number}
40
+ * @memberof ApiGarudakuContentGet200Response
41
+ */
42
+ statusCode: number;
43
+ }
44
+ /**
45
+ * Check if a given object implements the ApiGarudakuContentGet200Response interface.
46
+ */
47
+ export declare function instanceOfApiGarudakuContentGet200Response(value: object): value is ApiGarudakuContentGet200Response;
48
+ export declare function ApiGarudakuContentGet200ResponseFromJSON(json: any): ApiGarudakuContentGet200Response;
49
+ export declare function ApiGarudakuContentGet200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiGarudakuContentGet200Response;
50
+ export declare function ApiGarudakuContentGet200ResponseToJSON(json: any): ApiGarudakuContentGet200Response;
51
+ export declare function ApiGarudakuContentGet200ResponseToJSONTyped(value?: ApiGarudakuContentGet200Response | 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 { ApiGarudakuContentGet200ResponseResponseObjectFromJSON, ApiGarudakuContentGet200ResponseResponseObjectToJSON, } from './ApiGarudakuContentGet200ResponseResponseObject';
15
+ /**
16
+ * Check if a given object implements the ApiGarudakuContentGet200Response interface.
17
+ */
18
+ export function instanceOfApiGarudakuContentGet200Response(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 ApiGarudakuContentGet200ResponseFromJSON(json) {
28
+ return ApiGarudakuContentGet200ResponseFromJSONTyped(json, false);
29
+ }
30
+ export function ApiGarudakuContentGet200ResponseFromJSONTyped(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 : ApiGarudakuContentGet200ResponseResponseObjectFromJSON(json['responseObject']),
38
+ 'statusCode': json['statusCode'],
39
+ };
40
+ }
41
+ export function ApiGarudakuContentGet200ResponseToJSON(json) {
42
+ return ApiGarudakuContentGet200ResponseToJSONTyped(json, false);
43
+ }
44
+ export function ApiGarudakuContentGet200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
45
+ if (value == null) {
46
+ return value;
47
+ }
48
+ return {
49
+ 'success': value['success'],
50
+ 'message': value['message'],
51
+ 'responseObject': ApiGarudakuContentGet200ResponseResponseObjectToJSON(value['responseObject']),
52
+ 'statusCode': value['statusCode'],
53
+ };
54
+ }
@@ -0,0 +1,40 @@
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 { ApiYoutubeDrxContentGet200ResponseResponseObjectCurrentLive } from './ApiYoutubeDrxContentGet200ResponseResponseObjectCurrentLive';
13
+ import type { ApiYoutubeDrxContentGet200ResponseResponseObjectPreviousContentInner } from './ApiYoutubeDrxContentGet200ResponseResponseObjectPreviousContentInner';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface ApiGarudakuContentGet200ResponseResponseObject
18
+ */
19
+ export interface ApiGarudakuContentGet200ResponseResponseObject {
20
+ /**
21
+ *
22
+ * @type {ApiYoutubeDrxContentGet200ResponseResponseObjectCurrentLive}
23
+ * @memberof ApiGarudakuContentGet200ResponseResponseObject
24
+ */
25
+ currentLive: ApiYoutubeDrxContentGet200ResponseResponseObjectCurrentLive | null;
26
+ /**
27
+ *
28
+ * @type {Array<ApiYoutubeDrxContentGet200ResponseResponseObjectPreviousContentInner>}
29
+ * @memberof ApiGarudakuContentGet200ResponseResponseObject
30
+ */
31
+ previousContent: Array<ApiYoutubeDrxContentGet200ResponseResponseObjectPreviousContentInner>;
32
+ }
33
+ /**
34
+ * Check if a given object implements the ApiGarudakuContentGet200ResponseResponseObject interface.
35
+ */
36
+ export declare function instanceOfApiGarudakuContentGet200ResponseResponseObject(value: object): value is ApiGarudakuContentGet200ResponseResponseObject;
37
+ export declare function ApiGarudakuContentGet200ResponseResponseObjectFromJSON(json: any): ApiGarudakuContentGet200ResponseResponseObject;
38
+ export declare function ApiGarudakuContentGet200ResponseResponseObjectFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiGarudakuContentGet200ResponseResponseObject;
39
+ export declare function ApiGarudakuContentGet200ResponseResponseObjectToJSON(json: any): ApiGarudakuContentGet200ResponseResponseObject;
40
+ export declare function ApiGarudakuContentGet200ResponseResponseObjectToJSONTyped(value?: ApiGarudakuContentGet200ResponseResponseObject | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,49 @@
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 { ApiYoutubeDrxContentGet200ResponseResponseObjectCurrentLiveFromJSON, ApiYoutubeDrxContentGet200ResponseResponseObjectCurrentLiveToJSON, } from './ApiYoutubeDrxContentGet200ResponseResponseObjectCurrentLive';
15
+ import { ApiYoutubeDrxContentGet200ResponseResponseObjectPreviousContentInnerFromJSON, ApiYoutubeDrxContentGet200ResponseResponseObjectPreviousContentInnerToJSON, } from './ApiYoutubeDrxContentGet200ResponseResponseObjectPreviousContentInner';
16
+ /**
17
+ * Check if a given object implements the ApiGarudakuContentGet200ResponseResponseObject interface.
18
+ */
19
+ export function instanceOfApiGarudakuContentGet200ResponseResponseObject(value) {
20
+ if (!('currentLive' in value) || value['currentLive'] === undefined)
21
+ return false;
22
+ if (!('previousContent' in value) || value['previousContent'] === undefined)
23
+ return false;
24
+ return true;
25
+ }
26
+ export function ApiGarudakuContentGet200ResponseResponseObjectFromJSON(json) {
27
+ return ApiGarudakuContentGet200ResponseResponseObjectFromJSONTyped(json, false);
28
+ }
29
+ export function ApiGarudakuContentGet200ResponseResponseObjectFromJSONTyped(json, ignoreDiscriminator) {
30
+ if (json == null) {
31
+ return json;
32
+ }
33
+ return {
34
+ 'currentLive': ApiYoutubeDrxContentGet200ResponseResponseObjectCurrentLiveFromJSON(json['currentLive']),
35
+ 'previousContent': (json['previousContent'].map(ApiYoutubeDrxContentGet200ResponseResponseObjectPreviousContentInnerFromJSON)),
36
+ };
37
+ }
38
+ export function ApiGarudakuContentGet200ResponseResponseObjectToJSON(json) {
39
+ return ApiGarudakuContentGet200ResponseResponseObjectToJSONTyped(json, false);
40
+ }
41
+ export function ApiGarudakuContentGet200ResponseResponseObjectToJSONTyped(value, ignoreDiscriminator = false) {
42
+ if (value == null) {
43
+ return value;
44
+ }
45
+ return {
46
+ 'currentLive': ApiYoutubeDrxContentGet200ResponseResponseObjectCurrentLiveToJSON(value['currentLive']),
47
+ 'previousContent': (value['previousContent'].map(ApiYoutubeDrxContentGet200ResponseResponseObjectPreviousContentInnerToJSON)),
48
+ };
49
+ }
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import type { ApiYoutubeDrxContentGet200ResponseResponseObjectPinnedContent } from './ApiYoutubeDrxContentGet200ResponseResponseObjectPinnedContent';
12
13
  import type { ApiYoutubeDrxContentGet200ResponseResponseObjectCurrentLive } from './ApiYoutubeDrxContentGet200ResponseResponseObjectCurrentLive';
13
14
  import type { ApiYoutubeDrxContentGet200ResponseResponseObjectPreviousContentInner } from './ApiYoutubeDrxContentGet200ResponseResponseObjectPreviousContentInner';
14
15
  /**
@@ -29,6 +30,12 @@ export interface ApiYoutubeDrxContentGet200ResponseResponseObject {
29
30
  * @memberof ApiYoutubeDrxContentGet200ResponseResponseObject
30
31
  */
31
32
  previousContent: Array<ApiYoutubeDrxContentGet200ResponseResponseObjectPreviousContentInner>;
33
+ /**
34
+ *
35
+ * @type {ApiYoutubeDrxContentGet200ResponseResponseObjectPinnedContent}
36
+ * @memberof ApiYoutubeDrxContentGet200ResponseResponseObject
37
+ */
38
+ pinnedContent: ApiYoutubeDrxContentGet200ResponseResponseObjectPinnedContent | null;
32
39
  }
33
40
  /**
34
41
  * Check if a given object implements the ApiYoutubeDrxContentGet200ResponseResponseObject interface.
@@ -11,6 +11,7 @@
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
+ import { ApiYoutubeDrxContentGet200ResponseResponseObjectPinnedContentFromJSON, ApiYoutubeDrxContentGet200ResponseResponseObjectPinnedContentToJSON, } from './ApiYoutubeDrxContentGet200ResponseResponseObjectPinnedContent';
14
15
  import { ApiYoutubeDrxContentGet200ResponseResponseObjectCurrentLiveFromJSON, ApiYoutubeDrxContentGet200ResponseResponseObjectCurrentLiveToJSON, } from './ApiYoutubeDrxContentGet200ResponseResponseObjectCurrentLive';
15
16
  import { ApiYoutubeDrxContentGet200ResponseResponseObjectPreviousContentInnerFromJSON, ApiYoutubeDrxContentGet200ResponseResponseObjectPreviousContentInnerToJSON, } from './ApiYoutubeDrxContentGet200ResponseResponseObjectPreviousContentInner';
16
17
  /**
@@ -21,6 +22,8 @@ export function instanceOfApiYoutubeDrxContentGet200ResponseResponseObject(value
21
22
  return false;
22
23
  if (!('previousContent' in value) || value['previousContent'] === undefined)
23
24
  return false;
25
+ if (!('pinnedContent' in value) || value['pinnedContent'] === undefined)
26
+ return false;
24
27
  return true;
25
28
  }
26
29
  export function ApiYoutubeDrxContentGet200ResponseResponseObjectFromJSON(json) {
@@ -33,6 +36,7 @@ export function ApiYoutubeDrxContentGet200ResponseResponseObjectFromJSONTyped(js
33
36
  return {
34
37
  'currentLive': ApiYoutubeDrxContentGet200ResponseResponseObjectCurrentLiveFromJSON(json['currentLive']),
35
38
  'previousContent': (json['previousContent'].map(ApiYoutubeDrxContentGet200ResponseResponseObjectPreviousContentInnerFromJSON)),
39
+ 'pinnedContent': ApiYoutubeDrxContentGet200ResponseResponseObjectPinnedContentFromJSON(json['pinnedContent']),
36
40
  };
37
41
  }
38
42
  export function ApiYoutubeDrxContentGet200ResponseResponseObjectToJSON(json) {
@@ -45,5 +49,6 @@ export function ApiYoutubeDrxContentGet200ResponseResponseObjectToJSONTyped(valu
45
49
  return {
46
50
  'currentLive': ApiYoutubeDrxContentGet200ResponseResponseObjectCurrentLiveToJSON(value['currentLive']),
47
51
  'previousContent': (value['previousContent'].map(ApiYoutubeDrxContentGet200ResponseResponseObjectPreviousContentInnerToJSON)),
52
+ 'pinnedContent': ApiYoutubeDrxContentGet200ResponseResponseObjectPinnedContentToJSON(value['pinnedContent']),
48
53
  };
49
54
  }
@@ -0,0 +1,104 @@
1
+ /**
2
+ * DRX API
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface ApiYoutubeDrxContentGet200ResponseResponseObjectPinnedContent
16
+ */
17
+ export interface ApiYoutubeDrxContentGet200ResponseResponseObjectPinnedContent {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof ApiYoutubeDrxContentGet200ResponseResponseObjectPinnedContent
22
+ */
23
+ id: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof ApiYoutubeDrxContentGet200ResponseResponseObjectPinnedContent
28
+ */
29
+ channelId: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof ApiYoutubeDrxContentGet200ResponseResponseObjectPinnedContent
34
+ */
35
+ channelTitle: string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof ApiYoutubeDrxContentGet200ResponseResponseObjectPinnedContent
40
+ */
41
+ videoId: string;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof ApiYoutubeDrxContentGet200ResponseResponseObjectPinnedContent
46
+ */
47
+ title: string;
48
+ /**
49
+ *
50
+ * @type {string}
51
+ * @memberof ApiYoutubeDrxContentGet200ResponseResponseObjectPinnedContent
52
+ */
53
+ description?: string;
54
+ /**
55
+ *
56
+ * @type {string}
57
+ * @memberof ApiYoutubeDrxContentGet200ResponseResponseObjectPinnedContent
58
+ */
59
+ thumbnailUrl?: string;
60
+ /**
61
+ *
62
+ * @type {Date}
63
+ * @memberof ApiYoutubeDrxContentGet200ResponseResponseObjectPinnedContent
64
+ */
65
+ publishedAt: Date;
66
+ /**
67
+ *
68
+ * @type {string}
69
+ * @memberof ApiYoutubeDrxContentGet200ResponseResponseObjectPinnedContent
70
+ */
71
+ duration: string;
72
+ /**
73
+ *
74
+ * @type {number}
75
+ * @memberof ApiYoutubeDrxContentGet200ResponseResponseObjectPinnedContent
76
+ */
77
+ viewCount?: number;
78
+ /**
79
+ *
80
+ * @type {number}
81
+ * @memberof ApiYoutubeDrxContentGet200ResponseResponseObjectPinnedContent
82
+ */
83
+ likeCount?: number;
84
+ /**
85
+ *
86
+ * @type {string}
87
+ * @memberof ApiYoutubeDrxContentGet200ResponseResponseObjectPinnedContent
88
+ */
89
+ embedUrl: string;
90
+ /**
91
+ *
92
+ * @type {Date}
93
+ * @memberof ApiYoutubeDrxContentGet200ResponseResponseObjectPinnedContent
94
+ */
95
+ createdAt: Date;
96
+ }
97
+ /**
98
+ * Check if a given object implements the ApiYoutubeDrxContentGet200ResponseResponseObjectPinnedContent interface.
99
+ */
100
+ export declare function instanceOfApiYoutubeDrxContentGet200ResponseResponseObjectPinnedContent(value: object): value is ApiYoutubeDrxContentGet200ResponseResponseObjectPinnedContent;
101
+ export declare function ApiYoutubeDrxContentGet200ResponseResponseObjectPinnedContentFromJSON(json: any): ApiYoutubeDrxContentGet200ResponseResponseObjectPinnedContent;
102
+ export declare function ApiYoutubeDrxContentGet200ResponseResponseObjectPinnedContentFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiYoutubeDrxContentGet200ResponseResponseObjectPinnedContent;
103
+ export declare function ApiYoutubeDrxContentGet200ResponseResponseObjectPinnedContentToJSON(json: any): ApiYoutubeDrxContentGet200ResponseResponseObjectPinnedContent;
104
+ export declare function ApiYoutubeDrxContentGet200ResponseResponseObjectPinnedContentToJSONTyped(value?: ApiYoutubeDrxContentGet200ResponseResponseObjectPinnedContent | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,83 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * DRX API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ * Check if a given object implements the ApiYoutubeDrxContentGet200ResponseResponseObjectPinnedContent interface.
16
+ */
17
+ export function instanceOfApiYoutubeDrxContentGet200ResponseResponseObjectPinnedContent(value) {
18
+ if (!('id' in value) || value['id'] === undefined)
19
+ return false;
20
+ if (!('channelId' in value) || value['channelId'] === undefined)
21
+ return false;
22
+ if (!('channelTitle' in value) || value['channelTitle'] === undefined)
23
+ return false;
24
+ if (!('videoId' in value) || value['videoId'] === undefined)
25
+ return false;
26
+ if (!('title' in value) || value['title'] === undefined)
27
+ return false;
28
+ if (!('publishedAt' in value) || value['publishedAt'] === undefined)
29
+ return false;
30
+ if (!('duration' in value) || value['duration'] === undefined)
31
+ return false;
32
+ if (!('embedUrl' in value) || value['embedUrl'] === undefined)
33
+ return false;
34
+ if (!('createdAt' in value) || value['createdAt'] === undefined)
35
+ return false;
36
+ return true;
37
+ }
38
+ export function ApiYoutubeDrxContentGet200ResponseResponseObjectPinnedContentFromJSON(json) {
39
+ return ApiYoutubeDrxContentGet200ResponseResponseObjectPinnedContentFromJSONTyped(json, false);
40
+ }
41
+ export function ApiYoutubeDrxContentGet200ResponseResponseObjectPinnedContentFromJSONTyped(json, ignoreDiscriminator) {
42
+ if (json == null) {
43
+ return json;
44
+ }
45
+ return {
46
+ 'id': json['id'],
47
+ 'channelId': json['channelId'],
48
+ 'channelTitle': json['channelTitle'],
49
+ 'videoId': json['videoId'],
50
+ 'title': json['title'],
51
+ 'description': json['description'] == null ? undefined : json['description'],
52
+ 'thumbnailUrl': json['thumbnailUrl'] == null ? undefined : json['thumbnailUrl'],
53
+ 'publishedAt': (new Date(json['publishedAt'])),
54
+ 'duration': json['duration'],
55
+ 'viewCount': json['viewCount'] == null ? undefined : json['viewCount'],
56
+ 'likeCount': json['likeCount'] == null ? undefined : json['likeCount'],
57
+ 'embedUrl': json['embedUrl'],
58
+ 'createdAt': (new Date(json['createdAt'])),
59
+ };
60
+ }
61
+ export function ApiYoutubeDrxContentGet200ResponseResponseObjectPinnedContentToJSON(json) {
62
+ return ApiYoutubeDrxContentGet200ResponseResponseObjectPinnedContentToJSONTyped(json, false);
63
+ }
64
+ export function ApiYoutubeDrxContentGet200ResponseResponseObjectPinnedContentToJSONTyped(value, ignoreDiscriminator = false) {
65
+ if (value == null) {
66
+ return value;
67
+ }
68
+ return {
69
+ 'id': value['id'],
70
+ 'channelId': value['channelId'],
71
+ 'channelTitle': value['channelTitle'],
72
+ 'videoId': value['videoId'],
73
+ 'title': value['title'],
74
+ 'description': value['description'],
75
+ 'thumbnailUrl': value['thumbnailUrl'],
76
+ 'publishedAt': ((value['publishedAt']).toISOString()),
77
+ 'duration': value['duration'],
78
+ 'viewCount': value['viewCount'],
79
+ 'likeCount': value['likeCount'],
80
+ 'embedUrl': value['embedUrl'],
81
+ 'createdAt': ((value['createdAt']).toISOString()),
82
+ };
83
+ }
@@ -89,6 +89,8 @@ export * from './ApiFileUploadFilenameDelete200Response';
89
89
  export * from './ApiFileUploadFilenameDelete200ResponseResponseObject';
90
90
  export * from './ApiFileUploadPost200Response';
91
91
  export * from './ApiFileUploadPost200ResponseResponseObject';
92
+ export * from './ApiGarudakuContentGet200Response';
93
+ export * from './ApiGarudakuContentGet200ResponseResponseObject';
92
94
  export * from './ApiGarudakuGameTopupsGet200Response';
93
95
  export * from './ApiGarudakuGameTopupsGet200ResponseResponseObject';
94
96
  export * from './ApiGarudakuGameTopupsGet200ResponseResponseObjectItemsInner';
@@ -315,6 +317,7 @@ export * from './ApiWeb3SwapPostRequest';
315
317
  export * from './ApiYoutubeDrxContentGet200Response';
316
318
  export * from './ApiYoutubeDrxContentGet200ResponseResponseObject';
317
319
  export * from './ApiYoutubeDrxContentGet200ResponseResponseObjectCurrentLive';
320
+ export * from './ApiYoutubeDrxContentGet200ResponseResponseObjectPinnedContent';
318
321
  export * from './ApiYoutubeDrxContentGet200ResponseResponseObjectPreviousContentInner';
319
322
  export * from './ApiYoutubePrivateStreamDelete200Response';
320
323
  export * from './ApiYoutubePrivateStreamPost200Response';
@@ -91,6 +91,8 @@ export * from './ApiFileUploadFilenameDelete200Response';
91
91
  export * from './ApiFileUploadFilenameDelete200ResponseResponseObject';
92
92
  export * from './ApiFileUploadPost200Response';
93
93
  export * from './ApiFileUploadPost200ResponseResponseObject';
94
+ export * from './ApiGarudakuContentGet200Response';
95
+ export * from './ApiGarudakuContentGet200ResponseResponseObject';
94
96
  export * from './ApiGarudakuGameTopupsGet200Response';
95
97
  export * from './ApiGarudakuGameTopupsGet200ResponseResponseObject';
96
98
  export * from './ApiGarudakuGameTopupsGet200ResponseResponseObjectItemsInner';
@@ -317,6 +319,7 @@ export * from './ApiWeb3SwapPostRequest';
317
319
  export * from './ApiYoutubeDrxContentGet200Response';
318
320
  export * from './ApiYoutubeDrxContentGet200ResponseResponseObject';
319
321
  export * from './ApiYoutubeDrxContentGet200ResponseResponseObjectCurrentLive';
322
+ export * from './ApiYoutubeDrxContentGet200ResponseResponseObjectPinnedContent';
320
323
  export * from './ApiYoutubeDrxContentGet200ResponseResponseObjectPreviousContentInner';
321
324
  export * from './ApiYoutubePrivateStreamDelete200Response';
322
325
  export * from './ApiYoutubePrivateStreamPost200Response';
@@ -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 { ApiGarudakuContentGet200ResponseResponseObject } from './ApiGarudakuContentGet200ResponseResponseObject';
17
+ import {
18
+ ApiGarudakuContentGet200ResponseResponseObjectFromJSON,
19
+ ApiGarudakuContentGet200ResponseResponseObjectFromJSONTyped,
20
+ ApiGarudakuContentGet200ResponseResponseObjectToJSON,
21
+ ApiGarudakuContentGet200ResponseResponseObjectToJSONTyped,
22
+ } from './ApiGarudakuContentGet200ResponseResponseObject';
23
+
24
+ /**
25
+ *
26
+ * @export
27
+ * @interface ApiGarudakuContentGet200Response
28
+ */
29
+ export interface ApiGarudakuContentGet200Response {
30
+ /**
31
+ *
32
+ * @type {boolean}
33
+ * @memberof ApiGarudakuContentGet200Response
34
+ */
35
+ success: boolean;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof ApiGarudakuContentGet200Response
40
+ */
41
+ message: string;
42
+ /**
43
+ *
44
+ * @type {ApiGarudakuContentGet200ResponseResponseObject}
45
+ * @memberof ApiGarudakuContentGet200Response
46
+ */
47
+ responseObject?: ApiGarudakuContentGet200ResponseResponseObject;
48
+ /**
49
+ *
50
+ * @type {number}
51
+ * @memberof ApiGarudakuContentGet200Response
52
+ */
53
+ statusCode: number;
54
+ }
55
+
56
+ /**
57
+ * Check if a given object implements the ApiGarudakuContentGet200Response interface.
58
+ */
59
+ export function instanceOfApiGarudakuContentGet200Response(value: object): value is ApiGarudakuContentGet200Response {
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 ApiGarudakuContentGet200ResponseFromJSON(json: any): ApiGarudakuContentGet200Response {
67
+ return ApiGarudakuContentGet200ResponseFromJSONTyped(json, false);
68
+ }
69
+
70
+ export function ApiGarudakuContentGet200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiGarudakuContentGet200Response {
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 : ApiGarudakuContentGet200ResponseResponseObjectFromJSON(json['responseObject']),
79
+ 'statusCode': json['statusCode'],
80
+ };
81
+ }
82
+
83
+ export function ApiGarudakuContentGet200ResponseToJSON(json: any): ApiGarudakuContentGet200Response {
84
+ return ApiGarudakuContentGet200ResponseToJSONTyped(json, false);
85
+ }
86
+
87
+ export function ApiGarudakuContentGet200ResponseToJSONTyped(value?: ApiGarudakuContentGet200Response | 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': ApiGarudakuContentGet200ResponseResponseObjectToJSON(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 ApiGarudakuContentGet200ResponseResponseObject
35
+ */
36
+ export interface ApiGarudakuContentGet200ResponseResponseObject {
37
+ /**
38
+ *
39
+ * @type {ApiYoutubeDrxContentGet200ResponseResponseObjectCurrentLive}
40
+ * @memberof ApiGarudakuContentGet200ResponseResponseObject
41
+ */
42
+ currentLive: ApiYoutubeDrxContentGet200ResponseResponseObjectCurrentLive | null;
43
+ /**
44
+ *
45
+ * @type {Array<ApiYoutubeDrxContentGet200ResponseResponseObjectPreviousContentInner>}
46
+ * @memberof ApiGarudakuContentGet200ResponseResponseObject
47
+ */
48
+ previousContent: Array<ApiYoutubeDrxContentGet200ResponseResponseObjectPreviousContentInner>;
49
+ }
50
+
51
+ /**
52
+ * Check if a given object implements the ApiGarudakuContentGet200ResponseResponseObject interface.
53
+ */
54
+ export function instanceOfApiGarudakuContentGet200ResponseResponseObject(value: object): value is ApiGarudakuContentGet200ResponseResponseObject {
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 ApiGarudakuContentGet200ResponseResponseObjectFromJSON(json: any): ApiGarudakuContentGet200ResponseResponseObject {
61
+ return ApiGarudakuContentGet200ResponseResponseObjectFromJSONTyped(json, false);
62
+ }
63
+
64
+ export function ApiGarudakuContentGet200ResponseResponseObjectFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiGarudakuContentGet200ResponseResponseObject {
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 ApiGarudakuContentGet200ResponseResponseObjectToJSON(json: any): ApiGarudakuContentGet200ResponseResponseObject {
76
+ return ApiGarudakuContentGet200ResponseResponseObjectToJSONTyped(json, false);
77
+ }
78
+
79
+ export function ApiGarudakuContentGet200ResponseResponseObjectToJSONTyped(value?: ApiGarudakuContentGet200ResponseResponseObject | 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
+
@@ -13,6 +13,13 @@
13
13
  */
14
14
 
15
15
  import { mapValues } from '../runtime';
16
+ import type { ApiYoutubeDrxContentGet200ResponseResponseObjectPinnedContent } from './ApiYoutubeDrxContentGet200ResponseResponseObjectPinnedContent';
17
+ import {
18
+ ApiYoutubeDrxContentGet200ResponseResponseObjectPinnedContentFromJSON,
19
+ ApiYoutubeDrxContentGet200ResponseResponseObjectPinnedContentFromJSONTyped,
20
+ ApiYoutubeDrxContentGet200ResponseResponseObjectPinnedContentToJSON,
21
+ ApiYoutubeDrxContentGet200ResponseResponseObjectPinnedContentToJSONTyped,
22
+ } from './ApiYoutubeDrxContentGet200ResponseResponseObjectPinnedContent';
16
23
  import type { ApiYoutubeDrxContentGet200ResponseResponseObjectCurrentLive } from './ApiYoutubeDrxContentGet200ResponseResponseObjectCurrentLive';
17
24
  import {
18
25
  ApiYoutubeDrxContentGet200ResponseResponseObjectCurrentLiveFromJSON,
@@ -46,6 +53,12 @@ export interface ApiYoutubeDrxContentGet200ResponseResponseObject {
46
53
  * @memberof ApiYoutubeDrxContentGet200ResponseResponseObject
47
54
  */
48
55
  previousContent: Array<ApiYoutubeDrxContentGet200ResponseResponseObjectPreviousContentInner>;
56
+ /**
57
+ *
58
+ * @type {ApiYoutubeDrxContentGet200ResponseResponseObjectPinnedContent}
59
+ * @memberof ApiYoutubeDrxContentGet200ResponseResponseObject
60
+ */
61
+ pinnedContent: ApiYoutubeDrxContentGet200ResponseResponseObjectPinnedContent | null;
49
62
  }
50
63
 
51
64
  /**
@@ -54,6 +67,7 @@ export interface ApiYoutubeDrxContentGet200ResponseResponseObject {
54
67
  export function instanceOfApiYoutubeDrxContentGet200ResponseResponseObject(value: object): value is ApiYoutubeDrxContentGet200ResponseResponseObject {
55
68
  if (!('currentLive' in value) || value['currentLive'] === undefined) return false;
56
69
  if (!('previousContent' in value) || value['previousContent'] === undefined) return false;
70
+ if (!('pinnedContent' in value) || value['pinnedContent'] === undefined) return false;
57
71
  return true;
58
72
  }
59
73
 
@@ -69,6 +83,7 @@ export function ApiYoutubeDrxContentGet200ResponseResponseObjectFromJSONTyped(js
69
83
 
70
84
  'currentLive': ApiYoutubeDrxContentGet200ResponseResponseObjectCurrentLiveFromJSON(json['currentLive']),
71
85
  'previousContent': ((json['previousContent'] as Array<any>).map(ApiYoutubeDrxContentGet200ResponseResponseObjectPreviousContentInnerFromJSON)),
86
+ 'pinnedContent': ApiYoutubeDrxContentGet200ResponseResponseObjectPinnedContentFromJSON(json['pinnedContent']),
72
87
  };
73
88
  }
74
89
 
@@ -85,6 +100,7 @@ export function ApiYoutubeDrxContentGet200ResponseResponseObjectToJSONTyped(valu
85
100
 
86
101
  'currentLive': ApiYoutubeDrxContentGet200ResponseResponseObjectCurrentLiveToJSON(value['currentLive']),
87
102
  'previousContent': ((value['previousContent'] as Array<any>).map(ApiYoutubeDrxContentGet200ResponseResponseObjectPreviousContentInnerToJSON)),
103
+ 'pinnedContent': ApiYoutubeDrxContentGet200ResponseResponseObjectPinnedContentToJSON(value['pinnedContent']),
88
104
  };
89
105
  }
90
106
 
@@ -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 ApiYoutubeDrxContentGet200ResponseResponseObjectPinnedContent
20
+ */
21
+ export interface ApiYoutubeDrxContentGet200ResponseResponseObjectPinnedContent {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof ApiYoutubeDrxContentGet200ResponseResponseObjectPinnedContent
26
+ */
27
+ id: string;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof ApiYoutubeDrxContentGet200ResponseResponseObjectPinnedContent
32
+ */
33
+ channelId: string;
34
+ /**
35
+ *
36
+ * @type {string}
37
+ * @memberof ApiYoutubeDrxContentGet200ResponseResponseObjectPinnedContent
38
+ */
39
+ channelTitle: string;
40
+ /**
41
+ *
42
+ * @type {string}
43
+ * @memberof ApiYoutubeDrxContentGet200ResponseResponseObjectPinnedContent
44
+ */
45
+ videoId: string;
46
+ /**
47
+ *
48
+ * @type {string}
49
+ * @memberof ApiYoutubeDrxContentGet200ResponseResponseObjectPinnedContent
50
+ */
51
+ title: string;
52
+ /**
53
+ *
54
+ * @type {string}
55
+ * @memberof ApiYoutubeDrxContentGet200ResponseResponseObjectPinnedContent
56
+ */
57
+ description?: string;
58
+ /**
59
+ *
60
+ * @type {string}
61
+ * @memberof ApiYoutubeDrxContentGet200ResponseResponseObjectPinnedContent
62
+ */
63
+ thumbnailUrl?: string;
64
+ /**
65
+ *
66
+ * @type {Date}
67
+ * @memberof ApiYoutubeDrxContentGet200ResponseResponseObjectPinnedContent
68
+ */
69
+ publishedAt: Date;
70
+ /**
71
+ *
72
+ * @type {string}
73
+ * @memberof ApiYoutubeDrxContentGet200ResponseResponseObjectPinnedContent
74
+ */
75
+ duration: string;
76
+ /**
77
+ *
78
+ * @type {number}
79
+ * @memberof ApiYoutubeDrxContentGet200ResponseResponseObjectPinnedContent
80
+ */
81
+ viewCount?: number;
82
+ /**
83
+ *
84
+ * @type {number}
85
+ * @memberof ApiYoutubeDrxContentGet200ResponseResponseObjectPinnedContent
86
+ */
87
+ likeCount?: number;
88
+ /**
89
+ *
90
+ * @type {string}
91
+ * @memberof ApiYoutubeDrxContentGet200ResponseResponseObjectPinnedContent
92
+ */
93
+ embedUrl: string;
94
+ /**
95
+ *
96
+ * @type {Date}
97
+ * @memberof ApiYoutubeDrxContentGet200ResponseResponseObjectPinnedContent
98
+ */
99
+ createdAt: Date;
100
+ }
101
+
102
+ /**
103
+ * Check if a given object implements the ApiYoutubeDrxContentGet200ResponseResponseObjectPinnedContent interface.
104
+ */
105
+ export function instanceOfApiYoutubeDrxContentGet200ResponseResponseObjectPinnedContent(value: object): value is ApiYoutubeDrxContentGet200ResponseResponseObjectPinnedContent {
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 ApiYoutubeDrxContentGet200ResponseResponseObjectPinnedContentFromJSON(json: any): ApiYoutubeDrxContentGet200ResponseResponseObjectPinnedContent {
119
+ return ApiYoutubeDrxContentGet200ResponseResponseObjectPinnedContentFromJSONTyped(json, false);
120
+ }
121
+
122
+ export function ApiYoutubeDrxContentGet200ResponseResponseObjectPinnedContentFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiYoutubeDrxContentGet200ResponseResponseObjectPinnedContent {
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 ApiYoutubeDrxContentGet200ResponseResponseObjectPinnedContentToJSON(json: any): ApiYoutubeDrxContentGet200ResponseResponseObjectPinnedContent {
145
+ return ApiYoutubeDrxContentGet200ResponseResponseObjectPinnedContentToJSONTyped(json, false);
146
+ }
147
+
148
+ export function ApiYoutubeDrxContentGet200ResponseResponseObjectPinnedContentToJSONTyped(value?: ApiYoutubeDrxContentGet200ResponseResponseObjectPinnedContent | 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
+
package/models/index.ts CHANGED
@@ -91,6 +91,8 @@ export * from './ApiFileUploadFilenameDelete200Response';
91
91
  export * from './ApiFileUploadFilenameDelete200ResponseResponseObject';
92
92
  export * from './ApiFileUploadPost200Response';
93
93
  export * from './ApiFileUploadPost200ResponseResponseObject';
94
+ export * from './ApiGarudakuContentGet200Response';
95
+ export * from './ApiGarudakuContentGet200ResponseResponseObject';
94
96
  export * from './ApiGarudakuGameTopupsGet200Response';
95
97
  export * from './ApiGarudakuGameTopupsGet200ResponseResponseObject';
96
98
  export * from './ApiGarudakuGameTopupsGet200ResponseResponseObjectItemsInner';
@@ -317,6 +319,7 @@ export * from './ApiWeb3SwapPostRequest';
317
319
  export * from './ApiYoutubeDrxContentGet200Response';
318
320
  export * from './ApiYoutubeDrxContentGet200ResponseResponseObject';
319
321
  export * from './ApiYoutubeDrxContentGet200ResponseResponseObjectCurrentLive';
322
+ export * from './ApiYoutubeDrxContentGet200ResponseResponseObjectPinnedContent';
320
323
  export * from './ApiYoutubeDrxContentGet200ResponseResponseObjectPreviousContentInner';
321
324
  export * from './ApiYoutubePrivateStreamDelete200Response';
322
325
  export * from './ApiYoutubePrivateStreamPost200Response';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@drxsuperapp/sdk",
3
- "version": "1.1.435",
3
+ "version": "1.1.437",
4
4
  "main": "index.ts",
5
5
  "types": "index.ts",
6
6
  "scripts": {