@uipath/flow-tool 1.206.0-preview.301 → 1.207.0-preview.305
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -1
- package/dist/THIRD-PARTY-NOTICES.md +10 -10
- package/dist/{applicationinsights-web-8m26566f.js → applicationinsights-web-c6epsatg.js} +1 -1
- package/dist/{authoring-az69rn0j.js → authoring-f5ttjy3d.js} +5 -5
- package/dist/{binding-service-cp1mj80n.js → binding-service-qfbtg6qy.js} +37 -34
- package/dist/{browser-strategy-gnftxwsf.js → browser-strategy-1nk8hgcf.js} +1 -1
- package/dist/case-catalog-h4fjn6q3.js +304 -0
- package/dist/{connector-library-1yw5r47w.js → connector-library-844myxz2.js} +20 -6
- package/dist/{connector-service-40wy8yrq.js → connector-service-8t5swsf9.js} +156 -76
- package/dist/{conversion-7O2PDOQB-gk051hmr.js → conversion-A2KZVSOA-s70m4p50.js} +256 -90
- package/dist/{de-AI7ML6JM-km47f8k4.js → de-B6IFKV43-9sk50xx0.js} +164 -2
- package/dist/{de-2BEKRUMY-x4dx0nn9.js → de-HF4GJ4EK-NX7YTOSY-4f0r23sx.js} +1282 -10
- package/dist/{de-2BEKRUMY-MD7L477H-21ytyk41.js → de-HF4GJ4EK-xrrajtht.js} +1277 -15
- package/dist/{de-VQWT6L5Y-mch4qwyv.js → de-IQ44WEAK-ayb953tp.js} +19 -4
- package/dist/{de-3CU65EDB-r7r10am9.js → de-T4OCQPNU-hrqdjart.js} +6 -6
- package/dist/{debug-conversation-trigger-62ebex43.js → debug-conversation-trigger-j20ms2xc.js} +4 -9
- package/dist/{debug-http-client-ykzhg1zx.js → debug-http-client-fypqjmfs.js} +6 -5
- package/dist/{debug-service-xq8vhrkq.js → debug-service-zv5hj0cx.js} +11 -6
- package/dist/{edge-service-y9zbshpm.js → edge-service-706zfmyb.js} +41 -31
- package/dist/{elk.bundled-phy0zc81.js → elk.bundled-pfmz610v.js} +1 -1
- package/dist/{en-LAVDF7IQ-ba7wzsxp.js → en-5JIPZTS5-v0f9wmd2.js} +4 -2
- package/dist/{en-X6T4SP2Y-FPGCJIFV-nxx09kc3.js → en-ETY46SDS-RI6EZCN6-g3n0v4ff.js} +67 -3
- package/dist/{en-X6T4SP2Y-xe57av1w.js → en-ETY46SDS-yfqhqvbx.js} +66 -2
- package/dist/{en-WPCQ4JKF-5ep5egek.js → en-JZXY3PYE-9q1q9w7h.js} +4 -4
- package/dist/{en-LQHKFSEY-sb41hszq.js → en-LQHKFSEY-j7gk3aaw.js} +1 -1
- package/dist/{en-U2NSIIZN-whenw6wh.js → en-T6VSEF3E-1hq4zfrt.js} +5 -3
- package/dist/{es-SPNKTD5Y-vw5cbgv5.js → es-AQW6PFIU-q2mz247f.js} +164 -2
- package/dist/{es-7ZTQTGKN-TXQBFYRA-5xa3wrpt.js → es-IYP2OLUY-7SKYGF6A-jp5kcwrd.js} +1272 -11
- package/dist/{es-7ZTQTGKN-11sj0yjx.js → es-IYP2OLUY-98xsbyd5.js} +1271 -10
- package/dist/{es-MX-S2RFDGDE-x9r0tv30.js → es-MX-A2DFN7CA-q5m62f60.js} +19 -4
- package/dist/{es-MX-IHGRIEWH-23X37OPS-3c1tv7qa.js → es-MX-D2MN3U37-0y5q0nbe.js} +1276 -15
- package/dist/{es-MX-IHGRIEWH-g63p0gb4.js → es-MX-D2MN3U37-D74A6FRL-1r3g7760.js} +1281 -10
- package/dist/{es-MX-7KJZPEQN-1fq0a9jr.js → es-MX-KWITVBWE-w49gknha.js} +164 -2
- package/dist/{es-MX-F7ZEHSNE-gxpm47vv.js → es-MX-YQNHSXDT-fd5ybreb.js} +6 -6
- package/dist/{es-EP563JWQ-1agj5n4e.js → es-TNUPGHGG-886me0sq.js} +19 -4
- package/dist/{es-KHVY67FO-natcvmmm.js → es-YHECPVFB-7jsrxa01.js} +6 -6
- package/dist/extraction-availability-service-h08mngty.js +343 -0
- package/dist/{flow-api-1hr7z6qc.js → flow-api-bmg7beey.js} +15 -12
- package/dist/{flow-debug-service-2m1mkq5s.js → flow-debug-service-bppp59pe.js} +232 -156
- package/dist/flow-eval-node-target-hc9n1913.js +31 -0
- package/dist/flow-eval-run-api-g6sphtf3.js +11 -0
- package/dist/{flow-eval-run-service-c18ma0n5.js → flow-eval-run-service-qdtz7ec7.js} +116 -119
- package/dist/{flow-eval-service-t2k2jk08.js → flow-eval-service-mg7gveh3.js} +141 -337
- package/dist/{flow-init-sdk-source-vg1ckdrf.js → flow-init-sdk-source-t2q2w6v7.js} +5 -5
- package/dist/flow-init-service-0m5yp9fe.js +27 -0
- package/dist/flow-io-c8b17vbx.js +29 -0
- package/dist/{flow-migrate-service-6mnnm5sy.js → flow-migrate-service-a8s4rmq6.js} +20 -20
- package/dist/{flow-pack-service-dhjq3p0y.js → flow-pack-service-jhr4rmsy.js} +89 -90
- package/dist/flow-validate-service-hpt8dqyr.js +49 -0
- package/dist/{fr-7LK3QUWT-a94yejcs.js → fr-EPBGOBOP-rs7qy97k.js} +19 -4
- package/dist/{fr-7ZDL4MVO-pd27vwh6.js → fr-NISALSPL-3ANDQPI3-993fw1pz.js} +1282 -10
- package/dist/{fr-7ZDL4MVO-CXMRZDOF-ye0hwncb.js → fr-NISALSPL-vzfmygd7.js} +1277 -15
- package/dist/{fr-AXJGUT53-hdg3pmd4.js → fr-RNWK2TMC-dpyzj366.js} +164 -2
- package/dist/{fr-I42FODC5-p80x5v4b.js → fr-W3AFCEDL-cjfr0xqp.js} +6 -6
- package/dist/{governance-fetcher-41s8tnja.js → governance-fetcher-hkm1hvn0.js} +7 -7
- package/dist/{headless-41t9wwb7.js → headless-23ywyx9h.js} +390 -195
- package/dist/{hitl-service-sqkjfm9c.js → hitl-service-hs54d6tt.js} +11 -11
- package/dist/index-7enyyjxr.js +161 -0
- package/dist/{index-wss1mf5j.js → index-b02kt4sx.js} +114 -68
- package/dist/{index-zfkp2s1d.js → index-cg965dhq.js} +34 -27
- package/dist/{index-t2f7scza.js → index-db1djbzm.js} +12 -8
- package/dist/{index-r44xc976.js → index-eyjrdzgx.js} +5 -5
- package/dist/{index-7fet3f0s.js → index-h67w2p9p.js} +3 -3
- package/dist/{index-f5kq7265.js → index-r6crd7tx.js} +6 -4
- package/dist/{index-ng011fzs.js → index-r6y07e14.js} +94 -74
- package/dist/{index-5pzp2qeb.js → index-v3w1930f.js} +18 -18
- package/dist/{index-d4bdedx3.js → index-ynw2efd8.js} +6 -4
- package/dist/{index-p0hgkhy2.js → index-zemcat7k.js} +13 -11
- package/dist/index.js +16 -14
- package/dist/{index.umd.min-ttg1qc0x.js → index.umd.min-5yxdz5j3.js} +1 -1
- package/dist/init.js +18 -17
- package/dist/{inline-entity-resolver-vjmjd3zd.js → inline-entity-resolver-9esjm2e7.js} +11 -11
- package/dist/input-reader-3zvbsn6a.js +12 -0
- package/dist/integration-service-fetcher-h6er48b7.js +65 -0
- package/dist/{ja-C7GZV6YP-hvtbngr5.js → ja-DH4I3GEF-ywyhhppa.js} +164 -2
- package/dist/{ja-LGAM5HKR-sgrtjqjh.js → ja-HTS2Q4YG-4ahnq47y.js} +1277 -10
- package/dist/{ja-LGAM5HKR-NTPKIZEM-yrx5rnw2.js → ja-HTS2Q4YG-7Q6WUI6H-6e5nzy0t.js} +1278 -11
- package/dist/{ja-WY2W6733-ayr36h1f.js → ja-HWFIXC2V-gg9xvhsv.js} +19 -4
- package/dist/{ja-GI3OUHPZ-28fy60r0.js → ja-WOANIGX4-qnyzk2t8.js} +6 -6
- package/dist/{jmespath-wwym30dp.js → jmespath-dbsejrwn.js} +1 -1
- package/dist/json-input-pj18qjt0.js +17 -0
- package/dist/{known-types-v9sxcq1c.js → known-types-pen5h5kz.js} +4 -4
- package/dist/{ko-7B4SUZB7-2SLI636D-wxg003p8.js → ko-3JFGTMNY-VT6UQ3IS-5a2hnf97.js} +1272 -11
- package/dist/{ko-7B4SUZB7-c8wr20sc.js → ko-3JFGTMNY-qnf1bnef.js} +1271 -10
- package/dist/{ko-H2RGQWKJ-9696w762.js → ko-L3BMYD3Q-exfhqfbh.js} +19 -4
- package/dist/{ko-Q24HSSL4-5vn55pte.js → ko-R5BCWVO7-whzgmh6q.js} +164 -2
- package/dist/{ko-RYKAL74T-10m4z8vw.js → ko-RMOVRC7M-whyynn7n.js} +6 -6
- package/dist/library-option-9fqvdh8v.js +14 -0
- package/dist/localization-axzmx1mb.js +45 -0
- package/dist/{maestro-automate-entry-d1v5q5mv.js → maestro-automate-entry-mrap5xmt.js} +2 -2
- package/dist/manifest-hmeqvk74.js +60 -0
- package/dist/node-service-bq7m24js.js +65 -0
- package/dist/{node-strategy-wrjxmbzt.js → node-strategy-2r78gtca.js} +2 -2
- package/dist/{node-sync-service-z6tzver4.js → node-sync-service-6v7j8m4p.js} +22 -15
- package/dist/node-xzwyr0mf.js +172 -0
- package/dist/{packager-tool-rca9gsx5.js → packager-tool-0g2grsn8.js} +2 -2
- package/dist/packager-tool-0x8g8b5r.js +25 -0
- package/dist/packager-tool-13mmsykc.js +125 -0
- package/dist/{packager-tool-vgrswa8p.js → packager-tool-1db1wqdy.js} +30 -8
- package/dist/packager-tool-1yew22sn.js +9 -0
- package/dist/packager-tool-2devymwf.js +423 -0
- package/dist/{packager-tool-14rdgz3c.js → packager-tool-3sxg16ft.js} +7 -7
- package/dist/packager-tool-40bxn7j2.js +63 -0
- package/dist/{packager-tool-6an893wm.js → packager-tool-4f4jp7ez.js} +3 -3
- package/dist/{packager-tool-pxq0bwp0.js → packager-tool-4hn7v05x.js} +16 -9
- package/dist/packager-tool-4skf6ak1.js +31 -0
- package/dist/{packager-tool-951nhh3e.js → packager-tool-5n1v6y3q.js} +1 -1
- package/dist/{packager-tool-2b0tn4p4.js → packager-tool-6azsz9h8.js} +7 -7
- package/dist/{packager-tool-54jdtyk4.js → packager-tool-7d6y5paj.js} +11 -11
- package/dist/{packager-tool-ac6rvny7.js → packager-tool-7re5d8aq.js} +1139 -466
- package/dist/{packager-tool-6an563h8.js → packager-tool-7wpb19zf.js} +10 -3
- package/dist/packager-tool-9tv5cyhr.js +16 -0
- package/dist/{packager-tool-7atc775f.js → packager-tool-ajx79m52.js} +1 -1
- package/dist/{packager-tool-17af18dp.js → packager-tool-asfftv7z.js} +330 -902
- package/dist/{packager-tool-xfjgm8hc.js → packager-tool-b0prefcm.js} +489 -118
- package/dist/packager-tool-bbq5kbb9.js +318 -0
- package/dist/{packager-tool-xhrm7cgz.js → packager-tool-bcsjm5hv.js} +470 -315
- package/dist/{packager-tool-xdaxdc00.js → packager-tool-bn09xgy8.js} +14 -14
- package/dist/{packager-tool-1qg04b7q.js → packager-tool-bzcphfa8.js} +4 -2
- package/dist/{node-2my5q788.js → packager-tool-cpbsp04w.js} +189 -285
- package/dist/{packager-tool-gdpw0daf.js → packager-tool-dmhmcav3.js} +3773 -2625
- package/dist/{packager-tool-m1y5ah6s.js → packager-tool-f3htkspn.js} +215 -233
- package/dist/{packager-tool-1dbnq9ja.js → packager-tool-f4pvpaw2.js} +1123 -295
- package/dist/packager-tool-geh2qybm.js +179 -0
- package/dist/{packager-tool-1rhch6b5.js → packager-tool-gjjr2a2w.js} +66 -19
- package/dist/packager-tool-h0gzqmya.js +224 -0
- package/dist/packager-tool-h9f2vjwg.js +40 -0
- package/dist/{packager-tool-pa5s7k5n.js → packager-tool-jf4m7sqc.js} +23 -9
- package/dist/{packager-tool-5ymna6e6.js → packager-tool-jghqgdmm.js} +228 -487
- package/dist/{packager-tool-64r7e4ek.js → packager-tool-jjnfwfd4.js} +2 -2
- package/dist/packager-tool-kh1taypp.js +41 -0
- package/dist/{packager-tool-pdt4jmnw.js → packager-tool-m2h98d2z.js} +246 -61
- package/dist/packager-tool-m8avdf10.js +1060 -0
- package/dist/{packager-tool-kj5yj5hj.js → packager-tool-ma1z6nqe.js} +2 -2
- package/dist/{packager-tool-9m5vba43.js → packager-tool-md1vcqh4.js} +233 -14
- package/dist/{packager-tool-4g87fbz6.js → packager-tool-mm6a12y4.js} +8 -8
- package/dist/{packager-tool-2n6eg5eq.js → packager-tool-mvzswn9n.js} +134 -68
- package/dist/packager-tool-p8ncdnsj.js +30 -0
- package/dist/{packager-tool-zcb3xrfw.js → packager-tool-px52tjy2.js} +9 -7
- package/dist/{packager-tool-vh1hxa0j.js → packager-tool-qf08dexq.js} +584 -651
- package/dist/{packager-tool-m126jzdd.js → packager-tool-qkdbfkev.js} +14 -11
- package/dist/{packager-tool-7mxn3e7j.js → packager-tool-qtz83h01.js} +4 -2
- package/dist/{packager-tool-hk0fnvz5.js → packager-tool-qx8wvedy.js} +1 -1
- package/dist/{packager-tool-q2kwk5bf.js → packager-tool-qyhvgenw.js} +6 -4
- package/dist/{packager-tool-6pyaaxzk.js → packager-tool-rcjtmknf.js} +351 -42
- package/dist/packager-tool-swvgkcq7.js +5973 -0
- package/dist/{packager-tool-fzgfb0jt.js → packager-tool-t0e7fvqz.js} +1228 -759
- package/dist/{packager-tool-p123mtfx.js → packager-tool-tgawhrva.js} +58 -16
- package/dist/{packager-tool-q4trv6y6.js → packager-tool-tm4d12jb.js} +15328 -7171
- package/dist/{packager-tool-c7xq0z3e.js → packager-tool-v7gxvkpx.js} +13 -13
- package/dist/{packager-tool-yewnsyag.js → packager-tool-vg16h3pk.js} +80 -6
- package/dist/packager-tool-w2eqf95v.js +16 -0
- package/dist/packager-tool-wvf6b31h.js +50 -0
- package/dist/{packager-tool-q55qgk3p.js → packager-tool-wz5zmx67.js} +10 -10
- package/dist/packager-tool-xgh2t48c.js +255 -0
- package/dist/{packager-tool-w9bkq7zb.js → packager-tool-xgvp8a8g.js} +10 -10
- package/dist/{packager-tool-dszagpmx.js → packager-tool-y84mhf89.js} +8 -8
- package/dist/packager-tool-ys7jsqhg.js +184 -0
- package/dist/{packager-tool-ze3fnf3s.js → packager-tool-zap4kd3z.js} +7 -2
- package/dist/{packager-tool-0vsqvfq1.js → packager-tool-zgm6kh18.js} +21 -21
- package/dist/{packager-tool-dr3zc9n9.js → packager-tool-zgzpqfcs.js} +13 -6
- package/dist/packager-tool.js +9 -9
- package/dist/{prepare-uip-ad7mfs8t.js → prepare-uip-8frvq826.js} +39 -6
- package/dist/provision-node-service-sxnfgrwy.js +86 -0
- package/dist/{pt-2RGHDOG4-gwe2ptvg.js → pt-6RCFX6CY-v42k92ey.js} +19 -4
- package/dist/{pt-BR-BIUJXIPU-2sqzhr8y.js → pt-BR-6TBBEDQS-y3f2vg5d.js} +164 -2
- package/dist/{pt-BR-PHLFHMXZ-JFPKUXIZ-5c7jp2r1.js → pt-BR-7H7BP5DT-IOHWNCIU-pbdnhe7r.js} +1277 -11
- package/dist/{pt-BR-PHLFHMXZ-n6de4s7z.js → pt-BR-7H7BP5DT-z2e5aaj1.js} +1276 -10
- package/dist/{pt-BR-JWHVZE6H-gvkknv49.js → pt-BR-HDVM5NFA-azfx4gg9.js} +19 -4
- package/dist/{pt-BR-IL3KLBID-m1mvqqzb.js → pt-BR-HJIMGPPX-s18rb4vg.js} +6 -6
- package/dist/{pt-VLA5IOHO-8t4pze0h.js → pt-DZG5FPWK-6czrqk2t.js} +6 -6
- package/dist/{pt-N7ZTJT4W-GVODJMRX-4yqpkc4n.js → pt-QWGSZKMD-RTKSQCYA-80hp6e1q.js} +1272 -11
- package/dist/{pt-N7ZTJT4W-d6c67xcn.js → pt-QWGSZKMD-m50nrkx8.js} +1271 -10
- package/dist/{pt-MHX6JGAX-xfgvdqwg.js → pt-ZSQC5RZ3-8kp3g1z5.js} +164 -2
- package/dist/{ro-FLNXVYJI-ZN43XZKK-q29q8pj0.js → ro-B7G474JK-9k2jjk88.js} +1271 -15
- package/dist/{ro-FLNXVYJI-ytrwabg2.js → ro-B7G474JK-Q3BAA4S3-t47bbx2a.js} +1276 -10
- package/dist/{ro-53TS7SWG-hnjx1c7b.js → ro-EEKX2X3R-tz9prn67.js} +19 -4
- package/dist/{ro-3RKJNGJZ-xqj14e3d.js → ro-P33AQ6ZL-s92z1mgg.js} +164 -2
- package/dist/{ro-IRNFX376-mh84zk3n.js → ro-SX7RUXGR-kknxsr3g.js} +6 -6
- package/dist/ru-FNRVPXE5-7q150qf8.js +7 -0
- package/dist/ru-GSCT4ARZ-6OTD7JLB-cdcpfwx0.js +12 -0
- package/dist/schema-document-service-mknqzg7e.js +30 -0
- package/dist/{serialization-Z3UYT6BW-g3gtam7g.js → serialization-7CB4AREI-6b7ng26y.js} +482 -6161
- package/dist/services/binding-id-rule.d.ts +13 -0
- package/dist/services/binding-resource-types.d.ts +12 -0
- package/dist/services/extract-schema/default-schema-document.d.ts +9 -4
- package/dist/services/extract-schema/types.d.ts +73 -0
- package/dist/services/extract-schema/validate-schema-document.d.ts +75 -0
- package/dist/services/flow-scopes.d.ts +15 -0
- package/dist/services/flow-structure-checks.d.ts +8 -0
- package/dist/services/flow-validate-service.d.ts +44 -11
- package/dist/services/idp-processor-provisioning.d.ts +35 -0
- package/dist/services/node-service.d.ts +17 -23
- package/dist/services/node-validators/extract-schema-validator.d.ts +13 -0
- package/dist/services/node-validators/index.d.ts +1 -0
- package/dist/services/node-validators/js-expression-syntax-validator.d.ts +2 -1
- package/dist/services/node-validators/types.d.ts +2 -7
- package/dist/services/vars-reference-rule.d.ts +6 -0
- package/dist/solution-auth-k0s83ake.js +11 -0
- package/dist/{solution-discovery-wwwynadq.js → solution-discovery-v5qatmz2.js} +7 -7
- package/dist/taggable-variables-nc8td6er.js +134 -0
- package/dist/{tidy-service-qm6h620p.js → tidy-service-rsxb2h63.js} +17 -18
- package/dist/tool.js +16 -14
- package/dist/{tr-PIQY7JIT-2mkwk0kq.js → tr-B6TLBSLH-1797wxkh.js} +19 -4
- package/dist/{tr-7AIZZWZ6-pdzp9n0p.js → tr-FX7WCKK2-CEOTUJRD-5ctjnkng.js} +1276 -10
- package/dist/{tr-7AIZZWZ6-ESAESUPL-td09ft0v.js → tr-FX7WCKK2-x3rx9fjt.js} +1271 -15
- package/dist/{tr-EJKY7DVQ-rkctqva4.js → tr-OUB57VJ6-52t7zdzb.js} +6 -6
- package/dist/{tr-PQLUUHPC-qsb7btxn.js → tr-XD73CQAA-tb2nrpyp.js} +164 -2
- package/dist/utils/handle-expansion.d.ts +2 -2
- package/dist/validation.js +42 -39
- package/dist/{variable-service-yxbkns3a.js → variable-service-95j5nyjh.js} +17 -12
- package/dist/{wait-for-flow-job-vy4t4tbj.js → wait-for-flow-job-k990nmdn.js} +15 -12
- package/dist/{zh-CN-NIEVKROA-q4tbbwqz.js → zh-CN-7KN22KSH-mwvgyym6.js} +19 -4
- package/dist/{zh-CN-4FH7E7UL-84y6j2ea.js → zh-CN-FKWWWLFR-n15rj6p8.js} +6 -6
- package/dist/{zh-CN-OHNTHZRI-b0hjkfqn.js → zh-CN-GWP3B2EM-c07fm17a.js} +164 -2
- package/dist/{zh-CN-CN2ARPFS-e0p2qrxf.js → zh-CN-NCMB6YM5-BB2LRIMQ-phrmedm3.js} +1276 -10
- package/dist/{zh-CN-CN2ARPFS-NIQTWDK2-n74g1tfv.js → zh-CN-NCMB6YM5-drw9bnxg.js} +1271 -15
- package/dist/{zh-TW-E4D3Y6ZR-tn3bmzz5.js → zh-TW-2DLUOA7C-9khqnr4r.js} +164 -2
- package/dist/{zh-TW-5WQA6QTM-hns69sd4.js → zh-TW-52QTEYIZ-2mj7hy3e.js} +6 -6
- package/dist/{zh-TW-MSQM7YTT-m7r7nwnj.js → zh-TW-I7BH3XP2-7rb4xpzg.js} +19 -4
- package/dist/{zh-TW-7RUFEVFK-VKVRSVTP-cxe7jt1n.js → zh-TW-UNIEJPLE-4vxzbphe.js} +1272 -16
- package/dist/{zh-TW-7RUFEVFK-qd7myw31.js → zh-TW-UNIEJPLE-ECGOEPYS-xxye2kfv.js} +1277 -11
- package/package.json +2 -2
- package/dist/flow-eval-node-target-g6wtfw4w.js +0 -29
- package/dist/flow-eval-run-api-w4j8ra60.js +0 -9
- package/dist/flow-init-service-qvhyvq3k.js +0 -26
- package/dist/flow-io-tsxhjvk6.js +0 -24
- package/dist/flow-validate-service-dpjp0yv2.js +0 -46
- package/dist/input-reader-jjq3r7ry.js +0 -11
- package/dist/localization-erchshqr.js +0 -45
- package/dist/node-service-4392jxr2.js +0 -64
- package/dist/packager-tool-2sazb7th.js +0 -2
- package/dist/packager-tool-91kj5ry7.js +0 -18
- package/dist/packager-tool-9217bxm2.js +0 -6
- package/dist/packager-tool-cvh1a0nm.js +0 -16
- package/dist/packager-tool-d07g2kpn.js +0 -25
- package/dist/packager-tool-f2g3pea6.js +0 -461
- package/dist/packager-tool-f7rk9xhv.js +0 -50
- package/dist/packager-tool-jd3v0bh1.js +0 -26
- package/dist/packager-tool-k3egwd1m.js +0 -15
- package/dist/packager-tool-n0y4dhj1.js +0 -56
- package/dist/packager-tool-q0f1dvtd.js +0 -40
- package/dist/packager-tool-wr7gn964.js +0 -2
- package/dist/ru-GSCT4ARZ-FTVCGQTL-vjy6j6vk.js +0 -12
- package/dist/ru-T73OPRTC-50m7tty9.js +0 -7
- package/dist/services/connector-request-buckets.d.ts +0 -1
- package/dist/services/flow-eval-file-store.d.ts +0 -1
- package/dist/services/inline-entity-resolver.d.ts +0 -22
- package/dist/services/packaging-utils.d.ts +0 -130
- package/dist/services/preview-id-rule.d.ts +0 -33
- package/dist/services/ui-only-node-types.d.ts +0 -1
- package/dist/solution-auth-j8x84n5z.js +0 -11
- package/dist/utils/flow-io.d.ts +0 -19
- package/dist/utils/workflow-file-format.d.ts +0 -14
|
@@ -0,0 +1,184 @@
|
|
|
1
|
+
import {
|
|
2
|
+
getFileSystem
|
|
3
|
+
} from "./packager-tool-1db1wqdy.js";
|
|
4
|
+
import {
|
|
5
|
+
catchError2
|
|
6
|
+
} from "./packager-tool-4hn7v05x.js";
|
|
7
|
+
import {
|
|
8
|
+
logger
|
|
9
|
+
} from "./packager-tool-bcsjm5hv.js";
|
|
10
|
+
import {
|
|
11
|
+
isDynamicExtractNodeType2,
|
|
12
|
+
hasAuthoredExtraction,
|
|
13
|
+
isIdpProcessorReadOnly2,
|
|
14
|
+
readIdpProcessorFolderPath2
|
|
15
|
+
} from "./packager-tool-t0e7fvqz.js";
|
|
16
|
+
import {
|
|
17
|
+
deriveIdpProcessorName2,
|
|
18
|
+
findEnclosingSolutionDir2,
|
|
19
|
+
serializeResourceFile2,
|
|
20
|
+
updateIdpProcessorResource2,
|
|
21
|
+
readIdpProcessorResources2,
|
|
22
|
+
writeIdpProcessorResource2,
|
|
23
|
+
collectIdpProcessorUpdates2,
|
|
24
|
+
DEFAULT_IDP_PROCESSOR_NAME2
|
|
25
|
+
} from "./packager-tool-tm4d12jb.js";
|
|
26
|
+
import {
|
|
27
|
+
findFlowProjectRoot2
|
|
28
|
+
} from "./packager-tool-3sxg16ft.js";
|
|
29
|
+
|
|
30
|
+
// src/services/extract-schema/default-schema-document.ts
|
|
31
|
+
var DEFAULT_FIELD_TYPE_DEFINITIONS = {
|
|
32
|
+
"ft-exact-text": {
|
|
33
|
+
title: "Exact Text",
|
|
34
|
+
type: ["string", "null"],
|
|
35
|
+
format: "verbatim"
|
|
36
|
+
},
|
|
37
|
+
"ft-inferred-text": {
|
|
38
|
+
title: "Inferred Text",
|
|
39
|
+
type: ["string", "null"]
|
|
40
|
+
},
|
|
41
|
+
"ft-date": {
|
|
42
|
+
title: "Date",
|
|
43
|
+
type: ["string", "null"],
|
|
44
|
+
format: "date"
|
|
45
|
+
},
|
|
46
|
+
"ft-number": {
|
|
47
|
+
title: "Number",
|
|
48
|
+
type: ["string", "null"],
|
|
49
|
+
format: "decimal"
|
|
50
|
+
},
|
|
51
|
+
"ft-monetary-quantity": {
|
|
52
|
+
title: "Monetary Quantity",
|
|
53
|
+
type: ["string", "null"],
|
|
54
|
+
format: "monetary"
|
|
55
|
+
},
|
|
56
|
+
"ft-boolean": {
|
|
57
|
+
title: "Boolean",
|
|
58
|
+
type: ["boolean", "null"]
|
|
59
|
+
}
|
|
60
|
+
};
|
|
61
|
+
function readString(value) {
|
|
62
|
+
return typeof value === "string" ? value : undefined;
|
|
63
|
+
}
|
|
64
|
+
function buildScaffoldConfig(modelConfig) {
|
|
65
|
+
const settings = typeof modelConfig === "object" && modelConfig !== null ? modelConfig : {};
|
|
66
|
+
const modelVersion = readString(settings.model_version);
|
|
67
|
+
return {
|
|
68
|
+
extraction_method: "external_llm",
|
|
69
|
+
model: modelVersion === undefined || modelVersion.length === 0 ? null : {
|
|
70
|
+
family: modelVersion.split(/[-_]/)[0],
|
|
71
|
+
version: modelVersion
|
|
72
|
+
},
|
|
73
|
+
execution_mode: readString(settings.execution_mode) ?? "standard",
|
|
74
|
+
"pre-processing": readString(settings.input_config) ?? "none",
|
|
75
|
+
attribution: readString(settings.attribution_method) ?? "word_ids",
|
|
76
|
+
model_config: {
|
|
77
|
+
temperature: null,
|
|
78
|
+
top_p: null,
|
|
79
|
+
seed: null,
|
|
80
|
+
frequency_penalty: null,
|
|
81
|
+
prompt_override: null
|
|
82
|
+
}
|
|
83
|
+
};
|
|
84
|
+
}
|
|
85
|
+
function buildDefaultSchemaDocument(modelConfig) {
|
|
86
|
+
return {
|
|
87
|
+
config: buildScaffoldConfig(modelConfig),
|
|
88
|
+
prompt: "",
|
|
89
|
+
outputSchema: {
|
|
90
|
+
type: "object",
|
|
91
|
+
additionalProperties: false,
|
|
92
|
+
required: [],
|
|
93
|
+
properties: {},
|
|
94
|
+
$defs: structuredClone(DEFAULT_FIELD_TYPE_DEFINITIONS)
|
|
95
|
+
}
|
|
96
|
+
};
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
// src/services/idp-processor-provisioning.ts
|
|
100
|
+
async function provisionIdpProcessorForNode(filePath, node) {
|
|
101
|
+
if (!isDynamicExtractNodeType2(node.type))
|
|
102
|
+
return;
|
|
103
|
+
if (!isReadableInputs(node.inputs))
|
|
104
|
+
return;
|
|
105
|
+
const inputs = node.inputs ?? {};
|
|
106
|
+
node.inputs = inputs;
|
|
107
|
+
if (isIdpProcessorReadOnly2(inputs))
|
|
108
|
+
return;
|
|
109
|
+
if (readIdpProcessorFolderPath2(inputs) !== undefined)
|
|
110
|
+
return;
|
|
111
|
+
if (typeof inputs.processorKey !== "string" || inputs.processorKey.length === 0) {
|
|
112
|
+
inputs.processorKey = crypto.randomUUID();
|
|
113
|
+
}
|
|
114
|
+
const processorKey = inputs.processorKey;
|
|
115
|
+
const fs = getFileSystem();
|
|
116
|
+
const projectRoot = await findFlowProjectRoot2(fs, filePath);
|
|
117
|
+
const found = await findEnclosingSolutionDir2(fs, projectRoot);
|
|
118
|
+
const solutionDir = found === undefined ? undefined : await realPath(fs, found);
|
|
119
|
+
if (!solutionDir) {
|
|
120
|
+
const resourcePending = "The flow project is not inside a solution, so the idpProcessor resource file is created when the project is packed inside one.";
|
|
121
|
+
logger.info(resourcePending);
|
|
122
|
+
return { processorKey, resourcePending };
|
|
123
|
+
}
|
|
124
|
+
const [provisionError, provisioned] = await catchError2((async () => {
|
|
125
|
+
const resources = await readIdpProcessorResources2(fs, solutionDir);
|
|
126
|
+
const existing = resources.find((entry) => entry.key === processorKey);
|
|
127
|
+
if (existing) {
|
|
128
|
+
if (existing.name.length > 0) {
|
|
129
|
+
inputs.processorName = existing.name;
|
|
130
|
+
}
|
|
131
|
+
const authored = hasAuthoredExtraction(inputs.schemaDocument);
|
|
132
|
+
const [update] = authored ? collectIdpProcessorUpdates2({ nodes: [node] }) : [];
|
|
133
|
+
if (update) {
|
|
134
|
+
const merged = updateIdpProcessorResource2(existing.file, update.spec);
|
|
135
|
+
if (JSON.stringify(merged) !== JSON.stringify(existing.file)) {
|
|
136
|
+
const [syncError] = await catchError2(fs.writeFile(existing.filePath, serializeResourceFile2(merged)));
|
|
137
|
+
if (syncError) {
|
|
138
|
+
logger.warn(`Failed to update the idpProcessor resource file: ${syncError.message}. 'uip solution pack' regenerates it from the node.`);
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
return {
|
|
143
|
+
processorKey,
|
|
144
|
+
processorName: existing.name || undefined,
|
|
145
|
+
resourceFile: fs.path.relative(solutionDir, existing.filePath)
|
|
146
|
+
};
|
|
147
|
+
}
|
|
148
|
+
const [update] = collectIdpProcessorUpdates2({ nodes: [node] });
|
|
149
|
+
const name = deriveIdpProcessorName2(update.name ?? DEFAULT_IDP_PROCESSOR_NAME2, resources.map((entry) => entry.name)) ?? DEFAULT_IDP_PROCESSOR_NAME2;
|
|
150
|
+
inputs.processorName = name;
|
|
151
|
+
const resourceFile = await writeIdpProcessorResource2(fs, solutionDir, { key: processorKey, name, spec: update.spec });
|
|
152
|
+
return {
|
|
153
|
+
processorKey,
|
|
154
|
+
processorName: name,
|
|
155
|
+
resourceFile: fs.path.relative(solutionDir, resourceFile)
|
|
156
|
+
};
|
|
157
|
+
})());
|
|
158
|
+
if (provisionError) {
|
|
159
|
+
const resourcePending = `Failed to create the idpProcessor resource file: ${provisionError.message}. 'uip solution pack' creates it from the node.`;
|
|
160
|
+
logger.warn(resourcePending);
|
|
161
|
+
return { processorKey, resourcePending };
|
|
162
|
+
}
|
|
163
|
+
return provisioned;
|
|
164
|
+
}
|
|
165
|
+
function isReadableInputs(inputs) {
|
|
166
|
+
if (inputs === undefined)
|
|
167
|
+
return true;
|
|
168
|
+
if (typeof inputs !== "object" || inputs === null)
|
|
169
|
+
return false;
|
|
170
|
+
if (Array.isArray(inputs))
|
|
171
|
+
return false;
|
|
172
|
+
return !("$ref" in inputs);
|
|
173
|
+
}
|
|
174
|
+
async function realPath(fs, path) {
|
|
175
|
+
try {
|
|
176
|
+
return await fs.realpath(path) ?? path;
|
|
177
|
+
} catch {
|
|
178
|
+
return path;
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
export { buildScaffoldConfig, buildDefaultSchemaDocument, provisionIdpProcessorForNode };
|
|
183
|
+
|
|
184
|
+
//# debugId=7BCBC02F7F23FFF564756E2164756E21
|
|
@@ -60,12 +60,15 @@ class Path {
|
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
// ../packager/packager-core/src/services/json-object.ts
|
|
63
|
+
function isJsonObject(value) {
|
|
64
|
+
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
65
|
+
}
|
|
63
66
|
function parseJsonObject(text) {
|
|
64
67
|
if (!text)
|
|
65
68
|
return;
|
|
66
69
|
try {
|
|
67
70
|
const value = JSON.parse(text);
|
|
68
|
-
return
|
|
71
|
+
return isJsonObject(value) ? value : undefined;
|
|
69
72
|
} catch {
|
|
70
73
|
return;
|
|
71
74
|
}
|
|
@@ -394,6 +397,8 @@ class NugetPackager {
|
|
|
394
397
|
};
|
|
395
398
|
}
|
|
396
399
|
}
|
|
400
|
+
// ../packager/packager-core/src/services/project-identity.ts
|
|
401
|
+
var MAX_IDENTITY_FILE_BYTES = 1024 * 1024;
|
|
397
402
|
// ../packager/packager-core/src/models/tool-result.ts
|
|
398
403
|
class ToolResult {
|
|
399
404
|
errorCode;
|
|
@@ -1482,4 +1487,4 @@ class LogMessage {
|
|
|
1482
1487
|
}
|
|
1483
1488
|
export { Path, TemporaryStorageService, ZipService, I18nManager, translate, normalizeIgnoredRules, LogMessage, NugetConstants, ToolResult, ensureProjectId, writeContentOperateFile, NugetPackager, ProjectTool, toolsFactoryRepository };
|
|
1484
1489
|
|
|
1485
|
-
//# debugId=
|
|
1490
|
+
//# debugId=8E64845FB02CE3A864756E2164756E21
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
catchError2
|
|
3
|
-
} from "./packager-tool-
|
|
3
|
+
} from "./packager-tool-4hn7v05x.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./packager-tool-
|
|
5
|
+
collectAgentInputLeaves2,
|
|
6
|
+
isBareProjectIdSource2,
|
|
7
|
+
isInlineAgentNodeType2
|
|
8
|
+
} from "./packager-tool-tm4d12jb.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./packager-tool-
|
|
10
|
+
isRecord2
|
|
11
|
+
} from "./packager-tool-7re5d8aq.js";
|
|
12
12
|
|
|
13
13
|
// src/services/flow-eval-node-target.ts
|
|
14
14
|
function findFlowNode2(flowContent, nodeId) {
|
|
15
15
|
const [parseError, parsed] = catchError2(() => JSON.parse(flowContent));
|
|
16
|
-
if (parseError || !
|
|
16
|
+
if (parseError || !isRecord2(parsed)) {
|
|
17
17
|
return { flowParsed: false };
|
|
18
18
|
}
|
|
19
19
|
const topLevel = Array.isArray(parsed.nodes) ? parsed.nodes : [];
|
|
20
|
-
const subflows =
|
|
21
|
-
const nested = subflows.flatMap((subflow) =>
|
|
22
|
-
const node = [...topLevel, ...nested].find((candidate) =>
|
|
20
|
+
const subflows = isRecord2(parsed.subflows) ? Object.values(parsed.subflows) : [];
|
|
21
|
+
const nested = subflows.flatMap((subflow) => isRecord2(subflow) && Array.isArray(subflow.nodes) ? subflow.nodes : []);
|
|
22
|
+
const node = [...topLevel, ...nested].find((candidate) => isRecord2(candidate) && candidate.id === nodeId);
|
|
23
23
|
return { flowParsed: true, node };
|
|
24
24
|
}
|
|
25
|
-
function
|
|
26
|
-
const inputs =
|
|
25
|
+
function readAgentSourceId2(node) {
|
|
26
|
+
const inputs = isRecord2(node.inputs) ? node.inputs : undefined;
|
|
27
27
|
const source = inputs?.source;
|
|
28
28
|
if (typeof source !== "string") {
|
|
29
29
|
return;
|
|
@@ -33,7 +33,7 @@ function readAgentSourceId(node) {
|
|
|
33
33
|
}
|
|
34
34
|
function isNodeEvalTarget2(node) {
|
|
35
35
|
const type = typeof node.type === "string" ? node.type.toLowerCase() : undefined;
|
|
36
|
-
return
|
|
36
|
+
return isInlineAgentNodeType2(type) && readAgentSourceId2(node) !== undefined;
|
|
37
37
|
}
|
|
38
38
|
var DOCUMENT_EVAL_NODE_TYPES = new Set([
|
|
39
39
|
"uipath.ixp.extract-document-builder",
|
|
@@ -79,8 +79,8 @@ class FlowAgentNodeSchemaReader2 {
|
|
|
79
79
|
if (!lookup.node) {
|
|
80
80
|
return NO_AGENT;
|
|
81
81
|
}
|
|
82
|
-
const sourceId =
|
|
83
|
-
if (sourceId === undefined || !
|
|
82
|
+
const sourceId = readAgentSourceId2(lookup.node);
|
|
83
|
+
if (sourceId === undefined || !isBareProjectIdSource2(sourceId)) {
|
|
84
84
|
return NO_AGENT;
|
|
85
85
|
}
|
|
86
86
|
const agentJsonPath = this.fs.path.join(this.fs.path.dirname(flowFilePath), sourceId, "agent.json");
|
|
@@ -89,19 +89,19 @@ class FlowAgentNodeSchemaReader2 {
|
|
|
89
89
|
return NO_AGENT;
|
|
90
90
|
}
|
|
91
91
|
const [parseError, agent] = catchError2(() => JSON.parse(String(raw)));
|
|
92
|
-
if (parseError || !
|
|
92
|
+
if (parseError || !isRecord2(agent)) {
|
|
93
93
|
return NO_AGENT;
|
|
94
94
|
}
|
|
95
95
|
return {
|
|
96
96
|
agentFound: true,
|
|
97
97
|
agentJsonPath,
|
|
98
|
-
inputs:
|
|
98
|
+
inputs: collectAgentInputLeaves2(agent.inputSchema),
|
|
99
99
|
outputs: readOutputKeys(agent.outputSchema)
|
|
100
100
|
};
|
|
101
101
|
}
|
|
102
102
|
}
|
|
103
103
|
function readOutputKeys(outputSchema) {
|
|
104
|
-
if (!
|
|
104
|
+
if (!isRecord2(outputSchema) || !isRecord2(outputSchema.properties)) {
|
|
105
105
|
return new Set;
|
|
106
106
|
}
|
|
107
107
|
return new Set(Object.keys(outputSchema.properties));
|
|
@@ -117,6 +117,6 @@ function readEvalSetScope2(set) {
|
|
|
117
117
|
return "flow";
|
|
118
118
|
}
|
|
119
119
|
|
|
120
|
-
export { findFlowNode2, isNodeEvalTarget2, isDocumentEvalNode2, readNodeTargetId2, FlowAgentNodeSchemaReader2, readEvalSetScope2 };
|
|
120
|
+
export { findFlowNode2, readAgentSourceId2, isNodeEvalTarget2, isDocumentEvalNode2, readNodeTargetId2, FlowAgentNodeSchemaReader2, readEvalSetScope2 };
|
|
121
121
|
|
|
122
|
-
//# debugId=
|
|
122
|
+
//# debugId=810B2C3E2800575364756E2164756E21
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
logger
|
|
3
|
-
} from "./packager-tool-
|
|
3
|
+
} from "./packager-tool-bcsjm5hv.js";
|
|
4
|
+
import {
|
|
5
|
+
normalizeTimestamps
|
|
6
|
+
} from "./packager-tool-wvf6b31h.js";
|
|
4
7
|
|
|
5
8
|
// ../maestro-sdk/src/debug-http-client.ts
|
|
6
9
|
function parseBackendErrorBody2(body) {
|
|
@@ -141,13 +144,17 @@ async function automationSolutionsGet2(config, path, stage, signal) {
|
|
|
141
144
|
}
|
|
142
145
|
return response.json();
|
|
143
146
|
}
|
|
144
|
-
async function orchestratorGet2(config, path, stage) {
|
|
147
|
+
async function orchestratorGet2(config, path, stage, options) {
|
|
145
148
|
const url = buildOrchestratorUrl(config, path);
|
|
146
149
|
const headers = buildCommonHeaders(config);
|
|
147
150
|
if (typeof process !== "undefined" && process.env?.DEBUG) {
|
|
148
151
|
logger.info(`DEBUG GET: ${url}`);
|
|
149
152
|
}
|
|
150
|
-
const response = await fetch(url, {
|
|
153
|
+
const response = await fetch(url, {
|
|
154
|
+
method: "GET",
|
|
155
|
+
headers,
|
|
156
|
+
...options?.signal ? { signal: options.signal } : {}
|
|
157
|
+
});
|
|
151
158
|
if (!response.ok) {
|
|
152
159
|
throw new MaestroHttpError2(await buildHttpErrorDetails(response, {
|
|
153
160
|
service: "orchestrator",
|
|
@@ -201,11 +208,11 @@ async function debugPimsGet2(config, path, stage, options) {
|
|
|
201
208
|
stage
|
|
202
209
|
}));
|
|
203
210
|
}
|
|
204
|
-
return response.json();
|
|
211
|
+
return normalizeTimestamps(await response.json());
|
|
205
212
|
}
|
|
206
213
|
async function readOptionalJsonResponse(response) {
|
|
207
214
|
const text = await response.text();
|
|
208
|
-
return text ? JSON.parse(text) : {};
|
|
215
|
+
return text ? normalizeTimestamps(JSON.parse(text)) : {};
|
|
209
216
|
}
|
|
210
217
|
async function debugPimsWrite(config, path, body, method, stage) {
|
|
211
218
|
const url = buildPimsUrl(config, path);
|
|
@@ -286,4 +293,4 @@ async function studioWebDelete2(config, organizationName, path, stage) {
|
|
|
286
293
|
|
|
287
294
|
export { parseBackendErrorBody2, MaestroHttpError2, automationSolutionsGet2, orchestratorGet2, orchestratorPost2, debugPimsGet2, debugPimsPost2, debugPimsPut2, debugPimsPatch2, studioWebPost2, studioWebDelete2 };
|
|
288
295
|
|
|
289
|
-
//# debugId=
|
|
296
|
+
//# debugId=6DAAFF720D9A229764756E2164756E21
|
package/dist/packager-tool.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
registerPackagerFactories2
|
|
3
|
-
} from "./packager-tool-
|
|
4
|
-
import"./packager-tool-
|
|
5
|
-
import"./packager-tool-
|
|
6
|
-
import"./packager-tool-
|
|
7
|
-
import"./packager-tool-
|
|
8
|
-
import"./packager-tool-
|
|
9
|
-
import"./packager-tool-
|
|
10
|
-
import"./packager-tool-
|
|
11
|
-
import"./packager-tool-
|
|
3
|
+
} from "./packager-tool-y84mhf89.js";
|
|
4
|
+
import"./packager-tool-tm4d12jb.js";
|
|
5
|
+
import"./packager-tool-6azsz9h8.js";
|
|
6
|
+
import"./packager-tool-3sxg16ft.js";
|
|
7
|
+
import"./packager-tool-mm6a12y4.js";
|
|
8
|
+
import"./packager-tool-zap4kd3z.js";
|
|
9
|
+
import"./packager-tool-40bxn7j2.js";
|
|
10
|
+
import"./packager-tool-1db1wqdy.js";
|
|
11
|
+
import"./packager-tool-t0e7fvqz.js";
|
|
12
12
|
export {
|
|
13
13
|
registerPackagerFactories2 as registerPackagerFactories
|
|
14
14
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
// ../builder-sdk/src/prepare-uip.ts
|
|
2
2
|
var PREPARE_COMMANDS = [
|
|
3
|
+
["login", "status"],
|
|
3
4
|
["is", "connections", "list"],
|
|
4
5
|
["is", "connectors", "metadata"],
|
|
5
6
|
["is", "activities", "list"],
|
|
@@ -10,7 +11,9 @@ var PREPARE_COMMANDS = [
|
|
|
10
11
|
["is", "triggers", "describe"],
|
|
11
12
|
["maestro", "flow", "registry", "get"],
|
|
12
13
|
["maestro", "flow", "registry", "search"],
|
|
13
|
-
["maestro", "flow", "registry", "pull"]
|
|
14
|
+
["maestro", "flow", "registry", "pull"],
|
|
15
|
+
["solution", "resources", "list"],
|
|
16
|
+
["df", "entities", "list"]
|
|
14
17
|
];
|
|
15
18
|
var HOST_GLOBAL_OPTIONS = [
|
|
16
19
|
"--json",
|
|
@@ -55,6 +58,30 @@ function timeLimit(timeoutMs) {
|
|
|
55
58
|
});
|
|
56
59
|
return { start, expired, clear: () => clearTimeout(timer) };
|
|
57
60
|
}
|
|
61
|
+
async function loginStatus() {
|
|
62
|
+
try {
|
|
63
|
+
const { getLoginStatusAsync } = await import("./index-r6crd7tx.js");
|
|
64
|
+
const status = await getLoginStatusAsync();
|
|
65
|
+
const data = { Status: status.loginStatus };
|
|
66
|
+
if (status.baseUrl)
|
|
67
|
+
data.BaseUrl = status.baseUrl;
|
|
68
|
+
if (status.organizationId)
|
|
69
|
+
data.OrganizationId = status.organizationId;
|
|
70
|
+
if (status.tenantId)
|
|
71
|
+
data.TenantId = status.tenantId;
|
|
72
|
+
return {
|
|
73
|
+
code: 0,
|
|
74
|
+
stdout: JSON.stringify({
|
|
75
|
+
Result: "Success",
|
|
76
|
+
Code: "LoginStatus",
|
|
77
|
+
Data: data
|
|
78
|
+
}),
|
|
79
|
+
stderr: ""
|
|
80
|
+
};
|
|
81
|
+
} catch (error) {
|
|
82
|
+
return failed(`uip: login status: ${error instanceof Error ? error.message : String(error)}`);
|
|
83
|
+
}
|
|
84
|
+
}
|
|
58
85
|
function prepareUip(runInProcess) {
|
|
59
86
|
const running = new Set;
|
|
60
87
|
const ended = new AbortController;
|
|
@@ -68,10 +95,16 @@ function prepareUip(runInProcess) {
|
|
|
68
95
|
}
|
|
69
96
|
const { timeoutMs } = options;
|
|
70
97
|
const limit = timeoutMs === undefined || timeoutMs <= 0 ? undefined : timeLimit(timeoutMs);
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
98
|
+
let answer;
|
|
99
|
+
if (argv[1] === "login" && argv[2] === "status") {
|
|
100
|
+
limit?.start();
|
|
101
|
+
answer = loginStatus();
|
|
102
|
+
} else {
|
|
103
|
+
answer = runInProcess(argv.slice(1), {
|
|
104
|
+
signal: ended.signal,
|
|
105
|
+
onStart: limit?.start
|
|
106
|
+
}).catch((error) => failed(`uip: ${error instanceof Error ? error.message : String(error)}`));
|
|
107
|
+
}
|
|
75
108
|
running.add(answer);
|
|
76
109
|
answer.finally(() => running.delete(answer));
|
|
77
110
|
return limit ? Promise.race([answer, limit.expired]).finally(limit.clear) : answer;
|
|
@@ -89,4 +122,4 @@ export {
|
|
|
89
122
|
prepareUip
|
|
90
123
|
};
|
|
91
124
|
|
|
92
|
-
//# debugId=
|
|
125
|
+
//# debugId=A448C1DEE4BEA0E464756E2164756E21
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import {
|
|
2
|
+
DYNAMIC_EXTRACT_NODE_TYPE2,
|
|
3
|
+
isIdpProcessorReadOnly2,
|
|
4
|
+
readIdpProcessorKey2,
|
|
5
|
+
readIdpProcessorFolderPath2
|
|
6
|
+
} from "./packager-tool-t0e7fvqz.js";
|
|
7
|
+
import"./packager-tool-dmhmcav3.js";
|
|
8
|
+
import"./packager-tool-1db1wqdy.js";
|
|
9
|
+
import"./packager-tool-4hn7v05x.js";
|
|
10
|
+
import"./packager-tool-bcsjm5hv.js";
|
|
11
|
+
import"./packager-tool-zap4kd3z.js";
|
|
12
|
+
import"./packager-tool-tm4d12jb.js";
|
|
13
|
+
import"./packager-tool-6azsz9h8.js";
|
|
14
|
+
import {
|
|
15
|
+
readFlowWorkflow2,
|
|
16
|
+
writeFlowWorkflow2
|
|
17
|
+
} from "./packager-tool-h9f2vjwg.js";
|
|
18
|
+
import"./packager-tool-bbq5kbb9.js";
|
|
19
|
+
import {
|
|
20
|
+
requestError2
|
|
21
|
+
} from "./packager-tool-2devymwf.js";
|
|
22
|
+
import {
|
|
23
|
+
provisionIdpProcessorForNode
|
|
24
|
+
} from "./packager-tool-ys7jsqhg.js";
|
|
25
|
+
import"./packager-tool-3sxg16ft.js";
|
|
26
|
+
import"./packager-tool-mm6a12y4.js";
|
|
27
|
+
import"./packager-tool-40bxn7j2.js";
|
|
28
|
+
|
|
29
|
+
// src/services/provision-node-service.ts
|
|
30
|
+
async function provisionNodes(filePath, nodeId) {
|
|
31
|
+
const { workflow, refMap } = await readFlowWorkflow2(filePath);
|
|
32
|
+
const nodes = collectNodes(workflow);
|
|
33
|
+
const targets = selectTargets(nodes, nodeId);
|
|
34
|
+
const provisioned = [];
|
|
35
|
+
const alreadyProvisioned = [];
|
|
36
|
+
for (const node of targets) {
|
|
37
|
+
if (readIdpProcessorKey2(node.inputs) !== undefined) {
|
|
38
|
+
alreadyProvisioned.push(node.id);
|
|
39
|
+
continue;
|
|
40
|
+
}
|
|
41
|
+
const result = await provisionIdpProcessorForNode(filePath, node);
|
|
42
|
+
if (result)
|
|
43
|
+
provisioned.push({ nodeId: node.id, ...result });
|
|
44
|
+
}
|
|
45
|
+
if (provisioned.length > 0) {
|
|
46
|
+
await writeFlowWorkflow2(filePath, workflow, refMap);
|
|
47
|
+
}
|
|
48
|
+
return { provisioned, alreadyProvisioned };
|
|
49
|
+
}
|
|
50
|
+
function collectNodes(workflow) {
|
|
51
|
+
const collected = [...workflow.nodes ?? []];
|
|
52
|
+
for (const subflow of Object.values(workflow.subflows ?? {})) {
|
|
53
|
+
collected.push(...subflow.nodes ?? []);
|
|
54
|
+
}
|
|
55
|
+
return collected;
|
|
56
|
+
}
|
|
57
|
+
function selectTargets(nodes, nodeId) {
|
|
58
|
+
const extractNodes = nodes.filter((node) => node.type === DYNAMIC_EXTRACT_NODE_TYPE2);
|
|
59
|
+
if (nodeId === undefined) {
|
|
60
|
+
if (extractNodes.length === 0) {
|
|
61
|
+
throw requestError2("This flow has no Extract document nodes.", "not_found", `Only a ${DYNAMIC_EXTRACT_NODE_TYPE2} node runs a processor. Add one with 'uip maestro flow nodes create <file> ${DYNAMIC_EXTRACT_NODE_TYPE2}', which provisions its processor as it goes.`);
|
|
62
|
+
}
|
|
63
|
+
return extractNodes.filter((node) => !readsSomeoneElses(node));
|
|
64
|
+
}
|
|
65
|
+
const node = extractNodes.find((entry) => entry.id === nodeId);
|
|
66
|
+
if (!node) {
|
|
67
|
+
throw requestError2(`Node "${nodeId}" is not an Extract document node in this flow.`, "not_found", `Run 'uip maestro flow nodes list <file>' to see the nodes this flow holds. Only a ${DYNAMIC_EXTRACT_NODE_TYPE2} node runs a processor.`);
|
|
68
|
+
}
|
|
69
|
+
if (readIdpProcessorKey2(node.inputs) !== undefined)
|
|
70
|
+
return [node];
|
|
71
|
+
if (readIdpProcessorFolderPath2(node.inputs) !== undefined) {
|
|
72
|
+
throw requestError2(`Node "${nodeId}" runs a processor published to the tenant.`, "invalid_argument", "Such a processor is not a solution resource, so this command has nothing to provision. Clear 'inputs.processorFolderPath' to have the solution define the processor instead.");
|
|
73
|
+
}
|
|
74
|
+
if (isIdpProcessorReadOnly2(node.inputs)) {
|
|
75
|
+
throw requestError2(`Node "${nodeId}" reads a processor it does not define.`, "invalid_argument", "'inputs.processorReadOnly' marks a node as a copy of another node's processor, so there is nothing to provision for it. Clear that input to have this node define its own.");
|
|
76
|
+
}
|
|
77
|
+
return [node];
|
|
78
|
+
}
|
|
79
|
+
function readsSomeoneElses(node) {
|
|
80
|
+
return isIdpProcessorReadOnly2(node.inputs) || readIdpProcessorFolderPath2(node.inputs) !== undefined;
|
|
81
|
+
}
|
|
82
|
+
export {
|
|
83
|
+
provisionNodes
|
|
84
|
+
};
|
|
85
|
+
|
|
86
|
+
//# debugId=7479F822ACB2CE6B64756E2164756E21
|
|
@@ -1,10 +1,14 @@
|
|
|
1
|
-
// ../../node_modules/@uipath/flow-expression-model/dist/pt-
|
|
1
|
+
// ../../node_modules/@uipath/flow-expression-model/dist/pt-6RCFX6CY.js
|
|
2
2
|
var entityFilter_operatorName_contains = "Contém";
|
|
3
3
|
var entityFilter_operatorName_endsWith = "Termina em";
|
|
4
4
|
var entityFilter_operatorName_equals = "Igual a";
|
|
5
5
|
var entityFilter_operatorName_greaterThan = "Maior que";
|
|
6
6
|
var entityFilter_operatorName_greaterThanOrEqual = "maior ou igual a";
|
|
7
7
|
var entityFilter_operatorName_in = "In";
|
|
8
|
+
var entityFilter_operatorName_isFalse = "é falso";
|
|
9
|
+
var entityFilter_operatorName_isNotNull = "Não é Nulo";
|
|
10
|
+
var entityFilter_operatorName_isNull = "É Nulo";
|
|
11
|
+
var entityFilter_operatorName_isTrue = "é verdadeiro";
|
|
8
12
|
var entityFilter_operatorName_lessThan = "Menor que";
|
|
9
13
|
var entityFilter_operatorName_lessThanOrEqual = "menor ou igual a";
|
|
10
14
|
var entityFilter_operatorName_notContains = "Not Contains";
|
|
@@ -20,6 +24,7 @@ var scopeService_variableName_invalidCharactersError = "O nome da variável só
|
|
|
20
24
|
var scopeService_variableName_reservedWordError = '"{{name}}" é uma palavra reservada';
|
|
21
25
|
var scopeService_variableName_startsWithNumberError = "O nome da variável não pode começar com um número";
|
|
22
26
|
var validation_expression_fileExpected_message = "Este valor tem de ser um ficheiro. Para utilizar um ficheiro remoto, transfira o ficheiro primeiro com uma ação que produz um ficheiro e, em seguida, referencie essa saída.";
|
|
27
|
+
var validation_expression_namedTypeExpected_message = "Este valor tem de ser do tipo {{type}}.";
|
|
23
28
|
var pt_default = {
|
|
24
29
|
entityFilter_operatorName_contains,
|
|
25
30
|
entityFilter_operatorName_endsWith,
|
|
@@ -27,6 +32,10 @@ var pt_default = {
|
|
|
27
32
|
entityFilter_operatorName_greaterThan,
|
|
28
33
|
entityFilter_operatorName_greaterThanOrEqual,
|
|
29
34
|
entityFilter_operatorName_in,
|
|
35
|
+
entityFilter_operatorName_isFalse,
|
|
36
|
+
entityFilter_operatorName_isNotNull,
|
|
37
|
+
entityFilter_operatorName_isNull,
|
|
38
|
+
entityFilter_operatorName_isTrue,
|
|
30
39
|
entityFilter_operatorName_lessThan,
|
|
31
40
|
entityFilter_operatorName_lessThanOrEqual,
|
|
32
41
|
entityFilter_operatorName_notContains,
|
|
@@ -41,7 +50,8 @@ var pt_default = {
|
|
|
41
50
|
scopeService_variableName_invalidCharactersError,
|
|
42
51
|
scopeService_variableName_reservedWordError,
|
|
43
52
|
scopeService_variableName_startsWithNumberError,
|
|
44
|
-
validation_expression_fileExpected_message
|
|
53
|
+
validation_expression_fileExpected_message,
|
|
54
|
+
validation_expression_namedTypeExpected_message
|
|
45
55
|
};
|
|
46
56
|
export {
|
|
47
57
|
pt_default as default,
|
|
@@ -51,6 +61,10 @@ export {
|
|
|
51
61
|
entityFilter_operatorName_greaterThan,
|
|
52
62
|
entityFilter_operatorName_greaterThanOrEqual,
|
|
53
63
|
entityFilter_operatorName_in,
|
|
64
|
+
entityFilter_operatorName_isFalse,
|
|
65
|
+
entityFilter_operatorName_isNotNull,
|
|
66
|
+
entityFilter_operatorName_isNull,
|
|
67
|
+
entityFilter_operatorName_isTrue,
|
|
54
68
|
entityFilter_operatorName_lessThan,
|
|
55
69
|
entityFilter_operatorName_lessThanOrEqual,
|
|
56
70
|
entityFilter_operatorName_notContains,
|
|
@@ -65,7 +79,8 @@ export {
|
|
|
65
79
|
scopeService_variableName_invalidCharactersError,
|
|
66
80
|
scopeService_variableName_reservedWordError,
|
|
67
81
|
scopeService_variableName_startsWithNumberError,
|
|
68
|
-
validation_expression_fileExpected_message
|
|
82
|
+
validation_expression_fileExpected_message,
|
|
83
|
+
validation_expression_namedTypeExpected_message
|
|
69
84
|
};
|
|
70
85
|
|
|
71
|
-
//# debugId=
|
|
86
|
+
//# debugId=D4F248539D944A0A64756E2164756E21
|