vellum-ai 0.9.4 → 0.9.5

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 (153) hide show
  1. package/.mock/definition/__package__.yml +28 -0
  2. package/.mock/definition/deployments.yml +50 -1
  3. package/.mock/definition/workflowDeployments.yml +49 -0
  4. package/.mock/definition/workflows.yml +15 -2
  5. package/.mock/openapi/openapi.yml +156 -1
  6. package/Client.js +10 -10
  7. package/api/resources/adHoc/client/Client.js +1 -1
  8. package/api/resources/containerImages/client/Client.js +4 -4
  9. package/api/resources/deployments/client/Client.d.ts +12 -1
  10. package/api/resources/deployments/client/Client.js +74 -6
  11. package/api/resources/deployments/client/requests/ListDeploymentReleaseTagsRequest.d.ts +23 -0
  12. package/api/resources/deployments/client/requests/ListDeploymentReleaseTagsRequest.js +5 -0
  13. package/api/resources/deployments/client/requests/index.d.ts +1 -0
  14. package/api/resources/deployments/types/ListDeploymentReleaseTagsRequestSource.d.ts +8 -0
  15. package/api/resources/deployments/types/ListDeploymentReleaseTagsRequestSource.js +10 -0
  16. package/api/resources/deployments/types/index.d.ts +1 -0
  17. package/api/resources/deployments/types/index.js +1 -0
  18. package/api/resources/documentIndexes/client/Client.js +8 -8
  19. package/api/resources/documents/client/Client.js +5 -5
  20. package/api/resources/folderEntities/client/Client.js +2 -2
  21. package/api/resources/index.d.ts +2 -1
  22. package/api/resources/index.js +3 -2
  23. package/api/resources/metricDefinitions/client/Client.js +1 -1
  24. package/api/resources/sandboxes/client/Client.js +3 -3
  25. package/api/resources/testSuiteRuns/client/Client.js +3 -3
  26. package/api/resources/testSuites/client/Client.js +4 -4
  27. package/api/resources/workflowDeployments/client/Client.d.ts +11 -0
  28. package/api/resources/workflowDeployments/client/Client.js +72 -4
  29. package/api/resources/workflowDeployments/client/requests/ListWorkflowReleaseTagsRequest.d.ts +23 -0
  30. package/api/resources/workflowDeployments/client/requests/ListWorkflowReleaseTagsRequest.js +5 -0
  31. package/api/resources/workflowDeployments/client/requests/index.d.ts +1 -0
  32. package/api/resources/workflowDeployments/types/ListWorkflowReleaseTagsRequestSource.d.ts +8 -0
  33. package/api/resources/workflowDeployments/types/ListWorkflowReleaseTagsRequestSource.js +10 -0
  34. package/api/resources/workflowDeployments/types/index.d.ts +1 -0
  35. package/api/resources/workflowDeployments/types/index.js +1 -0
  36. package/api/resources/workflowSandboxes/client/Client.js +1 -1
  37. package/api/resources/workflows/client/Client.d.ts +3 -2
  38. package/api/resources/workflows/client/Client.js +20 -7
  39. package/api/resources/workflows/client/requests/WorkflowsPullRequest.d.ts +13 -0
  40. package/api/resources/workflows/client/requests/WorkflowsPullRequest.js +5 -0
  41. package/api/resources/workflows/client/requests/index.d.ts +1 -0
  42. package/api/resources/workflows/index.d.ts +1 -0
  43. package/api/resources/workflows/index.js +1 -0
  44. package/api/resources/workflows/types/WorkflowsPullRequestFormat.d.ts +8 -0
  45. package/api/resources/workflows/types/WorkflowsPullRequestFormat.js +10 -0
  46. package/api/resources/workflows/types/index.d.ts +1 -0
  47. package/api/resources/workflows/types/index.js +17 -0
  48. package/api/resources/workspaceSecrets/client/Client.js +2 -2
  49. package/api/types/PaginatedDeploymentReleaseTagReadList.d.ts +10 -0
  50. package/api/types/PaginatedDeploymentReleaseTagReadList.js +5 -0
  51. package/api/types/PaginatedWorkflowReleaseTagReadList.d.ts +10 -0
  52. package/api/types/PaginatedWorkflowReleaseTagReadList.js +5 -0
  53. package/api/types/index.d.ts +2 -0
  54. package/api/types/index.js +2 -0
  55. package/dist/Client.js +10 -10
  56. package/dist/api/resources/adHoc/client/Client.js +1 -1
  57. package/dist/api/resources/containerImages/client/Client.js +4 -4
  58. package/dist/api/resources/deployments/client/Client.d.ts +12 -1
  59. package/dist/api/resources/deployments/client/Client.js +74 -6
  60. package/dist/api/resources/deployments/client/requests/ListDeploymentReleaseTagsRequest.d.ts +23 -0
  61. package/dist/api/resources/deployments/client/requests/ListDeploymentReleaseTagsRequest.js +5 -0
  62. package/dist/api/resources/deployments/client/requests/index.d.ts +1 -0
  63. package/dist/api/resources/deployments/types/ListDeploymentReleaseTagsRequestSource.d.ts +8 -0
  64. package/dist/api/resources/deployments/types/ListDeploymentReleaseTagsRequestSource.js +10 -0
  65. package/dist/api/resources/deployments/types/index.d.ts +1 -0
  66. package/dist/api/resources/deployments/types/index.js +1 -0
  67. package/dist/api/resources/documentIndexes/client/Client.js +8 -8
  68. package/dist/api/resources/documents/client/Client.js +5 -5
  69. package/dist/api/resources/folderEntities/client/Client.js +2 -2
  70. package/dist/api/resources/index.d.ts +2 -1
  71. package/dist/api/resources/index.js +3 -2
  72. package/dist/api/resources/metricDefinitions/client/Client.js +1 -1
  73. package/dist/api/resources/sandboxes/client/Client.js +3 -3
  74. package/dist/api/resources/testSuiteRuns/client/Client.js +3 -3
  75. package/dist/api/resources/testSuites/client/Client.js +4 -4
  76. package/dist/api/resources/workflowDeployments/client/Client.d.ts +11 -0
  77. package/dist/api/resources/workflowDeployments/client/Client.js +72 -4
  78. package/dist/api/resources/workflowDeployments/client/requests/ListWorkflowReleaseTagsRequest.d.ts +23 -0
  79. package/dist/api/resources/workflowDeployments/client/requests/ListWorkflowReleaseTagsRequest.js +5 -0
  80. package/dist/api/resources/workflowDeployments/client/requests/index.d.ts +1 -0
  81. package/dist/api/resources/workflowDeployments/types/ListWorkflowReleaseTagsRequestSource.d.ts +8 -0
  82. package/dist/api/resources/workflowDeployments/types/ListWorkflowReleaseTagsRequestSource.js +10 -0
  83. package/dist/api/resources/workflowDeployments/types/index.d.ts +1 -0
  84. package/dist/api/resources/workflowDeployments/types/index.js +1 -0
  85. package/dist/api/resources/workflowSandboxes/client/Client.js +1 -1
  86. package/dist/api/resources/workflows/client/Client.d.ts +3 -2
  87. package/dist/api/resources/workflows/client/Client.js +20 -7
  88. package/dist/api/resources/workflows/client/requests/WorkflowsPullRequest.d.ts +13 -0
  89. package/dist/api/resources/workflows/client/requests/WorkflowsPullRequest.js +5 -0
  90. package/dist/api/resources/workflows/client/requests/index.d.ts +1 -0
  91. package/dist/api/resources/workflows/index.d.ts +1 -0
  92. package/dist/api/resources/workflows/index.js +1 -0
  93. package/dist/api/resources/workflows/types/WorkflowsPullRequestFormat.d.ts +8 -0
  94. package/dist/api/resources/workflows/types/WorkflowsPullRequestFormat.js +10 -0
  95. package/dist/api/resources/workflows/types/index.d.ts +1 -0
  96. package/dist/api/resources/workflows/types/index.js +17 -0
  97. package/dist/api/resources/workspaceSecrets/client/Client.js +2 -2
  98. package/dist/api/types/PaginatedDeploymentReleaseTagReadList.d.ts +10 -0
  99. package/dist/api/types/PaginatedDeploymentReleaseTagReadList.js +5 -0
  100. package/dist/api/types/PaginatedWorkflowReleaseTagReadList.d.ts +10 -0
  101. package/dist/api/types/PaginatedWorkflowReleaseTagReadList.js +5 -0
  102. package/dist/api/types/index.d.ts +2 -0
  103. package/dist/api/types/index.js +2 -0
  104. package/dist/serialization/resources/deployments/types/ListDeploymentReleaseTagsRequestSource.d.ts +10 -0
  105. package/dist/serialization/resources/deployments/types/ListDeploymentReleaseTagsRequestSource.js +31 -0
  106. package/dist/serialization/resources/deployments/types/index.d.ts +1 -0
  107. package/dist/serialization/resources/deployments/types/index.js +1 -0
  108. package/dist/serialization/resources/index.d.ts +2 -1
  109. package/dist/serialization/resources/index.js +3 -2
  110. package/dist/serialization/resources/workflowDeployments/types/ListWorkflowReleaseTagsRequestSource.d.ts +10 -0
  111. package/dist/serialization/resources/workflowDeployments/types/ListWorkflowReleaseTagsRequestSource.js +31 -0
  112. package/dist/serialization/resources/workflowDeployments/types/index.d.ts +1 -0
  113. package/dist/serialization/resources/workflowDeployments/types/index.js +1 -0
  114. package/dist/serialization/resources/workflows/index.d.ts +1 -0
  115. package/dist/serialization/resources/workflows/index.js +1 -0
  116. package/dist/serialization/resources/workflows/types/WorkflowsPullRequestFormat.d.ts +10 -0
  117. package/dist/serialization/resources/workflows/types/WorkflowsPullRequestFormat.js +31 -0
  118. package/dist/serialization/resources/workflows/types/index.d.ts +1 -0
  119. package/dist/serialization/resources/workflows/types/index.js +17 -0
  120. package/dist/serialization/types/PaginatedDeploymentReleaseTagReadList.d.ts +16 -0
  121. package/dist/serialization/types/PaginatedDeploymentReleaseTagReadList.js +37 -0
  122. package/dist/serialization/types/PaginatedWorkflowReleaseTagReadList.d.ts +16 -0
  123. package/dist/serialization/types/PaginatedWorkflowReleaseTagReadList.js +37 -0
  124. package/dist/serialization/types/index.d.ts +2 -0
  125. package/dist/serialization/types/index.js +2 -0
  126. package/dist/version.d.ts +1 -1
  127. package/dist/version.js +1 -1
  128. package/package.json +1 -1
  129. package/reference.md +155 -3
  130. package/serialization/resources/deployments/types/ListDeploymentReleaseTagsRequestSource.d.ts +10 -0
  131. package/serialization/resources/deployments/types/ListDeploymentReleaseTagsRequestSource.js +31 -0
  132. package/serialization/resources/deployments/types/index.d.ts +1 -0
  133. package/serialization/resources/deployments/types/index.js +1 -0
  134. package/serialization/resources/index.d.ts +2 -1
  135. package/serialization/resources/index.js +3 -2
  136. package/serialization/resources/workflowDeployments/types/ListWorkflowReleaseTagsRequestSource.d.ts +10 -0
  137. package/serialization/resources/workflowDeployments/types/ListWorkflowReleaseTagsRequestSource.js +31 -0
  138. package/serialization/resources/workflowDeployments/types/index.d.ts +1 -0
  139. package/serialization/resources/workflowDeployments/types/index.js +1 -0
  140. package/serialization/resources/workflows/index.d.ts +1 -0
  141. package/serialization/resources/workflows/index.js +1 -0
  142. package/serialization/resources/workflows/types/WorkflowsPullRequestFormat.d.ts +10 -0
  143. package/serialization/resources/workflows/types/WorkflowsPullRequestFormat.js +31 -0
  144. package/serialization/resources/workflows/types/index.d.ts +1 -0
  145. package/serialization/resources/workflows/types/index.js +17 -0
  146. package/serialization/types/PaginatedDeploymentReleaseTagReadList.d.ts +16 -0
  147. package/serialization/types/PaginatedDeploymentReleaseTagReadList.js +37 -0
  148. package/serialization/types/PaginatedWorkflowReleaseTagReadList.d.ts +16 -0
  149. package/serialization/types/PaginatedWorkflowReleaseTagReadList.js +37 -0
  150. package/serialization/types/index.d.ts +2 -0
  151. package/serialization/types/index.js +2 -0
  152. package/version.d.ts +1 -1
  153. package/version.js +1 -1
@@ -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 WorkflowsPullRequestFormat: core.serialization.Schema<serializers.WorkflowsPullRequestFormat.Raw, Vellum.WorkflowsPullRequestFormat>;
8
+ export declare namespace WorkflowsPullRequestFormat {
9
+ type Raw = "json" | "zip";
10
+ }
@@ -0,0 +1,31 @@
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.WorkflowsPullRequestFormat = void 0;
30
+ const core = __importStar(require("../../../../core"));
31
+ exports.WorkflowsPullRequestFormat = core.serialization.enum_(["json", "zip"]);
@@ -0,0 +1 @@
1
+ export * from "./WorkflowsPullRequestFormat";
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./WorkflowsPullRequestFormat"), exports);
@@ -0,0 +1,16 @@
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 { DeploymentReleaseTagRead } from "./DeploymentReleaseTagRead";
8
+ export declare const PaginatedDeploymentReleaseTagReadList: core.serialization.ObjectSchema<serializers.PaginatedDeploymentReleaseTagReadList.Raw, Vellum.PaginatedDeploymentReleaseTagReadList>;
9
+ export declare namespace PaginatedDeploymentReleaseTagReadList {
10
+ interface Raw {
11
+ count?: number | null;
12
+ next?: string | null;
13
+ previous?: string | null;
14
+ results?: DeploymentReleaseTagRead.Raw[] | null;
15
+ }
16
+ }
@@ -0,0 +1,37 @@
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.PaginatedDeploymentReleaseTagReadList = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ const DeploymentReleaseTagRead_1 = require("./DeploymentReleaseTagRead");
32
+ exports.PaginatedDeploymentReleaseTagReadList = core.serialization.object({
33
+ count: core.serialization.number().optional(),
34
+ next: core.serialization.string().optional(),
35
+ previous: core.serialization.string().optional(),
36
+ results: core.serialization.list(DeploymentReleaseTagRead_1.DeploymentReleaseTagRead).optional(),
37
+ });
@@ -0,0 +1,16 @@
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 { WorkflowReleaseTagRead } from "./WorkflowReleaseTagRead";
8
+ export declare const PaginatedWorkflowReleaseTagReadList: core.serialization.ObjectSchema<serializers.PaginatedWorkflowReleaseTagReadList.Raw, Vellum.PaginatedWorkflowReleaseTagReadList>;
9
+ export declare namespace PaginatedWorkflowReleaseTagReadList {
10
+ interface Raw {
11
+ count?: number | null;
12
+ next?: string | null;
13
+ previous?: string | null;
14
+ results?: WorkflowReleaseTagRead.Raw[] | null;
15
+ }
16
+ }
@@ -0,0 +1,37 @@
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.PaginatedWorkflowReleaseTagReadList = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ const WorkflowReleaseTagRead_1 = require("./WorkflowReleaseTagRead");
32
+ exports.PaginatedWorkflowReleaseTagReadList = core.serialization.object({
33
+ count: core.serialization.number().optional(),
34
+ next: core.serialization.string().optional(),
35
+ previous: core.serialization.string().optional(),
36
+ results: core.serialization.list(WorkflowReleaseTagRead_1.WorkflowReleaseTagRead).optional(),
37
+ });
@@ -238,6 +238,7 @@ export * from "./OpenAiVectorizerTextEmbedding3SmallRequest";
238
238
  export * from "./OpenAiVectorizerTextEmbeddingAda002";
239
239
  export * from "./OpenAiVectorizerTextEmbeddingAda002Request";
240
240
  export * from "./PaginatedContainerImageReadList";
241
+ export * from "./PaginatedDeploymentReleaseTagReadList";
241
242
  export * from "./PaginatedDocumentIndexReadList";
242
243
  export * from "./PaginatedFolderEntityList";
243
244
  export * from "./PaginatedSlimDeploymentReadList";
@@ -245,6 +246,7 @@ export * from "./PaginatedSlimDocumentList";
245
246
  export * from "./PaginatedSlimWorkflowDeploymentList";
246
247
  export * from "./PaginatedTestSuiteRunExecutionList";
247
248
  export * from "./PaginatedTestSuiteTestCaseList";
249
+ export * from "./PaginatedWorkflowReleaseTagReadList";
248
250
  export * from "./PdfSearchResultMetaSource";
249
251
  export * from "./PdfSearchResultMetaSourceRequest";
250
252
  export * from "./PlainTextPromptBlockRequest";
@@ -254,6 +254,7 @@ __exportStar(require("./OpenAiVectorizerTextEmbedding3SmallRequest"), exports);
254
254
  __exportStar(require("./OpenAiVectorizerTextEmbeddingAda002"), exports);
255
255
  __exportStar(require("./OpenAiVectorizerTextEmbeddingAda002Request"), exports);
256
256
  __exportStar(require("./PaginatedContainerImageReadList"), exports);
257
+ __exportStar(require("./PaginatedDeploymentReleaseTagReadList"), exports);
257
258
  __exportStar(require("./PaginatedDocumentIndexReadList"), exports);
258
259
  __exportStar(require("./PaginatedFolderEntityList"), exports);
259
260
  __exportStar(require("./PaginatedSlimDeploymentReadList"), exports);
@@ -261,6 +262,7 @@ __exportStar(require("./PaginatedSlimDocumentList"), exports);
261
262
  __exportStar(require("./PaginatedSlimWorkflowDeploymentList"), exports);
262
263
  __exportStar(require("./PaginatedTestSuiteRunExecutionList"), exports);
263
264
  __exportStar(require("./PaginatedTestSuiteTestCaseList"), exports);
265
+ __exportStar(require("./PaginatedWorkflowReleaseTagReadList"), exports);
264
266
  __exportStar(require("./PdfSearchResultMetaSource"), exports);
265
267
  __exportStar(require("./PdfSearchResultMetaSourceRequest"), exports);
266
268
  __exportStar(require("./PlainTextPromptBlockRequest"), exports);
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.9.4";
1
+ export declare const SDK_VERSION = "0.9.5";
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.4";
4
+ exports.SDK_VERSION = "0.9.5";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vellum-ai",
3
- "version": "0.9.4",
3
+ "version": "0.9.5",
4
4
  "private": false,
5
5
  "repository": "https://github.com/vellum-ai/vellum-client-node",
6
6
  "license": "MIT",
package/reference.md CHANGED
@@ -584,6 +584,77 @@ await client.deployments.retrieve("id");
584
584
  </dl>
585
585
  </details>
586
586
 
587
+ <details><summary><code>client.deployments.<a href="/src/api/resources/deployments/client/Client.ts">listDeploymentReleaseTags</a>(id, { ...params }) -> Vellum.PaginatedDeploymentReleaseTagReadList</code></summary>
588
+ <dl>
589
+ <dd>
590
+
591
+ #### 📝 Description
592
+
593
+ <dl>
594
+ <dd>
595
+
596
+ <dl>
597
+ <dd>
598
+
599
+ List Release Tags associated with the specified Prompt Deployment
600
+
601
+ </dd>
602
+ </dl>
603
+ </dd>
604
+ </dl>
605
+
606
+ #### 🔌 Usage
607
+
608
+ <dl>
609
+ <dd>
610
+
611
+ <dl>
612
+ <dd>
613
+
614
+ ```typescript
615
+ await client.deployments.listDeploymentReleaseTags("id");
616
+ ```
617
+
618
+ </dd>
619
+ </dl>
620
+ </dd>
621
+ </dl>
622
+
623
+ #### ⚙️ Parameters
624
+
625
+ <dl>
626
+ <dd>
627
+
628
+ <dl>
629
+ <dd>
630
+
631
+ **id:** `string` — Either the Prompt Deployment's ID or its unique name
632
+
633
+ </dd>
634
+ </dl>
635
+
636
+ <dl>
637
+ <dd>
638
+
639
+ **request:** `Vellum.ListDeploymentReleaseTagsRequest`
640
+
641
+ </dd>
642
+ </dl>
643
+
644
+ <dl>
645
+ <dd>
646
+
647
+ **requestOptions:** `Deployments.RequestOptions`
648
+
649
+ </dd>
650
+ </dl>
651
+ </dd>
652
+ </dl>
653
+
654
+ </dd>
655
+ </dl>
656
+ </details>
657
+
587
658
  <details><summary><code>client.deployments.<a href="/src/api/resources/deployments/client/Client.ts">retrieveDeploymentReleaseTag</a>(id, name) -> Vellum.DeploymentReleaseTagRead</code></summary>
588
659
  <dl>
589
660
  <dd>
@@ -667,7 +738,7 @@ await client.deployments.retrieveDeploymentReleaseTag("id", "name");
667
738
  <dl>
668
739
  <dd>
669
740
 
670
- Updates an existing Release Tag associated with the specified Deployment.
741
+ Updates an existing Release Tag associated with the specified Prompt Deployment.
671
742
 
672
743
  </dd>
673
744
  </dl>
@@ -2824,6 +2895,77 @@ await client.workflowDeployments.retrieve("id");
2824
2895
  </dl>
2825
2896
  </details>
2826
2897
 
2898
+ <details><summary><code>client.workflowDeployments.<a href="/src/api/resources/workflowDeployments/client/Client.ts">listWorkflowReleaseTags</a>(id, { ...params }) -> Vellum.PaginatedWorkflowReleaseTagReadList</code></summary>
2899
+ <dl>
2900
+ <dd>
2901
+
2902
+ #### 📝 Description
2903
+
2904
+ <dl>
2905
+ <dd>
2906
+
2907
+ <dl>
2908
+ <dd>
2909
+
2910
+ List Release Tags associated with the specified Workflow Deployment
2911
+
2912
+ </dd>
2913
+ </dl>
2914
+ </dd>
2915
+ </dl>
2916
+
2917
+ #### 🔌 Usage
2918
+
2919
+ <dl>
2920
+ <dd>
2921
+
2922
+ <dl>
2923
+ <dd>
2924
+
2925
+ ```typescript
2926
+ await client.workflowDeployments.listWorkflowReleaseTags("id");
2927
+ ```
2928
+
2929
+ </dd>
2930
+ </dl>
2931
+ </dd>
2932
+ </dl>
2933
+
2934
+ #### ⚙️ Parameters
2935
+
2936
+ <dl>
2937
+ <dd>
2938
+
2939
+ <dl>
2940
+ <dd>
2941
+
2942
+ **id:** `string` — Either the Workflow Deployment's ID or its unique name
2943
+
2944
+ </dd>
2945
+ </dl>
2946
+
2947
+ <dl>
2948
+ <dd>
2949
+
2950
+ **request:** `Vellum.ListWorkflowReleaseTagsRequest`
2951
+
2952
+ </dd>
2953
+ </dl>
2954
+
2955
+ <dl>
2956
+ <dd>
2957
+
2958
+ **requestOptions:** `WorkflowDeployments.RequestOptions`
2959
+
2960
+ </dd>
2961
+ </dl>
2962
+ </dd>
2963
+ </dl>
2964
+
2965
+ </dd>
2966
+ </dl>
2967
+ </details>
2968
+
2827
2969
  <details><summary><code>client.workflowDeployments.<a href="/src/api/resources/workflowDeployments/client/Client.ts">retrieveWorkflowReleaseTag</a>(id, name) -> Vellum.WorkflowReleaseTagRead</code></summary>
2828
2970
  <dl>
2829
2971
  <dd>
@@ -3042,7 +3184,7 @@ await client.workflowSandboxes.deployWorkflow("id", "workflow_id");
3042
3184
 
3043
3185
  ## Workflows
3044
3186
 
3045
- <details><summary><code>client.workflows.<a href="/src/api/resources/workflows/client/Client.ts">pull</a>(id) -> stream.Readable</code></summary>
3187
+ <details><summary><code>client.workflows.<a href="/src/api/resources/workflows/client/Client.ts">pull</a>(id, { ...params }) -> stream.Readable</code></summary>
3046
3188
  <dl>
3047
3189
  <dd>
3048
3190
 
@@ -3070,7 +3212,9 @@ An internal-only endpoint that's subject to breaking changes without notice. Not
3070
3212
  <dd>
3071
3213
 
3072
3214
  ```typescript
3073
- await client.workflows.pull("string");
3215
+ await client.workflows.pull("string", {
3216
+ format: "json",
3217
+ });
3074
3218
  ```
3075
3219
 
3076
3220
  </dd>
@@ -3094,6 +3238,14 @@ await client.workflows.pull("string");
3094
3238
  <dl>
3095
3239
  <dd>
3096
3240
 
3241
+ **request:** `Vellum.WorkflowsPullRequest`
3242
+
3243
+ </dd>
3244
+ </dl>
3245
+
3246
+ <dl>
3247
+ <dd>
3248
+
3097
3249
  **requestOptions:** `Workflows.RequestOptions`
3098
3250
 
3099
3251
  </dd>
@@ -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 ListDeploymentReleaseTagsRequestSource: core.serialization.Schema<serializers.ListDeploymentReleaseTagsRequestSource.Raw, Vellum.ListDeploymentReleaseTagsRequestSource>;
8
+ export declare namespace ListDeploymentReleaseTagsRequestSource {
9
+ type Raw = "SYSTEM" | "USER";
10
+ }
@@ -0,0 +1,31 @@
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.ListDeploymentReleaseTagsRequestSource = void 0;
30
+ const core = __importStar(require("../../../../core"));
31
+ exports.ListDeploymentReleaseTagsRequestSource = core.serialization.enum_(["SYSTEM", "USER"]);
@@ -1 +1,2 @@
1
1
  export * from "./DeploymentsListRequestStatus";
2
+ export * from "./ListDeploymentReleaseTagsRequestSource";
@@ -15,3 +15,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./DeploymentsListRequestStatus"), exports);
18
+ __exportStar(require("./ListDeploymentReleaseTagsRequestSource"), exports);
@@ -6,6 +6,8 @@ export * as folderEntities from "./folderEntities";
6
6
  export * from "./folderEntities/types";
7
7
  export * as workflowDeployments from "./workflowDeployments";
8
8
  export * from "./workflowDeployments/types";
9
+ export * as workflows from "./workflows";
10
+ export * from "./workflows/types";
9
11
  export * as testSuites from "./testSuites";
10
12
  export * as adHoc from "./adHoc";
11
13
  export * from "./adHoc/client/requests";
@@ -25,7 +27,6 @@ export * from "./testSuiteRuns/client/requests";
25
27
  export * from "./workflowDeployments/client/requests";
26
28
  export * as workflowSandboxes from "./workflowSandboxes";
27
29
  export * from "./workflowSandboxes/client/requests";
28
- export * as workflows from "./workflows";
29
30
  export * from "./workflows/client/requests";
30
31
  export * as workspaceSecrets from "./workspaceSecrets";
31
32
  export * from "./workspaceSecrets/client/requests";
@@ -26,7 +26,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
26
26
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.workspaceSecrets = exports.workflows = exports.workflowSandboxes = exports.testSuiteRuns = exports.sandboxes = exports.metricDefinitions = exports.documents = exports.containerImages = exports.adHoc = exports.testSuites = exports.workflowDeployments = exports.folderEntities = exports.documentIndexes = exports.deployments = void 0;
29
+ exports.workspaceSecrets = exports.workflowSandboxes = exports.testSuiteRuns = exports.sandboxes = exports.metricDefinitions = exports.documents = exports.containerImages = exports.adHoc = exports.testSuites = exports.workflows = exports.workflowDeployments = exports.folderEntities = exports.documentIndexes = exports.deployments = void 0;
30
30
  exports.deployments = __importStar(require("./deployments"));
31
31
  __exportStar(require("./deployments/types"), exports);
32
32
  exports.documentIndexes = __importStar(require("./documentIndexes"));
@@ -35,6 +35,8 @@ exports.folderEntities = __importStar(require("./folderEntities"));
35
35
  __exportStar(require("./folderEntities/types"), exports);
36
36
  exports.workflowDeployments = __importStar(require("./workflowDeployments"));
37
37
  __exportStar(require("./workflowDeployments/types"), exports);
38
+ exports.workflows = __importStar(require("./workflows"));
39
+ __exportStar(require("./workflows/types"), exports);
38
40
  exports.testSuites = __importStar(require("./testSuites"));
39
41
  exports.adHoc = __importStar(require("./adHoc"));
40
42
  __exportStar(require("./adHoc/client/requests"), exports);
@@ -54,7 +56,6 @@ __exportStar(require("./testSuiteRuns/client/requests"), exports);
54
56
  __exportStar(require("./workflowDeployments/client/requests"), exports);
55
57
  exports.workflowSandboxes = __importStar(require("./workflowSandboxes"));
56
58
  __exportStar(require("./workflowSandboxes/client/requests"), exports);
57
- exports.workflows = __importStar(require("./workflows"));
58
59
  __exportStar(require("./workflows/client/requests"), exports);
59
60
  exports.workspaceSecrets = __importStar(require("./workspaceSecrets"));
60
61
  __exportStar(require("./workspaceSecrets/client/requests"), exports);
@@ -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 ListWorkflowReleaseTagsRequestSource: core.serialization.Schema<serializers.ListWorkflowReleaseTagsRequestSource.Raw, Vellum.ListWorkflowReleaseTagsRequestSource>;
8
+ export declare namespace ListWorkflowReleaseTagsRequestSource {
9
+ type Raw = "SYSTEM" | "USER";
10
+ }
@@ -0,0 +1,31 @@
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.ListWorkflowReleaseTagsRequestSource = void 0;
30
+ const core = __importStar(require("../../../../core"));
31
+ exports.ListWorkflowReleaseTagsRequestSource = core.serialization.enum_(["SYSTEM", "USER"]);
@@ -1 +1,2 @@
1
1
  export * from "./WorkflowDeploymentsListRequestStatus";
2
+ export * from "./ListWorkflowReleaseTagsRequestSource";
@@ -15,3 +15,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./WorkflowDeploymentsListRequestStatus"), exports);
18
+ __exportStar(require("./ListWorkflowReleaseTagsRequestSource"), exports);
@@ -1 +1,2 @@
1
+ export * from "./types";
1
2
  export * from "./client";
@@ -14,4 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./types"), exports);
17
18
  __exportStar(require("./client"), exports);
@@ -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 WorkflowsPullRequestFormat: core.serialization.Schema<serializers.WorkflowsPullRequestFormat.Raw, Vellum.WorkflowsPullRequestFormat>;
8
+ export declare namespace WorkflowsPullRequestFormat {
9
+ type Raw = "json" | "zip";
10
+ }
@@ -0,0 +1,31 @@
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.WorkflowsPullRequestFormat = void 0;
30
+ const core = __importStar(require("../../../../core"));
31
+ exports.WorkflowsPullRequestFormat = core.serialization.enum_(["json", "zip"]);
@@ -0,0 +1 @@
1
+ export * from "./WorkflowsPullRequestFormat";