vellum-ai 0.3.21 → 0.3.23

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 (307) hide show
  1. package/Client.js +9 -9
  2. package/api/resources/deployments/client/Client.js +3 -3
  3. package/api/resources/documentIndexes/client/Client.js +6 -6
  4. package/api/resources/documents/client/Client.js +4 -4
  5. package/api/resources/folderEntities/client/Client.js +1 -1
  6. package/api/resources/modelVersions/client/Client.js +1 -1
  7. package/api/resources/registeredPrompts/client/Client.js +1 -1
  8. package/api/resources/sandboxes/client/Client.js +2 -2
  9. package/api/resources/testSuiteRuns/client/Client.js +12 -4
  10. package/api/resources/testSuiteRuns/client/requests/TestSuiteRunsListExecutionsRequest.d.ts +8 -0
  11. package/api/resources/testSuites/client/Client.js +3 -3
  12. package/api/resources/workflowDeployments/client/Client.js +2 -2
  13. package/api/types/ExternalTestCaseExecution.d.ts +9 -0
  14. package/api/types/ExternalTestCaseExecution.js +5 -0
  15. package/api/types/ExternalTestCaseExecutionRequest.d.ts +9 -0
  16. package/api/types/ExternalTestCaseExecutionRequest.js +5 -0
  17. package/api/types/FulfilledWorkflowNodeResultEvent.d.ts +1 -1
  18. package/api/types/NamedTestCaseChatHistoryVariableValue.d.ts +11 -0
  19. package/api/types/NamedTestCaseChatHistoryVariableValue.js +5 -0
  20. package/api/types/NamedTestCaseChatHistoryVariableValueRequest.d.ts +4 -1
  21. package/api/types/NamedTestCaseErrorVariableValue.d.ts +11 -0
  22. package/api/types/NamedTestCaseErrorVariableValue.js +5 -0
  23. package/api/types/NamedTestCaseErrorVariableValueRequest.d.ts +4 -1
  24. package/api/types/NamedTestCaseJsonVariableValue.d.ts +10 -0
  25. package/api/types/NamedTestCaseJsonVariableValue.js +5 -0
  26. package/api/types/NamedTestCaseJsonVariableValueRequest.d.ts +4 -1
  27. package/api/types/NamedTestCaseNumberVariableValue.d.ts +10 -0
  28. package/api/types/NamedTestCaseNumberVariableValue.js +5 -0
  29. package/api/types/NamedTestCaseNumberVariableValueRequest.d.ts +4 -1
  30. package/api/types/NamedTestCaseSearchResultsVariableValue.d.ts +11 -0
  31. package/api/types/NamedTestCaseSearchResultsVariableValue.js +5 -0
  32. package/api/types/NamedTestCaseSearchResultsVariableValueRequest.d.ts +4 -1
  33. package/api/types/NamedTestCaseStringVariableValue.d.ts +10 -0
  34. package/api/types/NamedTestCaseStringVariableValue.js +5 -0
  35. package/api/types/NamedTestCaseStringVariableValueRequest.d.ts +4 -1
  36. package/api/types/NamedTestCaseVariableValue.d.ts +25 -0
  37. package/api/types/NamedTestCaseVariableValue.js +5 -0
  38. package/api/types/PromptTemplateBlock.d.ts +1 -0
  39. package/api/types/PromptTemplateBlockRequest.d.ts +1 -0
  40. package/api/types/PromptTemplateBlockState.d.ts +12 -0
  41. package/api/types/PromptTemplateBlockState.js +10 -0
  42. package/api/types/SandboxScenario.d.ts +3 -0
  43. package/api/types/TestCaseChatHistoryVariableValue.d.ts +4 -0
  44. package/api/types/TestCaseErrorVariableValue.d.ts +4 -0
  45. package/api/types/TestCaseJsonVariableValue.d.ts +4 -0
  46. package/api/types/TestCaseNumberVariableValue.d.ts +4 -0
  47. package/api/types/TestCaseSearchResultsVariableValue.d.ts +4 -0
  48. package/api/types/TestCaseStringVariableValue.d.ts +4 -0
  49. package/api/types/TestSuiteRunExecConfig.d.ts +4 -1
  50. package/api/types/TestSuiteRunExecConfigRequest.d.ts +4 -1
  51. package/api/types/TestSuiteRunExecutionChatHistoryOutput.d.ts +5 -1
  52. package/api/types/TestSuiteRunExecutionErrorOutput.d.ts +5 -1
  53. package/api/types/TestSuiteRunExecutionJsonOutput.d.ts +5 -1
  54. package/api/types/TestSuiteRunExecutionMetricDefinition.d.ts +8 -0
  55. package/api/types/TestSuiteRunExecutionMetricDefinition.js +5 -0
  56. package/api/types/TestSuiteRunExecutionMetricResult.d.ts +2 -0
  57. package/api/types/TestSuiteRunExecutionNumberOutput.d.ts +5 -1
  58. package/api/types/TestSuiteRunExecutionSearchResultsOutput.d.ts +5 -1
  59. package/api/types/TestSuiteRunExecutionStringOutput.d.ts +5 -1
  60. package/api/types/TestSuiteRunExternalExecConfig.d.ts +12 -0
  61. package/api/types/TestSuiteRunExternalExecConfig.js +5 -0
  62. package/api/types/TestSuiteRunExternalExecConfigData.d.ts +8 -0
  63. package/api/types/TestSuiteRunExternalExecConfigData.js +5 -0
  64. package/api/types/TestSuiteRunExternalExecConfigDataRequest.d.ts +8 -0
  65. package/api/types/TestSuiteRunExternalExecConfigDataRequest.js +5 -0
  66. package/api/types/TestSuiteRunExternalExecConfigRequest.d.ts +12 -0
  67. package/api/types/TestSuiteRunExternalExecConfigRequest.js +5 -0
  68. package/api/types/TestSuiteRunExternalExecConfigTypeEnum.d.ts +4 -0
  69. package/api/types/TestSuiteRunExternalExecConfigTypeEnum.js +5 -0
  70. package/api/types/index.d.ts +16 -0
  71. package/api/types/index.js +16 -0
  72. package/dist/Client.js +9 -9
  73. package/dist/api/resources/deployments/client/Client.js +3 -3
  74. package/dist/api/resources/documentIndexes/client/Client.js +6 -6
  75. package/dist/api/resources/documents/client/Client.js +4 -4
  76. package/dist/api/resources/folderEntities/client/Client.js +1 -1
  77. package/dist/api/resources/modelVersions/client/Client.js +1 -1
  78. package/dist/api/resources/registeredPrompts/client/Client.js +1 -1
  79. package/dist/api/resources/sandboxes/client/Client.js +2 -2
  80. package/dist/api/resources/testSuiteRuns/client/Client.js +12 -4
  81. package/dist/api/resources/testSuiteRuns/client/requests/TestSuiteRunsListExecutionsRequest.d.ts +8 -0
  82. package/dist/api/resources/testSuites/client/Client.js +3 -3
  83. package/dist/api/resources/workflowDeployments/client/Client.js +2 -2
  84. package/dist/api/types/ExternalTestCaseExecution.d.ts +9 -0
  85. package/dist/api/types/ExternalTestCaseExecution.js +5 -0
  86. package/dist/api/types/ExternalTestCaseExecutionRequest.d.ts +9 -0
  87. package/dist/api/types/ExternalTestCaseExecutionRequest.js +5 -0
  88. package/dist/api/types/FulfilledWorkflowNodeResultEvent.d.ts +1 -1
  89. package/dist/api/types/NamedTestCaseChatHistoryVariableValue.d.ts +11 -0
  90. package/dist/api/types/NamedTestCaseChatHistoryVariableValue.js +5 -0
  91. package/dist/api/types/NamedTestCaseChatHistoryVariableValueRequest.d.ts +4 -1
  92. package/dist/api/types/NamedTestCaseErrorVariableValue.d.ts +11 -0
  93. package/dist/api/types/NamedTestCaseErrorVariableValue.js +5 -0
  94. package/dist/api/types/NamedTestCaseErrorVariableValueRequest.d.ts +4 -1
  95. package/dist/api/types/NamedTestCaseJsonVariableValue.d.ts +10 -0
  96. package/dist/api/types/NamedTestCaseJsonVariableValue.js +5 -0
  97. package/dist/api/types/NamedTestCaseJsonVariableValueRequest.d.ts +4 -1
  98. package/dist/api/types/NamedTestCaseNumberVariableValue.d.ts +10 -0
  99. package/dist/api/types/NamedTestCaseNumberVariableValue.js +5 -0
  100. package/dist/api/types/NamedTestCaseNumberVariableValueRequest.d.ts +4 -1
  101. package/dist/api/types/NamedTestCaseSearchResultsVariableValue.d.ts +11 -0
  102. package/dist/api/types/NamedTestCaseSearchResultsVariableValue.js +5 -0
  103. package/dist/api/types/NamedTestCaseSearchResultsVariableValueRequest.d.ts +4 -1
  104. package/dist/api/types/NamedTestCaseStringVariableValue.d.ts +10 -0
  105. package/dist/api/types/NamedTestCaseStringVariableValue.js +5 -0
  106. package/dist/api/types/NamedTestCaseStringVariableValueRequest.d.ts +4 -1
  107. package/dist/api/types/NamedTestCaseVariableValue.d.ts +25 -0
  108. package/dist/api/types/NamedTestCaseVariableValue.js +5 -0
  109. package/dist/api/types/PromptTemplateBlock.d.ts +1 -0
  110. package/dist/api/types/PromptTemplateBlockRequest.d.ts +1 -0
  111. package/dist/api/types/PromptTemplateBlockState.d.ts +12 -0
  112. package/dist/api/types/PromptTemplateBlockState.js +10 -0
  113. package/dist/api/types/SandboxScenario.d.ts +3 -0
  114. package/dist/api/types/TestCaseChatHistoryVariableValue.d.ts +4 -0
  115. package/dist/api/types/TestCaseErrorVariableValue.d.ts +4 -0
  116. package/dist/api/types/TestCaseJsonVariableValue.d.ts +4 -0
  117. package/dist/api/types/TestCaseNumberVariableValue.d.ts +4 -0
  118. package/dist/api/types/TestCaseSearchResultsVariableValue.d.ts +4 -0
  119. package/dist/api/types/TestCaseStringVariableValue.d.ts +4 -0
  120. package/dist/api/types/TestSuiteRunExecConfig.d.ts +4 -1
  121. package/dist/api/types/TestSuiteRunExecConfigRequest.d.ts +4 -1
  122. package/dist/api/types/TestSuiteRunExecutionChatHistoryOutput.d.ts +5 -1
  123. package/dist/api/types/TestSuiteRunExecutionErrorOutput.d.ts +5 -1
  124. package/dist/api/types/TestSuiteRunExecutionJsonOutput.d.ts +5 -1
  125. package/dist/api/types/TestSuiteRunExecutionMetricDefinition.d.ts +8 -0
  126. package/dist/api/types/TestSuiteRunExecutionMetricDefinition.js +5 -0
  127. package/dist/api/types/TestSuiteRunExecutionMetricResult.d.ts +2 -0
  128. package/dist/api/types/TestSuiteRunExecutionNumberOutput.d.ts +5 -1
  129. package/dist/api/types/TestSuiteRunExecutionSearchResultsOutput.d.ts +5 -1
  130. package/dist/api/types/TestSuiteRunExecutionStringOutput.d.ts +5 -1
  131. package/dist/api/types/TestSuiteRunExternalExecConfig.d.ts +12 -0
  132. package/dist/api/types/TestSuiteRunExternalExecConfig.js +5 -0
  133. package/dist/api/types/TestSuiteRunExternalExecConfigData.d.ts +8 -0
  134. package/dist/api/types/TestSuiteRunExternalExecConfigData.js +5 -0
  135. package/dist/api/types/TestSuiteRunExternalExecConfigDataRequest.d.ts +8 -0
  136. package/dist/api/types/TestSuiteRunExternalExecConfigDataRequest.js +5 -0
  137. package/dist/api/types/TestSuiteRunExternalExecConfigRequest.d.ts +12 -0
  138. package/dist/api/types/TestSuiteRunExternalExecConfigRequest.js +5 -0
  139. package/dist/api/types/TestSuiteRunExternalExecConfigTypeEnum.d.ts +4 -0
  140. package/dist/api/types/TestSuiteRunExternalExecConfigTypeEnum.js +5 -0
  141. package/dist/api/types/index.d.ts +16 -0
  142. package/dist/api/types/index.js +16 -0
  143. package/dist/serialization/types/ExternalTestCaseExecution.d.ts +14 -0
  144. package/dist/serialization/types/ExternalTestCaseExecution.js +35 -0
  145. package/dist/serialization/types/ExternalTestCaseExecutionRequest.d.ts +14 -0
  146. package/dist/serialization/types/ExternalTestCaseExecutionRequest.js +35 -0
  147. package/dist/serialization/types/FulfilledWorkflowNodeResultEvent.d.ts +1 -1
  148. package/dist/serialization/types/FulfilledWorkflowNodeResultEvent.js +1 -1
  149. package/dist/serialization/types/NamedTestCaseChatHistoryVariableValue.d.ts +14 -0
  150. package/dist/serialization/types/NamedTestCaseChatHistoryVariableValue.js +35 -0
  151. package/dist/serialization/types/NamedTestCaseChatHistoryVariableValueRequest.d.ts +1 -1
  152. package/dist/serialization/types/NamedTestCaseChatHistoryVariableValueRequest.js +1 -1
  153. package/dist/serialization/types/NamedTestCaseErrorVariableValue.d.ts +14 -0
  154. package/dist/serialization/types/NamedTestCaseErrorVariableValue.js +35 -0
  155. package/dist/serialization/types/NamedTestCaseErrorVariableValueRequest.d.ts +1 -1
  156. package/dist/serialization/types/NamedTestCaseErrorVariableValueRequest.js +1 -1
  157. package/dist/serialization/types/NamedTestCaseJsonVariableValue.d.ts +13 -0
  158. package/dist/serialization/types/NamedTestCaseJsonVariableValue.js +34 -0
  159. package/dist/serialization/types/NamedTestCaseJsonVariableValueRequest.d.ts +1 -1
  160. package/dist/serialization/types/NamedTestCaseJsonVariableValueRequest.js +1 -1
  161. package/dist/serialization/types/NamedTestCaseNumberVariableValue.d.ts +13 -0
  162. package/dist/serialization/types/NamedTestCaseNumberVariableValue.js +34 -0
  163. package/dist/serialization/types/NamedTestCaseNumberVariableValueRequest.d.ts +1 -1
  164. package/dist/serialization/types/NamedTestCaseNumberVariableValueRequest.js +1 -1
  165. package/dist/serialization/types/NamedTestCaseSearchResultsVariableValue.d.ts +14 -0
  166. package/dist/serialization/types/NamedTestCaseSearchResultsVariableValue.js +35 -0
  167. package/dist/serialization/types/NamedTestCaseSearchResultsVariableValueRequest.d.ts +1 -1
  168. package/dist/serialization/types/NamedTestCaseSearchResultsVariableValueRequest.js +1 -1
  169. package/dist/serialization/types/NamedTestCaseStringVariableValue.d.ts +13 -0
  170. package/dist/serialization/types/NamedTestCaseStringVariableValue.js +34 -0
  171. package/dist/serialization/types/NamedTestCaseStringVariableValueRequest.d.ts +1 -1
  172. package/dist/serialization/types/NamedTestCaseStringVariableValueRequest.js +1 -1
  173. package/dist/serialization/types/NamedTestCaseVariableValue.d.ts +34 -0
  174. package/dist/serialization/types/NamedTestCaseVariableValue.js +49 -0
  175. package/dist/serialization/types/PromptTemplateBlock.d.ts +2 -0
  176. package/dist/serialization/types/PromptTemplateBlock.js +2 -0
  177. package/dist/serialization/types/PromptTemplateBlockRequest.d.ts +2 -0
  178. package/dist/serialization/types/PromptTemplateBlockRequest.js +2 -0
  179. package/dist/serialization/types/PromptTemplateBlockState.d.ts +10 -0
  180. package/dist/serialization/types/PromptTemplateBlockState.js +31 -0
  181. package/dist/serialization/types/TestCaseChatHistoryVariableValue.d.ts +1 -0
  182. package/dist/serialization/types/TestCaseChatHistoryVariableValue.js +1 -0
  183. package/dist/serialization/types/TestCaseErrorVariableValue.d.ts +1 -0
  184. package/dist/serialization/types/TestCaseErrorVariableValue.js +1 -0
  185. package/dist/serialization/types/TestCaseJsonVariableValue.d.ts +1 -0
  186. package/dist/serialization/types/TestCaseJsonVariableValue.js +1 -0
  187. package/dist/serialization/types/TestCaseNumberVariableValue.d.ts +1 -0
  188. package/dist/serialization/types/TestCaseNumberVariableValue.js +1 -0
  189. package/dist/serialization/types/TestCaseSearchResultsVariableValue.d.ts +1 -0
  190. package/dist/serialization/types/TestCaseSearchResultsVariableValue.js +1 -0
  191. package/dist/serialization/types/TestCaseStringVariableValue.d.ts +1 -0
  192. package/dist/serialization/types/TestCaseStringVariableValue.js +1 -0
  193. package/dist/serialization/types/TestSuiteRunExecConfig.d.ts +5 -1
  194. package/dist/serialization/types/TestSuiteRunExecConfig.js +2 -0
  195. package/dist/serialization/types/TestSuiteRunExecConfigRequest.d.ts +5 -1
  196. package/dist/serialization/types/TestSuiteRunExecConfigRequest.js +2 -0
  197. package/dist/serialization/types/TestSuiteRunExecutionChatHistoryOutput.d.ts +2 -1
  198. package/dist/serialization/types/TestSuiteRunExecutionChatHistoryOutput.js +2 -1
  199. package/dist/serialization/types/TestSuiteRunExecutionErrorOutput.d.ts +2 -1
  200. package/dist/serialization/types/TestSuiteRunExecutionErrorOutput.js +2 -1
  201. package/dist/serialization/types/TestSuiteRunExecutionJsonOutput.d.ts +2 -1
  202. package/dist/serialization/types/TestSuiteRunExecutionJsonOutput.js +2 -1
  203. package/dist/serialization/types/TestSuiteRunExecutionMetricDefinition.d.ts +14 -0
  204. package/dist/serialization/types/TestSuiteRunExecutionMetricDefinition.js +35 -0
  205. package/dist/serialization/types/TestSuiteRunExecutionMetricResult.d.ts +3 -0
  206. package/dist/serialization/types/TestSuiteRunExecutionMetricResult.js +3 -0
  207. package/dist/serialization/types/TestSuiteRunExecutionNumberOutput.d.ts +2 -1
  208. package/dist/serialization/types/TestSuiteRunExecutionNumberOutput.js +2 -1
  209. package/dist/serialization/types/TestSuiteRunExecutionSearchResultsOutput.d.ts +2 -1
  210. package/dist/serialization/types/TestSuiteRunExecutionSearchResultsOutput.js +2 -1
  211. package/dist/serialization/types/TestSuiteRunExecutionStringOutput.d.ts +2 -1
  212. package/dist/serialization/types/TestSuiteRunExecutionStringOutput.js +2 -1
  213. package/dist/serialization/types/TestSuiteRunExternalExecConfig.d.ts +14 -0
  214. package/dist/serialization/types/TestSuiteRunExternalExecConfig.js +35 -0
  215. package/dist/serialization/types/TestSuiteRunExternalExecConfigData.d.ts +13 -0
  216. package/dist/serialization/types/TestSuiteRunExternalExecConfigData.js +34 -0
  217. package/dist/serialization/types/TestSuiteRunExternalExecConfigDataRequest.d.ts +13 -0
  218. package/dist/serialization/types/TestSuiteRunExternalExecConfigDataRequest.js +34 -0
  219. package/dist/serialization/types/TestSuiteRunExternalExecConfigRequest.d.ts +14 -0
  220. package/dist/serialization/types/TestSuiteRunExternalExecConfigRequest.js +35 -0
  221. package/dist/serialization/types/TestSuiteRunExternalExecConfigTypeEnum.d.ts +10 -0
  222. package/dist/serialization/types/TestSuiteRunExternalExecConfigTypeEnum.js +31 -0
  223. package/dist/serialization/types/index.d.ts +16 -0
  224. package/dist/serialization/types/index.js +16 -0
  225. package/package.json +1 -1
  226. package/serialization/types/ExternalTestCaseExecution.d.ts +14 -0
  227. package/serialization/types/ExternalTestCaseExecution.js +35 -0
  228. package/serialization/types/ExternalTestCaseExecutionRequest.d.ts +14 -0
  229. package/serialization/types/ExternalTestCaseExecutionRequest.js +35 -0
  230. package/serialization/types/FulfilledWorkflowNodeResultEvent.d.ts +1 -1
  231. package/serialization/types/FulfilledWorkflowNodeResultEvent.js +1 -1
  232. package/serialization/types/NamedTestCaseChatHistoryVariableValue.d.ts +14 -0
  233. package/serialization/types/NamedTestCaseChatHistoryVariableValue.js +35 -0
  234. package/serialization/types/NamedTestCaseChatHistoryVariableValueRequest.d.ts +1 -1
  235. package/serialization/types/NamedTestCaseChatHistoryVariableValueRequest.js +1 -1
  236. package/serialization/types/NamedTestCaseErrorVariableValue.d.ts +14 -0
  237. package/serialization/types/NamedTestCaseErrorVariableValue.js +35 -0
  238. package/serialization/types/NamedTestCaseErrorVariableValueRequest.d.ts +1 -1
  239. package/serialization/types/NamedTestCaseErrorVariableValueRequest.js +1 -1
  240. package/serialization/types/NamedTestCaseJsonVariableValue.d.ts +13 -0
  241. package/serialization/types/NamedTestCaseJsonVariableValue.js +34 -0
  242. package/serialization/types/NamedTestCaseJsonVariableValueRequest.d.ts +1 -1
  243. package/serialization/types/NamedTestCaseJsonVariableValueRequest.js +1 -1
  244. package/serialization/types/NamedTestCaseNumberVariableValue.d.ts +13 -0
  245. package/serialization/types/NamedTestCaseNumberVariableValue.js +34 -0
  246. package/serialization/types/NamedTestCaseNumberVariableValueRequest.d.ts +1 -1
  247. package/serialization/types/NamedTestCaseNumberVariableValueRequest.js +1 -1
  248. package/serialization/types/NamedTestCaseSearchResultsVariableValue.d.ts +14 -0
  249. package/serialization/types/NamedTestCaseSearchResultsVariableValue.js +35 -0
  250. package/serialization/types/NamedTestCaseSearchResultsVariableValueRequest.d.ts +1 -1
  251. package/serialization/types/NamedTestCaseSearchResultsVariableValueRequest.js +1 -1
  252. package/serialization/types/NamedTestCaseStringVariableValue.d.ts +13 -0
  253. package/serialization/types/NamedTestCaseStringVariableValue.js +34 -0
  254. package/serialization/types/NamedTestCaseStringVariableValueRequest.d.ts +1 -1
  255. package/serialization/types/NamedTestCaseStringVariableValueRequest.js +1 -1
  256. package/serialization/types/NamedTestCaseVariableValue.d.ts +34 -0
  257. package/serialization/types/NamedTestCaseVariableValue.js +49 -0
  258. package/serialization/types/PromptTemplateBlock.d.ts +2 -0
  259. package/serialization/types/PromptTemplateBlock.js +2 -0
  260. package/serialization/types/PromptTemplateBlockRequest.d.ts +2 -0
  261. package/serialization/types/PromptTemplateBlockRequest.js +2 -0
  262. package/serialization/types/PromptTemplateBlockState.d.ts +10 -0
  263. package/serialization/types/PromptTemplateBlockState.js +31 -0
  264. package/serialization/types/TestCaseChatHistoryVariableValue.d.ts +1 -0
  265. package/serialization/types/TestCaseChatHistoryVariableValue.js +1 -0
  266. package/serialization/types/TestCaseErrorVariableValue.d.ts +1 -0
  267. package/serialization/types/TestCaseErrorVariableValue.js +1 -0
  268. package/serialization/types/TestCaseJsonVariableValue.d.ts +1 -0
  269. package/serialization/types/TestCaseJsonVariableValue.js +1 -0
  270. package/serialization/types/TestCaseNumberVariableValue.d.ts +1 -0
  271. package/serialization/types/TestCaseNumberVariableValue.js +1 -0
  272. package/serialization/types/TestCaseSearchResultsVariableValue.d.ts +1 -0
  273. package/serialization/types/TestCaseSearchResultsVariableValue.js +1 -0
  274. package/serialization/types/TestCaseStringVariableValue.d.ts +1 -0
  275. package/serialization/types/TestCaseStringVariableValue.js +1 -0
  276. package/serialization/types/TestSuiteRunExecConfig.d.ts +5 -1
  277. package/serialization/types/TestSuiteRunExecConfig.js +2 -0
  278. package/serialization/types/TestSuiteRunExecConfigRequest.d.ts +5 -1
  279. package/serialization/types/TestSuiteRunExecConfigRequest.js +2 -0
  280. package/serialization/types/TestSuiteRunExecutionChatHistoryOutput.d.ts +2 -1
  281. package/serialization/types/TestSuiteRunExecutionChatHistoryOutput.js +2 -1
  282. package/serialization/types/TestSuiteRunExecutionErrorOutput.d.ts +2 -1
  283. package/serialization/types/TestSuiteRunExecutionErrorOutput.js +2 -1
  284. package/serialization/types/TestSuiteRunExecutionJsonOutput.d.ts +2 -1
  285. package/serialization/types/TestSuiteRunExecutionJsonOutput.js +2 -1
  286. package/serialization/types/TestSuiteRunExecutionMetricDefinition.d.ts +14 -0
  287. package/serialization/types/TestSuiteRunExecutionMetricDefinition.js +35 -0
  288. package/serialization/types/TestSuiteRunExecutionMetricResult.d.ts +3 -0
  289. package/serialization/types/TestSuiteRunExecutionMetricResult.js +3 -0
  290. package/serialization/types/TestSuiteRunExecutionNumberOutput.d.ts +2 -1
  291. package/serialization/types/TestSuiteRunExecutionNumberOutput.js +2 -1
  292. package/serialization/types/TestSuiteRunExecutionSearchResultsOutput.d.ts +2 -1
  293. package/serialization/types/TestSuiteRunExecutionSearchResultsOutput.js +2 -1
  294. package/serialization/types/TestSuiteRunExecutionStringOutput.d.ts +2 -1
  295. package/serialization/types/TestSuiteRunExecutionStringOutput.js +2 -1
  296. package/serialization/types/TestSuiteRunExternalExecConfig.d.ts +14 -0
  297. package/serialization/types/TestSuiteRunExternalExecConfig.js +35 -0
  298. package/serialization/types/TestSuiteRunExternalExecConfigData.d.ts +13 -0
  299. package/serialization/types/TestSuiteRunExternalExecConfigData.js +34 -0
  300. package/serialization/types/TestSuiteRunExternalExecConfigDataRequest.d.ts +13 -0
  301. package/serialization/types/TestSuiteRunExternalExecConfigDataRequest.js +34 -0
  302. package/serialization/types/TestSuiteRunExternalExecConfigRequest.d.ts +14 -0
  303. package/serialization/types/TestSuiteRunExternalExecConfigRequest.js +35 -0
  304. package/serialization/types/TestSuiteRunExternalExecConfigTypeEnum.d.ts +10 -0
  305. package/serialization/types/TestSuiteRunExternalExecConfigTypeEnum.js +31 -0
  306. package/serialization/types/index.d.ts +16 -0
  307. package/serialization/types/index.js +16 -0
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.NamedTestCaseErrorVariableValue = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ const VellumError_1 = require("./VellumError");
32
+ exports.NamedTestCaseErrorVariableValue = core.serialization.object({
33
+ value: VellumError_1.VellumError.optional(),
34
+ name: core.serialization.string(),
35
+ });
@@ -8,7 +8,7 @@ import { VellumErrorRequest } from "./VellumErrorRequest";
8
8
  export declare const NamedTestCaseErrorVariableValueRequest: core.serialization.ObjectSchema<serializers.NamedTestCaseErrorVariableValueRequest.Raw, Vellum.NamedTestCaseErrorVariableValueRequest>;
9
9
  export declare namespace NamedTestCaseErrorVariableValueRequest {
10
10
  interface Raw {
11
- name: string;
12
11
  value?: VellumErrorRequest.Raw | null;
12
+ name: string;
13
13
  }
14
14
  }
@@ -30,6 +30,6 @@ exports.NamedTestCaseErrorVariableValueRequest = void 0;
30
30
  const core = __importStar(require("../../core"));
31
31
  const VellumErrorRequest_1 = require("./VellumErrorRequest");
32
32
  exports.NamedTestCaseErrorVariableValueRequest = core.serialization.object({
33
- name: core.serialization.string(),
34
33
  value: VellumErrorRequest_1.VellumErrorRequest.optional(),
34
+ name: core.serialization.string(),
35
35
  });
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "..";
5
+ import * as Vellum from "../../api";
6
+ import * as core from "../../core";
7
+ export declare const NamedTestCaseJsonVariableValue: core.serialization.ObjectSchema<serializers.NamedTestCaseJsonVariableValue.Raw, Vellum.NamedTestCaseJsonVariableValue>;
8
+ export declare namespace NamedTestCaseJsonVariableValue {
9
+ interface Raw {
10
+ value?: Record<string, unknown> | null;
11
+ name: string;
12
+ }
13
+ }
@@ -0,0 +1,34 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.NamedTestCaseJsonVariableValue = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ exports.NamedTestCaseJsonVariableValue = core.serialization.object({
32
+ value: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(),
33
+ name: core.serialization.string(),
34
+ });
@@ -7,7 +7,7 @@ import * as core from "../../core";
7
7
  export declare const NamedTestCaseJsonVariableValueRequest: core.serialization.ObjectSchema<serializers.NamedTestCaseJsonVariableValueRequest.Raw, Vellum.NamedTestCaseJsonVariableValueRequest>;
8
8
  export declare namespace NamedTestCaseJsonVariableValueRequest {
9
9
  interface Raw {
10
- name: string;
11
10
  value?: Record<string, unknown> | null;
11
+ name: string;
12
12
  }
13
13
  }
@@ -29,6 +29,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.NamedTestCaseJsonVariableValueRequest = void 0;
30
30
  const core = __importStar(require("../../core"));
31
31
  exports.NamedTestCaseJsonVariableValueRequest = core.serialization.object({
32
- name: core.serialization.string(),
33
32
  value: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(),
33
+ name: core.serialization.string(),
34
34
  });
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "..";
5
+ import * as Vellum from "../../api";
6
+ import * as core from "../../core";
7
+ export declare const NamedTestCaseNumberVariableValue: core.serialization.ObjectSchema<serializers.NamedTestCaseNumberVariableValue.Raw, Vellum.NamedTestCaseNumberVariableValue>;
8
+ export declare namespace NamedTestCaseNumberVariableValue {
9
+ interface Raw {
10
+ value?: number | null;
11
+ name: string;
12
+ }
13
+ }
@@ -0,0 +1,34 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.NamedTestCaseNumberVariableValue = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ exports.NamedTestCaseNumberVariableValue = core.serialization.object({
32
+ value: core.serialization.number().optional(),
33
+ name: core.serialization.string(),
34
+ });
@@ -7,7 +7,7 @@ import * as core from "../../core";
7
7
  export declare const NamedTestCaseNumberVariableValueRequest: core.serialization.ObjectSchema<serializers.NamedTestCaseNumberVariableValueRequest.Raw, Vellum.NamedTestCaseNumberVariableValueRequest>;
8
8
  export declare namespace NamedTestCaseNumberVariableValueRequest {
9
9
  interface Raw {
10
- name: string;
11
10
  value?: number | null;
11
+ name: string;
12
12
  }
13
13
  }
@@ -29,6 +29,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.NamedTestCaseNumberVariableValueRequest = void 0;
30
30
  const core = __importStar(require("../../core"));
31
31
  exports.NamedTestCaseNumberVariableValueRequest = core.serialization.object({
32
- name: core.serialization.string(),
33
32
  value: core.serialization.number().optional(),
33
+ name: core.serialization.string(),
34
34
  });
@@ -0,0 +1,14 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "..";
5
+ import * as Vellum from "../../api";
6
+ import * as core from "../../core";
7
+ import { SearchResult } from "./SearchResult";
8
+ export declare const NamedTestCaseSearchResultsVariableValue: core.serialization.ObjectSchema<serializers.NamedTestCaseSearchResultsVariableValue.Raw, Vellum.NamedTestCaseSearchResultsVariableValue>;
9
+ export declare namespace NamedTestCaseSearchResultsVariableValue {
10
+ interface Raw {
11
+ value?: SearchResult.Raw[] | null;
12
+ name: string;
13
+ }
14
+ }
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.NamedTestCaseSearchResultsVariableValue = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ const SearchResult_1 = require("./SearchResult");
32
+ exports.NamedTestCaseSearchResultsVariableValue = core.serialization.object({
33
+ value: core.serialization.list(SearchResult_1.SearchResult).optional(),
34
+ name: core.serialization.string(),
35
+ });
@@ -8,7 +8,7 @@ import { SearchResultRequest } from "./SearchResultRequest";
8
8
  export declare const NamedTestCaseSearchResultsVariableValueRequest: core.serialization.ObjectSchema<serializers.NamedTestCaseSearchResultsVariableValueRequest.Raw, Vellum.NamedTestCaseSearchResultsVariableValueRequest>;
9
9
  export declare namespace NamedTestCaseSearchResultsVariableValueRequest {
10
10
  interface Raw {
11
- name: string;
12
11
  value?: SearchResultRequest.Raw[] | null;
12
+ name: string;
13
13
  }
14
14
  }
@@ -30,6 +30,6 @@ exports.NamedTestCaseSearchResultsVariableValueRequest = void 0;
30
30
  const core = __importStar(require("../../core"));
31
31
  const SearchResultRequest_1 = require("./SearchResultRequest");
32
32
  exports.NamedTestCaseSearchResultsVariableValueRequest = core.serialization.object({
33
- name: core.serialization.string(),
34
33
  value: core.serialization.list(SearchResultRequest_1.SearchResultRequest).optional(),
34
+ name: core.serialization.string(),
35
35
  });
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "..";
5
+ import * as Vellum from "../../api";
6
+ import * as core from "../../core";
7
+ export declare const NamedTestCaseStringVariableValue: core.serialization.ObjectSchema<serializers.NamedTestCaseStringVariableValue.Raw, Vellum.NamedTestCaseStringVariableValue>;
8
+ export declare namespace NamedTestCaseStringVariableValue {
9
+ interface Raw {
10
+ value?: string | null;
11
+ name: string;
12
+ }
13
+ }
@@ -0,0 +1,34 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.NamedTestCaseStringVariableValue = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ exports.NamedTestCaseStringVariableValue = core.serialization.object({
32
+ value: core.serialization.string().optional(),
33
+ name: core.serialization.string(),
34
+ });
@@ -7,7 +7,7 @@ import * as core from "../../core";
7
7
  export declare const NamedTestCaseStringVariableValueRequest: core.serialization.ObjectSchema<serializers.NamedTestCaseStringVariableValueRequest.Raw, Vellum.NamedTestCaseStringVariableValueRequest>;
8
8
  export declare namespace NamedTestCaseStringVariableValueRequest {
9
9
  interface Raw {
10
- name: string;
11
10
  value?: string | null;
11
+ name: string;
12
12
  }
13
13
  }
@@ -29,6 +29,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.NamedTestCaseStringVariableValueRequest = void 0;
30
30
  const core = __importStar(require("../../core"));
31
31
  exports.NamedTestCaseStringVariableValueRequest = core.serialization.object({
32
- name: core.serialization.string(),
33
32
  value: core.serialization.string().optional(),
33
+ name: core.serialization.string(),
34
34
  });
@@ -0,0 +1,34 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "..";
5
+ import * as Vellum from "../../api";
6
+ import * as core from "../../core";
7
+ import { NamedTestCaseStringVariableValue } from "./NamedTestCaseStringVariableValue";
8
+ import { NamedTestCaseNumberVariableValue } from "./NamedTestCaseNumberVariableValue";
9
+ import { NamedTestCaseJsonVariableValue } from "./NamedTestCaseJsonVariableValue";
10
+ import { NamedTestCaseChatHistoryVariableValue } from "./NamedTestCaseChatHistoryVariableValue";
11
+ import { NamedTestCaseSearchResultsVariableValue } from "./NamedTestCaseSearchResultsVariableValue";
12
+ import { NamedTestCaseErrorVariableValue } from "./NamedTestCaseErrorVariableValue";
13
+ export declare const NamedTestCaseVariableValue: core.serialization.Schema<serializers.NamedTestCaseVariableValue.Raw, Vellum.NamedTestCaseVariableValue>;
14
+ export declare namespace NamedTestCaseVariableValue {
15
+ type Raw = NamedTestCaseVariableValue.String | NamedTestCaseVariableValue.Number | NamedTestCaseVariableValue.Json | NamedTestCaseVariableValue.ChatHistory | NamedTestCaseVariableValue.SearchResults | NamedTestCaseVariableValue.Error;
16
+ interface String extends NamedTestCaseStringVariableValue.Raw {
17
+ type: "STRING";
18
+ }
19
+ interface Number extends NamedTestCaseNumberVariableValue.Raw {
20
+ type: "NUMBER";
21
+ }
22
+ interface Json extends NamedTestCaseJsonVariableValue.Raw {
23
+ type: "JSON";
24
+ }
25
+ interface ChatHistory extends NamedTestCaseChatHistoryVariableValue.Raw {
26
+ type: "CHAT_HISTORY";
27
+ }
28
+ interface SearchResults extends NamedTestCaseSearchResultsVariableValue.Raw {
29
+ type: "SEARCH_RESULTS";
30
+ }
31
+ interface Error extends NamedTestCaseErrorVariableValue.Raw {
32
+ type: "ERROR";
33
+ }
34
+ }
@@ -0,0 +1,49 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.NamedTestCaseVariableValue = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ const NamedTestCaseStringVariableValue_1 = require("./NamedTestCaseStringVariableValue");
32
+ const NamedTestCaseNumberVariableValue_1 = require("./NamedTestCaseNumberVariableValue");
33
+ const NamedTestCaseJsonVariableValue_1 = require("./NamedTestCaseJsonVariableValue");
34
+ const NamedTestCaseChatHistoryVariableValue_1 = require("./NamedTestCaseChatHistoryVariableValue");
35
+ const NamedTestCaseSearchResultsVariableValue_1 = require("./NamedTestCaseSearchResultsVariableValue");
36
+ const NamedTestCaseErrorVariableValue_1 = require("./NamedTestCaseErrorVariableValue");
37
+ exports.NamedTestCaseVariableValue = core.serialization
38
+ .union("type", {
39
+ STRING: NamedTestCaseStringVariableValue_1.NamedTestCaseStringVariableValue,
40
+ NUMBER: NamedTestCaseNumberVariableValue_1.NamedTestCaseNumberVariableValue,
41
+ JSON: NamedTestCaseJsonVariableValue_1.NamedTestCaseJsonVariableValue,
42
+ CHAT_HISTORY: NamedTestCaseChatHistoryVariableValue_1.NamedTestCaseChatHistoryVariableValue,
43
+ SEARCH_RESULTS: NamedTestCaseSearchResultsVariableValue_1.NamedTestCaseSearchResultsVariableValue,
44
+ ERROR: NamedTestCaseErrorVariableValue_1.NamedTestCaseErrorVariableValue,
45
+ })
46
+ .transform({
47
+ transform: (value) => value,
48
+ untransform: (value) => value,
49
+ });
@@ -5,11 +5,13 @@ import * as serializers from "..";
5
5
  import * as Vellum from "../../api";
6
6
  import * as core from "../../core";
7
7
  import { BlockTypeEnum } from "./BlockTypeEnum";
8
+ import { PromptTemplateBlockState } from "./PromptTemplateBlockState";
8
9
  export declare const PromptTemplateBlock: core.serialization.ObjectSchema<serializers.PromptTemplateBlock.Raw, Vellum.PromptTemplateBlock>;
9
10
  export declare namespace PromptTemplateBlock {
10
11
  interface Raw {
11
12
  id: string;
12
13
  block_type: BlockTypeEnum.Raw;
13
14
  properties: serializers.PromptTemplateBlockProperties.Raw;
15
+ state?: PromptTemplateBlockState.Raw | null;
14
16
  }
15
17
  }
@@ -38,8 +38,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
38
38
  exports.PromptTemplateBlock = void 0;
39
39
  const core = __importStar(require("../../core"));
40
40
  const BlockTypeEnum_1 = require("./BlockTypeEnum");
41
+ const PromptTemplateBlockState_1 = require("./PromptTemplateBlockState");
41
42
  exports.PromptTemplateBlock = core.serialization.object({
42
43
  id: core.serialization.string(),
43
44
  blockType: core.serialization.property("block_type", BlockTypeEnum_1.BlockTypeEnum),
44
45
  properties: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).PromptTemplateBlockProperties; })),
46
+ state: PromptTemplateBlockState_1.PromptTemplateBlockState.optional(),
45
47
  });
@@ -5,11 +5,13 @@ import * as serializers from "..";
5
5
  import * as Vellum from "../../api";
6
6
  import * as core from "../../core";
7
7
  import { BlockTypeEnum } from "./BlockTypeEnum";
8
+ import { PromptTemplateBlockState } from "./PromptTemplateBlockState";
8
9
  export declare const PromptTemplateBlockRequest: core.serialization.ObjectSchema<serializers.PromptTemplateBlockRequest.Raw, Vellum.PromptTemplateBlockRequest>;
9
10
  export declare namespace PromptTemplateBlockRequest {
10
11
  interface Raw {
11
12
  id: string;
12
13
  block_type: BlockTypeEnum.Raw;
13
14
  properties: serializers.PromptTemplateBlockPropertiesRequest.Raw;
15
+ state?: PromptTemplateBlockState.Raw | null;
14
16
  }
15
17
  }
@@ -38,8 +38,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
38
38
  exports.PromptTemplateBlockRequest = void 0;
39
39
  const core = __importStar(require("../../core"));
40
40
  const BlockTypeEnum_1 = require("./BlockTypeEnum");
41
+ const PromptTemplateBlockState_1 = require("./PromptTemplateBlockState");
41
42
  exports.PromptTemplateBlockRequest = core.serialization.object({
42
43
  id: core.serialization.string(),
43
44
  blockType: core.serialization.property("block_type", BlockTypeEnum_1.BlockTypeEnum),
44
45
  properties: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).PromptTemplateBlockPropertiesRequest; })),
46
+ state: PromptTemplateBlockState_1.PromptTemplateBlockState.optional(),
45
47
  });
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "..";
5
+ import * as Vellum from "../../api";
6
+ import * as core from "../../core";
7
+ export declare const PromptTemplateBlockState: core.serialization.Schema<serializers.PromptTemplateBlockState.Raw, Vellum.PromptTemplateBlockState>;
8
+ export declare namespace PromptTemplateBlockState {
9
+ type Raw = "ENABLED" | "DISABLED";
10
+ }
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.PromptTemplateBlockState = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ exports.PromptTemplateBlockState = core.serialization.enum_(["ENABLED", "DISABLED"]);
@@ -9,6 +9,7 @@ export declare const TestCaseChatHistoryVariableValue: core.serialization.Object
9
9
  export declare namespace TestCaseChatHistoryVariableValue {
10
10
  interface Raw {
11
11
  variable_id: string;
12
+ name: string;
12
13
  value?: ChatMessage.Raw[] | null;
13
14
  }
14
15
  }
@@ -31,5 +31,6 @@ const core = __importStar(require("../../core"));
31
31
  const ChatMessage_1 = require("./ChatMessage");
32
32
  exports.TestCaseChatHistoryVariableValue = core.serialization.object({
33
33
  variableId: core.serialization.property("variable_id", core.serialization.string()),
34
+ name: core.serialization.string(),
34
35
  value: core.serialization.list(ChatMessage_1.ChatMessage).optional(),
35
36
  });
@@ -9,6 +9,7 @@ export declare const TestCaseErrorVariableValue: core.serialization.ObjectSchema
9
9
  export declare namespace TestCaseErrorVariableValue {
10
10
  interface Raw {
11
11
  variable_id: string;
12
+ name: string;
12
13
  value?: VellumError.Raw | null;
13
14
  }
14
15
  }
@@ -31,5 +31,6 @@ const core = __importStar(require("../../core"));
31
31
  const VellumError_1 = require("./VellumError");
32
32
  exports.TestCaseErrorVariableValue = core.serialization.object({
33
33
  variableId: core.serialization.property("variable_id", core.serialization.string()),
34
+ name: core.serialization.string(),
34
35
  value: VellumError_1.VellumError.optional(),
35
36
  });
@@ -8,6 +8,7 @@ export declare const TestCaseJsonVariableValue: core.serialization.ObjectSchema<
8
8
  export declare namespace TestCaseJsonVariableValue {
9
9
  interface Raw {
10
10
  variable_id: string;
11
+ name: string;
11
12
  value?: Record<string, unknown> | null;
12
13
  }
13
14
  }
@@ -30,5 +30,6 @@ exports.TestCaseJsonVariableValue = void 0;
30
30
  const core = __importStar(require("../../core"));
31
31
  exports.TestCaseJsonVariableValue = core.serialization.object({
32
32
  variableId: core.serialization.property("variable_id", core.serialization.string()),
33
+ name: core.serialization.string(),
33
34
  value: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(),
34
35
  });
@@ -8,6 +8,7 @@ export declare const TestCaseNumberVariableValue: core.serialization.ObjectSchem
8
8
  export declare namespace TestCaseNumberVariableValue {
9
9
  interface Raw {
10
10
  variable_id: string;
11
+ name: string;
11
12
  value?: number | null;
12
13
  }
13
14
  }
@@ -30,5 +30,6 @@ exports.TestCaseNumberVariableValue = void 0;
30
30
  const core = __importStar(require("../../core"));
31
31
  exports.TestCaseNumberVariableValue = core.serialization.object({
32
32
  variableId: core.serialization.property("variable_id", core.serialization.string()),
33
+ name: core.serialization.string(),
33
34
  value: core.serialization.number().optional(),
34
35
  });
@@ -9,6 +9,7 @@ export declare const TestCaseSearchResultsVariableValue: core.serialization.Obje
9
9
  export declare namespace TestCaseSearchResultsVariableValue {
10
10
  interface Raw {
11
11
  variable_id: string;
12
+ name: string;
12
13
  value?: SearchResult.Raw[] | null;
13
14
  }
14
15
  }
@@ -31,5 +31,6 @@ const core = __importStar(require("../../core"));
31
31
  const SearchResult_1 = require("./SearchResult");
32
32
  exports.TestCaseSearchResultsVariableValue = core.serialization.object({
33
33
  variableId: core.serialization.property("variable_id", core.serialization.string()),
34
+ name: core.serialization.string(),
34
35
  value: core.serialization.list(SearchResult_1.SearchResult).optional(),
35
36
  });
@@ -8,6 +8,7 @@ export declare const TestCaseStringVariableValue: core.serialization.ObjectSchem
8
8
  export declare namespace TestCaseStringVariableValue {
9
9
  interface Raw {
10
10
  variable_id: string;
11
+ name: string;
11
12
  value?: string | null;
12
13
  }
13
14
  }
@@ -30,5 +30,6 @@ exports.TestCaseStringVariableValue = void 0;
30
30
  const core = __importStar(require("../../core"));
31
31
  exports.TestCaseStringVariableValue = core.serialization.object({
32
32
  variableId: core.serialization.property("variable_id", core.serialization.string()),
33
+ name: core.serialization.string(),
33
34
  value: core.serialization.string().optional(),
34
35
  });