@elqnt/agents 2.1.1 → 3.0.1

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.
Files changed (50) hide show
  1. package/README.md +240 -0
  2. package/dist/{agent-models-mCYzjfGp.d.mts → agent-models-BdtFKjV3.d.mts} +7 -9
  3. package/dist/{agent-models-mCYzjfGp.d.ts → agent-models-BdtFKjV3.d.ts} +7 -9
  4. package/dist/api/index.d.mts +40 -3
  5. package/dist/api/index.d.ts +40 -3
  6. package/dist/api/index.js +30 -2
  7. package/dist/api/index.js.map +1 -1
  8. package/dist/api/index.mjs +29 -1
  9. package/dist/api/server.d.mts +146 -0
  10. package/dist/api/server.d.ts +146 -0
  11. package/dist/api/server.js +226 -0
  12. package/dist/api/server.js.map +1 -0
  13. package/dist/api/server.mjs +226 -0
  14. package/dist/api/server.mjs.map +1 -0
  15. package/dist/{chunk-SWJ66D7X.js → chunk-44A5L2IY.js} +92 -2
  16. package/dist/chunk-44A5L2IY.js.map +1 -0
  17. package/dist/{chunk-K3OAYHF3.js → chunk-ADOBVUUS.js} +73 -2
  18. package/dist/chunk-ADOBVUUS.js.map +1 -0
  19. package/dist/{chunk-3VJNDDME.mjs → chunk-EUELXX27.mjs} +92 -2
  20. package/dist/chunk-EUELXX27.mjs.map +1 -0
  21. package/dist/{chunk-SZP2G5I7.mjs → chunk-O3FM26FT.mjs} +73 -2
  22. package/dist/chunk-O3FM26FT.mjs.map +1 -0
  23. package/dist/chunk-RTUQ7WKT.mjs +434 -0
  24. package/dist/chunk-RTUQ7WKT.mjs.map +1 -0
  25. package/dist/chunk-VVYOTEM2.js +434 -0
  26. package/dist/chunk-VVYOTEM2.js.map +1 -0
  27. package/dist/hooks/index.d.mts +134 -5
  28. package/dist/hooks/index.d.ts +134 -5
  29. package/dist/hooks/index.js +15 -3
  30. package/dist/hooks/index.js.map +1 -1
  31. package/dist/hooks/index.mjs +16 -4
  32. package/dist/index.d.mts +4 -4
  33. package/dist/index.d.ts +4 -4
  34. package/dist/index.js +130 -4
  35. package/dist/index.js.map +1 -1
  36. package/dist/index.mjs +131 -5
  37. package/dist/models/index.d.mts +880 -2
  38. package/dist/models/index.d.ts +880 -2
  39. package/dist/models/index.js +88 -2
  40. package/dist/models/index.js.map +1 -1
  41. package/dist/models/index.mjs +87 -1
  42. package/package.json +20 -17
  43. package/dist/chunk-3VJNDDME.mjs.map +0 -1
  44. package/dist/chunk-K3OAYHF3.js.map +0 -1
  45. package/dist/chunk-O2SYQSU2.mjs +0 -398
  46. package/dist/chunk-O2SYQSU2.mjs.map +0 -1
  47. package/dist/chunk-RPXANLP2.js +0 -398
  48. package/dist/chunk-RPXANLP2.js.map +0 -1
  49. package/dist/chunk-SWJ66D7X.js.map +0 -1
  50. package/dist/chunk-SZP2G5I7.mjs.map +0 -1
@@ -1,4 +1,4 @@
1
- export { A as Agent, a as AgentCategory, b as AgentCategoryDevelopment, c as AgentCategoryFinance, d as AgentCategoryGeneral, e as AgentCategoryHR, f as AgentCategoryMarketing, g as AgentCategoryProductivity, h as AgentCategoryResearch, i as AgentCategorySales, j as AgentCategorySupport, k as AgentCategoryTS, l as AgentCategoryWriting, m as AgentChatCreateSubject, n as AgentChatGetSubject, o as AgentChatUpdateSubject, p as AgentChatValidateSubject, q as AgentCloneSubject, r as AgentContext, s as AgentContextConfig, t as AgentCreateSubject, u as AgentCreatedSubject, v as AgentDeleteSubject, w as AgentDeletedSubject, x as AgentEnsureDefaultSubject, y as AgentExecuteStatusSubject, z as AgentExecuteStopSubject, B as AgentExecuteSubject, C as AgentExecution, D as AgentExportSubject, E as AgentFilters, F as AgentFromTemplateSubject, G as AgentGetByOrgSubject, H as AgentGetDefaultSubject, I as AgentGetSubject, J as AgentImportSubject, K as AgentInstanceCancelPlanSubject, L as AgentInstanceClearHistorySubject, M as AgentInstanceCreatePlanSubject, N as AgentInstanceCreateSubject, O as AgentInstanceCreatedSubject, P as AgentInstanceDeleteSubject, Q as AgentInstanceDeletedSubject, R as AgentInstanceExecutePlanSubject, S as AgentInstanceGetHistorySubject, T as AgentInstanceGetSubject, U as AgentInstanceListSubject, V as AgentInstancePausePlanSubject, W as AgentInstanceResumePlanSubject, X as AgentInstanceUpdateSubject, Y as AgentInstanceUpdatedSubject, Z as AgentJob, _ as AgentJobCreateSubject, $ as AgentJobDeleteSubject, a0 as AgentJobGetSubject, a1 as AgentJobIDRequest, a2 as AgentJobListSubject, a3 as AgentJobPauseSubject, a4 as AgentJobResponse, a5 as AgentJobResumeSubject, a6 as AgentJobTriggerRequest, a7 as AgentJobTriggerResponse, a8 as AgentJobTriggerSubject, a9 as AgentJobUpdateSubject, aa as AgentJobsListResponse, ab as AgentListSubject, ac as AgentListSummarySubject, ad as AgentReactCreateSubject, ae as AgentReactGetSubject, af as AgentReactUpdateSubject, ag as AgentReactValidateSubject, ah as AgentResponse, ai as AgentScope, aj as AgentScopeOrg, ak as AgentScopeTS, al as AgentScopeTeam, am as AgentScopeUser, an as AgentSearchSubject, ao as AgentSkill, ap as AgentSkillConfigResponse, aq as AgentSkillGetConfigSubject, ar as AgentSkillUpdateConfigSubject, as as AgentStatus, at as AgentStatusActive, au as AgentStatusArchived, av as AgentStatusDraft, aw as AgentStatusInactive, ax as AgentStatusTS, ay as AgentSubType, az as AgentSubTypeChat, aA as AgentSubTypeDocument, aB as AgentSubTypeReact, aC as AgentSubTypeTS, aD as AgentSubTypeWorkflow, aE as AgentSummary, aF as AgentTemplate, aG as AgentTemplateGetSubject, aH as AgentTemplateListSubject, aI as AgentTool, aJ as AgentToolConfiguration, aK as AgentType, aL as AgentTypeChat, aM as AgentTypeReact, aN as AgentTypeTS, aO as AgentUpdateOrgSubject, aP as AgentUpdateSubject, aQ as AgentUpdatedSubject, aR as AgentVersionActivateSubject, aS as AgentVersionActivatedSubject, aT as AgentVersionCreateSubject, aU as AgentVersionCreatedSubject, aV as AgentVersionGetSubject, aW as AgentVersionListSubject, aX as AgentWidget, aY as AgentWidgetResponse, aZ as AgentWidgetsCreateSubject, a_ as AgentWidgetsDeleteSubject, a$ as AgentWidgetsGetByWidgetID, b0 as AgentWidgetsGetDefaultSubject, b1 as AgentWidgetsGetSubject, b2 as AgentWidgetsListSubject, b3 as AgentWidgetsSetDefaultSubject, b4 as AgentWidgetsUpdateSubject, b5 as ArtifactRef, b6 as CSATAnswer, b7 as CSATConfig, b8 as CSATQuestion, b9 as CSATResponse, ba as CSATSurvey, bb as ChatAgentExecuteSubject, bc as ChatAgentStatusSubject, bd as CreateAgentJobRequest, be as CreateAgentRequest, bf as CreateAgentWidgetRequest, bg as CreateExecutionPlanRequest, bh as CreateExecutionPlanResponse, bi as CreateSkillRequest, bj as CreateSubAgentRequest, bk as CreateToolDefinitionRequest, bl as CustomizableField, bm as DefaultDefinitions, bn as DeleteAgentRequest, bo as DeleteAgentWidgetRequest, bp as DeleteSkillRequest, bq as DeleteSkillUserConfigRequest, br as DeleteSubAgentRequest, bs as DeleteToolDefinitionRequest, bt as ExecuteJobRequest, bu as ExecutePlanRequest, bv as ExecutePlanResponse, bw as ExecuteToolRequest, bx as ExecuteToolResponse, by as ExecutionCompletedEvent, bz as ExecutionMode, bA as ExecutionModeAsync, bB as ExecutionModeAsyncClient, bC as ExecutionModeSync, bD as ExecutionModeTS, bE as ExecutionPlan, bF as ExecutionResponse, bG as ExecutionStatus, bH as ExecutionStatusCompleted, bI as ExecutionStatusFailed, bJ as ExecutionStatusPending, bK as ExecutionStatusRunning, bL as ExecutionStatusSkipped, bM as ExecutionStatusTS, bN as ExecutionTTLHours, bO as ExecutionsTTLCleanupSubject, bP as GetAgentRequest, bQ as GetAgentSkillConfigRequest, bR as GetAgentWidgetRequest, bS as GetDefaultAgentRequest, bT as GetDefaultWidgetRequest, bU as GetExecutionRequest, bV as GetSkillRequest, bW as GetSkillUserConfigRequest, bX as GetSkillsByIDsRequest, bY as GetSkillsByIDsResponse, bZ as GetSubAgentRequest, b_ as GetSubAgentsByIDsRequest, b$ as GetSubAgentsByIDsResponse, c0 as GetToolDefinitionRequest, c1 as GetToolDefinitionsByIDsRequest, c2 as GetToolDefinitionsByIDsResponse, c3 as GetWidgetByWidgetIDRequest, c4 as GetWidgetConfigRequest, c5 as GetWidgetConfigResponse, c6 as HandoffConfig, c7 as IntegrationProviderTS, c8 as IntegrationRequirement, c9 as IntegrationTypeTS, ca as JobExecution, cb as JobExecutionGetSubject, cc as JobExecutionListSubject, cd as JobExecutionResult, ce as JobExecutionStatus, cf as JobExecutionStatusFailed, cg as JobExecutionStatusRunning, ch as JobExecutionStatusSuccess, ci as JobExecutionStatusTS, cj as JobExecutionStatusTimedOut, ck as JobFrequency, cl as JobFrequencyOneTime, cm as JobFrequencySchedule, cn as JobFrequencyTS, co as JobScope, cp as JobScopeOrg, cq as JobScopePrivate, cr as JobScopeTS, cs as JobScopeTeam, ct as JobStatus, cu as JobStatusActive, cv as JobStatusDisabled, cw as JobStatusExecuting, cx as JobStatusPaused, cy as JobStatusTS, cz as ListAgentJobsRequest, cA as ListAgentWidgetsRequest, cB as ListAgentWidgetsResponse, cC as ListAgentsRequest, cD as ListAgentsResponse, cE as ListAgentsSummaryRequest, cF as ListAgentsSummaryResponse, cG as ListExecutionsByAgentRequest, cH as ListExecutionsByJobRequest, cI as ListExecutionsResponse, cJ as ListSkillUserConfigRequest, cK as ListSkillsRequest, cL as ListSubAgentsRequest, cM as ListToolDefinitionsRequest, cN as MCPServerConfig, cO as MaxExecutions, cP as MergeConfig, cQ as MergeStrategy, cR as MergeStrategyAppend, cS as MergeStrategyMerge, cT as MergeStrategyReplace, cU as MergeStrategyTS, cV as PlanApprovalConfig, cW as PlanStatus, cX as PlanStatusApproved, cY as PlanStatusCancelled, cZ as PlanStatusCompleted, c_ as PlanStatusExecuting, c$ as PlanStatusPendingApproval, d0 as PlanStatusRejected, d1 as PlanStatusTS, d2 as PlannedStep, d3 as ProcessJobTriggerResult, d4 as PublicWidgetConfig, d5 as PublisherType, d6 as PublisherTypeEloquent, d7 as PublisherTypePartner, d8 as PublisherTypeTS, d9 as ReactAgentConfig, da as ReactAgentExecuteSubject, db as ReactAgentStatusSubject, dc as ReactAgentStopSubject, dd as ResolveSkillConfigRequest, de as ResolveSkillConfigResponse, df as RetryPolicy, dg as RuntimeJobCompletedSubject, dh as RuntimeJobExecuteSubject, di as SaveWidgetConfigRequest, dj as SaveWidgetConfigResponse, dk as SetDefaultWidgetRequest, dl as Skill, dm as SkillCategory, dn as SkillCategoryAnalysis, dp as SkillCategoryCommunication, dq as SkillCategoryCreative, dr as SkillCategoryCustom, ds as SkillCategoryIntegration, dt as SkillCategoryProductivity, du as SkillCategoryTS, dv as SkillResolveConfigSubject, dw as SkillResponse, dx as SkillUserConfig, dy as SkillUserConfigDeleteSubject, dz as SkillUserConfigGetSubject, dA as SkillUserConfigListResponse, dB as SkillUserConfigListSubject, dC as SkillUserConfigResponse, dD as SkillUserConfigUpdateSubject, dE as SkillsCreateSubject, dF as SkillsCreatedSubject, dG as SkillsDeleteSubject, dH as SkillsDeletedSubject, dI as SkillsGetByIDsSubject, dJ as SkillsGetSubject, dK as SkillsListResponse, dL as SkillsListSubject, dM as SkillsUpdateOrgConfigSubject, dN as SkillsUpdateSubject, dO as SkillsUpdatedSubject, dP as SubAgent, dQ as SubAgentResponse, dR as SubAgentsCreateSubject, dS as SubAgentsCreatedSubject, dT as SubAgentsDeleteSubject, dU as SubAgentsDeletedSubject, dV as SubAgentsExecuteSubject, dW as SubAgentsGetByIDsSubject, dX as SubAgentsGetSubject, dY as SubAgentsListResponse, dZ as SubAgentsListSubject, d_ as SubAgentsUpdateSubject, d$ as SubAgentsUpdatedSubject, e0 as SubAgentsValidateSubject, e1 as TTLCleanupRequest, e2 as TTLCleanupResponse, e3 as TemplateCategoryCount, e4 as TemplateFilters, e5 as TemplateStatus, e6 as TemplateStatusDraft, e7 as TemplateStatusPublished, e8 as TemplateStatusTS, e9 as ToolConfig, ea as ToolDefinition, eb as ToolDefinitionResponse, ec as ToolDefinitionsCreateSubject, ed as ToolDefinitionsCreatedSubject, ee as ToolDefinitionsDeleteSubject, ef as ToolDefinitionsDeletedSubject, eg as ToolDefinitionsExecuteSubject, eh as ToolDefinitionsGetByIDsSubject, ei as ToolDefinitionsGetSubject, ej as ToolDefinitionsListResponse, ek as ToolDefinitionsListSubject, el as ToolDefinitionsUpdateSubject, em as ToolDefinitionsUpdatedSubject, en as ToolDefinitionsValidateSubject, eo as ToolExecution, ep as ToolExecutionPolicy, eq as ToolExecutionProgress, er as ToolExecutionStatus, es as ToolExecutionStatusCompleted, et as ToolExecutionStatusExecuting, eu as ToolExecutionStatusFailed, ev as ToolExecutionStatusSkipped, ew as ToolExecutionStatusStarted, ex as ToolExecutionStatusTS, ey as ToolExecutionStatusTimeout, ez as UpdateAgentJobRequest, eA as UpdateAgentRequest, eB as UpdateAgentSkillConfigRequest, eC as UpdateAgentWidgetRequest, eD as UpdateOrgAgentsRequest, eE as UpdateOrgAgentsResponse, eF as UpdateSkillOrgConfigRequest, eG as UpdateSkillRequest, eH as UpdateSkillUserConfigRequest, eI as UpdateSubAgentRequest, eJ as UpdateToolDefinitionRequest, eK as UserSuggestedAction, eL as UserSuggestedActionsConfig, eM as UserSuggestedActionsRequest, eN as UserSuggestedActionsResponse, eO as ValidationError, eP as ValidationErrors, eQ as WidgetAppearance, eR as WidgetBehavior, eS as WidgetConfig, eT as WidgetConfigGetByAgentSubject, eU as WidgetConfigSaveSubject, eV as WidgetSecurity, eW as WorkflowAgentGetSubject, eX as WorkflowAgentUpdateSubject } from '../agent-models-mCYzjfGp.mjs';
1
+ export { b2 as Agent, eb as AgentCategory, eh as AgentCategoryDevelopment, ek as AgentCategoryFinance, el as AgentCategoryGeneral, ej as AgentCategoryHR, ei as AgentCategoryMarketing, eg as AgentCategoryProductivity, ee as AgentCategoryResearch, ed as AgentCategorySales, ec as AgentCategorySupport, e8 as AgentCategoryTS, ef as AgentCategoryWriting, cw as AgentChatCreateSubject, cy as AgentChatGetSubject, cx as AgentChatUpdateSubject, cz as AgentChatValidateSubject, cQ as AgentCloneSubject, A as AgentContext, m as AgentContextConfig, cm as AgentCreateSubject, cn as AgentCreatedSubject, cr as AgentDeleteSubject, cs as AgentDeletedSubject, cN as AgentEnsureDefaultSubject, cF as AgentExecuteStatusSubject, cG as AgentExecuteStopSubject, cE as AgentExecuteSubject, a as AgentExecution, cR as AgentExportSubject, b8 as AgentFilters, cW as AgentFromTemplateSubject, cP as AgentGetByOrgSubject, cO as AgentGetDefaultSubject, co as AgentGetSubject, cS as AgentImportSubject, e5 as AgentInstanceCancelPlanSubject, e7 as AgentInstanceClearHistorySubject, e1 as AgentInstanceCreatePlanSubject, dV as AgentInstanceCreateSubject, dW as AgentInstanceCreatedSubject, d$ as AgentInstanceDeleteSubject, e0 as AgentInstanceDeletedSubject, e2 as AgentInstanceExecutePlanSubject, e6 as AgentInstanceGetHistorySubject, dX as AgentInstanceGetSubject, d_ as AgentInstanceListSubject, e3 as AgentInstancePausePlanSubject, e4 as AgentInstanceResumePlanSubject, dY as AgentInstanceUpdateSubject, dZ as AgentInstanceUpdatedSubject, bR as AgentJob, dI as AgentJobCreateSubject, dL as AgentJobDeleteSubject, dJ as AgentJobGetSubject, ai as AgentJobIDRequest, dM as AgentJobListSubject, dN as AgentJobPauseSubject, ak as AgentJobResponse, dO as AgentJobResumeSubject, am as AgentJobTriggerRequest, an as AgentJobTriggerResponse, dP as AgentJobTriggerSubject, dK as AgentJobUpdateSubject, al as AgentJobsListResponse, ct as AgentListSubject, cu as AgentListSummarySubject, cA as AgentReactCreateSubject, cC as AgentReactGetSubject, cB as AgentReactUpdateSubject, cD as AgentReactValidateSubject, cb as AgentResponse, az as AgentScope, aA as AgentScopeOrg, ay as AgentScopeTS, aB as AgentScopeTeam, aC as AgentScopeUser, cv as AgentSearchSubject, aN as AgentSkill, a7 as AgentSkillConfigResponse, dA as AgentSkillGetConfigSubject, dz as AgentSkillUpdateConfigSubject, aX as AgentStatus, aZ as AgentStatusActive, a$ as AgentStatusArchived, aY as AgentStatusDraft, a_ as AgentStatusInactive, ax as AgentStatusTS, aS as AgentSubType, aT as AgentSubTypeChat, aW as AgentSubTypeDocument, aU as AgentSubTypeReact, aw as AgentSubTypeTS, aV as AgentSubTypeWorkflow, b9 as AgentSummary, et as AgentTemplate, cV as AgentTemplateGetSubject, cU as AgentTemplateListSubject, b1 as AgentTool, bl as AgentToolConfiguration, aP as AgentType, aQ as AgentTypeChat, aR as AgentTypeReact, av as AgentTypeTS, cT as AgentUpdateOrgSubject, cp as AgentUpdateSubject, cq as AgentUpdatedSubject, cL as AgentVersionActivateSubject, cM as AgentVersionActivatedSubject, cH as AgentVersionCreateSubject, cI as AgentVersionCreatedSubject, cJ as AgentVersionGetSubject, cK as AgentVersionListSubject, eC as AgentWidget, eM as AgentWidgetResponse, eD as AgentWidgetsCreateSubject, eH as AgentWidgetsDeleteSubject, eF as AgentWidgetsGetByWidgetID, eK as AgentWidgetsGetDefaultSubject, eE as AgentWidgetsGetSubject, eI as AgentWidgetsListSubject, eJ as AgentWidgetsSetDefaultSubject, eG as AgentWidgetsUpdateSubject, bX as ArtifactRef, c4 as CSATAnswer, c1 as CSATConfig, c2 as CSATQuestion, c5 as CSATResponse, c3 as CSATSurvey, cX as ChatAgentExecuteSubject, cY as ChatAgentStatusSubject, ag as CreateAgentJobRequest, ca as CreateAgentRequest, eL as CreateAgentWidgetRequest, br as CreateExecutionPlanRequest, bs as CreateExecutionPlanResponse, X as CreateSkillRequest, B as CreateSubAgentRequest, C as CreateToolDefinitionRequest, es as CustomizableField, b0 as DefaultDefinitions, ce as DeleteAgentRequest, eQ as DeleteAgentWidgetRequest, _ as DeleteSkillRequest, aa as DeleteSkillUserConfigRequest, I as DeleteSubAgentRequest, D as DeleteToolDefinitionRequest, b$ as ExecuteJobRequest, bt as ExecutePlanRequest, bu as ExecutePlanResponse, V as ExecuteToolRequest, W as ExecuteToolResponse, c0 as ExecutionCompletedEvent, bn as ExecutionMode, bp as ExecutionModeAsync, bq as ExecutionModeAsyncClient, bo as ExecutionModeSync, bw as ExecutionModeTS, p as ExecutionPlan, as as ExecutionResponse, E as ExecutionStatus, d as ExecutionStatusCompleted, e as ExecutionStatusFailed, b as ExecutionStatusPending, c as ExecutionStatusRunning, f as ExecutionStatusSkipped, g as ExecutionStatusTS, o as ExecutionTTLHours, dU as ExecutionsTTLCleanupSubject, cc as GetAgentRequest, a6 as GetAgentSkillConfigRequest, eN as GetAgentWidgetRequest, cj as GetDefaultAgentRequest, eU as GetDefaultWidgetRequest, ar as GetExecutionRequest, Z as GetSkillRequest, a8 as GetSkillUserConfigRequest, a2 as GetSkillsByIDsRequest, a3 as GetSkillsByIDsResponse, H as GetSubAgentRequest, Q as GetSubAgentsByIDsRequest, R as GetSubAgentsByIDsResponse, G as GetToolDefinitionRequest, N as GetToolDefinitionsByIDsRequest, O as GetToolDefinitionsByIDsResponse, eO as GetWidgetByWidgetIDRequest, bx as GetWidgetConfigRequest, by as GetWidgetConfigResponse, b3 as HandoffConfig, aL as IntegrationRequirement, bY as JobExecution, dQ as JobExecutionGetSubject, dR as JobExecutionListSubject, bZ as JobExecutionResult, bS as JobExecutionStatus, bV as JobExecutionStatusFailed, bT as JobExecutionStatusRunning, bU as JobExecutionStatusSuccess, bE as JobExecutionStatusTS, bW as JobExecutionStatusTimedOut, bO as JobFrequency, bP as JobFrequencyOneTime, bQ as JobFrequencySchedule, bD as JobFrequencyTS, bF as JobScope, bI as JobScopeOrg, bG as JobScopePrivate, bB as JobScopeTS, bH as JobScopeTeam, bJ as JobStatus, bK as JobStatusActive, bN as JobStatusDisabled, bL as JobStatusExecuting, bM as JobStatusPaused, bC as JobStatusTS, aj as ListAgentJobsRequest, eR as ListAgentWidgetsRequest, eS as ListAgentWidgetsResponse, cf as ListAgentsRequest, cg as ListAgentsResponse, ch as ListAgentsSummaryRequest, ci as ListAgentsSummaryResponse, ap as ListExecutionsByAgentRequest, ao as ListExecutionsByJobRequest, aq as ListExecutionsResponse, ab as ListSkillUserConfigRequest, $ as ListSkillsRequest, J as ListSubAgentsRequest, L as ListToolDefinitionsRequest, c9 as MCPServerConfig, n as MaxExecutions, M as MergeConfig, h as MergeStrategy, k as MergeStrategyAppend, j as MergeStrategyMerge, i as MergeStrategyReplace, l as MergeStrategyTS, y as PlanApprovalConfig, P as PlanStatus, r as PlanStatusApproved, v as PlanStatusCancelled, t as PlanStatusCompleted, s as PlanStatusExecuting, q as PlanStatusPendingApproval, u as PlanStatusRejected, w as PlanStatusTS, x as PlannedStep, b_ as ProcessJobTriggerResult, eV as PublicWidgetConfig, ep as PublisherType, eq as PublisherTypeEloquent, er as PublisherTypePartner, ea as PublisherTypeTS, c6 as ReactAgentConfig, cZ as ReactAgentExecuteSubject, c_ as ReactAgentStatusSubject, c$ as ReactAgentStopSubject, ae as ResolveSkillConfigRequest, af as ResolveSkillConfigResponse, c8 as RetryPolicy, dT as RuntimeJobCompletedSubject, dS as RuntimeJobExecuteSubject, bz as SaveWidgetConfigRequest, bA as SaveWidgetConfigResponse, eT as SetDefaultWidgetRequest, aM as Skill, aE as SkillCategory, aI as SkillCategoryAnalysis, aJ as SkillCategoryCommunication, aG as SkillCategoryCreative, aK as SkillCategoryCustom, aH as SkillCategoryIntegration, aF as SkillCategoryProductivity, aD as SkillCategoryTS, dF as SkillResolveConfigSubject, a0 as SkillResponse, aO as SkillUserConfig, dD as SkillUserConfigDeleteSubject, dB as SkillUserConfigGetSubject, ad as SkillUserConfigListResponse, dE as SkillUserConfigListSubject, ac as SkillUserConfigResponse, dC as SkillUserConfigUpdateSubject, dp as SkillsCreateSubject, dq as SkillsCreatedSubject, du as SkillsDeleteSubject, dv as SkillsDeletedSubject, dx as SkillsGetByIDsSubject, dr as SkillsGetSubject, a1 as SkillsListResponse, dw as SkillsListSubject, dy as SkillsUpdateOrgConfigSubject, ds as SkillsUpdateSubject, dt as SkillsUpdatedSubject, bk as SubAgent, S as SubAgentResponse, dd as SubAgentsCreateSubject, de as SubAgentsCreatedSubject, di as SubAgentsDeleteSubject, dj as SubAgentsDeletedSubject, dm as SubAgentsExecuteSubject, dl as SubAgentsGetByIDsSubject, df as SubAgentsGetSubject, K as SubAgentsListResponse, dk as SubAgentsListSubject, dg as SubAgentsUpdateSubject, dh as SubAgentsUpdatedSubject, dn as SubAgentsValidateSubject, at as TTLCleanupRequest, au as TTLCleanupResponse, eu as TemplateCategoryCount, ev as TemplateFilters, em as TemplateStatus, eo as TemplateStatusDraft, en as TemplateStatusPublished, e9 as TemplateStatusTS, c7 as ToolConfig, ba as ToolDefinition, T as ToolDefinitionResponse, d2 as ToolDefinitionsCreateSubject, d3 as ToolDefinitionsCreatedSubject, d7 as ToolDefinitionsDeleteSubject, d8 as ToolDefinitionsDeletedSubject, db as ToolDefinitionsExecuteSubject, da as ToolDefinitionsGetByIDsSubject, d4 as ToolDefinitionsGetSubject, z as ToolDefinitionsListResponse, d9 as ToolDefinitionsListSubject, d5 as ToolDefinitionsUpdateSubject, d6 as ToolDefinitionsUpdatedSubject, dc as ToolDefinitionsValidateSubject, bb as ToolExecution, bm as ToolExecutionPolicy, bc as ToolExecutionProgress, bd as ToolExecutionStatus, bg as ToolExecutionStatusCompleted, bf as ToolExecutionStatusExecuting, bh as ToolExecutionStatusFailed, bj as ToolExecutionStatusSkipped, be as ToolExecutionStatusStarted, bv as ToolExecutionStatusTS, bi as ToolExecutionStatusTimeout, ah as UpdateAgentJobRequest, cd as UpdateAgentRequest, a5 as UpdateAgentSkillConfigRequest, eP as UpdateAgentWidgetRequest, ck as UpdateOrgAgentsRequest, cl as UpdateOrgAgentsResponse, a4 as UpdateSkillOrgConfigRequest, Y as UpdateSkillRequest, a9 as UpdateSkillUserConfigRequest, F as UpdateSubAgentRequest, U as UpdateToolDefinitionRequest, ex as UserSuggestedAction, ew as UserSuggestedActionsConfig, ey as UserSuggestedActionsRequest, ez as UserSuggestedActionsResponse, eA as ValidationError, eB as ValidationErrors, b5 as WidgetAppearance, b6 as WidgetBehavior, b4 as WidgetConfig, dG as WidgetConfigGetByAgentSubject, dH as WidgetConfigSaveSubject, b7 as WidgetSecurity, d0 as WorkflowAgentGetSubject, d1 as WorkflowAgentUpdateSubject } from '../agent-models-BdtFKjV3.mjs';
2
2
  import { ResponseMetadata } from '@elqnt/types';
3
3
 
4
4
  /**
@@ -94,4 +94,882 @@ declare const HubEventsInsertTaskOutcomes = "hub.events.insert_task_outcomes";
94
94
  */
95
95
  declare const HubEventsUpdateTaskOutcomeStatus = "hub.events.update_task_outcome_status";
96
96
 
97
- export { type AiTaskOutcome, HubAnalyticsGetTaskMetrics, HubAnalyticsGetTaskOutcomes, HubEventsInsertTaskOutcomes, HubEventsUpdateTaskOutcomeStatus, type TaskOutcomeInsertionResponse, type TaskOutcomeStatusUpdateRequest, type TaskOutcomeStatusUpdateResponse, type TaskOutcomesInsertRequest };
97
+ /**
98
+ * IntegrationProvider represents the email/calendar provider type
99
+ */
100
+ type IntegrationProvider = string;
101
+ declare const IntegrationProviderGoogle: IntegrationProvider;
102
+ declare const IntegrationProviderMicrosoft: IntegrationProvider;
103
+ type IntegrationProviderTS = 'google' | 'microsoft';
104
+ /**
105
+ * IntegrationType represents what the integration is for
106
+ */
107
+ type IntegrationType = string;
108
+ declare const IntegrationTypeEmail: IntegrationType;
109
+ declare const IntegrationTypeCalendar: IntegrationType;
110
+ declare const IntegrationTypeDrive: IntegrationType;
111
+ type IntegrationTypeTS = 'email' | 'calendar' | 'drive';
112
+ /**
113
+ * IntegrationStatus represents the current status of an integration
114
+ */
115
+ type IntegrationStatus = string;
116
+ declare const IntegrationStatusActive: IntegrationStatus;
117
+ declare const IntegrationStatusExpired: IntegrationStatus;
118
+ declare const IntegrationStatusRevoked: IntegrationStatus;
119
+ declare const IntegrationStatusError: IntegrationStatus;
120
+ type IntegrationStatusTS = 'active' | 'expired' | 'revoked' | 'error';
121
+ /**
122
+ * IntegrationMode represents enterprise integration mode
123
+ */
124
+ type IntegrationMode = string;
125
+ declare const IntegrationModeServicePrincipal: IntegrationMode;
126
+ declare const IntegrationModeDomainDelegation: IntegrationMode;
127
+ /**
128
+ * UserIntegration represents a user's connected email/calendar account
129
+ */
130
+ interface UserIntegration {
131
+ id: string;
132
+ org_id: string;
133
+ user_id: string;
134
+ provider: IntegrationProvider;
135
+ integration_type: IntegrationType;
136
+ account_email: string;
137
+ account_name?: string;
138
+ status: IntegrationStatus;
139
+ scopes: string[];
140
+ triage_enabled: boolean;
141
+ last_used_at?: string;
142
+ last_error?: string;
143
+ created_at: string;
144
+ updated_at: string;
145
+ expires_at?: string;
146
+ }
147
+ /**
148
+ * TokenData represents encrypted OAuth token data
149
+ */
150
+ interface TokenData {
151
+ access_token: string;
152
+ refresh_token: string;
153
+ token_type: string;
154
+ expires_at: string;
155
+ scopes: string[];
156
+ }
157
+ /**
158
+ * OrgIntegration represents an organization-wide integration configuration
159
+ */
160
+ interface OrgIntegration {
161
+ id: string;
162
+ org_id: string;
163
+ provider: IntegrationProvider;
164
+ integration_type: IntegrationType;
165
+ mode: IntegrationMode;
166
+ domain?: string;
167
+ enabled: boolean;
168
+ config?: {
169
+ [key: string]: any;
170
+ };
171
+ scopes: string[];
172
+ created_by: string;
173
+ created_at: string;
174
+ updated_at: string;
175
+ }
176
+ /**
177
+ * ListUserIntegrationsRequest represents request to list user's integrations
178
+ */
179
+ interface ListUserIntegrationsRequest {
180
+ org_id: string;
181
+ user_id: string;
182
+ }
183
+ /**
184
+ * ListUserIntegrationsResponse represents response with user's integrations
185
+ */
186
+ interface ListUserIntegrationsResponse {
187
+ integrations: UserIntegration[];
188
+ total: number;
189
+ metadata: any;
190
+ }
191
+ /**
192
+ * GetUserIntegrationRequest represents request to get a specific integration
193
+ */
194
+ interface GetUserIntegrationRequest {
195
+ org_id: string;
196
+ user_id: string;
197
+ provider: IntegrationProvider;
198
+ integration_type: IntegrationType;
199
+ }
200
+ /**
201
+ * GetUserIntegrationResponse represents response with a specific integration
202
+ */
203
+ interface GetUserIntegrationResponse {
204
+ integration?: UserIntegration;
205
+ metadata: any;
206
+ }
207
+ /**
208
+ * ConnectIntegrationRequest represents request to initiate OAuth connection
209
+ */
210
+ interface ConnectIntegrationRequest {
211
+ org_id: string;
212
+ user_id: string;
213
+ provider: IntegrationProvider;
214
+ integration_type: IntegrationType;
215
+ redirect_uri: string;
216
+ }
217
+ /**
218
+ * ConnectIntegrationResponse represents response with OAuth URL
219
+ */
220
+ interface ConnectIntegrationResponse {
221
+ auth_url: string;
222
+ state: string;
223
+ metadata: any;
224
+ }
225
+ /**
226
+ * IntegrationCallbackRequest represents OAuth callback data
227
+ */
228
+ interface IntegrationCallbackRequest {
229
+ org_id: string;
230
+ user_id: string;
231
+ state: string;
232
+ code: string;
233
+ error?: string;
234
+ }
235
+ /**
236
+ * IntegrationCallbackResponse represents callback result
237
+ */
238
+ interface IntegrationCallbackResponse {
239
+ integration?: UserIntegration;
240
+ metadata: any;
241
+ }
242
+ /**
243
+ * DisconnectIntegrationRequest represents request to disconnect an integration
244
+ */
245
+ interface DisconnectIntegrationRequest {
246
+ org_id: string;
247
+ user_id: string;
248
+ provider: IntegrationProvider;
249
+ integration_type: IntegrationType;
250
+ }
251
+ /**
252
+ * DisconnectIntegrationResponse represents disconnect result
253
+ */
254
+ interface DisconnectIntegrationResponse {
255
+ metadata: any;
256
+ }
257
+ /**
258
+ * RefreshIntegrationRequest represents request to refresh token
259
+ */
260
+ interface RefreshIntegrationRequest {
261
+ org_id: string;
262
+ user_id: string;
263
+ provider: IntegrationProvider;
264
+ integration_type: IntegrationType;
265
+ }
266
+ /**
267
+ * RefreshIntegrationResponse represents refresh result
268
+ */
269
+ interface RefreshIntegrationResponse {
270
+ integration?: UserIntegration;
271
+ metadata: any;
272
+ }
273
+ /**
274
+ * UpdateTriageEnabledRequest represents request to update triage enabled flag
275
+ */
276
+ interface UpdateTriageEnabledRequest {
277
+ org_id: string;
278
+ user_id: string;
279
+ provider: IntegrationProvider;
280
+ integration_type: IntegrationType;
281
+ triage_enabled: boolean;
282
+ }
283
+ /**
284
+ * UpdateTriageEnabledResponse represents update triage result
285
+ */
286
+ interface UpdateTriageEnabledResponse {
287
+ integration?: UserIntegration;
288
+ metadata: any;
289
+ }
290
+ /**
291
+ * ListOrgIntegrationsRequest represents request to list org integrations
292
+ */
293
+ interface ListOrgIntegrationsRequest {
294
+ org_id: string;
295
+ }
296
+ /**
297
+ * ListOrgIntegrationsResponse represents response with org integrations
298
+ */
299
+ interface ListOrgIntegrationsResponse {
300
+ integrations: OrgIntegration[];
301
+ total: number;
302
+ metadata: any;
303
+ }
304
+ /**
305
+ * ConfigureOrgIntegrationRequest represents request to configure enterprise integration
306
+ */
307
+ interface ConfigureOrgIntegrationRequest {
308
+ org_id: string;
309
+ provider: IntegrationProvider;
310
+ integration_type: IntegrationType;
311
+ mode: IntegrationMode;
312
+ domain?: string;
313
+ enabled: boolean;
314
+ config?: {
315
+ [key: string]: any;
316
+ };
317
+ created_by: string;
318
+ }
319
+ /**
320
+ * ConfigureOrgIntegrationResponse represents response after configuring
321
+ */
322
+ interface ConfigureOrgIntegrationResponse {
323
+ integration?: OrgIntegration;
324
+ metadata: any;
325
+ }
326
+ /**
327
+ * DisableOrgIntegrationRequest represents request to disable org integration
328
+ */
329
+ interface DisableOrgIntegrationRequest {
330
+ org_id: string;
331
+ provider: IntegrationProvider;
332
+ integration_type: IntegrationType;
333
+ }
334
+ /**
335
+ * DisableOrgIntegrationResponse represents response after disabling
336
+ */
337
+ interface DisableOrgIntegrationResponse {
338
+ metadata: any;
339
+ }
340
+ /**
341
+ * SearchEmailsRequest represents request to search emails
342
+ */
343
+ interface SearchEmailsRequest {
344
+ org_id: string;
345
+ user_id: string;
346
+ query: string;
347
+ from?: string;
348
+ to?: string;
349
+ subject?: string;
350
+ date_range?: string;
351
+ limit?: number;
352
+ }
353
+ /**
354
+ * SearchEmailsResponse represents email search results
355
+ */
356
+ interface SearchEmailsResponse {
357
+ emails: EmailSummary[];
358
+ total: number;
359
+ metadata: any;
360
+ }
361
+ /**
362
+ * EmailSummary represents a summarized email for display in chat
363
+ */
364
+ interface EmailSummary {
365
+ id: string;
366
+ thread_id?: string;
367
+ from: string;
368
+ from_name?: string;
369
+ to: string[];
370
+ cc?: string[];
371
+ subject: string;
372
+ snippet: string;
373
+ date: string;
374
+ has_attachments: boolean;
375
+ is_read: boolean;
376
+ labels?: string[];
377
+ web_link?: string;
378
+ provider?: IntegrationProviderTS;
379
+ }
380
+ /**
381
+ * GetEmailRequest represents request to get email details
382
+ */
383
+ interface GetEmailRequest {
384
+ org_id: string;
385
+ user_id: string;
386
+ email_id: string;
387
+ include_attachments?: boolean;
388
+ }
389
+ /**
390
+ * GetEmailResponse represents email details response
391
+ */
392
+ interface GetEmailResponse {
393
+ email?: EmailDetails;
394
+ metadata: any;
395
+ }
396
+ /**
397
+ * EmailDetails represents full email details for viewing
398
+ */
399
+ interface EmailDetails {
400
+ id: string;
401
+ thread_id?: string;
402
+ from: string;
403
+ from_name?: string;
404
+ to: string[];
405
+ cc?: string[];
406
+ bcc?: string[];
407
+ subject: string;
408
+ body: string;
409
+ body_html?: string;
410
+ date: string;
411
+ attachments?: EmailAttachment[];
412
+ labels?: string[];
413
+ is_read: boolean;
414
+ web_link?: string;
415
+ provider?: IntegrationProviderTS;
416
+ }
417
+ /**
418
+ * EmailAttachment represents an email attachment
419
+ */
420
+ interface EmailAttachment {
421
+ id: string;
422
+ filename: string;
423
+ mime_type: string;
424
+ size: number;
425
+ }
426
+ /**
427
+ * SendEmailResult represents the result of sending an email
428
+ */
429
+ interface SendEmailResult {
430
+ message_id: string;
431
+ thread_id?: string;
432
+ success: boolean;
433
+ error?: string;
434
+ }
435
+ /**
436
+ * GetEmailThreadRequest represents request to get email thread
437
+ */
438
+ interface GetEmailThreadRequest {
439
+ org_id: string;
440
+ user_id: string;
441
+ thread_id: string;
442
+ }
443
+ /**
444
+ * GetEmailThreadResponse represents email thread response
445
+ */
446
+ interface GetEmailThreadResponse {
447
+ thread: EmailDetails[];
448
+ metadata: any;
449
+ }
450
+ /**
451
+ * SendEmailRequest represents request to send an email
452
+ */
453
+ interface SendEmailRequest {
454
+ org_id: string;
455
+ user_id: string;
456
+ to: string[];
457
+ cc?: string[];
458
+ bcc?: string[];
459
+ subject: string;
460
+ body: string;
461
+ body_html?: string;
462
+ reply_to?: string;
463
+ thread_id?: string;
464
+ }
465
+ /**
466
+ * SendEmailResponse represents send email response
467
+ */
468
+ interface SendEmailResponse {
469
+ result: SendEmailResult;
470
+ metadata: any;
471
+ }
472
+ /**
473
+ * ArchiveEmailRequest represents request to archive an email
474
+ */
475
+ interface ArchiveEmailRequest {
476
+ org_id: string;
477
+ user_id: string;
478
+ email_id: string;
479
+ }
480
+ /**
481
+ * ArchiveEmailResponse represents archive email response
482
+ */
483
+ interface ArchiveEmailResponse {
484
+ success: boolean;
485
+ metadata: any;
486
+ }
487
+ /**
488
+ * MarkAsReadRequest represents request to mark an email as read/unread
489
+ */
490
+ interface MarkAsReadRequest {
491
+ org_id: string;
492
+ user_id: string;
493
+ email_id: string;
494
+ is_read: boolean;
495
+ }
496
+ /**
497
+ * MarkAsReadResponse represents mark as read response
498
+ */
499
+ interface MarkAsReadResponse {
500
+ success: boolean;
501
+ metadata: any;
502
+ }
503
+ /**
504
+ * ForwardEmailRequest represents request to forward an email
505
+ */
506
+ interface ForwardEmailRequest {
507
+ org_id: string;
508
+ user_id: string;
509
+ email_id: string;
510
+ forward_to: string;
511
+ note?: string;
512
+ }
513
+ /**
514
+ * RunEmailTriageRequest represents request to manually trigger email triage
515
+ */
516
+ interface RunEmailTriageRequest {
517
+ org_id: string;
518
+ user_id: string;
519
+ }
520
+ /**
521
+ * RunEmailTriageResponse represents email triage run response
522
+ */
523
+ interface RunEmailTriageResponse {
524
+ success: boolean;
525
+ emails_found: number;
526
+ instances_created: number;
527
+ message?: string;
528
+ metadata: any;
529
+ }
530
+ /**
531
+ * ListCalendarEventsRequest represents request to list calendar events
532
+ */
533
+ interface ListCalendarEventsRequest {
534
+ org_id: string;
535
+ user_id: string;
536
+ query?: string;
537
+ date_range?: string;
538
+ start_date?: string;
539
+ end_date?: string;
540
+ limit?: number;
541
+ }
542
+ /**
543
+ * ListCalendarEventsResponse represents calendar events list
544
+ */
545
+ interface ListCalendarEventsResponse {
546
+ events: CalendarEvent[];
547
+ total: number;
548
+ metadata: any;
549
+ }
550
+ /**
551
+ * CalendarEvent represents a calendar event
552
+ */
553
+ interface CalendarEvent {
554
+ id: string;
555
+ title: string;
556
+ description?: string;
557
+ location?: string;
558
+ start: string;
559
+ end: string;
560
+ is_all_day: boolean;
561
+ organizer?: string;
562
+ organizer_name?: string;
563
+ attendees?: EventAttendee[];
564
+ status?: string;
565
+ response_status?: string;
566
+ recurrence_rule?: string;
567
+ conference_url?: string;
568
+ calendar_id?: string;
569
+ provider?: IntegrationProviderTS;
570
+ }
571
+ /**
572
+ * EventAttendee represents a calendar event attendee
573
+ */
574
+ interface EventAttendee {
575
+ email: string;
576
+ name?: string;
577
+ response_status?: string;
578
+ is_organizer?: boolean;
579
+ }
580
+ /**
581
+ * GetCalendarEventRequest represents request to get event details
582
+ */
583
+ interface GetCalendarEventRequest {
584
+ org_id: string;
585
+ user_id: string;
586
+ event_id: string;
587
+ }
588
+ /**
589
+ * GetCalendarEventResponse represents event details response
590
+ */
591
+ interface GetCalendarEventResponse {
592
+ event?: CalendarEvent;
593
+ metadata: any;
594
+ }
595
+ /**
596
+ * CreateCalendarEventRequest represents request to create a new calendar event
597
+ */
598
+ interface CreateCalendarEventRequest {
599
+ org_id: string;
600
+ user_id: string;
601
+ title: string;
602
+ description?: string;
603
+ location?: string;
604
+ start: string;
605
+ end: string;
606
+ is_all_day?: boolean;
607
+ attendees?: string[];
608
+ add_video_conference?: boolean;
609
+ reminders?: EventReminder[];
610
+ timezone?: string;
611
+ }
612
+ /**
613
+ * EventReminder represents a reminder for a calendar event
614
+ */
615
+ interface EventReminder {
616
+ method: string;
617
+ minutes: number;
618
+ }
619
+ /**
620
+ * CreateCalendarEventResponse represents response after creating an event
621
+ */
622
+ interface CreateCalendarEventResponse {
623
+ event?: CalendarEvent;
624
+ metadata: any;
625
+ }
626
+ /**
627
+ * UpdateCalendarEventRequest represents request to update an existing calendar event
628
+ */
629
+ interface UpdateCalendarEventRequest {
630
+ org_id: string;
631
+ user_id: string;
632
+ event_id: string;
633
+ title?: string;
634
+ description?: string;
635
+ location?: string;
636
+ start?: string;
637
+ end?: string;
638
+ is_all_day?: boolean;
639
+ attendees?: string[];
640
+ }
641
+ /**
642
+ * UpdateCalendarEventResponse represents response after updating an event
643
+ */
644
+ interface UpdateCalendarEventResponse {
645
+ event?: CalendarEvent;
646
+ metadata: any;
647
+ }
648
+ /**
649
+ * DeleteCalendarEventRequest represents request to delete a calendar event
650
+ */
651
+ interface DeleteCalendarEventRequest {
652
+ org_id: string;
653
+ user_id: string;
654
+ event_id: string;
655
+ send_updates?: boolean;
656
+ cancel_reason?: string;
657
+ }
658
+ /**
659
+ * DeleteCalendarEventResponse represents response after deleting an event
660
+ */
661
+ interface DeleteCalendarEventResponse {
662
+ metadata: any;
663
+ }
664
+ /**
665
+ * RSVPCalendarEventRequest represents request to respond to a calendar event invitation
666
+ */
667
+ interface RSVPCalendarEventRequest {
668
+ org_id: string;
669
+ user_id: string;
670
+ event_id: string;
671
+ response: string;
672
+ comment?: string;
673
+ }
674
+ /**
675
+ * RSVPCalendarEventResponse represents response after RSVP
676
+ */
677
+ interface RSVPCalendarEventResponse {
678
+ event?: CalendarEvent;
679
+ metadata: any;
680
+ }
681
+ /**
682
+ * ListDriveFilesRequest represents request to list/search drive files
683
+ */
684
+ interface ListDriveFilesRequest {
685
+ org_id: string;
686
+ user_id: string;
687
+ query?: string;
688
+ folder_id?: string;
689
+ mime_type?: string;
690
+ limit?: number;
691
+ }
692
+ /**
693
+ * ListDriveFilesResponse represents drive files list
694
+ */
695
+ interface ListDriveFilesResponse {
696
+ files: FileSummary[];
697
+ total: number;
698
+ metadata: any;
699
+ }
700
+ /**
701
+ * FileSummary represents a file summary for display in chat
702
+ */
703
+ interface FileSummary {
704
+ id: string;
705
+ name: string;
706
+ mime_type: string;
707
+ size: number;
708
+ modified_time: string;
709
+ created_time?: string;
710
+ owner?: string;
711
+ owner_email?: string;
712
+ web_link?: string;
713
+ icon_link?: string;
714
+ thumbnail_link?: string;
715
+ is_folder: boolean;
716
+ parent_id?: string;
717
+ provider?: IntegrationProviderTS;
718
+ }
719
+ /**
720
+ * GetDriveFileRequest represents request to get file details
721
+ */
722
+ interface GetDriveFileRequest {
723
+ org_id: string;
724
+ user_id: string;
725
+ file_id: string;
726
+ }
727
+ /**
728
+ * GetDriveFileResponse represents file details response
729
+ */
730
+ interface GetDriveFileResponse {
731
+ file?: FileDetails;
732
+ metadata: any;
733
+ }
734
+ /**
735
+ * FileDetails represents full file details for viewing
736
+ */
737
+ interface FileDetails {
738
+ id: string;
739
+ name: string;
740
+ mime_type: string;
741
+ size: number;
742
+ modified_time: string;
743
+ created_time?: string;
744
+ owner?: string;
745
+ owner_email?: string;
746
+ description?: string;
747
+ web_link?: string;
748
+ download_link?: string;
749
+ icon_link?: string;
750
+ thumbnail_link?: string;
751
+ is_folder: boolean;
752
+ parent_id?: string;
753
+ parent_name?: string;
754
+ shared_with?: FilePermission[];
755
+ provider?: IntegrationProviderTS;
756
+ }
757
+ /**
758
+ * FilePermission represents a file sharing permission
759
+ */
760
+ interface FilePermission {
761
+ email: string;
762
+ name?: string;
763
+ role: string;
764
+ }
765
+ /**
766
+ * FileWithContent represents a file with its text content (for content search)
767
+ */
768
+ interface FileWithContent {
769
+ FileSummary: FileSummary;
770
+ content?: string;
771
+ content_available: boolean;
772
+ }
773
+ /**
774
+ * SetupIntegrationsRequest represents request to setup integration tables for an org
775
+ */
776
+ interface SetupIntegrationsRequest {
777
+ org_id: string;
778
+ }
779
+ /**
780
+ * SetupIntegrationsResponse represents setup result
781
+ */
782
+ interface SetupIntegrationsResponse {
783
+ metadata: any;
784
+ }
785
+ /**
786
+ * OAuthState represents OAuth state stored temporarily during auth flow
787
+ */
788
+ interface OAuthState {
789
+ state: string;
790
+ org_id: string;
791
+ user_id: string;
792
+ provider: IntegrationProvider;
793
+ integration_type: IntegrationType;
794
+ redirect_uri: string;
795
+ created_at: string;
796
+ expires_at: string;
797
+ }
798
+ /**
799
+ * User Integration CRUD (Individual Mode)
800
+ */
801
+ declare const HubIntegrationUserList = "hub.integrations.user.list";
802
+ declare const HubIntegrationUserGet = "hub.integrations.user.get";
803
+ declare const HubIntegrationUserConnect = "hub.integrations.user.connect";
804
+ declare const HubIntegrationUserCallback = "hub.integrations.user.callback";
805
+ declare const HubIntegrationUserDisconnect = "hub.integrations.user.disconnect";
806
+ declare const HubIntegrationUserRefresh = "hub.integrations.user.refresh";
807
+ declare const HubIntegrationUserUpdateTriage = "hub.integrations.user.triage.update";
808
+ /**
809
+ * Org Integration CRUD (Enterprise Mode)
810
+ */
811
+ declare const HubIntegrationOrgList = "hub.integrations.org.list";
812
+ declare const HubIntegrationOrgConfigure = "hub.integrations.org.configure";
813
+ declare const HubIntegrationOrgDisable = "hub.integrations.org.disable";
814
+ /**
815
+ * Email Operations (used by agent tools)
816
+ */
817
+ declare const HubIntegrationEmailSearch = "hub.integrations.email.search";
818
+ declare const HubIntegrationEmailGet = "hub.integrations.email.get";
819
+ declare const HubIntegrationEmailThread = "hub.integrations.email.thread";
820
+ declare const HubIntegrationEmailSend = "hub.integrations.email.send";
821
+ declare const HubIntegrationEmailArchive = "hub.integrations.email.archive";
822
+ declare const HubIntegrationEmailMarkRead = "hub.integrations.email.markread";
823
+ declare const HubIntegrationEmailForward = "hub.integrations.email.forward";
824
+ /**
825
+ * Email Triage Operations
826
+ */
827
+ declare const HubEmailTriageRunNow = "hub.email.triage.run";
828
+ /**
829
+ * Calendar Operations (used by agent tools)
830
+ */
831
+ declare const HubIntegrationCalendarList = "hub.integrations.calendar.list";
832
+ declare const HubIntegrationCalendarGet = "hub.integrations.calendar.get";
833
+ declare const HubIntegrationCalendarCreate = "hub.integrations.calendar.create";
834
+ declare const HubIntegrationCalendarUpdate = "hub.integrations.calendar.update";
835
+ declare const HubIntegrationCalendarDelete = "hub.integrations.calendar.delete";
836
+ declare const HubIntegrationCalendarRSVP = "hub.integrations.calendar.rsvp";
837
+ /**
838
+ * Drive Operations (used by agent tools)
839
+ */
840
+ declare const HubIntegrationDriveSearch = "hub.integrations.drive.search";
841
+ declare const HubIntegrationDriveGet = "hub.integrations.drive.get";
842
+ /**
843
+ * Setup/Provisioning
844
+ */
845
+ declare const HubIntegrationSetupOrg = "hub.integrations.setup.org";
846
+
847
+ /**
848
+ * NATS Subjects (prefixed with agents.tool.execute. to match agents service routing)
849
+ */
850
+ declare const CreateSandboxSubject = "agents.tool.execute.sandbox.create";
851
+ /**
852
+ * NATS Subjects (prefixed with agents.tool.execute. to match agents service routing)
853
+ */
854
+ declare const GetSandboxSubject = "agents.tool.execute.sandbox.get";
855
+ /**
856
+ * NATS Subjects (prefixed with agents.tool.execute. to match agents service routing)
857
+ */
858
+ declare const UpdateSandboxSubject = "agents.tool.execute.sandbox.update";
859
+ /**
860
+ * NATS Subjects (prefixed with agents.tool.execute. to match agents service routing)
861
+ */
862
+ declare const ListSandboxSubject = "agents.tool.execute.sandbox.list";
863
+ /**
864
+ * NATS Subjects (prefixed with agents.tool.execute. to match agents service routing)
865
+ */
866
+ declare const DeleteSandboxSubject = "agents.tool.execute.sandbox.delete";
867
+ /**
868
+ * Sandbox represents a stored HTML sandbox
869
+ */
870
+ interface Sandbox {
871
+ id: string;
872
+ orgId?: string;
873
+ userId?: string;
874
+ html: string;
875
+ title?: string;
876
+ description?: string;
877
+ url?: string;
878
+ metadata?: {
879
+ [key: string]: string;
880
+ };
881
+ createdAt: string;
882
+ expiresAt: string;
883
+ }
884
+ /**
885
+ * CreateSandboxRequest is the request to create a new sandbox (prompt-based)
886
+ */
887
+ interface CreateSandboxRequest {
888
+ orgId: string;
889
+ userId?: string;
890
+ prompt: string;
891
+ title?: string;
892
+ description?: string;
893
+ libraries?: string[];
894
+ style?: string;
895
+ }
896
+ /**
897
+ * CreateSandboxResponse is the response after creating a sandbox
898
+ */
899
+ interface CreateSandboxResponse {
900
+ sandbox?: Sandbox;
901
+ id: string;
902
+ url: string;
903
+ metadata: ResponseMetadata;
904
+ }
905
+ /**
906
+ * GetSandboxRequest is the request to get a sandbox
907
+ */
908
+ interface GetSandboxRequest {
909
+ id: string;
910
+ }
911
+ /**
912
+ * GetSandboxResponse is the response with sandbox data
913
+ */
914
+ interface GetSandboxResponse {
915
+ sandbox?: Sandbox;
916
+ metadata: ResponseMetadata;
917
+ }
918
+ /**
919
+ * UpdateSandboxRequest is the request to update a sandbox (prompt-based)
920
+ */
921
+ interface UpdateSandboxRequest {
922
+ id: string;
923
+ orgId: string;
924
+ userId?: string;
925
+ prompt: string;
926
+ title?: string;
927
+ }
928
+ /**
929
+ * UpdateSandboxResponse is the response after updating a sandbox
930
+ */
931
+ interface UpdateSandboxResponse {
932
+ sandbox?: Sandbox;
933
+ id: string;
934
+ url: string;
935
+ metadata: ResponseMetadata;
936
+ }
937
+ /**
938
+ * ListSandboxesRequest is the request to list sandboxes
939
+ */
940
+ interface ListSandboxesRequest {
941
+ orgId: string;
942
+ userId?: string;
943
+ limit?: number;
944
+ }
945
+ /**
946
+ * ListSandboxesResponse is the response with list of sandboxes
947
+ */
948
+ interface ListSandboxesResponse {
949
+ sandboxes: Sandbox[];
950
+ total: number;
951
+ metadata: ResponseMetadata;
952
+ }
953
+ /**
954
+ * DeleteSandboxRequest is the request to delete a sandbox
955
+ */
956
+ interface DeleteSandboxRequest {
957
+ id: string;
958
+ }
959
+ /**
960
+ * DeleteSandboxResponse is the response after deleting a sandbox
961
+ */
962
+ interface DeleteSandboxResponse {
963
+ success: boolean;
964
+ metadata: ResponseMetadata;
965
+ }
966
+ /**
967
+ * ValidationResult holds the result of HTML validation
968
+ */
969
+ interface ValidationResult {
970
+ valid: boolean;
971
+ errors?: string[];
972
+ warnings?: string[];
973
+ }
974
+
975
+ export { type AiTaskOutcome, type ArchiveEmailRequest, type ArchiveEmailResponse, type CalendarEvent, type ConfigureOrgIntegrationRequest, type ConfigureOrgIntegrationResponse, type ConnectIntegrationRequest, type ConnectIntegrationResponse, type CreateCalendarEventRequest, type CreateCalendarEventResponse, type CreateSandboxRequest, type CreateSandboxResponse, CreateSandboxSubject, type DeleteCalendarEventRequest, type DeleteCalendarEventResponse, type DeleteSandboxRequest, type DeleteSandboxResponse, DeleteSandboxSubject, type DisableOrgIntegrationRequest, type DisableOrgIntegrationResponse, type DisconnectIntegrationRequest, type DisconnectIntegrationResponse, type EmailAttachment, type EmailDetails, type EmailSummary, type EventAttendee, type EventReminder, type FileDetails, type FilePermission, type FileSummary, type FileWithContent, type ForwardEmailRequest, type GetCalendarEventRequest, type GetCalendarEventResponse, type GetDriveFileRequest, type GetDriveFileResponse, type GetEmailRequest, type GetEmailResponse, type GetEmailThreadRequest, type GetEmailThreadResponse, type GetSandboxRequest, type GetSandboxResponse, GetSandboxSubject, type GetUserIntegrationRequest, type GetUserIntegrationResponse, HubAnalyticsGetTaskMetrics, HubAnalyticsGetTaskOutcomes, HubEmailTriageRunNow, HubEventsInsertTaskOutcomes, HubEventsUpdateTaskOutcomeStatus, HubIntegrationCalendarCreate, HubIntegrationCalendarDelete, HubIntegrationCalendarGet, HubIntegrationCalendarList, HubIntegrationCalendarRSVP, HubIntegrationCalendarUpdate, HubIntegrationDriveGet, HubIntegrationDriveSearch, HubIntegrationEmailArchive, HubIntegrationEmailForward, HubIntegrationEmailGet, HubIntegrationEmailMarkRead, HubIntegrationEmailSearch, HubIntegrationEmailSend, HubIntegrationEmailThread, HubIntegrationOrgConfigure, HubIntegrationOrgDisable, HubIntegrationOrgList, HubIntegrationSetupOrg, HubIntegrationUserCallback, HubIntegrationUserConnect, HubIntegrationUserDisconnect, HubIntegrationUserGet, HubIntegrationUserList, HubIntegrationUserRefresh, HubIntegrationUserUpdateTriage, type IntegrationCallbackRequest, type IntegrationCallbackResponse, type IntegrationMode, IntegrationModeDomainDelegation, IntegrationModeServicePrincipal, type IntegrationProvider, IntegrationProviderGoogle, IntegrationProviderMicrosoft, type IntegrationProviderTS, type IntegrationStatus, IntegrationStatusActive, IntegrationStatusError, IntegrationStatusExpired, IntegrationStatusRevoked, type IntegrationStatusTS, type IntegrationType, IntegrationTypeCalendar, IntegrationTypeDrive, IntegrationTypeEmail, type IntegrationTypeTS, type ListCalendarEventsRequest, type ListCalendarEventsResponse, type ListDriveFilesRequest, type ListDriveFilesResponse, type ListOrgIntegrationsRequest, type ListOrgIntegrationsResponse, ListSandboxSubject, type ListSandboxesRequest, type ListSandboxesResponse, type ListUserIntegrationsRequest, type ListUserIntegrationsResponse, type MarkAsReadRequest, type MarkAsReadResponse, type OAuthState, type OrgIntegration, type RSVPCalendarEventRequest, type RSVPCalendarEventResponse, type RefreshIntegrationRequest, type RefreshIntegrationResponse, type RunEmailTriageRequest, type RunEmailTriageResponse, type Sandbox, type SearchEmailsRequest, type SearchEmailsResponse, type SendEmailRequest, type SendEmailResponse, type SendEmailResult, type SetupIntegrationsRequest, type SetupIntegrationsResponse, type TaskOutcomeInsertionResponse, type TaskOutcomeStatusUpdateRequest, type TaskOutcomeStatusUpdateResponse, type TaskOutcomesInsertRequest, type TokenData, type UpdateCalendarEventRequest, type UpdateCalendarEventResponse, type UpdateSandboxRequest, type UpdateSandboxResponse, UpdateSandboxSubject, type UpdateTriageEnabledRequest, type UpdateTriageEnabledResponse, type UserIntegration, type ValidationResult };