diff --git a/package.json b/package.json index aa8f7cb5b..e8abeb249 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "vellum-ai", - "version": "1.10.0", + "version": "1.10.1", "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 a74ef3d83..3c4cb6763 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.0", - "User-Agent": "vellum-ai/1.10.0", + "X-Fern-SDK-Version": "1.10.1", + "User-Agent": "vellum-ai/1.10.1", "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.0", - "User-Agent": "vellum-ai/1.10.0", + "X-Fern-SDK-Version": "1.10.1", + "User-Agent": "vellum-ai/1.10.1", "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.0", - "User-Agent": "vellum-ai/1.10.0", + "X-Fern-SDK-Version": "1.10.1", + "User-Agent": "vellum-ai/1.10.1", "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.0", - "User-Agent": "vellum-ai/1.10.0", + "X-Fern-SDK-Version": "1.10.1", + "User-Agent": "vellum-ai/1.10.1", "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.0", - "User-Agent": "vellum-ai/1.10.0", + "X-Fern-SDK-Version": "1.10.1", + "User-Agent": "vellum-ai/1.10.1", "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.0", - "User-Agent": "vellum-ai/1.10.0", + "X-Fern-SDK-Version": "1.10.1", + "User-Agent": "vellum-ai/1.10.1", "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.0", - "User-Agent": "vellum-ai/1.10.0", + "X-Fern-SDK-Version": "1.10.1", + "User-Agent": "vellum-ai/1.10.1", "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.0", - "User-Agent": "vellum-ai/1.10.0", + "X-Fern-SDK-Version": "1.10.1", + "User-Agent": "vellum-ai/1.10.1", "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.0", - "User-Agent": "vellum-ai/1.10.0", + "X-Fern-SDK-Version": "1.10.1", + "User-Agent": "vellum-ai/1.10.1", "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.0", - "User-Agent": "vellum-ai/1.10.0", + "X-Fern-SDK-Version": "1.10.1", + "User-Agent": "vellum-ai/1.10.1", "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.0", - "User-Agent": "vellum-ai/1.10.0", + "X-Fern-SDK-Version": "1.10.1", + "User-Agent": "vellum-ai/1.10.1", "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 5c7de2009..56358b202 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.0", - "User-Agent": "vellum-ai/1.10.0", + "X-Fern-SDK-Version": "1.10.1", + "User-Agent": "vellum-ai/1.10.1", "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.0", - "User-Agent": "vellum-ai/1.10.0", + "X-Fern-SDK-Version": "1.10.1", + "User-Agent": "vellum-ai/1.10.1", "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 eecaf3339..fc5f70e26 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.0", - "User-Agent": "vellum-ai/1.10.0", + "X-Fern-SDK-Version": "1.10.1", + "User-Agent": "vellum-ai/1.10.1", "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.0", - "User-Agent": "vellum-ai/1.10.0", + "X-Fern-SDK-Version": "1.10.1", + "User-Agent": "vellum-ai/1.10.1", "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.0", - "User-Agent": "vellum-ai/1.10.0", + "X-Fern-SDK-Version": "1.10.1", + "User-Agent": "vellum-ai/1.10.1", "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.0", - "User-Agent": "vellum-ai/1.10.0", + "X-Fern-SDK-Version": "1.10.1", + "User-Agent": "vellum-ai/1.10.1", "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 48de7273b..533d985a3 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.0", - "User-Agent": "vellum-ai/1.10.0", + "X-Fern-SDK-Version": "1.10.1", + "User-Agent": "vellum-ai/1.10.1", "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.0", - "User-Agent": "vellum-ai/1.10.0", + "X-Fern-SDK-Version": "1.10.1", + "User-Agent": "vellum-ai/1.10.1", "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.0", - "User-Agent": "vellum-ai/1.10.0", + "X-Fern-SDK-Version": "1.10.1", + "User-Agent": "vellum-ai/1.10.1", "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.0", - "User-Agent": "vellum-ai/1.10.0", + "X-Fern-SDK-Version": "1.10.1", + "User-Agent": "vellum-ai/1.10.1", "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.0", - "User-Agent": "vellum-ai/1.10.0", + "X-Fern-SDK-Version": "1.10.1", + "User-Agent": "vellum-ai/1.10.1", "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.0", - "User-Agent": "vellum-ai/1.10.0", + "X-Fern-SDK-Version": "1.10.1", + "User-Agent": "vellum-ai/1.10.1", "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.0", - "User-Agent": "vellum-ai/1.10.0", + "X-Fern-SDK-Version": "1.10.1", + "User-Agent": "vellum-ai/1.10.1", "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.0", - "User-Agent": "vellum-ai/1.10.0", + "X-Fern-SDK-Version": "1.10.1", + "User-Agent": "vellum-ai/1.10.1", "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 5acb6acc5..563376918 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.0", - "User-Agent": "vellum-ai/1.10.0", + "X-Fern-SDK-Version": "1.10.1", + "User-Agent": "vellum-ai/1.10.1", "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.0", - "User-Agent": "vellum-ai/1.10.0", + "X-Fern-SDK-Version": "1.10.1", + "User-Agent": "vellum-ai/1.10.1", "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.0", - "User-Agent": "vellum-ai/1.10.0", + "X-Fern-SDK-Version": "1.10.1", + "User-Agent": "vellum-ai/1.10.1", "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.0", - "User-Agent": "vellum-ai/1.10.0", + "X-Fern-SDK-Version": "1.10.1", + "User-Agent": "vellum-ai/1.10.1", "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.0", - "User-Agent": "vellum-ai/1.10.0", + "X-Fern-SDK-Version": "1.10.1", + "User-Agent": "vellum-ai/1.10.1", "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.0", - "User-Agent": "vellum-ai/1.10.0", + "X-Fern-SDK-Version": "1.10.1", + "User-Agent": "vellum-ai/1.10.1", "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.0", - "User-Agent": "vellum-ai/1.10.0", + "X-Fern-SDK-Version": "1.10.1", + "User-Agent": "vellum-ai/1.10.1", "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.0", - "User-Agent": "vellum-ai/1.10.0", + "X-Fern-SDK-Version": "1.10.1", + "User-Agent": "vellum-ai/1.10.1", "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 ec0b90c60..32c997110 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.0", - "User-Agent": "vellum-ai/1.10.0", + "X-Fern-SDK-Version": "1.10.1", + "User-Agent": "vellum-ai/1.10.1", "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.0", - "User-Agent": "vellum-ai/1.10.0", + "X-Fern-SDK-Version": "1.10.1", + "User-Agent": "vellum-ai/1.10.1", "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.0", - "User-Agent": "vellum-ai/1.10.0", + "X-Fern-SDK-Version": "1.10.1", + "User-Agent": "vellum-ai/1.10.1", "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.0", - "User-Agent": "vellum-ai/1.10.0", + "X-Fern-SDK-Version": "1.10.1", + "User-Agent": "vellum-ai/1.10.1", "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.0", - "User-Agent": "vellum-ai/1.10.0", + "X-Fern-SDK-Version": "1.10.1", + "User-Agent": "vellum-ai/1.10.1", "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 eb300db70..8b995c4bc 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.0", - "User-Agent": "vellum-ai/1.10.0", + "X-Fern-SDK-Version": "1.10.1", + "User-Agent": "vellum-ai/1.10.1", "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 3ce16c3d9..12267ea31 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.0", - "User-Agent": "vellum-ai/1.10.0", + "X-Fern-SDK-Version": "1.10.1", + "User-Agent": "vellum-ai/1.10.1", "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 2a31609f5..896e47169 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.0", - "User-Agent": "vellum-ai/1.10.0", + "X-Fern-SDK-Version": "1.10.1", + "User-Agent": "vellum-ai/1.10.1", "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.0", - "User-Agent": "vellum-ai/1.10.0", + "X-Fern-SDK-Version": "1.10.1", + "User-Agent": "vellum-ai/1.10.1", "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 439d61734..55456c3ba 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.0", - "User-Agent": "vellum-ai/1.10.0", + "X-Fern-SDK-Version": "1.10.1", + "User-Agent": "vellum-ai/1.10.1", "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 90fc26385..b365e5458 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.0", - "User-Agent": "vellum-ai/1.10.0", + "X-Fern-SDK-Version": "1.10.1", + "User-Agent": "vellum-ai/1.10.1", "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.0", - "User-Agent": "vellum-ai/1.10.0", + "X-Fern-SDK-Version": "1.10.1", + "User-Agent": "vellum-ai/1.10.1", "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 205ea9ded..031223c44 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.0", - "User-Agent": "vellum-ai/1.10.0", + "X-Fern-SDK-Version": "1.10.1", + "User-Agent": "vellum-ai/1.10.1", "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.0", - "User-Agent": "vellum-ai/1.10.0", + "X-Fern-SDK-Version": "1.10.1", + "User-Agent": "vellum-ai/1.10.1", "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.0", - "User-Agent": "vellum-ai/1.10.0", + "X-Fern-SDK-Version": "1.10.1", + "User-Agent": "vellum-ai/1.10.1", "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.0", - "User-Agent": "vellum-ai/1.10.0", + "X-Fern-SDK-Version": "1.10.1", + "User-Agent": "vellum-ai/1.10.1", "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 3fe3981ac..19764a19a 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.0", - "User-Agent": "vellum-ai/1.10.0", + "X-Fern-SDK-Version": "1.10.1", + "User-Agent": "vellum-ai/1.10.1", "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.0", - "User-Agent": "vellum-ai/1.10.0", + "X-Fern-SDK-Version": "1.10.1", + "User-Agent": "vellum-ai/1.10.1", "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 e2bd861d5..0f82fcefa 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.0", - "User-Agent": "vellum-ai/1.10.0", + "X-Fern-SDK-Version": "1.10.1", + "User-Agent": "vellum-ai/1.10.1", "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 deaa8abd7..93413fa30 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.0", - "User-Agent": "vellum-ai/1.10.0", + "X-Fern-SDK-Version": "1.10.1", + "User-Agent": "vellum-ai/1.10.1", "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 b22d0e544..4f450bcaf 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.0", - "User-Agent": "vellum-ai/1.10.0", + "X-Fern-SDK-Version": "1.10.1", + "User-Agent": "vellum-ai/1.10.1", "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.0", - "User-Agent": "vellum-ai/1.10.0", + "X-Fern-SDK-Version": "1.10.1", + "User-Agent": "vellum-ai/1.10.1", "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 79298f4eb..d96028e1b 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.0", - "User-Agent": "vellum-ai/1.10.0", + "X-Fern-SDK-Version": "1.10.1", + "User-Agent": "vellum-ai/1.10.1", "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.0", - "User-Agent": "vellum-ai/1.10.0", + "X-Fern-SDK-Version": "1.10.1", + "User-Agent": "vellum-ai/1.10.1", "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.0", - "User-Agent": "vellum-ai/1.10.0", + "X-Fern-SDK-Version": "1.10.1", + "User-Agent": "vellum-ai/1.10.1", "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 8c20b24ba..e4dacbbe7 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.0", - "User-Agent": "vellum-ai/1.10.0", + "X-Fern-SDK-Version": "1.10.1", + "User-Agent": "vellum-ai/1.10.1", "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.0", - "User-Agent": "vellum-ai/1.10.0", + "X-Fern-SDK-Version": "1.10.1", + "User-Agent": "vellum-ai/1.10.1", "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.0", - "User-Agent": "vellum-ai/1.10.0", + "X-Fern-SDK-Version": "1.10.1", + "User-Agent": "vellum-ai/1.10.1", "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 af8073295..90e5facd0 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.0", - "User-Agent": "vellum-ai/1.10.0", + "X-Fern-SDK-Version": "1.10.1", + "User-Agent": "vellum-ai/1.10.1", "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.0", - "User-Agent": "vellum-ai/1.10.0", + "X-Fern-SDK-Version": "1.10.1", + "User-Agent": "vellum-ai/1.10.1", "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.0", - "User-Agent": "vellum-ai/1.10.0", + "X-Fern-SDK-Version": "1.10.1", + "User-Agent": "vellum-ai/1.10.1", "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.0", - "User-Agent": "vellum-ai/1.10.0", + "X-Fern-SDK-Version": "1.10.1", + "User-Agent": "vellum-ai/1.10.1", "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 902bf40d4..60ec8d25c 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.0", - "User-Agent": "vellum-ai/1.10.0", + "X-Fern-SDK-Version": "1.10.1", + "User-Agent": "vellum-ai/1.10.1", "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.0", - "User-Agent": "vellum-ai/1.10.0", + "X-Fern-SDK-Version": "1.10.1", + "User-Agent": "vellum-ai/1.10.1", "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.0", - "User-Agent": "vellum-ai/1.10.0", + "X-Fern-SDK-Version": "1.10.1", + "User-Agent": "vellum-ai/1.10.1", "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.0", - "User-Agent": "vellum-ai/1.10.0", + "X-Fern-SDK-Version": "1.10.1", + "User-Agent": "vellum-ai/1.10.1", "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.0", - "User-Agent": "vellum-ai/1.10.0", + "X-Fern-SDK-Version": "1.10.1", + "User-Agent": "vellum-ai/1.10.1", "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.0", - "User-Agent": "vellum-ai/1.10.0", + "X-Fern-SDK-Version": "1.10.1", + "User-Agent": "vellum-ai/1.10.1", "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.0", - "User-Agent": "vellum-ai/1.10.0", + "X-Fern-SDK-Version": "1.10.1", + "User-Agent": "vellum-ai/1.10.1", "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.0", - "User-Agent": "vellum-ai/1.10.0", + "X-Fern-SDK-Version": "1.10.1", + "User-Agent": "vellum-ai/1.10.1", "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.0", - "User-Agent": "vellum-ai/1.10.0", + "X-Fern-SDK-Version": "1.10.1", + "User-Agent": "vellum-ai/1.10.1", "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.0", - "User-Agent": "vellum-ai/1.10.0", + "X-Fern-SDK-Version": "1.10.1", + "User-Agent": "vellum-ai/1.10.1", "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 6e5a91b0b..cd529ccd1 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.0", - "User-Agent": "vellum-ai/1.10.0", + "X-Fern-SDK-Version": "1.10.1", + "User-Agent": "vellum-ai/1.10.1", "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 16f957dc8..485f2b7e3 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.0", - "User-Agent": "vellum-ai/1.10.0", + "X-Fern-SDK-Version": "1.10.1", + "User-Agent": "vellum-ai/1.10.1", "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.0", - "User-Agent": "vellum-ai/1.10.0", + "X-Fern-SDK-Version": "1.10.1", + "User-Agent": "vellum-ai/1.10.1", "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 fdd2ac74d..8c27c7849 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.0", - "User-Agent": "vellum-ai/1.10.0", + "X-Fern-SDK-Version": "1.10.1", + "User-Agent": "vellum-ai/1.10.1", "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.0", - "User-Agent": "vellum-ai/1.10.0", + "X-Fern-SDK-Version": "1.10.1", + "User-Agent": "vellum-ai/1.10.1", "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.0", - "User-Agent": "vellum-ai/1.10.0", + "X-Fern-SDK-Version": "1.10.1", + "User-Agent": "vellum-ai/1.10.1", "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.0", - "User-Agent": "vellum-ai/1.10.0", + "X-Fern-SDK-Version": "1.10.1", + "User-Agent": "vellum-ai/1.10.1", "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 9d1924347..e169da5cb 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.0", - "User-Agent": "vellum-ai/1.10.0", + "X-Fern-SDK-Version": "1.10.1", + "User-Agent": "vellum-ai/1.10.1", "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.0", - "User-Agent": "vellum-ai/1.10.0", + "X-Fern-SDK-Version": "1.10.1", + "User-Agent": "vellum-ai/1.10.1", "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 e97d35981..343a3922c 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.0", - "User-Agent": "vellum-ai/1.10.0", + "X-Fern-SDK-Version": "1.10.1", + "User-Agent": "vellum-ai/1.10.1", "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 68af0b5d1..65431a942 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1 +1 @@ -export const SDK_VERSION = "1.10.0"; +export const SDK_VERSION = "1.10.1"; diff --git a/yarn.lock b/yarn.lock index a916b1135..9799f31b9 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1023,7 +1023,7 @@ base64-js@^1.3.1: resolved "https://registry.yarnpkg.com/base64-js/-/base64-js-1.5.1.tgz#1b1b440160a5bf7ad40b650f095963481903930a" integrity sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA== -baseline-browser-mapping@^2.8.19: +baseline-browser-mapping@^2.8.25: version "2.8.25" resolved "https://registry.yarnpkg.com/baseline-browser-mapping/-/baseline-browser-mapping-2.8.25.tgz#947dc6f81778e0fa0424a2ab9ea09a3033e71109" integrity sha512-2NovHVesVF5TXefsGX1yzx1xgr7+m9JQenvz6FQY3qd+YXkKkYiv+vTCc7OriP9mcDZpTC5mAOYN4ocd29+erA== @@ -1044,14 +1044,14 @@ braces@^3.0.3: fill-range "^7.1.1" browserslist@^4.24.0, browserslist@^4.26.3: - version "4.27.0" - resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.27.0.tgz#755654744feae978fbb123718b2f139bc0fa6697" - integrity sha512-AXVQwdhot1eqLihwasPElhX2tAZiBjWdJ9i/Zcj2S6QYIjkx62OKSfnobkriB81C3l4w0rVy3Nt4jaTBltYEpw== - dependencies: - baseline-browser-mapping "^2.8.19" - caniuse-lite "^1.0.30001751" - electron-to-chromium "^1.5.238" - node-releases "^2.0.26" + version "4.28.0" + resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.28.0.tgz#9cefece0a386a17a3cd3d22ebf67b9deca1b5929" + integrity sha512-tbydkR/CxfMwelN0vwdP/pLkDwyAASZ+VfWm4EOwlB6SWhx1sYnWLqo8N5j0rAzPfzfRaxt0mM/4wPU/Su84RQ== + dependencies: + baseline-browser-mapping "^2.8.25" + caniuse-lite "^1.0.30001754" + electron-to-chromium "^1.5.249" + node-releases "^2.0.27" update-browserslist-db "^1.1.4" bs-logger@^0.2.6: @@ -1112,7 +1112,7 @@ camelcase@^6.2.0: resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-6.3.0.tgz#5685b95eb209ac9c0c177467778c9c84df58ba9a" integrity sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA== -caniuse-lite@^1.0.30001751: +caniuse-lite@^1.0.30001754: version "1.0.30001754" resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001754.tgz#7758299d9a72cce4e6b038788a15b12b44002759" integrity sha512-x6OeBXueoAceOmotzx3PO4Zpt4rzpeIFsSr6AAePTZxSkXiYDUmpypEl7e2+8NCd9bD7bXjqyef8CJYPC1jfxg== @@ -1299,10 +1299,10 @@ dunder-proto@^1.0.1: es-errors "^1.3.0" gopd "^1.2.0" -electron-to-chromium@^1.5.238: - version "1.5.248" - resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.5.248.tgz#e69941494efbc69ebf2803517f4e85d016013d4b" - integrity sha512-zsur2yunphlyAO4gIubdJEXCK6KOVvtpiuDfCIqbM9FjcnMYiyn0ICa3hWfPr0nc41zcLWobgy1iL7VvoOyA2Q== +electron-to-chromium@^1.5.249: + version "1.5.249" + resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.5.249.tgz#e4fc3a3e60bb347361e4e876bb31903a9132a447" + integrity sha512-5vcfL3BBe++qZ5kuFhD/p8WOM1N9m3nwvJPULJx+4xf2usSlZFJ0qoNYO2fOX4hi3ocuDcmDobtA+5SFr4OmBg== emittery@^0.13.1: version "0.13.1" @@ -2388,7 +2388,7 @@ node-int64@^0.4.0: resolved "https://registry.yarnpkg.com/node-int64/-/node-int64-0.4.0.tgz#87a9065cdb355d3182d8f94ce11188b825c68a3b" integrity sha512-O5lz91xSOeoXP6DulyHfllpq+Eg00MWitZIbtPfoSEvqIHdl5gfcY6hYzDWnj0qD5tz52PI08u9qUvSVeUBeHw== -node-releases@^2.0.26: +node-releases@^2.0.27: version "2.0.27" resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.27.tgz#eedca519205cf20f650f61d56b070db111231e4e" integrity sha512-nmh3lCkYZ3grZvqcCH+fjmQ7X+H0OeZgP40OierEaAptX4XofMh5kwNbWh7lBduUzCcV/8kZ+NDLCwm2iorIlA==