@epilot/sdk 2.9.4 → 2.10.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.
Files changed (163) hide show
  1. package/definitions/ai-agents-runtime.json +1 -1
  2. package/definitions/ai-agents.json +63 -936
  3. package/definitions/focus-pocus-runtime.json +1 -0
  4. package/definitions/focus-pocus.json +757 -0
  5. package/definitions/integration-toolkit-runtime.json +1 -1
  6. package/definitions/integration-toolkit.json +213 -2
  7. package/definitions/workflow-runtime.json +1 -1
  8. package/definitions/workflow.json +60 -445
  9. package/dist/ai-agents-IZWFEUSH.js +7 -0
  10. package/dist/ai-agents-PWHKNRCX.cjs +7 -0
  11. package/dist/{ai-agents-runtime-EA23HCCP.js → ai-agents-runtime-25YRUJHI.js} +1 -1
  12. package/dist/{ai-agents-runtime-WZ3EI3NH.cjs → ai-agents-runtime-TILIO3UM.cjs} +2 -2
  13. package/dist/{ai-agents.d-D-7bTH-9.d.cts → ai-agents.d-CC5IjXrs.d.cts} +5 -506
  14. package/dist/{ai-agents.d-D-7bTH-9.d.ts → ai-agents.d-CC5IjXrs.d.ts} +5 -506
  15. package/dist/apis/access-token.cjs +6 -6
  16. package/dist/apis/access-token.js +1 -1
  17. package/dist/apis/address-suggestions.cjs +6 -6
  18. package/dist/apis/address-suggestions.js +1 -1
  19. package/dist/apis/address.cjs +6 -6
  20. package/dist/apis/address.js +1 -1
  21. package/dist/apis/ai-agents.cjs +8 -8
  22. package/dist/apis/ai-agents.d.cts +2 -2
  23. package/dist/apis/ai-agents.d.ts +2 -2
  24. package/dist/apis/ai-agents.js +2 -2
  25. package/dist/apis/app.cjs +6 -6
  26. package/dist/apis/app.js +1 -1
  27. package/dist/apis/audit-logs.cjs +6 -6
  28. package/dist/apis/audit-logs.js +1 -1
  29. package/dist/apis/automation.cjs +6 -6
  30. package/dist/apis/automation.js +1 -1
  31. package/dist/apis/billing.cjs +6 -6
  32. package/dist/apis/billing.js +1 -1
  33. package/dist/apis/blueprint-manifest.cjs +6 -6
  34. package/dist/apis/blueprint-manifest.js +1 -1
  35. package/dist/apis/calendar.cjs +6 -6
  36. package/dist/apis/calendar.js +1 -1
  37. package/dist/apis/configuration-hub.cjs +6 -6
  38. package/dist/apis/configuration-hub.js +1 -1
  39. package/dist/apis/consent.cjs +6 -6
  40. package/dist/apis/consent.js +1 -1
  41. package/dist/apis/customer-portal.cjs +6 -6
  42. package/dist/apis/customer-portal.js +1 -1
  43. package/dist/apis/dashboard.cjs +6 -6
  44. package/dist/apis/dashboard.js +1 -1
  45. package/dist/apis/data-governance.cjs +6 -6
  46. package/dist/apis/data-governance.js +1 -1
  47. package/dist/apis/deduplication.cjs +6 -6
  48. package/dist/apis/deduplication.js +1 -1
  49. package/dist/apis/design.cjs +6 -6
  50. package/dist/apis/design.js +1 -1
  51. package/dist/apis/document.cjs +6 -6
  52. package/dist/apis/document.js +1 -1
  53. package/dist/apis/email-settings.cjs +6 -6
  54. package/dist/apis/email-settings.js +1 -1
  55. package/dist/apis/email-template.cjs +6 -6
  56. package/dist/apis/email-template.js +1 -1
  57. package/dist/apis/entity-mapping.cjs +6 -6
  58. package/dist/apis/entity-mapping.js +1 -1
  59. package/dist/apis/entity.cjs +6 -6
  60. package/dist/apis/entity.js +1 -1
  61. package/dist/apis/environments.cjs +6 -6
  62. package/dist/apis/environments.js +1 -1
  63. package/dist/apis/event-catalog.cjs +6 -6
  64. package/dist/apis/event-catalog.js +1 -1
  65. package/dist/apis/file.cjs +6 -6
  66. package/dist/apis/file.js +1 -1
  67. package/dist/apis/iban.cjs +6 -6
  68. package/dist/apis/iban.js +1 -1
  69. package/dist/apis/integration-toolkit.cjs +8 -8
  70. package/dist/apis/integration-toolkit.d.cts +2 -2
  71. package/dist/apis/integration-toolkit.d.ts +2 -2
  72. package/dist/apis/integration-toolkit.js +2 -2
  73. package/dist/apis/journey.cjs +6 -6
  74. package/dist/apis/journey.js +1 -1
  75. package/dist/apis/kanban.cjs +6 -6
  76. package/dist/apis/kanban.js +1 -1
  77. package/dist/apis/message.cjs +6 -6
  78. package/dist/apis/message.js +1 -1
  79. package/dist/apis/metering.cjs +6 -6
  80. package/dist/apis/metering.js +1 -1
  81. package/dist/apis/notes.cjs +6 -6
  82. package/dist/apis/notes.js +1 -1
  83. package/dist/apis/notification.cjs +6 -6
  84. package/dist/apis/notification.js +1 -1
  85. package/dist/apis/organization.cjs +6 -6
  86. package/dist/apis/organization.js +1 -1
  87. package/dist/apis/partner-directory.cjs +6 -6
  88. package/dist/apis/partner-directory.js +1 -1
  89. package/dist/apis/permissions.cjs +6 -6
  90. package/dist/apis/permissions.js +1 -1
  91. package/dist/apis/pricing-tier.cjs +6 -6
  92. package/dist/apis/pricing-tier.js +1 -1
  93. package/dist/apis/pricing.cjs +6 -6
  94. package/dist/apis/pricing.js +1 -1
  95. package/dist/apis/purpose.cjs +6 -6
  96. package/dist/apis/purpose.js +1 -1
  97. package/dist/apis/query.cjs +6 -6
  98. package/dist/apis/query.js +1 -1
  99. package/dist/apis/sandbox.cjs +6 -6
  100. package/dist/apis/sandbox.js +1 -1
  101. package/dist/apis/sharing.cjs +6 -6
  102. package/dist/apis/sharing.js +1 -1
  103. package/dist/apis/snapshot.cjs +6 -6
  104. package/dist/apis/snapshot.js +1 -1
  105. package/dist/apis/submission.cjs +6 -6
  106. package/dist/apis/submission.js +1 -1
  107. package/dist/apis/target.cjs +6 -6
  108. package/dist/apis/target.js +1 -1
  109. package/dist/apis/targeting.cjs +6 -6
  110. package/dist/apis/targeting.js +1 -1
  111. package/dist/apis/template-variables.cjs +6 -6
  112. package/dist/apis/template-variables.js +1 -1
  113. package/dist/apis/user.cjs +6 -6
  114. package/dist/apis/user.js +1 -1
  115. package/dist/apis/validation-rules.cjs +6 -6
  116. package/dist/apis/validation-rules.js +1 -1
  117. package/dist/apis/webhooks.cjs +6 -6
  118. package/dist/apis/webhooks.js +1 -1
  119. package/dist/apis/workflow-definition.cjs +6 -6
  120. package/dist/apis/workflow-definition.js +1 -1
  121. package/dist/apis/workflow.cjs +8 -8
  122. package/dist/apis/workflow.d.cts +2 -2
  123. package/dist/apis/workflow.d.ts +2 -2
  124. package/dist/apis/workflow.js +2 -2
  125. package/dist/chunk-7WGJSGWE.js +14 -0
  126. package/dist/chunk-FARDEGPH.cjs +14 -0
  127. package/dist/chunk-JENQHXFI.js +14 -0
  128. package/dist/{chunk-522LYPPW.js → chunk-KQKBSWGI.js} +1 -1
  129. package/dist/{chunk-LNVAFYGS.cjs → chunk-OJGUX5TG.cjs} +6 -6
  130. package/dist/{chunk-PM25LLET.cjs → chunk-QNZPOA54.cjs} +1 -1
  131. package/dist/{chunk-J4ZE3ANW.js → chunk-XH5F3S6Y.js} +6 -6
  132. package/dist/chunk-YISO22FS.cjs +14 -0
  133. package/dist/index.cjs +14 -14
  134. package/dist/index.d.cts +3 -3
  135. package/dist/index.d.ts +3 -3
  136. package/dist/index.js +4 -4
  137. package/dist/integration-toolkit-DUMRNE6A.cjs +7 -0
  138. package/dist/integration-toolkit-IK7KA76K.js +7 -0
  139. package/dist/{integration-toolkit-runtime-FR6RZS5O.cjs → integration-toolkit-runtime-4LHEPGGC.cjs} +2 -2
  140. package/dist/{integration-toolkit-runtime-I2O6QP5G.js → integration-toolkit-runtime-5K3AAC63.js} +1 -1
  141. package/dist/{integration-toolkit.d-DUZ_fiuf.d.cts → integration-toolkit.d-BVe_MBBi.d.cts} +162 -3
  142. package/dist/{integration-toolkit.d-DUZ_fiuf.d.ts → integration-toolkit.d-BVe_MBBi.d.ts} +162 -3
  143. package/dist/js-yaml-DLCVPJ7G.js +0 -0
  144. package/dist/workflow-3WBD74WR.js +7 -0
  145. package/dist/workflow-WIUZ5TOX.cjs +7 -0
  146. package/dist/{workflow-runtime-L5HMFISV.js → workflow-runtime-DNTQDYPQ.js} +1 -1
  147. package/dist/{workflow-runtime-LMGACZP4.cjs → workflow-runtime-VKFESVFX.cjs} +2 -2
  148. package/dist/{workflow.d-eFv0ecBi.d.ts → workflow.d-CMSKt8oN.d.cts} +81 -745
  149. package/dist/{workflow.d-eFv0ecBi.d.cts → workflow.d-CMSKt8oN.d.ts} +81 -745
  150. package/docs/ai-agents.md +23 -641
  151. package/docs/integration-toolkit.md +133 -0
  152. package/docs/workflow.md +47 -247
  153. package/package.json +12 -11
  154. package/dist/ai-agents-D6C5TXLD.cjs +0 -7
  155. package/dist/ai-agents-Y6PH53PH.js +0 -7
  156. package/dist/chunk-3CNCQJOJ.js +0 -14
  157. package/dist/chunk-BRWY3QHG.js +0 -14
  158. package/dist/chunk-ILIHCSNO.cjs +0 -14
  159. package/dist/chunk-YEBEA6XU.cjs +0 -14
  160. package/dist/integration-toolkit-TL3BQ6FJ.cjs +0 -7
  161. package/dist/integration-toolkit-X3Y4OFVW.js +0 -7
  162. package/dist/workflow-7OU2YEEI.cjs +0 -7
  163. package/dist/workflow-IVKCWS44.js +0 -7
@@ -38,7 +38,6 @@ declare namespace Components {
38
38
  * Where the skill/agent is available:
39
39
  * - flows: Available in workflow automations
40
40
  * - copilot: Available as a sub-agent in copilot
41
- * - portals: Available in end-user self-service portals
42
41
  * - all: Available everywhere
43
42
  *
44
43
  */
@@ -133,80 +132,6 @@ declare namespace Components {
133
132
  * Optional reason for approval
134
133
  */
135
134
  reason?: string;
136
- /**
137
- * For batch approval - list of action IDs to approve. If not provided, all actions are approved.
138
- */
139
- approved_action_ids?: string[];
140
- /**
141
- * For batch approval - list of action IDs to reject. Actions not in approved_action_ids are implicitly rejected.
142
- */
143
- 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
- }
150
- export interface ChatMessage {
151
- role: "user" | "assistant" | "tool" | "system";
152
- content: string;
153
- tool_calls?: {
154
- id?: string;
155
- name?: string;
156
- input?: {
157
- [key: string]: any;
158
- };
159
- output?: string;
160
- }[];
161
- }
162
- export interface ChatRequest {
163
- /**
164
- * Agent ID to chat with
165
- */
166
- agentId: string;
167
- /**
168
- * User message
169
- */
170
- message: string;
171
- /**
172
- * Conversation ID for server-side memory. If provided, loads history from DynamoDB.
173
- */
174
- conversationId?: string; // uuid
175
- /**
176
- * Client-provided message history (overrides server-side memory)
177
- */
178
- clientHistory?: ChatMessage[];
179
- context?: {
180
- entityId?: string;
181
- customData?: {
182
- [name: string]: any;
183
- };
184
- };
185
- streaming?: StreamingOptions;
186
- }
187
- export interface ConversationItem {
188
- conversation_id?: string; // uuid
189
- user_id?: string;
190
- agent_id?: string;
191
- title?: string;
192
- message_count?: number;
193
- /**
194
- * Preview of the last message
195
- */
196
- last_message?: string;
197
- last_message_at?: string; // date-time
198
- context?: {
199
- entityId?: string;
200
- customData?: {
201
- [key: string]: any;
202
- };
203
- };
204
- created_at?: string; // date-time
205
- updated_at?: string; // date-time
206
- }
207
- export interface ConversationWithMessages {
208
- conversation?: ConversationItem;
209
- messages?: MessageItem[];
210
135
  }
211
136
  export interface CreateAgentRequest {
212
137
  /**
@@ -394,15 +319,6 @@ declare namespace Components {
394
319
  tokens_used?: number;
395
320
  latency_ms?: number;
396
321
  }
397
- export interface ExecutionIterationProjection {
398
- index?: number;
399
- /**
400
- * Tool id the iteration invoked, or null for a non-tool step
401
- */
402
- tool?: string | null;
403
- status?: "running" | "completed";
404
- timestamp?: string; // date-time
405
- }
406
322
  export interface ExecutionMetrics {
407
323
  total_tokens?: number;
408
324
  input_tokens?: number;
@@ -481,18 +397,6 @@ declare namespace Components {
481
397
  metrics?: ExecutionMetrics;
482
398
  started_at?: string; // date-time
483
399
  completed_at?: string | null; // date-time
484
- /**
485
- * Slim, labels-only step-progress projection of the ReAct iterations (empty for direct mode). Exposes only index, tool, status, and timestamp — raw thought, action input, and observation are intentionally excluded.
486
- */
487
- iterations?: ExecutionIterationProjection[];
488
- }
489
- export interface ExecutionResult {
490
- response?: string;
491
- structured_output?: {
492
- [key: string]: any;
493
- };
494
- status?: "completed" | "failed" | "max_iterations" | "rejected";
495
- metrics?: ExecutionMetrics;
496
400
  }
497
401
  export type ExecutionStatus = "pending" | "running" | "waiting_approval" | "completed" | "failed" | "cancelled";
498
402
  export interface ExecutionTrace {
@@ -528,7 +432,6 @@ declare namespace Components {
528
432
  * - taxonomy: Taxonomy selector (fetches from Taxonomy API)
529
433
  * - taxonomy-classification: Classification selector (requires dependsOn)
530
434
  * - shared-inbox: Shared inbox selector (fetches from Email Settings API)
531
- * - matching-criteria: Criteria editor for mapping compared fields between two contexts or entities
532
435
  *
533
436
  */
534
437
  ParameterType;
@@ -586,10 +489,6 @@ declare namespace Components {
586
489
  * Filter to specific attribute types (for entity-attribute)
587
490
  */
588
491
  attributeTypeFilter?: string[];
589
- /**
590
- * Whether to hide the parameter from the UI
591
- */
592
- hidden?: boolean;
593
492
  }
594
493
  /**
595
494
  * example:
@@ -645,40 +544,10 @@ declare namespace Components {
645
544
  agents?: AgentDefinition[];
646
545
  next_cursor?: string | null;
647
546
  }
648
- export interface ListConversationsResponse {
649
- conversations?: ConversationItem[];
650
- next_cursor?: string | null;
651
- }
652
547
  export interface ListExecutionsResponse {
653
548
  executions?: ExecutionResponse[];
654
549
  next_cursor?: string | null;
655
550
  }
656
- export interface MessageFeedback {
657
- rating: "up" | "down";
658
- comment?: string;
659
- user_id: string;
660
- submitted_at: string; // date-time
661
- }
662
- export interface MessageItem {
663
- conversation_id?: string; // uuid
664
- role?: "user" | "assistant" | "tool" | "system";
665
- content?: string;
666
- timestamp?: string; // date-time
667
- tool_calls?: {
668
- id?: string;
669
- name?: string;
670
- input?: {
671
- [key: string]: any;
672
- };
673
- output?: string;
674
- }[];
675
- token_count?: number;
676
- /**
677
- * Langfuse trace id for the turn (assistant messages only)
678
- */
679
- trace_id?: string; // uuid
680
- feedback?: MessageFeedback;
681
- }
682
551
  export interface ModelConfig {
683
552
  /**
684
553
  * AWS Bedrock model ID
@@ -686,14 +555,6 @@ declare namespace Components {
686
555
  model_id?: string;
687
556
  temperature?: number;
688
557
  max_tokens?: number;
689
- /**
690
- * Enable extended thinking/reasoning for the model
691
- */
692
- thinking?: boolean;
693
- /**
694
- * Token budget for extended thinking (only used when thinking is enabled)
695
- */
696
- thinking_budget?: number;
697
558
  }
698
559
  /**
699
560
  * Base types:
@@ -710,10 +571,9 @@ declare namespace Components {
710
571
  * - taxonomy: Taxonomy selector (fetches from Taxonomy API)
711
572
  * - taxonomy-classification: Classification selector (requires dependsOn)
712
573
  * - shared-inbox: Shared inbox selector (fetches from Email Settings API)
713
- * - matching-criteria: Criteria editor for mapping compared fields between two contexts or entities
714
574
  *
715
575
  */
716
- export type ParameterType = "text" | "textarea" | "number" | "boolean" | "select" | "entity-schema" | "entity-attribute" | "entity-id" | "taxonomy" | "taxonomy-classification" | "shared-inbox" | "label" | "matching-criteria";
576
+ export type ParameterType = "text" | "textarea" | "number" | "boolean" | "select" | "entity-schema" | "entity-attribute" | "entity-id" | "taxonomy" | "taxonomy-classification" | "shared-inbox" | "label";
717
577
  /**
718
578
  * Action waiting for approval (when status=waiting_approval)
719
579
  */
@@ -737,7 +597,7 @@ declare namespace Components {
737
597
  /**
738
598
  * Type of action being previewed
739
599
  */
740
- export type PreviewActionType = "move" | "create" | "update" | "delete" | "apply" | "send" | "link" | "unlink" | "batch_approval";
600
+ export type PreviewActionType = "move" | "create" | "update" | "delete" | "apply" | "send" | "link" | "unlink";
741
601
  /**
742
602
  * A single field change in the preview
743
603
  */
@@ -829,78 +689,11 @@ declare namespace Components {
829
689
  * Where the skill/agent is available:
830
690
  * - flows: Available in workflow automations
831
691
  * - copilot: Available as a sub-agent in copilot
832
- * - portals: Available in end-user self-service portals
833
692
  * - all: Available everywhere
834
693
  *
835
694
  */
836
- export type SkillAvailability = "flows" | "copilot" | "portals" | "all";
695
+ export type SkillAvailability = "flows" | "copilot" | "all";
837
696
  export type SkillCategory = "message" | "entity" | "document" | "classification" | "custom";
838
- /**
839
- * Server-Sent Event for streaming responses
840
- */
841
- export interface StreamEvent {
842
- type?: "token" | "agent_step" | "tool_call" | "tool_result" | "complete" | "error" | "metadata" | "needs_approval";
843
- /**
844
- * Token content (for token events)
845
- */
846
- content?: string;
847
- /**
848
- * Token index (for token events)
849
- */
850
- index?: number;
851
- /**
852
- * Tool name (for tool events)
853
- */
854
- tool?: string;
855
- /**
856
- * Tool input (for tool_call events)
857
- */
858
- input?: {
859
- [key: string]: any;
860
- };
861
- /**
862
- * Tool output (for tool_result events)
863
- */
864
- output?: string;
865
- /**
866
- * Tool call ID
867
- */
868
- callId?: string;
869
- result?: ExecutionResult;
870
- error?: {
871
- code?: string;
872
- message?: string;
873
- };
874
- /**
875
- * Conversation ID (included in complete events)
876
- */
877
- conversationId?: string; // uuid
878
- }
879
- export interface StreamingOptions {
880
- /**
881
- * Stream mode - updates for step-based, messages for token-based
882
- */
883
- mode?: "updates" | "messages";
884
- /**
885
- * Enable token-level streaming
886
- */
887
- streamTokens?: boolean;
888
- /**
889
- * Include metadata events
890
- */
891
- includeMetadata?: boolean;
892
- }
893
- export interface SubmitFeedbackRequest {
894
- /**
895
- * Langfuse trace id of the assistant turn being rated
896
- */
897
- trace_id: string; // uuid
898
- rating: "up" | "down";
899
- /**
900
- * Optional free-text feedback
901
- */
902
- comment?: string;
903
- }
904
697
  export interface ToolDefinition {
905
698
  /**
906
699
  * example:
@@ -916,7 +709,7 @@ declare namespace Components {
916
709
  * Description for LLM to understand tool purpose
917
710
  */
918
711
  description?: string;
919
- category?: "entity" | "message" | "taxonomy" | "rag" | "workflow";
712
+ category?: "entity" | "email" | "taxonomy" | "rag" | "workflow";
920
713
  /**
921
714
  * JSON Schema for tool input
922
715
  */
@@ -1060,14 +853,6 @@ declare namespace Paths {
1060
853
  export type $404 = Components.Schemas.Error;
1061
854
  }
1062
855
  }
1063
- namespace Chat {
1064
- export type RequestBody = Components.Schemas.ChatRequest;
1065
- namespace Responses {
1066
- export type $200 = /* Server-Sent Event for streaming responses */ Components.Schemas.StreamEvent;
1067
- export type $400 = Components.Schemas.Error;
1068
- export type $404 = Components.Schemas.Error;
1069
- }
1070
- }
1071
856
  namespace CreateAgent {
1072
857
  export type RequestBody = Components.Schemas.CreateAgentRequest;
1073
858
  namespace Responses {
@@ -1096,19 +881,6 @@ declare namespace Paths {
1096
881
  export type $400 = Components.Schemas.Error;
1097
882
  }
1098
883
  }
1099
- namespace DeleteConversation {
1100
- namespace Parameters {
1101
- export type ConversationId = string; // uuid
1102
- }
1103
- export interface PathParameters {
1104
- conversation_id: Parameters.ConversationId /* uuid */;
1105
- }
1106
- namespace Responses {
1107
- export interface $204 {
1108
- }
1109
- export type $404 = Components.Schemas.Error;
1110
- }
1111
- }
1112
884
  namespace ExecuteAgent {
1113
885
  namespace Parameters {
1114
886
  export type AgentId = /**
@@ -1131,28 +903,6 @@ declare namespace Paths {
1131
903
  export type $404 = Components.Schemas.Error;
1132
904
  }
1133
905
  }
1134
- namespace ExecuteAgentStream {
1135
- namespace Parameters {
1136
- export type AgentId = /**
1137
- * Agent identifier. Can be either:
1138
- * - System skill ID (prefixed): "skill:email-categorizer", "skill:email-labeler"
1139
- * - Custom agent UUID: "0336a235-9417-4dd8-894c-fe81285bba75"
1140
- *
1141
- * example:
1142
- * skill:email-categorizer
1143
- */
1144
- Components.Schemas.AgentId;
1145
- }
1146
- export interface PathParameters {
1147
- agent_id: Parameters.AgentId;
1148
- }
1149
- export type RequestBody = Components.Schemas.ExecuteAgentRequest;
1150
- namespace Responses {
1151
- export type $200 = /* Server-Sent Event for streaming responses */ Components.Schemas.StreamEvent;
1152
- export type $400 = Components.Schemas.Error;
1153
- export type $404 = Components.Schemas.Error;
1154
- }
1155
- }
1156
906
  namespace GetAgentById {
1157
907
  namespace Parameters {
1158
908
  export type AgentId = /**
@@ -1173,22 +923,6 @@ declare namespace Paths {
1173
923
  export type $400 = Components.Schemas.Error;
1174
924
  }
1175
925
  }
1176
- namespace GetConversation {
1177
- namespace Parameters {
1178
- export type ConversationId = string; // uuid
1179
- export type MessageLimit = number;
1180
- }
1181
- export interface PathParameters {
1182
- conversation_id: Parameters.ConversationId /* uuid */;
1183
- }
1184
- export interface QueryParameters {
1185
- message_limit?: Parameters.MessageLimit;
1186
- }
1187
- namespace Responses {
1188
- export type $200 = Components.Schemas.ConversationWithMessages;
1189
- export type $404 = Components.Schemas.Error;
1190
- }
1191
- }
1192
926
  namespace GetExecution {
1193
927
  namespace Parameters {
1194
928
  export type ExecutionId = string; // uuid
@@ -1219,7 +953,6 @@ declare namespace Paths {
1219
953
  * Where the skill/agent is available:
1220
954
  * - flows: Available in workflow automations
1221
955
  * - copilot: Available as a sub-agent in copilot
1222
- * - portals: Available in end-user self-service portals
1223
956
  * - all: Available everywhere
1224
957
  *
1225
958
  */
@@ -1242,22 +975,6 @@ declare namespace Paths {
1242
975
  export type $400 = Components.Schemas.Error;
1243
976
  }
1244
977
  }
1245
- namespace ListConversations {
1246
- namespace Parameters {
1247
- export type AgentId = string;
1248
- export type Cursor = string;
1249
- export type Limit = number;
1250
- }
1251
- export interface QueryParameters {
1252
- agent_id?: Parameters.AgentId;
1253
- limit?: Parameters.Limit;
1254
- cursor?: Parameters.Cursor;
1255
- }
1256
- namespace Responses {
1257
- export type $200 = Components.Schemas.ListConversationsResponse;
1258
- export type $400 = Components.Schemas.Error;
1259
- }
1260
- }
1261
978
  namespace ListExecutions {
1262
979
  namespace Parameters {
1263
980
  export type AgentId = string;
@@ -1288,38 +1005,6 @@ declare namespace Paths {
1288
1005
  export type $404 = Components.Schemas.Error;
1289
1006
  }
1290
1007
  }
1291
- namespace StreamExecution {
1292
- namespace Parameters {
1293
- export type ExecutionId = string; // uuid
1294
- export type FromSequence = number;
1295
- }
1296
- export interface PathParameters {
1297
- execution_id: Parameters.ExecutionId /* uuid */;
1298
- }
1299
- export interface QueryParameters {
1300
- from_sequence?: Parameters.FromSequence;
1301
- }
1302
- namespace Responses {
1303
- export type $200 = /* Server-Sent Event for streaming responses */ Components.Schemas.StreamEvent;
1304
- export type $404 = Components.Schemas.Error;
1305
- }
1306
- }
1307
- namespace SubmitConversationFeedback {
1308
- namespace Parameters {
1309
- export type ConversationId = string; // uuid
1310
- }
1311
- export interface PathParameters {
1312
- conversation_id: Parameters.ConversationId /* uuid */;
1313
- }
1314
- export type RequestBody = Components.Schemas.SubmitFeedbackRequest;
1315
- namespace Responses {
1316
- export interface $200 {
1317
- feedback?: Components.Schemas.MessageFeedback;
1318
- }
1319
- export type $400 = Components.Schemas.Error;
1320
- export type $404 = Components.Schemas.Error;
1321
- }
1322
- }
1323
1008
  namespace UpdateAgentById {
1324
1009
  namespace Parameters {
1325
1010
  export type AgentId = /**
@@ -1414,26 +1099,6 @@ interface OperationMethods {
1414
1099
  data?: Paths.ExecuteAgent.RequestBody,
1415
1100
  config?: AxiosRequestConfig
1416
1101
  ): OperationResponse<Paths.ExecuteAgent.Responses.$200>
1417
- /**
1418
- * executeAgentStream - Execute an agent with streaming response
1419
- *
1420
- * Executes an agent with real-time streaming of tokens and tool events.
1421
- * Returns Server-Sent Events (SSE) stream with token-by-token output,
1422
- * tool call progress, and completion status.
1423
- *
1424
- * Unlike the async `/execute` endpoint which returns immediately with
1425
- * an execution_id for polling, this endpoint streams all events in real-time.
1426
- *
1427
- * Supports both:
1428
- * - System skill IDs (prefixed): "skill:email-categorizer"
1429
- * - Custom agent IDs (UUID): "0336a235-9417-4dd8-894c-fe81285bba75"
1430
- *
1431
- */
1432
- 'executeAgentStream'(
1433
- parameters?: Parameters<Paths.ExecuteAgentStream.PathParameters> | null,
1434
- data?: Paths.ExecuteAgentStream.RequestBody,
1435
- config?: AxiosRequestConfig
1436
- ): OperationResponse<Paths.ExecuteAgentStream.Responses.$200>
1437
1102
  /**
1438
1103
  * listExecutions - List executions
1439
1104
  */
@@ -1488,67 +1153,6 @@ interface OperationMethods {
1488
1153
  data?: Paths.RejectExecution.RequestBody,
1489
1154
  config?: AxiosRequestConfig
1490
1155
  ): OperationResponse<Paths.RejectExecution.Responses.$200>
1491
- /**
1492
- * streamExecution - Reconnect to execution stream
1493
- *
1494
- * Reconnects to an execution's event stream after approval. Replays missed events from event log and continues streaming if execution is still running.
1495
- */
1496
- 'streamExecution'(
1497
- parameters?: Parameters<Paths.StreamExecution.QueryParameters & Paths.StreamExecution.PathParameters> | null,
1498
- data?: any,
1499
- config?: AxiosRequestConfig
1500
- ): OperationResponse<Paths.StreamExecution.Responses.$200>
1501
- /**
1502
- * chat - Streaming chat with AI agent
1503
- *
1504
- * Initiates a streaming chat session with an AI agent. Supports server-side conversation memory via conversationId or client-provided history via clientHistory.
1505
- */
1506
- 'chat'(
1507
- parameters?: Parameters<UnknownParamsObject> | null,
1508
- data?: Paths.Chat.RequestBody,
1509
- config?: AxiosRequestConfig
1510
- ): OperationResponse<Paths.Chat.Responses.$200>
1511
- /**
1512
- * listConversations - List conversations
1513
- *
1514
- * Lists conversations for the authenticated user, sorted by most recent.
1515
- */
1516
- 'listConversations'(
1517
- parameters?: Parameters<Paths.ListConversations.QueryParameters> | null,
1518
- data?: any,
1519
- config?: AxiosRequestConfig
1520
- ): OperationResponse<Paths.ListConversations.Responses.$200>
1521
- /**
1522
- * getConversation - Get conversation with messages
1523
- *
1524
- * Retrieves a conversation and its message history.
1525
- */
1526
- 'getConversation'(
1527
- parameters?: Parameters<Paths.GetConversation.QueryParameters & Paths.GetConversation.PathParameters> | null,
1528
- data?: any,
1529
- config?: AxiosRequestConfig
1530
- ): OperationResponse<Paths.GetConversation.Responses.$200>
1531
- /**
1532
- * deleteConversation - Delete conversation
1533
- *
1534
- * Deletes a conversation and all its messages.
1535
- */
1536
- 'deleteConversation'(
1537
- parameters?: Parameters<Paths.DeleteConversation.PathParameters> | null,
1538
- data?: any,
1539
- config?: AxiosRequestConfig
1540
- ): OperationResponse<Paths.DeleteConversation.Responses.$204>
1541
- /**
1542
- * submitConversationFeedback - Submit feedback for an assistant turn
1543
- *
1544
- * 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.
1545
- *
1546
- */
1547
- 'submitConversationFeedback'(
1548
- parameters?: Parameters<Paths.SubmitConversationFeedback.PathParameters> | null,
1549
- data?: Paths.SubmitConversationFeedback.RequestBody,
1550
- config?: AxiosRequestConfig
1551
- ): OperationResponse<Paths.SubmitConversationFeedback.Responses.$200>
1552
1156
  }
1553
1157
 
1554
1158
  interface PathsDictionary {
@@ -1627,28 +1231,6 @@ interface PathsDictionary {
1627
1231
  config?: AxiosRequestConfig
1628
1232
  ): OperationResponse<Paths.ExecuteAgent.Responses.$200>
1629
1233
  }
1630
- ['/v1/agents/{agent_id}/execute/stream']: {
1631
- /**
1632
- * executeAgentStream - Execute an agent with streaming response
1633
- *
1634
- * Executes an agent with real-time streaming of tokens and tool events.
1635
- * Returns Server-Sent Events (SSE) stream with token-by-token output,
1636
- * tool call progress, and completion status.
1637
- *
1638
- * Unlike the async `/execute` endpoint which returns immediately with
1639
- * an execution_id for polling, this endpoint streams all events in real-time.
1640
- *
1641
- * Supports both:
1642
- * - System skill IDs (prefixed): "skill:email-categorizer"
1643
- * - Custom agent IDs (UUID): "0336a235-9417-4dd8-894c-fe81285bba75"
1644
- *
1645
- */
1646
- 'post'(
1647
- parameters?: Parameters<Paths.ExecuteAgentStream.PathParameters> | null,
1648
- data?: Paths.ExecuteAgentStream.RequestBody,
1649
- config?: AxiosRequestConfig
1650
- ): OperationResponse<Paths.ExecuteAgentStream.Responses.$200>
1651
- }
1652
1234
  ['/v1/executions']: {
1653
1235
  /**
1654
1236
  * listExecutions - List executions
@@ -1713,77 +1295,6 @@ interface PathsDictionary {
1713
1295
  config?: AxiosRequestConfig
1714
1296
  ): OperationResponse<Paths.RejectExecution.Responses.$200>
1715
1297
  }
1716
- ['/v1/executions/{execution_id}/stream']: {
1717
- /**
1718
- * streamExecution - Reconnect to execution stream
1719
- *
1720
- * Reconnects to an execution's event stream after approval. Replays missed events from event log and continues streaming if execution is still running.
1721
- */
1722
- 'get'(
1723
- parameters?: Parameters<Paths.StreamExecution.QueryParameters & Paths.StreamExecution.PathParameters> | null,
1724
- data?: any,
1725
- config?: AxiosRequestConfig
1726
- ): OperationResponse<Paths.StreamExecution.Responses.$200>
1727
- }
1728
- ['/v1/chat']: {
1729
- /**
1730
- * chat - Streaming chat with AI agent
1731
- *
1732
- * Initiates a streaming chat session with an AI agent. Supports server-side conversation memory via conversationId or client-provided history via clientHistory.
1733
- */
1734
- 'post'(
1735
- parameters?: Parameters<UnknownParamsObject> | null,
1736
- data?: Paths.Chat.RequestBody,
1737
- config?: AxiosRequestConfig
1738
- ): OperationResponse<Paths.Chat.Responses.$200>
1739
- }
1740
- ['/v1/conversations']: {
1741
- /**
1742
- * listConversations - List conversations
1743
- *
1744
- * Lists conversations for the authenticated user, sorted by most recent.
1745
- */
1746
- 'get'(
1747
- parameters?: Parameters<Paths.ListConversations.QueryParameters> | null,
1748
- data?: any,
1749
- config?: AxiosRequestConfig
1750
- ): OperationResponse<Paths.ListConversations.Responses.$200>
1751
- }
1752
- ['/v1/conversations/{conversation_id}']: {
1753
- /**
1754
- * getConversation - Get conversation with messages
1755
- *
1756
- * Retrieves a conversation and its message history.
1757
- */
1758
- 'get'(
1759
- parameters?: Parameters<Paths.GetConversation.QueryParameters & Paths.GetConversation.PathParameters> | null,
1760
- data?: any,
1761
- config?: AxiosRequestConfig
1762
- ): OperationResponse<Paths.GetConversation.Responses.$200>
1763
- /**
1764
- * deleteConversation - Delete conversation
1765
- *
1766
- * Deletes a conversation and all its messages.
1767
- */
1768
- 'delete'(
1769
- parameters?: Parameters<Paths.DeleteConversation.PathParameters> | null,
1770
- data?: any,
1771
- config?: AxiosRequestConfig
1772
- ): OperationResponse<Paths.DeleteConversation.Responses.$204>
1773
- }
1774
- ['/v1/conversations/{conversation_id}/feedback']: {
1775
- /**
1776
- * submitConversationFeedback - Submit feedback for an assistant turn
1777
- *
1778
- * 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.
1779
- *
1780
- */
1781
- 'post'(
1782
- parameters?: Parameters<Paths.SubmitConversationFeedback.PathParameters> | null,
1783
- data?: Paths.SubmitConversationFeedback.RequestBody,
1784
- config?: AxiosRequestConfig
1785
- ): OperationResponse<Paths.SubmitConversationFeedback.Responses.$200>
1786
- }
1787
1298
  }
1788
1299
 
1789
1300
  type Client = OpenAPIClient<OperationMethods, PathsDictionary>
@@ -1793,31 +1304,22 @@ type AgentDefinition = Components.Schemas.AgentDefinition;
1793
1304
  type AgentId = Components.Schemas.AgentId;
1794
1305
  type AgentSource = Components.Schemas.AgentSource;
1795
1306
  type ApproveExecutionRequest = Components.Schemas.ApproveExecutionRequest;
1796
- type ChatMessage = Components.Schemas.ChatMessage;
1797
- type ChatRequest = Components.Schemas.ChatRequest;
1798
- type ConversationItem = Components.Schemas.ConversationItem;
1799
- type ConversationWithMessages = Components.Schemas.ConversationWithMessages;
1800
1307
  type CreateAgentRequest = Components.Schemas.CreateAgentRequest;
1801
1308
  type Error = Components.Schemas.Error;
1802
1309
  type ExecuteAgentRequest = Components.Schemas.ExecuteAgentRequest;
1803
1310
  type ExecutionContext = Components.Schemas.ExecutionContext;
1804
1311
  type ExecutionError = Components.Schemas.ExecutionError;
1805
1312
  type ExecutionIteration = Components.Schemas.ExecutionIteration;
1806
- type ExecutionIterationProjection = Components.Schemas.ExecutionIterationProjection;
1807
1313
  type ExecutionMetrics = Components.Schemas.ExecutionMetrics;
1808
1314
  type ExecutionMode = Components.Schemas.ExecutionMode;
1809
1315
  type ExecutionPattern = Components.Schemas.ExecutionPattern;
1810
1316
  type ExecutionResponse = Components.Schemas.ExecutionResponse;
1811
- type ExecutionResult = Components.Schemas.ExecutionResult;
1812
1317
  type ExecutionStatus = Components.Schemas.ExecutionStatus;
1813
1318
  type ExecutionTrace = Components.Schemas.ExecutionTrace;
1814
1319
  type InputParameterDefinition = Components.Schemas.InputParameterDefinition;
1815
1320
  type InputParametersSchema = Components.Schemas.InputParametersSchema;
1816
1321
  type ListAgentsResponse = Components.Schemas.ListAgentsResponse;
1817
- type ListConversationsResponse = Components.Schemas.ListConversationsResponse;
1818
1322
  type ListExecutionsResponse = Components.Schemas.ListExecutionsResponse;
1819
- type MessageFeedback = Components.Schemas.MessageFeedback;
1820
- type MessageItem = Components.Schemas.MessageItem;
1821
1323
  type ModelConfig = Components.Schemas.ModelConfig;
1822
1324
  type ParameterType = Components.Schemas.ParameterType;
1823
1325
  type PendingAction = Components.Schemas.PendingAction;
@@ -1828,11 +1330,8 @@ type PreviewValue = Components.Schemas.PreviewValue;
1828
1330
  type RejectExecutionRequest = Components.Schemas.RejectExecutionRequest;
1829
1331
  type SkillAvailability = Components.Schemas.SkillAvailability;
1830
1332
  type SkillCategory = Components.Schemas.SkillCategory;
1831
- type StreamEvent = Components.Schemas.StreamEvent;
1832
- type StreamingOptions = Components.Schemas.StreamingOptions;
1833
- type SubmitFeedbackRequest = Components.Schemas.SubmitFeedbackRequest;
1834
1333
  type ToolDefinition = Components.Schemas.ToolDefinition;
1835
1334
  type ToolPreview = Components.Schemas.ToolPreview;
1836
1335
  type UpdateAgentRequest = Components.Schemas.UpdateAgentRequest;
1837
1336
 
1838
- export { type AgentDefinition as A, type ModelConfig as B, type Client as C, type ParameterType as D, type Error as E, type PendingAction as F, type PreviewActionType as G, type PreviewChange as H, type InputParameterDefinition as I, type PreviewEntity as J, type PreviewValue as K, type ListAgentsResponse as L, type MessageFeedback as M, type SkillCategory as N, type OperationMethods as O, Paths as P, type StreamEvent as Q, type RejectExecutionRequest as R, type SkillAvailability as S, type StreamingOptions as T, type SubmitFeedbackRequest as U, type ToolDefinition as V, type ToolPreview as W, type UpdateAgentRequest as X, Components as a, type PathsDictionary as b, type AgentId as c, type AgentSource as d, type ApproveExecutionRequest as e, type ChatMessage as f, type ChatRequest as g, type ConversationItem as h, type ConversationWithMessages as i, type CreateAgentRequest as j, type ExecuteAgentRequest as k, type ExecutionContext as l, type ExecutionError as m, type ExecutionIteration as n, type ExecutionIterationProjection as o, type ExecutionMetrics as p, type ExecutionMode as q, type ExecutionPattern as r, type ExecutionResponse as s, type ExecutionResult as t, type ExecutionStatus as u, type ExecutionTrace as v, type InputParametersSchema as w, type ListConversationsResponse as x, type ListExecutionsResponse as y, type MessageItem as z };
1337
+ export { type AgentDefinition as A, type Client as C, type Error as E, type InputParameterDefinition as I, type ListAgentsResponse as L, type ModelConfig as M, type OperationMethods as O, Paths as P, type RejectExecutionRequest as R, type SkillAvailability as S, type ToolDefinition as T, type UpdateAgentRequest as U, Components as a, type PathsDictionary as b, type AgentId as c, type AgentSource as d, type ApproveExecutionRequest as e, type CreateAgentRequest as f, type ExecuteAgentRequest as g, type ExecutionContext as h, type ExecutionError as i, type ExecutionIteration as j, type ExecutionMetrics as k, type ExecutionMode as l, type ExecutionPattern as m, type ExecutionResponse as n, type ExecutionStatus as o, type ExecutionTrace as p, type InputParametersSchema as q, type ListExecutionsResponse as r, type ParameterType as s, type PendingAction as t, type PreviewActionType as u, type PreviewChange as v, type PreviewEntity as w, type PreviewValue as x, type SkillCategory as y, type ToolPreview as z };