tencentcloud-sdk-nodejs-intl-en 3.0.1401 → 3.0.1402
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/rce/index.js +1 -1
- package/tencentcloud/rce/v20260130/index.js +4 -0
- package/tencentcloud/rce/v20260130/models.js +874 -0
- package/tencentcloud/rce/v20260130/rce_client.js +82 -0
- package/tencentcloud/vod/v20180717/models.js +12 -12
package/package.json
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const sdkVersion = "3.0.
|
|
1
|
+
const sdkVersion = "3.0.1402";
|
|
2
2
|
module.exports = sdkVersion
|
|
@@ -0,0 +1,874 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2018 Tencent. All Rights Reserved.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing,
|
|
11
|
+
* software distributed under the License is distributed on an
|
|
12
|
+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
13
|
+
* KIND, either express or implied. See the License for the
|
|
14
|
+
* specific language governing permissions and limitations
|
|
15
|
+
* under the License.
|
|
16
|
+
*/
|
|
17
|
+
const AbstractModel = require("../../common/abstract_model");
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* Risk label
|
|
21
|
+
* @class
|
|
22
|
+
*/
|
|
23
|
+
class RiskLabel extends AbstractModel {
|
|
24
|
+
constructor(){
|
|
25
|
+
super();
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* <p>The ID of the label</p>
|
|
29
|
+
* @type {string || null}
|
|
30
|
+
*/
|
|
31
|
+
this.Id = null;
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* <p>The reason of the label</p>
|
|
35
|
+
* @type {string || null}
|
|
36
|
+
*/
|
|
37
|
+
this.Reason = null;
|
|
38
|
+
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* @private
|
|
43
|
+
*/
|
|
44
|
+
deserialize(params) {
|
|
45
|
+
if (!params) {
|
|
46
|
+
return;
|
|
47
|
+
}
|
|
48
|
+
this.Id = 'Id' in params ? params.Id : null;
|
|
49
|
+
this.Reason = 'Reason' in params ? params.Reason : null;
|
|
50
|
+
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* The basic information of the IP environment
|
|
56
|
+
* @class
|
|
57
|
+
*/
|
|
58
|
+
class Environment extends AbstractModel {
|
|
59
|
+
constructor(){
|
|
60
|
+
super();
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* <p>The geographical location of the IP address</p>
|
|
64
|
+
* @type {IPLocation || null}
|
|
65
|
+
*/
|
|
66
|
+
this.Location = null;
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* <p>The basic IP network information</p>
|
|
70
|
+
* @type {IPNetwork || null}
|
|
71
|
+
*/
|
|
72
|
+
this.Network = null;
|
|
73
|
+
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* @private
|
|
78
|
+
*/
|
|
79
|
+
deserialize(params) {
|
|
80
|
+
if (!params) {
|
|
81
|
+
return;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
if (params.Location) {
|
|
85
|
+
let obj = new IPLocation();
|
|
86
|
+
obj.deserialize(params.Location)
|
|
87
|
+
this.Location = obj;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
if (params.Network) {
|
|
91
|
+
let obj = new IPNetwork();
|
|
92
|
+
obj.deserialize(params.Network)
|
|
93
|
+
this.Network = obj;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* The results of AssessEnvironmentRisk
|
|
101
|
+
* @class
|
|
102
|
+
*/
|
|
103
|
+
class AssessEnvironmentRiskRsp extends AbstractModel {
|
|
104
|
+
constructor(){
|
|
105
|
+
super();
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* <p>The risk score information of the IP environment</p>
|
|
109
|
+
* @type {DataScore || null}
|
|
110
|
+
*/
|
|
111
|
+
this.Score = null;
|
|
112
|
+
|
|
113
|
+
/**
|
|
114
|
+
* <p>The basic information of the IP environment</p>
|
|
115
|
+
* @type {Environment || null}
|
|
116
|
+
*/
|
|
117
|
+
this.Environment = null;
|
|
118
|
+
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
/**
|
|
122
|
+
* @private
|
|
123
|
+
*/
|
|
124
|
+
deserialize(params) {
|
|
125
|
+
if (!params) {
|
|
126
|
+
return;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
if (params.Score) {
|
|
130
|
+
let obj = new DataScore();
|
|
131
|
+
obj.deserialize(params.Score)
|
|
132
|
+
this.Score = obj;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
if (params.Environment) {
|
|
136
|
+
let obj = new Environment();
|
|
137
|
+
obj.deserialize(params.Environment)
|
|
138
|
+
this.Environment = obj;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
/**
|
|
145
|
+
* The geographical location of the IP address
|
|
146
|
+
* @class
|
|
147
|
+
*/
|
|
148
|
+
class IPLocation extends AbstractModel {
|
|
149
|
+
constructor(){
|
|
150
|
+
super();
|
|
151
|
+
|
|
152
|
+
/**
|
|
153
|
+
* <p>The country of the IP address</p>
|
|
154
|
+
* @type {string || null}
|
|
155
|
+
*/
|
|
156
|
+
this.Country = null;
|
|
157
|
+
|
|
158
|
+
/**
|
|
159
|
+
* <p>The region of the IP address</p>
|
|
160
|
+
* @type {string || null}
|
|
161
|
+
*/
|
|
162
|
+
this.Region = null;
|
|
163
|
+
|
|
164
|
+
/**
|
|
165
|
+
* <p>The city of the IP address</p>
|
|
166
|
+
* @type {string || null}
|
|
167
|
+
*/
|
|
168
|
+
this.City = null;
|
|
169
|
+
|
|
170
|
+
/**
|
|
171
|
+
* <p>The district of the IP address</p>
|
|
172
|
+
* @type {string || null}
|
|
173
|
+
*/
|
|
174
|
+
this.District = null;
|
|
175
|
+
|
|
176
|
+
/**
|
|
177
|
+
* <p>The longitude of the IP address</p>
|
|
178
|
+
* @type {string || null}
|
|
179
|
+
*/
|
|
180
|
+
this.Longitude = null;
|
|
181
|
+
|
|
182
|
+
/**
|
|
183
|
+
* <p>The latitude of the IP address</p>
|
|
184
|
+
* @type {string || null}
|
|
185
|
+
*/
|
|
186
|
+
this.Latitude = null;
|
|
187
|
+
|
|
188
|
+
/**
|
|
189
|
+
* <p>The timezone of the IP address</p>
|
|
190
|
+
* @type {string || null}
|
|
191
|
+
*/
|
|
192
|
+
this.Timezone = null;
|
|
193
|
+
|
|
194
|
+
/**
|
|
195
|
+
* <p>The zip code of the IP address</p>
|
|
196
|
+
* @type {string || null}
|
|
197
|
+
*/
|
|
198
|
+
this.ZipCode = null;
|
|
199
|
+
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
/**
|
|
203
|
+
* @private
|
|
204
|
+
*/
|
|
205
|
+
deserialize(params) {
|
|
206
|
+
if (!params) {
|
|
207
|
+
return;
|
|
208
|
+
}
|
|
209
|
+
this.Country = 'Country' in params ? params.Country : null;
|
|
210
|
+
this.Region = 'Region' in params ? params.Region : null;
|
|
211
|
+
this.City = 'City' in params ? params.City : null;
|
|
212
|
+
this.District = 'District' in params ? params.District : null;
|
|
213
|
+
this.Longitude = 'Longitude' in params ? params.Longitude : null;
|
|
214
|
+
this.Latitude = 'Latitude' in params ? params.Latitude : null;
|
|
215
|
+
this.Timezone = 'Timezone' in params ? params.Timezone : null;
|
|
216
|
+
this.ZipCode = 'ZipCode' in params ? params.ZipCode : null;
|
|
217
|
+
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
/**
|
|
222
|
+
* Risk score information
|
|
223
|
+
* @class
|
|
224
|
+
*/
|
|
225
|
+
class DataScore extends AbstractModel {
|
|
226
|
+
constructor(){
|
|
227
|
+
super();
|
|
228
|
+
|
|
229
|
+
/**
|
|
230
|
+
* <p>Risk level</p>
|
|
231
|
+
* @type {number || null}
|
|
232
|
+
*/
|
|
233
|
+
this.RiskLevel = null;
|
|
234
|
+
|
|
235
|
+
/**
|
|
236
|
+
* <p>Risk label</p>
|
|
237
|
+
* @type {Array.<RiskLabel> || null}
|
|
238
|
+
*/
|
|
239
|
+
this.RiskLabels = null;
|
|
240
|
+
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
/**
|
|
244
|
+
* @private
|
|
245
|
+
*/
|
|
246
|
+
deserialize(params) {
|
|
247
|
+
if (!params) {
|
|
248
|
+
return;
|
|
249
|
+
}
|
|
250
|
+
this.RiskLevel = 'RiskLevel' in params ? params.RiskLevel : null;
|
|
251
|
+
|
|
252
|
+
if (params.RiskLabels) {
|
|
253
|
+
this.RiskLabels = new Array();
|
|
254
|
+
for (let z in params.RiskLabels) {
|
|
255
|
+
let obj = new RiskLabel();
|
|
256
|
+
obj.deserialize(params.RiskLabels[z]);
|
|
257
|
+
this.RiskLabels.push(obj);
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
/**
|
|
265
|
+
* The results of AssessDeviceRiskPro
|
|
266
|
+
* @class
|
|
267
|
+
*/
|
|
268
|
+
class AssessDeviceRiskRsp extends AbstractModel {
|
|
269
|
+
constructor(){
|
|
270
|
+
super();
|
|
271
|
+
|
|
272
|
+
/**
|
|
273
|
+
* <p>The risk score information of the device</p>
|
|
274
|
+
* @type {DataScore || null}
|
|
275
|
+
*/
|
|
276
|
+
this.Score = null;
|
|
277
|
+
|
|
278
|
+
/**
|
|
279
|
+
* <p>The basic information of the device</p>
|
|
280
|
+
* @type {Device || null}
|
|
281
|
+
*/
|
|
282
|
+
this.Device = null;
|
|
283
|
+
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
/**
|
|
287
|
+
* @private
|
|
288
|
+
*/
|
|
289
|
+
deserialize(params) {
|
|
290
|
+
if (!params) {
|
|
291
|
+
return;
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
if (params.Score) {
|
|
295
|
+
let obj = new DataScore();
|
|
296
|
+
obj.deserialize(params.Score)
|
|
297
|
+
this.Score = obj;
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
if (params.Device) {
|
|
301
|
+
let obj = new Device();
|
|
302
|
+
obj.deserialize(params.Device)
|
|
303
|
+
this.Device = obj;
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
}
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
/**
|
|
310
|
+
* AssessEnvironmentRisk response structure.
|
|
311
|
+
* @class
|
|
312
|
+
*/
|
|
313
|
+
class AssessEnvironmentRiskResponse extends AbstractModel {
|
|
314
|
+
constructor(){
|
|
315
|
+
super();
|
|
316
|
+
|
|
317
|
+
/**
|
|
318
|
+
* <p>The results of AssessEnvironmentRisk</p>
|
|
319
|
+
* @type {AssessEnvironmentRiskRsp || null}
|
|
320
|
+
*/
|
|
321
|
+
this.Data = null;
|
|
322
|
+
|
|
323
|
+
/**
|
|
324
|
+
* 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.
|
|
325
|
+
* @type {string || null}
|
|
326
|
+
*/
|
|
327
|
+
this.RequestId = null;
|
|
328
|
+
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
/**
|
|
332
|
+
* @private
|
|
333
|
+
*/
|
|
334
|
+
deserialize(params) {
|
|
335
|
+
if (!params) {
|
|
336
|
+
return;
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
if (params.Data) {
|
|
340
|
+
let obj = new AssessEnvironmentRiskRsp();
|
|
341
|
+
obj.deserialize(params.Data)
|
|
342
|
+
this.Data = obj;
|
|
343
|
+
}
|
|
344
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
345
|
+
|
|
346
|
+
}
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
/**
|
|
350
|
+
* AssessDeviceRiskPremiumPro response structure.
|
|
351
|
+
* @class
|
|
352
|
+
*/
|
|
353
|
+
class AssessDeviceRiskPremiumProResponse extends AbstractModel {
|
|
354
|
+
constructor(){
|
|
355
|
+
super();
|
|
356
|
+
|
|
357
|
+
/**
|
|
358
|
+
* <p>The results of AssessDeviceRiskPremiumPro</p>
|
|
359
|
+
* @type {AssessDeviceRiskPremiumRsp || null}
|
|
360
|
+
*/
|
|
361
|
+
this.Data = null;
|
|
362
|
+
|
|
363
|
+
/**
|
|
364
|
+
* 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.
|
|
365
|
+
* @type {string || null}
|
|
366
|
+
*/
|
|
367
|
+
this.RequestId = null;
|
|
368
|
+
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
/**
|
|
372
|
+
* @private
|
|
373
|
+
*/
|
|
374
|
+
deserialize(params) {
|
|
375
|
+
if (!params) {
|
|
376
|
+
return;
|
|
377
|
+
}
|
|
378
|
+
|
|
379
|
+
if (params.Data) {
|
|
380
|
+
let obj = new AssessDeviceRiskPremiumRsp();
|
|
381
|
+
obj.deserialize(params.Data)
|
|
382
|
+
this.Data = obj;
|
|
383
|
+
}
|
|
384
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
385
|
+
|
|
386
|
+
}
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
/**
|
|
390
|
+
* AssessDeviceRiskPro request structure.
|
|
391
|
+
* @class
|
|
392
|
+
*/
|
|
393
|
+
class AssessDeviceRiskProRequest extends AbstractModel {
|
|
394
|
+
constructor(){
|
|
395
|
+
super();
|
|
396
|
+
|
|
397
|
+
/**
|
|
398
|
+
* <p>Device fingerprint token, obtained after integration of the device fingerprint SDK into your website or application</p>
|
|
399
|
+
* @type {string || null}
|
|
400
|
+
*/
|
|
401
|
+
this.DeviceToken = null;
|
|
402
|
+
|
|
403
|
+
/**
|
|
404
|
+
* <p>User client IP address(IPv4 or IPv6)</p>
|
|
405
|
+
* @type {string || null}
|
|
406
|
+
*/
|
|
407
|
+
this.UserIp = null;
|
|
408
|
+
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
/**
|
|
412
|
+
* @private
|
|
413
|
+
*/
|
|
414
|
+
deserialize(params) {
|
|
415
|
+
if (!params) {
|
|
416
|
+
return;
|
|
417
|
+
}
|
|
418
|
+
this.DeviceToken = 'DeviceToken' in params ? params.DeviceToken : null;
|
|
419
|
+
this.UserIp = 'UserIp' in params ? params.UserIp : null;
|
|
420
|
+
|
|
421
|
+
}
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
/**
|
|
425
|
+
* AssessDeviceRiskPremiumPro request structure.
|
|
426
|
+
* @class
|
|
427
|
+
*/
|
|
428
|
+
class AssessDeviceRiskPremiumProRequest extends AbstractModel {
|
|
429
|
+
constructor(){
|
|
430
|
+
super();
|
|
431
|
+
|
|
432
|
+
/**
|
|
433
|
+
* <p>Device fingerprint token, obtained after integration of the device fingerprint SDK into your website or application</p>
|
|
434
|
+
* @type {string || null}
|
|
435
|
+
*/
|
|
436
|
+
this.DeviceToken = null;
|
|
437
|
+
|
|
438
|
+
/**
|
|
439
|
+
* <p>User client IP address(IPv4 or IPv6)</p>
|
|
440
|
+
* @type {string || null}
|
|
441
|
+
*/
|
|
442
|
+
this.UserIp = null;
|
|
443
|
+
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
/**
|
|
447
|
+
* @private
|
|
448
|
+
*/
|
|
449
|
+
deserialize(params) {
|
|
450
|
+
if (!params) {
|
|
451
|
+
return;
|
|
452
|
+
}
|
|
453
|
+
this.DeviceToken = 'DeviceToken' in params ? params.DeviceToken : null;
|
|
454
|
+
this.UserIp = 'UserIp' in params ? params.UserIp : null;
|
|
455
|
+
|
|
456
|
+
}
|
|
457
|
+
}
|
|
458
|
+
|
|
459
|
+
/**
|
|
460
|
+
* AssessDeviceRiskPro response structure.
|
|
461
|
+
* @class
|
|
462
|
+
*/
|
|
463
|
+
class AssessDeviceRiskProResponse extends AbstractModel {
|
|
464
|
+
constructor(){
|
|
465
|
+
super();
|
|
466
|
+
|
|
467
|
+
/**
|
|
468
|
+
* <p>The results of AssessDeviceRiskPro</p>
|
|
469
|
+
* @type {AssessDeviceRiskRsp || null}
|
|
470
|
+
*/
|
|
471
|
+
this.Data = null;
|
|
472
|
+
|
|
473
|
+
/**
|
|
474
|
+
* 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.
|
|
475
|
+
* @type {string || null}
|
|
476
|
+
*/
|
|
477
|
+
this.RequestId = null;
|
|
478
|
+
|
|
479
|
+
}
|
|
480
|
+
|
|
481
|
+
/**
|
|
482
|
+
* @private
|
|
483
|
+
*/
|
|
484
|
+
deserialize(params) {
|
|
485
|
+
if (!params) {
|
|
486
|
+
return;
|
|
487
|
+
}
|
|
488
|
+
|
|
489
|
+
if (params.Data) {
|
|
490
|
+
let obj = new AssessDeviceRiskRsp();
|
|
491
|
+
obj.deserialize(params.Data)
|
|
492
|
+
this.Data = obj;
|
|
493
|
+
}
|
|
494
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
495
|
+
|
|
496
|
+
}
|
|
497
|
+
}
|
|
498
|
+
|
|
499
|
+
/**
|
|
500
|
+
* The basic IP network information
|
|
501
|
+
* @class
|
|
502
|
+
*/
|
|
503
|
+
class IPNetwork extends AbstractModel {
|
|
504
|
+
constructor(){
|
|
505
|
+
super();
|
|
506
|
+
|
|
507
|
+
/**
|
|
508
|
+
* <p>Internet service provider</p>
|
|
509
|
+
* @type {string || null}
|
|
510
|
+
*/
|
|
511
|
+
this.ISP = null;
|
|
512
|
+
|
|
513
|
+
/**
|
|
514
|
+
* <p>Autonomous system number</p>
|
|
515
|
+
* @type {string || null}
|
|
516
|
+
*/
|
|
517
|
+
this.ASN = null;
|
|
518
|
+
|
|
519
|
+
/**
|
|
520
|
+
* <p>IP registration organization name</p>
|
|
521
|
+
* @type {string || null}
|
|
522
|
+
*/
|
|
523
|
+
this.Organization = null;
|
|
524
|
+
|
|
525
|
+
/**
|
|
526
|
+
* <p>Whether it is a reserved IP address</p>
|
|
527
|
+
* @type {boolean || null}
|
|
528
|
+
*/
|
|
529
|
+
this.IsReserved = null;
|
|
530
|
+
|
|
531
|
+
/**
|
|
532
|
+
* <p>Whether it is a gateway IP address</p>
|
|
533
|
+
* @type {boolean || null}
|
|
534
|
+
*/
|
|
535
|
+
this.IsGateway = null;
|
|
536
|
+
|
|
537
|
+
/**
|
|
538
|
+
* <p>Whether it belongs to an anycast network</p>
|
|
539
|
+
* @type {boolean || null}
|
|
540
|
+
*/
|
|
541
|
+
this.IsAnycast = null;
|
|
542
|
+
|
|
543
|
+
/**
|
|
544
|
+
* <p>Whether it is from a mobile network</p>
|
|
545
|
+
* @type {boolean || null}
|
|
546
|
+
*/
|
|
547
|
+
this.IsMobile = null;
|
|
548
|
+
|
|
549
|
+
/**
|
|
550
|
+
* <p>Whether it is a dynamic IP address</p>
|
|
551
|
+
* @type {boolean || null}
|
|
552
|
+
*/
|
|
553
|
+
this.IsDynamic = null;
|
|
554
|
+
|
|
555
|
+
/**
|
|
556
|
+
* <p>Whether it is a network egress</p>
|
|
557
|
+
* @type {boolean || null}
|
|
558
|
+
*/
|
|
559
|
+
this.IsEgress = null;
|
|
560
|
+
|
|
561
|
+
/**
|
|
562
|
+
* <p>Whether it is used for domain name resolution</p>
|
|
563
|
+
* @type {boolean || null}
|
|
564
|
+
*/
|
|
565
|
+
this.IsDNS = null;
|
|
566
|
+
|
|
567
|
+
/**
|
|
568
|
+
* <p>Whether it is an educational institution</p>
|
|
569
|
+
* @type {boolean || null}
|
|
570
|
+
*/
|
|
571
|
+
this.IsEducation = null;
|
|
572
|
+
|
|
573
|
+
/**
|
|
574
|
+
* <p>Whether it is an organization</p>
|
|
575
|
+
* @type {boolean || null}
|
|
576
|
+
*/
|
|
577
|
+
this.IsInstitution = null;
|
|
578
|
+
|
|
579
|
+
/**
|
|
580
|
+
* <p>Whether it is an enterprise dedicated line</p>
|
|
581
|
+
* @type {boolean || null}
|
|
582
|
+
*/
|
|
583
|
+
this.IsCompany = null;
|
|
584
|
+
|
|
585
|
+
/**
|
|
586
|
+
* <p>Whether it is a residence broadband connection</p>
|
|
587
|
+
* @type {boolean || null}
|
|
588
|
+
*/
|
|
589
|
+
this.IsResidence = null;
|
|
590
|
+
|
|
591
|
+
/**
|
|
592
|
+
* <p>Whether it is cloud service</p>
|
|
593
|
+
* @type {boolean || null}
|
|
594
|
+
*/
|
|
595
|
+
this.IsCloudService = null;
|
|
596
|
+
|
|
597
|
+
/**
|
|
598
|
+
* <p>Whether it is infrastructure</p>
|
|
599
|
+
* @type {boolean || null}
|
|
600
|
+
*/
|
|
601
|
+
this.IsInfrastructure = null;
|
|
602
|
+
|
|
603
|
+
/**
|
|
604
|
+
* <p>Whether it is an mail exchange service</p>
|
|
605
|
+
* @type {boolean || null}
|
|
606
|
+
*/
|
|
607
|
+
this.IsMXServer = null;
|
|
608
|
+
|
|
609
|
+
}
|
|
610
|
+
|
|
611
|
+
/**
|
|
612
|
+
* @private
|
|
613
|
+
*/
|
|
614
|
+
deserialize(params) {
|
|
615
|
+
if (!params) {
|
|
616
|
+
return;
|
|
617
|
+
}
|
|
618
|
+
this.ISP = 'ISP' in params ? params.ISP : null;
|
|
619
|
+
this.ASN = 'ASN' in params ? params.ASN : null;
|
|
620
|
+
this.Organization = 'Organization' in params ? params.Organization : null;
|
|
621
|
+
this.IsReserved = 'IsReserved' in params ? params.IsReserved : null;
|
|
622
|
+
this.IsGateway = 'IsGateway' in params ? params.IsGateway : null;
|
|
623
|
+
this.IsAnycast = 'IsAnycast' in params ? params.IsAnycast : null;
|
|
624
|
+
this.IsMobile = 'IsMobile' in params ? params.IsMobile : null;
|
|
625
|
+
this.IsDynamic = 'IsDynamic' in params ? params.IsDynamic : null;
|
|
626
|
+
this.IsEgress = 'IsEgress' in params ? params.IsEgress : null;
|
|
627
|
+
this.IsDNS = 'IsDNS' in params ? params.IsDNS : null;
|
|
628
|
+
this.IsEducation = 'IsEducation' in params ? params.IsEducation : null;
|
|
629
|
+
this.IsInstitution = 'IsInstitution' in params ? params.IsInstitution : null;
|
|
630
|
+
this.IsCompany = 'IsCompany' in params ? params.IsCompany : null;
|
|
631
|
+
this.IsResidence = 'IsResidence' in params ? params.IsResidence : null;
|
|
632
|
+
this.IsCloudService = 'IsCloudService' in params ? params.IsCloudService : null;
|
|
633
|
+
this.IsInfrastructure = 'IsInfrastructure' in params ? params.IsInfrastructure : null;
|
|
634
|
+
this.IsMXServer = 'IsMXServer' in params ? params.IsMXServer : null;
|
|
635
|
+
|
|
636
|
+
}
|
|
637
|
+
}
|
|
638
|
+
|
|
639
|
+
/**
|
|
640
|
+
* The results of AssessDeviceRiskPremiumPro
|
|
641
|
+
* @class
|
|
642
|
+
*/
|
|
643
|
+
class AssessDeviceRiskPremiumRsp extends AbstractModel {
|
|
644
|
+
constructor(){
|
|
645
|
+
super();
|
|
646
|
+
|
|
647
|
+
/**
|
|
648
|
+
* <p>Decision information</p>
|
|
649
|
+
* @type {Decision || null}
|
|
650
|
+
*/
|
|
651
|
+
this.Decision = null;
|
|
652
|
+
|
|
653
|
+
/**
|
|
654
|
+
* <p>The risk score information of the device</p>
|
|
655
|
+
* @type {DataScore || null}
|
|
656
|
+
*/
|
|
657
|
+
this.Score = null;
|
|
658
|
+
|
|
659
|
+
/**
|
|
660
|
+
* <p>The basic information of the device</p>
|
|
661
|
+
* @type {Device || null}
|
|
662
|
+
*/
|
|
663
|
+
this.Device = null;
|
|
664
|
+
|
|
665
|
+
/**
|
|
666
|
+
* <p>Basic IP environment information</p>
|
|
667
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
668
|
+
* @type {Environment || null}
|
|
669
|
+
*/
|
|
670
|
+
this.Environment = null;
|
|
671
|
+
|
|
672
|
+
}
|
|
673
|
+
|
|
674
|
+
/**
|
|
675
|
+
* @private
|
|
676
|
+
*/
|
|
677
|
+
deserialize(params) {
|
|
678
|
+
if (!params) {
|
|
679
|
+
return;
|
|
680
|
+
}
|
|
681
|
+
|
|
682
|
+
if (params.Decision) {
|
|
683
|
+
let obj = new Decision();
|
|
684
|
+
obj.deserialize(params.Decision)
|
|
685
|
+
this.Decision = obj;
|
|
686
|
+
}
|
|
687
|
+
|
|
688
|
+
if (params.Score) {
|
|
689
|
+
let obj = new DataScore();
|
|
690
|
+
obj.deserialize(params.Score)
|
|
691
|
+
this.Score = obj;
|
|
692
|
+
}
|
|
693
|
+
|
|
694
|
+
if (params.Device) {
|
|
695
|
+
let obj = new Device();
|
|
696
|
+
obj.deserialize(params.Device)
|
|
697
|
+
this.Device = obj;
|
|
698
|
+
}
|
|
699
|
+
|
|
700
|
+
if (params.Environment) {
|
|
701
|
+
let obj = new Environment();
|
|
702
|
+
obj.deserialize(params.Environment)
|
|
703
|
+
this.Environment = obj;
|
|
704
|
+
}
|
|
705
|
+
|
|
706
|
+
}
|
|
707
|
+
}
|
|
708
|
+
|
|
709
|
+
/**
|
|
710
|
+
* AssessEnvironmentRisk request structure.
|
|
711
|
+
* @class
|
|
712
|
+
*/
|
|
713
|
+
class AssessEnvironmentRiskRequest extends AbstractModel {
|
|
714
|
+
constructor(){
|
|
715
|
+
super();
|
|
716
|
+
|
|
717
|
+
/**
|
|
718
|
+
* <p>User client IP address(IPv4 or IPv6)</p>
|
|
719
|
+
* @type {string || null}
|
|
720
|
+
*/
|
|
721
|
+
this.UserIp = null;
|
|
722
|
+
|
|
723
|
+
}
|
|
724
|
+
|
|
725
|
+
/**
|
|
726
|
+
* @private
|
|
727
|
+
*/
|
|
728
|
+
deserialize(params) {
|
|
729
|
+
if (!params) {
|
|
730
|
+
return;
|
|
731
|
+
}
|
|
732
|
+
this.UserIp = 'UserIp' in params ? params.UserIp : null;
|
|
733
|
+
|
|
734
|
+
}
|
|
735
|
+
}
|
|
736
|
+
|
|
737
|
+
/**
|
|
738
|
+
* The basic infomation of the device
|
|
739
|
+
* @class
|
|
740
|
+
*/
|
|
741
|
+
class Device extends AbstractModel {
|
|
742
|
+
constructor(){
|
|
743
|
+
super();
|
|
744
|
+
|
|
745
|
+
/**
|
|
746
|
+
* <p>The unique id of device returned by RCE</p>
|
|
747
|
+
* @type {string || null}
|
|
748
|
+
*/
|
|
749
|
+
this.DeviceId = null;
|
|
750
|
+
|
|
751
|
+
/**
|
|
752
|
+
* <p>The version of the application</p>
|
|
753
|
+
* @type {string || null}
|
|
754
|
+
*/
|
|
755
|
+
this.AppVersion = null;
|
|
756
|
+
|
|
757
|
+
/**
|
|
758
|
+
* <p>Device brand</p>
|
|
759
|
+
* @type {string || null}
|
|
760
|
+
*/
|
|
761
|
+
this.Brand = null;
|
|
762
|
+
|
|
763
|
+
/**
|
|
764
|
+
* <p>Client IP address</p>
|
|
765
|
+
* @type {string || null}
|
|
766
|
+
*/
|
|
767
|
+
this.ClientIp = null;
|
|
768
|
+
|
|
769
|
+
/**
|
|
770
|
+
* <p>Device model</p>
|
|
771
|
+
* @type {string || null}
|
|
772
|
+
*/
|
|
773
|
+
this.Model = null;
|
|
774
|
+
|
|
775
|
+
/**
|
|
776
|
+
* <p>Network type of the device</p>
|
|
777
|
+
* @type {string || null}
|
|
778
|
+
*/
|
|
779
|
+
this.NetworkType = null;
|
|
780
|
+
|
|
781
|
+
/**
|
|
782
|
+
* <p>The package name of the application</p>
|
|
783
|
+
* @type {string || null}
|
|
784
|
+
*/
|
|
785
|
+
this.PackageName = null;
|
|
786
|
+
|
|
787
|
+
/**
|
|
788
|
+
* <p>Device platform</p><p>Enumeration value:</p><ul><li>2: Android</li><li>3: IOS</li><li>4: H5</li><li>5: WeChat Mini Program</li></ul>
|
|
789
|
+
* @type {string || null}
|
|
790
|
+
*/
|
|
791
|
+
this.Platform = null;
|
|
792
|
+
|
|
793
|
+
/**
|
|
794
|
+
* <p>Device system version</p>
|
|
795
|
+
* @type {string || null}
|
|
796
|
+
*/
|
|
797
|
+
this.SystemVersion = null;
|
|
798
|
+
|
|
799
|
+
/**
|
|
800
|
+
* <p>The build version of SDK</p>
|
|
801
|
+
* @type {string || null}
|
|
802
|
+
*/
|
|
803
|
+
this.SdkBuildVersion = null;
|
|
804
|
+
|
|
805
|
+
}
|
|
806
|
+
|
|
807
|
+
/**
|
|
808
|
+
* @private
|
|
809
|
+
*/
|
|
810
|
+
deserialize(params) {
|
|
811
|
+
if (!params) {
|
|
812
|
+
return;
|
|
813
|
+
}
|
|
814
|
+
this.DeviceId = 'DeviceId' in params ? params.DeviceId : null;
|
|
815
|
+
this.AppVersion = 'AppVersion' in params ? params.AppVersion : null;
|
|
816
|
+
this.Brand = 'Brand' in params ? params.Brand : null;
|
|
817
|
+
this.ClientIp = 'ClientIp' in params ? params.ClientIp : null;
|
|
818
|
+
this.Model = 'Model' in params ? params.Model : null;
|
|
819
|
+
this.NetworkType = 'NetworkType' in params ? params.NetworkType : null;
|
|
820
|
+
this.PackageName = 'PackageName' in params ? params.PackageName : null;
|
|
821
|
+
this.Platform = 'Platform' in params ? params.Platform : null;
|
|
822
|
+
this.SystemVersion = 'SystemVersion' in params ? params.SystemVersion : null;
|
|
823
|
+
this.SdkBuildVersion = 'SdkBuildVersion' in params ? params.SdkBuildVersion : null;
|
|
824
|
+
|
|
825
|
+
}
|
|
826
|
+
}
|
|
827
|
+
|
|
828
|
+
/**
|
|
829
|
+
* Decision information
|
|
830
|
+
* @class
|
|
831
|
+
*/
|
|
832
|
+
class Decision extends AbstractModel {
|
|
833
|
+
constructor(){
|
|
834
|
+
super();
|
|
835
|
+
|
|
836
|
+
/**
|
|
837
|
+
* <p>Decision result</p><ul><li>pass: Pass</li><li>review: Review</li><li>reject: Reject</li></ul>
|
|
838
|
+
* @type {string || null}
|
|
839
|
+
*/
|
|
840
|
+
this.DecisionResult = null;
|
|
841
|
+
|
|
842
|
+
}
|
|
843
|
+
|
|
844
|
+
/**
|
|
845
|
+
* @private
|
|
846
|
+
*/
|
|
847
|
+
deserialize(params) {
|
|
848
|
+
if (!params) {
|
|
849
|
+
return;
|
|
850
|
+
}
|
|
851
|
+
this.DecisionResult = 'DecisionResult' in params ? params.DecisionResult : null;
|
|
852
|
+
|
|
853
|
+
}
|
|
854
|
+
}
|
|
855
|
+
|
|
856
|
+
module.exports = {
|
|
857
|
+
RiskLabel: RiskLabel,
|
|
858
|
+
Environment: Environment,
|
|
859
|
+
AssessEnvironmentRiskRsp: AssessEnvironmentRiskRsp,
|
|
860
|
+
IPLocation: IPLocation,
|
|
861
|
+
DataScore: DataScore,
|
|
862
|
+
AssessDeviceRiskRsp: AssessDeviceRiskRsp,
|
|
863
|
+
AssessEnvironmentRiskResponse: AssessEnvironmentRiskResponse,
|
|
864
|
+
AssessDeviceRiskPremiumProResponse: AssessDeviceRiskPremiumProResponse,
|
|
865
|
+
AssessDeviceRiskProRequest: AssessDeviceRiskProRequest,
|
|
866
|
+
AssessDeviceRiskPremiumProRequest: AssessDeviceRiskPremiumProRequest,
|
|
867
|
+
AssessDeviceRiskProResponse: AssessDeviceRiskProResponse,
|
|
868
|
+
IPNetwork: IPNetwork,
|
|
869
|
+
AssessDeviceRiskPremiumRsp: AssessDeviceRiskPremiumRsp,
|
|
870
|
+
AssessEnvironmentRiskRequest: AssessEnvironmentRiskRequest,
|
|
871
|
+
Device: Device,
|
|
872
|
+
Decision: Decision,
|
|
873
|
+
|
|
874
|
+
}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2018 Tencent. All Rights Reserved.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing,
|
|
11
|
+
* software distributed under the License is distributed on an
|
|
12
|
+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
13
|
+
* KIND, either express or implied. See the License for the
|
|
14
|
+
* specific language governing permissions and limitations
|
|
15
|
+
* under the License.
|
|
16
|
+
*/
|
|
17
|
+
const models = require("./models");
|
|
18
|
+
const AbstractClient = require('../../common/abstract_client')
|
|
19
|
+
const RiskLabel = models.RiskLabel;
|
|
20
|
+
const Environment = models.Environment;
|
|
21
|
+
const AssessEnvironmentRiskRsp = models.AssessEnvironmentRiskRsp;
|
|
22
|
+
const IPLocation = models.IPLocation;
|
|
23
|
+
const DataScore = models.DataScore;
|
|
24
|
+
const AssessDeviceRiskRsp = models.AssessDeviceRiskRsp;
|
|
25
|
+
const AssessEnvironmentRiskResponse = models.AssessEnvironmentRiskResponse;
|
|
26
|
+
const AssessDeviceRiskPremiumProResponse = models.AssessDeviceRiskPremiumProResponse;
|
|
27
|
+
const AssessDeviceRiskProRequest = models.AssessDeviceRiskProRequest;
|
|
28
|
+
const AssessDeviceRiskPremiumProRequest = models.AssessDeviceRiskPremiumProRequest;
|
|
29
|
+
const AssessDeviceRiskProResponse = models.AssessDeviceRiskProResponse;
|
|
30
|
+
const IPNetwork = models.IPNetwork;
|
|
31
|
+
const AssessDeviceRiskPremiumRsp = models.AssessDeviceRiskPremiumRsp;
|
|
32
|
+
const AssessEnvironmentRiskRequest = models.AssessEnvironmentRiskRequest;
|
|
33
|
+
const Device = models.Device;
|
|
34
|
+
const Decision = models.Decision;
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* rce client
|
|
39
|
+
* @class
|
|
40
|
+
*/
|
|
41
|
+
class RceClient extends AbstractClient {
|
|
42
|
+
|
|
43
|
+
constructor(credential, region, profile) {
|
|
44
|
+
super("rce.intl.tencentcloudapi.com", "2026-01-30", credential, region, profile);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* Device Risk Assessment - Basic
|
|
49
|
+
* @param {AssessDeviceRiskProRequest} req
|
|
50
|
+
* @param {function(string, AssessDeviceRiskProResponse):void} cb
|
|
51
|
+
* @public
|
|
52
|
+
*/
|
|
53
|
+
AssessDeviceRiskPro(req, cb) {
|
|
54
|
+
let resp = new AssessDeviceRiskProResponse();
|
|
55
|
+
this.request("AssessDeviceRiskPro", req, resp, cb);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* Device Risk assessment - Premium
|
|
60
|
+
* @param {AssessDeviceRiskPremiumProRequest} req
|
|
61
|
+
* @param {function(string, AssessDeviceRiskPremiumProResponse):void} cb
|
|
62
|
+
* @public
|
|
63
|
+
*/
|
|
64
|
+
AssessDeviceRiskPremiumPro(req, cb) {
|
|
65
|
+
let resp = new AssessDeviceRiskPremiumProResponse();
|
|
66
|
+
this.request("AssessDeviceRiskPremiumPro", req, resp, cb);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* Environment Risk Assessment
|
|
71
|
+
* @param {AssessEnvironmentRiskRequest} req
|
|
72
|
+
* @param {function(string, AssessEnvironmentRiskResponse):void} cb
|
|
73
|
+
* @public
|
|
74
|
+
*/
|
|
75
|
+
AssessEnvironmentRisk(req, cb) {
|
|
76
|
+
let resp = new AssessEnvironmentRiskResponse();
|
|
77
|
+
this.request("AssessEnvironmentRisk", req, resp, cb);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
}
|
|
82
|
+
module.exports = RceClient;
|
|
@@ -17660,7 +17660,7 @@ class LiveRealTimeClipRequest extends AbstractModel {
|
|
|
17660
17660
|
this.EndTime = null;
|
|
17661
17661
|
|
|
17662
17662
|
/**
|
|
17663
|
-
* <p><b>Video-on-demand (VOD) <a href="/document/product/266/14574">application</a> ID. Customers who activate on-demand services from December 25, 2023 must fill this field with the app ID when accessing resources in on-demand applications (whether it is the default application or a newly created application).</b></p>
|
|
17663
|
+
* <p><b>Video-on-demand (VOD) <a href="/document/product/266/14574?from_cn_redirect=1">application</a> ID. Customers who activate on-demand services from December 25, 2023 must fill this field with the app ID when accessing resources in on-demand applications (whether it is the default application or a newly created application).</b></p>
|
|
17664
17664
|
* @type {number || null}
|
|
17665
17665
|
*/
|
|
17666
17666
|
this.SubAppId = null;
|
|
@@ -17684,19 +17684,19 @@ class LiveRealTimeClipRequest extends AbstractModel {
|
|
|
17684
17684
|
this.Procedure = null;
|
|
17685
17685
|
|
|
17686
17686
|
/**
|
|
17687
|
-
* <p>Category ID, used to categorize and manage media. You can create a category and obtain the category ID via the <a href="/document/product/266/31772">Create Category</a> API.</p><li>Default value: 0, indicating other categories.</li>Valid at that time only when IsPersistence is 1.
|
|
17687
|
+
* <p>Category ID, used to categorize and manage media. You can create a category and obtain the category ID via the <a href="/document/product/266/31772?from_cn_redirect=1">Create Category</a> API.</p><li>Default value: 0, indicating other categories.</li>Valid at that time only when IsPersistence is 1.
|
|
17688
17688
|
* @type {number || null}
|
|
17689
17689
|
*/
|
|
17690
17690
|
this.ClassId = null;
|
|
17691
17691
|
|
|
17692
17692
|
/**
|
|
17693
|
-
* <p>Source context. This is used to pass user request information. The <a href="/document/product/266/7830">upload completion callback</a> returns the value of this field. The maximum length is 250 characters. Valid only when IsPersistence is 1.</p>
|
|
17693
|
+
* <p>Source context. This is used to pass user request information. The <a href="/document/product/266/7830?from_cn_redirect=1">upload completion callback</a> returns the value of this field. The maximum length is 250 characters. Valid only when IsPersistence is 1.</p>
|
|
17694
17694
|
* @type {string || null}
|
|
17695
17695
|
*/
|
|
17696
17696
|
this.SourceContext = null;
|
|
17697
17697
|
|
|
17698
17698
|
/**
|
|
17699
|
-
* <p>Session context. This is used to pass through user request information. When specifying the Procedure parameter, the <a href="/document/product/266/9636">task flow status change callback</a> returns the value of this field. The maximum length is 1000 characters. Valid only when IsPersistence is 1.</p>
|
|
17699
|
+
* <p>Session context. This is used to pass through user request information. When specifying the Procedure parameter, the <a href="/document/product/266/9636?from_cn_redirect=1">task flow status change callback</a> returns the value of this field. The maximum length is 1000 characters. Valid only when IsPersistence is 1.</p>
|
|
17700
17700
|
* @type {string || null}
|
|
17701
17701
|
*/
|
|
17702
17702
|
this.SessionContext = null;
|
|
@@ -24775,7 +24775,7 @@ class DescribeAigcApiTokensRequest extends AbstractModel {
|
|
|
24775
24775
|
super();
|
|
24776
24776
|
|
|
24777
24777
|
/**
|
|
24778
|
-
* <p><b>Video-on-demand (VOD) <a href="/document/product/266/14574">application</a> ID. For customers who activate on-demand services from December 25, 2023, to access resources in on-demand applications (whether the default application or a newly created application), you must fill this <b>field</b> with the application ID.</b></p>
|
|
24778
|
+
* <p><b>Video-on-demand (VOD) <a href="/document/product/266/14574?from_cn_redirect=1">application</a> ID. For customers who activate on-demand services from December 25, 2023, to access resources in on-demand applications (whether the default application or a newly created application), you must fill this <b>field</b> with the application ID.</b></p>
|
|
24779
24779
|
* @type {number || null}
|
|
24780
24780
|
*/
|
|
24781
24781
|
this.SubAppId = null;
|
|
@@ -45675,7 +45675,7 @@ class PullUploadRequest extends AbstractModel {
|
|
|
45675
45675
|
this.MediaType = null;
|
|
45676
45676
|
|
|
45677
45677
|
/**
|
|
45678
|
-
* <p><b>Video-on-demand (VOD) <a href="/document/product/266/14574">application</a> ID. Customers who activate on-demand services after December 25, 2023 must fill this field with the app ID when accessing resources in on-demand applications (whether the default application or a newly created application).</b></p>
|
|
45678
|
+
* <p><b>Video-on-demand (VOD) <a href="/document/product/266/14574?from_cn_redirect=1">application</a> ID. Customers who activate on-demand services after December 25, 2023 must fill this field with the app ID when accessing resources in on-demand applications (whether the default application or a newly created application).</b></p>
|
|
45679
45679
|
* @type {number || null}
|
|
45680
45680
|
*/
|
|
45681
45681
|
this.SubAppId = null;
|
|
@@ -45741,7 +45741,7 @@ class PullUploadRequest extends AbstractModel {
|
|
|
45741
45741
|
this.ExtInfo = null;
|
|
45742
45742
|
|
|
45743
45743
|
/**
|
|
45744
|
-
* <p>Source context. This is used to pass through user request information. The <a href="/document/product/266/7830">upload completion callback</a> returns the value of this field. The maximum length is 250 characters.</p>
|
|
45744
|
+
* <p>Source context. This is used to pass through user request information. The <a href="/document/product/266/7830?from_cn_redirect=1">upload completion callback</a> returns the value of this field. The maximum length is 250 characters.</p>
|
|
45745
45745
|
* @type {string || null}
|
|
45746
45746
|
*/
|
|
45747
45747
|
this.SourceContext = null;
|
|
@@ -49859,7 +49859,7 @@ class SimpleHlsClipRequest extends AbstractModel {
|
|
|
49859
49859
|
this.Url = null;
|
|
49860
49860
|
|
|
49861
49861
|
/**
|
|
49862
|
-
* <p><b>Video-on-demand (VOD) <a href="/document/product/266/14574">application</a> ID. Customers who activate on-demand services from December 25, 2023 must fill this field with the app ID when accessing resources in on-demand applications (whether it is the default application or a newly created application).</b></p>
|
|
49862
|
+
* <p><b>Video-on-demand (VOD) <a href="/document/product/266/14574?from_cn_redirect=1">application</a> ID. Customers who activate on-demand services from December 25, 2023 must fill this field with the app ID when accessing resources in on-demand applications (whether it is the default application or a newly created application).</b></p>
|
|
49863
49863
|
* @type {number || null}
|
|
49864
49864
|
*/
|
|
49865
49865
|
this.SubAppId = null;
|
|
@@ -49895,19 +49895,19 @@ class SimpleHlsClipRequest extends AbstractModel {
|
|
|
49895
49895
|
this.Procedure = null;
|
|
49896
49896
|
|
|
49897
49897
|
/**
|
|
49898
|
-
* <p>Category ID, used to categorize and manage media. You can create a category and obtain the category ID via the <a href="/document/product/266/31772">create category</a> API.</p><li>Default value: 0, indicating other categories.</li>Valid only when IsPersistence is 1.
|
|
49898
|
+
* <p>Category ID, used to categorize and manage media. You can create a category and obtain the category ID via the <a href="/document/product/266/31772?from_cn_redirect=1">create category</a> API.</p><li>Default value: 0, indicating other categories.</li>Valid only when IsPersistence is 1.
|
|
49899
49899
|
* @type {number || null}
|
|
49900
49900
|
*/
|
|
49901
49901
|
this.ClassId = null;
|
|
49902
49902
|
|
|
49903
49903
|
/**
|
|
49904
|
-
* <p>Source context. This is used to pass through user request information. The <a href="/document/product/266/7830">upload completion callback</a> returns the value of this field. The maximum length is 250 characters. Valid when IsPersistence is 1.</p>
|
|
49904
|
+
* <p>Source context. This is used to pass through user request information. The <a href="/document/product/266/7830?from_cn_redirect=1">upload completion callback</a> returns the value of this field. The maximum length is 250 characters. Valid when IsPersistence is 1.</p>
|
|
49905
49905
|
* @type {string || null}
|
|
49906
49906
|
*/
|
|
49907
49907
|
this.SourceContext = null;
|
|
49908
49908
|
|
|
49909
49909
|
/**
|
|
49910
|
-
* <p>Session context. This is used to pass through user request information. When specifying the Procedure parameter, the <a href="/document/product/266/9636">task flow status change callback</a> returns the value of this field. The maximum length is 1000 characters. Valid only when IsPersistence is 1.</p>
|
|
49910
|
+
* <p>Session context. This is used to pass through user request information. When specifying the Procedure parameter, the <a href="/document/product/266/9636?from_cn_redirect=1">task flow status change callback</a> returns the value of this field. The maximum length is 1000 characters. Valid only when IsPersistence is 1.</p>
|
|
49911
49911
|
* @type {string || null}
|
|
49912
49912
|
*/
|
|
49913
49913
|
this.SessionContext = null;
|
|
@@ -56808,7 +56808,7 @@ class UpdateAigcApiTokenRequest extends AbstractModel {
|
|
|
56808
56808
|
super();
|
|
56809
56809
|
|
|
56810
56810
|
/**
|
|
56811
|
-
* <p><b>Video-on-demand (VOD) <a href="/document/product/266/14574">application</a> ID. For customers who activate on-demand services from December 25, 2023, to access resources in on-demand applications (whether it is the default application or a newly created application), you must fill in this field with the application ID.</b></p>
|
|
56811
|
+
* <p><b>Video-on-demand (VOD) <a href="/document/product/266/14574?from_cn_redirect=1">application</a> ID. For customers who activate on-demand services from December 25, 2023, to access resources in on-demand applications (whether it is the default application or a newly created application), you must fill in this field with the application ID.</b></p>
|
|
56812
56812
|
* @type {number || null}
|
|
56813
56813
|
*/
|
|
56814
56814
|
this.SubAppId = null;
|