diff --git a/package.json b/package.json index e8abeb249..887fe3c67 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "vellum-ai", - "version": "1.10.1", + "version": "1.10.2", "private": false, "repository": "https://github.com/vellum-ai/vellum-client-node", "license": "MIT", diff --git a/reference.md b/reference.md index 539b26aeb..6160e81d8 100644 --- a/reference.md +++ b/reference.md @@ -78,7 +78,7 @@ await client.submitWorkflowExecutionActuals({ ## Integrations -
client.integrations.retrieveIntegrationToolDefinition(integrationName, integrationProvider, toolName) -> Vellum.ComponentsSchemasComposioToolDefinition +
client.integrations.retrieveIntegrationToolDefinition(integrationProvider, integrationName, toolName) -> Vellum.ComponentsSchemasComposioToolDefinition
@@ -91,7 +91,7 @@ await client.submitWorkflowExecutionActuals({
```typescript -await client.integrations.retrieveIntegrationToolDefinition("integration_name", "integration_provider", "tool_name"); +await client.integrations.retrieveIntegrationToolDefinition("integration_provider", "integration_name", "tool_name"); ```
@@ -107,7 +107,7 @@ await client.integrations.retrieveIntegrationToolDefinition("integration_name",
-**integrationName:** `string` — The integration name +**integrationProvider:** `string` — The integration provider name
@@ -115,7 +115,7 @@ await client.integrations.retrieveIntegrationToolDefinition("integration_name",
-**integrationProvider:** `string` — The integration provider name +**integrationName:** `string` — The integration name
@@ -142,7 +142,7 @@ await client.integrations.retrieveIntegrationToolDefinition("integration_name",
-
client.integrations.executeIntegrationTool(integrationName, integrationProvider, toolName, { ...params }) -> Vellum.ComponentsSchemasComposioExecuteToolResponse +
client.integrations.executeIntegrationTool(integrationProvider, integrationName, toolName, { ...params }) -> Vellum.ComponentsSchemasComposioExecuteToolResponse
@@ -155,7 +155,7 @@ await client.integrations.retrieveIntegrationToolDefinition("integration_name",
```typescript -await client.integrations.executeIntegrationTool("integration_name", "integration_provider", "tool_name", { +await client.integrations.executeIntegrationTool("integration_provider", "integration_name", "tool_name", { provider: "COMPOSIO", arguments: { arguments: { @@ -178,7 +178,7 @@ await client.integrations.executeIntegrationTool("integration_name", "integratio
-**integrationName:** `string` — The integration name +**integrationProvider:** `string` — The integration provider name
@@ -186,7 +186,7 @@ await client.integrations.executeIntegrationTool("integration_name", "integratio
-**integrationProvider:** `string` — The integration provider name +**integrationName:** `string` — The integration name
@@ -974,7 +974,7 @@ await client.deployments.retrieve("id");
-
client.deployments.deploymentHistoryItemRetrieve(historyIdOrReleaseTag, id) -> Vellum.DeploymentHistoryItem +
client.deployments.deploymentHistoryItemRetrieve(id, historyIdOrReleaseTag) -> Vellum.DeploymentHistoryItem
@@ -1003,7 +1003,7 @@ DEPRECATED: This endpoint is deprecated and will be removed in a future release.
```typescript -await client.deployments.deploymentHistoryItemRetrieve("history_id_or_release_tag", "id"); +await client.deployments.deploymentHistoryItemRetrieve("id", "history_id_or_release_tag"); ```
@@ -1019,7 +1019,7 @@ await client.deployments.deploymentHistoryItemRetrieve("history_id_or_release_ta
-**historyIdOrReleaseTag:** `string` — Either the UUID of Deployment History Item you'd like to retrieve, or the name of a Release Tag that's pointing to the Deployment History Item you'd like to retrieve. +**id:** `string` — Either the Prompt Deployment's ID or its unique name
@@ -1027,7 +1027,7 @@ await client.deployments.deploymentHistoryItemRetrieve("history_id_or_release_ta
-**id:** `string` — Either the Prompt Deployment's ID or its unique name +**historyIdOrReleaseTag:** `string` — Either the UUID of Deployment History Item you'd like to retrieve, or the name of a Release Tag that's pointing to the Deployment History Item you'd like to retrieve.
@@ -1838,7 +1838,7 @@ await client.documentIndexes.partialUpdate("id");
-
client.documentIndexes.addDocument(documentId, id) -> void +
client.documentIndexes.addDocument(id, documentId) -> void
@@ -1866,7 +1866,7 @@ Adds a previously uploaded Document to the specified Document Index.
```typescript -await client.documentIndexes.addDocument("document_id", "id"); +await client.documentIndexes.addDocument("id", "document_id"); ```
@@ -1882,7 +1882,7 @@ await client.documentIndexes.addDocument("document_id", "id");
-**documentId:** `string` — Either the Vellum-generated ID or the originally supplied external_id that uniquely identifies the Document you'd like to add. +**id:** `string` — Either the Vellum-generated ID or the originally specified name that uniquely identifies the Document Index to which you'd like to add the Document.
@@ -1890,7 +1890,7 @@ await client.documentIndexes.addDocument("document_id", "id");
-**id:** `string` — Either the Vellum-generated ID or the originally specified name that uniquely identifies the Document Index to which you'd like to add the Document. +**documentId:** `string` — Either the Vellum-generated ID or the originally supplied external_id that uniquely identifies the Document you'd like to add.
@@ -1909,7 +1909,7 @@ await client.documentIndexes.addDocument("document_id", "id");
-
client.documentIndexes.removeDocument(documentId, id) -> void +
client.documentIndexes.removeDocument(id, documentId) -> void
@@ -1937,7 +1937,7 @@ Removes a Document from a Document Index without deleting the Document itself.
```typescript -await client.documentIndexes.removeDocument("document_id", "id"); +await client.documentIndexes.removeDocument("id", "document_id"); ```
@@ -1953,7 +1953,7 @@ await client.documentIndexes.removeDocument("document_id", "id");
-**documentId:** `string` — Either the Vellum-generated ID or the originally supplied external_id that uniquely identifies the Document you'd like to remove. +**id:** `string` — Either the Vellum-generated ID or the originally specified name that uniquely identifies the Document Index from which you'd like to remove a Document.
@@ -1961,7 +1961,7 @@ await client.documentIndexes.removeDocument("document_id", "id");
-**id:** `string` — Either the Vellum-generated ID or the originally specified name that uniquely identifies the Document Index from which you'd like to remove a Document. +**documentId:** `string` — Either the Vellum-generated ID or the originally supplied external_id that uniquely identifies the Document you'd like to remove.
@@ -2516,7 +2516,7 @@ await client.integrationAuthConfigs.listIntegrationAuthConfigs(); ## IntegrationProviders -
client.integrationProviders.retrieveIntegrationProviderToolDefinition(integrationName, integrationProvider, toolName) -> Vellum.ComponentsSchemasComposioToolDefinition +
client.integrationProviders.retrieveIntegrationProviderToolDefinition(integrationProvider, integrationName, toolName) -> Vellum.ComponentsSchemasComposioToolDefinition
@@ -2545,8 +2545,8 @@ Retrieve a specific integration tool definition. ```typescript await client.integrationProviders.retrieveIntegrationProviderToolDefinition( - "integration_name", "integration_provider", + "integration_name", "tool_name", ); ``` @@ -2564,7 +2564,7 @@ await client.integrationProviders.retrieveIntegrationProviderToolDefinition(
-**integrationName:** `string` — The integration name +**integrationProvider:** `string` — The integration provider name
@@ -2572,7 +2572,7 @@ await client.integrationProviders.retrieveIntegrationProviderToolDefinition(
-**integrationProvider:** `string` — The integration provider name +**integrationName:** `string` — The integration name
@@ -2741,7 +2741,7 @@ await client.metricDefinitions.executeMetricDefinition("id", {
-
client.metricDefinitions.metricDefinitionHistoryItemRetrieve(historyIdOrReleaseTag, id) -> Vellum.MetricDefinitionHistoryItem +
client.metricDefinitions.metricDefinitionHistoryItemRetrieve(id, historyIdOrReleaseTag) -> Vellum.MetricDefinitionHistoryItem
@@ -2754,7 +2754,7 @@ await client.metricDefinitions.executeMetricDefinition("id", {
```typescript -await client.metricDefinitions.metricDefinitionHistoryItemRetrieve("history_id_or_release_tag", "id"); +await client.metricDefinitions.metricDefinitionHistoryItemRetrieve("id", "history_id_or_release_tag"); ```
@@ -2770,7 +2770,7 @@ await client.metricDefinitions.metricDefinitionHistoryItemRetrieve("history_id_o
-**historyIdOrReleaseTag:** `string` — Either the UUID of Metric Definition History Item you'd like to retrieve, or the name of a Release Tag that's pointing to the Metric Definition History Item you'd like to retrieve. +**id:** `string` — A UUID string identifying this metric definition.
@@ -2778,7 +2778,7 @@ await client.metricDefinitions.metricDefinitionHistoryItemRetrieve("history_id_o
-**id:** `string` — A UUID string identifying this metric definition. +**historyIdOrReleaseTag:** `string` — Either the UUID of Metric Definition History Item you'd like to retrieve, or the name of a Release Tag that's pointing to the Metric Definition History Item you'd like to retrieve.
@@ -4051,7 +4051,7 @@ await client.workflowDeployments.listWorkflowDeploymentEventExecutions("id");
-
client.workflowDeployments.workflowDeploymentEventExecution(executionId, id) -> Vellum.WorkflowEventExecutionRead +
client.workflowDeployments.workflowDeploymentEventExecution(id, executionId) -> Vellum.WorkflowEventExecutionRead
@@ -4064,7 +4064,7 @@ await client.workflowDeployments.listWorkflowDeploymentEventExecutions("id");
```typescript -await client.workflowDeployments.workflowDeploymentEventExecution("execution_id", "id"); +await client.workflowDeployments.workflowDeploymentEventExecution("id", "execution_id"); ```
@@ -4080,7 +4080,7 @@ await client.workflowDeployments.workflowDeploymentEventExecution("execution_id"
-**executionId:** `string` +**id:** `string`
@@ -4088,7 +4088,7 @@ await client.workflowDeployments.workflowDeploymentEventExecution("execution_id"
-**id:** `string` +**executionId:** `string`
@@ -4107,7 +4107,7 @@ await client.workflowDeployments.workflowDeploymentEventExecution("execution_id"
-
client.workflowDeployments.workflowDeploymentHistoryItemRetrieve(historyIdOrReleaseTag, id) -> Vellum.WorkflowDeploymentHistoryItem +
client.workflowDeployments.workflowDeploymentHistoryItemRetrieve(id, historyIdOrReleaseTag) -> Vellum.WorkflowDeploymentHistoryItem
@@ -4136,7 +4136,7 @@ DEPRECATED: This endpoint is deprecated and will be removed in a future release.
```typescript -await client.workflowDeployments.workflowDeploymentHistoryItemRetrieve("history_id_or_release_tag", "id"); +await client.workflowDeployments.workflowDeploymentHistoryItemRetrieve("id", "history_id_or_release_tag"); ```
@@ -4152,7 +4152,7 @@ await client.workflowDeployments.workflowDeploymentHistoryItemRetrieve("history_
-**historyIdOrReleaseTag:** `string` — Either the UUID of Workflow Deployment History Item you'd like to retrieve, or the name of a Release Tag that's pointing to the Workflow Deployment History Item you'd like to retrieve. +**id:** `string` — Either the Workflow Deployment's ID or its unique name
@@ -4160,7 +4160,7 @@ await client.workflowDeployments.workflowDeploymentHistoryItemRetrieve("history_
-**id:** `string` — Either the Workflow Deployment's ID or its unique name +**historyIdOrReleaseTag:** `string` — Either the UUID of Workflow Deployment History Item you'd like to retrieve, or the name of a Release Tag that's pointing to the Workflow Deployment History Item you'd like to retrieve.
@@ -4723,6 +4723,62 @@ await client.workflowSandboxes.listWorkflowSandboxExamples(); ## Workflows +
client.workflows.pull(id, { ...params }) -> stream.Readable +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```typescript +await client.workflows.pull("id"); +``` + +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**id:** `string` — The ID of the Workflow to pull from + +
+
+ +
+
+ +**request:** `Vellum.WorkflowsPullRequest` + +
+
+ +
+
+ +**requestOptions:** `Workflows.RequestOptions` + +
+
+
+
+ +
+
+
+
client.workflows.retrieveState(spanId) -> Vellum.WorkflowResolvedState
diff --git a/src/Client.ts b/src/Client.ts index 3c4cb6763..dcc982585 100644 --- a/src/Client.ts +++ b/src/Client.ts @@ -219,8 +219,8 @@ export class VellumClient { : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", - "X-Fern-SDK-Version": "1.10.1", - "User-Agent": "vellum-ai/1.10.1", + "X-Fern-SDK-Version": "1.10.2", + "User-Agent": "vellum-ai/1.10.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -327,8 +327,8 @@ export class VellumClient { : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", - "X-Fern-SDK-Version": "1.10.1", - "User-Agent": "vellum-ai/1.10.1", + "X-Fern-SDK-Version": "1.10.2", + "User-Agent": "vellum-ai/1.10.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -435,8 +435,8 @@ export class VellumClient { : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", - "X-Fern-SDK-Version": "1.10.1", - "User-Agent": "vellum-ai/1.10.1", + "X-Fern-SDK-Version": "1.10.2", + "User-Agent": "vellum-ai/1.10.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -528,8 +528,8 @@ export class VellumClient { : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", - "X-Fern-SDK-Version": "1.10.1", - "User-Agent": "vellum-ai/1.10.1", + "X-Fern-SDK-Version": "1.10.2", + "User-Agent": "vellum-ai/1.10.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -652,8 +652,8 @@ export class VellumClient { : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", - "X-Fern-SDK-Version": "1.10.1", - "User-Agent": "vellum-ai/1.10.1", + "X-Fern-SDK-Version": "1.10.2", + "User-Agent": "vellum-ai/1.10.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -743,8 +743,8 @@ export class VellumClient { : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", - "X-Fern-SDK-Version": "1.10.1", - "User-Agent": "vellum-ai/1.10.1", + "X-Fern-SDK-Version": "1.10.2", + "User-Agent": "vellum-ai/1.10.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -873,8 +873,8 @@ export class VellumClient { : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", - "X-Fern-SDK-Version": "1.10.1", - "User-Agent": "vellum-ai/1.10.1", + "X-Fern-SDK-Version": "1.10.2", + "User-Agent": "vellum-ai/1.10.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -969,8 +969,8 @@ export class VellumClient { : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", - "X-Fern-SDK-Version": "1.10.1", - "User-Agent": "vellum-ai/1.10.1", + "X-Fern-SDK-Version": "1.10.2", + "User-Agent": "vellum-ai/1.10.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -1085,8 +1085,8 @@ export class VellumClient { : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", - "X-Fern-SDK-Version": "1.10.1", - "User-Agent": "vellum-ai/1.10.1", + "X-Fern-SDK-Version": "1.10.2", + "User-Agent": "vellum-ai/1.10.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -1188,8 +1188,8 @@ export class VellumClient { : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", - "X-Fern-SDK-Version": "1.10.1", - "User-Agent": "vellum-ai/1.10.1", + "X-Fern-SDK-Version": "1.10.2", + "User-Agent": "vellum-ai/1.10.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -1287,8 +1287,8 @@ export class VellumClient { : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", - "X-Fern-SDK-Version": "1.10.1", - "User-Agent": "vellum-ai/1.10.1", + "X-Fern-SDK-Version": "1.10.2", + "User-Agent": "vellum-ai/1.10.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), diff --git a/src/api/resources/adHoc/client/Client.ts b/src/api/resources/adHoc/client/Client.ts index 56358b202..5060bff21 100644 --- a/src/api/resources/adHoc/client/Client.ts +++ b/src/api/resources/adHoc/client/Client.ts @@ -104,8 +104,8 @@ export class AdHoc { : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", - "X-Fern-SDK-Version": "1.10.1", - "User-Agent": "vellum-ai/1.10.1", + "X-Fern-SDK-Version": "1.10.2", + "User-Agent": "vellum-ai/1.10.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -192,8 +192,8 @@ export class AdHoc { : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", - "X-Fern-SDK-Version": "1.10.1", - "User-Agent": "vellum-ai/1.10.1", + "X-Fern-SDK-Version": "1.10.2", + "User-Agent": "vellum-ai/1.10.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), diff --git a/src/api/resources/containerImages/client/Client.ts b/src/api/resources/containerImages/client/Client.ts index fc5f70e26..649c82c8d 100644 --- a/src/api/resources/containerImages/client/Client.ts +++ b/src/api/resources/containerImages/client/Client.ts @@ -87,8 +87,8 @@ export class ContainerImages { : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", - "X-Fern-SDK-Version": "1.10.1", - "User-Agent": "vellum-ai/1.10.1", + "X-Fern-SDK-Version": "1.10.2", + "User-Agent": "vellum-ai/1.10.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -175,8 +175,8 @@ export class ContainerImages { : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", - "X-Fern-SDK-Version": "1.10.1", - "User-Agent": "vellum-ai/1.10.1", + "X-Fern-SDK-Version": "1.10.2", + "User-Agent": "vellum-ai/1.10.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -257,8 +257,8 @@ export class ContainerImages { : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", - "X-Fern-SDK-Version": "1.10.1", - "User-Agent": "vellum-ai/1.10.1", + "X-Fern-SDK-Version": "1.10.2", + "User-Agent": "vellum-ai/1.10.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -348,8 +348,8 @@ export class ContainerImages { : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", - "X-Fern-SDK-Version": "1.10.1", - "User-Agent": "vellum-ai/1.10.1", + "X-Fern-SDK-Version": "1.10.2", + "User-Agent": "vellum-ai/1.10.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), diff --git a/src/api/resources/deployments/client/Client.ts b/src/api/resources/deployments/client/Client.ts index cb93053ea..494df5a5d 100644 --- a/src/api/resources/deployments/client/Client.ts +++ b/src/api/resources/deployments/client/Client.ts @@ -93,8 +93,8 @@ export class Deployments { : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", - "X-Fern-SDK-Version": "1.10.1", - "User-Agent": "vellum-ai/1.10.1", + "X-Fern-SDK-Version": "1.10.2", + "User-Agent": "vellum-ai/1.10.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -181,8 +181,8 @@ export class Deployments { : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", - "X-Fern-SDK-Version": "1.10.1", - "User-Agent": "vellum-ai/1.10.1", + "X-Fern-SDK-Version": "1.10.2", + "User-Agent": "vellum-ai/1.10.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -235,26 +235,26 @@ export class Deployments { * DEPRECATED: This endpoint is deprecated and will be removed in a future release. Please use the * `retrieve_prompt_deployment_release` xendpoint instead. * - * @param {string} historyIdOrReleaseTag - Either the UUID of Deployment History Item you'd like to retrieve, or the name of a Release Tag that's pointing to the Deployment History Item you'd like to retrieve. * @param {string} id - Either the Prompt Deployment's ID or its unique name + * @param {string} historyIdOrReleaseTag - Either the UUID of Deployment History Item you'd like to retrieve, or the name of a Release Tag that's pointing to the Deployment History Item you'd like to retrieve. * @param {Deployments.RequestOptions} requestOptions - Request-specific configuration. * * @example - * await client.deployments.deploymentHistoryItemRetrieve("history_id_or_release_tag", "id") + * await client.deployments.deploymentHistoryItemRetrieve("id", "history_id_or_release_tag") */ public deploymentHistoryItemRetrieve( - historyIdOrReleaseTag: string, id: string, + historyIdOrReleaseTag: string, requestOptions?: Deployments.RequestOptions, ): core.HttpResponsePromise { return core.HttpResponsePromise.fromPromise( - this.__deploymentHistoryItemRetrieve(historyIdOrReleaseTag, id, requestOptions), + this.__deploymentHistoryItemRetrieve(id, historyIdOrReleaseTag, requestOptions), ); } private async __deploymentHistoryItemRetrieve( - historyIdOrReleaseTag: string, id: string, + historyIdOrReleaseTag: string, requestOptions?: Deployments.RequestOptions, ): Promise> { const _response = await core.fetcher({ @@ -274,8 +274,8 @@ export class Deployments { : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", - "X-Fern-SDK-Version": "1.10.1", - "User-Agent": "vellum-ai/1.10.1", + "X-Fern-SDK-Version": "1.10.2", + "User-Agent": "vellum-ai/1.10.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -386,8 +386,8 @@ export class Deployments { : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", - "X-Fern-SDK-Version": "1.10.1", - "User-Agent": "vellum-ai/1.10.1", + "X-Fern-SDK-Version": "1.10.2", + "User-Agent": "vellum-ai/1.10.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -479,8 +479,8 @@ export class Deployments { : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", - "X-Fern-SDK-Version": "1.10.1", - "User-Agent": "vellum-ai/1.10.1", + "X-Fern-SDK-Version": "1.10.2", + "User-Agent": "vellum-ai/1.10.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -576,8 +576,8 @@ export class Deployments { : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", - "X-Fern-SDK-Version": "1.10.1", - "User-Agent": "vellum-ai/1.10.1", + "X-Fern-SDK-Version": "1.10.2", + "User-Agent": "vellum-ai/1.10.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -673,8 +673,8 @@ export class Deployments { : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", - "X-Fern-SDK-Version": "1.10.1", - "User-Agent": "vellum-ai/1.10.1", + "X-Fern-SDK-Version": "1.10.2", + "User-Agent": "vellum-ai/1.10.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -786,8 +786,8 @@ export class Deployments { : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", - "X-Fern-SDK-Version": "1.10.1", - "User-Agent": "vellum-ai/1.10.1", + "X-Fern-SDK-Version": "1.10.2", + "User-Agent": "vellum-ai/1.10.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), diff --git a/src/api/resources/documentIndexes/client/Client.ts b/src/api/resources/documentIndexes/client/Client.ts index 995cbe494..5edc99f52 100644 --- a/src/api/resources/documentIndexes/client/Client.ts +++ b/src/api/resources/documentIndexes/client/Client.ts @@ -97,8 +97,8 @@ export class DocumentIndexes { : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", - "X-Fern-SDK-Version": "1.10.1", - "User-Agent": "vellum-ai/1.10.1", + "X-Fern-SDK-Version": "1.10.2", + "User-Agent": "vellum-ai/1.10.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -194,8 +194,8 @@ export class DocumentIndexes { : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", - "X-Fern-SDK-Version": "1.10.1", - "User-Agent": "vellum-ai/1.10.1", + "X-Fern-SDK-Version": "1.10.2", + "User-Agent": "vellum-ai/1.10.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -291,8 +291,8 @@ export class DocumentIndexes { : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", - "X-Fern-SDK-Version": "1.10.1", - "User-Agent": "vellum-ai/1.10.1", + "X-Fern-SDK-Version": "1.10.2", + "User-Agent": "vellum-ai/1.10.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -384,8 +384,8 @@ export class DocumentIndexes { : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", - "X-Fern-SDK-Version": "1.10.1", - "User-Agent": "vellum-ai/1.10.1", + "X-Fern-SDK-Version": "1.10.2", + "User-Agent": "vellum-ai/1.10.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -469,8 +469,8 @@ export class DocumentIndexes { : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", - "X-Fern-SDK-Version": "1.10.1", - "User-Agent": "vellum-ai/1.10.1", + "X-Fern-SDK-Version": "1.10.2", + "User-Agent": "vellum-ai/1.10.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -551,8 +551,8 @@ export class DocumentIndexes { : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", - "X-Fern-SDK-Version": "1.10.1", - "User-Agent": "vellum-ai/1.10.1", + "X-Fern-SDK-Version": "1.10.2", + "User-Agent": "vellum-ai/1.10.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -607,24 +607,24 @@ export class DocumentIndexes { /** * Adds a previously uploaded Document to the specified Document Index. * - * @param {string} documentId - Either the Vellum-generated ID or the originally supplied external_id that uniquely identifies the Document you'd like to add. * @param {string} id - Either the Vellum-generated ID or the originally specified name that uniquely identifies the Document Index to which you'd like to add the Document. + * @param {string} documentId - Either the Vellum-generated ID or the originally supplied external_id that uniquely identifies the Document you'd like to add. * @param {DocumentIndexes.RequestOptions} requestOptions - Request-specific configuration. * * @example - * await client.documentIndexes.addDocument("document_id", "id") + * await client.documentIndexes.addDocument("id", "document_id") */ public addDocument( - documentId: string, id: string, + documentId: string, requestOptions?: DocumentIndexes.RequestOptions, ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__addDocument(documentId, id, requestOptions)); + return core.HttpResponsePromise.fromPromise(this.__addDocument(id, documentId, requestOptions)); } private async __addDocument( - documentId: string, id: string, + documentId: string, requestOptions?: DocumentIndexes.RequestOptions, ): Promise> { const _response = await core.fetcher({ @@ -644,8 +644,8 @@ export class DocumentIndexes { : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", - "X-Fern-SDK-Version": "1.10.1", - "User-Agent": "vellum-ai/1.10.1", + "X-Fern-SDK-Version": "1.10.2", + "User-Agent": "vellum-ai/1.10.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -691,24 +691,24 @@ export class DocumentIndexes { /** * Removes a Document from a Document Index without deleting the Document itself. * - * @param {string} documentId - Either the Vellum-generated ID or the originally supplied external_id that uniquely identifies the Document you'd like to remove. * @param {string} id - Either the Vellum-generated ID or the originally specified name that uniquely identifies the Document Index from which you'd like to remove a Document. + * @param {string} documentId - Either the Vellum-generated ID or the originally supplied external_id that uniquely identifies the Document you'd like to remove. * @param {DocumentIndexes.RequestOptions} requestOptions - Request-specific configuration. * * @example - * await client.documentIndexes.removeDocument("document_id", "id") + * await client.documentIndexes.removeDocument("id", "document_id") */ public removeDocument( - documentId: string, id: string, + documentId: string, requestOptions?: DocumentIndexes.RequestOptions, ): core.HttpResponsePromise { - return core.HttpResponsePromise.fromPromise(this.__removeDocument(documentId, id, requestOptions)); + return core.HttpResponsePromise.fromPromise(this.__removeDocument(id, documentId, requestOptions)); } private async __removeDocument( - documentId: string, id: string, + documentId: string, requestOptions?: DocumentIndexes.RequestOptions, ): Promise> { const _response = await core.fetcher({ @@ -728,8 +728,8 @@ export class DocumentIndexes { : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", - "X-Fern-SDK-Version": "1.10.1", - "User-Agent": "vellum-ai/1.10.1", + "X-Fern-SDK-Version": "1.10.2", + "User-Agent": "vellum-ai/1.10.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), diff --git a/src/api/resources/documents/client/Client.ts b/src/api/resources/documents/client/Client.ts index 32c997110..d5384f649 100644 --- a/src/api/resources/documents/client/Client.ts +++ b/src/api/resources/documents/client/Client.ts @@ -97,8 +97,8 @@ export class Documents { : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", - "X-Fern-SDK-Version": "1.10.1", - "User-Agent": "vellum-ai/1.10.1", + "X-Fern-SDK-Version": "1.10.2", + "User-Agent": "vellum-ai/1.10.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -185,8 +185,8 @@ export class Documents { : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", - "X-Fern-SDK-Version": "1.10.1", - "User-Agent": "vellum-ai/1.10.1", + "X-Fern-SDK-Version": "1.10.2", + "User-Agent": "vellum-ai/1.10.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -269,8 +269,8 @@ export class Documents { : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", - "X-Fern-SDK-Version": "1.10.1", - "User-Agent": "vellum-ai/1.10.1", + "X-Fern-SDK-Version": "1.10.2", + "User-Agent": "vellum-ai/1.10.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -351,8 +351,8 @@ export class Documents { : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", - "X-Fern-SDK-Version": "1.10.1", - "User-Agent": "vellum-ai/1.10.1", + "X-Fern-SDK-Version": "1.10.2", + "User-Agent": "vellum-ai/1.10.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -469,8 +469,8 @@ export class Documents { : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", - "X-Fern-SDK-Version": "1.10.1", - "User-Agent": "vellum-ai/1.10.1", + "X-Fern-SDK-Version": "1.10.2", + "User-Agent": "vellum-ai/1.10.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), diff --git a/src/api/resources/environments/client/Client.ts b/src/api/resources/environments/client/Client.ts index 8b995c4bc..ff87f9129 100644 --- a/src/api/resources/environments/client/Client.ts +++ b/src/api/resources/environments/client/Client.ts @@ -70,8 +70,8 @@ export class Environments { : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", - "X-Fern-SDK-Version": "1.10.1", - "User-Agent": "vellum-ai/1.10.1", + "X-Fern-SDK-Version": "1.10.2", + "User-Agent": "vellum-ai/1.10.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), diff --git a/src/api/resources/events/client/Client.ts b/src/api/resources/events/client/Client.ts index 12267ea31..ddb38db26 100644 --- a/src/api/resources/events/client/Client.ts +++ b/src/api/resources/events/client/Client.ts @@ -114,8 +114,8 @@ export class Events { : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", - "X-Fern-SDK-Version": "1.10.1", - "User-Agent": "vellum-ai/1.10.1", + "X-Fern-SDK-Version": "1.10.2", + "User-Agent": "vellum-ai/1.10.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), diff --git a/src/api/resources/folderEntities/client/Client.ts b/src/api/resources/folderEntities/client/Client.ts index 896e47169..002c20a8c 100644 --- a/src/api/resources/folderEntities/client/Client.ts +++ b/src/api/resources/folderEntities/client/Client.ts @@ -97,8 +97,8 @@ export class FolderEntities { : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", - "X-Fern-SDK-Version": "1.10.1", - "User-Agent": "vellum-ai/1.10.1", + "X-Fern-SDK-Version": "1.10.2", + "User-Agent": "vellum-ai/1.10.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -197,8 +197,8 @@ export class FolderEntities { : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", - "X-Fern-SDK-Version": "1.10.1", - "User-Agent": "vellum-ai/1.10.1", + "X-Fern-SDK-Version": "1.10.2", + "User-Agent": "vellum-ai/1.10.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), diff --git a/src/api/resources/integrationAuthConfigs/client/Client.ts b/src/api/resources/integrationAuthConfigs/client/Client.ts index 383f804a1..3a7f6c806 100644 --- a/src/api/resources/integrationAuthConfigs/client/Client.ts +++ b/src/api/resources/integrationAuthConfigs/client/Client.ts @@ -58,7 +58,7 @@ export class IntegrationAuthConfigs { ): Promise> { const { expand, integrationName, integrationProvider, limit, offset, ordering, search } = request; const _queryParams: Record = {}; - if (expand != null) { + if (expand !== undefined) { if (Array.isArray(expand)) { _queryParams["expand"] = expand.map((item) => item); } else { @@ -107,8 +107,8 @@ export class IntegrationAuthConfigs { : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", - "X-Fern-SDK-Version": "1.10.1", - "User-Agent": "vellum-ai/1.10.1", + "X-Fern-SDK-Version": "1.10.2", + "User-Agent": "vellum-ai/1.10.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), diff --git a/src/api/resources/integrationAuthConfigs/client/requests/ListIntegrationAuthConfigsRequest.ts b/src/api/resources/integrationAuthConfigs/client/requests/ListIntegrationAuthConfigsRequest.ts index f9283f4f1..8a3ccc045 100644 --- a/src/api/resources/integrationAuthConfigs/client/requests/ListIntegrationAuthConfigsRequest.ts +++ b/src/api/resources/integrationAuthConfigs/client/requests/ListIntegrationAuthConfigsRequest.ts @@ -11,7 +11,7 @@ export interface ListIntegrationAuthConfigsRequest { * The response fields to expand for more information. * - 'integration_credentials' expands the list of integration credentials that the authenticated entity has access to for the auth config. */ - expand?: string | string[]; + expand?: (string | null) | (string | null)[]; integrationName?: string | null; integrationProvider?: string | null; /** diff --git a/src/api/resources/integrationProviders/client/Client.ts b/src/api/resources/integrationProviders/client/Client.ts index 5d20085eb..21dddfaaa 100644 --- a/src/api/resources/integrationProviders/client/Client.ts +++ b/src/api/resources/integrationProviders/client/Client.ts @@ -39,24 +39,24 @@ export class IntegrationProviders { /** * Retrieve a specific integration tool definition. * - * @param {string} integrationName - The integration name * @param {string} integrationProvider - The integration provider name + * @param {string} integrationName - The integration name * @param {string} toolName - The tool's unique name, as specified by the integration provider * @param {IntegrationProviders.RequestOptions} requestOptions - Request-specific configuration. * * @example - * await client.integrationProviders.retrieveIntegrationProviderToolDefinition("integration_name", "integration_provider", "tool_name") + * await client.integrationProviders.retrieveIntegrationProviderToolDefinition("integration_provider", "integration_name", "tool_name") */ public retrieveIntegrationProviderToolDefinition( - integrationName: string, integrationProvider: string, + integrationName: string, toolName: string, requestOptions?: IntegrationProviders.RequestOptions, ): core.HttpResponsePromise { return core.HttpResponsePromise.fromPromise( this.__retrieveIntegrationProviderToolDefinition( - integrationName, integrationProvider, + integrationName, toolName, requestOptions, ), @@ -64,8 +64,8 @@ export class IntegrationProviders { } private async __retrieveIntegrationProviderToolDefinition( - integrationName: string, integrationProvider: string, + integrationName: string, toolName: string, requestOptions?: IntegrationProviders.RequestOptions, ): Promise> { @@ -86,8 +86,8 @@ export class IntegrationProviders { : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", - "X-Fern-SDK-Version": "1.10.1", - "User-Agent": "vellum-ai/1.10.1", + "X-Fern-SDK-Version": "1.10.2", + "User-Agent": "vellum-ai/1.10.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -206,8 +206,8 @@ export class IntegrationProviders { : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", - "X-Fern-SDK-Version": "1.10.1", - "User-Agent": "vellum-ai/1.10.1", + "X-Fern-SDK-Version": "1.10.2", + "User-Agent": "vellum-ai/1.10.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), diff --git a/src/api/resources/integrations/client/Client.ts b/src/api/resources/integrations/client/Client.ts index 85b395591..866e79b8a 100644 --- a/src/api/resources/integrations/client/Client.ts +++ b/src/api/resources/integrations/client/Client.ts @@ -37,30 +37,30 @@ export class Integrations { constructor(protected readonly _options: Integrations.Options) {} /** - * @param {string} integrationName - The integration name * @param {string} integrationProvider - The integration provider name + * @param {string} integrationName - The integration name * @param {string} toolName - The tool's unique name, as specified by the integration provider * @param {Integrations.RequestOptions} requestOptions - Request-specific configuration. * * @throws {@link Vellum.NotFoundError} * * @example - * await client.integrations.retrieveIntegrationToolDefinition("integration_name", "integration_provider", "tool_name") + * await client.integrations.retrieveIntegrationToolDefinition("integration_provider", "integration_name", "tool_name") */ public retrieveIntegrationToolDefinition( - integrationName: string, integrationProvider: string, + integrationName: string, toolName: string, requestOptions?: Integrations.RequestOptions, ): core.HttpResponsePromise { return core.HttpResponsePromise.fromPromise( - this.__retrieveIntegrationToolDefinition(integrationName, integrationProvider, toolName, requestOptions), + this.__retrieveIntegrationToolDefinition(integrationProvider, integrationName, toolName, requestOptions), ); } private async __retrieveIntegrationToolDefinition( - integrationName: string, integrationProvider: string, + integrationName: string, toolName: string, requestOptions?: Integrations.RequestOptions, ): Promise> { @@ -81,8 +81,8 @@ export class Integrations { : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", - "X-Fern-SDK-Version": "1.10.1", - "User-Agent": "vellum-ai/1.10.1", + "X-Fern-SDK-Version": "1.10.2", + "User-Agent": "vellum-ai/1.10.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -139,8 +139,8 @@ export class Integrations { } /** - * @param {string} integrationName - The integration name * @param {string} integrationProvider - The integration provider name + * @param {string} integrationName - The integration name * @param {string} toolName - The tool's unique name, as specified by the integration provider * @param {Vellum.ComponentsSchemasComposioExecuteToolRequest} request * @param {Integrations.RequestOptions} requestOptions - Request-specific configuration. @@ -150,7 +150,7 @@ export class Integrations { * @throws {@link Vellum.NotFoundError} * * @example - * await client.integrations.executeIntegrationTool("integration_name", "integration_provider", "tool_name", { + * await client.integrations.executeIntegrationTool("integration_provider", "integration_name", "tool_name", { * provider: "COMPOSIO", * arguments: { * "arguments": { @@ -160,20 +160,20 @@ export class Integrations { * }) */ public executeIntegrationTool( - integrationName: string, integrationProvider: string, + integrationName: string, toolName: string, request: Vellum.ComponentsSchemasComposioExecuteToolRequest, requestOptions?: Integrations.RequestOptions, ): core.HttpResponsePromise { return core.HttpResponsePromise.fromPromise( - this.__executeIntegrationTool(integrationName, integrationProvider, toolName, request, requestOptions), + this.__executeIntegrationTool(integrationProvider, integrationName, toolName, request, requestOptions), ); } private async __executeIntegrationTool( - integrationName: string, integrationProvider: string, + integrationName: string, toolName: string, request: Vellum.ComponentsSchemasComposioExecuteToolRequest, requestOptions?: Integrations.RequestOptions, @@ -195,8 +195,8 @@ export class Integrations { : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", - "X-Fern-SDK-Version": "1.10.1", - "User-Agent": "vellum-ai/1.10.1", + "X-Fern-SDK-Version": "1.10.2", + "User-Agent": "vellum-ai/1.10.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -322,8 +322,8 @@ export class Integrations { : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", - "X-Fern-SDK-Version": "1.10.1", - "User-Agent": "vellum-ai/1.10.1", + "X-Fern-SDK-Version": "1.10.2", + "User-Agent": "vellum-ai/1.10.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -410,8 +410,8 @@ export class Integrations { : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", - "X-Fern-SDK-Version": "1.10.1", - "User-Agent": "vellum-ai/1.10.1", + "X-Fern-SDK-Version": "1.10.2", + "User-Agent": "vellum-ai/1.10.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), diff --git a/src/api/resources/metricDefinitions/client/Client.ts b/src/api/resources/metricDefinitions/client/Client.ts index daeda2d65..5bf5f5a54 100644 --- a/src/api/resources/metricDefinitions/client/Client.ts +++ b/src/api/resources/metricDefinitions/client/Client.ts @@ -84,8 +84,8 @@ export class MetricDefinitions { : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", - "X-Fern-SDK-Version": "1.10.1", - "User-Agent": "vellum-ai/1.10.1", + "X-Fern-SDK-Version": "1.10.2", + "User-Agent": "vellum-ai/1.10.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -138,26 +138,26 @@ export class MetricDefinitions { } /** - * @param {string} historyIdOrReleaseTag - Either the UUID of Metric Definition History Item you'd like to retrieve, or the name of a Release Tag that's pointing to the Metric Definition History Item you'd like to retrieve. * @param {string} id - A UUID string identifying this metric definition. + * @param {string} historyIdOrReleaseTag - Either the UUID of Metric Definition History Item you'd like to retrieve, or the name of a Release Tag that's pointing to the Metric Definition History Item you'd like to retrieve. * @param {MetricDefinitions.RequestOptions} requestOptions - Request-specific configuration. * * @example - * await client.metricDefinitions.metricDefinitionHistoryItemRetrieve("history_id_or_release_tag", "id") + * await client.metricDefinitions.metricDefinitionHistoryItemRetrieve("id", "history_id_or_release_tag") */ public metricDefinitionHistoryItemRetrieve( - historyIdOrReleaseTag: string, id: string, + historyIdOrReleaseTag: string, requestOptions?: MetricDefinitions.RequestOptions, ): core.HttpResponsePromise { return core.HttpResponsePromise.fromPromise( - this.__metricDefinitionHistoryItemRetrieve(historyIdOrReleaseTag, id, requestOptions), + this.__metricDefinitionHistoryItemRetrieve(id, historyIdOrReleaseTag, requestOptions), ); } private async __metricDefinitionHistoryItemRetrieve( - historyIdOrReleaseTag: string, id: string, + historyIdOrReleaseTag: string, requestOptions?: MetricDefinitions.RequestOptions, ): Promise> { const _response = await core.fetcher({ @@ -177,8 +177,8 @@ export class MetricDefinitions { : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", - "X-Fern-SDK-Version": "1.10.1", - "User-Agent": "vellum-ai/1.10.1", + "X-Fern-SDK-Version": "1.10.2", + "User-Agent": "vellum-ai/1.10.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), diff --git a/src/api/resources/mlModels/client/Client.ts b/src/api/resources/mlModels/client/Client.ts index 0f82fcefa..6036486f0 100644 --- a/src/api/resources/mlModels/client/Client.ts +++ b/src/api/resources/mlModels/client/Client.ts @@ -73,8 +73,8 @@ export class MlModels { : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", - "X-Fern-SDK-Version": "1.10.1", - "User-Agent": "vellum-ai/1.10.1", + "X-Fern-SDK-Version": "1.10.2", + "User-Agent": "vellum-ai/1.10.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), diff --git a/src/api/resources/organizations/client/Client.ts b/src/api/resources/organizations/client/Client.ts index 93413fa30..79467abfb 100644 --- a/src/api/resources/organizations/client/Client.ts +++ b/src/api/resources/organizations/client/Client.ts @@ -70,8 +70,8 @@ export class Organizations { : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", - "X-Fern-SDK-Version": "1.10.1", - "User-Agent": "vellum-ai/1.10.1", + "X-Fern-SDK-Version": "1.10.2", + "User-Agent": "vellum-ai/1.10.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), diff --git a/src/api/resources/prompts/client/Client.ts b/src/api/resources/prompts/client/Client.ts index 4f450bcaf..acdf6e19b 100644 --- a/src/api/resources/prompts/client/Client.ts +++ b/src/api/resources/prompts/client/Client.ts @@ -85,8 +85,8 @@ export class Prompts { : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", - "X-Fern-SDK-Version": "1.10.1", - "User-Agent": "vellum-ai/1.10.1", + "X-Fern-SDK-Version": "1.10.2", + "User-Agent": "vellum-ai/1.10.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, Accept: "application/json", @@ -205,8 +205,8 @@ export class Prompts { : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", - "X-Fern-SDK-Version": "1.10.1", - "User-Agent": "vellum-ai/1.10.1", + "X-Fern-SDK-Version": "1.10.2", + "User-Agent": "vellum-ai/1.10.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), diff --git a/src/api/resources/sandboxes/client/Client.ts b/src/api/resources/sandboxes/client/Client.ts index d96028e1b..c8bc026e0 100644 --- a/src/api/resources/sandboxes/client/Client.ts +++ b/src/api/resources/sandboxes/client/Client.ts @@ -77,8 +77,8 @@ export class Sandboxes { : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", - "X-Fern-SDK-Version": "1.10.1", - "User-Agent": "vellum-ai/1.10.1", + "X-Fern-SDK-Version": "1.10.2", + "User-Agent": "vellum-ai/1.10.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -184,8 +184,8 @@ export class Sandboxes { : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", - "X-Fern-SDK-Version": "1.10.1", - "User-Agent": "vellum-ai/1.10.1", + "X-Fern-SDK-Version": "1.10.2", + "User-Agent": "vellum-ai/1.10.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -275,8 +275,8 @@ export class Sandboxes { : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", - "X-Fern-SDK-Version": "1.10.1", - "User-Agent": "vellum-ai/1.10.1", + "X-Fern-SDK-Version": "1.10.2", + "User-Agent": "vellum-ai/1.10.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), diff --git a/src/api/resources/testSuiteRuns/client/Client.ts b/src/api/resources/testSuiteRuns/client/Client.ts index 58f1c404e..1db8f5482 100644 --- a/src/api/resources/testSuiteRuns/client/Client.ts +++ b/src/api/resources/testSuiteRuns/client/Client.ts @@ -80,8 +80,8 @@ export class TestSuiteRuns { : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", - "X-Fern-SDK-Version": "1.10.1", - "User-Agent": "vellum-ai/1.10.1", + "X-Fern-SDK-Version": "1.10.2", + "User-Agent": "vellum-ai/1.10.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -168,8 +168,8 @@ export class TestSuiteRuns { : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", - "X-Fern-SDK-Version": "1.10.1", - "User-Agent": "vellum-ai/1.10.1", + "X-Fern-SDK-Version": "1.10.2", + "User-Agent": "vellum-ai/1.10.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -241,7 +241,7 @@ export class TestSuiteRuns { ): Promise> { const { expand, limit, offset } = request; const _queryParams: Record = {}; - if (expand != null) { + if (expand !== undefined) { if (Array.isArray(expand)) { _queryParams["expand"] = expand.map((item) => item); } else { @@ -274,8 +274,8 @@ export class TestSuiteRuns { : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", - "X-Fern-SDK-Version": "1.10.1", - "User-Agent": "vellum-ai/1.10.1", + "X-Fern-SDK-Version": "1.10.2", + "User-Agent": "vellum-ai/1.10.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), diff --git a/src/api/resources/testSuiteRuns/client/requests/TestSuiteRunsListExecutionsRequest.ts b/src/api/resources/testSuiteRuns/client/requests/TestSuiteRunsListExecutionsRequest.ts index 7d85e8ded..f6ae6d7f3 100644 --- a/src/api/resources/testSuiteRuns/client/requests/TestSuiteRunsListExecutionsRequest.ts +++ b/src/api/resources/testSuiteRuns/client/requests/TestSuiteRunsListExecutionsRequest.ts @@ -13,7 +13,7 @@ export interface TestSuiteRunsListExecutionsRequest { * - 'metric_results.metric_definition' expands the metric definition for each metric result. * - 'metric_results.metric_definition.name' expands the metric definition name for each metric result. */ - expand?: string | string[]; + expand?: (string | null) | (string | null)[]; /** * Number of results to return per page. */ diff --git a/src/api/resources/testSuites/client/Client.ts b/src/api/resources/testSuites/client/Client.ts index 90e5facd0..54e0e30da 100644 --- a/src/api/resources/testSuites/client/Client.ts +++ b/src/api/resources/testSuites/client/Client.ts @@ -87,8 +87,8 @@ export class TestSuites { : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", - "X-Fern-SDK-Version": "1.10.1", - "User-Agent": "vellum-ai/1.10.1", + "X-Fern-SDK-Version": "1.10.2", + "User-Agent": "vellum-ai/1.10.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -201,8 +201,8 @@ export class TestSuites { : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", - "X-Fern-SDK-Version": "1.10.1", - "User-Agent": "vellum-ai/1.10.1", + "X-Fern-SDK-Version": "1.10.2", + "User-Agent": "vellum-ai/1.10.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -287,8 +287,8 @@ export class TestSuites { : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", - "X-Fern-SDK-Version": "1.10.1", - "User-Agent": "vellum-ai/1.10.1", + "X-Fern-SDK-Version": "1.10.2", + "User-Agent": "vellum-ai/1.10.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -393,8 +393,8 @@ export class TestSuites { : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", - "X-Fern-SDK-Version": "1.10.1", - "User-Agent": "vellum-ai/1.10.1", + "X-Fern-SDK-Version": "1.10.2", + "User-Agent": "vellum-ai/1.10.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), diff --git a/src/api/resources/workflowDeployments/client/Client.ts b/src/api/resources/workflowDeployments/client/Client.ts index 9cda5d6d6..94ca22009 100644 --- a/src/api/resources/workflowDeployments/client/Client.ts +++ b/src/api/resources/workflowDeployments/client/Client.ts @@ -93,8 +93,8 @@ export class WorkflowDeployments { : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", - "X-Fern-SDK-Version": "1.10.1", - "User-Agent": "vellum-ai/1.10.1", + "X-Fern-SDK-Version": "1.10.2", + "User-Agent": "vellum-ai/1.10.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -181,8 +181,8 @@ export class WorkflowDeployments { : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", - "X-Fern-SDK-Version": "1.10.1", - "User-Agent": "vellum-ai/1.10.1", + "X-Fern-SDK-Version": "1.10.2", + "User-Agent": "vellum-ai/1.10.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -289,8 +289,8 @@ export class WorkflowDeployments { : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", - "X-Fern-SDK-Version": "1.10.1", - "User-Agent": "vellum-ai/1.10.1", + "X-Fern-SDK-Version": "1.10.2", + "User-Agent": "vellum-ai/1.10.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -343,26 +343,26 @@ export class WorkflowDeployments { } /** - * @param {string} executionId * @param {string} id + * @param {string} executionId * @param {WorkflowDeployments.RequestOptions} requestOptions - Request-specific configuration. * * @example - * await client.workflowDeployments.workflowDeploymentEventExecution("execution_id", "id") + * await client.workflowDeployments.workflowDeploymentEventExecution("id", "execution_id") */ public workflowDeploymentEventExecution( - executionId: string, id: string, + executionId: string, requestOptions?: WorkflowDeployments.RequestOptions, ): core.HttpResponsePromise { return core.HttpResponsePromise.fromPromise( - this.__workflowDeploymentEventExecution(executionId, id, requestOptions), + this.__workflowDeploymentEventExecution(id, executionId, requestOptions), ); } private async __workflowDeploymentEventExecution( - executionId: string, id: string, + executionId: string, requestOptions?: WorkflowDeployments.RequestOptions, ): Promise> { const _response = await core.fetcher({ @@ -382,8 +382,8 @@ export class WorkflowDeployments { : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", - "X-Fern-SDK-Version": "1.10.1", - "User-Agent": "vellum-ai/1.10.1", + "X-Fern-SDK-Version": "1.10.2", + "User-Agent": "vellum-ai/1.10.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -438,26 +438,26 @@ export class WorkflowDeployments { * DEPRECATED: This endpoint is deprecated and will be removed in a future release. Please use the * `retrieve_workflow_deployment_release` endpoint instead. * - * @param {string} historyIdOrReleaseTag - Either the UUID of Workflow Deployment History Item you'd like to retrieve, or the name of a Release Tag that's pointing to the Workflow Deployment History Item you'd like to retrieve. * @param {string} id - Either the Workflow Deployment's ID or its unique name + * @param {string} historyIdOrReleaseTag - Either the UUID of Workflow Deployment History Item you'd like to retrieve, or the name of a Release Tag that's pointing to the Workflow Deployment History Item you'd like to retrieve. * @param {WorkflowDeployments.RequestOptions} requestOptions - Request-specific configuration. * * @example - * await client.workflowDeployments.workflowDeploymentHistoryItemRetrieve("history_id_or_release_tag", "id") + * await client.workflowDeployments.workflowDeploymentHistoryItemRetrieve("id", "history_id_or_release_tag") */ public workflowDeploymentHistoryItemRetrieve( - historyIdOrReleaseTag: string, id: string, + historyIdOrReleaseTag: string, requestOptions?: WorkflowDeployments.RequestOptions, ): core.HttpResponsePromise { return core.HttpResponsePromise.fromPromise( - this.__workflowDeploymentHistoryItemRetrieve(historyIdOrReleaseTag, id, requestOptions), + this.__workflowDeploymentHistoryItemRetrieve(id, historyIdOrReleaseTag, requestOptions), ); } private async __workflowDeploymentHistoryItemRetrieve( - historyIdOrReleaseTag: string, id: string, + historyIdOrReleaseTag: string, requestOptions?: WorkflowDeployments.RequestOptions, ): Promise> { const _response = await core.fetcher({ @@ -477,8 +477,8 @@ export class WorkflowDeployments { : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", - "X-Fern-SDK-Version": "1.10.1", - "User-Agent": "vellum-ai/1.10.1", + "X-Fern-SDK-Version": "1.10.2", + "User-Agent": "vellum-ai/1.10.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -589,8 +589,8 @@ export class WorkflowDeployments { : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", - "X-Fern-SDK-Version": "1.10.1", - "User-Agent": "vellum-ai/1.10.1", + "X-Fern-SDK-Version": "1.10.2", + "User-Agent": "vellum-ai/1.10.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -682,8 +682,8 @@ export class WorkflowDeployments { : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", - "X-Fern-SDK-Version": "1.10.1", - "User-Agent": "vellum-ai/1.10.1", + "X-Fern-SDK-Version": "1.10.2", + "User-Agent": "vellum-ai/1.10.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -777,8 +777,8 @@ export class WorkflowDeployments { : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", - "X-Fern-SDK-Version": "1.10.1", - "User-Agent": "vellum-ai/1.10.1", + "X-Fern-SDK-Version": "1.10.2", + "User-Agent": "vellum-ai/1.10.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -886,8 +886,8 @@ export class WorkflowDeployments { : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", - "X-Fern-SDK-Version": "1.10.1", - "User-Agent": "vellum-ai/1.10.1", + "X-Fern-SDK-Version": "1.10.2", + "User-Agent": "vellum-ai/1.10.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -981,8 +981,8 @@ export class WorkflowDeployments { : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", - "X-Fern-SDK-Version": "1.10.1", - "User-Agent": "vellum-ai/1.10.1", + "X-Fern-SDK-Version": "1.10.2", + "User-Agent": "vellum-ai/1.10.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), diff --git a/src/api/resources/workflowExecutions/client/Client.ts b/src/api/resources/workflowExecutions/client/Client.ts index cd529ccd1..32c81cacd 100644 --- a/src/api/resources/workflowExecutions/client/Client.ts +++ b/src/api/resources/workflowExecutions/client/Client.ts @@ -89,8 +89,8 @@ export class WorkflowExecutions { : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", - "X-Fern-SDK-Version": "1.10.1", - "User-Agent": "vellum-ai/1.10.1", + "X-Fern-SDK-Version": "1.10.2", + "User-Agent": "vellum-ai/1.10.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), diff --git a/src/api/resources/workflowSandboxes/client/Client.ts b/src/api/resources/workflowSandboxes/client/Client.ts index 485f2b7e3..336dac546 100644 --- a/src/api/resources/workflowSandboxes/client/Client.ts +++ b/src/api/resources/workflowSandboxes/client/Client.ts @@ -74,8 +74,8 @@ export class WorkflowSandboxes { : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", - "X-Fern-SDK-Version": "1.10.1", - "User-Agent": "vellum-ai/1.10.1", + "X-Fern-SDK-Version": "1.10.2", + "User-Agent": "vellum-ai/1.10.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -184,8 +184,8 @@ export class WorkflowSandboxes { : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", - "X-Fern-SDK-Version": "1.10.1", - "User-Agent": "vellum-ai/1.10.1", + "X-Fern-SDK-Version": "1.10.2", + "User-Agent": "vellum-ai/1.10.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), diff --git a/src/api/resources/workflows/client/Client.ts b/src/api/resources/workflows/client/Client.ts index 8c27c7849..ccdd8b1f3 100644 --- a/src/api/resources/workflows/client/Client.ts +++ b/src/api/resources/workflows/client/Client.ts @@ -103,8 +103,8 @@ export class Workflows { : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", - "X-Fern-SDK-Version": "1.10.1", - "User-Agent": "vellum-ai/1.10.1", + "X-Fern-SDK-Version": "1.10.2", + "User-Agent": "vellum-ai/1.10.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -191,8 +191,8 @@ export class Workflows { : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", - "X-Fern-SDK-Version": "1.10.1", - "User-Agent": "vellum-ai/1.10.1", + "X-Fern-SDK-Version": "1.10.2", + "User-Agent": "vellum-ai/1.10.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -318,8 +318,8 @@ export class Workflows { : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", - "X-Fern-SDK-Version": "1.10.1", - "User-Agent": "vellum-ai/1.10.1", + "X-Fern-SDK-Version": "1.10.2", + "User-Agent": "vellum-ai/1.10.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -413,8 +413,8 @@ export class Workflows { : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", - "X-Fern-SDK-Version": "1.10.1", - "User-Agent": "vellum-ai/1.10.1", + "X-Fern-SDK-Version": "1.10.2", + "User-Agent": "vellum-ai/1.10.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), diff --git a/src/api/resources/workflows/client/requests/WorkflowsPullRequest.ts b/src/api/resources/workflows/client/requests/WorkflowsPullRequest.ts index af07049bf..0e22d83b1 100644 --- a/src/api/resources/workflows/client/requests/WorkflowsPullRequest.ts +++ b/src/api/resources/workflows/client/requests/WorkflowsPullRequest.ts @@ -2,6 +2,10 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * {} + */ export interface WorkflowsPullRequest { excludeCode?: boolean | null; excludeDisplay?: boolean | null; diff --git a/src/api/resources/workspaceSecrets/client/Client.ts b/src/api/resources/workspaceSecrets/client/Client.ts index e169da5cb..4c2d15b0c 100644 --- a/src/api/resources/workspaceSecrets/client/Client.ts +++ b/src/api/resources/workspaceSecrets/client/Client.ts @@ -73,8 +73,8 @@ export class WorkspaceSecrets { : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", - "X-Fern-SDK-Version": "1.10.1", - "User-Agent": "vellum-ai/1.10.1", + "X-Fern-SDK-Version": "1.10.2", + "User-Agent": "vellum-ai/1.10.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -163,8 +163,8 @@ export class WorkspaceSecrets { : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", - "X-Fern-SDK-Version": "1.10.1", - "User-Agent": "vellum-ai/1.10.1", + "X-Fern-SDK-Version": "1.10.2", + "User-Agent": "vellum-ai/1.10.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), diff --git a/src/api/resources/workspaces/client/Client.ts b/src/api/resources/workspaces/client/Client.ts index 343a3922c..77d74d673 100644 --- a/src/api/resources/workspaces/client/Client.ts +++ b/src/api/resources/workspaces/client/Client.ts @@ -70,8 +70,8 @@ export class Workspaces { : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", - "X-Fern-SDK-Version": "1.10.1", - "User-Agent": "vellum-ai/1.10.1", + "X-Fern-SDK-Version": "1.10.2", + "User-Agent": "vellum-ai/1.10.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), diff --git a/src/api/types/CodeExecutionNodeJsonResult.ts b/src/api/types/CodeExecutionNodeJsonResult.ts index 30001914b..3f1336f07 100644 --- a/src/api/types/CodeExecutionNodeJsonResult.ts +++ b/src/api/types/CodeExecutionNodeJsonResult.ts @@ -5,5 +5,5 @@ export interface CodeExecutionNodeJsonResult { id: string; type: "JSON"; - value?: unknown; + value?: unknown | null; } diff --git a/src/api/types/ExecutionJsonVellumValue.ts b/src/api/types/ExecutionJsonVellumValue.ts index 5da42b219..d7032d140 100644 --- a/src/api/types/ExecutionJsonVellumValue.ts +++ b/src/api/types/ExecutionJsonVellumValue.ts @@ -10,5 +10,5 @@ export interface ExecutionJsonVellumValue { id: string; name: string; type: "JSON"; - value?: unknown; + value?: unknown | null; } diff --git a/src/api/types/ExternalInputDescriptor.ts b/src/api/types/ExternalInputDescriptor.ts index b40a5cce7..f56b8b9a5 100644 --- a/src/api/types/ExternalInputDescriptor.ts +++ b/src/api/types/ExternalInputDescriptor.ts @@ -7,6 +7,6 @@ import * as Vellum from "../index"; export interface ExternalInputDescriptor { types: Vellum.CodeResourceDefinition[]; inputsClass?: Vellum.CodeResourceDefinition | null; - instance?: unknown; + instance?: unknown | null; name: string; } diff --git a/src/api/types/JsonInput.ts b/src/api/types/JsonInput.ts index 350eac3b6..00586b188 100644 --- a/src/api/types/JsonInput.ts +++ b/src/api/types/JsonInput.ts @@ -9,5 +9,5 @@ export interface JsonInput { /** The variable's name */ name: string; type: "JSON"; - value?: unknown; + value?: unknown | null; } diff --git a/src/api/types/JsonInputRequest.ts b/src/api/types/JsonInputRequest.ts index 2ff4609b3..258e70d3c 100644 --- a/src/api/types/JsonInputRequest.ts +++ b/src/api/types/JsonInputRequest.ts @@ -9,5 +9,5 @@ export interface JsonInputRequest { /** The variable's name */ name: string; type: "JSON"; - value?: unknown; + value?: unknown | null; } diff --git a/src/api/types/JsonVellumValue.ts b/src/api/types/JsonVellumValue.ts index d875c0fca..63034854a 100644 --- a/src/api/types/JsonVellumValue.ts +++ b/src/api/types/JsonVellumValue.ts @@ -7,5 +7,5 @@ */ export interface JsonVellumValue { type: "JSON"; - value?: unknown; + value?: unknown | null; } diff --git a/src/api/types/JsonVellumValueRequest.ts b/src/api/types/JsonVellumValueRequest.ts index 9e8533edc..947c7f5ac 100644 --- a/src/api/types/JsonVellumValueRequest.ts +++ b/src/api/types/JsonVellumValueRequest.ts @@ -7,5 +7,5 @@ */ export interface JsonVellumValueRequest { type: "JSON"; - value?: unknown; + value?: unknown | null; } diff --git a/src/api/types/NamedScenarioInputJsonVariableValueRequest.ts b/src/api/types/NamedScenarioInputJsonVariableValueRequest.ts index 7822f3164..5d44ce110 100644 --- a/src/api/types/NamedScenarioInputJsonVariableValueRequest.ts +++ b/src/api/types/NamedScenarioInputJsonVariableValueRequest.ts @@ -7,6 +7,6 @@ */ export interface NamedScenarioInputJsonVariableValueRequest { type: "JSON"; - value?: unknown; + value?: unknown | null; name: string; } diff --git a/src/api/types/NamedTestCaseJsonVariableValue.ts b/src/api/types/NamedTestCaseJsonVariableValue.ts index 999cc51a8..b02da60ba 100644 --- a/src/api/types/NamedTestCaseJsonVariableValue.ts +++ b/src/api/types/NamedTestCaseJsonVariableValue.ts @@ -7,6 +7,6 @@ */ export interface NamedTestCaseJsonVariableValue { type: "JSON"; - value?: unknown; + value?: unknown | null; name: string; } diff --git a/src/api/types/NamedTestCaseJsonVariableValueRequest.ts b/src/api/types/NamedTestCaseJsonVariableValueRequest.ts index d4bf49129..3aac3a0aa 100644 --- a/src/api/types/NamedTestCaseJsonVariableValueRequest.ts +++ b/src/api/types/NamedTestCaseJsonVariableValueRequest.ts @@ -7,6 +7,6 @@ */ export interface NamedTestCaseJsonVariableValueRequest { type: "JSON"; - value?: unknown; + value?: unknown | null; name: string; } diff --git a/src/api/types/NodeInputCompiledJsonValue.ts b/src/api/types/NodeInputCompiledJsonValue.ts index 9c5543af7..2cc24fcb5 100644 --- a/src/api/types/NodeInputCompiledJsonValue.ts +++ b/src/api/types/NodeInputCompiledJsonValue.ts @@ -6,5 +6,5 @@ export interface NodeInputCompiledJsonValue { nodeInputId: string; key: string; type: "JSON"; - value?: unknown; + value?: unknown | null; } diff --git a/src/api/types/NodeOutputCompiledJsonValue.ts b/src/api/types/NodeOutputCompiledJsonValue.ts index 202dc640b..980bc737f 100644 --- a/src/api/types/NodeOutputCompiledJsonValue.ts +++ b/src/api/types/NodeOutputCompiledJsonValue.ts @@ -9,7 +9,7 @@ import * as Vellum from "../index"; */ export interface NodeOutputCompiledJsonValue { type: "JSON"; - value?: unknown; + value?: unknown | null; nodeOutputId: string; state?: Vellum.WorkflowNodeResultEventState; } diff --git a/src/api/types/PromptRequestJsonInput.ts b/src/api/types/PromptRequestJsonInput.ts index 466e4c834..8cd02f03e 100644 --- a/src/api/types/PromptRequestJsonInput.ts +++ b/src/api/types/PromptRequestJsonInput.ts @@ -6,5 +6,5 @@ export interface PromptRequestJsonInput { /** The variable's name, as defined in the Prompt. */ key: string; type: "JSON"; - value?: unknown; + value?: unknown | null; } diff --git a/src/api/types/ScenarioInputJsonVariableValue.ts b/src/api/types/ScenarioInputJsonVariableValue.ts index 9d692d717..67099c9af 100644 --- a/src/api/types/ScenarioInputJsonVariableValue.ts +++ b/src/api/types/ScenarioInputJsonVariableValue.ts @@ -7,6 +7,6 @@ */ export interface ScenarioInputJsonVariableValue { type: "JSON"; - value?: unknown; + value?: unknown | null; inputVariableId: string; } diff --git a/src/api/types/TemplatingNodeJsonResult.ts b/src/api/types/TemplatingNodeJsonResult.ts index 5e72e0fac..fd93be46a 100644 --- a/src/api/types/TemplatingNodeJsonResult.ts +++ b/src/api/types/TemplatingNodeJsonResult.ts @@ -5,5 +5,5 @@ export interface TemplatingNodeJsonResult { id: string; type: "JSON"; - value?: unknown; + value?: unknown | null; } diff --git a/src/api/types/TerminalNodeJsonResult.ts b/src/api/types/TerminalNodeJsonResult.ts index a3c5f9e10..107992386 100644 --- a/src/api/types/TerminalNodeJsonResult.ts +++ b/src/api/types/TerminalNodeJsonResult.ts @@ -7,5 +7,5 @@ export interface TerminalNodeJsonResult { /** The unique name given to the terminal node that produced this output. */ name: string; type: "JSON"; - value?: unknown; + value?: unknown | null; } diff --git a/src/api/types/TestCaseJsonVariableValue.ts b/src/api/types/TestCaseJsonVariableValue.ts index dd85e7fef..4e63b817b 100644 --- a/src/api/types/TestCaseJsonVariableValue.ts +++ b/src/api/types/TestCaseJsonVariableValue.ts @@ -9,5 +9,5 @@ export interface TestCaseJsonVariableValue { variableId: string; name: string; type: "JSON"; - value?: unknown; + value?: unknown | null; } diff --git a/src/api/types/TestSuiteRunExecutionJsonOutput.ts b/src/api/types/TestSuiteRunExecutionJsonOutput.ts index 5cc5927a0..c1faaf8f2 100644 --- a/src/api/types/TestSuiteRunExecutionJsonOutput.ts +++ b/src/api/types/TestSuiteRunExecutionJsonOutput.ts @@ -8,6 +8,6 @@ export interface TestSuiteRunExecutionJsonOutput { name: string; type: "JSON"; - value?: unknown; + value?: unknown | null; outputVariableId: string; } diff --git a/src/api/types/TestSuiteRunMetricJsonOutput.ts b/src/api/types/TestSuiteRunMetricJsonOutput.ts index b3381d4b6..87136a8a5 100644 --- a/src/api/types/TestSuiteRunMetricJsonOutput.ts +++ b/src/api/types/TestSuiteRunMetricJsonOutput.ts @@ -6,7 +6,7 @@ * Output for a test suite run metric that is of type NUMBER */ export interface TestSuiteRunMetricJsonOutput { - value?: unknown; + value?: unknown | null; type: "JSON"; name: string; } diff --git a/src/api/types/WorkflowOutputJson.ts b/src/api/types/WorkflowOutputJson.ts index 5ac121249..b02635038 100644 --- a/src/api/types/WorkflowOutputJson.ts +++ b/src/api/types/WorkflowOutputJson.ts @@ -10,5 +10,5 @@ export interface WorkflowOutputJson { /** The output's name, as defined in the workflow */ name: string; type: "JSON"; - value?: unknown; + value?: unknown | null; } diff --git a/src/api/types/WorkflowResultEventOutputDataJson.ts b/src/api/types/WorkflowResultEventOutputDataJson.ts index 7dd31de70..01c0f740c 100644 --- a/src/api/types/WorkflowResultEventOutputDataJson.ts +++ b/src/api/types/WorkflowResultEventOutputDataJson.ts @@ -15,5 +15,5 @@ export interface WorkflowResultEventOutputDataJson { /** The newly output string value. Only relevant for string outputs with a state of STREAMING. */ delta?: string | null; type: "JSON"; - value?: unknown; + value?: unknown | null; } diff --git a/src/serialization/types/CodeExecutionNodeJsonResult.ts b/src/serialization/types/CodeExecutionNodeJsonResult.ts index 2a6464080..ea5351d72 100644 --- a/src/serialization/types/CodeExecutionNodeJsonResult.ts +++ b/src/serialization/types/CodeExecutionNodeJsonResult.ts @@ -12,13 +12,13 @@ export const CodeExecutionNodeJsonResult: core.serialization.ObjectSchema< > = core.serialization.object({ id: core.serialization.string(), type: core.serialization.stringLiteral("JSON"), - value: core.serialization.unknown(), + value: core.serialization.unknown().optionalNullable(), }); export declare namespace CodeExecutionNodeJsonResult { export interface Raw { id: string; type: "JSON"; - value?: unknown; + value?: (unknown | null) | null; } } diff --git a/src/serialization/types/ExecutionJsonVellumValue.ts b/src/serialization/types/ExecutionJsonVellumValue.ts index 579cdd7bc..be8253a16 100644 --- a/src/serialization/types/ExecutionJsonVellumValue.ts +++ b/src/serialization/types/ExecutionJsonVellumValue.ts @@ -13,7 +13,7 @@ export const ExecutionJsonVellumValue: core.serialization.ObjectSchema< id: core.serialization.string(), name: core.serialization.string(), type: core.serialization.stringLiteral("JSON"), - value: core.serialization.unknown(), + value: core.serialization.unknown().optionalNullable(), }); export declare namespace ExecutionJsonVellumValue { @@ -21,6 +21,6 @@ export declare namespace ExecutionJsonVellumValue { id: string; name: string; type: "JSON"; - value?: unknown; + value?: (unknown | null) | null; } } diff --git a/src/serialization/types/ExternalInputDescriptor.ts b/src/serialization/types/ExternalInputDescriptor.ts index 90814a941..bf3f584f0 100644 --- a/src/serialization/types/ExternalInputDescriptor.ts +++ b/src/serialization/types/ExternalInputDescriptor.ts @@ -13,7 +13,7 @@ export const ExternalInputDescriptor: core.serialization.ObjectSchema< > = core.serialization.object({ types: core.serialization.list(CodeResourceDefinition), inputsClass: core.serialization.property("inputs_class", CodeResourceDefinition.optionalNullable()), - instance: core.serialization.unknown().optional(), + instance: core.serialization.unknown().optionalNullable(), name: core.serialization.string(), }); @@ -21,7 +21,7 @@ export declare namespace ExternalInputDescriptor { export interface Raw { types: CodeResourceDefinition.Raw[]; inputs_class?: (CodeResourceDefinition.Raw | null) | null; - instance?: unknown | null; + instance?: (unknown | null) | null; name: string; } } diff --git a/src/serialization/types/JsonInput.ts b/src/serialization/types/JsonInput.ts index ce474ce3d..c81bde4b5 100644 --- a/src/serialization/types/JsonInput.ts +++ b/src/serialization/types/JsonInput.ts @@ -10,13 +10,13 @@ export const JsonInput: core.serialization.ObjectSchema = core.serialization.object({ name: core.serialization.string(), type: core.serialization.stringLiteral("JSON"), - value: core.serialization.unknown(), + value: core.serialization.unknown().optionalNullable(), }); export declare namespace JsonInputRequest { export interface Raw { name: string; type: "JSON"; - value?: unknown; + value?: (unknown | null) | null; } } diff --git a/src/serialization/types/JsonVellumValue.ts b/src/serialization/types/JsonVellumValue.ts index 960fbda49..5b1f41b01 100644 --- a/src/serialization/types/JsonVellumValue.ts +++ b/src/serialization/types/JsonVellumValue.ts @@ -9,12 +9,12 @@ import * as core from "../../core"; export const JsonVellumValue: core.serialization.ObjectSchema = core.serialization.object({ type: core.serialization.stringLiteral("JSON"), - value: core.serialization.unknown(), + value: core.serialization.unknown().optionalNullable(), }); export declare namespace JsonVellumValue { export interface Raw { type: "JSON"; - value?: unknown; + value?: (unknown | null) | null; } } diff --git a/src/serialization/types/JsonVellumValueRequest.ts b/src/serialization/types/JsonVellumValueRequest.ts index 9d2f93b64..2ff6a26b4 100644 --- a/src/serialization/types/JsonVellumValueRequest.ts +++ b/src/serialization/types/JsonVellumValueRequest.ts @@ -11,12 +11,12 @@ export const JsonVellumValueRequest: core.serialization.ObjectSchema< Vellum.JsonVellumValueRequest > = core.serialization.object({ type: core.serialization.stringLiteral("JSON"), - value: core.serialization.unknown(), + value: core.serialization.unknown().optionalNullable(), }); export declare namespace JsonVellumValueRequest { export interface Raw { type: "JSON"; - value?: unknown; + value?: (unknown | null) | null; } } diff --git a/src/serialization/types/NamedScenarioInputJsonVariableValueRequest.ts b/src/serialization/types/NamedScenarioInputJsonVariableValueRequest.ts index b9935bdfc..d360df197 100644 --- a/src/serialization/types/NamedScenarioInputJsonVariableValueRequest.ts +++ b/src/serialization/types/NamedScenarioInputJsonVariableValueRequest.ts @@ -11,14 +11,14 @@ export const NamedScenarioInputJsonVariableValueRequest: core.serialization.Obje Vellum.NamedScenarioInputJsonVariableValueRequest > = core.serialization.object({ type: core.serialization.stringLiteral("JSON"), - value: core.serialization.unknown(), + value: core.serialization.unknown().optionalNullable(), name: core.serialization.string(), }); export declare namespace NamedScenarioInputJsonVariableValueRequest { export interface Raw { type: "JSON"; - value?: unknown; + value?: (unknown | null) | null; name: string; } } diff --git a/src/serialization/types/NamedTestCaseJsonVariableValue.ts b/src/serialization/types/NamedTestCaseJsonVariableValue.ts index 6a72db3ec..3a7966373 100644 --- a/src/serialization/types/NamedTestCaseJsonVariableValue.ts +++ b/src/serialization/types/NamedTestCaseJsonVariableValue.ts @@ -11,14 +11,14 @@ export const NamedTestCaseJsonVariableValue: core.serialization.ObjectSchema< Vellum.NamedTestCaseJsonVariableValue > = core.serialization.object({ type: core.serialization.stringLiteral("JSON"), - value: core.serialization.unknown(), + value: core.serialization.unknown().optionalNullable(), name: core.serialization.string(), }); export declare namespace NamedTestCaseJsonVariableValue { export interface Raw { type: "JSON"; - value?: unknown; + value?: (unknown | null) | null; name: string; } } diff --git a/src/serialization/types/NamedTestCaseJsonVariableValueRequest.ts b/src/serialization/types/NamedTestCaseJsonVariableValueRequest.ts index 797b56d2a..f7a900eb1 100644 --- a/src/serialization/types/NamedTestCaseJsonVariableValueRequest.ts +++ b/src/serialization/types/NamedTestCaseJsonVariableValueRequest.ts @@ -11,14 +11,14 @@ export const NamedTestCaseJsonVariableValueRequest: core.serialization.ObjectSch Vellum.NamedTestCaseJsonVariableValueRequest > = core.serialization.object({ type: core.serialization.stringLiteral("JSON"), - value: core.serialization.unknown(), + value: core.serialization.unknown().optionalNullable(), name: core.serialization.string(), }); export declare namespace NamedTestCaseJsonVariableValueRequest { export interface Raw { type: "JSON"; - value?: unknown; + value?: (unknown | null) | null; name: string; } } diff --git a/src/serialization/types/NodeInputCompiledJsonValue.ts b/src/serialization/types/NodeInputCompiledJsonValue.ts index 21f2f8c58..454e8abb5 100644 --- a/src/serialization/types/NodeInputCompiledJsonValue.ts +++ b/src/serialization/types/NodeInputCompiledJsonValue.ts @@ -13,7 +13,7 @@ export const NodeInputCompiledJsonValue: core.serialization.ObjectSchema< nodeInputId: core.serialization.property("node_input_id", core.serialization.string()), key: core.serialization.string(), type: core.serialization.stringLiteral("JSON"), - value: core.serialization.unknown(), + value: core.serialization.unknown().optionalNullable(), }); export declare namespace NodeInputCompiledJsonValue { @@ -21,6 +21,6 @@ export declare namespace NodeInputCompiledJsonValue { node_input_id: string; key: string; type: "JSON"; - value?: unknown; + value?: (unknown | null) | null; } } diff --git a/src/serialization/types/NodeOutputCompiledJsonValue.ts b/src/serialization/types/NodeOutputCompiledJsonValue.ts index fd0d0337d..234a0b439 100644 --- a/src/serialization/types/NodeOutputCompiledJsonValue.ts +++ b/src/serialization/types/NodeOutputCompiledJsonValue.ts @@ -12,7 +12,7 @@ export const NodeOutputCompiledJsonValue: core.serialization.ObjectSchema< Vellum.NodeOutputCompiledJsonValue > = core.serialization.object({ type: core.serialization.stringLiteral("JSON"), - value: core.serialization.unknown(), + value: core.serialization.unknown().optionalNullable(), nodeOutputId: core.serialization.property("node_output_id", core.serialization.string()), state: WorkflowNodeResultEventState.optional(), }); @@ -20,7 +20,7 @@ export const NodeOutputCompiledJsonValue: core.serialization.ObjectSchema< export declare namespace NodeOutputCompiledJsonValue { export interface Raw { type: "JSON"; - value?: unknown; + value?: (unknown | null) | null; node_output_id: string; state?: WorkflowNodeResultEventState.Raw | null; } diff --git a/src/serialization/types/PromptRequestJsonInput.ts b/src/serialization/types/PromptRequestJsonInput.ts index 0dbf31ec1..3728ee527 100644 --- a/src/serialization/types/PromptRequestJsonInput.ts +++ b/src/serialization/types/PromptRequestJsonInput.ts @@ -12,13 +12,13 @@ export const PromptRequestJsonInput: core.serialization.ObjectSchema< > = core.serialization.object({ key: core.serialization.string(), type: core.serialization.stringLiteral("JSON"), - value: core.serialization.unknown(), + value: core.serialization.unknown().optionalNullable(), }); export declare namespace PromptRequestJsonInput { export interface Raw { key: string; type: "JSON"; - value?: unknown; + value?: (unknown | null) | null; } } diff --git a/src/serialization/types/ScenarioInputJsonVariableValue.ts b/src/serialization/types/ScenarioInputJsonVariableValue.ts index a8566f53c..18b31fbce 100644 --- a/src/serialization/types/ScenarioInputJsonVariableValue.ts +++ b/src/serialization/types/ScenarioInputJsonVariableValue.ts @@ -11,14 +11,14 @@ export const ScenarioInputJsonVariableValue: core.serialization.ObjectSchema< Vellum.ScenarioInputJsonVariableValue > = core.serialization.object({ type: core.serialization.stringLiteral("JSON"), - value: core.serialization.unknown(), + value: core.serialization.unknown().optionalNullable(), inputVariableId: core.serialization.property("input_variable_id", core.serialization.string()), }); export declare namespace ScenarioInputJsonVariableValue { export interface Raw { type: "JSON"; - value?: unknown; + value?: (unknown | null) | null; input_variable_id: string; } } diff --git a/src/serialization/types/TemplatingNodeJsonResult.ts b/src/serialization/types/TemplatingNodeJsonResult.ts index 968f77cd7..632f1315d 100644 --- a/src/serialization/types/TemplatingNodeJsonResult.ts +++ b/src/serialization/types/TemplatingNodeJsonResult.ts @@ -12,13 +12,13 @@ export const TemplatingNodeJsonResult: core.serialization.ObjectSchema< > = core.serialization.object({ id: core.serialization.string(), type: core.serialization.stringLiteral("JSON"), - value: core.serialization.unknown(), + value: core.serialization.unknown().optionalNullable(), }); export declare namespace TemplatingNodeJsonResult { export interface Raw { id: string; type: "JSON"; - value?: unknown; + value?: (unknown | null) | null; } } diff --git a/src/serialization/types/TerminalNodeJsonResult.ts b/src/serialization/types/TerminalNodeJsonResult.ts index 946f55c33..d0b19dea0 100644 --- a/src/serialization/types/TerminalNodeJsonResult.ts +++ b/src/serialization/types/TerminalNodeJsonResult.ts @@ -13,7 +13,7 @@ export const TerminalNodeJsonResult: core.serialization.ObjectSchema< id: core.serialization.string().optionalNullable(), name: core.serialization.string(), type: core.serialization.stringLiteral("JSON"), - value: core.serialization.unknown(), + value: core.serialization.unknown().optionalNullable(), }); export declare namespace TerminalNodeJsonResult { @@ -21,6 +21,6 @@ export declare namespace TerminalNodeJsonResult { id?: (string | null) | null; name: string; type: "JSON"; - value?: unknown; + value?: (unknown | null) | null; } } diff --git a/src/serialization/types/TestCaseJsonVariableValue.ts b/src/serialization/types/TestCaseJsonVariableValue.ts index f14ada127..7293d70ef 100644 --- a/src/serialization/types/TestCaseJsonVariableValue.ts +++ b/src/serialization/types/TestCaseJsonVariableValue.ts @@ -13,7 +13,7 @@ export const TestCaseJsonVariableValue: core.serialization.ObjectSchema< variableId: core.serialization.property("variable_id", core.serialization.string()), name: core.serialization.string(), type: core.serialization.stringLiteral("JSON"), - value: core.serialization.unknown(), + value: core.serialization.unknown().optionalNullable(), }); export declare namespace TestCaseJsonVariableValue { @@ -21,6 +21,6 @@ export declare namespace TestCaseJsonVariableValue { variable_id: string; name: string; type: "JSON"; - value?: unknown; + value?: (unknown | null) | null; } } diff --git a/src/serialization/types/TestSuiteRunExecutionJsonOutput.ts b/src/serialization/types/TestSuiteRunExecutionJsonOutput.ts index 2af008c6d..c63cc1660 100644 --- a/src/serialization/types/TestSuiteRunExecutionJsonOutput.ts +++ b/src/serialization/types/TestSuiteRunExecutionJsonOutput.ts @@ -12,7 +12,7 @@ export const TestSuiteRunExecutionJsonOutput: core.serialization.ObjectSchema< > = core.serialization.object({ name: core.serialization.string(), type: core.serialization.stringLiteral("JSON"), - value: core.serialization.unknown(), + value: core.serialization.unknown().optionalNullable(), outputVariableId: core.serialization.property("output_variable_id", core.serialization.string()), }); @@ -20,7 +20,7 @@ export declare namespace TestSuiteRunExecutionJsonOutput { export interface Raw { name: string; type: "JSON"; - value?: unknown; + value?: (unknown | null) | null; output_variable_id: string; } } diff --git a/src/serialization/types/TestSuiteRunMetricJsonOutput.ts b/src/serialization/types/TestSuiteRunMetricJsonOutput.ts index 851809810..52414617f 100644 --- a/src/serialization/types/TestSuiteRunMetricJsonOutput.ts +++ b/src/serialization/types/TestSuiteRunMetricJsonOutput.ts @@ -10,14 +10,14 @@ export const TestSuiteRunMetricJsonOutput: core.serialization.ObjectSchema< serializers.TestSuiteRunMetricJsonOutput.Raw, Vellum.TestSuiteRunMetricJsonOutput > = core.serialization.object({ - value: core.serialization.unknown(), + value: core.serialization.unknown().optionalNullable(), type: core.serialization.stringLiteral("JSON"), name: core.serialization.string(), }); export declare namespace TestSuiteRunMetricJsonOutput { export interface Raw { - value?: unknown; + value?: (unknown | null) | null; type: "JSON"; name: string; } diff --git a/src/serialization/types/WorkflowOutputJson.ts b/src/serialization/types/WorkflowOutputJson.ts index aa1257cd1..c77fc7e5a 100644 --- a/src/serialization/types/WorkflowOutputJson.ts +++ b/src/serialization/types/WorkflowOutputJson.ts @@ -13,7 +13,7 @@ export const WorkflowOutputJson: core.serialization.ObjectSchema< id: core.serialization.string(), name: core.serialization.string(), type: core.serialization.stringLiteral("JSON"), - value: core.serialization.unknown(), + value: core.serialization.unknown().optionalNullable(), }); export declare namespace WorkflowOutputJson { @@ -21,6 +21,6 @@ export declare namespace WorkflowOutputJson { id: string; name: string; type: "JSON"; - value?: unknown; + value?: (unknown | null) | null; } } diff --git a/src/serialization/types/WorkflowResultEventOutputDataJson.ts b/src/serialization/types/WorkflowResultEventOutputDataJson.ts index a4ef673b8..2016a2efd 100644 --- a/src/serialization/types/WorkflowResultEventOutputDataJson.ts +++ b/src/serialization/types/WorkflowResultEventOutputDataJson.ts @@ -17,7 +17,7 @@ export const WorkflowResultEventOutputDataJson: core.serialization.ObjectSchema< nodeId: core.serialization.property("node_id", core.serialization.string()), delta: core.serialization.string().optionalNullable(), type: core.serialization.stringLiteral("JSON"), - value: core.serialization.unknown(), + value: core.serialization.unknown().optionalNullable(), }); export declare namespace WorkflowResultEventOutputDataJson { @@ -28,6 +28,6 @@ export declare namespace WorkflowResultEventOutputDataJson { node_id: string; delta?: (string | null) | null; type: "JSON"; - value?: unknown; + value?: (unknown | null) | null; } } diff --git a/src/version.ts b/src/version.ts index 65431a942..b734ef836 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1 +1 @@ -export const SDK_VERSION = "1.10.1"; +export const SDK_VERSION = "1.10.2";