vellum-ai 0.14.54 → 0.14.55

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (94) hide show
  1. package/Client.d.ts +3 -3
  2. package/Client.js +38 -38
  3. package/api/resources/adHoc/client/Client.js +2 -2
  4. package/api/resources/containerImages/client/Client.js +4 -4
  5. package/api/resources/deployments/client/Client.d.ts +14 -1
  6. package/api/resources/deployments/client/Client.js +71 -8
  7. package/api/resources/documentIndexes/client/Client.js +8 -8
  8. package/api/resources/documents/client/Client.js +5 -5
  9. package/api/resources/folderEntities/client/Client.js +2 -2
  10. package/api/resources/index.d.ts +1 -1
  11. package/api/resources/index.js +2 -2
  12. package/api/resources/metricDefinitions/client/Client.js +2 -2
  13. package/api/resources/mlModels/client/Client.js +1 -1
  14. package/api/resources/organizations/client/Client.js +1 -1
  15. package/api/resources/prompts/client/Client.js +2 -2
  16. package/api/resources/releaseReviews/client/Client.d.ts +0 -12
  17. package/api/resources/releaseReviews/client/Client.js +1 -63
  18. package/api/resources/sandboxes/client/Client.js +3 -3
  19. package/api/resources/testSuiteRuns/client/Client.js +3 -3
  20. package/api/resources/testSuites/client/Client.js +4 -4
  21. package/api/resources/workflowDeployments/client/Client.d.ts +2 -1
  22. package/api/resources/workflowDeployments/client/Client.js +10 -9
  23. package/api/resources/workflowSandboxes/client/Client.js +2 -2
  24. package/api/resources/workflows/client/Client.js +2 -2
  25. package/api/resources/workspaceSecrets/client/Client.js +2 -2
  26. package/api/resources/workspaces/client/Client.js +1 -1
  27. package/api/types/ComponentsSchemasPromptVersionBuildConfigSandbox.d.ts +5 -0
  28. package/api/types/ComponentsSchemasPromptVersionBuildConfigSandbox.js +5 -0
  29. package/api/types/ExecuteApiRequestBody.d.ts +1 -1
  30. package/api/types/PromptDeploymentReleasePromptVersion.d.ts +3 -0
  31. package/api/types/PromptVersionBuildConfigSandbox.d.ts +9 -0
  32. package/api/types/PromptVersionBuildConfigSandbox.js +5 -0
  33. package/api/types/index.d.ts +2 -0
  34. package/api/types/index.js +2 -0
  35. package/dist/Client.d.ts +3 -3
  36. package/dist/Client.js +38 -38
  37. package/dist/api/resources/adHoc/client/Client.js +2 -2
  38. package/dist/api/resources/containerImages/client/Client.js +4 -4
  39. package/dist/api/resources/deployments/client/Client.d.ts +14 -1
  40. package/dist/api/resources/deployments/client/Client.js +71 -8
  41. package/dist/api/resources/documentIndexes/client/Client.js +8 -8
  42. package/dist/api/resources/documents/client/Client.js +5 -5
  43. package/dist/api/resources/folderEntities/client/Client.js +2 -2
  44. package/dist/api/resources/index.d.ts +1 -1
  45. package/dist/api/resources/index.js +2 -2
  46. package/dist/api/resources/metricDefinitions/client/Client.js +2 -2
  47. package/dist/api/resources/mlModels/client/Client.js +1 -1
  48. package/dist/api/resources/organizations/client/Client.js +1 -1
  49. package/dist/api/resources/prompts/client/Client.js +2 -2
  50. package/dist/api/resources/releaseReviews/client/Client.d.ts +0 -12
  51. package/dist/api/resources/releaseReviews/client/Client.js +1 -63
  52. package/dist/api/resources/sandboxes/client/Client.js +3 -3
  53. package/dist/api/resources/testSuiteRuns/client/Client.js +3 -3
  54. package/dist/api/resources/testSuites/client/Client.js +4 -4
  55. package/dist/api/resources/workflowDeployments/client/Client.d.ts +2 -1
  56. package/dist/api/resources/workflowDeployments/client/Client.js +10 -9
  57. package/dist/api/resources/workflowSandboxes/client/Client.js +2 -2
  58. package/dist/api/resources/workflows/client/Client.js +2 -2
  59. package/dist/api/resources/workspaceSecrets/client/Client.js +2 -2
  60. package/dist/api/resources/workspaces/client/Client.js +1 -1
  61. package/dist/api/types/ComponentsSchemasPromptVersionBuildConfigSandbox.d.ts +5 -0
  62. package/dist/api/types/ComponentsSchemasPromptVersionBuildConfigSandbox.js +5 -0
  63. package/dist/api/types/ExecuteApiRequestBody.d.ts +1 -1
  64. package/dist/api/types/PromptDeploymentReleasePromptVersion.d.ts +3 -0
  65. package/dist/api/types/PromptVersionBuildConfigSandbox.d.ts +9 -0
  66. package/dist/api/types/PromptVersionBuildConfigSandbox.js +5 -0
  67. package/dist/api/types/index.d.ts +2 -0
  68. package/dist/api/types/index.js +2 -0
  69. package/dist/serialization/types/ComponentsSchemasPromptVersionBuildConfigSandbox.d.ts +11 -0
  70. package/dist/serialization/types/ComponentsSchemasPromptVersionBuildConfigSandbox.js +8 -0
  71. package/dist/serialization/types/ExecuteApiRequestBody.d.ts +1 -1
  72. package/dist/serialization/types/ExecuteApiRequestBody.js +1 -0
  73. package/dist/serialization/types/PromptDeploymentReleasePromptVersion.d.ts +2 -0
  74. package/dist/serialization/types/PromptDeploymentReleasePromptVersion.js +2 -0
  75. package/dist/serialization/types/PromptVersionBuildConfigSandbox.d.ts +15 -0
  76. package/dist/serialization/types/PromptVersionBuildConfigSandbox.js +46 -0
  77. package/dist/serialization/types/index.d.ts +2 -0
  78. package/dist/serialization/types/index.js +2 -0
  79. package/dist/version.d.ts +1 -1
  80. package/dist/version.js +1 -1
  81. package/package.json +1 -1
  82. package/reference.md +102 -100
  83. package/serialization/types/ComponentsSchemasPromptVersionBuildConfigSandbox.d.ts +11 -0
  84. package/serialization/types/ComponentsSchemasPromptVersionBuildConfigSandbox.js +8 -0
  85. package/serialization/types/ExecuteApiRequestBody.d.ts +1 -1
  86. package/serialization/types/ExecuteApiRequestBody.js +1 -0
  87. package/serialization/types/PromptDeploymentReleasePromptVersion.d.ts +2 -0
  88. package/serialization/types/PromptDeploymentReleasePromptVersion.js +2 -0
  89. package/serialization/types/PromptVersionBuildConfigSandbox.d.ts +15 -0
  90. package/serialization/types/PromptVersionBuildConfigSandbox.js +46 -0
  91. package/serialization/types/index.d.ts +2 -0
  92. package/serialization/types/index.js +2 -0
  93. package/version.d.ts +1 -1
  94. package/version.js +1 -1
@@ -0,0 +1,5 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vellum from "../index";
5
+ export type ComponentsSchemasPromptVersionBuildConfigSandbox = Vellum.PromptVersionBuildConfigSandbox;
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,4 +1,4 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- export type ExecuteApiRequestBody = string | Record<string, unknown>;
4
+ export type ExecuteApiRequestBody = string | unknown[] | Record<string, unknown>;
@@ -1,6 +1,9 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
+ import * as Vellum from "../index";
4
5
  export interface PromptDeploymentReleasePromptVersion {
5
6
  id: string;
7
+ /** Configuration used to build this prompt version. */
8
+ buildConfig: Vellum.ComponentsSchemasPromptVersionBuildConfigSandbox;
6
9
  }
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface PromptVersionBuildConfigSandbox {
5
+ source: "SANDBOX";
6
+ sandboxId: string;
7
+ sandboxSnapshotId: string;
8
+ promptId: string;
9
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -308,6 +308,8 @@ export * from "./PromptRequestInput";
308
308
  export * from "./PromptRequestJsonInput";
309
309
  export * from "./PromptRequestStringInput";
310
310
  export * from "./PromptSettings";
311
+ export * from "./ComponentsSchemasPromptVersionBuildConfigSandbox";
312
+ export * from "./PromptVersionBuildConfigSandbox";
311
313
  export * from "./RawPromptExecutionOverridesRequest";
312
314
  export * from "./ReductoChunkerConfig";
313
315
  export * from "./ReductoChunkerConfigRequest";
@@ -324,6 +324,8 @@ __exportStar(require("./PromptRequestInput"), exports);
324
324
  __exportStar(require("./PromptRequestJsonInput"), exports);
325
325
  __exportStar(require("./PromptRequestStringInput"), exports);
326
326
  __exportStar(require("./PromptSettings"), exports);
327
+ __exportStar(require("./ComponentsSchemasPromptVersionBuildConfigSandbox"), exports);
328
+ __exportStar(require("./PromptVersionBuildConfigSandbox"), exports);
327
329
  __exportStar(require("./RawPromptExecutionOverridesRequest"), exports);
328
330
  __exportStar(require("./ReductoChunkerConfig"), exports);
329
331
  __exportStar(require("./ReductoChunkerConfigRequest"), exports);
package/dist/Client.d.ts CHANGED
@@ -7,7 +7,6 @@ import * as Vellum from "./api/index";
7
7
  import { AdHoc } from "./api/resources/adHoc/client/Client";
8
8
  import { ContainerImages } from "./api/resources/containerImages/client/Client";
9
9
  import { Deployments } from "./api/resources/deployments/client/Client";
10
- import { ReleaseReviews } from "./api/resources/releaseReviews/client/Client";
11
10
  import { DocumentIndexes } from "./api/resources/documentIndexes/client/Client";
12
11
  import { Documents } from "./api/resources/documents/client/Client";
13
12
  import { FolderEntities } from "./api/resources/folderEntities/client/Client";
@@ -19,6 +18,7 @@ import { Sandboxes } from "./api/resources/sandboxes/client/Client";
19
18
  import { TestSuiteRuns } from "./api/resources/testSuiteRuns/client/Client";
20
19
  import { TestSuites } from "./api/resources/testSuites/client/Client";
21
20
  import { WorkflowDeployments } from "./api/resources/workflowDeployments/client/Client";
21
+ import { ReleaseReviews } from "./api/resources/releaseReviews/client/Client";
22
22
  import { WorkflowSandboxes } from "./api/resources/workflowSandboxes/client/Client";
23
23
  import { Workflows } from "./api/resources/workflows/client/Client";
24
24
  import { WorkspaceSecrets } from "./api/resources/workspaceSecrets/client/Client";
@@ -46,7 +46,6 @@ export declare class VellumClient {
46
46
  protected _adHoc: AdHoc | undefined;
47
47
  protected _containerImages: ContainerImages | undefined;
48
48
  protected _deployments: Deployments | undefined;
49
- protected _releaseReviews: ReleaseReviews | undefined;
50
49
  protected _documentIndexes: DocumentIndexes | undefined;
51
50
  protected _documents: Documents | undefined;
52
51
  protected _folderEntities: FolderEntities | undefined;
@@ -58,6 +57,7 @@ export declare class VellumClient {
58
57
  protected _testSuiteRuns: TestSuiteRuns | undefined;
59
58
  protected _testSuites: TestSuites | undefined;
60
59
  protected _workflowDeployments: WorkflowDeployments | undefined;
60
+ protected _releaseReviews: ReleaseReviews | undefined;
61
61
  protected _workflowSandboxes: WorkflowSandboxes | undefined;
62
62
  protected _workflows: Workflows | undefined;
63
63
  protected _workspaceSecrets: WorkspaceSecrets | undefined;
@@ -66,7 +66,6 @@ export declare class VellumClient {
66
66
  get adHoc(): AdHoc;
67
67
  get containerImages(): ContainerImages;
68
68
  get deployments(): Deployments;
69
- get releaseReviews(): ReleaseReviews;
70
69
  get documentIndexes(): DocumentIndexes;
71
70
  get documents(): Documents;
72
71
  get folderEntities(): FolderEntities;
@@ -78,6 +77,7 @@ export declare class VellumClient {
78
77
  get testSuiteRuns(): TestSuiteRuns;
79
78
  get testSuites(): TestSuites;
80
79
  get workflowDeployments(): WorkflowDeployments;
80
+ get releaseReviews(): ReleaseReviews;
81
81
  get workflowSandboxes(): WorkflowSandboxes;
82
82
  get workflows(): Workflows;
83
83
  get workspaceSecrets(): WorkspaceSecrets;
package/dist/Client.js CHANGED
@@ -58,18 +58,18 @@ const errors = __importStar(require("./errors/index"));
58
58
  const Client_1 = require("./api/resources/adHoc/client/Client");
59
59
  const Client_2 = require("./api/resources/containerImages/client/Client");
60
60
  const Client_3 = require("./api/resources/deployments/client/Client");
61
- const Client_4 = require("./api/resources/releaseReviews/client/Client");
62
- const Client_5 = require("./api/resources/documentIndexes/client/Client");
63
- const Client_6 = require("./api/resources/documents/client/Client");
64
- const Client_7 = require("./api/resources/folderEntities/client/Client");
65
- const Client_8 = require("./api/resources/metricDefinitions/client/Client");
66
- const Client_9 = require("./api/resources/mlModels/client/Client");
67
- const Client_10 = require("./api/resources/organizations/client/Client");
68
- const Client_11 = require("./api/resources/prompts/client/Client");
69
- const Client_12 = require("./api/resources/sandboxes/client/Client");
70
- const Client_13 = require("./api/resources/testSuiteRuns/client/Client");
71
- const Client_14 = require("./api/resources/testSuites/client/Client");
72
- const Client_15 = require("./api/resources/workflowDeployments/client/Client");
61
+ const Client_4 = require("./api/resources/documentIndexes/client/Client");
62
+ const Client_5 = require("./api/resources/documents/client/Client");
63
+ const Client_6 = require("./api/resources/folderEntities/client/Client");
64
+ const Client_7 = require("./api/resources/metricDefinitions/client/Client");
65
+ const Client_8 = require("./api/resources/mlModels/client/Client");
66
+ const Client_9 = require("./api/resources/organizations/client/Client");
67
+ const Client_10 = require("./api/resources/prompts/client/Client");
68
+ const Client_11 = require("./api/resources/sandboxes/client/Client");
69
+ const Client_12 = require("./api/resources/testSuiteRuns/client/Client");
70
+ const Client_13 = require("./api/resources/testSuites/client/Client");
71
+ const Client_14 = require("./api/resources/workflowDeployments/client/Client");
72
+ const Client_15 = require("./api/resources/releaseReviews/client/Client");
73
73
  const Client_16 = require("./api/resources/workflowSandboxes/client/Client");
74
74
  const Client_17 = require("./api/resources/workflows/client/Client");
75
75
  const Client_18 = require("./api/resources/workspaceSecrets/client/Client");
@@ -90,53 +90,53 @@ class VellumClient {
90
90
  var _a;
91
91
  return ((_a = this._deployments) !== null && _a !== void 0 ? _a : (this._deployments = new Client_3.Deployments(this._options)));
92
92
  }
93
- get releaseReviews() {
94
- var _a;
95
- return ((_a = this._releaseReviews) !== null && _a !== void 0 ? _a : (this._releaseReviews = new Client_4.ReleaseReviews(this._options)));
96
- }
97
93
  get documentIndexes() {
98
94
  var _a;
99
- return ((_a = this._documentIndexes) !== null && _a !== void 0 ? _a : (this._documentIndexes = new Client_5.DocumentIndexes(this._options)));
95
+ return ((_a = this._documentIndexes) !== null && _a !== void 0 ? _a : (this._documentIndexes = new Client_4.DocumentIndexes(this._options)));
100
96
  }
101
97
  get documents() {
102
98
  var _a;
103
- return ((_a = this._documents) !== null && _a !== void 0 ? _a : (this._documents = new Client_6.Documents(this._options)));
99
+ return ((_a = this._documents) !== null && _a !== void 0 ? _a : (this._documents = new Client_5.Documents(this._options)));
104
100
  }
105
101
  get folderEntities() {
106
102
  var _a;
107
- return ((_a = this._folderEntities) !== null && _a !== void 0 ? _a : (this._folderEntities = new Client_7.FolderEntities(this._options)));
103
+ return ((_a = this._folderEntities) !== null && _a !== void 0 ? _a : (this._folderEntities = new Client_6.FolderEntities(this._options)));
108
104
  }
109
105
  get metricDefinitions() {
110
106
  var _a;
111
- return ((_a = this._metricDefinitions) !== null && _a !== void 0 ? _a : (this._metricDefinitions = new Client_8.MetricDefinitions(this._options)));
107
+ return ((_a = this._metricDefinitions) !== null && _a !== void 0 ? _a : (this._metricDefinitions = new Client_7.MetricDefinitions(this._options)));
112
108
  }
113
109
  get mlModels() {
114
110
  var _a;
115
- return ((_a = this._mlModels) !== null && _a !== void 0 ? _a : (this._mlModels = new Client_9.MlModels(this._options)));
111
+ return ((_a = this._mlModels) !== null && _a !== void 0 ? _a : (this._mlModels = new Client_8.MlModels(this._options)));
116
112
  }
117
113
  get organizations() {
118
114
  var _a;
119
- return ((_a = this._organizations) !== null && _a !== void 0 ? _a : (this._organizations = new Client_10.Organizations(this._options)));
115
+ return ((_a = this._organizations) !== null && _a !== void 0 ? _a : (this._organizations = new Client_9.Organizations(this._options)));
120
116
  }
121
117
  get prompts() {
122
118
  var _a;
123
- return ((_a = this._prompts) !== null && _a !== void 0 ? _a : (this._prompts = new Client_11.Prompts(this._options)));
119
+ return ((_a = this._prompts) !== null && _a !== void 0 ? _a : (this._prompts = new Client_10.Prompts(this._options)));
124
120
  }
125
121
  get sandboxes() {
126
122
  var _a;
127
- return ((_a = this._sandboxes) !== null && _a !== void 0 ? _a : (this._sandboxes = new Client_12.Sandboxes(this._options)));
123
+ return ((_a = this._sandboxes) !== null && _a !== void 0 ? _a : (this._sandboxes = new Client_11.Sandboxes(this._options)));
128
124
  }
129
125
  get testSuiteRuns() {
130
126
  var _a;
131
- return ((_a = this._testSuiteRuns) !== null && _a !== void 0 ? _a : (this._testSuiteRuns = new Client_13.TestSuiteRuns(this._options)));
127
+ return ((_a = this._testSuiteRuns) !== null && _a !== void 0 ? _a : (this._testSuiteRuns = new Client_12.TestSuiteRuns(this._options)));
132
128
  }
133
129
  get testSuites() {
134
130
  var _a;
135
- return ((_a = this._testSuites) !== null && _a !== void 0 ? _a : (this._testSuites = new Client_14.TestSuites(this._options)));
131
+ return ((_a = this._testSuites) !== null && _a !== void 0 ? _a : (this._testSuites = new Client_13.TestSuites(this._options)));
136
132
  }
137
133
  get workflowDeployments() {
138
134
  var _a;
139
- return ((_a = this._workflowDeployments) !== null && _a !== void 0 ? _a : (this._workflowDeployments = new Client_15.WorkflowDeployments(this._options)));
135
+ return ((_a = this._workflowDeployments) !== null && _a !== void 0 ? _a : (this._workflowDeployments = new Client_14.WorkflowDeployments(this._options)));
136
+ }
137
+ get releaseReviews() {
138
+ var _a;
139
+ return ((_a = this._releaseReviews) !== null && _a !== void 0 ? _a : (this._releaseReviews = new Client_15.ReleaseReviews(this._options)));
140
140
  }
141
141
  get workflowSandboxes() {
142
142
  var _a;
@@ -173,7 +173,7 @@ class VellumClient {
173
173
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
174
174
  .default, "v1/execute-api"),
175
175
  method: "POST",
176
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.54", "User-Agent": "vellum-ai/0.14.54", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
176
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.55", "User-Agent": "vellum-ai/0.14.55", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
177
177
  contentType: "application/json",
178
178
  requestType: "json",
179
179
  body: serializers.ExecuteApiRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -248,7 +248,7 @@ class VellumClient {
248
248
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
249
249
  .predict, "v1/execute-code"),
250
250
  method: "POST",
251
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.54", "User-Agent": "vellum-ai/0.14.54", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
251
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.55", "User-Agent": "vellum-ai/0.14.55", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
252
252
  contentType: "application/json",
253
253
  requestType: "json",
254
254
  body: serializers.CodeExecutor.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -326,7 +326,7 @@ class VellumClient {
326
326
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
327
327
  .predict, "v1/execute-prompt"),
328
328
  method: "POST",
329
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.54", "User-Agent": "vellum-ai/0.14.54", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
329
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.55", "User-Agent": "vellum-ai/0.14.55", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
330
330
  contentType: "application/json",
331
331
  requestType: "json",
332
332
  body: serializers.ExecutePromptRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -393,7 +393,7 @@ class VellumClient {
393
393
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
394
394
  .predict, "v1/execute-prompt-stream"),
395
395
  method: "POST",
396
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.54", "User-Agent": "vellum-ai/0.14.54", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
396
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.55", "User-Agent": "vellum-ai/0.14.55", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
397
397
  contentType: "application/json",
398
398
  requestType: "json",
399
399
  body: serializers.ExecutePromptStreamRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -487,7 +487,7 @@ class VellumClient {
487
487
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
488
488
  .predict, "v1/execute-workflow"),
489
489
  method: "POST",
490
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.54", "User-Agent": "vellum-ai/0.14.54", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
490
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.55", "User-Agent": "vellum-ai/0.14.55", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
491
491
  contentType: "application/json",
492
492
  requestType: "json",
493
493
  body: serializers.ExecuteWorkflowRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -552,7 +552,7 @@ class VellumClient {
552
552
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
553
553
  .predict, "v1/execute-workflow-stream"),
554
554
  method: "POST",
555
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.54", "User-Agent": "vellum-ai/0.14.54", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
555
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.55", "User-Agent": "vellum-ai/0.14.55", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
556
556
  contentType: "application/json",
557
557
  requestType: "json",
558
558
  body: serializers.ExecuteWorkflowStreamRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -648,7 +648,7 @@ class VellumClient {
648
648
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
649
649
  .predict, "v1/generate"),
650
650
  method: "POST",
651
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.54", "User-Agent": "vellum-ai/0.14.54", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
651
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.55", "User-Agent": "vellum-ai/0.14.55", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
652
652
  contentType: "application/json",
653
653
  requestType: "json",
654
654
  body: serializers.GenerateBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -718,7 +718,7 @@ class VellumClient {
718
718
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
719
719
  .predict, "v1/generate-stream"),
720
720
  method: "POST",
721
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.54", "User-Agent": "vellum-ai/0.14.54", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
721
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.55", "User-Agent": "vellum-ai/0.14.55", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
722
722
  contentType: "application/json",
723
723
  requestType: "json",
724
724
  body: serializers.GenerateStreamBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -808,7 +808,7 @@ class VellumClient {
808
808
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
809
809
  .predict, "v1/search"),
810
810
  method: "POST",
811
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.54", "User-Agent": "vellum-ai/0.14.54", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
811
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.55", "User-Agent": "vellum-ai/0.14.55", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
812
812
  contentType: "application/json",
813
813
  requestType: "json",
814
814
  body: serializers.SearchRequestBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -885,7 +885,7 @@ class VellumClient {
885
885
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
886
886
  .predict, "v1/submit-completion-actuals"),
887
887
  method: "POST",
888
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.54", "User-Agent": "vellum-ai/0.14.54", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
888
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.55", "User-Agent": "vellum-ai/0.14.55", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
889
889
  contentType: "application/json",
890
890
  requestType: "json",
891
891
  body: serializers.SubmitCompletionActualsRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -954,7 +954,7 @@ class VellumClient {
954
954
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
955
955
  .predict, "v1/submit-workflow-execution-actuals"),
956
956
  method: "POST",
957
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.54", "User-Agent": "vellum-ai/0.14.54", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
957
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.55", "User-Agent": "vellum-ai/0.14.55", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
958
958
  contentType: "application/json",
959
959
  requestType: "json",
960
960
  body: serializers.SubmitWorkflowExecutionActualsRequest.jsonOrThrow(request, {
@@ -97,7 +97,7 @@ class AdHoc {
97
97
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
98
98
  .default, "v1/ad-hoc/execute-prompt"),
99
99
  method: "POST",
100
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.54", "User-Agent": "vellum-ai/0.14.54", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
100
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.55", "User-Agent": "vellum-ai/0.14.55", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
101
101
  contentType: "application/json",
102
102
  requestType: "json",
103
103
  body: serializers.AdHocExecutePrompt.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -159,7 +159,7 @@ class AdHoc {
159
159
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
160
160
  .predict, "v1/ad-hoc/execute-prompt-stream"),
161
161
  method: "POST",
162
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.54", "User-Agent": "vellum-ai/0.14.54", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
162
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.55", "User-Agent": "vellum-ai/0.14.55", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
163
163
  contentType: "application/json",
164
164
  requestType: "json",
165
165
  body: serializers.AdHocExecutePromptStream.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -88,7 +88,7 @@ class ContainerImages {
88
88
  url: (0, url_join_1.default)((_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : ((_d = (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.VellumEnvironment.Production)
89
89
  .default, "v1/container-images"),
90
90
  method: "GET",
91
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.54", "User-Agent": "vellum-ai/0.14.54", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
91
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.55", "User-Agent": "vellum-ai/0.14.55", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
92
92
  contentType: "application/json",
93
93
  queryParameters: _queryParams,
94
94
  requestType: "json",
@@ -150,7 +150,7 @@ class ContainerImages {
150
150
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
151
151
  .default, `v1/container-images/${encodeURIComponent(id)}`),
152
152
  method: "GET",
153
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.54", "User-Agent": "vellum-ai/0.14.54", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
153
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.55", "User-Agent": "vellum-ai/0.14.55", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
154
154
  contentType: "application/json",
155
155
  requestType: "json",
156
156
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -208,7 +208,7 @@ class ContainerImages {
208
208
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
209
209
  .default, "v1/container-images/docker-service-token"),
210
210
  method: "GET",
211
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.54", "User-Agent": "vellum-ai/0.14.54", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
211
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.55", "User-Agent": "vellum-ai/0.14.55", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
212
212
  contentType: "application/json",
213
213
  requestType: "json",
214
214
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -271,7 +271,7 @@ class ContainerImages {
271
271
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
272
272
  .default, "v1/container-images/push"),
273
273
  method: "POST",
274
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.54", "User-Agent": "vellum-ai/0.14.54", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
274
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.55", "User-Agent": "vellum-ai/0.14.55", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
275
275
  contentType: "application/json",
276
276
  requestType: "json",
277
277
  body: serializers.PushContainerImageRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -48,7 +48,8 @@ export declare class Deployments {
48
48
  retrieve(id: string, requestOptions?: Deployments.RequestOptions): core.HttpResponsePromise<Vellum.DeploymentRead>;
49
49
  private __retrieve;
50
50
  /**
51
- * Retrieve a specific Deployment History Item by either its UUID or the name of a Release Tag that points to it.
51
+ * DEPRECATED: This endpoint is deprecated and will be removed in a future release. Please use the
52
+ * `retrieve_prompt_deployment_release` xendpoint instead.
52
53
  *
53
54
  * @param {string} historyIdOrReleaseTag - Either the UUID of Deployment History Item you'd like to retrieve, or the name of a Release Tag that's pointing to the Deployment History Item you'd like to retrieve.
54
55
  * @param {string} id - A UUID string identifying this deployment.
@@ -96,6 +97,18 @@ export declare class Deployments {
96
97
  */
97
98
  updateDeploymentReleaseTag(id: string, name: string, request?: Vellum.PatchedDeploymentReleaseTagUpdateRequest, requestOptions?: Deployments.RequestOptions): core.HttpResponsePromise<Vellum.DeploymentReleaseTagRead>;
98
99
  private __updateDeploymentReleaseTag;
100
+ /**
101
+ * Retrieve a specific Prompt Deployment Release by either its UUID or the name of a Release Tag that points to it.
102
+ *
103
+ * @param {string} id - A UUID string identifying this deployment.
104
+ * @param {string} releaseIdOrReleaseTag - Either the UUID of Prompt Deployment Release you'd like to retrieve, or the name of a Release Tag that's pointing to the Prompt Deployment Release you'd like to retrieve.
105
+ * @param {Deployments.RequestOptions} requestOptions - Request-specific configuration.
106
+ *
107
+ * @example
108
+ * await client.deployments.retrievePromptDeploymentRelease("id", "release_id_or_release_tag")
109
+ */
110
+ retrievePromptDeploymentRelease(id: string, releaseIdOrReleaseTag: string, requestOptions?: Deployments.RequestOptions): core.HttpResponsePromise<Vellum.PromptDeploymentRelease>;
111
+ private __retrievePromptDeploymentRelease;
99
112
  /**
100
113
  * Given a set of input variable values, compile the exact payload that Vellum would send to the configured model provider
101
114
  * for execution if the execute-prompt endpoint had been invoked. Note that this endpoint does not actually execute the
@@ -94,7 +94,7 @@ class Deployments {
94
94
  url: (0, url_join_1.default)((_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : ((_d = (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.VellumEnvironment.Production)
95
95
  .default, "v1/deployments"),
96
96
  method: "GET",
97
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.54", "User-Agent": "vellum-ai/0.14.54", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
97
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.55", "User-Agent": "vellum-ai/0.14.55", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
98
98
  contentType: "application/json",
99
99
  queryParameters: _queryParams,
100
100
  requestType: "json",
@@ -156,7 +156,7 @@ class Deployments {
156
156
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
157
157
  .default, `v1/deployments/${encodeURIComponent(id)}`),
158
158
  method: "GET",
159
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.54", "User-Agent": "vellum-ai/0.14.54", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
159
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.55", "User-Agent": "vellum-ai/0.14.55", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
160
160
  contentType: "application/json",
161
161
  requestType: "json",
162
162
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -199,7 +199,8 @@ class Deployments {
199
199
  });
200
200
  }
201
201
  /**
202
- * Retrieve a specific Deployment History Item by either its UUID or the name of a Release Tag that points to it.
202
+ * DEPRECATED: This endpoint is deprecated and will be removed in a future release. Please use the
203
+ * `retrieve_prompt_deployment_release` xendpoint instead.
203
204
  *
204
205
  * @param {string} historyIdOrReleaseTag - Either the UUID of Deployment History Item you'd like to retrieve, or the name of a Release Tag that's pointing to the Deployment History Item you'd like to retrieve.
205
206
  * @param {string} id - A UUID string identifying this deployment.
@@ -218,7 +219,7 @@ class Deployments {
218
219
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
219
220
  .default, `v1/deployments/${encodeURIComponent(id)}/history/${encodeURIComponent(historyIdOrReleaseTag)}`),
220
221
  method: "GET",
221
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.54", "User-Agent": "vellum-ai/0.14.54", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
222
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.55", "User-Agent": "vellum-ai/0.14.55", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
222
223
  contentType: "application/json",
223
224
  requestType: "json",
224
225
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -296,7 +297,7 @@ class Deployments {
296
297
  url: (0, url_join_1.default)((_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : ((_d = (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.VellumEnvironment.Production)
297
298
  .default, `v1/deployments/${encodeURIComponent(id)}/release-tags`),
298
299
  method: "GET",
299
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.54", "User-Agent": "vellum-ai/0.14.54", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
300
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.55", "User-Agent": "vellum-ai/0.14.55", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
300
301
  contentType: "application/json",
301
302
  queryParameters: _queryParams,
302
303
  requestType: "json",
@@ -359,7 +360,7 @@ class Deployments {
359
360
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
360
361
  .default, `v1/deployments/${encodeURIComponent(id)}/release-tags/${encodeURIComponent(name)}`),
361
362
  method: "GET",
362
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.54", "User-Agent": "vellum-ai/0.14.54", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
363
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.55", "User-Agent": "vellum-ai/0.14.55", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
363
364
  contentType: "application/json",
364
365
  requestType: "json",
365
366
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -422,7 +423,7 @@ class Deployments {
422
423
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
423
424
  .default, `v1/deployments/${encodeURIComponent(id)}/release-tags/${encodeURIComponent(name)}`),
424
425
  method: "PATCH",
425
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.54", "User-Agent": "vellum-ai/0.14.54", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
426
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.55", "User-Agent": "vellum-ai/0.14.55", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
426
427
  contentType: "application/json",
427
428
  requestType: "json",
428
429
  body: serializers.PatchedDeploymentReleaseTagUpdateRequest.jsonOrThrow(request, {
@@ -467,6 +468,68 @@ class Deployments {
467
468
  }
468
469
  });
469
470
  }
471
+ /**
472
+ * Retrieve a specific Prompt Deployment Release by either its UUID or the name of a Release Tag that points to it.
473
+ *
474
+ * @param {string} id - A UUID string identifying this deployment.
475
+ * @param {string} releaseIdOrReleaseTag - Either the UUID of Prompt Deployment Release you'd like to retrieve, or the name of a Release Tag that's pointing to the Prompt Deployment Release you'd like to retrieve.
476
+ * @param {Deployments.RequestOptions} requestOptions - Request-specific configuration.
477
+ *
478
+ * @example
479
+ * await client.deployments.retrievePromptDeploymentRelease("id", "release_id_or_release_tag")
480
+ */
481
+ retrievePromptDeploymentRelease(id, releaseIdOrReleaseTag, requestOptions) {
482
+ return core.HttpResponsePromise.fromPromise(this.__retrievePromptDeploymentRelease(id, releaseIdOrReleaseTag, requestOptions));
483
+ }
484
+ __retrievePromptDeploymentRelease(id, releaseIdOrReleaseTag, requestOptions) {
485
+ return __awaiter(this, void 0, void 0, function* () {
486
+ var _a, _b;
487
+ const _response = yield core.fetcher({
488
+ url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
489
+ .default, `v1/deployments/${encodeURIComponent(id)}/releases/${encodeURIComponent(releaseIdOrReleaseTag)}`),
490
+ method: "GET",
491
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.55", "User-Agent": "vellum-ai/0.14.55", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
492
+ contentType: "application/json",
493
+ requestType: "json",
494
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
495
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
496
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
497
+ });
498
+ if (_response.ok) {
499
+ return {
500
+ data: serializers.PromptDeploymentRelease.parseOrThrow(_response.body, {
501
+ unrecognizedObjectKeys: "passthrough",
502
+ allowUnrecognizedUnionMembers: true,
503
+ allowUnrecognizedEnumValues: true,
504
+ breadcrumbsPrefix: ["response"],
505
+ }),
506
+ rawResponse: _response.rawResponse,
507
+ };
508
+ }
509
+ if (_response.error.reason === "status-code") {
510
+ throw new errors.VellumError({
511
+ statusCode: _response.error.statusCode,
512
+ body: _response.error.body,
513
+ rawResponse: _response.rawResponse,
514
+ });
515
+ }
516
+ switch (_response.error.reason) {
517
+ case "non-json":
518
+ throw new errors.VellumError({
519
+ statusCode: _response.error.statusCode,
520
+ body: _response.error.rawBody,
521
+ rawResponse: _response.rawResponse,
522
+ });
523
+ case "timeout":
524
+ throw new errors.VellumTimeoutError("Timeout exceeded when calling GET /v1/deployments/{id}/releases/{release_id_or_release_tag}.");
525
+ case "unknown":
526
+ throw new errors.VellumError({
527
+ message: _response.error.errorMessage,
528
+ rawResponse: _response.rawResponse,
529
+ });
530
+ }
531
+ });
532
+ }
470
533
  /**
471
534
  * Given a set of input variable values, compile the exact payload that Vellum would send to the configured model provider
472
535
  * for execution if the execute-prompt endpoint had been invoked. Note that this endpoint does not actually execute the
@@ -506,7 +569,7 @@ class Deployments {
506
569
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
507
570
  .default, "v1/deployments/provider-payload"),
508
571
  method: "POST",
509
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.54", "User-Agent": "vellum-ai/0.14.54", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
572
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.55", "User-Agent": "vellum-ai/0.14.55", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
510
573
  contentType: "application/json",
511
574
  requestType: "json",
512
575
  body: serializers.DeploymentProviderPayloadRequest.jsonOrThrow(request, {