@inkeep/agents-core 0.0.0-dev-20251203000036 → 0.0.0-dev-20251208172520
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/auth/auth.d.ts +22 -21
- package/dist/auth/permissions.d.ts +9 -9
- package/dist/{client-IYBScWGn.d.ts → client--LyweMGD.d.ts} +1 -1
- package/dist/client-exports.d.ts +5 -5
- package/dist/credential-stores/index.d.ts +2 -2
- package/dist/db/schema.d.ts +2 -2
- package/dist/db/test-client.d.ts +3 -3
- package/dist/index.d.ts +304 -304
- package/dist/index.js +56 -56
- package/dist/{schema-fTlJoUxD.d.ts → schema-hzuVg3gd.d.ts} +1 -1
- package/dist/{server-DEvNsFNQ.d.ts → server-5tTh7AW3.d.ts} +1 -1
- package/dist/types/index.d.ts +2 -2
- package/dist/{utility-DfqyRLWC.d.ts → utility-DWCVEJIN.d.ts} +297 -297
- package/dist/validation/index.d.ts +2 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -3,22 +3,22 @@ import { r as PinoLogger, s as getLogger } from './auth-detection-7G0Dxt55.js';
|
|
|
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-7G0Dxt55.js';
|
|
4
4
|
export { AGENT_EXECUTION_TRANSFER_COUNT_DEFAULT, AGENT_EXECUTION_TRANSFER_COUNT_MAX, AGENT_EXECUTION_TRANSFER_COUNT_MIN, CONTEXT_FETCHER_HTTP_TIMEOUT_MS_DEFAULT, STATUS_UPDATE_MAX_INTERVAL_SECONDS, STATUS_UPDATE_MAX_NUM_EVENTS, SUB_AGENT_TURN_GENERATION_STEPS_DEFAULT, SUB_AGENT_TURN_GENERATION_STEPS_MAX, SUB_AGENT_TURN_GENERATION_STEPS_MIN, VALIDATION_AGENT_PROMPT_MAX_CHARS, VALIDATION_SUB_AGENT_PROMPT_MAX_CHARS, schemaValidationDefaults } from './constants/schema-validation/index.js';
|
|
5
5
|
import { z } from '@hono/zod-openapi';
|
|
6
|
-
import { r as CredentialReferenceApiInsert, s as ContextConfigSelect, C as ContextFetchDefinition, o as MCPTransportType, t as MCPToolConfig, u as ProjectScopeConfig, v as FullAgentDefinition, w as AgentScopeConfig, a 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, d 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, e as MessageMetadata, M as MessageContent, 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, b as ToolMcpConfig, c 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, f as CredentialStoreType, ay as ExecutionContext, az as MessageSelect, n as ModelSettings, aA as PrebuiltMCPServerSchema } from './utility-
|
|
7
|
-
export { bc as A2AError, bI as A2ARequest, bJ as A2AResponse, aN as APIKeySecurityScheme, bX as AgentApiInsert, e4 as AgentApiInsertSchema, bW as AgentApiSelect, e3 as AgentApiSelectSchema, bY as AgentApiUpdate, e5 as AgentApiUpdateSchema, aJ as AgentCapabilities, aX as AgentCard, dy as AgentConversationHistoryConfig, e1 as AgentInsertSchema, gO as AgentListResponse, aK as AgentProvider, gy as AgentResponse, e0 as AgentSelectSchema, aL as AgentSkill, k as AgentStopWhen, h as AgentStopWhenSchema, e2 as AgentUpdateSchema, h5 as AgentWithinContextOfProjectResponse, gi as AgentWithinContextOfProjectSchema, f8 as AllAgentSchema, cQ as AllAgentSelect, cU as ApiKeyApiCreationResponse, fd as ApiKeyApiCreationResponseSchema, cS as ApiKeyApiInsert, fe as ApiKeyApiInsertSchema, cR as ApiKeyApiSelect, fc as ApiKeyApiSelectSchema, cT as ApiKeyApiUpdate, A as ApiKeyApiUpdateSchema, fa as ApiKeyInsertSchema, gS as ApiKeyListResponse, gC as ApiKeyResponse, f9 as ApiKeySelectSchema, fb as ApiKeyUpdateSchema, cF as ArtifactComponentApiInsert, eW as ArtifactComponentApiInsertSchema, cE as ArtifactComponentApiSelect, eV as ArtifactComponentApiSelectSchema, cG as ArtifactComponentApiUpdate, eX as ArtifactComponentApiUpdateSchema, hf as ArtifactComponentArrayResponse, eT as ArtifactComponentInsertSchema, gX as ArtifactComponentListResponse, gH as ArtifactComponentResponse, eS as ArtifactComponentSelectSchema, eU as ArtifactComponentUpdateSchema, aQ as AuthorizationCodeOAuthFlow, dh as CanDelegateToExternalAgent, dg as CanUseItem, ge as CanUseItemSchema, bs as CancelTaskRequest, bD as CancelTaskResponse, bC as CancelTaskSuccessResponse, aR as ClientCredentialsOAuthFlow, h7 as ComponentAssociationListResponse, fq as ComponentAssociationSchema, ba as ContentTypeNotSupportedError, ct as ContextCacheApiInsert, eD as ContextCacheApiInsertSchema, cs as ContextCacheApiSelect, eC as ContextCacheApiSelectSchema, cu as ContextCacheApiUpdate, eE as ContextCacheApiUpdateSchema, dz as ContextCacheEntry, eA as ContextCacheInsertSchema, ez as ContextCacheSelectSchema, cr as ContextCacheUpdate, eB as ContextCacheUpdateSchema, cn as ContextConfigApiInsert, fO as ContextConfigApiInsertSchema, cm as ContextConfigApiSelect, fN as ContextConfigApiSelectSchema, co as ContextConfigApiUpdate, fP as ContextConfigApiUpdateSchema, fL as ContextConfigInsertSchema, gR as ContextConfigListResponse, gB as ContextConfigResponse, fK as ContextConfigSelectSchema, fM as ContextConfigUpdateSchema, ch as ConversationApiInsert, er as ConversationApiInsertSchema, cg as ConversationApiSelect, eq as ConversationApiSelectSchema, ci as ConversationApiUpdate, es as ConversationApiUpdateSchema, eo as ConversationInsertSchema, g_ as ConversationListResponse, gK as ConversationResponse, dx as ConversationScopeOptions, en as ConversationSelectSchema, ep as ConversationUpdateSchema, fn as CreateCredentialInStoreRequestSchema, fo as CreateCredentialInStoreResponseSchema, fj as CredentialReferenceApiInsertSchema, cV as CredentialReferenceApiSelect, fi as CredentialReferenceApiSelectSchema, cW as CredentialReferenceApiUpdate, fk as CredentialReferenceApiUpdateSchema, fg as CredentialReferenceInsertSchema, gT as CredentialReferenceListResponse, gD as CredentialReferenceResponse, ff as CredentialReferenceSelectSchema, fh as CredentialReferenceUpdateSchema, fm as CredentialStoreListResponseSchema, fl as CredentialStoreSchema, cw as DataComponentApiInsert, eK as DataComponentApiInsertSchema, cv as DataComponentApiSelect, eJ as DataComponentApiSelectSchema, cx as DataComponentApiUpdate, eL as DataComponentApiUpdateSchema, he as DataComponentArrayResponse, eH as DataComponentBaseSchema, eG as DataComponentInsertSchema, gW as DataComponentListResponse, gG as DataComponentResponse, eF as DataComponentSelectSchema, eI as DataComponentUpdateSchema, aH as DataPart, gm as ErrorResponseSchema, gn as ExistsResponseSchema, cO as ExternalAgentApiInsert, f6 as ExternalAgentApiInsertSchema, cN as ExternalAgentApiSelect, f5 as ExternalAgentApiSelectSchema, cP as ExternalAgentApiUpdate, f7 as ExternalAgentApiUpdateSchema, f3 as ExternalAgentInsertSchema, gQ as ExternalAgentListResponse, gA as ExternalAgentResponse, f2 as ExternalAgentSelectSchema, f4 as ExternalAgentUpdateSchema, bV as ExternalSubAgentRelationApiInsert, d$ as ExternalSubAgentRelationApiInsertSchema, bU as ExternalSubAgentRelationInsert, d_ as ExternalSubAgentRelationInsertSchema, cq as FetchConfig, fI as FetchConfigSchema, cp as FetchDefinition, fJ as FetchDefinitionSchema, aD as FileBase, aG as FilePart, aE as FileWithBytes, aF as FileWithUri, dI as Filter, df as FullAgentAgentInsert, g as FullAgentAgentInsertSchema, h4 as FullProjectDefinitionResponse, gv as FullProjectDefinitionSchema, F as FunctionApiInsertSchema, cd as FunctionApiSelect, p as FunctionApiSelectSchema, ce as FunctionApiUpdate, q as FunctionApiUpdateSchema, cb as FunctionInsert, fG as FunctionInsertSchema, gU as FunctionListResponse, gE as FunctionResponse, ca as FunctionSelect, fF as FunctionSelectSchema, fD as FunctionToolApiInsertSchema, cf as FunctionToolApiSelect, fC as FunctionToolApiSelectSchema, fE as FunctionToolApiUpdateSchema, dM as FunctionToolConfig, dL as FunctionToolConfigSchema, fA as FunctionToolInsertSchema, gV as FunctionToolListResponse, gF as FunctionToolResponse, fz as FunctionToolSelectSchema, fB as FunctionToolUpdateSchema, cc as FunctionUpdate, fH as FunctionUpdateSchema, bu as GetTaskPushNotificationConfigRequest, bH as GetTaskPushNotificationConfigResponse, bG as GetTaskPushNotificationConfigSuccessResponse, br as GetTaskRequest, bB as GetTaskResponse, bA as GetTaskSuccessResponse, aO as HTTPAuthSecurityScheme, hg as HeadersScopeSchema, aS as ImplicitOAuthFlow, b5 as InternalError, bb as InvalidAgentResponseError, b4 as InvalidParamsError, b2 as InvalidRequestError, b1 as JSONParseError, bm as JSONRPCError, bo as JSONRPCErrorResponse, bk as JSONRPCMessage, bl as JSONRPCRequest, bn as JSONRPCResult, dd as LedgerArtifactApiInsert, ga as LedgerArtifactApiInsertSchema, dc as LedgerArtifactApiSelect, g9 as LedgerArtifactApiSelectSchema, de as LedgerArtifactApiUpdate, gb as LedgerArtifactApiUpdateSchema, da as LedgerArtifactInsert, g7 as LedgerArtifactInsertSchema, g6 as LedgerArtifactSelectSchema, db as LedgerArtifactUpdate, g8 as LedgerArtifactUpdateSchema, gk as ListResponseSchema, hq as MCPCatalogListResponse, dH as MCPServerType, fu as MCPToolConfigSchema, dA as McpAuthType, dB as McpServerAuth, dD as McpServerCapabilities, dE as McpToolDefinition, ek as McpToolDefinitionSchema, h9 as McpToolListResponse, h8 as McpToolResponse, ft as McpToolSchema, dC as McpTransportConfig, ei as McpTransportConfigSchema, aY as Message, ck as MessageApiInsert, ex as MessageApiInsertSchema, cj as MessageApiSelect, ew as MessageApiSelectSchema, cl as MessageApiUpdate, ey as MessageApiUpdateSchema, eu as MessageInsertSchema, g$ as MessageListResponse, ds as MessageMode, bK as MessagePart, gL as MessageResponse, dr as MessageRole, et as MessageSelectSchema, bi as MessageSendConfiguration, bj as MessageSendParams, dq as MessageType, ev as MessageUpdateSchema, b3 as MethodNotFoundError, dJ as ModelSchema, m as ModelSettingsSchema, dt as Models, aU as OAuth2SecurityScheme, fs as OAuthCallbackQuerySchema, aP as OAuthFlows, fr as OAuthLoginQuerySchema, aV as OpenIdConnectSecurityScheme, dn as Pagination, hp as PaginationQueryParamsSchema, gj as PaginationSchema, P as Part, aB as PartBase, aT as PasswordOAuthFlow, dl as ProjectApiInsert, gt as ProjectApiInsertSchema, dk as ProjectApiSelect, gs as ProjectApiSelectSchema, dm as ProjectApiUpdate, gu as ProjectApiUpdateSchema, gq as ProjectInsertSchema, gM as ProjectListResponse, dK as ProjectModelSchema, du as ProjectModels, gw as ProjectResponse, gp as ProjectSelectSchema, gr as ProjectUpdateSchema, bd as PushNotificationAuthenticationInfo, be as PushNotificationConfig, b8 as PushNotificationNotSupportedError, h6 as RelatedAgentInfoListResponse, fp as RelatedAgentInfoSchema, go as RemovedResponseSchema, aW as SecurityScheme, aM as SecuritySchemeBase, bp as SendMessageRequest, bx as SendMessageResponse, bw as SendMessageSuccessResponse, bq as SendStreamingMessageRequest, bz as SendStreamingMessageResponse, by as SendStreamingMessageSuccessResponse, bt as SetTaskPushNotificationConfigRequest, bF as SetTaskPushNotificationConfigResponse, bE as SetTaskPushNotificationConfigSuccessResponse, gl as SingleResponseSchema, dw as StatusComponent, gc as StatusComponentSchema, gd as StatusUpdateSchema, dv as StatusUpdateSettings, j as StopWhen, S as StopWhenSchema, bN as SubAgentApiInsert, dR as SubAgentApiInsertSchema, bM as SubAgentApiSelect, dQ as SubAgentApiSelectSchema, bO as SubAgentApiUpdate, dS as SubAgentApiUpdateSchema, cL as SubAgentArtifactComponentApiInsert, f0 as SubAgentArtifactComponentApiInsertSchema, cK as SubAgentArtifactComponentApiSelect, e$ as SubAgentArtifactComponentApiSelectSchema, cM as SubAgentArtifactComponentApiUpdate, f1 as SubAgentArtifactComponentApiUpdateSchema, cI as SubAgentArtifactComponentInsert, eZ as SubAgentArtifactComponentInsertSchema, h3 as SubAgentArtifactComponentListResponse, h1 as SubAgentArtifactComponentResponse, cH as SubAgentArtifactComponentSelect, eY as SubAgentArtifactComponentSelectSchema, cJ as SubAgentArtifactComponentUpdate, e_ as SubAgentArtifactComponentUpdateSchema, cC as SubAgentDataComponentApiInsert, eQ as SubAgentDataComponentApiInsertSchema, cB as SubAgentDataComponentApiSelect, eP as SubAgentDataComponentApiSelectSchema, cD as SubAgentDataComponentApiUpdate, eR as SubAgentDataComponentApiUpdateSchema, cz as SubAgentDataComponentInsert, eN as SubAgentDataComponentInsertSchema, h2 as SubAgentDataComponentListResponse, h0 as SubAgentDataComponentResponse, cy as SubAgentDataComponentSelect, eM as SubAgentDataComponentSelectSchema, cA as SubAgentDataComponentUpdate, eO as SubAgentDataComponentUpdateSchema, di as SubAgentDefinition, d3 as SubAgentExternalAgentRelationApiInsert, f_ as SubAgentExternalAgentRelationApiInsertSchema, d2 as SubAgentExternalAgentRelationApiSelect, fZ as SubAgentExternalAgentRelationApiSelectSchema, d4 as SubAgentExternalAgentRelationApiUpdate, f$ as SubAgentExternalAgentRelationApiUpdateSchema, fX as SubAgentExternalAgentRelationInsertSchema, hd as SubAgentExternalAgentRelationListResponse, hc as SubAgentExternalAgentRelationResponse, d0 as SubAgentExternalAgentRelationSelect, fW as SubAgentExternalAgentRelationSelectSchema, d1 as SubAgentExternalAgentRelationUpdate, fY as SubAgentExternalAgentRelationUpdateSchema, dO as SubAgentInsertSchema, gN as SubAgentListResponse, bR as SubAgentRelationApiInsert, dX as SubAgentRelationApiInsertSchema, bQ as SubAgentRelationApiSelect, dW as SubAgentRelationApiSelectSchema, bS as SubAgentRelationApiUpdate, dY as SubAgentRelationApiUpdateSchema, dU as SubAgentRelationInsertSchema, gY as SubAgentRelationListResponse, bT as SubAgentRelationQuery, dZ as SubAgentRelationQuerySchema, gI as SubAgentRelationResponse, bP as SubAgentRelationSelect, dT as SubAgentRelationSelectSchema, dV as SubAgentRelationUpdateSchema, gx as SubAgentResponse, dN as SubAgentSelectSchema, l as SubAgentStopWhen, i as SubAgentStopWhenSchema, d8 as SubAgentTeamAgentRelationApiInsert, g4 as SubAgentTeamAgentRelationApiInsertSchema, d7 as SubAgentTeamAgentRelationApiSelect, g3 as SubAgentTeamAgentRelationApiSelectSchema, d9 as SubAgentTeamAgentRelationApiUpdate, g5 as SubAgentTeamAgentRelationApiUpdateSchema, g1 as SubAgentTeamAgentRelationInsertSchema, hb as SubAgentTeamAgentRelationListResponse, ha as SubAgentTeamAgentRelationResponse, d5 as SubAgentTeamAgentRelationSelect, g0 as SubAgentTeamAgentRelationSelectSchema, d6 as SubAgentTeamAgentRelationUpdate, g2 as SubAgentTeamAgentRelationUpdateSchema, c_ as SubAgentToolRelationApiInsert, fU as SubAgentToolRelationApiInsertSchema, cZ as SubAgentToolRelationApiSelect, fT as SubAgentToolRelationApiSelectSchema, c$ as SubAgentToolRelationApiUpdate, fV as SubAgentToolRelationApiUpdateSchema, cY as SubAgentToolRelationInsert, fR as SubAgentToolRelationInsertSchema, gZ as SubAgentToolRelationListResponse, gJ as SubAgentToolRelationResponse, cX as SubAgentToolRelationSelect, fQ as SubAgentToolRelationSelectSchema, fS as SubAgentToolRelationUpdateSchema, dP as SubAgentUpdateSchema, dp as SummaryEvent, dF as TOOL_STATUS_VALUES, a_ as Task, b$ as TaskApiInsert, ea as TaskApiInsertSchema, b_ as TaskApiSelect, e9 as TaskApiSelectSchema, c0 as TaskApiUpdate, eb as TaskApiUpdateSchema, bL as TaskArtifact, b0 as TaskArtifactUpdateEvent, bg as TaskIdParams, e7 as TaskInsertSchema, b7 as TaskNotCancelableError, b6 as TaskNotFoundError, bf as TaskPushNotificationConfig, bh as TaskQueryParams, c5 as TaskRelationApiInsert, eg as TaskRelationApiInsertSchema, c4 as TaskRelationApiSelect, ef as TaskRelationApiSelectSchema, c6 as TaskRelationApiUpdate, eh as TaskRelationApiUpdateSchema, c2 as TaskRelationInsert, ed as TaskRelationInsertSchema, c1 as TaskRelationSelect, ec as TaskRelationSelectSchema, c3 as TaskRelationUpdate, ee as TaskRelationUpdateSchema, bv as TaskResubscriptionRequest, e6 as TaskSelectSchema, aI as TaskState, aZ as TaskStatus, a$ as TaskStatusUpdateEvent, bZ as TaskUpdate, e8 as TaskUpdateSchema, gh as TeamAgentSchema, hi as TenantIdParamsSchema, hh as TenantParamsSchema, hm as TenantProjectAgentIdParamsSchema, hl as TenantProjectAgentParamsSchema, ho as TenantProjectAgentSubAgentIdParamsSchema, hn as TenantProjectAgentSubAgentParamsSchema, hk as TenantProjectIdParamsSchema, hj as TenantProjectParamsSchema, aC as TextPart, hr as ThirdPartyMCPServerResponse, c8 as ToolApiInsert, fx as ToolApiInsertSchema, c7 as ToolApiSelect, fw as ToolApiSelectSchema, c9 as ToolApiUpdate, fy as ToolApiUpdateSchema, dj as ToolDefinition, em as ToolInsertSchema, gP as ToolListResponse, gz as ToolResponse, el as ToolSelectSchema, ej as ToolStatusSchema, fv as ToolUpdateSchema, b9 as UnsupportedOperationError, dG as VALID_RELATION_TYPES, gf as canDelegateToExternalAgentSchema, gg as canDelegateToTeamAgentSchema } from './utility-DfqyRLWC.js';
|
|
6
|
+
import { r as CredentialReferenceApiInsert, s as ContextConfigSelect, C as ContextFetchDefinition, o as MCPTransportType, t as MCPToolConfig, u as ProjectScopeConfig, v as FullAgentDefinition, w as AgentScopeConfig, a 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, d 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, e as MessageMetadata, M as MessageContent, 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, b as ToolMcpConfig, c 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, f as CredentialStoreType, ay as ExecutionContext, az as MessageSelect, n as ModelSettings, aA as PrebuiltMCPServerSchema } from './utility-DWCVEJIN.js';
|
|
7
|
+
export { bc as A2AError, bI as A2ARequest, bJ as A2AResponse, aN as APIKeySecurityScheme, bX as AgentApiInsert, e4 as AgentApiInsertSchema, bW as AgentApiSelect, e3 as AgentApiSelectSchema, bY as AgentApiUpdate, e5 as AgentApiUpdateSchema, aJ as AgentCapabilities, aX as AgentCard, dy as AgentConversationHistoryConfig, e1 as AgentInsertSchema, gO as AgentListResponse, aK as AgentProvider, gy as AgentResponse, e0 as AgentSelectSchema, aL as AgentSkill, k as AgentStopWhen, h as AgentStopWhenSchema, e2 as AgentUpdateSchema, h5 as AgentWithinContextOfProjectResponse, gi as AgentWithinContextOfProjectSchema, f8 as AllAgentSchema, cQ as AllAgentSelect, cU as ApiKeyApiCreationResponse, fd as ApiKeyApiCreationResponseSchema, cS as ApiKeyApiInsert, fe as ApiKeyApiInsertSchema, cR as ApiKeyApiSelect, fc as ApiKeyApiSelectSchema, cT as ApiKeyApiUpdate, A as ApiKeyApiUpdateSchema, fa as ApiKeyInsertSchema, gS as ApiKeyListResponse, gC as ApiKeyResponse, f9 as ApiKeySelectSchema, fb as ApiKeyUpdateSchema, cF as ArtifactComponentApiInsert, eW as ArtifactComponentApiInsertSchema, cE as ArtifactComponentApiSelect, eV as ArtifactComponentApiSelectSchema, cG as ArtifactComponentApiUpdate, eX as ArtifactComponentApiUpdateSchema, hf as ArtifactComponentArrayResponse, eT as ArtifactComponentInsertSchema, gX as ArtifactComponentListResponse, gH as ArtifactComponentResponse, eS as ArtifactComponentSelectSchema, eU as ArtifactComponentUpdateSchema, aQ as AuthorizationCodeOAuthFlow, dh as CanDelegateToExternalAgent, dg as CanUseItem, ge as CanUseItemSchema, bs as CancelTaskRequest, bD as CancelTaskResponse, bC as CancelTaskSuccessResponse, aR as ClientCredentialsOAuthFlow, h7 as ComponentAssociationListResponse, fq as ComponentAssociationSchema, ba as ContentTypeNotSupportedError, ct as ContextCacheApiInsert, eD as ContextCacheApiInsertSchema, cs as ContextCacheApiSelect, eC as ContextCacheApiSelectSchema, cu as ContextCacheApiUpdate, eE as ContextCacheApiUpdateSchema, dz as ContextCacheEntry, eA as ContextCacheInsertSchema, ez as ContextCacheSelectSchema, cr as ContextCacheUpdate, eB as ContextCacheUpdateSchema, cn as ContextConfigApiInsert, fO as ContextConfigApiInsertSchema, cm as ContextConfigApiSelect, fN as ContextConfigApiSelectSchema, co as ContextConfigApiUpdate, fP as ContextConfigApiUpdateSchema, fL as ContextConfigInsertSchema, gR as ContextConfigListResponse, gB as ContextConfigResponse, fK as ContextConfigSelectSchema, fM as ContextConfigUpdateSchema, ch as ConversationApiInsert, er as ConversationApiInsertSchema, cg as ConversationApiSelect, eq as ConversationApiSelectSchema, ci as ConversationApiUpdate, es as ConversationApiUpdateSchema, eo as ConversationInsertSchema, g_ as ConversationListResponse, gK as ConversationResponse, dx as ConversationScopeOptions, en as ConversationSelectSchema, ep as ConversationUpdateSchema, fn as CreateCredentialInStoreRequestSchema, fo as CreateCredentialInStoreResponseSchema, fj as CredentialReferenceApiInsertSchema, cV as CredentialReferenceApiSelect, fi as CredentialReferenceApiSelectSchema, cW as CredentialReferenceApiUpdate, fk as CredentialReferenceApiUpdateSchema, fg as CredentialReferenceInsertSchema, gT as CredentialReferenceListResponse, gD as CredentialReferenceResponse, ff as CredentialReferenceSelectSchema, fh as CredentialReferenceUpdateSchema, fm as CredentialStoreListResponseSchema, fl as CredentialStoreSchema, cw as DataComponentApiInsert, eK as DataComponentApiInsertSchema, cv as DataComponentApiSelect, eJ as DataComponentApiSelectSchema, cx as DataComponentApiUpdate, eL as DataComponentApiUpdateSchema, he as DataComponentArrayResponse, eH as DataComponentBaseSchema, eG as DataComponentInsertSchema, gW as DataComponentListResponse, gG as DataComponentResponse, eF as DataComponentSelectSchema, eI as DataComponentUpdateSchema, aH as DataPart, gm as ErrorResponseSchema, gn as ExistsResponseSchema, cO as ExternalAgentApiInsert, f6 as ExternalAgentApiInsertSchema, cN as ExternalAgentApiSelect, f5 as ExternalAgentApiSelectSchema, cP as ExternalAgentApiUpdate, f7 as ExternalAgentApiUpdateSchema, f3 as ExternalAgentInsertSchema, gQ as ExternalAgentListResponse, gA as ExternalAgentResponse, f2 as ExternalAgentSelectSchema, f4 as ExternalAgentUpdateSchema, bV as ExternalSubAgentRelationApiInsert, d$ as ExternalSubAgentRelationApiInsertSchema, bU as ExternalSubAgentRelationInsert, d_ as ExternalSubAgentRelationInsertSchema, cq as FetchConfig, fI as FetchConfigSchema, cp as FetchDefinition, fJ as FetchDefinitionSchema, aD as FileBase, aG as FilePart, aE as FileWithBytes, aF as FileWithUri, dI as Filter, df as FullAgentAgentInsert, g as FullAgentAgentInsertSchema, h4 as FullProjectDefinitionResponse, gv as FullProjectDefinitionSchema, F as FunctionApiInsertSchema, cd as FunctionApiSelect, p as FunctionApiSelectSchema, ce as FunctionApiUpdate, q as FunctionApiUpdateSchema, cb as FunctionInsert, fG as FunctionInsertSchema, gU as FunctionListResponse, gE as FunctionResponse, ca as FunctionSelect, fF as FunctionSelectSchema, fD as FunctionToolApiInsertSchema, cf as FunctionToolApiSelect, fC as FunctionToolApiSelectSchema, fE as FunctionToolApiUpdateSchema, dM as FunctionToolConfig, dL as FunctionToolConfigSchema, fA as FunctionToolInsertSchema, gV as FunctionToolListResponse, gF as FunctionToolResponse, fz as FunctionToolSelectSchema, fB as FunctionToolUpdateSchema, cc as FunctionUpdate, fH as FunctionUpdateSchema, bu as GetTaskPushNotificationConfigRequest, bH as GetTaskPushNotificationConfigResponse, bG as GetTaskPushNotificationConfigSuccessResponse, br as GetTaskRequest, bB as GetTaskResponse, bA as GetTaskSuccessResponse, aO as HTTPAuthSecurityScheme, hg as HeadersScopeSchema, aS as ImplicitOAuthFlow, b5 as InternalError, bb as InvalidAgentResponseError, b4 as InvalidParamsError, b2 as InvalidRequestError, b1 as JSONParseError, bm as JSONRPCError, bo as JSONRPCErrorResponse, bk as JSONRPCMessage, bl as JSONRPCRequest, bn as JSONRPCResult, dd as LedgerArtifactApiInsert, ga as LedgerArtifactApiInsertSchema, dc as LedgerArtifactApiSelect, g9 as LedgerArtifactApiSelectSchema, de as LedgerArtifactApiUpdate, gb as LedgerArtifactApiUpdateSchema, da as LedgerArtifactInsert, g7 as LedgerArtifactInsertSchema, g6 as LedgerArtifactSelectSchema, db as LedgerArtifactUpdate, g8 as LedgerArtifactUpdateSchema, gk as ListResponseSchema, hq as MCPCatalogListResponse, dH as MCPServerType, fu as MCPToolConfigSchema, dA as McpAuthType, dB as McpServerAuth, dD as McpServerCapabilities, dE as McpToolDefinition, ek as McpToolDefinitionSchema, h9 as McpToolListResponse, h8 as McpToolResponse, ft as McpToolSchema, dC as McpTransportConfig, ei as McpTransportConfigSchema, aY as Message, ck as MessageApiInsert, ex as MessageApiInsertSchema, cj as MessageApiSelect, ew as MessageApiSelectSchema, cl as MessageApiUpdate, ey as MessageApiUpdateSchema, eu as MessageInsertSchema, g$ as MessageListResponse, ds as MessageMode, bK as MessagePart, gL as MessageResponse, dr as MessageRole, et as MessageSelectSchema, bi as MessageSendConfiguration, bj as MessageSendParams, dq as MessageType, ev as MessageUpdateSchema, b3 as MethodNotFoundError, dJ as ModelSchema, m as ModelSettingsSchema, dt as Models, aU as OAuth2SecurityScheme, fs as OAuthCallbackQuerySchema, aP as OAuthFlows, fr as OAuthLoginQuerySchema, aV as OpenIdConnectSecurityScheme, dn as Pagination, hp as PaginationQueryParamsSchema, gj as PaginationSchema, P as Part, aB as PartBase, aT as PasswordOAuthFlow, dl as ProjectApiInsert, gt as ProjectApiInsertSchema, dk as ProjectApiSelect, gs as ProjectApiSelectSchema, dm as ProjectApiUpdate, gu as ProjectApiUpdateSchema, gq as ProjectInsertSchema, gM as ProjectListResponse, dK as ProjectModelSchema, du as ProjectModels, gw as ProjectResponse, gp as ProjectSelectSchema, gr as ProjectUpdateSchema, bd as PushNotificationAuthenticationInfo, be as PushNotificationConfig, b8 as PushNotificationNotSupportedError, h6 as RelatedAgentInfoListResponse, fp as RelatedAgentInfoSchema, go as RemovedResponseSchema, aW as SecurityScheme, aM as SecuritySchemeBase, bp as SendMessageRequest, bx as SendMessageResponse, bw as SendMessageSuccessResponse, bq as SendStreamingMessageRequest, bz as SendStreamingMessageResponse, by as SendStreamingMessageSuccessResponse, bt as SetTaskPushNotificationConfigRequest, bF as SetTaskPushNotificationConfigResponse, bE as SetTaskPushNotificationConfigSuccessResponse, gl as SingleResponseSchema, dw as StatusComponent, gc as StatusComponentSchema, gd as StatusUpdateSchema, dv as StatusUpdateSettings, j as StopWhen, S as StopWhenSchema, bN as SubAgentApiInsert, dR as SubAgentApiInsertSchema, bM as SubAgentApiSelect, dQ as SubAgentApiSelectSchema, bO as SubAgentApiUpdate, dS as SubAgentApiUpdateSchema, cL as SubAgentArtifactComponentApiInsert, f0 as SubAgentArtifactComponentApiInsertSchema, cK as SubAgentArtifactComponentApiSelect, e$ as SubAgentArtifactComponentApiSelectSchema, cM as SubAgentArtifactComponentApiUpdate, f1 as SubAgentArtifactComponentApiUpdateSchema, cI as SubAgentArtifactComponentInsert, eZ as SubAgentArtifactComponentInsertSchema, h3 as SubAgentArtifactComponentListResponse, h1 as SubAgentArtifactComponentResponse, cH as SubAgentArtifactComponentSelect, eY as SubAgentArtifactComponentSelectSchema, cJ as SubAgentArtifactComponentUpdate, e_ as SubAgentArtifactComponentUpdateSchema, cC as SubAgentDataComponentApiInsert, eQ as SubAgentDataComponentApiInsertSchema, cB as SubAgentDataComponentApiSelect, eP as SubAgentDataComponentApiSelectSchema, cD as SubAgentDataComponentApiUpdate, eR as SubAgentDataComponentApiUpdateSchema, cz as SubAgentDataComponentInsert, eN as SubAgentDataComponentInsertSchema, h2 as SubAgentDataComponentListResponse, h0 as SubAgentDataComponentResponse, cy as SubAgentDataComponentSelect, eM as SubAgentDataComponentSelectSchema, cA as SubAgentDataComponentUpdate, eO as SubAgentDataComponentUpdateSchema, di as SubAgentDefinition, d3 as SubAgentExternalAgentRelationApiInsert, f_ as SubAgentExternalAgentRelationApiInsertSchema, d2 as SubAgentExternalAgentRelationApiSelect, fZ as SubAgentExternalAgentRelationApiSelectSchema, d4 as SubAgentExternalAgentRelationApiUpdate, f$ as SubAgentExternalAgentRelationApiUpdateSchema, fX as SubAgentExternalAgentRelationInsertSchema, hd as SubAgentExternalAgentRelationListResponse, hc as SubAgentExternalAgentRelationResponse, d0 as SubAgentExternalAgentRelationSelect, fW as SubAgentExternalAgentRelationSelectSchema, d1 as SubAgentExternalAgentRelationUpdate, fY as SubAgentExternalAgentRelationUpdateSchema, dO as SubAgentInsertSchema, gN as SubAgentListResponse, bR as SubAgentRelationApiInsert, dX as SubAgentRelationApiInsertSchema, bQ as SubAgentRelationApiSelect, dW as SubAgentRelationApiSelectSchema, bS as SubAgentRelationApiUpdate, dY as SubAgentRelationApiUpdateSchema, dU as SubAgentRelationInsertSchema, gY as SubAgentRelationListResponse, bT as SubAgentRelationQuery, dZ as SubAgentRelationQuerySchema, gI as SubAgentRelationResponse, bP as SubAgentRelationSelect, dT as SubAgentRelationSelectSchema, dV as SubAgentRelationUpdateSchema, gx as SubAgentResponse, dN as SubAgentSelectSchema, l as SubAgentStopWhen, i as SubAgentStopWhenSchema, d8 as SubAgentTeamAgentRelationApiInsert, g4 as SubAgentTeamAgentRelationApiInsertSchema, d7 as SubAgentTeamAgentRelationApiSelect, g3 as SubAgentTeamAgentRelationApiSelectSchema, d9 as SubAgentTeamAgentRelationApiUpdate, g5 as SubAgentTeamAgentRelationApiUpdateSchema, g1 as SubAgentTeamAgentRelationInsertSchema, hb as SubAgentTeamAgentRelationListResponse, ha as SubAgentTeamAgentRelationResponse, d5 as SubAgentTeamAgentRelationSelect, g0 as SubAgentTeamAgentRelationSelectSchema, d6 as SubAgentTeamAgentRelationUpdate, g2 as SubAgentTeamAgentRelationUpdateSchema, c_ as SubAgentToolRelationApiInsert, fU as SubAgentToolRelationApiInsertSchema, cZ as SubAgentToolRelationApiSelect, fT as SubAgentToolRelationApiSelectSchema, c$ as SubAgentToolRelationApiUpdate, fV as SubAgentToolRelationApiUpdateSchema, cY as SubAgentToolRelationInsert, fR as SubAgentToolRelationInsertSchema, gZ as SubAgentToolRelationListResponse, gJ as SubAgentToolRelationResponse, cX as SubAgentToolRelationSelect, fQ as SubAgentToolRelationSelectSchema, fS as SubAgentToolRelationUpdateSchema, dP as SubAgentUpdateSchema, dp as SummaryEvent, dF as TOOL_STATUS_VALUES, a_ as Task, b$ as TaskApiInsert, ea as TaskApiInsertSchema, b_ as TaskApiSelect, e9 as TaskApiSelectSchema, c0 as TaskApiUpdate, eb as TaskApiUpdateSchema, bL as TaskArtifact, b0 as TaskArtifactUpdateEvent, bg as TaskIdParams, e7 as TaskInsertSchema, b7 as TaskNotCancelableError, b6 as TaskNotFoundError, bf as TaskPushNotificationConfig, bh as TaskQueryParams, c5 as TaskRelationApiInsert, eg as TaskRelationApiInsertSchema, c4 as TaskRelationApiSelect, ef as TaskRelationApiSelectSchema, c6 as TaskRelationApiUpdate, eh as TaskRelationApiUpdateSchema, c2 as TaskRelationInsert, ed as TaskRelationInsertSchema, c1 as TaskRelationSelect, ec as TaskRelationSelectSchema, c3 as TaskRelationUpdate, ee as TaskRelationUpdateSchema, bv as TaskResubscriptionRequest, e6 as TaskSelectSchema, aI as TaskState, aZ as TaskStatus, a$ as TaskStatusUpdateEvent, bZ as TaskUpdate, e8 as TaskUpdateSchema, gh as TeamAgentSchema, hi as TenantIdParamsSchema, hh as TenantParamsSchema, hm as TenantProjectAgentIdParamsSchema, hl as TenantProjectAgentParamsSchema, ho as TenantProjectAgentSubAgentIdParamsSchema, hn as TenantProjectAgentSubAgentParamsSchema, hk as TenantProjectIdParamsSchema, hj as TenantProjectParamsSchema, aC as TextPart, hr as ThirdPartyMCPServerResponse, c8 as ToolApiInsert, fx as ToolApiInsertSchema, c7 as ToolApiSelect, fw as ToolApiSelectSchema, c9 as ToolApiUpdate, fy as ToolApiUpdateSchema, dj as ToolDefinition, em as ToolInsertSchema, gP as ToolListResponse, gz as ToolResponse, el as ToolSelectSchema, ej as ToolStatusSchema, fv as ToolUpdateSchema, b9 as UnsupportedOperationError, dG as VALID_RELATION_TYPES, gf as canDelegateToExternalAgentSchema, gg as canDelegateToTeamAgentSchema } from './utility-DWCVEJIN.js';
|
|
8
8
|
import { CredentialStoreRegistry } from './credential-stores/index.js';
|
|
9
9
|
export { InMemoryCredentialStore, KeyChainStore, NangoCredentialStore, createDefaultCredentialStores, createKeyChainStore, createNangoCredentialStore } from './credential-stores/index.js';
|
|
10
|
-
import { D as DatabaseClient } from './client
|
|
11
|
-
export { a as DatabaseConfig, c as createDatabaseClient } from './client
|
|
10
|
+
import { D as DatabaseClient } from './client--LyweMGD.js';
|
|
11
|
+
export { a as DatabaseConfig, c as createDatabaseClient } from './client--LyweMGD.js';
|
|
12
12
|
import { SSEClientTransportOptions } from '@modelcontextprotocol/sdk/client/sse.js';
|
|
13
13
|
import { StreamableHTTPClientTransportOptions } from '@modelcontextprotocol/sdk/client/streamableHttp.js';
|
|
14
14
|
import { ClientCapabilities } from '@modelcontextprotocol/sdk/types.js';
|
|
15
15
|
import { PgTable } from 'drizzle-orm/pg-core';
|
|
16
16
|
import { UserOrganization, User } from './auth/auth-validation-schemas.js';
|
|
17
|
-
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-
|
|
17
|
+
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-hzuVg3gd.js';
|
|
18
18
|
export { cleanupTestDatabase, closeTestDatabase, createTestDatabaseClient, createTestOrganization, createTestProject } from './db/test-client.js';
|
|
19
19
|
import { ValidateFunction } from 'ajv';
|
|
20
20
|
import { Context, Next } from 'hono';
|
|
21
|
-
export { a as CorsConfig, C as CredentialStore, b as ServerConfig, S as ServerOptions } from './server-
|
|
21
|
+
export { a as CorsConfig, C as CredentialStore, b as ServerConfig, S as ServerOptions } from './server-5tTh7AW3.js';
|
|
22
22
|
export { AgentMcpConfig, AgentMcpConfigInput, McpToolSelection, ToolPolicy, normalizeToolSelections } from './types/index.js';
|
|
23
23
|
import { HTTPException } from 'hono/http-exception';
|
|
24
24
|
import { LanguageModel } from 'ai';
|
|
@@ -551,13 +551,14 @@ declare const deleteFullAgent: (db: DatabaseClient, logger?: AgentLogger) => (pa
|
|
|
551
551
|
declare const getAgentById: (db: DatabaseClient) => (params: {
|
|
552
552
|
scopes: AgentScopeConfig;
|
|
553
553
|
}) => Promise<{
|
|
554
|
-
|
|
554
|
+
tenantId: string;
|
|
555
|
+
projectId: string;
|
|
555
556
|
id: string;
|
|
557
|
+
name: string;
|
|
558
|
+
description: string | null;
|
|
559
|
+
prompt: string | null;
|
|
556
560
|
createdAt: string;
|
|
557
561
|
updatedAt: string;
|
|
558
|
-
description: string | null;
|
|
559
|
-
projectId: string;
|
|
560
|
-
tenantId: string;
|
|
561
562
|
models: {
|
|
562
563
|
base?: {
|
|
563
564
|
model?: string | undefined;
|
|
@@ -577,7 +578,6 @@ declare const getAgentById: (db: DatabaseClient) => (params: {
|
|
|
577
578
|
} | null;
|
|
578
579
|
defaultSubAgentId: string | null;
|
|
579
580
|
contextConfigId: string | null;
|
|
580
|
-
prompt: string | null;
|
|
581
581
|
statusUpdates: {
|
|
582
582
|
enabled?: boolean | undefined;
|
|
583
583
|
numEvents?: number | undefined;
|
|
@@ -597,13 +597,14 @@ declare const getAgentById: (db: DatabaseClient) => (params: {
|
|
|
597
597
|
declare const getAgentWithDefaultSubAgent: (db: DatabaseClient) => (params: {
|
|
598
598
|
scopes: AgentScopeConfig;
|
|
599
599
|
}) => Promise<{
|
|
600
|
-
|
|
600
|
+
tenantId: string;
|
|
601
|
+
projectId: string;
|
|
601
602
|
id: string;
|
|
603
|
+
name: string;
|
|
604
|
+
description: string | null;
|
|
605
|
+
prompt: string | null;
|
|
602
606
|
createdAt: string;
|
|
603
607
|
updatedAt: string;
|
|
604
|
-
description: string | null;
|
|
605
|
-
projectId: string;
|
|
606
|
-
tenantId: string;
|
|
607
608
|
models: {
|
|
608
609
|
base?: {
|
|
609
610
|
model?: string | undefined;
|
|
@@ -623,7 +624,6 @@ declare const getAgentWithDefaultSubAgent: (db: DatabaseClient) => (params: {
|
|
|
623
624
|
} | null;
|
|
624
625
|
defaultSubAgentId: string | null;
|
|
625
626
|
contextConfigId: string | null;
|
|
626
|
-
prompt: string | null;
|
|
627
627
|
statusUpdates: {
|
|
628
628
|
enabled?: boolean | undefined;
|
|
629
629
|
numEvents?: number | undefined;
|
|
@@ -640,13 +640,15 @@ declare const getAgentWithDefaultSubAgent: (db: DatabaseClient) => (params: {
|
|
|
640
640
|
}[] | undefined;
|
|
641
641
|
} | null;
|
|
642
642
|
defaultSubAgent: {
|
|
643
|
-
|
|
643
|
+
tenantId: string;
|
|
644
|
+
projectId: string;
|
|
644
645
|
id: string;
|
|
646
|
+
name: string;
|
|
647
|
+
description: string | null;
|
|
648
|
+
prompt: string | null;
|
|
649
|
+
agentId: string;
|
|
645
650
|
createdAt: string;
|
|
646
651
|
updatedAt: string;
|
|
647
|
-
description: string | null;
|
|
648
|
-
projectId: string;
|
|
649
|
-
tenantId: string;
|
|
650
652
|
models: {
|
|
651
653
|
base?: {
|
|
652
654
|
model?: string | undefined;
|
|
@@ -664,21 +666,20 @@ declare const getAgentWithDefaultSubAgent: (db: DatabaseClient) => (params: {
|
|
|
664
666
|
stopWhen: {
|
|
665
667
|
stepCountIs?: number | undefined;
|
|
666
668
|
} | null;
|
|
667
|
-
agentId: string;
|
|
668
|
-
prompt: string | null;
|
|
669
669
|
conversationHistoryConfig: ConversationHistoryConfig | null;
|
|
670
670
|
} | null;
|
|
671
671
|
} | null>;
|
|
672
672
|
declare const listAgents: (db: DatabaseClient) => (params: {
|
|
673
673
|
scopes: ProjectScopeConfig;
|
|
674
674
|
}) => Promise<{
|
|
675
|
-
|
|
675
|
+
tenantId: string;
|
|
676
|
+
projectId: string;
|
|
676
677
|
id: string;
|
|
678
|
+
name: string;
|
|
679
|
+
description: string | null;
|
|
680
|
+
prompt: string | null;
|
|
677
681
|
createdAt: string;
|
|
678
682
|
updatedAt: string;
|
|
679
|
-
description: string | null;
|
|
680
|
-
projectId: string;
|
|
681
|
-
tenantId: string;
|
|
682
683
|
models: {
|
|
683
684
|
base?: {
|
|
684
685
|
model?: string | undefined;
|
|
@@ -698,7 +699,6 @@ declare const listAgents: (db: DatabaseClient) => (params: {
|
|
|
698
699
|
} | null;
|
|
699
700
|
defaultSubAgentId: string | null;
|
|
700
701
|
contextConfigId: string | null;
|
|
701
|
-
prompt: string | null;
|
|
702
702
|
statusUpdates: {
|
|
703
703
|
enabled?: boolean | undefined;
|
|
704
704
|
numEvents?: number | undefined;
|
|
@@ -771,13 +771,14 @@ declare const listAgentsPaginated: (db: DatabaseClient) => (params: {
|
|
|
771
771
|
};
|
|
772
772
|
}>;
|
|
773
773
|
declare const createAgent: (db: DatabaseClient) => (data: AgentInsert) => Promise<{
|
|
774
|
-
|
|
774
|
+
tenantId: string;
|
|
775
|
+
projectId: string;
|
|
775
776
|
id: string;
|
|
777
|
+
name: string;
|
|
778
|
+
description: string | null;
|
|
779
|
+
prompt: string | null;
|
|
776
780
|
createdAt: string;
|
|
777
781
|
updatedAt: string;
|
|
778
|
-
description: string | null;
|
|
779
|
-
projectId: string;
|
|
780
|
-
tenantId: string;
|
|
781
782
|
models: {
|
|
782
783
|
base?: {
|
|
783
784
|
model?: string | undefined;
|
|
@@ -797,7 +798,6 @@ declare const createAgent: (db: DatabaseClient) => (data: AgentInsert) => Promis
|
|
|
797
798
|
} | null;
|
|
798
799
|
defaultSubAgentId: string | null;
|
|
799
800
|
contextConfigId: string | null;
|
|
800
|
-
prompt: string | null;
|
|
801
801
|
statusUpdates: {
|
|
802
802
|
enabled?: boolean | undefined;
|
|
803
803
|
numEvents?: number | undefined;
|
|
@@ -898,49 +898,49 @@ declare const getApiKeyById: (db: DatabaseClient) => (params: {
|
|
|
898
898
|
scopes: ProjectScopeConfig;
|
|
899
899
|
id: string;
|
|
900
900
|
}) => Promise<{
|
|
901
|
-
name: string | null;
|
|
902
|
-
id: string;
|
|
903
|
-
createdAt: string;
|
|
904
|
-
updatedAt: string;
|
|
905
|
-
expiresAt: string | null;
|
|
906
|
-
projectId: string;
|
|
907
901
|
tenantId: string;
|
|
902
|
+
projectId: string;
|
|
903
|
+
id: string;
|
|
904
|
+
name: string | null;
|
|
908
905
|
agentId: string;
|
|
909
906
|
publicId: string;
|
|
910
907
|
keyHash: string;
|
|
911
908
|
keyPrefix: string;
|
|
912
909
|
lastUsedAt: string | null;
|
|
913
|
-
|
|
914
|
-
declare const getApiKeyByPublicId: (db: DatabaseClient) => (publicId: string) => Promise<{
|
|
915
|
-
name: string | null;
|
|
916
|
-
id: string;
|
|
910
|
+
expiresAt: string | null;
|
|
917
911
|
createdAt: string;
|
|
918
912
|
updatedAt: string;
|
|
919
|
-
|
|
920
|
-
|
|
913
|
+
} | undefined>;
|
|
914
|
+
declare const getApiKeyByPublicId: (db: DatabaseClient) => (publicId: string) => Promise<{
|
|
921
915
|
tenantId: string;
|
|
916
|
+
projectId: string;
|
|
917
|
+
id: string;
|
|
918
|
+
name: string | null;
|
|
922
919
|
agentId: string;
|
|
923
920
|
publicId: string;
|
|
924
921
|
keyHash: string;
|
|
925
922
|
keyPrefix: string;
|
|
926
923
|
lastUsedAt: string | null;
|
|
924
|
+
expiresAt: string | null;
|
|
925
|
+
createdAt: string;
|
|
926
|
+
updatedAt: string;
|
|
927
927
|
} | undefined>;
|
|
928
928
|
declare const listApiKeys: (db: DatabaseClient) => (params: {
|
|
929
929
|
scopes: ProjectScopeConfig;
|
|
930
930
|
agentId?: string;
|
|
931
931
|
}) => Promise<{
|
|
932
|
-
name: string | null;
|
|
933
|
-
id: string;
|
|
934
|
-
createdAt: string;
|
|
935
|
-
updatedAt: string;
|
|
936
|
-
expiresAt: string | null;
|
|
937
|
-
projectId: string;
|
|
938
932
|
tenantId: string;
|
|
933
|
+
projectId: string;
|
|
934
|
+
id: string;
|
|
935
|
+
name: string | null;
|
|
939
936
|
agentId: string;
|
|
940
937
|
publicId: string;
|
|
941
938
|
keyHash: string;
|
|
942
939
|
keyPrefix: string;
|
|
943
940
|
lastUsedAt: string | null;
|
|
941
|
+
expiresAt: string | null;
|
|
942
|
+
createdAt: string;
|
|
943
|
+
updatedAt: string;
|
|
944
944
|
}[]>;
|
|
945
945
|
declare const listApiKeysPaginated: (db: DatabaseClient) => (params: {
|
|
946
946
|
scopes: ProjectScopeConfig;
|
|
@@ -956,18 +956,18 @@ declare const listApiKeysPaginated: (db: DatabaseClient) => (params: {
|
|
|
956
956
|
};
|
|
957
957
|
}>;
|
|
958
958
|
declare const createApiKey: (db: DatabaseClient) => (params: ApiKeyInsert) => Promise<{
|
|
959
|
-
name: string | null;
|
|
960
|
-
id: string;
|
|
961
|
-
createdAt: string;
|
|
962
|
-
updatedAt: string;
|
|
963
|
-
expiresAt: string | null;
|
|
964
|
-
projectId: string;
|
|
965
959
|
tenantId: string;
|
|
960
|
+
projectId: string;
|
|
961
|
+
id: string;
|
|
962
|
+
name: string | null;
|
|
966
963
|
agentId: string;
|
|
967
964
|
publicId: string;
|
|
968
965
|
keyHash: string;
|
|
969
966
|
keyPrefix: string;
|
|
970
967
|
lastUsedAt: string | null;
|
|
968
|
+
expiresAt: string | null;
|
|
969
|
+
createdAt: string;
|
|
970
|
+
updatedAt: string;
|
|
971
971
|
}>;
|
|
972
972
|
declare const updateApiKey: (db: DatabaseClient) => (params: {
|
|
973
973
|
scopes: ProjectScopeConfig;
|
|
@@ -1014,13 +1014,13 @@ declare const getArtifactComponentById: (db: DatabaseClient) => (params: {
|
|
|
1014
1014
|
scopes: ProjectScopeConfig;
|
|
1015
1015
|
id: string;
|
|
1016
1016
|
}) => Promise<{
|
|
1017
|
-
|
|
1017
|
+
tenantId: string;
|
|
1018
|
+
projectId: string;
|
|
1018
1019
|
id: string;
|
|
1020
|
+
name: string;
|
|
1021
|
+
description: string | null;
|
|
1019
1022
|
createdAt: string;
|
|
1020
1023
|
updatedAt: string;
|
|
1021
|
-
description: string | null;
|
|
1022
|
-
projectId: string;
|
|
1023
|
-
tenantId: string;
|
|
1024
1024
|
props: Record<string, unknown> | null;
|
|
1025
1025
|
} | undefined>;
|
|
1026
1026
|
declare const listArtifactComponents: (db: DatabaseClient) => (params: {
|
|
@@ -1048,13 +1048,13 @@ declare const listArtifactComponentsPaginated: (db: DatabaseClient) => (params:
|
|
|
1048
1048
|
};
|
|
1049
1049
|
}>;
|
|
1050
1050
|
declare const createArtifactComponent: (db: DatabaseClient) => (params: ArtifactComponentInsert) => Promise<{
|
|
1051
|
-
|
|
1051
|
+
tenantId: string;
|
|
1052
|
+
projectId: string;
|
|
1052
1053
|
id: string;
|
|
1054
|
+
name: string;
|
|
1055
|
+
description: string | null;
|
|
1053
1056
|
createdAt: string;
|
|
1054
1057
|
updatedAt: string;
|
|
1055
|
-
description: string | null;
|
|
1056
|
-
projectId: string;
|
|
1057
|
-
tenantId: string;
|
|
1058
1058
|
props: Record<string, unknown> | null;
|
|
1059
1059
|
}>;
|
|
1060
1060
|
declare const updateArtifactComponent: (db: DatabaseClient) => (params: {
|
|
@@ -1091,11 +1091,11 @@ declare const associateArtifactComponentWithAgent: (db: DatabaseClient) => (para
|
|
|
1091
1091
|
scopes: SubAgentScopeConfig;
|
|
1092
1092
|
artifactComponentId: string;
|
|
1093
1093
|
}) => Promise<{
|
|
1094
|
-
id: string;
|
|
1095
|
-
createdAt: string;
|
|
1096
|
-
projectId: string;
|
|
1097
1094
|
tenantId: string;
|
|
1095
|
+
projectId: string;
|
|
1096
|
+
id: string;
|
|
1098
1097
|
agentId: string;
|
|
1098
|
+
createdAt: string;
|
|
1099
1099
|
subAgentId: string;
|
|
1100
1100
|
artifactComponentId: string;
|
|
1101
1101
|
}>;
|
|
@@ -1134,11 +1134,11 @@ declare const upsertAgentArtifactComponentRelation: (db: DatabaseClient) => (par
|
|
|
1134
1134
|
scopes: SubAgentScopeConfig;
|
|
1135
1135
|
artifactComponentId: string;
|
|
1136
1136
|
}) => Promise<{
|
|
1137
|
-
id: string;
|
|
1138
|
-
createdAt: string;
|
|
1139
|
-
projectId: string;
|
|
1140
1137
|
tenantId: string;
|
|
1138
|
+
projectId: string;
|
|
1139
|
+
id: string;
|
|
1141
1140
|
agentId: string;
|
|
1141
|
+
createdAt: string;
|
|
1142
1142
|
subAgentId: string;
|
|
1143
1143
|
artifactComponentId: string;
|
|
1144
1144
|
} | null>;
|
|
@@ -1218,26 +1218,26 @@ declare const getContextConfigById: (db: DatabaseClient) => (params: {
|
|
|
1218
1218
|
scopes: AgentScopeConfig;
|
|
1219
1219
|
id: string;
|
|
1220
1220
|
}) => Promise<{
|
|
1221
|
+
tenantId: string;
|
|
1222
|
+
projectId: string;
|
|
1221
1223
|
id: string;
|
|
1224
|
+
agentId: string;
|
|
1222
1225
|
createdAt: string;
|
|
1223
1226
|
updatedAt: string;
|
|
1224
|
-
projectId: string;
|
|
1225
|
-
tenantId: string;
|
|
1226
1227
|
headersSchema: unknown;
|
|
1227
1228
|
contextVariables: Record<string, ContextFetchDefinition> | null;
|
|
1228
|
-
agentId: string;
|
|
1229
1229
|
} | undefined>;
|
|
1230
1230
|
declare const listContextConfigs: (db: DatabaseClient) => (params: {
|
|
1231
1231
|
scopes: AgentScopeConfig;
|
|
1232
1232
|
}) => Promise<{
|
|
1233
|
+
tenantId: string;
|
|
1234
|
+
projectId: string;
|
|
1233
1235
|
id: string;
|
|
1236
|
+
agentId: string;
|
|
1234
1237
|
createdAt: string;
|
|
1235
1238
|
updatedAt: string;
|
|
1236
|
-
projectId: string;
|
|
1237
|
-
tenantId: string;
|
|
1238
1239
|
headersSchema: unknown;
|
|
1239
1240
|
contextVariables: Record<string, ContextFetchDefinition> | null;
|
|
1240
|
-
agentId: string;
|
|
1241
1241
|
}[]>;
|
|
1242
1242
|
declare const listContextConfigsPaginated: (db: DatabaseClient) => (params: {
|
|
1243
1243
|
scopes: AgentScopeConfig;
|
|
@@ -1252,14 +1252,14 @@ declare const listContextConfigsPaginated: (db: DatabaseClient) => (params: {
|
|
|
1252
1252
|
};
|
|
1253
1253
|
}>;
|
|
1254
1254
|
declare const createContextConfig: (db: DatabaseClient) => (params: ContextConfigInsert) => Promise<{
|
|
1255
|
+
tenantId: string;
|
|
1256
|
+
projectId: string;
|
|
1255
1257
|
id: string;
|
|
1258
|
+
agentId: string;
|
|
1256
1259
|
createdAt: string;
|
|
1257
1260
|
updatedAt: string;
|
|
1258
|
-
projectId: string;
|
|
1259
|
-
tenantId: string;
|
|
1260
1261
|
headersSchema: unknown;
|
|
1261
1262
|
contextVariables: Record<string, ContextFetchDefinition> | null;
|
|
1262
|
-
agentId: string;
|
|
1263
1263
|
}>;
|
|
1264
1264
|
declare const updateContextConfig: (db: DatabaseClient) => (params: {
|
|
1265
1265
|
scopes: AgentScopeConfig;
|
|
@@ -1292,14 +1292,14 @@ declare const countContextConfigs: (db: DatabaseClient) => (params: {
|
|
|
1292
1292
|
declare const upsertContextConfig: (db: DatabaseClient) => (params: {
|
|
1293
1293
|
data: ContextConfigInsert;
|
|
1294
1294
|
}) => Promise<{
|
|
1295
|
+
tenantId: string;
|
|
1296
|
+
projectId: string;
|
|
1295
1297
|
id: string;
|
|
1298
|
+
agentId: string;
|
|
1296
1299
|
createdAt: string;
|
|
1297
1300
|
updatedAt: string;
|
|
1298
|
-
projectId: string;
|
|
1299
|
-
tenantId: string;
|
|
1300
1301
|
headersSchema: unknown;
|
|
1301
1302
|
contextVariables: Record<string, ContextFetchDefinition> | null;
|
|
1302
|
-
agentId: string;
|
|
1303
1303
|
}>;
|
|
1304
1304
|
|
|
1305
1305
|
declare const listConversations: (db: DatabaseClient) => (params: {
|
|
@@ -1311,14 +1311,14 @@ declare const listConversations: (db: DatabaseClient) => (params: {
|
|
|
1311
1311
|
total: number;
|
|
1312
1312
|
}>;
|
|
1313
1313
|
declare const createConversation: (db: DatabaseClient) => (params: ConversationInsert) => Promise<{
|
|
1314
|
+
tenantId: string;
|
|
1315
|
+
projectId: string;
|
|
1314
1316
|
id: string;
|
|
1317
|
+
title: string | null;
|
|
1315
1318
|
createdAt: string;
|
|
1316
1319
|
updatedAt: string;
|
|
1317
|
-
userId: string | null;
|
|
1318
1320
|
metadata: ConversationMetadata | null;
|
|
1319
|
-
|
|
1320
|
-
projectId: string;
|
|
1321
|
-
tenantId: string;
|
|
1321
|
+
userId: string | null;
|
|
1322
1322
|
activeSubAgentId: string;
|
|
1323
1323
|
lastContextResolution: string | null;
|
|
1324
1324
|
}>;
|
|
@@ -1362,14 +1362,14 @@ declare const getConversation: (db: DatabaseClient) => (params: {
|
|
|
1362
1362
|
scopes: ProjectScopeConfig;
|
|
1363
1363
|
conversationId: string;
|
|
1364
1364
|
}) => Promise<{
|
|
1365
|
+
tenantId: string;
|
|
1366
|
+
projectId: string;
|
|
1365
1367
|
id: string;
|
|
1368
|
+
title: string | null;
|
|
1366
1369
|
createdAt: string;
|
|
1367
1370
|
updatedAt: string;
|
|
1368
|
-
userId: string | null;
|
|
1369
1371
|
metadata: ConversationMetadata | null;
|
|
1370
|
-
|
|
1371
|
-
projectId: string;
|
|
1372
|
-
tenantId: string;
|
|
1372
|
+
userId: string | null;
|
|
1373
1373
|
activeSubAgentId: string;
|
|
1374
1374
|
lastContextResolution: string | null;
|
|
1375
1375
|
} | undefined>;
|
|
@@ -1386,14 +1386,14 @@ declare const createOrGetConversation: (db: DatabaseClient) => (input: Conversat
|
|
|
1386
1386
|
metadata?: ConversationMetadata | null | undefined;
|
|
1387
1387
|
contextConfigId?: string | undefined;
|
|
1388
1388
|
} | {
|
|
1389
|
+
tenantId: string;
|
|
1390
|
+
projectId: string;
|
|
1389
1391
|
id: string;
|
|
1392
|
+
title: string | null;
|
|
1390
1393
|
createdAt: string;
|
|
1391
1394
|
updatedAt: string;
|
|
1392
|
-
userId: string | null;
|
|
1393
1395
|
metadata: ConversationMetadata | null;
|
|
1394
|
-
|
|
1395
|
-
projectId: string;
|
|
1396
|
-
tenantId: string;
|
|
1396
|
+
userId: string | null;
|
|
1397
1397
|
activeSubAgentId: string;
|
|
1398
1398
|
lastContextResolution: string | null;
|
|
1399
1399
|
}>;
|
|
@@ -1412,14 +1412,14 @@ declare const getActiveAgentForConversation: (db: DatabaseClient) => (params: {
|
|
|
1412
1412
|
scopes: ProjectScopeConfig;
|
|
1413
1413
|
conversationId: string;
|
|
1414
1414
|
}) => Promise<{
|
|
1415
|
+
tenantId: string;
|
|
1416
|
+
projectId: string;
|
|
1415
1417
|
id: string;
|
|
1418
|
+
title: string | null;
|
|
1416
1419
|
createdAt: string;
|
|
1417
1420
|
updatedAt: string;
|
|
1418
|
-
userId: string | null;
|
|
1419
1421
|
metadata: ConversationMetadata | null;
|
|
1420
|
-
|
|
1421
|
-
projectId: string;
|
|
1422
|
-
tenantId: string;
|
|
1422
|
+
userId: string | null;
|
|
1423
1423
|
activeSubAgentId: string;
|
|
1424
1424
|
lastContextResolution: string | null;
|
|
1425
1425
|
} | undefined>;
|
|
@@ -1582,11 +1582,11 @@ declare const associateDataComponentWithAgent: (db: DatabaseClient) => (params:
|
|
|
1582
1582
|
scopes: SubAgentScopeConfig;
|
|
1583
1583
|
dataComponentId: string;
|
|
1584
1584
|
}) => Promise<{
|
|
1585
|
-
id: string;
|
|
1586
|
-
createdAt: string;
|
|
1587
|
-
projectId: string;
|
|
1588
1585
|
tenantId: string;
|
|
1586
|
+
projectId: string;
|
|
1587
|
+
id: string;
|
|
1589
1588
|
agentId: string;
|
|
1589
|
+
createdAt: string;
|
|
1590
1590
|
subAgentId: string;
|
|
1591
1591
|
dataComponentId: string;
|
|
1592
1592
|
}>;
|
|
@@ -1624,11 +1624,11 @@ declare const upsertAgentDataComponentRelation: (db: DatabaseClient) => (params:
|
|
|
1624
1624
|
scopes: SubAgentScopeConfig;
|
|
1625
1625
|
dataComponentId: string;
|
|
1626
1626
|
}) => Promise<{
|
|
1627
|
-
id: string;
|
|
1628
|
-
createdAt: string;
|
|
1629
|
-
projectId: string;
|
|
1630
1627
|
tenantId: string;
|
|
1628
|
+
projectId: string;
|
|
1629
|
+
id: string;
|
|
1631
1630
|
agentId: string;
|
|
1631
|
+
createdAt: string;
|
|
1632
1632
|
subAgentId: string;
|
|
1633
1633
|
dataComponentId: string;
|
|
1634
1634
|
} | null>;
|
|
@@ -1803,14 +1803,14 @@ declare const createFunctionTool: (db: DatabaseClient) => (params: {
|
|
|
1803
1803
|
data: FunctionToolApiInsert;
|
|
1804
1804
|
scopes: AgentScopeConfig;
|
|
1805
1805
|
}) => Promise<{
|
|
1806
|
-
|
|
1806
|
+
tenantId: string;
|
|
1807
|
+
projectId: string;
|
|
1807
1808
|
id: string;
|
|
1808
|
-
|
|
1809
|
-
updatedAt: string;
|
|
1809
|
+
name: string;
|
|
1810
1810
|
description: string | null;
|
|
1811
|
-
projectId: string;
|
|
1812
|
-
tenantId: string;
|
|
1813
1811
|
agentId: string;
|
|
1812
|
+
createdAt: string;
|
|
1813
|
+
updatedAt: string;
|
|
1814
1814
|
functionId: string;
|
|
1815
1815
|
}>;
|
|
1816
1816
|
/**
|
|
@@ -1845,14 +1845,14 @@ declare const upsertFunctionTool: (db: DatabaseClient) => (params: {
|
|
|
1845
1845
|
data: FunctionToolApiInsert;
|
|
1846
1846
|
scopes: AgentScopeConfig;
|
|
1847
1847
|
}) => Promise<{
|
|
1848
|
-
|
|
1848
|
+
tenantId: string;
|
|
1849
|
+
projectId: string;
|
|
1849
1850
|
id: string;
|
|
1850
|
-
|
|
1851
|
-
updatedAt: string;
|
|
1851
|
+
name: string;
|
|
1852
1852
|
description: string | null;
|
|
1853
|
-
projectId: string;
|
|
1854
|
-
tenantId: string;
|
|
1855
1853
|
agentId: string;
|
|
1854
|
+
createdAt: string;
|
|
1855
|
+
updatedAt: string;
|
|
1856
1856
|
functionId: string;
|
|
1857
1857
|
}>;
|
|
1858
1858
|
declare const getFunctionToolsForSubAgent: (db: DatabaseClient) => (params: {
|
|
@@ -1982,14 +1982,15 @@ declare const getMessageById: (db: DatabaseClient) => (params: {
|
|
|
1982
1982
|
scopes: ProjectScopeConfig;
|
|
1983
1983
|
messageId: string;
|
|
1984
1984
|
}) => Promise<{
|
|
1985
|
+
tenantId: string;
|
|
1986
|
+
projectId: string;
|
|
1985
1987
|
id: string;
|
|
1986
1988
|
createdAt: string;
|
|
1987
1989
|
updatedAt: string;
|
|
1988
1990
|
metadata: MessageMetadata | null;
|
|
1989
|
-
role: string;
|
|
1990
|
-
projectId: string;
|
|
1991
|
-
tenantId: string;
|
|
1992
1991
|
content: MessageContent;
|
|
1992
|
+
role: string;
|
|
1993
|
+
taskId: string | null;
|
|
1993
1994
|
conversationId: string;
|
|
1994
1995
|
fromSubAgentId: string | null;
|
|
1995
1996
|
toSubAgentId: string | null;
|
|
@@ -1999,7 +2000,6 @@ declare const getMessageById: (db: DatabaseClient) => (params: {
|
|
|
1999
2000
|
toTeamAgentId: string | null;
|
|
2000
2001
|
visibility: string;
|
|
2001
2002
|
messageType: string;
|
|
2002
|
-
taskId: string | null;
|
|
2003
2003
|
parentMessageId: string | null;
|
|
2004
2004
|
a2aTaskId: string | null;
|
|
2005
2005
|
a2aSessionId: string | null;
|
|
@@ -2113,14 +2113,15 @@ declare const getVisibleMessages: (db: DatabaseClient) => (params: {
|
|
|
2113
2113
|
id: string;
|
|
2114
2114
|
}[]>;
|
|
2115
2115
|
declare const createMessage: (db: DatabaseClient) => (params: MessageInsert) => Promise<{
|
|
2116
|
+
tenantId: string;
|
|
2117
|
+
projectId: string;
|
|
2116
2118
|
id: string;
|
|
2117
2119
|
createdAt: string;
|
|
2118
2120
|
updatedAt: string;
|
|
2119
2121
|
metadata: MessageMetadata | null;
|
|
2120
|
-
role: string;
|
|
2121
|
-
projectId: string;
|
|
2122
|
-
tenantId: string;
|
|
2123
2122
|
content: MessageContent;
|
|
2123
|
+
role: string;
|
|
2124
|
+
taskId: string | null;
|
|
2124
2125
|
conversationId: string;
|
|
2125
2126
|
fromSubAgentId: string | null;
|
|
2126
2127
|
toSubAgentId: string | null;
|
|
@@ -2130,7 +2131,6 @@ declare const createMessage: (db: DatabaseClient) => (params: MessageInsert) =>
|
|
|
2130
2131
|
toTeamAgentId: string | null;
|
|
2131
2132
|
visibility: string;
|
|
2132
2133
|
messageType: string;
|
|
2133
|
-
taskId: string | null;
|
|
2134
2134
|
parentMessageId: string | null;
|
|
2135
2135
|
a2aTaskId: string | null;
|
|
2136
2136
|
a2aSessionId: string | null;
|
|
@@ -2166,14 +2166,15 @@ declare const deleteMessage: (db: DatabaseClient) => (params: {
|
|
|
2166
2166
|
scopes: ProjectScopeConfig;
|
|
2167
2167
|
messageId: string;
|
|
2168
2168
|
}) => Promise<{
|
|
2169
|
+
tenantId: string;
|
|
2170
|
+
projectId: string;
|
|
2169
2171
|
id: string;
|
|
2170
2172
|
createdAt: string;
|
|
2171
2173
|
updatedAt: string;
|
|
2172
2174
|
metadata: MessageMetadata | null;
|
|
2173
|
-
role: string;
|
|
2174
|
-
projectId: string;
|
|
2175
|
-
tenantId: string;
|
|
2176
2175
|
content: MessageContent;
|
|
2176
|
+
role: string;
|
|
2177
|
+
taskId: string | null;
|
|
2177
2178
|
conversationId: string;
|
|
2178
2179
|
fromSubAgentId: string | null;
|
|
2179
2180
|
toSubAgentId: string | null;
|
|
@@ -2183,7 +2184,6 @@ declare const deleteMessage: (db: DatabaseClient) => (params: {
|
|
|
2183
2184
|
toTeamAgentId: string | null;
|
|
2184
2185
|
visibility: string;
|
|
2185
2186
|
messageType: string;
|
|
2186
|
-
taskId: string | null;
|
|
2187
2187
|
parentMessageId: string | null;
|
|
2188
2188
|
a2aTaskId: string | null;
|
|
2189
2189
|
a2aSessionId: string | null;
|
|
@@ -2328,15 +2328,15 @@ declare const getSubAgentExternalAgentRelationById: (db: DatabaseClient) => (par
|
|
|
2328
2328
|
scopes: SubAgentScopeConfig;
|
|
2329
2329
|
relationId: string;
|
|
2330
2330
|
}) => Promise<{
|
|
2331
|
+
tenantId: string;
|
|
2332
|
+
projectId: string;
|
|
2331
2333
|
id: string;
|
|
2334
|
+
agentId: string;
|
|
2332
2335
|
createdAt: string;
|
|
2333
2336
|
updatedAt: string;
|
|
2334
2337
|
headers: Record<string, string> | null;
|
|
2335
|
-
projectId: string;
|
|
2336
|
-
tenantId: string;
|
|
2337
|
-
agentId: string;
|
|
2338
|
-
subAgentId: string;
|
|
2339
2338
|
externalAgentId: string;
|
|
2339
|
+
subAgentId: string;
|
|
2340
2340
|
} | undefined>;
|
|
2341
2341
|
declare const listSubAgentExternalAgentRelations: (db: DatabaseClient) => (params: {
|
|
2342
2342
|
scopes: SubAgentScopeConfig;
|
|
@@ -2363,28 +2363,28 @@ declare const listSubAgentExternalAgentRelations: (db: DatabaseClient) => (param
|
|
|
2363
2363
|
declare const getSubAgentExternalAgentRelations: (db: DatabaseClient) => (params: {
|
|
2364
2364
|
scopes: SubAgentScopeConfig;
|
|
2365
2365
|
}) => Promise<{
|
|
2366
|
+
tenantId: string;
|
|
2367
|
+
projectId: string;
|
|
2366
2368
|
id: string;
|
|
2369
|
+
agentId: string;
|
|
2367
2370
|
createdAt: string;
|
|
2368
2371
|
updatedAt: string;
|
|
2369
2372
|
headers: Record<string, string> | null;
|
|
2370
|
-
projectId: string;
|
|
2371
|
-
tenantId: string;
|
|
2372
|
-
agentId: string;
|
|
2373
|
-
subAgentId: string;
|
|
2374
2373
|
externalAgentId: string;
|
|
2374
|
+
subAgentId: string;
|
|
2375
2375
|
}[]>;
|
|
2376
2376
|
declare const getSubAgentExternalAgentRelationsByAgent: (db: DatabaseClient) => (params: {
|
|
2377
2377
|
scopes: AgentScopeConfig;
|
|
2378
2378
|
}) => Promise<{
|
|
2379
|
+
tenantId: string;
|
|
2380
|
+
projectId: string;
|
|
2379
2381
|
id: string;
|
|
2382
|
+
agentId: string;
|
|
2380
2383
|
createdAt: string;
|
|
2381
2384
|
updatedAt: string;
|
|
2382
2385
|
headers: Record<string, string> | null;
|
|
2383
|
-
projectId: string;
|
|
2384
|
-
tenantId: string;
|
|
2385
|
-
agentId: string;
|
|
2386
|
-
subAgentId: string;
|
|
2387
2386
|
externalAgentId: string;
|
|
2387
|
+
subAgentId: string;
|
|
2388
2388
|
}[]>;
|
|
2389
2389
|
declare const getSubAgentExternalAgentRelationsByExternalAgent: (db: DatabaseClient) => (params: {
|
|
2390
2390
|
scopes: AgentScopeConfig;
|
|
@@ -2499,15 +2499,15 @@ declare const createSubAgentExternalAgentRelation: (db: DatabaseClient) => (para
|
|
|
2499
2499
|
headers?: Record<string, string> | null;
|
|
2500
2500
|
};
|
|
2501
2501
|
}) => Promise<{
|
|
2502
|
+
tenantId: string;
|
|
2503
|
+
projectId: string;
|
|
2502
2504
|
id: string;
|
|
2505
|
+
agentId: string;
|
|
2503
2506
|
createdAt: string;
|
|
2504
2507
|
updatedAt: string;
|
|
2505
2508
|
headers: Record<string, string> | null;
|
|
2506
|
-
projectId: string;
|
|
2507
|
-
tenantId: string;
|
|
2508
|
-
agentId: string;
|
|
2509
|
-
subAgentId: string;
|
|
2510
2509
|
externalAgentId: string;
|
|
2510
|
+
subAgentId: string;
|
|
2511
2511
|
}>;
|
|
2512
2512
|
/**
|
|
2513
2513
|
* Check if sub-agent external agent relation exists by params
|
|
@@ -2516,15 +2516,15 @@ declare const getSubAgentExternalAgentRelationByParams: (db: DatabaseClient) =>
|
|
|
2516
2516
|
scopes: SubAgentScopeConfig;
|
|
2517
2517
|
externalAgentId: string;
|
|
2518
2518
|
}) => Promise<{
|
|
2519
|
+
tenantId: string;
|
|
2520
|
+
projectId: string;
|
|
2519
2521
|
id: string;
|
|
2522
|
+
agentId: string;
|
|
2520
2523
|
createdAt: string;
|
|
2521
2524
|
updatedAt: string;
|
|
2522
2525
|
headers: Record<string, string> | null;
|
|
2523
|
-
projectId: string;
|
|
2524
|
-
tenantId: string;
|
|
2525
|
-
agentId: string;
|
|
2526
|
-
subAgentId: string;
|
|
2527
2526
|
externalAgentId: string;
|
|
2527
|
+
subAgentId: string;
|
|
2528
2528
|
} | undefined>;
|
|
2529
2529
|
/**
|
|
2530
2530
|
* Upsert sub-agent external agent relation (create if it doesn't exist, update if it does)
|
|
@@ -2537,15 +2537,15 @@ declare const upsertSubAgentExternalAgentRelation: (db: DatabaseClient) => (para
|
|
|
2537
2537
|
headers?: Record<string, string> | null;
|
|
2538
2538
|
};
|
|
2539
2539
|
}) => Promise<{
|
|
2540
|
+
tenantId: string;
|
|
2541
|
+
projectId: string;
|
|
2540
2542
|
id: string;
|
|
2543
|
+
agentId: string;
|
|
2541
2544
|
createdAt: string;
|
|
2542
2545
|
updatedAt: string;
|
|
2543
2546
|
headers: Record<string, string> | null;
|
|
2544
|
-
projectId: string;
|
|
2545
|
-
tenantId: string;
|
|
2546
|
-
agentId: string;
|
|
2547
|
-
subAgentId: string;
|
|
2548
2547
|
externalAgentId: string;
|
|
2548
|
+
subAgentId: string;
|
|
2549
2549
|
}>;
|
|
2550
2550
|
declare const updateSubAgentExternalAgentRelation: (db: DatabaseClient) => (params: {
|
|
2551
2551
|
scopes: SubAgentScopeConfig;
|
|
@@ -2577,12 +2577,12 @@ declare const getAgentRelationById: (db: DatabaseClient) => (params: {
|
|
|
2577
2577
|
scopes: AgentScopeConfig;
|
|
2578
2578
|
relationId: string;
|
|
2579
2579
|
}) => Promise<{
|
|
2580
|
+
tenantId: string;
|
|
2581
|
+
projectId: string;
|
|
2580
2582
|
id: string;
|
|
2583
|
+
agentId: string;
|
|
2581
2584
|
createdAt: string;
|
|
2582
2585
|
updatedAt: string;
|
|
2583
|
-
projectId: string;
|
|
2584
|
-
tenantId: string;
|
|
2585
|
-
agentId: string;
|
|
2586
2586
|
sourceSubAgentId: string;
|
|
2587
2587
|
targetSubAgentId: string | null;
|
|
2588
2588
|
relationType: string | null;
|
|
@@ -2612,12 +2612,12 @@ declare const listAgentRelations: (db: DatabaseClient) => (params: {
|
|
|
2612
2612
|
declare const getAgentRelations: (db: DatabaseClient) => (params: {
|
|
2613
2613
|
scopes: SubAgentScopeConfig;
|
|
2614
2614
|
}) => Promise<{
|
|
2615
|
+
tenantId: string;
|
|
2616
|
+
projectId: string;
|
|
2615
2617
|
id: string;
|
|
2618
|
+
agentId: string;
|
|
2616
2619
|
createdAt: string;
|
|
2617
2620
|
updatedAt: string;
|
|
2618
|
-
projectId: string;
|
|
2619
|
-
tenantId: string;
|
|
2620
|
-
agentId: string;
|
|
2621
2621
|
sourceSubAgentId: string;
|
|
2622
2622
|
targetSubAgentId: string | null;
|
|
2623
2623
|
relationType: string | null;
|
|
@@ -2625,12 +2625,12 @@ declare const getAgentRelations: (db: DatabaseClient) => (params: {
|
|
|
2625
2625
|
declare const getAgentRelationsByAgent: (db: DatabaseClient) => (params: {
|
|
2626
2626
|
scopes: AgentScopeConfig;
|
|
2627
2627
|
}) => Promise<{
|
|
2628
|
+
tenantId: string;
|
|
2629
|
+
projectId: string;
|
|
2628
2630
|
id: string;
|
|
2631
|
+
agentId: string;
|
|
2629
2632
|
createdAt: string;
|
|
2630
2633
|
updatedAt: string;
|
|
2631
|
-
projectId: string;
|
|
2632
|
-
tenantId: string;
|
|
2633
|
-
agentId: string;
|
|
2634
2634
|
sourceSubAgentId: string;
|
|
2635
2635
|
targetSubAgentId: string | null;
|
|
2636
2636
|
relationType: string | null;
|
|
@@ -2694,12 +2694,12 @@ declare const getRelatedAgentsForAgent: (db: DatabaseClient) => (params: {
|
|
|
2694
2694
|
}[];
|
|
2695
2695
|
}>;
|
|
2696
2696
|
declare const createSubAgentRelation: (db: DatabaseClient) => (params: SubAgentRelationInsert) => Promise<{
|
|
2697
|
+
tenantId: string;
|
|
2698
|
+
projectId: string;
|
|
2697
2699
|
id: string;
|
|
2700
|
+
agentId: string;
|
|
2698
2701
|
createdAt: string;
|
|
2699
2702
|
updatedAt: string;
|
|
2700
|
-
projectId: string;
|
|
2701
|
-
tenantId: string;
|
|
2702
|
-
agentId: string;
|
|
2703
2703
|
sourceSubAgentId: string;
|
|
2704
2704
|
targetSubAgentId: string | null;
|
|
2705
2705
|
relationType: string | null;
|
|
@@ -2713,12 +2713,12 @@ declare const getAgentRelationByParams: (db: DatabaseClient) => (params: {
|
|
|
2713
2713
|
targetSubAgentId?: string;
|
|
2714
2714
|
relationType: string;
|
|
2715
2715
|
}) => Promise<{
|
|
2716
|
+
tenantId: string;
|
|
2717
|
+
projectId: string;
|
|
2716
2718
|
id: string;
|
|
2719
|
+
agentId: string;
|
|
2717
2720
|
createdAt: string;
|
|
2718
2721
|
updatedAt: string;
|
|
2719
|
-
projectId: string;
|
|
2720
|
-
tenantId: string;
|
|
2721
|
-
agentId: string;
|
|
2722
2722
|
sourceSubAgentId: string;
|
|
2723
2723
|
targetSubAgentId: string | null;
|
|
2724
2724
|
relationType: string | null;
|
|
@@ -2727,12 +2727,12 @@ declare const getAgentRelationByParams: (db: DatabaseClient) => (params: {
|
|
|
2727
2727
|
* Upsert agent relation (create if it doesn't exist, no-op if it does)
|
|
2728
2728
|
*/
|
|
2729
2729
|
declare const upsertSubAgentRelation: (db: DatabaseClient) => (params: SubAgentRelationInsert) => Promise<{
|
|
2730
|
+
tenantId: string;
|
|
2731
|
+
projectId: string;
|
|
2730
2732
|
id: string;
|
|
2733
|
+
agentId: string;
|
|
2731
2734
|
createdAt: string;
|
|
2732
2735
|
updatedAt: string;
|
|
2733
|
-
projectId: string;
|
|
2734
|
-
tenantId: string;
|
|
2735
|
-
agentId: string;
|
|
2736
2736
|
sourceSubAgentId: string;
|
|
2737
2737
|
targetSubAgentId: string | null;
|
|
2738
2738
|
relationType: string | null;
|
|
@@ -2772,19 +2772,19 @@ declare const createAgentToolRelation: (db: DatabaseClient) => (params: {
|
|
|
2772
2772
|
}> | null;
|
|
2773
2773
|
};
|
|
2774
2774
|
}) => Promise<{
|
|
2775
|
+
tenantId: string;
|
|
2776
|
+
projectId: string;
|
|
2775
2777
|
id: string;
|
|
2778
|
+
agentId: string;
|
|
2776
2779
|
createdAt: string;
|
|
2777
2780
|
updatedAt: string;
|
|
2778
2781
|
headers: Record<string, string> | null;
|
|
2779
|
-
projectId: string;
|
|
2780
|
-
tenantId: string;
|
|
2781
|
-
agentId: string;
|
|
2782
|
-
selectedTools: string[] | null;
|
|
2783
|
-
subAgentId: string;
|
|
2784
2782
|
toolId: string;
|
|
2785
2783
|
toolPolicies: Record<string, {
|
|
2786
2784
|
needsApproval?: boolean;
|
|
2787
2785
|
}> | null;
|
|
2786
|
+
selectedTools: string[] | null;
|
|
2787
|
+
subAgentId: string;
|
|
2788
2788
|
}>;
|
|
2789
2789
|
declare const updateAgentToolRelation: (db: DatabaseClient) => (params: {
|
|
2790
2790
|
scopes: AgentScopeConfig;
|
|
@@ -2816,19 +2816,19 @@ declare const getAgentToolRelationById: (db: DatabaseClient) => (params: {
|
|
|
2816
2816
|
scopes: SubAgentScopeConfig;
|
|
2817
2817
|
relationId: string;
|
|
2818
2818
|
}) => Promise<{
|
|
2819
|
+
tenantId: string;
|
|
2820
|
+
projectId: string;
|
|
2819
2821
|
id: string;
|
|
2822
|
+
agentId: string;
|
|
2820
2823
|
createdAt: string;
|
|
2821
2824
|
updatedAt: string;
|
|
2822
2825
|
headers: Record<string, string> | null;
|
|
2823
|
-
projectId: string;
|
|
2824
|
-
tenantId: string;
|
|
2825
|
-
agentId: string;
|
|
2826
|
-
selectedTools: string[] | null;
|
|
2827
|
-
subAgentId: string;
|
|
2828
2826
|
toolId: string;
|
|
2829
2827
|
toolPolicies: Record<string, {
|
|
2830
2828
|
needsApproval?: boolean;
|
|
2831
2829
|
}> | null;
|
|
2830
|
+
selectedTools: string[] | null;
|
|
2831
|
+
subAgentId: string;
|
|
2832
2832
|
} | undefined>;
|
|
2833
2833
|
declare const getAgentToolRelationByAgent: (db: DatabaseClient) => (params: {
|
|
2834
2834
|
scopes: SubAgentScopeConfig;
|
|
@@ -3010,13 +3010,15 @@ declare const getSubAgentById: (db: DatabaseClient) => (params: {
|
|
|
3010
3010
|
scopes: AgentScopeConfig;
|
|
3011
3011
|
subAgentId: string;
|
|
3012
3012
|
}) => Promise<{
|
|
3013
|
-
|
|
3013
|
+
tenantId: string;
|
|
3014
|
+
projectId: string;
|
|
3014
3015
|
id: string;
|
|
3016
|
+
name: string;
|
|
3017
|
+
description: string | null;
|
|
3018
|
+
prompt: string | null;
|
|
3019
|
+
agentId: string;
|
|
3015
3020
|
createdAt: string;
|
|
3016
3021
|
updatedAt: string;
|
|
3017
|
-
description: string | null;
|
|
3018
|
-
projectId: string;
|
|
3019
|
-
tenantId: string;
|
|
3020
3022
|
models: {
|
|
3021
3023
|
base?: {
|
|
3022
3024
|
model?: string | undefined;
|
|
@@ -3034,20 +3036,20 @@ declare const getSubAgentById: (db: DatabaseClient) => (params: {
|
|
|
3034
3036
|
stopWhen: {
|
|
3035
3037
|
stepCountIs?: number | undefined;
|
|
3036
3038
|
} | null;
|
|
3037
|
-
agentId: string;
|
|
3038
|
-
prompt: string | null;
|
|
3039
3039
|
conversationHistoryConfig: ConversationHistoryConfig | null;
|
|
3040
3040
|
} | undefined>;
|
|
3041
3041
|
declare const listSubAgents: (db: DatabaseClient) => (params: {
|
|
3042
3042
|
scopes: AgentScopeConfig;
|
|
3043
3043
|
}) => Promise<{
|
|
3044
|
-
|
|
3044
|
+
tenantId: string;
|
|
3045
|
+
projectId: string;
|
|
3045
3046
|
id: string;
|
|
3047
|
+
name: string;
|
|
3048
|
+
description: string | null;
|
|
3049
|
+
prompt: string | null;
|
|
3050
|
+
agentId: string;
|
|
3046
3051
|
createdAt: string;
|
|
3047
3052
|
updatedAt: string;
|
|
3048
|
-
description: string | null;
|
|
3049
|
-
projectId: string;
|
|
3050
|
-
tenantId: string;
|
|
3051
3053
|
models: {
|
|
3052
3054
|
base?: {
|
|
3053
3055
|
model?: string | undefined;
|
|
@@ -3065,8 +3067,6 @@ declare const listSubAgents: (db: DatabaseClient) => (params: {
|
|
|
3065
3067
|
stopWhen: {
|
|
3066
3068
|
stepCountIs?: number | undefined;
|
|
3067
3069
|
} | null;
|
|
3068
|
-
agentId: string;
|
|
3069
|
-
prompt: string | null;
|
|
3070
3070
|
conversationHistoryConfig: ConversationHistoryConfig | null;
|
|
3071
3071
|
}[]>;
|
|
3072
3072
|
declare const listSubAgentsPaginated: (db: DatabaseClient) => (params: {
|
|
@@ -3110,13 +3110,15 @@ declare const listSubAgentsPaginated: (db: DatabaseClient) => (params: {
|
|
|
3110
3110
|
};
|
|
3111
3111
|
}>;
|
|
3112
3112
|
declare const createSubAgent: (db: DatabaseClient) => (params: SubAgentInsert) => Promise<{
|
|
3113
|
-
|
|
3113
|
+
tenantId: string;
|
|
3114
|
+
projectId: string;
|
|
3114
3115
|
id: string;
|
|
3116
|
+
name: string;
|
|
3117
|
+
description: string | null;
|
|
3118
|
+
prompt: string | null;
|
|
3119
|
+
agentId: string;
|
|
3115
3120
|
createdAt: string;
|
|
3116
3121
|
updatedAt: string;
|
|
3117
|
-
description: string | null;
|
|
3118
|
-
projectId: string;
|
|
3119
|
-
tenantId: string;
|
|
3120
3122
|
models: {
|
|
3121
3123
|
base?: {
|
|
3122
3124
|
model?: string | undefined;
|
|
@@ -3134,8 +3136,6 @@ declare const createSubAgent: (db: DatabaseClient) => (params: SubAgentInsert) =
|
|
|
3134
3136
|
stopWhen: {
|
|
3135
3137
|
stepCountIs?: number | undefined;
|
|
3136
3138
|
} | null;
|
|
3137
|
-
agentId: string;
|
|
3138
|
-
prompt: string | null;
|
|
3139
3139
|
conversationHistoryConfig: ConversationHistoryConfig | null;
|
|
3140
3140
|
}>;
|
|
3141
3141
|
declare const updateSubAgent: (db: DatabaseClient) => (params: {
|
|
@@ -3223,13 +3223,13 @@ declare const getSubAgentTeamAgentRelationById: (db: DatabaseClient) => (params:
|
|
|
3223
3223
|
scopes: SubAgentScopeConfig;
|
|
3224
3224
|
relationId: string;
|
|
3225
3225
|
}) => Promise<{
|
|
3226
|
+
tenantId: string;
|
|
3227
|
+
projectId: string;
|
|
3226
3228
|
id: string;
|
|
3229
|
+
agentId: string;
|
|
3227
3230
|
createdAt: string;
|
|
3228
3231
|
updatedAt: string;
|
|
3229
3232
|
headers: Record<string, string> | null;
|
|
3230
|
-
projectId: string;
|
|
3231
|
-
tenantId: string;
|
|
3232
|
-
agentId: string;
|
|
3233
3233
|
subAgentId: string;
|
|
3234
3234
|
targetAgentId: string;
|
|
3235
3235
|
} | undefined>;
|
|
@@ -3258,26 +3258,26 @@ declare const listSubAgentTeamAgentRelations: (db: DatabaseClient) => (params: {
|
|
|
3258
3258
|
declare const getSubAgentTeamAgentRelations: (db: DatabaseClient) => (params: {
|
|
3259
3259
|
scopes: SubAgentScopeConfig;
|
|
3260
3260
|
}) => Promise<{
|
|
3261
|
+
tenantId: string;
|
|
3262
|
+
projectId: string;
|
|
3261
3263
|
id: string;
|
|
3264
|
+
agentId: string;
|
|
3262
3265
|
createdAt: string;
|
|
3263
3266
|
updatedAt: string;
|
|
3264
3267
|
headers: Record<string, string> | null;
|
|
3265
|
-
projectId: string;
|
|
3266
|
-
tenantId: string;
|
|
3267
|
-
agentId: string;
|
|
3268
3268
|
subAgentId: string;
|
|
3269
3269
|
targetAgentId: string;
|
|
3270
3270
|
}[]>;
|
|
3271
3271
|
declare const getSubAgentTeamAgentRelationsByAgent: (db: DatabaseClient) => (params: {
|
|
3272
3272
|
scopes: AgentScopeConfig;
|
|
3273
3273
|
}) => Promise<{
|
|
3274
|
+
tenantId: string;
|
|
3275
|
+
projectId: string;
|
|
3274
3276
|
id: string;
|
|
3277
|
+
agentId: string;
|
|
3275
3278
|
createdAt: string;
|
|
3276
3279
|
updatedAt: string;
|
|
3277
3280
|
headers: Record<string, string> | null;
|
|
3278
|
-
projectId: string;
|
|
3279
|
-
tenantId: string;
|
|
3280
|
-
agentId: string;
|
|
3281
3281
|
subAgentId: string;
|
|
3282
3282
|
targetAgentId: string;
|
|
3283
3283
|
}[]>;
|
|
@@ -3424,13 +3424,13 @@ declare const createSubAgentTeamAgentRelation: (db: DatabaseClient) => (params:
|
|
|
3424
3424
|
headers?: Record<string, string> | null;
|
|
3425
3425
|
};
|
|
3426
3426
|
}) => Promise<{
|
|
3427
|
+
tenantId: string;
|
|
3428
|
+
projectId: string;
|
|
3427
3429
|
id: string;
|
|
3430
|
+
agentId: string;
|
|
3428
3431
|
createdAt: string;
|
|
3429
3432
|
updatedAt: string;
|
|
3430
3433
|
headers: Record<string, string> | null;
|
|
3431
|
-
projectId: string;
|
|
3432
|
-
tenantId: string;
|
|
3433
|
-
agentId: string;
|
|
3434
3434
|
subAgentId: string;
|
|
3435
3435
|
targetAgentId: string;
|
|
3436
3436
|
}>;
|
|
@@ -3441,13 +3441,13 @@ declare const getSubAgentTeamAgentRelationByParams: (db: DatabaseClient) => (par
|
|
|
3441
3441
|
scopes: SubAgentScopeConfig;
|
|
3442
3442
|
targetAgentId: string;
|
|
3443
3443
|
}) => Promise<{
|
|
3444
|
+
tenantId: string;
|
|
3445
|
+
projectId: string;
|
|
3444
3446
|
id: string;
|
|
3447
|
+
agentId: string;
|
|
3445
3448
|
createdAt: string;
|
|
3446
3449
|
updatedAt: string;
|
|
3447
3450
|
headers: Record<string, string> | null;
|
|
3448
|
-
projectId: string;
|
|
3449
|
-
tenantId: string;
|
|
3450
|
-
agentId: string;
|
|
3451
3451
|
subAgentId: string;
|
|
3452
3452
|
targetAgentId: string;
|
|
3453
3453
|
} | undefined>;
|
|
@@ -3462,13 +3462,13 @@ declare const upsertSubAgentTeamAgentRelation: (db: DatabaseClient) => (params:
|
|
|
3462
3462
|
headers?: Record<string, string> | null;
|
|
3463
3463
|
};
|
|
3464
3464
|
}) => Promise<{
|
|
3465
|
+
tenantId: string;
|
|
3466
|
+
projectId: string;
|
|
3465
3467
|
id: string;
|
|
3468
|
+
agentId: string;
|
|
3466
3469
|
createdAt: string;
|
|
3467
3470
|
updatedAt: string;
|
|
3468
3471
|
headers: Record<string, string> | null;
|
|
3469
|
-
projectId: string;
|
|
3470
|
-
tenantId: string;
|
|
3471
|
-
agentId: string;
|
|
3472
3472
|
subAgentId: string;
|
|
3473
3473
|
targetAgentId: string;
|
|
3474
3474
|
}>;
|
|
@@ -3499,14 +3499,14 @@ declare const deleteSubAgentTeamAgentRelationsByAgent: (db: DatabaseClient) => (
|
|
|
3499
3499
|
}) => Promise<boolean>;
|
|
3500
3500
|
|
|
3501
3501
|
declare const createTask: (db: DatabaseClient) => (params: TaskInsert) => Promise<{
|
|
3502
|
+
tenantId: string;
|
|
3503
|
+
projectId: string;
|
|
3502
3504
|
id: string;
|
|
3505
|
+
agentId: string;
|
|
3503
3506
|
createdAt: string;
|
|
3504
3507
|
updatedAt: string;
|
|
3505
3508
|
metadata: TaskMetadataConfig | null;
|
|
3506
3509
|
status: string;
|
|
3507
|
-
projectId: string;
|
|
3508
|
-
tenantId: string;
|
|
3509
|
-
agentId: string;
|
|
3510
3510
|
contextId: string;
|
|
3511
3511
|
subAgentId: string;
|
|
3512
3512
|
}>;
|
|
@@ -3540,20 +3540,20 @@ declare const getToolById: (db: DatabaseClient) => (params: {
|
|
|
3540
3540
|
scopes: ProjectScopeConfig;
|
|
3541
3541
|
toolId: string;
|
|
3542
3542
|
}) => Promise<{
|
|
3543
|
-
|
|
3543
|
+
tenantId: string;
|
|
3544
|
+
projectId: string;
|
|
3544
3545
|
id: string;
|
|
3545
|
-
|
|
3546
|
-
updatedAt: string;
|
|
3546
|
+
name: string;
|
|
3547
3547
|
description: string | null;
|
|
3548
|
-
headers: Record<string, string> | null;
|
|
3549
3548
|
config: {
|
|
3550
3549
|
type: "mcp";
|
|
3551
3550
|
mcp: ToolMcpConfig;
|
|
3552
3551
|
};
|
|
3553
|
-
projectId: string;
|
|
3554
|
-
tenantId: string;
|
|
3555
|
-
capabilities: ToolServerCapabilities | null;
|
|
3556
3552
|
credentialReferenceId: string | null;
|
|
3553
|
+
createdAt: string;
|
|
3554
|
+
updatedAt: string;
|
|
3555
|
+
headers: Record<string, string> | null;
|
|
3556
|
+
capabilities: ToolServerCapabilities | null;
|
|
3557
3557
|
imageUrl: string | null;
|
|
3558
3558
|
lastError: string | null;
|
|
3559
3559
|
} | null>;
|
|
@@ -3587,20 +3587,20 @@ declare const listTools: (db: DatabaseClient) => (params: {
|
|
|
3587
3587
|
};
|
|
3588
3588
|
}>;
|
|
3589
3589
|
declare const createTool: (db: DatabaseClient) => (params: ToolInsert) => Promise<{
|
|
3590
|
-
|
|
3590
|
+
tenantId: string;
|
|
3591
|
+
projectId: string;
|
|
3591
3592
|
id: string;
|
|
3592
|
-
|
|
3593
|
-
updatedAt: string;
|
|
3593
|
+
name: string;
|
|
3594
3594
|
description: string | null;
|
|
3595
|
-
headers: Record<string, string> | null;
|
|
3596
3595
|
config: {
|
|
3597
3596
|
type: "mcp";
|
|
3598
3597
|
mcp: ToolMcpConfig;
|
|
3599
3598
|
};
|
|
3600
|
-
projectId: string;
|
|
3601
|
-
tenantId: string;
|
|
3602
|
-
capabilities: ToolServerCapabilities | null;
|
|
3603
3599
|
credentialReferenceId: string | null;
|
|
3600
|
+
createdAt: string;
|
|
3601
|
+
updatedAt: string;
|
|
3602
|
+
headers: Record<string, string> | null;
|
|
3603
|
+
capabilities: ToolServerCapabilities | null;
|
|
3604
3604
|
imageUrl: string | null;
|
|
3605
3605
|
lastError: string | null;
|
|
3606
3606
|
}>;
|
|
@@ -3640,38 +3640,38 @@ declare const addToolToAgent: (db: DatabaseClient) => (params: {
|
|
|
3640
3640
|
needsApproval?: boolean;
|
|
3641
3641
|
}> | null;
|
|
3642
3642
|
}) => Promise<{
|
|
3643
|
+
tenantId: string;
|
|
3644
|
+
projectId: string;
|
|
3643
3645
|
id: string;
|
|
3646
|
+
agentId: string;
|
|
3644
3647
|
createdAt: string;
|
|
3645
3648
|
updatedAt: string;
|
|
3646
3649
|
headers: Record<string, string> | null;
|
|
3647
|
-
projectId: string;
|
|
3648
|
-
tenantId: string;
|
|
3649
|
-
agentId: string;
|
|
3650
|
-
selectedTools: string[] | null;
|
|
3651
|
-
subAgentId: string;
|
|
3652
3650
|
toolId: string;
|
|
3653
3651
|
toolPolicies: Record<string, {
|
|
3654
3652
|
needsApproval?: boolean;
|
|
3655
3653
|
}> | null;
|
|
3654
|
+
selectedTools: string[] | null;
|
|
3655
|
+
subAgentId: string;
|
|
3656
3656
|
}>;
|
|
3657
3657
|
declare const removeToolFromAgent: (db: DatabaseClient) => (params: {
|
|
3658
3658
|
scopes: AgentScopeConfig;
|
|
3659
3659
|
subAgentId: string;
|
|
3660
3660
|
toolId: string;
|
|
3661
3661
|
}) => Promise<{
|
|
3662
|
+
tenantId: string;
|
|
3663
|
+
projectId: string;
|
|
3662
3664
|
id: string;
|
|
3665
|
+
agentId: string;
|
|
3663
3666
|
createdAt: string;
|
|
3664
3667
|
updatedAt: string;
|
|
3665
3668
|
headers: Record<string, string> | null;
|
|
3666
|
-
projectId: string;
|
|
3667
|
-
tenantId: string;
|
|
3668
|
-
agentId: string;
|
|
3669
|
-
selectedTools: string[] | null;
|
|
3670
|
-
subAgentId: string;
|
|
3671
3669
|
toolId: string;
|
|
3672
3670
|
toolPolicies: Record<string, {
|
|
3673
3671
|
needsApproval?: boolean;
|
|
3674
3672
|
}> | null;
|
|
3673
|
+
selectedTools: string[] | null;
|
|
3674
|
+
subAgentId: string;
|
|
3675
3675
|
}>;
|
|
3676
3676
|
/**
|
|
3677
3677
|
* Upsert agent-tool relation (create if it doesn't exist, update if it does)
|
|
@@ -3687,19 +3687,19 @@ declare const upsertSubAgentToolRelation: (db: DatabaseClient) => (params: {
|
|
|
3687
3687
|
}> | null;
|
|
3688
3688
|
relationId?: string;
|
|
3689
3689
|
}) => Promise<{
|
|
3690
|
+
tenantId: string;
|
|
3691
|
+
projectId: string;
|
|
3690
3692
|
id: string;
|
|
3693
|
+
agentId: string;
|
|
3691
3694
|
createdAt: string;
|
|
3692
3695
|
updatedAt: string;
|
|
3693
3696
|
headers: Record<string, string> | null;
|
|
3694
|
-
projectId: string;
|
|
3695
|
-
tenantId: string;
|
|
3696
|
-
agentId: string;
|
|
3697
|
-
selectedTools: string[] | null;
|
|
3698
|
-
subAgentId: string;
|
|
3699
3697
|
toolId: string;
|
|
3700
3698
|
toolPolicies: Record<string, {
|
|
3701
3699
|
needsApproval?: boolean;
|
|
3702
3700
|
}> | null;
|
|
3701
|
+
selectedTools: string[] | null;
|
|
3702
|
+
subAgentId: string;
|
|
3703
3703
|
}>;
|
|
3704
3704
|
/**
|
|
3705
3705
|
* Upsert a tool (create if it doesn't exist, update if it does)
|
|
@@ -3707,20 +3707,20 @@ declare const upsertSubAgentToolRelation: (db: DatabaseClient) => (params: {
|
|
|
3707
3707
|
declare const upsertTool: (db: DatabaseClient) => (params: {
|
|
3708
3708
|
data: ToolInsert;
|
|
3709
3709
|
}) => Promise<{
|
|
3710
|
-
|
|
3710
|
+
tenantId: string;
|
|
3711
|
+
projectId: string;
|
|
3711
3712
|
id: string;
|
|
3712
|
-
|
|
3713
|
-
updatedAt: string;
|
|
3713
|
+
name: string;
|
|
3714
3714
|
description: string | null;
|
|
3715
|
-
headers: Record<string, string> | null;
|
|
3716
3715
|
config: {
|
|
3717
3716
|
type: "mcp";
|
|
3718
3717
|
mcp: ToolMcpConfig;
|
|
3719
3718
|
};
|
|
3720
|
-
projectId: string;
|
|
3721
|
-
tenantId: string;
|
|
3722
|
-
capabilities: ToolServerCapabilities | null;
|
|
3723
3719
|
credentialReferenceId: string | null;
|
|
3720
|
+
createdAt: string;
|
|
3721
|
+
updatedAt: string;
|
|
3722
|
+
headers: Record<string, string> | null;
|
|
3723
|
+
capabilities: ToolServerCapabilities | null;
|
|
3724
3724
|
imageUrl: string | null;
|
|
3725
3725
|
lastError: string | null;
|
|
3726
3726
|
}>;
|
|
@@ -3860,9 +3860,9 @@ declare function normalizeDateString(dateString: string | Date): string | Date;
|
|
|
3860
3860
|
declare function toISODateString(dateValue: string | Date): string;
|
|
3861
3861
|
|
|
3862
3862
|
declare const ErrorCode: z.ZodEnum<{
|
|
3863
|
+
forbidden: "forbidden";
|
|
3863
3864
|
bad_request: "bad_request";
|
|
3864
3865
|
unauthorized: "unauthorized";
|
|
3865
|
-
forbidden: "forbidden";
|
|
3866
3866
|
not_found: "not_found";
|
|
3867
3867
|
conflict: "conflict";
|
|
3868
3868
|
internal_server_error: "internal_server_error";
|
|
@@ -3876,9 +3876,9 @@ declare const problemDetailsSchema: z.ZodObject<{
|
|
|
3876
3876
|
instance: z.ZodOptional<z.ZodString>;
|
|
3877
3877
|
requestId: z.ZodOptional<z.ZodString>;
|
|
3878
3878
|
code: z.ZodEnum<{
|
|
3879
|
+
forbidden: "forbidden";
|
|
3879
3880
|
bad_request: "bad_request";
|
|
3880
3881
|
unauthorized: "unauthorized";
|
|
3881
|
-
forbidden: "forbidden";
|
|
3882
3882
|
not_found: "not_found";
|
|
3883
3883
|
conflict: "conflict";
|
|
3884
3884
|
internal_server_error: "internal_server_error";
|
|
@@ -3890,9 +3890,9 @@ type ErrorCodes = z.infer<typeof ErrorCode>;
|
|
|
3890
3890
|
declare const errorResponseSchema: z.ZodObject<{
|
|
3891
3891
|
error: z.ZodObject<{
|
|
3892
3892
|
code: z.ZodEnum<{
|
|
3893
|
+
forbidden: "forbidden";
|
|
3893
3894
|
bad_request: "bad_request";
|
|
3894
3895
|
unauthorized: "unauthorized";
|
|
3895
|
-
forbidden: "forbidden";
|
|
3896
3896
|
not_found: "not_found";
|
|
3897
3897
|
conflict: "conflict";
|
|
3898
3898
|
internal_server_error: "internal_server_error";
|
|
@@ -3922,12 +3922,12 @@ declare const errorSchemaFactory: (code: ErrorCodes, description: string) => {
|
|
|
3922
3922
|
schema: z.ZodObject<{
|
|
3923
3923
|
instance: z.ZodOptional<z.ZodString>;
|
|
3924
3924
|
requestId: z.ZodOptional<z.ZodString>;
|
|
3925
|
-
code: z.ZodLiteral<"
|
|
3925
|
+
code: z.ZodLiteral<"forbidden" | "bad_request" | "unauthorized" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
3926
3926
|
detail: z.ZodString;
|
|
3927
3927
|
title: z.ZodString;
|
|
3928
3928
|
status: z.ZodNumber;
|
|
3929
3929
|
error: z.ZodObject<{
|
|
3930
|
-
code: z.ZodLiteral<"
|
|
3930
|
+
code: z.ZodLiteral<"forbidden" | "bad_request" | "unauthorized" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
3931
3931
|
message: z.ZodString;
|
|
3932
3932
|
}, z.core.$strip>;
|
|
3933
3933
|
}, z.core.$strip>;
|
|
@@ -3942,12 +3942,12 @@ declare const commonCreateErrorResponses: {
|
|
|
3942
3942
|
schema: z.ZodObject<{
|
|
3943
3943
|
instance: z.ZodOptional<z.ZodString>;
|
|
3944
3944
|
requestId: z.ZodOptional<z.ZodString>;
|
|
3945
|
-
code: z.ZodLiteral<"
|
|
3945
|
+
code: z.ZodLiteral<"forbidden" | "bad_request" | "unauthorized" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
3946
3946
|
detail: z.ZodString;
|
|
3947
3947
|
title: z.ZodString;
|
|
3948
3948
|
status: z.ZodNumber;
|
|
3949
3949
|
error: z.ZodObject<{
|
|
3950
|
-
code: z.ZodLiteral<"
|
|
3950
|
+
code: z.ZodLiteral<"forbidden" | "bad_request" | "unauthorized" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
3951
3951
|
message: z.ZodString;
|
|
3952
3952
|
}, z.core.$strip>;
|
|
3953
3953
|
}, z.core.$strip>;
|
|
@@ -3961,12 +3961,12 @@ declare const commonCreateErrorResponses: {
|
|
|
3961
3961
|
schema: z.ZodObject<{
|
|
3962
3962
|
instance: z.ZodOptional<z.ZodString>;
|
|
3963
3963
|
requestId: z.ZodOptional<z.ZodString>;
|
|
3964
|
-
code: z.ZodLiteral<"
|
|
3964
|
+
code: z.ZodLiteral<"forbidden" | "bad_request" | "unauthorized" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
3965
3965
|
detail: z.ZodString;
|
|
3966
3966
|
title: z.ZodString;
|
|
3967
3967
|
status: z.ZodNumber;
|
|
3968
3968
|
error: z.ZodObject<{
|
|
3969
|
-
code: z.ZodLiteral<"
|
|
3969
|
+
code: z.ZodLiteral<"forbidden" | "bad_request" | "unauthorized" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
3970
3970
|
message: z.ZodString;
|
|
3971
3971
|
}, z.core.$strip>;
|
|
3972
3972
|
}, z.core.$strip>;
|
|
@@ -3980,12 +3980,12 @@ declare const commonCreateErrorResponses: {
|
|
|
3980
3980
|
schema: z.ZodObject<{
|
|
3981
3981
|
instance: z.ZodOptional<z.ZodString>;
|
|
3982
3982
|
requestId: z.ZodOptional<z.ZodString>;
|
|
3983
|
-
code: z.ZodLiteral<"
|
|
3983
|
+
code: z.ZodLiteral<"forbidden" | "bad_request" | "unauthorized" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
3984
3984
|
detail: z.ZodString;
|
|
3985
3985
|
title: z.ZodString;
|
|
3986
3986
|
status: z.ZodNumber;
|
|
3987
3987
|
error: z.ZodObject<{
|
|
3988
|
-
code: z.ZodLiteral<"
|
|
3988
|
+
code: z.ZodLiteral<"forbidden" | "bad_request" | "unauthorized" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
3989
3989
|
message: z.ZodString;
|
|
3990
3990
|
}, z.core.$strip>;
|
|
3991
3991
|
}, z.core.$strip>;
|
|
@@ -3999,12 +3999,12 @@ declare const commonCreateErrorResponses: {
|
|
|
3999
3999
|
schema: z.ZodObject<{
|
|
4000
4000
|
instance: z.ZodOptional<z.ZodString>;
|
|
4001
4001
|
requestId: z.ZodOptional<z.ZodString>;
|
|
4002
|
-
code: z.ZodLiteral<"
|
|
4002
|
+
code: z.ZodLiteral<"forbidden" | "bad_request" | "unauthorized" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4003
4003
|
detail: z.ZodString;
|
|
4004
4004
|
title: z.ZodString;
|
|
4005
4005
|
status: z.ZodNumber;
|
|
4006
4006
|
error: z.ZodObject<{
|
|
4007
|
-
code: z.ZodLiteral<"
|
|
4007
|
+
code: z.ZodLiteral<"forbidden" | "bad_request" | "unauthorized" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4008
4008
|
message: z.ZodString;
|
|
4009
4009
|
}, z.core.$strip>;
|
|
4010
4010
|
}, z.core.$strip>;
|
|
@@ -4018,12 +4018,12 @@ declare const commonCreateErrorResponses: {
|
|
|
4018
4018
|
schema: z.ZodObject<{
|
|
4019
4019
|
instance: z.ZodOptional<z.ZodString>;
|
|
4020
4020
|
requestId: z.ZodOptional<z.ZodString>;
|
|
4021
|
-
code: z.ZodLiteral<"
|
|
4021
|
+
code: z.ZodLiteral<"forbidden" | "bad_request" | "unauthorized" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4022
4022
|
detail: z.ZodString;
|
|
4023
4023
|
title: z.ZodString;
|
|
4024
4024
|
status: z.ZodNumber;
|
|
4025
4025
|
error: z.ZodObject<{
|
|
4026
|
-
code: z.ZodLiteral<"
|
|
4026
|
+
code: z.ZodLiteral<"forbidden" | "bad_request" | "unauthorized" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4027
4027
|
message: z.ZodString;
|
|
4028
4028
|
}, z.core.$strip>;
|
|
4029
4029
|
}, z.core.$strip>;
|
|
@@ -4039,12 +4039,12 @@ declare const commonUpdateErrorResponses: {
|
|
|
4039
4039
|
schema: z.ZodObject<{
|
|
4040
4040
|
instance: z.ZodOptional<z.ZodString>;
|
|
4041
4041
|
requestId: z.ZodOptional<z.ZodString>;
|
|
4042
|
-
code: z.ZodLiteral<"
|
|
4042
|
+
code: z.ZodLiteral<"forbidden" | "bad_request" | "unauthorized" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4043
4043
|
detail: z.ZodString;
|
|
4044
4044
|
title: z.ZodString;
|
|
4045
4045
|
status: z.ZodNumber;
|
|
4046
4046
|
error: z.ZodObject<{
|
|
4047
|
-
code: z.ZodLiteral<"
|
|
4047
|
+
code: z.ZodLiteral<"forbidden" | "bad_request" | "unauthorized" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4048
4048
|
message: z.ZodString;
|
|
4049
4049
|
}, z.core.$strip>;
|
|
4050
4050
|
}, z.core.$strip>;
|
|
@@ -4058,12 +4058,12 @@ declare const commonUpdateErrorResponses: {
|
|
|
4058
4058
|
schema: z.ZodObject<{
|
|
4059
4059
|
instance: z.ZodOptional<z.ZodString>;
|
|
4060
4060
|
requestId: z.ZodOptional<z.ZodString>;
|
|
4061
|
-
code: z.ZodLiteral<"
|
|
4061
|
+
code: z.ZodLiteral<"forbidden" | "bad_request" | "unauthorized" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4062
4062
|
detail: z.ZodString;
|
|
4063
4063
|
title: z.ZodString;
|
|
4064
4064
|
status: z.ZodNumber;
|
|
4065
4065
|
error: z.ZodObject<{
|
|
4066
|
-
code: z.ZodLiteral<"
|
|
4066
|
+
code: z.ZodLiteral<"forbidden" | "bad_request" | "unauthorized" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4067
4067
|
message: z.ZodString;
|
|
4068
4068
|
}, z.core.$strip>;
|
|
4069
4069
|
}, z.core.$strip>;
|
|
@@ -4077,12 +4077,12 @@ declare const commonUpdateErrorResponses: {
|
|
|
4077
4077
|
schema: z.ZodObject<{
|
|
4078
4078
|
instance: z.ZodOptional<z.ZodString>;
|
|
4079
4079
|
requestId: z.ZodOptional<z.ZodString>;
|
|
4080
|
-
code: z.ZodLiteral<"
|
|
4080
|
+
code: z.ZodLiteral<"forbidden" | "bad_request" | "unauthorized" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4081
4081
|
detail: z.ZodString;
|
|
4082
4082
|
title: z.ZodString;
|
|
4083
4083
|
status: z.ZodNumber;
|
|
4084
4084
|
error: z.ZodObject<{
|
|
4085
|
-
code: z.ZodLiteral<"
|
|
4085
|
+
code: z.ZodLiteral<"forbidden" | "bad_request" | "unauthorized" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4086
4086
|
message: z.ZodString;
|
|
4087
4087
|
}, z.core.$strip>;
|
|
4088
4088
|
}, z.core.$strip>;
|
|
@@ -4096,12 +4096,12 @@ declare const commonUpdateErrorResponses: {
|
|
|
4096
4096
|
schema: z.ZodObject<{
|
|
4097
4097
|
instance: z.ZodOptional<z.ZodString>;
|
|
4098
4098
|
requestId: z.ZodOptional<z.ZodString>;
|
|
4099
|
-
code: z.ZodLiteral<"
|
|
4099
|
+
code: z.ZodLiteral<"forbidden" | "bad_request" | "unauthorized" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4100
4100
|
detail: z.ZodString;
|
|
4101
4101
|
title: z.ZodString;
|
|
4102
4102
|
status: z.ZodNumber;
|
|
4103
4103
|
error: z.ZodObject<{
|
|
4104
|
-
code: z.ZodLiteral<"
|
|
4104
|
+
code: z.ZodLiteral<"forbidden" | "bad_request" | "unauthorized" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4105
4105
|
message: z.ZodString;
|
|
4106
4106
|
}, z.core.$strip>;
|
|
4107
4107
|
}, z.core.$strip>;
|
|
@@ -4115,12 +4115,12 @@ declare const commonUpdateErrorResponses: {
|
|
|
4115
4115
|
schema: z.ZodObject<{
|
|
4116
4116
|
instance: z.ZodOptional<z.ZodString>;
|
|
4117
4117
|
requestId: z.ZodOptional<z.ZodString>;
|
|
4118
|
-
code: z.ZodLiteral<"
|
|
4118
|
+
code: z.ZodLiteral<"forbidden" | "bad_request" | "unauthorized" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4119
4119
|
detail: z.ZodString;
|
|
4120
4120
|
title: z.ZodString;
|
|
4121
4121
|
status: z.ZodNumber;
|
|
4122
4122
|
error: z.ZodObject<{
|
|
4123
|
-
code: z.ZodLiteral<"
|
|
4123
|
+
code: z.ZodLiteral<"forbidden" | "bad_request" | "unauthorized" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4124
4124
|
message: z.ZodString;
|
|
4125
4125
|
}, z.core.$strip>;
|
|
4126
4126
|
}, z.core.$strip>;
|
|
@@ -4134,12 +4134,12 @@ declare const commonUpdateErrorResponses: {
|
|
|
4134
4134
|
schema: z.ZodObject<{
|
|
4135
4135
|
instance: z.ZodOptional<z.ZodString>;
|
|
4136
4136
|
requestId: z.ZodOptional<z.ZodString>;
|
|
4137
|
-
code: z.ZodLiteral<"
|
|
4137
|
+
code: z.ZodLiteral<"forbidden" | "bad_request" | "unauthorized" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4138
4138
|
detail: z.ZodString;
|
|
4139
4139
|
title: z.ZodString;
|
|
4140
4140
|
status: z.ZodNumber;
|
|
4141
4141
|
error: z.ZodObject<{
|
|
4142
|
-
code: z.ZodLiteral<"
|
|
4142
|
+
code: z.ZodLiteral<"forbidden" | "bad_request" | "unauthorized" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4143
4143
|
message: z.ZodString;
|
|
4144
4144
|
}, z.core.$strip>;
|
|
4145
4145
|
}, z.core.$strip>;
|
|
@@ -4155,12 +4155,12 @@ declare const commonGetErrorResponses: {
|
|
|
4155
4155
|
schema: z.ZodObject<{
|
|
4156
4156
|
instance: z.ZodOptional<z.ZodString>;
|
|
4157
4157
|
requestId: z.ZodOptional<z.ZodString>;
|
|
4158
|
-
code: z.ZodLiteral<"
|
|
4158
|
+
code: z.ZodLiteral<"forbidden" | "bad_request" | "unauthorized" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4159
4159
|
detail: z.ZodString;
|
|
4160
4160
|
title: z.ZodString;
|
|
4161
4161
|
status: z.ZodNumber;
|
|
4162
4162
|
error: z.ZodObject<{
|
|
4163
|
-
code: z.ZodLiteral<"
|
|
4163
|
+
code: z.ZodLiteral<"forbidden" | "bad_request" | "unauthorized" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4164
4164
|
message: z.ZodString;
|
|
4165
4165
|
}, z.core.$strip>;
|
|
4166
4166
|
}, z.core.$strip>;
|
|
@@ -4174,12 +4174,12 @@ declare const commonGetErrorResponses: {
|
|
|
4174
4174
|
schema: z.ZodObject<{
|
|
4175
4175
|
instance: z.ZodOptional<z.ZodString>;
|
|
4176
4176
|
requestId: z.ZodOptional<z.ZodString>;
|
|
4177
|
-
code: z.ZodLiteral<"
|
|
4177
|
+
code: z.ZodLiteral<"forbidden" | "bad_request" | "unauthorized" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4178
4178
|
detail: z.ZodString;
|
|
4179
4179
|
title: z.ZodString;
|
|
4180
4180
|
status: z.ZodNumber;
|
|
4181
4181
|
error: z.ZodObject<{
|
|
4182
|
-
code: z.ZodLiteral<"
|
|
4182
|
+
code: z.ZodLiteral<"forbidden" | "bad_request" | "unauthorized" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4183
4183
|
message: z.ZodString;
|
|
4184
4184
|
}, z.core.$strip>;
|
|
4185
4185
|
}, z.core.$strip>;
|
|
@@ -4193,12 +4193,12 @@ declare const commonGetErrorResponses: {
|
|
|
4193
4193
|
schema: z.ZodObject<{
|
|
4194
4194
|
instance: z.ZodOptional<z.ZodString>;
|
|
4195
4195
|
requestId: z.ZodOptional<z.ZodString>;
|
|
4196
|
-
code: z.ZodLiteral<"
|
|
4196
|
+
code: z.ZodLiteral<"forbidden" | "bad_request" | "unauthorized" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4197
4197
|
detail: z.ZodString;
|
|
4198
4198
|
title: z.ZodString;
|
|
4199
4199
|
status: z.ZodNumber;
|
|
4200
4200
|
error: z.ZodObject<{
|
|
4201
|
-
code: z.ZodLiteral<"
|
|
4201
|
+
code: z.ZodLiteral<"forbidden" | "bad_request" | "unauthorized" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4202
4202
|
message: z.ZodString;
|
|
4203
4203
|
}, z.core.$strip>;
|
|
4204
4204
|
}, z.core.$strip>;
|
|
@@ -4212,12 +4212,12 @@ declare const commonGetErrorResponses: {
|
|
|
4212
4212
|
schema: z.ZodObject<{
|
|
4213
4213
|
instance: z.ZodOptional<z.ZodString>;
|
|
4214
4214
|
requestId: z.ZodOptional<z.ZodString>;
|
|
4215
|
-
code: z.ZodLiteral<"
|
|
4215
|
+
code: z.ZodLiteral<"forbidden" | "bad_request" | "unauthorized" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4216
4216
|
detail: z.ZodString;
|
|
4217
4217
|
title: z.ZodString;
|
|
4218
4218
|
status: z.ZodNumber;
|
|
4219
4219
|
error: z.ZodObject<{
|
|
4220
|
-
code: z.ZodLiteral<"
|
|
4220
|
+
code: z.ZodLiteral<"forbidden" | "bad_request" | "unauthorized" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4221
4221
|
message: z.ZodString;
|
|
4222
4222
|
}, z.core.$strip>;
|
|
4223
4223
|
}, z.core.$strip>;
|
|
@@ -4231,12 +4231,12 @@ declare const commonGetErrorResponses: {
|
|
|
4231
4231
|
schema: z.ZodObject<{
|
|
4232
4232
|
instance: z.ZodOptional<z.ZodString>;
|
|
4233
4233
|
requestId: z.ZodOptional<z.ZodString>;
|
|
4234
|
-
code: z.ZodLiteral<"
|
|
4234
|
+
code: z.ZodLiteral<"forbidden" | "bad_request" | "unauthorized" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4235
4235
|
detail: z.ZodString;
|
|
4236
4236
|
title: z.ZodString;
|
|
4237
4237
|
status: z.ZodNumber;
|
|
4238
4238
|
error: z.ZodObject<{
|
|
4239
|
-
code: z.ZodLiteral<"
|
|
4239
|
+
code: z.ZodLiteral<"forbidden" | "bad_request" | "unauthorized" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4240
4240
|
message: z.ZodString;
|
|
4241
4241
|
}, z.core.$strip>;
|
|
4242
4242
|
}, z.core.$strip>;
|
|
@@ -4250,12 +4250,12 @@ declare const commonGetErrorResponses: {
|
|
|
4250
4250
|
schema: z.ZodObject<{
|
|
4251
4251
|
instance: z.ZodOptional<z.ZodString>;
|
|
4252
4252
|
requestId: z.ZodOptional<z.ZodString>;
|
|
4253
|
-
code: z.ZodLiteral<"
|
|
4253
|
+
code: z.ZodLiteral<"forbidden" | "bad_request" | "unauthorized" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4254
4254
|
detail: z.ZodString;
|
|
4255
4255
|
title: z.ZodString;
|
|
4256
4256
|
status: z.ZodNumber;
|
|
4257
4257
|
error: z.ZodObject<{
|
|
4258
|
-
code: z.ZodLiteral<"
|
|
4258
|
+
code: z.ZodLiteral<"forbidden" | "bad_request" | "unauthorized" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4259
4259
|
message: z.ZodString;
|
|
4260
4260
|
}, z.core.$strip>;
|
|
4261
4261
|
}, z.core.$strip>;
|
|
@@ -4271,12 +4271,12 @@ declare const commonDeleteErrorResponses: {
|
|
|
4271
4271
|
schema: z.ZodObject<{
|
|
4272
4272
|
instance: z.ZodOptional<z.ZodString>;
|
|
4273
4273
|
requestId: z.ZodOptional<z.ZodString>;
|
|
4274
|
-
code: z.ZodLiteral<"
|
|
4274
|
+
code: z.ZodLiteral<"forbidden" | "bad_request" | "unauthorized" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4275
4275
|
detail: z.ZodString;
|
|
4276
4276
|
title: z.ZodString;
|
|
4277
4277
|
status: z.ZodNumber;
|
|
4278
4278
|
error: z.ZodObject<{
|
|
4279
|
-
code: z.ZodLiteral<"
|
|
4279
|
+
code: z.ZodLiteral<"forbidden" | "bad_request" | "unauthorized" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4280
4280
|
message: z.ZodString;
|
|
4281
4281
|
}, z.core.$strip>;
|
|
4282
4282
|
}, z.core.$strip>;
|
|
@@ -4290,12 +4290,12 @@ declare const commonDeleteErrorResponses: {
|
|
|
4290
4290
|
schema: z.ZodObject<{
|
|
4291
4291
|
instance: z.ZodOptional<z.ZodString>;
|
|
4292
4292
|
requestId: z.ZodOptional<z.ZodString>;
|
|
4293
|
-
code: z.ZodLiteral<"
|
|
4293
|
+
code: z.ZodLiteral<"forbidden" | "bad_request" | "unauthorized" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4294
4294
|
detail: z.ZodString;
|
|
4295
4295
|
title: z.ZodString;
|
|
4296
4296
|
status: z.ZodNumber;
|
|
4297
4297
|
error: z.ZodObject<{
|
|
4298
|
-
code: z.ZodLiteral<"
|
|
4298
|
+
code: z.ZodLiteral<"forbidden" | "bad_request" | "unauthorized" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4299
4299
|
message: z.ZodString;
|
|
4300
4300
|
}, z.core.$strip>;
|
|
4301
4301
|
}, z.core.$strip>;
|
|
@@ -4309,12 +4309,12 @@ declare const commonDeleteErrorResponses: {
|
|
|
4309
4309
|
schema: z.ZodObject<{
|
|
4310
4310
|
instance: z.ZodOptional<z.ZodString>;
|
|
4311
4311
|
requestId: z.ZodOptional<z.ZodString>;
|
|
4312
|
-
code: z.ZodLiteral<"
|
|
4312
|
+
code: z.ZodLiteral<"forbidden" | "bad_request" | "unauthorized" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4313
4313
|
detail: z.ZodString;
|
|
4314
4314
|
title: z.ZodString;
|
|
4315
4315
|
status: z.ZodNumber;
|
|
4316
4316
|
error: z.ZodObject<{
|
|
4317
|
-
code: z.ZodLiteral<"
|
|
4317
|
+
code: z.ZodLiteral<"forbidden" | "bad_request" | "unauthorized" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4318
4318
|
message: z.ZodString;
|
|
4319
4319
|
}, z.core.$strip>;
|
|
4320
4320
|
}, z.core.$strip>;
|
|
@@ -4328,12 +4328,12 @@ declare const commonDeleteErrorResponses: {
|
|
|
4328
4328
|
schema: z.ZodObject<{
|
|
4329
4329
|
instance: z.ZodOptional<z.ZodString>;
|
|
4330
4330
|
requestId: z.ZodOptional<z.ZodString>;
|
|
4331
|
-
code: z.ZodLiteral<"
|
|
4331
|
+
code: z.ZodLiteral<"forbidden" | "bad_request" | "unauthorized" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4332
4332
|
detail: z.ZodString;
|
|
4333
4333
|
title: z.ZodString;
|
|
4334
4334
|
status: z.ZodNumber;
|
|
4335
4335
|
error: z.ZodObject<{
|
|
4336
|
-
code: z.ZodLiteral<"
|
|
4336
|
+
code: z.ZodLiteral<"forbidden" | "bad_request" | "unauthorized" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4337
4337
|
message: z.ZodString;
|
|
4338
4338
|
}, z.core.$strip>;
|
|
4339
4339
|
}, z.core.$strip>;
|
|
@@ -4347,12 +4347,12 @@ declare const commonDeleteErrorResponses: {
|
|
|
4347
4347
|
schema: z.ZodObject<{
|
|
4348
4348
|
instance: z.ZodOptional<z.ZodString>;
|
|
4349
4349
|
requestId: z.ZodOptional<z.ZodString>;
|
|
4350
|
-
code: z.ZodLiteral<"
|
|
4350
|
+
code: z.ZodLiteral<"forbidden" | "bad_request" | "unauthorized" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4351
4351
|
detail: z.ZodString;
|
|
4352
4352
|
title: z.ZodString;
|
|
4353
4353
|
status: z.ZodNumber;
|
|
4354
4354
|
error: z.ZodObject<{
|
|
4355
|
-
code: z.ZodLiteral<"
|
|
4355
|
+
code: z.ZodLiteral<"forbidden" | "bad_request" | "unauthorized" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4356
4356
|
message: z.ZodString;
|
|
4357
4357
|
}, z.core.$strip>;
|
|
4358
4358
|
}, z.core.$strip>;
|
|
@@ -4366,12 +4366,12 @@ declare const commonDeleteErrorResponses: {
|
|
|
4366
4366
|
schema: z.ZodObject<{
|
|
4367
4367
|
instance: z.ZodOptional<z.ZodString>;
|
|
4368
4368
|
requestId: z.ZodOptional<z.ZodString>;
|
|
4369
|
-
code: z.ZodLiteral<"
|
|
4369
|
+
code: z.ZodLiteral<"forbidden" | "bad_request" | "unauthorized" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4370
4370
|
detail: z.ZodString;
|
|
4371
4371
|
title: z.ZodString;
|
|
4372
4372
|
status: z.ZodNumber;
|
|
4373
4373
|
error: z.ZodObject<{
|
|
4374
|
-
code: z.ZodLiteral<"
|
|
4374
|
+
code: z.ZodLiteral<"forbidden" | "bad_request" | "unauthorized" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
4375
4375
|
message: z.ZodString;
|
|
4376
4376
|
}, z.core.$strip>;
|
|
4377
4377
|
}, z.core.$strip>;
|