vellum-ai 0.2.1 → 0.2.2
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.
- package/Client.js +10 -10
- package/api/resources/deployments/client/Client.js +3 -3
- package/api/resources/documentIndexes/client/Client.js +2 -2
- package/api/resources/documents/client/Client.js +4 -4
- package/api/resources/modelVersions/client/Client.js +1 -1
- package/api/resources/registeredPrompts/client/Client.js +1 -1
- package/api/resources/sandboxes/client/Client.js +2 -2
- package/api/resources/testSuites/client/Client.js +2 -2
- package/api/resources/workflowDeployments/client/Client.js +1 -1
- package/dist/Client.js +10 -10
- package/dist/api/resources/deployments/client/Client.js +3 -3
- package/dist/api/resources/documentIndexes/client/Client.js +2 -2
- package/dist/api/resources/documents/client/Client.js +4 -4
- package/dist/api/resources/modelVersions/client/Client.js +1 -1
- package/dist/api/resources/registeredPrompts/client/Client.js +1 -1
- package/dist/api/resources/sandboxes/client/Client.js +2 -2
- package/dist/api/resources/testSuites/client/Client.js +2 -2
- package/dist/api/resources/workflowDeployments/client/Client.js +1 -1
- package/package.json +1 -1
package/Client.js
CHANGED
|
@@ -78,7 +78,7 @@ class VellumClient {
|
|
|
78
78
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
79
79
|
"X-Fern-Language": "JavaScript",
|
|
80
80
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
81
|
-
"X-Fern-SDK-Version": "v0.2.
|
|
81
|
+
"X-Fern-SDK-Version": "v0.2.2",
|
|
82
82
|
},
|
|
83
83
|
contentType: "application/json",
|
|
84
84
|
body: yield serializers.ExecutePromptRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -142,7 +142,7 @@ class VellumClient {
|
|
|
142
142
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
143
143
|
"X-Fern-Language": "JavaScript",
|
|
144
144
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
145
|
-
"X-Fern-SDK-Version": "v0.2.
|
|
145
|
+
"X-Fern-SDK-Version": "v0.2.2",
|
|
146
146
|
},
|
|
147
147
|
contentType: "application/json",
|
|
148
148
|
body: yield serializers.ExecutePromptStreamRequest.jsonOrThrow(request, {
|
|
@@ -209,13 +209,13 @@ class VellumClient {
|
|
|
209
209
|
return __awaiter(this, void 0, void 0, function* () {
|
|
210
210
|
const _response = yield core.fetcher({
|
|
211
211
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
212
|
-
.
|
|
212
|
+
.predict, "v1/execute-workflow"),
|
|
213
213
|
method: "POST",
|
|
214
214
|
headers: {
|
|
215
215
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
216
216
|
"X-Fern-Language": "JavaScript",
|
|
217
217
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
218
|
-
"X-Fern-SDK-Version": "v0.2.
|
|
218
|
+
"X-Fern-SDK-Version": "v0.2.2",
|
|
219
219
|
},
|
|
220
220
|
contentType: "application/json",
|
|
221
221
|
body: yield serializers.ExecuteWorkflowRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -274,7 +274,7 @@ class VellumClient {
|
|
|
274
274
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
275
275
|
"X-Fern-Language": "JavaScript",
|
|
276
276
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
277
|
-
"X-Fern-SDK-Version": "v0.2.
|
|
277
|
+
"X-Fern-SDK-Version": "v0.2.2",
|
|
278
278
|
},
|
|
279
279
|
contentType: "application/json",
|
|
280
280
|
body: yield serializers.ExecuteWorkflowStreamRequest.jsonOrThrow(request, {
|
|
@@ -363,7 +363,7 @@ class VellumClient {
|
|
|
363
363
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
364
364
|
"X-Fern-Language": "JavaScript",
|
|
365
365
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
366
|
-
"X-Fern-SDK-Version": "v0.2.
|
|
366
|
+
"X-Fern-SDK-Version": "v0.2.2",
|
|
367
367
|
},
|
|
368
368
|
contentType: "application/json",
|
|
369
369
|
body: yield serializers.GenerateBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -426,7 +426,7 @@ class VellumClient {
|
|
|
426
426
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
427
427
|
"X-Fern-Language": "JavaScript",
|
|
428
428
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
429
|
-
"X-Fern-SDK-Version": "v0.2.
|
|
429
|
+
"X-Fern-SDK-Version": "v0.2.2",
|
|
430
430
|
},
|
|
431
431
|
contentType: "application/json",
|
|
432
432
|
body: yield serializers.GenerateStreamBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -518,7 +518,7 @@ class VellumClient {
|
|
|
518
518
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
519
519
|
"X-Fern-Language": "JavaScript",
|
|
520
520
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
521
|
-
"X-Fern-SDK-Version": "v0.2.
|
|
521
|
+
"X-Fern-SDK-Version": "v0.2.2",
|
|
522
522
|
},
|
|
523
523
|
contentType: "application/json",
|
|
524
524
|
body: yield serializers.SearchRequestBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -587,7 +587,7 @@ class VellumClient {
|
|
|
587
587
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
588
588
|
"X-Fern-Language": "JavaScript",
|
|
589
589
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
590
|
-
"X-Fern-SDK-Version": "v0.2.
|
|
590
|
+
"X-Fern-SDK-Version": "v0.2.2",
|
|
591
591
|
},
|
|
592
592
|
contentType: "application/json",
|
|
593
593
|
body: yield serializers.SubmitCompletionActualsRequest.jsonOrThrow(request, {
|
|
@@ -650,7 +650,7 @@ class VellumClient {
|
|
|
650
650
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
651
651
|
"X-Fern-Language": "JavaScript",
|
|
652
652
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
653
|
-
"X-Fern-SDK-Version": "v0.2.
|
|
653
|
+
"X-Fern-SDK-Version": "v0.2.2",
|
|
654
654
|
},
|
|
655
655
|
contentType: "application/json",
|
|
656
656
|
body: yield serializers.SubmitWorkflowExecutionActualsRequest.jsonOrThrow(request, {
|
|
@@ -73,7 +73,7 @@ class Deployments {
|
|
|
73
73
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
74
74
|
"X-Fern-Language": "JavaScript",
|
|
75
75
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
76
|
-
"X-Fern-SDK-Version": "v0.2.
|
|
76
|
+
"X-Fern-SDK-Version": "v0.2.2",
|
|
77
77
|
},
|
|
78
78
|
contentType: "application/json",
|
|
79
79
|
queryParameters: _queryParams,
|
|
@@ -126,7 +126,7 @@ class Deployments {
|
|
|
126
126
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
127
127
|
"X-Fern-Language": "JavaScript",
|
|
128
128
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
129
|
-
"X-Fern-SDK-Version": "v0.2.
|
|
129
|
+
"X-Fern-SDK-Version": "v0.2.2",
|
|
130
130
|
},
|
|
131
131
|
contentType: "application/json",
|
|
132
132
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -172,7 +172,7 @@ class Deployments {
|
|
|
172
172
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
173
173
|
"X-Fern-Language": "JavaScript",
|
|
174
174
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
175
|
-
"X-Fern-SDK-Version": "v0.2.
|
|
175
|
+
"X-Fern-SDK-Version": "v0.2.2",
|
|
176
176
|
},
|
|
177
177
|
contentType: "application/json",
|
|
178
178
|
body: yield serializers.DeploymentProviderPayloadRequest.jsonOrThrow(request, {
|
|
@@ -73,7 +73,7 @@ class DocumentIndexes {
|
|
|
73
73
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
74
74
|
"X-Fern-Language": "JavaScript",
|
|
75
75
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
76
|
-
"X-Fern-SDK-Version": "v0.2.
|
|
76
|
+
"X-Fern-SDK-Version": "v0.2.2",
|
|
77
77
|
},
|
|
78
78
|
contentType: "application/json",
|
|
79
79
|
body: yield serializers.DocumentIndexCreateRequest.jsonOrThrow(request, {
|
|
@@ -128,7 +128,7 @@ class DocumentIndexes {
|
|
|
128
128
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
129
129
|
"X-Fern-Language": "JavaScript",
|
|
130
130
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
131
|
-
"X-Fern-SDK-Version": "v0.2.
|
|
131
|
+
"X-Fern-SDK-Version": "v0.2.2",
|
|
132
132
|
},
|
|
133
133
|
contentType: "application/json",
|
|
134
134
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -81,7 +81,7 @@ class Documents {
|
|
|
81
81
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
82
82
|
"X-Fern-Language": "JavaScript",
|
|
83
83
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
84
|
-
"X-Fern-SDK-Version": "v0.2.
|
|
84
|
+
"X-Fern-SDK-Version": "v0.2.2",
|
|
85
85
|
},
|
|
86
86
|
contentType: "application/json",
|
|
87
87
|
queryParameters: _queryParams,
|
|
@@ -128,7 +128,7 @@ class Documents {
|
|
|
128
128
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
129
129
|
"X-Fern-Language": "JavaScript",
|
|
130
130
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
131
|
-
"X-Fern-SDK-Version": "v0.2.
|
|
131
|
+
"X-Fern-SDK-Version": "v0.2.2",
|
|
132
132
|
},
|
|
133
133
|
contentType: "application/json",
|
|
134
134
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -177,7 +177,7 @@ class Documents {
|
|
|
177
177
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
178
178
|
"X-Fern-Language": "JavaScript",
|
|
179
179
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
180
|
-
"X-Fern-SDK-Version": "v0.2.
|
|
180
|
+
"X-Fern-SDK-Version": "v0.2.2",
|
|
181
181
|
},
|
|
182
182
|
contentType: "application/json",
|
|
183
183
|
body: yield serializers.PatchedDocumentUpdateRequest.jsonOrThrow(request, {
|
|
@@ -253,7 +253,7 @@ class Documents {
|
|
|
253
253
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
254
254
|
"X-Fern-Language": "JavaScript",
|
|
255
255
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
256
|
-
"X-Fern-SDK-Version": "v0.2.
|
|
256
|
+
"X-Fern-SDK-Version": "v0.2.2",
|
|
257
257
|
},
|
|
258
258
|
contentType: "multipart/form-data; boundary=" + _request.getBoundary(),
|
|
259
259
|
body: _request,
|
|
@@ -65,7 +65,7 @@ class ModelVersions {
|
|
|
65
65
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
66
66
|
"X-Fern-Language": "JavaScript",
|
|
67
67
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
68
|
-
"X-Fern-SDK-Version": "v0.2.
|
|
68
|
+
"X-Fern-SDK-Version": "v0.2.2",
|
|
69
69
|
},
|
|
70
70
|
contentType: "application/json",
|
|
71
71
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -101,7 +101,7 @@ class RegisteredPrompts {
|
|
|
101
101
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
102
102
|
"X-Fern-Language": "JavaScript",
|
|
103
103
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
104
|
-
"X-Fern-SDK-Version": "v0.2.
|
|
104
|
+
"X-Fern-SDK-Version": "v0.2.2",
|
|
105
105
|
},
|
|
106
106
|
contentType: "application/json",
|
|
107
107
|
body: yield serializers.RegisterPromptRequestRequest.jsonOrThrow(request, {
|
|
@@ -82,7 +82,7 @@ class Sandboxes {
|
|
|
82
82
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
83
83
|
"X-Fern-Language": "JavaScript",
|
|
84
84
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
85
|
-
"X-Fern-SDK-Version": "v0.2.
|
|
85
|
+
"X-Fern-SDK-Version": "v0.2.2",
|
|
86
86
|
},
|
|
87
87
|
contentType: "application/json",
|
|
88
88
|
body: yield serializers.UpsertSandboxScenarioRequestRequest.jsonOrThrow(request, {
|
|
@@ -137,7 +137,7 @@ class Sandboxes {
|
|
|
137
137
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
138
138
|
"X-Fern-Language": "JavaScript",
|
|
139
139
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
140
|
-
"X-Fern-SDK-Version": "v0.2.
|
|
140
|
+
"X-Fern-SDK-Version": "v0.2.2",
|
|
141
141
|
},
|
|
142
142
|
contentType: "application/json",
|
|
143
143
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -74,7 +74,7 @@ class TestSuites {
|
|
|
74
74
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
75
75
|
"X-Fern-Language": "JavaScript",
|
|
76
76
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
77
|
-
"X-Fern-SDK-Version": "v0.2.
|
|
77
|
+
"X-Fern-SDK-Version": "v0.2.2",
|
|
78
78
|
},
|
|
79
79
|
contentType: "application/json",
|
|
80
80
|
body: yield serializers.UpsertTestSuiteTestCaseRequest.jsonOrThrow(request, {
|
|
@@ -129,7 +129,7 @@ class TestSuites {
|
|
|
129
129
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
130
130
|
"X-Fern-Language": "JavaScript",
|
|
131
131
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
132
|
-
"X-Fern-SDK-Version": "v0.2.
|
|
132
|
+
"X-Fern-SDK-Version": "v0.2.2",
|
|
133
133
|
},
|
|
134
134
|
contentType: "application/json",
|
|
135
135
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -73,7 +73,7 @@ class WorkflowDeployments {
|
|
|
73
73
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
74
74
|
"X-Fern-Language": "JavaScript",
|
|
75
75
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
76
|
-
"X-Fern-SDK-Version": "v0.2.
|
|
76
|
+
"X-Fern-SDK-Version": "v0.2.2",
|
|
77
77
|
},
|
|
78
78
|
contentType: "application/json",
|
|
79
79
|
queryParameters: _queryParams,
|
package/dist/Client.js
CHANGED
|
@@ -78,7 +78,7 @@ class VellumClient {
|
|
|
78
78
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
79
79
|
"X-Fern-Language": "JavaScript",
|
|
80
80
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
81
|
-
"X-Fern-SDK-Version": "v0.2.
|
|
81
|
+
"X-Fern-SDK-Version": "v0.2.2",
|
|
82
82
|
},
|
|
83
83
|
contentType: "application/json",
|
|
84
84
|
body: yield serializers.ExecutePromptRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -142,7 +142,7 @@ class VellumClient {
|
|
|
142
142
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
143
143
|
"X-Fern-Language": "JavaScript",
|
|
144
144
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
145
|
-
"X-Fern-SDK-Version": "v0.2.
|
|
145
|
+
"X-Fern-SDK-Version": "v0.2.2",
|
|
146
146
|
},
|
|
147
147
|
contentType: "application/json",
|
|
148
148
|
body: yield serializers.ExecutePromptStreamRequest.jsonOrThrow(request, {
|
|
@@ -209,13 +209,13 @@ class VellumClient {
|
|
|
209
209
|
return __awaiter(this, void 0, void 0, function* () {
|
|
210
210
|
const _response = yield core.fetcher({
|
|
211
211
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
212
|
-
.
|
|
212
|
+
.predict, "v1/execute-workflow"),
|
|
213
213
|
method: "POST",
|
|
214
214
|
headers: {
|
|
215
215
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
216
216
|
"X-Fern-Language": "JavaScript",
|
|
217
217
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
218
|
-
"X-Fern-SDK-Version": "v0.2.
|
|
218
|
+
"X-Fern-SDK-Version": "v0.2.2",
|
|
219
219
|
},
|
|
220
220
|
contentType: "application/json",
|
|
221
221
|
body: yield serializers.ExecuteWorkflowRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -274,7 +274,7 @@ class VellumClient {
|
|
|
274
274
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
275
275
|
"X-Fern-Language": "JavaScript",
|
|
276
276
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
277
|
-
"X-Fern-SDK-Version": "v0.2.
|
|
277
|
+
"X-Fern-SDK-Version": "v0.2.2",
|
|
278
278
|
},
|
|
279
279
|
contentType: "application/json",
|
|
280
280
|
body: yield serializers.ExecuteWorkflowStreamRequest.jsonOrThrow(request, {
|
|
@@ -363,7 +363,7 @@ class VellumClient {
|
|
|
363
363
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
364
364
|
"X-Fern-Language": "JavaScript",
|
|
365
365
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
366
|
-
"X-Fern-SDK-Version": "v0.2.
|
|
366
|
+
"X-Fern-SDK-Version": "v0.2.2",
|
|
367
367
|
},
|
|
368
368
|
contentType: "application/json",
|
|
369
369
|
body: yield serializers.GenerateBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -426,7 +426,7 @@ class VellumClient {
|
|
|
426
426
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
427
427
|
"X-Fern-Language": "JavaScript",
|
|
428
428
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
429
|
-
"X-Fern-SDK-Version": "v0.2.
|
|
429
|
+
"X-Fern-SDK-Version": "v0.2.2",
|
|
430
430
|
},
|
|
431
431
|
contentType: "application/json",
|
|
432
432
|
body: yield serializers.GenerateStreamBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -518,7 +518,7 @@ class VellumClient {
|
|
|
518
518
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
519
519
|
"X-Fern-Language": "JavaScript",
|
|
520
520
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
521
|
-
"X-Fern-SDK-Version": "v0.2.
|
|
521
|
+
"X-Fern-SDK-Version": "v0.2.2",
|
|
522
522
|
},
|
|
523
523
|
contentType: "application/json",
|
|
524
524
|
body: yield serializers.SearchRequestBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -587,7 +587,7 @@ class VellumClient {
|
|
|
587
587
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
588
588
|
"X-Fern-Language": "JavaScript",
|
|
589
589
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
590
|
-
"X-Fern-SDK-Version": "v0.2.
|
|
590
|
+
"X-Fern-SDK-Version": "v0.2.2",
|
|
591
591
|
},
|
|
592
592
|
contentType: "application/json",
|
|
593
593
|
body: yield serializers.SubmitCompletionActualsRequest.jsonOrThrow(request, {
|
|
@@ -650,7 +650,7 @@ class VellumClient {
|
|
|
650
650
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
651
651
|
"X-Fern-Language": "JavaScript",
|
|
652
652
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
653
|
-
"X-Fern-SDK-Version": "v0.2.
|
|
653
|
+
"X-Fern-SDK-Version": "v0.2.2",
|
|
654
654
|
},
|
|
655
655
|
contentType: "application/json",
|
|
656
656
|
body: yield serializers.SubmitWorkflowExecutionActualsRequest.jsonOrThrow(request, {
|
|
@@ -73,7 +73,7 @@ class Deployments {
|
|
|
73
73
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
74
74
|
"X-Fern-Language": "JavaScript",
|
|
75
75
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
76
|
-
"X-Fern-SDK-Version": "v0.2.
|
|
76
|
+
"X-Fern-SDK-Version": "v0.2.2",
|
|
77
77
|
},
|
|
78
78
|
contentType: "application/json",
|
|
79
79
|
queryParameters: _queryParams,
|
|
@@ -126,7 +126,7 @@ class Deployments {
|
|
|
126
126
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
127
127
|
"X-Fern-Language": "JavaScript",
|
|
128
128
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
129
|
-
"X-Fern-SDK-Version": "v0.2.
|
|
129
|
+
"X-Fern-SDK-Version": "v0.2.2",
|
|
130
130
|
},
|
|
131
131
|
contentType: "application/json",
|
|
132
132
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -172,7 +172,7 @@ class Deployments {
|
|
|
172
172
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
173
173
|
"X-Fern-Language": "JavaScript",
|
|
174
174
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
175
|
-
"X-Fern-SDK-Version": "v0.2.
|
|
175
|
+
"X-Fern-SDK-Version": "v0.2.2",
|
|
176
176
|
},
|
|
177
177
|
contentType: "application/json",
|
|
178
178
|
body: yield serializers.DeploymentProviderPayloadRequest.jsonOrThrow(request, {
|
|
@@ -73,7 +73,7 @@ class DocumentIndexes {
|
|
|
73
73
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
74
74
|
"X-Fern-Language": "JavaScript",
|
|
75
75
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
76
|
-
"X-Fern-SDK-Version": "v0.2.
|
|
76
|
+
"X-Fern-SDK-Version": "v0.2.2",
|
|
77
77
|
},
|
|
78
78
|
contentType: "application/json",
|
|
79
79
|
body: yield serializers.DocumentIndexCreateRequest.jsonOrThrow(request, {
|
|
@@ -128,7 +128,7 @@ class DocumentIndexes {
|
|
|
128
128
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
129
129
|
"X-Fern-Language": "JavaScript",
|
|
130
130
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
131
|
-
"X-Fern-SDK-Version": "v0.2.
|
|
131
|
+
"X-Fern-SDK-Version": "v0.2.2",
|
|
132
132
|
},
|
|
133
133
|
contentType: "application/json",
|
|
134
134
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -81,7 +81,7 @@ class Documents {
|
|
|
81
81
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
82
82
|
"X-Fern-Language": "JavaScript",
|
|
83
83
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
84
|
-
"X-Fern-SDK-Version": "v0.2.
|
|
84
|
+
"X-Fern-SDK-Version": "v0.2.2",
|
|
85
85
|
},
|
|
86
86
|
contentType: "application/json",
|
|
87
87
|
queryParameters: _queryParams,
|
|
@@ -128,7 +128,7 @@ class Documents {
|
|
|
128
128
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
129
129
|
"X-Fern-Language": "JavaScript",
|
|
130
130
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
131
|
-
"X-Fern-SDK-Version": "v0.2.
|
|
131
|
+
"X-Fern-SDK-Version": "v0.2.2",
|
|
132
132
|
},
|
|
133
133
|
contentType: "application/json",
|
|
134
134
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -177,7 +177,7 @@ class Documents {
|
|
|
177
177
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
178
178
|
"X-Fern-Language": "JavaScript",
|
|
179
179
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
180
|
-
"X-Fern-SDK-Version": "v0.2.
|
|
180
|
+
"X-Fern-SDK-Version": "v0.2.2",
|
|
181
181
|
},
|
|
182
182
|
contentType: "application/json",
|
|
183
183
|
body: yield serializers.PatchedDocumentUpdateRequest.jsonOrThrow(request, {
|
|
@@ -253,7 +253,7 @@ class Documents {
|
|
|
253
253
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
254
254
|
"X-Fern-Language": "JavaScript",
|
|
255
255
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
256
|
-
"X-Fern-SDK-Version": "v0.2.
|
|
256
|
+
"X-Fern-SDK-Version": "v0.2.2",
|
|
257
257
|
},
|
|
258
258
|
contentType: "multipart/form-data; boundary=" + _request.getBoundary(),
|
|
259
259
|
body: _request,
|
|
@@ -65,7 +65,7 @@ class ModelVersions {
|
|
|
65
65
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
66
66
|
"X-Fern-Language": "JavaScript",
|
|
67
67
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
68
|
-
"X-Fern-SDK-Version": "v0.2.
|
|
68
|
+
"X-Fern-SDK-Version": "v0.2.2",
|
|
69
69
|
},
|
|
70
70
|
contentType: "application/json",
|
|
71
71
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -101,7 +101,7 @@ class RegisteredPrompts {
|
|
|
101
101
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
102
102
|
"X-Fern-Language": "JavaScript",
|
|
103
103
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
104
|
-
"X-Fern-SDK-Version": "v0.2.
|
|
104
|
+
"X-Fern-SDK-Version": "v0.2.2",
|
|
105
105
|
},
|
|
106
106
|
contentType: "application/json",
|
|
107
107
|
body: yield serializers.RegisterPromptRequestRequest.jsonOrThrow(request, {
|
|
@@ -82,7 +82,7 @@ class Sandboxes {
|
|
|
82
82
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
83
83
|
"X-Fern-Language": "JavaScript",
|
|
84
84
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
85
|
-
"X-Fern-SDK-Version": "v0.2.
|
|
85
|
+
"X-Fern-SDK-Version": "v0.2.2",
|
|
86
86
|
},
|
|
87
87
|
contentType: "application/json",
|
|
88
88
|
body: yield serializers.UpsertSandboxScenarioRequestRequest.jsonOrThrow(request, {
|
|
@@ -137,7 +137,7 @@ class Sandboxes {
|
|
|
137
137
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
138
138
|
"X-Fern-Language": "JavaScript",
|
|
139
139
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
140
|
-
"X-Fern-SDK-Version": "v0.2.
|
|
140
|
+
"X-Fern-SDK-Version": "v0.2.2",
|
|
141
141
|
},
|
|
142
142
|
contentType: "application/json",
|
|
143
143
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -74,7 +74,7 @@ class TestSuites {
|
|
|
74
74
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
75
75
|
"X-Fern-Language": "JavaScript",
|
|
76
76
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
77
|
-
"X-Fern-SDK-Version": "v0.2.
|
|
77
|
+
"X-Fern-SDK-Version": "v0.2.2",
|
|
78
78
|
},
|
|
79
79
|
contentType: "application/json",
|
|
80
80
|
body: yield serializers.UpsertTestSuiteTestCaseRequest.jsonOrThrow(request, {
|
|
@@ -129,7 +129,7 @@ class TestSuites {
|
|
|
129
129
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
130
130
|
"X-Fern-Language": "JavaScript",
|
|
131
131
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
132
|
-
"X-Fern-SDK-Version": "v0.2.
|
|
132
|
+
"X-Fern-SDK-Version": "v0.2.2",
|
|
133
133
|
},
|
|
134
134
|
contentType: "application/json",
|
|
135
135
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -73,7 +73,7 @@ class WorkflowDeployments {
|
|
|
73
73
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
74
74
|
"X-Fern-Language": "JavaScript",
|
|
75
75
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
76
|
-
"X-Fern-SDK-Version": "v0.2.
|
|
76
|
+
"X-Fern-SDK-Version": "v0.2.2",
|
|
77
77
|
},
|
|
78
78
|
contentType: "application/json",
|
|
79
79
|
queryParameters: _queryParams,
|