tencentcloud-sdk-nodejs-intl-en 3.0.1300 → 3.0.1301
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/package.json +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/hunyuan/v20230901/hunyuan_client.js +57 -2
- package/tencentcloud/hunyuan/v20230901/models.js +427 -40
- package/tencentcloud/mdl/v20200326/mdl_client.js +6 -3
- package/tencentcloud/mdl/v20200326/models.js +292 -66
package/package.json
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const sdkVersion = "3.0.
|
|
1
|
+
const sdkVersion = "3.0.1301";
|
|
2
2
|
module.exports = sdkVersion
|
|
@@ -16,12 +16,21 @@
|
|
|
16
16
|
*/
|
|
17
17
|
const models = require("./models");
|
|
18
18
|
const AbstractClient = require('../../common/abstract_client')
|
|
19
|
-
const SubmitHunyuanTo3DProJobRequest = models.SubmitHunyuanTo3DProJobRequest;
|
|
20
|
-
const SubmitHunyuanTo3DProJobResponse = models.SubmitHunyuanTo3DProJobResponse;
|
|
21
19
|
const ViewImage = models.ViewImage;
|
|
20
|
+
const SubmitHunyuanTo3DRapidJobRequest = models.SubmitHunyuanTo3DRapidJobRequest;
|
|
21
|
+
const SubmitHunyuanTo3DProJobResponse = models.SubmitHunyuanTo3DProJobResponse;
|
|
22
|
+
const SubmitHunyuan3DPartJobResponse = models.SubmitHunyuan3DPartJobResponse;
|
|
23
|
+
const SubmitHunyuanTo3DProJobRequest = models.SubmitHunyuanTo3DProJobRequest;
|
|
22
24
|
const QueryHunyuanTo3DProJobRequest = models.QueryHunyuanTo3DProJobRequest;
|
|
23
25
|
const File3D = models.File3D;
|
|
26
|
+
const QueryHunyuanTo3DRapidJobResponse = models.QueryHunyuanTo3DRapidJobResponse;
|
|
27
|
+
const QueryHunyuan3DPartJobResponse = models.QueryHunyuan3DPartJobResponse;
|
|
24
28
|
const QueryHunyuanTo3DProJobResponse = models.QueryHunyuanTo3DProJobResponse;
|
|
29
|
+
const SubmitHunyuan3DPartJobRequest = models.SubmitHunyuan3DPartJobRequest;
|
|
30
|
+
const QueryHunyuan3DPartJobRequest = models.QueryHunyuan3DPartJobRequest;
|
|
31
|
+
const SubmitHunyuanTo3DRapidJobResponse = models.SubmitHunyuanTo3DRapidJobResponse;
|
|
32
|
+
const InputFile3D = models.InputFile3D;
|
|
33
|
+
const QueryHunyuanTo3DRapidJobRequest = models.QueryHunyuanTo3DRapidJobRequest;
|
|
25
34
|
|
|
26
35
|
|
|
27
36
|
/**
|
|
@@ -46,6 +55,29 @@ This API is used to provide 3 concurrent tasks by default. Up to 3 submitted tas
|
|
|
46
55
|
this.request("SubmitHunyuanTo3DProJob", req, resp, cb);
|
|
47
56
|
}
|
|
48
57
|
|
|
58
|
+
/**
|
|
59
|
+
* This API is used to intelligently generate 3D content based on the HunYuan Large Model with input text descriptions or images.
|
|
60
|
+
This API is used to provide 1 concurrent task by default, which means only 1 submitted task can be processed simultaneously. The next task can be processed only after the previous task is completed.
|
|
61
|
+
* @param {QueryHunyuanTo3DRapidJobRequest} req
|
|
62
|
+
* @param {function(string, QueryHunyuanTo3DRapidJobResponse):void} cb
|
|
63
|
+
* @public
|
|
64
|
+
*/
|
|
65
|
+
QueryHunyuanTo3DRapidJob(req, cb) {
|
|
66
|
+
let resp = new QueryHunyuanTo3DRapidJobResponse();
|
|
67
|
+
this.request("QueryHunyuanTo3DRapidJob", req, resp, cb);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* This API is used to query the generation task of a component.
|
|
72
|
+
* @param {QueryHunyuan3DPartJobRequest} req
|
|
73
|
+
* @param {function(string, QueryHunyuan3DPartJobResponse):void} cb
|
|
74
|
+
* @public
|
|
75
|
+
*/
|
|
76
|
+
QueryHunyuan3DPartJob(req, cb) {
|
|
77
|
+
let resp = new QueryHunyuan3DPartJobResponse();
|
|
78
|
+
this.request("QueryHunyuan3DPartJob", req, resp, cb);
|
|
79
|
+
}
|
|
80
|
+
|
|
49
81
|
/**
|
|
50
82
|
* This API is used to intelligently generate 3D content based on the HunYuan Large Model and input text descriptions/images.
|
|
51
83
|
This API is used to provide 3 concurrent tasks by default, which can process 3 submitted tasks simultaneously. The next task can be processed only after the previous task is completed.
|
|
@@ -58,6 +90,29 @@ This API is used to provide 3 concurrent tasks by default, which can process 3 s
|
|
|
58
90
|
this.request("QueryHunyuanTo3DProJob", req, resp, cb);
|
|
59
91
|
}
|
|
60
92
|
|
|
93
|
+
/**
|
|
94
|
+
* This API is used to intelligently generate 3D content based on the HunYuan Large Model with input text descriptions or images.
|
|
95
|
+
This API is used to provide 1 concurrent task by default, which means only 1 submitted task can be processed simultaneously. The next task can be processed only after the previous task is completed.
|
|
96
|
+
* @param {SubmitHunyuanTo3DRapidJobRequest} req
|
|
97
|
+
* @param {function(string, SubmitHunyuanTo3DRapidJobResponse):void} cb
|
|
98
|
+
* @public
|
|
99
|
+
*/
|
|
100
|
+
SubmitHunyuanTo3DRapidJob(req, cb) {
|
|
101
|
+
let resp = new SubmitHunyuanTo3DRapidJobResponse();
|
|
102
|
+
this.request("SubmitHunyuanTo3DRapidJob", req, resp, cb);
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
/**
|
|
106
|
+
* This API is used to automatically perform component identification and generation based on the model structure after inputting a 3D model file.
|
|
107
|
+
* @param {SubmitHunyuan3DPartJobRequest} req
|
|
108
|
+
* @param {function(string, SubmitHunyuan3DPartJobResponse):void} cb
|
|
109
|
+
* @public
|
|
110
|
+
*/
|
|
111
|
+
SubmitHunyuan3DPartJob(req, cb) {
|
|
112
|
+
let resp = new SubmitHunyuan3DPartJobResponse();
|
|
113
|
+
this.request("SubmitHunyuan3DPartJob", req, resp, cb);
|
|
114
|
+
}
|
|
115
|
+
|
|
61
116
|
|
|
62
117
|
}
|
|
63
118
|
module.exports = HunyuanClient;
|
|
@@ -16,6 +16,175 @@
|
|
|
16
16
|
*/
|
|
17
17
|
const AbstractModel = require("../../common/abstract_model");
|
|
18
18
|
|
|
19
|
+
/**
|
|
20
|
+
* Multi-Perspective images.
|
|
21
|
+
* @class
|
|
22
|
+
*/
|
|
23
|
+
class ViewImage extends AbstractModel {
|
|
24
|
+
constructor(){
|
|
25
|
+
super();
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* Specifies the viewing angle type.
|
|
29
|
+
Valid values: back, left, right.
|
|
30
|
+
* @type {string || null}
|
|
31
|
+
*/
|
|
32
|
+
this.ViewType = null;
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* Image Url.
|
|
36
|
+
* @type {string || null}
|
|
37
|
+
*/
|
|
38
|
+
this.ViewImageUrl = null;
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* base64 address of the image.
|
|
42
|
+
* @type {string || null}
|
|
43
|
+
*/
|
|
44
|
+
this.ViewImageBase64 = null;
|
|
45
|
+
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* @private
|
|
50
|
+
*/
|
|
51
|
+
deserialize(params) {
|
|
52
|
+
if (!params) {
|
|
53
|
+
return;
|
|
54
|
+
}
|
|
55
|
+
this.ViewType = 'ViewType' in params ? params.ViewType : null;
|
|
56
|
+
this.ViewImageUrl = 'ViewImageUrl' in params ? params.ViewImageUrl : null;
|
|
57
|
+
this.ViewImageBase64 = 'ViewImageBase64' in params ? params.ViewImageBase64 : null;
|
|
58
|
+
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* SubmitHunyuanTo3DRapidJob request structure.
|
|
64
|
+
* @class
|
|
65
|
+
*/
|
|
66
|
+
class SubmitHunyuanTo3DRapidJobRequest extends AbstractModel {
|
|
67
|
+
constructor(){
|
|
68
|
+
super();
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* Text-To-3D, description of 3D content, forward Prompt content. supports up to 200 utf-8 characters. either ImageBase64, ImageUrl, or Prompt is required, and Prompt cannot coexist with ImageBase64/ImageUrl.
|
|
72
|
+
* @type {string || null}
|
|
73
|
+
*/
|
|
74
|
+
this.Prompt = null;
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* Input image Base64 data. size: unilateral resolution requirement not less than 128, not greater than 5000, size ≤6m (after encoding, size increases by approximately 30%). format: jpg, png, jpeg, webp. imagebase64, imageurl, and Prompt are required, but Prompt and imagebase64/imageurl cannot coexist.
|
|
78
|
+
* @type {string || null}
|
|
79
|
+
*/
|
|
80
|
+
this.ImageBase64 = null;
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* Input image Url. size: unilateral resolution requirement not less than 128, not greater than 5000. size ≤8m. format: jpg, png, jpeg, webp. imagebase64, imageurl, and Prompt are required, and Prompt cannot coexist with imagebase64/imageurl.
|
|
84
|
+
* @type {string || null}
|
|
85
|
+
*/
|
|
86
|
+
this.ImageUrl = null;
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* Specifies whether PBR material generation is enabled, false by default.
|
|
90
|
+
* @type {boolean || null}
|
|
91
|
+
*/
|
|
92
|
+
this.EnablePBR = null;
|
|
93
|
+
|
|
94
|
+
/**
|
|
95
|
+
* Specifies whether to enable the single geometry generation option. when enabled, it generates a 3D model without textures (white model). enabled, the generative model does not support OBJ format. default model file format is GLB.
|
|
96
|
+
* @type {boolean || null}
|
|
97
|
+
*/
|
|
98
|
+
this.EnableGeometry = null;
|
|
99
|
+
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* @private
|
|
104
|
+
*/
|
|
105
|
+
deserialize(params) {
|
|
106
|
+
if (!params) {
|
|
107
|
+
return;
|
|
108
|
+
}
|
|
109
|
+
this.Prompt = 'Prompt' in params ? params.Prompt : null;
|
|
110
|
+
this.ImageBase64 = 'ImageBase64' in params ? params.ImageBase64 : null;
|
|
111
|
+
this.ImageUrl = 'ImageUrl' in params ? params.ImageUrl : null;
|
|
112
|
+
this.EnablePBR = 'EnablePBR' in params ? params.EnablePBR : null;
|
|
113
|
+
this.EnableGeometry = 'EnableGeometry' in params ? params.EnableGeometry : null;
|
|
114
|
+
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
/**
|
|
119
|
+
* SubmitHunyuanTo3DProJob response structure.
|
|
120
|
+
* @class
|
|
121
|
+
*/
|
|
122
|
+
class SubmitHunyuanTo3DProJobResponse extends AbstractModel {
|
|
123
|
+
constructor(){
|
|
124
|
+
super();
|
|
125
|
+
|
|
126
|
+
/**
|
|
127
|
+
* Task ID (valid period: 24 hours).
|
|
128
|
+
* @type {string || null}
|
|
129
|
+
*/
|
|
130
|
+
this.JobId = null;
|
|
131
|
+
|
|
132
|
+
/**
|
|
133
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
134
|
+
* @type {string || null}
|
|
135
|
+
*/
|
|
136
|
+
this.RequestId = null;
|
|
137
|
+
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
/**
|
|
141
|
+
* @private
|
|
142
|
+
*/
|
|
143
|
+
deserialize(params) {
|
|
144
|
+
if (!params) {
|
|
145
|
+
return;
|
|
146
|
+
}
|
|
147
|
+
this.JobId = 'JobId' in params ? params.JobId : null;
|
|
148
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
149
|
+
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
/**
|
|
154
|
+
* SubmitHunyuan3DPartJob response structure.
|
|
155
|
+
* @class
|
|
156
|
+
*/
|
|
157
|
+
class SubmitHunyuan3DPartJobResponse extends AbstractModel {
|
|
158
|
+
constructor(){
|
|
159
|
+
super();
|
|
160
|
+
|
|
161
|
+
/**
|
|
162
|
+
* Task id (valid period: 24 hours).
|
|
163
|
+
* @type {string || null}
|
|
164
|
+
*/
|
|
165
|
+
this.JobId = null;
|
|
166
|
+
|
|
167
|
+
/**
|
|
168
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
169
|
+
* @type {string || null}
|
|
170
|
+
*/
|
|
171
|
+
this.RequestId = null;
|
|
172
|
+
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
/**
|
|
176
|
+
* @private
|
|
177
|
+
*/
|
|
178
|
+
deserialize(params) {
|
|
179
|
+
if (!params) {
|
|
180
|
+
return;
|
|
181
|
+
}
|
|
182
|
+
this.JobId = 'JobId' in params ? params.JobId : null;
|
|
183
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
184
|
+
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
|
|
19
188
|
/**
|
|
20
189
|
* SubmitHunyuanTo3DProJob request structure.
|
|
21
190
|
* @class
|
|
@@ -137,25 +306,19 @@ quadrilateral: mix quadrangle and triangle faces to generate.
|
|
|
137
306
|
}
|
|
138
307
|
|
|
139
308
|
/**
|
|
140
|
-
*
|
|
309
|
+
* QueryHunyuanTo3DProJob request structure.
|
|
141
310
|
* @class
|
|
142
311
|
*/
|
|
143
|
-
class
|
|
312
|
+
class QueryHunyuanTo3DProJobRequest extends AbstractModel {
|
|
144
313
|
constructor(){
|
|
145
314
|
super();
|
|
146
315
|
|
|
147
316
|
/**
|
|
148
|
-
* Task ID
|
|
317
|
+
* Task ID.
|
|
149
318
|
* @type {string || null}
|
|
150
319
|
*/
|
|
151
320
|
this.JobId = null;
|
|
152
321
|
|
|
153
|
-
/**
|
|
154
|
-
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
155
|
-
* @type {string || null}
|
|
156
|
-
*/
|
|
157
|
-
this.RequestId = null;
|
|
158
|
-
|
|
159
322
|
}
|
|
160
323
|
|
|
161
324
|
/**
|
|
@@ -166,37 +329,35 @@ class SubmitHunyuanTo3DProJobResponse extends AbstractModel {
|
|
|
166
329
|
return;
|
|
167
330
|
}
|
|
168
331
|
this.JobId = 'JobId' in params ? params.JobId : null;
|
|
169
|
-
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
170
332
|
|
|
171
333
|
}
|
|
172
334
|
}
|
|
173
335
|
|
|
174
336
|
/**
|
|
175
|
-
*
|
|
337
|
+
* 3D file.
|
|
176
338
|
* @class
|
|
177
339
|
*/
|
|
178
|
-
class
|
|
340
|
+
class File3D extends AbstractModel {
|
|
179
341
|
constructor(){
|
|
180
342
|
super();
|
|
181
343
|
|
|
182
344
|
/**
|
|
183
|
-
*
|
|
184
|
-
Valid values: back, left, right.
|
|
345
|
+
* 3D file format. valid values: GIF, OBJ.
|
|
185
346
|
* @type {string || null}
|
|
186
347
|
*/
|
|
187
|
-
this.
|
|
348
|
+
this.Type = null;
|
|
188
349
|
|
|
189
350
|
/**
|
|
190
|
-
*
|
|
351
|
+
* Specifies the file Url (valid for 24 hours).
|
|
191
352
|
* @type {string || null}
|
|
192
353
|
*/
|
|
193
|
-
this.
|
|
354
|
+
this.Url = null;
|
|
194
355
|
|
|
195
356
|
/**
|
|
196
|
-
*
|
|
357
|
+
* Preview image Url.
|
|
197
358
|
* @type {string || null}
|
|
198
359
|
*/
|
|
199
|
-
this.
|
|
360
|
+
this.PreviewImageUrl = null;
|
|
200
361
|
|
|
201
362
|
}
|
|
202
363
|
|
|
@@ -207,26 +368,50 @@ Valid values: back, left, right.
|
|
|
207
368
|
if (!params) {
|
|
208
369
|
return;
|
|
209
370
|
}
|
|
210
|
-
this.
|
|
211
|
-
this.
|
|
212
|
-
this.
|
|
371
|
+
this.Type = 'Type' in params ? params.Type : null;
|
|
372
|
+
this.Url = 'Url' in params ? params.Url : null;
|
|
373
|
+
this.PreviewImageUrl = 'PreviewImageUrl' in params ? params.PreviewImageUrl : null;
|
|
213
374
|
|
|
214
375
|
}
|
|
215
376
|
}
|
|
216
377
|
|
|
217
378
|
/**
|
|
218
|
-
*
|
|
379
|
+
* QueryHunyuanTo3DRapidJob response structure.
|
|
219
380
|
* @class
|
|
220
381
|
*/
|
|
221
|
-
class
|
|
382
|
+
class QueryHunyuanTo3DRapidJobResponse extends AbstractModel {
|
|
222
383
|
constructor(){
|
|
223
384
|
super();
|
|
224
385
|
|
|
225
386
|
/**
|
|
226
|
-
* Task
|
|
387
|
+
* Task status. WAIT: waiting; RUN: running; FAIL: failed; DONE: successful.
|
|
227
388
|
* @type {string || null}
|
|
228
389
|
*/
|
|
229
|
-
this.
|
|
390
|
+
this.Status = null;
|
|
391
|
+
|
|
392
|
+
/**
|
|
393
|
+
* Error code
|
|
394
|
+
* @type {string || null}
|
|
395
|
+
*/
|
|
396
|
+
this.ErrorCode = null;
|
|
397
|
+
|
|
398
|
+
/**
|
|
399
|
+
* Error message
|
|
400
|
+
* @type {string || null}
|
|
401
|
+
*/
|
|
402
|
+
this.ErrorMessage = null;
|
|
403
|
+
|
|
404
|
+
/**
|
|
405
|
+
* Specifies the generated 3D file array.
|
|
406
|
+
* @type {Array.<File3D> || null}
|
|
407
|
+
*/
|
|
408
|
+
this.ResultFile3Ds = null;
|
|
409
|
+
|
|
410
|
+
/**
|
|
411
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
412
|
+
* @type {string || null}
|
|
413
|
+
*/
|
|
414
|
+
this.RequestId = null;
|
|
230
415
|
|
|
231
416
|
}
|
|
232
417
|
|
|
@@ -237,36 +422,60 @@ class QueryHunyuanTo3DProJobRequest extends AbstractModel {
|
|
|
237
422
|
if (!params) {
|
|
238
423
|
return;
|
|
239
424
|
}
|
|
240
|
-
this.
|
|
425
|
+
this.Status = 'Status' in params ? params.Status : null;
|
|
426
|
+
this.ErrorCode = 'ErrorCode' in params ? params.ErrorCode : null;
|
|
427
|
+
this.ErrorMessage = 'ErrorMessage' in params ? params.ErrorMessage : null;
|
|
428
|
+
|
|
429
|
+
if (params.ResultFile3Ds) {
|
|
430
|
+
this.ResultFile3Ds = new Array();
|
|
431
|
+
for (let z in params.ResultFile3Ds) {
|
|
432
|
+
let obj = new File3D();
|
|
433
|
+
obj.deserialize(params.ResultFile3Ds[z]);
|
|
434
|
+
this.ResultFile3Ds.push(obj);
|
|
435
|
+
}
|
|
436
|
+
}
|
|
437
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
241
438
|
|
|
242
439
|
}
|
|
243
440
|
}
|
|
244
441
|
|
|
245
442
|
/**
|
|
246
|
-
*
|
|
443
|
+
* QueryHunyuan3DPartJob response structure.
|
|
247
444
|
* @class
|
|
248
445
|
*/
|
|
249
|
-
class
|
|
446
|
+
class QueryHunyuan3DPartJobResponse extends AbstractModel {
|
|
250
447
|
constructor(){
|
|
251
448
|
super();
|
|
252
449
|
|
|
253
450
|
/**
|
|
254
|
-
*
|
|
451
|
+
* Task status. WAIT: waiting; RUN: running; FAIL: failed; DONE: successful. example value: RUN.
|
|
255
452
|
* @type {string || null}
|
|
256
453
|
*/
|
|
257
|
-
this.
|
|
454
|
+
this.Status = null;
|
|
258
455
|
|
|
259
456
|
/**
|
|
260
|
-
*
|
|
457
|
+
* Error code.
|
|
261
458
|
* @type {string || null}
|
|
262
459
|
*/
|
|
263
|
-
this.
|
|
460
|
+
this.ErrorCode = null;
|
|
264
461
|
|
|
265
462
|
/**
|
|
266
|
-
*
|
|
463
|
+
* Error message.
|
|
267
464
|
* @type {string || null}
|
|
268
465
|
*/
|
|
269
|
-
this.
|
|
466
|
+
this.ErrorMessage = null;
|
|
467
|
+
|
|
468
|
+
/**
|
|
469
|
+
* Generates the file URL with a valid period of 1 day.
|
|
470
|
+
* @type {Array.<File3D> || null}
|
|
471
|
+
*/
|
|
472
|
+
this.ResultFile3Ds = null;
|
|
473
|
+
|
|
474
|
+
/**
|
|
475
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
476
|
+
* @type {string || null}
|
|
477
|
+
*/
|
|
478
|
+
this.RequestId = null;
|
|
270
479
|
|
|
271
480
|
}
|
|
272
481
|
|
|
@@ -277,9 +486,19 @@ class File3D extends AbstractModel {
|
|
|
277
486
|
if (!params) {
|
|
278
487
|
return;
|
|
279
488
|
}
|
|
280
|
-
this.
|
|
281
|
-
this.
|
|
282
|
-
this.
|
|
489
|
+
this.Status = 'Status' in params ? params.Status : null;
|
|
490
|
+
this.ErrorCode = 'ErrorCode' in params ? params.ErrorCode : null;
|
|
491
|
+
this.ErrorMessage = 'ErrorMessage' in params ? params.ErrorMessage : null;
|
|
492
|
+
|
|
493
|
+
if (params.ResultFile3Ds) {
|
|
494
|
+
this.ResultFile3Ds = new Array();
|
|
495
|
+
for (let z in params.ResultFile3Ds) {
|
|
496
|
+
let obj = new File3D();
|
|
497
|
+
obj.deserialize(params.ResultFile3Ds[z]);
|
|
498
|
+
this.ResultFile3Ds.push(obj);
|
|
499
|
+
}
|
|
500
|
+
}
|
|
501
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
283
502
|
|
|
284
503
|
}
|
|
285
504
|
}
|
|
@@ -348,12 +567,180 @@ class QueryHunyuanTo3DProJobResponse extends AbstractModel {
|
|
|
348
567
|
}
|
|
349
568
|
}
|
|
350
569
|
|
|
570
|
+
/**
|
|
571
|
+
* SubmitHunyuan3DPartJob request structure.
|
|
572
|
+
* @class
|
|
573
|
+
*/
|
|
574
|
+
class SubmitHunyuan3DPartJobRequest extends AbstractModel {
|
|
575
|
+
constructor(){
|
|
576
|
+
super();
|
|
577
|
+
|
|
578
|
+
/**
|
|
579
|
+
* Recommends inputting 3D models generated by AIGC. recommended file size ≤100MB. face count ≤1,500,000. only supports FBX format.
|
|
580
|
+
* @type {InputFile3D || null}
|
|
581
|
+
*/
|
|
582
|
+
this.File = null;
|
|
583
|
+
|
|
584
|
+
}
|
|
585
|
+
|
|
586
|
+
/**
|
|
587
|
+
* @private
|
|
588
|
+
*/
|
|
589
|
+
deserialize(params) {
|
|
590
|
+
if (!params) {
|
|
591
|
+
return;
|
|
592
|
+
}
|
|
593
|
+
|
|
594
|
+
if (params.File) {
|
|
595
|
+
let obj = new InputFile3D();
|
|
596
|
+
obj.deserialize(params.File)
|
|
597
|
+
this.File = obj;
|
|
598
|
+
}
|
|
599
|
+
|
|
600
|
+
}
|
|
601
|
+
}
|
|
602
|
+
|
|
603
|
+
/**
|
|
604
|
+
* QueryHunyuan3DPartJob request structure.
|
|
605
|
+
* @class
|
|
606
|
+
*/
|
|
607
|
+
class QueryHunyuan3DPartJobRequest extends AbstractModel {
|
|
608
|
+
constructor(){
|
|
609
|
+
super();
|
|
610
|
+
|
|
611
|
+
/**
|
|
612
|
+
* Task ID.
|
|
613
|
+
* @type {string || null}
|
|
614
|
+
*/
|
|
615
|
+
this.JobId = null;
|
|
616
|
+
|
|
617
|
+
}
|
|
618
|
+
|
|
619
|
+
/**
|
|
620
|
+
* @private
|
|
621
|
+
*/
|
|
622
|
+
deserialize(params) {
|
|
623
|
+
if (!params) {
|
|
624
|
+
return;
|
|
625
|
+
}
|
|
626
|
+
this.JobId = 'JobId' in params ? params.JobId : null;
|
|
627
|
+
|
|
628
|
+
}
|
|
629
|
+
}
|
|
630
|
+
|
|
631
|
+
/**
|
|
632
|
+
* SubmitHunyuanTo3DRapidJob response structure.
|
|
633
|
+
* @class
|
|
634
|
+
*/
|
|
635
|
+
class SubmitHunyuanTo3DRapidJobResponse extends AbstractModel {
|
|
636
|
+
constructor(){
|
|
637
|
+
super();
|
|
638
|
+
|
|
639
|
+
/**
|
|
640
|
+
* Task ID (valid period: 24 hours).
|
|
641
|
+
* @type {string || null}
|
|
642
|
+
*/
|
|
643
|
+
this.JobId = null;
|
|
644
|
+
|
|
645
|
+
/**
|
|
646
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
647
|
+
* @type {string || null}
|
|
648
|
+
*/
|
|
649
|
+
this.RequestId = null;
|
|
650
|
+
|
|
651
|
+
}
|
|
652
|
+
|
|
653
|
+
/**
|
|
654
|
+
* @private
|
|
655
|
+
*/
|
|
656
|
+
deserialize(params) {
|
|
657
|
+
if (!params) {
|
|
658
|
+
return;
|
|
659
|
+
}
|
|
660
|
+
this.JobId = 'JobId' in params ? params.JobId : null;
|
|
661
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
662
|
+
|
|
663
|
+
}
|
|
664
|
+
}
|
|
665
|
+
|
|
666
|
+
/**
|
|
667
|
+
* 3D file.
|
|
668
|
+
* @class
|
|
669
|
+
*/
|
|
670
|
+
class InputFile3D extends AbstractModel {
|
|
671
|
+
constructor(){
|
|
672
|
+
super();
|
|
673
|
+
|
|
674
|
+
/**
|
|
675
|
+
* Specifies the file Url with a valid period of 24 hours.
|
|
676
|
+
* @type {string || null}
|
|
677
|
+
*/
|
|
678
|
+
this.Url = null;
|
|
679
|
+
|
|
680
|
+
/**
|
|
681
|
+
* Specifies the file format.
|
|
682
|
+
* @type {string || null}
|
|
683
|
+
*/
|
|
684
|
+
this.Type = null;
|
|
685
|
+
|
|
686
|
+
}
|
|
687
|
+
|
|
688
|
+
/**
|
|
689
|
+
* @private
|
|
690
|
+
*/
|
|
691
|
+
deserialize(params) {
|
|
692
|
+
if (!params) {
|
|
693
|
+
return;
|
|
694
|
+
}
|
|
695
|
+
this.Url = 'Url' in params ? params.Url : null;
|
|
696
|
+
this.Type = 'Type' in params ? params.Type : null;
|
|
697
|
+
|
|
698
|
+
}
|
|
699
|
+
}
|
|
700
|
+
|
|
701
|
+
/**
|
|
702
|
+
* QueryHunyuanTo3DRapidJob request structure.
|
|
703
|
+
* @class
|
|
704
|
+
*/
|
|
705
|
+
class QueryHunyuanTo3DRapidJobRequest extends AbstractModel {
|
|
706
|
+
constructor(){
|
|
707
|
+
super();
|
|
708
|
+
|
|
709
|
+
/**
|
|
710
|
+
* Task ID.
|
|
711
|
+
* @type {string || null}
|
|
712
|
+
*/
|
|
713
|
+
this.JobId = null;
|
|
714
|
+
|
|
715
|
+
}
|
|
716
|
+
|
|
717
|
+
/**
|
|
718
|
+
* @private
|
|
719
|
+
*/
|
|
720
|
+
deserialize(params) {
|
|
721
|
+
if (!params) {
|
|
722
|
+
return;
|
|
723
|
+
}
|
|
724
|
+
this.JobId = 'JobId' in params ? params.JobId : null;
|
|
725
|
+
|
|
726
|
+
}
|
|
727
|
+
}
|
|
728
|
+
|
|
351
729
|
module.exports = {
|
|
352
|
-
SubmitHunyuanTo3DProJobRequest: SubmitHunyuanTo3DProJobRequest,
|
|
353
|
-
SubmitHunyuanTo3DProJobResponse: SubmitHunyuanTo3DProJobResponse,
|
|
354
730
|
ViewImage: ViewImage,
|
|
731
|
+
SubmitHunyuanTo3DRapidJobRequest: SubmitHunyuanTo3DRapidJobRequest,
|
|
732
|
+
SubmitHunyuanTo3DProJobResponse: SubmitHunyuanTo3DProJobResponse,
|
|
733
|
+
SubmitHunyuan3DPartJobResponse: SubmitHunyuan3DPartJobResponse,
|
|
734
|
+
SubmitHunyuanTo3DProJobRequest: SubmitHunyuanTo3DProJobRequest,
|
|
355
735
|
QueryHunyuanTo3DProJobRequest: QueryHunyuanTo3DProJobRequest,
|
|
356
736
|
File3D: File3D,
|
|
737
|
+
QueryHunyuanTo3DRapidJobResponse: QueryHunyuanTo3DRapidJobResponse,
|
|
738
|
+
QueryHunyuan3DPartJobResponse: QueryHunyuan3DPartJobResponse,
|
|
357
739
|
QueryHunyuanTo3DProJobResponse: QueryHunyuanTo3DProJobResponse,
|
|
740
|
+
SubmitHunyuan3DPartJobRequest: SubmitHunyuan3DPartJobRequest,
|
|
741
|
+
QueryHunyuan3DPartJobRequest: QueryHunyuan3DPartJobRequest,
|
|
742
|
+
SubmitHunyuanTo3DRapidJobResponse: SubmitHunyuanTo3DRapidJobResponse,
|
|
743
|
+
InputFile3D: InputFile3D,
|
|
744
|
+
QueryHunyuanTo3DRapidJobRequest: QueryHunyuanTo3DRapidJobRequest,
|
|
358
745
|
|
|
359
746
|
}
|
|
@@ -74,6 +74,7 @@ const QueryInputStreamStateResponse = models.QueryInputStreamStateResponse;
|
|
|
74
74
|
const DescribeStreamLiveWatermarksRequest = models.DescribeStreamLiveWatermarksRequest;
|
|
75
75
|
const DescribeWatermarkDetectionsRequest = models.DescribeWatermarkDetectionsRequest;
|
|
76
76
|
const TimedMetadataInfo = models.TimedMetadataInfo;
|
|
77
|
+
const AbWatermarkSettingsResp = models.AbWatermarkSettingsResp;
|
|
77
78
|
const DescribeStreamLiveRegionsRequest = models.DescribeStreamLiveRegionsRequest;
|
|
78
79
|
const DescribeTranscodeDetailInfo = models.DescribeTranscodeDetailInfo;
|
|
79
80
|
const AbWatermarkInputInfo = models.AbWatermarkInputInfo;
|
|
@@ -117,14 +118,14 @@ const DescribeStreamLiveTranscodeDetailResponse = models.DescribeStreamLiveTrans
|
|
|
117
118
|
const CreateStreamLiveWatermarkResponse = models.CreateStreamLiveWatermarkResponse;
|
|
118
119
|
const DescribeStreamLiveInputsResponse = models.DescribeStreamLiveInputsResponse;
|
|
119
120
|
const ModifyStreamLiveInputResponse = models.ModifyStreamLiveInputResponse;
|
|
120
|
-
const
|
|
121
|
+
const DescribeStreamLiveChannelAlertsResponse = models.DescribeStreamLiveChannelAlertsResponse;
|
|
121
122
|
const ThumbnailSettings = models.ThumbnailSettings;
|
|
122
123
|
const PlanResp = models.PlanResp;
|
|
123
124
|
const AudioNormalizationSettings = models.AudioNormalizationSettings;
|
|
124
125
|
const DescribeStreamLivePlansResponse = models.DescribeStreamLivePlansResponse;
|
|
125
126
|
const DescribeStreamLiveChannelLogsRequest = models.DescribeStreamLiveChannelLogsRequest;
|
|
126
127
|
const CreateStreamLiveInputSecurityGroupRequest = models.CreateStreamLiveInputSecurityGroupRequest;
|
|
127
|
-
const
|
|
128
|
+
const AdBreakSetting = models.AdBreakSetting;
|
|
128
129
|
const DescribeStreamLiveChannelOutputStatisticsResponse = models.DescribeStreamLiveChannelOutputStatisticsResponse;
|
|
129
130
|
const GetAbWatermarkPlayUrlRequest = models.GetAbWatermarkPlayUrlRequest;
|
|
130
131
|
const DescribeWatermarkInfo = models.DescribeWatermarkInfo;
|
|
@@ -134,7 +135,7 @@ const EventSettingsReq = models.EventSettingsReq;
|
|
|
134
135
|
const CreateStreamLiveInputResponse = models.CreateStreamLiveInputResponse;
|
|
135
136
|
const EventSettingsDestinationResp = models.EventSettingsDestinationResp;
|
|
136
137
|
const OutputInfo = models.OutputInfo;
|
|
137
|
-
const
|
|
138
|
+
const DescribeWatermarkDetectionsResponse = models.DescribeWatermarkDetectionsResponse;
|
|
138
139
|
const StaticImageDeactivateSetting = models.StaticImageDeactivateSetting;
|
|
139
140
|
const VideoCodecDetail = models.VideoCodecDetail;
|
|
140
141
|
const CreateStreamLiveChannelResponse = models.CreateStreamLiveChannelResponse;
|
|
@@ -151,6 +152,7 @@ const PlanSettings = models.PlanSettings;
|
|
|
151
152
|
const DescribeStreamLiveInputSecurityGroupsResponse = models.DescribeStreamLiveInputSecurityGroupsResponse;
|
|
152
153
|
const StartStreamLiveChannelRequest = models.StartStreamLiveChannelRequest;
|
|
153
154
|
const AbWatermarkSettingsReq = models.AbWatermarkSettingsReq;
|
|
155
|
+
const GeneralSetting = models.GeneralSetting;
|
|
154
156
|
const EventNotifySetting = models.EventNotifySetting;
|
|
155
157
|
const DeleteStreamLiveInputResponse = models.DeleteStreamLiveInputResponse;
|
|
156
158
|
const MotionGraphicsActivateSetting = models.MotionGraphicsActivateSetting;
|
|
@@ -158,6 +160,7 @@ const TimingSettingsResp = models.TimingSettingsResp;
|
|
|
158
160
|
const DescribeStreamLiveWatermarkResponse = models.DescribeStreamLiveWatermarkResponse;
|
|
159
161
|
const StreamScte35Info = models.StreamScte35Info;
|
|
160
162
|
const StreamAudioInfo = models.StreamAudioInfo;
|
|
163
|
+
const LSqueezeSetting = models.LSqueezeSetting;
|
|
161
164
|
const DrmKey = models.DrmKey;
|
|
162
165
|
const OutputsStatistics = models.OutputsStatistics;
|
|
163
166
|
const InputSecurityGroupInfo = models.InputSecurityGroupInfo;
|
|
@@ -2460,6 +2460,12 @@ In seconds, indicating data time.
|
|
|
2460
2460
|
*/
|
|
2461
2461
|
this.NetworkOut = null;
|
|
2462
2462
|
|
|
2463
|
+
/**
|
|
2464
|
+
* Is the Network parameter valid? 0 indicates invalid, 1 indicates valid
|
|
2465
|
+
* @type {number || null}
|
|
2466
|
+
*/
|
|
2467
|
+
this.NetworkValid = null;
|
|
2468
|
+
|
|
2463
2469
|
}
|
|
2464
2470
|
|
|
2465
2471
|
/**
|
|
@@ -2471,6 +2477,7 @@ In seconds, indicating data time.
|
|
|
2471
2477
|
}
|
|
2472
2478
|
this.Timestamp = 'Timestamp' in params ? params.Timestamp : null;
|
|
2473
2479
|
this.NetworkOut = 'NetworkOut' in params ? params.NetworkOut : null;
|
|
2480
|
+
this.NetworkValid = 'NetworkValid' in params ? params.NetworkValid : null;
|
|
2474
2481
|
|
|
2475
2482
|
}
|
|
2476
2483
|
}
|
|
@@ -2524,13 +2531,13 @@ class CreateTextSettings extends AbstractModel {
|
|
|
2524
2531
|
this.Location = null;
|
|
2525
2532
|
|
|
2526
2533
|
/**
|
|
2527
|
-
* The watermark
|
|
2534
|
+
* The watermark's horizontal distance from the origin as a percentage of the video width. Value range: 0-100. Default: 10.
|
|
2528
2535
|
* @type {number || null}
|
|
2529
2536
|
*/
|
|
2530
2537
|
this.XPos = null;
|
|
2531
2538
|
|
|
2532
2539
|
/**
|
|
2533
|
-
* The watermark
|
|
2540
|
+
* The watermark's vertical distance from the origin as a percentage of the video height. Value range: 0-100. Default: 10.
|
|
2534
2541
|
* @type {number || null}
|
|
2535
2542
|
*/
|
|
2536
2543
|
this.YPos = null;
|
|
@@ -3086,6 +3093,41 @@ class TimedMetadataInfo extends AbstractModel {
|
|
|
3086
3093
|
}
|
|
3087
3094
|
}
|
|
3088
3095
|
|
|
3096
|
+
/**
|
|
3097
|
+
* AbWatermarkSettingsResp
|
|
3098
|
+
* @class
|
|
3099
|
+
*/
|
|
3100
|
+
class AbWatermarkSettingsResp extends AbstractModel {
|
|
3101
|
+
constructor(){
|
|
3102
|
+
super();
|
|
3103
|
+
|
|
3104
|
+
/**
|
|
3105
|
+
* AB watermark type.
|
|
3106
|
+
* @type {string || null}
|
|
3107
|
+
*/
|
|
3108
|
+
this.Type = null;
|
|
3109
|
+
|
|
3110
|
+
/**
|
|
3111
|
+
* Watermark payload.
|
|
3112
|
+
* @type {string || null}
|
|
3113
|
+
*/
|
|
3114
|
+
this.Content = null;
|
|
3115
|
+
|
|
3116
|
+
}
|
|
3117
|
+
|
|
3118
|
+
/**
|
|
3119
|
+
* @private
|
|
3120
|
+
*/
|
|
3121
|
+
deserialize(params) {
|
|
3122
|
+
if (!params) {
|
|
3123
|
+
return;
|
|
3124
|
+
}
|
|
3125
|
+
this.Type = 'Type' in params ? params.Type : null;
|
|
3126
|
+
this.Content = 'Content' in params ? params.Content : null;
|
|
3127
|
+
|
|
3128
|
+
}
|
|
3129
|
+
}
|
|
3130
|
+
|
|
3089
3131
|
/**
|
|
3090
3132
|
* DescribeStreamLiveRegions request structure.
|
|
3091
3133
|
* @class
|
|
@@ -3726,7 +3768,7 @@ class SegmentationDescriptorRespInfo extends AbstractModel {
|
|
|
3726
3768
|
this.TypeID = null;
|
|
3727
3769
|
|
|
3728
3770
|
/**
|
|
3729
|
-
* Corresponds to SCTE-35 segment_num
|
|
3771
|
+
* Corresponds to SCTE-35 segment_num. This field provides support for numbering segments within a given collection of segments.
|
|
3730
3772
|
* @type {number || null}
|
|
3731
3773
|
*/
|
|
3732
3774
|
this.Num = null;
|
|
@@ -4435,6 +4477,12 @@ class EventSettingsResp extends AbstractModel {
|
|
|
4435
4477
|
*/
|
|
4436
4478
|
this.MotionGraphicsActivateSetting = null;
|
|
4437
4479
|
|
|
4480
|
+
/**
|
|
4481
|
+
* Ad Settings
|
|
4482
|
+
* @type {AdBreakSetting || null}
|
|
4483
|
+
*/
|
|
4484
|
+
this.AdBreakSetting = null;
|
|
4485
|
+
|
|
4438
4486
|
}
|
|
4439
4487
|
|
|
4440
4488
|
/**
|
|
@@ -4494,6 +4542,12 @@ class EventSettingsResp extends AbstractModel {
|
|
|
4494
4542
|
this.MotionGraphicsActivateSetting = obj;
|
|
4495
4543
|
}
|
|
4496
4544
|
|
|
4545
|
+
if (params.AdBreakSetting) {
|
|
4546
|
+
let obj = new AdBreakSetting();
|
|
4547
|
+
obj.deserialize(params.AdBreakSetting)
|
|
4548
|
+
this.AdBreakSetting = obj;
|
|
4549
|
+
}
|
|
4550
|
+
|
|
4497
4551
|
}
|
|
4498
4552
|
}
|
|
4499
4553
|
|
|
@@ -5771,24 +5825,18 @@ class ModifyStreamLiveInputResponse extends AbstractModel {
|
|
|
5771
5825
|
}
|
|
5772
5826
|
|
|
5773
5827
|
/**
|
|
5774
|
-
*
|
|
5828
|
+
* DescribeStreamLiveChannelAlerts response structure.
|
|
5775
5829
|
* @class
|
|
5776
5830
|
*/
|
|
5777
|
-
class
|
|
5831
|
+
class DescribeStreamLiveChannelAlertsResponse extends AbstractModel {
|
|
5778
5832
|
constructor(){
|
|
5779
5833
|
super();
|
|
5780
5834
|
|
|
5781
5835
|
/**
|
|
5782
|
-
*
|
|
5783
|
-
* @type {
|
|
5784
|
-
*/
|
|
5785
|
-
this.TaskInfos = null;
|
|
5786
|
-
|
|
5787
|
-
/**
|
|
5788
|
-
* number of tasks
|
|
5789
|
-
* @type {number || null}
|
|
5836
|
+
* Alarm information of the channel's two pipelines
|
|
5837
|
+
* @type {ChannelAlertInfos || null}
|
|
5790
5838
|
*/
|
|
5791
|
-
this.
|
|
5839
|
+
this.Infos = null;
|
|
5792
5840
|
|
|
5793
5841
|
/**
|
|
5794
5842
|
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
@@ -5806,15 +5854,11 @@ class DescribeWatermarkDetectionsResponse extends AbstractModel {
|
|
|
5806
5854
|
return;
|
|
5807
5855
|
}
|
|
5808
5856
|
|
|
5809
|
-
if (params.
|
|
5810
|
-
|
|
5811
|
-
|
|
5812
|
-
|
|
5813
|
-
obj.deserialize(params.TaskInfos[z]);
|
|
5814
|
-
this.TaskInfos.push(obj);
|
|
5815
|
-
}
|
|
5857
|
+
if (params.Infos) {
|
|
5858
|
+
let obj = new ChannelAlertInfos();
|
|
5859
|
+
obj.deserialize(params.Infos)
|
|
5860
|
+
this.Infos = obj;
|
|
5816
5861
|
}
|
|
5817
|
-
this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
|
|
5818
5862
|
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
5819
5863
|
|
|
5820
5864
|
}
|
|
@@ -6059,30 +6103,36 @@ class CreateStreamLiveInputSecurityGroupRequest extends AbstractModel {
|
|
|
6059
6103
|
}
|
|
6060
6104
|
|
|
6061
6105
|
/**
|
|
6062
|
-
*
|
|
6106
|
+
* AdBreakSetting
|
|
6063
6107
|
* @class
|
|
6064
6108
|
*/
|
|
6065
|
-
class
|
|
6109
|
+
class AdBreakSetting extends AbstractModel {
|
|
6066
6110
|
constructor(){
|
|
6067
6111
|
super();
|
|
6068
6112
|
|
|
6069
6113
|
/**
|
|
6070
|
-
*
|
|
6071
|
-
* @type {
|
|
6114
|
+
* Advertising type, currently supports L-SQUEEZE
|
|
6115
|
+
* @type {string || null}
|
|
6072
6116
|
*/
|
|
6073
|
-
this.
|
|
6117
|
+
this.Format = null;
|
|
6074
6118
|
|
|
6075
6119
|
/**
|
|
6076
|
-
*
|
|
6077
|
-
* @type {
|
|
6120
|
+
* Duration, in milliseconds, requires 1000<duration<=600000. The current accuracy is seconds, which is a multiple of 1000
|
|
6121
|
+
* @type {number || null}
|
|
6078
6122
|
*/
|
|
6079
|
-
this.
|
|
6123
|
+
this.Duration = null;
|
|
6080
6124
|
|
|
6081
6125
|
/**
|
|
6082
|
-
*
|
|
6083
|
-
* @type {
|
|
6126
|
+
* L-type compression recovery configuration
|
|
6127
|
+
* @type {LSqueezeSetting || null}
|
|
6084
6128
|
*/
|
|
6085
|
-
this.
|
|
6129
|
+
this.LSqueezeSetting = null;
|
|
6130
|
+
|
|
6131
|
+
/**
|
|
6132
|
+
* AdSource type, supports UPLOAD_CREATIVES
|
|
6133
|
+
* @type {string || null}
|
|
6134
|
+
*/
|
|
6135
|
+
this.AdSource = null;
|
|
6086
6136
|
|
|
6087
6137
|
}
|
|
6088
6138
|
|
|
@@ -6093,24 +6143,15 @@ class GeneralSetting extends AbstractModel {
|
|
|
6093
6143
|
if (!params) {
|
|
6094
6144
|
return;
|
|
6095
6145
|
}
|
|
6146
|
+
this.Format = 'Format' in params ? params.Format : null;
|
|
6147
|
+
this.Duration = 'Duration' in params ? params.Duration : null;
|
|
6096
6148
|
|
|
6097
|
-
if (params.
|
|
6098
|
-
let obj = new
|
|
6099
|
-
obj.deserialize(params.
|
|
6100
|
-
this.
|
|
6101
|
-
}
|
|
6102
|
-
|
|
6103
|
-
if (params.MotionGraphicsSettings) {
|
|
6104
|
-
let obj = new MotionGraphicsSetting();
|
|
6105
|
-
obj.deserialize(params.MotionGraphicsSettings)
|
|
6106
|
-
this.MotionGraphicsSettings = obj;
|
|
6107
|
-
}
|
|
6108
|
-
|
|
6109
|
-
if (params.ThumbnailSettings) {
|
|
6110
|
-
let obj = new ThumbnailSettings();
|
|
6111
|
-
obj.deserialize(params.ThumbnailSettings)
|
|
6112
|
-
this.ThumbnailSettings = obj;
|
|
6149
|
+
if (params.LSqueezeSetting) {
|
|
6150
|
+
let obj = new LSqueezeSetting();
|
|
6151
|
+
obj.deserialize(params.LSqueezeSetting)
|
|
6152
|
+
this.LSqueezeSetting = obj;
|
|
6113
6153
|
}
|
|
6154
|
+
this.AdSource = 'AdSource' in params ? params.AdSource : null;
|
|
6114
6155
|
|
|
6115
6156
|
}
|
|
6116
6157
|
}
|
|
@@ -6254,6 +6295,12 @@ Note: This field may return `null`, indicating that no valid value was found.
|
|
|
6254
6295
|
*/
|
|
6255
6296
|
this.AttachedChannels = null;
|
|
6256
6297
|
|
|
6298
|
+
/**
|
|
6299
|
+
* AB watermark configuration.
|
|
6300
|
+
* @type {AbWatermarkSettingsResp || null}
|
|
6301
|
+
*/
|
|
6302
|
+
this.AbWatermarkSettings = null;
|
|
6303
|
+
|
|
6257
6304
|
}
|
|
6258
6305
|
|
|
6259
6306
|
/**
|
|
@@ -6281,6 +6328,12 @@ Note: This field may return `null`, indicating that no valid value was found.
|
|
|
6281
6328
|
this.UpdateTime = 'UpdateTime' in params ? params.UpdateTime : null;
|
|
6282
6329
|
this.AttachedChannels = 'AttachedChannels' in params ? params.AttachedChannels : null;
|
|
6283
6330
|
|
|
6331
|
+
if (params.AbWatermarkSettings) {
|
|
6332
|
+
let obj = new AbWatermarkSettingsResp();
|
|
6333
|
+
obj.deserialize(params.AbWatermarkSettings)
|
|
6334
|
+
this.AbWatermarkSettings = obj;
|
|
6335
|
+
}
|
|
6336
|
+
|
|
6284
6337
|
}
|
|
6285
6338
|
}
|
|
6286
6339
|
|
|
@@ -6440,6 +6493,12 @@ class EventSettingsReq extends AbstractModel {
|
|
|
6440
6493
|
*/
|
|
6441
6494
|
this.MotionGraphicsActivateSetting = null;
|
|
6442
6495
|
|
|
6496
|
+
/**
|
|
6497
|
+
* Ad Settings
|
|
6498
|
+
* @type {AdBreakSetting || null}
|
|
6499
|
+
*/
|
|
6500
|
+
this.AdBreakSetting = null;
|
|
6501
|
+
|
|
6443
6502
|
}
|
|
6444
6503
|
|
|
6445
6504
|
/**
|
|
@@ -6499,6 +6558,12 @@ class EventSettingsReq extends AbstractModel {
|
|
|
6499
6558
|
this.MotionGraphicsActivateSetting = obj;
|
|
6500
6559
|
}
|
|
6501
6560
|
|
|
6561
|
+
if (params.AdBreakSetting) {
|
|
6562
|
+
let obj = new AdBreakSetting();
|
|
6563
|
+
obj.deserialize(params.AdBreakSetting)
|
|
6564
|
+
this.AdBreakSetting = obj;
|
|
6565
|
+
}
|
|
6566
|
+
|
|
6502
6567
|
}
|
|
6503
6568
|
}
|
|
6504
6569
|
|
|
@@ -6625,6 +6690,12 @@ Note: this field may return `null`, indicating that no valid value was found.
|
|
|
6625
6690
|
*/
|
|
6626
6691
|
this.FrameCaptureTemplateNames = null;
|
|
6627
6692
|
|
|
6693
|
+
/**
|
|
6694
|
+
* Name modification for sub m3u8.
|
|
6695
|
+
* @type {string || null}
|
|
6696
|
+
*/
|
|
6697
|
+
this.NameModifier = null;
|
|
6698
|
+
|
|
6628
6699
|
}
|
|
6629
6700
|
|
|
6630
6701
|
/**
|
|
@@ -6652,23 +6723,30 @@ Note: this field may return `null`, indicating that no valid value was found.
|
|
|
6652
6723
|
this.TimedMetadataSettings = obj;
|
|
6653
6724
|
}
|
|
6654
6725
|
this.FrameCaptureTemplateNames = 'FrameCaptureTemplateNames' in params ? params.FrameCaptureTemplateNames : null;
|
|
6726
|
+
this.NameModifier = 'NameModifier' in params ? params.NameModifier : null;
|
|
6655
6727
|
|
|
6656
6728
|
}
|
|
6657
6729
|
}
|
|
6658
6730
|
|
|
6659
6731
|
/**
|
|
6660
|
-
*
|
|
6732
|
+
* DescribeWatermarkDetections response structure.
|
|
6661
6733
|
* @class
|
|
6662
6734
|
*/
|
|
6663
|
-
class
|
|
6735
|
+
class DescribeWatermarkDetectionsResponse extends AbstractModel {
|
|
6664
6736
|
constructor(){
|
|
6665
6737
|
super();
|
|
6666
6738
|
|
|
6667
6739
|
/**
|
|
6668
|
-
*
|
|
6669
|
-
* @type {
|
|
6740
|
+
* Watermark detection information
|
|
6741
|
+
* @type {Array.<AbWatermarkDetectionInfo> || null}
|
|
6670
6742
|
*/
|
|
6671
|
-
this.
|
|
6743
|
+
this.TaskInfos = null;
|
|
6744
|
+
|
|
6745
|
+
/**
|
|
6746
|
+
* number of tasks
|
|
6747
|
+
* @type {number || null}
|
|
6748
|
+
*/
|
|
6749
|
+
this.TotalCount = null;
|
|
6672
6750
|
|
|
6673
6751
|
/**
|
|
6674
6752
|
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
@@ -6686,11 +6764,15 @@ class DescribeStreamLiveChannelAlertsResponse extends AbstractModel {
|
|
|
6686
6764
|
return;
|
|
6687
6765
|
}
|
|
6688
6766
|
|
|
6689
|
-
if (params.
|
|
6690
|
-
|
|
6691
|
-
|
|
6692
|
-
|
|
6767
|
+
if (params.TaskInfos) {
|
|
6768
|
+
this.TaskInfos = new Array();
|
|
6769
|
+
for (let z in params.TaskInfos) {
|
|
6770
|
+
let obj = new AbWatermarkDetectionInfo();
|
|
6771
|
+
obj.deserialize(params.TaskInfos[z]);
|
|
6772
|
+
this.TaskInfos.push(obj);
|
|
6773
|
+
}
|
|
6693
6774
|
}
|
|
6775
|
+
this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
|
|
6694
6776
|
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
6695
6777
|
|
|
6696
6778
|
}
|
|
@@ -6990,19 +7072,19 @@ class CreateImageSettings extends AbstractModel {
|
|
|
6990
7072
|
this.Location = null;
|
|
6991
7073
|
|
|
6992
7074
|
/**
|
|
6993
|
-
* The watermark
|
|
7075
|
+
* The watermark's horizontal distance from the origin as a percentage of the video width. Value range: 0-100. Default: 10.
|
|
6994
7076
|
* @type {number || null}
|
|
6995
7077
|
*/
|
|
6996
7078
|
this.XPos = null;
|
|
6997
7079
|
|
|
6998
7080
|
/**
|
|
6999
|
-
* The watermark
|
|
7081
|
+
* The watermark's vertical distance from the origin as a percentage of the video height. Value range: 0-100. Default: 10.
|
|
7000
7082
|
* @type {number || null}
|
|
7001
7083
|
*/
|
|
7002
7084
|
this.YPos = null;
|
|
7003
7085
|
|
|
7004
7086
|
/**
|
|
7005
|
-
* The watermark image
|
|
7087
|
+
* The watermark image's width as a percentage of the video width. Value range: 0-100. Default: 10.
|
|
7006
7088
|
`0` means to scale the width proportionally to the height.
|
|
7007
7089
|
You cannot set both `Width` and `Height` to `0`.
|
|
7008
7090
|
* @type {number || null}
|
|
@@ -7010,7 +7092,7 @@ You cannot set both `Width` and `Height` to `0`.
|
|
|
7010
7092
|
this.Width = null;
|
|
7011
7093
|
|
|
7012
7094
|
/**
|
|
7013
|
-
* The watermark image
|
|
7095
|
+
* The watermark image's height as a percentage of the video height. Value range: 0-100. Default: 10.
|
|
7014
7096
|
`0` means to scale the height proportionally to the width.
|
|
7015
7097
|
You cannot set both `Width` and `Height` to `0`.
|
|
7016
7098
|
* @type {number || null}
|
|
@@ -7415,6 +7497,63 @@ class AbWatermarkSettingsReq extends AbstractModel {
|
|
|
7415
7497
|
}
|
|
7416
7498
|
}
|
|
7417
7499
|
|
|
7500
|
+
/**
|
|
7501
|
+
* General setting.
|
|
7502
|
+
* @class
|
|
7503
|
+
*/
|
|
7504
|
+
class GeneralSetting extends AbstractModel {
|
|
7505
|
+
constructor(){
|
|
7506
|
+
super();
|
|
7507
|
+
|
|
7508
|
+
/**
|
|
7509
|
+
* Static graphic overlay configuration.
|
|
7510
|
+
* @type {StaticImageSettings || null}
|
|
7511
|
+
*/
|
|
7512
|
+
this.StaticImageSettings = null;
|
|
7513
|
+
|
|
7514
|
+
/**
|
|
7515
|
+
* Dynamic graphic overlay configuration.
|
|
7516
|
+
* @type {MotionGraphicsSetting || null}
|
|
7517
|
+
*/
|
|
7518
|
+
this.MotionGraphicsSettings = null;
|
|
7519
|
+
|
|
7520
|
+
/**
|
|
7521
|
+
* Thumbnail Configuration.
|
|
7522
|
+
* @type {ThumbnailSettings || null}
|
|
7523
|
+
*/
|
|
7524
|
+
this.ThumbnailSettings = null;
|
|
7525
|
+
|
|
7526
|
+
}
|
|
7527
|
+
|
|
7528
|
+
/**
|
|
7529
|
+
* @private
|
|
7530
|
+
*/
|
|
7531
|
+
deserialize(params) {
|
|
7532
|
+
if (!params) {
|
|
7533
|
+
return;
|
|
7534
|
+
}
|
|
7535
|
+
|
|
7536
|
+
if (params.StaticImageSettings) {
|
|
7537
|
+
let obj = new StaticImageSettings();
|
|
7538
|
+
obj.deserialize(params.StaticImageSettings)
|
|
7539
|
+
this.StaticImageSettings = obj;
|
|
7540
|
+
}
|
|
7541
|
+
|
|
7542
|
+
if (params.MotionGraphicsSettings) {
|
|
7543
|
+
let obj = new MotionGraphicsSetting();
|
|
7544
|
+
obj.deserialize(params.MotionGraphicsSettings)
|
|
7545
|
+
this.MotionGraphicsSettings = obj;
|
|
7546
|
+
}
|
|
7547
|
+
|
|
7548
|
+
if (params.ThumbnailSettings) {
|
|
7549
|
+
let obj = new ThumbnailSettings();
|
|
7550
|
+
obj.deserialize(params.ThumbnailSettings)
|
|
7551
|
+
this.ThumbnailSettings = obj;
|
|
7552
|
+
}
|
|
7553
|
+
|
|
7554
|
+
}
|
|
7555
|
+
}
|
|
7556
|
+
|
|
7418
7557
|
/**
|
|
7419
7558
|
* The callback settings.
|
|
7420
7559
|
* @class
|
|
@@ -7700,6 +7839,69 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
7700
7839
|
}
|
|
7701
7840
|
}
|
|
7702
7841
|
|
|
7842
|
+
/**
|
|
7843
|
+
*
|
|
7844
|
+
* @class
|
|
7845
|
+
*/
|
|
7846
|
+
class LSqueezeSetting extends AbstractModel {
|
|
7847
|
+
constructor(){
|
|
7848
|
+
super();
|
|
7849
|
+
|
|
7850
|
+
/**
|
|
7851
|
+
* Advertising benchmark position, 0 top left, 1 top right, 2 bottom right, 3 bottom left, default value 0, corresponding TOP_LEFT,TOP_RIGHT,BOTTOM_RIGHT,BOTTOM_LEFT
|
|
7852
|
+
* @type {number || null}
|
|
7853
|
+
*/
|
|
7854
|
+
this.Location = null;
|
|
7855
|
+
|
|
7856
|
+
/**
|
|
7857
|
+
* The default value for the percentage in the X-axis direction is 20, with a range of 0-50
|
|
7858
|
+
* @type {number || null}
|
|
7859
|
+
*/
|
|
7860
|
+
this.OffsetX = null;
|
|
7861
|
+
|
|
7862
|
+
/**
|
|
7863
|
+
* The default value for the percentage in the Y-axis direction is 20, with a range of 0-50
|
|
7864
|
+
* @type {number || null}
|
|
7865
|
+
*/
|
|
7866
|
+
this.OffsetY = null;
|
|
7867
|
+
|
|
7868
|
+
/**
|
|
7869
|
+
* Background image URL, starting with http/https and ending in jpg/jpeg/png
|
|
7870
|
+
* @type {string || null}
|
|
7871
|
+
*/
|
|
7872
|
+
this.BackgroundImgUrl = null;
|
|
7873
|
+
|
|
7874
|
+
/**
|
|
7875
|
+
* Compress time. Unit ms, default value 2000, range: 500-10000, SqueezeInPeriod+SqueezeOutPeriod cannot be greater than duration, included in duration
|
|
7876
|
+
* @type {number || null}
|
|
7877
|
+
*/
|
|
7878
|
+
this.SqueezeInPeriod = null;
|
|
7879
|
+
|
|
7880
|
+
/**
|
|
7881
|
+
* Restore to full screen time. Unit ms, default value 2000, range 500-10000, SqueezeInPeriod+SqueezeOutPeriod cannot be greater than duration, included in duration
|
|
7882
|
+
* @type {number || null}
|
|
7883
|
+
*/
|
|
7884
|
+
this.SqueezeOutPeriod = null;
|
|
7885
|
+
|
|
7886
|
+
}
|
|
7887
|
+
|
|
7888
|
+
/**
|
|
7889
|
+
* @private
|
|
7890
|
+
*/
|
|
7891
|
+
deserialize(params) {
|
|
7892
|
+
if (!params) {
|
|
7893
|
+
return;
|
|
7894
|
+
}
|
|
7895
|
+
this.Location = 'Location' in params ? params.Location : null;
|
|
7896
|
+
this.OffsetX = 'OffsetX' in params ? params.OffsetX : null;
|
|
7897
|
+
this.OffsetY = 'OffsetY' in params ? params.OffsetY : null;
|
|
7898
|
+
this.BackgroundImgUrl = 'BackgroundImgUrl' in params ? params.BackgroundImgUrl : null;
|
|
7899
|
+
this.SqueezeInPeriod = 'SqueezeInPeriod' in params ? params.SqueezeInPeriod : null;
|
|
7900
|
+
this.SqueezeOutPeriod = 'SqueezeOutPeriod' in params ? params.SqueezeOutPeriod : null;
|
|
7901
|
+
|
|
7902
|
+
}
|
|
7903
|
+
}
|
|
7904
|
+
|
|
7703
7905
|
/**
|
|
7704
7906
|
* Custom DRM key.
|
|
7705
7907
|
* @class
|
|
@@ -8045,6 +8247,24 @@ For other inputs, the quantity is 1.
|
|
|
8045
8247
|
*/
|
|
8046
8248
|
this.Audio = null;
|
|
8047
8249
|
|
|
8250
|
+
/**
|
|
8251
|
+
* Session ID
|
|
8252
|
+
* @type {string || null}
|
|
8253
|
+
*/
|
|
8254
|
+
this.SessionId = null;
|
|
8255
|
+
|
|
8256
|
+
/**
|
|
8257
|
+
* Rtt time, in milliseconds
|
|
8258
|
+
* @type {number || null}
|
|
8259
|
+
*/
|
|
8260
|
+
this.RTT = null;
|
|
8261
|
+
|
|
8262
|
+
/**
|
|
8263
|
+
* Is the Network parameter valid? 0 indicates invalid, 1 indicates valid
|
|
8264
|
+
* @type {number || null}
|
|
8265
|
+
*/
|
|
8266
|
+
this.NetworkValid = null;
|
|
8267
|
+
|
|
8048
8268
|
}
|
|
8049
8269
|
|
|
8050
8270
|
/**
|
|
@@ -8074,6 +8294,9 @@ For other inputs, the quantity is 1.
|
|
|
8074
8294
|
this.Audio.push(obj);
|
|
8075
8295
|
}
|
|
8076
8296
|
}
|
|
8297
|
+
this.SessionId = 'SessionId' in params ? params.SessionId : null;
|
|
8298
|
+
this.RTT = 'RTT' in params ? params.RTT : null;
|
|
8299
|
+
this.NetworkValid = 'NetworkValid' in params ? params.NetworkValid : null;
|
|
8077
8300
|
|
|
8078
8301
|
}
|
|
8079
8302
|
}
|
|
@@ -9139,7 +9362,7 @@ class SegmentationDescriptorInfo extends AbstractModel {
|
|
|
9139
9362
|
this.TypeID = null;
|
|
9140
9363
|
|
|
9141
9364
|
/**
|
|
9142
|
-
* Corresponds to SCTE-35 segment_num
|
|
9365
|
+
* Corresponds to SCTE-35 segment_num. This field provides support for numbering segments within a given collection of segments.
|
|
9143
9366
|
* @type {number || null}
|
|
9144
9367
|
*/
|
|
9145
9368
|
this.Num = null;
|
|
@@ -9472,6 +9695,7 @@ module.exports = {
|
|
|
9472
9695
|
DescribeStreamLiveWatermarksRequest: DescribeStreamLiveWatermarksRequest,
|
|
9473
9696
|
DescribeWatermarkDetectionsRequest: DescribeWatermarkDetectionsRequest,
|
|
9474
9697
|
TimedMetadataInfo: TimedMetadataInfo,
|
|
9698
|
+
AbWatermarkSettingsResp: AbWatermarkSettingsResp,
|
|
9475
9699
|
DescribeStreamLiveRegionsRequest: DescribeStreamLiveRegionsRequest,
|
|
9476
9700
|
DescribeTranscodeDetailInfo: DescribeTranscodeDetailInfo,
|
|
9477
9701
|
AbWatermarkInputInfo: AbWatermarkInputInfo,
|
|
@@ -9515,14 +9739,14 @@ module.exports = {
|
|
|
9515
9739
|
CreateStreamLiveWatermarkResponse: CreateStreamLiveWatermarkResponse,
|
|
9516
9740
|
DescribeStreamLiveInputsResponse: DescribeStreamLiveInputsResponse,
|
|
9517
9741
|
ModifyStreamLiveInputResponse: ModifyStreamLiveInputResponse,
|
|
9518
|
-
|
|
9742
|
+
DescribeStreamLiveChannelAlertsResponse: DescribeStreamLiveChannelAlertsResponse,
|
|
9519
9743
|
ThumbnailSettings: ThumbnailSettings,
|
|
9520
9744
|
PlanResp: PlanResp,
|
|
9521
9745
|
AudioNormalizationSettings: AudioNormalizationSettings,
|
|
9522
9746
|
DescribeStreamLivePlansResponse: DescribeStreamLivePlansResponse,
|
|
9523
9747
|
DescribeStreamLiveChannelLogsRequest: DescribeStreamLiveChannelLogsRequest,
|
|
9524
9748
|
CreateStreamLiveInputSecurityGroupRequest: CreateStreamLiveInputSecurityGroupRequest,
|
|
9525
|
-
|
|
9749
|
+
AdBreakSetting: AdBreakSetting,
|
|
9526
9750
|
DescribeStreamLiveChannelOutputStatisticsResponse: DescribeStreamLiveChannelOutputStatisticsResponse,
|
|
9527
9751
|
GetAbWatermarkPlayUrlRequest: GetAbWatermarkPlayUrlRequest,
|
|
9528
9752
|
DescribeWatermarkInfo: DescribeWatermarkInfo,
|
|
@@ -9532,7 +9756,7 @@ module.exports = {
|
|
|
9532
9756
|
CreateStreamLiveInputResponse: CreateStreamLiveInputResponse,
|
|
9533
9757
|
EventSettingsDestinationResp: EventSettingsDestinationResp,
|
|
9534
9758
|
OutputInfo: OutputInfo,
|
|
9535
|
-
|
|
9759
|
+
DescribeWatermarkDetectionsResponse: DescribeWatermarkDetectionsResponse,
|
|
9536
9760
|
StaticImageDeactivateSetting: StaticImageDeactivateSetting,
|
|
9537
9761
|
VideoCodecDetail: VideoCodecDetail,
|
|
9538
9762
|
CreateStreamLiveChannelResponse: CreateStreamLiveChannelResponse,
|
|
@@ -9549,6 +9773,7 @@ module.exports = {
|
|
|
9549
9773
|
DescribeStreamLiveInputSecurityGroupsResponse: DescribeStreamLiveInputSecurityGroupsResponse,
|
|
9550
9774
|
StartStreamLiveChannelRequest: StartStreamLiveChannelRequest,
|
|
9551
9775
|
AbWatermarkSettingsReq: AbWatermarkSettingsReq,
|
|
9776
|
+
GeneralSetting: GeneralSetting,
|
|
9552
9777
|
EventNotifySetting: EventNotifySetting,
|
|
9553
9778
|
DeleteStreamLiveInputResponse: DeleteStreamLiveInputResponse,
|
|
9554
9779
|
MotionGraphicsActivateSetting: MotionGraphicsActivateSetting,
|
|
@@ -9556,6 +9781,7 @@ module.exports = {
|
|
|
9556
9781
|
DescribeStreamLiveWatermarkResponse: DescribeStreamLiveWatermarkResponse,
|
|
9557
9782
|
StreamScte35Info: StreamScte35Info,
|
|
9558
9783
|
StreamAudioInfo: StreamAudioInfo,
|
|
9784
|
+
LSqueezeSetting: LSqueezeSetting,
|
|
9559
9785
|
DrmKey: DrmKey,
|
|
9560
9786
|
OutputsStatistics: OutputsStatistics,
|
|
9561
9787
|
InputSecurityGroupInfo: InputSecurityGroupInfo,
|