vellum-ai 1.2.0 → 1.2.1

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 (126) hide show
  1. package/Client.d.ts +3 -0
  2. package/Client.js +54 -49
  3. package/api/errors/TooManyRequestsError.d.ts +9 -0
  4. package/api/errors/TooManyRequestsError.js +52 -0
  5. package/api/errors/UnauthorizedError.d.ts +9 -0
  6. package/api/errors/UnauthorizedError.js +52 -0
  7. package/api/errors/index.d.ts +2 -0
  8. package/api/errors/index.js +2 -0
  9. package/api/resources/adHoc/client/Client.js +2 -2
  10. package/api/resources/containerImages/client/Client.js +4 -4
  11. package/api/resources/deployments/client/Client.js +8 -8
  12. package/api/resources/documentIndexes/client/Client.js +8 -8
  13. package/api/resources/documents/client/Client.js +5 -5
  14. package/api/resources/events/client/Client.d.ts +69 -0
  15. package/api/resources/events/client/Client.js +179 -0
  16. package/api/resources/events/client/index.d.ts +1 -0
  17. package/api/resources/events/client/index.js +2 -0
  18. package/api/resources/events/index.d.ts +1 -0
  19. package/api/resources/events/index.js +17 -0
  20. package/api/resources/folderEntities/client/Client.js +2 -2
  21. package/api/resources/index.d.ts +1 -0
  22. package/api/resources/index.js +2 -1
  23. package/api/resources/metricDefinitions/client/Client.js +2 -2
  24. package/api/resources/mlModels/client/Client.js +1 -1
  25. package/api/resources/organizations/client/Client.js +1 -1
  26. package/api/resources/prompts/client/Client.js +2 -2
  27. package/api/resources/sandboxes/client/Client.js +3 -3
  28. package/api/resources/testSuiteRuns/client/Client.js +3 -3
  29. package/api/resources/testSuites/client/Client.js +4 -4
  30. package/api/resources/workflowDeployments/client/Client.js +9 -9
  31. package/api/resources/workflowExecutions/client/Client.js +1 -1
  32. package/api/resources/workflowSandboxes/client/Client.js +2 -2
  33. package/api/resources/workflows/client/Client.js +2 -2
  34. package/api/resources/workspaceSecrets/client/Client.js +2 -2
  35. package/api/resources/workspaces/client/Client.js +1 -1
  36. package/api/types/ErrorDetailResponse.d.ts +7 -0
  37. package/api/types/ErrorDetailResponse.js +5 -0
  38. package/api/types/EventCreateResponse.d.ts +10 -0
  39. package/api/types/EventCreateResponse.js +5 -0
  40. package/api/types/ExecutionThinkingVellumValue.d.ts +1 -1
  41. package/api/types/ThinkingVellumValue.d.ts +1 -1
  42. package/api/types/ThinkingVellumValueRequest.d.ts +1 -1
  43. package/api/types/WorkflowEvent.d.ts +5 -0
  44. package/api/types/WorkflowEvent.js +5 -0
  45. package/api/types/index.d.ts +3 -0
  46. package/api/types/index.js +3 -0
  47. package/dist/Client.d.ts +3 -0
  48. package/dist/Client.js +54 -49
  49. package/dist/api/errors/TooManyRequestsError.d.ts +9 -0
  50. package/dist/api/errors/TooManyRequestsError.js +52 -0
  51. package/dist/api/errors/UnauthorizedError.d.ts +9 -0
  52. package/dist/api/errors/UnauthorizedError.js +52 -0
  53. package/dist/api/errors/index.d.ts +2 -0
  54. package/dist/api/errors/index.js +2 -0
  55. package/dist/api/resources/adHoc/client/Client.js +2 -2
  56. package/dist/api/resources/containerImages/client/Client.js +4 -4
  57. package/dist/api/resources/deployments/client/Client.js +8 -8
  58. package/dist/api/resources/documentIndexes/client/Client.js +8 -8
  59. package/dist/api/resources/documents/client/Client.js +5 -5
  60. package/dist/api/resources/events/client/Client.d.ts +69 -0
  61. package/dist/api/resources/events/client/Client.js +179 -0
  62. package/dist/api/resources/events/client/index.d.ts +1 -0
  63. package/dist/api/resources/events/client/index.js +2 -0
  64. package/dist/api/resources/events/index.d.ts +1 -0
  65. package/dist/api/resources/events/index.js +17 -0
  66. package/dist/api/resources/folderEntities/client/Client.js +2 -2
  67. package/dist/api/resources/index.d.ts +1 -0
  68. package/dist/api/resources/index.js +2 -1
  69. package/dist/api/resources/metricDefinitions/client/Client.js +2 -2
  70. package/dist/api/resources/mlModels/client/Client.js +1 -1
  71. package/dist/api/resources/organizations/client/Client.js +1 -1
  72. package/dist/api/resources/prompts/client/Client.js +2 -2
  73. package/dist/api/resources/sandboxes/client/Client.js +3 -3
  74. package/dist/api/resources/testSuiteRuns/client/Client.js +3 -3
  75. package/dist/api/resources/testSuites/client/Client.js +4 -4
  76. package/dist/api/resources/workflowDeployments/client/Client.js +9 -9
  77. package/dist/api/resources/workflowExecutions/client/Client.js +1 -1
  78. package/dist/api/resources/workflowSandboxes/client/Client.js +2 -2
  79. package/dist/api/resources/workflows/client/Client.js +2 -2
  80. package/dist/api/resources/workspaceSecrets/client/Client.js +2 -2
  81. package/dist/api/resources/workspaces/client/Client.js +1 -1
  82. package/dist/api/types/ErrorDetailResponse.d.ts +7 -0
  83. package/dist/api/types/ErrorDetailResponse.js +5 -0
  84. package/dist/api/types/EventCreateResponse.d.ts +10 -0
  85. package/dist/api/types/EventCreateResponse.js +5 -0
  86. package/dist/api/types/ExecutionThinkingVellumValue.d.ts +1 -1
  87. package/dist/api/types/ThinkingVellumValue.d.ts +1 -1
  88. package/dist/api/types/ThinkingVellumValueRequest.d.ts +1 -1
  89. package/dist/api/types/WorkflowEvent.d.ts +5 -0
  90. package/dist/api/types/WorkflowEvent.js +5 -0
  91. package/dist/api/types/index.d.ts +3 -0
  92. package/dist/api/types/index.js +3 -0
  93. package/dist/serialization/types/ErrorDetailResponse.d.ts +12 -0
  94. package/dist/serialization/types/ErrorDetailResponse.js +43 -0
  95. package/dist/serialization/types/EventCreateResponse.d.ts +12 -0
  96. package/dist/serialization/types/EventCreateResponse.js +43 -0
  97. package/dist/serialization/types/ExecutionThinkingVellumValue.d.ts +1 -1
  98. package/dist/serialization/types/ExecutionThinkingVellumValue.js +1 -1
  99. package/dist/serialization/types/ThinkingVellumValue.d.ts +1 -1
  100. package/dist/serialization/types/ThinkingVellumValue.js +1 -1
  101. package/dist/serialization/types/ThinkingVellumValueRequest.d.ts +1 -1
  102. package/dist/serialization/types/ThinkingVellumValueRequest.js +1 -1
  103. package/dist/serialization/types/WorkflowEvent.d.ts +23 -0
  104. package/dist/serialization/types/WorkflowEvent.js +68 -0
  105. package/dist/serialization/types/index.d.ts +3 -0
  106. package/dist/serialization/types/index.js +3 -0
  107. package/dist/version.d.ts +1 -1
  108. package/dist/version.js +1 -1
  109. package/package.json +1 -1
  110. package/reference.md +83 -0
  111. package/serialization/types/ErrorDetailResponse.d.ts +12 -0
  112. package/serialization/types/ErrorDetailResponse.js +43 -0
  113. package/serialization/types/EventCreateResponse.d.ts +12 -0
  114. package/serialization/types/EventCreateResponse.js +43 -0
  115. package/serialization/types/ExecutionThinkingVellumValue.d.ts +1 -1
  116. package/serialization/types/ExecutionThinkingVellumValue.js +1 -1
  117. package/serialization/types/ThinkingVellumValue.d.ts +1 -1
  118. package/serialization/types/ThinkingVellumValue.js +1 -1
  119. package/serialization/types/ThinkingVellumValueRequest.d.ts +1 -1
  120. package/serialization/types/ThinkingVellumValueRequest.js +1 -1
  121. package/serialization/types/WorkflowEvent.d.ts +23 -0
  122. package/serialization/types/WorkflowEvent.js +68 -0
  123. package/serialization/types/index.d.ts +3 -0
  124. package/serialization/types/index.js +3 -0
  125. package/version.d.ts +1 -1
  126. package/version.js +1 -1
package/Client.d.ts CHANGED
@@ -4,6 +4,7 @@
4
4
  import * as environments from "./environments";
5
5
  import * as core from "./core";
6
6
  import * as Vellum from "./api/index";
7
+ import { Events } from "./api/resources/events/client/Client";
7
8
  import { AdHoc } from "./api/resources/adHoc/client/Client";
8
9
  import { ContainerImages } from "./api/resources/containerImages/client/Client";
9
10
  import { Deployments } from "./api/resources/deployments/client/Client";
@@ -47,6 +48,7 @@ export declare namespace VellumClient {
47
48
  }
48
49
  export declare class VellumClient {
49
50
  protected readonly _options: VellumClient.Options;
51
+ protected _events: Events | undefined;
50
52
  protected _adHoc: AdHoc | undefined;
51
53
  protected _containerImages: ContainerImages | undefined;
52
54
  protected _deployments: Deployments | undefined;
@@ -67,6 +69,7 @@ export declare class VellumClient {
67
69
  protected _workspaceSecrets: WorkspaceSecrets | undefined;
68
70
  protected _workspaces: Workspaces | undefined;
69
71
  constructor(_options: VellumClient.Options);
72
+ get events(): Events;
70
73
  get adHoc(): AdHoc;
71
74
  get containerImages(): ContainerImages;
72
75
  get deployments(): Deployments;
package/Client.js CHANGED
@@ -55,104 +55,109 @@ const Vellum = __importStar(require("./api/index"));
55
55
  const serializers = __importStar(require("./serialization/index"));
56
56
  const url_join_1 = __importDefault(require("url-join"));
57
57
  const errors = __importStar(require("./errors/index"));
58
- const Client_1 = require("./api/resources/adHoc/client/Client");
59
- const Client_2 = require("./api/resources/containerImages/client/Client");
60
- const Client_3 = require("./api/resources/deployments/client/Client");
61
- const Client_4 = require("./api/resources/documentIndexes/client/Client");
62
- const Client_5 = require("./api/resources/documents/client/Client");
63
- const Client_6 = require("./api/resources/folderEntities/client/Client");
64
- const Client_7 = require("./api/resources/metricDefinitions/client/Client");
65
- const Client_8 = require("./api/resources/mlModels/client/Client");
66
- const Client_9 = require("./api/resources/organizations/client/Client");
67
- const Client_10 = require("./api/resources/prompts/client/Client");
68
- const Client_11 = require("./api/resources/sandboxes/client/Client");
69
- const Client_12 = require("./api/resources/testSuiteRuns/client/Client");
70
- const Client_13 = require("./api/resources/testSuites/client/Client");
71
- const Client_14 = require("./api/resources/workflowDeployments/client/Client");
72
- const Client_15 = require("./api/resources/workflowExecutions/client/Client");
73
- const Client_16 = require("./api/resources/workflowSandboxes/client/Client");
74
- const Client_17 = require("./api/resources/workflows/client/Client");
75
- const Client_18 = require("./api/resources/workspaceSecrets/client/Client");
76
- const Client_19 = require("./api/resources/workspaces/client/Client");
58
+ const Client_1 = require("./api/resources/events/client/Client");
59
+ const Client_2 = require("./api/resources/adHoc/client/Client");
60
+ const Client_3 = require("./api/resources/containerImages/client/Client");
61
+ const Client_4 = require("./api/resources/deployments/client/Client");
62
+ const Client_5 = require("./api/resources/documentIndexes/client/Client");
63
+ const Client_6 = require("./api/resources/documents/client/Client");
64
+ const Client_7 = require("./api/resources/folderEntities/client/Client");
65
+ const Client_8 = require("./api/resources/metricDefinitions/client/Client");
66
+ const Client_9 = require("./api/resources/mlModels/client/Client");
67
+ const Client_10 = require("./api/resources/organizations/client/Client");
68
+ const Client_11 = require("./api/resources/prompts/client/Client");
69
+ const Client_12 = require("./api/resources/sandboxes/client/Client");
70
+ const Client_13 = require("./api/resources/testSuiteRuns/client/Client");
71
+ const Client_14 = require("./api/resources/testSuites/client/Client");
72
+ const Client_15 = require("./api/resources/workflowDeployments/client/Client");
73
+ const Client_16 = require("./api/resources/workflowExecutions/client/Client");
74
+ const Client_17 = require("./api/resources/workflowSandboxes/client/Client");
75
+ const Client_18 = require("./api/resources/workflows/client/Client");
76
+ const Client_19 = require("./api/resources/workspaceSecrets/client/Client");
77
+ const Client_20 = require("./api/resources/workspaces/client/Client");
77
78
  class VellumClient {
78
79
  constructor(_options) {
79
80
  this._options = _options;
80
81
  }
82
+ get events() {
83
+ var _a;
84
+ return ((_a = this._events) !== null && _a !== void 0 ? _a : (this._events = new Client_1.Events(this._options)));
85
+ }
81
86
  get adHoc() {
82
87
  var _a;
83
- return ((_a = this._adHoc) !== null && _a !== void 0 ? _a : (this._adHoc = new Client_1.AdHoc(this._options)));
88
+ return ((_a = this._adHoc) !== null && _a !== void 0 ? _a : (this._adHoc = new Client_2.AdHoc(this._options)));
84
89
  }
85
90
  get containerImages() {
86
91
  var _a;
87
- return ((_a = this._containerImages) !== null && _a !== void 0 ? _a : (this._containerImages = new Client_2.ContainerImages(this._options)));
92
+ return ((_a = this._containerImages) !== null && _a !== void 0 ? _a : (this._containerImages = new Client_3.ContainerImages(this._options)));
88
93
  }
89
94
  get deployments() {
90
95
  var _a;
91
- return ((_a = this._deployments) !== null && _a !== void 0 ? _a : (this._deployments = new Client_3.Deployments(this._options)));
96
+ return ((_a = this._deployments) !== null && _a !== void 0 ? _a : (this._deployments = new Client_4.Deployments(this._options)));
92
97
  }
93
98
  get documentIndexes() {
94
99
  var _a;
95
- return ((_a = this._documentIndexes) !== null && _a !== void 0 ? _a : (this._documentIndexes = new Client_4.DocumentIndexes(this._options)));
100
+ return ((_a = this._documentIndexes) !== null && _a !== void 0 ? _a : (this._documentIndexes = new Client_5.DocumentIndexes(this._options)));
96
101
  }
97
102
  get documents() {
98
103
  var _a;
99
- return ((_a = this._documents) !== null && _a !== void 0 ? _a : (this._documents = new Client_5.Documents(this._options)));
104
+ return ((_a = this._documents) !== null && _a !== void 0 ? _a : (this._documents = new Client_6.Documents(this._options)));
100
105
  }
101
106
  get folderEntities() {
102
107
  var _a;
103
- return ((_a = this._folderEntities) !== null && _a !== void 0 ? _a : (this._folderEntities = new Client_6.FolderEntities(this._options)));
108
+ return ((_a = this._folderEntities) !== null && _a !== void 0 ? _a : (this._folderEntities = new Client_7.FolderEntities(this._options)));
104
109
  }
105
110
  get metricDefinitions() {
106
111
  var _a;
107
- return ((_a = this._metricDefinitions) !== null && _a !== void 0 ? _a : (this._metricDefinitions = new Client_7.MetricDefinitions(this._options)));
112
+ return ((_a = this._metricDefinitions) !== null && _a !== void 0 ? _a : (this._metricDefinitions = new Client_8.MetricDefinitions(this._options)));
108
113
  }
109
114
  get mlModels() {
110
115
  var _a;
111
- return ((_a = this._mlModels) !== null && _a !== void 0 ? _a : (this._mlModels = new Client_8.MlModels(this._options)));
116
+ return ((_a = this._mlModels) !== null && _a !== void 0 ? _a : (this._mlModels = new Client_9.MlModels(this._options)));
112
117
  }
113
118
  get organizations() {
114
119
  var _a;
115
- return ((_a = this._organizations) !== null && _a !== void 0 ? _a : (this._organizations = new Client_9.Organizations(this._options)));
120
+ return ((_a = this._organizations) !== null && _a !== void 0 ? _a : (this._organizations = new Client_10.Organizations(this._options)));
116
121
  }
117
122
  get prompts() {
118
123
  var _a;
119
- return ((_a = this._prompts) !== null && _a !== void 0 ? _a : (this._prompts = new Client_10.Prompts(this._options)));
124
+ return ((_a = this._prompts) !== null && _a !== void 0 ? _a : (this._prompts = new Client_11.Prompts(this._options)));
120
125
  }
121
126
  get sandboxes() {
122
127
  var _a;
123
- return ((_a = this._sandboxes) !== null && _a !== void 0 ? _a : (this._sandboxes = new Client_11.Sandboxes(this._options)));
128
+ return ((_a = this._sandboxes) !== null && _a !== void 0 ? _a : (this._sandboxes = new Client_12.Sandboxes(this._options)));
124
129
  }
125
130
  get testSuiteRuns() {
126
131
  var _a;
127
- return ((_a = this._testSuiteRuns) !== null && _a !== void 0 ? _a : (this._testSuiteRuns = new Client_12.TestSuiteRuns(this._options)));
132
+ return ((_a = this._testSuiteRuns) !== null && _a !== void 0 ? _a : (this._testSuiteRuns = new Client_13.TestSuiteRuns(this._options)));
128
133
  }
129
134
  get testSuites() {
130
135
  var _a;
131
- return ((_a = this._testSuites) !== null && _a !== void 0 ? _a : (this._testSuites = new Client_13.TestSuites(this._options)));
136
+ return ((_a = this._testSuites) !== null && _a !== void 0 ? _a : (this._testSuites = new Client_14.TestSuites(this._options)));
132
137
  }
133
138
  get workflowDeployments() {
134
139
  var _a;
135
- return ((_a = this._workflowDeployments) !== null && _a !== void 0 ? _a : (this._workflowDeployments = new Client_14.WorkflowDeployments(this._options)));
140
+ return ((_a = this._workflowDeployments) !== null && _a !== void 0 ? _a : (this._workflowDeployments = new Client_15.WorkflowDeployments(this._options)));
136
141
  }
137
142
  get workflowExecutions() {
138
143
  var _a;
139
- return ((_a = this._workflowExecutions) !== null && _a !== void 0 ? _a : (this._workflowExecutions = new Client_15.WorkflowExecutions(this._options)));
144
+ return ((_a = this._workflowExecutions) !== null && _a !== void 0 ? _a : (this._workflowExecutions = new Client_16.WorkflowExecutions(this._options)));
140
145
  }
141
146
  get workflowSandboxes() {
142
147
  var _a;
143
- return ((_a = this._workflowSandboxes) !== null && _a !== void 0 ? _a : (this._workflowSandboxes = new Client_16.WorkflowSandboxes(this._options)));
148
+ return ((_a = this._workflowSandboxes) !== null && _a !== void 0 ? _a : (this._workflowSandboxes = new Client_17.WorkflowSandboxes(this._options)));
144
149
  }
145
150
  get workflows() {
146
151
  var _a;
147
- return ((_a = this._workflows) !== null && _a !== void 0 ? _a : (this._workflows = new Client_17.Workflows(this._options)));
152
+ return ((_a = this._workflows) !== null && _a !== void 0 ? _a : (this._workflows = new Client_18.Workflows(this._options)));
148
153
  }
149
154
  get workspaceSecrets() {
150
155
  var _a;
151
- return ((_a = this._workspaceSecrets) !== null && _a !== void 0 ? _a : (this._workspaceSecrets = new Client_18.WorkspaceSecrets(this._options)));
156
+ return ((_a = this._workspaceSecrets) !== null && _a !== void 0 ? _a : (this._workspaceSecrets = new Client_19.WorkspaceSecrets(this._options)));
152
157
  }
153
158
  get workspaces() {
154
159
  var _a;
155
- return ((_a = this._workspaces) !== null && _a !== void 0 ? _a : (this._workspaces = new Client_19.Workspaces(this._options)));
160
+ return ((_a = this._workspaces) !== null && _a !== void 0 ? _a : (this._workspaces = new Client_20.Workspaces(this._options)));
156
161
  }
157
162
  /**
158
163
  * @param {Vellum.ExecuteApiRequest} request
@@ -177,7 +182,7 @@ class VellumClient {
177
182
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
178
183
  unrecognizedObjectKeys: "strip",
179
184
  })
180
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.0", "User-Agent": "vellum-ai/1.2.0", "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),
185
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.1", "User-Agent": "vellum-ai/1.2.1", "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),
181
186
  contentType: "application/json",
182
187
  requestType: "json",
183
188
  body: serializers.ExecuteApiRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -263,7 +268,7 @@ class VellumClient {
263
268
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
264
269
  unrecognizedObjectKeys: "strip",
265
270
  })
266
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.0", "User-Agent": "vellum-ai/1.2.0", "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),
271
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.1", "User-Agent": "vellum-ai/1.2.1", "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),
267
272
  contentType: "application/json",
268
273
  requestType: "json",
269
274
  body: serializers.CodeExecutor.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -349,7 +354,7 @@ class VellumClient {
349
354
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
350
355
  unrecognizedObjectKeys: "strip",
351
356
  })
352
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.0", "User-Agent": "vellum-ai/1.2.0", "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
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.1", "User-Agent": "vellum-ai/1.2.1", "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),
353
358
  contentType: "application/json",
354
359
  requestType: "json",
355
360
  body: serializers.ExecutePromptRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -420,7 +425,7 @@ class VellumClient {
420
425
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
421
426
  unrecognizedObjectKeys: "strip",
422
427
  })
423
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.0", "User-Agent": "vellum-ai/1.2.0", "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),
428
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.1", "User-Agent": "vellum-ai/1.2.1", "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),
424
429
  contentType: "application/json",
425
430
  requestType: "json",
426
431
  body: serializers.ExecutePromptStreamRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -522,7 +527,7 @@ class VellumClient {
522
527
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
523
528
  unrecognizedObjectKeys: "strip",
524
529
  })
525
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.0", "User-Agent": "vellum-ai/1.2.0", "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),
530
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.1", "User-Agent": "vellum-ai/1.2.1", "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),
526
531
  contentType: "application/json",
527
532
  requestType: "json",
528
533
  body: serializers.ExecuteWorkflowRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -591,7 +596,7 @@ class VellumClient {
591
596
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
592
597
  unrecognizedObjectKeys: "strip",
593
598
  })
594
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.0", "User-Agent": "vellum-ai/1.2.0", "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),
599
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.1", "User-Agent": "vellum-ai/1.2.1", "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),
595
600
  contentType: "application/json",
596
601
  requestType: "json",
597
602
  body: serializers.ExecuteWorkflowStreamRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -699,7 +704,7 @@ class VellumClient {
699
704
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
700
705
  unrecognizedObjectKeys: "strip",
701
706
  })
702
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.0", "User-Agent": "vellum-ai/1.2.0", "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),
707
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.1", "User-Agent": "vellum-ai/1.2.1", "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),
703
708
  contentType: "application/json",
704
709
  requestType: "json",
705
710
  body: serializers.GenerateBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -773,7 +778,7 @@ class VellumClient {
773
778
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
774
779
  unrecognizedObjectKeys: "strip",
775
780
  })
776
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.0", "User-Agent": "vellum-ai/1.2.0", "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),
781
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.1", "User-Agent": "vellum-ai/1.2.1", "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),
777
782
  contentType: "application/json",
778
783
  requestType: "json",
779
784
  body: serializers.GenerateStreamBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -867,7 +872,7 @@ class VellumClient {
867
872
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
868
873
  unrecognizedObjectKeys: "strip",
869
874
  })
870
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.0", "User-Agent": "vellum-ai/1.2.0", "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),
875
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.1", "User-Agent": "vellum-ai/1.2.1", "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),
871
876
  contentType: "application/json",
872
877
  requestType: "json",
873
878
  body: serializers.SearchRequestBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -948,7 +953,7 @@ class VellumClient {
948
953
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
949
954
  unrecognizedObjectKeys: "strip",
950
955
  })
951
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.0", "User-Agent": "vellum-ai/1.2.0", "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),
956
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.1", "User-Agent": "vellum-ai/1.2.1", "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),
952
957
  contentType: "application/json",
953
958
  requestType: "json",
954
959
  body: serializers.SubmitCompletionActualsRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -1023,7 +1028,7 @@ class VellumClient {
1023
1028
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
1024
1029
  unrecognizedObjectKeys: "strip",
1025
1030
  })
1026
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.0", "User-Agent": "vellum-ai/1.2.0", "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),
1031
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.1", "User-Agent": "vellum-ai/1.2.1", "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),
1027
1032
  contentType: "application/json",
1028
1033
  requestType: "json",
1029
1034
  body: serializers.SubmitWorkflowExecutionActualsRequest.jsonOrThrow(request, {
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as errors from "../../errors/index";
5
+ import * as Vellum from "../index";
6
+ import * as core from "../../core";
7
+ export declare class TooManyRequestsError extends errors.VellumError {
8
+ constructor(body: Vellum.ErrorDetailResponse, rawResponse?: core.RawResponse);
9
+ }
@@ -0,0 +1,52 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.TooManyRequestsError = void 0;
40
+ const errors = __importStar(require("../../errors/index"));
41
+ class TooManyRequestsError extends errors.VellumError {
42
+ constructor(body, rawResponse) {
43
+ super({
44
+ message: "TooManyRequestsError",
45
+ statusCode: 429,
46
+ body: body,
47
+ rawResponse: rawResponse,
48
+ });
49
+ Object.setPrototypeOf(this, TooManyRequestsError.prototype);
50
+ }
51
+ }
52
+ exports.TooManyRequestsError = TooManyRequestsError;
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as errors from "../../errors/index";
5
+ import * as Vellum from "../index";
6
+ import * as core from "../../core";
7
+ export declare class UnauthorizedError extends errors.VellumError {
8
+ constructor(body: Vellum.ErrorDetailResponse, rawResponse?: core.RawResponse);
9
+ }
@@ -0,0 +1,52 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.UnauthorizedError = void 0;
40
+ const errors = __importStar(require("../../errors/index"));
41
+ class UnauthorizedError extends errors.VellumError {
42
+ constructor(body, rawResponse) {
43
+ super({
44
+ message: "UnauthorizedError",
45
+ statusCode: 401,
46
+ body: body,
47
+ rawResponse: rawResponse,
48
+ });
49
+ Object.setPrototypeOf(this, UnauthorizedError.prototype);
50
+ }
51
+ }
52
+ exports.UnauthorizedError = UnauthorizedError;
@@ -1,4 +1,6 @@
1
1
  export * from "./BadRequestError";
2
+ export * from "./UnauthorizedError";
2
3
  export * from "./ForbiddenError";
4
+ export * from "./TooManyRequestsError";
3
5
  export * from "./InternalServerError";
4
6
  export * from "./NotFoundError";
@@ -15,6 +15,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./BadRequestError"), exports);
18
+ __exportStar(require("./UnauthorizedError"), exports);
18
19
  __exportStar(require("./ForbiddenError"), exports);
20
+ __exportStar(require("./TooManyRequestsError"), exports);
19
21
  __exportStar(require("./InternalServerError"), exports);
20
22
  __exportStar(require("./NotFoundError"), exports);
@@ -112,7 +112,7 @@ class AdHoc {
112
112
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
113
113
  unrecognizedObjectKeys: "strip",
114
114
  })
115
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.0", "User-Agent": "vellum-ai/1.2.0", "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),
115
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.1", "User-Agent": "vellum-ai/1.2.1", "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),
116
116
  contentType: "application/json",
117
117
  requestType: "json",
118
118
  body: serializers.AdHocExecutePrompt.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -178,7 +178,7 @@ class AdHoc {
178
178
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
179
179
  unrecognizedObjectKeys: "strip",
180
180
  })
181
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.0", "User-Agent": "vellum-ai/1.2.0", "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),
181
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.1", "User-Agent": "vellum-ai/1.2.1", "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),
182
182
  contentType: "application/json",
183
183
  requestType: "json",
184
184
  body: serializers.AdHocExecutePromptStream.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -92,7 +92,7 @@ class ContainerImages {
92
92
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
93
93
  unrecognizedObjectKeys: "strip",
94
94
  })
95
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.0", "User-Agent": "vellum-ai/1.2.0", "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
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.1", "User-Agent": "vellum-ai/1.2.1", "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",
@@ -158,7 +158,7 @@ class ContainerImages {
158
158
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
159
159
  unrecognizedObjectKeys: "strip",
160
160
  })
161
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.0", "User-Agent": "vellum-ai/1.2.0", "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),
161
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.1", "User-Agent": "vellum-ai/1.2.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
162
162
  contentType: "application/json",
163
163
  requestType: "json",
164
164
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -220,7 +220,7 @@ class ContainerImages {
220
220
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
221
221
  unrecognizedObjectKeys: "strip",
222
222
  })
223
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.0", "User-Agent": "vellum-ai/1.2.0", "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),
223
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.1", "User-Agent": "vellum-ai/1.2.1", "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),
224
224
  contentType: "application/json",
225
225
  requestType: "json",
226
226
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -287,7 +287,7 @@ class ContainerImages {
287
287
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
288
288
  unrecognizedObjectKeys: "strip",
289
289
  })
290
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.0", "User-Agent": "vellum-ai/1.2.0", "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),
290
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.1", "User-Agent": "vellum-ai/1.2.1", "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),
291
291
  contentType: "application/json",
292
292
  requestType: "json",
293
293
  body: serializers.PushContainerImageRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -98,7 +98,7 @@ class Deployments {
98
98
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
99
99
  unrecognizedObjectKeys: "strip",
100
100
  })
101
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.0", "User-Agent": "vellum-ai/1.2.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
101
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.1", "User-Agent": "vellum-ai/1.2.1", "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),
102
102
  contentType: "application/json",
103
103
  queryParameters: _queryParams,
104
104
  requestType: "json",
@@ -164,7 +164,7 @@ class Deployments {
164
164
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
165
165
  unrecognizedObjectKeys: "strip",
166
166
  })
167
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.0", "User-Agent": "vellum-ai/1.2.0", "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),
167
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.1", "User-Agent": "vellum-ai/1.2.1", "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
168
  contentType: "application/json",
169
169
  requestType: "json",
170
170
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -231,7 +231,7 @@ class Deployments {
231
231
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
232
232
  unrecognizedObjectKeys: "strip",
233
233
  })
234
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.0", "User-Agent": "vellum-ai/1.2.0", "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
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.1", "User-Agent": "vellum-ai/1.2.1", "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),
235
235
  contentType: "application/json",
236
236
  requestType: "json",
237
237
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -313,7 +313,7 @@ class Deployments {
313
313
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
314
314
  unrecognizedObjectKeys: "strip",
315
315
  })
316
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.0", "User-Agent": "vellum-ai/1.2.0", "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),
316
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.1", "User-Agent": "vellum-ai/1.2.1", "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),
317
317
  contentType: "application/json",
318
318
  queryParameters: _queryParams,
319
319
  requestType: "json",
@@ -380,7 +380,7 @@ class Deployments {
380
380
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
381
381
  unrecognizedObjectKeys: "strip",
382
382
  })
383
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.0", "User-Agent": "vellum-ai/1.2.0", "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),
383
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.1", "User-Agent": "vellum-ai/1.2.1", "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),
384
384
  contentType: "application/json",
385
385
  requestType: "json",
386
386
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -447,7 +447,7 @@ class Deployments {
447
447
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
448
448
  unrecognizedObjectKeys: "strip",
449
449
  })
450
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.0", "User-Agent": "vellum-ai/1.2.0", "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),
450
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.1", "User-Agent": "vellum-ai/1.2.1", "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),
451
451
  contentType: "application/json",
452
452
  requestType: "json",
453
453
  body: serializers.PatchedDeploymentReleaseTagUpdateRequest.jsonOrThrow(request, {
@@ -516,7 +516,7 @@ class Deployments {
516
516
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
517
517
  unrecognizedObjectKeys: "strip",
518
518
  })
519
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.0", "User-Agent": "vellum-ai/1.2.0", "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),
519
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.1", "User-Agent": "vellum-ai/1.2.1", "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),
520
520
  contentType: "application/json",
521
521
  requestType: "json",
522
522
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -605,7 +605,7 @@ class Deployments {
605
605
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
606
606
  unrecognizedObjectKeys: "strip",
607
607
  })
608
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.0", "User-Agent": "vellum-ai/1.2.0", "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),
608
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.2.1", "User-Agent": "vellum-ai/1.2.1", "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),
609
609
  contentType: "application/json",
610
610
  requestType: "json",
611
611
  body: serializers.DeploymentProviderPayloadRequest.jsonOrThrow(request, {