vellum-ai 0.14.25 → 0.14.27

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 (128) hide show
  1. package/Client.d.ts +3 -0
  2. package/Client.js +32 -27
  3. package/api/resources/adHoc/client/Client.js +1 -1
  4. package/api/resources/containerImages/client/Client.js +4 -4
  5. package/api/resources/deployments/client/Client.js +7 -7
  6. package/api/resources/documentIndexes/client/Client.js +8 -8
  7. package/api/resources/documents/client/Client.js +5 -5
  8. package/api/resources/folderEntities/client/Client.js +2 -2
  9. package/api/resources/index.d.ts +3 -2
  10. package/api/resources/index.js +4 -3
  11. package/api/resources/metricDefinitions/client/Client.js +2 -2
  12. package/api/resources/mlModels/client/Client.js +1 -1
  13. package/api/resources/organizations/client/Client.js +1 -1
  14. package/api/resources/prompts/client/Client.d.ts +45 -0
  15. package/api/resources/prompts/client/Client.js +138 -0
  16. package/api/resources/prompts/client/index.d.ts +1 -0
  17. package/{dist/serialization/resources/workflows/types → api/resources/prompts/client}/index.js +1 -1
  18. package/api/resources/prompts/client/requests/PromptsPullRequest.d.ts +13 -0
  19. package/api/resources/prompts/client/requests/index.d.ts +1 -0
  20. package/api/resources/prompts/client/requests/index.js +2 -0
  21. package/api/resources/prompts/index.d.ts +1 -0
  22. package/{serialization/resources/workflows → api/resources/prompts}/index.js +1 -1
  23. package/api/resources/sandboxes/client/Client.js +3 -3
  24. package/api/resources/testSuiteRuns/client/Client.js +3 -3
  25. package/api/resources/testSuites/client/Client.js +4 -4
  26. package/api/resources/workflowDeployments/client/Client.js +8 -8
  27. package/api/resources/workflowSandboxes/client/Client.js +2 -2
  28. package/api/resources/workflows/client/Client.js +4 -9
  29. package/api/resources/workflows/client/requests/WorkflowsPullRequest.d.ts +0 -2
  30. package/api/resources/workflows/index.d.ts +0 -1
  31. package/api/resources/workflows/index.js +0 -1
  32. package/api/resources/workspaceSecrets/client/Client.js +2 -2
  33. package/api/resources/workspaces/client/Client.js +1 -1
  34. package/api/types/DeploymentReleaseTagRead.d.ts +3 -1
  35. package/api/types/PromptExecConfig.d.ts +12 -0
  36. package/{dist/api/types/Release.d.ts → api/types/ReleaseTagRelease.d.ts} +1 -1
  37. package/{dist/api/resources/workflows/types/WorkflowsPullRequestFormat.js → api/types/ReleaseTagRelease.js} +0 -5
  38. package/api/types/WorkflowReleaseTagRead.d.ts +1 -1
  39. package/api/types/WorkflowReleaseTagWorkflowDeploymentHistoryItem.d.ts +0 -2
  40. package/api/types/index.d.ts +2 -1
  41. package/api/types/index.js +2 -1
  42. package/dist/Client.d.ts +3 -0
  43. package/dist/Client.js +32 -27
  44. package/dist/api/resources/adHoc/client/Client.js +1 -1
  45. package/dist/api/resources/containerImages/client/Client.js +4 -4
  46. package/dist/api/resources/deployments/client/Client.js +7 -7
  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/index.d.ts +3 -2
  51. package/dist/api/resources/index.js +4 -3
  52. package/dist/api/resources/metricDefinitions/client/Client.js +2 -2
  53. package/dist/api/resources/mlModels/client/Client.js +1 -1
  54. package/dist/api/resources/organizations/client/Client.js +1 -1
  55. package/dist/api/resources/prompts/client/Client.d.ts +45 -0
  56. package/dist/api/resources/prompts/client/Client.js +138 -0
  57. package/dist/api/resources/prompts/client/index.d.ts +1 -0
  58. package/{api/resources/workflows/types → dist/api/resources/prompts/client}/index.js +1 -1
  59. package/dist/api/resources/prompts/client/requests/PromptsPullRequest.d.ts +13 -0
  60. package/{api/resources/workflows/types/WorkflowsPullRequestFormat.js → dist/api/resources/prompts/client/requests/PromptsPullRequest.js} +0 -5
  61. package/dist/api/resources/prompts/client/requests/index.d.ts +1 -0
  62. package/dist/api/resources/prompts/client/requests/index.js +2 -0
  63. package/dist/api/resources/prompts/index.d.ts +1 -0
  64. package/dist/{serialization/resources/workflows → api/resources/prompts}/index.js +1 -1
  65. package/dist/api/resources/sandboxes/client/Client.js +3 -3
  66. package/dist/api/resources/testSuiteRuns/client/Client.js +3 -3
  67. package/dist/api/resources/testSuites/client/Client.js +4 -4
  68. package/dist/api/resources/workflowDeployments/client/Client.js +8 -8
  69. package/dist/api/resources/workflowSandboxes/client/Client.js +2 -2
  70. package/dist/api/resources/workflows/client/Client.js +4 -9
  71. package/dist/api/resources/workflows/client/requests/WorkflowsPullRequest.d.ts +0 -2
  72. package/dist/api/resources/workflows/index.d.ts +0 -1
  73. package/dist/api/resources/workflows/index.js +0 -1
  74. package/dist/api/resources/workspaceSecrets/client/Client.js +2 -2
  75. package/dist/api/resources/workspaces/client/Client.js +1 -1
  76. package/dist/api/types/DeploymentReleaseTagRead.d.ts +3 -1
  77. package/dist/api/types/PromptExecConfig.d.ts +12 -0
  78. package/dist/api/types/PromptExecConfig.js +5 -0
  79. package/{api/types/Release.d.ts → dist/api/types/ReleaseTagRelease.d.ts} +1 -1
  80. package/dist/api/types/ReleaseTagRelease.js +5 -0
  81. package/dist/api/types/WorkflowReleaseTagRead.d.ts +1 -1
  82. package/dist/api/types/WorkflowReleaseTagWorkflowDeploymentHistoryItem.d.ts +0 -2
  83. package/dist/api/types/index.d.ts +2 -1
  84. package/dist/api/types/index.js +2 -1
  85. package/dist/serialization/resources/index.d.ts +0 -2
  86. package/dist/serialization/resources/index.js +1 -3
  87. package/dist/serialization/types/DeploymentReleaseTagRead.d.ts +2 -0
  88. package/dist/serialization/types/DeploymentReleaseTagRead.js +2 -0
  89. package/dist/serialization/types/PromptExecConfig.d.ts +21 -0
  90. package/dist/serialization/{resources/workflows/types/WorkflowsPullRequestFormat.js → types/PromptExecConfig.js} +15 -3
  91. package/dist/serialization/types/{Release.d.ts → ReleaseTagRelease.d.ts} +2 -2
  92. package/dist/serialization/types/{Release.js → ReleaseTagRelease.js} +2 -2
  93. package/dist/serialization/types/WorkflowReleaseTagRead.d.ts +2 -2
  94. package/dist/serialization/types/WorkflowReleaseTagRead.js +2 -2
  95. package/dist/serialization/types/index.d.ts +2 -1
  96. package/dist/serialization/types/index.js +2 -1
  97. package/dist/version.d.ts +1 -1
  98. package/dist/version.js +1 -1
  99. package/package.json +1 -1
  100. package/reference.md +73 -0
  101. package/serialization/resources/index.d.ts +0 -2
  102. package/serialization/resources/index.js +1 -3
  103. package/serialization/types/DeploymentReleaseTagRead.d.ts +2 -0
  104. package/serialization/types/DeploymentReleaseTagRead.js +2 -0
  105. package/serialization/types/PromptExecConfig.d.ts +21 -0
  106. package/serialization/{resources/workflows/types/WorkflowsPullRequestFormat.js → types/PromptExecConfig.js} +15 -3
  107. package/serialization/types/{Release.d.ts → ReleaseTagRelease.d.ts} +2 -2
  108. package/serialization/types/{Release.js → ReleaseTagRelease.js} +2 -2
  109. package/serialization/types/WorkflowReleaseTagRead.d.ts +2 -2
  110. package/serialization/types/WorkflowReleaseTagRead.js +2 -2
  111. package/serialization/types/index.d.ts +2 -1
  112. package/serialization/types/index.js +2 -1
  113. package/version.d.ts +1 -1
  114. package/version.js +1 -1
  115. package/api/resources/workflows/types/WorkflowsPullRequestFormat.d.ts +0 -8
  116. package/api/resources/workflows/types/index.d.ts +0 -1
  117. package/dist/api/resources/workflows/types/WorkflowsPullRequestFormat.d.ts +0 -8
  118. package/dist/api/resources/workflows/types/index.d.ts +0 -1
  119. package/dist/api/resources/workflows/types/index.js +0 -17
  120. package/dist/serialization/resources/workflows/index.d.ts +0 -1
  121. package/dist/serialization/resources/workflows/types/WorkflowsPullRequestFormat.d.ts +0 -10
  122. package/dist/serialization/resources/workflows/types/index.d.ts +0 -1
  123. package/serialization/resources/workflows/index.d.ts +0 -1
  124. package/serialization/resources/workflows/types/WorkflowsPullRequestFormat.d.ts +0 -10
  125. package/serialization/resources/workflows/types/index.d.ts +0 -1
  126. package/serialization/resources/workflows/types/index.js +0 -17
  127. /package/api/{types/Release.js → resources/prompts/client/requests/PromptsPullRequest.js} +0 -0
  128. /package/{dist/api/types/Release.js → api/types/PromptExecConfig.js} +0 -0
@@ -36,9 +36,9 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  };
37
37
  })();
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.Release = void 0;
39
+ exports.ReleaseTagRelease = void 0;
40
40
  const core = __importStar(require("../../core"));
41
- exports.Release = core.serialization.object({
41
+ exports.ReleaseTagRelease = core.serialization.object({
42
42
  id: core.serialization.string(),
43
43
  timestamp: core.serialization.date(),
44
44
  });
@@ -6,13 +6,13 @@ import * as Vellum from "../../api/index";
6
6
  import * as core from "../../core";
7
7
  import { ReleaseTagSource } from "./ReleaseTagSource";
8
8
  import { WorkflowReleaseTagWorkflowDeploymentHistoryItem } from "./WorkflowReleaseTagWorkflowDeploymentHistoryItem";
9
- import { Release } from "./Release";
9
+ import { ReleaseTagRelease } from "./ReleaseTagRelease";
10
10
  export declare const WorkflowReleaseTagRead: core.serialization.ObjectSchema<serializers.WorkflowReleaseTagRead.Raw, Vellum.WorkflowReleaseTagRead>;
11
11
  export declare namespace WorkflowReleaseTagRead {
12
12
  interface Raw {
13
13
  name: string;
14
14
  source: ReleaseTagSource.Raw;
15
15
  history_item: WorkflowReleaseTagWorkflowDeploymentHistoryItem.Raw;
16
- release: Release.Raw;
16
+ release: ReleaseTagRelease.Raw;
17
17
  }
18
18
  }
@@ -40,10 +40,10 @@ exports.WorkflowReleaseTagRead = void 0;
40
40
  const core = __importStar(require("../../core"));
41
41
  const ReleaseTagSource_1 = require("./ReleaseTagSource");
42
42
  const WorkflowReleaseTagWorkflowDeploymentHistoryItem_1 = require("./WorkflowReleaseTagWorkflowDeploymentHistoryItem");
43
- const Release_1 = require("./Release");
43
+ const ReleaseTagRelease_1 = require("./ReleaseTagRelease");
44
44
  exports.WorkflowReleaseTagRead = core.serialization.object({
45
45
  name: core.serialization.string(),
46
46
  source: ReleaseTagSource_1.ReleaseTagSource,
47
47
  historyItem: core.serialization.property("history_item", WorkflowReleaseTagWorkflowDeploymentHistoryItem_1.WorkflowReleaseTagWorkflowDeploymentHistoryItem),
48
- release: Release_1.Release,
48
+ release: ReleaseTagRelease_1.ReleaseTagRelease,
49
49
  });
@@ -292,6 +292,7 @@ export * from "./PromptBlockState";
292
292
  export * from "./PromptDeploymentExpandMetaRequest";
293
293
  export * from "./PromptDeploymentInputRequest";
294
294
  export * from "./PromptDeploymentParentContext";
295
+ export * from "./PromptExecConfig";
295
296
  export * from "./PromptExecutionMeta";
296
297
  export * from "./PromptNodeExecutionMeta";
297
298
  export * from "./PromptNodeResult";
@@ -314,7 +315,7 @@ export * from "./RejectedExecutePromptResponse";
314
315
  export * from "./RejectedExecuteWorkflowWorkflowResultEvent";
315
316
  export * from "./RejectedPromptExecutionMeta";
316
317
  export * from "./RejectedWorkflowNodeResultEvent";
317
- export * from "./Release";
318
+ export * from "./ReleaseTagRelease";
318
319
  export * from "./ReleaseTagSource";
319
320
  export * from "./ReplaceTestSuiteTestCaseRequest";
320
321
  export * from "./RichTextChildBlock";
@@ -308,6 +308,7 @@ __exportStar(require("./PromptBlockState"), exports);
308
308
  __exportStar(require("./PromptDeploymentExpandMetaRequest"), exports);
309
309
  __exportStar(require("./PromptDeploymentInputRequest"), exports);
310
310
  __exportStar(require("./PromptDeploymentParentContext"), exports);
311
+ __exportStar(require("./PromptExecConfig"), exports);
311
312
  __exportStar(require("./PromptExecutionMeta"), exports);
312
313
  __exportStar(require("./PromptNodeExecutionMeta"), exports);
313
314
  __exportStar(require("./PromptNodeResult"), exports);
@@ -330,7 +331,7 @@ __exportStar(require("./RejectedExecutePromptResponse"), exports);
330
331
  __exportStar(require("./RejectedExecuteWorkflowWorkflowResultEvent"), exports);
331
332
  __exportStar(require("./RejectedPromptExecutionMeta"), exports);
332
333
  __exportStar(require("./RejectedWorkflowNodeResultEvent"), exports);
333
- __exportStar(require("./Release"), exports);
334
+ __exportStar(require("./ReleaseTagRelease"), exports);
334
335
  __exportStar(require("./ReleaseTagSource"), exports);
335
336
  __exportStar(require("./ReplaceTestSuiteTestCaseRequest"), exports);
336
337
  __exportStar(require("./RichTextChildBlock"), exports);
package/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.14.25";
1
+ export declare const SDK_VERSION = "0.14.27";
package/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "0.14.25";
4
+ exports.SDK_VERSION = "0.14.27";
@@ -1,8 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- export type WorkflowsPullRequestFormat = "json" | "zip";
5
- export declare const WorkflowsPullRequestFormat: {
6
- readonly Json: "json";
7
- readonly Zip: "zip";
8
- };
@@ -1 +0,0 @@
1
- export * from "./WorkflowsPullRequestFormat";
@@ -1,8 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- export type WorkflowsPullRequestFormat = "json" | "zip";
5
- export declare const WorkflowsPullRequestFormat: {
6
- readonly Json: "json";
7
- readonly Zip: "zip";
8
- };
@@ -1 +0,0 @@
1
- export * from "./WorkflowsPullRequestFormat";
@@ -1,17 +0,0 @@
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);
@@ -1 +0,0 @@
1
- export * from "./types";
@@ -1,10 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "../../../index";
5
- import * as Vellum from "../../../../api/index";
6
- import * as core from "../../../../core";
7
- export declare const WorkflowsPullRequestFormat: core.serialization.Schema<serializers.WorkflowsPullRequestFormat.Raw, Vellum.WorkflowsPullRequestFormat>;
8
- export declare namespace WorkflowsPullRequestFormat {
9
- type Raw = "json" | "zip";
10
- }
@@ -1 +0,0 @@
1
- export * from "./WorkflowsPullRequestFormat";
@@ -1 +0,0 @@
1
- export * from "./types";
@@ -1,10 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "../../../index";
5
- import * as Vellum from "../../../../api/index";
6
- import * as core from "../../../../core";
7
- export declare const WorkflowsPullRequestFormat: core.serialization.Schema<serializers.WorkflowsPullRequestFormat.Raw, Vellum.WorkflowsPullRequestFormat>;
8
- export declare namespace WorkflowsPullRequestFormat {
9
- type Raw = "json" | "zip";
10
- }
@@ -1 +0,0 @@
1
- export * from "./WorkflowsPullRequestFormat";
@@ -1,17 +0,0 @@
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);