tencentcloud-sdk-nodejs-intl-en 3.0.1290 → 3.0.1291
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/ciam/index.js +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/controlcenter/v20230110/controlcenter_client.js +56 -0
- package/tencentcloud/controlcenter/v20230110/models.js +614 -2
- package/tencentcloud/faceid/v20180301/models.js +26 -3
- package/tencentcloud/index.js +1 -0
- package/tencentcloud/kms/v20190118/models.js +82 -2
- package/tencentcloud/mdl/v20200326/mdl_client.js +1 -0
- package/tencentcloud/mdl/v20200326/models.js +128 -3
- package/tencentcloud/organization/index.js +1 -1
- package/tencentcloud/smh/index.js +3 -0
- package/tencentcloud/smh/v20210712/index.js +4 -0
- package/tencentcloud/smh/v20210712/models.js +1392 -0
- package/tencentcloud/smh/v20210712/smh_client.js +167 -0
- package/tencentcloud/sms/index.js +1 -1
- package/tencentcloud/tem/index.js +1 -1
- package/tencentcloud/tke/index.js +1 -1
- package/tencentcloud/vod/index.js +1 -1
- package/tencentcloud/vpc/v20170312/models.js +3 -3
- package/tencentcloud/wedata/index.js +1 -1
|
@@ -25,13 +25,13 @@ class BaselineConfigItem extends AbstractModel {
|
|
|
25
25
|
super();
|
|
26
26
|
|
|
27
27
|
/**
|
|
28
|
-
*
|
|
28
|
+
* Specifies the unique identifier for account factory baseline item, can only contain english letters, digits, and @, ,._[]-:()()[]+=., with a length of 2-128 characters.
|
|
29
29
|
* @type {string || null}
|
|
30
30
|
*/
|
|
31
31
|
this.Identifier = null;
|
|
32
32
|
|
|
33
33
|
/**
|
|
34
|
-
* Account
|
|
34
|
+
* Account factory baseline item configuration. different baseline item configuration parameters.
|
|
35
35
|
* @type {string || null}
|
|
36
36
|
*/
|
|
37
37
|
this.Configuration = null;
|
|
@@ -51,6 +51,188 @@ class BaselineConfigItem extends AbstractModel {
|
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
+
/**
|
|
55
|
+
* UpdateAccountFactoryBaseline response structure.
|
|
56
|
+
* @class
|
|
57
|
+
*/
|
|
58
|
+
class UpdateAccountFactoryBaselineResponse extends AbstractModel {
|
|
59
|
+
constructor(){
|
|
60
|
+
super();
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* 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.
|
|
64
|
+
* @type {string || null}
|
|
65
|
+
*/
|
|
66
|
+
this.RequestId = null;
|
|
67
|
+
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* @private
|
|
72
|
+
*/
|
|
73
|
+
deserialize(params) {
|
|
74
|
+
if (!params) {
|
|
75
|
+
return;
|
|
76
|
+
}
|
|
77
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
78
|
+
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* Baseline item deployment task information list.
|
|
84
|
+
* @class
|
|
85
|
+
*/
|
|
86
|
+
class BaselineStepTaskInfo extends AbstractModel {
|
|
87
|
+
constructor(){
|
|
88
|
+
super();
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* Specifies the unique Id of the task, which can only contain english letters and digits, and is a 16-character random string.
|
|
92
|
+
* @type {string || null}
|
|
93
|
+
*/
|
|
94
|
+
this.TaskId = null;
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* Specifies the unique identifier for the baseline feature item, can only contain english letters, digits, and @, ,._[]-:()()[]+=., with a length of 2-128 characters.
|
|
98
|
+
* @type {string || null}
|
|
99
|
+
*/
|
|
100
|
+
this.Identifier = null;
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* Specifies the member account uin of the applied baseline item.
|
|
104
|
+
* @type {number || null}
|
|
105
|
+
*/
|
|
106
|
+
this.MemberUin = null;
|
|
107
|
+
|
|
108
|
+
/**
|
|
109
|
+
* Baseline item application status. Running means the baseline item is in application. Success means the baseline item application is successful. Failed means the baseline item application failure. Pending means the baseline item is Pending application. Skipped means the baseline item is Skipped.
|
|
110
|
+
* @type {string || null}
|
|
111
|
+
*/
|
|
112
|
+
this.Status = null;
|
|
113
|
+
|
|
114
|
+
/**
|
|
115
|
+
* Error code
|
|
116
|
+
* @type {string || null}
|
|
117
|
+
*/
|
|
118
|
+
this.ErrCode = null;
|
|
119
|
+
|
|
120
|
+
/**
|
|
121
|
+
* Error message
|
|
122
|
+
* @type {string || null}
|
|
123
|
+
*/
|
|
124
|
+
this.ErrMessage = null;
|
|
125
|
+
|
|
126
|
+
/**
|
|
127
|
+
* Baseline item deployment output.
|
|
128
|
+
* @type {string || null}
|
|
129
|
+
*/
|
|
130
|
+
this.Output = null;
|
|
131
|
+
|
|
132
|
+
/**
|
|
133
|
+
* Creation time, represented in ISO8601 standard format as yyyy-MM-dd hh:MM:ss.
|
|
134
|
+
* @type {string || null}
|
|
135
|
+
*/
|
|
136
|
+
this.CreateTime = null;
|
|
137
|
+
|
|
138
|
+
/**
|
|
139
|
+
* Specifies the last update time in ISO8601 standard representation with format yyyy-MM-dd hh:MM:ss.
|
|
140
|
+
* @type {string || null}
|
|
141
|
+
*/
|
|
142
|
+
this.UpdateTime = null;
|
|
143
|
+
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
/**
|
|
147
|
+
* @private
|
|
148
|
+
*/
|
|
149
|
+
deserialize(params) {
|
|
150
|
+
if (!params) {
|
|
151
|
+
return;
|
|
152
|
+
}
|
|
153
|
+
this.TaskId = 'TaskId' in params ? params.TaskId : null;
|
|
154
|
+
this.Identifier = 'Identifier' in params ? params.Identifier : null;
|
|
155
|
+
this.MemberUin = 'MemberUin' in params ? params.MemberUin : null;
|
|
156
|
+
this.Status = 'Status' in params ? params.Status : null;
|
|
157
|
+
this.ErrCode = 'ErrCode' in params ? params.ErrCode : null;
|
|
158
|
+
this.ErrMessage = 'ErrMessage' in params ? params.ErrMessage : null;
|
|
159
|
+
this.Output = 'Output' in params ? params.Output : null;
|
|
160
|
+
this.CreateTime = 'CreateTime' in params ? params.CreateTime : null;
|
|
161
|
+
this.UpdateTime = 'UpdateTime' in params ? params.UpdateTime : null;
|
|
162
|
+
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
/**
|
|
167
|
+
* ListAccountFactoryBaselineItems request structure.
|
|
168
|
+
* @class
|
|
169
|
+
*/
|
|
170
|
+
class ListAccountFactoryBaselineItemsRequest extends AbstractModel {
|
|
171
|
+
constructor(){
|
|
172
|
+
super();
|
|
173
|
+
|
|
174
|
+
/**
|
|
175
|
+
* Maximum number of returned records. value ranges from 0 to 200.
|
|
176
|
+
* @type {number || null}
|
|
177
|
+
*/
|
|
178
|
+
this.Limit = null;
|
|
179
|
+
|
|
180
|
+
/**
|
|
181
|
+
* Offset. valid values are equal to or greater than 0.
|
|
182
|
+
* @type {number || null}
|
|
183
|
+
*/
|
|
184
|
+
this.Offset = null;
|
|
185
|
+
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
/**
|
|
189
|
+
* @private
|
|
190
|
+
*/
|
|
191
|
+
deserialize(params) {
|
|
192
|
+
if (!params) {
|
|
193
|
+
return;
|
|
194
|
+
}
|
|
195
|
+
this.Limit = 'Limit' in params ? params.Limit : null;
|
|
196
|
+
this.Offset = 'Offset' in params ? params.Offset : null;
|
|
197
|
+
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
/**
|
|
202
|
+
* Dependency.
|
|
203
|
+
* @class
|
|
204
|
+
*/
|
|
205
|
+
class DependsOnItem extends AbstractModel {
|
|
206
|
+
constructor(){
|
|
207
|
+
super();
|
|
208
|
+
|
|
209
|
+
/**
|
|
210
|
+
* Dependency type. valid values: LandingZoneSetUp or AccountFactorySetUp. LandingZoneSetUp refers to the dependency of landingZone. AccountFactorySetUp refers to the dependency of account factory.
|
|
211
|
+
* @type {string || null}
|
|
212
|
+
*/
|
|
213
|
+
this.Type = null;
|
|
214
|
+
|
|
215
|
+
/**
|
|
216
|
+
* Specifies the unique identifier for the feature item, can only contain english letters, digits, and @, ,._[]-:()()[]+=., with a length of 2-128 characters.
|
|
217
|
+
* @type {string || null}
|
|
218
|
+
*/
|
|
219
|
+
this.Identifier = null;
|
|
220
|
+
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
/**
|
|
224
|
+
* @private
|
|
225
|
+
*/
|
|
226
|
+
deserialize(params) {
|
|
227
|
+
if (!params) {
|
|
228
|
+
return;
|
|
229
|
+
}
|
|
230
|
+
this.Type = 'Type' in params ? params.Type : null;
|
|
231
|
+
this.Identifier = 'Identifier' in params ? params.Identifier : null;
|
|
232
|
+
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
|
|
54
236
|
/**
|
|
55
237
|
* BatchApplyAccountBaselines response structure.
|
|
56
238
|
* @class
|
|
@@ -79,6 +261,190 @@ class BatchApplyAccountBaselinesResponse extends AbstractModel {
|
|
|
79
261
|
}
|
|
80
262
|
}
|
|
81
263
|
|
|
264
|
+
/**
|
|
265
|
+
* UpdateAccountFactoryBaseline request structure.
|
|
266
|
+
* @class
|
|
267
|
+
*/
|
|
268
|
+
class UpdateAccountFactoryBaselineRequest extends AbstractModel {
|
|
269
|
+
constructor(){
|
|
270
|
+
super();
|
|
271
|
+
|
|
272
|
+
/**
|
|
273
|
+
* Specifies the baseline name, which must be unique and can only contain a combination of english letters, digits, chinese characters, and symbols @, &_[]-, with a length of 1-25 chinese or english characters.
|
|
274
|
+
* @type {string || null}
|
|
275
|
+
*/
|
|
276
|
+
this.Name = null;
|
|
277
|
+
|
|
278
|
+
/**
|
|
279
|
+
* Baseline configuration. overwrite update. can be accessed through controlcenter:GetAccountFactoryBaseline to query existing baseline configuration. can be accessed through controlcenter:ListAccountFactoryBaselineItems to query supported baseline list.
|
|
280
|
+
* @type {Array.<BaselineConfigItem> || null}
|
|
281
|
+
*/
|
|
282
|
+
this.BaselineConfigItems = null;
|
|
283
|
+
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
/**
|
|
287
|
+
* @private
|
|
288
|
+
*/
|
|
289
|
+
deserialize(params) {
|
|
290
|
+
if (!params) {
|
|
291
|
+
return;
|
|
292
|
+
}
|
|
293
|
+
this.Name = 'Name' in params ? params.Name : null;
|
|
294
|
+
|
|
295
|
+
if (params.BaselineConfigItems) {
|
|
296
|
+
this.BaselineConfigItems = new Array();
|
|
297
|
+
for (let z in params.BaselineConfigItems) {
|
|
298
|
+
let obj = new BaselineConfigItem();
|
|
299
|
+
obj.deserialize(params.BaselineConfigItems[z]);
|
|
300
|
+
this.BaselineConfigItems.push(obj);
|
|
301
|
+
}
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
}
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
/**
|
|
308
|
+
* ListDeployStepTasks request structure.
|
|
309
|
+
* @class
|
|
310
|
+
*/
|
|
311
|
+
class ListDeployStepTasksRequest extends AbstractModel {
|
|
312
|
+
constructor(){
|
|
313
|
+
super();
|
|
314
|
+
|
|
315
|
+
/**
|
|
316
|
+
* Specifies the unique identifier for the feature item, can only contain english letters, digits, and @, ,._[]-:()()[]+=., with a length of 2-128 characters.
|
|
317
|
+
* @type {string || null}
|
|
318
|
+
*/
|
|
319
|
+
this.Identifier = null;
|
|
320
|
+
|
|
321
|
+
/**
|
|
322
|
+
* Maximum number of returned records. value ranges from 0 to 200.
|
|
323
|
+
* @type {number || null}
|
|
324
|
+
*/
|
|
325
|
+
this.Limit = null;
|
|
326
|
+
|
|
327
|
+
/**
|
|
328
|
+
* Offset. valid values are equal to or greater than 0.
|
|
329
|
+
* @type {number || null}
|
|
330
|
+
*/
|
|
331
|
+
this.Offset = null;
|
|
332
|
+
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
/**
|
|
336
|
+
* @private
|
|
337
|
+
*/
|
|
338
|
+
deserialize(params) {
|
|
339
|
+
if (!params) {
|
|
340
|
+
return;
|
|
341
|
+
}
|
|
342
|
+
this.Identifier = 'Identifier' in params ? params.Identifier : null;
|
|
343
|
+
this.Limit = 'Limit' in params ? params.Limit : null;
|
|
344
|
+
this.Offset = 'Offset' in params ? params.Offset : null;
|
|
345
|
+
|
|
346
|
+
}
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
/**
|
|
350
|
+
* Account factory baseline item.
|
|
351
|
+
* @class
|
|
352
|
+
*/
|
|
353
|
+
class AccountFactoryItem extends AbstractModel {
|
|
354
|
+
constructor(){
|
|
355
|
+
super();
|
|
356
|
+
|
|
357
|
+
/**
|
|
358
|
+
* Specifies the unique identifier for account factory baseline item, can only contain english letters, digits, and @, ,._[]-:()()[]+=., with a length of 2-128 characters.
|
|
359
|
+
* @type {string || null}
|
|
360
|
+
*/
|
|
361
|
+
this.Identifier = null;
|
|
362
|
+
|
|
363
|
+
/**
|
|
364
|
+
* Baseline item name. specifies a unique name for the feature item. supports a combination of english letters, numbers, chinese characters, and symbols @, &, _, [, ], -. valid values: 1-25 chinese or english characters.
|
|
365
|
+
* @type {string || null}
|
|
366
|
+
*/
|
|
367
|
+
this.Name = null;
|
|
368
|
+
|
|
369
|
+
/**
|
|
370
|
+
* Baseline item english name. specifies a unique name for the baseline item. supports a combination of english letters, digits, spaces, and symbols @, &, _, [], -. valid values: 1-64 english characters.
|
|
371
|
+
* @type {string || null}
|
|
372
|
+
*/
|
|
373
|
+
this.NameEn = null;
|
|
374
|
+
|
|
375
|
+
/**
|
|
376
|
+
* Baseline item weight. the smaller the value, the higher the weight. value range equal to or greater than 0.
|
|
377
|
+
* @type {number || null}
|
|
378
|
+
*/
|
|
379
|
+
this.Weight = null;
|
|
380
|
+
|
|
381
|
+
/**
|
|
382
|
+
* Specifies whether the baseline item is required (1: required; 0: optional).
|
|
383
|
+
* @type {number || null}
|
|
384
|
+
*/
|
|
385
|
+
this.Required = null;
|
|
386
|
+
|
|
387
|
+
/**
|
|
388
|
+
* Baseline item dependency. value range of N depends on the count of other baseline items it relies on.
|
|
389
|
+
* @type {Array.<DependsOnItem> || null}
|
|
390
|
+
*/
|
|
391
|
+
this.DependsOn = null;
|
|
392
|
+
|
|
393
|
+
/**
|
|
394
|
+
* Baseline description, with a length of 2 to 256 english or chinese characters. it is empty by default.
|
|
395
|
+
* @type {string || null}
|
|
396
|
+
*/
|
|
397
|
+
this.Description = null;
|
|
398
|
+
|
|
399
|
+
/**
|
|
400
|
+
* Baseline item english description, with a length of 2 to 1024 english characters. it is empty by default.
|
|
401
|
+
* @type {string || null}
|
|
402
|
+
*/
|
|
403
|
+
this.DescriptionEn = null;
|
|
404
|
+
|
|
405
|
+
/**
|
|
406
|
+
* Baseline classification. length: 2-32 english or chinese characters. values cannot be empty.
|
|
407
|
+
* @type {string || null}
|
|
408
|
+
*/
|
|
409
|
+
this.Classify = null;
|
|
410
|
+
|
|
411
|
+
/**
|
|
412
|
+
* Baseline english classification, with a length of 2-64 english characters. cannot be empty.
|
|
413
|
+
* @type {string || null}
|
|
414
|
+
*/
|
|
415
|
+
this.ClassifyEn = null;
|
|
416
|
+
|
|
417
|
+
}
|
|
418
|
+
|
|
419
|
+
/**
|
|
420
|
+
* @private
|
|
421
|
+
*/
|
|
422
|
+
deserialize(params) {
|
|
423
|
+
if (!params) {
|
|
424
|
+
return;
|
|
425
|
+
}
|
|
426
|
+
this.Identifier = 'Identifier' in params ? params.Identifier : null;
|
|
427
|
+
this.Name = 'Name' in params ? params.Name : null;
|
|
428
|
+
this.NameEn = 'NameEn' in params ? params.NameEn : null;
|
|
429
|
+
this.Weight = 'Weight' in params ? params.Weight : null;
|
|
430
|
+
this.Required = 'Required' in params ? params.Required : null;
|
|
431
|
+
|
|
432
|
+
if (params.DependsOn) {
|
|
433
|
+
this.DependsOn = new Array();
|
|
434
|
+
for (let z in params.DependsOn) {
|
|
435
|
+
let obj = new DependsOnItem();
|
|
436
|
+
obj.deserialize(params.DependsOn[z]);
|
|
437
|
+
this.DependsOn.push(obj);
|
|
438
|
+
}
|
|
439
|
+
}
|
|
440
|
+
this.Description = 'Description' in params ? params.Description : null;
|
|
441
|
+
this.DescriptionEn = 'DescriptionEn' in params ? params.DescriptionEn : null;
|
|
442
|
+
this.Classify = 'Classify' in params ? params.Classify : null;
|
|
443
|
+
this.ClassifyEn = 'ClassifyEn' in params ? params.ClassifyEn : null;
|
|
444
|
+
|
|
445
|
+
}
|
|
446
|
+
}
|
|
447
|
+
|
|
82
448
|
/**
|
|
83
449
|
* BatchApplyAccountBaselines request structure.
|
|
84
450
|
* @class
|
|
@@ -122,9 +488,255 @@ class BatchApplyAccountBaselinesRequest extends AbstractModel {
|
|
|
122
488
|
}
|
|
123
489
|
}
|
|
124
490
|
|
|
491
|
+
/**
|
|
492
|
+
* GetAccountFactoryBaseline response structure.
|
|
493
|
+
* @class
|
|
494
|
+
*/
|
|
495
|
+
class GetAccountFactoryBaselineResponse extends AbstractModel {
|
|
496
|
+
constructor(){
|
|
497
|
+
super();
|
|
498
|
+
|
|
499
|
+
/**
|
|
500
|
+
* Specifies the uin of the main account to which the resource belongs.
|
|
501
|
+
* @type {number || null}
|
|
502
|
+
*/
|
|
503
|
+
this.OwnerUin = null;
|
|
504
|
+
|
|
505
|
+
/**
|
|
506
|
+
* Specifies the baseline item name, which must be unique and can only contain a combination of english letters, digits, chinese characters, and symbols @, &_[]-, with a length of 1-25 chinese or english characters.
|
|
507
|
+
* @type {string || null}
|
|
508
|
+
*/
|
|
509
|
+
this.Name = null;
|
|
510
|
+
|
|
511
|
+
/**
|
|
512
|
+
* List of baseline item configurations.
|
|
513
|
+
* @type {Array.<BaselineInfoItem> || null}
|
|
514
|
+
*/
|
|
515
|
+
this.BaselineConfigItems = null;
|
|
516
|
+
|
|
517
|
+
/**
|
|
518
|
+
* Creation time, represented in ISO8601 standard format as yyyy-MM-dd hh:MM:ss.
|
|
519
|
+
* @type {string || null}
|
|
520
|
+
*/
|
|
521
|
+
this.CreateTime = null;
|
|
522
|
+
|
|
523
|
+
/**
|
|
524
|
+
* Specifies the last update time in ISO8601 standard representation with format yyyy-MM-dd hh:MM:ss.
|
|
525
|
+
* @type {string || null}
|
|
526
|
+
*/
|
|
527
|
+
this.UpdateTime = null;
|
|
528
|
+
|
|
529
|
+
/**
|
|
530
|
+
* 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.
|
|
531
|
+
* @type {string || null}
|
|
532
|
+
*/
|
|
533
|
+
this.RequestId = null;
|
|
534
|
+
|
|
535
|
+
}
|
|
536
|
+
|
|
537
|
+
/**
|
|
538
|
+
* @private
|
|
539
|
+
*/
|
|
540
|
+
deserialize(params) {
|
|
541
|
+
if (!params) {
|
|
542
|
+
return;
|
|
543
|
+
}
|
|
544
|
+
this.OwnerUin = 'OwnerUin' in params ? params.OwnerUin : null;
|
|
545
|
+
this.Name = 'Name' in params ? params.Name : null;
|
|
546
|
+
|
|
547
|
+
if (params.BaselineConfigItems) {
|
|
548
|
+
this.BaselineConfigItems = new Array();
|
|
549
|
+
for (let z in params.BaselineConfigItems) {
|
|
550
|
+
let obj = new BaselineInfoItem();
|
|
551
|
+
obj.deserialize(params.BaselineConfigItems[z]);
|
|
552
|
+
this.BaselineConfigItems.push(obj);
|
|
553
|
+
}
|
|
554
|
+
}
|
|
555
|
+
this.CreateTime = 'CreateTime' in params ? params.CreateTime : null;
|
|
556
|
+
this.UpdateTime = 'UpdateTime' in params ? params.UpdateTime : null;
|
|
557
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
558
|
+
|
|
559
|
+
}
|
|
560
|
+
}
|
|
561
|
+
|
|
562
|
+
/**
|
|
563
|
+
* ListAccountFactoryBaselineItems response structure.
|
|
564
|
+
* @class
|
|
565
|
+
*/
|
|
566
|
+
class ListAccountFactoryBaselineItemsResponse extends AbstractModel {
|
|
567
|
+
constructor(){
|
|
568
|
+
super();
|
|
569
|
+
|
|
570
|
+
/**
|
|
571
|
+
* Account factory baseline list.
|
|
572
|
+
* @type {Array.<AccountFactoryItem> || null}
|
|
573
|
+
*/
|
|
574
|
+
this.BaselineItems = null;
|
|
575
|
+
|
|
576
|
+
/**
|
|
577
|
+
* Total quantity.
|
|
578
|
+
* @type {number || null}
|
|
579
|
+
*/
|
|
580
|
+
this.Total = null;
|
|
581
|
+
|
|
582
|
+
/**
|
|
583
|
+
* 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.
|
|
584
|
+
* @type {string || null}
|
|
585
|
+
*/
|
|
586
|
+
this.RequestId = null;
|
|
587
|
+
|
|
588
|
+
}
|
|
589
|
+
|
|
590
|
+
/**
|
|
591
|
+
* @private
|
|
592
|
+
*/
|
|
593
|
+
deserialize(params) {
|
|
594
|
+
if (!params) {
|
|
595
|
+
return;
|
|
596
|
+
}
|
|
597
|
+
|
|
598
|
+
if (params.BaselineItems) {
|
|
599
|
+
this.BaselineItems = new Array();
|
|
600
|
+
for (let z in params.BaselineItems) {
|
|
601
|
+
let obj = new AccountFactoryItem();
|
|
602
|
+
obj.deserialize(params.BaselineItems[z]);
|
|
603
|
+
this.BaselineItems.push(obj);
|
|
604
|
+
}
|
|
605
|
+
}
|
|
606
|
+
this.Total = 'Total' in params ? params.Total : null;
|
|
607
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
608
|
+
|
|
609
|
+
}
|
|
610
|
+
}
|
|
611
|
+
|
|
612
|
+
/**
|
|
613
|
+
* GetAccountFactoryBaseline request structure.
|
|
614
|
+
* @class
|
|
615
|
+
*/
|
|
616
|
+
class GetAccountFactoryBaselineRequest extends AbstractModel {
|
|
617
|
+
constructor(){
|
|
618
|
+
super();
|
|
619
|
+
|
|
620
|
+
}
|
|
621
|
+
|
|
622
|
+
/**
|
|
623
|
+
* @private
|
|
624
|
+
*/
|
|
625
|
+
deserialize(params) {
|
|
626
|
+
if (!params) {
|
|
627
|
+
return;
|
|
628
|
+
}
|
|
629
|
+
|
|
630
|
+
}
|
|
631
|
+
}
|
|
632
|
+
|
|
633
|
+
/**
|
|
634
|
+
* Account factory baseline information.
|
|
635
|
+
* @class
|
|
636
|
+
*/
|
|
637
|
+
class BaselineInfoItem extends AbstractModel {
|
|
638
|
+
constructor(){
|
|
639
|
+
super();
|
|
640
|
+
|
|
641
|
+
/**
|
|
642
|
+
* Specifies the unique identifier for account factory baseline item, can only contain english letters, digits, and @, ,._[]-:()()[]+=., with a length of 2-128 characters.
|
|
643
|
+
* @type {string || null}
|
|
644
|
+
*/
|
|
645
|
+
this.Identifier = null;
|
|
646
|
+
|
|
647
|
+
/**
|
|
648
|
+
* Account factory baseline item configuration. different baseline item configuration parameters.
|
|
649
|
+
* @type {string || null}
|
|
650
|
+
*/
|
|
651
|
+
this.Configuration = null;
|
|
652
|
+
|
|
653
|
+
/**
|
|
654
|
+
* Specifies the number of accounts for baseline applications.
|
|
655
|
+
* @type {number || null}
|
|
656
|
+
*/
|
|
657
|
+
this.ApplyCount = null;
|
|
658
|
+
|
|
659
|
+
}
|
|
660
|
+
|
|
661
|
+
/**
|
|
662
|
+
* @private
|
|
663
|
+
*/
|
|
664
|
+
deserialize(params) {
|
|
665
|
+
if (!params) {
|
|
666
|
+
return;
|
|
667
|
+
}
|
|
668
|
+
this.Identifier = 'Identifier' in params ? params.Identifier : null;
|
|
669
|
+
this.Configuration = 'Configuration' in params ? params.Configuration : null;
|
|
670
|
+
this.ApplyCount = 'ApplyCount' in params ? params.ApplyCount : null;
|
|
671
|
+
|
|
672
|
+
}
|
|
673
|
+
}
|
|
674
|
+
|
|
675
|
+
/**
|
|
676
|
+
* ListDeployStepTasks response structure.
|
|
677
|
+
* @class
|
|
678
|
+
*/
|
|
679
|
+
class ListDeployStepTasksResponse extends AbstractModel {
|
|
680
|
+
constructor(){
|
|
681
|
+
super();
|
|
682
|
+
|
|
683
|
+
/**
|
|
684
|
+
* Account factory baseline function application information list.
|
|
685
|
+
* @type {Array.<BaselineStepTaskInfo> || null}
|
|
686
|
+
*/
|
|
687
|
+
this.BaselineDeployStepTaskList = null;
|
|
688
|
+
|
|
689
|
+
/**
|
|
690
|
+
* Total quantity.
|
|
691
|
+
* @type {number || null}
|
|
692
|
+
*/
|
|
693
|
+
this.Total = null;
|
|
694
|
+
|
|
695
|
+
/**
|
|
696
|
+
* 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.
|
|
697
|
+
* @type {string || null}
|
|
698
|
+
*/
|
|
699
|
+
this.RequestId = null;
|
|
700
|
+
|
|
701
|
+
}
|
|
702
|
+
|
|
703
|
+
/**
|
|
704
|
+
* @private
|
|
705
|
+
*/
|
|
706
|
+
deserialize(params) {
|
|
707
|
+
if (!params) {
|
|
708
|
+
return;
|
|
709
|
+
}
|
|
710
|
+
|
|
711
|
+
if (params.BaselineDeployStepTaskList) {
|
|
712
|
+
this.BaselineDeployStepTaskList = new Array();
|
|
713
|
+
for (let z in params.BaselineDeployStepTaskList) {
|
|
714
|
+
let obj = new BaselineStepTaskInfo();
|
|
715
|
+
obj.deserialize(params.BaselineDeployStepTaskList[z]);
|
|
716
|
+
this.BaselineDeployStepTaskList.push(obj);
|
|
717
|
+
}
|
|
718
|
+
}
|
|
719
|
+
this.Total = 'Total' in params ? params.Total : null;
|
|
720
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
721
|
+
|
|
722
|
+
}
|
|
723
|
+
}
|
|
724
|
+
|
|
125
725
|
module.exports = {
|
|
126
726
|
BaselineConfigItem: BaselineConfigItem,
|
|
727
|
+
UpdateAccountFactoryBaselineResponse: UpdateAccountFactoryBaselineResponse,
|
|
728
|
+
BaselineStepTaskInfo: BaselineStepTaskInfo,
|
|
729
|
+
ListAccountFactoryBaselineItemsRequest: ListAccountFactoryBaselineItemsRequest,
|
|
730
|
+
DependsOnItem: DependsOnItem,
|
|
127
731
|
BatchApplyAccountBaselinesResponse: BatchApplyAccountBaselinesResponse,
|
|
732
|
+
UpdateAccountFactoryBaselineRequest: UpdateAccountFactoryBaselineRequest,
|
|
733
|
+
ListDeployStepTasksRequest: ListDeployStepTasksRequest,
|
|
734
|
+
AccountFactoryItem: AccountFactoryItem,
|
|
128
735
|
BatchApplyAccountBaselinesRequest: BatchApplyAccountBaselinesRequest,
|
|
736
|
+
GetAccountFactoryBaselineResponse: GetAccountFactoryBaselineResponse,
|
|
737
|
+
ListAccountFactoryBaselineItemsResponse: ListAccountFactoryBaselineItemsResponse,
|
|
738
|
+
GetAccountFactoryBaselineRequest: GetAccountFactoryBaselineRequest,
|
|
739
|
+
BaselineInfoItem: BaselineInfoItem,
|
|
740
|
+
ListDeployStepTasksResponse: ListDeployStepTasksResponse,
|
|
129
741
|
|
|
130
742
|
}
|
|
@@ -847,7 +847,9 @@ The default value is blink. The different action types passed in this parameter
|
|
|
847
847
|
this.ActionList = null;
|
|
848
848
|
|
|
849
849
|
/**
|
|
850
|
-
*
|
|
850
|
+
* PLUS: Plus Version.
|
|
851
|
+
ENHANCED: Enhanced Version.
|
|
852
|
+
BASIC: Basic Version (Default).
|
|
851
853
|
* @type {string || null}
|
|
852
854
|
*/
|
|
853
855
|
this.SdkVersion = null;
|
|
@@ -2165,6 +2167,25 @@ Only returned for the ENHANCED version, with the default value being empty.
|
|
|
2165
2167
|
*/
|
|
2166
2168
|
this.DeviceInfoLevel = null;
|
|
2167
2169
|
|
|
2170
|
+
/**
|
|
2171
|
+
* Describes the detailed reason for the current liveness detection failure. Output only when SdkVersion is PLUS. Details are as follows:
|
|
2172
|
+
01 - User kept eyes closed throughout the process.
|
|
2173
|
+
02 - User failed to complete the specified action.
|
|
2174
|
+
03 - Suspected photo replay attack.
|
|
2175
|
+
04 - Suspected synthetic image.
|
|
2176
|
+
05 - Suspected synthetic video.
|
|
2177
|
+
06 - Suspected synthetic action.
|
|
2178
|
+
07 - Suspected fraud template.
|
|
2179
|
+
08 - Suspected watermark existence.
|
|
2180
|
+
09 - Light verification failed.
|
|
2181
|
+
10 - Face verification failed.
|
|
2182
|
+
11 - Poor face quality.
|
|
2183
|
+
12 - Unqualified collection quality.
|
|
2184
|
+
13 - Suspected adversarial sample attack.
|
|
2185
|
+
* @type {Array.<string> || null}
|
|
2186
|
+
*/
|
|
2187
|
+
this.LivenessInfoTag = null;
|
|
2188
|
+
|
|
2168
2189
|
/**
|
|
2169
2190
|
* 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.
|
|
2170
2191
|
* @type {string || null}
|
|
@@ -2188,6 +2209,7 @@ Only returned for the ENHANCED version, with the default value being empty.
|
|
|
2188
2209
|
this.Similarity = 'Similarity' in params ? params.Similarity : null;
|
|
2189
2210
|
this.Extra = 'Extra' in params ? params.Extra : null;
|
|
2190
2211
|
this.DeviceInfoLevel = 'DeviceInfoLevel' in params ? params.DeviceInfoLevel : null;
|
|
2212
|
+
this.LivenessInfoTag = 'LivenessInfoTag' in params ? params.LivenessInfoTag : null;
|
|
2191
2213
|
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
2192
2214
|
|
|
2193
2215
|
}
|
|
@@ -2281,8 +2303,9 @@ Optional alarm codes are: -9101 (occlusion or incomplete border), -9102 (photoco
|
|
|
2281
2303
|
this.Extra = null;
|
|
2282
2304
|
|
|
2283
2305
|
/**
|
|
2284
|
-
*
|
|
2285
|
-
|
|
2306
|
+
* PLUS: Plus Version.
|
|
2307
|
+
ENHANCED: Enhanced Version.
|
|
2308
|
+
BASIC: Basic Version (default).
|
|
2286
2309
|
* @type {string || null}
|
|
2287
2310
|
*/
|
|
2288
2311
|
this.SdkVersion = null;
|