vellum-ai 0.14.72 → 0.14.74

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 (315) 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/folderEntities/client/Client.js +2 -2
  8. package/api/resources/metricDefinitions/client/Client.js +2 -2
  9. package/api/resources/mlModels/client/Client.js +1 -1
  10. package/api/resources/organizations/client/Client.js +1 -1
  11. package/api/resources/prompts/client/Client.js +2 -2
  12. package/api/resources/releaseReviews/client/Client.js +1 -1
  13. package/api/resources/sandboxes/client/Client.js +3 -3
  14. package/api/resources/testSuiteRuns/client/Client.js +3 -3
  15. package/api/resources/testSuites/client/Client.js +4 -4
  16. package/api/resources/workflowDeployments/client/Client.js +8 -8
  17. package/api/resources/workflowSandboxes/client/Client.js +2 -2
  18. package/api/resources/workflows/client/Client.js +2 -2
  19. package/api/resources/workspaceSecrets/client/Client.js +2 -2
  20. package/api/resources/workspaces/client/Client.js +1 -1
  21. package/api/types/BuildStatusEnum.d.ts +18 -0
  22. package/api/types/BuildStatusEnum.js +13 -0
  23. package/api/types/ContainerImageBuildConfig.d.ts +7 -0
  24. package/api/types/ContainerImageBuildConfig.js +5 -0
  25. package/api/types/ContainerImageRead.d.ts +3 -1
  26. package/api/types/DeploymentRead.d.ts +2 -2
  27. package/api/types/DocumentDocumentToDocumentIndex.d.ts +3 -3
  28. package/api/types/DocumentIndexRead.d.ts +2 -2
  29. package/api/types/DocumentRead.d.ts +1 -1
  30. package/api/types/ExecuteApiResponse.d.ts +1 -1
  31. package/api/types/FolderEntity.d.ts +1 -1
  32. package/api/types/FolderEntityDataset.d.ts +12 -0
  33. package/api/types/FolderEntityDataset.js +5 -0
  34. package/api/types/FolderEntityDatasetData.d.ts +11 -0
  35. package/api/types/FolderEntityDatasetData.js +5 -0
  36. package/api/types/MetricDefinitionHistoryItem.d.ts +2 -2
  37. package/api/types/MlModelRead.d.ts +1 -1
  38. package/api/types/OrganizationRead.d.ts +1 -1
  39. package/api/types/PromptDeploymentRelease.d.ts +2 -2
  40. package/api/types/PromptDeploymentReleasePromptDeployment.d.ts +1 -1
  41. package/api/types/PromptDeploymentReleasePromptVersion.d.ts +2 -2
  42. package/api/types/ReleaseCreatedBy.d.ts +1 -1
  43. package/api/types/ReleaseEnvironment.d.ts +1 -1
  44. package/api/types/ReleaseReviewReviewer.d.ts +1 -1
  45. package/api/types/SecretTypeEnum.d.ts +3 -1
  46. package/api/types/SecretTypeEnum.js +1 -0
  47. package/api/types/SlimDeploymentRead.d.ts +2 -2
  48. package/api/types/SlimDocument.d.ts +1 -1
  49. package/api/types/SlimDocumentDocumentToDocumentIndex.d.ts +3 -3
  50. package/api/types/SlimReleaseReview.d.ts +2 -2
  51. package/api/types/SlimWorkflowDeployment.d.ts +2 -2
  52. package/api/types/TestCaseArrayVariableValue.d.ts +1 -1
  53. package/api/types/TestCaseChatHistoryVariableValue.d.ts +1 -1
  54. package/api/types/TestCaseErrorVariableValue.d.ts +1 -1
  55. package/api/types/TestCaseFunctionCallVariableValue.d.ts +1 -1
  56. package/api/types/TestCaseJsonVariableValue.d.ts +1 -1
  57. package/api/types/TestCaseNumberVariableValue.d.ts +1 -1
  58. package/api/types/TestCaseSearchResultsVariableValue.d.ts +1 -1
  59. package/api/types/TestCaseStringVariableValue.d.ts +1 -1
  60. package/api/types/TestSuiteRunRead.d.ts +2 -2
  61. package/api/types/WorkflowDeploymentRead.d.ts +2 -2
  62. package/api/types/WorkflowDeploymentRelease.d.ts +2 -2
  63. package/api/types/WorkflowDeploymentReleaseWorkflowDeployment.d.ts +1 -1
  64. package/api/types/WorkflowDeploymentReleaseWorkflowVersion.d.ts +3 -3
  65. package/api/types/WorkflowSandboxExample.d.ts +1 -1
  66. package/api/types/WorkspaceRead.d.ts +3 -3
  67. package/api/types/WorkspaceSecretRead.d.ts +2 -2
  68. package/api/types/index.d.ts +4 -0
  69. package/api/types/index.js +4 -0
  70. package/dist/Client.js +11 -11
  71. package/dist/api/resources/adHoc/client/Client.js +2 -2
  72. package/dist/api/resources/containerImages/client/Client.js +4 -4
  73. package/dist/api/resources/deployments/client/Client.js +8 -8
  74. package/dist/api/resources/documentIndexes/client/Client.js +8 -8
  75. package/dist/api/resources/documents/client/Client.js +5 -5
  76. package/dist/api/resources/folderEntities/client/Client.js +2 -2
  77. package/dist/api/resources/metricDefinitions/client/Client.js +2 -2
  78. package/dist/api/resources/mlModels/client/Client.js +1 -1
  79. package/dist/api/resources/organizations/client/Client.js +1 -1
  80. package/dist/api/resources/prompts/client/Client.js +2 -2
  81. package/dist/api/resources/releaseReviews/client/Client.js +1 -1
  82. package/dist/api/resources/sandboxes/client/Client.js +3 -3
  83. package/dist/api/resources/testSuiteRuns/client/Client.js +3 -3
  84. package/dist/api/resources/testSuites/client/Client.js +4 -4
  85. package/dist/api/resources/workflowDeployments/client/Client.js +8 -8
  86. package/dist/api/resources/workflowSandboxes/client/Client.js +2 -2
  87. package/dist/api/resources/workflows/client/Client.js +2 -2
  88. package/dist/api/resources/workspaceSecrets/client/Client.js +2 -2
  89. package/dist/api/resources/workspaces/client/Client.js +1 -1
  90. package/dist/api/types/BuildStatusEnum.d.ts +18 -0
  91. package/dist/api/types/BuildStatusEnum.js +13 -0
  92. package/dist/api/types/ContainerImageBuildConfig.d.ts +7 -0
  93. package/dist/api/types/ContainerImageBuildConfig.js +5 -0
  94. package/dist/api/types/ContainerImageRead.d.ts +3 -1
  95. package/dist/api/types/DeploymentRead.d.ts +2 -2
  96. package/dist/api/types/DocumentDocumentToDocumentIndex.d.ts +3 -3
  97. package/dist/api/types/DocumentIndexRead.d.ts +2 -2
  98. package/dist/api/types/DocumentRead.d.ts +1 -1
  99. package/dist/api/types/ExecuteApiResponse.d.ts +1 -1
  100. package/dist/api/types/FolderEntity.d.ts +1 -1
  101. package/dist/api/types/FolderEntityDataset.d.ts +12 -0
  102. package/dist/api/types/FolderEntityDataset.js +5 -0
  103. package/dist/api/types/FolderEntityDatasetData.d.ts +11 -0
  104. package/dist/api/types/FolderEntityDatasetData.js +5 -0
  105. package/dist/api/types/MetricDefinitionHistoryItem.d.ts +2 -2
  106. package/dist/api/types/MlModelRead.d.ts +1 -1
  107. package/dist/api/types/OrganizationRead.d.ts +1 -1
  108. package/dist/api/types/PromptDeploymentRelease.d.ts +2 -2
  109. package/dist/api/types/PromptDeploymentReleasePromptDeployment.d.ts +1 -1
  110. package/dist/api/types/PromptDeploymentReleasePromptVersion.d.ts +2 -2
  111. package/dist/api/types/ReleaseCreatedBy.d.ts +1 -1
  112. package/dist/api/types/ReleaseEnvironment.d.ts +1 -1
  113. package/dist/api/types/ReleaseReviewReviewer.d.ts +1 -1
  114. package/dist/api/types/SecretTypeEnum.d.ts +3 -1
  115. package/dist/api/types/SecretTypeEnum.js +1 -0
  116. package/dist/api/types/SlimDeploymentRead.d.ts +2 -2
  117. package/dist/api/types/SlimDocument.d.ts +1 -1
  118. package/dist/api/types/SlimDocumentDocumentToDocumentIndex.d.ts +3 -3
  119. package/dist/api/types/SlimReleaseReview.d.ts +2 -2
  120. package/dist/api/types/SlimWorkflowDeployment.d.ts +2 -2
  121. package/dist/api/types/TestCaseArrayVariableValue.d.ts +1 -1
  122. package/dist/api/types/TestCaseChatHistoryVariableValue.d.ts +1 -1
  123. package/dist/api/types/TestCaseErrorVariableValue.d.ts +1 -1
  124. package/dist/api/types/TestCaseFunctionCallVariableValue.d.ts +1 -1
  125. package/dist/api/types/TestCaseJsonVariableValue.d.ts +1 -1
  126. package/dist/api/types/TestCaseNumberVariableValue.d.ts +1 -1
  127. package/dist/api/types/TestCaseSearchResultsVariableValue.d.ts +1 -1
  128. package/dist/api/types/TestCaseStringVariableValue.d.ts +1 -1
  129. package/dist/api/types/TestSuiteRunRead.d.ts +2 -2
  130. package/dist/api/types/WorkflowDeploymentRead.d.ts +2 -2
  131. package/dist/api/types/WorkflowDeploymentRelease.d.ts +2 -2
  132. package/dist/api/types/WorkflowDeploymentReleaseWorkflowDeployment.d.ts +1 -1
  133. package/dist/api/types/WorkflowDeploymentReleaseWorkflowVersion.d.ts +3 -3
  134. package/dist/api/types/WorkflowSandboxExample.d.ts +1 -1
  135. package/dist/api/types/WorkspaceRead.d.ts +3 -3
  136. package/dist/api/types/WorkspaceSecretRead.d.ts +2 -2
  137. package/dist/api/types/index.d.ts +4 -0
  138. package/dist/api/types/index.js +4 -0
  139. package/dist/serialization/types/BuildStatusEnum.d.ts +10 -0
  140. package/dist/serialization/types/BuildStatusEnum.js +41 -0
  141. package/dist/serialization/types/ContainerImageBuildConfig.d.ts +13 -0
  142. package/dist/serialization/types/ContainerImageBuildConfig.js +44 -0
  143. package/dist/serialization/types/ContainerImageRead.d.ts +5 -1
  144. package/dist/serialization/types/ContainerImageRead.js +5 -1
  145. package/dist/serialization/types/DeploymentRead.d.ts +2 -2
  146. package/dist/serialization/types/DeploymentRead.js +2 -2
  147. package/dist/serialization/types/DocumentDocumentToDocumentIndex.d.ts +3 -3
  148. package/dist/serialization/types/DocumentDocumentToDocumentIndex.js +3 -3
  149. package/dist/serialization/types/DocumentIndexRead.d.ts +2 -2
  150. package/dist/serialization/types/DocumentIndexRead.js +2 -2
  151. package/dist/serialization/types/DocumentRead.d.ts +1 -1
  152. package/dist/serialization/types/DocumentRead.js +1 -1
  153. package/dist/serialization/types/ExecuteApiResponse.d.ts +1 -1
  154. package/dist/serialization/types/ExecuteApiResponse.js +1 -1
  155. package/dist/serialization/types/FolderEntity.d.ts +2 -1
  156. package/dist/serialization/types/FolderEntity.js +2 -0
  157. package/dist/serialization/types/FolderEntityDataset.d.ts +15 -0
  158. package/dist/serialization/types/FolderEntityDataset.js +46 -0
  159. package/dist/serialization/types/FolderEntityDatasetData.d.ts +17 -0
  160. package/dist/serialization/types/FolderEntityDatasetData.js +48 -0
  161. package/dist/serialization/types/MetricDefinitionHistoryItem.d.ts +2 -2
  162. package/dist/serialization/types/MetricDefinitionHistoryItem.js +2 -2
  163. package/dist/serialization/types/MlModelRead.d.ts +1 -1
  164. package/dist/serialization/types/MlModelRead.js +1 -1
  165. package/dist/serialization/types/OrganizationRead.d.ts +1 -1
  166. package/dist/serialization/types/OrganizationRead.js +1 -1
  167. package/dist/serialization/types/PromptDeploymentRelease.d.ts +2 -2
  168. package/dist/serialization/types/PromptDeploymentRelease.js +2 -2
  169. package/dist/serialization/types/PromptDeploymentReleasePromptDeployment.d.ts +1 -1
  170. package/dist/serialization/types/PromptDeploymentReleasePromptDeployment.js +1 -1
  171. package/dist/serialization/types/PromptDeploymentReleasePromptVersion.d.ts +2 -2
  172. package/dist/serialization/types/PromptDeploymentReleasePromptVersion.js +2 -2
  173. package/dist/serialization/types/ReleaseCreatedBy.d.ts +1 -1
  174. package/dist/serialization/types/ReleaseCreatedBy.js +1 -1
  175. package/dist/serialization/types/ReleaseEnvironment.d.ts +1 -1
  176. package/dist/serialization/types/ReleaseEnvironment.js +1 -1
  177. package/dist/serialization/types/ReleaseReviewReviewer.d.ts +1 -1
  178. package/dist/serialization/types/ReleaseReviewReviewer.js +1 -1
  179. package/dist/serialization/types/SecretTypeEnum.d.ts +1 -1
  180. package/dist/serialization/types/SecretTypeEnum.js +1 -1
  181. package/dist/serialization/types/SlimDeploymentRead.d.ts +2 -2
  182. package/dist/serialization/types/SlimDeploymentRead.js +2 -2
  183. package/dist/serialization/types/SlimDocument.d.ts +1 -1
  184. package/dist/serialization/types/SlimDocument.js +1 -1
  185. package/dist/serialization/types/SlimDocumentDocumentToDocumentIndex.d.ts +3 -3
  186. package/dist/serialization/types/SlimDocumentDocumentToDocumentIndex.js +3 -3
  187. package/dist/serialization/types/SlimReleaseReview.d.ts +2 -2
  188. package/dist/serialization/types/SlimReleaseReview.js +2 -2
  189. package/dist/serialization/types/SlimWorkflowDeployment.d.ts +2 -2
  190. package/dist/serialization/types/SlimWorkflowDeployment.js +2 -2
  191. package/dist/serialization/types/TestCaseArrayVariableValue.d.ts +1 -1
  192. package/dist/serialization/types/TestCaseArrayVariableValue.js +1 -1
  193. package/dist/serialization/types/TestCaseChatHistoryVariableValue.d.ts +1 -1
  194. package/dist/serialization/types/TestCaseChatHistoryVariableValue.js +1 -1
  195. package/dist/serialization/types/TestCaseErrorVariableValue.d.ts +1 -1
  196. package/dist/serialization/types/TestCaseErrorVariableValue.js +1 -1
  197. package/dist/serialization/types/TestCaseFunctionCallVariableValue.d.ts +1 -1
  198. package/dist/serialization/types/TestCaseFunctionCallVariableValue.js +1 -1
  199. package/dist/serialization/types/TestCaseJsonVariableValue.d.ts +1 -1
  200. package/dist/serialization/types/TestCaseJsonVariableValue.js +1 -1
  201. package/dist/serialization/types/TestCaseNumberVariableValue.d.ts +1 -1
  202. package/dist/serialization/types/TestCaseNumberVariableValue.js +1 -1
  203. package/dist/serialization/types/TestCaseSearchResultsVariableValue.d.ts +1 -1
  204. package/dist/serialization/types/TestCaseSearchResultsVariableValue.js +1 -1
  205. package/dist/serialization/types/TestCaseStringVariableValue.d.ts +1 -1
  206. package/dist/serialization/types/TestCaseStringVariableValue.js +1 -1
  207. package/dist/serialization/types/TestSuiteRunRead.d.ts +2 -2
  208. package/dist/serialization/types/TestSuiteRunRead.js +2 -2
  209. package/dist/serialization/types/WorkflowDeploymentRead.d.ts +2 -2
  210. package/dist/serialization/types/WorkflowDeploymentRead.js +2 -2
  211. package/dist/serialization/types/WorkflowDeploymentRelease.d.ts +2 -2
  212. package/dist/serialization/types/WorkflowDeploymentRelease.js +2 -2
  213. package/dist/serialization/types/WorkflowDeploymentReleaseWorkflowDeployment.d.ts +1 -1
  214. package/dist/serialization/types/WorkflowDeploymentReleaseWorkflowDeployment.js +1 -1
  215. package/dist/serialization/types/WorkflowDeploymentReleaseWorkflowVersion.d.ts +3 -3
  216. package/dist/serialization/types/WorkflowDeploymentReleaseWorkflowVersion.js +3 -3
  217. package/dist/serialization/types/WorkflowSandboxExample.d.ts +1 -1
  218. package/dist/serialization/types/WorkflowSandboxExample.js +1 -1
  219. package/dist/serialization/types/WorkspaceRead.d.ts +3 -3
  220. package/dist/serialization/types/WorkspaceRead.js +3 -3
  221. package/dist/serialization/types/WorkspaceSecretRead.d.ts +2 -2
  222. package/dist/serialization/types/WorkspaceSecretRead.js +2 -2
  223. package/dist/serialization/types/index.d.ts +4 -0
  224. package/dist/serialization/types/index.js +4 -0
  225. package/dist/version.d.ts +1 -1
  226. package/dist/version.js +1 -1
  227. package/package.json +1 -1
  228. package/serialization/types/BuildStatusEnum.d.ts +10 -0
  229. package/serialization/types/BuildStatusEnum.js +41 -0
  230. package/serialization/types/ContainerImageBuildConfig.d.ts +13 -0
  231. package/serialization/types/ContainerImageBuildConfig.js +44 -0
  232. package/serialization/types/ContainerImageRead.d.ts +5 -1
  233. package/serialization/types/ContainerImageRead.js +5 -1
  234. package/serialization/types/DeploymentRead.d.ts +2 -2
  235. package/serialization/types/DeploymentRead.js +2 -2
  236. package/serialization/types/DocumentDocumentToDocumentIndex.d.ts +3 -3
  237. package/serialization/types/DocumentDocumentToDocumentIndex.js +3 -3
  238. package/serialization/types/DocumentIndexRead.d.ts +2 -2
  239. package/serialization/types/DocumentIndexRead.js +2 -2
  240. package/serialization/types/DocumentRead.d.ts +1 -1
  241. package/serialization/types/DocumentRead.js +1 -1
  242. package/serialization/types/ExecuteApiResponse.d.ts +1 -1
  243. package/serialization/types/ExecuteApiResponse.js +1 -1
  244. package/serialization/types/FolderEntity.d.ts +2 -1
  245. package/serialization/types/FolderEntity.js +2 -0
  246. package/serialization/types/FolderEntityDataset.d.ts +15 -0
  247. package/serialization/types/FolderEntityDataset.js +46 -0
  248. package/serialization/types/FolderEntityDatasetData.d.ts +17 -0
  249. package/serialization/types/FolderEntityDatasetData.js +48 -0
  250. package/serialization/types/MetricDefinitionHistoryItem.d.ts +2 -2
  251. package/serialization/types/MetricDefinitionHistoryItem.js +2 -2
  252. package/serialization/types/MlModelRead.d.ts +1 -1
  253. package/serialization/types/MlModelRead.js +1 -1
  254. package/serialization/types/OrganizationRead.d.ts +1 -1
  255. package/serialization/types/OrganizationRead.js +1 -1
  256. package/serialization/types/PromptDeploymentRelease.d.ts +2 -2
  257. package/serialization/types/PromptDeploymentRelease.js +2 -2
  258. package/serialization/types/PromptDeploymentReleasePromptDeployment.d.ts +1 -1
  259. package/serialization/types/PromptDeploymentReleasePromptDeployment.js +1 -1
  260. package/serialization/types/PromptDeploymentReleasePromptVersion.d.ts +2 -2
  261. package/serialization/types/PromptDeploymentReleasePromptVersion.js +2 -2
  262. package/serialization/types/ReleaseCreatedBy.d.ts +1 -1
  263. package/serialization/types/ReleaseCreatedBy.js +1 -1
  264. package/serialization/types/ReleaseEnvironment.d.ts +1 -1
  265. package/serialization/types/ReleaseEnvironment.js +1 -1
  266. package/serialization/types/ReleaseReviewReviewer.d.ts +1 -1
  267. package/serialization/types/ReleaseReviewReviewer.js +1 -1
  268. package/serialization/types/SecretTypeEnum.d.ts +1 -1
  269. package/serialization/types/SecretTypeEnum.js +1 -1
  270. package/serialization/types/SlimDeploymentRead.d.ts +2 -2
  271. package/serialization/types/SlimDeploymentRead.js +2 -2
  272. package/serialization/types/SlimDocument.d.ts +1 -1
  273. package/serialization/types/SlimDocument.js +1 -1
  274. package/serialization/types/SlimDocumentDocumentToDocumentIndex.d.ts +3 -3
  275. package/serialization/types/SlimDocumentDocumentToDocumentIndex.js +3 -3
  276. package/serialization/types/SlimReleaseReview.d.ts +2 -2
  277. package/serialization/types/SlimReleaseReview.js +2 -2
  278. package/serialization/types/SlimWorkflowDeployment.d.ts +2 -2
  279. package/serialization/types/SlimWorkflowDeployment.js +2 -2
  280. package/serialization/types/TestCaseArrayVariableValue.d.ts +1 -1
  281. package/serialization/types/TestCaseArrayVariableValue.js +1 -1
  282. package/serialization/types/TestCaseChatHistoryVariableValue.d.ts +1 -1
  283. package/serialization/types/TestCaseChatHistoryVariableValue.js +1 -1
  284. package/serialization/types/TestCaseErrorVariableValue.d.ts +1 -1
  285. package/serialization/types/TestCaseErrorVariableValue.js +1 -1
  286. package/serialization/types/TestCaseFunctionCallVariableValue.d.ts +1 -1
  287. package/serialization/types/TestCaseFunctionCallVariableValue.js +1 -1
  288. package/serialization/types/TestCaseJsonVariableValue.d.ts +1 -1
  289. package/serialization/types/TestCaseJsonVariableValue.js +1 -1
  290. package/serialization/types/TestCaseNumberVariableValue.d.ts +1 -1
  291. package/serialization/types/TestCaseNumberVariableValue.js +1 -1
  292. package/serialization/types/TestCaseSearchResultsVariableValue.d.ts +1 -1
  293. package/serialization/types/TestCaseSearchResultsVariableValue.js +1 -1
  294. package/serialization/types/TestCaseStringVariableValue.d.ts +1 -1
  295. package/serialization/types/TestCaseStringVariableValue.js +1 -1
  296. package/serialization/types/TestSuiteRunRead.d.ts +2 -2
  297. package/serialization/types/TestSuiteRunRead.js +2 -2
  298. package/serialization/types/WorkflowDeploymentRead.d.ts +2 -2
  299. package/serialization/types/WorkflowDeploymentRead.js +2 -2
  300. package/serialization/types/WorkflowDeploymentRelease.d.ts +2 -2
  301. package/serialization/types/WorkflowDeploymentRelease.js +2 -2
  302. package/serialization/types/WorkflowDeploymentReleaseWorkflowDeployment.d.ts +1 -1
  303. package/serialization/types/WorkflowDeploymentReleaseWorkflowDeployment.js +1 -1
  304. package/serialization/types/WorkflowDeploymentReleaseWorkflowVersion.d.ts +3 -3
  305. package/serialization/types/WorkflowDeploymentReleaseWorkflowVersion.js +3 -3
  306. package/serialization/types/WorkflowSandboxExample.d.ts +1 -1
  307. package/serialization/types/WorkflowSandboxExample.js +1 -1
  308. package/serialization/types/WorkspaceRead.d.ts +3 -3
  309. package/serialization/types/WorkspaceRead.js +3 -3
  310. package/serialization/types/WorkspaceSecretRead.d.ts +2 -2
  311. package/serialization/types/WorkspaceSecretRead.js +2 -2
  312. package/serialization/types/index.d.ts +4 -0
  313. package/serialization/types/index.js +4 -0
  314. package/version.d.ts +1 -1
  315. package/version.js +1 -1
@@ -6,7 +6,7 @@
6
6
  */
7
7
  export interface TestCaseNumberVariableValue {
8
8
  variableId: string;
9
- name?: string;
9
+ name: string;
10
10
  type: "NUMBER";
11
11
  value?: number | null;
12
12
  }
@@ -7,7 +7,7 @@ import * as Vellum from "../index";
7
7
  */
8
8
  export interface TestCaseSearchResultsVariableValue {
9
9
  variableId: string;
10
- name?: string;
10
+ name: string;
11
11
  type: "SEARCH_RESULTS";
12
12
  value?: Vellum.SearchResult[] | null;
13
13
  }
@@ -6,7 +6,7 @@
6
6
  */
7
7
  export interface TestCaseStringVariableValue {
8
8
  variableId: string;
9
- name?: string;
9
+ name: string;
10
10
  type: "STRING";
11
11
  value?: string | null;
12
12
  }
@@ -3,8 +3,8 @@
3
3
  */
4
4
  import * as Vellum from "../index";
5
5
  export interface TestSuiteRunRead {
6
- id?: string;
7
- created?: Date;
6
+ id: string;
7
+ created: Date;
8
8
  testSuite: Vellum.TestSuiteRunTestSuite;
9
9
  /**
10
10
  * The current state of this run
@@ -3,7 +3,7 @@
3
3
  */
4
4
  import * as Vellum from "../index";
5
5
  export interface WorkflowDeploymentRead {
6
- id?: string;
6
+ id: string;
7
7
  /** A name that uniquely identifies this workflow deployment within its workspace */
8
8
  name: string;
9
9
  /** A human-readable label for the workflow deployment */
@@ -23,7 +23,7 @@ export interface WorkflowDeploymentRead {
23
23
  * * `PRODUCTION` - Production
24
24
  */
25
25
  environment?: Vellum.EnvironmentEnum;
26
- created?: Date;
26
+ created: Date;
27
27
  lastDeployedOn: Date;
28
28
  /** The ID of the history item associated with this Workflow Deployment's LATEST Release Tag */
29
29
  lastDeployedHistoryItemId: string;
@@ -3,8 +3,8 @@
3
3
  */
4
4
  import * as Vellum from "../index";
5
5
  export interface WorkflowDeploymentRelease {
6
- id?: string;
7
- created?: Date;
6
+ id: string;
7
+ created: Date;
8
8
  environment: Vellum.ReleaseEnvironment;
9
9
  createdBy?: Vellum.ReleaseCreatedBy | null;
10
10
  workflowVersion: Vellum.WorkflowDeploymentReleaseWorkflowVersion;
@@ -2,5 +2,5 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  export interface WorkflowDeploymentReleaseWorkflowDeployment {
5
- name?: string;
5
+ name: string;
6
6
  }
@@ -3,7 +3,7 @@
3
3
  */
4
4
  import * as Vellum from "../index";
5
5
  export interface WorkflowDeploymentReleaseWorkflowVersion {
6
- id?: string;
7
- inputVariables?: Vellum.VellumVariable[];
8
- outputVariables?: Vellum.VellumVariable[];
6
+ id: string;
7
+ inputVariables: Vellum.VellumVariable[];
8
+ outputVariables: Vellum.VellumVariable[];
9
9
  }
@@ -3,7 +3,7 @@
3
3
  */
4
4
  export interface WorkflowSandboxExample {
5
5
  id: string;
6
- label?: string;
6
+ label: string;
7
7
  description?: string | null;
8
8
  iconName?: string | null;
9
9
  }
@@ -2,9 +2,9 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  export interface WorkspaceRead {
5
- id?: string;
5
+ id: string;
6
6
  /** The name of the Workspace. */
7
7
  name: string;
8
- label?: string;
9
- created?: Date;
8
+ label: string;
9
+ created: Date;
10
10
  }
@@ -3,8 +3,8 @@
3
3
  */
4
4
  import * as Vellum from "../index";
5
5
  export interface WorkspaceSecretRead {
6
- id?: string;
7
- modified?: Date;
6
+ id: string;
7
+ modified: Date;
8
8
  name: string;
9
9
  label: string;
10
10
  secretType: Vellum.SecretTypeEnum;
@@ -31,6 +31,7 @@ export * from "./BasicVectorizerSentenceTransformersMultiQaMpnetBaseCosV1";
31
31
  export * from "./BasicVectorizerSentenceTransformersMultiQaMpnetBaseCosV1Request";
32
32
  export * from "./BasicVectorizerSentenceTransformersMultiQaMpnetBaseDotV1";
33
33
  export * from "./BasicVectorizerSentenceTransformersMultiQaMpnetBaseDotV1Request";
34
+ export * from "./BuildStatusEnum";
34
35
  export * from "./ChatHistoryInput";
35
36
  export * from "./ChatHistoryInputRequest";
36
37
  export * from "./ChatHistoryVellumValue";
@@ -63,6 +64,7 @@ export * from "./CompilePromptMeta";
63
64
  export * from "./ConditionCombinator";
64
65
  export * from "./ConditionalNodeResult";
65
66
  export * from "./ConditionalNodeResultData";
67
+ export * from "./ContainerImageBuildConfig";
66
68
  export * from "./ContainerImageContainerImageTag";
67
69
  export * from "./ContainerImageRead";
68
70
  export * from "./CreateTestSuiteTestCaseRequest";
@@ -118,6 +120,8 @@ export * from "./FastEmbedVectorizerBaaiBgeSmallEnV15";
118
120
  export * from "./FastEmbedVectorizerBaaiBgeSmallEnV15Request";
119
121
  export * from "./FinishReasonEnum";
120
122
  export * from "./FolderEntity";
123
+ export * from "./FolderEntityDataset";
124
+ export * from "./FolderEntityDatasetData";
121
125
  export * from "./FolderEntityDocumentIndex";
122
126
  export * from "./FolderEntityDocumentIndexData";
123
127
  export * from "./FolderEntityFolder";
@@ -47,6 +47,7 @@ __exportStar(require("./BasicVectorizerSentenceTransformersMultiQaMpnetBaseCosV1
47
47
  __exportStar(require("./BasicVectorizerSentenceTransformersMultiQaMpnetBaseCosV1Request"), exports);
48
48
  __exportStar(require("./BasicVectorizerSentenceTransformersMultiQaMpnetBaseDotV1"), exports);
49
49
  __exportStar(require("./BasicVectorizerSentenceTransformersMultiQaMpnetBaseDotV1Request"), exports);
50
+ __exportStar(require("./BuildStatusEnum"), exports);
50
51
  __exportStar(require("./ChatHistoryInput"), exports);
51
52
  __exportStar(require("./ChatHistoryInputRequest"), exports);
52
53
  __exportStar(require("./ChatHistoryVellumValue"), exports);
@@ -79,6 +80,7 @@ __exportStar(require("./CompilePromptMeta"), exports);
79
80
  __exportStar(require("./ConditionCombinator"), exports);
80
81
  __exportStar(require("./ConditionalNodeResult"), exports);
81
82
  __exportStar(require("./ConditionalNodeResultData"), exports);
83
+ __exportStar(require("./ContainerImageBuildConfig"), exports);
82
84
  __exportStar(require("./ContainerImageContainerImageTag"), exports);
83
85
  __exportStar(require("./ContainerImageRead"), exports);
84
86
  __exportStar(require("./CreateTestSuiteTestCaseRequest"), exports);
@@ -134,6 +136,8 @@ __exportStar(require("./FastEmbedVectorizerBaaiBgeSmallEnV15"), exports);
134
136
  __exportStar(require("./FastEmbedVectorizerBaaiBgeSmallEnV15Request"), exports);
135
137
  __exportStar(require("./FinishReasonEnum"), exports);
136
138
  __exportStar(require("./FolderEntity"), exports);
139
+ __exportStar(require("./FolderEntityDataset"), exports);
140
+ __exportStar(require("./FolderEntityDatasetData"), exports);
137
141
  __exportStar(require("./FolderEntityDocumentIndex"), exports);
138
142
  __exportStar(require("./FolderEntityDocumentIndexData"), exports);
139
143
  __exportStar(require("./FolderEntityFolder"), exports);
package/dist/Client.js CHANGED
@@ -173,7 +173,7 @@ class VellumClient {
173
173
  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)
174
174
  .default, "v1/execute-api"),
175
175
  method: "POST",
176
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.72", "User-Agent": "vellum-ai/0.14.72", "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),
176
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.74", "User-Agent": "vellum-ai/0.14.74", "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),
177
177
  contentType: "application/json",
178
178
  requestType: "json",
179
179
  body: serializers.ExecuteApiRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -248,7 +248,7 @@ class VellumClient {
248
248
  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)
249
249
  .predict, "v1/execute-code"),
250
250
  method: "POST",
251
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.72", "User-Agent": "vellum-ai/0.14.72", "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),
251
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.74", "User-Agent": "vellum-ai/0.14.74", "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),
252
252
  contentType: "application/json",
253
253
  requestType: "json",
254
254
  body: serializers.CodeExecutor.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -326,7 +326,7 @@ class VellumClient {
326
326
  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)
327
327
  .predict, "v1/execute-prompt"),
328
328
  method: "POST",
329
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.72", "User-Agent": "vellum-ai/0.14.72", "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),
329
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.74", "User-Agent": "vellum-ai/0.14.74", "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),
330
330
  contentType: "application/json",
331
331
  requestType: "json",
332
332
  body: serializers.ExecutePromptRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -393,7 +393,7 @@ class VellumClient {
393
393
  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)
394
394
  .predict, "v1/execute-prompt-stream"),
395
395
  method: "POST",
396
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.72", "User-Agent": "vellum-ai/0.14.72", "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),
396
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.74", "User-Agent": "vellum-ai/0.14.74", "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),
397
397
  contentType: "application/json",
398
398
  requestType: "json",
399
399
  body: serializers.ExecutePromptStreamRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -487,7 +487,7 @@ class VellumClient {
487
487
  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)
488
488
  .predict, "v1/execute-workflow"),
489
489
  method: "POST",
490
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.72", "User-Agent": "vellum-ai/0.14.72", "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),
490
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.74", "User-Agent": "vellum-ai/0.14.74", "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),
491
491
  contentType: "application/json",
492
492
  requestType: "json",
493
493
  body: serializers.ExecuteWorkflowRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -552,7 +552,7 @@ class VellumClient {
552
552
  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)
553
553
  .predict, "v1/execute-workflow-stream"),
554
554
  method: "POST",
555
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.72", "User-Agent": "vellum-ai/0.14.72", "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),
555
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.74", "User-Agent": "vellum-ai/0.14.74", "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),
556
556
  contentType: "application/json",
557
557
  requestType: "json",
558
558
  body: serializers.ExecuteWorkflowStreamRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -648,7 +648,7 @@ class VellumClient {
648
648
  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)
649
649
  .predict, "v1/generate"),
650
650
  method: "POST",
651
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.72", "User-Agent": "vellum-ai/0.14.72", "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),
651
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.74", "User-Agent": "vellum-ai/0.14.74", "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),
652
652
  contentType: "application/json",
653
653
  requestType: "json",
654
654
  body: serializers.GenerateBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -718,7 +718,7 @@ class VellumClient {
718
718
  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)
719
719
  .predict, "v1/generate-stream"),
720
720
  method: "POST",
721
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.72", "User-Agent": "vellum-ai/0.14.72", "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),
721
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.74", "User-Agent": "vellum-ai/0.14.74", "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),
722
722
  contentType: "application/json",
723
723
  requestType: "json",
724
724
  body: serializers.GenerateStreamBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -808,7 +808,7 @@ class VellumClient {
808
808
  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)
809
809
  .predict, "v1/search"),
810
810
  method: "POST",
811
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.72", "User-Agent": "vellum-ai/0.14.72", "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),
811
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.74", "User-Agent": "vellum-ai/0.14.74", "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),
812
812
  contentType: "application/json",
813
813
  requestType: "json",
814
814
  body: serializers.SearchRequestBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -885,7 +885,7 @@ class VellumClient {
885
885
  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)
886
886
  .predict, "v1/submit-completion-actuals"),
887
887
  method: "POST",
888
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.72", "User-Agent": "vellum-ai/0.14.72", "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),
888
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.74", "User-Agent": "vellum-ai/0.14.74", "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),
889
889
  contentType: "application/json",
890
890
  requestType: "json",
891
891
  body: serializers.SubmitCompletionActualsRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -954,7 +954,7 @@ class VellumClient {
954
954
  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)
955
955
  .predict, "v1/submit-workflow-execution-actuals"),
956
956
  method: "POST",
957
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.72", "User-Agent": "vellum-ai/0.14.72", "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),
957
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.74", "User-Agent": "vellum-ai/0.14.74", "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),
958
958
  contentType: "application/json",
959
959
  requestType: "json",
960
960
  body: serializers.SubmitWorkflowExecutionActualsRequest.jsonOrThrow(request, {
@@ -97,7 +97,7 @@ class AdHoc {
97
97
  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)
98
98
  .default, "v1/ad-hoc/execute-prompt"),
99
99
  method: "POST",
100
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.72", "User-Agent": "vellum-ai/0.14.72", "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
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.74", "User-Agent": "vellum-ai/0.14.74", "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
  requestType: "json",
103
103
  body: serializers.AdHocExecutePrompt.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -159,7 +159,7 @@ class AdHoc {
159
159
  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)
160
160
  .predict, "v1/ad-hoc/execute-prompt-stream"),
161
161
  method: "POST",
162
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.72", "User-Agent": "vellum-ai/0.14.72", "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),
162
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.74", "User-Agent": "vellum-ai/0.14.74", "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),
163
163
  contentType: "application/json",
164
164
  requestType: "json",
165
165
  body: serializers.AdHocExecutePromptStream.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -88,7 +88,7 @@ class ContainerImages {
88
88
  url: (0, url_join_1.default)((_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : ((_d = (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.VellumEnvironment.Production)
89
89
  .default, "v1/container-images"),
90
90
  method: "GET",
91
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.72", "User-Agent": "vellum-ai/0.14.72", "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
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.74", "User-Agent": "vellum-ai/0.14.74", "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),
92
92
  contentType: "application/json",
93
93
  queryParameters: _queryParams,
94
94
  requestType: "json",
@@ -150,7 +150,7 @@ class ContainerImages {
150
150
  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)
151
151
  .default, `v1/container-images/${encodeURIComponent(id)}`),
152
152
  method: "GET",
153
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.72", "User-Agent": "vellum-ai/0.14.72", "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),
153
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.74", "User-Agent": "vellum-ai/0.14.74", "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),
154
154
  contentType: "application/json",
155
155
  requestType: "json",
156
156
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -208,7 +208,7 @@ class ContainerImages {
208
208
  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)
209
209
  .default, "v1/container-images/docker-service-token"),
210
210
  method: "GET",
211
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.72", "User-Agent": "vellum-ai/0.14.72", "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),
211
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.74", "User-Agent": "vellum-ai/0.14.74", "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),
212
212
  contentType: "application/json",
213
213
  requestType: "json",
214
214
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -271,7 +271,7 @@ class ContainerImages {
271
271
  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)
272
272
  .default, "v1/container-images/push"),
273
273
  method: "POST",
274
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.72", "User-Agent": "vellum-ai/0.14.72", "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),
274
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.74", "User-Agent": "vellum-ai/0.14.74", "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),
275
275
  contentType: "application/json",
276
276
  requestType: "json",
277
277
  body: serializers.PushContainerImageRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -94,7 +94,7 @@ class Deployments {
94
94
  url: (0, url_join_1.default)((_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : ((_d = (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.VellumEnvironment.Production)
95
95
  .default, "v1/deployments"),
96
96
  method: "GET",
97
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.72", "User-Agent": "vellum-ai/0.14.72", "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
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.74", "User-Agent": "vellum-ai/0.14.74", "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",
@@ -156,7 +156,7 @@ class Deployments {
156
156
  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)
157
157
  .default, `v1/deployments/${encodeURIComponent(id)}`),
158
158
  method: "GET",
159
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.72", "User-Agent": "vellum-ai/0.14.72", "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),
159
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.74", "User-Agent": "vellum-ai/0.14.74", "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),
160
160
  contentType: "application/json",
161
161
  requestType: "json",
162
162
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -219,7 +219,7 @@ class Deployments {
219
219
  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)
220
220
  .default, `v1/deployments/${encodeURIComponent(id)}/history/${encodeURIComponent(historyIdOrReleaseTag)}`),
221
221
  method: "GET",
222
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.72", "User-Agent": "vellum-ai/0.14.72", "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),
222
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.74", "User-Agent": "vellum-ai/0.14.74", "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),
223
223
  contentType: "application/json",
224
224
  requestType: "json",
225
225
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -297,7 +297,7 @@ class Deployments {
297
297
  url: (0, url_join_1.default)((_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : ((_d = (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.VellumEnvironment.Production)
298
298
  .default, `v1/deployments/${encodeURIComponent(id)}/release-tags`),
299
299
  method: "GET",
300
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.72", "User-Agent": "vellum-ai/0.14.72", "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),
300
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.74", "User-Agent": "vellum-ai/0.14.74", "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),
301
301
  contentType: "application/json",
302
302
  queryParameters: _queryParams,
303
303
  requestType: "json",
@@ -360,7 +360,7 @@ class Deployments {
360
360
  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)
361
361
  .default, `v1/deployments/${encodeURIComponent(id)}/release-tags/${encodeURIComponent(name)}`),
362
362
  method: "GET",
363
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.72", "User-Agent": "vellum-ai/0.14.72", "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),
363
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.74", "User-Agent": "vellum-ai/0.14.74", "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),
364
364
  contentType: "application/json",
365
365
  requestType: "json",
366
366
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -423,7 +423,7 @@ class Deployments {
423
423
  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)
424
424
  .default, `v1/deployments/${encodeURIComponent(id)}/release-tags/${encodeURIComponent(name)}`),
425
425
  method: "PATCH",
426
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.72", "User-Agent": "vellum-ai/0.14.72", "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),
426
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.74", "User-Agent": "vellum-ai/0.14.74", "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),
427
427
  contentType: "application/json",
428
428
  requestType: "json",
429
429
  body: serializers.PatchedDeploymentReleaseTagUpdateRequest.jsonOrThrow(request, {
@@ -488,7 +488,7 @@ class Deployments {
488
488
  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)
489
489
  .default, `v1/deployments/${encodeURIComponent(id)}/releases/${encodeURIComponent(releaseIdOrReleaseTag)}`),
490
490
  method: "GET",
491
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.72", "User-Agent": "vellum-ai/0.14.72", "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),
491
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.74", "User-Agent": "vellum-ai/0.14.74", "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),
492
492
  contentType: "application/json",
493
493
  requestType: "json",
494
494
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -569,7 +569,7 @@ class Deployments {
569
569
  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)
570
570
  .default, "v1/deployments/provider-payload"),
571
571
  method: "POST",
572
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.72", "User-Agent": "vellum-ai/0.14.72", "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),
572
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.74", "User-Agent": "vellum-ai/0.14.74", "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),
573
573
  contentType: "application/json",
574
574
  requestType: "json",
575
575
  body: serializers.DeploymentProviderPayloadRequest.jsonOrThrow(request, {
@@ -96,7 +96,7 @@ class DocumentIndexes {
96
96
  url: (0, url_join_1.default)((_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : ((_d = (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.VellumEnvironment.Production)
97
97
  .default, "v1/document-indexes"),
98
98
  method: "GET",
99
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.72", "User-Agent": "vellum-ai/0.14.72", "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),
99
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.74", "User-Agent": "vellum-ai/0.14.74", "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
100
  contentType: "application/json",
101
101
  queryParameters: _queryParams,
102
102
  requestType: "json",
@@ -220,7 +220,7 @@ class DocumentIndexes {
220
220
  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)
221
221
  .default, "v1/document-indexes"),
222
222
  method: "POST",
223
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.72", "User-Agent": "vellum-ai/0.14.72", "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),
223
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.74", "User-Agent": "vellum-ai/0.14.74", "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),
224
224
  contentType: "application/json",
225
225
  requestType: "json",
226
226
  body: serializers.DocumentIndexCreateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -282,7 +282,7 @@ class DocumentIndexes {
282
282
  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)
283
283
  .default, `v1/document-indexes/${encodeURIComponent(id)}`),
284
284
  method: "GET",
285
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.72", "User-Agent": "vellum-ai/0.14.72", "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),
285
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.74", "User-Agent": "vellum-ai/0.14.74", "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),
286
286
  contentType: "application/json",
287
287
  requestType: "json",
288
288
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -346,7 +346,7 @@ class DocumentIndexes {
346
346
  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)
347
347
  .default, `v1/document-indexes/${encodeURIComponent(id)}`),
348
348
  method: "PUT",
349
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.72", "User-Agent": "vellum-ai/0.14.72", "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),
349
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.74", "User-Agent": "vellum-ai/0.14.74", "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),
350
350
  contentType: "application/json",
351
351
  requestType: "json",
352
352
  body: serializers.DocumentIndexUpdateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -408,7 +408,7 @@ class DocumentIndexes {
408
408
  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)
409
409
  .documents, `v1/document-indexes/${encodeURIComponent(id)}`),
410
410
  method: "DELETE",
411
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.72", "User-Agent": "vellum-ai/0.14.72", "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),
411
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.74", "User-Agent": "vellum-ai/0.14.74", "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),
412
412
  contentType: "application/json",
413
413
  requestType: "json",
414
414
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -462,7 +462,7 @@ class DocumentIndexes {
462
462
  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)
463
463
  .default, `v1/document-indexes/${encodeURIComponent(id)}`),
464
464
  method: "PATCH",
465
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.72", "User-Agent": "vellum-ai/0.14.72", "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),
465
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.74", "User-Agent": "vellum-ai/0.14.74", "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),
466
466
  contentType: "application/json",
467
467
  requestType: "json",
468
468
  body: serializers.PatchedDocumentIndexUpdateRequest.jsonOrThrow(request, {
@@ -527,7 +527,7 @@ class DocumentIndexes {
527
527
  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)
528
528
  .default, `v1/document-indexes/${encodeURIComponent(id)}/documents/${encodeURIComponent(documentId)}`),
529
529
  method: "POST",
530
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.72", "User-Agent": "vellum-ai/0.14.72", "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),
530
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.74", "User-Agent": "vellum-ai/0.14.74", "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),
531
531
  contentType: "application/json",
532
532
  requestType: "json",
533
533
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -581,7 +581,7 @@ class DocumentIndexes {
581
581
  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)
582
582
  .documents, `v1/document-indexes/${encodeURIComponent(id)}/documents/${encodeURIComponent(documentId)}`),
583
583
  method: "DELETE",
584
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.72", "User-Agent": "vellum-ai/0.14.72", "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),
584
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.74", "User-Agent": "vellum-ai/0.14.74", "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),
585
585
  contentType: "application/json",
586
586
  requestType: "json",
587
587
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -95,7 +95,7 @@ class Documents {
95
95
  url: (0, url_join_1.default)((_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : ((_d = (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.VellumEnvironment.Production)
96
96
  .default, "v1/documents"),
97
97
  method: "GET",
98
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.72", "User-Agent": "vellum-ai/0.14.72", "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
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.74", "User-Agent": "vellum-ai/0.14.74", "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),
99
99
  contentType: "application/json",
100
100
  queryParameters: _queryParams,
101
101
  requestType: "json",
@@ -157,7 +157,7 @@ class Documents {
157
157
  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)
158
158
  .default, `v1/documents/${encodeURIComponent(id)}`),
159
159
  method: "GET",
160
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.72", "User-Agent": "vellum-ai/0.14.72", "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),
160
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.74", "User-Agent": "vellum-ai/0.14.74", "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),
161
161
  contentType: "application/json",
162
162
  requestType: "json",
163
163
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -218,7 +218,7 @@ class Documents {
218
218
  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)
219
219
  .documents, `v1/documents/${encodeURIComponent(id)}`),
220
220
  method: "DELETE",
221
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.72", "User-Agent": "vellum-ai/0.14.72", "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),
221
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.74", "User-Agent": "vellum-ai/0.14.74", "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),
222
222
  contentType: "application/json",
223
223
  requestType: "json",
224
224
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -272,7 +272,7 @@ class Documents {
272
272
  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)
273
273
  .default, `v1/documents/${encodeURIComponent(id)}`),
274
274
  method: "PATCH",
275
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.72", "User-Agent": "vellum-ai/0.14.72", "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),
275
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.74", "User-Agent": "vellum-ai/0.14.74", "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),
276
276
  contentType: "application/json",
277
277
  requestType: "json",
278
278
  body: serializers.PatchedDocumentUpdateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -363,7 +363,7 @@ class Documents {
363
363
  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)
364
364
  .documents, "v1/upload-document"),
365
365
  method: "POST",
366
- headers: Object.assign(Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.72", "User-Agent": "vellum-ai/0.14.72", "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),
366
+ headers: Object.assign(Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.74", "User-Agent": "vellum-ai/0.14.74", "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),
367
367
  requestType: "file",
368
368
  duplex: _maybeEncodedRequest.duplex,
369
369
  body: _maybeEncodedRequest.body,