@drxsuperapp/sdk 1.1.437 → 1.1.439
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 +3 -2
- package/apis/WalletManagementApi.ts +6 -6
- package/apis/YouTubeIntegrationApi.ts +93 -0
- package/deploy.log +22 -15
- package/dist/apis/WalletManagementApi.d.ts +3 -3
- package/dist/apis/WalletManagementApi.js +2 -2
- package/dist/apis/YouTubeIntegrationApi.d.ts +24 -1
- package/dist/apis/YouTubeIntegrationApi.js +69 -1
- package/dist/models/ApiYoutubePinPostRequest.d.ts +32 -0
- package/dist/models/ApiYoutubePinPostRequest.js +43 -0
- package/dist/models/ApiYoutubeUnpinGet200Response.d.ts +51 -0
- package/dist/models/{ApiWalletUnbindPost200Response.js → ApiYoutubeUnpinGet200Response.js} +11 -11
- package/dist/models/ApiYoutubeUnpinGet200ResponseResponseObject.d.ts +32 -0
- package/dist/models/{ApiWalletUnbindPost200ResponseResponseObject.js → ApiYoutubeUnpinGet200ResponseResponseObject.js} +8 -8
- package/dist/models/index.d.ts +3 -2
- package/dist/models/index.js +3 -2
- package/models/ApiYoutubePinPostRequest.ts +66 -0
- package/models/ApiYoutubeUnpinGet200Response.ts +100 -0
- package/models/ApiYoutubeUnpinGet200ResponseResponseObject.ts +66 -0
- package/models/index.ts +3 -2
- package/package.json +1 -1
- package/dist/models/ApiWalletUnbindPost200Response.d.ts +0 -51
- package/dist/models/ApiWalletUnbindPost200ResponseResponseObject.d.ts +0 -32
- package/models/ApiWalletUnbindPost200Response.ts +0 -100
- package/models/ApiWalletUnbindPost200ResponseResponseObject.ts +0 -66
package/.openapi-generator/FILES
CHANGED
|
@@ -295,8 +295,6 @@ models/ApiWalletConversionRateGet200Response.ts
|
|
|
295
295
|
models/ApiWalletConversionRateGet200ResponseResponseObject.ts
|
|
296
296
|
models/ApiWalletStatusGet200Response.ts
|
|
297
297
|
models/ApiWalletStatusGet200ResponseResponseObject.ts
|
|
298
|
-
models/ApiWalletUnbindPost200Response.ts
|
|
299
|
-
models/ApiWalletUnbindPost200ResponseResponseObject.ts
|
|
300
298
|
models/ApiWeb3AdminSwapAutoApprovePost200Response.ts
|
|
301
299
|
models/ApiWeb3AdminSwapAutoApprovePost200ResponseResponseObject.ts
|
|
302
300
|
models/ApiWeb3AdminSwapIdActionPutRequest.ts
|
|
@@ -346,10 +344,13 @@ models/ApiYoutubeDrxContentGet200ResponseResponseObject.ts
|
|
|
346
344
|
models/ApiYoutubeDrxContentGet200ResponseResponseObjectCurrentLive.ts
|
|
347
345
|
models/ApiYoutubeDrxContentGet200ResponseResponseObjectPinnedContent.ts
|
|
348
346
|
models/ApiYoutubeDrxContentGet200ResponseResponseObjectPreviousContentInner.ts
|
|
347
|
+
models/ApiYoutubePinPostRequest.ts
|
|
349
348
|
models/ApiYoutubePrivateStreamDelete200Response.ts
|
|
350
349
|
models/ApiYoutubePrivateStreamPost200Response.ts
|
|
351
350
|
models/ApiYoutubePrivateStreamPost200ResponseResponseObject.ts
|
|
352
351
|
models/ApiYoutubePrivateStreamPost200ResponseResponseObjectPrivateStream.ts
|
|
352
|
+
models/ApiYoutubeUnpinGet200Response.ts
|
|
353
|
+
models/ApiYoutubeUnpinGet200ResponseResponseObject.ts
|
|
353
354
|
models/PrivateStreamRequest.ts
|
|
354
355
|
models/PrivateStreamResponse.ts
|
|
355
356
|
models/index.ts
|
|
@@ -19,7 +19,7 @@ import type {
|
|
|
19
19
|
ApiWalletBindPostRequest,
|
|
20
20
|
ApiWalletConversionRateGet200Response,
|
|
21
21
|
ApiWalletStatusGet200Response,
|
|
22
|
-
|
|
22
|
+
ApiYoutubeUnpinGet200Response,
|
|
23
23
|
} from '../models/index';
|
|
24
24
|
import {
|
|
25
25
|
ApiWalletBindPost200ResponseFromJSON,
|
|
@@ -30,8 +30,8 @@ import {
|
|
|
30
30
|
ApiWalletConversionRateGet200ResponseToJSON,
|
|
31
31
|
ApiWalletStatusGet200ResponseFromJSON,
|
|
32
32
|
ApiWalletStatusGet200ResponseToJSON,
|
|
33
|
-
|
|
34
|
-
|
|
33
|
+
ApiYoutubeUnpinGet200ResponseFromJSON,
|
|
34
|
+
ApiYoutubeUnpinGet200ResponseToJSON,
|
|
35
35
|
} from '../models/index';
|
|
36
36
|
|
|
37
37
|
export interface ApiWalletBindPostOperationRequest {
|
|
@@ -163,7 +163,7 @@ export class WalletManagementApi extends runtime.BaseAPI {
|
|
|
163
163
|
/**
|
|
164
164
|
* Unbind Wallet
|
|
165
165
|
*/
|
|
166
|
-
async apiWalletUnbindPostRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
166
|
+
async apiWalletUnbindPostRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiYoutubeUnpinGet200Response>> {
|
|
167
167
|
const queryParameters: any = {};
|
|
168
168
|
|
|
169
169
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
@@ -187,13 +187,13 @@ export class WalletManagementApi extends runtime.BaseAPI {
|
|
|
187
187
|
query: queryParameters,
|
|
188
188
|
}, initOverrides);
|
|
189
189
|
|
|
190
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
190
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ApiYoutubeUnpinGet200ResponseFromJSON(jsonValue));
|
|
191
191
|
}
|
|
192
192
|
|
|
193
193
|
/**
|
|
194
194
|
* Unbind Wallet
|
|
195
195
|
*/
|
|
196
|
-
async apiWalletUnbindPost(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
196
|
+
async apiWalletUnbindPost(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiYoutubeUnpinGet200Response> {
|
|
197
197
|
const response = await this.apiWalletUnbindPostRaw(initOverrides);
|
|
198
198
|
return await response.value();
|
|
199
199
|
}
|
|
@@ -16,21 +16,31 @@
|
|
|
16
16
|
import * as runtime from '../runtime';
|
|
17
17
|
import type {
|
|
18
18
|
ApiYoutubeDrxContentGet200Response,
|
|
19
|
+
ApiYoutubePinPostRequest,
|
|
19
20
|
ApiYoutubePrivateStreamDelete200Response,
|
|
20
21
|
ApiYoutubePrivateStreamPost200Response,
|
|
22
|
+
ApiYoutubeUnpinGet200Response,
|
|
21
23
|
PrivateStreamRequest,
|
|
22
24
|
} from '../models/index';
|
|
23
25
|
import {
|
|
24
26
|
ApiYoutubeDrxContentGet200ResponseFromJSON,
|
|
25
27
|
ApiYoutubeDrxContentGet200ResponseToJSON,
|
|
28
|
+
ApiYoutubePinPostRequestFromJSON,
|
|
29
|
+
ApiYoutubePinPostRequestToJSON,
|
|
26
30
|
ApiYoutubePrivateStreamDelete200ResponseFromJSON,
|
|
27
31
|
ApiYoutubePrivateStreamDelete200ResponseToJSON,
|
|
28
32
|
ApiYoutubePrivateStreamPost200ResponseFromJSON,
|
|
29
33
|
ApiYoutubePrivateStreamPost200ResponseToJSON,
|
|
34
|
+
ApiYoutubeUnpinGet200ResponseFromJSON,
|
|
35
|
+
ApiYoutubeUnpinGet200ResponseToJSON,
|
|
30
36
|
PrivateStreamRequestFromJSON,
|
|
31
37
|
PrivateStreamRequestToJSON,
|
|
32
38
|
} from '../models/index';
|
|
33
39
|
|
|
40
|
+
export interface ApiYoutubePinPostOperationRequest {
|
|
41
|
+
apiYoutubePinPostRequest?: ApiYoutubePinPostRequest;
|
|
42
|
+
}
|
|
43
|
+
|
|
34
44
|
export interface ApiYoutubePrivateStreamPostRequest {
|
|
35
45
|
privateStreamRequest: PrivateStreamRequest;
|
|
36
46
|
}
|
|
@@ -80,6 +90,49 @@ export class YouTubeIntegrationApi extends runtime.BaseAPI {
|
|
|
80
90
|
return await response.value();
|
|
81
91
|
}
|
|
82
92
|
|
|
93
|
+
/**
|
|
94
|
+
* Pin a content to the top of the queue
|
|
95
|
+
* Pin Content
|
|
96
|
+
*/
|
|
97
|
+
async apiYoutubePinPostRaw(requestParameters: ApiYoutubePinPostOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiYoutubePrivateStreamPost200Response>> {
|
|
98
|
+
const queryParameters: any = {};
|
|
99
|
+
|
|
100
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
101
|
+
|
|
102
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
103
|
+
|
|
104
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
105
|
+
headerParameters["x-api-key"] = await this.configuration.apiKey("x-api-key"); // ApiKeyAuth authentication
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
109
|
+
const token = this.configuration.accessToken;
|
|
110
|
+
const tokenString = await token("BearerAuth", []);
|
|
111
|
+
|
|
112
|
+
if (tokenString) {
|
|
113
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
const response = await this.request({
|
|
117
|
+
path: `/api/youtube/pin`,
|
|
118
|
+
method: 'POST',
|
|
119
|
+
headers: headerParameters,
|
|
120
|
+
query: queryParameters,
|
|
121
|
+
body: ApiYoutubePinPostRequestToJSON(requestParameters['apiYoutubePinPostRequest']),
|
|
122
|
+
}, initOverrides);
|
|
123
|
+
|
|
124
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ApiYoutubePrivateStreamPost200ResponseFromJSON(jsonValue));
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
/**
|
|
128
|
+
* Pin a content to the top of the queue
|
|
129
|
+
* Pin Content
|
|
130
|
+
*/
|
|
131
|
+
async apiYoutubePinPost(requestParameters: ApiYoutubePinPostOperationRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiYoutubePrivateStreamPost200Response> {
|
|
132
|
+
const response = await this.apiYoutubePinPostRaw(requestParameters, initOverrides);
|
|
133
|
+
return await response.value();
|
|
134
|
+
}
|
|
135
|
+
|
|
83
136
|
/**
|
|
84
137
|
* Remove the private stream and resume automatic live stream detection
|
|
85
138
|
* Remove Private Stream
|
|
@@ -210,4 +263,44 @@ export class YouTubeIntegrationApi extends runtime.BaseAPI {
|
|
|
210
263
|
return await response.value();
|
|
211
264
|
}
|
|
212
265
|
|
|
266
|
+
/**
|
|
267
|
+
* Unpin a content from the top of the queue
|
|
268
|
+
* Unpin Content
|
|
269
|
+
*/
|
|
270
|
+
async apiYoutubeUnpinGetRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiYoutubeUnpinGet200Response>> {
|
|
271
|
+
const queryParameters: any = {};
|
|
272
|
+
|
|
273
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
274
|
+
|
|
275
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
276
|
+
headerParameters["x-api-key"] = await this.configuration.apiKey("x-api-key"); // ApiKeyAuth authentication
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
280
|
+
const token = this.configuration.accessToken;
|
|
281
|
+
const tokenString = await token("BearerAuth", []);
|
|
282
|
+
|
|
283
|
+
if (tokenString) {
|
|
284
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
285
|
+
}
|
|
286
|
+
}
|
|
287
|
+
const response = await this.request({
|
|
288
|
+
path: `/api/youtube/unpin`,
|
|
289
|
+
method: 'GET',
|
|
290
|
+
headers: headerParameters,
|
|
291
|
+
query: queryParameters,
|
|
292
|
+
}, initOverrides);
|
|
293
|
+
|
|
294
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ApiYoutubeUnpinGet200ResponseFromJSON(jsonValue));
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
/**
|
|
298
|
+
* Unpin a content from the top of the queue
|
|
299
|
+
* Unpin Content
|
|
300
|
+
*/
|
|
301
|
+
async apiYoutubeUnpinGet(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiYoutubeUnpinGet200Response> {
|
|
302
|
+
const response = await this.apiYoutubeUnpinGetRaw(initOverrides);
|
|
303
|
+
return await response.value();
|
|
304
|
+
}
|
|
305
|
+
|
|
213
306
|
}
|
package/deploy.log
CHANGED
|
@@ -42,6 +42,9 @@
|
|
|
42
42
|
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_youtube_private_stream_post_200_response_responseObject. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_youtube_private_stream_post_200_response_responseObject=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_youtube_private_stream_post_200_response_responseObject=NewModel,ModelA=NewModelA in CLI).
|
|
43
43
|
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_youtube_private_stream_post_200_response. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_youtube_private_stream_post_200_response=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_youtube_private_stream_post_200_response=NewModel,ModelA=NewModelA in CLI).
|
|
44
44
|
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_youtube_private_stream_delete_200_response. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_youtube_private_stream_delete_200_response=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_youtube_private_stream_delete_200_response=NewModel,ModelA=NewModelA in CLI).
|
|
45
|
+
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_youtube_pin_post_request. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_youtube_pin_post_request=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_youtube_pin_post_request=NewModel,ModelA=NewModelA in CLI).
|
|
46
|
+
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_youtube_unpin_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_unpin_get_200_response_responseObject=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_youtube_unpin_get_200_response_responseObject=NewModel,ModelA=NewModelA in CLI).
|
|
47
|
+
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_youtube_unpin_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_unpin_get_200_response=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_youtube_unpin_get_200_response=NewModel,ModelA=NewModelA in CLI).
|
|
45
48
|
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_garudaku_content_get_200_response_responseObject. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_garudaku_content_get_200_response_responseObject=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_garudaku_content_get_200_response_responseObject=NewModel,ModelA=NewModelA in CLI).
|
|
46
49
|
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_garudaku_content_get_200_response. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_garudaku_content_get_200_response=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_garudaku_content_get_200_response=NewModel,ModelA=NewModelA in CLI).
|
|
47
50
|
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_garudaku_private_stream_post_request. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_garudaku_private_stream_post_request=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_garudaku_private_stream_post_request=NewModel,ModelA=NewModelA in CLI).
|
|
@@ -260,8 +263,6 @@
|
|
|
260
263
|
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_wallet_bind_post_request. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_wallet_bind_post_request=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_wallet_bind_post_request=NewModel,ModelA=NewModelA in CLI).
|
|
261
264
|
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_wallet_bind_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_wallet_bind_post_200_response_responseObject=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_wallet_bind_post_200_response_responseObject=NewModel,ModelA=NewModelA in CLI).
|
|
262
265
|
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_wallet_bind_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_wallet_bind_post_200_response=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_wallet_bind_post_200_response=NewModel,ModelA=NewModelA in CLI).
|
|
263
|
-
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_wallet_unbind_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_wallet_unbind_post_200_response_responseObject=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_wallet_unbind_post_200_response_responseObject=NewModel,ModelA=NewModelA in CLI).
|
|
264
|
-
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_wallet_unbind_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_wallet_unbind_post_200_response=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_wallet_unbind_post_200_response=NewModel,ModelA=NewModelA in CLI).
|
|
265
266
|
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_wallet_conversion_rate_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_wallet_conversion_rate_get_200_response_responseObject=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_wallet_conversion_rate_get_200_response_responseObject=NewModel,ModelA=NewModelA in CLI).
|
|
266
267
|
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_wallet_conversion_rate_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_wallet_conversion_rate_get_200_response=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_wallet_conversion_rate_get_200_response=NewModel,ModelA=NewModelA in CLI).
|
|
267
268
|
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_web3_reward_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_web3_reward_get_filter_parameter=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_web3_reward_get_filter_parameter=NewModel,ModelA=NewModelA in CLI).
|
|
@@ -603,8 +604,6 @@
|
|
|
603
604
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiWalletConversionRateGet200ResponseResponseObject.ts
|
|
604
605
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiWalletStatusGet200Response.ts
|
|
605
606
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiWalletStatusGet200ResponseResponseObject.ts
|
|
606
|
-
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiWalletUnbindPost200Response.ts
|
|
607
|
-
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiWalletUnbindPost200ResponseResponseObject.ts
|
|
608
607
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiWeb3AdminSwapAutoApprovePost200Response.ts
|
|
609
608
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiWeb3AdminSwapAutoApprovePost200ResponseResponseObject.ts
|
|
610
609
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiWeb3AdminSwapIdActionPutRequest.ts
|
|
@@ -654,10 +653,13 @@
|
|
|
654
653
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiYoutubeDrxContentGet200ResponseResponseObjectCurrentLive.ts
|
|
655
654
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiYoutubeDrxContentGet200ResponseResponseObjectPinnedContent.ts
|
|
656
655
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiYoutubeDrxContentGet200ResponseResponseObjectPreviousContentInner.ts
|
|
656
|
+
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiYoutubePinPostRequest.ts
|
|
657
657
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiYoutubePrivateStreamDelete200Response.ts
|
|
658
658
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiYoutubePrivateStreamPost200Response.ts
|
|
659
659
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiYoutubePrivateStreamPost200ResponseResponseObject.ts
|
|
660
660
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiYoutubePrivateStreamPost200ResponseResponseObjectPrivateStream.ts
|
|
661
|
+
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiYoutubeUnpinGet200Response.ts
|
|
662
|
+
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiYoutubeUnpinGet200ResponseResponseObject.ts
|
|
661
663
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/PrivateStreamRequest.ts
|
|
662
664
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/PrivateStreamResponse.ts
|
|
663
665
|
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: get /api/healthCheck. Renamed to auto-generated operationId: apiHealthCheckGet
|
|
@@ -672,6 +674,8 @@
|
|
|
672
674
|
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: post /api/youtube/private-stream. Renamed to auto-generated operationId: apiYoutubePrivateStreamPost
|
|
673
675
|
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: delete /api/youtube/private-stream. Renamed to auto-generated operationId: apiYoutubePrivateStreamDelete
|
|
674
676
|
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: post /api/youtube/refresh. Renamed to auto-generated operationId: apiYoutubeRefreshPost
|
|
677
|
+
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: post /api/youtube/pin. Renamed to auto-generated operationId: apiYoutubePinPost
|
|
678
|
+
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: get /api/youtube/unpin. Renamed to auto-generated operationId: apiYoutubeUnpinGet
|
|
675
679
|
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: get /api/garudaku/content. Renamed to auto-generated operationId: apiGarudakuContentGet
|
|
676
680
|
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: post /api/garudaku/private-stream. Renamed to auto-generated operationId: apiGarudakuPrivateStreamPost
|
|
677
681
|
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: delete /api/garudaku/private-stream. Renamed to auto-generated operationId: apiGarudakuPrivateStreamDelete
|
|
@@ -865,23 +869,26 @@
|
|
|
865
869
|
# https://opencollective.com/openapi_generator/donate #
|
|
866
870
|
################################################################################
|
|
867
871
|
✅ SDK generated
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
To https://gitlab.com/drx-super/drx-sdk.git
|
|
874
|
-
a648fbe..8a8aab1 master -> master
|
|
872
|
+
On branch master
|
|
873
|
+
Your branch is up to date with 'origin/master'.
|
|
874
|
+
|
|
875
|
+
nothing to commit, working tree clean
|
|
876
|
+
Everything up-to-date
|
|
875
877
|
✅ Changes committed and pushed
|
|
876
|
-
v1.1.
|
|
878
|
+
v1.1.439
|
|
879
|
+
npm notice
|
|
880
|
+
npm notice New major version of npm available! 10.9.2 -> 11.6.0
|
|
881
|
+
npm notice Changelog: https://github.com/npm/cli/releases/tag/v11.6.0
|
|
882
|
+
npm notice To update run: npm install -g npm@11.6.0
|
|
883
|
+
npm notice
|
|
877
884
|
To https://gitlab.com/drx-super/drx-sdk.git
|
|
878
|
-
|
|
885
|
+
8ec6c4d..16dcc73 master -> master
|
|
879
886
|
✅ Version bumped
|
|
880
887
|
|
|
881
|
-
> @drxsuperapp/sdk@1.1.
|
|
888
|
+
> @drxsuperapp/sdk@1.1.439 prepublishOnly
|
|
882
889
|
> npm run build
|
|
883
890
|
|
|
884
891
|
|
|
885
|
-
> @drxsuperapp/sdk@1.1.
|
|
892
|
+
> @drxsuperapp/sdk@1.1.439 build
|
|
886
893
|
> tsc
|
|
887
894
|
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { ApiWalletBindPost200Response, ApiWalletBindPostRequest, ApiWalletConversionRateGet200Response, ApiWalletStatusGet200Response,
|
|
13
|
+
import type { ApiWalletBindPost200Response, ApiWalletBindPostRequest, ApiWalletConversionRateGet200Response, ApiWalletStatusGet200Response, ApiYoutubeUnpinGet200Response } from '../models/index';
|
|
14
14
|
export interface ApiWalletBindPostOperationRequest {
|
|
15
15
|
apiWalletBindPostRequest?: ApiWalletBindPostRequest;
|
|
16
16
|
}
|
|
@@ -45,9 +45,9 @@ export declare class WalletManagementApi extends runtime.BaseAPI {
|
|
|
45
45
|
/**
|
|
46
46
|
* Unbind Wallet
|
|
47
47
|
*/
|
|
48
|
-
apiWalletUnbindPostRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
48
|
+
apiWalletUnbindPostRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiYoutubeUnpinGet200Response>>;
|
|
49
49
|
/**
|
|
50
50
|
* Unbind Wallet
|
|
51
51
|
*/
|
|
52
|
-
apiWalletUnbindPost(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
52
|
+
apiWalletUnbindPost(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiYoutubeUnpinGet200Response>;
|
|
53
53
|
}
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
import * as runtime from '../runtime';
|
|
15
|
-
import { ApiWalletBindPost200ResponseFromJSON, ApiWalletBindPostRequestToJSON, ApiWalletConversionRateGet200ResponseFromJSON, ApiWalletStatusGet200ResponseFromJSON,
|
|
15
|
+
import { ApiWalletBindPost200ResponseFromJSON, ApiWalletBindPostRequestToJSON, ApiWalletConversionRateGet200ResponseFromJSON, ApiWalletStatusGet200ResponseFromJSON, ApiYoutubeUnpinGet200ResponseFromJSON, } from '../models/index';
|
|
16
16
|
/**
|
|
17
17
|
*
|
|
18
18
|
*/
|
|
@@ -134,7 +134,7 @@ export class WalletManagementApi extends runtime.BaseAPI {
|
|
|
134
134
|
headers: headerParameters,
|
|
135
135
|
query: queryParameters,
|
|
136
136
|
}, initOverrides);
|
|
137
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
137
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ApiYoutubeUnpinGet200ResponseFromJSON(jsonValue));
|
|
138
138
|
}
|
|
139
139
|
/**
|
|
140
140
|
* Unbind Wallet
|
|
@@ -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, ApiYoutubePrivateStreamDelete200Response, ApiYoutubePrivateStreamPost200Response, PrivateStreamRequest } from '../models/index';
|
|
13
|
+
import type { ApiYoutubeDrxContentGet200Response, ApiYoutubePinPostRequest, ApiYoutubePrivateStreamDelete200Response, ApiYoutubePrivateStreamPost200Response, ApiYoutubeUnpinGet200Response, PrivateStreamRequest } from '../models/index';
|
|
14
|
+
export interface ApiYoutubePinPostOperationRequest {
|
|
15
|
+
apiYoutubePinPostRequest?: ApiYoutubePinPostRequest;
|
|
16
|
+
}
|
|
14
17
|
export interface ApiYoutubePrivateStreamPostRequest {
|
|
15
18
|
privateStreamRequest: PrivateStreamRequest;
|
|
16
19
|
}
|
|
@@ -28,6 +31,16 @@ export declare class YouTubeIntegrationApi extends runtime.BaseAPI {
|
|
|
28
31
|
* Get DRX Sportnet Content
|
|
29
32
|
*/
|
|
30
33
|
apiYoutubeDrxContentGet(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiYoutubeDrxContentGet200Response>;
|
|
34
|
+
/**
|
|
35
|
+
* Pin a content to the top of the queue
|
|
36
|
+
* Pin Content
|
|
37
|
+
*/
|
|
38
|
+
apiYoutubePinPostRaw(requestParameters: ApiYoutubePinPostOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiYoutubePrivateStreamPost200Response>>;
|
|
39
|
+
/**
|
|
40
|
+
* Pin a content to the top of the queue
|
|
41
|
+
* Pin Content
|
|
42
|
+
*/
|
|
43
|
+
apiYoutubePinPost(requestParameters?: ApiYoutubePinPostOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiYoutubePrivateStreamPost200Response>;
|
|
31
44
|
/**
|
|
32
45
|
* Remove the private stream and resume automatic live stream detection
|
|
33
46
|
* Remove Private Stream
|
|
@@ -58,4 +71,14 @@ export declare class YouTubeIntegrationApi extends runtime.BaseAPI {
|
|
|
58
71
|
* Refresh DRX Sportnet Content
|
|
59
72
|
*/
|
|
60
73
|
apiYoutubeRefreshPost(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiYoutubePrivateStreamDelete200Response>;
|
|
74
|
+
/**
|
|
75
|
+
* Unpin a content from the top of the queue
|
|
76
|
+
* Unpin Content
|
|
77
|
+
*/
|
|
78
|
+
apiYoutubeUnpinGetRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiYoutubeUnpinGet200Response>>;
|
|
79
|
+
/**
|
|
80
|
+
* Unpin a content from the top of the queue
|
|
81
|
+
* Unpin Content
|
|
82
|
+
*/
|
|
83
|
+
apiYoutubeUnpinGet(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiYoutubeUnpinGet200Response>;
|
|
61
84
|
}
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
import * as runtime from '../runtime';
|
|
15
|
-
import { ApiYoutubeDrxContentGet200ResponseFromJSON, ApiYoutubePrivateStreamDelete200ResponseFromJSON, ApiYoutubePrivateStreamPost200ResponseFromJSON, PrivateStreamRequestToJSON, } from '../models/index';
|
|
15
|
+
import { ApiYoutubeDrxContentGet200ResponseFromJSON, ApiYoutubePinPostRequestToJSON, ApiYoutubePrivateStreamDelete200ResponseFromJSON, ApiYoutubePrivateStreamPost200ResponseFromJSON, ApiYoutubeUnpinGet200ResponseFromJSON, PrivateStreamRequestToJSON, } from '../models/index';
|
|
16
16
|
/**
|
|
17
17
|
*
|
|
18
18
|
*/
|
|
@@ -50,6 +50,41 @@ export class YouTubeIntegrationApi extends runtime.BaseAPI {
|
|
|
50
50
|
const response = await this.apiYoutubeDrxContentGetRaw(initOverrides);
|
|
51
51
|
return await response.value();
|
|
52
52
|
}
|
|
53
|
+
/**
|
|
54
|
+
* Pin a content to the top of the queue
|
|
55
|
+
* Pin Content
|
|
56
|
+
*/
|
|
57
|
+
async apiYoutubePinPostRaw(requestParameters, initOverrides) {
|
|
58
|
+
const queryParameters = {};
|
|
59
|
+
const headerParameters = {};
|
|
60
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
61
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
62
|
+
headerParameters["x-api-key"] = await this.configuration.apiKey("x-api-key"); // ApiKeyAuth authentication
|
|
63
|
+
}
|
|
64
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
65
|
+
const token = this.configuration.accessToken;
|
|
66
|
+
const tokenString = await token("BearerAuth", []);
|
|
67
|
+
if (tokenString) {
|
|
68
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
const response = await this.request({
|
|
72
|
+
path: `/api/youtube/pin`,
|
|
73
|
+
method: 'POST',
|
|
74
|
+
headers: headerParameters,
|
|
75
|
+
query: queryParameters,
|
|
76
|
+
body: ApiYoutubePinPostRequestToJSON(requestParameters['apiYoutubePinPostRequest']),
|
|
77
|
+
}, initOverrides);
|
|
78
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ApiYoutubePrivateStreamPost200ResponseFromJSON(jsonValue));
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* Pin a content to the top of the queue
|
|
82
|
+
* Pin Content
|
|
83
|
+
*/
|
|
84
|
+
async apiYoutubePinPost(requestParameters = {}, initOverrides) {
|
|
85
|
+
const response = await this.apiYoutubePinPostRaw(requestParameters, initOverrides);
|
|
86
|
+
return await response.value();
|
|
87
|
+
}
|
|
53
88
|
/**
|
|
54
89
|
* Remove the private stream and resume automatic live stream detection
|
|
55
90
|
* Remove Private Stream
|
|
@@ -154,4 +189,37 @@ export class YouTubeIntegrationApi extends runtime.BaseAPI {
|
|
|
154
189
|
const response = await this.apiYoutubeRefreshPostRaw(initOverrides);
|
|
155
190
|
return await response.value();
|
|
156
191
|
}
|
|
192
|
+
/**
|
|
193
|
+
* Unpin a content from the top of the queue
|
|
194
|
+
* Unpin Content
|
|
195
|
+
*/
|
|
196
|
+
async apiYoutubeUnpinGetRaw(initOverrides) {
|
|
197
|
+
const queryParameters = {};
|
|
198
|
+
const headerParameters = {};
|
|
199
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
200
|
+
headerParameters["x-api-key"] = await this.configuration.apiKey("x-api-key"); // ApiKeyAuth authentication
|
|
201
|
+
}
|
|
202
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
203
|
+
const token = this.configuration.accessToken;
|
|
204
|
+
const tokenString = await token("BearerAuth", []);
|
|
205
|
+
if (tokenString) {
|
|
206
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
const response = await this.request({
|
|
210
|
+
path: `/api/youtube/unpin`,
|
|
211
|
+
method: 'GET',
|
|
212
|
+
headers: headerParameters,
|
|
213
|
+
query: queryParameters,
|
|
214
|
+
}, initOverrides);
|
|
215
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ApiYoutubeUnpinGet200ResponseFromJSON(jsonValue));
|
|
216
|
+
}
|
|
217
|
+
/**
|
|
218
|
+
* Unpin a content from the top of the queue
|
|
219
|
+
* Unpin Content
|
|
220
|
+
*/
|
|
221
|
+
async apiYoutubeUnpinGet(initOverrides) {
|
|
222
|
+
const response = await this.apiYoutubeUnpinGetRaw(initOverrides);
|
|
223
|
+
return await response.value();
|
|
224
|
+
}
|
|
157
225
|
}
|
|
@@ -0,0 +1,32 @@
|
|
|
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 ApiYoutubePinPostRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface ApiYoutubePinPostRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ApiYoutubePinPostRequest
|
|
22
|
+
*/
|
|
23
|
+
link: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the ApiYoutubePinPostRequest interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfApiYoutubePinPostRequest(value: object): value is ApiYoutubePinPostRequest;
|
|
29
|
+
export declare function ApiYoutubePinPostRequestFromJSON(json: any): ApiYoutubePinPostRequest;
|
|
30
|
+
export declare function ApiYoutubePinPostRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiYoutubePinPostRequest;
|
|
31
|
+
export declare function ApiYoutubePinPostRequestToJSON(json: any): ApiYoutubePinPostRequest;
|
|
32
|
+
export declare function ApiYoutubePinPostRequestToJSONTyped(value?: ApiYoutubePinPostRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,43 @@
|
|
|
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 ApiYoutubePinPostRequest interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfApiYoutubePinPostRequest(value) {
|
|
18
|
+
if (!('link' in value) || value['link'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
return true;
|
|
21
|
+
}
|
|
22
|
+
export function ApiYoutubePinPostRequestFromJSON(json) {
|
|
23
|
+
return ApiYoutubePinPostRequestFromJSONTyped(json, false);
|
|
24
|
+
}
|
|
25
|
+
export function ApiYoutubePinPostRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
+
if (json == null) {
|
|
27
|
+
return json;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'link': json['link'],
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
export function ApiYoutubePinPostRequestToJSON(json) {
|
|
34
|
+
return ApiYoutubePinPostRequestToJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
export function ApiYoutubePinPostRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
37
|
+
if (value == null) {
|
|
38
|
+
return value;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'link': value['link'],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
@@ -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 { ApiYoutubeUnpinGet200ResponseResponseObject } from './ApiYoutubeUnpinGet200ResponseResponseObject';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ApiYoutubeUnpinGet200Response
|
|
17
|
+
*/
|
|
18
|
+
export interface ApiYoutubeUnpinGet200Response {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {boolean}
|
|
22
|
+
* @memberof ApiYoutubeUnpinGet200Response
|
|
23
|
+
*/
|
|
24
|
+
success: boolean;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ApiYoutubeUnpinGet200Response
|
|
29
|
+
*/
|
|
30
|
+
message: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {ApiYoutubeUnpinGet200ResponseResponseObject}
|
|
34
|
+
* @memberof ApiYoutubeUnpinGet200Response
|
|
35
|
+
*/
|
|
36
|
+
responseObject?: ApiYoutubeUnpinGet200ResponseResponseObject;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {number}
|
|
40
|
+
* @memberof ApiYoutubeUnpinGet200Response
|
|
41
|
+
*/
|
|
42
|
+
statusCode: number;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Check if a given object implements the ApiYoutubeUnpinGet200Response interface.
|
|
46
|
+
*/
|
|
47
|
+
export declare function instanceOfApiYoutubeUnpinGet200Response(value: object): value is ApiYoutubeUnpinGet200Response;
|
|
48
|
+
export declare function ApiYoutubeUnpinGet200ResponseFromJSON(json: any): ApiYoutubeUnpinGet200Response;
|
|
49
|
+
export declare function ApiYoutubeUnpinGet200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiYoutubeUnpinGet200Response;
|
|
50
|
+
export declare function ApiYoutubeUnpinGet200ResponseToJSON(json: any): ApiYoutubeUnpinGet200Response;
|
|
51
|
+
export declare function ApiYoutubeUnpinGet200ResponseToJSONTyped(value?: ApiYoutubeUnpinGet200Response | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -11,11 +11,11 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
-
import {
|
|
14
|
+
import { ApiYoutubeUnpinGet200ResponseResponseObjectFromJSON, ApiYoutubeUnpinGet200ResponseResponseObjectToJSON, } from './ApiYoutubeUnpinGet200ResponseResponseObject';
|
|
15
15
|
/**
|
|
16
|
-
* Check if a given object implements the
|
|
16
|
+
* Check if a given object implements the ApiYoutubeUnpinGet200Response interface.
|
|
17
17
|
*/
|
|
18
|
-
export function
|
|
18
|
+
export function instanceOfApiYoutubeUnpinGet200Response(value) {
|
|
19
19
|
if (!('success' in value) || value['success'] === undefined)
|
|
20
20
|
return false;
|
|
21
21
|
if (!('message' in value) || value['message'] === undefined)
|
|
@@ -24,31 +24,31 @@ export function instanceOfApiWalletUnbindPost200Response(value) {
|
|
|
24
24
|
return false;
|
|
25
25
|
return true;
|
|
26
26
|
}
|
|
27
|
-
export function
|
|
28
|
-
return
|
|
27
|
+
export function ApiYoutubeUnpinGet200ResponseFromJSON(json) {
|
|
28
|
+
return ApiYoutubeUnpinGet200ResponseFromJSONTyped(json, false);
|
|
29
29
|
}
|
|
30
|
-
export function
|
|
30
|
+
export function ApiYoutubeUnpinGet200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
31
|
if (json == null) {
|
|
32
32
|
return json;
|
|
33
33
|
}
|
|
34
34
|
return {
|
|
35
35
|
'success': json['success'],
|
|
36
36
|
'message': json['message'],
|
|
37
|
-
'responseObject': json['responseObject'] == null ? undefined :
|
|
37
|
+
'responseObject': json['responseObject'] == null ? undefined : ApiYoutubeUnpinGet200ResponseResponseObjectFromJSON(json['responseObject']),
|
|
38
38
|
'statusCode': json['statusCode'],
|
|
39
39
|
};
|
|
40
40
|
}
|
|
41
|
-
export function
|
|
42
|
-
return
|
|
41
|
+
export function ApiYoutubeUnpinGet200ResponseToJSON(json) {
|
|
42
|
+
return ApiYoutubeUnpinGet200ResponseToJSONTyped(json, false);
|
|
43
43
|
}
|
|
44
|
-
export function
|
|
44
|
+
export function ApiYoutubeUnpinGet200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
45
|
if (value == null) {
|
|
46
46
|
return value;
|
|
47
47
|
}
|
|
48
48
|
return {
|
|
49
49
|
'success': value['success'],
|
|
50
50
|
'message': value['message'],
|
|
51
|
-
'responseObject':
|
|
51
|
+
'responseObject': ApiYoutubeUnpinGet200ResponseResponseObjectToJSON(value['responseObject']),
|
|
52
52
|
'statusCode': value['statusCode'],
|
|
53
53
|
};
|
|
54
54
|
}
|
|
@@ -0,0 +1,32 @@
|
|
|
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 ApiYoutubeUnpinGet200ResponseResponseObject
|
|
16
|
+
*/
|
|
17
|
+
export interface ApiYoutubeUnpinGet200ResponseResponseObject {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ApiYoutubeUnpinGet200ResponseResponseObject
|
|
22
|
+
*/
|
|
23
|
+
message: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the ApiYoutubeUnpinGet200ResponseResponseObject interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfApiYoutubeUnpinGet200ResponseResponseObject(value: object): value is ApiYoutubeUnpinGet200ResponseResponseObject;
|
|
29
|
+
export declare function ApiYoutubeUnpinGet200ResponseResponseObjectFromJSON(json: any): ApiYoutubeUnpinGet200ResponseResponseObject;
|
|
30
|
+
export declare function ApiYoutubeUnpinGet200ResponseResponseObjectFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiYoutubeUnpinGet200ResponseResponseObject;
|
|
31
|
+
export declare function ApiYoutubeUnpinGet200ResponseResponseObjectToJSON(json: any): ApiYoutubeUnpinGet200ResponseResponseObject;
|
|
32
|
+
export declare function ApiYoutubeUnpinGet200ResponseResponseObjectToJSONTyped(value?: ApiYoutubeUnpinGet200ResponseResponseObject | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -12,17 +12,17 @@
|
|
|
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 ApiYoutubeUnpinGet200ResponseResponseObject interface.
|
|
16
16
|
*/
|
|
17
|
-
export function
|
|
17
|
+
export function instanceOfApiYoutubeUnpinGet200ResponseResponseObject(value) {
|
|
18
18
|
if (!('message' in value) || value['message'] === undefined)
|
|
19
19
|
return false;
|
|
20
20
|
return true;
|
|
21
21
|
}
|
|
22
|
-
export function
|
|
23
|
-
return
|
|
22
|
+
export function ApiYoutubeUnpinGet200ResponseResponseObjectFromJSON(json) {
|
|
23
|
+
return ApiYoutubeUnpinGet200ResponseResponseObjectFromJSONTyped(json, false);
|
|
24
24
|
}
|
|
25
|
-
export function
|
|
25
|
+
export function ApiYoutubeUnpinGet200ResponseResponseObjectFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
26
|
if (json == null) {
|
|
27
27
|
return json;
|
|
28
28
|
}
|
|
@@ -30,10 +30,10 @@ export function ApiWalletUnbindPost200ResponseResponseObjectFromJSONTyped(json,
|
|
|
30
30
|
'message': json['message'],
|
|
31
31
|
};
|
|
32
32
|
}
|
|
33
|
-
export function
|
|
34
|
-
return
|
|
33
|
+
export function ApiYoutubeUnpinGet200ResponseResponseObjectToJSON(json) {
|
|
34
|
+
return ApiYoutubeUnpinGet200ResponseResponseObjectToJSONTyped(json, false);
|
|
35
35
|
}
|
|
36
|
-
export function
|
|
36
|
+
export function ApiYoutubeUnpinGet200ResponseResponseObjectToJSONTyped(value, ignoreDiscriminator = false) {
|
|
37
37
|
if (value == null) {
|
|
38
38
|
return value;
|
|
39
39
|
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -268,8 +268,6 @@ export * from './ApiWalletConversionRateGet200Response';
|
|
|
268
268
|
export * from './ApiWalletConversionRateGet200ResponseResponseObject';
|
|
269
269
|
export * from './ApiWalletStatusGet200Response';
|
|
270
270
|
export * from './ApiWalletStatusGet200ResponseResponseObject';
|
|
271
|
-
export * from './ApiWalletUnbindPost200Response';
|
|
272
|
-
export * from './ApiWalletUnbindPost200ResponseResponseObject';
|
|
273
271
|
export * from './ApiWeb3AdminSwapAutoApprovePost200Response';
|
|
274
272
|
export * from './ApiWeb3AdminSwapAutoApprovePost200ResponseResponseObject';
|
|
275
273
|
export * from './ApiWeb3AdminSwapIdActionPutRequest';
|
|
@@ -319,9 +317,12 @@ export * from './ApiYoutubeDrxContentGet200ResponseResponseObject';
|
|
|
319
317
|
export * from './ApiYoutubeDrxContentGet200ResponseResponseObjectCurrentLive';
|
|
320
318
|
export * from './ApiYoutubeDrxContentGet200ResponseResponseObjectPinnedContent';
|
|
321
319
|
export * from './ApiYoutubeDrxContentGet200ResponseResponseObjectPreviousContentInner';
|
|
320
|
+
export * from './ApiYoutubePinPostRequest';
|
|
322
321
|
export * from './ApiYoutubePrivateStreamDelete200Response';
|
|
323
322
|
export * from './ApiYoutubePrivateStreamPost200Response';
|
|
324
323
|
export * from './ApiYoutubePrivateStreamPost200ResponseResponseObject';
|
|
325
324
|
export * from './ApiYoutubePrivateStreamPost200ResponseResponseObjectPrivateStream';
|
|
325
|
+
export * from './ApiYoutubeUnpinGet200Response';
|
|
326
|
+
export * from './ApiYoutubeUnpinGet200ResponseResponseObject';
|
|
326
327
|
export * from './PrivateStreamRequest';
|
|
327
328
|
export * from './PrivateStreamResponse';
|
package/dist/models/index.js
CHANGED
|
@@ -270,8 +270,6 @@ export * from './ApiWalletConversionRateGet200Response';
|
|
|
270
270
|
export * from './ApiWalletConversionRateGet200ResponseResponseObject';
|
|
271
271
|
export * from './ApiWalletStatusGet200Response';
|
|
272
272
|
export * from './ApiWalletStatusGet200ResponseResponseObject';
|
|
273
|
-
export * from './ApiWalletUnbindPost200Response';
|
|
274
|
-
export * from './ApiWalletUnbindPost200ResponseResponseObject';
|
|
275
273
|
export * from './ApiWeb3AdminSwapAutoApprovePost200Response';
|
|
276
274
|
export * from './ApiWeb3AdminSwapAutoApprovePost200ResponseResponseObject';
|
|
277
275
|
export * from './ApiWeb3AdminSwapIdActionPutRequest';
|
|
@@ -321,9 +319,12 @@ export * from './ApiYoutubeDrxContentGet200ResponseResponseObject';
|
|
|
321
319
|
export * from './ApiYoutubeDrxContentGet200ResponseResponseObjectCurrentLive';
|
|
322
320
|
export * from './ApiYoutubeDrxContentGet200ResponseResponseObjectPinnedContent';
|
|
323
321
|
export * from './ApiYoutubeDrxContentGet200ResponseResponseObjectPreviousContentInner';
|
|
322
|
+
export * from './ApiYoutubePinPostRequest';
|
|
324
323
|
export * from './ApiYoutubePrivateStreamDelete200Response';
|
|
325
324
|
export * from './ApiYoutubePrivateStreamPost200Response';
|
|
326
325
|
export * from './ApiYoutubePrivateStreamPost200ResponseResponseObject';
|
|
327
326
|
export * from './ApiYoutubePrivateStreamPost200ResponseResponseObjectPrivateStream';
|
|
327
|
+
export * from './ApiYoutubeUnpinGet200Response';
|
|
328
|
+
export * from './ApiYoutubeUnpinGet200ResponseResponseObject';
|
|
328
329
|
export * from './PrivateStreamRequest';
|
|
329
330
|
export * from './PrivateStreamResponse';
|
|
@@ -0,0 +1,66 @@
|
|
|
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 ApiYoutubePinPostRequest
|
|
20
|
+
*/
|
|
21
|
+
export interface ApiYoutubePinPostRequest {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof ApiYoutubePinPostRequest
|
|
26
|
+
*/
|
|
27
|
+
link: string;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the ApiYoutubePinPostRequest interface.
|
|
32
|
+
*/
|
|
33
|
+
export function instanceOfApiYoutubePinPostRequest(value: object): value is ApiYoutubePinPostRequest {
|
|
34
|
+
if (!('link' in value) || value['link'] === undefined) return false;
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export function ApiYoutubePinPostRequestFromJSON(json: any): ApiYoutubePinPostRequest {
|
|
39
|
+
return ApiYoutubePinPostRequestFromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export function ApiYoutubePinPostRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiYoutubePinPostRequest {
|
|
43
|
+
if (json == null) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
|
|
48
|
+
'link': json['link'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function ApiYoutubePinPostRequestToJSON(json: any): ApiYoutubePinPostRequest {
|
|
53
|
+
return ApiYoutubePinPostRequestToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function ApiYoutubePinPostRequestToJSONTyped(value?: ApiYoutubePinPostRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
57
|
+
if (value == null) {
|
|
58
|
+
return value;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
return {
|
|
62
|
+
|
|
63
|
+
'link': value['link'],
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
|
@@ -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 { ApiYoutubeUnpinGet200ResponseResponseObject } from './ApiYoutubeUnpinGet200ResponseResponseObject';
|
|
17
|
+
import {
|
|
18
|
+
ApiYoutubeUnpinGet200ResponseResponseObjectFromJSON,
|
|
19
|
+
ApiYoutubeUnpinGet200ResponseResponseObjectFromJSONTyped,
|
|
20
|
+
ApiYoutubeUnpinGet200ResponseResponseObjectToJSON,
|
|
21
|
+
ApiYoutubeUnpinGet200ResponseResponseObjectToJSONTyped,
|
|
22
|
+
} from './ApiYoutubeUnpinGet200ResponseResponseObject';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface ApiYoutubeUnpinGet200Response
|
|
28
|
+
*/
|
|
29
|
+
export interface ApiYoutubeUnpinGet200Response {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {boolean}
|
|
33
|
+
* @memberof ApiYoutubeUnpinGet200Response
|
|
34
|
+
*/
|
|
35
|
+
success: boolean;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof ApiYoutubeUnpinGet200Response
|
|
40
|
+
*/
|
|
41
|
+
message: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {ApiYoutubeUnpinGet200ResponseResponseObject}
|
|
45
|
+
* @memberof ApiYoutubeUnpinGet200Response
|
|
46
|
+
*/
|
|
47
|
+
responseObject?: ApiYoutubeUnpinGet200ResponseResponseObject;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof ApiYoutubeUnpinGet200Response
|
|
52
|
+
*/
|
|
53
|
+
statusCode: number;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* Check if a given object implements the ApiYoutubeUnpinGet200Response interface.
|
|
58
|
+
*/
|
|
59
|
+
export function instanceOfApiYoutubeUnpinGet200Response(value: object): value is ApiYoutubeUnpinGet200Response {
|
|
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 ApiYoutubeUnpinGet200ResponseFromJSON(json: any): ApiYoutubeUnpinGet200Response {
|
|
67
|
+
return ApiYoutubeUnpinGet200ResponseFromJSONTyped(json, false);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
export function ApiYoutubeUnpinGet200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiYoutubeUnpinGet200Response {
|
|
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 : ApiYoutubeUnpinGet200ResponseResponseObjectFromJSON(json['responseObject']),
|
|
79
|
+
'statusCode': json['statusCode'],
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
export function ApiYoutubeUnpinGet200ResponseToJSON(json: any): ApiYoutubeUnpinGet200Response {
|
|
84
|
+
return ApiYoutubeUnpinGet200ResponseToJSONTyped(json, false);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
export function ApiYoutubeUnpinGet200ResponseToJSONTyped(value?: ApiYoutubeUnpinGet200Response | 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': ApiYoutubeUnpinGet200ResponseResponseObjectToJSON(value['responseObject']),
|
|
97
|
+
'statusCode': value['statusCode'],
|
|
98
|
+
};
|
|
99
|
+
}
|
|
100
|
+
|
|
@@ -0,0 +1,66 @@
|
|
|
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 ApiYoutubeUnpinGet200ResponseResponseObject
|
|
20
|
+
*/
|
|
21
|
+
export interface ApiYoutubeUnpinGet200ResponseResponseObject {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof ApiYoutubeUnpinGet200ResponseResponseObject
|
|
26
|
+
*/
|
|
27
|
+
message: string;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the ApiYoutubeUnpinGet200ResponseResponseObject interface.
|
|
32
|
+
*/
|
|
33
|
+
export function instanceOfApiYoutubeUnpinGet200ResponseResponseObject(value: object): value is ApiYoutubeUnpinGet200ResponseResponseObject {
|
|
34
|
+
if (!('message' in value) || value['message'] === undefined) return false;
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export function ApiYoutubeUnpinGet200ResponseResponseObjectFromJSON(json: any): ApiYoutubeUnpinGet200ResponseResponseObject {
|
|
39
|
+
return ApiYoutubeUnpinGet200ResponseResponseObjectFromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export function ApiYoutubeUnpinGet200ResponseResponseObjectFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiYoutubeUnpinGet200ResponseResponseObject {
|
|
43
|
+
if (json == null) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
|
|
48
|
+
'message': json['message'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function ApiYoutubeUnpinGet200ResponseResponseObjectToJSON(json: any): ApiYoutubeUnpinGet200ResponseResponseObject {
|
|
53
|
+
return ApiYoutubeUnpinGet200ResponseResponseObjectToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function ApiYoutubeUnpinGet200ResponseResponseObjectToJSONTyped(value?: ApiYoutubeUnpinGet200ResponseResponseObject | null, ignoreDiscriminator: boolean = false): any {
|
|
57
|
+
if (value == null) {
|
|
58
|
+
return value;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
return {
|
|
62
|
+
|
|
63
|
+
'message': value['message'],
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
package/models/index.ts
CHANGED
|
@@ -270,8 +270,6 @@ export * from './ApiWalletConversionRateGet200Response';
|
|
|
270
270
|
export * from './ApiWalletConversionRateGet200ResponseResponseObject';
|
|
271
271
|
export * from './ApiWalletStatusGet200Response';
|
|
272
272
|
export * from './ApiWalletStatusGet200ResponseResponseObject';
|
|
273
|
-
export * from './ApiWalletUnbindPost200Response';
|
|
274
|
-
export * from './ApiWalletUnbindPost200ResponseResponseObject';
|
|
275
273
|
export * from './ApiWeb3AdminSwapAutoApprovePost200Response';
|
|
276
274
|
export * from './ApiWeb3AdminSwapAutoApprovePost200ResponseResponseObject';
|
|
277
275
|
export * from './ApiWeb3AdminSwapIdActionPutRequest';
|
|
@@ -321,9 +319,12 @@ export * from './ApiYoutubeDrxContentGet200ResponseResponseObject';
|
|
|
321
319
|
export * from './ApiYoutubeDrxContentGet200ResponseResponseObjectCurrentLive';
|
|
322
320
|
export * from './ApiYoutubeDrxContentGet200ResponseResponseObjectPinnedContent';
|
|
323
321
|
export * from './ApiYoutubeDrxContentGet200ResponseResponseObjectPreviousContentInner';
|
|
322
|
+
export * from './ApiYoutubePinPostRequest';
|
|
324
323
|
export * from './ApiYoutubePrivateStreamDelete200Response';
|
|
325
324
|
export * from './ApiYoutubePrivateStreamPost200Response';
|
|
326
325
|
export * from './ApiYoutubePrivateStreamPost200ResponseResponseObject';
|
|
327
326
|
export * from './ApiYoutubePrivateStreamPost200ResponseResponseObjectPrivateStream';
|
|
327
|
+
export * from './ApiYoutubeUnpinGet200Response';
|
|
328
|
+
export * from './ApiYoutubeUnpinGet200ResponseResponseObject';
|
|
328
329
|
export * from './PrivateStreamRequest';
|
|
329
330
|
export * from './PrivateStreamResponse';
|
package/package.json
CHANGED
|
@@ -1,51 +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
|
-
import type { ApiWalletUnbindPost200ResponseResponseObject } from './ApiWalletUnbindPost200ResponseResponseObject';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface ApiWalletUnbindPost200Response
|
|
17
|
-
*/
|
|
18
|
-
export interface ApiWalletUnbindPost200Response {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {boolean}
|
|
22
|
-
* @memberof ApiWalletUnbindPost200Response
|
|
23
|
-
*/
|
|
24
|
-
success: boolean;
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof ApiWalletUnbindPost200Response
|
|
29
|
-
*/
|
|
30
|
-
message: string;
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @type {ApiWalletUnbindPost200ResponseResponseObject}
|
|
34
|
-
* @memberof ApiWalletUnbindPost200Response
|
|
35
|
-
*/
|
|
36
|
-
responseObject?: ApiWalletUnbindPost200ResponseResponseObject;
|
|
37
|
-
/**
|
|
38
|
-
*
|
|
39
|
-
* @type {number}
|
|
40
|
-
* @memberof ApiWalletUnbindPost200Response
|
|
41
|
-
*/
|
|
42
|
-
statusCode: number;
|
|
43
|
-
}
|
|
44
|
-
/**
|
|
45
|
-
* Check if a given object implements the ApiWalletUnbindPost200Response interface.
|
|
46
|
-
*/
|
|
47
|
-
export declare function instanceOfApiWalletUnbindPost200Response(value: object): value is ApiWalletUnbindPost200Response;
|
|
48
|
-
export declare function ApiWalletUnbindPost200ResponseFromJSON(json: any): ApiWalletUnbindPost200Response;
|
|
49
|
-
export declare function ApiWalletUnbindPost200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiWalletUnbindPost200Response;
|
|
50
|
-
export declare function ApiWalletUnbindPost200ResponseToJSON(json: any): ApiWalletUnbindPost200Response;
|
|
51
|
-
export declare function ApiWalletUnbindPost200ResponseToJSONTyped(value?: ApiWalletUnbindPost200Response | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,32 +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 ApiWalletUnbindPost200ResponseResponseObject
|
|
16
|
-
*/
|
|
17
|
-
export interface ApiWalletUnbindPost200ResponseResponseObject {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof ApiWalletUnbindPost200ResponseResponseObject
|
|
22
|
-
*/
|
|
23
|
-
message: string;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Check if a given object implements the ApiWalletUnbindPost200ResponseResponseObject interface.
|
|
27
|
-
*/
|
|
28
|
-
export declare function instanceOfApiWalletUnbindPost200ResponseResponseObject(value: object): value is ApiWalletUnbindPost200ResponseResponseObject;
|
|
29
|
-
export declare function ApiWalletUnbindPost200ResponseResponseObjectFromJSON(json: any): ApiWalletUnbindPost200ResponseResponseObject;
|
|
30
|
-
export declare function ApiWalletUnbindPost200ResponseResponseObjectFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiWalletUnbindPost200ResponseResponseObject;
|
|
31
|
-
export declare function ApiWalletUnbindPost200ResponseResponseObjectToJSON(json: any): ApiWalletUnbindPost200ResponseResponseObject;
|
|
32
|
-
export declare function ApiWalletUnbindPost200ResponseResponseObjectToJSONTyped(value?: ApiWalletUnbindPost200ResponseResponseObject | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,100 +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
|
-
import type { ApiWalletUnbindPost200ResponseResponseObject } from './ApiWalletUnbindPost200ResponseResponseObject';
|
|
17
|
-
import {
|
|
18
|
-
ApiWalletUnbindPost200ResponseResponseObjectFromJSON,
|
|
19
|
-
ApiWalletUnbindPost200ResponseResponseObjectFromJSONTyped,
|
|
20
|
-
ApiWalletUnbindPost200ResponseResponseObjectToJSON,
|
|
21
|
-
ApiWalletUnbindPost200ResponseResponseObjectToJSONTyped,
|
|
22
|
-
} from './ApiWalletUnbindPost200ResponseResponseObject';
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @export
|
|
27
|
-
* @interface ApiWalletUnbindPost200Response
|
|
28
|
-
*/
|
|
29
|
-
export interface ApiWalletUnbindPost200Response {
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {boolean}
|
|
33
|
-
* @memberof ApiWalletUnbindPost200Response
|
|
34
|
-
*/
|
|
35
|
-
success: boolean;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof ApiWalletUnbindPost200Response
|
|
40
|
-
*/
|
|
41
|
-
message: string;
|
|
42
|
-
/**
|
|
43
|
-
*
|
|
44
|
-
* @type {ApiWalletUnbindPost200ResponseResponseObject}
|
|
45
|
-
* @memberof ApiWalletUnbindPost200Response
|
|
46
|
-
*/
|
|
47
|
-
responseObject?: ApiWalletUnbindPost200ResponseResponseObject;
|
|
48
|
-
/**
|
|
49
|
-
*
|
|
50
|
-
* @type {number}
|
|
51
|
-
* @memberof ApiWalletUnbindPost200Response
|
|
52
|
-
*/
|
|
53
|
-
statusCode: number;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
/**
|
|
57
|
-
* Check if a given object implements the ApiWalletUnbindPost200Response interface.
|
|
58
|
-
*/
|
|
59
|
-
export function instanceOfApiWalletUnbindPost200Response(value: object): value is ApiWalletUnbindPost200Response {
|
|
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 ApiWalletUnbindPost200ResponseFromJSON(json: any): ApiWalletUnbindPost200Response {
|
|
67
|
-
return ApiWalletUnbindPost200ResponseFromJSONTyped(json, false);
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
export function ApiWalletUnbindPost200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiWalletUnbindPost200Response {
|
|
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 : ApiWalletUnbindPost200ResponseResponseObjectFromJSON(json['responseObject']),
|
|
79
|
-
'statusCode': json['statusCode'],
|
|
80
|
-
};
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
export function ApiWalletUnbindPost200ResponseToJSON(json: any): ApiWalletUnbindPost200Response {
|
|
84
|
-
return ApiWalletUnbindPost200ResponseToJSONTyped(json, false);
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
export function ApiWalletUnbindPost200ResponseToJSONTyped(value?: ApiWalletUnbindPost200Response | 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': ApiWalletUnbindPost200ResponseResponseObjectToJSON(value['responseObject']),
|
|
97
|
-
'statusCode': value['statusCode'],
|
|
98
|
-
};
|
|
99
|
-
}
|
|
100
|
-
|
|
@@ -1,66 +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 ApiWalletUnbindPost200ResponseResponseObject
|
|
20
|
-
*/
|
|
21
|
-
export interface ApiWalletUnbindPost200ResponseResponseObject {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof ApiWalletUnbindPost200ResponseResponseObject
|
|
26
|
-
*/
|
|
27
|
-
message: string;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
/**
|
|
31
|
-
* Check if a given object implements the ApiWalletUnbindPost200ResponseResponseObject interface.
|
|
32
|
-
*/
|
|
33
|
-
export function instanceOfApiWalletUnbindPost200ResponseResponseObject(value: object): value is ApiWalletUnbindPost200ResponseResponseObject {
|
|
34
|
-
if (!('message' in value) || value['message'] === undefined) return false;
|
|
35
|
-
return true;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
export function ApiWalletUnbindPost200ResponseResponseObjectFromJSON(json: any): ApiWalletUnbindPost200ResponseResponseObject {
|
|
39
|
-
return ApiWalletUnbindPost200ResponseResponseObjectFromJSONTyped(json, false);
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
export function ApiWalletUnbindPost200ResponseResponseObjectFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiWalletUnbindPost200ResponseResponseObject {
|
|
43
|
-
if (json == null) {
|
|
44
|
-
return json;
|
|
45
|
-
}
|
|
46
|
-
return {
|
|
47
|
-
|
|
48
|
-
'message': json['message'],
|
|
49
|
-
};
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
export function ApiWalletUnbindPost200ResponseResponseObjectToJSON(json: any): ApiWalletUnbindPost200ResponseResponseObject {
|
|
53
|
-
return ApiWalletUnbindPost200ResponseResponseObjectToJSONTyped(json, false);
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
export function ApiWalletUnbindPost200ResponseResponseObjectToJSONTyped(value?: ApiWalletUnbindPost200ResponseResponseObject | null, ignoreDiscriminator: boolean = false): any {
|
|
57
|
-
if (value == null) {
|
|
58
|
-
return value;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
return {
|
|
62
|
-
|
|
63
|
-
'message': value['message'],
|
|
64
|
-
};
|
|
65
|
-
}
|
|
66
|
-
|