@uipath/case-tool 1.205.0-preview.277 → 1.206.0-preview.279

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 (211) hide show
  1. package/dist/THIRD-PARTY-NOTICES.md +68 -7
  2. package/dist/applicationinsights-web-8m26566f.js +17209 -0
  3. package/dist/{authoring-kqh34zzm.js → authoring-vg90pqrn.js} +488 -213
  4. package/dist/bindings-v2-1da35xsc.js +27 -0
  5. package/dist/{browser-strategy-6atc7v8s.js → browser-strategy-627rrg7z.js} +6 -7
  6. package/dist/{business-rule-export-ey588rv7.js → business-rule-export-jv60r9jf.js} +3 -7
  7. package/dist/carry-forward-sfdnta6q.js +52 -0
  8. package/dist/{case-api-sme7esce.js → case-api-by95rf40.js} +38 -37
  9. package/dist/{case-bindings-service-cht20gqt.js → case-bindings-service-pp3c9g1e.js} +93 -45
  10. package/dist/{case-debug-solution-projects-zy1snze0.js → case-debug-solution-projects-zhnn53e5.js} +3 -7
  11. package/dist/{case-debug-studio-web-service-tp28gt75.js → case-debug-studio-web-service-fvj41xrq.js} +48 -45
  12. package/dist/{case-described-io-service-dx1f4nxe.js → case-described-io-service-tsm8r189.js} +33 -15
  13. package/dist/case-event-trigger-bindings-qbs8ywf5.js +17 -0
  14. package/dist/{case-format-service-6aew6tqc.js → case-format-service-3sab2297.js} +9 -10
  15. package/dist/{case-pack-service-pqq8wnfd.js → case-pack-service-txnv711n.js} +47 -42
  16. package/dist/case-schema-version-cw0h2nrv.js +18 -0
  17. package/dist/case-shape-reader-xaxmrd40.js +14 -0
  18. package/dist/{case-splice-service-s5gccctq.js → case-splice-service-6y35w83e.js} +139 -51
  19. package/dist/{case-validate-service-g5fpq7xa.js → case-validate-service-4zdx7d2w.js} +234 -170
  20. package/dist/connector-enrichment-service-mws6z0hw.js +56 -0
  21. package/dist/connector-library-1yw5r47w.js +99 -0
  22. package/dist/connector-lookup-service-0t7ydz3t.js +20 -0
  23. package/dist/connector-task-shape-bgywpbqc.js +13 -0
  24. package/dist/{de-WLW6KWOJ-2qnsqdtw.js → de-2BEKRUMY-x4dx0nn9.js} +190 -10
  25. package/dist/{de-UZI7FJDO-mwvc4cxe.js → de-AI7ML6JM-km47f8k4.js} +20 -5
  26. package/dist/debug-service-h4jxbn1r.js +56 -0
  27. package/dist/{embedded-file-reader-r66242ey.js → embedded-file-reader-0228j82a.js} +1 -4
  28. package/dist/en-LAVDF7IQ-yzy20n6d.js +254 -0
  29. package/dist/en-X6T4SP2Y-xm47mf18.js +2752 -0
  30. package/dist/{enrichment-service-hv7ff88p.js → enrichment-service-wpprec7k.js} +36 -37
  31. package/dist/{es-5THCNRFN-tqwyrdgy.js → es-7ZTQTGKN-11sj0yjx.js} +190 -10
  32. package/dist/{es-MX-5RELIXKI-9jhqtddc.js → es-MX-7KJZPEQN-1fq0a9jr.js} +20 -5
  33. package/dist/{es-MX-TWZBRAXK-gqd9swzw.js → es-MX-IHGRIEWH-g63p0gb4.js} +191 -11
  34. package/dist/{es-4UBUTCQA-m1ytpyx2.js → es-SPNKTD5Y-vw5cbgv5.js} +20 -5
  35. package/dist/filter-engine-dh9s90gb.js +10 -0
  36. package/dist/first-party-service-ahcc6xc6.js +8 -0
  37. package/dist/{fr-CERONSRC-edpxhbmb.js → fr-7ZDL4MVO-pd27vwh6.js} +191 -11
  38. package/dist/{fr-VBM5WRC2-63z7w4mh.js → fr-AXJGUT53-hdg3pmd4.js} +20 -5
  39. package/dist/index-21kns9qg.js +10 -0
  40. package/dist/{index-fyc0k5dd.js → index-5pzp2qeb.js} +5350 -3271
  41. package/dist/{index-5dxh9z60.js → index-a7y7etmy.js} +6 -5
  42. package/dist/{index-ekwtgx7y.js → index-ec115v05.js} +309 -287
  43. package/dist/{connector-task-spec-jpsjxnas.js → index-n4g6qvab.js} +320 -144
  44. package/dist/index-nj3axvya.js +159 -0
  45. package/dist/{index-h8cph72k.js → index-nzr4mx5p.js} +2 -22
  46. package/dist/index-pg9wmyrf.js +36 -0
  47. package/dist/index-sgpbvm8j.js +26 -0
  48. package/dist/index-t0sz0svn.js +35 -0
  49. package/dist/index-z2qk2qn6.js +24 -0
  50. package/dist/index.js +19 -25
  51. package/dist/index.umd.min-ttg1qc0x.js +7814 -0
  52. package/dist/{init-entry-points-hhpv3e3f.js → init-entry-points-pc128f7z.js} +22 -35
  53. package/dist/input-reader-9ym8mkbc.js +10 -0
  54. package/dist/{ja-43QL7CGO-c3q8gre9.js → ja-C7GZV6YP-hvtbngr5.js} +20 -5
  55. package/dist/{ja-U2MCNHGT-gz0ap1jk.js → ja-LGAM5HKR-sgrtjqjh.js} +190 -10
  56. package/dist/{jmespath-e4a59c8w.js → jmespath-wwym30dp.js} +1 -1
  57. package/dist/{js-yaml-87cdx6bm.js → js-yaml-a2bk27p6.js} +1 -3
  58. package/dist/known-types-gak9by1w.js +11 -0
  59. package/dist/{ko-XAUYQWDR-zp81gjp4.js → ko-7B4SUZB7-c8wr20sc.js} +190 -10
  60. package/dist/{ko-TLL6Z6CD-wrt3n8a9.js → ko-Q24HSSL4-5vn55pte.js} +20 -5
  61. package/dist/localSolutionDiscovery-48d1bnkj.js +15 -0
  62. package/dist/{migration-diagnosis-ns5cw4e3.js → migration-diagnosis-myqqgwj0.js} +1 -4
  63. package/dist/{node-strategy-v442hwgd.js → node-strategy-2mqzg36t.js} +15 -18
  64. package/dist/node-sync-service-tr5m22nb.js +56 -0
  65. package/dist/{out-target-wjgmna0r.js → out-target-eqsttq1k.js} +18 -22
  66. package/dist/{packager-tool-f8vwy92w.js → packager-tool-0te1tyhf.js} +186 -16
  67. package/dist/{packager-tool-ydyvtknp.js → packager-tool-0w4fsdzv.js} +44 -20
  68. package/dist/{packager-tool-8ftat1vn.js → packager-tool-17b466mr.js} +59158 -59666
  69. package/dist/packager-tool-1nfdj0zm.js +425 -0
  70. package/dist/packager-tool-1wgav5ma.js +139 -0
  71. package/dist/{packager-tool-scc247gk.js → packager-tool-32792w66.js} +66 -82
  72. package/dist/{packager-tool-nj4seavy.js → packager-tool-35c9npcy.js} +26 -7
  73. package/dist/{packager-tool-r0x3qh59.js → packager-tool-388vyja1.js} +185 -29
  74. package/dist/packager-tool-3m8482sw.js +78 -0
  75. package/dist/packager-tool-3r23qsca.js +4832 -0
  76. package/dist/packager-tool-4avchhz8.js +539 -0
  77. package/dist/{packager-tool-29br2cdx.js → packager-tool-4wn3b7qp.js} +252 -468
  78. package/dist/{packager-tool-jr8x285x.js → packager-tool-5jt5rc2g.js} +630 -689
  79. package/dist/{packager-tool-9kvkzc05.js → packager-tool-5w0gjcck.js} +4 -4
  80. package/dist/packager-tool-68648y3j.js +6 -0
  81. package/dist/{packager-tool-1yh8g550.js → packager-tool-6an893wm.js} +12 -3
  82. package/dist/{packager-tool-aagnvyba.js → packager-tool-76zhn5pa.js} +131 -432
  83. package/dist/packager-tool-7x1tmb8a.js +46 -0
  84. package/dist/{packager-tool-kyrm4e5m.js → packager-tool-9ar5829n.js} +781 -741
  85. package/dist/{packager-tool-4p11fvf4.js → packager-tool-b2q8m9pq.js} +10 -13
  86. package/dist/packager-tool-bg3tdpva.js +27 -0
  87. package/dist/packager-tool-bpkkg4z2.js +295 -0
  88. package/dist/{packager-tool-yn33pw57.js → packager-tool-dn9d4ywm.js} +246 -225
  89. package/dist/{packager-tool-kdhey8gz.js → packager-tool-e02jkmrq.js} +41 -29
  90. package/dist/{packager-tool-sq931c23.js → packager-tool-e1tx5mqg.js} +1 -1
  91. package/dist/packager-tool-gt3bsmfp.js +1302 -0
  92. package/dist/packager-tool-gy4yjqhf.js +178 -0
  93. package/dist/packager-tool-h2ar8xf8.js +222 -0
  94. package/dist/{packager-tool-v2kcgjbf.js → packager-tool-j6nfje7t.js} +5 -4
  95. package/dist/packager-tool-kz7zz79p.js +71 -0
  96. package/dist/{packager-tool-9e59z4d6.js → packager-tool-me8gd22q.js} +82 -83
  97. package/dist/packager-tool-mk9fmzdy.js +20 -0
  98. package/dist/{packager-tool-gdtpsdn7.js → packager-tool-mm1x18d6.js} +223 -28
  99. package/dist/{packager-tool-xm3gr7d4.js → packager-tool-nd312sma.js} +32 -15
  100. package/dist/{packager-tool-mqy97y5f.js → packager-tool-p5gs9xqy.js} +14 -14
  101. package/dist/{packager-tool-83v804p7.js → packager-tool-psmb758n.js} +3108 -2627
  102. package/dist/packager-tool-q26hncjr.js +13 -0
  103. package/dist/packager-tool-q9fnx278.js +77 -0
  104. package/dist/{packager-tool-ezds6t5e.js → packager-tool-s12s1dp6.js} +11 -11
  105. package/dist/packager-tool-scy94jyb.js +5424 -0
  106. package/dist/{packager-tool-yn7r7zq2.js → packager-tool-snesn0bt.js} +177 -96
  107. package/dist/{packager-tool-d8e2mrkq.js → packager-tool-tgehy324.js} +56 -56
  108. package/dist/{packager-tool-tqn0j6f9.js → packager-tool-v11fx4dk.js} +7 -7
  109. package/dist/{packager-tool-67vy1fz3.js → packager-tool-v6rkp2ay.js} +24 -92
  110. package/dist/{packager-tool-9sd483vs.js → packager-tool-vs7gqa4r.js} +15 -15
  111. package/dist/packager-tool-vyavrbym.js +488 -0
  112. package/dist/{packager-tool-b098y4a2.js → packager-tool-wbksf242.js} +97 -97
  113. package/dist/{packager-tool-g8nkdj5b.js → packager-tool-x1f8ypvs.js} +256 -486
  114. package/dist/{packager-tool-2sn7d8fd.js → packager-tool-x74mmjkw.js} +9 -13
  115. package/dist/{packager-tool-7hw344bt.js → packager-tool-xb16e3tz.js} +5 -5
  116. package/dist/{packager-tool-a17g0pj1.js → packager-tool-xd1wbvay.js} +10 -8
  117. package/dist/{packager-tool-1yfw674x.js → packager-tool-xehhk3c3.js} +10 -5
  118. package/dist/packager-tool-yh8mmj3p.js +123 -0
  119. package/dist/{packager-tool-hdxtgckw.js → packager-tool-z070caqq.js} +56 -12
  120. package/dist/{packager-tool-b250k6w4.js → packager-tool-z1fw9a8v.js} +41 -9
  121. package/dist/{packager-tool-0gctz400.js → packager-tool-z9fmqtm6.js} +4 -4
  122. package/dist/{packager-tool-mzf4gmph.js → packager-tool-zbx189j3.js} +11 -8
  123. package/dist/{packager-tool-zf8f9pmm.js → packager-tool-zrbnms9b.js} +3 -4
  124. package/dist/packager-tool.js +10 -11
  125. package/dist/prepare-uip-ad7mfs8t.js +92 -0
  126. package/dist/{project-artifacts-bgyyb0dm.js → project-artifacts-q0c0zghw.js} +2 -6
  127. package/dist/{pt-BR-USP2T7GD-pedn77m1.js → pt-BR-BIUJXIPU-2sqzhr8y.js} +20 -5
  128. package/dist/{pt-BR-GNQNAAZ2-xadharv4.js → pt-BR-PHLFHMXZ-n6de4s7z.js} +191 -11
  129. package/dist/{pt-RMIAKZB4-67enhx3m.js → pt-MHX6JGAX-xfgvdqwg.js} +20 -5
  130. package/dist/{pt-TO2DARY2-ftcce1bv.js → pt-N7ZTJT4W-d6c67xcn.js} +190 -10
  131. package/dist/{resolved-check-aqw7568y.js → resolved-check-dz8eqrf6.js} +2 -3
  132. package/dist/{resourcesSyncService-k9kw8d9b.js → resourcesSyncService-sgnkcvpt.js} +81 -141
  133. package/dist/{ro-GHOBYW2S-mhnqsgaa.js → ro-3RKJNGJZ-xqj14e3d.js} +20 -5
  134. package/dist/{ro-WUYJV6OW-a8d9qy1n.js → ro-FLNXVYJI-ytrwabg2.js} +190 -10
  135. package/dist/ru-GSCT4ARZ-c2cfq4h1.js +7 -0
  136. package/dist/ru-WBLQ5B2U-bf20yr5y.js +7 -0
  137. package/dist/{rule-group-members-zje7n3kf.js → rule-group-members-p0nv1rmj.js} +1 -3
  138. package/dist/rule-type-declaration-s2nxpcfy.js +77 -0
  139. package/dist/{sdd-convert-service-8jpew7vz.js → sdd-convert-service-ffbx00k6.js} +481 -504
  140. package/dist/{sdd-lookup-fe900sdb.js → sdd-lookup-sah7wj5j.js} +8 -9
  141. package/dist/{sdd-resolve-service-qdtmxw9b.js → sdd-resolve-service-6nt10vhq.js} +28 -20
  142. package/dist/{sdd-resolve-siblings-phvwaj6j.js → sdd-resolve-siblings-5q28qcw8.js} +11 -14
  143. package/dist/solution-auth-a1p22hq1.js +11 -0
  144. package/dist/solution-discovery-r1y550sz.js +33 -0
  145. package/dist/{strict-case-rules-4tjcaznr.js → strict-case-rules-045kbjvv.js} +16 -28
  146. package/dist/{strict-entry-points-g2pd4mf4.js → strict-entry-points-40ha9afz.js} +15 -14
  147. package/dist/strict-sdd-audit-bp7fq2tg.js +26 -0
  148. package/dist/{task-selector-8bjn35dv.js → task-selector-jt60hdbt.js} +1 -3
  149. package/dist/{task-type-declaration-7a8fqdvs.js → task-type-declaration-yhczvj05.js} +9 -9
  150. package/dist/tool.js +18 -24
  151. package/dist/{tr-M3F5A6AU-bb0tg39m.js → tr-7AIZZWZ6-pdzp9n0p.js} +190 -10
  152. package/dist/{tr-GDTLECMM-k5fhmq13.js → tr-PQLUUHPC-qsb7btxn.js} +20 -5
  153. package/dist/{trigger-enrichment-service-82kcr49v.js → trigger-enrichment-service-r4gmxvka.js} +53 -57
  154. package/dist/trigger-entry-point-id-751v48qd.js +14 -0
  155. package/dist/{zh-CN-C5G4PC7C-ds9gkptg.js → zh-CN-CN2ARPFS-e0p2qrxf.js} +190 -10
  156. package/dist/{zh-CN-I5D7WHBD-sr5h0a98.js → zh-CN-OHNTHZRI-b0hjkfqn.js} +20 -5
  157. package/dist/{zh-TW-62HZIG6O-787kdwex.js → zh-TW-7RUFEVFK-qd7myw31.js} +190 -10
  158. package/dist/{zh-TW-2AVLM723-288pkc1z.js → zh-TW-E4D3Y6ZR-tn3bmzz5.js} +20 -5
  159. package/package.json +2 -2
  160. package/dist/canvas-notes-86fxx1t8.js +0 -19
  161. package/dist/case-event-trigger-bindings-g9ftnm4x.js +0 -16
  162. package/dist/case-schema-version-h820ne16.js +0 -20
  163. package/dist/case-shape-reader-dsbraetf.js +0 -13
  164. package/dist/connector-enrichment-service-95bqb0tb.js +0 -65
  165. package/dist/connector-lookup-service-3qx1qwrx.js +0 -22
  166. package/dist/connector-task-shape-mpazkf7s.js +0 -14
  167. package/dist/debug-service-7q98j726.js +0 -59
  168. package/dist/en-EJCBA3LK-dtpdghgj.js +0 -146
  169. package/dist/en-M7GQYBV2-5nfmpnfz.js +0 -2018
  170. package/dist/filter-engine-7ep90g7f.js +0 -11
  171. package/dist/first-party-service-srxaftkn.js +0 -27
  172. package/dist/index-04w3bbe8.js +0 -666
  173. package/dist/index-kmp9fmhb.js +0 -25
  174. package/dist/index-m93xazb6.js +0 -282
  175. package/dist/index-n9qvnx4x.js +0 -29
  176. package/dist/index-ngs0a2he.js +0 -15
  177. package/dist/index-xq6ajhgq.js +0 -157
  178. package/dist/index.umd.min-fqefd9kn.js +0 -7814
  179. package/dist/input-reader-c7wz8ra2.js +0 -11
  180. package/dist/known-types-5b6yrsqn.js +0 -16
  181. package/dist/localSolutionDiscovery-yyx234ak.js +0 -13
  182. package/dist/node-sync-service-ewkg1pgk.js +0 -57
  183. package/dist/packager-tool-0fsh78kt.js +0 -5365
  184. package/dist/packager-tool-53w8skv5.js +0 -262
  185. package/dist/packager-tool-6z1hsm2h.js +0 -143
  186. package/dist/packager-tool-8y4pceec.js +0 -13189
  187. package/dist/packager-tool-93mdeqay.js +0 -18
  188. package/dist/packager-tool-9kf3fqtr.js +0 -23
  189. package/dist/packager-tool-bfgdz1zh.js +0 -73
  190. package/dist/packager-tool-e15kqpyh.js +0 -266
  191. package/dist/packager-tool-jysvpt8p.js +0 -11
  192. package/dist/packager-tool-pcvhcn2k.js +0 -2019
  193. package/dist/packager-tool-rk25wp3c.js +0 -28
  194. package/dist/packager-tool-sc961w0q.js +0 -16
  195. package/dist/packager-tool-wekqkmgn.js +0 -265
  196. package/dist/packager-tool-yc4kw997.js +0 -13
  197. package/dist/ru-GSCT4ARZ-1sa9wbr8.js +0 -10
  198. package/dist/ru-WBLQ5B2U-s4em88p0.js +0 -10
  199. package/dist/solution-auth-30yycqtv.js +0 -14
  200. package/dist/solution-discovery-e9mamp6w.js +0 -38
  201. package/dist/strict-sdd-audit-q7tb9yj7.js +0 -25
  202. package/dist/trigger-entry-point-id-yhqwnkx9.js +0 -15
  203. /package/dist/{packager-tool-5qp9xza1.js → packager-tool-1c30ttpm.js} +0 -0
  204. /package/dist/{packager-tool-mknccck5.js → packager-tool-1h7abxw6.js} +0 -0
  205. /package/dist/{packager-tool-9y1w2wds.js → packager-tool-fcektt1g.js} +0 -0
  206. /package/dist/{packager-tool-k6jbedyc.js → packager-tool-hcdnc420.js} +0 -0
  207. /package/dist/{packager-tool-7nxppa3d.js → packager-tool-jv5byaww.js} +0 -0
  208. /package/dist/{packager-tool-qa9gftnj.js → packager-tool-mxgybnmt.js} +0 -0
  209. /package/dist/{packager-tool-87y6xw3a.js → packager-tool-nfhtwa72.js} +0 -0
  210. /package/dist/{packager-tool-cv05dwac.js → packager-tool-p0rdmmvk.js} +0 -0
  211. /package/dist/{packager-tool-21qfsbxn.js → packager-tool-yaertxsw.js} +0 -0
@@ -1,28 +0,0 @@
1
- import {
2
- getAuthContext
3
- } from "./packager-tool-yn33pw57.js";
4
-
5
- // ../solution-sdk/src/solution-auth.ts
6
- async function getSolutionAuthContext(options) {
7
- const ctx = await getAuthContext({
8
- tenant: options.tenant,
9
- ensureTokenValidityMinutes: options.loginValidity ?? 10,
10
- envFilePath: options.envFilePath,
11
- requireOrganizationId: true,
12
- requireTenantName: true
13
- });
14
- const organizationId = ctx.organizationId;
15
- const tenantName = ctx.tenantName;
16
- const basePath = `${ctx.baseUrl}/${organizationId}/${tenantName}/automationsolutions_`;
17
- return {
18
- accessToken: ctx.accessToken,
19
- basePath,
20
- organizationId,
21
- tenantName,
22
- identity: ctx.identity
23
- };
24
- }
25
-
26
- export { getSolutionAuthContext };
27
-
28
- //# debugId=F76D3832B86881B164756E2164756E21
@@ -1,16 +0,0 @@
1
- // ../../node_modules/@uipath/flow-core/dist/chunk-EVM6BVMO.js
2
- var __defProp = Object.defineProperty;
3
- var __glob = (map) => (path) => {
4
- var fn = map[path];
5
- if (fn)
6
- return fn();
7
- throw new Error("Module not found in bundle: " + path);
8
- };
9
- var __export = (target, all) => {
10
- for (var name in all)
11
- __defProp(target, name, { get: all[name], enumerable: true });
12
- };
13
-
14
- export { __glob, __export };
15
-
16
- //# debugId=35D4C871708FD4DA64756E2164756E21
@@ -1,265 +0,0 @@
1
- import {
2
- byCodeUnit
3
- } from "./packager-tool-5qp9xza1.js";
4
- import {
5
- catchError
6
- } from "./packager-tool-83v804p7.js";
7
- import {
8
- getFileSystem
9
- } from "./packager-tool-hdxtgckw.js";
10
-
11
- // src/services/bindings-v2.ts
12
- var BINDINGS_V2_FILE_NAME = "bindings_v2.json";
13
- var BINDINGS_V2_VERSION = "2.0";
14
- var CONNECTION_ID_PROPERTY = "ConnectionId";
15
- var FOLDER_KEY_PROPERTY = "folderKey";
16
- var RESOURCE_BINDINGS_VERSION = "2.2";
17
- var sortBindingsV2Resources = (resources) => [...resources].sort((a, b) => byCodeUnit(a.resource, b.resource) || byCodeUnit(a.key, b.key));
18
- var serializeBindingsV2File = (resources) => {
19
- const file = {
20
- version: BINDINGS_V2_VERSION,
21
- resources: sortBindingsV2Resources(resources)
22
- };
23
- return `${JSON.stringify(file, null, 2)}
24
- `;
25
- };
26
- var readBindingsV2Resources = (raw) => {
27
- const [error, parsed] = catchError(() => JSON.parse(raw));
28
- if (error)
29
- return;
30
- if (parsed === null || typeof parsed !== "object")
31
- return;
32
- const resources = parsed.resources;
33
- if (!Array.isArray(resources))
34
- return;
35
- return resources.filter((entry) => entry !== null && typeof entry === "object" && typeof entry.key === "string");
36
- };
37
- var identity = (entry) => `${entry.resource}:${entry.key}`;
38
- var asSaved = (entry, found) => {
39
- let saved = entry;
40
- if (entry.resource === "Connection" && entry.value[FOLDER_KEY_PROPERTY] !== undefined && found.value?.[FOLDER_KEY_PROPERTY] === undefined) {
41
- const { [FOLDER_KEY_PROPERTY]: _dropped, ...value } = entry.value;
42
- saved = { ...saved, value };
43
- }
44
- if (saved.metadata?.ActivityName !== undefined && found.metadata?.ActivityName === undefined) {
45
- const { ActivityName: _label, ...metadata } = saved.metadata;
46
- saved = { ...saved, metadata };
47
- }
48
- return saved;
49
- };
50
- var diffBindingsV2 = (expected, actual) => {
51
- const expectedByKey = new Map(expected.map((e) => [identity(e), e]));
52
- const actualByKey = new Map(actual.map((e) => [identity(e), e]));
53
- const missing = [];
54
- const changed = [];
55
- for (const [key, entry] of expectedByKey) {
56
- const found = actualByKey.get(key);
57
- if (found === undefined) {
58
- missing.push(entry.key);
59
- } else if (JSON.stringify(found) !== JSON.stringify(asSaved(entry, found))) {
60
- changed.push(entry.key);
61
- }
62
- }
63
- const extra = [...actualByKey.values()].filter((entry) => !expectedByKey.has(identity(entry))).map((entry) => entry.key);
64
- const alphabetically = (left, right) => left.localeCompare(right);
65
- return {
66
- missing: missing.sort(alphabetically),
67
- extra: extra.sort(alphabetically),
68
- changed: changed.sort(alphabetically)
69
- };
70
- };
71
- var hasBindingsV2Difference = (difference) => difference.missing.length > 0 || difference.extra.length > 0 || difference.changed.length > 0;
72
-
73
- // src/services/case-event-trigger-bindings.ts
74
- var ENTRY_POINTS_FILE_NAME = "entry-points.json";
75
- var EVENT_TRIGGER_SERVICE_TYPE = "Intsvc.EventTrigger";
76
- var TRIGGER_NODE_TYPES = new Set([
77
- "uipath.case.trigger",
78
- "case-management:Trigger"
79
- ]);
80
- var PROPERTY_RESOURCE = "Property";
81
- var BINDING_REFERENCE_PREFIX = "=bindings.";
82
- var asRecord = (value) => value !== null && typeof value === "object" && !Array.isArray(value) ? value : undefined;
83
- var asString = (value) => typeof value === "string" && value !== "" ? value : undefined;
84
- var nonEmpty = (value) => {
85
- const record = asRecord(value);
86
- return record !== undefined && Object.keys(record).length > 0 ? record : undefined;
87
- };
88
- function entryPointIdsByNode(entryPoints) {
89
- const ids = new Map;
90
- const list = asRecord(entryPoints)?.entryPoints;
91
- if (!Array.isArray(list))
92
- return ids;
93
- for (const item of list) {
94
- const entry = asRecord(item);
95
- const filePath = asString(entry?.filePath);
96
- const uniqueId = asString(entry?.uniqueId);
97
- const hash = filePath?.lastIndexOf("#") ?? -1;
98
- if (filePath === undefined || uniqueId === undefined || hash < 0)
99
- continue;
100
- const node = filePath.slice(hash + 1);
101
- if (!ids.has(node))
102
- ids.set(node, uniqueId);
103
- }
104
- return ids;
105
- }
106
- async function readEntryPointIds(casePlanPath) {
107
- const fs = getFileSystem();
108
- const path = fs.path.join(fs.path.dirname(fs.path.resolve(casePlanPath)), ENTRY_POINTS_FILE_NAME);
109
- if (!await fs.exists(path))
110
- return { ids: new Map };
111
- const [readError, raw] = await catchError(fs.readFile(path, "utf-8"));
112
- if (readError || raw == null) {
113
- return {
114
- error: `Could not read ${path}: ${readError?.message ?? "the file is no longer there"}`,
115
- path
116
- };
117
- }
118
- const [parseError, parsed] = catchError(() => JSON.parse(raw));
119
- if (parseError) {
120
- return {
121
- error: `${path} is not valid JSON: ${parseError.message}`,
122
- path
123
- };
124
- }
125
- return { ids: entryPointIdsByNode(parsed) };
126
- }
127
- function readTrigger(node) {
128
- const record = asRecord(node);
129
- const nodeId = asString(record?.id);
130
- if (nodeId === undefined || !TRIGGER_NODE_TYPES.has(String(record?.type)))
131
- return;
132
- const data = asRecord(record?.data);
133
- const container = [asRecord(data?.inputs), asRecord(data?.uipath)].find((candidate) => candidate?.serviceType === EVENT_TRIGGER_SERVICE_TYPE);
134
- if (container === undefined || !Array.isArray(container.context))
135
- return;
136
- const context = new Map;
137
- for (const item of container.context) {
138
- const entry = asRecord(item);
139
- const name = asString(entry?.name);
140
- if (name !== undefined)
141
- context.set(name, entry?.value ?? entry?.body);
142
- }
143
- const bodyInput = Array.isArray(container.inputs) ? container.inputs.map(asRecord).find((input) => input?.name === "body") : undefined;
144
- return {
145
- nodeId,
146
- activityName: asString(asRecord(data?.display)?.label) ?? asString(data?.label) ?? asString(context.get("operation")),
147
- context,
148
- body: asRecord(bodyInput?.body),
149
- metadataBody: asRecord(context.get("metadata"))
150
- };
151
- }
152
- function findConnectionBinding(trigger, bindings) {
153
- const connections = bindings.filter((binding) => binding.resource === "Connection" && binding.propertyAttribute === CONNECTION_ID_PROPERTY);
154
- const reference = asString(trigger.context.get("connection"));
155
- if (reference?.startsWith(BINDING_REFERENCE_PREFIX)) {
156
- const id = reference.slice(BINDING_REFERENCE_PREFIX.length);
157
- const byId = connections.find((binding) => binding.id === id);
158
- if (byId !== undefined)
159
- return byId;
160
- }
161
- const resourceKey = asString(trigger.context.get("resourceKey"));
162
- return connections.find((binding) => binding.resourceKey === resourceKey);
163
- }
164
- var optional = (key, value) => value === undefined ? {} : { [key]: value };
165
- function eventTriggerResource(trigger, connectionId, key, entryPointId) {
166
- const apc = asRecord(trigger.metadataBody?.activityPropertyConfiguration);
167
- const filterExpression = asString(apc?.filterExpression) ?? asString(asRecord(trigger.body?.filters)?.expression) ?? "";
168
- const value = {
169
- ConnectionId: { defaultValue: connectionId, isExpression: false }
170
- };
171
- if (entryPointId !== undefined) {
172
- value.EntryPointUniqueId = {
173
- defaultValue: entryPointId,
174
- isExpression: false
175
- };
176
- }
177
- return {
178
- resource: "EventTrigger",
179
- key,
180
- id: `EventTrigger${key}`,
181
- value,
182
- metadata: {
183
- UseConnectionService: "true",
184
- ...optional("Connector", asString(trigger.context.get("connectorKey"))),
185
- ...optional("ActivityName", trigger.activityName),
186
- BindingsVersion: RESOURCE_BINDINGS_VERSION,
187
- ...optional("ObjectName", objectName(trigger)),
188
- ...optional("Operation", asString(trigger.context.get("operation"))),
189
- FilterExpression: filterExpression
190
- }
191
- };
192
- }
193
- var objectName = (trigger) => asString(trigger.context.get("objectName")) ?? asString(asRecord(trigger.metadataBody?.activityPropertyConfiguration)?.objectName);
194
- function storedPropertyResources(trigger, parentResourceKey) {
195
- const stored = trigger.metadataBody?.bindings;
196
- if (!Array.isArray(stored) || stored.length === 0)
197
- return;
198
- return stored.flatMap((raw) => {
199
- const entry = asRecord(raw);
200
- if (typeof entry?.resource !== "string" || typeof entry.key !== "string")
201
- return [];
202
- const clone = structuredClone(entry);
203
- clone.metadata = {
204
- ...clone.metadata,
205
- ...optional("ActivityName", trigger.activityName)
206
- };
207
- if (clone.resource === PROPERTY_RESOURCE) {
208
- clone.id = `Property_${trigger.nodeId}`;
209
- clone.metadata.ParentResourceKey = parentResourceKey;
210
- }
211
- return [clone];
212
- });
213
- }
214
- function propertyResources(trigger, parentResourceKey) {
215
- const stored = storedPropertyResources(trigger, parentResourceKey);
216
- if (stored !== undefined)
217
- return stored;
218
- const parameters = nonEmpty(trigger.body?.queryParams) ?? nonEmpty(trigger.body?.parameters);
219
- const operation = asString(trigger.context.get("operation"));
220
- if (parameters === undefined || operation === undefined)
221
- return [];
222
- const value = {};
223
- for (const [name, raw] of Object.entries(parameters)) {
224
- value[name] = { defaultValue: String(raw), isExpression: false };
225
- }
226
- const names = Object.keys(parameters).join(",");
227
- return [
228
- {
229
- resource: PROPERTY_RESOURCE,
230
- key: operation,
231
- id: `Property_${trigger.nodeId}`,
232
- value,
233
- metadata: {
234
- TriggerCreateParameters: names,
235
- DebugQueryParameters: names,
236
- ...optional("ActivityName", trigger.activityName),
237
- BindingsVersion: RESOURCE_BINDINGS_VERSION,
238
- ...optional("ObjectName", objectName(trigger)),
239
- ParentResourceKey: parentResourceKey
240
- }
241
- }
242
- ];
243
- }
244
- function deriveEventTriggerResources(nodes, bindings, entryPointIds) {
245
- if (!Array.isArray(nodes))
246
- return [];
247
- return nodes.flatMap((node) => {
248
- const trigger = readTrigger(node);
249
- if (trigger === undefined)
250
- return [];
251
- const binding = findConnectionBinding(trigger, bindings);
252
- if (binding === undefined)
253
- return [];
254
- const connectionId = binding.default ?? binding.resourceKey;
255
- const key = [connectionId, trigger.nodeId].filter(Boolean).join("_");
256
- return [
257
- eventTriggerResource(trigger, connectionId, key, entryPointIds.get(trigger.nodeId)),
258
- ...propertyResources(trigger, `EventTrigger.${key}`)
259
- ];
260
- });
261
- }
262
-
263
- export { BINDINGS_V2_FILE_NAME, CONNECTION_ID_PROPERTY, FOLDER_KEY_PROPERTY, RESOURCE_BINDINGS_VERSION, serializeBindingsV2File, readBindingsV2Resources, diffBindingsV2, hasBindingsV2Difference, entryPointIdsByNode, readEntryPointIds, deriveEventTriggerResources };
264
-
265
- //# debugId=27D60FC3500F9DFB64756E2164756E21
@@ -1,13 +0,0 @@
1
- // ../auth/src/constants.ts
2
- var UIPATH_HOME_DIR = ".uipath";
3
- var AUTH_FILENAME = ".auth";
4
- var DEFAULT_BASE_URL = "https://cloud.uipath.com";
5
- var DEFAULT_AUTH_TIMEOUT_MS = 5 * 60 * 1000;
6
- var AUTH_TIMEOUT_ERROR_CODE = "EAUTHTIMEOUT";
7
- var AUTH_CANCELLED_ERROR_CODE = "EAUTHCANCELLED";
8
- var AUTH_RECLAIMED_ERROR_CODE = "EAUTHRECLAIMED";
9
- var DEFAULT_REDIRECT_URI = "http://localhost:8104/oidc/login";
10
-
11
- export { UIPATH_HOME_DIR, AUTH_FILENAME, DEFAULT_BASE_URL, DEFAULT_AUTH_TIMEOUT_MS, AUTH_TIMEOUT_ERROR_CODE, AUTH_CANCELLED_ERROR_CODE, AUTH_RECLAIMED_ERROR_CODE, DEFAULT_REDIRECT_URI };
12
-
13
- //# debugId=75C147C6FAA3208364756E2164756E21
@@ -1,10 +0,0 @@
1
- import"./packager-tool-sc961w0q.js";
2
- import"./packager-tool-1yh8g550.js";
3
-
4
- // ../../node_modules/@uipath/flow-core/dist/ru-GSCT4ARZ.js
5
- var ru_default = {};
6
- export {
7
- ru_default as default
8
- };
9
-
10
- //# debugId=36BFD2B69A34A1BD64756E2164756E21
@@ -1,10 +0,0 @@
1
- import"./packager-tool-jysvpt8p.js";
2
- import"./packager-tool-1yh8g550.js";
3
-
4
- // ../../node_modules/@uipath/flow-core/node_modules/@uipath/flow-schema/dist/ru-WBLQ5B2U.js
5
- var ru_default = {};
6
- export {
7
- ru_default as default
8
- };
9
-
10
- //# debugId=B7EA616BDBCEA40B64756E2164756E21
@@ -1,14 +0,0 @@
1
- import {
2
- getSolutionAuthContext
3
- } from "./packager-tool-rk25wp3c.js";
4
- import"./packager-tool-yn33pw57.js";
5
- import"./packager-tool-0gctz400.js";
6
- import"./packager-tool-qa9gftnj.js";
7
- import"./packager-tool-yc4kw997.js";
8
- import"./packager-tool-hdxtgckw.js";
9
- import"./packager-tool-1yh8g550.js";
10
- export {
11
- getSolutionAuthContext
12
- };
13
-
14
- //# debugId=63A23B7A7462225464756E2164756E21
@@ -1,38 +0,0 @@
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-d8e2mrkq.js";
15
- import"./packager-tool-8ftat1vn.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
@@ -1,25 +0,0 @@
1
- import {
2
- DEFAULT_GROUP,
3
- VARIABLE_PLACEMENT,
4
- auditCaseplanAgainstSdd,
5
- bodySchemaIn,
6
- parseSddToJson
7
- } from "./packager-tool-kyrm4e5m.js";
8
- import"./packager-tool-b250k6w4.js";
9
- import"./packager-tool-9kvkzc05.js";
10
- import"./packager-tool-ydyvtknp.js";
11
- import"./packager-tool-21qfsbxn.js";
12
- import"./packager-tool-9y1w2wds.js";
13
- import"./packager-tool-nj4seavy.js";
14
- import"./packager-tool-83v804p7.js";
15
- import"./packager-tool-hdxtgckw.js";
16
- import"./packager-tool-1yh8g550.js";
17
- export {
18
- DEFAULT_GROUP,
19
- VARIABLE_PLACEMENT,
20
- auditCaseplanAgainstSdd,
21
- bodySchemaIn,
22
- parseSddToJson
23
- };
24
-
25
- //# debugId=D231BBF376EF1F0E64756E2164756E21
@@ -1,15 +0,0 @@
1
- import {
2
- currentTriggers,
3
- entryPointIdOf,
4
- stampEntryPointIds,
5
- stampFromEntryPointsBeside
6
- } from "./packager-tool-2sn7d8fd.js";
7
- import"./packager-tool-1yh8g550.js";
8
- export {
9
- currentTriggers,
10
- entryPointIdOf,
11
- stampEntryPointIds,
12
- stampFromEntryPointsBeside
13
- };
14
-
15
- //# debugId=C21F2E1DD995ED8E64756E2164756E21