tencentcloud-sdk-nodejs-adp 4.1.260 → 4.1.261
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.
|
@@ -21,6 +21,9 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
21
21
|
async DescribeConversation(req, cb) {
|
|
22
22
|
return this.request("DescribeConversation", req, cb);
|
|
23
23
|
}
|
|
24
|
+
async CopyAgentFromApp(req, cb) {
|
|
25
|
+
return this.request("CopyAgentFromApp", req, cb);
|
|
26
|
+
}
|
|
24
27
|
async DescribeVariable(req, cb) {
|
|
25
28
|
return this.request("DescribeVariable", req, cb);
|
|
26
29
|
}
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common";
|
|
2
|
-
import { DescribeVariableListResponse, ModifySpaceRequest, DescribeReleaseListRequest, CreateWebSocketTokenRequest, RollbackReleaseRequest, DescribeAgentReleasePreviewListRequest, DescribeModelListResponse, CreateSpaceRequest, CreateConversationResponse,
|
|
2
|
+
import { DescribeVariableListResponse, ModifySpaceRequest, DescribeReleaseListRequest, CreateWebSocketTokenRequest, RollbackReleaseRequest, DescribeAgentReleasePreviewListRequest, DescribeModelListResponse, CreateSpaceRequest, CreateConversationResponse, CopyAgentFromAppRequest, DescribeConversationRequest, ModifyAppResponse, ResetConversationResponse, DeleteAppResponse, DescribeConversationListResponse, CreateAppResponse, DescribeAppSummaryListRequest, CreateWebSocketTokenResponse, DescribeAgentDetailRequest, DescribePluginSummaryListRequest, DescribeConversationMessageListResponse, RollbackReleaseResponse, DescribeSkillCategoryListResponse, DescribeReleaseSummaryRequest, DeleteVariableResponse, CreateReleaseRequest, CreateWorkspaceCredentialRequest, DescribeConversationListRequest, DescribeVariableResponse, CreateAgentRequest, DescribeSystemVariableListResponse, ModifySpaceResponse, DescribePluginSummaryListResponse, CreateConversationRequest, DescribeVariableListRequest, ModifyConversationResponse, DescribeSpaceListResponse, CreateAppRequest, DescribeAgentReleasePreviewListResponse, DeleteConversationResponse, ResetConversationRequest, ModifyAgentResponse, DescribeLatestReleaseResponse, DescribeAppRequest, ModifyVariableResponse, ModifyAgentRequest, DescribeModelListRequest, DescribeLatestReleaseRequest, CopyAgentFromAppResponse, CreateWorkspaceCredentialResponse, RetryReleaseResponse, DescribeReleaseSummaryResponse, DescribeAgentDetailResponse, CreateVariableResponse, CreateReleaseResponse, ModifyAppRequest, RetryReleaseRequest, CreateSpaceResponse, ModifyVariableRequest, CreateVariableRequest, DescribePluginRequest, DescribeSystemVariableListRequest, DeleteVariableRequest, ModifyConversationRequest, CreateAgentResponse, DeleteConversationRequest, DescribeAppResponse, DeleteAppRequest, DescribeSkillSummaryListRequest, DescribeAppSummaryListResponse, CopyAppResponse, CopyAppRequest, DeleteSpaceRequest, DescribePluginResponse, DescribeReleaseListResponse, DescribeVariableRequest, DescribeSkillCategoryListRequest, DescribeSkillSummaryListResponse, DescribeConversationMessageListRequest, DescribeConversationResponse, DescribeSpaceListRequest, DeleteSpaceResponse } from "./adp_models";
|
|
3
3
|
/**
|
|
4
4
|
* adp client
|
|
5
5
|
* @class
|
|
@@ -30,6 +30,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
30
30
|
* 查看会话信息
|
|
31
31
|
*/
|
|
32
32
|
DescribeConversation(req: DescribeConversationRequest, cb?: (error: string, rep: DescribeConversationResponse) => void): Promise<DescribeConversationResponse>;
|
|
33
|
+
/**
|
|
34
|
+
* 创建Agent
|
|
35
|
+
*/
|
|
36
|
+
CopyAgentFromApp(req: CopyAgentFromAppRequest, cb?: (error: string, rep: CopyAgentFromAppResponse) => void): Promise<CopyAgentFromAppResponse>;
|
|
33
37
|
/**
|
|
34
38
|
* 获取参数变量
|
|
35
39
|
*/
|
|
@@ -64,6 +64,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
64
64
|
async DescribeConversation(req, cb) {
|
|
65
65
|
return this.request("DescribeConversation", req, cb);
|
|
66
66
|
}
|
|
67
|
+
/**
|
|
68
|
+
* 创建Agent
|
|
69
|
+
*/
|
|
70
|
+
async CopyAgentFromApp(req, cb) {
|
|
71
|
+
return this.request("CopyAgentFromApp", req, cb);
|
|
72
|
+
}
|
|
67
73
|
/**
|
|
68
74
|
* 获取参数变量
|
|
69
75
|
*/
|
|
@@ -755,17 +755,21 @@ export interface CreateConversationResponse {
|
|
|
755
755
|
RequestId?: string;
|
|
756
756
|
}
|
|
757
757
|
/**
|
|
758
|
-
*
|
|
758
|
+
* CopyAgentFromApp请求参数结构体
|
|
759
759
|
*/
|
|
760
|
-
export interface
|
|
760
|
+
export interface CopyAgentFromAppRequest {
|
|
761
761
|
/**
|
|
762
|
-
* <p
|
|
762
|
+
* <p>应用Id</p>
|
|
763
763
|
*/
|
|
764
|
-
|
|
764
|
+
AppId: string;
|
|
765
765
|
/**
|
|
766
|
-
*
|
|
766
|
+
* <p>目标应用ID,kind=0时需传入</p>
|
|
767
767
|
*/
|
|
768
|
-
|
|
768
|
+
TargetAppId?: string;
|
|
769
|
+
/**
|
|
770
|
+
* <p>Agent 类型,区分 B 端配置态 Agent 与 C 端用户态 Agent</p><p>枚举值:</p><ul><li>0: 配置端Agent </li><li>1: 用户态 Agent</li></ul>
|
|
771
|
+
*/
|
|
772
|
+
Kind?: number;
|
|
769
773
|
}
|
|
770
774
|
/**
|
|
771
775
|
* DescribeConversation请求参数结构体
|
|
@@ -2740,6 +2744,19 @@ export interface OAuthConfig {
|
|
|
2740
2744
|
*/
|
|
2741
2745
|
TokenUrl?: string;
|
|
2742
2746
|
}
|
|
2747
|
+
/**
|
|
2748
|
+
* CopyAgentFromApp返回参数结构体
|
|
2749
|
+
*/
|
|
2750
|
+
export interface CopyAgentFromAppResponse {
|
|
2751
|
+
/**
|
|
2752
|
+
* <p>主 Agent Id</p>
|
|
2753
|
+
*/
|
|
2754
|
+
ParentAgentId?: string;
|
|
2755
|
+
/**
|
|
2756
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2757
|
+
*/
|
|
2758
|
+
RequestId?: string;
|
|
2759
|
+
}
|
|
2743
2760
|
/**
|
|
2744
2761
|
* CreateWorkspaceCredential返回参数结构体
|
|
2745
2762
|
*/
|
|
@@ -4121,13 +4138,17 @@ export interface SkillCategory {
|
|
|
4121
4138
|
CategoryName: string;
|
|
4122
4139
|
}
|
|
4123
4140
|
/**
|
|
4124
|
-
*
|
|
4141
|
+
* DescribePlugin返回参数结构体
|
|
4125
4142
|
*/
|
|
4126
|
-
export interface
|
|
4143
|
+
export interface DescribePluginResponse {
|
|
4127
4144
|
/**
|
|
4128
|
-
* <p
|
|
4145
|
+
* <p>插件详情</p>
|
|
4129
4146
|
*/
|
|
4130
|
-
|
|
4147
|
+
Plugin?: Plugin;
|
|
4148
|
+
/**
|
|
4149
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
4150
|
+
*/
|
|
4151
|
+
RequestId?: string;
|
|
4131
4152
|
}
|
|
4132
4153
|
/**
|
|
4133
4154
|
* DescribeReleaseList返回参数结构体
|
|
@@ -4453,6 +4474,15 @@ export interface DescribeConversationResponse {
|
|
|
4453
4474
|
*/
|
|
4454
4475
|
RequestId?: string;
|
|
4455
4476
|
}
|
|
4477
|
+
/**
|
|
4478
|
+
* FieldMask
|
|
4479
|
+
*/
|
|
4480
|
+
export interface FieldMask {
|
|
4481
|
+
/**
|
|
4482
|
+
* <p>参数名称</p><p>参数格式:需要获取的指定字段路径</p>
|
|
4483
|
+
*/
|
|
4484
|
+
Paths?: Array<string>;
|
|
4485
|
+
}
|
|
4456
4486
|
/**
|
|
4457
4487
|
* 应用高级配置
|
|
4458
4488
|
*/
|