@uipath/flow-tool 1.206.0-preview.303 → 1.207.0-preview.305

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 (254) hide show
  1. package/README.md +2 -1
  2. package/dist/THIRD-PARTY-NOTICES.md +13 -13
  3. package/dist/{applicationinsights-web-8m26566f.js → applicationinsights-web-c6epsatg.js} +1 -1
  4. package/dist/{authoring-az69rn0j.js → authoring-f5ttjy3d.js} +5 -5
  5. package/dist/{binding-service-zg19e6vy.js → binding-service-qfbtg6qy.js} +37 -34
  6. package/dist/{browser-strategy-gnftxwsf.js → browser-strategy-1nk8hgcf.js} +1 -1
  7. package/dist/case-catalog-h4fjn6q3.js +304 -0
  8. package/dist/{connector-library-1yw5r47w.js → connector-library-844myxz2.js} +20 -6
  9. package/dist/{connector-service-e99tdk52.js → connector-service-8t5swsf9.js} +156 -76
  10. package/dist/{conversion-7O2PDOQB-2677ata3.js → conversion-A2KZVSOA-s70m4p50.js} +256 -90
  11. package/dist/{de-AI7ML6JM-km47f8k4.js → de-B6IFKV43-9sk50xx0.js} +164 -2
  12. package/dist/{de-2BEKRUMY-x4dx0nn9.js → de-HF4GJ4EK-NX7YTOSY-4f0r23sx.js} +1282 -10
  13. package/dist/{de-2BEKRUMY-MD7L477H-nan48spf.js → de-HF4GJ4EK-xrrajtht.js} +1277 -15
  14. package/dist/{de-VQWT6L5Y-mch4qwyv.js → de-IQ44WEAK-ayb953tp.js} +19 -4
  15. package/dist/{de-3CU65EDB-r7r10am9.js → de-T4OCQPNU-hrqdjart.js} +6 -6
  16. package/dist/{debug-conversation-trigger-62ebex43.js → debug-conversation-trigger-j20ms2xc.js} +4 -9
  17. package/dist/{debug-http-client-ykzhg1zx.js → debug-http-client-fypqjmfs.js} +6 -5
  18. package/dist/{debug-service-xq8vhrkq.js → debug-service-zv5hj0cx.js} +11 -6
  19. package/dist/{edge-service-ytvdz98e.js → edge-service-706zfmyb.js} +41 -31
  20. package/dist/{elk.bundled-phy0zc81.js → elk.bundled-pfmz610v.js} +1 -1
  21. package/dist/{en-LAVDF7IQ-ba7wzsxp.js → en-5JIPZTS5-v0f9wmd2.js} +4 -2
  22. package/dist/{en-X6T4SP2Y-FPGCJIFV-jgjgvnws.js → en-ETY46SDS-RI6EZCN6-g3n0v4ff.js} +67 -3
  23. package/dist/{en-X6T4SP2Y-xe57av1w.js → en-ETY46SDS-yfqhqvbx.js} +66 -2
  24. package/dist/{en-WPCQ4JKF-nr4tr5vp.js → en-JZXY3PYE-9q1q9w7h.js} +4 -4
  25. package/dist/{en-LQHKFSEY-vv8bbfdf.js → en-LQHKFSEY-j7gk3aaw.js} +1 -1
  26. package/dist/{en-U2NSIIZN-whenw6wh.js → en-T6VSEF3E-1hq4zfrt.js} +5 -3
  27. package/dist/{es-SPNKTD5Y-vw5cbgv5.js → es-AQW6PFIU-q2mz247f.js} +164 -2
  28. package/dist/{es-7ZTQTGKN-TXQBFYRA-n0bw44wg.js → es-IYP2OLUY-7SKYGF6A-jp5kcwrd.js} +1272 -11
  29. package/dist/{es-7ZTQTGKN-11sj0yjx.js → es-IYP2OLUY-98xsbyd5.js} +1271 -10
  30. package/dist/{es-MX-S2RFDGDE-x9r0tv30.js → es-MX-A2DFN7CA-q5m62f60.js} +19 -4
  31. package/dist/{es-MX-IHGRIEWH-23X37OPS-zmw94959.js → es-MX-D2MN3U37-0y5q0nbe.js} +1276 -15
  32. package/dist/{es-MX-IHGRIEWH-g63p0gb4.js → es-MX-D2MN3U37-D74A6FRL-1r3g7760.js} +1281 -10
  33. package/dist/{es-MX-7KJZPEQN-1fq0a9jr.js → es-MX-KWITVBWE-w49gknha.js} +164 -2
  34. package/dist/{es-MX-F7ZEHSNE-gxpm47vv.js → es-MX-YQNHSXDT-fd5ybreb.js} +6 -6
  35. package/dist/{es-EP563JWQ-1agj5n4e.js → es-TNUPGHGG-886me0sq.js} +19 -4
  36. package/dist/{es-KHVY67FO-natcvmmm.js → es-YHECPVFB-7jsrxa01.js} +6 -6
  37. package/dist/extraction-availability-service-h08mngty.js +343 -0
  38. package/dist/{flow-api-1hr7z6qc.js → flow-api-bmg7beey.js} +15 -12
  39. package/dist/{flow-debug-service-p5w8gj48.js → flow-debug-service-bppp59pe.js} +232 -156
  40. package/dist/flow-eval-node-target-hc9n1913.js +31 -0
  41. package/dist/flow-eval-run-api-g6sphtf3.js +11 -0
  42. package/dist/{flow-eval-run-service-ej6xg2jd.js → flow-eval-run-service-qdtz7ec7.js} +116 -119
  43. package/dist/{flow-eval-service-vf73ejad.js → flow-eval-service-mg7gveh3.js} +141 -337
  44. package/dist/{flow-init-sdk-source-vg1ckdrf.js → flow-init-sdk-source-t2q2w6v7.js} +5 -5
  45. package/dist/flow-init-service-0m5yp9fe.js +27 -0
  46. package/dist/flow-io-c8b17vbx.js +29 -0
  47. package/dist/{flow-migrate-service-fsxzyj9c.js → flow-migrate-service-a8s4rmq6.js} +20 -20
  48. package/dist/{flow-pack-service-09b385hw.js → flow-pack-service-jhr4rmsy.js} +89 -90
  49. package/dist/flow-validate-service-hpt8dqyr.js +49 -0
  50. package/dist/{fr-7LK3QUWT-a94yejcs.js → fr-EPBGOBOP-rs7qy97k.js} +19 -4
  51. package/dist/{fr-7ZDL4MVO-pd27vwh6.js → fr-NISALSPL-3ANDQPI3-993fw1pz.js} +1282 -10
  52. package/dist/{fr-7ZDL4MVO-CXMRZDOF-y6pa4ntx.js → fr-NISALSPL-vzfmygd7.js} +1277 -15
  53. package/dist/{fr-AXJGUT53-hdg3pmd4.js → fr-RNWK2TMC-dpyzj366.js} +164 -2
  54. package/dist/{fr-I42FODC5-p80x5v4b.js → fr-W3AFCEDL-cjfr0xqp.js} +6 -6
  55. package/dist/{governance-fetcher-v88cz998.js → governance-fetcher-hkm1hvn0.js} +7 -7
  56. package/dist/{headless-41t9wwb7.js → headless-23ywyx9h.js} +390 -195
  57. package/dist/{hitl-service-5symf9as.js → hitl-service-hs54d6tt.js} +11 -11
  58. package/dist/index-7enyyjxr.js +161 -0
  59. package/dist/{index-wss1mf5j.js → index-b02kt4sx.js} +114 -68
  60. package/dist/{index-qjarp6ky.js → index-cg965dhq.js} +34 -27
  61. package/dist/{index-t2f7scza.js → index-db1djbzm.js} +12 -8
  62. package/dist/{index-r44xc976.js → index-eyjrdzgx.js} +5 -5
  63. package/dist/{index-7fet3f0s.js → index-h67w2p9p.js} +3 -3
  64. package/dist/{index-f5kq7265.js → index-r6crd7tx.js} +6 -4
  65. package/dist/{index-ng011fzs.js → index-r6y07e14.js} +94 -74
  66. package/dist/{index-5pzp2qeb.js → index-v3w1930f.js} +18 -18
  67. package/dist/{index-d4bdedx3.js → index-ynw2efd8.js} +6 -4
  68. package/dist/{index-2methrrt.js → index-zemcat7k.js} +13 -11
  69. package/dist/index.js +16 -14
  70. package/dist/{index.umd.min-ttg1qc0x.js → index.umd.min-5yxdz5j3.js} +1 -1
  71. package/dist/init.js +18 -17
  72. package/dist/{inline-entity-resolver-pya7frj9.js → inline-entity-resolver-9esjm2e7.js} +11 -11
  73. package/dist/input-reader-3zvbsn6a.js +12 -0
  74. package/dist/integration-service-fetcher-h6er48b7.js +65 -0
  75. package/dist/{ja-C7GZV6YP-hvtbngr5.js → ja-DH4I3GEF-ywyhhppa.js} +164 -2
  76. package/dist/{ja-LGAM5HKR-sgrtjqjh.js → ja-HTS2Q4YG-4ahnq47y.js} +1277 -10
  77. package/dist/{ja-LGAM5HKR-NTPKIZEM-mrdn9rvy.js → ja-HTS2Q4YG-7Q6WUI6H-6e5nzy0t.js} +1278 -11
  78. package/dist/{ja-WY2W6733-ayr36h1f.js → ja-HWFIXC2V-gg9xvhsv.js} +19 -4
  79. package/dist/{ja-GI3OUHPZ-28fy60r0.js → ja-WOANIGX4-qnyzk2t8.js} +6 -6
  80. package/dist/{jmespath-wwym30dp.js → jmespath-dbsejrwn.js} +1 -1
  81. package/dist/json-input-pj18qjt0.js +17 -0
  82. package/dist/{known-types-v9sxcq1c.js → known-types-pen5h5kz.js} +4 -4
  83. package/dist/{ko-7B4SUZB7-2SLI636D-479c9akr.js → ko-3JFGTMNY-VT6UQ3IS-5a2hnf97.js} +1272 -11
  84. package/dist/{ko-7B4SUZB7-c8wr20sc.js → ko-3JFGTMNY-qnf1bnef.js} +1271 -10
  85. package/dist/{ko-H2RGQWKJ-9696w762.js → ko-L3BMYD3Q-exfhqfbh.js} +19 -4
  86. package/dist/{ko-Q24HSSL4-5vn55pte.js → ko-R5BCWVO7-whzgmh6q.js} +164 -2
  87. package/dist/{ko-RYKAL74T-10m4z8vw.js → ko-RMOVRC7M-whyynn7n.js} +6 -6
  88. package/dist/library-option-9fqvdh8v.js +14 -0
  89. package/dist/localization-axzmx1mb.js +45 -0
  90. package/dist/{maestro-automate-entry-d1v5q5mv.js → maestro-automate-entry-mrap5xmt.js} +2 -2
  91. package/dist/manifest-hmeqvk74.js +60 -0
  92. package/dist/node-service-bq7m24js.js +65 -0
  93. package/dist/{node-strategy-wrjxmbzt.js → node-strategy-2r78gtca.js} +2 -2
  94. package/dist/{node-sync-service-z3gjn1a6.js → node-sync-service-6v7j8m4p.js} +22 -15
  95. package/dist/node-xzwyr0mf.js +172 -0
  96. package/dist/{packager-tool-h44jmvjd.js → packager-tool-0g2grsn8.js} +2 -2
  97. package/dist/packager-tool-0x8g8b5r.js +25 -0
  98. package/dist/packager-tool-13mmsykc.js +125 -0
  99. package/dist/{packager-tool-vgrswa8p.js → packager-tool-1db1wqdy.js} +30 -8
  100. package/dist/packager-tool-1yew22sn.js +9 -0
  101. package/dist/packager-tool-2devymwf.js +423 -0
  102. package/dist/{packager-tool-14rdgz3c.js → packager-tool-3sxg16ft.js} +7 -7
  103. package/dist/packager-tool-40bxn7j2.js +63 -0
  104. package/dist/{packager-tool-6an893wm.js → packager-tool-4f4jp7ez.js} +3 -3
  105. package/dist/{packager-tool-pxq0bwp0.js → packager-tool-4hn7v05x.js} +16 -9
  106. package/dist/packager-tool-4skf6ak1.js +31 -0
  107. package/dist/{packager-tool-951nhh3e.js → packager-tool-5n1v6y3q.js} +1 -1
  108. package/dist/{packager-tool-2b0tn4p4.js → packager-tool-6azsz9h8.js} +7 -7
  109. package/dist/{packager-tool-54jdtyk4.js → packager-tool-7d6y5paj.js} +11 -11
  110. package/dist/{packager-tool-ac6rvny7.js → packager-tool-7re5d8aq.js} +1139 -466
  111. package/dist/{packager-tool-6an563h8.js → packager-tool-7wpb19zf.js} +10 -3
  112. package/dist/packager-tool-9tv5cyhr.js +16 -0
  113. package/dist/{packager-tool-7atc775f.js → packager-tool-ajx79m52.js} +1 -1
  114. package/dist/{packager-tool-96es3aqy.js → packager-tool-asfftv7z.js} +330 -902
  115. package/dist/{packager-tool-zx162jbb.js → packager-tool-b0prefcm.js} +489 -118
  116. package/dist/packager-tool-bbq5kbb9.js +318 -0
  117. package/dist/{packager-tool-xhrm7cgz.js → packager-tool-bcsjm5hv.js} +470 -315
  118. package/dist/{packager-tool-xdaxdc00.js → packager-tool-bn09xgy8.js} +14 -14
  119. package/dist/{packager-tool-1qg04b7q.js → packager-tool-bzcphfa8.js} +4 -2
  120. package/dist/{node-vz9f9wqw.js → packager-tool-cpbsp04w.js} +189 -285
  121. package/dist/{packager-tool-gdpw0daf.js → packager-tool-dmhmcav3.js} +3773 -2625
  122. package/dist/{packager-tool-m1y5ah6s.js → packager-tool-f3htkspn.js} +215 -233
  123. package/dist/{packager-tool-710j2ga4.js → packager-tool-f4pvpaw2.js} +1123 -295
  124. package/dist/packager-tool-geh2qybm.js +179 -0
  125. package/dist/{packager-tool-1rhch6b5.js → packager-tool-gjjr2a2w.js} +66 -19
  126. package/dist/packager-tool-h0gzqmya.js +224 -0
  127. package/dist/packager-tool-h9f2vjwg.js +40 -0
  128. package/dist/{packager-tool-ndenq8jp.js → packager-tool-jf4m7sqc.js} +23 -9
  129. package/dist/{packager-tool-swn9mp69.js → packager-tool-jghqgdmm.js} +228 -487
  130. package/dist/{packager-tool-64r7e4ek.js → packager-tool-jjnfwfd4.js} +2 -2
  131. package/dist/packager-tool-kh1taypp.js +41 -0
  132. package/dist/{packager-tool-pdt4jmnw.js → packager-tool-m2h98d2z.js} +246 -61
  133. package/dist/packager-tool-m8avdf10.js +1060 -0
  134. package/dist/{packager-tool-g18z2qds.js → packager-tool-ma1z6nqe.js} +2 -2
  135. package/dist/{packager-tool-9m5vba43.js → packager-tool-md1vcqh4.js} +233 -14
  136. package/dist/{packager-tool-4g87fbz6.js → packager-tool-mm6a12y4.js} +8 -8
  137. package/dist/{packager-tool-2n6eg5eq.js → packager-tool-mvzswn9n.js} +134 -68
  138. package/dist/packager-tool-p8ncdnsj.js +30 -0
  139. package/dist/{packager-tool-vdp3s2fb.js → packager-tool-px52tjy2.js} +9 -7
  140. package/dist/{packager-tool-rfs464c3.js → packager-tool-qf08dexq.js} +584 -651
  141. package/dist/{packager-tool-m126jzdd.js → packager-tool-qkdbfkev.js} +14 -11
  142. package/dist/{packager-tool-7mxn3e7j.js → packager-tool-qtz83h01.js} +4 -2
  143. package/dist/{packager-tool-hk0fnvz5.js → packager-tool-qx8wvedy.js} +1 -1
  144. package/dist/{packager-tool-q2kwk5bf.js → packager-tool-qyhvgenw.js} +6 -4
  145. package/dist/{packager-tool-6pyaaxzk.js → packager-tool-rcjtmknf.js} +351 -42
  146. package/dist/packager-tool-swvgkcq7.js +5973 -0
  147. package/dist/{packager-tool-fzgfb0jt.js → packager-tool-t0e7fvqz.js} +1228 -759
  148. package/dist/{packager-tool-p123mtfx.js → packager-tool-tgawhrva.js} +58 -16
  149. package/dist/{packager-tool-s4zvbgvd.js → packager-tool-tm4d12jb.js} +15328 -7171
  150. package/dist/{packager-tool-8ra2qxqe.js → packager-tool-v7gxvkpx.js} +13 -13
  151. package/dist/{packager-tool-yewnsyag.js → packager-tool-vg16h3pk.js} +80 -6
  152. package/dist/packager-tool-w2eqf95v.js +16 -0
  153. package/dist/packager-tool-wvf6b31h.js +50 -0
  154. package/dist/{packager-tool-ejvmkxgg.js → packager-tool-wz5zmx67.js} +10 -10
  155. package/dist/packager-tool-xgh2t48c.js +255 -0
  156. package/dist/{packager-tool-w9bkq7zb.js → packager-tool-xgvp8a8g.js} +10 -10
  157. package/dist/{packager-tool-sehmpn8j.js → packager-tool-y84mhf89.js} +8 -8
  158. package/dist/packager-tool-ys7jsqhg.js +184 -0
  159. package/dist/{packager-tool-ze3fnf3s.js → packager-tool-zap4kd3z.js} +7 -2
  160. package/dist/{packager-tool-6g2ex7yf.js → packager-tool-zgm6kh18.js} +21 -21
  161. package/dist/{packager-tool-dr3zc9n9.js → packager-tool-zgzpqfcs.js} +13 -6
  162. package/dist/packager-tool.js +9 -9
  163. package/dist/{prepare-uip-ad7mfs8t.js → prepare-uip-8frvq826.js} +39 -6
  164. package/dist/provision-node-service-sxnfgrwy.js +86 -0
  165. package/dist/{pt-2RGHDOG4-gwe2ptvg.js → pt-6RCFX6CY-v42k92ey.js} +19 -4
  166. package/dist/{pt-BR-BIUJXIPU-2sqzhr8y.js → pt-BR-6TBBEDQS-y3f2vg5d.js} +164 -2
  167. package/dist/{pt-BR-PHLFHMXZ-JFPKUXIZ-1k5yafmz.js → pt-BR-7H7BP5DT-IOHWNCIU-pbdnhe7r.js} +1277 -11
  168. package/dist/{pt-BR-PHLFHMXZ-n6de4s7z.js → pt-BR-7H7BP5DT-z2e5aaj1.js} +1276 -10
  169. package/dist/{pt-BR-JWHVZE6H-gvkknv49.js → pt-BR-HDVM5NFA-azfx4gg9.js} +19 -4
  170. package/dist/{pt-BR-IL3KLBID-m1mvqqzb.js → pt-BR-HJIMGPPX-s18rb4vg.js} +6 -6
  171. package/dist/{pt-VLA5IOHO-8t4pze0h.js → pt-DZG5FPWK-6czrqk2t.js} +6 -6
  172. package/dist/{pt-N7ZTJT4W-GVODJMRX-jge952w8.js → pt-QWGSZKMD-RTKSQCYA-80hp6e1q.js} +1272 -11
  173. package/dist/{pt-N7ZTJT4W-d6c67xcn.js → pt-QWGSZKMD-m50nrkx8.js} +1271 -10
  174. package/dist/{pt-MHX6JGAX-xfgvdqwg.js → pt-ZSQC5RZ3-8kp3g1z5.js} +164 -2
  175. package/dist/{ro-FLNXVYJI-ZN43XZKK-bmkd7d2n.js → ro-B7G474JK-9k2jjk88.js} +1271 -15
  176. package/dist/{ro-FLNXVYJI-ytrwabg2.js → ro-B7G474JK-Q3BAA4S3-t47bbx2a.js} +1276 -10
  177. package/dist/{ro-53TS7SWG-hnjx1c7b.js → ro-EEKX2X3R-tz9prn67.js} +19 -4
  178. package/dist/{ro-3RKJNGJZ-xqj14e3d.js → ro-P33AQ6ZL-s92z1mgg.js} +164 -2
  179. package/dist/{ro-IRNFX376-mh84zk3n.js → ro-SX7RUXGR-kknxsr3g.js} +6 -6
  180. package/dist/ru-FNRVPXE5-7q150qf8.js +7 -0
  181. package/dist/ru-GSCT4ARZ-6OTD7JLB-cdcpfwx0.js +12 -0
  182. package/dist/schema-document-service-mknqzg7e.js +30 -0
  183. package/dist/{serialization-Z3UYT6BW-e1ks0ytt.js → serialization-7CB4AREI-6b7ng26y.js} +482 -6161
  184. package/dist/services/binding-id-rule.d.ts +13 -0
  185. package/dist/services/binding-resource-types.d.ts +12 -0
  186. package/dist/services/extract-schema/default-schema-document.d.ts +9 -4
  187. package/dist/services/extract-schema/types.d.ts +73 -0
  188. package/dist/services/extract-schema/validate-schema-document.d.ts +75 -0
  189. package/dist/services/flow-scopes.d.ts +15 -0
  190. package/dist/services/flow-structure-checks.d.ts +8 -0
  191. package/dist/services/flow-validate-service.d.ts +44 -11
  192. package/dist/services/idp-processor-provisioning.d.ts +35 -0
  193. package/dist/services/node-service.d.ts +17 -23
  194. package/dist/services/node-validators/extract-schema-validator.d.ts +13 -0
  195. package/dist/services/node-validators/index.d.ts +1 -0
  196. package/dist/services/node-validators/js-expression-syntax-validator.d.ts +2 -1
  197. package/dist/services/node-validators/types.d.ts +2 -7
  198. package/dist/services/vars-reference-rule.d.ts +6 -0
  199. package/dist/solution-auth-k0s83ake.js +11 -0
  200. package/dist/{solution-discovery-wwwynadq.js → solution-discovery-v5qatmz2.js} +7 -7
  201. package/dist/taggable-variables-nc8td6er.js +134 -0
  202. package/dist/{tidy-service-0xqfd039.js → tidy-service-rsxb2h63.js} +17 -18
  203. package/dist/tool.js +16 -14
  204. package/dist/{tr-PIQY7JIT-2mkwk0kq.js → tr-B6TLBSLH-1797wxkh.js} +19 -4
  205. package/dist/{tr-7AIZZWZ6-pdzp9n0p.js → tr-FX7WCKK2-CEOTUJRD-5ctjnkng.js} +1276 -10
  206. package/dist/{tr-7AIZZWZ6-ESAESUPL-0ehs3crp.js → tr-FX7WCKK2-x3rx9fjt.js} +1271 -15
  207. package/dist/{tr-EJKY7DVQ-rkctqva4.js → tr-OUB57VJ6-52t7zdzb.js} +6 -6
  208. package/dist/{tr-PQLUUHPC-qsb7btxn.js → tr-XD73CQAA-tb2nrpyp.js} +164 -2
  209. package/dist/utils/handle-expansion.d.ts +2 -2
  210. package/dist/validation.js +42 -39
  211. package/dist/{variable-service-wek1apw7.js → variable-service-95j5nyjh.js} +17 -12
  212. package/dist/{wait-for-flow-job-vy4t4tbj.js → wait-for-flow-job-k990nmdn.js} +15 -12
  213. package/dist/{zh-CN-NIEVKROA-q4tbbwqz.js → zh-CN-7KN22KSH-mwvgyym6.js} +19 -4
  214. package/dist/{zh-CN-4FH7E7UL-84y6j2ea.js → zh-CN-FKWWWLFR-n15rj6p8.js} +6 -6
  215. package/dist/{zh-CN-OHNTHZRI-b0hjkfqn.js → zh-CN-GWP3B2EM-c07fm17a.js} +164 -2
  216. package/dist/{zh-CN-CN2ARPFS-e0p2qrxf.js → zh-CN-NCMB6YM5-BB2LRIMQ-phrmedm3.js} +1276 -10
  217. package/dist/{zh-CN-CN2ARPFS-NIQTWDK2-zmcqpd02.js → zh-CN-NCMB6YM5-drw9bnxg.js} +1271 -15
  218. package/dist/{zh-TW-E4D3Y6ZR-tn3bmzz5.js → zh-TW-2DLUOA7C-9khqnr4r.js} +164 -2
  219. package/dist/{zh-TW-5WQA6QTM-hns69sd4.js → zh-TW-52QTEYIZ-2mj7hy3e.js} +6 -6
  220. package/dist/{zh-TW-MSQM7YTT-m7r7nwnj.js → zh-TW-I7BH3XP2-7rb4xpzg.js} +19 -4
  221. package/dist/{zh-TW-7RUFEVFK-VKVRSVTP-dg651ga1.js → zh-TW-UNIEJPLE-4vxzbphe.js} +1272 -16
  222. package/dist/{zh-TW-7RUFEVFK-qd7myw31.js → zh-TW-UNIEJPLE-ECGOEPYS-xxye2kfv.js} +1277 -11
  223. package/package.json +2 -2
  224. package/dist/flow-eval-node-target-xxzqch9z.js +0 -29
  225. package/dist/flow-eval-run-api-w4j8ra60.js +0 -9
  226. package/dist/flow-init-service-1zyc9wcd.js +0 -26
  227. package/dist/flow-io-27atafz4.js +0 -24
  228. package/dist/flow-validate-service-6erwscc6.js +0 -46
  229. package/dist/input-reader-jjq3r7ry.js +0 -11
  230. package/dist/localization-erchshqr.js +0 -45
  231. package/dist/node-service-qtpqs5en.js +0 -64
  232. package/dist/packager-tool-2sazb7th.js +0 -2
  233. package/dist/packager-tool-9217bxm2.js +0 -6
  234. package/dist/packager-tool-cvh1a0nm.js +0 -16
  235. package/dist/packager-tool-d07g2kpn.js +0 -25
  236. package/dist/packager-tool-f7rk9xhv.js +0 -50
  237. package/dist/packager-tool-f9mgybn8.js +0 -18
  238. package/dist/packager-tool-jd3v0bh1.js +0 -26
  239. package/dist/packager-tool-k3egwd1m.js +0 -15
  240. package/dist/packager-tool-q0f1dvtd.js +0 -40
  241. package/dist/packager-tool-q756a7tg.js +0 -56
  242. package/dist/packager-tool-wr7gn964.js +0 -2
  243. package/dist/packager-tool-zw2zy3h2.js +0 -461
  244. package/dist/ru-GSCT4ARZ-FTVCGQTL-p9re6ys2.js +0 -12
  245. package/dist/ru-T73OPRTC-50m7tty9.js +0 -7
  246. package/dist/services/connector-request-buckets.d.ts +0 -1
  247. package/dist/services/flow-eval-file-store.d.ts +0 -1
  248. package/dist/services/inline-entity-resolver.d.ts +0 -22
  249. package/dist/services/packaging-utils.d.ts +0 -130
  250. package/dist/services/preview-id-rule.d.ts +0 -33
  251. package/dist/services/ui-only-node-types.d.ts +0 -1
  252. package/dist/solution-auth-j8x84n5z.js +0 -11
  253. package/dist/utils/flow-io.d.ts +0 -19
  254. package/dist/utils/workflow-file-format.d.ts +0 -14
package/README.md CHANGED
@@ -21,7 +21,7 @@ uip maestro flow init <projectName> [--force]
21
21
  Validate a `.flow` file against the Flow schema (Zod-based) with structural cross-field checks.
22
22
 
23
23
  ```bash
24
- uip maestro flow validate <flow-file>
24
+ uip maestro flow validate [flow-file]
25
25
  ```
26
26
 
27
27
  ### `flow pack`
@@ -226,6 +226,7 @@ uip maestro flow registry pull --force # bypass 30-minute cache, always refres
226
226
  **Cache behaviour:**
227
227
 
228
228
  - Cache expires after 30 minutes. Expired or missing cache triggers a live fetch.
229
+ - A `get` or `search` that finds nothing in a fresh cache refetches once and looks again, so a process, API workflow, agent or IXP model published since the last pull is found without `--force`. For a node type not built from the connector catalog (anything but `uipath.connector.*` and the agent-tool `uipath.agent.resource.tool.connector.*`) only the tenant's own resources are refetched; the connector catalog is reused from the last pull, which saves it separately for that tenant, and the cache keeps the catalog's age, so it still expires 30 minutes after the catalog was fetched. A miss refreshes at most once a minute per tenant, and a refresh that comes back without a source keeps the cache it had.
229
230
  - The cache belongs to the tenant it was fetched for. `list`, `search` and `get` on another tenant fetch that tenant's nodes instead (and replace the cache).
230
231
  - When not logged in, OOTB nodes are returned without reading or updating the cache.
231
232
  - If an authenticated manifest request fails, `pull` returns OOTB nodes without updating the cache. `list` and `search` fail with a retryable error; `get` does too for tenant nodes, while still serving OOTB nodes.
@@ -13,11 +13,11 @@ those licences require.
13
13
  - @uipath/agents-storage-schemas@1.42.0 — SEE LICENSE IN LICENSE.txt
14
14
  - @uipath/bpmn-auto-layout@1.0.16 — MIT
15
15
  - @uipath/entity-modeler@1.12.1 — SEE LICENSE IN LICENSE.txt
16
- - @uipath/flow-converter@0.100.3 — MIT
17
- - @uipath/flow-core@0.160.0 — MIT
18
- - @uipath/flow-expression-model@0.20.6 — MIT
19
- - @uipath/flow-migrations@0.92.0 — MIT
20
- - @uipath/flow-schema@0.124.0 — MIT
16
+ - @uipath/flow-converter@0.108.0 — MIT
17
+ - @uipath/flow-core@0.172.0 — MIT
18
+ - @uipath/flow-expression-model@0.22.4 — MIT
19
+ - @uipath/flow-migrations@0.102.0 — MIT
20
+ - @uipath/flow-schema@0.135.1 — MIT
21
21
  - @uipath/integration-service-design-time@3.3.0 — SEE LICENSE IN LICENSE.txt
22
22
  - @uipath/resource-builder-sdk@2026.11.0-alpha0531-4969 — ISC
23
23
  - @uipath/tool-agent@2.0.0 — see below
@@ -60,9 +60,9 @@ those licences require.
60
60
  - run-applescript@7.1.0 — MIT
61
61
  - rxjs@7.8.2 — Apache-2.0
62
62
  - saxen@10.0.0 — MIT
63
- - semver@7.8.0 — ISC
64
63
  - semver@7.7.4 — ISC
65
64
  - semver@7.8.0 — ISC
65
+ - semver@7.8.0 — ISC
66
66
  - tslib@1.14.1 — 0BSD
67
67
  - tsup@8.5.1 — MIT
68
68
  - tsyringe@4.10.0 — MIT
@@ -407,7 +407,7 @@ Use of this product is subject (a) to the applicable licensing agreement availab
407
407
 
408
408
  ---
409
409
 
410
- ## @uipath/flow-converter@0.100.3
410
+ ## @uipath/flow-converter@0.108.0
411
411
 
412
412
  SPDX: MIT
413
413
 
@@ -417,7 +417,7 @@ applies, with copyright held by the package's authors.
417
417
 
418
418
  ---
419
419
 
420
- ## @uipath/flow-core@0.160.0
420
+ ## @uipath/flow-core@0.172.0
421
421
 
422
422
  SPDX: MIT
423
423
 
@@ -427,7 +427,7 @@ applies, with copyright held by the package's authors.
427
427
 
428
428
  ---
429
429
 
430
- ## @uipath/flow-expression-model@0.20.6
430
+ ## @uipath/flow-expression-model@0.22.4
431
431
 
432
432
  Copyright notices from the source file headers, which the
433
433
  bundle does not keep:
@@ -445,7 +445,7 @@ applies, with copyright held by the package's authors.
445
445
 
446
446
  ---
447
447
 
448
- ## @uipath/flow-migrations@0.92.0
448
+ ## @uipath/flow-migrations@0.102.0
449
449
 
450
450
  SPDX: MIT
451
451
 
@@ -455,7 +455,7 @@ applies, with copyright held by the package's authors.
455
455
 
456
456
  ---
457
457
 
458
- ## @uipath/flow-schema@0.124.0
458
+ ## @uipath/flow-schema@0.135.1
459
459
 
460
460
  SPDX: MIT
461
461
 
@@ -2068,7 +2068,7 @@ SOFTWARE.
2068
2068
 
2069
2069
  ---
2070
2070
 
2071
- ## semver@7.8.0
2071
+ ## semver@7.7.4
2072
2072
 
2073
2073
  SPDX: ISC
2074
2074
 
@@ -2092,7 +2092,7 @@ IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
2092
2092
 
2093
2093
  ---
2094
2094
 
2095
- ## semver@7.7.4
2095
+ ## semver@7.8.0
2096
2096
 
2097
2097
  SPDX: ISC
2098
2098
 
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __commonJS
3
- } from "./packager-tool-6an893wm.js";
3
+ } from "./packager-tool-4f4jp7ez.js";
4
4
 
5
5
  // ../../node_modules/@microsoft/applicationinsights-web/dist/es5/applicationinsights-web.js
6
6
  var require_applicationinsights_web = __commonJS(function(exports, module) {
@@ -1,13 +1,13 @@
1
- import"./packager-tool-vgrswa8p.js";
2
- import"./packager-tool-pxq0bwp0.js";
3
- import"./packager-tool-xhrm7cgz.js";
1
+ import"./packager-tool-1db1wqdy.js";
2
+ import"./packager-tool-4hn7v05x.js";
3
+ import"./packager-tool-bcsjm5hv.js";
4
4
  import {
5
5
  registerCheckCommand2,
6
6
  registerCompileCommand2,
7
7
  registerDecompileCommand2,
8
8
  registerMergeCommand2
9
- } from "./packager-tool-pdt4jmnw.js";
10
- import"./packager-tool-64r7e4ek.js";
9
+ } from "./packager-tool-m2h98d2z.js";
10
+ import"./packager-tool-jjnfwfd4.js";
11
11
 
12
12
  // src/commands/authoring.ts
13
13
  var registerFlowAuthoringCommands = (program) => {
@@ -1,47 +1,50 @@
1
- import"./packager-tool-fzgfb0jt.js";
1
+ import"./packager-tool-t0e7fvqz.js";
2
2
  import {
3
3
  createBinding2,
4
4
  addBinding2
5
- } from "./packager-tool-2b0tn4p4.js";
6
- import"./packager-tool-ze3fnf3s.js";
5
+ } from "./packager-tool-6azsz9h8.js";
6
+ import"./packager-tool-1db1wqdy.js";
7
+ import"./packager-tool-4hn7v05x.js";
8
+ import"./packager-tool-bcsjm5hv.js";
9
+ import"./packager-tool-zap4kd3z.js";
7
10
  import {
8
- allNodesOf
9
- } from "./packager-tool-s4zvbgvd.js";
10
- import"./packager-tool-vgrswa8p.js";
11
- import"./packager-tool-pxq0bwp0.js";
12
- import"./packager-tool-xhrm7cgz.js";
11
+ allNodesOf2
12
+ } from "./packager-tool-tm4d12jb.js";
13
13
  import {
14
14
  readFlowWorkflow2,
15
15
  writeFlowWorkflow2
16
- } from "./packager-tool-q756a7tg.js";
17
- import"./packager-tool-gdpw0daf.js";
18
- import"./packager-tool-96es3aqy.js";
19
- import"./packager-tool-m1y5ah6s.js";
20
- import"./packager-tool-1qg04b7q.js";
21
- import"./packager-tool-p123mtfx.js";
22
- import"./packager-tool-dr3zc9n9.js";
23
- import"./packager-tool-6pyaaxzk.js";
16
+ } from "./packager-tool-h9f2vjwg.js";
17
+ import"./packager-tool-dmhmcav3.js";
18
+ import"./packager-tool-gjjr2a2w.js";
19
+ import"./packager-tool-wz5zmx67.js";
20
+ import"./packager-tool-asfftv7z.js";
21
+ import"./packager-tool-bzcphfa8.js";
22
+ import"./packager-tool-tgawhrva.js";
23
+ import"./packager-tool-f3htkspn.js";
24
+ import"./packager-tool-wvf6b31h.js";
25
+ import"./packager-tool-zgzpqfcs.js";
26
+ import"./packager-tool-rcjtmknf.js";
27
+ import"./packager-tool-xgvp8a8g.js";
24
28
  import"./packager-tool-xb16e3tz.js";
25
- import"./packager-tool-d07g2kpn.js";
26
- import"./packager-tool-xdaxdc00.js";
27
- import"./packager-tool-9m5vba43.js";
28
- import"./packager-tool-710j2ga4.js";
29
- import"./packager-tool-1rhch6b5.js";
30
- import"./packager-tool-ejvmkxgg.js";
31
- import"./packager-tool-ac6rvny7.js";
29
+ import"./packager-tool-4skf6ak1.js";
30
+ import"./packager-tool-bn09xgy8.js";
31
+ import"./packager-tool-m8avdf10.js";
32
+ import"./packager-tool-md1vcqh4.js";
33
+ import"./packager-tool-f4pvpaw2.js";
34
+ import"./packager-tool-7re5d8aq.js";
32
35
  import {
33
36
  collectNodeBindingResourceKeys2
34
- } from "./packager-tool-swn9mp69.js";
37
+ } from "./packager-tool-jghqgdmm.js";
38
+ import"./packager-tool-ys7jsqhg.js";
39
+ import"./packager-tool-13mmsykc.js";
40
+ import"./packager-tool-jjnfwfd4.js";
35
41
  import {
36
42
  VALID_RESOURCE_TYPES
37
- } from "./packager-tool-k3egwd1m.js";
38
- import"./packager-tool-2sazb7th.js";
39
- import"./packager-tool-64r7e4ek.js";
40
- import"./packager-tool-w9bkq7zb.js";
41
- import"./packager-tool-14rdgz3c.js";
42
- import"./packager-tool-jd3v0bh1.js";
43
- import"./packager-tool-4g87fbz6.js";
44
- import"./packager-tool-6an563h8.js";
43
+ } from "./packager-tool-9tv5cyhr.js";
44
+ import"./packager-tool-3sxg16ft.js";
45
+ import"./packager-tool-mm6a12y4.js";
46
+ import"./packager-tool-7wpb19zf.js";
47
+ import"./packager-tool-40bxn7j2.js";
45
48
 
46
49
  // src/services/binding-service.ts
47
50
  function toBindingSummary(binding) {
@@ -88,7 +91,7 @@ var deleteBindingFromFlow = async (filePath, resourceKey) => {
88
91
  const available = [...new Set(bindings.map((b) => b.resourceKey))].join(", ") || "(none)";
89
92
  throw new Error(`No bindings found with resourceKey "${resourceKey}". Available resourceKeys: ${available}`);
90
93
  }
91
- const nodes = allNodesOf(workflow);
94
+ const nodes = allNodesOf2(workflow);
92
95
  const definitions = workflow.definitions ?? [];
93
96
  const referencingNodeIds = [];
94
97
  for (const node of nodes) {
@@ -111,4 +114,4 @@ export {
111
114
  listBindingsInFlow
112
115
  };
113
116
 
114
- //# debugId=B50E4FE672A0DD1D64756E2164756E21
117
+ //# debugId=DA20FC30D267349564756E2164756E21
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  AUTH_CANCELLED_ERROR_CODE
3
- } from "./packager-tool-1qg04b7q.js";
3
+ } from "./packager-tool-bzcphfa8.js";
4
4
  import {
5
5
  getGlobalThis
6
6
  } from "./packager-tool-zdqbp34f.js";
@@ -0,0 +1,304 @@
1
+ import {
2
+ declareVariable,
3
+ uniqueCatalog
4
+ } from "./packager-tool-geh2qybm.js";
5
+
6
+ // ../maestro-sdk/src/variable-tags/case-catalog.ts
7
+ var METADATA_GROUP = "Case instance metadata";
8
+ var STAGE_TYPES = new Set([
9
+ "case-management:Stage",
10
+ "case-management:ExceptionStage"
11
+ ]);
12
+ var isRecord = (value) => value !== null && typeof value === "object" && !Array.isArray(value);
13
+ function toCanvas(document) {
14
+ const parsed = typeof document === "string" ? JSON.parse(document) : document;
15
+ if (!isRecord(parsed)) {
16
+ throw new Error("The case definition is not a JSON object.");
17
+ }
18
+ const nodes = parsed.nodes ?? [];
19
+ const edges = parsed.edges ?? [];
20
+ if (isRecord(parsed.root)) {
21
+ const root = parsed.root;
22
+ return {
23
+ root,
24
+ nodes,
25
+ edges,
26
+ bindings: root.data?.uipath?.bindings ?? []
27
+ };
28
+ }
29
+ const metadata = isRecord(parsed.metadata) ? parsed.metadata : {};
30
+ const bindings = parsed.bindings ?? [];
31
+ const name = typeof parsed.name === "string" ? parsed.name : undefined;
32
+ const root = {
33
+ id: "root",
34
+ name,
35
+ data: {
36
+ label: name,
37
+ slaRules: metadata.slaRules,
38
+ uipath: {
39
+ bindings,
40
+ variables: parsed.variables ?? {}
41
+ }
42
+ },
43
+ caseExitConditions: metadata.caseExitRules,
44
+ allowAdhocOptionalStageTasks: metadata.allowAdhocOptionalStageTasks === true
45
+ };
46
+ return { root, nodes, edges, bindings };
47
+ }
48
+ var stripExpression = (value) => value.replace(/^=/, "");
49
+ var isOwnOutput = (output) => !output.originalVar || output.var === output.id;
50
+ var withShownName = (output) => output.renamed ? { ...output, name: output.displayName ?? output.name } : output;
51
+ function sourceVariable(output) {
52
+ const id = stripExpression(output.id ?? "");
53
+ if (id.length === 0 && output.var?.length)
54
+ return;
55
+ if (id.startsWith("vars.") || id.startsWith("bindings."))
56
+ return;
57
+ return { ...output, id, type: output.type ?? "string" };
58
+ }
59
+ function addVariables(map, ownerKey, outputs, options = {}) {
60
+ for (const raw of outputs ?? []) {
61
+ if (options.own && !isOwnOutput(raw))
62
+ continue;
63
+ if (options.onlyOwnedBy !== undefined && raw.elementId && raw.elementId !== options.onlyOwnedBy) {
64
+ continue;
65
+ }
66
+ const variable = sourceVariable(options.own ? withShownName(raw) : raw);
67
+ if (!variable)
68
+ continue;
69
+ const key = variable.elementId ?? ownerKey;
70
+ const inElement = map.get(key) ?? new Map;
71
+ const existing = inElement.get(variable.id ?? "");
72
+ if (existing && existing.id === variable.var)
73
+ continue;
74
+ inElement.set(variable.id ?? "", variable);
75
+ map.set(key, inElement);
76
+ }
77
+ }
78
+ var flatRules = (conditions) => (conditions ?? []).flatMap((condition) => (condition.rules ?? []).flatMap((set) => set));
79
+ var taskKey = (stageId, task) => `${stageId}-${task.id ?? ""}`;
80
+ function addRuleVariables(map, elementId, rules) {
81
+ for (const rule of rules) {
82
+ const key = `${elementId}-${rule.id ?? ""}`;
83
+ addVariables(map, key, rule.uipath?.outputs, {
84
+ own: true,
85
+ onlyOwnedBy: key
86
+ });
87
+ }
88
+ }
89
+ var isStage = (element) => STAGE_TYPES.has(element.type ?? "");
90
+ var isTrigger = (element) => element.type === "case-management:Trigger" || element.type === "uipath.case.trigger";
91
+ function ownElementOutputs(element) {
92
+ const isTriggerNode = isTrigger(element);
93
+ const bag = element.type === "uipath.case.trigger" ? element.data?.inputs : element.data?.uipath;
94
+ if (bag?.inputOutputs)
95
+ return bag.inputOutputs;
96
+ const outputs = bag?.outputs ?? [];
97
+ return isTriggerNode ? outputs.filter(isOwnOutput).map(withShownName) : outputs;
98
+ }
99
+ function buildVariablesMap(canvas) {
100
+ const { root, nodes, edges } = canvas;
101
+ const map = new Map;
102
+ addVariables(map, root.id, root.data?.uipath?.variables?.inputOutputs);
103
+ addRuleVariables(map, root.id, flatRules(root.caseExitConditions));
104
+ const addTask = (stageId, task) => {
105
+ const key = taskKey(stageId, task);
106
+ addVariables(map, key, task.data?.outputs, {
107
+ own: true,
108
+ onlyOwnedBy: key
109
+ });
110
+ };
111
+ for (const node of nodes) {
112
+ addVariables(map, node.id, ownElementOutputs(node), {
113
+ onlyOwnedBy: node.id
114
+ });
115
+ if (isStage(node)) {
116
+ const tasks = (node.data?.tasks ?? []).flatMap((set) => set);
117
+ for (const task of tasks) {
118
+ addTask(node.id, task);
119
+ for (const condition of task.entryConditions ?? []) {
120
+ addRuleVariables(map, node.id, flatRules([condition]));
121
+ }
122
+ }
123
+ }
124
+ addRuleVariables(map, node.id, flatRules([
125
+ ...node.data?.entryConditions ?? [],
126
+ ...node.data?.exitConditions ?? []
127
+ ]));
128
+ if (root.allowAdhocOptionalStageTasks) {
129
+ const adhoc = node.data?.adhocOrchestrationData?.adhocConnectorTask;
130
+ if (adhoc)
131
+ addTask(node.id, adhoc);
132
+ const end = node.data?.adhocCaseEndData?.endCaseConnectorTask;
133
+ if (end)
134
+ addTask(node.id, end);
135
+ }
136
+ }
137
+ for (const edge of edges) {
138
+ addVariables(map, edge.id, ownElementOutputs(edge), {
139
+ onlyOwnedBy: edge.id
140
+ });
141
+ }
142
+ return map;
143
+ }
144
+ function elementLabel(element) {
145
+ if (isTrigger(element)) {
146
+ return element.type === "uipath.case.trigger" ? element.data?.display?.label ?? element.name ?? "" : element.data?.label ?? element.name ?? "";
147
+ }
148
+ const context = element.data?.uipath?.context ?? [];
149
+ const fromContext = (name) => context.find((one) => one.name === name)?.value;
150
+ return element.data?.label || fromContext("_label") || fromContext("name") || fromContext("actionName") || fromContext("queueName") || element.name || "";
151
+ }
152
+ function displayLabels(elements) {
153
+ const labels = new Map;
154
+ const counts = new Map;
155
+ for (const element of elements) {
156
+ const label = elementLabel(element);
157
+ labels.set(element.id, label);
158
+ if (label)
159
+ counts.set(label, (counts.get(label) ?? 0) + 1);
160
+ }
161
+ return (id) => {
162
+ const label = labels.get(id) || id;
163
+ return (counts.get(label) ?? 0) > 1 ? `${label} (${id})` : label;
164
+ };
165
+ }
166
+ function taskName(task, bindings) {
167
+ if (task.displayName?.length)
168
+ return task.displayName;
169
+ const name = task.data?.name ?? "";
170
+ const bound = name.startsWith("=bindings.") ? bindings.find((one) => one.id === name.slice("=bindings.".length)) : undefined;
171
+ return bound?.default ?? name;
172
+ }
173
+ function subElementsOf(canvas, element) {
174
+ const { root, bindings } = canvas;
175
+ const subs = [];
176
+ const ruleSubs = (rules) => {
177
+ for (const rule of rules) {
178
+ subs.push({
179
+ id: `${element.id}-${rule.id ?? ""}`,
180
+ name: `Transition rule ${rule.id ?? ""}`
181
+ });
182
+ }
183
+ };
184
+ const taskSubs = (task, displayName) => {
185
+ const name = displayName ?? taskName(task, bindings);
186
+ subs.push({ id: taskKey(element.id, task), name });
187
+ for (const condition of task.entryConditions ?? []) {
188
+ subs.push({
189
+ id: `${element.id}-${condition.id ?? ""}`,
190
+ name: `${name} - ${condition.id ?? ""}`
191
+ });
192
+ }
193
+ };
194
+ if (isStage(element)) {
195
+ for (const task of (element.data?.tasks ?? []).flatMap((set) => set)) {
196
+ taskSubs(task);
197
+ }
198
+ ruleSubs(flatRules([
199
+ ...element.data?.entryConditions ?? [],
200
+ ...element.data?.exitConditions ?? []
201
+ ]));
202
+ if (root.allowAdhocOptionalStageTasks) {
203
+ const adhoc = element.data?.adhocOrchestrationData?.adhocConnectorTask;
204
+ if (adhoc)
205
+ taskSubs(adhoc, adhoc.displayName ?? "Case events connector");
206
+ const end = element.data?.adhocCaseEndData?.endCaseConnectorTask;
207
+ if (end) {
208
+ taskSubs(end, end.displayName ?? "End ad hoc case connector");
209
+ }
210
+ }
211
+ } else if (element.id === root.id) {
212
+ ruleSubs(flatRules(root.caseExitConditions));
213
+ }
214
+ return subs;
215
+ }
216
+ var savedElementKey = (activityId) => {
217
+ const dash = activityId.indexOf("-");
218
+ return dash === -1 ? activityId : activityId.slice(dash + 1);
219
+ };
220
+ function declarationFor(input) {
221
+ const { variable, activityId, nested, parentId } = input;
222
+ const dashed = activityId.includes("-");
223
+ const body = variable.body ?? variable._jsonSchema;
224
+ const declaration = {
225
+ elementKey: savedElementKey(activityId),
226
+ name: variable.name ?? "",
227
+ type: variable.type,
228
+ body,
229
+ elementLabel: input.elementLabel,
230
+ source: input.source
231
+ };
232
+ if (dashed && !nested) {
233
+ declaration.blockedReason = `the Maestro UI cannot save a variable on '${activityId}': its id contains a dash; tag it in the Maestro UI`;
234
+ } else if (nested && parentId.includes("-")) {
235
+ declaration.note = `saved under '${declaration.elementKey}', which is how the Maestro UI keys it for a stage id with a dash ('${parentId}'); the runtime may not match it`;
236
+ }
237
+ return declaration;
238
+ }
239
+ var DEFAULT_SLA_NAME = "Default SLA";
240
+ function slaDeclaration(sla) {
241
+ const name = sla.displayName?.length ? sla.displayName : DEFAULT_SLA_NAME;
242
+ const properties = { slaStatus: { type: "string" } };
243
+ for (const escalation of sla.escalationRule ?? []) {
244
+ const key = escalation.displayName?.length ? escalation.displayName.replace(/[^a-zA-Z0-9_]/g, "_") : escalation.id ?? "";
245
+ properties[key] = {
246
+ title: escalation.displayName ?? "",
247
+ type: "object",
248
+ properties: {
249
+ startTimeEpoch: { type: "number" },
250
+ endTimeEpoch: { type: "number" }
251
+ }
252
+ };
253
+ }
254
+ return {
255
+ elementKey: "root",
256
+ name,
257
+ type: "jsonSchema",
258
+ body: { type: "object", properties },
259
+ elementLabel: `${METADATA_GROUP} / ${name}`,
260
+ source: name
261
+ };
262
+ }
263
+ function deriveCaseTaggableVariables(document) {
264
+ const canvas = toCanvas(document);
265
+ const { root, nodes, edges } = canvas;
266
+ const elements = [root, ...nodes, ...edges];
267
+ const titleOf = displayLabels(elements);
268
+ const map = buildVariablesMap(canvas);
269
+ const sink = { variables: [], containers: [] };
270
+ const declareAll = (ownerId, shared) => {
271
+ for (const variable of map.get(ownerId)?.values() ?? []) {
272
+ if (variable.internal || !variable.name)
273
+ continue;
274
+ declareVariable(declarationFor({ variable, activityId: ownerId, ...shared }), sink);
275
+ }
276
+ };
277
+ for (const element of elements) {
278
+ const title = titleOf(element.id);
279
+ declareAll(element.id, {
280
+ nested: false,
281
+ parentId: element.id,
282
+ elementLabel: title,
283
+ source: title
284
+ });
285
+ for (const sub of subElementsOf(canvas, element)) {
286
+ const name = sub.name || sub.id;
287
+ declareAll(sub.id, {
288
+ nested: true,
289
+ parentId: element.id,
290
+ elementLabel: `${title} / ${name}`,
291
+ source: name
292
+ });
293
+ }
294
+ }
295
+ for (const sla of root.data?.slaRules ?? []) {
296
+ declareVariable(slaDeclaration(sla), sink);
297
+ }
298
+ return uniqueCatalog(sink);
299
+ }
300
+ export {
301
+ deriveCaseTaggableVariables
302
+ };
303
+
304
+ //# debugId=8F9E130079D34C7864756E2164756E21
@@ -3,12 +3,15 @@ var FLOW_SDK_LIBRARY_URL = "https://download.uipath.com/maestro/registry/library
3
3
  var MOUNT_PATH = "/library";
4
4
  var LIBRARY_JSON = `${MOUNT_PATH}/integrations/library-json`;
5
5
  var READ_TEXT_SLOT = "uipath.maestro-builder-sdk.readText";
6
+ var CACHE_KEY_URL = "https://connector-library.invalid/library-json.zip";
6
7
 
7
8
  class ConnectorLibraryError extends Error {
8
9
  errorCode;
9
- constructor(message, errorCode) {
10
+ unreachable;
11
+ constructor(message, errorCode, unreachable = errorCode === "network_error") {
10
12
  super(message);
11
13
  this.errorCode = errorCode;
14
+ this.unreachable = unreachable;
12
15
  }
13
16
  }
14
17
  function createConnectorLibraryLoader(deps) {
@@ -49,15 +52,16 @@ async function loadLibrary({
49
52
  fetch: fetch2,
50
53
  openCache
51
54
  }) {
52
- const sha256 = expectedChecksum(await (await fetchOk(fetch2, `${url}.sha256`)).text(), url);
53
- const key = new Request(`${url}?sha256=${sha256}`);
55
+ const sidecar = `${url}.sha256`;
56
+ const sha256 = expectedChecksum(await readBody(sidecar, await fetchOk(fetch2, sidecar), (r) => r.text()), url);
57
+ const key = new Request(`${CACHE_KEY_URL}?sha256=${sha256}`);
54
58
  const cache = await openCache().catch(() => {
55
59
  return;
56
60
  });
57
61
  const cached = await cache?.match(key);
58
62
  if (cached)
59
63
  return { sha256, archive: await cached.blob() };
60
- const archive = await (await fetchOk(fetch2, url)).blob();
64
+ const archive = await readBody(url, await fetchOk(fetch2, url), (r) => r.blob());
61
65
  const actual = hex(await crypto.subtle.digest("SHA-256", await archive.arrayBuffer()));
62
66
  if (actual !== sha256) {
63
67
  throw new ConnectorLibraryError(`${url} does not match its checksum: expected ${sha256}, received ${actual}`, "server_error");
@@ -80,10 +84,20 @@ async function fetchOk(fetch2, url) {
80
84
  }
81
85
  return response;
82
86
  }
87
+ async function readBody(url, response, read) {
88
+ try {
89
+ return await read(response);
90
+ } catch (error) {
91
+ if (error instanceof TypeError || error instanceof Error && error.name === "AbortError") {
92
+ throw new ConnectorLibraryError(`downloading ${url} failed: ${error.message}`, "network_error");
93
+ }
94
+ throw error;
95
+ }
96
+ }
83
97
  function expectedChecksum(body, url) {
84
98
  const hash = body.trim().split(/\s+/, 1)[0]?.toLowerCase() ?? "";
85
99
  if (!/^[a-f0-9]{64}$/.test(hash)) {
86
- throw new ConnectorLibraryError(`${url}.sha256 is not a sha256 checksum`, "server_error");
100
+ throw new ConnectorLibraryError(`${url}.sha256 is not a sha256 checksum`, "server_error", true);
87
101
  }
88
102
  return hash;
89
103
  }
@@ -96,4 +110,4 @@ export {
96
110
  sessionConnectorLibrary
97
111
  };
98
112
 
99
- //# debugId=714515F8E06CF78B64756E2164756E21
113
+ //# debugId=30F04C602D387CF664756E2164756E21