Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
7 changes: 5 additions & 2 deletions src/uipath/agent/models/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
)

from uipath.platform.connections import Connection
from uipath.platform.documents import ActionPriority
from uipath.platform.guardrails import (
BuiltInValidatorGuardrail,
)
Expand Down Expand Up @@ -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")
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

default value needed for vsEscalations (field not present in the resource json)

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"
)
Expand Down Expand Up @@ -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")

Expand Down
12 changes: 11 additions & 1 deletion src/uipath/platform/documents/_documents_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.