vellum-ai 0.9.5 → 0.9.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/.mock/definition/__package__.yml +92 -110
- package/.mock/definition/adHoc.yml +7 -7
- package/.mock/openapi/openapi.yml +120 -165
- package/Client.js +10 -10
- package/api/resources/adHoc/client/Client.d.ts +1 -1
- package/api/resources/adHoc/client/Client.js +2 -2
- package/api/resources/adHoc/client/requests/{AdHocExecutePromptStreamRequest.d.ts → AdHocExecutePromptStream.d.ts} +14 -21
- package/api/resources/adHoc/client/requests/index.d.ts +1 -1
- package/api/resources/containerImages/client/Client.js +4 -4
- package/api/resources/deployments/client/Client.js +6 -6
- package/api/resources/documentIndexes/client/Client.js +8 -8
- package/api/resources/documents/client/Client.js +5 -5
- package/api/resources/folderEntities/client/Client.js +2 -2
- package/api/resources/metricDefinitions/client/Client.js +1 -1
- 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 +5 -5
- package/api/resources/workflowSandboxes/client/Client.js +1 -1
- package/api/resources/workflows/client/Client.js +2 -2
- package/api/resources/workspaceSecrets/client/Client.js +2 -2
- package/{dist/api/types/AdHocExpandMetaRequest.d.ts → api/types/AdHocExpandMeta.d.ts} +1 -1
- package/api/types/{PromptParametersRequest.d.ts → PromptParameters.d.ts} +1 -1
- package/api/types/{PromptRequestChatHistoryInputRequest.d.ts → PromptRequestChatHistoryInput.d.ts} +2 -2
- package/api/types/PromptRequestInput.d.ts +5 -0
- package/{dist/api/types/PromptRequestJsonInputRequest.d.ts → api/types/PromptRequestJsonInput.d.ts} +1 -1
- package/api/types/{PromptRequestStringInputRequest.d.ts → PromptRequestStringInput.d.ts} +1 -1
- package/api/types/{PromptSettingsRequest.d.ts → PromptSettings.d.ts} +1 -1
- package/api/types/index.d.ts +7 -23
- package/api/types/index.js +7 -23
- package/dist/Client.js +10 -10
- package/dist/api/resources/adHoc/client/Client.d.ts +1 -1
- package/dist/api/resources/adHoc/client/Client.js +2 -2
- package/dist/api/resources/adHoc/client/requests/{AdHocExecutePromptStreamRequest.d.ts → AdHocExecutePromptStream.d.ts} +14 -21
- package/dist/api/resources/adHoc/client/requests/index.d.ts +1 -1
- package/dist/api/resources/containerImages/client/Client.js +4 -4
- package/dist/api/resources/deployments/client/Client.js +6 -6
- package/dist/api/resources/documentIndexes/client/Client.js +8 -8
- package/dist/api/resources/documents/client/Client.js +5 -5
- package/dist/api/resources/folderEntities/client/Client.js +2 -2
- package/dist/api/resources/metricDefinitions/client/Client.js +1 -1
- 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 +5 -5
- package/dist/api/resources/workflowSandboxes/client/Client.js +1 -1
- package/dist/api/resources/workflows/client/Client.js +2 -2
- package/dist/api/resources/workspaceSecrets/client/Client.js +2 -2
- package/{api/types/AdHocExpandMetaRequest.d.ts → dist/api/types/AdHocExpandMeta.d.ts} +1 -1
- package/dist/api/types/{PromptParametersRequest.d.ts → PromptParameters.d.ts} +1 -1
- package/dist/api/types/{PromptRequestChatHistoryInputRequest.d.ts → PromptRequestChatHistoryInput.d.ts} +2 -2
- package/dist/api/types/PromptRequestInput.d.ts +5 -0
- package/{api/types/PromptRequestJsonInputRequest.d.ts → dist/api/types/PromptRequestJsonInput.d.ts} +1 -1
- package/dist/api/types/{PromptRequestStringInputRequest.d.ts → PromptRequestStringInput.d.ts} +1 -1
- package/dist/api/types/{PromptSettingsRequest.d.ts → PromptSettings.d.ts} +1 -1
- package/dist/api/types/index.d.ts +7 -23
- package/dist/api/types/index.js +7 -23
- package/dist/serialization/resources/adHoc/client/requests/AdHocExecutePromptStream.d.ts +23 -0
- package/{serialization/resources/adHoc/client/requests/AdHocExecutePromptStreamRequest.js → dist/serialization/resources/adHoc/client/requests/AdHocExecutePromptStream.js} +13 -14
- package/dist/serialization/resources/adHoc/client/requests/index.d.ts +1 -1
- package/dist/serialization/resources/adHoc/client/requests/index.js +3 -3
- package/dist/serialization/types/{AdHocExpandMetaRequest.d.ts → AdHocExpandMeta.d.ts} +2 -2
- package/dist/serialization/types/{AdHocExpandMetaRequest.js → AdHocExpandMeta.js} +2 -2
- package/dist/serialization/types/{PromptParametersRequest.d.ts → PromptParameters.d.ts} +2 -2
- package/dist/serialization/types/{PromptParametersRequest.js → PromptParameters.js} +2 -2
- package/dist/serialization/types/PromptRequestChatHistoryInput.d.ts +15 -0
- package/dist/serialization/types/{PromptRequestChatHistoryInputRequest.js → PromptRequestChatHistoryInput.js} +4 -4
- package/dist/serialization/types/PromptRequestInput.d.ts +13 -0
- package/dist/serialization/types/{JinjaPromptBlockPropertiesRequest.js → PromptRequestInput.js} +9 -6
- package/{serialization/types/PromptRequestJsonInputRequest.d.ts → dist/serialization/types/PromptRequestJsonInput.d.ts} +2 -2
- package/{serialization/types/PromptRequestJsonInputRequest.js → dist/serialization/types/PromptRequestJsonInput.js} +2 -2
- package/dist/serialization/types/{PromptRequestStringInputRequest.d.ts → PromptRequestStringInput.d.ts} +2 -2
- package/{serialization/types/PromptRequestStringInputRequest.js → dist/serialization/types/PromptRequestStringInput.js} +2 -2
- package/dist/serialization/types/{PromptSettingsRequest.d.ts → PromptSettings.d.ts} +2 -2
- package/dist/serialization/types/{PromptSettingsRequest.js → PromptSettings.js} +2 -2
- package/dist/serialization/types/index.d.ts +7 -23
- package/dist/serialization/types/index.js +7 -23
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +8 -15
- package/serialization/resources/adHoc/client/requests/AdHocExecutePromptStream.d.ts +23 -0
- package/{dist/serialization/resources/adHoc/client/requests/AdHocExecutePromptStreamRequest.js → serialization/resources/adHoc/client/requests/AdHocExecutePromptStream.js} +13 -14
- package/serialization/resources/adHoc/client/requests/index.d.ts +1 -1
- package/serialization/resources/adHoc/client/requests/index.js +3 -3
- package/serialization/types/{AdHocExpandMetaRequest.d.ts → AdHocExpandMeta.d.ts} +2 -2
- package/serialization/types/{AdHocExpandMetaRequest.js → AdHocExpandMeta.js} +2 -2
- package/serialization/types/{PromptParametersRequest.d.ts → PromptParameters.d.ts} +2 -2
- package/serialization/types/{PromptParametersRequest.js → PromptParameters.js} +2 -2
- package/serialization/types/PromptRequestChatHistoryInput.d.ts +15 -0
- package/serialization/types/{PromptRequestChatHistoryInputRequest.js → PromptRequestChatHistoryInput.js} +4 -4
- package/serialization/types/PromptRequestInput.d.ts +13 -0
- package/{dist/serialization/types/EphemeralPromptCacheConfigTypeEnum.js → serialization/types/PromptRequestInput.js} +9 -2
- package/{dist/serialization/types/PromptRequestJsonInputRequest.d.ts → serialization/types/PromptRequestJsonInput.d.ts} +2 -2
- package/{dist/serialization/types/PromptRequestJsonInputRequest.js → serialization/types/PromptRequestJsonInput.js} +2 -2
- package/serialization/types/{PromptRequestStringInputRequest.d.ts → PromptRequestStringInput.d.ts} +2 -2
- package/{dist/serialization/types/PromptRequestStringInputRequest.js → serialization/types/PromptRequestStringInput.js} +2 -2
- package/serialization/types/{PromptSettingsRequest.d.ts → PromptSettings.d.ts} +2 -2
- package/serialization/types/{PromptSettingsRequest.js → PromptSettings.js} +2 -2
- package/serialization/types/index.d.ts +7 -23
- package/serialization/types/index.js +7 -23
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/types/ChatMessagePromptBlockPropertiesRequest.d.ts +0 -13
- package/api/types/ChatMessagePromptBlockRequest.d.ts +0 -14
- package/api/types/EphemeralPromptCacheConfigRequest.d.ts +0 -7
- package/api/types/EphemeralPromptCacheConfigTypeEnum.d.ts +0 -7
- package/api/types/FunctionDefinitionPromptBlockPropertiesRequest.d.ts +0 -15
- package/api/types/FunctionDefinitionPromptBlockRequest.d.ts +0 -14
- package/api/types/JinjaPromptBlockPropertiesRequest.d.ts +0 -8
- package/api/types/JinjaPromptBlockRequest.d.ts +0 -14
- package/api/types/PlainTextPromptBlockRequest.d.ts +0 -14
- package/api/types/PromptBlockRequest.d.ts +0 -5
- package/api/types/PromptBlockState.d.ts +0 -12
- package/api/types/PromptBlockState.js +0 -10
- package/api/types/PromptRequestInputRequest.d.ts +0 -5
- package/api/types/PromptRequestStringInputRequest.js +0 -5
- package/api/types/PromptSettingsRequest.js +0 -5
- package/api/types/RichTextChildBlockRequest.d.ts +0 -5
- package/api/types/RichTextChildBlockRequest.js +0 -5
- package/api/types/RichTextPromptBlockRequest.d.ts +0 -14
- package/api/types/RichTextPromptBlockRequest.js +0 -5
- package/api/types/VariablePromptBlockRequest.d.ts +0 -14
- package/api/types/VariablePromptBlockRequest.js +0 -5
- package/api/types/VellumVariableExtensionsRequest.d.ts +0 -9
- package/api/types/VellumVariableExtensionsRequest.js +0 -5
- package/api/types/VellumVariableRequest.d.ts +0 -12
- package/api/types/VellumVariableRequest.js +0 -5
- package/dist/api/resources/adHoc/client/requests/AdHocExecutePromptStreamRequest.js +0 -5
- package/dist/api/types/AdHocExpandMetaRequest.js +0 -5
- package/dist/api/types/ChatMessagePromptBlockPropertiesRequest.d.ts +0 -13
- package/dist/api/types/ChatMessagePromptBlockPropertiesRequest.js +0 -5
- package/dist/api/types/ChatMessagePromptBlockRequest.d.ts +0 -14
- package/dist/api/types/ChatMessagePromptBlockRequest.js +0 -5
- package/dist/api/types/EphemeralPromptCacheConfigRequest.d.ts +0 -7
- package/dist/api/types/EphemeralPromptCacheConfigRequest.js +0 -5
- package/dist/api/types/EphemeralPromptCacheConfigTypeEnum.d.ts +0 -7
- package/dist/api/types/EphemeralPromptCacheConfigTypeEnum.js +0 -5
- package/dist/api/types/FunctionDefinitionPromptBlockPropertiesRequest.d.ts +0 -15
- package/dist/api/types/FunctionDefinitionPromptBlockPropertiesRequest.js +0 -5
- package/dist/api/types/FunctionDefinitionPromptBlockRequest.d.ts +0 -14
- package/dist/api/types/FunctionDefinitionPromptBlockRequest.js +0 -5
- package/dist/api/types/JinjaPromptBlockPropertiesRequest.d.ts +0 -8
- package/dist/api/types/JinjaPromptBlockPropertiesRequest.js +0 -5
- package/dist/api/types/JinjaPromptBlockRequest.d.ts +0 -14
- package/dist/api/types/JinjaPromptBlockRequest.js +0 -5
- package/dist/api/types/PlainTextPromptBlockRequest.d.ts +0 -14
- package/dist/api/types/PlainTextPromptBlockRequest.js +0 -5
- package/dist/api/types/PromptBlockRequest.d.ts +0 -5
- package/dist/api/types/PromptBlockRequest.js +0 -5
- package/dist/api/types/PromptBlockState.d.ts +0 -12
- package/dist/api/types/PromptBlockState.js +0 -10
- package/dist/api/types/PromptParametersRequest.js +0 -5
- package/dist/api/types/PromptRequestChatHistoryInputRequest.js +0 -5
- package/dist/api/types/PromptRequestInputRequest.d.ts +0 -5
- package/dist/api/types/PromptRequestInputRequest.js +0 -5
- package/dist/api/types/PromptRequestJsonInputRequest.js +0 -5
- package/dist/api/types/PromptRequestStringInputRequest.js +0 -5
- package/dist/api/types/PromptSettingsRequest.js +0 -5
- package/dist/api/types/RichTextChildBlockRequest.d.ts +0 -5
- package/dist/api/types/RichTextChildBlockRequest.js +0 -5
- package/dist/api/types/RichTextPromptBlockRequest.d.ts +0 -14
- package/dist/api/types/RichTextPromptBlockRequest.js +0 -5
- package/dist/api/types/VariablePromptBlockRequest.d.ts +0 -14
- package/dist/api/types/VariablePromptBlockRequest.js +0 -5
- package/dist/api/types/VellumVariableExtensionsRequest.d.ts +0 -9
- package/dist/api/types/VellumVariableExtensionsRequest.js +0 -5
- package/dist/api/types/VellumVariableRequest.d.ts +0 -12
- package/dist/api/types/VellumVariableRequest.js +0 -5
- package/dist/serialization/resources/adHoc/client/requests/AdHocExecutePromptStreamRequest.d.ts +0 -23
- package/dist/serialization/types/ChatMessagePromptBlockPropertiesRequest.d.ts +0 -16
- package/dist/serialization/types/ChatMessagePromptBlockPropertiesRequest.js +0 -38
- package/dist/serialization/types/ChatMessagePromptBlockRequest.d.ts +0 -18
- package/dist/serialization/types/ChatMessagePromptBlockRequest.js +0 -40
- package/dist/serialization/types/EphemeralPromptCacheConfigRequest.d.ts +0 -13
- package/dist/serialization/types/EphemeralPromptCacheConfigRequest.js +0 -34
- package/dist/serialization/types/EphemeralPromptCacheConfigTypeEnum.d.ts +0 -10
- package/dist/serialization/types/FunctionDefinitionPromptBlockPropertiesRequest.d.ts +0 -16
- package/dist/serialization/types/FunctionDefinitionPromptBlockPropertiesRequest.js +0 -37
- package/dist/serialization/types/FunctionDefinitionPromptBlockRequest.d.ts +0 -19
- package/dist/serialization/types/FunctionDefinitionPromptBlockRequest.js +0 -40
- package/dist/serialization/types/JinjaPromptBlockPropertiesRequest.d.ts +0 -14
- package/dist/serialization/types/JinjaPromptBlockRequest.d.ts +0 -19
- package/dist/serialization/types/JinjaPromptBlockRequest.js +0 -40
- package/dist/serialization/types/PlainTextPromptBlockRequest.d.ts +0 -18
- package/dist/serialization/types/PlainTextPromptBlockRequest.js +0 -39
- package/dist/serialization/types/PromptBlockRequest.d.ts +0 -14
- package/dist/serialization/types/PromptBlockRequest.js +0 -42
- package/dist/serialization/types/PromptBlockState.d.ts +0 -10
- package/dist/serialization/types/PromptBlockState.js +0 -31
- package/dist/serialization/types/PromptRequestChatHistoryInputRequest.d.ts +0 -15
- package/dist/serialization/types/PromptRequestInputRequest.d.ts +0 -13
- package/dist/serialization/types/PromptRequestInputRequest.js +0 -38
- package/dist/serialization/types/RichTextChildBlockRequest.d.ts +0 -12
- package/dist/serialization/types/RichTextChildBlockRequest.js +0 -33
- package/dist/serialization/types/RichTextPromptBlockRequest.d.ts +0 -19
- package/dist/serialization/types/RichTextPromptBlockRequest.js +0 -40
- package/dist/serialization/types/VariablePromptBlockRequest.d.ts +0 -18
- package/dist/serialization/types/VariablePromptBlockRequest.js +0 -39
- package/dist/serialization/types/VellumVariableExtensionsRequest.d.ts +0 -12
- package/dist/serialization/types/VellumVariableExtensionsRequest.js +0 -33
- package/dist/serialization/types/VellumVariableRequest.d.ts +0 -19
- package/dist/serialization/types/VellumVariableRequest.js +0 -41
- package/serialization/resources/adHoc/client/requests/AdHocExecutePromptStreamRequest.d.ts +0 -23
- package/serialization/types/ChatMessagePromptBlockPropertiesRequest.d.ts +0 -16
- package/serialization/types/ChatMessagePromptBlockPropertiesRequest.js +0 -38
- package/serialization/types/ChatMessagePromptBlockRequest.d.ts +0 -18
- package/serialization/types/ChatMessagePromptBlockRequest.js +0 -40
- package/serialization/types/EphemeralPromptCacheConfigRequest.d.ts +0 -13
- package/serialization/types/EphemeralPromptCacheConfigRequest.js +0 -34
- package/serialization/types/EphemeralPromptCacheConfigTypeEnum.d.ts +0 -10
- package/serialization/types/EphemeralPromptCacheConfigTypeEnum.js +0 -31
- package/serialization/types/FunctionDefinitionPromptBlockPropertiesRequest.d.ts +0 -16
- package/serialization/types/FunctionDefinitionPromptBlockPropertiesRequest.js +0 -37
- package/serialization/types/FunctionDefinitionPromptBlockRequest.d.ts +0 -19
- package/serialization/types/FunctionDefinitionPromptBlockRequest.js +0 -40
- package/serialization/types/JinjaPromptBlockPropertiesRequest.d.ts +0 -14
- package/serialization/types/JinjaPromptBlockPropertiesRequest.js +0 -35
- package/serialization/types/JinjaPromptBlockRequest.d.ts +0 -19
- package/serialization/types/JinjaPromptBlockRequest.js +0 -40
- package/serialization/types/PlainTextPromptBlockRequest.d.ts +0 -18
- package/serialization/types/PlainTextPromptBlockRequest.js +0 -39
- package/serialization/types/PromptBlockRequest.d.ts +0 -14
- package/serialization/types/PromptBlockRequest.js +0 -42
- package/serialization/types/PromptBlockState.d.ts +0 -10
- package/serialization/types/PromptBlockState.js +0 -31
- package/serialization/types/PromptRequestChatHistoryInputRequest.d.ts +0 -15
- package/serialization/types/PromptRequestInputRequest.d.ts +0 -13
- package/serialization/types/PromptRequestInputRequest.js +0 -38
- package/serialization/types/RichTextChildBlockRequest.d.ts +0 -12
- package/serialization/types/RichTextChildBlockRequest.js +0 -33
- package/serialization/types/RichTextPromptBlockRequest.d.ts +0 -19
- package/serialization/types/RichTextPromptBlockRequest.js +0 -40
- package/serialization/types/VariablePromptBlockRequest.d.ts +0 -18
- package/serialization/types/VariablePromptBlockRequest.js +0 -39
- package/serialization/types/VellumVariableExtensionsRequest.d.ts +0 -12
- package/serialization/types/VellumVariableExtensionsRequest.js +0 -33
- package/serialization/types/VellumVariableRequest.d.ts +0 -19
- package/serialization/types/VellumVariableRequest.js +0 -41
- /package/api/resources/adHoc/client/requests/{AdHocExecutePromptStreamRequest.js → AdHocExecutePromptStream.js} +0 -0
- /package/api/types/{AdHocExpandMetaRequest.js → AdHocExpandMeta.js} +0 -0
- /package/api/types/{ChatMessagePromptBlockPropertiesRequest.js → PromptParameters.js} +0 -0
- /package/api/types/{ChatMessagePromptBlockRequest.js → PromptRequestChatHistoryInput.js} +0 -0
- /package/api/types/{EphemeralPromptCacheConfigRequest.js → PromptRequestInput.js} +0 -0
- /package/api/types/{EphemeralPromptCacheConfigTypeEnum.js → PromptRequestJsonInput.js} +0 -0
- /package/api/types/{FunctionDefinitionPromptBlockPropertiesRequest.js → PromptRequestStringInput.js} +0 -0
- /package/api/types/{FunctionDefinitionPromptBlockRequest.js → PromptSettings.js} +0 -0
- /package/{api/types/JinjaPromptBlockPropertiesRequest.js → dist/api/resources/adHoc/client/requests/AdHocExecutePromptStream.js} +0 -0
- /package/{api/types/JinjaPromptBlockRequest.js → dist/api/types/AdHocExpandMeta.js} +0 -0
- /package/{api/types/PlainTextPromptBlockRequest.js → dist/api/types/PromptParameters.js} +0 -0
- /package/{api/types/PromptBlockRequest.js → dist/api/types/PromptRequestChatHistoryInput.js} +0 -0
- /package/{api/types/PromptParametersRequest.js → dist/api/types/PromptRequestInput.js} +0 -0
- /package/{api/types/PromptRequestChatHistoryInputRequest.js → dist/api/types/PromptRequestJsonInput.js} +0 -0
- /package/{api/types/PromptRequestInputRequest.js → dist/api/types/PromptRequestStringInput.js} +0 -0
- /package/{api/types/PromptRequestJsonInputRequest.js → dist/api/types/PromptSettings.js} +0 -0
|
@@ -79,7 +79,7 @@ class Documents {
|
|
|
79
79
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
80
80
|
.default, "v1/documents"),
|
|
81
81
|
method: "GET",
|
|
82
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.
|
|
82
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.7", "User-Agent": "vellum-ai/0.9.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
83
83
|
contentType: "application/json",
|
|
84
84
|
queryParameters: _queryParams,
|
|
85
85
|
requestType: "json",
|
|
@@ -132,7 +132,7 @@ class Documents {
|
|
|
132
132
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
133
133
|
.default, `v1/documents/${encodeURIComponent(id)}`),
|
|
134
134
|
method: "GET",
|
|
135
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.
|
|
135
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.7", "User-Agent": "vellum-ai/0.9.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
136
136
|
contentType: "application/json",
|
|
137
137
|
requestType: "json",
|
|
138
138
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -184,7 +184,7 @@ class Documents {
|
|
|
184
184
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
185
185
|
.documents, `v1/documents/${encodeURIComponent(id)}`),
|
|
186
186
|
method: "DELETE",
|
|
187
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.
|
|
187
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.7", "User-Agent": "vellum-ai/0.9.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
188
188
|
contentType: "application/json",
|
|
189
189
|
requestType: "json",
|
|
190
190
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -232,7 +232,7 @@ class Documents {
|
|
|
232
232
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
233
233
|
.default, `v1/documents/${encodeURIComponent(id)}`),
|
|
234
234
|
method: "PATCH",
|
|
235
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.
|
|
235
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.7", "User-Agent": "vellum-ai/0.9.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
236
236
|
contentType: "application/json",
|
|
237
237
|
requestType: "json",
|
|
238
238
|
body: serializers.PatchedDocumentUpdateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -322,7 +322,7 @@ class Documents {
|
|
|
322
322
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
323
323
|
.documents, "v1/upload-document"),
|
|
324
324
|
method: "POST",
|
|
325
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.
|
|
325
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.7", "User-Agent": "vellum-ai/0.9.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), _maybeEncodedRequest.headers),
|
|
326
326
|
requestType: "file",
|
|
327
327
|
duplex: _maybeEncodedRequest.duplex,
|
|
328
328
|
body: _maybeEncodedRequest.body,
|
|
@@ -81,7 +81,7 @@ class FolderEntities {
|
|
|
81
81
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
82
82
|
.default, "v1/folder-entities"),
|
|
83
83
|
method: "GET",
|
|
84
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.
|
|
84
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.7", "User-Agent": "vellum-ai/0.9.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
85
85
|
contentType: "application/json",
|
|
86
86
|
queryParameters: _queryParams,
|
|
87
87
|
requestType: "json",
|
|
@@ -145,7 +145,7 @@ class FolderEntities {
|
|
|
145
145
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
146
146
|
.default, `v1/folders/${encodeURIComponent(folderId)}/add-entity`),
|
|
147
147
|
method: "POST",
|
|
148
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.
|
|
148
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.7", "User-Agent": "vellum-ai/0.9.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
149
149
|
contentType: "application/json",
|
|
150
150
|
requestType: "json",
|
|
151
151
|
body: serializers.AddEntityToFolderRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -71,7 +71,7 @@ class MetricDefinitions {
|
|
|
71
71
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
72
72
|
.default, `v1/metric-definitions/${encodeURIComponent(id)}/execute`),
|
|
73
73
|
method: "POST",
|
|
74
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.
|
|
74
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.7", "User-Agent": "vellum-ai/0.9.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
75
75
|
contentType: "application/json",
|
|
76
76
|
requestType: "json",
|
|
77
77
|
body: serializers.ExecuteMetricDefinitionRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -64,7 +64,7 @@ class Sandboxes {
|
|
|
64
64
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
65
65
|
.default, `v1/sandboxes/${encodeURIComponent(id)}/prompts/${encodeURIComponent(promptVariantId)}/deploy`),
|
|
66
66
|
method: "POST",
|
|
67
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.
|
|
67
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.7", "User-Agent": "vellum-ai/0.9.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
68
68
|
contentType: "application/json",
|
|
69
69
|
requestType: "json",
|
|
70
70
|
body: serializers.DeploySandboxPromptRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -151,7 +151,7 @@ class Sandboxes {
|
|
|
151
151
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
152
152
|
.default, `v1/sandboxes/${encodeURIComponent(id)}/scenarios`),
|
|
153
153
|
method: "POST",
|
|
154
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.
|
|
154
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.7", "User-Agent": "vellum-ai/0.9.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
155
155
|
contentType: "application/json",
|
|
156
156
|
requestType: "json",
|
|
157
157
|
body: serializers.UpsertSandboxScenarioRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -205,7 +205,7 @@ class Sandboxes {
|
|
|
205
205
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
206
206
|
.default, `v1/sandboxes/${encodeURIComponent(id)}/scenarios/${encodeURIComponent(scenarioId)}`),
|
|
207
207
|
method: "DELETE",
|
|
208
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.
|
|
208
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.7", "User-Agent": "vellum-ai/0.9.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
209
209
|
contentType: "application/json",
|
|
210
210
|
requestType: "json",
|
|
211
211
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -71,7 +71,7 @@ class TestSuiteRuns {
|
|
|
71
71
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
72
72
|
.default, "v1/test-suite-runs"),
|
|
73
73
|
method: "POST",
|
|
74
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.
|
|
74
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.7", "User-Agent": "vellum-ai/0.9.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
75
75
|
contentType: "application/json",
|
|
76
76
|
requestType: "json",
|
|
77
77
|
body: serializers.TestSuiteRunCreateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -124,7 +124,7 @@ class TestSuiteRuns {
|
|
|
124
124
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
125
125
|
.default, `v1/test-suite-runs/${encodeURIComponent(id)}`),
|
|
126
126
|
method: "GET",
|
|
127
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.
|
|
127
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.7", "User-Agent": "vellum-ai/0.9.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
128
128
|
contentType: "application/json",
|
|
129
129
|
requestType: "json",
|
|
130
130
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -191,7 +191,7 @@ class TestSuiteRuns {
|
|
|
191
191
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
192
192
|
.default, `v1/test-suite-runs/${encodeURIComponent(id)}/executions`),
|
|
193
193
|
method: "GET",
|
|
194
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.
|
|
194
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.7", "User-Agent": "vellum-ai/0.9.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
195
195
|
contentType: "application/json",
|
|
196
196
|
queryParameters: _queryParams,
|
|
197
197
|
requestType: "json",
|
|
@@ -73,7 +73,7 @@ class TestSuites {
|
|
|
73
73
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
74
74
|
.default, `v1/test-suites/${encodeURIComponent(id)}/test-cases`),
|
|
75
75
|
method: "GET",
|
|
76
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.
|
|
76
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.7", "User-Agent": "vellum-ai/0.9.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
77
77
|
contentType: "application/json",
|
|
78
78
|
queryParameters: _queryParams,
|
|
79
79
|
requestType: "json",
|
|
@@ -142,7 +142,7 @@ class TestSuites {
|
|
|
142
142
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
143
143
|
.default, `v1/test-suites/${encodeURIComponent(id)}/test-cases`),
|
|
144
144
|
method: "POST",
|
|
145
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.
|
|
145
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.7", "User-Agent": "vellum-ai/0.9.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
146
146
|
contentType: "application/json",
|
|
147
147
|
requestType: "json",
|
|
148
148
|
body: serializers.UpsertTestSuiteTestCaseRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -189,7 +189,7 @@ class TestSuites {
|
|
|
189
189
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
190
190
|
.default, `v1/test-suites/${encodeURIComponent(id)}/test-cases-bulk`),
|
|
191
191
|
method: "POST",
|
|
192
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.
|
|
192
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.7", "User-Agent": "vellum-ai/0.9.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
193
193
|
contentType: "application/json",
|
|
194
194
|
requestType: "json",
|
|
195
195
|
body: serializers.testSuites.testSuiteTestCasesBulk.Request.jsonOrThrow(request, {
|
|
@@ -256,7 +256,7 @@ class TestSuites {
|
|
|
256
256
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
257
257
|
.default, `v1/test-suites/${encodeURIComponent(id)}/test-cases/${encodeURIComponent(testCaseId)}`),
|
|
258
258
|
method: "DELETE",
|
|
259
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.
|
|
259
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.7", "User-Agent": "vellum-ai/0.9.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
260
260
|
contentType: "application/json",
|
|
261
261
|
requestType: "json",
|
|
262
262
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -78,7 +78,7 @@ class WorkflowDeployments {
|
|
|
78
78
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
79
79
|
.default, "v1/workflow-deployments"),
|
|
80
80
|
method: "GET",
|
|
81
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.
|
|
81
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.7", "User-Agent": "vellum-ai/0.9.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
82
82
|
contentType: "application/json",
|
|
83
83
|
queryParameters: _queryParams,
|
|
84
84
|
requestType: "json",
|
|
@@ -131,7 +131,7 @@ class WorkflowDeployments {
|
|
|
131
131
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
132
132
|
.default, `v1/workflow-deployments/${encodeURIComponent(id)}`),
|
|
133
133
|
method: "GET",
|
|
134
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.
|
|
134
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.7", "User-Agent": "vellum-ai/0.9.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
135
135
|
contentType: "application/json",
|
|
136
136
|
requestType: "json",
|
|
137
137
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -198,7 +198,7 @@ class WorkflowDeployments {
|
|
|
198
198
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
199
199
|
.default, `v1/workflow-deployments/${encodeURIComponent(id)}/release-tags`),
|
|
200
200
|
method: "GET",
|
|
201
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.
|
|
201
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.7", "User-Agent": "vellum-ai/0.9.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
202
202
|
contentType: "application/json",
|
|
203
203
|
queryParameters: _queryParams,
|
|
204
204
|
requestType: "json",
|
|
@@ -252,7 +252,7 @@ class WorkflowDeployments {
|
|
|
252
252
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
253
253
|
.default, `v1/workflow-deployments/${encodeURIComponent(id)}/release-tags/${encodeURIComponent(name)}`),
|
|
254
254
|
method: "GET",
|
|
255
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.
|
|
255
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.7", "User-Agent": "vellum-ai/0.9.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
256
256
|
contentType: "application/json",
|
|
257
257
|
requestType: "json",
|
|
258
258
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -306,7 +306,7 @@ class WorkflowDeployments {
|
|
|
306
306
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
307
307
|
.default, `v1/workflow-deployments/${encodeURIComponent(id)}/release-tags/${encodeURIComponent(name)}`),
|
|
308
308
|
method: "PATCH",
|
|
309
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.
|
|
309
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.7", "User-Agent": "vellum-ai/0.9.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
310
310
|
contentType: "application/json",
|
|
311
311
|
requestType: "json",
|
|
312
312
|
body: serializers.PatchedWorkflowReleaseTagUpdateRequest.jsonOrThrow(request, {
|
|
@@ -64,7 +64,7 @@ class WorkflowSandboxes {
|
|
|
64
64
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
65
65
|
.default, `v1/workflow-sandboxes/${encodeURIComponent(id)}/workflows/${encodeURIComponent(workflowId)}/deploy`),
|
|
66
66
|
method: "POST",
|
|
67
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.
|
|
67
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.7", "User-Agent": "vellum-ai/0.9.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
68
68
|
contentType: "application/json",
|
|
69
69
|
requestType: "json",
|
|
70
70
|
body: serializers.DeploySandboxWorkflowRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -65,7 +65,7 @@ class Workflows {
|
|
|
65
65
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
66
66
|
.default, `v1/workflows/${encodeURIComponent(id)}/pull`),
|
|
67
67
|
method: "GET",
|
|
68
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.
|
|
68
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.7", "User-Agent": "vellum-ai/0.9.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
69
69
|
contentType: "application/json",
|
|
70
70
|
queryParameters: _queryParams,
|
|
71
71
|
requestType: "json",
|
|
@@ -124,7 +124,7 @@ class Workflows {
|
|
|
124
124
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
125
125
|
.default, "v1/workflows/push"),
|
|
126
126
|
method: "POST",
|
|
127
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.
|
|
127
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.7", "User-Agent": "vellum-ai/0.9.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
128
128
|
contentType: "application/json",
|
|
129
129
|
requestType: "json",
|
|
130
130
|
body: serializers.WorkflowPushRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -64,7 +64,7 @@ class WorkspaceSecrets {
|
|
|
64
64
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
65
65
|
.default, `v1/workspace-secrets/${encodeURIComponent(id)}`),
|
|
66
66
|
method: "GET",
|
|
67
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.
|
|
67
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.7", "User-Agent": "vellum-ai/0.9.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
68
68
|
contentType: "application/json",
|
|
69
69
|
requestType: "json",
|
|
70
70
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -117,7 +117,7 @@ class WorkspaceSecrets {
|
|
|
117
117
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
118
118
|
.default, `v1/workspace-secrets/${encodeURIComponent(id)}`),
|
|
119
119
|
method: "PATCH",
|
|
120
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.
|
|
120
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.7", "User-Agent": "vellum-ai/0.9.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
121
121
|
contentType: "application/json",
|
|
122
122
|
requestType: "json",
|
|
123
123
|
body: serializers.PatchedWorkspaceSecretUpdateRequest.jsonOrThrow(request, {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
export interface
|
|
4
|
+
export interface AdHocExpandMeta {
|
|
5
5
|
/** If enabled, the response will include model host cost tracking. This may increase latency for some model hosts. */
|
|
6
6
|
cost?: boolean;
|
|
7
7
|
/** If enabled, the response will include the model identifier representing the ML Model invoked by the Prompt. */
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as Vellum from "../index";
|
|
5
|
-
export interface
|
|
5
|
+
export interface PromptRequestChatHistoryInput {
|
|
6
6
|
/** The variable's name, as defined in the Prompt. */
|
|
7
7
|
key: string;
|
|
8
8
|
type: "CHAT_HISTORY";
|
|
9
|
-
value: Vellum.
|
|
9
|
+
value: Vellum.ChatMessage[];
|
|
10
10
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export * from "./AdHocExecutePromptEvent";
|
|
2
|
-
export * from "./
|
|
2
|
+
export * from "./AdHocExpandMeta";
|
|
3
3
|
export * from "./AdHocFulfilledPromptExecutionMeta";
|
|
4
4
|
export * from "./AdHocInitiatedPromptExecutionMeta";
|
|
5
5
|
export * from "./AdHocRejectedPromptExecutionMeta";
|
|
@@ -34,8 +34,6 @@ export * from "./ChatHistoryVellumValueRequest";
|
|
|
34
34
|
export * from "./ChatMessage";
|
|
35
35
|
export * from "./ChatMessageContent";
|
|
36
36
|
export * from "./ChatMessageContentRequest";
|
|
37
|
-
export * from "./ChatMessagePromptBlockPropertiesRequest";
|
|
38
|
-
export * from "./ChatMessagePromptBlockRequest";
|
|
39
37
|
export * from "./ChatMessageRequest";
|
|
40
38
|
export * from "./ChatMessageRole";
|
|
41
39
|
export * from "./CodeExecutionNodeArrayResult";
|
|
@@ -79,8 +77,6 @@ export * from "./EnrichedNormalizedCompletion";
|
|
|
79
77
|
export * from "./EntityStatus";
|
|
80
78
|
export * from "./EntityVisibility";
|
|
81
79
|
export * from "./EnvironmentEnum";
|
|
82
|
-
export * from "./EphemeralPromptCacheConfigRequest";
|
|
83
|
-
export * from "./EphemeralPromptCacheConfigTypeEnum";
|
|
84
80
|
export * from "./ErrorInputRequest";
|
|
85
81
|
export * from "./ErrorVariableValue";
|
|
86
82
|
export * from "./ErrorVellumValue";
|
|
@@ -129,8 +125,6 @@ export * from "./FunctionCallRequest";
|
|
|
129
125
|
export * from "./FunctionCallVariableValue";
|
|
130
126
|
export * from "./FunctionCallVellumValue";
|
|
131
127
|
export * from "./FunctionCallVellumValueRequest";
|
|
132
|
-
export * from "./FunctionDefinitionPromptBlockPropertiesRequest";
|
|
133
|
-
export * from "./FunctionDefinitionPromptBlockRequest";
|
|
134
128
|
export * from "./GenerateOptionsRequest";
|
|
135
129
|
export * from "./GenerateRequest";
|
|
136
130
|
export * from "./GenerateResponse";
|
|
@@ -164,8 +158,6 @@ export * from "./InstructorVectorizerConfig";
|
|
|
164
158
|
export * from "./InstructorVectorizerConfigRequest";
|
|
165
159
|
export * from "./IterationStateEnum";
|
|
166
160
|
export * from "./JsonInputRequest";
|
|
167
|
-
export * from "./JinjaPromptBlockPropertiesRequest";
|
|
168
|
-
export * from "./JinjaPromptBlockRequest";
|
|
169
161
|
export * from "./JsonVariableValue";
|
|
170
162
|
export * from "./JsonVellumValue";
|
|
171
163
|
export * from "./JsonVellumValueRequest";
|
|
@@ -249,12 +241,9 @@ export * from "./PaginatedTestSuiteTestCaseList";
|
|
|
249
241
|
export * from "./PaginatedWorkflowReleaseTagReadList";
|
|
250
242
|
export * from "./PdfSearchResultMetaSource";
|
|
251
243
|
export * from "./PdfSearchResultMetaSourceRequest";
|
|
252
|
-
export * from "./PlainTextPromptBlockRequest";
|
|
253
244
|
export * from "./Price";
|
|
254
245
|
export * from "./ProcessingFailureReasonEnum";
|
|
255
246
|
export * from "./ProcessingStateEnum";
|
|
256
|
-
export * from "./PromptBlockRequest";
|
|
257
|
-
export * from "./PromptBlockState";
|
|
258
247
|
export * from "./PromptDeploymentExpandMetaRequest";
|
|
259
248
|
export * from "./PromptDeploymentInputRequest";
|
|
260
249
|
export * from "./PromptExecutionMeta";
|
|
@@ -262,12 +251,12 @@ export * from "./PromptNodeExecutionMeta";
|
|
|
262
251
|
export * from "./PromptNodeResult";
|
|
263
252
|
export * from "./PromptNodeResultData";
|
|
264
253
|
export * from "./PromptOutput";
|
|
265
|
-
export * from "./
|
|
266
|
-
export * from "./
|
|
267
|
-
export * from "./
|
|
268
|
-
export * from "./
|
|
269
|
-
export * from "./
|
|
270
|
-
export * from "./
|
|
254
|
+
export * from "./PromptParameters";
|
|
255
|
+
export * from "./PromptRequestChatHistoryInput";
|
|
256
|
+
export * from "./PromptRequestInput";
|
|
257
|
+
export * from "./PromptRequestJsonInput";
|
|
258
|
+
export * from "./PromptRequestStringInput";
|
|
259
|
+
export * from "./PromptSettings";
|
|
271
260
|
export * from "./RawPromptExecutionOverridesRequest";
|
|
272
261
|
export * from "./ReductoChunkerConfig";
|
|
273
262
|
export * from "./ReductoChunkerConfigRequest";
|
|
@@ -281,8 +270,6 @@ export * from "./RejectedPromptExecutionMeta";
|
|
|
281
270
|
export * from "./RejectedWorkflowNodeResultEvent";
|
|
282
271
|
export * from "./ReleaseTagSource";
|
|
283
272
|
export * from "./ReplaceTestSuiteTestCaseRequest";
|
|
284
|
-
export * from "./RichTextChildBlockRequest";
|
|
285
|
-
export * from "./RichTextPromptBlockRequest";
|
|
286
273
|
export * from "./SandboxScenario";
|
|
287
274
|
export * from "./ScenarioInput";
|
|
288
275
|
export * from "./ScenarioInputChatHistoryVariableValue";
|
|
@@ -416,7 +403,6 @@ export * from "./TokenOverlappingWindowChunkingRequest";
|
|
|
416
403
|
export * from "./UnitEnum";
|
|
417
404
|
export * from "./UploadDocumentResponse";
|
|
418
405
|
export * from "./UpsertTestSuiteTestCaseRequest";
|
|
419
|
-
export * from "./VariablePromptBlockRequest";
|
|
420
406
|
export * from "./VellumAudio";
|
|
421
407
|
export * from "./VellumAudioRequest";
|
|
422
408
|
export * from "./VellumError";
|
|
@@ -431,8 +417,6 @@ export * from "./VellumValueLogicalExpressionRequest";
|
|
|
431
417
|
export * from "./VellumValueRequest";
|
|
432
418
|
export * from "./VellumVariable";
|
|
433
419
|
export * from "./VellumVariableExtensions";
|
|
434
|
-
export * from "./VellumVariableExtensionsRequest";
|
|
435
|
-
export * from "./VellumVariableRequest";
|
|
436
420
|
export * from "./VellumVariableType";
|
|
437
421
|
export * from "./WorkflowDeploymentRead";
|
|
438
422
|
export * from "./WorkflowEventError";
|
package/dist/api/types/index.js
CHANGED
|
@@ -15,7 +15,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./AdHocExecutePromptEvent"), exports);
|
|
18
|
-
__exportStar(require("./
|
|
18
|
+
__exportStar(require("./AdHocExpandMeta"), exports);
|
|
19
19
|
__exportStar(require("./AdHocFulfilledPromptExecutionMeta"), exports);
|
|
20
20
|
__exportStar(require("./AdHocInitiatedPromptExecutionMeta"), exports);
|
|
21
21
|
__exportStar(require("./AdHocRejectedPromptExecutionMeta"), exports);
|
|
@@ -50,8 +50,6 @@ __exportStar(require("./ChatHistoryVellumValueRequest"), exports);
|
|
|
50
50
|
__exportStar(require("./ChatMessage"), exports);
|
|
51
51
|
__exportStar(require("./ChatMessageContent"), exports);
|
|
52
52
|
__exportStar(require("./ChatMessageContentRequest"), exports);
|
|
53
|
-
__exportStar(require("./ChatMessagePromptBlockPropertiesRequest"), exports);
|
|
54
|
-
__exportStar(require("./ChatMessagePromptBlockRequest"), exports);
|
|
55
53
|
__exportStar(require("./ChatMessageRequest"), exports);
|
|
56
54
|
__exportStar(require("./ChatMessageRole"), exports);
|
|
57
55
|
__exportStar(require("./CodeExecutionNodeArrayResult"), exports);
|
|
@@ -95,8 +93,6 @@ __exportStar(require("./EnrichedNormalizedCompletion"), exports);
|
|
|
95
93
|
__exportStar(require("./EntityStatus"), exports);
|
|
96
94
|
__exportStar(require("./EntityVisibility"), exports);
|
|
97
95
|
__exportStar(require("./EnvironmentEnum"), exports);
|
|
98
|
-
__exportStar(require("./EphemeralPromptCacheConfigRequest"), exports);
|
|
99
|
-
__exportStar(require("./EphemeralPromptCacheConfigTypeEnum"), exports);
|
|
100
96
|
__exportStar(require("./ErrorInputRequest"), exports);
|
|
101
97
|
__exportStar(require("./ErrorVariableValue"), exports);
|
|
102
98
|
__exportStar(require("./ErrorVellumValue"), exports);
|
|
@@ -145,8 +141,6 @@ __exportStar(require("./FunctionCallRequest"), exports);
|
|
|
145
141
|
__exportStar(require("./FunctionCallVariableValue"), exports);
|
|
146
142
|
__exportStar(require("./FunctionCallVellumValue"), exports);
|
|
147
143
|
__exportStar(require("./FunctionCallVellumValueRequest"), exports);
|
|
148
|
-
__exportStar(require("./FunctionDefinitionPromptBlockPropertiesRequest"), exports);
|
|
149
|
-
__exportStar(require("./FunctionDefinitionPromptBlockRequest"), exports);
|
|
150
144
|
__exportStar(require("./GenerateOptionsRequest"), exports);
|
|
151
145
|
__exportStar(require("./GenerateRequest"), exports);
|
|
152
146
|
__exportStar(require("./GenerateResponse"), exports);
|
|
@@ -180,8 +174,6 @@ __exportStar(require("./InstructorVectorizerConfig"), exports);
|
|
|
180
174
|
__exportStar(require("./InstructorVectorizerConfigRequest"), exports);
|
|
181
175
|
__exportStar(require("./IterationStateEnum"), exports);
|
|
182
176
|
__exportStar(require("./JsonInputRequest"), exports);
|
|
183
|
-
__exportStar(require("./JinjaPromptBlockPropertiesRequest"), exports);
|
|
184
|
-
__exportStar(require("./JinjaPromptBlockRequest"), exports);
|
|
185
177
|
__exportStar(require("./JsonVariableValue"), exports);
|
|
186
178
|
__exportStar(require("./JsonVellumValue"), exports);
|
|
187
179
|
__exportStar(require("./JsonVellumValueRequest"), exports);
|
|
@@ -265,12 +257,9 @@ __exportStar(require("./PaginatedTestSuiteTestCaseList"), exports);
|
|
|
265
257
|
__exportStar(require("./PaginatedWorkflowReleaseTagReadList"), exports);
|
|
266
258
|
__exportStar(require("./PdfSearchResultMetaSource"), exports);
|
|
267
259
|
__exportStar(require("./PdfSearchResultMetaSourceRequest"), exports);
|
|
268
|
-
__exportStar(require("./PlainTextPromptBlockRequest"), exports);
|
|
269
260
|
__exportStar(require("./Price"), exports);
|
|
270
261
|
__exportStar(require("./ProcessingFailureReasonEnum"), exports);
|
|
271
262
|
__exportStar(require("./ProcessingStateEnum"), exports);
|
|
272
|
-
__exportStar(require("./PromptBlockRequest"), exports);
|
|
273
|
-
__exportStar(require("./PromptBlockState"), exports);
|
|
274
263
|
__exportStar(require("./PromptDeploymentExpandMetaRequest"), exports);
|
|
275
264
|
__exportStar(require("./PromptDeploymentInputRequest"), exports);
|
|
276
265
|
__exportStar(require("./PromptExecutionMeta"), exports);
|
|
@@ -278,12 +267,12 @@ __exportStar(require("./PromptNodeExecutionMeta"), exports);
|
|
|
278
267
|
__exportStar(require("./PromptNodeResult"), exports);
|
|
279
268
|
__exportStar(require("./PromptNodeResultData"), exports);
|
|
280
269
|
__exportStar(require("./PromptOutput"), exports);
|
|
281
|
-
__exportStar(require("./
|
|
282
|
-
__exportStar(require("./
|
|
283
|
-
__exportStar(require("./
|
|
284
|
-
__exportStar(require("./
|
|
285
|
-
__exportStar(require("./
|
|
286
|
-
__exportStar(require("./
|
|
270
|
+
__exportStar(require("./PromptParameters"), exports);
|
|
271
|
+
__exportStar(require("./PromptRequestChatHistoryInput"), exports);
|
|
272
|
+
__exportStar(require("./PromptRequestInput"), exports);
|
|
273
|
+
__exportStar(require("./PromptRequestJsonInput"), exports);
|
|
274
|
+
__exportStar(require("./PromptRequestStringInput"), exports);
|
|
275
|
+
__exportStar(require("./PromptSettings"), exports);
|
|
287
276
|
__exportStar(require("./RawPromptExecutionOverridesRequest"), exports);
|
|
288
277
|
__exportStar(require("./ReductoChunkerConfig"), exports);
|
|
289
278
|
__exportStar(require("./ReductoChunkerConfigRequest"), exports);
|
|
@@ -297,8 +286,6 @@ __exportStar(require("./RejectedPromptExecutionMeta"), exports);
|
|
|
297
286
|
__exportStar(require("./RejectedWorkflowNodeResultEvent"), exports);
|
|
298
287
|
__exportStar(require("./ReleaseTagSource"), exports);
|
|
299
288
|
__exportStar(require("./ReplaceTestSuiteTestCaseRequest"), exports);
|
|
300
|
-
__exportStar(require("./RichTextChildBlockRequest"), exports);
|
|
301
|
-
__exportStar(require("./RichTextPromptBlockRequest"), exports);
|
|
302
289
|
__exportStar(require("./SandboxScenario"), exports);
|
|
303
290
|
__exportStar(require("./ScenarioInput"), exports);
|
|
304
291
|
__exportStar(require("./ScenarioInputChatHistoryVariableValue"), exports);
|
|
@@ -432,7 +419,6 @@ __exportStar(require("./TokenOverlappingWindowChunkingRequest"), exports);
|
|
|
432
419
|
__exportStar(require("./UnitEnum"), exports);
|
|
433
420
|
__exportStar(require("./UploadDocumentResponse"), exports);
|
|
434
421
|
__exportStar(require("./UpsertTestSuiteTestCaseRequest"), exports);
|
|
435
|
-
__exportStar(require("./VariablePromptBlockRequest"), exports);
|
|
436
422
|
__exportStar(require("./VellumAudio"), exports);
|
|
437
423
|
__exportStar(require("./VellumAudioRequest"), exports);
|
|
438
424
|
__exportStar(require("./VellumError"), exports);
|
|
@@ -447,8 +433,6 @@ __exportStar(require("./VellumValueLogicalExpressionRequest"), exports);
|
|
|
447
433
|
__exportStar(require("./VellumValueRequest"), exports);
|
|
448
434
|
__exportStar(require("./VellumVariable"), exports);
|
|
449
435
|
__exportStar(require("./VellumVariableExtensions"), exports);
|
|
450
|
-
__exportStar(require("./VellumVariableExtensionsRequest"), exports);
|
|
451
|
-
__exportStar(require("./VellumVariableRequest"), exports);
|
|
452
436
|
__exportStar(require("./VellumVariableType"), exports);
|
|
453
437
|
__exportStar(require("./WorkflowDeploymentRead"), exports);
|
|
454
438
|
__exportStar(require("./WorkflowEventError"), exports);
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../index";
|
|
5
|
+
import * as Vellum from "../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../core";
|
|
7
|
+
import { PromptRequestInput } from "../../../../types/PromptRequestInput";
|
|
8
|
+
import { VellumVariable } from "../../../../types/VellumVariable";
|
|
9
|
+
import { PromptParameters } from "../../../../types/PromptParameters";
|
|
10
|
+
import { PromptSettings } from "../../../../types/PromptSettings";
|
|
11
|
+
import { AdHocExpandMeta } from "../../../../types/AdHocExpandMeta";
|
|
12
|
+
export declare const AdHocExecutePromptStream: core.serialization.Schema<serializers.AdHocExecutePromptStream.Raw, Vellum.AdHocExecutePromptStream>;
|
|
13
|
+
export declare namespace AdHocExecutePromptStream {
|
|
14
|
+
interface Raw {
|
|
15
|
+
ml_model: string;
|
|
16
|
+
input_values: PromptRequestInput.Raw[];
|
|
17
|
+
input_variables: VellumVariable.Raw[];
|
|
18
|
+
parameters: PromptParameters.Raw;
|
|
19
|
+
settings?: PromptSettings.Raw | null;
|
|
20
|
+
blocks: unknown[];
|
|
21
|
+
expand_meta?: AdHocExpandMeta.Raw | null;
|
|
22
|
+
}
|
|
23
|
+
}
|