vellum-ai 0.14.40 → 0.14.42

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 (108) hide show
  1. package/Client.js +11 -11
  2. package/api/resources/adHoc/client/Client.d.ts +29 -0
  3. package/api/resources/adHoc/client/Client.js +82 -1
  4. package/api/resources/adHoc/client/requests/AdHocExecutePrompt.d.ts +35 -0
  5. package/api/resources/adHoc/client/requests/index.d.ts +1 -0
  6. package/api/resources/containerImages/client/Client.js +4 -4
  7. package/api/resources/deployments/client/Client.js +7 -7
  8. package/api/resources/deployments/client/requests/PatchedDeploymentReleaseTagUpdateRequest.d.ts +1 -1
  9. package/api/resources/documentIndexes/client/Client.js +8 -8
  10. package/api/resources/documents/client/Client.d.ts +3 -3
  11. package/api/resources/documents/client/Client.js +8 -8
  12. package/api/resources/folderEntities/client/Client.js +2 -2
  13. package/api/resources/metricDefinitions/client/Client.js +2 -2
  14. package/api/resources/mlModels/client/Client.js +1 -1
  15. package/api/resources/organizations/client/Client.js +1 -1
  16. package/api/resources/prompts/client/Client.js +1 -1
  17. package/api/resources/releaseReviews/client/Client.js +2 -2
  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.js +8 -8
  22. package/api/resources/workflowSandboxes/client/Client.js +2 -2
  23. package/api/resources/workflows/client/Client.js +2 -2
  24. package/api/resources/workspaceSecrets/client/Client.js +2 -2
  25. package/api/resources/workspaces/client/Client.js +1 -1
  26. package/api/types/ExecuteApiResponse.d.ts +2 -1
  27. package/api/types/ExecuteApiResponseJson.d.ts +4 -0
  28. package/api/types/PromptSettings.d.ts +1 -0
  29. package/api/types/WorkflowExecutionInitiatedBody.d.ts +0 -1
  30. package/api/types/index.d.ts +1 -2
  31. package/api/types/index.js +1 -2
  32. package/dist/Client.js +11 -11
  33. package/dist/api/resources/adHoc/client/Client.d.ts +29 -0
  34. package/dist/api/resources/adHoc/client/Client.js +82 -1
  35. package/dist/api/resources/adHoc/client/requests/AdHocExecutePrompt.d.ts +35 -0
  36. package/dist/api/resources/adHoc/client/requests/index.d.ts +1 -0
  37. package/dist/api/resources/containerImages/client/Client.js +4 -4
  38. package/dist/api/resources/deployments/client/Client.js +7 -7
  39. package/dist/api/resources/deployments/client/requests/PatchedDeploymentReleaseTagUpdateRequest.d.ts +1 -1
  40. package/dist/api/resources/documentIndexes/client/Client.js +8 -8
  41. package/dist/api/resources/documents/client/Client.d.ts +3 -3
  42. package/dist/api/resources/documents/client/Client.js +8 -8
  43. package/dist/api/resources/folderEntities/client/Client.js +2 -2
  44. package/dist/api/resources/metricDefinitions/client/Client.js +2 -2
  45. package/dist/api/resources/mlModels/client/Client.js +1 -1
  46. package/dist/api/resources/organizations/client/Client.js +1 -1
  47. package/dist/api/resources/prompts/client/Client.js +1 -1
  48. package/dist/api/resources/releaseReviews/client/Client.js +2 -2
  49. package/dist/api/resources/sandboxes/client/Client.js +3 -3
  50. package/dist/api/resources/testSuiteRuns/client/Client.js +3 -3
  51. package/dist/api/resources/testSuites/client/Client.js +4 -4
  52. package/dist/api/resources/workflowDeployments/client/Client.js +8 -8
  53. package/dist/api/resources/workflowSandboxes/client/Client.js +2 -2
  54. package/dist/api/resources/workflows/client/Client.js +2 -2
  55. package/dist/api/resources/workspaceSecrets/client/Client.js +2 -2
  56. package/dist/api/resources/workspaces/client/Client.js +1 -1
  57. package/dist/api/types/ExecuteApiResponse.d.ts +2 -1
  58. package/dist/api/types/ExecuteApiResponseJson.d.ts +4 -0
  59. package/dist/api/types/PromptSettings.d.ts +1 -0
  60. package/dist/api/types/WorkflowExecutionInitiatedBody.d.ts +0 -1
  61. package/dist/api/types/index.d.ts +1 -2
  62. package/dist/api/types/index.js +1 -2
  63. package/dist/serialization/resources/adHoc/client/requests/AdHocExecutePrompt.d.ts +25 -0
  64. package/dist/serialization/{types/NodeEventDisplayContext.js → resources/adHoc/client/requests/AdHocExecutePrompt.js} +18 -8
  65. package/dist/serialization/resources/adHoc/client/requests/index.d.ts +1 -0
  66. package/dist/serialization/resources/adHoc/client/requests/index.js +3 -1
  67. package/dist/serialization/types/ExecuteApiResponse.d.ts +2 -1
  68. package/dist/serialization/types/ExecuteApiResponse.js +2 -1
  69. package/dist/serialization/types/ExecuteApiResponseJson.d.ts +10 -0
  70. package/dist/serialization/types/{WorkflowEventDisplayContext.js → ExecuteApiResponseJson.js} +5 -7
  71. package/dist/serialization/types/PromptSettings.d.ts +1 -0
  72. package/dist/serialization/types/PromptSettings.js +1 -0
  73. package/dist/serialization/types/WorkflowExecutionInitiatedBody.d.ts +0 -1
  74. package/dist/serialization/types/WorkflowExecutionInitiatedBody.js +0 -2
  75. package/dist/serialization/types/index.d.ts +1 -2
  76. package/dist/serialization/types/index.js +1 -2
  77. package/dist/version.d.ts +1 -1
  78. package/dist/version.js +1 -1
  79. package/package.json +1 -1
  80. package/reference.md +74 -3
  81. package/serialization/resources/adHoc/client/requests/AdHocExecutePrompt.d.ts +25 -0
  82. package/serialization/{types/NodeEventDisplayContext.js → resources/adHoc/client/requests/AdHocExecutePrompt.js} +18 -8
  83. package/serialization/resources/adHoc/client/requests/index.d.ts +1 -0
  84. package/serialization/resources/adHoc/client/requests/index.js +3 -1
  85. package/serialization/types/ExecuteApiResponse.d.ts +2 -1
  86. package/serialization/types/ExecuteApiResponse.js +2 -1
  87. package/serialization/types/ExecuteApiResponseJson.d.ts +10 -0
  88. package/serialization/types/{WorkflowEventDisplayContext.js → ExecuteApiResponseJson.js} +5 -7
  89. package/serialization/types/PromptSettings.d.ts +1 -0
  90. package/serialization/types/PromptSettings.js +1 -0
  91. package/serialization/types/WorkflowExecutionInitiatedBody.d.ts +0 -1
  92. package/serialization/types/WorkflowExecutionInitiatedBody.js +0 -2
  93. package/serialization/types/index.d.ts +1 -2
  94. package/serialization/types/index.js +1 -2
  95. package/version.d.ts +1 -1
  96. package/version.js +1 -1
  97. package/api/types/NodeEventDisplayContext.d.ts +0 -10
  98. package/api/types/WorkflowEventDisplayContext.d.ts +0 -9
  99. package/dist/api/types/NodeEventDisplayContext.d.ts +0 -10
  100. package/dist/api/types/WorkflowEventDisplayContext.d.ts +0 -9
  101. package/dist/serialization/types/NodeEventDisplayContext.d.ts +0 -15
  102. package/dist/serialization/types/WorkflowEventDisplayContext.d.ts +0 -14
  103. package/serialization/types/NodeEventDisplayContext.d.ts +0 -15
  104. package/serialization/types/WorkflowEventDisplayContext.d.ts +0 -14
  105. /package/api/{types/NodeEventDisplayContext.js → resources/adHoc/client/requests/AdHocExecutePrompt.js} +0 -0
  106. /package/api/types/{WorkflowEventDisplayContext.js → ExecuteApiResponseJson.js} +0 -0
  107. /package/dist/api/{types/NodeEventDisplayContext.js → resources/adHoc/client/requests/AdHocExecutePrompt.js} +0 -0
  108. /package/dist/api/types/{WorkflowEventDisplayContext.js → ExecuteApiResponseJson.js} +0 -0
@@ -25,6 +25,35 @@ export declare namespace AdHoc {
25
25
  export declare class AdHoc {
26
26
  protected readonly _options: AdHoc.Options;
27
27
  constructor(_options: AdHoc.Options);
28
+ /**
29
+ * @param {Vellum.AdHocExecutePrompt} request
30
+ * @param {AdHoc.RequestOptions} requestOptions - Request-specific configuration.
31
+ *
32
+ * @throws {@link Vellum.BadRequestError}
33
+ * @throws {@link Vellum.ForbiddenError}
34
+ * @throws {@link Vellum.InternalServerError}
35
+ *
36
+ * @example
37
+ * await client.adHoc.adhocExecutePrompt({
38
+ * mlModel: "ml_model",
39
+ * inputValues: [{
40
+ * key: "key",
41
+ * type: "STRING",
42
+ * value: "value"
43
+ * }],
44
+ * inputVariables: [{
45
+ * id: "id",
46
+ * key: "key",
47
+ * type: "STRING"
48
+ * }],
49
+ * parameters: {},
50
+ * blocks: [{
51
+ * blockType: "JINJA",
52
+ * template: "template"
53
+ * }]
54
+ * })
55
+ */
56
+ adhocExecutePrompt(request: Vellum.AdHocExecutePrompt, requestOptions?: AdHoc.RequestOptions): Promise<Vellum.AdHocExecutePromptEvent>;
28
57
  adhocExecutePromptStream(request: Vellum.AdHocExecutePromptStream, requestOptions?: AdHoc.RequestOptions): Promise<core.Stream<Vellum.AdHocExecutePromptEvent>>;
29
58
  protected _getCustomAuthorizationHeaders(): Promise<{
30
59
  X_API_KEY: string;
@@ -59,6 +59,87 @@ class AdHoc {
59
59
  constructor(_options) {
60
60
  this._options = _options;
61
61
  }
62
+ /**
63
+ * @param {Vellum.AdHocExecutePrompt} request
64
+ * @param {AdHoc.RequestOptions} requestOptions - Request-specific configuration.
65
+ *
66
+ * @throws {@link Vellum.BadRequestError}
67
+ * @throws {@link Vellum.ForbiddenError}
68
+ * @throws {@link Vellum.InternalServerError}
69
+ *
70
+ * @example
71
+ * await client.adHoc.adhocExecutePrompt({
72
+ * mlModel: "ml_model",
73
+ * inputValues: [{
74
+ * key: "key",
75
+ * type: "STRING",
76
+ * value: "value"
77
+ * }],
78
+ * inputVariables: [{
79
+ * id: "id",
80
+ * key: "key",
81
+ * type: "STRING"
82
+ * }],
83
+ * parameters: {},
84
+ * blocks: [{
85
+ * blockType: "JINJA",
86
+ * template: "template"
87
+ * }]
88
+ * })
89
+ */
90
+ adhocExecutePrompt(request, requestOptions) {
91
+ return __awaiter(this, void 0, void 0, function* () {
92
+ var _a, _b;
93
+ const _response = yield core.fetcher({
94
+ 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)
95
+ .default, "v1/ad-hoc/execute-prompt"),
96
+ method: "POST",
97
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.42", "User-Agent": "vellum-ai/0.14.42", "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
+ contentType: "application/json",
99
+ requestType: "json",
100
+ body: serializers.AdHocExecutePrompt.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
101
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
102
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
103
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
104
+ });
105
+ if (_response.ok) {
106
+ return serializers.AdHocExecutePromptEvent.parseOrThrow(_response.body, {
107
+ unrecognizedObjectKeys: "passthrough",
108
+ allowUnrecognizedUnionMembers: true,
109
+ allowUnrecognizedEnumValues: true,
110
+ breadcrumbsPrefix: ["response"],
111
+ });
112
+ }
113
+ if (_response.error.reason === "status-code") {
114
+ switch (_response.error.statusCode) {
115
+ case 400:
116
+ throw new Vellum.BadRequestError(_response.error.body);
117
+ case 403:
118
+ throw new Vellum.ForbiddenError(_response.error.body);
119
+ case 500:
120
+ throw new Vellum.InternalServerError(_response.error.body);
121
+ default:
122
+ throw new errors.VellumError({
123
+ statusCode: _response.error.statusCode,
124
+ body: _response.error.body,
125
+ });
126
+ }
127
+ }
128
+ switch (_response.error.reason) {
129
+ case "non-json":
130
+ throw new errors.VellumError({
131
+ statusCode: _response.error.statusCode,
132
+ body: _response.error.rawBody,
133
+ });
134
+ case "timeout":
135
+ throw new errors.VellumTimeoutError("Timeout exceeded when calling POST /v1/ad-hoc/execute-prompt.");
136
+ case "unknown":
137
+ throw new errors.VellumError({
138
+ message: _response.error.errorMessage,
139
+ });
140
+ }
141
+ });
142
+ }
62
143
  adhocExecutePromptStream(request, requestOptions) {
63
144
  return __awaiter(this, void 0, void 0, function* () {
64
145
  var _a, _b;
@@ -66,7 +147,7 @@ class AdHoc {
66
147
  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
148
  .predict, "v1/ad-hoc/execute-prompt-stream"),
68
149
  method: "POST",
69
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.40", "User-Agent": "vellum-ai/0.14.40", "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),
150
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.42", "User-Agent": "vellum-ai/0.14.42", "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
151
  contentType: "application/json",
71
152
  requestType: "json",
72
153
  body: serializers.AdHocExecutePromptStream.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -0,0 +1,35 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vellum from "../../../../index";
5
+ /**
6
+ * @example
7
+ * {
8
+ * mlModel: "ml_model",
9
+ * inputValues: [{
10
+ * key: "key",
11
+ * type: "STRING",
12
+ * value: "value"
13
+ * }],
14
+ * inputVariables: [{
15
+ * id: "id",
16
+ * key: "key",
17
+ * type: "STRING"
18
+ * }],
19
+ * parameters: {},
20
+ * blocks: [{
21
+ * blockType: "JINJA",
22
+ * template: "template"
23
+ * }]
24
+ * }
25
+ */
26
+ export interface AdHocExecutePrompt {
27
+ mlModel: string;
28
+ inputValues: Vellum.PromptRequestInput[];
29
+ inputVariables: Vellum.VellumVariable[];
30
+ parameters: Vellum.PromptParameters;
31
+ settings?: Vellum.PromptSettings;
32
+ blocks: Vellum.PromptBlock[];
33
+ functions?: Vellum.FunctionDefinition[];
34
+ expandMeta?: Vellum.AdHocExpandMeta;
35
+ }
@@ -1 +1,2 @@
1
+ export { type AdHocExecutePrompt } from "./AdHocExecutePrompt";
1
2
  export { type AdHocExecutePromptStream } from "./AdHocExecutePromptStream";
@@ -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.40", "User-Agent": "vellum-ai/0.14.40", "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.42", "User-Agent": "vellum-ai/0.14.42", "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.40", "User-Agent": "vellum-ai/0.14.40", "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.42", "User-Agent": "vellum-ai/0.14.42", "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.40", "User-Agent": "vellum-ai/0.14.40", "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.42", "User-Agent": "vellum-ai/0.14.42", "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.40", "User-Agent": "vellum-ai/0.14.40", "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.42", "User-Agent": "vellum-ai/0.14.42", "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.40", "User-Agent": "vellum-ai/0.14.40", "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.42", "User-Agent": "vellum-ai/0.14.42", "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.40", "User-Agent": "vellum-ai/0.14.40", "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.42", "User-Agent": "vellum-ai/0.14.42", "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.40", "User-Agent": "vellum-ai/0.14.40", "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.42", "User-Agent": "vellum-ai/0.14.42", "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.40", "User-Agent": "vellum-ai/0.14.40", "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.42", "User-Agent": "vellum-ai/0.14.42", "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.40", "User-Agent": "vellum-ai/0.14.40", "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.42", "User-Agent": "vellum-ai/0.14.42", "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.40", "User-Agent": "vellum-ai/0.14.40", "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.42", "User-Agent": "vellum-ai/0.14.42", "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.40", "User-Agent": "vellum-ai/0.14.40", "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.42", "User-Agent": "vellum-ai/0.14.42", "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, {
@@ -6,6 +6,6 @@
6
6
  * {}
7
7
  */
8
8
  export interface PatchedDeploymentReleaseTagUpdateRequest {
9
- /** The ID of the Deployment History Item to tag */
9
+ /** The ID of the Release to tag */
10
10
  historyItemId?: string;
11
11
  }
@@ -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.40", "User-Agent": "vellum-ai/0.14.40", "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.42", "User-Agent": "vellum-ai/0.14.42", "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.40", "User-Agent": "vellum-ai/0.14.40", "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.42", "User-Agent": "vellum-ai/0.14.42", "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.40", "User-Agent": "vellum-ai/0.14.40", "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.42", "User-Agent": "vellum-ai/0.14.42", "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.40", "User-Agent": "vellum-ai/0.14.40", "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.42", "User-Agent": "vellum-ai/0.14.42", "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.40", "User-Agent": "vellum-ai/0.14.40", "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.42", "User-Agent": "vellum-ai/0.14.42", "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.40", "User-Agent": "vellum-ai/0.14.40", "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.42", "User-Agent": "vellum-ai/0.14.42", "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.40", "User-Agent": "vellum-ai/0.14.40", "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.42", "User-Agent": "vellum-ai/0.14.42", "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.40", "User-Agent": "vellum-ai/0.14.40", "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.42", "User-Agent": "vellum-ai/0.14.42", "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,
@@ -40,7 +40,7 @@ export declare class Documents {
40
40
  /**
41
41
  * Retrieve a Document, keying off of either its Vellum-generated ID or its external ID.
42
42
  *
43
- * @param {string} id - A UUID string identifying this document.
43
+ * @param {string} id
44
44
  * @param {Documents.RequestOptions} requestOptions - Request-specific configuration.
45
45
  *
46
46
  * @example
@@ -50,7 +50,7 @@ export declare class Documents {
50
50
  /**
51
51
  * Delete a Document, keying off of either its Vellum-generated ID or its external ID.
52
52
  *
53
- * @param {string} id - A UUID string identifying this document.
53
+ * @param {string} id
54
54
  * @param {Documents.RequestOptions} requestOptions - Request-specific configuration.
55
55
  *
56
56
  * @example
@@ -60,7 +60,7 @@ export declare class Documents {
60
60
  /**
61
61
  * Update a Document, keying off of either its Vellum-generated ID or its external ID. Particularly useful for updating its metadata.
62
62
  *
63
- * @param {string} id - A UUID string identifying this document.
63
+ * @param {string} id
64
64
  * @param {Vellum.PatchedDocumentUpdateRequest} request
65
65
  * @param {Documents.RequestOptions} requestOptions - Request-specific configuration.
66
66
  *
@@ -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.40", "User-Agent": "vellum-ai/0.14.40", "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.42", "User-Agent": "vellum-ai/0.14.42", "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",
@@ -132,7 +132,7 @@ class Documents {
132
132
  /**
133
133
  * Retrieve a Document, keying off of either its Vellum-generated ID or its external ID.
134
134
  *
135
- * @param {string} id - A UUID string identifying this document.
135
+ * @param {string} id
136
136
  * @param {Documents.RequestOptions} requestOptions - Request-specific configuration.
137
137
  *
138
138
  * @example
@@ -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.40", "User-Agent": "vellum-ai/0.14.40", "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.42", "User-Agent": "vellum-ai/0.14.42", "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,
@@ -184,7 +184,7 @@ class Documents {
184
184
  /**
185
185
  * Delete a Document, keying off of either its Vellum-generated ID or its external ID.
186
186
  *
187
- * @param {string} id - A UUID string identifying this document.
187
+ * @param {string} id
188
188
  * @param {Documents.RequestOptions} requestOptions - Request-specific configuration.
189
189
  *
190
190
  * @example
@@ -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.40", "User-Agent": "vellum-ai/0.14.40", "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.42", "User-Agent": "vellum-ai/0.14.42", "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,
@@ -231,7 +231,7 @@ class Documents {
231
231
  /**
232
232
  * Update a Document, keying off of either its Vellum-generated ID or its external ID. Particularly useful for updating its metadata.
233
233
  *
234
- * @param {string} id - A UUID string identifying this document.
234
+ * @param {string} id
235
235
  * @param {Vellum.PatchedDocumentUpdateRequest} request
236
236
  * @param {Documents.RequestOptions} requestOptions - Request-specific configuration.
237
237
  *
@@ -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.40", "User-Agent": "vellum-ai/0.14.40", "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.42", "User-Agent": "vellum-ai/0.14.42", "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" }),
@@ -327,7 +327,7 @@ class Documents {
327
327
  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)
328
328
  .documents, "v1/upload-document"),
329
329
  method: "POST",
330
- headers: Object.assign(Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.40", "User-Agent": "vellum-ai/0.14.40", "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),
330
+ headers: Object.assign(Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.42", "User-Agent": "vellum-ai/0.14.42", "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),
331
331
  requestType: "file",
332
332
  duplex: _maybeEncodedRequest.duplex,
333
333
  body: _maybeEncodedRequest.body,
@@ -91,7 +91,7 @@ class FolderEntities {
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/folder-entities"),
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.40", "User-Agent": "vellum-ai/0.14.40", "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.42", "User-Agent": "vellum-ai/0.14.42", "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",
@@ -154,7 +154,7 @@ class FolderEntities {
154
154
  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)
155
155
  .default, `v1/folders/${encodeURIComponent(folderId)}/add-entity`),
156
156
  method: "POST",
157
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.40", "User-Agent": "vellum-ai/0.14.40", "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),
157
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.42", "User-Agent": "vellum-ai/0.14.42", "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),
158
158
  contentType: "application/json",
159
159
  requestType: "json",
160
160
  body: serializers.AddEntityToFolderRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -79,7 +79,7 @@ class MetricDefinitions {
79
79
  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)
80
80
  .predict, `v1/metric-definitions/${encodeURIComponent(id)}/execute`),
81
81
  method: "POST",
82
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.40", "User-Agent": "vellum-ai/0.14.40", "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),
82
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.42", "User-Agent": "vellum-ai/0.14.42", "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),
83
83
  contentType: "application/json",
84
84
  requestType: "json",
85
85
  body: serializers.ExecuteMetricDefinition.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -131,7 +131,7 @@ class MetricDefinitions {
131
131
  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)
132
132
  .default, `v1/metric-definitions/${encodeURIComponent(id)}/history/${encodeURIComponent(historyIdOrReleaseTag)}`),
133
133
  method: "GET",
134
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.40", "User-Agent": "vellum-ai/0.14.40", "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),
134
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.42", "User-Agent": "vellum-ai/0.14.42", "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),
135
135
  contentType: "application/json",
136
136
  requestType: "json",
137
137
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -74,7 +74,7 @@ class MlModels {
74
74
  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)
75
75
  .default, `v1/ml-models/${encodeURIComponent(id)}`),
76
76
  method: "GET",
77
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.40", "User-Agent": "vellum-ai/0.14.40", "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),
77
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.42", "User-Agent": "vellum-ai/0.14.42", "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),
78
78
  contentType: "application/json",
79
79
  requestType: "json",
80
80
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -73,7 +73,7 @@ class Organizations {
73
73
  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)
74
74
  .default, "v1/organizations/identity"),
75
75
  method: "GET",
76
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.40", "User-Agent": "vellum-ai/0.14.40", "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),
76
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.42", "User-Agent": "vellum-ai/0.14.42", "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),
77
77
  contentType: "application/json",
78
78
  requestType: "json",
79
79
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -84,7 +84,7 @@ class Prompts {
84
84
  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)
85
85
  .default, `v1/prompts/${encodeURIComponent(id)}/pull`),
86
86
  method: "GET",
87
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.40", "User-Agent": "vellum-ai/0.14.40", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, Accept: "application/json" }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
87
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.42", "User-Agent": "vellum-ai/0.14.42", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, Accept: "application/json" }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
88
88
  contentType: "application/json",
89
89
  queryParameters: _queryParams,
90
90
  requestType: "json",
@@ -75,7 +75,7 @@ class ReleaseReviews {
75
75
  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)
76
76
  .default, `v1/deployments/${encodeURIComponent(id)}/releases/${encodeURIComponent(releaseIdOrReleaseTag)}`),
77
77
  method: "GET",
78
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.40", "User-Agent": "vellum-ai/0.14.40", "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),
78
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.42", "User-Agent": "vellum-ai/0.14.42", "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),
79
79
  contentType: "application/json",
80
80
  requestType: "json",
81
81
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -128,7 +128,7 @@ class ReleaseReviews {
128
128
  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)
129
129
  .default, `v1/workflow-deployments/${encodeURIComponent(id)}/releases/${encodeURIComponent(releaseIdOrReleaseTag)}`),
130
130
  method: "GET",
131
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.40", "User-Agent": "vellum-ai/0.14.40", "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),
131
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.42", "User-Agent": "vellum-ai/0.14.42", "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),
132
132
  contentType: "application/json",
133
133
  requestType: "json",
134
134
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,