vellum-ai 0.3.0 → 0.3.3
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 +9 -9
- 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 +9 -9
- 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": "
|
|
81
|
+
"X-Fern-SDK-Version": "0.3.3",
|
|
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": "
|
|
145
|
+
"X-Fern-SDK-Version": "0.3.3",
|
|
146
146
|
},
|
|
147
147
|
contentType: "application/json",
|
|
148
148
|
body: yield serializers.ExecutePromptStreamRequest.jsonOrThrow(request, {
|
|
@@ -215,7 +215,7 @@ class VellumClient {
|
|
|
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": "
|
|
218
|
+
"X-Fern-SDK-Version": "0.3.3",
|
|
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": "
|
|
277
|
+
"X-Fern-SDK-Version": "0.3.3",
|
|
278
278
|
},
|
|
279
279
|
contentType: "application/json",
|
|
280
280
|
body: yield serializers.ExecuteWorkflowStreamRequest.jsonOrThrow(request, {
|
|
@@ -356,7 +356,7 @@ class VellumClient {
|
|
|
356
356
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
357
357
|
"X-Fern-Language": "JavaScript",
|
|
358
358
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
359
|
-
"X-Fern-SDK-Version": "
|
|
359
|
+
"X-Fern-SDK-Version": "0.3.3",
|
|
360
360
|
},
|
|
361
361
|
contentType: "application/json",
|
|
362
362
|
body: yield serializers.GenerateBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -419,7 +419,7 @@ class VellumClient {
|
|
|
419
419
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
420
420
|
"X-Fern-Language": "JavaScript",
|
|
421
421
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
422
|
-
"X-Fern-SDK-Version": "
|
|
422
|
+
"X-Fern-SDK-Version": "0.3.3",
|
|
423
423
|
},
|
|
424
424
|
contentType: "application/json",
|
|
425
425
|
body: yield serializers.GenerateStreamBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -507,7 +507,7 @@ class VellumClient {
|
|
|
507
507
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
508
508
|
"X-Fern-Language": "JavaScript",
|
|
509
509
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
510
|
-
"X-Fern-SDK-Version": "
|
|
510
|
+
"X-Fern-SDK-Version": "0.3.3",
|
|
511
511
|
},
|
|
512
512
|
contentType: "application/json",
|
|
513
513
|
body: yield serializers.SearchRequestBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -576,7 +576,7 @@ class VellumClient {
|
|
|
576
576
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
577
577
|
"X-Fern-Language": "JavaScript",
|
|
578
578
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
579
|
-
"X-Fern-SDK-Version": "
|
|
579
|
+
"X-Fern-SDK-Version": "0.3.3",
|
|
580
580
|
},
|
|
581
581
|
contentType: "application/json",
|
|
582
582
|
body: yield serializers.SubmitCompletionActualsRequest.jsonOrThrow(request, {
|
|
@@ -639,7 +639,7 @@ class VellumClient {
|
|
|
639
639
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
640
640
|
"X-Fern-Language": "JavaScript",
|
|
641
641
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
642
|
-
"X-Fern-SDK-Version": "
|
|
642
|
+
"X-Fern-SDK-Version": "0.3.3",
|
|
643
643
|
},
|
|
644
644
|
contentType: "application/json",
|
|
645
645
|
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": "
|
|
76
|
+
"X-Fern-SDK-Version": "0.3.3",
|
|
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": "
|
|
129
|
+
"X-Fern-SDK-Version": "0.3.3",
|
|
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": "
|
|
175
|
+
"X-Fern-SDK-Version": "0.3.3",
|
|
176
176
|
},
|
|
177
177
|
contentType: "application/json",
|
|
178
178
|
body: yield serializers.DeploymentProviderPayloadRequest.jsonOrThrow(request, {
|
|
@@ -87,7 +87,7 @@ class DocumentIndexes {
|
|
|
87
87
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
88
88
|
"X-Fern-Language": "JavaScript",
|
|
89
89
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
90
|
-
"X-Fern-SDK-Version": "
|
|
90
|
+
"X-Fern-SDK-Version": "0.3.3",
|
|
91
91
|
},
|
|
92
92
|
contentType: "application/json",
|
|
93
93
|
body: yield serializers.DocumentIndexCreateRequest.jsonOrThrow(request, {
|
|
@@ -142,7 +142,7 @@ class DocumentIndexes {
|
|
|
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": "
|
|
145
|
+
"X-Fern-SDK-Version": "0.3.3",
|
|
146
146
|
},
|
|
147
147
|
contentType: "application/json",
|
|
148
148
|
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": "
|
|
84
|
+
"X-Fern-SDK-Version": "0.3.3",
|
|
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": "
|
|
131
|
+
"X-Fern-SDK-Version": "0.3.3",
|
|
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": "
|
|
180
|
+
"X-Fern-SDK-Version": "0.3.3",
|
|
181
181
|
},
|
|
182
182
|
contentType: "application/json",
|
|
183
183
|
body: yield serializers.PatchedDocumentUpdateRequest.jsonOrThrow(request, {
|
|
@@ -261,7 +261,7 @@ class Documents {
|
|
|
261
261
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
262
262
|
"X-Fern-Language": "JavaScript",
|
|
263
263
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
264
|
-
"X-Fern-SDK-Version": "
|
|
264
|
+
"X-Fern-SDK-Version": "0.3.3",
|
|
265
265
|
},
|
|
266
266
|
contentType: "multipart/form-data; boundary=" + _request.getBoundary(),
|
|
267
267
|
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": "
|
|
68
|
+
"X-Fern-SDK-Version": "0.3.3",
|
|
69
69
|
},
|
|
70
70
|
contentType: "application/json",
|
|
71
71
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -91,7 +91,7 @@ class RegisteredPrompts {
|
|
|
91
91
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
92
92
|
"X-Fern-Language": "JavaScript",
|
|
93
93
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
94
|
-
"X-Fern-SDK-Version": "
|
|
94
|
+
"X-Fern-SDK-Version": "0.3.3",
|
|
95
95
|
},
|
|
96
96
|
contentType: "application/json",
|
|
97
97
|
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": "
|
|
85
|
+
"X-Fern-SDK-Version": "0.3.3",
|
|
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": "
|
|
140
|
+
"X-Fern-SDK-Version": "0.3.3",
|
|
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": "
|
|
77
|
+
"X-Fern-SDK-Version": "0.3.3",
|
|
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": "
|
|
132
|
+
"X-Fern-SDK-Version": "0.3.3",
|
|
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": "
|
|
76
|
+
"X-Fern-SDK-Version": "0.3.3",
|
|
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": "
|
|
81
|
+
"X-Fern-SDK-Version": "0.3.3",
|
|
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": "
|
|
145
|
+
"X-Fern-SDK-Version": "0.3.3",
|
|
146
146
|
},
|
|
147
147
|
contentType: "application/json",
|
|
148
148
|
body: yield serializers.ExecutePromptStreamRequest.jsonOrThrow(request, {
|
|
@@ -215,7 +215,7 @@ class VellumClient {
|
|
|
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": "
|
|
218
|
+
"X-Fern-SDK-Version": "0.3.3",
|
|
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": "
|
|
277
|
+
"X-Fern-SDK-Version": "0.3.3",
|
|
278
278
|
},
|
|
279
279
|
contentType: "application/json",
|
|
280
280
|
body: yield serializers.ExecuteWorkflowStreamRequest.jsonOrThrow(request, {
|
|
@@ -356,7 +356,7 @@ class VellumClient {
|
|
|
356
356
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
357
357
|
"X-Fern-Language": "JavaScript",
|
|
358
358
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
359
|
-
"X-Fern-SDK-Version": "
|
|
359
|
+
"X-Fern-SDK-Version": "0.3.3",
|
|
360
360
|
},
|
|
361
361
|
contentType: "application/json",
|
|
362
362
|
body: yield serializers.GenerateBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -419,7 +419,7 @@ class VellumClient {
|
|
|
419
419
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
420
420
|
"X-Fern-Language": "JavaScript",
|
|
421
421
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
422
|
-
"X-Fern-SDK-Version": "
|
|
422
|
+
"X-Fern-SDK-Version": "0.3.3",
|
|
423
423
|
},
|
|
424
424
|
contentType: "application/json",
|
|
425
425
|
body: yield serializers.GenerateStreamBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -507,7 +507,7 @@ class VellumClient {
|
|
|
507
507
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
508
508
|
"X-Fern-Language": "JavaScript",
|
|
509
509
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
510
|
-
"X-Fern-SDK-Version": "
|
|
510
|
+
"X-Fern-SDK-Version": "0.3.3",
|
|
511
511
|
},
|
|
512
512
|
contentType: "application/json",
|
|
513
513
|
body: yield serializers.SearchRequestBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -576,7 +576,7 @@ class VellumClient {
|
|
|
576
576
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
577
577
|
"X-Fern-Language": "JavaScript",
|
|
578
578
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
579
|
-
"X-Fern-SDK-Version": "
|
|
579
|
+
"X-Fern-SDK-Version": "0.3.3",
|
|
580
580
|
},
|
|
581
581
|
contentType: "application/json",
|
|
582
582
|
body: yield serializers.SubmitCompletionActualsRequest.jsonOrThrow(request, {
|
|
@@ -639,7 +639,7 @@ class VellumClient {
|
|
|
639
639
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
640
640
|
"X-Fern-Language": "JavaScript",
|
|
641
641
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
642
|
-
"X-Fern-SDK-Version": "
|
|
642
|
+
"X-Fern-SDK-Version": "0.3.3",
|
|
643
643
|
},
|
|
644
644
|
contentType: "application/json",
|
|
645
645
|
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": "
|
|
76
|
+
"X-Fern-SDK-Version": "0.3.3",
|
|
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": "
|
|
129
|
+
"X-Fern-SDK-Version": "0.3.3",
|
|
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": "
|
|
175
|
+
"X-Fern-SDK-Version": "0.3.3",
|
|
176
176
|
},
|
|
177
177
|
contentType: "application/json",
|
|
178
178
|
body: yield serializers.DeploymentProviderPayloadRequest.jsonOrThrow(request, {
|
|
@@ -87,7 +87,7 @@ class DocumentIndexes {
|
|
|
87
87
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
88
88
|
"X-Fern-Language": "JavaScript",
|
|
89
89
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
90
|
-
"X-Fern-SDK-Version": "
|
|
90
|
+
"X-Fern-SDK-Version": "0.3.3",
|
|
91
91
|
},
|
|
92
92
|
contentType: "application/json",
|
|
93
93
|
body: yield serializers.DocumentIndexCreateRequest.jsonOrThrow(request, {
|
|
@@ -142,7 +142,7 @@ class DocumentIndexes {
|
|
|
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": "
|
|
145
|
+
"X-Fern-SDK-Version": "0.3.3",
|
|
146
146
|
},
|
|
147
147
|
contentType: "application/json",
|
|
148
148
|
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": "
|
|
84
|
+
"X-Fern-SDK-Version": "0.3.3",
|
|
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": "
|
|
131
|
+
"X-Fern-SDK-Version": "0.3.3",
|
|
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": "
|
|
180
|
+
"X-Fern-SDK-Version": "0.3.3",
|
|
181
181
|
},
|
|
182
182
|
contentType: "application/json",
|
|
183
183
|
body: yield serializers.PatchedDocumentUpdateRequest.jsonOrThrow(request, {
|
|
@@ -261,7 +261,7 @@ class Documents {
|
|
|
261
261
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
262
262
|
"X-Fern-Language": "JavaScript",
|
|
263
263
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
264
|
-
"X-Fern-SDK-Version": "
|
|
264
|
+
"X-Fern-SDK-Version": "0.3.3",
|
|
265
265
|
},
|
|
266
266
|
contentType: "multipart/form-data; boundary=" + _request.getBoundary(),
|
|
267
267
|
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": "
|
|
68
|
+
"X-Fern-SDK-Version": "0.3.3",
|
|
69
69
|
},
|
|
70
70
|
contentType: "application/json",
|
|
71
71
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -91,7 +91,7 @@ class RegisteredPrompts {
|
|
|
91
91
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
92
92
|
"X-Fern-Language": "JavaScript",
|
|
93
93
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
94
|
-
"X-Fern-SDK-Version": "
|
|
94
|
+
"X-Fern-SDK-Version": "0.3.3",
|
|
95
95
|
},
|
|
96
96
|
contentType: "application/json",
|
|
97
97
|
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": "
|
|
85
|
+
"X-Fern-SDK-Version": "0.3.3",
|
|
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": "
|
|
140
|
+
"X-Fern-SDK-Version": "0.3.3",
|
|
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": "
|
|
77
|
+
"X-Fern-SDK-Version": "0.3.3",
|
|
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": "
|
|
132
|
+
"X-Fern-SDK-Version": "0.3.3",
|
|
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": "
|
|
76
|
+
"X-Fern-SDK-Version": "0.3.3",
|
|
77
77
|
},
|
|
78
78
|
contentType: "application/json",
|
|
79
79
|
queryParameters: _queryParams,
|