@inkeep/agents-core 0.0.0-dev-20251114044436 → 0.0.0-dev-20251114212822
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/client-exports.d.cts +4 -4
- package/dist/client-exports.d.ts +4 -4
- package/dist/db/schema.d.cts +2 -2
- package/dist/db/schema.d.ts +2 -2
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +258 -258
- package/dist/index.d.ts +258 -258
- package/dist/index.js +2 -2
- package/dist/{schema-DkVzBlgV.d.ts → schema-BceDktlR.d.ts} +1 -1
- package/dist/{schema-_ZlADheS.d.cts → schema-aKVr9nIb.d.cts} +1 -1
- package/dist/types/index.d.cts +2 -2
- package/dist/types/index.d.ts +2 -2
- package/dist/{utility-BfJ0VdZI.d.cts → utility-aMKDDNv4.d.cts} +227 -227
- package/dist/{utility-BfJ0VdZI.d.ts → utility-aMKDDNv4.d.ts} +227 -227
- package/dist/validation/index.d.cts +2 -2
- package/dist/validation/index.d.ts +2 -2
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -2,14 +2,14 @@ export { ANTHROPIC_MODELS, AnthropicModel, GOOGLE_MODELS, GoogleModel, ModelName
|
|
|
2
2
|
import { r as PinoLogger, s as getLogger } from './auth-detection-CGqhPDnj.cjs';
|
|
3
3
|
export { i as ACTIVITY_NAMES, g as ACTIVITY_STATUS, f as ACTIVITY_TYPES, h as AGENT_IDS, p as AGGREGATE_OPERATORS, A as AI_OPERATIONS, j as AI_TOOL_TYPES, o as DATA_SOURCES, k as DATA_TYPES, D as DELEGATION_FROM_SUB_AGENT_ID, b as DELEGATION_ID, a as DELEGATION_TO_SUB_AGENT_ID, F as FIELD_TYPES, L as LoggerFactoryConfig, M as McpOAuthFlowResult, u as McpTokenExchangeResult, t as OAuthConfig, O as OPERATORS, m as ORDER_DIRECTIONS, P as PANEL_TYPES, x as PinoLoggerConfig, q as QUERY_DEFAULTS, l as QUERY_EXPRESSIONS, Q as QUERY_FIELD_CONFIGS, n as QUERY_TYPES, R as REDUCE_OPERATIONS, e as SPAN_KEYS, S as SPAN_NAMES, T as TRANSFER_FROM_SUB_AGENT_ID, c as TRANSFER_TO_SUB_AGENT_ID, U as UNKNOWN_VALUE, d as detectAuthenticationRequired, w as exchangeMcpAuthorizationCode, v as initiateMcpOAuthFlow, y as loggerFactory } from './auth-detection-CGqhPDnj.cjs';
|
|
4
4
|
import { z } from 'zod';
|
|
5
|
-
import { r as CredentialReferenceApiInsert, s as ContextConfigSelect, l as ContextFetchDefinition, i as MCPTransportType, t as MCPToolConfig, u as ProjectScopeConfig, v as FullAgentDefinition, w as AgentScopeConfig, C as ConversationHistoryConfig, x as PaginationConfig, y as AgentInsert, z as AgentUpdate, B as AgentSelect, D as ApiKeySelect, E as ApiKeyInsert, G as ApiKeyUpdate, H as CreateApiKeyParams, I as ApiKeyCreateResult, J as ArtifactComponentSelect, K as ArtifactComponentInsert, L as ArtifactComponentUpdate, N as SubAgentScopeConfig, O as ContextCacheSelect, Q as ContextCacheInsert, R as ContextConfigInsert, U as ContextConfigUpdate, V as ConversationSelect, W as ConversationInsert, o as ConversationMetadata, X as ConversationUpdate, Y as CredentialReferenceSelect, Z as ToolSelect, _ as ExternalAgentSelect, $ as CredentialReferenceInsert, a0 as CredentialReferenceUpdate, a1 as DataComponentSelect, a2 as DataComponentInsert, a3 as DataComponentUpdate, a4 as ExternalAgentInsert, a5 as ExternalAgentUpdate, a6 as FunctionApiInsert, a7 as FunctionToolApiInsert, a8 as FunctionToolApiUpdate, a9 as Artifact, aa as LedgerArtifactSelect, p as MessageContent, q as MessageMetadata, ab as MessageVisibility, ac as MessageInsert, ad as MessageUpdate, ae as FullProjectDefinition, af as ProjectInfo, ag as ProjectSelect, ah as PaginationResult, ai as ProjectResourceCounts, aj as ProjectInsert, ak as ProjectUpdate, al as SubAgentExternalAgentRelationInsert, am as SubAgentRelationInsert, an as SubAgentRelationUpdate, ao as SubAgentToolRelationUpdate, m as ToolMcpConfig, n as ToolServerCapabilities, ap as SubAgentInsert, aq as SubAgentUpdate, ar as SubAgentSelect, as as SubAgentTeamAgentRelationInsert, at as TaskInsert, T as TaskMetadataConfig, au as TaskSelect, av as McpTool, aw as ToolInsert, ax as ToolUpdate, h as CredentialStoreType, ay as ExecutionContext } from './utility-
|
|
6
|
-
export { ba as A2AError, bG as A2ARequest, bH as A2AResponse, aL as APIKeySecurityScheme, bV as AgentApiInsert, e2 as AgentApiInsertSchema, bU as AgentApiSelect, e1 as AgentApiSelectSchema, bW as AgentApiUpdate, e3 as AgentApiUpdateSchema, aH as AgentCapabilities, aV as AgentCard, dx as AgentConversationHistoryConfig, d$ as AgentInsertSchema, gM as AgentListResponse, aI as AgentProvider, gw as AgentResponse, d_ as AgentSelectSchema, aJ as AgentSkill, e as AgentStopWhen, b as AgentStopWhenSchema, e0 as AgentUpdateSchema, h3 as AgentWithinContextOfProjectResponse, gg as AgentWithinContextOfProjectSchema, f6 as AllAgentSchema, cP as AllAgentSelect, cT as ApiKeyApiCreationResponse, fb as ApiKeyApiCreationResponseSchema, cR as ApiKeyApiInsert, fc as ApiKeyApiInsertSchema, cQ as ApiKeyApiSelect, fa as ApiKeyApiSelectSchema, cS as ApiKeyApiUpdate, A as ApiKeyApiUpdateSchema, f8 as ApiKeyInsertSchema, gQ as ApiKeyListResponse, gA as ApiKeyResponse, f7 as ApiKeySelectSchema, f9 as ApiKeyUpdateSchema, cE as ArtifactComponentApiInsert, eU as ArtifactComponentApiInsertSchema, cD as ArtifactComponentApiSelect, eT as ArtifactComponentApiSelectSchema, cF as ArtifactComponentApiUpdate, eV as ArtifactComponentApiUpdateSchema, hd as ArtifactComponentArrayResponse, eR as ArtifactComponentInsertSchema, gV as ArtifactComponentListResponse, gF as ArtifactComponentResponse, eQ as ArtifactComponentSelectSchema, eS as ArtifactComponentUpdateSchema, aO as AuthorizationCodeOAuthFlow, dg as CanDelegateToExternalAgent, df as CanUseItem, gc as CanUseItemSchema, bq as CancelTaskRequest, bB as CancelTaskResponse, bA as CancelTaskSuccessResponse, aP as ClientCredentialsOAuthFlow, h5 as ComponentAssociationListResponse, fo as ComponentAssociationSchema, b8 as ContentTypeNotSupportedError, cs as ContextCacheApiInsert, eB as ContextCacheApiInsertSchema, cr as ContextCacheApiSelect, eA as ContextCacheApiSelectSchema, ct as ContextCacheApiUpdate, eC as ContextCacheApiUpdateSchema, dy as ContextCacheEntry, ey as ContextCacheInsertSchema, ex as ContextCacheSelectSchema, cq as ContextCacheUpdate, ez as ContextCacheUpdateSchema, cm as ContextConfigApiInsert, fM as ContextConfigApiInsertSchema, cl as ContextConfigApiSelect, fL as ContextConfigApiSelectSchema, cn as ContextConfigApiUpdate, fN as ContextConfigApiUpdateSchema, fJ as ContextConfigInsertSchema, gP as ContextConfigListResponse, gz as ContextConfigResponse, fI as ContextConfigSelectSchema, fK as ContextConfigUpdateSchema, cf as ConversationApiInsert, ep as ConversationApiInsertSchema, ce as ConversationApiSelect, eo as ConversationApiSelectSchema, cg as ConversationApiUpdate, eq as ConversationApiUpdateSchema, em as ConversationInsertSchema, gY as ConversationListResponse, gI as ConversationResponse, dw as ConversationScopeOptions, el as ConversationSelectSchema, en as ConversationUpdateSchema, fl as CreateCredentialInStoreRequestSchema, fm as CreateCredentialInStoreResponseSchema, fh as CredentialReferenceApiInsertSchema, cU as CredentialReferenceApiSelect, fg as CredentialReferenceApiSelectSchema, cV as CredentialReferenceApiUpdate, fi as CredentialReferenceApiUpdateSchema, fe as CredentialReferenceInsertSchema, gR as CredentialReferenceListResponse, gB as CredentialReferenceResponse, fd as CredentialReferenceSelectSchema, ff as CredentialReferenceUpdateSchema, fk as CredentialStoreListResponseSchema, fj as CredentialStoreSchema, cv as DataComponentApiInsert, eI as DataComponentApiInsertSchema, cu as DataComponentApiSelect, eH as DataComponentApiSelectSchema, cw as DataComponentApiUpdate, eJ as DataComponentApiUpdateSchema, hc as DataComponentArrayResponse, eF as DataComponentBaseSchema, eE as DataComponentInsertSchema, gU as DataComponentListResponse, gE as DataComponentResponse, eD as DataComponentSelectSchema, eG as DataComponentUpdateSchema, aF as DataPart, gk as ErrorResponseSchema, gl as ExistsResponseSchema, cN as ExternalAgentApiInsert, f4 as ExternalAgentApiInsertSchema, cM as ExternalAgentApiSelect, f3 as ExternalAgentApiSelectSchema, cO as ExternalAgentApiUpdate, f5 as ExternalAgentApiUpdateSchema, f1 as ExternalAgentInsertSchema, gO as ExternalAgentListResponse, gy as ExternalAgentResponse, f0 as ExternalAgentSelectSchema, f2 as ExternalAgentUpdateSchema, bT as ExternalSubAgentRelationApiInsert, dZ as ExternalSubAgentRelationApiInsertSchema, bS as ExternalSubAgentRelationInsert, dY as ExternalSubAgentRelationInsertSchema, cp as FetchConfig, fG as FetchConfigSchema, co as FetchDefinition, fH as FetchDefinitionSchema, aB as FileBase, aE as FilePart, aC as FileWithBytes, aD as FileWithUri, de as FullAgentAgentInsert, a as FullAgentAgentInsertSchema, h2 as FullProjectDefinitionResponse, gt as FullProjectDefinitionSchema, F as FunctionApiInsertSchema, cb as FunctionApiSelect, j as FunctionApiSelectSchema, cc as FunctionApiUpdate, k as FunctionApiUpdateSchema, c9 as FunctionInsert, fE as FunctionInsertSchema, gS as FunctionListResponse, gC as FunctionResponse, c8 as FunctionSelect, fD as FunctionSelectSchema, fB as FunctionToolApiInsertSchema, cd as FunctionToolApiSelect, fA as FunctionToolApiSelectSchema, fC as FunctionToolApiUpdateSchema, dK as FunctionToolConfig, dJ as FunctionToolConfigSchema, fy as FunctionToolInsertSchema, gT as FunctionToolListResponse, gD as FunctionToolResponse, fx as FunctionToolSelectSchema, fz as FunctionToolUpdateSchema, ca as FunctionUpdate, fF as FunctionUpdateSchema, bs as GetTaskPushNotificationConfigRequest, bF as GetTaskPushNotificationConfigResponse, bE as GetTaskPushNotificationConfigSuccessResponse, bp as GetTaskRequest, bz as GetTaskResponse, by as GetTaskSuccessResponse, aM as HTTPAuthSecurityScheme, he as HeadersScopeSchema, aQ as ImplicitOAuthFlow, b3 as InternalError, b9 as InvalidAgentResponseError, b2 as InvalidParamsError, b0 as InvalidRequestError, a$ as JSONParseError, bk as JSONRPCError, bm as JSONRPCErrorResponse, bi as JSONRPCMessage, bj as JSONRPCRequest, bl as JSONRPCResult, dc as LedgerArtifactApiInsert, g8 as LedgerArtifactApiInsertSchema, db as LedgerArtifactApiSelect, g7 as LedgerArtifactApiSelectSchema, dd as LedgerArtifactApiUpdate, g9 as LedgerArtifactApiUpdateSchema, d9 as LedgerArtifactInsert, g5 as LedgerArtifactInsertSchema, g4 as LedgerArtifactSelectSchema, da as LedgerArtifactUpdate, g6 as LedgerArtifactUpdateSchema, gi as ListResponseSchema, dG as MCPServerType, fs as MCPToolConfigSchema, dz as McpAuthType, dA as McpServerAuth, dC as McpServerCapabilities, dD as McpToolDefinition, ei as McpToolDefinitionSchema, h7 as McpToolListResponse, h6 as McpToolResponse, fr as McpToolSchema, dB as McpTransportConfig, eg as McpTransportConfigSchema, aW as Message, cj as MessageApiInsert, ev as MessageApiInsertSchema, ci as MessageApiSelect, eu as MessageApiSelectSchema, ck as MessageApiUpdate, ew as MessageApiUpdateSchema, es as MessageInsertSchema, gZ as MessageListResponse, dr as MessageMode, bI as MessagePart, gJ as MessageResponse, dq as MessageRole, ch as MessageSelect, er as MessageSelectSchema, bg as MessageSendConfiguration, bh as MessageSendParams, dp as MessageType, et as MessageUpdateSchema, b1 as MethodNotFoundError, dH as ModelSchema, g as ModelSettings, M as ModelSettingsSchema, ds as Models, aS as OAuth2SecurityScheme, fq as OAuthCallbackQuerySchema, aN as OAuthFlows, fp as OAuthLoginQuerySchema, aT as OpenIdConnectSecurityScheme, dm as Pagination, hn as PaginationQueryParamsSchema, gh as PaginationSchema, P as Part, az as PartBase, aR as PasswordOAuthFlow, dk as ProjectApiInsert, gr as ProjectApiInsertSchema, dj as ProjectApiSelect, gq as ProjectApiSelectSchema, dl as ProjectApiUpdate, gs as ProjectApiUpdateSchema, go as ProjectInsertSchema, gK as ProjectListResponse, dI as ProjectModelSchema, dt as ProjectModels, gu as ProjectResponse, gn as ProjectSelectSchema, gp as ProjectUpdateSchema, bb as PushNotificationAuthenticationInfo, bc as PushNotificationConfig, b6 as PushNotificationNotSupportedError, h4 as RelatedAgentInfoListResponse, fn as RelatedAgentInfoSchema, gm as RemovedResponseSchema, aU as SecurityScheme, aK as SecuritySchemeBase, bn as SendMessageRequest, bv as SendMessageResponse, bu as SendMessageSuccessResponse, bo as SendStreamingMessageRequest, bx as SendStreamingMessageResponse, bw as SendStreamingMessageSuccessResponse, br as SetTaskPushNotificationConfigRequest, bD as SetTaskPushNotificationConfigResponse, bC as SetTaskPushNotificationConfigSuccessResponse, gj as SingleResponseSchema, dv as StatusComponent, ga as StatusComponentSchema, gb as StatusUpdateSchema, du as StatusUpdateSettings, d as StopWhen, S as StopWhenSchema, bL as SubAgentApiInsert, dP as SubAgentApiInsertSchema, bK as SubAgentApiSelect, dO as SubAgentApiSelectSchema, bM as SubAgentApiUpdate, dQ as SubAgentApiUpdateSchema, cK as SubAgentArtifactComponentApiInsert, e_ as SubAgentArtifactComponentApiInsertSchema, cJ as SubAgentArtifactComponentApiSelect, eZ as SubAgentArtifactComponentApiSelectSchema, cL as SubAgentArtifactComponentApiUpdate, e$ as SubAgentArtifactComponentApiUpdateSchema, cH as SubAgentArtifactComponentInsert, eX as SubAgentArtifactComponentInsertSchema, h1 as SubAgentArtifactComponentListResponse, g$ as SubAgentArtifactComponentResponse, cG as SubAgentArtifactComponentSelect, eW as SubAgentArtifactComponentSelectSchema, cI as SubAgentArtifactComponentUpdate, eY as SubAgentArtifactComponentUpdateSchema, cB as SubAgentDataComponentApiInsert, eO as SubAgentDataComponentApiInsertSchema, cA as SubAgentDataComponentApiSelect, eN as SubAgentDataComponentApiSelectSchema, cC as SubAgentDataComponentApiUpdate, eP as SubAgentDataComponentApiUpdateSchema, cy as SubAgentDataComponentInsert, eL as SubAgentDataComponentInsertSchema, h0 as SubAgentDataComponentListResponse, g_ as SubAgentDataComponentResponse, cx as SubAgentDataComponentSelect, eK as SubAgentDataComponentSelectSchema, cz as SubAgentDataComponentUpdate, eM as SubAgentDataComponentUpdateSchema, dh as SubAgentDefinition, d2 as SubAgentExternalAgentRelationApiInsert, fY as SubAgentExternalAgentRelationApiInsertSchema, d1 as SubAgentExternalAgentRelationApiSelect, fX as SubAgentExternalAgentRelationApiSelectSchema, d3 as SubAgentExternalAgentRelationApiUpdate, fZ as SubAgentExternalAgentRelationApiUpdateSchema, fV as SubAgentExternalAgentRelationInsertSchema, hb as SubAgentExternalAgentRelationListResponse, ha as SubAgentExternalAgentRelationResponse, c$ as SubAgentExternalAgentRelationSelect, fU as SubAgentExternalAgentRelationSelectSchema, d0 as SubAgentExternalAgentRelationUpdate, fW as SubAgentExternalAgentRelationUpdateSchema, dM as SubAgentInsertSchema, gL as SubAgentListResponse, bP as SubAgentRelationApiInsert, dV as SubAgentRelationApiInsertSchema, bO as SubAgentRelationApiSelect, dU as SubAgentRelationApiSelectSchema, bQ as SubAgentRelationApiUpdate, dW as SubAgentRelationApiUpdateSchema, dS as SubAgentRelationInsertSchema, gW as SubAgentRelationListResponse, bR as SubAgentRelationQuery, dX as SubAgentRelationQuerySchema, gG as SubAgentRelationResponse, bN as SubAgentRelationSelect, dR as SubAgentRelationSelectSchema, dT as SubAgentRelationUpdateSchema, gv as SubAgentResponse, dL as SubAgentSelectSchema, f as SubAgentStopWhen, c as SubAgentStopWhenSchema, d7 as SubAgentTeamAgentRelationApiInsert, g2 as SubAgentTeamAgentRelationApiInsertSchema, d6 as SubAgentTeamAgentRelationApiSelect, g1 as SubAgentTeamAgentRelationApiSelectSchema, d8 as SubAgentTeamAgentRelationApiUpdate, g3 as SubAgentTeamAgentRelationApiUpdateSchema, f$ as SubAgentTeamAgentRelationInsertSchema, h9 as SubAgentTeamAgentRelationListResponse, h8 as SubAgentTeamAgentRelationResponse, d4 as SubAgentTeamAgentRelationSelect, f_ as SubAgentTeamAgentRelationSelectSchema, d5 as SubAgentTeamAgentRelationUpdate, g0 as SubAgentTeamAgentRelationUpdateSchema, cZ as SubAgentToolRelationApiInsert, fS as SubAgentToolRelationApiInsertSchema, cY as SubAgentToolRelationApiSelect, fR as SubAgentToolRelationApiSelectSchema, c_ as SubAgentToolRelationApiUpdate, fT as SubAgentToolRelationApiUpdateSchema, cX as SubAgentToolRelationInsert, fP as SubAgentToolRelationInsertSchema, gX as SubAgentToolRelationListResponse, gH as SubAgentToolRelationResponse, cW as SubAgentToolRelationSelect, fO as SubAgentToolRelationSelectSchema, fQ as SubAgentToolRelationUpdateSchema, dN as SubAgentUpdateSchema, dn as SummaryEvent, dE as TOOL_STATUS_VALUES, aY as Task, bZ as TaskApiInsert, e8 as TaskApiInsertSchema, bY as TaskApiSelect, e7 as TaskApiSelectSchema, b_ as TaskApiUpdate, e9 as TaskApiUpdateSchema, bJ as TaskArtifact, a_ as TaskArtifactUpdateEvent, be as TaskIdParams, e5 as TaskInsertSchema, b5 as TaskNotCancelableError, b4 as TaskNotFoundError, bd as TaskPushNotificationConfig, bf as TaskQueryParams, c3 as TaskRelationApiInsert, ee as TaskRelationApiInsertSchema, c2 as TaskRelationApiSelect, ed as TaskRelationApiSelectSchema, c4 as TaskRelationApiUpdate, ef as TaskRelationApiUpdateSchema, c0 as TaskRelationInsert, eb as TaskRelationInsertSchema, b$ as TaskRelationSelect, ea as TaskRelationSelectSchema, c1 as TaskRelationUpdate, ec as TaskRelationUpdateSchema, bt as TaskResubscriptionRequest, e4 as TaskSelectSchema, aG as TaskState, aX as TaskStatus, aZ as TaskStatusUpdateEvent, bX as TaskUpdate, e6 as TaskUpdateSchema, gf as TeamAgentSchema, hg as TenantIdParamsSchema, hf as TenantParamsSchema, hk as TenantProjectAgentIdParamsSchema, hj as TenantProjectAgentParamsSchema, hm as TenantProjectAgentSubAgentIdParamsSchema, hl as TenantProjectAgentSubAgentParamsSchema, hi as TenantProjectIdParamsSchema, hh as TenantProjectParamsSchema, aA as TextPart, c6 as ToolApiInsert, fv as ToolApiInsertSchema, c5 as ToolApiSelect, fu as ToolApiSelectSchema, c7 as ToolApiUpdate, fw as ToolApiUpdateSchema, di as ToolDefinition, ek as ToolInsertSchema, gN as ToolListResponse, gx as ToolResponse, ej as ToolSelectSchema, eh as ToolStatusSchema, ft as ToolUpdateSchema, b7 as UnsupportedOperationError, dF as VALID_RELATION_TYPES, gd as canDelegateToExternalAgentSchema, ge as canDelegateToTeamAgentSchema } from './utility-BfJ0VdZI.cjs';
|
|
5
|
+
import { r as CredentialReferenceApiInsert, s as ContextConfigSelect, l as ContextFetchDefinition, i as MCPTransportType, t as MCPToolConfig, u as ProjectScopeConfig, v as FullAgentDefinition, w as AgentScopeConfig, C as ConversationHistoryConfig, x as PaginationConfig, y as AgentInsert, z as AgentUpdate, B as AgentSelect, D as ApiKeySelect, E as ApiKeyInsert, G as ApiKeyUpdate, H as CreateApiKeyParams, I as ApiKeyCreateResult, J as ArtifactComponentSelect, K as ArtifactComponentInsert, L as ArtifactComponentUpdate, N as SubAgentScopeConfig, O as ContextCacheSelect, Q as ContextCacheInsert, R as ContextConfigInsert, U as ContextConfigUpdate, V as ConversationSelect, W as ConversationInsert, o as ConversationMetadata, X as ConversationUpdate, Y as CredentialReferenceSelect, Z as ToolSelect, _ as ExternalAgentSelect, $ as CredentialReferenceInsert, a0 as CredentialReferenceUpdate, a1 as DataComponentSelect, a2 as DataComponentInsert, a3 as DataComponentUpdate, a4 as ExternalAgentInsert, a5 as ExternalAgentUpdate, a6 as FunctionApiInsert, a7 as FunctionToolApiInsert, a8 as FunctionToolApiUpdate, a9 as Artifact, aa as LedgerArtifactSelect, p as MessageContent, q as MessageMetadata, ab as MessageVisibility, ac as MessageInsert, ad as MessageUpdate, ae as FullProjectDefinition, af as ProjectInfo, ag as ProjectSelect, ah as PaginationResult, ai as ProjectResourceCounts, aj as ProjectInsert, ak as ProjectUpdate, al as SubAgentExternalAgentRelationInsert, am as SubAgentRelationInsert, an as SubAgentRelationUpdate, ao as SubAgentToolRelationUpdate, m as ToolMcpConfig, n as ToolServerCapabilities, ap as SubAgentInsert, aq as SubAgentUpdate, ar as SubAgentSelect, as as SubAgentTeamAgentRelationInsert, at as TaskInsert, T as TaskMetadataConfig, au as TaskSelect, av as McpTool, aw as ToolInsert, ax as ToolUpdate, h as CredentialStoreType, ay as ExecutionContext } from './utility-aMKDDNv4.cjs';
|
|
6
|
+
export { ba as A2AError, bG as A2ARequest, bH as A2AResponse, aL as APIKeySecurityScheme, bV as AgentApiInsert, e2 as AgentApiInsertSchema, bU as AgentApiSelect, e1 as AgentApiSelectSchema, bW as AgentApiUpdate, e3 as AgentApiUpdateSchema, aH as AgentCapabilities, aV as AgentCard, dx as AgentConversationHistoryConfig, d$ as AgentInsertSchema, gM as AgentListResponse, aI as AgentProvider, gw as AgentResponse, d_ as AgentSelectSchema, aJ as AgentSkill, e as AgentStopWhen, b as AgentStopWhenSchema, e0 as AgentUpdateSchema, h3 as AgentWithinContextOfProjectResponse, gg as AgentWithinContextOfProjectSchema, f6 as AllAgentSchema, cP as AllAgentSelect, cT as ApiKeyApiCreationResponse, fb as ApiKeyApiCreationResponseSchema, cR as ApiKeyApiInsert, fc as ApiKeyApiInsertSchema, cQ as ApiKeyApiSelect, fa as ApiKeyApiSelectSchema, cS as ApiKeyApiUpdate, A as ApiKeyApiUpdateSchema, f8 as ApiKeyInsertSchema, gQ as ApiKeyListResponse, gA as ApiKeyResponse, f7 as ApiKeySelectSchema, f9 as ApiKeyUpdateSchema, cE as ArtifactComponentApiInsert, eU as ArtifactComponentApiInsertSchema, cD as ArtifactComponentApiSelect, eT as ArtifactComponentApiSelectSchema, cF as ArtifactComponentApiUpdate, eV as ArtifactComponentApiUpdateSchema, hd as ArtifactComponentArrayResponse, eR as ArtifactComponentInsertSchema, gV as ArtifactComponentListResponse, gF as ArtifactComponentResponse, eQ as ArtifactComponentSelectSchema, eS as ArtifactComponentUpdateSchema, aO as AuthorizationCodeOAuthFlow, dg as CanDelegateToExternalAgent, df as CanUseItem, gc as CanUseItemSchema, bq as CancelTaskRequest, bB as CancelTaskResponse, bA as CancelTaskSuccessResponse, aP as ClientCredentialsOAuthFlow, h5 as ComponentAssociationListResponse, fo as ComponentAssociationSchema, b8 as ContentTypeNotSupportedError, cs as ContextCacheApiInsert, eB as ContextCacheApiInsertSchema, cr as ContextCacheApiSelect, eA as ContextCacheApiSelectSchema, ct as ContextCacheApiUpdate, eC as ContextCacheApiUpdateSchema, dy as ContextCacheEntry, ey as ContextCacheInsertSchema, ex as ContextCacheSelectSchema, cq as ContextCacheUpdate, ez as ContextCacheUpdateSchema, cm as ContextConfigApiInsert, fM as ContextConfigApiInsertSchema, cl as ContextConfigApiSelect, fL as ContextConfigApiSelectSchema, cn as ContextConfigApiUpdate, fN as ContextConfigApiUpdateSchema, fJ as ContextConfigInsertSchema, gP as ContextConfigListResponse, gz as ContextConfigResponse, fI as ContextConfigSelectSchema, fK as ContextConfigUpdateSchema, cf as ConversationApiInsert, ep as ConversationApiInsertSchema, ce as ConversationApiSelect, eo as ConversationApiSelectSchema, cg as ConversationApiUpdate, eq as ConversationApiUpdateSchema, em as ConversationInsertSchema, gY as ConversationListResponse, gI as ConversationResponse, dw as ConversationScopeOptions, el as ConversationSelectSchema, en as ConversationUpdateSchema, fl as CreateCredentialInStoreRequestSchema, fm as CreateCredentialInStoreResponseSchema, fh as CredentialReferenceApiInsertSchema, cU as CredentialReferenceApiSelect, fg as CredentialReferenceApiSelectSchema, cV as CredentialReferenceApiUpdate, fi as CredentialReferenceApiUpdateSchema, fe as CredentialReferenceInsertSchema, gR as CredentialReferenceListResponse, gB as CredentialReferenceResponse, fd as CredentialReferenceSelectSchema, ff as CredentialReferenceUpdateSchema, fk as CredentialStoreListResponseSchema, fj as CredentialStoreSchema, cv as DataComponentApiInsert, eI as DataComponentApiInsertSchema, cu as DataComponentApiSelect, eH as DataComponentApiSelectSchema, cw as DataComponentApiUpdate, eJ as DataComponentApiUpdateSchema, hc as DataComponentArrayResponse, eF as DataComponentBaseSchema, eE as DataComponentInsertSchema, gU as DataComponentListResponse, gE as DataComponentResponse, eD as DataComponentSelectSchema, eG as DataComponentUpdateSchema, aF as DataPart, gk as ErrorResponseSchema, gl as ExistsResponseSchema, cN as ExternalAgentApiInsert, f4 as ExternalAgentApiInsertSchema, cM as ExternalAgentApiSelect, f3 as ExternalAgentApiSelectSchema, cO as ExternalAgentApiUpdate, f5 as ExternalAgentApiUpdateSchema, f1 as ExternalAgentInsertSchema, gO as ExternalAgentListResponse, gy as ExternalAgentResponse, f0 as ExternalAgentSelectSchema, f2 as ExternalAgentUpdateSchema, bT as ExternalSubAgentRelationApiInsert, dZ as ExternalSubAgentRelationApiInsertSchema, bS as ExternalSubAgentRelationInsert, dY as ExternalSubAgentRelationInsertSchema, cp as FetchConfig, fG as FetchConfigSchema, co as FetchDefinition, fH as FetchDefinitionSchema, aB as FileBase, aE as FilePart, aC as FileWithBytes, aD as FileWithUri, de as FullAgentAgentInsert, a as FullAgentAgentInsertSchema, h2 as FullProjectDefinitionResponse, gt as FullProjectDefinitionSchema, F as FunctionApiInsertSchema, cb as FunctionApiSelect, j as FunctionApiSelectSchema, cc as FunctionApiUpdate, k as FunctionApiUpdateSchema, c9 as FunctionInsert, fE as FunctionInsertSchema, gS as FunctionListResponse, gC as FunctionResponse, c8 as FunctionSelect, fD as FunctionSelectSchema, fB as FunctionToolApiInsertSchema, cd as FunctionToolApiSelect, fA as FunctionToolApiSelectSchema, fC as FunctionToolApiUpdateSchema, dK as FunctionToolConfig, dJ as FunctionToolConfigSchema, fy as FunctionToolInsertSchema, gT as FunctionToolListResponse, gD as FunctionToolResponse, fx as FunctionToolSelectSchema, fz as FunctionToolUpdateSchema, ca as FunctionUpdate, fF as FunctionUpdateSchema, bs as GetTaskPushNotificationConfigRequest, bF as GetTaskPushNotificationConfigResponse, bE as GetTaskPushNotificationConfigSuccessResponse, bp as GetTaskRequest, bz as GetTaskResponse, by as GetTaskSuccessResponse, aM as HTTPAuthSecurityScheme, he as HeadersScopeSchema, aQ as ImplicitOAuthFlow, b3 as InternalError, b9 as InvalidAgentResponseError, b2 as InvalidParamsError, b0 as InvalidRequestError, a$ as JSONParseError, bk as JSONRPCError, bm as JSONRPCErrorResponse, bi as JSONRPCMessage, bj as JSONRPCRequest, bl as JSONRPCResult, dc as LedgerArtifactApiInsert, g8 as LedgerArtifactApiInsertSchema, db as LedgerArtifactApiSelect, g7 as LedgerArtifactApiSelectSchema, dd as LedgerArtifactApiUpdate, g9 as LedgerArtifactApiUpdateSchema, d9 as LedgerArtifactInsert, g5 as LedgerArtifactInsertSchema, g4 as LedgerArtifactSelectSchema, da as LedgerArtifactUpdate, g6 as LedgerArtifactUpdateSchema, gi as ListResponseSchema, dG as MCPServerType, fs as MCPToolConfigSchema, dz as McpAuthType, dA as McpServerAuth, dC as McpServerCapabilities, dD as McpToolDefinition, ei as McpToolDefinitionSchema, h7 as McpToolListResponse, h6 as McpToolResponse, fr as McpToolSchema, dB as McpTransportConfig, eg as McpTransportConfigSchema, aW as Message, cj as MessageApiInsert, ev as MessageApiInsertSchema, ci as MessageApiSelect, eu as MessageApiSelectSchema, ck as MessageApiUpdate, ew as MessageApiUpdateSchema, es as MessageInsertSchema, gZ as MessageListResponse, dr as MessageMode, bI as MessagePart, gJ as MessageResponse, dq as MessageRole, ch as MessageSelect, er as MessageSelectSchema, bg as MessageSendConfiguration, bh as MessageSendParams, dp as MessageType, et as MessageUpdateSchema, b1 as MethodNotFoundError, dH as ModelSchema, g as ModelSettings, M as ModelSettingsSchema, ds as Models, aS as OAuth2SecurityScheme, fq as OAuthCallbackQuerySchema, aN as OAuthFlows, fp as OAuthLoginQuerySchema, aT as OpenIdConnectSecurityScheme, dm as Pagination, hn as PaginationQueryParamsSchema, gh as PaginationSchema, P as Part, az as PartBase, aR as PasswordOAuthFlow, dk as ProjectApiInsert, gr as ProjectApiInsertSchema, dj as ProjectApiSelect, gq as ProjectApiSelectSchema, dl as ProjectApiUpdate, gs as ProjectApiUpdateSchema, go as ProjectInsertSchema, gK as ProjectListResponse, dI as ProjectModelSchema, dt as ProjectModels, gu as ProjectResponse, gn as ProjectSelectSchema, gp as ProjectUpdateSchema, bb as PushNotificationAuthenticationInfo, bc as PushNotificationConfig, b6 as PushNotificationNotSupportedError, h4 as RelatedAgentInfoListResponse, fn as RelatedAgentInfoSchema, gm as RemovedResponseSchema, aU as SecurityScheme, aK as SecuritySchemeBase, bn as SendMessageRequest, bv as SendMessageResponse, bu as SendMessageSuccessResponse, bo as SendStreamingMessageRequest, bx as SendStreamingMessageResponse, bw as SendStreamingMessageSuccessResponse, br as SetTaskPushNotificationConfigRequest, bD as SetTaskPushNotificationConfigResponse, bC as SetTaskPushNotificationConfigSuccessResponse, gj as SingleResponseSchema, dv as StatusComponent, ga as StatusComponentSchema, gb as StatusUpdateSchema, du as StatusUpdateSettings, d as StopWhen, S as StopWhenSchema, bL as SubAgentApiInsert, dP as SubAgentApiInsertSchema, bK as SubAgentApiSelect, dO as SubAgentApiSelectSchema, bM as SubAgentApiUpdate, dQ as SubAgentApiUpdateSchema, cK as SubAgentArtifactComponentApiInsert, e_ as SubAgentArtifactComponentApiInsertSchema, cJ as SubAgentArtifactComponentApiSelect, eZ as SubAgentArtifactComponentApiSelectSchema, cL as SubAgentArtifactComponentApiUpdate, e$ as SubAgentArtifactComponentApiUpdateSchema, cH as SubAgentArtifactComponentInsert, eX as SubAgentArtifactComponentInsertSchema, h1 as SubAgentArtifactComponentListResponse, g$ as SubAgentArtifactComponentResponse, cG as SubAgentArtifactComponentSelect, eW as SubAgentArtifactComponentSelectSchema, cI as SubAgentArtifactComponentUpdate, eY as SubAgentArtifactComponentUpdateSchema, cB as SubAgentDataComponentApiInsert, eO as SubAgentDataComponentApiInsertSchema, cA as SubAgentDataComponentApiSelect, eN as SubAgentDataComponentApiSelectSchema, cC as SubAgentDataComponentApiUpdate, eP as SubAgentDataComponentApiUpdateSchema, cy as SubAgentDataComponentInsert, eL as SubAgentDataComponentInsertSchema, h0 as SubAgentDataComponentListResponse, g_ as SubAgentDataComponentResponse, cx as SubAgentDataComponentSelect, eK as SubAgentDataComponentSelectSchema, cz as SubAgentDataComponentUpdate, eM as SubAgentDataComponentUpdateSchema, dh as SubAgentDefinition, d2 as SubAgentExternalAgentRelationApiInsert, fY as SubAgentExternalAgentRelationApiInsertSchema, d1 as SubAgentExternalAgentRelationApiSelect, fX as SubAgentExternalAgentRelationApiSelectSchema, d3 as SubAgentExternalAgentRelationApiUpdate, fZ as SubAgentExternalAgentRelationApiUpdateSchema, fV as SubAgentExternalAgentRelationInsertSchema, hb as SubAgentExternalAgentRelationListResponse, ha as SubAgentExternalAgentRelationResponse, c$ as SubAgentExternalAgentRelationSelect, fU as SubAgentExternalAgentRelationSelectSchema, d0 as SubAgentExternalAgentRelationUpdate, fW as SubAgentExternalAgentRelationUpdateSchema, dM as SubAgentInsertSchema, gL as SubAgentListResponse, bP as SubAgentRelationApiInsert, dV as SubAgentRelationApiInsertSchema, bO as SubAgentRelationApiSelect, dU as SubAgentRelationApiSelectSchema, bQ as SubAgentRelationApiUpdate, dW as SubAgentRelationApiUpdateSchema, dS as SubAgentRelationInsertSchema, gW as SubAgentRelationListResponse, bR as SubAgentRelationQuery, dX as SubAgentRelationQuerySchema, gG as SubAgentRelationResponse, bN as SubAgentRelationSelect, dR as SubAgentRelationSelectSchema, dT as SubAgentRelationUpdateSchema, gv as SubAgentResponse, dL as SubAgentSelectSchema, f as SubAgentStopWhen, c as SubAgentStopWhenSchema, d7 as SubAgentTeamAgentRelationApiInsert, g2 as SubAgentTeamAgentRelationApiInsertSchema, d6 as SubAgentTeamAgentRelationApiSelect, g1 as SubAgentTeamAgentRelationApiSelectSchema, d8 as SubAgentTeamAgentRelationApiUpdate, g3 as SubAgentTeamAgentRelationApiUpdateSchema, f$ as SubAgentTeamAgentRelationInsertSchema, h9 as SubAgentTeamAgentRelationListResponse, h8 as SubAgentTeamAgentRelationResponse, d4 as SubAgentTeamAgentRelationSelect, f_ as SubAgentTeamAgentRelationSelectSchema, d5 as SubAgentTeamAgentRelationUpdate, g0 as SubAgentTeamAgentRelationUpdateSchema, cZ as SubAgentToolRelationApiInsert, fS as SubAgentToolRelationApiInsertSchema, cY as SubAgentToolRelationApiSelect, fR as SubAgentToolRelationApiSelectSchema, c_ as SubAgentToolRelationApiUpdate, fT as SubAgentToolRelationApiUpdateSchema, cX as SubAgentToolRelationInsert, fP as SubAgentToolRelationInsertSchema, gX as SubAgentToolRelationListResponse, gH as SubAgentToolRelationResponse, cW as SubAgentToolRelationSelect, fO as SubAgentToolRelationSelectSchema, fQ as SubAgentToolRelationUpdateSchema, dN as SubAgentUpdateSchema, dn as SummaryEvent, dE as TOOL_STATUS_VALUES, aY as Task, bZ as TaskApiInsert, e8 as TaskApiInsertSchema, bY as TaskApiSelect, e7 as TaskApiSelectSchema, b_ as TaskApiUpdate, e9 as TaskApiUpdateSchema, bJ as TaskArtifact, a_ as TaskArtifactUpdateEvent, be as TaskIdParams, e5 as TaskInsertSchema, b5 as TaskNotCancelableError, b4 as TaskNotFoundError, bd as TaskPushNotificationConfig, bf as TaskQueryParams, c3 as TaskRelationApiInsert, ee as TaskRelationApiInsertSchema, c2 as TaskRelationApiSelect, ed as TaskRelationApiSelectSchema, c4 as TaskRelationApiUpdate, ef as TaskRelationApiUpdateSchema, c0 as TaskRelationInsert, eb as TaskRelationInsertSchema, b$ as TaskRelationSelect, ea as TaskRelationSelectSchema, c1 as TaskRelationUpdate, ec as TaskRelationUpdateSchema, bt as TaskResubscriptionRequest, e4 as TaskSelectSchema, aG as TaskState, aX as TaskStatus, aZ as TaskStatusUpdateEvent, bX as TaskUpdate, e6 as TaskUpdateSchema, gf as TeamAgentSchema, hg as TenantIdParamsSchema, hf as TenantParamsSchema, hk as TenantProjectAgentIdParamsSchema, hj as TenantProjectAgentParamsSchema, hm as TenantProjectAgentSubAgentIdParamsSchema, hl as TenantProjectAgentSubAgentParamsSchema, hi as TenantProjectIdParamsSchema, hh as TenantProjectParamsSchema, aA as TextPart, c6 as ToolApiInsert, fv as ToolApiInsertSchema, c5 as ToolApiSelect, fu as ToolApiSelectSchema, c7 as ToolApiUpdate, fw as ToolApiUpdateSchema, di as ToolDefinition, ek as ToolInsertSchema, gN as ToolListResponse, gx as ToolResponse, ej as ToolSelectSchema, eh as ToolStatusSchema, ft as ToolUpdateSchema, b7 as UnsupportedOperationError, dF as VALID_RELATION_TYPES, gd as canDelegateToExternalAgentSchema, ge as canDelegateToTeamAgentSchema } from './utility-aMKDDNv4.cjs';
|
|
7
7
|
import { CredentialStore } from './types/index.cjs';
|
|
8
8
|
export { CorsConfig, ServerConfig, ServerOptions } from './types/index.cjs';
|
|
9
9
|
import { NodePgDatabase } from 'drizzle-orm/node-postgres';
|
|
10
10
|
import { PgliteDatabase } from 'drizzle-orm/pglite';
|
|
11
|
-
import { s as schema } from './schema-
|
|
12
|
-
export { G as agentRelations, J as agentToolRelationsRelations, a as agents, y as apiKeys, I as apiKeysRelations, j as artifactComponents, O as artifactComponentsRelations, b as contextCache, E as contextCacheRelations, c as contextConfigs, D as contextConfigsRelations, v as conversations, M as conversationsRelations, z as credentialReferences, K as credentialReferencesRelations, h as dataComponents, Q as dataComponentsRelations, f as externalAgents, H as externalAgentsRelations, m as functionTools, V as functionToolsRelations, n as functions, T as functionsRelations, x as ledgerArtifacts, S as ledgerArtifactsRelations, w as messages, N as messagesRelations, p as projects, B as projectsRelations, k as subAgentArtifactComponents, P as subAgentArtifactComponentsRelations, i as subAgentDataComponents, R as subAgentDataComponentsRelations, q as subAgentExternalAgentRelations, X as subAgentExternalAgentRelationsRelations, u as subAgentFunctionToolRelations, W as subAgentFunctionToolRelationsRelations, e as subAgentRelations, U as subAgentRelationsRelations, r as subAgentTeamAgentRelations, Y as subAgentTeamAgentRelationsRelations, o as subAgentToolRelations, d as subAgents, F as subAgentsRelations, g as taskRelations, C as taskRelationsRelations, t as tasks, A as tasksRelations, l as tools, L as toolsRelations } from './schema-
|
|
11
|
+
import { s as schema } from './schema-aKVr9nIb.cjs';
|
|
12
|
+
export { G as agentRelations, J as agentToolRelationsRelations, a as agents, y as apiKeys, I as apiKeysRelations, j as artifactComponents, O as artifactComponentsRelations, b as contextCache, E as contextCacheRelations, c as contextConfigs, D as contextConfigsRelations, v as conversations, M as conversationsRelations, z as credentialReferences, K as credentialReferencesRelations, h as dataComponents, Q as dataComponentsRelations, f as externalAgents, H as externalAgentsRelations, m as functionTools, V as functionToolsRelations, n as functions, T as functionsRelations, x as ledgerArtifacts, S as ledgerArtifactsRelations, w as messages, N as messagesRelations, p as projects, B as projectsRelations, k as subAgentArtifactComponents, P as subAgentArtifactComponentsRelations, i as subAgentDataComponents, R as subAgentDataComponentsRelations, q as subAgentExternalAgentRelations, X as subAgentExternalAgentRelationsRelations, u as subAgentFunctionToolRelations, W as subAgentFunctionToolRelationsRelations, e as subAgentRelations, U as subAgentRelationsRelations, r as subAgentTeamAgentRelations, Y as subAgentTeamAgentRelationsRelations, o as subAgentToolRelations, d as subAgents, F as subAgentsRelations, g as taskRelations, C as taskRelationsRelations, t as tasks, A as tasksRelations, l as tools, L as toolsRelations } from './schema-aKVr9nIb.cjs';
|
|
13
13
|
import { SSEClientTransportOptions } from '@modelcontextprotocol/sdk/client/sse.js';
|
|
14
14
|
import { StreamableHTTPClientTransportOptions } from '@modelcontextprotocol/sdk/client/streamableHttp.js';
|
|
15
15
|
import { ClientCapabilities } from '@modelcontextprotocol/sdk/types.js';
|
|
@@ -840,13 +840,14 @@ declare const deleteFullAgent: (db: DatabaseClient, logger?: AgentLogger) => (pa
|
|
|
840
840
|
declare const getAgentById: (db: DatabaseClient) => (params: {
|
|
841
841
|
scopes: AgentScopeConfig;
|
|
842
842
|
}) => Promise<{
|
|
843
|
-
|
|
843
|
+
tenantId: string;
|
|
844
|
+
projectId: string;
|
|
844
845
|
id: string;
|
|
846
|
+
name: string;
|
|
845
847
|
description: string | null;
|
|
848
|
+
prompt: string | null;
|
|
846
849
|
createdAt: string;
|
|
847
850
|
updatedAt: string;
|
|
848
|
-
projectId: string;
|
|
849
|
-
tenantId: string;
|
|
850
851
|
models: {
|
|
851
852
|
base?: {
|
|
852
853
|
model?: string | undefined;
|
|
@@ -866,7 +867,6 @@ declare const getAgentById: (db: DatabaseClient) => (params: {
|
|
|
866
867
|
} | null;
|
|
867
868
|
defaultSubAgentId: string | null;
|
|
868
869
|
contextConfigId: string | null;
|
|
869
|
-
prompt: string | null;
|
|
870
870
|
statusUpdates: {
|
|
871
871
|
enabled?: boolean | undefined;
|
|
872
872
|
numEvents?: number | undefined;
|
|
@@ -886,13 +886,14 @@ declare const getAgentById: (db: DatabaseClient) => (params: {
|
|
|
886
886
|
declare const getAgentWithDefaultSubAgent: (db: DatabaseClient) => (params: {
|
|
887
887
|
scopes: AgentScopeConfig;
|
|
888
888
|
}) => Promise<{
|
|
889
|
-
|
|
889
|
+
tenantId: string;
|
|
890
|
+
projectId: string;
|
|
890
891
|
id: string;
|
|
892
|
+
name: string;
|
|
891
893
|
description: string | null;
|
|
894
|
+
prompt: string | null;
|
|
892
895
|
createdAt: string;
|
|
893
896
|
updatedAt: string;
|
|
894
|
-
projectId: string;
|
|
895
|
-
tenantId: string;
|
|
896
897
|
models: {
|
|
897
898
|
base?: {
|
|
898
899
|
model?: string | undefined;
|
|
@@ -912,7 +913,6 @@ declare const getAgentWithDefaultSubAgent: (db: DatabaseClient) => (params: {
|
|
|
912
913
|
} | null;
|
|
913
914
|
defaultSubAgentId: string | null;
|
|
914
915
|
contextConfigId: string | null;
|
|
915
|
-
prompt: string | null;
|
|
916
916
|
statusUpdates: {
|
|
917
917
|
enabled?: boolean | undefined;
|
|
918
918
|
numEvents?: number | undefined;
|
|
@@ -929,13 +929,15 @@ declare const getAgentWithDefaultSubAgent: (db: DatabaseClient) => (params: {
|
|
|
929
929
|
}[] | undefined;
|
|
930
930
|
} | null;
|
|
931
931
|
defaultSubAgent: {
|
|
932
|
-
|
|
932
|
+
tenantId: string;
|
|
933
|
+
projectId: string;
|
|
933
934
|
id: string;
|
|
935
|
+
name: string;
|
|
934
936
|
description: string;
|
|
937
|
+
prompt: string;
|
|
938
|
+
agentId: string;
|
|
935
939
|
createdAt: string;
|
|
936
940
|
updatedAt: string;
|
|
937
|
-
projectId: string;
|
|
938
|
-
tenantId: string;
|
|
939
941
|
models: {
|
|
940
942
|
base?: {
|
|
941
943
|
model?: string | undefined;
|
|
@@ -953,21 +955,20 @@ declare const getAgentWithDefaultSubAgent: (db: DatabaseClient) => (params: {
|
|
|
953
955
|
stopWhen: {
|
|
954
956
|
stepCountIs?: number | undefined;
|
|
955
957
|
} | null;
|
|
956
|
-
agentId: string;
|
|
957
|
-
prompt: string;
|
|
958
958
|
conversationHistoryConfig: ConversationHistoryConfig | null;
|
|
959
959
|
} | null;
|
|
960
960
|
} | null>;
|
|
961
961
|
declare const listAgents: (db: DatabaseClient) => (params: {
|
|
962
962
|
scopes: ProjectScopeConfig;
|
|
963
963
|
}) => Promise<{
|
|
964
|
-
|
|
964
|
+
tenantId: string;
|
|
965
|
+
projectId: string;
|
|
965
966
|
id: string;
|
|
967
|
+
name: string;
|
|
966
968
|
description: string | null;
|
|
969
|
+
prompt: string | null;
|
|
967
970
|
createdAt: string;
|
|
968
971
|
updatedAt: string;
|
|
969
|
-
projectId: string;
|
|
970
|
-
tenantId: string;
|
|
971
972
|
models: {
|
|
972
973
|
base?: {
|
|
973
974
|
model?: string | undefined;
|
|
@@ -987,7 +988,6 @@ declare const listAgents: (db: DatabaseClient) => (params: {
|
|
|
987
988
|
} | null;
|
|
988
989
|
defaultSubAgentId: string | null;
|
|
989
990
|
contextConfigId: string | null;
|
|
990
|
-
prompt: string | null;
|
|
991
991
|
statusUpdates: {
|
|
992
992
|
enabled?: boolean | undefined;
|
|
993
993
|
numEvents?: number | undefined;
|
|
@@ -1060,13 +1060,14 @@ declare const listAgentsPaginated: (db: DatabaseClient) => (params: {
|
|
|
1060
1060
|
};
|
|
1061
1061
|
}>;
|
|
1062
1062
|
declare const createAgent: (db: DatabaseClient) => (data: AgentInsert) => Promise<{
|
|
1063
|
-
|
|
1063
|
+
tenantId: string;
|
|
1064
|
+
projectId: string;
|
|
1064
1065
|
id: string;
|
|
1066
|
+
name: string;
|
|
1065
1067
|
description: string | null;
|
|
1068
|
+
prompt: string | null;
|
|
1066
1069
|
createdAt: string;
|
|
1067
1070
|
updatedAt: string;
|
|
1068
|
-
projectId: string;
|
|
1069
|
-
tenantId: string;
|
|
1070
1071
|
models: {
|
|
1071
1072
|
base?: {
|
|
1072
1073
|
model?: string | undefined;
|
|
@@ -1086,7 +1087,6 @@ declare const createAgent: (db: DatabaseClient) => (data: AgentInsert) => Promis
|
|
|
1086
1087
|
} | null;
|
|
1087
1088
|
defaultSubAgentId: string | null;
|
|
1088
1089
|
contextConfigId: string | null;
|
|
1089
|
-
prompt: string | null;
|
|
1090
1090
|
statusUpdates: {
|
|
1091
1091
|
enabled?: boolean | undefined;
|
|
1092
1092
|
numEvents?: number | undefined;
|
|
@@ -1187,49 +1187,49 @@ declare const getApiKeyById: (db: DatabaseClient) => (params: {
|
|
|
1187
1187
|
scopes: ProjectScopeConfig;
|
|
1188
1188
|
id: string;
|
|
1189
1189
|
}) => Promise<{
|
|
1190
|
-
name: string | null;
|
|
1191
|
-
id: string;
|
|
1192
|
-
createdAt: string;
|
|
1193
|
-
updatedAt: string;
|
|
1194
|
-
projectId: string;
|
|
1195
1190
|
tenantId: string;
|
|
1191
|
+
projectId: string;
|
|
1192
|
+
id: string;
|
|
1193
|
+
name: string | null;
|
|
1196
1194
|
agentId: string;
|
|
1197
|
-
expiresAt: string | null;
|
|
1198
1195
|
publicId: string;
|
|
1199
1196
|
keyHash: string;
|
|
1200
1197
|
keyPrefix: string;
|
|
1201
1198
|
lastUsedAt: string | null;
|
|
1202
|
-
|
|
1203
|
-
declare const getApiKeyByPublicId: (db: DatabaseClient) => (publicId: string) => Promise<{
|
|
1204
|
-
name: string | null;
|
|
1205
|
-
id: string;
|
|
1199
|
+
expiresAt: string | null;
|
|
1206
1200
|
createdAt: string;
|
|
1207
1201
|
updatedAt: string;
|
|
1208
|
-
|
|
1202
|
+
} | undefined>;
|
|
1203
|
+
declare const getApiKeyByPublicId: (db: DatabaseClient) => (publicId: string) => Promise<{
|
|
1209
1204
|
tenantId: string;
|
|
1205
|
+
projectId: string;
|
|
1206
|
+
id: string;
|
|
1207
|
+
name: string | null;
|
|
1210
1208
|
agentId: string;
|
|
1211
|
-
expiresAt: string | null;
|
|
1212
1209
|
publicId: string;
|
|
1213
1210
|
keyHash: string;
|
|
1214
1211
|
keyPrefix: string;
|
|
1215
1212
|
lastUsedAt: string | null;
|
|
1213
|
+
expiresAt: string | null;
|
|
1214
|
+
createdAt: string;
|
|
1215
|
+
updatedAt: string;
|
|
1216
1216
|
} | undefined>;
|
|
1217
1217
|
declare const listApiKeys: (db: DatabaseClient) => (params: {
|
|
1218
1218
|
scopes: ProjectScopeConfig;
|
|
1219
1219
|
agentId?: string;
|
|
1220
1220
|
}) => Promise<{
|
|
1221
|
-
name: string | null;
|
|
1222
|
-
id: string;
|
|
1223
|
-
createdAt: string;
|
|
1224
|
-
updatedAt: string;
|
|
1225
|
-
projectId: string;
|
|
1226
1221
|
tenantId: string;
|
|
1222
|
+
projectId: string;
|
|
1223
|
+
id: string;
|
|
1224
|
+
name: string | null;
|
|
1227
1225
|
agentId: string;
|
|
1228
|
-
expiresAt: string | null;
|
|
1229
1226
|
publicId: string;
|
|
1230
1227
|
keyHash: string;
|
|
1231
1228
|
keyPrefix: string;
|
|
1232
1229
|
lastUsedAt: string | null;
|
|
1230
|
+
expiresAt: string | null;
|
|
1231
|
+
createdAt: string;
|
|
1232
|
+
updatedAt: string;
|
|
1233
1233
|
}[]>;
|
|
1234
1234
|
declare const listApiKeysPaginated: (db: DatabaseClient) => (params: {
|
|
1235
1235
|
scopes: ProjectScopeConfig;
|
|
@@ -1245,18 +1245,18 @@ declare const listApiKeysPaginated: (db: DatabaseClient) => (params: {
|
|
|
1245
1245
|
};
|
|
1246
1246
|
}>;
|
|
1247
1247
|
declare const createApiKey: (db: DatabaseClient) => (params: ApiKeyInsert) => Promise<{
|
|
1248
|
-
name: string | null;
|
|
1249
|
-
id: string;
|
|
1250
|
-
createdAt: string;
|
|
1251
|
-
updatedAt: string;
|
|
1252
|
-
projectId: string;
|
|
1253
1248
|
tenantId: string;
|
|
1249
|
+
projectId: string;
|
|
1250
|
+
id: string;
|
|
1251
|
+
name: string | null;
|
|
1254
1252
|
agentId: string;
|
|
1255
|
-
expiresAt: string | null;
|
|
1256
1253
|
publicId: string;
|
|
1257
1254
|
keyHash: string;
|
|
1258
1255
|
keyPrefix: string;
|
|
1259
1256
|
lastUsedAt: string | null;
|
|
1257
|
+
expiresAt: string | null;
|
|
1258
|
+
createdAt: string;
|
|
1259
|
+
updatedAt: string;
|
|
1260
1260
|
}>;
|
|
1261
1261
|
declare const updateApiKey: (db: DatabaseClient) => (params: {
|
|
1262
1262
|
scopes: ProjectScopeConfig;
|
|
@@ -1303,13 +1303,13 @@ declare const getArtifactComponentById: (db: DatabaseClient) => (params: {
|
|
|
1303
1303
|
scopes: ProjectScopeConfig;
|
|
1304
1304
|
id: string;
|
|
1305
1305
|
}) => Promise<{
|
|
1306
|
-
|
|
1306
|
+
tenantId: string;
|
|
1307
|
+
projectId: string;
|
|
1307
1308
|
id: string;
|
|
1309
|
+
name: string;
|
|
1308
1310
|
description: string;
|
|
1309
1311
|
createdAt: string;
|
|
1310
1312
|
updatedAt: string;
|
|
1311
|
-
projectId: string;
|
|
1312
|
-
tenantId: string;
|
|
1313
1313
|
props: Record<string, unknown> | null;
|
|
1314
1314
|
} | undefined>;
|
|
1315
1315
|
declare const listArtifactComponents: (db: DatabaseClient) => (params: {
|
|
@@ -1337,13 +1337,13 @@ declare const listArtifactComponentsPaginated: (db: DatabaseClient) => (params:
|
|
|
1337
1337
|
};
|
|
1338
1338
|
}>;
|
|
1339
1339
|
declare const createArtifactComponent: (db: DatabaseClient) => (params: ArtifactComponentInsert) => Promise<{
|
|
1340
|
-
|
|
1340
|
+
tenantId: string;
|
|
1341
|
+
projectId: string;
|
|
1341
1342
|
id: string;
|
|
1343
|
+
name: string;
|
|
1342
1344
|
description: string;
|
|
1343
1345
|
createdAt: string;
|
|
1344
1346
|
updatedAt: string;
|
|
1345
|
-
projectId: string;
|
|
1346
|
-
tenantId: string;
|
|
1347
1347
|
props: Record<string, unknown> | null;
|
|
1348
1348
|
}>;
|
|
1349
1349
|
declare const updateArtifactComponent: (db: DatabaseClient) => (params: {
|
|
@@ -1380,11 +1380,11 @@ declare const associateArtifactComponentWithAgent: (db: DatabaseClient) => (para
|
|
|
1380
1380
|
scopes: SubAgentScopeConfig;
|
|
1381
1381
|
artifactComponentId: string;
|
|
1382
1382
|
}) => Promise<{
|
|
1383
|
-
id: string;
|
|
1384
|
-
createdAt: string;
|
|
1385
|
-
projectId: string;
|
|
1386
1383
|
tenantId: string;
|
|
1384
|
+
projectId: string;
|
|
1385
|
+
id: string;
|
|
1387
1386
|
agentId: string;
|
|
1387
|
+
createdAt: string;
|
|
1388
1388
|
subAgentId: string;
|
|
1389
1389
|
artifactComponentId: string;
|
|
1390
1390
|
}>;
|
|
@@ -1423,11 +1423,11 @@ declare const upsertAgentArtifactComponentRelation: (db: DatabaseClient) => (par
|
|
|
1423
1423
|
scopes: SubAgentScopeConfig;
|
|
1424
1424
|
artifactComponentId: string;
|
|
1425
1425
|
}) => Promise<{
|
|
1426
|
-
id: string;
|
|
1427
|
-
createdAt: string;
|
|
1428
|
-
projectId: string;
|
|
1429
1426
|
tenantId: string;
|
|
1427
|
+
projectId: string;
|
|
1428
|
+
id: string;
|
|
1430
1429
|
agentId: string;
|
|
1430
|
+
createdAt: string;
|
|
1431
1431
|
subAgentId: string;
|
|
1432
1432
|
artifactComponentId: string;
|
|
1433
1433
|
} | null>;
|
|
@@ -1507,26 +1507,26 @@ declare const getContextConfigById: (db: DatabaseClient) => (params: {
|
|
|
1507
1507
|
scopes: AgentScopeConfig;
|
|
1508
1508
|
id: string;
|
|
1509
1509
|
}) => Promise<{
|
|
1510
|
+
tenantId: string;
|
|
1511
|
+
projectId: string;
|
|
1510
1512
|
id: string;
|
|
1513
|
+
agentId: string;
|
|
1511
1514
|
createdAt: string;
|
|
1512
1515
|
updatedAt: string;
|
|
1513
|
-
projectId: string;
|
|
1514
|
-
tenantId: string;
|
|
1515
1516
|
headersSchema: unknown;
|
|
1516
1517
|
contextVariables: Record<string, ContextFetchDefinition> | null;
|
|
1517
|
-
agentId: string;
|
|
1518
1518
|
} | undefined>;
|
|
1519
1519
|
declare const listContextConfigs: (db: DatabaseClient) => (params: {
|
|
1520
1520
|
scopes: AgentScopeConfig;
|
|
1521
1521
|
}) => Promise<{
|
|
1522
|
+
tenantId: string;
|
|
1523
|
+
projectId: string;
|
|
1522
1524
|
id: string;
|
|
1525
|
+
agentId: string;
|
|
1523
1526
|
createdAt: string;
|
|
1524
1527
|
updatedAt: string;
|
|
1525
|
-
projectId: string;
|
|
1526
|
-
tenantId: string;
|
|
1527
1528
|
headersSchema: unknown;
|
|
1528
1529
|
contextVariables: Record<string, ContextFetchDefinition> | null;
|
|
1529
|
-
agentId: string;
|
|
1530
1530
|
}[]>;
|
|
1531
1531
|
declare const listContextConfigsPaginated: (db: DatabaseClient) => (params: {
|
|
1532
1532
|
scopes: AgentScopeConfig;
|
|
@@ -1541,14 +1541,14 @@ declare const listContextConfigsPaginated: (db: DatabaseClient) => (params: {
|
|
|
1541
1541
|
};
|
|
1542
1542
|
}>;
|
|
1543
1543
|
declare const createContextConfig: (db: DatabaseClient) => (params: ContextConfigInsert) => Promise<{
|
|
1544
|
+
tenantId: string;
|
|
1545
|
+
projectId: string;
|
|
1544
1546
|
id: string;
|
|
1547
|
+
agentId: string;
|
|
1545
1548
|
createdAt: string;
|
|
1546
1549
|
updatedAt: string;
|
|
1547
|
-
projectId: string;
|
|
1548
|
-
tenantId: string;
|
|
1549
1550
|
headersSchema: unknown;
|
|
1550
1551
|
contextVariables: Record<string, ContextFetchDefinition> | null;
|
|
1551
|
-
agentId: string;
|
|
1552
1552
|
}>;
|
|
1553
1553
|
declare const updateContextConfig: (db: DatabaseClient) => (params: {
|
|
1554
1554
|
scopes: AgentScopeConfig;
|
|
@@ -1581,14 +1581,14 @@ declare const countContextConfigs: (db: DatabaseClient) => (params: {
|
|
|
1581
1581
|
declare const upsertContextConfig: (db: DatabaseClient) => (params: {
|
|
1582
1582
|
data: ContextConfigInsert;
|
|
1583
1583
|
}) => Promise<{
|
|
1584
|
+
tenantId: string;
|
|
1585
|
+
projectId: string;
|
|
1584
1586
|
id: string;
|
|
1587
|
+
agentId: string;
|
|
1585
1588
|
createdAt: string;
|
|
1586
1589
|
updatedAt: string;
|
|
1587
|
-
projectId: string;
|
|
1588
|
-
tenantId: string;
|
|
1589
1590
|
headersSchema: unknown;
|
|
1590
1591
|
contextVariables: Record<string, ContextFetchDefinition> | null;
|
|
1591
|
-
agentId: string;
|
|
1592
1592
|
}>;
|
|
1593
1593
|
|
|
1594
1594
|
declare const listConversations: (db: DatabaseClient) => (params: {
|
|
@@ -1600,12 +1600,12 @@ declare const listConversations: (db: DatabaseClient) => (params: {
|
|
|
1600
1600
|
total: number;
|
|
1601
1601
|
}>;
|
|
1602
1602
|
declare const createConversation: (db: DatabaseClient) => (params: ConversationInsert) => Promise<{
|
|
1603
|
+
tenantId: string;
|
|
1604
|
+
projectId: string;
|
|
1603
1605
|
id: string;
|
|
1604
1606
|
title: string | null;
|
|
1605
1607
|
createdAt: string;
|
|
1606
1608
|
updatedAt: string;
|
|
1607
|
-
projectId: string;
|
|
1608
|
-
tenantId: string;
|
|
1609
1609
|
metadata: ConversationMetadata | null;
|
|
1610
1610
|
userId: string | null;
|
|
1611
1611
|
activeSubAgentId: string;
|
|
@@ -1651,12 +1651,12 @@ declare const getConversation: (db: DatabaseClient) => (params: {
|
|
|
1651
1651
|
scopes: ProjectScopeConfig;
|
|
1652
1652
|
conversationId: string;
|
|
1653
1653
|
}) => Promise<{
|
|
1654
|
+
tenantId: string;
|
|
1655
|
+
projectId: string;
|
|
1654
1656
|
id: string;
|
|
1655
1657
|
title: string | null;
|
|
1656
1658
|
createdAt: string;
|
|
1657
1659
|
updatedAt: string;
|
|
1658
|
-
projectId: string;
|
|
1659
|
-
tenantId: string;
|
|
1660
1660
|
metadata: ConversationMetadata | null;
|
|
1661
1661
|
userId: string | null;
|
|
1662
1662
|
activeSubAgentId: string;
|
|
@@ -1675,12 +1675,12 @@ declare const createOrGetConversation: (db: DatabaseClient) => (input: Conversat
|
|
|
1675
1675
|
metadata?: ConversationMetadata | null | undefined;
|
|
1676
1676
|
contextConfigId?: string | undefined;
|
|
1677
1677
|
} | {
|
|
1678
|
+
tenantId: string;
|
|
1679
|
+
projectId: string;
|
|
1678
1680
|
id: string;
|
|
1679
1681
|
title: string | null;
|
|
1680
1682
|
createdAt: string;
|
|
1681
1683
|
updatedAt: string;
|
|
1682
|
-
projectId: string;
|
|
1683
|
-
tenantId: string;
|
|
1684
1684
|
metadata: ConversationMetadata | null;
|
|
1685
1685
|
userId: string | null;
|
|
1686
1686
|
activeSubAgentId: string;
|
|
@@ -1701,12 +1701,12 @@ declare const getActiveAgentForConversation: (db: DatabaseClient) => (params: {
|
|
|
1701
1701
|
scopes: ProjectScopeConfig;
|
|
1702
1702
|
conversationId: string;
|
|
1703
1703
|
}) => Promise<{
|
|
1704
|
+
tenantId: string;
|
|
1705
|
+
projectId: string;
|
|
1704
1706
|
id: string;
|
|
1705
1707
|
title: string | null;
|
|
1706
1708
|
createdAt: string;
|
|
1707
1709
|
updatedAt: string;
|
|
1708
|
-
projectId: string;
|
|
1709
|
-
tenantId: string;
|
|
1710
1710
|
metadata: ConversationMetadata | null;
|
|
1711
1711
|
userId: string | null;
|
|
1712
1712
|
activeSubAgentId: string;
|
|
@@ -1871,11 +1871,11 @@ declare const associateDataComponentWithAgent: (db: DatabaseClient) => (params:
|
|
|
1871
1871
|
scopes: SubAgentScopeConfig;
|
|
1872
1872
|
dataComponentId: string;
|
|
1873
1873
|
}) => Promise<{
|
|
1874
|
-
id: string;
|
|
1875
|
-
createdAt: string;
|
|
1876
|
-
projectId: string;
|
|
1877
1874
|
tenantId: string;
|
|
1875
|
+
projectId: string;
|
|
1876
|
+
id: string;
|
|
1878
1877
|
agentId: string;
|
|
1878
|
+
createdAt: string;
|
|
1879
1879
|
subAgentId: string;
|
|
1880
1880
|
dataComponentId: string;
|
|
1881
1881
|
}>;
|
|
@@ -1913,11 +1913,11 @@ declare const upsertAgentDataComponentRelation: (db: DatabaseClient) => (params:
|
|
|
1913
1913
|
scopes: SubAgentScopeConfig;
|
|
1914
1914
|
dataComponentId: string;
|
|
1915
1915
|
}) => Promise<{
|
|
1916
|
-
id: string;
|
|
1917
|
-
createdAt: string;
|
|
1918
|
-
projectId: string;
|
|
1919
1916
|
tenantId: string;
|
|
1917
|
+
projectId: string;
|
|
1918
|
+
id: string;
|
|
1920
1919
|
agentId: string;
|
|
1920
|
+
createdAt: string;
|
|
1921
1921
|
subAgentId: string;
|
|
1922
1922
|
dataComponentId: string;
|
|
1923
1923
|
} | null>;
|
|
@@ -2092,14 +2092,14 @@ declare const createFunctionTool: (db: DatabaseClient) => (params: {
|
|
|
2092
2092
|
data: FunctionToolApiInsert;
|
|
2093
2093
|
scopes: AgentScopeConfig;
|
|
2094
2094
|
}) => Promise<{
|
|
2095
|
-
|
|
2095
|
+
tenantId: string;
|
|
2096
|
+
projectId: string;
|
|
2096
2097
|
id: string;
|
|
2098
|
+
name: string;
|
|
2097
2099
|
description: string | null;
|
|
2100
|
+
agentId: string;
|
|
2098
2101
|
createdAt: string;
|
|
2099
2102
|
updatedAt: string;
|
|
2100
|
-
projectId: string;
|
|
2101
|
-
tenantId: string;
|
|
2102
|
-
agentId: string;
|
|
2103
2103
|
functionId: string;
|
|
2104
2104
|
}>;
|
|
2105
2105
|
/**
|
|
@@ -2134,14 +2134,14 @@ declare const upsertFunctionTool: (db: DatabaseClient) => (params: {
|
|
|
2134
2134
|
data: FunctionToolApiInsert;
|
|
2135
2135
|
scopes: AgentScopeConfig;
|
|
2136
2136
|
}) => Promise<{
|
|
2137
|
-
|
|
2137
|
+
tenantId: string;
|
|
2138
|
+
projectId: string;
|
|
2138
2139
|
id: string;
|
|
2140
|
+
name: string;
|
|
2139
2141
|
description: string | null;
|
|
2142
|
+
agentId: string;
|
|
2140
2143
|
createdAt: string;
|
|
2141
2144
|
updatedAt: string;
|
|
2142
|
-
projectId: string;
|
|
2143
|
-
tenantId: string;
|
|
2144
|
-
agentId: string;
|
|
2145
2145
|
functionId: string;
|
|
2146
2146
|
}>;
|
|
2147
2147
|
declare const getFunctionToolsForSubAgent: (db: DatabaseClient) => (params: {
|
|
@@ -2271,11 +2271,11 @@ declare const getMessageById: (db: DatabaseClient) => (params: {
|
|
|
2271
2271
|
scopes: ProjectScopeConfig;
|
|
2272
2272
|
messageId: string;
|
|
2273
2273
|
}) => Promise<{
|
|
2274
|
+
tenantId: string;
|
|
2275
|
+
projectId: string;
|
|
2274
2276
|
id: string;
|
|
2275
2277
|
createdAt: string;
|
|
2276
2278
|
updatedAt: string;
|
|
2277
|
-
projectId: string;
|
|
2278
|
-
tenantId: string;
|
|
2279
2279
|
content: MessageContent;
|
|
2280
2280
|
metadata: MessageMetadata | null;
|
|
2281
2281
|
conversationId: string;
|
|
@@ -2402,11 +2402,11 @@ declare const getVisibleMessages: (db: DatabaseClient) => (params: {
|
|
|
2402
2402
|
id: string;
|
|
2403
2403
|
}[]>;
|
|
2404
2404
|
declare const createMessage: (db: DatabaseClient) => (params: MessageInsert) => Promise<{
|
|
2405
|
+
tenantId: string;
|
|
2406
|
+
projectId: string;
|
|
2405
2407
|
id: string;
|
|
2406
2408
|
createdAt: string;
|
|
2407
2409
|
updatedAt: string;
|
|
2408
|
-
projectId: string;
|
|
2409
|
-
tenantId: string;
|
|
2410
2410
|
content: MessageContent;
|
|
2411
2411
|
metadata: MessageMetadata | null;
|
|
2412
2412
|
conversationId: string;
|
|
@@ -2455,11 +2455,11 @@ declare const deleteMessage: (db: DatabaseClient) => (params: {
|
|
|
2455
2455
|
scopes: ProjectScopeConfig;
|
|
2456
2456
|
messageId: string;
|
|
2457
2457
|
}) => Promise<{
|
|
2458
|
+
tenantId: string;
|
|
2459
|
+
projectId: string;
|
|
2458
2460
|
id: string;
|
|
2459
2461
|
createdAt: string;
|
|
2460
2462
|
updatedAt: string;
|
|
2461
|
-
projectId: string;
|
|
2462
|
-
tenantId: string;
|
|
2463
2463
|
content: MessageContent;
|
|
2464
2464
|
metadata: MessageMetadata | null;
|
|
2465
2465
|
conversationId: string;
|
|
@@ -2580,15 +2580,15 @@ declare const getSubAgentExternalAgentRelationById: (db: DatabaseClient) => (par
|
|
|
2580
2580
|
scopes: SubAgentScopeConfig;
|
|
2581
2581
|
relationId: string;
|
|
2582
2582
|
}) => Promise<{
|
|
2583
|
-
|
|
2583
|
+
tenantId: string;
|
|
2584
|
+
projectId: string;
|
|
2584
2585
|
id: string;
|
|
2586
|
+
agentId: string;
|
|
2585
2587
|
createdAt: string;
|
|
2586
2588
|
updatedAt: string;
|
|
2587
|
-
|
|
2588
|
-
tenantId: string;
|
|
2589
|
-
agentId: string;
|
|
2590
|
-
subAgentId: string;
|
|
2589
|
+
headers: Record<string, string> | null;
|
|
2591
2590
|
externalAgentId: string;
|
|
2591
|
+
subAgentId: string;
|
|
2592
2592
|
} | undefined>;
|
|
2593
2593
|
declare const listSubAgentExternalAgentRelations: (db: DatabaseClient) => (params: {
|
|
2594
2594
|
scopes: SubAgentScopeConfig;
|
|
@@ -2615,28 +2615,28 @@ declare const listSubAgentExternalAgentRelations: (db: DatabaseClient) => (param
|
|
|
2615
2615
|
declare const getSubAgentExternalAgentRelations: (db: DatabaseClient) => (params: {
|
|
2616
2616
|
scopes: SubAgentScopeConfig;
|
|
2617
2617
|
}) => Promise<{
|
|
2618
|
-
|
|
2618
|
+
tenantId: string;
|
|
2619
|
+
projectId: string;
|
|
2619
2620
|
id: string;
|
|
2621
|
+
agentId: string;
|
|
2620
2622
|
createdAt: string;
|
|
2621
2623
|
updatedAt: string;
|
|
2622
|
-
|
|
2623
|
-
tenantId: string;
|
|
2624
|
-
agentId: string;
|
|
2625
|
-
subAgentId: string;
|
|
2624
|
+
headers: Record<string, string> | null;
|
|
2626
2625
|
externalAgentId: string;
|
|
2626
|
+
subAgentId: string;
|
|
2627
2627
|
}[]>;
|
|
2628
2628
|
declare const getSubAgentExternalAgentRelationsByAgent: (db: DatabaseClient) => (params: {
|
|
2629
2629
|
scopes: AgentScopeConfig;
|
|
2630
2630
|
}) => Promise<{
|
|
2631
|
-
|
|
2631
|
+
tenantId: string;
|
|
2632
|
+
projectId: string;
|
|
2632
2633
|
id: string;
|
|
2634
|
+
agentId: string;
|
|
2633
2635
|
createdAt: string;
|
|
2634
2636
|
updatedAt: string;
|
|
2635
|
-
|
|
2636
|
-
tenantId: string;
|
|
2637
|
-
agentId: string;
|
|
2638
|
-
subAgentId: string;
|
|
2637
|
+
headers: Record<string, string> | null;
|
|
2639
2638
|
externalAgentId: string;
|
|
2639
|
+
subAgentId: string;
|
|
2640
2640
|
}[]>;
|
|
2641
2641
|
declare const getSubAgentExternalAgentRelationsByExternalAgent: (db: DatabaseClient) => (params: {
|
|
2642
2642
|
scopes: AgentScopeConfig;
|
|
@@ -2751,15 +2751,15 @@ declare const createSubAgentExternalAgentRelation: (db: DatabaseClient) => (para
|
|
|
2751
2751
|
headers?: Record<string, string> | null;
|
|
2752
2752
|
};
|
|
2753
2753
|
}) => Promise<{
|
|
2754
|
-
|
|
2754
|
+
tenantId: string;
|
|
2755
|
+
projectId: string;
|
|
2755
2756
|
id: string;
|
|
2757
|
+
agentId: string;
|
|
2756
2758
|
createdAt: string;
|
|
2757
2759
|
updatedAt: string;
|
|
2758
|
-
|
|
2759
|
-
tenantId: string;
|
|
2760
|
-
agentId: string;
|
|
2761
|
-
subAgentId: string;
|
|
2760
|
+
headers: Record<string, string> | null;
|
|
2762
2761
|
externalAgentId: string;
|
|
2762
|
+
subAgentId: string;
|
|
2763
2763
|
}>;
|
|
2764
2764
|
/**
|
|
2765
2765
|
* Check if sub-agent external agent relation exists by params
|
|
@@ -2768,15 +2768,15 @@ declare const getSubAgentExternalAgentRelationByParams: (db: DatabaseClient) =>
|
|
|
2768
2768
|
scopes: SubAgentScopeConfig;
|
|
2769
2769
|
externalAgentId: string;
|
|
2770
2770
|
}) => Promise<{
|
|
2771
|
-
|
|
2771
|
+
tenantId: string;
|
|
2772
|
+
projectId: string;
|
|
2772
2773
|
id: string;
|
|
2774
|
+
agentId: string;
|
|
2773
2775
|
createdAt: string;
|
|
2774
2776
|
updatedAt: string;
|
|
2775
|
-
|
|
2776
|
-
tenantId: string;
|
|
2777
|
-
agentId: string;
|
|
2778
|
-
subAgentId: string;
|
|
2777
|
+
headers: Record<string, string> | null;
|
|
2779
2778
|
externalAgentId: string;
|
|
2779
|
+
subAgentId: string;
|
|
2780
2780
|
} | undefined>;
|
|
2781
2781
|
/**
|
|
2782
2782
|
* Upsert sub-agent external agent relation (create if it doesn't exist, update if it does)
|
|
@@ -2789,15 +2789,15 @@ declare const upsertSubAgentExternalAgentRelation: (db: DatabaseClient) => (para
|
|
|
2789
2789
|
headers?: Record<string, string> | null;
|
|
2790
2790
|
};
|
|
2791
2791
|
}) => Promise<{
|
|
2792
|
-
|
|
2792
|
+
tenantId: string;
|
|
2793
|
+
projectId: string;
|
|
2793
2794
|
id: string;
|
|
2795
|
+
agentId: string;
|
|
2794
2796
|
createdAt: string;
|
|
2795
2797
|
updatedAt: string;
|
|
2796
|
-
|
|
2797
|
-
tenantId: string;
|
|
2798
|
-
agentId: string;
|
|
2799
|
-
subAgentId: string;
|
|
2798
|
+
headers: Record<string, string> | null;
|
|
2800
2799
|
externalAgentId: string;
|
|
2800
|
+
subAgentId: string;
|
|
2801
2801
|
}>;
|
|
2802
2802
|
declare const updateSubAgentExternalAgentRelation: (db: DatabaseClient) => (params: {
|
|
2803
2803
|
scopes: SubAgentScopeConfig;
|
|
@@ -2829,12 +2829,12 @@ declare const getAgentRelationById: (db: DatabaseClient) => (params: {
|
|
|
2829
2829
|
scopes: AgentScopeConfig;
|
|
2830
2830
|
relationId: string;
|
|
2831
2831
|
}) => Promise<{
|
|
2832
|
+
tenantId: string;
|
|
2833
|
+
projectId: string;
|
|
2832
2834
|
id: string;
|
|
2835
|
+
agentId: string;
|
|
2833
2836
|
createdAt: string;
|
|
2834
2837
|
updatedAt: string;
|
|
2835
|
-
projectId: string;
|
|
2836
|
-
tenantId: string;
|
|
2837
|
-
agentId: string;
|
|
2838
2838
|
sourceSubAgentId: string;
|
|
2839
2839
|
targetSubAgentId: string | null;
|
|
2840
2840
|
relationType: string | null;
|
|
@@ -2864,12 +2864,12 @@ declare const listAgentRelations: (db: DatabaseClient) => (params: {
|
|
|
2864
2864
|
declare const getAgentRelations: (db: DatabaseClient) => (params: {
|
|
2865
2865
|
scopes: SubAgentScopeConfig;
|
|
2866
2866
|
}) => Promise<{
|
|
2867
|
+
tenantId: string;
|
|
2868
|
+
projectId: string;
|
|
2867
2869
|
id: string;
|
|
2870
|
+
agentId: string;
|
|
2868
2871
|
createdAt: string;
|
|
2869
2872
|
updatedAt: string;
|
|
2870
|
-
projectId: string;
|
|
2871
|
-
tenantId: string;
|
|
2872
|
-
agentId: string;
|
|
2873
2873
|
sourceSubAgentId: string;
|
|
2874
2874
|
targetSubAgentId: string | null;
|
|
2875
2875
|
relationType: string | null;
|
|
@@ -2877,12 +2877,12 @@ declare const getAgentRelations: (db: DatabaseClient) => (params: {
|
|
|
2877
2877
|
declare const getAgentRelationsByAgent: (db: DatabaseClient) => (params: {
|
|
2878
2878
|
scopes: AgentScopeConfig;
|
|
2879
2879
|
}) => Promise<{
|
|
2880
|
+
tenantId: string;
|
|
2881
|
+
projectId: string;
|
|
2880
2882
|
id: string;
|
|
2883
|
+
agentId: string;
|
|
2881
2884
|
createdAt: string;
|
|
2882
2885
|
updatedAt: string;
|
|
2883
|
-
projectId: string;
|
|
2884
|
-
tenantId: string;
|
|
2885
|
-
agentId: string;
|
|
2886
2886
|
sourceSubAgentId: string;
|
|
2887
2887
|
targetSubAgentId: string | null;
|
|
2888
2888
|
relationType: string | null;
|
|
@@ -2945,12 +2945,12 @@ declare const getRelatedAgentsForAgent: (db: DatabaseClient) => (params: {
|
|
|
2945
2945
|
}[];
|
|
2946
2946
|
}>;
|
|
2947
2947
|
declare const createSubAgentRelation: (db: DatabaseClient) => (params: SubAgentRelationInsert) => Promise<{
|
|
2948
|
+
tenantId: string;
|
|
2949
|
+
projectId: string;
|
|
2948
2950
|
id: string;
|
|
2951
|
+
agentId: string;
|
|
2949
2952
|
createdAt: string;
|
|
2950
2953
|
updatedAt: string;
|
|
2951
|
-
projectId: string;
|
|
2952
|
-
tenantId: string;
|
|
2953
|
-
agentId: string;
|
|
2954
2954
|
sourceSubAgentId: string;
|
|
2955
2955
|
targetSubAgentId: string | null;
|
|
2956
2956
|
relationType: string | null;
|
|
@@ -2964,12 +2964,12 @@ declare const getAgentRelationByParams: (db: DatabaseClient) => (params: {
|
|
|
2964
2964
|
targetSubAgentId?: string;
|
|
2965
2965
|
relationType: string;
|
|
2966
2966
|
}) => Promise<{
|
|
2967
|
+
tenantId: string;
|
|
2968
|
+
projectId: string;
|
|
2967
2969
|
id: string;
|
|
2970
|
+
agentId: string;
|
|
2968
2971
|
createdAt: string;
|
|
2969
2972
|
updatedAt: string;
|
|
2970
|
-
projectId: string;
|
|
2971
|
-
tenantId: string;
|
|
2972
|
-
agentId: string;
|
|
2973
2973
|
sourceSubAgentId: string;
|
|
2974
2974
|
targetSubAgentId: string | null;
|
|
2975
2975
|
relationType: string | null;
|
|
@@ -2978,12 +2978,12 @@ declare const getAgentRelationByParams: (db: DatabaseClient) => (params: {
|
|
|
2978
2978
|
* Upsert agent relation (create if it doesn't exist, no-op if it does)
|
|
2979
2979
|
*/
|
|
2980
2980
|
declare const upsertSubAgentRelation: (db: DatabaseClient) => (params: SubAgentRelationInsert) => Promise<{
|
|
2981
|
+
tenantId: string;
|
|
2982
|
+
projectId: string;
|
|
2981
2983
|
id: string;
|
|
2984
|
+
agentId: string;
|
|
2982
2985
|
createdAt: string;
|
|
2983
2986
|
updatedAt: string;
|
|
2984
|
-
projectId: string;
|
|
2985
|
-
tenantId: string;
|
|
2986
|
-
agentId: string;
|
|
2987
2987
|
sourceSubAgentId: string;
|
|
2988
2988
|
targetSubAgentId: string | null;
|
|
2989
2989
|
relationType: string | null;
|
|
@@ -3020,16 +3020,16 @@ declare const createAgentToolRelation: (db: DatabaseClient) => (params: {
|
|
|
3020
3020
|
headers?: Record<string, string> | null;
|
|
3021
3021
|
};
|
|
3022
3022
|
}) => Promise<{
|
|
3023
|
-
|
|
3023
|
+
tenantId: string;
|
|
3024
|
+
projectId: string;
|
|
3024
3025
|
id: string;
|
|
3026
|
+
agentId: string;
|
|
3025
3027
|
createdAt: string;
|
|
3026
3028
|
updatedAt: string;
|
|
3027
|
-
|
|
3028
|
-
|
|
3029
|
-
agentId: string;
|
|
3029
|
+
headers: Record<string, string> | null;
|
|
3030
|
+
toolId: string;
|
|
3030
3031
|
selectedTools: string[] | null;
|
|
3031
3032
|
subAgentId: string;
|
|
3032
|
-
toolId: string;
|
|
3033
3033
|
}>;
|
|
3034
3034
|
declare const updateAgentToolRelation: (db: DatabaseClient) => (params: {
|
|
3035
3035
|
scopes: AgentScopeConfig;
|
|
@@ -3058,16 +3058,16 @@ declare const getAgentToolRelationById: (db: DatabaseClient) => (params: {
|
|
|
3058
3058
|
scopes: SubAgentScopeConfig;
|
|
3059
3059
|
relationId: string;
|
|
3060
3060
|
}) => Promise<{
|
|
3061
|
-
|
|
3061
|
+
tenantId: string;
|
|
3062
|
+
projectId: string;
|
|
3062
3063
|
id: string;
|
|
3064
|
+
agentId: string;
|
|
3063
3065
|
createdAt: string;
|
|
3064
3066
|
updatedAt: string;
|
|
3065
|
-
|
|
3066
|
-
|
|
3067
|
-
agentId: string;
|
|
3067
|
+
headers: Record<string, string> | null;
|
|
3068
|
+
toolId: string;
|
|
3068
3069
|
selectedTools: string[] | null;
|
|
3069
3070
|
subAgentId: string;
|
|
3070
|
-
toolId: string;
|
|
3071
3071
|
} | undefined>;
|
|
3072
3072
|
declare const getAgentToolRelationByAgent: (db: DatabaseClient) => (params: {
|
|
3073
3073
|
scopes: SubAgentScopeConfig;
|
|
@@ -3234,13 +3234,15 @@ declare const getSubAgentById: (db: DatabaseClient) => (params: {
|
|
|
3234
3234
|
scopes: AgentScopeConfig;
|
|
3235
3235
|
subAgentId: string;
|
|
3236
3236
|
}) => Promise<{
|
|
3237
|
-
|
|
3237
|
+
tenantId: string;
|
|
3238
|
+
projectId: string;
|
|
3238
3239
|
id: string;
|
|
3240
|
+
name: string;
|
|
3239
3241
|
description: string;
|
|
3242
|
+
prompt: string;
|
|
3243
|
+
agentId: string;
|
|
3240
3244
|
createdAt: string;
|
|
3241
3245
|
updatedAt: string;
|
|
3242
|
-
projectId: string;
|
|
3243
|
-
tenantId: string;
|
|
3244
3246
|
models: {
|
|
3245
3247
|
base?: {
|
|
3246
3248
|
model?: string | undefined;
|
|
@@ -3258,20 +3260,20 @@ declare const getSubAgentById: (db: DatabaseClient) => (params: {
|
|
|
3258
3260
|
stopWhen: {
|
|
3259
3261
|
stepCountIs?: number | undefined;
|
|
3260
3262
|
} | null;
|
|
3261
|
-
agentId: string;
|
|
3262
|
-
prompt: string;
|
|
3263
3263
|
conversationHistoryConfig: ConversationHistoryConfig | null;
|
|
3264
3264
|
} | undefined>;
|
|
3265
3265
|
declare const listSubAgents: (db: DatabaseClient) => (params: {
|
|
3266
3266
|
scopes: AgentScopeConfig;
|
|
3267
3267
|
}) => Promise<{
|
|
3268
|
-
|
|
3268
|
+
tenantId: string;
|
|
3269
|
+
projectId: string;
|
|
3269
3270
|
id: string;
|
|
3271
|
+
name: string;
|
|
3270
3272
|
description: string;
|
|
3273
|
+
prompt: string;
|
|
3274
|
+
agentId: string;
|
|
3271
3275
|
createdAt: string;
|
|
3272
3276
|
updatedAt: string;
|
|
3273
|
-
projectId: string;
|
|
3274
|
-
tenantId: string;
|
|
3275
3277
|
models: {
|
|
3276
3278
|
base?: {
|
|
3277
3279
|
model?: string | undefined;
|
|
@@ -3289,8 +3291,6 @@ declare const listSubAgents: (db: DatabaseClient) => (params: {
|
|
|
3289
3291
|
stopWhen: {
|
|
3290
3292
|
stepCountIs?: number | undefined;
|
|
3291
3293
|
} | null;
|
|
3292
|
-
agentId: string;
|
|
3293
|
-
prompt: string;
|
|
3294
3294
|
conversationHistoryConfig: ConversationHistoryConfig | null;
|
|
3295
3295
|
}[]>;
|
|
3296
3296
|
declare const listSubAgentsPaginated: (db: DatabaseClient) => (params: {
|
|
@@ -3334,13 +3334,15 @@ declare const listSubAgentsPaginated: (db: DatabaseClient) => (params: {
|
|
|
3334
3334
|
};
|
|
3335
3335
|
}>;
|
|
3336
3336
|
declare const createSubAgent: (db: DatabaseClient) => (params: SubAgentInsert) => Promise<{
|
|
3337
|
-
|
|
3337
|
+
tenantId: string;
|
|
3338
|
+
projectId: string;
|
|
3338
3339
|
id: string;
|
|
3340
|
+
name: string;
|
|
3339
3341
|
description: string;
|
|
3342
|
+
prompt: string;
|
|
3343
|
+
agentId: string;
|
|
3340
3344
|
createdAt: string;
|
|
3341
3345
|
updatedAt: string;
|
|
3342
|
-
projectId: string;
|
|
3343
|
-
tenantId: string;
|
|
3344
3346
|
models: {
|
|
3345
3347
|
base?: {
|
|
3346
3348
|
model?: string | undefined;
|
|
@@ -3358,8 +3360,6 @@ declare const createSubAgent: (db: DatabaseClient) => (params: SubAgentInsert) =
|
|
|
3358
3360
|
stopWhen: {
|
|
3359
3361
|
stepCountIs?: number | undefined;
|
|
3360
3362
|
} | null;
|
|
3361
|
-
agentId: string;
|
|
3362
|
-
prompt: string;
|
|
3363
3363
|
conversationHistoryConfig: ConversationHistoryConfig | null;
|
|
3364
3364
|
}>;
|
|
3365
3365
|
declare const updateSubAgent: (db: DatabaseClient) => (params: {
|
|
@@ -3442,13 +3442,13 @@ declare const getSubAgentTeamAgentRelationById: (db: DatabaseClient) => (params:
|
|
|
3442
3442
|
scopes: SubAgentScopeConfig;
|
|
3443
3443
|
relationId: string;
|
|
3444
3444
|
}) => Promise<{
|
|
3445
|
-
|
|
3445
|
+
tenantId: string;
|
|
3446
|
+
projectId: string;
|
|
3446
3447
|
id: string;
|
|
3448
|
+
agentId: string;
|
|
3447
3449
|
createdAt: string;
|
|
3448
3450
|
updatedAt: string;
|
|
3449
|
-
|
|
3450
|
-
tenantId: string;
|
|
3451
|
-
agentId: string;
|
|
3451
|
+
headers: Record<string, string> | null;
|
|
3452
3452
|
subAgentId: string;
|
|
3453
3453
|
targetAgentId: string;
|
|
3454
3454
|
} | undefined>;
|
|
@@ -3477,26 +3477,26 @@ declare const listSubAgentTeamAgentRelations: (db: DatabaseClient) => (params: {
|
|
|
3477
3477
|
declare const getSubAgentTeamAgentRelations: (db: DatabaseClient) => (params: {
|
|
3478
3478
|
scopes: SubAgentScopeConfig;
|
|
3479
3479
|
}) => Promise<{
|
|
3480
|
-
|
|
3480
|
+
tenantId: string;
|
|
3481
|
+
projectId: string;
|
|
3481
3482
|
id: string;
|
|
3483
|
+
agentId: string;
|
|
3482
3484
|
createdAt: string;
|
|
3483
3485
|
updatedAt: string;
|
|
3484
|
-
|
|
3485
|
-
tenantId: string;
|
|
3486
|
-
agentId: string;
|
|
3486
|
+
headers: Record<string, string> | null;
|
|
3487
3487
|
subAgentId: string;
|
|
3488
3488
|
targetAgentId: string;
|
|
3489
3489
|
}[]>;
|
|
3490
3490
|
declare const getSubAgentTeamAgentRelationsByAgent: (db: DatabaseClient) => (params: {
|
|
3491
3491
|
scopes: AgentScopeConfig;
|
|
3492
3492
|
}) => Promise<{
|
|
3493
|
-
|
|
3493
|
+
tenantId: string;
|
|
3494
|
+
projectId: string;
|
|
3494
3495
|
id: string;
|
|
3496
|
+
agentId: string;
|
|
3495
3497
|
createdAt: string;
|
|
3496
3498
|
updatedAt: string;
|
|
3497
|
-
|
|
3498
|
-
tenantId: string;
|
|
3499
|
-
agentId: string;
|
|
3499
|
+
headers: Record<string, string> | null;
|
|
3500
3500
|
subAgentId: string;
|
|
3501
3501
|
targetAgentId: string;
|
|
3502
3502
|
}[]>;
|
|
@@ -3643,13 +3643,13 @@ declare const createSubAgentTeamAgentRelation: (db: DatabaseClient) => (params:
|
|
|
3643
3643
|
headers?: Record<string, string> | null;
|
|
3644
3644
|
};
|
|
3645
3645
|
}) => Promise<{
|
|
3646
|
-
|
|
3646
|
+
tenantId: string;
|
|
3647
|
+
projectId: string;
|
|
3647
3648
|
id: string;
|
|
3649
|
+
agentId: string;
|
|
3648
3650
|
createdAt: string;
|
|
3649
3651
|
updatedAt: string;
|
|
3650
|
-
|
|
3651
|
-
tenantId: string;
|
|
3652
|
-
agentId: string;
|
|
3652
|
+
headers: Record<string, string> | null;
|
|
3653
3653
|
subAgentId: string;
|
|
3654
3654
|
targetAgentId: string;
|
|
3655
3655
|
}>;
|
|
@@ -3660,13 +3660,13 @@ declare const getSubAgentTeamAgentRelationByParams: (db: DatabaseClient) => (par
|
|
|
3660
3660
|
scopes: SubAgentScopeConfig;
|
|
3661
3661
|
targetAgentId: string;
|
|
3662
3662
|
}) => Promise<{
|
|
3663
|
-
|
|
3663
|
+
tenantId: string;
|
|
3664
|
+
projectId: string;
|
|
3664
3665
|
id: string;
|
|
3666
|
+
agentId: string;
|
|
3665
3667
|
createdAt: string;
|
|
3666
3668
|
updatedAt: string;
|
|
3667
|
-
|
|
3668
|
-
tenantId: string;
|
|
3669
|
-
agentId: string;
|
|
3669
|
+
headers: Record<string, string> | null;
|
|
3670
3670
|
subAgentId: string;
|
|
3671
3671
|
targetAgentId: string;
|
|
3672
3672
|
} | undefined>;
|
|
@@ -3681,13 +3681,13 @@ declare const upsertSubAgentTeamAgentRelation: (db: DatabaseClient) => (params:
|
|
|
3681
3681
|
headers?: Record<string, string> | null;
|
|
3682
3682
|
};
|
|
3683
3683
|
}) => Promise<{
|
|
3684
|
-
|
|
3684
|
+
tenantId: string;
|
|
3685
|
+
projectId: string;
|
|
3685
3686
|
id: string;
|
|
3687
|
+
agentId: string;
|
|
3686
3688
|
createdAt: string;
|
|
3687
3689
|
updatedAt: string;
|
|
3688
|
-
|
|
3689
|
-
tenantId: string;
|
|
3690
|
-
agentId: string;
|
|
3690
|
+
headers: Record<string, string> | null;
|
|
3691
3691
|
subAgentId: string;
|
|
3692
3692
|
targetAgentId: string;
|
|
3693
3693
|
}>;
|
|
@@ -3718,12 +3718,12 @@ declare const deleteSubAgentTeamAgentRelationsByAgent: (db: DatabaseClient) => (
|
|
|
3718
3718
|
}) => Promise<boolean>;
|
|
3719
3719
|
|
|
3720
3720
|
declare const createTask: (db: DatabaseClient) => (params: TaskInsert) => Promise<{
|
|
3721
|
+
tenantId: string;
|
|
3722
|
+
projectId: string;
|
|
3721
3723
|
id: string;
|
|
3724
|
+
agentId: string;
|
|
3722
3725
|
createdAt: string;
|
|
3723
3726
|
updatedAt: string;
|
|
3724
|
-
projectId: string;
|
|
3725
|
-
tenantId: string;
|
|
3726
|
-
agentId: string;
|
|
3727
3727
|
status: string;
|
|
3728
3728
|
metadata: TaskMetadataConfig | null;
|
|
3729
3729
|
contextId: string;
|
|
@@ -3759,20 +3759,20 @@ declare const getToolById: (db: DatabaseClient) => (params: {
|
|
|
3759
3759
|
scopes: ProjectScopeConfig;
|
|
3760
3760
|
toolId: string;
|
|
3761
3761
|
}) => Promise<{
|
|
3762
|
+
tenantId: string;
|
|
3763
|
+
projectId: string;
|
|
3764
|
+
id: string;
|
|
3762
3765
|
name: string;
|
|
3763
|
-
|
|
3766
|
+
description: string | null;
|
|
3764
3767
|
config: {
|
|
3765
3768
|
type: "mcp";
|
|
3766
3769
|
mcp: ToolMcpConfig;
|
|
3767
3770
|
};
|
|
3768
|
-
|
|
3769
|
-
description: string | null;
|
|
3771
|
+
credentialReferenceId: string | null;
|
|
3770
3772
|
createdAt: string;
|
|
3771
3773
|
updatedAt: string;
|
|
3772
|
-
|
|
3773
|
-
tenantId: string;
|
|
3774
|
+
headers: Record<string, string> | null;
|
|
3774
3775
|
capabilities: ToolServerCapabilities | null;
|
|
3775
|
-
credentialReferenceId: string | null;
|
|
3776
3776
|
imageUrl: string | null;
|
|
3777
3777
|
lastError: string | null;
|
|
3778
3778
|
} | null>;
|
|
@@ -3806,20 +3806,20 @@ declare const listTools: (db: DatabaseClient) => (params: {
|
|
|
3806
3806
|
};
|
|
3807
3807
|
}>;
|
|
3808
3808
|
declare const createTool: (db: DatabaseClient) => (params: ToolInsert) => Promise<{
|
|
3809
|
+
tenantId: string;
|
|
3810
|
+
projectId: string;
|
|
3811
|
+
id: string;
|
|
3809
3812
|
name: string;
|
|
3810
|
-
|
|
3813
|
+
description: string | null;
|
|
3811
3814
|
config: {
|
|
3812
3815
|
type: "mcp";
|
|
3813
3816
|
mcp: ToolMcpConfig;
|
|
3814
3817
|
};
|
|
3815
|
-
|
|
3816
|
-
description: string | null;
|
|
3818
|
+
credentialReferenceId: string | null;
|
|
3817
3819
|
createdAt: string;
|
|
3818
3820
|
updatedAt: string;
|
|
3819
|
-
|
|
3820
|
-
tenantId: string;
|
|
3821
|
+
headers: Record<string, string> | null;
|
|
3821
3822
|
capabilities: ToolServerCapabilities | null;
|
|
3822
|
-
credentialReferenceId: string | null;
|
|
3823
3823
|
imageUrl: string | null;
|
|
3824
3824
|
lastError: string | null;
|
|
3825
3825
|
}>;
|
|
@@ -3856,32 +3856,32 @@ declare const addToolToAgent: (db: DatabaseClient) => (params: {
|
|
|
3856
3856
|
selectedTools?: string[] | null;
|
|
3857
3857
|
headers?: Record<string, string> | null;
|
|
3858
3858
|
}) => Promise<{
|
|
3859
|
-
|
|
3859
|
+
tenantId: string;
|
|
3860
|
+
projectId: string;
|
|
3860
3861
|
id: string;
|
|
3862
|
+
agentId: string;
|
|
3861
3863
|
createdAt: string;
|
|
3862
3864
|
updatedAt: string;
|
|
3863
|
-
|
|
3864
|
-
|
|
3865
|
-
agentId: string;
|
|
3865
|
+
headers: Record<string, string> | null;
|
|
3866
|
+
toolId: string;
|
|
3866
3867
|
selectedTools: string[] | null;
|
|
3867
3868
|
subAgentId: string;
|
|
3868
|
-
toolId: string;
|
|
3869
3869
|
}>;
|
|
3870
3870
|
declare const removeToolFromAgent: (db: DatabaseClient) => (params: {
|
|
3871
3871
|
scopes: AgentScopeConfig;
|
|
3872
3872
|
subAgentId: string;
|
|
3873
3873
|
toolId: string;
|
|
3874
3874
|
}) => Promise<{
|
|
3875
|
-
|
|
3875
|
+
tenantId: string;
|
|
3876
|
+
projectId: string;
|
|
3876
3877
|
id: string;
|
|
3878
|
+
agentId: string;
|
|
3877
3879
|
createdAt: string;
|
|
3878
3880
|
updatedAt: string;
|
|
3879
|
-
|
|
3880
|
-
|
|
3881
|
-
agentId: string;
|
|
3881
|
+
headers: Record<string, string> | null;
|
|
3882
|
+
toolId: string;
|
|
3882
3883
|
selectedTools: string[] | null;
|
|
3883
3884
|
subAgentId: string;
|
|
3884
|
-
toolId: string;
|
|
3885
3885
|
}>;
|
|
3886
3886
|
/**
|
|
3887
3887
|
* Upsert agent-tool relation (create if it doesn't exist, update if it does)
|
|
@@ -3894,16 +3894,16 @@ declare const upsertSubAgentToolRelation: (db: DatabaseClient) => (params: {
|
|
|
3894
3894
|
headers?: Record<string, string> | null;
|
|
3895
3895
|
relationId?: string;
|
|
3896
3896
|
}) => Promise<{
|
|
3897
|
-
|
|
3897
|
+
tenantId: string;
|
|
3898
|
+
projectId: string;
|
|
3898
3899
|
id: string;
|
|
3900
|
+
agentId: string;
|
|
3899
3901
|
createdAt: string;
|
|
3900
3902
|
updatedAt: string;
|
|
3901
|
-
|
|
3902
|
-
|
|
3903
|
-
agentId: string;
|
|
3903
|
+
headers: Record<string, string> | null;
|
|
3904
|
+
toolId: string;
|
|
3904
3905
|
selectedTools: string[] | null;
|
|
3905
3906
|
subAgentId: string;
|
|
3906
|
-
toolId: string;
|
|
3907
3907
|
}>;
|
|
3908
3908
|
/**
|
|
3909
3909
|
* Upsert a tool (create if it doesn't exist, update if it does)
|
|
@@ -3911,20 +3911,20 @@ declare const upsertSubAgentToolRelation: (db: DatabaseClient) => (params: {
|
|
|
3911
3911
|
declare const upsertTool: (db: DatabaseClient) => (params: {
|
|
3912
3912
|
data: ToolInsert;
|
|
3913
3913
|
}) => Promise<{
|
|
3914
|
+
tenantId: string;
|
|
3915
|
+
projectId: string;
|
|
3916
|
+
id: string;
|
|
3914
3917
|
name: string;
|
|
3915
|
-
|
|
3918
|
+
description: string | null;
|
|
3916
3919
|
config: {
|
|
3917
3920
|
type: "mcp";
|
|
3918
3921
|
mcp: ToolMcpConfig;
|
|
3919
3922
|
};
|
|
3920
|
-
|
|
3921
|
-
description: string | null;
|
|
3923
|
+
credentialReferenceId: string | null;
|
|
3922
3924
|
createdAt: string;
|
|
3923
3925
|
updatedAt: string;
|
|
3924
|
-
|
|
3925
|
-
tenantId: string;
|
|
3926
|
+
headers: Record<string, string> | null;
|
|
3926
3927
|
capabilities: ToolServerCapabilities | null;
|
|
3927
|
-
credentialReferenceId: string | null;
|
|
3928
3928
|
imageUrl: string | null;
|
|
3929
3929
|
lastError: string | null;
|
|
3930
3930
|
}>;
|
|
@@ -4110,7 +4110,7 @@ declare const errorSchemaFactory: (code: ErrorCodes, description: string) => {
|
|
|
4110
4110
|
code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4111
4111
|
detail: z$1.ZodString;
|
|
4112
4112
|
title: z$1.ZodString;
|
|
4113
|
-
status: z$1.
|
|
4113
|
+
status: z$1.ZodNumber;
|
|
4114
4114
|
error: z$1.ZodObject<{
|
|
4115
4115
|
code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4116
4116
|
message: z$1.ZodString;
|
|
@@ -4130,7 +4130,7 @@ declare const commonCreateErrorResponses: {
|
|
|
4130
4130
|
code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4131
4131
|
detail: z$1.ZodString;
|
|
4132
4132
|
title: z$1.ZodString;
|
|
4133
|
-
status: z$1.
|
|
4133
|
+
status: z$1.ZodNumber;
|
|
4134
4134
|
error: z$1.ZodObject<{
|
|
4135
4135
|
code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4136
4136
|
message: z$1.ZodString;
|
|
@@ -4149,7 +4149,7 @@ declare const commonCreateErrorResponses: {
|
|
|
4149
4149
|
code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4150
4150
|
detail: z$1.ZodString;
|
|
4151
4151
|
title: z$1.ZodString;
|
|
4152
|
-
status: z$1.
|
|
4152
|
+
status: z$1.ZodNumber;
|
|
4153
4153
|
error: z$1.ZodObject<{
|
|
4154
4154
|
code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4155
4155
|
message: z$1.ZodString;
|
|
@@ -4168,7 +4168,7 @@ declare const commonCreateErrorResponses: {
|
|
|
4168
4168
|
code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4169
4169
|
detail: z$1.ZodString;
|
|
4170
4170
|
title: z$1.ZodString;
|
|
4171
|
-
status: z$1.
|
|
4171
|
+
status: z$1.ZodNumber;
|
|
4172
4172
|
error: z$1.ZodObject<{
|
|
4173
4173
|
code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4174
4174
|
message: z$1.ZodString;
|
|
@@ -4187,7 +4187,7 @@ declare const commonCreateErrorResponses: {
|
|
|
4187
4187
|
code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4188
4188
|
detail: z$1.ZodString;
|
|
4189
4189
|
title: z$1.ZodString;
|
|
4190
|
-
status: z$1.
|
|
4190
|
+
status: z$1.ZodNumber;
|
|
4191
4191
|
error: z$1.ZodObject<{
|
|
4192
4192
|
code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4193
4193
|
message: z$1.ZodString;
|
|
@@ -4206,7 +4206,7 @@ declare const commonCreateErrorResponses: {
|
|
|
4206
4206
|
code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4207
4207
|
detail: z$1.ZodString;
|
|
4208
4208
|
title: z$1.ZodString;
|
|
4209
|
-
status: z$1.
|
|
4209
|
+
status: z$1.ZodNumber;
|
|
4210
4210
|
error: z$1.ZodObject<{
|
|
4211
4211
|
code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4212
4212
|
message: z$1.ZodString;
|
|
@@ -4227,7 +4227,7 @@ declare const commonUpdateErrorResponses: {
|
|
|
4227
4227
|
code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4228
4228
|
detail: z$1.ZodString;
|
|
4229
4229
|
title: z$1.ZodString;
|
|
4230
|
-
status: z$1.
|
|
4230
|
+
status: z$1.ZodNumber;
|
|
4231
4231
|
error: z$1.ZodObject<{
|
|
4232
4232
|
code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4233
4233
|
message: z$1.ZodString;
|
|
@@ -4246,7 +4246,7 @@ declare const commonUpdateErrorResponses: {
|
|
|
4246
4246
|
code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4247
4247
|
detail: z$1.ZodString;
|
|
4248
4248
|
title: z$1.ZodString;
|
|
4249
|
-
status: z$1.
|
|
4249
|
+
status: z$1.ZodNumber;
|
|
4250
4250
|
error: z$1.ZodObject<{
|
|
4251
4251
|
code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4252
4252
|
message: z$1.ZodString;
|
|
@@ -4265,7 +4265,7 @@ declare const commonUpdateErrorResponses: {
|
|
|
4265
4265
|
code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4266
4266
|
detail: z$1.ZodString;
|
|
4267
4267
|
title: z$1.ZodString;
|
|
4268
|
-
status: z$1.
|
|
4268
|
+
status: z$1.ZodNumber;
|
|
4269
4269
|
error: z$1.ZodObject<{
|
|
4270
4270
|
code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4271
4271
|
message: z$1.ZodString;
|
|
@@ -4284,7 +4284,7 @@ declare const commonUpdateErrorResponses: {
|
|
|
4284
4284
|
code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4285
4285
|
detail: z$1.ZodString;
|
|
4286
4286
|
title: z$1.ZodString;
|
|
4287
|
-
status: z$1.
|
|
4287
|
+
status: z$1.ZodNumber;
|
|
4288
4288
|
error: z$1.ZodObject<{
|
|
4289
4289
|
code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4290
4290
|
message: z$1.ZodString;
|
|
@@ -4303,7 +4303,7 @@ declare const commonUpdateErrorResponses: {
|
|
|
4303
4303
|
code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4304
4304
|
detail: z$1.ZodString;
|
|
4305
4305
|
title: z$1.ZodString;
|
|
4306
|
-
status: z$1.
|
|
4306
|
+
status: z$1.ZodNumber;
|
|
4307
4307
|
error: z$1.ZodObject<{
|
|
4308
4308
|
code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4309
4309
|
message: z$1.ZodString;
|
|
@@ -4322,7 +4322,7 @@ declare const commonUpdateErrorResponses: {
|
|
|
4322
4322
|
code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4323
4323
|
detail: z$1.ZodString;
|
|
4324
4324
|
title: z$1.ZodString;
|
|
4325
|
-
status: z$1.
|
|
4325
|
+
status: z$1.ZodNumber;
|
|
4326
4326
|
error: z$1.ZodObject<{
|
|
4327
4327
|
code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4328
4328
|
message: z$1.ZodString;
|
|
@@ -4343,7 +4343,7 @@ declare const commonGetErrorResponses: {
|
|
|
4343
4343
|
code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4344
4344
|
detail: z$1.ZodString;
|
|
4345
4345
|
title: z$1.ZodString;
|
|
4346
|
-
status: z$1.
|
|
4346
|
+
status: z$1.ZodNumber;
|
|
4347
4347
|
error: z$1.ZodObject<{
|
|
4348
4348
|
code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4349
4349
|
message: z$1.ZodString;
|
|
@@ -4362,7 +4362,7 @@ declare const commonGetErrorResponses: {
|
|
|
4362
4362
|
code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4363
4363
|
detail: z$1.ZodString;
|
|
4364
4364
|
title: z$1.ZodString;
|
|
4365
|
-
status: z$1.
|
|
4365
|
+
status: z$1.ZodNumber;
|
|
4366
4366
|
error: z$1.ZodObject<{
|
|
4367
4367
|
code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4368
4368
|
message: z$1.ZodString;
|
|
@@ -4381,7 +4381,7 @@ declare const commonGetErrorResponses: {
|
|
|
4381
4381
|
code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4382
4382
|
detail: z$1.ZodString;
|
|
4383
4383
|
title: z$1.ZodString;
|
|
4384
|
-
status: z$1.
|
|
4384
|
+
status: z$1.ZodNumber;
|
|
4385
4385
|
error: z$1.ZodObject<{
|
|
4386
4386
|
code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4387
4387
|
message: z$1.ZodString;
|
|
@@ -4400,7 +4400,7 @@ declare const commonGetErrorResponses: {
|
|
|
4400
4400
|
code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4401
4401
|
detail: z$1.ZodString;
|
|
4402
4402
|
title: z$1.ZodString;
|
|
4403
|
-
status: z$1.
|
|
4403
|
+
status: z$1.ZodNumber;
|
|
4404
4404
|
error: z$1.ZodObject<{
|
|
4405
4405
|
code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4406
4406
|
message: z$1.ZodString;
|
|
@@ -4419,7 +4419,7 @@ declare const commonGetErrorResponses: {
|
|
|
4419
4419
|
code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4420
4420
|
detail: z$1.ZodString;
|
|
4421
4421
|
title: z$1.ZodString;
|
|
4422
|
-
status: z$1.
|
|
4422
|
+
status: z$1.ZodNumber;
|
|
4423
4423
|
error: z$1.ZodObject<{
|
|
4424
4424
|
code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4425
4425
|
message: z$1.ZodString;
|
|
@@ -4438,7 +4438,7 @@ declare const commonGetErrorResponses: {
|
|
|
4438
4438
|
code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4439
4439
|
detail: z$1.ZodString;
|
|
4440
4440
|
title: z$1.ZodString;
|
|
4441
|
-
status: z$1.
|
|
4441
|
+
status: z$1.ZodNumber;
|
|
4442
4442
|
error: z$1.ZodObject<{
|
|
4443
4443
|
code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4444
4444
|
message: z$1.ZodString;
|
|
@@ -4459,7 +4459,7 @@ declare const commonDeleteErrorResponses: {
|
|
|
4459
4459
|
code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4460
4460
|
detail: z$1.ZodString;
|
|
4461
4461
|
title: z$1.ZodString;
|
|
4462
|
-
status: z$1.
|
|
4462
|
+
status: z$1.ZodNumber;
|
|
4463
4463
|
error: z$1.ZodObject<{
|
|
4464
4464
|
code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4465
4465
|
message: z$1.ZodString;
|
|
@@ -4478,7 +4478,7 @@ declare const commonDeleteErrorResponses: {
|
|
|
4478
4478
|
code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4479
4479
|
detail: z$1.ZodString;
|
|
4480
4480
|
title: z$1.ZodString;
|
|
4481
|
-
status: z$1.
|
|
4481
|
+
status: z$1.ZodNumber;
|
|
4482
4482
|
error: z$1.ZodObject<{
|
|
4483
4483
|
code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4484
4484
|
message: z$1.ZodString;
|
|
@@ -4497,7 +4497,7 @@ declare const commonDeleteErrorResponses: {
|
|
|
4497
4497
|
code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4498
4498
|
detail: z$1.ZodString;
|
|
4499
4499
|
title: z$1.ZodString;
|
|
4500
|
-
status: z$1.
|
|
4500
|
+
status: z$1.ZodNumber;
|
|
4501
4501
|
error: z$1.ZodObject<{
|
|
4502
4502
|
code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4503
4503
|
message: z$1.ZodString;
|
|
@@ -4516,7 +4516,7 @@ declare const commonDeleteErrorResponses: {
|
|
|
4516
4516
|
code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4517
4517
|
detail: z$1.ZodString;
|
|
4518
4518
|
title: z$1.ZodString;
|
|
4519
|
-
status: z$1.
|
|
4519
|
+
status: z$1.ZodNumber;
|
|
4520
4520
|
error: z$1.ZodObject<{
|
|
4521
4521
|
code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4522
4522
|
message: z$1.ZodString;
|
|
@@ -4535,7 +4535,7 @@ declare const commonDeleteErrorResponses: {
|
|
|
4535
4535
|
code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4536
4536
|
detail: z$1.ZodString;
|
|
4537
4537
|
title: z$1.ZodString;
|
|
4538
|
-
status: z$1.
|
|
4538
|
+
status: z$1.ZodNumber;
|
|
4539
4539
|
error: z$1.ZodObject<{
|
|
4540
4540
|
code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4541
4541
|
message: z$1.ZodString;
|
|
@@ -4554,7 +4554,7 @@ declare const commonDeleteErrorResponses: {
|
|
|
4554
4554
|
code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4555
4555
|
detail: z$1.ZodString;
|
|
4556
4556
|
title: z$1.ZodString;
|
|
4557
|
-
status: z$1.
|
|
4557
|
+
status: z$1.ZodNumber;
|
|
4558
4558
|
error: z$1.ZodObject<{
|
|
4559
4559
|
code: z$1.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4560
4560
|
message: z$1.ZodString;
|