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
@@ -12,6 +12,8 @@ export interface DeploymentReleaseTagRead {
12
12
  * * `USER` - User
13
13
  */
14
14
  source: Vellum.ReleaseTagSource;
15
- /** The Deployment History Item that this Release Tag is associated with */
15
+ /** Deprecated. Reference the `release` field instead. */
16
16
  historyItem: Vellum.DeploymentReleaseTagDeploymentHistoryItem;
17
+ /** The Release that this Release Tag points to. */
18
+ release: Vellum.ReleaseTagRelease;
17
19
  }
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vellum from "../index";
5
+ export interface PromptExecConfig {
6
+ mlModel: string;
7
+ inputVariables: Vellum.VellumVariable[];
8
+ parameters: Vellum.PromptParameters;
9
+ settings?: Vellum.PromptSettings;
10
+ blocks: Vellum.PromptBlock[];
11
+ functions?: Vellum.FunctionDefinition[];
12
+ }
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- export interface Release {
4
+ export interface ReleaseTagRelease {
5
5
  id: string;
6
6
  timestamp: Date;
7
7
  }
@@ -3,8 +3,3 @@
3
3
  * This file was auto-generated by Fern from our API Definition.
4
4
  */
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.WorkflowsPullRequestFormat = void 0;
7
- exports.WorkflowsPullRequestFormat = {
8
- Json: "json",
9
- Zip: "zip",
10
- };
@@ -15,5 +15,5 @@ export interface WorkflowReleaseTagRead {
15
15
  /** Deprecated. Reference the `release` field instead. */
16
16
  historyItem: Vellum.WorkflowReleaseTagWorkflowDeploymentHistoryItem;
17
17
  /** The Release that this Release Tag points to. */
18
- release: Vellum.Release;
18
+ release: Vellum.ReleaseTagRelease;
19
19
  }
@@ -2,8 +2,6 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  export interface WorkflowReleaseTagWorkflowDeploymentHistoryItem {
5
- /** The ID of the Workflow Deployment History Item */
6
5
  id: string;
7
- /** The timestamp representing when this History Item was created */
8
6
  timestamp: Date;
9
7
  }
@@ -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/dist/Client.d.ts CHANGED
@@ -13,6 +13,7 @@ import { FolderEntities } from "./api/resources/folderEntities/client/Client";
13
13
  import { MetricDefinitions } from "./api/resources/metricDefinitions/client/Client";
14
14
  import { MlModels } from "./api/resources/mlModels/client/Client";
15
15
  import { Organizations } from "./api/resources/organizations/client/Client";
16
+ import { Prompts } from "./api/resources/prompts/client/Client";
16
17
  import { Sandboxes } from "./api/resources/sandboxes/client/Client";
17
18
  import { TestSuiteRuns } from "./api/resources/testSuiteRuns/client/Client";
18
19
  import { TestSuites } from "./api/resources/testSuites/client/Client";
@@ -50,6 +51,7 @@ export declare class VellumClient {
50
51
  protected _metricDefinitions: MetricDefinitions | undefined;
51
52
  protected _mlModels: MlModels | undefined;
52
53
  protected _organizations: Organizations | undefined;
54
+ protected _prompts: Prompts | undefined;
53
55
  protected _sandboxes: Sandboxes | undefined;
54
56
  protected _testSuiteRuns: TestSuiteRuns | undefined;
55
57
  protected _testSuites: TestSuites | undefined;
@@ -68,6 +70,7 @@ export declare class VellumClient {
68
70
  get metricDefinitions(): MetricDefinitions;
69
71
  get mlModels(): MlModels;
70
72
  get organizations(): Organizations;
73
+ get prompts(): Prompts;
71
74
  get sandboxes(): Sandboxes;
72
75
  get testSuiteRuns(): TestSuiteRuns;
73
76
  get testSuites(): TestSuites;
package/dist/Client.js CHANGED
@@ -64,14 +64,15 @@ const Client_6 = require("./api/resources/folderEntities/client/Client");
64
64
  const Client_7 = require("./api/resources/metricDefinitions/client/Client");
65
65
  const Client_8 = require("./api/resources/mlModels/client/Client");
66
66
  const Client_9 = require("./api/resources/organizations/client/Client");
67
- const Client_10 = require("./api/resources/sandboxes/client/Client");
68
- const Client_11 = require("./api/resources/testSuiteRuns/client/Client");
69
- const Client_12 = require("./api/resources/testSuites/client/Client");
70
- const Client_13 = require("./api/resources/workflowDeployments/client/Client");
71
- const Client_14 = require("./api/resources/workflowSandboxes/client/Client");
72
- const Client_15 = require("./api/resources/workflows/client/Client");
73
- const Client_16 = require("./api/resources/workspaceSecrets/client/Client");
74
- const Client_17 = require("./api/resources/workspaces/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/workflowSandboxes/client/Client");
73
+ const Client_16 = require("./api/resources/workflows/client/Client");
74
+ const Client_17 = require("./api/resources/workspaceSecrets/client/Client");
75
+ const Client_18 = require("./api/resources/workspaces/client/Client");
75
76
  class VellumClient {
76
77
  constructor(_options) {
77
78
  this._options = _options;
@@ -112,37 +113,41 @@ class VellumClient {
112
113
  var _a;
113
114
  return ((_a = this._organizations) !== null && _a !== void 0 ? _a : (this._organizations = new Client_9.Organizations(this._options)));
114
115
  }
116
+ get prompts() {
117
+ var _a;
118
+ return ((_a = this._prompts) !== null && _a !== void 0 ? _a : (this._prompts = new Client_10.Prompts(this._options)));
119
+ }
115
120
  get sandboxes() {
116
121
  var _a;
117
- return ((_a = this._sandboxes) !== null && _a !== void 0 ? _a : (this._sandboxes = new Client_10.Sandboxes(this._options)));
122
+ return ((_a = this._sandboxes) !== null && _a !== void 0 ? _a : (this._sandboxes = new Client_11.Sandboxes(this._options)));
118
123
  }
119
124
  get testSuiteRuns() {
120
125
  var _a;
121
- return ((_a = this._testSuiteRuns) !== null && _a !== void 0 ? _a : (this._testSuiteRuns = new Client_11.TestSuiteRuns(this._options)));
126
+ return ((_a = this._testSuiteRuns) !== null && _a !== void 0 ? _a : (this._testSuiteRuns = new Client_12.TestSuiteRuns(this._options)));
122
127
  }
123
128
  get testSuites() {
124
129
  var _a;
125
- return ((_a = this._testSuites) !== null && _a !== void 0 ? _a : (this._testSuites = new Client_12.TestSuites(this._options)));
130
+ return ((_a = this._testSuites) !== null && _a !== void 0 ? _a : (this._testSuites = new Client_13.TestSuites(this._options)));
126
131
  }
127
132
  get workflowDeployments() {
128
133
  var _a;
129
- return ((_a = this._workflowDeployments) !== null && _a !== void 0 ? _a : (this._workflowDeployments = new Client_13.WorkflowDeployments(this._options)));
134
+ return ((_a = this._workflowDeployments) !== null && _a !== void 0 ? _a : (this._workflowDeployments = new Client_14.WorkflowDeployments(this._options)));
130
135
  }
131
136
  get workflowSandboxes() {
132
137
  var _a;
133
- return ((_a = this._workflowSandboxes) !== null && _a !== void 0 ? _a : (this._workflowSandboxes = new Client_14.WorkflowSandboxes(this._options)));
138
+ return ((_a = this._workflowSandboxes) !== null && _a !== void 0 ? _a : (this._workflowSandboxes = new Client_15.WorkflowSandboxes(this._options)));
134
139
  }
135
140
  get workflows() {
136
141
  var _a;
137
- return ((_a = this._workflows) !== null && _a !== void 0 ? _a : (this._workflows = new Client_15.Workflows(this._options)));
142
+ return ((_a = this._workflows) !== null && _a !== void 0 ? _a : (this._workflows = new Client_16.Workflows(this._options)));
138
143
  }
139
144
  get workspaceSecrets() {
140
145
  var _a;
141
- return ((_a = this._workspaceSecrets) !== null && _a !== void 0 ? _a : (this._workspaceSecrets = new Client_16.WorkspaceSecrets(this._options)));
146
+ return ((_a = this._workspaceSecrets) !== null && _a !== void 0 ? _a : (this._workspaceSecrets = new Client_17.WorkspaceSecrets(this._options)));
142
147
  }
143
148
  get workspaces() {
144
149
  var _a;
145
- return ((_a = this._workspaces) !== null && _a !== void 0 ? _a : (this._workspaces = new Client_17.Workspaces(this._options)));
150
+ return ((_a = this._workspaces) !== null && _a !== void 0 ? _a : (this._workspaces = new Client_18.Workspaces(this._options)));
146
151
  }
147
152
  /**
148
153
  * @param {Vellum.ExecuteApiRequest} request
@@ -160,7 +165,7 @@ class VellumClient {
160
165
  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)
161
166
  .default, "v1/execute-api"),
162
167
  method: "POST",
163
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.25", "User-Agent": "vellum-ai/0.14.25", "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),
168
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.27", "User-Agent": "vellum-ai/0.14.27", "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),
164
169
  contentType: "application/json",
165
170
  requestType: "json",
166
171
  body: serializers.ExecuteApiRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -226,7 +231,7 @@ class VellumClient {
226
231
  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)
227
232
  .predict, "v1/execute-code"),
228
233
  method: "POST",
229
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.25", "User-Agent": "vellum-ai/0.14.25", "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),
234
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.27", "User-Agent": "vellum-ai/0.14.27", "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),
230
235
  contentType: "application/json",
231
236
  requestType: "json",
232
237
  body: serializers.CodeExecutor.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -295,7 +300,7 @@ class VellumClient {
295
300
  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)
296
301
  .predict, "v1/execute-prompt"),
297
302
  method: "POST",
298
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.25", "User-Agent": "vellum-ai/0.14.25", "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),
303
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.27", "User-Agent": "vellum-ai/0.14.27", "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),
299
304
  contentType: "application/json",
300
305
  requestType: "json",
301
306
  body: serializers.ExecutePromptRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -353,7 +358,7 @@ class VellumClient {
353
358
  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)
354
359
  .predict, "v1/execute-prompt-stream"),
355
360
  method: "POST",
356
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.25", "User-Agent": "vellum-ai/0.14.25", "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),
361
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.27", "User-Agent": "vellum-ai/0.14.27", "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),
357
362
  contentType: "application/json",
358
363
  requestType: "json",
359
364
  body: serializers.ExecutePromptStreamRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -438,7 +443,7 @@ class VellumClient {
438
443
  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)
439
444
  .predict, "v1/execute-workflow"),
440
445
  method: "POST",
441
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.25", "User-Agent": "vellum-ai/0.14.25", "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),
446
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.27", "User-Agent": "vellum-ai/0.14.27", "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),
442
447
  contentType: "application/json",
443
448
  requestType: "json",
444
449
  body: serializers.ExecuteWorkflowRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -494,7 +499,7 @@ class VellumClient {
494
499
  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)
495
500
  .predict, "v1/execute-workflow-stream"),
496
501
  method: "POST",
497
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.25", "User-Agent": "vellum-ai/0.14.25", "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),
502
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.27", "User-Agent": "vellum-ai/0.14.27", "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),
498
503
  contentType: "application/json",
499
504
  requestType: "json",
500
505
  body: serializers.ExecuteWorkflowStreamRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -581,7 +586,7 @@ class VellumClient {
581
586
  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)
582
587
  .predict, "v1/generate"),
583
588
  method: "POST",
584
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.25", "User-Agent": "vellum-ai/0.14.25", "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),
589
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.27", "User-Agent": "vellum-ai/0.14.27", "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),
585
590
  contentType: "application/json",
586
591
  requestType: "json",
587
592
  body: serializers.GenerateBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -642,7 +647,7 @@ class VellumClient {
642
647
  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)
643
648
  .predict, "v1/generate-stream"),
644
649
  method: "POST",
645
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.25", "User-Agent": "vellum-ai/0.14.25", "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),
650
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.27", "User-Agent": "vellum-ai/0.14.27", "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),
646
651
  contentType: "application/json",
647
652
  requestType: "json",
648
653
  body: serializers.GenerateStreamBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -723,7 +728,7 @@ class VellumClient {
723
728
  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)
724
729
  .predict, "v1/search"),
725
730
  method: "POST",
726
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.25", "User-Agent": "vellum-ai/0.14.25", "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),
731
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.27", "User-Agent": "vellum-ai/0.14.27", "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),
727
732
  contentType: "application/json",
728
733
  requestType: "json",
729
734
  body: serializers.SearchRequestBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -791,7 +796,7 @@ class VellumClient {
791
796
  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)
792
797
  .predict, "v1/submit-completion-actuals"),
793
798
  method: "POST",
794
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.25", "User-Agent": "vellum-ai/0.14.25", "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),
799
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.27", "User-Agent": "vellum-ai/0.14.27", "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),
795
800
  contentType: "application/json",
796
801
  requestType: "json",
797
802
  body: serializers.SubmitCompletionActualsRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -854,7 +859,7 @@ class VellumClient {
854
859
  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)
855
860
  .predict, "v1/submit-workflow-execution-actuals"),
856
861
  method: "POST",
857
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.25", "User-Agent": "vellum-ai/0.14.25", "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),
862
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.27", "User-Agent": "vellum-ai/0.14.27", "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),
858
863
  contentType: "application/json",
859
864
  requestType: "json",
860
865
  body: serializers.SubmitWorkflowExecutionActualsRequest.jsonOrThrow(request, {
@@ -66,7 +66,7 @@ class AdHoc {
66
66
  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)
67
67
  .predict, "v1/ad-hoc/execute-prompt-stream"),
68
68
  method: "POST",
69
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.25", "User-Agent": "vellum-ai/0.14.25", "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),
69
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.27", "User-Agent": "vellum-ai/0.14.27", "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),
70
70
  contentType: "application/json",
71
71
  requestType: "json",
72
72
  body: serializers.AdHocExecutePromptStream.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -85,7 +85,7 @@ class ContainerImages {
85
85
  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)
86
86
  .default, "v1/container-images"),
87
87
  method: "GET",
88
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.25", "User-Agent": "vellum-ai/0.14.25", "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),
88
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.27", "User-Agent": "vellum-ai/0.14.27", "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),
89
89
  contentType: "application/json",
90
90
  queryParameters: _queryParams,
91
91
  requestType: "json",
@@ -138,7 +138,7 @@ class ContainerImages {
138
138
  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)
139
139
  .default, `v1/container-images/${encodeURIComponent(id)}`),
140
140
  method: "GET",
141
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.25", "User-Agent": "vellum-ai/0.14.25", "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),
141
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.27", "User-Agent": "vellum-ai/0.14.27", "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),
142
142
  contentType: "application/json",
143
143
  requestType: "json",
144
144
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -187,7 +187,7 @@ class ContainerImages {
187
187
  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)
188
188
  .default, "v1/container-images/docker-service-token"),
189
189
  method: "GET",
190
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.25", "User-Agent": "vellum-ai/0.14.25", "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),
190
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.27", "User-Agent": "vellum-ai/0.14.27", "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),
191
191
  contentType: "application/json",
192
192
  requestType: "json",
193
193
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -241,7 +241,7 @@ class ContainerImages {
241
241
  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)
242
242
  .default, "v1/container-images/push"),
243
243
  method: "POST",
244
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.25", "User-Agent": "vellum-ai/0.14.25", "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),
244
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.27", "User-Agent": "vellum-ai/0.14.27", "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),
245
245
  contentType: "application/json",
246
246
  requestType: "json",
247
247
  body: serializers.PushContainerImageRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -91,7 +91,7 @@ class Deployments {
91
91
  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)
92
92
  .default, "v1/deployments"),
93
93
  method: "GET",
94
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.25", "User-Agent": "vellum-ai/0.14.25", "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),
94
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.27", "User-Agent": "vellum-ai/0.14.27", "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),
95
95
  contentType: "application/json",
96
96
  queryParameters: _queryParams,
97
97
  requestType: "json",
@@ -144,7 +144,7 @@ class Deployments {
144
144
  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)
145
145
  .default, `v1/deployments/${encodeURIComponent(id)}`),
146
146
  method: "GET",
147
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.25", "User-Agent": "vellum-ai/0.14.25", "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),
147
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.27", "User-Agent": "vellum-ai/0.14.27", "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),
148
148
  contentType: "application/json",
149
149
  requestType: "json",
150
150
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -197,7 +197,7 @@ class Deployments {
197
197
  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)
198
198
  .default, `v1/deployments/${encodeURIComponent(id)}/history/${encodeURIComponent(historyIdOrReleaseTag)}`),
199
199
  method: "GET",
200
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.25", "User-Agent": "vellum-ai/0.14.25", "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),
200
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.27", "User-Agent": "vellum-ai/0.14.27", "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),
201
201
  contentType: "application/json",
202
202
  requestType: "json",
203
203
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -266,7 +266,7 @@ class Deployments {
266
266
  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)
267
267
  .default, `v1/deployments/${encodeURIComponent(id)}/release-tags`),
268
268
  method: "GET",
269
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.25", "User-Agent": "vellum-ai/0.14.25", "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),
269
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.27", "User-Agent": "vellum-ai/0.14.27", "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),
270
270
  contentType: "application/json",
271
271
  queryParameters: _queryParams,
272
272
  requestType: "json",
@@ -320,7 +320,7 @@ class Deployments {
320
320
  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)
321
321
  .default, `v1/deployments/${encodeURIComponent(id)}/release-tags/${encodeURIComponent(name)}`),
322
322
  method: "GET",
323
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.25", "User-Agent": "vellum-ai/0.14.25", "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),
323
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.27", "User-Agent": "vellum-ai/0.14.27", "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),
324
324
  contentType: "application/json",
325
325
  requestType: "json",
326
326
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -374,7 +374,7 @@ class Deployments {
374
374
  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)
375
375
  .default, `v1/deployments/${encodeURIComponent(id)}/release-tags/${encodeURIComponent(name)}`),
376
376
  method: "PATCH",
377
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.25", "User-Agent": "vellum-ai/0.14.25", "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),
377
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.27", "User-Agent": "vellum-ai/0.14.27", "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),
378
378
  contentType: "application/json",
379
379
  requestType: "json",
380
380
  body: serializers.PatchedDeploymentReleaseTagUpdateRequest.jsonOrThrow(request, {
@@ -449,7 +449,7 @@ class Deployments {
449
449
  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)
450
450
  .default, "v1/deployments/provider-payload"),
451
451
  method: "POST",
452
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.25", "User-Agent": "vellum-ai/0.14.25", "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),
452
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.27", "User-Agent": "vellum-ai/0.14.27", "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),
453
453
  contentType: "application/json",
454
454
  requestType: "json",
455
455
  body: serializers.DeploymentProviderPayloadRequest.jsonOrThrow(request, {
@@ -93,7 +93,7 @@ class DocumentIndexes {
93
93
  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)
94
94
  .default, "v1/document-indexes"),
95
95
  method: "GET",
96
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.25", "User-Agent": "vellum-ai/0.14.25", "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),
96
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.27", "User-Agent": "vellum-ai/0.14.27", "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
97
  contentType: "application/json",
98
98
  queryParameters: _queryParams,
99
99
  requestType: "json",
@@ -208,7 +208,7 @@ class DocumentIndexes {
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/document-indexes"),
210
210
  method: "POST",
211
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.25", "User-Agent": "vellum-ai/0.14.25", "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.27", "User-Agent": "vellum-ai/0.14.27", "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
  body: serializers.DocumentIndexCreateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -261,7 +261,7 @@ class DocumentIndexes {
261
261
  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)
262
262
  .default, `v1/document-indexes/${encodeURIComponent(id)}`),
263
263
  method: "GET",
264
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.25", "User-Agent": "vellum-ai/0.14.25", "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),
264
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.27", "User-Agent": "vellum-ai/0.14.27", "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),
265
265
  contentType: "application/json",
266
266
  requestType: "json",
267
267
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -316,7 +316,7 @@ class DocumentIndexes {
316
316
  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)
317
317
  .default, `v1/document-indexes/${encodeURIComponent(id)}`),
318
318
  method: "PUT",
319
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.25", "User-Agent": "vellum-ai/0.14.25", "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),
319
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.27", "User-Agent": "vellum-ai/0.14.27", "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),
320
320
  contentType: "application/json",
321
321
  requestType: "json",
322
322
  body: serializers.DocumentIndexUpdateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -369,7 +369,7 @@ class DocumentIndexes {
369
369
  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)
370
370
  .documents, `v1/document-indexes/${encodeURIComponent(id)}`),
371
371
  method: "DELETE",
372
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.25", "User-Agent": "vellum-ai/0.14.25", "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),
372
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.27", "User-Agent": "vellum-ai/0.14.27", "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),
373
373
  contentType: "application/json",
374
374
  requestType: "json",
375
375
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -417,7 +417,7 @@ class DocumentIndexes {
417
417
  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)
418
418
  .default, `v1/document-indexes/${encodeURIComponent(id)}`),
419
419
  method: "PATCH",
420
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.25", "User-Agent": "vellum-ai/0.14.25", "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),
420
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.27", "User-Agent": "vellum-ai/0.14.27", "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),
421
421
  contentType: "application/json",
422
422
  requestType: "json",
423
423
  body: serializers.PatchedDocumentIndexUpdateRequest.jsonOrThrow(request, {
@@ -473,7 +473,7 @@ class DocumentIndexes {
473
473
  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)
474
474
  .default, `v1/document-indexes/${encodeURIComponent(id)}/documents/${encodeURIComponent(documentId)}`),
475
475
  method: "POST",
476
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.25", "User-Agent": "vellum-ai/0.14.25", "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),
476
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.27", "User-Agent": "vellum-ai/0.14.27", "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),
477
477
  contentType: "application/json",
478
478
  requestType: "json",
479
479
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -521,7 +521,7 @@ class DocumentIndexes {
521
521
  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)
522
522
  .documents, `v1/document-indexes/${encodeURIComponent(id)}/documents/${encodeURIComponent(documentId)}`),
523
523
  method: "DELETE",
524
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.25", "User-Agent": "vellum-ai/0.14.25", "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),
524
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.27", "User-Agent": "vellum-ai/0.14.27", "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),
525
525
  contentType: "application/json",
526
526
  requestType: "json",
527
527
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -92,7 +92,7 @@ class Documents {
92
92
  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)
93
93
  .default, "v1/documents"),
94
94
  method: "GET",
95
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.25", "User-Agent": "vellum-ai/0.14.25", "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),
95
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.27", "User-Agent": "vellum-ai/0.14.27", "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),
96
96
  contentType: "application/json",
97
97
  queryParameters: _queryParams,
98
98
  requestType: "json",
@@ -145,7 +145,7 @@ class Documents {
145
145
  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)
146
146
  .default, `v1/documents/${encodeURIComponent(id)}`),
147
147
  method: "GET",
148
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.25", "User-Agent": "vellum-ai/0.14.25", "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),
148
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.27", "User-Agent": "vellum-ai/0.14.27", "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),
149
149
  contentType: "application/json",
150
150
  requestType: "json",
151
151
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -197,7 +197,7 @@ class Documents {
197
197
  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)
198
198
  .documents, `v1/documents/${encodeURIComponent(id)}`),
199
199
  method: "DELETE",
200
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.25", "User-Agent": "vellum-ai/0.14.25", "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),
200
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.27", "User-Agent": "vellum-ai/0.14.27", "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),
201
201
  contentType: "application/json",
202
202
  requestType: "json",
203
203
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -245,7 +245,7 @@ class Documents {
245
245
  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)
246
246
  .default, `v1/documents/${encodeURIComponent(id)}`),
247
247
  method: "PATCH",
248
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.25", "User-Agent": "vellum-ai/0.14.25", "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),
248
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.27", "User-Agent": "vellum-ai/0.14.27", "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),
249
249
  contentType: "application/json",
250
250
  requestType: "json",
251
251
  body: serializers.PatchedDocumentUpdateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -334,7 +334,7 @@ class Documents {
334
334
  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)
335
335
  .documents, "v1/upload-document"),
336
336
  method: "POST",
337
- headers: Object.assign(Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.25", "User-Agent": "vellum-ai/0.14.25", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), _maybeEncodedRequest.headers), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
337
+ headers: Object.assign(Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.27", "User-Agent": "vellum-ai/0.14.27", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), _maybeEncodedRequest.headers), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
338
338
  requestType: "file",
339
339
  duplex: _maybeEncodedRequest.duplex,
340
340
  body: _maybeEncodedRequest.body,