@uipath/flow-tool 1.205.0-preview.276 → 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 +77 -49
- 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-m08dysc2.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-gc2ky1ve.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-2cbr0jtw.js → flow-eval-run-service-5en4ahyn.js} +125 -149
- package/dist/{flow-eval-service-24jbkhhz.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-t3pnd2r3.js → flow-migrate-service-dkx85jj5.js} +33 -54
- package/dist/{flow-pack-service-b910q207.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-ffvbtwbd.js → governance-fetcher-h8hpcwyh.js} +17 -21
- package/dist/{headless-4x4v3sy6.js → headless-41t9wwb7.js} +2395 -43269
- package/dist/{hitl-service-3m4ce3mt.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-xqc0h091.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-f9jxca9z.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-gbv6f0ac.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-h6pf3qxq.js → packager-tool-65yf8zqb.js} +180 -1237
- package/dist/{packager-tool-1yh8g550.js → packager-tool-6an893wm.js} +12 -3
- package/dist/{packager-tool-htrt75v4.js → packager-tool-6jpvvxyb.js} +27 -22
- package/dist/packager-tool-6vhefpmq.js +461 -0
- package/dist/{packager-tool-1nfbzy0h.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-wvmtp8zt.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-v11fm907.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-ap0zt7de.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-1d64q5s5.js → packager-tool-b2pkwwj1.js} +1273 -1300
- package/dist/{packager-tool-yetpbbey.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-2px5qqm4.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-09rvpfjd.js → packager-tool-rxqxza90.js} +192 -183
- package/dist/{packager-tool-3m4ve01f.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-hz61ypyj.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-9ex4a93n.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-0qffbxg7.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-y44f2rgd.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-cwxb4kfe.js +0 -52
- package/dist/flow-eval-run-api-xdygjzfv.js +0 -13
- package/dist/flow-init-service-k7k5vx2z.js +0 -47
- package/dist/flow-io-2qdyj5e0.js +0 -44
- package/dist/flow-validate-service-x2mbk3et.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-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-y1ym28vg.js +0 -667
- package/dist/index.umd.min-fqefd9kn.js +0 -7814
- package/dist/inline-entity-resolver-c854cqma.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-d4xpqs0z.js +0 -92
- package/dist/node-sync-service-76b9e4r5.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-7ja1b5hh.js +0 -8809
- 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-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-red2crtp.js +0 -5367
- 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
|
@@ -0,0 +1,273 @@
|
|
|
1
|
+
import {
|
|
2
|
+
CONNECTOR_NODE_PREFIX2
|
|
3
|
+
} from "./packager-tool-fzgfb0jt.js";
|
|
4
|
+
|
|
5
|
+
// ../../node_modules/@uipath/flow-core/dist/chunk-33XQ5K6D.js
|
|
6
|
+
var ARRAY_WILDCARD_RE = /\[\*\]/g;
|
|
7
|
+
function stripWildcard(name) {
|
|
8
|
+
return name.replace(ARRAY_WILDCARD_RE, "");
|
|
9
|
+
}
|
|
10
|
+
function hasWildcardKey(record) {
|
|
11
|
+
return record ? Object.keys(record).some((key) => key.includes("[*]")) : false;
|
|
12
|
+
}
|
|
13
|
+
function hasWildcard(schema) {
|
|
14
|
+
return hasWildcardKey(schema.properties) || hasWildcardKey(schema.definitions) || hasWildcardKey(schema.$defs);
|
|
15
|
+
}
|
|
16
|
+
function rewriteKeyedSchemas(record) {
|
|
17
|
+
const result = {};
|
|
18
|
+
for (const [key, value] of Object.entries(record)) {
|
|
19
|
+
result[stripWildcard(key)] = sanitizeNode(value);
|
|
20
|
+
}
|
|
21
|
+
return result;
|
|
22
|
+
}
|
|
23
|
+
function sanitizeNode(node) {
|
|
24
|
+
const result = { ...node };
|
|
25
|
+
if (typeof result.$ref === "string" && result.$ref.includes("[*]")) {
|
|
26
|
+
result.$ref = stripWildcard(result.$ref);
|
|
27
|
+
}
|
|
28
|
+
if (node.properties) {
|
|
29
|
+
result.properties = rewriteKeyedSchemas(node.properties);
|
|
30
|
+
}
|
|
31
|
+
if (node.items && !Array.isArray(node.items)) {
|
|
32
|
+
result.items = sanitizeNode(node.items);
|
|
33
|
+
}
|
|
34
|
+
for (const combinator of ["oneOf", "anyOf", "allOf"]) {
|
|
35
|
+
if (node[combinator]) {
|
|
36
|
+
result[combinator] = node[combinator].map(sanitizeNode);
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
return result;
|
|
40
|
+
}
|
|
41
|
+
function sanitizeConnectorSchema(schema) {
|
|
42
|
+
if (!schema || !hasWildcard(schema))
|
|
43
|
+
return schema;
|
|
44
|
+
const result = sanitizeNode(schema);
|
|
45
|
+
if (schema.definitions)
|
|
46
|
+
result.definitions = rewriteKeyedSchemas(schema.definitions);
|
|
47
|
+
if (schema.$defs)
|
|
48
|
+
result.$defs = rewriteKeyedSchemas(schema.$defs);
|
|
49
|
+
return result;
|
|
50
|
+
}
|
|
51
|
+
var JSON_STRING_PREFIX = "=jsonString:";
|
|
52
|
+
var JIT_OBJECT_INPUT_MODE = "jitObject";
|
|
53
|
+
function flattenSplitConfiguration(config) {
|
|
54
|
+
if ("essentialConfiguration" in config || "optionalConfiguration" in config) {
|
|
55
|
+
return {
|
|
56
|
+
...config.optionalConfiguration,
|
|
57
|
+
...config.essentialConfiguration
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
return config;
|
|
61
|
+
}
|
|
62
|
+
function normalizeTransientProperties(config) {
|
|
63
|
+
const result = { ...config };
|
|
64
|
+
const fc = result.fieldsContainer;
|
|
65
|
+
const inputMode = result.savedInputMode ?? fc?.inputMode;
|
|
66
|
+
const jitFieldName = result.savedJitInputFieldId ?? fc?.jitInputField?.name;
|
|
67
|
+
if (inputMode === JIT_OBJECT_INPUT_MODE || jitFieldName === "body") {
|
|
68
|
+
result.isJitObjectInputMode = true;
|
|
69
|
+
}
|
|
70
|
+
return result;
|
|
71
|
+
}
|
|
72
|
+
function parseConfigurationJson2(configuration) {
|
|
73
|
+
if (!configuration)
|
|
74
|
+
return null;
|
|
75
|
+
try {
|
|
76
|
+
if (typeof configuration === "object") {
|
|
77
|
+
return normalizeTransientProperties(flattenSplitConfiguration(configuration));
|
|
78
|
+
}
|
|
79
|
+
let str = configuration;
|
|
80
|
+
if (str.startsWith(JSON_STRING_PREFIX))
|
|
81
|
+
str = str.substring(JSON_STRING_PREFIX.length);
|
|
82
|
+
const parsed = JSON.parse(str);
|
|
83
|
+
return typeof parsed === "object" && parsed !== null ? normalizeTransientProperties(flattenSplitConfiguration(parsed)) : null;
|
|
84
|
+
} catch {
|
|
85
|
+
return null;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
function resolveJsonSchema(schema, options = {}) {
|
|
89
|
+
const { maxDepth = 25 } = options;
|
|
90
|
+
const definitions = schema.definitions || schema.$defs || {};
|
|
91
|
+
function resolveRef(ref) {
|
|
92
|
+
const match = ref.match(/^#\/(?:definitions|\$defs)\/(.+)$/);
|
|
93
|
+
if (!match)
|
|
94
|
+
return {};
|
|
95
|
+
return definitions[match[1]] || {};
|
|
96
|
+
}
|
|
97
|
+
function resolve(node, visited, depth) {
|
|
98
|
+
if (depth > maxDepth)
|
|
99
|
+
return node;
|
|
100
|
+
if (node.$ref) {
|
|
101
|
+
if (visited.has(node.$ref))
|
|
102
|
+
return { type: "any" };
|
|
103
|
+
visited.add(node.$ref);
|
|
104
|
+
return resolve(resolveRef(node.$ref), visited, depth + 1);
|
|
105
|
+
}
|
|
106
|
+
const result = { ...node };
|
|
107
|
+
if (node.properties) {
|
|
108
|
+
result.properties = {};
|
|
109
|
+
for (const [key, prop] of Object.entries(node.properties)) {
|
|
110
|
+
result.properties[key] = resolve(prop, new Set(visited), depth + 1);
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
if (node.items && !Array.isArray(node.items)) {
|
|
114
|
+
result.items = resolve(node.items, new Set(visited), depth + 1);
|
|
115
|
+
}
|
|
116
|
+
for (const combinator of ["oneOf", "anyOf", "allOf"]) {
|
|
117
|
+
if (node[combinator]) {
|
|
118
|
+
result[combinator] = node[combinator].map((s) => resolve(s, new Set(visited), depth + 1));
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
return result;
|
|
122
|
+
}
|
|
123
|
+
const isArray = schema.type === "array";
|
|
124
|
+
let rootSchema = schema;
|
|
125
|
+
if (isArray && schema.items && !Array.isArray(schema.items)) {
|
|
126
|
+
rootSchema = schema.items;
|
|
127
|
+
}
|
|
128
|
+
return {
|
|
129
|
+
schema: resolve(rootSchema, /* @__PURE__ */ new Set, 0),
|
|
130
|
+
isArray
|
|
131
|
+
};
|
|
132
|
+
}
|
|
133
|
+
function resolveLocalRef(root, node) {
|
|
134
|
+
if (!node || typeof node.$ref !== "string")
|
|
135
|
+
return node;
|
|
136
|
+
const match = node.$ref.match(/^#\/(definitions|\$defs)\/(.+)$/);
|
|
137
|
+
if (!match)
|
|
138
|
+
return node;
|
|
139
|
+
const bucket = root[match[1]];
|
|
140
|
+
return bucket?.[match[2]] ?? node;
|
|
141
|
+
}
|
|
142
|
+
function resolveConnectorOutputSchema(rawOutputJsonSchema, fieldsContainer) {
|
|
143
|
+
if (!rawOutputJsonSchema || typeof rawOutputJsonSchema !== "object")
|
|
144
|
+
return;
|
|
145
|
+
const schema = sanitizeConnectorSchema(rawOutputJsonSchema);
|
|
146
|
+
if (!schema.type && !schema.properties && !schema.$ref && !schema.definitions && !schema.$defs)
|
|
147
|
+
return;
|
|
148
|
+
const jsonSchemaType = typeof schema.type === "string" ? schema.type : "object";
|
|
149
|
+
const formatFields = fieldsContainer ? collectResponseFieldFormats(fieldsContainer) : [];
|
|
150
|
+
if (formatFields.length > 0) {
|
|
151
|
+
const stamped = structuredClone(schema);
|
|
152
|
+
for (const field of formatFields) {
|
|
153
|
+
const target = findSchemaNodeByFieldPath(stamped, field.name.split("."));
|
|
154
|
+
if (target)
|
|
155
|
+
applyStringFormat(target, field.format);
|
|
156
|
+
}
|
|
157
|
+
return { jsonSchemaType, schema: markOutputSchemaOpen(stamped, jsonSchemaType) };
|
|
158
|
+
}
|
|
159
|
+
return { jsonSchemaType, schema: markOutputSchemaOpen(schema, jsonSchemaType) };
|
|
160
|
+
}
|
|
161
|
+
function markOutputSchemaOpen(schema, jsonSchemaType) {
|
|
162
|
+
if (jsonSchemaType !== "object" || schema.additionalProperties !== undefined)
|
|
163
|
+
return schema;
|
|
164
|
+
return { ...schema, additionalProperties: true };
|
|
165
|
+
}
|
|
166
|
+
function resolveConnectorOutputTypeSchema(inputsDetail) {
|
|
167
|
+
if (!inputsDetail || typeof inputsDetail !== "object")
|
|
168
|
+
return;
|
|
169
|
+
const configuration = parseConfigurationJson2(inputsDetail.configuration);
|
|
170
|
+
const fieldsContainer = configuration?.fieldsContainer;
|
|
171
|
+
return resolveConnectorOutputSchema(fieldsContainer?.outputJsonSchema, fieldsContainer);
|
|
172
|
+
}
|
|
173
|
+
function collectResponseFieldFormats(fieldsContainer) {
|
|
174
|
+
const raw = [
|
|
175
|
+
...Array.isArray(fieldsContainer.inputFields) ? fieldsContainer.inputFields : [],
|
|
176
|
+
...Array.isArray(fieldsContainer.outputFields) ? fieldsContainer.outputFields : []
|
|
177
|
+
];
|
|
178
|
+
const fields = [];
|
|
179
|
+
for (const field of raw) {
|
|
180
|
+
if (typeof field?.name !== "string" || !field.name)
|
|
181
|
+
continue;
|
|
182
|
+
if (typeof field.format !== "string" || !field.format)
|
|
183
|
+
continue;
|
|
184
|
+
if (field.response !== true)
|
|
185
|
+
continue;
|
|
186
|
+
fields.push({ name: field.name, format: field.format });
|
|
187
|
+
}
|
|
188
|
+
return fields;
|
|
189
|
+
}
|
|
190
|
+
function applyStringFormat(node, format) {
|
|
191
|
+
if (node.format)
|
|
192
|
+
return;
|
|
193
|
+
if (node.type === "string" || Array.isArray(node.type) && node.type.includes("string")) {
|
|
194
|
+
node.format = format;
|
|
195
|
+
} else if (node.type === "array" && node.items && !Array.isArray(node.items)) {
|
|
196
|
+
applyStringFormat(node.items, format);
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
function findSchemaNodeByFieldPath(root, segments) {
|
|
200
|
+
let node = root;
|
|
201
|
+
for (const segment of segments) {
|
|
202
|
+
node = resolveLocalRef(root, node);
|
|
203
|
+
const properties = node?.properties;
|
|
204
|
+
node = properties?.[segment];
|
|
205
|
+
if (!node)
|
|
206
|
+
return;
|
|
207
|
+
}
|
|
208
|
+
return resolveLocalRef(root, node);
|
|
209
|
+
}
|
|
210
|
+
function resolveNodeOutputTypeSchema(nodeType, inputsDetail, outputKey) {
|
|
211
|
+
if (outputKey !== "output")
|
|
212
|
+
return;
|
|
213
|
+
if (nodeType.startsWith(CONNECTOR_NODE_PREFIX2)) {
|
|
214
|
+
return resolveConnectorOutputTypeSchema(inputsDetail);
|
|
215
|
+
}
|
|
216
|
+
return;
|
|
217
|
+
}
|
|
218
|
+
function createWorkflowVariable2(options) {
|
|
219
|
+
return {
|
|
220
|
+
id: options.id,
|
|
221
|
+
direction: options.direction,
|
|
222
|
+
type: options.type ?? "string",
|
|
223
|
+
...options.subType && { subType: options.subType },
|
|
224
|
+
...options.schema && { schema: options.schema },
|
|
225
|
+
...options.defaultValue !== undefined && { defaultValue: options.defaultValue },
|
|
226
|
+
...options.description && { description: options.description }
|
|
227
|
+
};
|
|
228
|
+
}
|
|
229
|
+
function createNodeVariable(options) {
|
|
230
|
+
return {
|
|
231
|
+
id: `${options.nodeId}.${options.outputId}`,
|
|
232
|
+
type: options.type ?? "string",
|
|
233
|
+
...options.subType && { subType: options.subType },
|
|
234
|
+
...options.description && { description: options.description },
|
|
235
|
+
...options.schema && { schema: options.schema },
|
|
236
|
+
binding: {
|
|
237
|
+
nodeId: options.nodeId,
|
|
238
|
+
outputId: options.outputId
|
|
239
|
+
}
|
|
240
|
+
};
|
|
241
|
+
}
|
|
242
|
+
function generateNodeVariables3(nodes, definitions) {
|
|
243
|
+
const generatedVariables = [];
|
|
244
|
+
const definitionOutputs = /* @__PURE__ */ new Map;
|
|
245
|
+
for (const def of definitions) {
|
|
246
|
+
if (def.outputDefinition && Object.keys(def.outputDefinition).length > 0) {
|
|
247
|
+
definitionOutputs.set(def.nodeType, def.outputDefinition);
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
for (const node of nodes) {
|
|
251
|
+
const nodeOutputs = node.outputs ?? {};
|
|
252
|
+
const outputs = Object.keys(nodeOutputs).length > 0 ? nodeOutputs : definitionOutputs.get(node.type) ?? {};
|
|
253
|
+
for (const [outputKey, outputDef] of Object.entries(outputs)) {
|
|
254
|
+
if (outputDef && typeof outputDef === "object") {
|
|
255
|
+
const def = outputDef;
|
|
256
|
+
const resolved = resolveNodeOutputTypeSchema(node.type, node.inputs?.detail, outputKey);
|
|
257
|
+
generatedVariables.push(createNodeVariable({
|
|
258
|
+
nodeId: node.id,
|
|
259
|
+
outputId: outputKey,
|
|
260
|
+
type: resolved?.jsonSchemaType ?? def.type,
|
|
261
|
+
subType: def.subType,
|
|
262
|
+
description: def.description,
|
|
263
|
+
schema: def.schema
|
|
264
|
+
}));
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
return generatedVariables;
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
export { parseConfigurationJson2, resolveJsonSchema, resolveConnectorOutputSchema, createWorkflowVariable2, generateNodeVariables3 };
|
|
272
|
+
|
|
273
|
+
//# debugId=0C7340D80B7E33DA64756E2164756E21
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import {
|
|
2
|
+
extractErrorDetails,
|
|
3
|
+
createHiddenDeprecatedTenantOption,
|
|
4
|
+
parseBoundedInt
|
|
5
|
+
} from "./packager-tool-8ed52y5r.js";
|
|
6
|
+
// ../maestro-sdk/src/shared-utils.ts
|
|
7
|
+
var VALID_PROJECT_NAME_REGEX = /^[a-zA-Z0-9_-]+$/;
|
|
8
|
+
var VALID_PACKAGE_NAME_REGEX = /^[a-zA-Z0-9._-]+$/;
|
|
9
|
+
function formatTraceStatus(status) {
|
|
10
|
+
if (status === "Completed")
|
|
11
|
+
return "✓";
|
|
12
|
+
if (status === "Failed" || status === "Faulted")
|
|
13
|
+
return "✗";
|
|
14
|
+
if (status === "Running" || status === "InProgress")
|
|
15
|
+
return "⏳";
|
|
16
|
+
return "•";
|
|
17
|
+
}
|
|
18
|
+
function formatTraceLine(trace) {
|
|
19
|
+
const time = new Date(trace.timestamp).toLocaleTimeString();
|
|
20
|
+
const statusIcon = formatTraceStatus(trace.status);
|
|
21
|
+
const duration = trace.duration ? ` ${trace.duration}ms` : "";
|
|
22
|
+
const label = trace.name ?? "(unnamed span)";
|
|
23
|
+
const name = label.length > 60 ? `${label.substring(0, 57)}...` : label;
|
|
24
|
+
return `[${time}] ${statusIcon} ${name} (${trace.status})${duration}`;
|
|
25
|
+
}
|
|
26
|
+
var backendFailure = async (error, instructions) => {
|
|
27
|
+
const details = await extractErrorDetails(error);
|
|
28
|
+
return {
|
|
29
|
+
Result: details.result,
|
|
30
|
+
ErrorCode: details.errorCode,
|
|
31
|
+
Message: details.message,
|
|
32
|
+
Instructions: instructions,
|
|
33
|
+
Retry: details.retry,
|
|
34
|
+
...details.context ? { Context: details.context } : {}
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
function genericObjectDiscoveryCommands(connectorKey, connectionId, operation) {
|
|
38
|
+
const op = operation === undefined ? "" : ` --operation ${operation}`;
|
|
39
|
+
return [
|
|
40
|
+
`uip is resources list ${connectorKey}${op} --connection-id ${connectionId}`,
|
|
41
|
+
`uip is resources describe ${connectorKey} <object-name>${op} --connection-id ${connectionId}`
|
|
42
|
+
];
|
|
43
|
+
}
|
|
44
|
+
function addJobTracesOptions(command, folderDescription = "Folder key (GUID from run command, defaults to authenticated folder)") {
|
|
45
|
+
return command.addOption(createHiddenDeprecatedTenantOption("-t, --tenant <tenant-name>")).option("--folder-key <key>", folderDescription).option("--poll-interval <ms>", "Polling interval in milliseconds", "2000").option("--traces-service <name>", "Traces service name (default: llmopstenant_)", "llmopstenant_").option("--pretty", "Show traces in human-readable format instead of raw JSON").option("--login-validity <minutes>", "Minimum minutes before token expiration to trigger a refresh (default: 10)", (raw) => parseBoundedInt(raw, "--login-validity", {
|
|
46
|
+
min: 0,
|
|
47
|
+
max: 60 * 24 * 365
|
|
48
|
+
}), 10);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export { VALID_PROJECT_NAME_REGEX, VALID_PACKAGE_NAME_REGEX, formatTraceLine, backendFailure, genericObjectDiscoveryCommands, addJobTracesOptions };
|
|
52
|
+
|
|
53
|
+
//# debugId=2B9CF5AE99F4ED2C64756E2164756E21
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
logger
|
|
3
|
-
} from "./packager-tool-
|
|
3
|
+
} from "./packager-tool-8ed52y5r.js";
|
|
4
4
|
|
|
5
5
|
// ../maestro-sdk/src/debug-http-client.ts
|
|
6
|
-
function
|
|
6
|
+
function parseBackendErrorBody2(body) {
|
|
7
7
|
if (!body)
|
|
8
8
|
return {};
|
|
9
9
|
let parsed;
|
|
@@ -28,7 +28,7 @@ function parseBackendErrorBody(body) {
|
|
|
28
28
|
return result;
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
class
|
|
31
|
+
class MaestroHttpError2 extends Error {
|
|
32
32
|
service;
|
|
33
33
|
method;
|
|
34
34
|
endpoint;
|
|
@@ -44,7 +44,7 @@ class MaestroHttpError extends Error {
|
|
|
44
44
|
attempts;
|
|
45
45
|
traceIds;
|
|
46
46
|
constructor(details) {
|
|
47
|
-
super(
|
|
47
|
+
super(MaestroHttpError2.formatMessage(details));
|
|
48
48
|
this.name = "MaestroHttpError";
|
|
49
49
|
this.service = details.service;
|
|
50
50
|
this.method = details.method;
|
|
@@ -79,7 +79,7 @@ async function buildHttpErrorDetails(response, init) {
|
|
|
79
79
|
try {
|
|
80
80
|
body = await response.text();
|
|
81
81
|
} catch {}
|
|
82
|
-
const parsed =
|
|
82
|
+
const parsed = parseBackendErrorBody2(body);
|
|
83
83
|
return {
|
|
84
84
|
service: init.service,
|
|
85
85
|
method: init.method,
|
|
@@ -120,7 +120,7 @@ function buildPimsUrl(config, path) {
|
|
|
120
120
|
function buildAutomationSolutionsUrl(config, path) {
|
|
121
121
|
return `${config.baseUrl}/${config.organizationId}/${config.tenantId}/automationsolutions_${path}`;
|
|
122
122
|
}
|
|
123
|
-
async function
|
|
123
|
+
async function automationSolutionsGet2(config, path, stage, signal) {
|
|
124
124
|
const url = buildAutomationSolutionsUrl(config, path);
|
|
125
125
|
const headers = buildCommonHeaders(config, { includeContentType: false });
|
|
126
126
|
if (config.tenantId) {
|
|
@@ -131,7 +131,7 @@ async function automationSolutionsGet(config, path, stage, signal) {
|
|
|
131
131
|
}
|
|
132
132
|
const response = await fetch(url, { method: "GET", headers, signal });
|
|
133
133
|
if (!response.ok) {
|
|
134
|
-
throw new
|
|
134
|
+
throw new MaestroHttpError2(await buildHttpErrorDetails(response, {
|
|
135
135
|
service: "automation-solutions",
|
|
136
136
|
method: "GET",
|
|
137
137
|
endpoint: path,
|
|
@@ -141,7 +141,7 @@ async function automationSolutionsGet(config, path, stage, signal) {
|
|
|
141
141
|
}
|
|
142
142
|
return response.json();
|
|
143
143
|
}
|
|
144
|
-
async function
|
|
144
|
+
async function orchestratorGet2(config, path, stage) {
|
|
145
145
|
const url = buildOrchestratorUrl(config, path);
|
|
146
146
|
const headers = buildCommonHeaders(config);
|
|
147
147
|
if (typeof process !== "undefined" && process.env?.DEBUG) {
|
|
@@ -149,7 +149,7 @@ async function orchestratorGet(config, path, stage) {
|
|
|
149
149
|
}
|
|
150
150
|
const response = await fetch(url, { method: "GET", headers });
|
|
151
151
|
if (!response.ok) {
|
|
152
|
-
throw new
|
|
152
|
+
throw new MaestroHttpError2(await buildHttpErrorDetails(response, {
|
|
153
153
|
service: "orchestrator",
|
|
154
154
|
method: "GET",
|
|
155
155
|
endpoint: path,
|
|
@@ -159,7 +159,7 @@ async function orchestratorGet(config, path, stage) {
|
|
|
159
159
|
}
|
|
160
160
|
return response.json();
|
|
161
161
|
}
|
|
162
|
-
async function
|
|
162
|
+
async function orchestratorPost2(config, path, body, stage) {
|
|
163
163
|
const url = buildOrchestratorUrl(config, path);
|
|
164
164
|
const headers = buildCommonHeaders(config);
|
|
165
165
|
if (typeof process !== "undefined" && process.env?.DEBUG) {
|
|
@@ -171,7 +171,7 @@ async function orchestratorPost(config, path, body, stage) {
|
|
|
171
171
|
body: JSON.stringify(body)
|
|
172
172
|
});
|
|
173
173
|
if (!response.ok) {
|
|
174
|
-
throw new
|
|
174
|
+
throw new MaestroHttpError2(await buildHttpErrorDetails(response, {
|
|
175
175
|
service: "orchestrator",
|
|
176
176
|
method: "POST",
|
|
177
177
|
endpoint: path,
|
|
@@ -181,7 +181,7 @@ async function orchestratorPost(config, path, body, stage) {
|
|
|
181
181
|
}
|
|
182
182
|
return response.json();
|
|
183
183
|
}
|
|
184
|
-
async function
|
|
184
|
+
async function debugPimsGet2(config, path, stage, options) {
|
|
185
185
|
const url = buildPimsUrl(config, path);
|
|
186
186
|
const headers = buildCommonHeaders(config, { includeContentType: false });
|
|
187
187
|
if (typeof process !== "undefined" && process.env?.DEBUG) {
|
|
@@ -193,7 +193,7 @@ async function debugPimsGet(config, path, stage, options) {
|
|
|
193
193
|
...options?.signal ? { signal: options.signal } : {}
|
|
194
194
|
});
|
|
195
195
|
if (!response.ok) {
|
|
196
|
-
throw new
|
|
196
|
+
throw new MaestroHttpError2(await buildHttpErrorDetails(response, {
|
|
197
197
|
service: "pims",
|
|
198
198
|
method: "GET",
|
|
199
199
|
endpoint: path,
|
|
@@ -219,7 +219,7 @@ async function debugPimsWrite(config, path, body, method, stage) {
|
|
|
219
219
|
body: JSON.stringify(body)
|
|
220
220
|
});
|
|
221
221
|
if (!response.ok) {
|
|
222
|
-
throw new
|
|
222
|
+
throw new MaestroHttpError2(await buildHttpErrorDetails(response, {
|
|
223
223
|
service: "pims",
|
|
224
224
|
method,
|
|
225
225
|
endpoint: path,
|
|
@@ -229,16 +229,16 @@ async function debugPimsWrite(config, path, body, method, stage) {
|
|
|
229
229
|
}
|
|
230
230
|
return readOptionalJsonResponse(response);
|
|
231
231
|
}
|
|
232
|
-
async function
|
|
232
|
+
async function debugPimsPost2(config, path, body, stage) {
|
|
233
233
|
return debugPimsWrite(config, path, body, "POST", stage);
|
|
234
234
|
}
|
|
235
|
-
async function
|
|
235
|
+
async function debugPimsPut2(config, path, body, stage) {
|
|
236
236
|
return debugPimsWrite(config, path, body, "PUT", stage);
|
|
237
237
|
}
|
|
238
|
-
async function
|
|
238
|
+
async function debugPimsPatch2(config, path, body, stage) {
|
|
239
239
|
return debugPimsWrite(config, path, body, "PATCH", stage);
|
|
240
240
|
}
|
|
241
|
-
async function
|
|
241
|
+
async function studioWebPost2(config, organizationName, path, body, extraHeaders, stage) {
|
|
242
242
|
const url = `${config.baseUrl}/${organizationName}/studio_/backend/api${path}`;
|
|
243
243
|
const headers = {
|
|
244
244
|
Authorization: `Bearer ${config.authToken}`,
|
|
@@ -254,7 +254,7 @@ async function studioWebPost(config, organizationName, path, body, extraHeaders,
|
|
|
254
254
|
body: isFormData ? body : JSON.stringify(body)
|
|
255
255
|
});
|
|
256
256
|
if (!response.ok) {
|
|
257
|
-
throw new
|
|
257
|
+
throw new MaestroHttpError2(await buildHttpErrorDetails(response, {
|
|
258
258
|
service: "studio-web",
|
|
259
259
|
method: "POST",
|
|
260
260
|
endpoint: path,
|
|
@@ -264,7 +264,7 @@ async function studioWebPost(config, organizationName, path, body, extraHeaders,
|
|
|
264
264
|
}
|
|
265
265
|
return response.json();
|
|
266
266
|
}
|
|
267
|
-
async function
|
|
267
|
+
async function studioWebDelete2(config, organizationName, path, stage) {
|
|
268
268
|
const url = `${config.baseUrl}/${organizationName}/studio_/backend/api${path}`;
|
|
269
269
|
const headers = {
|
|
270
270
|
Authorization: `Bearer ${config.authToken}`
|
|
@@ -274,7 +274,7 @@ async function studioWebDelete(config, organizationName, path, stage) {
|
|
|
274
274
|
}
|
|
275
275
|
const response = await fetch(url, { method: "DELETE", headers });
|
|
276
276
|
if (!response.ok) {
|
|
277
|
-
throw new
|
|
277
|
+
throw new MaestroHttpError2(await buildHttpErrorDetails(response, {
|
|
278
278
|
service: "studio-web",
|
|
279
279
|
method: "DELETE",
|
|
280
280
|
endpoint: path,
|
|
@@ -284,6 +284,6 @@ async function studioWebDelete(config, organizationName, path, stage) {
|
|
|
284
284
|
}
|
|
285
285
|
}
|
|
286
286
|
|
|
287
|
-
export {
|
|
287
|
+
export { parseBackendErrorBody2, MaestroHttpError2, automationSolutionsGet2, orchestratorGet2, orchestratorPost2, debugPimsGet2, debugPimsPost2, debugPimsPut2, debugPimsPatch2, studioWebPost2, studioWebDelete2 };
|
|
288
288
|
|
|
289
|
-
//# debugId=
|
|
289
|
+
//# debugId=6562C3EF5322147D64756E2164756E21
|
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./packager-tool-
|
|
2
|
+
catchError2
|
|
3
|
+
} from "./packager-tool-pxq0bwp0.js";
|
|
4
4
|
import {
|
|
5
5
|
collectAgentInputLeaves,
|
|
6
|
+
isBareProjectIdSource,
|
|
6
7
|
isInlineAgentNodeType
|
|
7
|
-
} from "./packager-tool-
|
|
8
|
+
} from "./packager-tool-mdf7bws6.js";
|
|
8
9
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./packager-tool-
|
|
10
|
+
isRecord
|
|
11
|
+
} from "./packager-tool-ac6rvny7.js";
|
|
11
12
|
|
|
12
13
|
// src/services/flow-eval-node-target.ts
|
|
13
|
-
function
|
|
14
|
-
const [parseError, parsed] =
|
|
14
|
+
function findFlowNode2(flowContent, nodeId) {
|
|
15
|
+
const [parseError, parsed] = catchError2(() => JSON.parse(flowContent));
|
|
15
16
|
if (parseError || !isRecord(parsed)) {
|
|
16
17
|
return { flowParsed: false };
|
|
17
18
|
}
|
|
@@ -30,7 +31,7 @@ function readAgentSourceId(node) {
|
|
|
30
31
|
const normalized = source.trim();
|
|
31
32
|
return normalized.length > 0 ? normalized : undefined;
|
|
32
33
|
}
|
|
33
|
-
function
|
|
34
|
+
function isNodeEvalTarget2(node) {
|
|
34
35
|
const type = typeof node.type === "string" ? node.type.toLowerCase() : undefined;
|
|
35
36
|
return isInlineAgentNodeType(type) && readAgentSourceId(node) !== undefined;
|
|
36
37
|
}
|
|
@@ -38,11 +39,11 @@ var DOCUMENT_EVAL_NODE_TYPES = new Set([
|
|
|
38
39
|
"uipath.ixp.extract-document-builder",
|
|
39
40
|
"uipath.document.classify"
|
|
40
41
|
]);
|
|
41
|
-
function
|
|
42
|
+
function isDocumentEvalNode2(node) {
|
|
42
43
|
const type = typeof node.type === "string" ? node.type.toLowerCase() : "";
|
|
43
44
|
return DOCUMENT_EVAL_NODE_TYPES.has(type);
|
|
44
45
|
}
|
|
45
|
-
function
|
|
46
|
+
function readNodeTargetId2(set) {
|
|
46
47
|
if (set.target) {
|
|
47
48
|
return set.target.kind === "agentNode" ? set.target.nodeId : undefined;
|
|
48
49
|
}
|
|
@@ -57,7 +58,7 @@ var NO_AGENT = {
|
|
|
57
58
|
outputs: new Set
|
|
58
59
|
};
|
|
59
60
|
|
|
60
|
-
class
|
|
61
|
+
class FlowAgentNodeSchemaReader2 {
|
|
61
62
|
fs;
|
|
62
63
|
pathResolver;
|
|
63
64
|
constructor(fs, pathResolver) {
|
|
@@ -66,28 +67,28 @@ class FlowAgentNodeSchemaReader {
|
|
|
66
67
|
}
|
|
67
68
|
async read(projectPath, nodeId) {
|
|
68
69
|
const root = await this.pathResolver.resolveProjectPath(projectPath);
|
|
69
|
-
const [flowError, flowFilePath] = await
|
|
70
|
+
const [flowError, flowFilePath] = await catchError2(this.pathResolver.findFlowFile(root));
|
|
70
71
|
if (flowError || !flowFilePath) {
|
|
71
72
|
return NO_AGENT;
|
|
72
73
|
}
|
|
73
|
-
const [readError, flowContent] = await
|
|
74
|
+
const [readError, flowContent] = await catchError2(this.fs.readFile(flowFilePath, "utf-8"));
|
|
74
75
|
if (readError) {
|
|
75
76
|
return NO_AGENT;
|
|
76
77
|
}
|
|
77
|
-
const lookup =
|
|
78
|
+
const lookup = findFlowNode2(String(flowContent), nodeId);
|
|
78
79
|
if (!lookup.node) {
|
|
79
80
|
return NO_AGENT;
|
|
80
81
|
}
|
|
81
82
|
const sourceId = readAgentSourceId(lookup.node);
|
|
82
|
-
if (sourceId === undefined ||
|
|
83
|
+
if (sourceId === undefined || !isBareProjectIdSource(sourceId)) {
|
|
83
84
|
return NO_AGENT;
|
|
84
85
|
}
|
|
85
86
|
const agentJsonPath = this.fs.path.join(this.fs.path.dirname(flowFilePath), sourceId, "agent.json");
|
|
86
|
-
const [agentReadError, raw] = await
|
|
87
|
+
const [agentReadError, raw] = await catchError2(this.fs.readFile(agentJsonPath, "utf-8"));
|
|
87
88
|
if (agentReadError) {
|
|
88
89
|
return NO_AGENT;
|
|
89
90
|
}
|
|
90
|
-
const [parseError, agent] =
|
|
91
|
+
const [parseError, agent] = catchError2(() => JSON.parse(String(raw)));
|
|
91
92
|
if (parseError || !isRecord(agent)) {
|
|
92
93
|
return NO_AGENT;
|
|
93
94
|
}
|
|
@@ -105,8 +106,8 @@ function readOutputKeys(outputSchema) {
|
|
|
105
106
|
}
|
|
106
107
|
return new Set(Object.keys(outputSchema.properties));
|
|
107
108
|
}
|
|
108
|
-
function
|
|
109
|
-
if (
|
|
109
|
+
function readEvalSetScope2(set) {
|
|
110
|
+
if (readNodeTargetId2(set) !== undefined) {
|
|
110
111
|
return "node";
|
|
111
112
|
}
|
|
112
113
|
const kind = set.target?.kind ?? set.targetKind;
|
|
@@ -116,6 +117,6 @@ function readEvalSetScope(set) {
|
|
|
116
117
|
return "flow";
|
|
117
118
|
}
|
|
118
119
|
|
|
119
|
-
export {
|
|
120
|
+
export { findFlowNode2, isNodeEvalTarget2, isDocumentEvalNode2, readNodeTargetId2, FlowAgentNodeSchemaReader2, readEvalSetScope2 };
|
|
120
121
|
|
|
121
|
-
//# debugId=
|
|
122
|
+
//# debugId=852D6ABBC9CB2A4864756E2164756E21
|