@elqnt/agents 2.1.1 → 3.0.0
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/{agent-models-mCYzjfGp.d.mts → agent-models-BdtFKjV3.d.mts} +7 -9
- package/dist/{agent-models-mCYzjfGp.d.ts → agent-models-BdtFKjV3.d.ts} +7 -9
- package/dist/api/index.d.mts +40 -3
- package/dist/api/index.d.ts +40 -3
- package/dist/api/index.js +30 -2
- package/dist/api/index.js.map +1 -1
- package/dist/api/index.mjs +29 -1
- package/dist/api/server.d.mts +146 -0
- package/dist/api/server.d.ts +146 -0
- package/dist/api/server.js +226 -0
- package/dist/api/server.js.map +1 -0
- package/dist/api/server.mjs +226 -0
- package/dist/api/server.mjs.map +1 -0
- package/dist/{chunk-SWJ66D7X.js → chunk-44A5L2IY.js} +92 -2
- package/dist/chunk-44A5L2IY.js.map +1 -0
- package/dist/{chunk-K3OAYHF3.js → chunk-ADOBVUUS.js} +73 -2
- package/dist/chunk-ADOBVUUS.js.map +1 -0
- package/dist/{chunk-3VJNDDME.mjs → chunk-EUELXX27.mjs} +92 -2
- package/dist/chunk-EUELXX27.mjs.map +1 -0
- package/dist/{chunk-SZP2G5I7.mjs → chunk-O3FM26FT.mjs} +73 -2
- package/dist/chunk-O3FM26FT.mjs.map +1 -0
- package/dist/chunk-RTUQ7WKT.mjs +434 -0
- package/dist/chunk-RTUQ7WKT.mjs.map +1 -0
- package/dist/chunk-VVYOTEM2.js +434 -0
- package/dist/chunk-VVYOTEM2.js.map +1 -0
- package/dist/hooks/index.d.mts +134 -5
- package/dist/hooks/index.d.ts +134 -5
- package/dist/hooks/index.js +15 -3
- package/dist/hooks/index.js.map +1 -1
- package/dist/hooks/index.mjs +16 -4
- package/dist/index.d.mts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +130 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +131 -5
- package/dist/models/index.d.mts +880 -2
- package/dist/models/index.d.ts +880 -2
- package/dist/models/index.js +88 -2
- package/dist/models/index.js.map +1 -1
- package/dist/models/index.mjs +87 -1
- package/package.json +20 -17
- package/dist/chunk-3VJNDDME.mjs.map +0 -1
- package/dist/chunk-K3OAYHF3.js.map +0 -1
- package/dist/chunk-O2SYQSU2.mjs +0 -398
- package/dist/chunk-O2SYQSU2.mjs.map +0 -1
- package/dist/chunk-RPXANLP2.js +0 -398
- package/dist/chunk-RPXANLP2.js.map +0 -1
- package/dist/chunk-SWJ66D7X.js.map +0 -1
- package/dist/chunk-SZP2G5I7.mjs.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { JSONSchema, ProductNameTS, ResponseMetadata } from '@elqnt/types';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* AgentContext accumulates meaningful state from agentic tool executions.
|
|
@@ -212,10 +212,10 @@ type PlanStatusTS = 'pending_approval' | 'approved' | 'executing' | 'completed'
|
|
|
212
212
|
*/
|
|
213
213
|
interface PlannedStep {
|
|
214
214
|
/**
|
|
215
|
-
*
|
|
215
|
+
* Step number (1-based: 1, 2, 3, ...)
|
|
216
|
+
* This is the primary identifier for steps - used by LLM and all internal code
|
|
216
217
|
*/
|
|
217
|
-
|
|
218
|
-
order: number;
|
|
218
|
+
stepNumber: number;
|
|
219
219
|
/**
|
|
220
220
|
* Tool information
|
|
221
221
|
*/
|
|
@@ -231,9 +231,9 @@ interface PlannedStep {
|
|
|
231
231
|
[key: string]: any;
|
|
232
232
|
};
|
|
233
233
|
/**
|
|
234
|
-
* Dependencies (step
|
|
234
|
+
* Dependencies (step numbers that must complete before this one)
|
|
235
235
|
*/
|
|
236
|
-
dependsOn?:
|
|
236
|
+
dependsOn?: number[];
|
|
237
237
|
/**
|
|
238
238
|
* Optional: user can toggle individual steps
|
|
239
239
|
*/
|
|
@@ -753,8 +753,6 @@ declare const AgentScopeOrg: AgentScope;
|
|
|
753
753
|
declare const AgentScopeTeam: AgentScope;
|
|
754
754
|
declare const AgentScopeUser: AgentScope;
|
|
755
755
|
type SkillCategoryTS = 'productivity' | 'creative' | 'integration' | 'analysis' | 'communication' | 'custom';
|
|
756
|
-
type IntegrationProviderTS = 'google' | 'microsoft';
|
|
757
|
-
type IntegrationTypeTS = 'email' | 'calendar' | 'drive';
|
|
758
756
|
type SkillCategory = string;
|
|
759
757
|
declare const SkillCategoryProductivity: SkillCategory;
|
|
760
758
|
declare const SkillCategoryCreative: SkillCategory;
|
|
@@ -2397,4 +2395,4 @@ interface PublicWidgetConfig {
|
|
|
2397
2395
|
behavior: WidgetBehavior;
|
|
2398
2396
|
}
|
|
2399
2397
|
|
|
2400
|
-
export { AgentJobDeleteSubject as $, type Agent as A, AgentExecuteSubject as B, type AgentExecution as C, AgentExportSubject as D, type AgentFilters as E, AgentFromTemplateSubject as F, AgentGetByOrgSubject as G, AgentGetDefaultSubject as H, AgentGetSubject as I, AgentImportSubject as J, AgentInstanceCancelPlanSubject as K, AgentInstanceClearHistorySubject as L, AgentInstanceCreatePlanSubject as M, AgentInstanceCreateSubject as N, AgentInstanceCreatedSubject as O, AgentInstanceDeleteSubject as P, AgentInstanceDeletedSubject as Q, AgentInstanceExecutePlanSubject as R, AgentInstanceGetHistorySubject as S, AgentInstanceGetSubject as T, AgentInstanceListSubject as U, AgentInstancePausePlanSubject as V, AgentInstanceResumePlanSubject as W, AgentInstanceUpdateSubject as X, AgentInstanceUpdatedSubject as Y, type AgentJob as Z, AgentJobCreateSubject as _, type AgentCategory as a, AgentWidgetsGetByWidgetID as a$, AgentJobGetSubject as a0, type AgentJobIDRequest as a1, AgentJobListSubject as a2, AgentJobPauseSubject as a3, type AgentJobResponse as a4, AgentJobResumeSubject as a5, type AgentJobTriggerRequest as a6, type AgentJobTriggerResponse as a7, AgentJobTriggerSubject as a8, AgentJobUpdateSubject as a9, AgentSubTypeDocument as aA, AgentSubTypeReact as aB, type AgentSubTypeTS as aC, AgentSubTypeWorkflow as aD, type AgentSummary as aE, type AgentTemplate as aF, AgentTemplateGetSubject as aG, AgentTemplateListSubject as aH, type AgentTool as aI, type AgentToolConfiguration as aJ, type AgentType as aK, AgentTypeChat as aL, AgentTypeReact as aM, type AgentTypeTS as aN, AgentUpdateOrgSubject as aO, AgentUpdateSubject as aP, AgentUpdatedSubject as aQ, AgentVersionActivateSubject as aR, AgentVersionActivatedSubject as aS, AgentVersionCreateSubject as aT, AgentVersionCreatedSubject as aU, AgentVersionGetSubject as aV, AgentVersionListSubject as aW, type AgentWidget as aX, type AgentWidgetResponse as aY, AgentWidgetsCreateSubject as aZ, AgentWidgetsDeleteSubject as a_, type AgentJobsListResponse as aa, AgentListSubject as ab, AgentListSummarySubject as ac, AgentReactCreateSubject as ad, AgentReactGetSubject as ae, AgentReactUpdateSubject as af, AgentReactValidateSubject as ag, type AgentResponse as ah, type AgentScope as ai, AgentScopeOrg as aj, type AgentScopeTS as ak, AgentScopeTeam as al, AgentScopeUser as am, AgentSearchSubject as an, type AgentSkill as ao, type AgentSkillConfigResponse as ap, AgentSkillGetConfigSubject as aq, AgentSkillUpdateConfigSubject as ar, type AgentStatus as as, AgentStatusActive as at, AgentStatusArchived as au, AgentStatusDraft as av, AgentStatusInactive as aw, type AgentStatusTS as ax, type AgentSubType as ay, AgentSubTypeChat as az, AgentCategoryDevelopment as b, type GetSubAgentsByIDsResponse as b$, AgentWidgetsGetDefaultSubject as b0, AgentWidgetsGetSubject as b1, AgentWidgetsListSubject as b2, AgentWidgetsSetDefaultSubject as b3, AgentWidgetsUpdateSubject as b4, type ArtifactRef as b5, type CSATAnswer as b6, type CSATConfig as b7, type CSATQuestion as b8, type CSATResponse as b9, ExecutionModeAsync as bA, ExecutionModeAsyncClient as bB, ExecutionModeSync as bC, type ExecutionModeTS as bD, type ExecutionPlan as bE, type ExecutionResponse as bF, type ExecutionStatus as bG, ExecutionStatusCompleted as bH, ExecutionStatusFailed as bI, ExecutionStatusPending as bJ, ExecutionStatusRunning as bK, ExecutionStatusSkipped as bL, type ExecutionStatusTS as bM, ExecutionTTLHours as bN, ExecutionsTTLCleanupSubject as bO, type GetAgentRequest as bP, type GetAgentSkillConfigRequest as bQ, type GetAgentWidgetRequest as bR, type GetDefaultAgentRequest as bS, type GetDefaultWidgetRequest as bT, type GetExecutionRequest as bU, type GetSkillRequest as bV, type GetSkillUserConfigRequest as bW, type GetSkillsByIDsRequest as bX, type GetSkillsByIDsResponse as bY, type GetSubAgentRequest as bZ, type GetSubAgentsByIDsRequest as b_, type CSATSurvey as ba, ChatAgentExecuteSubject as bb, ChatAgentStatusSubject as bc, type CreateAgentJobRequest as bd, type CreateAgentRequest as be, type CreateAgentWidgetRequest as bf, type CreateExecutionPlanRequest as bg, type CreateExecutionPlanResponse as bh, type CreateSkillRequest as bi, type CreateSubAgentRequest as bj, type CreateToolDefinitionRequest as bk, type CustomizableField as bl, type DefaultDefinitions as bm, type DeleteAgentRequest as bn, type DeleteAgentWidgetRequest as bo, type DeleteSkillRequest as bp, type DeleteSkillUserConfigRequest as bq, type DeleteSubAgentRequest as br, type DeleteToolDefinitionRequest as bs, type ExecuteJobRequest as bt, type ExecutePlanRequest as bu, type ExecutePlanResponse as bv, type ExecuteToolRequest as bw, type ExecuteToolResponse as bx, type ExecutionCompletedEvent as by, type ExecutionMode as bz, AgentCategoryFinance as c, PlanStatusPendingApproval as c$, type GetToolDefinitionRequest as c0, type GetToolDefinitionsByIDsRequest as c1, type GetToolDefinitionsByIDsResponse as c2, type GetWidgetByWidgetIDRequest as c3, type GetWidgetConfigRequest as c4, type GetWidgetConfigResponse as c5, type HandoffConfig as c6, type IntegrationProviderTS as c7, type IntegrationRequirement as c8, type IntegrationTypeTS as c9, type ListAgentWidgetsRequest as cA, type ListAgentWidgetsResponse as cB, type ListAgentsRequest as cC, type ListAgentsResponse as cD, type ListAgentsSummaryRequest as cE, type ListAgentsSummaryResponse as cF, type ListExecutionsByAgentRequest as cG, type ListExecutionsByJobRequest as cH, type ListExecutionsResponse as cI, type ListSkillUserConfigRequest as cJ, type ListSkillsRequest as cK, type ListSubAgentsRequest as cL, type ListToolDefinitionsRequest as cM, type MCPServerConfig as cN, MaxExecutions as cO, type MergeConfig as cP, type MergeStrategy as cQ, MergeStrategyAppend as cR, MergeStrategyMerge as cS, MergeStrategyReplace as cT, type MergeStrategyTS as cU, type PlanApprovalConfig as cV, type PlanStatus as cW, PlanStatusApproved as cX, PlanStatusCancelled as cY, PlanStatusCompleted as cZ, PlanStatusExecuting as c_, type JobExecution as ca, JobExecutionGetSubject as cb, JobExecutionListSubject as cc, type JobExecutionResult as cd, type JobExecutionStatus as ce, JobExecutionStatusFailed as cf, JobExecutionStatusRunning as cg, JobExecutionStatusSuccess as ch, type JobExecutionStatusTS as ci, JobExecutionStatusTimedOut as cj, type JobFrequency as ck, JobFrequencyOneTime as cl, JobFrequencySchedule as cm, type JobFrequencyTS as cn, type JobScope as co, JobScopeOrg as cp, JobScopePrivate as cq, type JobScopeTS as cr, JobScopeTeam as cs, type JobStatus as ct, JobStatusActive as cu, JobStatusDisabled as cv, JobStatusExecuting as cw, JobStatusPaused as cx, type JobStatusTS as cy, type ListAgentJobsRequest as cz, AgentCategoryGeneral as d, SubAgentsUpdatedSubject as d$, PlanStatusRejected as d0, type PlanStatusTS as d1, type PlannedStep as d2, type ProcessJobTriggerResult as d3, type PublicWidgetConfig as d4, type PublisherType as d5, PublisherTypeEloquent as d6, PublisherTypePartner as d7, type PublisherTypeTS as d8, type ReactAgentConfig as d9, type SkillUserConfigListResponse as dA, SkillUserConfigListSubject as dB, type SkillUserConfigResponse as dC, SkillUserConfigUpdateSubject as dD, SkillsCreateSubject as dE, SkillsCreatedSubject as dF, SkillsDeleteSubject as dG, SkillsDeletedSubject as dH, SkillsGetByIDsSubject as dI, SkillsGetSubject as dJ, type SkillsListResponse as dK, SkillsListSubject as dL, SkillsUpdateOrgConfigSubject as dM, SkillsUpdateSubject as dN, SkillsUpdatedSubject as dO, type SubAgent as dP, type SubAgentResponse as dQ, SubAgentsCreateSubject as dR, SubAgentsCreatedSubject as dS, SubAgentsDeleteSubject as dT, SubAgentsDeletedSubject as dU, SubAgentsExecuteSubject as dV, SubAgentsGetByIDsSubject as dW, SubAgentsGetSubject as dX, type SubAgentsListResponse as dY, SubAgentsListSubject as dZ, SubAgentsUpdateSubject as d_, ReactAgentExecuteSubject as da, ReactAgentStatusSubject as db, ReactAgentStopSubject as dc, type ResolveSkillConfigRequest as dd, type ResolveSkillConfigResponse as de, type RetryPolicy as df, RuntimeJobCompletedSubject as dg, RuntimeJobExecuteSubject as dh, type SaveWidgetConfigRequest as di, type SaveWidgetConfigResponse as dj, type SetDefaultWidgetRequest as dk, type Skill as dl, type SkillCategory as dm, SkillCategoryAnalysis as dn, SkillCategoryCommunication as dp, SkillCategoryCreative as dq, SkillCategoryCustom as dr, SkillCategoryIntegration as ds, SkillCategoryProductivity as dt, type SkillCategoryTS as du, SkillResolveConfigSubject as dv, type SkillResponse as dw, type SkillUserConfig as dx, SkillUserConfigDeleteSubject as dy, SkillUserConfigGetSubject as dz, AgentCategoryHR as e, SubAgentsValidateSubject as e0, type TTLCleanupRequest as e1, type TTLCleanupResponse as e2, type TemplateCategoryCount as e3, type TemplateFilters as e4, type TemplateStatus as e5, TemplateStatusDraft as e6, TemplateStatusPublished as e7, type TemplateStatusTS as e8, type ToolConfig as e9, type UpdateAgentRequest as eA, type UpdateAgentSkillConfigRequest as eB, type UpdateAgentWidgetRequest as eC, type UpdateOrgAgentsRequest as eD, type UpdateOrgAgentsResponse as eE, type UpdateSkillOrgConfigRequest as eF, type UpdateSkillRequest as eG, type UpdateSkillUserConfigRequest as eH, type UpdateSubAgentRequest as eI, type UpdateToolDefinitionRequest as eJ, type UserSuggestedAction as eK, type UserSuggestedActionsConfig as eL, type UserSuggestedActionsRequest as eM, type UserSuggestedActionsResponse as eN, type ValidationError as eO, type ValidationErrors as eP, type WidgetAppearance as eQ, type WidgetBehavior as eR, type WidgetConfig as eS, WidgetConfigGetByAgentSubject as eT, WidgetConfigSaveSubject as eU, type WidgetSecurity as eV, WorkflowAgentGetSubject as eW, WorkflowAgentUpdateSubject as eX, type ToolDefinition as ea, type ToolDefinitionResponse as eb, ToolDefinitionsCreateSubject as ec, ToolDefinitionsCreatedSubject as ed, ToolDefinitionsDeleteSubject as ee, ToolDefinitionsDeletedSubject as ef, ToolDefinitionsExecuteSubject as eg, ToolDefinitionsGetByIDsSubject as eh, ToolDefinitionsGetSubject as ei, type ToolDefinitionsListResponse as ej, ToolDefinitionsListSubject as ek, ToolDefinitionsUpdateSubject as el, ToolDefinitionsUpdatedSubject as em, ToolDefinitionsValidateSubject as en, type ToolExecution as eo, type ToolExecutionPolicy as ep, type ToolExecutionProgress as eq, type ToolExecutionStatus as er, ToolExecutionStatusCompleted as es, ToolExecutionStatusExecuting as et, ToolExecutionStatusFailed as eu, ToolExecutionStatusSkipped as ev, ToolExecutionStatusStarted as ew, type ToolExecutionStatusTS as ex, ToolExecutionStatusTimeout as ey, type UpdateAgentJobRequest as ez, AgentCategoryMarketing as f, AgentCategoryProductivity as g, AgentCategoryResearch as h, AgentCategorySales as i, AgentCategorySupport as j, type AgentCategoryTS as k, AgentCategoryWriting as l, AgentChatCreateSubject as m, AgentChatGetSubject as n, AgentChatUpdateSubject as o, AgentChatValidateSubject as p, AgentCloneSubject as q, type AgentContext as r, type AgentContextConfig as s, AgentCreateSubject as t, AgentCreatedSubject as u, AgentDeleteSubject as v, AgentDeletedSubject as w, AgentEnsureDefaultSubject as x, AgentExecuteStatusSubject as y, AgentExecuteStopSubject as z };
|
|
2398
|
+
export { type ListSkillsRequest as $, type AgentContext as A, type CreateSubAgentRequest as B, type CreateToolDefinitionRequest as C, type DeleteToolDefinitionRequest as D, type ExecutionStatus as E, type UpdateSubAgentRequest as F, type GetToolDefinitionRequest as G, type GetSubAgentRequest as H, type DeleteSubAgentRequest as I, type ListSubAgentsRequest as J, type SubAgentsListResponse as K, type ListToolDefinitionsRequest as L, type MergeConfig as M, type GetToolDefinitionsByIDsRequest as N, type GetToolDefinitionsByIDsResponse as O, type PlanStatus as P, type GetSubAgentsByIDsRequest as Q, type GetSubAgentsByIDsResponse as R, type SubAgentResponse as S, type ToolDefinitionResponse as T, type UpdateToolDefinitionRequest as U, type ExecuteToolRequest as V, type ExecuteToolResponse as W, type CreateSkillRequest as X, type UpdateSkillRequest as Y, type GetSkillRequest as Z, type DeleteSkillRequest as _, type AgentExecution as a, AgentStatusArchived as a$, type SkillResponse as a0, type SkillsListResponse as a1, type GetSkillsByIDsRequest as a2, type GetSkillsByIDsResponse as a3, type UpdateSkillOrgConfigRequest as a4, type UpdateAgentSkillConfigRequest as a5, type GetAgentSkillConfigRequest as a6, type AgentSkillConfigResponse as a7, type GetSkillUserConfigRequest as a8, type UpdateSkillUserConfigRequest as a9, AgentScopeOrg as aA, AgentScopeTeam as aB, AgentScopeUser as aC, type SkillCategoryTS as aD, type SkillCategory as aE, SkillCategoryProductivity as aF, SkillCategoryCreative as aG, SkillCategoryIntegration as aH, SkillCategoryAnalysis as aI, SkillCategoryCommunication as aJ, SkillCategoryCustom as aK, type IntegrationRequirement as aL, type Skill as aM, type AgentSkill as aN, type SkillUserConfig as aO, type AgentType as aP, AgentTypeChat as aQ, AgentTypeReact as aR, type AgentSubType as aS, AgentSubTypeChat as aT, AgentSubTypeReact as aU, AgentSubTypeWorkflow as aV, AgentSubTypeDocument as aW, type AgentStatus as aX, AgentStatusDraft as aY, AgentStatusActive as aZ, AgentStatusInactive as a_, type DeleteSkillUserConfigRequest as aa, type ListSkillUserConfigRequest as ab, type SkillUserConfigResponse as ac, type SkillUserConfigListResponse as ad, type ResolveSkillConfigRequest as ae, type ResolveSkillConfigResponse as af, type CreateAgentJobRequest as ag, type UpdateAgentJobRequest as ah, type AgentJobIDRequest as ai, type ListAgentJobsRequest as aj, type AgentJobResponse as ak, type AgentJobsListResponse as al, type AgentJobTriggerRequest as am, type AgentJobTriggerResponse as an, type ListExecutionsByJobRequest as ao, type ListExecutionsByAgentRequest as ap, type ListExecutionsResponse as aq, type GetExecutionRequest as ar, type ExecutionResponse as as, type TTLCleanupRequest as at, type TTLCleanupResponse as au, type AgentTypeTS as av, type AgentSubTypeTS as aw, type AgentStatusTS as ax, type AgentScopeTS as ay, type AgentScope as az, ExecutionStatusPending as b, type ExecuteJobRequest as b$, type DefaultDefinitions as b0, type AgentTool as b1, type Agent as b2, type HandoffConfig as b3, type WidgetConfig as b4, type WidgetAppearance as b5, type WidgetBehavior as b6, type WidgetSecurity as b7, type AgentFilters as b8, type AgentSummary as b9, type SaveWidgetConfigResponse as bA, type JobScopeTS as bB, type JobStatusTS as bC, type JobFrequencyTS as bD, type JobExecutionStatusTS as bE, type JobScope as bF, JobScopePrivate as bG, JobScopeTeam as bH, JobScopeOrg as bI, type JobStatus as bJ, JobStatusActive as bK, JobStatusExecuting as bL, JobStatusPaused as bM, JobStatusDisabled as bN, type JobFrequency as bO, JobFrequencyOneTime as bP, JobFrequencySchedule as bQ, type AgentJob as bR, type JobExecutionStatus as bS, JobExecutionStatusRunning as bT, JobExecutionStatusSuccess as bU, JobExecutionStatusFailed as bV, JobExecutionStatusTimedOut as bW, type ArtifactRef as bX, type JobExecution as bY, type JobExecutionResult as bZ, type ProcessJobTriggerResult as b_, type ToolDefinition as ba, type ToolExecution as bb, type ToolExecutionProgress as bc, type ToolExecutionStatus as bd, ToolExecutionStatusStarted as be, ToolExecutionStatusExecuting as bf, ToolExecutionStatusCompleted as bg, ToolExecutionStatusFailed as bh, ToolExecutionStatusTimeout as bi, ToolExecutionStatusSkipped as bj, type SubAgent as bk, type AgentToolConfiguration as bl, type ToolExecutionPolicy as bm, type ExecutionMode as bn, ExecutionModeSync as bo, ExecutionModeAsync as bp, ExecutionModeAsyncClient as bq, type CreateExecutionPlanRequest as br, type CreateExecutionPlanResponse as bs, type ExecutePlanRequest as bt, type ExecutePlanResponse as bu, type ToolExecutionStatusTS as bv, type ExecutionModeTS as bw, type GetWidgetConfigRequest as bx, type GetWidgetConfigResponse as by, type SaveWidgetConfigRequest as bz, ExecutionStatusRunning as c, ReactAgentStopSubject as c$, type ExecutionCompletedEvent as c0, type CSATConfig as c1, type CSATQuestion as c2, type CSATSurvey as c3, type CSATAnswer as c4, type CSATResponse as c5, type ReactAgentConfig as c6, type ToolConfig as c7, type RetryPolicy as c8, type MCPServerConfig as c9, AgentReactCreateSubject as cA, AgentReactUpdateSubject as cB, AgentReactGetSubject as cC, AgentReactValidateSubject as cD, AgentExecuteSubject as cE, AgentExecuteStatusSubject as cF, AgentExecuteStopSubject as cG, AgentVersionCreateSubject as cH, AgentVersionCreatedSubject as cI, AgentVersionGetSubject as cJ, AgentVersionListSubject as cK, AgentVersionActivateSubject as cL, AgentVersionActivatedSubject as cM, AgentEnsureDefaultSubject as cN, AgentGetDefaultSubject as cO, AgentGetByOrgSubject as cP, AgentCloneSubject as cQ, AgentExportSubject as cR, AgentImportSubject as cS, AgentUpdateOrgSubject as cT, AgentTemplateListSubject as cU, AgentTemplateGetSubject as cV, AgentFromTemplateSubject as cW, ChatAgentExecuteSubject as cX, ChatAgentStatusSubject as cY, ReactAgentExecuteSubject as cZ, ReactAgentStatusSubject as c_, type CreateAgentRequest as ca, type AgentResponse as cb, type GetAgentRequest as cc, type UpdateAgentRequest as cd, type DeleteAgentRequest as ce, type ListAgentsRequest as cf, type ListAgentsResponse as cg, type ListAgentsSummaryRequest as ch, type ListAgentsSummaryResponse as ci, type GetDefaultAgentRequest as cj, type UpdateOrgAgentsRequest as ck, type UpdateOrgAgentsResponse as cl, AgentCreateSubject as cm, AgentCreatedSubject as cn, AgentGetSubject as co, AgentUpdateSubject as cp, AgentUpdatedSubject as cq, AgentDeleteSubject as cr, AgentDeletedSubject as cs, AgentListSubject as ct, AgentListSummarySubject as cu, AgentSearchSubject as cv, AgentChatCreateSubject as cw, AgentChatUpdateSubject as cx, AgentChatGetSubject as cy, AgentChatValidateSubject as cz, ExecutionStatusCompleted as d, AgentInstanceDeleteSubject as d$, WorkflowAgentGetSubject as d0, WorkflowAgentUpdateSubject as d1, ToolDefinitionsCreateSubject as d2, ToolDefinitionsCreatedSubject as d3, ToolDefinitionsGetSubject as d4, ToolDefinitionsUpdateSubject as d5, ToolDefinitionsUpdatedSubject as d6, ToolDefinitionsDeleteSubject as d7, ToolDefinitionsDeletedSubject as d8, ToolDefinitionsListSubject as d9, AgentSkillGetConfigSubject as dA, SkillUserConfigGetSubject as dB, SkillUserConfigUpdateSubject as dC, SkillUserConfigDeleteSubject as dD, SkillUserConfigListSubject as dE, SkillResolveConfigSubject as dF, WidgetConfigGetByAgentSubject as dG, WidgetConfigSaveSubject as dH, AgentJobCreateSubject as dI, AgentJobGetSubject as dJ, AgentJobUpdateSubject as dK, AgentJobDeleteSubject as dL, AgentJobListSubject as dM, AgentJobPauseSubject as dN, AgentJobResumeSubject as dO, AgentJobTriggerSubject as dP, JobExecutionGetSubject as dQ, JobExecutionListSubject as dR, RuntimeJobExecuteSubject as dS, RuntimeJobCompletedSubject as dT, ExecutionsTTLCleanupSubject as dU, AgentInstanceCreateSubject as dV, AgentInstanceCreatedSubject as dW, AgentInstanceGetSubject as dX, AgentInstanceUpdateSubject as dY, AgentInstanceUpdatedSubject as dZ, AgentInstanceListSubject as d_, ToolDefinitionsGetByIDsSubject as da, ToolDefinitionsExecuteSubject as db, ToolDefinitionsValidateSubject as dc, SubAgentsCreateSubject as dd, SubAgentsCreatedSubject as de, SubAgentsGetSubject as df, SubAgentsUpdateSubject as dg, SubAgentsUpdatedSubject as dh, SubAgentsDeleteSubject as di, SubAgentsDeletedSubject as dj, SubAgentsListSubject as dk, SubAgentsGetByIDsSubject as dl, SubAgentsExecuteSubject as dm, SubAgentsValidateSubject as dn, SkillsCreateSubject as dp, SkillsCreatedSubject as dq, SkillsGetSubject as dr, SkillsUpdateSubject as ds, SkillsUpdatedSubject as dt, SkillsDeleteSubject as du, SkillsDeletedSubject as dv, SkillsListSubject as dw, SkillsGetByIDsSubject as dx, SkillsUpdateOrgConfigSubject as dy, AgentSkillUpdateConfigSubject as dz, ExecutionStatusFailed as e, AgentInstanceDeletedSubject as e0, AgentInstanceCreatePlanSubject as e1, AgentInstanceExecutePlanSubject as e2, AgentInstancePausePlanSubject as e3, AgentInstanceResumePlanSubject as e4, AgentInstanceCancelPlanSubject as e5, AgentInstanceGetHistorySubject as e6, AgentInstanceClearHistorySubject as e7, type AgentCategoryTS as e8, type TemplateStatusTS as e9, type ValidationError as eA, type ValidationErrors as eB, type AgentWidget as eC, AgentWidgetsCreateSubject as eD, AgentWidgetsGetSubject as eE, AgentWidgetsGetByWidgetID as eF, AgentWidgetsUpdateSubject as eG, AgentWidgetsDeleteSubject as eH, AgentWidgetsListSubject as eI, AgentWidgetsSetDefaultSubject as eJ, AgentWidgetsGetDefaultSubject as eK, type CreateAgentWidgetRequest as eL, type AgentWidgetResponse as eM, type GetAgentWidgetRequest as eN, type GetWidgetByWidgetIDRequest as eO, type UpdateAgentWidgetRequest as eP, type DeleteAgentWidgetRequest as eQ, type ListAgentWidgetsRequest as eR, type ListAgentWidgetsResponse as eS, type SetDefaultWidgetRequest as eT, type GetDefaultWidgetRequest as eU, type PublicWidgetConfig as eV, type PublisherTypeTS as ea, type AgentCategory as eb, AgentCategorySupport as ec, AgentCategorySales as ed, AgentCategoryResearch as ee, AgentCategoryWriting as ef, AgentCategoryProductivity as eg, AgentCategoryDevelopment as eh, AgentCategoryMarketing as ei, AgentCategoryHR as ej, AgentCategoryFinance as ek, AgentCategoryGeneral as el, type TemplateStatus as em, TemplateStatusPublished as en, TemplateStatusDraft as eo, type PublisherType as ep, PublisherTypeEloquent as eq, PublisherTypePartner as er, type CustomizableField as es, type AgentTemplate as et, type TemplateCategoryCount as eu, type TemplateFilters as ev, type UserSuggestedActionsConfig as ew, type UserSuggestedAction as ex, type UserSuggestedActionsRequest as ey, type UserSuggestedActionsResponse as ez, ExecutionStatusSkipped as f, type ExecutionStatusTS as g, type MergeStrategy as h, MergeStrategyReplace as i, MergeStrategyMerge as j, MergeStrategyAppend as k, type MergeStrategyTS as l, type AgentContextConfig as m, MaxExecutions as n, ExecutionTTLHours as o, type ExecutionPlan as p, PlanStatusPendingApproval as q, PlanStatusApproved as r, PlanStatusExecuting as s, PlanStatusCompleted as t, PlanStatusRejected as u, PlanStatusCancelled as v, type PlanStatusTS as w, type PlannedStep as x, type PlanApprovalConfig as y, type ToolDefinitionsListResponse as z };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { JSONSchema, ProductNameTS, ResponseMetadata } from '@elqnt/types';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* AgentContext accumulates meaningful state from agentic tool executions.
|
|
@@ -212,10 +212,10 @@ type PlanStatusTS = 'pending_approval' | 'approved' | 'executing' | 'completed'
|
|
|
212
212
|
*/
|
|
213
213
|
interface PlannedStep {
|
|
214
214
|
/**
|
|
215
|
-
*
|
|
215
|
+
* Step number (1-based: 1, 2, 3, ...)
|
|
216
|
+
* This is the primary identifier for steps - used by LLM and all internal code
|
|
216
217
|
*/
|
|
217
|
-
|
|
218
|
-
order: number;
|
|
218
|
+
stepNumber: number;
|
|
219
219
|
/**
|
|
220
220
|
* Tool information
|
|
221
221
|
*/
|
|
@@ -231,9 +231,9 @@ interface PlannedStep {
|
|
|
231
231
|
[key: string]: any;
|
|
232
232
|
};
|
|
233
233
|
/**
|
|
234
|
-
* Dependencies (step
|
|
234
|
+
* Dependencies (step numbers that must complete before this one)
|
|
235
235
|
*/
|
|
236
|
-
dependsOn?:
|
|
236
|
+
dependsOn?: number[];
|
|
237
237
|
/**
|
|
238
238
|
* Optional: user can toggle individual steps
|
|
239
239
|
*/
|
|
@@ -753,8 +753,6 @@ declare const AgentScopeOrg: AgentScope;
|
|
|
753
753
|
declare const AgentScopeTeam: AgentScope;
|
|
754
754
|
declare const AgentScopeUser: AgentScope;
|
|
755
755
|
type SkillCategoryTS = 'productivity' | 'creative' | 'integration' | 'analysis' | 'communication' | 'custom';
|
|
756
|
-
type IntegrationProviderTS = 'google' | 'microsoft';
|
|
757
|
-
type IntegrationTypeTS = 'email' | 'calendar' | 'drive';
|
|
758
756
|
type SkillCategory = string;
|
|
759
757
|
declare const SkillCategoryProductivity: SkillCategory;
|
|
760
758
|
declare const SkillCategoryCreative: SkillCategory;
|
|
@@ -2397,4 +2395,4 @@ interface PublicWidgetConfig {
|
|
|
2397
2395
|
behavior: WidgetBehavior;
|
|
2398
2396
|
}
|
|
2399
2397
|
|
|
2400
|
-
export { AgentJobDeleteSubject as $, type Agent as A, AgentExecuteSubject as B, type AgentExecution as C, AgentExportSubject as D, type AgentFilters as E, AgentFromTemplateSubject as F, AgentGetByOrgSubject as G, AgentGetDefaultSubject as H, AgentGetSubject as I, AgentImportSubject as J, AgentInstanceCancelPlanSubject as K, AgentInstanceClearHistorySubject as L, AgentInstanceCreatePlanSubject as M, AgentInstanceCreateSubject as N, AgentInstanceCreatedSubject as O, AgentInstanceDeleteSubject as P, AgentInstanceDeletedSubject as Q, AgentInstanceExecutePlanSubject as R, AgentInstanceGetHistorySubject as S, AgentInstanceGetSubject as T, AgentInstanceListSubject as U, AgentInstancePausePlanSubject as V, AgentInstanceResumePlanSubject as W, AgentInstanceUpdateSubject as X, AgentInstanceUpdatedSubject as Y, type AgentJob as Z, AgentJobCreateSubject as _, type AgentCategory as a, AgentWidgetsGetByWidgetID as a$, AgentJobGetSubject as a0, type AgentJobIDRequest as a1, AgentJobListSubject as a2, AgentJobPauseSubject as a3, type AgentJobResponse as a4, AgentJobResumeSubject as a5, type AgentJobTriggerRequest as a6, type AgentJobTriggerResponse as a7, AgentJobTriggerSubject as a8, AgentJobUpdateSubject as a9, AgentSubTypeDocument as aA, AgentSubTypeReact as aB, type AgentSubTypeTS as aC, AgentSubTypeWorkflow as aD, type AgentSummary as aE, type AgentTemplate as aF, AgentTemplateGetSubject as aG, AgentTemplateListSubject as aH, type AgentTool as aI, type AgentToolConfiguration as aJ, type AgentType as aK, AgentTypeChat as aL, AgentTypeReact as aM, type AgentTypeTS as aN, AgentUpdateOrgSubject as aO, AgentUpdateSubject as aP, AgentUpdatedSubject as aQ, AgentVersionActivateSubject as aR, AgentVersionActivatedSubject as aS, AgentVersionCreateSubject as aT, AgentVersionCreatedSubject as aU, AgentVersionGetSubject as aV, AgentVersionListSubject as aW, type AgentWidget as aX, type AgentWidgetResponse as aY, AgentWidgetsCreateSubject as aZ, AgentWidgetsDeleteSubject as a_, type AgentJobsListResponse as aa, AgentListSubject as ab, AgentListSummarySubject as ac, AgentReactCreateSubject as ad, AgentReactGetSubject as ae, AgentReactUpdateSubject as af, AgentReactValidateSubject as ag, type AgentResponse as ah, type AgentScope as ai, AgentScopeOrg as aj, type AgentScopeTS as ak, AgentScopeTeam as al, AgentScopeUser as am, AgentSearchSubject as an, type AgentSkill as ao, type AgentSkillConfigResponse as ap, AgentSkillGetConfigSubject as aq, AgentSkillUpdateConfigSubject as ar, type AgentStatus as as, AgentStatusActive as at, AgentStatusArchived as au, AgentStatusDraft as av, AgentStatusInactive as aw, type AgentStatusTS as ax, type AgentSubType as ay, AgentSubTypeChat as az, AgentCategoryDevelopment as b, type GetSubAgentsByIDsResponse as b$, AgentWidgetsGetDefaultSubject as b0, AgentWidgetsGetSubject as b1, AgentWidgetsListSubject as b2, AgentWidgetsSetDefaultSubject as b3, AgentWidgetsUpdateSubject as b4, type ArtifactRef as b5, type CSATAnswer as b6, type CSATConfig as b7, type CSATQuestion as b8, type CSATResponse as b9, ExecutionModeAsync as bA, ExecutionModeAsyncClient as bB, ExecutionModeSync as bC, type ExecutionModeTS as bD, type ExecutionPlan as bE, type ExecutionResponse as bF, type ExecutionStatus as bG, ExecutionStatusCompleted as bH, ExecutionStatusFailed as bI, ExecutionStatusPending as bJ, ExecutionStatusRunning as bK, ExecutionStatusSkipped as bL, type ExecutionStatusTS as bM, ExecutionTTLHours as bN, ExecutionsTTLCleanupSubject as bO, type GetAgentRequest as bP, type GetAgentSkillConfigRequest as bQ, type GetAgentWidgetRequest as bR, type GetDefaultAgentRequest as bS, type GetDefaultWidgetRequest as bT, type GetExecutionRequest as bU, type GetSkillRequest as bV, type GetSkillUserConfigRequest as bW, type GetSkillsByIDsRequest as bX, type GetSkillsByIDsResponse as bY, type GetSubAgentRequest as bZ, type GetSubAgentsByIDsRequest as b_, type CSATSurvey as ba, ChatAgentExecuteSubject as bb, ChatAgentStatusSubject as bc, type CreateAgentJobRequest as bd, type CreateAgentRequest as be, type CreateAgentWidgetRequest as bf, type CreateExecutionPlanRequest as bg, type CreateExecutionPlanResponse as bh, type CreateSkillRequest as bi, type CreateSubAgentRequest as bj, type CreateToolDefinitionRequest as bk, type CustomizableField as bl, type DefaultDefinitions as bm, type DeleteAgentRequest as bn, type DeleteAgentWidgetRequest as bo, type DeleteSkillRequest as bp, type DeleteSkillUserConfigRequest as bq, type DeleteSubAgentRequest as br, type DeleteToolDefinitionRequest as bs, type ExecuteJobRequest as bt, type ExecutePlanRequest as bu, type ExecutePlanResponse as bv, type ExecuteToolRequest as bw, type ExecuteToolResponse as bx, type ExecutionCompletedEvent as by, type ExecutionMode as bz, AgentCategoryFinance as c, PlanStatusPendingApproval as c$, type GetToolDefinitionRequest as c0, type GetToolDefinitionsByIDsRequest as c1, type GetToolDefinitionsByIDsResponse as c2, type GetWidgetByWidgetIDRequest as c3, type GetWidgetConfigRequest as c4, type GetWidgetConfigResponse as c5, type HandoffConfig as c6, type IntegrationProviderTS as c7, type IntegrationRequirement as c8, type IntegrationTypeTS as c9, type ListAgentWidgetsRequest as cA, type ListAgentWidgetsResponse as cB, type ListAgentsRequest as cC, type ListAgentsResponse as cD, type ListAgentsSummaryRequest as cE, type ListAgentsSummaryResponse as cF, type ListExecutionsByAgentRequest as cG, type ListExecutionsByJobRequest as cH, type ListExecutionsResponse as cI, type ListSkillUserConfigRequest as cJ, type ListSkillsRequest as cK, type ListSubAgentsRequest as cL, type ListToolDefinitionsRequest as cM, type MCPServerConfig as cN, MaxExecutions as cO, type MergeConfig as cP, type MergeStrategy as cQ, MergeStrategyAppend as cR, MergeStrategyMerge as cS, MergeStrategyReplace as cT, type MergeStrategyTS as cU, type PlanApprovalConfig as cV, type PlanStatus as cW, PlanStatusApproved as cX, PlanStatusCancelled as cY, PlanStatusCompleted as cZ, PlanStatusExecuting as c_, type JobExecution as ca, JobExecutionGetSubject as cb, JobExecutionListSubject as cc, type JobExecutionResult as cd, type JobExecutionStatus as ce, JobExecutionStatusFailed as cf, JobExecutionStatusRunning as cg, JobExecutionStatusSuccess as ch, type JobExecutionStatusTS as ci, JobExecutionStatusTimedOut as cj, type JobFrequency as ck, JobFrequencyOneTime as cl, JobFrequencySchedule as cm, type JobFrequencyTS as cn, type JobScope as co, JobScopeOrg as cp, JobScopePrivate as cq, type JobScopeTS as cr, JobScopeTeam as cs, type JobStatus as ct, JobStatusActive as cu, JobStatusDisabled as cv, JobStatusExecuting as cw, JobStatusPaused as cx, type JobStatusTS as cy, type ListAgentJobsRequest as cz, AgentCategoryGeneral as d, SubAgentsUpdatedSubject as d$, PlanStatusRejected as d0, type PlanStatusTS as d1, type PlannedStep as d2, type ProcessJobTriggerResult as d3, type PublicWidgetConfig as d4, type PublisherType as d5, PublisherTypeEloquent as d6, PublisherTypePartner as d7, type PublisherTypeTS as d8, type ReactAgentConfig as d9, type SkillUserConfigListResponse as dA, SkillUserConfigListSubject as dB, type SkillUserConfigResponse as dC, SkillUserConfigUpdateSubject as dD, SkillsCreateSubject as dE, SkillsCreatedSubject as dF, SkillsDeleteSubject as dG, SkillsDeletedSubject as dH, SkillsGetByIDsSubject as dI, SkillsGetSubject as dJ, type SkillsListResponse as dK, SkillsListSubject as dL, SkillsUpdateOrgConfigSubject as dM, SkillsUpdateSubject as dN, SkillsUpdatedSubject as dO, type SubAgent as dP, type SubAgentResponse as dQ, SubAgentsCreateSubject as dR, SubAgentsCreatedSubject as dS, SubAgentsDeleteSubject as dT, SubAgentsDeletedSubject as dU, SubAgentsExecuteSubject as dV, SubAgentsGetByIDsSubject as dW, SubAgentsGetSubject as dX, type SubAgentsListResponse as dY, SubAgentsListSubject as dZ, SubAgentsUpdateSubject as d_, ReactAgentExecuteSubject as da, ReactAgentStatusSubject as db, ReactAgentStopSubject as dc, type ResolveSkillConfigRequest as dd, type ResolveSkillConfigResponse as de, type RetryPolicy as df, RuntimeJobCompletedSubject as dg, RuntimeJobExecuteSubject as dh, type SaveWidgetConfigRequest as di, type SaveWidgetConfigResponse as dj, type SetDefaultWidgetRequest as dk, type Skill as dl, type SkillCategory as dm, SkillCategoryAnalysis as dn, SkillCategoryCommunication as dp, SkillCategoryCreative as dq, SkillCategoryCustom as dr, SkillCategoryIntegration as ds, SkillCategoryProductivity as dt, type SkillCategoryTS as du, SkillResolveConfigSubject as dv, type SkillResponse as dw, type SkillUserConfig as dx, SkillUserConfigDeleteSubject as dy, SkillUserConfigGetSubject as dz, AgentCategoryHR as e, SubAgentsValidateSubject as e0, type TTLCleanupRequest as e1, type TTLCleanupResponse as e2, type TemplateCategoryCount as e3, type TemplateFilters as e4, type TemplateStatus as e5, TemplateStatusDraft as e6, TemplateStatusPublished as e7, type TemplateStatusTS as e8, type ToolConfig as e9, type UpdateAgentRequest as eA, type UpdateAgentSkillConfigRequest as eB, type UpdateAgentWidgetRequest as eC, type UpdateOrgAgentsRequest as eD, type UpdateOrgAgentsResponse as eE, type UpdateSkillOrgConfigRequest as eF, type UpdateSkillRequest as eG, type UpdateSkillUserConfigRequest as eH, type UpdateSubAgentRequest as eI, type UpdateToolDefinitionRequest as eJ, type UserSuggestedAction as eK, type UserSuggestedActionsConfig as eL, type UserSuggestedActionsRequest as eM, type UserSuggestedActionsResponse as eN, type ValidationError as eO, type ValidationErrors as eP, type WidgetAppearance as eQ, type WidgetBehavior as eR, type WidgetConfig as eS, WidgetConfigGetByAgentSubject as eT, WidgetConfigSaveSubject as eU, type WidgetSecurity as eV, WorkflowAgentGetSubject as eW, WorkflowAgentUpdateSubject as eX, type ToolDefinition as ea, type ToolDefinitionResponse as eb, ToolDefinitionsCreateSubject as ec, ToolDefinitionsCreatedSubject as ed, ToolDefinitionsDeleteSubject as ee, ToolDefinitionsDeletedSubject as ef, ToolDefinitionsExecuteSubject as eg, ToolDefinitionsGetByIDsSubject as eh, ToolDefinitionsGetSubject as ei, type ToolDefinitionsListResponse as ej, ToolDefinitionsListSubject as ek, ToolDefinitionsUpdateSubject as el, ToolDefinitionsUpdatedSubject as em, ToolDefinitionsValidateSubject as en, type ToolExecution as eo, type ToolExecutionPolicy as ep, type ToolExecutionProgress as eq, type ToolExecutionStatus as er, ToolExecutionStatusCompleted as es, ToolExecutionStatusExecuting as et, ToolExecutionStatusFailed as eu, ToolExecutionStatusSkipped as ev, ToolExecutionStatusStarted as ew, type ToolExecutionStatusTS as ex, ToolExecutionStatusTimeout as ey, type UpdateAgentJobRequest as ez, AgentCategoryMarketing as f, AgentCategoryProductivity as g, AgentCategoryResearch as h, AgentCategorySales as i, AgentCategorySupport as j, type AgentCategoryTS as k, AgentCategoryWriting as l, AgentChatCreateSubject as m, AgentChatGetSubject as n, AgentChatUpdateSubject as o, AgentChatValidateSubject as p, AgentCloneSubject as q, type AgentContext as r, type AgentContextConfig as s, AgentCreateSubject as t, AgentCreatedSubject as u, AgentDeleteSubject as v, AgentDeletedSubject as w, AgentEnsureDefaultSubject as x, AgentExecuteStatusSubject as y, AgentExecuteStopSubject as z };
|
|
2398
|
+
export { type ListSkillsRequest as $, type AgentContext as A, type CreateSubAgentRequest as B, type CreateToolDefinitionRequest as C, type DeleteToolDefinitionRequest as D, type ExecutionStatus as E, type UpdateSubAgentRequest as F, type GetToolDefinitionRequest as G, type GetSubAgentRequest as H, type DeleteSubAgentRequest as I, type ListSubAgentsRequest as J, type SubAgentsListResponse as K, type ListToolDefinitionsRequest as L, type MergeConfig as M, type GetToolDefinitionsByIDsRequest as N, type GetToolDefinitionsByIDsResponse as O, type PlanStatus as P, type GetSubAgentsByIDsRequest as Q, type GetSubAgentsByIDsResponse as R, type SubAgentResponse as S, type ToolDefinitionResponse as T, type UpdateToolDefinitionRequest as U, type ExecuteToolRequest as V, type ExecuteToolResponse as W, type CreateSkillRequest as X, type UpdateSkillRequest as Y, type GetSkillRequest as Z, type DeleteSkillRequest as _, type AgentExecution as a, AgentStatusArchived as a$, type SkillResponse as a0, type SkillsListResponse as a1, type GetSkillsByIDsRequest as a2, type GetSkillsByIDsResponse as a3, type UpdateSkillOrgConfigRequest as a4, type UpdateAgentSkillConfigRequest as a5, type GetAgentSkillConfigRequest as a6, type AgentSkillConfigResponse as a7, type GetSkillUserConfigRequest as a8, type UpdateSkillUserConfigRequest as a9, AgentScopeOrg as aA, AgentScopeTeam as aB, AgentScopeUser as aC, type SkillCategoryTS as aD, type SkillCategory as aE, SkillCategoryProductivity as aF, SkillCategoryCreative as aG, SkillCategoryIntegration as aH, SkillCategoryAnalysis as aI, SkillCategoryCommunication as aJ, SkillCategoryCustom as aK, type IntegrationRequirement as aL, type Skill as aM, type AgentSkill as aN, type SkillUserConfig as aO, type AgentType as aP, AgentTypeChat as aQ, AgentTypeReact as aR, type AgentSubType as aS, AgentSubTypeChat as aT, AgentSubTypeReact as aU, AgentSubTypeWorkflow as aV, AgentSubTypeDocument as aW, type AgentStatus as aX, AgentStatusDraft as aY, AgentStatusActive as aZ, AgentStatusInactive as a_, type DeleteSkillUserConfigRequest as aa, type ListSkillUserConfigRequest as ab, type SkillUserConfigResponse as ac, type SkillUserConfigListResponse as ad, type ResolveSkillConfigRequest as ae, type ResolveSkillConfigResponse as af, type CreateAgentJobRequest as ag, type UpdateAgentJobRequest as ah, type AgentJobIDRequest as ai, type ListAgentJobsRequest as aj, type AgentJobResponse as ak, type AgentJobsListResponse as al, type AgentJobTriggerRequest as am, type AgentJobTriggerResponse as an, type ListExecutionsByJobRequest as ao, type ListExecutionsByAgentRequest as ap, type ListExecutionsResponse as aq, type GetExecutionRequest as ar, type ExecutionResponse as as, type TTLCleanupRequest as at, type TTLCleanupResponse as au, type AgentTypeTS as av, type AgentSubTypeTS as aw, type AgentStatusTS as ax, type AgentScopeTS as ay, type AgentScope as az, ExecutionStatusPending as b, type ExecuteJobRequest as b$, type DefaultDefinitions as b0, type AgentTool as b1, type Agent as b2, type HandoffConfig as b3, type WidgetConfig as b4, type WidgetAppearance as b5, type WidgetBehavior as b6, type WidgetSecurity as b7, type AgentFilters as b8, type AgentSummary as b9, type SaveWidgetConfigResponse as bA, type JobScopeTS as bB, type JobStatusTS as bC, type JobFrequencyTS as bD, type JobExecutionStatusTS as bE, type JobScope as bF, JobScopePrivate as bG, JobScopeTeam as bH, JobScopeOrg as bI, type JobStatus as bJ, JobStatusActive as bK, JobStatusExecuting as bL, JobStatusPaused as bM, JobStatusDisabled as bN, type JobFrequency as bO, JobFrequencyOneTime as bP, JobFrequencySchedule as bQ, type AgentJob as bR, type JobExecutionStatus as bS, JobExecutionStatusRunning as bT, JobExecutionStatusSuccess as bU, JobExecutionStatusFailed as bV, JobExecutionStatusTimedOut as bW, type ArtifactRef as bX, type JobExecution as bY, type JobExecutionResult as bZ, type ProcessJobTriggerResult as b_, type ToolDefinition as ba, type ToolExecution as bb, type ToolExecutionProgress as bc, type ToolExecutionStatus as bd, ToolExecutionStatusStarted as be, ToolExecutionStatusExecuting as bf, ToolExecutionStatusCompleted as bg, ToolExecutionStatusFailed as bh, ToolExecutionStatusTimeout as bi, ToolExecutionStatusSkipped as bj, type SubAgent as bk, type AgentToolConfiguration as bl, type ToolExecutionPolicy as bm, type ExecutionMode as bn, ExecutionModeSync as bo, ExecutionModeAsync as bp, ExecutionModeAsyncClient as bq, type CreateExecutionPlanRequest as br, type CreateExecutionPlanResponse as bs, type ExecutePlanRequest as bt, type ExecutePlanResponse as bu, type ToolExecutionStatusTS as bv, type ExecutionModeTS as bw, type GetWidgetConfigRequest as bx, type GetWidgetConfigResponse as by, type SaveWidgetConfigRequest as bz, ExecutionStatusRunning as c, ReactAgentStopSubject as c$, type ExecutionCompletedEvent as c0, type CSATConfig as c1, type CSATQuestion as c2, type CSATSurvey as c3, type CSATAnswer as c4, type CSATResponse as c5, type ReactAgentConfig as c6, type ToolConfig as c7, type RetryPolicy as c8, type MCPServerConfig as c9, AgentReactCreateSubject as cA, AgentReactUpdateSubject as cB, AgentReactGetSubject as cC, AgentReactValidateSubject as cD, AgentExecuteSubject as cE, AgentExecuteStatusSubject as cF, AgentExecuteStopSubject as cG, AgentVersionCreateSubject as cH, AgentVersionCreatedSubject as cI, AgentVersionGetSubject as cJ, AgentVersionListSubject as cK, AgentVersionActivateSubject as cL, AgentVersionActivatedSubject as cM, AgentEnsureDefaultSubject as cN, AgentGetDefaultSubject as cO, AgentGetByOrgSubject as cP, AgentCloneSubject as cQ, AgentExportSubject as cR, AgentImportSubject as cS, AgentUpdateOrgSubject as cT, AgentTemplateListSubject as cU, AgentTemplateGetSubject as cV, AgentFromTemplateSubject as cW, ChatAgentExecuteSubject as cX, ChatAgentStatusSubject as cY, ReactAgentExecuteSubject as cZ, ReactAgentStatusSubject as c_, type CreateAgentRequest as ca, type AgentResponse as cb, type GetAgentRequest as cc, type UpdateAgentRequest as cd, type DeleteAgentRequest as ce, type ListAgentsRequest as cf, type ListAgentsResponse as cg, type ListAgentsSummaryRequest as ch, type ListAgentsSummaryResponse as ci, type GetDefaultAgentRequest as cj, type UpdateOrgAgentsRequest as ck, type UpdateOrgAgentsResponse as cl, AgentCreateSubject as cm, AgentCreatedSubject as cn, AgentGetSubject as co, AgentUpdateSubject as cp, AgentUpdatedSubject as cq, AgentDeleteSubject as cr, AgentDeletedSubject as cs, AgentListSubject as ct, AgentListSummarySubject as cu, AgentSearchSubject as cv, AgentChatCreateSubject as cw, AgentChatUpdateSubject as cx, AgentChatGetSubject as cy, AgentChatValidateSubject as cz, ExecutionStatusCompleted as d, AgentInstanceDeleteSubject as d$, WorkflowAgentGetSubject as d0, WorkflowAgentUpdateSubject as d1, ToolDefinitionsCreateSubject as d2, ToolDefinitionsCreatedSubject as d3, ToolDefinitionsGetSubject as d4, ToolDefinitionsUpdateSubject as d5, ToolDefinitionsUpdatedSubject as d6, ToolDefinitionsDeleteSubject as d7, ToolDefinitionsDeletedSubject as d8, ToolDefinitionsListSubject as d9, AgentSkillGetConfigSubject as dA, SkillUserConfigGetSubject as dB, SkillUserConfigUpdateSubject as dC, SkillUserConfigDeleteSubject as dD, SkillUserConfigListSubject as dE, SkillResolveConfigSubject as dF, WidgetConfigGetByAgentSubject as dG, WidgetConfigSaveSubject as dH, AgentJobCreateSubject as dI, AgentJobGetSubject as dJ, AgentJobUpdateSubject as dK, AgentJobDeleteSubject as dL, AgentJobListSubject as dM, AgentJobPauseSubject as dN, AgentJobResumeSubject as dO, AgentJobTriggerSubject as dP, JobExecutionGetSubject as dQ, JobExecutionListSubject as dR, RuntimeJobExecuteSubject as dS, RuntimeJobCompletedSubject as dT, ExecutionsTTLCleanupSubject as dU, AgentInstanceCreateSubject as dV, AgentInstanceCreatedSubject as dW, AgentInstanceGetSubject as dX, AgentInstanceUpdateSubject as dY, AgentInstanceUpdatedSubject as dZ, AgentInstanceListSubject as d_, ToolDefinitionsGetByIDsSubject as da, ToolDefinitionsExecuteSubject as db, ToolDefinitionsValidateSubject as dc, SubAgentsCreateSubject as dd, SubAgentsCreatedSubject as de, SubAgentsGetSubject as df, SubAgentsUpdateSubject as dg, SubAgentsUpdatedSubject as dh, SubAgentsDeleteSubject as di, SubAgentsDeletedSubject as dj, SubAgentsListSubject as dk, SubAgentsGetByIDsSubject as dl, SubAgentsExecuteSubject as dm, SubAgentsValidateSubject as dn, SkillsCreateSubject as dp, SkillsCreatedSubject as dq, SkillsGetSubject as dr, SkillsUpdateSubject as ds, SkillsUpdatedSubject as dt, SkillsDeleteSubject as du, SkillsDeletedSubject as dv, SkillsListSubject as dw, SkillsGetByIDsSubject as dx, SkillsUpdateOrgConfigSubject as dy, AgentSkillUpdateConfigSubject as dz, ExecutionStatusFailed as e, AgentInstanceDeletedSubject as e0, AgentInstanceCreatePlanSubject as e1, AgentInstanceExecutePlanSubject as e2, AgentInstancePausePlanSubject as e3, AgentInstanceResumePlanSubject as e4, AgentInstanceCancelPlanSubject as e5, AgentInstanceGetHistorySubject as e6, AgentInstanceClearHistorySubject as e7, type AgentCategoryTS as e8, type TemplateStatusTS as e9, type ValidationError as eA, type ValidationErrors as eB, type AgentWidget as eC, AgentWidgetsCreateSubject as eD, AgentWidgetsGetSubject as eE, AgentWidgetsGetByWidgetID as eF, AgentWidgetsUpdateSubject as eG, AgentWidgetsDeleteSubject as eH, AgentWidgetsListSubject as eI, AgentWidgetsSetDefaultSubject as eJ, AgentWidgetsGetDefaultSubject as eK, type CreateAgentWidgetRequest as eL, type AgentWidgetResponse as eM, type GetAgentWidgetRequest as eN, type GetWidgetByWidgetIDRequest as eO, type UpdateAgentWidgetRequest as eP, type DeleteAgentWidgetRequest as eQ, type ListAgentWidgetsRequest as eR, type ListAgentWidgetsResponse as eS, type SetDefaultWidgetRequest as eT, type GetDefaultWidgetRequest as eU, type PublicWidgetConfig as eV, type PublisherTypeTS as ea, type AgentCategory as eb, AgentCategorySupport as ec, AgentCategorySales as ed, AgentCategoryResearch as ee, AgentCategoryWriting as ef, AgentCategoryProductivity as eg, AgentCategoryDevelopment as eh, AgentCategoryMarketing as ei, AgentCategoryHR as ej, AgentCategoryFinance as ek, AgentCategoryGeneral as el, type TemplateStatus as em, TemplateStatusPublished as en, TemplateStatusDraft as eo, type PublisherType as ep, PublisherTypeEloquent as eq, PublisherTypePartner as er, type CustomizableField as es, type AgentTemplate as et, type TemplateCategoryCount as eu, type TemplateFilters as ev, type UserSuggestedActionsConfig as ew, type UserSuggestedAction as ex, type UserSuggestedActionsRequest as ey, type UserSuggestedActionsResponse as ez, ExecutionStatusSkipped as f, type ExecutionStatusTS as g, type MergeStrategy as h, MergeStrategyReplace as i, MergeStrategyMerge as j, MergeStrategyAppend as k, type MergeStrategyTS as l, type AgentContextConfig as m, MaxExecutions as n, ExecutionTTLHours as o, type ExecutionPlan as p, PlanStatusPendingApproval as q, PlanStatusApproved as r, PlanStatusExecuting as s, PlanStatusCompleted as t, PlanStatusRejected as u, PlanStatusCancelled as v, type PlanStatusTS as w, type PlannedStep as x, type PlanApprovalConfig as y, type ToolDefinitionsListResponse as z };
|
package/dist/api/index.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ApiClientOptions, ApiResponse } from '@elqnt/api-client';
|
|
2
2
|
import { ResponseMetadata } from '@elqnt/types';
|
|
3
|
-
import {
|
|
4
|
-
export {
|
|
3
|
+
import { cg as ListAgentsResponse, ci as ListAgentsSummaryResponse, cb as AgentResponse, b2 as Agent, a1 as SkillsListResponse, a0 as SkillResponse, a3 as GetSkillsByIDsResponse, aM as Skill, ac as SkillUserConfigResponse, ad as SkillUserConfigListResponse, af as ResolveSkillConfigResponse, K as SubAgentsListResponse, S as SubAgentResponse, bk as SubAgent, eS as ListAgentWidgetsResponse, eM as AgentWidgetResponse, eC as AgentWidget, z as ToolDefinitionsListResponse, T as ToolDefinitionResponse, O as GetToolDefinitionsByIDsResponse, ba as ToolDefinition, al as AgentJobsListResponse, ak as AgentJobResponse, bR as AgentJob } from '../agent-models-BdtFKjV3.mjs';
|
|
4
|
+
export { b9 as AgentSummary, aO as SkillUserConfig } from '../agent-models-BdtFKjV3.mjs';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Agents API functions
|
|
@@ -99,5 +99,42 @@ declare function getAgentListAnalyticsApi(options: ApiClientOptions): Promise<Ap
|
|
|
99
99
|
declare function getTaskOutcomesApi(params: {
|
|
100
100
|
date_filter: DateFilter;
|
|
101
101
|
}, options: ApiClientOptions): Promise<ApiResponse<AnalyticsDataResponse>>;
|
|
102
|
+
declare function listToolDefinitionsApi(options: ApiClientOptions & {
|
|
103
|
+
onlySystem?: boolean;
|
|
104
|
+
enabled?: boolean;
|
|
105
|
+
limit?: number;
|
|
106
|
+
offset?: number;
|
|
107
|
+
}): Promise<ApiResponse<ToolDefinitionsListResponse>>;
|
|
108
|
+
declare function getToolDefinitionApi(toolDefId: string, options: ApiClientOptions): Promise<ApiResponse<ToolDefinitionResponse>>;
|
|
109
|
+
declare function getToolDefinitionsByIdsApi(ids: string[], options: ApiClientOptions): Promise<ApiResponse<GetToolDefinitionsByIDsResponse>>;
|
|
110
|
+
declare function createToolDefinitionApi(toolDefinition: Partial<ToolDefinition>, options: ApiClientOptions): Promise<ApiResponse<ToolDefinitionResponse>>;
|
|
111
|
+
declare function updateToolDefinitionApi(toolDefId: string, toolDefinition: Partial<ToolDefinition>, options: ApiClientOptions): Promise<ApiResponse<ToolDefinitionResponse>>;
|
|
112
|
+
declare function deleteToolDefinitionApi(toolDefId: string, options: ApiClientOptions): Promise<ApiResponse<{
|
|
113
|
+
success: boolean;
|
|
114
|
+
metadata: ResponseMetadata;
|
|
115
|
+
}>>;
|
|
116
|
+
declare function listAgentJobsApi(options: ApiClientOptions & {
|
|
117
|
+
agentId?: string;
|
|
118
|
+
ownerId?: string;
|
|
119
|
+
scope?: string;
|
|
120
|
+
status?: string;
|
|
121
|
+
frequency?: string;
|
|
122
|
+
limit?: number;
|
|
123
|
+
offset?: number;
|
|
124
|
+
}): Promise<ApiResponse<AgentJobsListResponse>>;
|
|
125
|
+
declare function getAgentJobApi(jobId: string, options: ApiClientOptions): Promise<ApiResponse<AgentJobResponse>>;
|
|
126
|
+
declare function createAgentJobApi(job: Partial<AgentJob>, options: ApiClientOptions): Promise<ApiResponse<AgentJobResponse>>;
|
|
127
|
+
declare function updateAgentJobApi(jobId: string, job: Partial<AgentJob>, options: ApiClientOptions): Promise<ApiResponse<AgentJobResponse>>;
|
|
128
|
+
declare function deleteAgentJobApi(jobId: string, options: ApiClientOptions): Promise<ApiResponse<{
|
|
129
|
+
success: boolean;
|
|
130
|
+
metadata: ResponseMetadata;
|
|
131
|
+
}>>;
|
|
132
|
+
declare function pauseAgentJobApi(jobId: string, options: ApiClientOptions): Promise<ApiResponse<AgentJobResponse>>;
|
|
133
|
+
declare function resumeAgentJobApi(jobId: string, options: ApiClientOptions): Promise<ApiResponse<AgentJobResponse>>;
|
|
134
|
+
interface SkillCategoriesResponse {
|
|
135
|
+
categories: string[];
|
|
136
|
+
metadata: ResponseMetadata;
|
|
137
|
+
}
|
|
138
|
+
declare function getSkillCategoriesApi(options: ApiClientOptions): Promise<ApiResponse<SkillCategoriesResponse>>;
|
|
102
139
|
|
|
103
|
-
export { Agent, AgentWidget, type AnalyticsDataResponse, type DateFilter, ResolveSkillConfigResponse, Skill, SkillUserConfigListResponse, SkillUserConfigResponse, SubAgent, createAgentApi, createSkillApi, createSubAgentApi, createWidgetApi, deleteAgentApi, deleteSkillApi, deleteSkillUserConfigApi, deleteSubAgentApi, deleteWidgetApi, getAgentApi, getAgentCSATAnalyticsApi, getAgentChatsAnalyticsApi, getAgentListAnalyticsApi, getDefaultAgentApi, getDefaultWidgetApi, getSkillApi, getSkillUserConfigApi, getSkillsByIdsApi, getSubAgentApi, getTaskOutcomesApi, getWidgetApi, getWidgetByWidgetIdApi, listAgentsApi, listAgentsSummaryApi, listSkillUserConfigsApi, listSkillsApi, listSubAgentsApi, listWidgetsApi, resolveSkillConfigApi, searchSkillsApi, setDefaultWidgetApi, updateAgentApi, updateSkillApi, updateSkillUserConfigApi, updateSubAgentApi, updateWidgetApi };
|
|
140
|
+
export { Agent, AgentJob, AgentJobResponse, AgentJobsListResponse, AgentWidget, type AnalyticsDataResponse, type DateFilter, GetToolDefinitionsByIDsResponse, ResolveSkillConfigResponse, Skill, type SkillCategoriesResponse, SkillUserConfigListResponse, SkillUserConfigResponse, SubAgent, ToolDefinition, ToolDefinitionResponse, ToolDefinitionsListResponse, createAgentApi, createAgentJobApi, createSkillApi, createSubAgentApi, createToolDefinitionApi, createWidgetApi, deleteAgentApi, deleteAgentJobApi, deleteSkillApi, deleteSkillUserConfigApi, deleteSubAgentApi, deleteToolDefinitionApi, deleteWidgetApi, getAgentApi, getAgentCSATAnalyticsApi, getAgentChatsAnalyticsApi, getAgentJobApi, getAgentListAnalyticsApi, getDefaultAgentApi, getDefaultWidgetApi, getSkillApi, getSkillCategoriesApi, getSkillUserConfigApi, getSkillsByIdsApi, getSubAgentApi, getTaskOutcomesApi, getToolDefinitionApi, getToolDefinitionsByIdsApi, getWidgetApi, getWidgetByWidgetIdApi, listAgentJobsApi, listAgentsApi, listAgentsSummaryApi, listSkillUserConfigsApi, listSkillsApi, listSubAgentsApi, listToolDefinitionsApi, listWidgetsApi, pauseAgentJobApi, resolveSkillConfigApi, resumeAgentJobApi, searchSkillsApi, setDefaultWidgetApi, updateAgentApi, updateAgentJobApi, updateSkillApi, updateSkillUserConfigApi, updateSubAgentApi, updateToolDefinitionApi, updateWidgetApi };
|
package/dist/api/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ApiClientOptions, ApiResponse } from '@elqnt/api-client';
|
|
2
2
|
import { ResponseMetadata } from '@elqnt/types';
|
|
3
|
-
import {
|
|
4
|
-
export {
|
|
3
|
+
import { cg as ListAgentsResponse, ci as ListAgentsSummaryResponse, cb as AgentResponse, b2 as Agent, a1 as SkillsListResponse, a0 as SkillResponse, a3 as GetSkillsByIDsResponse, aM as Skill, ac as SkillUserConfigResponse, ad as SkillUserConfigListResponse, af as ResolveSkillConfigResponse, K as SubAgentsListResponse, S as SubAgentResponse, bk as SubAgent, eS as ListAgentWidgetsResponse, eM as AgentWidgetResponse, eC as AgentWidget, z as ToolDefinitionsListResponse, T as ToolDefinitionResponse, O as GetToolDefinitionsByIDsResponse, ba as ToolDefinition, al as AgentJobsListResponse, ak as AgentJobResponse, bR as AgentJob } from '../agent-models-BdtFKjV3.js';
|
|
4
|
+
export { b9 as AgentSummary, aO as SkillUserConfig } from '../agent-models-BdtFKjV3.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Agents API functions
|
|
@@ -99,5 +99,42 @@ declare function getAgentListAnalyticsApi(options: ApiClientOptions): Promise<Ap
|
|
|
99
99
|
declare function getTaskOutcomesApi(params: {
|
|
100
100
|
date_filter: DateFilter;
|
|
101
101
|
}, options: ApiClientOptions): Promise<ApiResponse<AnalyticsDataResponse>>;
|
|
102
|
+
declare function listToolDefinitionsApi(options: ApiClientOptions & {
|
|
103
|
+
onlySystem?: boolean;
|
|
104
|
+
enabled?: boolean;
|
|
105
|
+
limit?: number;
|
|
106
|
+
offset?: number;
|
|
107
|
+
}): Promise<ApiResponse<ToolDefinitionsListResponse>>;
|
|
108
|
+
declare function getToolDefinitionApi(toolDefId: string, options: ApiClientOptions): Promise<ApiResponse<ToolDefinitionResponse>>;
|
|
109
|
+
declare function getToolDefinitionsByIdsApi(ids: string[], options: ApiClientOptions): Promise<ApiResponse<GetToolDefinitionsByIDsResponse>>;
|
|
110
|
+
declare function createToolDefinitionApi(toolDefinition: Partial<ToolDefinition>, options: ApiClientOptions): Promise<ApiResponse<ToolDefinitionResponse>>;
|
|
111
|
+
declare function updateToolDefinitionApi(toolDefId: string, toolDefinition: Partial<ToolDefinition>, options: ApiClientOptions): Promise<ApiResponse<ToolDefinitionResponse>>;
|
|
112
|
+
declare function deleteToolDefinitionApi(toolDefId: string, options: ApiClientOptions): Promise<ApiResponse<{
|
|
113
|
+
success: boolean;
|
|
114
|
+
metadata: ResponseMetadata;
|
|
115
|
+
}>>;
|
|
116
|
+
declare function listAgentJobsApi(options: ApiClientOptions & {
|
|
117
|
+
agentId?: string;
|
|
118
|
+
ownerId?: string;
|
|
119
|
+
scope?: string;
|
|
120
|
+
status?: string;
|
|
121
|
+
frequency?: string;
|
|
122
|
+
limit?: number;
|
|
123
|
+
offset?: number;
|
|
124
|
+
}): Promise<ApiResponse<AgentJobsListResponse>>;
|
|
125
|
+
declare function getAgentJobApi(jobId: string, options: ApiClientOptions): Promise<ApiResponse<AgentJobResponse>>;
|
|
126
|
+
declare function createAgentJobApi(job: Partial<AgentJob>, options: ApiClientOptions): Promise<ApiResponse<AgentJobResponse>>;
|
|
127
|
+
declare function updateAgentJobApi(jobId: string, job: Partial<AgentJob>, options: ApiClientOptions): Promise<ApiResponse<AgentJobResponse>>;
|
|
128
|
+
declare function deleteAgentJobApi(jobId: string, options: ApiClientOptions): Promise<ApiResponse<{
|
|
129
|
+
success: boolean;
|
|
130
|
+
metadata: ResponseMetadata;
|
|
131
|
+
}>>;
|
|
132
|
+
declare function pauseAgentJobApi(jobId: string, options: ApiClientOptions): Promise<ApiResponse<AgentJobResponse>>;
|
|
133
|
+
declare function resumeAgentJobApi(jobId: string, options: ApiClientOptions): Promise<ApiResponse<AgentJobResponse>>;
|
|
134
|
+
interface SkillCategoriesResponse {
|
|
135
|
+
categories: string[];
|
|
136
|
+
metadata: ResponseMetadata;
|
|
137
|
+
}
|
|
138
|
+
declare function getSkillCategoriesApi(options: ApiClientOptions): Promise<ApiResponse<SkillCategoriesResponse>>;
|
|
102
139
|
|
|
103
|
-
export { Agent, AgentWidget, type AnalyticsDataResponse, type DateFilter, ResolveSkillConfigResponse, Skill, SkillUserConfigListResponse, SkillUserConfigResponse, SubAgent, createAgentApi, createSkillApi, createSubAgentApi, createWidgetApi, deleteAgentApi, deleteSkillApi, deleteSkillUserConfigApi, deleteSubAgentApi, deleteWidgetApi, getAgentApi, getAgentCSATAnalyticsApi, getAgentChatsAnalyticsApi, getAgentListAnalyticsApi, getDefaultAgentApi, getDefaultWidgetApi, getSkillApi, getSkillUserConfigApi, getSkillsByIdsApi, getSubAgentApi, getTaskOutcomesApi, getWidgetApi, getWidgetByWidgetIdApi, listAgentsApi, listAgentsSummaryApi, listSkillUserConfigsApi, listSkillsApi, listSubAgentsApi, listWidgetsApi, resolveSkillConfigApi, searchSkillsApi, setDefaultWidgetApi, updateAgentApi, updateSkillApi, updateSkillUserConfigApi, updateSubAgentApi, updateWidgetApi };
|
|
140
|
+
export { Agent, AgentJob, AgentJobResponse, AgentJobsListResponse, AgentWidget, type AnalyticsDataResponse, type DateFilter, GetToolDefinitionsByIDsResponse, ResolveSkillConfigResponse, Skill, type SkillCategoriesResponse, SkillUserConfigListResponse, SkillUserConfigResponse, SubAgent, ToolDefinition, ToolDefinitionResponse, ToolDefinitionsListResponse, createAgentApi, createAgentJobApi, createSkillApi, createSubAgentApi, createToolDefinitionApi, createWidgetApi, deleteAgentApi, deleteAgentJobApi, deleteSkillApi, deleteSkillUserConfigApi, deleteSubAgentApi, deleteToolDefinitionApi, deleteWidgetApi, getAgentApi, getAgentCSATAnalyticsApi, getAgentChatsAnalyticsApi, getAgentJobApi, getAgentListAnalyticsApi, getDefaultAgentApi, getDefaultWidgetApi, getSkillApi, getSkillCategoriesApi, getSkillUserConfigApi, getSkillsByIdsApi, getSubAgentApi, getTaskOutcomesApi, getToolDefinitionApi, getToolDefinitionsByIdsApi, getWidgetApi, getWidgetByWidgetIdApi, listAgentJobsApi, listAgentsApi, listAgentsSummaryApi, listSkillUserConfigsApi, listSkillsApi, listSubAgentsApi, listToolDefinitionsApi, listWidgetsApi, pauseAgentJobApi, resolveSkillConfigApi, resumeAgentJobApi, searchSkillsApi, setDefaultWidgetApi, updateAgentApi, updateAgentJobApi, updateSkillApi, updateSkillUserConfigApi, updateSubAgentApi, updateToolDefinitionApi, updateWidgetApi };
|
package/dist/api/index.js
CHANGED
|
@@ -36,7 +36,6 @@
|
|
|
36
36
|
|
|
37
37
|
|
|
38
38
|
|
|
39
|
-
var _chunkK3OAYHF3js = require('../chunk-K3OAYHF3.js');
|
|
40
39
|
|
|
41
40
|
|
|
42
41
|
|
|
@@ -51,6 +50,7 @@ var _chunkK3OAYHF3js = require('../chunk-K3OAYHF3.js');
|
|
|
51
50
|
|
|
52
51
|
|
|
53
52
|
|
|
53
|
+
var _chunkADOBVUUSjs = require('../chunk-ADOBVUUS.js');
|
|
54
54
|
|
|
55
55
|
|
|
56
56
|
|
|
@@ -74,5 +74,33 @@ var _chunkK3OAYHF3js = require('../chunk-K3OAYHF3.js');
|
|
|
74
74
|
|
|
75
75
|
|
|
76
76
|
|
|
77
|
-
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
exports.createAgentApi = _chunkADOBVUUSjs.createAgentApi; exports.createAgentJobApi = _chunkADOBVUUSjs.createAgentJobApi; exports.createSkillApi = _chunkADOBVUUSjs.createSkillApi; exports.createSubAgentApi = _chunkADOBVUUSjs.createSubAgentApi; exports.createToolDefinitionApi = _chunkADOBVUUSjs.createToolDefinitionApi; exports.createWidgetApi = _chunkADOBVUUSjs.createWidgetApi; exports.deleteAgentApi = _chunkADOBVUUSjs.deleteAgentApi; exports.deleteAgentJobApi = _chunkADOBVUUSjs.deleteAgentJobApi; exports.deleteSkillApi = _chunkADOBVUUSjs.deleteSkillApi; exports.deleteSkillUserConfigApi = _chunkADOBVUUSjs.deleteSkillUserConfigApi; exports.deleteSubAgentApi = _chunkADOBVUUSjs.deleteSubAgentApi; exports.deleteToolDefinitionApi = _chunkADOBVUUSjs.deleteToolDefinitionApi; exports.deleteWidgetApi = _chunkADOBVUUSjs.deleteWidgetApi; exports.getAgentApi = _chunkADOBVUUSjs.getAgentApi; exports.getAgentCSATAnalyticsApi = _chunkADOBVUUSjs.getAgentCSATAnalyticsApi; exports.getAgentChatsAnalyticsApi = _chunkADOBVUUSjs.getAgentChatsAnalyticsApi; exports.getAgentJobApi = _chunkADOBVUUSjs.getAgentJobApi; exports.getAgentListAnalyticsApi = _chunkADOBVUUSjs.getAgentListAnalyticsApi; exports.getDefaultAgentApi = _chunkADOBVUUSjs.getDefaultAgentApi; exports.getDefaultWidgetApi = _chunkADOBVUUSjs.getDefaultWidgetApi; exports.getSkillApi = _chunkADOBVUUSjs.getSkillApi; exports.getSkillCategoriesApi = _chunkADOBVUUSjs.getSkillCategoriesApi; exports.getSkillUserConfigApi = _chunkADOBVUUSjs.getSkillUserConfigApi; exports.getSkillsByIdsApi = _chunkADOBVUUSjs.getSkillsByIdsApi; exports.getSubAgentApi = _chunkADOBVUUSjs.getSubAgentApi; exports.getTaskOutcomesApi = _chunkADOBVUUSjs.getTaskOutcomesApi; exports.getToolDefinitionApi = _chunkADOBVUUSjs.getToolDefinitionApi; exports.getToolDefinitionsByIdsApi = _chunkADOBVUUSjs.getToolDefinitionsByIdsApi; exports.getWidgetApi = _chunkADOBVUUSjs.getWidgetApi; exports.getWidgetByWidgetIdApi = _chunkADOBVUUSjs.getWidgetByWidgetIdApi; exports.listAgentJobsApi = _chunkADOBVUUSjs.listAgentJobsApi; exports.listAgentsApi = _chunkADOBVUUSjs.listAgentsApi; exports.listAgentsSummaryApi = _chunkADOBVUUSjs.listAgentsSummaryApi; exports.listSkillUserConfigsApi = _chunkADOBVUUSjs.listSkillUserConfigsApi; exports.listSkillsApi = _chunkADOBVUUSjs.listSkillsApi; exports.listSubAgentsApi = _chunkADOBVUUSjs.listSubAgentsApi; exports.listToolDefinitionsApi = _chunkADOBVUUSjs.listToolDefinitionsApi; exports.listWidgetsApi = _chunkADOBVUUSjs.listWidgetsApi; exports.pauseAgentJobApi = _chunkADOBVUUSjs.pauseAgentJobApi; exports.resolveSkillConfigApi = _chunkADOBVUUSjs.resolveSkillConfigApi; exports.resumeAgentJobApi = _chunkADOBVUUSjs.resumeAgentJobApi; exports.searchSkillsApi = _chunkADOBVUUSjs.searchSkillsApi; exports.setDefaultWidgetApi = _chunkADOBVUUSjs.setDefaultWidgetApi; exports.updateAgentApi = _chunkADOBVUUSjs.updateAgentApi; exports.updateAgentJobApi = _chunkADOBVUUSjs.updateAgentJobApi; exports.updateSkillApi = _chunkADOBVUUSjs.updateSkillApi; exports.updateSkillUserConfigApi = _chunkADOBVUUSjs.updateSkillUserConfigApi; exports.updateSubAgentApi = _chunkADOBVUUSjs.updateSubAgentApi; exports.updateToolDefinitionApi = _chunkADOBVUUSjs.updateToolDefinitionApi; exports.updateWidgetApi = _chunkADOBVUUSjs.updateWidgetApi;
|
|
78
106
|
//# sourceMappingURL=index.js.map
|
package/dist/api/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/runner/work/eloquent/eloquent/packages
|
|
1
|
+
{"version":3,"sources":["/home/runner/work/eloquent-packages/eloquent-packages/packages/agents/dist/api/index.js"],"names":[],"mappings":"AAAA,qFAAY;AACZ;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,uDAA6B;AAC7B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,+sGAAC","file":"/home/runner/work/eloquent-packages/eloquent-packages/packages/agents/dist/api/index.js"}
|
package/dist/api/index.mjs
CHANGED
|
@@ -1,78 +1,106 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
createAgentApi,
|
|
4
|
+
createAgentJobApi,
|
|
4
5
|
createSkillApi,
|
|
5
6
|
createSubAgentApi,
|
|
7
|
+
createToolDefinitionApi,
|
|
6
8
|
createWidgetApi,
|
|
7
9
|
deleteAgentApi,
|
|
10
|
+
deleteAgentJobApi,
|
|
8
11
|
deleteSkillApi,
|
|
9
12
|
deleteSkillUserConfigApi,
|
|
10
13
|
deleteSubAgentApi,
|
|
14
|
+
deleteToolDefinitionApi,
|
|
11
15
|
deleteWidgetApi,
|
|
12
16
|
getAgentApi,
|
|
13
17
|
getAgentCSATAnalyticsApi,
|
|
14
18
|
getAgentChatsAnalyticsApi,
|
|
19
|
+
getAgentJobApi,
|
|
15
20
|
getAgentListAnalyticsApi,
|
|
16
21
|
getDefaultAgentApi,
|
|
17
22
|
getDefaultWidgetApi,
|
|
18
23
|
getSkillApi,
|
|
24
|
+
getSkillCategoriesApi,
|
|
19
25
|
getSkillUserConfigApi,
|
|
20
26
|
getSkillsByIdsApi,
|
|
21
27
|
getSubAgentApi,
|
|
22
28
|
getTaskOutcomesApi,
|
|
29
|
+
getToolDefinitionApi,
|
|
30
|
+
getToolDefinitionsByIdsApi,
|
|
23
31
|
getWidgetApi,
|
|
24
32
|
getWidgetByWidgetIdApi,
|
|
33
|
+
listAgentJobsApi,
|
|
25
34
|
listAgentsApi,
|
|
26
35
|
listAgentsSummaryApi,
|
|
27
36
|
listSkillUserConfigsApi,
|
|
28
37
|
listSkillsApi,
|
|
29
38
|
listSubAgentsApi,
|
|
39
|
+
listToolDefinitionsApi,
|
|
30
40
|
listWidgetsApi,
|
|
41
|
+
pauseAgentJobApi,
|
|
31
42
|
resolveSkillConfigApi,
|
|
43
|
+
resumeAgentJobApi,
|
|
32
44
|
searchSkillsApi,
|
|
33
45
|
setDefaultWidgetApi,
|
|
34
46
|
updateAgentApi,
|
|
47
|
+
updateAgentJobApi,
|
|
35
48
|
updateSkillApi,
|
|
36
49
|
updateSkillUserConfigApi,
|
|
37
50
|
updateSubAgentApi,
|
|
51
|
+
updateToolDefinitionApi,
|
|
38
52
|
updateWidgetApi
|
|
39
|
-
} from "../chunk-
|
|
53
|
+
} from "../chunk-O3FM26FT.mjs";
|
|
40
54
|
export {
|
|
41
55
|
createAgentApi,
|
|
56
|
+
createAgentJobApi,
|
|
42
57
|
createSkillApi,
|
|
43
58
|
createSubAgentApi,
|
|
59
|
+
createToolDefinitionApi,
|
|
44
60
|
createWidgetApi,
|
|
45
61
|
deleteAgentApi,
|
|
62
|
+
deleteAgentJobApi,
|
|
46
63
|
deleteSkillApi,
|
|
47
64
|
deleteSkillUserConfigApi,
|
|
48
65
|
deleteSubAgentApi,
|
|
66
|
+
deleteToolDefinitionApi,
|
|
49
67
|
deleteWidgetApi,
|
|
50
68
|
getAgentApi,
|
|
51
69
|
getAgentCSATAnalyticsApi,
|
|
52
70
|
getAgentChatsAnalyticsApi,
|
|
71
|
+
getAgentJobApi,
|
|
53
72
|
getAgentListAnalyticsApi,
|
|
54
73
|
getDefaultAgentApi,
|
|
55
74
|
getDefaultWidgetApi,
|
|
56
75
|
getSkillApi,
|
|
76
|
+
getSkillCategoriesApi,
|
|
57
77
|
getSkillUserConfigApi,
|
|
58
78
|
getSkillsByIdsApi,
|
|
59
79
|
getSubAgentApi,
|
|
60
80
|
getTaskOutcomesApi,
|
|
81
|
+
getToolDefinitionApi,
|
|
82
|
+
getToolDefinitionsByIdsApi,
|
|
61
83
|
getWidgetApi,
|
|
62
84
|
getWidgetByWidgetIdApi,
|
|
85
|
+
listAgentJobsApi,
|
|
63
86
|
listAgentsApi,
|
|
64
87
|
listAgentsSummaryApi,
|
|
65
88
|
listSkillUserConfigsApi,
|
|
66
89
|
listSkillsApi,
|
|
67
90
|
listSubAgentsApi,
|
|
91
|
+
listToolDefinitionsApi,
|
|
68
92
|
listWidgetsApi,
|
|
93
|
+
pauseAgentJobApi,
|
|
69
94
|
resolveSkillConfigApi,
|
|
95
|
+
resumeAgentJobApi,
|
|
70
96
|
searchSkillsApi,
|
|
71
97
|
setDefaultWidgetApi,
|
|
72
98
|
updateAgentApi,
|
|
99
|
+
updateAgentJobApi,
|
|
73
100
|
updateSkillApi,
|
|
74
101
|
updateSkillUserConfigApi,
|
|
75
102
|
updateSubAgentApi,
|
|
103
|
+
updateToolDefinitionApi,
|
|
76
104
|
updateWidgetApi
|
|
77
105
|
};
|
|
78
106
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
import { ApiResponse } from '@elqnt/api-client';
|
|
2
|
+
import { ResponseMetadata } from '@elqnt/types';
|
|
3
|
+
import { cg as ListAgentsResponse, ci as ListAgentsSummaryResponse, cb as AgentResponse, b2 as Agent, a1 as SkillsListResponse, a0 as SkillResponse, a3 as GetSkillsByIDsResponse, aM as Skill, ac as SkillUserConfigResponse, ad as SkillUserConfigListResponse, af as ResolveSkillConfigResponse, K as SubAgentsListResponse, S as SubAgentResponse, bk as SubAgent, z as ToolDefinitionsListResponse, T as ToolDefinitionResponse, O as GetToolDefinitionsByIDsResponse, ba as ToolDefinition, al as AgentJobsListResponse, ak as AgentJobResponse, bR as AgentJob, eS as ListAgentWidgetsResponse, eM as AgentWidgetResponse, eC as AgentWidget } from '../agent-models-BdtFKjV3.mjs';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Server-side Agents API
|
|
7
|
+
*
|
|
8
|
+
* API functions for server-side usage (Server Actions, API routes, SSR).
|
|
9
|
+
* Uses serverApiRequest which generates JWT tokens internally.
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* ```ts
|
|
13
|
+
* // In a Next.js Server Action
|
|
14
|
+
* "use server";
|
|
15
|
+
* import { listAgentsServer, getAgentServer } from "@elqnt/agents/api/server";
|
|
16
|
+
*
|
|
17
|
+
* export async function getAgentsList(orgId: string) {
|
|
18
|
+
* const response = await listAgentsServer({
|
|
19
|
+
* gatewayUrl: process.env.API_GATEWAY_URL!,
|
|
20
|
+
* jwtSecret: process.env.JWT_SECRET!,
|
|
21
|
+
* orgId,
|
|
22
|
+
* });
|
|
23
|
+
* return response.data?.agents || [];
|
|
24
|
+
* }
|
|
25
|
+
* ```
|
|
26
|
+
*/
|
|
27
|
+
|
|
28
|
+
interface ServerApiOptions {
|
|
29
|
+
/** API Gateway URL */
|
|
30
|
+
gatewayUrl: string;
|
|
31
|
+
/** JWT secret for token generation */
|
|
32
|
+
jwtSecret: string;
|
|
33
|
+
/** Organization ID */
|
|
34
|
+
orgId: string;
|
|
35
|
+
/** User ID (defaults to "system") */
|
|
36
|
+
userId?: string;
|
|
37
|
+
/** User email */
|
|
38
|
+
userEmail?: string;
|
|
39
|
+
/** Request timeout in ms */
|
|
40
|
+
timeout?: number;
|
|
41
|
+
/** Cache strategy */
|
|
42
|
+
cache?: RequestCache;
|
|
43
|
+
}
|
|
44
|
+
declare function listAgentsServer(options: ServerApiOptions): Promise<ApiResponse<ListAgentsResponse>>;
|
|
45
|
+
declare function listAgentsSummaryServer(options: ServerApiOptions): Promise<ApiResponse<ListAgentsSummaryResponse>>;
|
|
46
|
+
declare function getAgentServer(agentId: string, options: ServerApiOptions): Promise<ApiResponse<AgentResponse>>;
|
|
47
|
+
declare function createAgentServer(agent: Partial<Agent>, options: ServerApiOptions): Promise<ApiResponse<AgentResponse>>;
|
|
48
|
+
declare function updateAgentServer(agentId: string, agent: Partial<Agent>, options: ServerApiOptions): Promise<ApiResponse<AgentResponse>>;
|
|
49
|
+
declare function deleteAgentServer(agentId: string, options: ServerApiOptions): Promise<ApiResponse<{
|
|
50
|
+
success: boolean;
|
|
51
|
+
metadata: ResponseMetadata;
|
|
52
|
+
}>>;
|
|
53
|
+
declare function getDefaultAgentServer(options: ServerApiOptions): Promise<ApiResponse<AgentResponse>>;
|
|
54
|
+
declare function listSkillsServer(options: ServerApiOptions): Promise<ApiResponse<SkillsListResponse>>;
|
|
55
|
+
declare function getSkillServer(skillId: string, options: ServerApiOptions): Promise<ApiResponse<SkillResponse>>;
|
|
56
|
+
declare function getSkillsByIdsServer(ids: string[], options: ServerApiOptions): Promise<ApiResponse<GetSkillsByIDsResponse>>;
|
|
57
|
+
declare function createSkillServer(skill: Partial<Skill>, options: ServerApiOptions): Promise<ApiResponse<SkillResponse>>;
|
|
58
|
+
declare function updateSkillServer(skillId: string, skill: Partial<Skill>, options: ServerApiOptions): Promise<ApiResponse<SkillResponse>>;
|
|
59
|
+
declare function deleteSkillServer(skillId: string, options: ServerApiOptions): Promise<ApiResponse<{
|
|
60
|
+
success: boolean;
|
|
61
|
+
metadata: ResponseMetadata;
|
|
62
|
+
}>>;
|
|
63
|
+
interface SkillCategoriesResponse {
|
|
64
|
+
categories: string[];
|
|
65
|
+
metadata: ResponseMetadata;
|
|
66
|
+
}
|
|
67
|
+
declare function getSkillCategoriesServer(options: ServerApiOptions): Promise<ApiResponse<SkillCategoriesResponse>>;
|
|
68
|
+
declare function getSkillUserConfigServer(skillId: string, options: ServerApiOptions & {
|
|
69
|
+
agentId?: string;
|
|
70
|
+
}): Promise<ApiResponse<SkillUserConfigResponse>>;
|
|
71
|
+
declare function updateSkillUserConfigServer(skillId: string, data: {
|
|
72
|
+
enabled?: boolean;
|
|
73
|
+
displayOrder?: number;
|
|
74
|
+
config?: Record<string, unknown>;
|
|
75
|
+
agentId?: string;
|
|
76
|
+
}, options: ServerApiOptions): Promise<ApiResponse<SkillUserConfigResponse>>;
|
|
77
|
+
declare function deleteSkillUserConfigServer(skillId: string, options: ServerApiOptions & {
|
|
78
|
+
agentId?: string;
|
|
79
|
+
}): Promise<ApiResponse<{
|
|
80
|
+
success: boolean;
|
|
81
|
+
metadata: ResponseMetadata;
|
|
82
|
+
}>>;
|
|
83
|
+
declare function listSkillUserConfigsServer(options: ServerApiOptions & {
|
|
84
|
+
agentId?: string;
|
|
85
|
+
limit?: number;
|
|
86
|
+
offset?: number;
|
|
87
|
+
}): Promise<ApiResponse<SkillUserConfigListResponse>>;
|
|
88
|
+
declare function resolveSkillConfigServer(skillId: string, agentId: string, options: ServerApiOptions): Promise<ApiResponse<ResolveSkillConfigResponse>>;
|
|
89
|
+
declare function listSubAgentsServer(options: ServerApiOptions & {
|
|
90
|
+
onlySystem?: boolean;
|
|
91
|
+
enabled?: boolean;
|
|
92
|
+
}): Promise<ApiResponse<SubAgentsListResponse>>;
|
|
93
|
+
declare function getSubAgentServer(subAgentId: string, options: ServerApiOptions): Promise<ApiResponse<SubAgentResponse>>;
|
|
94
|
+
declare function createSubAgentServer(subAgent: Partial<SubAgent>, options: ServerApiOptions): Promise<ApiResponse<SubAgentResponse>>;
|
|
95
|
+
declare function updateSubAgentServer(subAgentId: string, subAgent: Partial<SubAgent>, options: ServerApiOptions): Promise<ApiResponse<SubAgentResponse>>;
|
|
96
|
+
declare function deleteSubAgentServer(subAgentId: string, options: ServerApiOptions): Promise<ApiResponse<{
|
|
97
|
+
success: boolean;
|
|
98
|
+
metadata: ResponseMetadata;
|
|
99
|
+
}>>;
|
|
100
|
+
declare function listToolDefinitionsServer(options: ServerApiOptions & {
|
|
101
|
+
onlySystem?: boolean;
|
|
102
|
+
enabled?: boolean;
|
|
103
|
+
limit?: number;
|
|
104
|
+
offset?: number;
|
|
105
|
+
}): Promise<ApiResponse<ToolDefinitionsListResponse>>;
|
|
106
|
+
declare function getToolDefinitionServer(toolDefId: string, options: ServerApiOptions): Promise<ApiResponse<ToolDefinitionResponse>>;
|
|
107
|
+
declare function getToolDefinitionsByIdsServer(ids: string[], options: ServerApiOptions): Promise<ApiResponse<GetToolDefinitionsByIDsResponse>>;
|
|
108
|
+
declare function createToolDefinitionServer(toolDefinition: Partial<ToolDefinition>, options: ServerApiOptions): Promise<ApiResponse<ToolDefinitionResponse>>;
|
|
109
|
+
declare function updateToolDefinitionServer(toolDefId: string, toolDefinition: Partial<ToolDefinition>, options: ServerApiOptions): Promise<ApiResponse<ToolDefinitionResponse>>;
|
|
110
|
+
declare function deleteToolDefinitionServer(toolDefId: string, options: ServerApiOptions): Promise<ApiResponse<{
|
|
111
|
+
success: boolean;
|
|
112
|
+
metadata: ResponseMetadata;
|
|
113
|
+
}>>;
|
|
114
|
+
declare function listAgentJobsServer(options: ServerApiOptions & {
|
|
115
|
+
agentId?: string;
|
|
116
|
+
ownerId?: string;
|
|
117
|
+
scope?: string;
|
|
118
|
+
status?: string;
|
|
119
|
+
frequency?: string;
|
|
120
|
+
limit?: number;
|
|
121
|
+
offset?: number;
|
|
122
|
+
}): Promise<ApiResponse<AgentJobsListResponse>>;
|
|
123
|
+
declare function getAgentJobServer(jobId: string, options: ServerApiOptions): Promise<ApiResponse<AgentJobResponse>>;
|
|
124
|
+
declare function createAgentJobServer(job: Partial<AgentJob>, options: ServerApiOptions): Promise<ApiResponse<AgentJobResponse>>;
|
|
125
|
+
declare function updateAgentJobServer(jobId: string, job: Partial<AgentJob>, options: ServerApiOptions): Promise<ApiResponse<AgentJobResponse>>;
|
|
126
|
+
declare function deleteAgentJobServer(jobId: string, options: ServerApiOptions): Promise<ApiResponse<{
|
|
127
|
+
success: boolean;
|
|
128
|
+
metadata: ResponseMetadata;
|
|
129
|
+
}>>;
|
|
130
|
+
declare function pauseAgentJobServer(jobId: string, options: ServerApiOptions): Promise<ApiResponse<AgentJobResponse>>;
|
|
131
|
+
declare function resumeAgentJobServer(jobId: string, options: ServerApiOptions): Promise<ApiResponse<AgentJobResponse>>;
|
|
132
|
+
declare function listWidgetsServer(agentId: string, options: ServerApiOptions): Promise<ApiResponse<ListAgentWidgetsResponse>>;
|
|
133
|
+
declare function getDefaultWidgetServer(agentId: string, options: ServerApiOptions): Promise<ApiResponse<AgentWidgetResponse>>;
|
|
134
|
+
declare function createWidgetServer(agentId: string, widget: Partial<AgentWidget>, options: ServerApiOptions): Promise<ApiResponse<AgentWidgetResponse>>;
|
|
135
|
+
declare function getWidgetServer(widgetId: string, options: ServerApiOptions): Promise<ApiResponse<AgentWidgetResponse>>;
|
|
136
|
+
declare function updateWidgetServer(widgetId: string, widget: Partial<AgentWidget>, options: ServerApiOptions): Promise<ApiResponse<AgentWidgetResponse>>;
|
|
137
|
+
declare function deleteWidgetServer(widgetId: string, options: ServerApiOptions): Promise<ApiResponse<{
|
|
138
|
+
success: boolean;
|
|
139
|
+
metadata: ResponseMetadata;
|
|
140
|
+
}>>;
|
|
141
|
+
declare function setDefaultWidgetServer(widgetId: string, agentId: string, options: ServerApiOptions): Promise<ApiResponse<{
|
|
142
|
+
success: boolean;
|
|
143
|
+
metadata: ResponseMetadata;
|
|
144
|
+
}>>;
|
|
145
|
+
|
|
146
|
+
export { Agent, AgentJob, AgentJobResponse, AgentJobsListResponse, AgentResponse, AgentWidget, AgentWidgetResponse, ListAgentWidgetsResponse, ListAgentsResponse, ListAgentsSummaryResponse, type ServerApiOptions, Skill, type SkillCategoriesResponse, SkillResponse, SkillsListResponse, SubAgent, SubAgentResponse, SubAgentsListResponse, ToolDefinition, ToolDefinitionResponse, ToolDefinitionsListResponse, createAgentJobServer, createAgentServer, createSkillServer, createSubAgentServer, createToolDefinitionServer, createWidgetServer, deleteAgentJobServer, deleteAgentServer, deleteSkillServer, deleteSkillUserConfigServer, deleteSubAgentServer, deleteToolDefinitionServer, deleteWidgetServer, getAgentJobServer, getAgentServer, getDefaultAgentServer, getDefaultWidgetServer, getSkillCategoriesServer, getSkillServer, getSkillUserConfigServer, getSkillsByIdsServer, getSubAgentServer, getToolDefinitionServer, getToolDefinitionsByIdsServer, getWidgetServer, listAgentJobsServer, listAgentsServer, listAgentsSummaryServer, listSkillUserConfigsServer, listSkillsServer, listSubAgentsServer, listToolDefinitionsServer, listWidgetsServer, pauseAgentJobServer, resolveSkillConfigServer, resumeAgentJobServer, setDefaultWidgetServer, updateAgentJobServer, updateAgentServer, updateSkillServer, updateSkillUserConfigServer, updateSubAgentServer, updateToolDefinitionServer, updateWidgetServer };
|