uipath 2.1.58__py3-none-any.whl → 2.1.60__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -291,7 +291,8 @@ class SwFileHandler:
291
291
 
292
292
  # Check if the current folder is empty after processing its children
293
293
  if self._is_folder_empty(subfolder):
294
- empty_folders.append({"id": subfolder.id, "name": subfolder.name})
294
+ if subfolder.id is not None:
295
+ empty_folders.append({"id": subfolder.id, "name": subfolder.name})
295
296
 
296
297
  return empty_folders
297
298
 
@@ -67,7 +67,7 @@ class ProjectFolder(BaseModel):
67
67
  """Model representing a folder in a UiPath project structure.
68
68
 
69
69
  Attributes:
70
- id: The unique identifier of the folder
70
+ id: The unique identifier of the folder. Root folder id may be None.
71
71
  name: The name of the folder
72
72
  folders: List of subfolders
73
73
  files: List of files in the folder
@@ -82,7 +82,7 @@ class ProjectFolder(BaseModel):
82
82
  extra="allow",
83
83
  )
84
84
 
85
- id: str = Field(alias="id")
85
+ id: Optional[str] = Field(default=None, alias="id")
86
86
  name: str = Field(alias="name")
87
87
  folders: List["ProjectFolder"] = Field(default_factory=list)
88
88
  files: List[ProjectFile] = Field(default_factory=list)
@@ -158,6 +158,18 @@ class AgentContextResourceConfig(BaseAgentResourceConfig):
158
158
  )
159
159
 
160
160
 
161
+ class AgentEscalationRecipient(BaseModel):
162
+ """Recipient for escalation."""
163
+
164
+ type: int = Field(..., alias="type")
165
+ value: str = Field(..., alias="value")
166
+ display_name: Optional[str] = Field(default=None, alias="displayName")
167
+
168
+ model_config = ConfigDict(
169
+ validate_by_name=True, validate_by_alias=True, extra="allow"
170
+ )
171
+
172
+
161
173
  class AgentEscalationChannelProperties(BaseModel):
162
174
  """Agent escalation channel properties."""
163
175
 
@@ -193,6 +205,7 @@ class AgentEscalationChannel(BaseModel):
193
205
  description="Output schema for the escalation channel",
194
206
  )
195
207
  properties: AgentEscalationChannelProperties = Field(..., alias="properties")
208
+ recipients: List[AgentEscalationRecipient] = Field(..., alias="recipients")
196
209
 
197
210
  model_config = ConfigDict(
198
211
  validate_by_name=True, validate_by_alias=True, extra="allow"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: uipath
3
- Version: 2.1.58
3
+ Version: 2.1.60
4
4
  Summary: Python SDK and CLI for UiPath Platform, enabling programmatic interaction with automation services, process management, and deployment tools.
5
5
  Project-URL: Homepage, https://uipath.com
6
6
  Project-URL: Repository, https://github.com/UiPath/uipath-python
@@ -49,7 +49,7 @@ uipath/_cli/_evals/_runtime.py,sha256=KFGl2we1RH0omuD2HWw5thIK6DDZxVGtqx_G9T4DM_
49
49
  uipath/_cli/_evals/_models/_evaluation_set.py,sha256=mwcTstHuyHd7ys_nLzgCNKBAsS4ns9UL2TF5Oq2Cc64,1758
50
50
  uipath/_cli/_evals/_models/_evaluator_base_params.py,sha256=lTYKOV66tcjW85KHTyOdtF1p1VDaBNemrMAvH8bFIFc,382
51
51
  uipath/_cli/_evals/_models/_output.py,sha256=TTQ0hhmD3dTkIbj_Ly_rDCGSnpZsHwdmCsl7FLdoZD0,2634
52
- uipath/_cli/_push/sw_file_handler.py,sha256=AX4TKM-q6CNGw3JyBW02M8ktPZuFMcAU9LN3Ii0Q2QI,18202
52
+ uipath/_cli/_push/sw_file_handler.py,sha256=iE8Sk1Z-9hxmLFFj3j-k4kTK6TzNFP6hUCmxTudG6JQ,18251
53
53
  uipath/_cli/_runtime/_contracts.py,sha256=7JSb-2C2zWigEW5hCsVz9vz19RNR8nSaML8-PC4lkmI,28665
54
54
  uipath/_cli/_runtime/_escalation.py,sha256=x3vI98qsfRA-fL_tNkRVTFXioM5Gv2w0GFcXJJ5eQtg,7981
55
55
  uipath/_cli/_runtime/_hitl.py,sha256=VKbM021nVg1HEDnTfucSLJ0LsDn83CKyUtVzofS2qTU,11369
@@ -71,7 +71,7 @@ uipath/_cli/_utils/_input_args.py,sha256=3LGNqVpJItvof75VGm-ZNTUMUH9-c7-YgleM5b2
71
71
  uipath/_cli/_utils/_parse_ast.py,sha256=8Iohz58s6bYQ7rgWtOTjrEInLJ-ETikmOMZzZdIY2Co,20072
72
72
  uipath/_cli/_utils/_processes.py,sha256=q7DfEKHISDWf3pngci5za_z0Pbnf_shWiYEcTOTCiyk,1855
73
73
  uipath/_cli/_utils/_project_files.py,sha256=sulh3xZhDDw_rBOrn_XSUfVSD6sUu47ZK4n_lF5BKkQ,13197
74
- uipath/_cli/_utils/_studio_project.py,sha256=4aoRFj5FazUPpPltfr3jvyjoLsUd4hyl9We4SAuKFh4,15376
74
+ uipath/_cli/_utils/_studio_project.py,sha256=VR9SXsn9vfSoEwhJFXjkhnm62A2gLquGpqp8wpwEz7o,15429
75
75
  uipath/_cli/_utils/_tracing.py,sha256=2igb03j3EHjF_A406UhtCKkPfudVfFPjUq5tXUEG4oo,1541
76
76
  uipath/_cli/_utils/_uv_helpers.py,sha256=6SvoLnZPoKIxW0sjMvD1-ENV_HOXDYzH34GjBqwT138,3450
77
77
  uipath/_resources/AGENTS.md,sha256=YWhWuX9XIbyVhVT3PnPc4Of3_q6bsNJcuzYu3N8f_Ug,25850
@@ -112,7 +112,7 @@ uipath/agent/conversation/exchange.py,sha256=nuk1tEMBHc_skrraT17d8U6AtyJ3h07ExGQ
112
112
  uipath/agent/conversation/message.py,sha256=1ZkEs146s79TrOAWCQwzBAEJvjAu4lQBpJ64tKXDgGE,2142
113
113
  uipath/agent/conversation/meta.py,sha256=3t0eS9UHoAPHre97QTUeVbjDhnMX4zj4-qG6ju0B8wY,315
114
114
  uipath/agent/conversation/tool.py,sha256=ol8XI8AVd-QNn5auXNBPcCzOkh9PPFtL7hTK3kqInkU,2191
115
- uipath/agent/models/agent.py,sha256=jhBxZwNRsB-1F-aD6ZELWaX3cFzgGIJ25cCHIb-RzhE,10965
115
+ uipath/agent/models/agent.py,sha256=zNaHD5MOaTgcE0WvhHRPsGpBoWMYNP2H8lSyne0ZlPU,11393
116
116
  uipath/eval/_helpers/__init__.py,sha256=GSmZMryjuO3Wo_zdxZdrHCRRsgOxsVFYkYgJ15YNC3E,86
117
117
  uipath/eval/_helpers/helpers.py,sha256=iE2HHdMiAdAMLqxHkPKHpfecEtAuN5BTBqvKFTI8ciE,1315
118
118
  uipath/eval/evaluators/__init__.py,sha256=DJAAhgv0I5UfBod4sGnSiKerfrz1iMmk7GNFb71V8eI,494
@@ -150,8 +150,8 @@ uipath/tracing/_traced.py,sha256=CJIp6wqIoHVTmh9-Kuk7diD4OJDTAeA6x3zI9w0i4lI,193
150
150
  uipath/tracing/_utils.py,sha256=ny3VgfUPT_5fQ0BAFl7hitR2jH6nNuuZEpR7DKVd8QE,11739
151
151
  uipath/utils/__init__.py,sha256=VD-KXFpF_oWexFg6zyiWMkxl2HM4hYJMIUDZ1UEtGx0,105
152
152
  uipath/utils/_endpoints_manager.py,sha256=iRTl5Q0XAm_YgcnMcJOXtj-8052sr6jpWuPNz6CgT0Q,8408
153
- uipath-2.1.58.dist-info/METADATA,sha256=V3aUe96vDwV0iGCY6Uyr752tATUAiDRVYDonJ5Zckvs,6482
154
- uipath-2.1.58.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
155
- uipath-2.1.58.dist-info/entry_points.txt,sha256=9C2_29U6Oq1ExFu7usihR-dnfIVNSKc-0EFbh0rskB4,43
156
- uipath-2.1.58.dist-info/licenses/LICENSE,sha256=-KBavWXepyDjimmzH5fVAsi-6jNVpIKFc2kZs0Ri4ng,1058
157
- uipath-2.1.58.dist-info/RECORD,,
153
+ uipath-2.1.60.dist-info/METADATA,sha256=pmHXRToqi0Vx0GKdMD-4s6w0E1o3Sn1IfywvCL7dWxg,6482
154
+ uipath-2.1.60.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
155
+ uipath-2.1.60.dist-info/entry_points.txt,sha256=9C2_29U6Oq1ExFu7usihR-dnfIVNSKc-0EFbh0rskB4,43
156
+ uipath-2.1.60.dist-info/licenses/LICENSE,sha256=-KBavWXepyDjimmzH5fVAsi-6jNVpIKFc2kZs0Ri4ng,1058
157
+ uipath-2.1.60.dist-info/RECORD,,