vellum-ai 0.8.14 → 0.8.16

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
@@ -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
+ }
@@ -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.ChatHistoryVariableValue = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ const ChatMessage_1 = require("./ChatMessage");
32
+ exports.ChatHistoryVariableValue = core.serialization.object({
33
+ type: core.serialization.stringLiteral("CHAT_HISTORY"),
34
+ value: core.serialization.list(ChatMessage_1.ChatMessage).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 ChatHistoryVellumValue: core.serialization.ObjectSchema<serializers.ChatHistoryVellumValue.Raw, Vellum.ChatHistoryVellumValue>;
9
+ export declare namespace ChatHistoryVellumValue {
10
+ interface Raw {
11
+ type: "CHAT_HISTORY";
12
+ value?: ChatMessage.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.ChatHistoryVellumValue = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ const ChatMessage_1 = require("./ChatMessage");
32
+ exports.ChatHistoryVellumValue = core.serialization.object({
33
+ type: core.serialization.stringLiteral("CHAT_HISTORY"),
34
+ value: core.serialization.list(ChatMessage_1.ChatMessage).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 { ChatMessageRequest } from "./ChatMessageRequest";
8
+ export declare const ChatHistoryVellumValueRequest: core.serialization.ObjectSchema<serializers.ChatHistoryVellumValueRequest.Raw, Vellum.ChatHistoryVellumValueRequest>;
9
+ export declare namespace ChatHistoryVellumValueRequest {
10
+ interface Raw {
11
+ type: "CHAT_HISTORY";
12
+ value?: ChatMessageRequest.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.ChatHistoryVellumValueRequest = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ const ChatMessageRequest_1 = require("./ChatMessageRequest");
32
+ exports.ChatHistoryVellumValueRequest = core.serialization.object({
33
+ type: core.serialization.stringLiteral("CHAT_HISTORY"),
34
+ value: core.serialization.list(ChatMessageRequest_1.ChatMessageRequest).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 CodeExecutionNodeArrayResult: core.serialization.ObjectSchema<serializers.CodeExecutionNodeArrayResult.Raw, Vellum.CodeExecutionNodeArrayResult>;
9
8
  export declare namespace CodeExecutionNodeArrayResult {
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.CodeExecutionNodeArrayResult = void 0;
30
+ const serializers = __importStar(require("../index"));
30
31
  const core = __importStar(require("../../core"));
31
- const ArrayVariableValueItem_1 = require("./ArrayVariableValueItem");
32
32
  exports.CodeExecutionNodeArrayResult = 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 { ArrayVellumValueItem } from "./ArrayVellumValueItem";
8
7
  export declare const ExecutionArrayVellumValue: core.serialization.ObjectSchema<serializers.ExecutionArrayVellumValue.Raw, Vellum.ExecutionArrayVellumValue>;
9
8
  export declare namespace ExecutionArrayVellumValue {
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.ExecutionArrayVellumValue = void 0;
30
+ const serializers = __importStar(require("../index"));
30
31
  const core = __importStar(require("../../core"));
31
- const ArrayVellumValueItem_1 = require("./ArrayVellumValueItem");
32
32
  exports.ExecutionArrayVellumValue = 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
  });
@@ -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 { ArrayVellumValueItem } from "./ArrayVellumValueItem";
8
7
  export declare const NamedTestCaseArrayVariableValue: core.serialization.ObjectSchema<serializers.NamedTestCaseArrayVariableValue.Raw, Vellum.NamedTestCaseArrayVariableValue>;
9
8
  export declare namespace NamedTestCaseArrayVariableValue {
10
9
  interface Raw {
11
10
  type: "ARRAY";
12
- value?: ArrayVellumValueItem.Raw[] | null;
11
+ value?: serializers.ArrayVellumValueItem.Raw[] | null;
13
12
  name: string;
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.NamedTestCaseArrayVariableValue = void 0;
30
+ const serializers = __importStar(require("../index"));
30
31
  const core = __importStar(require("../../core"));
31
- const ArrayVellumValueItem_1 = require("./ArrayVellumValueItem");
32
32
  exports.NamedTestCaseArrayVariableValue = core.serialization.object({
33
33
  type: core.serialization.stringLiteral("ARRAY"),
34
- value: core.serialization.list(ArrayVellumValueItem_1.ArrayVellumValueItem).optional(),
34
+ value: core.serialization.list(core.serialization.lazy(() => serializers.ArrayVellumValueItem)).optional(),
35
35
  name: core.serialization.string(),
36
36
  });
@@ -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 { ArrayVellumValueItemRequest } from "./ArrayVellumValueItemRequest";
8
7
  export declare const NamedTestCaseArrayVariableValueRequest: core.serialization.ObjectSchema<serializers.NamedTestCaseArrayVariableValueRequest.Raw, Vellum.NamedTestCaseArrayVariableValueRequest>;
9
8
  export declare namespace NamedTestCaseArrayVariableValueRequest {
10
9
  interface Raw {
11
10
  type: "ARRAY";
12
- value?: ArrayVellumValueItemRequest.Raw[] | null;
11
+ value?: serializers.ArrayVellumValueItemRequest.Raw[] | null;
13
12
  name: string;
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.NamedTestCaseArrayVariableValueRequest = void 0;
30
+ const serializers = __importStar(require("../index"));
30
31
  const core = __importStar(require("../../core"));
31
- const ArrayVellumValueItemRequest_1 = require("./ArrayVellumValueItemRequest");
32
32
  exports.NamedTestCaseArrayVariableValueRequest = core.serialization.object({
33
33
  type: core.serialization.stringLiteral("ARRAY"),
34
- value: core.serialization.list(ArrayVellumValueItemRequest_1.ArrayVellumValueItemRequest).optional(),
34
+ value: core.serialization.list(core.serialization.lazy(() => serializers.ArrayVellumValueItemRequest)).optional(),
35
35
  name: core.serialization.string(),
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 NodeInputCompiledArrayValue: core.serialization.ObjectSchema<serializers.NodeInputCompiledArrayValue.Raw, Vellum.NodeInputCompiledArrayValue>;
9
8
  export declare namespace NodeInputCompiledArrayValue {
10
9
  interface Raw {
11
10
  node_input_id: string;
12
11
  key: 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.NodeInputCompiledArrayValue = void 0;
30
+ const serializers = __importStar(require("../index"));
30
31
  const core = __importStar(require("../../core"));
31
- const ArrayVariableValueItem_1 = require("./ArrayVariableValueItem");
32
32
  exports.NodeInputCompiledArrayValue = core.serialization.object({
33
33
  nodeInputId: core.serialization.property("node_input_id", core.serialization.string()),
34
34
  key: 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
  import { WorkflowNodeResultEventState } from "./WorkflowNodeResultEventState";
9
8
  export declare const NodeOutputCompiledArrayValue: core.serialization.ObjectSchema<serializers.NodeOutputCompiledArrayValue.Raw, Vellum.NodeOutputCompiledArrayValue>;
10
9
  export declare namespace NodeOutputCompiledArrayValue {
11
10
  interface Raw {
12
11
  type: "ARRAY";
13
- value?: ArrayVellumValueItem.Raw[] | null;
12
+ value?: serializers.ArrayVellumValueItem.Raw[] | null;
14
13
  node_output_id: string;
15
14
  state?: WorkflowNodeResultEventState.Raw | null;
16
15
  }
@@ -27,12 +27,12 @@ var __importStar = (this && this.__importStar) || function (mod) {
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.NodeOutputCompiledArrayValue = void 0;
30
+ const serializers = __importStar(require("../index"));
30
31
  const core = __importStar(require("../../core"));
31
- const ArrayVellumValueItem_1 = require("./ArrayVellumValueItem");
32
32
  const WorkflowNodeResultEventState_1 = require("./WorkflowNodeResultEventState");
33
33
  exports.NodeOutputCompiledArrayValue = core.serialization.object({
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
  nodeOutputId: core.serialization.property("node_output_id", core.serialization.string()),
37
37
  state: WorkflowNodeResultEventState_1.WorkflowNodeResultEventState.optional(),
38
38
  });
@@ -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 { SearchResult } from "./SearchResult";
8
+ export declare const SearchResultsVariableValue: core.serialization.ObjectSchema<serializers.SearchResultsVariableValue.Raw, Vellum.SearchResultsVariableValue>;
9
+ export declare namespace SearchResultsVariableValue {
10
+ interface Raw {
11
+ type: "SEARCH_RESULTS";
12
+ value?: SearchResult.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.SearchResultsVariableValue = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ const SearchResult_1 = require("./SearchResult");
32
+ exports.SearchResultsVariableValue = 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 { SearchResult } from "./SearchResult";
8
+ export declare const SearchResultsVellumValue: core.serialization.ObjectSchema<serializers.SearchResultsVellumValue.Raw, Vellum.SearchResultsVellumValue>;
9
+ export declare namespace SearchResultsVellumValue {
10
+ interface Raw {
11
+ type: "SEARCH_RESULTS";
12
+ value?: SearchResult.Raw[] | null;
13
+ }
14
+ }