diff --git a/pyproject.toml b/pyproject.toml index ad021ca5a..a9cf884ea 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "uipath" -version = "2.6.20" +version = "2.6.21" description = "Python SDK and CLI for UiPath Platform, enabling programmatic interaction with automation services, process management, and deployment tools." readme = { file = "README.md", content-type = "text/markdown" } requires-python = ">=3.11" diff --git a/src/uipath/agent/models/agent.py b/src/uipath/agent/models/agent.py index 07a4cb139..f1053b654 100644 --- a/src/uipath/agent/models/agent.py +++ b/src/uipath/agent/models/agent.py @@ -21,6 +21,7 @@ ) from uipath.platform.connections import Connection +from uipath.platform.documents import ActionPriority from uipath.platform.guardrails import ( BuiltInValidatorGuardrail, ) @@ -444,10 +445,10 @@ def _resolve_task_title(v: Any) -> Any: class AgentEscalationChannelProperties(BaseResourceProperties): """Agent escalation channel properties model.""" - app_name: str | None = Field(..., alias="appName") + app_name: str | None = Field(default=None, alias="appName") app_version: int = Field(..., alias="appVersion") folder_name: Optional[str] = Field(None, alias="folderName") - resource_key: str | None = Field(..., alias="resourceKey") + resource_key: str | None = Field(default=None, alias="resourceKey") is_actionable_message_enabled: Optional[bool] = Field( None, alias="isActionableMessageEnabled" ) @@ -500,6 +501,8 @@ class AgentIxpVsEscalationProperties(BaseCfg): """VS escalation properties model.""" ixp_tool_id: str = Field(..., alias="ixpToolId") + action_title: str | None = Field(default=None, alias="actionTitle") + action_priority: ActionPriority | None = Field(default=None, alias="actionPriority") storage_bucket_name: str = Field(..., alias="storageBucketName") storage_bucket_folder_path: str = Field(..., alias="storageBucketFolderPath") diff --git a/src/uipath/platform/documents/_documents_service.py b/src/uipath/platform/documents/_documents_service.py index 66a8bd09d..cca831fcd 100644 --- a/src/uipath/platform/documents/_documents_service.py +++ b/src/uipath/platform/documents/_documents_service.py @@ -6,7 +6,7 @@ from typing import Any, Awaitable, Callable, Dict, List, Optional, Set, Tuple, Union from uuid import UUID -from ..._utils import Endpoint +from ..._utils import Endpoint, resource_override from ...tracing import traced from ..common import BaseService, FolderContext, UiPathApiConfig, UiPathExecutionContext from ..errors import OperationFailedException, OperationNotCompleteException @@ -1546,6 +1546,11 @@ def start_ixp_extraction_validation( extraction_response=extraction_response, ) + @resource_override( + resource_type="bucket", + resource_identifier="storage_bucket_name", + folder_identifier="action_folder", + ) @traced( name="documents_start_ixp_extraction_validation_async", run_type="uipath", @@ -1575,6 +1580,11 @@ async def start_ixp_extraction_validation_async( extraction_response=extraction_response, ) + @resource_override( + resource_type="bucket", + resource_identifier="storage_bucket_name", + folder_identifier="action_folder", + ) @traced( name="documents_retrieve_ixp_extraction_validation_result", run_type="uipath", diff --git a/uv.lock b/uv.lock index 3c3835313..166226a65 100644 --- a/uv.lock +++ b/uv.lock @@ -2491,7 +2491,7 @@ wheels = [ [[package]] name = "uipath" -version = "2.6.20" +version = "2.6.21" source = { editable = "." } dependencies = [ { name = "applicationinsights" },