@aui.io/aui-client 1.2.33 → 1.2.35

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 (221) hide show
  1. package/README.md +36 -50
  2. package/dist/cjs/Client.js +2 -2
  3. package/dist/cjs/api/resources/controllerApi/client/Client.d.ts +34 -2
  4. package/dist/cjs/api/resources/controllerApi/client/Client.js +141 -3
  5. package/dist/cjs/api/resources/controllerApi/client/requests/ExternalWidgetRenderRequest.d.ts +21 -0
  6. package/dist/cjs/api/resources/controllerApi/client/requests/ExternalWidgetRenderRequest.js +3 -0
  7. package/dist/cjs/api/resources/controllerApi/client/requests/SubmitMessageRequest.d.ts +5 -3
  8. package/dist/cjs/api/resources/controllerApi/client/requests/index.d.ts +1 -0
  9. package/dist/cjs/api/types/Card.d.ts +1 -0
  10. package/dist/cjs/api/types/EntityItemParameter.d.ts +2 -1
  11. package/dist/cjs/api/types/Message.d.ts +1 -0
  12. package/dist/cjs/api/types/TaskParameter.d.ts +1 -0
  13. package/dist/cjs/api/types/TracSelfReviewSubEntity.d.ts +4 -0
  14. package/dist/cjs/api/types/TracSelfReviewSubEntity.js +3 -0
  15. package/dist/cjs/api/types/TraceActiveTool.d.ts +5 -0
  16. package/dist/cjs/api/types/TraceActiveTool.js +3 -0
  17. package/dist/cjs/api/types/TraceActiveToolStatus.d.ts +6 -0
  18. package/dist/cjs/api/types/TraceActiveToolStatus.js +9 -0
  19. package/dist/cjs/api/types/TraceApiResponseSubEntity.d.ts +5 -0
  20. package/dist/cjs/api/types/TraceApiResponseSubEntity.js +3 -0
  21. package/dist/cjs/api/types/TraceContext.d.ts +8 -0
  22. package/dist/cjs/api/types/TraceContext.js +3 -0
  23. package/dist/cjs/api/types/TraceDecisionActivateSubTool.d.ts +8 -0
  24. package/dist/cjs/api/types/TraceDecisionActivateSubTool.js +3 -0
  25. package/dist/cjs/api/types/TraceDecisionActivateTool.d.ts +9 -0
  26. package/dist/cjs/api/types/TraceDecisionActivateTool.js +3 -0
  27. package/dist/cjs/api/types/TraceDecisionAskForConfirmation.d.ts +7 -0
  28. package/dist/cjs/api/types/TraceDecisionAskForConfirmation.js +3 -0
  29. package/dist/cjs/api/types/TraceDecisionCallIntegration.d.ts +10 -0
  30. package/dist/cjs/api/types/TraceDecisionCallIntegration.js +3 -0
  31. package/dist/cjs/api/types/TraceDecisionParamsCheck.d.ts +11 -0
  32. package/dist/cjs/api/types/TraceDecisionParamsCheck.js +3 -0
  33. package/dist/cjs/api/types/TraceDecisionRuleTriggered.d.ts +10 -0
  34. package/dist/cjs/api/types/TraceDecisionRuleTriggered.js +3 -0
  35. package/dist/cjs/api/types/TraceDecisionSelfReview.d.ts +7 -0
  36. package/dist/cjs/api/types/TraceDecisionSelfReview.js +3 -0
  37. package/dist/cjs/api/types/TraceDecisionToolTextResponse.d.ts +10 -0
  38. package/dist/cjs/api/types/TraceDecisionToolTextResponse.js +3 -0
  39. package/dist/cjs/api/types/TraceDecisionType.d.ts +15 -0
  40. package/dist/cjs/api/types/TraceDecisionType.js +18 -0
  41. package/dist/cjs/api/types/TraceEntity.d.ts +9 -0
  42. package/dist/cjs/api/types/TraceEntity.js +3 -0
  43. package/dist/cjs/api/types/TraceEntitySource.d.ts +7 -0
  44. package/dist/cjs/api/types/TraceEntitySource.js +10 -0
  45. package/dist/cjs/api/types/TraceGuardrails.d.ts +4 -0
  46. package/dist/cjs/api/types/TraceGuardrails.js +3 -0
  47. package/dist/cjs/api/types/TraceInfo.d.ts +17 -0
  48. package/dist/cjs/api/types/TraceInfo.js +3 -0
  49. package/dist/cjs/api/types/TraceInput.d.ts +6 -0
  50. package/dist/cjs/api/types/TraceInput.js +3 -0
  51. package/dist/cjs/api/types/TraceIntegrationRequest.d.ts +7 -0
  52. package/dist/cjs/api/types/TraceIntegrationRequest.js +3 -0
  53. package/dist/cjs/api/types/TraceIntegrationResponse.d.ts +5 -0
  54. package/dist/cjs/api/types/TraceIntegrationResponse.js +3 -0
  55. package/dist/cjs/api/types/TraceIntegrationResponseItem.d.ts +5 -0
  56. package/dist/cjs/api/types/TraceIntegrationResponseItem.js +3 -0
  57. package/dist/cjs/api/types/TraceIntegrationType.d.ts +10 -0
  58. package/dist/cjs/api/types/TraceIntegrationType.js +13 -0
  59. package/dist/cjs/api/types/TraceParamsCheckStatus.d.ts +9 -0
  60. package/dist/cjs/api/types/TraceParamsCheckStatus.js +12 -0
  61. package/dist/cjs/api/types/TraceQuestionReason.d.ts +7 -0
  62. package/dist/cjs/api/types/TraceQuestionReason.js +10 -0
  63. package/dist/cjs/api/types/TraceRagIntegration.d.ts +10 -0
  64. package/dist/cjs/api/types/TraceRagIntegration.js +3 -0
  65. package/dist/cjs/api/types/TraceRagRequest.d.ts +6 -0
  66. package/dist/cjs/api/types/TraceRagRequest.js +3 -0
  67. package/dist/cjs/api/types/TraceRagResource.d.ts +10 -0
  68. package/dist/cjs/api/types/TraceRagResource.js +3 -0
  69. package/dist/cjs/api/types/TraceRagResponse.d.ts +7 -0
  70. package/dist/cjs/api/types/TraceRagResponse.js +3 -0
  71. package/dist/cjs/api/types/TraceReferencedEntity.d.ts +6 -0
  72. package/dist/cjs/api/types/TraceReferencedEntity.js +3 -0
  73. package/dist/cjs/api/types/TraceResponse.d.ts +13 -0
  74. package/dist/cjs/api/types/TraceResponse.js +3 -0
  75. package/dist/cjs/api/types/TraceResponseType.d.ts +9 -0
  76. package/dist/cjs/api/types/TraceResponseType.js +12 -0
  77. package/dist/cjs/api/types/TraceRestIntegration.d.ts +15 -0
  78. package/dist/cjs/api/types/TraceRestIntegration.js +3 -0
  79. package/dist/cjs/api/types/TraceRuleAction.d.ts +12 -0
  80. package/dist/cjs/api/types/TraceRuleAction.js +15 -0
  81. package/dist/cjs/api/types/TraceRuleBase.d.ts +9 -0
  82. package/dist/cjs/api/types/TraceRuleBase.js +3 -0
  83. package/dist/cjs/api/types/TraceRuleMissingInfo.d.ts +10 -0
  84. package/dist/cjs/api/types/TraceRuleMissingInfo.js +3 -0
  85. package/dist/cjs/api/types/TraceRuleParamsMissing.d.ts +12 -0
  86. package/dist/cjs/api/types/TraceRuleParamsMissing.js +3 -0
  87. package/dist/cjs/api/types/TraceRuleType.d.ts +10 -0
  88. package/dist/cjs/api/types/TraceRuleType.js +13 -0
  89. package/dist/cjs/api/types/TraceSelfReviewEntity.d.ts +9 -0
  90. package/dist/cjs/api/types/TraceSelfReviewEntity.js +3 -0
  91. package/dist/cjs/api/types/TraceSelfReviewSection.d.ts +7 -0
  92. package/dist/cjs/api/types/TraceSelfReviewSection.js +3 -0
  93. package/dist/cjs/api/types/TraceSubEntity.d.ts +5 -0
  94. package/dist/cjs/api/types/TraceSubEntity.js +3 -0
  95. package/dist/cjs/api/types/TraceTrigger.d.ts +9 -0
  96. package/dist/cjs/api/types/TraceTrigger.js +3 -0
  97. package/dist/cjs/api/types/TraceTriggerType.d.ts +9 -0
  98. package/dist/cjs/api/types/TraceTriggerType.js +12 -0
  99. package/dist/cjs/api/types/TraceUnderstanding.d.ts +6 -0
  100. package/dist/cjs/api/types/TraceUnderstanding.js +3 -0
  101. package/dist/cjs/api/types/VectorSearchTaskInteractionQaAnswerScoreLabel.d.ts +5 -0
  102. package/dist/cjs/api/types/VectorSearchTaskInteractionQaAnswerScoreLabel.js +8 -0
  103. package/dist/cjs/api/types/WidgetRenderResponse.d.ts +3 -0
  104. package/dist/cjs/api/types/WidgetRenderResponse.js +3 -0
  105. package/dist/cjs/api/types/WorkflowCheckStatus.d.ts +7 -0
  106. package/dist/cjs/api/types/WorkflowCheckStatus.js +10 -0
  107. package/dist/cjs/api/types/index.d.ts +47 -0
  108. package/dist/cjs/api/types/index.js +47 -0
  109. package/dist/cjs/version.d.ts +1 -1
  110. package/dist/cjs/version.js +1 -1
  111. package/dist/esm/Client.mjs +2 -2
  112. package/dist/esm/api/resources/controllerApi/client/Client.d.mts +34 -2
  113. package/dist/esm/api/resources/controllerApi/client/Client.mjs +141 -3
  114. package/dist/esm/api/resources/controllerApi/client/requests/ExternalWidgetRenderRequest.d.mts +21 -0
  115. package/dist/esm/api/resources/controllerApi/client/requests/ExternalWidgetRenderRequest.mjs +2 -0
  116. package/dist/esm/api/resources/controllerApi/client/requests/SubmitMessageRequest.d.mts +5 -3
  117. package/dist/esm/api/resources/controllerApi/client/requests/index.d.mts +1 -0
  118. package/dist/esm/api/types/Card.d.mts +1 -0
  119. package/dist/esm/api/types/EntityItemParameter.d.mts +2 -1
  120. package/dist/esm/api/types/Message.d.mts +1 -0
  121. package/dist/esm/api/types/TaskParameter.d.mts +1 -0
  122. package/dist/esm/api/types/TracSelfReviewSubEntity.d.mts +4 -0
  123. package/dist/esm/api/types/TracSelfReviewSubEntity.mjs +2 -0
  124. package/dist/esm/api/types/TraceActiveTool.d.mts +5 -0
  125. package/dist/esm/api/types/TraceActiveTool.mjs +2 -0
  126. package/dist/esm/api/types/TraceActiveToolStatus.d.mts +6 -0
  127. package/dist/esm/api/types/TraceActiveToolStatus.mjs +6 -0
  128. package/dist/esm/api/types/TraceApiResponseSubEntity.d.mts +5 -0
  129. package/dist/esm/api/types/TraceApiResponseSubEntity.mjs +2 -0
  130. package/dist/esm/api/types/TraceContext.d.mts +8 -0
  131. package/dist/esm/api/types/TraceContext.mjs +2 -0
  132. package/dist/esm/api/types/TraceDecisionActivateSubTool.d.mts +8 -0
  133. package/dist/esm/api/types/TraceDecisionActivateSubTool.mjs +2 -0
  134. package/dist/esm/api/types/TraceDecisionActivateTool.d.mts +9 -0
  135. package/dist/esm/api/types/TraceDecisionActivateTool.mjs +2 -0
  136. package/dist/esm/api/types/TraceDecisionAskForConfirmation.d.mts +7 -0
  137. package/dist/esm/api/types/TraceDecisionAskForConfirmation.mjs +2 -0
  138. package/dist/esm/api/types/TraceDecisionCallIntegration.d.mts +10 -0
  139. package/dist/esm/api/types/TraceDecisionCallIntegration.mjs +2 -0
  140. package/dist/esm/api/types/TraceDecisionParamsCheck.d.mts +11 -0
  141. package/dist/esm/api/types/TraceDecisionParamsCheck.mjs +2 -0
  142. package/dist/esm/api/types/TraceDecisionRuleTriggered.d.mts +10 -0
  143. package/dist/esm/api/types/TraceDecisionRuleTriggered.mjs +2 -0
  144. package/dist/esm/api/types/TraceDecisionSelfReview.d.mts +7 -0
  145. package/dist/esm/api/types/TraceDecisionSelfReview.mjs +2 -0
  146. package/dist/esm/api/types/TraceDecisionToolTextResponse.d.mts +10 -0
  147. package/dist/esm/api/types/TraceDecisionToolTextResponse.mjs +2 -0
  148. package/dist/esm/api/types/TraceDecisionType.d.mts +15 -0
  149. package/dist/esm/api/types/TraceDecisionType.mjs +15 -0
  150. package/dist/esm/api/types/TraceEntity.d.mts +9 -0
  151. package/dist/esm/api/types/TraceEntity.mjs +2 -0
  152. package/dist/esm/api/types/TraceEntitySource.d.mts +7 -0
  153. package/dist/esm/api/types/TraceEntitySource.mjs +7 -0
  154. package/dist/esm/api/types/TraceGuardrails.d.mts +4 -0
  155. package/dist/esm/api/types/TraceGuardrails.mjs +2 -0
  156. package/dist/esm/api/types/TraceInfo.d.mts +17 -0
  157. package/dist/esm/api/types/TraceInfo.mjs +2 -0
  158. package/dist/esm/api/types/TraceInput.d.mts +6 -0
  159. package/dist/esm/api/types/TraceInput.mjs +2 -0
  160. package/dist/esm/api/types/TraceIntegrationRequest.d.mts +7 -0
  161. package/dist/esm/api/types/TraceIntegrationRequest.mjs +2 -0
  162. package/dist/esm/api/types/TraceIntegrationResponse.d.mts +5 -0
  163. package/dist/esm/api/types/TraceIntegrationResponse.mjs +2 -0
  164. package/dist/esm/api/types/TraceIntegrationResponseItem.d.mts +5 -0
  165. package/dist/esm/api/types/TraceIntegrationResponseItem.mjs +2 -0
  166. package/dist/esm/api/types/TraceIntegrationType.d.mts +10 -0
  167. package/dist/esm/api/types/TraceIntegrationType.mjs +10 -0
  168. package/dist/esm/api/types/TraceParamsCheckStatus.d.mts +9 -0
  169. package/dist/esm/api/types/TraceParamsCheckStatus.mjs +9 -0
  170. package/dist/esm/api/types/TraceQuestionReason.d.mts +7 -0
  171. package/dist/esm/api/types/TraceQuestionReason.mjs +7 -0
  172. package/dist/esm/api/types/TraceRagIntegration.d.mts +10 -0
  173. package/dist/esm/api/types/TraceRagIntegration.mjs +2 -0
  174. package/dist/esm/api/types/TraceRagRequest.d.mts +6 -0
  175. package/dist/esm/api/types/TraceRagRequest.mjs +2 -0
  176. package/dist/esm/api/types/TraceRagResource.d.mts +10 -0
  177. package/dist/esm/api/types/TraceRagResource.mjs +2 -0
  178. package/dist/esm/api/types/TraceRagResponse.d.mts +7 -0
  179. package/dist/esm/api/types/TraceRagResponse.mjs +2 -0
  180. package/dist/esm/api/types/TraceReferencedEntity.d.mts +6 -0
  181. package/dist/esm/api/types/TraceReferencedEntity.mjs +2 -0
  182. package/dist/esm/api/types/TraceResponse.d.mts +13 -0
  183. package/dist/esm/api/types/TraceResponse.mjs +2 -0
  184. package/dist/esm/api/types/TraceResponseType.d.mts +9 -0
  185. package/dist/esm/api/types/TraceResponseType.mjs +9 -0
  186. package/dist/esm/api/types/TraceRestIntegration.d.mts +15 -0
  187. package/dist/esm/api/types/TraceRestIntegration.mjs +2 -0
  188. package/dist/esm/api/types/TraceRuleAction.d.mts +12 -0
  189. package/dist/esm/api/types/TraceRuleAction.mjs +12 -0
  190. package/dist/esm/api/types/TraceRuleBase.d.mts +9 -0
  191. package/dist/esm/api/types/TraceRuleBase.mjs +2 -0
  192. package/dist/esm/api/types/TraceRuleMissingInfo.d.mts +10 -0
  193. package/dist/esm/api/types/TraceRuleMissingInfo.mjs +2 -0
  194. package/dist/esm/api/types/TraceRuleParamsMissing.d.mts +12 -0
  195. package/dist/esm/api/types/TraceRuleParamsMissing.mjs +2 -0
  196. package/dist/esm/api/types/TraceRuleType.d.mts +10 -0
  197. package/dist/esm/api/types/TraceRuleType.mjs +10 -0
  198. package/dist/esm/api/types/TraceSelfReviewEntity.d.mts +9 -0
  199. package/dist/esm/api/types/TraceSelfReviewEntity.mjs +2 -0
  200. package/dist/esm/api/types/TraceSelfReviewSection.d.mts +7 -0
  201. package/dist/esm/api/types/TraceSelfReviewSection.mjs +2 -0
  202. package/dist/esm/api/types/TraceSubEntity.d.mts +5 -0
  203. package/dist/esm/api/types/TraceSubEntity.mjs +2 -0
  204. package/dist/esm/api/types/TraceTrigger.d.mts +9 -0
  205. package/dist/esm/api/types/TraceTrigger.mjs +2 -0
  206. package/dist/esm/api/types/TraceTriggerType.d.mts +9 -0
  207. package/dist/esm/api/types/TraceTriggerType.mjs +9 -0
  208. package/dist/esm/api/types/TraceUnderstanding.d.mts +6 -0
  209. package/dist/esm/api/types/TraceUnderstanding.mjs +2 -0
  210. package/dist/esm/api/types/VectorSearchTaskInteractionQaAnswerScoreLabel.d.mts +5 -0
  211. package/dist/esm/api/types/VectorSearchTaskInteractionQaAnswerScoreLabel.mjs +5 -0
  212. package/dist/esm/api/types/WidgetRenderResponse.d.mts +3 -0
  213. package/dist/esm/api/types/WidgetRenderResponse.mjs +2 -0
  214. package/dist/esm/api/types/WorkflowCheckStatus.d.mts +7 -0
  215. package/dist/esm/api/types/WorkflowCheckStatus.mjs +7 -0
  216. package/dist/esm/api/types/index.d.mts +47 -0
  217. package/dist/esm/api/types/index.mjs +47 -0
  218. package/dist/esm/version.d.mts +1 -1
  219. package/dist/esm/version.mjs +1 -1
  220. package/package.json +1 -1
  221. package/reference.md +129 -2
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,10 @@
1
+ import type * as Apollo from "../index.mjs";
2
+ export interface TraceDecisionToolTextResponse {
3
+ type?: Apollo.TraceDecisionType;
4
+ tool: string;
5
+ status: string;
6
+ text?: string;
7
+ track_id?: string;
8
+ tone_of_voice?: string;
9
+ brevity?: string;
10
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,15 @@
1
+ /** Schema: no_tool | activate_tool | params_check | rule_triggered | call_integration | ask_question | ask_confirmation | block | self_review. */
2
+ export declare const TraceDecisionType: {
3
+ readonly NoTool: "no_tool";
4
+ readonly ActivateTool: "activate_tool";
5
+ readonly ActivateSubTool: "activate_sub_tool";
6
+ readonly ParamsCheck: "params_check";
7
+ readonly RuleTriggered: "rule_triggered";
8
+ readonly CallIntegration: "call_integration";
9
+ readonly AskQuestion: "ask_question";
10
+ readonly AskConfirmation: "ask_confirmation";
11
+ readonly Block: "block";
12
+ readonly SelfReview: "self_review";
13
+ readonly ToolTextResponse: "tool_text_response";
14
+ };
15
+ export type TraceDecisionType = (typeof TraceDecisionType)[keyof typeof TraceDecisionType];
@@ -0,0 +1,15 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ /** Schema: no_tool | activate_tool | params_check | rule_triggered | call_integration | ask_question | ask_confirmation | block | self_review. */
3
+ export const TraceDecisionType = {
4
+ NoTool: "no_tool",
5
+ ActivateTool: "activate_tool",
6
+ ActivateSubTool: "activate_sub_tool",
7
+ ParamsCheck: "params_check",
8
+ RuleTriggered: "rule_triggered",
9
+ CallIntegration: "call_integration",
10
+ AskQuestion: "ask_question",
11
+ AskConfirmation: "ask_confirmation",
12
+ Block: "block",
13
+ SelfReview: "self_review",
14
+ ToolTextResponse: "tool_text_response",
15
+ };
@@ -0,0 +1,9 @@
1
+ import type * as Apollo from "../index.mjs";
2
+ export interface TraceEntity {
3
+ entity: string;
4
+ identifier?: string;
5
+ reference?: string;
6
+ source: Apollo.TraceEntitySource;
7
+ params?: Record<string, unknown>;
8
+ sub_entities?: Apollo.TraceSubEntity[];
9
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,7 @@
1
+ /** Entity source. Schema enum: external_context | user_message | response_mapping. */
2
+ export declare const TraceEntitySource: {
3
+ readonly ExternalContext: "external_context";
4
+ readonly UserMessage: "user_message";
5
+ readonly ResponseMapping: "response_mapping";
6
+ };
7
+ export type TraceEntitySource = (typeof TraceEntitySource)[keyof typeof TraceEntitySource];
@@ -0,0 +1,7 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ /** Entity source. Schema enum: external_context | user_message | response_mapping. */
3
+ export const TraceEntitySource = {
4
+ ExternalContext: "external_context",
5
+ UserMessage: "user_message",
6
+ ResponseMapping: "response_mapping",
7
+ };
@@ -0,0 +1,4 @@
1
+ export interface TraceGuardrails {
2
+ passed: boolean;
3
+ reason?: string;
4
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,17 @@
1
+ import type * as Apollo from "../index.mjs";
2
+ /**
3
+ * Root trace. Schema: input, understanding, decisions, response (required); context (optional).
4
+ */
5
+ export interface TraceInfo {
6
+ input: Apollo.TraceInput;
7
+ context?: Apollo.TraceContext;
8
+ understanding: Apollo.TraceUnderstanding;
9
+ decisions?: TraceInfo.Decisions.Item[];
10
+ response: Apollo.TraceResponse;
11
+ }
12
+ export declare namespace TraceInfo {
13
+ type Decisions = Decisions.Item[];
14
+ namespace Decisions {
15
+ type Item = Apollo.TraceDecisionActivateTool | Apollo.TraceDecisionRuleTriggered | Apollo.TraceDecisionParamsCheck | Apollo.TraceDecisionCallIntegration | Apollo.TraceDecisionAskForConfirmation | Apollo.TraceDecisionToolTextResponse | Apollo.TraceDecisionSelfReview | Apollo.TraceDecisionActivateSubTool;
16
+ }
17
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Schema: message (required).
3
+ */
4
+ export interface TraceInput {
5
+ message: string;
6
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,7 @@
1
+ export interface TraceIntegrationRequest {
2
+ name: string;
3
+ url: string;
4
+ method: string;
5
+ category: string;
6
+ params?: unknown;
7
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,5 @@
1
+ import type * as Apollo from "../index.mjs";
2
+ export interface TraceIntegrationResponse {
3
+ name: string;
4
+ items?: Apollo.TraceIntegrationResponseItem[];
5
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,5 @@
1
+ import type * as Apollo from "../index.mjs";
2
+ export interface TraceIntegrationResponseItem {
3
+ params?: Record<string, unknown>;
4
+ sub_entities?: Apollo.TraceApiResponseSubEntity[];
5
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,10 @@
1
+ /** Schema: REST | MCP | RAG | INTERNAL_CONTEXT | STRUCTURED | GEN_AI. */
2
+ export declare const TraceIntegrationType: {
3
+ readonly Rest: "REST";
4
+ readonly Mcp: "MCP";
5
+ readonly Rag: "RAG";
6
+ readonly InternalContext: "INTERNAL_CONTEXT";
7
+ readonly Structured: "STRUCTURED";
8
+ readonly GenAi: "GEN_AI";
9
+ };
10
+ export type TraceIntegrationType = (typeof TraceIntegrationType)[keyof typeof TraceIntegrationType];
@@ -0,0 +1,10 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ /** Schema: REST | MCP | RAG | INTERNAL_CONTEXT | STRUCTURED | GEN_AI. */
3
+ export const TraceIntegrationType = {
4
+ Rest: "REST",
5
+ Mcp: "MCP",
6
+ Rag: "RAG",
7
+ InternalContext: "INTERNAL_CONTEXT",
8
+ Structured: "STRUCTURED",
9
+ GenAi: "GEN_AI",
10
+ };
@@ -0,0 +1,9 @@
1
+ /** Schema: all_filled | missing_required | missing_optional | missing_optional_and_required | missing_optional_ask_once. */
2
+ export declare const TraceParamsCheckStatus: {
3
+ readonly AllFilled: "all_filled";
4
+ readonly MissingRequired: "missing_required";
5
+ readonly MissingOptional: "missing_optional";
6
+ readonly MissingOptionalAskOnce: "missing_optional_ask_once";
7
+ readonly MissingOptionalAndRequired: "missing_optional_and_required";
8
+ };
9
+ export type TraceParamsCheckStatus = (typeof TraceParamsCheckStatus)[keyof typeof TraceParamsCheckStatus];
@@ -0,0 +1,9 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ /** Schema: all_filled | missing_required | missing_optional | missing_optional_and_required | missing_optional_ask_once. */
3
+ export const TraceParamsCheckStatus = {
4
+ AllFilled: "all_filled",
5
+ MissingRequired: "missing_required",
6
+ MissingOptional: "missing_optional",
7
+ MissingOptionalAskOnce: "missing_optional_ask_once",
8
+ MissingOptionalAndRequired: "missing_optional_and_required",
9
+ };
@@ -0,0 +1,7 @@
1
+ /** Schema: missing_params | from_rule | clarification. Why asking a question. */
2
+ export declare const TraceQuestionReason: {
3
+ readonly MissingParams: "missing_params";
4
+ readonly FromRule: "from_rule";
5
+ readonly Clarification: "clarification";
6
+ };
7
+ export type TraceQuestionReason = (typeof TraceQuestionReason)[keyof typeof TraceQuestionReason];
@@ -0,0 +1,7 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ /** Schema: missing_params | from_rule | clarification. Why asking a question. */
3
+ export const TraceQuestionReason = {
4
+ MissingParams: "missing_params",
5
+ FromRule: "from_rule",
6
+ Clarification: "clarification",
7
+ };
@@ -0,0 +1,10 @@
1
+ import type * as Apollo from "../index.mjs";
2
+ /**
3
+ * RAG (knowledge hub) integration call details.
4
+ */
5
+ export interface TraceRagIntegration {
6
+ code: string;
7
+ type?: Apollo.TraceIntegrationType;
8
+ request: Apollo.TraceRagRequest;
9
+ response?: Apollo.TraceRagResponse;
10
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,6 @@
1
+ /**
2
+ * RAG (knowledge hub) retrieval request.
3
+ */
4
+ export interface TraceRagRequest {
5
+ question?: string;
6
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,10 @@
1
+ import type * as Apollo from "../index.mjs";
2
+ /**
3
+ * RAG (knowledge hub) retrieval resource.
4
+ */
5
+ export interface TraceRagResource {
6
+ title: string;
7
+ content: string;
8
+ score: number;
9
+ score_label?: Apollo.VectorSearchTaskInteractionQaAnswerScoreLabel;
10
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,7 @@
1
+ import type * as Apollo from "../index.mjs";
2
+ /**
3
+ * RAG (knowledge hub) retrieval response.
4
+ */
5
+ export interface TraceRagResponse {
6
+ resources?: Apollo.TraceRagResource[];
7
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,6 @@
1
+ export interface TraceReferencedEntity {
2
+ entity: string;
3
+ identifier?: string;
4
+ reference?: string;
5
+ is_visible: boolean;
6
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,13 @@
1
+ import type * as Apollo from "../index.mjs";
2
+ /**
3
+ * Schema: type, message (required); tool, tool_status, suggestions, rules, question_reason, asking_for, block_message, error (optional).
4
+ */
5
+ export interface TraceResponse {
6
+ type: Apollo.TraceResponseType;
7
+ message: string;
8
+ suggestions?: string[];
9
+ question_reason?: Apollo.TraceQuestionReason;
10
+ asking_for?: string[];
11
+ block_message?: string;
12
+ error?: string;
13
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,9 @@
1
+ /** Schema: answer | question | blocked | confirmation_request | error. */
2
+ export declare const TraceResponseType: {
3
+ readonly Answer: "answer";
4
+ readonly Question: "question";
5
+ readonly Blocked: "blocked";
6
+ readonly ConfirmationRequest: "confirmation_request";
7
+ readonly Error: "error";
8
+ };
9
+ export type TraceResponseType = (typeof TraceResponseType)[keyof typeof TraceResponseType];
@@ -0,0 +1,9 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ /** Schema: answer | question | blocked | confirmation_request | error. */
3
+ export const TraceResponseType = {
4
+ Answer: "answer",
5
+ Question: "question",
6
+ Blocked: "blocked",
7
+ ConfirmationRequest: "confirmation_request",
8
+ Error: "error",
9
+ };
@@ -0,0 +1,15 @@
1
+ import type * as Apollo from "../index.mjs";
2
+ /**
3
+ * REST API integration call details.
4
+ */
5
+ export interface TraceRestIntegration {
6
+ code: string;
7
+ type?: Apollo.TraceIntegrationType;
8
+ requests: Apollo.TraceIntegrationRequest[];
9
+ response?: TraceRestIntegration.Response;
10
+ status_code?: number;
11
+ error_message?: string;
12
+ }
13
+ export declare namespace TraceRestIntegration {
14
+ type Response = Record<string, Apollo.TraceIntegrationResponse[]> | unknown;
15
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,12 @@
1
+ /** Schema: BLOCK | ADD_REQUIRED_PARAM | ASK_A_QUESTION | TEXT | ACTIVATE_ANOTHER_TOOL. */
2
+ export declare const TraceRuleAction: {
3
+ readonly AddRequiredParam: "ADD_REQUIRED_PARAM";
4
+ readonly AskAQuestion: "ASK_A_QUESTION";
5
+ readonly Block: "BLOCK";
6
+ readonly PartialBlock: "PARTIAL_BLOCK";
7
+ readonly Text: "TEXT";
8
+ readonly BlockAndActivateAnotherTool: "BLOCK_AND_ACTIVATE_ANOTHER_TOOL";
9
+ readonly ActivateSubTool: "ACTIVATE_SUB_TOOL";
10
+ readonly Integration: "INTEGRATION";
11
+ };
12
+ export type TraceRuleAction = (typeof TraceRuleAction)[keyof typeof TraceRuleAction];
@@ -0,0 +1,12 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ /** Schema: BLOCK | ADD_REQUIRED_PARAM | ASK_A_QUESTION | TEXT | ACTIVATE_ANOTHER_TOOL. */
3
+ export const TraceRuleAction = {
4
+ AddRequiredParam: "ADD_REQUIRED_PARAM",
5
+ AskAQuestion: "ASK_A_QUESTION",
6
+ Block: "BLOCK",
7
+ PartialBlock: "PARTIAL_BLOCK",
8
+ Text: "TEXT",
9
+ BlockAndActivateAnotherTool: "BLOCK_AND_ACTIVATE_ANOTHER_TOOL",
10
+ ActivateSubTool: "ACTIVATE_SUB_TOOL",
11
+ Integration: "INTEGRATION",
12
+ };
@@ -0,0 +1,9 @@
1
+ import type * as Apollo from "../index.mjs";
2
+ export interface TraceRuleBase {
3
+ type: Apollo.TraceRuleType;
4
+ action?: Apollo.TraceRuleAction;
5
+ reason?: string;
6
+ params_added?: Record<string, unknown>;
7
+ excluded_entities?: string[];
8
+ code?: string;
9
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,10 @@
1
+ import type * as Apollo from "../index.mjs";
2
+ export interface TraceRuleMissingInfo {
3
+ type: Apollo.TraceRuleType;
4
+ action?: Apollo.TraceRuleAction;
5
+ reason?: string;
6
+ params_added?: Record<string, unknown>;
7
+ excluded_entities?: string[];
8
+ code?: string;
9
+ required_missing_params_by_group?: string[][];
10
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,12 @@
1
+ import type * as Apollo from "../index.mjs";
2
+ export interface TraceRuleParamsMissing {
3
+ type?: Apollo.TraceRuleType;
4
+ action?: Apollo.TraceRuleAction;
5
+ status: Apollo.TraceParamsCheckStatus;
6
+ /** Per mandatory group (workflow order); inner list = unfilled param codes. */
7
+ required_missing_params_by_group?: string[][];
8
+ /** Per optional group (workflow order); inner list = unfilled param codes. */
9
+ optional_missing_params_by_group?: string[][];
10
+ reason?: string;
11
+ code?: string;
12
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,10 @@
1
+ /** Schema: constraint | required_param | missing_info | success | fail. */
2
+ export declare const TraceRuleType: {
3
+ readonly Constraint: "constraint";
4
+ readonly RequiredParam: "required_param";
5
+ readonly MissingInfo: "missing_info";
6
+ readonly Success: "success";
7
+ readonly Fail: "fail";
8
+ readonly Block: "block";
9
+ };
10
+ export type TraceRuleType = (typeof TraceRuleType)[keyof typeof TraceRuleType];
@@ -0,0 +1,10 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ /** Schema: constraint | required_param | missing_info | success | fail. */
3
+ export const TraceRuleType = {
4
+ Constraint: "constraint",
5
+ RequiredParam: "required_param",
6
+ MissingInfo: "missing_info",
7
+ Success: "success",
8
+ Fail: "fail",
9
+ Block: "block",
10
+ };
@@ -0,0 +1,9 @@
1
+ import type * as Apollo from "../index.mjs";
2
+ export interface TraceSelfReviewEntity {
3
+ entity: string;
4
+ identifier?: string;
5
+ reference?: string;
6
+ sub_entities?: Apollo.TracSelfReviewSubEntity[];
7
+ self_review?: Apollo.TraceSelfReviewSection;
8
+ is_visible: boolean;
9
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Self-review section: score label and mismatches.
3
+ */
4
+ export interface TraceSelfReviewSection {
5
+ score_label?: string;
6
+ mismatches?: string[];
7
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,5 @@
1
+ export interface TraceSubEntity {
2
+ entity: string;
3
+ params?: Record<string, unknown>;
4
+ reference?: string;
5
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,9 @@
1
+ import type * as Apollo from "../index.mjs";
2
+ /**
3
+ * Schema: type (required); params, matched_objective, reason (optional).
4
+ */
5
+ export interface TraceTrigger {
6
+ type: Apollo.TraceTriggerType;
7
+ reasons?: string[];
8
+ matched_objective?: string;
9
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,9 @@
1
+ /** Schema: active_tool | intent_classification | structured. */
2
+ export declare const TraceTriggerType: {
3
+ readonly Structured: "structured";
4
+ readonly IntentClassification: "intent_classification";
5
+ readonly ActiveTool: "active_tool";
6
+ readonly Rule: "rule";
7
+ readonly SubTool: "sub_tool";
8
+ };
9
+ export type TraceTriggerType = (typeof TraceTriggerType)[keyof typeof TraceTriggerType];
@@ -0,0 +1,9 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ /** Schema: active_tool | intent_classification | structured. */
3
+ export const TraceTriggerType = {
4
+ Structured: "structured",
5
+ IntentClassification: "intent_classification",
6
+ ActiveTool: "active_tool",
7
+ Rule: "rule",
8
+ SubTool: "sub_tool",
9
+ };
@@ -0,0 +1,6 @@
1
+ import type * as Apollo from "../index.mjs";
2
+ export interface TraceUnderstanding {
3
+ guardrails: Apollo.TraceGuardrails;
4
+ intents?: string[];
5
+ extracted_params?: Record<string, unknown>;
6
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,5 @@
1
+ export declare const VectorSearchTaskInteractionQaAnswerScoreLabel: {
2
+ readonly High: "HIGH";
3
+ readonly Low: "LOW";
4
+ };
5
+ export type VectorSearchTaskInteractionQaAnswerScoreLabel = (typeof VectorSearchTaskInteractionQaAnswerScoreLabel)[keyof typeof VectorSearchTaskInteractionQaAnswerScoreLabel];
@@ -0,0 +1,5 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export const VectorSearchTaskInteractionQaAnswerScoreLabel = {
3
+ High: "HIGH",
4
+ Low: "LOW",
5
+ };
@@ -0,0 +1,3 @@
1
+ export interface WidgetRenderResponse {
2
+ rendered_jsx: string;
3
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,7 @@
1
+ export declare const WorkflowCheckStatus: {
2
+ readonly Confirmed: "CONFIRMED";
3
+ readonly Blocked: "BLOCKED";
4
+ readonly Active: "ACTIVE";
5
+ readonly Cancelled: "CANCELLED";
6
+ };
7
+ export type WorkflowCheckStatus = (typeof WorkflowCheckStatus)[keyof typeof WorkflowCheckStatus];
@@ -0,0 +1,7 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export const WorkflowCheckStatus = {
3
+ Confirmed: "CONFIRMED",
4
+ Blocked: "BLOCKED",
5
+ Active: "ACTIVE",
6
+ Cancelled: "CANCELLED",
7
+ };