@elqnt/agents 3.1.0 → 3.2.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/README.md +40 -0
- package/dist/api/index.d.mts +178 -3
- package/dist/api/index.d.ts +178 -3
- package/dist/api/index.js +44 -2
- package/dist/api/index.js.map +1 -1
- package/dist/api/index.mjs +43 -1
- package/dist/{chunk-NF6PGOXP.mjs → chunk-FR422IHO.mjs} +177 -2
- package/dist/{chunk-NF6PGOXP.mjs.map → chunk-FR422IHO.mjs.map} +1 -1
- package/dist/{chunk-RAA5NKA7.js → chunk-IUKM3T2S.js} +177 -2
- package/dist/chunk-IUKM3T2S.js.map +1 -0
- package/dist/{chunk-RWFVHX2J.js → chunk-RGVWAFZP.js} +243 -57
- package/dist/chunk-RGVWAFZP.js.map +1 -0
- package/dist/{chunk-X4MSBDTZ.mjs → chunk-V5GHDXSW.mjs} +189 -3
- package/dist/chunk-V5GHDXSW.mjs.map +1 -0
- package/dist/hooks/index.d.mts +103 -3
- package/dist/hooks/index.d.ts +103 -3
- package/dist/hooks/index.js +9 -3
- package/dist/hooks/index.js.map +1 -1
- package/dist/hooks/index.mjs +8 -2
- package/dist/index.d.mts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +51 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +50 -2
- package/dist/models/index.d.mts +2 -130
- package/dist/models/index.d.ts +2 -130
- package/dist/{integration-21IuOOeV.d.ts → sandbox-BHeWPjLU.d.mts} +131 -1
- package/dist/{integration-21IuOOeV.d.mts → sandbox-BHeWPjLU.d.ts} +131 -1
- package/package.json +1 -1
- package/dist/chunk-RAA5NKA7.js.map +0 -1
- package/dist/chunk-RWFVHX2J.js.map +0 -1
- package/dist/chunk-X4MSBDTZ.mjs.map +0 -1
package/README.md
CHANGED
|
@@ -115,6 +115,33 @@ import {
|
|
|
115
115
|
updateIntegrationTriageApi,
|
|
116
116
|
runEmailTriageApi,
|
|
117
117
|
|
|
118
|
+
// Sandbox (AI-generated HTML)
|
|
119
|
+
createSandboxApi,
|
|
120
|
+
getSandboxApi,
|
|
121
|
+
updateSandboxApi,
|
|
122
|
+
listSandboxesApi,
|
|
123
|
+
deleteSandboxApi,
|
|
124
|
+
|
|
125
|
+
// Scheduler - Tasks
|
|
126
|
+
listSchedulerTasksApi,
|
|
127
|
+
createSchedulerTaskApi,
|
|
128
|
+
getSchedulerTaskApi,
|
|
129
|
+
updateSchedulerTaskApi,
|
|
130
|
+
deleteSchedulerTaskApi,
|
|
131
|
+
snoozeSchedulerTaskApi,
|
|
132
|
+
completeSchedulerTaskApi,
|
|
133
|
+
startSchedulerTaskApi,
|
|
134
|
+
|
|
135
|
+
// Scheduler - Schedules
|
|
136
|
+
listSchedulesApi,
|
|
137
|
+
createScheduleApi,
|
|
138
|
+
getScheduleApi,
|
|
139
|
+
updateScheduleApi,
|
|
140
|
+
deleteScheduleApi,
|
|
141
|
+
pauseScheduleApi,
|
|
142
|
+
resumeScheduleApi,
|
|
143
|
+
runScheduleApi,
|
|
144
|
+
|
|
118
145
|
// Provisioning
|
|
119
146
|
provisionAgentsApi,
|
|
120
147
|
} from "@elqnt/agents/api";
|
|
@@ -147,6 +174,9 @@ Available hooks:
|
|
|
147
174
|
| `useSkillUserConfig` | Per-user skill configuration |
|
|
148
175
|
| `useAnalytics` | Agent analytics (chats, CSAT, task outcomes) |
|
|
149
176
|
| `useIntegrations` | OAuth integration management (Google, Microsoft) |
|
|
177
|
+
| `useSandbox` | AI-generated HTML sandbox management |
|
|
178
|
+
| `useSchedulerTasks` | Scheduler task operations (create, snooze, complete) |
|
|
179
|
+
| `useSchedulerSchedules` | Recurring schedule operations (pause, resume, run) |
|
|
150
180
|
|
|
151
181
|
### `/models` - TypeScript Types
|
|
152
182
|
|
|
@@ -167,7 +197,17 @@ import type {
|
|
|
167
197
|
IntegrationProviderTS, // 'google' | 'microsoft'
|
|
168
198
|
IntegrationTypeTS, // 'email' | 'calendar' | 'drive'
|
|
169
199
|
IntegrationStatusTS, // 'active' | 'expired' | 'revoked' | 'error'
|
|
200
|
+
// Sandbox types
|
|
201
|
+
Sandbox,
|
|
202
|
+
CreateSandboxRequest,
|
|
203
|
+
CreateSandboxResponse,
|
|
170
204
|
} from "@elqnt/agents/models";
|
|
205
|
+
|
|
206
|
+
// Scheduler types (from API)
|
|
207
|
+
import type {
|
|
208
|
+
SchedulerTask,
|
|
209
|
+
SchedulerSchedule,
|
|
210
|
+
} from "@elqnt/agents/api";
|
|
171
211
|
```
|
|
172
212
|
|
|
173
213
|
### `/utils` - Utilities
|
package/dist/api/index.d.mts
CHANGED
|
@@ -2,8 +2,8 @@ import { ApiClientOptions, ApiResponse } from '@elqnt/api-client';
|
|
|
2
2
|
import { ResponseMetadata } from '@elqnt/types';
|
|
3
3
|
import { A as Agent, ai as AgentResponse, Z as AgentJob, a4 as AgentJobResponse, dk as Skill, dv as SkillResponse, dO as SubAgent, dP as SubAgentResponse, e9 as ToolDefinition, ea as ToolDefinitionResponse, aY as AgentWidget, aZ as AgentWidgetResponse, dB as SkillUserConfigResponse, bZ as GetSkillsByIDsResponse, c3 as GetToolDefinitionsByIDsResponse, aa as AgentJobsListResponse, cC as ListAgentsResponse, cE as ListAgentsSummaryResponse, dz as SkillUserConfigListResponse, dJ as SkillsListResponse, dX as SubAgentsListResponse, ei as ToolDefinitionsListResponse, cA as ListAgentWidgetsResponse, dd as ResolveSkillConfigResponse } from '../agent-models-C36pvpUb.mjs';
|
|
4
4
|
export { aF as AgentSummary, dw as SkillUserConfig } from '../agent-models-C36pvpUb.mjs';
|
|
5
|
-
import {
|
|
6
|
-
export { aW as UserIntegration } from '../
|
|
5
|
+
import { ap as IntegrationProviderTS, aA as IntegrationTypeTS, e as ConnectIntegrationResponse, h as CreateSandboxRequest, i as CreateSandboxResponse, m as DeleteSandboxResponse, r as DisconnectIntegrationResponse, R as GetUserIntegrationResponse, O as GetSandboxResponse, ai as IntegrationCallbackResponse, aL as ListUserIntegrationsResponse, aJ as ListSandboxesResponse, aT as RefreshIntegrationResponse, aV as RunEmailTriageResponse, b9 as UpdateTriageEnabledResponse, b5 as UpdateSandboxRequest, b6 as UpdateSandboxResponse } from '../sandbox-BHeWPjLU.mjs';
|
|
6
|
+
export { aW as Sandbox, ba as UserIntegration } from '../sandbox-BHeWPjLU.mjs';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* Agents API functions
|
|
@@ -189,4 +189,179 @@ declare function updateIntegrationTriageApi(params: {
|
|
|
189
189
|
}, options: ApiClientOptions): Promise<ApiResponse<UpdateTriageEnabledResponse>>;
|
|
190
190
|
declare function runEmailTriageApi(options: ApiClientOptions): Promise<ApiResponse<RunEmailTriageResponse>>;
|
|
191
191
|
|
|
192
|
-
|
|
192
|
+
/**
|
|
193
|
+
* Create a new sandbox from a prompt
|
|
194
|
+
*/
|
|
195
|
+
declare function createSandboxApi(request: Omit<CreateSandboxRequest, "orgId">, options: ApiClientOptions): Promise<ApiResponse<CreateSandboxResponse>>;
|
|
196
|
+
/**
|
|
197
|
+
* Get a sandbox by ID
|
|
198
|
+
*/
|
|
199
|
+
declare function getSandboxApi(sandboxId: string, options: ApiClientOptions): Promise<ApiResponse<GetSandboxResponse>>;
|
|
200
|
+
/**
|
|
201
|
+
* Update a sandbox via prompt
|
|
202
|
+
*/
|
|
203
|
+
declare function updateSandboxApi(sandboxId: string, request: Omit<UpdateSandboxRequest, "id" | "orgId">, options: ApiClientOptions): Promise<ApiResponse<UpdateSandboxResponse>>;
|
|
204
|
+
/**
|
|
205
|
+
* List sandboxes for the current user
|
|
206
|
+
*/
|
|
207
|
+
declare function listSandboxesApi(options: ApiClientOptions & {
|
|
208
|
+
limit?: number;
|
|
209
|
+
}): Promise<ApiResponse<ListSandboxesResponse>>;
|
|
210
|
+
/**
|
|
211
|
+
* Delete a sandbox
|
|
212
|
+
*/
|
|
213
|
+
declare function deleteSandboxApi(sandboxId: string, options: ApiClientOptions): Promise<ApiResponse<DeleteSandboxResponse>>;
|
|
214
|
+
interface SchedulerTask {
|
|
215
|
+
id: string;
|
|
216
|
+
orgId: string;
|
|
217
|
+
name?: string;
|
|
218
|
+
description?: string;
|
|
219
|
+
subject: string;
|
|
220
|
+
fields?: Record<string, unknown>;
|
|
221
|
+
status: "scheduled" | "running" | "in-progress" | "completed" | "failed" | "cancelled";
|
|
222
|
+
progress: number;
|
|
223
|
+
runAt: number;
|
|
224
|
+
delay?: {
|
|
225
|
+
amount?: number;
|
|
226
|
+
unit?: string;
|
|
227
|
+
};
|
|
228
|
+
recurring?: boolean;
|
|
229
|
+
cronExpr?: string;
|
|
230
|
+
maxRetries?: number;
|
|
231
|
+
retryCount?: number;
|
|
232
|
+
lastError?: string;
|
|
233
|
+
metadata?: Record<string, unknown>;
|
|
234
|
+
createdAt: string;
|
|
235
|
+
updatedAt: string;
|
|
236
|
+
completedAt?: string;
|
|
237
|
+
createdBy?: string;
|
|
238
|
+
updatedBy?: string;
|
|
239
|
+
}
|
|
240
|
+
interface SchedulerTaskResponse {
|
|
241
|
+
task?: SchedulerTask;
|
|
242
|
+
metadata: ResponseMetadata;
|
|
243
|
+
}
|
|
244
|
+
interface SchedulerTaskListResponse {
|
|
245
|
+
tasks: SchedulerTask[];
|
|
246
|
+
metadata: ResponseMetadata;
|
|
247
|
+
}
|
|
248
|
+
interface SchedulerSchedule {
|
|
249
|
+
id: string;
|
|
250
|
+
orgId: string;
|
|
251
|
+
userId: string;
|
|
252
|
+
userEmail: string;
|
|
253
|
+
name: string;
|
|
254
|
+
description?: string;
|
|
255
|
+
cronExpression: string;
|
|
256
|
+
timezone?: string;
|
|
257
|
+
status: "active" | "paused" | "failed" | "deleted";
|
|
258
|
+
action: {
|
|
259
|
+
type: string;
|
|
260
|
+
emailQuery?: string;
|
|
261
|
+
taskTemplate?: {
|
|
262
|
+
titleTemplate: string;
|
|
263
|
+
descriptionTemplate?: string;
|
|
264
|
+
type: string;
|
|
265
|
+
priority: string;
|
|
266
|
+
projectId: string;
|
|
267
|
+
assignedTo?: string;
|
|
268
|
+
};
|
|
269
|
+
};
|
|
270
|
+
lastRunAt?: string;
|
|
271
|
+
nextRunAt?: string;
|
|
272
|
+
runCount: number;
|
|
273
|
+
lastError?: string;
|
|
274
|
+
createdAt: string;
|
|
275
|
+
updatedAt: string;
|
|
276
|
+
}
|
|
277
|
+
interface SchedulerScheduleResponse {
|
|
278
|
+
schedule?: SchedulerSchedule;
|
|
279
|
+
metadata: ResponseMetadata;
|
|
280
|
+
}
|
|
281
|
+
interface SchedulerScheduleListResponse {
|
|
282
|
+
schedules: SchedulerSchedule[];
|
|
283
|
+
metadata: ResponseMetadata;
|
|
284
|
+
}
|
|
285
|
+
/**
|
|
286
|
+
* List scheduler tasks
|
|
287
|
+
*/
|
|
288
|
+
declare function listSchedulerTasksApi(options: ApiClientOptions & {
|
|
289
|
+
status?: string;
|
|
290
|
+
limit?: number;
|
|
291
|
+
offset?: number;
|
|
292
|
+
}): Promise<ApiResponse<SchedulerTaskListResponse>>;
|
|
293
|
+
/**
|
|
294
|
+
* Create a scheduler task
|
|
295
|
+
*/
|
|
296
|
+
declare function createSchedulerTaskApi(task: Partial<SchedulerTask>, options: ApiClientOptions): Promise<ApiResponse<SchedulerTaskResponse>>;
|
|
297
|
+
/**
|
|
298
|
+
* Get a scheduler task by ID
|
|
299
|
+
*/
|
|
300
|
+
declare function getSchedulerTaskApi(taskId: string, options: ApiClientOptions): Promise<ApiResponse<SchedulerTaskResponse>>;
|
|
301
|
+
/**
|
|
302
|
+
* Update a scheduler task
|
|
303
|
+
*/
|
|
304
|
+
declare function updateSchedulerTaskApi(taskId: string, task: Partial<SchedulerTask>, options: ApiClientOptions): Promise<ApiResponse<SchedulerTaskResponse>>;
|
|
305
|
+
/**
|
|
306
|
+
* Delete a scheduler task
|
|
307
|
+
*/
|
|
308
|
+
declare function deleteSchedulerTaskApi(taskId: string, options: ApiClientOptions): Promise<ApiResponse<{
|
|
309
|
+
success: boolean;
|
|
310
|
+
metadata: ResponseMetadata;
|
|
311
|
+
}>>;
|
|
312
|
+
/**
|
|
313
|
+
* Snooze a scheduler task
|
|
314
|
+
*/
|
|
315
|
+
declare function snoozeSchedulerTaskApi(taskId: string, delay: {
|
|
316
|
+
amount: number;
|
|
317
|
+
unit: string;
|
|
318
|
+
}, options: ApiClientOptions): Promise<ApiResponse<SchedulerTaskResponse>>;
|
|
319
|
+
/**
|
|
320
|
+
* Mark a scheduler task as complete
|
|
321
|
+
*/
|
|
322
|
+
declare function completeSchedulerTaskApi(taskId: string, options: ApiClientOptions): Promise<ApiResponse<SchedulerTaskResponse>>;
|
|
323
|
+
/**
|
|
324
|
+
* Start a scheduler task manually
|
|
325
|
+
*/
|
|
326
|
+
declare function startSchedulerTaskApi(taskId: string, options: ApiClientOptions): Promise<ApiResponse<SchedulerTaskResponse>>;
|
|
327
|
+
/**
|
|
328
|
+
* List schedules
|
|
329
|
+
*/
|
|
330
|
+
declare function listSchedulesApi(options: ApiClientOptions & {
|
|
331
|
+
status?: string;
|
|
332
|
+
limit?: number;
|
|
333
|
+
offset?: number;
|
|
334
|
+
}): Promise<ApiResponse<SchedulerScheduleListResponse>>;
|
|
335
|
+
/**
|
|
336
|
+
* Create a schedule
|
|
337
|
+
*/
|
|
338
|
+
declare function createScheduleApi(schedule: Partial<SchedulerSchedule>, options: ApiClientOptions): Promise<ApiResponse<SchedulerScheduleResponse>>;
|
|
339
|
+
/**
|
|
340
|
+
* Get a schedule by ID
|
|
341
|
+
*/
|
|
342
|
+
declare function getScheduleApi(scheduleId: string, options: ApiClientOptions): Promise<ApiResponse<SchedulerScheduleResponse>>;
|
|
343
|
+
/**
|
|
344
|
+
* Update a schedule
|
|
345
|
+
*/
|
|
346
|
+
declare function updateScheduleApi(scheduleId: string, schedule: Partial<SchedulerSchedule>, options: ApiClientOptions): Promise<ApiResponse<SchedulerScheduleResponse>>;
|
|
347
|
+
/**
|
|
348
|
+
* Delete a schedule
|
|
349
|
+
*/
|
|
350
|
+
declare function deleteScheduleApi(scheduleId: string, options: ApiClientOptions): Promise<ApiResponse<{
|
|
351
|
+
success: boolean;
|
|
352
|
+
metadata: ResponseMetadata;
|
|
353
|
+
}>>;
|
|
354
|
+
/**
|
|
355
|
+
* Pause a schedule
|
|
356
|
+
*/
|
|
357
|
+
declare function pauseScheduleApi(scheduleId: string, options: ApiClientOptions): Promise<ApiResponse<SchedulerScheduleResponse>>;
|
|
358
|
+
/**
|
|
359
|
+
* Resume a paused schedule
|
|
360
|
+
*/
|
|
361
|
+
declare function resumeScheduleApi(scheduleId: string, options: ApiClientOptions): Promise<ApiResponse<SchedulerScheduleResponse>>;
|
|
362
|
+
/**
|
|
363
|
+
* Run a schedule immediately
|
|
364
|
+
*/
|
|
365
|
+
declare function runScheduleApi(scheduleId: string, options: ApiClientOptions): Promise<ApiResponse<SchedulerScheduleResponse>>;
|
|
366
|
+
|
|
367
|
+
export { Agent, AgentJob, AgentJobResponse, AgentJobsListResponse, AgentWidget, type AnalyticsDataResponse, ConnectIntegrationResponse, CreateSandboxRequest, CreateSandboxResponse, type DateFilter, DeleteSandboxResponse, DisconnectIntegrationResponse, GetSandboxResponse, GetToolDefinitionsByIDsResponse, GetUserIntegrationResponse, IntegrationCallbackResponse, IntegrationProviderTS, IntegrationTypeTS, ListSandboxesResponse, ListUserIntegrationsResponse, type ProvisionAgentsResponse, RefreshIntegrationResponse, ResolveSkillConfigResponse, RunEmailTriageResponse, type SchedulerSchedule, type SchedulerScheduleListResponse, type SchedulerScheduleResponse, type SchedulerTask, type SchedulerTaskListResponse, type SchedulerTaskResponse, Skill, type SkillCategoriesResponse, SkillUserConfigListResponse, SkillUserConfigResponse, SubAgent, ToolDefinition, ToolDefinitionResponse, ToolDefinitionsListResponse, UpdateSandboxRequest, UpdateSandboxResponse, UpdateTriageEnabledResponse, completeSchedulerTaskApi, connectIntegrationApi, createAgentApi, createAgentJobApi, createSandboxApi, createScheduleApi, createSchedulerTaskApi, createSkillApi, createSubAgentApi, createToolDefinitionApi, createWidgetApi, deleteAgentApi, deleteAgentJobApi, deleteSandboxApi, deleteScheduleApi, deleteSchedulerTaskApi, deleteSkillApi, deleteSkillUserConfigApi, deleteSubAgentApi, deleteToolDefinitionApi, deleteWidgetApi, disconnectIntegrationApi, getAgentApi, getAgentByNameApi, getAgentCSATAnalyticsApi, getAgentChatsAnalyticsApi, getAgentJobApi, getAgentListAnalyticsApi, getDefaultAgentApi, getDefaultWidgetApi, getIntegrationApi, getSandboxApi, getScheduleApi, getSchedulerTaskApi, getSkillApi, getSkillCategoriesApi, getSkillUserConfigApi, getSkillsByIdsApi, getSubAgentApi, getTaskOutcomesApi, getToolDefinitionApi, getToolDefinitionsByIdsApi, getWidgetApi, getWidgetByWidgetIdApi, integrationCallbackApi, listAgentJobsApi, listAgentsApi, listAgentsSummaryApi, listIntegrationsApi, listSandboxesApi, listSchedulerTasksApi, listSchedulesApi, listSkillUserConfigsApi, listSkillsApi, listSubAgentsApi, listToolDefinitionsApi, listWidgetsApi, pauseAgentJobApi, pauseScheduleApi, provisionAgentsApi, refreshIntegrationApi, resolveSkillConfigApi, resumeAgentJobApi, resumeScheduleApi, runEmailTriageApi, runScheduleApi, searchSkillsApi, setDefaultWidgetApi, snoozeSchedulerTaskApi, startSchedulerTaskApi, updateAgentApi, updateAgentJobApi, updateIntegrationTriageApi, updateSandboxApi, updateScheduleApi, updateSchedulerTaskApi, updateSkillApi, updateSkillOrgConfigApi, updateSkillUserConfigApi, updateSubAgentApi, updateToolDefinitionApi, updateWidgetApi };
|
package/dist/api/index.d.ts
CHANGED
|
@@ -2,8 +2,8 @@ import { ApiClientOptions, ApiResponse } from '@elqnt/api-client';
|
|
|
2
2
|
import { ResponseMetadata } from '@elqnt/types';
|
|
3
3
|
import { A as Agent, ai as AgentResponse, Z as AgentJob, a4 as AgentJobResponse, dk as Skill, dv as SkillResponse, dO as SubAgent, dP as SubAgentResponse, e9 as ToolDefinition, ea as ToolDefinitionResponse, aY as AgentWidget, aZ as AgentWidgetResponse, dB as SkillUserConfigResponse, bZ as GetSkillsByIDsResponse, c3 as GetToolDefinitionsByIDsResponse, aa as AgentJobsListResponse, cC as ListAgentsResponse, cE as ListAgentsSummaryResponse, dz as SkillUserConfigListResponse, dJ as SkillsListResponse, dX as SubAgentsListResponse, ei as ToolDefinitionsListResponse, cA as ListAgentWidgetsResponse, dd as ResolveSkillConfigResponse } from '../agent-models-C36pvpUb.js';
|
|
4
4
|
export { aF as AgentSummary, dw as SkillUserConfig } from '../agent-models-C36pvpUb.js';
|
|
5
|
-
import {
|
|
6
|
-
export { aW as UserIntegration } from '../
|
|
5
|
+
import { ap as IntegrationProviderTS, aA as IntegrationTypeTS, e as ConnectIntegrationResponse, h as CreateSandboxRequest, i as CreateSandboxResponse, m as DeleteSandboxResponse, r as DisconnectIntegrationResponse, R as GetUserIntegrationResponse, O as GetSandboxResponse, ai as IntegrationCallbackResponse, aL as ListUserIntegrationsResponse, aJ as ListSandboxesResponse, aT as RefreshIntegrationResponse, aV as RunEmailTriageResponse, b9 as UpdateTriageEnabledResponse, b5 as UpdateSandboxRequest, b6 as UpdateSandboxResponse } from '../sandbox-BHeWPjLU.js';
|
|
6
|
+
export { aW as Sandbox, ba as UserIntegration } from '../sandbox-BHeWPjLU.js';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* Agents API functions
|
|
@@ -189,4 +189,179 @@ declare function updateIntegrationTriageApi(params: {
|
|
|
189
189
|
}, options: ApiClientOptions): Promise<ApiResponse<UpdateTriageEnabledResponse>>;
|
|
190
190
|
declare function runEmailTriageApi(options: ApiClientOptions): Promise<ApiResponse<RunEmailTriageResponse>>;
|
|
191
191
|
|
|
192
|
-
|
|
192
|
+
/**
|
|
193
|
+
* Create a new sandbox from a prompt
|
|
194
|
+
*/
|
|
195
|
+
declare function createSandboxApi(request: Omit<CreateSandboxRequest, "orgId">, options: ApiClientOptions): Promise<ApiResponse<CreateSandboxResponse>>;
|
|
196
|
+
/**
|
|
197
|
+
* Get a sandbox by ID
|
|
198
|
+
*/
|
|
199
|
+
declare function getSandboxApi(sandboxId: string, options: ApiClientOptions): Promise<ApiResponse<GetSandboxResponse>>;
|
|
200
|
+
/**
|
|
201
|
+
* Update a sandbox via prompt
|
|
202
|
+
*/
|
|
203
|
+
declare function updateSandboxApi(sandboxId: string, request: Omit<UpdateSandboxRequest, "id" | "orgId">, options: ApiClientOptions): Promise<ApiResponse<UpdateSandboxResponse>>;
|
|
204
|
+
/**
|
|
205
|
+
* List sandboxes for the current user
|
|
206
|
+
*/
|
|
207
|
+
declare function listSandboxesApi(options: ApiClientOptions & {
|
|
208
|
+
limit?: number;
|
|
209
|
+
}): Promise<ApiResponse<ListSandboxesResponse>>;
|
|
210
|
+
/**
|
|
211
|
+
* Delete a sandbox
|
|
212
|
+
*/
|
|
213
|
+
declare function deleteSandboxApi(sandboxId: string, options: ApiClientOptions): Promise<ApiResponse<DeleteSandboxResponse>>;
|
|
214
|
+
interface SchedulerTask {
|
|
215
|
+
id: string;
|
|
216
|
+
orgId: string;
|
|
217
|
+
name?: string;
|
|
218
|
+
description?: string;
|
|
219
|
+
subject: string;
|
|
220
|
+
fields?: Record<string, unknown>;
|
|
221
|
+
status: "scheduled" | "running" | "in-progress" | "completed" | "failed" | "cancelled";
|
|
222
|
+
progress: number;
|
|
223
|
+
runAt: number;
|
|
224
|
+
delay?: {
|
|
225
|
+
amount?: number;
|
|
226
|
+
unit?: string;
|
|
227
|
+
};
|
|
228
|
+
recurring?: boolean;
|
|
229
|
+
cronExpr?: string;
|
|
230
|
+
maxRetries?: number;
|
|
231
|
+
retryCount?: number;
|
|
232
|
+
lastError?: string;
|
|
233
|
+
metadata?: Record<string, unknown>;
|
|
234
|
+
createdAt: string;
|
|
235
|
+
updatedAt: string;
|
|
236
|
+
completedAt?: string;
|
|
237
|
+
createdBy?: string;
|
|
238
|
+
updatedBy?: string;
|
|
239
|
+
}
|
|
240
|
+
interface SchedulerTaskResponse {
|
|
241
|
+
task?: SchedulerTask;
|
|
242
|
+
metadata: ResponseMetadata;
|
|
243
|
+
}
|
|
244
|
+
interface SchedulerTaskListResponse {
|
|
245
|
+
tasks: SchedulerTask[];
|
|
246
|
+
metadata: ResponseMetadata;
|
|
247
|
+
}
|
|
248
|
+
interface SchedulerSchedule {
|
|
249
|
+
id: string;
|
|
250
|
+
orgId: string;
|
|
251
|
+
userId: string;
|
|
252
|
+
userEmail: string;
|
|
253
|
+
name: string;
|
|
254
|
+
description?: string;
|
|
255
|
+
cronExpression: string;
|
|
256
|
+
timezone?: string;
|
|
257
|
+
status: "active" | "paused" | "failed" | "deleted";
|
|
258
|
+
action: {
|
|
259
|
+
type: string;
|
|
260
|
+
emailQuery?: string;
|
|
261
|
+
taskTemplate?: {
|
|
262
|
+
titleTemplate: string;
|
|
263
|
+
descriptionTemplate?: string;
|
|
264
|
+
type: string;
|
|
265
|
+
priority: string;
|
|
266
|
+
projectId: string;
|
|
267
|
+
assignedTo?: string;
|
|
268
|
+
};
|
|
269
|
+
};
|
|
270
|
+
lastRunAt?: string;
|
|
271
|
+
nextRunAt?: string;
|
|
272
|
+
runCount: number;
|
|
273
|
+
lastError?: string;
|
|
274
|
+
createdAt: string;
|
|
275
|
+
updatedAt: string;
|
|
276
|
+
}
|
|
277
|
+
interface SchedulerScheduleResponse {
|
|
278
|
+
schedule?: SchedulerSchedule;
|
|
279
|
+
metadata: ResponseMetadata;
|
|
280
|
+
}
|
|
281
|
+
interface SchedulerScheduleListResponse {
|
|
282
|
+
schedules: SchedulerSchedule[];
|
|
283
|
+
metadata: ResponseMetadata;
|
|
284
|
+
}
|
|
285
|
+
/**
|
|
286
|
+
* List scheduler tasks
|
|
287
|
+
*/
|
|
288
|
+
declare function listSchedulerTasksApi(options: ApiClientOptions & {
|
|
289
|
+
status?: string;
|
|
290
|
+
limit?: number;
|
|
291
|
+
offset?: number;
|
|
292
|
+
}): Promise<ApiResponse<SchedulerTaskListResponse>>;
|
|
293
|
+
/**
|
|
294
|
+
* Create a scheduler task
|
|
295
|
+
*/
|
|
296
|
+
declare function createSchedulerTaskApi(task: Partial<SchedulerTask>, options: ApiClientOptions): Promise<ApiResponse<SchedulerTaskResponse>>;
|
|
297
|
+
/**
|
|
298
|
+
* Get a scheduler task by ID
|
|
299
|
+
*/
|
|
300
|
+
declare function getSchedulerTaskApi(taskId: string, options: ApiClientOptions): Promise<ApiResponse<SchedulerTaskResponse>>;
|
|
301
|
+
/**
|
|
302
|
+
* Update a scheduler task
|
|
303
|
+
*/
|
|
304
|
+
declare function updateSchedulerTaskApi(taskId: string, task: Partial<SchedulerTask>, options: ApiClientOptions): Promise<ApiResponse<SchedulerTaskResponse>>;
|
|
305
|
+
/**
|
|
306
|
+
* Delete a scheduler task
|
|
307
|
+
*/
|
|
308
|
+
declare function deleteSchedulerTaskApi(taskId: string, options: ApiClientOptions): Promise<ApiResponse<{
|
|
309
|
+
success: boolean;
|
|
310
|
+
metadata: ResponseMetadata;
|
|
311
|
+
}>>;
|
|
312
|
+
/**
|
|
313
|
+
* Snooze a scheduler task
|
|
314
|
+
*/
|
|
315
|
+
declare function snoozeSchedulerTaskApi(taskId: string, delay: {
|
|
316
|
+
amount: number;
|
|
317
|
+
unit: string;
|
|
318
|
+
}, options: ApiClientOptions): Promise<ApiResponse<SchedulerTaskResponse>>;
|
|
319
|
+
/**
|
|
320
|
+
* Mark a scheduler task as complete
|
|
321
|
+
*/
|
|
322
|
+
declare function completeSchedulerTaskApi(taskId: string, options: ApiClientOptions): Promise<ApiResponse<SchedulerTaskResponse>>;
|
|
323
|
+
/**
|
|
324
|
+
* Start a scheduler task manually
|
|
325
|
+
*/
|
|
326
|
+
declare function startSchedulerTaskApi(taskId: string, options: ApiClientOptions): Promise<ApiResponse<SchedulerTaskResponse>>;
|
|
327
|
+
/**
|
|
328
|
+
* List schedules
|
|
329
|
+
*/
|
|
330
|
+
declare function listSchedulesApi(options: ApiClientOptions & {
|
|
331
|
+
status?: string;
|
|
332
|
+
limit?: number;
|
|
333
|
+
offset?: number;
|
|
334
|
+
}): Promise<ApiResponse<SchedulerScheduleListResponse>>;
|
|
335
|
+
/**
|
|
336
|
+
* Create a schedule
|
|
337
|
+
*/
|
|
338
|
+
declare function createScheduleApi(schedule: Partial<SchedulerSchedule>, options: ApiClientOptions): Promise<ApiResponse<SchedulerScheduleResponse>>;
|
|
339
|
+
/**
|
|
340
|
+
* Get a schedule by ID
|
|
341
|
+
*/
|
|
342
|
+
declare function getScheduleApi(scheduleId: string, options: ApiClientOptions): Promise<ApiResponse<SchedulerScheduleResponse>>;
|
|
343
|
+
/**
|
|
344
|
+
* Update a schedule
|
|
345
|
+
*/
|
|
346
|
+
declare function updateScheduleApi(scheduleId: string, schedule: Partial<SchedulerSchedule>, options: ApiClientOptions): Promise<ApiResponse<SchedulerScheduleResponse>>;
|
|
347
|
+
/**
|
|
348
|
+
* Delete a schedule
|
|
349
|
+
*/
|
|
350
|
+
declare function deleteScheduleApi(scheduleId: string, options: ApiClientOptions): Promise<ApiResponse<{
|
|
351
|
+
success: boolean;
|
|
352
|
+
metadata: ResponseMetadata;
|
|
353
|
+
}>>;
|
|
354
|
+
/**
|
|
355
|
+
* Pause a schedule
|
|
356
|
+
*/
|
|
357
|
+
declare function pauseScheduleApi(scheduleId: string, options: ApiClientOptions): Promise<ApiResponse<SchedulerScheduleResponse>>;
|
|
358
|
+
/**
|
|
359
|
+
* Resume a paused schedule
|
|
360
|
+
*/
|
|
361
|
+
declare function resumeScheduleApi(scheduleId: string, options: ApiClientOptions): Promise<ApiResponse<SchedulerScheduleResponse>>;
|
|
362
|
+
/**
|
|
363
|
+
* Run a schedule immediately
|
|
364
|
+
*/
|
|
365
|
+
declare function runScheduleApi(scheduleId: string, options: ApiClientOptions): Promise<ApiResponse<SchedulerScheduleResponse>>;
|
|
366
|
+
|
|
367
|
+
export { Agent, AgentJob, AgentJobResponse, AgentJobsListResponse, AgentWidget, type AnalyticsDataResponse, ConnectIntegrationResponse, CreateSandboxRequest, CreateSandboxResponse, type DateFilter, DeleteSandboxResponse, DisconnectIntegrationResponse, GetSandboxResponse, GetToolDefinitionsByIDsResponse, GetUserIntegrationResponse, IntegrationCallbackResponse, IntegrationProviderTS, IntegrationTypeTS, ListSandboxesResponse, ListUserIntegrationsResponse, type ProvisionAgentsResponse, RefreshIntegrationResponse, ResolveSkillConfigResponse, RunEmailTriageResponse, type SchedulerSchedule, type SchedulerScheduleListResponse, type SchedulerScheduleResponse, type SchedulerTask, type SchedulerTaskListResponse, type SchedulerTaskResponse, Skill, type SkillCategoriesResponse, SkillUserConfigListResponse, SkillUserConfigResponse, SubAgent, ToolDefinition, ToolDefinitionResponse, ToolDefinitionsListResponse, UpdateSandboxRequest, UpdateSandboxResponse, UpdateTriageEnabledResponse, completeSchedulerTaskApi, connectIntegrationApi, createAgentApi, createAgentJobApi, createSandboxApi, createScheduleApi, createSchedulerTaskApi, createSkillApi, createSubAgentApi, createToolDefinitionApi, createWidgetApi, deleteAgentApi, deleteAgentJobApi, deleteSandboxApi, deleteScheduleApi, deleteSchedulerTaskApi, deleteSkillApi, deleteSkillUserConfigApi, deleteSubAgentApi, deleteToolDefinitionApi, deleteWidgetApi, disconnectIntegrationApi, getAgentApi, getAgentByNameApi, getAgentCSATAnalyticsApi, getAgentChatsAnalyticsApi, getAgentJobApi, getAgentListAnalyticsApi, getDefaultAgentApi, getDefaultWidgetApi, getIntegrationApi, getSandboxApi, getScheduleApi, getSchedulerTaskApi, getSkillApi, getSkillCategoriesApi, getSkillUserConfigApi, getSkillsByIdsApi, getSubAgentApi, getTaskOutcomesApi, getToolDefinitionApi, getToolDefinitionsByIdsApi, getWidgetApi, getWidgetByWidgetIdApi, integrationCallbackApi, listAgentJobsApi, listAgentsApi, listAgentsSummaryApi, listIntegrationsApi, listSandboxesApi, listSchedulerTasksApi, listSchedulesApi, listSkillUserConfigsApi, listSkillsApi, listSubAgentsApi, listToolDefinitionsApi, listWidgetsApi, pauseAgentJobApi, pauseScheduleApi, provisionAgentsApi, refreshIntegrationApi, resolveSkillConfigApi, resumeAgentJobApi, resumeScheduleApi, runEmailTriageApi, runScheduleApi, searchSkillsApi, setDefaultWidgetApi, snoozeSchedulerTaskApi, startSchedulerTaskApi, updateAgentApi, updateAgentJobApi, updateIntegrationTriageApi, updateSandboxApi, updateScheduleApi, updateSchedulerTaskApi, updateSkillApi, updateSkillOrgConfigApi, updateSkillUserConfigApi, updateSubAgentApi, updateToolDefinitionApi, updateWidgetApi };
|
package/dist/api/index.js
CHANGED
|
@@ -61,7 +61,6 @@
|
|
|
61
61
|
|
|
62
62
|
|
|
63
63
|
|
|
64
|
-
var _chunkRAA5NKA7js = require('../chunk-RAA5NKA7.js');
|
|
65
64
|
|
|
66
65
|
|
|
67
66
|
|
|
@@ -83,6 +82,7 @@ var _chunkRAA5NKA7js = require('../chunk-RAA5NKA7.js');
|
|
|
83
82
|
|
|
84
83
|
|
|
85
84
|
|
|
85
|
+
var _chunkIUKM3T2Sjs = require('../chunk-IUKM3T2S.js');
|
|
86
86
|
|
|
87
87
|
|
|
88
88
|
|
|
@@ -124,5 +124,47 @@ var _chunkRAA5NKA7js = require('../chunk-RAA5NKA7.js');
|
|
|
124
124
|
|
|
125
125
|
|
|
126
126
|
|
|
127
|
-
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
|
|
159
|
+
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
|
|
169
|
+
exports.completeSchedulerTaskApi = _chunkIUKM3T2Sjs.completeSchedulerTaskApi; exports.connectIntegrationApi = _chunkIUKM3T2Sjs.connectIntegrationApi; exports.createAgentApi = _chunkIUKM3T2Sjs.createAgentApi; exports.createAgentJobApi = _chunkIUKM3T2Sjs.createAgentJobApi; exports.createSandboxApi = _chunkIUKM3T2Sjs.createSandboxApi; exports.createScheduleApi = _chunkIUKM3T2Sjs.createScheduleApi; exports.createSchedulerTaskApi = _chunkIUKM3T2Sjs.createSchedulerTaskApi; exports.createSkillApi = _chunkIUKM3T2Sjs.createSkillApi; exports.createSubAgentApi = _chunkIUKM3T2Sjs.createSubAgentApi; exports.createToolDefinitionApi = _chunkIUKM3T2Sjs.createToolDefinitionApi; exports.createWidgetApi = _chunkIUKM3T2Sjs.createWidgetApi; exports.deleteAgentApi = _chunkIUKM3T2Sjs.deleteAgentApi; exports.deleteAgentJobApi = _chunkIUKM3T2Sjs.deleteAgentJobApi; exports.deleteSandboxApi = _chunkIUKM3T2Sjs.deleteSandboxApi; exports.deleteScheduleApi = _chunkIUKM3T2Sjs.deleteScheduleApi; exports.deleteSchedulerTaskApi = _chunkIUKM3T2Sjs.deleteSchedulerTaskApi; exports.deleteSkillApi = _chunkIUKM3T2Sjs.deleteSkillApi; exports.deleteSkillUserConfigApi = _chunkIUKM3T2Sjs.deleteSkillUserConfigApi; exports.deleteSubAgentApi = _chunkIUKM3T2Sjs.deleteSubAgentApi; exports.deleteToolDefinitionApi = _chunkIUKM3T2Sjs.deleteToolDefinitionApi; exports.deleteWidgetApi = _chunkIUKM3T2Sjs.deleteWidgetApi; exports.disconnectIntegrationApi = _chunkIUKM3T2Sjs.disconnectIntegrationApi; exports.getAgentApi = _chunkIUKM3T2Sjs.getAgentApi; exports.getAgentByNameApi = _chunkIUKM3T2Sjs.getAgentByNameApi; exports.getAgentCSATAnalyticsApi = _chunkIUKM3T2Sjs.getAgentCSATAnalyticsApi; exports.getAgentChatsAnalyticsApi = _chunkIUKM3T2Sjs.getAgentChatsAnalyticsApi; exports.getAgentJobApi = _chunkIUKM3T2Sjs.getAgentJobApi; exports.getAgentListAnalyticsApi = _chunkIUKM3T2Sjs.getAgentListAnalyticsApi; exports.getDefaultAgentApi = _chunkIUKM3T2Sjs.getDefaultAgentApi; exports.getDefaultWidgetApi = _chunkIUKM3T2Sjs.getDefaultWidgetApi; exports.getIntegrationApi = _chunkIUKM3T2Sjs.getIntegrationApi; exports.getSandboxApi = _chunkIUKM3T2Sjs.getSandboxApi; exports.getScheduleApi = _chunkIUKM3T2Sjs.getScheduleApi; exports.getSchedulerTaskApi = _chunkIUKM3T2Sjs.getSchedulerTaskApi; exports.getSkillApi = _chunkIUKM3T2Sjs.getSkillApi; exports.getSkillCategoriesApi = _chunkIUKM3T2Sjs.getSkillCategoriesApi; exports.getSkillUserConfigApi = _chunkIUKM3T2Sjs.getSkillUserConfigApi; exports.getSkillsByIdsApi = _chunkIUKM3T2Sjs.getSkillsByIdsApi; exports.getSubAgentApi = _chunkIUKM3T2Sjs.getSubAgentApi; exports.getTaskOutcomesApi = _chunkIUKM3T2Sjs.getTaskOutcomesApi; exports.getToolDefinitionApi = _chunkIUKM3T2Sjs.getToolDefinitionApi; exports.getToolDefinitionsByIdsApi = _chunkIUKM3T2Sjs.getToolDefinitionsByIdsApi; exports.getWidgetApi = _chunkIUKM3T2Sjs.getWidgetApi; exports.getWidgetByWidgetIdApi = _chunkIUKM3T2Sjs.getWidgetByWidgetIdApi; exports.integrationCallbackApi = _chunkIUKM3T2Sjs.integrationCallbackApi; exports.listAgentJobsApi = _chunkIUKM3T2Sjs.listAgentJobsApi; exports.listAgentsApi = _chunkIUKM3T2Sjs.listAgentsApi; exports.listAgentsSummaryApi = _chunkIUKM3T2Sjs.listAgentsSummaryApi; exports.listIntegrationsApi = _chunkIUKM3T2Sjs.listIntegrationsApi; exports.listSandboxesApi = _chunkIUKM3T2Sjs.listSandboxesApi; exports.listSchedulerTasksApi = _chunkIUKM3T2Sjs.listSchedulerTasksApi; exports.listSchedulesApi = _chunkIUKM3T2Sjs.listSchedulesApi; exports.listSkillUserConfigsApi = _chunkIUKM3T2Sjs.listSkillUserConfigsApi; exports.listSkillsApi = _chunkIUKM3T2Sjs.listSkillsApi; exports.listSubAgentsApi = _chunkIUKM3T2Sjs.listSubAgentsApi; exports.listToolDefinitionsApi = _chunkIUKM3T2Sjs.listToolDefinitionsApi; exports.listWidgetsApi = _chunkIUKM3T2Sjs.listWidgetsApi; exports.pauseAgentJobApi = _chunkIUKM3T2Sjs.pauseAgentJobApi; exports.pauseScheduleApi = _chunkIUKM3T2Sjs.pauseScheduleApi; exports.provisionAgentsApi = _chunkIUKM3T2Sjs.provisionAgentsApi; exports.refreshIntegrationApi = _chunkIUKM3T2Sjs.refreshIntegrationApi; exports.resolveSkillConfigApi = _chunkIUKM3T2Sjs.resolveSkillConfigApi; exports.resumeAgentJobApi = _chunkIUKM3T2Sjs.resumeAgentJobApi; exports.resumeScheduleApi = _chunkIUKM3T2Sjs.resumeScheduleApi; exports.runEmailTriageApi = _chunkIUKM3T2Sjs.runEmailTriageApi; exports.runScheduleApi = _chunkIUKM3T2Sjs.runScheduleApi; exports.searchSkillsApi = _chunkIUKM3T2Sjs.searchSkillsApi; exports.setDefaultWidgetApi = _chunkIUKM3T2Sjs.setDefaultWidgetApi; exports.snoozeSchedulerTaskApi = _chunkIUKM3T2Sjs.snoozeSchedulerTaskApi; exports.startSchedulerTaskApi = _chunkIUKM3T2Sjs.startSchedulerTaskApi; exports.updateAgentApi = _chunkIUKM3T2Sjs.updateAgentApi; exports.updateAgentJobApi = _chunkIUKM3T2Sjs.updateAgentJobApi; exports.updateIntegrationTriageApi = _chunkIUKM3T2Sjs.updateIntegrationTriageApi; exports.updateSandboxApi = _chunkIUKM3T2Sjs.updateSandboxApi; exports.updateScheduleApi = _chunkIUKM3T2Sjs.updateScheduleApi; exports.updateSchedulerTaskApi = _chunkIUKM3T2Sjs.updateSchedulerTaskApi; exports.updateSkillApi = _chunkIUKM3T2Sjs.updateSkillApi; exports.updateSkillOrgConfigApi = _chunkIUKM3T2Sjs.updateSkillOrgConfigApi; exports.updateSkillUserConfigApi = _chunkIUKM3T2Sjs.updateSkillUserConfigApi; exports.updateSubAgentApi = _chunkIUKM3T2Sjs.updateSubAgentApi; exports.updateToolDefinitionApi = _chunkIUKM3T2Sjs.updateToolDefinitionApi; exports.updateWidgetApi = _chunkIUKM3T2Sjs.updateWidgetApi;
|
|
128
170
|
//# sourceMappingURL=index.js.map
|
package/dist/api/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/runner/work/eloquent/eloquent/packages/@elqnt/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;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,
|
|
1
|
+
{"version":3,"sources":["/home/runner/work/eloquent/eloquent/packages/@elqnt/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;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;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,q0KAAC","file":"/home/runner/work/eloquent/eloquent/packages/@elqnt/agents/dist/api/index.js"}
|
package/dist/api/index.mjs
CHANGED
|
@@ -1,14 +1,21 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
|
+
completeSchedulerTaskApi,
|
|
3
4
|
connectIntegrationApi,
|
|
4
5
|
createAgentApi,
|
|
5
6
|
createAgentJobApi,
|
|
7
|
+
createSandboxApi,
|
|
8
|
+
createScheduleApi,
|
|
9
|
+
createSchedulerTaskApi,
|
|
6
10
|
createSkillApi,
|
|
7
11
|
createSubAgentApi,
|
|
8
12
|
createToolDefinitionApi,
|
|
9
13
|
createWidgetApi,
|
|
10
14
|
deleteAgentApi,
|
|
11
15
|
deleteAgentJobApi,
|
|
16
|
+
deleteSandboxApi,
|
|
17
|
+
deleteScheduleApi,
|
|
18
|
+
deleteSchedulerTaskApi,
|
|
12
19
|
deleteSkillApi,
|
|
13
20
|
deleteSkillUserConfigApi,
|
|
14
21
|
deleteSubAgentApi,
|
|
@@ -24,6 +31,9 @@ import {
|
|
|
24
31
|
getDefaultAgentApi,
|
|
25
32
|
getDefaultWidgetApi,
|
|
26
33
|
getIntegrationApi,
|
|
34
|
+
getSandboxApi,
|
|
35
|
+
getScheduleApi,
|
|
36
|
+
getSchedulerTaskApi,
|
|
27
37
|
getSkillApi,
|
|
28
38
|
getSkillCategoriesApi,
|
|
29
39
|
getSkillUserConfigApi,
|
|
@@ -39,39 +49,57 @@ import {
|
|
|
39
49
|
listAgentsApi,
|
|
40
50
|
listAgentsSummaryApi,
|
|
41
51
|
listIntegrationsApi,
|
|
52
|
+
listSandboxesApi,
|
|
53
|
+
listSchedulerTasksApi,
|
|
54
|
+
listSchedulesApi,
|
|
42
55
|
listSkillUserConfigsApi,
|
|
43
56
|
listSkillsApi,
|
|
44
57
|
listSubAgentsApi,
|
|
45
58
|
listToolDefinitionsApi,
|
|
46
59
|
listWidgetsApi,
|
|
47
60
|
pauseAgentJobApi,
|
|
61
|
+
pauseScheduleApi,
|
|
48
62
|
provisionAgentsApi,
|
|
49
63
|
refreshIntegrationApi,
|
|
50
64
|
resolveSkillConfigApi,
|
|
51
65
|
resumeAgentJobApi,
|
|
66
|
+
resumeScheduleApi,
|
|
52
67
|
runEmailTriageApi,
|
|
68
|
+
runScheduleApi,
|
|
53
69
|
searchSkillsApi,
|
|
54
70
|
setDefaultWidgetApi,
|
|
71
|
+
snoozeSchedulerTaskApi,
|
|
72
|
+
startSchedulerTaskApi,
|
|
55
73
|
updateAgentApi,
|
|
56
74
|
updateAgentJobApi,
|
|
57
75
|
updateIntegrationTriageApi,
|
|
76
|
+
updateSandboxApi,
|
|
77
|
+
updateScheduleApi,
|
|
78
|
+
updateSchedulerTaskApi,
|
|
58
79
|
updateSkillApi,
|
|
59
80
|
updateSkillOrgConfigApi,
|
|
60
81
|
updateSkillUserConfigApi,
|
|
61
82
|
updateSubAgentApi,
|
|
62
83
|
updateToolDefinitionApi,
|
|
63
84
|
updateWidgetApi
|
|
64
|
-
} from "../chunk-
|
|
85
|
+
} from "../chunk-FR422IHO.mjs";
|
|
65
86
|
export {
|
|
87
|
+
completeSchedulerTaskApi,
|
|
66
88
|
connectIntegrationApi,
|
|
67
89
|
createAgentApi,
|
|
68
90
|
createAgentJobApi,
|
|
91
|
+
createSandboxApi,
|
|
92
|
+
createScheduleApi,
|
|
93
|
+
createSchedulerTaskApi,
|
|
69
94
|
createSkillApi,
|
|
70
95
|
createSubAgentApi,
|
|
71
96
|
createToolDefinitionApi,
|
|
72
97
|
createWidgetApi,
|
|
73
98
|
deleteAgentApi,
|
|
74
99
|
deleteAgentJobApi,
|
|
100
|
+
deleteSandboxApi,
|
|
101
|
+
deleteScheduleApi,
|
|
102
|
+
deleteSchedulerTaskApi,
|
|
75
103
|
deleteSkillApi,
|
|
76
104
|
deleteSkillUserConfigApi,
|
|
77
105
|
deleteSubAgentApi,
|
|
@@ -87,6 +115,9 @@ export {
|
|
|
87
115
|
getDefaultAgentApi,
|
|
88
116
|
getDefaultWidgetApi,
|
|
89
117
|
getIntegrationApi,
|
|
118
|
+
getSandboxApi,
|
|
119
|
+
getScheduleApi,
|
|
120
|
+
getSchedulerTaskApi,
|
|
90
121
|
getSkillApi,
|
|
91
122
|
getSkillCategoriesApi,
|
|
92
123
|
getSkillUserConfigApi,
|
|
@@ -102,22 +133,33 @@ export {
|
|
|
102
133
|
listAgentsApi,
|
|
103
134
|
listAgentsSummaryApi,
|
|
104
135
|
listIntegrationsApi,
|
|
136
|
+
listSandboxesApi,
|
|
137
|
+
listSchedulerTasksApi,
|
|
138
|
+
listSchedulesApi,
|
|
105
139
|
listSkillUserConfigsApi,
|
|
106
140
|
listSkillsApi,
|
|
107
141
|
listSubAgentsApi,
|
|
108
142
|
listToolDefinitionsApi,
|
|
109
143
|
listWidgetsApi,
|
|
110
144
|
pauseAgentJobApi,
|
|
145
|
+
pauseScheduleApi,
|
|
111
146
|
provisionAgentsApi,
|
|
112
147
|
refreshIntegrationApi,
|
|
113
148
|
resolveSkillConfigApi,
|
|
114
149
|
resumeAgentJobApi,
|
|
150
|
+
resumeScheduleApi,
|
|
115
151
|
runEmailTriageApi,
|
|
152
|
+
runScheduleApi,
|
|
116
153
|
searchSkillsApi,
|
|
117
154
|
setDefaultWidgetApi,
|
|
155
|
+
snoozeSchedulerTaskApi,
|
|
156
|
+
startSchedulerTaskApi,
|
|
118
157
|
updateAgentApi,
|
|
119
158
|
updateAgentJobApi,
|
|
120
159
|
updateIntegrationTriageApi,
|
|
160
|
+
updateSandboxApi,
|
|
161
|
+
updateScheduleApi,
|
|
162
|
+
updateSchedulerTaskApi,
|
|
121
163
|
updateSkillApi,
|
|
122
164
|
updateSkillOrgConfigApi,
|
|
123
165
|
updateSkillUserConfigApi,
|