@yuntijs/arcadia-bff-sdk 1.2.38 → 1.2.40
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.
- package/dist/cjs/index.d.ts +24 -0
- package/dist/cjs/sdk.d.ts +80 -0
- package/dist/cjs/sdk.js +30 -0
- package/dist/cjs/taro.d.ts +18 -0
- package/dist/esm/index.d.ts +24 -0
- package/dist/esm/sdk.d.ts +80 -0
- package/dist/esm/sdk.js +99 -87
- package/dist/esm/taro.d.ts +18 -0
- package/dist/umd/index.min.js +1 -1
- package/dist/umd/index.min.js.map +1 -1
- package/package.json +1 -1
package/dist/cjs/index.d.ts
CHANGED
|
@@ -211,6 +211,9 @@ export declare const sdk: {
|
|
|
211
211
|
updateAgentKnowledgeBase(variables: import("./sdk").Exact<{
|
|
212
212
|
input: import("./sdk").UpdateAgentKnowledgebaseInput;
|
|
213
213
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").UpdateAgentKnowledgeBaseMutation>;
|
|
214
|
+
updateAgentWorkflow(variables: import("./sdk").Exact<{
|
|
215
|
+
input: import("./sdk").UpdateAgentWorkflowInput;
|
|
216
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").UpdateAgentWorkflowMutation>;
|
|
214
217
|
deleteAgentPrompt(variables: import("./sdk").Exact<{
|
|
215
218
|
namespacedname: string;
|
|
216
219
|
ids?: import("./sdk").InputMaybe<string | string[]> | undefined;
|
|
@@ -499,6 +502,9 @@ export declare const sdk: {
|
|
|
499
502
|
deleteWorkflow(variables: import("./sdk").Exact<{
|
|
500
503
|
input: import("./sdk").DeleteCommonInput;
|
|
501
504
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").DeleteWorkflowMutation>;
|
|
505
|
+
releaseWorkflow(variables: import("./sdk").Exact<{
|
|
506
|
+
input: import("./sdk").ReleaseWorkflowInput;
|
|
507
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ReleaseWorkflowMutation>;
|
|
502
508
|
};
|
|
503
509
|
/** 初始化 sdk 的配置项 */
|
|
504
510
|
export interface SdkBaseOptions {
|
|
@@ -554,6 +560,9 @@ export declare const initSdk: (options?: SdkOptions) => {
|
|
|
554
560
|
updateAgentKnowledgeBase(variables: import("./sdk").Exact<{
|
|
555
561
|
input: import("./sdk").UpdateAgentKnowledgebaseInput;
|
|
556
562
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").UpdateAgentKnowledgeBaseMutation>;
|
|
563
|
+
updateAgentWorkflow(variables: import("./sdk").Exact<{
|
|
564
|
+
input: import("./sdk").UpdateAgentWorkflowInput;
|
|
565
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").UpdateAgentWorkflowMutation>;
|
|
557
566
|
deleteAgentPrompt(variables: import("./sdk").Exact<{
|
|
558
567
|
namespacedname: string;
|
|
559
568
|
ids?: import("./sdk").InputMaybe<string | string[]> | undefined;
|
|
@@ -842,6 +851,9 @@ export declare const initSdk: (options?: SdkOptions) => {
|
|
|
842
851
|
deleteWorkflow(variables: import("./sdk").Exact<{
|
|
843
852
|
input: import("./sdk").DeleteCommonInput;
|
|
844
853
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").DeleteWorkflowMutation>;
|
|
854
|
+
releaseWorkflow(variables: import("./sdk").Exact<{
|
|
855
|
+
input: import("./sdk").ReleaseWorkflowInput;
|
|
856
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ReleaseWorkflowMutation>;
|
|
845
857
|
};
|
|
846
858
|
/**
|
|
847
859
|
* 初始化 sdk 实例 (包含 hooks)
|
|
@@ -1049,6 +1061,9 @@ export declare const initSdkWithHooks: (options?: SdkOptions) => {
|
|
|
1049
1061
|
updateAgentKnowledgeBase(variables: import("./sdk").Exact<{
|
|
1050
1062
|
input: import("./sdk").UpdateAgentKnowledgebaseInput;
|
|
1051
1063
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").UpdateAgentKnowledgeBaseMutation>;
|
|
1064
|
+
updateAgentWorkflow(variables: import("./sdk").Exact<{
|
|
1065
|
+
input: import("./sdk").UpdateAgentWorkflowInput;
|
|
1066
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").UpdateAgentWorkflowMutation>;
|
|
1052
1067
|
deleteAgentPrompt(variables: import("./sdk").Exact<{
|
|
1053
1068
|
namespacedname: string;
|
|
1054
1069
|
ids?: import("./sdk").InputMaybe<string | string[]> | undefined;
|
|
@@ -1337,6 +1352,9 @@ export declare const initSdkWithHooks: (options?: SdkOptions) => {
|
|
|
1337
1352
|
deleteWorkflow(variables: import("./sdk").Exact<{
|
|
1338
1353
|
input: import("./sdk").DeleteCommonInput;
|
|
1339
1354
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").DeleteWorkflowMutation>;
|
|
1355
|
+
releaseWorkflow(variables: import("./sdk").Exact<{
|
|
1356
|
+
input: import("./sdk").ReleaseWorkflowInput;
|
|
1357
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ReleaseWorkflowMutation>;
|
|
1340
1358
|
};
|
|
1341
1359
|
/**
|
|
1342
1360
|
* hook 的方式获取 sdk 实例
|
|
@@ -1544,6 +1562,9 @@ export declare const useSdk: (options?: SdkOptions) => {
|
|
|
1544
1562
|
updateAgentKnowledgeBase(variables: import("./sdk").Exact<{
|
|
1545
1563
|
input: import("./sdk").UpdateAgentKnowledgebaseInput;
|
|
1546
1564
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").UpdateAgentKnowledgeBaseMutation>;
|
|
1565
|
+
updateAgentWorkflow(variables: import("./sdk").Exact<{
|
|
1566
|
+
input: import("./sdk").UpdateAgentWorkflowInput;
|
|
1567
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").UpdateAgentWorkflowMutation>;
|
|
1547
1568
|
deleteAgentPrompt(variables: import("./sdk").Exact<{
|
|
1548
1569
|
namespacedname: string;
|
|
1549
1570
|
ids?: import("./sdk").InputMaybe<string | string[]> | undefined;
|
|
@@ -1832,4 +1853,7 @@ export declare const useSdk: (options?: SdkOptions) => {
|
|
|
1832
1853
|
deleteWorkflow(variables: import("./sdk").Exact<{
|
|
1833
1854
|
input: import("./sdk").DeleteCommonInput;
|
|
1834
1855
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").DeleteWorkflowMutation>;
|
|
1856
|
+
releaseWorkflow(variables: import("./sdk").Exact<{
|
|
1857
|
+
input: import("./sdk").ReleaseWorkflowInput;
|
|
1858
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ReleaseWorkflowMutation>;
|
|
1835
1859
|
};
|
package/dist/cjs/sdk.d.ts
CHANGED
|
@@ -115,6 +115,8 @@ export type Agent = {
|
|
|
115
115
|
temperature?: Maybe<Scalars['Float']['output']>;
|
|
116
116
|
/** userPrompt 用户级别的 Prompt */
|
|
117
117
|
userPrompt?: Maybe<Scalars['String']['output']>;
|
|
118
|
+
/** workflows 使用的工作流列表 */
|
|
119
|
+
workflows?: Maybe<Array<Maybe<Workflow>>>;
|
|
118
120
|
};
|
|
119
121
|
/**
|
|
120
122
|
* Agent
|
|
@@ -191,6 +193,7 @@ export type AgentMutation = {
|
|
|
191
193
|
updateAgentModel?: Maybe<Scalars['Void']['output']>;
|
|
192
194
|
updateAgentPlugin?: Maybe<Scalars['Void']['output']>;
|
|
193
195
|
updateAgentPrompt?: Maybe<Scalars['Void']['output']>;
|
|
196
|
+
updateAgentWorkflow?: Maybe<Scalars['Void']['output']>;
|
|
194
197
|
};
|
|
195
198
|
export type AgentMutationCreateAgentArgs = {
|
|
196
199
|
input: CreateAgentMetadataInput;
|
|
@@ -226,6 +229,9 @@ export type AgentMutationUpdateAgentPluginArgs = {
|
|
|
226
229
|
export type AgentMutationUpdateAgentPromptArgs = {
|
|
227
230
|
input: UpdateAgentPromptInput;
|
|
228
231
|
};
|
|
232
|
+
export type AgentMutationUpdateAgentWorkflowArgs = {
|
|
233
|
+
input: UpdateAgentWorkflowInput;
|
|
234
|
+
};
|
|
229
235
|
export type AgentPrompt = {
|
|
230
236
|
__typename?: 'AgentPrompt';
|
|
231
237
|
content: Scalars['String']['output'];
|
|
@@ -2254,6 +2260,23 @@ export type ReleaseAgentInputItem = {
|
|
|
2254
2260
|
/** 发布的平台 */
|
|
2255
2261
|
Platform: Scalars['String']['input'];
|
|
2256
2262
|
};
|
|
2263
|
+
export type ReleaseWorkflowInput = {
|
|
2264
|
+
/**
|
|
2265
|
+
* 应用名称
|
|
2266
|
+
* 规则: 遵循 k8s 命名
|
|
2267
|
+
*/
|
|
2268
|
+
name: Scalars['String']['input'];
|
|
2269
|
+
/**
|
|
2270
|
+
* 应用所在的namespace
|
|
2271
|
+
* 规则: 非空
|
|
2272
|
+
*/
|
|
2273
|
+
namespace: Scalars['String']['input'];
|
|
2274
|
+
/**
|
|
2275
|
+
* 设定 workflow 的发布状态
|
|
2276
|
+
* 规则:默认为 false
|
|
2277
|
+
*/
|
|
2278
|
+
release: Scalars['Boolean']['input'];
|
|
2279
|
+
};
|
|
2257
2280
|
export type RemoveDuplicateConfig = {
|
|
2258
2281
|
embedding_model: Scalars['String']['input'];
|
|
2259
2282
|
embedding_name: Scalars['String']['input'];
|
|
@@ -2481,6 +2504,20 @@ export type UpdateAgentPromptInput = {
|
|
|
2481
2504
|
/** userPrompt 用户级别的 Prompt */
|
|
2482
2505
|
userPrompt?: InputMaybe<Scalars['String']['input']>;
|
|
2483
2506
|
};
|
|
2507
|
+
export type UpdateAgentWorkflowInput = {
|
|
2508
|
+
/**
|
|
2509
|
+
* 应用名称, 用于确定要更新哪个应用
|
|
2510
|
+
* 规则: 遵循 k8s 命名
|
|
2511
|
+
*/
|
|
2512
|
+
name: Scalars['String']['input'];
|
|
2513
|
+
/**
|
|
2514
|
+
* 应用所在的 namespace, 用于确定要更新哪个应用
|
|
2515
|
+
* 规则: 非空
|
|
2516
|
+
*/
|
|
2517
|
+
namespace: Scalars['String']['input'];
|
|
2518
|
+
/** workflows 要使用的工作流列表 */
|
|
2519
|
+
workflows?: InputMaybe<Array<InputMaybe<TypedObjectReferenceInput>>>;
|
|
2520
|
+
};
|
|
2484
2521
|
/** 数据集更新的输入 */
|
|
2485
2522
|
export type UpdateDatasetInput = {
|
|
2486
2523
|
annotations?: InputMaybe<Scalars['Map']['input']>;
|
|
@@ -3049,6 +3086,8 @@ export type Workflow = {
|
|
|
3049
3086
|
* 规则: 非空
|
|
3050
3087
|
*/
|
|
3051
3088
|
namespace: Scalars['String']['output'];
|
|
3089
|
+
/** 发布状态 */
|
|
3090
|
+
release?: Maybe<Scalars['Boolean']['output']>;
|
|
3052
3091
|
/** 状态 */
|
|
3053
3092
|
status?: Maybe<Scalars['String']['output']>;
|
|
3054
3093
|
/** 更新时间 */
|
|
@@ -3058,6 +3097,7 @@ export type WorkflowMutation = {
|
|
|
3058
3097
|
__typename?: 'WorkflowMutation';
|
|
3059
3098
|
createWorkflow: Workflow;
|
|
3060
3099
|
deleteWorkflow?: Maybe<Scalars['Void']['output']>;
|
|
3100
|
+
releaseWorkflow?: Maybe<Scalars['Void']['output']>;
|
|
3061
3101
|
updateWorkflow: Workflow;
|
|
3062
3102
|
};
|
|
3063
3103
|
export type WorkflowMutationCreateWorkflowArgs = {
|
|
@@ -3066,6 +3106,9 @@ export type WorkflowMutationCreateWorkflowArgs = {
|
|
|
3066
3106
|
export type WorkflowMutationDeleteWorkflowArgs = {
|
|
3067
3107
|
input: DeleteCommonInput;
|
|
3068
3108
|
};
|
|
3109
|
+
export type WorkflowMutationReleaseWorkflowArgs = {
|
|
3110
|
+
input: ReleaseWorkflowInput;
|
|
3111
|
+
};
|
|
3069
3112
|
export type WorkflowMutationUpdateWorkflowArgs = {
|
|
3070
3113
|
input: UpdateWorkflowInput;
|
|
3071
3114
|
};
|
|
@@ -3311,6 +3354,16 @@ export type UpdateAgentKnowledgeBaseMutation = {
|
|
|
3311
3354
|
updateAgentKnowledgeBase?: any | null;
|
|
3312
3355
|
} | null;
|
|
3313
3356
|
};
|
|
3357
|
+
export type UpdateAgentWorkflowMutationVariables = Exact<{
|
|
3358
|
+
input: UpdateAgentWorkflowInput;
|
|
3359
|
+
}>;
|
|
3360
|
+
export type UpdateAgentWorkflowMutation = {
|
|
3361
|
+
__typename?: 'Mutation';
|
|
3362
|
+
Agent?: {
|
|
3363
|
+
__typename?: 'AgentMutation';
|
|
3364
|
+
updateAgentWorkflow?: any | null;
|
|
3365
|
+
} | null;
|
|
3366
|
+
};
|
|
3314
3367
|
export type DeleteAgentPromptMutationVariables = Exact<{
|
|
3315
3368
|
namespacedname: Scalars['String']['input'];
|
|
3316
3369
|
ids?: InputMaybe<Array<Scalars['String']['input']> | Scalars['String']['input']>;
|
|
@@ -3408,6 +3461,11 @@ export type GetAgentQuery = {
|
|
|
3408
3461
|
name: string;
|
|
3409
3462
|
namespace: string;
|
|
3410
3463
|
} | null> | null;
|
|
3464
|
+
workflows?: Array<{
|
|
3465
|
+
__typename?: 'Workflow';
|
|
3466
|
+
name: string;
|
|
3467
|
+
namespace: string;
|
|
3468
|
+
} | null> | null;
|
|
3411
3469
|
};
|
|
3412
3470
|
} | null;
|
|
3413
3471
|
};
|
|
@@ -6959,6 +7017,7 @@ export type ListWorkflowsQuery = {
|
|
|
6959
7017
|
status?: string | null;
|
|
6960
7018
|
updateTimestamp?: any | null;
|
|
6961
7019
|
graph?: any | null;
|
|
7020
|
+
release?: boolean | null;
|
|
6962
7021
|
}> | null;
|
|
6963
7022
|
};
|
|
6964
7023
|
} | null;
|
|
@@ -6986,6 +7045,7 @@ export type GetWorkflowQuery = {
|
|
|
6986
7045
|
status?: string | null;
|
|
6987
7046
|
updateTimestamp?: any | null;
|
|
6988
7047
|
graph?: any | null;
|
|
7048
|
+
release?: boolean | null;
|
|
6989
7049
|
};
|
|
6990
7050
|
} | null;
|
|
6991
7051
|
};
|
|
@@ -7049,6 +7109,16 @@ export type DeleteWorkflowMutation = {
|
|
|
7049
7109
|
deleteWorkflow?: any | null;
|
|
7050
7110
|
} | null;
|
|
7051
7111
|
};
|
|
7112
|
+
export type ReleaseWorkflowMutationVariables = Exact<{
|
|
7113
|
+
input: ReleaseWorkflowInput;
|
|
7114
|
+
}>;
|
|
7115
|
+
export type ReleaseWorkflowMutation = {
|
|
7116
|
+
__typename?: 'Mutation';
|
|
7117
|
+
Workflow?: {
|
|
7118
|
+
__typename?: 'WorkflowMutation';
|
|
7119
|
+
releaseWorkflow?: any | null;
|
|
7120
|
+
} | null;
|
|
7121
|
+
};
|
|
7052
7122
|
export declare const CreateAgentDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
7053
7123
|
export declare const UpdateAgentDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
7054
7124
|
export declare const DeleteAgentDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
@@ -7058,6 +7128,7 @@ export declare const UpdateAgentPromptDocument: import("../node_modules/.pnpm/gr
|
|
|
7058
7128
|
export declare const UpdateAgentModelDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
7059
7129
|
export declare const UpdateAgentPluginDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
7060
7130
|
export declare const UpdateAgentKnowledgeBaseDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
7131
|
+
export declare const UpdateAgentWorkflowDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
7061
7132
|
export declare const DeleteAgentPromptDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
7062
7133
|
export declare const GetAgentReleaseStatusDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
7063
7134
|
export declare const GetAgentDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
@@ -7144,6 +7215,7 @@ export declare const GetWorkflowDocument: import("../node_modules/.pnpm/graphql@
|
|
|
7144
7215
|
export declare const CreateWorkflowDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
7145
7216
|
export declare const UpdateWorkflowDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
7146
7217
|
export declare const DeleteWorkflowDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
7218
|
+
export declare const ReleaseWorkflowDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
7147
7219
|
export type SdkFunctionWrapper = <T>(action: (requestHeaders?: Record<string, string>) => Promise<T>, operationName: string, operationType?: string, variables?: any) => Promise<T>;
|
|
7148
7220
|
export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionWrapper): {
|
|
7149
7221
|
createAgent(variables: CreateAgentMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<CreateAgentMutation>;
|
|
@@ -7155,6 +7227,7 @@ export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionW
|
|
|
7155
7227
|
updateAgentModel(variables: UpdateAgentModelMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<UpdateAgentModelMutation>;
|
|
7156
7228
|
updateAgentPlugin(variables: UpdateAgentPluginMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<UpdateAgentPluginMutation>;
|
|
7157
7229
|
updateAgentKnowledgeBase(variables: UpdateAgentKnowledgeBaseMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<UpdateAgentKnowledgeBaseMutation>;
|
|
7230
|
+
updateAgentWorkflow(variables: UpdateAgentWorkflowMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<UpdateAgentWorkflowMutation>;
|
|
7158
7231
|
deleteAgentPrompt(variables: DeleteAgentPromptMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<DeleteAgentPromptMutation>;
|
|
7159
7232
|
getAgentReleaseStatus(variables: GetAgentReleaseStatusQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<GetAgentReleaseStatusQuery>;
|
|
7160
7233
|
getAgent(variables: GetAgentQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<GetAgentQuery>;
|
|
@@ -7241,6 +7314,7 @@ export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionW
|
|
|
7241
7314
|
createWorkflow(variables: CreateWorkflowMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<CreateWorkflowMutation>;
|
|
7242
7315
|
updateWorkflow(variables: UpdateWorkflowMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<UpdateWorkflowMutation>;
|
|
7243
7316
|
deleteWorkflow(variables: DeleteWorkflowMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<DeleteWorkflowMutation>;
|
|
7317
|
+
releaseWorkflow(variables: ReleaseWorkflowMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<ReleaseWorkflowMutation>;
|
|
7244
7318
|
};
|
|
7245
7319
|
export type Sdk = ReturnType<typeof getSdk>;
|
|
7246
7320
|
export declare function getSdkWithHooks(client: GraphQLClient, withWrapper?: SdkFunctionWrapper): {
|
|
@@ -7321,6 +7395,9 @@ export declare function getSdkWithHooks(client: GraphQLClient, withWrapper?: Sdk
|
|
|
7321
7395
|
updateAgentKnowledgeBase(variables: Exact<{
|
|
7322
7396
|
input: UpdateAgentKnowledgebaseInput;
|
|
7323
7397
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<UpdateAgentKnowledgeBaseMutation>;
|
|
7398
|
+
updateAgentWorkflow(variables: Exact<{
|
|
7399
|
+
input: UpdateAgentWorkflowInput;
|
|
7400
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<UpdateAgentWorkflowMutation>;
|
|
7324
7401
|
deleteAgentPrompt(variables: Exact<{
|
|
7325
7402
|
namespacedname: string;
|
|
7326
7403
|
ids?: InputMaybe<string | string[]> | undefined;
|
|
@@ -7609,5 +7686,8 @@ export declare function getSdkWithHooks(client: GraphQLClient, withWrapper?: Sdk
|
|
|
7609
7686
|
deleteWorkflow(variables: Exact<{
|
|
7610
7687
|
input: DeleteCommonInput;
|
|
7611
7688
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<DeleteWorkflowMutation>;
|
|
7689
|
+
releaseWorkflow(variables: Exact<{
|
|
7690
|
+
input: ReleaseWorkflowInput;
|
|
7691
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<ReleaseWorkflowMutation>;
|
|
7612
7692
|
};
|
|
7613
7693
|
export type SdkWithHooks = ReturnType<typeof getSdkWithHooks>;
|
package/dist/cjs/sdk.js
CHANGED
|
@@ -107,11 +107,13 @@ __export(sdk_exports, {
|
|
|
107
107
|
ListWorkersDocument: () => ListWorkersDocument,
|
|
108
108
|
ListWorkflowsDocument: () => ListWorkflowsDocument,
|
|
109
109
|
ReleaseAgentDocument: () => ReleaseAgentDocument,
|
|
110
|
+
ReleaseWorkflowDocument: () => ReleaseWorkflowDocument,
|
|
110
111
|
UpdateAgentDocument: () => UpdateAgentDocument,
|
|
111
112
|
UpdateAgentKnowledgeBaseDocument: () => UpdateAgentKnowledgeBaseDocument,
|
|
112
113
|
UpdateAgentModelDocument: () => UpdateAgentModelDocument,
|
|
113
114
|
UpdateAgentPluginDocument: () => UpdateAgentPluginDocument,
|
|
114
115
|
UpdateAgentPromptDocument: () => UpdateAgentPromptDocument,
|
|
116
|
+
UpdateAgentWorkflowDocument: () => UpdateAgentWorkflowDocument,
|
|
115
117
|
UpdateDatasetDocument: () => UpdateDatasetDocument,
|
|
116
118
|
UpdateDatasourceDocument: () => UpdateDatasourceDocument,
|
|
117
119
|
UpdateEmbedderDocument: () => UpdateEmbedderDocument,
|
|
@@ -259,6 +261,13 @@ var UpdateAgentKnowledgeBaseDocument = import_graphql_tag.default`
|
|
|
259
261
|
}
|
|
260
262
|
}
|
|
261
263
|
`;
|
|
264
|
+
var UpdateAgentWorkflowDocument = import_graphql_tag.default`
|
|
265
|
+
mutation updateAgentWorkflow($input: UpdateAgentWorkflowInput!) {
|
|
266
|
+
Agent {
|
|
267
|
+
updateAgentWorkflow(input: $input)
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
`;
|
|
262
271
|
var DeleteAgentPromptDocument = import_graphql_tag.default`
|
|
263
272
|
mutation deleteAgentPrompt($namespacedname: String!, $ids: [String!]) {
|
|
264
273
|
Agent {
|
|
@@ -335,6 +344,10 @@ var GetAgentDocument = import_graphql_tag.default`
|
|
|
335
344
|
name
|
|
336
345
|
namespace
|
|
337
346
|
}
|
|
347
|
+
workflows {
|
|
348
|
+
name
|
|
349
|
+
namespace
|
|
350
|
+
}
|
|
338
351
|
}
|
|
339
352
|
}
|
|
340
353
|
}
|
|
@@ -2522,6 +2535,7 @@ var ListWorkflowsDocument = import_graphql_tag.default`
|
|
|
2522
2535
|
status
|
|
2523
2536
|
updateTimestamp
|
|
2524
2537
|
graph
|
|
2538
|
+
release
|
|
2525
2539
|
}
|
|
2526
2540
|
}
|
|
2527
2541
|
}
|
|
@@ -2545,6 +2559,7 @@ var GetWorkflowDocument = import_graphql_tag.default`
|
|
|
2545
2559
|
status
|
|
2546
2560
|
updateTimestamp
|
|
2547
2561
|
graph
|
|
2562
|
+
release
|
|
2548
2563
|
}
|
|
2549
2564
|
}
|
|
2550
2565
|
}
|
|
@@ -2598,6 +2613,13 @@ var DeleteWorkflowDocument = import_graphql_tag.default`
|
|
|
2598
2613
|
}
|
|
2599
2614
|
}
|
|
2600
2615
|
`;
|
|
2616
|
+
var ReleaseWorkflowDocument = import_graphql_tag.default`
|
|
2617
|
+
mutation releaseWorkflow($input: ReleaseWorkflowInput!) {
|
|
2618
|
+
Workflow {
|
|
2619
|
+
releaseWorkflow(input: $input)
|
|
2620
|
+
}
|
|
2621
|
+
}
|
|
2622
|
+
`;
|
|
2601
2623
|
var defaultWrapper = (action, _operationName, _operationType, variables) => action();
|
|
2602
2624
|
function getSdk(client, withWrapper = defaultWrapper) {
|
|
2603
2625
|
return {
|
|
@@ -2628,6 +2650,9 @@ function getSdk(client, withWrapper = defaultWrapper) {
|
|
|
2628
2650
|
updateAgentKnowledgeBase(variables, requestHeaders) {
|
|
2629
2651
|
return withWrapper((wrappedRequestHeaders) => client.request(UpdateAgentKnowledgeBaseDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), "updateAgentKnowledgeBase", "mutation", variables);
|
|
2630
2652
|
},
|
|
2653
|
+
updateAgentWorkflow(variables, requestHeaders) {
|
|
2654
|
+
return withWrapper((wrappedRequestHeaders) => client.request(UpdateAgentWorkflowDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), "updateAgentWorkflow", "mutation", variables);
|
|
2655
|
+
},
|
|
2631
2656
|
deleteAgentPrompt(variables, requestHeaders) {
|
|
2632
2657
|
return withWrapper((wrappedRequestHeaders) => client.request(DeleteAgentPromptDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), "deleteAgentPrompt", "mutation", variables);
|
|
2633
2658
|
},
|
|
@@ -2885,6 +2910,9 @@ function getSdk(client, withWrapper = defaultWrapper) {
|
|
|
2885
2910
|
},
|
|
2886
2911
|
deleteWorkflow(variables, requestHeaders) {
|
|
2887
2912
|
return withWrapper((wrappedRequestHeaders) => client.request(DeleteWorkflowDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), "deleteWorkflow", "mutation", variables);
|
|
2913
|
+
},
|
|
2914
|
+
releaseWorkflow(variables, requestHeaders) {
|
|
2915
|
+
return withWrapper((wrappedRequestHeaders) => client.request(ReleaseWorkflowDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), "releaseWorkflow", "mutation", variables);
|
|
2888
2916
|
}
|
|
2889
2917
|
};
|
|
2890
2918
|
}
|
|
@@ -3116,11 +3144,13 @@ function getSdkWithHooks(client, withWrapper = defaultWrapper) {
|
|
|
3116
3144
|
ListWorkersDocument,
|
|
3117
3145
|
ListWorkflowsDocument,
|
|
3118
3146
|
ReleaseAgentDocument,
|
|
3147
|
+
ReleaseWorkflowDocument,
|
|
3119
3148
|
UpdateAgentDocument,
|
|
3120
3149
|
UpdateAgentKnowledgeBaseDocument,
|
|
3121
3150
|
UpdateAgentModelDocument,
|
|
3122
3151
|
UpdateAgentPluginDocument,
|
|
3123
3152
|
UpdateAgentPromptDocument,
|
|
3153
|
+
UpdateAgentWorkflowDocument,
|
|
3124
3154
|
UpdateDatasetDocument,
|
|
3125
3155
|
UpdateDatasourceDocument,
|
|
3126
3156
|
UpdateEmbedderDocument,
|
package/dist/cjs/taro.d.ts
CHANGED
|
@@ -62,6 +62,9 @@ export declare const initSdk: (options?: SdkOptions) => {
|
|
|
62
62
|
updateAgentKnowledgeBase(variables: import("./sdk").Exact<{
|
|
63
63
|
input: import("./sdk").UpdateAgentKnowledgebaseInput;
|
|
64
64
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").UpdateAgentKnowledgeBaseMutation>;
|
|
65
|
+
updateAgentWorkflow(variables: import("./sdk").Exact<{
|
|
66
|
+
input: import("./sdk").UpdateAgentWorkflowInput;
|
|
67
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").UpdateAgentWorkflowMutation>;
|
|
65
68
|
deleteAgentPrompt(variables: import("./sdk").Exact<{
|
|
66
69
|
namespacedname: string;
|
|
67
70
|
ids?: import("./sdk").InputMaybe<string | string[]> | undefined;
|
|
@@ -350,6 +353,9 @@ export declare const initSdk: (options?: SdkOptions) => {
|
|
|
350
353
|
deleteWorkflow(variables: import("./sdk").Exact<{
|
|
351
354
|
input: import("./sdk").DeleteCommonInput;
|
|
352
355
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").DeleteWorkflowMutation>;
|
|
356
|
+
releaseWorkflow(variables: import("./sdk").Exact<{
|
|
357
|
+
input: import("./sdk").ReleaseWorkflowInput;
|
|
358
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ReleaseWorkflowMutation>;
|
|
353
359
|
};
|
|
354
360
|
/**
|
|
355
361
|
* 初始化 sdk 实例 (包含 hooks)
|
|
@@ -557,6 +563,9 @@ export declare const initSdkWithHooks: (options?: SdkOptions) => {
|
|
|
557
563
|
updateAgentKnowledgeBase(variables: import("./sdk").Exact<{
|
|
558
564
|
input: import("./sdk").UpdateAgentKnowledgebaseInput;
|
|
559
565
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").UpdateAgentKnowledgeBaseMutation>;
|
|
566
|
+
updateAgentWorkflow(variables: import("./sdk").Exact<{
|
|
567
|
+
input: import("./sdk").UpdateAgentWorkflowInput;
|
|
568
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").UpdateAgentWorkflowMutation>;
|
|
560
569
|
deleteAgentPrompt(variables: import("./sdk").Exact<{
|
|
561
570
|
namespacedname: string;
|
|
562
571
|
ids?: import("./sdk").InputMaybe<string | string[]> | undefined;
|
|
@@ -845,6 +854,9 @@ export declare const initSdkWithHooks: (options?: SdkOptions) => {
|
|
|
845
854
|
deleteWorkflow(variables: import("./sdk").Exact<{
|
|
846
855
|
input: import("./sdk").DeleteCommonInput;
|
|
847
856
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").DeleteWorkflowMutation>;
|
|
857
|
+
releaseWorkflow(variables: import("./sdk").Exact<{
|
|
858
|
+
input: import("./sdk").ReleaseWorkflowInput;
|
|
859
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ReleaseWorkflowMutation>;
|
|
848
860
|
};
|
|
849
861
|
/**
|
|
850
862
|
* hook 的方式获取 sdk 实例
|
|
@@ -1052,6 +1064,9 @@ export declare const useSdk: (options?: SdkOptions) => {
|
|
|
1052
1064
|
updateAgentKnowledgeBase(variables: import("./sdk").Exact<{
|
|
1053
1065
|
input: import("./sdk").UpdateAgentKnowledgebaseInput;
|
|
1054
1066
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").UpdateAgentKnowledgeBaseMutation>;
|
|
1067
|
+
updateAgentWorkflow(variables: import("./sdk").Exact<{
|
|
1068
|
+
input: import("./sdk").UpdateAgentWorkflowInput;
|
|
1069
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").UpdateAgentWorkflowMutation>;
|
|
1055
1070
|
deleteAgentPrompt(variables: import("./sdk").Exact<{
|
|
1056
1071
|
namespacedname: string;
|
|
1057
1072
|
ids?: import("./sdk").InputMaybe<string | string[]> | undefined;
|
|
@@ -1340,4 +1355,7 @@ export declare const useSdk: (options?: SdkOptions) => {
|
|
|
1340
1355
|
deleteWorkflow(variables: import("./sdk").Exact<{
|
|
1341
1356
|
input: import("./sdk").DeleteCommonInput;
|
|
1342
1357
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").DeleteWorkflowMutation>;
|
|
1358
|
+
releaseWorkflow(variables: import("./sdk").Exact<{
|
|
1359
|
+
input: import("./sdk").ReleaseWorkflowInput;
|
|
1360
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ReleaseWorkflowMutation>;
|
|
1343
1361
|
};
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -211,6 +211,9 @@ export declare const sdk: {
|
|
|
211
211
|
updateAgentKnowledgeBase(variables: import("./sdk").Exact<{
|
|
212
212
|
input: import("./sdk").UpdateAgentKnowledgebaseInput;
|
|
213
213
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").UpdateAgentKnowledgeBaseMutation>;
|
|
214
|
+
updateAgentWorkflow(variables: import("./sdk").Exact<{
|
|
215
|
+
input: import("./sdk").UpdateAgentWorkflowInput;
|
|
216
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").UpdateAgentWorkflowMutation>;
|
|
214
217
|
deleteAgentPrompt(variables: import("./sdk").Exact<{
|
|
215
218
|
namespacedname: string;
|
|
216
219
|
ids?: import("./sdk").InputMaybe<string | string[]> | undefined;
|
|
@@ -499,6 +502,9 @@ export declare const sdk: {
|
|
|
499
502
|
deleteWorkflow(variables: import("./sdk").Exact<{
|
|
500
503
|
input: import("./sdk").DeleteCommonInput;
|
|
501
504
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").DeleteWorkflowMutation>;
|
|
505
|
+
releaseWorkflow(variables: import("./sdk").Exact<{
|
|
506
|
+
input: import("./sdk").ReleaseWorkflowInput;
|
|
507
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ReleaseWorkflowMutation>;
|
|
502
508
|
};
|
|
503
509
|
/** 初始化 sdk 的配置项 */
|
|
504
510
|
export interface SdkBaseOptions {
|
|
@@ -554,6 +560,9 @@ export declare const initSdk: (options?: SdkOptions) => {
|
|
|
554
560
|
updateAgentKnowledgeBase(variables: import("./sdk").Exact<{
|
|
555
561
|
input: import("./sdk").UpdateAgentKnowledgebaseInput;
|
|
556
562
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").UpdateAgentKnowledgeBaseMutation>;
|
|
563
|
+
updateAgentWorkflow(variables: import("./sdk").Exact<{
|
|
564
|
+
input: import("./sdk").UpdateAgentWorkflowInput;
|
|
565
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").UpdateAgentWorkflowMutation>;
|
|
557
566
|
deleteAgentPrompt(variables: import("./sdk").Exact<{
|
|
558
567
|
namespacedname: string;
|
|
559
568
|
ids?: import("./sdk").InputMaybe<string | string[]> | undefined;
|
|
@@ -842,6 +851,9 @@ export declare const initSdk: (options?: SdkOptions) => {
|
|
|
842
851
|
deleteWorkflow(variables: import("./sdk").Exact<{
|
|
843
852
|
input: import("./sdk").DeleteCommonInput;
|
|
844
853
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").DeleteWorkflowMutation>;
|
|
854
|
+
releaseWorkflow(variables: import("./sdk").Exact<{
|
|
855
|
+
input: import("./sdk").ReleaseWorkflowInput;
|
|
856
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ReleaseWorkflowMutation>;
|
|
845
857
|
};
|
|
846
858
|
/**
|
|
847
859
|
* 初始化 sdk 实例 (包含 hooks)
|
|
@@ -1049,6 +1061,9 @@ export declare const initSdkWithHooks: (options?: SdkOptions) => {
|
|
|
1049
1061
|
updateAgentKnowledgeBase(variables: import("./sdk").Exact<{
|
|
1050
1062
|
input: import("./sdk").UpdateAgentKnowledgebaseInput;
|
|
1051
1063
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").UpdateAgentKnowledgeBaseMutation>;
|
|
1064
|
+
updateAgentWorkflow(variables: import("./sdk").Exact<{
|
|
1065
|
+
input: import("./sdk").UpdateAgentWorkflowInput;
|
|
1066
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").UpdateAgentWorkflowMutation>;
|
|
1052
1067
|
deleteAgentPrompt(variables: import("./sdk").Exact<{
|
|
1053
1068
|
namespacedname: string;
|
|
1054
1069
|
ids?: import("./sdk").InputMaybe<string | string[]> | undefined;
|
|
@@ -1337,6 +1352,9 @@ export declare const initSdkWithHooks: (options?: SdkOptions) => {
|
|
|
1337
1352
|
deleteWorkflow(variables: import("./sdk").Exact<{
|
|
1338
1353
|
input: import("./sdk").DeleteCommonInput;
|
|
1339
1354
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").DeleteWorkflowMutation>;
|
|
1355
|
+
releaseWorkflow(variables: import("./sdk").Exact<{
|
|
1356
|
+
input: import("./sdk").ReleaseWorkflowInput;
|
|
1357
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ReleaseWorkflowMutation>;
|
|
1340
1358
|
};
|
|
1341
1359
|
/**
|
|
1342
1360
|
* hook 的方式获取 sdk 实例
|
|
@@ -1544,6 +1562,9 @@ export declare const useSdk: (options?: SdkOptions) => {
|
|
|
1544
1562
|
updateAgentKnowledgeBase(variables: import("./sdk").Exact<{
|
|
1545
1563
|
input: import("./sdk").UpdateAgentKnowledgebaseInput;
|
|
1546
1564
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").UpdateAgentKnowledgeBaseMutation>;
|
|
1565
|
+
updateAgentWorkflow(variables: import("./sdk").Exact<{
|
|
1566
|
+
input: import("./sdk").UpdateAgentWorkflowInput;
|
|
1567
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").UpdateAgentWorkflowMutation>;
|
|
1547
1568
|
deleteAgentPrompt(variables: import("./sdk").Exact<{
|
|
1548
1569
|
namespacedname: string;
|
|
1549
1570
|
ids?: import("./sdk").InputMaybe<string | string[]> | undefined;
|
|
@@ -1832,4 +1853,7 @@ export declare const useSdk: (options?: SdkOptions) => {
|
|
|
1832
1853
|
deleteWorkflow(variables: import("./sdk").Exact<{
|
|
1833
1854
|
input: import("./sdk").DeleteCommonInput;
|
|
1834
1855
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").DeleteWorkflowMutation>;
|
|
1856
|
+
releaseWorkflow(variables: import("./sdk").Exact<{
|
|
1857
|
+
input: import("./sdk").ReleaseWorkflowInput;
|
|
1858
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ReleaseWorkflowMutation>;
|
|
1835
1859
|
};
|