vellum-ai 0.6.1 → 0.6.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (183) hide show
  1. package/Client.d.ts +3 -0
  2. package/Client.js +14 -9
  3. package/api/resources/deployments/client/Client.d.ts +14 -0
  4. package/api/resources/deployments/client/Client.js +100 -3
  5. package/api/resources/deployments/client/requests/PatchedDeploymentReleaseTagUpdateRequest.d.ts +11 -0
  6. package/api/resources/deployments/client/requests/PatchedDeploymentReleaseTagUpdateRequest.js +5 -0
  7. package/api/resources/deployments/client/requests/index.d.ts +1 -0
  8. package/api/resources/documentIndexes/client/Client.js +6 -6
  9. package/api/resources/documents/client/Client.js +5 -5
  10. package/api/resources/folderEntities/client/Client.js +1 -1
  11. package/api/resources/index.d.ts +2 -0
  12. package/api/resources/index.js +3 -1
  13. package/api/resources/sandboxes/client/Client.d.ts +1 -0
  14. package/api/resources/sandboxes/client/Client.js +46 -2
  15. package/api/resources/sandboxes/client/requests/DeploySandboxPromptRequest.d.ts +17 -0
  16. package/api/resources/sandboxes/client/requests/DeploySandboxPromptRequest.js +5 -0
  17. package/api/resources/sandboxes/client/requests/index.d.ts +1 -0
  18. package/api/resources/testSuiteRuns/client/Client.js +3 -3
  19. package/api/resources/testSuites/client/Client.js +3 -3
  20. package/api/resources/workflowDeployments/client/Client.d.ts +14 -0
  21. package/api/resources/workflowDeployments/client/Client.js +99 -2
  22. package/api/resources/workflowDeployments/client/requests/PatchedWorkflowReleaseTagUpdateRequest.d.ts +11 -0
  23. package/api/resources/workflowDeployments/client/requests/PatchedWorkflowReleaseTagUpdateRequest.js +5 -0
  24. package/api/resources/workflowDeployments/client/requests/index.d.ts +1 -0
  25. package/api/resources/workflowSandboxes/client/Client.d.ts +24 -0
  26. package/api/resources/workflowSandboxes/client/Client.js +102 -0
  27. package/api/resources/workflowSandboxes/client/index.d.ts +1 -0
  28. package/api/resources/workflowSandboxes/client/index.js +17 -0
  29. package/api/resources/workflowSandboxes/client/requests/DeploySandboxWorkflowRequest.d.ts +17 -0
  30. package/api/resources/workflowSandboxes/client/requests/DeploySandboxWorkflowRequest.js +5 -0
  31. package/api/resources/workflowSandboxes/client/requests/index.d.ts +1 -0
  32. package/api/resources/workflowSandboxes/client/requests/index.js +2 -0
  33. package/api/resources/workflowSandboxes/index.d.ts +1 -0
  34. package/api/resources/workflowSandboxes/index.js +17 -0
  35. package/api/types/DeploymentReleaseTagDeploymentHistoryItem.d.ts +7 -0
  36. package/api/types/DeploymentReleaseTagDeploymentHistoryItem.js +5 -0
  37. package/api/types/DeploymentReleaseTagRead.d.ts +17 -0
  38. package/api/types/DeploymentReleaseTagRead.js +5 -0
  39. package/api/types/ReleaseTagSource.d.ts +12 -0
  40. package/api/types/ReleaseTagSource.js +10 -0
  41. package/api/types/SubworkflowNodeResult.d.ts +2 -0
  42. package/api/types/SubworkflowNodeResultData.d.ts +6 -0
  43. package/api/types/SubworkflowNodeResultData.js +5 -0
  44. package/api/types/WorkflowReleaseTagRead.d.ts +17 -0
  45. package/api/types/WorkflowReleaseTagRead.js +5 -0
  46. package/api/types/WorkflowReleaseTagWorkflowDeploymentHistoryItem.d.ts +9 -0
  47. package/api/types/WorkflowReleaseTagWorkflowDeploymentHistoryItem.js +5 -0
  48. package/api/types/index.d.ts +6 -0
  49. package/api/types/index.js +6 -0
  50. package/dist/Client.d.ts +3 -0
  51. package/dist/Client.js +14 -9
  52. package/dist/api/resources/deployments/client/Client.d.ts +14 -0
  53. package/dist/api/resources/deployments/client/Client.js +100 -3
  54. package/dist/api/resources/deployments/client/requests/PatchedDeploymentReleaseTagUpdateRequest.d.ts +11 -0
  55. package/dist/api/resources/deployments/client/requests/PatchedDeploymentReleaseTagUpdateRequest.js +5 -0
  56. package/dist/api/resources/deployments/client/requests/index.d.ts +1 -0
  57. package/dist/api/resources/documentIndexes/client/Client.js +6 -6
  58. package/dist/api/resources/documents/client/Client.js +5 -5
  59. package/dist/api/resources/folderEntities/client/Client.js +1 -1
  60. package/dist/api/resources/index.d.ts +2 -0
  61. package/dist/api/resources/index.js +3 -1
  62. package/dist/api/resources/sandboxes/client/Client.d.ts +1 -0
  63. package/dist/api/resources/sandboxes/client/Client.js +46 -2
  64. package/dist/api/resources/sandboxes/client/requests/DeploySandboxPromptRequest.d.ts +17 -0
  65. package/dist/api/resources/sandboxes/client/requests/DeploySandboxPromptRequest.js +5 -0
  66. package/dist/api/resources/sandboxes/client/requests/index.d.ts +1 -0
  67. package/dist/api/resources/testSuiteRuns/client/Client.js +3 -3
  68. package/dist/api/resources/testSuites/client/Client.js +3 -3
  69. package/dist/api/resources/workflowDeployments/client/Client.d.ts +14 -0
  70. package/dist/api/resources/workflowDeployments/client/Client.js +99 -2
  71. package/dist/api/resources/workflowDeployments/client/requests/PatchedWorkflowReleaseTagUpdateRequest.d.ts +11 -0
  72. package/dist/api/resources/workflowDeployments/client/requests/PatchedWorkflowReleaseTagUpdateRequest.js +5 -0
  73. package/dist/api/resources/workflowDeployments/client/requests/index.d.ts +1 -0
  74. package/dist/api/resources/workflowSandboxes/client/Client.d.ts +24 -0
  75. package/dist/api/resources/workflowSandboxes/client/Client.js +102 -0
  76. package/dist/api/resources/workflowSandboxes/client/index.d.ts +1 -0
  77. package/dist/api/resources/workflowSandboxes/client/index.js +17 -0
  78. package/dist/api/resources/workflowSandboxes/client/requests/DeploySandboxWorkflowRequest.d.ts +17 -0
  79. package/dist/api/resources/workflowSandboxes/client/requests/DeploySandboxWorkflowRequest.js +5 -0
  80. package/dist/api/resources/workflowSandboxes/client/requests/index.d.ts +1 -0
  81. package/dist/api/resources/workflowSandboxes/client/requests/index.js +2 -0
  82. package/dist/api/resources/workflowSandboxes/index.d.ts +1 -0
  83. package/dist/api/resources/workflowSandboxes/index.js +17 -0
  84. package/dist/api/types/DeploymentReleaseTagDeploymentHistoryItem.d.ts +7 -0
  85. package/dist/api/types/DeploymentReleaseTagDeploymentHistoryItem.js +5 -0
  86. package/dist/api/types/DeploymentReleaseTagRead.d.ts +17 -0
  87. package/dist/api/types/DeploymentReleaseTagRead.js +5 -0
  88. package/dist/api/types/ReleaseTagSource.d.ts +12 -0
  89. package/dist/api/types/ReleaseTagSource.js +10 -0
  90. package/dist/api/types/SubworkflowNodeResult.d.ts +2 -0
  91. package/dist/api/types/SubworkflowNodeResultData.d.ts +6 -0
  92. package/dist/api/types/SubworkflowNodeResultData.js +5 -0
  93. package/dist/api/types/WorkflowReleaseTagRead.d.ts +17 -0
  94. package/dist/api/types/WorkflowReleaseTagRead.js +5 -0
  95. package/dist/api/types/WorkflowReleaseTagWorkflowDeploymentHistoryItem.d.ts +9 -0
  96. package/dist/api/types/WorkflowReleaseTagWorkflowDeploymentHistoryItem.js +5 -0
  97. package/dist/api/types/index.d.ts +6 -0
  98. package/dist/api/types/index.js +6 -0
  99. package/dist/serialization/resources/deployments/client/requests/PatchedDeploymentReleaseTagUpdateRequest.d.ts +12 -0
  100. package/dist/serialization/resources/deployments/client/requests/PatchedDeploymentReleaseTagUpdateRequest.js +33 -0
  101. package/dist/serialization/resources/deployments/client/requests/index.d.ts +1 -0
  102. package/dist/serialization/resources/deployments/client/requests/index.js +3 -1
  103. package/dist/serialization/resources/index.d.ts +3 -0
  104. package/dist/serialization/resources/index.js +4 -1
  105. package/dist/serialization/resources/sandboxes/client/requests/DeploySandboxPromptRequest.d.ts +15 -0
  106. package/dist/serialization/resources/sandboxes/client/requests/DeploySandboxPromptRequest.js +36 -0
  107. package/dist/serialization/resources/sandboxes/client/requests/index.d.ts +1 -0
  108. package/dist/serialization/resources/sandboxes/client/requests/index.js +3 -1
  109. package/dist/serialization/resources/workflowDeployments/client/index.d.ts +1 -0
  110. package/dist/serialization/resources/workflowDeployments/client/index.js +17 -0
  111. package/dist/serialization/resources/workflowDeployments/client/requests/PatchedWorkflowReleaseTagUpdateRequest.d.ts +12 -0
  112. package/dist/serialization/resources/workflowDeployments/client/requests/PatchedWorkflowReleaseTagUpdateRequest.js +33 -0
  113. package/dist/serialization/resources/workflowDeployments/client/requests/index.d.ts +1 -0
  114. package/dist/serialization/resources/workflowDeployments/client/requests/index.js +5 -0
  115. package/dist/serialization/resources/workflowDeployments/index.d.ts +1 -0
  116. package/dist/serialization/resources/workflowDeployments/index.js +1 -0
  117. package/dist/serialization/resources/workflowSandboxes/client/index.d.ts +1 -0
  118. package/dist/serialization/resources/workflowSandboxes/client/index.js +17 -0
  119. package/dist/serialization/resources/workflowSandboxes/client/requests/DeploySandboxWorkflowRequest.d.ts +15 -0
  120. package/dist/serialization/resources/workflowSandboxes/client/requests/DeploySandboxWorkflowRequest.js +36 -0
  121. package/dist/serialization/resources/workflowSandboxes/client/requests/index.d.ts +1 -0
  122. package/dist/serialization/resources/workflowSandboxes/client/requests/index.js +5 -0
  123. package/dist/serialization/resources/workflowSandboxes/index.d.ts +1 -0
  124. package/dist/serialization/resources/workflowSandboxes/index.js +17 -0
  125. package/dist/serialization/types/DeploymentReleaseTagDeploymentHistoryItem.d.ts +13 -0
  126. package/dist/serialization/types/DeploymentReleaseTagDeploymentHistoryItem.js +34 -0
  127. package/dist/serialization/types/DeploymentReleaseTagRead.d.ts +16 -0
  128. package/dist/serialization/types/DeploymentReleaseTagRead.js +37 -0
  129. package/dist/serialization/types/ReleaseTagSource.d.ts +10 -0
  130. package/dist/serialization/types/ReleaseTagSource.js +31 -0
  131. package/dist/serialization/types/SubworkflowNodeResult.d.ts +2 -0
  132. package/dist/serialization/types/SubworkflowNodeResult.js +4 -1
  133. package/dist/serialization/types/SubworkflowNodeResultData.d.ts +12 -0
  134. package/dist/serialization/types/SubworkflowNodeResultData.js +33 -0
  135. package/dist/serialization/types/WorkflowReleaseTagRead.d.ts +16 -0
  136. package/dist/serialization/types/WorkflowReleaseTagRead.js +37 -0
  137. package/dist/serialization/types/WorkflowReleaseTagWorkflowDeploymentHistoryItem.d.ts +13 -0
  138. package/dist/serialization/types/WorkflowReleaseTagWorkflowDeploymentHistoryItem.js +34 -0
  139. package/dist/serialization/types/index.d.ts +6 -0
  140. package/dist/serialization/types/index.js +6 -0
  141. package/package.json +1 -1
  142. package/serialization/resources/deployments/client/requests/PatchedDeploymentReleaseTagUpdateRequest.d.ts +12 -0
  143. package/serialization/resources/deployments/client/requests/PatchedDeploymentReleaseTagUpdateRequest.js +33 -0
  144. package/serialization/resources/deployments/client/requests/index.d.ts +1 -0
  145. package/serialization/resources/deployments/client/requests/index.js +3 -1
  146. package/serialization/resources/index.d.ts +3 -0
  147. package/serialization/resources/index.js +4 -1
  148. package/serialization/resources/sandboxes/client/requests/DeploySandboxPromptRequest.d.ts +15 -0
  149. package/serialization/resources/sandboxes/client/requests/DeploySandboxPromptRequest.js +36 -0
  150. package/serialization/resources/sandboxes/client/requests/index.d.ts +1 -0
  151. package/serialization/resources/sandboxes/client/requests/index.js +3 -1
  152. package/serialization/resources/workflowDeployments/client/index.d.ts +1 -0
  153. package/serialization/resources/workflowDeployments/client/index.js +17 -0
  154. package/serialization/resources/workflowDeployments/client/requests/PatchedWorkflowReleaseTagUpdateRequest.d.ts +12 -0
  155. package/serialization/resources/workflowDeployments/client/requests/PatchedWorkflowReleaseTagUpdateRequest.js +33 -0
  156. package/serialization/resources/workflowDeployments/client/requests/index.d.ts +1 -0
  157. package/serialization/resources/workflowDeployments/client/requests/index.js +5 -0
  158. package/serialization/resources/workflowDeployments/index.d.ts +1 -0
  159. package/serialization/resources/workflowDeployments/index.js +1 -0
  160. package/serialization/resources/workflowSandboxes/client/index.d.ts +1 -0
  161. package/serialization/resources/workflowSandboxes/client/index.js +17 -0
  162. package/serialization/resources/workflowSandboxes/client/requests/DeploySandboxWorkflowRequest.d.ts +15 -0
  163. package/serialization/resources/workflowSandboxes/client/requests/DeploySandboxWorkflowRequest.js +36 -0
  164. package/serialization/resources/workflowSandboxes/client/requests/index.d.ts +1 -0
  165. package/serialization/resources/workflowSandboxes/client/requests/index.js +5 -0
  166. package/serialization/resources/workflowSandboxes/index.d.ts +1 -0
  167. package/serialization/resources/workflowSandboxes/index.js +17 -0
  168. package/serialization/types/DeploymentReleaseTagDeploymentHistoryItem.d.ts +13 -0
  169. package/serialization/types/DeploymentReleaseTagDeploymentHistoryItem.js +34 -0
  170. package/serialization/types/DeploymentReleaseTagRead.d.ts +16 -0
  171. package/serialization/types/DeploymentReleaseTagRead.js +37 -0
  172. package/serialization/types/ReleaseTagSource.d.ts +10 -0
  173. package/serialization/types/ReleaseTagSource.js +31 -0
  174. package/serialization/types/SubworkflowNodeResult.d.ts +2 -0
  175. package/serialization/types/SubworkflowNodeResult.js +4 -1
  176. package/serialization/types/SubworkflowNodeResultData.d.ts +12 -0
  177. package/serialization/types/SubworkflowNodeResultData.js +33 -0
  178. package/serialization/types/WorkflowReleaseTagRead.d.ts +16 -0
  179. package/serialization/types/WorkflowReleaseTagRead.js +37 -0
  180. package/serialization/types/WorkflowReleaseTagWorkflowDeploymentHistoryItem.d.ts +13 -0
  181. package/serialization/types/WorkflowReleaseTagWorkflowDeploymentHistoryItem.js +34 -0
  182. package/serialization/types/index.d.ts +6 -0
  183. package/serialization/types/index.js +6 -0
package/dist/Client.js CHANGED
@@ -53,6 +53,7 @@ const Client_5 = require("./api/resources/sandboxes/client/Client");
53
53
  const Client_6 = require("./api/resources/testSuiteRuns/client/Client");
54
54
  const Client_7 = require("./api/resources/testSuites/client/Client");
55
55
  const Client_8 = require("./api/resources/workflowDeployments/client/Client");
56
+ const Client_9 = require("./api/resources/workflowSandboxes/client/Client");
56
57
  class VellumClient {
57
58
  constructor(_options) {
58
59
  this._options = _options;
@@ -71,7 +72,7 @@ class VellumClient {
71
72
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
72
73
  .predict, "v1/execute-prompt"),
73
74
  method: "POST",
74
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.6.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
75
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.6.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
75
76
  contentType: "application/json",
76
77
  body: yield serializers.ExecutePromptRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
77
78
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -127,7 +128,7 @@ class VellumClient {
127
128
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
128
129
  .predict, "v1/execute-prompt-stream"),
129
130
  method: "POST",
130
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.6.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
131
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.6.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
131
132
  contentType: "application/json",
132
133
  body: yield serializers.ExecutePromptStreamRequest.jsonOrThrow(request, {
133
134
  unrecognizedObjectKeys: "strip",
@@ -195,7 +196,7 @@ class VellumClient {
195
196
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
196
197
  .predict, "v1/execute-workflow"),
197
198
  method: "POST",
198
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.6.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
199
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.6.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
199
200
  contentType: "application/json",
200
201
  body: yield serializers.ExecuteWorkflowRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
201
202
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -249,7 +250,7 @@ class VellumClient {
249
250
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
250
251
  .predict, "v1/execute-workflow-stream"),
251
252
  method: "POST",
252
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.6.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
253
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.6.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
253
254
  contentType: "application/json",
254
255
  body: yield serializers.ExecuteWorkflowStreamRequest.jsonOrThrow(request, {
255
256
  unrecognizedObjectKeys: "strip",
@@ -325,7 +326,7 @@ class VellumClient {
325
326
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
326
327
  .predict, "v1/generate"),
327
328
  method: "POST",
328
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.6.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
329
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.6.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
329
330
  contentType: "application/json",
330
331
  body: yield serializers.GenerateBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
331
332
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -383,7 +384,7 @@ class VellumClient {
383
384
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
384
385
  .predict, "v1/generate-stream"),
385
386
  method: "POST",
386
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.6.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
387
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.6.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
387
388
  contentType: "application/json",
388
389
  body: yield serializers.GenerateStreamBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
389
390
  responseType: "streaming",
@@ -456,7 +457,7 @@ class VellumClient {
456
457
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
457
458
  .predict, "v1/search"),
458
459
  method: "POST",
459
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.6.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
460
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.6.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
460
461
  contentType: "application/json",
461
462
  body: yield serializers.SearchRequestBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
462
463
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -520,7 +521,7 @@ class VellumClient {
520
521
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
521
522
  .predict, "v1/submit-completion-actuals"),
522
523
  method: "POST",
523
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.6.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
524
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.6.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
524
525
  contentType: "application/json",
525
526
  body: yield serializers.SubmitCompletionActualsRequest.jsonOrThrow(request, {
526
527
  unrecognizedObjectKeys: "strip",
@@ -578,7 +579,7 @@ class VellumClient {
578
579
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
579
580
  .predict, "v1/submit-workflow-execution-actuals"),
580
581
  method: "POST",
581
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.6.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
582
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.6.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
582
583
  contentType: "application/json",
583
584
  body: yield serializers.SubmitWorkflowExecutionActualsRequest.jsonOrThrow(request, {
584
585
  unrecognizedObjectKeys: "strip",
@@ -642,6 +643,10 @@ class VellumClient {
642
643
  var _a;
643
644
  return ((_a = this._workflowDeployments) !== null && _a !== void 0 ? _a : (this._workflowDeployments = new Client_8.WorkflowDeployments(this._options)));
644
645
  }
646
+ get workflowSandboxes() {
647
+ var _a;
648
+ return ((_a = this._workflowSandboxes) !== null && _a !== void 0 ? _a : (this._workflowSandboxes = new Client_9.WorkflowSandboxes(this._options)));
649
+ }
645
650
  _getCustomAuthorizationHeaders() {
646
651
  return __awaiter(this, void 0, void 0, function* () {
647
652
  const apiKeyValue = yield core.Supplier.get(this._options.apiKey);
@@ -25,6 +25,20 @@ export declare class Deployments {
25
25
  * await vellum.deployments.retrieve("id")
26
26
  */
27
27
  retrieve(id: string, requestOptions?: Deployments.RequestOptions): Promise<Vellum.DeploymentRead>;
28
+ /**
29
+ * Retrieve a Deployment Release Tag by tag name, associated with a specified Deployment.
30
+ *
31
+ * @example
32
+ * await vellum.deployments.retrieveDeploymentReleaseTag("id", "name")
33
+ */
34
+ retrieveDeploymentReleaseTag(id: string, name: string, requestOptions?: Deployments.RequestOptions): Promise<Vellum.DeploymentReleaseTagRead>;
35
+ /**
36
+ * Updates an existing Release Tag associated with the specified Deployment.
37
+ *
38
+ * @example
39
+ * await vellum.deployments.updateDeploymentReleaseTag("id", "name")
40
+ */
41
+ updateDeploymentReleaseTag(id: string, name: string, request?: Vellum.PatchedDeploymentReleaseTagUpdateRequest, requestOptions?: Deployments.RequestOptions): Promise<Vellum.DeploymentReleaseTagRead>;
28
42
  /**
29
43
  * @throws {@link Vellum.BadRequestError}
30
44
  * @throws {@link Vellum.ForbiddenError}
@@ -70,7 +70,7 @@ class Deployments {
70
70
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
71
71
  .default, "v1/deployments"),
72
72
  method: "GET",
73
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.6.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
73
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.6.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
74
74
  contentType: "application/json",
75
75
  queryParameters: _queryParams,
76
76
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -118,7 +118,7 @@ class Deployments {
118
118
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
119
119
  .default, `v1/deployments/${id}`),
120
120
  method: "GET",
121
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.6.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
121
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.6.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
122
122
  contentType: "application/json",
123
123
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
124
124
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
@@ -152,6 +152,103 @@ class Deployments {
152
152
  }
153
153
  });
154
154
  }
155
+ /**
156
+ * Retrieve a Deployment Release Tag by tag name, associated with a specified Deployment.
157
+ *
158
+ * @example
159
+ * await vellum.deployments.retrieveDeploymentReleaseTag("id", "name")
160
+ */
161
+ retrieveDeploymentReleaseTag(id, name, requestOptions) {
162
+ var _a;
163
+ return __awaiter(this, void 0, void 0, function* () {
164
+ const _response = yield core.fetcher({
165
+ url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
166
+ .default, `v1/deployments/${id}/release-tags/${name}`),
167
+ method: "GET",
168
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.6.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
169
+ contentType: "application/json",
170
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
171
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
172
+ });
173
+ if (_response.ok) {
174
+ return yield serializers.DeploymentReleaseTagRead.parseOrThrow(_response.body, {
175
+ unrecognizedObjectKeys: "passthrough",
176
+ allowUnrecognizedUnionMembers: true,
177
+ allowUnrecognizedEnumValues: true,
178
+ breadcrumbsPrefix: ["response"],
179
+ });
180
+ }
181
+ if (_response.error.reason === "status-code") {
182
+ throw new errors.VellumError({
183
+ statusCode: _response.error.statusCode,
184
+ body: _response.error.body,
185
+ });
186
+ }
187
+ switch (_response.error.reason) {
188
+ case "non-json":
189
+ throw new errors.VellumError({
190
+ statusCode: _response.error.statusCode,
191
+ body: _response.error.rawBody,
192
+ });
193
+ case "timeout":
194
+ throw new errors.VellumTimeoutError();
195
+ case "unknown":
196
+ throw new errors.VellumError({
197
+ message: _response.error.errorMessage,
198
+ });
199
+ }
200
+ });
201
+ }
202
+ /**
203
+ * Updates an existing Release Tag associated with the specified Deployment.
204
+ *
205
+ * @example
206
+ * await vellum.deployments.updateDeploymentReleaseTag("id", "name")
207
+ */
208
+ updateDeploymentReleaseTag(id, name, request = {}, requestOptions) {
209
+ var _a;
210
+ return __awaiter(this, void 0, void 0, function* () {
211
+ const _response = yield core.fetcher({
212
+ url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
213
+ .default, `v1/deployments/${id}/release-tags/${name}`),
214
+ method: "PATCH",
215
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.6.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
216
+ contentType: "application/json",
217
+ body: yield serializers.PatchedDeploymentReleaseTagUpdateRequest.jsonOrThrow(request, {
218
+ unrecognizedObjectKeys: "strip",
219
+ }),
220
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
221
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
222
+ });
223
+ if (_response.ok) {
224
+ return yield serializers.DeploymentReleaseTagRead.parseOrThrow(_response.body, {
225
+ unrecognizedObjectKeys: "passthrough",
226
+ allowUnrecognizedUnionMembers: true,
227
+ allowUnrecognizedEnumValues: true,
228
+ breadcrumbsPrefix: ["response"],
229
+ });
230
+ }
231
+ if (_response.error.reason === "status-code") {
232
+ throw new errors.VellumError({
233
+ statusCode: _response.error.statusCode,
234
+ body: _response.error.body,
235
+ });
236
+ }
237
+ switch (_response.error.reason) {
238
+ case "non-json":
239
+ throw new errors.VellumError({
240
+ statusCode: _response.error.statusCode,
241
+ body: _response.error.rawBody,
242
+ });
243
+ case "timeout":
244
+ throw new errors.VellumTimeoutError();
245
+ case "unknown":
246
+ throw new errors.VellumError({
247
+ message: _response.error.errorMessage,
248
+ });
249
+ }
250
+ });
251
+ }
155
252
  /**
156
253
  * @throws {@link Vellum.BadRequestError}
157
254
  * @throws {@link Vellum.ForbiddenError}
@@ -170,7 +267,7 @@ class Deployments {
170
267
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
171
268
  .default, "v1/deployments/provider-payload"),
172
269
  method: "POST",
173
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.6.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
270
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.6.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
174
271
  contentType: "application/json",
175
272
  body: yield serializers.DeploymentProviderPayloadRequest.jsonOrThrow(request, {
176
273
  unrecognizedObjectKeys: "strip",
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * @example
6
+ * {}
7
+ */
8
+ export interface PatchedDeploymentReleaseTagUpdateRequest {
9
+ /** The ID of the Deployment History Item to tag */
10
+ historyItemId?: string;
11
+ }
@@ -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 });
@@ -1,2 +1,3 @@
1
1
  export { DeploymentsListRequest } from "./DeploymentsListRequest";
2
+ export { PatchedDeploymentReleaseTagUpdateRequest } from "./PatchedDeploymentReleaseTagUpdateRequest";
2
3
  export { DeploymentProviderPayloadRequest } from "./DeploymentProviderPayloadRequest";
@@ -78,7 +78,7 @@ class DocumentIndexes {
78
78
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
79
79
  .default, "v1/document-indexes"),
80
80
  method: "GET",
81
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.6.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
81
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.6.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
82
82
  contentType: "application/json",
83
83
  queryParameters: _queryParams,
84
84
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -123,7 +123,7 @@ class DocumentIndexes {
123
123
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
124
124
  .default, "v1/document-indexes"),
125
125
  method: "POST",
126
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.6.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
126
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.6.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
127
127
  contentType: "application/json",
128
128
  body: yield serializers.DocumentIndexCreateRequest.jsonOrThrow(request, {
129
129
  unrecognizedObjectKeys: "strip",
@@ -170,7 +170,7 @@ class DocumentIndexes {
170
170
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
171
171
  .default, `v1/document-indexes/${id}`),
172
172
  method: "GET",
173
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.6.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
173
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.6.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
174
174
  contentType: "application/json",
175
175
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
176
176
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
@@ -214,7 +214,7 @@ class DocumentIndexes {
214
214
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
215
215
  .default, `v1/document-indexes/${id}`),
216
216
  method: "PUT",
217
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.6.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
217
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.6.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
218
218
  contentType: "application/json",
219
219
  body: yield serializers.DocumentIndexUpdateRequest.jsonOrThrow(request, {
220
220
  unrecognizedObjectKeys: "strip",
@@ -264,7 +264,7 @@ class DocumentIndexes {
264
264
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
265
265
  .default, `v1/document-indexes/${id}`),
266
266
  method: "DELETE",
267
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.6.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
267
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.6.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
268
268
  contentType: "application/json",
269
269
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
270
270
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
@@ -303,7 +303,7 @@ class DocumentIndexes {
303
303
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
304
304
  .default, `v1/document-indexes/${id}`),
305
305
  method: "PATCH",
306
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.6.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
306
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.6.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
307
307
  contentType: "application/json",
308
308
  body: yield serializers.PatchedDocumentIndexUpdateRequest.jsonOrThrow(request, {
309
309
  unrecognizedObjectKeys: "strip",
@@ -77,7 +77,7 @@ class Documents {
77
77
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
78
78
  .default, "v1/documents"),
79
79
  method: "GET",
80
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.6.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
80
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.6.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
81
81
  contentType: "application/json",
82
82
  queryParameters: _queryParams,
83
83
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -125,7 +125,7 @@ class Documents {
125
125
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
126
126
  .default, `v1/documents/${id}`),
127
127
  method: "GET",
128
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.6.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
128
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.6.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
129
129
  contentType: "application/json",
130
130
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
131
131
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
@@ -172,7 +172,7 @@ class Documents {
172
172
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
173
173
  .default, `v1/documents/${id}`),
174
174
  method: "DELETE",
175
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.6.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
175
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.6.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
176
176
  contentType: "application/json",
177
177
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
178
178
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
@@ -214,7 +214,7 @@ class Documents {
214
214
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
215
215
  .default, `v1/documents/${id}`),
216
216
  method: "PATCH",
217
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.6.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
217
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.6.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
218
218
  contentType: "application/json",
219
219
  body: yield serializers.PatchedDocumentUpdateRequest.jsonOrThrow(request, {
220
220
  unrecognizedObjectKeys: "strip",
@@ -293,7 +293,7 @@ class Documents {
293
293
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
294
294
  .documents, "v1/upload-document"),
295
295
  method: "POST",
296
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.6.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
296
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.6.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
297
297
  contentType: "multipart/form-data; boundary=" + _request.getBoundary(),
298
298
  body: _request,
299
299
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -65,7 +65,7 @@ class FolderEntities {
65
65
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
66
66
  .default, `v1/folders/${folderId}/add-entity`),
67
67
  method: "POST",
68
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.6.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
68
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.6.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
69
69
  contentType: "application/json",
70
70
  body: yield serializers.AddEntityToFolderRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
71
71
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -9,6 +9,7 @@ export * as folderEntities from "./folderEntities";
9
9
  export * as sandboxes from "./sandboxes";
10
10
  export * as testSuiteRuns from "./testSuiteRuns";
11
11
  export * as testSuites from "./testSuites";
12
+ export * as workflowSandboxes from "./workflowSandboxes";
12
13
  export * from "./deployments/client/requests";
13
14
  export * from "./documentIndexes/client/requests";
14
15
  export * from "./documents/client/requests";
@@ -17,3 +18,4 @@ export * from "./sandboxes/client/requests";
17
18
  export * from "./testSuiteRuns/client/requests";
18
19
  export * from "./testSuites/client/requests";
19
20
  export * from "./workflowDeployments/client/requests";
21
+ export * from "./workflowSandboxes/client/requests";
@@ -26,7 +26,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
26
26
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.testSuites = exports.testSuiteRuns = exports.sandboxes = exports.folderEntities = exports.documents = exports.workflowDeployments = exports.documentIndexes = exports.deployments = void 0;
29
+ exports.workflowSandboxes = exports.testSuites = exports.testSuiteRuns = exports.sandboxes = exports.folderEntities = exports.documents = exports.workflowDeployments = exports.documentIndexes = exports.deployments = void 0;
30
30
  exports.deployments = __importStar(require("./deployments"));
31
31
  __exportStar(require("./deployments/types"), exports);
32
32
  exports.documentIndexes = __importStar(require("./documentIndexes"));
@@ -38,6 +38,7 @@ exports.folderEntities = __importStar(require("./folderEntities"));
38
38
  exports.sandboxes = __importStar(require("./sandboxes"));
39
39
  exports.testSuiteRuns = __importStar(require("./testSuiteRuns"));
40
40
  exports.testSuites = __importStar(require("./testSuites"));
41
+ exports.workflowSandboxes = __importStar(require("./workflowSandboxes"));
41
42
  __exportStar(require("./deployments/client/requests"), exports);
42
43
  __exportStar(require("./documentIndexes/client/requests"), exports);
43
44
  __exportStar(require("./documents/client/requests"), exports);
@@ -46,3 +47,4 @@ __exportStar(require("./sandboxes/client/requests"), exports);
46
47
  __exportStar(require("./testSuiteRuns/client/requests"), exports);
47
48
  __exportStar(require("./testSuites/client/requests"), exports);
48
49
  __exportStar(require("./workflowDeployments/client/requests"), exports);
50
+ __exportStar(require("./workflowSandboxes/client/requests"), exports);
@@ -17,6 +17,7 @@ export declare namespace Sandboxes {
17
17
  export declare class Sandboxes {
18
18
  protected readonly _options: Sandboxes.Options;
19
19
  constructor(_options: Sandboxes.Options);
20
+ deployPrompt(id: string, promptId: string, request?: Vellum.DeploySandboxPromptRequest, requestOptions?: Sandboxes.RequestOptions): Promise<Vellum.DeploymentRead>;
20
21
  /**
21
22
  * Upserts a new scenario for a sandbox, keying off of the optionally provided scenario id.
22
23
  *
@@ -48,6 +48,50 @@ class Sandboxes {
48
48
  constructor(_options) {
49
49
  this._options = _options;
50
50
  }
51
+ deployPrompt(id, promptId, request = {}, requestOptions) {
52
+ var _a;
53
+ return __awaiter(this, void 0, void 0, function* () {
54
+ const _response = yield core.fetcher({
55
+ url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
56
+ .default, `v1/sandboxes/${id}/prompts/${promptId}/deploy`),
57
+ method: "POST",
58
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.6.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
59
+ contentType: "application/json",
60
+ body: yield serializers.DeploySandboxPromptRequest.jsonOrThrow(request, {
61
+ unrecognizedObjectKeys: "strip",
62
+ }),
63
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
64
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
65
+ });
66
+ if (_response.ok) {
67
+ return yield serializers.DeploymentRead.parseOrThrow(_response.body, {
68
+ unrecognizedObjectKeys: "passthrough",
69
+ allowUnrecognizedUnionMembers: true,
70
+ allowUnrecognizedEnumValues: true,
71
+ breadcrumbsPrefix: ["response"],
72
+ });
73
+ }
74
+ if (_response.error.reason === "status-code") {
75
+ throw new errors.VellumError({
76
+ statusCode: _response.error.statusCode,
77
+ body: _response.error.body,
78
+ });
79
+ }
80
+ switch (_response.error.reason) {
81
+ case "non-json":
82
+ throw new errors.VellumError({
83
+ statusCode: _response.error.statusCode,
84
+ body: _response.error.rawBody,
85
+ });
86
+ case "timeout":
87
+ throw new errors.VellumTimeoutError();
88
+ case "unknown":
89
+ throw new errors.VellumError({
90
+ message: _response.error.errorMessage,
91
+ });
92
+ }
93
+ });
94
+ }
51
95
  /**
52
96
  * Upserts a new scenario for a sandbox, keying off of the optionally provided scenario id.
53
97
  *
@@ -76,7 +120,7 @@ class Sandboxes {
76
120
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
77
121
  .default, `v1/sandboxes/${id}/scenarios`),
78
122
  method: "POST",
79
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.6.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
123
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.6.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
80
124
  contentType: "application/json",
81
125
  body: yield serializers.UpsertSandboxScenarioRequestRequest.jsonOrThrow(request, {
82
126
  unrecognizedObjectKeys: "strip",
@@ -126,7 +170,7 @@ class Sandboxes {
126
170
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
127
171
  .default, `v1/sandboxes/${id}/scenarios/${scenarioId}`),
128
172
  method: "DELETE",
129
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.6.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
173
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.6.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
130
174
  contentType: "application/json",
131
175
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
132
176
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
@@ -0,0 +1,17 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * @example
6
+ * {}
7
+ */
8
+ export interface DeploySandboxPromptRequest {
9
+ /** The Vellum-generated ID of the Prompt Deployment you'd like to update. Cannot specify both this and prompt_deployment_name. Leave null to create a new Prompt Deployment. */
10
+ promptDeploymentId?: string;
11
+ /** The unique name of the Prompt Deployment you'd like to either create or update. Cannot specify both this and prompt_deployment_id. If provided and matches an existing Prompt Deployment, that Prompt Deployment will be updated. Otherwise, a new Prompt Deployment will be created. */
12
+ promptDeploymentName?: string;
13
+ /** In the event that a new Prompt Deployment is created, this will be the label it's given. */
14
+ label?: string;
15
+ /** Optionally provide the release tags that you'd like to be associated with the latest release of the created/updated Prompt Deployment. */
16
+ releaseTags?: string[];
17
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1 +1,2 @@
1
+ export { DeploySandboxPromptRequest } from "./DeploySandboxPromptRequest";
1
2
  export { UpsertSandboxScenarioRequestRequest } from "./UpsertSandboxScenarioRequestRequest";
@@ -58,7 +58,7 @@ class TestSuiteRuns {
58
58
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
59
59
  .default, "v1/test-suite-runs"),
60
60
  method: "POST",
61
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.6.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
61
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.6.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
62
62
  contentType: "application/json",
63
63
  body: yield serializers.TestSuiteRunCreateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
64
64
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -106,7 +106,7 @@ class TestSuiteRuns {
106
106
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
107
107
  .default, `v1/test-suite-runs/${id}`),
108
108
  method: "GET",
109
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.6.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
109
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.6.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
110
110
  contentType: "application/json",
111
111
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
112
112
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
@@ -163,7 +163,7 @@ class TestSuiteRuns {
163
163
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
164
164
  .default, `v1/test-suite-runs/${id}/executions`),
165
165
  method: "GET",
166
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.6.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
166
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.6.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
167
167
  contentType: "application/json",
168
168
  queryParameters: _queryParams,
169
169
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -69,7 +69,7 @@ class TestSuites {
69
69
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
70
70
  .default, `v1/test-suites/${id}/test-cases`),
71
71
  method: "GET",
72
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.6.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
72
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.6.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
73
73
  contentType: "application/json",
74
74
  queryParameters: _queryParams,
75
75
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -126,7 +126,7 @@ class TestSuites {
126
126
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
127
127
  .default, `v1/test-suites/${id}/test-cases`),
128
128
  method: "POST",
129
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.6.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
129
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.6.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
130
130
  contentType: "application/json",
131
131
  body: yield serializers.UpsertTestSuiteTestCaseRequest.jsonOrThrow(request, {
132
132
  unrecognizedObjectKeys: "strip",
@@ -176,7 +176,7 @@ class TestSuites {
176
176
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
177
177
  .default, `v1/test-suites/${id}/test-cases/${testCaseId}`),
178
178
  method: "DELETE",
179
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.6.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
179
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.6.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
180
180
  contentType: "application/json",
181
181
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
182
182
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,