@drxsuperapp/sdk 1.1.231 → 1.1.232
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.
- package/.openapi-generator/FILES +6 -1
- package/apis/YoutubeApi.ts +106 -6
- package/deploy.log +26 -9
- package/dist/apis/YoutubeApi.d.ts +26 -3
- package/dist/apis/YoutubeApi.js +73 -2
- package/dist/models/ApiYoutubePrivateStreamDelete200Response.d.ts +38 -0
- package/dist/models/{ApiYoutubeRefreshPost200Response.js → ApiYoutubePrivateStreamDelete200Response.js} +8 -8
- package/dist/models/ApiYoutubePrivateStreamPost200Response.d.ts +51 -0
- package/dist/models/ApiYoutubePrivateStreamPost200Response.js +54 -0
- package/dist/models/ApiYoutubePrivateStreamPost200ResponseResponseObject.d.ts +45 -0
- package/dist/models/ApiYoutubePrivateStreamPost200ResponseResponseObject.js +50 -0
- package/dist/models/ApiYoutubePrivateStreamPost200ResponseResponseObjectPrivateStream.d.ts +110 -0
- package/dist/models/ApiYoutubePrivateStreamPost200ResponseResponseObjectPrivateStream.js +85 -0
- package/dist/models/PrivateStreamRequest.d.ts +50 -0
- package/dist/models/PrivateStreamRequest.js +51 -0
- package/dist/models/PrivateStreamResponse.d.ts +45 -0
- package/dist/models/PrivateStreamResponse.js +50 -0
- package/dist/models/index.d.ts +6 -1
- package/dist/models/index.js +6 -1
- package/models/ApiYoutubePrivateStreamDelete200Response.ts +73 -0
- package/models/ApiYoutubePrivateStreamPost200Response.ts +100 -0
- package/models/ApiYoutubePrivateStreamPost200ResponseResponseObject.ts +91 -0
- package/models/ApiYoutubePrivateStreamPost200ResponseResponseObjectPrivateStream.ts +178 -0
- package/models/PrivateStreamRequest.ts +91 -0
- package/models/PrivateStreamResponse.ts +91 -0
- package/models/index.ts +6 -1
- package/package.json +1 -1
- package/dist/models/ApiYoutubeRefreshPost200Response.d.ts +0 -38
- package/models/ApiYoutubeRefreshPost200Response.ts +0 -73
package/.openapi-generator/FILES
CHANGED
|
@@ -200,6 +200,11 @@ models/ApiYoutubeDrxContentGet200Response.ts
|
|
|
200
200
|
models/ApiYoutubeDrxContentGet200ResponseResponseObject.ts
|
|
201
201
|
models/ApiYoutubeDrxContentGet200ResponseResponseObjectCurrentLive.ts
|
|
202
202
|
models/ApiYoutubeDrxContentGet200ResponseResponseObjectPreviousContentInner.ts
|
|
203
|
-
models/
|
|
203
|
+
models/ApiYoutubePrivateStreamDelete200Response.ts
|
|
204
|
+
models/ApiYoutubePrivateStreamPost200Response.ts
|
|
205
|
+
models/ApiYoutubePrivateStreamPost200ResponseResponseObject.ts
|
|
206
|
+
models/ApiYoutubePrivateStreamPost200ResponseResponseObjectPrivateStream.ts
|
|
207
|
+
models/PrivateStreamRequest.ts
|
|
208
|
+
models/PrivateStreamResponse.ts
|
|
204
209
|
models/index.ts
|
|
205
210
|
runtime.ts
|
package/apis/YoutubeApi.ts
CHANGED
|
@@ -16,15 +16,25 @@
|
|
|
16
16
|
import * as runtime from '../runtime';
|
|
17
17
|
import type {
|
|
18
18
|
ApiYoutubeDrxContentGet200Response,
|
|
19
|
-
|
|
19
|
+
ApiYoutubePrivateStreamDelete200Response,
|
|
20
|
+
ApiYoutubePrivateStreamPost200Response,
|
|
21
|
+
PrivateStreamRequest,
|
|
20
22
|
} from '../models/index';
|
|
21
23
|
import {
|
|
22
24
|
ApiYoutubeDrxContentGet200ResponseFromJSON,
|
|
23
25
|
ApiYoutubeDrxContentGet200ResponseToJSON,
|
|
24
|
-
|
|
25
|
-
|
|
26
|
+
ApiYoutubePrivateStreamDelete200ResponseFromJSON,
|
|
27
|
+
ApiYoutubePrivateStreamDelete200ResponseToJSON,
|
|
28
|
+
ApiYoutubePrivateStreamPost200ResponseFromJSON,
|
|
29
|
+
ApiYoutubePrivateStreamPost200ResponseToJSON,
|
|
30
|
+
PrivateStreamRequestFromJSON,
|
|
31
|
+
PrivateStreamRequestToJSON,
|
|
26
32
|
} from '../models/index';
|
|
27
33
|
|
|
34
|
+
export interface ApiYoutubePrivateStreamPostRequest {
|
|
35
|
+
privateStreamRequest: PrivateStreamRequest;
|
|
36
|
+
}
|
|
37
|
+
|
|
28
38
|
/**
|
|
29
39
|
*
|
|
30
40
|
*/
|
|
@@ -70,11 +80,101 @@ export class YoutubeApi extends runtime.BaseAPI {
|
|
|
70
80
|
return await response.value();
|
|
71
81
|
}
|
|
72
82
|
|
|
83
|
+
/**
|
|
84
|
+
* Remove the private stream and resume automatic live stream detection
|
|
85
|
+
* Remove Private Stream
|
|
86
|
+
*/
|
|
87
|
+
async apiYoutubePrivateStreamDeleteRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiYoutubePrivateStreamDelete200Response>> {
|
|
88
|
+
const queryParameters: any = {};
|
|
89
|
+
|
|
90
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
91
|
+
|
|
92
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
93
|
+
headerParameters["x-api-key"] = await this.configuration.apiKey("x-api-key"); // ApiKeyAuth authentication
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
97
|
+
const token = this.configuration.accessToken;
|
|
98
|
+
const tokenString = await token("BearerAuth", []);
|
|
99
|
+
|
|
100
|
+
if (tokenString) {
|
|
101
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
const response = await this.request({
|
|
105
|
+
path: `/api/youtube/private-stream`,
|
|
106
|
+
method: 'DELETE',
|
|
107
|
+
headers: headerParameters,
|
|
108
|
+
query: queryParameters,
|
|
109
|
+
}, initOverrides);
|
|
110
|
+
|
|
111
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ApiYoutubePrivateStreamDelete200ResponseFromJSON(jsonValue));
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
/**
|
|
115
|
+
* Remove the private stream and resume automatic live stream detection
|
|
116
|
+
* Remove Private Stream
|
|
117
|
+
*/
|
|
118
|
+
async apiYoutubePrivateStreamDelete(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiYoutubePrivateStreamDelete200Response> {
|
|
119
|
+
const response = await this.apiYoutubePrivateStreamDeleteRaw(initOverrides);
|
|
120
|
+
return await response.value();
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
/**
|
|
124
|
+
* Set a private (unlisted) stream that will override the automatic live stream detection
|
|
125
|
+
* Set Private Stream
|
|
126
|
+
*/
|
|
127
|
+
async apiYoutubePrivateStreamPostRaw(requestParameters: ApiYoutubePrivateStreamPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiYoutubePrivateStreamPost200Response>> {
|
|
128
|
+
if (requestParameters['privateStreamRequest'] == null) {
|
|
129
|
+
throw new runtime.RequiredError(
|
|
130
|
+
'privateStreamRequest',
|
|
131
|
+
'Required parameter "privateStreamRequest" was null or undefined when calling apiYoutubePrivateStreamPost().'
|
|
132
|
+
);
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
const queryParameters: any = {};
|
|
136
|
+
|
|
137
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
138
|
+
|
|
139
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
140
|
+
|
|
141
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
142
|
+
headerParameters["x-api-key"] = await this.configuration.apiKey("x-api-key"); // ApiKeyAuth authentication
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
146
|
+
const token = this.configuration.accessToken;
|
|
147
|
+
const tokenString = await token("BearerAuth", []);
|
|
148
|
+
|
|
149
|
+
if (tokenString) {
|
|
150
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
const response = await this.request({
|
|
154
|
+
path: `/api/youtube/private-stream`,
|
|
155
|
+
method: 'POST',
|
|
156
|
+
headers: headerParameters,
|
|
157
|
+
query: queryParameters,
|
|
158
|
+
body: PrivateStreamRequestToJSON(requestParameters['privateStreamRequest']),
|
|
159
|
+
}, initOverrides);
|
|
160
|
+
|
|
161
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ApiYoutubePrivateStreamPost200ResponseFromJSON(jsonValue));
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
/**
|
|
165
|
+
* Set a private (unlisted) stream that will override the automatic live stream detection
|
|
166
|
+
* Set Private Stream
|
|
167
|
+
*/
|
|
168
|
+
async apiYoutubePrivateStreamPost(requestParameters: ApiYoutubePrivateStreamPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiYoutubePrivateStreamPost200Response> {
|
|
169
|
+
const response = await this.apiYoutubePrivateStreamPostRaw(requestParameters, initOverrides);
|
|
170
|
+
return await response.value();
|
|
171
|
+
}
|
|
172
|
+
|
|
73
173
|
/**
|
|
74
174
|
* Manually trigger fetch and store of live stream and previous videos from DRX Sportnet YouTube channel
|
|
75
175
|
* Refresh DRX Sportnet Content
|
|
76
176
|
*/
|
|
77
|
-
async apiYoutubeRefreshPostRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
177
|
+
async apiYoutubeRefreshPostRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiYoutubePrivateStreamDelete200Response>> {
|
|
78
178
|
const queryParameters: any = {};
|
|
79
179
|
|
|
80
180
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
@@ -98,14 +198,14 @@ export class YoutubeApi extends runtime.BaseAPI {
|
|
|
98
198
|
query: queryParameters,
|
|
99
199
|
}, initOverrides);
|
|
100
200
|
|
|
101
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
201
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ApiYoutubePrivateStreamDelete200ResponseFromJSON(jsonValue));
|
|
102
202
|
}
|
|
103
203
|
|
|
104
204
|
/**
|
|
105
205
|
* Manually trigger fetch and store of live stream and previous videos from DRX Sportnet YouTube channel
|
|
106
206
|
* Refresh DRX Sportnet Content
|
|
107
207
|
*/
|
|
108
|
-
async apiYoutubeRefreshPost(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
208
|
+
async apiYoutubeRefreshPost(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiYoutubePrivateStreamDelete200Response> {
|
|
109
209
|
const response = await this.apiYoutubeRefreshPostRaw(initOverrides);
|
|
110
210
|
return await response.value();
|
|
111
211
|
}
|
package/deploy.log
CHANGED
|
@@ -37,7 +37,10 @@
|
|
|
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
38
|
[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
39
|
[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
|
-
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as
|
|
40
|
+
[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
|
+
[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
|
+
[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
|
+
[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).
|
|
41
44
|
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_tournament_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_tournament_get_filter_parameter=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_tournament_get_filter_parameter=NewModel,ModelA=NewModelA in CLI).
|
|
42
45
|
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_tournament_get_200_response_responseObject_items_inner_game_type. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_tournament_get_200_response_responseObject_items_inner_game_type=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_tournament_get_200_response_responseObject_items_inner_game_type=NewModel,ModelA=NewModelA in CLI).
|
|
43
46
|
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_tournament_get_200_response_responseObject_items_inner. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_tournament_get_200_response_responseObject_items_inner=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_tournament_get_200_response_responseObject_items_inner=NewModel,ModelA=NewModelA in CLI).
|
|
@@ -383,7 +386,12 @@
|
|
|
383
386
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiYoutubeDrxContentGet200ResponseResponseObject.ts
|
|
384
387
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiYoutubeDrxContentGet200ResponseResponseObjectCurrentLive.ts
|
|
385
388
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiYoutubeDrxContentGet200ResponseResponseObjectPreviousContentInner.ts
|
|
386
|
-
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/
|
|
389
|
+
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiYoutubePrivateStreamDelete200Response.ts
|
|
390
|
+
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiYoutubePrivateStreamPost200Response.ts
|
|
391
|
+
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiYoutubePrivateStreamPost200ResponseResponseObject.ts
|
|
392
|
+
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiYoutubePrivateStreamPost200ResponseResponseObjectPrivateStream.ts
|
|
393
|
+
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/PrivateStreamRequest.ts
|
|
394
|
+
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/PrivateStreamResponse.ts
|
|
387
395
|
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: get /api/healthCheck. Renamed to auto-generated operationId: apiHealthCheckGet
|
|
388
396
|
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: get /api/news. Renamed to auto-generated operationId: apiNewsGet
|
|
389
397
|
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: get /api/news/{id}. Renamed to auto-generated operationId: apiNewsIdGet
|
|
@@ -393,6 +401,8 @@
|
|
|
393
401
|
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: get /api/padel/seed. Renamed to auto-generated operationId: apiPadelSeedGet
|
|
394
402
|
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: get /api/padel/sync. Renamed to auto-generated operationId: apiPadelSyncGet
|
|
395
403
|
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: get /api/youtube/drx-content. Renamed to auto-generated operationId: apiYoutubeDrxContentGet
|
|
404
|
+
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: post /api/youtube/private-stream. Renamed to auto-generated operationId: apiYoutubePrivateStreamPost
|
|
405
|
+
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: delete /api/youtube/private-stream. Renamed to auto-generated operationId: apiYoutubePrivateStreamDelete
|
|
396
406
|
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: post /api/youtube/refresh. Renamed to auto-generated operationId: apiYoutubeRefreshPost
|
|
397
407
|
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: get /api/tournament. Renamed to auto-generated operationId: apiTournamentGet
|
|
398
408
|
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: post /api/tournament/padel. Renamed to auto-generated operationId: apiTournamentPadelPost
|
|
@@ -484,20 +494,27 @@
|
|
|
484
494
|
# https://opencollective.com/openapi_generator/donate #
|
|
485
495
|
################################################################################
|
|
486
496
|
✅ SDK generated
|
|
487
|
-
[master
|
|
488
|
-
|
|
497
|
+
[master e133ea1] VPS: Generated API SDK
|
|
498
|
+
10 files changed, 742 insertions(+), 81 deletions(-)
|
|
499
|
+
create mode 100644 models/ApiYoutubePrivateStreamDelete200Response.ts
|
|
500
|
+
create mode 100644 models/ApiYoutubePrivateStreamPost200Response.ts
|
|
501
|
+
create mode 100644 models/ApiYoutubePrivateStreamPost200ResponseResponseObject.ts
|
|
502
|
+
create mode 100644 models/ApiYoutubePrivateStreamPost200ResponseResponseObjectPrivateStream.ts
|
|
503
|
+
delete mode 100644 models/ApiYoutubeRefreshPost200Response.ts
|
|
504
|
+
create mode 100644 models/PrivateStreamRequest.ts
|
|
505
|
+
create mode 100644 models/PrivateStreamResponse.ts
|
|
489
506
|
To https://gitlab.com/drx-super/drx-sdk.git
|
|
490
|
-
|
|
507
|
+
f408744..e133ea1 master -> master
|
|
491
508
|
✅ Changes committed and pushed
|
|
492
|
-
v1.1.
|
|
509
|
+
v1.1.232
|
|
493
510
|
To https://gitlab.com/drx-super/drx-sdk.git
|
|
494
|
-
|
|
511
|
+
e133ea1..5dcfabf master -> master
|
|
495
512
|
✅ Version bumped
|
|
496
513
|
|
|
497
|
-
> @drxsuperapp/sdk@1.1.
|
|
514
|
+
> @drxsuperapp/sdk@1.1.232 prepublishOnly
|
|
498
515
|
> npm run build
|
|
499
516
|
|
|
500
517
|
|
|
501
|
-
> @drxsuperapp/sdk@1.1.
|
|
518
|
+
> @drxsuperapp/sdk@1.1.232 build
|
|
502
519
|
> tsc
|
|
503
520
|
|
|
@@ -10,7 +10,10 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { ApiYoutubeDrxContentGet200Response,
|
|
13
|
+
import type { ApiYoutubeDrxContentGet200Response, ApiYoutubePrivateStreamDelete200Response, ApiYoutubePrivateStreamPost200Response, PrivateStreamRequest } from '../models/index';
|
|
14
|
+
export interface ApiYoutubePrivateStreamPostRequest {
|
|
15
|
+
privateStreamRequest: PrivateStreamRequest;
|
|
16
|
+
}
|
|
14
17
|
/**
|
|
15
18
|
*
|
|
16
19
|
*/
|
|
@@ -25,14 +28,34 @@ export declare class YoutubeApi extends runtime.BaseAPI {
|
|
|
25
28
|
* Get DRX Sportnet Content
|
|
26
29
|
*/
|
|
27
30
|
apiYoutubeDrxContentGet(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiYoutubeDrxContentGet200Response>;
|
|
31
|
+
/**
|
|
32
|
+
* Remove the private stream and resume automatic live stream detection
|
|
33
|
+
* Remove Private Stream
|
|
34
|
+
*/
|
|
35
|
+
apiYoutubePrivateStreamDeleteRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiYoutubePrivateStreamDelete200Response>>;
|
|
36
|
+
/**
|
|
37
|
+
* Remove the private stream and resume automatic live stream detection
|
|
38
|
+
* Remove Private Stream
|
|
39
|
+
*/
|
|
40
|
+
apiYoutubePrivateStreamDelete(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiYoutubePrivateStreamDelete200Response>;
|
|
41
|
+
/**
|
|
42
|
+
* Set a private (unlisted) stream that will override the automatic live stream detection
|
|
43
|
+
* Set Private Stream
|
|
44
|
+
*/
|
|
45
|
+
apiYoutubePrivateStreamPostRaw(requestParameters: ApiYoutubePrivateStreamPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiYoutubePrivateStreamPost200Response>>;
|
|
46
|
+
/**
|
|
47
|
+
* Set a private (unlisted) stream that will override the automatic live stream detection
|
|
48
|
+
* Set Private Stream
|
|
49
|
+
*/
|
|
50
|
+
apiYoutubePrivateStreamPost(requestParameters: ApiYoutubePrivateStreamPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiYoutubePrivateStreamPost200Response>;
|
|
28
51
|
/**
|
|
29
52
|
* Manually trigger fetch and store of live stream and previous videos from DRX Sportnet YouTube channel
|
|
30
53
|
* Refresh DRX Sportnet Content
|
|
31
54
|
*/
|
|
32
|
-
apiYoutubeRefreshPostRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
55
|
+
apiYoutubeRefreshPostRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiYoutubePrivateStreamDelete200Response>>;
|
|
33
56
|
/**
|
|
34
57
|
* Manually trigger fetch and store of live stream and previous videos from DRX Sportnet YouTube channel
|
|
35
58
|
* Refresh DRX Sportnet Content
|
|
36
59
|
*/
|
|
37
|
-
apiYoutubeRefreshPost(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
60
|
+
apiYoutubeRefreshPost(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiYoutubePrivateStreamDelete200Response>;
|
|
38
61
|
}
|
package/dist/apis/YoutubeApi.js
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
import * as runtime from '../runtime';
|
|
15
|
-
import { ApiYoutubeDrxContentGet200ResponseFromJSON,
|
|
15
|
+
import { ApiYoutubeDrxContentGet200ResponseFromJSON, ApiYoutubePrivateStreamDelete200ResponseFromJSON, ApiYoutubePrivateStreamPost200ResponseFromJSON, PrivateStreamRequestToJSON, } from '../models/index';
|
|
16
16
|
/**
|
|
17
17
|
*
|
|
18
18
|
*/
|
|
@@ -50,6 +50,77 @@ export class YoutubeApi extends runtime.BaseAPI {
|
|
|
50
50
|
const response = await this.apiYoutubeDrxContentGetRaw(initOverrides);
|
|
51
51
|
return await response.value();
|
|
52
52
|
}
|
|
53
|
+
/**
|
|
54
|
+
* Remove the private stream and resume automatic live stream detection
|
|
55
|
+
* Remove Private Stream
|
|
56
|
+
*/
|
|
57
|
+
async apiYoutubePrivateStreamDeleteRaw(initOverrides) {
|
|
58
|
+
const queryParameters = {};
|
|
59
|
+
const headerParameters = {};
|
|
60
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
61
|
+
headerParameters["x-api-key"] = await this.configuration.apiKey("x-api-key"); // ApiKeyAuth authentication
|
|
62
|
+
}
|
|
63
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
64
|
+
const token = this.configuration.accessToken;
|
|
65
|
+
const tokenString = await token("BearerAuth", []);
|
|
66
|
+
if (tokenString) {
|
|
67
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
const response = await this.request({
|
|
71
|
+
path: `/api/youtube/private-stream`,
|
|
72
|
+
method: 'DELETE',
|
|
73
|
+
headers: headerParameters,
|
|
74
|
+
query: queryParameters,
|
|
75
|
+
}, initOverrides);
|
|
76
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ApiYoutubePrivateStreamDelete200ResponseFromJSON(jsonValue));
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* Remove the private stream and resume automatic live stream detection
|
|
80
|
+
* Remove Private Stream
|
|
81
|
+
*/
|
|
82
|
+
async apiYoutubePrivateStreamDelete(initOverrides) {
|
|
83
|
+
const response = await this.apiYoutubePrivateStreamDeleteRaw(initOverrides);
|
|
84
|
+
return await response.value();
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* Set a private (unlisted) stream that will override the automatic live stream detection
|
|
88
|
+
* Set Private Stream
|
|
89
|
+
*/
|
|
90
|
+
async apiYoutubePrivateStreamPostRaw(requestParameters, initOverrides) {
|
|
91
|
+
if (requestParameters['privateStreamRequest'] == null) {
|
|
92
|
+
throw new runtime.RequiredError('privateStreamRequest', 'Required parameter "privateStreamRequest" was null or undefined when calling apiYoutubePrivateStreamPost().');
|
|
93
|
+
}
|
|
94
|
+
const queryParameters = {};
|
|
95
|
+
const headerParameters = {};
|
|
96
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
97
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
98
|
+
headerParameters["x-api-key"] = await this.configuration.apiKey("x-api-key"); // ApiKeyAuth authentication
|
|
99
|
+
}
|
|
100
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
101
|
+
const token = this.configuration.accessToken;
|
|
102
|
+
const tokenString = await token("BearerAuth", []);
|
|
103
|
+
if (tokenString) {
|
|
104
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
const response = await this.request({
|
|
108
|
+
path: `/api/youtube/private-stream`,
|
|
109
|
+
method: 'POST',
|
|
110
|
+
headers: headerParameters,
|
|
111
|
+
query: queryParameters,
|
|
112
|
+
body: PrivateStreamRequestToJSON(requestParameters['privateStreamRequest']),
|
|
113
|
+
}, initOverrides);
|
|
114
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ApiYoutubePrivateStreamPost200ResponseFromJSON(jsonValue));
|
|
115
|
+
}
|
|
116
|
+
/**
|
|
117
|
+
* Set a private (unlisted) stream that will override the automatic live stream detection
|
|
118
|
+
* Set Private Stream
|
|
119
|
+
*/
|
|
120
|
+
async apiYoutubePrivateStreamPost(requestParameters, initOverrides) {
|
|
121
|
+
const response = await this.apiYoutubePrivateStreamPostRaw(requestParameters, initOverrides);
|
|
122
|
+
return await response.value();
|
|
123
|
+
}
|
|
53
124
|
/**
|
|
54
125
|
* Manually trigger fetch and store of live stream and previous videos from DRX Sportnet YouTube channel
|
|
55
126
|
* Refresh DRX Sportnet Content
|
|
@@ -73,7 +144,7 @@ export class YoutubeApi extends runtime.BaseAPI {
|
|
|
73
144
|
headers: headerParameters,
|
|
74
145
|
query: queryParameters,
|
|
75
146
|
}, initOverrides);
|
|
76
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
147
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ApiYoutubePrivateStreamDelete200ResponseFromJSON(jsonValue));
|
|
77
148
|
}
|
|
78
149
|
/**
|
|
79
150
|
* Manually trigger fetch and store of live stream and previous videos from DRX Sportnet YouTube channel
|
|
@@ -0,0 +1,38 @@
|
|
|
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 ApiYoutubePrivateStreamDelete200Response
|
|
16
|
+
*/
|
|
17
|
+
export interface ApiYoutubePrivateStreamDelete200Response {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ApiYoutubePrivateStreamDelete200Response
|
|
22
|
+
*/
|
|
23
|
+
message?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ApiYoutubePrivateStreamDelete200Response
|
|
28
|
+
*/
|
|
29
|
+
timestamp?: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the ApiYoutubePrivateStreamDelete200Response interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfApiYoutubePrivateStreamDelete200Response(value: object): value is ApiYoutubePrivateStreamDelete200Response;
|
|
35
|
+
export declare function ApiYoutubePrivateStreamDelete200ResponseFromJSON(json: any): ApiYoutubePrivateStreamDelete200Response;
|
|
36
|
+
export declare function ApiYoutubePrivateStreamDelete200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiYoutubePrivateStreamDelete200Response;
|
|
37
|
+
export declare function ApiYoutubePrivateStreamDelete200ResponseToJSON(json: any): ApiYoutubePrivateStreamDelete200Response;
|
|
38
|
+
export declare function ApiYoutubePrivateStreamDelete200ResponseToJSONTyped(value?: ApiYoutubePrivateStreamDelete200Response | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -12,15 +12,15 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
/**
|
|
15
|
-
* Check if a given object implements the
|
|
15
|
+
* Check if a given object implements the ApiYoutubePrivateStreamDelete200Response interface.
|
|
16
16
|
*/
|
|
17
|
-
export function
|
|
17
|
+
export function instanceOfApiYoutubePrivateStreamDelete200Response(value) {
|
|
18
18
|
return true;
|
|
19
19
|
}
|
|
20
|
-
export function
|
|
21
|
-
return
|
|
20
|
+
export function ApiYoutubePrivateStreamDelete200ResponseFromJSON(json) {
|
|
21
|
+
return ApiYoutubePrivateStreamDelete200ResponseFromJSONTyped(json, false);
|
|
22
22
|
}
|
|
23
|
-
export function
|
|
23
|
+
export function ApiYoutubePrivateStreamDelete200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
24
|
if (json == null) {
|
|
25
25
|
return json;
|
|
26
26
|
}
|
|
@@ -29,10 +29,10 @@ export function ApiYoutubeRefreshPost200ResponseFromJSONTyped(json, ignoreDiscri
|
|
|
29
29
|
'timestamp': json['timestamp'] == null ? undefined : json['timestamp'],
|
|
30
30
|
};
|
|
31
31
|
}
|
|
32
|
-
export function
|
|
33
|
-
return
|
|
32
|
+
export function ApiYoutubePrivateStreamDelete200ResponseToJSON(json) {
|
|
33
|
+
return ApiYoutubePrivateStreamDelete200ResponseToJSONTyped(json, false);
|
|
34
34
|
}
|
|
35
|
-
export function
|
|
35
|
+
export function ApiYoutubePrivateStreamDelete200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
36
36
|
if (value == null) {
|
|
37
37
|
return value;
|
|
38
38
|
}
|
|
@@ -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 { ApiYoutubePrivateStreamPost200ResponseResponseObject } from './ApiYoutubePrivateStreamPost200ResponseResponseObject';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ApiYoutubePrivateStreamPost200Response
|
|
17
|
+
*/
|
|
18
|
+
export interface ApiYoutubePrivateStreamPost200Response {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {boolean}
|
|
22
|
+
* @memberof ApiYoutubePrivateStreamPost200Response
|
|
23
|
+
*/
|
|
24
|
+
success: boolean;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ApiYoutubePrivateStreamPost200Response
|
|
29
|
+
*/
|
|
30
|
+
message: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {ApiYoutubePrivateStreamPost200ResponseResponseObject}
|
|
34
|
+
* @memberof ApiYoutubePrivateStreamPost200Response
|
|
35
|
+
*/
|
|
36
|
+
responseObject?: ApiYoutubePrivateStreamPost200ResponseResponseObject;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {number}
|
|
40
|
+
* @memberof ApiYoutubePrivateStreamPost200Response
|
|
41
|
+
*/
|
|
42
|
+
statusCode: number;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Check if a given object implements the ApiYoutubePrivateStreamPost200Response interface.
|
|
46
|
+
*/
|
|
47
|
+
export declare function instanceOfApiYoutubePrivateStreamPost200Response(value: object): value is ApiYoutubePrivateStreamPost200Response;
|
|
48
|
+
export declare function ApiYoutubePrivateStreamPost200ResponseFromJSON(json: any): ApiYoutubePrivateStreamPost200Response;
|
|
49
|
+
export declare function ApiYoutubePrivateStreamPost200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiYoutubePrivateStreamPost200Response;
|
|
50
|
+
export declare function ApiYoutubePrivateStreamPost200ResponseToJSON(json: any): ApiYoutubePrivateStreamPost200Response;
|
|
51
|
+
export declare function ApiYoutubePrivateStreamPost200ResponseToJSONTyped(value?: ApiYoutubePrivateStreamPost200Response | 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 { ApiYoutubePrivateStreamPost200ResponseResponseObjectFromJSON, ApiYoutubePrivateStreamPost200ResponseResponseObjectToJSON, } from './ApiYoutubePrivateStreamPost200ResponseResponseObject';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the ApiYoutubePrivateStreamPost200Response interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfApiYoutubePrivateStreamPost200Response(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 ApiYoutubePrivateStreamPost200ResponseFromJSON(json) {
|
|
28
|
+
return ApiYoutubePrivateStreamPost200ResponseFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
export function ApiYoutubePrivateStreamPost200ResponseFromJSONTyped(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 : ApiYoutubePrivateStreamPost200ResponseResponseObjectFromJSON(json['responseObject']),
|
|
38
|
+
'statusCode': json['statusCode'],
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
export function ApiYoutubePrivateStreamPost200ResponseToJSON(json) {
|
|
42
|
+
return ApiYoutubePrivateStreamPost200ResponseToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
export function ApiYoutubePrivateStreamPost200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'success': value['success'],
|
|
50
|
+
'message': value['message'],
|
|
51
|
+
'responseObject': ApiYoutubePrivateStreamPost200ResponseResponseObjectToJSON(value['responseObject']),
|
|
52
|
+
'statusCode': value['statusCode'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
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 { ApiYoutubePrivateStreamPost200ResponseResponseObjectPrivateStream } from './ApiYoutubePrivateStreamPost200ResponseResponseObjectPrivateStream';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ApiYoutubePrivateStreamPost200ResponseResponseObject
|
|
17
|
+
*/
|
|
18
|
+
export interface ApiYoutubePrivateStreamPost200ResponseResponseObject {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof ApiYoutubePrivateStreamPost200ResponseResponseObject
|
|
23
|
+
*/
|
|
24
|
+
message: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ApiYoutubePrivateStreamPost200ResponseResponseObject
|
|
29
|
+
*/
|
|
30
|
+
timestamp: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {ApiYoutubePrivateStreamPost200ResponseResponseObjectPrivateStream}
|
|
34
|
+
* @memberof ApiYoutubePrivateStreamPost200ResponseResponseObject
|
|
35
|
+
*/
|
|
36
|
+
privateStream?: ApiYoutubePrivateStreamPost200ResponseResponseObjectPrivateStream;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the ApiYoutubePrivateStreamPost200ResponseResponseObject interface.
|
|
40
|
+
*/
|
|
41
|
+
export declare function instanceOfApiYoutubePrivateStreamPost200ResponseResponseObject(value: object): value is ApiYoutubePrivateStreamPost200ResponseResponseObject;
|
|
42
|
+
export declare function ApiYoutubePrivateStreamPost200ResponseResponseObjectFromJSON(json: any): ApiYoutubePrivateStreamPost200ResponseResponseObject;
|
|
43
|
+
export declare function ApiYoutubePrivateStreamPost200ResponseResponseObjectFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiYoutubePrivateStreamPost200ResponseResponseObject;
|
|
44
|
+
export declare function ApiYoutubePrivateStreamPost200ResponseResponseObjectToJSON(json: any): ApiYoutubePrivateStreamPost200ResponseResponseObject;
|
|
45
|
+
export declare function ApiYoutubePrivateStreamPost200ResponseResponseObjectToJSONTyped(value?: ApiYoutubePrivateStreamPost200ResponseResponseObject | null, ignoreDiscriminator?: boolean): any;
|