vellum-ai 0.14.69 → 0.14.71

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 (255) 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/ContainerImageRead.d.ts +1 -1
  22. package/api/types/DeploymentRead.d.ts +2 -2
  23. package/api/types/DocumentDocumentToDocumentIndex.d.ts +3 -3
  24. package/api/types/DocumentIndexRead.d.ts +2 -2
  25. package/api/types/DocumentRead.d.ts +1 -1
  26. package/api/types/MetricDefinitionHistoryItem.d.ts +2 -2
  27. package/api/types/MlModelRead.d.ts +1 -1
  28. package/api/types/OrganizationRead.d.ts +1 -1
  29. package/api/types/PromptDeploymentRelease.d.ts +2 -2
  30. package/api/types/PromptDeploymentReleasePromptDeployment.d.ts +1 -1
  31. package/api/types/PromptDeploymentReleasePromptVersion.d.ts +2 -2
  32. package/api/types/ReleaseCreatedBy.d.ts +1 -1
  33. package/api/types/ReleaseEnvironment.d.ts +1 -1
  34. package/api/types/ReleaseReviewReviewer.d.ts +1 -1
  35. package/api/types/SlimDeploymentRead.d.ts +2 -2
  36. package/api/types/SlimDocument.d.ts +1 -1
  37. package/api/types/SlimDocumentDocumentToDocumentIndex.d.ts +3 -3
  38. package/api/types/SlimReleaseReview.d.ts +2 -2
  39. package/api/types/SlimWorkflowDeployment.d.ts +2 -2
  40. package/api/types/TestCaseArrayVariableValue.d.ts +1 -1
  41. package/api/types/TestCaseChatHistoryVariableValue.d.ts +1 -1
  42. package/api/types/TestCaseErrorVariableValue.d.ts +1 -1
  43. package/api/types/TestCaseFunctionCallVariableValue.d.ts +1 -1
  44. package/api/types/TestCaseJsonVariableValue.d.ts +1 -1
  45. package/api/types/TestCaseNumberVariableValue.d.ts +1 -1
  46. package/api/types/TestCaseSearchResultsVariableValue.d.ts +1 -1
  47. package/api/types/TestCaseStringVariableValue.d.ts +1 -1
  48. package/api/types/TestSuiteRunRead.d.ts +2 -2
  49. package/api/types/WorkflowDeploymentRead.d.ts +2 -2
  50. package/api/types/WorkflowDeploymentRelease.d.ts +2 -2
  51. package/api/types/WorkflowDeploymentReleaseWorkflowDeployment.d.ts +1 -1
  52. package/api/types/WorkflowDeploymentReleaseWorkflowVersion.d.ts +3 -3
  53. package/api/types/WorkflowSandboxExample.d.ts +1 -1
  54. package/api/types/WorkspaceRead.d.ts +3 -3
  55. package/api/types/WorkspaceSecretRead.d.ts +2 -2
  56. package/dist/Client.js +11 -11
  57. package/dist/api/resources/adHoc/client/Client.js +2 -2
  58. package/dist/api/resources/containerImages/client/Client.js +4 -4
  59. package/dist/api/resources/deployments/client/Client.js +8 -8
  60. package/dist/api/resources/documentIndexes/client/Client.js +8 -8
  61. package/dist/api/resources/documents/client/Client.js +5 -5
  62. package/dist/api/resources/folderEntities/client/Client.js +2 -2
  63. package/dist/api/resources/metricDefinitions/client/Client.js +2 -2
  64. package/dist/api/resources/mlModels/client/Client.js +1 -1
  65. package/dist/api/resources/organizations/client/Client.js +1 -1
  66. package/dist/api/resources/prompts/client/Client.js +2 -2
  67. package/dist/api/resources/releaseReviews/client/Client.js +1 -1
  68. package/dist/api/resources/sandboxes/client/Client.js +3 -3
  69. package/dist/api/resources/testSuiteRuns/client/Client.js +3 -3
  70. package/dist/api/resources/testSuites/client/Client.js +4 -4
  71. package/dist/api/resources/workflowDeployments/client/Client.js +8 -8
  72. package/dist/api/resources/workflowSandboxes/client/Client.js +2 -2
  73. package/dist/api/resources/workflows/client/Client.js +2 -2
  74. package/dist/api/resources/workspaceSecrets/client/Client.js +2 -2
  75. package/dist/api/resources/workspaces/client/Client.js +1 -1
  76. package/dist/api/types/ContainerImageRead.d.ts +1 -1
  77. package/dist/api/types/DeploymentRead.d.ts +2 -2
  78. package/dist/api/types/DocumentDocumentToDocumentIndex.d.ts +3 -3
  79. package/dist/api/types/DocumentIndexRead.d.ts +2 -2
  80. package/dist/api/types/DocumentRead.d.ts +1 -1
  81. package/dist/api/types/MetricDefinitionHistoryItem.d.ts +2 -2
  82. package/dist/api/types/MlModelRead.d.ts +1 -1
  83. package/dist/api/types/OrganizationRead.d.ts +1 -1
  84. package/dist/api/types/PromptDeploymentRelease.d.ts +2 -2
  85. package/dist/api/types/PromptDeploymentReleasePromptDeployment.d.ts +1 -1
  86. package/dist/api/types/PromptDeploymentReleasePromptVersion.d.ts +2 -2
  87. package/dist/api/types/ReleaseCreatedBy.d.ts +1 -1
  88. package/dist/api/types/ReleaseEnvironment.d.ts +1 -1
  89. package/dist/api/types/ReleaseReviewReviewer.d.ts +1 -1
  90. package/dist/api/types/SlimDeploymentRead.d.ts +2 -2
  91. package/dist/api/types/SlimDocument.d.ts +1 -1
  92. package/dist/api/types/SlimDocumentDocumentToDocumentIndex.d.ts +3 -3
  93. package/dist/api/types/SlimReleaseReview.d.ts +2 -2
  94. package/dist/api/types/SlimWorkflowDeployment.d.ts +2 -2
  95. package/dist/api/types/TestCaseArrayVariableValue.d.ts +1 -1
  96. package/dist/api/types/TestCaseChatHistoryVariableValue.d.ts +1 -1
  97. package/dist/api/types/TestCaseErrorVariableValue.d.ts +1 -1
  98. package/dist/api/types/TestCaseFunctionCallVariableValue.d.ts +1 -1
  99. package/dist/api/types/TestCaseJsonVariableValue.d.ts +1 -1
  100. package/dist/api/types/TestCaseNumberVariableValue.d.ts +1 -1
  101. package/dist/api/types/TestCaseSearchResultsVariableValue.d.ts +1 -1
  102. package/dist/api/types/TestCaseStringVariableValue.d.ts +1 -1
  103. package/dist/api/types/TestSuiteRunRead.d.ts +2 -2
  104. package/dist/api/types/WorkflowDeploymentRead.d.ts +2 -2
  105. package/dist/api/types/WorkflowDeploymentRelease.d.ts +2 -2
  106. package/dist/api/types/WorkflowDeploymentReleaseWorkflowDeployment.d.ts +1 -1
  107. package/dist/api/types/WorkflowDeploymentReleaseWorkflowVersion.d.ts +3 -3
  108. package/dist/api/types/WorkflowSandboxExample.d.ts +1 -1
  109. package/dist/api/types/WorkspaceRead.d.ts +3 -3
  110. package/dist/api/types/WorkspaceSecretRead.d.ts +2 -2
  111. package/dist/serialization/types/ContainerImageRead.d.ts +1 -1
  112. package/dist/serialization/types/ContainerImageRead.js +1 -1
  113. package/dist/serialization/types/DeploymentRead.d.ts +2 -2
  114. package/dist/serialization/types/DeploymentRead.js +2 -2
  115. package/dist/serialization/types/DocumentDocumentToDocumentIndex.d.ts +3 -3
  116. package/dist/serialization/types/DocumentDocumentToDocumentIndex.js +3 -3
  117. package/dist/serialization/types/DocumentIndexRead.d.ts +2 -2
  118. package/dist/serialization/types/DocumentIndexRead.js +2 -2
  119. package/dist/serialization/types/DocumentRead.d.ts +1 -1
  120. package/dist/serialization/types/DocumentRead.js +1 -1
  121. package/dist/serialization/types/MetricDefinitionHistoryItem.d.ts +2 -2
  122. package/dist/serialization/types/MetricDefinitionHistoryItem.js +2 -2
  123. package/dist/serialization/types/MlModelRead.d.ts +1 -1
  124. package/dist/serialization/types/MlModelRead.js +1 -1
  125. package/dist/serialization/types/OrganizationRead.d.ts +1 -1
  126. package/dist/serialization/types/OrganizationRead.js +1 -1
  127. package/dist/serialization/types/PromptDeploymentRelease.d.ts +2 -2
  128. package/dist/serialization/types/PromptDeploymentRelease.js +2 -2
  129. package/dist/serialization/types/PromptDeploymentReleasePromptDeployment.d.ts +1 -1
  130. package/dist/serialization/types/PromptDeploymentReleasePromptDeployment.js +1 -1
  131. package/dist/serialization/types/PromptDeploymentReleasePromptVersion.d.ts +2 -2
  132. package/dist/serialization/types/PromptDeploymentReleasePromptVersion.js +2 -2
  133. package/dist/serialization/types/ReleaseCreatedBy.d.ts +1 -1
  134. package/dist/serialization/types/ReleaseCreatedBy.js +1 -1
  135. package/dist/serialization/types/ReleaseEnvironment.d.ts +1 -1
  136. package/dist/serialization/types/ReleaseEnvironment.js +1 -1
  137. package/dist/serialization/types/ReleaseReviewReviewer.d.ts +1 -1
  138. package/dist/serialization/types/ReleaseReviewReviewer.js +1 -1
  139. package/dist/serialization/types/SlimDeploymentRead.d.ts +2 -2
  140. package/dist/serialization/types/SlimDeploymentRead.js +2 -2
  141. package/dist/serialization/types/SlimDocument.d.ts +1 -1
  142. package/dist/serialization/types/SlimDocument.js +1 -1
  143. package/dist/serialization/types/SlimDocumentDocumentToDocumentIndex.d.ts +3 -3
  144. package/dist/serialization/types/SlimDocumentDocumentToDocumentIndex.js +3 -3
  145. package/dist/serialization/types/SlimReleaseReview.d.ts +2 -2
  146. package/dist/serialization/types/SlimReleaseReview.js +2 -2
  147. package/dist/serialization/types/SlimWorkflowDeployment.d.ts +2 -2
  148. package/dist/serialization/types/SlimWorkflowDeployment.js +2 -2
  149. package/dist/serialization/types/TestCaseArrayVariableValue.d.ts +1 -1
  150. package/dist/serialization/types/TestCaseArrayVariableValue.js +1 -1
  151. package/dist/serialization/types/TestCaseChatHistoryVariableValue.d.ts +1 -1
  152. package/dist/serialization/types/TestCaseChatHistoryVariableValue.js +1 -1
  153. package/dist/serialization/types/TestCaseErrorVariableValue.d.ts +1 -1
  154. package/dist/serialization/types/TestCaseErrorVariableValue.js +1 -1
  155. package/dist/serialization/types/TestCaseFunctionCallVariableValue.d.ts +1 -1
  156. package/dist/serialization/types/TestCaseFunctionCallVariableValue.js +1 -1
  157. package/dist/serialization/types/TestCaseJsonVariableValue.d.ts +1 -1
  158. package/dist/serialization/types/TestCaseJsonVariableValue.js +1 -1
  159. package/dist/serialization/types/TestCaseNumberVariableValue.d.ts +1 -1
  160. package/dist/serialization/types/TestCaseNumberVariableValue.js +1 -1
  161. package/dist/serialization/types/TestCaseSearchResultsVariableValue.d.ts +1 -1
  162. package/dist/serialization/types/TestCaseSearchResultsVariableValue.js +1 -1
  163. package/dist/serialization/types/TestCaseStringVariableValue.d.ts +1 -1
  164. package/dist/serialization/types/TestCaseStringVariableValue.js +1 -1
  165. package/dist/serialization/types/TestSuiteRunRead.d.ts +2 -2
  166. package/dist/serialization/types/TestSuiteRunRead.js +2 -2
  167. package/dist/serialization/types/WorkflowDeploymentRead.d.ts +2 -2
  168. package/dist/serialization/types/WorkflowDeploymentRead.js +2 -2
  169. package/dist/serialization/types/WorkflowDeploymentRelease.d.ts +2 -2
  170. package/dist/serialization/types/WorkflowDeploymentRelease.js +2 -2
  171. package/dist/serialization/types/WorkflowDeploymentReleaseWorkflowDeployment.d.ts +1 -1
  172. package/dist/serialization/types/WorkflowDeploymentReleaseWorkflowDeployment.js +1 -1
  173. package/dist/serialization/types/WorkflowDeploymentReleaseWorkflowVersion.d.ts +3 -3
  174. package/dist/serialization/types/WorkflowDeploymentReleaseWorkflowVersion.js +3 -3
  175. package/dist/serialization/types/WorkflowSandboxExample.d.ts +1 -1
  176. package/dist/serialization/types/WorkflowSandboxExample.js +1 -1
  177. package/dist/serialization/types/WorkspaceRead.d.ts +3 -3
  178. package/dist/serialization/types/WorkspaceRead.js +3 -3
  179. package/dist/serialization/types/WorkspaceSecretRead.d.ts +2 -2
  180. package/dist/serialization/types/WorkspaceSecretRead.js +2 -2
  181. package/dist/version.d.ts +1 -1
  182. package/dist/version.js +1 -1
  183. package/package.json +1 -1
  184. package/serialization/types/ContainerImageRead.d.ts +1 -1
  185. package/serialization/types/ContainerImageRead.js +1 -1
  186. package/serialization/types/DeploymentRead.d.ts +2 -2
  187. package/serialization/types/DeploymentRead.js +2 -2
  188. package/serialization/types/DocumentDocumentToDocumentIndex.d.ts +3 -3
  189. package/serialization/types/DocumentDocumentToDocumentIndex.js +3 -3
  190. package/serialization/types/DocumentIndexRead.d.ts +2 -2
  191. package/serialization/types/DocumentIndexRead.js +2 -2
  192. package/serialization/types/DocumentRead.d.ts +1 -1
  193. package/serialization/types/DocumentRead.js +1 -1
  194. package/serialization/types/MetricDefinitionHistoryItem.d.ts +2 -2
  195. package/serialization/types/MetricDefinitionHistoryItem.js +2 -2
  196. package/serialization/types/MlModelRead.d.ts +1 -1
  197. package/serialization/types/MlModelRead.js +1 -1
  198. package/serialization/types/OrganizationRead.d.ts +1 -1
  199. package/serialization/types/OrganizationRead.js +1 -1
  200. package/serialization/types/PromptDeploymentRelease.d.ts +2 -2
  201. package/serialization/types/PromptDeploymentRelease.js +2 -2
  202. package/serialization/types/PromptDeploymentReleasePromptDeployment.d.ts +1 -1
  203. package/serialization/types/PromptDeploymentReleasePromptDeployment.js +1 -1
  204. package/serialization/types/PromptDeploymentReleasePromptVersion.d.ts +2 -2
  205. package/serialization/types/PromptDeploymentReleasePromptVersion.js +2 -2
  206. package/serialization/types/ReleaseCreatedBy.d.ts +1 -1
  207. package/serialization/types/ReleaseCreatedBy.js +1 -1
  208. package/serialization/types/ReleaseEnvironment.d.ts +1 -1
  209. package/serialization/types/ReleaseEnvironment.js +1 -1
  210. package/serialization/types/ReleaseReviewReviewer.d.ts +1 -1
  211. package/serialization/types/ReleaseReviewReviewer.js +1 -1
  212. package/serialization/types/SlimDeploymentRead.d.ts +2 -2
  213. package/serialization/types/SlimDeploymentRead.js +2 -2
  214. package/serialization/types/SlimDocument.d.ts +1 -1
  215. package/serialization/types/SlimDocument.js +1 -1
  216. package/serialization/types/SlimDocumentDocumentToDocumentIndex.d.ts +3 -3
  217. package/serialization/types/SlimDocumentDocumentToDocumentIndex.js +3 -3
  218. package/serialization/types/SlimReleaseReview.d.ts +2 -2
  219. package/serialization/types/SlimReleaseReview.js +2 -2
  220. package/serialization/types/SlimWorkflowDeployment.d.ts +2 -2
  221. package/serialization/types/SlimWorkflowDeployment.js +2 -2
  222. package/serialization/types/TestCaseArrayVariableValue.d.ts +1 -1
  223. package/serialization/types/TestCaseArrayVariableValue.js +1 -1
  224. package/serialization/types/TestCaseChatHistoryVariableValue.d.ts +1 -1
  225. package/serialization/types/TestCaseChatHistoryVariableValue.js +1 -1
  226. package/serialization/types/TestCaseErrorVariableValue.d.ts +1 -1
  227. package/serialization/types/TestCaseErrorVariableValue.js +1 -1
  228. package/serialization/types/TestCaseFunctionCallVariableValue.d.ts +1 -1
  229. package/serialization/types/TestCaseFunctionCallVariableValue.js +1 -1
  230. package/serialization/types/TestCaseJsonVariableValue.d.ts +1 -1
  231. package/serialization/types/TestCaseJsonVariableValue.js +1 -1
  232. package/serialization/types/TestCaseNumberVariableValue.d.ts +1 -1
  233. package/serialization/types/TestCaseNumberVariableValue.js +1 -1
  234. package/serialization/types/TestCaseSearchResultsVariableValue.d.ts +1 -1
  235. package/serialization/types/TestCaseSearchResultsVariableValue.js +1 -1
  236. package/serialization/types/TestCaseStringVariableValue.d.ts +1 -1
  237. package/serialization/types/TestCaseStringVariableValue.js +1 -1
  238. package/serialization/types/TestSuiteRunRead.d.ts +2 -2
  239. package/serialization/types/TestSuiteRunRead.js +2 -2
  240. package/serialization/types/WorkflowDeploymentRead.d.ts +2 -2
  241. package/serialization/types/WorkflowDeploymentRead.js +2 -2
  242. package/serialization/types/WorkflowDeploymentRelease.d.ts +2 -2
  243. package/serialization/types/WorkflowDeploymentRelease.js +2 -2
  244. package/serialization/types/WorkflowDeploymentReleaseWorkflowDeployment.d.ts +1 -1
  245. package/serialization/types/WorkflowDeploymentReleaseWorkflowDeployment.js +1 -1
  246. package/serialization/types/WorkflowDeploymentReleaseWorkflowVersion.d.ts +3 -3
  247. package/serialization/types/WorkflowDeploymentReleaseWorkflowVersion.js +3 -3
  248. package/serialization/types/WorkflowSandboxExample.d.ts +1 -1
  249. package/serialization/types/WorkflowSandboxExample.js +1 -1
  250. package/serialization/types/WorkspaceRead.d.ts +3 -3
  251. package/serialization/types/WorkspaceRead.js +3 -3
  252. package/serialization/types/WorkspaceSecretRead.d.ts +2 -2
  253. package/serialization/types/WorkspaceSecretRead.js +2 -2
  254. package/version.d.ts +1 -1
  255. package/version.js +1 -1
@@ -86,7 +86,7 @@ class TestSuites {
86
86
  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)
87
87
  .default, `v1/test-suites/${encodeURIComponent(id)}/test-cases`),
88
88
  method: "GET",
89
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.69", "User-Agent": "vellum-ai/0.14.69", "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),
89
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.71", "User-Agent": "vellum-ai/0.14.71", "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),
90
90
  contentType: "application/json",
91
91
  queryParameters: _queryParams,
92
92
  requestType: "json",
@@ -176,7 +176,7 @@ class TestSuites {
176
176
  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)
177
177
  .default, `v1/test-suites/${encodeURIComponent(id)}/test-cases`),
178
178
  method: "POST",
179
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.69", "User-Agent": "vellum-ai/0.14.69", "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),
179
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.71", "User-Agent": "vellum-ai/0.14.71", "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),
180
180
  contentType: "application/json",
181
181
  requestType: "json",
182
182
  body: serializers.UpsertTestSuiteTestCaseRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -232,7 +232,7 @@ class TestSuites {
232
232
  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)
233
233
  .default, `v1/test-suites/${encodeURIComponent(id)}/test-cases-bulk`),
234
234
  method: "POST",
235
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.69", "User-Agent": "vellum-ai/0.14.69", "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),
235
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.71", "User-Agent": "vellum-ai/0.14.71", "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),
236
236
  contentType: "application/x-ndjson",
237
237
  requestType: "json",
238
238
  body: serializers.testSuites.testSuiteTestCasesBulk.Request.jsonOrThrow(request, {
@@ -308,7 +308,7 @@ class TestSuites {
308
308
  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)
309
309
  .default, `v1/test-suites/${encodeURIComponent(id)}/test-cases/${encodeURIComponent(testCaseId)}`),
310
310
  method: "DELETE",
311
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.69", "User-Agent": "vellum-ai/0.14.69", "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),
311
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.71", "User-Agent": "vellum-ai/0.14.71", "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),
312
312
  contentType: "application/json",
313
313
  requestType: "json",
314
314
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -93,7 +93,7 @@ class WorkflowDeployments {
93
93
  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)
94
94
  .default, "v1/workflow-deployments"),
95
95
  method: "GET",
96
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.69", "User-Agent": "vellum-ai/0.14.69", "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),
96
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.71", "User-Agent": "vellum-ai/0.14.71", "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
97
  contentType: "application/json",
98
98
  queryParameters: _queryParams,
99
99
  requestType: "json",
@@ -155,7 +155,7 @@ class WorkflowDeployments {
155
155
  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)
156
156
  .default, `v1/workflow-deployments/${encodeURIComponent(id)}`),
157
157
  method: "GET",
158
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.69", "User-Agent": "vellum-ai/0.14.69", "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),
158
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.71", "User-Agent": "vellum-ai/0.14.71", "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
159
  contentType: "application/json",
160
160
  requestType: "json",
161
161
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -226,7 +226,7 @@ class WorkflowDeployments {
226
226
  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)
227
227
  .default, `v1/workflow-deployments/${encodeURIComponent(id)}/execution-events`),
228
228
  method: "GET",
229
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.69", "User-Agent": "vellum-ai/0.14.69", "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),
229
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.71", "User-Agent": "vellum-ai/0.14.71", "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),
230
230
  contentType: "application/json",
231
231
  queryParameters: _queryParams,
232
232
  requestType: "json",
@@ -287,7 +287,7 @@ class WorkflowDeployments {
287
287
  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)
288
288
  .default, `v1/workflow-deployments/${encodeURIComponent(id)}/execution-events/${encodeURIComponent(executionId)}`),
289
289
  method: "GET",
290
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.69", "User-Agent": "vellum-ai/0.14.69", "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),
290
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.71", "User-Agent": "vellum-ai/0.14.71", "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),
291
291
  contentType: "application/json",
292
292
  requestType: "json",
293
293
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -350,7 +350,7 @@ class WorkflowDeployments {
350
350
  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)
351
351
  .default, `v1/workflow-deployments/${encodeURIComponent(id)}/history/${encodeURIComponent(historyIdOrReleaseTag)}`),
352
352
  method: "GET",
353
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.69", "User-Agent": "vellum-ai/0.14.69", "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),
353
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.71", "User-Agent": "vellum-ai/0.14.71", "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),
354
354
  contentType: "application/json",
355
355
  requestType: "json",
356
356
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -428,7 +428,7 @@ class WorkflowDeployments {
428
428
  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)
429
429
  .default, `v1/workflow-deployments/${encodeURIComponent(id)}/release-tags`),
430
430
  method: "GET",
431
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.69", "User-Agent": "vellum-ai/0.14.69", "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),
431
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.71", "User-Agent": "vellum-ai/0.14.71", "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),
432
432
  contentType: "application/json",
433
433
  queryParameters: _queryParams,
434
434
  requestType: "json",
@@ -491,7 +491,7 @@ class WorkflowDeployments {
491
491
  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)
492
492
  .default, `v1/workflow-deployments/${encodeURIComponent(id)}/release-tags/${encodeURIComponent(name)}`),
493
493
  method: "GET",
494
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.69", "User-Agent": "vellum-ai/0.14.69", "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),
494
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.71", "User-Agent": "vellum-ai/0.14.71", "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),
495
495
  contentType: "application/json",
496
496
  requestType: "json",
497
497
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -554,7 +554,7 @@ class WorkflowDeployments {
554
554
  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)
555
555
  .default, `v1/workflow-deployments/${encodeURIComponent(id)}/release-tags/${encodeURIComponent(name)}`),
556
556
  method: "PATCH",
557
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.69", "User-Agent": "vellum-ai/0.14.69", "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),
557
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.71", "User-Agent": "vellum-ai/0.14.71", "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),
558
558
  contentType: "application/json",
559
559
  requestType: "json",
560
560
  body: serializers.PatchedWorkflowReleaseTagUpdateRequest.jsonOrThrow(request, {
@@ -77,7 +77,7 @@ class WorkflowSandboxes {
77
77
  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)
78
78
  .default, `v1/workflow-sandboxes/${encodeURIComponent(id)}/workflows/${encodeURIComponent(workflowId)}/deploy`),
79
79
  method: "POST",
80
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.69", "User-Agent": "vellum-ai/0.14.69", "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),
80
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.71", "User-Agent": "vellum-ai/0.14.71", "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),
81
81
  contentType: "application/json",
82
82
  requestType: "json",
83
83
  body: serializers.DeploySandboxWorkflowRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -155,7 +155,7 @@ class WorkflowSandboxes {
155
155
  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)
156
156
  .default, "v1/workflow-sandboxes/examples"),
157
157
  method: "GET",
158
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.69", "User-Agent": "vellum-ai/0.14.69", "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),
158
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.71", "User-Agent": "vellum-ai/0.14.71", "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
159
  contentType: "application/json",
160
160
  queryParameters: _queryParams,
161
161
  requestType: "json",
@@ -87,7 +87,7 @@ class Workflows {
87
87
  url: (0, url_join_1.default)((_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : ((_f = (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.VellumEnvironment.Production)
88
88
  .default, `v1/workflows/${encodeURIComponent(id)}/pull`),
89
89
  method: "GET",
90
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.69", "User-Agent": "vellum-ai/0.14.69", "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),
90
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.71", "User-Agent": "vellum-ai/0.14.71", "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
91
  contentType: "application/json",
92
92
  queryParameters: _queryParams,
93
93
  requestType: "json",
@@ -168,7 +168,7 @@ class Workflows {
168
168
  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)
169
169
  .default, "v1/workflows/push"),
170
170
  method: "POST",
171
- headers: Object.assign(Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.69", "User-Agent": "vellum-ai/0.14.69", "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),
171
+ headers: Object.assign(Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.71", "User-Agent": "vellum-ai/0.14.71", "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),
172
172
  requestType: "file",
173
173
  duplex: _maybeEncodedRequest.duplex,
174
174
  body: _maybeEncodedRequest.body,
@@ -77,7 +77,7 @@ class WorkspaceSecrets {
77
77
  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)
78
78
  .default, `v1/workspace-secrets/${encodeURIComponent(id)}`),
79
79
  method: "GET",
80
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.69", "User-Agent": "vellum-ai/0.14.69", "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),
80
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.71", "User-Agent": "vellum-ai/0.14.71", "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),
81
81
  contentType: "application/json",
82
82
  requestType: "json",
83
83
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -139,7 +139,7 @@ class WorkspaceSecrets {
139
139
  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)
140
140
  .default, `v1/workspace-secrets/${encodeURIComponent(id)}`),
141
141
  method: "PATCH",
142
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.69", "User-Agent": "vellum-ai/0.14.69", "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),
142
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.71", "User-Agent": "vellum-ai/0.14.71", "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),
143
143
  contentType: "application/json",
144
144
  requestType: "json",
145
145
  body: serializers.PatchedWorkspaceSecretUpdateRequest.jsonOrThrow(request, {
@@ -76,7 +76,7 @@ class Workspaces {
76
76
  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)
77
77
  .default, "v1/workspaces/identity"),
78
78
  method: "GET",
79
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.69", "User-Agent": "vellum-ai/0.14.69", "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),
79
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.71", "User-Agent": "vellum-ai/0.14.71", "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),
80
80
  contentType: "application/json",
81
81
  requestType: "json",
82
82
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -3,7 +3,7 @@
3
3
  */
4
4
  import * as Vellum from "../index";
5
5
  export interface ContainerImageRead {
6
- id: string;
6
+ id?: string;
7
7
  name: string;
8
8
  visibility: Vellum.EntityVisibility;
9
9
  created: Date;
@@ -3,8 +3,8 @@
3
3
  */
4
4
  import * as Vellum from "../index";
5
5
  export interface DeploymentRead {
6
- id: string;
7
- created: Date;
6
+ id?: string;
7
+ created?: Date;
8
8
  /** A human-readable label for the deployment */
9
9
  label: string;
10
10
  /** A name that uniquely identifies this deployment within its workspace */
@@ -7,11 +7,11 @@ import * as Vellum from "../index";
7
7
  */
8
8
  export interface DocumentDocumentToDocumentIndex {
9
9
  /** Vellum-generated ID that uniquely identifies this link. */
10
- id: string;
10
+ id?: string;
11
11
  /** Vellum-generated ID that uniquely identifies the environment index this document is included in. */
12
- environmentDocumentIndexId: string;
12
+ environmentDocumentIndexId?: string;
13
13
  /** Vellum-generated ID that uniquely identifies the index this document is included in. */
14
- documentIndexId: string;
14
+ documentIndexId?: string;
15
15
  /**
16
16
  * An enum value representing where this document is along its indexing lifecycle for this index.
17
17
  *
@@ -3,8 +3,8 @@
3
3
  */
4
4
  import * as Vellum from "../index";
5
5
  export interface DocumentIndexRead {
6
- id: string;
7
- created: Date;
6
+ id?: string;
7
+ created?: Date;
8
8
  /** A human-readable label for the document index */
9
9
  label: string;
10
10
  /** A name that uniquely identifies this index within its workspace */
@@ -3,7 +3,7 @@
3
3
  */
4
4
  import * as Vellum from "../index";
5
5
  export interface DocumentRead {
6
- id: string;
6
+ id?: string;
7
7
  /** The unique id of this document as it exists in the user's system. */
8
8
  externalId?: string | null;
9
9
  lastUploadedAt: Date;
@@ -9,6 +9,6 @@ export interface MetricDefinitionHistoryItem {
9
9
  /** A name that uniquely identifies this metric within its workspace */
10
10
  name: string;
11
11
  description: string;
12
- inputVariables: Vellum.VellumVariable[];
13
- outputVariables: Vellum.VellumVariable[];
12
+ inputVariables?: Vellum.VellumVariable[];
13
+ outputVariables?: Vellum.VellumVariable[];
14
14
  }
@@ -5,7 +5,7 @@
5
5
  * An ML Model that your Workspace has access to.
6
6
  */
7
7
  export interface MlModelRead {
8
- id: string;
8
+ id?: string;
9
9
  /** The unique name of the ML Model. */
10
10
  name: string;
11
11
  }
@@ -3,7 +3,7 @@
3
3
  */
4
4
  import * as Vellum from "../index";
5
5
  export interface OrganizationRead {
6
- id: string;
6
+ id?: string;
7
7
  name: string;
8
8
  allowStaffAccess?: boolean;
9
9
  newMemberJoinBehavior: Vellum.NewMemberJoinBehaviorEnum;
@@ -3,8 +3,8 @@
3
3
  */
4
4
  import * as Vellum from "../index";
5
5
  export interface PromptDeploymentRelease {
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
  promptVersion: Vellum.PromptDeploymentReleasePromptVersion;
@@ -2,5 +2,5 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  export interface PromptDeploymentReleasePromptDeployment {
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 PromptDeploymentReleasePromptVersion {
6
- id: string;
6
+ id?: string;
7
7
  /** Configuration used to build this prompt version. */
8
- buildConfig: Vellum.ComponentsSchemasPromptVersionBuildConfigSandbox;
8
+ buildConfig?: Vellum.ComponentsSchemasPromptVersionBuildConfigSandbox;
9
9
  }
@@ -2,7 +2,7 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  export interface ReleaseCreatedBy {
5
- id: string;
5
+ id?: string;
6
6
  fullName?: string;
7
7
  email: string;
8
8
  }
@@ -2,7 +2,7 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  export interface ReleaseEnvironment {
5
- id: string;
5
+ id?: string;
6
6
  name: string;
7
7
  label: string;
8
8
  }
@@ -2,6 +2,6 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  export interface ReleaseReviewReviewer {
5
- id: string;
5
+ id?: string;
6
6
  fullName?: string;
7
7
  }
@@ -3,8 +3,8 @@
3
3
  */
4
4
  import * as Vellum from "../index";
5
5
  export interface SlimDeploymentRead {
6
- id: string;
7
- created: Date;
6
+ id?: string;
7
+ created?: Date;
8
8
  /** A human-readable label for the deployment */
9
9
  label: string;
10
10
  /** A name that uniquely identifies this deployment within its workspace */
@@ -4,7 +4,7 @@
4
4
  import * as Vellum from "../index";
5
5
  export interface SlimDocument {
6
6
  /** Vellum-generated ID that uniquely identifies this document. */
7
- id: string;
7
+ id?: string;
8
8
  /** The external ID that was originally provided when uploading the document. */
9
9
  externalId?: string | null;
10
10
  /** A timestamp representing when this document was most recently uploaded. */
@@ -7,11 +7,11 @@ import * as Vellum from "../index";
7
7
  */
8
8
  export interface SlimDocumentDocumentToDocumentIndex {
9
9
  /** Vellum-generated ID that uniquely identifies this link. */
10
- id: string;
10
+ id?: string;
11
11
  /** Vellum-generated ID that uniquely identifies the environment index this document is included in. */
12
- environmentDocumentIndexId: string;
12
+ environmentDocumentIndexId?: string;
13
13
  /** Vellum-generated ID that uniquely identifies the index this document is included in. */
14
- documentIndexId: string;
14
+ documentIndexId?: string;
15
15
  /**
16
16
  * An enum value representing where this document is along its indexing lifecycle for this index.
17
17
  *
@@ -3,8 +3,8 @@
3
3
  */
4
4
  import * as Vellum from "../index";
5
5
  export interface SlimReleaseReview {
6
- id: string;
7
- created: Date;
6
+ id?: string;
7
+ created?: Date;
8
8
  reviewer: Vellum.ReleaseReviewReviewer;
9
9
  state: Vellum.ReleaseReviewState;
10
10
  }
@@ -3,7 +3,7 @@
3
3
  */
4
4
  import * as Vellum from "../index";
5
5
  export interface SlimWorkflowDeployment {
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 SlimWorkflowDeployment {
23
23
  * * `PRODUCTION` - Production
24
24
  */
25
25
  environment?: Vellum.EnvironmentEnum;
26
- created: Date;
26
+ created?: Date;
27
27
  lastDeployedOn: Date;
28
28
  /** The input variables this Workflow Deployment expects to receive values for when it is executed. */
29
29
  inputVariables: Vellum.VellumVariable[];
@@ -7,7 +7,7 @@ import * as Vellum from "../index";
7
7
  */
8
8
  export interface TestCaseArrayVariableValue {
9
9
  variableId: string;
10
- name: string;
10
+ name?: string;
11
11
  type: "ARRAY";
12
12
  value?: Vellum.VellumValue[] | null;
13
13
  }
@@ -7,7 +7,7 @@ import * as Vellum from "../index";
7
7
  */
8
8
  export interface TestCaseChatHistoryVariableValue {
9
9
  variableId: string;
10
- name: string;
10
+ name?: string;
11
11
  type: "CHAT_HISTORY";
12
12
  value?: Vellum.ChatMessage[] | null;
13
13
  }
@@ -7,7 +7,7 @@ import * as Vellum from "../index";
7
7
  */
8
8
  export interface TestCaseErrorVariableValue {
9
9
  variableId: string;
10
- name: string;
10
+ name?: string;
11
11
  type: "ERROR";
12
12
  value?: Vellum.VellumError | null;
13
13
  }
@@ -7,7 +7,7 @@ import * as Vellum from "../index";
7
7
  */
8
8
  export interface TestCaseFunctionCallVariableValue {
9
9
  variableId: string;
10
- name: string;
10
+ name?: string;
11
11
  type: "FUNCTION_CALL";
12
12
  value?: Vellum.FunctionCall | null;
13
13
  }
@@ -6,7 +6,7 @@
6
6
  */
7
7
  export interface TestCaseJsonVariableValue {
8
8
  variableId: string;
9
- name: string;
9
+ name?: string;
10
10
  type: "JSON";
11
11
  value?: unknown;
12
12
  }
@@ -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;