tencentcloud-sdk-nodejs 4.0.868 → 4.0.870

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 (82) hide show
  1. package/CHANGELOG.md +320 -0
  2. package/SERVICE_CHANGELOG.md +355 -90
  3. package/package.json +1 -1
  4. package/products.md +32 -32
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/aiart/v20221229/aiart_client.ts +4 -2
  7. package/src/services/asr/v20190614/asr_models.ts +4 -2
  8. package/src/services/ccc/v20200210/ccc_client.ts +13 -1
  9. package/src/services/ccc/v20200210/ccc_models.ts +56 -12
  10. package/src/services/cdb/v20170320/cdb_models.ts +1 -1
  11. package/src/services/cfw/v20190904/cfw_client.ts +5 -3
  12. package/src/services/cfw/v20190904/cfw_models.ts +1 -1
  13. package/src/services/cynosdb/v20190107/cynosdb_models.ts +26 -16
  14. package/src/services/domain/v20180808/domain_models.ts +1 -1
  15. package/src/services/dts/v20211206/dts_models.ts +4 -0
  16. package/src/services/facefusion/v20220927/facefusion_client.ts +14 -0
  17. package/src/services/facefusion/v20220927/facefusion_models.ts +110 -0
  18. package/src/services/hunyuan/v20230901/hunyuan_client.ts +1 -1
  19. package/src/services/hunyuan/v20230901/hunyuan_models.ts +3 -3
  20. package/src/services/iotcloud/v20210408/iotcloud_models.ts +27 -17
  21. package/src/services/iotexplorer/v20190423/iotexplorer_client.ts +16 -2
  22. package/src/services/iotexplorer/v20190423/iotexplorer_models.ts +143 -64
  23. package/src/services/lighthouse/v20200324/lighthouse_models.ts +6 -6
  24. package/src/services/mps/v20190612/mps_models.ts +19 -23
  25. package/src/services/oceanus/v20190422/oceanus_models.ts +5 -0
  26. package/src/services/pts/v20210728/pts_models.ts +1 -1
  27. package/src/services/redis/v20180412/redis_models.ts +24 -13
  28. package/src/services/rum/v20210622/rum_models.ts +7 -7
  29. package/src/services/sqlserver/v20180328/sqlserver_models.ts +23 -15
  30. package/src/services/tcss/v20201101/tcss_models.ts +2 -2
  31. package/src/services/trp/v20210515/trp_client.ts +17 -3
  32. package/src/services/trp/v20210515/trp_models.ts +101 -40
  33. package/src/services/vcg/v20240404/vcg_models.ts +2 -2
  34. package/src/services/vdb/v20230616/vdb_models.ts +1 -1
  35. package/src/services/waf/v20180125/waf_models.ts +5 -1
  36. package/src/services/wedata/v20210820/wedata_models.ts +22 -7
  37. package/src/services/yinsuda/v20220527/yinsuda_models.ts +61 -55
  38. package/tencentcloud/common/sdk_version.d.ts +1 -1
  39. package/tencentcloud/common/sdk_version.js +1 -1
  40. package/tencentcloud/services/aiart/v20221229/aiart_client.d.ts +4 -2
  41. package/tencentcloud/services/aiart/v20221229/aiart_client.js +4 -2
  42. package/tencentcloud/services/asr/v20190614/asr_models.d.ts +4 -2
  43. package/tencentcloud/services/ccc/v20200210/ccc_client.d.ts +5 -1
  44. package/tencentcloud/services/ccc/v20200210/ccc_client.js +6 -0
  45. package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +54 -12
  46. package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +1 -1
  47. package/tencentcloud/services/cfw/v20190904/cfw_client.d.ts +4 -2
  48. package/tencentcloud/services/cfw/v20190904/cfw_client.js +4 -2
  49. package/tencentcloud/services/cfw/v20190904/cfw_models.d.ts +1 -1
  50. package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +26 -16
  51. package/tencentcloud/services/domain/v20180808/domain_models.d.ts +1 -1
  52. package/tencentcloud/services/dts/v20211206/dts_models.d.ts +4 -0
  53. package/tencentcloud/services/facefusion/v20220927/facefusion_client.d.ts +6 -1
  54. package/tencentcloud/services/facefusion/v20220927/facefusion_client.js +7 -0
  55. package/tencentcloud/services/facefusion/v20220927/facefusion_models.d.ts +107 -0
  56. package/tencentcloud/services/hunyuan/v20230901/hunyuan_client.d.ts +1 -1
  57. package/tencentcloud/services/hunyuan/v20230901/hunyuan_client.js +1 -1
  58. package/tencentcloud/services/hunyuan/v20230901/hunyuan_models.d.ts +3 -3
  59. package/tencentcloud/services/iotcloud/v20210408/iotcloud_models.d.ts +27 -17
  60. package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.d.ts +5 -1
  61. package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.js +6 -0
  62. package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_models.d.ts +139 -64
  63. package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +6 -6
  64. package/tencentcloud/services/mps/v20190612/mps_models.d.ts +17 -21
  65. package/tencentcloud/services/oceanus/v20190422/oceanus_models.d.ts +5 -0
  66. package/tencentcloud/services/pts/v20210728/pts_models.d.ts +1 -1
  67. package/tencentcloud/services/redis/v20180412/redis_models.d.ts +24 -13
  68. package/tencentcloud/services/rum/v20210622/rum_models.d.ts +7 -7
  69. package/tencentcloud/services/sqlserver/v20180328/sqlserver_models.d.ts +23 -15
  70. package/tencentcloud/services/tcss/v20201101/tcss_models.d.ts +2 -2
  71. package/tencentcloud/services/trp/v20210515/trp_client.d.ts +5 -1
  72. package/tencentcloud/services/trp/v20210515/trp_client.js +6 -0
  73. package/tencentcloud/services/trp/v20210515/trp_models.d.ts +97 -40
  74. package/tencentcloud/services/vcg/v20240404/vcg_models.d.ts +2 -2
  75. package/tencentcloud/services/vdb/v20230616/vdb_models.d.ts +1 -1
  76. package/tencentcloud/services/waf/v20180125/waf_models.d.ts +5 -1
  77. package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +22 -7
  78. package/tencentcloud/services/yinsuda/v20220527/yinsuda_models.d.ts +61 -55
  79. package/test/ccc.v20200210.test.js +10 -0
  80. package/test/facefusion.v20220927.test.js +10 -0
  81. package/test/iotexplorer.v20190423.test.js +10 -0
  82. package/test/trp.v20210515.test.js +10 -0
@@ -3802,28 +3802,28 @@ export interface MediaProcessTaskAnimatedGraphicResult {
3802
3802
  /**
3803
3803
  * 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。
3804
3804
  */
3805
- Status: string
3805
+ Status?: string
3806
3806
  /**
3807
3807
  * 错误码,空字符串表示成功,其他值表示失败,取值请参考 [媒体处理类错误码](https://cloud.tencent.com/document/product/862/50369#.E8.A7.86.E9.A2.91.E5.A4.84.E7.90.86.E7.B1.BB.E9.94.99.E8.AF.AF.E7.A0.81) 列表。
3808
3808
  */
3809
- ErrCodeExt: string
3809
+ ErrCodeExt?: string
3810
3810
  /**
3811
3811
  * 错误码,0 表示成功,其他值表示失败(该字段已不推荐使用,建议使用新的错误码字段 ErrCodeExt)。
3812
3812
  */
3813
- ErrCode: number
3813
+ ErrCode?: number
3814
3814
  /**
3815
3815
  * 错误信息。
3816
3816
  */
3817
- Message: string
3817
+ Message?: string
3818
3818
  /**
3819
3819
  * 转动图任务的输入。
3820
3820
  */
3821
- Input: AnimatedGraphicTaskInput
3821
+ Input?: AnimatedGraphicTaskInput
3822
3822
  /**
3823
3823
  * 转动图任务的输出。
3824
3824
  注意:此字段可能返回 null,表示取不到有效值。
3825
3825
  */
3826
- Output: MediaAnimatedGraphicsItem
3826
+ Output?: MediaAnimatedGraphicsItem
3827
3827
  /**
3828
3828
  * 任务开始执行的时间,采用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
3829
3829
  注意:此字段可能返回 null,表示取不到有效值。
@@ -4530,28 +4530,28 @@ export interface MediaProcessTaskImageSpriteResult {
4530
4530
  /**
4531
4531
  * 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。
4532
4532
  */
4533
- Status: string
4533
+ Status?: string
4534
4534
  /**
4535
4535
  * 错误码,空字符串表示成功,其他值表示失败,取值请参考 [媒体处理类错误码](https://cloud.tencent.com/document/product/862/50369#.E8.A7.86.E9.A2.91.E5.A4.84.E7.90.86.E7.B1.BB.E9.94.99.E8.AF.AF.E7.A0.81) 列表。
4536
4536
  */
4537
- ErrCodeExt: string
4537
+ ErrCodeExt?: string
4538
4538
  /**
4539
4539
  * 错误码,0 表示成功,其他值表示失败(该字段已不推荐使用,建议使用新的错误码字段 ErrCodeExt)。
4540
4540
  */
4541
- ErrCode: number
4541
+ ErrCode?: number
4542
4542
  /**
4543
4543
  * 错误信息。
4544
4544
  */
4545
- Message: string
4545
+ Message?: string
4546
4546
  /**
4547
4547
  * 对视频截雪碧图任务的输入。
4548
4548
  */
4549
- Input: ImageSpriteTaskInput
4549
+ Input?: ImageSpriteTaskInput
4550
4550
  /**
4551
4551
  * 对视频截雪碧图任务的输出。
4552
4552
  注意:此字段可能返回 null,表示取不到有效值。
4553
4553
  */
4554
- Output: MediaImageSpriteItem
4554
+ Output?: MediaImageSpriteItem
4555
4555
  /**
4556
4556
  * 任务开始执行的时间,采用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
4557
4557
  注意:此字段可能返回 null,表示取不到有效值。
@@ -5031,8 +5031,8 @@ export interface VideoTemplateInfo {
5031
5031
  */
5032
5032
  Codec: string
5033
5033
  /**
5034
- * 视频帧率,取值范围:[0, 120],单位:Hz。
5035
- 当取值为 0,表示帧率和原始视频保持一致。
5034
+ * 视频帧率,取值范围:[0, 120],单位:Hz。
5035
+ 当取值为 0,表示帧率和原始视频保持一致。
5036
5036
  注意:自适应码率时取值范围是 [0, 60]
5037
5037
  */
5038
5038
  Fps: number
@@ -11097,11 +11097,7 @@ export interface AiAnalysisTaskDescriptionInput {
11097
11097
  */
11098
11098
  export interface DescribeTaskDetailResponse {
11099
11099
  /**
11100
- * 任务类型,目前取值有:
11101
- <li>WorkflowTask:视频工作流处理任务。</li>
11102
- <li>EditMediaTask:视频编辑任务。</li>
11103
- <li>LiveStreamProcessTask:直播流处理任务。</li>
11104
- <li>ScheduleTask:编排处理任务。</li>
11100
+ * 任务类型,目前取值有:<li>WorkflowTask:视频工作流处理任务。</li><li>EditMediaTask:视频编辑任务。</li><li>LiveStreamProcessTask:直播流处理任务。</li><li>ScheduleTask:编排处理任务。</li><li>EvaluationTask:评测任务。</li>
11105
11101
  */
11106
11102
  TaskType?: string
11107
11103
  /**
@@ -12553,22 +12549,22 @@ export interface QualityControlData {
12553
12549
  * 为true时表示视频无音频轨。
12554
12550
  注意:此字段可能返回 null,表示取不到有效值。
12555
12551
  */
12556
- NoAudio: boolean
12552
+ NoAudio?: boolean
12557
12553
  /**
12558
12554
  * 为true时表示视频无视频轨。
12559
12555
  注意:此字段可能返回 null,表示取不到有效值。
12560
12556
  */
12561
- NoVideo: boolean
12557
+ NoVideo?: boolean
12562
12558
  /**
12563
12559
  * 视频无参考质量打分,百分制。
12564
12560
  注意:此字段可能返回 null,表示取不到有效值。
12565
12561
  */
12566
- QualityEvaluationScore: number
12562
+ QualityEvaluationScore?: number
12567
12563
  /**
12568
12564
  * 质检检出异常项。
12569
12565
  注意:此字段可能返回 null,表示取不到有效值。
12570
12566
  */
12571
- QualityControlResultSet: Array<QualityControlResult>
12567
+ QualityControlResultSet?: Array<QualityControlResult>
12572
12568
  }
12573
12569
 
12574
12570
  /**
@@ -2838,6 +2838,11 @@ export interface Cluster {
2838
2838
  注意:此字段可能返回 null,表示取不到有效值。
2839
2839
  */
2840
2840
  AgentSerialId?: string
2841
+ /**
2842
+ * 资源类型
2843
+ 注意:此字段可能返回 null,表示取不到有效值。
2844
+ */
2845
+ ResourceType?: number
2841
2846
  }
2842
2847
 
2843
2848
  /**
@@ -2223,7 +2223,7 @@ export interface DescribeAvailableMetricsResponse {
2223
2223
  /**
2224
2224
  * 系统支持的所有指标
2225
2225
  */
2226
- MetricSet: Array<MetricInfo>
2226
+ MetricSet?: Array<MetricInfo>
2227
2227
  /**
2228
2228
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2229
2229
  */
@@ -270,7 +270,7 @@ export interface UpgradeInstanceVersionResponse {
270
270
  export interface CreateInstancesRequest {
271
271
  /**
272
272
  * 实例类型。
273
- <ul><li>2:Redis 2.8 内存版(标准架构)。</li><li>3:CKV 3.2 内存版(标准架构)。</li><li>4:CKV 3.2 内存版(集群架构)。</li><li>6:Redis 4.0 内存版(标准架构)。</li><li>7:Redis 4.0 内存版(集群架构)。</li><li>8:Redis 5.0 内存版(标准架构)。</li><li>9:Redis 5.0 内存版(集群架构)。</li><li>15:Redis 6.2 内存版(标准架构)。</li><li>16:Redis 6.2 内存版(集群架构)。</li></ul>
273
+ <ul><li>2:Redis 2.8 内存版(标准架构)。</li><li>3:CKV 3.2 内存版(标准架构)。</li><li>4:CKV 3.2 内存版(集群架构)。</li><li>6:Redis 4.0 内存版(标准架构)。</li><li>7:Redis 4.0 内存版(集群架构)。</li><li>8:Redis 5.0 内存版(标准架构)。</li><li>9:Redis 5.0 内存版(集群架构)。</li><li>15:Redis 6.2 内存版(标准架构)。</li><li>16:Redis 6.2 内存版(集群架构)。</li><li>17:Redis 7.0 内存版(标准架构)。</li><li>18:Redis 7.0 内存版(集群架构)。</li></ul>
274
274
  */
275
275
  TypeId: number
276
276
  /**
@@ -1701,7 +1701,7 @@ export interface CreateParamTemplateResponse {
1701
1701
  /**
1702
1702
  * 参数模板 ID。
1703
1703
  */
1704
- TemplateId: string
1704
+ TemplateId?: string
1705
1705
  /**
1706
1706
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1707
1707
  */
@@ -2072,7 +2072,16 @@ export interface CreateParamTemplateRequest {
2072
2072
  */
2073
2073
  Description?: string
2074
2074
  /**
2075
- * 产品类型:1 – Redis2.8内存版(集群架构),2 – Redis2.8内存版(标准架构),3 – CKV 3.2内存版(标准架构),4 – CKV 3.2内存版(集群架构),5 – Redis2.8内存版(单机),6 – Redis4.0内存版(标准架构),7 – Redis4.0内存版(集群架构),8 – Redis5.0内存版(标准架构),9 – Redis5.0内存版(集群架构)。创建模板时必填,从源模板复制则不需要传入该参数。
2075
+ * 产品类型。
2076
+ - 2:Redis 2.8 内存版(标准架构)。
2077
+ - 6:Redis 4.0 内存版(标准架构)。
2078
+ - 7:Redis 4.0 内存版(集群架构)。
2079
+ - 8:Redis 5.0 内存版(标准架构)。
2080
+ - 9:Redis 5.0 内存版(集群架构)。
2081
+ - 15:Redis 6.2 内存版(标准架构)。
2082
+ - 16:Redis 6.2 内存版(集群架构)。
2083
+ - 17:Redis 7.0 内存版(标准架构)。
2084
+ - 18:Redis 7.0 内存版(集群架构)。
2076
2085
  */
2077
2086
  ProductType?: number
2078
2087
  /**
@@ -4515,16 +4524,18 @@ export interface InstanceSet {
4515
4524
  SizeUsed?: number
4516
4525
  /**
4517
4526
  * 实例类型。
4518
- - 2:Redis 2.8内存版(标准架构)。
4519
- - 3:CKV 3.2内存版(标准架构)。
4520
- - 4:CKV 3.2内存版(集群架构)。
4521
- - 5:Redis 2.8内存版(单机)。
4522
- - 6:Redis 4.0内存版(标准架构)。
4523
- - 7:Redis 4.0内存版(集群架构)。
4524
- - 8:Redis 5.0内存版(标准架构)。
4525
- - 9:Redis 5.0内存版(集群架构)。
4526
- - 15:Redis 6.2内存版(标准架构)。
4527
- - 16:Redis 6.2内存版(集群架构)。
4527
+ - 2:Redis 2.8 内存版(标准架构)。
4528
+ - 3:CKV 3.2 内存版(标准架构)。
4529
+ - 4:CKV 3.2 内存版(集群架构)。
4530
+ - 5:Redis 2.8 内存版(单机)。
4531
+ - 6:Redis 4.0 内存版(标准架构)。
4532
+ - 7:Redis 4.0 内存版(集群架构)。
4533
+ - 8:Redis 5.0 内存版(标准架构)。
4534
+ - 9:Redis 5.0 内存版(集群架构)。
4535
+ - 15:Redis 6.2 内存版(标准架构)。
4536
+ - 16:Redis 6.2 内存版(集群架构)。
4537
+ - 17:Redis 7.0 内存版(标准架构)。
4538
+ - 18:Redis 7.0 内存版(集群架构)。
4528
4539
  */
4529
4540
  Type?: number
4530
4541
  /**
@@ -401,7 +401,7 @@ export interface DescribeAppMetricsDataResponse {
401
401
  /**
402
402
  * 查询数据返回
403
403
  */
404
- Data: string
404
+ Data?: string
405
405
  /**
406
406
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
407
407
  */
@@ -415,7 +415,7 @@ export interface DescribeAppSingleCaseDetailListResponse {
415
415
  /**
416
416
  * 查询数据返回
417
417
  */
418
- Data: string
418
+ Data?: string
419
419
  /**
420
420
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
421
421
  */
@@ -900,7 +900,7 @@ export interface ModifyProjectLimitRequest {
900
900
  */
901
901
  ProjectID: number
902
902
  /**
903
- * 项目接口
903
+ * 取值为[log speed performance webvitals pv event custom miniProgramData]其中之一
904
904
  */
905
905
  ProjectInterface?: string
906
906
  /**
@@ -934,7 +934,7 @@ export interface DescribeAppSingleCaseListResponse {
934
934
  /**
935
935
  * 查询数据返回
936
936
  */
937
- Data: string
937
+ Data?: string
938
938
  /**
939
939
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
940
940
  */
@@ -1414,7 +1414,7 @@ export interface ModifyProjectLimitResponse {
1414
1414
  * 返回信息
1415
1415
  注意:此字段可能返回 null,表示取不到有效值。
1416
1416
  */
1417
- Msg: string
1417
+ Msg?: string
1418
1418
  /**
1419
1419
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1420
1420
  */
@@ -1428,7 +1428,7 @@ export interface DescribeRumLogExportsResponse {
1428
1428
  /**
1429
1429
  * 返回字符串
1430
1430
  */
1431
- Result: string
1431
+ Result?: string
1432
1432
  /**
1433
1433
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1434
1434
  */
@@ -2740,7 +2740,7 @@ export interface DescribeAppDimensionMetricsResponse {
2740
2740
  /**
2741
2741
  * 查询数据返回
2742
2742
  */
2743
- Data: string
2743
+ Data?: string
2744
2744
  /**
2745
2745
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2746
2746
  */
@@ -5509,57 +5509,61 @@ export interface RecycleReadOnlyGroupRequest {
5509
5509
  }
5510
5510
 
5511
5511
  /**
5512
- * 账户信息详情
5512
+ * 账号信息详情
5513
5513
  */
5514
5514
  export interface AccountDetail {
5515
5515
  /**
5516
5516
  * 账户名
5517
5517
  */
5518
- Name: string
5518
+ Name?: string
5519
5519
  /**
5520
5520
  * 账户备注
5521
5521
  */
5522
- Remark: string
5522
+ Remark?: string
5523
5523
  /**
5524
5524
  * 账户创建时间
5525
5525
  */
5526
- CreateTime: string
5526
+ CreateTime?: string
5527
5527
  /**
5528
5528
  * 账户状态,1-创建中,2-正常,3-修改中,4-密码重置中,-1-删除中
5529
5529
  */
5530
- Status: number
5530
+ Status?: number
5531
5531
  /**
5532
5532
  * 账户更新时间
5533
5533
  */
5534
- UpdateTime: string
5534
+ UpdateTime?: string
5535
5535
  /**
5536
5536
  * 密码更新时间
5537
5537
  */
5538
- PassTime: string
5538
+ PassTime?: string
5539
5539
  /**
5540
5540
  * 账户内部状态,正常为enable
5541
5541
  */
5542
- InternalStatus: string
5542
+ InternalStatus?: string
5543
5543
  /**
5544
5544
  * 该账户对相关db的读写权限信息
5545
5545
  */
5546
- Dbs: Array<DBPrivilege>
5546
+ Dbs?: Array<DBPrivilege>
5547
5547
  /**
5548
5548
  * 是否为管理员账户
5549
5549
  */
5550
- IsAdmin: boolean
5550
+ IsAdmin?: boolean
5551
+ /**
5552
+ * 是否为cam托管账户
5553
+ */
5554
+ IsCam?: boolean
5551
5555
  /**
5552
5556
  * win-windows鉴权,sql-sqlserver鉴权
5553
5557
  */
5554
- Authentication: string
5558
+ Authentication?: string
5555
5559
  /**
5556
5560
  * win-windows鉴权账户需要host
5557
5561
  */
5558
- Host: string
5562
+ Host?: string
5559
5563
  /**
5560
5564
  * 账号类型。L0-超级权限(基础版独有),L1-高级权限,L2-特殊权限,L3-普通权限
5561
5565
  */
5562
- AccountType: string
5566
+ AccountType?: string
5563
5567
  }
5564
5568
 
5565
5569
  /**
@@ -5684,7 +5688,7 @@ export interface AccountCreateInfo {
5684
5688
  /**
5685
5689
  * 实例密码
5686
5690
  */
5687
- Password: string
5691
+ Password?: string
5688
5692
  /**
5689
5693
  * DB权限列表
5690
5694
  */
@@ -5694,7 +5698,7 @@ export interface AccountCreateInfo {
5694
5698
  */
5695
5699
  Remark?: string
5696
5700
  /**
5697
- * 是否为管理员账户,当值为true 等价于基础版AccountType=L0,高可用AccountType=L1,当值为false,等价于AccountType=L3
5701
+ * 是否为管理员账户,当值为true 等价于单节点AccountType=L0,双节点AccountType=L1,当值为false,等价于AccountType=L3
5698
5702
  */
5699
5703
  IsAdmin?: boolean
5700
5704
  /**
@@ -5705,6 +5709,10 @@ export interface AccountCreateInfo {
5705
5709
  * 账号类型,IsAdmin的扩展字段。 L0-超级权限(基础版独有),L1-高级权限,L2-特殊权限,L3-普通权限,默认L3
5706
5710
  */
5707
5711
  AccountType?: string
5712
+ /**
5713
+ * 是否开启CAM验证
5714
+ */
5715
+ IsCam?: boolean
5708
5716
  }
5709
5717
 
5710
5718
  /**
@@ -11919,7 +11919,7 @@ export interface CreateAbnormalProcessRulesExportJobResponse {
11919
11919
  /**
11920
11920
  * 导出任务ID,前端拿着任务ID查询任务进度
11921
11921
  */
11922
- JobId: string
11922
+ JobId?: string
11923
11923
  /**
11924
11924
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
11925
11925
  */
@@ -21329,7 +21329,7 @@ export interface DescribeABTestConfigResponse {
21329
21329
  /**
21330
21330
  * 灰度项目配置
21331
21331
  */
21332
- Config: Array<ABTestConfig>
21332
+ Config?: Array<ABTestConfig>
21333
21333
  /**
21334
21334
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
21335
21335
  */
@@ -19,6 +19,7 @@ import { AbstractClient } from "../../../common/abstract_client"
19
19
  import { ClientConfig } from "../../../common/interface"
20
20
  import {
21
21
  CodeBatch,
22
+ DescribeScanStatsRequest,
22
23
  DescribeScanLogsResponse,
23
24
  Quota,
24
25
  PlanQRCode,
@@ -33,7 +34,7 @@ import {
33
34
  DeleteCodeBatchRequest,
34
35
  DescribeMerchantsRequest,
35
36
  ModifyTraceCodeRequest,
36
- DescribeCustomRulesResponse,
37
+ DescribePlanQRCodesResponse,
37
38
  CreateMerchantRequest,
38
39
  DescribeCodeBatchByIdRequest,
39
40
  DescribeTraceCodeByIdResponse,
@@ -74,6 +75,7 @@ import {
74
75
  AuthorizedTransferRequest,
75
76
  ReportBatchCallbackStatusRequest,
76
77
  DescribeCodeBatchesResponse,
78
+ Chain,
77
79
  CreateProductRequest,
78
80
  CreateCustomPackRequest,
79
81
  Ext,
@@ -93,6 +95,7 @@ import {
93
95
  DescribeTmpTokenResponse,
94
96
  DescribeCodePackUrlRequest,
95
97
  DeleteProductResponse,
98
+ CreateChainBatchRequest,
96
99
  OutputAuthorizedTransfer,
97
100
  DeleteTraceDataResponse,
98
101
  ModifyCustomRuleStatusRequest,
@@ -114,6 +117,7 @@ import {
114
117
  DescribePlanQRCodeScanRecordsRequest,
115
118
  RawScanLog,
116
119
  DescribePlanQRCodesRequest,
120
+ CreateChainBatchResponse,
117
121
  ModifyCodeBatchRequest,
118
122
  DescribeProductByIdRequest,
119
123
  DescribeTraceCodesResponse,
@@ -134,7 +138,7 @@ import {
134
138
  DescribeMerchantsResponse,
135
139
  DescribeRawScanLogsResponse,
136
140
  DescribeTraceDataListRequest,
137
- DescribeScanStatsRequest,
141
+ ChainValue,
138
142
  DeleteMerchantResponse,
139
143
  DeleteCodeBatchResponse,
140
144
  CreateTraceChainRequest,
@@ -143,7 +147,7 @@ import {
143
147
  DescribeProductByIdResponse,
144
148
  DescribeCodePacksRequest,
145
149
  DescribeJobFileUrlResponse,
146
- DescribePlanQRCodesResponse,
150
+ DescribeCustomRulesResponse,
147
151
  DescribeTraceCodeByIdRequest,
148
152
  ModifyCodeBatchResponse,
149
153
  PlanQRCodeRecord,
@@ -292,6 +296,16 @@ export class Client extends AbstractClient {
292
296
  return this.request("DescribeCodesByPack", req, cb)
293
297
  }
294
298
 
299
+ /**
300
+ * 批量上链接口
301
+ */
302
+ async CreateChainBatch(
303
+ req: CreateChainBatchRequest,
304
+ cb?: (error: string, rep: CreateChainBatchResponse) => void
305
+ ): Promise<CreateChainBatchResponse> {
306
+ return this.request("CreateChainBatch", req, cb)
307
+ }
308
+
295
309
  /**
296
310
  * 查询商户信息
297
311
  */
@@ -121,6 +121,40 @@ export interface CodeBatch {
121
121
  Attrs?: Array<AttrItem>
122
122
  }
123
123
 
124
+ /**
125
+ * DescribeScanStats请求参数结构体
126
+ */
127
+ export interface DescribeScanStatsRequest {
128
+ /**
129
+ * 企业ID
130
+ */
131
+ CorpId?: number
132
+ /**
133
+ * 分页数量
134
+ */
135
+ PageSize?: number
136
+ /**
137
+ * 当前分页
138
+ */
139
+ PageNumber?: number
140
+ /**
141
+ * 商户ID
142
+ */
143
+ MerchantId?: string
144
+ /**
145
+ * 产品ID
146
+ */
147
+ ProductId?: string
148
+ /**
149
+ * 批次ID
150
+ */
151
+ BatchId?: string
152
+ /**
153
+ * 安心码
154
+ */
155
+ Code?: string
156
+ }
157
+
124
158
  /**
125
159
  * DescribeScanLogs返回参数结构体
126
160
  */
@@ -720,19 +754,21 @@ export interface ModifyTraceCodeRequest {
720
754
  }
721
755
 
722
756
  /**
723
- * DescribeCustomRules返回参数结构体
757
+ * DescribePlanQRCodes返回参数结构体
724
758
  */
725
- export interface DescribeCustomRulesResponse {
759
+ export interface DescribePlanQRCodesResponse {
726
760
  /**
727
- * 码规则列表
728
- 注意:此字段可能返回 null,表示取不到有效值。
761
+ * 返回码
729
762
  */
730
- CustomRules: Array<CustomRule>
763
+ Ret?: number
731
764
  /**
732
765
  * 总数
733
- 注意:此字段可能返回 null,表示取不到有效值。
734
766
  */
735
- TotalCount: number
767
+ Total?: number
768
+ /**
769
+ * 数据
770
+ */
771
+ Data?: Array<PlanQRCode>
736
772
  /**
737
773
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
738
774
  */
@@ -1763,6 +1799,22 @@ export interface DescribeCodeBatchesResponse {
1763
1799
  RequestId?: string
1764
1800
  }
1765
1801
 
1802
+ /**
1803
+ * 上链数据
1804
+ */
1805
+ export interface Chain {
1806
+ /**
1807
+ * 码url
1808
+ 注意:此字段可能返回 null,表示取不到有效值。
1809
+ */
1810
+ Code: string
1811
+ /**
1812
+ * 上链数据
1813
+ 注意:此字段可能返回 null,表示取不到有效值。
1814
+ */
1815
+ Data: Array<ChainValue>
1816
+ }
1817
+
1766
1818
  /**
1767
1819
  * CreateProduct请求参数结构体
1768
1820
  */
@@ -2261,6 +2313,20 @@ export interface DeleteProductResponse {
2261
2313
  RequestId?: string
2262
2314
  }
2263
2315
 
2316
+ /**
2317
+ * CreateChainBatch请求参数结构体
2318
+ */
2319
+ export interface CreateChainBatchRequest {
2320
+ /**
2321
+ * 企业ID
2322
+ */
2323
+ CorpId: number
2324
+ /**
2325
+ * 溯源ID
2326
+ */
2327
+ ChainList: Array<Chain>
2328
+ }
2329
+
2264
2330
  /**
2265
2331
  * 业务出参
2266
2332
  */
@@ -2650,6 +2716,16 @@ export interface DescribePlanQRCodesRequest {
2650
2716
  PageSize: number
2651
2717
  }
2652
2718
 
2719
+ /**
2720
+ * CreateChainBatch返回参数结构体
2721
+ */
2722
+ export interface CreateChainBatchResponse {
2723
+ /**
2724
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2725
+ */
2726
+ RequestId?: string
2727
+ }
2728
+
2653
2729
  /**
2654
2730
  * ModifyCodeBatch请求参数结构体
2655
2731
  */
@@ -3257,37 +3333,24 @@ export interface DescribeTraceDataListRequest {
3257
3333
  }
3258
3334
 
3259
3335
  /**
3260
- * DescribeScanStats请求参数结构体
3336
+ * 上链数据 key-value
3261
3337
  */
3262
- export interface DescribeScanStatsRequest {
3263
- /**
3264
- * 企业ID
3265
- */
3266
- CorpId?: number
3267
- /**
3268
- * 分页数量
3269
- */
3270
- PageSize?: number
3271
- /**
3272
- * 当前分页
3273
- */
3274
- PageNumber?: number
3338
+ export interface ChainValue {
3275
3339
  /**
3276
- * 商户ID
3277
- */
3278
- MerchantId?: string
3279
- /**
3280
- * 产品ID
3340
+ * 标题名字
3341
+ 注意:此字段可能返回 null,表示取不到有效值。
3281
3342
  */
3282
- ProductId?: string
3343
+ Label: string
3283
3344
  /**
3284
- * 批次ID
3345
+ * 类型,文字:"text",图片:"image"
3346
+ 注意:此字段可能返回 null,表示取不到有效值。
3285
3347
  */
3286
- BatchId?: string
3348
+ Type: string
3287
3349
  /**
3288
- * 安心码
3350
+ * 值,文字类型:"abc",图片类型:""/images/img.png"
3351
+ 注意:此字段可能返回 null,表示取不到有效值。
3289
3352
  */
3290
- Code?: string
3353
+ Value: string
3291
3354
  }
3292
3355
 
3293
3356
  /**
@@ -3434,21 +3497,19 @@ export interface DescribeJobFileUrlResponse {
3434
3497
  }
3435
3498
 
3436
3499
  /**
3437
- * DescribePlanQRCodes返回参数结构体
3500
+ * DescribeCustomRules返回参数结构体
3438
3501
  */
3439
- export interface DescribePlanQRCodesResponse {
3502
+ export interface DescribeCustomRulesResponse {
3440
3503
  /**
3441
- * 返回码
3504
+ * 码规则列表
3505
+ 注意:此字段可能返回 null,表示取不到有效值。
3442
3506
  */
3443
- Ret?: number
3507
+ CustomRules: Array<CustomRule>
3444
3508
  /**
3445
3509
  * 总数
3510
+ 注意:此字段可能返回 null,表示取不到有效值。
3446
3511
  */
3447
- Total?: number
3448
- /**
3449
- * 数据
3450
- */
3451
- Data?: Array<PlanQRCode>
3512
+ TotalCount: number
3452
3513
  /**
3453
3514
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3454
3515
  */
@@ -28,8 +28,8 @@ export interface DescribeVideoStylizationJobResponse {
28
28
  JobInit: "初始化中"
29
29
  JobModerationFailed: "审核失败",
30
30
  JobRunning: "处理中",
31
- JobFailed: "处理完成",
32
- JobSuccess: "处理失败"。
31
+ JobFailed: "处理失败",
32
+ JobSuccess: "处理完成"。
33
33
  */
34
34
  StatusCode?: string
35
35
  /**