vellum-ai 0.1.6 → 0.1.7
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/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 +1 -1
package/Client.js
CHANGED
|
@@ -74,7 +74,7 @@ class VellumClient {
|
|
|
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": "0.1.
|
|
77
|
+
"X-Fern-SDK-Version": "0.1.7",
|
|
78
78
|
},
|
|
79
79
|
contentType: "application/json",
|
|
80
80
|
body: yield serializers.ExecutePromptRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -139,7 +139,7 @@ class VellumClient {
|
|
|
139
139
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
140
140
|
"X-Fern-Language": "JavaScript",
|
|
141
141
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
142
|
-
"X-Fern-SDK-Version": "0.1.
|
|
142
|
+
"X-Fern-SDK-Version": "0.1.7",
|
|
143
143
|
},
|
|
144
144
|
contentType: "application/json",
|
|
145
145
|
body: yield serializers.ExecutePromptRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -200,7 +200,7 @@ class VellumClient {
|
|
|
200
200
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
201
201
|
"X-Fern-Language": "JavaScript",
|
|
202
202
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
203
|
-
"X-Fern-SDK-Version": "0.1.
|
|
203
|
+
"X-Fern-SDK-Version": "0.1.7",
|
|
204
204
|
},
|
|
205
205
|
body: yield serializers.ExecuteWorkflowStreamRequest.jsonOrThrow(request, {
|
|
206
206
|
unrecognizedObjectKeys: "strip",
|
|
@@ -241,7 +241,7 @@ class VellumClient {
|
|
|
241
241
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
242
242
|
"X-Fern-Language": "JavaScript",
|
|
243
243
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
244
|
-
"X-Fern-SDK-Version": "0.1.
|
|
244
|
+
"X-Fern-SDK-Version": "0.1.7",
|
|
245
245
|
},
|
|
246
246
|
contentType: "application/json",
|
|
247
247
|
body: yield serializers.GenerateBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -304,7 +304,7 @@ class VellumClient {
|
|
|
304
304
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
305
305
|
"X-Fern-Language": "JavaScript",
|
|
306
306
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
307
|
-
"X-Fern-SDK-Version": "0.1.
|
|
307
|
+
"X-Fern-SDK-Version": "0.1.7",
|
|
308
308
|
},
|
|
309
309
|
body: yield serializers.GenerateStreamBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
310
310
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -342,7 +342,7 @@ class VellumClient {
|
|
|
342
342
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
343
343
|
"X-Fern-Language": "JavaScript",
|
|
344
344
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
345
|
-
"X-Fern-SDK-Version": "0.1.
|
|
345
|
+
"X-Fern-SDK-Version": "0.1.7",
|
|
346
346
|
},
|
|
347
347
|
contentType: "application/json",
|
|
348
348
|
body: yield serializers.SearchRequestBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -406,7 +406,7 @@ class VellumClient {
|
|
|
406
406
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
407
407
|
"X-Fern-Language": "JavaScript",
|
|
408
408
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
409
|
-
"X-Fern-SDK-Version": "0.1.
|
|
409
|
+
"X-Fern-SDK-Version": "0.1.7",
|
|
410
410
|
},
|
|
411
411
|
contentType: "application/json",
|
|
412
412
|
body: yield serializers.SubmitCompletionActualsRequest.jsonOrThrow(request, {
|
|
@@ -464,7 +464,7 @@ class VellumClient {
|
|
|
464
464
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
465
465
|
"X-Fern-Language": "JavaScript",
|
|
466
466
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
467
|
-
"X-Fern-SDK-Version": "0.1.
|
|
467
|
+
"X-Fern-SDK-Version": "0.1.7",
|
|
468
468
|
},
|
|
469
469
|
contentType: "application/json",
|
|
470
470
|
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": "0.1.
|
|
65
|
+
"X-Fern-SDK-Version": "0.1.7",
|
|
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": "0.1.
|
|
111
|
+
"X-Fern-SDK-Version": "0.1.7",
|
|
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": "0.1.
|
|
65
|
+
"X-Fern-SDK-Version": "0.1.7",
|
|
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": "0.1.
|
|
117
|
+
"X-Fern-SDK-Version": "0.1.7",
|
|
118
118
|
},
|
|
119
119
|
contentType: "application/json",
|
|
120
120
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -78,7 +78,7 @@ class Documents {
|
|
|
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": "0.1.
|
|
81
|
+
"X-Fern-SDK-Version": "0.1.7",
|
|
82
82
|
},
|
|
83
83
|
contentType: "application/json",
|
|
84
84
|
queryParameters: _queryParams,
|
|
@@ -125,7 +125,7 @@ class Documents {
|
|
|
125
125
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
126
126
|
"X-Fern-Language": "JavaScript",
|
|
127
127
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
128
|
-
"X-Fern-SDK-Version": "0.1.
|
|
128
|
+
"X-Fern-SDK-Version": "0.1.7",
|
|
129
129
|
},
|
|
130
130
|
contentType: "application/json",
|
|
131
131
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -169,7 +169,7 @@ class Documents {
|
|
|
169
169
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
170
170
|
"X-Fern-Language": "JavaScript",
|
|
171
171
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
172
|
-
"X-Fern-SDK-Version": "0.1.
|
|
172
|
+
"X-Fern-SDK-Version": "0.1.7",
|
|
173
173
|
},
|
|
174
174
|
contentType: "application/json",
|
|
175
175
|
body: yield serializers.PatchedDocumentUpdateRequest.jsonOrThrow(request, {
|
|
@@ -245,7 +245,7 @@ class Documents {
|
|
|
245
245
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
246
246
|
"X-Fern-Language": "JavaScript",
|
|
247
247
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
248
|
-
"X-Fern-SDK-Version": "0.1.
|
|
248
|
+
"X-Fern-SDK-Version": "0.1.7",
|
|
249
249
|
"Content-Length": (yield core.getFormDataContentLength(_request)).toString(),
|
|
250
250
|
},
|
|
251
251
|
contentType: "multipart/form-data; boundary=" + _request.getBoundary(),
|
|
@@ -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": "0.1.
|
|
65
|
+
"X-Fern-SDK-Version": "0.1.7",
|
|
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": "0.1.
|
|
72
|
+
"X-Fern-SDK-Version": "0.1.7",
|
|
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": "0.1.
|
|
71
|
+
"X-Fern-SDK-Version": "0.1.7",
|
|
72
72
|
},
|
|
73
73
|
contentType: "application/json",
|
|
74
74
|
body: yield serializers.UpsertSandboxScenarioRequestRequest.jsonOrThrow(request, {
|
|
@@ -120,7 +120,7 @@ class Sandboxes {
|
|
|
120
120
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
121
121
|
"X-Fern-Language": "JavaScript",
|
|
122
122
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
123
|
-
"X-Fern-SDK-Version": "0.1.
|
|
123
|
+
"X-Fern-SDK-Version": "0.1.7",
|
|
124
124
|
},
|
|
125
125
|
contentType: "application/json",
|
|
126
126
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -68,7 +68,7 @@ class TestSuites {
|
|
|
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": "0.1.
|
|
71
|
+
"X-Fern-SDK-Version": "0.1.7",
|
|
72
72
|
},
|
|
73
73
|
contentType: "application/json",
|
|
74
74
|
body: yield serializers.TestSuiteTestCaseRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -119,7 +119,7 @@ class TestSuites {
|
|
|
119
119
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
120
120
|
"X-Fern-Language": "JavaScript",
|
|
121
121
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
122
|
-
"X-Fern-SDK-Version": "0.1.
|
|
122
|
+
"X-Fern-SDK-Version": "0.1.7",
|
|
123
123
|
},
|
|
124
124
|
contentType: "application/json",
|
|
125
125
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
package/dist/Client.js
CHANGED
|
@@ -74,7 +74,7 @@ class VellumClient {
|
|
|
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": "0.1.
|
|
77
|
+
"X-Fern-SDK-Version": "0.1.7",
|
|
78
78
|
},
|
|
79
79
|
contentType: "application/json",
|
|
80
80
|
body: yield serializers.ExecutePromptRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -139,7 +139,7 @@ class VellumClient {
|
|
|
139
139
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
140
140
|
"X-Fern-Language": "JavaScript",
|
|
141
141
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
142
|
-
"X-Fern-SDK-Version": "0.1.
|
|
142
|
+
"X-Fern-SDK-Version": "0.1.7",
|
|
143
143
|
},
|
|
144
144
|
contentType: "application/json",
|
|
145
145
|
body: yield serializers.ExecutePromptRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -200,7 +200,7 @@ class VellumClient {
|
|
|
200
200
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
201
201
|
"X-Fern-Language": "JavaScript",
|
|
202
202
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
203
|
-
"X-Fern-SDK-Version": "0.1.
|
|
203
|
+
"X-Fern-SDK-Version": "0.1.7",
|
|
204
204
|
},
|
|
205
205
|
body: yield serializers.ExecuteWorkflowStreamRequest.jsonOrThrow(request, {
|
|
206
206
|
unrecognizedObjectKeys: "strip",
|
|
@@ -241,7 +241,7 @@ class VellumClient {
|
|
|
241
241
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
242
242
|
"X-Fern-Language": "JavaScript",
|
|
243
243
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
244
|
-
"X-Fern-SDK-Version": "0.1.
|
|
244
|
+
"X-Fern-SDK-Version": "0.1.7",
|
|
245
245
|
},
|
|
246
246
|
contentType: "application/json",
|
|
247
247
|
body: yield serializers.GenerateBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -304,7 +304,7 @@ class VellumClient {
|
|
|
304
304
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
305
305
|
"X-Fern-Language": "JavaScript",
|
|
306
306
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
307
|
-
"X-Fern-SDK-Version": "0.1.
|
|
307
|
+
"X-Fern-SDK-Version": "0.1.7",
|
|
308
308
|
},
|
|
309
309
|
body: yield serializers.GenerateStreamBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
310
310
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -342,7 +342,7 @@ class VellumClient {
|
|
|
342
342
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
343
343
|
"X-Fern-Language": "JavaScript",
|
|
344
344
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
345
|
-
"X-Fern-SDK-Version": "0.1.
|
|
345
|
+
"X-Fern-SDK-Version": "0.1.7",
|
|
346
346
|
},
|
|
347
347
|
contentType: "application/json",
|
|
348
348
|
body: yield serializers.SearchRequestBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -406,7 +406,7 @@ class VellumClient {
|
|
|
406
406
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
407
407
|
"X-Fern-Language": "JavaScript",
|
|
408
408
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
409
|
-
"X-Fern-SDK-Version": "0.1.
|
|
409
|
+
"X-Fern-SDK-Version": "0.1.7",
|
|
410
410
|
},
|
|
411
411
|
contentType: "application/json",
|
|
412
412
|
body: yield serializers.SubmitCompletionActualsRequest.jsonOrThrow(request, {
|
|
@@ -464,7 +464,7 @@ class VellumClient {
|
|
|
464
464
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
465
465
|
"X-Fern-Language": "JavaScript",
|
|
466
466
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
467
|
-
"X-Fern-SDK-Version": "0.1.
|
|
467
|
+
"X-Fern-SDK-Version": "0.1.7",
|
|
468
468
|
},
|
|
469
469
|
contentType: "application/json",
|
|
470
470
|
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": "0.1.
|
|
65
|
+
"X-Fern-SDK-Version": "0.1.7",
|
|
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": "0.1.
|
|
111
|
+
"X-Fern-SDK-Version": "0.1.7",
|
|
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": "0.1.
|
|
65
|
+
"X-Fern-SDK-Version": "0.1.7",
|
|
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": "0.1.
|
|
117
|
+
"X-Fern-SDK-Version": "0.1.7",
|
|
118
118
|
},
|
|
119
119
|
contentType: "application/json",
|
|
120
120
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -78,7 +78,7 @@ class Documents {
|
|
|
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": "0.1.
|
|
81
|
+
"X-Fern-SDK-Version": "0.1.7",
|
|
82
82
|
},
|
|
83
83
|
contentType: "application/json",
|
|
84
84
|
queryParameters: _queryParams,
|
|
@@ -125,7 +125,7 @@ class Documents {
|
|
|
125
125
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
126
126
|
"X-Fern-Language": "JavaScript",
|
|
127
127
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
128
|
-
"X-Fern-SDK-Version": "0.1.
|
|
128
|
+
"X-Fern-SDK-Version": "0.1.7",
|
|
129
129
|
},
|
|
130
130
|
contentType: "application/json",
|
|
131
131
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -169,7 +169,7 @@ class Documents {
|
|
|
169
169
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
170
170
|
"X-Fern-Language": "JavaScript",
|
|
171
171
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
172
|
-
"X-Fern-SDK-Version": "0.1.
|
|
172
|
+
"X-Fern-SDK-Version": "0.1.7",
|
|
173
173
|
},
|
|
174
174
|
contentType: "application/json",
|
|
175
175
|
body: yield serializers.PatchedDocumentUpdateRequest.jsonOrThrow(request, {
|
|
@@ -245,7 +245,7 @@ class Documents {
|
|
|
245
245
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
246
246
|
"X-Fern-Language": "JavaScript",
|
|
247
247
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
248
|
-
"X-Fern-SDK-Version": "0.1.
|
|
248
|
+
"X-Fern-SDK-Version": "0.1.7",
|
|
249
249
|
"Content-Length": (yield core.getFormDataContentLength(_request)).toString(),
|
|
250
250
|
},
|
|
251
251
|
contentType: "multipart/form-data; boundary=" + _request.getBoundary(),
|
|
@@ -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": "0.1.
|
|
65
|
+
"X-Fern-SDK-Version": "0.1.7",
|
|
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": "0.1.
|
|
72
|
+
"X-Fern-SDK-Version": "0.1.7",
|
|
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": "0.1.
|
|
71
|
+
"X-Fern-SDK-Version": "0.1.7",
|
|
72
72
|
},
|
|
73
73
|
contentType: "application/json",
|
|
74
74
|
body: yield serializers.UpsertSandboxScenarioRequestRequest.jsonOrThrow(request, {
|
|
@@ -120,7 +120,7 @@ class Sandboxes {
|
|
|
120
120
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
121
121
|
"X-Fern-Language": "JavaScript",
|
|
122
122
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
123
|
-
"X-Fern-SDK-Version": "0.1.
|
|
123
|
+
"X-Fern-SDK-Version": "0.1.7",
|
|
124
124
|
},
|
|
125
125
|
contentType: "application/json",
|
|
126
126
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -68,7 +68,7 @@ class TestSuites {
|
|
|
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": "0.1.
|
|
71
|
+
"X-Fern-SDK-Version": "0.1.7",
|
|
72
72
|
},
|
|
73
73
|
contentType: "application/json",
|
|
74
74
|
body: yield serializers.TestSuiteTestCaseRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -119,7 +119,7 @@ class TestSuites {
|
|
|
119
119
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
120
120
|
"X-Fern-Language": "JavaScript",
|
|
121
121
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
122
|
-
"X-Fern-SDK-Version": "0.1.
|
|
122
|
+
"X-Fern-SDK-Version": "0.1.7",
|
|
123
123
|
},
|
|
124
124
|
contentType: "application/json",
|
|
125
125
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|