vellum-ai 0.9.6 → 0.9.8

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 (262) hide show
  1. package/.mock/definition/__package__.yml +91 -89
  2. package/.mock/definition/adHoc.yml +7 -7
  3. package/.mock/openapi/openapi.yml +112 -137
  4. package/Client.js +10 -10
  5. package/api/resources/adHoc/client/Client.d.ts +1 -1
  6. package/api/resources/adHoc/client/Client.js +2 -2
  7. package/api/resources/adHoc/client/requests/{AdHocExecutePromptStreamRequest.d.ts → AdHocExecutePromptStream.d.ts} +14 -12
  8. package/api/resources/adHoc/client/requests/index.d.ts +1 -1
  9. package/api/resources/containerImages/client/Client.js +4 -4
  10. package/api/resources/deployments/client/Client.js +6 -6
  11. package/api/resources/documentIndexes/client/Client.js +8 -8
  12. package/api/resources/documents/client/Client.js +5 -5
  13. package/api/resources/folderEntities/client/Client.js +2 -2
  14. package/api/resources/metricDefinitions/client/Client.js +1 -1
  15. package/api/resources/sandboxes/client/Client.js +3 -3
  16. package/api/resources/testSuiteRuns/client/Client.js +3 -3
  17. package/api/resources/testSuites/client/Client.js +4 -4
  18. package/api/resources/workflowDeployments/client/Client.js +5 -5
  19. package/api/resources/workflowSandboxes/client/Client.js +1 -1
  20. package/api/resources/workflows/client/Client.js +2 -2
  21. package/api/resources/workspaceSecrets/client/Client.js +2 -2
  22. package/{dist/api/types/AdHocExpandMetaRequest.d.ts → api/types/AdHocExpandMeta.d.ts} +1 -1
  23. package/api/types/{ChatMessagePromptBlockRequest.d.ts → ChatMessagePromptBlock.d.ts} +3 -3
  24. package/api/types/{ChatMessagePromptBlockPropertiesRequest.d.ts → ChatMessagePromptBlockProperties.d.ts} +2 -2
  25. package/api/types/{EphemeralPromptCacheConfigRequest.d.ts → EphemeralPromptCacheConfig.d.ts} +1 -1
  26. package/{dist/api/types/FunctionDefinitionPromptBlockRequest.d.ts → api/types/FunctionDefinitionPromptBlock.d.ts} +3 -3
  27. package/{dist/api/types/FunctionDefinitionPromptBlockPropertiesRequest.d.ts → api/types/FunctionDefinitionPromptBlockProperties.d.ts} +1 -1
  28. package/{dist/api/types/JinjaPromptBlockRequest.d.ts → api/types/JinjaPromptBlock.d.ts} +3 -3
  29. package/api/types/{JinjaPromptBlockPropertiesRequest.d.ts → JinjaPromptBlockProperties.d.ts} +1 -1
  30. package/{dist/api/types/PlainTextPromptBlockRequest.d.ts → api/types/PlainTextPromptBlock.d.ts} +2 -2
  31. package/api/types/PromptBlock.d.ts +5 -0
  32. package/api/types/{PromptParametersRequest.d.ts → PromptParameters.d.ts} +1 -1
  33. package/api/types/{PromptRequestChatHistoryInputRequest.d.ts → PromptRequestChatHistoryInput.d.ts} +2 -2
  34. package/api/types/PromptRequestInput.d.ts +5 -0
  35. package/{dist/api/types/PromptRequestJsonInputRequest.d.ts → api/types/PromptRequestJsonInput.d.ts} +1 -1
  36. package/api/types/{PromptRequestStringInputRequest.d.ts → PromptRequestStringInput.d.ts} +1 -1
  37. package/api/types/{PromptSettingsRequest.d.ts → PromptSettings.d.ts} +1 -1
  38. package/api/types/RichTextChildBlock.d.ts +5 -0
  39. package/{dist/api/types/RichTextPromptBlockRequest.d.ts → api/types/RichTextPromptBlock.d.ts} +4 -5
  40. package/api/types/{VariablePromptBlockRequest.d.ts → VariablePromptBlock.d.ts} +2 -2
  41. package/api/types/index.d.ts +19 -21
  42. package/api/types/index.js +19 -21
  43. package/dist/Client.js +10 -10
  44. package/dist/api/resources/adHoc/client/Client.d.ts +1 -1
  45. package/dist/api/resources/adHoc/client/Client.js +2 -2
  46. package/dist/api/resources/adHoc/client/requests/{AdHocExecutePromptStreamRequest.d.ts → AdHocExecutePromptStream.d.ts} +14 -12
  47. package/dist/api/resources/adHoc/client/requests/index.d.ts +1 -1
  48. package/dist/api/resources/containerImages/client/Client.js +4 -4
  49. package/dist/api/resources/deployments/client/Client.js +6 -6
  50. package/dist/api/resources/documentIndexes/client/Client.js +8 -8
  51. package/dist/api/resources/documents/client/Client.js +5 -5
  52. package/dist/api/resources/folderEntities/client/Client.js +2 -2
  53. package/dist/api/resources/metricDefinitions/client/Client.js +1 -1
  54. package/dist/api/resources/sandboxes/client/Client.js +3 -3
  55. package/dist/api/resources/testSuiteRuns/client/Client.js +3 -3
  56. package/dist/api/resources/testSuites/client/Client.js +4 -4
  57. package/dist/api/resources/workflowDeployments/client/Client.js +5 -5
  58. package/dist/api/resources/workflowSandboxes/client/Client.js +1 -1
  59. package/dist/api/resources/workflows/client/Client.js +2 -2
  60. package/dist/api/resources/workspaceSecrets/client/Client.js +2 -2
  61. package/{api/types/AdHocExpandMetaRequest.d.ts → dist/api/types/AdHocExpandMeta.d.ts} +1 -1
  62. package/dist/api/types/{ChatMessagePromptBlockRequest.d.ts → ChatMessagePromptBlock.d.ts} +3 -3
  63. package/dist/api/types/{ChatMessagePromptBlockPropertiesRequest.d.ts → ChatMessagePromptBlockProperties.d.ts} +2 -2
  64. package/dist/api/types/{EphemeralPromptCacheConfigRequest.d.ts → EphemeralPromptCacheConfig.d.ts} +1 -1
  65. package/{api/types/FunctionDefinitionPromptBlockRequest.d.ts → dist/api/types/FunctionDefinitionPromptBlock.d.ts} +3 -3
  66. package/{api/types/FunctionDefinitionPromptBlockPropertiesRequest.d.ts → dist/api/types/FunctionDefinitionPromptBlockProperties.d.ts} +1 -1
  67. package/{api/types/JinjaPromptBlockRequest.d.ts → dist/api/types/JinjaPromptBlock.d.ts} +3 -3
  68. package/dist/api/types/{JinjaPromptBlockPropertiesRequest.d.ts → JinjaPromptBlockProperties.d.ts} +1 -1
  69. package/{api/types/PlainTextPromptBlockRequest.d.ts → dist/api/types/PlainTextPromptBlock.d.ts} +2 -2
  70. package/dist/api/types/PromptBlock.d.ts +5 -0
  71. package/dist/api/types/{PromptParametersRequest.d.ts → PromptParameters.d.ts} +1 -1
  72. package/dist/api/types/{PromptRequestChatHistoryInputRequest.d.ts → PromptRequestChatHistoryInput.d.ts} +2 -2
  73. package/dist/api/types/PromptRequestInput.d.ts +5 -0
  74. package/{api/types/PromptRequestJsonInputRequest.d.ts → dist/api/types/PromptRequestJsonInput.d.ts} +1 -1
  75. package/dist/api/types/{PromptRequestStringInputRequest.d.ts → PromptRequestStringInput.d.ts} +1 -1
  76. package/dist/api/types/{PromptSettingsRequest.d.ts → PromptSettings.d.ts} +1 -1
  77. package/dist/api/types/RichTextChildBlock.d.ts +5 -0
  78. package/{api/types/RichTextPromptBlockRequest.d.ts → dist/api/types/RichTextPromptBlock.d.ts} +4 -5
  79. package/dist/api/types/{VariablePromptBlockRequest.d.ts → VariablePromptBlock.d.ts} +2 -2
  80. package/dist/api/types/index.d.ts +19 -21
  81. package/dist/api/types/index.js +19 -21
  82. package/dist/serialization/resources/adHoc/client/requests/AdHocExecutePromptStream.d.ts +23 -0
  83. package/{serialization/resources/adHoc/client/requests/AdHocExecutePromptStreamRequest.js → dist/serialization/resources/adHoc/client/requests/AdHocExecutePromptStream.js} +13 -13
  84. package/dist/serialization/resources/adHoc/client/requests/index.d.ts +1 -1
  85. package/dist/serialization/resources/adHoc/client/requests/index.js +3 -3
  86. package/dist/serialization/types/{AdHocExpandMetaRequest.d.ts → AdHocExpandMeta.d.ts} +2 -2
  87. package/dist/serialization/types/{AdHocExpandMetaRequest.js → AdHocExpandMeta.js} +2 -2
  88. package/{serialization/types/ChatMessagePromptBlockRequest.d.ts → dist/serialization/types/ChatMessagePromptBlock.d.ts} +5 -5
  89. package/dist/serialization/types/{ChatMessagePromptBlockRequest.js → ChatMessagePromptBlock.js} +5 -5
  90. package/{serialization/types/ChatMessagePromptBlockPropertiesRequest.d.ts → dist/serialization/types/ChatMessagePromptBlockProperties.d.ts} +3 -3
  91. package/dist/serialization/types/{ChatMessagePromptBlockPropertiesRequest.js → ChatMessagePromptBlockProperties.js} +3 -3
  92. package/{serialization/types/EphemeralPromptCacheConfigRequest.d.ts → dist/serialization/types/EphemeralPromptCacheConfig.d.ts} +2 -2
  93. package/{serialization/types/EphemeralPromptCacheConfigRequest.js → dist/serialization/types/EphemeralPromptCacheConfig.js} +2 -2
  94. package/dist/serialization/types/FunctionDefinitionPromptBlock.d.ts +18 -0
  95. package/dist/serialization/types/{JinjaPromptBlockRequest.js → FunctionDefinitionPromptBlock.js} +7 -7
  96. package/{serialization/types/FunctionDefinitionPromptBlockPropertiesRequest.d.ts → dist/serialization/types/FunctionDefinitionPromptBlockProperties.d.ts} +2 -2
  97. package/dist/serialization/types/{FunctionDefinitionPromptBlockPropertiesRequest.js → FunctionDefinitionPromptBlockProperties.js} +2 -2
  98. package/dist/serialization/types/JinjaPromptBlock.d.ts +18 -0
  99. package/dist/serialization/types/JinjaPromptBlock.js +39 -0
  100. package/{serialization/types/JinjaPromptBlockPropertiesRequest.d.ts → dist/serialization/types/JinjaPromptBlockProperties.d.ts} +2 -2
  101. package/{serialization/types/JinjaPromptBlockPropertiesRequest.js → dist/serialization/types/JinjaPromptBlockProperties.js} +2 -2
  102. package/{serialization/types/PlainTextPromptBlockRequest.d.ts → dist/serialization/types/PlainTextPromptBlock.d.ts} +4 -4
  103. package/{serialization/types/PlainTextPromptBlockRequest.js → dist/serialization/types/PlainTextPromptBlock.js} +4 -4
  104. package/dist/serialization/types/PromptBlock.d.ts +14 -0
  105. package/{serialization/types/VellumVariableRequest.js → dist/serialization/types/PromptBlock.js} +12 -11
  106. package/dist/serialization/types/{PromptParametersRequest.d.ts → PromptParameters.d.ts} +2 -2
  107. package/dist/serialization/types/{PromptParametersRequest.js → PromptParameters.js} +2 -2
  108. package/dist/serialization/types/PromptRequestChatHistoryInput.d.ts +15 -0
  109. package/dist/serialization/types/{PromptRequestChatHistoryInputRequest.js → PromptRequestChatHistoryInput.js} +4 -4
  110. package/dist/serialization/types/PromptRequestInput.d.ts +13 -0
  111. package/dist/serialization/types/PromptRequestInput.js +38 -0
  112. package/{serialization/types/PromptRequestJsonInputRequest.d.ts → dist/serialization/types/PromptRequestJsonInput.d.ts} +2 -2
  113. package/dist/serialization/types/{PromptRequestJsonInputRequest.js → PromptRequestJsonInput.js} +2 -2
  114. package/{serialization/types/PromptRequestStringInputRequest.d.ts → dist/serialization/types/PromptRequestStringInput.d.ts} +2 -2
  115. package/{serialization/types/PromptRequestStringInputRequest.js → dist/serialization/types/PromptRequestStringInput.js} +2 -2
  116. package/{serialization/types/PromptSettingsRequest.d.ts → dist/serialization/types/PromptSettings.d.ts} +2 -2
  117. package/{serialization/types/PromptSettingsRequest.js → dist/serialization/types/PromptSettings.js} +2 -2
  118. package/dist/serialization/types/RichTextChildBlock.d.ts +12 -0
  119. package/dist/serialization/types/RichTextChildBlock.js +33 -0
  120. package/dist/serialization/types/RichTextPromptBlock.d.ts +18 -0
  121. package/dist/serialization/types/RichTextPromptBlock.js +39 -0
  122. package/dist/serialization/types/{VariablePromptBlockRequest.d.ts → VariablePromptBlock.d.ts} +4 -4
  123. package/dist/serialization/types/{VariablePromptBlockRequest.js → VariablePromptBlock.js} +4 -4
  124. package/dist/serialization/types/index.d.ts +19 -21
  125. package/dist/serialization/types/index.js +19 -21
  126. package/dist/version.d.ts +1 -1
  127. package/dist/version.js +1 -1
  128. package/package.json +1 -1
  129. package/reference.md +8 -6
  130. package/serialization/resources/adHoc/client/requests/AdHocExecutePromptStream.d.ts +23 -0
  131. package/{dist/serialization/resources/adHoc/client/requests/AdHocExecutePromptStreamRequest.js → serialization/resources/adHoc/client/requests/AdHocExecutePromptStream.js} +13 -13
  132. package/serialization/resources/adHoc/client/requests/index.d.ts +1 -1
  133. package/serialization/resources/adHoc/client/requests/index.js +3 -3
  134. package/serialization/types/{AdHocExpandMetaRequest.d.ts → AdHocExpandMeta.d.ts} +2 -2
  135. package/serialization/types/{AdHocExpandMetaRequest.js → AdHocExpandMeta.js} +2 -2
  136. package/{dist/serialization/types/ChatMessagePromptBlockRequest.d.ts → serialization/types/ChatMessagePromptBlock.d.ts} +5 -5
  137. package/serialization/types/{ChatMessagePromptBlockRequest.js → ChatMessagePromptBlock.js} +5 -5
  138. package/{dist/serialization/types/ChatMessagePromptBlockPropertiesRequest.d.ts → serialization/types/ChatMessagePromptBlockProperties.d.ts} +3 -3
  139. package/serialization/types/{ChatMessagePromptBlockPropertiesRequest.js → ChatMessagePromptBlockProperties.js} +3 -3
  140. package/{dist/serialization/types/EphemeralPromptCacheConfigRequest.d.ts → serialization/types/EphemeralPromptCacheConfig.d.ts} +2 -2
  141. package/{dist/serialization/types/EphemeralPromptCacheConfigRequest.js → serialization/types/EphemeralPromptCacheConfig.js} +2 -2
  142. package/serialization/types/FunctionDefinitionPromptBlock.d.ts +18 -0
  143. package/serialization/types/FunctionDefinitionPromptBlock.js +39 -0
  144. package/{dist/serialization/types/FunctionDefinitionPromptBlockPropertiesRequest.d.ts → serialization/types/FunctionDefinitionPromptBlockProperties.d.ts} +2 -2
  145. package/serialization/types/{FunctionDefinitionPromptBlockPropertiesRequest.js → FunctionDefinitionPromptBlockProperties.js} +2 -2
  146. package/serialization/types/JinjaPromptBlock.d.ts +18 -0
  147. package/serialization/types/JinjaPromptBlock.js +39 -0
  148. package/{dist/serialization/types/JinjaPromptBlockPropertiesRequest.d.ts → serialization/types/JinjaPromptBlockProperties.d.ts} +2 -2
  149. package/{dist/serialization/types/JinjaPromptBlockPropertiesRequest.js → serialization/types/JinjaPromptBlockProperties.js} +2 -2
  150. package/{dist/serialization/types/PlainTextPromptBlockRequest.d.ts → serialization/types/PlainTextPromptBlock.d.ts} +4 -4
  151. package/{dist/serialization/types/PlainTextPromptBlockRequest.js → serialization/types/PlainTextPromptBlock.js} +4 -4
  152. package/serialization/types/PromptBlock.d.ts +14 -0
  153. package/{dist/serialization/types/VellumVariableRequest.js → serialization/types/PromptBlock.js} +12 -11
  154. package/serialization/types/{PromptParametersRequest.d.ts → PromptParameters.d.ts} +2 -2
  155. package/serialization/types/{PromptParametersRequest.js → PromptParameters.js} +2 -2
  156. package/serialization/types/PromptRequestChatHistoryInput.d.ts +15 -0
  157. package/serialization/types/{PromptRequestChatHistoryInputRequest.js → PromptRequestChatHistoryInput.js} +4 -4
  158. package/serialization/types/PromptRequestInput.d.ts +13 -0
  159. package/serialization/types/PromptRequestInput.js +38 -0
  160. package/{dist/serialization/types/PromptRequestJsonInputRequest.d.ts → serialization/types/PromptRequestJsonInput.d.ts} +2 -2
  161. package/serialization/types/{PromptRequestJsonInputRequest.js → PromptRequestJsonInput.js} +2 -2
  162. package/{dist/serialization/types/PromptRequestStringInputRequest.d.ts → serialization/types/PromptRequestStringInput.d.ts} +2 -2
  163. package/{dist/serialization/types/PromptRequestStringInputRequest.js → serialization/types/PromptRequestStringInput.js} +2 -2
  164. package/{dist/serialization/types/PromptSettingsRequest.d.ts → serialization/types/PromptSettings.d.ts} +2 -2
  165. package/{dist/serialization/types/PromptSettingsRequest.js → serialization/types/PromptSettings.js} +2 -2
  166. package/serialization/types/RichTextChildBlock.d.ts +12 -0
  167. package/serialization/types/RichTextChildBlock.js +33 -0
  168. package/serialization/types/RichTextPromptBlock.d.ts +18 -0
  169. package/serialization/types/RichTextPromptBlock.js +39 -0
  170. package/serialization/types/{VariablePromptBlockRequest.d.ts → VariablePromptBlock.d.ts} +4 -4
  171. package/serialization/types/{VariablePromptBlockRequest.js → VariablePromptBlock.js} +4 -4
  172. package/serialization/types/index.d.ts +19 -21
  173. package/serialization/types/index.js +19 -21
  174. package/version.d.ts +1 -1
  175. package/version.js +1 -1
  176. package/api/types/PromptBlockRequest.d.ts +0 -5
  177. package/api/types/PromptRequestInputRequest.d.ts +0 -5
  178. package/api/types/RichTextChildBlockRequest.d.ts +0 -5
  179. package/api/types/VellumVariableExtensionsRequest.d.ts +0 -9
  180. package/api/types/VellumVariableRequest.d.ts +0 -12
  181. package/dist/api/types/PromptBlockRequest.d.ts +0 -5
  182. package/dist/api/types/PromptRequestInputRequest.d.ts +0 -5
  183. package/dist/api/types/RichTextChildBlockRequest.d.ts +0 -5
  184. package/dist/api/types/RichTextPromptBlockRequest.js +0 -5
  185. package/dist/api/types/VariablePromptBlockRequest.js +0 -5
  186. package/dist/api/types/VellumVariableExtensionsRequest.d.ts +0 -9
  187. package/dist/api/types/VellumVariableExtensionsRequest.js +0 -5
  188. package/dist/api/types/VellumVariableRequest.d.ts +0 -12
  189. package/dist/api/types/VellumVariableRequest.js +0 -5
  190. package/dist/serialization/resources/adHoc/client/requests/AdHocExecutePromptStreamRequest.d.ts +0 -23
  191. package/dist/serialization/types/FunctionDefinitionPromptBlockRequest.d.ts +0 -18
  192. package/dist/serialization/types/FunctionDefinitionPromptBlockRequest.js +0 -39
  193. package/dist/serialization/types/JinjaPromptBlockRequest.d.ts +0 -18
  194. package/dist/serialization/types/PromptBlockRequest.d.ts +0 -14
  195. package/dist/serialization/types/PromptBlockRequest.js +0 -42
  196. package/dist/serialization/types/PromptRequestChatHistoryInputRequest.d.ts +0 -15
  197. package/dist/serialization/types/PromptRequestInputRequest.d.ts +0 -13
  198. package/dist/serialization/types/PromptRequestInputRequest.js +0 -38
  199. package/dist/serialization/types/RichTextChildBlockRequest.d.ts +0 -12
  200. package/dist/serialization/types/RichTextChildBlockRequest.js +0 -33
  201. package/dist/serialization/types/RichTextPromptBlockRequest.d.ts +0 -19
  202. package/dist/serialization/types/RichTextPromptBlockRequest.js +0 -40
  203. package/dist/serialization/types/VellumVariableExtensionsRequest.d.ts +0 -12
  204. package/dist/serialization/types/VellumVariableExtensionsRequest.js +0 -33
  205. package/dist/serialization/types/VellumVariableRequest.d.ts +0 -19
  206. package/serialization/resources/adHoc/client/requests/AdHocExecutePromptStreamRequest.d.ts +0 -23
  207. package/serialization/types/FunctionDefinitionPromptBlockRequest.d.ts +0 -18
  208. package/serialization/types/FunctionDefinitionPromptBlockRequest.js +0 -39
  209. package/serialization/types/JinjaPromptBlockRequest.d.ts +0 -18
  210. package/serialization/types/JinjaPromptBlockRequest.js +0 -39
  211. package/serialization/types/PromptBlockRequest.d.ts +0 -14
  212. package/serialization/types/PromptBlockRequest.js +0 -42
  213. package/serialization/types/PromptRequestChatHistoryInputRequest.d.ts +0 -15
  214. package/serialization/types/PromptRequestInputRequest.d.ts +0 -13
  215. package/serialization/types/PromptRequestInputRequest.js +0 -38
  216. package/serialization/types/RichTextChildBlockRequest.d.ts +0 -12
  217. package/serialization/types/RichTextChildBlockRequest.js +0 -33
  218. package/serialization/types/RichTextPromptBlockRequest.d.ts +0 -19
  219. package/serialization/types/RichTextPromptBlockRequest.js +0 -40
  220. package/serialization/types/VellumVariableExtensionsRequest.d.ts +0 -12
  221. package/serialization/types/VellumVariableExtensionsRequest.js +0 -33
  222. package/serialization/types/VellumVariableRequest.d.ts +0 -19
  223. /package/api/resources/adHoc/client/requests/{AdHocExecutePromptStreamRequest.js → AdHocExecutePromptStream.js} +0 -0
  224. /package/api/types/{AdHocExpandMetaRequest.js → AdHocExpandMeta.js} +0 -0
  225. /package/api/types/{ChatMessagePromptBlockPropertiesRequest.js → ChatMessagePromptBlock.js} +0 -0
  226. /package/api/types/{ChatMessagePromptBlockRequest.js → ChatMessagePromptBlockProperties.js} +0 -0
  227. /package/api/types/{EphemeralPromptCacheConfigRequest.js → EphemeralPromptCacheConfig.js} +0 -0
  228. /package/api/types/{FunctionDefinitionPromptBlockPropertiesRequest.js → FunctionDefinitionPromptBlock.js} +0 -0
  229. /package/api/types/{FunctionDefinitionPromptBlockRequest.js → FunctionDefinitionPromptBlockProperties.js} +0 -0
  230. /package/api/types/{JinjaPromptBlockPropertiesRequest.js → JinjaPromptBlock.js} +0 -0
  231. /package/api/types/{JinjaPromptBlockRequest.js → JinjaPromptBlockProperties.js} +0 -0
  232. /package/api/types/{PlainTextPromptBlockRequest.js → PlainTextPromptBlock.js} +0 -0
  233. /package/api/types/{PromptBlockRequest.js → PromptBlock.js} +0 -0
  234. /package/api/types/{PromptParametersRequest.js → PromptParameters.js} +0 -0
  235. /package/api/types/{PromptRequestChatHistoryInputRequest.js → PromptRequestChatHistoryInput.js} +0 -0
  236. /package/api/types/{PromptRequestInputRequest.js → PromptRequestInput.js} +0 -0
  237. /package/api/types/{PromptRequestJsonInputRequest.js → PromptRequestJsonInput.js} +0 -0
  238. /package/api/types/{PromptRequestStringInputRequest.js → PromptRequestStringInput.js} +0 -0
  239. /package/api/types/{PromptSettingsRequest.js → PromptSettings.js} +0 -0
  240. /package/api/types/{RichTextChildBlockRequest.js → RichTextChildBlock.js} +0 -0
  241. /package/api/types/{RichTextPromptBlockRequest.js → RichTextPromptBlock.js} +0 -0
  242. /package/api/types/{VariablePromptBlockRequest.js → VariablePromptBlock.js} +0 -0
  243. /package/{api/types/VellumVariableExtensionsRequest.js → dist/api/resources/adHoc/client/requests/AdHocExecutePromptStream.js} +0 -0
  244. /package/{api/types/VellumVariableRequest.js → dist/api/types/AdHocExpandMeta.js} +0 -0
  245. /package/dist/api/{resources/adHoc/client/requests/AdHocExecutePromptStreamRequest.js → types/ChatMessagePromptBlock.js} +0 -0
  246. /package/dist/api/types/{AdHocExpandMetaRequest.js → ChatMessagePromptBlockProperties.js} +0 -0
  247. /package/dist/api/types/{ChatMessagePromptBlockPropertiesRequest.js → EphemeralPromptCacheConfig.js} +0 -0
  248. /package/dist/api/types/{ChatMessagePromptBlockRequest.js → FunctionDefinitionPromptBlock.js} +0 -0
  249. /package/dist/api/types/{EphemeralPromptCacheConfigRequest.js → FunctionDefinitionPromptBlockProperties.js} +0 -0
  250. /package/dist/api/types/{FunctionDefinitionPromptBlockPropertiesRequest.js → JinjaPromptBlock.js} +0 -0
  251. /package/dist/api/types/{FunctionDefinitionPromptBlockRequest.js → JinjaPromptBlockProperties.js} +0 -0
  252. /package/dist/api/types/{JinjaPromptBlockPropertiesRequest.js → PlainTextPromptBlock.js} +0 -0
  253. /package/dist/api/types/{JinjaPromptBlockRequest.js → PromptBlock.js} +0 -0
  254. /package/dist/api/types/{PlainTextPromptBlockRequest.js → PromptParameters.js} +0 -0
  255. /package/dist/api/types/{PromptBlockRequest.js → PromptRequestChatHistoryInput.js} +0 -0
  256. /package/dist/api/types/{PromptParametersRequest.js → PromptRequestInput.js} +0 -0
  257. /package/dist/api/types/{PromptRequestChatHistoryInputRequest.js → PromptRequestJsonInput.js} +0 -0
  258. /package/dist/api/types/{PromptRequestInputRequest.js → PromptRequestStringInput.js} +0 -0
  259. /package/dist/api/types/{PromptRequestJsonInputRequest.js → PromptSettings.js} +0 -0
  260. /package/dist/api/types/{PromptRequestStringInputRequest.js → RichTextChildBlock.js} +0 -0
  261. /package/dist/api/types/{PromptSettingsRequest.js → RichTextPromptBlock.js} +0 -0
  262. /package/dist/api/types/{RichTextChildBlockRequest.js → VariablePromptBlock.js} +0 -0
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- export interface FunctionDefinitionPromptBlockPropertiesRequest {
4
+ export interface FunctionDefinitionPromptBlockProperties {
5
5
  /** The name identifying the function. */
6
6
  functionName?: string;
7
7
  /** A description to help guide the model when to invoke this function. */
@@ -5,9 +5,9 @@ import * as Vellum from "../index";
5
5
  /**
6
6
  * A block of Jinja template code that is used to generate a prompt
7
7
  */
8
- export interface JinjaPromptBlockRequest {
8
+ export interface JinjaPromptBlock {
9
9
  state?: Vellum.PromptBlockState;
10
- cacheConfig?: Vellum.EphemeralPromptCacheConfigRequest;
10
+ cacheConfig?: Vellum.EphemeralPromptCacheConfig;
11
11
  blockType: "JINJA";
12
- properties: Vellum.JinjaPromptBlockPropertiesRequest;
12
+ properties: Vellum.JinjaPromptBlockProperties;
13
13
  }
@@ -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 "../index";
5
- export interface JinjaPromptBlockPropertiesRequest {
5
+ export interface JinjaPromptBlockProperties {
6
6
  template?: string;
7
7
  templateType?: Vellum.VellumVariableType;
8
8
  }
@@ -5,9 +5,9 @@ import * as Vellum from "../index";
5
5
  /**
6
6
  * A block that holds a plain text string value.
7
7
  */
8
- export interface PlainTextPromptBlockRequest {
8
+ export interface PlainTextPromptBlock {
9
9
  state?: Vellum.PromptBlockState;
10
- cacheConfig?: Vellum.EphemeralPromptCacheConfigRequest;
10
+ cacheConfig?: Vellum.EphemeralPromptCacheConfig;
11
11
  blockType: "PLAIN_TEXT";
12
12
  text: string;
13
13
  }
@@ -0,0 +1,5 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vellum from "../index";
5
+ export declare type PromptBlock = Vellum.JinjaPromptBlock | Vellum.ChatMessagePromptBlock | Vellum.FunctionDefinitionPromptBlock | Vellum.VariablePromptBlock | Vellum.RichTextPromptBlock;
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- export interface PromptParametersRequest {
4
+ export interface PromptParameters {
5
5
  stop?: string[];
6
6
  temperature?: number;
7
7
  maxTokens?: number;
@@ -2,9 +2,9 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  import * as Vellum from "../index";
5
- export interface PromptRequestChatHistoryInputRequest {
5
+ export interface PromptRequestChatHistoryInput {
6
6
  /** The variable's name, as defined in the Prompt. */
7
7
  key: string;
8
8
  type: "CHAT_HISTORY";
9
- value: Vellum.ChatMessageRequest[];
9
+ value: Vellum.ChatMessage[];
10
10
  }
@@ -0,0 +1,5 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vellum from "../index";
5
+ export declare type PromptRequestInput = Vellum.PromptRequestStringInput | Vellum.PromptRequestJsonInput | Vellum.PromptRequestChatHistoryInput;
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- export interface PromptRequestJsonInputRequest {
4
+ export interface PromptRequestJsonInput {
5
5
  /** The variable's name, as defined in the Prompt. */
6
6
  key: string;
7
7
  type: "JSON";
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- export interface PromptRequestStringInputRequest {
4
+ export interface PromptRequestStringInput {
5
5
  /** The variable's name, as defined in the Prompt. */
6
6
  key: string;
7
7
  type: "STRING";
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- export interface PromptSettingsRequest {
4
+ export interface PromptSettings {
5
5
  timeout?: number;
6
6
  }
@@ -0,0 +1,5 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vellum from "../index";
5
+ export declare type RichTextChildBlock = Vellum.VariablePromptBlock | Vellum.PlainTextPromptBlock;
@@ -5,10 +5,9 @@ import * as Vellum from "../index";
5
5
  /**
6
6
  * A block that includes a combination of plain text and variable blocks.
7
7
  */
8
- export interface RichTextPromptBlockRequest {
9
- blockType: "RICH_TEXT";
10
- blocks: Vellum.RichTextChildBlockRequest[];
11
- id: string;
8
+ export interface RichTextPromptBlock {
12
9
  state?: Vellum.PromptBlockState;
13
- cacheConfig?: Vellum.EphemeralPromptCacheConfigRequest;
10
+ cacheConfig?: Vellum.EphemeralPromptCacheConfig;
11
+ blockType: "RICH_TEXT";
12
+ blocks: Vellum.RichTextChildBlock[];
14
13
  }
@@ -5,9 +5,9 @@ import * as Vellum from "../index";
5
5
  /**
6
6
  * A block that represents a variable in a prompt template.
7
7
  */
8
- export interface VariablePromptBlockRequest {
8
+ export interface VariablePromptBlock {
9
9
  state?: Vellum.PromptBlockState;
10
- cacheConfig?: Vellum.EphemeralPromptCacheConfigRequest;
10
+ cacheConfig?: Vellum.EphemeralPromptCacheConfig;
11
11
  blockType: "VARIABLE";
12
12
  inputVariableId: string;
13
13
  }
@@ -1,5 +1,5 @@
1
1
  export * from "./AdHocExecutePromptEvent";
2
- export * from "./AdHocExpandMetaRequest";
2
+ export * from "./AdHocExpandMeta";
3
3
  export * from "./AdHocFulfilledPromptExecutionMeta";
4
4
  export * from "./AdHocInitiatedPromptExecutionMeta";
5
5
  export * from "./AdHocRejectedPromptExecutionMeta";
@@ -34,8 +34,8 @@ export * from "./ChatHistoryVellumValueRequest";
34
34
  export * from "./ChatMessage";
35
35
  export * from "./ChatMessageContent";
36
36
  export * from "./ChatMessageContentRequest";
37
- export * from "./ChatMessagePromptBlockPropertiesRequest";
38
- export * from "./ChatMessagePromptBlockRequest";
37
+ export * from "./ChatMessagePromptBlock";
38
+ export * from "./ChatMessagePromptBlockProperties";
39
39
  export * from "./ChatMessageRequest";
40
40
  export * from "./ChatMessageRole";
41
41
  export * from "./CodeExecutionNodeArrayResult";
@@ -79,7 +79,7 @@ export * from "./EnrichedNormalizedCompletion";
79
79
  export * from "./EntityStatus";
80
80
  export * from "./EntityVisibility";
81
81
  export * from "./EnvironmentEnum";
82
- export * from "./EphemeralPromptCacheConfigRequest";
82
+ export * from "./EphemeralPromptCacheConfig";
83
83
  export * from "./EphemeralPromptCacheConfigTypeEnum";
84
84
  export * from "./ErrorInputRequest";
85
85
  export * from "./ErrorVariableValue";
@@ -129,8 +129,8 @@ export * from "./FunctionCallRequest";
129
129
  export * from "./FunctionCallVariableValue";
130
130
  export * from "./FunctionCallVellumValue";
131
131
  export * from "./FunctionCallVellumValueRequest";
132
- export * from "./FunctionDefinitionPromptBlockPropertiesRequest";
133
- export * from "./FunctionDefinitionPromptBlockRequest";
132
+ export * from "./FunctionDefinitionPromptBlock";
133
+ export * from "./FunctionDefinitionPromptBlockProperties";
134
134
  export * from "./GenerateOptionsRequest";
135
135
  export * from "./GenerateRequest";
136
136
  export * from "./GenerateResponse";
@@ -164,8 +164,8 @@ export * from "./InstructorVectorizerConfig";
164
164
  export * from "./InstructorVectorizerConfigRequest";
165
165
  export * from "./IterationStateEnum";
166
166
  export * from "./JsonInputRequest";
167
- export * from "./JinjaPromptBlockPropertiesRequest";
168
- export * from "./JinjaPromptBlockRequest";
167
+ export * from "./JinjaPromptBlock";
168
+ export * from "./JinjaPromptBlockProperties";
169
169
  export * from "./JsonVariableValue";
170
170
  export * from "./JsonVellumValue";
171
171
  export * from "./JsonVellumValueRequest";
@@ -249,11 +249,11 @@ export * from "./PaginatedTestSuiteTestCaseList";
249
249
  export * from "./PaginatedWorkflowReleaseTagReadList";
250
250
  export * from "./PdfSearchResultMetaSource";
251
251
  export * from "./PdfSearchResultMetaSourceRequest";
252
- export * from "./PlainTextPromptBlockRequest";
252
+ export * from "./PlainTextPromptBlock";
253
253
  export * from "./Price";
254
254
  export * from "./ProcessingFailureReasonEnum";
255
255
  export * from "./ProcessingStateEnum";
256
- export * from "./PromptBlockRequest";
256
+ export * from "./PromptBlock";
257
257
  export * from "./PromptBlockState";
258
258
  export * from "./PromptDeploymentExpandMetaRequest";
259
259
  export * from "./PromptDeploymentInputRequest";
@@ -262,12 +262,12 @@ export * from "./PromptNodeExecutionMeta";
262
262
  export * from "./PromptNodeResult";
263
263
  export * from "./PromptNodeResultData";
264
264
  export * from "./PromptOutput";
265
- export * from "./PromptParametersRequest";
266
- export * from "./PromptRequestChatHistoryInputRequest";
267
- export * from "./PromptRequestInputRequest";
268
- export * from "./PromptRequestJsonInputRequest";
269
- export * from "./PromptRequestStringInputRequest";
270
- export * from "./PromptSettingsRequest";
265
+ export * from "./PromptParameters";
266
+ export * from "./PromptRequestChatHistoryInput";
267
+ export * from "./PromptRequestInput";
268
+ export * from "./PromptRequestJsonInput";
269
+ export * from "./PromptRequestStringInput";
270
+ export * from "./PromptSettings";
271
271
  export * from "./RawPromptExecutionOverridesRequest";
272
272
  export * from "./ReductoChunkerConfig";
273
273
  export * from "./ReductoChunkerConfigRequest";
@@ -281,8 +281,8 @@ export * from "./RejectedPromptExecutionMeta";
281
281
  export * from "./RejectedWorkflowNodeResultEvent";
282
282
  export * from "./ReleaseTagSource";
283
283
  export * from "./ReplaceTestSuiteTestCaseRequest";
284
- export * from "./RichTextChildBlockRequest";
285
- export * from "./RichTextPromptBlockRequest";
284
+ export * from "./RichTextChildBlock";
285
+ export * from "./RichTextPromptBlock";
286
286
  export * from "./SandboxScenario";
287
287
  export * from "./ScenarioInput";
288
288
  export * from "./ScenarioInputChatHistoryVariableValue";
@@ -416,7 +416,7 @@ export * from "./TokenOverlappingWindowChunkingRequest";
416
416
  export * from "./UnitEnum";
417
417
  export * from "./UploadDocumentResponse";
418
418
  export * from "./UpsertTestSuiteTestCaseRequest";
419
- export * from "./VariablePromptBlockRequest";
419
+ export * from "./VariablePromptBlock";
420
420
  export * from "./VellumAudio";
421
421
  export * from "./VellumAudioRequest";
422
422
  export * from "./VellumError";
@@ -431,8 +431,6 @@ export * from "./VellumValueLogicalExpressionRequest";
431
431
  export * from "./VellumValueRequest";
432
432
  export * from "./VellumVariable";
433
433
  export * from "./VellumVariableExtensions";
434
- export * from "./VellumVariableExtensionsRequest";
435
- export * from "./VellumVariableRequest";
436
434
  export * from "./VellumVariableType";
437
435
  export * from "./WorkflowDeploymentRead";
438
436
  export * from "./WorkflowEventError";
@@ -15,7 +15,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./AdHocExecutePromptEvent"), exports);
18
- __exportStar(require("./AdHocExpandMetaRequest"), exports);
18
+ __exportStar(require("./AdHocExpandMeta"), exports);
19
19
  __exportStar(require("./AdHocFulfilledPromptExecutionMeta"), exports);
20
20
  __exportStar(require("./AdHocInitiatedPromptExecutionMeta"), exports);
21
21
  __exportStar(require("./AdHocRejectedPromptExecutionMeta"), exports);
@@ -50,8 +50,8 @@ __exportStar(require("./ChatHistoryVellumValueRequest"), exports);
50
50
  __exportStar(require("./ChatMessage"), exports);
51
51
  __exportStar(require("./ChatMessageContent"), exports);
52
52
  __exportStar(require("./ChatMessageContentRequest"), exports);
53
- __exportStar(require("./ChatMessagePromptBlockPropertiesRequest"), exports);
54
- __exportStar(require("./ChatMessagePromptBlockRequest"), exports);
53
+ __exportStar(require("./ChatMessagePromptBlock"), exports);
54
+ __exportStar(require("./ChatMessagePromptBlockProperties"), exports);
55
55
  __exportStar(require("./ChatMessageRequest"), exports);
56
56
  __exportStar(require("./ChatMessageRole"), exports);
57
57
  __exportStar(require("./CodeExecutionNodeArrayResult"), exports);
@@ -95,7 +95,7 @@ __exportStar(require("./EnrichedNormalizedCompletion"), exports);
95
95
  __exportStar(require("./EntityStatus"), exports);
96
96
  __exportStar(require("./EntityVisibility"), exports);
97
97
  __exportStar(require("./EnvironmentEnum"), exports);
98
- __exportStar(require("./EphemeralPromptCacheConfigRequest"), exports);
98
+ __exportStar(require("./EphemeralPromptCacheConfig"), exports);
99
99
  __exportStar(require("./EphemeralPromptCacheConfigTypeEnum"), exports);
100
100
  __exportStar(require("./ErrorInputRequest"), exports);
101
101
  __exportStar(require("./ErrorVariableValue"), exports);
@@ -145,8 +145,8 @@ __exportStar(require("./FunctionCallRequest"), exports);
145
145
  __exportStar(require("./FunctionCallVariableValue"), exports);
146
146
  __exportStar(require("./FunctionCallVellumValue"), exports);
147
147
  __exportStar(require("./FunctionCallVellumValueRequest"), exports);
148
- __exportStar(require("./FunctionDefinitionPromptBlockPropertiesRequest"), exports);
149
- __exportStar(require("./FunctionDefinitionPromptBlockRequest"), exports);
148
+ __exportStar(require("./FunctionDefinitionPromptBlock"), exports);
149
+ __exportStar(require("./FunctionDefinitionPromptBlockProperties"), exports);
150
150
  __exportStar(require("./GenerateOptionsRequest"), exports);
151
151
  __exportStar(require("./GenerateRequest"), exports);
152
152
  __exportStar(require("./GenerateResponse"), exports);
@@ -180,8 +180,8 @@ __exportStar(require("./InstructorVectorizerConfig"), exports);
180
180
  __exportStar(require("./InstructorVectorizerConfigRequest"), exports);
181
181
  __exportStar(require("./IterationStateEnum"), exports);
182
182
  __exportStar(require("./JsonInputRequest"), exports);
183
- __exportStar(require("./JinjaPromptBlockPropertiesRequest"), exports);
184
- __exportStar(require("./JinjaPromptBlockRequest"), exports);
183
+ __exportStar(require("./JinjaPromptBlock"), exports);
184
+ __exportStar(require("./JinjaPromptBlockProperties"), exports);
185
185
  __exportStar(require("./JsonVariableValue"), exports);
186
186
  __exportStar(require("./JsonVellumValue"), exports);
187
187
  __exportStar(require("./JsonVellumValueRequest"), exports);
@@ -265,11 +265,11 @@ __exportStar(require("./PaginatedTestSuiteTestCaseList"), exports);
265
265
  __exportStar(require("./PaginatedWorkflowReleaseTagReadList"), exports);
266
266
  __exportStar(require("./PdfSearchResultMetaSource"), exports);
267
267
  __exportStar(require("./PdfSearchResultMetaSourceRequest"), exports);
268
- __exportStar(require("./PlainTextPromptBlockRequest"), exports);
268
+ __exportStar(require("./PlainTextPromptBlock"), exports);
269
269
  __exportStar(require("./Price"), exports);
270
270
  __exportStar(require("./ProcessingFailureReasonEnum"), exports);
271
271
  __exportStar(require("./ProcessingStateEnum"), exports);
272
- __exportStar(require("./PromptBlockRequest"), exports);
272
+ __exportStar(require("./PromptBlock"), exports);
273
273
  __exportStar(require("./PromptBlockState"), exports);
274
274
  __exportStar(require("./PromptDeploymentExpandMetaRequest"), exports);
275
275
  __exportStar(require("./PromptDeploymentInputRequest"), exports);
@@ -278,12 +278,12 @@ __exportStar(require("./PromptNodeExecutionMeta"), exports);
278
278
  __exportStar(require("./PromptNodeResult"), exports);
279
279
  __exportStar(require("./PromptNodeResultData"), exports);
280
280
  __exportStar(require("./PromptOutput"), exports);
281
- __exportStar(require("./PromptParametersRequest"), exports);
282
- __exportStar(require("./PromptRequestChatHistoryInputRequest"), exports);
283
- __exportStar(require("./PromptRequestInputRequest"), exports);
284
- __exportStar(require("./PromptRequestJsonInputRequest"), exports);
285
- __exportStar(require("./PromptRequestStringInputRequest"), exports);
286
- __exportStar(require("./PromptSettingsRequest"), exports);
281
+ __exportStar(require("./PromptParameters"), exports);
282
+ __exportStar(require("./PromptRequestChatHistoryInput"), exports);
283
+ __exportStar(require("./PromptRequestInput"), exports);
284
+ __exportStar(require("./PromptRequestJsonInput"), exports);
285
+ __exportStar(require("./PromptRequestStringInput"), exports);
286
+ __exportStar(require("./PromptSettings"), exports);
287
287
  __exportStar(require("./RawPromptExecutionOverridesRequest"), exports);
288
288
  __exportStar(require("./ReductoChunkerConfig"), exports);
289
289
  __exportStar(require("./ReductoChunkerConfigRequest"), exports);
@@ -297,8 +297,8 @@ __exportStar(require("./RejectedPromptExecutionMeta"), exports);
297
297
  __exportStar(require("./RejectedWorkflowNodeResultEvent"), exports);
298
298
  __exportStar(require("./ReleaseTagSource"), exports);
299
299
  __exportStar(require("./ReplaceTestSuiteTestCaseRequest"), exports);
300
- __exportStar(require("./RichTextChildBlockRequest"), exports);
301
- __exportStar(require("./RichTextPromptBlockRequest"), exports);
300
+ __exportStar(require("./RichTextChildBlock"), exports);
301
+ __exportStar(require("./RichTextPromptBlock"), exports);
302
302
  __exportStar(require("./SandboxScenario"), exports);
303
303
  __exportStar(require("./ScenarioInput"), exports);
304
304
  __exportStar(require("./ScenarioInputChatHistoryVariableValue"), exports);
@@ -432,7 +432,7 @@ __exportStar(require("./TokenOverlappingWindowChunkingRequest"), exports);
432
432
  __exportStar(require("./UnitEnum"), exports);
433
433
  __exportStar(require("./UploadDocumentResponse"), exports);
434
434
  __exportStar(require("./UpsertTestSuiteTestCaseRequest"), exports);
435
- __exportStar(require("./VariablePromptBlockRequest"), exports);
435
+ __exportStar(require("./VariablePromptBlock"), exports);
436
436
  __exportStar(require("./VellumAudio"), exports);
437
437
  __exportStar(require("./VellumAudioRequest"), exports);
438
438
  __exportStar(require("./VellumError"), exports);
@@ -447,8 +447,6 @@ __exportStar(require("./VellumValueLogicalExpressionRequest"), exports);
447
447
  __exportStar(require("./VellumValueRequest"), exports);
448
448
  __exportStar(require("./VellumVariable"), exports);
449
449
  __exportStar(require("./VellumVariableExtensions"), exports);
450
- __exportStar(require("./VellumVariableExtensionsRequest"), exports);
451
- __exportStar(require("./VellumVariableRequest"), exports);
452
450
  __exportStar(require("./VellumVariableType"), exports);
453
451
  __exportStar(require("./WorkflowDeploymentRead"), exports);
454
452
  __exportStar(require("./WorkflowEventError"), exports);
package/dist/Client.js CHANGED
@@ -94,7 +94,7 @@ class VellumClient {
94
94
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
95
95
  .default, "v1/execute-code"),
96
96
  method: "POST",
97
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.6", "User-Agent": "vellum-ai/0.9.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
97
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.8", "User-Agent": "vellum-ai/0.9.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
98
98
  contentType: "application/json",
99
99
  requestType: "json",
100
100
  body: serializers.CodeExecutorRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -163,7 +163,7 @@ class VellumClient {
163
163
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
164
164
  .predict, "v1/execute-prompt"),
165
165
  method: "POST",
166
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.6", "User-Agent": "vellum-ai/0.9.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
166
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.8", "User-Agent": "vellum-ai/0.9.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
167
167
  contentType: "application/json",
168
168
  requestType: "json",
169
169
  body: serializers.ExecutePromptRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -221,7 +221,7 @@ class VellumClient {
221
221
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
222
222
  .predict, "v1/execute-prompt-stream"),
223
223
  method: "POST",
224
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.6", "User-Agent": "vellum-ai/0.9.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
224
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.8", "User-Agent": "vellum-ai/0.9.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
225
225
  contentType: "application/json",
226
226
  requestType: "json",
227
227
  body: serializers.ExecutePromptStreamRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -306,7 +306,7 @@ class VellumClient {
306
306
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
307
307
  .predict, "v1/execute-workflow"),
308
308
  method: "POST",
309
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.6", "User-Agent": "vellum-ai/0.9.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
309
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.8", "User-Agent": "vellum-ai/0.9.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
310
310
  contentType: "application/json",
311
311
  requestType: "json",
312
312
  body: serializers.ExecuteWorkflowRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -362,7 +362,7 @@ class VellumClient {
362
362
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
363
363
  .predict, "v1/execute-workflow-stream"),
364
364
  method: "POST",
365
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.6", "User-Agent": "vellum-ai/0.9.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
365
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.8", "User-Agent": "vellum-ai/0.9.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
366
366
  contentType: "application/json",
367
367
  requestType: "json",
368
368
  body: serializers.ExecuteWorkflowStreamRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -449,7 +449,7 @@ class VellumClient {
449
449
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
450
450
  .predict, "v1/generate"),
451
451
  method: "POST",
452
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.6", "User-Agent": "vellum-ai/0.9.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
452
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.8", "User-Agent": "vellum-ai/0.9.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
453
453
  contentType: "application/json",
454
454
  requestType: "json",
455
455
  body: serializers.GenerateBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -510,7 +510,7 @@ class VellumClient {
510
510
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
511
511
  .predict, "v1/generate-stream"),
512
512
  method: "POST",
513
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.6", "User-Agent": "vellum-ai/0.9.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
513
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.8", "User-Agent": "vellum-ai/0.9.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
514
514
  contentType: "application/json",
515
515
  requestType: "json",
516
516
  body: serializers.GenerateStreamBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -591,7 +591,7 @@ class VellumClient {
591
591
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
592
592
  .predict, "v1/search"),
593
593
  method: "POST",
594
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.6", "User-Agent": "vellum-ai/0.9.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
594
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.8", "User-Agent": "vellum-ai/0.9.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
595
595
  contentType: "application/json",
596
596
  requestType: "json",
597
597
  body: serializers.SearchRequestBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -659,7 +659,7 @@ class VellumClient {
659
659
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
660
660
  .predict, "v1/submit-completion-actuals"),
661
661
  method: "POST",
662
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.6", "User-Agent": "vellum-ai/0.9.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
662
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.8", "User-Agent": "vellum-ai/0.9.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
663
663
  contentType: "application/json",
664
664
  requestType: "json",
665
665
  body: serializers.SubmitCompletionActualsRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -722,7 +722,7 @@ class VellumClient {
722
722
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
723
723
  .predict, "v1/submit-workflow-execution-actuals"),
724
724
  method: "POST",
725
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.6", "User-Agent": "vellum-ai/0.9.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
725
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.8", "User-Agent": "vellum-ai/0.9.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
726
726
  contentType: "application/json",
727
727
  requestType: "json",
728
728
  body: serializers.SubmitWorkflowExecutionActualsRequest.jsonOrThrow(request, {
@@ -24,7 +24,7 @@ export declare class AdHoc {
24
24
  /**
25
25
  * An internal-only endpoint that's subject to breaking changes without notice. Not intended for public use.
26
26
  */
27
- adhocExecutePromptStream(request: Vellum.AdHocExecutePromptStreamRequest, requestOptions?: AdHoc.RequestOptions): Promise<core.Stream<Vellum.AdHocExecutePromptEvent>>;
27
+ adhocExecutePromptStream(request: Vellum.AdHocExecutePromptStream, requestOptions?: AdHoc.RequestOptions): Promise<core.Stream<Vellum.AdHocExecutePromptEvent>>;
28
28
  protected _getCustomAuthorizationHeaders(): Promise<{
29
29
  X_API_KEY: string | undefined;
30
30
  }>;
@@ -59,10 +59,10 @@ class AdHoc {
59
59
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
60
60
  .default, "v1/ad-hoc/execute-prompt-stream"),
61
61
  method: "POST",
62
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.6", "User-Agent": "vellum-ai/0.9.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
62
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.8", "User-Agent": "vellum-ai/0.9.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
63
63
  contentType: "application/json",
64
64
  requestType: "json",
65
- body: serializers.AdHocExecutePromptStreamRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
65
+ body: serializers.AdHocExecutePromptStream.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
66
66
  responseType: "sse",
67
67
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
68
68
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
@@ -18,10 +18,14 @@ import * as Vellum from "../../../../index";
18
18
  * required: true,
19
19
  * default: {
20
20
  * type: "STRING",
21
- * value: "string"
21
+ * value: {
22
+ * "key": "value"
23
+ * }
22
24
  * },
23
25
  * extensions: {
24
- * color: "string"
26
+ * color: {
27
+ * "key": "value"
28
+ * }
25
29
  * }
26
30
  * }],
27
31
  * parameters: {
@@ -49,9 +53,7 @@ import * as Vellum from "../../../../index";
49
53
  * blocks: [{
50
54
  * state: "ENABLED",
51
55
  * cacheConfig: {
52
- * type: {
53
- * "key": "value"
54
- * }
56
+ * type: "EPHEMERAL"
55
57
  * },
56
58
  * blockType: "JINJA",
57
59
  * properties: {
@@ -67,12 +69,12 @@ import * as Vellum from "../../../../index";
67
69
  * }
68
70
  * }
69
71
  */
70
- export interface AdHocExecutePromptStreamRequest {
72
+ export interface AdHocExecutePromptStream {
71
73
  mlModel: string;
72
- inputValues: Vellum.PromptRequestInputRequest[];
73
- inputVariables: Vellum.VellumVariableRequest[];
74
- parameters: Vellum.PromptParametersRequest;
75
- settings?: Vellum.PromptSettingsRequest;
76
- blocks: Vellum.PromptBlockRequest[];
77
- expandMeta?: Vellum.AdHocExpandMetaRequest;
74
+ inputValues: Vellum.PromptRequestInput[];
75
+ inputVariables: Vellum.VellumVariable[];
76
+ parameters: Vellum.PromptParameters;
77
+ settings?: Vellum.PromptSettings;
78
+ blocks: Vellum.PromptBlock[];
79
+ expandMeta?: Vellum.AdHocExpandMeta;
78
80
  }
@@ -1 +1 @@
1
- export { type AdHocExecutePromptStreamRequest } from "./AdHocExecutePromptStreamRequest";
1
+ export { type AdHocExecutePromptStream } from "./AdHocExecutePromptStream";
@@ -75,7 +75,7 @@ class ContainerImages {
75
75
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
76
76
  .default, "v1/container-images"),
77
77
  method: "GET",
78
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.6", "User-Agent": "vellum-ai/0.9.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
78
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.8", "User-Agent": "vellum-ai/0.9.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
79
79
  contentType: "application/json",
80
80
  queryParameters: _queryParams,
81
81
  requestType: "json",
@@ -128,7 +128,7 @@ class ContainerImages {
128
128
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
129
129
  .default, `v1/container-images/${encodeURIComponent(id)}`),
130
130
  method: "GET",
131
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.6", "User-Agent": "vellum-ai/0.9.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
131
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.8", "User-Agent": "vellum-ai/0.9.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
132
132
  contentType: "application/json",
133
133
  requestType: "json",
134
134
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -179,7 +179,7 @@ class ContainerImages {
179
179
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
180
180
  .default, "v1/container-images/docker-service-token"),
181
181
  method: "GET",
182
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.6", "User-Agent": "vellum-ai/0.9.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
182
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.8", "User-Agent": "vellum-ai/0.9.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
183
183
  contentType: "application/json",
184
184
  requestType: "json",
185
185
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -235,7 +235,7 @@ class ContainerImages {
235
235
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
236
236
  .default, "v1/container-images/push"),
237
237
  method: "POST",
238
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.6", "User-Agent": "vellum-ai/0.9.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
238
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.8", "User-Agent": "vellum-ai/0.9.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
239
239
  contentType: "application/json",
240
240
  requestType: "json",
241
241
  body: serializers.PushContainerImageRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),