tencentcloud-sdk-nodejs-intl-en 3.0.1325 → 3.0.1326
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
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const sdkVersion = "3.0.
|
|
1
|
+
const sdkVersion = "3.0.1326";
|
|
2
2
|
module.exports = sdkVersion
|
|
@@ -42,7 +42,7 @@ const ScheduleDataKeyDeletionResponse = models.ScheduleDataKeyDeletionResponse;
|
|
|
42
42
|
const EnableKeyRequest = models.EnableKeyRequest;
|
|
43
43
|
const GetKeyRotationStatusRequest = models.GetKeyRotationStatusRequest;
|
|
44
44
|
const ListAlgorithmsRequest = models.ListAlgorithmsRequest;
|
|
45
|
-
const
|
|
45
|
+
const MemberAccount = models.MemberAccount;
|
|
46
46
|
const ListKeyDetailResponse = models.ListKeyDetailResponse;
|
|
47
47
|
const GenerateDataKeyRequest = models.GenerateDataKeyRequest;
|
|
48
48
|
const UpdateAliasResponse = models.UpdateAliasResponse;
|
|
@@ -162,6 +162,7 @@ const UpdateKeyDescriptionRequest = models.UpdateKeyDescriptionRequest;
|
|
|
162
162
|
const UnbindCloudResourceResponse = models.UnbindCloudResourceResponse;
|
|
163
163
|
const DescribeKeyResponse = models.DescribeKeyResponse;
|
|
164
164
|
const CancelKeyArchiveRequest = models.CancelKeyArchiveRequest;
|
|
165
|
+
const Tag = models.Tag;
|
|
165
166
|
const DisableKeyRotationRequest = models.DisableKeyRotationRequest;
|
|
166
167
|
|
|
167
168
|
|
|
@@ -36,6 +36,12 @@ class UpdateAliasRequest extends AbstractModel {
|
|
|
36
36
|
*/
|
|
37
37
|
this.KeyId = null;
|
|
38
38
|
|
|
39
|
+
/**
|
|
40
|
+
* Trusted service member account information. valid at that time when the current account is admin or delegated admin.
|
|
41
|
+
* @type {MemberAccount || null}
|
|
42
|
+
*/
|
|
43
|
+
this.MemberAccount = null;
|
|
44
|
+
|
|
39
45
|
}
|
|
40
46
|
|
|
41
47
|
/**
|
|
@@ -48,6 +54,12 @@ class UpdateAliasRequest extends AbstractModel {
|
|
|
48
54
|
this.Alias = 'Alias' in params ? params.Alias : null;
|
|
49
55
|
this.KeyId = 'KeyId' in params ? params.KeyId : null;
|
|
50
56
|
|
|
57
|
+
if (params.MemberAccount) {
|
|
58
|
+
let obj = new MemberAccount();
|
|
59
|
+
obj.deserialize(params.MemberAccount)
|
|
60
|
+
this.MemberAccount = obj;
|
|
61
|
+
}
|
|
62
|
+
|
|
51
63
|
}
|
|
52
64
|
}
|
|
53
65
|
|
|
@@ -141,6 +153,12 @@ class EnableKeyRotationRequest extends AbstractModel {
|
|
|
141
153
|
*/
|
|
142
154
|
this.RotateDays = null;
|
|
143
155
|
|
|
156
|
+
/**
|
|
157
|
+
* Trusted service member account information. valid at that time when the current account is admin or delegated admin.
|
|
158
|
+
* @type {MemberAccount || null}
|
|
159
|
+
*/
|
|
160
|
+
this.MemberAccount = null;
|
|
161
|
+
|
|
144
162
|
}
|
|
145
163
|
|
|
146
164
|
/**
|
|
@@ -153,6 +171,12 @@ class EnableKeyRotationRequest extends AbstractModel {
|
|
|
153
171
|
this.KeyId = 'KeyId' in params ? params.KeyId : null;
|
|
154
172
|
this.RotateDays = 'RotateDays' in params ? params.RotateDays : null;
|
|
155
173
|
|
|
174
|
+
if (params.MemberAccount) {
|
|
175
|
+
let obj = new MemberAccount();
|
|
176
|
+
obj.deserialize(params.MemberAccount)
|
|
177
|
+
this.MemberAccount = obj;
|
|
178
|
+
}
|
|
179
|
+
|
|
156
180
|
}
|
|
157
181
|
}
|
|
158
182
|
|
|
@@ -374,6 +398,12 @@ class UpdateDataKeyDescriptionRequest extends AbstractModel {
|
|
|
374
398
|
*/
|
|
375
399
|
this.Description = null;
|
|
376
400
|
|
|
401
|
+
/**
|
|
402
|
+
* Trusted service member account information. valid at that time when the current account is admin or delegated admin.
|
|
403
|
+
* @type {MemberAccount || null}
|
|
404
|
+
*/
|
|
405
|
+
this.MemberAccount = null;
|
|
406
|
+
|
|
377
407
|
}
|
|
378
408
|
|
|
379
409
|
/**
|
|
@@ -386,6 +416,12 @@ class UpdateDataKeyDescriptionRequest extends AbstractModel {
|
|
|
386
416
|
this.DataKeyId = 'DataKeyId' in params ? params.DataKeyId : null;
|
|
387
417
|
this.Description = 'Description' in params ? params.Description : null;
|
|
388
418
|
|
|
419
|
+
if (params.MemberAccount) {
|
|
420
|
+
let obj = new MemberAccount();
|
|
421
|
+
obj.deserialize(params.MemberAccount)
|
|
422
|
+
this.MemberAccount = obj;
|
|
423
|
+
}
|
|
424
|
+
|
|
389
425
|
}
|
|
390
426
|
}
|
|
391
427
|
|
|
@@ -471,6 +507,12 @@ class DescribeKeyRequest extends AbstractModel {
|
|
|
471
507
|
*/
|
|
472
508
|
this.KeyId = null;
|
|
473
509
|
|
|
510
|
+
/**
|
|
511
|
+
* Trusted service member account information.
|
|
512
|
+
* @type {MemberAccount || null}
|
|
513
|
+
*/
|
|
514
|
+
this.MemberAccount = null;
|
|
515
|
+
|
|
474
516
|
}
|
|
475
517
|
|
|
476
518
|
/**
|
|
@@ -482,6 +524,12 @@ class DescribeKeyRequest extends AbstractModel {
|
|
|
482
524
|
}
|
|
483
525
|
this.KeyId = 'KeyId' in params ? params.KeyId : null;
|
|
484
526
|
|
|
527
|
+
if (params.MemberAccount) {
|
|
528
|
+
let obj = new MemberAccount();
|
|
529
|
+
obj.deserialize(params.MemberAccount)
|
|
530
|
+
this.MemberAccount = obj;
|
|
531
|
+
}
|
|
532
|
+
|
|
485
533
|
}
|
|
486
534
|
}
|
|
487
535
|
|
|
@@ -604,6 +652,12 @@ class DescribeDataKeysRequest extends AbstractModel {
|
|
|
604
652
|
*/
|
|
605
653
|
this.DataKeyIds = null;
|
|
606
654
|
|
|
655
|
+
/**
|
|
656
|
+
* Trusted service member account information. valid at that time when the current account is admin or delegated admin.
|
|
657
|
+
* @type {MemberAccount || null}
|
|
658
|
+
*/
|
|
659
|
+
this.MemberAccount = null;
|
|
660
|
+
|
|
607
661
|
}
|
|
608
662
|
|
|
609
663
|
/**
|
|
@@ -615,6 +669,12 @@ class DescribeDataKeysRequest extends AbstractModel {
|
|
|
615
669
|
}
|
|
616
670
|
this.DataKeyIds = 'DataKeyIds' in params ? params.DataKeyIds : null;
|
|
617
671
|
|
|
672
|
+
if (params.MemberAccount) {
|
|
673
|
+
let obj = new MemberAccount();
|
|
674
|
+
obj.deserialize(params.MemberAccount)
|
|
675
|
+
this.MemberAccount = obj;
|
|
676
|
+
}
|
|
677
|
+
|
|
618
678
|
}
|
|
619
679
|
}
|
|
620
680
|
|
|
@@ -948,6 +1008,12 @@ class EnableKeyRequest extends AbstractModel {
|
|
|
948
1008
|
*/
|
|
949
1009
|
this.KeyId = null;
|
|
950
1010
|
|
|
1011
|
+
/**
|
|
1012
|
+
* Trusted service member account information. valid at that time when the current account is admin or delegated admin.
|
|
1013
|
+
* @type {MemberAccount || null}
|
|
1014
|
+
*/
|
|
1015
|
+
this.MemberAccount = null;
|
|
1016
|
+
|
|
951
1017
|
}
|
|
952
1018
|
|
|
953
1019
|
/**
|
|
@@ -959,6 +1025,12 @@ class EnableKeyRequest extends AbstractModel {
|
|
|
959
1025
|
}
|
|
960
1026
|
this.KeyId = 'KeyId' in params ? params.KeyId : null;
|
|
961
1027
|
|
|
1028
|
+
if (params.MemberAccount) {
|
|
1029
|
+
let obj = new MemberAccount();
|
|
1030
|
+
obj.deserialize(params.MemberAccount)
|
|
1031
|
+
this.MemberAccount = obj;
|
|
1032
|
+
}
|
|
1033
|
+
|
|
962
1034
|
}
|
|
963
1035
|
}
|
|
964
1036
|
|
|
@@ -976,6 +1048,12 @@ class GetKeyRotationStatusRequest extends AbstractModel {
|
|
|
976
1048
|
*/
|
|
977
1049
|
this.KeyId = null;
|
|
978
1050
|
|
|
1051
|
+
/**
|
|
1052
|
+
* Trusted service member account information. valid at that time when the current account is admin or delegated admin.
|
|
1053
|
+
* @type {MemberAccount || null}
|
|
1054
|
+
*/
|
|
1055
|
+
this.MemberAccount = null;
|
|
1056
|
+
|
|
979
1057
|
}
|
|
980
1058
|
|
|
981
1059
|
/**
|
|
@@ -987,6 +1065,12 @@ class GetKeyRotationStatusRequest extends AbstractModel {
|
|
|
987
1065
|
}
|
|
988
1066
|
this.KeyId = 'KeyId' in params ? params.KeyId : null;
|
|
989
1067
|
|
|
1068
|
+
if (params.MemberAccount) {
|
|
1069
|
+
let obj = new MemberAccount();
|
|
1070
|
+
obj.deserialize(params.MemberAccount)
|
|
1071
|
+
this.MemberAccount = obj;
|
|
1072
|
+
}
|
|
1073
|
+
|
|
990
1074
|
}
|
|
991
1075
|
}
|
|
992
1076
|
|
|
@@ -1012,24 +1096,25 @@ class ListAlgorithmsRequest extends AbstractModel {
|
|
|
1012
1096
|
}
|
|
1013
1097
|
|
|
1014
1098
|
/**
|
|
1015
|
-
*
|
|
1099
|
+
* Shared member account information.
|
|
1016
1100
|
* @class
|
|
1017
1101
|
*/
|
|
1018
|
-
class
|
|
1102
|
+
class MemberAccount extends AbstractModel {
|
|
1019
1103
|
constructor(){
|
|
1020
1104
|
super();
|
|
1021
1105
|
|
|
1022
1106
|
/**
|
|
1023
|
-
*
|
|
1024
|
-
|
|
1107
|
+
* Member account appid.
|
|
1108
|
+
|
|
1109
|
+
* @type {number || null}
|
|
1025
1110
|
*/
|
|
1026
|
-
this.
|
|
1111
|
+
this.MemberAppId = null;
|
|
1027
1112
|
|
|
1028
1113
|
/**
|
|
1029
|
-
*
|
|
1030
|
-
* @type {
|
|
1114
|
+
* Member account UIN
|
|
1115
|
+
* @type {number || null}
|
|
1031
1116
|
*/
|
|
1032
|
-
this.
|
|
1117
|
+
this.MemberUin = null;
|
|
1033
1118
|
|
|
1034
1119
|
}
|
|
1035
1120
|
|
|
@@ -1040,8 +1125,8 @@ class Tag extends AbstractModel {
|
|
|
1040
1125
|
if (!params) {
|
|
1041
1126
|
return;
|
|
1042
1127
|
}
|
|
1043
|
-
this.
|
|
1044
|
-
this.
|
|
1128
|
+
this.MemberAppId = 'MemberAppId' in params ? params.MemberAppId : null;
|
|
1129
|
+
this.MemberUin = 'MemberUin' in params ? params.MemberUin : null;
|
|
1045
1130
|
|
|
1046
1131
|
}
|
|
1047
1132
|
}
|
|
@@ -1369,6 +1454,12 @@ class UpdateDataKeyNameRequest extends AbstractModel {
|
|
|
1369
1454
|
*/
|
|
1370
1455
|
this.DataKeyName = null;
|
|
1371
1456
|
|
|
1457
|
+
/**
|
|
1458
|
+
* Trusted service member account information. valid at that time when the current account is admin or delegated admin.
|
|
1459
|
+
* @type {MemberAccount || null}
|
|
1460
|
+
*/
|
|
1461
|
+
this.MemberAccount = null;
|
|
1462
|
+
|
|
1372
1463
|
}
|
|
1373
1464
|
|
|
1374
1465
|
/**
|
|
@@ -1381,6 +1472,12 @@ class UpdateDataKeyNameRequest extends AbstractModel {
|
|
|
1381
1472
|
this.DataKeyId = 'DataKeyId' in params ? params.DataKeyId : null;
|
|
1382
1473
|
this.DataKeyName = 'DataKeyName' in params ? params.DataKeyName : null;
|
|
1383
1474
|
|
|
1475
|
+
if (params.MemberAccount) {
|
|
1476
|
+
let obj = new MemberAccount();
|
|
1477
|
+
obj.deserialize(params.MemberAccount)
|
|
1478
|
+
this.MemberAccount = obj;
|
|
1479
|
+
}
|
|
1480
|
+
|
|
1384
1481
|
}
|
|
1385
1482
|
}
|
|
1386
1483
|
|
|
@@ -1404,6 +1501,12 @@ class ScheduleDataKeyDeletionRequest extends AbstractModel {
|
|
|
1404
1501
|
*/
|
|
1405
1502
|
this.PendingWindowInDays = null;
|
|
1406
1503
|
|
|
1504
|
+
/**
|
|
1505
|
+
* Trusted service member account information. valid at that time when the current account is admin or delegated admin.
|
|
1506
|
+
* @type {MemberAccount || null}
|
|
1507
|
+
*/
|
|
1508
|
+
this.MemberAccount = null;
|
|
1509
|
+
|
|
1407
1510
|
}
|
|
1408
1511
|
|
|
1409
1512
|
/**
|
|
@@ -1416,6 +1519,12 @@ class ScheduleDataKeyDeletionRequest extends AbstractModel {
|
|
|
1416
1519
|
this.DataKeyId = 'DataKeyId' in params ? params.DataKeyId : null;
|
|
1417
1520
|
this.PendingWindowInDays = 'PendingWindowInDays' in params ? params.PendingWindowInDays : null;
|
|
1418
1521
|
|
|
1522
|
+
if (params.MemberAccount) {
|
|
1523
|
+
let obj = new MemberAccount();
|
|
1524
|
+
obj.deserialize(params.MemberAccount)
|
|
1525
|
+
this.MemberAccount = obj;
|
|
1526
|
+
}
|
|
1527
|
+
|
|
1419
1528
|
}
|
|
1420
1529
|
}
|
|
1421
1530
|
|
|
@@ -1433,6 +1542,12 @@ class DescribeKeysRequest extends AbstractModel {
|
|
|
1433
1542
|
*/
|
|
1434
1543
|
this.KeyIds = null;
|
|
1435
1544
|
|
|
1545
|
+
/**
|
|
1546
|
+
* Trusted service member account information. valid at that time when the current account is admin or delegated admin.
|
|
1547
|
+
* @type {MemberAccount || null}
|
|
1548
|
+
*/
|
|
1549
|
+
this.MemberAccount = null;
|
|
1550
|
+
|
|
1436
1551
|
}
|
|
1437
1552
|
|
|
1438
1553
|
/**
|
|
@@ -1444,6 +1559,12 @@ class DescribeKeysRequest extends AbstractModel {
|
|
|
1444
1559
|
}
|
|
1445
1560
|
this.KeyIds = 'KeyIds' in params ? params.KeyIds : null;
|
|
1446
1561
|
|
|
1562
|
+
if (params.MemberAccount) {
|
|
1563
|
+
let obj = new MemberAccount();
|
|
1564
|
+
obj.deserialize(params.MemberAccount)
|
|
1565
|
+
this.MemberAccount = obj;
|
|
1566
|
+
}
|
|
1567
|
+
|
|
1447
1568
|
}
|
|
1448
1569
|
}
|
|
1449
1570
|
|
|
@@ -1961,6 +2082,12 @@ class EnableKeysRequest extends AbstractModel {
|
|
|
1961
2082
|
*/
|
|
1962
2083
|
this.KeyIds = null;
|
|
1963
2084
|
|
|
2085
|
+
/**
|
|
2086
|
+
* Trusted service member account information. valid at that time when the current account is admin or delegated admin.
|
|
2087
|
+
* @type {MemberAccount || null}
|
|
2088
|
+
*/
|
|
2089
|
+
this.MemberAccount = null;
|
|
2090
|
+
|
|
1964
2091
|
}
|
|
1965
2092
|
|
|
1966
2093
|
/**
|
|
@@ -1972,6 +2099,12 @@ class EnableKeysRequest extends AbstractModel {
|
|
|
1972
2099
|
}
|
|
1973
2100
|
this.KeyIds = 'KeyIds' in params ? params.KeyIds : null;
|
|
1974
2101
|
|
|
2102
|
+
if (params.MemberAccount) {
|
|
2103
|
+
let obj = new MemberAccount();
|
|
2104
|
+
obj.deserialize(params.MemberAccount)
|
|
2105
|
+
this.MemberAccount = obj;
|
|
2106
|
+
}
|
|
2107
|
+
|
|
1975
2108
|
}
|
|
1976
2109
|
}
|
|
1977
2110
|
|
|
@@ -2342,6 +2475,12 @@ class DescribeDataKeyRequest extends AbstractModel {
|
|
|
2342
2475
|
*/
|
|
2343
2476
|
this.DataKeyId = null;
|
|
2344
2477
|
|
|
2478
|
+
/**
|
|
2479
|
+
* Trusted service member account information. valid at that time when the current account is admin or delegated admin.
|
|
2480
|
+
* @type {MemberAccount || null}
|
|
2481
|
+
*/
|
|
2482
|
+
this.MemberAccount = null;
|
|
2483
|
+
|
|
2345
2484
|
}
|
|
2346
2485
|
|
|
2347
2486
|
/**
|
|
@@ -2353,6 +2492,12 @@ class DescribeDataKeyRequest extends AbstractModel {
|
|
|
2353
2492
|
}
|
|
2354
2493
|
this.DataKeyId = 'DataKeyId' in params ? params.DataKeyId : null;
|
|
2355
2494
|
|
|
2495
|
+
if (params.MemberAccount) {
|
|
2496
|
+
let obj = new MemberAccount();
|
|
2497
|
+
obj.deserialize(params.MemberAccount)
|
|
2498
|
+
this.MemberAccount = obj;
|
|
2499
|
+
}
|
|
2500
|
+
|
|
2356
2501
|
}
|
|
2357
2502
|
}
|
|
2358
2503
|
|
|
@@ -2560,6 +2705,24 @@ class DataKeyMetadata extends AbstractModel {
|
|
|
2560
2705
|
*/
|
|
2561
2706
|
this.SourceHsmClusterId = null;
|
|
2562
2707
|
|
|
2708
|
+
/**
|
|
2709
|
+
* Member account appId.
|
|
2710
|
+
* @type {number || null}
|
|
2711
|
+
*/
|
|
2712
|
+
this.AccountAppId = null;
|
|
2713
|
+
|
|
2714
|
+
/**
|
|
2715
|
+
* Member account UIN
|
|
2716
|
+
* @type {number || null}
|
|
2717
|
+
*/
|
|
2718
|
+
this.AccountUin = null;
|
|
2719
|
+
|
|
2720
|
+
/**
|
|
2721
|
+
* Member account name.
|
|
2722
|
+
* @type {string || null}
|
|
2723
|
+
*/
|
|
2724
|
+
this.AccountName = null;
|
|
2725
|
+
|
|
2563
2726
|
}
|
|
2564
2727
|
|
|
2565
2728
|
/**
|
|
@@ -2590,6 +2753,9 @@ class DataKeyMetadata extends AbstractModel {
|
|
|
2590
2753
|
this.SyncStartTime = 'SyncStartTime' in params ? params.SyncStartTime : null;
|
|
2591
2754
|
this.SyncEndTime = 'SyncEndTime' in params ? params.SyncEndTime : null;
|
|
2592
2755
|
this.SourceHsmClusterId = 'SourceHsmClusterId' in params ? params.SourceHsmClusterId : null;
|
|
2756
|
+
this.AccountAppId = 'AccountAppId' in params ? params.AccountAppId : null;
|
|
2757
|
+
this.AccountUin = 'AccountUin' in params ? params.AccountUin : null;
|
|
2758
|
+
this.AccountName = 'AccountName' in params ? params.AccountName : null;
|
|
2593
2759
|
|
|
2594
2760
|
}
|
|
2595
2761
|
}
|
|
@@ -2825,6 +2991,12 @@ class ListKeyDetailRequest extends AbstractModel {
|
|
|
2825
2991
|
*/
|
|
2826
2992
|
this.HsmClusterId = null;
|
|
2827
2993
|
|
|
2994
|
+
/**
|
|
2995
|
+
* Array of trusted service member account information.
|
|
2996
|
+
* @type {Array.<MemberAccount> || null}
|
|
2997
|
+
*/
|
|
2998
|
+
this.MemberAccounts = null;
|
|
2999
|
+
|
|
2828
3000
|
}
|
|
2829
3001
|
|
|
2830
3002
|
/**
|
|
@@ -2853,6 +3025,15 @@ class ListKeyDetailRequest extends AbstractModel {
|
|
|
2853
3025
|
}
|
|
2854
3026
|
this.HsmClusterId = 'HsmClusterId' in params ? params.HsmClusterId : null;
|
|
2855
3027
|
|
|
3028
|
+
if (params.MemberAccounts) {
|
|
3029
|
+
this.MemberAccounts = new Array();
|
|
3030
|
+
for (let z in params.MemberAccounts) {
|
|
3031
|
+
let obj = new MemberAccount();
|
|
3032
|
+
obj.deserialize(params.MemberAccounts[z]);
|
|
3033
|
+
this.MemberAccounts.push(obj);
|
|
3034
|
+
}
|
|
3035
|
+
}
|
|
3036
|
+
|
|
2856
3037
|
}
|
|
2857
3038
|
}
|
|
2858
3039
|
|
|
@@ -3031,6 +3212,12 @@ class CancelKeyDeletionRequest extends AbstractModel {
|
|
|
3031
3212
|
*/
|
|
3032
3213
|
this.KeyId = null;
|
|
3033
3214
|
|
|
3215
|
+
/**
|
|
3216
|
+
* Trusted service member account information. valid at that time when the current account is admin or delegated admin.
|
|
3217
|
+
* @type {MemberAccount || null}
|
|
3218
|
+
*/
|
|
3219
|
+
this.MemberAccount = null;
|
|
3220
|
+
|
|
3034
3221
|
}
|
|
3035
3222
|
|
|
3036
3223
|
/**
|
|
@@ -3042,6 +3229,12 @@ class CancelKeyDeletionRequest extends AbstractModel {
|
|
|
3042
3229
|
}
|
|
3043
3230
|
this.KeyId = 'KeyId' in params ? params.KeyId : null;
|
|
3044
3231
|
|
|
3232
|
+
if (params.MemberAccount) {
|
|
3233
|
+
let obj = new MemberAccount();
|
|
3234
|
+
obj.deserialize(params.MemberAccount)
|
|
3235
|
+
this.MemberAccount = obj;
|
|
3236
|
+
}
|
|
3237
|
+
|
|
3045
3238
|
}
|
|
3046
3239
|
}
|
|
3047
3240
|
|
|
@@ -3158,6 +3351,12 @@ class EnableDataKeysRequest extends AbstractModel {
|
|
|
3158
3351
|
*/
|
|
3159
3352
|
this.DataKeyIds = null;
|
|
3160
3353
|
|
|
3354
|
+
/**
|
|
3355
|
+
* Trusted service member account information. valid at that time when the current account is admin or delegated admin.
|
|
3356
|
+
* @type {MemberAccount || null}
|
|
3357
|
+
*/
|
|
3358
|
+
this.MemberAccount = null;
|
|
3359
|
+
|
|
3161
3360
|
}
|
|
3162
3361
|
|
|
3163
3362
|
/**
|
|
@@ -3169,6 +3368,12 @@ class EnableDataKeysRequest extends AbstractModel {
|
|
|
3169
3368
|
}
|
|
3170
3369
|
this.DataKeyIds = 'DataKeyIds' in params ? params.DataKeyIds : null;
|
|
3171
3370
|
|
|
3371
|
+
if (params.MemberAccount) {
|
|
3372
|
+
let obj = new MemberAccount();
|
|
3373
|
+
obj.deserialize(params.MemberAccount)
|
|
3374
|
+
this.MemberAccount = obj;
|
|
3375
|
+
}
|
|
3376
|
+
|
|
3172
3377
|
}
|
|
3173
3378
|
}
|
|
3174
3379
|
|
|
@@ -3278,6 +3483,12 @@ class DisableDataKeyRequest extends AbstractModel {
|
|
|
3278
3483
|
*/
|
|
3279
3484
|
this.DataKeyId = null;
|
|
3280
3485
|
|
|
3486
|
+
/**
|
|
3487
|
+
* Trusted service member account information. valid at that time when the current account is admin or delegated admin.
|
|
3488
|
+
* @type {MemberAccount || null}
|
|
3489
|
+
*/
|
|
3490
|
+
this.MemberAccount = null;
|
|
3491
|
+
|
|
3281
3492
|
}
|
|
3282
3493
|
|
|
3283
3494
|
/**
|
|
@@ -3289,6 +3500,12 @@ class DisableDataKeyRequest extends AbstractModel {
|
|
|
3289
3500
|
}
|
|
3290
3501
|
this.DataKeyId = 'DataKeyId' in params ? params.DataKeyId : null;
|
|
3291
3502
|
|
|
3503
|
+
if (params.MemberAccount) {
|
|
3504
|
+
let obj = new MemberAccount();
|
|
3505
|
+
obj.deserialize(params.MemberAccount)
|
|
3506
|
+
this.MemberAccount = obj;
|
|
3507
|
+
}
|
|
3508
|
+
|
|
3292
3509
|
}
|
|
3293
3510
|
}
|
|
3294
3511
|
|
|
@@ -3362,6 +3579,12 @@ class ArchiveKeyRequest extends AbstractModel {
|
|
|
3362
3579
|
*/
|
|
3363
3580
|
this.KeyId = null;
|
|
3364
3581
|
|
|
3582
|
+
/**
|
|
3583
|
+
* Trusted service member account information. valid at that time when the current account is admin or delegated admin.
|
|
3584
|
+
* @type {MemberAccount || null}
|
|
3585
|
+
*/
|
|
3586
|
+
this.MemberAccount = null;
|
|
3587
|
+
|
|
3365
3588
|
}
|
|
3366
3589
|
|
|
3367
3590
|
/**
|
|
@@ -3373,6 +3596,12 @@ class ArchiveKeyRequest extends AbstractModel {
|
|
|
3373
3596
|
}
|
|
3374
3597
|
this.KeyId = 'KeyId' in params ? params.KeyId : null;
|
|
3375
3598
|
|
|
3599
|
+
if (params.MemberAccount) {
|
|
3600
|
+
let obj = new MemberAccount();
|
|
3601
|
+
obj.deserialize(params.MemberAccount)
|
|
3602
|
+
this.MemberAccount = obj;
|
|
3603
|
+
}
|
|
3604
|
+
|
|
3376
3605
|
}
|
|
3377
3606
|
}
|
|
3378
3607
|
|
|
@@ -3663,6 +3892,12 @@ class GetDataKeyCiphertextBlobRequest extends AbstractModel {
|
|
|
3663
3892
|
*/
|
|
3664
3893
|
this.DataKeyId = null;
|
|
3665
3894
|
|
|
3895
|
+
/**
|
|
3896
|
+
* Trusted service member account information. valid at that time when the current account is admin or delegated admin.
|
|
3897
|
+
* @type {MemberAccount || null}
|
|
3898
|
+
*/
|
|
3899
|
+
this.MemberAccount = null;
|
|
3900
|
+
|
|
3666
3901
|
}
|
|
3667
3902
|
|
|
3668
3903
|
/**
|
|
@@ -3674,6 +3909,12 @@ class GetDataKeyCiphertextBlobRequest extends AbstractModel {
|
|
|
3674
3909
|
}
|
|
3675
3910
|
this.DataKeyId = 'DataKeyId' in params ? params.DataKeyId : null;
|
|
3676
3911
|
|
|
3912
|
+
if (params.MemberAccount) {
|
|
3913
|
+
let obj = new MemberAccount();
|
|
3914
|
+
obj.deserialize(params.MemberAccount)
|
|
3915
|
+
this.MemberAccount = obj;
|
|
3916
|
+
}
|
|
3917
|
+
|
|
3677
3918
|
}
|
|
3678
3919
|
}
|
|
3679
3920
|
|
|
@@ -4257,6 +4498,12 @@ class ListDataKeyDetailRequest extends AbstractModel {
|
|
|
4257
4498
|
*/
|
|
4258
4499
|
this.TagFilters = null;
|
|
4259
4500
|
|
|
4501
|
+
/**
|
|
4502
|
+
* Array of member account information.
|
|
4503
|
+
* @type {Array.<MemberAccount> || null}
|
|
4504
|
+
*/
|
|
4505
|
+
this.MemberAccounts = null;
|
|
4506
|
+
|
|
4260
4507
|
}
|
|
4261
4508
|
|
|
4262
4509
|
/**
|
|
@@ -4286,6 +4533,15 @@ class ListDataKeyDetailRequest extends AbstractModel {
|
|
|
4286
4533
|
}
|
|
4287
4534
|
}
|
|
4288
4535
|
|
|
4536
|
+
if (params.MemberAccounts) {
|
|
4537
|
+
this.MemberAccounts = new Array();
|
|
4538
|
+
for (let z in params.MemberAccounts) {
|
|
4539
|
+
let obj = new MemberAccount();
|
|
4540
|
+
obj.deserialize(params.MemberAccounts[z]);
|
|
4541
|
+
this.MemberAccounts.push(obj);
|
|
4542
|
+
}
|
|
4543
|
+
}
|
|
4544
|
+
|
|
4289
4545
|
}
|
|
4290
4546
|
}
|
|
4291
4547
|
|
|
@@ -4587,6 +4843,24 @@ class KeyMetadata extends AbstractModel {
|
|
|
4587
4843
|
*/
|
|
4588
4844
|
this.SourceHsmClusterId = null;
|
|
4589
4845
|
|
|
4846
|
+
/**
|
|
4847
|
+
* Member account appId.
|
|
4848
|
+
* @type {number || null}
|
|
4849
|
+
*/
|
|
4850
|
+
this.AccountAppId = null;
|
|
4851
|
+
|
|
4852
|
+
/**
|
|
4853
|
+
* Member account UIN
|
|
4854
|
+
* @type {number || null}
|
|
4855
|
+
*/
|
|
4856
|
+
this.AccountUin = null;
|
|
4857
|
+
|
|
4858
|
+
/**
|
|
4859
|
+
* Member account name.
|
|
4860
|
+
* @type {string || null}
|
|
4861
|
+
*/
|
|
4862
|
+
this.AccountName = null;
|
|
4863
|
+
|
|
4590
4864
|
}
|
|
4591
4865
|
|
|
4592
4866
|
/**
|
|
@@ -4621,6 +4895,9 @@ class KeyMetadata extends AbstractModel {
|
|
|
4621
4895
|
this.SyncStartTime = 'SyncStartTime' in params ? params.SyncStartTime : null;
|
|
4622
4896
|
this.SyncEndTime = 'SyncEndTime' in params ? params.SyncEndTime : null;
|
|
4623
4897
|
this.SourceHsmClusterId = 'SourceHsmClusterId' in params ? params.SourceHsmClusterId : null;
|
|
4898
|
+
this.AccountAppId = 'AccountAppId' in params ? params.AccountAppId : null;
|
|
4899
|
+
this.AccountUin = 'AccountUin' in params ? params.AccountUin : null;
|
|
4900
|
+
this.AccountName = 'AccountName' in params ? params.AccountName : null;
|
|
4624
4901
|
|
|
4625
4902
|
}
|
|
4626
4903
|
}
|
|
@@ -4969,6 +5246,12 @@ class DisableKeysRequest extends AbstractModel {
|
|
|
4969
5246
|
*/
|
|
4970
5247
|
this.KeyIds = null;
|
|
4971
5248
|
|
|
5249
|
+
/**
|
|
5250
|
+
* Trusted service member account information. valid at that time when the current account is admin or delegated admin.
|
|
5251
|
+
* @type {MemberAccount || null}
|
|
5252
|
+
*/
|
|
5253
|
+
this.MemberAccount = null;
|
|
5254
|
+
|
|
4972
5255
|
}
|
|
4973
5256
|
|
|
4974
5257
|
/**
|
|
@@ -4980,6 +5263,12 @@ class DisableKeysRequest extends AbstractModel {
|
|
|
4980
5263
|
}
|
|
4981
5264
|
this.KeyIds = 'KeyIds' in params ? params.KeyIds : null;
|
|
4982
5265
|
|
|
5266
|
+
if (params.MemberAccount) {
|
|
5267
|
+
let obj = new MemberAccount();
|
|
5268
|
+
obj.deserialize(params.MemberAccount)
|
|
5269
|
+
this.MemberAccount = obj;
|
|
5270
|
+
}
|
|
5271
|
+
|
|
4983
5272
|
}
|
|
4984
5273
|
}
|
|
4985
5274
|
|
|
@@ -5466,6 +5755,12 @@ class ScheduleKeyDeletionRequest extends AbstractModel {
|
|
|
5466
5755
|
*/
|
|
5467
5756
|
this.PendingWindowInDays = null;
|
|
5468
5757
|
|
|
5758
|
+
/**
|
|
5759
|
+
* Trusted service member account information. valid at that time when the current account is admin or delegated admin.
|
|
5760
|
+
* @type {MemberAccount || null}
|
|
5761
|
+
*/
|
|
5762
|
+
this.MemberAccount = null;
|
|
5763
|
+
|
|
5469
5764
|
}
|
|
5470
5765
|
|
|
5471
5766
|
/**
|
|
@@ -5478,6 +5773,12 @@ class ScheduleKeyDeletionRequest extends AbstractModel {
|
|
|
5478
5773
|
this.KeyId = 'KeyId' in params ? params.KeyId : null;
|
|
5479
5774
|
this.PendingWindowInDays = 'PendingWindowInDays' in params ? params.PendingWindowInDays : null;
|
|
5480
5775
|
|
|
5776
|
+
if (params.MemberAccount) {
|
|
5777
|
+
let obj = new MemberAccount();
|
|
5778
|
+
obj.deserialize(params.MemberAccount)
|
|
5779
|
+
this.MemberAccount = obj;
|
|
5780
|
+
}
|
|
5781
|
+
|
|
5481
5782
|
}
|
|
5482
5783
|
}
|
|
5483
5784
|
|
|
@@ -5495,6 +5796,12 @@ class CancelDataKeyDeletionRequest extends AbstractModel {
|
|
|
5495
5796
|
*/
|
|
5496
5797
|
this.DataKeyId = null;
|
|
5497
5798
|
|
|
5799
|
+
/**
|
|
5800
|
+
* Trusted service member account information. valid at that time when the current account is admin or delegated admin.
|
|
5801
|
+
* @type {MemberAccount || null}
|
|
5802
|
+
*/
|
|
5803
|
+
this.MemberAccount = null;
|
|
5804
|
+
|
|
5498
5805
|
}
|
|
5499
5806
|
|
|
5500
5807
|
/**
|
|
@@ -5506,6 +5813,12 @@ class CancelDataKeyDeletionRequest extends AbstractModel {
|
|
|
5506
5813
|
}
|
|
5507
5814
|
this.DataKeyId = 'DataKeyId' in params ? params.DataKeyId : null;
|
|
5508
5815
|
|
|
5816
|
+
if (params.MemberAccount) {
|
|
5817
|
+
let obj = new MemberAccount();
|
|
5818
|
+
obj.deserialize(params.MemberAccount)
|
|
5819
|
+
this.MemberAccount = obj;
|
|
5820
|
+
}
|
|
5821
|
+
|
|
5509
5822
|
}
|
|
5510
5823
|
}
|
|
5511
5824
|
|
|
@@ -5558,6 +5871,12 @@ class DisableKeyRequest extends AbstractModel {
|
|
|
5558
5871
|
*/
|
|
5559
5872
|
this.KeyId = null;
|
|
5560
5873
|
|
|
5874
|
+
/**
|
|
5875
|
+
* Trusted service member account information. valid at that time when the current account is admin or delegated admin.
|
|
5876
|
+
* @type {MemberAccount || null}
|
|
5877
|
+
*/
|
|
5878
|
+
this.MemberAccount = null;
|
|
5879
|
+
|
|
5561
5880
|
}
|
|
5562
5881
|
|
|
5563
5882
|
/**
|
|
@@ -5569,6 +5888,12 @@ class DisableKeyRequest extends AbstractModel {
|
|
|
5569
5888
|
}
|
|
5570
5889
|
this.KeyId = 'KeyId' in params ? params.KeyId : null;
|
|
5571
5890
|
|
|
5891
|
+
if (params.MemberAccount) {
|
|
5892
|
+
let obj = new MemberAccount();
|
|
5893
|
+
obj.deserialize(params.MemberAccount)
|
|
5894
|
+
this.MemberAccount = obj;
|
|
5895
|
+
}
|
|
5896
|
+
|
|
5572
5897
|
}
|
|
5573
5898
|
}
|
|
5574
5899
|
|
|
@@ -5614,6 +5939,12 @@ class EnableDataKeyRequest extends AbstractModel {
|
|
|
5614
5939
|
*/
|
|
5615
5940
|
this.DataKeyId = null;
|
|
5616
5941
|
|
|
5942
|
+
/**
|
|
5943
|
+
* Trusted service member account information. valid at that time when the current account is admin or delegated admin.
|
|
5944
|
+
* @type {MemberAccount || null}
|
|
5945
|
+
*/
|
|
5946
|
+
this.MemberAccount = null;
|
|
5947
|
+
|
|
5617
5948
|
}
|
|
5618
5949
|
|
|
5619
5950
|
/**
|
|
@@ -5625,6 +5956,12 @@ class EnableDataKeyRequest extends AbstractModel {
|
|
|
5625
5956
|
}
|
|
5626
5957
|
this.DataKeyId = 'DataKeyId' in params ? params.DataKeyId : null;
|
|
5627
5958
|
|
|
5959
|
+
if (params.MemberAccount) {
|
|
5960
|
+
let obj = new MemberAccount();
|
|
5961
|
+
obj.deserialize(params.MemberAccount)
|
|
5962
|
+
this.MemberAccount = obj;
|
|
5963
|
+
}
|
|
5964
|
+
|
|
5628
5965
|
}
|
|
5629
5966
|
}
|
|
5630
5967
|
|
|
@@ -5945,6 +6282,12 @@ class DisableDataKeysRequest extends AbstractModel {
|
|
|
5945
6282
|
*/
|
|
5946
6283
|
this.DataKeyIds = null;
|
|
5947
6284
|
|
|
6285
|
+
/**
|
|
6286
|
+
* Trusted service member account information. valid at that time when the current account is admin or delegated admin.
|
|
6287
|
+
* @type {MemberAccount || null}
|
|
6288
|
+
*/
|
|
6289
|
+
this.MemberAccount = null;
|
|
6290
|
+
|
|
5948
6291
|
}
|
|
5949
6292
|
|
|
5950
6293
|
/**
|
|
@@ -5956,6 +6299,12 @@ class DisableDataKeysRequest extends AbstractModel {
|
|
|
5956
6299
|
}
|
|
5957
6300
|
this.DataKeyIds = 'DataKeyIds' in params ? params.DataKeyIds : null;
|
|
5958
6301
|
|
|
6302
|
+
if (params.MemberAccount) {
|
|
6303
|
+
let obj = new MemberAccount();
|
|
6304
|
+
obj.deserialize(params.MemberAccount)
|
|
6305
|
+
this.MemberAccount = obj;
|
|
6306
|
+
}
|
|
6307
|
+
|
|
5959
6308
|
}
|
|
5960
6309
|
}
|
|
5961
6310
|
|
|
@@ -5979,6 +6328,12 @@ class UpdateKeyDescriptionRequest extends AbstractModel {
|
|
|
5979
6328
|
*/
|
|
5980
6329
|
this.KeyId = null;
|
|
5981
6330
|
|
|
6331
|
+
/**
|
|
6332
|
+
* Trusted service member account information. valid at that time when the current account is admin or delegated admin.
|
|
6333
|
+
* @type {MemberAccount || null}
|
|
6334
|
+
*/
|
|
6335
|
+
this.MemberAccount = null;
|
|
6336
|
+
|
|
5982
6337
|
}
|
|
5983
6338
|
|
|
5984
6339
|
/**
|
|
@@ -5991,6 +6346,12 @@ class UpdateKeyDescriptionRequest extends AbstractModel {
|
|
|
5991
6346
|
this.Description = 'Description' in params ? params.Description : null;
|
|
5992
6347
|
this.KeyId = 'KeyId' in params ? params.KeyId : null;
|
|
5993
6348
|
|
|
6349
|
+
if (params.MemberAccount) {
|
|
6350
|
+
let obj = new MemberAccount();
|
|
6351
|
+
obj.deserialize(params.MemberAccount)
|
|
6352
|
+
this.MemberAccount = obj;
|
|
6353
|
+
}
|
|
6354
|
+
|
|
5994
6355
|
}
|
|
5995
6356
|
}
|
|
5996
6357
|
|
|
@@ -6076,6 +6437,12 @@ class CancelKeyArchiveRequest extends AbstractModel {
|
|
|
6076
6437
|
*/
|
|
6077
6438
|
this.KeyId = null;
|
|
6078
6439
|
|
|
6440
|
+
/**
|
|
6441
|
+
* Trusted service member account information. valid at that time when the current account is admin or delegated admin.
|
|
6442
|
+
* @type {MemberAccount || null}
|
|
6443
|
+
*/
|
|
6444
|
+
this.MemberAccount = null;
|
|
6445
|
+
|
|
6079
6446
|
}
|
|
6080
6447
|
|
|
6081
6448
|
/**
|
|
@@ -6087,6 +6454,47 @@ class CancelKeyArchiveRequest extends AbstractModel {
|
|
|
6087
6454
|
}
|
|
6088
6455
|
this.KeyId = 'KeyId' in params ? params.KeyId : null;
|
|
6089
6456
|
|
|
6457
|
+
if (params.MemberAccount) {
|
|
6458
|
+
let obj = new MemberAccount();
|
|
6459
|
+
obj.deserialize(params.MemberAccount)
|
|
6460
|
+
this.MemberAccount = obj;
|
|
6461
|
+
}
|
|
6462
|
+
|
|
6463
|
+
}
|
|
6464
|
+
}
|
|
6465
|
+
|
|
6466
|
+
/**
|
|
6467
|
+
* Tag key and tag value
|
|
6468
|
+
* @class
|
|
6469
|
+
*/
|
|
6470
|
+
class Tag extends AbstractModel {
|
|
6471
|
+
constructor(){
|
|
6472
|
+
super();
|
|
6473
|
+
|
|
6474
|
+
/**
|
|
6475
|
+
* Tag key
|
|
6476
|
+
* @type {string || null}
|
|
6477
|
+
*/
|
|
6478
|
+
this.TagKey = null;
|
|
6479
|
+
|
|
6480
|
+
/**
|
|
6481
|
+
* Tag value
|
|
6482
|
+
* @type {string || null}
|
|
6483
|
+
*/
|
|
6484
|
+
this.TagValue = null;
|
|
6485
|
+
|
|
6486
|
+
}
|
|
6487
|
+
|
|
6488
|
+
/**
|
|
6489
|
+
* @private
|
|
6490
|
+
*/
|
|
6491
|
+
deserialize(params) {
|
|
6492
|
+
if (!params) {
|
|
6493
|
+
return;
|
|
6494
|
+
}
|
|
6495
|
+
this.TagKey = 'TagKey' in params ? params.TagKey : null;
|
|
6496
|
+
this.TagValue = 'TagValue' in params ? params.TagValue : null;
|
|
6497
|
+
|
|
6090
6498
|
}
|
|
6091
6499
|
}
|
|
6092
6500
|
|
|
@@ -6104,6 +6512,12 @@ class DisableKeyRotationRequest extends AbstractModel {
|
|
|
6104
6512
|
*/
|
|
6105
6513
|
this.KeyId = null;
|
|
6106
6514
|
|
|
6515
|
+
/**
|
|
6516
|
+
* Trusted service member account information. valid at that time when the current account is admin or delegated admin.
|
|
6517
|
+
* @type {MemberAccount || null}
|
|
6518
|
+
*/
|
|
6519
|
+
this.MemberAccount = null;
|
|
6520
|
+
|
|
6107
6521
|
}
|
|
6108
6522
|
|
|
6109
6523
|
/**
|
|
@@ -6115,6 +6529,12 @@ class DisableKeyRotationRequest extends AbstractModel {
|
|
|
6115
6529
|
}
|
|
6116
6530
|
this.KeyId = 'KeyId' in params ? params.KeyId : null;
|
|
6117
6531
|
|
|
6532
|
+
if (params.MemberAccount) {
|
|
6533
|
+
let obj = new MemberAccount();
|
|
6534
|
+
obj.deserialize(params.MemberAccount)
|
|
6535
|
+
this.MemberAccount = obj;
|
|
6536
|
+
}
|
|
6537
|
+
|
|
6118
6538
|
}
|
|
6119
6539
|
}
|
|
6120
6540
|
|
|
@@ -6145,7 +6565,7 @@ module.exports = {
|
|
|
6145
6565
|
EnableKeyRequest: EnableKeyRequest,
|
|
6146
6566
|
GetKeyRotationStatusRequest: GetKeyRotationStatusRequest,
|
|
6147
6567
|
ListAlgorithmsRequest: ListAlgorithmsRequest,
|
|
6148
|
-
|
|
6568
|
+
MemberAccount: MemberAccount,
|
|
6149
6569
|
ListKeyDetailResponse: ListKeyDetailResponse,
|
|
6150
6570
|
GenerateDataKeyRequest: GenerateDataKeyRequest,
|
|
6151
6571
|
UpdateAliasResponse: UpdateAliasResponse,
|
|
@@ -6265,6 +6685,7 @@ module.exports = {
|
|
|
6265
6685
|
UnbindCloudResourceResponse: UnbindCloudResourceResponse,
|
|
6266
6686
|
DescribeKeyResponse: DescribeKeyResponse,
|
|
6267
6687
|
CancelKeyArchiveRequest: CancelKeyArchiveRequest,
|
|
6688
|
+
Tag: Tag,
|
|
6268
6689
|
DisableKeyRotationRequest: DisableKeyRotationRequest,
|
|
6269
6690
|
|
|
6270
6691
|
}
|
|
@@ -3472,7 +3472,13 @@ class GeneralAccurateOCRResponse extends AbstractModel {
|
|
|
3472
3472
|
this.Angel = null;
|
|
3473
3473
|
|
|
3474
3474
|
/**
|
|
3475
|
-
*
|
|
3475
|
+
* Image rotation angle (angle system). the text's horizontal direction is 0°. clockwise is positive, counterclockwise is negative. click to view <a href="https://www.tencentcloud.com/document/product/866/45139?from_cn_redirect=1">how to correct tilt text</a>.
|
|
3476
|
+
* @type {number || null}
|
|
3477
|
+
*/
|
|
3478
|
+
this.Angle = null;
|
|
3479
|
+
|
|
3480
|
+
/**
|
|
3481
|
+
* 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.
|
|
3476
3482
|
* @type {string || null}
|
|
3477
3483
|
*/
|
|
3478
3484
|
this.RequestId = null;
|
|
@@ -3496,6 +3502,7 @@ class GeneralAccurateOCRResponse extends AbstractModel {
|
|
|
3496
3502
|
}
|
|
3497
3503
|
}
|
|
3498
3504
|
this.Angel = 'Angel' in params ? params.Angel : null;
|
|
3505
|
+
this.Angle = 'Angle' in params ? params.Angle : null;
|
|
3499
3506
|
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
3500
3507
|
|
|
3501
3508
|
}
|
|
@@ -8183,9 +8190,7 @@ class GeneralAccurateOCRRequest extends AbstractModel {
|
|
|
8183
8190
|
super();
|
|
8184
8191
|
|
|
8185
8192
|
/**
|
|
8186
|
-
* Base64
|
|
8187
|
-
The image cannot exceed 7 MB in size after being Base64-encoded. A resolution above 600x800 is recommended. PNG, JPG, JPEG, and BMP formats are supported.
|
|
8188
|
-
Either `ImageUrl` or `ImageBase64` of the image must be provided; if both are provided, only `ImageUrl` will be used.
|
|
8193
|
+
* The Base64 value of an image/PDF. the image must be no more than 10M after encoding, with a resolution of 600*800 or higher recommended. supported formats include PNG, JPG, JPEG, BMP, and PDF. either ImageUrl or ImageBase64 must be provided. if both are provided, only ImageUrl will be used.
|
|
8189
8194
|
* @type {string || null}
|
|
8190
8195
|
*/
|
|
8191
8196
|
this.ImageBase64 = null;
|
|
@@ -8199,13 +8204,7 @@ We recommend you store the image in Tencent Cloud, as a Tencent Cloud URL can gu
|
|
|
8199
8204
|
this.ImageUrl = null;
|
|
8200
8205
|
|
|
8201
8206
|
/**
|
|
8202
|
-
* Whether to
|
|
8203
|
-
* @type {boolean || null}
|
|
8204
|
-
*/
|
|
8205
|
-
this.IsWords = null;
|
|
8206
|
-
|
|
8207
|
-
/**
|
|
8208
|
-
* Whether to slice the input image to enhance the recognition effects for scenarios where the whole image is big, but the size of a single character is small (e.g., test papers). This feature is disabled by default.
|
|
8207
|
+
* Whether to enable original image slicing detection. once enabled, it improves recognition accuracy in scenarios where "the overall image area is large but the single character area is small" (for example: exam paper). default: disabled. note: only supported when ConfigID is configured as OCR.
|
|
8209
8208
|
* @type {boolean || null}
|
|
8210
8209
|
*/
|
|
8211
8210
|
this.EnableDetectSplit = null;
|
|
@@ -8222,6 +8221,18 @@ We recommend you store the image in Tencent Cloud, as a Tencent Cloud URL can gu
|
|
|
8222
8221
|
*/
|
|
8223
8222
|
this.PdfPageNumber = null;
|
|
8224
8223
|
|
|
8224
|
+
/**
|
|
8225
|
+
* Text detection switch, default is true. set to false to directly perform single-line text recognition, suitable for image scenarios containing only forward single-line text.
|
|
8226
|
+
* @type {boolean || null}
|
|
8227
|
+
*/
|
|
8228
|
+
this.EnableDetectText = null;
|
|
8229
|
+
|
|
8230
|
+
/**
|
|
8231
|
+
* Configuration ID supports: OCR - general scenario MulOCR - multilingual scenario. default value is OCR.
|
|
8232
|
+
* @type {string || null}
|
|
8233
|
+
*/
|
|
8234
|
+
this.ConfigID = null;
|
|
8235
|
+
|
|
8225
8236
|
}
|
|
8226
8237
|
|
|
8227
8238
|
/**
|
|
@@ -8233,10 +8244,11 @@ We recommend you store the image in Tencent Cloud, as a Tencent Cloud URL can gu
|
|
|
8233
8244
|
}
|
|
8234
8245
|
this.ImageBase64 = 'ImageBase64' in params ? params.ImageBase64 : null;
|
|
8235
8246
|
this.ImageUrl = 'ImageUrl' in params ? params.ImageUrl : null;
|
|
8236
|
-
this.IsWords = 'IsWords' in params ? params.IsWords : null;
|
|
8237
8247
|
this.EnableDetectSplit = 'EnableDetectSplit' in params ? params.EnableDetectSplit : null;
|
|
8238
8248
|
this.IsPdf = 'IsPdf' in params ? params.IsPdf : null;
|
|
8239
8249
|
this.PdfPageNumber = 'PdfPageNumber' in params ? params.PdfPageNumber : null;
|
|
8250
|
+
this.EnableDetectText = 'EnableDetectText' in params ? params.EnableDetectText : null;
|
|
8251
|
+
this.ConfigID = 'ConfigID' in params ? params.ConfigID : null;
|
|
8240
8252
|
|
|
8241
8253
|
}
|
|
8242
8254
|
}
|