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
@@ -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" }),
@@ -79,7 +79,7 @@ class Deployments {
79
79
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
80
80
  .default, "v1/deployments"),
81
81
  method: "GET",
82
- 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())),
82
+ 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())),
83
83
  contentType: "application/json",
84
84
  queryParameters: _queryParams,
85
85
  requestType: "json",
@@ -132,7 +132,7 @@ class Deployments {
132
132
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
133
133
  .default, `v1/deployments/${encodeURIComponent(id)}`),
134
134
  method: "GET",
135
- 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())),
135
+ 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())),
136
136
  contentType: "application/json",
137
137
  requestType: "json",
138
138
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -199,7 +199,7 @@ class Deployments {
199
199
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
200
200
  .default, `v1/deployments/${encodeURIComponent(id)}/release-tags`),
201
201
  method: "GET",
202
- 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())),
202
+ 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())),
203
203
  contentType: "application/json",
204
204
  queryParameters: _queryParams,
205
205
  requestType: "json",
@@ -253,7 +253,7 @@ class Deployments {
253
253
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
254
254
  .default, `v1/deployments/${encodeURIComponent(id)}/release-tags/${encodeURIComponent(name)}`),
255
255
  method: "GET",
256
- 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())),
256
+ 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())),
257
257
  contentType: "application/json",
258
258
  requestType: "json",
259
259
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -307,7 +307,7 @@ class Deployments {
307
307
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
308
308
  .default, `v1/deployments/${encodeURIComponent(id)}/release-tags/${encodeURIComponent(name)}`),
309
309
  method: "PATCH",
310
- 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())),
310
+ 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())),
311
311
  contentType: "application/json",
312
312
  requestType: "json",
313
313
  body: serializers.PatchedDeploymentReleaseTagUpdateRequest.jsonOrThrow(request, {
@@ -382,7 +382,7 @@ class Deployments {
382
382
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
383
383
  .default, "v1/deployments/provider-payload"),
384
384
  method: "POST",
385
- 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())),
385
+ 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())),
386
386
  contentType: "application/json",
387
387
  requestType: "json",
388
388
  body: serializers.DeploymentProviderPayloadRequest.jsonOrThrow(request, {
@@ -81,7 +81,7 @@ class DocumentIndexes {
81
81
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
82
82
  .default, "v1/document-indexes"),
83
83
  method: "GET",
84
- 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())),
84
+ 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())),
85
85
  contentType: "application/json",
86
86
  queryParameters: _queryParams,
87
87
  requestType: "json",
@@ -196,7 +196,7 @@ class DocumentIndexes {
196
196
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
197
197
  .default, "v1/document-indexes"),
198
198
  method: "POST",
199
- 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())),
199
+ 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())),
200
200
  contentType: "application/json",
201
201
  requestType: "json",
202
202
  body: serializers.DocumentIndexCreateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -249,7 +249,7 @@ class DocumentIndexes {
249
249
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
250
250
  .default, `v1/document-indexes/${encodeURIComponent(id)}`),
251
251
  method: "GET",
252
- 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())),
252
+ 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())),
253
253
  contentType: "application/json",
254
254
  requestType: "json",
255
255
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -304,7 +304,7 @@ class DocumentIndexes {
304
304
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
305
305
  .default, `v1/document-indexes/${encodeURIComponent(id)}`),
306
306
  method: "PUT",
307
- 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())),
307
+ 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())),
308
308
  contentType: "application/json",
309
309
  requestType: "json",
310
310
  body: serializers.DocumentIndexUpdateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -357,7 +357,7 @@ class DocumentIndexes {
357
357
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
358
358
  .documents, `v1/document-indexes/${encodeURIComponent(id)}`),
359
359
  method: "DELETE",
360
- 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())),
360
+ 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())),
361
361
  contentType: "application/json",
362
362
  requestType: "json",
363
363
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -405,7 +405,7 @@ class DocumentIndexes {
405
405
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
406
406
  .default, `v1/document-indexes/${encodeURIComponent(id)}`),
407
407
  method: "PATCH",
408
- 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())),
408
+ 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())),
409
409
  contentType: "application/json",
410
410
  requestType: "json",
411
411
  body: serializers.PatchedDocumentIndexUpdateRequest.jsonOrThrow(request, {
@@ -461,7 +461,7 @@ class DocumentIndexes {
461
461
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
462
462
  .default, `v1/document-indexes/${encodeURIComponent(id)}/documents/${encodeURIComponent(documentId)}`),
463
463
  method: "POST",
464
- 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())),
464
+ 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())),
465
465
  contentType: "application/json",
466
466
  requestType: "json",
467
467
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -509,7 +509,7 @@ class DocumentIndexes {
509
509
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
510
510
  .documents, `v1/document-indexes/${encodeURIComponent(id)}/documents/${encodeURIComponent(documentId)}`),
511
511
  method: "DELETE",
512
- 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())),
512
+ 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())),
513
513
  contentType: "application/json",
514
514
  requestType: "json",
515
515
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -79,7 +79,7 @@ class Documents {
79
79
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
80
80
  .default, "v1/documents"),
81
81
  method: "GET",
82
- 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())),
82
+ 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())),
83
83
  contentType: "application/json",
84
84
  queryParameters: _queryParams,
85
85
  requestType: "json",
@@ -132,7 +132,7 @@ class Documents {
132
132
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
133
133
  .default, `v1/documents/${encodeURIComponent(id)}`),
134
134
  method: "GET",
135
- 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())),
135
+ 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())),
136
136
  contentType: "application/json",
137
137
  requestType: "json",
138
138
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -184,7 +184,7 @@ class Documents {
184
184
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
185
185
  .documents, `v1/documents/${encodeURIComponent(id)}`),
186
186
  method: "DELETE",
187
- 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())),
187
+ 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())),
188
188
  contentType: "application/json",
189
189
  requestType: "json",
190
190
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -232,7 +232,7 @@ class Documents {
232
232
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
233
233
  .default, `v1/documents/${encodeURIComponent(id)}`),
234
234
  method: "PATCH",
235
- 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())),
235
+ 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())),
236
236
  contentType: "application/json",
237
237
  requestType: "json",
238
238
  body: serializers.PatchedDocumentUpdateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -322,7 +322,7 @@ class Documents {
322
322
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
323
323
  .documents, "v1/upload-document"),
324
324
  method: "POST",
325
- headers: Object.assign(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())), _maybeEncodedRequest.headers),
325
+ headers: Object.assign(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())), _maybeEncodedRequest.headers),
326
326
  requestType: "file",
327
327
  duplex: _maybeEncodedRequest.duplex,
328
328
  body: _maybeEncodedRequest.body,
@@ -81,7 +81,7 @@ class FolderEntities {
81
81
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
82
82
  .default, "v1/folder-entities"),
83
83
  method: "GET",
84
- 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())),
84
+ 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())),
85
85
  contentType: "application/json",
86
86
  queryParameters: _queryParams,
87
87
  requestType: "json",
@@ -145,7 +145,7 @@ class FolderEntities {
145
145
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
146
146
  .default, `v1/folders/${encodeURIComponent(folderId)}/add-entity`),
147
147
  method: "POST",
148
- 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())),
148
+ 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())),
149
149
  contentType: "application/json",
150
150
  requestType: "json",
151
151
  body: serializers.AddEntityToFolderRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -71,7 +71,7 @@ class MetricDefinitions {
71
71
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
72
72
  .default, `v1/metric-definitions/${encodeURIComponent(id)}/execute`),
73
73
  method: "POST",
74
- 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())),
74
+ 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())),
75
75
  contentType: "application/json",
76
76
  requestType: "json",
77
77
  body: serializers.ExecuteMetricDefinitionRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -64,7 +64,7 @@ class Sandboxes {
64
64
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
65
65
  .default, `v1/sandboxes/${encodeURIComponent(id)}/prompts/${encodeURIComponent(promptVariantId)}/deploy`),
66
66
  method: "POST",
67
- 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())),
67
+ 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())),
68
68
  contentType: "application/json",
69
69
  requestType: "json",
70
70
  body: serializers.DeploySandboxPromptRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -151,7 +151,7 @@ class Sandboxes {
151
151
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
152
152
  .default, `v1/sandboxes/${encodeURIComponent(id)}/scenarios`),
153
153
  method: "POST",
154
- 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())),
154
+ 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())),
155
155
  contentType: "application/json",
156
156
  requestType: "json",
157
157
  body: serializers.UpsertSandboxScenarioRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -205,7 +205,7 @@ class Sandboxes {
205
205
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
206
206
  .default, `v1/sandboxes/${encodeURIComponent(id)}/scenarios/${encodeURIComponent(scenarioId)}`),
207
207
  method: "DELETE",
208
- 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())),
208
+ 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())),
209
209
  contentType: "application/json",
210
210
  requestType: "json",
211
211
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -71,7 +71,7 @@ class TestSuiteRuns {
71
71
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
72
72
  .default, "v1/test-suite-runs"),
73
73
  method: "POST",
74
- 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())),
74
+ 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())),
75
75
  contentType: "application/json",
76
76
  requestType: "json",
77
77
  body: serializers.TestSuiteRunCreateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -124,7 +124,7 @@ class TestSuiteRuns {
124
124
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
125
125
  .default, `v1/test-suite-runs/${encodeURIComponent(id)}`),
126
126
  method: "GET",
127
- 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())),
127
+ 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())),
128
128
  contentType: "application/json",
129
129
  requestType: "json",
130
130
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -191,7 +191,7 @@ class TestSuiteRuns {
191
191
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
192
192
  .default, `v1/test-suite-runs/${encodeURIComponent(id)}/executions`),
193
193
  method: "GET",
194
- 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())),
194
+ 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())),
195
195
  contentType: "application/json",
196
196
  queryParameters: _queryParams,
197
197
  requestType: "json",
@@ -73,7 +73,7 @@ class TestSuites {
73
73
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
74
74
  .default, `v1/test-suites/${encodeURIComponent(id)}/test-cases`),
75
75
  method: "GET",
76
- 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())),
76
+ 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())),
77
77
  contentType: "application/json",
78
78
  queryParameters: _queryParams,
79
79
  requestType: "json",
@@ -142,7 +142,7 @@ class TestSuites {
142
142
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
143
143
  .default, `v1/test-suites/${encodeURIComponent(id)}/test-cases`),
144
144
  method: "POST",
145
- 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())),
145
+ 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())),
146
146
  contentType: "application/json",
147
147
  requestType: "json",
148
148
  body: serializers.UpsertTestSuiteTestCaseRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -189,7 +189,7 @@ class TestSuites {
189
189
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
190
190
  .default, `v1/test-suites/${encodeURIComponent(id)}/test-cases-bulk`),
191
191
  method: "POST",
192
- 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())),
192
+ 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())),
193
193
  contentType: "application/json",
194
194
  requestType: "json",
195
195
  body: serializers.testSuites.testSuiteTestCasesBulk.Request.jsonOrThrow(request, {
@@ -256,7 +256,7 @@ class TestSuites {
256
256
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
257
257
  .default, `v1/test-suites/${encodeURIComponent(id)}/test-cases/${encodeURIComponent(testCaseId)}`),
258
258
  method: "DELETE",
259
- 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())),
259
+ 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())),
260
260
  contentType: "application/json",
261
261
  requestType: "json",
262
262
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -78,7 +78,7 @@ class WorkflowDeployments {
78
78
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
79
79
  .default, "v1/workflow-deployments"),
80
80
  method: "GET",
81
- 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())),
81
+ 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())),
82
82
  contentType: "application/json",
83
83
  queryParameters: _queryParams,
84
84
  requestType: "json",
@@ -131,7 +131,7 @@ class WorkflowDeployments {
131
131
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
132
132
  .default, `v1/workflow-deployments/${encodeURIComponent(id)}`),
133
133
  method: "GET",
134
- 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())),
134
+ 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())),
135
135
  contentType: "application/json",
136
136
  requestType: "json",
137
137
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -198,7 +198,7 @@ class WorkflowDeployments {
198
198
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
199
199
  .default, `v1/workflow-deployments/${encodeURIComponent(id)}/release-tags`),
200
200
  method: "GET",
201
- 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())),
201
+ 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())),
202
202
  contentType: "application/json",
203
203
  queryParameters: _queryParams,
204
204
  requestType: "json",
@@ -252,7 +252,7 @@ class WorkflowDeployments {
252
252
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
253
253
  .default, `v1/workflow-deployments/${encodeURIComponent(id)}/release-tags/${encodeURIComponent(name)}`),
254
254
  method: "GET",
255
- 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())),
255
+ 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())),
256
256
  contentType: "application/json",
257
257
  requestType: "json",
258
258
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -306,7 +306,7 @@ class WorkflowDeployments {
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
  .default, `v1/workflow-deployments/${encodeURIComponent(id)}/release-tags/${encodeURIComponent(name)}`),
308
308
  method: "PATCH",
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.PatchedWorkflowReleaseTagUpdateRequest.jsonOrThrow(request, {
@@ -64,7 +64,7 @@ class WorkflowSandboxes {
64
64
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
65
65
  .default, `v1/workflow-sandboxes/${encodeURIComponent(id)}/workflows/${encodeURIComponent(workflowId)}/deploy`),
66
66
  method: "POST",
67
- 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())),
67
+ 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())),
68
68
  contentType: "application/json",
69
69
  requestType: "json",
70
70
  body: serializers.DeploySandboxWorkflowRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -65,7 +65,7 @@ class Workflows {
65
65
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
66
66
  .default, `v1/workflows/${encodeURIComponent(id)}/pull`),
67
67
  method: "GET",
68
- 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())),
68
+ 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())),
69
69
  contentType: "application/json",
70
70
  queryParameters: _queryParams,
71
71
  requestType: "json",
@@ -124,7 +124,7 @@ class Workflows {
124
124
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
125
125
  .default, "v1/workflows/push"),
126
126
  method: "POST",
127
- 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())),
127
+ 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())),
128
128
  contentType: "application/json",
129
129
  requestType: "json",
130
130
  body: serializers.WorkflowPushRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -64,7 +64,7 @@ class WorkspaceSecrets {
64
64
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
65
65
  .default, `v1/workspace-secrets/${encodeURIComponent(id)}`),
66
66
  method: "GET",
67
- 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())),
67
+ 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())),
68
68
  contentType: "application/json",
69
69
  requestType: "json",
70
70
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -117,7 +117,7 @@ class WorkspaceSecrets {
117
117
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
118
118
  .default, `v1/workspace-secrets/${encodeURIComponent(id)}`),
119
119
  method: "PATCH",
120
- 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())),
120
+ 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())),
121
121
  contentType: "application/json",
122
122
  requestType: "json",
123
123
  body: serializers.PatchedWorkspaceSecretUpdateRequest.jsonOrThrow(request, {
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- export interface AdHocExpandMetaRequest {
4
+ export interface AdHocExpandMeta {
5
5
  /** If enabled, the response will include model host cost tracking. This may increase latency for some model hosts. */
6
6
  cost?: boolean;
7
7
  /** If enabled, the response will include the model identifier representing the ML Model invoked by the Prompt. */
@@ -5,9 +5,9 @@ import * as Vellum from "../index";
5
5
  /**
6
6
  * A block that represents a chat message in a prompt template.
7
7
  */
8
- export interface ChatMessagePromptBlockRequest {
8
+ export interface ChatMessagePromptBlock {
9
9
  state?: Vellum.PromptBlockState;
10
- cacheConfig?: Vellum.EphemeralPromptCacheConfigRequest;
10
+ cacheConfig?: Vellum.EphemeralPromptCacheConfig;
11
11
  blockType: "CHAT_MESSAGE";
12
- properties: Vellum.ChatMessagePromptBlockPropertiesRequest;
12
+ properties: Vellum.ChatMessagePromptBlockProperties;
13
13
  }
@@ -5,8 +5,8 @@ import * as Vellum from "../index";
5
5
  /**
6
6
  * The properties of a ChatMessagePromptTemplateBlock
7
7
  */
8
- export interface ChatMessagePromptBlockPropertiesRequest {
9
- blocks: Vellum.PromptBlockRequest[];
8
+ export interface ChatMessagePromptBlockProperties {
9
+ blocks: Vellum.PromptBlock[];
10
10
  chatRole?: Vellum.ChatMessageRole;
11
11
  chatSource?: string;
12
12
  chatMessageUnterminated?: boolean;
@@ -2,6 +2,6 @@
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 EphemeralPromptCacheConfigRequest {
5
+ export interface EphemeralPromptCacheConfig {
6
6
  type?: Vellum.EphemeralPromptCacheConfigTypeEnum;
7
7
  }
@@ -5,9 +5,9 @@ import * as Vellum from "../index";
5
5
  /**
6
6
  * A block that represents a function definition in a prompt template.
7
7
  */
8
- export interface FunctionDefinitionPromptBlockRequest {
8
+ export interface FunctionDefinitionPromptBlock {
9
9
  state?: Vellum.PromptBlockState;
10
- cacheConfig?: Vellum.EphemeralPromptCacheConfigRequest;
10
+ cacheConfig?: Vellum.EphemeralPromptCacheConfig;
11
11
  blockType: "FUNCTION_DEFINITION";
12
- properties: Vellum.FunctionDefinitionPromptBlockPropertiesRequest;
12
+ properties: Vellum.FunctionDefinitionPromptBlockProperties;
13
13
  }