@uipath/flow-tool 1.206.0-preview.306 → 1.207.0-preview.307
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.
- package/README.md +2 -1
- package/dist/THIRD-PARTY-NOTICES.md +12 -12
- package/dist/{applicationinsights-web-8m26566f.js → applicationinsights-web-c6epsatg.js} +1 -1
- package/dist/{authoring-az69rn0j.js → authoring-f5ttjy3d.js} +5 -5
- package/dist/{binding-service-jdzw5h8a.js → binding-service-b4kes1cr.js} +37 -34
- package/dist/{browser-strategy-gnftxwsf.js → browser-strategy-1nk8hgcf.js} +1 -1
- package/dist/case-catalog-h4fjn6q3.js +304 -0
- package/dist/{connector-library-1yw5r47w.js → connector-library-844myxz2.js} +20 -6
- package/dist/{connector-service-yq01bg3n.js → connector-service-xjszs9v3.js} +156 -76
- package/dist/{conversion-7O2PDOQB-xx5zfw6n.js → conversion-A2KZVSOA-313011c5.js} +256 -90
- package/dist/{de-AI7ML6JM-km47f8k4.js → de-B6IFKV43-9sk50xx0.js} +164 -2
- package/dist/{de-2BEKRUMY-x4dx0nn9.js → de-HF4GJ4EK-NX7YTOSY-xvwqrst4.js} +1282 -10
- package/dist/{de-2BEKRUMY-MD7L477H-7mwat6r6.js → de-HF4GJ4EK-xrrajtht.js} +1277 -15
- package/dist/{de-VQWT6L5Y-mch4qwyv.js → de-IQ44WEAK-ayb953tp.js} +19 -4
- package/dist/{de-3CU65EDB-r7r10am9.js → de-T4OCQPNU-hrqdjart.js} +6 -6
- package/dist/{debug-conversation-trigger-62ebex43.js → debug-conversation-trigger-j20ms2xc.js} +4 -9
- package/dist/{debug-http-client-ykzhg1zx.js → debug-http-client-fypqjmfs.js} +6 -5
- package/dist/{debug-service-xq8vhrkq.js → debug-service-zv5hj0cx.js} +11 -6
- package/dist/{edge-service-w5jbtehr.js → edge-service-8jrhdfvf.js} +41 -31
- package/dist/{elk.bundled-phy0zc81.js → elk.bundled-pfmz610v.js} +1 -1
- package/dist/{embedded-file-reader-pxpwcq3n.js → embedded-file-reader-k94wt612.js} +16 -16
- package/dist/{en-LAVDF7IQ-ba7wzsxp.js → en-5JIPZTS5-v0f9wmd2.js} +4 -2
- package/dist/{en-X6T4SP2Y-FPGCJIFV-wsbs6fqx.js → en-ETY46SDS-RI6EZCN6-x64e1cks.js} +67 -3
- package/dist/{en-X6T4SP2Y-xe57av1w.js → en-ETY46SDS-yfqhqvbx.js} +66 -2
- package/dist/{en-WPCQ4JKF-jnj0q4e1.js → en-JZXY3PYE-m54g0zx7.js} +4 -4
- package/dist/{en-LQHKFSEY-jz2knr92.js → en-LQHKFSEY-bypy1p39.js} +1 -1
- package/dist/{en-U2NSIIZN-whenw6wh.js → en-T6VSEF3E-1hq4zfrt.js} +5 -3
- package/dist/{es-SPNKTD5Y-vw5cbgv5.js → es-AQW6PFIU-q2mz247f.js} +164 -2
- package/dist/{es-7ZTQTGKN-TXQBFYRA-q5v6wcmn.js → es-IYP2OLUY-7SKYGF6A-rd9jrktp.js} +1272 -11
- package/dist/{es-7ZTQTGKN-11sj0yjx.js → es-IYP2OLUY-98xsbyd5.js} +1271 -10
- package/dist/{es-MX-S2RFDGDE-x9r0tv30.js → es-MX-A2DFN7CA-q5m62f60.js} +19 -4
- package/dist/{es-MX-IHGRIEWH-23X37OPS-vx539dfs.js → es-MX-D2MN3U37-0y5q0nbe.js} +1276 -15
- package/dist/{es-MX-IHGRIEWH-g63p0gb4.js → es-MX-D2MN3U37-D74A6FRL-y7xh0r57.js} +1281 -10
- package/dist/{es-MX-7KJZPEQN-1fq0a9jr.js → es-MX-KWITVBWE-w49gknha.js} +164 -2
- package/dist/{es-MX-F7ZEHSNE-gxpm47vv.js → es-MX-YQNHSXDT-fd5ybreb.js} +6 -6
- package/dist/{es-EP563JWQ-1agj5n4e.js → es-TNUPGHGG-886me0sq.js} +19 -4
- package/dist/{es-KHVY67FO-natcvmmm.js → es-YHECPVFB-7jsrxa01.js} +6 -6
- package/dist/extraction-availability-service-h08mngty.js +343 -0
- package/dist/{first-party-service-6b9ajm57.js → first-party-service-qfg2m05s.js} +1 -1
- package/dist/{flow-api-1hr7z6qc.js → flow-api-bmg7beey.js} +15 -12
- package/dist/{flow-debug-service-vt2k0v46.js → flow-debug-service-jb9jxat1.js} +232 -156
- package/dist/flow-eval-node-target-scxb918a.js +31 -0
- package/dist/flow-eval-run-api-g6sphtf3.js +11 -0
- package/dist/{flow-eval-run-service-vh2041qg.js → flow-eval-run-service-n68xb9sk.js} +116 -119
- package/dist/{flow-eval-service-q2zp54gq.js → flow-eval-service-88qyrg7d.js} +141 -337
- package/dist/{flow-init-sdk-source-vg1ckdrf.js → flow-init-sdk-source-t2q2w6v7.js} +5 -5
- package/dist/flow-init-service-v6jvdmqa.js +27 -0
- package/dist/flow-io-4z79xnb3.js +29 -0
- package/dist/{flow-migrate-service-wgrz2msp.js → flow-migrate-service-gbdh07zh.js} +20 -20
- package/dist/{flow-pack-service-kze10925.js → flow-pack-service-gca3ekj7.js} +89 -90
- package/dist/flow-validate-service-z0z4ndn8.js +49 -0
- package/dist/{fr-7LK3QUWT-a94yejcs.js → fr-EPBGOBOP-rs7qy97k.js} +19 -4
- package/dist/{fr-7ZDL4MVO-pd27vwh6.js → fr-NISALSPL-3ANDQPI3-gjhmym96.js} +1282 -10
- package/dist/{fr-7ZDL4MVO-CXMRZDOF-b816xj36.js → fr-NISALSPL-vzfmygd7.js} +1277 -15
- package/dist/{fr-AXJGUT53-hdg3pmd4.js → fr-RNWK2TMC-dpyzj366.js} +164 -2
- package/dist/{fr-I42FODC5-p80x5v4b.js → fr-W3AFCEDL-cjfr0xqp.js} +6 -6
- package/dist/{governance-fetcher-y0q4m57j.js → governance-fetcher-26h7eqrk.js} +7 -7
- package/dist/{headless-41t9wwb7.js → headless-23ywyx9h.js} +390 -195
- package/dist/{hitl-service-8rvw1zsh.js → hitl-service-v94wsz1f.js} +11 -11
- package/dist/{index-wss1mf5j.js → index-9a52zr4w.js} +3033 -767
- package/dist/{index-t2f7scza.js → index-db1djbzm.js} +12 -8
- package/dist/{index-amqqhge1.js → index-ewg6ygg0.js} +1 -1
- package/dist/{index-r44xc976.js → index-eyjrdzgx.js} +5 -5
- package/dist/{index-7fet3f0s.js → index-h67w2p9p.js} +3 -3
- package/dist/index-kwrhrb9p.js +161 -0
- package/dist/{index-f5kq7265.js → index-r6crd7tx.js} +6 -4
- package/dist/{index-ng011fzs.js → index-r6y07e14.js} +94 -74
- package/dist/{index-vvf52vnn.js → index-re7r0ezw.js} +34 -27
- package/dist/{index-5y5pbdx5.js → index-sazh9ymk.js} +13 -11
- package/dist/{index-5pzp2qeb.js → index-v3w1930f.js} +18 -18
- package/dist/{index-d4bdedx3.js → index-ynw2efd8.js} +6 -4
- package/dist/index.js +16 -14
- package/dist/{index.umd.min-ttg1qc0x.js → index.umd.min-5yxdz5j3.js} +1 -1
- package/dist/init.js +18 -17
- package/dist/{inline-entity-resolver-aty0xw8s.js → inline-entity-resolver-r7ebmssg.js} +11 -11
- package/dist/input-reader-3zvbsn6a.js +12 -0
- package/dist/integration-service-fetcher-0vdd4pbb.js +65 -0
- package/dist/{ja-C7GZV6YP-hvtbngr5.js → ja-DH4I3GEF-ywyhhppa.js} +164 -2
- package/dist/{ja-LGAM5HKR-sgrtjqjh.js → ja-HTS2Q4YG-4ahnq47y.js} +1277 -10
- package/dist/{ja-LGAM5HKR-NTPKIZEM-aaj773vd.js → ja-HTS2Q4YG-7Q6WUI6H-j8dkhe93.js} +1278 -11
- package/dist/{ja-WY2W6733-ayr36h1f.js → ja-HWFIXC2V-gg9xvhsv.js} +19 -4
- package/dist/{ja-GI3OUHPZ-28fy60r0.js → ja-WOANIGX4-qnyzk2t8.js} +6 -6
- package/dist/{jmespath-wwym30dp.js → jmespath-dbsejrwn.js} +1 -1
- package/dist/json-input-pj18qjt0.js +17 -0
- package/dist/{known-types-v9sxcq1c.js → known-types-pen5h5kz.js} +4 -4
- package/dist/{ko-7B4SUZB7-2SLI636D-khdzwz6c.js → ko-3JFGTMNY-VT6UQ3IS-z5n880em.js} +1272 -11
- package/dist/{ko-7B4SUZB7-c8wr20sc.js → ko-3JFGTMNY-qnf1bnef.js} +1271 -10
- package/dist/{ko-H2RGQWKJ-9696w762.js → ko-L3BMYD3Q-exfhqfbh.js} +19 -4
- package/dist/{ko-Q24HSSL4-5vn55pte.js → ko-R5BCWVO7-whzgmh6q.js} +164 -2
- package/dist/{ko-RYKAL74T-10m4z8vw.js → ko-RMOVRC7M-whyynn7n.js} +6 -6
- package/dist/library-option-9fqvdh8v.js +14 -0
- package/dist/localization-axzmx1mb.js +45 -0
- package/dist/{maestro-automate-entry-d1v5q5mv.js → maestro-automate-entry-mrap5xmt.js} +2 -2
- package/dist/manifest-hmeqvk74.js +60 -0
- package/dist/node-service-d6211mt9.js +65 -0
- package/dist/{node-strategy-wrjxmbzt.js → node-strategy-2r78gtca.js} +2 -2
- package/dist/{node-sync-service-6h12t41d.js → node-sync-service-6wbypdgb.js} +22 -15
- package/dist/node-w3wny6qw.js +172 -0
- package/dist/packager-tool-0x8g8b5r.js +25 -0
- package/dist/{packager-tool-vgrswa8p.js → packager-tool-1db1wqdy.js} +30 -8
- package/dist/packager-tool-1yew22sn.js +9 -0
- package/dist/{packager-tool-14rdgz3c.js → packager-tool-3sxg16ft.js} +7 -7
- package/dist/packager-tool-40bxn7j2.js +63 -0
- package/dist/{packager-tool-6an893wm.js → packager-tool-4f4jp7ez.js} +3 -3
- package/dist/packager-tool-4gh9ftn8.js +224 -0
- package/dist/{packager-tool-pxq0bwp0.js → packager-tool-4hn7v05x.js} +16 -9
- package/dist/packager-tool-4skf6ak1.js +31 -0
- package/dist/{packager-tool-951nhh3e.js → packager-tool-5n1v6y3q.js} +1 -1
- package/dist/{packager-tool-2b0tn4p4.js → packager-tool-6azsz9h8.js} +7 -7
- package/dist/{packager-tool-zydkpqta.js → packager-tool-6sqq0mzd.js} +330 -902
- package/dist/{packager-tool-54jdtyk4.js → packager-tool-7d6y5paj.js} +11 -11
- package/dist/{packager-tool-ac6rvny7.js → packager-tool-7re5d8aq.js} +1139 -466
- package/dist/{packager-tool-4w37xezc.js → packager-tool-7tmtjb7p.js} +13 -13
- package/dist/{packager-tool-6an563h8.js → packager-tool-7wpb19zf.js} +10 -3
- package/dist/packager-tool-8qc7ram5.js +16 -0
- package/dist/packager-tool-942v78s9.js +40 -0
- package/dist/packager-tool-9tv5cyhr.js +16 -0
- package/dist/{packager-tool-7atc775f.js → packager-tool-ajx79m52.js} +1 -1
- package/dist/{packager-tool-p7f12rkc.js → packager-tool-b14qj57y.js} +9 -7
- package/dist/packager-tool-bbq5kbb9.js +318 -0
- package/dist/{packager-tool-xhrm7cgz.js → packager-tool-bcsjm5hv.js} +470 -315
- package/dist/{packager-tool-xdaxdc00.js → packager-tool-bn09xgy8.js} +14 -14
- package/dist/{packager-tool-m30d5s5s.js → packager-tool-bv24wxxz.js} +24 -10
- package/dist/{packager-tool-1qg04b7q.js → packager-tool-bzcphfa8.js} +4 -2
- package/dist/packager-tool-c8mn8jr0.js +1060 -0
- package/dist/{packager-tool-gdpw0daf.js → packager-tool-dmhmcav3.js} +3773 -2625
- package/dist/{packager-tool-vb1ect63.js → packager-tool-e8bxpwdp.js} +21 -21
- package/dist/{packager-tool-m1y5ah6s.js → packager-tool-f3htkspn.js} +215 -233
- package/dist/{packager-tool-y1bcfvcs.js → packager-tool-frt20zp9.js} +2 -2
- package/dist/packager-tool-geh2qybm.js +179 -0
- package/dist/{packager-tool-1rhch6b5.js → packager-tool-gjjr2a2w.js} +66 -19
- package/dist/{packager-tool-v1q6601f.js → packager-tool-hyx81x30.js} +584 -651
- package/dist/{packager-tool-67h9vcvz.js → packager-tool-j6m8nkms.js} +1123 -295
- package/dist/{packager-tool-64r7e4ek.js → packager-tool-jjnfwfd4.js} +2 -2
- package/dist/packager-tool-kh1taypp.js +41 -0
- package/dist/{packager-tool-dc12ytg5.js → packager-tool-krr2x2ny.js} +10 -10
- package/dist/{packager-tool-pdt4jmnw.js → packager-tool-m2h98d2z.js} +246 -61
- package/dist/{packager-tool-9m5vba43.js → packager-tool-md1vcqh4.js} +233 -14
- package/dist/{packager-tool-4g87fbz6.js → packager-tool-mm6a12y4.js} +8 -8
- package/dist/{packager-tool-2n6eg5eq.js → packager-tool-mvzswn9n.js} +134 -68
- package/dist/{packager-tool-x4xdtsbp.js → packager-tool-n4fky033.js} +15328 -7171
- package/dist/{packager-tool-hyd7qpfw.js → packager-tool-npm5tzpt.js} +489 -118
- package/dist/packager-tool-p8ncdnsj.js +30 -0
- package/dist/{packager-tool-m126jzdd.js → packager-tool-qkdbfkev.js} +14 -11
- package/dist/{packager-tool-7mxn3e7j.js → packager-tool-qtz83h01.js} +4 -2
- package/dist/{packager-tool-hk0fnvz5.js → packager-tool-qx8wvedy.js} +1 -1
- package/dist/{packager-tool-q2kwk5bf.js → packager-tool-qyhvgenw.js} +6 -4
- package/dist/{packager-tool-6pyaaxzk.js → packager-tool-rcjtmknf.js} +351 -42
- package/dist/{packager-tool-jjkypwge.js → packager-tool-s8jxyjgj.js} +15 -4
- package/dist/packager-tool-swvgkcq7.js +5973 -0
- package/dist/{packager-tool-fzgfb0jt.js → packager-tool-t0e7fvqz.js} +1228 -759
- package/dist/packager-tool-t0zz0jtb.js +423 -0
- package/dist/{packager-tool-p123mtfx.js → packager-tool-tgawhrva.js} +58 -16
- package/dist/{packager-tool-yewnsyag.js → packager-tool-vg16h3pk.js} +80 -6
- package/dist/{packager-tool-dbc4hv4n.js → packager-tool-vtz6gvav.js} +8 -8
- package/dist/{packager-tool-f4t73ja0.js → packager-tool-wk6jaz9m.js} +228 -487
- package/dist/packager-tool-wvf6b31h.js +50 -0
- package/dist/packager-tool-xgh2t48c.js +255 -0
- package/dist/{packager-tool-w9bkq7zb.js → packager-tool-xgvp8a8g.js} +10 -10
- package/dist/{packager-tool-h1vt1vr2.js → packager-tool-ybn5fymq.js} +2 -2
- package/dist/packager-tool-yszyrt27.js +184 -0
- package/dist/packager-tool-yx0hy6pt.js +125 -0
- package/dist/{packager-tool-ze3fnf3s.js → packager-tool-zap4kd3z.js} +7 -2
- package/dist/{packager-tool-dr3zc9n9.js → packager-tool-zgzpqfcs.js} +13 -6
- package/dist/{node-tx150jvs.js → packager-tool-zrh55d4c.js} +190 -286
- package/dist/packager-tool.js +9 -9
- package/dist/{prepare-uip-ad7mfs8t.js → prepare-uip-8frvq826.js} +39 -6
- package/dist/provision-node-service-b8nkty72.js +86 -0
- package/dist/{pt-2RGHDOG4-gwe2ptvg.js → pt-6RCFX6CY-v42k92ey.js} +19 -4
- package/dist/{pt-BR-BIUJXIPU-2sqzhr8y.js → pt-BR-6TBBEDQS-y3f2vg5d.js} +164 -2
- package/dist/{pt-BR-PHLFHMXZ-JFPKUXIZ-1cttmarb.js → pt-BR-7H7BP5DT-IOHWNCIU-kzbjgs8p.js} +1277 -11
- package/dist/{pt-BR-PHLFHMXZ-n6de4s7z.js → pt-BR-7H7BP5DT-z2e5aaj1.js} +1276 -10
- package/dist/{pt-BR-JWHVZE6H-gvkknv49.js → pt-BR-HDVM5NFA-azfx4gg9.js} +19 -4
- package/dist/{pt-BR-IL3KLBID-m1mvqqzb.js → pt-BR-HJIMGPPX-s18rb4vg.js} +6 -6
- package/dist/{pt-VLA5IOHO-8t4pze0h.js → pt-DZG5FPWK-6czrqk2t.js} +6 -6
- package/dist/{pt-N7ZTJT4W-GVODJMRX-ek3zjp9k.js → pt-QWGSZKMD-RTKSQCYA-j9wqwb10.js} +1272 -11
- package/dist/{pt-N7ZTJT4W-d6c67xcn.js → pt-QWGSZKMD-m50nrkx8.js} +1271 -10
- package/dist/{pt-MHX6JGAX-xfgvdqwg.js → pt-ZSQC5RZ3-8kp3g1z5.js} +164 -2
- package/dist/{ro-FLNXVYJI-ZN43XZKK-zrcvcsj5.js → ro-B7G474JK-9k2jjk88.js} +1271 -15
- package/dist/{ro-FLNXVYJI-ytrwabg2.js → ro-B7G474JK-Q3BAA4S3-1ss8n5t0.js} +1276 -10
- package/dist/{ro-53TS7SWG-hnjx1c7b.js → ro-EEKX2X3R-tz9prn67.js} +19 -4
- package/dist/{ro-3RKJNGJZ-xqj14e3d.js → ro-P33AQ6ZL-s92z1mgg.js} +164 -2
- package/dist/{ro-IRNFX376-mh84zk3n.js → ro-SX7RUXGR-kknxsr3g.js} +6 -6
- package/dist/ru-FNRVPXE5-7q150qf8.js +7 -0
- package/dist/ru-GSCT4ARZ-6OTD7JLB-j2ny4frk.js +12 -0
- package/dist/schema-document-service-007f2kw4.js +30 -0
- package/dist/{serialization-Z3UYT6BW-c994gtwh.js → serialization-7CB4AREI-b012f3vq.js} +482 -6161
- package/dist/services/binding-id-rule.d.ts +13 -0
- package/dist/services/binding-resource-types.d.ts +12 -0
- package/dist/services/extract-schema/default-schema-document.d.ts +9 -4
- package/dist/services/extract-schema/types.d.ts +73 -0
- package/dist/services/extract-schema/validate-schema-document.d.ts +75 -0
- package/dist/services/flow-scopes.d.ts +15 -0
- package/dist/services/flow-structure-checks.d.ts +8 -0
- package/dist/services/flow-validate-service.d.ts +44 -11
- package/dist/services/idp-processor-provisioning.d.ts +35 -0
- package/dist/services/node-service.d.ts +17 -23
- package/dist/services/node-validators/extract-schema-validator.d.ts +13 -0
- package/dist/services/node-validators/index.d.ts +1 -0
- package/dist/services/node-validators/js-expression-syntax-validator.d.ts +2 -1
- package/dist/services/node-validators/types.d.ts +2 -7
- package/dist/services/vars-reference-rule.d.ts +6 -0
- package/dist/solution-auth-k0s83ake.js +11 -0
- package/dist/{solution-definition-helper-6zwd9hjs.js → solution-definition-helper-qjj01xh0.js} +1 -1
- package/dist/{solution-discovery-wwwynadq.js → solution-discovery-v5qatmz2.js} +7 -7
- package/dist/taggable-variables-nc8td6er.js +134 -0
- package/dist/{tidy-service-g9qcarr9.js → tidy-service-ehhraxge.js} +17 -18
- package/dist/tool.js +16 -14
- package/dist/{tr-PIQY7JIT-2mkwk0kq.js → tr-B6TLBSLH-1797wxkh.js} +19 -4
- package/dist/{tr-7AIZZWZ6-pdzp9n0p.js → tr-FX7WCKK2-CEOTUJRD-pv26erw5.js} +1276 -10
- package/dist/{tr-7AIZZWZ6-ESAESUPL-kgj5s586.js → tr-FX7WCKK2-x3rx9fjt.js} +1271 -15
- package/dist/{tr-EJKY7DVQ-rkctqva4.js → tr-OUB57VJ6-52t7zdzb.js} +6 -6
- package/dist/{tr-PQLUUHPC-qsb7btxn.js → tr-XD73CQAA-tb2nrpyp.js} +164 -2
- package/dist/utils/handle-expansion.d.ts +2 -2
- package/dist/validation.js +42 -39
- package/dist/{variable-service-1s0z3e9j.js → variable-service-m8m88dy6.js} +17 -12
- package/dist/{wait-for-flow-job-vy4t4tbj.js → wait-for-flow-job-k990nmdn.js} +15 -12
- package/dist/{zh-CN-NIEVKROA-q4tbbwqz.js → zh-CN-7KN22KSH-mwvgyym6.js} +19 -4
- package/dist/{zh-CN-4FH7E7UL-84y6j2ea.js → zh-CN-FKWWWLFR-n15rj6p8.js} +6 -6
- package/dist/{zh-CN-OHNTHZRI-b0hjkfqn.js → zh-CN-GWP3B2EM-c07fm17a.js} +164 -2
- package/dist/{zh-CN-CN2ARPFS-e0p2qrxf.js → zh-CN-NCMB6YM5-BB2LRIMQ-tj7kwma4.js} +1276 -10
- package/dist/{zh-CN-CN2ARPFS-NIQTWDK2-0t4qqqdc.js → zh-CN-NCMB6YM5-drw9bnxg.js} +1271 -15
- package/dist/{zh-TW-E4D3Y6ZR-tn3bmzz5.js → zh-TW-2DLUOA7C-9khqnr4r.js} +164 -2
- package/dist/{zh-TW-5WQA6QTM-hns69sd4.js → zh-TW-52QTEYIZ-2mj7hy3e.js} +6 -6
- package/dist/{zh-TW-MSQM7YTT-m7r7nwnj.js → zh-TW-I7BH3XP2-7rb4xpzg.js} +19 -4
- package/dist/{zh-TW-7RUFEVFK-VKVRSVTP-8zmewakq.js → zh-TW-UNIEJPLE-4vxzbphe.js} +1272 -16
- package/dist/{zh-TW-7RUFEVFK-qd7myw31.js → zh-TW-UNIEJPLE-ECGOEPYS-wv5068r9.js} +1277 -11
- package/package.json +2 -2
- package/dist/flow-eval-node-target-20cnm783.js +0 -29
- package/dist/flow-eval-run-api-w4j8ra60.js +0 -9
- package/dist/flow-init-service-4rvjej8m.js +0 -26
- package/dist/flow-io-e7t1s141.js +0 -24
- package/dist/flow-validate-service-wfkxyvkc.js +0 -46
- package/dist/input-reader-jjq3r7ry.js +0 -11
- package/dist/localization-erchshqr.js +0 -45
- package/dist/node-service-2mbw4sjk.js +0 -64
- package/dist/packager-tool-08dsxdz8.js +0 -56
- package/dist/packager-tool-2sazb7th.js +0 -2
- package/dist/packager-tool-9217bxm2.js +0 -6
- package/dist/packager-tool-cvh1a0nm.js +0 -16
- package/dist/packager-tool-d07g2kpn.js +0 -25
- package/dist/packager-tool-f7rk9xhv.js +0 -50
- package/dist/packager-tool-jd3v0bh1.js +0 -26
- package/dist/packager-tool-k3egwd1m.js +0 -15
- package/dist/packager-tool-mfj268wk.js +0 -18
- package/dist/packager-tool-q0f1dvtd.js +0 -40
- package/dist/packager-tool-wr7gn964.js +0 -2
- package/dist/packager-tool-z1w16vjv.js +0 -461
- package/dist/ru-GSCT4ARZ-FTVCGQTL-7d8rpmsn.js +0 -12
- package/dist/ru-T73OPRTC-50m7tty9.js +0 -7
- package/dist/services/connector-request-buckets.d.ts +0 -1
- package/dist/services/flow-eval-file-store.d.ts +0 -1
- package/dist/services/inline-entity-resolver.d.ts +0 -22
- package/dist/services/packaging-utils.d.ts +0 -130
- package/dist/services/preview-id-rule.d.ts +0 -33
- package/dist/services/ui-only-node-types.d.ts +0 -1
- package/dist/solution-auth-j8x84n5z.js +0 -11
- package/dist/utils/flow-io.d.ts +0 -19
- 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
|
|
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,13 +13,13 @@ 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.
|
|
17
|
-
- @uipath/flow-core@0.
|
|
18
|
-
- @uipath/flow-expression-model@0.
|
|
19
|
-
- @uipath/flow-migrations@0.
|
|
20
|
-
- @uipath/flow-schema@0.
|
|
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
|
-
- @uipath/resource-builder-sdk@
|
|
22
|
+
- @uipath/resource-builder-sdk@1.0.0-s207-18596 — ISC
|
|
23
23
|
- @uipath/tool-agent@2.0.0 — see below
|
|
24
24
|
- acorn@8.17.0 — MIT
|
|
25
25
|
- ajv@8.20.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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
458
|
+
## @uipath/flow-schema@0.135.1
|
|
459
459
|
|
|
460
460
|
SPDX: MIT
|
|
461
461
|
|
|
@@ -477,7 +477,7 @@ Use of this product is subject (a) to the applicable licensing agreement availab
|
|
|
477
477
|
|
|
478
478
|
---
|
|
479
479
|
|
|
480
|
-
## @uipath/resource-builder-sdk@
|
|
480
|
+
## @uipath/resource-builder-sdk@1.0.0-s207-18596
|
|
481
481
|
|
|
482
482
|
SPDX: ISC
|
|
483
483
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__commonJS
|
|
3
|
-
} from "./packager-tool-
|
|
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-
|
|
2
|
-
import"./packager-tool-
|
|
3
|
-
import"./packager-tool-
|
|
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-
|
|
10
|
-
import"./packager-tool-
|
|
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-
|
|
1
|
+
import"./packager-tool-t0e7fvqz.js";
|
|
2
2
|
import {
|
|
3
3
|
createBinding2,
|
|
4
4
|
addBinding2
|
|
5
|
-
} from "./packager-tool-
|
|
6
|
-
import"./packager-tool-
|
|
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
|
-
|
|
9
|
-
} from "./packager-tool-
|
|
10
|
-
import"./packager-tool-vgrswa8p.js";
|
|
11
|
-
import"./packager-tool-pxq0bwp0.js";
|
|
12
|
-
import"./packager-tool-xhrm7cgz.js";
|
|
11
|
+
allNodesOf2
|
|
12
|
+
} from "./packager-tool-n4fky033.js";
|
|
13
13
|
import {
|
|
14
14
|
readFlowWorkflow2,
|
|
15
15
|
writeFlowWorkflow2
|
|
16
|
-
} from "./packager-tool-
|
|
17
|
-
import"./packager-tool-
|
|
18
|
-
import"./packager-tool-
|
|
19
|
-
import"./packager-tool-
|
|
20
|
-
import"./packager-tool-
|
|
21
|
-
import"./packager-tool-
|
|
22
|
-
import"./packager-tool-
|
|
23
|
-
import"./packager-tool-
|
|
16
|
+
} from "./packager-tool-942v78s9.js";
|
|
17
|
+
import"./packager-tool-dmhmcav3.js";
|
|
18
|
+
import"./packager-tool-gjjr2a2w.js";
|
|
19
|
+
import"./packager-tool-krr2x2ny.js";
|
|
20
|
+
import"./packager-tool-6sqq0mzd.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-
|
|
26
|
-
import"./packager-tool-
|
|
27
|
-
import"./packager-tool-
|
|
28
|
-
import"./packager-tool-
|
|
29
|
-
import"./packager-tool-
|
|
30
|
-
import"./packager-tool-
|
|
31
|
-
import"./packager-tool-ac6rvny7.js";
|
|
29
|
+
import"./packager-tool-4skf6ak1.js";
|
|
30
|
+
import"./packager-tool-bn09xgy8.js";
|
|
31
|
+
import"./packager-tool-c8mn8jr0.js";
|
|
32
|
+
import"./packager-tool-md1vcqh4.js";
|
|
33
|
+
import"./packager-tool-j6m8nkms.js";
|
|
34
|
+
import"./packager-tool-7re5d8aq.js";
|
|
32
35
|
import {
|
|
33
36
|
collectNodeBindingResourceKeys2
|
|
34
|
-
} from "./packager-tool-
|
|
37
|
+
} from "./packager-tool-wk6jaz9m.js";
|
|
38
|
+
import"./packager-tool-yszyrt27.js";
|
|
39
|
+
import"./packager-tool-yx0hy6pt.js";
|
|
40
|
+
import"./packager-tool-jjnfwfd4.js";
|
|
35
41
|
import {
|
|
36
42
|
VALID_RESOURCE_TYPES
|
|
37
|
-
} from "./packager-tool-
|
|
38
|
-
import"./packager-tool-
|
|
39
|
-
import"./packager-tool-
|
|
40
|
-
import"./packager-tool-
|
|
41
|
-
import"./packager-tool-
|
|
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 =
|
|
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=
|
|
117
|
+
//# debugId=DA20FC30D267349564756E2164756E21
|
|
@@ -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
|
-
|
|
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
|
|
53
|
-
const
|
|
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=
|
|
113
|
+
//# debugId=30F04C602D387CF664756E2164756E21
|