vellum-ai 0.12.17 → 0.13.0

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 (218) hide show
  1. package/.mock/definition/__package__.yml +44 -78
  2. package/.mock/definition/organizations.yml +29 -0
  3. package/.mock/definition/workspaces.yml +29 -0
  4. package/.mock/openapi/openapi.yml +84 -148
  5. package/Client.d.ts +9 -3
  6. package/Client.js +35 -25
  7. package/api/resources/adHoc/client/Client.d.ts +3 -3
  8. package/api/resources/adHoc/client/Client.js +2 -2
  9. package/api/resources/containerImages/client/Client.d.ts +3 -3
  10. package/api/resources/containerImages/client/Client.js +5 -5
  11. package/api/resources/deployments/client/Client.d.ts +3 -3
  12. package/api/resources/deployments/client/Client.js +8 -8
  13. package/api/resources/documentIndexes/client/Client.d.ts +3 -3
  14. package/api/resources/documentIndexes/client/Client.js +9 -9
  15. package/api/resources/documents/client/Client.d.ts +3 -3
  16. package/api/resources/documents/client/Client.js +6 -6
  17. package/api/resources/folderEntities/client/Client.d.ts +3 -3
  18. package/api/resources/folderEntities/client/Client.js +3 -3
  19. package/api/resources/index.d.ts +2 -0
  20. package/api/resources/index.js +3 -1
  21. package/api/resources/metricDefinitions/client/Client.d.ts +3 -3
  22. package/api/resources/metricDefinitions/client/Client.js +3 -3
  23. package/api/resources/mlModels/client/Client.d.ts +3 -3
  24. package/api/resources/mlModels/client/Client.js +2 -2
  25. package/api/resources/organizations/client/Client.d.ts +36 -0
  26. package/api/resources/organizations/client/Client.js +109 -0
  27. package/api/resources/organizations/client/index.d.ts +1 -0
  28. package/api/resources/organizations/client/index.js +2 -0
  29. package/api/resources/organizations/index.d.ts +1 -0
  30. package/api/resources/organizations/index.js +17 -0
  31. package/api/resources/sandboxes/client/Client.d.ts +3 -3
  32. package/api/resources/sandboxes/client/Client.js +4 -4
  33. package/api/resources/testSuiteRuns/client/Client.d.ts +3 -3
  34. package/api/resources/testSuiteRuns/client/Client.js +4 -4
  35. package/api/resources/testSuites/client/Client.d.ts +3 -3
  36. package/api/resources/testSuites/client/Client.js +5 -5
  37. package/api/resources/workflowDeployments/client/Client.d.ts +3 -3
  38. package/api/resources/workflowDeployments/client/Client.js +7 -7
  39. package/api/resources/workflowSandboxes/client/Client.d.ts +3 -3
  40. package/api/resources/workflowSandboxes/client/Client.js +2 -2
  41. package/api/resources/workflows/client/Client.d.ts +3 -3
  42. package/api/resources/workflows/client/Client.js +3 -3
  43. package/api/resources/workspaceSecrets/client/Client.d.ts +3 -3
  44. package/api/resources/workspaceSecrets/client/Client.js +3 -3
  45. package/api/resources/workspaces/client/Client.d.ts +36 -0
  46. package/api/resources/workspaces/client/Client.js +109 -0
  47. package/api/resources/workspaces/client/index.d.ts +1 -0
  48. package/api/resources/workspaces/client/index.js +2 -0
  49. package/api/resources/workspaces/index.d.ts +1 -0
  50. package/api/resources/workspaces/index.js +17 -0
  51. package/api/types/NewMemberJoinBehaviorEnum.d.ts +14 -0
  52. package/api/types/NewMemberJoinBehaviorEnum.js +11 -0
  53. package/api/types/OrganizationRead.d.ts +10 -0
  54. package/api/types/WorkflowResultEventOutputDataArray.d.ts +1 -1
  55. package/api/types/WorkspaceRead.d.ts +10 -0
  56. package/api/types/index.d.ts +3 -11
  57. package/api/types/index.js +3 -11
  58. package/dist/Client.d.ts +9 -3
  59. package/dist/Client.js +35 -25
  60. package/dist/api/resources/adHoc/client/Client.d.ts +3 -3
  61. package/dist/api/resources/adHoc/client/Client.js +2 -2
  62. package/dist/api/resources/containerImages/client/Client.d.ts +3 -3
  63. package/dist/api/resources/containerImages/client/Client.js +5 -5
  64. package/dist/api/resources/deployments/client/Client.d.ts +3 -3
  65. package/dist/api/resources/deployments/client/Client.js +8 -8
  66. package/dist/api/resources/documentIndexes/client/Client.d.ts +3 -3
  67. package/dist/api/resources/documentIndexes/client/Client.js +9 -9
  68. package/dist/api/resources/documents/client/Client.d.ts +3 -3
  69. package/dist/api/resources/documents/client/Client.js +6 -6
  70. package/dist/api/resources/folderEntities/client/Client.d.ts +3 -3
  71. package/dist/api/resources/folderEntities/client/Client.js +3 -3
  72. package/dist/api/resources/index.d.ts +2 -0
  73. package/dist/api/resources/index.js +3 -1
  74. package/dist/api/resources/metricDefinitions/client/Client.d.ts +3 -3
  75. package/dist/api/resources/metricDefinitions/client/Client.js +3 -3
  76. package/dist/api/resources/mlModels/client/Client.d.ts +3 -3
  77. package/dist/api/resources/mlModels/client/Client.js +2 -2
  78. package/dist/api/resources/organizations/client/Client.d.ts +36 -0
  79. package/dist/api/resources/organizations/client/Client.js +109 -0
  80. package/dist/api/resources/organizations/client/index.d.ts +1 -0
  81. package/dist/api/resources/organizations/client/index.js +2 -0
  82. package/dist/api/resources/organizations/index.d.ts +1 -0
  83. package/dist/api/resources/organizations/index.js +17 -0
  84. package/dist/api/resources/sandboxes/client/Client.d.ts +3 -3
  85. package/dist/api/resources/sandboxes/client/Client.js +4 -4
  86. package/dist/api/resources/testSuiteRuns/client/Client.d.ts +3 -3
  87. package/dist/api/resources/testSuiteRuns/client/Client.js +4 -4
  88. package/dist/api/resources/testSuites/client/Client.d.ts +3 -3
  89. package/dist/api/resources/testSuites/client/Client.js +5 -5
  90. package/dist/api/resources/workflowDeployments/client/Client.d.ts +3 -3
  91. package/dist/api/resources/workflowDeployments/client/Client.js +7 -7
  92. package/dist/api/resources/workflowSandboxes/client/Client.d.ts +3 -3
  93. package/dist/api/resources/workflowSandboxes/client/Client.js +2 -2
  94. package/dist/api/resources/workflows/client/Client.d.ts +3 -3
  95. package/dist/api/resources/workflows/client/Client.js +3 -3
  96. package/dist/api/resources/workspaceSecrets/client/Client.d.ts +3 -3
  97. package/dist/api/resources/workspaceSecrets/client/Client.js +3 -3
  98. package/dist/api/resources/workspaces/client/Client.d.ts +36 -0
  99. package/dist/api/resources/workspaces/client/Client.js +109 -0
  100. package/dist/api/resources/workspaces/client/index.d.ts +1 -0
  101. package/dist/api/resources/workspaces/client/index.js +2 -0
  102. package/dist/api/resources/workspaces/index.d.ts +1 -0
  103. package/dist/api/resources/workspaces/index.js +17 -0
  104. package/dist/api/types/NewMemberJoinBehaviorEnum.d.ts +14 -0
  105. package/dist/api/types/NewMemberJoinBehaviorEnum.js +11 -0
  106. package/dist/api/types/OrganizationRead.d.ts +10 -0
  107. package/dist/api/types/WorkflowResultEventOutputDataArray.d.ts +1 -1
  108. package/dist/api/types/WorkspaceRead.d.ts +10 -0
  109. package/dist/api/types/index.d.ts +3 -11
  110. package/dist/api/types/index.js +3 -11
  111. package/dist/serialization/types/NewMemberJoinBehaviorEnum.d.ts +10 -0
  112. package/dist/serialization/types/{JsonVariableValue.js → NewMemberJoinBehaviorEnum.js} +6 -5
  113. package/dist/serialization/types/OrganizationRead.d.ts +16 -0
  114. package/dist/serialization/types/{ArrayVariableValue.js → OrganizationRead.js} +7 -5
  115. package/dist/serialization/types/WorkflowResultEventOutputDataArray.d.ts +1 -1
  116. package/dist/serialization/types/WorkflowResultEventOutputDataArray.js +1 -1
  117. package/dist/serialization/types/WorkspaceRead.d.ts +15 -0
  118. package/dist/serialization/types/{StringVariableValue.js → WorkspaceRead.js} +6 -4
  119. package/dist/serialization/types/index.d.ts +3 -11
  120. package/dist/serialization/types/index.js +3 -11
  121. package/dist/version.d.ts +1 -1
  122. package/dist/version.js +1 -1
  123. package/package.json +1 -1
  124. package/reference.md +114 -0
  125. package/serialization/types/NewMemberJoinBehaviorEnum.d.ts +10 -0
  126. package/{dist/serialization/types/NumberVariableValue.js → serialization/types/NewMemberJoinBehaviorEnum.js} +6 -5
  127. package/serialization/types/OrganizationRead.d.ts +16 -0
  128. package/{dist/serialization/types/ChatHistoryVariableValue.js → serialization/types/OrganizationRead.js} +7 -5
  129. package/serialization/types/WorkflowResultEventOutputDataArray.d.ts +1 -1
  130. package/serialization/types/WorkflowResultEventOutputDataArray.js +1 -1
  131. package/serialization/types/WorkspaceRead.d.ts +15 -0
  132. package/serialization/types/{JsonVariableValue.js → WorkspaceRead.js} +6 -4
  133. package/serialization/types/index.d.ts +3 -11
  134. package/serialization/types/index.js +3 -11
  135. package/version.d.ts +1 -1
  136. package/version.js +1 -1
  137. package/api/types/ArrayVariableValue.d.ts +0 -8
  138. package/api/types/ArrayVariableValueItem.d.ts +0 -5
  139. package/api/types/AudioVariableValue.d.ts +0 -11
  140. package/api/types/ChatHistoryVariableValue.d.ts +0 -8
  141. package/api/types/ErrorVariableValue.d.ts +0 -8
  142. package/api/types/ErrorVariableValue.js +0 -5
  143. package/api/types/FunctionCallVariableValue.d.ts +0 -8
  144. package/api/types/FunctionCallVariableValue.js +0 -5
  145. package/api/types/ImageVariableValue.d.ts +0 -11
  146. package/api/types/ImageVariableValue.js +0 -5
  147. package/api/types/JsonVariableValue.d.ts +0 -7
  148. package/api/types/JsonVariableValue.js +0 -5
  149. package/api/types/NumberVariableValue.d.ts +0 -7
  150. package/api/types/NumberVariableValue.js +0 -5
  151. package/api/types/SearchResultsVariableValue.d.ts +0 -8
  152. package/api/types/SearchResultsVariableValue.js +0 -5
  153. package/api/types/StringVariableValue.d.ts +0 -7
  154. package/api/types/StringVariableValue.js +0 -5
  155. package/dist/api/types/ArrayVariableValue.d.ts +0 -8
  156. package/dist/api/types/ArrayVariableValue.js +0 -5
  157. package/dist/api/types/ArrayVariableValueItem.d.ts +0 -5
  158. package/dist/api/types/ArrayVariableValueItem.js +0 -5
  159. package/dist/api/types/AudioVariableValue.d.ts +0 -11
  160. package/dist/api/types/AudioVariableValue.js +0 -5
  161. package/dist/api/types/ChatHistoryVariableValue.d.ts +0 -8
  162. package/dist/api/types/ChatHistoryVariableValue.js +0 -5
  163. package/dist/api/types/ErrorVariableValue.d.ts +0 -8
  164. package/dist/api/types/ErrorVariableValue.js +0 -5
  165. package/dist/api/types/FunctionCallVariableValue.d.ts +0 -8
  166. package/dist/api/types/FunctionCallVariableValue.js +0 -5
  167. package/dist/api/types/ImageVariableValue.d.ts +0 -11
  168. package/dist/api/types/ImageVariableValue.js +0 -5
  169. package/dist/api/types/JsonVariableValue.d.ts +0 -7
  170. package/dist/api/types/JsonVariableValue.js +0 -5
  171. package/dist/api/types/NumberVariableValue.d.ts +0 -7
  172. package/dist/api/types/NumberVariableValue.js +0 -5
  173. package/dist/api/types/SearchResultsVariableValue.d.ts +0 -8
  174. package/dist/api/types/SearchResultsVariableValue.js +0 -5
  175. package/dist/api/types/StringVariableValue.d.ts +0 -7
  176. package/dist/api/types/StringVariableValue.js +0 -5
  177. package/dist/serialization/types/ArrayVariableValue.d.ts +0 -13
  178. package/dist/serialization/types/ArrayVariableValueItem.d.ts +0 -19
  179. package/dist/serialization/types/ArrayVariableValueItem.js +0 -52
  180. package/dist/serialization/types/AudioVariableValue.d.ts +0 -14
  181. package/dist/serialization/types/AudioVariableValue.js +0 -35
  182. package/dist/serialization/types/ChatHistoryVariableValue.d.ts +0 -14
  183. package/dist/serialization/types/ErrorVariableValue.d.ts +0 -14
  184. package/dist/serialization/types/ErrorVariableValue.js +0 -35
  185. package/dist/serialization/types/FunctionCallVariableValue.d.ts +0 -14
  186. package/dist/serialization/types/FunctionCallVariableValue.js +0 -35
  187. package/dist/serialization/types/ImageVariableValue.d.ts +0 -14
  188. package/dist/serialization/types/ImageVariableValue.js +0 -35
  189. package/dist/serialization/types/JsonVariableValue.d.ts +0 -13
  190. package/dist/serialization/types/NumberVariableValue.d.ts +0 -13
  191. package/dist/serialization/types/SearchResultsVariableValue.d.ts +0 -14
  192. package/dist/serialization/types/SearchResultsVariableValue.js +0 -35
  193. package/dist/serialization/types/StringVariableValue.d.ts +0 -13
  194. package/serialization/types/ArrayVariableValue.d.ts +0 -13
  195. package/serialization/types/ArrayVariableValue.js +0 -35
  196. package/serialization/types/ArrayVariableValueItem.d.ts +0 -19
  197. package/serialization/types/ArrayVariableValueItem.js +0 -52
  198. package/serialization/types/AudioVariableValue.d.ts +0 -14
  199. package/serialization/types/AudioVariableValue.js +0 -35
  200. package/serialization/types/ChatHistoryVariableValue.d.ts +0 -14
  201. package/serialization/types/ChatHistoryVariableValue.js +0 -35
  202. package/serialization/types/ErrorVariableValue.d.ts +0 -14
  203. package/serialization/types/ErrorVariableValue.js +0 -35
  204. package/serialization/types/FunctionCallVariableValue.d.ts +0 -14
  205. package/serialization/types/FunctionCallVariableValue.js +0 -35
  206. package/serialization/types/ImageVariableValue.d.ts +0 -14
  207. package/serialization/types/ImageVariableValue.js +0 -35
  208. package/serialization/types/JsonVariableValue.d.ts +0 -13
  209. package/serialization/types/NumberVariableValue.d.ts +0 -13
  210. package/serialization/types/NumberVariableValue.js +0 -34
  211. package/serialization/types/SearchResultsVariableValue.d.ts +0 -14
  212. package/serialization/types/SearchResultsVariableValue.js +0 -35
  213. package/serialization/types/StringVariableValue.d.ts +0 -13
  214. package/serialization/types/StringVariableValue.js +0 -34
  215. /package/api/types/{ArrayVariableValue.js → OrganizationRead.js} +0 -0
  216. /package/api/types/{ArrayVariableValueItem.js → WorkspaceRead.js} +0 -0
  217. /package/{api/types/AudioVariableValue.js → dist/api/types/OrganizationRead.js} +0 -0
  218. /package/{api/types/ChatHistoryVariableValue.js → dist/api/types/WorkspaceRead.js} +0 -0
@@ -1,35 +0,0 @@
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
- });
@@ -1,14 +0,0 @@
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 { VellumError } from "./VellumError";
8
- export declare const ErrorVariableValue: core.serialization.ObjectSchema<serializers.ErrorVariableValue.Raw, Vellum.ErrorVariableValue>;
9
- export declare namespace ErrorVariableValue {
10
- interface Raw {
11
- type: "ERROR";
12
- value?: VellumError.Raw | null;
13
- }
14
- }
@@ -1,35 +0,0 @@
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.ErrorVariableValue = void 0;
30
- const core = __importStar(require("../../core"));
31
- const VellumError_1 = require("./VellumError");
32
- exports.ErrorVariableValue = core.serialization.object({
33
- type: core.serialization.stringLiteral("ERROR"),
34
- value: VellumError_1.VellumError.optional(),
35
- });
@@ -1,14 +0,0 @@
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 { FunctionCall } from "./FunctionCall";
8
- export declare const FunctionCallVariableValue: core.serialization.ObjectSchema<serializers.FunctionCallVariableValue.Raw, Vellum.FunctionCallVariableValue>;
9
- export declare namespace FunctionCallVariableValue {
10
- interface Raw {
11
- type: "FUNCTION_CALL";
12
- value?: FunctionCall.Raw | null;
13
- }
14
- }
@@ -1,35 +0,0 @@
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.FunctionCallVariableValue = void 0;
30
- const core = __importStar(require("../../core"));
31
- const FunctionCall_1 = require("./FunctionCall");
32
- exports.FunctionCallVariableValue = core.serialization.object({
33
- type: core.serialization.stringLiteral("FUNCTION_CALL"),
34
- value: FunctionCall_1.FunctionCall.optional(),
35
- });
@@ -1,14 +0,0 @@
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 { VellumImage } from "./VellumImage";
8
- export declare const ImageVariableValue: core.serialization.ObjectSchema<serializers.ImageVariableValue.Raw, Vellum.ImageVariableValue>;
9
- export declare namespace ImageVariableValue {
10
- interface Raw {
11
- type: "IMAGE";
12
- value?: VellumImage.Raw | null;
13
- }
14
- }
@@ -1,35 +0,0 @@
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.ImageVariableValue = void 0;
30
- const core = __importStar(require("../../core"));
31
- const VellumImage_1 = require("./VellumImage");
32
- exports.ImageVariableValue = core.serialization.object({
33
- type: core.serialization.stringLiteral("IMAGE"),
34
- value: VellumImage_1.VellumImage.optional(),
35
- });
@@ -1,13 +0,0 @@
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 JsonVariableValue: core.serialization.ObjectSchema<serializers.JsonVariableValue.Raw, Vellum.JsonVariableValue>;
8
- export declare namespace JsonVariableValue {
9
- interface Raw {
10
- type: "JSON";
11
- value?: unknown;
12
- }
13
- }
@@ -1,13 +0,0 @@
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 NumberVariableValue: core.serialization.ObjectSchema<serializers.NumberVariableValue.Raw, Vellum.NumberVariableValue>;
8
- export declare namespace NumberVariableValue {
9
- interface Raw {
10
- type: "NUMBER";
11
- value?: number | null;
12
- }
13
- }
@@ -1,34 +0,0 @@
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.NumberVariableValue = void 0;
30
- const core = __importStar(require("../../core"));
31
- exports.NumberVariableValue = core.serialization.object({
32
- type: core.serialization.stringLiteral("NUMBER"),
33
- value: core.serialization.number().optional(),
34
- });
@@ -1,14 +0,0 @@
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
- }
@@ -1,35 +0,0 @@
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
- });
@@ -1,13 +0,0 @@
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 StringVariableValue: core.serialization.ObjectSchema<serializers.StringVariableValue.Raw, Vellum.StringVariableValue>;
8
- export declare namespace StringVariableValue {
9
- interface Raw {
10
- type: "STRING";
11
- value?: string | null;
12
- }
13
- }
@@ -1,34 +0,0 @@
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.StringVariableValue = void 0;
30
- const core = __importStar(require("../../core"));
31
- exports.StringVariableValue = core.serialization.object({
32
- type: core.serialization.stringLiteral("STRING"),
33
- value: core.serialization.string().optional(),
34
- });