vellum-ai 1.2.2 → 1.2.3

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 (278) hide show
  1. package/Client.js +11 -11
  2. package/api/resources/adHoc/client/Client.js +2 -2
  3. package/api/resources/containerImages/client/Client.js +4 -4
  4. package/api/resources/deployments/client/Client.js +8 -8
  5. package/api/resources/documentIndexes/client/Client.js +8 -8
  6. package/api/resources/documents/client/Client.js +5 -5
  7. package/api/resources/events/client/Client.js +1 -1
  8. package/api/resources/folderEntities/client/Client.js +2 -2
  9. package/api/resources/index.d.ts +1 -0
  10. package/api/resources/index.js +1 -0
  11. package/api/resources/metricDefinitions/client/Client.js +2 -2
  12. package/api/resources/mlModels/client/Client.js +1 -1
  13. package/api/resources/organizations/client/Client.js +1 -1
  14. package/api/resources/prompts/client/Client.js +2 -2
  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 +9 -9
  19. package/api/resources/workflowExecutions/client/Client.d.ts +2 -1
  20. package/api/resources/workflowExecutions/client/Client.js +17 -7
  21. package/api/resources/workflowExecutions/client/index.d.ts +1 -1
  22. package/api/resources/workflowExecutions/client/index.js +15 -0
  23. package/api/resources/workflowExecutions/client/requests/RetrieveWorkflowExecutionDetailRequest.d.ts +17 -0
  24. package/api/resources/workflowExecutions/client/requests/RetrieveWorkflowExecutionDetailRequest.js +5 -0
  25. package/api/resources/workflowExecutions/client/requests/index.d.ts +1 -0
  26. package/api/resources/workflowExecutions/client/requests/index.js +2 -0
  27. package/api/resources/workflowSandboxes/client/Client.js +2 -2
  28. package/api/resources/workflows/client/Client.js +2 -2
  29. package/api/resources/workspaceSecrets/client/Client.js +2 -2
  30. package/api/resources/workspaces/client/Client.js +1 -1
  31. package/api/types/AudioInputRequest.d.ts +13 -0
  32. package/api/types/AudioInputRequest.js +5 -0
  33. package/api/types/DelimiterChunkerConfig.d.ts +7 -0
  34. package/api/types/DelimiterChunkerConfig.js +5 -0
  35. package/api/types/DelimiterChunkerConfigRequest.d.ts +7 -0
  36. package/api/types/DelimiterChunkerConfigRequest.js +5 -0
  37. package/api/types/DelimiterChunking.d.ts +8 -0
  38. package/api/types/DelimiterChunking.js +5 -0
  39. package/api/types/DelimiterChunkingRequest.d.ts +8 -0
  40. package/api/types/DelimiterChunkingRequest.js +5 -0
  41. package/api/types/DocumentIndexChunking.d.ts +1 -1
  42. package/api/types/DocumentIndexChunkingRequest.d.ts +1 -1
  43. package/api/types/DocumentInputRequest.d.ts +13 -0
  44. package/api/types/DocumentInputRequest.js +5 -0
  45. package/api/types/ExecutionAudioVellumValue.d.ts +14 -0
  46. package/api/types/ExecutionAudioVellumValue.js +5 -0
  47. package/api/types/ExecutionDocumentVellumValue.d.ts +14 -0
  48. package/api/types/ExecutionDocumentVellumValue.js +5 -0
  49. package/api/types/ExecutionImageVellumValue.d.ts +14 -0
  50. package/api/types/ExecutionImageVellumValue.js +5 -0
  51. package/api/types/ExecutionVellumValue.d.ts +1 -1
  52. package/api/types/ExecutionVideoVellumValue.d.ts +14 -0
  53. package/api/types/ExecutionVideoVellumValue.js +5 -0
  54. package/api/types/ImageInputRequest.d.ts +13 -0
  55. package/api/types/ImageInputRequest.js +5 -0
  56. package/api/types/LogicalOperator.d.ts +3 -1
  57. package/api/types/LogicalOperator.js +1 -0
  58. package/api/types/NodeInputCompiledAudioValue.d.ts +10 -0
  59. package/api/types/NodeInputCompiledAudioValue.js +5 -0
  60. package/api/types/NodeInputCompiledDocumentValue.d.ts +10 -0
  61. package/api/types/NodeInputCompiledDocumentValue.js +5 -0
  62. package/api/types/NodeInputCompiledImageValue.d.ts +10 -0
  63. package/api/types/NodeInputCompiledImageValue.js +5 -0
  64. package/api/types/NodeInputCompiledVideoValue.d.ts +10 -0
  65. package/api/types/NodeInputCompiledVideoValue.js +5 -0
  66. package/api/types/NodeInputVariableCompiledValue.d.ts +1 -1
  67. package/api/types/PromptDeploymentInputRequest.d.ts +1 -1
  68. package/api/types/PromptRequestAudioInput.d.ts +10 -0
  69. package/api/types/PromptRequestAudioInput.js +5 -0
  70. package/api/types/PromptRequestDocumentInput.d.ts +10 -0
  71. package/api/types/PromptRequestDocumentInput.js +5 -0
  72. package/api/types/PromptRequestImageInput.d.ts +10 -0
  73. package/api/types/PromptRequestImageInput.js +5 -0
  74. package/api/types/PromptRequestInput.d.ts +1 -1
  75. package/api/types/PromptRequestVideoInput.d.ts +10 -0
  76. package/api/types/PromptRequestVideoInput.js +5 -0
  77. package/api/types/VideoInputRequest.d.ts +13 -0
  78. package/api/types/VideoInputRequest.js +5 -0
  79. package/api/types/index.d.ts +20 -0
  80. package/api/types/index.js +20 -0
  81. package/dist/Client.js +11 -11
  82. package/dist/api/resources/adHoc/client/Client.js +2 -2
  83. package/dist/api/resources/containerImages/client/Client.js +4 -4
  84. package/dist/api/resources/deployments/client/Client.js +8 -8
  85. package/dist/api/resources/documentIndexes/client/Client.js +8 -8
  86. package/dist/api/resources/documents/client/Client.js +5 -5
  87. package/dist/api/resources/events/client/Client.js +1 -1
  88. package/dist/api/resources/folderEntities/client/Client.js +2 -2
  89. package/dist/api/resources/index.d.ts +1 -0
  90. package/dist/api/resources/index.js +1 -0
  91. package/dist/api/resources/metricDefinitions/client/Client.js +2 -2
  92. package/dist/api/resources/mlModels/client/Client.js +1 -1
  93. package/dist/api/resources/organizations/client/Client.js +1 -1
  94. package/dist/api/resources/prompts/client/Client.js +2 -2
  95. package/dist/api/resources/sandboxes/client/Client.js +3 -3
  96. package/dist/api/resources/testSuiteRuns/client/Client.js +3 -3
  97. package/dist/api/resources/testSuites/client/Client.js +4 -4
  98. package/dist/api/resources/workflowDeployments/client/Client.js +9 -9
  99. package/dist/api/resources/workflowExecutions/client/Client.d.ts +2 -1
  100. package/dist/api/resources/workflowExecutions/client/Client.js +17 -7
  101. package/dist/api/resources/workflowExecutions/client/index.d.ts +1 -1
  102. package/dist/api/resources/workflowExecutions/client/index.js +15 -0
  103. package/dist/api/resources/workflowExecutions/client/requests/RetrieveWorkflowExecutionDetailRequest.d.ts +17 -0
  104. package/dist/api/resources/workflowExecutions/client/requests/RetrieveWorkflowExecutionDetailRequest.js +5 -0
  105. package/dist/api/resources/workflowExecutions/client/requests/index.d.ts +1 -0
  106. package/dist/api/resources/workflowExecutions/client/requests/index.js +2 -0
  107. package/dist/api/resources/workflowSandboxes/client/Client.js +2 -2
  108. package/dist/api/resources/workflows/client/Client.js +2 -2
  109. package/dist/api/resources/workspaceSecrets/client/Client.js +2 -2
  110. package/dist/api/resources/workspaces/client/Client.js +1 -1
  111. package/dist/api/types/AudioInputRequest.d.ts +13 -0
  112. package/dist/api/types/AudioInputRequest.js +5 -0
  113. package/dist/api/types/DelimiterChunkerConfig.d.ts +7 -0
  114. package/dist/api/types/DelimiterChunkerConfig.js +5 -0
  115. package/dist/api/types/DelimiterChunkerConfigRequest.d.ts +7 -0
  116. package/dist/api/types/DelimiterChunkerConfigRequest.js +5 -0
  117. package/dist/api/types/DelimiterChunking.d.ts +8 -0
  118. package/dist/api/types/DelimiterChunking.js +5 -0
  119. package/dist/api/types/DelimiterChunkingRequest.d.ts +8 -0
  120. package/dist/api/types/DelimiterChunkingRequest.js +5 -0
  121. package/dist/api/types/DocumentIndexChunking.d.ts +1 -1
  122. package/dist/api/types/DocumentIndexChunkingRequest.d.ts +1 -1
  123. package/dist/api/types/DocumentInputRequest.d.ts +13 -0
  124. package/dist/api/types/DocumentInputRequest.js +5 -0
  125. package/dist/api/types/ExecutionAudioVellumValue.d.ts +14 -0
  126. package/dist/api/types/ExecutionAudioVellumValue.js +5 -0
  127. package/dist/api/types/ExecutionDocumentVellumValue.d.ts +14 -0
  128. package/dist/api/types/ExecutionDocumentVellumValue.js +5 -0
  129. package/dist/api/types/ExecutionImageVellumValue.d.ts +14 -0
  130. package/dist/api/types/ExecutionImageVellumValue.js +5 -0
  131. package/dist/api/types/ExecutionVellumValue.d.ts +1 -1
  132. package/dist/api/types/ExecutionVideoVellumValue.d.ts +14 -0
  133. package/dist/api/types/ExecutionVideoVellumValue.js +5 -0
  134. package/dist/api/types/ImageInputRequest.d.ts +13 -0
  135. package/dist/api/types/ImageInputRequest.js +5 -0
  136. package/dist/api/types/LogicalOperator.d.ts +3 -1
  137. package/dist/api/types/LogicalOperator.js +1 -0
  138. package/dist/api/types/NodeInputCompiledAudioValue.d.ts +10 -0
  139. package/dist/api/types/NodeInputCompiledAudioValue.js +5 -0
  140. package/dist/api/types/NodeInputCompiledDocumentValue.d.ts +10 -0
  141. package/dist/api/types/NodeInputCompiledDocumentValue.js +5 -0
  142. package/dist/api/types/NodeInputCompiledImageValue.d.ts +10 -0
  143. package/dist/api/types/NodeInputCompiledImageValue.js +5 -0
  144. package/dist/api/types/NodeInputCompiledVideoValue.d.ts +10 -0
  145. package/dist/api/types/NodeInputCompiledVideoValue.js +5 -0
  146. package/dist/api/types/NodeInputVariableCompiledValue.d.ts +1 -1
  147. package/dist/api/types/PromptDeploymentInputRequest.d.ts +1 -1
  148. package/dist/api/types/PromptRequestAudioInput.d.ts +10 -0
  149. package/dist/api/types/PromptRequestAudioInput.js +5 -0
  150. package/dist/api/types/PromptRequestDocumentInput.d.ts +10 -0
  151. package/dist/api/types/PromptRequestDocumentInput.js +5 -0
  152. package/dist/api/types/PromptRequestImageInput.d.ts +10 -0
  153. package/dist/api/types/PromptRequestImageInput.js +5 -0
  154. package/dist/api/types/PromptRequestInput.d.ts +1 -1
  155. package/dist/api/types/PromptRequestVideoInput.d.ts +10 -0
  156. package/dist/api/types/PromptRequestVideoInput.js +5 -0
  157. package/dist/api/types/VideoInputRequest.d.ts +13 -0
  158. package/dist/api/types/VideoInputRequest.js +5 -0
  159. package/dist/api/types/index.d.ts +20 -0
  160. package/dist/api/types/index.js +20 -0
  161. package/dist/serialization/types/AudioInputRequest.d.ts +15 -0
  162. package/dist/serialization/types/AudioInputRequest.js +46 -0
  163. package/dist/serialization/types/DelimiterChunkerConfig.d.ts +13 -0
  164. package/dist/serialization/types/DelimiterChunkerConfig.js +44 -0
  165. package/dist/serialization/types/DelimiterChunkerConfigRequest.d.ts +13 -0
  166. package/dist/serialization/types/DelimiterChunkerConfigRequest.js +44 -0
  167. package/dist/serialization/types/DelimiterChunking.d.ts +14 -0
  168. package/dist/serialization/types/DelimiterChunking.js +45 -0
  169. package/dist/serialization/types/DelimiterChunkingRequest.d.ts +14 -0
  170. package/dist/serialization/types/DelimiterChunkingRequest.js +45 -0
  171. package/dist/serialization/types/DocumentIndexChunking.d.ts +2 -1
  172. package/dist/serialization/types/DocumentIndexChunking.js +7 -1
  173. package/dist/serialization/types/DocumentIndexChunkingRequest.d.ts +2 -1
  174. package/dist/serialization/types/DocumentIndexChunkingRequest.js +2 -0
  175. package/dist/serialization/types/DocumentInputRequest.d.ts +15 -0
  176. package/dist/serialization/types/DocumentInputRequest.js +46 -0
  177. package/dist/serialization/types/ExecutionAudioVellumValue.d.ts +16 -0
  178. package/dist/serialization/types/ExecutionAudioVellumValue.js +47 -0
  179. package/dist/serialization/types/ExecutionDocumentVellumValue.d.ts +16 -0
  180. package/dist/serialization/types/ExecutionDocumentVellumValue.js +47 -0
  181. package/dist/serialization/types/ExecutionImageVellumValue.d.ts +16 -0
  182. package/dist/serialization/types/ExecutionImageVellumValue.js +47 -0
  183. package/dist/serialization/types/ExecutionVellumValue.d.ts +5 -1
  184. package/dist/serialization/types/ExecutionVellumValue.js +8 -0
  185. package/dist/serialization/types/ExecutionVideoVellumValue.d.ts +16 -0
  186. package/dist/serialization/types/ExecutionVideoVellumValue.js +47 -0
  187. package/dist/serialization/types/ImageInputRequest.d.ts +15 -0
  188. package/dist/serialization/types/ImageInputRequest.js +46 -0
  189. package/dist/serialization/types/LogicalOperator.d.ts +1 -1
  190. package/dist/serialization/types/LogicalOperator.js +1 -0
  191. package/dist/serialization/types/NodeInputCompiledAudioValue.d.ts +16 -0
  192. package/dist/serialization/types/NodeInputCompiledAudioValue.js +47 -0
  193. package/dist/serialization/types/NodeInputCompiledDocumentValue.d.ts +16 -0
  194. package/dist/serialization/types/NodeInputCompiledDocumentValue.js +47 -0
  195. package/dist/serialization/types/NodeInputCompiledImageValue.d.ts +16 -0
  196. package/dist/serialization/types/NodeInputCompiledImageValue.js +47 -0
  197. package/dist/serialization/types/NodeInputCompiledVideoValue.d.ts +16 -0
  198. package/dist/serialization/types/NodeInputCompiledVideoValue.js +47 -0
  199. package/dist/serialization/types/NodeInputVariableCompiledValue.d.ts +5 -1
  200. package/dist/serialization/types/NodeInputVariableCompiledValue.js +8 -0
  201. package/dist/serialization/types/PromptDeploymentInputRequest.d.ts +5 -1
  202. package/dist/serialization/types/PromptDeploymentInputRequest.js +13 -1
  203. package/dist/serialization/types/PromptRequestAudioInput.d.ts +15 -0
  204. package/dist/serialization/types/PromptRequestAudioInput.js +46 -0
  205. package/dist/serialization/types/PromptRequestDocumentInput.d.ts +15 -0
  206. package/dist/serialization/types/PromptRequestDocumentInput.js +46 -0
  207. package/dist/serialization/types/PromptRequestImageInput.d.ts +15 -0
  208. package/dist/serialization/types/PromptRequestImageInput.js +46 -0
  209. package/dist/serialization/types/PromptRequestInput.d.ts +5 -1
  210. package/dist/serialization/types/PromptRequestInput.js +8 -0
  211. package/dist/serialization/types/PromptRequestVideoInput.d.ts +15 -0
  212. package/dist/serialization/types/PromptRequestVideoInput.js +46 -0
  213. package/dist/serialization/types/VideoInputRequest.d.ts +15 -0
  214. package/dist/serialization/types/VideoInputRequest.js +46 -0
  215. package/dist/serialization/types/index.d.ts +20 -0
  216. package/dist/serialization/types/index.js +20 -0
  217. package/dist/version.d.ts +1 -1
  218. package/dist/version.js +1 -1
  219. package/package.json +1 -1
  220. package/reference.md +9 -1
  221. package/serialization/types/AudioInputRequest.d.ts +15 -0
  222. package/serialization/types/AudioInputRequest.js +46 -0
  223. package/serialization/types/DelimiterChunkerConfig.d.ts +13 -0
  224. package/serialization/types/DelimiterChunkerConfig.js +44 -0
  225. package/serialization/types/DelimiterChunkerConfigRequest.d.ts +13 -0
  226. package/serialization/types/DelimiterChunkerConfigRequest.js +44 -0
  227. package/serialization/types/DelimiterChunking.d.ts +14 -0
  228. package/serialization/types/DelimiterChunking.js +45 -0
  229. package/serialization/types/DelimiterChunkingRequest.d.ts +14 -0
  230. package/serialization/types/DelimiterChunkingRequest.js +45 -0
  231. package/serialization/types/DocumentIndexChunking.d.ts +2 -1
  232. package/serialization/types/DocumentIndexChunking.js +7 -1
  233. package/serialization/types/DocumentIndexChunkingRequest.d.ts +2 -1
  234. package/serialization/types/DocumentIndexChunkingRequest.js +2 -0
  235. package/serialization/types/DocumentInputRequest.d.ts +15 -0
  236. package/serialization/types/DocumentInputRequest.js +46 -0
  237. package/serialization/types/ExecutionAudioVellumValue.d.ts +16 -0
  238. package/serialization/types/ExecutionAudioVellumValue.js +47 -0
  239. package/serialization/types/ExecutionDocumentVellumValue.d.ts +16 -0
  240. package/serialization/types/ExecutionDocumentVellumValue.js +47 -0
  241. package/serialization/types/ExecutionImageVellumValue.d.ts +16 -0
  242. package/serialization/types/ExecutionImageVellumValue.js +47 -0
  243. package/serialization/types/ExecutionVellumValue.d.ts +5 -1
  244. package/serialization/types/ExecutionVellumValue.js +8 -0
  245. package/serialization/types/ExecutionVideoVellumValue.d.ts +16 -0
  246. package/serialization/types/ExecutionVideoVellumValue.js +47 -0
  247. package/serialization/types/ImageInputRequest.d.ts +15 -0
  248. package/serialization/types/ImageInputRequest.js +46 -0
  249. package/serialization/types/LogicalOperator.d.ts +1 -1
  250. package/serialization/types/LogicalOperator.js +1 -0
  251. package/serialization/types/NodeInputCompiledAudioValue.d.ts +16 -0
  252. package/serialization/types/NodeInputCompiledAudioValue.js +47 -0
  253. package/serialization/types/NodeInputCompiledDocumentValue.d.ts +16 -0
  254. package/serialization/types/NodeInputCompiledDocumentValue.js +47 -0
  255. package/serialization/types/NodeInputCompiledImageValue.d.ts +16 -0
  256. package/serialization/types/NodeInputCompiledImageValue.js +47 -0
  257. package/serialization/types/NodeInputCompiledVideoValue.d.ts +16 -0
  258. package/serialization/types/NodeInputCompiledVideoValue.js +47 -0
  259. package/serialization/types/NodeInputVariableCompiledValue.d.ts +5 -1
  260. package/serialization/types/NodeInputVariableCompiledValue.js +8 -0
  261. package/serialization/types/PromptDeploymentInputRequest.d.ts +5 -1
  262. package/serialization/types/PromptDeploymentInputRequest.js +13 -1
  263. package/serialization/types/PromptRequestAudioInput.d.ts +15 -0
  264. package/serialization/types/PromptRequestAudioInput.js +46 -0
  265. package/serialization/types/PromptRequestDocumentInput.d.ts +15 -0
  266. package/serialization/types/PromptRequestDocumentInput.js +46 -0
  267. package/serialization/types/PromptRequestImageInput.d.ts +15 -0
  268. package/serialization/types/PromptRequestImageInput.js +46 -0
  269. package/serialization/types/PromptRequestInput.d.ts +5 -1
  270. package/serialization/types/PromptRequestInput.js +8 -0
  271. package/serialization/types/PromptRequestVideoInput.d.ts +15 -0
  272. package/serialization/types/PromptRequestVideoInput.js +46 -0
  273. package/serialization/types/VideoInputRequest.d.ts +15 -0
  274. package/serialization/types/VideoInputRequest.js +46 -0
  275. package/serialization/types/index.d.ts +20 -0
  276. package/serialization/types/index.js +20 -0
  277. package/version.d.ts +1 -1
  278. package/version.js +1 -1
@@ -90,7 +90,7 @@ class TestSuites {
90
90
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
91
91
  unrecognizedObjectKeys: "strip",
92
92
  })
93
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.2", "User-Agent": "vellum-ai/1.2.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
93
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.3", "User-Agent": "vellum-ai/1.2.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
94
94
  contentType: "application/json",
95
95
  queryParameters: _queryParams,
96
96
  requestType: "json",
@@ -178,7 +178,7 @@ class TestSuites {
178
178
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
179
179
  unrecognizedObjectKeys: "strip",
180
180
  })
181
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.2", "User-Agent": "vellum-ai/1.2.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
181
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.3", "User-Agent": "vellum-ai/1.2.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
182
182
  contentType: "application/json",
183
183
  requestType: "json",
184
184
  body: serializers.UpsertTestSuiteTestCaseRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -238,7 +238,7 @@ class TestSuites {
238
238
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
239
239
  unrecognizedObjectKeys: "strip",
240
240
  })
241
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.2", "User-Agent": "vellum-ai/1.2.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
241
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.3", "User-Agent": "vellum-ai/1.2.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
242
242
  contentType: "application/x-ndjson",
243
243
  requestType: "json",
244
244
  body: serializers.testSuites.testSuiteTestCasesBulk.Request.jsonOrThrow(request, {
@@ -318,7 +318,7 @@ class TestSuites {
318
318
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
319
319
  unrecognizedObjectKeys: "strip",
320
320
  })
321
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.2", "User-Agent": "vellum-ai/1.2.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
321
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.3", "User-Agent": "vellum-ai/1.2.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
322
322
  contentType: "application/json",
323
323
  requestType: "json",
324
324
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -97,7 +97,7 @@ class WorkflowDeployments {
97
97
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
98
98
  unrecognizedObjectKeys: "strip",
99
99
  })
100
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.2", "User-Agent": "vellum-ai/1.2.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
100
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.3", "User-Agent": "vellum-ai/1.2.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
101
101
  contentType: "application/json",
102
102
  queryParameters: _queryParams,
103
103
  requestType: "json",
@@ -163,7 +163,7 @@ class WorkflowDeployments {
163
163
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
164
164
  unrecognizedObjectKeys: "strip",
165
165
  })
166
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.2", "User-Agent": "vellum-ai/1.2.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
166
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.3", "User-Agent": "vellum-ai/1.2.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
167
167
  contentType: "application/json",
168
168
  requestType: "json",
169
169
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -238,7 +238,7 @@ class WorkflowDeployments {
238
238
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
239
239
  unrecognizedObjectKeys: "strip",
240
240
  })
241
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.2", "User-Agent": "vellum-ai/1.2.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
241
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.3", "User-Agent": "vellum-ai/1.2.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
242
242
  contentType: "application/json",
243
243
  queryParameters: _queryParams,
244
244
  requestType: "json",
@@ -303,7 +303,7 @@ class WorkflowDeployments {
303
303
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
304
304
  unrecognizedObjectKeys: "strip",
305
305
  })
306
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.2", "User-Agent": "vellum-ai/1.2.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
306
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.3", "User-Agent": "vellum-ai/1.2.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
307
307
  contentType: "application/json",
308
308
  requestType: "json",
309
309
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -370,7 +370,7 @@ class WorkflowDeployments {
370
370
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
371
371
  unrecognizedObjectKeys: "strip",
372
372
  })
373
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.2", "User-Agent": "vellum-ai/1.2.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
373
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.3", "User-Agent": "vellum-ai/1.2.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
374
374
  contentType: "application/json",
375
375
  requestType: "json",
376
376
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -452,7 +452,7 @@ class WorkflowDeployments {
452
452
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
453
453
  unrecognizedObjectKeys: "strip",
454
454
  })
455
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.2", "User-Agent": "vellum-ai/1.2.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
455
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.3", "User-Agent": "vellum-ai/1.2.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
456
456
  contentType: "application/json",
457
457
  queryParameters: _queryParams,
458
458
  requestType: "json",
@@ -519,7 +519,7 @@ class WorkflowDeployments {
519
519
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
520
520
  unrecognizedObjectKeys: "strip",
521
521
  })
522
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.2", "User-Agent": "vellum-ai/1.2.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
522
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.3", "User-Agent": "vellum-ai/1.2.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
523
523
  contentType: "application/json",
524
524
  requestType: "json",
525
525
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -586,7 +586,7 @@ class WorkflowDeployments {
586
586
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
587
587
  unrecognizedObjectKeys: "strip",
588
588
  })
589
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.2", "User-Agent": "vellum-ai/1.2.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
589
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.3", "User-Agent": "vellum-ai/1.2.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
590
590
  contentType: "application/json",
591
591
  requestType: "json",
592
592
  body: serializers.PatchedWorkflowReleaseTagUpdateRequest.jsonOrThrow(request, {
@@ -655,7 +655,7 @@ class WorkflowDeployments {
655
655
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
656
656
  unrecognizedObjectKeys: "strip",
657
657
  })
658
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.2", "User-Agent": "vellum-ai/1.2.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
658
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.3", "User-Agent": "vellum-ai/1.2.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
659
659
  contentType: "application/json",
660
660
  requestType: "json",
661
661
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -31,12 +31,13 @@ export declare class WorkflowExecutions {
31
31
  constructor(_options: WorkflowExecutions.Options);
32
32
  /**
33
33
  * @param {string} executionId
34
+ * @param {Vellum.RetrieveWorkflowExecutionDetailRequest} request
34
35
  * @param {WorkflowExecutions.RequestOptions} requestOptions - Request-specific configuration.
35
36
  *
36
37
  * @example
37
38
  * await client.workflowExecutions.retrieveWorkflowExecutionDetail("execution_id")
38
39
  */
39
- retrieveWorkflowExecutionDetail(executionId: string, requestOptions?: WorkflowExecutions.RequestOptions): core.HttpResponsePromise<Vellum.WorkflowExecutionDetail>;
40
+ retrieveWorkflowExecutionDetail(executionId: string, request?: Vellum.RetrieveWorkflowExecutionDetailRequest, requestOptions?: WorkflowExecutions.RequestOptions): core.HttpResponsePromise<Vellum.WorkflowExecutionDetail>;
40
41
  private __retrieveWorkflowExecutionDetail;
41
42
  protected _getCustomAuthorizationHeaders(): Promise<{
42
43
  "X-API-KEY": string;
@@ -60,27 +60,37 @@ class WorkflowExecutions {
60
60
  }
61
61
  /**
62
62
  * @param {string} executionId
63
+ * @param {Vellum.RetrieveWorkflowExecutionDetailRequest} request
63
64
  * @param {WorkflowExecutions.RequestOptions} requestOptions - Request-specific configuration.
64
65
  *
65
66
  * @example
66
67
  * await client.workflowExecutions.retrieveWorkflowExecutionDetail("execution_id")
67
68
  */
68
- retrieveWorkflowExecutionDetail(executionId, requestOptions) {
69
- return core.HttpResponsePromise.fromPromise(this.__retrieveWorkflowExecutionDetail(executionId, requestOptions));
69
+ retrieveWorkflowExecutionDetail(executionId, request = {}, requestOptions) {
70
+ return core.HttpResponsePromise.fromPromise(this.__retrieveWorkflowExecutionDetail(executionId, request, requestOptions));
70
71
  }
71
- __retrieveWorkflowExecutionDetail(executionId, requestOptions) {
72
- return __awaiter(this, void 0, void 0, function* () {
73
- var _a, _b;
72
+ __retrieveWorkflowExecutionDetail(executionId_1) {
73
+ return __awaiter(this, arguments, void 0, function* (executionId, request = {}, requestOptions) {
74
+ var _a, _b, _c;
75
+ const { prevSpanId, spanLimit } = request;
76
+ const _queryParams = {};
77
+ if (prevSpanId !== undefined) {
78
+ _queryParams["prev_span_id"] = prevSpanId;
79
+ }
80
+ if (spanLimit !== undefined) {
81
+ _queryParams["span_limit"] = (_a = spanLimit === null || spanLimit === void 0 ? void 0 : spanLimit.toString()) !== null && _a !== void 0 ? _a : null;
82
+ }
74
83
  const _response = yield core.fetcher({
75
- url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
84
+ url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : ((_c = (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.VellumEnvironment.Production)
76
85
  .default, `v1/workflow-executions/${encodeURIComponent(executionId)}/detail`),
77
86
  method: "GET",
78
87
  headers: Object.assign(Object.assign({ "X-API-Version": (yield core.Supplier.get(this._options.apiVersion)) != null
79
88
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
80
89
  unrecognizedObjectKeys: "strip",
81
90
  })
82
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.2", "User-Agent": "vellum-ai/1.2.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
91
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.3", "User-Agent": "vellum-ai/1.2.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
83
92
  contentType: "application/json",
93
+ queryParameters: _queryParams,
84
94
  requestType: "json",
85
95
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
86
96
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
@@ -1 +1 @@
1
- export {};
1
+ export * from "./requests";
@@ -1,2 +1,17 @@
1
1
  "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
2
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./requests"), exports);
@@ -0,0 +1,17 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * @example
6
+ * {}
7
+ */
8
+ export interface RetrieveWorkflowExecutionDetailRequest {
9
+ /**
10
+ * Optional keyset cursor span_id to continue from (exclusive)
11
+ */
12
+ prevSpanId?: string | null;
13
+ /**
14
+ * Maximum number of spans to return (for lazy loading)
15
+ */
16
+ spanLimit?: number | null;
17
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1 @@
1
+ export { type RetrieveWorkflowExecutionDetailRequest } from "./RetrieveWorkflowExecutionDetailRequest";
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -81,7 +81,7 @@ class WorkflowSandboxes {
81
81
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
82
82
  unrecognizedObjectKeys: "strip",
83
83
  })
84
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.2", "User-Agent": "vellum-ai/1.2.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
84
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.3", "User-Agent": "vellum-ai/1.2.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
85
85
  contentType: "application/json",
86
86
  requestType: "json",
87
87
  body: serializers.DeploySandboxWorkflowRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -163,7 +163,7 @@ class WorkflowSandboxes {
163
163
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
164
164
  unrecognizedObjectKeys: "strip",
165
165
  })
166
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.2", "User-Agent": "vellum-ai/1.2.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
166
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.3", "User-Agent": "vellum-ai/1.2.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
167
167
  contentType: "application/json",
168
168
  queryParameters: _queryParams,
169
169
  requestType: "json",
@@ -94,7 +94,7 @@ class Workflows {
94
94
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
95
95
  unrecognizedObjectKeys: "strip",
96
96
  })
97
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.2", "User-Agent": "vellum-ai/1.2.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
97
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.3", "User-Agent": "vellum-ai/1.2.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
98
98
  contentType: "application/json",
99
99
  queryParameters: _queryParams,
100
100
  requestType: "json",
@@ -174,7 +174,7 @@ class Workflows {
174
174
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
175
175
  unrecognizedObjectKeys: "strip",
176
176
  })
177
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.2", "User-Agent": "vellum-ai/1.2.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), _maybeEncodedRequest.headers), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
177
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.3", "User-Agent": "vellum-ai/1.2.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), _maybeEncodedRequest.headers), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
178
178
  requestType: "file",
179
179
  duplex: _maybeEncodedRequest.duplex,
180
180
  body: _maybeEncodedRequest.body,
@@ -81,7 +81,7 @@ class WorkspaceSecrets {
81
81
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
82
82
  unrecognizedObjectKeys: "strip",
83
83
  })
84
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.2", "User-Agent": "vellum-ai/1.2.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
84
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.3", "User-Agent": "vellum-ai/1.2.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
85
85
  contentType: "application/json",
86
86
  requestType: "json",
87
87
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -147,7 +147,7 @@ class WorkspaceSecrets {
147
147
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
148
148
  unrecognizedObjectKeys: "strip",
149
149
  })
150
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.2", "User-Agent": "vellum-ai/1.2.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
150
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.3", "User-Agent": "vellum-ai/1.2.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
151
151
  contentType: "application/json",
152
152
  requestType: "json",
153
153
  body: serializers.PatchedWorkspaceSecretUpdateRequest.jsonOrThrow(request, {
@@ -80,7 +80,7 @@ class Workspaces {
80
80
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
81
81
  unrecognizedObjectKeys: "strip",
82
82
  })
83
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.2", "User-Agent": "vellum-ai/1.2.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
83
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.3", "User-Agent": "vellum-ai/1.2.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
84
84
  contentType: "application/json",
85
85
  requestType: "json",
86
86
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vellum from "../index";
5
+ /**
6
+ * A user input representing a Vellum Audio value
7
+ */
8
+ export interface AudioInputRequest {
9
+ /** The variable's name */
10
+ name: string;
11
+ type: "AUDIO";
12
+ value: Vellum.VellumAudioRequest;
13
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface DelimiterChunkerConfig {
5
+ delimiter?: string;
6
+ isRegex?: boolean;
7
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface DelimiterChunkerConfigRequest {
5
+ delimiter?: string;
6
+ isRegex?: boolean;
7
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vellum from "../index";
5
+ export interface DelimiterChunking {
6
+ chunkerName: "delimiter-chunker";
7
+ chunkerConfig?: Vellum.DelimiterChunkerConfig;
8
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vellum from "../index";
5
+ export interface DelimiterChunkingRequest {
6
+ chunkerName: "delimiter-chunker";
7
+ chunkerConfig?: Vellum.DelimiterChunkerConfigRequest;
8
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -2,4 +2,4 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  import * as Vellum from "../index";
5
- export type DocumentIndexChunking = Vellum.ReductoChunking | Vellum.SentenceChunking | Vellum.TokenOverlappingWindowChunking;
5
+ export type DocumentIndexChunking = Vellum.ReductoChunking | Vellum.SentenceChunking | Vellum.TokenOverlappingWindowChunking | Vellum.DelimiterChunking;
@@ -2,4 +2,4 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  import * as Vellum from "../index";
5
- export type DocumentIndexChunkingRequest = Vellum.ReductoChunkingRequest | Vellum.SentenceChunkingRequest | Vellum.TokenOverlappingWindowChunkingRequest;
5
+ export type DocumentIndexChunkingRequest = Vellum.ReductoChunkingRequest | Vellum.SentenceChunkingRequest | Vellum.TokenOverlappingWindowChunkingRequest | Vellum.DelimiterChunkingRequest;
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vellum from "../index";
5
+ /**
6
+ * A user input representing a Vellum Document value
7
+ */
8
+ export interface DocumentInputRequest {
9
+ /** The variable's name */
10
+ name: string;
11
+ type: "DOCUMENT";
12
+ value: Vellum.VellumDocumentRequest;
13
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,14 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vellum from "../index";
5
+ /**
6
+ * A base Vellum primitive value representing audio.
7
+ */
8
+ export interface ExecutionAudioVellumValue {
9
+ /** The variable's uniquely identifying internal id. */
10
+ id: string;
11
+ name: string;
12
+ type: "AUDIO";
13
+ value?: Vellum.VellumAudio | null;
14
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,14 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vellum from "../index";
5
+ /**
6
+ * A base Vellum primitive value representing a document.
7
+ */
8
+ export interface ExecutionDocumentVellumValue {
9
+ /** The variable's uniquely identifying internal id. */
10
+ id: string;
11
+ name: string;
12
+ type: "DOCUMENT";
13
+ value?: Vellum.VellumDocument | null;
14
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,14 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vellum from "../index";
5
+ /**
6
+ * A base Vellum primitive value representing an image.
7
+ */
8
+ export interface ExecutionImageVellumValue {
9
+ /** The variable's uniquely identifying internal id. */
10
+ id: string;
11
+ name: string;
12
+ type: "IMAGE";
13
+ value?: Vellum.VellumImage | null;
14
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -2,4 +2,4 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  import * as Vellum from "../index";
5
- export type ExecutionVellumValue = Vellum.ExecutionStringVellumValue | Vellum.ExecutionNumberVellumValue | Vellum.ExecutionJsonVellumValue | Vellum.ExecutionChatHistoryVellumValue | Vellum.ExecutionSearchResultsVellumValue | Vellum.ExecutionErrorVellumValue | Vellum.ExecutionArrayVellumValue | Vellum.ExecutionFunctionCallVellumValue | Vellum.ExecutionThinkingVellumValue;
5
+ export type ExecutionVellumValue = Vellum.ExecutionStringVellumValue | Vellum.ExecutionNumberVellumValue | Vellum.ExecutionJsonVellumValue | Vellum.ExecutionChatHistoryVellumValue | Vellum.ExecutionSearchResultsVellumValue | Vellum.ExecutionErrorVellumValue | Vellum.ExecutionArrayVellumValue | Vellum.ExecutionFunctionCallVellumValue | Vellum.ExecutionThinkingVellumValue | Vellum.ExecutionAudioVellumValue | Vellum.ExecutionVideoVellumValue | Vellum.ExecutionImageVellumValue | Vellum.ExecutionDocumentVellumValue;
@@ -0,0 +1,14 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vellum from "../index";
5
+ /**
6
+ * A base Vellum primitive value representing a video.
7
+ */
8
+ export interface ExecutionVideoVellumValue {
9
+ /** The variable's uniquely identifying internal id. */
10
+ id: string;
11
+ name: string;
12
+ type: "VIDEO";
13
+ value?: Vellum.VellumVideo | null;
14
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vellum from "../index";
5
+ /**
6
+ * A user input representing a Vellum Image value
7
+ */
8
+ export interface ImageInputRequest {
9
+ /** The variable's name */
10
+ name: string;
11
+ type: "IMAGE";
12
+ value: Vellum.VellumImageRequest;
13
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -28,6 +28,7 @@
28
28
  * * `and` - AND
29
29
  * * `or` - OR
30
30
  * * `isError` - IS_ERROR
31
+ * * `length` - LENGTH
31
32
  */
32
33
  export type LogicalOperator =
33
34
  /**
@@ -86,7 +87,7 @@ export type LogicalOperator =
86
87
  | "notBetween" | "blank" | "notBlank" | "coalesce" | "accessField"
87
88
  /**
88
89
  * Parse JSON */
89
- | "parseJson" | "and" | "or" | "isError";
90
+ | "parseJson" | "and" | "or" | "isError" | "length";
90
91
  export declare const LogicalOperator: {
91
92
  readonly Equals: "=";
92
93
  readonly DoesNotEqual: "!=";
@@ -114,4 +115,5 @@ export declare const LogicalOperator: {
114
115
  readonly And: "and";
115
116
  readonly Or: "or";
116
117
  readonly IsError: "isError";
118
+ readonly Length: "length";
117
119
  };
@@ -31,4 +31,5 @@ exports.LogicalOperator = {
31
31
  And: "and",
32
32
  Or: "or",
33
33
  IsError: "isError",
34
+ Length: "length",
34
35
  };
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vellum from "../index";
5
+ export interface NodeInputCompiledAudioValue {
6
+ nodeInputId: string;
7
+ key: string;
8
+ type: "AUDIO";
9
+ value?: Vellum.VellumAudio | null;
10
+ }