vellum-ai 0.1.12 → 0.1.14
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 +8 -8
- package/LICENSE +21 -0
- package/api/resources/deployments/client/Client.js +2 -2
- 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/dist/Client.js +8 -8
- package/dist/api/resources/deployments/client/Client.js +2 -2
- 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/package.json +2 -1
package/Client.js
CHANGED
|
@@ -77,7 +77,7 @@ class VellumClient {
|
|
|
77
77
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
78
78
|
"X-Fern-Language": "JavaScript",
|
|
79
79
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
80
|
-
"X-Fern-SDK-Version": "
|
|
80
|
+
"X-Fern-SDK-Version": "v0.1.13",
|
|
81
81
|
},
|
|
82
82
|
contentType: "application/json",
|
|
83
83
|
body: yield serializers.ExecutePromptRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -141,7 +141,7 @@ class VellumClient {
|
|
|
141
141
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
142
142
|
"X-Fern-Language": "JavaScript",
|
|
143
143
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
144
|
-
"X-Fern-SDK-Version": "
|
|
144
|
+
"X-Fern-SDK-Version": "v0.1.13",
|
|
145
145
|
},
|
|
146
146
|
contentType: "application/json",
|
|
147
147
|
body: yield serializers.ExecutePromptStreamRequest.jsonOrThrow(request, {
|
|
@@ -211,7 +211,7 @@ class VellumClient {
|
|
|
211
211
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
212
212
|
"X-Fern-Language": "JavaScript",
|
|
213
213
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
214
|
-
"X-Fern-SDK-Version": "
|
|
214
|
+
"X-Fern-SDK-Version": "v0.1.13",
|
|
215
215
|
},
|
|
216
216
|
contentType: "application/json",
|
|
217
217
|
body: yield serializers.ExecuteWorkflowStreamRequest.jsonOrThrow(request, {
|
|
@@ -295,7 +295,7 @@ class VellumClient {
|
|
|
295
295
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
296
296
|
"X-Fern-Language": "JavaScript",
|
|
297
297
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
298
|
-
"X-Fern-SDK-Version": "
|
|
298
|
+
"X-Fern-SDK-Version": "v0.1.13",
|
|
299
299
|
},
|
|
300
300
|
contentType: "application/json",
|
|
301
301
|
body: yield serializers.GenerateBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -358,7 +358,7 @@ class VellumClient {
|
|
|
358
358
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
359
359
|
"X-Fern-Language": "JavaScript",
|
|
360
360
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
361
|
-
"X-Fern-SDK-Version": "
|
|
361
|
+
"X-Fern-SDK-Version": "v0.1.13",
|
|
362
362
|
},
|
|
363
363
|
contentType: "application/json",
|
|
364
364
|
body: yield serializers.GenerateStreamBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -431,7 +431,7 @@ class VellumClient {
|
|
|
431
431
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
432
432
|
"X-Fern-Language": "JavaScript",
|
|
433
433
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
434
|
-
"X-Fern-SDK-Version": "
|
|
434
|
+
"X-Fern-SDK-Version": "v0.1.13",
|
|
435
435
|
},
|
|
436
436
|
contentType: "application/json",
|
|
437
437
|
body: yield serializers.SearchRequestBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -500,7 +500,7 @@ class VellumClient {
|
|
|
500
500
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
501
501
|
"X-Fern-Language": "JavaScript",
|
|
502
502
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
503
|
-
"X-Fern-SDK-Version": "
|
|
503
|
+
"X-Fern-SDK-Version": "v0.1.13",
|
|
504
504
|
},
|
|
505
505
|
contentType: "application/json",
|
|
506
506
|
body: yield serializers.SubmitCompletionActualsRequest.jsonOrThrow(request, {
|
|
@@ -563,7 +563,7 @@ class VellumClient {
|
|
|
563
563
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
564
564
|
"X-Fern-Language": "JavaScript",
|
|
565
565
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
566
|
-
"X-Fern-SDK-Version": "
|
|
566
|
+
"X-Fern-SDK-Version": "v0.1.13",
|
|
567
567
|
},
|
|
568
568
|
contentType: "application/json",
|
|
569
569
|
body: yield serializers.SubmitWorkflowExecutionActualsRequest.jsonOrThrow(request, {
|
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) Vocify Inc. dba Vellum
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -62,7 +62,7 @@ class Deployments {
|
|
|
62
62
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
63
63
|
"X-Fern-Language": "JavaScript",
|
|
64
64
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
65
|
-
"X-Fern-SDK-Version": "
|
|
65
|
+
"X-Fern-SDK-Version": "v0.1.13",
|
|
66
66
|
},
|
|
67
67
|
contentType: "application/json",
|
|
68
68
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -108,7 +108,7 @@ class Deployments {
|
|
|
108
108
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
109
109
|
"X-Fern-Language": "JavaScript",
|
|
110
110
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
111
|
-
"X-Fern-SDK-Version": "
|
|
111
|
+
"X-Fern-SDK-Version": "v0.1.13",
|
|
112
112
|
},
|
|
113
113
|
contentType: "application/json",
|
|
114
114
|
body: yield serializers.DeploymentProviderPayloadRequest.jsonOrThrow(request, {
|
|
@@ -62,7 +62,7 @@ class DocumentIndexes {
|
|
|
62
62
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
63
63
|
"X-Fern-Language": "JavaScript",
|
|
64
64
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
65
|
-
"X-Fern-SDK-Version": "
|
|
65
|
+
"X-Fern-SDK-Version": "v0.1.13",
|
|
66
66
|
},
|
|
67
67
|
contentType: "application/json",
|
|
68
68
|
body: yield serializers.DocumentIndexCreateRequest.jsonOrThrow(request, {
|
|
@@ -114,7 +114,7 @@ class DocumentIndexes {
|
|
|
114
114
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
115
115
|
"X-Fern-Language": "JavaScript",
|
|
116
116
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
117
|
-
"X-Fern-SDK-Version": "
|
|
117
|
+
"X-Fern-SDK-Version": "v0.1.13",
|
|
118
118
|
},
|
|
119
119
|
contentType: "application/json",
|
|
120
120
|
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": "v0.1.13",
|
|
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": "v0.1.13",
|
|
132
132
|
},
|
|
133
133
|
contentType: "application/json",
|
|
134
134
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -172,7 +172,7 @@ class Documents {
|
|
|
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": "v0.1.13",
|
|
176
176
|
},
|
|
177
177
|
contentType: "application/json",
|
|
178
178
|
body: yield serializers.PatchedDocumentUpdateRequest.jsonOrThrow(request, {
|
|
@@ -248,7 +248,7 @@ class Documents {
|
|
|
248
248
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
249
249
|
"X-Fern-Language": "JavaScript",
|
|
250
250
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
251
|
-
"X-Fern-SDK-Version": "
|
|
251
|
+
"X-Fern-SDK-Version": "v0.1.13",
|
|
252
252
|
},
|
|
253
253
|
contentType: "multipart/form-data; boundary=" + _request.getBoundary(),
|
|
254
254
|
body: _request,
|
|
@@ -62,7 +62,7 @@ class ModelVersions {
|
|
|
62
62
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
63
63
|
"X-Fern-Language": "JavaScript",
|
|
64
64
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
65
|
-
"X-Fern-SDK-Version": "
|
|
65
|
+
"X-Fern-SDK-Version": "v0.1.13",
|
|
66
66
|
},
|
|
67
67
|
contentType: "application/json",
|
|
68
68
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -69,7 +69,7 @@ class RegisteredPrompts {
|
|
|
69
69
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
70
70
|
"X-Fern-Language": "JavaScript",
|
|
71
71
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
72
|
-
"X-Fern-SDK-Version": "
|
|
72
|
+
"X-Fern-SDK-Version": "v0.1.13",
|
|
73
73
|
},
|
|
74
74
|
contentType: "application/json",
|
|
75
75
|
body: yield serializers.RegisterPromptRequestRequest.jsonOrThrow(request, {
|
|
@@ -68,7 +68,7 @@ class Sandboxes {
|
|
|
68
68
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
69
69
|
"X-Fern-Language": "JavaScript",
|
|
70
70
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
71
|
-
"X-Fern-SDK-Version": "
|
|
71
|
+
"X-Fern-SDK-Version": "v0.1.13",
|
|
72
72
|
},
|
|
73
73
|
contentType: "application/json",
|
|
74
74
|
body: yield serializers.UpsertSandboxScenarioRequestRequest.jsonOrThrow(request, {
|
|
@@ -123,7 +123,7 @@ class Sandboxes {
|
|
|
123
123
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
124
124
|
"X-Fern-Language": "JavaScript",
|
|
125
125
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
126
|
-
"X-Fern-SDK-Version": "
|
|
126
|
+
"X-Fern-SDK-Version": "v0.1.13",
|
|
127
127
|
},
|
|
128
128
|
contentType: "application/json",
|
|
129
129
|
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": "v0.1.13",
|
|
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": "v0.1.13",
|
|
133
133
|
},
|
|
134
134
|
contentType: "application/json",
|
|
135
135
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
package/dist/Client.js
CHANGED
|
@@ -77,7 +77,7 @@ class VellumClient {
|
|
|
77
77
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
78
78
|
"X-Fern-Language": "JavaScript",
|
|
79
79
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
80
|
-
"X-Fern-SDK-Version": "
|
|
80
|
+
"X-Fern-SDK-Version": "v0.1.13",
|
|
81
81
|
},
|
|
82
82
|
contentType: "application/json",
|
|
83
83
|
body: yield serializers.ExecutePromptRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -141,7 +141,7 @@ class VellumClient {
|
|
|
141
141
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
142
142
|
"X-Fern-Language": "JavaScript",
|
|
143
143
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
144
|
-
"X-Fern-SDK-Version": "
|
|
144
|
+
"X-Fern-SDK-Version": "v0.1.13",
|
|
145
145
|
},
|
|
146
146
|
contentType: "application/json",
|
|
147
147
|
body: yield serializers.ExecutePromptStreamRequest.jsonOrThrow(request, {
|
|
@@ -211,7 +211,7 @@ class VellumClient {
|
|
|
211
211
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
212
212
|
"X-Fern-Language": "JavaScript",
|
|
213
213
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
214
|
-
"X-Fern-SDK-Version": "
|
|
214
|
+
"X-Fern-SDK-Version": "v0.1.13",
|
|
215
215
|
},
|
|
216
216
|
contentType: "application/json",
|
|
217
217
|
body: yield serializers.ExecuteWorkflowStreamRequest.jsonOrThrow(request, {
|
|
@@ -295,7 +295,7 @@ class VellumClient {
|
|
|
295
295
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
296
296
|
"X-Fern-Language": "JavaScript",
|
|
297
297
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
298
|
-
"X-Fern-SDK-Version": "
|
|
298
|
+
"X-Fern-SDK-Version": "v0.1.13",
|
|
299
299
|
},
|
|
300
300
|
contentType: "application/json",
|
|
301
301
|
body: yield serializers.GenerateBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -358,7 +358,7 @@ class VellumClient {
|
|
|
358
358
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
359
359
|
"X-Fern-Language": "JavaScript",
|
|
360
360
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
361
|
-
"X-Fern-SDK-Version": "
|
|
361
|
+
"X-Fern-SDK-Version": "v0.1.13",
|
|
362
362
|
},
|
|
363
363
|
contentType: "application/json",
|
|
364
364
|
body: yield serializers.GenerateStreamBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -431,7 +431,7 @@ class VellumClient {
|
|
|
431
431
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
432
432
|
"X-Fern-Language": "JavaScript",
|
|
433
433
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
434
|
-
"X-Fern-SDK-Version": "
|
|
434
|
+
"X-Fern-SDK-Version": "v0.1.13",
|
|
435
435
|
},
|
|
436
436
|
contentType: "application/json",
|
|
437
437
|
body: yield serializers.SearchRequestBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -500,7 +500,7 @@ class VellumClient {
|
|
|
500
500
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
501
501
|
"X-Fern-Language": "JavaScript",
|
|
502
502
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
503
|
-
"X-Fern-SDK-Version": "
|
|
503
|
+
"X-Fern-SDK-Version": "v0.1.13",
|
|
504
504
|
},
|
|
505
505
|
contentType: "application/json",
|
|
506
506
|
body: yield serializers.SubmitCompletionActualsRequest.jsonOrThrow(request, {
|
|
@@ -563,7 +563,7 @@ class VellumClient {
|
|
|
563
563
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
564
564
|
"X-Fern-Language": "JavaScript",
|
|
565
565
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
566
|
-
"X-Fern-SDK-Version": "
|
|
566
|
+
"X-Fern-SDK-Version": "v0.1.13",
|
|
567
567
|
},
|
|
568
568
|
contentType: "application/json",
|
|
569
569
|
body: yield serializers.SubmitWorkflowExecutionActualsRequest.jsonOrThrow(request, {
|
|
@@ -62,7 +62,7 @@ class Deployments {
|
|
|
62
62
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
63
63
|
"X-Fern-Language": "JavaScript",
|
|
64
64
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
65
|
-
"X-Fern-SDK-Version": "
|
|
65
|
+
"X-Fern-SDK-Version": "v0.1.13",
|
|
66
66
|
},
|
|
67
67
|
contentType: "application/json",
|
|
68
68
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -108,7 +108,7 @@ class Deployments {
|
|
|
108
108
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
109
109
|
"X-Fern-Language": "JavaScript",
|
|
110
110
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
111
|
-
"X-Fern-SDK-Version": "
|
|
111
|
+
"X-Fern-SDK-Version": "v0.1.13",
|
|
112
112
|
},
|
|
113
113
|
contentType: "application/json",
|
|
114
114
|
body: yield serializers.DeploymentProviderPayloadRequest.jsonOrThrow(request, {
|
|
@@ -62,7 +62,7 @@ class DocumentIndexes {
|
|
|
62
62
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
63
63
|
"X-Fern-Language": "JavaScript",
|
|
64
64
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
65
|
-
"X-Fern-SDK-Version": "
|
|
65
|
+
"X-Fern-SDK-Version": "v0.1.13",
|
|
66
66
|
},
|
|
67
67
|
contentType: "application/json",
|
|
68
68
|
body: yield serializers.DocumentIndexCreateRequest.jsonOrThrow(request, {
|
|
@@ -114,7 +114,7 @@ class DocumentIndexes {
|
|
|
114
114
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
115
115
|
"X-Fern-Language": "JavaScript",
|
|
116
116
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
117
|
-
"X-Fern-SDK-Version": "
|
|
117
|
+
"X-Fern-SDK-Version": "v0.1.13",
|
|
118
118
|
},
|
|
119
119
|
contentType: "application/json",
|
|
120
120
|
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": "v0.1.13",
|
|
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": "v0.1.13",
|
|
132
132
|
},
|
|
133
133
|
contentType: "application/json",
|
|
134
134
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -172,7 +172,7 @@ class Documents {
|
|
|
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": "v0.1.13",
|
|
176
176
|
},
|
|
177
177
|
contentType: "application/json",
|
|
178
178
|
body: yield serializers.PatchedDocumentUpdateRequest.jsonOrThrow(request, {
|
|
@@ -248,7 +248,7 @@ class Documents {
|
|
|
248
248
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
249
249
|
"X-Fern-Language": "JavaScript",
|
|
250
250
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
251
|
-
"X-Fern-SDK-Version": "
|
|
251
|
+
"X-Fern-SDK-Version": "v0.1.13",
|
|
252
252
|
},
|
|
253
253
|
contentType: "multipart/form-data; boundary=" + _request.getBoundary(),
|
|
254
254
|
body: _request,
|
|
@@ -62,7 +62,7 @@ class ModelVersions {
|
|
|
62
62
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
63
63
|
"X-Fern-Language": "JavaScript",
|
|
64
64
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
65
|
-
"X-Fern-SDK-Version": "
|
|
65
|
+
"X-Fern-SDK-Version": "v0.1.13",
|
|
66
66
|
},
|
|
67
67
|
contentType: "application/json",
|
|
68
68
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -69,7 +69,7 @@ class RegisteredPrompts {
|
|
|
69
69
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
70
70
|
"X-Fern-Language": "JavaScript",
|
|
71
71
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
72
|
-
"X-Fern-SDK-Version": "
|
|
72
|
+
"X-Fern-SDK-Version": "v0.1.13",
|
|
73
73
|
},
|
|
74
74
|
contentType: "application/json",
|
|
75
75
|
body: yield serializers.RegisterPromptRequestRequest.jsonOrThrow(request, {
|
|
@@ -68,7 +68,7 @@ class Sandboxes {
|
|
|
68
68
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
69
69
|
"X-Fern-Language": "JavaScript",
|
|
70
70
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
71
|
-
"X-Fern-SDK-Version": "
|
|
71
|
+
"X-Fern-SDK-Version": "v0.1.13",
|
|
72
72
|
},
|
|
73
73
|
contentType: "application/json",
|
|
74
74
|
body: yield serializers.UpsertSandboxScenarioRequestRequest.jsonOrThrow(request, {
|
|
@@ -123,7 +123,7 @@ class Sandboxes {
|
|
|
123
123
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
124
124
|
"X-Fern-Language": "JavaScript",
|
|
125
125
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
126
|
-
"X-Fern-SDK-Version": "
|
|
126
|
+
"X-Fern-SDK-Version": "v0.1.13",
|
|
127
127
|
},
|
|
128
128
|
contentType: "application/json",
|
|
129
129
|
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": "v0.1.13",
|
|
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": "v0.1.13",
|
|
133
133
|
},
|
|
134
134
|
contentType: "application/json",
|
|
135
135
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
package/package.json
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vellum-ai",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "v0.1.14",
|
|
4
4
|
"private": false,
|
|
5
5
|
"repository": "https://github.com/vellum-ai/vellum-client-node",
|
|
6
6
|
"main": "./index.js",
|
|
7
7
|
"types": "./index.d.ts",
|
|
8
|
+
"license": "MIT",
|
|
8
9
|
"scripts": {
|
|
9
10
|
"format": "prettier --write 'src/**/*.ts'",
|
|
10
11
|
"build": "tsc",
|