vellum-ai 0.14.41 → 0.14.42

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 (94) 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 +7 -7
  5. package/api/resources/documentIndexes/client/Client.js +8 -8
  6. package/api/resources/documents/client/Client.d.ts +3 -3
  7. package/api/resources/documents/client/Client.js +8 -8
  8. package/api/resources/folderEntities/client/Client.js +2 -2
  9. package/api/resources/metricDefinitions/client/Client.js +2 -2
  10. package/api/resources/mlModels/client/Client.js +1 -1
  11. package/api/resources/organizations/client/Client.js +1 -1
  12. package/api/resources/prompts/client/Client.js +1 -1
  13. package/api/resources/releaseReviews/client/Client.js +2 -2
  14. package/api/resources/sandboxes/client/Client.js +3 -3
  15. package/api/resources/testSuiteRuns/client/Client.js +3 -3
  16. package/api/resources/testSuites/client/Client.js +4 -4
  17. package/api/resources/workflowDeployments/client/Client.js +8 -8
  18. package/api/resources/workflowSandboxes/client/Client.js +2 -2
  19. package/api/resources/workflows/client/Client.js +2 -2
  20. package/api/resources/workspaceSecrets/client/Client.js +2 -2
  21. package/api/resources/workspaces/client/Client.js +1 -1
  22. package/api/types/ExecuteApiResponse.d.ts +2 -1
  23. package/api/types/ExecuteApiResponseJson.d.ts +4 -0
  24. package/api/types/PromptSettings.d.ts +1 -0
  25. package/api/types/WorkflowExecutionInitiatedBody.d.ts +0 -1
  26. package/api/types/index.d.ts +1 -2
  27. package/api/types/index.js +1 -2
  28. package/dist/Client.js +11 -11
  29. package/dist/api/resources/adHoc/client/Client.js +2 -2
  30. package/dist/api/resources/containerImages/client/Client.js +4 -4
  31. package/dist/api/resources/deployments/client/Client.js +7 -7
  32. package/dist/api/resources/documentIndexes/client/Client.js +8 -8
  33. package/dist/api/resources/documents/client/Client.d.ts +3 -3
  34. package/dist/api/resources/documents/client/Client.js +8 -8
  35. package/dist/api/resources/folderEntities/client/Client.js +2 -2
  36. package/dist/api/resources/metricDefinitions/client/Client.js +2 -2
  37. package/dist/api/resources/mlModels/client/Client.js +1 -1
  38. package/dist/api/resources/organizations/client/Client.js +1 -1
  39. package/dist/api/resources/prompts/client/Client.js +1 -1
  40. package/dist/api/resources/releaseReviews/client/Client.js +2 -2
  41. package/dist/api/resources/sandboxes/client/Client.js +3 -3
  42. package/dist/api/resources/testSuiteRuns/client/Client.js +3 -3
  43. package/dist/api/resources/testSuites/client/Client.js +4 -4
  44. package/dist/api/resources/workflowDeployments/client/Client.js +8 -8
  45. package/dist/api/resources/workflowSandboxes/client/Client.js +2 -2
  46. package/dist/api/resources/workflows/client/Client.js +2 -2
  47. package/dist/api/resources/workspaceSecrets/client/Client.js +2 -2
  48. package/dist/api/resources/workspaces/client/Client.js +1 -1
  49. package/dist/api/types/ExecuteApiResponse.d.ts +2 -1
  50. package/dist/api/types/ExecuteApiResponseJson.d.ts +4 -0
  51. package/dist/api/types/PromptSettings.d.ts +1 -0
  52. package/dist/api/types/WorkflowExecutionInitiatedBody.d.ts +0 -1
  53. package/dist/api/types/index.d.ts +1 -2
  54. package/dist/api/types/index.js +1 -2
  55. package/dist/serialization/types/ExecuteApiResponse.d.ts +2 -1
  56. package/dist/serialization/types/ExecuteApiResponse.js +2 -1
  57. package/dist/serialization/types/ExecuteApiResponseJson.d.ts +10 -0
  58. package/dist/serialization/types/{WorkflowEventDisplayContext.js → ExecuteApiResponseJson.js} +5 -7
  59. package/dist/serialization/types/PromptSettings.d.ts +1 -0
  60. package/dist/serialization/types/PromptSettings.js +1 -0
  61. package/dist/serialization/types/WorkflowExecutionInitiatedBody.d.ts +0 -1
  62. package/dist/serialization/types/WorkflowExecutionInitiatedBody.js +0 -2
  63. package/dist/serialization/types/index.d.ts +1 -2
  64. package/dist/serialization/types/index.js +1 -2
  65. package/dist/version.d.ts +1 -1
  66. package/dist/version.js +1 -1
  67. package/package.json +1 -1
  68. package/reference.md +3 -3
  69. package/serialization/types/ExecuteApiResponse.d.ts +2 -1
  70. package/serialization/types/ExecuteApiResponse.js +2 -1
  71. package/serialization/types/ExecuteApiResponseJson.d.ts +10 -0
  72. package/serialization/types/{WorkflowEventDisplayContext.js → ExecuteApiResponseJson.js} +5 -7
  73. package/serialization/types/PromptSettings.d.ts +1 -0
  74. package/serialization/types/PromptSettings.js +1 -0
  75. package/serialization/types/WorkflowExecutionInitiatedBody.d.ts +0 -1
  76. package/serialization/types/WorkflowExecutionInitiatedBody.js +0 -2
  77. package/serialization/types/index.d.ts +1 -2
  78. package/serialization/types/index.js +1 -2
  79. package/version.d.ts +1 -1
  80. package/version.js +1 -1
  81. package/api/types/NodeEventDisplayContext.d.ts +0 -10
  82. package/api/types/WorkflowEventDisplayContext.d.ts +0 -9
  83. package/dist/api/types/NodeEventDisplayContext.d.ts +0 -10
  84. package/dist/api/types/NodeEventDisplayContext.js +0 -5
  85. package/dist/api/types/WorkflowEventDisplayContext.d.ts +0 -9
  86. package/dist/api/types/WorkflowEventDisplayContext.js +0 -5
  87. package/dist/serialization/types/NodeEventDisplayContext.d.ts +0 -15
  88. package/dist/serialization/types/NodeEventDisplayContext.js +0 -47
  89. package/dist/serialization/types/WorkflowEventDisplayContext.d.ts +0 -14
  90. package/serialization/types/NodeEventDisplayContext.d.ts +0 -15
  91. package/serialization/types/NodeEventDisplayContext.js +0 -47
  92. package/serialization/types/WorkflowEventDisplayContext.d.ts +0 -14
  93. /package/api/types/{NodeEventDisplayContext.js → ExecuteApiResponseJson.js} +0 -0
  94. /package/{api/types/WorkflowEventDisplayContext.js → dist/api/types/ExecuteApiResponseJson.js} +0 -0
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export type ExecuteApiResponseJson = Record<string, unknown> | unknown[];
@@ -3,4 +3,5 @@
3
3
  */
4
4
  export interface PromptSettings {
5
5
  timeout?: number;
6
+ streamEnabled?: boolean;
6
7
  }
@@ -4,6 +4,5 @@
4
4
  import * as Vellum from "../index";
5
5
  export interface WorkflowExecutionInitiatedBody {
6
6
  workflowDefinition: Vellum.VellumCodeResourceDefinition;
7
- displayContext?: Vellum.WorkflowEventDisplayContext;
8
7
  inputs: Record<string, unknown>;
9
8
  }
@@ -96,6 +96,7 @@ export * from "./EphemeralPromptCacheConfigTypeEnum";
96
96
  export * from "./ErrorInput";
97
97
  export * from "./ErrorVellumValue";
98
98
  export * from "./ErrorVellumValueRequest";
99
+ export * from "./ExecuteApiResponseJson";
99
100
  export * from "./ExecuteApiResponse";
100
101
  export * from "./ExecutePromptEvent";
101
102
  export * from "./ExecutePromptResponse";
@@ -221,7 +222,6 @@ export * from "./NamedTestCaseStringVariableValueRequest";
221
222
  export * from "./NamedTestCaseVariableValue";
222
223
  export * from "./NamedTestCaseVariableValueRequest";
223
224
  export * from "./NewMemberJoinBehaviorEnum";
224
- export * from "./NodeEventDisplayContext";
225
225
  export * from "./NodeExecutionFulfilledBody";
226
226
  export * from "./NodeExecutionFulfilledEvent";
227
227
  export * from "./NodeExecutionInitiatedBody";
@@ -512,7 +512,6 @@ export * from "./WorkflowDeploymentRelease";
512
512
  export * from "./WorkflowDeploymentReleaseWorkflowDeployment";
513
513
  export * from "./WorkflowDeploymentReleaseWorkflowVersion";
514
514
  export * from "./WorkflowError";
515
- export * from "./WorkflowEventDisplayContext";
516
515
  export * from "./WorkflowEventError";
517
516
  export * from "./WorkflowEventExecutionRead";
518
517
  export * from "./WorkflowExecutionActual";
@@ -112,6 +112,7 @@ __exportStar(require("./EphemeralPromptCacheConfigTypeEnum"), exports);
112
112
  __exportStar(require("./ErrorInput"), exports);
113
113
  __exportStar(require("./ErrorVellumValue"), exports);
114
114
  __exportStar(require("./ErrorVellumValueRequest"), exports);
115
+ __exportStar(require("./ExecuteApiResponseJson"), exports);
115
116
  __exportStar(require("./ExecuteApiResponse"), exports);
116
117
  __exportStar(require("./ExecutePromptEvent"), exports);
117
118
  __exportStar(require("./ExecutePromptResponse"), exports);
@@ -237,7 +238,6 @@ __exportStar(require("./NamedTestCaseStringVariableValueRequest"), exports);
237
238
  __exportStar(require("./NamedTestCaseVariableValue"), exports);
238
239
  __exportStar(require("./NamedTestCaseVariableValueRequest"), exports);
239
240
  __exportStar(require("./NewMemberJoinBehaviorEnum"), exports);
240
- __exportStar(require("./NodeEventDisplayContext"), exports);
241
241
  __exportStar(require("./NodeExecutionFulfilledBody"), exports);
242
242
  __exportStar(require("./NodeExecutionFulfilledEvent"), exports);
243
243
  __exportStar(require("./NodeExecutionInitiatedBody"), exports);
@@ -528,7 +528,6 @@ __exportStar(require("./WorkflowDeploymentRelease"), exports);
528
528
  __exportStar(require("./WorkflowDeploymentReleaseWorkflowDeployment"), exports);
529
529
  __exportStar(require("./WorkflowDeploymentReleaseWorkflowVersion"), exports);
530
530
  __exportStar(require("./WorkflowError"), exports);
531
- __exportStar(require("./WorkflowEventDisplayContext"), exports);
532
531
  __exportStar(require("./WorkflowEventError"), exports);
533
532
  __exportStar(require("./WorkflowEventExecutionRead"), exports);
534
533
  __exportStar(require("./WorkflowExecutionActual"), exports);
@@ -4,12 +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 { ExecuteApiResponseJson } from "./ExecuteApiResponseJson";
7
8
  export declare const ExecuteApiResponse: core.serialization.ObjectSchema<serializers.ExecuteApiResponse.Raw, Vellum.ExecuteApiResponse>;
8
9
  export declare namespace ExecuteApiResponse {
9
10
  interface Raw {
10
11
  status_code: number;
11
12
  text: string;
12
- json?: Record<string, unknown> | null;
13
+ json: ExecuteApiResponseJson.Raw;
13
14
  headers: Record<string, string>;
14
15
  }
15
16
  }
@@ -38,9 +38,10 @@ var __importStar = (this && this.__importStar) || (function () {
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.ExecuteApiResponse = void 0;
40
40
  const core = __importStar(require("../../core"));
41
+ const ExecuteApiResponseJson_1 = require("./ExecuteApiResponseJson");
41
42
  exports.ExecuteApiResponse = core.serialization.object({
42
43
  statusCode: core.serialization.property("status_code", core.serialization.number()),
43
44
  text: core.serialization.string(),
44
- json: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(),
45
+ json: ExecuteApiResponseJson_1.ExecuteApiResponseJson,
45
46
  headers: core.serialization.record(core.serialization.string(), core.serialization.string()),
46
47
  });
@@ -0,0 +1,10 @@
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 ExecuteApiResponseJson: core.serialization.Schema<serializers.ExecuteApiResponseJson.Raw, Vellum.ExecuteApiResponseJson>;
8
+ export declare namespace ExecuteApiResponseJson {
9
+ type Raw = Record<string, unknown> | unknown[];
10
+ }
@@ -36,11 +36,9 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  };
37
37
  })();
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.WorkflowEventDisplayContext = void 0;
40
- const serializers = __importStar(require("../index"));
39
+ exports.ExecuteApiResponseJson = void 0;
41
40
  const core = __importStar(require("../../core"));
42
- exports.WorkflowEventDisplayContext = core.serialization.object({
43
- nodeDisplays: core.serialization.property("node_displays", core.serialization.record(core.serialization.string(), core.serialization.lazyObject(() => serializers.NodeEventDisplayContext))),
44
- workflowInputs: core.serialization.property("workflow_inputs", core.serialization.record(core.serialization.string(), core.serialization.string())),
45
- workflowOutputs: core.serialization.property("workflow_outputs", core.serialization.record(core.serialization.string(), core.serialization.string())),
46
- });
41
+ exports.ExecuteApiResponseJson = core.serialization.undiscriminatedUnion([
42
+ core.serialization.record(core.serialization.string(), core.serialization.unknown()),
43
+ core.serialization.list(core.serialization.unknown()),
44
+ ]);
@@ -8,5 +8,6 @@ export declare const PromptSettings: core.serialization.ObjectSchema<serializers
8
8
  export declare namespace PromptSettings {
9
9
  interface Raw {
10
10
  timeout?: number | null;
11
+ stream_enabled?: boolean | null;
11
12
  }
12
13
  }
@@ -40,4 +40,5 @@ exports.PromptSettings = void 0;
40
40
  const core = __importStar(require("../../core"));
41
41
  exports.PromptSettings = core.serialization.object({
42
42
  timeout: core.serialization.number().optional(),
43
+ streamEnabled: core.serialization.property("stream_enabled", core.serialization.boolean().optional()),
43
44
  });
@@ -9,7 +9,6 @@ export declare const WorkflowExecutionInitiatedBody: core.serialization.ObjectSc
9
9
  export declare namespace WorkflowExecutionInitiatedBody {
10
10
  interface Raw {
11
11
  workflow_definition: VellumCodeResourceDefinition.Raw;
12
- display_context?: serializers.WorkflowEventDisplayContext.Raw | null;
13
12
  inputs: Record<string, unknown>;
14
13
  }
15
14
  }
@@ -37,11 +37,9 @@ var __importStar = (this && this.__importStar) || (function () {
37
37
  })();
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.WorkflowExecutionInitiatedBody = void 0;
40
- const serializers = __importStar(require("../index"));
41
40
  const core = __importStar(require("../../core"));
42
41
  const VellumCodeResourceDefinition_1 = require("./VellumCodeResourceDefinition");
43
42
  exports.WorkflowExecutionInitiatedBody = core.serialization.object({
44
43
  workflowDefinition: core.serialization.property("workflow_definition", VellumCodeResourceDefinition_1.VellumCodeResourceDefinition),
45
- displayContext: core.serialization.property("display_context", core.serialization.lazyObject(() => serializers.WorkflowEventDisplayContext).optional()),
46
44
  inputs: core.serialization.record(core.serialization.string(), core.serialization.unknown()),
47
45
  });
@@ -96,6 +96,7 @@ export * from "./EphemeralPromptCacheConfigTypeEnum";
96
96
  export * from "./ErrorInput";
97
97
  export * from "./ErrorVellumValue";
98
98
  export * from "./ErrorVellumValueRequest";
99
+ export * from "./ExecuteApiResponseJson";
99
100
  export * from "./ExecuteApiResponse";
100
101
  export * from "./ExecutePromptEvent";
101
102
  export * from "./ExecutePromptResponse";
@@ -221,7 +222,6 @@ export * from "./NamedTestCaseStringVariableValueRequest";
221
222
  export * from "./NamedTestCaseVariableValue";
222
223
  export * from "./NamedTestCaseVariableValueRequest";
223
224
  export * from "./NewMemberJoinBehaviorEnum";
224
- export * from "./NodeEventDisplayContext";
225
225
  export * from "./NodeExecutionFulfilledBody";
226
226
  export * from "./NodeExecutionFulfilledEvent";
227
227
  export * from "./NodeExecutionInitiatedBody";
@@ -512,7 +512,6 @@ export * from "./WorkflowDeploymentRelease";
512
512
  export * from "./WorkflowDeploymentReleaseWorkflowDeployment";
513
513
  export * from "./WorkflowDeploymentReleaseWorkflowVersion";
514
514
  export * from "./WorkflowError";
515
- export * from "./WorkflowEventDisplayContext";
516
515
  export * from "./WorkflowEventError";
517
516
  export * from "./WorkflowEventExecutionRead";
518
517
  export * from "./WorkflowExecutionActual";
@@ -112,6 +112,7 @@ __exportStar(require("./EphemeralPromptCacheConfigTypeEnum"), exports);
112
112
  __exportStar(require("./ErrorInput"), exports);
113
113
  __exportStar(require("./ErrorVellumValue"), exports);
114
114
  __exportStar(require("./ErrorVellumValueRequest"), exports);
115
+ __exportStar(require("./ExecuteApiResponseJson"), exports);
115
116
  __exportStar(require("./ExecuteApiResponse"), exports);
116
117
  __exportStar(require("./ExecutePromptEvent"), exports);
117
118
  __exportStar(require("./ExecutePromptResponse"), exports);
@@ -237,7 +238,6 @@ __exportStar(require("./NamedTestCaseStringVariableValueRequest"), exports);
237
238
  __exportStar(require("./NamedTestCaseVariableValue"), exports);
238
239
  __exportStar(require("./NamedTestCaseVariableValueRequest"), exports);
239
240
  __exportStar(require("./NewMemberJoinBehaviorEnum"), exports);
240
- __exportStar(require("./NodeEventDisplayContext"), exports);
241
241
  __exportStar(require("./NodeExecutionFulfilledBody"), exports);
242
242
  __exportStar(require("./NodeExecutionFulfilledEvent"), exports);
243
243
  __exportStar(require("./NodeExecutionInitiatedBody"), exports);
@@ -528,7 +528,6 @@ __exportStar(require("./WorkflowDeploymentRelease"), exports);
528
528
  __exportStar(require("./WorkflowDeploymentReleaseWorkflowDeployment"), exports);
529
529
  __exportStar(require("./WorkflowDeploymentReleaseWorkflowVersion"), exports);
530
530
  __exportStar(require("./WorkflowError"), exports);
531
- __exportStar(require("./WorkflowEventDisplayContext"), exports);
532
531
  __exportStar(require("./WorkflowEventError"), exports);
533
532
  __exportStar(require("./WorkflowEventExecutionRead"), exports);
534
533
  __exportStar(require("./WorkflowExecutionActual"), exports);
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.14.41";
1
+ export declare const SDK_VERSION = "0.14.42";
package/dist/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "0.14.41";
4
+ exports.SDK_VERSION = "0.14.42";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vellum-ai",
3
- "version": "0.14.41",
3
+ "version": "0.14.42",
4
4
  "private": false,
5
5
  "repository": "https://github.com/vellum-ai/vellum-client-node",
6
6
  "license": "MIT",
package/reference.md CHANGED
@@ -1753,7 +1753,7 @@ await client.documents.retrieve("id");
1753
1753
  <dl>
1754
1754
  <dd>
1755
1755
 
1756
- **id:** `string` — A UUID string identifying this document.
1756
+ **id:** `string`
1757
1757
 
1758
1758
  </dd>
1759
1759
  </dl>
@@ -1816,7 +1816,7 @@ await client.documents.destroy("id");
1816
1816
  <dl>
1817
1817
  <dd>
1818
1818
 
1819
- **id:** `string` — A UUID string identifying this document.
1819
+ **id:** `string`
1820
1820
 
1821
1821
  </dd>
1822
1822
  </dl>
@@ -1879,7 +1879,7 @@ await client.documents.partialUpdate("id");
1879
1879
  <dl>
1880
1880
  <dd>
1881
1881
 
1882
- **id:** `string` — A UUID string identifying this document.
1882
+ **id:** `string`
1883
1883
 
1884
1884
  </dd>
1885
1885
  </dl>
@@ -4,12 +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 { ExecuteApiResponseJson } from "./ExecuteApiResponseJson";
7
8
  export declare const ExecuteApiResponse: core.serialization.ObjectSchema<serializers.ExecuteApiResponse.Raw, Vellum.ExecuteApiResponse>;
8
9
  export declare namespace ExecuteApiResponse {
9
10
  interface Raw {
10
11
  status_code: number;
11
12
  text: string;
12
- json?: Record<string, unknown> | null;
13
+ json: ExecuteApiResponseJson.Raw;
13
14
  headers: Record<string, string>;
14
15
  }
15
16
  }
@@ -38,9 +38,10 @@ var __importStar = (this && this.__importStar) || (function () {
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.ExecuteApiResponse = void 0;
40
40
  const core = __importStar(require("../../core"));
41
+ const ExecuteApiResponseJson_1 = require("./ExecuteApiResponseJson");
41
42
  exports.ExecuteApiResponse = core.serialization.object({
42
43
  statusCode: core.serialization.property("status_code", core.serialization.number()),
43
44
  text: core.serialization.string(),
44
- json: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(),
45
+ json: ExecuteApiResponseJson_1.ExecuteApiResponseJson,
45
46
  headers: core.serialization.record(core.serialization.string(), core.serialization.string()),
46
47
  });
@@ -0,0 +1,10 @@
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 ExecuteApiResponseJson: core.serialization.Schema<serializers.ExecuteApiResponseJson.Raw, Vellum.ExecuteApiResponseJson>;
8
+ export declare namespace ExecuteApiResponseJson {
9
+ type Raw = Record<string, unknown> | unknown[];
10
+ }
@@ -36,11 +36,9 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  };
37
37
  })();
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.WorkflowEventDisplayContext = void 0;
40
- const serializers = __importStar(require("../index"));
39
+ exports.ExecuteApiResponseJson = void 0;
41
40
  const core = __importStar(require("../../core"));
42
- exports.WorkflowEventDisplayContext = core.serialization.object({
43
- nodeDisplays: core.serialization.property("node_displays", core.serialization.record(core.serialization.string(), core.serialization.lazyObject(() => serializers.NodeEventDisplayContext))),
44
- workflowInputs: core.serialization.property("workflow_inputs", core.serialization.record(core.serialization.string(), core.serialization.string())),
45
- workflowOutputs: core.serialization.property("workflow_outputs", core.serialization.record(core.serialization.string(), core.serialization.string())),
46
- });
41
+ exports.ExecuteApiResponseJson = core.serialization.undiscriminatedUnion([
42
+ core.serialization.record(core.serialization.string(), core.serialization.unknown()),
43
+ core.serialization.list(core.serialization.unknown()),
44
+ ]);
@@ -8,5 +8,6 @@ export declare const PromptSettings: core.serialization.ObjectSchema<serializers
8
8
  export declare namespace PromptSettings {
9
9
  interface Raw {
10
10
  timeout?: number | null;
11
+ stream_enabled?: boolean | null;
11
12
  }
12
13
  }
@@ -40,4 +40,5 @@ exports.PromptSettings = void 0;
40
40
  const core = __importStar(require("../../core"));
41
41
  exports.PromptSettings = core.serialization.object({
42
42
  timeout: core.serialization.number().optional(),
43
+ streamEnabled: core.serialization.property("stream_enabled", core.serialization.boolean().optional()),
43
44
  });
@@ -9,7 +9,6 @@ export declare const WorkflowExecutionInitiatedBody: core.serialization.ObjectSc
9
9
  export declare namespace WorkflowExecutionInitiatedBody {
10
10
  interface Raw {
11
11
  workflow_definition: VellumCodeResourceDefinition.Raw;
12
- display_context?: serializers.WorkflowEventDisplayContext.Raw | null;
13
12
  inputs: Record<string, unknown>;
14
13
  }
15
14
  }
@@ -37,11 +37,9 @@ var __importStar = (this && this.__importStar) || (function () {
37
37
  })();
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.WorkflowExecutionInitiatedBody = void 0;
40
- const serializers = __importStar(require("../index"));
41
40
  const core = __importStar(require("../../core"));
42
41
  const VellumCodeResourceDefinition_1 = require("./VellumCodeResourceDefinition");
43
42
  exports.WorkflowExecutionInitiatedBody = core.serialization.object({
44
43
  workflowDefinition: core.serialization.property("workflow_definition", VellumCodeResourceDefinition_1.VellumCodeResourceDefinition),
45
- displayContext: core.serialization.property("display_context", core.serialization.lazyObject(() => serializers.WorkflowEventDisplayContext).optional()),
46
44
  inputs: core.serialization.record(core.serialization.string(), core.serialization.unknown()),
47
45
  });
@@ -96,6 +96,7 @@ export * from "./EphemeralPromptCacheConfigTypeEnum";
96
96
  export * from "./ErrorInput";
97
97
  export * from "./ErrorVellumValue";
98
98
  export * from "./ErrorVellumValueRequest";
99
+ export * from "./ExecuteApiResponseJson";
99
100
  export * from "./ExecuteApiResponse";
100
101
  export * from "./ExecutePromptEvent";
101
102
  export * from "./ExecutePromptResponse";
@@ -221,7 +222,6 @@ export * from "./NamedTestCaseStringVariableValueRequest";
221
222
  export * from "./NamedTestCaseVariableValue";
222
223
  export * from "./NamedTestCaseVariableValueRequest";
223
224
  export * from "./NewMemberJoinBehaviorEnum";
224
- export * from "./NodeEventDisplayContext";
225
225
  export * from "./NodeExecutionFulfilledBody";
226
226
  export * from "./NodeExecutionFulfilledEvent";
227
227
  export * from "./NodeExecutionInitiatedBody";
@@ -512,7 +512,6 @@ export * from "./WorkflowDeploymentRelease";
512
512
  export * from "./WorkflowDeploymentReleaseWorkflowDeployment";
513
513
  export * from "./WorkflowDeploymentReleaseWorkflowVersion";
514
514
  export * from "./WorkflowError";
515
- export * from "./WorkflowEventDisplayContext";
516
515
  export * from "./WorkflowEventError";
517
516
  export * from "./WorkflowEventExecutionRead";
518
517
  export * from "./WorkflowExecutionActual";
@@ -112,6 +112,7 @@ __exportStar(require("./EphemeralPromptCacheConfigTypeEnum"), exports);
112
112
  __exportStar(require("./ErrorInput"), exports);
113
113
  __exportStar(require("./ErrorVellumValue"), exports);
114
114
  __exportStar(require("./ErrorVellumValueRequest"), exports);
115
+ __exportStar(require("./ExecuteApiResponseJson"), exports);
115
116
  __exportStar(require("./ExecuteApiResponse"), exports);
116
117
  __exportStar(require("./ExecutePromptEvent"), exports);
117
118
  __exportStar(require("./ExecutePromptResponse"), exports);
@@ -237,7 +238,6 @@ __exportStar(require("./NamedTestCaseStringVariableValueRequest"), exports);
237
238
  __exportStar(require("./NamedTestCaseVariableValue"), exports);
238
239
  __exportStar(require("./NamedTestCaseVariableValueRequest"), exports);
239
240
  __exportStar(require("./NewMemberJoinBehaviorEnum"), exports);
240
- __exportStar(require("./NodeEventDisplayContext"), exports);
241
241
  __exportStar(require("./NodeExecutionFulfilledBody"), exports);
242
242
  __exportStar(require("./NodeExecutionFulfilledEvent"), exports);
243
243
  __exportStar(require("./NodeExecutionInitiatedBody"), exports);
@@ -528,7 +528,6 @@ __exportStar(require("./WorkflowDeploymentRelease"), exports);
528
528
  __exportStar(require("./WorkflowDeploymentReleaseWorkflowDeployment"), exports);
529
529
  __exportStar(require("./WorkflowDeploymentReleaseWorkflowVersion"), exports);
530
530
  __exportStar(require("./WorkflowError"), exports);
531
- __exportStar(require("./WorkflowEventDisplayContext"), exports);
532
531
  __exportStar(require("./WorkflowEventError"), exports);
533
532
  __exportStar(require("./WorkflowEventExecutionRead"), exports);
534
533
  __exportStar(require("./WorkflowExecutionActual"), exports);
package/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.14.41";
1
+ export declare const SDK_VERSION = "0.14.42";
package/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "0.14.41";
4
+ exports.SDK_VERSION = "0.14.42";
@@ -1,10 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as Vellum from "../index";
5
- export interface NodeEventDisplayContext {
6
- inputDisplay: Record<string, string>;
7
- outputDisplay: Record<string, string>;
8
- portDisplay: Record<string, string>;
9
- subworkflowDisplay?: Vellum.WorkflowEventDisplayContext;
10
- }
@@ -1,9 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as Vellum from "../index";
5
- export interface WorkflowEventDisplayContext {
6
- nodeDisplays: Record<string, Vellum.NodeEventDisplayContext>;
7
- workflowInputs: Record<string, string>;
8
- workflowOutputs: Record<string, string>;
9
- }
@@ -1,10 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as Vellum from "../index";
5
- export interface NodeEventDisplayContext {
6
- inputDisplay: Record<string, string>;
7
- outputDisplay: Record<string, string>;
8
- portDisplay: Record<string, string>;
9
- subworkflowDisplay?: Vellum.WorkflowEventDisplayContext;
10
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,9 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as Vellum from "../index";
5
- export interface WorkflowEventDisplayContext {
6
- nodeDisplays: Record<string, Vellum.NodeEventDisplayContext>;
7
- workflowInputs: Record<string, string>;
8
- workflowOutputs: Record<string, string>;
9
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,15 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "../index";
5
- import * as Vellum from "../../api/index";
6
- import * as core from "../../core";
7
- export declare const NodeEventDisplayContext: core.serialization.ObjectSchema<serializers.NodeEventDisplayContext.Raw, Vellum.NodeEventDisplayContext>;
8
- export declare namespace NodeEventDisplayContext {
9
- interface Raw {
10
- input_display: Record<string, string>;
11
- output_display: Record<string, string>;
12
- port_display: Record<string, string>;
13
- subworkflow_display?: serializers.WorkflowEventDisplayContext.Raw | null;
14
- }
15
- }
@@ -1,47 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
- desc = { enumerable: true, get: function() { return m[k]; } };
10
- }
11
- Object.defineProperty(o, k2, desc);
12
- }) : (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- o[k2] = m[k];
15
- }));
16
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
- Object.defineProperty(o, "default", { enumerable: true, value: v });
18
- }) : function(o, v) {
19
- o["default"] = v;
20
- });
21
- var __importStar = (this && this.__importStar) || (function () {
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.NodeEventDisplayContext = void 0;
40
- const serializers = __importStar(require("../index"));
41
- const core = __importStar(require("../../core"));
42
- exports.NodeEventDisplayContext = core.serialization.object({
43
- inputDisplay: core.serialization.property("input_display", core.serialization.record(core.serialization.string(), core.serialization.string())),
44
- outputDisplay: core.serialization.property("output_display", core.serialization.record(core.serialization.string(), core.serialization.string())),
45
- portDisplay: core.serialization.property("port_display", core.serialization.record(core.serialization.string(), core.serialization.string())),
46
- subworkflowDisplay: core.serialization.property("subworkflow_display", core.serialization.lazyObject(() => serializers.WorkflowEventDisplayContext).optional()),
47
- });
@@ -1,14 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "../index";
5
- import * as Vellum from "../../api/index";
6
- import * as core from "../../core";
7
- export declare const WorkflowEventDisplayContext: core.serialization.ObjectSchema<serializers.WorkflowEventDisplayContext.Raw, Vellum.WorkflowEventDisplayContext>;
8
- export declare namespace WorkflowEventDisplayContext {
9
- interface Raw {
10
- node_displays: Record<string, serializers.NodeEventDisplayContext.Raw>;
11
- workflow_inputs: Record<string, string>;
12
- workflow_outputs: Record<string, string>;
13
- }
14
- }
@@ -1,15 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "../index";
5
- import * as Vellum from "../../api/index";
6
- import * as core from "../../core";
7
- export declare const NodeEventDisplayContext: core.serialization.ObjectSchema<serializers.NodeEventDisplayContext.Raw, Vellum.NodeEventDisplayContext>;
8
- export declare namespace NodeEventDisplayContext {
9
- interface Raw {
10
- input_display: Record<string, string>;
11
- output_display: Record<string, string>;
12
- port_display: Record<string, string>;
13
- subworkflow_display?: serializers.WorkflowEventDisplayContext.Raw | null;
14
- }
15
- }
@@ -1,47 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
- desc = { enumerable: true, get: function() { return m[k]; } };
10
- }
11
- Object.defineProperty(o, k2, desc);
12
- }) : (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- o[k2] = m[k];
15
- }));
16
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
- Object.defineProperty(o, "default", { enumerable: true, value: v });
18
- }) : function(o, v) {
19
- o["default"] = v;
20
- });
21
- var __importStar = (this && this.__importStar) || (function () {
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.NodeEventDisplayContext = void 0;
40
- const serializers = __importStar(require("../index"));
41
- const core = __importStar(require("../../core"));
42
- exports.NodeEventDisplayContext = core.serialization.object({
43
- inputDisplay: core.serialization.property("input_display", core.serialization.record(core.serialization.string(), core.serialization.string())),
44
- outputDisplay: core.serialization.property("output_display", core.serialization.record(core.serialization.string(), core.serialization.string())),
45
- portDisplay: core.serialization.property("port_display", core.serialization.record(core.serialization.string(), core.serialization.string())),
46
- subworkflowDisplay: core.serialization.property("subworkflow_display", core.serialization.lazyObject(() => serializers.WorkflowEventDisplayContext).optional()),
47
- });