vellum-ai 0.3.10 → 0.3.12

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 (225) hide show
  1. package/Client.js +9 -9
  2. package/api/client/requests/ExecuteWorkflowRequest.d.ts +3 -3
  3. package/api/client/requests/ExecuteWorkflowStreamRequest.d.ts +2 -2
  4. package/api/resources/deployments/client/Client.d.ts +11 -0
  5. package/api/resources/deployments/client/Client.js +30 -7
  6. package/api/resources/deployments/client/requests/DeploymentProviderPayloadRequest.d.ts +2 -0
  7. package/api/resources/documentIndexes/client/Client.d.ts +23 -0
  8. package/api/resources/documentIndexes/client/Client.js +168 -3
  9. package/api/resources/documentIndexes/client/requests/DocumentIndexUpdateRequest.d.ts +29 -0
  10. package/api/resources/documentIndexes/client/requests/DocumentIndexUpdateRequest.js +5 -0
  11. package/api/resources/documentIndexes/client/requests/PatchedDocumentIndexUpdateRequest.d.ts +27 -0
  12. package/api/resources/documentIndexes/client/requests/PatchedDocumentIndexUpdateRequest.js +5 -0
  13. package/api/resources/documentIndexes/client/requests/index.d.ts +2 -0
  14. package/api/resources/documents/client/Client.js +4 -4
  15. package/api/resources/folderEntities/client/Client.js +1 -1
  16. package/api/resources/modelVersions/client/Client.js +1 -1
  17. package/api/resources/registeredPrompts/client/Client.js +1 -1
  18. package/api/resources/sandboxes/client/Client.js +2 -2
  19. package/api/resources/testSuites/client/Client.js +2 -2
  20. package/api/resources/workflowDeployments/client/Client.js +2 -2
  21. package/api/types/ArrayVariableValueItem.d.ts +4 -1
  22. package/api/types/ChatMessage.d.ts +2 -0
  23. package/api/types/ChatMessageRequest.d.ts +2 -0
  24. package/api/types/ExecutionArrayVellumValue.d.ts +10 -0
  25. package/api/types/ExecutionArrayVellumValue.js +5 -0
  26. package/api/types/ExecutionChatHistoryVellumValue.d.ts +10 -0
  27. package/api/types/ExecutionChatHistoryVellumValue.js +5 -0
  28. package/api/types/ExecutionErrorVellumValue.d.ts +10 -0
  29. package/api/types/ExecutionErrorVellumValue.js +5 -0
  30. package/api/types/ExecutionFunctionCallVellumValue.d.ts +10 -0
  31. package/api/types/ExecutionFunctionCallVellumValue.js +5 -0
  32. package/api/types/ExecutionJsonVellumValue.d.ts +9 -0
  33. package/api/types/ExecutionJsonVellumValue.js +5 -0
  34. package/api/types/ExecutionNumberVellumValue.d.ts +9 -0
  35. package/api/types/ExecutionNumberVellumValue.js +5 -0
  36. package/api/types/ExecutionSearchResultsVellumValue.d.ts +10 -0
  37. package/api/types/ExecutionSearchResultsVellumValue.js +5 -0
  38. package/api/types/ExecutionStringVellumValue.d.ts +9 -0
  39. package/api/types/ExecutionStringVellumValue.js +5 -0
  40. package/api/types/ExecutionVellumValue.d.ts +31 -0
  41. package/api/types/ExecutionVellumValue.js +5 -0
  42. package/api/types/FulfilledWorkflowNodeResultEvent.d.ts +2 -0
  43. package/api/types/GenerateRequest.d.ts +1 -1
  44. package/api/types/ImageVariableValue.d.ts +10 -0
  45. package/api/types/ImageVariableValue.js +5 -0
  46. package/api/types/InitiatedWorkflowNodeResultEvent.d.ts +1 -0
  47. package/api/types/PromptTemplateBlockProperties.d.ts +1 -0
  48. package/api/types/PromptTemplateBlockPropertiesRequest.d.ts +1 -0
  49. package/api/types/RejectedWorkflowNodeResultEvent.d.ts +1 -0
  50. package/api/types/StreamingWorkflowNodeResultEvent.d.ts +1 -0
  51. package/api/types/WorkflowExecutionEventErrorCode.d.ts +3 -1
  52. package/api/types/WorkflowExecutionEventErrorCode.js +1 -0
  53. package/api/types/WorkflowExecutionEventType.d.ts +2 -2
  54. package/api/types/WorkflowResultEvent.d.ts +1 -0
  55. package/api/types/index.d.ts +10 -0
  56. package/api/types/index.js +10 -0
  57. package/dist/Client.js +9 -9
  58. package/dist/api/client/requests/ExecuteWorkflowRequest.d.ts +3 -3
  59. package/dist/api/client/requests/ExecuteWorkflowStreamRequest.d.ts +2 -2
  60. package/dist/api/resources/deployments/client/Client.d.ts +11 -0
  61. package/dist/api/resources/deployments/client/Client.js +30 -7
  62. package/dist/api/resources/deployments/client/requests/DeploymentProviderPayloadRequest.d.ts +2 -0
  63. package/dist/api/resources/documentIndexes/client/Client.d.ts +23 -0
  64. package/dist/api/resources/documentIndexes/client/Client.js +168 -3
  65. package/dist/api/resources/documentIndexes/client/requests/DocumentIndexUpdateRequest.d.ts +29 -0
  66. package/dist/api/resources/documentIndexes/client/requests/DocumentIndexUpdateRequest.js +5 -0
  67. package/dist/api/resources/documentIndexes/client/requests/PatchedDocumentIndexUpdateRequest.d.ts +27 -0
  68. package/dist/api/resources/documentIndexes/client/requests/PatchedDocumentIndexUpdateRequest.js +5 -0
  69. package/dist/api/resources/documentIndexes/client/requests/index.d.ts +2 -0
  70. package/dist/api/resources/documents/client/Client.js +4 -4
  71. package/dist/api/resources/folderEntities/client/Client.js +1 -1
  72. package/dist/api/resources/modelVersions/client/Client.js +1 -1
  73. package/dist/api/resources/registeredPrompts/client/Client.js +1 -1
  74. package/dist/api/resources/sandboxes/client/Client.js +2 -2
  75. package/dist/api/resources/testSuites/client/Client.js +2 -2
  76. package/dist/api/resources/workflowDeployments/client/Client.js +2 -2
  77. package/dist/api/types/ArrayVariableValueItem.d.ts +4 -1
  78. package/dist/api/types/ChatMessage.d.ts +2 -0
  79. package/dist/api/types/ChatMessageRequest.d.ts +2 -0
  80. package/dist/api/types/ExecutionArrayVellumValue.d.ts +10 -0
  81. package/dist/api/types/ExecutionArrayVellumValue.js +5 -0
  82. package/dist/api/types/ExecutionChatHistoryVellumValue.d.ts +10 -0
  83. package/dist/api/types/ExecutionChatHistoryVellumValue.js +5 -0
  84. package/dist/api/types/ExecutionErrorVellumValue.d.ts +10 -0
  85. package/dist/api/types/ExecutionErrorVellumValue.js +5 -0
  86. package/dist/api/types/ExecutionFunctionCallVellumValue.d.ts +10 -0
  87. package/dist/api/types/ExecutionFunctionCallVellumValue.js +5 -0
  88. package/dist/api/types/ExecutionJsonVellumValue.d.ts +9 -0
  89. package/dist/api/types/ExecutionJsonVellumValue.js +5 -0
  90. package/dist/api/types/ExecutionNumberVellumValue.d.ts +9 -0
  91. package/dist/api/types/ExecutionNumberVellumValue.js +5 -0
  92. package/dist/api/types/ExecutionSearchResultsVellumValue.d.ts +10 -0
  93. package/dist/api/types/ExecutionSearchResultsVellumValue.js +5 -0
  94. package/dist/api/types/ExecutionStringVellumValue.d.ts +9 -0
  95. package/dist/api/types/ExecutionStringVellumValue.js +5 -0
  96. package/dist/api/types/ExecutionVellumValue.d.ts +31 -0
  97. package/dist/api/types/ExecutionVellumValue.js +5 -0
  98. package/dist/api/types/FulfilledWorkflowNodeResultEvent.d.ts +2 -0
  99. package/dist/api/types/GenerateRequest.d.ts +1 -1
  100. package/dist/api/types/ImageVariableValue.d.ts +10 -0
  101. package/dist/api/types/ImageVariableValue.js +5 -0
  102. package/dist/api/types/InitiatedWorkflowNodeResultEvent.d.ts +1 -0
  103. package/dist/api/types/PromptTemplateBlockProperties.d.ts +1 -0
  104. package/dist/api/types/PromptTemplateBlockPropertiesRequest.d.ts +1 -0
  105. package/dist/api/types/RejectedWorkflowNodeResultEvent.d.ts +1 -0
  106. package/dist/api/types/StreamingWorkflowNodeResultEvent.d.ts +1 -0
  107. package/dist/api/types/WorkflowExecutionEventErrorCode.d.ts +3 -1
  108. package/dist/api/types/WorkflowExecutionEventErrorCode.js +1 -0
  109. package/dist/api/types/WorkflowExecutionEventType.d.ts +2 -2
  110. package/dist/api/types/WorkflowResultEvent.d.ts +1 -0
  111. package/dist/api/types/index.d.ts +10 -0
  112. package/dist/api/types/index.js +10 -0
  113. package/dist/serialization/client/requests/ExecuteWorkflowRequest.d.ts +1 -1
  114. package/dist/serialization/client/requests/ExecuteWorkflowRequest.js +1 -1
  115. package/dist/serialization/client/requests/ExecuteWorkflowStreamRequest.d.ts +1 -1
  116. package/dist/serialization/client/requests/ExecuteWorkflowStreamRequest.js +1 -1
  117. package/dist/serialization/resources/deployments/client/requests/DeploymentProviderPayloadRequest.d.ts +1 -0
  118. package/dist/serialization/resources/deployments/client/requests/DeploymentProviderPayloadRequest.js +1 -0
  119. package/dist/serialization/resources/documentIndexes/client/requests/DocumentIndexUpdateRequest.d.ts +14 -0
  120. package/dist/serialization/resources/documentIndexes/client/requests/DocumentIndexUpdateRequest.js +44 -0
  121. package/dist/serialization/resources/documentIndexes/client/requests/PatchedDocumentIndexUpdateRequest.d.ts +14 -0
  122. package/dist/serialization/resources/documentIndexes/client/requests/PatchedDocumentIndexUpdateRequest.js +44 -0
  123. package/dist/serialization/resources/documentIndexes/client/requests/index.d.ts +2 -0
  124. package/dist/serialization/resources/documentIndexes/client/requests/index.js +5 -1
  125. package/dist/serialization/types/ArrayVariableValueItem.d.ts +4 -1
  126. package/dist/serialization/types/ArrayVariableValueItem.js +1 -0
  127. package/dist/serialization/types/ChatMessage.d.ts +1 -0
  128. package/dist/serialization/types/ChatMessage.js +1 -0
  129. package/dist/serialization/types/ChatMessageRequest.d.ts +1 -0
  130. package/dist/serialization/types/ChatMessageRequest.js +1 -0
  131. package/dist/serialization/types/ExecutionArrayVellumValue.d.ts +14 -0
  132. package/dist/serialization/types/ExecutionArrayVellumValue.js +46 -0
  133. package/dist/serialization/types/ExecutionChatHistoryVellumValue.d.ts +14 -0
  134. package/dist/serialization/types/ExecutionChatHistoryVellumValue.js +46 -0
  135. package/dist/serialization/types/ExecutionErrorVellumValue.d.ts +14 -0
  136. package/dist/serialization/types/ExecutionErrorVellumValue.js +44 -0
  137. package/dist/serialization/types/ExecutionFunctionCallVellumValue.d.ts +14 -0
  138. package/dist/serialization/types/ExecutionFunctionCallVellumValue.js +44 -0
  139. package/dist/serialization/types/ExecutionJsonVellumValue.d.ts +14 -0
  140. package/dist/serialization/types/ExecutionJsonVellumValue.js +35 -0
  141. package/dist/serialization/types/ExecutionNumberVellumValue.d.ts +14 -0
  142. package/dist/serialization/types/ExecutionNumberVellumValue.js +35 -0
  143. package/dist/serialization/types/ExecutionSearchResultsVellumValue.d.ts +14 -0
  144. package/dist/serialization/types/ExecutionSearchResultsVellumValue.js +46 -0
  145. package/dist/serialization/types/ExecutionStringVellumValue.d.ts +14 -0
  146. package/dist/serialization/types/ExecutionStringVellumValue.js +35 -0
  147. package/dist/serialization/types/ExecutionVellumValue.d.ts +34 -0
  148. package/dist/serialization/types/ExecutionVellumValue.js +54 -0
  149. package/dist/serialization/types/FulfilledWorkflowNodeResultEvent.d.ts +2 -0
  150. package/dist/serialization/types/FulfilledWorkflowNodeResultEvent.js +2 -0
  151. package/dist/serialization/types/ImageVariableValue.d.ts +12 -0
  152. package/dist/serialization/types/ImageVariableValue.js +42 -0
  153. package/dist/serialization/types/InitiatedWorkflowNodeResultEvent.d.ts +1 -0
  154. package/dist/serialization/types/InitiatedWorkflowNodeResultEvent.js +1 -0
  155. package/dist/serialization/types/PromptTemplateBlockProperties.d.ts +1 -0
  156. package/dist/serialization/types/PromptTemplateBlockProperties.js +1 -0
  157. package/dist/serialization/types/PromptTemplateBlockPropertiesRequest.d.ts +1 -0
  158. package/dist/serialization/types/PromptTemplateBlockPropertiesRequest.js +1 -0
  159. package/dist/serialization/types/RejectedWorkflowNodeResultEvent.d.ts +1 -0
  160. package/dist/serialization/types/RejectedWorkflowNodeResultEvent.js +1 -0
  161. package/dist/serialization/types/StreamingWorkflowNodeResultEvent.d.ts +1 -0
  162. package/dist/serialization/types/StreamingWorkflowNodeResultEvent.js +1 -0
  163. package/dist/serialization/types/WorkflowExecutionEventErrorCode.d.ts +1 -1
  164. package/dist/serialization/types/WorkflowExecutionEventErrorCode.js +1 -0
  165. package/dist/serialization/types/WorkflowResultEvent.d.ts +1 -0
  166. package/dist/serialization/types/WorkflowResultEvent.js +3 -0
  167. package/dist/serialization/types/index.d.ts +10 -0
  168. package/dist/serialization/types/index.js +10 -0
  169. package/package.json +1 -1
  170. package/serialization/client/requests/ExecuteWorkflowRequest.d.ts +1 -1
  171. package/serialization/client/requests/ExecuteWorkflowRequest.js +1 -1
  172. package/serialization/client/requests/ExecuteWorkflowStreamRequest.d.ts +1 -1
  173. package/serialization/client/requests/ExecuteWorkflowStreamRequest.js +1 -1
  174. package/serialization/resources/deployments/client/requests/DeploymentProviderPayloadRequest.d.ts +1 -0
  175. package/serialization/resources/deployments/client/requests/DeploymentProviderPayloadRequest.js +1 -0
  176. package/serialization/resources/documentIndexes/client/requests/DocumentIndexUpdateRequest.d.ts +14 -0
  177. package/serialization/resources/documentIndexes/client/requests/DocumentIndexUpdateRequest.js +44 -0
  178. package/serialization/resources/documentIndexes/client/requests/PatchedDocumentIndexUpdateRequest.d.ts +14 -0
  179. package/serialization/resources/documentIndexes/client/requests/PatchedDocumentIndexUpdateRequest.js +44 -0
  180. package/serialization/resources/documentIndexes/client/requests/index.d.ts +2 -0
  181. package/serialization/resources/documentIndexes/client/requests/index.js +5 -1
  182. package/serialization/types/ArrayVariableValueItem.d.ts +4 -1
  183. package/serialization/types/ArrayVariableValueItem.js +1 -0
  184. package/serialization/types/ChatMessage.d.ts +1 -0
  185. package/serialization/types/ChatMessage.js +1 -0
  186. package/serialization/types/ChatMessageRequest.d.ts +1 -0
  187. package/serialization/types/ChatMessageRequest.js +1 -0
  188. package/serialization/types/ExecutionArrayVellumValue.d.ts +14 -0
  189. package/serialization/types/ExecutionArrayVellumValue.js +46 -0
  190. package/serialization/types/ExecutionChatHistoryVellumValue.d.ts +14 -0
  191. package/serialization/types/ExecutionChatHistoryVellumValue.js +46 -0
  192. package/serialization/types/ExecutionErrorVellumValue.d.ts +14 -0
  193. package/serialization/types/ExecutionErrorVellumValue.js +44 -0
  194. package/serialization/types/ExecutionFunctionCallVellumValue.d.ts +14 -0
  195. package/serialization/types/ExecutionFunctionCallVellumValue.js +44 -0
  196. package/serialization/types/ExecutionJsonVellumValue.d.ts +14 -0
  197. package/serialization/types/ExecutionJsonVellumValue.js +35 -0
  198. package/serialization/types/ExecutionNumberVellumValue.d.ts +14 -0
  199. package/serialization/types/ExecutionNumberVellumValue.js +35 -0
  200. package/serialization/types/ExecutionSearchResultsVellumValue.d.ts +14 -0
  201. package/serialization/types/ExecutionSearchResultsVellumValue.js +46 -0
  202. package/serialization/types/ExecutionStringVellumValue.d.ts +14 -0
  203. package/serialization/types/ExecutionStringVellumValue.js +35 -0
  204. package/serialization/types/ExecutionVellumValue.d.ts +34 -0
  205. package/serialization/types/ExecutionVellumValue.js +54 -0
  206. package/serialization/types/FulfilledWorkflowNodeResultEvent.d.ts +2 -0
  207. package/serialization/types/FulfilledWorkflowNodeResultEvent.js +2 -0
  208. package/serialization/types/ImageVariableValue.d.ts +12 -0
  209. package/serialization/types/ImageVariableValue.js +42 -0
  210. package/serialization/types/InitiatedWorkflowNodeResultEvent.d.ts +1 -0
  211. package/serialization/types/InitiatedWorkflowNodeResultEvent.js +1 -0
  212. package/serialization/types/PromptTemplateBlockProperties.d.ts +1 -0
  213. package/serialization/types/PromptTemplateBlockProperties.js +1 -0
  214. package/serialization/types/PromptTemplateBlockPropertiesRequest.d.ts +1 -0
  215. package/serialization/types/PromptTemplateBlockPropertiesRequest.js +1 -0
  216. package/serialization/types/RejectedWorkflowNodeResultEvent.d.ts +1 -0
  217. package/serialization/types/RejectedWorkflowNodeResultEvent.js +1 -0
  218. package/serialization/types/StreamingWorkflowNodeResultEvent.d.ts +1 -0
  219. package/serialization/types/StreamingWorkflowNodeResultEvent.js +1 -0
  220. package/serialization/types/WorkflowExecutionEventErrorCode.d.ts +1 -1
  221. package/serialization/types/WorkflowExecutionEventErrorCode.js +1 -0
  222. package/serialization/types/WorkflowResultEvent.d.ts +1 -0
  223. package/serialization/types/WorkflowResultEvent.js +3 -0
  224. package/serialization/types/index.d.ts +10 -0
  225. package/serialization/types/index.js +10 -0
@@ -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 (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
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
29
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
30
+ return new (P || (P = Promise))(function (resolve, reject) {
31
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
32
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
33
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
34
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
35
+ });
36
+ };
37
+ Object.defineProperty(exports, "__esModule", { value: true });
38
+ exports.ExecutionErrorVellumValue = void 0;
39
+ const core = __importStar(require("../../core"));
40
+ exports.ExecutionErrorVellumValue = core.serialization.object({
41
+ id: core.serialization.string(),
42
+ name: core.serialization.string(),
43
+ value: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).VellumError; })).optional(),
44
+ });
@@ -0,0 +1,14 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "..";
5
+ import * as Vellum from "../../api";
6
+ import * as core from "../../core";
7
+ export declare const ExecutionFunctionCallVellumValue: core.serialization.ObjectSchema<serializers.ExecutionFunctionCallVellumValue.Raw, Vellum.ExecutionFunctionCallVellumValue>;
8
+ export declare namespace ExecutionFunctionCallVellumValue {
9
+ interface Raw {
10
+ id: string;
11
+ name: string;
12
+ value?: serializers.FunctionCall.Raw | null;
13
+ }
14
+ }
@@ -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 (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
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
29
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
30
+ return new (P || (P = Promise))(function (resolve, reject) {
31
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
32
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
33
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
34
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
35
+ });
36
+ };
37
+ Object.defineProperty(exports, "__esModule", { value: true });
38
+ exports.ExecutionFunctionCallVellumValue = void 0;
39
+ const core = __importStar(require("../../core"));
40
+ exports.ExecutionFunctionCallVellumValue = core.serialization.object({
41
+ id: core.serialization.string(),
42
+ name: core.serialization.string(),
43
+ value: core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).FunctionCall; })).optional(),
44
+ });
@@ -0,0 +1,14 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "..";
5
+ import * as Vellum from "../../api";
6
+ import * as core from "../../core";
7
+ export declare const ExecutionJsonVellumValue: core.serialization.ObjectSchema<serializers.ExecutionJsonVellumValue.Raw, Vellum.ExecutionJsonVellumValue>;
8
+ export declare namespace ExecutionJsonVellumValue {
9
+ interface Raw {
10
+ id: string;
11
+ name: string;
12
+ value?: Record<string, unknown> | null;
13
+ }
14
+ }
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.ExecutionJsonVellumValue = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ exports.ExecutionJsonVellumValue = core.serialization.object({
32
+ id: core.serialization.string(),
33
+ name: core.serialization.string(),
34
+ value: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(),
35
+ });
@@ -0,0 +1,14 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "..";
5
+ import * as Vellum from "../../api";
6
+ import * as core from "../../core";
7
+ export declare const ExecutionNumberVellumValue: core.serialization.ObjectSchema<serializers.ExecutionNumberVellumValue.Raw, Vellum.ExecutionNumberVellumValue>;
8
+ export declare namespace ExecutionNumberVellumValue {
9
+ interface Raw {
10
+ id: string;
11
+ name: string;
12
+ value?: number | null;
13
+ }
14
+ }
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.ExecutionNumberVellumValue = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ exports.ExecutionNumberVellumValue = core.serialization.object({
32
+ id: core.serialization.string(),
33
+ name: core.serialization.string(),
34
+ value: core.serialization.number().optional(),
35
+ });
@@ -0,0 +1,14 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "..";
5
+ import * as Vellum from "../../api";
6
+ import * as core from "../../core";
7
+ export declare const ExecutionSearchResultsVellumValue: core.serialization.ObjectSchema<serializers.ExecutionSearchResultsVellumValue.Raw, Vellum.ExecutionSearchResultsVellumValue>;
8
+ export declare namespace ExecutionSearchResultsVellumValue {
9
+ interface Raw {
10
+ id: string;
11
+ name: string;
12
+ value?: serializers.SearchResult.Raw[] | null;
13
+ }
14
+ }
@@ -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 (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
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
29
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
30
+ return new (P || (P = Promise))(function (resolve, reject) {
31
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
32
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
33
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
34
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
35
+ });
36
+ };
37
+ Object.defineProperty(exports, "__esModule", { value: true });
38
+ exports.ExecutionSearchResultsVellumValue = void 0;
39
+ const core = __importStar(require("../../core"));
40
+ exports.ExecutionSearchResultsVellumValue = core.serialization.object({
41
+ id: core.serialization.string(),
42
+ name: core.serialization.string(),
43
+ value: core.serialization
44
+ .list(core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).SearchResult; })))
45
+ .optional(),
46
+ });
@@ -0,0 +1,14 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "..";
5
+ import * as Vellum from "../../api";
6
+ import * as core from "../../core";
7
+ export declare const ExecutionStringVellumValue: core.serialization.ObjectSchema<serializers.ExecutionStringVellumValue.Raw, Vellum.ExecutionStringVellumValue>;
8
+ export declare namespace ExecutionStringVellumValue {
9
+ interface Raw {
10
+ id: string;
11
+ name: string;
12
+ value?: string | null;
13
+ }
14
+ }
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.ExecutionStringVellumValue = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ exports.ExecutionStringVellumValue = core.serialization.object({
32
+ id: core.serialization.string(),
33
+ name: core.serialization.string(),
34
+ value: core.serialization.string().optional(),
35
+ });
@@ -0,0 +1,34 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "..";
5
+ import * as Vellum from "../../api";
6
+ import * as core from "../../core";
7
+ export declare const ExecutionVellumValue: core.serialization.Schema<serializers.ExecutionVellumValue.Raw, Vellum.ExecutionVellumValue>;
8
+ export declare namespace ExecutionVellumValue {
9
+ type Raw = ExecutionVellumValue.String | ExecutionVellumValue.Number | ExecutionVellumValue.Json | ExecutionVellumValue.ChatHistory | ExecutionVellumValue.SearchResults | ExecutionVellumValue.Error | ExecutionVellumValue.Array | ExecutionVellumValue.FunctionCall;
10
+ interface String extends serializers.ExecutionStringVellumValue.Raw {
11
+ type: "STRING";
12
+ }
13
+ interface Number extends serializers.ExecutionNumberVellumValue.Raw {
14
+ type: "NUMBER";
15
+ }
16
+ interface Json extends serializers.ExecutionJsonVellumValue.Raw {
17
+ type: "JSON";
18
+ }
19
+ interface ChatHistory extends serializers.ExecutionChatHistoryVellumValue.Raw {
20
+ type: "CHAT_HISTORY";
21
+ }
22
+ interface SearchResults extends serializers.ExecutionSearchResultsVellumValue.Raw {
23
+ type: "SEARCH_RESULTS";
24
+ }
25
+ interface Error extends serializers.ExecutionErrorVellumValue.Raw {
26
+ type: "ERROR";
27
+ }
28
+ interface Array extends serializers.ExecutionArrayVellumValue.Raw {
29
+ type: "ARRAY";
30
+ }
31
+ interface FunctionCall extends serializers.ExecutionFunctionCallVellumValue.Raw {
32
+ type: "FUNCTION_CALL";
33
+ }
34
+ }
@@ -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 (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
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
29
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
30
+ return new (P || (P = Promise))(function (resolve, reject) {
31
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
32
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
33
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
34
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
35
+ });
36
+ };
37
+ Object.defineProperty(exports, "__esModule", { value: true });
38
+ exports.ExecutionVellumValue = void 0;
39
+ const core = __importStar(require("../../core"));
40
+ exports.ExecutionVellumValue = core.serialization
41
+ .union("type", {
42
+ STRING: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).ExecutionStringVellumValue; })),
43
+ NUMBER: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).ExecutionNumberVellumValue; })),
44
+ JSON: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).ExecutionJsonVellumValue; })),
45
+ CHAT_HISTORY: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).ExecutionChatHistoryVellumValue; })),
46
+ SEARCH_RESULTS: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).ExecutionSearchResultsVellumValue; })),
47
+ ERROR: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).ExecutionErrorVellumValue; })),
48
+ ARRAY: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).ExecutionArrayVellumValue; })),
49
+ FUNCTION_CALL: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).ExecutionFunctionCallVellumValue; })),
50
+ })
51
+ .transform({
52
+ transform: (value) => value,
53
+ untransform: (value) => value,
54
+ });
@@ -12,6 +12,8 @@ export declare namespace FulfilledWorkflowNodeResultEvent {
12
12
  node_result_id: string;
13
13
  ts?: string | null;
14
14
  data?: serializers.WorkflowNodeResultData.Raw | null;
15
+ source_execution_id?: string | null;
15
16
  output_values?: serializers.NodeOutputCompiledValue.Raw[] | null;
17
+ mocked?: boolean | null;
16
18
  }
17
19
  }
@@ -43,7 +43,9 @@ exports.FulfilledWorkflowNodeResultEvent = core.serialization.object({
43
43
  nodeResultId: core.serialization.property("node_result_id", core.serialization.string()),
44
44
  ts: core.serialization.date().optional(),
45
45
  data: core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).WorkflowNodeResultData; })).optional(),
46
+ sourceExecutionId: core.serialization.property("source_execution_id", core.serialization.string().optional()),
46
47
  outputValues: core.serialization.property("output_values", core.serialization
47
48
  .list(core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).NodeOutputCompiledValue; })))
48
49
  .optional()),
50
+ mocked: core.serialization.boolean().optional(),
49
51
  });
@@ -0,0 +1,12 @@
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 ImageVariableValue: core.serialization.ObjectSchema<serializers.ImageVariableValue.Raw, Vellum.ImageVariableValue>;
8
+ export declare namespace ImageVariableValue {
9
+ interface Raw {
10
+ value?: serializers.VellumImage.Raw | null;
11
+ }
12
+ }
@@ -0,0 +1,42 @@
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
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
29
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
30
+ return new (P || (P = Promise))(function (resolve, reject) {
31
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
32
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
33
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
34
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
35
+ });
36
+ };
37
+ Object.defineProperty(exports, "__esModule", { value: true });
38
+ exports.ImageVariableValue = void 0;
39
+ const core = __importStar(require("../../core"));
40
+ exports.ImageVariableValue = core.serialization.object({
41
+ value: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).VellumImage; })).optional(),
42
+ });
@@ -12,6 +12,7 @@ export declare namespace InitiatedWorkflowNodeResultEvent {
12
12
  node_result_id: string;
13
13
  ts?: string | null;
14
14
  data?: serializers.WorkflowNodeResultData.Raw | null;
15
+ source_execution_id?: string | null;
15
16
  input_values?: serializers.NodeInputVariableCompiledValue.Raw[] | null;
16
17
  }
17
18
  }
@@ -43,6 +43,7 @@ exports.InitiatedWorkflowNodeResultEvent = core.serialization.object({
43
43
  nodeResultId: core.serialization.property("node_result_id", core.serialization.string()),
44
44
  ts: core.serialization.date().optional(),
45
45
  data: core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).WorkflowNodeResultData; })).optional(),
46
+ sourceExecutionId: core.serialization.property("source_execution_id", core.serialization.string().optional()),
46
47
  inputValues: core.serialization.property("input_values", core.serialization
47
48
  .list(core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).NodeInputVariableCompiledValue; })))
48
49
  .optional()),
@@ -9,6 +9,7 @@ export declare namespace PromptTemplateBlockProperties {
9
9
  interface Raw {
10
10
  chat_role?: serializers.ChatMessageRole.Raw | null;
11
11
  chat_message_unterminated?: boolean | null;
12
+ chat_source?: string | null;
12
13
  template?: string | null;
13
14
  template_type?: serializers.VellumVariableType.Raw | null;
14
15
  function_name?: string | null;
@@ -40,6 +40,7 @@ const core = __importStar(require("../../core"));
40
40
  exports.PromptTemplateBlockProperties = core.serialization.object({
41
41
  chatRole: core.serialization.property("chat_role", core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).ChatMessageRole; })).optional()),
42
42
  chatMessageUnterminated: core.serialization.property("chat_message_unterminated", core.serialization.boolean().optional()),
43
+ chatSource: core.serialization.property("chat_source", core.serialization.string().optional()),
43
44
  template: core.serialization.string().optional(),
44
45
  templateType: core.serialization.property("template_type", core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).VellumVariableType; })).optional()),
45
46
  functionName: core.serialization.property("function_name", core.serialization.string().optional()),
@@ -9,6 +9,7 @@ export declare namespace PromptTemplateBlockPropertiesRequest {
9
9
  interface Raw {
10
10
  chat_role?: serializers.ChatMessageRole.Raw | null;
11
11
  chat_message_unterminated?: boolean | null;
12
+ chat_source?: string | null;
12
13
  template?: string | null;
13
14
  template_type?: serializers.VellumVariableType.Raw | null;
14
15
  function_name?: string | null;
@@ -40,6 +40,7 @@ const core = __importStar(require("../../core"));
40
40
  exports.PromptTemplateBlockPropertiesRequest = core.serialization.object({
41
41
  chatRole: core.serialization.property("chat_role", core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).ChatMessageRole; })).optional()),
42
42
  chatMessageUnterminated: core.serialization.property("chat_message_unterminated", core.serialization.boolean().optional()),
43
+ chatSource: core.serialization.property("chat_source", core.serialization.string().optional()),
43
44
  template: core.serialization.string().optional(),
44
45
  templateType: core.serialization.property("template_type", core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).VellumVariableType; })).optional()),
45
46
  functionName: core.serialization.property("function_name", core.serialization.string().optional()),
@@ -12,6 +12,7 @@ export declare namespace RejectedWorkflowNodeResultEvent {
12
12
  node_result_id: string;
13
13
  ts?: string | null;
14
14
  data?: serializers.WorkflowNodeResultData.Raw | null;
15
+ source_execution_id?: string | null;
15
16
  error: serializers.WorkflowEventError.Raw;
16
17
  }
17
18
  }
@@ -43,5 +43,6 @@ exports.RejectedWorkflowNodeResultEvent = core.serialization.object({
43
43
  nodeResultId: core.serialization.property("node_result_id", core.serialization.string()),
44
44
  ts: core.serialization.date().optional(),
45
45
  data: core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).WorkflowNodeResultData; })).optional(),
46
+ sourceExecutionId: core.serialization.property("source_execution_id", core.serialization.string().optional()),
46
47
  error: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).WorkflowEventError; })),
47
48
  });
@@ -12,6 +12,7 @@ export declare namespace StreamingWorkflowNodeResultEvent {
12
12
  node_result_id: string;
13
13
  ts?: string | null;
14
14
  data?: serializers.WorkflowNodeResultData.Raw | null;
15
+ source_execution_id?: string | null;
15
16
  output?: serializers.NodeOutputCompiledValue.Raw | null;
16
17
  output_index?: number | null;
17
18
  }
@@ -43,6 +43,7 @@ exports.StreamingWorkflowNodeResultEvent = core.serialization.object({
43
43
  nodeResultId: core.serialization.property("node_result_id", core.serialization.string()),
44
44
  ts: core.serialization.date().optional(),
45
45
  data: core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).WorkflowNodeResultData; })).optional(),
46
+ sourceExecutionId: core.serialization.property("source_execution_id", core.serialization.string().optional()),
46
47
  output: core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).NodeOutputCompiledValue; })).optional(),
47
48
  outputIndex: core.serialization.property("output_index", core.serialization.number().optional()),
48
49
  });
@@ -6,5 +6,5 @@ import * as Vellum from "../../api";
6
6
  import * as core from "../../core";
7
7
  export declare const WorkflowExecutionEventErrorCode: core.serialization.Schema<serializers.WorkflowExecutionEventErrorCode.Raw, Vellum.WorkflowExecutionEventErrorCode>;
8
8
  export declare namespace WorkflowExecutionEventErrorCode {
9
- type Raw = "WORKFLOW_INITIALIZATION" | "NODE_EXECUTION_COUNT_LIMIT_REACHED" | "INTERNAL_SERVER_ERROR" | "NODE_EXECUTION" | "LLM_PROVIDER" | "INVALID_TEMPLATE" | "USER_DEFINED_ERROR";
9
+ type Raw = "WORKFLOW_INITIALIZATION" | "WORKFLOW_CANCELLED" | "NODE_EXECUTION_COUNT_LIMIT_REACHED" | "INTERNAL_SERVER_ERROR" | "NODE_EXECUTION" | "LLM_PROVIDER" | "INVALID_TEMPLATE" | "USER_DEFINED_ERROR";
10
10
  }
@@ -30,6 +30,7 @@ exports.WorkflowExecutionEventErrorCode = void 0;
30
30
  const core = __importStar(require("../../core"));
31
31
  exports.WorkflowExecutionEventErrorCode = core.serialization.enum_([
32
32
  "WORKFLOW_INITIALIZATION",
33
+ "WORKFLOW_CANCELLED",
33
34
  "NODE_EXECUTION_COUNT_LIMIT_REACHED",
34
35
  "INTERNAL_SERVER_ERROR",
35
36
  "NODE_EXECUTION",
@@ -13,5 +13,6 @@ export declare namespace WorkflowResultEvent {
13
13
  output?: serializers.WorkflowResultEventOutputData.Raw | null;
14
14
  error?: serializers.WorkflowEventError.Raw | null;
15
15
  outputs?: serializers.WorkflowOutput.Raw[] | null;
16
+ inputs?: serializers.ExecutionVellumValue.Raw[] | null;
16
17
  }
17
18
  }
@@ -46,4 +46,7 @@ exports.WorkflowResultEvent = core.serialization.object({
46
46
  outputs: core.serialization
47
47
  .list(core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).WorkflowOutput; })))
48
48
  .optional(),
49
+ inputs: core.serialization
50
+ .list(core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).ExecutionVellumValue; })))
51
+ .optional(),
49
52
  });