vellum-ai 0.8.29 → 0.9.0

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 (215) hide show
  1. package/.mock/definition/__package__.yml +33 -42
  2. package/.mock/definition/workspaceSecrets.yml +4 -1
  3. package/.mock/openapi/openapi.yml +43 -61
  4. package/Client.js +10 -10
  5. package/api/resources/adHoc/client/Client.js +1 -1
  6. package/api/resources/deployments/client/Client.js +5 -5
  7. package/api/resources/documentIndexes/client/Client.js +8 -8
  8. package/api/resources/documents/client/Client.js +5 -5
  9. package/api/resources/folderEntities/client/Client.js +2 -2
  10. package/api/resources/index.d.ts +1 -0
  11. package/api/resources/index.js +1 -0
  12. package/api/resources/metricDefinitions/client/Client.js +1 -1
  13. package/api/resources/sandboxes/client/Client.js +3 -3
  14. package/api/resources/testSuiteRuns/client/Client.js +3 -3
  15. package/api/resources/testSuites/client/Client.js +4 -4
  16. package/api/resources/workflowDeployments/client/Client.js +4 -4
  17. package/api/resources/workflowSandboxes/client/Client.js +1 -1
  18. package/api/resources/workflows/client/Client.js +1 -1
  19. package/api/resources/workspaceSecrets/client/Client.d.ts +11 -0
  20. package/api/resources/workspaceSecrets/client/Client.js +57 -1
  21. package/api/resources/workspaceSecrets/client/index.d.ts +1 -1
  22. package/api/resources/workspaceSecrets/client/index.js +15 -0
  23. package/api/resources/workspaceSecrets/client/requests/PatchedWorkspaceSecretUpdateRequest.d.ts +11 -0
  24. package/api/resources/workspaceSecrets/client/requests/index.d.ts +1 -0
  25. package/api/resources/workspaceSecrets/client/requests/index.js +2 -0
  26. package/api/types/ArrayInputRequest.d.ts +1 -1
  27. package/api/types/ArrayVellumValue.d.ts +1 -1
  28. package/api/types/ArrayVellumValueRequest.d.ts +1 -1
  29. package/api/types/CodeExecutionNodeArrayResult.d.ts +1 -1
  30. package/api/types/CodeExecutorInputRequest.d.ts +1 -1
  31. package/api/types/CodeExecutorSecretInputRequest.d.ts +12 -0
  32. package/api/types/ExecutionArrayVellumValue.d.ts +1 -1
  33. package/api/types/NamedTestCaseArrayVariableValue.d.ts +1 -1
  34. package/api/types/NamedTestCaseArrayVariableValueRequest.d.ts +1 -1
  35. package/api/types/NodeInputCompiledArrayValue.d.ts +1 -1
  36. package/api/types/NodeOutputCompiledArrayValue.d.ts +1 -1
  37. package/api/types/TemplatingNodeArrayResult.d.ts +1 -1
  38. package/api/types/TerminalNodeArrayResult.d.ts +1 -1
  39. package/api/types/TestCaseArrayVariableValue.d.ts +1 -1
  40. package/api/types/TestSuiteRunExecutionArrayOutput.d.ts +1 -1
  41. package/api/types/VellumVariableType.d.ts +3 -1
  42. package/api/types/VellumVariableType.js +1 -0
  43. package/api/types/WorkflowOutputArray.d.ts +1 -1
  44. package/api/types/index.d.ts +1 -2
  45. package/api/types/index.js +1 -2
  46. package/dist/Client.js +10 -10
  47. package/dist/api/resources/adHoc/client/Client.js +1 -1
  48. package/dist/api/resources/deployments/client/Client.js +5 -5
  49. package/dist/api/resources/documentIndexes/client/Client.js +8 -8
  50. package/dist/api/resources/documents/client/Client.js +5 -5
  51. package/dist/api/resources/folderEntities/client/Client.js +2 -2
  52. package/dist/api/resources/index.d.ts +1 -0
  53. package/dist/api/resources/index.js +1 -0
  54. package/dist/api/resources/metricDefinitions/client/Client.js +1 -1
  55. package/dist/api/resources/sandboxes/client/Client.js +3 -3
  56. package/dist/api/resources/testSuiteRuns/client/Client.js +3 -3
  57. package/dist/api/resources/testSuites/client/Client.js +4 -4
  58. package/dist/api/resources/workflowDeployments/client/Client.js +4 -4
  59. package/dist/api/resources/workflowSandboxes/client/Client.js +1 -1
  60. package/dist/api/resources/workflows/client/Client.js +1 -1
  61. package/dist/api/resources/workspaceSecrets/client/Client.d.ts +11 -0
  62. package/dist/api/resources/workspaceSecrets/client/Client.js +57 -1
  63. package/dist/api/resources/workspaceSecrets/client/index.d.ts +1 -1
  64. package/dist/api/resources/workspaceSecrets/client/index.js +15 -0
  65. package/dist/api/resources/workspaceSecrets/client/requests/PatchedWorkspaceSecretUpdateRequest.d.ts +11 -0
  66. package/dist/api/resources/workspaceSecrets/client/requests/index.d.ts +1 -0
  67. package/dist/api/resources/workspaceSecrets/client/requests/index.js +2 -0
  68. package/dist/api/types/ArrayInputRequest.d.ts +1 -1
  69. package/dist/api/types/ArrayVellumValue.d.ts +1 -1
  70. package/dist/api/types/ArrayVellumValueRequest.d.ts +1 -1
  71. package/dist/api/types/CodeExecutionNodeArrayResult.d.ts +1 -1
  72. package/dist/api/types/CodeExecutorInputRequest.d.ts +1 -1
  73. package/dist/api/types/CodeExecutorSecretInputRequest.d.ts +12 -0
  74. package/dist/api/types/ExecutionArrayVellumValue.d.ts +1 -1
  75. package/dist/api/types/NamedTestCaseArrayVariableValue.d.ts +1 -1
  76. package/dist/api/types/NamedTestCaseArrayVariableValueRequest.d.ts +1 -1
  77. package/dist/api/types/NodeInputCompiledArrayValue.d.ts +1 -1
  78. package/dist/api/types/NodeOutputCompiledArrayValue.d.ts +1 -1
  79. package/dist/api/types/TemplatingNodeArrayResult.d.ts +1 -1
  80. package/dist/api/types/TerminalNodeArrayResult.d.ts +1 -1
  81. package/dist/api/types/TestCaseArrayVariableValue.d.ts +1 -1
  82. package/dist/api/types/TestSuiteRunExecutionArrayOutput.d.ts +1 -1
  83. package/dist/api/types/VellumVariableType.d.ts +3 -1
  84. package/dist/api/types/VellumVariableType.js +1 -0
  85. package/dist/api/types/WorkflowOutputArray.d.ts +1 -1
  86. package/dist/api/types/index.d.ts +1 -2
  87. package/dist/api/types/index.js +1 -2
  88. package/dist/serialization/resources/index.d.ts +2 -0
  89. package/dist/serialization/resources/index.js +3 -1
  90. package/dist/serialization/resources/workspaceSecrets/client/index.d.ts +1 -0
  91. package/dist/serialization/resources/workspaceSecrets/client/index.js +17 -0
  92. package/dist/serialization/resources/workspaceSecrets/client/requests/PatchedWorkspaceSecretUpdateRequest.d.ts +13 -0
  93. package/dist/serialization/resources/workspaceSecrets/client/requests/PatchedWorkspaceSecretUpdateRequest.js +34 -0
  94. package/dist/serialization/resources/workspaceSecrets/client/requests/index.d.ts +1 -0
  95. package/dist/serialization/resources/workspaceSecrets/client/requests/index.js +5 -0
  96. package/dist/serialization/resources/workspaceSecrets/index.d.ts +1 -0
  97. package/dist/serialization/resources/workspaceSecrets/index.js +17 -0
  98. package/dist/serialization/types/ArrayInputRequest.d.ts +1 -1
  99. package/dist/serialization/types/ArrayInputRequest.js +1 -1
  100. package/dist/serialization/types/ArrayVellumValue.d.ts +1 -1
  101. package/dist/serialization/types/ArrayVellumValue.js +1 -1
  102. package/dist/serialization/types/ArrayVellumValueRequest.d.ts +1 -1
  103. package/dist/serialization/types/ArrayVellumValueRequest.js +1 -1
  104. package/dist/serialization/types/CodeExecutionNodeArrayResult.d.ts +1 -1
  105. package/dist/serialization/types/CodeExecutionNodeArrayResult.js +1 -1
  106. package/dist/serialization/types/CodeExecutorInputRequest.d.ts +2 -1
  107. package/dist/serialization/types/CodeExecutorInputRequest.js +2 -0
  108. package/dist/serialization/types/CodeExecutorResponse.d.ts +1 -2
  109. package/dist/serialization/types/CodeExecutorResponse.js +2 -2
  110. package/dist/serialization/types/CodeExecutorSecretInputRequest.d.ts +14 -0
  111. package/{serialization/types/ArrayVellumValueItem.js → dist/serialization/types/CodeExecutorSecretInputRequest.js} +6 -21
  112. package/dist/serialization/types/ExecutionArrayVellumValue.d.ts +1 -1
  113. package/dist/serialization/types/ExecutionArrayVellumValue.js +1 -1
  114. package/dist/serialization/types/NamedTestCaseArrayVariableValue.d.ts +1 -1
  115. package/dist/serialization/types/NamedTestCaseArrayVariableValue.js +1 -1
  116. package/dist/serialization/types/NamedTestCaseArrayVariableValueRequest.d.ts +1 -1
  117. package/dist/serialization/types/NamedTestCaseArrayVariableValueRequest.js +1 -1
  118. package/dist/serialization/types/NodeInputCompiledArrayValue.d.ts +1 -1
  119. package/dist/serialization/types/NodeInputCompiledArrayValue.js +1 -1
  120. package/dist/serialization/types/NodeOutputCompiledArrayValue.d.ts +1 -1
  121. package/dist/serialization/types/NodeOutputCompiledArrayValue.js +1 -1
  122. package/dist/serialization/types/TemplatingNodeArrayResult.d.ts +1 -1
  123. package/dist/serialization/types/TemplatingNodeArrayResult.js +1 -1
  124. package/dist/serialization/types/TerminalNodeArrayResult.d.ts +1 -1
  125. package/dist/serialization/types/TerminalNodeArrayResult.js +1 -1
  126. package/dist/serialization/types/TestCaseArrayVariableValue.d.ts +1 -1
  127. package/dist/serialization/types/TestCaseArrayVariableValue.js +1 -1
  128. package/dist/serialization/types/TestSuiteRunExecutionArrayOutput.d.ts +1 -1
  129. package/dist/serialization/types/TestSuiteRunExecutionArrayOutput.js +1 -1
  130. package/dist/serialization/types/VellumValueLogicalConditionRequest.d.ts +2 -3
  131. package/dist/serialization/types/VellumValueLogicalConditionRequest.js +3 -3
  132. package/dist/serialization/types/VellumVariable.d.ts +1 -2
  133. package/dist/serialization/types/VellumVariable.js +2 -2
  134. package/dist/serialization/types/VellumVariableRequest.d.ts +1 -2
  135. package/dist/serialization/types/VellumVariableRequest.js +2 -2
  136. package/dist/serialization/types/VellumVariableType.d.ts +1 -1
  137. package/dist/serialization/types/VellumVariableType.js +1 -0
  138. package/dist/serialization/types/WorkflowOutputArray.d.ts +1 -1
  139. package/dist/serialization/types/WorkflowOutputArray.js +1 -1
  140. package/dist/serialization/types/index.d.ts +1 -2
  141. package/dist/serialization/types/index.js +1 -2
  142. package/dist/version.d.ts +1 -1
  143. package/dist/version.js +1 -1
  144. package/package.json +1 -1
  145. package/reference.md +71 -0
  146. package/serialization/resources/index.d.ts +2 -0
  147. package/serialization/resources/index.js +3 -1
  148. package/serialization/resources/workspaceSecrets/client/index.d.ts +1 -0
  149. package/serialization/resources/workspaceSecrets/client/index.js +17 -0
  150. package/serialization/resources/workspaceSecrets/client/requests/PatchedWorkspaceSecretUpdateRequest.d.ts +13 -0
  151. package/serialization/resources/workspaceSecrets/client/requests/PatchedWorkspaceSecretUpdateRequest.js +34 -0
  152. package/serialization/resources/workspaceSecrets/client/requests/index.d.ts +1 -0
  153. package/serialization/resources/workspaceSecrets/client/requests/index.js +5 -0
  154. package/serialization/resources/workspaceSecrets/index.d.ts +1 -0
  155. package/serialization/resources/workspaceSecrets/index.js +17 -0
  156. package/serialization/types/ArrayInputRequest.d.ts +1 -1
  157. package/serialization/types/ArrayInputRequest.js +1 -1
  158. package/serialization/types/ArrayVellumValue.d.ts +1 -1
  159. package/serialization/types/ArrayVellumValue.js +1 -1
  160. package/serialization/types/ArrayVellumValueRequest.d.ts +1 -1
  161. package/serialization/types/ArrayVellumValueRequest.js +1 -1
  162. package/serialization/types/CodeExecutionNodeArrayResult.d.ts +1 -1
  163. package/serialization/types/CodeExecutionNodeArrayResult.js +1 -1
  164. package/serialization/types/CodeExecutorInputRequest.d.ts +2 -1
  165. package/serialization/types/CodeExecutorInputRequest.js +2 -0
  166. package/serialization/types/CodeExecutorResponse.d.ts +1 -2
  167. package/serialization/types/CodeExecutorResponse.js +2 -2
  168. package/serialization/types/CodeExecutorSecretInputRequest.d.ts +14 -0
  169. package/{dist/serialization/types/ArrayVellumValueItem.js → serialization/types/CodeExecutorSecretInputRequest.js} +6 -21
  170. package/serialization/types/ExecutionArrayVellumValue.d.ts +1 -1
  171. package/serialization/types/ExecutionArrayVellumValue.js +1 -1
  172. package/serialization/types/NamedTestCaseArrayVariableValue.d.ts +1 -1
  173. package/serialization/types/NamedTestCaseArrayVariableValue.js +1 -1
  174. package/serialization/types/NamedTestCaseArrayVariableValueRequest.d.ts +1 -1
  175. package/serialization/types/NamedTestCaseArrayVariableValueRequest.js +1 -1
  176. package/serialization/types/NodeInputCompiledArrayValue.d.ts +1 -1
  177. package/serialization/types/NodeInputCompiledArrayValue.js +1 -1
  178. package/serialization/types/NodeOutputCompiledArrayValue.d.ts +1 -1
  179. package/serialization/types/NodeOutputCompiledArrayValue.js +1 -1
  180. package/serialization/types/TemplatingNodeArrayResult.d.ts +1 -1
  181. package/serialization/types/TemplatingNodeArrayResult.js +1 -1
  182. package/serialization/types/TerminalNodeArrayResult.d.ts +1 -1
  183. package/serialization/types/TerminalNodeArrayResult.js +1 -1
  184. package/serialization/types/TestCaseArrayVariableValue.d.ts +1 -1
  185. package/serialization/types/TestCaseArrayVariableValue.js +1 -1
  186. package/serialization/types/TestSuiteRunExecutionArrayOutput.d.ts +1 -1
  187. package/serialization/types/TestSuiteRunExecutionArrayOutput.js +1 -1
  188. package/serialization/types/VellumValueLogicalConditionRequest.d.ts +2 -3
  189. package/serialization/types/VellumValueLogicalConditionRequest.js +3 -3
  190. package/serialization/types/VellumVariable.d.ts +1 -2
  191. package/serialization/types/VellumVariable.js +2 -2
  192. package/serialization/types/VellumVariableRequest.d.ts +1 -2
  193. package/serialization/types/VellumVariableRequest.js +2 -2
  194. package/serialization/types/VellumVariableType.d.ts +1 -1
  195. package/serialization/types/VellumVariableType.js +1 -0
  196. package/serialization/types/WorkflowOutputArray.d.ts +1 -1
  197. package/serialization/types/WorkflowOutputArray.js +1 -1
  198. package/serialization/types/index.d.ts +1 -2
  199. package/serialization/types/index.js +1 -2
  200. package/version.d.ts +1 -1
  201. package/version.js +1 -1
  202. package/api/types/ArrayVellumValueItem.d.ts +0 -5
  203. package/api/types/ArrayVellumValueItemRequest.d.ts +0 -5
  204. package/dist/api/types/ArrayVellumValueItem.d.ts +0 -5
  205. package/dist/api/types/ArrayVellumValueItemRequest.d.ts +0 -5
  206. package/dist/serialization/types/ArrayVellumValueItem.d.ts +0 -18
  207. package/dist/serialization/types/ArrayVellumValueItemRequest.d.ts +0 -18
  208. package/dist/serialization/types/ArrayVellumValueItemRequest.js +0 -50
  209. package/serialization/types/ArrayVellumValueItem.d.ts +0 -18
  210. package/serialization/types/ArrayVellumValueItemRequest.d.ts +0 -18
  211. package/serialization/types/ArrayVellumValueItemRequest.js +0 -50
  212. /package/api/{types/ArrayVellumValueItem.js → resources/workspaceSecrets/client/requests/PatchedWorkspaceSecretUpdateRequest.js} +0 -0
  213. /package/api/types/{ArrayVellumValueItemRequest.js → CodeExecutorSecretInputRequest.js} +0 -0
  214. /package/dist/api/{types/ArrayVellumValueItem.js → resources/workspaceSecrets/client/requests/PatchedWorkspaceSecretUpdateRequest.js} +0 -0
  215. /package/dist/api/types/{ArrayVellumValueItemRequest.js → CodeExecutorSecretInputRequest.js} +0 -0
@@ -9,5 +9,5 @@ export interface TestCaseArrayVariableValue {
9
9
  variableId: string;
10
10
  name: string;
11
11
  type: "ARRAY";
12
- value?: Vellum.ArrayVellumValueItem[];
12
+ value?: Vellum.VellumValue[];
13
13
  }
@@ -8,6 +8,6 @@ import * as Vellum from "../index";
8
8
  export interface TestSuiteRunExecutionArrayOutput {
9
9
  name: string;
10
10
  type: "ARRAY";
11
- value?: Vellum.ArrayVellumValueItem[];
11
+ value?: Vellum.VellumValue[];
12
12
  outputVariableId: string;
13
13
  }
@@ -11,9 +11,10 @@
11
11
  * - `ARRAY` - ARRAY
12
12
  * - `FUNCTION_CALL` - FUNCTION_CALL
13
13
  * - `IMAGE` - IMAGE
14
+ * - `AUDIO` - AUDIO
14
15
  * - `NULL` - NULL
15
16
  */
16
- export declare type VellumVariableType = "STRING" | "NUMBER" | "JSON" | "CHAT_HISTORY" | "SEARCH_RESULTS" | "ERROR" | "ARRAY" | "FUNCTION_CALL" | "IMAGE" | "NULL";
17
+ export declare type VellumVariableType = "STRING" | "NUMBER" | "JSON" | "CHAT_HISTORY" | "SEARCH_RESULTS" | "ERROR" | "ARRAY" | "FUNCTION_CALL" | "IMAGE" | "AUDIO" | "NULL";
17
18
  export declare const VellumVariableType: {
18
19
  readonly String: "STRING";
19
20
  readonly Number: "NUMBER";
@@ -24,5 +25,6 @@ export declare const VellumVariableType: {
24
25
  readonly Array: "ARRAY";
25
26
  readonly FunctionCall: "FUNCTION_CALL";
26
27
  readonly Image: "IMAGE";
28
+ readonly Audio: "AUDIO";
27
29
  readonly Null: "NULL";
28
30
  };
@@ -14,5 +14,6 @@ exports.VellumVariableType = {
14
14
  Array: "ARRAY",
15
15
  FunctionCall: "FUNCTION_CALL",
16
16
  Image: "IMAGE",
17
+ Audio: "AUDIO",
17
18
  Null: "NULL",
18
19
  };
@@ -10,5 +10,5 @@ export interface WorkflowOutputArray {
10
10
  /** The output's name, as defined in the workflow */
11
11
  name: string;
12
12
  type: "ARRAY";
13
- value?: Vellum.ArrayVellumValueItem[];
13
+ value?: Vellum.VellumValue[];
14
14
  }
@@ -15,8 +15,6 @@ export * from "./ArrayInputRequest";
15
15
  export * from "./ArrayVariableValue";
16
16
  export * from "./ArrayVariableValueItem";
17
17
  export * from "./ArrayVellumValue";
18
- export * from "./ArrayVellumValueItem";
19
- export * from "./ArrayVellumValueItemRequest";
20
18
  export * from "./ArrayVellumValueRequest";
21
19
  export * from "./BasicVectorizerIntfloatMultilingualE5Large";
22
20
  export * from "./BasicVectorizerIntfloatMultilingualE5LargeRequest";
@@ -50,6 +48,7 @@ export * from "./CodeExecutionPackageRequest";
50
48
  export * from "./CodeExecutionRuntime";
51
49
  export * from "./CodeExecutorInputRequest";
52
50
  export * from "./CodeExecutorResponse";
51
+ export * from "./CodeExecutorSecretInputRequest";
53
52
  export * from "./CompilePromptDeploymentExpandMetaRequest";
54
53
  export * from "./CompilePromptMeta";
55
54
  export * from "./ConditionCombinator";
@@ -31,8 +31,6 @@ __exportStar(require("./ArrayInputRequest"), exports);
31
31
  __exportStar(require("./ArrayVariableValue"), exports);
32
32
  __exportStar(require("./ArrayVariableValueItem"), exports);
33
33
  __exportStar(require("./ArrayVellumValue"), exports);
34
- __exportStar(require("./ArrayVellumValueItem"), exports);
35
- __exportStar(require("./ArrayVellumValueItemRequest"), exports);
36
34
  __exportStar(require("./ArrayVellumValueRequest"), exports);
37
35
  __exportStar(require("./BasicVectorizerIntfloatMultilingualE5Large"), exports);
38
36
  __exportStar(require("./BasicVectorizerIntfloatMultilingualE5LargeRequest"), exports);
@@ -66,6 +64,7 @@ __exportStar(require("./CodeExecutionPackageRequest"), exports);
66
64
  __exportStar(require("./CodeExecutionRuntime"), exports);
67
65
  __exportStar(require("./CodeExecutorInputRequest"), exports);
68
66
  __exportStar(require("./CodeExecutorResponse"), exports);
67
+ __exportStar(require("./CodeExecutorSecretInputRequest"), exports);
69
68
  __exportStar(require("./CompilePromptDeploymentExpandMetaRequest"), exports);
70
69
  __exportStar(require("./CompilePromptMeta"), exports);
71
70
  __exportStar(require("./ConditionCombinator"), exports);
package/dist/Client.js CHANGED
@@ -93,7 +93,7 @@ class VellumClient {
93
93
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
94
94
  .default, "v1/execute-code"),
95
95
  method: "POST",
96
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.29", "User-Agent": "vellum-ai/0.8.29", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
96
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.0", "User-Agent": "vellum-ai/0.9.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
97
97
  contentType: "application/json",
98
98
  requestType: "json",
99
99
  body: serializers.CodeExecutorRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -162,7 +162,7 @@ class VellumClient {
162
162
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
163
163
  .predict, "v1/execute-prompt"),
164
164
  method: "POST",
165
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.29", "User-Agent": "vellum-ai/0.8.29", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
165
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.0", "User-Agent": "vellum-ai/0.9.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
166
166
  contentType: "application/json",
167
167
  requestType: "json",
168
168
  body: serializers.ExecutePromptRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -220,7 +220,7 @@ class VellumClient {
220
220
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
221
221
  .predict, "v1/execute-prompt-stream"),
222
222
  method: "POST",
223
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.29", "User-Agent": "vellum-ai/0.8.29", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
223
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.0", "User-Agent": "vellum-ai/0.9.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
224
224
  contentType: "application/json",
225
225
  requestType: "json",
226
226
  body: serializers.ExecutePromptStreamRequest.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.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
306
306
  .predict, "v1/execute-workflow"),
307
307
  method: "POST",
308
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.29", "User-Agent": "vellum-ai/0.8.29", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
308
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.0", "User-Agent": "vellum-ai/0.9.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
309
309
  contentType: "application/json",
310
310
  requestType: "json",
311
311
  body: serializers.ExecuteWorkflowRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -361,7 +361,7 @@ class VellumClient {
361
361
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
362
362
  .predict, "v1/execute-workflow-stream"),
363
363
  method: "POST",
364
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.29", "User-Agent": "vellum-ai/0.8.29", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
364
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.0", "User-Agent": "vellum-ai/0.9.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
365
365
  contentType: "application/json",
366
366
  requestType: "json",
367
367
  body: serializers.ExecuteWorkflowStreamRequest.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.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
449
449
  .predict, "v1/generate"),
450
450
  method: "POST",
451
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.29", "User-Agent": "vellum-ai/0.8.29", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
451
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.0", "User-Agent": "vellum-ai/0.9.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
452
452
  contentType: "application/json",
453
453
  requestType: "json",
454
454
  body: serializers.GenerateBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -509,7 +509,7 @@ class VellumClient {
509
509
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
510
510
  .predict, "v1/generate-stream"),
511
511
  method: "POST",
512
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.29", "User-Agent": "vellum-ai/0.8.29", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
512
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.0", "User-Agent": "vellum-ai/0.9.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
513
513
  contentType: "application/json",
514
514
  requestType: "json",
515
515
  body: serializers.GenerateStreamBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -590,7 +590,7 @@ class VellumClient {
590
590
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
591
591
  .predict, "v1/search"),
592
592
  method: "POST",
593
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.29", "User-Agent": "vellum-ai/0.8.29", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
593
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.0", "User-Agent": "vellum-ai/0.9.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
594
594
  contentType: "application/json",
595
595
  requestType: "json",
596
596
  body: serializers.SearchRequestBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -658,7 +658,7 @@ class VellumClient {
658
658
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
659
659
  .predict, "v1/submit-completion-actuals"),
660
660
  method: "POST",
661
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.29", "User-Agent": "vellum-ai/0.8.29", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
661
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.0", "User-Agent": "vellum-ai/0.9.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
662
662
  contentType: "application/json",
663
663
  requestType: "json",
664
664
  body: serializers.SubmitCompletionActualsRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -721,7 +721,7 @@ class VellumClient {
721
721
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
722
722
  .predict, "v1/submit-workflow-execution-actuals"),
723
723
  method: "POST",
724
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.29", "User-Agent": "vellum-ai/0.8.29", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
724
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.0", "User-Agent": "vellum-ai/0.9.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
725
725
  contentType: "application/json",
726
726
  requestType: "json",
727
727
  body: serializers.SubmitWorkflowExecutionActualsRequest.jsonOrThrow(request, {
@@ -59,7 +59,7 @@ class AdHoc {
59
59
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
60
60
  .default, "v1/ad-hoc/execute-prompt-stream"),
61
61
  method: "POST",
62
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.29", "User-Agent": "vellum-ai/0.8.29", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
62
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.0", "User-Agent": "vellum-ai/0.9.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
63
63
  contentType: "application/json",
64
64
  requestType: "json",
65
65
  body: serializers.AdHocExecutePromptStreamRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -79,7 +79,7 @@ class Deployments {
79
79
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
80
80
  .default, "v1/deployments"),
81
81
  method: "GET",
82
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.29", "User-Agent": "vellum-ai/0.8.29", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
82
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.0", "User-Agent": "vellum-ai/0.9.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
83
83
  contentType: "application/json",
84
84
  queryParameters: _queryParams,
85
85
  requestType: "json",
@@ -132,7 +132,7 @@ class Deployments {
132
132
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
133
133
  .default, `v1/deployments/${encodeURIComponent(id)}`),
134
134
  method: "GET",
135
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.29", "User-Agent": "vellum-ai/0.8.29", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
135
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.0", "User-Agent": "vellum-ai/0.9.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
136
136
  contentType: "application/json",
137
137
  requestType: "json",
138
138
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -185,7 +185,7 @@ class Deployments {
185
185
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
186
186
  .default, `v1/deployments/${encodeURIComponent(id)}/release-tags/${encodeURIComponent(name)}`),
187
187
  method: "GET",
188
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.29", "User-Agent": "vellum-ai/0.8.29", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
188
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.0", "User-Agent": "vellum-ai/0.9.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
189
189
  contentType: "application/json",
190
190
  requestType: "json",
191
191
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -239,7 +239,7 @@ class Deployments {
239
239
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
240
240
  .default, `v1/deployments/${encodeURIComponent(id)}/release-tags/${encodeURIComponent(name)}`),
241
241
  method: "PATCH",
242
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.29", "User-Agent": "vellum-ai/0.8.29", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
242
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.0", "User-Agent": "vellum-ai/0.9.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
243
243
  contentType: "application/json",
244
244
  requestType: "json",
245
245
  body: serializers.PatchedDeploymentReleaseTagUpdateRequest.jsonOrThrow(request, {
@@ -314,7 +314,7 @@ class Deployments {
314
314
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
315
315
  .default, "v1/deployments/provider-payload"),
316
316
  method: "POST",
317
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.29", "User-Agent": "vellum-ai/0.8.29", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
317
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.0", "User-Agent": "vellum-ai/0.9.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
318
318
  contentType: "application/json",
319
319
  requestType: "json",
320
320
  body: serializers.DeploymentProviderPayloadRequest.jsonOrThrow(request, {
@@ -81,7 +81,7 @@ class DocumentIndexes {
81
81
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
82
82
  .default, "v1/document-indexes"),
83
83
  method: "GET",
84
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.29", "User-Agent": "vellum-ai/0.8.29", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
84
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.0", "User-Agent": "vellum-ai/0.9.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
85
85
  contentType: "application/json",
86
86
  queryParameters: _queryParams,
87
87
  requestType: "json",
@@ -196,7 +196,7 @@ class DocumentIndexes {
196
196
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
197
197
  .default, "v1/document-indexes"),
198
198
  method: "POST",
199
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.29", "User-Agent": "vellum-ai/0.8.29", "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.9.0", "User-Agent": "vellum-ai/0.9.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
200
200
  contentType: "application/json",
201
201
  requestType: "json",
202
202
  body: serializers.DocumentIndexCreateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -249,7 +249,7 @@ class DocumentIndexes {
249
249
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
250
250
  .default, `v1/document-indexes/${encodeURIComponent(id)}`),
251
251
  method: "GET",
252
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.29", "User-Agent": "vellum-ai/0.8.29", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
252
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.0", "User-Agent": "vellum-ai/0.9.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
253
253
  contentType: "application/json",
254
254
  requestType: "json",
255
255
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -304,7 +304,7 @@ class DocumentIndexes {
304
304
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
305
305
  .default, `v1/document-indexes/${encodeURIComponent(id)}`),
306
306
  method: "PUT",
307
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.29", "User-Agent": "vellum-ai/0.8.29", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
307
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.0", "User-Agent": "vellum-ai/0.9.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
308
308
  contentType: "application/json",
309
309
  requestType: "json",
310
310
  body: serializers.DocumentIndexUpdateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -357,7 +357,7 @@ class DocumentIndexes {
357
357
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
358
358
  .documents, `v1/document-indexes/${encodeURIComponent(id)}`),
359
359
  method: "DELETE",
360
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.29", "User-Agent": "vellum-ai/0.8.29", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
360
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.0", "User-Agent": "vellum-ai/0.9.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
361
361
  contentType: "application/json",
362
362
  requestType: "json",
363
363
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -405,7 +405,7 @@ class DocumentIndexes {
405
405
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
406
406
  .default, `v1/document-indexes/${encodeURIComponent(id)}`),
407
407
  method: "PATCH",
408
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.29", "User-Agent": "vellum-ai/0.8.29", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
408
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.0", "User-Agent": "vellum-ai/0.9.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
409
409
  contentType: "application/json",
410
410
  requestType: "json",
411
411
  body: serializers.PatchedDocumentIndexUpdateRequest.jsonOrThrow(request, {
@@ -461,7 +461,7 @@ class DocumentIndexes {
461
461
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
462
462
  .default, `v1/document-indexes/${encodeURIComponent(id)}/documents/${encodeURIComponent(documentId)}`),
463
463
  method: "POST",
464
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.29", "User-Agent": "vellum-ai/0.8.29", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
464
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.0", "User-Agent": "vellum-ai/0.9.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
465
465
  contentType: "application/json",
466
466
  requestType: "json",
467
467
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -509,7 +509,7 @@ class DocumentIndexes {
509
509
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
510
510
  .documents, `v1/document-indexes/${encodeURIComponent(id)}/documents/${encodeURIComponent(documentId)}`),
511
511
  method: "DELETE",
512
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.29", "User-Agent": "vellum-ai/0.8.29", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
512
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.0", "User-Agent": "vellum-ai/0.9.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
513
513
  contentType: "application/json",
514
514
  requestType: "json",
515
515
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -79,7 +79,7 @@ class Documents {
79
79
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
80
80
  .default, "v1/documents"),
81
81
  method: "GET",
82
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.29", "User-Agent": "vellum-ai/0.8.29", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
82
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.0", "User-Agent": "vellum-ai/0.9.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
83
83
  contentType: "application/json",
84
84
  queryParameters: _queryParams,
85
85
  requestType: "json",
@@ -132,7 +132,7 @@ class Documents {
132
132
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
133
133
  .default, `v1/documents/${encodeURIComponent(id)}`),
134
134
  method: "GET",
135
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.29", "User-Agent": "vellum-ai/0.8.29", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
135
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.0", "User-Agent": "vellum-ai/0.9.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
136
136
  contentType: "application/json",
137
137
  requestType: "json",
138
138
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -184,7 +184,7 @@ class Documents {
184
184
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
185
185
  .documents, `v1/documents/${encodeURIComponent(id)}`),
186
186
  method: "DELETE",
187
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.29", "User-Agent": "vellum-ai/0.8.29", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
187
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.0", "User-Agent": "vellum-ai/0.9.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
188
188
  contentType: "application/json",
189
189
  requestType: "json",
190
190
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -232,7 +232,7 @@ class Documents {
232
232
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
233
233
  .default, `v1/documents/${encodeURIComponent(id)}`),
234
234
  method: "PATCH",
235
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.29", "User-Agent": "vellum-ai/0.8.29", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
235
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.0", "User-Agent": "vellum-ai/0.9.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
236
236
  contentType: "application/json",
237
237
  requestType: "json",
238
238
  body: serializers.PatchedDocumentUpdateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -322,7 +322,7 @@ class Documents {
322
322
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
323
323
  .documents, "v1/upload-document"),
324
324
  method: "POST",
325
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.29", "User-Agent": "vellum-ai/0.8.29", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), _maybeEncodedRequest.headers),
325
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.0", "User-Agent": "vellum-ai/0.9.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), _maybeEncodedRequest.headers),
326
326
  requestType: "file",
327
327
  duplex: _maybeEncodedRequest.duplex,
328
328
  body: _maybeEncodedRequest.body,
@@ -81,7 +81,7 @@ class FolderEntities {
81
81
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
82
82
  .default, "v1/folder-entities"),
83
83
  method: "GET",
84
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.29", "User-Agent": "vellum-ai/0.8.29", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
84
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.0", "User-Agent": "vellum-ai/0.9.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
85
85
  contentType: "application/json",
86
86
  queryParameters: _queryParams,
87
87
  requestType: "json",
@@ -145,7 +145,7 @@ class FolderEntities {
145
145
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
146
146
  .default, `v1/folders/${encodeURIComponent(folderId)}/add-entity`),
147
147
  method: "POST",
148
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.29", "User-Agent": "vellum-ai/0.8.29", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
148
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.0", "User-Agent": "vellum-ai/0.9.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
149
149
  contentType: "application/json",
150
150
  requestType: "json",
151
151
  body: serializers.AddEntityToFolderRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -27,3 +27,4 @@ export * from "./testSuites/client/requests";
27
27
  export * from "./workflowDeployments/client/requests";
28
28
  export * from "./workflowSandboxes/client/requests";
29
29
  export * from "./workflows/client/requests";
30
+ export * from "./workspaceSecrets/client/requests";
@@ -56,3 +56,4 @@ __exportStar(require("./testSuites/client/requests"), exports);
56
56
  __exportStar(require("./workflowDeployments/client/requests"), exports);
57
57
  __exportStar(require("./workflowSandboxes/client/requests"), exports);
58
58
  __exportStar(require("./workflows/client/requests"), exports);
59
+ __exportStar(require("./workspaceSecrets/client/requests"), exports);
@@ -71,7 +71,7 @@ class MetricDefinitions {
71
71
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
72
72
  .default, `v1/metric-definitions/${encodeURIComponent(id)}/execute`),
73
73
  method: "POST",
74
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.29", "User-Agent": "vellum-ai/0.8.29", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
74
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.0", "User-Agent": "vellum-ai/0.9.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
75
75
  contentType: "application/json",
76
76
  requestType: "json",
77
77
  body: serializers.ExecuteMetricDefinitionRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -64,7 +64,7 @@ class Sandboxes {
64
64
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
65
65
  .default, `v1/sandboxes/${encodeURIComponent(id)}/prompts/${encodeURIComponent(promptVariantId)}/deploy`),
66
66
  method: "POST",
67
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.29", "User-Agent": "vellum-ai/0.8.29", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
67
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.0", "User-Agent": "vellum-ai/0.9.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
68
68
  contentType: "application/json",
69
69
  requestType: "json",
70
70
  body: serializers.DeploySandboxPromptRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -151,7 +151,7 @@ class Sandboxes {
151
151
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
152
152
  .default, `v1/sandboxes/${encodeURIComponent(id)}/scenarios`),
153
153
  method: "POST",
154
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.29", "User-Agent": "vellum-ai/0.8.29", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
154
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.0", "User-Agent": "vellum-ai/0.9.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
155
155
  contentType: "application/json",
156
156
  requestType: "json",
157
157
  body: serializers.UpsertSandboxScenarioRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -205,7 +205,7 @@ class Sandboxes {
205
205
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
206
206
  .default, `v1/sandboxes/${encodeURIComponent(id)}/scenarios/${encodeURIComponent(scenarioId)}`),
207
207
  method: "DELETE",
208
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.29", "User-Agent": "vellum-ai/0.8.29", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
208
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.0", "User-Agent": "vellum-ai/0.9.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
209
209
  contentType: "application/json",
210
210
  requestType: "json",
211
211
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -71,7 +71,7 @@ class TestSuiteRuns {
71
71
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
72
72
  .default, "v1/test-suite-runs"),
73
73
  method: "POST",
74
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.29", "User-Agent": "vellum-ai/0.8.29", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
74
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.0", "User-Agent": "vellum-ai/0.9.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
75
75
  contentType: "application/json",
76
76
  requestType: "json",
77
77
  body: serializers.TestSuiteRunCreateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -124,7 +124,7 @@ class TestSuiteRuns {
124
124
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
125
125
  .default, `v1/test-suite-runs/${encodeURIComponent(id)}`),
126
126
  method: "GET",
127
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.29", "User-Agent": "vellum-ai/0.8.29", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
127
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.0", "User-Agent": "vellum-ai/0.9.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
128
128
  contentType: "application/json",
129
129
  requestType: "json",
130
130
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -191,7 +191,7 @@ class TestSuiteRuns {
191
191
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
192
192
  .default, `v1/test-suite-runs/${encodeURIComponent(id)}/executions`),
193
193
  method: "GET",
194
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.29", "User-Agent": "vellum-ai/0.8.29", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
194
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.0", "User-Agent": "vellum-ai/0.9.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
195
195
  contentType: "application/json",
196
196
  queryParameters: _queryParams,
197
197
  requestType: "json",
@@ -73,7 +73,7 @@ class TestSuites {
73
73
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
74
74
  .default, `v1/test-suites/${encodeURIComponent(id)}/test-cases`),
75
75
  method: "GET",
76
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.29", "User-Agent": "vellum-ai/0.8.29", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
76
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.0", "User-Agent": "vellum-ai/0.9.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
77
77
  contentType: "application/json",
78
78
  queryParameters: _queryParams,
79
79
  requestType: "json",
@@ -142,7 +142,7 @@ class TestSuites {
142
142
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
143
143
  .default, `v1/test-suites/${encodeURIComponent(id)}/test-cases`),
144
144
  method: "POST",
145
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.29", "User-Agent": "vellum-ai/0.8.29", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
145
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.0", "User-Agent": "vellum-ai/0.9.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
146
146
  contentType: "application/json",
147
147
  requestType: "json",
148
148
  body: serializers.UpsertTestSuiteTestCaseRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -189,7 +189,7 @@ class TestSuites {
189
189
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
190
190
  .default, `v1/test-suites/${encodeURIComponent(id)}/test-cases-bulk`),
191
191
  method: "POST",
192
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.29", "User-Agent": "vellum-ai/0.8.29", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
192
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.0", "User-Agent": "vellum-ai/0.9.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
193
193
  contentType: "application/json",
194
194
  requestType: "json",
195
195
  body: serializers.testSuites.testSuiteTestCasesBulk.Request.jsonOrThrow(request, {
@@ -256,7 +256,7 @@ class TestSuites {
256
256
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
257
257
  .default, `v1/test-suites/${encodeURIComponent(id)}/test-cases/${encodeURIComponent(testCaseId)}`),
258
258
  method: "DELETE",
259
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.29", "User-Agent": "vellum-ai/0.8.29", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
259
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.0", "User-Agent": "vellum-ai/0.9.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
260
260
  contentType: "application/json",
261
261
  requestType: "json",
262
262
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -78,7 +78,7 @@ class WorkflowDeployments {
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/workflow-deployments"),
80
80
  method: "GET",
81
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.29", "User-Agent": "vellum-ai/0.8.29", "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.9.0", "User-Agent": "vellum-ai/0.9.0", "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
  requestType: "json",
@@ -131,7 +131,7 @@ class WorkflowDeployments {
131
131
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
132
132
  .default, `v1/workflow-deployments/${encodeURIComponent(id)}`),
133
133
  method: "GET",
134
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.29", "User-Agent": "vellum-ai/0.8.29", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
134
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.0", "User-Agent": "vellum-ai/0.9.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
135
135
  contentType: "application/json",
136
136
  requestType: "json",
137
137
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -184,7 +184,7 @@ class WorkflowDeployments {
184
184
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
185
185
  .default, `v1/workflow-deployments/${encodeURIComponent(id)}/release-tags/${encodeURIComponent(name)}`),
186
186
  method: "GET",
187
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.29", "User-Agent": "vellum-ai/0.8.29", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
187
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.0", "User-Agent": "vellum-ai/0.9.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
188
188
  contentType: "application/json",
189
189
  requestType: "json",
190
190
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -238,7 +238,7 @@ class WorkflowDeployments {
238
238
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
239
239
  .default, `v1/workflow-deployments/${encodeURIComponent(id)}/release-tags/${encodeURIComponent(name)}`),
240
240
  method: "PATCH",
241
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.29", "User-Agent": "vellum-ai/0.8.29", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
241
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.0", "User-Agent": "vellum-ai/0.9.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
242
242
  contentType: "application/json",
243
243
  requestType: "json",
244
244
  body: serializers.PatchedWorkflowReleaseTagUpdateRequest.jsonOrThrow(request, {
@@ -64,7 +64,7 @@ class WorkflowSandboxes {
64
64
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
65
65
  .default, `v1/workflow-sandboxes/${encodeURIComponent(id)}/workflows/${encodeURIComponent(workflowId)}/deploy`),
66
66
  method: "POST",
67
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.29", "User-Agent": "vellum-ai/0.8.29", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
67
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.0", "User-Agent": "vellum-ai/0.9.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
68
68
  contentType: "application/json",
69
69
  requestType: "json",
70
70
  body: serializers.DeploySandboxWorkflowRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),