tencentcloud-sdk-nodejs-intl-en 3.0.1093 → 3.0.1095

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.1093",
3
+ "version": "3.0.1095",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -135,7 +135,7 @@ const DescribeUsagePlanSecretIdsResponse = models.DescribeUsagePlanSecretIdsResp
135
135
  const CreatePluginRequest = models.CreatePluginRequest;
136
136
  const MicroServiceReq = models.MicroServiceReq;
137
137
  const ModifySubDomainResponse = models.ModifySubDomainResponse;
138
- const DescribeServiceSubDomainMappingsResponse = models.DescribeServiceSubDomainMappingsResponse;
138
+ const DescribeExclusiveInstanceRegionsResponse = models.DescribeExclusiveInstanceRegionsResponse;
139
139
  const BindSecretIdsRequest = models.BindSecretIdsRequest;
140
140
  const UnBindEnvironmentResponse = models.UnBindEnvironmentResponse;
141
141
  const ModifyUpstreamResultInfo = models.ModifyUpstreamResultInfo;
@@ -185,8 +185,9 @@ const BindSecretIdsResponse = models.BindSecretIdsResponse;
185
185
  const CreateApiRsp = models.CreateApiRsp;
186
186
  const UsagePlanBindEnvironment = models.UsagePlanBindEnvironment;
187
187
  const DeleteApiRequest = models.DeleteApiRequest;
188
- const DescribeServiceSubDomainMappingsRequest = models.DescribeServiceSubDomainMappingsRequest;
188
+ const DescribeExclusiveInstanceRegionsRequest = models.DescribeExclusiveInstanceRegionsRequest;
189
189
  const DescribeApiAppResponse = models.DescribeApiAppResponse;
190
+ const DescribeServiceSubDomainMappingsResponse = models.DescribeServiceSubDomainMappingsResponse;
190
191
  const OauthConfig = models.OauthConfig;
191
192
  const DescribeApiAppsStatusResponse = models.DescribeApiAppsStatusResponse;
192
193
  const ServiceSubDomainMappings = models.ServiceSubDomainMappings;
@@ -208,7 +209,7 @@ const ResetAPIDocPasswordRequest = models.ResetAPIDocPasswordRequest;
208
209
  const ApiUsagePlan = models.ApiUsagePlan;
209
210
  const IPStrategyApi = models.IPStrategyApi;
210
211
  const DescribeAPIDocsResponse = models.DescribeAPIDocsResponse;
211
- const DetachPluginResponse = models.DetachPluginResponse;
212
+ const DescribeServiceSubDomainMappingsRequest = models.DescribeServiceSubDomainMappingsRequest;
212
213
  const DeletePluginResponse = models.DeletePluginResponse;
213
214
  const DescribeUpstreamBindApis = models.DescribeUpstreamBindApis;
214
215
  const ModifyServiceEnvironmentStrategyRequest = models.ModifyServiceEnvironmentStrategyRequest;
@@ -268,6 +269,7 @@ const DescribeApiKeysStatusResponse = models.DescribeApiKeysStatusResponse;
268
269
  const UsagePlanStatusInfo = models.UsagePlanStatusInfo;
269
270
  const DescribeLogSearchRequest = models.DescribeLogSearchRequest;
270
271
  const BuildAPIDocRequest = models.BuildAPIDocRequest;
272
+ const DetachPluginResponse = models.DetachPluginResponse;
271
273
  const ApiKeysStatus = models.ApiKeysStatus;
272
274
  const APIDoc = models.APIDoc;
273
275
  const DescribeServiceUsagePlanResponse = models.DescribeServiceUsagePlanResponse;
@@ -446,15 +448,15 @@ In API Gateway, a usage plan can be bound to multiple key pairs. You can use thi
446
448
  }
447
449
 
448
450
  /**
449
- * This API is used to query the path mappings of a custom domain name.
450
- In API Gateway, you can bind a custom domain name to a service and map its paths. You can customize different path mappings to up to 3 environments under the service. This API is used to query the list of path mappings of a custom domain name bound to a service.
451
- * @param {DescribeServiceSubDomainMappingsRequest} req
452
- * @param {function(string, DescribeServiceSubDomainMappingsResponse):void} cb
451
+ * This API is used to create a usage plan.
452
+ To use API Gateway, you need to create a usage plan and bind it to a service environment.
453
+ * @param {CreateUsagePlanRequest} req
454
+ * @param {function(string, CreateUsagePlanResponse):void} cb
453
455
  * @public
454
456
  */
455
- DescribeServiceSubDomainMappings(req, cb) {
456
- let resp = new DescribeServiceSubDomainMappingsResponse();
457
- this.request("DescribeServiceSubDomainMappings", req, resp, cb);
457
+ CreateUsagePlan(req, cb) {
458
+ let resp = new CreateUsagePlanResponse();
459
+ this.request("CreateUsagePlan", req, resp, cb);
458
460
  }
459
461
 
460
462
  /**
@@ -858,6 +860,18 @@ A service is generally published on several versions. This API can be used to qu
858
860
  this.request("CreateApi", req, resp, cb);
859
861
  }
860
862
 
863
+ /**
864
+ * This API is used to query the path mappings of a custom domain name.
865
+ In API Gateway, you can bind a custom domain name to a service and map its paths. You can customize different path mappings to up to 3 environments under the service. This API is used to query the list of path mappings of a custom domain name bound to a service.
866
+ * @param {DescribeServiceSubDomainMappingsRequest} req
867
+ * @param {function(string, DescribeServiceSubDomainMappingsResponse):void} cb
868
+ * @public
869
+ */
870
+ DescribeServiceSubDomainMappings(req, cb) {
871
+ let resp = new DescribeServiceSubDomainMappingsResponse();
872
+ this.request("DescribeServiceSubDomainMappings", req, resp, cb);
873
+ }
874
+
861
875
  /**
862
876
  * This API is used to bind a plugin to an API.
863
877
  * @param {AttachPluginRequest} req
@@ -1200,15 +1214,14 @@ To make authentication and throttling for a service take effect, you need to bin
1200
1214
  }
1201
1215
 
1202
1216
  /**
1203
- * This API is used to create a usage plan.
1204
- To use API Gateway, you need to create a usage plan and bind it to a service environment.
1205
- * @param {CreateUsagePlanRequest} req
1206
- * @param {function(string, CreateUsagePlanResponse):void} cb
1217
+ * Get the list of supported regions for dedicated instances
1218
+ * @param {DescribeExclusiveInstanceRegionsRequest} req
1219
+ * @param {function(string, DescribeExclusiveInstanceRegionsResponse):void} cb
1207
1220
  * @public
1208
1221
  */
1209
- CreateUsagePlan(req, cb) {
1210
- let resp = new CreateUsagePlanResponse();
1211
- this.request("CreateUsagePlan", req, resp, cb);
1222
+ DescribeExclusiveInstanceRegions(req, cb) {
1223
+ let resp = new DescribeExclusiveInstanceRegionsResponse();
1224
+ this.request("DescribeExclusiveInstanceRegions", req, resp, cb);
1212
1225
  }
1213
1226
 
1214
1227
  /**
@@ -6672,19 +6672,13 @@ class ModifySubDomainResponse extends AbstractModel {
6672
6672
  }
6673
6673
 
6674
6674
  /**
6675
- * DescribeServiceSubDomainMappings response structure.
6675
+ * DescribeExclusiveInstanceRegions response structure.
6676
6676
  * @class
6677
6677
  */
6678
- class DescribeServiceSubDomainMappingsResponse extends AbstractModel {
6678
+ class DescribeExclusiveInstanceRegionsResponse extends AbstractModel {
6679
6679
  constructor(){
6680
6680
  super();
6681
6681
 
6682
- /**
6683
- * Custom path mapping list.
6684
- * @type {ServiceSubDomainMappings || null}
6685
- */
6686
- this.Result = null;
6687
-
6688
6682
  /**
6689
6683
  * 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.
6690
6684
  * @type {string || null}
@@ -6700,12 +6694,6 @@ class DescribeServiceSubDomainMappingsResponse extends AbstractModel {
6700
6694
  if (!params) {
6701
6695
  return;
6702
6696
  }
6703
-
6704
- if (params.Result) {
6705
- let obj = new ServiceSubDomainMappings();
6706
- obj.deserialize(params.Result)
6707
- this.Result = obj;
6708
- }
6709
6697
  this.RequestId = 'RequestId' in params ? params.RequestId : null;
6710
6698
 
6711
6699
  }
@@ -10107,24 +10095,46 @@ class DeleteApiRequest extends AbstractModel {
10107
10095
  }
10108
10096
 
10109
10097
  /**
10110
- * DescribeServiceSubDomainMappings request structure.
10098
+ * DescribeExclusiveInstanceRegions request structure.
10111
10099
  * @class
10112
10100
  */
10113
- class DescribeServiceSubDomainMappingsRequest extends AbstractModel {
10101
+ class DescribeExclusiveInstanceRegionsRequest extends AbstractModel {
10102
+ constructor(){
10103
+ super();
10104
+
10105
+ }
10106
+
10107
+ /**
10108
+ * @private
10109
+ */
10110
+ deserialize(params) {
10111
+ if (!params) {
10112
+ return;
10113
+ }
10114
+
10115
+ }
10116
+ }
10117
+
10118
+ /**
10119
+ * DescribeApiApp response structure.
10120
+ * @class
10121
+ */
10122
+ class DescribeApiAppResponse extends AbstractModel {
10114
10123
  constructor(){
10115
10124
  super();
10116
10125
 
10117
10126
  /**
10118
- * Unique service ID.
10119
- * @type {string || null}
10127
+ * Application details.
10128
+ Note: this field may return null, indicating that no valid values can be obtained.
10129
+ * @type {ApiAppInfos || null}
10120
10130
  */
10121
- this.ServiceId = null;
10131
+ this.Result = null;
10122
10132
 
10123
10133
  /**
10124
- * Custom domain name bound to service.
10134
+ * 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.
10125
10135
  * @type {string || null}
10126
10136
  */
10127
- this.SubDomain = null;
10137
+ this.RequestId = null;
10128
10138
 
10129
10139
  }
10130
10140
 
@@ -10135,24 +10145,28 @@ class DescribeServiceSubDomainMappingsRequest extends AbstractModel {
10135
10145
  if (!params) {
10136
10146
  return;
10137
10147
  }
10138
- this.ServiceId = 'ServiceId' in params ? params.ServiceId : null;
10139
- this.SubDomain = 'SubDomain' in params ? params.SubDomain : null;
10148
+
10149
+ if (params.Result) {
10150
+ let obj = new ApiAppInfos();
10151
+ obj.deserialize(params.Result)
10152
+ this.Result = obj;
10153
+ }
10154
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
10140
10155
 
10141
10156
  }
10142
10157
  }
10143
10158
 
10144
10159
  /**
10145
- * DescribeApiApp response structure.
10160
+ * DescribeServiceSubDomainMappings response structure.
10146
10161
  * @class
10147
10162
  */
10148
- class DescribeApiAppResponse extends AbstractModel {
10163
+ class DescribeServiceSubDomainMappingsResponse extends AbstractModel {
10149
10164
  constructor(){
10150
10165
  super();
10151
10166
 
10152
10167
  /**
10153
- * Application details.
10154
- Note: this field may return null, indicating that no valid values can be obtained.
10155
- * @type {ApiAppInfos || null}
10168
+ * Custom path mapping list.
10169
+ * @type {ServiceSubDomainMappings || null}
10156
10170
  */
10157
10171
  this.Result = null;
10158
10172
 
@@ -10173,7 +10187,7 @@ Note: this field may return null, indicating that no valid values can be obtaine
10173
10187
  }
10174
10188
 
10175
10189
  if (params.Result) {
10176
- let obj = new ApiAppInfos();
10190
+ let obj = new ServiceSubDomainMappings();
10177
10191
  obj.deserialize(params.Result)
10178
10192
  this.Result = obj;
10179
10193
  }
@@ -11231,24 +11245,24 @@ class DescribeAPIDocsResponse extends AbstractModel {
11231
11245
  }
11232
11246
 
11233
11247
  /**
11234
- * DetachPlugin response structure.
11248
+ * DescribeServiceSubDomainMappings request structure.
11235
11249
  * @class
11236
11250
  */
11237
- class DetachPluginResponse extends AbstractModel {
11251
+ class DescribeServiceSubDomainMappingsRequest extends AbstractModel {
11238
11252
  constructor(){
11239
11253
  super();
11240
11254
 
11241
11255
  /**
11242
- * Whether unbinding succeeded.
11243
- * @type {boolean || null}
11256
+ * Unique service ID.
11257
+ * @type {string || null}
11244
11258
  */
11245
- this.Result = null;
11259
+ this.ServiceId = null;
11246
11260
 
11247
11261
  /**
11248
- * 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.
11262
+ * Custom domain name bound to service.
11249
11263
  * @type {string || null}
11250
11264
  */
11251
- this.RequestId = null;
11265
+ this.SubDomain = null;
11252
11266
 
11253
11267
  }
11254
11268
 
@@ -11259,8 +11273,8 @@ class DetachPluginResponse extends AbstractModel {
11259
11273
  if (!params) {
11260
11274
  return;
11261
11275
  }
11262
- this.Result = 'Result' in params ? params.Result : null;
11263
- this.RequestId = 'RequestId' in params ? params.RequestId : null;
11276
+ this.ServiceId = 'ServiceId' in params ? params.ServiceId : null;
11277
+ this.SubDomain = 'SubDomain' in params ? params.SubDomain : null;
11264
11278
 
11265
11279
  }
11266
11280
  }
@@ -14509,6 +14523,41 @@ class BuildAPIDocRequest extends AbstractModel {
14509
14523
  }
14510
14524
  }
14511
14525
 
14526
+ /**
14527
+ * DetachPlugin response structure.
14528
+ * @class
14529
+ */
14530
+ class DetachPluginResponse extends AbstractModel {
14531
+ constructor(){
14532
+ super();
14533
+
14534
+ /**
14535
+ * Whether unbinding succeeded.
14536
+ * @type {boolean || null}
14537
+ */
14538
+ this.Result = null;
14539
+
14540
+ /**
14541
+ * 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.
14542
+ * @type {string || null}
14543
+ */
14544
+ this.RequestId = null;
14545
+
14546
+ }
14547
+
14548
+ /**
14549
+ * @private
14550
+ */
14551
+ deserialize(params) {
14552
+ if (!params) {
14553
+ return;
14554
+ }
14555
+ this.Result = 'Result' in params ? params.Result : null;
14556
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
14557
+
14558
+ }
14559
+ }
14560
+
14512
14561
  /**
14513
14562
  * Key list
14514
14563
  * @class
@@ -15555,7 +15604,7 @@ module.exports = {
15555
15604
  CreatePluginRequest: CreatePluginRequest,
15556
15605
  MicroServiceReq: MicroServiceReq,
15557
15606
  ModifySubDomainResponse: ModifySubDomainResponse,
15558
- DescribeServiceSubDomainMappingsResponse: DescribeServiceSubDomainMappingsResponse,
15607
+ DescribeExclusiveInstanceRegionsResponse: DescribeExclusiveInstanceRegionsResponse,
15559
15608
  BindSecretIdsRequest: BindSecretIdsRequest,
15560
15609
  UnBindEnvironmentResponse: UnBindEnvironmentResponse,
15561
15610
  ModifyUpstreamResultInfo: ModifyUpstreamResultInfo,
@@ -15605,8 +15654,9 @@ module.exports = {
15605
15654
  CreateApiRsp: CreateApiRsp,
15606
15655
  UsagePlanBindEnvironment: UsagePlanBindEnvironment,
15607
15656
  DeleteApiRequest: DeleteApiRequest,
15608
- DescribeServiceSubDomainMappingsRequest: DescribeServiceSubDomainMappingsRequest,
15657
+ DescribeExclusiveInstanceRegionsRequest: DescribeExclusiveInstanceRegionsRequest,
15609
15658
  DescribeApiAppResponse: DescribeApiAppResponse,
15659
+ DescribeServiceSubDomainMappingsResponse: DescribeServiceSubDomainMappingsResponse,
15610
15660
  OauthConfig: OauthConfig,
15611
15661
  DescribeApiAppsStatusResponse: DescribeApiAppsStatusResponse,
15612
15662
  ServiceSubDomainMappings: ServiceSubDomainMappings,
@@ -15628,7 +15678,7 @@ module.exports = {
15628
15678
  ApiUsagePlan: ApiUsagePlan,
15629
15679
  IPStrategyApi: IPStrategyApi,
15630
15680
  DescribeAPIDocsResponse: DescribeAPIDocsResponse,
15631
- DetachPluginResponse: DetachPluginResponse,
15681
+ DescribeServiceSubDomainMappingsRequest: DescribeServiceSubDomainMappingsRequest,
15632
15682
  DeletePluginResponse: DeletePluginResponse,
15633
15683
  DescribeUpstreamBindApis: DescribeUpstreamBindApis,
15634
15684
  ModifyServiceEnvironmentStrategyRequest: ModifyServiceEnvironmentStrategyRequest,
@@ -15688,6 +15738,7 @@ module.exports = {
15688
15738
  UsagePlanStatusInfo: UsagePlanStatusInfo,
15689
15739
  DescribeLogSearchRequest: DescribeLogSearchRequest,
15690
15740
  BuildAPIDocRequest: BuildAPIDocRequest,
15741
+ DetachPluginResponse: DetachPluginResponse,
15691
15742
  ApiKeysStatus: ApiKeysStatus,
15692
15743
  APIDoc: APIDoc,
15693
15744
  DescribeServiceUsagePlanResponse: DescribeServiceUsagePlanResponse,
@@ -1,2 +1,2 @@
1
- const sdkVersion = "3.0.1093";
1
+ const sdkVersion = "3.0.1095";
2
2
  module.exports = sdkVersion
@@ -165,7 +165,7 @@ The image and the data generated with the SDK must be stored in COS, and the reg
165
165
  }
166
166
 
167
167
  /**
168
- * This API is used to generate an appropriate light sequence based on the information collected by the liveness comparison (reflection-based) SDK and pass the light sequence into the SDK to start the identity verification process.
168
+ * This API is used to generate an appropriate light sequence based on the information collected by the liveness comparison (reflection-based) SDK and pass the light sequence into the SDK to start the eKYC process.
169
169
  The data generated with the SDK must be stored in COS, and the region of the COS bucket must be same as that of requests made with this API. We recommend that you pass resources with upload link APIs.
170
170
  * @param {GenerateReflectSequenceRequest} req
171
171
  * @param {function(string, GenerateReflectSequenceResponse):void} cb
@@ -233,7 +233,7 @@ The data generated with the SDK must be stored in COS, and the region of the COS
233
233
  }
234
234
 
235
235
  /**
236
- * This API is used to apply for an SDK token before calling the liveness detection and face comparison SDK each time. The SDK token is used throughout the identity verification process and to get the verification result after the verification is completed. A token is valid for one identity verification process only.
236
+ * This API is used to apply for an SDK token before calling the selfie verification SDK each time. The SDK token is used throughout the eKYC process and to get the verification result after the verification is completed. A token is valid for one eKYC process only.
237
237
  * @param {GetFaceIdTokenIntlRequest} req
238
238
  * @param {function(string, GetFaceIdTokenIntlResponse):void} cb
239
239
  * @public
@@ -278,7 +278,7 @@ The data will be stored in a COS bucket in the region specified by the parameter
278
278
  }
279
279
 
280
280
  /**
281
- * This API is used to apply for a token before calling the Identity Verification SDK service each time. This token is required for initiating the verification process and getting the result after the verification is completed.
281
+ * This API is used to apply for a token before calling the eKYC SDK service each time. This token is required for initiating the verification process and getting the result after the verification is completed.
282
282
  * @param {ApplySdkVerificationTokenRequest} req
283
283
  * @param {function(string, ApplySdkVerificationTokenResponse):void} cb
284
284
  * @public
@@ -789,7 +789,7 @@ class GetFaceIdTokenIntlRequest extends AbstractModel {
789
789
  /**
790
790
  * The detection mode. Valid values:
791
791
  `liveness`: Liveness detection only.
792
- `compare`: Liveness detection and face comparison.
792
+ `compare`: Selfie verification.
793
793
  Default value: `liveness`.
794
794
  * @type {string || null}
795
795
  */
@@ -1317,7 +1317,7 @@ class GetWebVerificationResultIntlResponse extends AbstractModel {
1317
1317
 
1318
1318
  /**
1319
1319
  * The final result of this verification. `0` indicates that the person is the same as that in the photo.
1320
- For other error codes, see <a href="https://www.tencentcloud.com/document/product/1061/55390?lang=en&pg=#8a960e1e-39c0-42cb-b181-b3164d77f81e">Liveness Detection and Face Comparison (Mobile HTML5) Error Codes</a>
1320
+ For other error codes, see <a href="https://www.tencentcloud.com/document/product/1061/55390?lang=en&pg=#8a960e1e-39c0-42cb-b181-b3164d77f81e">Selfie Verification (Mobile HTML5) Error Codes</a>
1321
1321
  Note: This field may return null, indicating that no valid values can be obtained.
1322
1322
  * @type {number || null}
1323
1323
  */
@@ -1795,7 +1795,7 @@ class GetFaceIdResultIntlRequest extends AbstractModel {
1795
1795
  super();
1796
1796
 
1797
1797
  /**
1798
- * The ID of the SDK-based liveness detection and face comparison process, which is generated when the `GetFaceIdTokenIntl` API is called.
1798
+ * The ID of the SDK-based selfie verification process, which is generated when the `GetFaceIdTokenIntl` API is called.
1799
1799
  * @type {string || null}
1800
1800
  */
1801
1801
  this.SdkToken = null;
@@ -2081,7 +2081,7 @@ class GetFaceIdResultIntlResponse extends AbstractModel {
2081
2081
  * The return code of the verification result.
2082
2082
  0: Succeeded.
2083
2083
  1001: System error.
2084
- 1004: Liveness detection and face comparison failed.
2084
+ 1004: Selfie verification comparison failed.
2085
2085
  2004: The image passed in is too large or too small.
2086
2086
  2012: Several faces were detected.
2087
2087
  2013: No face was detected, or the face detected was incomplete.
@@ -2112,7 +2112,7 @@ class GetFaceIdResultIntlResponse extends AbstractModel {
2112
2112
  this.Video = null;
2113
2113
 
2114
2114
  /**
2115
- * The similarity, with a value range of 0-100. A greater value indicates higher similarity. This parameter is returned only in the `compare` (liveness detection and face comparison) mode.
2115
+ * The similarity, with a value range of 0-100. A greater value indicates higher similarity. This parameter is returned only in the `compare` (selfie verification) mode.
2116
2116
  Note: This field may return `null`, indicating that no valid values can be obtained.
2117
2117
  * @type {number || null}
2118
2118
  */
@@ -4115,29 +4115,31 @@ class CompareFaceLivenessResponse extends AbstractModel {
4115
4115
  super();
4116
4116
 
4117
4117
  /**
4118
- * Service error code. When the return value is "Success", it indicates that the liveness detection and face comparison succeeded. It is determined that they are the same person. When the return value is "FailedOperation.CompareLowSimilarity", it indicates that the liveness detection succeeded, and the face comparison similarity is lower than 70 points. It is determined that they are not the same person. For other error cases, please refer to Liveness Face Comparison (Pure API) Error Code (https://www.tencentcloud.com/document/product/1061/55390).
4119
- Example Value: "Success".
4118
+ * Business Error Codes.
4119
+ -When the return value is "Success", it indicates that liveness detection and face comparison passed. Determined to be the same person.
4120
+ -When the return value is "FailedOperation.CompareLowSimilarity", it indicates that liveness detection passed, but face comparison similarity is below 70. Determined not to be the same person.
4121
+ -For other error cases, please refer to [Liveness Face Comparison (API only) Error Codes](https://www.tencentcloud.com/zh/document/product/1061/55390?lang=zh&pg=#97df7537-87fe-4266-87e9-02c816d41ee2)
4120
4122
  * @type {string || null}
4121
4123
  */
4122
4124
  this.Result = null;
4123
4125
 
4124
4126
  /**
4125
- * Description of business results.
4126
- Example value: "Success"
4127
+ * The service result description
4127
4128
  * @type {string || null}
4128
4129
  */
4129
4130
  this.Description = null;
4130
4131
 
4131
4132
  /**
4132
- * This value is valid when the "Result" parameter is "Success" or "FailedOperation.CompareLowSimilarity."
4133
- This value indicates the similarity of face comparison. Value range: [0.00, 100.00]. The false pass rate for threshold 70 is 1 in 1,000, and the false pass rate for threshold 80 is 1 in 10,000.
4134
- Example value: 80.00
4133
+ * This value indicates the similarity of face comparison. Value range: 0.00-100.00.
4134
+ - The false acceptance rate for a threshold of 70 is 0.1%, and for a threshold of 80, it is 0.01%.
4135
+ - This value is valid when the Result parameter is "Success" or "FailedOperation.CompareLowSimilarity".
4135
4136
  * @type {number || null}
4136
4137
  */
4137
4138
  this.Sim = null;
4138
4139
 
4139
4140
  /**
4140
- * The optimal screenshot of the video after verification is the value encoded by BASE64, jpg format.
4141
+ * The best screenshot photo from the video after verification, encoded in BASE64, in jpg format.
4142
+ The optimal screenshot of the video after verification is the value encoded by BASE64, jpg format.
4141
4143
  Note: This field may return "null", indicating that no valid value can be obtained.
4142
4144
  Example values: "/9j/4AAQSk... (total length:142036)s97n//2Q=="
4143
4145
  * @type {string || null}
@@ -4624,43 +4626,37 @@ class CompareFaceLivenessRequest extends AbstractModel {
4624
4626
  super();
4625
4627
 
4626
4628
  /**
4627
- * Base64 value of photos used for face comparison.
4628
- The size of image data encoded by Base64 shall not exceed 3M, only jpg and png are supported.
4629
- Please use standard Base64 encoding (use = for padding). Refer to RFC4648 for encoding specifications.
4630
- Example values: "/9j/4AAQSk... (total length:61944)KiiK//2Q=="
4629
+ * Base64 string of the image for face comparison.
4630
+ - The size of the Base64-encoded image data can be up to 3 MB. JPG and PNG formats are supported.
4631
+ - Please use the standard Base64 encoding method (with = padding). Refer to RFC4648 for the encoding specification.
4631
4632
  * @type {string || null}
4632
4633
  */
4633
4634
  this.ImageBase64 = null;
4634
4635
 
4635
4636
  /**
4636
- * Base64 value of videos used for face comparison.
4637
- The size of videos data encoded by Base64 shall not exceed 8M, only mp4,avi,flv are supported.
4638
- Please use standard Base64 encoding (use = for padding). Refer to RFC4648 for encoding specifications.
4639
- Example values: "/9j/4AAQSk... (total length:61944)KiiK//2Q=="
4637
+ * Base64 string of the video for liveness detection.
4638
+ - The size of the Base64-encoded video data can be up to 8 MB. MP4, AVI, and FLV formats are supported.
4639
+ -Use standard Base64 encoding (with = padding), following RFC4648.
4640
4640
  * @type {string || null}
4641
4641
  */
4642
4642
  this.VideoBase64 = null;
4643
4643
 
4644
4644
  /**
4645
- * The liveness detection type. Valid values: `ACTION`, and `SILENT`.
4646
- `ACTION`: Motion mode; `SILENT`: silent mode. Select one of them.
4647
- Example value: "SILENT"
4645
+ * Liveness detection type.
4646
+ -Values:
4647
+ ACTION is action mode.
4648
+ SILENT is silent mode.
4649
+ -Choose one of the two modes to pass in.
4648
4650
  * @type {string || null}
4649
4651
  */
4650
4652
  this.LivenessType = null;
4651
4653
 
4652
4654
  /**
4653
- * When the "LivenessType" parameter is "ACTION", it must be specified.
4654
- It is used to control the action sequence. Action types:
4655
- 1 (open mouth)
4656
- 2 (blink)
4657
- 3 (nod)
4658
- 4 (shake head).
4659
- Select one or two from the four actions.
4660
- Example of passing single action parameter: "1".
4661
- Example of passing multiple action parameters: "4,2".
4662
- When the "LivenessType" parameter value is "SILENT", it shall be unspecified.
4663
- Example value: ""
4655
+ * Control the action sequence. Action types include: 1 (open mouth), 2 (blink), 3 (nod), 4 (shake head). Supports one or two actions.
4656
+ -Required when the LivenessType parameter is set to ACTION.
4657
+ -Single action example: "1".
4658
+ -Multiple actions parameter passing example: "4,2".
4659
+ -When the LivenessType parameter is set to SILENT, leave it blank.
4664
4660
  * @type {string || null}
4665
4661
  */
4666
4662
  this.ValidateData = null;
@@ -5155,7 +5151,7 @@ class GenerateReflectSequenceResponse extends AbstractModel {
5155
5151
  super();
5156
5152
 
5157
5153
  /**
5158
- * The resource URL of the light sequence, which needs to be downloaded and passed through to the SDK to start the identity verification process.
5154
+ * The resource URL of the light sequence, which needs to be downloaded and passed through to the SDK to start the eKYC process.
5159
5155
  * @type {string || null}
5160
5156
  */
5161
5157
  this.ReflectSequenceUrl = null;
@@ -5047,6 +5047,12 @@ class DeleteCertificateResponse extends AbstractModel {
5047
5047
  */
5048
5048
  this.DeleteResult = null;
5049
5049
 
5050
+ /**
5051
+ *
5052
+ * @type {string || null}
5053
+ */
5054
+ this.TaskId = null;
5055
+
5050
5056
  /**
5051
5057
  * 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.
5052
5058
  * @type {string || null}
@@ -5063,6 +5069,7 @@ class DeleteCertificateResponse extends AbstractModel {
5063
5069
  return;
5064
5070
  }
5065
5071
  this.DeleteResult = 'DeleteResult' in params ? params.DeleteResult : null;
5072
+ this.TaskId = 'TaskId' in params ? params.TaskId : null;
5066
5073
  this.RequestId = 'RequestId' in params ? params.RequestId : null;
5067
5074
 
5068
5075
  }
@@ -6074,6 +6081,12 @@ class DeleteCertificateRequest extends AbstractModel {
6074
6081
  */
6075
6082
  this.CertificateId = null;
6076
6083
 
6084
+ /**
6085
+ *
6086
+ * @type {boolean || null}
6087
+ */
6088
+ this.IsCheckResource = null;
6089
+
6077
6090
  }
6078
6091
 
6079
6092
  /**
@@ -6084,6 +6097,7 @@ class DeleteCertificateRequest extends AbstractModel {
6084
6097
  return;
6085
6098
  }
6086
6099
  this.CertificateId = 'CertificateId' in params ? params.CertificateId : null;
6100
+ this.IsCheckResource = 'IsCheckResource' in params ? params.IsCheckResource : null;
6087
6101
 
6088
6102
  }
6089
6103
  }