@yuntijs/arcadia-bff-sdk 1.2.129 → 1.2.130

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/sdk.d.ts CHANGED
@@ -188,6 +188,8 @@ export type AgentInvocationLog = {
188
188
  timeToFirstToken?: Maybe<Scalars['Int64']['output']>;
189
189
  /** tokenUsage 会话的token消耗 */
190
190
  tokenUsage: TokenUsage;
191
+ /** userId 创建会话的用户的 ID */
192
+ userId?: Maybe<Scalars['String']['output']>;
191
193
  /** 用户反馈 */
192
194
  vote?: Maybe<Scalars['Int64']['output']>;
193
195
  };
@@ -1902,6 +1904,7 @@ export type ListAgentInvocationLogsInput = {
1902
1904
  size?: InputMaybe<Scalars['Int']['input']>;
1903
1905
  startTime?: InputMaybe<Scalars['Time']['input']>;
1904
1906
  status?: InputMaybe<Scalars['String']['input']>;
1907
+ userId?: InputMaybe<Scalars['String']['input']>;
1905
1908
  vote?: InputMaybe<Scalars['Int64']['input']>;
1906
1909
  };
1907
1910
  export type ListCommonInput = {
@@ -5010,6 +5013,7 @@ export type ListAgentInvocationLogsQuery = {
5010
5013
  createdAt?: any | null;
5011
5014
  vote?: any | null;
5012
5015
  status?: string | null;
5016
+ userId?: string | null;
5013
5017
  events?: Array<{
5014
5018
  __typename?: 'Event';
5015
5019
  eventType: string;
package/dist/cjs/sdk.js CHANGED
@@ -691,6 +691,7 @@ var ListAgentInvocationLogsDocument = import_graphql_tag.default`
691
691
  promptTokens
692
692
  totalTokens
693
693
  }
694
+ userId
694
695
  }
695
696
  }
696
697
  }
package/dist/esm/sdk.d.ts CHANGED
@@ -188,6 +188,8 @@ export type AgentInvocationLog = {
188
188
  timeToFirstToken?: Maybe<Scalars['Int64']['output']>;
189
189
  /** tokenUsage 会话的token消耗 */
190
190
  tokenUsage: TokenUsage;
191
+ /** userId 创建会话的用户的 ID */
192
+ userId?: Maybe<Scalars['String']['output']>;
191
193
  /** 用户反馈 */
192
194
  vote?: Maybe<Scalars['Int64']['output']>;
193
195
  };
@@ -1902,6 +1904,7 @@ export type ListAgentInvocationLogsInput = {
1902
1904
  size?: InputMaybe<Scalars['Int']['input']>;
1903
1905
  startTime?: InputMaybe<Scalars['Time']['input']>;
1904
1906
  status?: InputMaybe<Scalars['String']['input']>;
1907
+ userId?: InputMaybe<Scalars['String']['input']>;
1905
1908
  vote?: InputMaybe<Scalars['Int64']['input']>;
1906
1909
  };
1907
1910
  export type ListCommonInput = {
@@ -5010,6 +5013,7 @@ export type ListAgentInvocationLogsQuery = {
5010
5013
  createdAt?: any | null;
5011
5014
  vote?: any | null;
5012
5015
  status?: string | null;
5016
+ userId?: string | null;
5013
5017
  events?: Array<{
5014
5018
  __typename?: 'Event';
5015
5019
  eventType: string;
package/dist/esm/sdk.js CHANGED
@@ -202,7 +202,7 @@ export var ListAgentPromptDocument = gql(_templateObject25 || (_templateObject25
202
202
  export var ListGptCategoryDocument = gql(_templateObject26 || (_templateObject26 = _taggedTemplateLiteral(["\n query listGPTCategory {\n Agent {\n listGPTCategory {\n id\n name\n nameEn\n }\n }\n}\n "])));
203
203
  export var GetGptStoreDocument = gql(_templateObject27 || (_templateObject27 = _taggedTemplateLiteral(["\n query getGPTStore {\n Agent {\n getGPTStore {\n url\n public_namespace\n }\n }\n}\n "])));
204
204
  export var GetWeiXinAuthorizerUrlDocument = gql(_templateObject28 || (_templateObject28 = _taggedTemplateLiteral(["\n query getWeiXinAuthorizerURL($name: String!, $namespace: String!, $redirectURL: String!) {\n Agent {\n getWeiXinAuthorizerURL(\n name: $name\n namespace: $namespace\n redirectURL: $redirectURL\n )\n }\n}\n "])));
205
- export var ListAgentInvocationLogsDocument = gql(_templateObject29 || (_templateObject29 = _taggedTemplateLiteral(["\n query listAgentInvocationLogs($input: ListAgentInvocationLogsInput) {\n Agent {\n listAgentInvocationLogs(input: $input) {\n totalCount\n page\n pageSize\n nodes {\n ... on AgentInvocationLog {\n id\n conversationId\n platform\n request\n requestBody\n func\n response\n responseBody\n latency\n startedAt\n respondedAt\n timeToFirstToken\n createdAt\n vote\n status\n events {\n eventType\n agentName\n agentNamespace\n elapsedTime\n status\n error\n data\n }\n tokenUsage {\n completionTokens\n promptTokens\n totalTokens\n }\n }\n }\n }\n }\n}\n "])));
205
+ export var ListAgentInvocationLogsDocument = gql(_templateObject29 || (_templateObject29 = _taggedTemplateLiteral(["\n query listAgentInvocationLogs($input: ListAgentInvocationLogsInput) {\n Agent {\n listAgentInvocationLogs(input: $input) {\n totalCount\n page\n pageSize\n nodes {\n ... on AgentInvocationLog {\n id\n conversationId\n platform\n request\n requestBody\n func\n response\n responseBody\n latency\n startedAt\n respondedAt\n timeToFirstToken\n createdAt\n vote\n status\n events {\n eventType\n agentName\n agentNamespace\n elapsedTime\n status\n error\n data\n }\n tokenUsage {\n completionTokens\n promptTokens\n totalTokens\n }\n userId\n }\n }\n }\n }\n}\n "])));
206
206
  export var GetAgentStatsDocument = gql(_templateObject30 || (_templateObject30 = _taggedTemplateLiteral(["\n query getAgentStats($input: GetAgentStatsInput) {\n Agent {\n getAgentStats(input: $input) {\n entries {\n timestamp\n granuarity\n messageCount\n conversationCount\n tokenUsage\n upvoteCount\n downvoteCount\n }\n totalMessages\n totalConversations\n totalTokenUsage\n totalUpvotes\n totalDownvotes\n }\n }\n}\n "])));
207
207
  export var AllDataProcessListByPageDocument = gql(_templateObject31 || (_templateObject31 = _taggedTemplateLiteral(["\n query allDataProcessListByPage($input: AllDataProcessListByPageInput!) {\n dataProcess {\n allDataProcessListByPage(input: $input) {\n status\n data {\n id\n name\n status\n pre_data_set_name\n pre_data_set_version\n post_data_set_name\n post_data_set_version\n start_datetime\n end_datetime\n error_msg\n }\n message\n }\n }\n}\n "])));
208
208
  export var AllDataProcessListByCountDocument = gql(_templateObject32 || (_templateObject32 = _taggedTemplateLiteral(["\n query allDataProcessListByCount($input: AllDataProcessListByCountInput!) {\n dataProcess {\n allDataProcessListByCount(input: $input) {\n status\n data\n message\n }\n }\n}\n "])));