tencentcloud-sdk-nodejs 4.1.315 → 4.1.317

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 (76) hide show
  1. package/es/common/sdk_version.js +1 -1
  2. package/es/services/aiart/v20221229/aiart_client.js +23 -38
  3. package/es/services/apm/v20210622/apm_client.js +3 -0
  4. package/es/services/databuddy/v20260715/databuddy_client.js +53 -35
  5. package/es/services/dbbrain/v20210527/dbbrain_client.js +3 -0
  6. package/es/services/hai/v20230812/hai_client.js +3 -0
  7. package/es/services/index.js +1 -0
  8. package/es/services/live/v20180801/live_client.js +37 -10
  9. package/es/services/tcb/v20180608/tcb_client.js +9 -0
  10. package/es/services/teo/v20220901/teo_client.js +6 -0
  11. package/es/services/trocket/v20230308/trocket_client.js +25 -4
  12. package/es/services/workbuddyenterprise/index.js +4 -0
  13. package/es/services/workbuddyenterprise/v20260709/index.js +6 -0
  14. package/es/services/workbuddyenterprise/v20260709/workbuddyenterprise_client.js +81 -0
  15. package/es/services/workbuddyenterprise/v20260709/workbuddyenterprise_models.js +1 -0
  16. package/package.json +1 -1
  17. package/tencentcloud/common/sdk_version.d.ts +1 -1
  18. package/tencentcloud/common/sdk_version.js +1 -1
  19. package/tencentcloud/services/aiart/v20221229/aiart_client.d.ts +59 -84
  20. package/tencentcloud/services/aiart/v20221229/aiart_client.js +73 -108
  21. package/tencentcloud/services/aiart/v20221229/aiart_models.d.ts +83 -376
  22. package/tencentcloud/services/apm/v20210622/apm_client.d.ts +5 -1
  23. package/tencentcloud/services/apm/v20210622/apm_client.js +6 -0
  24. package/tencentcloud/services/apm/v20210622/apm_models.d.ts +13 -0
  25. package/tencentcloud/services/cfw/v20190904/cfw_models.d.ts +10 -6
  26. package/tencentcloud/services/clb/v20180317/clb_client.d.ts +1 -1
  27. package/tencentcloud/services/clb/v20180317/clb_models.d.ts +181 -81
  28. package/tencentcloud/services/cls/v20201016/cls_client.d.ts +1 -1
  29. package/tencentcloud/services/cls/v20201016/cls_models.d.ts +217 -1
  30. package/tencentcloud/services/csip/v20221121/csip_models.d.ts +25 -13
  31. package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +12 -0
  32. package/tencentcloud/services/databuddy/v20260715/databuddy_client.d.ts +102 -78
  33. package/tencentcloud/services/databuddy/v20260715/databuddy_client.js +132 -96
  34. package/tencentcloud/services/databuddy/v20260715/databuddy_models.d.ts +743 -342
  35. package/tencentcloud/services/dbbrain/v20210527/dbbrain_client.d.ts +5 -1
  36. package/tencentcloud/services/dbbrain/v20210527/dbbrain_client.js +6 -0
  37. package/tencentcloud/services/dbbrain/v20210527/dbbrain_models.d.ts +288 -18
  38. package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +50 -42
  39. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +31 -45
  40. package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +1 -1
  41. package/tencentcloud/services/fwm/v20250611/fwm_models.d.ts +6 -6
  42. package/tencentcloud/services/hai/v20230812/hai_client.d.ts +5 -1
  43. package/tencentcloud/services/hai/v20230812/hai_client.js +6 -0
  44. package/tencentcloud/services/hai/v20230812/hai_models.d.ts +73 -43
  45. package/tencentcloud/services/hunyuan/v20230901/hunyuan_client.d.ts +63 -21
  46. package/tencentcloud/services/hunyuan/v20230901/hunyuan_client.js +63 -21
  47. package/tencentcloud/services/index.d.ts +1 -0
  48. package/tencentcloud/services/index.js +3 -1
  49. package/tencentcloud/services/iss/v20230517/iss_models.d.ts +118 -79
  50. package/tencentcloud/services/live/v20180801/live_client.d.ts +47 -11
  51. package/tencentcloud/services/live/v20180801/live_client.js +69 -15
  52. package/tencentcloud/services/live/v20180801/live_models.d.ts +547 -177
  53. package/tencentcloud/services/mps/v20190612/mps_models.d.ts +27 -18
  54. package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +0 -8
  55. package/tencentcloud/services/tcb/v20180608/tcb_client.d.ts +13 -1
  56. package/tencentcloud/services/tcb/v20180608/tcb_client.js +18 -0
  57. package/tencentcloud/services/tcb/v20180608/tcb_models.d.ts +131 -0
  58. package/tencentcloud/services/tdai/v20250717/tdai_models.d.ts +8 -0
  59. package/tencentcloud/services/teo/v20220901/teo_client.d.ts +13 -1
  60. package/tencentcloud/services/teo/v20220901/teo_client.js +16 -0
  61. package/tencentcloud/services/teo/v20220901/teo_models.d.ts +183 -66
  62. package/tencentcloud/services/thpc/v20230321/thpc_models.d.ts +1 -1
  63. package/tencentcloud/services/tione/v20211111/tione_models.d.ts +42 -39
  64. package/tencentcloud/services/trocket/v20230308/trocket_client.d.ts +40 -12
  65. package/tencentcloud/services/trocket/v20230308/trocket_client.js +55 -13
  66. package/tencentcloud/services/trocket/v20230308/trocket_models.d.ts +629 -172
  67. package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +206 -143
  68. package/tencentcloud/services/waf/v20180125/waf_models.d.ts +24 -25
  69. package/tencentcloud/services/workbuddyenterprise/index.d.ts +6 -0
  70. package/tencentcloud/services/workbuddyenterprise/index.js +7 -0
  71. package/tencentcloud/services/workbuddyenterprise/v20260709/index.d.ts +6 -0
  72. package/tencentcloud/services/workbuddyenterprise/v20260709/index.js +10 -0
  73. package/tencentcloud/services/workbuddyenterprise/v20260709/workbuddyenterprise_client.d.ts +110 -0
  74. package/tencentcloud/services/workbuddyenterprise/v20260709/workbuddyenterprise_client.js +181 -0
  75. package/tencentcloud/services/workbuddyenterprise/v20260709/workbuddyenterprise_models.d.ts +2100 -0
  76. package/tencentcloud/services/workbuddyenterprise/v20260709/workbuddyenterprise_models.js +18 -0
@@ -778,6 +778,14 @@ export interface AdvancedConsumerConfiguration {
778
778
  * DescribeResourceGraphEntities返回参数结构体
779
779
  */
780
780
  export interface DescribeResourceGraphEntitiesResponse {
781
+ /**
782
+ * <p>实体列表</p>
783
+ */
784
+ EntityInfos?: Array<EntityInfo>;
785
+ /**
786
+ * <p>是否还有下一页</p><p>枚举值:</p><ul><li>0: 没有下一页</li><li>1: 还有下一页</li></ul>
787
+ */
788
+ HasMore?: number;
781
789
  /**
782
790
  * <p>分页的游标,有值则下次分页请求原样带上,无值则表示无下一页</p>
783
791
  */
@@ -1830,6 +1838,19 @@ export interface ModifyDataTransformRequest {
1830
1838
  */
1831
1839
  EnvInfos?: Array<EnvInfo>;
1832
1840
  }
1841
+ /**
1842
+ * 拓扑图(节点 + 边)
1843
+ */
1844
+ export interface DependencyTopology {
1845
+ /**
1846
+ * 节点列表
1847
+ */
1848
+ Nodes?: Array<TopologyNode>;
1849
+ /**
1850
+ * 边列表
1851
+ */
1852
+ Edges?: Array<TopologyEdge>;
1853
+ }
1833
1854
  /**
1834
1855
  * CreateDlcDeliver请求参数结构体
1835
1856
  */
@@ -3697,6 +3718,19 @@ export interface HistogramInfo {
3697
3718
  */
3698
3719
  BTime?: number;
3699
3720
  }
3721
+ /**
3722
+ * 实体动态属性 KV
3723
+ */
3724
+ export interface EntityAttribute {
3725
+ /**
3726
+ * 属性 key
3727
+ */
3728
+ Key?: string;
3729
+ /**
3730
+ * 属性 value
3731
+ */
3732
+ Value?: string;
3733
+ }
3700
3734
  /**
3701
3735
  * DescribeTopicMetricConfigs请求参数结构体
3702
3736
  */
@@ -4295,6 +4329,10 @@ export interface UploadLogRequest {
4295
4329
  * DescribeResourceGraphEntityDependency返回参数结构体
4296
4330
  */
4297
4331
  export interface DescribeResourceGraphEntityDependencyResponse {
4332
+ /**
4333
+ * <p>拓扑图(节点 + 边)</p>
4334
+ */
4335
+ Topology?: DependencyTopology;
4298
4336
  /**
4299
4337
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4300
4338
  */
@@ -5286,6 +5324,35 @@ export interface DescribeMetricCorrectDimensionResponse {
5286
5324
  */
5287
5325
  RequestId?: string;
5288
5326
  }
5327
+ /**
5328
+ * 拓扑节点
5329
+ */
5330
+ export interface TopologyNode {
5331
+ /**
5332
+ * <p>实体 ID</p>
5333
+ */
5334
+ EntityId?: string;
5335
+ /**
5336
+ * <p>实体名称</p>
5337
+ */
5338
+ Name?: string;
5339
+ /**
5340
+ * <p>实体所属域</p>
5341
+ */
5342
+ Domain?: string;
5343
+ /**
5344
+ * <p>实体所在产品</p>
5345
+ */
5346
+ Product?: string;
5347
+ /**
5348
+ * <p>实体类型</p>
5349
+ */
5350
+ EntityClassName?: string;
5351
+ /**
5352
+ * <p>距离中心节点深度</p>
5353
+ */
5354
+ Depth?: number;
5355
+ }
5289
5356
  /**
5290
5357
  * ModifyAlarmNotice请求参数结构体
5291
5358
  */
@@ -9475,6 +9542,10 @@ export interface DescribeConsumerRequest {
9475
9542
  * CreateResourceGraph返回参数结构体
9476
9543
  */
9477
9544
  export interface CreateResourceGraphResponse {
9545
+ /**
9546
+ * <p>资源图谱id</p>
9547
+ */
9548
+ ResourceGraphId?: string;
9478
9549
  /**
9479
9550
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
9480
9551
  */
@@ -10074,6 +10145,47 @@ export interface CreateHostMetricConfigRequest {
10074
10145
  */
10075
10146
  HostMetricItems: Array<HostMetricItem>;
10076
10147
  }
10148
+ /**
10149
+ * 实体详情
10150
+ */
10151
+ export interface EntityInfo {
10152
+ /**
10153
+ * <p>实体 ID</p>
10154
+ */
10155
+ EntityId?: string;
10156
+ /**
10157
+ * <p>实体所属域</p><p>默认值:实体所在域,如TC,App</p>
10158
+ */
10159
+ Domain?: string;
10160
+ /**
10161
+ * <p>实体所属产品</p><p>参数格式:实体归属的产品,如CDB, Application</p>
10162
+ */
10163
+ Product?: string;
10164
+ /**
10165
+ * <p>实体名称</p>
10166
+ */
10167
+ EntityName?: string;
10168
+ /**
10169
+ * <p>实体类名称</p><p>参数格式:TC.CDB.Instance</p>
10170
+ */
10171
+ EntityClassName?: string;
10172
+ /**
10173
+ * <p>动态属性(base 在前 + 字典序)</p>
10174
+ */
10175
+ Attributes?: Array<EntityAttribute>;
10176
+ /**
10177
+ * <p>标签列表</p>
10178
+ */
10179
+ Tags?: Array<Tag>;
10180
+ /**
10181
+ * <p>关联日志主题</p>
10182
+ */
10183
+ RelatedLogTopics?: Array<RelatedTopicItem>;
10184
+ /**
10185
+ * <p> 实体资源ID </p>
10186
+ */
10187
+ ResourceId?: string;
10188
+ }
10077
10189
  /**
10078
10190
  * DataSight访问控制规则
10079
10191
  */
@@ -11488,6 +11600,10 @@ export interface ModifyResourceGraphProductIngestTaskResponse {
11488
11600
  * DescribeResourceGraphEntityDetail返回参数结构体
11489
11601
  */
11490
11602
  export interface DescribeResourceGraphEntityDetailResponse {
11603
+ /**
11604
+ * <p>实体信息</p>
11605
+ */
11606
+ EntityInfo?: EntityInfo;
11491
11607
  /**
11492
11608
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
11493
11609
  */
@@ -11996,6 +12112,27 @@ export interface DescribeMachineGroupConfigsRequest {
11996
12112
  */
11997
12113
  GroupId: string;
11998
12114
  }
12115
+ /**
12116
+ * 已关联主题
12117
+ */
12118
+ export interface RelatedTopicItem {
12119
+ /**
12120
+ * <p>主题 ID</p>
12121
+ */
12122
+ TopicId?: string;
12123
+ /**
12124
+ * <p>主题地域</p>
12125
+ */
12126
+ Region?: string;
12127
+ /**
12128
+ * <p>日志类型</p><p>枚举值:</p><ul><li>Auditlog: 审计日志</li><li>Eventlog: 事件日志</li><li>ComponentLog: 组件日志</li></ul>
12129
+ */
12130
+ LogType?: string;
12131
+ /**
12132
+ * <p>日志类型, 0: 日志主题 ; 1: 指标主题</p><p>枚举值:</p><ul><li>0: 日志主题</li><li>1: 指标主题</li></ul>
12133
+ */
12134
+ BizType?: number;
12135
+ }
11999
12136
  /**
12000
12137
  * DescribeSearchViews请求参数结构体
12001
12138
  */
@@ -12937,7 +13074,20 @@ export interface S3RechargeInfo {
12937
13074
  /**
12938
13075
  * DescribeResourceGraphs请求参数结构体
12939
13076
  */
12940
- export type DescribeResourceGraphsRequest = null;
13077
+ export interface DescribeResourceGraphsRequest {
13078
+ /**
13079
+ * <ul><li>ResourceGraphId 按【资源图谱 ID】精确匹配。类型:String。必选:否</li><li>Name 按【资源图谱名称】模糊匹配。类型:String。必选:否</li><li>Status 按【状态】模糊匹配。类型:int。必选:否;0:初始化中;1:就绪;2:创建失败;3:删除中;5:删除失败</li><li>tagKey 按照【标签键】进行过滤。类型:String。必选:否</li><li>tag:tagKey 按照【标签键值对】进行过滤。tagKey 使用具体的标签键进行替换,例如 tag:exampleKey。类型:String。必选:否</li></ul>注意:每次请求的 Filters 上限 10,Filter.Values 上限 100。
13080
+ */
13081
+ Filters?: Array<Filter>;
13082
+ /**
13083
+ * <p>分页偏移量</p><p>默认值:0</p>
13084
+ */
13085
+ Offset?: number;
13086
+ /**
13087
+ * <p>分页单页数量</p><p>取值范围:[0, 100]</p><p>默认值:20</p>
13088
+ */
13089
+ Limit?: number;
13090
+ }
12941
13091
  /**
12942
13092
  * DescribeIndex请求参数结构体
12943
13093
  */
@@ -13005,6 +13155,23 @@ export interface DescribeKafkaConsumerGroupListRequest {
13005
13155
  */
13006
13156
  Limit?: number;
13007
13157
  }
13158
+ /**
13159
+ * 拓扑边
13160
+ */
13161
+ export interface TopologyEdge {
13162
+ /**
13163
+ * <p>源实体 ID</p>
13164
+ */
13165
+ SrcEntityId?: string;
13166
+ /**
13167
+ * <p>目的实体 ID</p>
13168
+ */
13169
+ DstEntityId?: string;
13170
+ /**
13171
+ * <p>关系类型:contains / same_as / calls</p><p>枚举值:</p><ul><li>contains: 包含关系,A 包含 B</li><li>same_as: 等价关系,A 等价 B</li><li>calls: 调用关系, A 调用 B</li></ul><p>默认值:-</p>
13172
+ */
13173
+ RelationType?: string;
13174
+ }
13008
13175
  /**
13009
13176
  * CreateConsole请求参数结构体
13010
13177
  */
@@ -13880,6 +14047,14 @@ export interface DashboardSubscribeData {
13880
14047
  * DescribeResourceGraphs返回参数结构体
13881
14048
  */
13882
14049
  export interface DescribeResourceGraphsResponse {
14050
+ /**
14051
+ * <p>资源图谱信息</p>
14052
+ */
14053
+ ResourceGraphInfos?: Array<ResourceGraphInfo>;
14054
+ /**
14055
+ * <p>总数</p>
14056
+ */
14057
+ TotalCount?: number;
13883
14058
  /**
13884
14059
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
13885
14060
  */
@@ -13924,6 +14099,47 @@ export interface QueryRangeMetricResponse {
13924
14099
  */
13925
14100
  RequestId?: string;
13926
14101
  }
14102
+ /**
14103
+ * 资源图谱基本信息
14104
+ */
14105
+ export interface ResourceGraphInfo {
14106
+ /**
14107
+ * <p>资源图谱id</p>
14108
+ */
14109
+ ResourceGraphId?: string;
14110
+ /**
14111
+ * <p>工作区名称</p>
14112
+ */
14113
+ Name?: string;
14114
+ /**
14115
+ * <p>工作区描述</p>
14116
+ */
14117
+ Description?: string;
14118
+ /**
14119
+ * <p>工作区状态</p><p>枚举值:</p><ul><li>0: 初始化中</li><li>1: 成功</li><li>2: 失败</li><li>3: 删除中</li><li>4: 已删除</li><li>5: 删除失败</li></ul>
14120
+ */
14121
+ Status?: number;
14122
+ /**
14123
+ * <p>创建时间</p>
14124
+ */
14125
+ CreateTime?: number;
14126
+ /**
14127
+ * <p>更新时间</p>
14128
+ */
14129
+ UpdateTime?: number;
14130
+ /**
14131
+ * <p>关联的日志集</p>
14132
+ */
14133
+ RelationLogset?: RelationLogset;
14134
+ /**
14135
+ * <p>关联的topic</p>
14136
+ */
14137
+ RelationTopics?: Array<RelationTopic>;
14138
+ /**
14139
+ * <p>工作区绑定的标签信息</p>
14140
+ */
14141
+ Tags?: Array<Tag>;
14142
+ }
13927
14143
  /**
13928
14144
  * DescribeDashboardSubscribes返回参数结构体
13929
14145
  */
@@ -32902,57 +32902,69 @@ export interface ComplianceTermItem {
32902
32902
  */
32903
32903
  export interface BackupLog {
32904
32904
  /**
32905
- * 索引
32905
+ * <p>索引</p>
32906
32906
  */
32907
32907
  Id: number;
32908
32908
  /**
32909
- * 索引开始时间
32909
+ * <p>索引开始时间</p>
32910
32910
  */
32911
32911
  IndexStartTime: number;
32912
32912
  /**
32913
- * 索引结束时间
32913
+ * <p>索引结束时间</p>
32914
32914
  */
32915
32915
  IndexEndTime: number;
32916
32916
  /**
32917
- * 备份后压缩的大小,单位M
32917
+ * <p>备份后压缩的大小,单位M</p>
32918
32918
  */
32919
32919
  BackupSize: number;
32920
32920
  /**
32921
- * 日志状态 0备份未完成, 1备份文件,2恢复中,3已恢复,4.已删除
32921
+ * <p>日志状态 0备份未完成, 1备份文件,2恢复中,3已恢复,4.已删除</p>
32922
32922
  */
32923
32923
  Status: number;
32924
32924
  /**
32925
- * 恢复剩余的分钟数,分钟,需要前端转换
32925
+ * <p>恢复剩余的分钟数,分钟,需要前端转换</p>
32926
32926
  */
32927
32927
  RestoreProcessRemindTime?: number;
32928
32928
  /**
32929
- * 恢复日志保留的时间
32929
+ * <p>恢复日志保留的时间</p>
32930
32930
  */
32931
32931
  RestoreRemindTime?: number;
32932
32932
  /**
32933
- * 恢复索引大小
32933
+ * <p>恢复索引大小</p>
32934
32934
  */
32935
32935
  RestoreIndexSize?: number;
32936
32936
  /**
32937
- * 恢复日志执行结束时间
32937
+ * <p>恢复日志执行结束时间</p>
32938
32938
  */
32939
32939
  RestoreEndTime?: number;
32940
32940
  /**
32941
- * 备份所属的appId
32941
+ * <p>备份所属的appId</p>
32942
32942
  */
32943
32943
  AppId?: number;
32944
32944
  /**
32945
- * 备份所属的资产ID
32945
+ * <p>备份所属的资产ID</p>
32946
32946
  */
32947
32947
  AssetId?: number;
32948
32948
  /**
32949
- * 账号昵称
32949
+ * <p>账号昵称</p>
32950
32950
  */
32951
32951
  NickName?: string;
32952
32952
  /**
32953
- * 资产所属账号uin
32953
+ * <p>资产所属账号uin</p>
32954
32954
  */
32955
32955
  Uin?: string;
32956
+ /**
32957
+ * <p>实例ID</p>
32958
+ */
32959
+ InstanceId?: string;
32960
+ /**
32961
+ * <p>实例名称</p>
32962
+ */
32963
+ InstanceName?: string;
32964
+ /**
32965
+ * <p>实例类型</p><p>枚举值:</p><ul><li>cdb: cdb</li><li>mariadb: mariadb</li></ul>
32966
+ */
32967
+ AssetType?: string;
32956
32968
  }
32957
32969
  /**
32958
32970
  * CreateEdrLessAlertExportJob返回参数结构体
@@ -7754,6 +7754,18 @@ export interface CynosdbInstanceDetail {
7754
7754
  * <p>集群的读写实例所在可用区</p>
7755
7755
  */
7756
7756
  MasterZone?: string;
7757
+ /**
7758
+ * <p>实例的真实可用区</p>
7759
+ */
7760
+ RealZone?: string;
7761
+ /**
7762
+ * <p>备可用区列表</p>
7763
+ */
7764
+ SlaveZones?: Array<string>;
7765
+ /**
7766
+ * <p>存储版本</p><p>枚举值:</p><ul><li>1.0: 1.0版本存储</li><li>2.0: 2.0版本存储</li></ul>
7767
+ */
7768
+ StorageVersion?: string;
7757
7769
  }
7758
7770
  /**
7759
7771
  * DescribeBackupDownloadRestriction请求参数结构体
@@ -1,6 +1,6 @@
1
1
  import { AbstractClient } from "../../../common/abstract_client";
2
2
  import { ClientConfig } from "../../../common/interface";
3
- import { UpdateConsoleUsersResponse, DeleteWorkflowResponse, ListConsoleUsersResponse, RemoveConsoleUsersResponse, DeleteWorkflowRequest, ListWorkflowTaskRunsRequest, CreateWorkflowRequest, CreateFileResponse, UpdateWorkflowRequest, UnbindWorkflowBundleResponse, KillWorkflowRunResponse, ListWorkflowsRequest, ListWorkflowRunsRequest, GetWorkflowTaskRunResponse, GetFileRequest, RerunWorkflowRunResponse, GetFileResponse, RerunWorkflowRunRequest, ListWorkflowsResponse, AddConsoleUsersRequest, KillWorkflowRunRequest, ListWorkflowTaskRunsResponse, AddConsoleUsersResponse, RunWorkflowRequest, GetWorkflowResponse, GetWorkflowTaskRunRequest, DeleteFileResponse, UpdateWorkflowResponse, GetWorkflowRequest, CreateFileRequest, UpdateFileRequest, GetWorkflowRunRequest, RemoveConsoleUsersRequest, RunWorkflowResponse, ListConsoleUsersRequest, ListWorkflowRunsResponse, CreateWorkflowResponse, DeleteFileRequest, GetWorkflowRunResponse, UnbindWorkflowBundleRequest, UpdateFileResponse, UpdateConsoleUsersRequest } from "./databuddy_models";
3
+ import { ListConsoleGroupUsersRequest, ListConsoleGroupsRequest, UpdateConsoleUsersResponse, DeleteWorkflowResponse, ListConsoleUsersResponse, RemoveConsoleUsersResponse, DeleteWorkflowRequest, ListWorkflowTaskRunsRequest, CreateWorkflowRequest, CreateFileResponse, UpdateWorkflowRequest, UnbindWorkflowBundleResponse, KillWorkflowRunResponse, ListWorkflowsRequest, ListWorkflowRunsRequest, GetWorkflowTaskRunResponse, GetFileRequest, RerunWorkflowRunResponse, GetFileResponse, ListConsoleGroupUsersResponse, CreateConsoleGroupRequest, RerunWorkflowRunRequest, ListWorkflowsResponse, AddConsoleUsersRequest, KillWorkflowRunRequest, ListWorkflowTaskRunsResponse, AddConsoleUsersResponse, ListConsoleGroupsResponse, RunWorkflowRequest, UpdateConsoleGroupRequest, GetWorkflowResponse, GetWorkflowTaskRunRequest, DeleteFileResponse, CreateConsoleGroupResponse, DeleteConsoleGroupsRequest, UpdateWorkflowResponse, GetWorkflowRequest, CreateFileRequest, UpdateFileRequest, GetWorkflowRunRequest, RemoveConsoleUsersRequest, RunWorkflowResponse, ListConsoleUsersRequest, ListWorkflowRunsResponse, UpdateConsoleGroupResponse, DeleteConsoleGroupsResponse, CreateWorkflowResponse, ListConsoleRolesRequest, DeleteFileRequest, GetWorkflowRunResponse, UnbindWorkflowBundleRequest, ListConsoleRolesResponse, UpdateFileResponse, UpdateConsoleUsersRequest } from "./databuddy_models";
4
4
  /**
5
5
  * databuddy client
6
6
  * @class
@@ -8,17 +8,9 @@ import { UpdateConsoleUsersResponse, DeleteWorkflowResponse, ListConsoleUsersRes
8
8
  export declare class Client extends AbstractClient {
9
9
  constructor(clientConfig: ClientConfig);
10
10
  /**
11
- * 重跑工作流
12
- */
13
- RerunWorkflowRun(req: RerunWorkflowRunRequest, cb?: (error: string, rep: RerunWorkflowRunResponse) => void): Promise<RerunWorkflowRunResponse>;
14
- /**
15
- * <p>批量移除控制台用户(单次最多10个;前置校验任一不满足整体拒绝;执行阶段单个失败不中断后续删除,成败以 SuccessUins/FailItems 为准)</p>
16
- */
17
- RemoveConsoleUsers(req: RemoveConsoleUsersRequest, cb?: (error: string, rep: RemoveConsoleUsersResponse) => void): Promise<RemoveConsoleUsersResponse>;
18
- /**
19
- * 创建工作流
11
+ * 更新工作流
20
12
  */
21
- CreateWorkflow(req: CreateWorkflowRequest, cb?: (error: string, rep: CreateWorkflowResponse) => void): Promise<CreateWorkflowResponse>;
13
+ UpdateWorkflow(req: UpdateWorkflowRequest, cb?: (error: string, rep: UpdateWorkflowResponse) => void): Promise<UpdateWorkflowResponse>;
22
14
  /**
23
15
  * 添加控制台用户
24
16
  */
@@ -27,44 +19,6 @@ export declare class Client extends AbstractClient {
27
19
  * 获取工作流详细信息
28
20
  */
29
21
  GetWorkflow(req: GetWorkflowRequest, cb?: (error: string, rep: GetWorkflowResponse) => void): Promise<GetWorkflowResponse>;
30
- /**
31
- * 查询工作流运行详情
32
- */
33
- GetWorkflowRun(req: GetWorkflowRunRequest, cb?: (error: string, rep: GetWorkflowRunResponse) => void): Promise<GetWorkflowRunResponse>;
34
- /**
35
- * 更新文件内容与运行配置(计算资源、默认 catalog/schema、参数等),返回更新后的文件元信息。
36
-
37
- **前置条件**
38
- 1. FileId 对应文件必须存在且为活跃状态;
39
- 2. 调用方对该文件有写权限;
40
- 3. 仅更新配置时不传 Storage;仅更新内容时不传 FileConfig;
41
- 4. FileConfig.ResourceId 非空时会校验资源类型与文件类型的匹配性。
42
-
43
- **错误码(Module 均为 `Studio`)**
44
-
45
- | 错误码(Code) | InnerCode | 描述 | 处理建议 |
46
- | --- | --- | --- | --- |
47
- | `MissingParameter.WorkspaceId` | 1030001 | 缺少 WorkspaceId | 请传入 WorkspaceId |
48
- | `MissingParameter.FileId` | 1030003 | 缺少 FileId | 请传入 FileId |
49
- | `InvalidParameterValue.FileType` | 1030102 | FileType 取值不支持 | FileType 取 FILE/NOTEBOOK_FILE/SQL_FILE |
50
- | `InvalidParameterValue.ResourceId` | 1030104 | 计算资源类型与文件类型不匹配 | Python/Notebook 选数据计算资源,SQL 选数据分析资源 |
51
- | `ResourceNotFound.FileNotFound` | 1030203 | 文件不存在或已删除 | 请确认 FileId,或调用 GetFile 校验文件状态 |
52
- | `UnauthorizedOperation.FileWriteDenied` | 1030302 | 对该文件无写权限 | 请联系文件负责人或空间管理员授权 |
53
- | `FailedOperation.FileStorageUpdateFailed` | 1030401 | 文件内容写入存储失败 | 请稍后重试,持续失败请携带 RequestId 联系支持 |
54
- | `InternalError` | 1030900 | 服务内部异常 | 请携带 RequestId 联系支持 |
55
- */
56
- UpdateFile(req: UpdateFileRequest, cb?: (error: string, rep: UpdateFileResponse) => void): Promise<UpdateFileResponse>;
57
- /**
58
- * 在Studio(统一开发 IDE)的工作空间文件树中新建一个文件(Notebook/SQL/Python等),创建成功后返回文件的完整元信息。
59
-
60
- **前置条件**
61
- 1. WorkspaceId 对应工作空间存在,且调用方为该工作空间成员;
62
- 2. ParentFolderPath 对应的父文件夹必须存在,且调用方对其有写权限(根目录传 `/`);
63
- 3. FileName 在同一父文件夹下不能重名(含后缀比较);
64
- 4. FileName 后缀必须与 FileType 匹配(`.ipynb`↔`NOTEBOOK_FILE`、`.sql`↔`SQL_FILE`);
65
- 5. 需带文件内容创建时通过 Storage 传入(大文件走 COS 中转,小文件放 Storage.Content)。
66
- */
67
- CreateFile(req: CreateFileRequest, cb?: (error: string, rep: CreateFileResponse) => void): Promise<CreateFileResponse>;
68
22
  /**
69
23
  * 查询任务运行详情
70
24
  */
@@ -74,29 +28,9 @@ export declare class Client extends AbstractClient {
74
28
  */
75
29
  ListWorkflowTaskRuns(req: ListWorkflowTaskRunsRequest, cb?: (error: string, rep: ListWorkflowTaskRunsResponse) => void): Promise<ListWorkflowTaskRunsResponse>;
76
30
  /**
77
- * 查询控制台用户列表
31
+ * 删除控制台用户组
78
32
  */
79
- ListConsoleUsers(req: ListConsoleUsersRequest, cb?: (error: string, rep: ListConsoleUsersResponse) => void): Promise<ListConsoleUsersResponse>;
80
- /**
81
- * 修改控制台用户角色
82
- */
83
- UpdateConsoleUsers(req: UpdateConsoleUsersRequest, cb?: (error: string, rep: UpdateConsoleUsersResponse) => void): Promise<UpdateConsoleUsersResponse>;
84
- /**
85
- * 运行工作流
86
- */
87
- RunWorkflow(req: RunWorkflowRequest, cb?: (error: string, rep: RunWorkflowResponse) => void): Promise<RunWorkflowResponse>;
88
- /**
89
- * 工作流运行列表
90
- */
91
- ListWorkflowRuns(req: ListWorkflowRunsRequest, cb?: (error: string, rep: ListWorkflowRunsResponse) => void): Promise<ListWorkflowRunsResponse>;
92
- /**
93
- * 终止工作流的运行
94
- */
95
- KillWorkflowRun(req: KillWorkflowRunRequest, cb?: (error: string, rep: KillWorkflowRunResponse) => void): Promise<KillWorkflowRunResponse>;
96
- /**
97
- * 删除工作流
98
- */
99
- DeleteWorkflow(req: DeleteWorkflowRequest, cb?: (error: string, rep: DeleteWorkflowResponse) => void): Promise<DeleteWorkflowResponse>;
33
+ DeleteConsoleGroups(req: DeleteConsoleGroupsRequest, cb?: (error: string, rep: DeleteConsoleGroupsResponse) => void): Promise<DeleteConsoleGroupsResponse>;
100
34
  /**
101
35
  * 获取文件的元信息,可选包含文件内容,支持按版本读取历史快照。
102
36
 
@@ -118,14 +52,19 @@ export declare class Client extends AbstractClient {
118
52
  | `InternalError` | 1030900 | 服务内部异常 | 请携带 RequestId 联系支持 |
119
53
  */
120
54
  GetFile(req: GetFileRequest, cb?: (error: string, rep: GetFileResponse) => void): Promise<GetFileResponse>;
121
- /**
122
- * 更新工作流
123
- */
124
- UpdateWorkflow(req: UpdateWorkflowRequest, cb?: (error: string, rep: UpdateWorkflowResponse) => void): Promise<UpdateWorkflowResponse>;
125
55
  /**
126
56
  * 查询工作流列表
127
57
  */
128
58
  ListWorkflows(req: ListWorkflowsRequest, cb?: (error: string, rep: ListWorkflowsResponse) => void): Promise<ListWorkflowsResponse>;
59
+ /**
60
+ * 解绑工作流Bundle信息
61
+ 说明:本接口语义等同于规范动词清单中的 Detach,因兼容既有产品形态保留 Unbind 命名
62
+ */
63
+ UnbindWorkflowBundle(req: UnbindWorkflowBundleRequest, cb?: (error: string, rep: UnbindWorkflowBundleResponse) => void): Promise<UnbindWorkflowBundleResponse>;
64
+ /**
65
+ * 删除工作流
66
+ */
67
+ DeleteWorkflow(req: DeleteWorkflowRequest, cb?: (error: string, rep: DeleteWorkflowResponse) => void): Promise<DeleteWorkflowResponse>;
129
68
  /**
130
69
  * 将文件移入回收站(软删除),同时清理该文件的版本记录与执行结果快照。
131
70
 
@@ -148,8 +87,93 @@ export declare class Client extends AbstractClient {
148
87
  */
149
88
  DeleteFile(req: DeleteFileRequest, cb?: (error: string, rep: DeleteFileResponse) => void): Promise<DeleteFileResponse>;
150
89
  /**
151
- * 解绑工作流Bundle信息
152
- 说明:本接口语义等同于规范动词清单中的 Detach,因兼容既有产品形态保留 Unbind 命名
90
+ * 创建控制台用户组
153
91
  */
154
- UnbindWorkflowBundle(req: UnbindWorkflowBundleRequest, cb?: (error: string, rep: UnbindWorkflowBundleResponse) => void): Promise<UnbindWorkflowBundleResponse>;
92
+ CreateConsoleGroup(req: CreateConsoleGroupRequest, cb?: (error: string, rep: CreateConsoleGroupResponse) => void): Promise<CreateConsoleGroupResponse>;
93
+ /**
94
+ * 终止工作流的运行
95
+ */
96
+ KillWorkflowRun(req: KillWorkflowRunRequest, cb?: (error: string, rep: KillWorkflowRunResponse) => void): Promise<KillWorkflowRunResponse>;
97
+ /**
98
+ * 查询工作流运行详情
99
+ */
100
+ GetWorkflowRun(req: GetWorkflowRunRequest, cb?: (error: string, rep: GetWorkflowRunResponse) => void): Promise<GetWorkflowRunResponse>;
101
+ /**
102
+ * 查询控制台用户列表
103
+ */
104
+ ListConsoleUsers(req: ListConsoleUsersRequest, cb?: (error: string, rep: ListConsoleUsersResponse) => void): Promise<ListConsoleUsersResponse>;
105
+ /**
106
+ * <p>批量移除控制台用户(单次最多10个;前置校验任一不满足整体拒绝;执行阶段单个失败不中断后续删除,成败以 SuccessUins/FailItems 为准)</p>
107
+ */
108
+ RemoveConsoleUsers(req: RemoveConsoleUsersRequest, cb?: (error: string, rep: RemoveConsoleUsersResponse) => void): Promise<RemoveConsoleUsersResponse>;
109
+ /**
110
+ * 运行工作流
111
+ */
112
+ RunWorkflow(req: RunWorkflowRequest, cb?: (error: string, rep: RunWorkflowResponse) => void): Promise<RunWorkflowResponse>;
113
+ /**
114
+ * 查询控制台用户组列表
115
+ */
116
+ ListConsoleGroups(req: ListConsoleGroupsRequest, cb?: (error: string, rep: ListConsoleGroupsResponse) => void): Promise<ListConsoleGroupsResponse>;
117
+ /**
118
+ * 查询控制台角色列表
119
+ */
120
+ ListConsoleRoles(req: ListConsoleRolesRequest, cb?: (error: string, rep: ListConsoleRolesResponse) => void): Promise<ListConsoleRolesResponse>;
121
+ /**
122
+ * 重跑工作流
123
+ */
124
+ RerunWorkflowRun(req: RerunWorkflowRunRequest, cb?: (error: string, rep: RerunWorkflowRunResponse) => void): Promise<RerunWorkflowRunResponse>;
125
+ /**
126
+ * 修改控制台用户组
127
+ */
128
+ UpdateConsoleGroup(req: UpdateConsoleGroupRequest, cb?: (error: string, rep: UpdateConsoleGroupResponse) => void): Promise<UpdateConsoleGroupResponse>;
129
+ /**
130
+ * 创建工作流
131
+ */
132
+ CreateWorkflow(req: CreateWorkflowRequest, cb?: (error: string, rep: CreateWorkflowResponse) => void): Promise<CreateWorkflowResponse>;
133
+ /**
134
+ * 更新文件内容与运行配置(计算资源、默认 catalog/schema、参数等),返回更新后的文件元信息。
135
+
136
+ **前置条件**
137
+ 1. FileId 对应文件必须存在且为活跃状态;
138
+ 2. 调用方对该文件有写权限;
139
+ 3. 仅更新配置时不传 Storage;仅更新内容时不传 FileConfig;
140
+ 4. FileConfig.ResourceId 非空时会校验资源类型与文件类型的匹配性。
141
+
142
+ **错误码(Module 均为 `Studio`)**
143
+
144
+ | 错误码(Code) | InnerCode | 描述 | 处理建议 |
145
+ | --- | --- | --- | --- |
146
+ | `MissingParameter.WorkspaceId` | 1030001 | 缺少 WorkspaceId | 请传入 WorkspaceId |
147
+ | `MissingParameter.FileId` | 1030003 | 缺少 FileId | 请传入 FileId |
148
+ | `InvalidParameterValue.FileType` | 1030102 | FileType 取值不支持 | FileType 取 FILE/NOTEBOOK_FILE/SQL_FILE |
149
+ | `InvalidParameterValue.ResourceId` | 1030104 | 计算资源类型与文件类型不匹配 | Python/Notebook 选数据计算资源,SQL 选数据分析资源 |
150
+ | `ResourceNotFound.FileNotFound` | 1030203 | 文件不存在或已删除 | 请确认 FileId,或调用 GetFile 校验文件状态 |
151
+ | `UnauthorizedOperation.FileWriteDenied` | 1030302 | 对该文件无写权限 | 请联系文件负责人或空间管理员授权 |
152
+ | `FailedOperation.FileStorageUpdateFailed` | 1030401 | 文件内容写入存储失败 | 请稍后重试,持续失败请携带 RequestId 联系支持 |
153
+ | `InternalError` | 1030900 | 服务内部异常 | 请携带 RequestId 联系支持 |
154
+ */
155
+ UpdateFile(req: UpdateFileRequest, cb?: (error: string, rep: UpdateFileResponse) => void): Promise<UpdateFileResponse>;
156
+ /**
157
+ * 修改控制台用户角色
158
+ */
159
+ UpdateConsoleUsers(req: UpdateConsoleUsersRequest, cb?: (error: string, rep: UpdateConsoleUsersResponse) => void): Promise<UpdateConsoleUsersResponse>;
160
+ /**
161
+ * 在Studio(统一开发 IDE)的工作空间文件树中新建一个文件(Notebook/SQL/Python等),创建成功后返回文件的完整元信息。
162
+
163
+ **前置条件**
164
+ 1. WorkspaceId 对应工作空间存在,且调用方为该工作空间成员;
165
+ 2. ParentFolderPath 对应的父文件夹必须存在,且调用方对其有写权限(根目录传 `/`);
166
+ 3. FileName 在同一父文件夹下不能重名(含后缀比较);
167
+ 4. FileName 后缀必须与 FileType 匹配(`.ipynb`↔`NOTEBOOK_FILE`、`.sql`↔`SQL_FILE`);
168
+ 5. 需带文件内容创建时通过 Storage 传入(大文件走 COS 中转,小文件放 Storage.Content)。
169
+ */
170
+ CreateFile(req: CreateFileRequest, cb?: (error: string, rep: CreateFileResponse) => void): Promise<CreateFileResponse>;
171
+ /**
172
+ * 查询控制台用户组成员列表
173
+ */
174
+ ListConsoleGroupUsers(req: ListConsoleGroupUsersRequest, cb?: (error: string, rep: ListConsoleGroupUsersResponse) => void): Promise<ListConsoleGroupUsersResponse>;
175
+ /**
176
+ * 工作流运行列表
177
+ */
178
+ ListWorkflowRuns(req: ListWorkflowRunsRequest, cb?: (error: string, rep: ListWorkflowRunsResponse) => void): Promise<ListWorkflowRunsResponse>;
155
179
  }