vellum-ai 1.2.1 → 1.2.3

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 (278) hide show
  1. package/Client.js +11 -11
  2. package/api/resources/adHoc/client/Client.js +2 -2
  3. package/api/resources/containerImages/client/Client.js +4 -4
  4. package/api/resources/deployments/client/Client.js +8 -8
  5. package/api/resources/documentIndexes/client/Client.js +8 -8
  6. package/api/resources/documents/client/Client.js +5 -5
  7. package/api/resources/events/client/Client.js +1 -1
  8. package/api/resources/folderEntities/client/Client.js +2 -2
  9. package/api/resources/index.d.ts +1 -0
  10. package/api/resources/index.js +1 -0
  11. package/api/resources/metricDefinitions/client/Client.js +2 -2
  12. package/api/resources/mlModels/client/Client.js +1 -1
  13. package/api/resources/organizations/client/Client.js +1 -1
  14. package/api/resources/prompts/client/Client.js +2 -2
  15. package/api/resources/sandboxes/client/Client.js +3 -3
  16. package/api/resources/testSuiteRuns/client/Client.js +3 -3
  17. package/api/resources/testSuites/client/Client.js +4 -4
  18. package/api/resources/workflowDeployments/client/Client.js +9 -9
  19. package/api/resources/workflowExecutions/client/Client.d.ts +2 -1
  20. package/api/resources/workflowExecutions/client/Client.js +17 -7
  21. package/api/resources/workflowExecutions/client/index.d.ts +1 -1
  22. package/api/resources/workflowExecutions/client/index.js +15 -0
  23. package/api/resources/workflowExecutions/client/requests/RetrieveWorkflowExecutionDetailRequest.d.ts +17 -0
  24. package/api/resources/workflowExecutions/client/requests/RetrieveWorkflowExecutionDetailRequest.js +5 -0
  25. package/api/resources/workflowExecutions/client/requests/index.d.ts +1 -0
  26. package/api/resources/workflowExecutions/client/requests/index.js +2 -0
  27. package/api/resources/workflowSandboxes/client/Client.js +2 -2
  28. package/api/resources/workflows/client/Client.js +2 -2
  29. package/api/resources/workspaceSecrets/client/Client.js +2 -2
  30. package/api/resources/workspaces/client/Client.js +1 -1
  31. package/api/types/AudioInputRequest.d.ts +13 -0
  32. package/api/types/AudioInputRequest.js +5 -0
  33. package/api/types/DelimiterChunkerConfig.d.ts +7 -0
  34. package/api/types/DelimiterChunkerConfig.js +5 -0
  35. package/api/types/DelimiterChunkerConfigRequest.d.ts +7 -0
  36. package/api/types/DelimiterChunkerConfigRequest.js +5 -0
  37. package/api/types/DelimiterChunking.d.ts +8 -0
  38. package/api/types/DelimiterChunking.js +5 -0
  39. package/api/types/DelimiterChunkingRequest.d.ts +8 -0
  40. package/api/types/DelimiterChunkingRequest.js +5 -0
  41. package/api/types/DocumentIndexChunking.d.ts +1 -1
  42. package/api/types/DocumentIndexChunkingRequest.d.ts +1 -1
  43. package/api/types/DocumentInputRequest.d.ts +13 -0
  44. package/api/types/DocumentInputRequest.js +5 -0
  45. package/api/types/ExecutionAudioVellumValue.d.ts +14 -0
  46. package/api/types/ExecutionAudioVellumValue.js +5 -0
  47. package/api/types/ExecutionDocumentVellumValue.d.ts +14 -0
  48. package/api/types/ExecutionDocumentVellumValue.js +5 -0
  49. package/api/types/ExecutionImageVellumValue.d.ts +14 -0
  50. package/api/types/ExecutionImageVellumValue.js +5 -0
  51. package/api/types/ExecutionVellumValue.d.ts +1 -1
  52. package/api/types/ExecutionVideoVellumValue.d.ts +14 -0
  53. package/api/types/ExecutionVideoVellumValue.js +5 -0
  54. package/api/types/ImageInputRequest.d.ts +13 -0
  55. package/api/types/ImageInputRequest.js +5 -0
  56. package/api/types/LogicalOperator.d.ts +3 -1
  57. package/api/types/LogicalOperator.js +1 -0
  58. package/api/types/NodeInputCompiledAudioValue.d.ts +10 -0
  59. package/api/types/NodeInputCompiledAudioValue.js +5 -0
  60. package/api/types/NodeInputCompiledDocumentValue.d.ts +10 -0
  61. package/api/types/NodeInputCompiledDocumentValue.js +5 -0
  62. package/api/types/NodeInputCompiledImageValue.d.ts +10 -0
  63. package/api/types/NodeInputCompiledImageValue.js +5 -0
  64. package/api/types/NodeInputCompiledVideoValue.d.ts +10 -0
  65. package/api/types/NodeInputCompiledVideoValue.js +5 -0
  66. package/api/types/NodeInputVariableCompiledValue.d.ts +1 -1
  67. package/api/types/PromptDeploymentInputRequest.d.ts +1 -1
  68. package/api/types/PromptRequestAudioInput.d.ts +10 -0
  69. package/api/types/PromptRequestAudioInput.js +5 -0
  70. package/api/types/PromptRequestDocumentInput.d.ts +10 -0
  71. package/api/types/PromptRequestDocumentInput.js +5 -0
  72. package/api/types/PromptRequestImageInput.d.ts +10 -0
  73. package/api/types/PromptRequestImageInput.js +5 -0
  74. package/api/types/PromptRequestInput.d.ts +1 -1
  75. package/api/types/PromptRequestVideoInput.d.ts +10 -0
  76. package/api/types/PromptRequestVideoInput.js +5 -0
  77. package/api/types/VideoInputRequest.d.ts +13 -0
  78. package/api/types/VideoInputRequest.js +5 -0
  79. package/api/types/index.d.ts +20 -0
  80. package/api/types/index.js +20 -0
  81. package/dist/Client.js +11 -11
  82. package/dist/api/resources/adHoc/client/Client.js +2 -2
  83. package/dist/api/resources/containerImages/client/Client.js +4 -4
  84. package/dist/api/resources/deployments/client/Client.js +8 -8
  85. package/dist/api/resources/documentIndexes/client/Client.js +8 -8
  86. package/dist/api/resources/documents/client/Client.js +5 -5
  87. package/dist/api/resources/events/client/Client.js +1 -1
  88. package/dist/api/resources/folderEntities/client/Client.js +2 -2
  89. package/dist/api/resources/index.d.ts +1 -0
  90. package/dist/api/resources/index.js +1 -0
  91. package/dist/api/resources/metricDefinitions/client/Client.js +2 -2
  92. package/dist/api/resources/mlModels/client/Client.js +1 -1
  93. package/dist/api/resources/organizations/client/Client.js +1 -1
  94. package/dist/api/resources/prompts/client/Client.js +2 -2
  95. package/dist/api/resources/sandboxes/client/Client.js +3 -3
  96. package/dist/api/resources/testSuiteRuns/client/Client.js +3 -3
  97. package/dist/api/resources/testSuites/client/Client.js +4 -4
  98. package/dist/api/resources/workflowDeployments/client/Client.js +9 -9
  99. package/dist/api/resources/workflowExecutions/client/Client.d.ts +2 -1
  100. package/dist/api/resources/workflowExecutions/client/Client.js +17 -7
  101. package/dist/api/resources/workflowExecutions/client/index.d.ts +1 -1
  102. package/dist/api/resources/workflowExecutions/client/index.js +15 -0
  103. package/dist/api/resources/workflowExecutions/client/requests/RetrieveWorkflowExecutionDetailRequest.d.ts +17 -0
  104. package/dist/api/resources/workflowExecutions/client/requests/RetrieveWorkflowExecutionDetailRequest.js +5 -0
  105. package/dist/api/resources/workflowExecutions/client/requests/index.d.ts +1 -0
  106. package/dist/api/resources/workflowExecutions/client/requests/index.js +2 -0
  107. package/dist/api/resources/workflowSandboxes/client/Client.js +2 -2
  108. package/dist/api/resources/workflows/client/Client.js +2 -2
  109. package/dist/api/resources/workspaceSecrets/client/Client.js +2 -2
  110. package/dist/api/resources/workspaces/client/Client.js +1 -1
  111. package/dist/api/types/AudioInputRequest.d.ts +13 -0
  112. package/dist/api/types/AudioInputRequest.js +5 -0
  113. package/dist/api/types/DelimiterChunkerConfig.d.ts +7 -0
  114. package/dist/api/types/DelimiterChunkerConfig.js +5 -0
  115. package/dist/api/types/DelimiterChunkerConfigRequest.d.ts +7 -0
  116. package/dist/api/types/DelimiterChunkerConfigRequest.js +5 -0
  117. package/dist/api/types/DelimiterChunking.d.ts +8 -0
  118. package/dist/api/types/DelimiterChunking.js +5 -0
  119. package/dist/api/types/DelimiterChunkingRequest.d.ts +8 -0
  120. package/dist/api/types/DelimiterChunkingRequest.js +5 -0
  121. package/dist/api/types/DocumentIndexChunking.d.ts +1 -1
  122. package/dist/api/types/DocumentIndexChunkingRequest.d.ts +1 -1
  123. package/dist/api/types/DocumentInputRequest.d.ts +13 -0
  124. package/dist/api/types/DocumentInputRequest.js +5 -0
  125. package/dist/api/types/ExecutionAudioVellumValue.d.ts +14 -0
  126. package/dist/api/types/ExecutionAudioVellumValue.js +5 -0
  127. package/dist/api/types/ExecutionDocumentVellumValue.d.ts +14 -0
  128. package/dist/api/types/ExecutionDocumentVellumValue.js +5 -0
  129. package/dist/api/types/ExecutionImageVellumValue.d.ts +14 -0
  130. package/dist/api/types/ExecutionImageVellumValue.js +5 -0
  131. package/dist/api/types/ExecutionVellumValue.d.ts +1 -1
  132. package/dist/api/types/ExecutionVideoVellumValue.d.ts +14 -0
  133. package/dist/api/types/ExecutionVideoVellumValue.js +5 -0
  134. package/dist/api/types/ImageInputRequest.d.ts +13 -0
  135. package/dist/api/types/ImageInputRequest.js +5 -0
  136. package/dist/api/types/LogicalOperator.d.ts +3 -1
  137. package/dist/api/types/LogicalOperator.js +1 -0
  138. package/dist/api/types/NodeInputCompiledAudioValue.d.ts +10 -0
  139. package/dist/api/types/NodeInputCompiledAudioValue.js +5 -0
  140. package/dist/api/types/NodeInputCompiledDocumentValue.d.ts +10 -0
  141. package/dist/api/types/NodeInputCompiledDocumentValue.js +5 -0
  142. package/dist/api/types/NodeInputCompiledImageValue.d.ts +10 -0
  143. package/dist/api/types/NodeInputCompiledImageValue.js +5 -0
  144. package/dist/api/types/NodeInputCompiledVideoValue.d.ts +10 -0
  145. package/dist/api/types/NodeInputCompiledVideoValue.js +5 -0
  146. package/dist/api/types/NodeInputVariableCompiledValue.d.ts +1 -1
  147. package/dist/api/types/PromptDeploymentInputRequest.d.ts +1 -1
  148. package/dist/api/types/PromptRequestAudioInput.d.ts +10 -0
  149. package/dist/api/types/PromptRequestAudioInput.js +5 -0
  150. package/dist/api/types/PromptRequestDocumentInput.d.ts +10 -0
  151. package/dist/api/types/PromptRequestDocumentInput.js +5 -0
  152. package/dist/api/types/PromptRequestImageInput.d.ts +10 -0
  153. package/dist/api/types/PromptRequestImageInput.js +5 -0
  154. package/dist/api/types/PromptRequestInput.d.ts +1 -1
  155. package/dist/api/types/PromptRequestVideoInput.d.ts +10 -0
  156. package/dist/api/types/PromptRequestVideoInput.js +5 -0
  157. package/dist/api/types/VideoInputRequest.d.ts +13 -0
  158. package/dist/api/types/VideoInputRequest.js +5 -0
  159. package/dist/api/types/index.d.ts +20 -0
  160. package/dist/api/types/index.js +20 -0
  161. package/dist/serialization/types/AudioInputRequest.d.ts +15 -0
  162. package/dist/serialization/types/AudioInputRequest.js +46 -0
  163. package/dist/serialization/types/DelimiterChunkerConfig.d.ts +13 -0
  164. package/dist/serialization/types/DelimiterChunkerConfig.js +44 -0
  165. package/dist/serialization/types/DelimiterChunkerConfigRequest.d.ts +13 -0
  166. package/dist/serialization/types/DelimiterChunkerConfigRequest.js +44 -0
  167. package/dist/serialization/types/DelimiterChunking.d.ts +14 -0
  168. package/dist/serialization/types/DelimiterChunking.js +45 -0
  169. package/dist/serialization/types/DelimiterChunkingRequest.d.ts +14 -0
  170. package/dist/serialization/types/DelimiterChunkingRequest.js +45 -0
  171. package/dist/serialization/types/DocumentIndexChunking.d.ts +2 -1
  172. package/dist/serialization/types/DocumentIndexChunking.js +7 -1
  173. package/dist/serialization/types/DocumentIndexChunkingRequest.d.ts +2 -1
  174. package/dist/serialization/types/DocumentIndexChunkingRequest.js +2 -0
  175. package/dist/serialization/types/DocumentInputRequest.d.ts +15 -0
  176. package/dist/serialization/types/DocumentInputRequest.js +46 -0
  177. package/dist/serialization/types/ExecutionAudioVellumValue.d.ts +16 -0
  178. package/dist/serialization/types/ExecutionAudioVellumValue.js +47 -0
  179. package/dist/serialization/types/ExecutionDocumentVellumValue.d.ts +16 -0
  180. package/dist/serialization/types/ExecutionDocumentVellumValue.js +47 -0
  181. package/dist/serialization/types/ExecutionImageVellumValue.d.ts +16 -0
  182. package/dist/serialization/types/ExecutionImageVellumValue.js +47 -0
  183. package/dist/serialization/types/ExecutionVellumValue.d.ts +5 -1
  184. package/dist/serialization/types/ExecutionVellumValue.js +8 -0
  185. package/dist/serialization/types/ExecutionVideoVellumValue.d.ts +16 -0
  186. package/dist/serialization/types/ExecutionVideoVellumValue.js +47 -0
  187. package/dist/serialization/types/ImageInputRequest.d.ts +15 -0
  188. package/dist/serialization/types/ImageInputRequest.js +46 -0
  189. package/dist/serialization/types/LogicalOperator.d.ts +1 -1
  190. package/dist/serialization/types/LogicalOperator.js +1 -0
  191. package/dist/serialization/types/NodeInputCompiledAudioValue.d.ts +16 -0
  192. package/dist/serialization/types/NodeInputCompiledAudioValue.js +47 -0
  193. package/dist/serialization/types/NodeInputCompiledDocumentValue.d.ts +16 -0
  194. package/dist/serialization/types/NodeInputCompiledDocumentValue.js +47 -0
  195. package/dist/serialization/types/NodeInputCompiledImageValue.d.ts +16 -0
  196. package/dist/serialization/types/NodeInputCompiledImageValue.js +47 -0
  197. package/dist/serialization/types/NodeInputCompiledVideoValue.d.ts +16 -0
  198. package/dist/serialization/types/NodeInputCompiledVideoValue.js +47 -0
  199. package/dist/serialization/types/NodeInputVariableCompiledValue.d.ts +5 -1
  200. package/dist/serialization/types/NodeInputVariableCompiledValue.js +8 -0
  201. package/dist/serialization/types/PromptDeploymentInputRequest.d.ts +5 -1
  202. package/dist/serialization/types/PromptDeploymentInputRequest.js +13 -1
  203. package/dist/serialization/types/PromptRequestAudioInput.d.ts +15 -0
  204. package/dist/serialization/types/PromptRequestAudioInput.js +46 -0
  205. package/dist/serialization/types/PromptRequestDocumentInput.d.ts +15 -0
  206. package/dist/serialization/types/PromptRequestDocumentInput.js +46 -0
  207. package/dist/serialization/types/PromptRequestImageInput.d.ts +15 -0
  208. package/dist/serialization/types/PromptRequestImageInput.js +46 -0
  209. package/dist/serialization/types/PromptRequestInput.d.ts +5 -1
  210. package/dist/serialization/types/PromptRequestInput.js +8 -0
  211. package/dist/serialization/types/PromptRequestVideoInput.d.ts +15 -0
  212. package/dist/serialization/types/PromptRequestVideoInput.js +46 -0
  213. package/dist/serialization/types/VideoInputRequest.d.ts +15 -0
  214. package/dist/serialization/types/VideoInputRequest.js +46 -0
  215. package/dist/serialization/types/index.d.ts +20 -0
  216. package/dist/serialization/types/index.js +20 -0
  217. package/dist/version.d.ts +1 -1
  218. package/dist/version.js +1 -1
  219. package/package.json +1 -1
  220. package/reference.md +9 -1
  221. package/serialization/types/AudioInputRequest.d.ts +15 -0
  222. package/serialization/types/AudioInputRequest.js +46 -0
  223. package/serialization/types/DelimiterChunkerConfig.d.ts +13 -0
  224. package/serialization/types/DelimiterChunkerConfig.js +44 -0
  225. package/serialization/types/DelimiterChunkerConfigRequest.d.ts +13 -0
  226. package/serialization/types/DelimiterChunkerConfigRequest.js +44 -0
  227. package/serialization/types/DelimiterChunking.d.ts +14 -0
  228. package/serialization/types/DelimiterChunking.js +45 -0
  229. package/serialization/types/DelimiterChunkingRequest.d.ts +14 -0
  230. package/serialization/types/DelimiterChunkingRequest.js +45 -0
  231. package/serialization/types/DocumentIndexChunking.d.ts +2 -1
  232. package/serialization/types/DocumentIndexChunking.js +7 -1
  233. package/serialization/types/DocumentIndexChunkingRequest.d.ts +2 -1
  234. package/serialization/types/DocumentIndexChunkingRequest.js +2 -0
  235. package/serialization/types/DocumentInputRequest.d.ts +15 -0
  236. package/serialization/types/DocumentInputRequest.js +46 -0
  237. package/serialization/types/ExecutionAudioVellumValue.d.ts +16 -0
  238. package/serialization/types/ExecutionAudioVellumValue.js +47 -0
  239. package/serialization/types/ExecutionDocumentVellumValue.d.ts +16 -0
  240. package/serialization/types/ExecutionDocumentVellumValue.js +47 -0
  241. package/serialization/types/ExecutionImageVellumValue.d.ts +16 -0
  242. package/serialization/types/ExecutionImageVellumValue.js +47 -0
  243. package/serialization/types/ExecutionVellumValue.d.ts +5 -1
  244. package/serialization/types/ExecutionVellumValue.js +8 -0
  245. package/serialization/types/ExecutionVideoVellumValue.d.ts +16 -0
  246. package/serialization/types/ExecutionVideoVellumValue.js +47 -0
  247. package/serialization/types/ImageInputRequest.d.ts +15 -0
  248. package/serialization/types/ImageInputRequest.js +46 -0
  249. package/serialization/types/LogicalOperator.d.ts +1 -1
  250. package/serialization/types/LogicalOperator.js +1 -0
  251. package/serialization/types/NodeInputCompiledAudioValue.d.ts +16 -0
  252. package/serialization/types/NodeInputCompiledAudioValue.js +47 -0
  253. package/serialization/types/NodeInputCompiledDocumentValue.d.ts +16 -0
  254. package/serialization/types/NodeInputCompiledDocumentValue.js +47 -0
  255. package/serialization/types/NodeInputCompiledImageValue.d.ts +16 -0
  256. package/serialization/types/NodeInputCompiledImageValue.js +47 -0
  257. package/serialization/types/NodeInputCompiledVideoValue.d.ts +16 -0
  258. package/serialization/types/NodeInputCompiledVideoValue.js +47 -0
  259. package/serialization/types/NodeInputVariableCompiledValue.d.ts +5 -1
  260. package/serialization/types/NodeInputVariableCompiledValue.js +8 -0
  261. package/serialization/types/PromptDeploymentInputRequest.d.ts +5 -1
  262. package/serialization/types/PromptDeploymentInputRequest.js +13 -1
  263. package/serialization/types/PromptRequestAudioInput.d.ts +15 -0
  264. package/serialization/types/PromptRequestAudioInput.js +46 -0
  265. package/serialization/types/PromptRequestDocumentInput.d.ts +15 -0
  266. package/serialization/types/PromptRequestDocumentInput.js +46 -0
  267. package/serialization/types/PromptRequestImageInput.d.ts +15 -0
  268. package/serialization/types/PromptRequestImageInput.js +46 -0
  269. package/serialization/types/PromptRequestInput.d.ts +5 -1
  270. package/serialization/types/PromptRequestInput.js +8 -0
  271. package/serialization/types/PromptRequestVideoInput.d.ts +15 -0
  272. package/serialization/types/PromptRequestVideoInput.js +46 -0
  273. package/serialization/types/VideoInputRequest.d.ts +15 -0
  274. package/serialization/types/VideoInputRequest.js +46 -0
  275. package/serialization/types/index.d.ts +20 -0
  276. package/serialization/types/index.js +20 -0
  277. package/version.d.ts +1 -1
  278. package/version.js +1 -1
@@ -0,0 +1,16 @@
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 { VellumVideo } from "./VellumVideo";
8
+ export declare const ExecutionVideoVellumValue: core.serialization.ObjectSchema<serializers.ExecutionVideoVellumValue.Raw, Vellum.ExecutionVideoVellumValue>;
9
+ export declare namespace ExecutionVideoVellumValue {
10
+ interface Raw {
11
+ id: string;
12
+ name: string;
13
+ type: "VIDEO";
14
+ value?: (VellumVideo.Raw | null) | null;
15
+ }
16
+ }
@@ -0,0 +1,47 @@
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 () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.ExecutionVideoVellumValue = void 0;
40
+ const core = __importStar(require("../../core"));
41
+ const VellumVideo_1 = require("./VellumVideo");
42
+ exports.ExecutionVideoVellumValue = core.serialization.object({
43
+ id: core.serialization.string(),
44
+ name: core.serialization.string(),
45
+ type: core.serialization.stringLiteral("VIDEO"),
46
+ value: VellumVideo_1.VellumVideo.optionalNullable(),
47
+ });
@@ -0,0 +1,15 @@
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 { VellumImageRequest } from "./VellumImageRequest";
8
+ export declare const ImageInputRequest: core.serialization.ObjectSchema<serializers.ImageInputRequest.Raw, Vellum.ImageInputRequest>;
9
+ export declare namespace ImageInputRequest {
10
+ interface Raw {
11
+ name: string;
12
+ type: "IMAGE";
13
+ value: VellumImageRequest.Raw;
14
+ }
15
+ }
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.ImageInputRequest = void 0;
40
+ const core = __importStar(require("../../core"));
41
+ const VellumImageRequest_1 = require("./VellumImageRequest");
42
+ exports.ImageInputRequest = core.serialization.object({
43
+ name: core.serialization.string(),
44
+ type: core.serialization.stringLiteral("IMAGE"),
45
+ value: VellumImageRequest_1.VellumImageRequest,
46
+ });
@@ -6,5 +6,5 @@ import * as Vellum from "../../api/index";
6
6
  import * as core from "../../core";
7
7
  export declare const LogicalOperator: core.serialization.Schema<serializers.LogicalOperator.Raw, Vellum.LogicalOperator>;
8
8
  export declare namespace LogicalOperator {
9
- type Raw = "=" | "!=" | "<" | ">" | "<=" | ">=" | "contains" | "beginsWith" | "endsWith" | "doesNotContain" | "doesNotBeginWith" | "doesNotEndWith" | "null" | "notNull" | "in" | "notIn" | "between" | "notBetween" | "blank" | "notBlank" | "coalesce" | "accessField" | "parseJson" | "and" | "or" | "isError";
9
+ type Raw = "=" | "!=" | "<" | ">" | "<=" | ">=" | "contains" | "beginsWith" | "endsWith" | "doesNotContain" | "doesNotBeginWith" | "doesNotEndWith" | "null" | "notNull" | "in" | "notIn" | "between" | "notBetween" | "blank" | "notBlank" | "coalesce" | "accessField" | "parseJson" | "and" | "or" | "isError" | "length";
10
10
  }
@@ -65,4 +65,5 @@ exports.LogicalOperator = core.serialization.enum_([
65
65
  "and",
66
66
  "or",
67
67
  "isError",
68
+ "length",
68
69
  ]);
@@ -0,0 +1,16 @@
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 { VellumAudio } from "./VellumAudio";
8
+ export declare const NodeInputCompiledAudioValue: core.serialization.ObjectSchema<serializers.NodeInputCompiledAudioValue.Raw, Vellum.NodeInputCompiledAudioValue>;
9
+ export declare namespace NodeInputCompiledAudioValue {
10
+ interface Raw {
11
+ node_input_id: string;
12
+ key: string;
13
+ type: "AUDIO";
14
+ value?: (VellumAudio.Raw | null) | null;
15
+ }
16
+ }
@@ -0,0 +1,47 @@
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 () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.NodeInputCompiledAudioValue = void 0;
40
+ const core = __importStar(require("../../core"));
41
+ const VellumAudio_1 = require("./VellumAudio");
42
+ exports.NodeInputCompiledAudioValue = core.serialization.object({
43
+ nodeInputId: core.serialization.property("node_input_id", core.serialization.string()),
44
+ key: core.serialization.string(),
45
+ type: core.serialization.stringLiteral("AUDIO"),
46
+ value: VellumAudio_1.VellumAudio.optionalNullable(),
47
+ });
@@ -0,0 +1,16 @@
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 { VellumDocument } from "./VellumDocument";
8
+ export declare const NodeInputCompiledDocumentValue: core.serialization.ObjectSchema<serializers.NodeInputCompiledDocumentValue.Raw, Vellum.NodeInputCompiledDocumentValue>;
9
+ export declare namespace NodeInputCompiledDocumentValue {
10
+ interface Raw {
11
+ node_input_id: string;
12
+ key: string;
13
+ type: "DOCUMENT";
14
+ value?: (VellumDocument.Raw | null) | null;
15
+ }
16
+ }
@@ -0,0 +1,47 @@
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 () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.NodeInputCompiledDocumentValue = void 0;
40
+ const core = __importStar(require("../../core"));
41
+ const VellumDocument_1 = require("./VellumDocument");
42
+ exports.NodeInputCompiledDocumentValue = core.serialization.object({
43
+ nodeInputId: core.serialization.property("node_input_id", core.serialization.string()),
44
+ key: core.serialization.string(),
45
+ type: core.serialization.stringLiteral("DOCUMENT"),
46
+ value: VellumDocument_1.VellumDocument.optionalNullable(),
47
+ });
@@ -0,0 +1,16 @@
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 NodeInputCompiledImageValue: core.serialization.ObjectSchema<serializers.NodeInputCompiledImageValue.Raw, Vellum.NodeInputCompiledImageValue>;
9
+ export declare namespace NodeInputCompiledImageValue {
10
+ interface Raw {
11
+ node_input_id: string;
12
+ key: string;
13
+ type: "IMAGE";
14
+ value?: (VellumImage.Raw | null) | null;
15
+ }
16
+ }
@@ -0,0 +1,47 @@
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 () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.NodeInputCompiledImageValue = void 0;
40
+ const core = __importStar(require("../../core"));
41
+ const VellumImage_1 = require("./VellumImage");
42
+ exports.NodeInputCompiledImageValue = core.serialization.object({
43
+ nodeInputId: core.serialization.property("node_input_id", core.serialization.string()),
44
+ key: core.serialization.string(),
45
+ type: core.serialization.stringLiteral("IMAGE"),
46
+ value: VellumImage_1.VellumImage.optionalNullable(),
47
+ });
@@ -0,0 +1,16 @@
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 { VellumVideo } from "./VellumVideo";
8
+ export declare const NodeInputCompiledVideoValue: core.serialization.ObjectSchema<serializers.NodeInputCompiledVideoValue.Raw, Vellum.NodeInputCompiledVideoValue>;
9
+ export declare namespace NodeInputCompiledVideoValue {
10
+ interface Raw {
11
+ node_input_id: string;
12
+ key: string;
13
+ type: "VIDEO";
14
+ value?: (VellumVideo.Raw | null) | null;
15
+ }
16
+ }
@@ -0,0 +1,47 @@
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 () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.NodeInputCompiledVideoValue = void 0;
40
+ const core = __importStar(require("../../core"));
41
+ const VellumVideo_1 = require("./VellumVideo");
42
+ exports.NodeInputCompiledVideoValue = core.serialization.object({
43
+ nodeInputId: core.serialization.property("node_input_id", core.serialization.string()),
44
+ key: core.serialization.string(),
45
+ type: core.serialization.stringLiteral("VIDEO"),
46
+ value: VellumVideo_1.VellumVideo.optionalNullable(),
47
+ });
@@ -13,7 +13,11 @@ import { NodeInputCompiledErrorValue } from "./NodeInputCompiledErrorValue";
13
13
  import { NodeInputCompiledArrayValue } from "./NodeInputCompiledArrayValue";
14
14
  import { NodeInputCompiledFunctionCallValue } from "./NodeInputCompiledFunctionCallValue";
15
15
  import { NodeInputCompiledSecretValue } from "./NodeInputCompiledSecretValue";
16
+ import { NodeInputCompiledAudioValue } from "./NodeInputCompiledAudioValue";
17
+ import { NodeInputCompiledVideoValue } from "./NodeInputCompiledVideoValue";
18
+ import { NodeInputCompiledImageValue } from "./NodeInputCompiledImageValue";
19
+ import { NodeInputCompiledDocumentValue } from "./NodeInputCompiledDocumentValue";
16
20
  export declare const NodeInputVariableCompiledValue: core.serialization.Schema<serializers.NodeInputVariableCompiledValue.Raw, Vellum.NodeInputVariableCompiledValue>;
17
21
  export declare namespace NodeInputVariableCompiledValue {
18
- type Raw = NodeInputCompiledStringValue.Raw | NodeInputCompiledNumberValue.Raw | NodeInputCompiledJsonValue.Raw | NodeInputCompiledChatHistoryValue.Raw | NodeInputCompiledSearchResultsValue.Raw | NodeInputCompiledErrorValue.Raw | NodeInputCompiledArrayValue.Raw | NodeInputCompiledFunctionCallValue.Raw | NodeInputCompiledSecretValue.Raw;
22
+ type Raw = NodeInputCompiledStringValue.Raw | NodeInputCompiledNumberValue.Raw | NodeInputCompiledJsonValue.Raw | NodeInputCompiledChatHistoryValue.Raw | NodeInputCompiledSearchResultsValue.Raw | NodeInputCompiledErrorValue.Raw | NodeInputCompiledArrayValue.Raw | NodeInputCompiledFunctionCallValue.Raw | NodeInputCompiledSecretValue.Raw | NodeInputCompiledAudioValue.Raw | NodeInputCompiledVideoValue.Raw | NodeInputCompiledImageValue.Raw | NodeInputCompiledDocumentValue.Raw;
19
23
  }
@@ -47,6 +47,10 @@ const NodeInputCompiledErrorValue_1 = require("./NodeInputCompiledErrorValue");
47
47
  const NodeInputCompiledArrayValue_1 = require("./NodeInputCompiledArrayValue");
48
48
  const NodeInputCompiledFunctionCallValue_1 = require("./NodeInputCompiledFunctionCallValue");
49
49
  const NodeInputCompiledSecretValue_1 = require("./NodeInputCompiledSecretValue");
50
+ const NodeInputCompiledAudioValue_1 = require("./NodeInputCompiledAudioValue");
51
+ const NodeInputCompiledVideoValue_1 = require("./NodeInputCompiledVideoValue");
52
+ const NodeInputCompiledImageValue_1 = require("./NodeInputCompiledImageValue");
53
+ const NodeInputCompiledDocumentValue_1 = require("./NodeInputCompiledDocumentValue");
50
54
  exports.NodeInputVariableCompiledValue = core.serialization.undiscriminatedUnion([
51
55
  NodeInputCompiledStringValue_1.NodeInputCompiledStringValue,
52
56
  NodeInputCompiledNumberValue_1.NodeInputCompiledNumberValue,
@@ -57,4 +61,8 @@ exports.NodeInputVariableCompiledValue = core.serialization.undiscriminatedUnion
57
61
  NodeInputCompiledArrayValue_1.NodeInputCompiledArrayValue,
58
62
  NodeInputCompiledFunctionCallValue_1.NodeInputCompiledFunctionCallValue,
59
63
  NodeInputCompiledSecretValue_1.NodeInputCompiledSecretValue,
64
+ NodeInputCompiledAudioValue_1.NodeInputCompiledAudioValue,
65
+ NodeInputCompiledVideoValue_1.NodeInputCompiledVideoValue,
66
+ NodeInputCompiledImageValue_1.NodeInputCompiledImageValue,
67
+ NodeInputCompiledDocumentValue_1.NodeInputCompiledDocumentValue,
60
68
  ]);
@@ -7,7 +7,11 @@ import * as core from "../../core";
7
7
  import { StringInputRequest } from "./StringInputRequest";
8
8
  import { JsonInputRequest } from "./JsonInputRequest";
9
9
  import { ChatHistoryInputRequest } from "./ChatHistoryInputRequest";
10
+ import { AudioInputRequest } from "./AudioInputRequest";
11
+ import { VideoInputRequest } from "./VideoInputRequest";
12
+ import { ImageInputRequest } from "./ImageInputRequest";
13
+ import { DocumentInputRequest } from "./DocumentInputRequest";
10
14
  export declare const PromptDeploymentInputRequest: core.serialization.Schema<serializers.PromptDeploymentInputRequest.Raw, Vellum.PromptDeploymentInputRequest>;
11
15
  export declare namespace PromptDeploymentInputRequest {
12
- type Raw = StringInputRequest.Raw | JsonInputRequest.Raw | ChatHistoryInputRequest.Raw;
16
+ type Raw = StringInputRequest.Raw | JsonInputRequest.Raw | ChatHistoryInputRequest.Raw | AudioInputRequest.Raw | VideoInputRequest.Raw | ImageInputRequest.Raw | DocumentInputRequest.Raw;
13
17
  }
@@ -41,4 +41,16 @@ const core = __importStar(require("../../core"));
41
41
  const StringInputRequest_1 = require("./StringInputRequest");
42
42
  const JsonInputRequest_1 = require("./JsonInputRequest");
43
43
  const ChatHistoryInputRequest_1 = require("./ChatHistoryInputRequest");
44
- exports.PromptDeploymentInputRequest = core.serialization.undiscriminatedUnion([StringInputRequest_1.StringInputRequest, JsonInputRequest_1.JsonInputRequest, ChatHistoryInputRequest_1.ChatHistoryInputRequest]);
44
+ const AudioInputRequest_1 = require("./AudioInputRequest");
45
+ const VideoInputRequest_1 = require("./VideoInputRequest");
46
+ const ImageInputRequest_1 = require("./ImageInputRequest");
47
+ const DocumentInputRequest_1 = require("./DocumentInputRequest");
48
+ exports.PromptDeploymentInputRequest = core.serialization.undiscriminatedUnion([
49
+ StringInputRequest_1.StringInputRequest,
50
+ JsonInputRequest_1.JsonInputRequest,
51
+ ChatHistoryInputRequest_1.ChatHistoryInputRequest,
52
+ AudioInputRequest_1.AudioInputRequest,
53
+ VideoInputRequest_1.VideoInputRequest,
54
+ ImageInputRequest_1.ImageInputRequest,
55
+ DocumentInputRequest_1.DocumentInputRequest,
56
+ ]);
@@ -0,0 +1,15 @@
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 { VellumAudio } from "./VellumAudio";
8
+ export declare const PromptRequestAudioInput: core.serialization.ObjectSchema<serializers.PromptRequestAudioInput.Raw, Vellum.PromptRequestAudioInput>;
9
+ export declare namespace PromptRequestAudioInput {
10
+ interface Raw {
11
+ key: string;
12
+ type: "AUDIO";
13
+ value: VellumAudio.Raw;
14
+ }
15
+ }
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.PromptRequestAudioInput = void 0;
40
+ const core = __importStar(require("../../core"));
41
+ const VellumAudio_1 = require("./VellumAudio");
42
+ exports.PromptRequestAudioInput = core.serialization.object({
43
+ key: core.serialization.string(),
44
+ type: core.serialization.stringLiteral("AUDIO"),
45
+ value: VellumAudio_1.VellumAudio,
46
+ });
@@ -0,0 +1,15 @@
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 { VellumDocument } from "./VellumDocument";
8
+ export declare const PromptRequestDocumentInput: core.serialization.ObjectSchema<serializers.PromptRequestDocumentInput.Raw, Vellum.PromptRequestDocumentInput>;
9
+ export declare namespace PromptRequestDocumentInput {
10
+ interface Raw {
11
+ key: string;
12
+ type: "DOCUMENT";
13
+ value: VellumDocument.Raw;
14
+ }
15
+ }
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.PromptRequestDocumentInput = void 0;
40
+ const core = __importStar(require("../../core"));
41
+ const VellumDocument_1 = require("./VellumDocument");
42
+ exports.PromptRequestDocumentInput = core.serialization.object({
43
+ key: core.serialization.string(),
44
+ type: core.serialization.stringLiteral("DOCUMENT"),
45
+ value: VellumDocument_1.VellumDocument,
46
+ });
@@ -0,0 +1,15 @@
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 PromptRequestImageInput: core.serialization.ObjectSchema<serializers.PromptRequestImageInput.Raw, Vellum.PromptRequestImageInput>;
9
+ export declare namespace PromptRequestImageInput {
10
+ interface Raw {
11
+ key: string;
12
+ type: "IMAGE";
13
+ value: VellumImage.Raw;
14
+ }
15
+ }