@drxsuperapp/sdk 1.1.436 → 1.1.438
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 -2
- package/apis/GarudakuIntegrationApi.ts +6 -6
- package/apis/WalletManagementApi.ts +6 -6
- package/apis/YouTubeIntegrationApi.ts +93 -0
- package/deploy.log +27 -13
- package/dist/apis/GarudakuIntegrationApi.d.ts +3 -3
- package/dist/apis/GarudakuIntegrationApi.js +2 -2
- 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/ApiGarudakuContentGet200Response.d.ts +51 -0
- package/dist/models/ApiGarudakuContentGet200Response.js +54 -0
- package/dist/models/ApiGarudakuContentGet200ResponseResponseObject.d.ts +40 -0
- package/dist/models/ApiGarudakuContentGet200ResponseResponseObject.js +49 -0
- package/dist/models/ApiYoutubeDrxContentGet200ResponseResponseObject.d.ts +7 -0
- package/dist/models/ApiYoutubeDrxContentGet200ResponseResponseObject.js +5 -0
- package/dist/models/ApiYoutubeDrxContentGet200ResponseResponseObjectPinnedContent.d.ts +104 -0
- package/dist/models/ApiYoutubeDrxContentGet200ResponseResponseObjectPinnedContent.js +83 -0
- 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 +6 -2
- package/dist/models/index.js +6 -2
- package/models/ApiGarudakuContentGet200Response.ts +100 -0
- package/models/ApiGarudakuContentGet200ResponseResponseObject.ts +90 -0
- package/models/ApiYoutubeDrxContentGet200ResponseResponseObject.ts +16 -0
- package/models/ApiYoutubeDrxContentGet200ResponseResponseObjectPinnedContent.ts +170 -0
- package/models/ApiYoutubePinPostRequest.ts +66 -0
- package/models/ApiYoutubeUnpinGet200Response.ts +100 -0
- package/models/ApiYoutubeUnpinGet200ResponseResponseObject.ts +66 -0
- package/models/index.ts +6 -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
|
@@ -116,6 +116,8 @@ models/ApiFileUploadFilenameDelete200Response.ts
|
|
|
116
116
|
models/ApiFileUploadFilenameDelete200ResponseResponseObject.ts
|
|
117
117
|
models/ApiFileUploadPost200Response.ts
|
|
118
118
|
models/ApiFileUploadPost200ResponseResponseObject.ts
|
|
119
|
+
models/ApiGarudakuContentGet200Response.ts
|
|
120
|
+
models/ApiGarudakuContentGet200ResponseResponseObject.ts
|
|
119
121
|
models/ApiGarudakuGameTopupsGet200Response.ts
|
|
120
122
|
models/ApiGarudakuGameTopupsGet200ResponseResponseObject.ts
|
|
121
123
|
models/ApiGarudakuGameTopupsGet200ResponseResponseObjectItemsInner.ts
|
|
@@ -293,8 +295,6 @@ models/ApiWalletConversionRateGet200Response.ts
|
|
|
293
295
|
models/ApiWalletConversionRateGet200ResponseResponseObject.ts
|
|
294
296
|
models/ApiWalletStatusGet200Response.ts
|
|
295
297
|
models/ApiWalletStatusGet200ResponseResponseObject.ts
|
|
296
|
-
models/ApiWalletUnbindPost200Response.ts
|
|
297
|
-
models/ApiWalletUnbindPost200ResponseResponseObject.ts
|
|
298
298
|
models/ApiWeb3AdminSwapAutoApprovePost200Response.ts
|
|
299
299
|
models/ApiWeb3AdminSwapAutoApprovePost200ResponseResponseObject.ts
|
|
300
300
|
models/ApiWeb3AdminSwapIdActionPutRequest.ts
|
|
@@ -342,11 +342,15 @@ models/ApiWeb3SwapPostRequest.ts
|
|
|
342
342
|
models/ApiYoutubeDrxContentGet200Response.ts
|
|
343
343
|
models/ApiYoutubeDrxContentGet200ResponseResponseObject.ts
|
|
344
344
|
models/ApiYoutubeDrxContentGet200ResponseResponseObjectCurrentLive.ts
|
|
345
|
+
models/ApiYoutubeDrxContentGet200ResponseResponseObjectPinnedContent.ts
|
|
345
346
|
models/ApiYoutubeDrxContentGet200ResponseResponseObjectPreviousContentInner.ts
|
|
347
|
+
models/ApiYoutubePinPostRequest.ts
|
|
346
348
|
models/ApiYoutubePrivateStreamDelete200Response.ts
|
|
347
349
|
models/ApiYoutubePrivateStreamPost200Response.ts
|
|
348
350
|
models/ApiYoutubePrivateStreamPost200ResponseResponseObject.ts
|
|
349
351
|
models/ApiYoutubePrivateStreamPost200ResponseResponseObjectPrivateStream.ts
|
|
352
|
+
models/ApiYoutubeUnpinGet200Response.ts
|
|
353
|
+
models/ApiYoutubeUnpinGet200ResponseResponseObject.ts
|
|
350
354
|
models/PrivateStreamRequest.ts
|
|
351
355
|
models/PrivateStreamResponse.ts
|
|
352
356
|
models/index.ts
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
|
|
16
16
|
import * as runtime from '../runtime';
|
|
17
17
|
import type {
|
|
18
|
+
ApiGarudakuContentGet200Response,
|
|
18
19
|
ApiGarudakuGameTopupsGet200Response,
|
|
19
20
|
ApiGarudakuGameTopupsGetFilterParameter,
|
|
20
21
|
ApiGarudakuGameTopupsIdDelete200Response,
|
|
@@ -27,11 +28,12 @@ import type {
|
|
|
27
28
|
ApiGarudakuTournamentsIdPutRequest,
|
|
28
29
|
ApiGarudakuTournamentsPost200Response,
|
|
29
30
|
ApiGarudakuTournamentsPostRequest,
|
|
30
|
-
ApiYoutubeDrxContentGet200Response,
|
|
31
31
|
ApiYoutubePrivateStreamDelete200Response,
|
|
32
32
|
ApiYoutubePrivateStreamPost200Response,
|
|
33
33
|
} from '../models/index';
|
|
34
34
|
import {
|
|
35
|
+
ApiGarudakuContentGet200ResponseFromJSON,
|
|
36
|
+
ApiGarudakuContentGet200ResponseToJSON,
|
|
35
37
|
ApiGarudakuGameTopupsGet200ResponseFromJSON,
|
|
36
38
|
ApiGarudakuGameTopupsGet200ResponseToJSON,
|
|
37
39
|
ApiGarudakuGameTopupsGetFilterParameterFromJSON,
|
|
@@ -56,8 +58,6 @@ import {
|
|
|
56
58
|
ApiGarudakuTournamentsPost200ResponseToJSON,
|
|
57
59
|
ApiGarudakuTournamentsPostRequestFromJSON,
|
|
58
60
|
ApiGarudakuTournamentsPostRequestToJSON,
|
|
59
|
-
ApiYoutubeDrxContentGet200ResponseFromJSON,
|
|
60
|
-
ApiYoutubeDrxContentGet200ResponseToJSON,
|
|
61
61
|
ApiYoutubePrivateStreamDelete200ResponseFromJSON,
|
|
62
62
|
ApiYoutubePrivateStreamDelete200ResponseToJSON,
|
|
63
63
|
ApiYoutubePrivateStreamPost200ResponseFromJSON,
|
|
@@ -117,7 +117,7 @@ export class GarudakuIntegrationApi extends runtime.BaseAPI {
|
|
|
117
117
|
* Get current live stream and 3 previous long-form videos from Garudaku YouTube channel
|
|
118
118
|
* Get Garudaku Content
|
|
119
119
|
*/
|
|
120
|
-
async apiGarudakuContentGetRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
120
|
+
async apiGarudakuContentGetRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiGarudakuContentGet200Response>> {
|
|
121
121
|
const queryParameters: any = {};
|
|
122
122
|
|
|
123
123
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
@@ -141,14 +141,14 @@ export class GarudakuIntegrationApi extends runtime.BaseAPI {
|
|
|
141
141
|
query: queryParameters,
|
|
142
142
|
}, initOverrides);
|
|
143
143
|
|
|
144
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
144
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ApiGarudakuContentGet200ResponseFromJSON(jsonValue));
|
|
145
145
|
}
|
|
146
146
|
|
|
147
147
|
/**
|
|
148
148
|
* Get current live stream and 3 previous long-form videos from Garudaku YouTube channel
|
|
149
149
|
* Get Garudaku Content
|
|
150
150
|
*/
|
|
151
|
-
async apiGarudakuContentGet(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
151
|
+
async apiGarudakuContentGet(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiGarudakuContentGet200Response> {
|
|
152
152
|
const response = await this.apiGarudakuContentGetRaw(initOverrides);
|
|
153
153
|
return await response.value();
|
|
154
154
|
}
|
|
@@ -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
|
@@ -35,12 +35,18 @@
|
|
|
35
35
|
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_padel_seed_get_200_response. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_padel_seed_get_200_response=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_padel_seed_get_200_response=NewModel,ModelA=NewModelA in CLI).
|
|
36
36
|
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_youtube_drx_content_get_200_response_responseObject_currentLive. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_youtube_drx_content_get_200_response_responseObject_currentLive=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_youtube_drx_content_get_200_response_responseObject_currentLive=NewModel,ModelA=NewModelA in CLI).
|
|
37
37
|
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_youtube_drx_content_get_200_response_responseObject_previousContent_inner. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_youtube_drx_content_get_200_response_responseObject_previousContent_inner=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_youtube_drx_content_get_200_response_responseObject_previousContent_inner=NewModel,ModelA=NewModelA in CLI).
|
|
38
|
+
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_youtube_drx_content_get_200_response_responseObject_pinnedContent. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_youtube_drx_content_get_200_response_responseObject_pinnedContent=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_youtube_drx_content_get_200_response_responseObject_pinnedContent=NewModel,ModelA=NewModelA in CLI).
|
|
38
39
|
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_youtube_drx_content_get_200_response_responseObject. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_youtube_drx_content_get_200_response_responseObject=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_youtube_drx_content_get_200_response_responseObject=NewModel,ModelA=NewModelA in CLI).
|
|
39
40
|
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_youtube_drx_content_get_200_response. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_youtube_drx_content_get_200_response=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_youtube_drx_content_get_200_response=NewModel,ModelA=NewModelA in CLI).
|
|
40
41
|
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_youtube_private_stream_post_200_response_responseObject_privateStream. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_youtube_private_stream_post_200_response_responseObject_privateStream=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_youtube_private_stream_post_200_response_responseObject_privateStream=NewModel,ModelA=NewModelA in CLI).
|
|
41
42
|
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_youtube_private_stream_post_200_response_responseObject. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_youtube_private_stream_post_200_response_responseObject=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_youtube_private_stream_post_200_response_responseObject=NewModel,ModelA=NewModelA in CLI).
|
|
42
43
|
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_youtube_private_stream_post_200_response. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_youtube_private_stream_post_200_response=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_youtube_private_stream_post_200_response=NewModel,ModelA=NewModelA in CLI).
|
|
43
44
|
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_youtube_private_stream_delete_200_response. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_youtube_private_stream_delete_200_response=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_youtube_private_stream_delete_200_response=NewModel,ModelA=NewModelA in CLI).
|
|
45
|
+
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_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).
|
|
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).
|
|
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).
|
|
44
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).
|
|
45
51
|
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_garudaku_game_topups_get_filter_parameter_isPopular. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_garudaku_game_topups_get_filter_parameter_isPopular=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_garudaku_game_topups_get_filter_parameter_isPopular=NewModel,ModelA=NewModelA in CLI).
|
|
46
52
|
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_garudaku_game_topups_get_filter_parameter. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_garudaku_game_topups_get_filter_parameter=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_garudaku_game_topups_get_filter_parameter=NewModel,ModelA=NewModelA in CLI).
|
|
@@ -257,8 +263,6 @@
|
|
|
257
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).
|
|
258
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).
|
|
259
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).
|
|
260
|
-
[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).
|
|
261
|
-
[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).
|
|
262
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).
|
|
263
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).
|
|
264
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).
|
|
@@ -421,6 +425,8 @@
|
|
|
421
425
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiFileUploadFilenameDelete200ResponseResponseObject.ts
|
|
422
426
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiFileUploadPost200Response.ts
|
|
423
427
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiFileUploadPost200ResponseResponseObject.ts
|
|
428
|
+
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiGarudakuContentGet200Response.ts
|
|
429
|
+
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiGarudakuContentGet200ResponseResponseObject.ts
|
|
424
430
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiGarudakuGameTopupsGet200Response.ts
|
|
425
431
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiGarudakuGameTopupsGet200ResponseResponseObject.ts
|
|
426
432
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiGarudakuGameTopupsGet200ResponseResponseObjectItemsInner.ts
|
|
@@ -598,8 +604,6 @@
|
|
|
598
604
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiWalletConversionRateGet200ResponseResponseObject.ts
|
|
599
605
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiWalletStatusGet200Response.ts
|
|
600
606
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiWalletStatusGet200ResponseResponseObject.ts
|
|
601
|
-
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiWalletUnbindPost200Response.ts
|
|
602
|
-
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiWalletUnbindPost200ResponseResponseObject.ts
|
|
603
607
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiWeb3AdminSwapAutoApprovePost200Response.ts
|
|
604
608
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiWeb3AdminSwapAutoApprovePost200ResponseResponseObject.ts
|
|
605
609
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiWeb3AdminSwapIdActionPutRequest.ts
|
|
@@ -647,11 +651,15 @@
|
|
|
647
651
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiYoutubeDrxContentGet200Response.ts
|
|
648
652
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiYoutubeDrxContentGet200ResponseResponseObject.ts
|
|
649
653
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiYoutubeDrxContentGet200ResponseResponseObjectCurrentLive.ts
|
|
654
|
+
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiYoutubeDrxContentGet200ResponseResponseObjectPinnedContent.ts
|
|
650
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
|
|
651
657
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiYoutubePrivateStreamDelete200Response.ts
|
|
652
658
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiYoutubePrivateStreamPost200Response.ts
|
|
653
659
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiYoutubePrivateStreamPost200ResponseResponseObject.ts
|
|
654
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
|
|
655
663
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/PrivateStreamRequest.ts
|
|
656
664
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/PrivateStreamResponse.ts
|
|
657
665
|
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: get /api/healthCheck. Renamed to auto-generated operationId: apiHealthCheckGet
|
|
@@ -666,6 +674,8 @@
|
|
|
666
674
|
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: post /api/youtube/private-stream. Renamed to auto-generated operationId: apiYoutubePrivateStreamPost
|
|
667
675
|
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: delete /api/youtube/private-stream. Renamed to auto-generated operationId: apiYoutubePrivateStreamDelete
|
|
668
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
|
|
669
679
|
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: get /api/garudaku/content. Renamed to auto-generated operationId: apiGarudakuContentGet
|
|
670
680
|
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: post /api/garudaku/private-stream. Renamed to auto-generated operationId: apiGarudakuPrivateStreamPost
|
|
671
681
|
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: delete /api/garudaku/private-stream. Renamed to auto-generated operationId: apiGarudakuPrivateStreamDelete
|
|
@@ -859,21 +869,25 @@
|
|
|
859
869
|
# https://opencollective.com/openapi_generator/donate #
|
|
860
870
|
################################################################################
|
|
861
871
|
✅ SDK generated
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
872
|
+
[master 8bcd26c] VPS: Generated API SDK
|
|
873
|
+
9 files changed, 337 insertions(+), 176 deletions(-)
|
|
874
|
+
delete mode 100644 models/ApiWalletUnbindPost200Response.ts
|
|
875
|
+
delete mode 100644 models/ApiWalletUnbindPost200ResponseResponseObject.ts
|
|
876
|
+
create mode 100644 models/ApiYoutubePinPostRequest.ts
|
|
877
|
+
create mode 100644 models/ApiYoutubeUnpinGet200Response.ts
|
|
878
|
+
create mode 100644 models/ApiYoutubeUnpinGet200ResponseResponseObject.ts
|
|
879
|
+
To https://gitlab.com/drx-super/drx-sdk.git
|
|
880
|
+
048e946..8bcd26c master -> master
|
|
867
881
|
✅ Changes committed and pushed
|
|
868
|
-
v1.1.
|
|
882
|
+
v1.1.438
|
|
869
883
|
To https://gitlab.com/drx-super/drx-sdk.git
|
|
870
|
-
|
|
884
|
+
8bcd26c..8ec6c4d master -> master
|
|
871
885
|
✅ Version bumped
|
|
872
886
|
|
|
873
|
-
> @drxsuperapp/sdk@1.1.
|
|
887
|
+
> @drxsuperapp/sdk@1.1.438 prepublishOnly
|
|
874
888
|
> npm run build
|
|
875
889
|
|
|
876
890
|
|
|
877
|
-
> @drxsuperapp/sdk@1.1.
|
|
891
|
+
> @drxsuperapp/sdk@1.1.438 build
|
|
878
892
|
> tsc
|
|
879
893
|
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { ApiGarudakuGameTopupsGet200Response, ApiGarudakuGameTopupsGetFilterParameter, ApiGarudakuGameTopupsIdDelete200Response, ApiGarudakuGameTopupsIdPutRequest, ApiGarudakuGameTopupsPost200Response, ApiGarudakuGameTopupsPostRequest, ApiGarudakuPrivateStreamPostRequest, ApiGarudakuTournamentsGet200Response, ApiGarudakuTournamentsGetFilterParameter, ApiGarudakuTournamentsIdPutRequest, ApiGarudakuTournamentsPost200Response, ApiGarudakuTournamentsPostRequest,
|
|
13
|
+
import type { ApiGarudakuContentGet200Response, ApiGarudakuGameTopupsGet200Response, ApiGarudakuGameTopupsGetFilterParameter, ApiGarudakuGameTopupsIdDelete200Response, ApiGarudakuGameTopupsIdPutRequest, ApiGarudakuGameTopupsPost200Response, ApiGarudakuGameTopupsPostRequest, ApiGarudakuPrivateStreamPostRequest, ApiGarudakuTournamentsGet200Response, ApiGarudakuTournamentsGetFilterParameter, ApiGarudakuTournamentsIdPutRequest, ApiGarudakuTournamentsPost200Response, ApiGarudakuTournamentsPostRequest, ApiYoutubePrivateStreamDelete200Response, ApiYoutubePrivateStreamPost200Response } from '../models/index';
|
|
14
14
|
export interface ApiGarudakuGameTopupsGetRequest {
|
|
15
15
|
page?: number;
|
|
16
16
|
pageSize?: number;
|
|
@@ -54,12 +54,12 @@ export declare class GarudakuIntegrationApi extends runtime.BaseAPI {
|
|
|
54
54
|
* Get current live stream and 3 previous long-form videos from Garudaku YouTube channel
|
|
55
55
|
* Get Garudaku Content
|
|
56
56
|
*/
|
|
57
|
-
apiGarudakuContentGetRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
57
|
+
apiGarudakuContentGetRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiGarudakuContentGet200Response>>;
|
|
58
58
|
/**
|
|
59
59
|
* Get current live stream and 3 previous long-form videos from Garudaku YouTube channel
|
|
60
60
|
* Get Garudaku Content
|
|
61
61
|
*/
|
|
62
|
-
apiGarudakuContentGet(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
62
|
+
apiGarudakuContentGet(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiGarudakuContentGet200Response>;
|
|
63
63
|
/**
|
|
64
64
|
* Get Game Topups
|
|
65
65
|
*/
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
import * as runtime from '../runtime';
|
|
15
|
-
import { ApiGarudakuGameTopupsGet200ResponseFromJSON, ApiGarudakuGameTopupsIdDelete200ResponseFromJSON, ApiGarudakuGameTopupsIdPutRequestToJSON, ApiGarudakuGameTopupsPost200ResponseFromJSON, ApiGarudakuGameTopupsPostRequestToJSON, ApiGarudakuPrivateStreamPostRequestToJSON, ApiGarudakuTournamentsGet200ResponseFromJSON, ApiGarudakuTournamentsIdPutRequestToJSON, ApiGarudakuTournamentsPost200ResponseFromJSON, ApiGarudakuTournamentsPostRequestToJSON,
|
|
15
|
+
import { ApiGarudakuContentGet200ResponseFromJSON, ApiGarudakuGameTopupsGet200ResponseFromJSON, ApiGarudakuGameTopupsIdDelete200ResponseFromJSON, ApiGarudakuGameTopupsIdPutRequestToJSON, ApiGarudakuGameTopupsPost200ResponseFromJSON, ApiGarudakuGameTopupsPostRequestToJSON, ApiGarudakuPrivateStreamPostRequestToJSON, ApiGarudakuTournamentsGet200ResponseFromJSON, ApiGarudakuTournamentsIdPutRequestToJSON, ApiGarudakuTournamentsPost200ResponseFromJSON, ApiGarudakuTournamentsPostRequestToJSON, ApiYoutubePrivateStreamDelete200ResponseFromJSON, ApiYoutubePrivateStreamPost200ResponseFromJSON, } from '../models/index';
|
|
16
16
|
/**
|
|
17
17
|
*
|
|
18
18
|
*/
|
|
@@ -40,7 +40,7 @@ export class GarudakuIntegrationApi extends runtime.BaseAPI {
|
|
|
40
40
|
headers: headerParameters,
|
|
41
41
|
query: queryParameters,
|
|
42
42
|
}, initOverrides);
|
|
43
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
43
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ApiGarudakuContentGet200ResponseFromJSON(jsonValue));
|
|
44
44
|
}
|
|
45
45
|
/**
|
|
46
46
|
* Get current live stream and 3 previous long-form videos from Garudaku YouTube channel
|
|
@@ -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
|
}
|