@epilot/sdk 2.18.20 → 2.18.22
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/definitions/ai-agents.json +121 -27
- package/definitions/customer-portal-runtime.json +1 -1
- package/definitions/customer-portal.json +207 -17
- package/definitions/integration-toolkit.json +26 -6
- package/dist/ai-agents-ME5VRKMY.cjs +7 -0
- package/dist/ai-agents-MY4QE4CP.js +7 -0
- package/dist/{ai-agents.d-BnR7CAeJ.d.cts → ai-agents.d-B3TkP4mo.d.cts} +152 -52
- package/dist/{ai-agents.d-BnR7CAeJ.d.ts → ai-agents.d-B3TkP4mo.d.ts} +152 -52
- package/dist/apis/access-token.cjs +6 -6
- package/dist/apis/access-token.js +1 -1
- package/dist/apis/address-suggestions.cjs +6 -6
- package/dist/apis/address-suggestions.js +1 -1
- package/dist/apis/address.cjs +6 -6
- package/dist/apis/address.js +1 -1
- package/dist/apis/ai-agents.cjs +6 -6
- package/dist/apis/ai-agents.d.cts +2 -2
- package/dist/apis/ai-agents.d.ts +2 -2
- package/dist/apis/ai-agents.js +1 -1
- package/dist/apis/app.cjs +6 -6
- package/dist/apis/app.js +1 -1
- package/dist/apis/audit-logs.cjs +6 -6
- package/dist/apis/audit-logs.js +1 -1
- package/dist/apis/automation.cjs +6 -6
- package/dist/apis/automation.js +1 -1
- package/dist/apis/billing.cjs +6 -6
- package/dist/apis/billing.js +1 -1
- package/dist/apis/blueprint-manifest.cjs +6 -6
- package/dist/apis/blueprint-manifest.js +1 -1
- package/dist/apis/calendar.cjs +6 -6
- package/dist/apis/calendar.js +1 -1
- package/dist/apis/configuration-hub.cjs +6 -6
- package/dist/apis/configuration-hub.js +1 -1
- package/dist/apis/consent.cjs +6 -6
- package/dist/apis/consent.js +1 -1
- package/dist/apis/customer-portal.cjs +8 -8
- package/dist/apis/customer-portal.d.cts +2 -2
- package/dist/apis/customer-portal.d.ts +2 -2
- package/dist/apis/customer-portal.js +2 -2
- package/dist/apis/dashboard.cjs +6 -6
- package/dist/apis/dashboard.js +1 -1
- package/dist/apis/data-governance.cjs +6 -6
- package/dist/apis/data-governance.js +1 -1
- package/dist/apis/deduplication.cjs +6 -6
- package/dist/apis/deduplication.js +1 -1
- package/dist/apis/design.cjs +6 -6
- package/dist/apis/design.js +1 -1
- package/dist/apis/document.cjs +6 -6
- package/dist/apis/document.js +1 -1
- package/dist/apis/email-settings.cjs +6 -6
- package/dist/apis/email-settings.js +1 -1
- package/dist/apis/email-template.cjs +6 -6
- package/dist/apis/email-template.js +1 -1
- package/dist/apis/entity-mapping.cjs +6 -6
- package/dist/apis/entity-mapping.js +1 -1
- package/dist/apis/entity.cjs +6 -6
- package/dist/apis/entity.js +1 -1
- package/dist/apis/environments.cjs +6 -6
- package/dist/apis/environments.js +1 -1
- package/dist/apis/event-catalog.cjs +6 -6
- package/dist/apis/event-catalog.js +1 -1
- package/dist/apis/file.cjs +6 -6
- package/dist/apis/file.js +1 -1
- package/dist/apis/iban.cjs +6 -6
- package/dist/apis/iban.js +1 -1
- package/dist/apis/integration-toolkit.cjs +6 -6
- package/dist/apis/integration-toolkit.d.cts +2 -2
- package/dist/apis/integration-toolkit.d.ts +2 -2
- package/dist/apis/integration-toolkit.js +1 -1
- package/dist/apis/journey.cjs +6 -6
- package/dist/apis/journey.js +1 -1
- package/dist/apis/kanban.cjs +6 -6
- package/dist/apis/kanban.js +1 -1
- package/dist/apis/message.cjs +6 -6
- package/dist/apis/message.js +1 -1
- package/dist/apis/metering.cjs +6 -6
- package/dist/apis/metering.js +1 -1
- package/dist/apis/notes.cjs +6 -6
- package/dist/apis/notes.js +1 -1
- package/dist/apis/notification.cjs +6 -6
- package/dist/apis/notification.js +1 -1
- package/dist/apis/organization.cjs +6 -6
- package/dist/apis/organization.js +1 -1
- package/dist/apis/partner-directory.cjs +6 -6
- package/dist/apis/partner-directory.js +1 -1
- package/dist/apis/permissions.cjs +6 -6
- package/dist/apis/permissions.js +1 -1
- package/dist/apis/pricing-tier.cjs +6 -6
- package/dist/apis/pricing-tier.js +1 -1
- package/dist/apis/pricing.cjs +6 -6
- package/dist/apis/pricing.js +1 -1
- package/dist/apis/purpose.cjs +6 -6
- package/dist/apis/purpose.js +1 -1
- package/dist/apis/query.cjs +6 -6
- package/dist/apis/query.js +1 -1
- package/dist/apis/sandbox.cjs +6 -6
- package/dist/apis/sandbox.js +1 -1
- package/dist/apis/sharing.cjs +6 -6
- package/dist/apis/sharing.js +1 -1
- package/dist/apis/snapshot.cjs +6 -6
- package/dist/apis/snapshot.js +1 -1
- package/dist/apis/submission.cjs +6 -6
- package/dist/apis/submission.js +1 -1
- package/dist/apis/target.cjs +6 -6
- package/dist/apis/target.js +1 -1
- package/dist/apis/targeting.cjs +6 -6
- package/dist/apis/targeting.js +1 -1
- package/dist/apis/template-variables.cjs +6 -6
- package/dist/apis/template-variables.js +1 -1
- package/dist/apis/user.cjs +6 -6
- package/dist/apis/user.js +1 -1
- package/dist/apis/validation-rules.cjs +6 -6
- package/dist/apis/validation-rules.js +1 -1
- package/dist/apis/webhooks.cjs +6 -6
- package/dist/apis/webhooks.js +1 -1
- package/dist/apis/workflow-definition.cjs +6 -6
- package/dist/apis/workflow-definition.js +1 -1
- package/dist/apis/workflow.cjs +6 -6
- package/dist/apis/workflow.js +1 -1
- package/dist/{chunk-EPDH37RS.js → chunk-AWKA7GZQ.js} +1 -1
- package/dist/{chunk-YGOX7IZC.cjs → chunk-QAEAAKLA.cjs} +4 -4
- package/dist/{chunk-LKV3RKOP.cjs → chunk-QKEPXYEF.cjs} +1 -1
- package/dist/{chunk-JH7NETLC.js → chunk-S6BWLYUQ.js} +4 -4
- package/dist/customer-portal-JLUT56QQ.js +7 -0
- package/dist/customer-portal-NUYHT3HX.cjs +7 -0
- package/dist/{customer-portal-runtime-FZQLCEJQ.js → customer-portal-runtime-6CECA6UW.js} +1 -1
- package/dist/{customer-portal-runtime-7WW3YRWJ.cjs → customer-portal-runtime-QMONBHLN.cjs} +2 -2
- package/dist/{customer-portal.d-JVkJjm_e.d.cts → customer-portal.d-Ce8-UnSY.d.cts} +794 -42
- package/dist/{customer-portal.d-JVkJjm_e.d.ts → customer-portal.d-Ce8-UnSY.d.ts} +794 -42
- package/dist/index.cjs +10 -10
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +2 -2
- package/dist/integration-toolkit-LMRJVLJA.js +7 -0
- package/dist/integration-toolkit-YMVNGSQ5.cjs +7 -0
- package/dist/{integration-toolkit.d-CoMi10QU.d.ts → integration-toolkit.d-Dj-tULW0.d.cts} +26 -13
- package/dist/{integration-toolkit.d-CoMi10QU.d.cts → integration-toolkit.d-Dj-tULW0.d.ts} +26 -13
- package/docs/ai-agents.md +76 -19
- package/docs/customer-portal.md +209 -13
- package/docs/integration-toolkit.md +6 -5
- package/package.json +1 -1
- package/dist/ai-agents-3JK4UU2G.js +0 -7
- package/dist/ai-agents-XST3YUFA.cjs +0 -7
- package/dist/customer-portal-JDIXJD6C.cjs +0 -7
- package/dist/customer-portal-WIRQ7UCN.js +0 -7
- package/dist/integration-toolkit-GR4ZQAY5.cjs +0 -7
- package/dist/integration-toolkit-XGQNDLIZ.js +0 -7
|
@@ -113,6 +113,97 @@ declare namespace Components {
|
|
|
113
113
|
updated_at?: string; // date-time
|
|
114
114
|
created_by?: string;
|
|
115
115
|
}
|
|
116
|
+
/**
|
|
117
|
+
* Detail payload of the `agent-execution-status-update` event, published on
|
|
118
|
+
* the AI Agents event bus with source `ai-agents`.
|
|
119
|
+
*
|
|
120
|
+
* `execution_context` and `input` are present on every status, so a consumer
|
|
121
|
+
* can tell whether an execution is theirs, and what it belonged to, from the
|
|
122
|
+
* terminal event alone — without a secondary lookup.
|
|
123
|
+
*
|
|
124
|
+
*/
|
|
125
|
+
export interface AgentExecutionEvent {
|
|
126
|
+
/**
|
|
127
|
+
* The agent execution this event reports on
|
|
128
|
+
*/
|
|
129
|
+
executionId: string;
|
|
130
|
+
agentId: /**
|
|
131
|
+
* Agent identifier. Can be either:
|
|
132
|
+
* - System skill ID (prefixed): "skill:email-categorizer", "skill:email-labeler"
|
|
133
|
+
* - Custom agent UUID: "0336a235-9417-4dd8-894c-fe81285bba75"
|
|
134
|
+
*
|
|
135
|
+
* example:
|
|
136
|
+
* skill:email-categorizer
|
|
137
|
+
*/
|
|
138
|
+
AgentId;
|
|
139
|
+
orgId: string;
|
|
140
|
+
userId?: string;
|
|
141
|
+
execution_status: /**
|
|
142
|
+
* Lifecycle status carried on an agent execution event.
|
|
143
|
+
*
|
|
144
|
+
* Deliberately narrower than `ExecutionStatus`, which is the stored status of
|
|
145
|
+
* the execution row: `pending` and `running` both surface as `started`, and
|
|
146
|
+
* `cancelled` surfaces as `failed`. Consumers must not assume the two
|
|
147
|
+
* vocabularies are interchangeable.
|
|
148
|
+
*
|
|
149
|
+
*/
|
|
150
|
+
AgentExecutionEventStatus;
|
|
151
|
+
execution_context?: /**
|
|
152
|
+
* Where the execution was triggered from:
|
|
153
|
+
* - flows: Triggered from workflow automation
|
|
154
|
+
* - copilot: Triggered from copilot assistant
|
|
155
|
+
* - api: Direct API call
|
|
156
|
+
*
|
|
157
|
+
*/
|
|
158
|
+
ExecutionContext;
|
|
159
|
+
/**
|
|
160
|
+
* The execution input, as supplied by the caller of the execute endpoint
|
|
161
|
+
*/
|
|
162
|
+
input?: {
|
|
163
|
+
[name: string]: any;
|
|
164
|
+
};
|
|
165
|
+
/**
|
|
166
|
+
* Present on `completed` — the execution result
|
|
167
|
+
*/
|
|
168
|
+
output?: {
|
|
169
|
+
[name: string]: any;
|
|
170
|
+
};
|
|
171
|
+
/**
|
|
172
|
+
* Present on `failed`
|
|
173
|
+
*/
|
|
174
|
+
error?: {
|
|
175
|
+
message?: string;
|
|
176
|
+
code?: string;
|
|
177
|
+
stack?: string;
|
|
178
|
+
};
|
|
179
|
+
/**
|
|
180
|
+
* Wall-clock duration in milliseconds, present on `completed`
|
|
181
|
+
*/
|
|
182
|
+
duration?: number;
|
|
183
|
+
iterations?: number;
|
|
184
|
+
iteration?: number;
|
|
185
|
+
/**
|
|
186
|
+
* Present on `approval_required` — what is awaiting approval
|
|
187
|
+
*/
|
|
188
|
+
message?: string;
|
|
189
|
+
toolCalls?: {
|
|
190
|
+
name?: string;
|
|
191
|
+
args?: {
|
|
192
|
+
[name: string]: any;
|
|
193
|
+
};
|
|
194
|
+
}[];
|
|
195
|
+
timestamp?: string; // date-time
|
|
196
|
+
}
|
|
197
|
+
/**
|
|
198
|
+
* Lifecycle status carried on an agent execution event.
|
|
199
|
+
*
|
|
200
|
+
* Deliberately narrower than `ExecutionStatus`, which is the stored status of
|
|
201
|
+
* the execution row: `pending` and `running` both surface as `started`, and
|
|
202
|
+
* `cancelled` surfaces as `failed`. Consumers must not assume the two
|
|
203
|
+
* vocabularies are interchangeable.
|
|
204
|
+
*
|
|
205
|
+
*/
|
|
206
|
+
export type AgentExecutionEventStatus = "started" | "completed" | "failed" | "approval_required";
|
|
116
207
|
/**
|
|
117
208
|
* Agent identifier. Can be either:
|
|
118
209
|
* - System skill ID (prefixed): "skill:email-categorizer", "skill:email-labeler"
|
|
@@ -141,11 +232,6 @@ declare namespace Components {
|
|
|
141
232
|
* For batch approval - list of action IDs to reject. Actions not in approved_action_ids are implicitly rejected.
|
|
142
233
|
*/
|
|
143
234
|
rejected_action_ids?: string[];
|
|
144
|
-
/**
|
|
145
|
-
* For `partnering.proposeAssignment` approvals. `primary_only` (default) shares only the primary entity; `primary_and_relations` also shares every entity in the proposal's `related_entities` as a child of the primary. Ignored by other tools.
|
|
146
|
-
*
|
|
147
|
-
*/
|
|
148
|
-
share_scope?: "primary_only" | "primary_and_relations";
|
|
149
235
|
}
|
|
150
236
|
export interface ChatMessage {
|
|
151
237
|
role: "user" | "assistant" | "tool" | "system";
|
|
@@ -1391,7 +1477,7 @@ declare namespace Paths {
|
|
|
1391
1477
|
|
|
1392
1478
|
interface OperationMethods {
|
|
1393
1479
|
/**
|
|
1394
|
-
* listAgents -
|
|
1480
|
+
* listAgents - listAgents
|
|
1395
1481
|
*
|
|
1396
1482
|
* Lists agents from both system skills and custom agents.
|
|
1397
1483
|
* Use query parameters to filter by source, availability, or entity schema.
|
|
@@ -1403,7 +1489,7 @@ interface OperationMethods {
|
|
|
1403
1489
|
config?: AxiosRequestConfig
|
|
1404
1490
|
): OperationResponse<Paths.ListAgents.Responses.$200>
|
|
1405
1491
|
/**
|
|
1406
|
-
* createAgent -
|
|
1492
|
+
* createAgent - createAgent
|
|
1407
1493
|
*
|
|
1408
1494
|
* Creates a new custom agent. System skills cannot be created via this endpoint.
|
|
1409
1495
|
*/
|
|
@@ -1413,7 +1499,7 @@ interface OperationMethods {
|
|
|
1413
1499
|
config?: AxiosRequestConfig
|
|
1414
1500
|
): OperationResponse<Paths.CreateAgent.Responses.$201>
|
|
1415
1501
|
/**
|
|
1416
|
-
* getAgentById -
|
|
1502
|
+
* getAgentById - getAgentById
|
|
1417
1503
|
*
|
|
1418
1504
|
* Retrieves an agent by ID. Supports both:
|
|
1419
1505
|
* - System skill IDs (prefixed): "skill:email-categorizer"
|
|
@@ -1426,7 +1512,7 @@ interface OperationMethods {
|
|
|
1426
1512
|
config?: AxiosRequestConfig
|
|
1427
1513
|
): OperationResponse<Paths.GetAgentById.Responses.$200>
|
|
1428
1514
|
/**
|
|
1429
|
-
* updateAgentById -
|
|
1515
|
+
* updateAgentById - updateAgentById
|
|
1430
1516
|
*
|
|
1431
1517
|
* Updates a custom agent. System skills cannot be updated via this endpoint.
|
|
1432
1518
|
*/
|
|
@@ -1436,7 +1522,7 @@ interface OperationMethods {
|
|
|
1436
1522
|
config?: AxiosRequestConfig
|
|
1437
1523
|
): OperationResponse<Paths.UpdateAgentById.Responses.$200>
|
|
1438
1524
|
/**
|
|
1439
|
-
* deleteAgentById -
|
|
1525
|
+
* deleteAgentById - deleteAgentById
|
|
1440
1526
|
*
|
|
1441
1527
|
* Deletes a custom agent. System skills cannot be deleted via this endpoint.
|
|
1442
1528
|
*/
|
|
@@ -1446,7 +1532,7 @@ interface OperationMethods {
|
|
|
1446
1532
|
config?: AxiosRequestConfig
|
|
1447
1533
|
): OperationResponse<Paths.DeleteAgentById.Responses.$204>
|
|
1448
1534
|
/**
|
|
1449
|
-
* executeAgent -
|
|
1535
|
+
* executeAgent - executeAgent
|
|
1450
1536
|
*
|
|
1451
1537
|
* Executes an agent (system skill or custom agent).
|
|
1452
1538
|
* Supports both:
|
|
@@ -1460,7 +1546,7 @@ interface OperationMethods {
|
|
|
1460
1546
|
config?: AxiosRequestConfig
|
|
1461
1547
|
): OperationResponse<Paths.ExecuteAgent.Responses.$200>
|
|
1462
1548
|
/**
|
|
1463
|
-
* executeAgentStream -
|
|
1549
|
+
* executeAgentStream - executeAgentStream
|
|
1464
1550
|
*
|
|
1465
1551
|
* Executes an agent with real-time streaming of tokens and tool events.
|
|
1466
1552
|
* Returns Server-Sent Events (SSE) stream with token-by-token output,
|
|
@@ -1480,7 +1566,9 @@ interface OperationMethods {
|
|
|
1480
1566
|
config?: AxiosRequestConfig
|
|
1481
1567
|
): OperationResponse<Paths.ExecuteAgentStream.Responses.$200>
|
|
1482
1568
|
/**
|
|
1483
|
-
* listExecutions -
|
|
1569
|
+
* listExecutions - listExecutions
|
|
1570
|
+
*
|
|
1571
|
+
* List executions
|
|
1484
1572
|
*/
|
|
1485
1573
|
'listExecutions'(
|
|
1486
1574
|
parameters?: Parameters<Paths.ListExecutions.QueryParameters> | null,
|
|
@@ -1488,7 +1576,9 @@ interface OperationMethods {
|
|
|
1488
1576
|
config?: AxiosRequestConfig
|
|
1489
1577
|
): OperationResponse<Paths.ListExecutions.Responses.$200>
|
|
1490
1578
|
/**
|
|
1491
|
-
* getExecution -
|
|
1579
|
+
* getExecution - getExecution
|
|
1580
|
+
*
|
|
1581
|
+
* Get execution by ID
|
|
1492
1582
|
*/
|
|
1493
1583
|
'getExecution'(
|
|
1494
1584
|
parameters?: Parameters<Paths.GetExecution.PathParameters> | null,
|
|
@@ -1496,7 +1586,9 @@ interface OperationMethods {
|
|
|
1496
1586
|
config?: AxiosRequestConfig
|
|
1497
1587
|
): OperationResponse<Paths.GetExecution.Responses.$200>
|
|
1498
1588
|
/**
|
|
1499
|
-
* cancelExecution -
|
|
1589
|
+
* cancelExecution - cancelExecution
|
|
1590
|
+
*
|
|
1591
|
+
* Cancel execution
|
|
1500
1592
|
*/
|
|
1501
1593
|
'cancelExecution'(
|
|
1502
1594
|
parameters?: Parameters<Paths.CancelExecution.PathParameters> | null,
|
|
@@ -1504,7 +1596,7 @@ interface OperationMethods {
|
|
|
1504
1596
|
config?: AxiosRequestConfig
|
|
1505
1597
|
): OperationResponse<Paths.CancelExecution.Responses.$200>
|
|
1506
1598
|
/**
|
|
1507
|
-
* getExecutionTrace -
|
|
1599
|
+
* getExecutionTrace - getExecutionTrace
|
|
1508
1600
|
*
|
|
1509
1601
|
* Returns the step-by-step reasoning and tool calls for ReAct mode executions. Returns empty iterations array for direct mode executions.
|
|
1510
1602
|
*/
|
|
@@ -1515,26 +1607,26 @@ interface OperationMethods {
|
|
|
1515
1607
|
): OperationResponse<Paths.GetExecutionTrace.Responses.$200>
|
|
1516
1608
|
/**
|
|
1517
1609
|
* getExecutionFeedback - Get execution feedback
|
|
1518
|
-
*
|
|
1610
|
+
*
|
|
1519
1611
|
* Returns the authenticated user's feedback for an execution.
|
|
1520
1612
|
*/
|
|
1521
1613
|
'getExecutionFeedback'(
|
|
1522
1614
|
parameters?: Parameters<Paths.GetExecutionFeedback.PathParameters> | null,
|
|
1523
1615
|
data?: any,
|
|
1524
|
-
config?: AxiosRequestConfig
|
|
1616
|
+
config?: AxiosRequestConfig
|
|
1525
1617
|
): OperationResponse<Paths.GetExecutionFeedback.Responses.$200>
|
|
1526
1618
|
/**
|
|
1527
1619
|
* putExecutionFeedback - Submit execution feedback
|
|
1528
|
-
*
|
|
1620
|
+
*
|
|
1529
1621
|
* Upserts thumbs up/down feedback and mirrors it to the execution's Langfuse trace.
|
|
1530
1622
|
*/
|
|
1531
1623
|
'putExecutionFeedback'(
|
|
1532
1624
|
parameters?: Parameters<Paths.PutExecutionFeedback.PathParameters> | null,
|
|
1533
1625
|
data?: Paths.PutExecutionFeedback.RequestBody,
|
|
1534
|
-
config?: AxiosRequestConfig
|
|
1626
|
+
config?: AxiosRequestConfig
|
|
1535
1627
|
): OperationResponse<Paths.PutExecutionFeedback.Responses.$200>
|
|
1536
1628
|
/**
|
|
1537
|
-
* approveExecution -
|
|
1629
|
+
* approveExecution - approveExecution
|
|
1538
1630
|
*
|
|
1539
1631
|
* Approves a pending tool action when execution is in waiting_approval status
|
|
1540
1632
|
*/
|
|
@@ -1544,7 +1636,7 @@ interface OperationMethods {
|
|
|
1544
1636
|
config?: AxiosRequestConfig
|
|
1545
1637
|
): OperationResponse<Paths.ApproveExecution.Responses.$200>
|
|
1546
1638
|
/**
|
|
1547
|
-
* rejectExecution -
|
|
1639
|
+
* rejectExecution - rejectExecution
|
|
1548
1640
|
*
|
|
1549
1641
|
* Rejects a pending tool action when execution is in waiting_approval status
|
|
1550
1642
|
*/
|
|
@@ -1554,7 +1646,7 @@ interface OperationMethods {
|
|
|
1554
1646
|
config?: AxiosRequestConfig
|
|
1555
1647
|
): OperationResponse<Paths.RejectExecution.Responses.$200>
|
|
1556
1648
|
/**
|
|
1557
|
-
* streamExecution -
|
|
1649
|
+
* streamExecution - streamExecution
|
|
1558
1650
|
*
|
|
1559
1651
|
* Reconnects to an execution's event stream after approval. Replays missed events from event log and continues streaming if execution is still running.
|
|
1560
1652
|
*/
|
|
@@ -1564,7 +1656,7 @@ interface OperationMethods {
|
|
|
1564
1656
|
config?: AxiosRequestConfig
|
|
1565
1657
|
): OperationResponse<Paths.StreamExecution.Responses.$200>
|
|
1566
1658
|
/**
|
|
1567
|
-
* chat -
|
|
1659
|
+
* chat - chat
|
|
1568
1660
|
*
|
|
1569
1661
|
* Initiates a streaming chat session with an AI agent. Supports server-side conversation memory via conversationId or client-provided history via clientHistory.
|
|
1570
1662
|
*/
|
|
@@ -1574,7 +1666,7 @@ interface OperationMethods {
|
|
|
1574
1666
|
config?: AxiosRequestConfig
|
|
1575
1667
|
): OperationResponse<Paths.Chat.Responses.$200>
|
|
1576
1668
|
/**
|
|
1577
|
-
* listConversations -
|
|
1669
|
+
* listConversations - listConversations
|
|
1578
1670
|
*
|
|
1579
1671
|
* Lists conversations for the authenticated user, sorted by most recent.
|
|
1580
1672
|
*/
|
|
@@ -1584,7 +1676,7 @@ interface OperationMethods {
|
|
|
1584
1676
|
config?: AxiosRequestConfig
|
|
1585
1677
|
): OperationResponse<Paths.ListConversations.Responses.$200>
|
|
1586
1678
|
/**
|
|
1587
|
-
* getConversation -
|
|
1679
|
+
* getConversation - getConversation
|
|
1588
1680
|
*
|
|
1589
1681
|
* Retrieves a conversation and its message history.
|
|
1590
1682
|
*/
|
|
@@ -1594,7 +1686,7 @@ interface OperationMethods {
|
|
|
1594
1686
|
config?: AxiosRequestConfig
|
|
1595
1687
|
): OperationResponse<Paths.GetConversation.Responses.$200>
|
|
1596
1688
|
/**
|
|
1597
|
-
* deleteConversation -
|
|
1689
|
+
* deleteConversation - deleteConversation
|
|
1598
1690
|
*
|
|
1599
1691
|
* Deletes a conversation and all its messages.
|
|
1600
1692
|
*/
|
|
@@ -1604,7 +1696,7 @@ interface OperationMethods {
|
|
|
1604
1696
|
config?: AxiosRequestConfig
|
|
1605
1697
|
): OperationResponse<Paths.DeleteConversation.Responses.$204>
|
|
1606
1698
|
/**
|
|
1607
|
-
* submitConversationFeedback -
|
|
1699
|
+
* submitConversationFeedback - submitConversationFeedback
|
|
1608
1700
|
*
|
|
1609
1701
|
* Records a thumbs up/down (with optional comment) for the assistant turn identified by its Langfuse trace id. The rating is persisted on the message and mirrored to Langfuse as a trace score.
|
|
1610
1702
|
*
|
|
@@ -1619,7 +1711,7 @@ interface OperationMethods {
|
|
|
1619
1711
|
interface PathsDictionary {
|
|
1620
1712
|
['/v1/agents']: {
|
|
1621
1713
|
/**
|
|
1622
|
-
* createAgent -
|
|
1714
|
+
* createAgent - createAgent
|
|
1623
1715
|
*
|
|
1624
1716
|
* Creates a new custom agent. System skills cannot be created via this endpoint.
|
|
1625
1717
|
*/
|
|
@@ -1629,7 +1721,7 @@ interface PathsDictionary {
|
|
|
1629
1721
|
config?: AxiosRequestConfig
|
|
1630
1722
|
): OperationResponse<Paths.CreateAgent.Responses.$201>
|
|
1631
1723
|
/**
|
|
1632
|
-
* listAgents -
|
|
1724
|
+
* listAgents - listAgents
|
|
1633
1725
|
*
|
|
1634
1726
|
* Lists agents from both system skills and custom agents.
|
|
1635
1727
|
* Use query parameters to filter by source, availability, or entity schema.
|
|
@@ -1643,7 +1735,7 @@ interface PathsDictionary {
|
|
|
1643
1735
|
}
|
|
1644
1736
|
['/v1/agents/{agent_id}']: {
|
|
1645
1737
|
/**
|
|
1646
|
-
* getAgentById -
|
|
1738
|
+
* getAgentById - getAgentById
|
|
1647
1739
|
*
|
|
1648
1740
|
* Retrieves an agent by ID. Supports both:
|
|
1649
1741
|
* - System skill IDs (prefixed): "skill:email-categorizer"
|
|
@@ -1656,7 +1748,7 @@ interface PathsDictionary {
|
|
|
1656
1748
|
config?: AxiosRequestConfig
|
|
1657
1749
|
): OperationResponse<Paths.GetAgentById.Responses.$200>
|
|
1658
1750
|
/**
|
|
1659
|
-
* updateAgentById -
|
|
1751
|
+
* updateAgentById - updateAgentById
|
|
1660
1752
|
*
|
|
1661
1753
|
* Updates a custom agent. System skills cannot be updated via this endpoint.
|
|
1662
1754
|
*/
|
|
@@ -1666,7 +1758,7 @@ interface PathsDictionary {
|
|
|
1666
1758
|
config?: AxiosRequestConfig
|
|
1667
1759
|
): OperationResponse<Paths.UpdateAgentById.Responses.$200>
|
|
1668
1760
|
/**
|
|
1669
|
-
* deleteAgentById -
|
|
1761
|
+
* deleteAgentById - deleteAgentById
|
|
1670
1762
|
*
|
|
1671
1763
|
* Deletes a custom agent. System skills cannot be deleted via this endpoint.
|
|
1672
1764
|
*/
|
|
@@ -1678,7 +1770,7 @@ interface PathsDictionary {
|
|
|
1678
1770
|
}
|
|
1679
1771
|
['/v1/agents/{agent_id}/execute']: {
|
|
1680
1772
|
/**
|
|
1681
|
-
* executeAgent -
|
|
1773
|
+
* executeAgent - executeAgent
|
|
1682
1774
|
*
|
|
1683
1775
|
* Executes an agent (system skill or custom agent).
|
|
1684
1776
|
* Supports both:
|
|
@@ -1694,7 +1786,7 @@ interface PathsDictionary {
|
|
|
1694
1786
|
}
|
|
1695
1787
|
['/v1/agents/{agent_id}/execute/stream']: {
|
|
1696
1788
|
/**
|
|
1697
|
-
* executeAgentStream -
|
|
1789
|
+
* executeAgentStream - executeAgentStream
|
|
1698
1790
|
*
|
|
1699
1791
|
* Executes an agent with real-time streaming of tokens and tool events.
|
|
1700
1792
|
* Returns Server-Sent Events (SSE) stream with token-by-token output,
|
|
@@ -1716,7 +1808,9 @@ interface PathsDictionary {
|
|
|
1716
1808
|
}
|
|
1717
1809
|
['/v1/executions']: {
|
|
1718
1810
|
/**
|
|
1719
|
-
* listExecutions -
|
|
1811
|
+
* listExecutions - listExecutions
|
|
1812
|
+
*
|
|
1813
|
+
* List executions
|
|
1720
1814
|
*/
|
|
1721
1815
|
'get'(
|
|
1722
1816
|
parameters?: Parameters<Paths.ListExecutions.QueryParameters> | null,
|
|
@@ -1726,7 +1820,9 @@ interface PathsDictionary {
|
|
|
1726
1820
|
}
|
|
1727
1821
|
['/v1/executions/{execution_id}']: {
|
|
1728
1822
|
/**
|
|
1729
|
-
* getExecution -
|
|
1823
|
+
* getExecution - getExecution
|
|
1824
|
+
*
|
|
1825
|
+
* Get execution by ID
|
|
1730
1826
|
*/
|
|
1731
1827
|
'get'(
|
|
1732
1828
|
parameters?: Parameters<Paths.GetExecution.PathParameters> | null,
|
|
@@ -1734,7 +1830,9 @@ interface PathsDictionary {
|
|
|
1734
1830
|
config?: AxiosRequestConfig
|
|
1735
1831
|
): OperationResponse<Paths.GetExecution.Responses.$200>
|
|
1736
1832
|
/**
|
|
1737
|
-
* cancelExecution -
|
|
1833
|
+
* cancelExecution - cancelExecution
|
|
1834
|
+
*
|
|
1835
|
+
* Cancel execution
|
|
1738
1836
|
*/
|
|
1739
1837
|
'delete'(
|
|
1740
1838
|
parameters?: Parameters<Paths.CancelExecution.PathParameters> | null,
|
|
@@ -1744,7 +1842,7 @@ interface PathsDictionary {
|
|
|
1744
1842
|
}
|
|
1745
1843
|
['/v1/executions/{execution_id}/trace']: {
|
|
1746
1844
|
/**
|
|
1747
|
-
* getExecutionTrace -
|
|
1845
|
+
* getExecutionTrace - getExecutionTrace
|
|
1748
1846
|
*
|
|
1749
1847
|
* Returns the step-by-step reasoning and tool calls for ReAct mode executions. Returns empty iterations array for direct mode executions.
|
|
1750
1848
|
*/
|
|
@@ -1757,28 +1855,28 @@ interface PathsDictionary {
|
|
|
1757
1855
|
['/v1/executions/{execution_id}/feedback']: {
|
|
1758
1856
|
/**
|
|
1759
1857
|
* getExecutionFeedback - Get execution feedback
|
|
1760
|
-
*
|
|
1858
|
+
*
|
|
1761
1859
|
* Returns the authenticated user's feedback for an execution.
|
|
1762
1860
|
*/
|
|
1763
1861
|
'get'(
|
|
1764
1862
|
parameters?: Parameters<Paths.GetExecutionFeedback.PathParameters> | null,
|
|
1765
1863
|
data?: any,
|
|
1766
|
-
config?: AxiosRequestConfig
|
|
1864
|
+
config?: AxiosRequestConfig
|
|
1767
1865
|
): OperationResponse<Paths.GetExecutionFeedback.Responses.$200>
|
|
1768
1866
|
/**
|
|
1769
1867
|
* putExecutionFeedback - Submit execution feedback
|
|
1770
|
-
*
|
|
1868
|
+
*
|
|
1771
1869
|
* Upserts thumbs up/down feedback and mirrors it to the execution's Langfuse trace.
|
|
1772
1870
|
*/
|
|
1773
1871
|
'put'(
|
|
1774
1872
|
parameters?: Parameters<Paths.PutExecutionFeedback.PathParameters> | null,
|
|
1775
1873
|
data?: Paths.PutExecutionFeedback.RequestBody,
|
|
1776
|
-
config?: AxiosRequestConfig
|
|
1874
|
+
config?: AxiosRequestConfig
|
|
1777
1875
|
): OperationResponse<Paths.PutExecutionFeedback.Responses.$200>
|
|
1778
1876
|
}
|
|
1779
1877
|
['/v1/executions/{execution_id}/approve']: {
|
|
1780
1878
|
/**
|
|
1781
|
-
* approveExecution -
|
|
1879
|
+
* approveExecution - approveExecution
|
|
1782
1880
|
*
|
|
1783
1881
|
* Approves a pending tool action when execution is in waiting_approval status
|
|
1784
1882
|
*/
|
|
@@ -1790,7 +1888,7 @@ interface PathsDictionary {
|
|
|
1790
1888
|
}
|
|
1791
1889
|
['/v1/executions/{execution_id}/reject']: {
|
|
1792
1890
|
/**
|
|
1793
|
-
* rejectExecution -
|
|
1891
|
+
* rejectExecution - rejectExecution
|
|
1794
1892
|
*
|
|
1795
1893
|
* Rejects a pending tool action when execution is in waiting_approval status
|
|
1796
1894
|
*/
|
|
@@ -1802,7 +1900,7 @@ interface PathsDictionary {
|
|
|
1802
1900
|
}
|
|
1803
1901
|
['/v1/executions/{execution_id}/stream']: {
|
|
1804
1902
|
/**
|
|
1805
|
-
* streamExecution -
|
|
1903
|
+
* streamExecution - streamExecution
|
|
1806
1904
|
*
|
|
1807
1905
|
* Reconnects to an execution's event stream after approval. Replays missed events from event log and continues streaming if execution is still running.
|
|
1808
1906
|
*/
|
|
@@ -1814,7 +1912,7 @@ interface PathsDictionary {
|
|
|
1814
1912
|
}
|
|
1815
1913
|
['/v1/chat']: {
|
|
1816
1914
|
/**
|
|
1817
|
-
* chat -
|
|
1915
|
+
* chat - chat
|
|
1818
1916
|
*
|
|
1819
1917
|
* Initiates a streaming chat session with an AI agent. Supports server-side conversation memory via conversationId or client-provided history via clientHistory.
|
|
1820
1918
|
*/
|
|
@@ -1826,7 +1924,7 @@ interface PathsDictionary {
|
|
|
1826
1924
|
}
|
|
1827
1925
|
['/v1/conversations']: {
|
|
1828
1926
|
/**
|
|
1829
|
-
* listConversations -
|
|
1927
|
+
* listConversations - listConversations
|
|
1830
1928
|
*
|
|
1831
1929
|
* Lists conversations for the authenticated user, sorted by most recent.
|
|
1832
1930
|
*/
|
|
@@ -1838,7 +1936,7 @@ interface PathsDictionary {
|
|
|
1838
1936
|
}
|
|
1839
1937
|
['/v1/conversations/{conversation_id}']: {
|
|
1840
1938
|
/**
|
|
1841
|
-
* getConversation -
|
|
1939
|
+
* getConversation - getConversation
|
|
1842
1940
|
*
|
|
1843
1941
|
* Retrieves a conversation and its message history.
|
|
1844
1942
|
*/
|
|
@@ -1848,7 +1946,7 @@ interface PathsDictionary {
|
|
|
1848
1946
|
config?: AxiosRequestConfig
|
|
1849
1947
|
): OperationResponse<Paths.GetConversation.Responses.$200>
|
|
1850
1948
|
/**
|
|
1851
|
-
* deleteConversation -
|
|
1949
|
+
* deleteConversation - deleteConversation
|
|
1852
1950
|
*
|
|
1853
1951
|
* Deletes a conversation and all its messages.
|
|
1854
1952
|
*/
|
|
@@ -1860,7 +1958,7 @@ interface PathsDictionary {
|
|
|
1860
1958
|
}
|
|
1861
1959
|
['/v1/conversations/{conversation_id}/feedback']: {
|
|
1862
1960
|
/**
|
|
1863
|
-
* submitConversationFeedback -
|
|
1961
|
+
* submitConversationFeedback - submitConversationFeedback
|
|
1864
1962
|
*
|
|
1865
1963
|
* Records a thumbs up/down (with optional comment) for the assistant turn identified by its Langfuse trace id. The rating is persisted on the message and mirrored to Langfuse as a trace score.
|
|
1866
1964
|
*
|
|
@@ -1877,6 +1975,8 @@ type Client = OpenAPIClient<OperationMethods, PathsDictionary>
|
|
|
1877
1975
|
|
|
1878
1976
|
|
|
1879
1977
|
type AgentDefinition = Components.Schemas.AgentDefinition;
|
|
1978
|
+
type AgentExecutionEvent = Components.Schemas.AgentExecutionEvent;
|
|
1979
|
+
type AgentExecutionEventStatus = Components.Schemas.AgentExecutionEventStatus;
|
|
1880
1980
|
type AgentId = Components.Schemas.AgentId;
|
|
1881
1981
|
type AgentSource = Components.Schemas.AgentSource;
|
|
1882
1982
|
type ApproveExecutionRequest = Components.Schemas.ApproveExecutionRequest;
|
|
@@ -1925,4 +2025,4 @@ type ToolDefinition = Components.Schemas.ToolDefinition;
|
|
|
1925
2025
|
type ToolPreview = Components.Schemas.ToolPreview;
|
|
1926
2026
|
type UpdateAgentRequest = Components.Schemas.UpdateAgentRequest;
|
|
1927
2027
|
|
|
1928
|
-
export { type AgentDefinition as A, type
|
|
2028
|
+
export { type ToolPreview as $, type AgentDefinition as A, type InputParametersSchema as B, type Client as C, type ListConversationsResponse as D, type Error as E, type ListExecutionsResponse as F, type MessageItem as G, type ModelConfig as H, type InputParameterDefinition as I, type ParameterType as J, type PendingAction as K, type ListAgentsResponse as L, type MessageFeedback as M, type PreviewActionType as N, type OperationMethods as O, Paths as P, type PreviewChange as Q, type PreviewEntity as R, type PreviewValue as S, type PutExecutionFeedbackRequest as T, type RejectExecutionRequest as U, type SkillAvailability as V, type SkillCategory as W, type StreamEvent as X, type StreamingOptions as Y, type SubmitFeedbackRequest as Z, type ToolDefinition as _, Components as a, type UpdateAgentRequest as a0, type PathsDictionary as b, type AgentExecutionEvent as c, type AgentExecutionEventStatus as d, type AgentId as e, type AgentSource as f, type ApproveExecutionRequest as g, type ChatMessage as h, type ChatRequest as i, type ConversationItem as j, type ConversationWithMessages as k, type CreateAgentRequest as l, type ExecuteAgentRequest as m, type ExecutionContext as n, type ExecutionError as o, type ExecutionFeedback as p, type ExecutionFeedbackResponse as q, type ExecutionIteration as r, type ExecutionIterationProjection as s, type ExecutionMetrics as t, type ExecutionMode as u, type ExecutionPattern as v, type ExecutionResponse as w, type ExecutionResult as x, type ExecutionStatus as y, type ExecutionTrace as z };
|
|
@@ -6,25 +6,25 @@ var _chunkS5HBBTKMcjs = require('../chunk-S5HBBTKM.cjs');
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkQAEAAKLAcjs = require('../chunk-QAEAAKLA.cjs');
|
|
10
10
|
require('../chunk-NJK5F5TF.cjs');
|
|
11
11
|
|
|
12
12
|
// src/apis/access-token.ts
|
|
13
13
|
var loadDefinition = () => {
|
|
14
14
|
const mod = _chunkS5HBBTKMcjs.require_access_token_runtime.call(void 0, );
|
|
15
|
-
return
|
|
15
|
+
return _chunkQAEAAKLAcjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
|
|
16
16
|
};
|
|
17
17
|
var _instance = null;
|
|
18
18
|
var resolve = () => {
|
|
19
19
|
if (!_instance) {
|
|
20
20
|
const def = loadDefinition();
|
|
21
|
-
_instance =
|
|
21
|
+
_instance = _chunkQAEAAKLAcjs.createApiClient.call(void 0, { definition: def, apiName: "accessToken" });
|
|
22
22
|
}
|
|
23
23
|
return _instance;
|
|
24
24
|
};
|
|
25
|
-
var _handle =
|
|
25
|
+
var _handle = _chunkQAEAAKLAcjs.createApiHandle.call(void 0, {
|
|
26
26
|
resolveClient: resolve,
|
|
27
|
-
createClient: () =>
|
|
27
|
+
createClient: () => _chunkQAEAAKLAcjs.createApiClient.call(void 0, { definition: loadDefinition(), apiName: "accessToken" }),
|
|
28
28
|
apiName: "accessToken"
|
|
29
29
|
});
|
|
30
30
|
var getClient = _handle.getClient;
|
|
@@ -35,4 +35,4 @@ var accessToken = _handle;
|
|
|
35
35
|
|
|
36
36
|
|
|
37
37
|
|
|
38
|
-
exports.accessToken = accessToken; exports.authorize =
|
|
38
|
+
exports.accessToken = accessToken; exports.authorize = _chunkQAEAAKLAcjs.authorize; exports.createClient = createClient; exports.getClient = getClient;
|
|
@@ -6,25 +6,25 @@ var _chunkLKRBFBFNcjs = require('../chunk-LKRBFBFN.cjs');
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkQAEAAKLAcjs = require('../chunk-QAEAAKLA.cjs');
|
|
10
10
|
require('../chunk-NJK5F5TF.cjs');
|
|
11
11
|
|
|
12
12
|
// src/apis/address-suggestions.ts
|
|
13
13
|
var loadDefinition = () => {
|
|
14
14
|
const mod = _chunkLKRBFBFNcjs.require_address_suggestions_runtime.call(void 0, );
|
|
15
|
-
return
|
|
15
|
+
return _chunkQAEAAKLAcjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
|
|
16
16
|
};
|
|
17
17
|
var _instance = null;
|
|
18
18
|
var resolve = () => {
|
|
19
19
|
if (!_instance) {
|
|
20
20
|
const def = loadDefinition();
|
|
21
|
-
_instance =
|
|
21
|
+
_instance = _chunkQAEAAKLAcjs.createApiClient.call(void 0, { definition: def, apiName: "addressSuggestions" });
|
|
22
22
|
}
|
|
23
23
|
return _instance;
|
|
24
24
|
};
|
|
25
|
-
var _handle =
|
|
25
|
+
var _handle = _chunkQAEAAKLAcjs.createApiHandle.call(void 0, {
|
|
26
26
|
resolveClient: resolve,
|
|
27
|
-
createClient: () =>
|
|
27
|
+
createClient: () => _chunkQAEAAKLAcjs.createApiClient.call(void 0, { definition: loadDefinition(), apiName: "addressSuggestions" }),
|
|
28
28
|
apiName: "addressSuggestions"
|
|
29
29
|
});
|
|
30
30
|
var getClient = _handle.getClient;
|
|
@@ -35,4 +35,4 @@ var addressSuggestions = _handle;
|
|
|
35
35
|
|
|
36
36
|
|
|
37
37
|
|
|
38
|
-
exports.addressSuggestions = addressSuggestions; exports.authorize =
|
|
38
|
+
exports.addressSuggestions = addressSuggestions; exports.authorize = _chunkQAEAAKLAcjs.authorize; exports.createClient = createClient; exports.getClient = getClient;
|
package/dist/apis/address.cjs
CHANGED
|
@@ -6,25 +6,25 @@ var _chunkT67ZXTVGcjs = require('../chunk-T67ZXTVG.cjs');
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkQAEAAKLAcjs = require('../chunk-QAEAAKLA.cjs');
|
|
10
10
|
require('../chunk-NJK5F5TF.cjs');
|
|
11
11
|
|
|
12
12
|
// src/apis/address.ts
|
|
13
13
|
var loadDefinition = () => {
|
|
14
14
|
const mod = _chunkT67ZXTVGcjs.require_address_runtime.call(void 0, );
|
|
15
|
-
return
|
|
15
|
+
return _chunkQAEAAKLAcjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
|
|
16
16
|
};
|
|
17
17
|
var _instance = null;
|
|
18
18
|
var resolve = () => {
|
|
19
19
|
if (!_instance) {
|
|
20
20
|
const def = loadDefinition();
|
|
21
|
-
_instance =
|
|
21
|
+
_instance = _chunkQAEAAKLAcjs.createApiClient.call(void 0, { definition: def, apiName: "address" });
|
|
22
22
|
}
|
|
23
23
|
return _instance;
|
|
24
24
|
};
|
|
25
|
-
var _handle =
|
|
25
|
+
var _handle = _chunkQAEAAKLAcjs.createApiHandle.call(void 0, {
|
|
26
26
|
resolveClient: resolve,
|
|
27
|
-
createClient: () =>
|
|
27
|
+
createClient: () => _chunkQAEAAKLAcjs.createApiClient.call(void 0, { definition: loadDefinition(), apiName: "address" }),
|
|
28
28
|
apiName: "address"
|
|
29
29
|
});
|
|
30
30
|
var getClient = _handle.getClient;
|
|
@@ -35,4 +35,4 @@ var address = _handle;
|
|
|
35
35
|
|
|
36
36
|
|
|
37
37
|
|
|
38
|
-
exports.address = address; exports.authorize =
|
|
38
|
+
exports.address = address; exports.authorize = _chunkQAEAAKLAcjs.authorize; exports.createClient = createClient; exports.getClient = getClient;
|