vellum-ai 0.8.14 → 0.8.15

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 (171) hide show
  1. package/.mock/definition/__package__.yml +69 -0
  2. package/.mock/openapi/openapi.yml +141 -0
  3. package/Client.js +9 -9
  4. package/api/resources/adHoc/client/Client.js +1 -1
  5. package/api/resources/deployments/client/Client.js +5 -5
  6. package/api/resources/documentIndexes/client/Client.js +8 -8
  7. package/api/resources/documents/client/Client.js +5 -5
  8. package/api/resources/folderEntities/client/Client.js +1 -1
  9. package/api/resources/sandboxes/client/Client.js +3 -3
  10. package/api/resources/testSuiteRuns/client/Client.js +3 -3
  11. package/api/resources/testSuites/client/Client.js +4 -4
  12. package/api/resources/workflowDeployments/client/Client.js +4 -4
  13. package/api/resources/workflowSandboxes/client/Client.js +1 -1
  14. package/api/types/ArrayVariableValue.d.ts +8 -0
  15. package/api/types/ArrayVariableValue.js +5 -0
  16. package/api/types/ArrayVariableValueItem.d.ts +1 -1
  17. package/api/types/ArrayVellumValue.d.ts +11 -0
  18. package/api/types/ArrayVellumValue.js +5 -0
  19. package/api/types/ArrayVellumValueItem.d.ts +1 -1
  20. package/api/types/ArrayVellumValueItemRequest.d.ts +1 -1
  21. package/api/types/ArrayVellumValueRequest.d.ts +11 -0
  22. package/api/types/ArrayVellumValueRequest.js +5 -0
  23. package/api/types/ChatHistoryVariableValue.d.ts +8 -0
  24. package/api/types/ChatHistoryVariableValue.js +5 -0
  25. package/api/types/ChatHistoryVellumValue.d.ts +11 -0
  26. package/api/types/ChatHistoryVellumValue.js +5 -0
  27. package/api/types/ChatHistoryVellumValueRequest.d.ts +11 -0
  28. package/api/types/ChatHistoryVellumValueRequest.js +5 -0
  29. package/api/types/SearchResultsVariableValue.d.ts +8 -0
  30. package/api/types/SearchResultsVariableValue.js +5 -0
  31. package/api/types/SearchResultsVellumValue.d.ts +11 -0
  32. package/api/types/SearchResultsVellumValue.js +5 -0
  33. package/api/types/SearchResultsVellumValueRequest.d.ts +11 -0
  34. package/api/types/SearchResultsVellumValueRequest.js +5 -0
  35. package/api/types/index.d.ts +9 -0
  36. package/api/types/index.js +9 -0
  37. package/dist/Client.js +9 -9
  38. package/dist/api/resources/adHoc/client/Client.js +1 -1
  39. package/dist/api/resources/deployments/client/Client.js +5 -5
  40. package/dist/api/resources/documentIndexes/client/Client.js +8 -8
  41. package/dist/api/resources/documents/client/Client.js +5 -5
  42. package/dist/api/resources/folderEntities/client/Client.js +1 -1
  43. package/dist/api/resources/sandboxes/client/Client.js +3 -3
  44. package/dist/api/resources/testSuiteRuns/client/Client.js +3 -3
  45. package/dist/api/resources/testSuites/client/Client.js +4 -4
  46. package/dist/api/resources/workflowDeployments/client/Client.js +4 -4
  47. package/dist/api/resources/workflowSandboxes/client/Client.js +1 -1
  48. package/dist/api/types/ArrayVariableValue.d.ts +8 -0
  49. package/dist/api/types/ArrayVariableValue.js +5 -0
  50. package/dist/api/types/ArrayVariableValueItem.d.ts +1 -1
  51. package/dist/api/types/ArrayVellumValue.d.ts +11 -0
  52. package/dist/api/types/ArrayVellumValue.js +5 -0
  53. package/dist/api/types/ArrayVellumValueItem.d.ts +1 -1
  54. package/dist/api/types/ArrayVellumValueItemRequest.d.ts +1 -1
  55. package/dist/api/types/ArrayVellumValueRequest.d.ts +11 -0
  56. package/dist/api/types/ArrayVellumValueRequest.js +5 -0
  57. package/dist/api/types/ChatHistoryVariableValue.d.ts +8 -0
  58. package/dist/api/types/ChatHistoryVariableValue.js +5 -0
  59. package/dist/api/types/ChatHistoryVellumValue.d.ts +11 -0
  60. package/dist/api/types/ChatHistoryVellumValue.js +5 -0
  61. package/dist/api/types/ChatHistoryVellumValueRequest.d.ts +11 -0
  62. package/dist/api/types/ChatHistoryVellumValueRequest.js +5 -0
  63. package/dist/api/types/SearchResultsVariableValue.d.ts +8 -0
  64. package/dist/api/types/SearchResultsVariableValue.js +5 -0
  65. package/dist/api/types/SearchResultsVellumValue.d.ts +11 -0
  66. package/dist/api/types/SearchResultsVellumValue.js +5 -0
  67. package/dist/api/types/SearchResultsVellumValueRequest.d.ts +11 -0
  68. package/dist/api/types/SearchResultsVellumValueRequest.js +5 -0
  69. package/dist/api/types/index.d.ts +9 -0
  70. package/dist/api/types/index.js +9 -0
  71. package/dist/serialization/types/ArrayVariableValue.d.ts +13 -0
  72. package/dist/serialization/types/ArrayVariableValue.js +35 -0
  73. package/dist/serialization/types/ArrayVariableValueItem.d.ts +3 -1
  74. package/dist/serialization/types/ArrayVariableValueItem.js +6 -0
  75. package/dist/serialization/types/ArrayVellumValue.d.ts +13 -0
  76. package/dist/serialization/types/ArrayVellumValue.js +35 -0
  77. package/dist/serialization/types/ArrayVellumValueItem.d.ts +3 -1
  78. package/dist/serialization/types/ArrayVellumValueItem.js +6 -0
  79. package/dist/serialization/types/ArrayVellumValueItemRequest.d.ts +3 -1
  80. package/dist/serialization/types/ArrayVellumValueItemRequest.js +6 -0
  81. package/dist/serialization/types/ArrayVellumValueRequest.d.ts +13 -0
  82. package/dist/serialization/types/ArrayVellumValueRequest.js +35 -0
  83. package/dist/serialization/types/ChatHistoryVariableValue.d.ts +14 -0
  84. package/dist/serialization/types/ChatHistoryVariableValue.js +35 -0
  85. package/dist/serialization/types/ChatHistoryVellumValue.d.ts +14 -0
  86. package/dist/serialization/types/ChatHistoryVellumValue.js +35 -0
  87. package/dist/serialization/types/ChatHistoryVellumValueRequest.d.ts +14 -0
  88. package/dist/serialization/types/ChatHistoryVellumValueRequest.js +35 -0
  89. package/dist/serialization/types/CodeExecutionNodeArrayResult.d.ts +1 -2
  90. package/dist/serialization/types/CodeExecutionNodeArrayResult.js +2 -2
  91. package/dist/serialization/types/ExecutionArrayVellumValue.d.ts +1 -2
  92. package/dist/serialization/types/ExecutionArrayVellumValue.js +2 -2
  93. package/dist/serialization/types/NamedTestCaseArrayVariableValue.d.ts +1 -2
  94. package/dist/serialization/types/NamedTestCaseArrayVariableValue.js +2 -2
  95. package/dist/serialization/types/NamedTestCaseArrayVariableValueRequest.d.ts +1 -2
  96. package/dist/serialization/types/NamedTestCaseArrayVariableValueRequest.js +2 -2
  97. package/dist/serialization/types/NodeInputCompiledArrayValue.d.ts +1 -2
  98. package/dist/serialization/types/NodeInputCompiledArrayValue.js +2 -2
  99. package/dist/serialization/types/NodeOutputCompiledArrayValue.d.ts +1 -2
  100. package/dist/serialization/types/NodeOutputCompiledArrayValue.js +2 -2
  101. package/dist/serialization/types/SearchResultsVariableValue.d.ts +14 -0
  102. package/dist/serialization/types/SearchResultsVariableValue.js +35 -0
  103. package/dist/serialization/types/SearchResultsVellumValue.d.ts +14 -0
  104. package/dist/serialization/types/SearchResultsVellumValue.js +35 -0
  105. package/dist/serialization/types/SearchResultsVellumValueRequest.d.ts +14 -0
  106. package/dist/serialization/types/SearchResultsVellumValueRequest.js +35 -0
  107. package/dist/serialization/types/TemplatingNodeArrayResult.d.ts +1 -2
  108. package/dist/serialization/types/TemplatingNodeArrayResult.js +2 -2
  109. package/dist/serialization/types/TerminalNodeArrayResult.d.ts +1 -2
  110. package/dist/serialization/types/TerminalNodeArrayResult.js +2 -2
  111. package/dist/serialization/types/TestCaseArrayVariableValue.d.ts +1 -2
  112. package/dist/serialization/types/TestCaseArrayVariableValue.js +2 -2
  113. package/dist/serialization/types/TestSuiteRunExecutionArrayOutput.d.ts +1 -2
  114. package/dist/serialization/types/TestSuiteRunExecutionArrayOutput.js +2 -2
  115. package/dist/serialization/types/WorkflowOutputArray.d.ts +1 -2
  116. package/dist/serialization/types/WorkflowOutputArray.js +2 -2
  117. package/dist/serialization/types/WorkflowResultEventOutputDataArray.d.ts +1 -2
  118. package/dist/serialization/types/WorkflowResultEventOutputDataArray.js +2 -2
  119. package/dist/serialization/types/index.d.ts +9 -0
  120. package/dist/serialization/types/index.js +9 -0
  121. package/package.json +1 -1
  122. package/serialization/types/ArrayVariableValue.d.ts +13 -0
  123. package/serialization/types/ArrayVariableValue.js +35 -0
  124. package/serialization/types/ArrayVariableValueItem.d.ts +3 -1
  125. package/serialization/types/ArrayVariableValueItem.js +6 -0
  126. package/serialization/types/ArrayVellumValue.d.ts +13 -0
  127. package/serialization/types/ArrayVellumValue.js +35 -0
  128. package/serialization/types/ArrayVellumValueItem.d.ts +3 -1
  129. package/serialization/types/ArrayVellumValueItem.js +6 -0
  130. package/serialization/types/ArrayVellumValueItemRequest.d.ts +3 -1
  131. package/serialization/types/ArrayVellumValueItemRequest.js +6 -0
  132. package/serialization/types/ArrayVellumValueRequest.d.ts +13 -0
  133. package/serialization/types/ArrayVellumValueRequest.js +35 -0
  134. package/serialization/types/ChatHistoryVariableValue.d.ts +14 -0
  135. package/serialization/types/ChatHistoryVariableValue.js +35 -0
  136. package/serialization/types/ChatHistoryVellumValue.d.ts +14 -0
  137. package/serialization/types/ChatHistoryVellumValue.js +35 -0
  138. package/serialization/types/ChatHistoryVellumValueRequest.d.ts +14 -0
  139. package/serialization/types/ChatHistoryVellumValueRequest.js +35 -0
  140. package/serialization/types/CodeExecutionNodeArrayResult.d.ts +1 -2
  141. package/serialization/types/CodeExecutionNodeArrayResult.js +2 -2
  142. package/serialization/types/ExecutionArrayVellumValue.d.ts +1 -2
  143. package/serialization/types/ExecutionArrayVellumValue.js +2 -2
  144. package/serialization/types/NamedTestCaseArrayVariableValue.d.ts +1 -2
  145. package/serialization/types/NamedTestCaseArrayVariableValue.js +2 -2
  146. package/serialization/types/NamedTestCaseArrayVariableValueRequest.d.ts +1 -2
  147. package/serialization/types/NamedTestCaseArrayVariableValueRequest.js +2 -2
  148. package/serialization/types/NodeInputCompiledArrayValue.d.ts +1 -2
  149. package/serialization/types/NodeInputCompiledArrayValue.js +2 -2
  150. package/serialization/types/NodeOutputCompiledArrayValue.d.ts +1 -2
  151. package/serialization/types/NodeOutputCompiledArrayValue.js +2 -2
  152. package/serialization/types/SearchResultsVariableValue.d.ts +14 -0
  153. package/serialization/types/SearchResultsVariableValue.js +35 -0
  154. package/serialization/types/SearchResultsVellumValue.d.ts +14 -0
  155. package/serialization/types/SearchResultsVellumValue.js +35 -0
  156. package/serialization/types/SearchResultsVellumValueRequest.d.ts +14 -0
  157. package/serialization/types/SearchResultsVellumValueRequest.js +35 -0
  158. package/serialization/types/TemplatingNodeArrayResult.d.ts +1 -2
  159. package/serialization/types/TemplatingNodeArrayResult.js +2 -2
  160. package/serialization/types/TerminalNodeArrayResult.d.ts +1 -2
  161. package/serialization/types/TerminalNodeArrayResult.js +2 -2
  162. package/serialization/types/TestCaseArrayVariableValue.d.ts +1 -2
  163. package/serialization/types/TestCaseArrayVariableValue.js +2 -2
  164. package/serialization/types/TestSuiteRunExecutionArrayOutput.d.ts +1 -2
  165. package/serialization/types/TestSuiteRunExecutionArrayOutput.js +2 -2
  166. package/serialization/types/WorkflowOutputArray.d.ts +1 -2
  167. package/serialization/types/WorkflowOutputArray.js +2 -2
  168. package/serialization/types/WorkflowResultEventOutputDataArray.d.ts +1 -2
  169. package/serialization/types/WorkflowResultEventOutputDataArray.js +2 -2
  170. package/serialization/types/index.d.ts +9 -0
  171. package/serialization/types/index.js +9 -0
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.SearchResultsVellumValue = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ const SearchResult_1 = require("./SearchResult");
32
+ exports.SearchResultsVellumValue = core.serialization.object({
33
+ type: core.serialization.stringLiteral("SEARCH_RESULTS"),
34
+ value: core.serialization.list(SearchResult_1.SearchResult).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 "../index";
5
+ import * as Vellum from "../../api/index";
6
+ import * as core from "../../core";
7
+ import { SearchResultRequest } from "./SearchResultRequest";
8
+ export declare const SearchResultsVellumValueRequest: core.serialization.ObjectSchema<serializers.SearchResultsVellumValueRequest.Raw, Vellum.SearchResultsVellumValueRequest>;
9
+ export declare namespace SearchResultsVellumValueRequest {
10
+ interface Raw {
11
+ type: "SEARCH_RESULTS";
12
+ value?: SearchResultRequest.Raw[] | 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.SearchResultsVellumValueRequest = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ const SearchResultRequest_1 = require("./SearchResultRequest");
32
+ exports.SearchResultsVellumValueRequest = core.serialization.object({
33
+ type: core.serialization.stringLiteral("SEARCH_RESULTS"),
34
+ value: core.serialization.list(SearchResultRequest_1.SearchResultRequest).optional(),
35
+ });
@@ -4,12 +4,11 @@
4
4
  import * as serializers from "../index";
5
5
  import * as Vellum from "../../api/index";
6
6
  import * as core from "../../core";
7
- import { ArrayVariableValueItem } from "./ArrayVariableValueItem";
8
7
  export declare const TemplatingNodeArrayResult: core.serialization.ObjectSchema<serializers.TemplatingNodeArrayResult.Raw, Vellum.TemplatingNodeArrayResult>;
9
8
  export declare namespace TemplatingNodeArrayResult {
10
9
  interface Raw {
11
10
  id: string;
12
11
  type: "ARRAY";
13
- value?: ArrayVariableValueItem.Raw[] | null;
12
+ value?: serializers.ArrayVariableValueItem.Raw[] | null;
14
13
  }
15
14
  }
@@ -27,10 +27,10 @@ var __importStar = (this && this.__importStar) || function (mod) {
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.TemplatingNodeArrayResult = void 0;
30
+ const serializers = __importStar(require("../index"));
30
31
  const core = __importStar(require("../../core"));
31
- const ArrayVariableValueItem_1 = require("./ArrayVariableValueItem");
32
32
  exports.TemplatingNodeArrayResult = core.serialization.object({
33
33
  id: core.serialization.string(),
34
34
  type: core.serialization.stringLiteral("ARRAY"),
35
- value: core.serialization.list(ArrayVariableValueItem_1.ArrayVariableValueItem).optional(),
35
+ value: core.serialization.list(core.serialization.lazy(() => serializers.ArrayVariableValueItem)).optional(),
36
36
  });
@@ -4,13 +4,12 @@
4
4
  import * as serializers from "../index";
5
5
  import * as Vellum from "../../api/index";
6
6
  import * as core from "../../core";
7
- import { ArrayVariableValueItem } from "./ArrayVariableValueItem";
8
7
  export declare const TerminalNodeArrayResult: core.serialization.ObjectSchema<serializers.TerminalNodeArrayResult.Raw, Vellum.TerminalNodeArrayResult>;
9
8
  export declare namespace TerminalNodeArrayResult {
10
9
  interface Raw {
11
10
  id?: string | null;
12
11
  name: string;
13
12
  type: "ARRAY";
14
- value?: ArrayVariableValueItem.Raw[] | null;
13
+ value?: serializers.ArrayVariableValueItem.Raw[] | null;
15
14
  }
16
15
  }
@@ -27,11 +27,11 @@ var __importStar = (this && this.__importStar) || function (mod) {
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.TerminalNodeArrayResult = void 0;
30
+ const serializers = __importStar(require("../index"));
30
31
  const core = __importStar(require("../../core"));
31
- const ArrayVariableValueItem_1 = require("./ArrayVariableValueItem");
32
32
  exports.TerminalNodeArrayResult = core.serialization.object({
33
33
  id: core.serialization.string().optional(),
34
34
  name: core.serialization.string(),
35
35
  type: core.serialization.stringLiteral("ARRAY"),
36
- value: core.serialization.list(ArrayVariableValueItem_1.ArrayVariableValueItem).optional(),
36
+ value: core.serialization.list(core.serialization.lazy(() => serializers.ArrayVariableValueItem)).optional(),
37
37
  });
@@ -4,13 +4,12 @@
4
4
  import * as serializers from "../index";
5
5
  import * as Vellum from "../../api/index";
6
6
  import * as core from "../../core";
7
- import { ArrayVellumValueItem } from "./ArrayVellumValueItem";
8
7
  export declare const TestCaseArrayVariableValue: core.serialization.ObjectSchema<serializers.TestCaseArrayVariableValue.Raw, Vellum.TestCaseArrayVariableValue>;
9
8
  export declare namespace TestCaseArrayVariableValue {
10
9
  interface Raw {
11
10
  variable_id: string;
12
11
  name: string;
13
12
  type: "ARRAY";
14
- value?: ArrayVellumValueItem.Raw[] | null;
13
+ value?: serializers.ArrayVellumValueItem.Raw[] | null;
15
14
  }
16
15
  }
@@ -27,11 +27,11 @@ var __importStar = (this && this.__importStar) || function (mod) {
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.TestCaseArrayVariableValue = void 0;
30
+ const serializers = __importStar(require("../index"));
30
31
  const core = __importStar(require("../../core"));
31
- const ArrayVellumValueItem_1 = require("./ArrayVellumValueItem");
32
32
  exports.TestCaseArrayVariableValue = core.serialization.object({
33
33
  variableId: core.serialization.property("variable_id", core.serialization.string()),
34
34
  name: core.serialization.string(),
35
35
  type: core.serialization.stringLiteral("ARRAY"),
36
- value: core.serialization.list(ArrayVellumValueItem_1.ArrayVellumValueItem).optional(),
36
+ value: core.serialization.list(core.serialization.lazy(() => serializers.ArrayVellumValueItem)).optional(),
37
37
  });
@@ -4,13 +4,12 @@
4
4
  import * as serializers from "../index";
5
5
  import * as Vellum from "../../api/index";
6
6
  import * as core from "../../core";
7
- import { ArrayVellumValueItem } from "./ArrayVellumValueItem";
8
7
  export declare const TestSuiteRunExecutionArrayOutput: core.serialization.ObjectSchema<serializers.TestSuiteRunExecutionArrayOutput.Raw, Vellum.TestSuiteRunExecutionArrayOutput>;
9
8
  export declare namespace TestSuiteRunExecutionArrayOutput {
10
9
  interface Raw {
11
10
  name: string;
12
11
  type: "ARRAY";
13
- value?: ArrayVellumValueItem.Raw[] | null;
12
+ value?: serializers.ArrayVellumValueItem.Raw[] | null;
14
13
  output_variable_id: string;
15
14
  }
16
15
  }
@@ -27,11 +27,11 @@ var __importStar = (this && this.__importStar) || function (mod) {
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.TestSuiteRunExecutionArrayOutput = void 0;
30
+ const serializers = __importStar(require("../index"));
30
31
  const core = __importStar(require("../../core"));
31
- const ArrayVellumValueItem_1 = require("./ArrayVellumValueItem");
32
32
  exports.TestSuiteRunExecutionArrayOutput = core.serialization.object({
33
33
  name: core.serialization.string(),
34
34
  type: core.serialization.stringLiteral("ARRAY"),
35
- value: core.serialization.list(ArrayVellumValueItem_1.ArrayVellumValueItem).optional(),
35
+ value: core.serialization.list(core.serialization.lazy(() => serializers.ArrayVellumValueItem)).optional(),
36
36
  outputVariableId: core.serialization.property("output_variable_id", core.serialization.string()),
37
37
  });
@@ -4,13 +4,12 @@
4
4
  import * as serializers from "../index";
5
5
  import * as Vellum from "../../api/index";
6
6
  import * as core from "../../core";
7
- import { ArrayVellumValueItem } from "./ArrayVellumValueItem";
8
7
  export declare const WorkflowOutputArray: core.serialization.ObjectSchema<serializers.WorkflowOutputArray.Raw, Vellum.WorkflowOutputArray>;
9
8
  export declare namespace WorkflowOutputArray {
10
9
  interface Raw {
11
10
  id: string;
12
11
  name: string;
13
12
  type: "ARRAY";
14
- value?: ArrayVellumValueItem.Raw[] | null;
13
+ value?: serializers.ArrayVellumValueItem.Raw[] | null;
15
14
  }
16
15
  }
@@ -27,11 +27,11 @@ var __importStar = (this && this.__importStar) || function (mod) {
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.WorkflowOutputArray = void 0;
30
+ const serializers = __importStar(require("../index"));
30
31
  const core = __importStar(require("../../core"));
31
- const ArrayVellumValueItem_1 = require("./ArrayVellumValueItem");
32
32
  exports.WorkflowOutputArray = core.serialization.object({
33
33
  id: core.serialization.string(),
34
34
  name: core.serialization.string(),
35
35
  type: core.serialization.stringLiteral("ARRAY"),
36
- value: core.serialization.list(ArrayVellumValueItem_1.ArrayVellumValueItem).optional(),
36
+ value: core.serialization.list(core.serialization.lazy(() => serializers.ArrayVellumValueItem)).optional(),
37
37
  });
@@ -5,7 +5,6 @@ import * as serializers from "../index";
5
5
  import * as Vellum from "../../api/index";
6
6
  import * as core from "../../core";
7
7
  import { WorkflowNodeResultEventState } from "./WorkflowNodeResultEventState";
8
- import { ArrayVariableValueItem } from "./ArrayVariableValueItem";
9
8
  export declare const WorkflowResultEventOutputDataArray: core.serialization.ObjectSchema<serializers.WorkflowResultEventOutputDataArray.Raw, Vellum.WorkflowResultEventOutputDataArray>;
10
9
  export declare namespace WorkflowResultEventOutputDataArray {
11
10
  interface Raw {
@@ -15,6 +14,6 @@ export declare namespace WorkflowResultEventOutputDataArray {
15
14
  node_id: string;
16
15
  delta?: string | null;
17
16
  type: "ARRAY";
18
- value?: ArrayVariableValueItem.Raw[] | null;
17
+ value?: serializers.ArrayVariableValueItem.Raw[] | null;
19
18
  }
20
19
  }
@@ -27,9 +27,9 @@ var __importStar = (this && this.__importStar) || function (mod) {
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.WorkflowResultEventOutputDataArray = void 0;
30
+ const serializers = __importStar(require("../index"));
30
31
  const core = __importStar(require("../../core"));
31
32
  const WorkflowNodeResultEventState_1 = require("./WorkflowNodeResultEventState");
32
- const ArrayVariableValueItem_1 = require("./ArrayVariableValueItem");
33
33
  exports.WorkflowResultEventOutputDataArray = core.serialization.object({
34
34
  id: core.serialization.string().optional(),
35
35
  name: core.serialization.string(),
@@ -37,5 +37,5 @@ exports.WorkflowResultEventOutputDataArray = core.serialization.object({
37
37
  nodeId: core.serialization.property("node_id", core.serialization.string()),
38
38
  delta: core.serialization.string().optional(),
39
39
  type: core.serialization.stringLiteral("ARRAY"),
40
- value: core.serialization.list(ArrayVariableValueItem_1.ArrayVariableValueItem).optional(),
40
+ value: core.serialization.list(core.serialization.lazy(() => serializers.ArrayVariableValueItem)).optional(),
41
41
  });
@@ -11,9 +11,12 @@ export * from "./ArrayChatMessageContent";
11
11
  export * from "./ArrayChatMessageContentItem";
12
12
  export * from "./ArrayChatMessageContentItemRequest";
13
13
  export * from "./ArrayChatMessageContentRequest";
14
+ export * from "./ArrayVariableValue";
14
15
  export * from "./ArrayVariableValueItem";
16
+ export * from "./ArrayVellumValue";
15
17
  export * from "./ArrayVellumValueItem";
16
18
  export * from "./ArrayVellumValueItemRequest";
19
+ export * from "./ArrayVellumValueRequest";
17
20
  export * from "./BasicVectorizerIntfloatMultilingualE5Large";
18
21
  export * from "./BasicVectorizerIntfloatMultilingualE5LargeRequest";
19
22
  export * from "./BasicVectorizerSentenceTransformersMultiQaMpnetBaseCosV1";
@@ -21,6 +24,9 @@ export * from "./BasicVectorizerSentenceTransformersMultiQaMpnetBaseCosV1Request
21
24
  export * from "./BasicVectorizerSentenceTransformersMultiQaMpnetBaseDotV1";
22
25
  export * from "./BasicVectorizerSentenceTransformersMultiQaMpnetBaseDotV1Request";
23
26
  export * from "./ChatHistoryInputRequest";
27
+ export * from "./ChatHistoryVariableValue";
28
+ export * from "./ChatHistoryVellumValue";
29
+ export * from "./ChatHistoryVellumValueRequest";
24
30
  export * from "./ChatMessage";
25
31
  export * from "./ChatMessageContent";
26
32
  export * from "./ChatMessageContentRequest";
@@ -255,6 +261,9 @@ export * from "./SearchResultMetaRequest";
255
261
  export * from "./ComponentsSchemasPdfSearchResultMetaSource";
256
262
  export * from "./ComponentsSchemasPdfSearchResultMetaSourceRequest";
257
263
  export * from "./SearchResultRequest";
264
+ export * from "./SearchResultsVariableValue";
265
+ export * from "./SearchResultsVellumValue";
266
+ export * from "./SearchResultsVellumValueRequest";
258
267
  export * from "./SearchWeightsRequest";
259
268
  export * from "./SentenceChunkerConfig";
260
269
  export * from "./SentenceChunkerConfigRequest";
@@ -27,9 +27,12 @@ __exportStar(require("./ArrayChatMessageContent"), exports);
27
27
  __exportStar(require("./ArrayChatMessageContentItem"), exports);
28
28
  __exportStar(require("./ArrayChatMessageContentItemRequest"), exports);
29
29
  __exportStar(require("./ArrayChatMessageContentRequest"), exports);
30
+ __exportStar(require("./ArrayVariableValue"), exports);
30
31
  __exportStar(require("./ArrayVariableValueItem"), exports);
32
+ __exportStar(require("./ArrayVellumValue"), exports);
31
33
  __exportStar(require("./ArrayVellumValueItem"), exports);
32
34
  __exportStar(require("./ArrayVellumValueItemRequest"), exports);
35
+ __exportStar(require("./ArrayVellumValueRequest"), exports);
33
36
  __exportStar(require("./BasicVectorizerIntfloatMultilingualE5Large"), exports);
34
37
  __exportStar(require("./BasicVectorizerIntfloatMultilingualE5LargeRequest"), exports);
35
38
  __exportStar(require("./BasicVectorizerSentenceTransformersMultiQaMpnetBaseCosV1"), exports);
@@ -37,6 +40,9 @@ __exportStar(require("./BasicVectorizerSentenceTransformersMultiQaMpnetBaseCosV1
37
40
  __exportStar(require("./BasicVectorizerSentenceTransformersMultiQaMpnetBaseDotV1"), exports);
38
41
  __exportStar(require("./BasicVectorizerSentenceTransformersMultiQaMpnetBaseDotV1Request"), exports);
39
42
  __exportStar(require("./ChatHistoryInputRequest"), exports);
43
+ __exportStar(require("./ChatHistoryVariableValue"), exports);
44
+ __exportStar(require("./ChatHistoryVellumValue"), exports);
45
+ __exportStar(require("./ChatHistoryVellumValueRequest"), exports);
40
46
  __exportStar(require("./ChatMessage"), exports);
41
47
  __exportStar(require("./ChatMessageContent"), exports);
42
48
  __exportStar(require("./ChatMessageContentRequest"), exports);
@@ -271,6 +277,9 @@ __exportStar(require("./SearchResultMetaRequest"), exports);
271
277
  __exportStar(require("./ComponentsSchemasPdfSearchResultMetaSource"), exports);
272
278
  __exportStar(require("./ComponentsSchemasPdfSearchResultMetaSourceRequest"), exports);
273
279
  __exportStar(require("./SearchResultRequest"), exports);
280
+ __exportStar(require("./SearchResultsVariableValue"), exports);
281
+ __exportStar(require("./SearchResultsVellumValue"), exports);
282
+ __exportStar(require("./SearchResultsVellumValueRequest"), exports);
274
283
  __exportStar(require("./SearchWeightsRequest"), exports);
275
284
  __exportStar(require("./SentenceChunkerConfig"), exports);
276
285
  __exportStar(require("./SentenceChunkerConfigRequest"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vellum-ai",
3
- "version": "0.8.14",
3
+ "version": "0.8.15",
4
4
  "private": false,
5
5
  "repository": "https://github.com/vellum-ai/vellum-client-node",
6
6
  "license": "MIT",
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index";
5
+ import * as Vellum from "../../api/index";
6
+ import * as core from "../../core";
7
+ export declare const ArrayVariableValue: core.serialization.ObjectSchema<serializers.ArrayVariableValue.Raw, Vellum.ArrayVariableValue>;
8
+ export declare namespace ArrayVariableValue {
9
+ interface Raw {
10
+ type: "ARRAY";
11
+ value?: serializers.ArrayVariableValueItem.Raw[] | null;
12
+ }
13
+ }
@@ -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.ArrayVariableValue = void 0;
30
+ const serializers = __importStar(require("../index"));
31
+ const core = __importStar(require("../../core"));
32
+ exports.ArrayVariableValue = core.serialization.object({
33
+ type: core.serialization.stringLiteral("ARRAY"),
34
+ value: core.serialization.list(core.serialization.lazy(() => serializers.ArrayVariableValueItem)).optional(),
35
+ });
@@ -10,7 +10,9 @@ import { JsonVariableValue } from "./JsonVariableValue";
10
10
  import { ErrorVariableValue } from "./ErrorVariableValue";
11
11
  import { FunctionCallVariableValue } from "./FunctionCallVariableValue";
12
12
  import { ImageVariableValue } from "./ImageVariableValue";
13
+ import { ChatHistoryVariableValue } from "./ChatHistoryVariableValue";
14
+ import { SearchResultsVariableValue } from "./SearchResultsVariableValue";
13
15
  export declare const ArrayVariableValueItem: core.serialization.Schema<serializers.ArrayVariableValueItem.Raw, Vellum.ArrayVariableValueItem>;
14
16
  export declare namespace ArrayVariableValueItem {
15
- type Raw = StringVariableValue.Raw | NumberVariableValue.Raw | JsonVariableValue.Raw | ErrorVariableValue.Raw | FunctionCallVariableValue.Raw | ImageVariableValue.Raw;
17
+ type Raw = StringVariableValue.Raw | NumberVariableValue.Raw | JsonVariableValue.Raw | ErrorVariableValue.Raw | FunctionCallVariableValue.Raw | ImageVariableValue.Raw | ChatHistoryVariableValue.Raw | SearchResultsVariableValue.Raw | serializers.ArrayVariableValue.Raw;
16
18
  }
@@ -27,6 +27,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.ArrayVariableValueItem = void 0;
30
+ const serializers = __importStar(require("../index"));
30
31
  const core = __importStar(require("../../core"));
31
32
  const StringVariableValue_1 = require("./StringVariableValue");
32
33
  const NumberVariableValue_1 = require("./NumberVariableValue");
@@ -34,6 +35,8 @@ const JsonVariableValue_1 = require("./JsonVariableValue");
34
35
  const ErrorVariableValue_1 = require("./ErrorVariableValue");
35
36
  const FunctionCallVariableValue_1 = require("./FunctionCallVariableValue");
36
37
  const ImageVariableValue_1 = require("./ImageVariableValue");
38
+ const ChatHistoryVariableValue_1 = require("./ChatHistoryVariableValue");
39
+ const SearchResultsVariableValue_1 = require("./SearchResultsVariableValue");
37
40
  exports.ArrayVariableValueItem = core.serialization.undiscriminatedUnion([
38
41
  StringVariableValue_1.StringVariableValue,
39
42
  NumberVariableValue_1.NumberVariableValue,
@@ -41,4 +44,7 @@ exports.ArrayVariableValueItem = core.serialization.undiscriminatedUnion([
41
44
  ErrorVariableValue_1.ErrorVariableValue,
42
45
  FunctionCallVariableValue_1.FunctionCallVariableValue,
43
46
  ImageVariableValue_1.ImageVariableValue,
47
+ ChatHistoryVariableValue_1.ChatHistoryVariableValue,
48
+ SearchResultsVariableValue_1.SearchResultsVariableValue,
49
+ core.serialization.lazyObject(() => serializers.ArrayVariableValue),
44
50
  ]);
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index";
5
+ import * as Vellum from "../../api/index";
6
+ import * as core from "../../core";
7
+ export declare const ArrayVellumValue: core.serialization.ObjectSchema<serializers.ArrayVellumValue.Raw, Vellum.ArrayVellumValue>;
8
+ export declare namespace ArrayVellumValue {
9
+ interface Raw {
10
+ type: "ARRAY";
11
+ value?: serializers.ArrayVellumValueItem.Raw[] | null;
12
+ }
13
+ }
@@ -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.ArrayVellumValue = void 0;
30
+ const serializers = __importStar(require("../index"));
31
+ const core = __importStar(require("../../core"));
32
+ exports.ArrayVellumValue = core.serialization.object({
33
+ type: core.serialization.stringLiteral("ARRAY"),
34
+ value: core.serialization.list(core.serialization.lazy(() => serializers.ArrayVellumValueItem)).optional(),
35
+ });
@@ -10,7 +10,9 @@ import { JsonVellumValue } from "./JsonVellumValue";
10
10
  import { ImageVellumValue } from "./ImageVellumValue";
11
11
  import { FunctionCallVellumValue } from "./FunctionCallVellumValue";
12
12
  import { ErrorVellumValue } from "./ErrorVellumValue";
13
+ import { ChatHistoryVellumValue } from "./ChatHistoryVellumValue";
14
+ import { SearchResultsVellumValue } from "./SearchResultsVellumValue";
13
15
  export declare const ArrayVellumValueItem: core.serialization.Schema<serializers.ArrayVellumValueItem.Raw, Vellum.ArrayVellumValueItem>;
14
16
  export declare namespace ArrayVellumValueItem {
15
- type Raw = StringVellumValue.Raw | NumberVellumValue.Raw | JsonVellumValue.Raw | ImageVellumValue.Raw | FunctionCallVellumValue.Raw | ErrorVellumValue.Raw;
17
+ type Raw = StringVellumValue.Raw | NumberVellumValue.Raw | JsonVellumValue.Raw | ImageVellumValue.Raw | FunctionCallVellumValue.Raw | ErrorVellumValue.Raw | ChatHistoryVellumValue.Raw | SearchResultsVellumValue.Raw | serializers.ArrayVellumValue.Raw;
16
18
  }
@@ -27,6 +27,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.ArrayVellumValueItem = void 0;
30
+ const serializers = __importStar(require("../index"));
30
31
  const core = __importStar(require("../../core"));
31
32
  const StringVellumValue_1 = require("./StringVellumValue");
32
33
  const NumberVellumValue_1 = require("./NumberVellumValue");
@@ -34,6 +35,8 @@ const JsonVellumValue_1 = require("./JsonVellumValue");
34
35
  const ImageVellumValue_1 = require("./ImageVellumValue");
35
36
  const FunctionCallVellumValue_1 = require("./FunctionCallVellumValue");
36
37
  const ErrorVellumValue_1 = require("./ErrorVellumValue");
38
+ const ChatHistoryVellumValue_1 = require("./ChatHistoryVellumValue");
39
+ const SearchResultsVellumValue_1 = require("./SearchResultsVellumValue");
37
40
  exports.ArrayVellumValueItem = core.serialization.undiscriminatedUnion([
38
41
  StringVellumValue_1.StringVellumValue,
39
42
  NumberVellumValue_1.NumberVellumValue,
@@ -41,4 +44,7 @@ exports.ArrayVellumValueItem = core.serialization.undiscriminatedUnion([
41
44
  ImageVellumValue_1.ImageVellumValue,
42
45
  FunctionCallVellumValue_1.FunctionCallVellumValue,
43
46
  ErrorVellumValue_1.ErrorVellumValue,
47
+ ChatHistoryVellumValue_1.ChatHistoryVellumValue,
48
+ SearchResultsVellumValue_1.SearchResultsVellumValue,
49
+ core.serialization.lazyObject(() => serializers.ArrayVellumValue),
44
50
  ]);
@@ -10,7 +10,9 @@ import { JsonVellumValueRequest } from "./JsonVellumValueRequest";
10
10
  import { ImageVellumValueRequest } from "./ImageVellumValueRequest";
11
11
  import { FunctionCallVellumValueRequest } from "./FunctionCallVellumValueRequest";
12
12
  import { ErrorVellumValueRequest } from "./ErrorVellumValueRequest";
13
+ import { ChatHistoryVellumValueRequest } from "./ChatHistoryVellumValueRequest";
14
+ import { SearchResultsVellumValueRequest } from "./SearchResultsVellumValueRequest";
13
15
  export declare const ArrayVellumValueItemRequest: core.serialization.Schema<serializers.ArrayVellumValueItemRequest.Raw, Vellum.ArrayVellumValueItemRequest>;
14
16
  export declare namespace ArrayVellumValueItemRequest {
15
- type Raw = StringVellumValueRequest.Raw | NumberVellumValueRequest.Raw | JsonVellumValueRequest.Raw | ImageVellumValueRequest.Raw | FunctionCallVellumValueRequest.Raw | ErrorVellumValueRequest.Raw;
17
+ type Raw = StringVellumValueRequest.Raw | NumberVellumValueRequest.Raw | JsonVellumValueRequest.Raw | ImageVellumValueRequest.Raw | FunctionCallVellumValueRequest.Raw | ErrorVellumValueRequest.Raw | ChatHistoryVellumValueRequest.Raw | SearchResultsVellumValueRequest.Raw | serializers.ArrayVellumValueRequest.Raw;
16
18
  }
@@ -27,6 +27,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.ArrayVellumValueItemRequest = void 0;
30
+ const serializers = __importStar(require("../index"));
30
31
  const core = __importStar(require("../../core"));
31
32
  const StringVellumValueRequest_1 = require("./StringVellumValueRequest");
32
33
  const NumberVellumValueRequest_1 = require("./NumberVellumValueRequest");
@@ -34,6 +35,8 @@ const JsonVellumValueRequest_1 = require("./JsonVellumValueRequest");
34
35
  const ImageVellumValueRequest_1 = require("./ImageVellumValueRequest");
35
36
  const FunctionCallVellumValueRequest_1 = require("./FunctionCallVellumValueRequest");
36
37
  const ErrorVellumValueRequest_1 = require("./ErrorVellumValueRequest");
38
+ const ChatHistoryVellumValueRequest_1 = require("./ChatHistoryVellumValueRequest");
39
+ const SearchResultsVellumValueRequest_1 = require("./SearchResultsVellumValueRequest");
37
40
  exports.ArrayVellumValueItemRequest = core.serialization.undiscriminatedUnion([
38
41
  StringVellumValueRequest_1.StringVellumValueRequest,
39
42
  NumberVellumValueRequest_1.NumberVellumValueRequest,
@@ -41,4 +44,7 @@ exports.ArrayVellumValueItemRequest = core.serialization.undiscriminatedUnion([
41
44
  ImageVellumValueRequest_1.ImageVellumValueRequest,
42
45
  FunctionCallVellumValueRequest_1.FunctionCallVellumValueRequest,
43
46
  ErrorVellumValueRequest_1.ErrorVellumValueRequest,
47
+ ChatHistoryVellumValueRequest_1.ChatHistoryVellumValueRequest,
48
+ SearchResultsVellumValueRequest_1.SearchResultsVellumValueRequest,
49
+ core.serialization.lazyObject(() => serializers.ArrayVellumValueRequest),
44
50
  ]);
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index";
5
+ import * as Vellum from "../../api/index";
6
+ import * as core from "../../core";
7
+ export declare const ArrayVellumValueRequest: core.serialization.ObjectSchema<serializers.ArrayVellumValueRequest.Raw, Vellum.ArrayVellumValueRequest>;
8
+ export declare namespace ArrayVellumValueRequest {
9
+ interface Raw {
10
+ type: "ARRAY";
11
+ value?: serializers.ArrayVellumValueItemRequest.Raw[] | null;
12
+ }
13
+ }
@@ -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.ArrayVellumValueRequest = void 0;
30
+ const serializers = __importStar(require("../index"));
31
+ const core = __importStar(require("../../core"));
32
+ exports.ArrayVellumValueRequest = core.serialization.object({
33
+ type: core.serialization.stringLiteral("ARRAY"),
34
+ value: core.serialization.list(core.serialization.lazy(() => serializers.ArrayVellumValueItemRequest)).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 "../index";
5
+ import * as Vellum from "../../api/index";
6
+ import * as core from "../../core";
7
+ import { ChatMessage } from "./ChatMessage";
8
+ export declare const ChatHistoryVariableValue: core.serialization.ObjectSchema<serializers.ChatHistoryVariableValue.Raw, Vellum.ChatHistoryVariableValue>;
9
+ export declare namespace ChatHistoryVariableValue {
10
+ interface Raw {
11
+ type: "CHAT_HISTORY";
12
+ value?: ChatMessage.Raw[] | null;
13
+ }
14
+ }