@yuntijs/arcadia-bff-sdk 1.2.166 → 1.2.168
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 +21 -0
- package/dist/cjs/sdk.d.ts +40 -0
- package/dist/cjs/sdk.js +21 -0
- package/dist/cjs/taro.d.ts +15 -0
- package/dist/esm/index.d.ts +21 -0
- package/dist/esm/sdk.d.ts +40 -0
- package/dist/esm/sdk.js +138 -127
- package/dist/esm/taro.d.ts +15 -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
|
@@ -51,6 +51,9 @@ export declare const sdk: {
|
|
|
51
51
|
useListAgentInvocationLogs(variables?: import("./sdk").Exact<{
|
|
52
52
|
input?: import("./sdk").InputMaybe<import("./sdk").ListAgentInvocationLogsInput> | undefined;
|
|
53
53
|
}> | undefined, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ListAgentInvocationLogsQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ListAgentInvocationLogsQuery, import("graphql-request/src/types").ClientError>;
|
|
54
|
+
useListAgentInvocationLogTags(variables?: import("./sdk").Exact<{
|
|
55
|
+
input?: import("./sdk").InputMaybe<import("./sdk").ListAgentInvocationLogsInput> | undefined;
|
|
56
|
+
}> | undefined, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ListAgentInvocationLogTagsQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ListAgentInvocationLogTagsQuery, import("graphql-request/src/types").ClientError>;
|
|
54
57
|
useGetAgentStats(variables?: import("./sdk").Exact<{
|
|
55
58
|
input?: import("./sdk").InputMaybe<import("./sdk").GetAgentStatsInput> | undefined;
|
|
56
59
|
}> | undefined, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetAgentStatsQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetAgentStatsQuery, import("graphql-request/src/types").ClientError>;
|
|
@@ -354,6 +357,9 @@ export declare const sdk: {
|
|
|
354
357
|
listAgentInvocationLogs(variables?: import("./sdk").Exact<{
|
|
355
358
|
input?: import("./sdk").InputMaybe<import("./sdk").ListAgentInvocationLogsInput> | undefined;
|
|
356
359
|
}> | undefined, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListAgentInvocationLogsQuery>;
|
|
360
|
+
listAgentInvocationLogTags(variables?: import("./sdk").Exact<{
|
|
361
|
+
input?: import("./sdk").InputMaybe<import("./sdk").ListAgentInvocationLogsInput> | undefined;
|
|
362
|
+
}> | undefined, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListAgentInvocationLogTagsQuery>;
|
|
357
363
|
getAgentStats(variables?: import("./sdk").Exact<{
|
|
358
364
|
input?: import("./sdk").InputMaybe<import("./sdk").GetAgentStatsInput> | undefined;
|
|
359
365
|
}> | undefined, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetAgentStatsQuery>;
|
|
@@ -898,6 +904,9 @@ export declare const initSdk: (options?: SdkOptions) => {
|
|
|
898
904
|
listAgentInvocationLogs(variables?: import("./sdk").Exact<{
|
|
899
905
|
input?: import("./sdk").InputMaybe<import("./sdk").ListAgentInvocationLogsInput> | undefined;
|
|
900
906
|
}> | undefined, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListAgentInvocationLogsQuery>;
|
|
907
|
+
listAgentInvocationLogTags(variables?: import("./sdk").Exact<{
|
|
908
|
+
input?: import("./sdk").InputMaybe<import("./sdk").ListAgentInvocationLogsInput> | undefined;
|
|
909
|
+
}> | undefined, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListAgentInvocationLogTagsQuery>;
|
|
901
910
|
getAgentStats(variables?: import("./sdk").Exact<{
|
|
902
911
|
input?: import("./sdk").InputMaybe<import("./sdk").GetAgentStatsInput> | undefined;
|
|
903
912
|
}> | undefined, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetAgentStatsQuery>;
|
|
@@ -1357,6 +1366,9 @@ export declare const initSdkWithHooks: (options?: SdkOptions) => {
|
|
|
1357
1366
|
useListAgentInvocationLogs(variables?: import("./sdk").Exact<{
|
|
1358
1367
|
input?: import("./sdk").InputMaybe<import("./sdk").ListAgentInvocationLogsInput> | undefined;
|
|
1359
1368
|
}> | undefined, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ListAgentInvocationLogsQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ListAgentInvocationLogsQuery, import("graphql-request/src/types").ClientError>;
|
|
1369
|
+
useListAgentInvocationLogTags(variables?: import("./sdk").Exact<{
|
|
1370
|
+
input?: import("./sdk").InputMaybe<import("./sdk").ListAgentInvocationLogsInput> | undefined;
|
|
1371
|
+
}> | undefined, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ListAgentInvocationLogTagsQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ListAgentInvocationLogTagsQuery, import("graphql-request/src/types").ClientError>;
|
|
1360
1372
|
useGetAgentStats(variables?: import("./sdk").Exact<{
|
|
1361
1373
|
input?: import("./sdk").InputMaybe<import("./sdk").GetAgentStatsInput> | undefined;
|
|
1362
1374
|
}> | undefined, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetAgentStatsQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetAgentStatsQuery, import("graphql-request/src/types").ClientError>;
|
|
@@ -1660,6 +1672,9 @@ export declare const initSdkWithHooks: (options?: SdkOptions) => {
|
|
|
1660
1672
|
listAgentInvocationLogs(variables?: import("./sdk").Exact<{
|
|
1661
1673
|
input?: import("./sdk").InputMaybe<import("./sdk").ListAgentInvocationLogsInput> | undefined;
|
|
1662
1674
|
}> | undefined, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListAgentInvocationLogsQuery>;
|
|
1675
|
+
listAgentInvocationLogTags(variables?: import("./sdk").Exact<{
|
|
1676
|
+
input?: import("./sdk").InputMaybe<import("./sdk").ListAgentInvocationLogsInput> | undefined;
|
|
1677
|
+
}> | undefined, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListAgentInvocationLogTagsQuery>;
|
|
1663
1678
|
getAgentStats(variables?: import("./sdk").Exact<{
|
|
1664
1679
|
input?: import("./sdk").InputMaybe<import("./sdk").GetAgentStatsInput> | undefined;
|
|
1665
1680
|
}> | undefined, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetAgentStatsQuery>;
|
|
@@ -2119,6 +2134,9 @@ export declare const useSdk: (options?: SdkOptions) => {
|
|
|
2119
2134
|
useListAgentInvocationLogs(variables?: import("./sdk").Exact<{
|
|
2120
2135
|
input?: import("./sdk").InputMaybe<import("./sdk").ListAgentInvocationLogsInput> | undefined;
|
|
2121
2136
|
}> | undefined, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ListAgentInvocationLogsQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ListAgentInvocationLogsQuery, import("graphql-request/src/types").ClientError>;
|
|
2137
|
+
useListAgentInvocationLogTags(variables?: import("./sdk").Exact<{
|
|
2138
|
+
input?: import("./sdk").InputMaybe<import("./sdk").ListAgentInvocationLogsInput> | undefined;
|
|
2139
|
+
}> | undefined, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ListAgentInvocationLogTagsQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ListAgentInvocationLogTagsQuery, import("graphql-request/src/types").ClientError>;
|
|
2122
2140
|
useGetAgentStats(variables?: import("./sdk").Exact<{
|
|
2123
2141
|
input?: import("./sdk").InputMaybe<import("./sdk").GetAgentStatsInput> | undefined;
|
|
2124
2142
|
}> | undefined, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetAgentStatsQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetAgentStatsQuery, import("graphql-request/src/types").ClientError>;
|
|
@@ -2422,6 +2440,9 @@ export declare const useSdk: (options?: SdkOptions) => {
|
|
|
2422
2440
|
listAgentInvocationLogs(variables?: import("./sdk").Exact<{
|
|
2423
2441
|
input?: import("./sdk").InputMaybe<import("./sdk").ListAgentInvocationLogsInput> | undefined;
|
|
2424
2442
|
}> | undefined, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListAgentInvocationLogsQuery>;
|
|
2443
|
+
listAgentInvocationLogTags(variables?: import("./sdk").Exact<{
|
|
2444
|
+
input?: import("./sdk").InputMaybe<import("./sdk").ListAgentInvocationLogsInput> | undefined;
|
|
2445
|
+
}> | undefined, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListAgentInvocationLogTagsQuery>;
|
|
2425
2446
|
getAgentStats(variables?: import("./sdk").Exact<{
|
|
2426
2447
|
input?: import("./sdk").InputMaybe<import("./sdk").GetAgentStatsInput> | undefined;
|
|
2427
2448
|
}> | undefined, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetAgentStatsQuery>;
|
package/dist/cjs/sdk.d.ts
CHANGED
|
@@ -184,6 +184,8 @@ export type AgentInvocationLog = {
|
|
|
184
184
|
startedAt?: Maybe<Scalars['Time']['output']>;
|
|
185
185
|
/** 状态 */
|
|
186
186
|
status?: Maybe<Scalars['String']['output']>;
|
|
187
|
+
/** tags 此轮会话的归类标签 */
|
|
188
|
+
tags?: Maybe<Array<Scalars['String']['output']>>;
|
|
187
189
|
/** 首字符响应延迟 */
|
|
188
190
|
timeToFirstToken?: Maybe<Scalars['Int64']['output']>;
|
|
189
191
|
/** tokenUsage 会话的token消耗 */
|
|
@@ -193,6 +195,11 @@ export type AgentInvocationLog = {
|
|
|
193
195
|
/** 用户反馈 */
|
|
194
196
|
vote?: Maybe<Scalars['Int64']['output']>;
|
|
195
197
|
};
|
|
198
|
+
export type AgentInvocationLogTag = {
|
|
199
|
+
__typename?: 'AgentInvocationLogTag';
|
|
200
|
+
count?: Maybe<Scalars['Int']['output']>;
|
|
201
|
+
tag?: Maybe<Scalars['String']['output']>;
|
|
202
|
+
};
|
|
196
203
|
/**
|
|
197
204
|
* Agent
|
|
198
205
|
* 应用 Metadata
|
|
@@ -395,6 +402,7 @@ export type AgentQuery = {
|
|
|
395
402
|
getAgentStats: AgentStats;
|
|
396
403
|
getGPTStore: GptStore;
|
|
397
404
|
getWeiXinAuthorizerURL: Scalars['String']['output'];
|
|
405
|
+
listAgentInvocationLogTags: ListAgentInvocationLogTagsResult;
|
|
398
406
|
listAgentInvocationLogs: PaginatedResult;
|
|
399
407
|
listAgentMetadata: PaginatedResult;
|
|
400
408
|
listAgentPrompt: PaginatedResult;
|
|
@@ -423,6 +431,9 @@ export type AgentQueryGetWeiXinAuthorizerUrlArgs = {
|
|
|
423
431
|
namespace: Scalars['String']['input'];
|
|
424
432
|
redirectURL: Scalars['String']['input'];
|
|
425
433
|
};
|
|
434
|
+
export type AgentQueryListAgentInvocationLogTagsArgs = {
|
|
435
|
+
input?: InputMaybe<ListAgentInvocationLogsInput>;
|
|
436
|
+
};
|
|
426
437
|
export type AgentQueryListAgentInvocationLogsArgs = {
|
|
427
438
|
input?: InputMaybe<ListAgentInvocationLogsInput>;
|
|
428
439
|
};
|
|
@@ -1887,6 +1898,10 @@ export type LabelSelectorRequirementInput = {
|
|
|
1887
1898
|
operator?: InputMaybe<Scalars['String']['input']>;
|
|
1888
1899
|
values?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
1889
1900
|
};
|
|
1901
|
+
export type ListAgentInvocationLogTagsResult = {
|
|
1902
|
+
__typename?: 'ListAgentInvocationLogTagsResult';
|
|
1903
|
+
data?: Maybe<Array<AgentInvocationLogTag>>;
|
|
1904
|
+
};
|
|
1890
1905
|
export type ListAgentInvocationLogsInput = {
|
|
1891
1906
|
conversationId?: InputMaybe<Scalars['String']['input']>;
|
|
1892
1907
|
endTime?: InputMaybe<Scalars['Time']['input']>;
|
|
@@ -1897,6 +1912,7 @@ export type ListAgentInvocationLogsInput = {
|
|
|
1897
1912
|
size?: InputMaybe<Scalars['Int']['input']>;
|
|
1898
1913
|
startTime?: InputMaybe<Scalars['Time']['input']>;
|
|
1899
1914
|
status?: InputMaybe<Scalars['String']['input']>;
|
|
1915
|
+
tag?: InputMaybe<Scalars['String']['input']>;
|
|
1900
1916
|
userId?: InputMaybe<Scalars['String']['input']>;
|
|
1901
1917
|
vote?: InputMaybe<Scalars['Int64']['input']>;
|
|
1902
1918
|
};
|
|
@@ -5226,6 +5242,7 @@ export type ListAgentInvocationLogsQuery = {
|
|
|
5226
5242
|
vote?: any | null;
|
|
5227
5243
|
status?: string | null;
|
|
5228
5244
|
userId?: string | null;
|
|
5245
|
+
tags?: Array<string> | null;
|
|
5229
5246
|
events?: Array<{
|
|
5230
5247
|
__typename?: 'Event';
|
|
5231
5248
|
eventType: string;
|
|
@@ -5308,6 +5325,23 @@ export type ListAgentInvocationLogsQuery = {
|
|
|
5308
5325
|
};
|
|
5309
5326
|
} | null;
|
|
5310
5327
|
};
|
|
5328
|
+
export type ListAgentInvocationLogTagsQueryVariables = Exact<{
|
|
5329
|
+
input?: InputMaybe<ListAgentInvocationLogsInput>;
|
|
5330
|
+
}>;
|
|
5331
|
+
export type ListAgentInvocationLogTagsQuery = {
|
|
5332
|
+
__typename?: 'Query';
|
|
5333
|
+
Agent?: {
|
|
5334
|
+
__typename?: 'AgentQuery';
|
|
5335
|
+
listAgentInvocationLogTags: {
|
|
5336
|
+
__typename?: 'ListAgentInvocationLogTagsResult';
|
|
5337
|
+
data?: Array<{
|
|
5338
|
+
__typename?: 'AgentInvocationLogTag';
|
|
5339
|
+
count?: number | null;
|
|
5340
|
+
tag?: string | null;
|
|
5341
|
+
}> | null;
|
|
5342
|
+
};
|
|
5343
|
+
} | null;
|
|
5344
|
+
};
|
|
5311
5345
|
export type GetAgentStatsQueryVariables = Exact<{
|
|
5312
5346
|
input?: InputMaybe<GetAgentStatsInput>;
|
|
5313
5347
|
}>;
|
|
@@ -11084,6 +11118,7 @@ export declare const ListGptCategoryDocument: import("../node_modules/.pnpm/grap
|
|
|
11084
11118
|
export declare const GetGptStoreDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
11085
11119
|
export declare const GetWeiXinAuthorizerUrlDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
11086
11120
|
export declare const ListAgentInvocationLogsDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
11121
|
+
export declare const ListAgentInvocationLogTagsDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
11087
11122
|
export declare const GetAgentStatsDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
11088
11123
|
export declare const ListDatasetsDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
11089
11124
|
export declare const GetDatasetDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
@@ -11241,6 +11276,7 @@ export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionW
|
|
|
11241
11276
|
getGPTStore(variables?: GetGptStoreQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<GetGptStoreQuery>;
|
|
11242
11277
|
getWeiXinAuthorizerURL(variables: GetWeiXinAuthorizerUrlQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<GetWeiXinAuthorizerUrlQuery>;
|
|
11243
11278
|
listAgentInvocationLogs(variables?: ListAgentInvocationLogsQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<ListAgentInvocationLogsQuery>;
|
|
11279
|
+
listAgentInvocationLogTags(variables?: ListAgentInvocationLogTagsQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<ListAgentInvocationLogTagsQuery>;
|
|
11244
11280
|
getAgentStats(variables?: GetAgentStatsQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<GetAgentStatsQuery>;
|
|
11245
11281
|
listDatasets(variables: ListDatasetsQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<ListDatasetsQuery>;
|
|
11246
11282
|
getDataset(variables: GetDatasetQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<GetDatasetQuery>;
|
|
@@ -11379,6 +11415,7 @@ export declare function getSdkWithHooks(client: GraphQLClient, withWrapper?: Sdk
|
|
|
11379
11415
|
useGetGptStore(variables?: GetGptStoreQueryVariables, config?: SWRConfigInterface<GetGptStoreQuery, ClientError>): import("./useSWR").SWRResponsePro<GetGptStoreQuery, ClientError>;
|
|
11380
11416
|
useGetWeiXinAuthorizerUrl(variables: GetWeiXinAuthorizerUrlQueryVariables, config?: SWRConfigInterface<GetWeiXinAuthorizerUrlQuery, ClientError>): import("./useSWR").SWRResponsePro<GetWeiXinAuthorizerUrlQuery, ClientError>;
|
|
11381
11417
|
useListAgentInvocationLogs(variables?: ListAgentInvocationLogsQueryVariables, config?: SWRConfigInterface<ListAgentInvocationLogsQuery, ClientError>): import("./useSWR").SWRResponsePro<ListAgentInvocationLogsQuery, ClientError>;
|
|
11418
|
+
useListAgentInvocationLogTags(variables?: ListAgentInvocationLogTagsQueryVariables, config?: SWRConfigInterface<ListAgentInvocationLogTagsQuery, ClientError>): import("./useSWR").SWRResponsePro<ListAgentInvocationLogTagsQuery, ClientError>;
|
|
11382
11419
|
useGetAgentStats(variables?: GetAgentStatsQueryVariables, config?: SWRConfigInterface<GetAgentStatsQuery, ClientError>): import("./useSWR").SWRResponsePro<GetAgentStatsQuery, ClientError>;
|
|
11383
11420
|
useListDatasets(variables: ListDatasetsQueryVariables, config?: SWRConfigInterface<ListDatasetsQuery, ClientError>): import("./useSWR").SWRResponsePro<ListDatasetsQuery, ClientError>;
|
|
11384
11421
|
useGetDataset(variables: GetDatasetQueryVariables, config?: SWRConfigInterface<GetDatasetQuery, ClientError>): import("./useSWR").SWRResponsePro<GetDatasetQuery, ClientError>;
|
|
@@ -11542,6 +11579,9 @@ export declare function getSdkWithHooks(client: GraphQLClient, withWrapper?: Sdk
|
|
|
11542
11579
|
listAgentInvocationLogs(variables?: Exact<{
|
|
11543
11580
|
input?: InputMaybe<ListAgentInvocationLogsInput> | undefined;
|
|
11544
11581
|
}> | undefined, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<ListAgentInvocationLogsQuery>;
|
|
11582
|
+
listAgentInvocationLogTags(variables?: Exact<{
|
|
11583
|
+
input?: InputMaybe<ListAgentInvocationLogsInput> | undefined;
|
|
11584
|
+
}> | undefined, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<ListAgentInvocationLogTagsQuery>;
|
|
11545
11585
|
getAgentStats(variables?: Exact<{
|
|
11546
11586
|
input?: InputMaybe<GetAgentStatsInput> | undefined;
|
|
11547
11587
|
}> | undefined, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<GetAgentStatsQuery>;
|
package/dist/cjs/sdk.js
CHANGED
|
@@ -120,6 +120,7 @@ __export(sdk_exports, {
|
|
|
120
120
|
GetWorkerDocument: () => GetWorkerDocument,
|
|
121
121
|
GetWorkflowDocument: () => GetWorkflowDocument,
|
|
122
122
|
GetWorkflowTemplateDocument: () => GetWorkflowTemplateDocument,
|
|
123
|
+
ListAgentInvocationLogTagsDocument: () => ListAgentInvocationLogTagsDocument,
|
|
123
124
|
ListAgentInvocationLogsDocument: () => ListAgentInvocationLogsDocument,
|
|
124
125
|
ListAgentPromptDocument: () => ListAgentPromptDocument,
|
|
125
126
|
ListAgentTemplatesDocument: () => ListAgentTemplatesDocument,
|
|
@@ -750,12 +751,25 @@ var ListAgentInvocationLogsDocument = import_graphql_tag.default`
|
|
|
750
751
|
totalTokens
|
|
751
752
|
}
|
|
752
753
|
userId
|
|
754
|
+
tags
|
|
753
755
|
}
|
|
754
756
|
}
|
|
755
757
|
}
|
|
756
758
|
}
|
|
757
759
|
}
|
|
758
760
|
`;
|
|
761
|
+
var ListAgentInvocationLogTagsDocument = import_graphql_tag.default`
|
|
762
|
+
query listAgentInvocationLogTags($input: ListAgentInvocationLogsInput) {
|
|
763
|
+
Agent {
|
|
764
|
+
listAgentInvocationLogTags(input: $input) {
|
|
765
|
+
data {
|
|
766
|
+
count
|
|
767
|
+
tag
|
|
768
|
+
}
|
|
769
|
+
}
|
|
770
|
+
}
|
|
771
|
+
}
|
|
772
|
+
`;
|
|
759
773
|
var GetAgentStatsDocument = import_graphql_tag.default`
|
|
760
774
|
query getAgentStats($input: GetAgentStatsInput) {
|
|
761
775
|
Agent {
|
|
@@ -3928,6 +3942,9 @@ function getSdk(client, withWrapper = defaultWrapper) {
|
|
|
3928
3942
|
listAgentInvocationLogs(variables, requestHeaders) {
|
|
3929
3943
|
return withWrapper((wrappedRequestHeaders) => client.request(ListAgentInvocationLogsDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), "listAgentInvocationLogs", "query", variables);
|
|
3930
3944
|
},
|
|
3945
|
+
listAgentInvocationLogTags(variables, requestHeaders) {
|
|
3946
|
+
return withWrapper((wrappedRequestHeaders) => client.request(ListAgentInvocationLogTagsDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), "listAgentInvocationLogTags", "query", variables);
|
|
3947
|
+
},
|
|
3931
3948
|
getAgentStats(variables, requestHeaders) {
|
|
3932
3949
|
return withWrapper((wrappedRequestHeaders) => client.request(GetAgentStatsDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), "getAgentStats", "query", variables);
|
|
3933
3950
|
},
|
|
@@ -4340,6 +4357,9 @@ function getSdkWithHooks(client, withWrapper = defaultWrapper) {
|
|
|
4340
4357
|
useListAgentInvocationLogs(variables, config) {
|
|
4341
4358
|
return (0, import_useSWR.default)(genKey("ListAgentInvocationLogs", variables), () => sdk.listAgentInvocationLogs(variables), config);
|
|
4342
4359
|
},
|
|
4360
|
+
useListAgentInvocationLogTags(variables, config) {
|
|
4361
|
+
return (0, import_useSWR.default)(genKey("ListAgentInvocationLogTags", variables), () => sdk.listAgentInvocationLogTags(variables), config);
|
|
4362
|
+
},
|
|
4343
4363
|
useGetAgentStats(variables, config) {
|
|
4344
4364
|
return (0, import_useSWR.default)(genKey("GetAgentStats", variables), () => sdk.getAgentStats(variables), config);
|
|
4345
4365
|
},
|
|
@@ -4603,6 +4623,7 @@ function getSdkWithHooks(client, withWrapper = defaultWrapper) {
|
|
|
4603
4623
|
GetWorkerDocument,
|
|
4604
4624
|
GetWorkflowDocument,
|
|
4605
4625
|
GetWorkflowTemplateDocument,
|
|
4626
|
+
ListAgentInvocationLogTagsDocument,
|
|
4606
4627
|
ListAgentInvocationLogsDocument,
|
|
4607
4628
|
ListAgentPromptDocument,
|
|
4608
4629
|
ListAgentTemplatesDocument,
|
package/dist/cjs/taro.d.ts
CHANGED
|
@@ -139,6 +139,9 @@ export declare const initSdk: (options?: SdkOptions) => {
|
|
|
139
139
|
listAgentInvocationLogs(variables?: import("./sdk").Exact<{
|
|
140
140
|
input?: import("./sdk").InputMaybe<import("./sdk").ListAgentInvocationLogsInput> | undefined;
|
|
141
141
|
}> | undefined, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListAgentInvocationLogsQuery>;
|
|
142
|
+
listAgentInvocationLogTags(variables?: import("./sdk").Exact<{
|
|
143
|
+
input?: import("./sdk").InputMaybe<import("./sdk").ListAgentInvocationLogsInput> | undefined;
|
|
144
|
+
}> | undefined, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListAgentInvocationLogTagsQuery>;
|
|
142
145
|
getAgentStats(variables?: import("./sdk").Exact<{
|
|
143
146
|
input?: import("./sdk").InputMaybe<import("./sdk").GetAgentStatsInput> | undefined;
|
|
144
147
|
}> | undefined, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetAgentStatsQuery>;
|
|
@@ -598,6 +601,9 @@ export declare const initSdkWithHooks: (options?: SdkOptions) => {
|
|
|
598
601
|
useListAgentInvocationLogs(variables?: import("./sdk").Exact<{
|
|
599
602
|
input?: import("./sdk").InputMaybe<import("./sdk").ListAgentInvocationLogsInput> | undefined;
|
|
600
603
|
}> | undefined, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ListAgentInvocationLogsQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ListAgentInvocationLogsQuery, import("graphql-request/src/types").ClientError>;
|
|
604
|
+
useListAgentInvocationLogTags(variables?: import("./sdk").Exact<{
|
|
605
|
+
input?: import("./sdk").InputMaybe<import("./sdk").ListAgentInvocationLogsInput> | undefined;
|
|
606
|
+
}> | undefined, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ListAgentInvocationLogTagsQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ListAgentInvocationLogTagsQuery, import("graphql-request/src/types").ClientError>;
|
|
601
607
|
useGetAgentStats(variables?: import("./sdk").Exact<{
|
|
602
608
|
input?: import("./sdk").InputMaybe<import("./sdk").GetAgentStatsInput> | undefined;
|
|
603
609
|
}> | undefined, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetAgentStatsQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetAgentStatsQuery, import("graphql-request/src/types").ClientError>;
|
|
@@ -901,6 +907,9 @@ export declare const initSdkWithHooks: (options?: SdkOptions) => {
|
|
|
901
907
|
listAgentInvocationLogs(variables?: import("./sdk").Exact<{
|
|
902
908
|
input?: import("./sdk").InputMaybe<import("./sdk").ListAgentInvocationLogsInput> | undefined;
|
|
903
909
|
}> | undefined, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListAgentInvocationLogsQuery>;
|
|
910
|
+
listAgentInvocationLogTags(variables?: import("./sdk").Exact<{
|
|
911
|
+
input?: import("./sdk").InputMaybe<import("./sdk").ListAgentInvocationLogsInput> | undefined;
|
|
912
|
+
}> | undefined, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListAgentInvocationLogTagsQuery>;
|
|
904
913
|
getAgentStats(variables?: import("./sdk").Exact<{
|
|
905
914
|
input?: import("./sdk").InputMaybe<import("./sdk").GetAgentStatsInput> | undefined;
|
|
906
915
|
}> | undefined, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetAgentStatsQuery>;
|
|
@@ -1360,6 +1369,9 @@ export declare const useSdk: (options?: SdkOptions) => {
|
|
|
1360
1369
|
useListAgentInvocationLogs(variables?: import("./sdk").Exact<{
|
|
1361
1370
|
input?: import("./sdk").InputMaybe<import("./sdk").ListAgentInvocationLogsInput> | undefined;
|
|
1362
1371
|
}> | undefined, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ListAgentInvocationLogsQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ListAgentInvocationLogsQuery, import("graphql-request/src/types").ClientError>;
|
|
1372
|
+
useListAgentInvocationLogTags(variables?: import("./sdk").Exact<{
|
|
1373
|
+
input?: import("./sdk").InputMaybe<import("./sdk").ListAgentInvocationLogsInput> | undefined;
|
|
1374
|
+
}> | undefined, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ListAgentInvocationLogTagsQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ListAgentInvocationLogTagsQuery, import("graphql-request/src/types").ClientError>;
|
|
1363
1375
|
useGetAgentStats(variables?: import("./sdk").Exact<{
|
|
1364
1376
|
input?: import("./sdk").InputMaybe<import("./sdk").GetAgentStatsInput> | undefined;
|
|
1365
1377
|
}> | undefined, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetAgentStatsQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetAgentStatsQuery, import("graphql-request/src/types").ClientError>;
|
|
@@ -1663,6 +1675,9 @@ export declare const useSdk: (options?: SdkOptions) => {
|
|
|
1663
1675
|
listAgentInvocationLogs(variables?: import("./sdk").Exact<{
|
|
1664
1676
|
input?: import("./sdk").InputMaybe<import("./sdk").ListAgentInvocationLogsInput> | undefined;
|
|
1665
1677
|
}> | undefined, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListAgentInvocationLogsQuery>;
|
|
1678
|
+
listAgentInvocationLogTags(variables?: import("./sdk").Exact<{
|
|
1679
|
+
input?: import("./sdk").InputMaybe<import("./sdk").ListAgentInvocationLogsInput> | undefined;
|
|
1680
|
+
}> | undefined, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListAgentInvocationLogTagsQuery>;
|
|
1666
1681
|
getAgentStats(variables?: import("./sdk").Exact<{
|
|
1667
1682
|
input?: import("./sdk").InputMaybe<import("./sdk").GetAgentStatsInput> | undefined;
|
|
1668
1683
|
}> | undefined, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetAgentStatsQuery>;
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -51,6 +51,9 @@ export declare const sdk: {
|
|
|
51
51
|
useListAgentInvocationLogs(variables?: import("./sdk").Exact<{
|
|
52
52
|
input?: import("./sdk").InputMaybe<import("./sdk").ListAgentInvocationLogsInput> | undefined;
|
|
53
53
|
}> | undefined, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ListAgentInvocationLogsQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ListAgentInvocationLogsQuery, import("graphql-request/src/types").ClientError>;
|
|
54
|
+
useListAgentInvocationLogTags(variables?: import("./sdk").Exact<{
|
|
55
|
+
input?: import("./sdk").InputMaybe<import("./sdk").ListAgentInvocationLogsInput> | undefined;
|
|
56
|
+
}> | undefined, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ListAgentInvocationLogTagsQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ListAgentInvocationLogTagsQuery, import("graphql-request/src/types").ClientError>;
|
|
54
57
|
useGetAgentStats(variables?: import("./sdk").Exact<{
|
|
55
58
|
input?: import("./sdk").InputMaybe<import("./sdk").GetAgentStatsInput> | undefined;
|
|
56
59
|
}> | undefined, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetAgentStatsQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetAgentStatsQuery, import("graphql-request/src/types").ClientError>;
|
|
@@ -354,6 +357,9 @@ export declare const sdk: {
|
|
|
354
357
|
listAgentInvocationLogs(variables?: import("./sdk").Exact<{
|
|
355
358
|
input?: import("./sdk").InputMaybe<import("./sdk").ListAgentInvocationLogsInput> | undefined;
|
|
356
359
|
}> | undefined, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListAgentInvocationLogsQuery>;
|
|
360
|
+
listAgentInvocationLogTags(variables?: import("./sdk").Exact<{
|
|
361
|
+
input?: import("./sdk").InputMaybe<import("./sdk").ListAgentInvocationLogsInput> | undefined;
|
|
362
|
+
}> | undefined, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListAgentInvocationLogTagsQuery>;
|
|
357
363
|
getAgentStats(variables?: import("./sdk").Exact<{
|
|
358
364
|
input?: import("./sdk").InputMaybe<import("./sdk").GetAgentStatsInput> | undefined;
|
|
359
365
|
}> | undefined, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetAgentStatsQuery>;
|
|
@@ -898,6 +904,9 @@ export declare const initSdk: (options?: SdkOptions) => {
|
|
|
898
904
|
listAgentInvocationLogs(variables?: import("./sdk").Exact<{
|
|
899
905
|
input?: import("./sdk").InputMaybe<import("./sdk").ListAgentInvocationLogsInput> | undefined;
|
|
900
906
|
}> | undefined, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListAgentInvocationLogsQuery>;
|
|
907
|
+
listAgentInvocationLogTags(variables?: import("./sdk").Exact<{
|
|
908
|
+
input?: import("./sdk").InputMaybe<import("./sdk").ListAgentInvocationLogsInput> | undefined;
|
|
909
|
+
}> | undefined, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListAgentInvocationLogTagsQuery>;
|
|
901
910
|
getAgentStats(variables?: import("./sdk").Exact<{
|
|
902
911
|
input?: import("./sdk").InputMaybe<import("./sdk").GetAgentStatsInput> | undefined;
|
|
903
912
|
}> | undefined, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetAgentStatsQuery>;
|
|
@@ -1357,6 +1366,9 @@ export declare const initSdkWithHooks: (options?: SdkOptions) => {
|
|
|
1357
1366
|
useListAgentInvocationLogs(variables?: import("./sdk").Exact<{
|
|
1358
1367
|
input?: import("./sdk").InputMaybe<import("./sdk").ListAgentInvocationLogsInput> | undefined;
|
|
1359
1368
|
}> | undefined, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ListAgentInvocationLogsQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ListAgentInvocationLogsQuery, import("graphql-request/src/types").ClientError>;
|
|
1369
|
+
useListAgentInvocationLogTags(variables?: import("./sdk").Exact<{
|
|
1370
|
+
input?: import("./sdk").InputMaybe<import("./sdk").ListAgentInvocationLogsInput> | undefined;
|
|
1371
|
+
}> | undefined, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ListAgentInvocationLogTagsQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ListAgentInvocationLogTagsQuery, import("graphql-request/src/types").ClientError>;
|
|
1360
1372
|
useGetAgentStats(variables?: import("./sdk").Exact<{
|
|
1361
1373
|
input?: import("./sdk").InputMaybe<import("./sdk").GetAgentStatsInput> | undefined;
|
|
1362
1374
|
}> | undefined, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetAgentStatsQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetAgentStatsQuery, import("graphql-request/src/types").ClientError>;
|
|
@@ -1660,6 +1672,9 @@ export declare const initSdkWithHooks: (options?: SdkOptions) => {
|
|
|
1660
1672
|
listAgentInvocationLogs(variables?: import("./sdk").Exact<{
|
|
1661
1673
|
input?: import("./sdk").InputMaybe<import("./sdk").ListAgentInvocationLogsInput> | undefined;
|
|
1662
1674
|
}> | undefined, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListAgentInvocationLogsQuery>;
|
|
1675
|
+
listAgentInvocationLogTags(variables?: import("./sdk").Exact<{
|
|
1676
|
+
input?: import("./sdk").InputMaybe<import("./sdk").ListAgentInvocationLogsInput> | undefined;
|
|
1677
|
+
}> | undefined, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListAgentInvocationLogTagsQuery>;
|
|
1663
1678
|
getAgentStats(variables?: import("./sdk").Exact<{
|
|
1664
1679
|
input?: import("./sdk").InputMaybe<import("./sdk").GetAgentStatsInput> | undefined;
|
|
1665
1680
|
}> | undefined, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetAgentStatsQuery>;
|
|
@@ -2119,6 +2134,9 @@ export declare const useSdk: (options?: SdkOptions) => {
|
|
|
2119
2134
|
useListAgentInvocationLogs(variables?: import("./sdk").Exact<{
|
|
2120
2135
|
input?: import("./sdk").InputMaybe<import("./sdk").ListAgentInvocationLogsInput> | undefined;
|
|
2121
2136
|
}> | undefined, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ListAgentInvocationLogsQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ListAgentInvocationLogsQuery, import("graphql-request/src/types").ClientError>;
|
|
2137
|
+
useListAgentInvocationLogTags(variables?: import("./sdk").Exact<{
|
|
2138
|
+
input?: import("./sdk").InputMaybe<import("./sdk").ListAgentInvocationLogsInput> | undefined;
|
|
2139
|
+
}> | undefined, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ListAgentInvocationLogTagsQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ListAgentInvocationLogTagsQuery, import("graphql-request/src/types").ClientError>;
|
|
2122
2140
|
useGetAgentStats(variables?: import("./sdk").Exact<{
|
|
2123
2141
|
input?: import("./sdk").InputMaybe<import("./sdk").GetAgentStatsInput> | undefined;
|
|
2124
2142
|
}> | undefined, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetAgentStatsQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetAgentStatsQuery, import("graphql-request/src/types").ClientError>;
|
|
@@ -2422,6 +2440,9 @@ export declare const useSdk: (options?: SdkOptions) => {
|
|
|
2422
2440
|
listAgentInvocationLogs(variables?: import("./sdk").Exact<{
|
|
2423
2441
|
input?: import("./sdk").InputMaybe<import("./sdk").ListAgentInvocationLogsInput> | undefined;
|
|
2424
2442
|
}> | undefined, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListAgentInvocationLogsQuery>;
|
|
2443
|
+
listAgentInvocationLogTags(variables?: import("./sdk").Exact<{
|
|
2444
|
+
input?: import("./sdk").InputMaybe<import("./sdk").ListAgentInvocationLogsInput> | undefined;
|
|
2445
|
+
}> | undefined, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListAgentInvocationLogTagsQuery>;
|
|
2425
2446
|
getAgentStats(variables?: import("./sdk").Exact<{
|
|
2426
2447
|
input?: import("./sdk").InputMaybe<import("./sdk").GetAgentStatsInput> | undefined;
|
|
2427
2448
|
}> | undefined, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetAgentStatsQuery>;
|
package/dist/esm/sdk.d.ts
CHANGED
|
@@ -184,6 +184,8 @@ export type AgentInvocationLog = {
|
|
|
184
184
|
startedAt?: Maybe<Scalars['Time']['output']>;
|
|
185
185
|
/** 状态 */
|
|
186
186
|
status?: Maybe<Scalars['String']['output']>;
|
|
187
|
+
/** tags 此轮会话的归类标签 */
|
|
188
|
+
tags?: Maybe<Array<Scalars['String']['output']>>;
|
|
187
189
|
/** 首字符响应延迟 */
|
|
188
190
|
timeToFirstToken?: Maybe<Scalars['Int64']['output']>;
|
|
189
191
|
/** tokenUsage 会话的token消耗 */
|
|
@@ -193,6 +195,11 @@ export type AgentInvocationLog = {
|
|
|
193
195
|
/** 用户反馈 */
|
|
194
196
|
vote?: Maybe<Scalars['Int64']['output']>;
|
|
195
197
|
};
|
|
198
|
+
export type AgentInvocationLogTag = {
|
|
199
|
+
__typename?: 'AgentInvocationLogTag';
|
|
200
|
+
count?: Maybe<Scalars['Int']['output']>;
|
|
201
|
+
tag?: Maybe<Scalars['String']['output']>;
|
|
202
|
+
};
|
|
196
203
|
/**
|
|
197
204
|
* Agent
|
|
198
205
|
* 应用 Metadata
|
|
@@ -395,6 +402,7 @@ export type AgentQuery = {
|
|
|
395
402
|
getAgentStats: AgentStats;
|
|
396
403
|
getGPTStore: GptStore;
|
|
397
404
|
getWeiXinAuthorizerURL: Scalars['String']['output'];
|
|
405
|
+
listAgentInvocationLogTags: ListAgentInvocationLogTagsResult;
|
|
398
406
|
listAgentInvocationLogs: PaginatedResult;
|
|
399
407
|
listAgentMetadata: PaginatedResult;
|
|
400
408
|
listAgentPrompt: PaginatedResult;
|
|
@@ -423,6 +431,9 @@ export type AgentQueryGetWeiXinAuthorizerUrlArgs = {
|
|
|
423
431
|
namespace: Scalars['String']['input'];
|
|
424
432
|
redirectURL: Scalars['String']['input'];
|
|
425
433
|
};
|
|
434
|
+
export type AgentQueryListAgentInvocationLogTagsArgs = {
|
|
435
|
+
input?: InputMaybe<ListAgentInvocationLogsInput>;
|
|
436
|
+
};
|
|
426
437
|
export type AgentQueryListAgentInvocationLogsArgs = {
|
|
427
438
|
input?: InputMaybe<ListAgentInvocationLogsInput>;
|
|
428
439
|
};
|
|
@@ -1887,6 +1898,10 @@ export type LabelSelectorRequirementInput = {
|
|
|
1887
1898
|
operator?: InputMaybe<Scalars['String']['input']>;
|
|
1888
1899
|
values?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
1889
1900
|
};
|
|
1901
|
+
export type ListAgentInvocationLogTagsResult = {
|
|
1902
|
+
__typename?: 'ListAgentInvocationLogTagsResult';
|
|
1903
|
+
data?: Maybe<Array<AgentInvocationLogTag>>;
|
|
1904
|
+
};
|
|
1890
1905
|
export type ListAgentInvocationLogsInput = {
|
|
1891
1906
|
conversationId?: InputMaybe<Scalars['String']['input']>;
|
|
1892
1907
|
endTime?: InputMaybe<Scalars['Time']['input']>;
|
|
@@ -1897,6 +1912,7 @@ export type ListAgentInvocationLogsInput = {
|
|
|
1897
1912
|
size?: InputMaybe<Scalars['Int']['input']>;
|
|
1898
1913
|
startTime?: InputMaybe<Scalars['Time']['input']>;
|
|
1899
1914
|
status?: InputMaybe<Scalars['String']['input']>;
|
|
1915
|
+
tag?: InputMaybe<Scalars['String']['input']>;
|
|
1900
1916
|
userId?: InputMaybe<Scalars['String']['input']>;
|
|
1901
1917
|
vote?: InputMaybe<Scalars['Int64']['input']>;
|
|
1902
1918
|
};
|
|
@@ -5226,6 +5242,7 @@ export type ListAgentInvocationLogsQuery = {
|
|
|
5226
5242
|
vote?: any | null;
|
|
5227
5243
|
status?: string | null;
|
|
5228
5244
|
userId?: string | null;
|
|
5245
|
+
tags?: Array<string> | null;
|
|
5229
5246
|
events?: Array<{
|
|
5230
5247
|
__typename?: 'Event';
|
|
5231
5248
|
eventType: string;
|
|
@@ -5308,6 +5325,23 @@ export type ListAgentInvocationLogsQuery = {
|
|
|
5308
5325
|
};
|
|
5309
5326
|
} | null;
|
|
5310
5327
|
};
|
|
5328
|
+
export type ListAgentInvocationLogTagsQueryVariables = Exact<{
|
|
5329
|
+
input?: InputMaybe<ListAgentInvocationLogsInput>;
|
|
5330
|
+
}>;
|
|
5331
|
+
export type ListAgentInvocationLogTagsQuery = {
|
|
5332
|
+
__typename?: 'Query';
|
|
5333
|
+
Agent?: {
|
|
5334
|
+
__typename?: 'AgentQuery';
|
|
5335
|
+
listAgentInvocationLogTags: {
|
|
5336
|
+
__typename?: 'ListAgentInvocationLogTagsResult';
|
|
5337
|
+
data?: Array<{
|
|
5338
|
+
__typename?: 'AgentInvocationLogTag';
|
|
5339
|
+
count?: number | null;
|
|
5340
|
+
tag?: string | null;
|
|
5341
|
+
}> | null;
|
|
5342
|
+
};
|
|
5343
|
+
} | null;
|
|
5344
|
+
};
|
|
5311
5345
|
export type GetAgentStatsQueryVariables = Exact<{
|
|
5312
5346
|
input?: InputMaybe<GetAgentStatsInput>;
|
|
5313
5347
|
}>;
|
|
@@ -11084,6 +11118,7 @@ export declare const ListGptCategoryDocument: import("../node_modules/.pnpm/grap
|
|
|
11084
11118
|
export declare const GetGptStoreDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
11085
11119
|
export declare const GetWeiXinAuthorizerUrlDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
11086
11120
|
export declare const ListAgentInvocationLogsDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
11121
|
+
export declare const ListAgentInvocationLogTagsDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
11087
11122
|
export declare const GetAgentStatsDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
11088
11123
|
export declare const ListDatasetsDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
11089
11124
|
export declare const GetDatasetDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
@@ -11241,6 +11276,7 @@ export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionW
|
|
|
11241
11276
|
getGPTStore(variables?: GetGptStoreQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<GetGptStoreQuery>;
|
|
11242
11277
|
getWeiXinAuthorizerURL(variables: GetWeiXinAuthorizerUrlQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<GetWeiXinAuthorizerUrlQuery>;
|
|
11243
11278
|
listAgentInvocationLogs(variables?: ListAgentInvocationLogsQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<ListAgentInvocationLogsQuery>;
|
|
11279
|
+
listAgentInvocationLogTags(variables?: ListAgentInvocationLogTagsQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<ListAgentInvocationLogTagsQuery>;
|
|
11244
11280
|
getAgentStats(variables?: GetAgentStatsQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<GetAgentStatsQuery>;
|
|
11245
11281
|
listDatasets(variables: ListDatasetsQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<ListDatasetsQuery>;
|
|
11246
11282
|
getDataset(variables: GetDatasetQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<GetDatasetQuery>;
|
|
@@ -11379,6 +11415,7 @@ export declare function getSdkWithHooks(client: GraphQLClient, withWrapper?: Sdk
|
|
|
11379
11415
|
useGetGptStore(variables?: GetGptStoreQueryVariables, config?: SWRConfigInterface<GetGptStoreQuery, ClientError>): import("./useSWR").SWRResponsePro<GetGptStoreQuery, ClientError>;
|
|
11380
11416
|
useGetWeiXinAuthorizerUrl(variables: GetWeiXinAuthorizerUrlQueryVariables, config?: SWRConfigInterface<GetWeiXinAuthorizerUrlQuery, ClientError>): import("./useSWR").SWRResponsePro<GetWeiXinAuthorizerUrlQuery, ClientError>;
|
|
11381
11417
|
useListAgentInvocationLogs(variables?: ListAgentInvocationLogsQueryVariables, config?: SWRConfigInterface<ListAgentInvocationLogsQuery, ClientError>): import("./useSWR").SWRResponsePro<ListAgentInvocationLogsQuery, ClientError>;
|
|
11418
|
+
useListAgentInvocationLogTags(variables?: ListAgentInvocationLogTagsQueryVariables, config?: SWRConfigInterface<ListAgentInvocationLogTagsQuery, ClientError>): import("./useSWR").SWRResponsePro<ListAgentInvocationLogTagsQuery, ClientError>;
|
|
11382
11419
|
useGetAgentStats(variables?: GetAgentStatsQueryVariables, config?: SWRConfigInterface<GetAgentStatsQuery, ClientError>): import("./useSWR").SWRResponsePro<GetAgentStatsQuery, ClientError>;
|
|
11383
11420
|
useListDatasets(variables: ListDatasetsQueryVariables, config?: SWRConfigInterface<ListDatasetsQuery, ClientError>): import("./useSWR").SWRResponsePro<ListDatasetsQuery, ClientError>;
|
|
11384
11421
|
useGetDataset(variables: GetDatasetQueryVariables, config?: SWRConfigInterface<GetDatasetQuery, ClientError>): import("./useSWR").SWRResponsePro<GetDatasetQuery, ClientError>;
|
|
@@ -11542,6 +11579,9 @@ export declare function getSdkWithHooks(client: GraphQLClient, withWrapper?: Sdk
|
|
|
11542
11579
|
listAgentInvocationLogs(variables?: Exact<{
|
|
11543
11580
|
input?: InputMaybe<ListAgentInvocationLogsInput> | undefined;
|
|
11544
11581
|
}> | undefined, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<ListAgentInvocationLogsQuery>;
|
|
11582
|
+
listAgentInvocationLogTags(variables?: Exact<{
|
|
11583
|
+
input?: InputMaybe<ListAgentInvocationLogsInput> | undefined;
|
|
11584
|
+
}> | undefined, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<ListAgentInvocationLogTagsQuery>;
|
|
11545
11585
|
getAgentStats(variables?: Exact<{
|
|
11546
11586
|
input?: InputMaybe<GetAgentStatsInput> | undefined;
|
|
11547
11587
|
}> | undefined, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<GetAgentStatsQuery>;
|