tencentcloud-sdk-nodejs-adp 4.1.307 → 4.1.310

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.
@@ -285,6 +285,23 @@ export interface ApiKeyAuthConfig {
285
285
  */
286
286
  KeyParamValue: string;
287
287
  }
288
+ /**
289
+ * Agent 插件凭据参数配置(变量模式)
290
+ */
291
+ export interface AgentPluginCredentialParam {
292
+ /**
293
+ * <p>参数位置</p><p>枚举值:</p><ul><li>0: Header 鉴权</li><li>1: Query 鉴权</li></ul>
294
+ */
295
+ KeyLocation?: number;
296
+ /**
297
+ * <p>参数名称</p>
298
+ */
299
+ Name?: string;
300
+ /**
301
+ * <p>参数取值来源</p>
302
+ */
303
+ Input?: AgentInput;
304
+ }
288
305
  /**
289
306
  * DescribeConversation请求参数结构体
290
307
  */
@@ -589,6 +606,19 @@ export interface CodeToolConfig {
589
606
  */
590
607
  Outputs?: Array<ResponseParam>;
591
608
  }
609
+ /**
610
+ * Skill 企业共享配置。
611
+ */
612
+ export interface SkillCorpShareConfig {
613
+ /**
614
+ * <table><tbody><tr><td>枚举项</td><td>枚举值</td><td>描述</td></tr><tr><td>SHARE_SCOPE_TYPE_UNSPECIFIED</td><td>0</td><td></td></tr><tr><td>SHARE_SCOPE_TYPE_ALL</td><td>1</td><td></td></tr><tr><td>SHARE_SCOPE_TYPE_ACCOUNT</td><td>2</td><td></td></tr><tr><td>SHARE_SCOPE_TYPE_SPACE</td><td>3</td><td></td></tr></tbody></table><p>枚举值:</p><ul><li>0: 未指定</li><li>1: 全企业共享</li><li>3: 按空间共享</li></ul>
615
+ */
616
+ ShareScope?: number;
617
+ /**
618
+ * <p>共享范围信息,仅支持空间;StrId 为空间ID,Name 为空间名称</p>
619
+ */
620
+ ShareScopeList?: Array<Identity>;
621
+ }
592
622
  /**
593
623
  * DescribeMsgRecordList请求参数结构体
594
624
  */
@@ -731,6 +761,23 @@ export interface DescribeConcurrencyLimitDetailListResponse {
731
761
  */
732
762
  RequestId?: string;
733
763
  }
764
+ /**
765
+ * DescribeChannel请求参数结构体
766
+ */
767
+ export interface DescribeChannelRequest {
768
+ /**
769
+ * <p>应用业务ID</p>
770
+ */
771
+ AppId: string;
772
+ /**
773
+ * <p>渠道业务ID</p>
774
+ */
775
+ ChannelId: string;
776
+ /**
777
+ * <p>渠道场景:0-B端场景,1-C端场景</p>
778
+ */
779
+ Scene?: number;
780
+ }
734
781
  /**
735
782
  * Agent 可编辑配置
736
783
  */
@@ -951,17 +998,17 @@ export interface ModifyConversationRequest {
951
998
  Title?: string;
952
999
  }
953
1000
  /**
954
- * DescribeAgentReleasePreviewList返回参数结构体
1001
+ * CreateChannel返回参数结构体
955
1002
  */
956
- export interface DescribeAgentReleasePreviewListResponse {
1003
+ export interface CreateChannelResponse {
957
1004
  /**
958
- * <p>发布预览列表</p>
1005
+ * <p>渠道ID</p>
959
1006
  */
960
- ReleaseList?: Array<AgentReleasePreview>;
1007
+ ChannelId?: string;
961
1008
  /**
962
- * <p>总数</p>
1009
+ * <p>二维码URL(扫码类渠道创建后回填,其他场景为空)</p>
963
1010
  */
964
- TotalCount?: number;
1011
+ QrcodeUrl?: string;
965
1012
  /**
966
1013
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
967
1014
  */
@@ -1132,6 +1179,23 @@ export interface ModelLimit {
1132
1179
  */
1133
1180
  PromptLengthLimit?: number;
1134
1181
  }
1182
+ /**
1183
+ * 微信公众号/小程序渠道配置
1184
+ */
1185
+ export interface WechatChannelConfig {
1186
+ /**
1187
+ * <p>授权二维码URL(创建后回填)</p>
1188
+ */
1189
+ QrcodeUrl?: string;
1190
+ /**
1191
+ * <p>公众号/小程序AppId(授权后回填)</p>
1192
+ */
1193
+ WechatAppId?: string;
1194
+ /**
1195
+ * <p>公众号/小程序RefreshToken(授权后回填)</p>
1196
+ */
1197
+ WechatRefreshToken?: string;
1198
+ }
1135
1199
  /**
1136
1200
  * RunAppTriggerNow请求参数结构体
1137
1201
  */
@@ -1659,6 +1723,23 @@ export interface CopyAppResponse {
1659
1723
  */
1660
1724
  RequestId?: string;
1661
1725
  }
1726
+ /**
1727
+ * Agent 插件凭据配置
1728
+ */
1729
+ export interface AgentPluginCredentialConfig {
1730
+ /**
1731
+ * <p>插件鉴权值来源</p><p>枚举值:</p><ul><li>0: 未指定</li><li>1: 使用插件默认鉴权值,仅 APIKey/AccessKey 支持</li><li>2: 引用凭证</li><li>3: 引用变量</li></ul>
1732
+ */
1733
+ AuthValueSource?: number;
1734
+ /**
1735
+ * <p>凭证ID</p><p>入参限制:AuthValueSource=2时必填</p>
1736
+ */
1737
+ CredentialId?: string;
1738
+ /**
1739
+ * <p>参数配置</p>
1740
+ */
1741
+ ParamList?: Array<AgentPluginCredentialParam>;
1742
+ }
1662
1743
  /**
1663
1744
  * ComplexBillingItem
1664
1745
  */
@@ -1806,6 +1887,19 @@ export interface ModifySkillResponse {
1806
1887
  */
1807
1888
  RequestId?: string;
1808
1889
  }
1890
+ /**
1891
+ * 钉钉机器人渠道配置
1892
+ */
1893
+ export interface DingTalkChannelConfig {
1894
+ /**
1895
+ * <p>钉钉机器人ClientId(AppKey)</p>
1896
+ */
1897
+ AppKey?: string;
1898
+ /**
1899
+ * <p>钉钉机器人ClientSecret(AppSecret)</p>
1900
+ */
1901
+ AppSecret?: string;
1902
+ }
1809
1903
  /**
1810
1904
  * DescribeSpaceList请求参数结构体
1811
1905
  */
@@ -2074,36 +2168,33 @@ export interface FavoriteSkillResponse {
2074
2168
  */
2075
2169
  export interface SkillShare {
2076
2170
  /**
2077
- * 审批ID
2171
+ * <p>审批ID</p>
2078
2172
  */
2079
2173
  ApprovalId: string;
2080
2174
  /**
2081
- * 共享后关联的新 skill_id
2175
+ * <p>共享后关联的新 skill_id</p>
2082
2176
  */
2083
2177
  ShareSkillId: string;
2084
2178
  /**
2085
- * 共享版本,如 1.0.0
2179
+ * <p>共享版本,如 1.0.0</p>
2086
2180
  */
2087
2181
  ShareVersion: string;
2088
2182
  /**
2089
- * 共享版本ID
2183
+ * <p>共享版本ID</p>
2090
2184
  */
2091
2185
  ShareVersionId: string;
2092
2186
  /**
2093
- * skill_id
2187
+ * <p>原 skill_id</p>
2094
2188
  */
2095
2189
  SkillId: string;
2096
2190
  /**
2097
- * 共享状态
2098
-
2099
- 枚举值:
2100
- | uint | 描述 |
2101
- | --- | --- |
2102
- | 0 | 未共享 |
2103
- | 1 | 已共享 |
2104
- | 2 | 审批中 |
2191
+ * <p>共享状态</p><p>枚举值:<br>| uint | 描述 |<br>| --- | --- |<br>| 0 | 未共享 |<br>| 1 | 已共享 |<br>| 2 | 审批中 |</p>
2105
2192
  */
2106
2193
  Status: number;
2194
+ /**
2195
+ * <p>企业共享范围</p>
2196
+ */
2197
+ CorpShareConfig?: SkillCorpShareConfig;
2107
2198
  }
2108
2199
  /**
2109
2200
  * AppShareWhitelistItem
@@ -2151,6 +2242,31 @@ export interface CreateWebSocketTokenRequest {
2151
2242
  */
2152
2243
  UserId?: string;
2153
2244
  }
2245
+ /**
2246
+ * DescribeChannelList请求参数结构体
2247
+ */
2248
+ export interface DescribeChannelListRequest {
2249
+ /**
2250
+ * <p>应用业务ID</p>
2251
+ */
2252
+ AppId: string;
2253
+ /**
2254
+ * <p>渠道场景:0-B端场景,1-C端场景</p>
2255
+ */
2256
+ Scene?: number;
2257
+ /**
2258
+ * <p>过滤条件(可选,支持ChannelType/ChannelStatus等维度)</p>
2259
+ */
2260
+ FilterList?: Array<Filter>;
2261
+ /**
2262
+ * <p>页码(从1开始)</p>
2263
+ */
2264
+ PageNumber?: number;
2265
+ /**
2266
+ * <p>每页数量(最大100)</p>
2267
+ */
2268
+ PageSize?: number;
2269
+ }
2154
2270
  /**
2155
2271
  * DeleteSkill返回参数结构体
2156
2272
  */
@@ -2286,6 +2402,39 @@ export interface DescribeAccountListRequest {
2286
2402
  */
2287
2403
  FilterList?: Array<Filter>;
2288
2404
  }
2405
+ /**
2406
+ * 微信客服渠道配置
2407
+ */
2408
+ export interface WechatCustomerServiceChannelConfig {
2409
+ /**
2410
+ * <p>企业微信应用Secret</p>
2411
+ */
2412
+ AgentSecret?: string;
2413
+ /**
2414
+ * <p>头像URL</p>
2415
+ */
2416
+ Avatar?: string;
2417
+ /**
2418
+ * <p>回调配置</p>
2419
+ */
2420
+ Callback?: CallbackConfig;
2421
+ /**
2422
+ * <p>客服账号ID</p>
2423
+ */
2424
+ CustomerServiceId?: string;
2425
+ /**
2426
+ * <p>客服账号名称</p>
2427
+ */
2428
+ Name?: string;
2429
+ /**
2430
+ * <p>客服形象二维码URL</p>
2431
+ */
2432
+ ShareCodeUrl?: string;
2433
+ /**
2434
+ * <p>企业微信企业ID</p>
2435
+ */
2436
+ WecomCorpId?: string;
2437
+ }
2289
2438
  /**
2290
2439
  * DescribeConversationList返回参数结构体
2291
2440
  */
@@ -2334,6 +2483,23 @@ export interface CreateWebSocketTokenResponse {
2334
2483
  */
2335
2484
  RequestId?: string;
2336
2485
  }
2486
+ /**
2487
+ * DescribeChannelList返回参数结构体
2488
+ */
2489
+ export interface DescribeChannelListResponse {
2490
+ /**
2491
+ * <p>渠道列表</p>
2492
+ */
2493
+ ChannelList?: Array<Channel>;
2494
+ /**
2495
+ * <p>总数</p>
2496
+ */
2497
+ TotalCount?: number;
2498
+ /**
2499
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2500
+ */
2501
+ RequestId?: string;
2502
+ }
2337
2503
  /**
2338
2504
  * DescribeSkillCategoryList返回参数结构体
2339
2505
  */
@@ -2347,6 +2513,19 @@ export interface DescribeSkillCategoryListResponse {
2347
2513
  */
2348
2514
  RequestId?: string;
2349
2515
  }
2516
+ /**
2517
+ * 飞书机器人渠道配置
2518
+ */
2519
+ export interface LarkChannelConfig {
2520
+ /**
2521
+ * <p>飞书机器人AppId</p>
2522
+ */
2523
+ AppId?: string;
2524
+ /**
2525
+ * <p>飞书机器人AppSecret</p>
2526
+ */
2527
+ AppSecret?: string;
2528
+ }
2350
2529
  /**
2351
2530
  * 查询时间范围(Unix 秒)
2352
2531
  */
@@ -2390,6 +2569,15 @@ export interface CreatePluginResponse {
2390
2569
  */
2391
2570
  RequestId?: string;
2392
2571
  }
2572
+ /**
2573
+ * ModifyChannel返回参数结构体
2574
+ */
2575
+ export interface ModifyChannelResponse {
2576
+ /**
2577
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2578
+ */
2579
+ RequestId?: string;
2580
+ }
2393
2581
  /**
2394
2582
  * ClawAgent Agent团队协作配置
2395
2583
  */
@@ -2416,6 +2604,15 @@ export interface DescribeSystemVariableListResponse {
2416
2604
  */
2417
2605
  RequestId?: string;
2418
2606
  }
2607
+ /**
2608
+ * Telegram渠道配置
2609
+ */
2610
+ export interface TelegramChannelConfig {
2611
+ /**
2612
+ * <p>Telegram Bot Token</p>
2613
+ */
2614
+ BotToken?: string;
2615
+ }
2419
2616
  /**
2420
2617
  * Agent 的插件信息
2421
2618
  */
@@ -2501,6 +2698,23 @@ export interface DescribeSpaceListResponse {
2501
2698
  */
2502
2699
  RequestId?: string;
2503
2700
  }
2701
+ /**
2702
+ * LINE渠道配置
2703
+ */
2704
+ export interface LineChannelConfig {
2705
+ /**
2706
+ * <p>LINE Channel Access Token</p>
2707
+ */
2708
+ AccessToken?: string;
2709
+ /**
2710
+ * <p>LINE回调地址</p>
2711
+ */
2712
+ CallbackUrl?: string;
2713
+ /**
2714
+ * <p>LINE Channel Secret</p>
2715
+ */
2716
+ ChannelSecret?: string;
2717
+ }
2504
2718
  /**
2505
2719
  * 单次对话记录统计信息
2506
2720
  */
@@ -2806,6 +3020,19 @@ export interface SingleWorkflowConfig {
2806
3020
  */
2807
3021
  Enabled?: boolean;
2808
3022
  }
3023
+ /**
3024
+ * DescribeChannel返回参数结构体
3025
+ */
3026
+ export interface DescribeChannelResponse {
3027
+ /**
3028
+ * <p>渠道信息(含spec)</p>
3029
+ */
3030
+ Channel?: Channel;
3031
+ /**
3032
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3033
+ */
3034
+ RequestId?: string;
3035
+ }
2809
3036
  /**
2810
3037
  * Agent 的插件基本配置
2811
3038
  */
@@ -2834,6 +3061,10 @@ export interface AgentPluginConfig {
2834
3061
  * <p>OAuth 授权同意模式;0-开发者授权;1-使用者授权(仅在auth_type=3时生效)</p>
2835
3062
  */
2836
3063
  OAuthConsent?: number;
3064
+ /**
3065
+ * <p>凭证配置</p>
3066
+ */
3067
+ CredentialConfig?: AgentPluginCredentialConfig;
2837
3068
  }
2838
3069
  /**
2839
3070
  * 插件概要信息(用于插件列表)
@@ -2966,6 +3197,15 @@ export interface DescribeAccountListResponse {
2966
3197
  */
2967
3198
  RequestId?: string;
2968
3199
  }
3200
+ /**
3201
+ * DeleteChannel返回参数结构体
3202
+ */
3203
+ export interface DeleteChannelResponse {
3204
+ /**
3205
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3206
+ */
3207
+ RequestId?: string;
3208
+ }
2969
3209
  /**
2970
3210
  * 用户输入值
2971
3211
  */
@@ -2980,37 +3220,41 @@ export interface AgentUserInputValue {
2980
3220
  */
2981
3221
  export interface SkillProfile {
2982
3222
  /**
2983
- * 创建时间(Unix秒)
3223
+ * <p>创建时间(Unix秒)</p>
2984
3224
  */
2985
3225
  CreateTime: string;
2986
3226
  /**
2987
- * 创建者
3227
+ * <p>创建者</p>
2988
3228
  */
2989
3229
  Creator: string;
2990
3230
  /**
2991
- * Skill 描述
3231
+ * <p>Skill 描述</p>
2992
3232
  */
2993
3233
  Description: string;
2994
3234
  /**
2995
- * Skill 展示描述
3235
+ * <p>Skill 展示描述</p>
2996
3236
  */
2997
3237
  DisplayDescription: string;
2998
3238
  /**
2999
- * Skill 展示名称
3239
+ * <p>Skill 展示名称</p>
3000
3240
  */
3001
3241
  DisplayName: string;
3002
3242
  /**
3003
- * Skill 图标
3243
+ * <p>Skill 图标</p>
3004
3244
  */
3005
3245
  IconUrl: string;
3006
3246
  /**
3007
- * Skill 名称
3247
+ * <p>Skill 名称</p>
3008
3248
  */
3009
3249
  Name: string;
3010
3250
  /**
3011
- * 更新时间(Unix秒)
3251
+ * <p>更新时间(Unix秒)</p>
3012
3252
  */
3013
3253
  UpdateTime: string;
3254
+ /**
3255
+ * <p>空间</p>
3256
+ */
3257
+ SpaceId?: string;
3014
3258
  }
3015
3259
  /**
3016
3260
  * DescribeMetricOverviewList请求参数结构体
@@ -3379,6 +3623,23 @@ export interface SkillSummary {
3379
3623
  */
3380
3624
  SkillStatus?: number;
3381
3625
  }
3626
+ /**
3627
+ * 企微机器人WebSocket接入配置
3628
+ */
3629
+ export interface WecomRobotWebsocketAccess {
3630
+ /**
3631
+ * <p>绑定类型:1-扫码绑定,2-填写表单绑定</p>
3632
+ */
3633
+ BindType?: number;
3634
+ /**
3635
+ * <p>企微机器人BotId</p>
3636
+ */
3637
+ BotId?: string;
3638
+ /**
3639
+ * <p>企微机器人BotSecret</p>
3640
+ */
3641
+ BotSecret?: string;
3642
+ }
3382
3643
  /**
3383
3644
  * [数据结构定义] Agent协同配置
3384
3645
  */
@@ -3668,6 +3929,31 @@ export interface UsageDetail {
3668
3929
  */
3669
3930
  UserId?: string;
3670
3931
  }
3932
+ /**
3933
+ * 微信ClawBot渠道配置
3934
+ */
3935
+ export interface WechatClawBotChannelConfig {
3936
+ /**
3937
+ * <p>ClawBot机器人ID(扫码后回填)</p>
3938
+ */
3939
+ BotId?: string;
3940
+ /**
3941
+ * <p>ClawBot机器人Token(扫码后回填)</p>
3942
+ */
3943
+ BotToken?: string;
3944
+ /**
3945
+ * <p>二维码状态(wait/confirmed/expired)</p>
3946
+ */
3947
+ QrcodeStatus?: string;
3948
+ /**
3949
+ * <p>二维码URL(创建后回填)</p>
3950
+ */
3951
+ QrcodeUrl?: string;
3952
+ /**
3953
+ * <p>微信用户ID(扫码后回填)</p>
3954
+ */
3955
+ WechatUserId?: string;
3956
+ }
3671
3957
  /**
3672
3958
  * 操作日志
3673
3959
  */
@@ -3810,48 +4096,46 @@ export interface DescribeAgentSummaryListResponse {
3810
4096
  */
3811
4097
  export interface SkillVersion {
3812
4098
  /**
3813
- * 检测信息
4099
+ * <p>检测信息</p>
3814
4100
  注意:此字段可能返回 null,表示取不到有效值。
3815
4101
  */
3816
4102
  AnalysisInfo: SkillAnalysisInfo;
3817
4103
  /**
3818
- * 当前生效版本号
4104
+ * <p>当前生效版本号</p>
3819
4105
  */
3820
4106
  Version: string;
3821
4107
  /**
3822
- * 当前生效版本ID
4108
+ * <p>当前生效版本ID</p>
3823
4109
  */
3824
4110
  VersionId: string;
3825
4111
  /**
3826
- * Skill 版本发布流程状态:
3827
- - 0 INITIALIZED 初始化(版本初始态)
3828
- - 1 AUDITING 审核中(f_analysis_status ∈ {PENDING, RUNNING})
3829
- - 2 PENDING_RELEASE 待发布(低/中风险,等用户确认上架)
3830
- - 3 RELEASED 已发布
3831
- - 4 UNRELEASED 未发布(HIGH / UNAVAILABLE / FAILED / 用户放弃,含历史"不通过"语义)
3832
- 与 SkillAnalysisStatus 解耦:前者是用户视角发布生命周期,后者是安全检测阶段。
4112
+ * <p>Skill 版本发布流程状态:</p><pre><code> - 0 INITIALIZED 初始化(版本初始态) - 1 AUDITING 审核中(f_analysis_status ∈ {PENDING, RUNNING}) - 2 PENDING_RELEASE 待发布(低/中风险,等用户确认上架) - 3 RELEASED 已发布 - 4 UNRELEASED 未发布(HIGH / UNAVAILABLE / FAILED / 用户放弃,含历史&quot;不通过&quot;语义)与 SkillAnalysisStatus 解耦:前者是用户视角发布生命周期,后者是安全检测阶段。</code></pre>
3833
4113
  */
3834
4114
  VersionStatus?: number;
3835
4115
  /**
3836
- * Skill包的md5信息
4116
+ * <p>Skill包的md5信息</p>
3837
4117
  */
3838
4118
  SkillMd5?: string;
3839
4119
  /**
3840
- * 版本包地址
4120
+ * <p>版本包地址</p>
3841
4121
  */
3842
4122
  SkillUrl?: string;
3843
4123
  /**
3844
- * 版本创建时间(Unix秒)
4124
+ * <p>版本创建时间(Unix秒)</p>
3845
4125
  */
3846
4126
  CreateTime?: string;
3847
4127
  /**
3848
- * skill md文档
4128
+ * <p>skill md文档</p>
3849
4129
  */
3850
4130
  SkillMarkdownUrl?: string;
3851
4131
  /**
3852
- * 版本变更说明
4132
+ * <p>版本变更说明</p>
3853
4133
  */
3854
4134
  UpdateDesc?: string;
4135
+ /**
4136
+ * <p>变更用户</p>
4137
+ */
4138
+ Updater?: string;
3855
4139
  }
3856
4140
  /**
3857
4141
  * ModifyAgent返回参数结构体
@@ -4165,7 +4449,7 @@ export interface Variable {
4165
4449
  */
4166
4450
  Description: string;
4167
4451
  /**
4168
- * <p>模块类型。枚举值: 1:环境参数, 2:应用参数, 3:系统参数, -1:所有参数</p>
4452
+ * <p>变量模块类型</p><p>枚举值:</p><ul><li>0: API参数</li><li>1 环境参数</li><li>2 应用参数</li><li>3 系统参数</li></ul>
4169
4453
  */
4170
4454
  ModuleType: number;
4171
4455
  /**
@@ -4188,6 +4472,14 @@ export interface Variable {
4188
4472
  * <p>网络策略列表(支持: 精确域名、*.通配子域名、可带协议/端口/路径前缀)</p>
4189
4473
  */
4190
4474
  EndpointList?: Array<string>;
4475
+ /**
4476
+ * <p>是否内置变量</p>
4477
+ */
4478
+ IsBuiltin?: boolean;
4479
+ /**
4480
+ * <p>是否可注入到沙箱环境</p>
4481
+ */
4482
+ EnableSandbox?: boolean;
4191
4483
  }
4192
4484
  /**
4193
4485
  * FavoriteSkill请求参数结构体
@@ -4779,6 +5071,35 @@ export interface AgentExternalToolConfig {
4779
5071
  */
4780
5072
  Parameters?: Array<RequestParam>;
4781
5073
  }
5074
+ /**
5075
+ * 企微应用渠道配置
5076
+ */
5077
+ export interface WecomAppChannelConfig {
5078
+ /**
5079
+ * <p>回调配置</p>
5080
+ */
5081
+ Callback?: CallbackConfig;
5082
+ /**
5083
+ * <p>第三方企业ID</p>
5084
+ */
5085
+ ThirdChannelCorpId?: string;
5086
+ /**
5087
+ * <p>第三方渠道ID</p>
5088
+ */
5089
+ ThirdChannelId?: string;
5090
+ /**
5091
+ * <p>企微应用ID</p>
5092
+ */
5093
+ WecomAgentId?: string;
5094
+ /**
5095
+ * <p>企微应用Secret</p>
5096
+ */
5097
+ WecomAgentSecret?: string;
5098
+ /**
5099
+ * <p>企业ID</p>
5100
+ */
5101
+ WecomCorpId?: string;
5102
+ }
4782
5103
  /**
4783
5104
  * DescribeMsgRecordCategoryList请求参数结构体
4784
5105
  */
@@ -4972,6 +5293,77 @@ export interface TimerPushConfig {
4972
5293
  */
4973
5294
  PushWebhookUrl?: string;
4974
5295
  }
5296
+ /**
5297
+ * 渠道规格(聚合场景/类型/名称/备注/配置)
5298
+ */
5299
+ export interface ChannelSpec {
5300
+ /**
5301
+ * <p>渠道名称</p>
5302
+ */
5303
+ ChannelName?: string;
5304
+ /**
5305
+ * <p>渠道类型,详见ChannelType枚举</p><p>枚举值:</p><ul><li>10000: 微信服务号(Wechat)</li><li>10002: 企微应用(WeComApp)</li><li>10004: 微信客服(WechatCustomerService)</li><li>10009: 企微智能机器人(WeComRobot)</li><li>10013: 钉钉机器人(DingTalk)</li><li>10014: 企微智能机器人WebSocket(WeComRobot)</li><li>10015: 微信ClawBot(WechatClawBot)</li><li>10011: LINE(Line)</li><li>10012: Telegram(Telegram)</li><li>10016: 飞书机器人(Lark) </li></ul><p>C端场景(Scene=1时)只支持10014和10015</p>
5306
+ */
5307
+ ChannelType?: number;
5308
+ /**
5309
+ * <p>备注</p>
5310
+ */
5311
+ Description?: string;
5312
+ /**
5313
+ * <p>钉钉机器人配置</p>
5314
+ 注意:此字段可能返回 null,表示取不到有效值。
5315
+ */
5316
+ DingTalk?: DingTalkChannelConfig;
5317
+ /**
5318
+ * <p>飞书机器人配置</p>
5319
+ 注意:此字段可能返回 null,表示取不到有效值。
5320
+ */
5321
+ Lark?: LarkChannelConfig;
5322
+ /**
5323
+ * <p>LINE配置</p>
5324
+ 注意:此字段可能返回 null,表示取不到有效值。
5325
+ */
5326
+ Line?: LineChannelConfig;
5327
+ /**
5328
+ * <p>渠道场景:0-B端场景,1-C端场景</p>
5329
+ */
5330
+ Scene?: number;
5331
+ /**
5332
+ * <p>Telegram配置</p>
5333
+ 注意:此字段可能返回 null,表示取不到有效值。
5334
+ */
5335
+ Telegram?: TelegramChannelConfig;
5336
+ /**
5337
+ * <p>归属用户+Agent运行态标识(C端)</p>
5338
+ 注意:此字段可能返回 null,表示取不到有效值。
5339
+ */
5340
+ UserAgent?: UserAgentReference;
5341
+ /**
5342
+ * <p>微信公众号/小程序配置</p>
5343
+ 注意:此字段可能返回 null,表示取不到有效值。
5344
+ */
5345
+ Wechat?: WechatChannelConfig;
5346
+ /**
5347
+ * <p>微信ClawBot配置</p>
5348
+ 注意:此字段可能返回 null,表示取不到有效值。
5349
+ */
5350
+ WechatClawBot?: WechatClawBotChannelConfig;
5351
+ /**
5352
+ * <p>微信客服配置</p>
5353
+ 注意:此字段可能返回 null,表示取不到有效值。
5354
+ */
5355
+ WechatCustomerService?: WechatCustomerServiceChannelConfig;
5356
+ /**
5357
+ * <p>企微应用配置</p>
5358
+ 注意:此字段可能返回 null,表示取不到有效值。
5359
+ */
5360
+ WecomApp?: WecomAppChannelConfig;
5361
+ /**
5362
+ * <p>企微机器人配置</p>
5363
+ 注意:此字段可能返回 null,表示取不到有效值。
5364
+ */
5365
+ WecomRobot?: WecomRobotChannelConfig;
5366
+ }
4975
5367
  /**
4976
5368
  * Agent 工具入参
4977
5369
  */
@@ -5160,6 +5552,19 @@ export interface AgentToolOutputParameter {
5160
5552
  */
5161
5553
  RenderMode?: number;
5162
5554
  }
5555
+ /**
5556
+ * CreateChannel请求参数结构体
5557
+ */
5558
+ export interface CreateChannelRequest {
5559
+ /**
5560
+ * <p>应用业务ID</p>
5561
+ */
5562
+ AppId: string;
5563
+ /**
5564
+ * <p>渠道规格(场景/类型/名称/备注/配置,必填)</p>
5565
+ */
5566
+ Spec?: ChannelSpec;
5567
+ }
5163
5568
  /**
5164
5569
  * 通用身份信息(支持数字 ID 与字符串 ID 两种形态)
5165
5570
  */
@@ -5242,6 +5647,19 @@ export interface DescribeAppTriggerInstanceResponse {
5242
5647
  */
5243
5648
  RequestId?: string;
5244
5649
  }
5650
+ /**
5651
+ * 用户+Agent归属引用
5652
+ */
5653
+ export interface UserAgentReference {
5654
+ /**
5655
+ * <p>claw agent 运行态标识</p>
5656
+ */
5657
+ AgentId?: string;
5658
+ /**
5659
+ * <p>归属用户标识</p>
5660
+ */
5661
+ UserId?: string;
5662
+ }
5245
5663
  /**
5246
5664
  * CreateSkillShare请求参数结构体
5247
5665
  */
@@ -5620,6 +6038,23 @@ export interface DescribePluginResponse {
5620
6038
  */
5621
6039
  RequestId?: string;
5622
6040
  }
6041
+ /**
6042
+ * DescribeAgentReleasePreviewList返回参数结构体
6043
+ */
6044
+ export interface DescribeAgentReleasePreviewListResponse {
6045
+ /**
6046
+ * <p>发布预览列表</p>
6047
+ */
6048
+ ReleaseList?: Array<AgentReleasePreview>;
6049
+ /**
6050
+ * <p>总数</p>
6051
+ */
6052
+ TotalCount?: number;
6053
+ /**
6054
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6055
+ */
6056
+ RequestId?: string;
6057
+ }
5623
6058
  /**
5624
6059
  * DescribeSkillSummaryList返回参数结构体
5625
6060
  */
@@ -5865,6 +6300,27 @@ export interface AgentToolInputParameter {
5865
6300
  */
5866
6301
  Input?: AgentInput;
5867
6302
  }
6303
+ /**
6304
+ * 企微机器人回调接入配置
6305
+ */
6306
+ export interface WecomRobotCallbackAccess {
6307
+ /**
6308
+ * <p>回调配置</p>
6309
+ */
6310
+ Callback?: CallbackConfig;
6311
+ /**
6312
+ * <p>机器人名称</p>
6313
+ */
6314
+ RobotName?: string;
6315
+ /**
6316
+ * <p>企微企业ID</p>
6317
+ */
6318
+ WecomCorpId?: string;
6319
+ /**
6320
+ * <p>企微机器人ID</p>
6321
+ */
6322
+ WecomRobotId?: string;
6323
+ }
5868
6324
  /**
5869
6325
  * RunAppTriggerNow返回参数结构体
5870
6326
  */
@@ -5891,6 +6347,23 @@ export interface DescribeSkillDetailResponse {
5891
6347
  */
5892
6348
  RequestId?: string;
5893
6349
  }
6350
+ /**
6351
+ * 回调配置
6352
+ */
6353
+ export interface CallbackConfig {
6354
+ /**
6355
+ * <p>回调AESKey</p>
6356
+ */
6357
+ CallbackAesKey?: string;
6358
+ /**
6359
+ * <p>回调Token</p>
6360
+ */
6361
+ CallbackToken?: string;
6362
+ /**
6363
+ * <p>回调URL</p>
6364
+ */
6365
+ CallbackUrl?: string;
6366
+ }
5894
6367
  /**
5895
6368
  * DeleteAppTrigger请求参数结构体
5896
6369
  */
@@ -6096,6 +6569,21 @@ export interface ConversationMessage {
6096
6569
  */
6097
6570
  Type?: string;
6098
6571
  }
6572
+ /**
6573
+ * 企微机器人渠道配置
6574
+ */
6575
+ export interface WecomRobotChannelConfig {
6576
+ /**
6577
+ * <p>回调接入配置</p>
6578
+ 注意:此字段可能返回 null,表示取不到有效值。
6579
+ */
6580
+ Callback?: WecomRobotCallbackAccess;
6581
+ /**
6582
+ * <p>WebSocket长连接配置</p>
6583
+ 注意:此字段可能返回 null,表示取不到有效值。
6584
+ */
6585
+ Websocket?: WecomRobotWebsocketAccess;
6586
+ }
6099
6587
  /**
6100
6588
  * DescribeConsumptionDetailList请求参数结构体
6101
6589
  */
@@ -6310,6 +6798,40 @@ export interface DescribePluginRequest {
6310
6798
  */
6311
6799
  Module?: number;
6312
6800
  }
6801
+ /**
6802
+ * 渠道信息
6803
+ */
6804
+ export interface Channel {
6805
+ /**
6806
+ * <p>渠道ID</p>
6807
+ */
6808
+ ChannelId?: string;
6809
+ /**
6810
+ * <p>渠道状态(仅B端):1-未发布,2-运行中,3-已下线(与ConnectStatus互斥)</p>
6811
+ */
6812
+ ChannelStatus?: number;
6813
+ /**
6814
+ * <p>连接状态(仅C端):1-初始,2-连接成功,3-连接失败(与ChannelStatus互斥)</p>
6815
+ */
6816
+ ConnectStatus?: number;
6817
+ /**
6818
+ * <p>创建时间(Unix秒)</p>
6819
+ */
6820
+ CreateTime?: string;
6821
+ /**
6822
+ * <p>渠道规格</p>
6823
+ 注意:此字段可能返回 null,表示取不到有效值。
6824
+ */
6825
+ Spec?: ChannelSpec;
6826
+ /**
6827
+ * <p>更新时间(Unix秒)</p>
6828
+ */
6829
+ UpdateTime?: string;
6830
+ /**
6831
+ * <p>最后更新人</p>
6832
+ */
6833
+ Updater?: string;
6834
+ }
6313
6835
  /**
6314
6836
  * PluginUserState
6315
6837
  */
@@ -6838,6 +7360,23 @@ export interface DescribeLatestReleaseRequest {
6838
7360
  */
6839
7361
  AppId: string;
6840
7362
  }
7363
+ /**
7364
+ * DeleteChannel请求参数结构体
7365
+ */
7366
+ export interface DeleteChannelRequest {
7367
+ /**
7368
+ * <p>应用业务ID</p>
7369
+ */
7370
+ AppId: string;
7371
+ /**
7372
+ * <p>渠道业务ID</p>
7373
+ */
7374
+ ChannelId: string;
7375
+ /**
7376
+ * <p>渠道场景:0-B端场景,1-C端场景</p>
7377
+ */
7378
+ Scene?: number;
7379
+ }
6841
7380
  /**
6842
7381
  * AppTriggerParamBindingValue
6843
7382
  */
@@ -6900,6 +7439,31 @@ export interface AICallConfig {
6900
7439
  */
6901
7440
  Voice: VoiceConfig;
6902
7441
  }
7442
+ /**
7443
+ * ModifyChannel请求参数结构体
7444
+ */
7445
+ export interface ModifyChannelRequest {
7446
+ /**
7447
+ * <p>应用业务ID</p>
7448
+ */
7449
+ AppId: string;
7450
+ /**
7451
+ * <p>渠道业务ID</p>
7452
+ */
7453
+ ChannelId: string;
7454
+ /**
7455
+ * <p>渠道场景:0-B端场景,1-C端场景</p>
7456
+ */
7457
+ Scene?: number;
7458
+ /**
7459
+ * <p>待更新的渠道规格</p>
7460
+ */
7461
+ Spec?: ChannelSpec;
7462
+ /**
7463
+ * <p>更新字段掩码,<br>B端(Scene=0):支持:【spec.description&quot; ,&quot;spec.wecom_robot.callback.wecom_robot_id&quot;】<br>C端(Scene=1):支持:【&quot;spec.description&quot; , &quot;spec.wecom_robot.websocket.bot_id&quot; ,&quot;spec.wecom_robot.websocket.bot_secret&quot;】</p>
7464
+ */
7465
+ UpdateMask?: FieldMask;
7466
+ }
6903
7467
  /**
6904
7468
  * CreateSkillShare返回参数结构体
6905
7469
  */