@uipath/rules-tool 1.204.0-preview.255 → 1.205.0-preview.256

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.
Files changed (47) hide show
  1. package/README.md +7 -5
  2. package/dist/DmnFactory-L7MABUC6-98k17dkr.js +46 -0
  3. package/dist/{KieDmnMarshaller-6TTUU5B4-47q50gk4.js → KieDmnMarshaller-LGE63WDG-3vemswef.js} +2 -2
  4. package/dist/THIRD-PARTY-NOTICES.md +26 -9
  5. package/dist/{business-rules-bnr581tz.js → business-rules-pm96sefm.js} +4 -4
  6. package/dist/{constants-9pa118cj.js → constants-cnn0jfw6.js} +18 -17
  7. package/dist/{embedded-file-reader-rf2g1kfj.js → embedded-file-reader-z4becc02.js} +2 -2
  8. package/dist/hitPolicyResult-CGCR73CW-9bmc4nsr.js +36 -0
  9. package/dist/index-52h8rpew.js +21 -0
  10. package/dist/index-bhjt1h5c.js +227 -0
  11. package/dist/{index-2hzp9b97.js → index-cpm94vee.js} +21 -5
  12. package/dist/index-x9msn1dj.js +85 -0
  13. package/dist/{index-4c4exdzw.js → index-ybrgtfsg.js} +576 -285
  14. package/dist/index.js +2 -2
  15. package/dist/rule-catalog-10fhgevc.js +74 -0
  16. package/dist/{rules-command-error-20gp2dv9.js → rules-command-error-k6kxwfn7.js} +2 -2
  17. package/dist/{rules-debug-service-var52vfc.js → rules-debug-service-h0qma8db.js} +19 -13
  18. package/dist/{rules-init-service-0jgj6m9d.js → rules-init-service-yda3k6ea.js} +7 -7
  19. package/dist/{rules-refresh-service-jgk2kq9d.js → rules-refresh-service-jn6my893.js} +3 -3
  20. package/dist/{rules-validate-service-mr2fk58k.js → rules-validate-service-hfw8m3dm.js} +7 -7
  21. package/dist/{tool-pm3ewdxc.js → tool-1pccj6q3.js} +4 -3
  22. package/dist/tool-86f1xpxn.js +51 -0
  23. package/dist/{tool-qsgp0kzq.js → tool-cexyd4ff.js} +17 -7
  24. package/dist/tool-cfrcyxgm.js +26 -0
  25. package/dist/{tool-av4mmsef.js → tool-fbmxx07c.js} +2 -2
  26. package/dist/{tool-2cky8jwp.js → tool-fbxe48wd.js} +1071 -208
  27. package/dist/tool-fk8rznma.js +827 -0
  28. package/dist/{tool-mkn83w88.js → tool-gkbr01gc.js} +3 -3
  29. package/dist/{tool-8h4er38s.js → tool-h7gn1rar.js} +3 -3
  30. package/dist/{tool-8qy8pkp4.js → tool-t4k013ex.js} +8 -5
  31. package/dist/tool-tjcg2xje.js +4616 -0
  32. package/dist/{tool-eymjx05p.js → tool-txp5th7j.js} +760 -3395
  33. package/dist/{tool-tkcx6png.js → tool-wf2qkrye.js} +25 -5
  34. package/dist/{tool-wmh645tm.js → tool-yq5jph4h.js} +169 -119
  35. package/dist/tool-z1ay3csx.js +176 -0
  36. package/dist/{tool-6a672gmg.js → tool-z6x97pps.js} +103 -63
  37. package/dist/tool.js +2 -2
  38. package/package.json +2 -2
  39. package/dist/DmnFactory-VWZOSZHH-jkpbxz3n.js +0 -42
  40. package/dist/hitPolicyResult-4WDHTX4A-gk103w84.js +0 -33
  41. package/dist/index-34pj9f36.js +0 -48
  42. package/dist/index-fs1nd5ap.js +0 -200
  43. package/dist/index-t4mx1a5e.js +0 -17
  44. package/dist/rule-catalog-5gzpe93c.js +0 -46
  45. package/dist/tool-19b4ect0.js +0 -754
  46. package/dist/tool-4dfpdepw.js +0 -55
  47. package/dist/tool-m41px07w.js +0 -49
package/dist/index.js CHANGED
@@ -2,10 +2,10 @@
2
2
  import {
3
3
  metadata,
4
4
  registerCommands
5
- } from "./tool-6a672gmg.js";
5
+ } from "./tool-z6x97pps.js";
6
6
  import {
7
7
  Command
8
- } from "./tool-tkcx6png.js";
8
+ } from "./tool-wf2qkrye.js";
9
9
  import"./tool-1de529jm.js";
10
10
 
11
11
  // src/index.ts
@@ -0,0 +1,74 @@
1
+ import {
2
+ createResourceBuilderServices,
3
+ exportResourceDefinitionAsync,
4
+ findCatalogEntityAsync,
5
+ getRemoteResourceClients,
6
+ getSolutionAuthContext,
7
+ readSpecEntryPoints,
8
+ toResourceReference
9
+ } from "./tool-fbxe48wd.js";
10
+ import"./tool-gdtpsdn7.js";
11
+ import"./tool-53w8skv5.js";
12
+ import"./tool-1pccj6q3.js";
13
+ import {
14
+ createRulesApi,
15
+ findRuleByName
16
+ } from "./tool-fbmxx07c.js";
17
+ import"./tool-txp5th7j.js";
18
+ import {
19
+ RulesCommandError
20
+ } from "./tool-t4k013ex.js";
21
+ import"./tool-wf2qkrye.js";
22
+ import"./tool-1de529jm.js";
23
+
24
+ // src/services/rule-catalog.ts
25
+ var BUSINESS_RULE_ENTITY_TYPE = "BusinessRule";
26
+ async function describeRuleAsync(name, folder) {
27
+ await getSolutionAuthContext({});
28
+ const { catalog, importer } = getRemoteResourceClients(await createResourceBuilderServices());
29
+ const entity = await findCatalogEntityAsync(catalog, { name, entityTypes: [BUSINESS_RULE_ENTITY_TYPE] }, (e) => e.entityName?.toLowerCase() === name.toLowerCase() && e.folderKey?.toLowerCase() === folder.key.toLowerCase());
30
+ if (!entity?.entityKey) {
31
+ await findRuleByName(await createRulesApi(undefined, folder), name, folder);
32
+ throw new RulesCommandError(`Business rule '${name}' is not in the resource catalog for folder '${folder.path}' yet.`, "not_found", "The rule exists in Orchestrator but the resource catalog does not list it yet, which is normal right after a deploy. Run the command again shortly.", "RetryAfter60Seconds");
33
+ }
34
+ const definition = await exportResourceDefinitionAsync(importer, toResourceReference(entity));
35
+ return readEntryPoints(definition?.spec, name);
36
+ }
37
+ async function listRulesAcrossFoldersAsync(limit, offset) {
38
+ await getSolutionAuthContext({});
39
+ const { catalog } = getRemoteResourceClients(await createResourceBuilderServices());
40
+ const rows = [];
41
+ let pageCursor;
42
+ do {
43
+ const page = await catalog.searchFolderEntities({
44
+ entityTypes: [BUSINESS_RULE_ENTITY_TYPE],
45
+ pageSize: 100,
46
+ pageCursor
47
+ });
48
+ rows.push(...(page.items ?? []).filter((e) => e.entityKey && e.entityName));
49
+ pageCursor = page.nextPage ?? undefined;
50
+ } while (pageCursor && rows.length <= offset + limit);
51
+ return {
52
+ rows: rows.slice(offset, offset + limit).map((entity) => ({
53
+ Key: entity.entityKey ?? "",
54
+ Name: entity.entityName ?? "",
55
+ FolderPath: entity.fullyQualifiedName ?? "",
56
+ FolderKey: entity.folderKey ?? "",
57
+ Description: entity.entityDescription ?? ""
58
+ })),
59
+ hasMore: rows.length > offset + limit
60
+ };
61
+ }
62
+ function readEntryPoints(spec, name) {
63
+ const entryPoints = readSpecEntryPoints(spec);
64
+ if (!entryPoints) {
65
+ throw new RulesCommandError(`Business rule '${name}' has no argument contract on its resource.`, "configuration_error", "Redeploy the rule from its solution with 'uip solution publish' and 'uip solution deploy run' so its package carries entry-points.json. If it still has no contract, contact your tenant administrator.");
66
+ }
67
+ return entryPoints;
68
+ }
69
+ export {
70
+ describeRuleAsync,
71
+ listRulesAcrossFoldersAsync
72
+ };
73
+
74
+ //# debugId=C8497903216657FE64756E2164756E21
@@ -2,8 +2,8 @@ import {
2
2
  RulesCommandError,
3
3
  isJsonObject,
4
4
  reportRulesFailure
5
- } from "./tool-8qy8pkp4.js";
6
- import"./tool-tkcx6png.js";
5
+ } from "./tool-t4k013ex.js";
6
+ import"./tool-wf2qkrye.js";
7
7
  import"./tool-1de529jm.js";
8
8
  export {
9
9
  RulesCommandError,
@@ -1,32 +1,33 @@
1
1
  import {
2
2
  buildSolutionPackageFromDir,
3
3
  uploadOrOverwriteSolution
4
- } from "./tool-qsgp0kzq.js";
4
+ } from "./tool-cexyd4ff.js";
5
5
  import {
6
6
  findSolutionFile,
7
7
  updateSolutionFile
8
- } from "./tool-pm3ewdxc.js";
8
+ } from "./tool-1pccj6q3.js";
9
9
  import {
10
10
  readRulesProjectNameAsync
11
- } from "./tool-mkn83w88.js";
11
+ } from "./tool-gkbr01gc.js";
12
12
  import {
13
13
  assertOneFolderOption,
14
14
  resolveRequiredFolder
15
- } from "./tool-av4mmsef.js";
15
+ } from "./tool-fbmxx07c.js";
16
16
  import {
17
17
  PersonalWorkspacesApi,
18
18
  createApiClient,
19
19
  getAuthContext
20
- } from "./tool-eymjx05p.js";
20
+ } from "./tool-txp5th7j.js";
21
21
  import {
22
22
  RulesCommandError,
23
23
  isJsonObject
24
- } from "./tool-8qy8pkp4.js";
24
+ } from "./tool-t4k013ex.js";
25
25
  import {
26
+ OutputFormatter,
26
27
  catchError,
27
28
  getFileSystem,
28
29
  logger
29
- } from "./tool-tkcx6png.js";
30
+ } from "./tool-wf2qkrye.js";
30
31
  import"./tool-1de529jm.js";
31
32
 
32
33
  // src/services/rules-engine-client.ts
@@ -76,11 +77,14 @@ async function postDebugEvaluate(config, request, timeoutSeconds) {
76
77
  }
77
78
  async function engineFailure(response, tenantName) {
78
79
  const text = await response.text().catch(() => "");
79
- if (response.status === 404 && /Service: businessrules not found in Organization/i.test(text)) {
80
- return new RulesCommandError(`Business Rules is not enabled on tenant '${tenantName}'.`, "configuration_error", "Ask your UiPath contact to enable Business Rules for this tenant, or switch to a tenant that has it with 'uip login tenant set <tenant-name>'.");
80
+ if (response.status === 404 && /businessrules not found in organization/i.test(text)) {
81
+ return new RulesCommandError(`Business Rules is not available on tenant '${tenantName}': it is not enabled there, or not offered in the tenant's region.`, "configuration_error", "Switch to a tenant that has Business Rules with 'uip login tenant set <tenant-name>', or ask your UiPath representative to enable it for this tenant.", "RetryWillNotFix", { httpStatus: 404 });
81
82
  }
82
83
  const [, body] = catchError(() => JSON.parse(text));
83
84
  const error = isJsonObject(body) && isJsonObject(body.error) ? body.error : {};
85
+ if (error.code === "PREVIEW_NOT_ENABLED") {
86
+ return new RulesCommandError("Business Rules is a preview feature and is not enabled for your organization.", "configuration_error", "Ask your UiPath representative to enroll your organization in the Business Rules preview.", "RetryWillNotFix", { httpStatus: response.status, errorCode: error.code });
87
+ }
84
88
  if (error.code === "STUDIO_FORBIDDEN") {
85
89
  return new RulesCommandError("Studio Web did not let the rules engine read the uploaded project.", "permission_denied", "Check in Studio Web that your account can open the uploaded solution.");
86
90
  }
@@ -91,7 +95,7 @@ async function engineFailure(response, tenantName) {
91
95
  // src/services/rules-debug-service.ts
92
96
  async function debugRuleProjectAsync(projectPath, options) {
93
97
  assertOneFolderOption(options);
94
- const inputs = [{ id: "1", data: await parseInput(options.inputs) }];
98
+ const input = await parseInput(options.inputs);
95
99
  const fs = getFileSystem();
96
100
  const projectDir = fs.path.resolve(projectPath);
97
101
  const projectName = await readRulesProjectName(projectDir);
@@ -101,8 +105,10 @@ async function debugRuleProjectAsync(projectPath, options) {
101
105
  await assertBusinessRulesServiceAsync(config, options.timeout);
102
106
  const folderKey = await evaluationFolderKey(options);
103
107
  const existingSolutionId = (await findSolutionFile(fs, projectDir))?.solutionId;
104
- logger.info(`Uploading the solution of '${projectName}' to Studio Web...`);
105
108
  const uisPath = await buildSolutionPackageFromDir(fs, solutionDir);
109
+ OutputFormatter.log({
110
+ Message: `Uploading the local solution of '${projectName}' to Studio Web.`
111
+ });
106
112
  const [uploadError, upload] = await catchError(uploadOrOverwriteSolution(config, organizationName, uisPath, existingSolutionId, fs));
107
113
  await fs.rm(uisPath).catch(() => {
108
114
  return;
@@ -118,7 +124,7 @@ async function debugRuleProjectAsync(projectPath, options) {
118
124
  throw new RulesCommandError(`Studio Web returned no project named '${projectName}' for the uploaded solution.`, "not_found", "Check that the project is listed in the solution's .uipx, then run the command again.");
119
125
  }
120
126
  logger.info(`Evaluating against Studio Web project ${project.id}...`);
121
- const response = await evaluateRuleDebugAsync({ ...config, folderKey }, { projectId: project.id, explain: options.explain, inputs }, options.timeout);
127
+ const response = await evaluateRuleDebugAsync({ ...config, folderKey }, { projectId: project.id, input }, options.timeout);
122
128
  return {
123
129
  solutionId: upload.id,
124
130
  projectId: project.id,
@@ -190,4 +196,4 @@ export {
190
196
  debugRuleProjectAsync
191
197
  };
192
198
 
193
- //# debugId=176F4486C7DFBCBB64756E2164756E21
199
+ //# debugId=4DAA15188929FF8E64756E2164756E21
@@ -1,25 +1,25 @@
1
- import"./tool-qsgp0kzq.js";
1
+ import"./tool-cexyd4ff.js";
2
2
  import {
3
3
  prepareProjectLocation,
4
4
  tryRegisterProjectInParentSolution
5
- } from "./tool-pm3ewdxc.js";
5
+ } from "./tool-1pccj6q3.js";
6
6
  import {
7
7
  BINDINGS_FILE,
8
8
  ENTRY_POINTS_FILE,
9
9
  buildRuleEntryPointsAsync
10
- } from "./tool-mkn83w88.js";
11
- import"./tool-8qy8pkp4.js";
10
+ } from "./tool-gkbr01gc.js";
11
+ import"./tool-t4k013ex.js";
12
12
  import {
13
13
  catchError,
14
14
  getFileSystem
15
- } from "./tool-tkcx6png.js";
15
+ } from "./tool-wf2qkrye.js";
16
16
  import {
17
17
  __require
18
18
  } from "./tool-1de529jm.js";
19
19
 
20
20
  // src/services/project-artifacts.ts
21
21
  async function ensureProjectArtifacts(args) {
22
- const { addProjectArtifactsToSolutionAsync } = await import("./index-2hzp9b97.js");
22
+ const { addProjectArtifactsToSolutionAsync } = await import("./index-cpm94vee.js");
23
23
  return addProjectArtifactsToSolutionAsync(args);
24
24
  }
25
25
 
@@ -29,7 +29,7 @@ var SEEDED_DMN_FILE = "Business rule.dmn";
29
29
  var formatJson = (value) => `${JSON.stringify(value, null, 2)}
30
30
  `;
31
31
  async function createSeededRuleFilesAsync(ruleName) {
32
- const { createNewBusinessRuleDmn } = await import("./constants-9pa118cj.js");
32
+ const { createNewBusinessRuleDmn } = await import("./constants-cnn0jfw6.js");
33
33
  const dmn = createNewBusinessRuleDmn();
34
34
  const packaging = await buildRuleEntryPointsAsync([{ name: SEEDED_DMN_FILE, contents: dmn }], undefined, ruleName);
35
35
  return {
@@ -3,15 +3,15 @@ import {
3
3
  ENTRY_POINTS_FILE,
4
4
  buildRuleEntryPointsAsync,
5
5
  readRuleProjectAsync
6
- } from "./tool-mkn83w88.js";
6
+ } from "./tool-gkbr01gc.js";
7
7
  import {
8
8
  RulesCommandError
9
- } from "./tool-8qy8pkp4.js";
9
+ } from "./tool-t4k013ex.js";
10
10
  import {
11
11
  catchError,
12
12
  extractErrorMessageSync,
13
13
  getFileSystem
14
- } from "./tool-tkcx6png.js";
14
+ } from "./tool-wf2qkrye.js";
15
15
  import"./tool-1de529jm.js";
16
16
 
17
17
  // src/services/rules-refresh-service.ts
@@ -2,9 +2,9 @@ import {
2
2
  ENTRY_POINTS_FILE,
3
3
  buildRuleEntryPointsAsync,
4
4
  readRuleProjectAsync
5
- } from "./tool-mkn83w88.js";
6
- import"./tool-8qy8pkp4.js";
7
- import"./tool-tkcx6png.js";
5
+ } from "./tool-gkbr01gc.js";
6
+ import"./tool-t4k013ex.js";
7
+ import"./tool-wf2qkrye.js";
8
8
  import {
9
9
  __require
10
10
  } from "./tool-1de529jm.js";
@@ -40,10 +40,10 @@ async function validateDmnFileAsync(file) {
40
40
  { importDmnDocument },
41
41
  { UnreadableDmnError }
42
42
  ] = await Promise.all([
43
- import("./index-4c4exdzw.js"),
44
- import("./index-t4mx1a5e.js"),
45
- import("./index-34pj9f36.js"),
46
- import("./index-fs1nd5ap.js")
43
+ import("./index-ybrgtfsg.js"),
44
+ import("./index-52h8rpew.js"),
45
+ import("./index-x9msn1dj.js"),
46
+ import("./index-bhjt1h5c.js")
47
47
  ]);
48
48
  const diagnostics = await validateDmnDocument(file.contents);
49
49
  const imported = diagnostics.some((d) => d.code === "DMN_DOCUMENT_UNREADABLE") ? await importDmnDocument(file.contents) : undefined;
@@ -1,8 +1,9 @@
1
1
  import {
2
2
  catchError,
3
3
  logger,
4
+ quoteForShell,
4
5
  unsupportedSolutionProjectType
5
- } from "./tool-tkcx6png.js";
6
+ } from "./tool-wf2qkrye.js";
6
7
 
7
8
  // ../solution-sdk/src/solution-file.ts
8
9
  var STUDIO_WEB_PROJECT_TYPE_OVERRIDES = {
@@ -421,7 +422,7 @@ function buildRegistrationSuccessInstructions(solutionDir) {
421
422
  return [
422
423
  "The project is listed in the parent solution manifest.",
423
424
  "Packing or uploading the solution will sync solution resources automatically.",
424
- `To sync resources before packaging, run 'uip solution resources refresh --solution-folder "${solutionDir}"'.`
425
+ `To sync resources before packaging, run: uip solution resources refresh --solution-folder ${quoteForShell(solutionDir)}`
425
426
  ].join(`
426
427
  `);
427
428
  }
@@ -1112,4 +1113,4 @@ function zipSync(data, opts) {
1112
1113
 
1113
1114
  export { normalizeProjectType, toPortableRelativePath, prepareProjectLocation, findSolutionFile, updateSolutionFile, tryRegisterProjectInParentSolution, findSolutionFileUpward, zipSync };
1114
1115
 
1115
- //# debugId=C832F611B3EFC07D64756E2164756E21
1116
+ //# debugId=3445B6577F0AE8E064756E2164756E21
@@ -0,0 +1,51 @@
1
+ import {
2
+ R,
3
+ X
4
+ } from "./tool-z1ay3csx.js";
5
+ import {
6
+ e,
7
+ i,
8
+ n,
9
+ r
10
+ } from "./tool-jd313s2x.js";
11
+
12
+ // ../../node_modules/@uipath/dmn-editor-utils/dist/chunks/chunk-JAGAV2EF.js
13
+ var f = new Set([e.Collect, e.RuleOrder, e.OutputOrder]);
14
+ var m = new Set([e.Priority, e.OutputOrder]);
15
+ var O = (e2) => e2.hitPolicy === e.Collect && e2.aggregation ? e2.aggregation : f.has(e2.hitPolicy) ? "list" : "value";
16
+ var R2 = (e2) => !!e2 && i.includes(e2);
17
+ var C = (e2, n2) => e2 === n.Sum || e2 === n.Count ? "number" : n2?.typeRef;
18
+ var p = (e2, n2) => n2.typeRef ?? (e2.decision.decisionTable.outputs.length === 1 ? e2.decision.variableTypeRef : undefined);
19
+ var T = (e2, n2) => X(e2, n2).isCollection;
20
+ var g = (e2) => r.includes(R(e2));
21
+ var x = (e2, n2) => {
22
+ let t = X(e2, n2);
23
+ if (t.isCollection || t.foreign)
24
+ return false;
25
+ let i2 = t.baseTypeRef;
26
+ return i2 === undefined || g(i2) && i2 !== "Any";
27
+ };
28
+ var u = (e2, n2) => {
29
+ let t = X(e2, n2);
30
+ if (t.foreign)
31
+ return "Any";
32
+ if (t.baseTypeRef !== undefined)
33
+ return t.baseTypeRef;
34
+ let i2 = t.chain[t.chain.length - 1];
35
+ return i2 ? R(i2.name) : undefined;
36
+ };
37
+ var E = (e2, n2) => n2 && g(n2) ? n2 : u(e2, n2);
38
+ var A = (e2, n2) => {
39
+ let t = p(e2, n2), i2 = n2.allowedValues?.text.trim() || X(e2, t).chain.find((r2) => r2.allowedValues?.trim())?.allowedValues;
40
+ return i2 ? { text: i2, typeRef: u(e2, t) } : undefined;
41
+ };
42
+ var S = (e2, n2, t) => {
43
+ if (n2 === n.Count)
44
+ return true;
45
+ let i2 = p(e2, t), r2 = u(e2, i2);
46
+ return !T(e2, i2) && (!r2 || ["number", "Any"].includes(R(r2)));
47
+ };
48
+
49
+ export { f, m, O, R2 as R, C, p, T, g, x, u, E, A, S };
50
+
51
+ //# debugId=5BB7BDD21176C3C264756E2164756E21
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  zipSync
3
- } from "./tool-pm3ewdxc.js";
3
+ } from "./tool-1pccj6q3.js";
4
4
  import {
5
5
  addSdkUserAgentHeader,
6
6
  catchError,
7
7
  getSdkUserAgentToken,
8
8
  installSdkUserAgentHeader,
9
9
  logger
10
- } from "./tool-tkcx6png.js";
10
+ } from "./tool-wf2qkrye.js";
11
11
  import {
12
12
  __commonJS,
13
13
  __toESM
@@ -284,7 +284,8 @@ var DEFAULT_EXCLUDED_DIR_NAMES = new Set([
284
284
  "__pycache__",
285
285
  ".git",
286
286
  ".local",
287
- ".flow-sdk"
287
+ ".flow-sdk",
288
+ ".flow-debug"
288
289
  ]);
289
290
  var DEFAULT_EXCLUDED_FILE_PATTERNS = [
290
291
  /^\.env($|\..+)/
@@ -950,7 +951,7 @@ var package_default = {
950
951
  name: "@uipath/solution-sdk",
951
952
  author: "UiPath",
952
953
  license: "SEE LICENSE IN LICENSE.txt",
953
- version: "1.204.0-preview.255",
954
+ version: "1.205.0-preview.256",
954
955
  repository: {
955
956
  type: "git",
956
957
  url: "https://github.com/UiPath/cli.git",
@@ -979,6 +980,14 @@ var package_default = {
979
980
  "./auth": {
980
981
  types: "./dist/src/solution-auth.d.ts",
981
982
  default: "./dist/solution-auth.js"
983
+ },
984
+ "./deployments": {
985
+ types: "./dist/src/deployment-search.d.ts",
986
+ default: "./dist/deployment-search.js"
987
+ },
988
+ "./packages": {
989
+ types: "./dist/src/package-search.d.ts",
990
+ default: "./dist/package-search.js"
982
991
  }
983
992
  },
984
993
  bin: {
@@ -989,7 +998,7 @@ var package_default = {
989
998
  ],
990
999
  private: false,
991
1000
  scripts: {
992
- build: "bun build ./src/index.ts ./src/resources/index.ts ./src/solution-auth.ts --outdir dist --format esm --target node --splitting --sourcemap=linked && bun build ./src/scripts/generate-sdk.ts --outdir dist/scripts --format esm --target node --sourcemap=linked && tsc -p tsconfig.build.json --noCheck",
1001
+ build: "bun build ./src/index.ts ./src/resources/index.ts ./src/solution-auth.ts ./src/deployment-search.ts ./src/package-search.ts --outdir dist --format esm --target node --splitting --sourcemap=linked && bun build ./src/scripts/generate-sdk.ts --outdir dist/scripts --format esm --target node --sourcemap=linked && tsc -p tsconfig.build.json --noCheck",
993
1002
  generate: "bun run src/scripts/generate-sdk.ts",
994
1003
  lint: "biome check .",
995
1004
  test: "vitest run",
@@ -1001,7 +1010,8 @@ var package_default = {
1001
1010
  "@uipath/common": "workspace:*",
1002
1011
  "@uipath/filesystem": "workspace:*",
1003
1012
  "@uipath/orchestrator-sdk": "workspace:*",
1004
- "@uipath/resource-builder-sdk": "2025.11.0-alpha6004-4107",
1013
+ "@uipath/pipelines-sdk": "workspace:*",
1014
+ "@uipath/resource-builder-sdk": "2025.11.0-alpha6584-4367",
1005
1015
  "@uipath/solutionpackager-tool-core": "workspace:*",
1006
1016
  "@uipath/studioweb-sdk": "workspace:*",
1007
1017
  "@types/node": "^25.5.2",
@@ -1195,4 +1205,4 @@ var SUCCEEDED = "creationsucceeded";
1195
1205
  var TERMINAL = new Set([SUCCEEDED, "creationfailed", "validationfailed"]);
1196
1206
  export { buildSolutionPackageFromDir, uploadOrOverwriteSolution };
1197
1207
 
1198
- //# debugId=A6AD5FC16DEA7A7B64756E2164756E21
1208
+ //# debugId=165C3891CD0E38E864756E2164756E21
@@ -0,0 +1,26 @@
1
+ // ../../node_modules/@uipath/dmn-editor-utils/dist/chunks/chunk-T5EQ7Y3W.js
2
+ var _ = { string: "feel_type_string", number: "feel_type_number", boolean: "feel_type_boolean", Any: "feel_type_object", date: "feel_type_date", time: "feel_type_time", "date and time": "feel_type_date_time", dayTimeDuration: "feel_type_day_time_duration", yearMonthDuration: "feel_type_year_month_duration", array: "feel_type_array" };
3
+ var a = "array:";
4
+ var l = (e, t) => t ? `${a}${e}` : e;
5
+ var i = (e, t) => {
6
+ if (e.startsWith(a))
7
+ return t("feel_type_array_of", { type: i(e.slice(a.length), t) });
8
+ let r = _[e];
9
+ return r ? t(r) : e;
10
+ };
11
+ var y = { DMN_COLUMN_TYPE_MISMATCH: ["declared", "column"], DMN_FIELD_OF_SINGLE_VALUE: ["type"] };
12
+ var m = (e, t) => {
13
+ let r = y[e.code];
14
+ if (!r || !e.messageParams)
15
+ return e.messageParams;
16
+ let n = { ...e.messageParams };
17
+ for (let o of r) {
18
+ let s = n[o];
19
+ typeof s == "string" && (n[o] = i(s, t));
20
+ }
21
+ return n;
22
+ };
23
+
24
+ export { l, m };
25
+
26
+ //# debugId=422D1AD08D4645D764756E2164756E21
@@ -3,10 +3,10 @@ import {
3
3
  createApiClient,
4
4
  quoteODataStringLiteral,
5
5
  resolveFolder
6
- } from "./tool-eymjx05p.js";
6
+ } from "./tool-txp5th7j.js";
7
7
  import {
8
8
  RulesCommandError
9
- } from "./tool-8qy8pkp4.js";
9
+ } from "./tool-t4k013ex.js";
10
10
 
11
11
  // src/services/business-rules.ts
12
12
  function assertOneFolderOption(options) {