tencentcloud-sdk-nodejs 4.0.380 → 4.0.381

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.
Files changed (30) hide show
  1. package/CHANGELOG.md +134 -0
  2. package/SERVICE_CHANGELOG.md +176 -100
  3. package/package.json +1 -1
  4. package/products.md +8 -8
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/antiddos/v20200309/antiddos_models.ts +5 -0
  7. package/src/services/cwp/v20180228/cwp_models.ts +12 -0
  8. package/src/services/faceid/v20180301/faceid_client.ts +3 -16
  9. package/src/services/faceid/v20180301/faceid_models.ts +59 -103
  10. package/src/services/monitor/v20180724/monitor_models.ts +27 -12
  11. package/src/services/ocr/v20181119/ocr_client.ts +0 -1
  12. package/src/services/redis/v20180412/redis_models.ts +15 -0
  13. package/src/services/trtc/v20190722/trtc_client.ts +130 -142
  14. package/src/services/trtc/v20190722/trtc_models.ts +0 -63
  15. package/tencentcloud/common/sdk_version.d.ts +1 -1
  16. package/tencentcloud/common/sdk_version.js +1 -1
  17. package/tencentcloud/services/antiddos/v20200309/antiddos_models.d.ts +4 -0
  18. package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +10 -0
  19. package/tencentcloud/services/faceid/v20180301/faceid_client.d.ts +1 -6
  20. package/tencentcloud/services/faceid/v20180301/faceid_client.js +0 -7
  21. package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +50 -87
  22. package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +22 -10
  23. package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +0 -1
  24. package/tencentcloud/services/ocr/v20181119/ocr_client.js +0 -1
  25. package/tencentcloud/services/redis/v20180412/redis_models.d.ts +12 -0
  26. package/tencentcloud/services/trtc/v20190722/trtc_client.d.ts +55 -59
  27. package/tencentcloud/services/trtc/v20190722/trtc_client.js +75 -81
  28. package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +0 -54
  29. package/test/faceid.v20180301.test.js +0 -10
  30. package/test/trtc.v20190722.test.js +38 -48
@@ -5697,6 +5697,11 @@ export interface L7RuleEntry {
5697
5697
  * 同ruleId
5698
5698
  */
5699
5699
  Id?: string
5700
+
5701
+ /**
5702
+ * 智能cc开关,取值[0(关闭), 1(开启)]
5703
+ */
5704
+ CCAIEnable?: number
5700
5705
  }
5701
5706
 
5702
5707
  /**
@@ -12595,6 +12595,18 @@ export interface MalwareInfo {
12595
12595
  注意:此字段可能返回 null,表示取不到有效值。
12596
12596
  */
12597
12597
  Uuid: string
12598
+
12599
+ /**
12600
+ * 最近修改时间
12601
+ 注意:此字段可能返回 null,表示取不到有效值。
12602
+ */
12603
+ ModifyTime: string
12604
+
12605
+ /**
12606
+ * 最近访问时间
12607
+ 注意:此字段可能返回 null,表示取不到有效值。
12608
+ */
12609
+ StrFileAccessTime: string
12598
12610
  }
12599
12611
 
12600
12612
  /**
@@ -36,17 +36,16 @@ import {
36
36
  CheckIdCardInformationResponse,
37
37
  GetDetectInfoEnhancedResponse,
38
38
  PhoneVerificationRequest,
39
- PhoneVerificationCMCCRequest,
40
39
  GetEidResultRequest,
41
40
  DetectAuthResponse,
42
41
  PhoneVerificationResponse,
43
42
  GetEidTokenRequest,
44
- IdCardOCRVerificationRequest,
43
+ PhoneVerificationCMCCRequest,
45
44
  GetWeChatBillDetailsResponse,
46
45
  CheckPhoneAndNameResponse,
47
46
  BankCard4EVerificationResponse,
48
47
  MobileStatusRequest,
49
- DetectReflectLivenessAndCompareResponse,
48
+ IdCardOCRVerificationRequest,
50
49
  GetRealNameAuthTokenRequest,
51
50
  ParseNfcDataResponse,
52
51
  CheckIdNameDateRequest,
@@ -54,7 +53,7 @@ import {
54
53
  LivenessRecognitionRequest,
55
54
  EidInfo,
56
55
  GetFaceIdTokenResponse,
57
- DetectReflectLivenessAndCompareRequest,
56
+ GetRealNameAuthTokenResponse,
58
57
  PhoneVerificationCMCCResponse,
59
58
  CheckEidTokenStatusResponse,
60
59
  PhoneVerificationCTCCResponse,
@@ -98,7 +97,6 @@ import {
98
97
  DetectDetail,
99
98
  GetFaceIdResultResponse,
100
99
  EncryptedPhoneVerificationRequest,
101
- GetRealNameAuthTokenResponse,
102
100
  GetRealNameAuthResultResponse,
103
101
  EncryptedPhoneVerificationResponse,
104
102
  } from "./faceid_models"
@@ -324,17 +322,6 @@ export class Client extends AbstractClient {
324
322
  return this.request("MinorsVerification", req, cb)
325
323
  }
326
324
 
327
- /**
328
- * 使用活体比对(光线)SDK生成的数据包检测活体,并和传入的图片进行比对。
329
- 图片和SDK生成的数据内容必须存储在腾讯云COS,COS Bucket所在的Region需要和本接口请求的Region保持一致,推荐使用生成上传链接接口来完成资源传递。
330
- */
331
- async DetectReflectLivenessAndCompare(
332
- req: DetectReflectLivenessAndCompareRequest,
333
- cb?: (error: string, rep: DetectReflectLivenessAndCompareResponse) => void
334
- ): Promise<DetectReflectLivenessAndCompareResponse> {
335
- return this.request("DetectReflectLivenessAndCompare", req, cb)
336
- }
337
-
338
325
  /**
339
326
  * 本接口用于校验姓名、身份证号、身份证有效期的真实性和一致性。
340
327
  */
@@ -157,7 +157,7 @@ export interface Encryption {
157
157
  EncryptList: Array<string>
158
158
 
159
159
  /**
160
- * 有加密需求的用户,传入CBC加密的初始向量
160
+ * 有加密需求的用户,传入CBC加密的初始向量(客户自定义字符串,长度16字符)。
161
161
  */
162
162
  Iv: string
163
163
  }
@@ -388,6 +388,16 @@ export interface GetEidTokenConfig {
388
388
  注:使用OCR时仅支持用户修改结果中的姓名
389
389
  */
390
390
  InputType?: string
391
+
392
+ /**
393
+ * 是否使用意愿核身,默认不使用。注意:如开启使用,则计费标签按【意愿核身】计费标签计价;如不开启,则计费标签按【E证通】计费标签计价,价格详见:[价格说明](https://cloud.tencent.com/document/product/1007/56804)。
394
+ */
395
+ UseIntentionVerify?: boolean
396
+
397
+ /**
398
+ * 意愿核身使用的文案,若未使用意愿核身功能,该字段无需传入。默认为空,最长可接受120的字符串长度。
399
+ */
400
+ IntentionVerifyText?: string
391
401
  }
392
402
 
393
403
  /**
@@ -556,31 +566,6 @@ export interface PhoneVerificationRequest {
556
566
  Iv?: string
557
567
  }
558
568
 
559
- /**
560
- * PhoneVerificationCMCC请求参数结构体
561
- */
562
- export interface PhoneVerificationCMCCRequest {
563
- /**
564
- * 身份证号
565
- */
566
- IdCard: string
567
-
568
- /**
569
- * 姓名
570
- */
571
- Name: string
572
-
573
- /**
574
- * 手机号
575
- */
576
- Phone: string
577
-
578
- /**
579
- * 敏感数据加密信息。对传入信息(姓名、身份证号、手机号)有加密需求的用户可使用此参数,详情请点击左侧链接。
580
- */
581
- Encryption?: Encryption
582
- }
583
-
584
569
  /**
585
570
  * GetEidResult请求参数结构体
586
571
  */
@@ -591,7 +576,7 @@ export interface GetEidResultRequest {
591
576
  EidToken: string
592
577
 
593
578
  /**
594
- * 指定拉取的结果信息,取值(0:全部;1:文本类;2:身份证信息;3:最佳截图信息)。
579
+ * 指定拉取的结果信息,取值(0:全部;1:文本类;2:身份证信息;3:最佳截图信息;5:意愿核身相关结果;)。
595
580
  如 13表示拉取文本类、最佳截图信息。
596
581
  默认值:0
597
582
  */
@@ -685,7 +670,7 @@ export interface GetEidTokenRequest {
685
670
  Extra?: string
686
671
 
687
672
  /**
688
- * 小程序模式配置,包括如何传入姓名身份证的配置。
673
+ * 小程序模式配置,包括如何传入姓名身份证的配置,以及是否使用意愿核身。
689
674
  */
690
675
  Config?: GetEidTokenConfig
691
676
 
@@ -701,38 +686,26 @@ export interface GetEidTokenRequest {
701
686
  }
702
687
 
703
688
  /**
704
- * IdCardOCRVerification请求参数结构体
689
+ * PhoneVerificationCMCC请求参数结构体
705
690
  */
706
- export interface IdCardOCRVerificationRequest {
691
+ export interface PhoneVerificationCMCCRequest {
707
692
  /**
708
- * 身份证号
709
- 姓名和身份证号、ImageBase64、ImageUrl三者必须提供其中之一。若都提供了,则按照姓名和身份证号>ImageBase64>ImageUrl的优先级使用参数。
710
- */
711
- IdCard?: string
693
+ * 身份证号
694
+ */
695
+ IdCard: string
712
696
 
713
697
  /**
714
698
  * 姓名
715
699
  */
716
- Name?: string
717
-
718
- /**
719
- * 身份证人像面的 Base64 值
720
- 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
721
- 支持的图片大小:所下载图片经Base64编码后不超过 3M。请使用标准的Base64编码方式(带=补位),编码规范参考RFC4648。
722
- */
723
- ImageBase64?: string
700
+ Name: string
724
701
 
725
702
  /**
726
- * 身份证人像面的 Url 地址
727
- 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
728
- 支持的图片大小:所下载图片经 Base64 编码后不超过 3M。图片下载时间不超过 3 秒。
729
- 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
730
- 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
731
- */
732
- ImageUrl?: string
703
+ * 手机号
704
+ */
705
+ Phone: string
733
706
 
734
707
  /**
735
- * 敏感数据加密信息。对传入信息(姓名、身份证号)有加密需求的用户可使用此参数,详情请点击左侧链接。
708
+ * 敏感数据加密信息。对传入信息(姓名、身份证号、手机号)有加密需求的用户可使用此参数,详情请点击左侧链接。
736
709
  */
737
710
  Encryption?: Encryption
738
711
  }
@@ -846,38 +819,40 @@ export interface MobileStatusRequest {
846
819
  }
847
820
 
848
821
  /**
849
- * DetectReflectLivenessAndCompare返回参数结构体
822
+ * IdCardOCRVerification请求参数结构体
850
823
  */
851
- export interface DetectReflectLivenessAndCompareResponse {
852
- /**
853
- * 验证通过后的视频最佳截图资源临时地址,jpg格式,资源和链接有效期2小时,务必在有效期内下载。
854
- */
855
- BestFrameUrl: string
856
-
824
+ export interface IdCardOCRVerificationRequest {
857
825
  /**
858
- * 验证通过后的视频最佳截图资源MD5(32位,用于校验BestFrame的一致性)。
859
- */
860
- BestFrameMd5: string
826
+ * 身份证号
827
+ 姓名和身份证号、ImageBase64、ImageUrl三者必须提供其中之一。若都提供了,则按照姓名和身份证号>ImageBase64>ImageUrl的优先级使用参数。
828
+ */
829
+ IdCard?: string
861
830
 
862
831
  /**
863
- * 业务错误码,成功情况返回Success,错误情况请参考下方错误码 列表中FailedOperation部分。
832
+ * 姓名
864
833
  */
865
- Result: string
834
+ Name?: string
866
835
 
867
836
  /**
868
- * 业务结果描述。
869
- */
870
- Description: string
837
+ * 身份证人像面的 Base64 值
838
+ 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
839
+ 支持的图片大小:所下载图片经Base64编码后不超过 3M。请使用标准的Base64编码方式(带=补位),编码规范参考RFC4648。
840
+ */
841
+ ImageBase64?: string
871
842
 
872
843
  /**
873
- * 相似度,取值范围 [0.00, 100.00]。推荐相似度大于等于70时可判断为同一人,可根据具体场景自行调整阈值(阈值70的误通过率为千分之一,阈值80的误通过率是万分之一)。
874
- */
875
- Sim: number
844
+ * 身份证人像面的 Url 地址
845
+ 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
846
+ 支持的图片大小:所下载图片经 Base64 编码后不超过 3M。图片下载时间不超过 3 秒。
847
+ 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
848
+ 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
849
+ */
850
+ ImageUrl?: string
876
851
 
877
852
  /**
878
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
853
+ * 敏感数据加密信息。对传入信息(姓名、身份证号)有加密需求的用户可使用此参数,详情请点击左侧链接。
879
854
  */
880
- RequestId?: string
855
+ Encryption?: Encryption
881
856
  }
882
857
 
883
858
  /**
@@ -1179,28 +1154,23 @@ export interface GetFaceIdTokenResponse {
1179
1154
  }
1180
1155
 
1181
1156
  /**
1182
- * DetectReflectLivenessAndCompare请求参数结构体
1157
+ * GetRealNameAuthToken返回参数结构体
1183
1158
  */
1184
- export interface DetectReflectLivenessAndCompareRequest {
1185
- /**
1186
- * SDK生成的活体检测数据包的资源地址。
1187
- */
1188
- LiveDataUrl: string
1189
-
1159
+ export interface GetRealNameAuthTokenResponse {
1190
1160
  /**
1191
- * SDK生成的活体检测数据包的资源内容MD5(32位,用于校验LiveData的一致性)。
1161
+ * 查询实名认证结果的唯一凭证
1192
1162
  */
1193
- LiveDataMd5: string
1163
+ AuthToken?: string
1194
1164
 
1195
1165
  /**
1196
- * 用于比对的目标图片的资源地址。
1166
+ * 实名认证授权地址,认证发起方需要重定向到这个地址获取认证用户的授权,仅能在微信环境下打开。
1197
1167
  */
1198
- ImageUrl: string
1168
+ RedirectURL?: string
1199
1169
 
1200
1170
  /**
1201
- * 用于比对的目标图片的资源MD5(32位,用于校验Image的一致性)。
1171
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1202
1172
  */
1203
- ImageMd5: string
1173
+ RequestId?: string
1204
1174
  }
1205
1175
 
1206
1176
  /**
@@ -1849,6 +1819,12 @@ export interface GetEidResultResponse {
1849
1819
  */
1850
1820
  EidInfo: EidInfo
1851
1821
 
1822
+ /**
1823
+ * 意愿核身相关信息。若未使用意愿核身功能,该字段返回值可以不处理。
1824
+ 注意:此字段可能返回 null,表示取不到有效值。
1825
+ */
1826
+ IntentionVerifyData: IntentionVerifyData
1827
+
1852
1828
  /**
1853
1829
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1854
1830
  */
@@ -2772,26 +2748,6 @@ export interface EncryptedPhoneVerificationRequest {
2772
2748
  EncryptionMode: string
2773
2749
  }
2774
2750
 
2775
- /**
2776
- * GetRealNameAuthToken返回参数结构体
2777
- */
2778
- export interface GetRealNameAuthTokenResponse {
2779
- /**
2780
- * 查询实名认证结果的唯一凭证
2781
- */
2782
- AuthToken?: string
2783
-
2784
- /**
2785
- * 实名认证授权地址,认证发起方需要重定向到这个地址获取认证用户的授权,仅能在微信环境下打开。
2786
- */
2787
- RedirectURL?: string
2788
-
2789
- /**
2790
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2791
- */
2792
- RequestId?: string
2793
- }
2794
-
2795
2751
  /**
2796
2752
  * GetRealNameAuthResult返回参数结构体
2797
2753
  */
@@ -564,6 +564,11 @@ export interface DeleteServiceDiscoveryResponse {
564
564
  * CreatePrometheusScrapeJob返回参数结构体
565
565
  */
566
566
  export interface CreatePrometheusScrapeJobResponse {
567
+ /**
568
+ * 成功创建抓取任务 Id
569
+ */
570
+ JobId: string
571
+
567
572
  /**
568
573
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
569
574
  */
@@ -704,28 +709,28 @@ export interface CreateExporterIntegrationRequest {
704
709
  */
705
710
  InstanceId: string
706
711
 
712
+ /**
713
+ * 类型
714
+ */
715
+ Kind: string
716
+
717
+ /**
718
+ * 集成配置
719
+ */
720
+ Content: string
721
+
707
722
  /**
708
723
  * Kubernetes 集群类型,取值如下:
709
724
  <li> 1= 容器集群(TKE) </li>
710
725
  <li> 2=弹性集群<EKS> </li>
711
726
  <li> 3= Prometheus管理的弹性集群<MEKS> </li>
712
727
  */
713
- KubeType: number
728
+ KubeType?: number
714
729
 
715
730
  /**
716
731
  * 集群 ID
717
732
  */
718
- ClusterId: string
719
-
720
- /**
721
- * 类型
722
- */
723
- Kind: string
724
-
725
- /**
726
- * 集成配置
727
- */
728
- Content: string
733
+ ClusterId?: string
729
734
  }
730
735
 
731
736
  /**
@@ -2669,6 +2674,11 @@ export interface CreateServiceDiscoveryResponse {
2669
2674
  * CreatePrometheusAgent返回参数结构体
2670
2675
  */
2671
2676
  export interface CreatePrometheusAgentResponse {
2677
+ /**
2678
+ * 创建成功的 Agent Id
2679
+ */
2680
+ AgentId: string
2681
+
2672
2682
  /**
2673
2683
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2674
2684
  */
@@ -5794,6 +5804,11 @@ export interface RecordingRuleSet {
5794
5804
  * CreateExporterIntegration返回参数结构体
5795
5805
  */
5796
5806
  export interface CreateExporterIntegrationResponse {
5807
+ /**
5808
+ * 返回创建成功的集成名称列表
5809
+ */
5810
+ Names: Array<string>
5811
+
5797
5812
  /**
5798
5813
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5799
5814
  */
@@ -639,7 +639,6 @@ export class Client extends AbstractClient {
639
639
 
640
640
  /**
641
641
  * 本接口支持中国香港身份证人像面中关键字段的识别,包括中文姓名、英文姓名、姓名电码、出生日期、性别、证件符号、首次签发日期、最近领用日期、身份证号、是否是永久性居民身份证;具备防伪识别、人像照片裁剪等扩展功能。
642
- 本接口暂未完全对外开放,如需咨询,请[联系商务](https://cloud.tencent.com/about/connect)
643
642
 
644
643
  */
645
644
  async HKIDCardOCR(
@@ -354,6 +354,16 @@ TypeId为标准架构时,MemSize是实例总内存容量;TypeId为集群架
354
354
  * false :默认值,发送正常请求,通过检查后直接创建实例 true:发送检查请求,不会创建实例。
355
355
  */
356
356
  DryRun?: boolean
357
+
358
+ /**
359
+ * "local"本地盘版,"cloud"云盘版,"cdc"独享集群版,如果不传默认发货为本地盘版本
360
+ */
361
+ ProductVersion?: string
362
+
363
+ /**
364
+ * 独享集群id,ProductVersion="cdc"时必传
365
+ */
366
+ RedisClusterId?: string
357
367
  }
358
368
 
359
369
  /**
@@ -4307,6 +4317,11 @@ TypeId为标准架构时,MemSize是实例总内存容量;TypeId为集群架
4307
4317
  * 实例所属的可用区名称,可参考[地域和可用区](https://cloud.tencent.com/document/product/239/4106) 。
4308
4318
  */
4309
4319
  ZoneName?: string
4320
+
4321
+ /**
4322
+ * "local"本地盘版,"cloud"云盘版,"cdc"独享集群版,如果不传默认询价为本地盘版本
4323
+ */
4324
+ ProductVersion?: string
4310
4325
  }
4311
4326
 
4312
4327
  /**