@uipath/flow-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.
- package/README.md +14 -12
- package/dist/THIRD-PARTY-NOTICES.md +74 -46
- package/dist/applicationinsights-web-8m26566f.js +17209 -0
- package/dist/authoring-x84r2a2j.js +23 -0
- package/dist/binding-service-s0wvr2xm.js +114 -0
- package/dist/{browser-strategy-6atc7v8s.js → browser-strategy-gnftxwsf.js} +5 -6
- package/dist/connector-library-1yw5r47w.js +99 -0
- package/dist/{connector-service-kdg7mq7z.js → connector-service-r86mtxwn.js} +270 -275
- package/dist/{conversion-FQTRFHRX-e5wr281j.js → conversion-7O2PDOQB-3wwppx87.js} +477 -472
- package/dist/{de-FGHEJRCI-PK6WALXW-0dnvnmke.js → de-2BEKRUMY-MD7L477H-rj1rmtav.js} +425 -37
- package/dist/{de-WLW6KWOJ-2qnsqdtw.js → de-2BEKRUMY-x4dx0nn9.js} +190 -10
- package/dist/{de-VMMG2MN7-2ecwpg1b.js → de-3CU65EDB-r7r10am9.js} +82 -7
- package/dist/{de-UZI7FJDO-awjpqfz0.js → de-AI7ML6JM-km47f8k4.js} +20 -5
- package/dist/{de-B3EKCNFC-zdwybhh7.js → de-VQWT6L5Y-mch4qwyv.js} +38 -5
- package/dist/{de-XNTCMP5Z-xfkfqg20.js → de-XNTCMP5Z-nd4scb43.js} +1 -4
- package/dist/debug-conversation-trigger-3wzy90kj.js +23 -0
- package/dist/debug-http-client-zydr7tna.js +31 -0
- package/dist/debug-service-hdktqeek.js +60 -0
- package/dist/edge-service-zck3s9ss.js +267 -0
- package/dist/{elk.bundled-vpsbxz0p.js → elk.bundled-phy0zc81.js} +6860 -6860
- package/dist/{embedded-file-reader-r66242ey.js → embedded-file-reader-0228j82a.js} +1 -4
- package/dist/en-LAVDF7IQ-ba7wzsxp.js +254 -0
- package/dist/en-LQHKFSEY-zf6a2myg.js +24 -0
- package/dist/en-U2NSIIZN-whenw6wh.js +58 -0
- package/dist/en-WPCQ4JKF-t3x07ggr.js +148 -0
- package/dist/en-X6T4SP2Y-FPGCJIFV-qdfapfzs.js +2756 -0
- package/dist/en-X6T4SP2Y-xe57av1w.js +2752 -0
- package/dist/{es-5THCNRFN-tqwyrdgy.js → es-7ZTQTGKN-11sj0yjx.js} +190 -10
- package/dist/{es-KR3ZSNMP-QLWVVWKJ-5egs0gj9.js → es-7ZTQTGKN-TXQBFYRA-bzh1e1gq.js} +422 -34
- package/dist/{es-EKHIPSW6-ya88nvm0.js → es-EKHIPSW6-asfceac2.js} +1 -4
- package/dist/{es-KEBF3AIM-g5rszh8f.js → es-EP563JWQ-1agj5n4e.js} +38 -5
- package/dist/{es-WY6FZ3HO-zksnn6dp.js → es-KHVY67FO-natcvmmm.js} +82 -7
- package/dist/{es-MX-5RELIXKI-jtjbcxbb.js → es-MX-7KJZPEQN-1fq0a9jr.js} +20 -5
- package/dist/{es-MX-ZP2LJ3V7-k4brnfa9.js → es-MX-F7ZEHSNE-gxpm47vv.js} +82 -7
- package/dist/{es-MX-XXZJGC4R-W6EEIHXR-c2m4yjpj.js → es-MX-IHGRIEWH-23X37OPS-7cqdzpcy.js} +425 -37
- package/dist/{es-MX-TWZBRAXK-gqd9swzw.js → es-MX-IHGRIEWH-g63p0gb4.js} +191 -11
- package/dist/{es-MX-OR6G2SFR-7yykk5ma.js → es-MX-OR6G2SFR-02t13sen.js} +1 -4
- package/dist/{es-MX-EL3CDS3F-sh84yvjr.js → es-MX-S2RFDGDE-x9r0tv30.js} +38 -5
- package/dist/{es-4UBUTCQA-t7hsackg.js → es-SPNKTD5Y-vw5cbgv5.js} +20 -5
- package/dist/filter-engine-dh9s90gb.js +10 -0
- package/dist/first-party-service-ahcc6xc6.js +8 -0
- package/dist/flow-api-d4dvmadm.js +38 -0
- package/dist/{flow-debug-service-0xn8fk4a.js → flow-debug-service-hy21ddd9.js} +151 -195
- package/dist/flow-eval-node-target-tdrwqca7.js +29 -0
- package/dist/flow-eval-run-api-w4j8ra60.js +9 -0
- package/dist/{flow-eval-run-service-dcj8p7n7.js → flow-eval-run-service-5en4ahyn.js} +125 -149
- package/dist/{flow-eval-service-6c0y5a3b.js → flow-eval-service-2j28ect1.js} +57 -81
- package/dist/{flow-init-sdk-source-xvdvkq7d.js → flow-init-sdk-source-xnr4bg25.js} +8 -11
- package/dist/flow-init-service-bj3ev9bz.js +26 -0
- package/dist/flow-io-9q6xk473.js +24 -0
- package/dist/{flow-migrate-service-9w8dgydd.js → flow-migrate-service-dkx85jj5.js} +33 -54
- package/dist/{flow-pack-service-5s2cthq4.js → flow-pack-service-58m51sp8.js} +79 -103
- package/dist/flow-validate-service-9a3zate4.js +46 -0
- package/dist/{fr-DPD4GHX3-exeypjwk.js → fr-7LK3QUWT-a94yejcs.js} +38 -5
- package/dist/{fr-Y6NPVODW-AS7T42TR-v4qe2tha.js → fr-7ZDL4MVO-CXMRZDOF-qjkg6y2r.js} +425 -37
- package/dist/{fr-CERONSRC-edpxhbmb.js → fr-7ZDL4MVO-pd27vwh6.js} +191 -11
- package/dist/{fr-VBM5WRC2-707ha692.js → fr-AXJGUT53-hdg3pmd4.js} +20 -5
- package/dist/{fr-PRMYCRDC-0bk078by.js → fr-I42FODC5-p80x5v4b.js} +83 -8
- package/dist/{fr-IHD66TVT-vfvmefbx.js → fr-IHD66TVT-eq8h0d6c.js} +1 -4
- package/dist/{governance-fetcher-mx8gr86x.js → governance-fetcher-h8hpcwyh.js} +17 -21
- package/dist/{headless-4x4v3sy6.js → headless-41t9wwb7.js} +2395 -43269
- package/dist/{hitl-service-d943rxgm.js → hitl-service-hccqhm63.js} +22 -42
- package/dist/index-4e3w8x62.js +31 -0
- package/dist/{index-fyc0k5dd.js → index-5pzp2qeb.js} +5350 -3271
- package/dist/index-5xh0cjag.js +82 -0
- package/dist/index-7fet3f0s.js +10 -0
- package/dist/index-d4bdedx3.js +32 -0
- package/dist/index-f5kq7265.js +24 -0
- package/dist/index-g2p2ww34.js +39 -0
- package/dist/index-ng011fzs.js +974 -0
- package/dist/{index-h8cph72k.js → index-nzr4mx5p.js} +2 -22
- package/dist/{index-1b2je9n2.js → index-px95xmkg.js} +290 -268
- package/dist/index-tdwpejt6.js +22 -0
- package/dist/index-z2qk2qn6.js +24 -0
- package/dist/index.js +19 -28
- package/dist/index.umd.min-ttg1qc0x.js +7814 -0
- package/dist/init.js +22 -43
- package/dist/inline-entity-resolver-0neh2b43.js +25 -0
- package/dist/input-reader-zqaep7k7.js +11 -0
- package/dist/{ja-43QL7CGO-c3q8gre9.js → ja-C7GZV6YP-hvtbngr5.js} +20 -5
- package/dist/{ja-HFEQKCZF-hb2f25p8.js → ja-GI3OUHPZ-28fy60r0.js} +83 -8
- package/dist/{ja-JE5ZL7EY-hacj2m31.js → ja-JE5ZL7EY-607k4c7p.js} +1 -4
- package/dist/{ja-Q5PXKJ2V-BR5GRIDQ-fgqqpryf.js → ja-LGAM5HKR-NTPKIZEM-nv67917s.js} +422 -34
- package/dist/{ja-U2MCNHGT-gz0ap1jk.js → ja-LGAM5HKR-sgrtjqjh.js} +190 -10
- package/dist/ja-WY2W6733-ayr36h1f.js +71 -0
- package/dist/{jmespath-e4a59c8w.js → jmespath-wwym30dp.js} +1 -1
- package/dist/{js-yaml-87cdx6bm.js → js-yaml-a2bk27p6.js} +1 -3
- package/dist/known-types-v9sxcq1c.js +13 -0
- package/dist/{ko-AYBDSRZG-G43C3XUW-kng13fsg.js → ko-7B4SUZB7-2SLI636D-grbtfrcv.js} +424 -36
- package/dist/{ko-XAUYQWDR-zp81gjp4.js → ko-7B4SUZB7-c8wr20sc.js} +190 -10
- package/dist/{ko-DJJRKCG5-5h3k9csc.js → ko-DJJRKCG5-4fekzjn4.js} +1 -4
- package/dist/{ko-LA5OSS5P-mq5h8sbk.js → ko-H2RGQWKJ-9696w762.js} +38 -5
- package/dist/{ko-TLL6Z6CD-wrt3n8a9.js → ko-Q24HSSL4-5vn55pte.js} +20 -5
- package/dist/{ko-B4SEC7QX-thq2wt6a.js → ko-RYKAL74T-10m4z8vw.js} +83 -8
- package/dist/localization-skqjy9nr.js +45 -0
- package/dist/maestro-automate-entry-d1v5q5mv.js +14 -0
- package/dist/{node-5ay0ddfj.js → node-0jy3qx5b.js} +69 -638
- package/dist/node-service-2nxpk751.js +64 -0
- package/dist/{node-strategy-1dmmhvf3.js → node-strategy-wrjxmbzt.js} +9 -12
- package/dist/node-sync-service-68vq10je.js +56 -0
- package/dist/packager-tool-14rdgz3c.js +55 -0
- package/dist/packager-tool-1rhch6b5.js +496 -0
- package/dist/packager-tool-21t17xzz.js +5073 -0
- package/dist/{packager-tool-pvhx9e12.js → packager-tool-2b0tn4p4.js} +58 -176
- package/dist/{packager-tool-xf9vf5nj.js → packager-tool-368bft50.js} +11 -11
- package/dist/{packager-tool-a5afh1dc.js → packager-tool-4fv0sq2h.js} +61 -67
- package/dist/packager-tool-4g87fbz6.js +273 -0
- package/dist/packager-tool-4zt1s51a.js +53 -0
- package/dist/{packager-tool-frjt46rb.js → packager-tool-508ka40b.js} +23 -23
- package/dist/{packager-tool-a5ywkf0w.js → packager-tool-5104bnpv.js} +22 -21
- package/dist/packager-tool-5dgpfh5e.js +1274 -0
- package/dist/packager-tool-5ve5ms3b.js +2393 -0
- package/dist/{packager-tool-dxgrhfq5.js → packager-tool-64r7e4ek.js} +8 -8
- package/dist/{packager-tool-kkwrd05c.js → packager-tool-65yf8zqb.js} +180 -1237
- package/dist/{packager-tool-1yh8g550.js → packager-tool-6an893wm.js} +12 -3
- package/dist/{packager-tool-hgfygxyj.js → packager-tool-6jpvvxyb.js} +27 -22
- package/dist/packager-tool-6vhefpmq.js +461 -0
- package/dist/{packager-tool-v9vpk48j.js → packager-tool-72xwbsmw.js} +441 -556
- package/dist/packager-tool-7atc775f.js +30 -0
- package/dist/packager-tool-7mxn3e7j.js +27 -0
- package/dist/{packager-tool-gpwnzqd9.js → packager-tool-7qtnffkc.js} +8 -7
- package/dist/{packager-tool-ymma2s85.js → packager-tool-8ba22j6n.js} +9 -6
- package/dist/{packager-tool-apawc11t.js → packager-tool-8ed52y5r.js} +1584 -1261
- package/dist/{packager-tool-143kcy6z.js → packager-tool-8n4bdvke.js} +13 -13
- package/dist/{packager-tool-p8gab24q.js → packager-tool-8qypzm9v.js} +424 -404
- package/dist/packager-tool-9217bxm2.js +6 -0
- package/dist/{packager-tool-zfrp8ecz.js → packager-tool-951nhh3e.js} +82 -82
- package/dist/{packager-tool-zjv3f1k3.js → packager-tool-99d2kj94.js} +8 -11
- package/dist/{packager-tool-z21c6mbp.js → packager-tool-a1h0q79w.js} +48 -48
- package/dist/{packager-tool-xk78j7dz.js → packager-tool-ac6rvny7.js} +52 -57
- package/dist/{packager-tool-3jkppykr.js → packager-tool-b2pkwwj1.js} +1273 -1300
- package/dist/{packager-tool-nhrc54tz.js → packager-tool-bbkkxbyq.js} +9 -8
- package/dist/{packager-tool-409n51pv.js → packager-tool-d07g2kpn.js} +7 -7
- package/dist/{packager-tool-8zzmg2f3.js → packager-tool-dx6sjbkd.js} +19 -19
- package/dist/{packager-tool-8g5931fz.js → packager-tool-em4ppegs.js} +36 -43
- package/dist/{packager-tool-zgsvggdr.js → packager-tool-f7rk9xhv.js} +4 -4
- package/dist/{packager-tool-jrnjzs5t.js → packager-tool-fzgfb0jt.js} +32175 -36281
- package/dist/{packager-tool-9rmaeaww.js → packager-tool-gdpw0daf.js} +25211 -11966
- package/dist/packager-tool-hk0fnvz5.js +14 -0
- package/dist/{packager-tool-dbsdy4xx.js → packager-tool-jd3v0bh1.js} +4 -4
- package/dist/{packager-tool-tqjfdpda.js → packager-tool-jmrhzfyj.js} +106 -80
- package/dist/{packager-tool-mgwzjh8c.js → packager-tool-kz3t4raw.js} +490 -246
- package/dist/{packager-tool-7bam8cjq.js → packager-tool-mdf7bws6.js} +53255 -27261
- package/dist/{packager-tool-gdtpsdn7.js → packager-tool-mm1x18d6.js} +223 -28
- package/dist/{packager-tool-nkrmjr3a.js → packager-tool-mphfxa9g.js} +125 -125
- package/dist/{packager-tool-kn86394c.js → packager-tool-p123mtfx.js} +66 -692
- package/dist/{packager-tool-t7ahhaer.js → packager-tool-pxq0bwp0.js} +208 -138
- package/dist/{packager-tool-j95w4fj3.js → packager-tool-q0f1dvtd.js} +11 -11
- package/dist/{packager-tool-8qp60s20.js → packager-tool-q2f18crb.js} +3 -3
- package/dist/packager-tool-q2kwk5bf.js +57 -0
- package/dist/{packager-tool-z502rf8m.js → packager-tool-rxqxza90.js} +192 -183
- package/dist/{packager-tool-vzezw19a.js → packager-tool-ryds9860.js} +33 -36
- package/dist/{packager-tool-ykbahxma.js → packager-tool-t17t9svg.js} +6 -6
- package/dist/{packager-tool-myhbp761.js → packager-tool-vgrswa8p.js} +53 -8
- package/dist/{packager-tool-7hw344bt.js → packager-tool-xb16e3tz.js} +5 -5
- package/dist/{packager-tool-1frs4sr4.js → packager-tool-yewnsyag.js} +37 -5
- package/dist/packager-tool-zdqbp34f.js +14 -0
- package/dist/{packager-tool-pacrqxv2.js → packager-tool-ze3fnf3s.js} +52 -34
- package/dist/packager-tool.js +12 -32
- package/dist/prepare-uip-ad7mfs8t.js +92 -0
- package/dist/{pt-3KUMINBZ-d0fexmny.js → pt-2RGHDOG4-gwe2ptvg.js} +38 -5
- package/dist/{pt-BR-3LGIH33I-tqbrd89y.js → pt-BR-3LGIH33I-hdf332je.js} +1 -4
- package/dist/{pt-BR-USP2T7GD-pedn77m1.js → pt-BR-BIUJXIPU-2sqzhr8y.js} +20 -5
- package/dist/{pt-BR-6VFBW5QT-hsck9gjj.js → pt-BR-IL3KLBID-m1mvqqzb.js} +83 -8
- package/dist/{pt-BR-WNNZTIMN-6fent688.js → pt-BR-JWHVZE6H-gvkknv49.js} +38 -5
- package/dist/{pt-BR-TKHNHMET-4Z5H4N5G-pzw3328h.js → pt-BR-PHLFHMXZ-JFPKUXIZ-gyb27t6e.js} +425 -37
- package/dist/{pt-BR-GNQNAAZ2-xadharv4.js → pt-BR-PHLFHMXZ-n6de4s7z.js} +191 -11
- package/dist/{pt-RMIAKZB4-t80exmp7.js → pt-MHX6JGAX-xfgvdqwg.js} +20 -5
- package/dist/{pt-ROXU257Y-OWZOS54V-ywap2t39.js → pt-N7ZTJT4W-GVODJMRX-p5b51p0b.js} +424 -36
- package/dist/{pt-TO2DARY2-ftcce1bv.js → pt-N7ZTJT4W-d6c67xcn.js} +190 -10
- package/dist/{pt-PFZXVOQH-qshq0b2m.js → pt-PFZXVOQH-xvcm5b61.js} +1 -4
- package/dist/{pt-WOTPKWPZ-1rxcy8hs.js → pt-VLA5IOHO-8t4pze0h.js} +83 -8
- package/dist/{ro-GHOBYW2S-4zevc9dy.js → ro-3RKJNGJZ-xqj14e3d.js} +20 -5
- package/dist/{ro-KMDT7LYJ-yhpnsdvw.js → ro-53TS7SWG-hnjx1c7b.js} +38 -5
- package/dist/{ro-AN5G62WQ-kcj00jwq.js → ro-AN5G62WQ-fzsv2ymm.js} +1 -4
- package/dist/{ro-AVAWPKOO-6WCG756B-v7pjv1hc.js → ro-FLNXVYJI-ZN43XZKK-2tajkc94.js} +422 -34
- package/dist/{ro-WUYJV6OW-a8d9qy1n.js → ro-FLNXVYJI-ytrwabg2.js} +190 -10
- package/dist/{ro-PB44YXML-zmhhwp5h.js → ro-IRNFX376-mh84zk3n.js} +82 -7
- package/dist/{ru-GSCT4ARZ-FTVCGQTL-gee86v14.js → ru-GSCT4ARZ-FTVCGQTL-v3d4ag31.js} +2 -4
- package/dist/ru-GSCT4ARZ-c2cfq4h1.js +7 -0
- package/dist/{ru-T73OPRTC-4knxw497.js → ru-T73OPRTC-50m7tty9.js} +1 -4
- package/dist/{ru-WBLQ5B2U-wemdzdqd.js → ru-WBLQ5B2U-5qpt0mvh.js} +1 -4
- package/dist/{ru-WBLQ5B2U-8r3c7v6d.js → ru-WBLQ5B2U-bf20yr5y.js} +1 -4
- package/dist/{ru-WBLQ5B2U-kdey8qa4.js → ru-WBLQ5B2U-w2wmp3xb.js} +1 -4
- package/dist/{serialization-BXU6AKAN-vdqyr29x.js → serialization-Z3UYT6BW-y9gb55mp.js} +1638 -761
- package/dist/services/extract-schema/default-schema-document.d.ts +31 -0
- package/dist/services/node-service.d.ts +6 -3
- package/dist/services/node-validators/file-node-connection-validator.d.ts +2 -0
- package/dist/services/node-validators/index.d.ts +1 -0
- package/dist/services/orchestrator-connection-field.d.ts +24 -0
- package/dist/services/packaging-utils.d.ts +2 -2
- package/dist/services/vars-reference-rule.d.ts +4 -3
- package/dist/solution-auth-j8x84n5z.js +11 -0
- package/dist/solution-discovery-vn4q32bf.js +38 -0
- package/dist/{tidy-service-c3xbcma6.js → tidy-service-m33hhtc7.js} +37 -55
- package/dist/tool.js +18 -27
- package/dist/{tr-JMIP7ZSL-G3QYPVT2-gswngwcr.js → tr-7AIZZWZ6-ESAESUPL-77g9b7jb.js} +422 -34
- package/dist/{tr-M3F5A6AU-bb0tg39m.js → tr-7AIZZWZ6-pdzp9n0p.js} +190 -10
- package/dist/{tr-SEC6RGZ4-0ttavjya.js → tr-EJKY7DVQ-rkctqva4.js} +83 -8
- package/dist/{tr-KHOCWWLF-8apf5y44.js → tr-KHOCWWLF-m9t24j5y.js} +1 -4
- package/dist/{tr-SC55DYHY-e4zgcd4t.js → tr-PIQY7JIT-2mkwk0kq.js} +38 -5
- package/dist/{tr-GDTLECMM-kngksm3r.js → tr-PQLUUHPC-qsb7btxn.js} +20 -5
- package/dist/utils/container-ports.d.ts +22 -0
- package/dist/utils/handle-expansion.d.ts +57 -3
- package/dist/utils/workflow-file-format.d.ts +14 -0
- package/dist/validation.js +44 -68
- package/dist/{variable-service-s0srgj90.js → variable-service-ea1erf93.js} +28 -49
- package/dist/{wait-for-flow-job-b0vj8828.js → wait-for-flow-job-a4xtda36.js} +29 -36
- package/dist/{zh-CN-MX7VIOF2-xznrtchf.js → zh-CN-4FH7E7UL-84y6j2ea.js} +82 -7
- package/dist/{zh-CN-4NI2EGMV-8g027vv3.js → zh-CN-4NI2EGMV-dt0wg0wh.js} +1 -4
- package/dist/{zh-CN-IFFXSEJS-MZQ4HU3Z-ge1ynmtz.js → zh-CN-CN2ARPFS-NIQTWDK2-b5c91fwn.js} +422 -34
- package/dist/{zh-CN-C5G4PC7C-ds9gkptg.js → zh-CN-CN2ARPFS-e0p2qrxf.js} +190 -10
- package/dist/{en-BPJVY3U7-xkpj5xc5.js → zh-CN-NIEVKROA-q4tbbwqz.js} +26 -7
- package/dist/{zh-CN-I5D7WHBD-ge92tbx9.js → zh-CN-OHNTHZRI-b0hjkfqn.js} +20 -5
- package/dist/{zh-TW-53SU6EH4-33x57egq.js → zh-TW-53SU6EH4-w0wz3nwg.js} +1 -4
- package/dist/{zh-TW-5SJ3GZT2-bsg054mw.js → zh-TW-5WQA6QTM-hns69sd4.js} +83 -8
- package/dist/{zh-TW-IYBNYAMG-J7FWTQTK-sx8d4ymg.js → zh-TW-7RUFEVFK-VKVRSVTP-jq2pcmar.js} +421 -33
- package/dist/{zh-TW-62HZIG6O-787kdwex.js → zh-TW-7RUFEVFK-qd7myw31.js} +190 -10
- package/dist/{zh-TW-2AVLM723-288pkc1z.js → zh-TW-E4D3Y6ZR-tn3bmzz5.js} +20 -5
- package/dist/{zh-TW-TN3MPNXL-jcgg2hcs.js → zh-TW-MSQM7YTT-m7r7nwnj.js} +38 -5
- package/package.json +2 -2
- package/dist/authoring-e1k40hyw.js +0 -24
- package/dist/binding-service-v1ejjevw.js +0 -157
- package/dist/de-FGHEJRCI-gn4cf5gh.js +0 -2697
- package/dist/de-MUJPA4EB-209jpeqe.js +0 -173
- package/dist/de-UZI7FJDO-mwvc4cxe.js +0 -200
- package/dist/debug-conversation-trigger-2crr9w4n.js +0 -30
- package/dist/debug-http-client-yqjzsnhw.js +0 -32
- package/dist/debug-service-nra3n02y.js +0 -61
- package/dist/edge-service-vq8cjh0x.js +0 -170
- package/dist/en-E454CJNK-ytfw06kj.js +0 -98
- package/dist/en-EJCBA3LK-0wb3b1xy.js +0 -146
- package/dist/en-EJCBA3LK-dtpdghgj.js +0 -146
- package/dist/en-GN2ZGWUE-03z2df4k.js +0 -136
- package/dist/en-LQHKFSEY-vvbe8ve9.js +0 -26
- package/dist/en-M7GQYBV2-5nfmpnfz.js +0 -2018
- package/dist/en-TBNO2WUV-77KTKLDE-4ktf0pqw.js +0 -1942
- package/dist/en-TBNO2WUV-9nan43e5.js +0 -1936
- package/dist/es-4UBUTCQA-m1ytpyx2.js +0 -200
- package/dist/es-7SE7HX2X-qda7whn6.js +0 -173
- package/dist/es-KR3ZSNMP-0cszm2n3.js +0 -2697
- package/dist/es-MX-2MYFZU7X-6v0q5rbn.js +0 -173
- package/dist/es-MX-5RELIXKI-9jhqtddc.js +0 -200
- package/dist/es-MX-XXZJGC4R-b4fbwe9d.js +0 -2697
- package/dist/filter-engine-7ep90g7f.js +0 -11
- package/dist/first-party-service-srxaftkn.js +0 -27
- package/dist/flow-api-sat010z1.js +0 -42
- package/dist/flow-eval-node-target-b5xwf5gp.js +0 -52
- package/dist/flow-eval-run-api-xdygjzfv.js +0 -13
- package/dist/flow-init-service-z6xc9zsz.js +0 -47
- package/dist/flow-io-hf4szx79.js +0 -44
- package/dist/flow-validate-service-3974mcq1.js +0 -70
- package/dist/fr-MDFKNZ4C-qmypp92m.js +0 -173
- package/dist/fr-VBM5WRC2-63z7w4mh.js +0 -200
- package/dist/fr-Y6NPVODW-q5ef3htr.js +0 -2697
- package/dist/index-cexznmfe.js +0 -667
- package/dist/index-cg9qhfb1.js +0 -635
- package/dist/index-d090f35d.js +0 -66
- package/dist/index-gxcjq6ns.js +0 -110
- package/dist/index-kmp9fmhb.js +0 -25
- package/dist/index-nsn889vf.js +0 -27
- package/dist/index-sqhbn7ew.js +0 -157
- package/dist/index-wycgq0ff.js +0 -3178
- package/dist/index.umd.min-fqefd9kn.js +0 -7814
- package/dist/inline-entity-resolver-23tt0g1j.js +0 -45
- package/dist/input-reader-n7kzdrev.js +0 -12
- package/dist/ja-43QL7CGO-h6qfxfay.js +0 -200
- package/dist/ja-MDG4BKZQ-gayaca2c.js +0 -38
- package/dist/ja-Q5PXKJ2V-tzf2rvz2.js +0 -2697
- package/dist/ja-UTQEAP34-hvyf683h.js +0 -173
- package/dist/known-types-r51zxb9g.js +0 -19
- package/dist/ko-AXCHW2OK-pkwdcbmx.js +0 -173
- package/dist/ko-AYBDSRZG-am0h0m2r.js +0 -2697
- package/dist/ko-TLL6Z6CD-ag6gjynr.js +0 -200
- package/dist/localization-d6gjmrsw.js +0 -47
- package/dist/maestro-automate-entry-6f9act3w.js +0 -22
- package/dist/node-service-0t16wfqk.js +0 -92
- package/dist/node-sync-service-w84f66pb.js +0 -61
- package/dist/packager-tool-0gctz400.js +0 -17
- package/dist/packager-tool-4mna26cc.js +0 -133
- package/dist/packager-tool-4x7tzvv0.js +0 -1176
- package/dist/packager-tool-53w8skv5.js +0 -262
- package/dist/packager-tool-6ejqwbw9.js +0 -26
- package/dist/packager-tool-6z1hsm2h.js +0 -143
- package/dist/packager-tool-79jnagb9.js +0 -5367
- package/dist/packager-tool-9era57c0.js +0 -28
- package/dist/packager-tool-9jxzgsxc.js +0 -14
- package/dist/packager-tool-c23zrhj8.js +0 -11
- package/dist/packager-tool-d6qf5qmb.js +0 -49
- package/dist/packager-tool-dw1bm5y7.js +0 -8809
- package/dist/packager-tool-e3yks66r.js +0 -95
- package/dist/packager-tool-e5hj89zm.js +0 -6
- package/dist/packager-tool-e87tzg4y.js +0 -1937
- package/dist/packager-tool-eypvc2kv.js +0 -23
- package/dist/packager-tool-gbgfwx8f.js +0 -2
- package/dist/packager-tool-hk1gxnth.js +0 -11
- package/dist/packager-tool-hxyjn885.js +0 -24
- package/dist/packager-tool-j78fwwhq.js +0 -16
- package/dist/packager-tool-jgfzfqjm.js +0 -53
- package/dist/packager-tool-jysvpt8p.js +0 -11
- package/dist/packager-tool-m3wkcxf5.js +0 -11
- package/dist/packager-tool-mcaf4ewf.js +0 -46
- package/dist/packager-tool-mgcz986r.js +0 -143
- package/dist/packager-tool-p79yh9ww.js +0 -97
- package/dist/packager-tool-paq9c70w.js +0 -1332
- package/dist/packager-tool-pcvhcn2k.js +0 -2019
- package/dist/packager-tool-qkn0c042.js +0 -1922
- package/dist/packager-tool-qszay16r.js +0 -180
- package/dist/packager-tool-rs6jm14d.js +0 -23
- package/dist/packager-tool-s7wb0s9n.js +0 -6297
- package/dist/packager-tool-sc961w0q.js +0 -16
- package/dist/packager-tool-skcjythd.js +0 -22085
- package/dist/packager-tool-t07ev0jj.js +0 -1083
- package/dist/packager-tool-xj0agqpk.js +0 -11
- package/dist/packager-tool-z83pga0z.js +0 -1942
- package/dist/pt-3DIO5QWG-hb763vct.js +0 -173
- package/dist/pt-BR-TKHNHMET-dn6zxk1d.js +0 -2697
- package/dist/pt-BR-USP2T7GD-rppy42ym.js +0 -200
- package/dist/pt-BR-Y6K6XHXK-37a932vp.js +0 -173
- package/dist/pt-RMIAKZB4-67enhx3m.js +0 -200
- package/dist/pt-ROXU257Y-yd80gx6s.js +0 -2697
- package/dist/ro-AVAWPKOO-42m6am1w.js +0 -2697
- package/dist/ro-BWR3ONRR-jmap5ajd.js +0 -173
- package/dist/ro-GHOBYW2S-mhnqsgaa.js +0 -200
- package/dist/ru-GSCT4ARZ-1sa9wbr8.js +0 -10
- package/dist/ru-GSCT4ARZ-jrxwev63.js +0 -10
- package/dist/ru-WBLQ5B2U-dpqvtfwr.js +0 -10
- package/dist/ru-WBLQ5B2U-s4em88p0.js +0 -10
- package/dist/shared-utils-tqnx96mg.js +0 -21
- package/dist/solution-auth-8qz5pw7z.js +0 -14
- package/dist/solution-discovery-6t0z143v.js +0 -44
- package/dist/tr-5IIHSFW5-stsb3dar.js +0 -173
- package/dist/tr-GDTLECMM-k5fhmq13.js +0 -200
- package/dist/tr-JMIP7ZSL-fb67ft9w.js +0 -2696
- package/dist/zh-CN-I5D7WHBD-sr5h0a98.js +0 -200
- package/dist/zh-CN-IFFXSEJS-tke4mzty.js +0 -2697
- package/dist/zh-CN-OUMLDKDS-q3a1rr5c.js +0 -38
- package/dist/zh-CN-R2KU4U5L-q4yhc33t.js +0 -173
- package/dist/zh-TW-2AVLM723-xsmap3gk.js +0 -200
- package/dist/zh-TW-GNKMELBF-r4ay2475.js +0 -173
- package/dist/zh-TW-IYBNYAMG-wcan0qpb.js +0 -2697
- /package/dist/{packager-tool-yc4kw997.js → packager-tool-1qg04b7q.js} +0 -0
- /package/dist/{packager-tool-cqtsj6yh.js → packager-tool-2sazb7th.js} +0 -0
- /package/dist/{packager-tool-s9ff3kk4.js → packager-tool-887wr6jm.js} +0 -0
- /package/dist/{packager-tool-aw9v0raw.js → packager-tool-8c7nddd1.js} +0 -0
- /package/dist/{packager-tool-9cq9atem.js → packager-tool-a9xgmn1q.js} +0 -0
- /package/dist/{packager-tool-4kr6g0zw.js → packager-tool-cvh1a0nm.js} +0 -0
- /package/dist/{packager-tool-27avrkyk.js → packager-tool-k3egwd1m.js} +0 -0
- /package/dist/{packager-tool-qa9gftnj.js → packager-tool-mxgybnmt.js} +0 -0
- /package/dist/{packager-tool-10vc8pq4.js → packager-tool-wr7gn964.js} +0 -0
|
@@ -1,40 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
fileFormatToInMemoryWorkflow,
|
|
9
|
-
generateNextId,
|
|
10
|
-
generateNodeVariables,
|
|
11
|
-
inMemoryWorkflowToFileFormat,
|
|
12
|
-
isReservedWord,
|
|
13
|
-
planWriteThrough,
|
|
14
|
-
resolveAndConvertWorkflow,
|
|
15
|
-
workflowFileSchema,
|
|
16
|
-
workflowSchema
|
|
17
|
-
} from "./packager-tool-qkn0c042.js";
|
|
2
|
+
coerceInputsViaSchema2,
|
|
3
|
+
isReservedWord2,
|
|
4
|
+
VALID_IDENTIFIER_PATTERN2,
|
|
5
|
+
generateNextId2,
|
|
6
|
+
MINIMUM_SUPPORTED_SCHEMA_VERSION2
|
|
7
|
+
} from "./packager-tool-fzgfb0jt.js";
|
|
18
8
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./packager-tool-
|
|
9
|
+
generateNodeVariables3
|
|
10
|
+
} from "./packager-tool-4g87fbz6.js";
|
|
21
11
|
|
|
22
12
|
// ../../node_modules/@uipath/flow-core/dist/chunk-HPJ6Q3LW.js
|
|
23
|
-
function
|
|
24
|
-
const model = manifest.model;
|
|
25
|
-
if (!model)
|
|
26
|
-
return false;
|
|
27
|
-
if (model.bindings !== undefined)
|
|
28
|
-
return true;
|
|
29
|
-
const context = model.context;
|
|
30
|
-
if (!context || typeof context !== "object")
|
|
31
|
-
return false;
|
|
32
|
-
const connectionKeys = ["connection", "folderKey", "connectionId"];
|
|
33
|
-
return Object.keys(context).some((k) => connectionKeys.includes(k));
|
|
34
|
-
}
|
|
35
|
-
function createBinding(options) {
|
|
13
|
+
function createBinding2(options) {
|
|
36
14
|
return {
|
|
37
|
-
id:
|
|
15
|
+
id: generateNextId2("b", 8),
|
|
38
16
|
name: options.name,
|
|
39
17
|
type: "string",
|
|
40
18
|
resource: options.resource,
|
|
@@ -44,24 +22,6 @@ function createBinding(options) {
|
|
|
44
22
|
...options.resourceSubType && { resourceSubType: options.resourceSubType }
|
|
45
23
|
};
|
|
46
24
|
}
|
|
47
|
-
function createConnectionBinding(connectionId, connectorName) {
|
|
48
|
-
return createBinding({
|
|
49
|
-
name: connectorName,
|
|
50
|
-
value: connectorName,
|
|
51
|
-
resource: CONNECTION_BINDING_RESOURCE,
|
|
52
|
-
resourceKey: connectionId,
|
|
53
|
-
propertyAttribute: "connection"
|
|
54
|
-
});
|
|
55
|
-
}
|
|
56
|
-
function createFolderKeyBinding(connectionId, folderKey) {
|
|
57
|
-
return createBinding({
|
|
58
|
-
name: folderKey,
|
|
59
|
-
value: folderKey,
|
|
60
|
-
resource: "folderKey",
|
|
61
|
-
resourceKey: connectionId,
|
|
62
|
-
propertyAttribute: "folderKey"
|
|
63
|
-
});
|
|
64
|
-
}
|
|
65
25
|
function addBindingIfMissing(bindings, binding) {
|
|
66
26
|
const exists = bindings.some((b) => b.name === binding.name && b.resource === binding.resource && b.resourceKey === binding.resourceKey && b.propertyAttribute === binding.propertyAttribute);
|
|
67
27
|
if (exists)
|
|
@@ -73,7 +33,7 @@ function createBindingsFromManifest(manifest) {
|
|
|
73
33
|
const bindingsTemplate = model?.bindings;
|
|
74
34
|
if (!bindingsTemplate?.values)
|
|
75
35
|
return [];
|
|
76
|
-
return bindingsTemplate.values.map((v) =>
|
|
36
|
+
return bindingsTemplate.values.map((v) => createBinding2({
|
|
77
37
|
name: v.name,
|
|
78
38
|
value: v.default ?? "",
|
|
79
39
|
resource: bindingsTemplate.resource,
|
|
@@ -83,31 +43,7 @@ function createBindingsFromManifest(manifest) {
|
|
|
83
43
|
}));
|
|
84
44
|
}
|
|
85
45
|
|
|
86
|
-
// ../../node_modules/@uipath/flow-core/dist/chunk-
|
|
87
|
-
var DEFAULT_TRIGGER_POSITION = { x: 256, y: 144 };
|
|
88
|
-
var DEFAULT_LAYOUT_OPTIONS = {
|
|
89
|
-
algorithm: "layered",
|
|
90
|
-
direction: "RIGHT",
|
|
91
|
-
nodeSpacing: 96,
|
|
92
|
-
layerSpacing: 96,
|
|
93
|
-
minimizeCrossings: true,
|
|
94
|
-
straightenEdges: true,
|
|
95
|
-
compact: false,
|
|
96
|
-
animate: true,
|
|
97
|
-
animationDuration: 500
|
|
98
|
-
};
|
|
99
|
-
function resolveWidth(node) {
|
|
100
|
-
return node.measured?.width ?? node.width ?? 96;
|
|
101
|
-
}
|
|
102
|
-
function resolveHeight(node) {
|
|
103
|
-
return node.measured?.height ?? node.height ?? 96;
|
|
104
|
-
}
|
|
105
|
-
var GRID_SPACING = 16;
|
|
106
|
-
function snapToGrid(value, gridSize = GRID_SPACING) {
|
|
107
|
-
return Math.round(value / gridSize) * gridSize;
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
// ../../node_modules/@uipath/flow-core/dist/index.js
|
|
46
|
+
// ../../node_modules/@uipath/flow-core/dist/chunk-XZ3PCAYA.js
|
|
111
47
|
function sanitizeNodeLabel(label) {
|
|
112
48
|
const words = label.split(/[^a-zA-Z0-9]+/).filter(Boolean);
|
|
113
49
|
if (words.length === 0)
|
|
@@ -125,10 +61,7 @@ function lowerCaseFirstLetter(str) {
|
|
|
125
61
|
return str;
|
|
126
62
|
return str.charAt(0).toLowerCase() + str.slice(1);
|
|
127
63
|
}
|
|
128
|
-
function
|
|
129
|
-
return generateNodeIdAndName(label, existingIds).id;
|
|
130
|
-
}
|
|
131
|
-
function generateNodeIdAndName(label, existingIds) {
|
|
64
|
+
function generateNodeIdAndName2(label, existingIds) {
|
|
132
65
|
const idSet = existingIds instanceof Set ? existingIds : new Set(existingIds);
|
|
133
66
|
const baseId = lowerCaseFirstLetter(sanitizeNodeLabel(label).replace("createNew", ""));
|
|
134
67
|
let index = 1;
|
|
@@ -147,7 +80,7 @@ function validateIdFormat(id) {
|
|
|
147
80
|
return "ID is required";
|
|
148
81
|
}
|
|
149
82
|
const trimmed = normalizeIdentifier(id);
|
|
150
|
-
if (!
|
|
83
|
+
if (!VALID_IDENTIFIER_PATTERN2.test(trimmed)) {
|
|
151
84
|
if (/^\d/.test(trimmed))
|
|
152
85
|
return "ID cannot start with a number";
|
|
153
86
|
if (/\s/.test(trimmed))
|
|
@@ -156,7 +89,7 @@ function validateIdFormat(id) {
|
|
|
156
89
|
return "ID can only contain letters, numbers, and underscores";
|
|
157
90
|
return "ID must start with a letter or underscore";
|
|
158
91
|
}
|
|
159
|
-
if (
|
|
92
|
+
if (isReservedWord2(trimmed)) {
|
|
160
93
|
return `"${trimmed}" is a reserved word`;
|
|
161
94
|
}
|
|
162
95
|
return;
|
|
@@ -164,7 +97,7 @@ function validateIdFormat(id) {
|
|
|
164
97
|
function normalizeIdentifier(id) {
|
|
165
98
|
return id.trim();
|
|
166
99
|
}
|
|
167
|
-
function
|
|
100
|
+
function validateIdentifier2(id, existingIds, currentNodeId) {
|
|
168
101
|
const formatError = validateIdFormat(id);
|
|
169
102
|
if (formatError)
|
|
170
103
|
return formatError;
|
|
@@ -178,8 +111,11 @@ function validateIdentifier(id, existingIds, currentNodeId) {
|
|
|
178
111
|
}
|
|
179
112
|
return;
|
|
180
113
|
}
|
|
114
|
+
function edgeIdPrefix(source, sourceHandle) {
|
|
115
|
+
return `${source}-${sourceHandle ?? "default"}-`;
|
|
116
|
+
}
|
|
181
117
|
function generateEdgeId(source, sourceHandle, target, targetHandle, existingIds) {
|
|
182
|
-
const baseId = `${source
|
|
118
|
+
const baseId = `${edgeIdPrefix(source, sourceHandle)}${target}-${targetHandle ?? "default"}`;
|
|
183
119
|
if (!existingIds || !existingIds.has(baseId)) {
|
|
184
120
|
return baseId;
|
|
185
121
|
}
|
|
@@ -191,12 +127,38 @@ function generateEdgeId(source, sourceHandle, target, targetHandle, existingIds)
|
|
|
191
127
|
}
|
|
192
128
|
return candidateId;
|
|
193
129
|
}
|
|
130
|
+
|
|
131
|
+
// ../../node_modules/@uipath/flow-core/dist/chunk-GCUQRSSY.js
|
|
132
|
+
var DEFAULT_TRIGGER_POSITION = { x: 256, y: 144 };
|
|
133
|
+
var DEFAULT_LAYOUT_OPTIONS = {
|
|
134
|
+
algorithm: "layered",
|
|
135
|
+
direction: "RIGHT",
|
|
136
|
+
nodeSpacing: 96,
|
|
137
|
+
layerSpacing: 96,
|
|
138
|
+
minimizeCrossings: true,
|
|
139
|
+
straightenEdges: true,
|
|
140
|
+
compact: false,
|
|
141
|
+
animate: true,
|
|
142
|
+
animationDuration: 500
|
|
143
|
+
};
|
|
144
|
+
function resolveWidth(node) {
|
|
145
|
+
return node.measured?.width ?? node.width ?? 96;
|
|
146
|
+
}
|
|
147
|
+
function resolveHeight(node) {
|
|
148
|
+
return node.measured?.height ?? node.height ?? 96;
|
|
149
|
+
}
|
|
150
|
+
var GRID_SPACING = 16;
|
|
151
|
+
function snapToGrid(value, gridSize = GRID_SPACING) {
|
|
152
|
+
return Math.round(value / gridSize) * gridSize;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
// ../../node_modules/@uipath/flow-core/dist/index.js
|
|
194
156
|
function getInputDefaults(manifest) {
|
|
195
|
-
const raw = manifest.inputDefaults ? structuredClone(manifest.inputDefaults) :
|
|
157
|
+
const raw = manifest.inputDefaults ? structuredClone(manifest.inputDefaults) : {};
|
|
196
158
|
const inputDefinition = manifest.inputDefinition;
|
|
197
159
|
const inputProps = inputDefinition?.properties ?? {};
|
|
198
160
|
for (const [key, value] of Object.entries(raw)) {
|
|
199
|
-
raw[key] =
|
|
161
|
+
raw[key] = coerceInputsViaSchema2(value, inputProps[key]);
|
|
200
162
|
}
|
|
201
163
|
return raw;
|
|
202
164
|
}
|
|
@@ -211,6 +173,7 @@ function createNodeFromManifest(manifest, id, position = { x: 0, y: 0 }, label)
|
|
|
211
173
|
}
|
|
212
174
|
return {
|
|
213
175
|
id,
|
|
176
|
+
uniqueId: crypto.randomUUID(),
|
|
214
177
|
type: manifest.nodeType,
|
|
215
178
|
typeVersion: manifest.version,
|
|
216
179
|
ui: { position },
|
|
@@ -218,19 +181,6 @@ function createNodeFromManifest(manifest, id, position = { x: 0, y: 0 }, label)
|
|
|
218
181
|
inputs
|
|
219
182
|
};
|
|
220
183
|
}
|
|
221
|
-
function createNode(options) {
|
|
222
|
-
if (!options.typeVersion) {
|
|
223
|
-
throw new Error("createNode requires an explicit typeVersion");
|
|
224
|
-
}
|
|
225
|
-
return {
|
|
226
|
-
id: options.id,
|
|
227
|
-
type: options.type,
|
|
228
|
-
typeVersion: options.typeVersion,
|
|
229
|
-
ui: { position: options.position ?? { x: 0, y: 0 } },
|
|
230
|
-
display: { label: options.label ?? options.id },
|
|
231
|
-
inputs: options.inputs ?? {}
|
|
232
|
-
};
|
|
233
|
-
}
|
|
234
184
|
function createEdge(options) {
|
|
235
185
|
const sourcePort = options.sourcePort ?? "default";
|
|
236
186
|
const targetPort = options.targetPort ?? "default";
|
|
@@ -250,7 +200,7 @@ function addDefinition(workflow, manifest) {
|
|
|
250
200
|
defs.push(manifest);
|
|
251
201
|
}
|
|
252
202
|
}
|
|
253
|
-
function
|
|
203
|
+
function addNode2(workflow, manifest, id, position, label) {
|
|
254
204
|
const node = createNodeFromManifest(manifest, id, position, label);
|
|
255
205
|
if (node.inputs?.entryPointId) {
|
|
256
206
|
const hasDefault = workflow.nodes.some((n) => n.inputs?.isDefaultEntryPoint === true);
|
|
@@ -269,11 +219,11 @@ function addNode(workflow, manifest, id, position, label) {
|
|
|
269
219
|
}
|
|
270
220
|
workflow.variables = {
|
|
271
221
|
...workflow.variables,
|
|
272
|
-
nodes:
|
|
222
|
+
nodes: generateNodeVariables3(workflow.nodes, workflow.definitions)
|
|
273
223
|
};
|
|
274
224
|
return node;
|
|
275
225
|
}
|
|
276
|
-
function
|
|
226
|
+
function createWorkflow2(options) {
|
|
277
227
|
const id = options?.id ?? crypto.randomUUID();
|
|
278
228
|
const name = options?.name ?? "Untitled Workflow";
|
|
279
229
|
const nodes = [];
|
|
@@ -288,25 +238,25 @@ function createWorkflow(options) {
|
|
|
288
238
|
}
|
|
289
239
|
return {
|
|
290
240
|
id,
|
|
291
|
-
version:
|
|
241
|
+
version: MINIMUM_SUPPORTED_SCHEMA_VERSION2,
|
|
292
242
|
name,
|
|
293
243
|
nodes,
|
|
294
244
|
edges: [],
|
|
295
245
|
definitions
|
|
296
246
|
};
|
|
297
247
|
}
|
|
298
|
-
function
|
|
248
|
+
function addEdge2(workflow, options) {
|
|
299
249
|
const existingIds = new Set(workflow.edges.map((e) => e.id));
|
|
300
250
|
const edge = createEdge({ ...options, existingIds });
|
|
301
251
|
workflow.edges.push(edge);
|
|
302
252
|
return edge;
|
|
303
253
|
}
|
|
304
|
-
function
|
|
254
|
+
function addBinding2(workflow, binding) {
|
|
305
255
|
const current = workflow.bindings ?? [];
|
|
306
256
|
const updated = addBindingIfMissing(current, binding);
|
|
307
257
|
workflow.bindings = updated;
|
|
308
258
|
}
|
|
309
|
-
function
|
|
259
|
+
function addVariable2(workflow, variable) {
|
|
310
260
|
if (!workflow.variables) {
|
|
311
261
|
workflow.variables = { globals: [], nodes: [] };
|
|
312
262
|
}
|
|
@@ -315,74 +265,6 @@ function addVariable(workflow, variable) {
|
|
|
315
265
|
}
|
|
316
266
|
workflow.variables.globals.push(variable);
|
|
317
267
|
}
|
|
318
|
-
|
|
319
|
-
async function getNodeFs() {
|
|
320
|
-
if (cachedNodeFs)
|
|
321
|
-
return cachedNodeFs;
|
|
322
|
-
const nodeFs = await import("fs");
|
|
323
|
-
cachedNodeFs = {
|
|
324
|
-
readFile: (p, enc) => nodeFs.promises.readFile(p, enc),
|
|
325
|
-
writeFile: (p, c, enc) => nodeFs.promises.writeFile(p, c, enc)
|
|
326
|
-
};
|
|
327
|
-
return cachedNodeFs;
|
|
328
|
-
}
|
|
329
|
-
async function readWorkflow(filePath, fs) {
|
|
330
|
-
const filesystem = fs ?? await getNodeFs();
|
|
331
|
-
const refResolver = createRefResolver((resolvedPath) => filesystem.readFile(resolvedPath, "utf-8"));
|
|
332
|
-
const content = await filesystem.readFile(filePath, "utf-8");
|
|
333
|
-
const raw = JSON.parse(content);
|
|
334
|
-
const { workflow } = await resolveAndConvertWorkflow(raw, refResolver, { baseUri: filePath });
|
|
335
|
-
return workflowSchema.parse(workflow);
|
|
336
|
-
}
|
|
337
|
-
async function writeWorkflow(filePath, workflow, fs) {
|
|
338
|
-
const filesystem = fs ?? await getNodeFs();
|
|
339
|
-
const fileFormat = inMemoryWorkflowToFileFormat(workflow);
|
|
340
|
-
await filesystem.writeFile(filePath, JSON.stringify(fileFormat, null, 2), "utf-8");
|
|
341
|
-
}
|
|
342
|
-
async function writeWorkflowWithRefs(filePath, workflow, refMap, fs) {
|
|
343
|
-
const filesystem = fs ?? await getNodeFs();
|
|
344
|
-
const fileFormat = inMemoryWorkflowToFileFormat(workflow);
|
|
345
|
-
const plan = planWriteThrough(fileFormat, refMap);
|
|
346
|
-
await executeWritePlan(plan, {
|
|
347
|
-
writeMainFile: async (content) => {
|
|
348
|
-
await filesystem.writeFile(filePath, content, "utf-8");
|
|
349
|
-
},
|
|
350
|
-
writeRefFile: async (refPath, content) => {
|
|
351
|
-
const path = await import("path");
|
|
352
|
-
const absPath = path.resolve(path.dirname(filePath), refPath);
|
|
353
|
-
await filesystem.writeFile(absPath, content, "utf-8");
|
|
354
|
-
}
|
|
355
|
-
});
|
|
356
|
-
}
|
|
357
|
-
function validateWorkflow(workflow) {
|
|
358
|
-
const file = workflowFileSchema.parse(workflow);
|
|
359
|
-
return fileFormatToInMemoryWorkflow(file);
|
|
360
|
-
}
|
|
361
|
-
function summarizeWorkflow(workflow) {
|
|
362
|
-
const nodes = workflow.nodes;
|
|
363
|
-
const edges = workflow.edges;
|
|
364
|
-
return {
|
|
365
|
-
id: workflow.id,
|
|
366
|
-
name: workflow.name,
|
|
367
|
-
version: workflow.version,
|
|
368
|
-
nodeCount: nodes.length,
|
|
369
|
-
edgeCount: edges.length,
|
|
370
|
-
nodes: nodes.map((n) => ({
|
|
371
|
-
id: n.id,
|
|
372
|
-
type: n.type,
|
|
373
|
-
label: n.display?.label
|
|
374
|
-
})),
|
|
375
|
-
edges: edges.map((e) => ({
|
|
376
|
-
source: e.sourceNodeId,
|
|
377
|
-
target: e.targetNodeId
|
|
378
|
-
})),
|
|
379
|
-
variableCount: {
|
|
380
|
-
globals: workflow.variables?.globals?.length ?? 0,
|
|
381
|
-
nodes: workflow.variables?.nodes?.length ?? 0
|
|
382
|
-
},
|
|
383
|
-
hasBindings: (workflow.bindings?.length ?? 0) > 0
|
|
384
|
-
};
|
|
385
|
-
}
|
|
386
|
-
export { needsBinding, createBinding, createConnectionBinding, createFolderKeyBinding, addBindingIfMissing, createBindingsFromManifest, DEFAULT_LAYOUT_OPTIONS, resolveWidth, resolveHeight, GRID_SPACING, snapToGrid, generateNodeId, generateNodeIdAndName, normalizeIdentifier, validateIdentifier, generateEdgeId, createNodeFromManifest, createNode, createEdge, addDefinition, addNode, createWorkflow, addEdge, addBinding, addVariable, readWorkflow, writeWorkflow, writeWorkflowWithRefs, validateWorkflow, summarizeWorkflow };
|
|
268
|
+
export { createBinding2, generateNodeIdAndName2, validateIdentifier2, DEFAULT_LAYOUT_OPTIONS, resolveWidth, resolveHeight, GRID_SPACING, snapToGrid, addNode2, createWorkflow2, addEdge2, addBinding2, addVariable2 };
|
|
387
269
|
|
|
388
|
-
//# debugId=
|
|
270
|
+
//# debugId=FE9501D2FF9BC5CF64756E2164756E21
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
+
instance2
|
|
3
|
+
} from "./packager-tool-fzgfb0jt.js";
|
|
4
|
+
import {
|
|
5
|
+
registerFlowMigrationsI18n,
|
|
2
6
|
getMigrationChain,
|
|
3
7
|
migrateWorkflowToFloor,
|
|
4
8
|
minimumSupportedVersion,
|
|
5
|
-
|
|
6
|
-
runtimeMigrations
|
|
7
|
-
|
|
8
|
-
} from "./packager-tool-dw1bm5y7.js";
|
|
9
|
-
import {
|
|
10
|
-
instance
|
|
11
|
-
} from "./packager-tool-jrnjzs5t.js";
|
|
9
|
+
runtimeVersion,
|
|
10
|
+
runtimeMigrations
|
|
11
|
+
} from "./packager-tool-mdf7bws6.js";
|
|
12
12
|
|
|
13
13
|
// src/services/flow-migration-check.ts
|
|
14
|
-
if (!
|
|
15
|
-
|
|
14
|
+
if (!instance2.isInitialized) {
|
|
15
|
+
instance2.init({
|
|
16
16
|
lng: "en",
|
|
17
17
|
fallbackLng: "en",
|
|
18
18
|
defaultNS: "validation",
|
|
@@ -20,7 +20,7 @@ if (!instance.isInitialized) {
|
|
|
20
20
|
interpolation: { escapeValue: false }
|
|
21
21
|
});
|
|
22
22
|
}
|
|
23
|
-
registerFlowMigrationsI18n(
|
|
23
|
+
registerFlowMigrationsI18n(instance2);
|
|
24
24
|
function captureMigrationIssues() {
|
|
25
25
|
const paths = [];
|
|
26
26
|
const tracker = {
|
|
@@ -76,4 +76,4 @@ function checkForwardMigration(rawWorkflow) {
|
|
|
76
76
|
|
|
77
77
|
export { captureMigrationIssues, formatMigrationFailureMessage, checkForwardMigration };
|
|
78
78
|
|
|
79
|
-
//# debugId=
|
|
79
|
+
//# debugId=C32003562BE25FFD64756E2164756E21
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./packager-tool-
|
|
2
|
+
catchError2
|
|
3
|
+
} from "./packager-tool-pxq0bwp0.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
5
|
+
logger,
|
|
6
|
+
processContext,
|
|
7
|
+
PollOutcome,
|
|
8
|
+
ErrorDecision,
|
|
9
|
+
MIN_INTERVAL_MS,
|
|
10
|
+
pollUntil
|
|
11
|
+
} from "./packager-tool-8ed52y5r.js";
|
|
10
12
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./packager-tool-
|
|
13
|
+
getPersonalFolderKey2
|
|
14
|
+
} from "./packager-tool-jmrhzfyj.js";
|
|
13
15
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
+
JobsApi2,
|
|
17
|
+
ReleasesApi2,
|
|
18
|
+
createOrchestratorConfig2,
|
|
19
|
+
requireFolder2
|
|
20
|
+
} from "./packager-tool-21t17xzz.js";
|
|
16
21
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
PollOutcome,
|
|
20
|
-
logger,
|
|
21
|
-
pollUntil,
|
|
22
|
-
processContext
|
|
23
|
-
} from "./packager-tool-apawc11t.js";
|
|
22
|
+
UnknownEntryPointError
|
|
23
|
+
} from "./packager-tool-cvh1a0nm.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./packager-tool-
|
|
25
|
+
parseJsonInputOrFile
|
|
26
|
+
} from "./packager-tool-8ba22j6n.js";
|
|
27
27
|
|
|
28
28
|
// src/services/http-client.ts
|
|
29
29
|
function buildCommonHeaders(config, options) {
|
|
@@ -66,15 +66,18 @@ async function orchestratorGet(config, path) {
|
|
|
66
66
|
}
|
|
67
67
|
|
|
68
68
|
// src/services/flow-api.ts
|
|
69
|
-
function
|
|
69
|
+
function escapeODataStringLiteral2(value) {
|
|
70
70
|
return value.replace(/'/g, "''");
|
|
71
71
|
}
|
|
72
|
-
|
|
72
|
+
function resolveConfiguredFolder(config) {
|
|
73
|
+
return requireFolder2({ folderKey: config.folderKey }, "No folder key given. Pass --folder-key with the key of the folder that holds the flow.", { tenant: config.tenantName });
|
|
74
|
+
}
|
|
75
|
+
async function resolveFlowFolderId2(config) {
|
|
73
76
|
if (config.folderKey) {
|
|
74
|
-
const folder = await
|
|
77
|
+
const folder = await resolveConfiguredFolder(config);
|
|
75
78
|
return folder.id.toString();
|
|
76
79
|
}
|
|
77
|
-
const personalFolder = await
|
|
80
|
+
const personalFolder = await getPersonalFolderKey2({
|
|
78
81
|
baseUrl: config.baseUrl,
|
|
79
82
|
organizationId: config.organizationId,
|
|
80
83
|
tenantName: config.tenantName,
|
|
@@ -83,12 +86,12 @@ async function resolveFlowFolderId(config) {
|
|
|
83
86
|
});
|
|
84
87
|
return personalFolder.id.toString();
|
|
85
88
|
}
|
|
86
|
-
async function
|
|
87
|
-
const folder = await
|
|
88
|
-
const sdkConfig = await
|
|
89
|
+
async function listFlowProcesses2(config, filter, window = {}) {
|
|
90
|
+
const folder = await resolveConfiguredFolder(config);
|
|
91
|
+
const sdkConfig = await createOrchestratorConfig2({
|
|
89
92
|
folderId: folder.id.toString()
|
|
90
93
|
});
|
|
91
|
-
const releasesApi = new
|
|
94
|
+
const releasesApi = new ReleasesApi2(sdkConfig);
|
|
92
95
|
const filters = ["ProcessType eq 'Flow'"];
|
|
93
96
|
if (filter) {
|
|
94
97
|
filters.push(filter);
|
|
@@ -101,18 +104,18 @@ async function listFlowProcesses(config, filter, window = {}) {
|
|
|
101
104
|
});
|
|
102
105
|
return response.value || [];
|
|
103
106
|
}
|
|
104
|
-
async function
|
|
105
|
-
const folderId = await
|
|
106
|
-
const sdkConfig = await
|
|
107
|
+
async function listFlowJobs2(config, options = {}) {
|
|
108
|
+
const folderId = await resolveFlowFolderId2(config);
|
|
109
|
+
const sdkConfig = await createOrchestratorConfig2({
|
|
107
110
|
folderId
|
|
108
111
|
});
|
|
109
|
-
const jobsApi = new
|
|
112
|
+
const jobsApi = new JobsApi2(sdkConfig);
|
|
110
113
|
const filters = ["ProcessType eq 'Flow'"];
|
|
111
114
|
if (options.state) {
|
|
112
|
-
filters.push(`State eq '${
|
|
115
|
+
filters.push(`State eq '${escapeODataStringLiteral2(options.state)}'`);
|
|
113
116
|
}
|
|
114
117
|
if (options.processName) {
|
|
115
|
-
filters.push(`contains(ReleaseName, '${
|
|
118
|
+
filters.push(`contains(ReleaseName, '${escapeODataStringLiteral2(options.processName)}')`);
|
|
116
119
|
}
|
|
117
120
|
const response = await jobsApi.jobsGet({
|
|
118
121
|
$filter: filters.join(" and "),
|
|
@@ -123,8 +126,8 @@ async function listFlowJobs(config, options = {}) {
|
|
|
123
126
|
});
|
|
124
127
|
return response.value || [];
|
|
125
128
|
}
|
|
126
|
-
async function
|
|
127
|
-
const folder = await
|
|
129
|
+
async function getFlowEntryPoints2(config) {
|
|
130
|
+
const folder = await resolveConfiguredFolder(config);
|
|
128
131
|
const apiConfig = {
|
|
129
132
|
baseUrl: config.baseUrl,
|
|
130
133
|
organizationId: config.organizationId,
|
|
@@ -138,11 +141,11 @@ async function getFlowEntryPoints(config) {
|
|
|
138
141
|
return response.value;
|
|
139
142
|
}
|
|
140
143
|
async function defaultFlowEntryPoint(config, mainEntryPointId) {
|
|
141
|
-
const entryPoints = await
|
|
144
|
+
const entryPoints = await getFlowEntryPoints2(config);
|
|
142
145
|
return entryPoints.find((ep) => ep.Id === mainEntryPointId) ?? entryPoints[0];
|
|
143
146
|
}
|
|
144
|
-
async function
|
|
145
|
-
const triggers = (await
|
|
147
|
+
async function resolveEntryPoint2(config, entryPoint) {
|
|
148
|
+
const triggers = (await getFlowEntryPoints2(config)).filter((ep) => ep.Path.includes("#")).map((ep) => ({ ep, id: ep.Path.slice(ep.Path.lastIndexOf("#") + 1) }));
|
|
146
149
|
const match = triggers.find((trigger) => trigger.id === entryPoint);
|
|
147
150
|
if (!match) {
|
|
148
151
|
throw new UnknownEntryPointError(entryPoint, triggers.map((trigger) => trigger.id));
|
|
@@ -150,11 +153,11 @@ async function resolveEntryPoint(config, entryPoint) {
|
|
|
150
153
|
return match.ep;
|
|
151
154
|
}
|
|
152
155
|
async function startFlowJob(config) {
|
|
153
|
-
const folder = await
|
|
154
|
-
const sdkConfig = await
|
|
156
|
+
const folder = await resolveConfiguredFolder(config);
|
|
157
|
+
const sdkConfig = await createOrchestratorConfig2({
|
|
155
158
|
folderId: folder.id.toString()
|
|
156
159
|
});
|
|
157
|
-
const jobsApi = new
|
|
160
|
+
const jobsApi = new JobsApi2(sdkConfig);
|
|
158
161
|
const inputArguments = config.inputs ? JSON.stringify(config.inputs) : "{}";
|
|
159
162
|
const startInfo = {
|
|
160
163
|
releaseKey: config.releaseKey,
|
|
@@ -175,18 +178,9 @@ async function startFlowJob(config) {
|
|
|
175
178
|
}
|
|
176
179
|
return response.value[0];
|
|
177
180
|
}
|
|
178
|
-
async function _getJobStatus(
|
|
179
|
-
const
|
|
180
|
-
|
|
181
|
-
organizationId: config.organizationId,
|
|
182
|
-
tenantName: config.tenantName,
|
|
183
|
-
tenantId: config.tenantId,
|
|
184
|
-
authToken: config.authToken
|
|
185
|
-
});
|
|
186
|
-
const sdkConfig = await createOrchestratorConfig({
|
|
187
|
-
folderId: folder.id.toString()
|
|
188
|
-
});
|
|
189
|
-
const jobsApi = new JobsApi(sdkConfig);
|
|
181
|
+
async function _getJobStatus(folderId, jobKey) {
|
|
182
|
+
const sdkConfig = await createOrchestratorConfig2({ folderId });
|
|
183
|
+
const jobsApi = new JobsApi2(sdkConfig);
|
|
190
184
|
const response = await jobsApi.jobsGet({
|
|
191
185
|
$filter: `Key eq ${jobKey}`,
|
|
192
186
|
$top: 1
|
|
@@ -230,7 +224,7 @@ async function getFlowTraces(config, traceId) {
|
|
|
230
224
|
function spanToTraceEvent(span) {
|
|
231
225
|
let attributes = {};
|
|
232
226
|
try {
|
|
233
|
-
attributes = JSON.parse(span.Attributes);
|
|
227
|
+
attributes = JSON.parse(span.Attributes) ?? {};
|
|
234
228
|
} catch {}
|
|
235
229
|
const duration = span.EndTime ? new Date(span.EndTime).getTime() - new Date(span.StartTime).getTime() : undefined;
|
|
236
230
|
return {
|
|
@@ -244,7 +238,7 @@ function spanToTraceEvent(span) {
|
|
|
244
238
|
attributes
|
|
245
239
|
};
|
|
246
240
|
}
|
|
247
|
-
async function
|
|
241
|
+
async function startFlowProjectJob2(config) {
|
|
248
242
|
if (!config.releaseKey) {
|
|
249
243
|
throw new Error("Release key is required. Use 'flow project list' to find it.");
|
|
250
244
|
}
|
|
@@ -273,7 +267,7 @@ function extractTerminalStatus(spans) {
|
|
|
273
267
|
return;
|
|
274
268
|
}
|
|
275
269
|
try {
|
|
276
|
-
const attributes = JSON.parse(processRunSpan.Attributes);
|
|
270
|
+
const attributes = JSON.parse(processRunSpan.Attributes) ?? {};
|
|
277
271
|
const status = attributes.status;
|
|
278
272
|
if (status && TRACE_TERMINAL_STATES.includes(status)) {
|
|
279
273
|
return status;
|
|
@@ -283,7 +277,7 @@ function extractTerminalStatus(spans) {
|
|
|
283
277
|
}
|
|
284
278
|
return;
|
|
285
279
|
}
|
|
286
|
-
async function
|
|
280
|
+
async function streamJobTraces2(config, jobKey, options = {}) {
|
|
287
281
|
const startTime = Date.now();
|
|
288
282
|
const pollInterval = options.pollInterval || 2000;
|
|
289
283
|
const maxPolls = options.maxPolls || 300;
|
|
@@ -318,7 +312,7 @@ async function streamJobTraces(config, jobKey, options = {}) {
|
|
|
318
312
|
},
|
|
319
313
|
onError: async (error) => {
|
|
320
314
|
if (isTransientTraceError(error)) {
|
|
321
|
-
const [statusError, job] = await
|
|
315
|
+
const [statusError, job] = await catchError2(async () => _getJobStatus(options.folderId ?? await resolveFlowFolderId2(config), jobKey));
|
|
322
316
|
if (statusError) {
|
|
323
317
|
logger.debug(`Failed to check job status after traces error: ${statusError.message}`);
|
|
324
318
|
} else {
|
|
@@ -381,12 +375,12 @@ async function streamJobTraces(config, jobKey, options = {}) {
|
|
|
381
375
|
finalState: "Failed"
|
|
382
376
|
};
|
|
383
377
|
}
|
|
384
|
-
async function
|
|
385
|
-
const folderId = await
|
|
386
|
-
const sdkConfig = await
|
|
378
|
+
async function getJobStatusDetailed2(config, jobKey) {
|
|
379
|
+
const folderId = await resolveFlowFolderId2(config);
|
|
380
|
+
const sdkConfig = await createOrchestratorConfig2({
|
|
387
381
|
folderId
|
|
388
382
|
});
|
|
389
|
-
const jobsApi = new
|
|
383
|
+
const jobsApi = new JobsApi2(sdkConfig);
|
|
390
384
|
const response = await jobsApi.jobsGet({
|
|
391
385
|
$filter: `Key eq ${jobKey}`,
|
|
392
386
|
$expand: "Robot,Release,Machine",
|
|
@@ -404,7 +398,7 @@ function isJobAttachmentReference(value) {
|
|
|
404
398
|
const ref = value;
|
|
405
399
|
return typeof ref.ID === "string" && typeof ref.FullName === "string";
|
|
406
400
|
}
|
|
407
|
-
async function
|
|
401
|
+
async function validateFlowInputs2(config, inputs, chosenEntryPoint, mainEntryPointId) {
|
|
408
402
|
try {
|
|
409
403
|
const entryPoint = chosenEntryPoint ?? await defaultFlowEntryPoint(config, mainEntryPointId);
|
|
410
404
|
if (entryPoint === undefined) {
|
|
@@ -455,10 +449,10 @@ async function validateFlowInputs(config, inputs, chosenEntryPoint, mainEntryPoi
|
|
|
455
449
|
};
|
|
456
450
|
}
|
|
457
451
|
}
|
|
458
|
-
async function
|
|
452
|
+
async function parseFlowInputs2(inputSource) {
|
|
459
453
|
return await parseJsonInputOrFile(inputSource);
|
|
460
454
|
}
|
|
461
455
|
|
|
462
|
-
export {
|
|
456
|
+
export { escapeODataStringLiteral2, resolveFlowFolderId2, listFlowProcesses2, listFlowJobs2, getFlowEntryPoints2, resolveEntryPoint2, startFlowProjectJob2, streamJobTraces2, getJobStatusDetailed2, validateFlowInputs2, parseFlowInputs2 };
|
|
463
457
|
|
|
464
|
-
//# debugId=
|
|
458
|
+
//# debugId=FD4A5189FA77B67964756E2164756E21
|