vellum-ai 0.2.0 → 0.2.1

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 (259) hide show
  1. package/Client.d.ts +7 -0
  2. package/Client.js +70 -8
  3. package/api/client/requests/ExecuteWorkflowRequest.d.ts +16 -0
  4. package/api/client/requests/ExecuteWorkflowRequest.js +5 -0
  5. package/api/client/requests/index.d.ts +1 -0
  6. package/api/resources/deployments/client/Client.js +3 -3
  7. package/api/resources/documentIndexes/client/Client.js +2 -2
  8. package/api/resources/documents/client/Client.js +4 -4
  9. package/api/resources/modelVersions/client/Client.js +1 -1
  10. package/api/resources/registeredPrompts/client/Client.js +1 -1
  11. package/api/resources/sandboxes/client/Client.js +2 -2
  12. package/api/resources/testSuites/client/Client.js +2 -2
  13. package/api/resources/workflowDeployments/client/Client.js +1 -1
  14. package/api/types/ArrayEnum.d.ts +4 -0
  15. package/api/types/ArrayEnum.js +5 -0
  16. package/api/types/ArrayVariableValue.d.ts +7 -0
  17. package/api/types/ArrayVariableValue.js +5 -0
  18. package/api/types/ChatHistoryEnum.d.ts +4 -0
  19. package/api/types/ChatHistoryEnum.js +5 -0
  20. package/api/types/ChatHistoryVariableValue.d.ts +7 -0
  21. package/api/types/ChatHistoryVariableValue.js +5 -0
  22. package/api/types/ErrorEnum.d.ts +4 -0
  23. package/api/types/ErrorEnum.js +5 -0
  24. package/api/types/ExecuteWorkflowErrorResponse.d.ts +7 -0
  25. package/api/types/ExecuteWorkflowErrorResponse.js +5 -0
  26. package/api/types/ExecuteWorkflowResponse.d.ts +10 -0
  27. package/api/types/ExecuteWorkflowResponse.js +5 -0
  28. package/api/types/ExecuteWorkflowWorkflowResultEvent.d.ts +13 -0
  29. package/api/types/ExecuteWorkflowWorkflowResultEvent.js +5 -0
  30. package/api/types/FulfilledExecuteWorkflowWorkflowResultEvent.d.ts +12 -0
  31. package/api/types/FulfilledExecuteWorkflowWorkflowResultEvent.js +5 -0
  32. package/api/types/JsonEnum.d.ts +4 -0
  33. package/api/types/JsonEnum.js +5 -0
  34. package/api/types/NumberEnum.d.ts +4 -0
  35. package/api/types/NumberEnum.js +5 -0
  36. package/api/types/NumberVariableValue.d.ts +6 -0
  37. package/api/types/NumberVariableValue.js +5 -0
  38. package/api/types/RejectedExecuteWorkflowWorkflowResultEvent.d.ts +12 -0
  39. package/api/types/RejectedExecuteWorkflowWorkflowResultEvent.js +5 -0
  40. package/api/types/ScenarioInputTypeEnum.d.ts +2 -2
  41. package/api/types/SearchResultsEnum.d.ts +4 -0
  42. package/api/types/SearchResultsEnum.js +5 -0
  43. package/api/types/SearchResultsVariableValue.d.ts +7 -0
  44. package/api/types/SearchResultsVariableValue.js +5 -0
  45. package/api/types/VariableValue.d.ts +31 -0
  46. package/api/types/VariableValue.js +5 -0
  47. package/api/types/WorkflowOutput.d.ts +34 -0
  48. package/api/types/WorkflowOutput.js +5 -0
  49. package/api/types/WorkflowOutputArray.d.ts +13 -0
  50. package/api/types/WorkflowOutputArray.js +5 -0
  51. package/api/types/WorkflowOutputChatHistory.d.ts +13 -0
  52. package/api/types/WorkflowOutputChatHistory.js +5 -0
  53. package/api/types/WorkflowOutputError.d.ts +13 -0
  54. package/api/types/WorkflowOutputError.js +5 -0
  55. package/api/types/WorkflowOutputFunctionCall.d.ts +13 -0
  56. package/api/types/WorkflowOutputFunctionCall.js +5 -0
  57. package/api/types/WorkflowOutputImage.d.ts +13 -0
  58. package/api/types/WorkflowOutputImage.js +5 -0
  59. package/api/types/WorkflowOutputJson.d.ts +12 -0
  60. package/api/types/WorkflowOutputJson.js +5 -0
  61. package/api/types/WorkflowOutputNumber.d.ts +12 -0
  62. package/api/types/WorkflowOutputNumber.js +5 -0
  63. package/api/types/WorkflowOutputSearchResults.d.ts +13 -0
  64. package/api/types/WorkflowOutputSearchResults.js +5 -0
  65. package/api/types/WorkflowOutputString.d.ts +12 -0
  66. package/api/types/WorkflowOutputString.js +5 -0
  67. package/api/types/WorkflowResultEvent.d.ts +1 -0
  68. package/api/types/index.d.ts +26 -0
  69. package/api/types/index.js +26 -0
  70. package/dist/Client.d.ts +7 -0
  71. package/dist/Client.js +70 -8
  72. package/dist/api/client/requests/ExecuteWorkflowRequest.d.ts +16 -0
  73. package/dist/api/client/requests/ExecuteWorkflowRequest.js +5 -0
  74. package/dist/api/client/requests/index.d.ts +1 -0
  75. package/dist/api/resources/deployments/client/Client.js +3 -3
  76. package/dist/api/resources/documentIndexes/client/Client.js +2 -2
  77. package/dist/api/resources/documents/client/Client.js +4 -4
  78. package/dist/api/resources/modelVersions/client/Client.js +1 -1
  79. package/dist/api/resources/registeredPrompts/client/Client.js +1 -1
  80. package/dist/api/resources/sandboxes/client/Client.js +2 -2
  81. package/dist/api/resources/testSuites/client/Client.js +2 -2
  82. package/dist/api/resources/workflowDeployments/client/Client.js +1 -1
  83. package/dist/api/types/ArrayEnum.d.ts +4 -0
  84. package/dist/api/types/ArrayEnum.js +5 -0
  85. package/dist/api/types/ArrayVariableValue.d.ts +7 -0
  86. package/dist/api/types/ArrayVariableValue.js +5 -0
  87. package/dist/api/types/ChatHistoryEnum.d.ts +4 -0
  88. package/dist/api/types/ChatHistoryEnum.js +5 -0
  89. package/dist/api/types/ChatHistoryVariableValue.d.ts +7 -0
  90. package/dist/api/types/ChatHistoryVariableValue.js +5 -0
  91. package/dist/api/types/ErrorEnum.d.ts +4 -0
  92. package/dist/api/types/ErrorEnum.js +5 -0
  93. package/dist/api/types/ExecuteWorkflowErrorResponse.d.ts +7 -0
  94. package/dist/api/types/ExecuteWorkflowErrorResponse.js +5 -0
  95. package/dist/api/types/ExecuteWorkflowResponse.d.ts +10 -0
  96. package/dist/api/types/ExecuteWorkflowResponse.js +5 -0
  97. package/dist/api/types/ExecuteWorkflowWorkflowResultEvent.d.ts +13 -0
  98. package/dist/api/types/ExecuteWorkflowWorkflowResultEvent.js +5 -0
  99. package/dist/api/types/FulfilledExecuteWorkflowWorkflowResultEvent.d.ts +12 -0
  100. package/dist/api/types/FulfilledExecuteWorkflowWorkflowResultEvent.js +5 -0
  101. package/dist/api/types/JsonEnum.d.ts +4 -0
  102. package/dist/api/types/JsonEnum.js +5 -0
  103. package/dist/api/types/NumberEnum.d.ts +4 -0
  104. package/dist/api/types/NumberEnum.js +5 -0
  105. package/dist/api/types/NumberVariableValue.d.ts +6 -0
  106. package/dist/api/types/NumberVariableValue.js +5 -0
  107. package/dist/api/types/RejectedExecuteWorkflowWorkflowResultEvent.d.ts +12 -0
  108. package/dist/api/types/RejectedExecuteWorkflowWorkflowResultEvent.js +5 -0
  109. package/dist/api/types/ScenarioInputTypeEnum.d.ts +2 -2
  110. package/dist/api/types/SearchResultsEnum.d.ts +4 -0
  111. package/dist/api/types/SearchResultsEnum.js +5 -0
  112. package/dist/api/types/SearchResultsVariableValue.d.ts +7 -0
  113. package/dist/api/types/SearchResultsVariableValue.js +5 -0
  114. package/dist/api/types/VariableValue.d.ts +31 -0
  115. package/dist/api/types/VariableValue.js +5 -0
  116. package/dist/api/types/WorkflowOutput.d.ts +34 -0
  117. package/dist/api/types/WorkflowOutput.js +5 -0
  118. package/dist/api/types/WorkflowOutputArray.d.ts +13 -0
  119. package/dist/api/types/WorkflowOutputArray.js +5 -0
  120. package/dist/api/types/WorkflowOutputChatHistory.d.ts +13 -0
  121. package/dist/api/types/WorkflowOutputChatHistory.js +5 -0
  122. package/dist/api/types/WorkflowOutputError.d.ts +13 -0
  123. package/dist/api/types/WorkflowOutputError.js +5 -0
  124. package/dist/api/types/WorkflowOutputFunctionCall.d.ts +13 -0
  125. package/dist/api/types/WorkflowOutputFunctionCall.js +5 -0
  126. package/dist/api/types/WorkflowOutputImage.d.ts +13 -0
  127. package/dist/api/types/WorkflowOutputImage.js +5 -0
  128. package/dist/api/types/WorkflowOutputJson.d.ts +12 -0
  129. package/dist/api/types/WorkflowOutputJson.js +5 -0
  130. package/dist/api/types/WorkflowOutputNumber.d.ts +12 -0
  131. package/dist/api/types/WorkflowOutputNumber.js +5 -0
  132. package/dist/api/types/WorkflowOutputSearchResults.d.ts +13 -0
  133. package/dist/api/types/WorkflowOutputSearchResults.js +5 -0
  134. package/dist/api/types/WorkflowOutputString.d.ts +12 -0
  135. package/dist/api/types/WorkflowOutputString.js +5 -0
  136. package/dist/api/types/WorkflowResultEvent.d.ts +1 -0
  137. package/dist/api/types/index.d.ts +26 -0
  138. package/dist/api/types/index.js +26 -0
  139. package/dist/serialization/client/requests/ExecuteWorkflowRequest.d.ts +16 -0
  140. package/dist/serialization/client/requests/ExecuteWorkflowRequest.js +46 -0
  141. package/dist/serialization/client/requests/index.d.ts +1 -0
  142. package/dist/serialization/client/requests/index.js +3 -1
  143. package/dist/serialization/types/ArrayEnum.d.ts +10 -0
  144. package/dist/serialization/types/ArrayEnum.js +31 -0
  145. package/dist/serialization/types/ArrayVariableValue.d.ts +12 -0
  146. package/dist/serialization/types/ArrayVariableValue.js +42 -0
  147. package/dist/serialization/types/ChatHistoryEnum.d.ts +10 -0
  148. package/dist/serialization/types/ChatHistoryEnum.js +31 -0
  149. package/dist/serialization/types/ChatHistoryVariableValue.d.ts +12 -0
  150. package/dist/serialization/types/ChatHistoryVariableValue.js +44 -0
  151. package/dist/serialization/types/ErrorEnum.d.ts +10 -0
  152. package/dist/serialization/types/ErrorEnum.js +31 -0
  153. package/dist/serialization/types/ExecuteWorkflowErrorResponse.d.ts +12 -0
  154. package/dist/serialization/types/ExecuteWorkflowErrorResponse.js +33 -0
  155. package/dist/serialization/types/ExecuteWorkflowResponse.d.ts +15 -0
  156. package/dist/serialization/types/ExecuteWorkflowResponse.js +45 -0
  157. package/dist/serialization/types/ExecuteWorkflowWorkflowResultEvent.d.ts +16 -0
  158. package/dist/serialization/types/ExecuteWorkflowWorkflowResultEvent.js +48 -0
  159. package/dist/serialization/types/FulfilledExecuteWorkflowWorkflowResultEvent.d.ts +14 -0
  160. package/dist/serialization/types/FulfilledExecuteWorkflowWorkflowResultEvent.js +44 -0
  161. package/dist/serialization/types/JsonEnum.d.ts +10 -0
  162. package/dist/serialization/types/JsonEnum.js +31 -0
  163. package/dist/serialization/types/NumberEnum.d.ts +10 -0
  164. package/dist/serialization/types/NumberEnum.js +31 -0
  165. package/dist/serialization/types/NumberVariableValue.d.ts +12 -0
  166. package/dist/serialization/types/NumberVariableValue.js +33 -0
  167. package/dist/serialization/types/RejectedExecuteWorkflowWorkflowResultEvent.d.ts +14 -0
  168. package/dist/serialization/types/RejectedExecuteWorkflowWorkflowResultEvent.js +44 -0
  169. package/dist/serialization/types/SearchResultsEnum.d.ts +10 -0
  170. package/dist/serialization/types/SearchResultsEnum.js +31 -0
  171. package/dist/serialization/types/SearchResultsVariableValue.d.ts +12 -0
  172. package/dist/serialization/types/SearchResultsVariableValue.js +44 -0
  173. package/dist/serialization/types/VariableValue.d.ts +34 -0
  174. package/dist/serialization/types/VariableValue.js +54 -0
  175. package/dist/serialization/types/WorkflowOutput.d.ts +37 -0
  176. package/dist/serialization/types/WorkflowOutput.js +55 -0
  177. package/dist/serialization/types/WorkflowOutputArray.d.ts +14 -0
  178. package/dist/serialization/types/WorkflowOutputArray.js +44 -0
  179. package/dist/serialization/types/WorkflowOutputChatHistory.d.ts +14 -0
  180. package/dist/serialization/types/WorkflowOutputChatHistory.js +44 -0
  181. package/dist/serialization/types/WorkflowOutputError.d.ts +14 -0
  182. package/dist/serialization/types/WorkflowOutputError.js +44 -0
  183. package/dist/serialization/types/WorkflowOutputFunctionCall.d.ts +14 -0
  184. package/dist/serialization/types/WorkflowOutputFunctionCall.js +44 -0
  185. package/dist/serialization/types/WorkflowOutputImage.d.ts +14 -0
  186. package/dist/serialization/types/WorkflowOutputImage.js +44 -0
  187. package/dist/serialization/types/WorkflowOutputJson.d.ts +14 -0
  188. package/dist/serialization/types/WorkflowOutputJson.js +35 -0
  189. package/dist/serialization/types/WorkflowOutputNumber.d.ts +14 -0
  190. package/dist/serialization/types/WorkflowOutputNumber.js +35 -0
  191. package/dist/serialization/types/WorkflowOutputSearchResults.d.ts +14 -0
  192. package/dist/serialization/types/WorkflowOutputSearchResults.js +44 -0
  193. package/dist/serialization/types/WorkflowOutputString.d.ts +14 -0
  194. package/dist/serialization/types/WorkflowOutputString.js +35 -0
  195. package/dist/serialization/types/WorkflowResultEvent.d.ts +1 -0
  196. package/dist/serialization/types/WorkflowResultEvent.js +3 -0
  197. package/dist/serialization/types/index.d.ts +26 -0
  198. package/dist/serialization/types/index.js +26 -0
  199. package/package.json +1 -1
  200. package/serialization/client/requests/ExecuteWorkflowRequest.d.ts +16 -0
  201. package/serialization/client/requests/ExecuteWorkflowRequest.js +46 -0
  202. package/serialization/client/requests/index.d.ts +1 -0
  203. package/serialization/client/requests/index.js +3 -1
  204. package/serialization/types/ArrayEnum.d.ts +10 -0
  205. package/serialization/types/ArrayEnum.js +31 -0
  206. package/serialization/types/ArrayVariableValue.d.ts +12 -0
  207. package/serialization/types/ArrayVariableValue.js +42 -0
  208. package/serialization/types/ChatHistoryEnum.d.ts +10 -0
  209. package/serialization/types/ChatHistoryEnum.js +31 -0
  210. package/serialization/types/ChatHistoryVariableValue.d.ts +12 -0
  211. package/serialization/types/ChatHistoryVariableValue.js +44 -0
  212. package/serialization/types/ErrorEnum.d.ts +10 -0
  213. package/serialization/types/ErrorEnum.js +31 -0
  214. package/serialization/types/ExecuteWorkflowErrorResponse.d.ts +12 -0
  215. package/serialization/types/ExecuteWorkflowErrorResponse.js +33 -0
  216. package/serialization/types/ExecuteWorkflowResponse.d.ts +15 -0
  217. package/serialization/types/ExecuteWorkflowResponse.js +45 -0
  218. package/serialization/types/ExecuteWorkflowWorkflowResultEvent.d.ts +16 -0
  219. package/serialization/types/ExecuteWorkflowWorkflowResultEvent.js +48 -0
  220. package/serialization/types/FulfilledExecuteWorkflowWorkflowResultEvent.d.ts +14 -0
  221. package/serialization/types/FulfilledExecuteWorkflowWorkflowResultEvent.js +44 -0
  222. package/serialization/types/JsonEnum.d.ts +10 -0
  223. package/serialization/types/JsonEnum.js +31 -0
  224. package/serialization/types/NumberEnum.d.ts +10 -0
  225. package/serialization/types/NumberEnum.js +31 -0
  226. package/serialization/types/NumberVariableValue.d.ts +12 -0
  227. package/serialization/types/NumberVariableValue.js +33 -0
  228. package/serialization/types/RejectedExecuteWorkflowWorkflowResultEvent.d.ts +14 -0
  229. package/serialization/types/RejectedExecuteWorkflowWorkflowResultEvent.js +44 -0
  230. package/serialization/types/SearchResultsEnum.d.ts +10 -0
  231. package/serialization/types/SearchResultsEnum.js +31 -0
  232. package/serialization/types/SearchResultsVariableValue.d.ts +12 -0
  233. package/serialization/types/SearchResultsVariableValue.js +44 -0
  234. package/serialization/types/VariableValue.d.ts +34 -0
  235. package/serialization/types/VariableValue.js +54 -0
  236. package/serialization/types/WorkflowOutput.d.ts +37 -0
  237. package/serialization/types/WorkflowOutput.js +55 -0
  238. package/serialization/types/WorkflowOutputArray.d.ts +14 -0
  239. package/serialization/types/WorkflowOutputArray.js +44 -0
  240. package/serialization/types/WorkflowOutputChatHistory.d.ts +14 -0
  241. package/serialization/types/WorkflowOutputChatHistory.js +44 -0
  242. package/serialization/types/WorkflowOutputError.d.ts +14 -0
  243. package/serialization/types/WorkflowOutputError.js +44 -0
  244. package/serialization/types/WorkflowOutputFunctionCall.d.ts +14 -0
  245. package/serialization/types/WorkflowOutputFunctionCall.js +44 -0
  246. package/serialization/types/WorkflowOutputImage.d.ts +14 -0
  247. package/serialization/types/WorkflowOutputImage.js +44 -0
  248. package/serialization/types/WorkflowOutputJson.d.ts +14 -0
  249. package/serialization/types/WorkflowOutputJson.js +35 -0
  250. package/serialization/types/WorkflowOutputNumber.d.ts +14 -0
  251. package/serialization/types/WorkflowOutputNumber.js +35 -0
  252. package/serialization/types/WorkflowOutputSearchResults.d.ts +14 -0
  253. package/serialization/types/WorkflowOutputSearchResults.js +44 -0
  254. package/serialization/types/WorkflowOutputString.d.ts +14 -0
  255. package/serialization/types/WorkflowOutputString.js +35 -0
  256. package/serialization/types/WorkflowResultEvent.d.ts +1 -0
  257. package/serialization/types/WorkflowResultEvent.js +3 -0
  258. package/serialization/types/index.d.ts +26 -0
  259. package/serialization/types/index.js +26 -0
@@ -73,7 +73,7 @@ class DocumentIndexes {
73
73
  X_API_KEY: yield core.Supplier.get(this._options.apiKey),
74
74
  "X-Fern-Language": "JavaScript",
75
75
  "X-Fern-SDK-Name": "vellum-ai",
76
- "X-Fern-SDK-Version": "v0.2.0",
76
+ "X-Fern-SDK-Version": "v0.2.1",
77
77
  },
78
78
  contentType: "application/json",
79
79
  body: yield serializers.DocumentIndexCreateRequest.jsonOrThrow(request, {
@@ -128,7 +128,7 @@ class DocumentIndexes {
128
128
  X_API_KEY: yield core.Supplier.get(this._options.apiKey),
129
129
  "X-Fern-Language": "JavaScript",
130
130
  "X-Fern-SDK-Name": "vellum-ai",
131
- "X-Fern-SDK-Version": "v0.2.0",
131
+ "X-Fern-SDK-Version": "v0.2.1",
132
132
  },
133
133
  contentType: "application/json",
134
134
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -81,7 +81,7 @@ class Documents {
81
81
  X_API_KEY: yield core.Supplier.get(this._options.apiKey),
82
82
  "X-Fern-Language": "JavaScript",
83
83
  "X-Fern-SDK-Name": "vellum-ai",
84
- "X-Fern-SDK-Version": "v0.2.0",
84
+ "X-Fern-SDK-Version": "v0.2.1",
85
85
  },
86
86
  contentType: "application/json",
87
87
  queryParameters: _queryParams,
@@ -128,7 +128,7 @@ class Documents {
128
128
  X_API_KEY: yield core.Supplier.get(this._options.apiKey),
129
129
  "X-Fern-Language": "JavaScript",
130
130
  "X-Fern-SDK-Name": "vellum-ai",
131
- "X-Fern-SDK-Version": "v0.2.0",
131
+ "X-Fern-SDK-Version": "v0.2.1",
132
132
  },
133
133
  contentType: "application/json",
134
134
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -177,7 +177,7 @@ class Documents {
177
177
  X_API_KEY: yield core.Supplier.get(this._options.apiKey),
178
178
  "X-Fern-Language": "JavaScript",
179
179
  "X-Fern-SDK-Name": "vellum-ai",
180
- "X-Fern-SDK-Version": "v0.2.0",
180
+ "X-Fern-SDK-Version": "v0.2.1",
181
181
  },
182
182
  contentType: "application/json",
183
183
  body: yield serializers.PatchedDocumentUpdateRequest.jsonOrThrow(request, {
@@ -253,7 +253,7 @@ class Documents {
253
253
  X_API_KEY: yield core.Supplier.get(this._options.apiKey),
254
254
  "X-Fern-Language": "JavaScript",
255
255
  "X-Fern-SDK-Name": "vellum-ai",
256
- "X-Fern-SDK-Version": "v0.2.0",
256
+ "X-Fern-SDK-Version": "v0.2.1",
257
257
  },
258
258
  contentType: "multipart/form-data; boundary=" + _request.getBoundary(),
259
259
  body: _request,
@@ -65,7 +65,7 @@ class ModelVersions {
65
65
  X_API_KEY: yield core.Supplier.get(this._options.apiKey),
66
66
  "X-Fern-Language": "JavaScript",
67
67
  "X-Fern-SDK-Name": "vellum-ai",
68
- "X-Fern-SDK-Version": "v0.2.0",
68
+ "X-Fern-SDK-Version": "v0.2.1",
69
69
  },
70
70
  contentType: "application/json",
71
71
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -101,7 +101,7 @@ class RegisteredPrompts {
101
101
  X_API_KEY: yield core.Supplier.get(this._options.apiKey),
102
102
  "X-Fern-Language": "JavaScript",
103
103
  "X-Fern-SDK-Name": "vellum-ai",
104
- "X-Fern-SDK-Version": "v0.2.0",
104
+ "X-Fern-SDK-Version": "v0.2.1",
105
105
  },
106
106
  contentType: "application/json",
107
107
  body: yield serializers.RegisterPromptRequestRequest.jsonOrThrow(request, {
@@ -82,7 +82,7 @@ class Sandboxes {
82
82
  X_API_KEY: yield core.Supplier.get(this._options.apiKey),
83
83
  "X-Fern-Language": "JavaScript",
84
84
  "X-Fern-SDK-Name": "vellum-ai",
85
- "X-Fern-SDK-Version": "v0.2.0",
85
+ "X-Fern-SDK-Version": "v0.2.1",
86
86
  },
87
87
  contentType: "application/json",
88
88
  body: yield serializers.UpsertSandboxScenarioRequestRequest.jsonOrThrow(request, {
@@ -137,7 +137,7 @@ class Sandboxes {
137
137
  X_API_KEY: yield core.Supplier.get(this._options.apiKey),
138
138
  "X-Fern-Language": "JavaScript",
139
139
  "X-Fern-SDK-Name": "vellum-ai",
140
- "X-Fern-SDK-Version": "v0.2.0",
140
+ "X-Fern-SDK-Version": "v0.2.1",
141
141
  },
142
142
  contentType: "application/json",
143
143
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -74,7 +74,7 @@ class TestSuites {
74
74
  X_API_KEY: yield core.Supplier.get(this._options.apiKey),
75
75
  "X-Fern-Language": "JavaScript",
76
76
  "X-Fern-SDK-Name": "vellum-ai",
77
- "X-Fern-SDK-Version": "v0.2.0",
77
+ "X-Fern-SDK-Version": "v0.2.1",
78
78
  },
79
79
  contentType: "application/json",
80
80
  body: yield serializers.UpsertTestSuiteTestCaseRequest.jsonOrThrow(request, {
@@ -129,7 +129,7 @@ class TestSuites {
129
129
  X_API_KEY: yield core.Supplier.get(this._options.apiKey),
130
130
  "X-Fern-Language": "JavaScript",
131
131
  "X-Fern-SDK-Name": "vellum-ai",
132
- "X-Fern-SDK-Version": "v0.2.0",
132
+ "X-Fern-SDK-Version": "v0.2.1",
133
133
  },
134
134
  contentType: "application/json",
135
135
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -73,7 +73,7 @@ class WorkflowDeployments {
73
73
  X_API_KEY: yield core.Supplier.get(this._options.apiKey),
74
74
  "X-Fern-Language": "JavaScript",
75
75
  "X-Fern-SDK-Name": "vellum-ai",
76
- "X-Fern-SDK-Version": "v0.2.0",
76
+ "X-Fern-SDK-Version": "v0.2.1",
77
77
  },
78
78
  contentType: "application/json",
79
79
  queryParameters: _queryParams,
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export declare type ArrayEnum = "ARRAY";
@@ -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
+ import * as Vellum from "..";
5
+ export interface ArrayVariableValue {
6
+ value: Vellum.VariableValue[];
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,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export declare type ChatHistoryEnum = "CHAT_HISTORY";
@@ -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
+ import * as Vellum from "..";
5
+ export interface ChatHistoryVariableValue {
6
+ value?: Vellum.ChatMessage[];
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,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export declare type ErrorEnum = "ERROR";
@@ -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 ExecuteWorkflowErrorResponse {
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,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vellum from "..";
5
+ export interface ExecuteWorkflowResponse {
6
+ executionId: string;
7
+ runId?: string;
8
+ externalId?: string;
9
+ data: Vellum.ExecuteWorkflowWorkflowResultEvent;
10
+ }
@@ -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 declare type ExecuteWorkflowWorkflowResultEvent = Vellum.ExecuteWorkflowWorkflowResultEvent.Fulfilled | Vellum.ExecuteWorkflowWorkflowResultEvent.Rejected;
6
+ export declare namespace ExecuteWorkflowWorkflowResultEvent {
7
+ interface Fulfilled extends Vellum.FulfilledExecuteWorkflowWorkflowResultEvent {
8
+ state: "FULFILLED";
9
+ }
10
+ interface Rejected extends Vellum.RejectedExecuteWorkflowWorkflowResultEvent {
11
+ state: "REJECTED";
12
+ }
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,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vellum from "..";
5
+ /**
6
+ * The successful response from the Workflow execution containing the produced outputs.
7
+ */
8
+ export interface FulfilledExecuteWorkflowWorkflowResultEvent {
9
+ id: string;
10
+ ts: Date;
11
+ outputs: Vellum.WorkflowOutput[];
12
+ }
@@ -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,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export declare type JsonEnum = "JSON";
@@ -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,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export declare type NumberEnum = "NUMBER";
@@ -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,6 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface NumberVariableValue {
5
+ value?: number;
6
+ }
@@ -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,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vellum from "..";
5
+ /**
6
+ * The unsuccessful response from the Workflow execution containing an error specifying what went wrong.
7
+ */
8
+ export interface RejectedExecuteWorkflowWorkflowResultEvent {
9
+ id: string;
10
+ ts: Date;
11
+ error: Vellum.WorkflowEventError;
12
+ }
@@ -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 });
@@ -2,8 +2,8 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  /**
5
- * - `TEXT` - Text
6
- * - `CHAT_HISTORY` - Chat History
5
+ * - `TEXT` - TEXT
6
+ * - `CHAT_HISTORY` - CHAT_HISTORY
7
7
  */
8
8
  export declare type ScenarioInputTypeEnum = "TEXT" | "CHAT_HISTORY";
9
9
  export declare const ScenarioInputTypeEnum: {
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export declare type SearchResultsEnum = "SEARCH_RESULTS";
@@ -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
+ import * as Vellum from "..";
5
+ export interface SearchResultsVariableValue {
6
+ value?: Vellum.SearchResult[];
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,31 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vellum from "..";
5
+ export declare type VariableValue = Vellum.VariableValue.String | Vellum.VariableValue.Number | Vellum.VariableValue.Json | Vellum.VariableValue.ChatHistory | Vellum.VariableValue.SearchResults | Vellum.VariableValue.Error_ | Vellum.VariableValue.Array | Vellum.VariableValue.FunctionCall;
6
+ export declare namespace VariableValue {
7
+ interface String extends Vellum.StringVariableValue {
8
+ type: "STRING";
9
+ }
10
+ interface Number extends Vellum.NumberVariableValue {
11
+ type: "NUMBER";
12
+ }
13
+ interface Json extends Vellum.JsonVariableValue {
14
+ type: "JSON";
15
+ }
16
+ interface ChatHistory extends Vellum.ChatHistoryVariableValue {
17
+ type: "CHAT_HISTORY";
18
+ }
19
+ interface SearchResults extends Vellum.SearchResultsVariableValue {
20
+ type: "SEARCH_RESULTS";
21
+ }
22
+ interface Error_ extends Vellum.ErrorVariableValue {
23
+ type: "ERROR";
24
+ }
25
+ interface Array extends Vellum.ArrayVariableValue {
26
+ type: "ARRAY";
27
+ }
28
+ interface FunctionCall extends Vellum.FunctionCallVariableValue {
29
+ type: "FUNCTION_CALL";
30
+ }
31
+ }
@@ -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,34 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vellum from "..";
5
+ export declare type WorkflowOutput = Vellum.WorkflowOutput.String | Vellum.WorkflowOutput.Number | Vellum.WorkflowOutput.Json | Vellum.WorkflowOutput.ChatHistory | Vellum.WorkflowOutput.SearchResults | Vellum.WorkflowOutput.Error_ | Vellum.WorkflowOutput.Array | Vellum.WorkflowOutput.FunctionCall | Vellum.WorkflowOutput.Image;
6
+ export declare namespace WorkflowOutput {
7
+ interface String extends Vellum.WorkflowOutputString {
8
+ type: "STRING";
9
+ }
10
+ interface Number extends Vellum.WorkflowOutputNumber {
11
+ type: "NUMBER";
12
+ }
13
+ interface Json extends Vellum.WorkflowOutputJson {
14
+ type: "JSON";
15
+ }
16
+ interface ChatHistory extends Vellum.WorkflowOutputChatHistory {
17
+ type: "CHAT_HISTORY";
18
+ }
19
+ interface SearchResults extends Vellum.WorkflowOutputSearchResults {
20
+ type: "SEARCH_RESULTS";
21
+ }
22
+ interface Error_ extends Vellum.WorkflowOutputError {
23
+ type: "ERROR";
24
+ }
25
+ interface Array extends Vellum.WorkflowOutputArray {
26
+ type: "ARRAY";
27
+ }
28
+ interface FunctionCall extends Vellum.WorkflowOutputFunctionCall {
29
+ type: "FUNCTION_CALL";
30
+ }
31
+ interface Image extends Vellum.WorkflowOutputImage {
32
+ type: "IMAGE";
33
+ }
34
+ }
@@ -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
+ /**
6
+ * An array of outputs from a Workflow execution.
7
+ */
8
+ export interface WorkflowOutputArray {
9
+ id: string;
10
+ /** The output's name, as defined in the workflow */
11
+ name: string;
12
+ value: Vellum.VariableValue[];
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,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vellum from "..";
5
+ /**
6
+ * A chat history output from a Workflow execution.
7
+ */
8
+ export interface WorkflowOutputChatHistory {
9
+ id: string;
10
+ /** The output's name, as defined in the workflow */
11
+ name: string;
12
+ value: Vellum.ChatMessage[];
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,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vellum from "..";
5
+ /**
6
+ * An error output from a Workflow execution.
7
+ */
8
+ export interface WorkflowOutputError {
9
+ id: string;
10
+ /** The output's name, as defined in the workflow */
11
+ name: string;
12
+ value: Vellum.VellumError;
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,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vellum from "..";
5
+ /**
6
+ * A function call output from a Workflow execution.
7
+ */
8
+ export interface WorkflowOutputFunctionCall {
9
+ id: string;
10
+ /** The output's name, as defined in the workflow */
11
+ name: string;
12
+ value: Vellum.FunctionCall;
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,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vellum from "..";
5
+ /**
6
+ * An image output from a Workflow execution.
7
+ */
8
+ export interface WorkflowOutputImage {
9
+ id: string;
10
+ /** The output's name, as defined in the workflow */
11
+ name: string;
12
+ value: Vellum.VellumImage;
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,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * A JSON output from a Workflow execution.
6
+ */
7
+ export interface WorkflowOutputJson {
8
+ id: string;
9
+ /** The output's name, as defined in the workflow */
10
+ name: string;
11
+ value: Record<string, unknown>;
12
+ }
@@ -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,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * A number output from a Workflow execution.
6
+ */
7
+ export interface WorkflowOutputNumber {
8
+ id: string;
9
+ /** The output's name, as defined in the workflow */
10
+ name: string;
11
+ value: number;
12
+ }
@@ -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
+ /**
6
+ * A search results output from a Workflow execution.
7
+ */
8
+ export interface WorkflowOutputSearchResults {
9
+ id: string;
10
+ /** The output's name, as defined in the workflow */
11
+ name: string;
12
+ value: Vellum.SearchResult[];
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 });