vellum-ai 0.1.7 → 0.1.9

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 (566) hide show
  1. package/Client.d.ts +21 -5
  2. package/Client.js +137 -44
  3. package/api/{types → client/requests}/ExecutePromptRequest.d.ts +7 -1
  4. package/api/client/requests/ExecutePromptStreamRequest.d.ts +20 -0
  5. package/api/client/requests/GenerateBodyRequest.d.ts +11 -0
  6. package/api/client/requests/SubmitCompletionActualsRequest.d.ts +6 -0
  7. package/api/client/requests/SubmitWorkflowExecutionActualsRequest.d.ts +6 -0
  8. package/api/client/requests/index.d.ts +2 -0
  9. package/api/resources/deployments/client/Client.js +2 -2
  10. package/api/resources/deployments/client/requests/DeploymentProviderPayloadRequest.d.ts +6 -0
  11. package/api/resources/documentIndexes/client/Client.js +2 -2
  12. package/api/resources/documents/client/Client.d.ts +3 -0
  13. package/api/resources/documents/client/Client.js +7 -5
  14. package/api/resources/documents/client/requests/DocumentsListRequest.d.ts +4 -0
  15. package/api/resources/modelVersions/client/Client.js +1 -1
  16. package/api/resources/registeredPrompts/client/Client.js +1 -1
  17. package/api/resources/registeredPrompts/client/requests/RegisterPromptRequestRequest.d.ts +1 -0
  18. package/api/resources/sandboxes/client/Client.d.ts +3 -0
  19. package/api/resources/sandboxes/client/Client.js +5 -2
  20. package/api/resources/testSuites/client/Client.d.ts +9 -1
  21. package/api/resources/testSuites/client/Client.js +13 -3
  22. package/api/resources/testSuites/client/requests/UpsertTestSuiteTestCaseRequest.d.ts +17 -0
  23. package/api/resources/testSuites/client/requests/index.d.ts +1 -1
  24. package/api/types/BlockTypeEnum.d.ts +4 -4
  25. package/api/types/ChatMessageRole.d.ts +4 -4
  26. package/{dist/api/types/ErrorExecutePromptResponse.d.ts → api/types/CodeExecutionNodeChatHistoryResult.d.ts} +3 -3
  27. package/api/types/{FulfilledExecutePromptStreamingResponse.d.ts → CodeExecutionNodeErrorResult.d.ts} +3 -2
  28. package/{dist/api/types/TestCaseJsonVariableValueRequest.d.ts → api/types/CodeExecutionNodeJsonResult.d.ts} +2 -2
  29. package/api/types/{TestCaseNumberVariableValueRequest.d.ts → CodeExecutionNodeNumberResult.d.ts} +2 -2
  30. package/{dist/api/types/FulfilledExecutePromptStreamingResponse.d.ts → api/types/CodeExecutionNodeResult.d.ts} +2 -2
  31. package/{dist/api/types/StreamingExecutePromptStreamingResponse.d.ts → api/types/CodeExecutionNodeResultData.d.ts} +2 -2
  32. package/api/types/CodeExecutionNodeResultOutput.d.ts +25 -0
  33. package/api/types/CodeExecutionNodeSearchResultsResult.d.ts +8 -0
  34. package/api/types/{TestCaseStringVariableValueRequest.d.ts → CodeExecutionNodeStringResult.d.ts} +2 -2
  35. package/api/types/DeploymentRead.d.ts +6 -6
  36. package/api/types/DeploymentStatus.d.ts +3 -3
  37. package/api/types/DocumentDocumentToDocumentIndex.d.ts +5 -5
  38. package/api/types/DocumentIndexRead.d.ts +5 -5
  39. package/api/types/DocumentIndexStatus.d.ts +2 -2
  40. package/api/types/DocumentRead.d.ts +5 -5
  41. package/api/types/EnrichedNormalizedCompletion.d.ts +3 -3
  42. package/api/types/EnvironmentEnum.d.ts +3 -3
  43. package/api/types/{StreamingExecutePromptStreamingResponse.d.ts → ErrorVariableValue.d.ts} +2 -2
  44. package/api/types/ExecutePromptEvent.d.ts +19 -0
  45. package/api/types/ExecutePromptResponse.d.ts +5 -8
  46. package/api/types/FinishReasonEnum.d.ts +3 -3
  47. package/api/types/FulfilledEnum.d.ts +4 -0
  48. package/api/types/FulfilledExecutePromptEvent.d.ts +12 -0
  49. package/api/types/FulfilledExecutePromptResponse.d.ts +15 -0
  50. package/api/types/FulfilledPromptExecutionMeta.d.ts +11 -0
  51. package/api/types/GenerateOptionsRequest.d.ts +2 -2
  52. package/api/types/IndexingStateEnum.d.ts +5 -5
  53. package/api/types/InitiatedEnum.d.ts +4 -0
  54. package/api/types/InitiatedExecutePromptEvent.d.ts +11 -0
  55. package/api/types/InitiatedPromptExecutionMeta.d.ts +12 -0
  56. package/api/types/{TestCaseJsonVariableValueRequest.d.ts → JsonVariableValue.d.ts} +1 -2
  57. package/api/types/LogicalOperator.d.ts +18 -18
  58. package/api/types/LogprobsEnum.d.ts +2 -2
  59. package/api/types/MetadataFilterRuleCombinator.d.ts +2 -2
  60. package/api/types/ModelVersionRead.d.ts +13 -12
  61. package/api/types/ModelVersionReadStatusEnum.d.ts +4 -4
  62. package/api/types/{TestCaseChatHistoryVariableValueRequest.d.ts → NamedTestCaseChatHistoryVariableValueRequest.d.ts} +2 -2
  63. package/api/types/{TestCaseErrorVariableValueRequest.d.ts → NamedTestCaseErrorVariableValueRequest.d.ts} +2 -2
  64. package/api/types/NamedTestCaseJsonVariableValueRequest.d.ts +7 -0
  65. package/{dist/api/types/TestCaseNumberVariableValueRequest.d.ts → api/types/NamedTestCaseNumberVariableValueRequest.d.ts} +2 -2
  66. package/api/types/{TestCaseSearchResultsVariableValueRequest.d.ts → NamedTestCaseSearchResultsVariableValueRequest.d.ts} +2 -2
  67. package/{dist/api/types/TestCaseStringVariableValueRequest.d.ts → api/types/NamedTestCaseStringVariableValueRequest.d.ts} +2 -2
  68. package/api/types/NamedTestCaseVariableValueRequest.d.ts +25 -0
  69. package/api/types/ProcessingFailureReasonEnum.d.ts +2 -2
  70. package/api/types/ProcessingStateEnum.d.ts +4 -4
  71. package/api/types/PromptDeploymentExpandMetaRequestRequest.d.ts +15 -0
  72. package/api/types/PromptExecutionMeta.d.ts +14 -0
  73. package/api/types/PromptOutput.d.ts +16 -0
  74. package/api/types/ProviderEnum.d.ts +15 -13
  75. package/api/types/ProviderEnum.js +1 -0
  76. package/api/types/RawPromptExecutionOverridesRequest.d.ts +10 -0
  77. package/api/types/RejectedEnum.d.ts +4 -0
  78. package/api/types/RejectedExecutePromptEvent.d.ts +12 -0
  79. package/api/types/RejectedExecutePromptResponse.d.ts +8 -2
  80. package/api/types/RejectedPromptExecutionMeta.d.ts +11 -0
  81. package/api/types/ScenarioInputTypeEnum.d.ts +2 -2
  82. package/api/types/SlimDocument.d.ts +7 -7
  83. package/api/types/StreamingEnum.d.ts +4 -0
  84. package/api/types/StreamingEnum.js +5 -0
  85. package/api/types/StreamingExecutePromptEvent.d.ts +15 -0
  86. package/api/types/StreamingExecutePromptEvent.js +5 -0
  87. package/api/types/StreamingPromptExecutionMeta.d.ts +9 -0
  88. package/api/types/StreamingPromptExecutionMeta.js +5 -0
  89. package/api/types/StringVariableValue.d.ts +6 -0
  90. package/api/types/StringVariableValue.js +5 -0
  91. package/api/types/VellumErrorCodeEnum.d.ts +3 -3
  92. package/api/types/VellumVariableType.d.ts +9 -7
  93. package/api/types/VellumVariableType.js +1 -0
  94. package/api/types/WorkflowExecutionEventErrorCode.d.ts +6 -6
  95. package/api/types/WorkflowExecutionEventType.d.ts +2 -2
  96. package/api/types/WorkflowNodeResultData.d.ts +4 -1
  97. package/api/types/WorkflowNodeResultEventState.d.ts +4 -4
  98. package/api/types/WorkflowRequestInputRequest.d.ts +4 -1
  99. package/api/types/WorkflowRequestNumberInputRequest.d.ts +8 -0
  100. package/api/types/WorkflowRequestNumberInputRequest.js +5 -0
  101. package/api/types/index.d.ts +38 -17
  102. package/api/types/index.js +38 -17
  103. package/core/fetcher/APIResponse.d.ts +1 -0
  104. package/core/fetcher/Fetcher.d.ts +1 -4
  105. package/core/fetcher/Fetcher.js +52 -31
  106. package/core/fetcher/getHeader.d.ts +1 -0
  107. package/core/{streaming-fetcher → fetcher}/getHeader.js +2 -2
  108. package/core/fetcher/index.d.ts +1 -0
  109. package/core/fetcher/index.js +3 -1
  110. package/core/index.d.ts +0 -1
  111. package/core/index.js +0 -1
  112. package/core/streaming-fetcher/Stream.d.ts +3 -2
  113. package/core/streaming-fetcher/index.d.ts +0 -3
  114. package/core/streaming-fetcher/index.js +1 -5
  115. package/dist/Client.d.ts +21 -5
  116. package/dist/Client.js +137 -44
  117. package/dist/api/{types → client/requests}/ExecutePromptRequest.d.ts +7 -1
  118. package/dist/api/client/requests/ExecutePromptRequest.js +5 -0
  119. package/dist/api/client/requests/ExecutePromptStreamRequest.d.ts +20 -0
  120. package/dist/api/client/requests/ExecutePromptStreamRequest.js +5 -0
  121. package/dist/api/client/requests/GenerateBodyRequest.d.ts +11 -0
  122. package/dist/api/client/requests/SubmitCompletionActualsRequest.d.ts +6 -0
  123. package/dist/api/client/requests/SubmitWorkflowExecutionActualsRequest.d.ts +6 -0
  124. package/dist/api/client/requests/index.d.ts +2 -0
  125. package/dist/api/resources/deployments/client/Client.js +2 -2
  126. package/dist/api/resources/deployments/client/requests/DeploymentProviderPayloadRequest.d.ts +6 -0
  127. package/dist/api/resources/documentIndexes/client/Client.js +2 -2
  128. package/dist/api/resources/documents/client/Client.d.ts +3 -0
  129. package/dist/api/resources/documents/client/Client.js +7 -5
  130. package/dist/api/resources/documents/client/requests/DocumentsListRequest.d.ts +4 -0
  131. package/dist/api/resources/modelVersions/client/Client.js +1 -1
  132. package/dist/api/resources/registeredPrompts/client/Client.js +1 -1
  133. package/dist/api/resources/registeredPrompts/client/requests/RegisterPromptRequestRequest.d.ts +1 -0
  134. package/dist/api/resources/sandboxes/client/Client.d.ts +3 -0
  135. package/dist/api/resources/sandboxes/client/Client.js +5 -2
  136. package/dist/api/resources/testSuites/client/Client.d.ts +9 -1
  137. package/dist/api/resources/testSuites/client/Client.js +13 -3
  138. package/dist/api/resources/testSuites/client/requests/UpsertTestSuiteTestCaseRequest.d.ts +17 -0
  139. package/dist/api/resources/testSuites/client/requests/UpsertTestSuiteTestCaseRequest.js +5 -0
  140. package/dist/api/resources/testSuites/client/requests/index.d.ts +1 -1
  141. package/dist/api/types/BlockTypeEnum.d.ts +4 -4
  142. package/dist/api/types/ChatMessageRole.d.ts +4 -4
  143. package/{api/types/ErrorExecutePromptResponse.d.ts → dist/api/types/CodeExecutionNodeChatHistoryResult.d.ts} +3 -3
  144. package/dist/api/types/CodeExecutionNodeChatHistoryResult.js +5 -0
  145. package/dist/api/types/CodeExecutionNodeErrorResult.d.ts +8 -0
  146. package/dist/api/types/CodeExecutionNodeErrorResult.js +5 -0
  147. package/dist/api/types/CodeExecutionNodeJsonResult.d.ts +7 -0
  148. package/dist/api/types/CodeExecutionNodeJsonResult.js +5 -0
  149. package/dist/api/types/CodeExecutionNodeNumberResult.d.ts +7 -0
  150. package/dist/api/types/CodeExecutionNodeNumberResult.js +5 -0
  151. package/dist/api/types/CodeExecutionNodeResult.d.ts +7 -0
  152. package/dist/api/types/CodeExecutionNodeResult.js +5 -0
  153. package/dist/api/types/CodeExecutionNodeResultData.d.ts +7 -0
  154. package/dist/api/types/CodeExecutionNodeResultData.js +5 -0
  155. package/dist/api/types/CodeExecutionNodeResultOutput.d.ts +25 -0
  156. package/dist/api/types/CodeExecutionNodeResultOutput.js +5 -0
  157. package/dist/api/types/CodeExecutionNodeSearchResultsResult.d.ts +8 -0
  158. package/dist/api/types/CodeExecutionNodeSearchResultsResult.js +5 -0
  159. package/dist/api/types/CodeExecutionNodeStringResult.d.ts +7 -0
  160. package/dist/api/types/CodeExecutionNodeStringResult.js +5 -0
  161. package/dist/api/types/DeploymentRead.d.ts +6 -6
  162. package/dist/api/types/DeploymentStatus.d.ts +3 -3
  163. package/dist/api/types/DocumentDocumentToDocumentIndex.d.ts +5 -5
  164. package/dist/api/types/DocumentIndexRead.d.ts +5 -5
  165. package/dist/api/types/DocumentIndexStatus.d.ts +2 -2
  166. package/dist/api/types/DocumentRead.d.ts +5 -5
  167. package/dist/api/types/EnrichedNormalizedCompletion.d.ts +3 -3
  168. package/dist/api/types/EnvironmentEnum.d.ts +3 -3
  169. package/dist/api/types/ErrorVariableValue.d.ts +7 -0
  170. package/dist/api/types/ErrorVariableValue.js +5 -0
  171. package/dist/api/types/ExecutePromptEvent.d.ts +19 -0
  172. package/dist/api/types/ExecutePromptEvent.js +5 -0
  173. package/dist/api/types/ExecutePromptResponse.d.ts +5 -8
  174. package/dist/api/types/FinishReasonEnum.d.ts +3 -3
  175. package/dist/api/types/FulfilledEnum.d.ts +4 -0
  176. package/dist/api/types/FulfilledEnum.js +5 -0
  177. package/dist/api/types/FulfilledExecutePromptEvent.d.ts +12 -0
  178. package/dist/api/types/FulfilledExecutePromptEvent.js +5 -0
  179. package/dist/api/types/FulfilledExecutePromptResponse.d.ts +15 -0
  180. package/dist/api/types/FulfilledExecutePromptResponse.js +5 -0
  181. package/dist/api/types/FulfilledPromptExecutionMeta.d.ts +11 -0
  182. package/dist/api/types/FulfilledPromptExecutionMeta.js +5 -0
  183. package/dist/api/types/GenerateOptionsRequest.d.ts +2 -2
  184. package/dist/api/types/IndexingStateEnum.d.ts +5 -5
  185. package/dist/api/types/InitiatedEnum.d.ts +4 -0
  186. package/dist/api/types/InitiatedEnum.js +5 -0
  187. package/dist/api/types/InitiatedExecutePromptEvent.d.ts +11 -0
  188. package/dist/api/types/InitiatedExecutePromptEvent.js +5 -0
  189. package/dist/api/types/InitiatedPromptExecutionMeta.d.ts +12 -0
  190. package/dist/api/types/InitiatedPromptExecutionMeta.js +5 -0
  191. package/dist/api/types/JsonVariableValue.d.ts +6 -0
  192. package/dist/api/types/JsonVariableValue.js +5 -0
  193. package/dist/api/types/LogicalOperator.d.ts +18 -18
  194. package/dist/api/types/LogprobsEnum.d.ts +2 -2
  195. package/dist/api/types/MetadataFilterRuleCombinator.d.ts +2 -2
  196. package/dist/api/types/ModelVersionRead.d.ts +13 -12
  197. package/dist/api/types/ModelVersionReadStatusEnum.d.ts +4 -4
  198. package/dist/api/types/{TestCaseChatHistoryVariableValueRequest.d.ts → NamedTestCaseChatHistoryVariableValueRequest.d.ts} +2 -2
  199. package/dist/api/types/NamedTestCaseChatHistoryVariableValueRequest.js +5 -0
  200. package/dist/api/types/{TestCaseErrorVariableValueRequest.d.ts → NamedTestCaseErrorVariableValueRequest.d.ts} +2 -2
  201. package/dist/api/types/NamedTestCaseErrorVariableValueRequest.js +5 -0
  202. package/dist/api/types/NamedTestCaseJsonVariableValueRequest.d.ts +7 -0
  203. package/dist/api/types/NamedTestCaseJsonVariableValueRequest.js +5 -0
  204. package/dist/api/types/NamedTestCaseNumberVariableValueRequest.d.ts +7 -0
  205. package/dist/api/types/NamedTestCaseNumberVariableValueRequest.js +5 -0
  206. package/dist/api/types/{TestCaseSearchResultsVariableValueRequest.d.ts → NamedTestCaseSearchResultsVariableValueRequest.d.ts} +2 -2
  207. package/dist/api/types/NamedTestCaseSearchResultsVariableValueRequest.js +5 -0
  208. package/dist/api/types/NamedTestCaseStringVariableValueRequest.d.ts +7 -0
  209. package/dist/api/types/NamedTestCaseStringVariableValueRequest.js +5 -0
  210. package/dist/api/types/NamedTestCaseVariableValueRequest.d.ts +25 -0
  211. package/dist/api/types/NamedTestCaseVariableValueRequest.js +5 -0
  212. package/dist/api/types/ProcessingFailureReasonEnum.d.ts +2 -2
  213. package/dist/api/types/ProcessingStateEnum.d.ts +4 -4
  214. package/dist/api/types/PromptDeploymentExpandMetaRequestRequest.d.ts +15 -0
  215. package/dist/api/types/PromptDeploymentExpandMetaRequestRequest.js +5 -0
  216. package/dist/api/types/PromptExecutionMeta.d.ts +14 -0
  217. package/dist/api/types/PromptExecutionMeta.js +5 -0
  218. package/dist/api/types/PromptOutput.d.ts +16 -0
  219. package/dist/api/types/PromptOutput.js +5 -0
  220. package/dist/api/types/ProviderEnum.d.ts +15 -13
  221. package/dist/api/types/ProviderEnum.js +1 -0
  222. package/dist/api/types/RawPromptExecutionOverridesRequest.d.ts +10 -0
  223. package/dist/api/types/RawPromptExecutionOverridesRequest.js +5 -0
  224. package/dist/api/types/RejectedEnum.d.ts +4 -0
  225. package/dist/api/types/RejectedEnum.js +5 -0
  226. package/dist/api/types/RejectedExecutePromptEvent.d.ts +12 -0
  227. package/dist/api/types/RejectedExecutePromptEvent.js +5 -0
  228. package/dist/api/types/RejectedExecutePromptResponse.d.ts +8 -2
  229. package/dist/api/types/RejectedPromptExecutionMeta.d.ts +11 -0
  230. package/dist/api/types/RejectedPromptExecutionMeta.js +5 -0
  231. package/dist/api/types/ScenarioInputTypeEnum.d.ts +2 -2
  232. package/dist/api/types/SlimDocument.d.ts +7 -7
  233. package/dist/api/types/StreamingEnum.d.ts +4 -0
  234. package/dist/api/types/StreamingEnum.js +5 -0
  235. package/dist/api/types/StreamingExecutePromptEvent.d.ts +15 -0
  236. package/dist/api/types/StreamingExecutePromptEvent.js +5 -0
  237. package/dist/api/types/StreamingPromptExecutionMeta.d.ts +9 -0
  238. package/dist/api/types/StreamingPromptExecutionMeta.js +5 -0
  239. package/dist/api/types/StringVariableValue.d.ts +6 -0
  240. package/dist/api/types/StringVariableValue.js +5 -0
  241. package/dist/api/types/VellumErrorCodeEnum.d.ts +3 -3
  242. package/dist/api/types/VellumVariableType.d.ts +9 -7
  243. package/dist/api/types/VellumVariableType.js +1 -0
  244. package/dist/api/types/WorkflowExecutionEventErrorCode.d.ts +6 -6
  245. package/dist/api/types/WorkflowExecutionEventType.d.ts +2 -2
  246. package/dist/api/types/WorkflowNodeResultData.d.ts +4 -1
  247. package/dist/api/types/WorkflowNodeResultEventState.d.ts +4 -4
  248. package/dist/api/types/WorkflowRequestInputRequest.d.ts +4 -1
  249. package/dist/api/types/WorkflowRequestNumberInputRequest.d.ts +8 -0
  250. package/dist/api/types/WorkflowRequestNumberInputRequest.js +5 -0
  251. package/dist/api/types/index.d.ts +38 -17
  252. package/dist/api/types/index.js +38 -17
  253. package/dist/core/fetcher/APIResponse.d.ts +1 -0
  254. package/dist/core/fetcher/Fetcher.d.ts +1 -4
  255. package/dist/core/fetcher/Fetcher.js +52 -31
  256. package/dist/core/fetcher/getHeader.d.ts +1 -0
  257. package/dist/core/{streaming-fetcher → fetcher}/getHeader.js +2 -2
  258. package/dist/core/fetcher/index.d.ts +1 -0
  259. package/dist/core/fetcher/index.js +3 -1
  260. package/dist/core/index.d.ts +0 -1
  261. package/dist/core/index.js +0 -1
  262. package/dist/core/streaming-fetcher/Stream.d.ts +3 -2
  263. package/dist/core/streaming-fetcher/index.d.ts +0 -3
  264. package/dist/core/streaming-fetcher/index.js +1 -5
  265. package/dist/serialization/client/requests/ExecutePromptRequest.d.ts +20 -0
  266. package/dist/serialization/{types → client/requests}/ExecutePromptRequest.js +8 -2
  267. package/dist/serialization/client/requests/ExecutePromptStreamRequest.d.ts +20 -0
  268. package/dist/serialization/client/requests/ExecutePromptStreamRequest.js +52 -0
  269. package/dist/serialization/client/requests/index.d.ts +2 -0
  270. package/dist/serialization/client/requests/index.js +5 -1
  271. package/dist/serialization/resources/testSuites/client/requests/UpsertTestSuiteTestCaseRequest.d.ts +15 -0
  272. package/{serialization/resources/testSuites/client/requests/TestSuiteTestCaseRequest.js → dist/serialization/resources/testSuites/client/requests/UpsertTestSuiteTestCaseRequest.js} +5 -5
  273. package/dist/serialization/resources/testSuites/client/requests/index.d.ts +1 -1
  274. package/dist/serialization/resources/testSuites/client/requests/index.js +3 -3
  275. package/dist/serialization/types/CodeExecutionNodeChatHistoryResult.d.ts +13 -0
  276. package/dist/serialization/types/CodeExecutionNodeChatHistoryResult.js +45 -0
  277. package/dist/serialization/types/CodeExecutionNodeErrorResult.d.ts +13 -0
  278. package/{serialization/types/ErrorExecutePromptResponse.js → dist/serialization/types/CodeExecutionNodeErrorResult.js} +4 -4
  279. package/dist/serialization/types/CodeExecutionNodeJsonResult.d.ts +13 -0
  280. package/dist/serialization/types/{TestCaseJsonVariableValueRequest.js → CodeExecutionNodeJsonResult.js} +3 -3
  281. package/{serialization/types/InitiatedExecutePromptResponse.d.ts → dist/serialization/types/CodeExecutionNodeNumberResult.d.ts} +4 -4
  282. package/{serialization/types/TestCaseNumberVariableValueRequest.js → dist/serialization/types/CodeExecutionNodeNumberResult.js} +3 -3
  283. package/dist/serialization/types/CodeExecutionNodeResult.d.ts +12 -0
  284. package/dist/serialization/types/{RejectedExecutePromptStreamingResponse.js → CodeExecutionNodeResult.js} +3 -3
  285. package/dist/serialization/types/CodeExecutionNodeResultData.d.ts +12 -0
  286. package/{serialization/types/FulfilledExecutePromptStreamingResponse.js → dist/serialization/types/CodeExecutionNodeResultData.js} +3 -3
  287. package/dist/serialization/types/CodeExecutionNodeResultOutput.d.ts +28 -0
  288. package/dist/serialization/types/{TestCaseVariableValueRequest.js → CodeExecutionNodeResultOutput.js} +8 -8
  289. package/dist/serialization/types/CodeExecutionNodeSearchResultsResult.d.ts +13 -0
  290. package/dist/serialization/types/CodeExecutionNodeSearchResultsResult.js +45 -0
  291. package/dist/serialization/types/CodeExecutionNodeStringResult.d.ts +13 -0
  292. package/dist/serialization/types/{TestCaseStringVariableValueRequest.js → CodeExecutionNodeStringResult.js} +3 -3
  293. package/dist/serialization/types/ErrorVariableValue.d.ts +12 -0
  294. package/dist/serialization/types/{ErrorExecutePromptResponse.js → ErrorVariableValue.js} +3 -4
  295. package/dist/serialization/types/{ExecutePromptStreamingResponse.d.ts → ExecutePromptEvent.d.ts} +7 -7
  296. package/dist/serialization/types/{ExecutePromptStreamingResponse.js → ExecutePromptEvent.js} +6 -6
  297. package/dist/serialization/types/ExecutePromptResponse.d.ts +5 -8
  298. package/dist/serialization/types/ExecutePromptResponse.js +3 -4
  299. package/dist/serialization/types/FulfilledEnum.d.ts +10 -0
  300. package/dist/serialization/types/FulfilledEnum.js +31 -0
  301. package/dist/serialization/types/FulfilledExecutePromptEvent.d.ts +14 -0
  302. package/dist/serialization/types/FulfilledExecutePromptEvent.js +44 -0
  303. package/dist/serialization/types/FulfilledExecutePromptResponse.d.ts +15 -0
  304. package/dist/serialization/types/FulfilledExecutePromptResponse.js +45 -0
  305. package/dist/serialization/types/FulfilledPromptExecutionMeta.d.ts +13 -0
  306. package/dist/serialization/types/FulfilledPromptExecutionMeta.js +43 -0
  307. package/dist/serialization/types/InitiatedEnum.d.ts +10 -0
  308. package/dist/serialization/types/InitiatedEnum.js +31 -0
  309. package/dist/serialization/types/InitiatedExecutePromptEvent.d.ts +13 -0
  310. package/dist/serialization/types/{InitiatedExecutePromptResponse.js → InitiatedExecutePromptEvent.js} +3 -3
  311. package/dist/serialization/types/InitiatedPromptExecutionMeta.d.ts +15 -0
  312. package/dist/serialization/types/InitiatedPromptExecutionMeta.js +36 -0
  313. package/dist/serialization/types/JsonVariableValue.d.ts +12 -0
  314. package/{serialization/types/TestCaseJsonVariableValueRequest.js → dist/serialization/types/JsonVariableValue.js} +2 -3
  315. package/dist/serialization/types/NamedTestCaseChatHistoryVariableValueRequest.d.ts +13 -0
  316. package/dist/serialization/types/{TestCaseChatHistoryVariableValueRequest.js → NamedTestCaseChatHistoryVariableValueRequest.js} +3 -3
  317. package/dist/serialization/types/NamedTestCaseErrorVariableValueRequest.d.ts +13 -0
  318. package/dist/serialization/types/{TestCaseErrorVariableValueRequest.js → NamedTestCaseErrorVariableValueRequest.js} +3 -3
  319. package/dist/serialization/types/NamedTestCaseJsonVariableValueRequest.d.ts +13 -0
  320. package/dist/serialization/types/{JsonExecutePromptResponse.js → NamedTestCaseJsonVariableValueRequest.js} +4 -4
  321. package/dist/serialization/types/NamedTestCaseNumberVariableValueRequest.d.ts +13 -0
  322. package/dist/serialization/types/{TestCaseNumberVariableValueRequest.js → NamedTestCaseNumberVariableValueRequest.js} +3 -3
  323. package/dist/serialization/types/NamedTestCaseSearchResultsVariableValueRequest.d.ts +13 -0
  324. package/dist/serialization/types/{TestCaseSearchResultsVariableValueRequest.js → NamedTestCaseSearchResultsVariableValueRequest.js} +3 -3
  325. package/dist/serialization/types/NamedTestCaseStringVariableValueRequest.d.ts +13 -0
  326. package/{serialization/types/TestCaseStringVariableValueRequest.js → dist/serialization/types/NamedTestCaseStringVariableValueRequest.js} +3 -3
  327. package/dist/serialization/types/NamedTestCaseVariableValueRequest.d.ts +28 -0
  328. package/dist/serialization/types/NamedTestCaseVariableValueRequest.js +52 -0
  329. package/dist/serialization/types/PromptDeploymentExpandMetaRequestRequest.d.ts +16 -0
  330. package/dist/serialization/types/PromptDeploymentExpandMetaRequestRequest.js +37 -0
  331. package/dist/serialization/types/PromptExecutionMeta.d.ts +16 -0
  332. package/dist/serialization/types/PromptExecutionMeta.js +46 -0
  333. package/dist/serialization/types/PromptOutput.d.ts +19 -0
  334. package/dist/serialization/types/PromptOutput.js +49 -0
  335. package/dist/serialization/types/ProviderEnum.d.ts +1 -1
  336. package/dist/serialization/types/ProviderEnum.js +1 -0
  337. package/dist/serialization/types/RawPromptExecutionOverridesRequest.d.ts +14 -0
  338. package/dist/serialization/types/RawPromptExecutionOverridesRequest.js +35 -0
  339. package/dist/serialization/types/RejectedEnum.d.ts +10 -0
  340. package/dist/serialization/types/RejectedEnum.js +31 -0
  341. package/dist/serialization/types/RejectedExecutePromptEvent.d.ts +14 -0
  342. package/dist/serialization/types/RejectedExecutePromptEvent.js +44 -0
  343. package/dist/serialization/types/RejectedExecutePromptResponse.d.ts +3 -2
  344. package/dist/serialization/types/RejectedExecutePromptResponse.js +3 -2
  345. package/dist/serialization/types/RejectedPromptExecutionMeta.d.ts +13 -0
  346. package/dist/serialization/types/{InitiatedExecutePromptStreamingResponse.js → RejectedPromptExecutionMeta.js} +4 -3
  347. package/dist/serialization/types/StreamingEnum.d.ts +10 -0
  348. package/dist/serialization/types/StreamingEnum.js +31 -0
  349. package/dist/serialization/types/StreamingExecutePromptEvent.d.ts +16 -0
  350. package/dist/serialization/types/StreamingExecutePromptEvent.js +46 -0
  351. package/dist/serialization/types/StreamingPromptExecutionMeta.d.ts +12 -0
  352. package/{serialization/types/StringExecutePromptResponse.js → dist/serialization/types/StreamingPromptExecutionMeta.js} +3 -4
  353. package/dist/serialization/types/StringVariableValue.d.ts +12 -0
  354. package/dist/serialization/types/{StringExecutePromptResponse.js → StringVariableValue.js} +3 -4
  355. package/dist/serialization/types/VellumVariableType.d.ts +1 -1
  356. package/dist/serialization/types/VellumVariableType.js +1 -1
  357. package/dist/serialization/types/WorkflowNodeResultData.d.ts +4 -1
  358. package/dist/serialization/types/WorkflowNodeResultData.js +1 -0
  359. package/dist/serialization/types/WorkflowRequestInputRequest.d.ts +4 -1
  360. package/dist/serialization/types/WorkflowRequestInputRequest.js +1 -0
  361. package/dist/serialization/types/WorkflowRequestNumberInputRequest.d.ts +13 -0
  362. package/dist/serialization/types/WorkflowRequestNumberInputRequest.js +34 -0
  363. package/dist/serialization/types/index.d.ts +38 -17
  364. package/dist/serialization/types/index.js +38 -17
  365. package/package.json +6 -5
  366. package/serialization/client/requests/ExecutePromptRequest.d.ts +20 -0
  367. package/serialization/{types → client/requests}/ExecutePromptRequest.js +8 -2
  368. package/serialization/client/requests/ExecutePromptStreamRequest.d.ts +20 -0
  369. package/serialization/client/requests/ExecutePromptStreamRequest.js +52 -0
  370. package/serialization/client/requests/index.d.ts +2 -0
  371. package/serialization/client/requests/index.js +5 -1
  372. package/serialization/resources/testSuites/client/requests/UpsertTestSuiteTestCaseRequest.d.ts +15 -0
  373. package/{dist/serialization/resources/testSuites/client/requests/TestSuiteTestCaseRequest.js → serialization/resources/testSuites/client/requests/UpsertTestSuiteTestCaseRequest.js} +5 -5
  374. package/serialization/resources/testSuites/client/requests/index.d.ts +1 -1
  375. package/serialization/resources/testSuites/client/requests/index.js +3 -3
  376. package/serialization/types/CodeExecutionNodeChatHistoryResult.d.ts +13 -0
  377. package/serialization/types/CodeExecutionNodeChatHistoryResult.js +45 -0
  378. package/serialization/types/CodeExecutionNodeErrorResult.d.ts +13 -0
  379. package/serialization/types/CodeExecutionNodeErrorResult.js +43 -0
  380. package/serialization/types/CodeExecutionNodeJsonResult.d.ts +13 -0
  381. package/serialization/types/{JsonExecutePromptResponse.js → CodeExecutionNodeJsonResult.js} +4 -4
  382. package/{dist/serialization/types/InitiatedExecutePromptResponse.d.ts → serialization/types/CodeExecutionNodeNumberResult.d.ts} +4 -4
  383. package/serialization/types/CodeExecutionNodeNumberResult.js +34 -0
  384. package/serialization/types/CodeExecutionNodeResult.d.ts +12 -0
  385. package/serialization/types/{RejectedExecutePromptStreamingResponse.js → CodeExecutionNodeResult.js} +3 -3
  386. package/serialization/types/CodeExecutionNodeResultData.d.ts +12 -0
  387. package/{dist/serialization/types/FulfilledExecutePromptStreamingResponse.js → serialization/types/CodeExecutionNodeResultData.js} +3 -3
  388. package/serialization/types/CodeExecutionNodeResultOutput.d.ts +28 -0
  389. package/serialization/types/{TestCaseVariableValueRequest.js → CodeExecutionNodeResultOutput.js} +8 -8
  390. package/serialization/types/CodeExecutionNodeSearchResultsResult.d.ts +13 -0
  391. package/serialization/types/CodeExecutionNodeSearchResultsResult.js +45 -0
  392. package/serialization/types/CodeExecutionNodeStringResult.d.ts +13 -0
  393. package/serialization/types/CodeExecutionNodeStringResult.js +34 -0
  394. package/serialization/types/ErrorVariableValue.d.ts +12 -0
  395. package/serialization/types/ErrorVariableValue.js +42 -0
  396. package/serialization/types/{ExecutePromptStreamingResponse.d.ts → ExecutePromptEvent.d.ts} +7 -7
  397. package/serialization/types/{ExecutePromptStreamingResponse.js → ExecutePromptEvent.js} +6 -6
  398. package/serialization/types/ExecutePromptResponse.d.ts +5 -8
  399. package/serialization/types/ExecutePromptResponse.js +3 -4
  400. package/serialization/types/FulfilledEnum.d.ts +10 -0
  401. package/serialization/types/FulfilledEnum.js +31 -0
  402. package/serialization/types/FulfilledExecutePromptEvent.d.ts +14 -0
  403. package/serialization/types/FulfilledExecutePromptEvent.js +44 -0
  404. package/serialization/types/FulfilledExecutePromptResponse.d.ts +15 -0
  405. package/serialization/types/FulfilledExecutePromptResponse.js +45 -0
  406. package/serialization/types/FulfilledPromptExecutionMeta.d.ts +13 -0
  407. package/serialization/types/FulfilledPromptExecutionMeta.js +43 -0
  408. package/serialization/types/InitiatedEnum.d.ts +10 -0
  409. package/serialization/types/InitiatedEnum.js +31 -0
  410. package/serialization/types/InitiatedExecutePromptEvent.d.ts +13 -0
  411. package/serialization/types/{InitiatedExecutePromptResponse.js → InitiatedExecutePromptEvent.js} +3 -3
  412. package/serialization/types/InitiatedPromptExecutionMeta.d.ts +15 -0
  413. package/serialization/types/InitiatedPromptExecutionMeta.js +36 -0
  414. package/serialization/types/JsonVariableValue.d.ts +12 -0
  415. package/serialization/types/JsonVariableValue.js +33 -0
  416. package/serialization/types/NamedTestCaseChatHistoryVariableValueRequest.d.ts +13 -0
  417. package/serialization/types/{TestCaseChatHistoryVariableValueRequest.js → NamedTestCaseChatHistoryVariableValueRequest.js} +3 -3
  418. package/serialization/types/NamedTestCaseErrorVariableValueRequest.d.ts +13 -0
  419. package/serialization/types/{TestCaseErrorVariableValueRequest.js → NamedTestCaseErrorVariableValueRequest.js} +3 -3
  420. package/serialization/types/NamedTestCaseJsonVariableValueRequest.d.ts +13 -0
  421. package/serialization/types/NamedTestCaseJsonVariableValueRequest.js +34 -0
  422. package/serialization/types/NamedTestCaseNumberVariableValueRequest.d.ts +13 -0
  423. package/serialization/types/NamedTestCaseNumberVariableValueRequest.js +34 -0
  424. package/serialization/types/NamedTestCaseSearchResultsVariableValueRequest.d.ts +13 -0
  425. package/serialization/types/{TestCaseSearchResultsVariableValueRequest.js → NamedTestCaseSearchResultsVariableValueRequest.js} +3 -3
  426. package/serialization/types/NamedTestCaseStringVariableValueRequest.d.ts +13 -0
  427. package/serialization/types/NamedTestCaseStringVariableValueRequest.js +34 -0
  428. package/serialization/types/NamedTestCaseVariableValueRequest.d.ts +28 -0
  429. package/serialization/types/NamedTestCaseVariableValueRequest.js +52 -0
  430. package/serialization/types/PromptDeploymentExpandMetaRequestRequest.d.ts +16 -0
  431. package/serialization/types/PromptDeploymentExpandMetaRequestRequest.js +37 -0
  432. package/serialization/types/PromptExecutionMeta.d.ts +16 -0
  433. package/serialization/types/PromptExecutionMeta.js +46 -0
  434. package/serialization/types/PromptOutput.d.ts +19 -0
  435. package/serialization/types/PromptOutput.js +49 -0
  436. package/serialization/types/ProviderEnum.d.ts +1 -1
  437. package/serialization/types/ProviderEnum.js +1 -0
  438. package/serialization/types/RawPromptExecutionOverridesRequest.d.ts +14 -0
  439. package/serialization/types/RawPromptExecutionOverridesRequest.js +35 -0
  440. package/serialization/types/RejectedEnum.d.ts +10 -0
  441. package/serialization/types/RejectedEnum.js +31 -0
  442. package/serialization/types/RejectedExecutePromptEvent.d.ts +14 -0
  443. package/serialization/types/RejectedExecutePromptEvent.js +44 -0
  444. package/serialization/types/RejectedExecutePromptResponse.d.ts +3 -2
  445. package/serialization/types/RejectedExecutePromptResponse.js +3 -2
  446. package/serialization/types/RejectedPromptExecutionMeta.d.ts +13 -0
  447. package/serialization/types/RejectedPromptExecutionMeta.js +43 -0
  448. package/serialization/types/StreamingEnum.d.ts +10 -0
  449. package/serialization/types/StreamingEnum.js +31 -0
  450. package/serialization/types/StreamingExecutePromptEvent.d.ts +16 -0
  451. package/serialization/types/StreamingExecutePromptEvent.js +46 -0
  452. package/serialization/types/StreamingPromptExecutionMeta.d.ts +12 -0
  453. package/serialization/types/StreamingPromptExecutionMeta.js +33 -0
  454. package/serialization/types/StringVariableValue.d.ts +12 -0
  455. package/serialization/types/StringVariableValue.js +33 -0
  456. package/serialization/types/VellumVariableType.d.ts +1 -1
  457. package/serialization/types/VellumVariableType.js +1 -1
  458. package/serialization/types/WorkflowNodeResultData.d.ts +4 -1
  459. package/serialization/types/WorkflowNodeResultData.js +1 -0
  460. package/serialization/types/WorkflowRequestInputRequest.d.ts +4 -1
  461. package/serialization/types/WorkflowRequestInputRequest.js +1 -0
  462. package/serialization/types/WorkflowRequestNumberInputRequest.d.ts +13 -0
  463. package/serialization/types/WorkflowRequestNumberInputRequest.js +34 -0
  464. package/serialization/types/index.d.ts +38 -17
  465. package/serialization/types/index.js +38 -17
  466. package/api/resources/testSuites/client/requests/TestSuiteTestCaseRequest.d.ts +0 -10
  467. package/api/types/ExecutePromptStreamingResponse.d.ts +0 -19
  468. package/api/types/InitiatedExecutePromptResponse.d.ts +0 -8
  469. package/api/types/InitiatedExecutePromptStreamingResponse.d.ts +0 -7
  470. package/api/types/JsonExecutePromptResponse.d.ts +0 -7
  471. package/api/types/RejectedExecutePromptStreamingResponse.d.ts +0 -7
  472. package/api/types/StringExecutePromptResponse.d.ts +0 -7
  473. package/api/types/TestCaseVariableValueRequest.d.ts +0 -25
  474. package/core/form-data-utils/getFormDataContentLength.d.ts +0 -2
  475. package/core/form-data-utils/getFormDataContentLength.js +0 -27
  476. package/core/form-data-utils/index.d.ts +0 -1
  477. package/core/form-data-utils/index.js +0 -5
  478. package/core/streaming-fetcher/StreamingFetcher.d.ts +0 -24
  479. package/core/streaming-fetcher/StreamingFetcher.js +0 -58
  480. package/core/streaming-fetcher/getHeader.d.ts +0 -2
  481. package/dist/api/resources/testSuites/client/requests/TestSuiteTestCaseRequest.d.ts +0 -10
  482. package/dist/api/types/ExecutePromptStreamingResponse.d.ts +0 -19
  483. package/dist/api/types/InitiatedExecutePromptResponse.d.ts +0 -8
  484. package/dist/api/types/InitiatedExecutePromptStreamingResponse.d.ts +0 -7
  485. package/dist/api/types/JsonExecutePromptResponse.d.ts +0 -7
  486. package/dist/api/types/RejectedExecutePromptStreamingResponse.d.ts +0 -7
  487. package/dist/api/types/StringExecutePromptResponse.d.ts +0 -7
  488. package/dist/api/types/TestCaseVariableValueRequest.d.ts +0 -25
  489. package/dist/core/form-data-utils/getFormDataContentLength.d.ts +0 -2
  490. package/dist/core/form-data-utils/getFormDataContentLength.js +0 -27
  491. package/dist/core/form-data-utils/index.d.ts +0 -1
  492. package/dist/core/form-data-utils/index.js +0 -5
  493. package/dist/core/streaming-fetcher/StreamingFetcher.d.ts +0 -24
  494. package/dist/core/streaming-fetcher/StreamingFetcher.js +0 -58
  495. package/dist/core/streaming-fetcher/getHeader.d.ts +0 -2
  496. package/dist/serialization/resources/testSuites/client/requests/TestSuiteTestCaseRequest.d.ts +0 -15
  497. package/dist/serialization/types/ErrorExecutePromptResponse.d.ts +0 -13
  498. package/dist/serialization/types/ExecutePromptRequest.d.ts +0 -16
  499. package/dist/serialization/types/FulfilledExecutePromptStreamingResponse.d.ts +0 -12
  500. package/dist/serialization/types/InitiatedExecutePromptStreamingResponse.d.ts +0 -12
  501. package/dist/serialization/types/JsonExecutePromptResponse.d.ts +0 -13
  502. package/dist/serialization/types/RejectedExecutePromptStreamingResponse.d.ts +0 -12
  503. package/dist/serialization/types/StreamingExecutePromptStreamingResponse.d.ts +0 -12
  504. package/dist/serialization/types/StreamingExecutePromptStreamingResponse.js +0 -42
  505. package/dist/serialization/types/StringExecutePromptResponse.d.ts +0 -13
  506. package/dist/serialization/types/TestCaseChatHistoryVariableValueRequest.d.ts +0 -13
  507. package/dist/serialization/types/TestCaseErrorVariableValueRequest.d.ts +0 -13
  508. package/dist/serialization/types/TestCaseJsonVariableValueRequest.d.ts +0 -13
  509. package/dist/serialization/types/TestCaseNumberVariableValueRequest.d.ts +0 -13
  510. package/dist/serialization/types/TestCaseSearchResultsVariableValueRequest.d.ts +0 -13
  511. package/dist/serialization/types/TestCaseStringVariableValueRequest.d.ts +0 -13
  512. package/dist/serialization/types/TestCaseVariableValueRequest.d.ts +0 -28
  513. package/serialization/resources/testSuites/client/requests/TestSuiteTestCaseRequest.d.ts +0 -15
  514. package/serialization/types/ErrorExecutePromptResponse.d.ts +0 -13
  515. package/serialization/types/ExecutePromptRequest.d.ts +0 -16
  516. package/serialization/types/FulfilledExecutePromptStreamingResponse.d.ts +0 -12
  517. package/serialization/types/InitiatedExecutePromptStreamingResponse.d.ts +0 -12
  518. package/serialization/types/InitiatedExecutePromptStreamingResponse.js +0 -42
  519. package/serialization/types/JsonExecutePromptResponse.d.ts +0 -13
  520. package/serialization/types/RejectedExecutePromptStreamingResponse.d.ts +0 -12
  521. package/serialization/types/StreamingExecutePromptStreamingResponse.d.ts +0 -12
  522. package/serialization/types/StreamingExecutePromptStreamingResponse.js +0 -42
  523. package/serialization/types/StringExecutePromptResponse.d.ts +0 -13
  524. package/serialization/types/TestCaseChatHistoryVariableValueRequest.d.ts +0 -13
  525. package/serialization/types/TestCaseErrorVariableValueRequest.d.ts +0 -13
  526. package/serialization/types/TestCaseJsonVariableValueRequest.d.ts +0 -13
  527. package/serialization/types/TestCaseNumberVariableValueRequest.d.ts +0 -13
  528. package/serialization/types/TestCaseSearchResultsVariableValueRequest.d.ts +0 -13
  529. package/serialization/types/TestCaseStringVariableValueRequest.d.ts +0 -13
  530. package/serialization/types/TestCaseVariableValueRequest.d.ts +0 -28
  531. /package/api/{types → client/requests}/ExecutePromptRequest.js +0 -0
  532. /package/api/{resources/testSuites/client/requests/TestSuiteTestCaseRequest.js → client/requests/ExecutePromptStreamRequest.js} +0 -0
  533. /package/api/{types/ErrorExecutePromptResponse.js → resources/testSuites/client/requests/UpsertTestSuiteTestCaseRequest.js} +0 -0
  534. /package/api/types/{ExecutePromptStreamingResponse.js → CodeExecutionNodeChatHistoryResult.js} +0 -0
  535. /package/api/types/{FulfilledExecutePromptStreamingResponse.js → CodeExecutionNodeErrorResult.js} +0 -0
  536. /package/api/types/{InitiatedExecutePromptResponse.js → CodeExecutionNodeJsonResult.js} +0 -0
  537. /package/api/types/{InitiatedExecutePromptStreamingResponse.js → CodeExecutionNodeNumberResult.js} +0 -0
  538. /package/api/types/{JsonExecutePromptResponse.js → CodeExecutionNodeResult.js} +0 -0
  539. /package/api/types/{RejectedExecutePromptStreamingResponse.js → CodeExecutionNodeResultData.js} +0 -0
  540. /package/api/types/{StreamingExecutePromptStreamingResponse.js → CodeExecutionNodeResultOutput.js} +0 -0
  541. /package/api/types/{StringExecutePromptResponse.js → CodeExecutionNodeSearchResultsResult.js} +0 -0
  542. /package/api/types/{TestCaseChatHistoryVariableValueRequest.js → CodeExecutionNodeStringResult.js} +0 -0
  543. /package/api/types/{TestCaseErrorVariableValueRequest.js → ErrorVariableValue.js} +0 -0
  544. /package/api/types/{TestCaseJsonVariableValueRequest.js → ExecutePromptEvent.js} +0 -0
  545. /package/api/types/{TestCaseNumberVariableValueRequest.js → FulfilledEnum.js} +0 -0
  546. /package/api/types/{TestCaseSearchResultsVariableValueRequest.js → FulfilledExecutePromptEvent.js} +0 -0
  547. /package/api/types/{TestCaseStringVariableValueRequest.js → FulfilledExecutePromptResponse.js} +0 -0
  548. /package/api/types/{TestCaseVariableValueRequest.js → FulfilledPromptExecutionMeta.js} +0 -0
  549. /package/{dist/api/resources/testSuites/client/requests/TestSuiteTestCaseRequest.js → api/types/InitiatedEnum.js} +0 -0
  550. /package/{dist/api/types/ErrorExecutePromptResponse.js → api/types/InitiatedExecutePromptEvent.js} +0 -0
  551. /package/{dist/api/types/ExecutePromptRequest.js → api/types/InitiatedPromptExecutionMeta.js} +0 -0
  552. /package/{dist/api/types/ExecutePromptStreamingResponse.js → api/types/JsonVariableValue.js} +0 -0
  553. /package/{dist/api/types/FulfilledExecutePromptStreamingResponse.js → api/types/NamedTestCaseChatHistoryVariableValueRequest.js} +0 -0
  554. /package/{dist/api/types/InitiatedExecutePromptResponse.js → api/types/NamedTestCaseErrorVariableValueRequest.js} +0 -0
  555. /package/{dist/api/types/InitiatedExecutePromptStreamingResponse.js → api/types/NamedTestCaseJsonVariableValueRequest.js} +0 -0
  556. /package/{dist/api/types/JsonExecutePromptResponse.js → api/types/NamedTestCaseNumberVariableValueRequest.js} +0 -0
  557. /package/{dist/api/types/RejectedExecutePromptStreamingResponse.js → api/types/NamedTestCaseSearchResultsVariableValueRequest.js} +0 -0
  558. /package/{dist/api/types/StreamingExecutePromptStreamingResponse.js → api/types/NamedTestCaseStringVariableValueRequest.js} +0 -0
  559. /package/{dist/api/types/StringExecutePromptResponse.js → api/types/NamedTestCaseVariableValueRequest.js} +0 -0
  560. /package/{dist/api/types/TestCaseChatHistoryVariableValueRequest.js → api/types/PromptDeploymentExpandMetaRequestRequest.js} +0 -0
  561. /package/{dist/api/types/TestCaseErrorVariableValueRequest.js → api/types/PromptExecutionMeta.js} +0 -0
  562. /package/{dist/api/types/TestCaseJsonVariableValueRequest.js → api/types/PromptOutput.js} +0 -0
  563. /package/{dist/api/types/TestCaseNumberVariableValueRequest.js → api/types/RawPromptExecutionOverridesRequest.js} +0 -0
  564. /package/{dist/api/types/TestCaseSearchResultsVariableValueRequest.js → api/types/RejectedEnum.js} +0 -0
  565. /package/{dist/api/types/TestCaseStringVariableValueRequest.js → api/types/RejectedExecutePromptEvent.js} +0 -0
  566. /package/{dist/api/types/TestCaseVariableValueRequest.js → api/types/RejectedPromptExecutionMeta.js} +0 -0
@@ -12,18 +12,19 @@ export interface ModelVersionRead {
12
12
  /**
13
13
  * Which LLM provider this model version is associated with.
14
14
  *
15
- * * `ANTHROPIC` - Anthropic
16
- * * `AWS_BEDROCK` - AWS Bedrock
17
- * * `AZURE_OPENAI` - Azure OpenAI
18
- * * `COHERE` - Cohere
19
- * * `GOOGLE` - Google
20
- * * `HOSTED` - Hosted
21
- * * `MOSAICML` - MosaicML
22
- * * `OPENAI` - OpenAI
23
- * * `HUGGINGFACE` - HuggingFace
24
- * * `MYSTIC` - Mystic
25
- * * `PYQ` - Pyq
26
- * * `REPLICATE` - Replicate
15
+ * - `ANTHROPIC` - Anthropic
16
+ * - `AWS_BEDROCK` - AWS Bedrock
17
+ * - `AZURE_OPENAI` - Azure OpenAI
18
+ * - `COHERE` - Cohere
19
+ * - `GOOGLE` - Google
20
+ * - `HOSTED` - Hosted
21
+ * - `MOSAICML` - MosaicML
22
+ * - `OPENAI` - OpenAI
23
+ * - `FIREWORKS_AI` - Fireworks AI
24
+ * - `HUGGINGFACE` - HuggingFace
25
+ * - `MYSTIC` - Mystic
26
+ * - `PYQ` - Pyq
27
+ * - `REPLICATE` - Replicate
27
28
  */
28
29
  provider: Vellum.ProviderEnum;
29
30
  /** The unique id of this model version as it exists in the above provider's system. */
@@ -2,10 +2,10 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  /**
5
- * * `CREATING` - Creating
6
- * * `READY` - Ready
7
- * * `CREATION_FAILED` - Creation Failed
8
- * * `DISABLED` - Disabled
5
+ * - `CREATING` - Creating
6
+ * - `READY` - Ready
7
+ * - `CREATION_FAILED` - Creation Failed
8
+ * - `DISABLED` - Disabled
9
9
  */
10
10
  export declare type ModelVersionReadStatusEnum = "CREATING" | "READY" | "CREATION_FAILED" | "DISABLED";
11
11
  export declare const ModelVersionReadStatusEnum: {
@@ -2,7 +2,7 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  import * as Vellum from "..";
5
- export interface TestCaseChatHistoryVariableValueRequest {
6
- variableId: string;
5
+ export interface NamedTestCaseChatHistoryVariableValueRequest {
6
+ name: string;
7
7
  value?: Vellum.ChatMessageRequest[];
8
8
  }
@@ -2,7 +2,7 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  import * as Vellum from "..";
5
- export interface TestCaseErrorVariableValueRequest {
6
- variableId: string;
5
+ export interface NamedTestCaseErrorVariableValueRequest {
6
+ name: string;
7
7
  value?: Vellum.VellumErrorRequest;
8
8
  }
@@ -0,0 +1,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface NamedTestCaseJsonVariableValueRequest {
5
+ name: string;
6
+ value?: Record<string, unknown>;
7
+ }
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- export interface TestCaseNumberVariableValueRequest {
5
- variableId: string;
4
+ export interface NamedTestCaseNumberVariableValueRequest {
5
+ name: string;
6
6
  value?: number;
7
7
  }
@@ -2,7 +2,7 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  import * as Vellum from "..";
5
- export interface TestCaseSearchResultsVariableValueRequest {
6
- variableId: string;
5
+ export interface NamedTestCaseSearchResultsVariableValueRequest {
6
+ name: string;
7
7
  value?: Vellum.SearchResultRequest[];
8
8
  }
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- export interface TestCaseStringVariableValueRequest {
5
- variableId: string;
4
+ export interface NamedTestCaseStringVariableValueRequest {
5
+ name: string;
6
6
  value?: string;
7
7
  }
@@ -0,0 +1,25 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vellum from "..";
5
+ export declare type NamedTestCaseVariableValueRequest = Vellum.NamedTestCaseVariableValueRequest.String | Vellum.NamedTestCaseVariableValueRequest.Number | Vellum.NamedTestCaseVariableValueRequest.Json | Vellum.NamedTestCaseVariableValueRequest.ChatHistory | Vellum.NamedTestCaseVariableValueRequest.SearchResults | Vellum.NamedTestCaseVariableValueRequest.Error_;
6
+ export declare namespace NamedTestCaseVariableValueRequest {
7
+ interface String extends Vellum.NamedTestCaseStringVariableValueRequest {
8
+ type: "STRING";
9
+ }
10
+ interface Number extends Vellum.NamedTestCaseNumberVariableValueRequest {
11
+ type: "NUMBER";
12
+ }
13
+ interface Json extends Vellum.NamedTestCaseJsonVariableValueRequest {
14
+ type: "JSON";
15
+ }
16
+ interface ChatHistory extends Vellum.NamedTestCaseChatHistoryVariableValueRequest {
17
+ type: "CHAT_HISTORY";
18
+ }
19
+ interface SearchResults extends Vellum.NamedTestCaseSearchResultsVariableValueRequest {
20
+ type: "SEARCH_RESULTS";
21
+ }
22
+ interface Error_ extends Vellum.NamedTestCaseErrorVariableValueRequest {
23
+ type: "ERROR";
24
+ }
25
+ }
@@ -2,8 +2,8 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  /**
5
- * * `EXCEEDED_CHARACTER_LIMIT` - Exceeded Character Limit
6
- * * `INVALID_FILE` - Invalid File
5
+ * - `EXCEEDED_CHARACTER_LIMIT` - Exceeded Character Limit
6
+ * - `INVALID_FILE` - Invalid File
7
7
  */
8
8
  export declare type ProcessingFailureReasonEnum = "EXCEEDED_CHARACTER_LIMIT" | "INVALID_FILE";
9
9
  export declare const ProcessingFailureReasonEnum: {
@@ -2,10 +2,10 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  /**
5
- * * `QUEUED` - Queued
6
- * * `PROCESSING` - Processing
7
- * * `PROCESSED` - Processed
8
- * * `FAILED` - Failed
5
+ * - `QUEUED` - Queued
6
+ * - `PROCESSING` - Processing
7
+ * - `PROCESSED` - Processed
8
+ * - `FAILED` - Failed
9
9
  */
10
10
  export declare type ProcessingStateEnum = "QUEUED" | "PROCESSING" | "PROCESSED" | "FAILED";
11
11
  export declare const ProcessingStateEnum: {
@@ -0,0 +1,15 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface PromptDeploymentExpandMetaRequestRequest {
5
+ /** If enabled, the response will include the model identifier representing the ML Model invoked by the Prompt Deployment. */
6
+ modelName?: boolean;
7
+ /** If enabled, the response will include the time in nanoseconds it took to execute the Prompt Deployment. */
8
+ latency?: boolean;
9
+ /** If enabled, the response will include the release tag of the Prompt Deployment. */
10
+ deploymentReleaseTag?: boolean;
11
+ /** If enabled, the response will include the ID of the Prompt Version backing the deployment. */
12
+ promptVersionId?: boolean;
13
+ /** If enabled, the response will include the reason provided by the model for why the execution finished. */
14
+ finishReason?: boolean;
15
+ }
@@ -0,0 +1,14 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vellum from "..";
5
+ /**
6
+ * The subset of the metadata tracked by Vellum during prompt execution that the request opted into with `expand_meta`.
7
+ */
8
+ export interface PromptExecutionMeta {
9
+ modelName?: string;
10
+ latency?: number;
11
+ deploymentReleaseTag?: string;
12
+ promptVersionId?: string;
13
+ finishReason?: Vellum.FinishReasonEnum;
14
+ }
@@ -0,0 +1,16 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vellum from "..";
5
+ export declare type PromptOutput = Vellum.PromptOutput.String | Vellum.PromptOutput.Json | Vellum.PromptOutput.Error_;
6
+ export declare namespace PromptOutput {
7
+ interface String extends Vellum.StringVariableValue {
8
+ type: "STRING";
9
+ }
10
+ interface Json extends Vellum.JsonVariableValue {
11
+ type: "JSON";
12
+ }
13
+ interface Error_ extends Vellum.ErrorVariableValue {
14
+ type: "ERROR";
15
+ }
16
+ }
@@ -2,20 +2,21 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  /**
5
- * * `ANTHROPIC` - Anthropic
6
- * * `AWS_BEDROCK` - AWS Bedrock
7
- * * `AZURE_OPENAI` - Azure OpenAI
8
- * * `COHERE` - Cohere
9
- * * `GOOGLE` - Google
10
- * * `HOSTED` - Hosted
11
- * * `MOSAICML` - MosaicML
12
- * * `OPENAI` - OpenAI
13
- * * `HUGGINGFACE` - HuggingFace
14
- * * `MYSTIC` - Mystic
15
- * * `PYQ` - Pyq
16
- * * `REPLICATE` - Replicate
5
+ * - `ANTHROPIC` - Anthropic
6
+ * - `AWS_BEDROCK` - AWS Bedrock
7
+ * - `AZURE_OPENAI` - Azure OpenAI
8
+ * - `COHERE` - Cohere
9
+ * - `GOOGLE` - Google
10
+ * - `HOSTED` - Hosted
11
+ * - `MOSAICML` - MosaicML
12
+ * - `OPENAI` - OpenAI
13
+ * - `FIREWORKS_AI` - Fireworks AI
14
+ * - `HUGGINGFACE` - HuggingFace
15
+ * - `MYSTIC` - Mystic
16
+ * - `PYQ` - Pyq
17
+ * - `REPLICATE` - Replicate
17
18
  */
18
- export declare type ProviderEnum = "ANTHROPIC" | "AWS_BEDROCK" | "AZURE_OPENAI" | "COHERE" | "GOOGLE" | "HOSTED" | "MOSAICML" | "OPENAI" | "HUGGINGFACE" | "MYSTIC" | "PYQ" | "REPLICATE";
19
+ export declare type ProviderEnum = "ANTHROPIC" | "AWS_BEDROCK" | "AZURE_OPENAI" | "COHERE" | "GOOGLE" | "HOSTED" | "MOSAICML" | "OPENAI" | "FIREWORKS_AI" | "HUGGINGFACE" | "MYSTIC" | "PYQ" | "REPLICATE";
19
20
  export declare const ProviderEnum: {
20
21
  readonly Anthropic: "ANTHROPIC";
21
22
  readonly AwsBedrock: "AWS_BEDROCK";
@@ -25,6 +26,7 @@ export declare const ProviderEnum: {
25
26
  readonly Hosted: "HOSTED";
26
27
  readonly Mosaicml: "MOSAICML";
27
28
  readonly Openai: "OPENAI";
29
+ readonly FireworksAi: "FIREWORKS_AI";
28
30
  readonly Huggingface: "HUGGINGFACE";
29
31
  readonly Mystic: "MYSTIC";
30
32
  readonly Pyq: "PYQ";
@@ -13,6 +13,7 @@ exports.ProviderEnum = {
13
13
  Hosted: "HOSTED",
14
14
  Mosaicml: "MOSAICML",
15
15
  Openai: "OPENAI",
16
+ FireworksAi: "FIREWORKS_AI",
16
17
  Huggingface: "HUGGINGFACE",
17
18
  Mystic: "MYSTIC",
18
19
  Pyq: "PYQ",
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface RawPromptExecutionOverridesRequest {
5
+ body?: Record<string, unknown>;
6
+ /** The raw headers to send to the model host. */
7
+ headers?: Record<string, string | undefined>;
8
+ /** The raw URL to send to the model host. */
9
+ url?: string;
10
+ }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export declare type RejectedEnum = "REJECTED";
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vellum from "..";
5
+ /**
6
+ * The final data returned indicating an error occurred during the stream.
7
+ */
8
+ export interface RejectedExecutePromptEvent {
9
+ error: Vellum.VellumError;
10
+ executionId: string;
11
+ meta?: Vellum.RejectedPromptExecutionMeta;
12
+ }
@@ -2,8 +2,14 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  import * as Vellum from "..";
5
+ /**
6
+ * The unsuccessful response from the model containing an error of what went wrong.
7
+ */
5
8
  export interface RejectedExecutePromptResponse {
6
- type: string;
7
- value: Vellum.VellumError;
9
+ meta?: Vellum.PromptExecutionMeta;
10
+ /** The subset of the raw response from the model that the request opted into with `expand_raw`. */
11
+ raw?: Record<string, unknown>;
12
+ /** The ID of the execution. */
8
13
  executionId: string;
14
+ error: Vellum.VellumError;
9
15
  }
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vellum from "..";
5
+ /**
6
+ * The subset of the metadata tracked by Vellum during prompt execution that the request opted into with `expand_meta`.
7
+ */
8
+ export interface RejectedPromptExecutionMeta {
9
+ latency?: number;
10
+ finishReason?: Vellum.FinishReasonEnum;
11
+ }
@@ -2,8 +2,8 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  /**
5
- * * `TEXT` - Text
6
- * * `CHAT_HISTORY` - Chat History
5
+ * - `TEXT` - Text
6
+ * - `CHAT_HISTORY` - Chat History
7
7
  */
8
8
  export declare type ScenarioInputTypeEnum = "TEXT" | "CHAT_HISTORY";
9
9
  export declare const ScenarioInputTypeEnum: {
@@ -14,23 +14,23 @@ export interface SlimDocument {
14
14
  /**
15
15
  * An enum value representing where this document is along its processing lifecycle. Note that this is different than its indexing lifecycle.
16
16
  *
17
- * * `QUEUED` - Queued
18
- * * `PROCESSING` - Processing
19
- * * `PROCESSED` - Processed
20
- * * `FAILED` - Failed
17
+ * - `QUEUED` - Queued
18
+ * - `PROCESSING` - Processing
19
+ * - `PROCESSED` - Processed
20
+ * - `FAILED` - Failed
21
21
  */
22
22
  processingState?: Vellum.ProcessingStateEnum;
23
23
  /**
24
24
  * An enum value representing why the document could not be processed. Is null unless processing_state is FAILED.
25
25
  *
26
- * * `EXCEEDED_CHARACTER_LIMIT` - Exceeded Character Limit
27
- * * `INVALID_FILE` - Invalid File
26
+ * - `EXCEEDED_CHARACTER_LIMIT` - Exceeded Character Limit
27
+ * - `INVALID_FILE` - Invalid File
28
28
  */
29
29
  processingFailureReason?: Vellum.ProcessingFailureReasonEnum;
30
30
  /**
31
31
  * The document's current status.
32
32
  *
33
- * * `ACTIVE` - Active
33
+ * - `ACTIVE` - Active
34
34
  */
35
35
  status?: Vellum.DocumentStatus;
36
36
  /** A list of keywords associated with this document. Originally provided when uploading the document. */
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export declare type StreamingEnum = "STREAMING";
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,15 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vellum from "..";
5
+ /**
6
+ * The data returned for each delta during the prompt execution stream.
7
+ */
8
+ export interface StreamingExecutePromptEvent {
9
+ output: Vellum.PromptOutput;
10
+ outputIndex: number;
11
+ executionId: string;
12
+ meta?: Vellum.StreamingPromptExecutionMeta;
13
+ /** The subset of the raw response from the model that the request opted into with `expand_raw`. */
14
+ raw?: Record<string, unknown>;
15
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * The subset of the metadata tracked by Vellum during prompt execution that the request opted into with `expand_meta`.
6
+ */
7
+ export interface StreamingPromptExecutionMeta {
8
+ latency?: number;
9
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,6 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface StringVariableValue {
5
+ value?: string;
6
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -2,9 +2,9 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  /**
5
- * * `INVALID_REQUEST` - INVALID_REQUEST
6
- * * `PROVIDER_ERROR` - PROVIDER_ERROR
7
- * * `INTERNAL_SERVER_ERROR` - INTERNAL_SERVER_ERROR
5
+ * - `INVALID_REQUEST` - INVALID_REQUEST
6
+ * - `PROVIDER_ERROR` - PROVIDER_ERROR
7
+ * - `INTERNAL_SERVER_ERROR` - INTERNAL_SERVER_ERROR
8
8
  */
9
9
  export declare type VellumErrorCodeEnum = "INVALID_REQUEST" | "PROVIDER_ERROR" | "INTERNAL_SERVER_ERROR";
10
10
  export declare const VellumErrorCodeEnum: {
@@ -2,14 +2,15 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  /**
5
- * * `STRING` - STRING
6
- * * `NUMBER` - NUMBER
7
- * * `JSON` - JSON
8
- * * `CHAT_HISTORY` - CHAT_HISTORY
9
- * * `SEARCH_RESULTS` - SEARCH_RESULTS
10
- * * `ERROR` - ERROR
5
+ * - `STRING` - STRING
6
+ * - `NUMBER` - NUMBER
7
+ * - `JSON` - JSON
8
+ * - `CHAT_HISTORY` - CHAT_HISTORY
9
+ * - `SEARCH_RESULTS` - SEARCH_RESULTS
10
+ * - `ERROR` - ERROR
11
+ * - `ARRAY` - ARRAY
11
12
  */
12
- export declare type VellumVariableType = "STRING" | "NUMBER" | "JSON" | "CHAT_HISTORY" | "SEARCH_RESULTS" | "ERROR";
13
+ export declare type VellumVariableType = "STRING" | "NUMBER" | "JSON" | "CHAT_HISTORY" | "SEARCH_RESULTS" | "ERROR" | "ARRAY";
13
14
  export declare const VellumVariableType: {
14
15
  readonly String: "STRING";
15
16
  readonly Number: "NUMBER";
@@ -17,4 +18,5 @@ export declare const VellumVariableType: {
17
18
  readonly ChatHistory: "CHAT_HISTORY";
18
19
  readonly SearchResults: "SEARCH_RESULTS";
19
20
  readonly Error: "ERROR";
21
+ readonly Array: "ARRAY";
20
22
  };
@@ -11,4 +11,5 @@ exports.VellumVariableType = {
11
11
  ChatHistory: "CHAT_HISTORY",
12
12
  SearchResults: "SEARCH_RESULTS",
13
13
  Error: "ERROR",
14
+ Array: "ARRAY",
14
15
  };
@@ -2,12 +2,12 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  /**
5
- * * `WORKFLOW_INITIALIZATION` - WORKFLOW_INITIALIZATION
6
- * * `NODE_EXECUTION_COUNT_LIMIT_REACHED` - NODE_EXECUTION_COUNT_LIMIT_REACHED
7
- * * `INTERNAL_SERVER_ERROR` - INTERNAL_SERVER_ERROR
8
- * * `NODE_EXECUTION` - NODE_EXECUTION
9
- * * `LLM_PROVIDER` - LLM_PROVIDER
10
- * * `INVALID_TEMPLATE` - INVALID_TEMPLATE
5
+ * - `WORKFLOW_INITIALIZATION` - WORKFLOW_INITIALIZATION
6
+ * - `NODE_EXECUTION_COUNT_LIMIT_REACHED` - NODE_EXECUTION_COUNT_LIMIT_REACHED
7
+ * - `INTERNAL_SERVER_ERROR` - INTERNAL_SERVER_ERROR
8
+ * - `NODE_EXECUTION` - NODE_EXECUTION
9
+ * - `LLM_PROVIDER` - LLM_PROVIDER
10
+ * - `INVALID_TEMPLATE` - INVALID_TEMPLATE
11
11
  */
12
12
  export declare type WorkflowExecutionEventErrorCode = "WORKFLOW_INITIALIZATION" | "NODE_EXECUTION_COUNT_LIMIT_REACHED" | "INTERNAL_SERVER_ERROR" | "NODE_EXECUTION" | "LLM_PROVIDER" | "INVALID_TEMPLATE";
13
13
  export declare const WorkflowExecutionEventErrorCode: {
@@ -2,8 +2,8 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  /**
5
- * * `NODE` - Node
6
- * * `WORKFLOW` - Workflow
5
+ * - `NODE` - Node
6
+ * - `WORKFLOW` - Workflow
7
7
  */
8
8
  export declare type WorkflowExecutionEventType = "NODE" | "WORKFLOW";
9
9
  export declare const WorkflowExecutionEventType: {
@@ -2,7 +2,7 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  import * as Vellum from "..";
5
- export declare type WorkflowNodeResultData = Vellum.WorkflowNodeResultData.Prompt | Vellum.WorkflowNodeResultData.Search | Vellum.WorkflowNodeResultData.Templating | Vellum.WorkflowNodeResultData.Conditional | Vellum.WorkflowNodeResultData.Api | Vellum.WorkflowNodeResultData.Terminal;
5
+ export declare type WorkflowNodeResultData = Vellum.WorkflowNodeResultData.Prompt | Vellum.WorkflowNodeResultData.Search | Vellum.WorkflowNodeResultData.Templating | Vellum.WorkflowNodeResultData.CodeExecution | Vellum.WorkflowNodeResultData.Conditional | Vellum.WorkflowNodeResultData.Api | Vellum.WorkflowNodeResultData.Terminal;
6
6
  export declare namespace WorkflowNodeResultData {
7
7
  interface Prompt extends Vellum.PromptNodeResult {
8
8
  type: "PROMPT";
@@ -13,6 +13,9 @@ export declare namespace WorkflowNodeResultData {
13
13
  interface Templating extends Vellum.TemplatingNodeResult {
14
14
  type: "TEMPLATING";
15
15
  }
16
+ interface CodeExecution extends Vellum.CodeExecutionNodeResult {
17
+ type: "CODE_EXECUTION";
18
+ }
16
19
  interface Conditional extends Vellum.ConditionalNodeResult {
17
20
  type: "CONDITIONAL";
18
21
  }
@@ -2,10 +2,10 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  /**
5
- * * `INITIATED` - INITIATED
6
- * * `STREAMING` - STREAMING
7
- * * `FULFILLED` - FULFILLED
8
- * * `REJECTED` - REJECTED
5
+ * - `INITIATED` - INITIATED
6
+ * - `STREAMING` - STREAMING
7
+ * - `FULFILLED` - FULFILLED
8
+ * - `REJECTED` - REJECTED
9
9
  */
10
10
  export declare type WorkflowNodeResultEventState = "INITIATED" | "STREAMING" | "FULFILLED" | "REJECTED";
11
11
  export declare const WorkflowNodeResultEventState: {
@@ -2,7 +2,7 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  import * as Vellum from "..";
5
- export declare type WorkflowRequestInputRequest = Vellum.WorkflowRequestInputRequest.String | Vellum.WorkflowRequestInputRequest.Json | Vellum.WorkflowRequestInputRequest.ChatHistory;
5
+ export declare type WorkflowRequestInputRequest = Vellum.WorkflowRequestInputRequest.String | Vellum.WorkflowRequestInputRequest.Json | Vellum.WorkflowRequestInputRequest.ChatHistory | Vellum.WorkflowRequestInputRequest.Number;
6
6
  export declare namespace WorkflowRequestInputRequest {
7
7
  interface String extends Vellum.WorkflowRequestStringInputRequest {
8
8
  type: "STRING";
@@ -13,4 +13,7 @@ export declare namespace WorkflowRequestInputRequest {
13
13
  interface ChatHistory extends Vellum.WorkflowRequestChatHistoryInputRequest {
14
14
  type: "CHAT_HISTORY";
15
15
  }
16
+ interface Number extends Vellum.WorkflowRequestNumberInputRequest {
17
+ type: "NUMBER";
18
+ }
16
19
  }
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface WorkflowRequestNumberInputRequest {
5
+ /** The variable's name, as defined in the Workflow. */
6
+ name: string;
7
+ value: number;
8
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });