vellum-ai 0.1.3 → 0.1.5

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 (265) hide show
  1. package/Client.d.ts +8 -0
  2. package/Client.js +72 -12
  3. package/api/client/requests/ExecutePromptRequest.d.ts +14 -0
  4. package/api/client/requests/ExecutePromptRequest.js +5 -0
  5. package/api/client/requests/ExecuteWorkflowStreamRequest.d.ts +1 -0
  6. package/api/client/requests/index.d.ts +1 -0
  7. package/api/errors/ForbiddenError.d.ts +1 -2
  8. package/api/resources/deployments/client/Client.js +1 -1
  9. package/api/resources/documentIndexes/client/Client.js +2 -2
  10. package/api/resources/documents/client/Client.js +4 -4
  11. package/api/resources/modelVersions/client/Client.js +1 -1
  12. package/api/resources/registeredPrompts/client/Client.js +1 -1
  13. package/api/resources/sandboxes/client/Client.js +2 -2
  14. package/api/resources/testSuites/client/Client.js +2 -2
  15. package/api/resources/testSuites/client/requests/TestSuiteTestCaseRequest.d.ts +3 -7
  16. package/api/types/ChatHistoryInputRequest.d.ts +9 -0
  17. package/api/types/ChatHistoryInputRequest.js +5 -0
  18. package/api/types/ErrorExecutePromptResponse.d.ts +8 -0
  19. package/api/types/ErrorExecutePromptResponse.js +5 -0
  20. package/api/types/ExecutePromptApiErrorResponse.d.ts +7 -0
  21. package/api/types/ExecutePromptApiErrorResponse.js +5 -0
  22. package/api/types/ExecutePromptResponse.d.ts +16 -0
  23. package/api/types/ExecutePromptResponse.js +5 -0
  24. package/api/types/JsonExecutePromptResponse.d.ts +7 -0
  25. package/api/types/JsonExecutePromptResponse.js +5 -0
  26. package/api/types/JsonInputRequest.d.ts +8 -0
  27. package/api/types/JsonInputRequest.js +5 -0
  28. package/api/types/PromptDeploymentInputRequest.d.ts +16 -0
  29. package/api/types/PromptDeploymentInputRequest.js +5 -0
  30. package/api/types/SearchResultDocumentRequest.d.ts +11 -0
  31. package/api/types/SearchResultDocumentRequest.js +5 -0
  32. package/api/types/SearchResultRequest.d.ts +13 -0
  33. package/api/types/SearchResultRequest.js +5 -0
  34. package/api/types/StringExecutePromptResponse.d.ts +7 -0
  35. package/api/types/StringExecutePromptResponse.js +5 -0
  36. package/api/types/StringInputRequest.d.ts +8 -0
  37. package/api/types/StringInputRequest.js +5 -0
  38. package/api/types/TestCaseChatHistoryVariableValue.d.ts +8 -0
  39. package/api/types/TestCaseChatHistoryVariableValue.js +5 -0
  40. package/api/types/TestCaseChatHistoryVariableValueRequest.d.ts +8 -0
  41. package/api/types/TestCaseChatHistoryVariableValueRequest.js +5 -0
  42. package/api/types/TestCaseErrorVariableValue.d.ts +8 -0
  43. package/api/types/TestCaseErrorVariableValue.js +5 -0
  44. package/api/types/TestCaseErrorVariableValueRequest.d.ts +8 -0
  45. package/api/types/TestCaseErrorVariableValueRequest.js +5 -0
  46. package/api/types/TestCaseJsonVariableValue.d.ts +7 -0
  47. package/api/types/TestCaseJsonVariableValue.js +5 -0
  48. package/api/types/TestCaseJsonVariableValueRequest.d.ts +7 -0
  49. package/api/types/TestCaseJsonVariableValueRequest.js +5 -0
  50. package/api/types/TestCaseNumberVariableValue.d.ts +7 -0
  51. package/api/types/TestCaseNumberVariableValue.js +5 -0
  52. package/api/types/TestCaseNumberVariableValueRequest.d.ts +7 -0
  53. package/api/types/TestCaseNumberVariableValueRequest.js +5 -0
  54. package/api/types/TestCaseSearchResultsVariableValue.d.ts +8 -0
  55. package/api/types/TestCaseSearchResultsVariableValue.js +5 -0
  56. package/api/types/TestCaseSearchResultsVariableValueRequest.d.ts +8 -0
  57. package/api/types/TestCaseSearchResultsVariableValueRequest.js +5 -0
  58. package/api/types/TestCaseStringVariableValue.d.ts +7 -0
  59. package/api/types/TestCaseStringVariableValue.js +5 -0
  60. package/api/types/TestCaseStringVariableValueRequest.d.ts +7 -0
  61. package/api/types/TestCaseStringVariableValueRequest.js +5 -0
  62. package/api/types/TestCaseVariableValue.d.ts +25 -0
  63. package/api/types/TestCaseVariableValue.js +5 -0
  64. package/api/types/TestCaseVariableValueRequest.d.ts +25 -0
  65. package/api/types/TestCaseVariableValueRequest.js +5 -0
  66. package/api/types/TestSuiteTestCase.d.ts +3 -7
  67. package/api/types/VellumErrorRequest.d.ts +8 -0
  68. package/api/types/VellumErrorRequest.js +5 -0
  69. package/api/types/index.d.ts +26 -0
  70. package/api/types/index.js +26 -0
  71. package/dist/Client.d.ts +8 -0
  72. package/dist/Client.js +72 -12
  73. package/dist/api/client/requests/ExecutePromptRequest.d.ts +14 -0
  74. package/dist/api/client/requests/ExecutePromptRequest.js +5 -0
  75. package/dist/api/client/requests/ExecuteWorkflowStreamRequest.d.ts +1 -0
  76. package/dist/api/client/requests/index.d.ts +1 -0
  77. package/dist/api/errors/ForbiddenError.d.ts +1 -2
  78. package/dist/api/resources/deployments/client/Client.js +1 -1
  79. package/dist/api/resources/documentIndexes/client/Client.js +2 -2
  80. package/dist/api/resources/documents/client/Client.js +4 -4
  81. package/dist/api/resources/modelVersions/client/Client.js +1 -1
  82. package/dist/api/resources/registeredPrompts/client/Client.js +1 -1
  83. package/dist/api/resources/sandboxes/client/Client.js +2 -2
  84. package/dist/api/resources/testSuites/client/Client.js +2 -2
  85. package/dist/api/resources/testSuites/client/requests/TestSuiteTestCaseRequest.d.ts +3 -7
  86. package/dist/api/types/ChatHistoryInputRequest.d.ts +9 -0
  87. package/dist/api/types/ChatHistoryInputRequest.js +5 -0
  88. package/dist/api/types/ErrorExecutePromptResponse.d.ts +8 -0
  89. package/dist/api/types/ErrorExecutePromptResponse.js +5 -0
  90. package/dist/api/types/ExecutePromptApiErrorResponse.d.ts +7 -0
  91. package/dist/api/types/ExecutePromptApiErrorResponse.js +5 -0
  92. package/dist/api/types/ExecutePromptResponse.d.ts +16 -0
  93. package/dist/api/types/ExecutePromptResponse.js +5 -0
  94. package/dist/api/types/JsonExecutePromptResponse.d.ts +7 -0
  95. package/dist/api/types/JsonExecutePromptResponse.js +5 -0
  96. package/dist/api/types/JsonInputRequest.d.ts +8 -0
  97. package/dist/api/types/JsonInputRequest.js +5 -0
  98. package/dist/api/types/PromptDeploymentInputRequest.d.ts +16 -0
  99. package/dist/api/types/PromptDeploymentInputRequest.js +5 -0
  100. package/dist/api/types/SearchResultDocumentRequest.d.ts +11 -0
  101. package/dist/api/types/SearchResultDocumentRequest.js +5 -0
  102. package/dist/api/types/SearchResultRequest.d.ts +13 -0
  103. package/dist/api/types/SearchResultRequest.js +5 -0
  104. package/dist/api/types/StringExecutePromptResponse.d.ts +7 -0
  105. package/dist/api/types/StringExecutePromptResponse.js +5 -0
  106. package/dist/api/types/StringInputRequest.d.ts +8 -0
  107. package/dist/api/types/StringInputRequest.js +5 -0
  108. package/dist/api/types/TestCaseChatHistoryVariableValue.d.ts +8 -0
  109. package/dist/api/types/TestCaseChatHistoryVariableValue.js +5 -0
  110. package/dist/api/types/TestCaseChatHistoryVariableValueRequest.d.ts +8 -0
  111. package/dist/api/types/TestCaseChatHistoryVariableValueRequest.js +5 -0
  112. package/dist/api/types/TestCaseErrorVariableValue.d.ts +8 -0
  113. package/dist/api/types/TestCaseErrorVariableValue.js +5 -0
  114. package/dist/api/types/TestCaseErrorVariableValueRequest.d.ts +8 -0
  115. package/dist/api/types/TestCaseErrorVariableValueRequest.js +5 -0
  116. package/dist/api/types/TestCaseJsonVariableValue.d.ts +7 -0
  117. package/dist/api/types/TestCaseJsonVariableValue.js +5 -0
  118. package/dist/api/types/TestCaseJsonVariableValueRequest.d.ts +7 -0
  119. package/dist/api/types/TestCaseJsonVariableValueRequest.js +5 -0
  120. package/dist/api/types/TestCaseNumberVariableValue.d.ts +7 -0
  121. package/dist/api/types/TestCaseNumberVariableValue.js +5 -0
  122. package/dist/api/types/TestCaseNumberVariableValueRequest.d.ts +7 -0
  123. package/dist/api/types/TestCaseNumberVariableValueRequest.js +5 -0
  124. package/dist/api/types/TestCaseSearchResultsVariableValue.d.ts +8 -0
  125. package/dist/api/types/TestCaseSearchResultsVariableValue.js +5 -0
  126. package/dist/api/types/TestCaseSearchResultsVariableValueRequest.d.ts +8 -0
  127. package/dist/api/types/TestCaseSearchResultsVariableValueRequest.js +5 -0
  128. package/dist/api/types/TestCaseStringVariableValue.d.ts +7 -0
  129. package/dist/api/types/TestCaseStringVariableValue.js +5 -0
  130. package/dist/api/types/TestCaseStringVariableValueRequest.d.ts +7 -0
  131. package/dist/api/types/TestCaseStringVariableValueRequest.js +5 -0
  132. package/dist/api/types/TestCaseVariableValue.d.ts +25 -0
  133. package/dist/api/types/TestCaseVariableValue.js +5 -0
  134. package/dist/api/types/TestCaseVariableValueRequest.d.ts +25 -0
  135. package/dist/api/types/TestCaseVariableValueRequest.js +5 -0
  136. package/dist/api/types/TestSuiteTestCase.d.ts +3 -7
  137. package/dist/api/types/VellumErrorRequest.d.ts +8 -0
  138. package/dist/api/types/VellumErrorRequest.js +5 -0
  139. package/dist/api/types/index.d.ts +26 -0
  140. package/dist/api/types/index.js +26 -0
  141. package/dist/serialization/client/requests/ExecutePromptRequest.d.ts +16 -0
  142. package/dist/serialization/client/requests/ExecutePromptRequest.js +46 -0
  143. package/dist/serialization/client/requests/index.d.ts +1 -0
  144. package/dist/serialization/client/requests/index.js +3 -1
  145. package/dist/serialization/resources/testSuites/client/requests/TestSuiteTestCaseRequest.d.ts +3 -3
  146. package/dist/serialization/resources/testSuites/client/requests/TestSuiteTestCaseRequest.js +3 -3
  147. package/dist/serialization/types/ChatHistoryInputRequest.d.ts +13 -0
  148. package/dist/serialization/types/ChatHistoryInputRequest.js +43 -0
  149. package/dist/serialization/types/ErrorExecutePromptResponse.d.ts +13 -0
  150. package/dist/serialization/types/ErrorExecutePromptResponse.js +43 -0
  151. package/dist/serialization/types/ExecutePromptApiErrorResponse.d.ts +12 -0
  152. package/dist/serialization/types/ExecutePromptApiErrorResponse.js +33 -0
  153. package/dist/serialization/types/ExecutePromptResponse.d.ts +19 -0
  154. package/dist/serialization/types/ExecutePromptResponse.js +49 -0
  155. package/dist/serialization/types/JsonExecutePromptResponse.d.ts +13 -0
  156. package/dist/serialization/types/JsonExecutePromptResponse.js +34 -0
  157. package/dist/serialization/types/JsonInputRequest.d.ts +13 -0
  158. package/dist/serialization/types/JsonInputRequest.js +34 -0
  159. package/dist/serialization/types/PromptDeploymentInputRequest.d.ts +19 -0
  160. package/dist/serialization/types/PromptDeploymentInputRequest.js +49 -0
  161. package/dist/serialization/types/SearchResultDocumentRequest.d.ts +14 -0
  162. package/dist/serialization/types/SearchResultDocumentRequest.js +35 -0
  163. package/dist/serialization/types/SearchResultRequest.d.ts +15 -0
  164. package/dist/serialization/types/SearchResultRequest.js +45 -0
  165. package/dist/serialization/types/StringExecutePromptResponse.d.ts +13 -0
  166. package/dist/serialization/types/StringExecutePromptResponse.js +34 -0
  167. package/dist/serialization/types/StringInputRequest.d.ts +13 -0
  168. package/dist/serialization/types/StringInputRequest.js +34 -0
  169. package/dist/serialization/types/TestCaseChatHistoryVariableValue.d.ts +13 -0
  170. package/dist/serialization/types/TestCaseChatHistoryVariableValue.js +45 -0
  171. package/dist/serialization/types/TestCaseChatHistoryVariableValueRequest.d.ts +13 -0
  172. package/dist/serialization/types/TestCaseChatHistoryVariableValueRequest.js +45 -0
  173. package/dist/serialization/types/TestCaseErrorVariableValue.d.ts +13 -0
  174. package/dist/serialization/types/TestCaseErrorVariableValue.js +43 -0
  175. package/dist/serialization/types/TestCaseErrorVariableValueRequest.d.ts +13 -0
  176. package/dist/serialization/types/TestCaseErrorVariableValueRequest.js +43 -0
  177. package/dist/serialization/types/TestCaseJsonVariableValue.d.ts +13 -0
  178. package/dist/serialization/types/TestCaseJsonVariableValue.js +34 -0
  179. package/dist/serialization/types/TestCaseJsonVariableValueRequest.d.ts +13 -0
  180. package/dist/serialization/types/TestCaseJsonVariableValueRequest.js +34 -0
  181. package/dist/serialization/types/TestCaseNumberVariableValue.d.ts +13 -0
  182. package/dist/serialization/types/TestCaseNumberVariableValue.js +34 -0
  183. package/dist/serialization/types/TestCaseNumberVariableValueRequest.d.ts +13 -0
  184. package/dist/serialization/types/TestCaseNumberVariableValueRequest.js +34 -0
  185. package/dist/serialization/types/TestCaseSearchResultsVariableValue.d.ts +13 -0
  186. package/dist/serialization/types/TestCaseSearchResultsVariableValue.js +45 -0
  187. package/dist/serialization/types/TestCaseSearchResultsVariableValueRequest.d.ts +13 -0
  188. package/dist/serialization/types/TestCaseSearchResultsVariableValueRequest.js +45 -0
  189. package/dist/serialization/types/TestCaseStringVariableValue.d.ts +13 -0
  190. package/dist/serialization/types/TestCaseStringVariableValue.js +34 -0
  191. package/dist/serialization/types/TestCaseStringVariableValueRequest.d.ts +13 -0
  192. package/dist/serialization/types/TestCaseStringVariableValueRequest.js +34 -0
  193. package/dist/serialization/types/TestCaseVariableValue.d.ts +28 -0
  194. package/dist/serialization/types/TestCaseVariableValue.js +52 -0
  195. package/dist/serialization/types/TestCaseVariableValueRequest.d.ts +28 -0
  196. package/dist/serialization/types/TestCaseVariableValueRequest.js +52 -0
  197. package/dist/serialization/types/TestSuiteTestCase.d.ts +3 -3
  198. package/dist/serialization/types/TestSuiteTestCase.js +3 -3
  199. package/dist/serialization/types/VellumErrorRequest.d.ts +13 -0
  200. package/dist/serialization/types/VellumErrorRequest.js +43 -0
  201. package/dist/serialization/types/index.d.ts +26 -0
  202. package/dist/serialization/types/index.js +26 -0
  203. package/package.json +1 -1
  204. package/serialization/client/requests/ExecutePromptRequest.d.ts +16 -0
  205. package/serialization/client/requests/ExecutePromptRequest.js +46 -0
  206. package/serialization/client/requests/index.d.ts +1 -0
  207. package/serialization/client/requests/index.js +3 -1
  208. package/serialization/resources/testSuites/client/requests/TestSuiteTestCaseRequest.d.ts +3 -3
  209. package/serialization/resources/testSuites/client/requests/TestSuiteTestCaseRequest.js +3 -3
  210. package/serialization/types/ChatHistoryInputRequest.d.ts +13 -0
  211. package/serialization/types/ChatHistoryInputRequest.js +43 -0
  212. package/serialization/types/ErrorExecutePromptResponse.d.ts +13 -0
  213. package/serialization/types/ErrorExecutePromptResponse.js +43 -0
  214. package/serialization/types/ExecutePromptApiErrorResponse.d.ts +12 -0
  215. package/serialization/types/ExecutePromptApiErrorResponse.js +33 -0
  216. package/serialization/types/ExecutePromptResponse.d.ts +19 -0
  217. package/serialization/types/ExecutePromptResponse.js +49 -0
  218. package/serialization/types/JsonExecutePromptResponse.d.ts +13 -0
  219. package/serialization/types/JsonExecutePromptResponse.js +34 -0
  220. package/serialization/types/JsonInputRequest.d.ts +13 -0
  221. package/serialization/types/JsonInputRequest.js +34 -0
  222. package/serialization/types/PromptDeploymentInputRequest.d.ts +19 -0
  223. package/serialization/types/PromptDeploymentInputRequest.js +49 -0
  224. package/serialization/types/SearchResultDocumentRequest.d.ts +14 -0
  225. package/serialization/types/SearchResultDocumentRequest.js +35 -0
  226. package/serialization/types/SearchResultRequest.d.ts +15 -0
  227. package/serialization/types/SearchResultRequest.js +45 -0
  228. package/serialization/types/StringExecutePromptResponse.d.ts +13 -0
  229. package/serialization/types/StringExecutePromptResponse.js +34 -0
  230. package/serialization/types/StringInputRequest.d.ts +13 -0
  231. package/serialization/types/StringInputRequest.js +34 -0
  232. package/serialization/types/TestCaseChatHistoryVariableValue.d.ts +13 -0
  233. package/serialization/types/TestCaseChatHistoryVariableValue.js +45 -0
  234. package/serialization/types/TestCaseChatHistoryVariableValueRequest.d.ts +13 -0
  235. package/serialization/types/TestCaseChatHistoryVariableValueRequest.js +45 -0
  236. package/serialization/types/TestCaseErrorVariableValue.d.ts +13 -0
  237. package/serialization/types/TestCaseErrorVariableValue.js +43 -0
  238. package/serialization/types/TestCaseErrorVariableValueRequest.d.ts +13 -0
  239. package/serialization/types/TestCaseErrorVariableValueRequest.js +43 -0
  240. package/serialization/types/TestCaseJsonVariableValue.d.ts +13 -0
  241. package/serialization/types/TestCaseJsonVariableValue.js +34 -0
  242. package/serialization/types/TestCaseJsonVariableValueRequest.d.ts +13 -0
  243. package/serialization/types/TestCaseJsonVariableValueRequest.js +34 -0
  244. package/serialization/types/TestCaseNumberVariableValue.d.ts +13 -0
  245. package/serialization/types/TestCaseNumberVariableValue.js +34 -0
  246. package/serialization/types/TestCaseNumberVariableValueRequest.d.ts +13 -0
  247. package/serialization/types/TestCaseNumberVariableValueRequest.js +34 -0
  248. package/serialization/types/TestCaseSearchResultsVariableValue.d.ts +13 -0
  249. package/serialization/types/TestCaseSearchResultsVariableValue.js +45 -0
  250. package/serialization/types/TestCaseSearchResultsVariableValueRequest.d.ts +13 -0
  251. package/serialization/types/TestCaseSearchResultsVariableValueRequest.js +45 -0
  252. package/serialization/types/TestCaseStringVariableValue.d.ts +13 -0
  253. package/serialization/types/TestCaseStringVariableValue.js +34 -0
  254. package/serialization/types/TestCaseStringVariableValueRequest.d.ts +13 -0
  255. package/serialization/types/TestCaseStringVariableValueRequest.js +34 -0
  256. package/serialization/types/TestCaseVariableValue.d.ts +28 -0
  257. package/serialization/types/TestCaseVariableValue.js +52 -0
  258. package/serialization/types/TestCaseVariableValueRequest.d.ts +28 -0
  259. package/serialization/types/TestCaseVariableValueRequest.js +52 -0
  260. package/serialization/types/TestSuiteTestCase.d.ts +3 -3
  261. package/serialization/types/TestSuiteTestCase.js +3 -3
  262. package/serialization/types/VellumErrorRequest.d.ts +13 -0
  263. package/serialization/types/VellumErrorRequest.js +43 -0
  264. package/serialization/types/index.d.ts +26 -0
  265. package/serialization/types/index.js +26 -0
package/Client.d.ts CHANGED
@@ -24,6 +24,14 @@ export declare namespace VellumClient {
24
24
  export declare class VellumClient {
25
25
  protected readonly _options: VellumClient.Options;
26
26
  constructor(_options: VellumClient.Options);
27
+ /**
28
+ * Executes a deployed Prompt and returns the result.
29
+ * @throws {@link Vellum.BadRequestError}
30
+ * @throws {@link Vellum.ForbiddenError}
31
+ * @throws {@link Vellum.NotFoundError}
32
+ * @throws {@link Vellum.InternalServerError}
33
+ */
34
+ executePrompt(request: Vellum.ExecutePromptRequest, requestOptions?: VellumClient.RequestOptions): Promise<Vellum.ExecutePromptResponse>;
27
35
  /**
28
36
  * Executes a deployed Workflow and streams back its results.
29
37
  */
package/Client.js CHANGED
@@ -56,6 +56,71 @@ class VellumClient {
56
56
  constructor(_options) {
57
57
  this._options = _options;
58
58
  }
59
+ /**
60
+ * Executes a deployed Prompt and returns the result.
61
+ * @throws {@link Vellum.BadRequestError}
62
+ * @throws {@link Vellum.ForbiddenError}
63
+ * @throws {@link Vellum.NotFoundError}
64
+ * @throws {@link Vellum.InternalServerError}
65
+ */
66
+ executePrompt(request, requestOptions) {
67
+ var _a;
68
+ return __awaiter(this, void 0, void 0, function* () {
69
+ const _response = yield core.fetcher({
70
+ url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
71
+ .default, "v1/execute-prompt"),
72
+ method: "POST",
73
+ headers: {
74
+ X_API_KEY: yield core.Supplier.get(this._options.apiKey),
75
+ "X-Fern-Language": "JavaScript",
76
+ "X-Fern-SDK-Name": "vellum-ai",
77
+ "X-Fern-SDK-Version": "v0.1.5",
78
+ },
79
+ contentType: "application/json",
80
+ body: yield serializers.ExecutePromptRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
81
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
82
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
83
+ });
84
+ if (_response.ok) {
85
+ return yield serializers.ExecutePromptResponse.parseOrThrow(_response.body, {
86
+ unrecognizedObjectKeys: "passthrough",
87
+ allowUnrecognizedUnionMembers: true,
88
+ allowUnrecognizedEnumValues: true,
89
+ breadcrumbsPrefix: ["response"],
90
+ });
91
+ }
92
+ if (_response.error.reason === "status-code") {
93
+ switch (_response.error.statusCode) {
94
+ case 400:
95
+ throw new Vellum.BadRequestError(_response.error.body);
96
+ case 403:
97
+ throw new Vellum.ForbiddenError(_response.error.body);
98
+ case 404:
99
+ throw new Vellum.NotFoundError(_response.error.body);
100
+ case 500:
101
+ throw new Vellum.InternalServerError(_response.error.body);
102
+ default:
103
+ throw new errors.VellumError({
104
+ statusCode: _response.error.statusCode,
105
+ body: _response.error.body,
106
+ });
107
+ }
108
+ }
109
+ switch (_response.error.reason) {
110
+ case "non-json":
111
+ throw new errors.VellumError({
112
+ statusCode: _response.error.statusCode,
113
+ body: _response.error.rawBody,
114
+ });
115
+ case "timeout":
116
+ throw new errors.VellumTimeoutError();
117
+ case "unknown":
118
+ throw new errors.VellumError({
119
+ message: _response.error.errorMessage,
120
+ });
121
+ }
122
+ });
123
+ }
59
124
  /**
60
125
  * Executes a deployed Workflow and streams back its results.
61
126
  */
@@ -70,7 +135,7 @@ class VellumClient {
70
135
  X_API_KEY: yield core.Supplier.get(this._options.apiKey),
71
136
  "X-Fern-Language": "JavaScript",
72
137
  "X-Fern-SDK-Name": "vellum-ai",
73
- "X-Fern-SDK-Version": "v0.1.3",
138
+ "X-Fern-SDK-Version": "v0.1.5",
74
139
  },
75
140
  body: yield serializers.ExecuteWorkflowStreamRequest.jsonOrThrow(request, {
76
141
  unrecognizedObjectKeys: "strip",
@@ -111,7 +176,7 @@ class VellumClient {
111
176
  X_API_KEY: yield core.Supplier.get(this._options.apiKey),
112
177
  "X-Fern-Language": "JavaScript",
113
178
  "X-Fern-SDK-Name": "vellum-ai",
114
- "X-Fern-SDK-Version": "v0.1.3",
179
+ "X-Fern-SDK-Version": "v0.1.5",
115
180
  },
116
181
  contentType: "application/json",
117
182
  body: yield serializers.GenerateBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -131,12 +196,7 @@ class VellumClient {
131
196
  case 400:
132
197
  throw new Vellum.BadRequestError(_response.error.body);
133
198
  case 403:
134
- throw new Vellum.ForbiddenError(yield serializers.GenerateErrorResponse.parseOrThrow(_response.error.body, {
135
- unrecognizedObjectKeys: "passthrough",
136
- allowUnrecognizedUnionMembers: true,
137
- allowUnrecognizedEnumValues: true,
138
- breadcrumbsPrefix: ["response"],
139
- }));
199
+ throw new Vellum.ForbiddenError(_response.error.body);
140
200
  case 404:
141
201
  throw new Vellum.NotFoundError(_response.error.body);
142
202
  case 500:
@@ -179,7 +239,7 @@ class VellumClient {
179
239
  X_API_KEY: yield core.Supplier.get(this._options.apiKey),
180
240
  "X-Fern-Language": "JavaScript",
181
241
  "X-Fern-SDK-Name": "vellum-ai",
182
- "X-Fern-SDK-Version": "v0.1.3",
242
+ "X-Fern-SDK-Version": "v0.1.5",
183
243
  },
184
244
  body: yield serializers.GenerateStreamBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
185
245
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -217,7 +277,7 @@ class VellumClient {
217
277
  X_API_KEY: yield core.Supplier.get(this._options.apiKey),
218
278
  "X-Fern-Language": "JavaScript",
219
279
  "X-Fern-SDK-Name": "vellum-ai",
220
- "X-Fern-SDK-Version": "v0.1.3",
280
+ "X-Fern-SDK-Version": "v0.1.5",
221
281
  },
222
282
  contentType: "application/json",
223
283
  body: yield serializers.SearchRequestBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -281,7 +341,7 @@ class VellumClient {
281
341
  X_API_KEY: yield core.Supplier.get(this._options.apiKey),
282
342
  "X-Fern-Language": "JavaScript",
283
343
  "X-Fern-SDK-Name": "vellum-ai",
284
- "X-Fern-SDK-Version": "v0.1.3",
344
+ "X-Fern-SDK-Version": "v0.1.5",
285
345
  },
286
346
  contentType: "application/json",
287
347
  body: yield serializers.SubmitCompletionActualsRequest.jsonOrThrow(request, {
@@ -339,7 +399,7 @@ class VellumClient {
339
399
  X_API_KEY: yield core.Supplier.get(this._options.apiKey),
340
400
  "X-Fern-Language": "JavaScript",
341
401
  "X-Fern-SDK-Name": "vellum-ai",
342
- "X-Fern-SDK-Version": "v0.1.3",
402
+ "X-Fern-SDK-Version": "v0.1.5",
343
403
  },
344
404
  contentType: "application/json",
345
405
  body: yield serializers.SubmitWorkflowExecutionActualsRequest.jsonOrThrow(request, {
@@ -0,0 +1,14 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vellum from "../..";
5
+ export interface ExecutePromptRequest {
6
+ inputs: Vellum.PromptDeploymentInputRequest[];
7
+ /** The ID of the Prompt Deployment. Must provide either this or prompt_deployment_name. */
8
+ promptDeploymentId?: string;
9
+ /** The name of the Prompt Deployment. Must provide either this or prompt_deployment_id. */
10
+ promptDeploymentName?: string;
11
+ /** Optionally specify a release tag if you want to pin to a specific release of the Prompt Deployment */
12
+ releaseTag?: string;
13
+ externalId?: string;
14
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -9,6 +9,7 @@ export interface ExecuteWorkflowStreamRequest {
9
9
  workflowDeploymentName?: string;
10
10
  /** Optionally specify a release tag if you want to pin to a specific release of the Workflow Deployment */
11
11
  releaseTag?: string;
12
+ /** The list of inputs defined in the Workflow's deployment with their corresponding values. */
12
13
  inputs: Vellum.WorkflowRequestInputRequest[];
13
14
  /** Optionally include a unique identifier for tracking purposes. */
14
15
  externalId?: string;
@@ -1,3 +1,4 @@
1
+ export { ExecutePromptRequest } from "./ExecutePromptRequest";
1
2
  export { ExecuteWorkflowStreamRequest } from "./ExecuteWorkflowStreamRequest";
2
3
  export { GenerateBodyRequest } from "./GenerateBodyRequest";
3
4
  export { GenerateStreamBodyRequest } from "./GenerateStreamBodyRequest";
@@ -2,7 +2,6 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  import * as errors from "../../errors";
5
- import * as Vellum from "..";
6
5
  export declare class ForbiddenError extends errors.VellumError {
7
- constructor(body: Vellum.GenerateErrorResponse);
6
+ constructor(body?: unknown);
8
7
  }
@@ -62,7 +62,7 @@ class Deployments {
62
62
  X_API_KEY: yield core.Supplier.get(this._options.apiKey),
63
63
  "X-Fern-Language": "JavaScript",
64
64
  "X-Fern-SDK-Name": "vellum-ai",
65
- "X-Fern-SDK-Version": "v0.1.3",
65
+ "X-Fern-SDK-Version": "v0.1.5",
66
66
  },
67
67
  contentType: "application/json",
68
68
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -62,7 +62,7 @@ class DocumentIndexes {
62
62
  X_API_KEY: yield core.Supplier.get(this._options.apiKey),
63
63
  "X-Fern-Language": "JavaScript",
64
64
  "X-Fern-SDK-Name": "vellum-ai",
65
- "X-Fern-SDK-Version": "v0.1.3",
65
+ "X-Fern-SDK-Version": "v0.1.5",
66
66
  },
67
67
  contentType: "application/json",
68
68
  body: yield serializers.DocumentIndexCreateRequest.jsonOrThrow(request, {
@@ -114,7 +114,7 @@ class DocumentIndexes {
114
114
  X_API_KEY: yield core.Supplier.get(this._options.apiKey),
115
115
  "X-Fern-Language": "JavaScript",
116
116
  "X-Fern-SDK-Name": "vellum-ai",
117
- "X-Fern-SDK-Version": "v0.1.3",
117
+ "X-Fern-SDK-Version": "v0.1.5",
118
118
  },
119
119
  contentType: "application/json",
120
120
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -78,7 +78,7 @@ class Documents {
78
78
  X_API_KEY: yield core.Supplier.get(this._options.apiKey),
79
79
  "X-Fern-Language": "JavaScript",
80
80
  "X-Fern-SDK-Name": "vellum-ai",
81
- "X-Fern-SDK-Version": "v0.1.3",
81
+ "X-Fern-SDK-Version": "v0.1.5",
82
82
  },
83
83
  contentType: "application/json",
84
84
  queryParameters: _queryParams,
@@ -125,7 +125,7 @@ class Documents {
125
125
  X_API_KEY: yield core.Supplier.get(this._options.apiKey),
126
126
  "X-Fern-Language": "JavaScript",
127
127
  "X-Fern-SDK-Name": "vellum-ai",
128
- "X-Fern-SDK-Version": "v0.1.3",
128
+ "X-Fern-SDK-Version": "v0.1.5",
129
129
  },
130
130
  contentType: "application/json",
131
131
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -169,7 +169,7 @@ class Documents {
169
169
  X_API_KEY: yield core.Supplier.get(this._options.apiKey),
170
170
  "X-Fern-Language": "JavaScript",
171
171
  "X-Fern-SDK-Name": "vellum-ai",
172
- "X-Fern-SDK-Version": "v0.1.3",
172
+ "X-Fern-SDK-Version": "v0.1.5",
173
173
  },
174
174
  contentType: "application/json",
175
175
  body: yield serializers.PatchedDocumentUpdateRequest.jsonOrThrow(request, {
@@ -245,7 +245,7 @@ class Documents {
245
245
  X_API_KEY: yield core.Supplier.get(this._options.apiKey),
246
246
  "X-Fern-Language": "JavaScript",
247
247
  "X-Fern-SDK-Name": "vellum-ai",
248
- "X-Fern-SDK-Version": "v0.1.3",
248
+ "X-Fern-SDK-Version": "v0.1.5",
249
249
  "Content-Length": (yield core.getFormDataContentLength(_request)).toString(),
250
250
  },
251
251
  contentType: "multipart/form-data; boundary=" + _request.getBoundary(),
@@ -62,7 +62,7 @@ class ModelVersions {
62
62
  X_API_KEY: yield core.Supplier.get(this._options.apiKey),
63
63
  "X-Fern-Language": "JavaScript",
64
64
  "X-Fern-SDK-Name": "vellum-ai",
65
- "X-Fern-SDK-Version": "v0.1.3",
65
+ "X-Fern-SDK-Version": "v0.1.5",
66
66
  },
67
67
  contentType: "application/json",
68
68
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -69,7 +69,7 @@ class RegisteredPrompts {
69
69
  X_API_KEY: yield core.Supplier.get(this._options.apiKey),
70
70
  "X-Fern-Language": "JavaScript",
71
71
  "X-Fern-SDK-Name": "vellum-ai",
72
- "X-Fern-SDK-Version": "v0.1.3",
72
+ "X-Fern-SDK-Version": "v0.1.5",
73
73
  },
74
74
  contentType: "application/json",
75
75
  body: yield serializers.RegisterPromptRequestRequest.jsonOrThrow(request, {
@@ -68,7 +68,7 @@ class Sandboxes {
68
68
  X_API_KEY: yield core.Supplier.get(this._options.apiKey),
69
69
  "X-Fern-Language": "JavaScript",
70
70
  "X-Fern-SDK-Name": "vellum-ai",
71
- "X-Fern-SDK-Version": "v0.1.3",
71
+ "X-Fern-SDK-Version": "v0.1.5",
72
72
  },
73
73
  contentType: "application/json",
74
74
  body: yield serializers.UpsertSandboxScenarioRequestRequest.jsonOrThrow(request, {
@@ -120,7 +120,7 @@ class Sandboxes {
120
120
  X_API_KEY: yield core.Supplier.get(this._options.apiKey),
121
121
  "X-Fern-Language": "JavaScript",
122
122
  "X-Fern-SDK-Name": "vellum-ai",
123
- "X-Fern-SDK-Version": "v0.1.3",
123
+ "X-Fern-SDK-Version": "v0.1.5",
124
124
  },
125
125
  contentType: "application/json",
126
126
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -68,7 +68,7 @@ class TestSuites {
68
68
  X_API_KEY: yield core.Supplier.get(this._options.apiKey),
69
69
  "X-Fern-Language": "JavaScript",
70
70
  "X-Fern-SDK-Name": "vellum-ai",
71
- "X-Fern-SDK-Version": "v0.1.3",
71
+ "X-Fern-SDK-Version": "v0.1.5",
72
72
  },
73
73
  contentType: "application/json",
74
74
  body: yield serializers.TestSuiteTestCaseRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -119,7 +119,7 @@ class TestSuites {
119
119
  X_API_KEY: yield core.Supplier.get(this._options.apiKey),
120
120
  "X-Fern-Language": "JavaScript",
121
121
  "X-Fern-SDK-Name": "vellum-ai",
122
- "X-Fern-SDK-Version": "v0.1.3",
122
+ "X-Fern-SDK-Version": "v0.1.5",
123
123
  },
124
124
  contentType: "application/json",
125
125
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -3,12 +3,8 @@
3
3
  */
4
4
  import * as Vellum from "../../../..";
5
5
  export interface TestSuiteTestCaseRequest {
6
- /** The id of the test case to update. If none is provided, an id will be generated and a new test case will be appended. */
7
- testCaseId?: string;
8
- /** A human-friendly label for the test case. */
6
+ testSuiteTestCaseRequestId?: string;
9
7
  label?: string;
10
- /** Key/value pairs for each input variable that the Test Suite expects. */
11
- inputValues: Record<string, unknown>;
12
- /** Parameters to use when evaluating the test case, specific to the test suite's evaluation metric. */
13
- evaluationParams: Vellum.EvaluationParamsRequest;
8
+ inputValues: Vellum.TestCaseVariableValueRequest[];
9
+ evaluationValues: Vellum.TestCaseVariableValueRequest[];
14
10
  }
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vellum from "..";
5
+ export interface ChatHistoryInputRequest {
6
+ /** The variable's name, as defined in the deployment. */
7
+ name: string;
8
+ value: Vellum.ChatMessageRequest[];
9
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vellum from "..";
5
+ export interface ErrorExecutePromptResponse {
6
+ value: Vellum.VellumError;
7
+ executionId: string;
8
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface ExecutePromptApiErrorResponse {
5
+ /** Details about why the request failed. */
6
+ detail: string;
7
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,16 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vellum from "..";
5
+ export declare type ExecutePromptResponse = Vellum.ExecutePromptResponse.Error_ | Vellum.ExecutePromptResponse.Json | Vellum.ExecutePromptResponse.String;
6
+ export declare namespace ExecutePromptResponse {
7
+ interface Error_ extends Vellum.ErrorExecutePromptResponse {
8
+ type: "ERROR";
9
+ }
10
+ interface Json extends Vellum.JsonExecutePromptResponse {
11
+ type: "JSON";
12
+ }
13
+ interface String extends Vellum.StringExecutePromptResponse {
14
+ type: "STRING";
15
+ }
16
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface JsonExecutePromptResponse {
5
+ value: Record<string, unknown>;
6
+ executionId: string;
7
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface JsonInputRequest {
5
+ /** The variable's name, as defined in the deployment. */
6
+ name: string;
7
+ value: Record<string, unknown>;
8
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,16 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vellum from "..";
5
+ export declare type PromptDeploymentInputRequest = Vellum.PromptDeploymentInputRequest.String | Vellum.PromptDeploymentInputRequest.Json | Vellum.PromptDeploymentInputRequest.ChatHistory;
6
+ export declare namespace PromptDeploymentInputRequest {
7
+ interface String extends Vellum.StringInputRequest {
8
+ type: "STRING";
9
+ }
10
+ interface Json extends Vellum.JsonInputRequest {
11
+ type: "JSON";
12
+ }
13
+ interface ChatHistory extends Vellum.ChatHistoryInputRequest {
14
+ type: "CHAT_HISTORY";
15
+ }
16
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface SearchResultDocumentRequest {
5
+ /** The human-readable name for the document. */
6
+ label: string;
7
+ /** The unique ID of the document as represented in an external system and specified when it was originally uploaded. */
8
+ externalId?: string;
9
+ /** A previously supplied JSON object containing metadata that can be filtered on when searching. */
10
+ metadata?: Record<string, unknown>;
11
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vellum from "..";
5
+ export interface SearchResultRequest {
6
+ /** The text of the chunk that matched the search query. */
7
+ text: string;
8
+ /** A score representing how well the chunk matches the search query. */
9
+ score: number;
10
+ keywords: string[];
11
+ /** The document that contains the chunk that matched the search query. */
12
+ document: Vellum.SearchResultDocumentRequest;
13
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface StringExecutePromptResponse {
5
+ value: string;
6
+ executionId: string;
7
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface StringInputRequest {
5
+ /** The variable's name, as defined in the deployment. */
6
+ name: string;
7
+ value: string;
8
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vellum from "..";
5
+ export interface TestCaseChatHistoryVariableValue {
6
+ variableId: string;
7
+ value?: Vellum.ChatMessage[];
8
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vellum from "..";
5
+ export interface TestCaseChatHistoryVariableValueRequest {
6
+ variableId: string;
7
+ value?: Vellum.ChatMessageRequest[];
8
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vellum from "..";
5
+ export interface TestCaseErrorVariableValue {
6
+ variableId: string;
7
+ value?: Vellum.VellumError;
8
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vellum from "..";
5
+ export interface TestCaseErrorVariableValueRequest {
6
+ variableId: string;
7
+ value?: Vellum.VellumErrorRequest;
8
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface TestCaseJsonVariableValue {
5
+ variableId: string;
6
+ value?: Record<string, unknown>;
7
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });