tencentcloud-sdk-nodejs 4.0.663 → 4.0.665

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 (66) hide show
  1. package/CHANGELOG.md +316 -0
  2. package/SERVICE_CHANGELOG.md +389 -31
  3. package/package.json +1 -1
  4. package/products.md +22 -22
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/asr/v20190614/asr_client.ts +1 -1
  7. package/src/services/asr/v20190614/asr_models.ts +1 -1
  8. package/src/services/cfw/v20190904/cfw_models.ts +65 -35
  9. package/src/services/ckafka/v20190819/ckafka_models.ts +42 -0
  10. package/src/services/clb/v20180317/clb_client.ts +21 -9
  11. package/src/services/clb/v20180317/clb_models.ts +24 -0
  12. package/src/services/cls/v20201016/cls_client.ts +4 -1
  13. package/src/services/cls/v20201016/cls_models.ts +78 -15
  14. package/src/services/dcdb/v20180411/dcdb_client.ts +25 -13
  15. package/src/services/dcdb/v20180411/dcdb_models.ts +72 -44
  16. package/src/services/essbasic/v20210526/essbasic_client.ts +12 -0
  17. package/src/services/essbasic/v20210526/essbasic_models.ts +56 -0
  18. package/src/services/live/v20180801/live_models.ts +18 -14
  19. package/src/services/tcr/v20190924/tcr_client.ts +13 -1
  20. package/src/services/tcr/v20190924/tcr_models.ts +50 -2
  21. package/src/services/tcss/v20201101/tcss_client.ts +32 -7
  22. package/src/services/tcss/v20201101/tcss_models.ts +663 -116
  23. package/src/services/teo/v20220901/teo_models.ts +4 -0
  24. package/src/services/tione/v20211111/tione_client.ts +13 -1
  25. package/src/services/tione/v20211111/tione_models.ts +47 -2
  26. package/src/services/trp/v20210515/trp_models.ts +16 -2
  27. package/src/services/vpc/v20170312/vpc_models.ts +30 -30
  28. package/src/services/waf/v20180125/waf_models.ts +34 -5
  29. package/tencentcloud/common/sdk_version.d.ts +1 -1
  30. package/tencentcloud/common/sdk_version.js +1 -1
  31. package/tencentcloud/services/asr/v20190614/asr_client.d.ts +1 -1
  32. package/tencentcloud/services/asr/v20190614/asr_client.js +1 -1
  33. package/tencentcloud/services/asr/v20190614/asr_models.d.ts +1 -1
  34. package/tencentcloud/services/cfw/v20190904/cfw_models.d.ts +65 -35
  35. package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +42 -0
  36. package/tencentcloud/services/clb/v20180317/clb_client.d.ts +9 -5
  37. package/tencentcloud/services/clb/v20180317/clb_client.js +11 -5
  38. package/tencentcloud/services/clb/v20180317/clb_models.d.ts +22 -0
  39. package/tencentcloud/services/cls/v20201016/cls_client.d.ts +1 -1
  40. package/tencentcloud/services/cls/v20201016/cls_models.d.ts +75 -15
  41. package/tencentcloud/services/dcdb/v20180411/dcdb_client.d.ts +9 -5
  42. package/tencentcloud/services/dcdb/v20180411/dcdb_client.js +12 -6
  43. package/tencentcloud/services/dcdb/v20180411/dcdb_models.d.ts +70 -44
  44. package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +5 -1
  45. package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +6 -0
  46. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +54 -0
  47. package/tencentcloud/services/live/v20180801/live_models.d.ts +18 -14
  48. package/tencentcloud/services/tcr/v20190924/tcr_client.d.ts +5 -1
  49. package/tencentcloud/services/tcr/v20190924/tcr_client.js +6 -0
  50. package/tencentcloud/services/tcr/v20190924/tcr_models.d.ts +48 -2
  51. package/tencentcloud/services/tcss/v20201101/tcss_client.d.ts +11 -3
  52. package/tencentcloud/services/tcss/v20201101/tcss_client.js +15 -3
  53. package/tencentcloud/services/tcss/v20201101/tcss_models.d.ts +658 -116
  54. package/tencentcloud/services/teo/v20220901/teo_models.d.ts +4 -0
  55. package/tencentcloud/services/tione/v20211111/tione_client.d.ts +5 -1
  56. package/tencentcloud/services/tione/v20211111/tione_client.js +6 -0
  57. package/tencentcloud/services/tione/v20211111/tione_models.d.ts +45 -2
  58. package/tencentcloud/services/trp/v20210515/trp_models.d.ts +16 -2
  59. package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +30 -30
  60. package/tencentcloud/services/waf/v20180125/waf_models.d.ts +34 -5
  61. package/test/clb.v20180317.test.js +12 -2
  62. package/test/dcdb.v20180411.test.js +14 -4
  63. package/test/essbasic.v20210526.test.js +10 -0
  64. package/test/tcr.v20190924.test.js +10 -0
  65. package/test/tcss.v20201101.test.js +22 -2
  66. package/test/tione.v20211111.test.js +10 -0
@@ -38,6 +38,7 @@ import {
38
38
  ModifyConfigExtraResponse,
39
39
  KafkaRechargeInfo,
40
40
  ModifyLogsetRequest,
41
+ UploadLogRequest,
41
42
  CreateLogsetRequest,
42
43
  DescribeShippersRequest,
43
44
  CreateScheduledSqlResponse,
@@ -98,6 +99,7 @@ import {
98
99
  EventLog,
99
100
  CreateAlarmRequest,
100
101
  DeleteExportResponse,
102
+ SearchLogInfos,
101
103
  PartitionInfo,
102
104
  DeleteScheduledSqlResponse,
103
105
  AlertHistoryRecord,
@@ -128,7 +130,7 @@ import {
128
130
  DeleteConsumerRequest,
129
131
  DeleteIndexRequest,
130
132
  DescribeConsumerResponse,
131
- UploadLogRequest,
133
+ SearchLogTopics,
132
134
  ModifyConsumerResponse,
133
135
  DescribeAlertRecordHistoryRequest,
134
136
  DescribeConfigsRequest,
@@ -164,6 +166,7 @@ import {
164
166
  DeleteIndexResponse,
165
167
  AlarmAnalysisConfig,
166
168
  PreviewLogStatistic,
169
+ SearchLogErrors,
167
170
  ModifyIndexRequest,
168
171
  Column,
169
172
  ContentInfo,
@@ -472,6 +472,24 @@ export interface ModifyLogsetRequest {
472
472
  Tags?: Array<Tag>
473
473
  }
474
474
 
475
+ /**
476
+ * UploadLog请求参数结构体
477
+ */
478
+ export interface UploadLogRequest {
479
+ /**
480
+ * 主题id
481
+ */
482
+ TopicId: string
483
+ /**
484
+ * 根据 hashkey 写入相应范围的主题分区
485
+ */
486
+ HashKey?: string
487
+ /**
488
+ * 压缩方法
489
+ */
490
+ CompressType?: string
491
+ }
492
+
475
493
  /**
476
494
  * CreateLogset请求参数结构体
477
495
  */
@@ -600,7 +618,9 @@ export interface LogItem {
600
618
  */
601
619
  export interface SearchLogResponse {
602
620
  /**
603
- * 透传本次接口返回的Context值,可获取后续更多日志,过期时间1小时
621
+ * 透传本次接口返回的Context值,可获取后续更多日志,过期时间1小时。
622
+ 注意:
623
+ * 仅适用于单日志主题检索,检索多个日志主题时,请使用Topics中的Context
604
624
  */
605
625
  Context?: string
606
626
  /**
@@ -646,6 +666,11 @@ export interface SearchLogResponse {
646
666
  注意:此字段可能返回 null,表示取不到有效值。
647
667
  */
648
668
  SamplingRate?: number
669
+ /**
670
+ * 使用多日志主题检索时,各个日志主题的基本信息,例如报错信息。
671
+ 注意:此字段可能返回 null,表示取不到有效值。
672
+ */
673
+ Topics?: SearchLogTopics
649
674
  /**
650
675
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
651
676
  */
@@ -1874,6 +1899,25 @@ export interface DeleteExportResponse {
1874
1899
  RequestId?: string
1875
1900
  }
1876
1901
 
1902
+ /**
1903
+ * 多日志主题检索topic信息
1904
+ */
1905
+ export interface SearchLogInfos {
1906
+ /**
1907
+ * 日志主题ID
1908
+ */
1909
+ TopicId?: string
1910
+ /**
1911
+ * 日志存储生命周期
1912
+ */
1913
+ Period?: number
1914
+ /**
1915
+ * 透传本次接口返回的Context值,可获取后续更多日志,过期时间1小时
1916
+ 注意:此字段可能返回 null,表示取不到有效值。
1917
+ */
1918
+ Context?: string
1919
+ }
1920
+
1877
1921
  /**
1878
1922
  * 日志主题分区信息
1879
1923
  */
@@ -2718,21 +2762,19 @@ export interface DescribeConsumerResponse {
2718
2762
  }
2719
2763
 
2720
2764
  /**
2721
- * UploadLog请求参数结构体
2765
+ * 多主题检索返回信息
2722
2766
  */
2723
- export interface UploadLogRequest {
2767
+ export interface SearchLogTopics {
2724
2768
  /**
2725
- * 主题id
2726
- */
2727
- TopicId: string
2728
- /**
2729
- * 根据 hashkey 写入相应范围的主题分区
2769
+ * 多日志主题检索对应的错误信息
2770
+ 注意:此字段可能返回 null,表示取不到有效值。
2730
2771
  */
2731
- HashKey?: string
2772
+ Errors?: Array<SearchLogErrors>
2732
2773
  /**
2733
- * 压缩方法
2774
+ * 多日志主题检索各日志主题信息
2775
+ 注意:此字段可能返回 null,表示取不到有效值。
2734
2776
  */
2735
- CompressType?: string
2777
+ Infos?: Array<SearchLogInfos>
2736
2778
  }
2737
2779
 
2738
2780
  /**
@@ -3570,6 +3612,27 @@ export interface PreviewLogStatistic {
3570
3612
  DstTopicName?: string
3571
3613
  }
3572
3614
 
3615
+ /**
3616
+ * 多日志主题检索错误信息
3617
+ */
3618
+ export interface SearchLogErrors {
3619
+ /**
3620
+ * 日志主题ID
3621
+ 注意:此字段可能返回 null,表示取不到有效值。
3622
+ */
3623
+ TopicId?: string
3624
+ /**
3625
+ * 错误信息
3626
+ 注意:此字段可能返回 null,表示取不到有效值。
3627
+ */
3628
+ ErrorMsg?: string
3629
+ /**
3630
+ * 错误码
3631
+ 注意:此字段可能返回 null,表示取不到有效值。
3632
+ */
3633
+ ErrorCodeStr?: string
3634
+ }
3635
+
3573
3636
  /**
3574
3637
  * ModifyIndex请求参数结构体
3575
3638
  */
@@ -5160,11 +5223,11 @@ export interface SearchLogRequest {
5160
5223
  */
5161
5224
  Limit?: number
5162
5225
  /**
5163
- * 透传上次接口返回的Context值,可获取后续更多日志,总计最多可获取1万条原始日志,过期时间1小时
5226
+ * 透传上次接口返回的Context值,可获取后续更多日志,总计最多可获取1万条原始日志,过期时间1小时。
5164
5227
  注意:
5165
5228
  * 透传该参数时,请勿修改除该参数外的其它参数
5166
- * 仅当检索分析语句(Query)不包含SQL时有效
5167
- * SQL获取后续结果参考<a href="https://cloud.tencent.com/document/product/614/58977" target="_blank">SQL LIMIT语法</a>
5229
+ * 仅适用于单日志主题检索,检索多个日志主题时,请使用Topics中的Context
5230
+ * 仅当检索分析语句(Query)不包含SQL时有效,SQL获取后续结果参考<a href="https://cloud.tencent.com/document/product/614/58977" target="_blank">SQL LIMIT语法</a>
5168
5231
  */
5169
5232
  Context?: string
5170
5233
  /**
@@ -5669,7 +5732,7 @@ export interface CreateDataTransformRequest {
5669
5732
  */
5670
5733
  EnableFlag?: number
5671
5734
  /**
5672
- * 加工任务目的topic_id以及别名
5735
+ * 加工任务目的topic_id以及别名,当FuncType=1时,该参数必填,当FuncType=2时,无需填写
5673
5736
  */
5674
5737
  DstResources?: Array<DataTransformResouceInfo>
5675
5738
  /**
@@ -96,6 +96,7 @@ import {
96
96
  ShardZoneChooseInfo,
97
97
  RenewDCDBInstanceRequest,
98
98
  DescribeDBEncryptAttributesResponse,
99
+ Project,
99
100
  CreateTmpDCDBInstanceRequest,
100
101
  DatabaseTable,
101
102
  DescribeDBEncryptAttributesRequest,
@@ -183,6 +184,7 @@ import {
183
184
  CreateTmpDCDBInstanceResponse,
184
185
  CreateAccountResponse,
185
186
  IsolateDedicatedDBInstanceResponse,
187
+ DescribeLogFileRetentionPeriodResponse,
186
188
  RegionInfo,
187
189
  DescribeDatabaseObjectsRequest,
188
190
  UpgradeDCDBInstanceRequest,
@@ -200,7 +202,7 @@ import {
200
202
  DescribeDBSlowLogsResponse,
201
203
  DescribeDCDBRenewalPriceRequest,
202
204
  DescribeDCDBInstancesRequest,
203
- Project,
205
+ DescribeLogFileRetentionPeriodRequest,
204
206
  ModifyInstanceVportRequest,
205
207
  ModifyDBInstanceSecurityGroupsResponse,
206
208
  DestroyHourDCDBInstanceRequest,
@@ -677,13 +679,13 @@ export class Client extends AbstractClient {
677
679
  }
678
680
 
679
681
  /**
680
- * 本接口(DescribeProjects)用于查询项目列表
682
+ * 本接口(DescribeLogFileRetentionPeriod)用于查看数据库备份日志的备份天数的设置情况。
681
683
  */
682
- async DescribeProjects(
683
- req?: DescribeProjectsRequest,
684
- cb?: (error: string, rep: DescribeProjectsResponse) => void
685
- ): Promise<DescribeProjectsResponse> {
686
- return this.request("DescribeProjects", req, cb)
684
+ async DescribeLogFileRetentionPeriod(
685
+ req: DescribeLogFileRetentionPeriodRequest,
686
+ cb?: (error: string, rep: DescribeLogFileRetentionPeriodResponse) => void
687
+ ): Promise<DescribeLogFileRetentionPeriodResponse> {
688
+ return this.request("DescribeLogFileRetentionPeriod", req, cb)
687
689
  }
688
690
 
689
691
  /**
@@ -716,6 +718,16 @@ export class Client extends AbstractClient {
716
718
  return this.request("ModifyDBEncryptAttributes", req, cb)
717
719
  }
718
720
 
721
+ /**
722
+ * 本接口(DestroyHourDCDBInstance)用于TDSQL销毁按量计费实例。
723
+ */
724
+ async DestroyHourDCDBInstance(
725
+ req: DestroyHourDCDBInstanceRequest,
726
+ cb?: (error: string, rep: DestroyHourDCDBInstanceResponse) => void
727
+ ): Promise<DestroyHourDCDBInstanceResponse> {
728
+ return this.request("DestroyHourDCDBInstance", req, cb)
729
+ }
730
+
719
731
  /**
720
732
  * 本接口(DescribeAccounts)用于查询指定云数据库实例的账号列表。
721
733
  */
@@ -809,13 +821,13 @@ export class Client extends AbstractClient {
809
821
  }
810
822
 
811
823
  /**
812
- * 本接口(DestroyHourDCDBInstance)用于TDSQL销毁按量计费实例。
824
+ * 本接口(DescribeProjects)用于查询项目列表
813
825
  */
814
- async DestroyHourDCDBInstance(
815
- req: DestroyHourDCDBInstanceRequest,
816
- cb?: (error: string, rep: DestroyHourDCDBInstanceResponse) => void
817
- ): Promise<DestroyHourDCDBInstanceResponse> {
818
- return this.request("DestroyHourDCDBInstance", req, cb)
826
+ async DescribeProjects(
827
+ req?: DescribeProjectsRequest,
828
+ cb?: (error: string, rep: DescribeProjectsResponse) => void
829
+ ): Promise<DescribeProjectsResponse> {
830
+ return this.request("DescribeProjects", req, cb)
819
831
  }
820
832
 
821
833
  /**
@@ -1825,6 +1825,56 @@ export interface DescribeDBEncryptAttributesResponse {
1825
1825
  RequestId?: string
1826
1826
  }
1827
1827
 
1828
+ /**
1829
+ * 项目信息描述
1830
+ */
1831
+ export interface Project {
1832
+ /**
1833
+ * 项目ID
1834
+ */
1835
+ ProjectId: number
1836
+ /**
1837
+ * 资源拥有者(主账号)uin
1838
+ */
1839
+ OwnerUin: number
1840
+ /**
1841
+ * 应用Id
1842
+ */
1843
+ AppId: number
1844
+ /**
1845
+ * 项目名称
1846
+ */
1847
+ Name: string
1848
+ /**
1849
+ * 创建者uin
1850
+ */
1851
+ CreatorUin: number
1852
+ /**
1853
+ * 来源平台
1854
+ */
1855
+ SrcPlat: string
1856
+ /**
1857
+ * 来源AppId
1858
+ */
1859
+ SrcAppId: number
1860
+ /**
1861
+ * 项目状态,0正常,-1关闭。默认项目为3
1862
+ */
1863
+ Status: number
1864
+ /**
1865
+ * 创建时间
1866
+ */
1867
+ CreateTime: string
1868
+ /**
1869
+ * 是否默认项目,1 是,0 不是
1870
+ */
1871
+ IsDefault: number
1872
+ /**
1873
+ * 描述信息
1874
+ */
1875
+ Info: string
1876
+ }
1877
+
1828
1878
  /**
1829
1879
  * CreateTmpDCDBInstance请求参数结构体
1830
1880
  */
@@ -4086,6 +4136,24 @@ export interface IsolateDedicatedDBInstanceResponse {
4086
4136
  RequestId?: string
4087
4137
  }
4088
4138
 
4139
+ /**
4140
+ * DescribeLogFileRetentionPeriod返回参数结构体
4141
+ */
4142
+ export interface DescribeLogFileRetentionPeriodResponse {
4143
+ /**
4144
+ * 实例 ID,形如:tdsql-ow728lmc。
4145
+ */
4146
+ InstanceId: string
4147
+ /**
4148
+ * 日志备份天数
4149
+ */
4150
+ Days: number
4151
+ /**
4152
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4153
+ */
4154
+ RequestId?: string
4155
+ }
4156
+
4089
4157
  /**
4090
4158
  * 售卖可用区信息
4091
4159
  */
@@ -4576,53 +4644,13 @@ export interface DescribeDCDBInstancesRequest {
4576
4644
  }
4577
4645
 
4578
4646
  /**
4579
- * 项目信息描述
4647
+ * DescribeLogFileRetentionPeriod请求参数结构体
4580
4648
  */
4581
- export interface Project {
4582
- /**
4583
- * 项目ID
4584
- */
4585
- ProjectId: number
4586
- /**
4587
- * 资源拥有者(主账号)uin
4588
- */
4589
- OwnerUin: number
4590
- /**
4591
- * 应用Id
4592
- */
4593
- AppId: number
4649
+ export interface DescribeLogFileRetentionPeriodRequest {
4594
4650
  /**
4595
- * 项目名称
4596
- */
4597
- Name: string
4598
- /**
4599
- * 创建者uin
4600
- */
4601
- CreatorUin: number
4602
- /**
4603
- * 来源平台
4604
- */
4605
- SrcPlat: string
4606
- /**
4607
- * 来源AppId
4608
- */
4609
- SrcAppId: number
4610
- /**
4611
- * 项目状态,0正常,-1关闭。默认项目为3
4612
- */
4613
- Status: number
4614
- /**
4615
- * 创建时间
4616
- */
4617
- CreateTime: string
4618
- /**
4619
- * 是否默认项目,1 是,0 不是
4620
- */
4621
- IsDefault: number
4622
- /**
4623
- * 描述信息
4651
+ * 实例 ID,形如:tdsql-ow728lmc。
4624
4652
  */
4625
- Info: string
4653
+ InstanceId: string
4626
4654
  }
4627
4655
 
4628
4656
  /**
@@ -57,6 +57,7 @@ import {
57
57
  ChannelCreateConvertTaskApiRequest,
58
58
  ChannelCreateFlowByFilesRequest,
59
59
  ChannelRole,
60
+ ChannelCreatePreparedPersonalEsignResponse,
60
61
  FlowApproverDetail,
61
62
  DescribeResourceUrlsByFlowsResponse,
62
63
  ChannelCreateFlowGroupByFilesRequest,
@@ -106,6 +107,7 @@ import {
106
107
  FlowApproverInfo,
107
108
  ChannelCreateUserAutoSignEnableUrlResponse,
108
109
  ChannelGetTaskResultApiRequest,
110
+ ChannelCreatePreparedPersonalEsignRequest,
109
111
  FlowDetailInfo,
110
112
  CreateFlowsByTemplatesResponse,
111
113
  DescribeChannelFlowEvidenceReportRequest,
@@ -754,6 +756,16 @@ httpProfile.setEndpoint("file.test.ess.tencent.cn");
754
756
  return this.request("OperateChannelTemplate", req, cb)
755
757
  }
756
758
 
759
+ /**
760
+ * 本接口(ChannelCreatePreparedPersonalEsign)用于创建导入个人印章
761
+ */
762
+ async ChannelCreatePreparedPersonalEsign(
763
+ req: ChannelCreatePreparedPersonalEsignRequest,
764
+ cb?: (error: string, rep: ChannelCreatePreparedPersonalEsignResponse) => void
765
+ ): Promise<ChannelCreatePreparedPersonalEsignResponse> {
766
+ return this.request("ChannelCreatePreparedPersonalEsign", req, cb)
767
+ }
768
+
757
769
  /**
758
770
  * 接口(ChannelCreateFlowGroupByFiles)用于通过多文件创建合同组签署流程。
759
771
  */
@@ -1284,6 +1284,20 @@ export interface ChannelRole {
1284
1284
  RoleStatus?: number
1285
1285
  }
1286
1286
 
1287
+ /**
1288
+ * ChannelCreatePreparedPersonalEsign返回参数结构体
1289
+ */
1290
+ export interface ChannelCreatePreparedPersonalEsignResponse {
1291
+ /**
1292
+ * 导入的印章 ID
1293
+ */
1294
+ SealId?: string
1295
+ /**
1296
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1297
+ */
1298
+ RequestId?: string
1299
+ }
1300
+
1287
1301
  /**
1288
1302
  * 签署人的流程信息明细
1289
1303
  */
@@ -3091,6 +3105,48 @@ export interface ChannelGetTaskResultApiRequest {
3091
3105
  Organization?: OrganizationInfo
3092
3106
  }
3093
3107
 
3108
+ /**
3109
+ * ChannelCreatePreparedPersonalEsign请求参数结构体
3110
+ */
3111
+ export interface ChannelCreatePreparedPersonalEsignRequest {
3112
+ /**
3113
+ * 应用相关信息。 此接口Agent.ProxyOrganizationOpenId、Agent. ProxyOperator.OpenId、Agent.AppId 和 Agent.ProxyAppId 必填。
3114
+ */
3115
+ Agent: Agent
3116
+ /**
3117
+ * 个人用户名称
3118
+ */
3119
+ UserName: string
3120
+ /**
3121
+ * 身份证件号码
3122
+ */
3123
+ IdCardNumber: string
3124
+ /**
3125
+ * 印章图片的base64
3126
+ */
3127
+ SealImage: string
3128
+ /**
3129
+ * 印章名称
3130
+ */
3131
+ SealName: string
3132
+ /**
3133
+ * 操作者信息
3134
+ */
3135
+ Operator?: UserInfo
3136
+ /**
3137
+ * 身份证件类型
3138
+ */
3139
+ IdCardType?: string
3140
+ /**
3141
+ * 手机号码;当需要开通自动签时,该参数必传
3142
+ */
3143
+ Mobile?: string
3144
+ /**
3145
+ * 是否开通自动签,该功能需联系运营工作人员开通后使用
3146
+ */
3147
+ EnableAutoSign?: boolean
3148
+ }
3149
+
3094
3150
  /**
3095
3151
  * 此结构体(FlowDetailInfo)描述的是合同(流程)的详细信息
3096
3152
  */
@@ -750,33 +750,37 @@ export interface DescribeCallbackRecordsListRequest {
750
750
  */
751
751
  export interface CallbackEventInfo {
752
752
  /**
753
- * 事件时间
753
+ * 事件时间。
754
+ 数据时间点,接口返回支持两种时间格式:
755
+ 1)YYYY-MM-DDThh:mm:ssZ:UTC时间格式,详见ISO日期格式说明文档: https://cloud.tencent.com/document/product/266/11732#I
756
+ 2)yyyy-MM-dd HH:mm:ss:使用此格式时,默认代表北京时间。
757
+ 接口返回的时间格式和查询请求传入的时间格式一致。
754
758
  */
755
- EventTime: string
759
+ EventTime?: string
756
760
  /**
757
761
  * 事件类型
758
762
  */
759
- EventType: number
763
+ EventType?: number
760
764
  /**
761
765
  * 回调请求
762
766
  */
763
- Request: string
767
+ Request?: string
764
768
  /**
765
769
  * 回调响应
766
770
  */
767
- Response: string
771
+ Response?: string
768
772
  /**
769
773
  * 客户接口响应时间
770
774
  */
771
- ResponseTime: string
775
+ ResponseTime?: string
772
776
  /**
773
777
  * 回调结果
774
778
  */
775
- ResultCode: number
779
+ ResultCode?: number
776
780
  /**
777
781
  * 流名称
778
782
  */
779
- StreamId: string
783
+ StreamId?: string
780
784
  }
781
785
 
782
786
  /**
@@ -3189,27 +3193,27 @@ export interface StopLiveStreamMonitorResponse {
3189
3193
  export interface DayStreamPlayInfo {
3190
3194
  /**
3191
3195
  * 数据时间点,接口返回支持两种时间格式:
3192
- 1)YYYY-MM-DDThh:mm:ssZ:UTC时间格式,详见IOS日期格式说明文档: https://cloud.tencent.com/document/product/266/11732#I
3196
+ 1)YYYY-MM-DDThh:mm:ssZ:UTC时间格式,详见ISO日期格式说明文档: https://cloud.tencent.com/document/product/266/11732#I
3193
3197
  2)yyyy-MM-dd HH:mm:ss:使用此格式时,默认代表北京时间。
3194
3198
  接口返回的时间格式和查询请求传入的时间格式一致。
3195
3199
  */
3196
- Time: string
3200
+ Time?: string
3197
3201
  /**
3198
3202
  * 带宽(单位Mbps)。
3199
3203
  */
3200
- Bandwidth: number
3204
+ Bandwidth?: number
3201
3205
  /**
3202
3206
  * 流量 (单位MB)。
3203
3207
  */
3204
- Flux: number
3208
+ Flux?: number
3205
3209
  /**
3206
3210
  * 请求数。
3207
3211
  */
3208
- Request: number
3212
+ Request?: number
3209
3213
  /**
3210
3214
  * 在线人数。
3211
3215
  */
3212
- Online: number
3216
+ Online?: number
3213
3217
  }
3214
3218
 
3215
3219
  /**
@@ -208,7 +208,7 @@ import {
208
208
  Filter,
209
209
  RetentionExecution,
210
210
  DescribeWebhookTriggerLogRequest,
211
- ManageReplicationResponse,
211
+ DuplicateImageResponse,
212
212
  DescribeReplicationInstanceCreateTasksRequest,
213
213
  ModifyWebhookTriggerResponse,
214
214
  RepoInfo,
@@ -228,6 +228,7 @@ import {
228
228
  Header,
229
229
  DescribeReplicationInstancesResponse,
230
230
  CreateSecurityPolicyRequest,
231
+ ManageReplicationResponse,
231
232
  CustomAccount,
232
233
  DeleteImageAccelerateServiceResponse,
233
234
  CVEWhitelistItem,
@@ -298,6 +299,7 @@ import {
298
299
  ModifyUserPasswordPersonalRequest,
299
300
  DeleteRepositoryRequest,
300
301
  CreateInternalEndpointDnsResponse,
302
+ DuplicateImageRequest,
301
303
  CreateTagRetentionExecutionRequest,
302
304
  DeleteCustomAccountRequest,
303
305
  DescribeInstanceAllNamespacesResponse,
@@ -1349,6 +1351,16 @@ export class Client extends AbstractClient {
1349
1351
  return this.request("ManageInternalEndpoint", req, cb)
1350
1352
  }
1351
1353
 
1354
+ /**
1355
+ * 用于在企业版镜像仓库中复制镜像版本
1356
+ */
1357
+ async DuplicateImage(
1358
+ req: DuplicateImageRequest,
1359
+ cb?: (error: string, rep: DuplicateImageResponse) => void
1360
+ ): Promise<DuplicateImageResponse> {
1361
+ return this.request("DuplicateImage", req, cb)
1362
+ }
1363
+
1352
1364
  /**
1353
1365
  * 查询实例当前状态以及过程信息
1354
1366
  */
@@ -3677,9 +3677,9 @@ export interface DescribeWebhookTriggerLogRequest {
3677
3677
  }
3678
3678
 
3679
3679
  /**
3680
- * ManageReplication返回参数结构体
3680
+ * DuplicateImage返回参数结构体
3681
3681
  */
3682
- export interface ManageReplicationResponse {
3682
+ export interface DuplicateImageResponse {
3683
3683
  /**
3684
3684
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3685
3685
  */
@@ -4049,6 +4049,16 @@ export interface CreateSecurityPolicyRequest {
4049
4049
  Description: string
4050
4050
  }
4051
4051
 
4052
+ /**
4053
+ * ManageReplication返回参数结构体
4054
+ */
4055
+ export interface ManageReplicationResponse {
4056
+ /**
4057
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4058
+ */
4059
+ RequestId?: string
4060
+ }
4061
+
4052
4062
  /**
4053
4063
  * 自定义账户
4054
4064
  */
@@ -5317,6 +5327,44 @@ export interface CreateInternalEndpointDnsResponse {
5317
5327
  RequestId?: string
5318
5328
  }
5319
5329
 
5330
+ /**
5331
+ * DuplicateImage请求参数结构体
5332
+ */
5333
+ export interface DuplicateImageRequest {
5334
+ /**
5335
+ * 实例id
5336
+ */
5337
+ RegistryId: string
5338
+ /**
5339
+ * 源命名空间名称
5340
+ */
5341
+ SourceNamespace: string
5342
+ /**
5343
+ * 源镜像仓库名称
5344
+ */
5345
+ SourceRepo: string
5346
+ /**
5347
+ * 源镜像tag或digest值,目前仅支持tag
5348
+ */
5349
+ SourceReference: string
5350
+ /**
5351
+ * 目标镜像版本
5352
+ */
5353
+ DestinationTag: string
5354
+ /**
5355
+ * 目标命名空间,不填默认与源一致
5356
+ */
5357
+ DestinationNamespace?: string
5358
+ /**
5359
+ * 目标镜像仓库,不填默认与源一致
5360
+ */
5361
+ DestinationRepo?: string
5362
+ /**
5363
+ * 是否覆盖
5364
+ */
5365
+ Override?: boolean
5366
+ }
5367
+
5320
5368
  /**
5321
5369
  * CreateTagRetentionExecution请求参数结构体
5322
5370
  */