vellum-ai 0.9.3 → 0.9.4

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 (112) hide show
  1. package/.mock/definition/__package__.yml +49 -1
  2. package/.mock/definition/workflows.yml +2 -0
  3. package/.mock/openapi/openapi.yml +76 -0
  4. package/Client.js +10 -10
  5. package/api/resources/adHoc/client/Client.js +1 -1
  6. package/api/resources/containerImages/client/Client.js +4 -4
  7. package/api/resources/deployments/client/Client.js +5 -5
  8. package/api/resources/documentIndexes/client/Client.js +8 -8
  9. package/api/resources/documents/client/Client.js +5 -5
  10. package/api/resources/folderEntities/client/Client.js +2 -2
  11. package/api/resources/metricDefinitions/client/Client.js +1 -1
  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 +4 -4
  16. package/api/resources/workflowSandboxes/client/Client.js +1 -1
  17. package/api/resources/workflows/client/Client.js +2 -2
  18. package/api/resources/workflows/client/requests/WorkflowPushRequest.d.ts +1 -0
  19. package/api/resources/workspaceSecrets/client/Client.js +2 -2
  20. package/api/types/ArrayVariableValueItem.d.ts +1 -1
  21. package/api/types/AudioVariableValue.d.ts +11 -0
  22. package/api/types/AudioVariableValue.js +5 -0
  23. package/api/types/AudioVellumValue.d.ts +11 -0
  24. package/api/types/AudioVellumValue.js +5 -0
  25. package/api/types/AudioVellumValueRequest.d.ts +11 -0
  26. package/api/types/AudioVellumValueRequest.js +5 -0
  27. package/api/types/VellumAudio.d.ts +1 -0
  28. package/api/types/VellumAudioRequest.d.ts +1 -0
  29. package/api/types/VellumValue.d.ts +1 -1
  30. package/api/types/VellumValueRequest.d.ts +1 -1
  31. package/api/types/WorkflowPushDeploymentConfigRequest.d.ts +9 -0
  32. package/api/types/WorkflowPushDeploymentConfigRequest.js +5 -0
  33. package/api/types/WorkflowPushResponse.d.ts +1 -0
  34. package/api/types/index.d.ts +4 -0
  35. package/api/types/index.js +4 -0
  36. package/dist/Client.js +10 -10
  37. package/dist/api/resources/adHoc/client/Client.js +1 -1
  38. package/dist/api/resources/containerImages/client/Client.js +4 -4
  39. package/dist/api/resources/deployments/client/Client.js +5 -5
  40. package/dist/api/resources/documentIndexes/client/Client.js +8 -8
  41. package/dist/api/resources/documents/client/Client.js +5 -5
  42. package/dist/api/resources/folderEntities/client/Client.js +2 -2
  43. package/dist/api/resources/metricDefinitions/client/Client.js +1 -1
  44. package/dist/api/resources/sandboxes/client/Client.js +3 -3
  45. package/dist/api/resources/testSuiteRuns/client/Client.js +3 -3
  46. package/dist/api/resources/testSuites/client/Client.js +4 -4
  47. package/dist/api/resources/workflowDeployments/client/Client.js +4 -4
  48. package/dist/api/resources/workflowSandboxes/client/Client.js +1 -1
  49. package/dist/api/resources/workflows/client/Client.js +2 -2
  50. package/dist/api/resources/workflows/client/requests/WorkflowPushRequest.d.ts +1 -0
  51. package/dist/api/resources/workspaceSecrets/client/Client.js +2 -2
  52. package/dist/api/types/ArrayVariableValueItem.d.ts +1 -1
  53. package/dist/api/types/AudioVariableValue.d.ts +11 -0
  54. package/dist/api/types/AudioVariableValue.js +5 -0
  55. package/dist/api/types/AudioVellumValue.d.ts +11 -0
  56. package/dist/api/types/AudioVellumValue.js +5 -0
  57. package/dist/api/types/AudioVellumValueRequest.d.ts +11 -0
  58. package/dist/api/types/AudioVellumValueRequest.js +5 -0
  59. package/dist/api/types/VellumAudio.d.ts +1 -0
  60. package/dist/api/types/VellumAudioRequest.d.ts +1 -0
  61. package/dist/api/types/VellumValue.d.ts +1 -1
  62. package/dist/api/types/VellumValueRequest.d.ts +1 -1
  63. package/dist/api/types/WorkflowPushDeploymentConfigRequest.d.ts +9 -0
  64. package/dist/api/types/WorkflowPushDeploymentConfigRequest.js +5 -0
  65. package/dist/api/types/WorkflowPushResponse.d.ts +1 -0
  66. package/dist/api/types/index.d.ts +4 -0
  67. package/dist/api/types/index.js +4 -0
  68. package/dist/serialization/resources/workflows/client/requests/WorkflowPushRequest.d.ts +2 -0
  69. package/dist/serialization/resources/workflows/client/requests/WorkflowPushRequest.js +2 -0
  70. package/dist/serialization/types/ArrayVariableValueItem.d.ts +2 -1
  71. package/dist/serialization/types/ArrayVariableValueItem.js +2 -0
  72. package/dist/serialization/types/AudioVariableValue.d.ts +14 -0
  73. package/dist/serialization/types/AudioVariableValue.js +35 -0
  74. package/dist/serialization/types/AudioVellumValue.d.ts +14 -0
  75. package/dist/serialization/types/AudioVellumValue.js +35 -0
  76. package/dist/serialization/types/AudioVellumValueRequest.d.ts +14 -0
  77. package/dist/serialization/types/AudioVellumValueRequest.js +35 -0
  78. package/dist/serialization/types/VellumValue.d.ts +2 -1
  79. package/dist/serialization/types/VellumValue.js +2 -0
  80. package/dist/serialization/types/VellumValueRequest.d.ts +2 -1
  81. package/dist/serialization/types/VellumValueRequest.js +2 -0
  82. package/dist/serialization/types/WorkflowPushDeploymentConfigRequest.d.ts +15 -0
  83. package/dist/serialization/types/WorkflowPushDeploymentConfigRequest.js +36 -0
  84. package/dist/serialization/types/WorkflowPushResponse.d.ts +1 -0
  85. package/dist/serialization/types/WorkflowPushResponse.js +1 -0
  86. package/dist/serialization/types/index.d.ts +4 -0
  87. package/dist/serialization/types/index.js +4 -0
  88. package/dist/version.d.ts +1 -1
  89. package/dist/version.js +1 -1
  90. package/package.json +1 -1
  91. package/serialization/resources/workflows/client/requests/WorkflowPushRequest.d.ts +2 -0
  92. package/serialization/resources/workflows/client/requests/WorkflowPushRequest.js +2 -0
  93. package/serialization/types/ArrayVariableValueItem.d.ts +2 -1
  94. package/serialization/types/ArrayVariableValueItem.js +2 -0
  95. package/serialization/types/AudioVariableValue.d.ts +14 -0
  96. package/serialization/types/AudioVariableValue.js +35 -0
  97. package/serialization/types/AudioVellumValue.d.ts +14 -0
  98. package/serialization/types/AudioVellumValue.js +35 -0
  99. package/serialization/types/AudioVellumValueRequest.d.ts +14 -0
  100. package/serialization/types/AudioVellumValueRequest.js +35 -0
  101. package/serialization/types/VellumValue.d.ts +2 -1
  102. package/serialization/types/VellumValue.js +2 -0
  103. package/serialization/types/VellumValueRequest.d.ts +2 -1
  104. package/serialization/types/VellumValueRequest.js +2 -0
  105. package/serialization/types/WorkflowPushDeploymentConfigRequest.d.ts +15 -0
  106. package/serialization/types/WorkflowPushDeploymentConfigRequest.js +36 -0
  107. package/serialization/types/WorkflowPushResponse.d.ts +1 -0
  108. package/serialization/types/WorkflowPushResponse.js +1 -0
  109. package/serialization/types/index.d.ts +4 -0
  110. package/serialization/types/index.js +4 -0
  111. package/version.d.ts +1 -1
  112. package/version.js +1 -1
@@ -5,11 +5,13 @@ import * as serializers from "../../../../index";
5
5
  import * as Vellum from "../../../../../api/index";
6
6
  import * as core from "../../../../../core";
7
7
  import { WorkflowPushExecConfig } from "../../../../types/WorkflowPushExecConfig";
8
+ import { WorkflowPushDeploymentConfigRequest } from "../../../../types/WorkflowPushDeploymentConfigRequest";
8
9
  export declare const WorkflowPushRequest: core.serialization.Schema<serializers.WorkflowPushRequest.Raw, Vellum.WorkflowPushRequest>;
9
10
  export declare namespace WorkflowPushRequest {
10
11
  interface Raw {
11
12
  exec_config: WorkflowPushExecConfig.Raw;
12
13
  label: string;
13
14
  workflow_sandbox_id?: string | null;
15
+ deployment_config?: WorkflowPushDeploymentConfigRequest.Raw | null;
14
16
  }
15
17
  }
@@ -29,8 +29,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.WorkflowPushRequest = void 0;
30
30
  const core = __importStar(require("../../../../../core"));
31
31
  const WorkflowPushExecConfig_1 = require("../../../../types/WorkflowPushExecConfig");
32
+ const WorkflowPushDeploymentConfigRequest_1 = require("../../../../types/WorkflowPushDeploymentConfigRequest");
32
33
  exports.WorkflowPushRequest = core.serialization.object({
33
34
  execConfig: core.serialization.property("exec_config", WorkflowPushExecConfig_1.WorkflowPushExecConfig),
34
35
  label: core.serialization.string(),
35
36
  workflowSandboxId: core.serialization.property("workflow_sandbox_id", core.serialization.string().optional()),
37
+ deploymentConfig: core.serialization.property("deployment_config", WorkflowPushDeploymentConfigRequest_1.WorkflowPushDeploymentConfigRequest.optional()),
36
38
  });
@@ -10,9 +10,10 @@ import { JsonVariableValue } from "./JsonVariableValue";
10
10
  import { ErrorVariableValue } from "./ErrorVariableValue";
11
11
  import { FunctionCallVariableValue } from "./FunctionCallVariableValue";
12
12
  import { ImageVariableValue } from "./ImageVariableValue";
13
+ import { AudioVariableValue } from "./AudioVariableValue";
13
14
  import { ChatHistoryVariableValue } from "./ChatHistoryVariableValue";
14
15
  import { SearchResultsVariableValue } from "./SearchResultsVariableValue";
15
16
  export declare const ArrayVariableValueItem: core.serialization.Schema<serializers.ArrayVariableValueItem.Raw, Vellum.ArrayVariableValueItem>;
16
17
  export declare namespace ArrayVariableValueItem {
17
- type Raw = StringVariableValue.Raw | NumberVariableValue.Raw | JsonVariableValue.Raw | ErrorVariableValue.Raw | FunctionCallVariableValue.Raw | ImageVariableValue.Raw | ChatHistoryVariableValue.Raw | SearchResultsVariableValue.Raw | serializers.ArrayVariableValue.Raw;
18
+ type Raw = StringVariableValue.Raw | NumberVariableValue.Raw | JsonVariableValue.Raw | ErrorVariableValue.Raw | FunctionCallVariableValue.Raw | ImageVariableValue.Raw | AudioVariableValue.Raw | ChatHistoryVariableValue.Raw | SearchResultsVariableValue.Raw | serializers.ArrayVariableValue.Raw;
18
19
  }
@@ -35,6 +35,7 @@ const JsonVariableValue_1 = require("./JsonVariableValue");
35
35
  const ErrorVariableValue_1 = require("./ErrorVariableValue");
36
36
  const FunctionCallVariableValue_1 = require("./FunctionCallVariableValue");
37
37
  const ImageVariableValue_1 = require("./ImageVariableValue");
38
+ const AudioVariableValue_1 = require("./AudioVariableValue");
38
39
  const ChatHistoryVariableValue_1 = require("./ChatHistoryVariableValue");
39
40
  const SearchResultsVariableValue_1 = require("./SearchResultsVariableValue");
40
41
  exports.ArrayVariableValueItem = core.serialization.undiscriminatedUnion([
@@ -44,6 +45,7 @@ exports.ArrayVariableValueItem = core.serialization.undiscriminatedUnion([
44
45
  ErrorVariableValue_1.ErrorVariableValue,
45
46
  FunctionCallVariableValue_1.FunctionCallVariableValue,
46
47
  ImageVariableValue_1.ImageVariableValue,
48
+ AudioVariableValue_1.AudioVariableValue,
47
49
  ChatHistoryVariableValue_1.ChatHistoryVariableValue,
48
50
  SearchResultsVariableValue_1.SearchResultsVariableValue,
49
51
  core.serialization.lazyObject(() => serializers.ArrayVariableValue),
@@ -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 { VellumAudio } from "./VellumAudio";
8
+ export declare const AudioVariableValue: core.serialization.ObjectSchema<serializers.AudioVariableValue.Raw, Vellum.AudioVariableValue>;
9
+ export declare namespace AudioVariableValue {
10
+ interface Raw {
11
+ type: "AUDIO";
12
+ value?: VellumAudio.Raw | null;
13
+ }
14
+ }
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.AudioVariableValue = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ const VellumAudio_1 = require("./VellumAudio");
32
+ exports.AudioVariableValue = core.serialization.object({
33
+ type: core.serialization.stringLiteral("AUDIO"),
34
+ value: VellumAudio_1.VellumAudio.optional(),
35
+ });
@@ -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 { VellumAudio } from "./VellumAudio";
8
+ export declare const AudioVellumValue: core.serialization.ObjectSchema<serializers.AudioVellumValue.Raw, Vellum.AudioVellumValue>;
9
+ export declare namespace AudioVellumValue {
10
+ interface Raw {
11
+ type: "AUDIO";
12
+ value?: VellumAudio.Raw | null;
13
+ }
14
+ }
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.AudioVellumValue = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ const VellumAudio_1 = require("./VellumAudio");
32
+ exports.AudioVellumValue = core.serialization.object({
33
+ type: core.serialization.stringLiteral("AUDIO"),
34
+ value: VellumAudio_1.VellumAudio.optional(),
35
+ });
@@ -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 { VellumAudioRequest } from "./VellumAudioRequest";
8
+ export declare const AudioVellumValueRequest: core.serialization.ObjectSchema<serializers.AudioVellumValueRequest.Raw, Vellum.AudioVellumValueRequest>;
9
+ export declare namespace AudioVellumValueRequest {
10
+ interface Raw {
11
+ type: "AUDIO";
12
+ value?: VellumAudioRequest.Raw | null;
13
+ }
14
+ }
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.AudioVellumValueRequest = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ const VellumAudioRequest_1 = require("./VellumAudioRequest");
32
+ exports.AudioVellumValueRequest = core.serialization.object({
33
+ type: core.serialization.stringLiteral("AUDIO"),
34
+ value: VellumAudioRequest_1.VellumAudioRequest.optional(),
35
+ });
@@ -8,11 +8,12 @@ import { StringVellumValue } from "./StringVellumValue";
8
8
  import { NumberVellumValue } from "./NumberVellumValue";
9
9
  import { JsonVellumValue } from "./JsonVellumValue";
10
10
  import { ImageVellumValue } from "./ImageVellumValue";
11
+ import { AudioVellumValue } from "./AudioVellumValue";
11
12
  import { FunctionCallVellumValue } from "./FunctionCallVellumValue";
12
13
  import { ErrorVellumValue } from "./ErrorVellumValue";
13
14
  import { ChatHistoryVellumValue } from "./ChatHistoryVellumValue";
14
15
  import { SearchResultsVellumValue } from "./SearchResultsVellumValue";
15
16
  export declare const VellumValue: core.serialization.Schema<serializers.VellumValue.Raw, Vellum.VellumValue>;
16
17
  export declare namespace VellumValue {
17
- type Raw = StringVellumValue.Raw | NumberVellumValue.Raw | JsonVellumValue.Raw | ImageVellumValue.Raw | FunctionCallVellumValue.Raw | ErrorVellumValue.Raw | serializers.ArrayVellumValue.Raw | ChatHistoryVellumValue.Raw | SearchResultsVellumValue.Raw;
18
+ type Raw = StringVellumValue.Raw | NumberVellumValue.Raw | JsonVellumValue.Raw | ImageVellumValue.Raw | AudioVellumValue.Raw | FunctionCallVellumValue.Raw | ErrorVellumValue.Raw | serializers.ArrayVellumValue.Raw | ChatHistoryVellumValue.Raw | SearchResultsVellumValue.Raw;
18
19
  }
@@ -33,6 +33,7 @@ const StringVellumValue_1 = require("./StringVellumValue");
33
33
  const NumberVellumValue_1 = require("./NumberVellumValue");
34
34
  const JsonVellumValue_1 = require("./JsonVellumValue");
35
35
  const ImageVellumValue_1 = require("./ImageVellumValue");
36
+ const AudioVellumValue_1 = require("./AudioVellumValue");
36
37
  const FunctionCallVellumValue_1 = require("./FunctionCallVellumValue");
37
38
  const ErrorVellumValue_1 = require("./ErrorVellumValue");
38
39
  const ChatHistoryVellumValue_1 = require("./ChatHistoryVellumValue");
@@ -42,6 +43,7 @@ exports.VellumValue = core.serialization.undiscriminatedUnion([
42
43
  NumberVellumValue_1.NumberVellumValue,
43
44
  JsonVellumValue_1.JsonVellumValue,
44
45
  ImageVellumValue_1.ImageVellumValue,
46
+ AudioVellumValue_1.AudioVellumValue,
45
47
  FunctionCallVellumValue_1.FunctionCallVellumValue,
46
48
  ErrorVellumValue_1.ErrorVellumValue,
47
49
  core.serialization.lazyObject(() => serializers.ArrayVellumValue),
@@ -8,11 +8,12 @@ import { StringVellumValueRequest } from "./StringVellumValueRequest";
8
8
  import { NumberVellumValueRequest } from "./NumberVellumValueRequest";
9
9
  import { JsonVellumValueRequest } from "./JsonVellumValueRequest";
10
10
  import { ImageVellumValueRequest } from "./ImageVellumValueRequest";
11
+ import { AudioVellumValueRequest } from "./AudioVellumValueRequest";
11
12
  import { FunctionCallVellumValueRequest } from "./FunctionCallVellumValueRequest";
12
13
  import { ErrorVellumValueRequest } from "./ErrorVellumValueRequest";
13
14
  import { ChatHistoryVellumValueRequest } from "./ChatHistoryVellumValueRequest";
14
15
  import { SearchResultsVellumValueRequest } from "./SearchResultsVellumValueRequest";
15
16
  export declare const VellumValueRequest: core.serialization.Schema<serializers.VellumValueRequest.Raw, Vellum.VellumValueRequest>;
16
17
  export declare namespace VellumValueRequest {
17
- type Raw = StringVellumValueRequest.Raw | NumberVellumValueRequest.Raw | JsonVellumValueRequest.Raw | ImageVellumValueRequest.Raw | FunctionCallVellumValueRequest.Raw | ErrorVellumValueRequest.Raw | serializers.ArrayVellumValueRequest.Raw | ChatHistoryVellumValueRequest.Raw | SearchResultsVellumValueRequest.Raw;
18
+ type Raw = StringVellumValueRequest.Raw | NumberVellumValueRequest.Raw | JsonVellumValueRequest.Raw | ImageVellumValueRequest.Raw | AudioVellumValueRequest.Raw | FunctionCallVellumValueRequest.Raw | ErrorVellumValueRequest.Raw | serializers.ArrayVellumValueRequest.Raw | ChatHistoryVellumValueRequest.Raw | SearchResultsVellumValueRequest.Raw;
18
19
  }
@@ -33,6 +33,7 @@ const StringVellumValueRequest_1 = require("./StringVellumValueRequest");
33
33
  const NumberVellumValueRequest_1 = require("./NumberVellumValueRequest");
34
34
  const JsonVellumValueRequest_1 = require("./JsonVellumValueRequest");
35
35
  const ImageVellumValueRequest_1 = require("./ImageVellumValueRequest");
36
+ const AudioVellumValueRequest_1 = require("./AudioVellumValueRequest");
36
37
  const FunctionCallVellumValueRequest_1 = require("./FunctionCallVellumValueRequest");
37
38
  const ErrorVellumValueRequest_1 = require("./ErrorVellumValueRequest");
38
39
  const ChatHistoryVellumValueRequest_1 = require("./ChatHistoryVellumValueRequest");
@@ -42,6 +43,7 @@ exports.VellumValueRequest = core.serialization.undiscriminatedUnion([
42
43
  NumberVellumValueRequest_1.NumberVellumValueRequest,
43
44
  JsonVellumValueRequest_1.JsonVellumValueRequest,
44
45
  ImageVellumValueRequest_1.ImageVellumValueRequest,
46
+ AudioVellumValueRequest_1.AudioVellumValueRequest,
45
47
  FunctionCallVellumValueRequest_1.FunctionCallVellumValueRequest,
46
48
  ErrorVellumValueRequest_1.ErrorVellumValueRequest,
47
49
  core.serialization.lazyObject(() => serializers.ArrayVellumValueRequest),
@@ -0,0 +1,15 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index";
5
+ import * as Vellum from "../../api/index";
6
+ import * as core from "../../core";
7
+ export declare const WorkflowPushDeploymentConfigRequest: core.serialization.ObjectSchema<serializers.WorkflowPushDeploymentConfigRequest.Raw, Vellum.WorkflowPushDeploymentConfigRequest>;
8
+ export declare namespace WorkflowPushDeploymentConfigRequest {
9
+ interface Raw {
10
+ label?: string | null;
11
+ name?: string | null;
12
+ description?: string | null;
13
+ release_tags?: string[] | null;
14
+ }
15
+ }
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.WorkflowPushDeploymentConfigRequest = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ exports.WorkflowPushDeploymentConfigRequest = core.serialization.object({
32
+ label: core.serialization.string().optional(),
33
+ name: core.serialization.string().optional(),
34
+ description: core.serialization.string().optional(),
35
+ releaseTags: core.serialization.property("release_tags", core.serialization.list(core.serialization.string()).optional()),
36
+ });
@@ -8,5 +8,6 @@ export declare const WorkflowPushResponse: core.serialization.ObjectSchema<seria
8
8
  export declare namespace WorkflowPushResponse {
9
9
  interface Raw {
10
10
  workflow_sandbox_id: string;
11
+ workflow_deployment_id?: string | null;
11
12
  }
12
13
  }
@@ -30,4 +30,5 @@ exports.WorkflowPushResponse = void 0;
30
30
  const core = __importStar(require("../../core"));
31
31
  exports.WorkflowPushResponse = core.serialization.object({
32
32
  workflowSandboxId: core.serialization.property("workflow_sandbox_id", core.serialization.string()),
33
+ workflowDeploymentId: core.serialization.property("workflow_deployment_id", core.serialization.string().optional()),
33
34
  });
@@ -18,6 +18,9 @@ export * from "./ArrayVellumValue";
18
18
  export * from "./ArrayVellumValueRequest";
19
19
  export * from "./AudioChatMessageContent";
20
20
  export * from "./AudioChatMessageContentRequest";
21
+ export * from "./AudioVariableValue";
22
+ export * from "./AudioVellumValue";
23
+ export * from "./AudioVellumValueRequest";
21
24
  export * from "./BasicVectorizerIntfloatMultilingualE5Large";
22
25
  export * from "./BasicVectorizerIntfloatMultilingualE5LargeRequest";
23
26
  export * from "./BasicVectorizerSentenceTransformersMultiQaMpnetBaseCosV1";
@@ -452,6 +455,7 @@ export * from "./WorkflowOutputJson";
452
455
  export * from "./WorkflowOutputNumber";
453
456
  export * from "./WorkflowOutputSearchResults";
454
457
  export * from "./WorkflowOutputString";
458
+ export * from "./WorkflowPushDeploymentConfigRequest";
455
459
  export * from "./WorkflowPushExecConfig";
456
460
  export * from "./WorkflowPushResponse";
457
461
  export * from "./WorkflowReleaseTagRead";
@@ -34,6 +34,9 @@ __exportStar(require("./ArrayVellumValue"), exports);
34
34
  __exportStar(require("./ArrayVellumValueRequest"), exports);
35
35
  __exportStar(require("./AudioChatMessageContent"), exports);
36
36
  __exportStar(require("./AudioChatMessageContentRequest"), exports);
37
+ __exportStar(require("./AudioVariableValue"), exports);
38
+ __exportStar(require("./AudioVellumValue"), exports);
39
+ __exportStar(require("./AudioVellumValueRequest"), exports);
37
40
  __exportStar(require("./BasicVectorizerIntfloatMultilingualE5Large"), exports);
38
41
  __exportStar(require("./BasicVectorizerIntfloatMultilingualE5LargeRequest"), exports);
39
42
  __exportStar(require("./BasicVectorizerSentenceTransformersMultiQaMpnetBaseCosV1"), exports);
@@ -468,6 +471,7 @@ __exportStar(require("./WorkflowOutputJson"), exports);
468
471
  __exportStar(require("./WorkflowOutputNumber"), exports);
469
472
  __exportStar(require("./WorkflowOutputSearchResults"), exports);
470
473
  __exportStar(require("./WorkflowOutputString"), exports);
474
+ __exportStar(require("./WorkflowPushDeploymentConfigRequest"), exports);
471
475
  __exportStar(require("./WorkflowPushExecConfig"), exports);
472
476
  __exportStar(require("./WorkflowPushResponse"), exports);
473
477
  __exportStar(require("./WorkflowReleaseTagRead"), exports);
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "v0.9.3";
1
+ export declare const SDK_VERSION = "0.9.4";
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 = "v0.9.3";
4
+ exports.SDK_VERSION = "0.9.4";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vellum-ai",
3
- "version": "v0.9.3",
3
+ "version": "0.9.4",
4
4
  "private": false,
5
5
  "repository": "https://github.com/vellum-ai/vellum-client-node",
6
6
  "license": "MIT",
@@ -5,11 +5,13 @@ import * as serializers from "../../../../index";
5
5
  import * as Vellum from "../../../../../api/index";
6
6
  import * as core from "../../../../../core";
7
7
  import { WorkflowPushExecConfig } from "../../../../types/WorkflowPushExecConfig";
8
+ import { WorkflowPushDeploymentConfigRequest } from "../../../../types/WorkflowPushDeploymentConfigRequest";
8
9
  export declare const WorkflowPushRequest: core.serialization.Schema<serializers.WorkflowPushRequest.Raw, Vellum.WorkflowPushRequest>;
9
10
  export declare namespace WorkflowPushRequest {
10
11
  interface Raw {
11
12
  exec_config: WorkflowPushExecConfig.Raw;
12
13
  label: string;
13
14
  workflow_sandbox_id?: string | null;
15
+ deployment_config?: WorkflowPushDeploymentConfigRequest.Raw | null;
14
16
  }
15
17
  }
@@ -29,8 +29,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.WorkflowPushRequest = void 0;
30
30
  const core = __importStar(require("../../../../../core"));
31
31
  const WorkflowPushExecConfig_1 = require("../../../../types/WorkflowPushExecConfig");
32
+ const WorkflowPushDeploymentConfigRequest_1 = require("../../../../types/WorkflowPushDeploymentConfigRequest");
32
33
  exports.WorkflowPushRequest = core.serialization.object({
33
34
  execConfig: core.serialization.property("exec_config", WorkflowPushExecConfig_1.WorkflowPushExecConfig),
34
35
  label: core.serialization.string(),
35
36
  workflowSandboxId: core.serialization.property("workflow_sandbox_id", core.serialization.string().optional()),
37
+ deploymentConfig: core.serialization.property("deployment_config", WorkflowPushDeploymentConfigRequest_1.WorkflowPushDeploymentConfigRequest.optional()),
36
38
  });
@@ -10,9 +10,10 @@ import { JsonVariableValue } from "./JsonVariableValue";
10
10
  import { ErrorVariableValue } from "./ErrorVariableValue";
11
11
  import { FunctionCallVariableValue } from "./FunctionCallVariableValue";
12
12
  import { ImageVariableValue } from "./ImageVariableValue";
13
+ import { AudioVariableValue } from "./AudioVariableValue";
13
14
  import { ChatHistoryVariableValue } from "./ChatHistoryVariableValue";
14
15
  import { SearchResultsVariableValue } from "./SearchResultsVariableValue";
15
16
  export declare const ArrayVariableValueItem: core.serialization.Schema<serializers.ArrayVariableValueItem.Raw, Vellum.ArrayVariableValueItem>;
16
17
  export declare namespace ArrayVariableValueItem {
17
- type Raw = StringVariableValue.Raw | NumberVariableValue.Raw | JsonVariableValue.Raw | ErrorVariableValue.Raw | FunctionCallVariableValue.Raw | ImageVariableValue.Raw | ChatHistoryVariableValue.Raw | SearchResultsVariableValue.Raw | serializers.ArrayVariableValue.Raw;
18
+ type Raw = StringVariableValue.Raw | NumberVariableValue.Raw | JsonVariableValue.Raw | ErrorVariableValue.Raw | FunctionCallVariableValue.Raw | ImageVariableValue.Raw | AudioVariableValue.Raw | ChatHistoryVariableValue.Raw | SearchResultsVariableValue.Raw | serializers.ArrayVariableValue.Raw;
18
19
  }
@@ -35,6 +35,7 @@ const JsonVariableValue_1 = require("./JsonVariableValue");
35
35
  const ErrorVariableValue_1 = require("./ErrorVariableValue");
36
36
  const FunctionCallVariableValue_1 = require("./FunctionCallVariableValue");
37
37
  const ImageVariableValue_1 = require("./ImageVariableValue");
38
+ const AudioVariableValue_1 = require("./AudioVariableValue");
38
39
  const ChatHistoryVariableValue_1 = require("./ChatHistoryVariableValue");
39
40
  const SearchResultsVariableValue_1 = require("./SearchResultsVariableValue");
40
41
  exports.ArrayVariableValueItem = core.serialization.undiscriminatedUnion([
@@ -44,6 +45,7 @@ exports.ArrayVariableValueItem = core.serialization.undiscriminatedUnion([
44
45
  ErrorVariableValue_1.ErrorVariableValue,
45
46
  FunctionCallVariableValue_1.FunctionCallVariableValue,
46
47
  ImageVariableValue_1.ImageVariableValue,
48
+ AudioVariableValue_1.AudioVariableValue,
47
49
  ChatHistoryVariableValue_1.ChatHistoryVariableValue,
48
50
  SearchResultsVariableValue_1.SearchResultsVariableValue,
49
51
  core.serialization.lazyObject(() => serializers.ArrayVariableValue),
@@ -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 { VellumAudio } from "./VellumAudio";
8
+ export declare const AudioVariableValue: core.serialization.ObjectSchema<serializers.AudioVariableValue.Raw, Vellum.AudioVariableValue>;
9
+ export declare namespace AudioVariableValue {
10
+ interface Raw {
11
+ type: "AUDIO";
12
+ value?: VellumAudio.Raw | null;
13
+ }
14
+ }
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.AudioVariableValue = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ const VellumAudio_1 = require("./VellumAudio");
32
+ exports.AudioVariableValue = core.serialization.object({
33
+ type: core.serialization.stringLiteral("AUDIO"),
34
+ value: VellumAudio_1.VellumAudio.optional(),
35
+ });
@@ -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 { VellumAudio } from "./VellumAudio";
8
+ export declare const AudioVellumValue: core.serialization.ObjectSchema<serializers.AudioVellumValue.Raw, Vellum.AudioVellumValue>;
9
+ export declare namespace AudioVellumValue {
10
+ interface Raw {
11
+ type: "AUDIO";
12
+ value?: VellumAudio.Raw | null;
13
+ }
14
+ }
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.AudioVellumValue = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ const VellumAudio_1 = require("./VellumAudio");
32
+ exports.AudioVellumValue = core.serialization.object({
33
+ type: core.serialization.stringLiteral("AUDIO"),
34
+ value: VellumAudio_1.VellumAudio.optional(),
35
+ });
@@ -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 { VellumAudioRequest } from "./VellumAudioRequest";
8
+ export declare const AudioVellumValueRequest: core.serialization.ObjectSchema<serializers.AudioVellumValueRequest.Raw, Vellum.AudioVellumValueRequest>;
9
+ export declare namespace AudioVellumValueRequest {
10
+ interface Raw {
11
+ type: "AUDIO";
12
+ value?: VellumAudioRequest.Raw | null;
13
+ }
14
+ }
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.AudioVellumValueRequest = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ const VellumAudioRequest_1 = require("./VellumAudioRequest");
32
+ exports.AudioVellumValueRequest = core.serialization.object({
33
+ type: core.serialization.stringLiteral("AUDIO"),
34
+ value: VellumAudioRequest_1.VellumAudioRequest.optional(),
35
+ });