@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
|
@@ -0,0 +1,50 @@
|
|
|
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 { ApiYoutubePrivateStreamPost200ResponseResponseObjectPrivateStreamFromJSON, ApiYoutubePrivateStreamPost200ResponseResponseObjectPrivateStreamToJSON, } from './ApiYoutubePrivateStreamPost200ResponseResponseObjectPrivateStream';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the ApiYoutubePrivateStreamPost200ResponseResponseObject interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfApiYoutubePrivateStreamPost200ResponseResponseObject(value) {
|
|
19
|
+
if (!('message' in value) || value['message'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
if (!('timestamp' in value) || value['timestamp'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
return true;
|
|
24
|
+
}
|
|
25
|
+
export function ApiYoutubePrivateStreamPost200ResponseResponseObjectFromJSON(json) {
|
|
26
|
+
return ApiYoutubePrivateStreamPost200ResponseResponseObjectFromJSONTyped(json, false);
|
|
27
|
+
}
|
|
28
|
+
export function ApiYoutubePrivateStreamPost200ResponseResponseObjectFromJSONTyped(json, ignoreDiscriminator) {
|
|
29
|
+
if (json == null) {
|
|
30
|
+
return json;
|
|
31
|
+
}
|
|
32
|
+
return {
|
|
33
|
+
'message': json['message'],
|
|
34
|
+
'timestamp': json['timestamp'],
|
|
35
|
+
'privateStream': json['privateStream'] == null ? undefined : ApiYoutubePrivateStreamPost200ResponseResponseObjectPrivateStreamFromJSON(json['privateStream']),
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
export function ApiYoutubePrivateStreamPost200ResponseResponseObjectToJSON(json) {
|
|
39
|
+
return ApiYoutubePrivateStreamPost200ResponseResponseObjectToJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
export function ApiYoutubePrivateStreamPost200ResponseResponseObjectToJSONTyped(value, ignoreDiscriminator = false) {
|
|
42
|
+
if (value == null) {
|
|
43
|
+
return value;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
'message': value['message'],
|
|
47
|
+
'timestamp': value['timestamp'],
|
|
48
|
+
'privateStream': ApiYoutubePrivateStreamPost200ResponseResponseObjectPrivateStreamToJSON(value['privateStream']),
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -0,0 +1,110 @@
|
|
|
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 ApiYoutubePrivateStreamPost200ResponseResponseObjectPrivateStream
|
|
16
|
+
*/
|
|
17
|
+
export interface ApiYoutubePrivateStreamPost200ResponseResponseObjectPrivateStream {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ApiYoutubePrivateStreamPost200ResponseResponseObjectPrivateStream
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ApiYoutubePrivateStreamPost200ResponseResponseObjectPrivateStream
|
|
28
|
+
*/
|
|
29
|
+
channelId: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ApiYoutubePrivateStreamPost200ResponseResponseObjectPrivateStream
|
|
34
|
+
*/
|
|
35
|
+
channelTitle: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof ApiYoutubePrivateStreamPost200ResponseResponseObjectPrivateStream
|
|
40
|
+
*/
|
|
41
|
+
videoId: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof ApiYoutubePrivateStreamPost200ResponseResponseObjectPrivateStream
|
|
46
|
+
*/
|
|
47
|
+
title: string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof ApiYoutubePrivateStreamPost200ResponseResponseObjectPrivateStream
|
|
52
|
+
*/
|
|
53
|
+
description?: string;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof ApiYoutubePrivateStreamPost200ResponseResponseObjectPrivateStream
|
|
58
|
+
*/
|
|
59
|
+
thumbnailUrl?: string;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {boolean}
|
|
63
|
+
* @memberof ApiYoutubePrivateStreamPost200ResponseResponseObjectPrivateStream
|
|
64
|
+
*/
|
|
65
|
+
isLive: boolean;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {number}
|
|
69
|
+
* @memberof ApiYoutubePrivateStreamPost200ResponseResponseObjectPrivateStream
|
|
70
|
+
*/
|
|
71
|
+
viewerCount?: number;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @type {Date}
|
|
75
|
+
* @memberof ApiYoutubePrivateStreamPost200ResponseResponseObjectPrivateStream
|
|
76
|
+
*/
|
|
77
|
+
scheduledStartTime?: Date;
|
|
78
|
+
/**
|
|
79
|
+
*
|
|
80
|
+
* @type {Date}
|
|
81
|
+
* @memberof ApiYoutubePrivateStreamPost200ResponseResponseObjectPrivateStream
|
|
82
|
+
*/
|
|
83
|
+
actualStartTime?: Date;
|
|
84
|
+
/**
|
|
85
|
+
*
|
|
86
|
+
* @type {string}
|
|
87
|
+
* @memberof ApiYoutubePrivateStreamPost200ResponseResponseObjectPrivateStream
|
|
88
|
+
*/
|
|
89
|
+
embedUrl: string;
|
|
90
|
+
/**
|
|
91
|
+
*
|
|
92
|
+
* @type {Date}
|
|
93
|
+
* @memberof ApiYoutubePrivateStreamPost200ResponseResponseObjectPrivateStream
|
|
94
|
+
*/
|
|
95
|
+
createdAt: Date;
|
|
96
|
+
/**
|
|
97
|
+
*
|
|
98
|
+
* @type {Date}
|
|
99
|
+
* @memberof ApiYoutubePrivateStreamPost200ResponseResponseObjectPrivateStream
|
|
100
|
+
*/
|
|
101
|
+
updatedAt: Date;
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* Check if a given object implements the ApiYoutubePrivateStreamPost200ResponseResponseObjectPrivateStream interface.
|
|
105
|
+
*/
|
|
106
|
+
export declare function instanceOfApiYoutubePrivateStreamPost200ResponseResponseObjectPrivateStream(value: object): value is ApiYoutubePrivateStreamPost200ResponseResponseObjectPrivateStream;
|
|
107
|
+
export declare function ApiYoutubePrivateStreamPost200ResponseResponseObjectPrivateStreamFromJSON(json: any): ApiYoutubePrivateStreamPost200ResponseResponseObjectPrivateStream;
|
|
108
|
+
export declare function ApiYoutubePrivateStreamPost200ResponseResponseObjectPrivateStreamFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiYoutubePrivateStreamPost200ResponseResponseObjectPrivateStream;
|
|
109
|
+
export declare function ApiYoutubePrivateStreamPost200ResponseResponseObjectPrivateStreamToJSON(json: any): ApiYoutubePrivateStreamPost200ResponseResponseObjectPrivateStream;
|
|
110
|
+
export declare function ApiYoutubePrivateStreamPost200ResponseResponseObjectPrivateStreamToJSONTyped(value?: ApiYoutubePrivateStreamPost200ResponseResponseObjectPrivateStream | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,85 @@
|
|
|
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 ApiYoutubePrivateStreamPost200ResponseResponseObjectPrivateStream interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfApiYoutubePrivateStreamPost200ResponseResponseObjectPrivateStream(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 (!('isLive' in value) || value['isLive'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('embedUrl' in value) || value['embedUrl'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('updatedAt' in value) || value['updatedAt'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
return true;
|
|
37
|
+
}
|
|
38
|
+
export function ApiYoutubePrivateStreamPost200ResponseResponseObjectPrivateStreamFromJSON(json) {
|
|
39
|
+
return ApiYoutubePrivateStreamPost200ResponseResponseObjectPrivateStreamFromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
export function ApiYoutubePrivateStreamPost200ResponseResponseObjectPrivateStreamFromJSONTyped(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
|
+
'isLive': json['isLive'],
|
|
54
|
+
'viewerCount': json['viewerCount'] == null ? undefined : json['viewerCount'],
|
|
55
|
+
'scheduledStartTime': json['scheduledStartTime'] == null ? undefined : (new Date(json['scheduledStartTime'])),
|
|
56
|
+
'actualStartTime': json['actualStartTime'] == null ? undefined : (new Date(json['actualStartTime'])),
|
|
57
|
+
'embedUrl': json['embedUrl'],
|
|
58
|
+
'createdAt': (new Date(json['createdAt'])),
|
|
59
|
+
'updatedAt': (new Date(json['updatedAt'])),
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
export function ApiYoutubePrivateStreamPost200ResponseResponseObjectPrivateStreamToJSON(json) {
|
|
63
|
+
return ApiYoutubePrivateStreamPost200ResponseResponseObjectPrivateStreamToJSONTyped(json, false);
|
|
64
|
+
}
|
|
65
|
+
export function ApiYoutubePrivateStreamPost200ResponseResponseObjectPrivateStreamToJSONTyped(value, ignoreDiscriminator = false) {
|
|
66
|
+
if (value == null) {
|
|
67
|
+
return value;
|
|
68
|
+
}
|
|
69
|
+
return {
|
|
70
|
+
'id': value['id'],
|
|
71
|
+
'channelId': value['channelId'],
|
|
72
|
+
'channelTitle': value['channelTitle'],
|
|
73
|
+
'videoId': value['videoId'],
|
|
74
|
+
'title': value['title'],
|
|
75
|
+
'description': value['description'],
|
|
76
|
+
'thumbnailUrl': value['thumbnailUrl'],
|
|
77
|
+
'isLive': value['isLive'],
|
|
78
|
+
'viewerCount': value['viewerCount'],
|
|
79
|
+
'scheduledStartTime': value['scheduledStartTime'] == null ? undefined : ((value['scheduledStartTime']).toISOString()),
|
|
80
|
+
'actualStartTime': value['actualStartTime'] == null ? undefined : ((value['actualStartTime']).toISOString()),
|
|
81
|
+
'embedUrl': value['embedUrl'],
|
|
82
|
+
'createdAt': ((value['createdAt']).toISOString()),
|
|
83
|
+
'updatedAt': ((value['updatedAt']).toISOString()),
|
|
84
|
+
};
|
|
85
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
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 PrivateStreamRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface PrivateStreamRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof PrivateStreamRequest
|
|
22
|
+
*/
|
|
23
|
+
videoId: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof PrivateStreamRequest
|
|
28
|
+
*/
|
|
29
|
+
title: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof PrivateStreamRequest
|
|
34
|
+
*/
|
|
35
|
+
description?: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof PrivateStreamRequest
|
|
40
|
+
*/
|
|
41
|
+
thumbnailUrl?: string;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the PrivateStreamRequest interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfPrivateStreamRequest(value: object): value is PrivateStreamRequest;
|
|
47
|
+
export declare function PrivateStreamRequestFromJSON(json: any): PrivateStreamRequest;
|
|
48
|
+
export declare function PrivateStreamRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PrivateStreamRequest;
|
|
49
|
+
export declare function PrivateStreamRequestToJSON(json: any): PrivateStreamRequest;
|
|
50
|
+
export declare function PrivateStreamRequestToJSONTyped(value?: PrivateStreamRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,51 @@
|
|
|
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 PrivateStreamRequest interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfPrivateStreamRequest(value) {
|
|
18
|
+
if (!('videoId' in value) || value['videoId'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('title' in value) || value['title'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
return true;
|
|
23
|
+
}
|
|
24
|
+
export function PrivateStreamRequestFromJSON(json) {
|
|
25
|
+
return PrivateStreamRequestFromJSONTyped(json, false);
|
|
26
|
+
}
|
|
27
|
+
export function PrivateStreamRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
+
if (json == null) {
|
|
29
|
+
return json;
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
'videoId': json['videoId'],
|
|
33
|
+
'title': json['title'],
|
|
34
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
35
|
+
'thumbnailUrl': json['thumbnailUrl'] == null ? undefined : json['thumbnailUrl'],
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
export function PrivateStreamRequestToJSON(json) {
|
|
39
|
+
return PrivateStreamRequestToJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
export function PrivateStreamRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
42
|
+
if (value == null) {
|
|
43
|
+
return value;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
'videoId': value['videoId'],
|
|
47
|
+
'title': value['title'],
|
|
48
|
+
'description': value['description'],
|
|
49
|
+
'thumbnailUrl': value['thumbnailUrl'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -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 PrivateStreamResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface PrivateStreamResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof PrivateStreamResponse
|
|
23
|
+
*/
|
|
24
|
+
message: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof PrivateStreamResponse
|
|
29
|
+
*/
|
|
30
|
+
timestamp: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {ApiYoutubePrivateStreamPost200ResponseResponseObjectPrivateStream}
|
|
34
|
+
* @memberof PrivateStreamResponse
|
|
35
|
+
*/
|
|
36
|
+
privateStream?: ApiYoutubePrivateStreamPost200ResponseResponseObjectPrivateStream;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the PrivateStreamResponse interface.
|
|
40
|
+
*/
|
|
41
|
+
export declare function instanceOfPrivateStreamResponse(value: object): value is PrivateStreamResponse;
|
|
42
|
+
export declare function PrivateStreamResponseFromJSON(json: any): PrivateStreamResponse;
|
|
43
|
+
export declare function PrivateStreamResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PrivateStreamResponse;
|
|
44
|
+
export declare function PrivateStreamResponseToJSON(json: any): PrivateStreamResponse;
|
|
45
|
+
export declare function PrivateStreamResponseToJSONTyped(value?: PrivateStreamResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,50 @@
|
|
|
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 { ApiYoutubePrivateStreamPost200ResponseResponseObjectPrivateStreamFromJSON, ApiYoutubePrivateStreamPost200ResponseResponseObjectPrivateStreamToJSON, } from './ApiYoutubePrivateStreamPost200ResponseResponseObjectPrivateStream';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the PrivateStreamResponse interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfPrivateStreamResponse(value) {
|
|
19
|
+
if (!('message' in value) || value['message'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
if (!('timestamp' in value) || value['timestamp'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
return true;
|
|
24
|
+
}
|
|
25
|
+
export function PrivateStreamResponseFromJSON(json) {
|
|
26
|
+
return PrivateStreamResponseFromJSONTyped(json, false);
|
|
27
|
+
}
|
|
28
|
+
export function PrivateStreamResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
29
|
+
if (json == null) {
|
|
30
|
+
return json;
|
|
31
|
+
}
|
|
32
|
+
return {
|
|
33
|
+
'message': json['message'],
|
|
34
|
+
'timestamp': json['timestamp'],
|
|
35
|
+
'privateStream': json['privateStream'] == null ? undefined : ApiYoutubePrivateStreamPost200ResponseResponseObjectPrivateStreamFromJSON(json['privateStream']),
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
export function PrivateStreamResponseToJSON(json) {
|
|
39
|
+
return PrivateStreamResponseToJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
export function PrivateStreamResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
42
|
+
if (value == null) {
|
|
43
|
+
return value;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
'message': value['message'],
|
|
47
|
+
'timestamp': value['timestamp'],
|
|
48
|
+
'privateStream': ApiYoutubePrivateStreamPost200ResponseResponseObjectPrivateStreamToJSON(value['privateStream']),
|
|
49
|
+
};
|
|
50
|
+
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -186,4 +186,9 @@ export * from './ApiYoutubeDrxContentGet200Response';
|
|
|
186
186
|
export * from './ApiYoutubeDrxContentGet200ResponseResponseObject';
|
|
187
187
|
export * from './ApiYoutubeDrxContentGet200ResponseResponseObjectCurrentLive';
|
|
188
188
|
export * from './ApiYoutubeDrxContentGet200ResponseResponseObjectPreviousContentInner';
|
|
189
|
-
export * from './
|
|
189
|
+
export * from './ApiYoutubePrivateStreamDelete200Response';
|
|
190
|
+
export * from './ApiYoutubePrivateStreamPost200Response';
|
|
191
|
+
export * from './ApiYoutubePrivateStreamPost200ResponseResponseObject';
|
|
192
|
+
export * from './ApiYoutubePrivateStreamPost200ResponseResponseObjectPrivateStream';
|
|
193
|
+
export * from './PrivateStreamRequest';
|
|
194
|
+
export * from './PrivateStreamResponse';
|
package/dist/models/index.js
CHANGED
|
@@ -188,4 +188,9 @@ export * from './ApiYoutubeDrxContentGet200Response';
|
|
|
188
188
|
export * from './ApiYoutubeDrxContentGet200ResponseResponseObject';
|
|
189
189
|
export * from './ApiYoutubeDrxContentGet200ResponseResponseObjectCurrentLive';
|
|
190
190
|
export * from './ApiYoutubeDrxContentGet200ResponseResponseObjectPreviousContentInner';
|
|
191
|
-
export * from './
|
|
191
|
+
export * from './ApiYoutubePrivateStreamDelete200Response';
|
|
192
|
+
export * from './ApiYoutubePrivateStreamPost200Response';
|
|
193
|
+
export * from './ApiYoutubePrivateStreamPost200ResponseResponseObject';
|
|
194
|
+
export * from './ApiYoutubePrivateStreamPost200ResponseResponseObjectPrivateStream';
|
|
195
|
+
export * from './PrivateStreamRequest';
|
|
196
|
+
export * from './PrivateStreamResponse';
|
|
@@ -0,0 +1,73 @@
|
|
|
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 ApiYoutubePrivateStreamDelete200Response
|
|
20
|
+
*/
|
|
21
|
+
export interface ApiYoutubePrivateStreamDelete200Response {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof ApiYoutubePrivateStreamDelete200Response
|
|
26
|
+
*/
|
|
27
|
+
message?: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof ApiYoutubePrivateStreamDelete200Response
|
|
32
|
+
*/
|
|
33
|
+
timestamp?: string;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Check if a given object implements the ApiYoutubePrivateStreamDelete200Response interface.
|
|
38
|
+
*/
|
|
39
|
+
export function instanceOfApiYoutubePrivateStreamDelete200Response(value: object): value is ApiYoutubePrivateStreamDelete200Response {
|
|
40
|
+
return true;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export function ApiYoutubePrivateStreamDelete200ResponseFromJSON(json: any): ApiYoutubePrivateStreamDelete200Response {
|
|
44
|
+
return ApiYoutubePrivateStreamDelete200ResponseFromJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
export function ApiYoutubePrivateStreamDelete200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiYoutubePrivateStreamDelete200Response {
|
|
48
|
+
if (json == null) {
|
|
49
|
+
return json;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
|
|
53
|
+
'message': json['message'] == null ? undefined : json['message'],
|
|
54
|
+
'timestamp': json['timestamp'] == null ? undefined : json['timestamp'],
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export function ApiYoutubePrivateStreamDelete200ResponseToJSON(json: any): ApiYoutubePrivateStreamDelete200Response {
|
|
59
|
+
return ApiYoutubePrivateStreamDelete200ResponseToJSONTyped(json, false);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
export function ApiYoutubePrivateStreamDelete200ResponseToJSONTyped(value?: ApiYoutubePrivateStreamDelete200Response | null, ignoreDiscriminator: boolean = false): any {
|
|
63
|
+
if (value == null) {
|
|
64
|
+
return value;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
return {
|
|
68
|
+
|
|
69
|
+
'message': value['message'],
|
|
70
|
+
'timestamp': value['timestamp'],
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
|
|
@@ -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 { ApiYoutubePrivateStreamPost200ResponseResponseObject } from './ApiYoutubePrivateStreamPost200ResponseResponseObject';
|
|
17
|
+
import {
|
|
18
|
+
ApiYoutubePrivateStreamPost200ResponseResponseObjectFromJSON,
|
|
19
|
+
ApiYoutubePrivateStreamPost200ResponseResponseObjectFromJSONTyped,
|
|
20
|
+
ApiYoutubePrivateStreamPost200ResponseResponseObjectToJSON,
|
|
21
|
+
ApiYoutubePrivateStreamPost200ResponseResponseObjectToJSONTyped,
|
|
22
|
+
} from './ApiYoutubePrivateStreamPost200ResponseResponseObject';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface ApiYoutubePrivateStreamPost200Response
|
|
28
|
+
*/
|
|
29
|
+
export interface ApiYoutubePrivateStreamPost200Response {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {boolean}
|
|
33
|
+
* @memberof ApiYoutubePrivateStreamPost200Response
|
|
34
|
+
*/
|
|
35
|
+
success: boolean;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof ApiYoutubePrivateStreamPost200Response
|
|
40
|
+
*/
|
|
41
|
+
message: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {ApiYoutubePrivateStreamPost200ResponseResponseObject}
|
|
45
|
+
* @memberof ApiYoutubePrivateStreamPost200Response
|
|
46
|
+
*/
|
|
47
|
+
responseObject?: ApiYoutubePrivateStreamPost200ResponseResponseObject;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof ApiYoutubePrivateStreamPost200Response
|
|
52
|
+
*/
|
|
53
|
+
statusCode: number;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* Check if a given object implements the ApiYoutubePrivateStreamPost200Response interface.
|
|
58
|
+
*/
|
|
59
|
+
export function instanceOfApiYoutubePrivateStreamPost200Response(value: object): value is ApiYoutubePrivateStreamPost200Response {
|
|
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 ApiYoutubePrivateStreamPost200ResponseFromJSON(json: any): ApiYoutubePrivateStreamPost200Response {
|
|
67
|
+
return ApiYoutubePrivateStreamPost200ResponseFromJSONTyped(json, false);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
export function ApiYoutubePrivateStreamPost200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiYoutubePrivateStreamPost200Response {
|
|
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 : ApiYoutubePrivateStreamPost200ResponseResponseObjectFromJSON(json['responseObject']),
|
|
79
|
+
'statusCode': json['statusCode'],
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
export function ApiYoutubePrivateStreamPost200ResponseToJSON(json: any): ApiYoutubePrivateStreamPost200Response {
|
|
84
|
+
return ApiYoutubePrivateStreamPost200ResponseToJSONTyped(json, false);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
export function ApiYoutubePrivateStreamPost200ResponseToJSONTyped(value?: ApiYoutubePrivateStreamPost200Response | 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': ApiYoutubePrivateStreamPost200ResponseResponseObjectToJSON(value['responseObject']),
|
|
97
|
+
'statusCode': value['statusCode'],
|
|
98
|
+
};
|
|
99
|
+
}
|
|
100
|
+
|