vellum-ai 0.9.2 → 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 (132) hide show
  1. package/.mock/definition/__package__.yml +57 -3
  2. package/.mock/definition/containerImages.yml +20 -0
  3. package/.mock/definition/workflows.yml +22 -2
  4. package/.mock/openapi/openapi.yml +137 -1
  5. package/Client.js +10 -10
  6. package/api/resources/adHoc/client/Client.js +1 -1
  7. package/api/resources/containerImages/client/Client.d.ts +9 -0
  8. package/api/resources/containerImages/client/Client.js +54 -3
  9. package/api/resources/deployments/client/Client.js +5 -5
  10. package/api/resources/documentIndexes/client/Client.js +8 -8
  11. package/api/resources/documents/client/Client.js +5 -5
  12. package/api/resources/folderEntities/client/Client.js +2 -2
  13. package/api/resources/metricDefinitions/client/Client.js +1 -1
  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 +4 -4
  18. package/api/resources/workflowSandboxes/client/Client.js +1 -1
  19. package/api/resources/workflows/client/Client.d.ts +6 -0
  20. package/api/resources/workflows/client/Client.js +44 -2
  21. package/api/resources/workflows/client/requests/WorkflowPushRequest.d.ts +1 -0
  22. package/api/resources/workspaceSecrets/client/Client.js +2 -2
  23. package/api/types/ArrayVariableValueItem.d.ts +1 -1
  24. package/api/types/AudioVariableValue.d.ts +11 -0
  25. package/api/types/AudioVariableValue.js +5 -0
  26. package/api/types/AudioVellumValue.d.ts +11 -0
  27. package/api/types/AudioVellumValue.js +5 -0
  28. package/api/types/AudioVellumValueRequest.d.ts +11 -0
  29. package/api/types/AudioVellumValueRequest.js +5 -0
  30. package/api/types/DockerServiceToken.d.ts +8 -0
  31. package/api/types/DockerServiceToken.js +5 -0
  32. package/api/types/EnrichedNormalizedCompletion.d.ts +1 -1
  33. package/api/types/VellumAudio.d.ts +1 -0
  34. package/api/types/VellumAudioRequest.d.ts +1 -0
  35. package/api/types/VellumValue.d.ts +1 -1
  36. package/api/types/VellumValueRequest.d.ts +1 -1
  37. package/api/types/WorkflowPushDeploymentConfigRequest.d.ts +9 -0
  38. package/api/types/WorkflowPushDeploymentConfigRequest.js +5 -0
  39. package/api/types/WorkflowPushResponse.d.ts +1 -0
  40. package/api/types/index.d.ts +5 -0
  41. package/api/types/index.js +5 -0
  42. package/dist/Client.js +10 -10
  43. package/dist/api/resources/adHoc/client/Client.js +1 -1
  44. package/dist/api/resources/containerImages/client/Client.d.ts +9 -0
  45. package/dist/api/resources/containerImages/client/Client.js +54 -3
  46. package/dist/api/resources/deployments/client/Client.js +5 -5
  47. package/dist/api/resources/documentIndexes/client/Client.js +8 -8
  48. package/dist/api/resources/documents/client/Client.js +5 -5
  49. package/dist/api/resources/folderEntities/client/Client.js +2 -2
  50. package/dist/api/resources/metricDefinitions/client/Client.js +1 -1
  51. package/dist/api/resources/sandboxes/client/Client.js +3 -3
  52. package/dist/api/resources/testSuiteRuns/client/Client.js +3 -3
  53. package/dist/api/resources/testSuites/client/Client.js +4 -4
  54. package/dist/api/resources/workflowDeployments/client/Client.js +4 -4
  55. package/dist/api/resources/workflowSandboxes/client/Client.js +1 -1
  56. package/dist/api/resources/workflows/client/Client.d.ts +6 -0
  57. package/dist/api/resources/workflows/client/Client.js +44 -2
  58. package/dist/api/resources/workflows/client/requests/WorkflowPushRequest.d.ts +1 -0
  59. package/dist/api/resources/workspaceSecrets/client/Client.js +2 -2
  60. package/dist/api/types/ArrayVariableValueItem.d.ts +1 -1
  61. package/dist/api/types/AudioVariableValue.d.ts +11 -0
  62. package/dist/api/types/AudioVariableValue.js +5 -0
  63. package/dist/api/types/AudioVellumValue.d.ts +11 -0
  64. package/dist/api/types/AudioVellumValue.js +5 -0
  65. package/dist/api/types/AudioVellumValueRequest.d.ts +11 -0
  66. package/dist/api/types/AudioVellumValueRequest.js +5 -0
  67. package/dist/api/types/DockerServiceToken.d.ts +8 -0
  68. package/dist/api/types/DockerServiceToken.js +5 -0
  69. package/dist/api/types/EnrichedNormalizedCompletion.d.ts +1 -1
  70. package/dist/api/types/VellumAudio.d.ts +1 -0
  71. package/dist/api/types/VellumAudioRequest.d.ts +1 -0
  72. package/dist/api/types/VellumValue.d.ts +1 -1
  73. package/dist/api/types/VellumValueRequest.d.ts +1 -1
  74. package/dist/api/types/WorkflowPushDeploymentConfigRequest.d.ts +9 -0
  75. package/dist/api/types/WorkflowPushDeploymentConfigRequest.js +5 -0
  76. package/dist/api/types/WorkflowPushResponse.d.ts +1 -0
  77. package/dist/api/types/index.d.ts +5 -0
  78. package/dist/api/types/index.js +5 -0
  79. package/dist/serialization/resources/workflows/client/requests/WorkflowPushRequest.d.ts +2 -0
  80. package/dist/serialization/resources/workflows/client/requests/WorkflowPushRequest.js +2 -0
  81. package/dist/serialization/types/ArrayVariableValueItem.d.ts +2 -1
  82. package/dist/serialization/types/ArrayVariableValueItem.js +2 -0
  83. package/dist/serialization/types/AudioVariableValue.d.ts +14 -0
  84. package/dist/serialization/types/AudioVariableValue.js +35 -0
  85. package/dist/serialization/types/AudioVellumValue.d.ts +14 -0
  86. package/dist/serialization/types/AudioVellumValue.js +35 -0
  87. package/dist/serialization/types/AudioVellumValueRequest.d.ts +14 -0
  88. package/dist/serialization/types/AudioVellumValueRequest.js +35 -0
  89. package/dist/serialization/types/DockerServiceToken.d.ts +14 -0
  90. package/dist/serialization/types/DockerServiceToken.js +35 -0
  91. package/dist/serialization/types/EnrichedNormalizedCompletion.d.ts +1 -1
  92. package/dist/serialization/types/EnrichedNormalizedCompletion.js +1 -1
  93. package/dist/serialization/types/VellumValue.d.ts +2 -1
  94. package/dist/serialization/types/VellumValue.js +2 -0
  95. package/dist/serialization/types/VellumValueRequest.d.ts +2 -1
  96. package/dist/serialization/types/VellumValueRequest.js +2 -0
  97. package/dist/serialization/types/WorkflowPushDeploymentConfigRequest.d.ts +15 -0
  98. package/dist/serialization/types/WorkflowPushDeploymentConfigRequest.js +36 -0
  99. package/dist/serialization/types/WorkflowPushResponse.d.ts +1 -0
  100. package/dist/serialization/types/WorkflowPushResponse.js +1 -0
  101. package/dist/serialization/types/index.d.ts +5 -0
  102. package/dist/serialization/types/index.js +5 -0
  103. package/dist/version.d.ts +1 -1
  104. package/dist/version.js +1 -1
  105. package/package.json +1 -1
  106. package/reference.md +118 -0
  107. package/serialization/resources/workflows/client/requests/WorkflowPushRequest.d.ts +2 -0
  108. package/serialization/resources/workflows/client/requests/WorkflowPushRequest.js +2 -0
  109. package/serialization/types/ArrayVariableValueItem.d.ts +2 -1
  110. package/serialization/types/ArrayVariableValueItem.js +2 -0
  111. package/serialization/types/AudioVariableValue.d.ts +14 -0
  112. package/serialization/types/AudioVariableValue.js +35 -0
  113. package/serialization/types/AudioVellumValue.d.ts +14 -0
  114. package/serialization/types/AudioVellumValue.js +35 -0
  115. package/serialization/types/AudioVellumValueRequest.d.ts +14 -0
  116. package/serialization/types/AudioVellumValueRequest.js +35 -0
  117. package/serialization/types/DockerServiceToken.d.ts +14 -0
  118. package/serialization/types/DockerServiceToken.js +35 -0
  119. package/serialization/types/EnrichedNormalizedCompletion.d.ts +1 -1
  120. package/serialization/types/EnrichedNormalizedCompletion.js +1 -1
  121. package/serialization/types/VellumValue.d.ts +2 -1
  122. package/serialization/types/VellumValue.js +2 -0
  123. package/serialization/types/VellumValueRequest.d.ts +2 -1
  124. package/serialization/types/VellumValueRequest.js +2 -0
  125. package/serialization/types/WorkflowPushDeploymentConfigRequest.d.ts +15 -0
  126. package/serialization/types/WorkflowPushDeploymentConfigRequest.js +36 -0
  127. package/serialization/types/WorkflowPushResponse.d.ts +1 -0
  128. package/serialization/types/WorkflowPushResponse.js +1 -0
  129. package/serialization/types/index.d.ts +5 -0
  130. package/serialization/types/index.js +5 -0
  131. package/version.d.ts +1 -1
  132. package/version.js +1 -1
@@ -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
+ });
@@ -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
+ export declare const DockerServiceToken: core.serialization.ObjectSchema<serializers.DockerServiceToken.Raw, Vellum.DockerServiceToken>;
8
+ export declare namespace DockerServiceToken {
9
+ interface Raw {
10
+ access_token: string;
11
+ organization_id: string;
12
+ repository: string;
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.DockerServiceToken = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ exports.DockerServiceToken = core.serialization.object({
32
+ accessToken: core.serialization.property("access_token", core.serialization.string()),
33
+ organizationId: core.serialization.property("organization_id", core.serialization.string()),
34
+ repository: core.serialization.string(),
35
+ });
@@ -15,7 +15,7 @@ export declare namespace EnrichedNormalizedCompletion {
15
15
  text: string;
16
16
  finish_reason?: FinishReasonEnum.Raw | null;
17
17
  logprobs?: NormalizedLogProbs.Raw | null;
18
- model_version_id: string;
18
+ model_version_id?: string | null;
19
19
  prompt_version_id: string;
20
20
  type?: VellumVariableType.Raw | null;
21
21
  deployment_release_tag: string;
@@ -37,7 +37,7 @@ exports.EnrichedNormalizedCompletion = core.serialization.object({
37
37
  text: core.serialization.string(),
38
38
  finishReason: core.serialization.property("finish_reason", FinishReasonEnum_1.FinishReasonEnum.optional()),
39
39
  logprobs: NormalizedLogProbs_1.NormalizedLogProbs.optional(),
40
- modelVersionId: core.serialization.property("model_version_id", core.serialization.string()),
40
+ modelVersionId: core.serialization.property("model_version_id", core.serialization.string().optional()),
41
41
  promptVersionId: core.serialization.property("prompt_version_id", core.serialization.string()),
42
42
  type: VellumVariableType_1.VellumVariableType.optional(),
43
43
  deploymentReleaseTag: core.serialization.property("deployment_release_tag", core.serialization.string()),
@@ -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";
@@ -63,6 +66,7 @@ export * from "./DeploymentProviderPayloadResponse";
63
66
  export * from "./DeploymentRead";
64
67
  export * from "./DeploymentReleaseTagDeploymentHistoryItem";
65
68
  export * from "./DeploymentReleaseTagRead";
69
+ export * from "./DockerServiceToken";
66
70
  export * from "./DocumentDocumentToDocumentIndex";
67
71
  export * from "./DocumentIndexChunking";
68
72
  export * from "./DocumentIndexChunkingRequest";
@@ -451,6 +455,7 @@ export * from "./WorkflowOutputJson";
451
455
  export * from "./WorkflowOutputNumber";
452
456
  export * from "./WorkflowOutputSearchResults";
453
457
  export * from "./WorkflowOutputString";
458
+ export * from "./WorkflowPushDeploymentConfigRequest";
454
459
  export * from "./WorkflowPushExecConfig";
455
460
  export * from "./WorkflowPushResponse";
456
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);
@@ -79,6 +82,7 @@ __exportStar(require("./DeploymentProviderPayloadResponse"), exports);
79
82
  __exportStar(require("./DeploymentRead"), exports);
80
83
  __exportStar(require("./DeploymentReleaseTagDeploymentHistoryItem"), exports);
81
84
  __exportStar(require("./DeploymentReleaseTagRead"), exports);
85
+ __exportStar(require("./DockerServiceToken"), exports);
82
86
  __exportStar(require("./DocumentDocumentToDocumentIndex"), exports);
83
87
  __exportStar(require("./DocumentIndexChunking"), exports);
84
88
  __exportStar(require("./DocumentIndexChunkingRequest"), exports);
@@ -467,6 +471,7 @@ __exportStar(require("./WorkflowOutputJson"), exports);
467
471
  __exportStar(require("./WorkflowOutputNumber"), exports);
468
472
  __exportStar(require("./WorkflowOutputSearchResults"), exports);
469
473
  __exportStar(require("./WorkflowOutputString"), exports);
474
+ __exportStar(require("./WorkflowPushDeploymentConfigRequest"), exports);
470
475
  __exportStar(require("./WorkflowPushExecConfig"), exports);
471
476
  __exportStar(require("./WorkflowPushResponse"), exports);
472
477
  __exportStar(require("./WorkflowReleaseTagRead"), exports);
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.9.2";
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 = "0.9.2";
4
+ exports.SDK_VERSION = "0.9.4";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vellum-ai",
3
- "version": "0.9.2",
3
+ "version": "0.9.4",
4
4
  "private": false,
5
5
  "repository": "https://github.com/vellum-ai/vellum-client-node",
6
6
  "license": "MIT",
package/reference.md CHANGED
@@ -334,6 +334,61 @@ await client.containerImages.retrieve("id");
334
334
  </dl>
335
335
  </details>
336
336
 
337
+ <details><summary><code>client.containerImages.<a href="/src/api/resources/containerImages/client/Client.ts">dockerServiceToken</a>() -> Vellum.DockerServiceToken</code></summary>
338
+ <dl>
339
+ <dd>
340
+
341
+ #### 📝 Description
342
+
343
+ <dl>
344
+ <dd>
345
+
346
+ <dl>
347
+ <dd>
348
+
349
+ An internal-only endpoint that's subject to breaking changes without notice. Not intended for public use.
350
+
351
+ </dd>
352
+ </dl>
353
+ </dd>
354
+ </dl>
355
+
356
+ #### 🔌 Usage
357
+
358
+ <dl>
359
+ <dd>
360
+
361
+ <dl>
362
+ <dd>
363
+
364
+ ```typescript
365
+ await client.containerImages.dockerServiceToken();
366
+ ```
367
+
368
+ </dd>
369
+ </dl>
370
+ </dd>
371
+ </dl>
372
+
373
+ #### ⚙️ Parameters
374
+
375
+ <dl>
376
+ <dd>
377
+
378
+ <dl>
379
+ <dd>
380
+
381
+ **requestOptions:** `ContainerImages.RequestOptions`
382
+
383
+ </dd>
384
+ </dl>
385
+ </dd>
386
+ </dl>
387
+
388
+ </dd>
389
+ </dl>
390
+ </details>
391
+
337
392
  <details><summary><code>client.containerImages.<a href="/src/api/resources/containerImages/client/Client.ts">pushContainerImage</a>({ ...params }) -> Vellum.ContainerImageRead</code></summary>
338
393
  <dl>
339
394
  <dd>
@@ -2987,6 +3042,69 @@ await client.workflowSandboxes.deployWorkflow("id", "workflow_id");
2987
3042
 
2988
3043
  ## Workflows
2989
3044
 
3045
+ <details><summary><code>client.workflows.<a href="/src/api/resources/workflows/client/Client.ts">pull</a>(id) -> stream.Readable</code></summary>
3046
+ <dl>
3047
+ <dd>
3048
+
3049
+ #### 📝 Description
3050
+
3051
+ <dl>
3052
+ <dd>
3053
+
3054
+ <dl>
3055
+ <dd>
3056
+
3057
+ An internal-only endpoint that's subject to breaking changes without notice. Not intended for public use.
3058
+
3059
+ </dd>
3060
+ </dl>
3061
+ </dd>
3062
+ </dl>
3063
+
3064
+ #### 🔌 Usage
3065
+
3066
+ <dl>
3067
+ <dd>
3068
+
3069
+ <dl>
3070
+ <dd>
3071
+
3072
+ ```typescript
3073
+ await client.workflows.pull("string");
3074
+ ```
3075
+
3076
+ </dd>
3077
+ </dl>
3078
+ </dd>
3079
+ </dl>
3080
+
3081
+ #### ⚙️ Parameters
3082
+
3083
+ <dl>
3084
+ <dd>
3085
+
3086
+ <dl>
3087
+ <dd>
3088
+
3089
+ **id:** `string` — The ID of the Workflow to pull from
3090
+
3091
+ </dd>
3092
+ </dl>
3093
+
3094
+ <dl>
3095
+ <dd>
3096
+
3097
+ **requestOptions:** `Workflows.RequestOptions`
3098
+
3099
+ </dd>
3100
+ </dl>
3101
+ </dd>
3102
+ </dl>
3103
+
3104
+ </dd>
3105
+ </dl>
3106
+ </details>
3107
+
2990
3108
  <details><summary><code>client.workflows.<a href="/src/api/resources/workflows/client/Client.ts">push</a>({ ...params }) -> Vellum.WorkflowPushResponse</code></summary>
2991
3109
  <dl>
2992
3110
  <dd>
@@ -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
+ }