vellum-ai 0.0.5 → 0.0.7

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 (313) hide show
  1. package/Client.d.ts +4 -1
  2. package/Client.js +5 -0
  3. package/api/client/requests/GenerateBodyRequest.d.ts +1 -1
  4. package/api/client/requests/SearchRequestBodyRequest.d.ts +1 -1
  5. package/api/client/requests/SubmitCompletionActualsRequest.d.ts +1 -1
  6. package/api/resources/documents/client/Client.d.ts +2 -2
  7. package/api/resources/documents/client/Client.js +11 -5
  8. package/api/resources/documents/client/requests/{ListDocumentsRequest.d.ts → DocumentsListRequest.d.ts} +1 -1
  9. package/api/resources/documents/client/requests/UploadDocumentBodyRequest.d.ts +3 -3
  10. package/api/resources/documents/client/requests/index.d.ts +1 -1
  11. package/api/resources/index.d.ts +2 -0
  12. package/api/resources/index.js +3 -1
  13. package/api/resources/modelVersions/client/Client.d.ts +1 -1
  14. package/api/resources/sandboxes/client/Client.d.ts +17 -0
  15. package/api/resources/sandboxes/client/Client.js +83 -0
  16. package/api/resources/sandboxes/client/index.d.ts +1 -0
  17. package/api/resources/sandboxes/client/index.js +17 -0
  18. package/api/resources/sandboxes/client/requests/UpsertSandboxScenarioRequestRequest.d.ts +12 -0
  19. package/api/resources/sandboxes/client/requests/index.d.ts +1 -0
  20. package/api/resources/sandboxes/client/requests/index.js +2 -0
  21. package/api/resources/sandboxes/index.d.ts +1 -0
  22. package/api/resources/sandboxes/index.js +17 -0
  23. package/api/types/BlockTypeEnum.d.ts +2 -3
  24. package/api/types/BlockTypeEnum.js +1 -2
  25. package/api/types/ChatMessage.d.ts +8 -0
  26. package/api/types/ChatMessage.js +5 -0
  27. package/api/types/ChatMessageRequest.d.ts +8 -0
  28. package/api/types/ChatMessageRequest.js +5 -0
  29. package/{dist/api/types/ChatRoleEnum.d.ts → api/types/ChatMessageRole.d.ts} +2 -2
  30. package/{dist/api/types/ChatRoleEnum.js → api/types/ChatMessageRole.js} +2 -2
  31. package/api/types/DocumentDocumentToDocumentIndex.d.ts +1 -1
  32. package/api/types/EnrichedNormalizedCompletion.d.ts +2 -2
  33. package/api/types/GenerateOptionsRequest.d.ts +1 -1
  34. package/api/types/GenerateRequest.d.ts +3 -0
  35. package/api/types/GenerateResponse.d.ts +1 -1
  36. package/api/types/GenerateResult.d.ts +1 -1
  37. package/api/types/GenerateResultData.d.ts +1 -1
  38. package/api/types/ModelVersionBuildConfig.d.ts +1 -1
  39. package/api/types/ModelVersionExecConfigParameters.d.ts +1 -1
  40. package/api/types/ModelVersionExecConfigRead.d.ts +3 -2
  41. package/api/types/ModelVersionRead.d.ts +1 -1
  42. package/api/types/ModelVersionSandboxSnapshot.d.ts +2 -0
  43. package/api/types/NormalizedLogProbs.d.ts +2 -2
  44. package/api/types/NormalizedTokenLogProbs.d.ts +2 -2
  45. package/api/types/PaginatedSlimDocumentList.d.ts +1 -1
  46. package/api/types/PromptTemplateBlock.d.ts +2 -1
  47. package/api/types/PromptTemplateBlockData.d.ts +1 -1
  48. package/api/types/PromptTemplateBlockProperties.d.ts +2 -2
  49. package/api/types/SandboxInput.d.ts +10 -0
  50. package/api/types/SandboxInput.js +5 -0
  51. package/api/types/SandboxInputRequest.d.ts +10 -0
  52. package/api/types/SandboxInputRequest.js +5 -0
  53. package/api/types/SandboxMetricInputParams.d.ts +6 -0
  54. package/api/types/SandboxMetricInputParams.js +5 -0
  55. package/api/types/SandboxMetricInputParamsRequest.d.ts +6 -0
  56. package/api/types/SandboxMetricInputParamsRequest.js +5 -0
  57. package/api/types/SandboxScenario.d.ts +12 -0
  58. package/api/types/SandboxScenario.js +5 -0
  59. package/api/types/SearchRequestOptionsRequest.d.ts +1 -1
  60. package/api/types/SearchResponse.d.ts +1 -1
  61. package/api/types/SearchResult.d.ts +1 -1
  62. package/api/types/SlimDocument.d.ts +1 -1
  63. package/api/types/TypeEnum.d.ts +8 -0
  64. package/api/types/TypeEnum.js +10 -0
  65. package/api/types/index.d.ts +9 -1
  66. package/api/types/index.js +9 -1
  67. package/dist/Client.d.ts +4 -1
  68. package/dist/Client.js +5 -0
  69. package/dist/api/client/requests/GenerateBodyRequest.d.ts +1 -1
  70. package/dist/api/client/requests/SearchRequestBodyRequest.d.ts +1 -1
  71. package/dist/api/client/requests/SubmitCompletionActualsRequest.d.ts +1 -1
  72. package/dist/api/resources/documents/client/Client.d.ts +2 -2
  73. package/dist/api/resources/documents/client/Client.js +11 -5
  74. package/dist/api/resources/documents/client/requests/{ListDocumentsRequest.d.ts → DocumentsListRequest.d.ts} +1 -1
  75. package/dist/api/resources/documents/client/requests/DocumentsListRequest.js +5 -0
  76. package/dist/api/resources/documents/client/requests/UploadDocumentBodyRequest.d.ts +3 -3
  77. package/dist/api/resources/documents/client/requests/index.d.ts +1 -1
  78. package/dist/api/resources/index.d.ts +2 -0
  79. package/dist/api/resources/index.js +3 -1
  80. package/dist/api/resources/modelVersions/client/Client.d.ts +1 -1
  81. package/dist/api/resources/sandboxes/client/Client.d.ts +17 -0
  82. package/dist/api/resources/sandboxes/client/Client.js +83 -0
  83. package/dist/api/resources/sandboxes/client/index.d.ts +1 -0
  84. package/dist/api/resources/sandboxes/client/index.js +17 -0
  85. package/dist/api/resources/sandboxes/client/requests/UpsertSandboxScenarioRequestRequest.d.ts +12 -0
  86. package/dist/api/resources/sandboxes/client/requests/UpsertSandboxScenarioRequestRequest.js +5 -0
  87. package/dist/api/resources/sandboxes/client/requests/index.d.ts +1 -0
  88. package/dist/api/resources/sandboxes/client/requests/index.js +2 -0
  89. package/dist/api/resources/sandboxes/index.d.ts +1 -0
  90. package/dist/api/resources/sandboxes/index.js +17 -0
  91. package/dist/api/types/BlockTypeEnum.d.ts +2 -3
  92. package/dist/api/types/BlockTypeEnum.js +1 -2
  93. package/dist/api/types/ChatMessage.d.ts +8 -0
  94. package/dist/api/types/ChatMessage.js +5 -0
  95. package/dist/api/types/ChatMessageRequest.d.ts +8 -0
  96. package/dist/api/types/ChatMessageRequest.js +5 -0
  97. package/{api/types/ChatRoleEnum.d.ts → dist/api/types/ChatMessageRole.d.ts} +2 -2
  98. package/{api/types/ChatRoleEnum.js → dist/api/types/ChatMessageRole.js} +2 -2
  99. package/dist/api/types/DocumentDocumentToDocumentIndex.d.ts +1 -1
  100. package/dist/api/types/EnrichedNormalizedCompletion.d.ts +2 -2
  101. package/dist/api/types/GenerateOptionsRequest.d.ts +1 -1
  102. package/dist/api/types/GenerateRequest.d.ts +3 -0
  103. package/dist/api/types/GenerateResponse.d.ts +1 -1
  104. package/dist/api/types/GenerateResult.d.ts +1 -1
  105. package/dist/api/types/GenerateResultData.d.ts +1 -1
  106. package/dist/api/types/ModelVersionBuildConfig.d.ts +1 -1
  107. package/dist/api/types/ModelVersionExecConfigParameters.d.ts +1 -1
  108. package/dist/api/types/ModelVersionExecConfigRead.d.ts +3 -2
  109. package/dist/api/types/ModelVersionRead.d.ts +1 -1
  110. package/dist/api/types/ModelVersionSandboxSnapshot.d.ts +2 -0
  111. package/dist/api/types/NormalizedLogProbs.d.ts +2 -2
  112. package/dist/api/types/NormalizedTokenLogProbs.d.ts +2 -2
  113. package/dist/api/types/PaginatedSlimDocumentList.d.ts +1 -1
  114. package/dist/api/types/PromptTemplateBlock.d.ts +2 -1
  115. package/dist/api/types/PromptTemplateBlockData.d.ts +1 -1
  116. package/dist/api/types/PromptTemplateBlockProperties.d.ts +2 -2
  117. package/dist/api/types/SandboxInput.d.ts +10 -0
  118. package/dist/api/types/SandboxInput.js +5 -0
  119. package/dist/api/types/SandboxInputRequest.d.ts +10 -0
  120. package/dist/api/types/SandboxInputRequest.js +5 -0
  121. package/dist/api/types/SandboxMetricInputParams.d.ts +6 -0
  122. package/dist/api/types/SandboxMetricInputParams.js +5 -0
  123. package/dist/api/types/SandboxMetricInputParamsRequest.d.ts +6 -0
  124. package/dist/api/types/SandboxMetricInputParamsRequest.js +5 -0
  125. package/dist/api/types/SandboxScenario.d.ts +12 -0
  126. package/dist/api/types/SandboxScenario.js +5 -0
  127. package/dist/api/types/SearchRequestOptionsRequest.d.ts +1 -1
  128. package/dist/api/types/SearchResponse.d.ts +1 -1
  129. package/dist/api/types/SearchResult.d.ts +1 -1
  130. package/dist/api/types/SlimDocument.d.ts +1 -1
  131. package/dist/api/types/TypeEnum.d.ts +8 -0
  132. package/dist/api/types/TypeEnum.js +10 -0
  133. package/dist/api/types/index.d.ts +9 -1
  134. package/dist/api/types/index.js +9 -1
  135. package/dist/serialization/client/requests/GenerateBodyRequest.d.ts +1 -1
  136. package/dist/serialization/client/requests/SearchRequestBodyRequest.d.ts +1 -1
  137. package/dist/serialization/client/requests/SubmitCompletionActualsRequest.d.ts +1 -1
  138. package/dist/serialization/index.d.ts +1 -0
  139. package/dist/serialization/index.js +1 -0
  140. package/dist/serialization/resources/index.d.ts +2 -0
  141. package/dist/serialization/resources/index.js +31 -0
  142. package/dist/serialization/resources/sandboxes/client/index.d.ts +1 -0
  143. package/dist/serialization/resources/sandboxes/client/index.js +17 -0
  144. package/dist/serialization/resources/sandboxes/client/requests/UpsertSandboxScenarioRequestRequest.d.ts +15 -0
  145. package/dist/serialization/resources/sandboxes/client/requests/UpsertSandboxScenarioRequestRequest.js +38 -0
  146. package/dist/serialization/resources/sandboxes/client/requests/index.d.ts +1 -0
  147. package/dist/serialization/resources/sandboxes/client/requests/index.js +5 -0
  148. package/dist/serialization/resources/sandboxes/index.d.ts +1 -0
  149. package/dist/serialization/resources/sandboxes/index.js +17 -0
  150. package/dist/serialization/types/BlockTypeEnum.d.ts +2 -2
  151. package/dist/serialization/types/BlockTypeEnum.js +1 -1
  152. package/dist/serialization/types/ChatMessage.d.ts +13 -0
  153. package/dist/serialization/types/ChatMessage.js +34 -0
  154. package/dist/serialization/types/ChatMessageRequest.d.ts +13 -0
  155. package/dist/serialization/types/ChatMessageRequest.js +34 -0
  156. package/dist/serialization/types/ChatMessageRole.d.ts +10 -0
  157. package/dist/serialization/types/ChatMessageRole.js +31 -0
  158. package/dist/serialization/types/Document.d.ts +1 -1
  159. package/dist/serialization/types/DocumentDocumentToDocumentIndex.d.ts +1 -1
  160. package/dist/serialization/types/EnrichedNormalizedCompletion.d.ts +2 -2
  161. package/dist/serialization/types/EnrichedNormalizedCompletion.js +1 -1
  162. package/dist/serialization/types/FinishReasonEnum.d.ts +1 -1
  163. package/dist/serialization/types/GenerateErrorResponse.d.ts +1 -1
  164. package/dist/serialization/types/GenerateOptionsRequest.d.ts +1 -1
  165. package/dist/serialization/types/GenerateRequest.d.ts +2 -1
  166. package/dist/serialization/types/GenerateRequest.js +3 -0
  167. package/dist/serialization/types/GenerateResponse.d.ts +1 -1
  168. package/dist/serialization/types/GenerateResult.d.ts +1 -1
  169. package/dist/serialization/types/GenerateResultData.d.ts +1 -1
  170. package/dist/serialization/types/GenerateResultError.d.ts +1 -1
  171. package/dist/serialization/types/IndexingStateEnum.d.ts +1 -1
  172. package/dist/serialization/types/LogprobsEnum.d.ts +1 -1
  173. package/dist/serialization/types/ModelTypeEnum.d.ts +1 -1
  174. package/dist/serialization/types/ModelVersionBuildConfig.d.ts +1 -1
  175. package/dist/serialization/types/ModelVersionExecConfigParameters.d.ts +2 -2
  176. package/dist/serialization/types/ModelVersionExecConfigParameters.js +1 -1
  177. package/dist/serialization/types/ModelVersionExecConfigRead.d.ts +3 -2
  178. package/dist/serialization/types/ModelVersionExecConfigRead.js +2 -1
  179. package/dist/serialization/types/ModelVersionRead.d.ts +1 -1
  180. package/dist/serialization/types/ModelVersionReadStatusEnum.d.ts +1 -1
  181. package/dist/serialization/types/ModelVersionSandboxSnapshot.d.ts +2 -1
  182. package/dist/serialization/types/ModelVersionSandboxSnapshot.js +1 -0
  183. package/dist/serialization/types/NormalizedLogProbs.d.ts +2 -2
  184. package/dist/serialization/types/NormalizedLogProbs.js +1 -1
  185. package/dist/serialization/types/NormalizedTokenLogProbs.d.ts +3 -3
  186. package/dist/serialization/types/NormalizedTokenLogProbs.js +2 -2
  187. package/dist/serialization/types/PaginatedSlimDocumentList.d.ts +1 -1
  188. package/dist/serialization/types/ProcessingStateEnum.d.ts +1 -1
  189. package/dist/serialization/types/PromptTemplateBlock.d.ts +2 -1
  190. package/dist/serialization/types/PromptTemplateBlock.js +1 -0
  191. package/dist/serialization/types/PromptTemplateBlockData.d.ts +1 -1
  192. package/dist/serialization/types/PromptTemplateBlockProperties.d.ts +2 -2
  193. package/dist/serialization/types/PromptTemplateBlockProperties.js +1 -1
  194. package/dist/serialization/types/ProviderEnum.d.ts +1 -1
  195. package/dist/serialization/types/SandboxInput.d.ts +15 -0
  196. package/dist/serialization/types/SandboxInput.js +38 -0
  197. package/dist/serialization/types/SandboxInputRequest.d.ts +15 -0
  198. package/dist/serialization/types/SandboxInputRequest.js +38 -0
  199. package/dist/serialization/types/SandboxMetricInputParams.d.ts +12 -0
  200. package/dist/serialization/types/SandboxMetricInputParams.js +33 -0
  201. package/dist/serialization/types/SandboxMetricInputParamsRequest.d.ts +12 -0
  202. package/dist/serialization/types/SandboxMetricInputParamsRequest.js +33 -0
  203. package/dist/serialization/types/SandboxScenario.d.ts +15 -0
  204. package/dist/serialization/types/SandboxScenario.js +36 -0
  205. package/dist/serialization/types/SearchErrorResponse.d.ts +1 -1
  206. package/dist/serialization/types/SearchFiltersRequest.d.ts +1 -1
  207. package/dist/serialization/types/SearchRequestOptionsRequest.d.ts +1 -1
  208. package/dist/serialization/types/SearchResponse.d.ts +1 -1
  209. package/dist/serialization/types/SearchResult.d.ts +1 -1
  210. package/dist/serialization/types/SearchResultMergingRequest.d.ts +1 -1
  211. package/dist/serialization/types/SearchWeightsRequest.d.ts +1 -1
  212. package/dist/serialization/types/SlimDocument.d.ts +1 -1
  213. package/dist/serialization/types/SlimDocumentStatusEnum.d.ts +1 -1
  214. package/dist/serialization/types/SubmitCompletionActualRequest.d.ts +1 -1
  215. package/dist/serialization/types/SubmitCompletionActualsErrorResponse.d.ts +1 -1
  216. package/dist/serialization/types/TypeEnum.d.ts +10 -0
  217. package/dist/serialization/types/{ChatRoleEnum.js → TypeEnum.js} +5 -2
  218. package/dist/serialization/types/UploadDocumentErrorResponse.d.ts +1 -1
  219. package/dist/serialization/types/UploadDocumentResponse.d.ts +1 -1
  220. package/dist/serialization/types/index.d.ts +9 -1
  221. package/dist/serialization/types/index.js +9 -1
  222. package/package.json +2 -3
  223. package/serialization/client/requests/GenerateBodyRequest.d.ts +1 -1
  224. package/serialization/client/requests/SearchRequestBodyRequest.d.ts +1 -1
  225. package/serialization/client/requests/SubmitCompletionActualsRequest.d.ts +1 -1
  226. package/serialization/index.d.ts +1 -0
  227. package/serialization/index.js +1 -0
  228. package/serialization/resources/index.d.ts +2 -0
  229. package/serialization/resources/index.js +31 -0
  230. package/serialization/resources/sandboxes/client/index.d.ts +1 -0
  231. package/serialization/resources/sandboxes/client/index.js +17 -0
  232. package/serialization/resources/sandboxes/client/requests/UpsertSandboxScenarioRequestRequest.d.ts +15 -0
  233. package/serialization/resources/sandboxes/client/requests/UpsertSandboxScenarioRequestRequest.js +38 -0
  234. package/serialization/resources/sandboxes/client/requests/index.d.ts +1 -0
  235. package/serialization/resources/sandboxes/client/requests/index.js +5 -0
  236. package/serialization/resources/sandboxes/index.d.ts +1 -0
  237. package/serialization/resources/sandboxes/index.js +17 -0
  238. package/serialization/types/BlockTypeEnum.d.ts +2 -2
  239. package/serialization/types/BlockTypeEnum.js +1 -1
  240. package/serialization/types/ChatMessage.d.ts +13 -0
  241. package/serialization/types/ChatMessage.js +34 -0
  242. package/serialization/types/ChatMessageRequest.d.ts +13 -0
  243. package/serialization/types/ChatMessageRequest.js +34 -0
  244. package/serialization/types/ChatMessageRole.d.ts +10 -0
  245. package/serialization/types/ChatMessageRole.js +31 -0
  246. package/serialization/types/Document.d.ts +1 -1
  247. package/serialization/types/DocumentDocumentToDocumentIndex.d.ts +1 -1
  248. package/serialization/types/EnrichedNormalizedCompletion.d.ts +2 -2
  249. package/serialization/types/EnrichedNormalizedCompletion.js +1 -1
  250. package/serialization/types/FinishReasonEnum.d.ts +1 -1
  251. package/serialization/types/GenerateErrorResponse.d.ts +1 -1
  252. package/serialization/types/GenerateOptionsRequest.d.ts +1 -1
  253. package/serialization/types/GenerateRequest.d.ts +2 -1
  254. package/serialization/types/GenerateRequest.js +3 -0
  255. package/serialization/types/GenerateResponse.d.ts +1 -1
  256. package/serialization/types/GenerateResult.d.ts +1 -1
  257. package/serialization/types/GenerateResultData.d.ts +1 -1
  258. package/serialization/types/GenerateResultError.d.ts +1 -1
  259. package/serialization/types/IndexingStateEnum.d.ts +1 -1
  260. package/serialization/types/LogprobsEnum.d.ts +1 -1
  261. package/serialization/types/ModelTypeEnum.d.ts +1 -1
  262. package/serialization/types/ModelVersionBuildConfig.d.ts +1 -1
  263. package/serialization/types/ModelVersionExecConfigParameters.d.ts +2 -2
  264. package/serialization/types/ModelVersionExecConfigParameters.js +1 -1
  265. package/serialization/types/ModelVersionExecConfigRead.d.ts +3 -2
  266. package/serialization/types/ModelVersionExecConfigRead.js +2 -1
  267. package/serialization/types/ModelVersionRead.d.ts +1 -1
  268. package/serialization/types/ModelVersionReadStatusEnum.d.ts +1 -1
  269. package/serialization/types/ModelVersionSandboxSnapshot.d.ts +2 -1
  270. package/serialization/types/ModelVersionSandboxSnapshot.js +1 -0
  271. package/serialization/types/NormalizedLogProbs.d.ts +2 -2
  272. package/serialization/types/NormalizedLogProbs.js +1 -1
  273. package/serialization/types/NormalizedTokenLogProbs.d.ts +3 -3
  274. package/serialization/types/NormalizedTokenLogProbs.js +2 -2
  275. package/serialization/types/PaginatedSlimDocumentList.d.ts +1 -1
  276. package/serialization/types/ProcessingStateEnum.d.ts +1 -1
  277. package/serialization/types/PromptTemplateBlock.d.ts +2 -1
  278. package/serialization/types/PromptTemplateBlock.js +1 -0
  279. package/serialization/types/PromptTemplateBlockData.d.ts +1 -1
  280. package/serialization/types/PromptTemplateBlockProperties.d.ts +2 -2
  281. package/serialization/types/PromptTemplateBlockProperties.js +1 -1
  282. package/serialization/types/ProviderEnum.d.ts +1 -1
  283. package/serialization/types/SandboxInput.d.ts +15 -0
  284. package/serialization/types/SandboxInput.js +38 -0
  285. package/serialization/types/SandboxInputRequest.d.ts +15 -0
  286. package/serialization/types/SandboxInputRequest.js +38 -0
  287. package/serialization/types/SandboxMetricInputParams.d.ts +12 -0
  288. package/serialization/types/SandboxMetricInputParams.js +33 -0
  289. package/serialization/types/SandboxMetricInputParamsRequest.d.ts +12 -0
  290. package/serialization/types/SandboxMetricInputParamsRequest.js +33 -0
  291. package/serialization/types/SandboxScenario.d.ts +15 -0
  292. package/serialization/types/SandboxScenario.js +36 -0
  293. package/serialization/types/SearchErrorResponse.d.ts +1 -1
  294. package/serialization/types/SearchFiltersRequest.d.ts +1 -1
  295. package/serialization/types/SearchRequestOptionsRequest.d.ts +1 -1
  296. package/serialization/types/SearchResponse.d.ts +1 -1
  297. package/serialization/types/SearchResult.d.ts +1 -1
  298. package/serialization/types/SearchResultMergingRequest.d.ts +1 -1
  299. package/serialization/types/SearchWeightsRequest.d.ts +1 -1
  300. package/serialization/types/SlimDocument.d.ts +1 -1
  301. package/serialization/types/SlimDocumentStatusEnum.d.ts +1 -1
  302. package/serialization/types/SubmitCompletionActualRequest.d.ts +1 -1
  303. package/serialization/types/SubmitCompletionActualsErrorResponse.d.ts +1 -1
  304. package/serialization/types/TypeEnum.d.ts +10 -0
  305. package/serialization/types/{ChatRoleEnum.js → TypeEnum.js} +5 -2
  306. package/serialization/types/UploadDocumentErrorResponse.d.ts +1 -1
  307. package/serialization/types/UploadDocumentResponse.d.ts +1 -1
  308. package/serialization/types/index.d.ts +9 -1
  309. package/serialization/types/index.js +9 -1
  310. package/dist/serialization/types/ChatRoleEnum.d.ts +0 -10
  311. package/serialization/types/ChatRoleEnum.d.ts +0 -10
  312. /package/api/resources/documents/client/requests/{ListDocumentsRequest.js → DocumentsListRequest.js} +0 -0
  313. /package/{dist/api/resources/documents/client/requests/ListDocumentsRequest.js → api/resources/sandboxes/client/requests/UpsertSandboxScenarioRequestRequest.js} +0 -0
@@ -3,8 +3,8 @@
3
3
  * This file was auto-generated by Fern from our API Definition.
4
4
  */
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.ChatRoleEnum = void 0;
7
- exports.ChatRoleEnum = {
6
+ exports.ChatMessageRole = void 0;
7
+ exports.ChatMessageRole = {
8
8
  System: "SYSTEM",
9
9
  Assistant: "ASSISTANT",
10
10
  User: "USER",
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- import { Vellum } from "../..";
4
+ import * as Vellum from "..";
5
5
  export interface DocumentDocumentToDocumentIndex {
6
6
  /** Vellum-generated ID that uniquely identifies this link. */
7
7
  id: string;
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- import { Vellum } from "../..";
4
+ import * as Vellum from "..";
5
5
  export interface EnrichedNormalizedCompletion {
6
6
  /** The Vellum-generated ID of the completion. */
7
7
  id: string;
@@ -10,7 +10,7 @@ export interface EnrichedNormalizedCompletion {
10
10
  /** The text generated by the LLM. */
11
11
  text: string;
12
12
  /** The reason the generation finished. */
13
- finishReason: Vellum.FinishReasonEnum;
13
+ finishReason?: Vellum.FinishReasonEnum;
14
14
  /** The logprobs of the completion. Only present if specified in the original request options. */
15
15
  logprobs?: Vellum.NormalizedLogProbs;
16
16
  /** The ID of the model version used to generate this completion. */
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- import { Vellum } from "../..";
4
+ import * as Vellum from "..";
5
5
  export interface GenerateOptionsRequest {
6
6
  /** Which logprobs to include, if any. Defaults to NONE. */
7
7
  logprobs?: Vellum.LogprobsEnum;
@@ -1,9 +1,12 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
+ import * as Vellum from "..";
4
5
  export interface GenerateRequest {
5
6
  /** Key/value pairs for each template variable defined in the deployment's prompt. */
6
7
  inputValues: Record<string, unknown>;
8
+ /** Optionally provide a list of chat messages that'll be used in place of the special {$chat_history} variable, if included in the prompt. */
9
+ chatHistory?: Vellum.ChatMessageRequest[];
7
10
  /** Optionally include a unique identifier for each generation, as represented outside of Vellum. Note that this should generally be a list of length one. */
8
11
  externalIds?: string[];
9
12
  }
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- import { Vellum } from "../..";
4
+ import * as Vellum from "..";
5
5
  export interface GenerateResponse {
6
6
  /** The results of each generation request. */
7
7
  results: Vellum.GenerateResult[];
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- import { Vellum } from "../..";
4
+ import * as Vellum from "..";
5
5
  export interface GenerateResult {
6
6
  /** An object containing the resulting generation. This key will be absent if the LLM provider experienced an error. */
7
7
  data?: Vellum.GenerateResultData;
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- import { Vellum } from "../..";
4
+ import * as Vellum from "..";
5
5
  export interface GenerateResultData {
6
6
  /** The generated completions. This will generally be a list of length one. */
7
7
  completions: Vellum.EnrichedNormalizedCompletion[];
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- import { Vellum } from "../..";
4
+ import * as Vellum from "..";
5
5
  export interface ModelVersionBuildConfig {
6
6
  /** The name of the base model used to create this model version, as identified by the LLM provider. */
7
7
  baseModel: string;
@@ -4,7 +4,7 @@
4
4
  export interface ModelVersionExecConfigParameters {
5
5
  temperature: number;
6
6
  maxTokens: number;
7
- stop: string[];
7
+ stop?: string[];
8
8
  topP: number;
9
9
  topK?: number;
10
10
  frequencyPenalty: number;
@@ -1,13 +1,14 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- import { Vellum } from "../..";
4
+ import * as Vellum from "..";
5
5
  export interface ModelVersionExecConfigRead {
6
6
  /** The generation parameters that are passed to the LLM provider at runtime. */
7
7
  parameters: Vellum.ModelVersionExecConfigParameters;
8
8
  /** Names of the template variables specified in the prompt template. */
9
9
  inputVariables: string[];
10
10
  /** The template used to generate prompts for this model version. */
11
- promptTemplate: string;
11
+ promptTemplate?: string;
12
12
  promptBlockData?: Vellum.PromptTemplateBlockData;
13
+ promptSyntaxVersion: number;
13
14
  }
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- import { Vellum } from "../..";
4
+ import * as Vellum from "..";
5
5
  export interface ModelVersionRead {
6
6
  /** Vellum-generated ID that uniquely identifies this model version. */
7
7
  id: string;
@@ -6,4 +6,6 @@ export interface ModelVersionSandboxSnapshot {
6
6
  id: string;
7
7
  /** The index of the prompt in the sandbox snapshot. */
8
8
  promptIndex: number;
9
+ /** The id of the prompt in the sandbox snapshot. */
10
+ promptId?: string;
9
11
  }
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- import { Vellum } from "../..";
4
+ import * as Vellum from "..";
5
5
  export interface NormalizedLogProbs {
6
6
  tokens: Vellum.NormalizedTokenLogProbs[];
7
- likelihood: number;
7
+ likelihood?: number;
8
8
  }
@@ -3,7 +3,7 @@
3
3
  */
4
4
  export interface NormalizedTokenLogProbs {
5
5
  token: string;
6
- logprob: number;
7
- topLogprobs: Record<string, number>;
6
+ logprob?: number;
7
+ topLogprobs?: Record<string, number | undefined>;
8
8
  textOffset: number;
9
9
  }
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- import { Vellum } from "../..";
4
+ import * as Vellum from "..";
5
5
  export interface PaginatedSlimDocumentList {
6
6
  count?: number;
7
7
  next?: string;
@@ -1,8 +1,9 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- import { Vellum } from "../..";
4
+ import * as Vellum from "..";
5
5
  export interface PromptTemplateBlock {
6
+ id: string;
6
7
  blockType: Vellum.BlockTypeEnum;
7
8
  properties: Vellum.PromptTemplateBlockProperties;
8
9
  }
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- import { Vellum } from "../..";
4
+ import * as Vellum from "..";
5
5
  export interface PromptTemplateBlockData {
6
6
  version: number;
7
7
  blocks: Vellum.PromptTemplateBlock[];
@@ -1,9 +1,9 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- import { Vellum } from "../..";
4
+ import * as Vellum from "..";
5
5
  export interface PromptTemplateBlockProperties {
6
- chatRole?: Vellum.ChatRoleEnum;
6
+ chatRole?: Vellum.ChatMessageRole;
7
7
  text?: string;
8
8
  variableName?: string;
9
9
  blocks?: Record<string, unknown>[];
@@ -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 SandboxInput {
6
+ key: string;
7
+ type?: Vellum.TypeEnum;
8
+ value?: string;
9
+ chatHistory?: Vellum.ChatMessage[];
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,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vellum from "..";
5
+ export interface SandboxInputRequest {
6
+ key: string;
7
+ type?: Vellum.TypeEnum;
8
+ value?: string;
9
+ chatHistory?: Vellum.ChatMessageRequest[];
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,6 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface SandboxMetricInputParams {
5
+ params?: Record<string, unknown>;
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,6 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface SandboxMetricInputParamsRequest {
5
+ params?: Record<string, unknown>;
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
+ export interface SandboxScenario {
6
+ label?: string;
7
+ /** The inputs for the scenario */
8
+ inputs: Vellum.SandboxInput[];
9
+ metricInputParams?: Vellum.SandboxMetricInputParams;
10
+ /** The id of the scenario */
11
+ id: string;
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 });
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- import { Vellum } from "../..";
4
+ import * as Vellum from "..";
5
5
  export interface SearchRequestOptionsRequest {
6
6
  /** The maximum number of results to return. */
7
7
  limit?: number;
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- import { Vellum } from "../..";
4
+ import * as Vellum from "..";
5
5
  export interface SearchResponse {
6
6
  /** The results of the search. Each result represents a chunk that matches the search query. */
7
7
  results: Vellum.SearchResult[];
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- import { Vellum } from "../..";
4
+ import * as Vellum from "..";
5
5
  export interface SearchResult {
6
6
  /** The document that contains the chunk that matched the search query. */
7
7
  document: Vellum.Document;
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- import { Vellum } from "../..";
4
+ import * as Vellum from "..";
5
5
  export interface SlimDocument {
6
6
  /** Vellum-generated ID that uniquely identifies this document. */
7
7
  id: string;
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export declare type TypeEnum = "TEXT" | "CHAT_HISTORY";
5
+ export declare const TypeEnum: {
6
+ readonly Text: "TEXT";
7
+ readonly ChatHistory: "CHAT_HISTORY";
8
+ };
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.TypeEnum = void 0;
7
+ exports.TypeEnum = {
8
+ Text: "TEXT",
9
+ ChatHistory: "CHAT_HISTORY",
10
+ };
@@ -1,5 +1,7 @@
1
1
  export * from "./BlockTypeEnum";
2
- export * from "./ChatRoleEnum";
2
+ export * from "./ChatMessage";
3
+ export * from "./ChatMessageRequest";
4
+ export * from "./ChatMessageRole";
3
5
  export * from "./Document";
4
6
  export * from "./DocumentDocumentToDocumentIndex";
5
7
  export * from "./EnrichedNormalizedCompletion";
@@ -28,6 +30,11 @@ export * from "./PromptTemplateBlock";
28
30
  export * from "./PromptTemplateBlockData";
29
31
  export * from "./PromptTemplateBlockProperties";
30
32
  export * from "./ProviderEnum";
33
+ export * from "./SandboxInput";
34
+ export * from "./SandboxInputRequest";
35
+ export * from "./SandboxMetricInputParams";
36
+ export * from "./SandboxMetricInputParamsRequest";
37
+ export * from "./SandboxScenario";
31
38
  export * from "./SearchErrorResponse";
32
39
  export * from "./SearchFiltersRequest";
33
40
  export * from "./SearchRequestOptionsRequest";
@@ -39,5 +46,6 @@ export * from "./SlimDocument";
39
46
  export * from "./SlimDocumentStatusEnum";
40
47
  export * from "./SubmitCompletionActualRequest";
41
48
  export * from "./SubmitCompletionActualsErrorResponse";
49
+ export * from "./TypeEnum";
42
50
  export * from "./UploadDocumentErrorResponse";
43
51
  export * from "./UploadDocumentResponse";
@@ -15,7 +15,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./BlockTypeEnum"), exports);
18
- __exportStar(require("./ChatRoleEnum"), exports);
18
+ __exportStar(require("./ChatMessage"), exports);
19
+ __exportStar(require("./ChatMessageRequest"), exports);
20
+ __exportStar(require("./ChatMessageRole"), exports);
19
21
  __exportStar(require("./Document"), exports);
20
22
  __exportStar(require("./DocumentDocumentToDocumentIndex"), exports);
21
23
  __exportStar(require("./EnrichedNormalizedCompletion"), exports);
@@ -44,6 +46,11 @@ __exportStar(require("./PromptTemplateBlock"), exports);
44
46
  __exportStar(require("./PromptTemplateBlockData"), exports);
45
47
  __exportStar(require("./PromptTemplateBlockProperties"), exports);
46
48
  __exportStar(require("./ProviderEnum"), exports);
49
+ __exportStar(require("./SandboxInput"), exports);
50
+ __exportStar(require("./SandboxInputRequest"), exports);
51
+ __exportStar(require("./SandboxMetricInputParams"), exports);
52
+ __exportStar(require("./SandboxMetricInputParamsRequest"), exports);
53
+ __exportStar(require("./SandboxScenario"), exports);
47
54
  __exportStar(require("./SearchErrorResponse"), exports);
48
55
  __exportStar(require("./SearchFiltersRequest"), exports);
49
56
  __exportStar(require("./SearchRequestOptionsRequest"), exports);
@@ -55,5 +62,6 @@ __exportStar(require("./SlimDocument"), exports);
55
62
  __exportStar(require("./SlimDocumentStatusEnum"), exports);
56
63
  __exportStar(require("./SubmitCompletionActualRequest"), exports);
57
64
  __exportStar(require("./SubmitCompletionActualsErrorResponse"), exports);
65
+ __exportStar(require("./TypeEnum"), exports);
58
66
  __exportStar(require("./UploadDocumentErrorResponse"), exports);
59
67
  __exportStar(require("./UploadDocumentResponse"), exports);
@@ -2,7 +2,7 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  import * as serializers from "../..";
5
- import { Vellum } from "../../..";
5
+ import * as Vellum from "../../../api";
6
6
  import * as core from "../../../core";
7
7
  export declare const GenerateBodyRequest: core.serialization.Schema<serializers.GenerateBodyRequest.Raw, Vellum.GenerateBodyRequest>;
8
8
  export declare namespace GenerateBodyRequest {
@@ -2,7 +2,7 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  import * as serializers from "../..";
5
- import { Vellum } from "../../..";
5
+ import * as Vellum from "../../../api";
6
6
  import * as core from "../../../core";
7
7
  export declare const SearchRequestBodyRequest: core.serialization.Schema<serializers.SearchRequestBodyRequest.Raw, Vellum.SearchRequestBodyRequest>;
8
8
  export declare namespace SearchRequestBodyRequest {
@@ -2,7 +2,7 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  import * as serializers from "../..";
5
- import { Vellum } from "../../..";
5
+ import * as Vellum from "../../../api";
6
6
  import * as core from "../../../core";
7
7
  export declare const SubmitCompletionActualsRequest: core.serialization.Schema<serializers.SubmitCompletionActualsRequest.Raw, Vellum.SubmitCompletionActualsRequest>;
8
8
  export declare namespace SubmitCompletionActualsRequest {
@@ -1,2 +1,3 @@
1
1
  export * from "./types";
2
2
  export * from "./client";
3
+ export * from "./resources";
@@ -16,3 +16,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./types"), exports);
18
18
  __exportStar(require("./client"), exports);
19
+ __exportStar(require("./resources"), exports);
@@ -0,0 +1,2 @@
1
+ export * as sandboxes from "./sandboxes";
2
+ export * from "./sandboxes/client/requests";
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
26
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.sandboxes = void 0;
30
+ exports.sandboxes = __importStar(require("./sandboxes"));
31
+ __exportStar(require("./sandboxes/client/requests"), exports);
@@ -0,0 +1 @@
1
+ export * from "./requests";
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./requests"), exports);
@@ -0,0 +1,15 @@
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 UpsertSandboxScenarioRequestRequest: core.serialization.Schema<serializers.UpsertSandboxScenarioRequestRequest.Raw, Vellum.UpsertSandboxScenarioRequestRequest>;
8
+ export declare namespace UpsertSandboxScenarioRequestRequest {
9
+ interface Raw {
10
+ label?: string | null;
11
+ inputs: serializers.SandboxInputRequest.Raw[];
12
+ metric_input_params?: serializers.SandboxMetricInputParamsRequest.Raw | null;
13
+ id?: string | null;
14
+ }
15
+ }
@@ -0,0 +1,38 @@
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.UpsertSandboxScenarioRequestRequest = void 0;
30
+ const core = __importStar(require("../../../../../core"));
31
+ exports.UpsertSandboxScenarioRequestRequest = core.serialization.object({
32
+ label: core.serialization.string().optional(),
33
+ inputs: core.serialization.list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../..")))).SandboxInputRequest)),
34
+ metricInputParams: core.serialization.property("metric_input_params", core.serialization
35
+ .lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../..")))).SandboxMetricInputParamsRequest)
36
+ .optional()),
37
+ id: core.serialization.string().optional(),
38
+ });
@@ -0,0 +1 @@
1
+ export { UpsertSandboxScenarioRequestRequest } from "./UpsertSandboxScenarioRequestRequest";
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpsertSandboxScenarioRequestRequest = void 0;
4
+ var UpsertSandboxScenarioRequestRequest_1 = require("./UpsertSandboxScenarioRequestRequest");
5
+ Object.defineProperty(exports, "UpsertSandboxScenarioRequestRequest", { enumerable: true, get: function () { return UpsertSandboxScenarioRequestRequest_1.UpsertSandboxScenarioRequestRequest; } });
@@ -0,0 +1 @@
1
+ export * from "./client";
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./client"), exports);
@@ -2,9 +2,9 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  import * as serializers from "..";
5
- import { Vellum } from "../..";
5
+ import * as Vellum from "../../api";
6
6
  import * as core from "../../core";
7
7
  export declare const BlockTypeEnum: core.serialization.Schema<serializers.BlockTypeEnum.Raw, Vellum.BlockTypeEnum>;
8
8
  export declare namespace BlockTypeEnum {
9
- type Raw = "CHAT_MESSAGE" | "CHAT_HISTORY" | "TEXT" | "VARIABLE";
9
+ type Raw = "CHAT_MESSAGE" | "CHAT_HISTORY" | "JINJA";
10
10
  }