@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,91 @@
|
|
|
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 { ApiYoutubePrivateStreamPost200ResponseResponseObjectPrivateStream } from './ApiYoutubePrivateStreamPost200ResponseResponseObjectPrivateStream';
|
|
17
|
+
import {
|
|
18
|
+
ApiYoutubePrivateStreamPost200ResponseResponseObjectPrivateStreamFromJSON,
|
|
19
|
+
ApiYoutubePrivateStreamPost200ResponseResponseObjectPrivateStreamFromJSONTyped,
|
|
20
|
+
ApiYoutubePrivateStreamPost200ResponseResponseObjectPrivateStreamToJSON,
|
|
21
|
+
ApiYoutubePrivateStreamPost200ResponseResponseObjectPrivateStreamToJSONTyped,
|
|
22
|
+
} from './ApiYoutubePrivateStreamPost200ResponseResponseObjectPrivateStream';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface ApiYoutubePrivateStreamPost200ResponseResponseObject
|
|
28
|
+
*/
|
|
29
|
+
export interface ApiYoutubePrivateStreamPost200ResponseResponseObject {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ApiYoutubePrivateStreamPost200ResponseResponseObject
|
|
34
|
+
*/
|
|
35
|
+
message: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof ApiYoutubePrivateStreamPost200ResponseResponseObject
|
|
40
|
+
*/
|
|
41
|
+
timestamp: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {ApiYoutubePrivateStreamPost200ResponseResponseObjectPrivateStream}
|
|
45
|
+
* @memberof ApiYoutubePrivateStreamPost200ResponseResponseObject
|
|
46
|
+
*/
|
|
47
|
+
privateStream?: ApiYoutubePrivateStreamPost200ResponseResponseObjectPrivateStream;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* Check if a given object implements the ApiYoutubePrivateStreamPost200ResponseResponseObject interface.
|
|
52
|
+
*/
|
|
53
|
+
export function instanceOfApiYoutubePrivateStreamPost200ResponseResponseObject(value: object): value is ApiYoutubePrivateStreamPost200ResponseResponseObject {
|
|
54
|
+
if (!('message' in value) || value['message'] === undefined) return false;
|
|
55
|
+
if (!('timestamp' in value) || value['timestamp'] === undefined) return false;
|
|
56
|
+
return true;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export function ApiYoutubePrivateStreamPost200ResponseResponseObjectFromJSON(json: any): ApiYoutubePrivateStreamPost200ResponseResponseObject {
|
|
60
|
+
return ApiYoutubePrivateStreamPost200ResponseResponseObjectFromJSONTyped(json, false);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export function ApiYoutubePrivateStreamPost200ResponseResponseObjectFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiYoutubePrivateStreamPost200ResponseResponseObject {
|
|
64
|
+
if (json == null) {
|
|
65
|
+
return json;
|
|
66
|
+
}
|
|
67
|
+
return {
|
|
68
|
+
|
|
69
|
+
'message': json['message'],
|
|
70
|
+
'timestamp': json['timestamp'],
|
|
71
|
+
'privateStream': json['privateStream'] == null ? undefined : ApiYoutubePrivateStreamPost200ResponseResponseObjectPrivateStreamFromJSON(json['privateStream']),
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
export function ApiYoutubePrivateStreamPost200ResponseResponseObjectToJSON(json: any): ApiYoutubePrivateStreamPost200ResponseResponseObject {
|
|
76
|
+
return ApiYoutubePrivateStreamPost200ResponseResponseObjectToJSONTyped(json, false);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
export function ApiYoutubePrivateStreamPost200ResponseResponseObjectToJSONTyped(value?: ApiYoutubePrivateStreamPost200ResponseResponseObject | null, ignoreDiscriminator: boolean = false): any {
|
|
80
|
+
if (value == null) {
|
|
81
|
+
return value;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
return {
|
|
85
|
+
|
|
86
|
+
'message': value['message'],
|
|
87
|
+
'timestamp': value['timestamp'],
|
|
88
|
+
'privateStream': ApiYoutubePrivateStreamPost200ResponseResponseObjectPrivateStreamToJSON(value['privateStream']),
|
|
89
|
+
};
|
|
90
|
+
}
|
|
91
|
+
|
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* DRX API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface ApiYoutubePrivateStreamPost200ResponseResponseObjectPrivateStream
|
|
20
|
+
*/
|
|
21
|
+
export interface ApiYoutubePrivateStreamPost200ResponseResponseObjectPrivateStream {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof ApiYoutubePrivateStreamPost200ResponseResponseObjectPrivateStream
|
|
26
|
+
*/
|
|
27
|
+
id: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof ApiYoutubePrivateStreamPost200ResponseResponseObjectPrivateStream
|
|
32
|
+
*/
|
|
33
|
+
channelId: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof ApiYoutubePrivateStreamPost200ResponseResponseObjectPrivateStream
|
|
38
|
+
*/
|
|
39
|
+
channelTitle: string;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof ApiYoutubePrivateStreamPost200ResponseResponseObjectPrivateStream
|
|
44
|
+
*/
|
|
45
|
+
videoId: string;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {string}
|
|
49
|
+
* @memberof ApiYoutubePrivateStreamPost200ResponseResponseObjectPrivateStream
|
|
50
|
+
*/
|
|
51
|
+
title: string;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {string}
|
|
55
|
+
* @memberof ApiYoutubePrivateStreamPost200ResponseResponseObjectPrivateStream
|
|
56
|
+
*/
|
|
57
|
+
description?: string;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {string}
|
|
61
|
+
* @memberof ApiYoutubePrivateStreamPost200ResponseResponseObjectPrivateStream
|
|
62
|
+
*/
|
|
63
|
+
thumbnailUrl?: string;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @type {boolean}
|
|
67
|
+
* @memberof ApiYoutubePrivateStreamPost200ResponseResponseObjectPrivateStream
|
|
68
|
+
*/
|
|
69
|
+
isLive: boolean;
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
* @type {number}
|
|
73
|
+
* @memberof ApiYoutubePrivateStreamPost200ResponseResponseObjectPrivateStream
|
|
74
|
+
*/
|
|
75
|
+
viewerCount?: number;
|
|
76
|
+
/**
|
|
77
|
+
*
|
|
78
|
+
* @type {Date}
|
|
79
|
+
* @memberof ApiYoutubePrivateStreamPost200ResponseResponseObjectPrivateStream
|
|
80
|
+
*/
|
|
81
|
+
scheduledStartTime?: Date;
|
|
82
|
+
/**
|
|
83
|
+
*
|
|
84
|
+
* @type {Date}
|
|
85
|
+
* @memberof ApiYoutubePrivateStreamPost200ResponseResponseObjectPrivateStream
|
|
86
|
+
*/
|
|
87
|
+
actualStartTime?: Date;
|
|
88
|
+
/**
|
|
89
|
+
*
|
|
90
|
+
* @type {string}
|
|
91
|
+
* @memberof ApiYoutubePrivateStreamPost200ResponseResponseObjectPrivateStream
|
|
92
|
+
*/
|
|
93
|
+
embedUrl: string;
|
|
94
|
+
/**
|
|
95
|
+
*
|
|
96
|
+
* @type {Date}
|
|
97
|
+
* @memberof ApiYoutubePrivateStreamPost200ResponseResponseObjectPrivateStream
|
|
98
|
+
*/
|
|
99
|
+
createdAt: Date;
|
|
100
|
+
/**
|
|
101
|
+
*
|
|
102
|
+
* @type {Date}
|
|
103
|
+
* @memberof ApiYoutubePrivateStreamPost200ResponseResponseObjectPrivateStream
|
|
104
|
+
*/
|
|
105
|
+
updatedAt: Date;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
/**
|
|
109
|
+
* Check if a given object implements the ApiYoutubePrivateStreamPost200ResponseResponseObjectPrivateStream interface.
|
|
110
|
+
*/
|
|
111
|
+
export function instanceOfApiYoutubePrivateStreamPost200ResponseResponseObjectPrivateStream(value: object): value is ApiYoutubePrivateStreamPost200ResponseResponseObjectPrivateStream {
|
|
112
|
+
if (!('id' in value) || value['id'] === undefined) return false;
|
|
113
|
+
if (!('channelId' in value) || value['channelId'] === undefined) return false;
|
|
114
|
+
if (!('channelTitle' in value) || value['channelTitle'] === undefined) return false;
|
|
115
|
+
if (!('videoId' in value) || value['videoId'] === undefined) return false;
|
|
116
|
+
if (!('title' in value) || value['title'] === undefined) return false;
|
|
117
|
+
if (!('isLive' in value) || value['isLive'] === undefined) return false;
|
|
118
|
+
if (!('embedUrl' in value) || value['embedUrl'] === undefined) return false;
|
|
119
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
|
|
120
|
+
if (!('updatedAt' in value) || value['updatedAt'] === undefined) return false;
|
|
121
|
+
return true;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
export function ApiYoutubePrivateStreamPost200ResponseResponseObjectPrivateStreamFromJSON(json: any): ApiYoutubePrivateStreamPost200ResponseResponseObjectPrivateStream {
|
|
125
|
+
return ApiYoutubePrivateStreamPost200ResponseResponseObjectPrivateStreamFromJSONTyped(json, false);
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
export function ApiYoutubePrivateStreamPost200ResponseResponseObjectPrivateStreamFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiYoutubePrivateStreamPost200ResponseResponseObjectPrivateStream {
|
|
129
|
+
if (json == null) {
|
|
130
|
+
return json;
|
|
131
|
+
}
|
|
132
|
+
return {
|
|
133
|
+
|
|
134
|
+
'id': json['id'],
|
|
135
|
+
'channelId': json['channelId'],
|
|
136
|
+
'channelTitle': json['channelTitle'],
|
|
137
|
+
'videoId': json['videoId'],
|
|
138
|
+
'title': json['title'],
|
|
139
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
140
|
+
'thumbnailUrl': json['thumbnailUrl'] == null ? undefined : json['thumbnailUrl'],
|
|
141
|
+
'isLive': json['isLive'],
|
|
142
|
+
'viewerCount': json['viewerCount'] == null ? undefined : json['viewerCount'],
|
|
143
|
+
'scheduledStartTime': json['scheduledStartTime'] == null ? undefined : (new Date(json['scheduledStartTime'])),
|
|
144
|
+
'actualStartTime': json['actualStartTime'] == null ? undefined : (new Date(json['actualStartTime'])),
|
|
145
|
+
'embedUrl': json['embedUrl'],
|
|
146
|
+
'createdAt': (new Date(json['createdAt'])),
|
|
147
|
+
'updatedAt': (new Date(json['updatedAt'])),
|
|
148
|
+
};
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
export function ApiYoutubePrivateStreamPost200ResponseResponseObjectPrivateStreamToJSON(json: any): ApiYoutubePrivateStreamPost200ResponseResponseObjectPrivateStream {
|
|
152
|
+
return ApiYoutubePrivateStreamPost200ResponseResponseObjectPrivateStreamToJSONTyped(json, false);
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
export function ApiYoutubePrivateStreamPost200ResponseResponseObjectPrivateStreamToJSONTyped(value?: ApiYoutubePrivateStreamPost200ResponseResponseObjectPrivateStream | null, ignoreDiscriminator: boolean = false): any {
|
|
156
|
+
if (value == null) {
|
|
157
|
+
return value;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
return {
|
|
161
|
+
|
|
162
|
+
'id': value['id'],
|
|
163
|
+
'channelId': value['channelId'],
|
|
164
|
+
'channelTitle': value['channelTitle'],
|
|
165
|
+
'videoId': value['videoId'],
|
|
166
|
+
'title': value['title'],
|
|
167
|
+
'description': value['description'],
|
|
168
|
+
'thumbnailUrl': value['thumbnailUrl'],
|
|
169
|
+
'isLive': value['isLive'],
|
|
170
|
+
'viewerCount': value['viewerCount'],
|
|
171
|
+
'scheduledStartTime': value['scheduledStartTime'] == null ? undefined : ((value['scheduledStartTime']).toISOString()),
|
|
172
|
+
'actualStartTime': value['actualStartTime'] == null ? undefined : ((value['actualStartTime']).toISOString()),
|
|
173
|
+
'embedUrl': value['embedUrl'],
|
|
174
|
+
'createdAt': ((value['createdAt']).toISOString()),
|
|
175
|
+
'updatedAt': ((value['updatedAt']).toISOString()),
|
|
176
|
+
};
|
|
177
|
+
}
|
|
178
|
+
|
|
@@ -0,0 +1,91 @@
|
|
|
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 PrivateStreamRequest
|
|
20
|
+
*/
|
|
21
|
+
export interface PrivateStreamRequest {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof PrivateStreamRequest
|
|
26
|
+
*/
|
|
27
|
+
videoId: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof PrivateStreamRequest
|
|
32
|
+
*/
|
|
33
|
+
title: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof PrivateStreamRequest
|
|
38
|
+
*/
|
|
39
|
+
description?: string;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof PrivateStreamRequest
|
|
44
|
+
*/
|
|
45
|
+
thumbnailUrl?: string;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Check if a given object implements the PrivateStreamRequest interface.
|
|
50
|
+
*/
|
|
51
|
+
export function instanceOfPrivateStreamRequest(value: object): value is PrivateStreamRequest {
|
|
52
|
+
if (!('videoId' in value) || value['videoId'] === undefined) return false;
|
|
53
|
+
if (!('title' in value) || value['title'] === undefined) return false;
|
|
54
|
+
return true;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export function PrivateStreamRequestFromJSON(json: any): PrivateStreamRequest {
|
|
58
|
+
return PrivateStreamRequestFromJSONTyped(json, false);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export function PrivateStreamRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PrivateStreamRequest {
|
|
62
|
+
if (json == null) {
|
|
63
|
+
return json;
|
|
64
|
+
}
|
|
65
|
+
return {
|
|
66
|
+
|
|
67
|
+
'videoId': json['videoId'],
|
|
68
|
+
'title': json['title'],
|
|
69
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
70
|
+
'thumbnailUrl': json['thumbnailUrl'] == null ? undefined : json['thumbnailUrl'],
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
export function PrivateStreamRequestToJSON(json: any): PrivateStreamRequest {
|
|
75
|
+
return PrivateStreamRequestToJSONTyped(json, false);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
export function PrivateStreamRequestToJSONTyped(value?: PrivateStreamRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
79
|
+
if (value == null) {
|
|
80
|
+
return value;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
return {
|
|
84
|
+
|
|
85
|
+
'videoId': value['videoId'],
|
|
86
|
+
'title': value['title'],
|
|
87
|
+
'description': value['description'],
|
|
88
|
+
'thumbnailUrl': value['thumbnailUrl'],
|
|
89
|
+
};
|
|
90
|
+
}
|
|
91
|
+
|
|
@@ -0,0 +1,91 @@
|
|
|
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 { ApiYoutubePrivateStreamPost200ResponseResponseObjectPrivateStream } from './ApiYoutubePrivateStreamPost200ResponseResponseObjectPrivateStream';
|
|
17
|
+
import {
|
|
18
|
+
ApiYoutubePrivateStreamPost200ResponseResponseObjectPrivateStreamFromJSON,
|
|
19
|
+
ApiYoutubePrivateStreamPost200ResponseResponseObjectPrivateStreamFromJSONTyped,
|
|
20
|
+
ApiYoutubePrivateStreamPost200ResponseResponseObjectPrivateStreamToJSON,
|
|
21
|
+
ApiYoutubePrivateStreamPost200ResponseResponseObjectPrivateStreamToJSONTyped,
|
|
22
|
+
} from './ApiYoutubePrivateStreamPost200ResponseResponseObjectPrivateStream';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface PrivateStreamResponse
|
|
28
|
+
*/
|
|
29
|
+
export interface PrivateStreamResponse {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof PrivateStreamResponse
|
|
34
|
+
*/
|
|
35
|
+
message: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof PrivateStreamResponse
|
|
40
|
+
*/
|
|
41
|
+
timestamp: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {ApiYoutubePrivateStreamPost200ResponseResponseObjectPrivateStream}
|
|
45
|
+
* @memberof PrivateStreamResponse
|
|
46
|
+
*/
|
|
47
|
+
privateStream?: ApiYoutubePrivateStreamPost200ResponseResponseObjectPrivateStream;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* Check if a given object implements the PrivateStreamResponse interface.
|
|
52
|
+
*/
|
|
53
|
+
export function instanceOfPrivateStreamResponse(value: object): value is PrivateStreamResponse {
|
|
54
|
+
if (!('message' in value) || value['message'] === undefined) return false;
|
|
55
|
+
if (!('timestamp' in value) || value['timestamp'] === undefined) return false;
|
|
56
|
+
return true;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export function PrivateStreamResponseFromJSON(json: any): PrivateStreamResponse {
|
|
60
|
+
return PrivateStreamResponseFromJSONTyped(json, false);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export function PrivateStreamResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PrivateStreamResponse {
|
|
64
|
+
if (json == null) {
|
|
65
|
+
return json;
|
|
66
|
+
}
|
|
67
|
+
return {
|
|
68
|
+
|
|
69
|
+
'message': json['message'],
|
|
70
|
+
'timestamp': json['timestamp'],
|
|
71
|
+
'privateStream': json['privateStream'] == null ? undefined : ApiYoutubePrivateStreamPost200ResponseResponseObjectPrivateStreamFromJSON(json['privateStream']),
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
export function PrivateStreamResponseToJSON(json: any): PrivateStreamResponse {
|
|
76
|
+
return PrivateStreamResponseToJSONTyped(json, false);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
export function PrivateStreamResponseToJSONTyped(value?: PrivateStreamResponse | null, ignoreDiscriminator: boolean = false): any {
|
|
80
|
+
if (value == null) {
|
|
81
|
+
return value;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
return {
|
|
85
|
+
|
|
86
|
+
'message': value['message'],
|
|
87
|
+
'timestamp': value['timestamp'],
|
|
88
|
+
'privateStream': ApiYoutubePrivateStreamPost200ResponseResponseObjectPrivateStreamToJSON(value['privateStream']),
|
|
89
|
+
};
|
|
90
|
+
}
|
|
91
|
+
|
package/models/index.ts
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';
|
package/package.json
CHANGED
|
@@ -1,38 +0,0 @@
|
|
|
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 ApiYoutubeRefreshPost200Response
|
|
16
|
-
*/
|
|
17
|
-
export interface ApiYoutubeRefreshPost200Response {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof ApiYoutubeRefreshPost200Response
|
|
22
|
-
*/
|
|
23
|
-
message?: string;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof ApiYoutubeRefreshPost200Response
|
|
28
|
-
*/
|
|
29
|
-
timestamp?: string;
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* Check if a given object implements the ApiYoutubeRefreshPost200Response interface.
|
|
33
|
-
*/
|
|
34
|
-
export declare function instanceOfApiYoutubeRefreshPost200Response(value: object): value is ApiYoutubeRefreshPost200Response;
|
|
35
|
-
export declare function ApiYoutubeRefreshPost200ResponseFromJSON(json: any): ApiYoutubeRefreshPost200Response;
|
|
36
|
-
export declare function ApiYoutubeRefreshPost200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiYoutubeRefreshPost200Response;
|
|
37
|
-
export declare function ApiYoutubeRefreshPost200ResponseToJSON(json: any): ApiYoutubeRefreshPost200Response;
|
|
38
|
-
export declare function ApiYoutubeRefreshPost200ResponseToJSONTyped(value?: ApiYoutubeRefreshPost200Response | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,73 +0,0 @@
|
|
|
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 ApiYoutubeRefreshPost200Response
|
|
20
|
-
*/
|
|
21
|
-
export interface ApiYoutubeRefreshPost200Response {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof ApiYoutubeRefreshPost200Response
|
|
26
|
-
*/
|
|
27
|
-
message?: string;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof ApiYoutubeRefreshPost200Response
|
|
32
|
-
*/
|
|
33
|
-
timestamp?: string;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
/**
|
|
37
|
-
* Check if a given object implements the ApiYoutubeRefreshPost200Response interface.
|
|
38
|
-
*/
|
|
39
|
-
export function instanceOfApiYoutubeRefreshPost200Response(value: object): value is ApiYoutubeRefreshPost200Response {
|
|
40
|
-
return true;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
export function ApiYoutubeRefreshPost200ResponseFromJSON(json: any): ApiYoutubeRefreshPost200Response {
|
|
44
|
-
return ApiYoutubeRefreshPost200ResponseFromJSONTyped(json, false);
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
export function ApiYoutubeRefreshPost200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiYoutubeRefreshPost200Response {
|
|
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 ApiYoutubeRefreshPost200ResponseToJSON(json: any): ApiYoutubeRefreshPost200Response {
|
|
59
|
-
return ApiYoutubeRefreshPost200ResponseToJSONTyped(json, false);
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
export function ApiYoutubeRefreshPost200ResponseToJSONTyped(value?: ApiYoutubeRefreshPost200Response | 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
|
-
|