vellum-ai 1.1.2 → 1.1.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 (179) 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/folderEntities/client/Client.js +2 -2
  8. package/api/resources/metricDefinitions/client/Client.js +2 -2
  9. package/api/resources/mlModels/client/Client.js +1 -1
  10. package/api/resources/organizations/client/Client.js +1 -1
  11. package/api/resources/prompts/client/Client.js +2 -2
  12. package/api/resources/sandboxes/client/Client.js +3 -3
  13. package/api/resources/testSuiteRuns/client/Client.js +3 -3
  14. package/api/resources/testSuites/client/Client.js +4 -4
  15. package/api/resources/workflowDeployments/client/Client.js +9 -9
  16. package/api/resources/workflowExecutions/client/Client.js +1 -1
  17. package/api/resources/workflowSandboxes/client/Client.js +2 -2
  18. package/api/resources/workflows/client/Client.js +2 -2
  19. package/api/resources/workspaceSecrets/client/Client.js +2 -2
  20. package/api/resources/workspaces/client/Client.js +1 -1
  21. package/api/types/ArrayChatMessageContentItem.d.ts +1 -1
  22. package/api/types/ArrayChatMessageContentItemRequest.d.ts +1 -1
  23. package/api/types/ChatMessageContent.d.ts +1 -1
  24. package/api/types/ChatMessageContentRequest.d.ts +1 -1
  25. package/api/types/NodeExecutionSpan.d.ts +1 -0
  26. package/api/types/PromptBlock.d.ts +1 -1
  27. package/api/types/VellumValue.d.ts +1 -1
  28. package/api/types/VellumValueRequest.d.ts +1 -1
  29. package/api/types/VellumVariableType.d.ts +5 -3
  30. package/api/types/VellumVariableType.js +2 -1
  31. package/api/types/VellumVideo.d.ts +8 -0
  32. package/api/types/VellumVideo.js +5 -0
  33. package/api/types/VellumVideoRequest.d.ts +8 -0
  34. package/api/types/VellumVideoRequest.js +5 -0
  35. package/api/types/VideoChatMessageContent.d.ts +11 -0
  36. package/api/types/VideoChatMessageContent.js +5 -0
  37. package/api/types/VideoChatMessageContentRequest.d.ts +11 -0
  38. package/api/types/VideoChatMessageContentRequest.js +5 -0
  39. package/api/types/VideoPromptBlock.d.ts +14 -0
  40. package/api/types/VideoPromptBlock.js +5 -0
  41. package/api/types/VideoVellumValue.d.ts +11 -0
  42. package/api/types/VideoVellumValue.js +5 -0
  43. package/api/types/VideoVellumValueRequest.d.ts +11 -0
  44. package/api/types/VideoVellumValueRequest.js +5 -0
  45. package/api/types/WorkflowExecutionSpan.d.ts +1 -0
  46. package/api/types/WorkflowExecutionUsageCalculationFulfilledBody.d.ts +8 -0
  47. package/api/types/WorkflowExecutionUsageCalculationFulfilledBody.js +5 -0
  48. package/api/types/index.d.ts +8 -0
  49. package/api/types/index.js +8 -0
  50. package/dist/Client.js +11 -11
  51. package/dist/api/resources/adHoc/client/Client.js +2 -2
  52. package/dist/api/resources/containerImages/client/Client.js +4 -4
  53. package/dist/api/resources/deployments/client/Client.js +8 -8
  54. package/dist/api/resources/documentIndexes/client/Client.js +8 -8
  55. package/dist/api/resources/documents/client/Client.js +5 -5
  56. package/dist/api/resources/folderEntities/client/Client.js +2 -2
  57. package/dist/api/resources/metricDefinitions/client/Client.js +2 -2
  58. package/dist/api/resources/mlModels/client/Client.js +1 -1
  59. package/dist/api/resources/organizations/client/Client.js +1 -1
  60. package/dist/api/resources/prompts/client/Client.js +2 -2
  61. package/dist/api/resources/sandboxes/client/Client.js +3 -3
  62. package/dist/api/resources/testSuiteRuns/client/Client.js +3 -3
  63. package/dist/api/resources/testSuites/client/Client.js +4 -4
  64. package/dist/api/resources/workflowDeployments/client/Client.js +9 -9
  65. package/dist/api/resources/workflowExecutions/client/Client.js +1 -1
  66. package/dist/api/resources/workflowSandboxes/client/Client.js +2 -2
  67. package/dist/api/resources/workflows/client/Client.js +2 -2
  68. package/dist/api/resources/workspaceSecrets/client/Client.js +2 -2
  69. package/dist/api/resources/workspaces/client/Client.js +1 -1
  70. package/dist/api/types/ArrayChatMessageContentItem.d.ts +1 -1
  71. package/dist/api/types/ArrayChatMessageContentItemRequest.d.ts +1 -1
  72. package/dist/api/types/ChatMessageContent.d.ts +1 -1
  73. package/dist/api/types/ChatMessageContentRequest.d.ts +1 -1
  74. package/dist/api/types/NodeExecutionSpan.d.ts +1 -0
  75. package/dist/api/types/PromptBlock.d.ts +1 -1
  76. package/dist/api/types/VellumValue.d.ts +1 -1
  77. package/dist/api/types/VellumValueRequest.d.ts +1 -1
  78. package/dist/api/types/VellumVariableType.d.ts +5 -3
  79. package/dist/api/types/VellumVariableType.js +2 -1
  80. package/dist/api/types/VellumVideo.d.ts +8 -0
  81. package/dist/api/types/VellumVideo.js +5 -0
  82. package/dist/api/types/VellumVideoRequest.d.ts +8 -0
  83. package/dist/api/types/VellumVideoRequest.js +5 -0
  84. package/dist/api/types/VideoChatMessageContent.d.ts +11 -0
  85. package/dist/api/types/VideoChatMessageContent.js +5 -0
  86. package/dist/api/types/VideoChatMessageContentRequest.d.ts +11 -0
  87. package/dist/api/types/VideoChatMessageContentRequest.js +5 -0
  88. package/dist/api/types/VideoPromptBlock.d.ts +14 -0
  89. package/dist/api/types/VideoPromptBlock.js +5 -0
  90. package/dist/api/types/VideoVellumValue.d.ts +11 -0
  91. package/dist/api/types/VideoVellumValue.js +5 -0
  92. package/dist/api/types/VideoVellumValueRequest.d.ts +11 -0
  93. package/dist/api/types/VideoVellumValueRequest.js +5 -0
  94. package/dist/api/types/WorkflowExecutionSpan.d.ts +1 -0
  95. package/dist/api/types/WorkflowExecutionUsageCalculationFulfilledBody.d.ts +8 -0
  96. package/dist/api/types/WorkflowExecutionUsageCalculationFulfilledBody.js +5 -0
  97. package/dist/api/types/index.d.ts +8 -0
  98. package/dist/api/types/index.js +8 -0
  99. package/dist/serialization/types/ArrayChatMessageContentItem.d.ts +3 -2
  100. package/dist/serialization/types/ArrayChatMessageContentItem.js +4 -2
  101. package/dist/serialization/types/ArrayChatMessageContentItemRequest.d.ts +3 -2
  102. package/dist/serialization/types/ArrayChatMessageContentItemRequest.js +4 -2
  103. package/dist/serialization/types/ChatMessageContent.d.ts +3 -2
  104. package/dist/serialization/types/ChatMessageContent.js +4 -2
  105. package/dist/serialization/types/ChatMessageContentRequest.d.ts +3 -2
  106. package/dist/serialization/types/ChatMessageContentRequest.js +4 -2
  107. package/dist/serialization/types/NodeExecutionSpan.d.ts +2 -0
  108. package/dist/serialization/types/NodeExecutionSpan.js +2 -0
  109. package/dist/serialization/types/PromptBlock.d.ts +3 -2
  110. package/dist/serialization/types/PromptBlock.js +4 -2
  111. package/dist/serialization/types/VellumValue.d.ts +3 -2
  112. package/dist/serialization/types/VellumValue.js +4 -2
  113. package/dist/serialization/types/VellumValueRequest.d.ts +3 -2
  114. package/dist/serialization/types/VellumValueRequest.js +4 -2
  115. package/dist/serialization/types/VellumVariableType.d.ts +1 -1
  116. package/dist/serialization/types/VellumVariableType.js +2 -1
  117. package/dist/serialization/types/VellumVideo.d.ts +13 -0
  118. package/dist/serialization/types/VellumVideo.js +46 -0
  119. package/dist/serialization/types/VellumVideoRequest.d.ts +13 -0
  120. package/dist/serialization/types/VellumVideoRequest.js +44 -0
  121. package/dist/serialization/types/VideoChatMessageContent.d.ts +14 -0
  122. package/dist/serialization/types/VideoChatMessageContent.js +45 -0
  123. package/dist/serialization/types/VideoChatMessageContentRequest.d.ts +14 -0
  124. package/dist/serialization/types/VideoChatMessageContentRequest.js +45 -0
  125. package/dist/serialization/types/VideoPromptBlock.d.ts +18 -0
  126. package/dist/serialization/types/VideoPromptBlock.js +49 -0
  127. package/dist/serialization/types/VideoVellumValue.d.ts +14 -0
  128. package/dist/serialization/types/VideoVellumValue.js +45 -0
  129. package/dist/serialization/types/VideoVellumValueRequest.d.ts +14 -0
  130. package/dist/serialization/types/VideoVellumValueRequest.js +45 -0
  131. package/dist/serialization/types/WorkflowExecutionSpan.d.ts +2 -0
  132. package/dist/serialization/types/WorkflowExecutionSpan.js +2 -0
  133. package/dist/serialization/types/WorkflowExecutionUsageCalculationFulfilledBody.d.ts +15 -0
  134. package/dist/serialization/types/WorkflowExecutionUsageCalculationFulfilledBody.js +46 -0
  135. package/dist/serialization/types/index.d.ts +8 -0
  136. package/dist/serialization/types/index.js +8 -0
  137. package/dist/version.d.ts +1 -1
  138. package/dist/version.js +1 -1
  139. package/package.json +1 -1
  140. package/serialization/types/ArrayChatMessageContentItem.d.ts +3 -2
  141. package/serialization/types/ArrayChatMessageContentItem.js +4 -2
  142. package/serialization/types/ArrayChatMessageContentItemRequest.d.ts +3 -2
  143. package/serialization/types/ArrayChatMessageContentItemRequest.js +4 -2
  144. package/serialization/types/ChatMessageContent.d.ts +3 -2
  145. package/serialization/types/ChatMessageContent.js +4 -2
  146. package/serialization/types/ChatMessageContentRequest.d.ts +3 -2
  147. package/serialization/types/ChatMessageContentRequest.js +4 -2
  148. package/serialization/types/NodeExecutionSpan.d.ts +2 -0
  149. package/serialization/types/NodeExecutionSpan.js +2 -0
  150. package/serialization/types/PromptBlock.d.ts +3 -2
  151. package/serialization/types/PromptBlock.js +4 -2
  152. package/serialization/types/VellumValue.d.ts +3 -2
  153. package/serialization/types/VellumValue.js +4 -2
  154. package/serialization/types/VellumValueRequest.d.ts +3 -2
  155. package/serialization/types/VellumValueRequest.js +4 -2
  156. package/serialization/types/VellumVariableType.d.ts +1 -1
  157. package/serialization/types/VellumVariableType.js +2 -1
  158. package/serialization/types/VellumVideo.d.ts +13 -0
  159. package/serialization/types/VellumVideo.js +46 -0
  160. package/serialization/types/VellumVideoRequest.d.ts +13 -0
  161. package/serialization/types/VellumVideoRequest.js +44 -0
  162. package/serialization/types/VideoChatMessageContent.d.ts +14 -0
  163. package/serialization/types/VideoChatMessageContent.js +45 -0
  164. package/serialization/types/VideoChatMessageContentRequest.d.ts +14 -0
  165. package/serialization/types/VideoChatMessageContentRequest.js +45 -0
  166. package/serialization/types/VideoPromptBlock.d.ts +18 -0
  167. package/serialization/types/VideoPromptBlock.js +49 -0
  168. package/serialization/types/VideoVellumValue.d.ts +14 -0
  169. package/serialization/types/VideoVellumValue.js +45 -0
  170. package/serialization/types/VideoVellumValueRequest.d.ts +14 -0
  171. package/serialization/types/VideoVellumValueRequest.js +45 -0
  172. package/serialization/types/WorkflowExecutionSpan.d.ts +2 -0
  173. package/serialization/types/WorkflowExecutionSpan.js +2 -0
  174. package/serialization/types/WorkflowExecutionUsageCalculationFulfilledBody.d.ts +15 -0
  175. package/serialization/types/WorkflowExecutionUsageCalculationFulfilledBody.js +46 -0
  176. package/serialization/types/index.d.ts +8 -0
  177. package/serialization/types/index.js +8 -0
  178. package/version.d.ts +1 -1
  179. package/version.js +1 -1
@@ -7,10 +7,11 @@ import * as core from "../../core";
7
7
  import { StringChatMessageContentRequest } from "./StringChatMessageContentRequest";
8
8
  import { FunctionCallChatMessageContentRequest } from "./FunctionCallChatMessageContentRequest";
9
9
  import { ArrayChatMessageContentRequest } from "./ArrayChatMessageContentRequest";
10
- import { ImageChatMessageContentRequest } from "./ImageChatMessageContentRequest";
11
10
  import { AudioChatMessageContentRequest } from "./AudioChatMessageContentRequest";
11
+ import { VideoChatMessageContentRequest } from "./VideoChatMessageContentRequest";
12
+ import { ImageChatMessageContentRequest } from "./ImageChatMessageContentRequest";
12
13
  import { DocumentChatMessageContentRequest } from "./DocumentChatMessageContentRequest";
13
14
  export declare const ChatMessageContentRequest: core.serialization.Schema<serializers.ChatMessageContentRequest.Raw, Vellum.ChatMessageContentRequest>;
14
15
  export declare namespace ChatMessageContentRequest {
15
- type Raw = StringChatMessageContentRequest.Raw | FunctionCallChatMessageContentRequest.Raw | ArrayChatMessageContentRequest.Raw | ImageChatMessageContentRequest.Raw | AudioChatMessageContentRequest.Raw | DocumentChatMessageContentRequest.Raw;
16
+ type Raw = StringChatMessageContentRequest.Raw | FunctionCallChatMessageContentRequest.Raw | ArrayChatMessageContentRequest.Raw | AudioChatMessageContentRequest.Raw | VideoChatMessageContentRequest.Raw | ImageChatMessageContentRequest.Raw | DocumentChatMessageContentRequest.Raw;
16
17
  }
@@ -41,14 +41,16 @@ const core = __importStar(require("../../core"));
41
41
  const StringChatMessageContentRequest_1 = require("./StringChatMessageContentRequest");
42
42
  const FunctionCallChatMessageContentRequest_1 = require("./FunctionCallChatMessageContentRequest");
43
43
  const ArrayChatMessageContentRequest_1 = require("./ArrayChatMessageContentRequest");
44
- const ImageChatMessageContentRequest_1 = require("./ImageChatMessageContentRequest");
45
44
  const AudioChatMessageContentRequest_1 = require("./AudioChatMessageContentRequest");
45
+ const VideoChatMessageContentRequest_1 = require("./VideoChatMessageContentRequest");
46
+ const ImageChatMessageContentRequest_1 = require("./ImageChatMessageContentRequest");
46
47
  const DocumentChatMessageContentRequest_1 = require("./DocumentChatMessageContentRequest");
47
48
  exports.ChatMessageContentRequest = core.serialization.undiscriminatedUnion([
48
49
  StringChatMessageContentRequest_1.StringChatMessageContentRequest,
49
50
  FunctionCallChatMessageContentRequest_1.FunctionCallChatMessageContentRequest,
50
51
  ArrayChatMessageContentRequest_1.ArrayChatMessageContentRequest,
51
- ImageChatMessageContentRequest_1.ImageChatMessageContentRequest,
52
52
  AudioChatMessageContentRequest_1.AudioChatMessageContentRequest,
53
+ VideoChatMessageContentRequest_1.VideoChatMessageContentRequest,
54
+ ImageChatMessageContentRequest_1.ImageChatMessageContentRequest,
53
55
  DocumentChatMessageContentRequest_1.DocumentChatMessageContentRequest,
54
56
  ]);
@@ -6,12 +6,14 @@ import * as Vellum from "../../api/index";
6
6
  import * as core from "../../core";
7
7
  import { VellumNodeExecutionEvent } from "./VellumNodeExecutionEvent";
8
8
  import { NodeExecutionSpanAttributes } from "./NodeExecutionSpanAttributes";
9
+ import { WorkflowExecutionUsageCalculationFulfilledBody } from "./WorkflowExecutionUsageCalculationFulfilledBody";
9
10
  export declare const NodeExecutionSpan: core.serialization.ObjectSchema<serializers.NodeExecutionSpan.Raw, Vellum.NodeExecutionSpan>;
10
11
  export declare namespace NodeExecutionSpan {
11
12
  interface Raw {
12
13
  name: "node.execution";
13
14
  events: VellumNodeExecutionEvent.Raw[];
14
15
  attributes: NodeExecutionSpanAttributes.Raw;
16
+ usage_result?: (WorkflowExecutionUsageCalculationFulfilledBody.Raw | null) | null;
15
17
  span_id: string;
16
18
  start_ts: string;
17
19
  end_ts: string;
@@ -40,10 +40,12 @@ exports.NodeExecutionSpan = void 0;
40
40
  const core = __importStar(require("../../core"));
41
41
  const VellumNodeExecutionEvent_1 = require("./VellumNodeExecutionEvent");
42
42
  const NodeExecutionSpanAttributes_1 = require("./NodeExecutionSpanAttributes");
43
+ const WorkflowExecutionUsageCalculationFulfilledBody_1 = require("./WorkflowExecutionUsageCalculationFulfilledBody");
43
44
  exports.NodeExecutionSpan = core.serialization.object({
44
45
  name: core.serialization.stringLiteral("node.execution"),
45
46
  events: core.serialization.list(VellumNodeExecutionEvent_1.VellumNodeExecutionEvent),
46
47
  attributes: NodeExecutionSpanAttributes_1.NodeExecutionSpanAttributes,
48
+ usageResult: core.serialization.property("usage_result", WorkflowExecutionUsageCalculationFulfilledBody_1.WorkflowExecutionUsageCalculationFulfilledBody.optionalNullable()),
47
49
  spanId: core.serialization.property("span_id", core.serialization.string()),
48
50
  startTs: core.serialization.property("start_ts", core.serialization.date()),
49
51
  endTs: core.serialization.property("end_ts", core.serialization.date()),
@@ -7,11 +7,12 @@ import * as core from "../../core";
7
7
  import { JinjaPromptBlock } from "./JinjaPromptBlock";
8
8
  import { VariablePromptBlock } from "./VariablePromptBlock";
9
9
  import { RichTextPromptBlock } from "./RichTextPromptBlock";
10
- import { AudioPromptBlock } from "./AudioPromptBlock";
11
10
  import { FunctionCallPromptBlock } from "./FunctionCallPromptBlock";
11
+ import { AudioPromptBlock } from "./AudioPromptBlock";
12
+ import { VideoPromptBlock } from "./VideoPromptBlock";
12
13
  import { ImagePromptBlock } from "./ImagePromptBlock";
13
14
  import { DocumentPromptBlock } from "./DocumentPromptBlock";
14
15
  export declare const PromptBlock: core.serialization.Schema<serializers.PromptBlock.Raw, Vellum.PromptBlock>;
15
16
  export declare namespace PromptBlock {
16
- type Raw = JinjaPromptBlock.Raw | serializers.ChatMessagePromptBlock.Raw | VariablePromptBlock.Raw | RichTextPromptBlock.Raw | AudioPromptBlock.Raw | FunctionCallPromptBlock.Raw | ImagePromptBlock.Raw | DocumentPromptBlock.Raw;
17
+ type Raw = JinjaPromptBlock.Raw | serializers.ChatMessagePromptBlock.Raw | VariablePromptBlock.Raw | RichTextPromptBlock.Raw | FunctionCallPromptBlock.Raw | AudioPromptBlock.Raw | VideoPromptBlock.Raw | ImagePromptBlock.Raw | DocumentPromptBlock.Raw;
17
18
  }
@@ -42,8 +42,9 @@ const core = __importStar(require("../../core"));
42
42
  const JinjaPromptBlock_1 = require("./JinjaPromptBlock");
43
43
  const VariablePromptBlock_1 = require("./VariablePromptBlock");
44
44
  const RichTextPromptBlock_1 = require("./RichTextPromptBlock");
45
- const AudioPromptBlock_1 = require("./AudioPromptBlock");
46
45
  const FunctionCallPromptBlock_1 = require("./FunctionCallPromptBlock");
46
+ const AudioPromptBlock_1 = require("./AudioPromptBlock");
47
+ const VideoPromptBlock_1 = require("./VideoPromptBlock");
47
48
  const ImagePromptBlock_1 = require("./ImagePromptBlock");
48
49
  const DocumentPromptBlock_1 = require("./DocumentPromptBlock");
49
50
  exports.PromptBlock = core.serialization.undiscriminatedUnion([
@@ -51,8 +52,9 @@ exports.PromptBlock = core.serialization.undiscriminatedUnion([
51
52
  core.serialization.lazyObject(() => serializers.ChatMessagePromptBlock),
52
53
  VariablePromptBlock_1.VariablePromptBlock,
53
54
  RichTextPromptBlock_1.RichTextPromptBlock,
54
- AudioPromptBlock_1.AudioPromptBlock,
55
55
  FunctionCallPromptBlock_1.FunctionCallPromptBlock,
56
+ AudioPromptBlock_1.AudioPromptBlock,
57
+ VideoPromptBlock_1.VideoPromptBlock,
56
58
  ImagePromptBlock_1.ImagePromptBlock,
57
59
  DocumentPromptBlock_1.DocumentPromptBlock,
58
60
  ]);
@@ -7,8 +7,9 @@ import * as core from "../../core";
7
7
  import { StringVellumValue } from "./StringVellumValue";
8
8
  import { NumberVellumValue } from "./NumberVellumValue";
9
9
  import { JsonVellumValue } from "./JsonVellumValue";
10
- import { ImageVellumValue } from "./ImageVellumValue";
11
10
  import { AudioVellumValue } from "./AudioVellumValue";
11
+ import { VideoVellumValue } from "./VideoVellumValue";
12
+ import { ImageVellumValue } from "./ImageVellumValue";
12
13
  import { DocumentVellumValue } from "./DocumentVellumValue";
13
14
  import { FunctionCallVellumValue } from "./FunctionCallVellumValue";
14
15
  import { ErrorVellumValue } from "./ErrorVellumValue";
@@ -17,5 +18,5 @@ import { SearchResultsVellumValue } from "./SearchResultsVellumValue";
17
18
  import { ThinkingVellumValue } from "./ThinkingVellumValue";
18
19
  export declare const VellumValue: core.serialization.Schema<serializers.VellumValue.Raw, Vellum.VellumValue>;
19
20
  export declare namespace VellumValue {
20
- type Raw = StringVellumValue.Raw | NumberVellumValue.Raw | JsonVellumValue.Raw | ImageVellumValue.Raw | AudioVellumValue.Raw | DocumentVellumValue.Raw | FunctionCallVellumValue.Raw | ErrorVellumValue.Raw | serializers.ArrayVellumValue.Raw | ChatHistoryVellumValue.Raw | SearchResultsVellumValue.Raw | ThinkingVellumValue.Raw;
21
+ type Raw = StringVellumValue.Raw | NumberVellumValue.Raw | JsonVellumValue.Raw | AudioVellumValue.Raw | VideoVellumValue.Raw | ImageVellumValue.Raw | DocumentVellumValue.Raw | FunctionCallVellumValue.Raw | ErrorVellumValue.Raw | serializers.ArrayVellumValue.Raw | ChatHistoryVellumValue.Raw | SearchResultsVellumValue.Raw | ThinkingVellumValue.Raw;
21
22
  }
@@ -42,8 +42,9 @@ const core = __importStar(require("../../core"));
42
42
  const StringVellumValue_1 = require("./StringVellumValue");
43
43
  const NumberVellumValue_1 = require("./NumberVellumValue");
44
44
  const JsonVellumValue_1 = require("./JsonVellumValue");
45
- const ImageVellumValue_1 = require("./ImageVellumValue");
46
45
  const AudioVellumValue_1 = require("./AudioVellumValue");
46
+ const VideoVellumValue_1 = require("./VideoVellumValue");
47
+ const ImageVellumValue_1 = require("./ImageVellumValue");
47
48
  const DocumentVellumValue_1 = require("./DocumentVellumValue");
48
49
  const FunctionCallVellumValue_1 = require("./FunctionCallVellumValue");
49
50
  const ErrorVellumValue_1 = require("./ErrorVellumValue");
@@ -54,8 +55,9 @@ exports.VellumValue = core.serialization.undiscriminatedUnion([
54
55
  StringVellumValue_1.StringVellumValue,
55
56
  NumberVellumValue_1.NumberVellumValue,
56
57
  JsonVellumValue_1.JsonVellumValue,
57
- ImageVellumValue_1.ImageVellumValue,
58
58
  AudioVellumValue_1.AudioVellumValue,
59
+ VideoVellumValue_1.VideoVellumValue,
60
+ ImageVellumValue_1.ImageVellumValue,
59
61
  DocumentVellumValue_1.DocumentVellumValue,
60
62
  FunctionCallVellumValue_1.FunctionCallVellumValue,
61
63
  ErrorVellumValue_1.ErrorVellumValue,
@@ -7,8 +7,9 @@ import * as core from "../../core";
7
7
  import { StringVellumValueRequest } from "./StringVellumValueRequest";
8
8
  import { NumberVellumValueRequest } from "./NumberVellumValueRequest";
9
9
  import { JsonVellumValueRequest } from "./JsonVellumValueRequest";
10
- import { ImageVellumValueRequest } from "./ImageVellumValueRequest";
11
10
  import { AudioVellumValueRequest } from "./AudioVellumValueRequest";
11
+ import { VideoVellumValueRequest } from "./VideoVellumValueRequest";
12
+ import { ImageVellumValueRequest } from "./ImageVellumValueRequest";
12
13
  import { DocumentVellumValueRequest } from "./DocumentVellumValueRequest";
13
14
  import { FunctionCallVellumValueRequest } from "./FunctionCallVellumValueRequest";
14
15
  import { ErrorVellumValueRequest } from "./ErrorVellumValueRequest";
@@ -17,5 +18,5 @@ import { SearchResultsVellumValueRequest } from "./SearchResultsVellumValueReque
17
18
  import { ThinkingVellumValueRequest } from "./ThinkingVellumValueRequest";
18
19
  export declare const VellumValueRequest: core.serialization.Schema<serializers.VellumValueRequest.Raw, Vellum.VellumValueRequest>;
19
20
  export declare namespace VellumValueRequest {
20
- type Raw = StringVellumValueRequest.Raw | NumberVellumValueRequest.Raw | JsonVellumValueRequest.Raw | ImageVellumValueRequest.Raw | AudioVellumValueRequest.Raw | DocumentVellumValueRequest.Raw | FunctionCallVellumValueRequest.Raw | ErrorVellumValueRequest.Raw | serializers.ArrayVellumValueRequest.Raw | ChatHistoryVellumValueRequest.Raw | SearchResultsVellumValueRequest.Raw | ThinkingVellumValueRequest.Raw;
21
+ type Raw = StringVellumValueRequest.Raw | NumberVellumValueRequest.Raw | JsonVellumValueRequest.Raw | AudioVellumValueRequest.Raw | VideoVellumValueRequest.Raw | ImageVellumValueRequest.Raw | DocumentVellumValueRequest.Raw | FunctionCallVellumValueRequest.Raw | ErrorVellumValueRequest.Raw | serializers.ArrayVellumValueRequest.Raw | ChatHistoryVellumValueRequest.Raw | SearchResultsVellumValueRequest.Raw | ThinkingVellumValueRequest.Raw;
21
22
  }
@@ -42,8 +42,9 @@ const core = __importStar(require("../../core"));
42
42
  const StringVellumValueRequest_1 = require("./StringVellumValueRequest");
43
43
  const NumberVellumValueRequest_1 = require("./NumberVellumValueRequest");
44
44
  const JsonVellumValueRequest_1 = require("./JsonVellumValueRequest");
45
- const ImageVellumValueRequest_1 = require("./ImageVellumValueRequest");
46
45
  const AudioVellumValueRequest_1 = require("./AudioVellumValueRequest");
46
+ const VideoVellumValueRequest_1 = require("./VideoVellumValueRequest");
47
+ const ImageVellumValueRequest_1 = require("./ImageVellumValueRequest");
47
48
  const DocumentVellumValueRequest_1 = require("./DocumentVellumValueRequest");
48
49
  const FunctionCallVellumValueRequest_1 = require("./FunctionCallVellumValueRequest");
49
50
  const ErrorVellumValueRequest_1 = require("./ErrorVellumValueRequest");
@@ -54,8 +55,9 @@ exports.VellumValueRequest = core.serialization.undiscriminatedUnion([
54
55
  StringVellumValueRequest_1.StringVellumValueRequest,
55
56
  NumberVellumValueRequest_1.NumberVellumValueRequest,
56
57
  JsonVellumValueRequest_1.JsonVellumValueRequest,
57
- ImageVellumValueRequest_1.ImageVellumValueRequest,
58
58
  AudioVellumValueRequest_1.AudioVellumValueRequest,
59
+ VideoVellumValueRequest_1.VideoVellumValueRequest,
60
+ ImageVellumValueRequest_1.ImageVellumValueRequest,
59
61
  DocumentVellumValueRequest_1.DocumentVellumValueRequest,
60
62
  FunctionCallVellumValueRequest_1.FunctionCallVellumValueRequest,
61
63
  ErrorVellumValueRequest_1.ErrorVellumValueRequest,
@@ -6,5 +6,5 @@ import * as Vellum from "../../api/index";
6
6
  import * as core from "../../core";
7
7
  export declare const VellumVariableType: core.serialization.Schema<serializers.VellumVariableType.Raw, Vellum.VellumVariableType>;
8
8
  export declare namespace VellumVariableType {
9
- type Raw = "STRING" | "NUMBER" | "JSON" | "CHAT_HISTORY" | "SEARCH_RESULTS" | "ERROR" | "ARRAY" | "FUNCTION_CALL" | "IMAGE" | "AUDIO" | "DOCUMENT" | "NULL" | "THINKING";
9
+ type Raw = "STRING" | "NUMBER" | "JSON" | "CHAT_HISTORY" | "SEARCH_RESULTS" | "ERROR" | "ARRAY" | "FUNCTION_CALL" | "AUDIO" | "VIDEO" | "IMAGE" | "DOCUMENT" | "NULL" | "THINKING";
10
10
  }
@@ -47,8 +47,9 @@ exports.VellumVariableType = core.serialization.enum_([
47
47
  "ERROR",
48
48
  "ARRAY",
49
49
  "FUNCTION_CALL",
50
- "IMAGE",
51
50
  "AUDIO",
51
+ "VIDEO",
52
+ "IMAGE",
52
53
  "DOCUMENT",
53
54
  "NULL",
54
55
  "THINKING",
@@ -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 VellumVideo: core.serialization.ObjectSchema<serializers.VellumVideo.Raw, Vellum.VellumVideo>;
8
+ export declare namespace VellumVideo {
9
+ interface Raw {
10
+ src: string;
11
+ metadata?: (Record<string, unknown> | null) | null;
12
+ }
13
+ }
@@ -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.VellumVideo = void 0;
40
+ const core = __importStar(require("../../core"));
41
+ exports.VellumVideo = core.serialization.object({
42
+ src: core.serialization.string(),
43
+ metadata: core.serialization
44
+ .record(core.serialization.string(), core.serialization.unknown())
45
+ .optionalNullable(),
46
+ });
@@ -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 VellumVideoRequest: core.serialization.ObjectSchema<serializers.VellumVideoRequest.Raw, Vellum.VellumVideoRequest>;
8
+ export declare namespace VellumVideoRequest {
9
+ interface Raw {
10
+ src: string;
11
+ metadata?: (Record<string, unknown> | null) | null;
12
+ }
13
+ }
@@ -0,0 +1,44 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
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.VellumVideoRequest = void 0;
40
+ const core = __importStar(require("../../core"));
41
+ exports.VellumVideoRequest = core.serialization.object({
42
+ src: core.serialization.string(),
43
+ metadata: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optionalNullable(),
44
+ });
@@ -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 { VellumVideo } from "./VellumVideo";
8
+ export declare const VideoChatMessageContent: core.serialization.ObjectSchema<serializers.VideoChatMessageContent.Raw, Vellum.VideoChatMessageContent>;
9
+ export declare namespace VideoChatMessageContent {
10
+ interface Raw {
11
+ type: "VIDEO";
12
+ value: VellumVideo.Raw;
13
+ }
14
+ }
@@ -0,0 +1,45 @@
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.VideoChatMessageContent = void 0;
40
+ const core = __importStar(require("../../core"));
41
+ const VellumVideo_1 = require("./VellumVideo");
42
+ exports.VideoChatMessageContent = core.serialization.object({
43
+ type: core.serialization.stringLiteral("VIDEO"),
44
+ value: VellumVideo_1.VellumVideo,
45
+ });
@@ -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 { VellumVideoRequest } from "./VellumVideoRequest";
8
+ export declare const VideoChatMessageContentRequest: core.serialization.ObjectSchema<serializers.VideoChatMessageContentRequest.Raw, Vellum.VideoChatMessageContentRequest>;
9
+ export declare namespace VideoChatMessageContentRequest {
10
+ interface Raw {
11
+ type: "VIDEO";
12
+ value: VellumVideoRequest.Raw;
13
+ }
14
+ }
@@ -0,0 +1,45 @@
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.VideoChatMessageContentRequest = void 0;
40
+ const core = __importStar(require("../../core"));
41
+ const VellumVideoRequest_1 = require("./VellumVideoRequest");
42
+ exports.VideoChatMessageContentRequest = core.serialization.object({
43
+ type: core.serialization.stringLiteral("VIDEO"),
44
+ value: VellumVideoRequest_1.VellumVideoRequest,
45
+ });
@@ -0,0 +1,18 @@
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 { PromptBlockState } from "./PromptBlockState";
8
+ import { EphemeralPromptCacheConfig } from "./EphemeralPromptCacheConfig";
9
+ export declare const VideoPromptBlock: core.serialization.ObjectSchema<serializers.VideoPromptBlock.Raw, Vellum.VideoPromptBlock>;
10
+ export declare namespace VideoPromptBlock {
11
+ interface Raw {
12
+ block_type: "VIDEO";
13
+ state?: PromptBlockState.Raw | null;
14
+ cache_config?: (EphemeralPromptCacheConfig.Raw | null) | null;
15
+ src: string;
16
+ metadata?: (Record<string, unknown> | null) | null;
17
+ }
18
+ }
@@ -0,0 +1,49 @@
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.VideoPromptBlock = void 0;
40
+ const core = __importStar(require("../../core"));
41
+ const PromptBlockState_1 = require("./PromptBlockState");
42
+ const EphemeralPromptCacheConfig_1 = require("./EphemeralPromptCacheConfig");
43
+ exports.VideoPromptBlock = core.serialization.object({
44
+ blockType: core.serialization.property("block_type", core.serialization.stringLiteral("VIDEO")),
45
+ state: PromptBlockState_1.PromptBlockState.optional(),
46
+ cacheConfig: core.serialization.property("cache_config", EphemeralPromptCacheConfig_1.EphemeralPromptCacheConfig.optionalNullable()),
47
+ src: core.serialization.string(),
48
+ metadata: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optionalNullable(),
49
+ });
@@ -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 { VellumVideo } from "./VellumVideo";
8
+ export declare const VideoVellumValue: core.serialization.ObjectSchema<serializers.VideoVellumValue.Raw, Vellum.VideoVellumValue>;
9
+ export declare namespace VideoVellumValue {
10
+ interface Raw {
11
+ type: "VIDEO";
12
+ value?: (VellumVideo.Raw | null) | null;
13
+ }
14
+ }
@@ -0,0 +1,45 @@
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.VideoVellumValue = void 0;
40
+ const core = __importStar(require("../../core"));
41
+ const VellumVideo_1 = require("./VellumVideo");
42
+ exports.VideoVellumValue = core.serialization.object({
43
+ type: core.serialization.stringLiteral("VIDEO"),
44
+ value: VellumVideo_1.VellumVideo.optionalNullable(),
45
+ });
@@ -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 { VellumVideoRequest } from "./VellumVideoRequest";
8
+ export declare const VideoVellumValueRequest: core.serialization.ObjectSchema<serializers.VideoVellumValueRequest.Raw, Vellum.VideoVellumValueRequest>;
9
+ export declare namespace VideoVellumValueRequest {
10
+ interface Raw {
11
+ type: "VIDEO";
12
+ value?: (VellumVideoRequest.Raw | null) | null;
13
+ }
14
+ }