@uipath/case-tool 1.204.0 → 1.205.0-preview.258

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 (135) hide show
  1. package/dist/THIRD-PARTY-NOTICES.md +24 -11
  2. package/dist/{authoring-6ckkzfc9.js → authoring-kqh34zzm.js} +49 -30
  3. package/dist/{business-rule-export-kg5bk8aw.js → business-rule-export-ey588rv7.js} +2 -2
  4. package/dist/canvas-notes-86fxx1t8.js +19 -0
  5. package/dist/{case-api-rvamfn02.js → case-api-sme7esce.js} +6 -6
  6. package/dist/case-bindings-service-cht20gqt.js +430 -0
  7. package/dist/case-debug-solution-projects-h3w2nx0a.js +34 -0
  8. package/dist/{case-debug-studio-web-service-xxfesw4v.js → case-debug-studio-web-service-3mkrtaet.js} +16 -10
  9. package/dist/{case-described-io-service-14hdnqcc.js → case-described-io-service-dx1f4nxe.js} +37 -11
  10. package/dist/case-event-trigger-bindings-g9ftnm4x.js +16 -0
  11. package/dist/{case-format-service-yb48785t.js → case-format-service-6aew6tqc.js} +2 -2
  12. package/dist/{case-pack-service-9185h6ez.js → case-pack-service-pqq8wnfd.js} +6 -6
  13. package/dist/case-schema-version-h820ne16.js +20 -0
  14. package/dist/{case-shape-reader-mw58avr0.js → case-shape-reader-dsbraetf.js} +1 -1
  15. package/dist/{case-splice-service-tkmb7xjp.js → case-splice-service-s5gccctq.js} +53 -8
  16. package/dist/{case-validate-service-c84e2bhv.js → case-validate-service-rey6btew.js} +128 -42
  17. package/dist/{connector-enrichment-service-hfv0kwht.js → connector-enrichment-service-crqs2216.js} +23 -20
  18. package/dist/{connector-lookup-service-whgjceyj.js → connector-lookup-service-dwv8q5eh.js} +6 -6
  19. package/dist/connector-task-shape-mpazkf7s.js +14 -0
  20. package/dist/{connector-task-spec-k0cwavrm.js → connector-task-spec-trs4tcb3.js} +196 -40
  21. package/dist/{de-MUJPA4EB-dpg7t2rw.js → de-UZI7FJDO-mwvc4cxe.js} +29 -2
  22. package/dist/{de-FGHEJRCI-rv513mfh.js → de-WLW6KWOJ-2qnsqdtw.js} +238 -31
  23. package/dist/{debug-service-ch3v6jmm.js → debug-service-7q98j726.js} +3 -3
  24. package/dist/{embedded-file-reader-v8c2yj2a.js → embedded-file-reader-r66242ey.js} +2 -2
  25. package/dist/{en-FBPVNKFN-dqt573xn.js → en-EJCBA3LK-dtpdghgj.js} +12 -4
  26. package/dist/{en-BWGKA5OE-1qkvb9rn.js → en-M7GQYBV2-5nfmpnfz.js} +88 -6
  27. package/dist/{enrichment-service-3f1kygjs.js → enrichment-service-hv7ff88p.js} +56 -12
  28. package/dist/{es-7SE7HX2X-8yh1aj2y.js → es-4UBUTCQA-m1ytpyx2.js} +29 -2
  29. package/dist/{es-KR3ZSNMP-84zphx0x.js → es-5THCNRFN-tqwyrdgy.js} +235 -28
  30. package/dist/{es-MX-2MYFZU7X-3rek4r73.js → es-MX-5RELIXKI-9jhqtddc.js} +29 -2
  31. package/dist/{es-MX-XXZJGC4R-2mr8jtgm.js → es-MX-TWZBRAXK-gqd9swzw.js} +237 -30
  32. package/dist/filter-engine-7ep90g7f.js +11 -0
  33. package/dist/{fr-Y6NPVODW-8vr1ja4b.js → fr-CERONSRC-edpxhbmb.js} +237 -30
  34. package/dist/{fr-MDFKNZ4C-h4a122k9.js → fr-VBM5WRC2-63z7w4mh.js} +29 -2
  35. package/dist/index-332n0kxj.js +282 -0
  36. package/dist/{index-wmffgzmr.js → index-5dxh9z60.js} +21751 -11098
  37. package/dist/{index-aw2gqqat.js → index-a2fvrrth.js} +4 -4
  38. package/dist/{index-4yanx3rn.js → index-ekwtgx7y.js} +1089 -218
  39. package/dist/{index-ng2f77my.js → index-fyc0k5dd.js} +985 -617
  40. package/dist/index-n9qvnx4x.js +29 -0
  41. package/dist/{index-hhsf00x8.js → index-ngs0a2he.js} +1 -1
  42. package/dist/{index-j2r3jb6c.js → index-xq6ajhgq.js} +2 -2
  43. package/dist/index.js +12 -12
  44. package/dist/init-entry-points-hhpv3e3f.js +98 -0
  45. package/dist/{input-reader-1tcqt27f.js → input-reader-c7wz8ra2.js} +3 -3
  46. package/dist/{ja-UTQEAP34-8e0q6swp.js → ja-43QL7CGO-c3q8gre9.js} +29 -2
  47. package/dist/{ja-Q5PXKJ2V-p4msxzjd.js → ja-U2MCNHGT-gz0ap1jk.js} +235 -28
  48. package/dist/{known-types-0h9kqwyy.js → known-types-jvkdgmzz.js} +5 -4
  49. package/dist/{ko-AXCHW2OK-askct7f6.js → ko-TLL6Z6CD-wrt3n8a9.js} +29 -2
  50. package/dist/{ko-AYBDSRZG-41mdmsg1.js → ko-XAUYQWDR-zp81gjp4.js} +237 -30
  51. package/dist/localSolutionDiscovery-yyx234ak.js +13 -0
  52. package/dist/migration-diagnosis-ns5cw4e3.js +99 -0
  53. package/dist/{node-strategy-5pz40tee.js → node-strategy-v442hwgd.js} +1 -1
  54. package/dist/node-sync-service-1wkcyn1n.js +57 -0
  55. package/dist/out-target-wjgmna0r.js +111 -0
  56. package/dist/{packager-tool-85q4f3pq.js → packager-tool-1pcmxqny.js} +3 -3
  57. package/dist/{packager-tool-8a9yqfq7.js → packager-tool-1yfw674x.js} +4 -2
  58. package/dist/{packager-tool-pdhhzfr5.js → packager-tool-29x6vran.js} +296 -417
  59. package/dist/packager-tool-2sn7d8fd.js +41 -0
  60. package/dist/packager-tool-4p11fvf4.js +92 -0
  61. package/dist/{packager-tool-25hng8h4.js → packager-tool-4rtktkhv.js} +16211 -13084
  62. package/dist/{packager-tool-yfm83bzd.js → packager-tool-67vy1fz3.js} +4 -3
  63. package/dist/{packager-tool-d88rqwk8.js → packager-tool-6z1hsm2h.js} +13 -5
  64. package/dist/packager-tool-7hw344bt.js +107 -0
  65. package/dist/{packager-tool-3q3d1hk8.js → packager-tool-83v804p7.js} +56 -6
  66. package/dist/{packager-tool-00y70spr.js → packager-tool-87y6xw3a.js} +2 -1
  67. package/dist/packager-tool-93mdeqay.js +18 -0
  68. package/dist/{packager-tool-64rg5ekd.js → packager-tool-9e59z4d6.js} +75 -7
  69. package/dist/{packager-tool-vepqrsse.js → packager-tool-9kf3fqtr.js} +2 -2
  70. package/dist/packager-tool-9kvkzc05.js +74 -0
  71. package/dist/{packager-tool-s6619wtx.js → packager-tool-9sd483vs.js} +2 -2
  72. package/dist/{packager-tool-f78ntj5g.js → packager-tool-9y1w2wds.js} +51 -6
  73. package/dist/packager-tool-a17g0pj1.js +62 -0
  74. package/dist/{packager-tool-167qap9m.js → packager-tool-aagnvyba.js} +845 -38
  75. package/dist/{packager-tool-0p6dbsp0.js → packager-tool-c5q10254.js} +5 -5
  76. package/dist/{packager-tool-wj9d9mqe.js → packager-tool-e15kqpyh.js} +12 -13
  77. package/dist/{packager-tool-c31qx8kc.js → packager-tool-ezds6t5e.js} +2 -2
  78. package/dist/{packager-tool-d3zvghjd.js → packager-tool-f2z2dscy.js} +308 -120
  79. package/dist/{packager-tool-hvzjm2nk.js → packager-tool-f8vwy92w.js} +2093 -5805
  80. package/dist/{packager-tool-rgpdaxbx.js → packager-tool-gx2cer6a.js} +5385 -1098
  81. package/dist/{packager-tool-xdxr3ync.js → packager-tool-hdxtgckw.js} +11 -1
  82. package/dist/{packager-tool-mr149jsw.js → packager-tool-k5cpxdm4.js} +17 -7
  83. package/dist/packager-tool-k6jbedyc.js +69 -0
  84. package/dist/packager-tool-kdhey8gz.js +153 -0
  85. package/dist/{packager-tool-cenvh23g.js → packager-tool-kyrm4e5m.js} +718 -87
  86. package/dist/packager-tool-mqy97y5f.js +52 -0
  87. package/dist/{packager-tool-jfysbxdt.js → packager-tool-mzf4gmph.js} +4 -4
  88. package/dist/packager-tool-n7w9wx62.js +25 -0
  89. package/dist/{packager-tool-7q6z6npd.js → packager-tool-pcvhcn2k.js} +93 -11
  90. package/dist/packager-tool-r0x3qh59.js +307 -0
  91. package/dist/{packager-tool-w1b5pyj6.js → packager-tool-r6b5ktzb.js} +730 -14
  92. package/dist/{packager-tool-zbrda9sn.js → packager-tool-rk25wp3c.js} +1 -1
  93. package/dist/{packager-tool-xcd87qyx.js → packager-tool-v2kcgjbf.js} +2 -3
  94. package/dist/{case-bindings-service-d9vezn69.js → packager-tool-wekqkmgn.js} +20 -231
  95. package/dist/packager-tool-yct6zp4m.js +335 -0
  96. package/dist/{packager-tool-kpqr938m.js → packager-tool-ydyvtknp.js} +26 -3
  97. package/dist/{packager-tool-v99ygh9f.js → packager-tool-yn33pw57.js} +124 -58
  98. package/dist/{packager-tool-4rqd21wc.js → packager-tool-yn7r7zq2.js} +19 -5
  99. package/dist/{packager-tool-cmwets3m.js → packager-tool-zf8f9pmm.js} +1 -1
  100. package/dist/packager-tool.js +3 -3
  101. package/dist/{project-artifacts-rng5m6r2.js → project-artifacts-bgyyb0dm.js} +1 -1
  102. package/dist/{pt-BR-TKHNHMET-sn91xyq0.js → pt-BR-GNQNAAZ2-xadharv4.js} +237 -30
  103. package/dist/{pt-BR-Y6K6XHXK-mp3hwhw1.js → pt-BR-USP2T7GD-pedn77m1.js} +29 -2
  104. package/dist/{pt-3DIO5QWG-59b3f4bc.js → pt-RMIAKZB4-67enhx3m.js} +29 -2
  105. package/dist/{pt-ROXU257Y-2f6bxev4.js → pt-TO2DARY2-ftcce1bv.js} +237 -30
  106. package/dist/{resolved-check-p99hysaw.js → resolved-check-aqw7568y.js} +1 -1
  107. package/dist/{resourcesSyncService-zwjyp1qx.js → resourcesSyncService-d302jnap.js} +32 -170
  108. package/dist/{ro-BWR3ONRR-vzx3hy8a.js → ro-GHOBYW2S-mhnqsgaa.js} +29 -2
  109. package/dist/{ro-AVAWPKOO-b89pw79r.js → ro-WUYJV6OW-a8d9qy1n.js} +235 -28
  110. package/dist/{sdd-convert-service-vf0ps358.js → sdd-convert-service-8jpew7vz.js} +686 -445
  111. package/dist/{sdd-lookup-dwzpvvwn.js → sdd-lookup-fe900sdb.js} +2 -2
  112. package/dist/{sdd-resolve-service-mjqad2nn.js → sdd-resolve-service-qdtmxw9b.js} +38 -13
  113. package/dist/sdd-resolve-siblings-6kfxc2t6.js +53 -0
  114. package/dist/{solution-auth-kddmbm0p.js → solution-auth-30yycqtv.js} +3 -3
  115. package/dist/solution-discovery-g6ksnrg1.js +38 -0
  116. package/dist/{strict-case-rules-tz37bspw.js → strict-case-rules-4tjcaznr.js} +3 -2
  117. package/dist/{strict-entry-points-v14d7y50.js → strict-entry-points-g2pd4mf4.js} +29 -1
  118. package/dist/{strict-sdd-audit-4aqdeh59.js → strict-sdd-audit-q7tb9yj7.js} +7 -5
  119. package/dist/task-type-declaration-7a8fqdvs.js +46 -0
  120. package/dist/tool.js +12 -12
  121. package/dist/{tr-5IIHSFW5-hw4cewew.js → tr-GDTLECMM-k5fhmq13.js} +29 -2
  122. package/dist/{tr-JMIP7ZSL-c39b6pe4.js → tr-M3F5A6AU-bb0tg39m.js} +235 -28
  123. package/dist/{trigger-enrichment-service-g3vt051f.js → trigger-enrichment-service-sj0p2d1j.js} +23 -20
  124. package/dist/trigger-entry-point-id-yhqwnkx9.js +15 -0
  125. package/dist/{zh-CN-IFFXSEJS-9wm9gmrv.js → zh-CN-C5G4PC7C-ds9gkptg.js} +235 -28
  126. package/dist/{zh-CN-R2KU4U5L-tc1hat59.js → zh-CN-I5D7WHBD-sr5h0a98.js} +29 -2
  127. package/dist/{zh-TW-GNKMELBF-j674515r.js → zh-TW-2AVLM723-288pkc1z.js} +29 -2
  128. package/dist/{zh-TW-IYBNYAMG-8727c7v2.js → zh-TW-62HZIG6O-787kdwex.js} +234 -27
  129. package/package.json +2 -2
  130. package/dist/migration-diagnosis-ag2sgd1e.js +0 -71
  131. package/dist/node-sync-service-2tfrgbjs.js +0 -36
  132. package/dist/out-target-jakehnd3.js +0 -70
  133. package/dist/packager-tool-57pzrd0g.js +0 -32
  134. package/dist/packager-tool-dthjwajc.js +0 -13
  135. package/dist/packager-tool-xy04yy0v.js +0 -32
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  catchError
3
- } from "./packager-tool-3q3d1hk8.js";
3
+ } from "./packager-tool-83v804p7.js";
4
4
  import {
5
5
  getFileSystem
6
- } from "./packager-tool-xdxr3ync.js";
6
+ } from "./packager-tool-hdxtgckw.js";
7
7
  import"./packager-tool-1yh8g550.js";
8
8
 
9
9
  // src/services/sdd-lookup.ts
@@ -1,21 +1,21 @@
1
+ import {
2
+ MISSING_RESOURCE_INDEX,
3
+ loadIndexMetadata,
4
+ loadResourceIndex
5
+ } from "./packager-tool-9sd483vs.js";
1
6
  import {
2
7
  comparableFolder
3
8
  } from "./packager-tool-21qfsbxn.js";
4
9
  import {
5
10
  namedValue
6
- } from "./packager-tool-f78ntj5g.js";
7
- import {
8
- MISSING_RESOURCE_INDEX,
9
- loadIndexMetadata,
10
- loadResourceIndex
11
- } from "./packager-tool-s6619wtx.js";
11
+ } from "./packager-tool-9y1w2wds.js";
12
12
  import {
13
13
  byCodeUnit
14
14
  } from "./packager-tool-5qp9xza1.js";
15
15
  import {
16
16
  catchError
17
- } from "./packager-tool-3q3d1hk8.js";
18
- import"./packager-tool-xdxr3ync.js";
17
+ } from "./packager-tool-83v804p7.js";
18
+ import"./packager-tool-hdxtgckw.js";
19
19
  import"./packager-tool-1yh8g550.js";
20
20
 
21
21
  // src/services/sdd-resolve-service.ts
@@ -51,10 +51,15 @@ var TYPE_INDEX = {
51
51
  identifierField: "entityKey",
52
52
  creatable: false
53
53
  },
54
+ "flow-process": {
55
+ cacheFile: "flow",
56
+ identifierField: "entityKey",
57
+ creatable: false
58
+ },
54
59
  "business-rule": {
55
60
  cacheFile: "businessRule",
56
61
  identifierField: "entityKey",
57
- creatable: false
62
+ creatable: true
58
63
  },
59
64
  action: {
60
65
  cacheFile: "action-apps",
@@ -118,6 +123,9 @@ var rationaleFor = (params) => {
118
123
  }
119
124
  return `${subject} in the folder "${folder}", so the choice is not the document's to make`;
120
125
  };
126
+ var resolveCacheFiles = () => Object.values(TYPE_INDEX).flatMap((one) => one === null ? [] : [one.cacheFile]);
127
+ var nameMatches = (entries, name, identifierField, folder) => entries.filter((entry) => namesOf(entry).some((candidate) => candidate === name)).flatMap((entry) => matchesFor(entry, identifierField, folder));
128
+ var SOLUTION_FOLDER = "solution_folder";
121
129
  var resolveSddResources = async (model, options = {}) => {
122
130
  const resolved = [];
123
131
  const indexes = new Map;
@@ -187,6 +195,19 @@ var resolveSddResources = async (model, options = {}) => {
187
195
  });
188
196
  continue;
189
197
  }
198
+ const local = nameMatches(options.siblings?.byCacheFile.get(mapping.cacheFile) ?? [], name, mapping.identifierField, folder).map((match) => ({ ...match, source: "local" }));
199
+ if (local.length > 0 && (folder === "" || sameFolder(SOLUTION_FOLDER, folder))) {
200
+ const tenant = nameMatches(await indexFor(mapping.cacheFile) ?? [], name, mapping.identifierField, folder);
201
+ const selected2 = local.length === 1 ? local[0] : null;
202
+ resolved.push({
203
+ ...base,
204
+ cacheFile: mapping.cacheFile,
205
+ matches: [...local, ...tenant],
206
+ selected: selected2,
207
+ rationale: selected2 !== null ? `a project in this solution is named "${name}", so it is the one this task runs${tenant.length > 0 ? `; the tenant's ${tenant.length} entr${tenant.length === 1 ? "y" : "ies"} of that name ${tenant.length === 1 ? "is" : "are"} listed, not selected` : ""}` : `${local.length} projects in this solution are named "${name}"; rename one, since a solution has no folder to tell them apart by`
208
+ });
209
+ continue;
210
+ }
190
211
  const entries = await indexFor(mapping.cacheFile);
191
212
  if (entries === undefined) {
192
213
  resolved.push({
@@ -197,7 +218,10 @@ var resolveSddResources = async (model, options = {}) => {
197
218
  });
198
219
  continue;
199
220
  }
200
- const matches = entries.filter((entry) => namesOf(entry).some((candidate) => candidate === name)).flatMap((entry) => matchesFor(entry, mapping.identifierField, folder));
221
+ const matches = [
222
+ ...nameMatches(entries, name, mapping.identifierField, folder),
223
+ ...local
224
+ ];
201
225
  const narrowed = folder === "" ? matches : matches.filter((match) => sameFolder(match.folder, folder));
202
226
  const candidates = narrowed.length > 0 ? narrowed : matches;
203
227
  const selected = candidates.length === 1 && candidates === narrowed ? candidates[0] : null;
@@ -222,7 +246,7 @@ var resolveSddResources = async (model, options = {}) => {
222
246
  continue;
223
247
  if (entry.searchQuery.name === "")
224
248
  continue;
225
- if (missingIndexes.has(entry.cacheFile))
249
+ if (missingIndexes.has(entry.cacheFile) && !entry.matches.some((match) => match.source === "local"))
226
250
  continue;
227
251
  const key = JSON.stringify([entry.searchQuery.name, entry.taskType]);
228
252
  const group = groups.get(key) ?? {
@@ -242,7 +266,7 @@ var resolveSddResources = async (model, options = {}) => {
242
266
  scope: {
243
267
  indexes: [...indexes.keys()].sort(byCodeUnit),
244
268
  missingIndexes: [...missingIndexes].sort(byCodeUnit),
245
- siblingsChecked: false,
269
+ siblingsChecked: options.siblings !== undefined,
246
270
  cache: cacheAge(pulledAt, options.now ?? Date.now())
247
271
  }
248
272
  };
@@ -286,8 +310,9 @@ var staleCacheWarning = (cache) => {
286
310
  };
287
311
  export {
288
312
  CACHE_MAX_AGE_SECONDS,
313
+ resolveCacheFiles,
289
314
  resolveSddResources,
290
315
  staleCacheWarning
291
316
  };
292
317
 
293
- //# debugId=A2A431F3CAFBF78164756E2164756E21
318
+ //# debugId=0DBB81897E7B01AC64756E2164756E21
@@ -0,0 +1,53 @@
1
+ import {
2
+ RESOURCE_TYPES
3
+ } from "./packager-tool-7nxppa3d.js";
4
+ import {
5
+ catchError
6
+ } from "./packager-tool-83v804p7.js";
7
+ import {
8
+ getFileSystem
9
+ } from "./packager-tool-hdxtgckw.js";
10
+ import {
11
+ __require
12
+ } from "./packager-tool-1yh8g550.js";
13
+
14
+ // src/services/sdd-resolve-siblings.ts
15
+ var isResourceType = (name) => RESOURCE_TYPES.includes(name);
16
+ var uipxNearCwd = async (dirs) => {
17
+ const fs = getFileSystem();
18
+ for (const dir of dirs) {
19
+ const [error, names] = await catchError(fs.readdir(dir));
20
+ if (error)
21
+ continue;
22
+ const found = names.find((name) => name.endsWith(".uipx"));
23
+ if (found !== undefined)
24
+ return fs.path.join(dir, found);
25
+ }
26
+ return;
27
+ };
28
+ var loadSiblings = async (cacheFiles) => {
29
+ const { findSolutionFromCwd, solutionSearchDirs } = await import("./index-332n0kxj.js");
30
+ const ctx = await findSolutionFromCwd();
31
+ if (ctx === null) {
32
+ const unread = await uipxNearCwd(solutionSearchDirs());
33
+ if (unread !== undefined) {
34
+ throw new Error(`${unread} is there but does not read as a solution (unreadable, not JSON, or no SolutionId)`);
35
+ }
36
+ return;
37
+ }
38
+ const { loadResourceEnrichmentMap, readLocalResourcesForType } = await import("./localSolutionDiscovery-yyx234ak.js");
39
+ const enrichment = await loadResourceEnrichmentMap(ctx.solutionDir);
40
+ const byCacheFile = new Map;
41
+ for (const cacheFile of new Set(cacheFiles)) {
42
+ if (!isResourceType(cacheFile))
43
+ continue;
44
+ const entries = await readLocalResourcesForType(ctx, cacheFile, enrichment);
45
+ byCacheFile.set(cacheFile, entries);
46
+ }
47
+ return { byCacheFile };
48
+ };
49
+ export {
50
+ loadSiblings
51
+ };
52
+
53
+ //# debugId=11BD1FA861C0E94F64756E2164756E21
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  getSolutionAuthContext
3
- } from "./packager-tool-zbrda9sn.js";
4
- import"./packager-tool-v99ygh9f.js";
3
+ } from "./packager-tool-rk25wp3c.js";
4
+ import"./packager-tool-yn33pw57.js";
5
5
  import"./packager-tool-0gctz400.js";
6
6
  import"./packager-tool-qa9gftnj.js";
7
7
  import"./packager-tool-yc4kw997.js";
8
- import"./packager-tool-xdxr3ync.js";
8
+ import"./packager-tool-hdxtgckw.js";
9
9
  import"./packager-tool-1yh8g550.js";
10
10
  export {
11
11
  getSolutionAuthContext
@@ -0,0 +1,38 @@
1
+ import {
2
+ buildInSolutionNodes,
3
+ describeProjectsWithoutProcessResource,
4
+ explainNodeTypeWithoutProcessResource,
5
+ findProjectsWithoutProcessResource,
6
+ findSolutionFromCwd,
7
+ loadResourceKeyMap,
8
+ readSolutionAt,
9
+ resolveProjectEntryPointIO,
10
+ resourcesRefreshCommand,
11
+ setAgentProjectMetadataReader,
12
+ solutionSearchDirs,
13
+ unknownContractWarning
14
+ } from "./packager-tool-yct6zp4m.js";
15
+ import"./packager-tool-4rtktkhv.js";
16
+ import"./packager-tool-pcvhcn2k.js";
17
+ import"./packager-tool-sc961w0q.js";
18
+ import"./packager-tool-6z1hsm2h.js";
19
+ import"./packager-tool-jysvpt8p.js";
20
+ import"./packager-tool-83v804p7.js";
21
+ import"./packager-tool-hdxtgckw.js";
22
+ import"./packager-tool-1yh8g550.js";
23
+ export {
24
+ buildInSolutionNodes,
25
+ describeProjectsWithoutProcessResource,
26
+ explainNodeTypeWithoutProcessResource,
27
+ findProjectsWithoutProcessResource,
28
+ findSolutionFromCwd,
29
+ loadResourceKeyMap,
30
+ readSolutionAt,
31
+ resolveProjectEntryPointIO,
32
+ resourcesRefreshCommand,
33
+ setAgentProjectMetadataReader,
34
+ solutionSearchDirs,
35
+ unknownContractWarning
36
+ };
37
+
38
+ //# debugId=46F1F1D550FDEA0564756E2164756E21
@@ -9,7 +9,7 @@ import {
9
9
  BINDING_REFERENCE_PREFIX,
10
10
  NAME_BOUND_TASK_TYPES,
11
11
  RESOLVED_IDENTITY_KEYS
12
- } from "./packager-tool-00y70spr.js";
12
+ } from "./packager-tool-87y6xw3a.js";
13
13
  import {
14
14
  JINT_GLOBALS
15
15
  } from "./packager-tool-bfgdz1zh.js";
@@ -550,6 +550,7 @@ var RESOURCE_TASK_TYPES = new Set([
550
550
  "business-rule",
551
551
  "case-management",
552
552
  "execute-connector-activity",
553
+ "flow-process",
553
554
  "function",
554
555
  "process",
555
556
  "rpa",
@@ -729,4 +730,4 @@ export {
729
730
  runStrictCaseRules
730
731
  };
731
732
 
732
- //# debugId=23410541F79C0E6C64756E2164756E21
733
+ //# debugId=CF4D595ACD8200D764756E2164756E21
@@ -1,3 +1,13 @@
1
+ import {
2
+ currentTriggers,
3
+ entryPointIdOf
4
+ } from "./packager-tool-2sn7d8fd.js";
5
+ import {
6
+ entryPointIdsByNode
7
+ } from "./packager-tool-wekqkmgn.js";
8
+ import"./packager-tool-5qp9xza1.js";
9
+ import"./packager-tool-83v804p7.js";
10
+ import"./packager-tool-hdxtgckw.js";
1
11
  import"./packager-tool-1yh8g550.js";
2
12
 
3
13
  // src/services/strict-entry-points.ts
@@ -115,10 +125,28 @@ var checkEntryPoints = (entryPoints, parsed, fileName = "entry-points.json", pla
115
125
  });
116
126
  }
117
127
  }
128
+ if (document !== undefined && issues.length === 0) {
129
+ const ids2 = entryPointIdsByNode(document);
130
+ for (const node of currentTriggers(parsed)) {
131
+ const nodeId = node.id;
132
+ const uniqueId = ids2.get(nodeId);
133
+ if (uniqueId === undefined)
134
+ continue;
135
+ const carried = entryPointIdOf(node);
136
+ if (carried === uniqueId)
137
+ continue;
138
+ issues.push({
139
+ code: "STRICT_TRIGGER_ENTRY_POINT_ID",
140
+ path: `nodes.${nodeId}.data.inputs.entryPointId`,
141
+ severity: "warning",
142
+ message: `Trigger node \`${nodeId}\` ` + (carried === undefined ? "carries no `entryPointId`" : `carries \`entryPointId\` ${JSON.stringify(carried)}`) + `, and its entry point's \`uniqueId\` is ${JSON.stringify(uniqueId)}. ` + "The Case Designer pairs the two through this field: on the first " + "open it mints one and rewrites the entry point's `uniqueId` to " + `match. Set \`data.inputs.entryPointId\` to ${JSON.stringify(uniqueId)}.`
143
+ });
144
+ }
145
+ }
118
146
  return issues;
119
147
  };
120
148
  export {
121
149
  checkEntryPoints
122
150
  };
123
151
 
124
- //# debugId=B1927A53F59DB0F264756E2164756E21
152
+ //# debugId=342867079C36B37464756E2164756E21
@@ -4,13 +4,15 @@ import {
4
4
  auditCaseplanAgainstSdd,
5
5
  bodySchemaIn,
6
6
  parseSddToJson
7
- } from "./packager-tool-cenvh23g.js";
7
+ } from "./packager-tool-kyrm4e5m.js";
8
8
  import"./packager-tool-b250k6w4.js";
9
+ import"./packager-tool-9kvkzc05.js";
10
+ import"./packager-tool-ydyvtknp.js";
9
11
  import"./packager-tool-21qfsbxn.js";
10
- import"./packager-tool-f78ntj5g.js";
12
+ import"./packager-tool-9y1w2wds.js";
11
13
  import"./packager-tool-nj4seavy.js";
12
- import"./packager-tool-3q3d1hk8.js";
13
- import"./packager-tool-xdxr3ync.js";
14
+ import"./packager-tool-83v804p7.js";
15
+ import"./packager-tool-hdxtgckw.js";
14
16
  import"./packager-tool-1yh8g550.js";
15
17
  export {
16
18
  DEFAULT_GROUP,
@@ -20,4 +22,4 @@ export {
20
22
  parseSddToJson
21
23
  };
22
24
 
23
- //# debugId=D463A7DC9E83701064756E2164756E21
25
+ //# debugId=D231BBF376EF1F0E64756E2164756E21
@@ -0,0 +1,46 @@
1
+ import {
2
+ SDD_TASK_TYPES,
3
+ UNAUTHORABLE_TASK_TYPES
4
+ } from "./packager-tool-4p11fvf4.js";
5
+ import {
6
+ SERVICE_TYPE_BY_TASK
7
+ } from "./packager-tool-93mdeqay.js";
8
+ import"./packager-tool-87y6xw3a.js";
9
+ import {
10
+ byCodeUnit
11
+ } from "./packager-tool-5qp9xza1.js";
12
+ import"./packager-tool-1yh8g550.js";
13
+
14
+ // src/services/task-type-declaration.ts
15
+ var DESCRIBE_LAYER = "uip maestro case tasks describe --type";
16
+ var NOT_TASK_TYPES = [
17
+ {
18
+ spelling: "connector-activity",
19
+ layer: DESCRIBE_LAYER,
20
+ planType: "execute-connector-activity"
21
+ },
22
+ {
23
+ spelling: "connector-trigger",
24
+ layer: DESCRIBE_LAYER,
25
+ planType: "wait-for-connector"
26
+ },
27
+ {
28
+ spelling: "wait-for-event",
29
+ layer: `data.serviceType (${SERVICE_TYPE_BY_TASK["wait-for-connector"]})`,
30
+ planType: "wait-for-connector"
31
+ }
32
+ ];
33
+ var byName = (types) => [...types].sort(byCodeUnit).map((type) => ({ type }));
34
+ var taskTypeDeclaration = (versions) => ({
35
+ writeSchemaVersion: versions.writeSchemaVersion,
36
+ readSchemaVersion: versions.readSchemaVersion,
37
+ authorable: byName(SDD_TASK_TYPES),
38
+ studioWebOnly: byName(UNAUTHORABLE_TASK_TYPES),
39
+ notTaskTypes: NOT_TASK_TYPES.map((one) => ({ ...one }))
40
+ });
41
+ export {
42
+ NOT_TASK_TYPES,
43
+ taskTypeDeclaration
44
+ };
45
+
46
+ //# debugId=93B1D66FE0EF225764756E2164756E21
package/dist/tool.js CHANGED
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  metadata,
3
3
  registerCommands
4
- } from "./packager-tool-d3zvghjd.js";
5
- import"./packager-tool-57pzrd0g.js";
4
+ } from "./packager-tool-f2z2dscy.js";
5
+ import"./packager-tool-mqy97y5f.js";
6
+ import"./packager-tool-v2kcgjbf.js";
6
7
  import"./packager-tool-sq931c23.js";
7
- import"./packager-tool-xcd87qyx.js";
8
8
  import"./packager-tool-mknccck5.js";
9
- import"./packager-tool-nj4seavy.js";
10
- import"./packager-tool-167qap9m.js";
11
9
  import"./packager-tool-7nxppa3d.js";
12
- import"./packager-tool-jfysbxdt.js";
13
- import"./packager-tool-vepqrsse.js";
14
- import"./packager-tool-v99ygh9f.js";
10
+ import"./packager-tool-nj4seavy.js";
11
+ import"./packager-tool-aagnvyba.js";
12
+ import"./packager-tool-mzf4gmph.js";
13
+ import"./packager-tool-9kf3fqtr.js";
14
+ import"./packager-tool-zf8f9pmm.js";
15
+ import"./packager-tool-9e59z4d6.js";
16
+ import"./packager-tool-yn33pw57.js";
15
17
  import"./packager-tool-0gctz400.js";
16
18
  import"./packager-tool-qa9gftnj.js";
17
19
  import"./packager-tool-yc4kw997.js";
18
- import"./packager-tool-cmwets3m.js";
19
- import"./packager-tool-64rg5ekd.js";
20
- import"./packager-tool-3q3d1hk8.js";
21
- import"./packager-tool-xdxr3ync.js";
20
+ import"./packager-tool-83v804p7.js";
21
+ import"./packager-tool-hdxtgckw.js";
22
22
  import"./packager-tool-1yh8g550.js";
23
23
  export {
24
24
  metadata,
@@ -1,9 +1,10 @@
1
1
  import"./packager-tool-jysvpt8p.js";
2
2
  import"./packager-tool-1yh8g550.js";
3
3
 
4
- // ../../node_modules/@uipath/flow-core/node_modules/@uipath/flow-schema/dist/tr-5IIHSFW5.js
4
+ // ../../node_modules/@uipath/flow-core/node_modules/@uipath/flow-schema/dist/tr-GDTLECMM.js
5
5
  var agentDuplicateToolNames_duplicateName_message = 'Araç adı "{{name}}" bu aracıda birden çok araç tarafından kullanılıyor. Her aracın benzersiz bir adı olmalıdır.';
6
6
  var agentEmptyVar_unwrittenVariable_message = 'Aracı "$vars{{root}}" ancak hiçbir düğüm "{{root}}" öğesine bir değer atamadığından çalışma zamanında boş olur. Bir düğüm çıkışına (örneğin bir bağlayıcının "<node>.çıkış") ya da bir değer kaynağı atayın.';
7
+ var agentFileNotAnalyzed_unconsumedFileVar_message = 'Aracı "$vars{{path}}" dosya değişkenini kullanıyor ancak dosyaları okuyabilecek bir aracı yok, bu nedenle temsilci içeriğini değil yalnızca dosya referansını alır. Dosyaları Çözümle gibi bir dosya okuma aracı ekleyin.';
7
8
  var agentInputRefs_ambiguousUnderscoreRoot_message = 'İstem "$vars.{{ref}}" başvurusunda bulunuyor, adı "{{rootSegment}}" aracı-giriş kodlama ayırıcısı olarak ayrılan ve gidip gelemeyen "__" içeriyor. Çift alt çizgiyi kaldırmak için yeniden adlandırın.';
8
9
  var agentInputRefs_reservedMetadataRoot_message = 'İstem "$vars.{{ref}}" başvurusunda bulunuyor, "meta veri" adlı bir değişken veya düğüm içerebilir. "$metadata" öğesiyle çakışıyor; ad alanı, aracı için seri hale getirildikten sonra geri alınamaz. Bunu "meta veri" dışında bir adla yeniden adlandırın.';
9
10
  var agentInputRefs_reservedNamespace_message = '"$agent.{{ref}}" bir Flow-dahili agent çalışma zamanı ad alanıdır ve doğrudan istemlerde kullanılamaz. "$vars.{{ref}}" aracılığıyla akış değişkenine veya onun yerine "$metadata.{{ref}}" değişkenine referans yapın.';
@@ -12,6 +13,8 @@ var conditionExpression_decisionWrapped_message = '"{{nodeLabel}}" için geçers
12
13
  var conditionExpression_incomplete_message = "Eksik ifade";
13
14
  var conditionExpression_invalid_message = "Geçersiz ifade";
14
15
  var conditionExpression_required_message = "Koşul ekle";
16
+ var conversationalRequired_contextRequired_message = "{{label}}: Görüşme bağlamı gereklidir";
17
+ var conversationalRequired_conversationIdRequired_message = "{{label}}: Görüşme Kimliği gereklidir";
15
18
  var conversationalVoiceEndCall_callContextInvalid_message = "{{label}}: Çağrı bağlamı bir çağrı bağlamı nesnesine bağlanmalıdır";
16
19
  var conversationalVoice_callContextInvalid_message = "{{label}}: Çağrı bağlamı bir çağrı bağlamı nesnesine bağlanmalıdır";
17
20
  var conversationalVoice_callContextRequired_message = "{{label}}: Ses etkinleştirildiğinde çağrı bağlamı gereklidir";
@@ -28,7 +31,13 @@ var dataTransform_noOperations_message = '"{{nodeLabel}}" yapılandırılmış b
28
31
  var doWhile_limitOutOfRange_message = "En fazla yinelemeyi {{min}} ve {{max}}arasında ayarla";
29
32
  var entityQuery_emptyFilterExpression_message = "Her filtre için bir ifade yazın veya filtreyi kaldırın";
30
33
  var entityQuery_emptyFilterValueList_message = "Filtreye en az bir değer ekleyin veya filtreyi kaldırın";
34
+ var entityQuery_incompleteSingleRecordRow_message = "Bir alan seçin ve bir değer girin";
31
35
  var entityQuery_uncarryableExpression_message = "Bu ifadeyi bir değişkende depolayın veya boşluk, tırnak işareti veya ters eğik çizgi olmadan yazın";
36
+ var entityQuery_uncarryableRelationPath_message = "{{path}} yazıldığı gibi kullanılamaz. Sütun adındaki boşlukları, tırnak işaretlerini veya ters eğik çizgileri kaldırın.";
37
+ var entityQuery_unfilteredSingleRecord_message = "Bir koşul ekleyin veya bunun yerine birden çok kaydı okuyun";
38
+ var entityQuery_unresolvedRelation_message = "{{path}} artık kullanılamıyor. Bu varlıkta veya doğrudan ilişkilerinden birinde bir alan seçin.";
39
+ var entityWrite_requiredFieldBlanked_message = "{{fields}} için bir değer ayarlayın veya güncelleştirmeden kaldırın";
40
+ var entityWrite_requiredFieldMissing_message = "{{fields}}için bir değer ayarla";
32
41
  var escalation_appRequired_message = "Bir eylem uygulaması seç";
33
42
  var escalation_memoryArgumentRequired_message = "{{label}}: Aracı belleği için en az bir bağımsız değişken ekleyin veya aracı belleği için kapatın";
34
43
  var escalation_nameRequired_message = "{{label}}: Üst birime iletme adı gereklidir";
@@ -59,6 +68,7 @@ var triggerRequired_message = "İş akışında en az bir tetikleyici düğümü
59
68
  var tr_default = {
60
69
  agentDuplicateToolNames_duplicateName_message,
61
70
  agentEmptyVar_unwrittenVariable_message,
71
+ agentFileNotAnalyzed_unconsumedFileVar_message,
62
72
  agentInputRefs_ambiguousUnderscoreRoot_message,
63
73
  agentInputRefs_reservedMetadataRoot_message,
64
74
  agentInputRefs_reservedNamespace_message,
@@ -67,6 +77,8 @@ var tr_default = {
67
77
  conditionExpression_incomplete_message,
68
78
  conditionExpression_invalid_message,
69
79
  conditionExpression_required_message,
80
+ conversationalRequired_contextRequired_message,
81
+ conversationalRequired_conversationIdRequired_message,
70
82
  conversationalVoiceEndCall_callContextInvalid_message,
71
83
  conversationalVoice_callContextInvalid_message,
72
84
  conversationalVoice_callContextRequired_message,
@@ -83,7 +95,13 @@ var tr_default = {
83
95
  doWhile_limitOutOfRange_message,
84
96
  entityQuery_emptyFilterExpression_message,
85
97
  entityQuery_emptyFilterValueList_message,
98
+ entityQuery_incompleteSingleRecordRow_message,
86
99
  entityQuery_uncarryableExpression_message,
100
+ entityQuery_uncarryableRelationPath_message,
101
+ entityQuery_unfilteredSingleRecord_message,
102
+ entityQuery_unresolvedRelation_message,
103
+ entityWrite_requiredFieldBlanked_message,
104
+ entityWrite_requiredFieldMissing_message,
87
105
  escalation_appRequired_message,
88
106
  escalation_memoryArgumentRequired_message,
89
107
  escalation_nameRequired_message,
@@ -115,6 +133,7 @@ var tr_default = {
115
133
  export {
116
134
  agentDuplicateToolNames_duplicateName_message,
117
135
  agentEmptyVar_unwrittenVariable_message,
136
+ agentFileNotAnalyzed_unconsumedFileVar_message,
118
137
  agentInputRefs_ambiguousUnderscoreRoot_message,
119
138
  agentInputRefs_reservedMetadataRoot_message,
120
139
  agentInputRefs_reservedNamespace_message,
@@ -123,6 +142,8 @@ export {
123
142
  conditionExpression_incomplete_message,
124
143
  conditionExpression_invalid_message,
125
144
  conditionExpression_required_message,
145
+ conversationalRequired_contextRequired_message,
146
+ conversationalRequired_conversationIdRequired_message,
126
147
  conversationalVoiceEndCall_callContextInvalid_message,
127
148
  conversationalVoice_callContextInvalid_message,
128
149
  conversationalVoice_callContextRequired_message,
@@ -140,7 +161,13 @@ export {
140
161
  doWhile_limitOutOfRange_message,
141
162
  entityQuery_emptyFilterExpression_message,
142
163
  entityQuery_emptyFilterValueList_message,
164
+ entityQuery_incompleteSingleRecordRow_message,
143
165
  entityQuery_uncarryableExpression_message,
166
+ entityQuery_uncarryableRelationPath_message,
167
+ entityQuery_unfilteredSingleRecord_message,
168
+ entityQuery_unresolvedRelation_message,
169
+ entityWrite_requiredFieldBlanked_message,
170
+ entityWrite_requiredFieldMissing_message,
144
171
  escalation_appRequired_message,
145
172
  escalation_memoryArgumentRequired_message,
146
173
  escalation_nameRequired_message,
@@ -170,4 +197,4 @@ export {
170
197
  triggerRequired_message
171
198
  };
172
199
 
173
- //# debugId=656DE780AED9CAE564756E2164756E21
200
+ //# debugId=3EA418CDEEC2CE9C64756E2164756E21