vellum-ai 1.3.0 → 1.3.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 +11 -11
- package/api/client/requests/ExecuteWorkflowRequest.d.ts +2 -0
- package/api/client/requests/ExecuteWorkflowStreamRequest.d.ts +2 -0
- package/api/resources/adHoc/client/Client.d.ts +2 -2
- package/api/resources/adHoc/client/Client.js +4 -4
- package/api/resources/adHoc/client/requests/AdHocExecutePrompt.d.ts +3 -3
- package/api/resources/adHoc/client/requests/AdHocExecutePromptStream.d.ts +3 -3
- package/api/resources/containerImages/client/Client.js +4 -4
- package/api/resources/deployments/client/Client.js +8 -8
- package/api/resources/documentIndexes/client/Client.js +8 -8
- package/api/resources/documents/client/Client.js +5 -5
- package/api/resources/events/client/Client.d.ts +38 -20
- package/api/resources/events/client/Client.js +39 -21
- package/api/resources/folderEntities/client/Client.js +2 -2
- package/api/resources/metricDefinitions/client/Client.js +2 -2
- package/api/resources/mlModels/client/Client.js +1 -1
- package/api/resources/organizations/client/Client.js +1 -1
- package/api/resources/prompts/client/Client.js +2 -2
- package/api/resources/sandboxes/client/Client.js +3 -3
- package/api/resources/testSuiteRuns/client/Client.js +3 -3
- package/api/resources/testSuites/client/Client.js +4 -4
- package/api/resources/workflowDeployments/client/Client.js +9 -9
- package/api/resources/workflowExecutions/client/Client.js +1 -1
- package/api/resources/workflowSandboxes/client/Client.js +2 -2
- package/api/resources/workflows/client/Client.js +2 -2
- package/api/resources/workspaceSecrets/client/Client.js +2 -2
- package/api/resources/workspaces/client/Client.js +1 -1
- package/api/types/CreateWorkflowEventRequest.d.ts +5 -0
- package/api/types/CreateWorkflowEventRequest.js +5 -0
- package/api/types/DeprecatedPromptRequestInput.d.ts +5 -0
- package/api/types/DeprecatedPromptRequestInput.js +5 -0
- package/api/types/EventCreateResponse.d.ts +2 -0
- package/api/types/LogicalOperator.d.ts +3 -1
- package/api/types/LogicalOperator.js +1 -0
- package/api/types/ProcessingFailureReasonEnum.d.ts +3 -1
- package/api/types/ProcessingFailureReasonEnum.js +1 -0
- package/api/types/SlimDocument.d.ts +1 -0
- package/api/types/WorkflowInput.d.ts +5 -0
- package/api/types/WorkflowInput.js +5 -0
- package/api/types/index.d.ts +3 -0
- package/api/types/index.js +3 -0
- package/dist/Client.js +11 -11
- package/dist/api/client/requests/ExecuteWorkflowRequest.d.ts +2 -0
- package/dist/api/client/requests/ExecuteWorkflowStreamRequest.d.ts +2 -0
- package/dist/api/resources/adHoc/client/Client.d.ts +2 -2
- package/dist/api/resources/adHoc/client/Client.js +4 -4
- package/dist/api/resources/adHoc/client/requests/AdHocExecutePrompt.d.ts +3 -3
- package/dist/api/resources/adHoc/client/requests/AdHocExecutePromptStream.d.ts +3 -3
- package/dist/api/resources/containerImages/client/Client.js +4 -4
- package/dist/api/resources/deployments/client/Client.js +8 -8
- package/dist/api/resources/documentIndexes/client/Client.js +8 -8
- package/dist/api/resources/documents/client/Client.js +5 -5
- package/dist/api/resources/events/client/Client.d.ts +38 -20
- package/dist/api/resources/events/client/Client.js +39 -21
- package/dist/api/resources/folderEntities/client/Client.js +2 -2
- package/dist/api/resources/metricDefinitions/client/Client.js +2 -2
- package/dist/api/resources/mlModels/client/Client.js +1 -1
- package/dist/api/resources/organizations/client/Client.js +1 -1
- package/dist/api/resources/prompts/client/Client.js +2 -2
- package/dist/api/resources/sandboxes/client/Client.js +3 -3
- package/dist/api/resources/testSuiteRuns/client/Client.js +3 -3
- package/dist/api/resources/testSuites/client/Client.js +4 -4
- package/dist/api/resources/workflowDeployments/client/Client.js +9 -9
- package/dist/api/resources/workflowExecutions/client/Client.js +1 -1
- package/dist/api/resources/workflowSandboxes/client/Client.js +2 -2
- package/dist/api/resources/workflows/client/Client.js +2 -2
- package/dist/api/resources/workspaceSecrets/client/Client.js +2 -2
- package/dist/api/resources/workspaces/client/Client.js +1 -1
- package/dist/api/types/CreateWorkflowEventRequest.d.ts +5 -0
- package/dist/api/types/CreateWorkflowEventRequest.js +5 -0
- package/dist/api/types/DeprecatedPromptRequestInput.d.ts +5 -0
- package/dist/api/types/DeprecatedPromptRequestInput.js +5 -0
- package/dist/api/types/EventCreateResponse.d.ts +2 -0
- package/dist/api/types/LogicalOperator.d.ts +3 -1
- package/dist/api/types/LogicalOperator.js +1 -0
- package/dist/api/types/ProcessingFailureReasonEnum.d.ts +3 -1
- package/dist/api/types/ProcessingFailureReasonEnum.js +1 -0
- package/dist/api/types/SlimDocument.d.ts +1 -0
- package/dist/api/types/WorkflowInput.d.ts +5 -0
- package/dist/api/types/WorkflowInput.js +5 -0
- package/dist/api/types/index.d.ts +3 -0
- package/dist/api/types/index.js +3 -0
- package/dist/serialization/client/requests/ExecuteWorkflowRequest.d.ts +1 -0
- package/dist/serialization/client/requests/ExecuteWorkflowRequest.js +1 -0
- package/dist/serialization/client/requests/ExecuteWorkflowStreamRequest.d.ts +1 -0
- package/dist/serialization/client/requests/ExecuteWorkflowStreamRequest.js +1 -0
- package/dist/serialization/resources/adHoc/client/requests/AdHocExecutePrompt.d.ts +2 -2
- package/dist/serialization/resources/adHoc/client/requests/AdHocExecutePrompt.js +2 -2
- package/dist/serialization/resources/adHoc/client/requests/AdHocExecutePromptStream.d.ts +2 -2
- package/dist/serialization/resources/adHoc/client/requests/AdHocExecutePromptStream.js +2 -2
- package/dist/serialization/types/CreateWorkflowEventRequest.d.ts +11 -0
- package/dist/serialization/types/CreateWorkflowEventRequest.js +42 -0
- package/dist/serialization/types/DeprecatedPromptRequestInput.d.ts +12 -0
- package/dist/serialization/types/DeprecatedPromptRequestInput.js +43 -0
- package/dist/serialization/types/EventCreateResponse.d.ts +1 -0
- package/dist/serialization/types/EventCreateResponse.js +1 -0
- package/dist/serialization/types/LogicalOperator.d.ts +1 -1
- package/dist/serialization/types/LogicalOperator.js +1 -0
- package/dist/serialization/types/ProcessingFailureReasonEnum.d.ts +1 -1
- package/dist/serialization/types/ProcessingFailureReasonEnum.js +1 -1
- package/dist/serialization/types/WorkflowInput.d.ts +22 -0
- package/dist/serialization/types/WorkflowInput.js +66 -0
- package/dist/serialization/types/index.d.ts +3 -0
- package/dist/serialization/types/index.js +3 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +41 -20
- package/serialization/client/requests/ExecuteWorkflowRequest.d.ts +1 -0
- package/serialization/client/requests/ExecuteWorkflowRequest.js +1 -0
- package/serialization/client/requests/ExecuteWorkflowStreamRequest.d.ts +1 -0
- package/serialization/client/requests/ExecuteWorkflowStreamRequest.js +1 -0
- package/serialization/resources/adHoc/client/requests/AdHocExecutePrompt.d.ts +2 -2
- package/serialization/resources/adHoc/client/requests/AdHocExecutePrompt.js +2 -2
- package/serialization/resources/adHoc/client/requests/AdHocExecutePromptStream.d.ts +2 -2
- package/serialization/resources/adHoc/client/requests/AdHocExecutePromptStream.js +2 -2
- package/serialization/types/CreateWorkflowEventRequest.d.ts +11 -0
- package/serialization/types/CreateWorkflowEventRequest.js +42 -0
- package/serialization/types/DeprecatedPromptRequestInput.d.ts +12 -0
- package/serialization/types/DeprecatedPromptRequestInput.js +43 -0
- package/serialization/types/EventCreateResponse.d.ts +1 -0
- package/serialization/types/EventCreateResponse.js +1 -0
- package/serialization/types/LogicalOperator.d.ts +1 -1
- package/serialization/types/LogicalOperator.js +1 -0
- package/serialization/types/ProcessingFailureReasonEnum.d.ts +1 -1
- package/serialization/types/ProcessingFailureReasonEnum.js +1 -1
- package/serialization/types/WorkflowInput.d.ts +22 -0
- package/serialization/types/WorkflowInput.js +66 -0
- package/serialization/types/index.d.ts +3 -0
- package/serialization/types/index.js +3 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
package/Client.js
CHANGED
|
@@ -182,7 +182,7 @@ class VellumClient {
|
|
|
182
182
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
183
183
|
unrecognizedObjectKeys: "strip",
|
|
184
184
|
})
|
|
185
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.
|
|
185
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.2", "User-Agent": "vellum-ai/1.3.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
186
186
|
contentType: "application/json",
|
|
187
187
|
requestType: "json",
|
|
188
188
|
body: serializers.ExecuteApiRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -268,7 +268,7 @@ class VellumClient {
|
|
|
268
268
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
269
269
|
unrecognizedObjectKeys: "strip",
|
|
270
270
|
})
|
|
271
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.
|
|
271
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.2", "User-Agent": "vellum-ai/1.3.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
272
272
|
contentType: "application/json",
|
|
273
273
|
requestType: "json",
|
|
274
274
|
body: serializers.CodeExecutor.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -354,7 +354,7 @@ class VellumClient {
|
|
|
354
354
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
355
355
|
unrecognizedObjectKeys: "strip",
|
|
356
356
|
})
|
|
357
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.
|
|
357
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.2", "User-Agent": "vellum-ai/1.3.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
358
358
|
contentType: "application/json",
|
|
359
359
|
requestType: "json",
|
|
360
360
|
body: serializers.ExecutePromptRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -425,7 +425,7 @@ class VellumClient {
|
|
|
425
425
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
426
426
|
unrecognizedObjectKeys: "strip",
|
|
427
427
|
})
|
|
428
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.
|
|
428
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.2", "User-Agent": "vellum-ai/1.3.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
429
429
|
contentType: "application/json",
|
|
430
430
|
requestType: "json",
|
|
431
431
|
body: serializers.ExecutePromptStreamRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -527,7 +527,7 @@ class VellumClient {
|
|
|
527
527
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
528
528
|
unrecognizedObjectKeys: "strip",
|
|
529
529
|
})
|
|
530
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.
|
|
530
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.2", "User-Agent": "vellum-ai/1.3.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
531
531
|
contentType: "application/json",
|
|
532
532
|
requestType: "json",
|
|
533
533
|
body: serializers.ExecuteWorkflowRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -596,7 +596,7 @@ class VellumClient {
|
|
|
596
596
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
597
597
|
unrecognizedObjectKeys: "strip",
|
|
598
598
|
})
|
|
599
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.
|
|
599
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.2", "User-Agent": "vellum-ai/1.3.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
600
600
|
contentType: "application/json",
|
|
601
601
|
requestType: "json",
|
|
602
602
|
body: serializers.ExecuteWorkflowStreamRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -704,7 +704,7 @@ class VellumClient {
|
|
|
704
704
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
705
705
|
unrecognizedObjectKeys: "strip",
|
|
706
706
|
})
|
|
707
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.
|
|
707
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.2", "User-Agent": "vellum-ai/1.3.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
708
708
|
contentType: "application/json",
|
|
709
709
|
requestType: "json",
|
|
710
710
|
body: serializers.GenerateBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -778,7 +778,7 @@ class VellumClient {
|
|
|
778
778
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
779
779
|
unrecognizedObjectKeys: "strip",
|
|
780
780
|
})
|
|
781
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.
|
|
781
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.2", "User-Agent": "vellum-ai/1.3.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
782
782
|
contentType: "application/json",
|
|
783
783
|
requestType: "json",
|
|
784
784
|
body: serializers.GenerateStreamBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -872,7 +872,7 @@ class VellumClient {
|
|
|
872
872
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
873
873
|
unrecognizedObjectKeys: "strip",
|
|
874
874
|
})
|
|
875
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.
|
|
875
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.2", "User-Agent": "vellum-ai/1.3.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
876
876
|
contentType: "application/json",
|
|
877
877
|
requestType: "json",
|
|
878
878
|
body: serializers.SearchRequestBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -953,7 +953,7 @@ class VellumClient {
|
|
|
953
953
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
954
954
|
unrecognizedObjectKeys: "strip",
|
|
955
955
|
})
|
|
956
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.
|
|
956
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.2", "User-Agent": "vellum-ai/1.3.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
957
957
|
contentType: "application/json",
|
|
958
958
|
requestType: "json",
|
|
959
959
|
body: serializers.SubmitCompletionActualsRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -1028,7 +1028,7 @@ class VellumClient {
|
|
|
1028
1028
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
1029
1029
|
unrecognizedObjectKeys: "strip",
|
|
1030
1030
|
})
|
|
1031
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.
|
|
1031
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.2", "User-Agent": "vellum-ai/1.3.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
1032
1032
|
contentType: "application/json",
|
|
1033
1033
|
requestType: "json",
|
|
1034
1034
|
body: serializers.SubmitWorkflowExecutionActualsRequest.jsonOrThrow(request, {
|
|
@@ -31,4 +31,6 @@ export interface ExecuteWorkflowRequest {
|
|
|
31
31
|
externalId?: string | null;
|
|
32
32
|
/** Arbitrary JSON metadata associated with this request. Can be used to capture additional monitoring data such as user id, session id, etc. for future analysis. */
|
|
33
33
|
metadata?: Record<string, unknown> | null;
|
|
34
|
+
/** The ID of a previous Workflow Execution to reference for initial State loading. */
|
|
35
|
+
previousExecutionId?: string | null;
|
|
34
36
|
}
|
|
@@ -33,4 +33,6 @@ export interface ExecuteWorkflowStreamRequest {
|
|
|
33
33
|
eventTypes?: Vellum.WorkflowExecutionEventType[];
|
|
34
34
|
/** Arbitrary JSON metadata associated with this request. Can be used to capture additional monitoring data such as user id, session id, etc. for future analysis. */
|
|
35
35
|
metadata?: Record<string, unknown> | null;
|
|
36
|
+
/** The ID of a previous Workflow Execution to reference for initial State loading. */
|
|
37
|
+
previousExecutionId?: string | null;
|
|
36
38
|
}
|
|
@@ -41,11 +41,11 @@ export declare class AdHoc {
|
|
|
41
41
|
* await client.adHoc.adhocExecutePrompt({
|
|
42
42
|
* mlModel: "x",
|
|
43
43
|
* inputValues: [{
|
|
44
|
-
*
|
|
44
|
+
* name: "x",
|
|
45
45
|
* type: "STRING",
|
|
46
46
|
* value: "value"
|
|
47
47
|
* }, {
|
|
48
|
-
*
|
|
48
|
+
* name: "x",
|
|
49
49
|
* type: "STRING",
|
|
50
50
|
* value: "value"
|
|
51
51
|
* }],
|
|
@@ -71,11 +71,11 @@ class AdHoc {
|
|
|
71
71
|
* await client.adHoc.adhocExecutePrompt({
|
|
72
72
|
* mlModel: "x",
|
|
73
73
|
* inputValues: [{
|
|
74
|
-
*
|
|
74
|
+
* name: "x",
|
|
75
75
|
* type: "STRING",
|
|
76
76
|
* value: "value"
|
|
77
77
|
* }, {
|
|
78
|
-
*
|
|
78
|
+
* name: "x",
|
|
79
79
|
* type: "STRING",
|
|
80
80
|
* value: "value"
|
|
81
81
|
* }],
|
|
@@ -112,7 +112,7 @@ class AdHoc {
|
|
|
112
112
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
113
113
|
unrecognizedObjectKeys: "strip",
|
|
114
114
|
})
|
|
115
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.
|
|
115
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.2", "User-Agent": "vellum-ai/1.3.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
116
116
|
contentType: "application/json",
|
|
117
117
|
requestType: "json",
|
|
118
118
|
body: serializers.AdHocExecutePrompt.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -178,7 +178,7 @@ class AdHoc {
|
|
|
178
178
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
179
179
|
unrecognizedObjectKeys: "strip",
|
|
180
180
|
})
|
|
181
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.
|
|
181
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.2", "User-Agent": "vellum-ai/1.3.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
182
182
|
contentType: "application/json",
|
|
183
183
|
requestType: "json",
|
|
184
184
|
body: serializers.AdHocExecutePromptStream.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -7,11 +7,11 @@ import * as Vellum from "../../../../index";
|
|
|
7
7
|
* {
|
|
8
8
|
* mlModel: "x",
|
|
9
9
|
* inputValues: [{
|
|
10
|
-
*
|
|
10
|
+
* name: "x",
|
|
11
11
|
* type: "STRING",
|
|
12
12
|
* value: "value"
|
|
13
13
|
* }, {
|
|
14
|
-
*
|
|
14
|
+
* name: "x",
|
|
15
15
|
* type: "STRING",
|
|
16
16
|
* value: "value"
|
|
17
17
|
* }],
|
|
@@ -36,7 +36,7 @@ import * as Vellum from "../../../../index";
|
|
|
36
36
|
*/
|
|
37
37
|
export interface AdHocExecutePrompt {
|
|
38
38
|
mlModel: string;
|
|
39
|
-
inputValues: Vellum.
|
|
39
|
+
inputValues: Vellum.DeprecatedPromptRequestInput[];
|
|
40
40
|
inputVariables: Vellum.VellumVariable[];
|
|
41
41
|
parameters: Vellum.PromptParameters;
|
|
42
42
|
settings?: Vellum.PromptSettings | null;
|
|
@@ -7,11 +7,11 @@ import * as Vellum from "../../../../index";
|
|
|
7
7
|
* {
|
|
8
8
|
* mlModel: "x",
|
|
9
9
|
* inputValues: [{
|
|
10
|
-
*
|
|
10
|
+
* name: "x",
|
|
11
11
|
* type: "STRING",
|
|
12
12
|
* value: "value"
|
|
13
13
|
* }, {
|
|
14
|
-
*
|
|
14
|
+
* name: "x",
|
|
15
15
|
* type: "STRING",
|
|
16
16
|
* value: "value"
|
|
17
17
|
* }],
|
|
@@ -36,7 +36,7 @@ import * as Vellum from "../../../../index";
|
|
|
36
36
|
*/
|
|
37
37
|
export interface AdHocExecutePromptStream {
|
|
38
38
|
mlModel: string;
|
|
39
|
-
inputValues: Vellum.
|
|
39
|
+
inputValues: Vellum.DeprecatedPromptRequestInput[];
|
|
40
40
|
inputVariables: Vellum.VellumVariable[];
|
|
41
41
|
parameters: Vellum.PromptParameters;
|
|
42
42
|
settings?: Vellum.PromptSettings | null;
|
|
@@ -92,7 +92,7 @@ class ContainerImages {
|
|
|
92
92
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
93
93
|
unrecognizedObjectKeys: "strip",
|
|
94
94
|
})
|
|
95
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.
|
|
95
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.2", "User-Agent": "vellum-ai/1.3.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
96
96
|
contentType: "application/json",
|
|
97
97
|
queryParameters: _queryParams,
|
|
98
98
|
requestType: "json",
|
|
@@ -158,7 +158,7 @@ class ContainerImages {
|
|
|
158
158
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
159
159
|
unrecognizedObjectKeys: "strip",
|
|
160
160
|
})
|
|
161
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.
|
|
161
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.2", "User-Agent": "vellum-ai/1.3.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
162
162
|
contentType: "application/json",
|
|
163
163
|
requestType: "json",
|
|
164
164
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -220,7 +220,7 @@ class ContainerImages {
|
|
|
220
220
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
221
221
|
unrecognizedObjectKeys: "strip",
|
|
222
222
|
})
|
|
223
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.
|
|
223
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.2", "User-Agent": "vellum-ai/1.3.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
224
224
|
contentType: "application/json",
|
|
225
225
|
requestType: "json",
|
|
226
226
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -287,7 +287,7 @@ class ContainerImages {
|
|
|
287
287
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
288
288
|
unrecognizedObjectKeys: "strip",
|
|
289
289
|
})
|
|
290
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.
|
|
290
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.2", "User-Agent": "vellum-ai/1.3.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
291
291
|
contentType: "application/json",
|
|
292
292
|
requestType: "json",
|
|
293
293
|
body: serializers.PushContainerImageRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -98,7 +98,7 @@ class Deployments {
|
|
|
98
98
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
99
99
|
unrecognizedObjectKeys: "strip",
|
|
100
100
|
})
|
|
101
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.
|
|
101
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.2", "User-Agent": "vellum-ai/1.3.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
102
102
|
contentType: "application/json",
|
|
103
103
|
queryParameters: _queryParams,
|
|
104
104
|
requestType: "json",
|
|
@@ -164,7 +164,7 @@ class Deployments {
|
|
|
164
164
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
165
165
|
unrecognizedObjectKeys: "strip",
|
|
166
166
|
})
|
|
167
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.
|
|
167
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.2", "User-Agent": "vellum-ai/1.3.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
168
168
|
contentType: "application/json",
|
|
169
169
|
requestType: "json",
|
|
170
170
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -231,7 +231,7 @@ class Deployments {
|
|
|
231
231
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
232
232
|
unrecognizedObjectKeys: "strip",
|
|
233
233
|
})
|
|
234
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.
|
|
234
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.2", "User-Agent": "vellum-ai/1.3.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
235
235
|
contentType: "application/json",
|
|
236
236
|
requestType: "json",
|
|
237
237
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -313,7 +313,7 @@ class Deployments {
|
|
|
313
313
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
314
314
|
unrecognizedObjectKeys: "strip",
|
|
315
315
|
})
|
|
316
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.
|
|
316
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.2", "User-Agent": "vellum-ai/1.3.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
317
317
|
contentType: "application/json",
|
|
318
318
|
queryParameters: _queryParams,
|
|
319
319
|
requestType: "json",
|
|
@@ -380,7 +380,7 @@ class Deployments {
|
|
|
380
380
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
381
381
|
unrecognizedObjectKeys: "strip",
|
|
382
382
|
})
|
|
383
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.
|
|
383
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.2", "User-Agent": "vellum-ai/1.3.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
384
384
|
contentType: "application/json",
|
|
385
385
|
requestType: "json",
|
|
386
386
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -447,7 +447,7 @@ class Deployments {
|
|
|
447
447
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
448
448
|
unrecognizedObjectKeys: "strip",
|
|
449
449
|
})
|
|
450
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.
|
|
450
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.2", "User-Agent": "vellum-ai/1.3.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
451
451
|
contentType: "application/json",
|
|
452
452
|
requestType: "json",
|
|
453
453
|
body: serializers.PatchedDeploymentReleaseTagUpdateRequest.jsonOrThrow(request, {
|
|
@@ -516,7 +516,7 @@ class Deployments {
|
|
|
516
516
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
517
517
|
unrecognizedObjectKeys: "strip",
|
|
518
518
|
})
|
|
519
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.
|
|
519
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.2", "User-Agent": "vellum-ai/1.3.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
520
520
|
contentType: "application/json",
|
|
521
521
|
requestType: "json",
|
|
522
522
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -605,7 +605,7 @@ class Deployments {
|
|
|
605
605
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
606
606
|
unrecognizedObjectKeys: "strip",
|
|
607
607
|
})
|
|
608
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.
|
|
608
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.2", "User-Agent": "vellum-ai/1.3.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
609
609
|
contentType: "application/json",
|
|
610
610
|
requestType: "json",
|
|
611
611
|
body: serializers.DeploymentProviderPayloadRequest.jsonOrThrow(request, {
|
|
@@ -100,7 +100,7 @@ class DocumentIndexes {
|
|
|
100
100
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
101
101
|
unrecognizedObjectKeys: "strip",
|
|
102
102
|
})
|
|
103
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.
|
|
103
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.2", "User-Agent": "vellum-ai/1.3.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
104
104
|
contentType: "application/json",
|
|
105
105
|
queryParameters: _queryParams,
|
|
106
106
|
requestType: "json",
|
|
@@ -175,7 +175,7 @@ class DocumentIndexes {
|
|
|
175
175
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
176
176
|
unrecognizedObjectKeys: "strip",
|
|
177
177
|
})
|
|
178
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.
|
|
178
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.2", "User-Agent": "vellum-ai/1.3.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
179
179
|
contentType: "application/json",
|
|
180
180
|
requestType: "json",
|
|
181
181
|
body: serializers.DocumentIndexCreateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -241,7 +241,7 @@ class DocumentIndexes {
|
|
|
241
241
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
242
242
|
unrecognizedObjectKeys: "strip",
|
|
243
243
|
})
|
|
244
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.
|
|
244
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.2", "User-Agent": "vellum-ai/1.3.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
245
245
|
contentType: "application/json",
|
|
246
246
|
requestType: "json",
|
|
247
247
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -309,7 +309,7 @@ class DocumentIndexes {
|
|
|
309
309
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
310
310
|
unrecognizedObjectKeys: "strip",
|
|
311
311
|
})
|
|
312
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.
|
|
312
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.2", "User-Agent": "vellum-ai/1.3.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
313
313
|
contentType: "application/json",
|
|
314
314
|
requestType: "json",
|
|
315
315
|
body: serializers.DocumentIndexUpdateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -375,7 +375,7 @@ class DocumentIndexes {
|
|
|
375
375
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
376
376
|
unrecognizedObjectKeys: "strip",
|
|
377
377
|
})
|
|
378
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.
|
|
378
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.2", "User-Agent": "vellum-ai/1.3.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
379
379
|
contentType: "application/json",
|
|
380
380
|
requestType: "json",
|
|
381
381
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -433,7 +433,7 @@ class DocumentIndexes {
|
|
|
433
433
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
434
434
|
unrecognizedObjectKeys: "strip",
|
|
435
435
|
})
|
|
436
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.
|
|
436
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.2", "User-Agent": "vellum-ai/1.3.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
437
437
|
contentType: "application/json",
|
|
438
438
|
requestType: "json",
|
|
439
439
|
body: serializers.PatchedDocumentIndexUpdateRequest.jsonOrThrow(request, {
|
|
@@ -502,7 +502,7 @@ class DocumentIndexes {
|
|
|
502
502
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
503
503
|
unrecognizedObjectKeys: "strip",
|
|
504
504
|
})
|
|
505
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.
|
|
505
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.2", "User-Agent": "vellum-ai/1.3.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
506
506
|
contentType: "application/json",
|
|
507
507
|
requestType: "json",
|
|
508
508
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -560,7 +560,7 @@ class DocumentIndexes {
|
|
|
560
560
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
561
561
|
unrecognizedObjectKeys: "strip",
|
|
562
562
|
})
|
|
563
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.
|
|
563
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.2", "User-Agent": "vellum-ai/1.3.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
564
564
|
contentType: "application/json",
|
|
565
565
|
requestType: "json",
|
|
566
566
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -99,7 +99,7 @@ class Documents {
|
|
|
99
99
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
100
100
|
unrecognizedObjectKeys: "strip",
|
|
101
101
|
})
|
|
102
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.
|
|
102
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.2", "User-Agent": "vellum-ai/1.3.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
103
103
|
contentType: "application/json",
|
|
104
104
|
queryParameters: _queryParams,
|
|
105
105
|
requestType: "json",
|
|
@@ -165,7 +165,7 @@ class Documents {
|
|
|
165
165
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
166
166
|
unrecognizedObjectKeys: "strip",
|
|
167
167
|
})
|
|
168
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.
|
|
168
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.2", "User-Agent": "vellum-ai/1.3.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
169
169
|
contentType: "application/json",
|
|
170
170
|
requestType: "json",
|
|
171
171
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -230,7 +230,7 @@ class Documents {
|
|
|
230
230
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
231
231
|
unrecognizedObjectKeys: "strip",
|
|
232
232
|
})
|
|
233
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.
|
|
233
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.2", "User-Agent": "vellum-ai/1.3.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
234
234
|
contentType: "application/json",
|
|
235
235
|
requestType: "json",
|
|
236
236
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -288,7 +288,7 @@ class Documents {
|
|
|
288
288
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
289
289
|
unrecognizedObjectKeys: "strip",
|
|
290
290
|
})
|
|
291
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.
|
|
291
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.2", "User-Agent": "vellum-ai/1.3.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
292
292
|
contentType: "application/json",
|
|
293
293
|
requestType: "json",
|
|
294
294
|
body: serializers.PatchedDocumentUpdateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -378,7 +378,7 @@ class Documents {
|
|
|
378
378
|
? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
|
|
379
379
|
unrecognizedObjectKeys: "strip",
|
|
380
380
|
})
|
|
381
|
-
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.
|
|
381
|
+
: "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.3.2", "User-Agent": "vellum-ai/1.3.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), _maybeEncodedRequest.headers), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
382
382
|
requestType: "file",
|
|
383
383
|
duplex: _maybeEncodedRequest.duplex,
|
|
384
384
|
body: _maybeEncodedRequest.body,
|
|
@@ -30,9 +30,9 @@ export declare class Events {
|
|
|
30
30
|
protected readonly _options: Events.Options;
|
|
31
31
|
constructor(_options: Events.Options);
|
|
32
32
|
/**
|
|
33
|
-
* Accept an event and publish
|
|
33
|
+
* Accept an event or list of events and publish them to ClickHouse for analytics processing.
|
|
34
34
|
*
|
|
35
|
-
* @param {Vellum.
|
|
35
|
+
* @param {Vellum.CreateWorkflowEventRequest} request
|
|
36
36
|
* @param {Events.RequestOptions} requestOptions - Request-specific configuration.
|
|
37
37
|
*
|
|
38
38
|
* @throws {@link Vellum.BadRequestError}
|
|
@@ -41,27 +41,45 @@ export declare class Events {
|
|
|
41
41
|
* @throws {@link Vellum.TooManyRequestsError}
|
|
42
42
|
*
|
|
43
43
|
* @example
|
|
44
|
-
* await client.events.create({
|
|
45
|
-
*
|
|
46
|
-
*
|
|
47
|
-
*
|
|
48
|
-
*
|
|
49
|
-
*
|
|
50
|
-
*
|
|
44
|
+
* await client.events.create([{
|
|
45
|
+
* name: "node.execution.initiated",
|
|
46
|
+
* body: {
|
|
47
|
+
* nodeDefinition: {
|
|
48
|
+
* name: "name",
|
|
49
|
+
* module: ["module", "module"],
|
|
50
|
+
* id: "id"
|
|
51
|
+
* },
|
|
52
|
+
* inputs: {
|
|
53
|
+
* "inputs": {
|
|
54
|
+
* "key": "value"
|
|
55
|
+
* }
|
|
56
|
+
* }
|
|
51
57
|
* },
|
|
52
|
-
*
|
|
53
|
-
*
|
|
54
|
-
*
|
|
58
|
+
* id: "id",
|
|
59
|
+
* timestamp: "2024-01-15T09:30:00Z",
|
|
60
|
+
* traceId: "trace_id",
|
|
61
|
+
* spanId: "span_id"
|
|
62
|
+
* }, {
|
|
63
|
+
* name: "node.execution.initiated",
|
|
64
|
+
* body: {
|
|
65
|
+
* nodeDefinition: {
|
|
66
|
+
* name: "name",
|
|
67
|
+
* module: ["module", "module"],
|
|
68
|
+
* id: "id"
|
|
69
|
+
* },
|
|
70
|
+
* inputs: {
|
|
71
|
+
* "inputs": {
|
|
72
|
+
* "key": "value"
|
|
73
|
+
* }
|
|
55
74
|
* }
|
|
56
|
-
* }
|
|
57
|
-
*
|
|
58
|
-
*
|
|
59
|
-
*
|
|
60
|
-
*
|
|
61
|
-
*
|
|
62
|
-
* })
|
|
75
|
+
* },
|
|
76
|
+
* id: "id",
|
|
77
|
+
* timestamp: "2024-01-15T09:30:00Z",
|
|
78
|
+
* traceId: "trace_id",
|
|
79
|
+
* spanId: "span_id"
|
|
80
|
+
* }])
|
|
63
81
|
*/
|
|
64
|
-
create(request: Vellum.
|
|
82
|
+
create(request: Vellum.CreateWorkflowEventRequest, requestOptions?: Events.RequestOptions): core.HttpResponsePromise<Vellum.EventCreateResponse>;
|
|
65
83
|
private __create;
|
|
66
84
|
protected _getCustomAuthorizationHeaders(): Promise<{
|
|
67
85
|
"X-API-KEY": string;
|