vellum-ai 0.9.11 → 0.9.13

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 (246) hide show
  1. package/.mock/definition/__package__.yml +90 -74
  2. package/.mock/definition/adHoc.yml +1 -0
  3. package/.mock/definition/metricDefinitions.yml +2 -2
  4. package/.mock/openapi/openapi.yml +140 -106
  5. package/Client.d.ts +2 -2
  6. package/Client.js +12 -12
  7. package/api/client/requests/{CodeExecutorRequest.d.ts → CodeExecutor.d.ts} +3 -3
  8. package/api/client/requests/index.d.ts +1 -1
  9. package/api/resources/adHoc/client/Client.js +1 -1
  10. package/api/resources/adHoc/client/requests/AdHocExecutePromptStream.d.ts +17 -3
  11. package/api/resources/containerImages/client/Client.js +4 -4
  12. package/api/resources/deployments/client/Client.js +6 -6
  13. package/api/resources/documentIndexes/client/Client.js +8 -8
  14. package/api/resources/documents/client/Client.js +5 -5
  15. package/api/resources/folderEntities/client/Client.js +2 -2
  16. package/api/resources/metricDefinitions/client/Client.d.ts +2 -2
  17. package/api/resources/metricDefinitions/client/Client.js +3 -3
  18. package/api/resources/metricDefinitions/client/requests/{ExecuteMetricDefinitionRequest.d.ts → ExecuteMetricDefinition.d.ts} +2 -2
  19. package/api/resources/metricDefinitions/client/requests/index.d.ts +1 -1
  20. package/api/resources/sandboxes/client/Client.js +3 -3
  21. package/api/resources/testSuiteRuns/client/Client.js +3 -3
  22. package/api/resources/testSuites/client/Client.js +4 -4
  23. package/api/resources/workflowDeployments/client/Client.js +5 -5
  24. package/api/resources/workflowSandboxes/client/Client.js +1 -1
  25. package/api/resources/workflows/client/Client.js +2 -2
  26. package/api/resources/workspaceSecrets/client/Client.js +2 -2
  27. package/api/types/{ArrayInputRequest.d.ts → ArrayInput.d.ts} +2 -2
  28. package/api/types/ChatHistoryInput.d.ts +13 -0
  29. package/{dist/api/types/CodeExecutionPackageRequest.d.ts → api/types/CodeExecutionPackage.d.ts} +1 -1
  30. package/api/types/CodeExecutorInput.d.ts +5 -0
  31. package/{dist/api/types/CodeExecutorSecretInputRequest.d.ts → api/types/CodeExecutorSecretInput.d.ts} +1 -1
  32. package/api/types/{ProcessingStateEnum.d.ts → DocumentProcessingState.d.ts} +4 -2
  33. package/api/types/{ProcessingStateEnum.js → DocumentProcessingState.js} +3 -2
  34. package/api/types/DocumentRead.d.ts +1 -9
  35. package/api/types/{ErrorInputRequest.d.ts → ErrorInput.d.ts} +2 -2
  36. package/{dist/api/types/FunctionCallInputRequest.d.ts → api/types/FunctionCallInput.d.ts} +2 -2
  37. package/{dist/api/types/FunctionDefinitionPromptBlock.d.ts → api/types/FunctionDefinition.d.ts} +6 -7
  38. package/api/types/JsonInput.d.ts +12 -0
  39. package/api/types/MetricDefinitionInput.d.ts +5 -0
  40. package/api/types/{NumberInputRequest.d.ts → NumberInput.d.ts} +1 -1
  41. package/api/types/PromptBlock.d.ts +1 -1
  42. package/{dist/api/types/SearchResultsInputRequest.d.ts → api/types/SearchResultsInput.d.ts} +2 -2
  43. package/api/types/SlimDocument.d.ts +1 -9
  44. package/api/types/StringInput.d.ts +12 -0
  45. package/api/types/VellumErrorCodeEnum.d.ts +3 -1
  46. package/api/types/VellumErrorCodeEnum.js +1 -0
  47. package/api/types/index.d.ts +14 -11
  48. package/api/types/index.js +14 -11
  49. package/dist/Client.d.ts +2 -2
  50. package/dist/Client.js +12 -12
  51. package/dist/api/client/requests/{CodeExecutorRequest.d.ts → CodeExecutor.d.ts} +3 -3
  52. package/dist/api/client/requests/index.d.ts +1 -1
  53. package/dist/api/resources/adHoc/client/Client.js +1 -1
  54. package/dist/api/resources/adHoc/client/requests/AdHocExecutePromptStream.d.ts +17 -3
  55. package/dist/api/resources/containerImages/client/Client.js +4 -4
  56. package/dist/api/resources/deployments/client/Client.js +6 -6
  57. package/dist/api/resources/documentIndexes/client/Client.js +8 -8
  58. package/dist/api/resources/documents/client/Client.js +5 -5
  59. package/dist/api/resources/folderEntities/client/Client.js +2 -2
  60. package/dist/api/resources/metricDefinitions/client/Client.d.ts +2 -2
  61. package/dist/api/resources/metricDefinitions/client/Client.js +3 -3
  62. package/dist/api/resources/metricDefinitions/client/requests/{ExecuteMetricDefinitionRequest.d.ts → ExecuteMetricDefinition.d.ts} +2 -2
  63. package/dist/api/resources/metricDefinitions/client/requests/index.d.ts +1 -1
  64. package/dist/api/resources/sandboxes/client/Client.js +3 -3
  65. package/dist/api/resources/testSuiteRuns/client/Client.js +3 -3
  66. package/dist/api/resources/testSuites/client/Client.js +4 -4
  67. package/dist/api/resources/workflowDeployments/client/Client.js +5 -5
  68. package/dist/api/resources/workflowSandboxes/client/Client.js +1 -1
  69. package/dist/api/resources/workflows/client/Client.js +2 -2
  70. package/dist/api/resources/workspaceSecrets/client/Client.js +2 -2
  71. package/dist/api/types/{ArrayInputRequest.d.ts → ArrayInput.d.ts} +2 -2
  72. package/dist/api/types/ChatHistoryInput.d.ts +13 -0
  73. package/{api/types/CodeExecutionPackageRequest.d.ts → dist/api/types/CodeExecutionPackage.d.ts} +1 -1
  74. package/dist/api/types/CodeExecutorInput.d.ts +5 -0
  75. package/{api/types/CodeExecutorSecretInputRequest.d.ts → dist/api/types/CodeExecutorSecretInput.d.ts} +1 -1
  76. package/dist/api/types/{ProcessingStateEnum.d.ts → DocumentProcessingState.d.ts} +4 -2
  77. package/dist/api/types/{ProcessingStateEnum.js → DocumentProcessingState.js} +3 -2
  78. package/dist/api/types/DocumentRead.d.ts +1 -9
  79. package/dist/api/types/{ErrorInputRequest.d.ts → ErrorInput.d.ts} +2 -2
  80. package/{api/types/FunctionCallInputRequest.d.ts → dist/api/types/FunctionCallInput.d.ts} +2 -2
  81. package/{api/types/FunctionDefinitionPromptBlock.d.ts → dist/api/types/FunctionDefinition.d.ts} +6 -7
  82. package/dist/api/types/FunctionDefinition.js +5 -0
  83. package/dist/api/types/JsonInput.d.ts +12 -0
  84. package/dist/api/types/JsonInput.js +5 -0
  85. package/dist/api/types/MetricDefinitionInput.d.ts +5 -0
  86. package/dist/api/types/MetricDefinitionInput.js +5 -0
  87. package/dist/api/types/{NumberInputRequest.d.ts → NumberInput.d.ts} +1 -1
  88. package/dist/api/types/NumberInput.js +5 -0
  89. package/dist/api/types/PromptBlock.d.ts +1 -1
  90. package/{api/types/SearchResultsInputRequest.d.ts → dist/api/types/SearchResultsInput.d.ts} +2 -2
  91. package/dist/api/types/SearchResultsInput.js +5 -0
  92. package/dist/api/types/SlimDocument.d.ts +1 -9
  93. package/dist/api/types/StringInput.d.ts +12 -0
  94. package/dist/api/types/StringInput.js +5 -0
  95. package/dist/api/types/VellumErrorCodeEnum.d.ts +3 -1
  96. package/dist/api/types/VellumErrorCodeEnum.js +1 -0
  97. package/dist/api/types/index.d.ts +14 -11
  98. package/dist/api/types/index.js +14 -11
  99. package/dist/serialization/client/requests/{CodeExecutorRequest.d.ts → CodeExecutor.d.ts} +6 -6
  100. package/dist/serialization/client/requests/{CodeExecutorRequest.js → CodeExecutor.js} +6 -6
  101. package/dist/serialization/client/requests/index.d.ts +1 -1
  102. package/dist/serialization/client/requests/index.js +3 -3
  103. package/dist/serialization/resources/adHoc/client/requests/AdHocExecutePromptStream.d.ts +2 -0
  104. package/dist/serialization/resources/adHoc/client/requests/AdHocExecutePromptStream.js +2 -0
  105. package/dist/serialization/resources/metricDefinitions/client/requests/ExecuteMetricDefinition.d.ts +14 -0
  106. package/{serialization/resources/metricDefinitions/client/requests/ExecuteMetricDefinitionRequest.js → dist/serialization/resources/metricDefinitions/client/requests/ExecuteMetricDefinition.js} +4 -4
  107. package/dist/serialization/resources/metricDefinitions/client/requests/index.d.ts +1 -1
  108. package/dist/serialization/resources/metricDefinitions/client/requests/index.js +3 -3
  109. package/dist/serialization/types/{ArrayInputRequest.d.ts → ArrayInput.d.ts} +3 -3
  110. package/{serialization/types/ArrayInputRequest.js → dist/serialization/types/ArrayInput.js} +3 -3
  111. package/dist/serialization/types/ChatHistoryInput.d.ts +15 -0
  112. package/dist/serialization/types/ChatHistoryInput.js +36 -0
  113. package/{serialization/types/CodeExecutionPackageRequest.d.ts → dist/serialization/types/CodeExecutionPackage.d.ts} +2 -2
  114. package/dist/serialization/types/{CodeExecutionPackageRequest.js → CodeExecutionPackage.js} +2 -2
  115. package/dist/serialization/types/CodeExecutorInput.d.ts +19 -0
  116. package/dist/serialization/types/{MetricDefinitionInputRequest.js → CodeExecutorInput.js} +20 -10
  117. package/{serialization/types/CodeExecutorSecretInputRequest.d.ts → dist/serialization/types/CodeExecutorSecretInput.d.ts} +2 -2
  118. package/{serialization/types/CodeExecutorSecretInputRequest.js → dist/serialization/types/CodeExecutorSecretInput.js} +2 -2
  119. package/dist/serialization/types/DocumentProcessingState.d.ts +10 -0
  120. package/dist/serialization/types/{ProcessingStateEnum.js → DocumentProcessingState.js} +2 -2
  121. package/dist/serialization/types/DocumentRead.d.ts +2 -2
  122. package/dist/serialization/types/DocumentRead.js +2 -2
  123. package/dist/serialization/types/ErrorInput.d.ts +15 -0
  124. package/dist/serialization/types/{ErrorInputRequest.js → ErrorInput.js} +4 -4
  125. package/dist/serialization/types/FunctionCallInput.d.ts +15 -0
  126. package/{serialization/types/FunctionCallInputRequest.js → dist/serialization/types/FunctionCallInput.js} +4 -4
  127. package/dist/serialization/types/FunctionDefinition.d.ts +20 -0
  128. package/dist/serialization/types/{FunctionDefinitionPromptBlock.js → FunctionDefinition.js} +7 -8
  129. package/dist/serialization/types/JsonInput.d.ts +14 -0
  130. package/dist/serialization/types/JsonInput.js +35 -0
  131. package/dist/serialization/types/MetricDefinitionInput.d.ts +14 -0
  132. package/dist/serialization/types/MetricDefinitionInput.js +35 -0
  133. package/{serialization/types/NumberInputRequest.d.ts → dist/serialization/types/NumberInput.d.ts} +2 -2
  134. package/dist/serialization/types/{NumberInputRequest.js → NumberInput.js} +2 -2
  135. package/dist/serialization/types/PromptBlock.d.ts +1 -2
  136. package/dist/serialization/types/PromptBlock.js +0 -2
  137. package/dist/serialization/types/SearchResultsInput.d.ts +15 -0
  138. package/dist/serialization/types/{SearchResultsInputRequest.js → SearchResultsInput.js} +4 -4
  139. package/dist/serialization/types/SlimDocument.d.ts +2 -2
  140. package/dist/serialization/types/SlimDocument.js +2 -2
  141. package/dist/serialization/types/StringInput.d.ts +14 -0
  142. package/dist/serialization/types/StringInput.js +35 -0
  143. package/dist/serialization/types/VellumErrorCodeEnum.d.ts +1 -1
  144. package/dist/serialization/types/VellumErrorCodeEnum.js +1 -0
  145. package/dist/serialization/types/index.d.ts +14 -11
  146. package/dist/serialization/types/index.js +14 -11
  147. package/dist/version.d.ts +1 -1
  148. package/dist/version.js +1 -1
  149. package/package.json +1 -1
  150. package/reference.md +19 -4
  151. package/serialization/client/requests/{CodeExecutorRequest.d.ts → CodeExecutor.d.ts} +6 -6
  152. package/serialization/client/requests/{CodeExecutorRequest.js → CodeExecutor.js} +6 -6
  153. package/serialization/client/requests/index.d.ts +1 -1
  154. package/serialization/client/requests/index.js +3 -3
  155. package/serialization/resources/adHoc/client/requests/AdHocExecutePromptStream.d.ts +2 -0
  156. package/serialization/resources/adHoc/client/requests/AdHocExecutePromptStream.js +2 -0
  157. package/serialization/resources/metricDefinitions/client/requests/ExecuteMetricDefinition.d.ts +14 -0
  158. package/{dist/serialization/resources/metricDefinitions/client/requests/ExecuteMetricDefinitionRequest.js → serialization/resources/metricDefinitions/client/requests/ExecuteMetricDefinition.js} +4 -4
  159. package/serialization/resources/metricDefinitions/client/requests/index.d.ts +1 -1
  160. package/serialization/resources/metricDefinitions/client/requests/index.js +3 -3
  161. package/serialization/types/{ArrayInputRequest.d.ts → ArrayInput.d.ts} +3 -3
  162. package/{dist/serialization/types/ArrayInputRequest.js → serialization/types/ArrayInput.js} +3 -3
  163. package/serialization/types/ChatHistoryInput.d.ts +15 -0
  164. package/serialization/types/ChatHistoryInput.js +36 -0
  165. package/{dist/serialization/types/CodeExecutionPackageRequest.d.ts → serialization/types/CodeExecutionPackage.d.ts} +2 -2
  166. package/serialization/types/{CodeExecutionPackageRequest.js → CodeExecutionPackage.js} +2 -2
  167. package/serialization/types/CodeExecutorInput.d.ts +19 -0
  168. package/serialization/types/{MetricDefinitionInputRequest.js → CodeExecutorInput.js} +20 -10
  169. package/{dist/serialization/types/CodeExecutorSecretInputRequest.d.ts → serialization/types/CodeExecutorSecretInput.d.ts} +2 -2
  170. package/{dist/serialization/types/CodeExecutorSecretInputRequest.js → serialization/types/CodeExecutorSecretInput.js} +2 -2
  171. package/serialization/types/DocumentProcessingState.d.ts +10 -0
  172. package/serialization/types/{ProcessingStateEnum.js → DocumentProcessingState.js} +2 -2
  173. package/serialization/types/DocumentRead.d.ts +2 -2
  174. package/serialization/types/DocumentRead.js +2 -2
  175. package/serialization/types/ErrorInput.d.ts +15 -0
  176. package/serialization/types/{ErrorInputRequest.js → ErrorInput.js} +4 -4
  177. package/serialization/types/FunctionCallInput.d.ts +15 -0
  178. package/{dist/serialization/types/FunctionCallInputRequest.js → serialization/types/FunctionCallInput.js} +4 -4
  179. package/serialization/types/FunctionDefinition.d.ts +20 -0
  180. package/serialization/types/{FunctionDefinitionPromptBlock.js → FunctionDefinition.js} +7 -8
  181. package/serialization/types/JsonInput.d.ts +14 -0
  182. package/serialization/types/JsonInput.js +35 -0
  183. package/serialization/types/MetricDefinitionInput.d.ts +14 -0
  184. package/serialization/types/MetricDefinitionInput.js +35 -0
  185. package/{dist/serialization/types/NumberInputRequest.d.ts → serialization/types/NumberInput.d.ts} +2 -2
  186. package/serialization/types/{NumberInputRequest.js → NumberInput.js} +2 -2
  187. package/serialization/types/PromptBlock.d.ts +1 -2
  188. package/serialization/types/PromptBlock.js +0 -2
  189. package/serialization/types/SearchResultsInput.d.ts +15 -0
  190. package/serialization/types/{SearchResultsInputRequest.js → SearchResultsInput.js} +4 -4
  191. package/serialization/types/SlimDocument.d.ts +2 -2
  192. package/serialization/types/SlimDocument.js +2 -2
  193. package/serialization/types/StringInput.d.ts +14 -0
  194. package/serialization/types/StringInput.js +35 -0
  195. package/serialization/types/VellumErrorCodeEnum.d.ts +1 -1
  196. package/serialization/types/VellumErrorCodeEnum.js +1 -0
  197. package/serialization/types/index.d.ts +14 -11
  198. package/serialization/types/index.js +14 -11
  199. package/version.d.ts +1 -1
  200. package/version.js +1 -1
  201. package/api/types/CodeExecutorInputRequest.d.ts +0 -5
  202. package/api/types/MetricDefinitionInputRequest.d.ts +0 -5
  203. package/dist/api/types/CodeExecutorInputRequest.d.ts +0 -5
  204. package/dist/api/types/MetricDefinitionInputRequest.d.ts +0 -5
  205. package/dist/serialization/resources/metricDefinitions/client/requests/ExecuteMetricDefinitionRequest.d.ts +0 -14
  206. package/dist/serialization/types/CodeExecutorInputRequest.d.ts +0 -19
  207. package/dist/serialization/types/CodeExecutorInputRequest.js +0 -50
  208. package/dist/serialization/types/ErrorInputRequest.d.ts +0 -15
  209. package/dist/serialization/types/FunctionCallInputRequest.d.ts +0 -15
  210. package/dist/serialization/types/FunctionDefinitionPromptBlock.d.ts +0 -21
  211. package/dist/serialization/types/MetricDefinitionInputRequest.d.ts +0 -14
  212. package/dist/serialization/types/ProcessingStateEnum.d.ts +0 -10
  213. package/dist/serialization/types/SearchResultsInputRequest.d.ts +0 -15
  214. package/serialization/resources/metricDefinitions/client/requests/ExecuteMetricDefinitionRequest.d.ts +0 -14
  215. package/serialization/types/CodeExecutorInputRequest.d.ts +0 -19
  216. package/serialization/types/CodeExecutorInputRequest.js +0 -50
  217. package/serialization/types/ErrorInputRequest.d.ts +0 -15
  218. package/serialization/types/FunctionCallInputRequest.d.ts +0 -15
  219. package/serialization/types/FunctionDefinitionPromptBlock.d.ts +0 -21
  220. package/serialization/types/MetricDefinitionInputRequest.d.ts +0 -14
  221. package/serialization/types/ProcessingStateEnum.d.ts +0 -10
  222. package/serialization/types/SearchResultsInputRequest.d.ts +0 -15
  223. /package/api/client/requests/{CodeExecutorRequest.js → CodeExecutor.js} +0 -0
  224. /package/api/resources/metricDefinitions/client/requests/{ExecuteMetricDefinitionRequest.js → ExecuteMetricDefinition.js} +0 -0
  225. /package/api/types/{ArrayInputRequest.js → ArrayInput.js} +0 -0
  226. /package/api/types/{CodeExecutionPackageRequest.js → ChatHistoryInput.js} +0 -0
  227. /package/api/types/{CodeExecutorInputRequest.js → CodeExecutionPackage.js} +0 -0
  228. /package/api/types/{CodeExecutorSecretInputRequest.js → CodeExecutorInput.js} +0 -0
  229. /package/api/types/{ErrorInputRequest.js → CodeExecutorSecretInput.js} +0 -0
  230. /package/api/types/{FunctionCallInputRequest.js → ErrorInput.js} +0 -0
  231. /package/api/types/{FunctionDefinitionPromptBlock.js → FunctionCallInput.js} +0 -0
  232. /package/api/types/{MetricDefinitionInputRequest.js → FunctionDefinition.js} +0 -0
  233. /package/api/types/{NumberInputRequest.js → JsonInput.js} +0 -0
  234. /package/api/types/{SearchResultsInputRequest.js → MetricDefinitionInput.js} +0 -0
  235. /package/{dist/api/client/requests/CodeExecutorRequest.js → api/types/NumberInput.js} +0 -0
  236. /package/{dist/api/resources/metricDefinitions/client/requests/ExecuteMetricDefinitionRequest.js → api/types/SearchResultsInput.js} +0 -0
  237. /package/{dist/api/types/ArrayInputRequest.js → api/types/StringInput.js} +0 -0
  238. /package/dist/api/{types/CodeExecutionPackageRequest.js → client/requests/CodeExecutor.js} +0 -0
  239. /package/dist/api/{types/CodeExecutorInputRequest.js → resources/metricDefinitions/client/requests/ExecuteMetricDefinition.js} +0 -0
  240. /package/dist/api/types/{CodeExecutorSecretInputRequest.js → ArrayInput.js} +0 -0
  241. /package/dist/api/types/{ErrorInputRequest.js → ChatHistoryInput.js} +0 -0
  242. /package/dist/api/types/{FunctionCallInputRequest.js → CodeExecutionPackage.js} +0 -0
  243. /package/dist/api/types/{FunctionDefinitionPromptBlock.js → CodeExecutorInput.js} +0 -0
  244. /package/dist/api/types/{MetricDefinitionInputRequest.js → CodeExecutorSecretInput.js} +0 -0
  245. /package/dist/api/types/{NumberInputRequest.js → ErrorInput.js} +0 -0
  246. /package/dist/api/types/{SearchResultsInputRequest.js → FunctionCallInput.js} +0 -0
@@ -18,9 +18,7 @@ import * as Vellum from "../../../../index";
18
18
  * required: true,
19
19
  * default: {
20
20
  * type: "STRING",
21
- * value: {
22
- * "key": "value"
23
- * }
21
+ * value: "string"
24
22
  * },
25
23
  * extensions: {
26
24
  * color: {
@@ -58,6 +56,21 @@ import * as Vellum from "../../../../index";
58
56
  * blockType: "JINJA",
59
57
  * template: "string"
60
58
  * }],
59
+ * functions: [{
60
+ * state: "ENABLED",
61
+ * cacheConfig: {
62
+ * type: "EPHEMERAL"
63
+ * },
64
+ * name: "string",
65
+ * description: "string",
66
+ * parameters: {
67
+ * "string": {
68
+ * "key": "value"
69
+ * }
70
+ * },
71
+ * forced: true,
72
+ * strict: true
73
+ * }],
61
74
  * expandMeta: {
62
75
  * cost: true,
63
76
  * modelName: true,
@@ -73,5 +86,6 @@ export interface AdHocExecutePromptStream {
73
86
  parameters: Vellum.PromptParameters;
74
87
  settings?: Vellum.PromptSettings;
75
88
  blocks: Vellum.PromptBlock[];
89
+ functions?: Vellum.FunctionDefinition[];
76
90
  expandMeta?: Vellum.AdHocExpandMeta;
77
91
  }
@@ -75,7 +75,7 @@ class ContainerImages {
75
75
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
76
76
  .default, "v1/container-images"),
77
77
  method: "GET",
78
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.11", "User-Agent": "vellum-ai/0.9.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
78
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.13", "User-Agent": "vellum-ai/0.9.13", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
79
79
  contentType: "application/json",
80
80
  queryParameters: _queryParams,
81
81
  requestType: "json",
@@ -128,7 +128,7 @@ class ContainerImages {
128
128
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
129
129
  .default, `v1/container-images/${encodeURIComponent(id)}`),
130
130
  method: "GET",
131
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.11", "User-Agent": "vellum-ai/0.9.11", "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.9.13", "User-Agent": "vellum-ai/0.9.13", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
132
132
  contentType: "application/json",
133
133
  requestType: "json",
134
134
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -179,7 +179,7 @@ class ContainerImages {
179
179
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
180
180
  .default, "v1/container-images/docker-service-token"),
181
181
  method: "GET",
182
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.11", "User-Agent": "vellum-ai/0.9.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
182
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.13", "User-Agent": "vellum-ai/0.9.13", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
183
183
  contentType: "application/json",
184
184
  requestType: "json",
185
185
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -235,7 +235,7 @@ class ContainerImages {
235
235
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
236
236
  .default, "v1/container-images/push"),
237
237
  method: "POST",
238
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.11", "User-Agent": "vellum-ai/0.9.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
238
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.13", "User-Agent": "vellum-ai/0.9.13", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
239
239
  contentType: "application/json",
240
240
  requestType: "json",
241
241
  body: serializers.PushContainerImageRequest.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.9.11", "User-Agent": "vellum-ai/0.9.11", "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.13", "User-Agent": "vellum-ai/0.9.13", "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.9.11", "User-Agent": "vellum-ai/0.9.11", "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.13", "User-Agent": "vellum-ai/0.9.13", "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,
@@ -199,7 +199,7 @@ class Deployments {
199
199
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
200
200
  .default, `v1/deployments/${encodeURIComponent(id)}/release-tags`),
201
201
  method: "GET",
202
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.11", "User-Agent": "vellum-ai/0.9.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
202
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.13", "User-Agent": "vellum-ai/0.9.13", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
203
203
  contentType: "application/json",
204
204
  queryParameters: _queryParams,
205
205
  requestType: "json",
@@ -253,7 +253,7 @@ class Deployments {
253
253
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
254
254
  .default, `v1/deployments/${encodeURIComponent(id)}/release-tags/${encodeURIComponent(name)}`),
255
255
  method: "GET",
256
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.11", "User-Agent": "vellum-ai/0.9.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
256
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.13", "User-Agent": "vellum-ai/0.9.13", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
257
257
  contentType: "application/json",
258
258
  requestType: "json",
259
259
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -307,7 +307,7 @@ class Deployments {
307
307
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
308
308
  .default, `v1/deployments/${encodeURIComponent(id)}/release-tags/${encodeURIComponent(name)}`),
309
309
  method: "PATCH",
310
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.11", "User-Agent": "vellum-ai/0.9.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
310
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.13", "User-Agent": "vellum-ai/0.9.13", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
311
311
  contentType: "application/json",
312
312
  requestType: "json",
313
313
  body: serializers.PatchedDeploymentReleaseTagUpdateRequest.jsonOrThrow(request, {
@@ -382,7 +382,7 @@ class Deployments {
382
382
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
383
383
  .default, "v1/deployments/provider-payload"),
384
384
  method: "POST",
385
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.11", "User-Agent": "vellum-ai/0.9.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
385
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.13", "User-Agent": "vellum-ai/0.9.13", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
386
386
  contentType: "application/json",
387
387
  requestType: "json",
388
388
  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.9.11", "User-Agent": "vellum-ai/0.9.11", "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.13", "User-Agent": "vellum-ai/0.9.13", "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.9.11", "User-Agent": "vellum-ai/0.9.11", "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.13", "User-Agent": "vellum-ai/0.9.13", "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.9.11", "User-Agent": "vellum-ai/0.9.11", "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.13", "User-Agent": "vellum-ai/0.9.13", "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.9.11", "User-Agent": "vellum-ai/0.9.11", "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.13", "User-Agent": "vellum-ai/0.9.13", "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.9.11", "User-Agent": "vellum-ai/0.9.11", "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.13", "User-Agent": "vellum-ai/0.9.13", "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.9.11", "User-Agent": "vellum-ai/0.9.11", "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.13", "User-Agent": "vellum-ai/0.9.13", "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.9.11", "User-Agent": "vellum-ai/0.9.11", "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.13", "User-Agent": "vellum-ai/0.9.13", "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.9.11", "User-Agent": "vellum-ai/0.9.11", "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.13", "User-Agent": "vellum-ai/0.9.13", "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.9.11", "User-Agent": "vellum-ai/0.9.11", "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.13", "User-Agent": "vellum-ai/0.9.13", "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.9.11", "User-Agent": "vellum-ai/0.9.11", "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.13", "User-Agent": "vellum-ai/0.9.13", "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.9.11", "User-Agent": "vellum-ai/0.9.11", "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.13", "User-Agent": "vellum-ai/0.9.13", "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.9.11", "User-Agent": "vellum-ai/0.9.11", "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.13", "User-Agent": "vellum-ai/0.9.13", "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.9.11", "User-Agent": "vellum-ai/0.9.11", "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.13", "User-Agent": "vellum-ai/0.9.13", "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.9.11", "User-Agent": "vellum-ai/0.9.11", "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.13", "User-Agent": "vellum-ai/0.9.13", "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.9.11", "User-Agent": "vellum-ai/0.9.11", "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.13", "User-Agent": "vellum-ai/0.9.13", "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" }),
@@ -25,7 +25,7 @@ export declare class MetricDefinitions {
25
25
  * An internal-only endpoint that's subject to breaking changes without notice. Not intended for public use.
26
26
  *
27
27
  * @param {string} id - Either the Metric Definition's ID or its unique name
28
- * @param {Vellum.ExecuteMetricDefinitionRequest} request
28
+ * @param {Vellum.ExecuteMetricDefinition} request
29
29
  * @param {MetricDefinitions.RequestOptions} requestOptions - Request-specific configuration.
30
30
  *
31
31
  * @example
@@ -37,7 +37,7 @@ export declare class MetricDefinitions {
37
37
  * }]
38
38
  * })
39
39
  */
40
- executeMetricDefinition(id: string, request: Vellum.ExecuteMetricDefinitionRequest, requestOptions?: MetricDefinitions.RequestOptions): Promise<Vellum.MetricDefinitionExecution>;
40
+ executeMetricDefinition(id: string, request: Vellum.ExecuteMetricDefinition, requestOptions?: MetricDefinitions.RequestOptions): Promise<Vellum.MetricDefinitionExecution>;
41
41
  protected _getCustomAuthorizationHeaders(): Promise<{
42
42
  X_API_KEY: string | undefined;
43
43
  }>;
@@ -52,7 +52,7 @@ class MetricDefinitions {
52
52
  * An internal-only endpoint that's subject to breaking changes without notice. Not intended for public use.
53
53
  *
54
54
  * @param {string} id - Either the Metric Definition's ID or its unique name
55
- * @param {Vellum.ExecuteMetricDefinitionRequest} request
55
+ * @param {Vellum.ExecuteMetricDefinition} request
56
56
  * @param {MetricDefinitions.RequestOptions} requestOptions - Request-specific configuration.
57
57
  *
58
58
  * @example
@@ -71,10 +71,10 @@ 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.9.11", "User-Agent": "vellum-ai/0.9.11", "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.13", "User-Agent": "vellum-ai/0.9.13", "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
- body: serializers.ExecuteMetricDefinitionRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
77
+ body: serializers.ExecuteMetricDefinition.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
78
78
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
79
79
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
80
80
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -12,7 +12,7 @@ import * as Vellum from "../../../../index";
12
12
  * }]
13
13
  * }
14
14
  */
15
- export interface ExecuteMetricDefinitionRequest {
16
- inputs: Vellum.MetricDefinitionInputRequest[];
15
+ export interface ExecuteMetricDefinition {
16
+ inputs: Vellum.MetricDefinitionInput[];
17
17
  releaseTag?: string;
18
18
  }
@@ -1 +1 @@
1
- export { type ExecuteMetricDefinitionRequest } from "./ExecuteMetricDefinitionRequest";
1
+ export { type ExecuteMetricDefinition } from "./ExecuteMetricDefinition";
@@ -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.9.11", "User-Agent": "vellum-ai/0.9.11", "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.13", "User-Agent": "vellum-ai/0.9.13", "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.9.11", "User-Agent": "vellum-ai/0.9.11", "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.13", "User-Agent": "vellum-ai/0.9.13", "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.9.11", "User-Agent": "vellum-ai/0.9.11", "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.13", "User-Agent": "vellum-ai/0.9.13", "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.9.11", "User-Agent": "vellum-ai/0.9.11", "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.13", "User-Agent": "vellum-ai/0.9.13", "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.9.11", "User-Agent": "vellum-ai/0.9.11", "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.13", "User-Agent": "vellum-ai/0.9.13", "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.9.11", "User-Agent": "vellum-ai/0.9.11", "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.13", "User-Agent": "vellum-ai/0.9.13", "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.9.11", "User-Agent": "vellum-ai/0.9.11", "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.13", "User-Agent": "vellum-ai/0.9.13", "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.9.11", "User-Agent": "vellum-ai/0.9.11", "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.13", "User-Agent": "vellum-ai/0.9.13", "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.9.11", "User-Agent": "vellum-ai/0.9.11", "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.13", "User-Agent": "vellum-ai/0.9.13", "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.9.11", "User-Agent": "vellum-ai/0.9.11", "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.13", "User-Agent": "vellum-ai/0.9.13", "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.9.11", "User-Agent": "vellum-ai/0.9.11", "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.13", "User-Agent": "vellum-ai/0.9.13", "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.9.11", "User-Agent": "vellum-ai/0.9.11", "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.13", "User-Agent": "vellum-ai/0.9.13", "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,
@@ -198,7 +198,7 @@ class WorkflowDeployments {
198
198
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
199
199
  .default, `v1/workflow-deployments/${encodeURIComponent(id)}/release-tags`),
200
200
  method: "GET",
201
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.11", "User-Agent": "vellum-ai/0.9.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
201
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.13", "User-Agent": "vellum-ai/0.9.13", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
202
202
  contentType: "application/json",
203
203
  queryParameters: _queryParams,
204
204
  requestType: "json",
@@ -252,7 +252,7 @@ class WorkflowDeployments {
252
252
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
253
253
  .default, `v1/workflow-deployments/${encodeURIComponent(id)}/release-tags/${encodeURIComponent(name)}`),
254
254
  method: "GET",
255
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.11", "User-Agent": "vellum-ai/0.9.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
255
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.13", "User-Agent": "vellum-ai/0.9.13", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
256
256
  contentType: "application/json",
257
257
  requestType: "json",
258
258
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -306,7 +306,7 @@ class WorkflowDeployments {
306
306
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
307
307
  .default, `v1/workflow-deployments/${encodeURIComponent(id)}/release-tags/${encodeURIComponent(name)}`),
308
308
  method: "PATCH",
309
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.11", "User-Agent": "vellum-ai/0.9.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
309
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.13", "User-Agent": "vellum-ai/0.9.13", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
310
310
  contentType: "application/json",
311
311
  requestType: "json",
312
312
  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.9.11", "User-Agent": "vellum-ai/0.9.11", "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.13", "User-Agent": "vellum-ai/0.9.13", "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" }),
@@ -65,7 +65,7 @@ class Workflows {
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/workflows/${encodeURIComponent(id)}/pull`),
67
67
  method: "GET",
68
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.11", "User-Agent": "vellum-ai/0.9.11", "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.9.13", "User-Agent": "vellum-ai/0.9.13", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
69
69
  contentType: "application/json",
70
70
  queryParameters: _queryParams,
71
71
  requestType: "json",
@@ -124,7 +124,7 @@ class Workflows {
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/workflows/push"),
126
126
  method: "POST",
127
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.11", "User-Agent": "vellum-ai/0.9.11", "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.13", "User-Agent": "vellum-ai/0.9.13", "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
  body: serializers.WorkflowPushRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -64,7 +64,7 @@ class WorkspaceSecrets {
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/workspace-secrets/${encodeURIComponent(id)}`),
66
66
  method: "GET",
67
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.11", "User-Agent": "vellum-ai/0.9.11", "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.13", "User-Agent": "vellum-ai/0.9.13", "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
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -117,7 +117,7 @@ class WorkspaceSecrets {
117
117
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
118
118
  .default, `v1/workspace-secrets/${encodeURIComponent(id)}`),
119
119
  method: "PATCH",
120
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.11", "User-Agent": "vellum-ai/0.9.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
120
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.13", "User-Agent": "vellum-ai/0.9.13", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
121
121
  contentType: "application/json",
122
122
  requestType: "json",
123
123
  body: serializers.PatchedWorkspaceSecretUpdateRequest.jsonOrThrow(request, {
@@ -5,9 +5,9 @@ import * as Vellum from "../index";
5
5
  /**
6
6
  * A user input representing a Vellum Array value
7
7
  */
8
- export interface ArrayInputRequest {
8
+ export interface ArrayInput {
9
9
  /** The variable's name */
10
10
  name: string;
11
11
  type: "ARRAY";
12
- value: Vellum.VellumValueRequest[];
12
+ value: Vellum.VellumValue[];
13
13
  }
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vellum from "../index";
5
+ /**
6
+ * A user input representing a list of chat messages
7
+ */
8
+ export interface ChatHistoryInput {
9
+ /** The variable's name, as defined in the deployment. */
10
+ name: string;
11
+ type: "CHAT_HISTORY";
12
+ value: Vellum.ChatMessage[];
13
+ }