vellum-ai 0.14.37 → 0.14.39

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 (133) hide show
  1. package/Client.js +11 -11
  2. package/api/resources/adHoc/client/Client.js +1 -1
  3. package/api/resources/containerImages/client/Client.js +4 -4
  4. package/api/resources/deployments/client/Client.js +7 -7
  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 +1 -1
  12. package/api/resources/releaseReviews/client/Client.js +2 -2
  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/AdHocFulfilledPromptExecutionMeta.d.ts +1 -0
  22. package/api/types/FulfilledPromptExecutionMeta.d.ts +1 -0
  23. package/api/types/TestSuiteRunExecConfigRequest.d.ts +1 -1
  24. package/api/types/TestSuiteRunProgress.d.ts +7 -0
  25. package/api/types/TestSuiteRunProgress.js +5 -0
  26. package/api/types/TestSuiteRunPromptSandboxExecConfigDataRequest.d.ts +9 -0
  27. package/api/types/TestSuiteRunPromptSandboxExecConfigDataRequest.js +5 -0
  28. package/api/types/TestSuiteRunPromptSandboxExecConfigRequest.d.ts +13 -0
  29. package/api/types/TestSuiteRunPromptSandboxExecConfigRequest.js +5 -0
  30. package/api/types/TestSuiteRunRead.d.ts +1 -0
  31. package/api/types/TestSuiteRunWorkflowSandboxExecConfigDataRequest.d.ts +7 -0
  32. package/api/types/TestSuiteRunWorkflowSandboxExecConfigDataRequest.js +5 -0
  33. package/api/types/TestSuiteRunWorkflowSandboxExecConfigRequest.d.ts +13 -0
  34. package/api/types/TestSuiteRunWorkflowSandboxExecConfigRequest.js +5 -0
  35. package/api/types/VellumSdkErrorCodeEnum.d.ts +3 -1
  36. package/api/types/VellumSdkErrorCodeEnum.js +1 -0
  37. package/api/types/WorkflowExecutionEventErrorCode.d.ts +3 -1
  38. package/api/types/WorkflowExecutionEventErrorCode.js +1 -0
  39. package/api/types/index.d.ts +5 -0
  40. package/api/types/index.js +5 -0
  41. package/dist/Client.js +11 -11
  42. package/dist/api/resources/adHoc/client/Client.js +1 -1
  43. package/dist/api/resources/containerImages/client/Client.js +4 -4
  44. package/dist/api/resources/deployments/client/Client.js +7 -7
  45. package/dist/api/resources/documentIndexes/client/Client.js +8 -8
  46. package/dist/api/resources/documents/client/Client.js +5 -5
  47. package/dist/api/resources/folderEntities/client/Client.js +2 -2
  48. package/dist/api/resources/metricDefinitions/client/Client.js +2 -2
  49. package/dist/api/resources/mlModels/client/Client.js +1 -1
  50. package/dist/api/resources/organizations/client/Client.js +1 -1
  51. package/dist/api/resources/prompts/client/Client.js +1 -1
  52. package/dist/api/resources/releaseReviews/client/Client.js +2 -2
  53. package/dist/api/resources/sandboxes/client/Client.js +3 -3
  54. package/dist/api/resources/testSuiteRuns/client/Client.js +3 -3
  55. package/dist/api/resources/testSuites/client/Client.js +4 -4
  56. package/dist/api/resources/workflowDeployments/client/Client.js +8 -8
  57. package/dist/api/resources/workflowSandboxes/client/Client.js +2 -2
  58. package/dist/api/resources/workflows/client/Client.js +2 -2
  59. package/dist/api/resources/workspaceSecrets/client/Client.js +2 -2
  60. package/dist/api/resources/workspaces/client/Client.js +1 -1
  61. package/dist/api/types/AdHocFulfilledPromptExecutionMeta.d.ts +1 -0
  62. package/dist/api/types/FulfilledPromptExecutionMeta.d.ts +1 -0
  63. package/dist/api/types/TestSuiteRunExecConfigRequest.d.ts +1 -1
  64. package/dist/api/types/TestSuiteRunProgress.d.ts +7 -0
  65. package/dist/api/types/TestSuiteRunProgress.js +5 -0
  66. package/dist/api/types/TestSuiteRunPromptSandboxExecConfigDataRequest.d.ts +9 -0
  67. package/dist/api/types/TestSuiteRunPromptSandboxExecConfigDataRequest.js +5 -0
  68. package/dist/api/types/TestSuiteRunPromptSandboxExecConfigRequest.d.ts +13 -0
  69. package/dist/api/types/TestSuiteRunPromptSandboxExecConfigRequest.js +5 -0
  70. package/dist/api/types/TestSuiteRunRead.d.ts +1 -0
  71. package/dist/api/types/TestSuiteRunWorkflowSandboxExecConfigDataRequest.d.ts +7 -0
  72. package/dist/api/types/TestSuiteRunWorkflowSandboxExecConfigDataRequest.js +5 -0
  73. package/dist/api/types/TestSuiteRunWorkflowSandboxExecConfigRequest.d.ts +13 -0
  74. package/dist/api/types/TestSuiteRunWorkflowSandboxExecConfigRequest.js +5 -0
  75. package/dist/api/types/VellumSdkErrorCodeEnum.d.ts +3 -1
  76. package/dist/api/types/VellumSdkErrorCodeEnum.js +1 -0
  77. package/dist/api/types/WorkflowExecutionEventErrorCode.d.ts +3 -1
  78. package/dist/api/types/WorkflowExecutionEventErrorCode.js +1 -0
  79. package/dist/api/types/index.d.ts +5 -0
  80. package/dist/api/types/index.js +5 -0
  81. package/dist/serialization/types/AdHocFulfilledPromptExecutionMeta.d.ts +2 -0
  82. package/dist/serialization/types/AdHocFulfilledPromptExecutionMeta.js +2 -0
  83. package/dist/serialization/types/FulfilledPromptExecutionMeta.d.ts +2 -0
  84. package/dist/serialization/types/FulfilledPromptExecutionMeta.js +2 -0
  85. package/dist/serialization/types/TestSuiteRunExecConfigRequest.d.ts +3 -1
  86. package/dist/serialization/types/TestSuiteRunExecConfigRequest.js +4 -0
  87. package/dist/serialization/types/TestSuiteRunProgress.d.ts +13 -0
  88. package/dist/serialization/types/TestSuiteRunProgress.js +44 -0
  89. package/dist/serialization/types/TestSuiteRunPromptSandboxExecConfigDataRequest.d.ts +13 -0
  90. package/dist/serialization/types/TestSuiteRunPromptSandboxExecConfigDataRequest.js +44 -0
  91. package/dist/serialization/types/TestSuiteRunPromptSandboxExecConfigRequest.d.ts +15 -0
  92. package/dist/serialization/types/TestSuiteRunPromptSandboxExecConfigRequest.js +46 -0
  93. package/dist/serialization/types/TestSuiteRunRead.d.ts +2 -0
  94. package/dist/serialization/types/TestSuiteRunRead.js +2 -0
  95. package/dist/serialization/types/TestSuiteRunWorkflowSandboxExecConfigDataRequest.d.ts +12 -0
  96. package/dist/serialization/types/TestSuiteRunWorkflowSandboxExecConfigDataRequest.js +43 -0
  97. package/dist/serialization/types/TestSuiteRunWorkflowSandboxExecConfigRequest.d.ts +15 -0
  98. package/dist/serialization/types/TestSuiteRunWorkflowSandboxExecConfigRequest.js +46 -0
  99. package/dist/serialization/types/VellumSdkErrorCodeEnum.d.ts +1 -1
  100. package/dist/serialization/types/VellumSdkErrorCodeEnum.js +1 -0
  101. package/dist/serialization/types/WorkflowExecutionEventErrorCode.d.ts +1 -1
  102. package/dist/serialization/types/WorkflowExecutionEventErrorCode.js +1 -0
  103. package/dist/serialization/types/index.d.ts +5 -0
  104. package/dist/serialization/types/index.js +5 -0
  105. package/dist/version.d.ts +1 -1
  106. package/dist/version.js +1 -1
  107. package/package.json +1 -1
  108. package/serialization/types/AdHocFulfilledPromptExecutionMeta.d.ts +2 -0
  109. package/serialization/types/AdHocFulfilledPromptExecutionMeta.js +2 -0
  110. package/serialization/types/FulfilledPromptExecutionMeta.d.ts +2 -0
  111. package/serialization/types/FulfilledPromptExecutionMeta.js +2 -0
  112. package/serialization/types/TestSuiteRunExecConfigRequest.d.ts +3 -1
  113. package/serialization/types/TestSuiteRunExecConfigRequest.js +4 -0
  114. package/serialization/types/TestSuiteRunProgress.d.ts +13 -0
  115. package/serialization/types/TestSuiteRunProgress.js +44 -0
  116. package/serialization/types/TestSuiteRunPromptSandboxExecConfigDataRequest.d.ts +13 -0
  117. package/serialization/types/TestSuiteRunPromptSandboxExecConfigDataRequest.js +44 -0
  118. package/serialization/types/TestSuiteRunPromptSandboxExecConfigRequest.d.ts +15 -0
  119. package/serialization/types/TestSuiteRunPromptSandboxExecConfigRequest.js +46 -0
  120. package/serialization/types/TestSuiteRunRead.d.ts +2 -0
  121. package/serialization/types/TestSuiteRunRead.js +2 -0
  122. package/serialization/types/TestSuiteRunWorkflowSandboxExecConfigDataRequest.d.ts +12 -0
  123. package/serialization/types/TestSuiteRunWorkflowSandboxExecConfigDataRequest.js +43 -0
  124. package/serialization/types/TestSuiteRunWorkflowSandboxExecConfigRequest.d.ts +15 -0
  125. package/serialization/types/TestSuiteRunWorkflowSandboxExecConfigRequest.js +46 -0
  126. package/serialization/types/VellumSdkErrorCodeEnum.d.ts +1 -1
  127. package/serialization/types/VellumSdkErrorCodeEnum.js +1 -0
  128. package/serialization/types/WorkflowExecutionEventErrorCode.d.ts +1 -1
  129. package/serialization/types/WorkflowExecutionEventErrorCode.js +1 -0
  130. package/serialization/types/index.d.ts +5 -0
  131. package/serialization/types/index.js +5 -0
  132. package/version.d.ts +1 -1
  133. package/version.js +1 -1
@@ -83,7 +83,7 @@ class TestSuites {
83
83
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
84
84
  .default, `v1/test-suites/${encodeURIComponent(id)}/test-cases`),
85
85
  method: "GET",
86
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.37", "User-Agent": "vellum-ai/0.14.37", "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),
86
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.39", "User-Agent": "vellum-ai/0.14.39", "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),
87
87
  contentType: "application/json",
88
88
  queryParameters: _queryParams,
89
89
  requestType: "json",
@@ -164,7 +164,7 @@ class TestSuites {
164
164
  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)
165
165
  .default, `v1/test-suites/${encodeURIComponent(id)}/test-cases`),
166
166
  method: "POST",
167
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.37", "User-Agent": "vellum-ai/0.14.37", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
167
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.39", "User-Agent": "vellum-ai/0.14.39", "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),
168
168
  contentType: "application/json",
169
169
  requestType: "json",
170
170
  body: serializers.UpsertTestSuiteTestCaseRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -211,7 +211,7 @@ class TestSuites {
211
211
  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)
212
212
  .default, `v1/test-suites/${encodeURIComponent(id)}/test-cases-bulk`),
213
213
  method: "POST",
214
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.37", "User-Agent": "vellum-ai/0.14.37", "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),
214
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.39", "User-Agent": "vellum-ai/0.14.39", "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),
215
215
  contentType: "application/x-ndjson",
216
216
  requestType: "json",
217
217
  body: serializers.testSuites.testSuiteTestCasesBulk.Request.jsonOrThrow(request, {
@@ -278,7 +278,7 @@ class TestSuites {
278
278
  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)
279
279
  .default, `v1/test-suites/${encodeURIComponent(id)}/test-cases/${encodeURIComponent(testCaseId)}`),
280
280
  method: "DELETE",
281
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.37", "User-Agent": "vellum-ai/0.14.37", "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),
281
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.39", "User-Agent": "vellum-ai/0.14.39", "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),
282
282
  contentType: "application/json",
283
283
  requestType: "json",
284
284
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -90,7 +90,7 @@ class WorkflowDeployments {
90
90
  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)
91
91
  .default, "v1/workflow-deployments"),
92
92
  method: "GET",
93
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.37", "User-Agent": "vellum-ai/0.14.37", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
93
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.39", "User-Agent": "vellum-ai/0.14.39", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
94
94
  contentType: "application/json",
95
95
  queryParameters: _queryParams,
96
96
  requestType: "json",
@@ -143,7 +143,7 @@ class WorkflowDeployments {
143
143
  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)
144
144
  .default, `v1/workflow-deployments/${encodeURIComponent(id)}`),
145
145
  method: "GET",
146
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.37", "User-Agent": "vellum-ai/0.14.37", "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),
146
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.39", "User-Agent": "vellum-ai/0.14.39", "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),
147
147
  contentType: "application/json",
148
148
  requestType: "json",
149
149
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -205,7 +205,7 @@ class WorkflowDeployments {
205
205
  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)
206
206
  .default, `v1/workflow-deployments/${encodeURIComponent(id)}/execution-events`),
207
207
  method: "GET",
208
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.37", "User-Agent": "vellum-ai/0.14.37", "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),
208
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.39", "User-Agent": "vellum-ai/0.14.39", "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),
209
209
  contentType: "application/json",
210
210
  queryParameters: _queryParams,
211
211
  requestType: "json",
@@ -257,7 +257,7 @@ class WorkflowDeployments {
257
257
  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)
258
258
  .default, `v1/workflow-deployments/${encodeURIComponent(id)}/execution-events/${encodeURIComponent(executionId)}`),
259
259
  method: "GET",
260
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.37", "User-Agent": "vellum-ai/0.14.37", "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),
260
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.39", "User-Agent": "vellum-ai/0.14.39", "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),
261
261
  contentType: "application/json",
262
262
  requestType: "json",
263
263
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -310,7 +310,7 @@ class WorkflowDeployments {
310
310
  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)
311
311
  .default, `v1/workflow-deployments/${encodeURIComponent(id)}/history/${encodeURIComponent(historyIdOrReleaseTag)}`),
312
312
  method: "GET",
313
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.37", "User-Agent": "vellum-ai/0.14.37", "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),
313
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.39", "User-Agent": "vellum-ai/0.14.39", "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),
314
314
  contentType: "application/json",
315
315
  requestType: "json",
316
316
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -379,7 +379,7 @@ class WorkflowDeployments {
379
379
  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)
380
380
  .default, `v1/workflow-deployments/${encodeURIComponent(id)}/release-tags`),
381
381
  method: "GET",
382
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.37", "User-Agent": "vellum-ai/0.14.37", "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),
382
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.39", "User-Agent": "vellum-ai/0.14.39", "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),
383
383
  contentType: "application/json",
384
384
  queryParameters: _queryParams,
385
385
  requestType: "json",
@@ -433,7 +433,7 @@ class WorkflowDeployments {
433
433
  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)
434
434
  .default, `v1/workflow-deployments/${encodeURIComponent(id)}/release-tags/${encodeURIComponent(name)}`),
435
435
  method: "GET",
436
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.37", "User-Agent": "vellum-ai/0.14.37", "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),
436
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.39", "User-Agent": "vellum-ai/0.14.39", "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),
437
437
  contentType: "application/json",
438
438
  requestType: "json",
439
439
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -487,7 +487,7 @@ class WorkflowDeployments {
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
  .default, `v1/workflow-deployments/${encodeURIComponent(id)}/release-tags/${encodeURIComponent(name)}`),
489
489
  method: "PATCH",
490
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.37", "User-Agent": "vellum-ai/0.14.37", "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.39", "User-Agent": "vellum-ai/0.14.39", "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.PatchedWorkflowReleaseTagUpdateRequest.jsonOrThrow(request, {
@@ -74,7 +74,7 @@ class WorkflowSandboxes {
74
74
  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)
75
75
  .default, `v1/workflow-sandboxes/${encodeURIComponent(id)}/workflows/${encodeURIComponent(workflowId)}/deploy`),
76
76
  method: "POST",
77
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.37", "User-Agent": "vellum-ai/0.14.37", "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),
77
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.39", "User-Agent": "vellum-ai/0.14.39", "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),
78
78
  contentType: "application/json",
79
79
  requestType: "json",
80
80
  body: serializers.DeploySandboxWorkflowRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -143,7 +143,7 @@ class WorkflowSandboxes {
143
143
  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)
144
144
  .default, "v1/workflow-sandboxes/examples"),
145
145
  method: "GET",
146
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.37", "User-Agent": "vellum-ai/0.14.37", "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),
146
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.39", "User-Agent": "vellum-ai/0.14.39", "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),
147
147
  contentType: "application/json",
148
148
  queryParameters: _queryParams,
149
149
  requestType: "json",
@@ -84,7 +84,7 @@ class Workflows {
84
84
  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)
85
85
  .default, `v1/workflows/${encodeURIComponent(id)}/pull`),
86
86
  method: "GET",
87
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.37", "User-Agent": "vellum-ai/0.14.37", "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),
87
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.39", "User-Agent": "vellum-ai/0.14.39", "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),
88
88
  contentType: "application/json",
89
89
  queryParameters: _queryParams,
90
90
  requestType: "json",
@@ -159,7 +159,7 @@ class Workflows {
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
  .default, "v1/workflows/push"),
161
161
  method: "POST",
162
- headers: Object.assign(Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.37", "User-Agent": "vellum-ai/0.14.37", "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),
162
+ headers: Object.assign(Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.39", "User-Agent": "vellum-ai/0.14.39", "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),
163
163
  requestType: "file",
164
164
  duplex: _maybeEncodedRequest.duplex,
165
165
  body: _maybeEncodedRequest.body,
@@ -74,7 +74,7 @@ class WorkspaceSecrets {
74
74
  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)
75
75
  .default, `v1/workspace-secrets/${encodeURIComponent(id)}`),
76
76
  method: "GET",
77
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.37", "User-Agent": "vellum-ai/0.14.37", "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),
77
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.39", "User-Agent": "vellum-ai/0.14.39", "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),
78
78
  contentType: "application/json",
79
79
  requestType: "json",
80
80
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -127,7 +127,7 @@ class WorkspaceSecrets {
127
127
  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)
128
128
  .default, `v1/workspace-secrets/${encodeURIComponent(id)}`),
129
129
  method: "PATCH",
130
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.37", "User-Agent": "vellum-ai/0.14.37", "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),
130
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.39", "User-Agent": "vellum-ai/0.14.39", "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),
131
131
  contentType: "application/json",
132
132
  requestType: "json",
133
133
  body: serializers.PatchedWorkspaceSecretUpdateRequest.jsonOrThrow(request, {
@@ -73,7 +73,7 @@ class Workspaces {
73
73
  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)
74
74
  .default, "v1/workspaces/identity"),
75
75
  method: "GET",
76
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.37", "User-Agent": "vellum-ai/0.14.37", "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),
76
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.39", "User-Agent": "vellum-ai/0.14.39", "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),
77
77
  contentType: "application/json",
78
78
  requestType: "json",
79
79
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -9,4 +9,5 @@ export interface AdHocFulfilledPromptExecutionMeta {
9
9
  latency?: number;
10
10
  finishReason?: Vellum.FinishReasonEnum;
11
11
  usage?: Vellum.MlModelUsage;
12
+ cost?: Vellum.Price;
12
13
  }
@@ -9,4 +9,5 @@ export interface FulfilledPromptExecutionMeta {
9
9
  latency?: number;
10
10
  finishReason?: Vellum.FinishReasonEnum;
11
11
  usage?: Vellum.MlModelUsage;
12
+ cost?: Vellum.Price;
12
13
  }
@@ -2,4 +2,4 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  import * as Vellum from "../index";
5
- export type TestSuiteRunExecConfigRequest = Vellum.TestSuiteRunDeploymentReleaseTagExecConfigRequest | Vellum.TestSuiteRunPromptSandboxHistoryItemExecConfigRequest | Vellum.TestSuiteRunWorkflowReleaseTagExecConfigRequest | Vellum.TestSuiteRunWorkflowSandboxHistoryItemExecConfigRequest | Vellum.TestSuiteRunExternalExecConfigRequest;
5
+ export type TestSuiteRunExecConfigRequest = Vellum.TestSuiteRunDeploymentReleaseTagExecConfigRequest | Vellum.TestSuiteRunPromptSandboxExecConfigRequest | Vellum.TestSuiteRunPromptSandboxHistoryItemExecConfigRequest | Vellum.TestSuiteRunWorkflowReleaseTagExecConfigRequest | Vellum.TestSuiteRunWorkflowSandboxExecConfigRequest | Vellum.TestSuiteRunWorkflowSandboxHistoryItemExecConfigRequest | Vellum.TestSuiteRunExternalExecConfigRequest;
@@ -0,0 +1,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface TestSuiteRunProgress {
5
+ numberOfRequestedTestCases: number;
6
+ numberOfCompletedTestCases: number;
7
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface TestSuiteRunPromptSandboxExecConfigDataRequest {
5
+ /** The ID of the Prompt Sandbox to run the Test Suite against. */
6
+ promptSandboxId: string;
7
+ /** The ID of the Prompt Variant within the Prompt Sandbox that you'd like to run the Test Suite against. */
8
+ promptVariantId: string;
9
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vellum from "../index";
5
+ /**
6
+ * Execution configuration for running a Test Suite against a Prompt Sandbox
7
+ */
8
+ export interface TestSuiteRunPromptSandboxExecConfigRequest {
9
+ type: "PROMPT_SANDBOX";
10
+ data: Vellum.TestSuiteRunPromptSandboxExecConfigDataRequest;
11
+ /** Optionally specify a subset of test case ids to run. If not provided, all test cases within the test suite will be run by default. */
12
+ testCaseIds?: string[];
13
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -18,4 +18,5 @@ export interface TestSuiteRunRead {
18
18
  state: Vellum.TestSuiteRunState;
19
19
  /** Configuration that defines how the Test Suite should be run */
20
20
  execConfig?: Vellum.TestSuiteRunExecConfig;
21
+ progress?: Vellum.TestSuiteRunProgress;
21
22
  }
@@ -0,0 +1,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface TestSuiteRunWorkflowSandboxExecConfigDataRequest {
5
+ /** The ID of the Workflow Sandbox to run the Test Suite against. */
6
+ workflowSandboxId: string;
7
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vellum from "../index";
5
+ /**
6
+ * Execution configuration for running a Test Suite against a Workflow Sandbox
7
+ */
8
+ export interface TestSuiteRunWorkflowSandboxExecConfigRequest {
9
+ type: "WORKFLOW_SANDBOX";
10
+ data: Vellum.TestSuiteRunWorkflowSandboxExecConfigDataRequest;
11
+ /** Optionally specify a subset of test case ids to run. If not provided, all test cases within the test suite will be run by default. */
12
+ testCaseIds?: string[];
13
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -9,12 +9,13 @@
9
9
  * * `INVALID_CODE` - INVALID_CODE
10
10
  * * `INVALID_TEMPLATE` - INVALID_TEMPLATE
11
11
  * * `INTERNAL_ERROR` - INTERNAL_ERROR
12
+ * * `PROVIDER_CREDENTIALS_UNAVAILABLE` - PROVIDER_CREDENTIALS_UNAVAILABLE
12
13
  * * `PROVIDER_ERROR` - PROVIDER_ERROR
13
14
  * * `USER_DEFINED_ERROR` - USER_DEFINED_ERROR
14
15
  * * `WORKFLOW_CANCELLED` - WORKFLOW_CANCELLED
15
16
  * * `NODE_EXECUTION` - NODE_EXECUTION
16
17
  */
17
- export type VellumSdkErrorCodeEnum = "INVALID_WORKFLOW" | "INVALID_INPUTS" | "INVALID_OUTPUTS" | "INVALID_STATE" | "INVALID_CODE" | "INVALID_TEMPLATE" | "INTERNAL_ERROR" | "PROVIDER_ERROR" | "USER_DEFINED_ERROR" | "WORKFLOW_CANCELLED" | "NODE_EXECUTION";
18
+ export type VellumSdkErrorCodeEnum = "INVALID_WORKFLOW" | "INVALID_INPUTS" | "INVALID_OUTPUTS" | "INVALID_STATE" | "INVALID_CODE" | "INVALID_TEMPLATE" | "INTERNAL_ERROR" | "PROVIDER_CREDENTIALS_UNAVAILABLE" | "PROVIDER_ERROR" | "USER_DEFINED_ERROR" | "WORKFLOW_CANCELLED" | "NODE_EXECUTION";
18
19
  export declare const VellumSdkErrorCodeEnum: {
19
20
  readonly InvalidWorkflow: "INVALID_WORKFLOW";
20
21
  readonly InvalidInputs: "INVALID_INPUTS";
@@ -23,6 +24,7 @@ export declare const VellumSdkErrorCodeEnum: {
23
24
  readonly InvalidCode: "INVALID_CODE";
24
25
  readonly InvalidTemplate: "INVALID_TEMPLATE";
25
26
  readonly InternalError: "INTERNAL_ERROR";
27
+ readonly ProviderCredentialsUnavailable: "PROVIDER_CREDENTIALS_UNAVAILABLE";
26
28
  readonly ProviderError: "PROVIDER_ERROR";
27
29
  readonly UserDefinedError: "USER_DEFINED_ERROR";
28
30
  readonly WorkflowCancelled: "WORKFLOW_CANCELLED";
@@ -12,6 +12,7 @@ exports.VellumSdkErrorCodeEnum = {
12
12
  InvalidCode: "INVALID_CODE",
13
13
  InvalidTemplate: "INVALID_TEMPLATE",
14
14
  InternalError: "INTERNAL_ERROR",
15
+ ProviderCredentialsUnavailable: "PROVIDER_CREDENTIALS_UNAVAILABLE",
15
16
  ProviderError: "PROVIDER_ERROR",
16
17
  UserDefinedError: "USER_DEFINED_ERROR",
17
18
  WorkflowCancelled: "WORKFLOW_CANCELLED",
@@ -4,6 +4,7 @@
4
4
  /**
5
5
  * * `WORKFLOW_INITIALIZATION` - WORKFLOW_INITIALIZATION
6
6
  * * `WORKFLOW_CANCELLED` - WORKFLOW_CANCELLED
7
+ * * `PROVIDER_CREDENTIALS_UNAVAILABLE` - PROVIDER_CREDENTIALS_UNAVAILABLE
7
8
  * * `NODE_EXECUTION_COUNT_LIMIT_REACHED` - NODE_EXECUTION_COUNT_LIMIT_REACHED
8
9
  * * `INTERNAL_SERVER_ERROR` - INTERNAL_SERVER_ERROR
9
10
  * * `NODE_EXECUTION` - NODE_EXECUTION
@@ -12,10 +13,11 @@
12
13
  * * `INVALID_INPUTS` - INVALID_INPUTS
13
14
  * * `USER_DEFINED_ERROR` - USER_DEFINED_ERROR
14
15
  */
15
- export type WorkflowExecutionEventErrorCode = "WORKFLOW_INITIALIZATION" | "WORKFLOW_CANCELLED" | "NODE_EXECUTION_COUNT_LIMIT_REACHED" | "INTERNAL_SERVER_ERROR" | "NODE_EXECUTION" | "LLM_PROVIDER" | "INVALID_TEMPLATE" | "INVALID_INPUTS" | "USER_DEFINED_ERROR";
16
+ export type WorkflowExecutionEventErrorCode = "WORKFLOW_INITIALIZATION" | "WORKFLOW_CANCELLED" | "PROVIDER_CREDENTIALS_UNAVAILABLE" | "NODE_EXECUTION_COUNT_LIMIT_REACHED" | "INTERNAL_SERVER_ERROR" | "NODE_EXECUTION" | "LLM_PROVIDER" | "INVALID_TEMPLATE" | "INVALID_INPUTS" | "USER_DEFINED_ERROR";
16
17
  export declare const WorkflowExecutionEventErrorCode: {
17
18
  readonly WorkflowInitialization: "WORKFLOW_INITIALIZATION";
18
19
  readonly WorkflowCancelled: "WORKFLOW_CANCELLED";
20
+ readonly ProviderCredentialsUnavailable: "PROVIDER_CREDENTIALS_UNAVAILABLE";
19
21
  readonly NodeExecutionCountLimitReached: "NODE_EXECUTION_COUNT_LIMIT_REACHED";
20
22
  readonly InternalServerError: "INTERNAL_SERVER_ERROR";
21
23
  readonly NodeExecution: "NODE_EXECUTION";
@@ -7,6 +7,7 @@ exports.WorkflowExecutionEventErrorCode = void 0;
7
7
  exports.WorkflowExecutionEventErrorCode = {
8
8
  WorkflowInitialization: "WORKFLOW_INITIALIZATION",
9
9
  WorkflowCancelled: "WORKFLOW_CANCELLED",
10
+ ProviderCredentialsUnavailable: "PROVIDER_CREDENTIALS_UNAVAILABLE",
10
11
  NodeExecutionCountLimitReached: "NODE_EXECUTION_COUNT_LIMIT_REACHED",
11
12
  InternalServerError: "INTERNAL_SERVER_ERROR",
12
13
  NodeExecution: "NODE_EXECUTION",
@@ -437,6 +437,9 @@ export * from "./TestSuiteRunMetricJsonOutput";
437
437
  export * from "./TestSuiteRunMetricNumberOutput";
438
438
  export * from "./TestSuiteRunMetricOutput";
439
439
  export * from "./TestSuiteRunMetricStringOutput";
440
+ export * from "./TestSuiteRunProgress";
441
+ export * from "./TestSuiteRunPromptSandboxExecConfigDataRequest";
442
+ export * from "./TestSuiteRunPromptSandboxExecConfigRequest";
440
443
  export * from "./TestSuiteRunPromptSandboxHistoryItemExecConfig";
441
444
  export * from "./TestSuiteRunPromptSandboxHistoryItemExecConfigData";
442
445
  export * from "./TestSuiteRunPromptSandboxHistoryItemExecConfigDataRequest";
@@ -448,6 +451,8 @@ export * from "./TestSuiteRunWorkflowReleaseTagExecConfig";
448
451
  export * from "./TestSuiteRunWorkflowReleaseTagExecConfigData";
449
452
  export * from "./TestSuiteRunWorkflowReleaseTagExecConfigDataRequest";
450
453
  export * from "./TestSuiteRunWorkflowReleaseTagExecConfigRequest";
454
+ export * from "./TestSuiteRunWorkflowSandboxExecConfigDataRequest";
455
+ export * from "./TestSuiteRunWorkflowSandboxExecConfigRequest";
451
456
  export * from "./TestSuiteRunWorkflowSandboxHistoryItemExecConfig";
452
457
  export * from "./TestSuiteRunWorkflowSandboxHistoryItemExecConfigData";
453
458
  export * from "./TestSuiteRunWorkflowSandboxHistoryItemExecConfigDataRequest";
@@ -453,6 +453,9 @@ __exportStar(require("./TestSuiteRunMetricJsonOutput"), exports);
453
453
  __exportStar(require("./TestSuiteRunMetricNumberOutput"), exports);
454
454
  __exportStar(require("./TestSuiteRunMetricOutput"), exports);
455
455
  __exportStar(require("./TestSuiteRunMetricStringOutput"), exports);
456
+ __exportStar(require("./TestSuiteRunProgress"), exports);
457
+ __exportStar(require("./TestSuiteRunPromptSandboxExecConfigDataRequest"), exports);
458
+ __exportStar(require("./TestSuiteRunPromptSandboxExecConfigRequest"), exports);
456
459
  __exportStar(require("./TestSuiteRunPromptSandboxHistoryItemExecConfig"), exports);
457
460
  __exportStar(require("./TestSuiteRunPromptSandboxHistoryItemExecConfigData"), exports);
458
461
  __exportStar(require("./TestSuiteRunPromptSandboxHistoryItemExecConfigDataRequest"), exports);
@@ -464,6 +467,8 @@ __exportStar(require("./TestSuiteRunWorkflowReleaseTagExecConfig"), exports);
464
467
  __exportStar(require("./TestSuiteRunWorkflowReleaseTagExecConfigData"), exports);
465
468
  __exportStar(require("./TestSuiteRunWorkflowReleaseTagExecConfigDataRequest"), exports);
466
469
  __exportStar(require("./TestSuiteRunWorkflowReleaseTagExecConfigRequest"), exports);
470
+ __exportStar(require("./TestSuiteRunWorkflowSandboxExecConfigDataRequest"), exports);
471
+ __exportStar(require("./TestSuiteRunWorkflowSandboxExecConfigRequest"), exports);
467
472
  __exportStar(require("./TestSuiteRunWorkflowSandboxHistoryItemExecConfig"), exports);
468
473
  __exportStar(require("./TestSuiteRunWorkflowSandboxHistoryItemExecConfigData"), exports);
469
474
  __exportStar(require("./TestSuiteRunWorkflowSandboxHistoryItemExecConfigDataRequest"), exports);
package/dist/Client.js CHANGED
@@ -170,7 +170,7 @@ class VellumClient {
170
170
  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)
171
171
  .default, "v1/execute-api"),
172
172
  method: "POST",
173
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.37", "User-Agent": "vellum-ai/0.14.37", "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),
173
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.39", "User-Agent": "vellum-ai/0.14.39", "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),
174
174
  contentType: "application/json",
175
175
  requestType: "json",
176
176
  body: serializers.ExecuteApiRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -236,7 +236,7 @@ class VellumClient {
236
236
  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)
237
237
  .predict, "v1/execute-code"),
238
238
  method: "POST",
239
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.37", "User-Agent": "vellum-ai/0.14.37", "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),
239
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.39", "User-Agent": "vellum-ai/0.14.39", "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),
240
240
  contentType: "application/json",
241
241
  requestType: "json",
242
242
  body: serializers.CodeExecutor.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -305,7 +305,7 @@ class VellumClient {
305
305
  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)
306
306
  .predict, "v1/execute-prompt"),
307
307
  method: "POST",
308
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.37", "User-Agent": "vellum-ai/0.14.37", "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),
308
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.39", "User-Agent": "vellum-ai/0.14.39", "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),
309
309
  contentType: "application/json",
310
310
  requestType: "json",
311
311
  body: serializers.ExecutePromptRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -363,7 +363,7 @@ class VellumClient {
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
  .predict, "v1/execute-prompt-stream"),
365
365
  method: "POST",
366
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.37", "User-Agent": "vellum-ai/0.14.37", "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),
366
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.39", "User-Agent": "vellum-ai/0.14.39", "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),
367
367
  contentType: "application/json",
368
368
  requestType: "json",
369
369
  body: serializers.ExecutePromptStreamRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -448,7 +448,7 @@ class VellumClient {
448
448
  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)
449
449
  .predict, "v1/execute-workflow"),
450
450
  method: "POST",
451
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.37", "User-Agent": "vellum-ai/0.14.37", "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),
451
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.39", "User-Agent": "vellum-ai/0.14.39", "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),
452
452
  contentType: "application/json",
453
453
  requestType: "json",
454
454
  body: serializers.ExecuteWorkflowRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -504,7 +504,7 @@ class VellumClient {
504
504
  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)
505
505
  .predict, "v1/execute-workflow-stream"),
506
506
  method: "POST",
507
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.37", "User-Agent": "vellum-ai/0.14.37", "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),
507
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.39", "User-Agent": "vellum-ai/0.14.39", "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),
508
508
  contentType: "application/json",
509
509
  requestType: "json",
510
510
  body: serializers.ExecuteWorkflowStreamRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -591,7 +591,7 @@ class VellumClient {
591
591
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
592
592
  .predict, "v1/generate"),
593
593
  method: "POST",
594
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.37", "User-Agent": "vellum-ai/0.14.37", "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),
594
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.39", "User-Agent": "vellum-ai/0.14.39", "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),
595
595
  contentType: "application/json",
596
596
  requestType: "json",
597
597
  body: serializers.GenerateBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -652,7 +652,7 @@ class VellumClient {
652
652
  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)
653
653
  .predict, "v1/generate-stream"),
654
654
  method: "POST",
655
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.37", "User-Agent": "vellum-ai/0.14.37", "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),
655
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.39", "User-Agent": "vellum-ai/0.14.39", "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),
656
656
  contentType: "application/json",
657
657
  requestType: "json",
658
658
  body: serializers.GenerateStreamBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -733,7 +733,7 @@ class VellumClient {
733
733
  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)
734
734
  .predict, "v1/search"),
735
735
  method: "POST",
736
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.37", "User-Agent": "vellum-ai/0.14.37", "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),
736
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.39", "User-Agent": "vellum-ai/0.14.39", "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),
737
737
  contentType: "application/json",
738
738
  requestType: "json",
739
739
  body: serializers.SearchRequestBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -801,7 +801,7 @@ class VellumClient {
801
801
  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)
802
802
  .predict, "v1/submit-completion-actuals"),
803
803
  method: "POST",
804
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.37", "User-Agent": "vellum-ai/0.14.37", "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),
804
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.39", "User-Agent": "vellum-ai/0.14.39", "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),
805
805
  contentType: "application/json",
806
806
  requestType: "json",
807
807
  body: serializers.SubmitCompletionActualsRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -864,7 +864,7 @@ class VellumClient {
864
864
  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)
865
865
  .predict, "v1/submit-workflow-execution-actuals"),
866
866
  method: "POST",
867
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.37", "User-Agent": "vellum-ai/0.14.37", "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),
867
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.39", "User-Agent": "vellum-ai/0.14.39", "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),
868
868
  contentType: "application/json",
869
869
  requestType: "json",
870
870
  body: serializers.SubmitWorkflowExecutionActualsRequest.jsonOrThrow(request, {
@@ -66,7 +66,7 @@ class AdHoc {
66
66
  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)
67
67
  .predict, "v1/ad-hoc/execute-prompt-stream"),
68
68
  method: "POST",
69
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.37", "User-Agent": "vellum-ai/0.14.37", "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),
69
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.39", "User-Agent": "vellum-ai/0.14.39", "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),
70
70
  contentType: "application/json",
71
71
  requestType: "json",
72
72
  body: serializers.AdHocExecutePromptStream.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),