vellum-ai 0.3.10 → 0.3.11

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 (153) 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.js +3 -3
  8. package/api/resources/documents/client/Client.js +4 -4
  9. package/api/resources/folderEntities/client/Client.js +1 -1
  10. package/api/resources/modelVersions/client/Client.js +1 -1
  11. package/api/resources/registeredPrompts/client/Client.js +1 -1
  12. package/api/resources/sandboxes/client/Client.js +2 -2
  13. package/api/resources/testSuites/client/Client.js +2 -2
  14. package/api/resources/workflowDeployments/client/Client.js +2 -2
  15. package/api/types/ChatMessage.d.ts +2 -0
  16. package/api/types/ChatMessageRequest.d.ts +2 -0
  17. package/api/types/ExecutionArrayVellumValue.d.ts +10 -0
  18. package/api/types/ExecutionArrayVellumValue.js +5 -0
  19. package/api/types/ExecutionChatHistoryVellumValue.d.ts +10 -0
  20. package/api/types/ExecutionChatHistoryVellumValue.js +5 -0
  21. package/api/types/ExecutionErrorVellumValue.d.ts +10 -0
  22. package/api/types/ExecutionErrorVellumValue.js +5 -0
  23. package/api/types/ExecutionFunctionCallVellumValue.d.ts +10 -0
  24. package/api/types/ExecutionFunctionCallVellumValue.js +5 -0
  25. package/api/types/ExecutionJsonVellumValue.d.ts +9 -0
  26. package/api/types/ExecutionJsonVellumValue.js +5 -0
  27. package/api/types/ExecutionNumberVellumValue.d.ts +9 -0
  28. package/api/types/ExecutionNumberVellumValue.js +5 -0
  29. package/api/types/ExecutionSearchResultsVellumValue.d.ts +10 -0
  30. package/api/types/ExecutionSearchResultsVellumValue.js +5 -0
  31. package/api/types/ExecutionStringVellumValue.d.ts +9 -0
  32. package/api/types/ExecutionStringVellumValue.js +5 -0
  33. package/api/types/ExecutionVellumValue.d.ts +31 -0
  34. package/api/types/ExecutionVellumValue.js +5 -0
  35. package/api/types/PromptTemplateBlockProperties.d.ts +1 -0
  36. package/api/types/PromptTemplateBlockPropertiesRequest.d.ts +1 -0
  37. package/api/types/WorkflowExecutionEventType.d.ts +2 -2
  38. package/api/types/WorkflowResultEvent.d.ts +1 -0
  39. package/api/types/index.d.ts +9 -0
  40. package/api/types/index.js +9 -0
  41. package/dist/Client.js +9 -9
  42. package/dist/api/client/requests/ExecuteWorkflowRequest.d.ts +3 -3
  43. package/dist/api/client/requests/ExecuteWorkflowStreamRequest.d.ts +2 -2
  44. package/dist/api/resources/deployments/client/Client.d.ts +11 -0
  45. package/dist/api/resources/deployments/client/Client.js +30 -7
  46. package/dist/api/resources/deployments/client/requests/DeploymentProviderPayloadRequest.d.ts +2 -0
  47. package/dist/api/resources/documentIndexes/client/Client.js +3 -3
  48. package/dist/api/resources/documents/client/Client.js +4 -4
  49. package/dist/api/resources/folderEntities/client/Client.js +1 -1
  50. package/dist/api/resources/modelVersions/client/Client.js +1 -1
  51. package/dist/api/resources/registeredPrompts/client/Client.js +1 -1
  52. package/dist/api/resources/sandboxes/client/Client.js +2 -2
  53. package/dist/api/resources/testSuites/client/Client.js +2 -2
  54. package/dist/api/resources/workflowDeployments/client/Client.js +2 -2
  55. package/dist/api/types/ChatMessage.d.ts +2 -0
  56. package/dist/api/types/ChatMessageRequest.d.ts +2 -0
  57. package/dist/api/types/ExecutionArrayVellumValue.d.ts +10 -0
  58. package/dist/api/types/ExecutionArrayVellumValue.js +5 -0
  59. package/dist/api/types/ExecutionChatHistoryVellumValue.d.ts +10 -0
  60. package/dist/api/types/ExecutionChatHistoryVellumValue.js +5 -0
  61. package/dist/api/types/ExecutionErrorVellumValue.d.ts +10 -0
  62. package/dist/api/types/ExecutionErrorVellumValue.js +5 -0
  63. package/dist/api/types/ExecutionFunctionCallVellumValue.d.ts +10 -0
  64. package/dist/api/types/ExecutionFunctionCallVellumValue.js +5 -0
  65. package/dist/api/types/ExecutionJsonVellumValue.d.ts +9 -0
  66. package/dist/api/types/ExecutionJsonVellumValue.js +5 -0
  67. package/dist/api/types/ExecutionNumberVellumValue.d.ts +9 -0
  68. package/dist/api/types/ExecutionNumberVellumValue.js +5 -0
  69. package/dist/api/types/ExecutionSearchResultsVellumValue.d.ts +10 -0
  70. package/dist/api/types/ExecutionSearchResultsVellumValue.js +5 -0
  71. package/dist/api/types/ExecutionStringVellumValue.d.ts +9 -0
  72. package/dist/api/types/ExecutionStringVellumValue.js +5 -0
  73. package/dist/api/types/ExecutionVellumValue.d.ts +31 -0
  74. package/dist/api/types/ExecutionVellumValue.js +5 -0
  75. package/dist/api/types/PromptTemplateBlockProperties.d.ts +1 -0
  76. package/dist/api/types/PromptTemplateBlockPropertiesRequest.d.ts +1 -0
  77. package/dist/api/types/WorkflowExecutionEventType.d.ts +2 -2
  78. package/dist/api/types/WorkflowResultEvent.d.ts +1 -0
  79. package/dist/api/types/index.d.ts +9 -0
  80. package/dist/api/types/index.js +9 -0
  81. package/dist/serialization/client/requests/ExecuteWorkflowRequest.d.ts +1 -1
  82. package/dist/serialization/client/requests/ExecuteWorkflowRequest.js +1 -1
  83. package/dist/serialization/client/requests/ExecuteWorkflowStreamRequest.d.ts +1 -1
  84. package/dist/serialization/client/requests/ExecuteWorkflowStreamRequest.js +1 -1
  85. package/dist/serialization/resources/deployments/client/requests/DeploymentProviderPayloadRequest.d.ts +1 -0
  86. package/dist/serialization/resources/deployments/client/requests/DeploymentProviderPayloadRequest.js +1 -0
  87. package/dist/serialization/types/ChatMessage.d.ts +1 -0
  88. package/dist/serialization/types/ChatMessage.js +1 -0
  89. package/dist/serialization/types/ChatMessageRequest.d.ts +1 -0
  90. package/dist/serialization/types/ChatMessageRequest.js +1 -0
  91. package/dist/serialization/types/ExecutionArrayVellumValue.d.ts +14 -0
  92. package/dist/serialization/types/ExecutionArrayVellumValue.js +46 -0
  93. package/dist/serialization/types/ExecutionChatHistoryVellumValue.d.ts +14 -0
  94. package/dist/serialization/types/ExecutionChatHistoryVellumValue.js +46 -0
  95. package/dist/serialization/types/ExecutionErrorVellumValue.d.ts +14 -0
  96. package/dist/serialization/types/ExecutionErrorVellumValue.js +44 -0
  97. package/dist/serialization/types/ExecutionFunctionCallVellumValue.d.ts +14 -0
  98. package/dist/serialization/types/ExecutionFunctionCallVellumValue.js +44 -0
  99. package/dist/serialization/types/ExecutionJsonVellumValue.d.ts +14 -0
  100. package/dist/serialization/types/ExecutionJsonVellumValue.js +35 -0
  101. package/dist/serialization/types/ExecutionNumberVellumValue.d.ts +14 -0
  102. package/dist/serialization/types/ExecutionNumberVellumValue.js +35 -0
  103. package/dist/serialization/types/ExecutionSearchResultsVellumValue.d.ts +14 -0
  104. package/dist/serialization/types/ExecutionSearchResultsVellumValue.js +46 -0
  105. package/dist/serialization/types/ExecutionStringVellumValue.d.ts +14 -0
  106. package/dist/serialization/types/ExecutionStringVellumValue.js +35 -0
  107. package/dist/serialization/types/ExecutionVellumValue.d.ts +34 -0
  108. package/dist/serialization/types/ExecutionVellumValue.js +54 -0
  109. package/dist/serialization/types/PromptTemplateBlockProperties.d.ts +1 -0
  110. package/dist/serialization/types/PromptTemplateBlockProperties.js +1 -0
  111. package/dist/serialization/types/PromptTemplateBlockPropertiesRequest.d.ts +1 -0
  112. package/dist/serialization/types/PromptTemplateBlockPropertiesRequest.js +1 -0
  113. package/dist/serialization/types/WorkflowResultEvent.d.ts +1 -0
  114. package/dist/serialization/types/WorkflowResultEvent.js +3 -0
  115. package/dist/serialization/types/index.d.ts +9 -0
  116. package/dist/serialization/types/index.js +9 -0
  117. package/package.json +1 -1
  118. package/serialization/client/requests/ExecuteWorkflowRequest.d.ts +1 -1
  119. package/serialization/client/requests/ExecuteWorkflowRequest.js +1 -1
  120. package/serialization/client/requests/ExecuteWorkflowStreamRequest.d.ts +1 -1
  121. package/serialization/client/requests/ExecuteWorkflowStreamRequest.js +1 -1
  122. package/serialization/resources/deployments/client/requests/DeploymentProviderPayloadRequest.d.ts +1 -0
  123. package/serialization/resources/deployments/client/requests/DeploymentProviderPayloadRequest.js +1 -0
  124. package/serialization/types/ChatMessage.d.ts +1 -0
  125. package/serialization/types/ChatMessage.js +1 -0
  126. package/serialization/types/ChatMessageRequest.d.ts +1 -0
  127. package/serialization/types/ChatMessageRequest.js +1 -0
  128. package/serialization/types/ExecutionArrayVellumValue.d.ts +14 -0
  129. package/serialization/types/ExecutionArrayVellumValue.js +46 -0
  130. package/serialization/types/ExecutionChatHistoryVellumValue.d.ts +14 -0
  131. package/serialization/types/ExecutionChatHistoryVellumValue.js +46 -0
  132. package/serialization/types/ExecutionErrorVellumValue.d.ts +14 -0
  133. package/serialization/types/ExecutionErrorVellumValue.js +44 -0
  134. package/serialization/types/ExecutionFunctionCallVellumValue.d.ts +14 -0
  135. package/serialization/types/ExecutionFunctionCallVellumValue.js +44 -0
  136. package/serialization/types/ExecutionJsonVellumValue.d.ts +14 -0
  137. package/serialization/types/ExecutionJsonVellumValue.js +35 -0
  138. package/serialization/types/ExecutionNumberVellumValue.d.ts +14 -0
  139. package/serialization/types/ExecutionNumberVellumValue.js +35 -0
  140. package/serialization/types/ExecutionSearchResultsVellumValue.d.ts +14 -0
  141. package/serialization/types/ExecutionSearchResultsVellumValue.js +46 -0
  142. package/serialization/types/ExecutionStringVellumValue.d.ts +14 -0
  143. package/serialization/types/ExecutionStringVellumValue.js +35 -0
  144. package/serialization/types/ExecutionVellumValue.d.ts +34 -0
  145. package/serialization/types/ExecutionVellumValue.js +54 -0
  146. package/serialization/types/PromptTemplateBlockProperties.d.ts +1 -0
  147. package/serialization/types/PromptTemplateBlockProperties.js +1 -0
  148. package/serialization/types/PromptTemplateBlockPropertiesRequest.d.ts +1 -0
  149. package/serialization/types/PromptTemplateBlockPropertiesRequest.js +1 -0
  150. package/serialization/types/WorkflowResultEvent.d.ts +1 -0
  151. package/serialization/types/WorkflowResultEvent.js +3 -0
  152. package/serialization/types/index.d.ts +9 -0
  153. package/serialization/types/index.js +9 -0
@@ -44,6 +44,15 @@ export * from "./ExecuteWorkflowErrorResponse";
44
44
  export * from "./ExecuteWorkflowResponse";
45
45
  export * from "./ExecuteWorkflowStreamErrorResponse";
46
46
  export * from "./ExecuteWorkflowWorkflowResultEvent";
47
+ export * from "./ExecutionArrayVellumValue";
48
+ export * from "./ExecutionChatHistoryVellumValue";
49
+ export * from "./ExecutionErrorVellumValue";
50
+ export * from "./ExecutionFunctionCallVellumValue";
51
+ export * from "./ExecutionJsonVellumValue";
52
+ export * from "./ExecutionNumberVellumValue";
53
+ export * from "./ExecutionSearchResultsVellumValue";
54
+ export * from "./ExecutionStringVellumValue";
55
+ export * from "./ExecutionVellumValue";
47
56
  export * from "./FinishReasonEnum";
48
57
  export * from "./FulfilledEnum";
49
58
  export * from "./FulfilledExecutePromptEvent";
@@ -60,6 +60,15 @@ __exportStar(require("./ExecuteWorkflowErrorResponse"), exports);
60
60
  __exportStar(require("./ExecuteWorkflowResponse"), exports);
61
61
  __exportStar(require("./ExecuteWorkflowStreamErrorResponse"), exports);
62
62
  __exportStar(require("./ExecuteWorkflowWorkflowResultEvent"), exports);
63
+ __exportStar(require("./ExecutionArrayVellumValue"), exports);
64
+ __exportStar(require("./ExecutionChatHistoryVellumValue"), exports);
65
+ __exportStar(require("./ExecutionErrorVellumValue"), exports);
66
+ __exportStar(require("./ExecutionFunctionCallVellumValue"), exports);
67
+ __exportStar(require("./ExecutionJsonVellumValue"), exports);
68
+ __exportStar(require("./ExecutionNumberVellumValue"), exports);
69
+ __exportStar(require("./ExecutionSearchResultsVellumValue"), exports);
70
+ __exportStar(require("./ExecutionStringVellumValue"), exports);
71
+ __exportStar(require("./ExecutionVellumValue"), exports);
63
72
  __exportStar(require("./FinishReasonEnum"), exports);
64
73
  __exportStar(require("./FulfilledEnum"), exports);
65
74
  __exportStar(require("./FulfilledExecutePromptEvent"), exports);
@@ -7,10 +7,10 @@ import * as core from "../../../core";
7
7
  export declare const ExecuteWorkflowRequest: core.serialization.Schema<serializers.ExecuteWorkflowRequest.Raw, Vellum.ExecuteWorkflowRequest>;
8
8
  export declare namespace ExecuteWorkflowRequest {
9
9
  interface Raw {
10
+ inputs: serializers.WorkflowRequestInputRequest.Raw[];
10
11
  workflow_deployment_id?: string | null;
11
12
  workflow_deployment_name?: string | null;
12
13
  release_tag?: string | null;
13
- inputs: serializers.WorkflowRequestInputRequest.Raw[];
14
14
  external_id?: string | null;
15
15
  }
16
16
  }
@@ -38,9 +38,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
38
38
  exports.ExecuteWorkflowRequest = void 0;
39
39
  const core = __importStar(require("../../../core"));
40
40
  exports.ExecuteWorkflowRequest = core.serialization.object({
41
+ inputs: core.serialization.list(core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../..")))).WorkflowRequestInputRequest; }))),
41
42
  workflowDeploymentId: core.serialization.property("workflow_deployment_id", core.serialization.string().optional()),
42
43
  workflowDeploymentName: core.serialization.property("workflow_deployment_name", core.serialization.string().optional()),
43
44
  releaseTag: core.serialization.property("release_tag", core.serialization.string().optional()),
44
- inputs: core.serialization.list(core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../..")))).WorkflowRequestInputRequest; }))),
45
45
  externalId: core.serialization.property("external_id", core.serialization.string().optional()),
46
46
  });
@@ -7,10 +7,10 @@ import * as core from "../../../core";
7
7
  export declare const ExecuteWorkflowStreamRequest: core.serialization.Schema<serializers.ExecuteWorkflowStreamRequest.Raw, Vellum.ExecuteWorkflowStreamRequest>;
8
8
  export declare namespace ExecuteWorkflowStreamRequest {
9
9
  interface Raw {
10
+ inputs: serializers.WorkflowRequestInputRequest.Raw[];
10
11
  workflow_deployment_id?: string | null;
11
12
  workflow_deployment_name?: string | null;
12
13
  release_tag?: string | null;
13
- inputs: serializers.WorkflowRequestInputRequest.Raw[];
14
14
  external_id?: string | null;
15
15
  event_types?: serializers.WorkflowExecutionEventType.Raw[] | null;
16
16
  }
@@ -38,10 +38,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
38
38
  exports.ExecuteWorkflowStreamRequest = void 0;
39
39
  const core = __importStar(require("../../../core"));
40
40
  exports.ExecuteWorkflowStreamRequest = core.serialization.object({
41
+ inputs: core.serialization.list(core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../..")))).WorkflowRequestInputRequest; }))),
41
42
  workflowDeploymentId: core.serialization.property("workflow_deployment_id", core.serialization.string().optional()),
42
43
  workflowDeploymentName: core.serialization.property("workflow_deployment_name", core.serialization.string().optional()),
43
44
  releaseTag: core.serialization.property("release_tag", core.serialization.string().optional()),
44
- inputs: core.serialization.list(core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../..")))).WorkflowRequestInputRequest; }))),
45
45
  externalId: core.serialization.property("external_id", core.serialization.string().optional()),
46
46
  eventTypes: core.serialization.property("event_types", core.serialization
47
47
  .list(core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../..")))).WorkflowExecutionEventType; })))
@@ -10,5 +10,6 @@ export declare namespace DeploymentProviderPayloadRequest {
10
10
  deployment_id?: string | null;
11
11
  deployment_name?: string | null;
12
12
  inputs: serializers.PromptDeploymentInputRequest.Raw[];
13
+ release_tag?: string | null;
13
14
  }
14
15
  }
@@ -41,4 +41,5 @@ exports.DeploymentProviderPayloadRequest = core.serialization.object({
41
41
  deploymentId: core.serialization.property("deployment_id", core.serialization.string().optional()),
42
42
  deploymentName: core.serialization.property("deployment_name", core.serialization.string().optional()),
43
43
  inputs: core.serialization.list(core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../../..")))).PromptDeploymentInputRequest; }))),
44
+ releaseTag: core.serialization.property("release_tag", core.serialization.string().optional()),
44
45
  });
@@ -10,5 +10,6 @@ export declare namespace ChatMessage {
10
10
  text?: string | null;
11
11
  role: serializers.ChatMessageRole.Raw;
12
12
  content?: serializers.ChatMessageContent.Raw | null;
13
+ source?: string | null;
13
14
  }
14
15
  }
@@ -41,4 +41,5 @@ exports.ChatMessage = core.serialization.object({
41
41
  text: core.serialization.string().optional(),
42
42
  role: core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).ChatMessageRole; })),
43
43
  content: core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).ChatMessageContent; })).optional(),
44
+ source: core.serialization.string().optional(),
44
45
  });
@@ -10,5 +10,6 @@ export declare namespace ChatMessageRequest {
10
10
  text?: string | null;
11
11
  role: serializers.ChatMessageRole.Raw;
12
12
  content?: serializers.ChatMessageContentRequest.Raw | null;
13
+ source?: string | null;
13
14
  }
14
15
  }
@@ -41,4 +41,5 @@ exports.ChatMessageRequest = core.serialization.object({
41
41
  text: core.serialization.string().optional(),
42
42
  role: core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).ChatMessageRole; })),
43
43
  content: core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).ChatMessageContentRequest; })).optional(),
44
+ source: core.serialization.string().optional(),
44
45
  });
@@ -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 ExecutionArrayVellumValue: core.serialization.ObjectSchema<serializers.ExecutionArrayVellumValue.Raw, Vellum.ExecutionArrayVellumValue>;
8
+ export declare namespace ExecutionArrayVellumValue {
9
+ interface Raw {
10
+ id: string;
11
+ name: string;
12
+ value?: serializers.ArrayVariableValueItem.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.ExecutionArrayVellumValue = void 0;
39
+ const core = __importStar(require("../../core"));
40
+ exports.ExecutionArrayVellumValue = core.serialization.object({
41
+ id: core.serialization.string(),
42
+ name: core.serialization.string(),
43
+ value: core.serialization
44
+ .list(core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).ArrayVariableValueItem; })))
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 ExecutionChatHistoryVellumValue: core.serialization.ObjectSchema<serializers.ExecutionChatHistoryVellumValue.Raw, Vellum.ExecutionChatHistoryVellumValue>;
8
+ export declare namespace ExecutionChatHistoryVellumValue {
9
+ interface Raw {
10
+ id: string;
11
+ name: string;
12
+ value?: serializers.ChatMessage.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.ExecutionChatHistoryVellumValue = void 0;
39
+ const core = __importStar(require("../../core"));
40
+ exports.ExecutionChatHistoryVellumValue = 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("..")))).ChatMessage; })))
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 ExecutionErrorVellumValue: core.serialization.ObjectSchema<serializers.ExecutionErrorVellumValue.Raw, Vellum.ExecutionErrorVellumValue>;
8
+ export declare namespace ExecutionErrorVellumValue {
9
+ interface Raw {
10
+ id: string;
11
+ name: string;
12
+ value?: serializers.VellumError.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.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
+ }