vellum-ai 0.14.22 → 0.14.24

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 (546) hide show
  1. package/Client.js +11 -11
  2. package/api/resources/adHoc/client/Client.js +1 -1
  3. package/api/resources/containerImages/client/Client.js +4 -4
  4. package/api/resources/deployments/client/Client.js +7 -7
  5. package/api/resources/documentIndexes/client/Client.js +8 -8
  6. package/api/resources/documents/client/Client.js +5 -5
  7. package/api/resources/folderEntities/client/Client.js +2 -2
  8. package/api/resources/metricDefinitions/client/Client.js +2 -2
  9. package/api/resources/mlModels/client/Client.js +1 -1
  10. package/api/resources/organizations/client/Client.js +1 -1
  11. package/api/resources/sandboxes/client/Client.js +3 -3
  12. package/api/resources/testSuiteRuns/client/Client.js +3 -3
  13. package/api/resources/testSuites/client/Client.js +4 -4
  14. package/api/resources/workflowDeployments/client/Client.d.ts +18 -0
  15. package/api/resources/workflowDeployments/client/Client.js +120 -6
  16. package/api/resources/workflowDeployments/client/requests/ListWorkflowDeploymentEventExecutionsRequest.d.ts +18 -0
  17. package/api/resources/workflowDeployments/client/requests/ListWorkflowDeploymentEventExecutionsRequest.js +5 -0
  18. package/api/resources/workflowDeployments/client/requests/index.d.ts +1 -0
  19. package/api/resources/workflowSandboxes/client/Client.js +2 -2
  20. package/api/resources/workflows/client/Client.js +2 -2
  21. package/api/resources/workspaceSecrets/client/Client.js +2 -2
  22. package/api/resources/workspaces/client/Client.js +1 -1
  23. package/api/types/ApiRequestParentContext.d.ts +10 -0
  24. package/api/types/ApiRequestParentContext.js +5 -0
  25. package/api/types/ApiVersionEnum.d.ts +7 -0
  26. package/api/types/ApiVersionEnum.js +5 -0
  27. package/api/types/BaseOutput.d.ts +8 -0
  28. package/api/types/BaseOutput.js +5 -0
  29. package/api/types/CodeResourceDefinition.d.ts +12 -0
  30. package/api/types/CodeResourceDefinition.js +5 -0
  31. package/api/types/ExternalInputDescriptor.d.ts +10 -0
  32. package/api/types/ExternalInputDescriptor.js +5 -0
  33. package/api/types/InvokedPort.d.ts +6 -0
  34. package/api/types/InvokedPort.js +5 -0
  35. package/api/types/MlModelUsageWrapper.d.ts +8 -0
  36. package/api/types/MlModelUsageWrapper.js +5 -0
  37. package/api/types/NodeEventDisplayContext.d.ts +10 -0
  38. package/api/types/NodeEventDisplayContext.js +5 -0
  39. package/api/types/NodeExecutionFulfilledBody.d.ts +10 -0
  40. package/api/types/NodeExecutionFulfilledBody.js +5 -0
  41. package/api/types/NodeExecutionFulfilledEvent.d.ts +15 -0
  42. package/api/types/NodeExecutionFulfilledEvent.js +5 -0
  43. package/api/types/NodeExecutionInitiatedBody.d.ts +8 -0
  44. package/api/types/NodeExecutionInitiatedBody.js +5 -0
  45. package/api/types/NodeExecutionInitiatedEvent.d.ts +15 -0
  46. package/api/types/NodeExecutionInitiatedEvent.js +5 -0
  47. package/api/types/NodeExecutionPausedBody.d.ts +7 -0
  48. package/api/types/NodeExecutionPausedBody.js +5 -0
  49. package/api/types/NodeExecutionPausedEvent.d.ts +15 -0
  50. package/api/types/NodeExecutionPausedEvent.js +5 -0
  51. package/api/types/NodeExecutionRejectedBody.d.ts +8 -0
  52. package/api/types/NodeExecutionRejectedBody.js +5 -0
  53. package/api/types/NodeExecutionRejectedEvent.d.ts +15 -0
  54. package/api/types/NodeExecutionRejectedEvent.js +5 -0
  55. package/api/types/NodeExecutionResumedBody.d.ts +7 -0
  56. package/api/types/NodeExecutionResumedBody.js +5 -0
  57. package/api/types/NodeExecutionResumedEvent.d.ts +15 -0
  58. package/api/types/NodeExecutionResumedEvent.js +5 -0
  59. package/api/types/NodeExecutionSpan.d.ts +13 -0
  60. package/api/types/NodeExecutionSpan.js +5 -0
  61. package/api/types/NodeExecutionSpanAttributes.d.ts +6 -0
  62. package/api/types/NodeExecutionSpanAttributes.js +5 -0
  63. package/api/types/NodeExecutionStreamingBody.d.ts +8 -0
  64. package/api/types/NodeExecutionStreamingBody.js +5 -0
  65. package/api/types/NodeExecutionStreamingEvent.d.ts +15 -0
  66. package/api/types/NodeExecutionStreamingEvent.js +5 -0
  67. package/api/types/NodeParentContext.d.ts +11 -0
  68. package/api/types/NodeParentContext.js +5 -0
  69. package/api/types/ParentContext.d.ts +5 -0
  70. package/api/types/ParentContext.js +5 -0
  71. package/api/types/PromptDeploymentParentContext.d.ts +18 -0
  72. package/api/types/PromptDeploymentParentContext.js +5 -0
  73. package/api/types/SlimWorkflowExecutionRead.d.ts +16 -0
  74. package/api/types/SlimWorkflowExecutionRead.js +5 -0
  75. package/api/types/SpanLink.d.ts +9 -0
  76. package/api/types/SpanLink.js +5 -0
  77. package/api/types/SpanLinkTypeEnum.d.ts +7 -0
  78. package/api/types/SpanLinkTypeEnum.js +5 -0
  79. package/api/types/VellumCodeResourceDefinition.d.ts +9 -0
  80. package/api/types/VellumCodeResourceDefinition.js +5 -0
  81. package/api/types/VellumNodeExecutionEvent.d.ts +5 -0
  82. package/api/types/VellumNodeExecutionEvent.js +5 -0
  83. package/api/types/VellumSdkError.d.ts +8 -0
  84. package/api/types/VellumSdkError.js +5 -0
  85. package/api/types/VellumSdkErrorCodeEnum.d.ts +30 -0
  86. package/api/types/VellumSdkErrorCodeEnum.js +19 -0
  87. package/api/types/VellumSpan.d.ts +5 -0
  88. package/api/types/VellumSpan.js +5 -0
  89. package/api/types/VellumWorkflowExecutionEvent.d.ts +5 -0
  90. package/api/types/VellumWorkflowExecutionEvent.js +5 -0
  91. package/api/types/WorkflowDeploymentEventExecutionsResponse.d.ts +8 -0
  92. package/api/types/WorkflowDeploymentEventExecutionsResponse.js +5 -0
  93. package/api/types/WorkflowDeploymentParentContext.d.ts +18 -0
  94. package/api/types/WorkflowDeploymentParentContext.js +5 -0
  95. package/api/types/WorkflowError.d.ts +5 -0
  96. package/api/types/WorkflowError.js +5 -0
  97. package/api/types/WorkflowEventDisplayContext.d.ts +9 -0
  98. package/api/types/WorkflowEventDisplayContext.js +5 -0
  99. package/api/types/WorkflowEventExecutionRead.d.ts +17 -0
  100. package/api/types/WorkflowEventExecutionRead.js +5 -0
  101. package/api/types/WorkflowExecutionActual.d.ts +10 -0
  102. package/api/types/WorkflowExecutionActual.js +5 -0
  103. package/api/types/WorkflowExecutionFulfilledBody.d.ts +8 -0
  104. package/api/types/WorkflowExecutionFulfilledBody.js +5 -0
  105. package/api/types/WorkflowExecutionFulfilledEvent.d.ts +15 -0
  106. package/api/types/WorkflowExecutionFulfilledEvent.js +5 -0
  107. package/api/types/WorkflowExecutionInitiatedBody.d.ts +9 -0
  108. package/api/types/WorkflowExecutionInitiatedBody.js +5 -0
  109. package/api/types/WorkflowExecutionInitiatedEvent.d.ts +15 -0
  110. package/api/types/WorkflowExecutionInitiatedEvent.js +5 -0
  111. package/api/types/WorkflowExecutionPausedBody.d.ts +8 -0
  112. package/api/types/WorkflowExecutionPausedBody.js +5 -0
  113. package/api/types/WorkflowExecutionPausedEvent.d.ts +15 -0
  114. package/api/types/WorkflowExecutionPausedEvent.js +5 -0
  115. package/api/types/WorkflowExecutionRejectedBody.d.ts +8 -0
  116. package/api/types/WorkflowExecutionRejectedBody.js +5 -0
  117. package/api/types/WorkflowExecutionRejectedEvent.d.ts +15 -0
  118. package/api/types/WorkflowExecutionRejectedEvent.js +5 -0
  119. package/api/types/WorkflowExecutionResumedBody.d.ts +7 -0
  120. package/api/types/WorkflowExecutionResumedBody.js +5 -0
  121. package/api/types/WorkflowExecutionResumedEvent.d.ts +15 -0
  122. package/api/types/WorkflowExecutionResumedEvent.js +5 -0
  123. package/api/types/WorkflowExecutionSnapshottedBody.d.ts +8 -0
  124. package/api/types/WorkflowExecutionSnapshottedBody.js +5 -0
  125. package/api/types/WorkflowExecutionSnapshottedEvent.d.ts +15 -0
  126. package/api/types/WorkflowExecutionSnapshottedEvent.js +5 -0
  127. package/api/types/WorkflowExecutionSpan.d.ts +13 -0
  128. package/api/types/WorkflowExecutionSpan.js +5 -0
  129. package/api/types/WorkflowExecutionSpanAttributes.d.ts +6 -0
  130. package/api/types/WorkflowExecutionSpanAttributes.js +5 -0
  131. package/api/types/WorkflowExecutionStreamingBody.d.ts +8 -0
  132. package/api/types/WorkflowExecutionStreamingBody.js +5 -0
  133. package/api/types/WorkflowExecutionStreamingEvent.d.ts +15 -0
  134. package/api/types/WorkflowExecutionStreamingEvent.js +5 -0
  135. package/api/types/WorkflowExecutionUsageCalculationFulfilledBody.d.ts +8 -0
  136. package/api/types/WorkflowExecutionUsageCalculationFulfilledBody.js +5 -0
  137. package/api/types/WorkflowExecutionViewOnlineEvalMetricResult.d.ts +9 -0
  138. package/api/types/WorkflowExecutionViewOnlineEvalMetricResult.js +5 -0
  139. package/api/types/WorkflowInitializationError.d.ts +10 -0
  140. package/api/types/WorkflowInitializationError.js +5 -0
  141. package/api/types/WorkflowParentContext.d.ts +11 -0
  142. package/api/types/WorkflowParentContext.js +5 -0
  143. package/api/types/WorkflowSandboxParentContext.d.ts +13 -0
  144. package/api/types/WorkflowSandboxParentContext.js +5 -0
  145. package/api/types/index.d.ts +61 -0
  146. package/api/types/index.js +61 -0
  147. package/dist/Client.js +11 -11
  148. package/dist/api/resources/adHoc/client/Client.js +1 -1
  149. package/dist/api/resources/containerImages/client/Client.js +4 -4
  150. package/dist/api/resources/deployments/client/Client.js +7 -7
  151. package/dist/api/resources/documentIndexes/client/Client.js +8 -8
  152. package/dist/api/resources/documents/client/Client.js +5 -5
  153. package/dist/api/resources/folderEntities/client/Client.js +2 -2
  154. package/dist/api/resources/metricDefinitions/client/Client.js +2 -2
  155. package/dist/api/resources/mlModels/client/Client.js +1 -1
  156. package/dist/api/resources/organizations/client/Client.js +1 -1
  157. package/dist/api/resources/sandboxes/client/Client.js +3 -3
  158. package/dist/api/resources/testSuiteRuns/client/Client.js +3 -3
  159. package/dist/api/resources/testSuites/client/Client.js +4 -4
  160. package/dist/api/resources/workflowDeployments/client/Client.d.ts +18 -0
  161. package/dist/api/resources/workflowDeployments/client/Client.js +120 -6
  162. package/dist/api/resources/workflowDeployments/client/requests/ListWorkflowDeploymentEventExecutionsRequest.d.ts +18 -0
  163. package/dist/api/resources/workflowDeployments/client/requests/ListWorkflowDeploymentEventExecutionsRequest.js +5 -0
  164. package/dist/api/resources/workflowDeployments/client/requests/index.d.ts +1 -0
  165. package/dist/api/resources/workflowSandboxes/client/Client.js +2 -2
  166. package/dist/api/resources/workflows/client/Client.js +2 -2
  167. package/dist/api/resources/workspaceSecrets/client/Client.js +2 -2
  168. package/dist/api/resources/workspaces/client/Client.js +1 -1
  169. package/dist/api/types/ApiRequestParentContext.d.ts +10 -0
  170. package/dist/api/types/ApiRequestParentContext.js +5 -0
  171. package/dist/api/types/ApiVersionEnum.d.ts +7 -0
  172. package/dist/api/types/ApiVersionEnum.js +5 -0
  173. package/dist/api/types/BaseOutput.d.ts +8 -0
  174. package/dist/api/types/BaseOutput.js +5 -0
  175. package/dist/api/types/CodeResourceDefinition.d.ts +12 -0
  176. package/dist/api/types/CodeResourceDefinition.js +5 -0
  177. package/dist/api/types/ExternalInputDescriptor.d.ts +10 -0
  178. package/dist/api/types/ExternalInputDescriptor.js +5 -0
  179. package/dist/api/types/InvokedPort.d.ts +6 -0
  180. package/dist/api/types/InvokedPort.js +5 -0
  181. package/dist/api/types/MlModelUsageWrapper.d.ts +8 -0
  182. package/dist/api/types/MlModelUsageWrapper.js +5 -0
  183. package/dist/api/types/NodeEventDisplayContext.d.ts +10 -0
  184. package/dist/api/types/NodeEventDisplayContext.js +5 -0
  185. package/dist/api/types/NodeExecutionFulfilledBody.d.ts +10 -0
  186. package/dist/api/types/NodeExecutionFulfilledBody.js +5 -0
  187. package/dist/api/types/NodeExecutionFulfilledEvent.d.ts +15 -0
  188. package/dist/api/types/NodeExecutionFulfilledEvent.js +5 -0
  189. package/dist/api/types/NodeExecutionInitiatedBody.d.ts +8 -0
  190. package/dist/api/types/NodeExecutionInitiatedBody.js +5 -0
  191. package/dist/api/types/NodeExecutionInitiatedEvent.d.ts +15 -0
  192. package/dist/api/types/NodeExecutionInitiatedEvent.js +5 -0
  193. package/dist/api/types/NodeExecutionPausedBody.d.ts +7 -0
  194. package/dist/api/types/NodeExecutionPausedBody.js +5 -0
  195. package/dist/api/types/NodeExecutionPausedEvent.d.ts +15 -0
  196. package/dist/api/types/NodeExecutionPausedEvent.js +5 -0
  197. package/dist/api/types/NodeExecutionRejectedBody.d.ts +8 -0
  198. package/dist/api/types/NodeExecutionRejectedBody.js +5 -0
  199. package/dist/api/types/NodeExecutionRejectedEvent.d.ts +15 -0
  200. package/dist/api/types/NodeExecutionRejectedEvent.js +5 -0
  201. package/dist/api/types/NodeExecutionResumedBody.d.ts +7 -0
  202. package/dist/api/types/NodeExecutionResumedBody.js +5 -0
  203. package/dist/api/types/NodeExecutionResumedEvent.d.ts +15 -0
  204. package/dist/api/types/NodeExecutionResumedEvent.js +5 -0
  205. package/dist/api/types/NodeExecutionSpan.d.ts +13 -0
  206. package/dist/api/types/NodeExecutionSpan.js +5 -0
  207. package/dist/api/types/NodeExecutionSpanAttributes.d.ts +6 -0
  208. package/dist/api/types/NodeExecutionSpanAttributes.js +5 -0
  209. package/dist/api/types/NodeExecutionStreamingBody.d.ts +8 -0
  210. package/dist/api/types/NodeExecutionStreamingBody.js +5 -0
  211. package/dist/api/types/NodeExecutionStreamingEvent.d.ts +15 -0
  212. package/dist/api/types/NodeExecutionStreamingEvent.js +5 -0
  213. package/dist/api/types/NodeParentContext.d.ts +11 -0
  214. package/dist/api/types/NodeParentContext.js +5 -0
  215. package/dist/api/types/ParentContext.d.ts +5 -0
  216. package/dist/api/types/ParentContext.js +5 -0
  217. package/dist/api/types/PromptDeploymentParentContext.d.ts +18 -0
  218. package/dist/api/types/PromptDeploymentParentContext.js +5 -0
  219. package/dist/api/types/SlimWorkflowExecutionRead.d.ts +16 -0
  220. package/dist/api/types/SlimWorkflowExecutionRead.js +5 -0
  221. package/dist/api/types/SpanLink.d.ts +9 -0
  222. package/dist/api/types/SpanLink.js +5 -0
  223. package/dist/api/types/SpanLinkTypeEnum.d.ts +7 -0
  224. package/dist/api/types/SpanLinkTypeEnum.js +5 -0
  225. package/dist/api/types/VellumCodeResourceDefinition.d.ts +9 -0
  226. package/dist/api/types/VellumCodeResourceDefinition.js +5 -0
  227. package/dist/api/types/VellumNodeExecutionEvent.d.ts +5 -0
  228. package/dist/api/types/VellumNodeExecutionEvent.js +5 -0
  229. package/dist/api/types/VellumSdkError.d.ts +8 -0
  230. package/dist/api/types/VellumSdkError.js +5 -0
  231. package/dist/api/types/VellumSdkErrorCodeEnum.d.ts +30 -0
  232. package/dist/api/types/VellumSdkErrorCodeEnum.js +19 -0
  233. package/dist/api/types/VellumSpan.d.ts +5 -0
  234. package/dist/api/types/VellumSpan.js +5 -0
  235. package/dist/api/types/VellumWorkflowExecutionEvent.d.ts +5 -0
  236. package/dist/api/types/VellumWorkflowExecutionEvent.js +5 -0
  237. package/dist/api/types/WorkflowDeploymentEventExecutionsResponse.d.ts +8 -0
  238. package/dist/api/types/WorkflowDeploymentEventExecutionsResponse.js +5 -0
  239. package/dist/api/types/WorkflowDeploymentParentContext.d.ts +18 -0
  240. package/dist/api/types/WorkflowDeploymentParentContext.js +5 -0
  241. package/dist/api/types/WorkflowError.d.ts +5 -0
  242. package/dist/api/types/WorkflowError.js +5 -0
  243. package/dist/api/types/WorkflowEventDisplayContext.d.ts +9 -0
  244. package/dist/api/types/WorkflowEventDisplayContext.js +5 -0
  245. package/dist/api/types/WorkflowEventExecutionRead.d.ts +17 -0
  246. package/dist/api/types/WorkflowEventExecutionRead.js +5 -0
  247. package/dist/api/types/WorkflowExecutionActual.d.ts +10 -0
  248. package/dist/api/types/WorkflowExecutionActual.js +5 -0
  249. package/dist/api/types/WorkflowExecutionFulfilledBody.d.ts +8 -0
  250. package/dist/api/types/WorkflowExecutionFulfilledBody.js +5 -0
  251. package/dist/api/types/WorkflowExecutionFulfilledEvent.d.ts +15 -0
  252. package/dist/api/types/WorkflowExecutionFulfilledEvent.js +5 -0
  253. package/dist/api/types/WorkflowExecutionInitiatedBody.d.ts +9 -0
  254. package/dist/api/types/WorkflowExecutionInitiatedBody.js +5 -0
  255. package/dist/api/types/WorkflowExecutionInitiatedEvent.d.ts +15 -0
  256. package/dist/api/types/WorkflowExecutionInitiatedEvent.js +5 -0
  257. package/dist/api/types/WorkflowExecutionPausedBody.d.ts +8 -0
  258. package/dist/api/types/WorkflowExecutionPausedBody.js +5 -0
  259. package/dist/api/types/WorkflowExecutionPausedEvent.d.ts +15 -0
  260. package/dist/api/types/WorkflowExecutionPausedEvent.js +5 -0
  261. package/dist/api/types/WorkflowExecutionRejectedBody.d.ts +8 -0
  262. package/dist/api/types/WorkflowExecutionRejectedBody.js +5 -0
  263. package/dist/api/types/WorkflowExecutionRejectedEvent.d.ts +15 -0
  264. package/dist/api/types/WorkflowExecutionRejectedEvent.js +5 -0
  265. package/dist/api/types/WorkflowExecutionResumedBody.d.ts +7 -0
  266. package/dist/api/types/WorkflowExecutionResumedBody.js +5 -0
  267. package/dist/api/types/WorkflowExecutionResumedEvent.d.ts +15 -0
  268. package/dist/api/types/WorkflowExecutionResumedEvent.js +5 -0
  269. package/dist/api/types/WorkflowExecutionSnapshottedBody.d.ts +8 -0
  270. package/dist/api/types/WorkflowExecutionSnapshottedBody.js +5 -0
  271. package/dist/api/types/WorkflowExecutionSnapshottedEvent.d.ts +15 -0
  272. package/dist/api/types/WorkflowExecutionSnapshottedEvent.js +5 -0
  273. package/dist/api/types/WorkflowExecutionSpan.d.ts +13 -0
  274. package/dist/api/types/WorkflowExecutionSpan.js +5 -0
  275. package/dist/api/types/WorkflowExecutionSpanAttributes.d.ts +6 -0
  276. package/dist/api/types/WorkflowExecutionSpanAttributes.js +5 -0
  277. package/dist/api/types/WorkflowExecutionStreamingBody.d.ts +8 -0
  278. package/dist/api/types/WorkflowExecutionStreamingBody.js +5 -0
  279. package/dist/api/types/WorkflowExecutionStreamingEvent.d.ts +15 -0
  280. package/dist/api/types/WorkflowExecutionStreamingEvent.js +5 -0
  281. package/dist/api/types/WorkflowExecutionUsageCalculationFulfilledBody.d.ts +8 -0
  282. package/dist/api/types/WorkflowExecutionUsageCalculationFulfilledBody.js +5 -0
  283. package/dist/api/types/WorkflowExecutionViewOnlineEvalMetricResult.d.ts +9 -0
  284. package/dist/api/types/WorkflowExecutionViewOnlineEvalMetricResult.js +5 -0
  285. package/dist/api/types/WorkflowInitializationError.d.ts +10 -0
  286. package/dist/api/types/WorkflowInitializationError.js +5 -0
  287. package/dist/api/types/WorkflowParentContext.d.ts +11 -0
  288. package/dist/api/types/WorkflowParentContext.js +5 -0
  289. package/dist/api/types/WorkflowSandboxParentContext.d.ts +13 -0
  290. package/dist/api/types/WorkflowSandboxParentContext.js +5 -0
  291. package/dist/api/types/index.d.ts +61 -0
  292. package/dist/api/types/index.js +61 -0
  293. package/dist/serialization/types/ApiRequestParentContext.d.ts +15 -0
  294. package/dist/serialization/types/ApiRequestParentContext.js +47 -0
  295. package/dist/serialization/types/ApiVersionEnum.d.ts +10 -0
  296. package/dist/serialization/types/ApiVersionEnum.js +41 -0
  297. package/dist/serialization/types/BaseOutput.d.ts +14 -0
  298. package/dist/serialization/types/BaseOutput.js +45 -0
  299. package/dist/serialization/types/CodeResourceDefinition.d.ts +13 -0
  300. package/dist/serialization/types/CodeResourceDefinition.js +44 -0
  301. package/dist/serialization/types/ExternalInputDescriptor.d.ts +16 -0
  302. package/dist/serialization/types/ExternalInputDescriptor.js +47 -0
  303. package/dist/serialization/types/InvokedPort.d.ts +12 -0
  304. package/dist/serialization/types/InvokedPort.js +43 -0
  305. package/dist/serialization/types/MlModelUsageWrapper.d.ts +14 -0
  306. package/dist/serialization/types/MlModelUsageWrapper.js +45 -0
  307. package/dist/serialization/types/NodeEventDisplayContext.d.ts +15 -0
  308. package/dist/serialization/types/NodeEventDisplayContext.js +47 -0
  309. package/dist/serialization/types/NodeExecutionFulfilledBody.d.ts +17 -0
  310. package/dist/serialization/types/NodeExecutionFulfilledBody.js +48 -0
  311. package/dist/serialization/types/NodeExecutionFulfilledEvent.d.ts +22 -0
  312. package/dist/serialization/types/NodeExecutionFulfilledEvent.js +54 -0
  313. package/dist/serialization/types/NodeExecutionInitiatedBody.d.ts +14 -0
  314. package/dist/serialization/types/NodeExecutionInitiatedBody.js +45 -0
  315. package/dist/serialization/types/NodeExecutionInitiatedEvent.d.ts +22 -0
  316. package/dist/serialization/types/NodeExecutionInitiatedEvent.js +54 -0
  317. package/dist/serialization/types/NodeExecutionPausedBody.d.ts +13 -0
  318. package/dist/serialization/types/NodeExecutionPausedBody.js +44 -0
  319. package/dist/serialization/types/NodeExecutionPausedEvent.d.ts +22 -0
  320. package/dist/serialization/types/NodeExecutionPausedEvent.js +54 -0
  321. package/dist/serialization/types/NodeExecutionRejectedBody.d.ts +15 -0
  322. package/dist/serialization/types/NodeExecutionRejectedBody.js +46 -0
  323. package/dist/serialization/types/NodeExecutionRejectedEvent.d.ts +22 -0
  324. package/dist/serialization/types/NodeExecutionRejectedEvent.js +54 -0
  325. package/dist/serialization/types/NodeExecutionResumedBody.d.ts +13 -0
  326. package/dist/serialization/types/NodeExecutionResumedBody.js +44 -0
  327. package/dist/serialization/types/NodeExecutionResumedEvent.d.ts +22 -0
  328. package/dist/serialization/types/NodeExecutionResumedEvent.js +54 -0
  329. package/dist/serialization/types/NodeExecutionSpan.d.ts +20 -0
  330. package/dist/serialization/types/NodeExecutionSpan.js +51 -0
  331. package/dist/serialization/types/NodeExecutionSpanAttributes.d.ts +12 -0
  332. package/dist/serialization/types/NodeExecutionSpanAttributes.js +43 -0
  333. package/dist/serialization/types/NodeExecutionStreamingBody.d.ts +15 -0
  334. package/dist/serialization/types/NodeExecutionStreamingBody.js +46 -0
  335. package/dist/serialization/types/NodeExecutionStreamingEvent.d.ts +22 -0
  336. package/dist/serialization/types/NodeExecutionStreamingEvent.js +54 -0
  337. package/dist/serialization/types/NodeParentContext.d.ts +17 -0
  338. package/dist/serialization/types/NodeParentContext.js +49 -0
  339. package/dist/serialization/types/ParentContext.d.ts +10 -0
  340. package/dist/serialization/types/ParentContext.js +49 -0
  341. package/dist/serialization/types/PromptDeploymentParentContext.d.ts +23 -0
  342. package/dist/serialization/types/PromptDeploymentParentContext.js +55 -0
  343. package/dist/serialization/types/SlimWorkflowExecutionRead.d.ts +26 -0
  344. package/dist/serialization/types/SlimWorkflowExecutionRead.js +58 -0
  345. package/dist/serialization/types/SpanLink.d.ts +15 -0
  346. package/dist/serialization/types/SpanLink.js +47 -0
  347. package/dist/serialization/types/SpanLinkTypeEnum.d.ts +10 -0
  348. package/dist/serialization/types/SpanLinkTypeEnum.js +41 -0
  349. package/dist/serialization/types/VellumCodeResourceDefinition.d.ts +14 -0
  350. package/dist/serialization/types/VellumCodeResourceDefinition.js +45 -0
  351. package/dist/serialization/types/VellumNodeExecutionEvent.d.ts +16 -0
  352. package/dist/serialization/types/VellumNodeExecutionEvent.js +54 -0
  353. package/dist/serialization/types/VellumSdkError.d.ts +14 -0
  354. package/dist/serialization/types/VellumSdkError.js +45 -0
  355. package/dist/serialization/types/VellumSdkErrorCodeEnum.d.ts +10 -0
  356. package/dist/serialization/types/VellumSdkErrorCodeEnum.js +53 -0
  357. package/dist/serialization/types/VellumSpan.d.ts +12 -0
  358. package/dist/serialization/types/VellumSpan.js +43 -0
  359. package/dist/serialization/types/VellumWorkflowExecutionEvent.d.ts +17 -0
  360. package/dist/serialization/types/VellumWorkflowExecutionEvent.js +56 -0
  361. package/dist/serialization/types/WorkflowDeploymentEventExecutionsResponse.d.ts +14 -0
  362. package/dist/serialization/types/WorkflowDeploymentEventExecutionsResponse.js +45 -0
  363. package/dist/serialization/types/WorkflowDeploymentParentContext.d.ts +23 -0
  364. package/dist/serialization/types/WorkflowDeploymentParentContext.js +55 -0
  365. package/dist/serialization/types/WorkflowError.d.ts +12 -0
  366. package/dist/serialization/types/WorkflowError.js +43 -0
  367. package/dist/serialization/types/WorkflowEventDisplayContext.d.ts +14 -0
  368. package/dist/serialization/types/WorkflowEventDisplayContext.js +46 -0
  369. package/dist/serialization/types/WorkflowEventExecutionRead.d.ts +28 -0
  370. package/dist/serialization/types/WorkflowEventExecutionRead.js +60 -0
  371. package/dist/serialization/types/WorkflowExecutionActual.d.ts +16 -0
  372. package/dist/serialization/types/WorkflowExecutionActual.js +47 -0
  373. package/dist/serialization/types/WorkflowExecutionFulfilledBody.d.ts +14 -0
  374. package/dist/serialization/types/WorkflowExecutionFulfilledBody.js +45 -0
  375. package/dist/serialization/types/WorkflowExecutionFulfilledEvent.d.ts +22 -0
  376. package/dist/serialization/types/WorkflowExecutionFulfilledEvent.js +54 -0
  377. package/dist/serialization/types/WorkflowExecutionInitiatedBody.d.ts +15 -0
  378. package/dist/serialization/types/WorkflowExecutionInitiatedBody.js +47 -0
  379. package/dist/serialization/types/WorkflowExecutionInitiatedEvent.d.ts +22 -0
  380. package/dist/serialization/types/WorkflowExecutionInitiatedEvent.js +54 -0
  381. package/dist/serialization/types/WorkflowExecutionPausedBody.d.ts +15 -0
  382. package/dist/serialization/types/WorkflowExecutionPausedBody.js +46 -0
  383. package/dist/serialization/types/WorkflowExecutionPausedEvent.d.ts +22 -0
  384. package/dist/serialization/types/WorkflowExecutionPausedEvent.js +54 -0
  385. package/dist/serialization/types/WorkflowExecutionRejectedBody.d.ts +15 -0
  386. package/dist/serialization/types/WorkflowExecutionRejectedBody.js +46 -0
  387. package/dist/serialization/types/WorkflowExecutionRejectedEvent.d.ts +22 -0
  388. package/dist/serialization/types/WorkflowExecutionRejectedEvent.js +54 -0
  389. package/dist/serialization/types/WorkflowExecutionResumedBody.d.ts +13 -0
  390. package/dist/serialization/types/WorkflowExecutionResumedBody.js +44 -0
  391. package/dist/serialization/types/WorkflowExecutionResumedEvent.d.ts +22 -0
  392. package/dist/serialization/types/WorkflowExecutionResumedEvent.js +54 -0
  393. package/dist/serialization/types/WorkflowExecutionSnapshottedBody.d.ts +14 -0
  394. package/dist/serialization/types/WorkflowExecutionSnapshottedBody.js +45 -0
  395. package/dist/serialization/types/WorkflowExecutionSnapshottedEvent.d.ts +22 -0
  396. package/dist/serialization/types/WorkflowExecutionSnapshottedEvent.js +54 -0
  397. package/dist/serialization/types/WorkflowExecutionSpan.d.ts +20 -0
  398. package/dist/serialization/types/WorkflowExecutionSpan.js +51 -0
  399. package/dist/serialization/types/WorkflowExecutionSpanAttributes.d.ts +12 -0
  400. package/dist/serialization/types/WorkflowExecutionSpanAttributes.js +43 -0
  401. package/dist/serialization/types/WorkflowExecutionStreamingBody.d.ts +15 -0
  402. package/dist/serialization/types/WorkflowExecutionStreamingBody.js +46 -0
  403. package/dist/serialization/types/WorkflowExecutionStreamingEvent.d.ts +22 -0
  404. package/dist/serialization/types/WorkflowExecutionStreamingEvent.js +54 -0
  405. package/dist/serialization/types/WorkflowExecutionUsageCalculationFulfilledBody.d.ts +15 -0
  406. package/dist/serialization/types/WorkflowExecutionUsageCalculationFulfilledBody.js +46 -0
  407. package/dist/serialization/types/WorkflowExecutionViewOnlineEvalMetricResult.d.ts +15 -0
  408. package/dist/serialization/types/WorkflowExecutionViewOnlineEvalMetricResult.js +46 -0
  409. package/dist/serialization/types/WorkflowInitializationError.d.ts +13 -0
  410. package/dist/serialization/types/WorkflowInitializationError.js +44 -0
  411. package/dist/serialization/types/WorkflowParentContext.d.ts +17 -0
  412. package/dist/serialization/types/WorkflowParentContext.js +49 -0
  413. package/dist/serialization/types/WorkflowSandboxParentContext.d.ts +18 -0
  414. package/dist/serialization/types/WorkflowSandboxParentContext.js +50 -0
  415. package/dist/serialization/types/index.d.ts +61 -0
  416. package/dist/serialization/types/index.js +61 -0
  417. package/dist/version.d.ts +1 -1
  418. package/dist/version.js +1 -1
  419. package/package.json +1 -1
  420. package/reference.md +112 -0
  421. package/serialization/types/ApiRequestParentContext.d.ts +15 -0
  422. package/serialization/types/ApiRequestParentContext.js +47 -0
  423. package/serialization/types/ApiVersionEnum.d.ts +10 -0
  424. package/serialization/types/ApiVersionEnum.js +41 -0
  425. package/serialization/types/BaseOutput.d.ts +14 -0
  426. package/serialization/types/BaseOutput.js +45 -0
  427. package/serialization/types/CodeResourceDefinition.d.ts +13 -0
  428. package/serialization/types/CodeResourceDefinition.js +44 -0
  429. package/serialization/types/ExternalInputDescriptor.d.ts +16 -0
  430. package/serialization/types/ExternalInputDescriptor.js +47 -0
  431. package/serialization/types/InvokedPort.d.ts +12 -0
  432. package/serialization/types/InvokedPort.js +43 -0
  433. package/serialization/types/MlModelUsageWrapper.d.ts +14 -0
  434. package/serialization/types/MlModelUsageWrapper.js +45 -0
  435. package/serialization/types/NodeEventDisplayContext.d.ts +15 -0
  436. package/serialization/types/NodeEventDisplayContext.js +47 -0
  437. package/serialization/types/NodeExecutionFulfilledBody.d.ts +17 -0
  438. package/serialization/types/NodeExecutionFulfilledBody.js +48 -0
  439. package/serialization/types/NodeExecutionFulfilledEvent.d.ts +22 -0
  440. package/serialization/types/NodeExecutionFulfilledEvent.js +54 -0
  441. package/serialization/types/NodeExecutionInitiatedBody.d.ts +14 -0
  442. package/serialization/types/NodeExecutionInitiatedBody.js +45 -0
  443. package/serialization/types/NodeExecutionInitiatedEvent.d.ts +22 -0
  444. package/serialization/types/NodeExecutionInitiatedEvent.js +54 -0
  445. package/serialization/types/NodeExecutionPausedBody.d.ts +13 -0
  446. package/serialization/types/NodeExecutionPausedBody.js +44 -0
  447. package/serialization/types/NodeExecutionPausedEvent.d.ts +22 -0
  448. package/serialization/types/NodeExecutionPausedEvent.js +54 -0
  449. package/serialization/types/NodeExecutionRejectedBody.d.ts +15 -0
  450. package/serialization/types/NodeExecutionRejectedBody.js +46 -0
  451. package/serialization/types/NodeExecutionRejectedEvent.d.ts +22 -0
  452. package/serialization/types/NodeExecutionRejectedEvent.js +54 -0
  453. package/serialization/types/NodeExecutionResumedBody.d.ts +13 -0
  454. package/serialization/types/NodeExecutionResumedBody.js +44 -0
  455. package/serialization/types/NodeExecutionResumedEvent.d.ts +22 -0
  456. package/serialization/types/NodeExecutionResumedEvent.js +54 -0
  457. package/serialization/types/NodeExecutionSpan.d.ts +20 -0
  458. package/serialization/types/NodeExecutionSpan.js +51 -0
  459. package/serialization/types/NodeExecutionSpanAttributes.d.ts +12 -0
  460. package/serialization/types/NodeExecutionSpanAttributes.js +43 -0
  461. package/serialization/types/NodeExecutionStreamingBody.d.ts +15 -0
  462. package/serialization/types/NodeExecutionStreamingBody.js +46 -0
  463. package/serialization/types/NodeExecutionStreamingEvent.d.ts +22 -0
  464. package/serialization/types/NodeExecutionStreamingEvent.js +54 -0
  465. package/serialization/types/NodeParentContext.d.ts +17 -0
  466. package/serialization/types/NodeParentContext.js +49 -0
  467. package/serialization/types/ParentContext.d.ts +10 -0
  468. package/serialization/types/ParentContext.js +49 -0
  469. package/serialization/types/PromptDeploymentParentContext.d.ts +23 -0
  470. package/serialization/types/PromptDeploymentParentContext.js +55 -0
  471. package/serialization/types/SlimWorkflowExecutionRead.d.ts +26 -0
  472. package/serialization/types/SlimWorkflowExecutionRead.js +58 -0
  473. package/serialization/types/SpanLink.d.ts +15 -0
  474. package/serialization/types/SpanLink.js +47 -0
  475. package/serialization/types/SpanLinkTypeEnum.d.ts +10 -0
  476. package/serialization/types/SpanLinkTypeEnum.js +41 -0
  477. package/serialization/types/VellumCodeResourceDefinition.d.ts +14 -0
  478. package/serialization/types/VellumCodeResourceDefinition.js +45 -0
  479. package/serialization/types/VellumNodeExecutionEvent.d.ts +16 -0
  480. package/serialization/types/VellumNodeExecutionEvent.js +54 -0
  481. package/serialization/types/VellumSdkError.d.ts +14 -0
  482. package/serialization/types/VellumSdkError.js +45 -0
  483. package/serialization/types/VellumSdkErrorCodeEnum.d.ts +10 -0
  484. package/serialization/types/VellumSdkErrorCodeEnum.js +53 -0
  485. package/serialization/types/VellumSpan.d.ts +12 -0
  486. package/serialization/types/VellumSpan.js +43 -0
  487. package/serialization/types/VellumWorkflowExecutionEvent.d.ts +17 -0
  488. package/serialization/types/VellumWorkflowExecutionEvent.js +56 -0
  489. package/serialization/types/WorkflowDeploymentEventExecutionsResponse.d.ts +14 -0
  490. package/serialization/types/WorkflowDeploymentEventExecutionsResponse.js +45 -0
  491. package/serialization/types/WorkflowDeploymentParentContext.d.ts +23 -0
  492. package/serialization/types/WorkflowDeploymentParentContext.js +55 -0
  493. package/serialization/types/WorkflowError.d.ts +12 -0
  494. package/serialization/types/WorkflowError.js +43 -0
  495. package/serialization/types/WorkflowEventDisplayContext.d.ts +14 -0
  496. package/serialization/types/WorkflowEventDisplayContext.js +46 -0
  497. package/serialization/types/WorkflowEventExecutionRead.d.ts +28 -0
  498. package/serialization/types/WorkflowEventExecutionRead.js +60 -0
  499. package/serialization/types/WorkflowExecutionActual.d.ts +16 -0
  500. package/serialization/types/WorkflowExecutionActual.js +47 -0
  501. package/serialization/types/WorkflowExecutionFulfilledBody.d.ts +14 -0
  502. package/serialization/types/WorkflowExecutionFulfilledBody.js +45 -0
  503. package/serialization/types/WorkflowExecutionFulfilledEvent.d.ts +22 -0
  504. package/serialization/types/WorkflowExecutionFulfilledEvent.js +54 -0
  505. package/serialization/types/WorkflowExecutionInitiatedBody.d.ts +15 -0
  506. package/serialization/types/WorkflowExecutionInitiatedBody.js +47 -0
  507. package/serialization/types/WorkflowExecutionInitiatedEvent.d.ts +22 -0
  508. package/serialization/types/WorkflowExecutionInitiatedEvent.js +54 -0
  509. package/serialization/types/WorkflowExecutionPausedBody.d.ts +15 -0
  510. package/serialization/types/WorkflowExecutionPausedBody.js +46 -0
  511. package/serialization/types/WorkflowExecutionPausedEvent.d.ts +22 -0
  512. package/serialization/types/WorkflowExecutionPausedEvent.js +54 -0
  513. package/serialization/types/WorkflowExecutionRejectedBody.d.ts +15 -0
  514. package/serialization/types/WorkflowExecutionRejectedBody.js +46 -0
  515. package/serialization/types/WorkflowExecutionRejectedEvent.d.ts +22 -0
  516. package/serialization/types/WorkflowExecutionRejectedEvent.js +54 -0
  517. package/serialization/types/WorkflowExecutionResumedBody.d.ts +13 -0
  518. package/serialization/types/WorkflowExecutionResumedBody.js +44 -0
  519. package/serialization/types/WorkflowExecutionResumedEvent.d.ts +22 -0
  520. package/serialization/types/WorkflowExecutionResumedEvent.js +54 -0
  521. package/serialization/types/WorkflowExecutionSnapshottedBody.d.ts +14 -0
  522. package/serialization/types/WorkflowExecutionSnapshottedBody.js +45 -0
  523. package/serialization/types/WorkflowExecutionSnapshottedEvent.d.ts +22 -0
  524. package/serialization/types/WorkflowExecutionSnapshottedEvent.js +54 -0
  525. package/serialization/types/WorkflowExecutionSpan.d.ts +20 -0
  526. package/serialization/types/WorkflowExecutionSpan.js +51 -0
  527. package/serialization/types/WorkflowExecutionSpanAttributes.d.ts +12 -0
  528. package/serialization/types/WorkflowExecutionSpanAttributes.js +43 -0
  529. package/serialization/types/WorkflowExecutionStreamingBody.d.ts +15 -0
  530. package/serialization/types/WorkflowExecutionStreamingBody.js +46 -0
  531. package/serialization/types/WorkflowExecutionStreamingEvent.d.ts +22 -0
  532. package/serialization/types/WorkflowExecutionStreamingEvent.js +54 -0
  533. package/serialization/types/WorkflowExecutionUsageCalculationFulfilledBody.d.ts +15 -0
  534. package/serialization/types/WorkflowExecutionUsageCalculationFulfilledBody.js +46 -0
  535. package/serialization/types/WorkflowExecutionViewOnlineEvalMetricResult.d.ts +15 -0
  536. package/serialization/types/WorkflowExecutionViewOnlineEvalMetricResult.js +46 -0
  537. package/serialization/types/WorkflowInitializationError.d.ts +13 -0
  538. package/serialization/types/WorkflowInitializationError.js +44 -0
  539. package/serialization/types/WorkflowParentContext.d.ts +17 -0
  540. package/serialization/types/WorkflowParentContext.js +49 -0
  541. package/serialization/types/WorkflowSandboxParentContext.d.ts +18 -0
  542. package/serialization/types/WorkflowSandboxParentContext.js +50 -0
  543. package/serialization/types/index.d.ts +61 -0
  544. package/serialization/types/index.js +61 -0
  545. package/version.d.ts +1 -1
  546. package/version.js +1 -1
@@ -0,0 +1,44 @@
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 () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.WorkflowExecutionResumedBody = void 0;
40
+ const core = __importStar(require("../../core"));
41
+ const VellumCodeResourceDefinition_1 = require("./VellumCodeResourceDefinition");
42
+ exports.WorkflowExecutionResumedBody = core.serialization.object({
43
+ workflowDefinition: core.serialization.property("workflow_definition", VellumCodeResourceDefinition_1.VellumCodeResourceDefinition),
44
+ });
@@ -0,0 +1,22 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index";
5
+ import * as Vellum from "../../api/index";
6
+ import * as core from "../../core";
7
+ import { WorkflowExecutionResumedBody } from "./WorkflowExecutionResumedBody";
8
+ import { ApiVersionEnum } from "./ApiVersionEnum";
9
+ export declare const WorkflowExecutionResumedEvent: core.serialization.ObjectSchema<serializers.WorkflowExecutionResumedEvent.Raw, Vellum.WorkflowExecutionResumedEvent>;
10
+ export declare namespace WorkflowExecutionResumedEvent {
11
+ interface Raw {
12
+ parent?: serializers.ParentContext.Raw | null;
13
+ links?: serializers.SpanLink.Raw[] | null;
14
+ name: "workflow.execution.resumed";
15
+ body: WorkflowExecutionResumedBody.Raw;
16
+ id: string;
17
+ timestamp: string;
18
+ api_version?: ApiVersionEnum.Raw | null;
19
+ trace_id: string;
20
+ span_id: string;
21
+ }
22
+ }
@@ -0,0 +1,54 @@
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 () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.WorkflowExecutionResumedEvent = void 0;
40
+ const serializers = __importStar(require("../index"));
41
+ const core = __importStar(require("../../core"));
42
+ const WorkflowExecutionResumedBody_1 = require("./WorkflowExecutionResumedBody");
43
+ const ApiVersionEnum_1 = require("./ApiVersionEnum");
44
+ exports.WorkflowExecutionResumedEvent = core.serialization.object({
45
+ parent: core.serialization.lazy(() => serializers.ParentContext).optional(),
46
+ links: core.serialization.list(core.serialization.lazyObject(() => serializers.SpanLink)).optional(),
47
+ name: core.serialization.stringLiteral("workflow.execution.resumed"),
48
+ body: WorkflowExecutionResumedBody_1.WorkflowExecutionResumedBody,
49
+ id: core.serialization.string(),
50
+ timestamp: core.serialization.date(),
51
+ apiVersion: core.serialization.property("api_version", ApiVersionEnum_1.ApiVersionEnum.optional()),
52
+ traceId: core.serialization.property("trace_id", core.serialization.string()),
53
+ spanId: core.serialization.property("span_id", core.serialization.string()),
54
+ });
@@ -0,0 +1,14 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index";
5
+ import * as Vellum from "../../api/index";
6
+ import * as core from "../../core";
7
+ import { VellumCodeResourceDefinition } from "./VellumCodeResourceDefinition";
8
+ export declare const WorkflowExecutionSnapshottedBody: core.serialization.ObjectSchema<serializers.WorkflowExecutionSnapshottedBody.Raw, Vellum.WorkflowExecutionSnapshottedBody>;
9
+ export declare namespace WorkflowExecutionSnapshottedBody {
10
+ interface Raw {
11
+ workflow_definition: VellumCodeResourceDefinition.Raw;
12
+ state: Record<string, unknown>;
13
+ }
14
+ }
@@ -0,0 +1,45 @@
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 () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.WorkflowExecutionSnapshottedBody = void 0;
40
+ const core = __importStar(require("../../core"));
41
+ const VellumCodeResourceDefinition_1 = require("./VellumCodeResourceDefinition");
42
+ exports.WorkflowExecutionSnapshottedBody = core.serialization.object({
43
+ workflowDefinition: core.serialization.property("workflow_definition", VellumCodeResourceDefinition_1.VellumCodeResourceDefinition),
44
+ state: core.serialization.record(core.serialization.string(), core.serialization.unknown()),
45
+ });
@@ -0,0 +1,22 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index";
5
+ import * as Vellum from "../../api/index";
6
+ import * as core from "../../core";
7
+ import { WorkflowExecutionSnapshottedBody } from "./WorkflowExecutionSnapshottedBody";
8
+ import { ApiVersionEnum } from "./ApiVersionEnum";
9
+ export declare const WorkflowExecutionSnapshottedEvent: core.serialization.ObjectSchema<serializers.WorkflowExecutionSnapshottedEvent.Raw, Vellum.WorkflowExecutionSnapshottedEvent>;
10
+ export declare namespace WorkflowExecutionSnapshottedEvent {
11
+ interface Raw {
12
+ parent?: serializers.ParentContext.Raw | null;
13
+ links?: serializers.SpanLink.Raw[] | null;
14
+ name: "workflow.execution.snapshotted";
15
+ body: WorkflowExecutionSnapshottedBody.Raw;
16
+ id: string;
17
+ timestamp: string;
18
+ api_version?: ApiVersionEnum.Raw | null;
19
+ trace_id: string;
20
+ span_id: string;
21
+ }
22
+ }
@@ -0,0 +1,54 @@
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 () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.WorkflowExecutionSnapshottedEvent = void 0;
40
+ const serializers = __importStar(require("../index"));
41
+ const core = __importStar(require("../../core"));
42
+ const WorkflowExecutionSnapshottedBody_1 = require("./WorkflowExecutionSnapshottedBody");
43
+ const ApiVersionEnum_1 = require("./ApiVersionEnum");
44
+ exports.WorkflowExecutionSnapshottedEvent = core.serialization.object({
45
+ parent: core.serialization.lazy(() => serializers.ParentContext).optional(),
46
+ links: core.serialization.list(core.serialization.lazyObject(() => serializers.SpanLink)).optional(),
47
+ name: core.serialization.stringLiteral("workflow.execution.snapshotted"),
48
+ body: WorkflowExecutionSnapshottedBody_1.WorkflowExecutionSnapshottedBody,
49
+ id: core.serialization.string(),
50
+ timestamp: core.serialization.date(),
51
+ apiVersion: core.serialization.property("api_version", ApiVersionEnum_1.ApiVersionEnum.optional()),
52
+ traceId: core.serialization.property("trace_id", core.serialization.string()),
53
+ spanId: core.serialization.property("span_id", core.serialization.string()),
54
+ });
@@ -0,0 +1,20 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index";
5
+ import * as Vellum from "../../api/index";
6
+ import * as core from "../../core";
7
+ import { VellumWorkflowExecutionEvent } from "./VellumWorkflowExecutionEvent";
8
+ import { WorkflowExecutionSpanAttributes } from "./WorkflowExecutionSpanAttributes";
9
+ export declare const WorkflowExecutionSpan: core.serialization.ObjectSchema<serializers.WorkflowExecutionSpan.Raw, Vellum.WorkflowExecutionSpan>;
10
+ export declare namespace WorkflowExecutionSpan {
11
+ interface Raw {
12
+ name: "workflow.execution";
13
+ events: VellumWorkflowExecutionEvent.Raw[];
14
+ attributes: WorkflowExecutionSpanAttributes.Raw;
15
+ span_id: string;
16
+ start_ts: string;
17
+ end_ts: string;
18
+ parent_span_id?: string | null;
19
+ }
20
+ }
@@ -0,0 +1,51 @@
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 () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.WorkflowExecutionSpan = void 0;
40
+ const core = __importStar(require("../../core"));
41
+ const VellumWorkflowExecutionEvent_1 = require("./VellumWorkflowExecutionEvent");
42
+ const WorkflowExecutionSpanAttributes_1 = require("./WorkflowExecutionSpanAttributes");
43
+ exports.WorkflowExecutionSpan = core.serialization.object({
44
+ name: core.serialization.stringLiteral("workflow.execution"),
45
+ events: core.serialization.list(VellumWorkflowExecutionEvent_1.VellumWorkflowExecutionEvent),
46
+ attributes: WorkflowExecutionSpanAttributes_1.WorkflowExecutionSpanAttributes,
47
+ spanId: core.serialization.property("span_id", core.serialization.string()),
48
+ startTs: core.serialization.property("start_ts", core.serialization.date()),
49
+ endTs: core.serialization.property("end_ts", core.serialization.date()),
50
+ parentSpanId: core.serialization.property("parent_span_id", core.serialization.string().optional()),
51
+ });
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index";
5
+ import * as Vellum from "../../api/index";
6
+ import * as core from "../../core";
7
+ export declare const WorkflowExecutionSpanAttributes: core.serialization.ObjectSchema<serializers.WorkflowExecutionSpanAttributes.Raw, Vellum.WorkflowExecutionSpanAttributes>;
8
+ export declare namespace WorkflowExecutionSpanAttributes {
9
+ interface Raw {
10
+ label: string;
11
+ }
12
+ }
@@ -0,0 +1,43 @@
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 () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.WorkflowExecutionSpanAttributes = void 0;
40
+ const core = __importStar(require("../../core"));
41
+ exports.WorkflowExecutionSpanAttributes = core.serialization.object({
42
+ label: core.serialization.string(),
43
+ });
@@ -0,0 +1,15 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index";
5
+ import * as Vellum from "../../api/index";
6
+ import * as core from "../../core";
7
+ import { VellumCodeResourceDefinition } from "./VellumCodeResourceDefinition";
8
+ import { BaseOutput } from "./BaseOutput";
9
+ export declare const WorkflowExecutionStreamingBody: core.serialization.ObjectSchema<serializers.WorkflowExecutionStreamingBody.Raw, Vellum.WorkflowExecutionStreamingBody>;
10
+ export declare namespace WorkflowExecutionStreamingBody {
11
+ interface Raw {
12
+ workflow_definition: VellumCodeResourceDefinition.Raw;
13
+ output: BaseOutput.Raw;
14
+ }
15
+ }
@@ -0,0 +1,46 @@
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 () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.WorkflowExecutionStreamingBody = void 0;
40
+ const core = __importStar(require("../../core"));
41
+ const VellumCodeResourceDefinition_1 = require("./VellumCodeResourceDefinition");
42
+ const BaseOutput_1 = require("./BaseOutput");
43
+ exports.WorkflowExecutionStreamingBody = core.serialization.object({
44
+ workflowDefinition: core.serialization.property("workflow_definition", VellumCodeResourceDefinition_1.VellumCodeResourceDefinition),
45
+ output: BaseOutput_1.BaseOutput,
46
+ });
@@ -0,0 +1,22 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index";
5
+ import * as Vellum from "../../api/index";
6
+ import * as core from "../../core";
7
+ import { WorkflowExecutionStreamingBody } from "./WorkflowExecutionStreamingBody";
8
+ import { ApiVersionEnum } from "./ApiVersionEnum";
9
+ export declare const WorkflowExecutionStreamingEvent: core.serialization.ObjectSchema<serializers.WorkflowExecutionStreamingEvent.Raw, Vellum.WorkflowExecutionStreamingEvent>;
10
+ export declare namespace WorkflowExecutionStreamingEvent {
11
+ interface Raw {
12
+ parent?: serializers.ParentContext.Raw | null;
13
+ links?: serializers.SpanLink.Raw[] | null;
14
+ name: "workflow.execution.streaming";
15
+ body: WorkflowExecutionStreamingBody.Raw;
16
+ id: string;
17
+ timestamp: string;
18
+ api_version?: ApiVersionEnum.Raw | null;
19
+ trace_id: string;
20
+ span_id: string;
21
+ }
22
+ }
@@ -0,0 +1,54 @@
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 () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.WorkflowExecutionStreamingEvent = void 0;
40
+ const serializers = __importStar(require("../index"));
41
+ const core = __importStar(require("../../core"));
42
+ const WorkflowExecutionStreamingBody_1 = require("./WorkflowExecutionStreamingBody");
43
+ const ApiVersionEnum_1 = require("./ApiVersionEnum");
44
+ exports.WorkflowExecutionStreamingEvent = core.serialization.object({
45
+ parent: core.serialization.lazy(() => serializers.ParentContext).optional(),
46
+ links: core.serialization.list(core.serialization.lazyObject(() => serializers.SpanLink)).optional(),
47
+ name: core.serialization.stringLiteral("workflow.execution.streaming"),
48
+ body: WorkflowExecutionStreamingBody_1.WorkflowExecutionStreamingBody,
49
+ id: core.serialization.string(),
50
+ timestamp: core.serialization.date(),
51
+ apiVersion: core.serialization.property("api_version", ApiVersionEnum_1.ApiVersionEnum.optional()),
52
+ traceId: core.serialization.property("trace_id", core.serialization.string()),
53
+ spanId: core.serialization.property("span_id", core.serialization.string()),
54
+ });
@@ -0,0 +1,15 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index";
5
+ import * as Vellum from "../../api/index";
6
+ import * as core from "../../core";
7
+ import { MlModelUsageWrapper } from "./MlModelUsageWrapper";
8
+ import { Price } from "./Price";
9
+ export declare const WorkflowExecutionUsageCalculationFulfilledBody: core.serialization.ObjectSchema<serializers.WorkflowExecutionUsageCalculationFulfilledBody.Raw, Vellum.WorkflowExecutionUsageCalculationFulfilledBody>;
10
+ export declare namespace WorkflowExecutionUsageCalculationFulfilledBody {
11
+ interface Raw {
12
+ usage: MlModelUsageWrapper.Raw[];
13
+ cost: Price.Raw[];
14
+ }
15
+ }
@@ -0,0 +1,46 @@
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 () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.WorkflowExecutionUsageCalculationFulfilledBody = void 0;
40
+ const core = __importStar(require("../../core"));
41
+ const MlModelUsageWrapper_1 = require("./MlModelUsageWrapper");
42
+ const Price_1 = require("./Price");
43
+ exports.WorkflowExecutionUsageCalculationFulfilledBody = core.serialization.object({
44
+ usage: core.serialization.list(MlModelUsageWrapper_1.MlModelUsageWrapper),
45
+ cost: core.serialization.list(Price_1.Price),
46
+ });
@@ -0,0 +1,15 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index";
5
+ import * as Vellum from "../../api/index";
6
+ import * as core from "../../core";
7
+ import { ExecutionVellumValue } from "./ExecutionVellumValue";
8
+ export declare const WorkflowExecutionViewOnlineEvalMetricResult: core.serialization.ObjectSchema<serializers.WorkflowExecutionViewOnlineEvalMetricResult.Raw, Vellum.WorkflowExecutionViewOnlineEvalMetricResult>;
9
+ export declare namespace WorkflowExecutionViewOnlineEvalMetricResult {
10
+ interface Raw {
11
+ outputs: ExecutionVellumValue.Raw[];
12
+ label: string;
13
+ metric_id: string;
14
+ }
15
+ }
@@ -0,0 +1,46 @@
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 () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.WorkflowExecutionViewOnlineEvalMetricResult = void 0;
40
+ const core = __importStar(require("../../core"));
41
+ const ExecutionVellumValue_1 = require("./ExecutionVellumValue");
42
+ exports.WorkflowExecutionViewOnlineEvalMetricResult = core.serialization.object({
43
+ outputs: core.serialization.list(ExecutionVellumValue_1.ExecutionVellumValue),
44
+ label: core.serialization.string(),
45
+ metricId: core.serialization.property("metric_id", core.serialization.string()),
46
+ });