vellum-ai 0.8.30 → 0.9.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 (167) hide show
  1. package/.mock/definition/__package__.yml +16 -42
  2. package/.mock/openapi/openapi.yml +3450 -3761
  3. package/Client.js +10 -10
  4. package/api/resources/adHoc/client/Client.js +1 -1
  5. package/api/resources/deployments/client/Client.js +5 -5
  6. package/api/resources/documentIndexes/client/Client.js +8 -8
  7. package/api/resources/documents/client/Client.js +5 -5
  8. package/api/resources/folderEntities/client/Client.js +2 -2
  9. package/api/resources/metricDefinitions/client/Client.js +1 -1
  10. package/api/resources/sandboxes/client/Client.js +3 -3
  11. package/api/resources/testSuiteRuns/client/Client.js +3 -3
  12. package/api/resources/testSuites/client/Client.js +4 -4
  13. package/api/resources/workflowDeployments/client/Client.js +4 -4
  14. package/api/resources/workflowSandboxes/client/Client.js +1 -1
  15. package/api/resources/workflows/client/Client.js +1 -1
  16. package/api/resources/workspaceSecrets/client/Client.js +2 -2
  17. package/api/types/ArrayInputRequest.d.ts +1 -1
  18. package/api/types/ArrayVellumValue.d.ts +1 -1
  19. package/api/types/ArrayVellumValueRequest.d.ts +1 -1
  20. package/api/types/CodeExecutionNodeArrayResult.d.ts +1 -1
  21. package/api/types/ExecutionArrayVellumValue.d.ts +1 -1
  22. package/api/types/NamedTestCaseArrayVariableValue.d.ts +1 -1
  23. package/api/types/NamedTestCaseArrayVariableValueRequest.d.ts +1 -1
  24. package/api/types/NodeInputCompiledArrayValue.d.ts +1 -1
  25. package/api/types/NodeOutputCompiledArrayValue.d.ts +1 -1
  26. package/api/types/TemplatingNodeArrayResult.d.ts +1 -1
  27. package/api/types/TerminalNodeArrayResult.d.ts +1 -1
  28. package/api/types/TestCaseArrayVariableValue.d.ts +1 -1
  29. package/api/types/TestSuiteRunExecutionArrayOutput.d.ts +1 -1
  30. package/api/types/VellumVariableType.d.ts +3 -1
  31. package/api/types/VellumVariableType.js +1 -0
  32. package/api/types/WorkflowOutputArray.d.ts +1 -1
  33. package/api/types/index.d.ts +0 -2
  34. package/api/types/index.js +0 -2
  35. package/dist/Client.js +10 -10
  36. package/dist/api/resources/adHoc/client/Client.js +1 -1
  37. package/dist/api/resources/deployments/client/Client.js +5 -5
  38. package/dist/api/resources/documentIndexes/client/Client.js +8 -8
  39. package/dist/api/resources/documents/client/Client.js +5 -5
  40. package/dist/api/resources/folderEntities/client/Client.js +2 -2
  41. package/dist/api/resources/metricDefinitions/client/Client.js +1 -1
  42. package/dist/api/resources/sandboxes/client/Client.js +3 -3
  43. package/dist/api/resources/testSuiteRuns/client/Client.js +3 -3
  44. package/dist/api/resources/testSuites/client/Client.js +4 -4
  45. package/dist/api/resources/workflowDeployments/client/Client.js +4 -4
  46. package/dist/api/resources/workflowSandboxes/client/Client.js +1 -1
  47. package/dist/api/resources/workflows/client/Client.js +1 -1
  48. package/dist/api/resources/workspaceSecrets/client/Client.js +2 -2
  49. package/dist/api/types/ArrayInputRequest.d.ts +1 -1
  50. package/dist/api/types/ArrayVellumValue.d.ts +1 -1
  51. package/dist/api/types/ArrayVellumValueRequest.d.ts +1 -1
  52. package/dist/api/types/CodeExecutionNodeArrayResult.d.ts +1 -1
  53. package/dist/api/types/ExecutionArrayVellumValue.d.ts +1 -1
  54. package/dist/api/types/NamedTestCaseArrayVariableValue.d.ts +1 -1
  55. package/dist/api/types/NamedTestCaseArrayVariableValueRequest.d.ts +1 -1
  56. package/dist/api/types/NodeInputCompiledArrayValue.d.ts +1 -1
  57. package/dist/api/types/NodeOutputCompiledArrayValue.d.ts +1 -1
  58. package/dist/api/types/TemplatingNodeArrayResult.d.ts +1 -1
  59. package/dist/api/types/TerminalNodeArrayResult.d.ts +1 -1
  60. package/dist/api/types/TestCaseArrayVariableValue.d.ts +1 -1
  61. package/dist/api/types/TestSuiteRunExecutionArrayOutput.d.ts +1 -1
  62. package/dist/api/types/VellumVariableType.d.ts +3 -1
  63. package/dist/api/types/VellumVariableType.js +1 -0
  64. package/dist/api/types/WorkflowOutputArray.d.ts +1 -1
  65. package/dist/api/types/index.d.ts +0 -2
  66. package/dist/api/types/index.js +0 -2
  67. package/dist/serialization/types/ArrayInputRequest.d.ts +1 -1
  68. package/dist/serialization/types/ArrayInputRequest.js +1 -1
  69. package/dist/serialization/types/ArrayVellumValue.d.ts +1 -1
  70. package/dist/serialization/types/ArrayVellumValue.js +1 -1
  71. package/dist/serialization/types/ArrayVellumValueRequest.d.ts +1 -1
  72. package/dist/serialization/types/ArrayVellumValueRequest.js +1 -1
  73. package/dist/serialization/types/CodeExecutionNodeArrayResult.d.ts +1 -1
  74. package/dist/serialization/types/CodeExecutionNodeArrayResult.js +1 -1
  75. package/dist/serialization/types/CodeExecutorResponse.d.ts +1 -2
  76. package/dist/serialization/types/CodeExecutorResponse.js +2 -2
  77. package/dist/serialization/types/ExecutionArrayVellumValue.d.ts +1 -1
  78. package/dist/serialization/types/ExecutionArrayVellumValue.js +1 -1
  79. package/dist/serialization/types/NamedTestCaseArrayVariableValue.d.ts +1 -1
  80. package/dist/serialization/types/NamedTestCaseArrayVariableValue.js +1 -1
  81. package/dist/serialization/types/NamedTestCaseArrayVariableValueRequest.d.ts +1 -1
  82. package/dist/serialization/types/NamedTestCaseArrayVariableValueRequest.js +1 -1
  83. package/dist/serialization/types/NodeInputCompiledArrayValue.d.ts +1 -1
  84. package/dist/serialization/types/NodeInputCompiledArrayValue.js +1 -1
  85. package/dist/serialization/types/NodeOutputCompiledArrayValue.d.ts +1 -1
  86. package/dist/serialization/types/NodeOutputCompiledArrayValue.js +1 -1
  87. package/dist/serialization/types/TemplatingNodeArrayResult.d.ts +1 -1
  88. package/dist/serialization/types/TemplatingNodeArrayResult.js +1 -1
  89. package/dist/serialization/types/TerminalNodeArrayResult.d.ts +1 -1
  90. package/dist/serialization/types/TerminalNodeArrayResult.js +1 -1
  91. package/dist/serialization/types/TestCaseArrayVariableValue.d.ts +1 -1
  92. package/dist/serialization/types/TestCaseArrayVariableValue.js +1 -1
  93. package/dist/serialization/types/TestSuiteRunExecutionArrayOutput.d.ts +1 -1
  94. package/dist/serialization/types/TestSuiteRunExecutionArrayOutput.js +1 -1
  95. package/dist/serialization/types/VellumValueLogicalConditionRequest.d.ts +2 -3
  96. package/dist/serialization/types/VellumValueLogicalConditionRequest.js +3 -3
  97. package/dist/serialization/types/VellumVariable.d.ts +1 -2
  98. package/dist/serialization/types/VellumVariable.js +2 -2
  99. package/dist/serialization/types/VellumVariableRequest.d.ts +1 -2
  100. package/dist/serialization/types/VellumVariableRequest.js +2 -2
  101. package/dist/serialization/types/VellumVariableType.d.ts +1 -1
  102. package/dist/serialization/types/VellumVariableType.js +1 -0
  103. package/dist/serialization/types/WorkflowOutputArray.d.ts +1 -1
  104. package/dist/serialization/types/WorkflowOutputArray.js +1 -1
  105. package/dist/serialization/types/index.d.ts +0 -2
  106. package/dist/serialization/types/index.js +0 -2
  107. package/dist/version.d.ts +1 -1
  108. package/dist/version.js +1 -1
  109. package/package.json +1 -1
  110. package/serialization/types/ArrayInputRequest.d.ts +1 -1
  111. package/serialization/types/ArrayInputRequest.js +1 -1
  112. package/serialization/types/ArrayVellumValue.d.ts +1 -1
  113. package/serialization/types/ArrayVellumValue.js +1 -1
  114. package/serialization/types/ArrayVellumValueRequest.d.ts +1 -1
  115. package/serialization/types/ArrayVellumValueRequest.js +1 -1
  116. package/serialization/types/CodeExecutionNodeArrayResult.d.ts +1 -1
  117. package/serialization/types/CodeExecutionNodeArrayResult.js +1 -1
  118. package/serialization/types/CodeExecutorResponse.d.ts +1 -2
  119. package/serialization/types/CodeExecutorResponse.js +2 -2
  120. package/serialization/types/ExecutionArrayVellumValue.d.ts +1 -1
  121. package/serialization/types/ExecutionArrayVellumValue.js +1 -1
  122. package/serialization/types/NamedTestCaseArrayVariableValue.d.ts +1 -1
  123. package/serialization/types/NamedTestCaseArrayVariableValue.js +1 -1
  124. package/serialization/types/NamedTestCaseArrayVariableValueRequest.d.ts +1 -1
  125. package/serialization/types/NamedTestCaseArrayVariableValueRequest.js +1 -1
  126. package/serialization/types/NodeInputCompiledArrayValue.d.ts +1 -1
  127. package/serialization/types/NodeInputCompiledArrayValue.js +1 -1
  128. package/serialization/types/NodeOutputCompiledArrayValue.d.ts +1 -1
  129. package/serialization/types/NodeOutputCompiledArrayValue.js +1 -1
  130. package/serialization/types/TemplatingNodeArrayResult.d.ts +1 -1
  131. package/serialization/types/TemplatingNodeArrayResult.js +1 -1
  132. package/serialization/types/TerminalNodeArrayResult.d.ts +1 -1
  133. package/serialization/types/TerminalNodeArrayResult.js +1 -1
  134. package/serialization/types/TestCaseArrayVariableValue.d.ts +1 -1
  135. package/serialization/types/TestCaseArrayVariableValue.js +1 -1
  136. package/serialization/types/TestSuiteRunExecutionArrayOutput.d.ts +1 -1
  137. package/serialization/types/TestSuiteRunExecutionArrayOutput.js +1 -1
  138. package/serialization/types/VellumValueLogicalConditionRequest.d.ts +2 -3
  139. package/serialization/types/VellumValueLogicalConditionRequest.js +3 -3
  140. package/serialization/types/VellumVariable.d.ts +1 -2
  141. package/serialization/types/VellumVariable.js +2 -2
  142. package/serialization/types/VellumVariableRequest.d.ts +1 -2
  143. package/serialization/types/VellumVariableRequest.js +2 -2
  144. package/serialization/types/VellumVariableType.d.ts +1 -1
  145. package/serialization/types/VellumVariableType.js +1 -0
  146. package/serialization/types/WorkflowOutputArray.d.ts +1 -1
  147. package/serialization/types/WorkflowOutputArray.js +1 -1
  148. package/serialization/types/index.d.ts +0 -2
  149. package/serialization/types/index.js +0 -2
  150. package/version.d.ts +1 -1
  151. package/version.js +1 -1
  152. package/api/types/ArrayVellumValueItem.d.ts +0 -5
  153. package/api/types/ArrayVellumValueItem.js +0 -5
  154. package/api/types/ArrayVellumValueItemRequest.d.ts +0 -5
  155. package/api/types/ArrayVellumValueItemRequest.js +0 -5
  156. package/dist/api/types/ArrayVellumValueItem.d.ts +0 -5
  157. package/dist/api/types/ArrayVellumValueItem.js +0 -5
  158. package/dist/api/types/ArrayVellumValueItemRequest.d.ts +0 -5
  159. package/dist/api/types/ArrayVellumValueItemRequest.js +0 -5
  160. package/dist/serialization/types/ArrayVellumValueItem.d.ts +0 -18
  161. package/dist/serialization/types/ArrayVellumValueItem.js +0 -50
  162. package/dist/serialization/types/ArrayVellumValueItemRequest.d.ts +0 -18
  163. package/dist/serialization/types/ArrayVellumValueItemRequest.js +0 -50
  164. package/serialization/types/ArrayVellumValueItem.d.ts +0 -18
  165. package/serialization/types/ArrayVellumValueItem.js +0 -50
  166. package/serialization/types/ArrayVellumValueItemRequest.d.ts +0 -18
  167. package/serialization/types/ArrayVellumValueItemRequest.js +0 -50
@@ -69,7 +69,7 @@ class Workflows {
69
69
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
70
70
  .default, "v1/workflows/push"),
71
71
  method: "POST",
72
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.30", "User-Agent": "vellum-ai/0.8.30", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
72
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.0", "User-Agent": "vellum-ai/0.9.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
73
73
  contentType: "application/json",
74
74
  requestType: "json",
75
75
  body: serializers.WorkflowPushRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -64,7 +64,7 @@ class WorkspaceSecrets {
64
64
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
65
65
  .default, `v1/workspace-secrets/${encodeURIComponent(id)}`),
66
66
  method: "GET",
67
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.30", "User-Agent": "vellum-ai/0.8.30", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
67
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.0", "User-Agent": "vellum-ai/0.9.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
68
68
  contentType: "application/json",
69
69
  requestType: "json",
70
70
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -117,7 +117,7 @@ class WorkspaceSecrets {
117
117
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
118
118
  .default, `v1/workspace-secrets/${encodeURIComponent(id)}`),
119
119
  method: "PATCH",
120
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.8.30", "User-Agent": "vellum-ai/0.8.30", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
120
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.0", "User-Agent": "vellum-ai/0.9.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
121
121
  contentType: "application/json",
122
122
  requestType: "json",
123
123
  body: serializers.PatchedWorkspaceSecretUpdateRequest.jsonOrThrow(request, {
@@ -9,5 +9,5 @@ export interface ArrayInputRequest {
9
9
  /** The variable's name */
10
10
  name: string;
11
11
  type: "ARRAY";
12
- value: Vellum.ArrayVellumValueItemRequest[];
12
+ value: Vellum.VellumValueRequest[];
13
13
  }
@@ -7,5 +7,5 @@ import * as Vellum from "../index";
7
7
  */
8
8
  export interface ArrayVellumValue {
9
9
  type: "ARRAY";
10
- value?: Vellum.ArrayVellumValueItem[];
10
+ value?: Vellum.VellumValue[];
11
11
  }
@@ -7,5 +7,5 @@ import * as Vellum from "../index";
7
7
  */
8
8
  export interface ArrayVellumValueRequest {
9
9
  type: "ARRAY";
10
- value?: Vellum.ArrayVellumValueItemRequest[];
10
+ value?: Vellum.VellumValueRequest[];
11
11
  }
@@ -5,5 +5,5 @@ import * as Vellum from "../index";
5
5
  export interface CodeExecutionNodeArrayResult {
6
6
  id: string;
7
7
  type: "ARRAY";
8
- value?: Vellum.ArrayVellumValueItem[];
8
+ value?: Vellum.VellumValue[];
9
9
  }
@@ -10,5 +10,5 @@ export interface ExecutionArrayVellumValue {
10
10
  id: string;
11
11
  name: string;
12
12
  type: "ARRAY";
13
- value?: Vellum.ArrayVellumValueItem[];
13
+ value?: Vellum.VellumValue[];
14
14
  }
@@ -7,6 +7,6 @@ import * as Vellum from "../index";
7
7
  */
8
8
  export interface NamedTestCaseArrayVariableValue {
9
9
  type: "ARRAY";
10
- value?: Vellum.ArrayVellumValueItem[];
10
+ value?: Vellum.VellumValue[];
11
11
  name: string;
12
12
  }
@@ -7,6 +7,6 @@ import * as Vellum from "../index";
7
7
  */
8
8
  export interface NamedTestCaseArrayVariableValueRequest {
9
9
  type: "ARRAY";
10
- value?: Vellum.ArrayVellumValueItemRequest[];
10
+ value?: Vellum.VellumValueRequest[];
11
11
  name: string;
12
12
  }
@@ -6,5 +6,5 @@ export interface NodeInputCompiledArrayValue {
6
6
  nodeInputId: string;
7
7
  key: string;
8
8
  type: "ARRAY";
9
- value?: Vellum.ArrayVellumValueItem[];
9
+ value?: Vellum.VellumValue[];
10
10
  }
@@ -7,7 +7,7 @@ import * as Vellum from "../index";
7
7
  */
8
8
  export interface NodeOutputCompiledArrayValue {
9
9
  type: "ARRAY";
10
- value?: Vellum.ArrayVellumValueItem[];
10
+ value?: Vellum.VellumValue[];
11
11
  nodeOutputId: string;
12
12
  state?: Vellum.WorkflowNodeResultEventState;
13
13
  }
@@ -5,5 +5,5 @@ import * as Vellum from "../index";
5
5
  export interface TemplatingNodeArrayResult {
6
6
  id: string;
7
7
  type: "ARRAY";
8
- value?: Vellum.ArrayVellumValueItem[];
8
+ value?: Vellum.VellumValue[];
9
9
  }
@@ -7,5 +7,5 @@ export interface TerminalNodeArrayResult {
7
7
  /** The unique name given to the terminal node that produced this output. */
8
8
  name: string;
9
9
  type: "ARRAY";
10
- value?: Vellum.ArrayVellumValueItem[];
10
+ value?: Vellum.VellumValue[];
11
11
  }
@@ -9,5 +9,5 @@ export interface TestCaseArrayVariableValue {
9
9
  variableId: string;
10
10
  name: string;
11
11
  type: "ARRAY";
12
- value?: Vellum.ArrayVellumValueItem[];
12
+ value?: Vellum.VellumValue[];
13
13
  }
@@ -8,6 +8,6 @@ import * as Vellum from "../index";
8
8
  export interface TestSuiteRunExecutionArrayOutput {
9
9
  name: string;
10
10
  type: "ARRAY";
11
- value?: Vellum.ArrayVellumValueItem[];
11
+ value?: Vellum.VellumValue[];
12
12
  outputVariableId: string;
13
13
  }
@@ -11,9 +11,10 @@
11
11
  * - `ARRAY` - ARRAY
12
12
  * - `FUNCTION_CALL` - FUNCTION_CALL
13
13
  * - `IMAGE` - IMAGE
14
+ * - `AUDIO` - AUDIO
14
15
  * - `NULL` - NULL
15
16
  */
16
- export declare type VellumVariableType = "STRING" | "NUMBER" | "JSON" | "CHAT_HISTORY" | "SEARCH_RESULTS" | "ERROR" | "ARRAY" | "FUNCTION_CALL" | "IMAGE" | "NULL";
17
+ export declare type VellumVariableType = "STRING" | "NUMBER" | "JSON" | "CHAT_HISTORY" | "SEARCH_RESULTS" | "ERROR" | "ARRAY" | "FUNCTION_CALL" | "IMAGE" | "AUDIO" | "NULL";
17
18
  export declare const VellumVariableType: {
18
19
  readonly String: "STRING";
19
20
  readonly Number: "NUMBER";
@@ -24,5 +25,6 @@ export declare const VellumVariableType: {
24
25
  readonly Array: "ARRAY";
25
26
  readonly FunctionCall: "FUNCTION_CALL";
26
27
  readonly Image: "IMAGE";
28
+ readonly Audio: "AUDIO";
27
29
  readonly Null: "NULL";
28
30
  };
@@ -14,5 +14,6 @@ exports.VellumVariableType = {
14
14
  Array: "ARRAY",
15
15
  FunctionCall: "FUNCTION_CALL",
16
16
  Image: "IMAGE",
17
+ Audio: "AUDIO",
17
18
  Null: "NULL",
18
19
  };
@@ -10,5 +10,5 @@ export interface WorkflowOutputArray {
10
10
  /** The output's name, as defined in the workflow */
11
11
  name: string;
12
12
  type: "ARRAY";
13
- value?: Vellum.ArrayVellumValueItem[];
13
+ value?: Vellum.VellumValue[];
14
14
  }
@@ -15,8 +15,6 @@ export * from "./ArrayInputRequest";
15
15
  export * from "./ArrayVariableValue";
16
16
  export * from "./ArrayVariableValueItem";
17
17
  export * from "./ArrayVellumValue";
18
- export * from "./ArrayVellumValueItem";
19
- export * from "./ArrayVellumValueItemRequest";
20
18
  export * from "./ArrayVellumValueRequest";
21
19
  export * from "./BasicVectorizerIntfloatMultilingualE5Large";
22
20
  export * from "./BasicVectorizerIntfloatMultilingualE5LargeRequest";
@@ -31,8 +31,6 @@ __exportStar(require("./ArrayInputRequest"), exports);
31
31
  __exportStar(require("./ArrayVariableValue"), exports);
32
32
  __exportStar(require("./ArrayVariableValueItem"), exports);
33
33
  __exportStar(require("./ArrayVellumValue"), exports);
34
- __exportStar(require("./ArrayVellumValueItem"), exports);
35
- __exportStar(require("./ArrayVellumValueItemRequest"), exports);
36
34
  __exportStar(require("./ArrayVellumValueRequest"), exports);
37
35
  __exportStar(require("./BasicVectorizerIntfloatMultilingualE5Large"), exports);
38
36
  __exportStar(require("./BasicVectorizerIntfloatMultilingualE5LargeRequest"), exports);
@@ -9,6 +9,6 @@ export declare namespace ArrayInputRequest {
9
9
  interface Raw {
10
10
  name: string;
11
11
  type: "ARRAY";
12
- value: serializers.ArrayVellumValueItemRequest.Raw[];
12
+ value: serializers.VellumValueRequest.Raw[];
13
13
  }
14
14
  }
@@ -32,5 +32,5 @@ const core = __importStar(require("../../core"));
32
32
  exports.ArrayInputRequest = core.serialization.object({
33
33
  name: core.serialization.string(),
34
34
  type: core.serialization.stringLiteral("ARRAY"),
35
- value: core.serialization.list(core.serialization.lazy(() => serializers.ArrayVellumValueItemRequest)),
35
+ value: core.serialization.list(core.serialization.lazy(() => serializers.VellumValueRequest)),
36
36
  });
@@ -8,6 +8,6 @@ export declare const ArrayVellumValue: core.serialization.ObjectSchema<serialize
8
8
  export declare namespace ArrayVellumValue {
9
9
  interface Raw {
10
10
  type: "ARRAY";
11
- value?: serializers.ArrayVellumValueItem.Raw[] | null;
11
+ value?: serializers.VellumValue.Raw[] | null;
12
12
  }
13
13
  }
@@ -31,5 +31,5 @@ const serializers = __importStar(require("../index"));
31
31
  const core = __importStar(require("../../core"));
32
32
  exports.ArrayVellumValue = core.serialization.object({
33
33
  type: core.serialization.stringLiteral("ARRAY"),
34
- value: core.serialization.list(core.serialization.lazy(() => serializers.ArrayVellumValueItem)).optional(),
34
+ value: core.serialization.list(core.serialization.lazy(() => serializers.VellumValue)).optional(),
35
35
  });
@@ -8,6 +8,6 @@ export declare const ArrayVellumValueRequest: core.serialization.ObjectSchema<se
8
8
  export declare namespace ArrayVellumValueRequest {
9
9
  interface Raw {
10
10
  type: "ARRAY";
11
- value?: serializers.ArrayVellumValueItemRequest.Raw[] | null;
11
+ value?: serializers.VellumValueRequest.Raw[] | null;
12
12
  }
13
13
  }
@@ -31,5 +31,5 @@ const serializers = __importStar(require("../index"));
31
31
  const core = __importStar(require("../../core"));
32
32
  exports.ArrayVellumValueRequest = core.serialization.object({
33
33
  type: core.serialization.stringLiteral("ARRAY"),
34
- value: core.serialization.list(core.serialization.lazy(() => serializers.ArrayVellumValueItemRequest)).optional(),
34
+ value: core.serialization.list(core.serialization.lazy(() => serializers.VellumValueRequest)).optional(),
35
35
  });
@@ -9,6 +9,6 @@ export declare namespace CodeExecutionNodeArrayResult {
9
9
  interface Raw {
10
10
  id: string;
11
11
  type: "ARRAY";
12
- value?: serializers.ArrayVellumValueItem.Raw[] | null;
12
+ value?: serializers.VellumValue.Raw[] | null;
13
13
  }
14
14
  }
@@ -32,5 +32,5 @@ const core = __importStar(require("../../core"));
32
32
  exports.CodeExecutionNodeArrayResult = core.serialization.object({
33
33
  id: core.serialization.string(),
34
34
  type: core.serialization.stringLiteral("ARRAY"),
35
- value: core.serialization.list(core.serialization.lazy(() => serializers.ArrayVellumValueItem)).optional(),
35
+ value: core.serialization.list(core.serialization.lazy(() => serializers.VellumValue)).optional(),
36
36
  });
@@ -4,11 +4,10 @@
4
4
  import * as serializers from "../index";
5
5
  import * as Vellum from "../../api/index";
6
6
  import * as core from "../../core";
7
- import { VellumValue } from "./VellumValue";
8
7
  export declare const CodeExecutorResponse: core.serialization.ObjectSchema<serializers.CodeExecutorResponse.Raw, Vellum.CodeExecutorResponse>;
9
8
  export declare namespace CodeExecutorResponse {
10
9
  interface Raw {
11
10
  log: string;
12
- output: VellumValue.Raw;
11
+ output: serializers.VellumValue.Raw;
13
12
  }
14
13
  }
@@ -27,9 +27,9 @@ var __importStar = (this && this.__importStar) || function (mod) {
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.CodeExecutorResponse = void 0;
30
+ const serializers = __importStar(require("../index"));
30
31
  const core = __importStar(require("../../core"));
31
- const VellumValue_1 = require("./VellumValue");
32
32
  exports.CodeExecutorResponse = core.serialization.object({
33
33
  log: core.serialization.string(),
34
- output: VellumValue_1.VellumValue,
34
+ output: core.serialization.lazy(() => serializers.VellumValue),
35
35
  });
@@ -10,6 +10,6 @@ export declare namespace ExecutionArrayVellumValue {
10
10
  id: string;
11
11
  name: string;
12
12
  type: "ARRAY";
13
- value?: serializers.ArrayVellumValueItem.Raw[] | null;
13
+ value?: serializers.VellumValue.Raw[] | null;
14
14
  }
15
15
  }
@@ -33,5 +33,5 @@ exports.ExecutionArrayVellumValue = core.serialization.object({
33
33
  id: core.serialization.string(),
34
34
  name: core.serialization.string(),
35
35
  type: core.serialization.stringLiteral("ARRAY"),
36
- value: core.serialization.list(core.serialization.lazy(() => serializers.ArrayVellumValueItem)).optional(),
36
+ value: core.serialization.list(core.serialization.lazy(() => serializers.VellumValue)).optional(),
37
37
  });
@@ -8,7 +8,7 @@ export declare const NamedTestCaseArrayVariableValue: core.serialization.ObjectS
8
8
  export declare namespace NamedTestCaseArrayVariableValue {
9
9
  interface Raw {
10
10
  type: "ARRAY";
11
- value?: serializers.ArrayVellumValueItem.Raw[] | null;
11
+ value?: serializers.VellumValue.Raw[] | null;
12
12
  name: string;
13
13
  }
14
14
  }
@@ -31,6 +31,6 @@ const serializers = __importStar(require("../index"));
31
31
  const core = __importStar(require("../../core"));
32
32
  exports.NamedTestCaseArrayVariableValue = core.serialization.object({
33
33
  type: core.serialization.stringLiteral("ARRAY"),
34
- value: core.serialization.list(core.serialization.lazy(() => serializers.ArrayVellumValueItem)).optional(),
34
+ value: core.serialization.list(core.serialization.lazy(() => serializers.VellumValue)).optional(),
35
35
  name: core.serialization.string(),
36
36
  });
@@ -8,7 +8,7 @@ export declare const NamedTestCaseArrayVariableValueRequest: core.serialization.
8
8
  export declare namespace NamedTestCaseArrayVariableValueRequest {
9
9
  interface Raw {
10
10
  type: "ARRAY";
11
- value?: serializers.ArrayVellumValueItemRequest.Raw[] | null;
11
+ value?: serializers.VellumValueRequest.Raw[] | null;
12
12
  name: string;
13
13
  }
14
14
  }
@@ -31,6 +31,6 @@ const serializers = __importStar(require("../index"));
31
31
  const core = __importStar(require("../../core"));
32
32
  exports.NamedTestCaseArrayVariableValueRequest = core.serialization.object({
33
33
  type: core.serialization.stringLiteral("ARRAY"),
34
- value: core.serialization.list(core.serialization.lazy(() => serializers.ArrayVellumValueItemRequest)).optional(),
34
+ value: core.serialization.list(core.serialization.lazy(() => serializers.VellumValueRequest)).optional(),
35
35
  name: core.serialization.string(),
36
36
  });
@@ -10,6 +10,6 @@ export declare namespace NodeInputCompiledArrayValue {
10
10
  node_input_id: string;
11
11
  key: string;
12
12
  type: "ARRAY";
13
- value?: serializers.ArrayVellumValueItem.Raw[] | null;
13
+ value?: serializers.VellumValue.Raw[] | null;
14
14
  }
15
15
  }
@@ -33,5 +33,5 @@ exports.NodeInputCompiledArrayValue = core.serialization.object({
33
33
  nodeInputId: core.serialization.property("node_input_id", core.serialization.string()),
34
34
  key: core.serialization.string(),
35
35
  type: core.serialization.stringLiteral("ARRAY"),
36
- value: core.serialization.list(core.serialization.lazy(() => serializers.ArrayVellumValueItem)).optional(),
36
+ value: core.serialization.list(core.serialization.lazy(() => serializers.VellumValue)).optional(),
37
37
  });
@@ -9,7 +9,7 @@ export declare const NodeOutputCompiledArrayValue: core.serialization.ObjectSche
9
9
  export declare namespace NodeOutputCompiledArrayValue {
10
10
  interface Raw {
11
11
  type: "ARRAY";
12
- value?: serializers.ArrayVellumValueItem.Raw[] | null;
12
+ value?: serializers.VellumValue.Raw[] | null;
13
13
  node_output_id: string;
14
14
  state?: WorkflowNodeResultEventState.Raw | null;
15
15
  }
@@ -32,7 +32,7 @@ const core = __importStar(require("../../core"));
32
32
  const WorkflowNodeResultEventState_1 = require("./WorkflowNodeResultEventState");
33
33
  exports.NodeOutputCompiledArrayValue = core.serialization.object({
34
34
  type: core.serialization.stringLiteral("ARRAY"),
35
- value: core.serialization.list(core.serialization.lazy(() => serializers.ArrayVellumValueItem)).optional(),
35
+ value: core.serialization.list(core.serialization.lazy(() => serializers.VellumValue)).optional(),
36
36
  nodeOutputId: core.serialization.property("node_output_id", core.serialization.string()),
37
37
  state: WorkflowNodeResultEventState_1.WorkflowNodeResultEventState.optional(),
38
38
  });
@@ -9,6 +9,6 @@ export declare namespace TemplatingNodeArrayResult {
9
9
  interface Raw {
10
10
  id: string;
11
11
  type: "ARRAY";
12
- value?: serializers.ArrayVellumValueItem.Raw[] | null;
12
+ value?: serializers.VellumValue.Raw[] | null;
13
13
  }
14
14
  }
@@ -32,5 +32,5 @@ const core = __importStar(require("../../core"));
32
32
  exports.TemplatingNodeArrayResult = core.serialization.object({
33
33
  id: core.serialization.string(),
34
34
  type: core.serialization.stringLiteral("ARRAY"),
35
- value: core.serialization.list(core.serialization.lazy(() => serializers.ArrayVellumValueItem)).optional(),
35
+ value: core.serialization.list(core.serialization.lazy(() => serializers.VellumValue)).optional(),
36
36
  });
@@ -10,6 +10,6 @@ export declare namespace TerminalNodeArrayResult {
10
10
  id?: string | null;
11
11
  name: string;
12
12
  type: "ARRAY";
13
- value?: serializers.ArrayVellumValueItem.Raw[] | null;
13
+ value?: serializers.VellumValue.Raw[] | null;
14
14
  }
15
15
  }
@@ -33,5 +33,5 @@ exports.TerminalNodeArrayResult = core.serialization.object({
33
33
  id: core.serialization.string().optional(),
34
34
  name: core.serialization.string(),
35
35
  type: core.serialization.stringLiteral("ARRAY"),
36
- value: core.serialization.list(core.serialization.lazy(() => serializers.ArrayVellumValueItem)).optional(),
36
+ value: core.serialization.list(core.serialization.lazy(() => serializers.VellumValue)).optional(),
37
37
  });
@@ -10,6 +10,6 @@ export declare namespace TestCaseArrayVariableValue {
10
10
  variable_id: string;
11
11
  name: string;
12
12
  type: "ARRAY";
13
- value?: serializers.ArrayVellumValueItem.Raw[] | null;
13
+ value?: serializers.VellumValue.Raw[] | null;
14
14
  }
15
15
  }
@@ -33,5 +33,5 @@ exports.TestCaseArrayVariableValue = core.serialization.object({
33
33
  variableId: core.serialization.property("variable_id", core.serialization.string()),
34
34
  name: core.serialization.string(),
35
35
  type: core.serialization.stringLiteral("ARRAY"),
36
- value: core.serialization.list(core.serialization.lazy(() => serializers.ArrayVellumValueItem)).optional(),
36
+ value: core.serialization.list(core.serialization.lazy(() => serializers.VellumValue)).optional(),
37
37
  });
@@ -9,7 +9,7 @@ export declare namespace TestSuiteRunExecutionArrayOutput {
9
9
  interface Raw {
10
10
  name: string;
11
11
  type: "ARRAY";
12
- value?: serializers.ArrayVellumValueItem.Raw[] | null;
12
+ value?: serializers.VellumValue.Raw[] | null;
13
13
  output_variable_id: string;
14
14
  }
15
15
  }
@@ -32,6 +32,6 @@ const core = __importStar(require("../../core"));
32
32
  exports.TestSuiteRunExecutionArrayOutput = core.serialization.object({
33
33
  name: core.serialization.string(),
34
34
  type: core.serialization.stringLiteral("ARRAY"),
35
- value: core.serialization.list(core.serialization.lazy(() => serializers.ArrayVellumValueItem)).optional(),
35
+ value: core.serialization.list(core.serialization.lazy(() => serializers.VellumValue)).optional(),
36
36
  outputVariableId: core.serialization.property("output_variable_id", core.serialization.string()),
37
37
  });
@@ -4,14 +4,13 @@
4
4
  import * as serializers from "../index";
5
5
  import * as Vellum from "../../api/index";
6
6
  import * as core from "../../core";
7
- import { VellumValueRequest } from "./VellumValueRequest";
8
7
  import { LogicalOperator } from "./LogicalOperator";
9
8
  export declare const VellumValueLogicalConditionRequest: core.serialization.ObjectSchema<serializers.VellumValueLogicalConditionRequest.Raw, Vellum.VellumValueLogicalConditionRequest>;
10
9
  export declare namespace VellumValueLogicalConditionRequest {
11
10
  interface Raw {
12
11
  type: "LOGICAL_CONDITION";
13
- lhs_variable: VellumValueRequest.Raw;
12
+ lhs_variable: serializers.VellumValueRequest.Raw;
14
13
  operator: LogicalOperator.Raw;
15
- rhs_variable: VellumValueRequest.Raw;
14
+ rhs_variable: serializers.VellumValueRequest.Raw;
16
15
  }
17
16
  }
@@ -27,12 +27,12 @@ var __importStar = (this && this.__importStar) || function (mod) {
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.VellumValueLogicalConditionRequest = void 0;
30
+ const serializers = __importStar(require("../index"));
30
31
  const core = __importStar(require("../../core"));
31
- const VellumValueRequest_1 = require("./VellumValueRequest");
32
32
  const LogicalOperator_1 = require("./LogicalOperator");
33
33
  exports.VellumValueLogicalConditionRequest = core.serialization.object({
34
34
  type: core.serialization.stringLiteral("LOGICAL_CONDITION"),
35
- lhsVariable: core.serialization.property("lhs_variable", VellumValueRequest_1.VellumValueRequest),
35
+ lhsVariable: core.serialization.property("lhs_variable", core.serialization.lazy(() => serializers.VellumValueRequest)),
36
36
  operator: LogicalOperator_1.LogicalOperator,
37
- rhsVariable: core.serialization.property("rhs_variable", VellumValueRequest_1.VellumValueRequest),
37
+ rhsVariable: core.serialization.property("rhs_variable", core.serialization.lazy(() => serializers.VellumValueRequest)),
38
38
  });
@@ -5,7 +5,6 @@ import * as serializers from "../index";
5
5
  import * as Vellum from "../../api/index";
6
6
  import * as core from "../../core";
7
7
  import { VellumVariableType } from "./VellumVariableType";
8
- import { VellumValue } from "./VellumValue";
9
8
  import { VellumVariableExtensions } from "./VellumVariableExtensions";
10
9
  export declare const VellumVariable: core.serialization.ObjectSchema<serializers.VellumVariable.Raw, Vellum.VellumVariable>;
11
10
  export declare namespace VellumVariable {
@@ -14,7 +13,7 @@ export declare namespace VellumVariable {
14
13
  key: string;
15
14
  type: VellumVariableType.Raw;
16
15
  required?: boolean | null;
17
- default?: VellumValue.Raw | null;
16
+ default?: serializers.VellumValue.Raw | null;
18
17
  extensions?: VellumVariableExtensions.Raw | null;
19
18
  }
20
19
  }
@@ -27,15 +27,15 @@ var __importStar = (this && this.__importStar) || function (mod) {
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.VellumVariable = void 0;
30
+ const serializers = __importStar(require("../index"));
30
31
  const core = __importStar(require("../../core"));
31
32
  const VellumVariableType_1 = require("./VellumVariableType");
32
- const VellumValue_1 = require("./VellumValue");
33
33
  const VellumVariableExtensions_1 = require("./VellumVariableExtensions");
34
34
  exports.VellumVariable = core.serialization.object({
35
35
  id: core.serialization.string(),
36
36
  key: core.serialization.string(),
37
37
  type: VellumVariableType_1.VellumVariableType,
38
38
  required: core.serialization.boolean().optional(),
39
- default: VellumValue_1.VellumValue.optional(),
39
+ default: core.serialization.lazy(() => serializers.VellumValue).optional(),
40
40
  extensions: VellumVariableExtensions_1.VellumVariableExtensions.optional(),
41
41
  });
@@ -5,7 +5,6 @@ import * as serializers from "../index";
5
5
  import * as Vellum from "../../api/index";
6
6
  import * as core from "../../core";
7
7
  import { VellumVariableType } from "./VellumVariableType";
8
- import { VellumValueRequest } from "./VellumValueRequest";
9
8
  import { VellumVariableExtensionsRequest } from "./VellumVariableExtensionsRequest";
10
9
  export declare const VellumVariableRequest: core.serialization.ObjectSchema<serializers.VellumVariableRequest.Raw, Vellum.VellumVariableRequest>;
11
10
  export declare namespace VellumVariableRequest {
@@ -14,7 +13,7 @@ export declare namespace VellumVariableRequest {
14
13
  key: string;
15
14
  type: VellumVariableType.Raw;
16
15
  required?: boolean | null;
17
- default?: VellumValueRequest.Raw | null;
16
+ default?: serializers.VellumValueRequest.Raw | null;
18
17
  extensions?: VellumVariableExtensionsRequest.Raw | null;
19
18
  }
20
19
  }
@@ -27,15 +27,15 @@ var __importStar = (this && this.__importStar) || function (mod) {
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.VellumVariableRequest = void 0;
30
+ const serializers = __importStar(require("../index"));
30
31
  const core = __importStar(require("../../core"));
31
32
  const VellumVariableType_1 = require("./VellumVariableType");
32
- const VellumValueRequest_1 = require("./VellumValueRequest");
33
33
  const VellumVariableExtensionsRequest_1 = require("./VellumVariableExtensionsRequest");
34
34
  exports.VellumVariableRequest = core.serialization.object({
35
35
  id: core.serialization.string(),
36
36
  key: core.serialization.string(),
37
37
  type: VellumVariableType_1.VellumVariableType,
38
38
  required: core.serialization.boolean().optional(),
39
- default: VellumValueRequest_1.VellumValueRequest.optional(),
39
+ default: core.serialization.lazy(() => serializers.VellumValueRequest).optional(),
40
40
  extensions: VellumVariableExtensionsRequest_1.VellumVariableExtensionsRequest.optional(),
41
41
  });
@@ -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" | "NULL";
9
+ type Raw = "STRING" | "NUMBER" | "JSON" | "CHAT_HISTORY" | "SEARCH_RESULTS" | "ERROR" | "ARRAY" | "FUNCTION_CALL" | "IMAGE" | "AUDIO" | "NULL";
10
10
  }
@@ -38,5 +38,6 @@ exports.VellumVariableType = core.serialization.enum_([
38
38
  "ARRAY",
39
39
  "FUNCTION_CALL",
40
40
  "IMAGE",
41
+ "AUDIO",
41
42
  "NULL",
42
43
  ]);
@@ -10,6 +10,6 @@ export declare namespace WorkflowOutputArray {
10
10
  id: string;
11
11
  name: string;
12
12
  type: "ARRAY";
13
- value?: serializers.ArrayVellumValueItem.Raw[] | null;
13
+ value?: serializers.VellumValue.Raw[] | null;
14
14
  }
15
15
  }
@@ -33,5 +33,5 @@ exports.WorkflowOutputArray = core.serialization.object({
33
33
  id: core.serialization.string(),
34
34
  name: core.serialization.string(),
35
35
  type: core.serialization.stringLiteral("ARRAY"),
36
- value: core.serialization.list(core.serialization.lazy(() => serializers.ArrayVellumValueItem)).optional(),
36
+ value: core.serialization.list(core.serialization.lazy(() => serializers.VellumValue)).optional(),
37
37
  });