tencentcloud-sdk-nodejs-intl-en 3.0.1464 → 3.0.1466

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,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-intl-en",
3
- "version": "3.0.1464",
3
+ "version": "3.0.1466",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -1,3 +1,3 @@
1
1
  module.exports = {
2
- v20180317: require("./v20180317"), v20230417: require("./v20230417"),
2
+ v20230417: require("./v20230417"), v20180317: require("./v20180317"),
3
3
  };
@@ -1,2 +1,2 @@
1
- const sdkVersion = "3.0.1464";
1
+ const sdkVersion = "3.0.1466";
2
2
  module.exports = sdkVersion
@@ -8192,7 +8192,7 @@ Supplemental description:
8192
8192
  }
8193
8193
 
8194
8194
  /**
8195
- * This API is used to query verification results of dspm data identification data items.
8195
+ * Queries the verification result of a dspm data identification data item
8196
8196
  * @param {DescribeDspmIdentifyRuleTestResultRequest} req
8197
8197
  * @param {function(string, DescribeDspmIdentifyRuleTestResultResponse):void} cb
8198
8198
  * @public
@@ -14623,7 +14623,7 @@ class AiScheduleInfo extends AbstractModel {
14623
14623
  super();
14624
14624
 
14625
14625
  /**
14626
- * <p>ID of the AI scheduled task.</p>
14626
+ * <p>AI scheduled task ID.</p>
14627
14627
  * @type {string || null}
14628
14628
  */
14629
14629
  this.ScheduleId = null;
@@ -14641,7 +14641,7 @@ class AiScheduleInfo extends AbstractModel {
14641
14641
  this.Prompts = null;
14642
14642
 
14643
14643
  /**
14644
- * <p>Status. Parameter Value: 1 (enabled), 2 (disabled).</p>
14644
+ * <p>Status. Value: 1 (enabled), 2 (disabled).</p>
14645
14645
  * @type {number || null}
14646
14646
  */
14647
14647
  this.Status = null;
@@ -26867,7 +26867,7 @@ class DescribeDspmIdentifyRuleTestResultResponse extends AbstractModel {
26867
26867
  super();
26868
26868
 
26869
26869
  /**
26870
- * <p>Whether matched successfully</p><p>Enumeration values:</p><ul><li>true: match successful</li><li>false: fail to match</li></ul>
26870
+ * <p>Whether the match is successful</p><p>Enumeration values:</p><ul><li>true: match successful</li><li>false: fail to match</li></ul>
26871
26871
  * @type {boolean || null}
26872
26872
  */
26873
26873
  this.IsMatch = null;
@@ -31481,7 +31481,7 @@ class DescribeAIScheduleListRequest extends AbstractModel {
31481
31481
  this.Status = null;
31482
31482
 
31483
31483
  /**
31484
- * <p>Scheduled task ID, optional. If empty, a full query is performed.</p>
31484
+ * <p>Scheduled task ID. It is optional. If it is empty, a full query is performed.</p>
31485
31485
  * @type {string || null}
31486
31486
  */
31487
31487
  this.ScheduleId = null;
@@ -120858,7 +120858,7 @@ class DescribeCosAssetSyncTaskRequest extends AbstractModel {
120858
120858
  }
120859
120859
 
120860
120860
  /**
120861
- * User identity information of the AI assistant
120861
+ * User identity information for the AI assistant
120862
120862
  * @class
120863
120863
  */
120864
120864
  class AIScheduleUserIdentity extends AbstractModel {
@@ -120872,7 +120872,7 @@ class AIScheduleUserIdentity extends AbstractModel {
120872
120872
  this.AppId = null;
120873
120873
 
120874
120874
  /**
120875
- * <p>Account Uin</p>
120875
+ * <p>Account UIN.</p>
120876
120876
  * @type {string || null}
120877
120877
  */
120878
120878
  this.Uin = null;
@@ -120902,7 +120902,7 @@ class AIScheduleUserIdentity extends AbstractModel {
120902
120902
  this.ChatId = null;
120903
120903
 
120904
120904
  /**
120905
- * <p>Channel identifier, for example, wecom / qq / wx / feishu / dingtalk / cloud</p>
120905
+ * <p>Channel identifier, such as wecom / qq / wx / feishu / dingtalk / cloud</p>
120906
120906
  * @type {string || null}
120907
120907
  */
120908
120908
  this.Channel = null;
@@ -1,3 +1,3 @@
1
1
  module.exports = {
2
- v20210527: require("./v20210527"), v20191016: require("./v20191016"),
2
+ v20191016: require("./v20191016"), v20210527: require("./v20210527"),
3
3
  };
@@ -6696,8 +6696,8 @@ class WebVerificationConfigIntl extends AbstractModel {
6696
6696
  /**
6697
6697
  * When CheckMode = 1, this defines the waiting policy for OCR recognition results.
6698
6698
  Enumeration values:
6699
- required: Wait for OCR result after document capture.
6700
- skip: Wait for OCR result confirmation before entering liveness check.
6699
+ required: Proceed to liveness check only after OCR result confirmation.
6700
+ skip: Enter liveness check immediately after card photo submission.
6701
6701
  Default value: required.
6702
6702
  * @type {string || null}
6703
6703
  */
@@ -1,3 +1,3 @@
1
1
  module.exports = {
2
- v20181225: require("./v20181225"), v20210331: require("./v20210331"),
2
+ v20210331: require("./v20210331"), v20181225: require("./v20181225"),
3
3
  };
@@ -1,3 +1,3 @@
1
1
  module.exports = {
2
- v20201103: require("./v20201103"), v20260130: require("./v20260130"),
2
+ v20260130: require("./v20260130"), v20201103: require("./v20201103"),
3
3
  };
@@ -357,6 +357,60 @@ class AssumeRoleResponse extends AbstractModel {
357
357
  }
358
358
  }
359
359
 
360
+ /**
361
+ * GetSessionToken response structure.
362
+ * @class
363
+ */
364
+ class GetSessionTokenResponse extends AbstractModel {
365
+ constructor(){
366
+ super();
367
+
368
+ /**
369
+ * Temporary access credentials.
370
+ * @type {Credentials || null}
371
+ */
372
+ this.Credentials = null;
373
+
374
+ /**
375
+ * The time when the certificate is invalid, return Unix timestamp, accurate to second
376
+ * @type {number || null}
377
+ */
378
+ this.ExpiredTime = null;
379
+
380
+ /**
381
+ * Expiration time of the temporary access credential in UTC time in iso 8601 format
382
+ * @type {string || null}
383
+ */
384
+ this.Expiration = null;
385
+
386
+ /**
387
+ * 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.
388
+ * @type {string || null}
389
+ */
390
+ this.RequestId = null;
391
+
392
+ }
393
+
394
+ /**
395
+ * @private
396
+ */
397
+ deserialize(params) {
398
+ if (!params) {
399
+ return;
400
+ }
401
+
402
+ if (params.Credentials) {
403
+ let obj = new Credentials();
404
+ obj.deserialize(params.Credentials)
405
+ this.Credentials = obj;
406
+ }
407
+ this.ExpiredTime = 'ExpiredTime' in params ? params.ExpiredTime : null;
408
+ this.Expiration = 'Expiration' in params ? params.Expiration : null;
409
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
410
+
411
+ }
412
+ }
413
+
360
414
  /**
361
415
  * GetFederationToken request structure.
362
416
  * @class
@@ -438,6 +492,48 @@ class Tag extends AbstractModel {
438
492
  }
439
493
  }
440
494
 
495
+ /**
496
+ * GetSessionToken request structure.
497
+ * @class
498
+ */
499
+ class GetSessionTokenRequest extends AbstractModel {
500
+ constructor(){
501
+ super();
502
+
503
+ /**
504
+ * MFA serial number, the identifier of the MFA device associated with the CAM user making the call. Format: qcs::CAM:uin/${ownerUin}::MFA/${mfaType}. mfaType supports softToken.
505
+ * @type {string || null}
506
+ */
507
+ this.SerialNumber = null;
508
+
509
+ /**
510
+ * mfa identity verification code.
511
+ * @type {string || null}
512
+ */
513
+ this.TokenCode = null;
514
+
515
+ /**
516
+ * Validity period of the specified temporary certificate. Unit: second. Default value: 1800 seconds. The root account can set a validity period of up to 7200 seconds, and a sub-account can set a validity period of up to 129600 seconds.
517
+ * @type {number || null}
518
+ */
519
+ this.DurationSeconds = null;
520
+
521
+ }
522
+
523
+ /**
524
+ * @private
525
+ */
526
+ deserialize(params) {
527
+ if (!params) {
528
+ return;
529
+ }
530
+ this.SerialNumber = 'SerialNumber' in params ? params.SerialNumber : null;
531
+ this.TokenCode = 'TokenCode' in params ? params.TokenCode : null;
532
+ this.DurationSeconds = 'DurationSeconds' in params ? params.DurationSeconds : null;
533
+
534
+ }
535
+ }
536
+
441
537
  /**
442
538
  * Temporary credentials
443
539
  * @class
@@ -668,8 +764,10 @@ module.exports = {
668
764
  AssumeRoleWithWebIdentityResponse: AssumeRoleWithWebIdentityResponse,
669
765
  GetFederationTokenResponse: GetFederationTokenResponse,
670
766
  AssumeRoleResponse: AssumeRoleResponse,
767
+ GetSessionTokenResponse: GetSessionTokenResponse,
671
768
  GetFederationTokenRequest: GetFederationTokenRequest,
672
769
  Tag: Tag,
770
+ GetSessionTokenRequest: GetSessionTokenRequest,
673
771
  Credentials: Credentials,
674
772
  AssumeRoleRequest: AssumeRoleRequest,
675
773
  GetCallerIdentityRequest: GetCallerIdentityRequest,
@@ -22,8 +22,10 @@ const AssumeRoleWithWebIdentityRequest = models.AssumeRoleWithWebIdentityRequest
22
22
  const AssumeRoleWithWebIdentityResponse = models.AssumeRoleWithWebIdentityResponse;
23
23
  const GetFederationTokenResponse = models.GetFederationTokenResponse;
24
24
  const AssumeRoleResponse = models.AssumeRoleResponse;
25
+ const GetSessionTokenResponse = models.GetSessionTokenResponse;
25
26
  const GetFederationTokenRequest = models.GetFederationTokenRequest;
26
27
  const Tag = models.Tag;
28
+ const GetSessionTokenRequest = models.GetSessionTokenRequest;
27
29
  const Credentials = models.Credentials;
28
30
  const AssumeRoleRequest = models.AssumeRoleRequest;
29
31
  const GetCallerIdentityRequest = models.GetCallerIdentityRequest;
@@ -59,19 +61,6 @@ This API is used to implement best practices.
59
61
  this.request("GetFederationToken", req, resp, cb);
60
62
  }
61
63
 
62
- /**
63
- * This API is used to request temporary access credentials for a role based on a SAML assertion.
64
-
65
- Note: When called with signature method v3, header `X-TC-Token` could be ignored, and `Authorization` should be SKIP.
66
- * @param {AssumeRoleWithSAMLRequest} req
67
- * @param {function(string, AssumeRoleWithSAMLResponse):void} cb
68
- * @public
69
- */
70
- AssumeRoleWithSAML(req, cb) {
71
- let resp = new AssumeRoleWithSAMLResponse();
72
- this.request("AssumeRoleWithSAML", req, resp, cb);
73
- }
74
-
75
64
  /**
76
65
  * This API is used to request temporary access credentials for assuming a role.
77
66
 
@@ -96,6 +85,30 @@ This API is used to add a user as a principal in the role trust policy.
96
85
  this.request("AssumeRole", req, resp, cb);
97
86
  }
98
87
 
88
+ /**
89
+ * This API is used to apply for an OIDC role credential.
90
+
91
+ Note: When called with signature method v3, header `X-TC-Token` could be ignored, and `Authorization` should be SKIP.
92
+ * @param {AssumeRoleWithWebIdentityRequest} req
93
+ * @param {function(string, AssumeRoleWithWebIdentityResponse):void} cb
94
+ * @public
95
+ */
96
+ AssumeRoleWithWebIdentity(req, cb) {
97
+ let resp = new AssumeRoleWithWebIdentityResponse();
98
+ this.request("AssumeRoleWithWebIdentity", req, resp, cb);
99
+ }
100
+
101
+ /**
102
+ * Obtain the MFA temporary certificate.
103
+ * @param {GetSessionTokenRequest} req
104
+ * @param {function(string, GetSessionTokenResponse):void} cb
105
+ * @public
106
+ */
107
+ GetSessionToken(req, cb) {
108
+ let resp = new GetSessionTokenResponse();
109
+ this.request("GetSessionToken", req, resp, cb);
110
+ }
111
+
99
112
  /**
100
113
  * This API is used to get the identity information of the current caller.
101
114
 
@@ -110,16 +123,16 @@ This API is used to get the identity information using the persistent keys of th
110
123
  }
111
124
 
112
125
  /**
113
- * This API is used to apply for an OIDC role credential.
126
+ * This API is used to request temporary access credentials for a role based on a SAML assertion.
114
127
 
115
128
  Note: When called with signature method v3, header `X-TC-Token` could be ignored, and `Authorization` should be SKIP.
116
- * @param {AssumeRoleWithWebIdentityRequest} req
117
- * @param {function(string, AssumeRoleWithWebIdentityResponse):void} cb
129
+ * @param {AssumeRoleWithSAMLRequest} req
130
+ * @param {function(string, AssumeRoleWithSAMLResponse):void} cb
118
131
  * @public
119
132
  */
120
- AssumeRoleWithWebIdentity(req, cb) {
121
- let resp = new AssumeRoleWithWebIdentityResponse();
122
- this.request("AssumeRoleWithWebIdentity", req, resp, cb);
133
+ AssumeRoleWithSAML(req, cb) {
134
+ let resp = new AssumeRoleWithSAMLResponse();
135
+ this.request("AssumeRoleWithSAML", req, resp, cb);
123
136
  }
124
137
 
125
138
 
@@ -1,3 +1,3 @@
1
1
  module.exports = {
2
- v20210701: require("./v20210701"), v20201221: require("./v20201221"),
2
+ v20201221: require("./v20201221"), v20210701: require("./v20210701"),
3
3
  };
@@ -1,3 +1,3 @@
1
1
  module.exports = {
2
- v20220106: require("./v20220106"), v20220901: require("./v20220901"),
2
+ v20220901: require("./v20220901"), v20220106: require("./v20220106"),
3
3
  };