uipath 2.0.8__py3-none-any.whl → 2.0.9__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.

Potentially problematic release.


This version of uipath might be problematic. Click here for more details.

@@ -158,6 +158,6 @@ def select_tenant(
158
158
  {
159
159
  "UIPATH_URL": f"https://{domain if domain else 'alpha'}.uipath.com/{account_name}/{tenant_name}",
160
160
  "UIPATH_TENANT_ID": tenants_and_organizations["tenants"][tenant_idx]["id"],
161
- "UIPATH_ORG_ID": tenants_and_organizations["organization"]["id"],
161
+ "UIPATH_ORGANIZATION_ID": tenants_and_organizations["organization"]["id"],
162
162
  }
163
163
  )
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "client_id": "36dea5b8-e8bb-423d-8e7b-c808df8f1c00",
3
3
  "redirect_uri": "https://localhost:__PY_REPLACE_PORT__/oidc/login",
4
- "scope": "offline_access OrchestratorApiUserAccess ConnectionService DataService DocumentUnderstanding EnterpriseContextService Directory JamJamApi LLMGateway LLMOps OMS",
4
+ "scope": "offline_access OrchestratorApiUserAccess ConnectionService DataService DocumentUnderstanding EnterpriseContextService Directory JamJamApi LLMGateway LLMOps OMS RCS.FolderAuthorization",
5
5
  "port": 8104
6
- }
6
+ }
uipath/_cli/cli_init.py CHANGED
@@ -20,7 +20,7 @@ def generate_env_file(target_directory):
20
20
  click.echo(f"Created {relative_path} file.")
21
21
  with open(env_path, "w") as f:
22
22
  f.write("UIPATH_ACCESS_TOKEN=YOUR_TOKEN_HERE\n")
23
- f.write("UIPATH_URL=https://alpha.uipath.com/ACCOUNT_NAME/TENANT_NAME\n")
23
+ f.write("UIPATH_URL=https://cloud.uipath.com/ACCOUNT_NAME/TENANT_NAME\n")
24
24
 
25
25
 
26
26
  def get_user_script(directory: str, entrypoint: Optional[str] = None) -> Optional[str]:
uipath/_cli/cli_pack.py CHANGED
@@ -292,6 +292,21 @@ def pack_fn(projectName, description, entryPoints, version, authors, directory):
292
292
  def read_toml_project(file_path: str) -> dict[str, any]:
293
293
  with open(file_path, "rb") as f:
294
294
  content = tomllib.load(f)
295
+ if "project" not in content:
296
+ raise Exception("pyproject.toml is missing the required field: project")
297
+ if "name" not in content["project"]:
298
+ raise Exception(
299
+ "pyproject.toml is missing the required field: project.name"
300
+ )
301
+ if "description" not in content["project"]:
302
+ raise Exception(
303
+ "pyproject.toml is missing the required field: project.description"
304
+ )
305
+ if "version" not in content["project"]:
306
+ raise Exception(
307
+ "pyproject.toml is missing the required field: project.version"
308
+ )
309
+
295
310
  return {
296
311
  "name": content["project"]["name"],
297
312
  "description": content["project"]["description"],
@@ -320,6 +335,20 @@ def pack(root):
320
335
  )
321
336
  return
322
337
  config = check_config(root)
338
+ if not config["project_name"] or config["project_name"].strip() == "":
339
+ raise Exception("Project name cannot be empty")
340
+
341
+ if not config["description"] or config["description"].strip() == "":
342
+ raise Exception("Project description cannot be empty")
343
+
344
+ invalid_chars = ["&", "<", ">", '"', "'", ";"]
345
+ for char in invalid_chars:
346
+ if char in config["project_name"]:
347
+ raise Exception(f"Project name contains invalid character: '{char}'")
348
+
349
+ for char in invalid_chars:
350
+ if char in config["description"]:
351
+ raise Exception(f"Project description contains invalid character: '{char}'")
323
352
  click.echo(
324
353
  f"Packaging project {config['project_name']}:{version or config['version']} description {config['description']} authored by {config['authors']}"
325
354
  )
@@ -8,11 +8,15 @@ from .job import Job
8
8
 
9
9
  class InvokeProcess(BaseModel):
10
10
  name: str
11
+ process_folder_path: Optional[str] = None
12
+ process_folder_key: Optional[str] = None
11
13
  input_arguments: Optional[Dict[str, Any]]
12
14
 
13
15
 
14
16
  class WaitJob(BaseModel):
15
17
  job: Job
18
+ process_folder_path: Optional[str] = None
19
+ process_folder_key: Optional[str] = None
16
20
 
17
21
 
18
22
  class CreateAction(BaseModel):
@@ -28,3 +32,5 @@ class CreateAction(BaseModel):
28
32
 
29
33
  class WaitAction(BaseModel):
30
34
  action: Action
35
+ app_folder_path: Optional[str] = None
36
+ app_folder_key: Optional[str] = None
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: uipath
3
- Version: 2.0.8
3
+ Version: 2.0.9
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
@@ -8,18 +8,18 @@ uipath/_cli/README.md,sha256=GLtCfbeIKZKNnGTCsfSVqRQ27V1btT1i2bSAyW_xZl4,474
8
8
  uipath/_cli/__init__.py,sha256=CAyMecQhBBD6s4MzYQNa01bz0TIXXCqkQ5DR2kCb00w,1574
9
9
  uipath/_cli/cli_auth.py,sha256=ANaYUc2q1t0hDbGBRT3ags6K6Lef_3tyC8Mmc611jow,3141
10
10
  uipath/_cli/cli_deploy.py,sha256=h8qwJkXnW6JURsg4YcocJInGA4dwkl4CZkpT1Cn9A3c,268
11
- uipath/_cli/cli_init.py,sha256=8vpqo3xf1yCDZI8TatDYMjcw0iVS5Yzg6LVbnHzp8FE,3701
11
+ uipath/_cli/cli_init.py,sha256=dPzwbfB0hJL5jRLxJJJ67DHI_i3b34_oepDHwqQN7Yw,3701
12
12
  uipath/_cli/cli_new.py,sha256=SP7eWOa5valmCpc8UsOCIezL25euhglB3yJkx-N92W8,1903
13
- uipath/_cli/cli_pack.py,sha256=gV7SKa3H4ftP1fx3cNLlUQs05ogtqBTIkBcgvvsoyj4,11582
13
+ uipath/_cli/cli_pack.py,sha256=pszhSGxb6DZtYeHymS6Pys7kewx1hFvKKYilfw7aUzE,12859
14
14
  uipath/_cli/cli_publish.py,sha256=_b9rehjsbxwkpH5_DtgFUaWWJqcZTg5nate-M5BnE_c,3586
15
15
  uipath/_cli/cli_run.py,sha256=dV0a-sx78T0HJHArfZP2M9YhT8d8aOuf-9OdkBqj3fE,4577
16
16
  uipath/_cli/middlewares.py,sha256=IiJgjsqrJVKSXx4RcIKHWoH-SqWqpHPbhzkQEybmAos,3937
17
17
  uipath/_cli/_auth/_auth_server.py,sha256=vrzrE-hDx8exM5p2sFVoT9vKMblOyFWUvFXz-lTXceY,7077
18
18
  uipath/_cli/_auth/_models.py,sha256=sYMCfvmprIqnZxStlD_Dxx2bcxgn0Ri4D7uwemwkcNg,948
19
19
  uipath/_cli/_auth/_oidc_utils.py,sha256=WaX9jDlXrlX6yD8i8gsocV8ngjaT72Xd1tvsZMmSbco,2127
20
- uipath/_cli/_auth/_portal_service.py,sha256=G5wiBlinLTar28b4p-d5alje28hSVqfBUDU7fNezpg4,5984
20
+ uipath/_cli/_auth/_portal_service.py,sha256=I7uCdtd0GCGD5DvsHGaQGksLBLBeFS1el-atKVs0oo8,5993
21
21
  uipath/_cli/_auth/_utils.py,sha256=9nb76xe5XmDZ0TAncp-_1SKqL6FdwRi9eS3C2noN1lY,1591
22
- uipath/_cli/_auth/auth_config.json,sha256=zEhtozwLot3ZOypxyEaZu53OWVSYy-NVoVZfVoJ991I,317
22
+ uipath/_cli/_auth/auth_config.json,sha256=NTb_ZZor5xEgya2QbK51GiTL5_yVqG_QpV4VYIp8_mk,342
23
23
  uipath/_cli/_auth/index.html,sha256=ML_xDOcKs0ETYucufJskiYfWSvdrD_E26C0Qd3qpGj8,6280
24
24
  uipath/_cli/_auth/localhost.crt,sha256=oGl9oLLOiouHubAt39B4zEfylFvKEtbtr_43SIliXJc,1226
25
25
  uipath/_cli/_auth/localhost.key,sha256=X31VYXD8scZtmGA837dGX5l6G-LXHLo5ItWJhZXaz3c,1679
@@ -64,13 +64,13 @@ uipath/models/connections.py,sha256=perIqW99YEg_0yWZPdpZlmNpZcwY_toR1wkqDUBdAN0,
64
64
  uipath/models/context_grounding.py,sha256=ak3cjlA90X1FceAAI0ry4jioTtK6Zxo0oqmKY_xs8bo,352
65
65
  uipath/models/context_grounding_index.py,sha256=vHBu069j1Y1m5PydLj6uoVH0rNIxuOohKLknHn5KvQw,2508
66
66
  uipath/models/exceptions.py,sha256=WEUw2_sh-aE0HDiqPoBZyh9KIk1BaDFY5O7Lzo8KRws,324
67
- uipath/models/interrupt_models.py,sha256=06c8kp_qexhR2YULH5fJ4PZH-d1scBSEB07vPDmDnQI,616
67
+ uipath/models/interrupt_models.py,sha256=UzuVTMVesI204YQ4qFQFaN-gN3kksddkrujofcaC7zQ,881
68
68
  uipath/models/job.py,sha256=f9L6_kg_VP0dAYvdcz1DWEWzy4NZPdlpHREod0uNK1E,3099
69
69
  uipath/models/llm_gateway.py,sha256=0sl5Wtve94V14H3AHwmJSoXAhoc-Fai3wJxP8HrnBPg,1994
70
70
  uipath/models/processes.py,sha256=Atvfrt6X4TYST3iA62jpS_Uxc3hg6uah11p-RaKZ6dk,2029
71
71
  uipath/models/queues.py,sha256=N_s0GKucbyjh0RnO8SxPk6wlRgvq8KIIYsfaoIY46tM,6446
72
- uipath-2.0.8.dist-info/METADATA,sha256=bfn9_q4LedEKwTkj5hwSY05MQx_nOLNxfTxkIMi3ez4,6006
73
- uipath-2.0.8.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
74
- uipath-2.0.8.dist-info/entry_points.txt,sha256=9C2_29U6Oq1ExFu7usihR-dnfIVNSKc-0EFbh0rskB4,43
75
- uipath-2.0.8.dist-info/licenses/LICENSE,sha256=-KBavWXepyDjimmzH5fVAsi-6jNVpIKFc2kZs0Ri4ng,1058
76
- uipath-2.0.8.dist-info/RECORD,,
72
+ uipath-2.0.9.dist-info/METADATA,sha256=jDSiNefcPU3nVZOqZl_l3kU7eYSaNmESMhKPfbqmTds,6006
73
+ uipath-2.0.9.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
74
+ uipath-2.0.9.dist-info/entry_points.txt,sha256=9C2_29U6Oq1ExFu7usihR-dnfIVNSKc-0EFbh0rskB4,43
75
+ uipath-2.0.9.dist-info/licenses/LICENSE,sha256=-KBavWXepyDjimmzH5fVAsi-6jNVpIKFc2kZs0Ri4ng,1058
76
+ uipath-2.0.9.dist-info/RECORD,,
File without changes