@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,423 @@
|
|
|
1
|
+
import {
|
|
2
|
+
getFileSystem
|
|
3
|
+
} from "./packager-tool-1db1wqdy.js";
|
|
4
|
+
import {
|
|
5
|
+
catchError2
|
|
6
|
+
} from "./packager-tool-4hn7v05x.js";
|
|
7
|
+
import {
|
|
8
|
+
RESULTS
|
|
9
|
+
} from "./packager-tool-bcsjm5hv.js";
|
|
10
|
+
import {
|
|
11
|
+
DYNAMIC_EXTRACT_NODE_TYPE2,
|
|
12
|
+
IXP_SCHEMA_EDITOR_DRAFT_EXTENSION2,
|
|
13
|
+
readIxpSchemaEditorDraft2,
|
|
14
|
+
stripIxpSchemaEditorDraft2,
|
|
15
|
+
ixpSchemaLimitsRule2,
|
|
16
|
+
isIdpProcessorReadOnly2,
|
|
17
|
+
isPublishedIdpProcessorLink2
|
|
18
|
+
} from "./packager-tool-t0e7fvqz.js";
|
|
19
|
+
import {
|
|
20
|
+
readFlowWorkflow2,
|
|
21
|
+
writeFlowWorkflow2
|
|
22
|
+
} from "./packager-tool-h9f2vjwg.js";
|
|
23
|
+
import {
|
|
24
|
+
collectFieldGroups,
|
|
25
|
+
collectBusinessCheckHolders,
|
|
26
|
+
validateExtractionSchemaDocument
|
|
27
|
+
} from "./packager-tool-bbq5kbb9.js";
|
|
28
|
+
import {
|
|
29
|
+
buildScaffoldConfig,
|
|
30
|
+
provisionIdpProcessorForNode
|
|
31
|
+
} from "./packager-tool-ys7jsqhg.js";
|
|
32
|
+
import {
|
|
33
|
+
FIELD_GROUP_ID_EXTENSION,
|
|
34
|
+
FIELD_ID_EXTENSION,
|
|
35
|
+
PARENT_FIELD_GROUP_ID_EXTENSION,
|
|
36
|
+
BUSINESS_CHECKS_EXTENSION,
|
|
37
|
+
GROUP_PATH_SEPARATOR,
|
|
38
|
+
SCHEMA_GROUP_NAME_MAX,
|
|
39
|
+
SCHEMA_INSTRUCTIONS_MAX,
|
|
40
|
+
isRecord,
|
|
41
|
+
isReadableExtractionSchema,
|
|
42
|
+
isLegacySchemaDocument
|
|
43
|
+
} from "./packager-tool-0x8g8b5r.js";
|
|
44
|
+
|
|
45
|
+
// src/services/extract-schema/close-object-schemas.ts
|
|
46
|
+
function declaresObject(node) {
|
|
47
|
+
const type = node.type;
|
|
48
|
+
if (typeof type === "string")
|
|
49
|
+
return type === "object";
|
|
50
|
+
if (Array.isArray(type))
|
|
51
|
+
return type.includes("object");
|
|
52
|
+
return false;
|
|
53
|
+
}
|
|
54
|
+
function closeNode(node) {
|
|
55
|
+
if (!isRecord(node))
|
|
56
|
+
return;
|
|
57
|
+
if (node.properties === undefined && declaresObject(node)) {
|
|
58
|
+
node.properties = {};
|
|
59
|
+
}
|
|
60
|
+
const properties = node.properties;
|
|
61
|
+
if (isRecord(properties)) {
|
|
62
|
+
if (node.type === undefined)
|
|
63
|
+
node.type = "object";
|
|
64
|
+
node.additionalProperties = false;
|
|
65
|
+
node.required = Object.keys(properties);
|
|
66
|
+
for (const child of Object.values(properties))
|
|
67
|
+
closeNode(child);
|
|
68
|
+
}
|
|
69
|
+
if (isRecord(node.$defs)) {
|
|
70
|
+
for (const child of Object.values(node.$defs))
|
|
71
|
+
closeNode(child);
|
|
72
|
+
}
|
|
73
|
+
closeNode(node.items);
|
|
74
|
+
if (Array.isArray(node.anyOf)) {
|
|
75
|
+
for (const child of node.anyOf)
|
|
76
|
+
closeNode(child);
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
function closeObjectSchemas(outputSchema) {
|
|
80
|
+
if (!isRecord(outputSchema))
|
|
81
|
+
return;
|
|
82
|
+
if (outputSchema.type === undefined)
|
|
83
|
+
outputSchema.type = "object";
|
|
84
|
+
if (outputSchema.$defs === undefined)
|
|
85
|
+
outputSchema.$defs = {};
|
|
86
|
+
closeNode(outputSchema);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
// src/services/extract-schema/measure-schema-limits.ts
|
|
90
|
+
function contextFor(document, nodeId) {
|
|
91
|
+
return {
|
|
92
|
+
nodes: [
|
|
93
|
+
{
|
|
94
|
+
id: nodeId,
|
|
95
|
+
type: DYNAMIC_EXTRACT_NODE_TYPE2,
|
|
96
|
+
data: {
|
|
97
|
+
type: DYNAMIC_EXTRACT_NODE_TYPE2,
|
|
98
|
+
inputs: { schemaDocument: document }
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
],
|
|
102
|
+
edges: [],
|
|
103
|
+
manifests: new Map
|
|
104
|
+
};
|
|
105
|
+
}
|
|
106
|
+
function measureSchemaLimits(document, nodeId) {
|
|
107
|
+
return ixpSchemaLimitsRule2.validate(contextFor(document, nodeId)).map((issue) => {
|
|
108
|
+
const params = isRecord(issue.i18n?.params) ? issue.i18n.params : {};
|
|
109
|
+
const subject = typeof params.subject === "string" ? params.subject : "A name or instructions text";
|
|
110
|
+
return {
|
|
111
|
+
path: "outputSchema",
|
|
112
|
+
message: `${subject} is ${String(params.actual)} characters; the maximum is ${String(params.limit)}.`
|
|
113
|
+
};
|
|
114
|
+
});
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
// src/services/extract-schema/merge-schema-ids.ts
|
|
118
|
+
function indexExisting(existing) {
|
|
119
|
+
const groupIdByPath = new Map;
|
|
120
|
+
const pathByGroupId = new Map;
|
|
121
|
+
const fieldIdsByGroupId = new Map;
|
|
122
|
+
if (!isRecord(existing?.outputSchema)) {
|
|
123
|
+
return { groupIdByPath, pathByGroupId, fieldIdsByGroupId };
|
|
124
|
+
}
|
|
125
|
+
for (const group of collectFieldGroups(existing.outputSchema)) {
|
|
126
|
+
if (group.groupId === undefined || group.groupId.length === 0)
|
|
127
|
+
continue;
|
|
128
|
+
const fieldIds = new Map;
|
|
129
|
+
for (const field of group.fields) {
|
|
130
|
+
if (field.fieldId !== undefined && field.fieldId.length > 0) {
|
|
131
|
+
fieldIds.set(field.name, field.fieldId);
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
groupIdByPath.set(group.pathKey, group.groupId);
|
|
135
|
+
pathByGroupId.set(group.groupId, group.pathKey);
|
|
136
|
+
fieldIdsByGroupId.set(group.groupId, fieldIds);
|
|
137
|
+
}
|
|
138
|
+
return { groupIdByPath, pathByGroupId, fieldIdsByGroupId };
|
|
139
|
+
}
|
|
140
|
+
function mergeSchemaDocumentIds(incoming, existing) {
|
|
141
|
+
const document = structuredClone(incoming);
|
|
142
|
+
const outputSchema = document.outputSchema;
|
|
143
|
+
if (!isRecord(outputSchema)) {
|
|
144
|
+
return {
|
|
145
|
+
document,
|
|
146
|
+
groupIdsPreserved: 0,
|
|
147
|
+
groupIdsMinted: 0,
|
|
148
|
+
fieldIdsPreserved: 0,
|
|
149
|
+
fieldIdsMinted: 0,
|
|
150
|
+
businessChecksDropped: 0
|
|
151
|
+
};
|
|
152
|
+
}
|
|
153
|
+
const previous = indexExisting(existing);
|
|
154
|
+
const groups = collectFieldGroups(outputSchema);
|
|
155
|
+
const claimedGroupIds = new Set;
|
|
156
|
+
const claimedFieldIds = new Set;
|
|
157
|
+
for (const group of groups) {
|
|
158
|
+
if (group.groupId !== undefined && group.groupId.length > 0) {
|
|
159
|
+
claimedGroupIds.add(group.groupId);
|
|
160
|
+
}
|
|
161
|
+
for (const field of group.fields) {
|
|
162
|
+
if (field.fieldId !== undefined && field.fieldId.length > 0) {
|
|
163
|
+
claimedFieldIds.add(field.fieldId);
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
let groupIdsPreserved = 0;
|
|
168
|
+
let groupIdsMinted = 0;
|
|
169
|
+
let fieldIdsPreserved = 0;
|
|
170
|
+
let fieldIdsMinted = 0;
|
|
171
|
+
const finalGroupIdByPathKey = new Map;
|
|
172
|
+
const liveGroupIds = new Set;
|
|
173
|
+
const liveFieldIds = new Set;
|
|
174
|
+
const previousPathByPathKey = new Map;
|
|
175
|
+
const parentsFirst = [...groups].sort((a, b) => a.segments.length - b.segments.length);
|
|
176
|
+
const takenGroupIds = new Set(claimedGroupIds);
|
|
177
|
+
for (const group of parentsFirst) {
|
|
178
|
+
const parentPath = group.segments.slice(0, -1).join(GROUP_PATH_SEPARATOR);
|
|
179
|
+
const leaf = group.segments[group.segments.length - 1];
|
|
180
|
+
const previousParentPath = previousPathByPathKey.get(parentPath);
|
|
181
|
+
const candidatePath = group.segments.length > 1 ? previousParentPath === undefined ? undefined : `${previousParentPath}${GROUP_PATH_SEPARATOR}${leaf}` : group.pathKey;
|
|
182
|
+
let groupId = group.groupId;
|
|
183
|
+
if (groupId !== undefined && groupId.length > 0) {
|
|
184
|
+
groupIdsPreserved++;
|
|
185
|
+
} else {
|
|
186
|
+
const adopted = candidatePath === undefined ? undefined : previous.groupIdByPath.get(candidatePath);
|
|
187
|
+
if (adopted !== undefined && !takenGroupIds.has(adopted)) {
|
|
188
|
+
groupId = adopted;
|
|
189
|
+
groupIdsPreserved++;
|
|
190
|
+
} else {
|
|
191
|
+
groupId = crypto.randomUUID();
|
|
192
|
+
groupIdsMinted++;
|
|
193
|
+
}
|
|
194
|
+
group.node[FIELD_GROUP_ID_EXTENSION] = groupId;
|
|
195
|
+
}
|
|
196
|
+
finalGroupIdByPathKey.set(group.pathKey, groupId);
|
|
197
|
+
takenGroupIds.add(groupId);
|
|
198
|
+
liveGroupIds.add(groupId);
|
|
199
|
+
const previousPath = previous.pathByGroupId.get(groupId);
|
|
200
|
+
if (previousPath !== undefined) {
|
|
201
|
+
previousPathByPathKey.set(group.pathKey, previousPath);
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
const takenFieldIds = new Set(claimedFieldIds);
|
|
205
|
+
for (const group of groups) {
|
|
206
|
+
const previousFieldIds = previous.fieldIdsByGroupId.get(finalGroupIdByPathKey.get(group.pathKey) ?? "");
|
|
207
|
+
for (const field of group.fields) {
|
|
208
|
+
if (field.fieldId !== undefined && field.fieldId.length > 0) {
|
|
209
|
+
fieldIdsPreserved++;
|
|
210
|
+
liveFieldIds.add(field.fieldId);
|
|
211
|
+
continue;
|
|
212
|
+
}
|
|
213
|
+
const adopted = previousFieldIds?.get(field.name);
|
|
214
|
+
const fieldId = adopted !== undefined && !takenFieldIds.has(adopted) ? adopted : crypto.randomUUID();
|
|
215
|
+
if (fieldId === adopted)
|
|
216
|
+
fieldIdsPreserved++;
|
|
217
|
+
else
|
|
218
|
+
fieldIdsMinted++;
|
|
219
|
+
field.node[FIELD_ID_EXTENSION] = fieldId;
|
|
220
|
+
takenFieldIds.add(fieldId);
|
|
221
|
+
liveFieldIds.add(fieldId);
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
for (const group of groups) {
|
|
225
|
+
if (group.segments.length > 1) {
|
|
226
|
+
const parentPathKey = group.segments.slice(0, -1).join(GROUP_PATH_SEPARATOR);
|
|
227
|
+
const parentId = finalGroupIdByPathKey.get(parentPathKey);
|
|
228
|
+
if (parentId !== undefined) {
|
|
229
|
+
group.node[PARENT_FIELD_GROUP_ID_EXTENSION] = parentId;
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
let businessChecksDropped = 0;
|
|
234
|
+
for (const { holder } of collectBusinessCheckHolders(document, "")) {
|
|
235
|
+
const checks = holder[BUSINESS_CHECKS_EXTENSION];
|
|
236
|
+
if (!Array.isArray(checks))
|
|
237
|
+
continue;
|
|
238
|
+
const kept = checks.filter((check) => {
|
|
239
|
+
if (!isRecord(check))
|
|
240
|
+
return true;
|
|
241
|
+
const { fieldId, fieldGroupId } = check;
|
|
242
|
+
if (typeof fieldId === "string" && !liveFieldIds.has(fieldId)) {
|
|
243
|
+
return false;
|
|
244
|
+
}
|
|
245
|
+
if (typeof fieldGroupId === "string" && !liveGroupIds.has(fieldGroupId)) {
|
|
246
|
+
return false;
|
|
247
|
+
}
|
|
248
|
+
return true;
|
|
249
|
+
});
|
|
250
|
+
businessChecksDropped += checks.length - kept.length;
|
|
251
|
+
holder[BUSINESS_CHECKS_EXTENSION] = kept;
|
|
252
|
+
}
|
|
253
|
+
return {
|
|
254
|
+
document,
|
|
255
|
+
groupIdsPreserved,
|
|
256
|
+
groupIdsMinted,
|
|
257
|
+
fieldIdsPreserved,
|
|
258
|
+
fieldIdsMinted,
|
|
259
|
+
businessChecksDropped
|
|
260
|
+
};
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
// src/services/schema-document-service.ts
|
|
264
|
+
class SchemaCommandError2 extends Error {
|
|
265
|
+
code;
|
|
266
|
+
instructions;
|
|
267
|
+
result;
|
|
268
|
+
issues;
|
|
269
|
+
constructor(options) {
|
|
270
|
+
super(options.message);
|
|
271
|
+
this.name = "SchemaCommandError";
|
|
272
|
+
this.code = options.code;
|
|
273
|
+
this.instructions = options.instructions;
|
|
274
|
+
this.result = options.result;
|
|
275
|
+
this.issues = options.issues ?? [];
|
|
276
|
+
}
|
|
277
|
+
}
|
|
278
|
+
function requestError2(message, code, instructions) {
|
|
279
|
+
return new SchemaCommandError2({
|
|
280
|
+
message,
|
|
281
|
+
code,
|
|
282
|
+
instructions,
|
|
283
|
+
result: RESULTS.Failure
|
|
284
|
+
});
|
|
285
|
+
}
|
|
286
|
+
function contentError(message, instructions, issues = []) {
|
|
287
|
+
return new SchemaCommandError2({
|
|
288
|
+
message,
|
|
289
|
+
code: "invalid_argument",
|
|
290
|
+
instructions,
|
|
291
|
+
result: RESULTS.ValidationError,
|
|
292
|
+
issues
|
|
293
|
+
});
|
|
294
|
+
}
|
|
295
|
+
var SHAPE_INSTRUCTIONS = 'The schema document must be a JSON object with "prompt" (the overall ' + 'instructions, a string) and "outputSchema" (an object). A "config" is ' + "ignored: the model settings belong to the node, not to the schema.";
|
|
296
|
+
var LEGACY_INSTRUCTIONS = "This document uses the superseded { taxonomy, fieldTypes } shape. Open " + "the flow once in Studio Web, which converts the node to the current " + "shape, or author the current shape directly: " + '{ "prompt": "...", "outputSchema": { ... } }.';
|
|
297
|
+
function findExtractNode(nodes, nodeId) {
|
|
298
|
+
const node = nodes.find((candidate) => candidate.id === nodeId);
|
|
299
|
+
if (node === undefined) {
|
|
300
|
+
const available = nodes.map((n) => n.id).join(", ") || "(none)";
|
|
301
|
+
throw requestError2(`Node not found: "${nodeId}". Available node IDs: ${available}`, "not_found", "Run 'uip maestro flow nodes list <file>' to find a valid node ID.");
|
|
302
|
+
}
|
|
303
|
+
if (node.type !== DYNAMIC_EXTRACT_NODE_TYPE2) {
|
|
304
|
+
throw requestError2(`Node "${nodeId}" is not an Extract document node (it is ${node.type}).`, "invalid_argument", `'nodes schema' applies only to ${DYNAMIC_EXTRACT_NODE_TYPE2} nodes. ` + "Run 'uip maestro flow nodes list <file>' to find one, or add " + `one with 'uip maestro flow nodes create <file> ${DYNAMIC_EXTRACT_NODE_TYPE2}'.`);
|
|
305
|
+
}
|
|
306
|
+
return node;
|
|
307
|
+
}
|
|
308
|
+
function readProcessorKey(inputs) {
|
|
309
|
+
const key = inputs.processorKey;
|
|
310
|
+
return typeof key === "string" && key.length > 0 ? key : undefined;
|
|
311
|
+
}
|
|
312
|
+
async function getNodeSchema2(filePath, nodeId) {
|
|
313
|
+
const { workflow } = await readFlowWorkflow2(filePath);
|
|
314
|
+
const node = findExtractNode(workflow.nodes, nodeId);
|
|
315
|
+
const inputs = node.inputs ?? {};
|
|
316
|
+
const document = inputs.schemaDocument;
|
|
317
|
+
if (!isRecord(document)) {
|
|
318
|
+
throw requestError2(`Node "${nodeId}" has no inputs.schemaDocument.`, "not_found", "Creating the node seeds one, so this node's schema has since " + "been removed. Author one and write it with 'uip maestro " + "flow nodes schema set <file> --node-id <node-id> --schema " + "@<schema.json>'.");
|
|
319
|
+
}
|
|
320
|
+
const draft = readIxpSchemaEditorDraft2(document);
|
|
321
|
+
const processorKey = readProcessorKey(inputs);
|
|
322
|
+
return {
|
|
323
|
+
nodeId,
|
|
324
|
+
schemaDocument: document,
|
|
325
|
+
hasDraft: draft !== undefined,
|
|
326
|
+
draftIssueMessages: draft?.issueMessages ?? [],
|
|
327
|
+
...processorKey !== undefined && { processorKey }
|
|
328
|
+
};
|
|
329
|
+
}
|
|
330
|
+
var DraftPolicy2;
|
|
331
|
+
((DraftPolicy) => {
|
|
332
|
+
DraftPolicy["RejectRequest"] = "reject-request";
|
|
333
|
+
DraftPolicy["DiscardDraft"] = "discard-draft";
|
|
334
|
+
})(DraftPolicy2 ||= {});
|
|
335
|
+
async function readSchemaSource(source) {
|
|
336
|
+
if (!source.startsWith("@")) {
|
|
337
|
+
const [error, parsed] = catchError2(() => JSON.parse(source));
|
|
338
|
+
if (error) {
|
|
339
|
+
throw requestError2("Invalid --schema JSON", "invalid_argument", error.message);
|
|
340
|
+
}
|
|
341
|
+
return parsed;
|
|
342
|
+
}
|
|
343
|
+
const path = source.slice(1);
|
|
344
|
+
if (!await getFileSystem().exists(path)) {
|
|
345
|
+
throw requestError2("Cannot read the schema file", "not_found", `No file at "${path}". Check the path exists and is readable, ` + "or pass the document inline as --schema <json>.");
|
|
346
|
+
}
|
|
347
|
+
const { readJsonFile } = await import("./json-input-pj18qjt0.js");
|
|
348
|
+
const [error, parsed] = await catchError2(readJsonFile(path));
|
|
349
|
+
if (error) {
|
|
350
|
+
throw requestError2("Invalid schema file JSON", "invalid_argument", error.message);
|
|
351
|
+
}
|
|
352
|
+
return parsed;
|
|
353
|
+
}
|
|
354
|
+
async function setNodeSchemaFromSource2(filePath, nodeId, source, draftPolicy = "reject-request" /* RejectRequest */) {
|
|
355
|
+
return setNodeSchema(filePath, nodeId, await readSchemaSource(source), draftPolicy);
|
|
356
|
+
}
|
|
357
|
+
async function setNodeSchema(filePath, nodeId, incoming, draftPolicy = "reject-request" /* RejectRequest */) {
|
|
358
|
+
if (!isRecord(incoming)) {
|
|
359
|
+
throw contentError("Invalid schema document", SHAPE_INSTRUCTIONS);
|
|
360
|
+
}
|
|
361
|
+
const stripped = stripIxpSchemaEditorDraft2(incoming);
|
|
362
|
+
if (isLegacySchemaDocument(stripped)) {
|
|
363
|
+
throw contentError("Legacy schema document shape", LEGACY_INSTRUCTIONS);
|
|
364
|
+
}
|
|
365
|
+
if (!isReadableExtractionSchema(stripped)) {
|
|
366
|
+
throw contentError("Invalid schema document", SHAPE_INSTRUCTIONS);
|
|
367
|
+
}
|
|
368
|
+
const { workflow, refMap } = await readFlowWorkflow2(filePath);
|
|
369
|
+
const node = findExtractNode(workflow.nodes, nodeId);
|
|
370
|
+
const inputs = node.inputs ?? {};
|
|
371
|
+
const current = inputs.schemaDocument;
|
|
372
|
+
const draftPresent = readIxpSchemaEditorDraft2(current) !== undefined;
|
|
373
|
+
if (draftPresent && draftPolicy === "reject-request" /* RejectRequest */) {
|
|
374
|
+
throw requestError2(`Node "${nodeId}" carries an unsaved Schema Editor draft`, "invalid_argument", `inputs.schemaDocument holds a ${IXP_SCHEMA_EDITOR_DRAFT_EXTENSION2} left by an editing session that was not valid when it was left. Re-run with --discard-draft to replace it, or have the author finish it in Studio Web first.`);
|
|
375
|
+
}
|
|
376
|
+
const replacedLegacyDocument = isLegacySchemaDocument(current);
|
|
377
|
+
const existing = isRecord(current) && isRecord(current.outputSchema) ? stripIxpSchemaEditorDraft2(current) : undefined;
|
|
378
|
+
const merged = mergeSchemaDocumentIds(stripped, existing);
|
|
379
|
+
const document = merged.document;
|
|
380
|
+
closeObjectSchemas(document.outputSchema);
|
|
381
|
+
document.config = isRecord(current) && current.config !== undefined ? current.config : buildScaffoldConfig(inputs.modelConfig);
|
|
382
|
+
const issues = [
|
|
383
|
+
...validateExtractionSchemaDocument(document),
|
|
384
|
+
...measureSchemaLimits(document, nodeId)
|
|
385
|
+
];
|
|
386
|
+
if (issues.length > 0) {
|
|
387
|
+
throw contentError("Schema document failed validation", `Fix the issues listed in Data.Issues and retry. Field group, field and field type names are at most ${SCHEMA_GROUP_NAME_MAX} ` + "characters — a nested group's name is the whole " + `"Parent > Child" path — and instructions at most ` + `${SCHEMA_INSTRUCTIONS_MAX}; stable ids must be unique; a field type key must need no escaping in a $ref.`, issues);
|
|
388
|
+
}
|
|
389
|
+
inputs.schemaDocument = document;
|
|
390
|
+
node.inputs = inputs;
|
|
391
|
+
const provisioning = await provisionIdpProcessorForNode(filePath, node);
|
|
392
|
+
await writeFlowWorkflow2(filePath, workflow, refMap);
|
|
393
|
+
const outputSchema = document.outputSchema;
|
|
394
|
+
const groups = collectFieldGroups(outputSchema);
|
|
395
|
+
const definitions = outputSchema.$defs;
|
|
396
|
+
return {
|
|
397
|
+
nodeId,
|
|
398
|
+
groups: groups.length,
|
|
399
|
+
fields: groups.reduce((total, group) => total + group.fields.length, 0),
|
|
400
|
+
fieldTypes: isRecord(definitions) ? Object.keys(definitions).length : 0,
|
|
401
|
+
groupIdsPreserved: merged.groupIdsPreserved,
|
|
402
|
+
groupIdsMinted: merged.groupIdsMinted,
|
|
403
|
+
fieldIdsPreserved: merged.fieldIdsPreserved,
|
|
404
|
+
fieldIdsMinted: merged.fieldIdsMinted,
|
|
405
|
+
businessChecksDropped: merged.businessChecksDropped,
|
|
406
|
+
draftDiscarded: draftPresent,
|
|
407
|
+
...readProcessorKey(inputs) !== undefined && {
|
|
408
|
+
processorKey: readProcessorKey(inputs),
|
|
409
|
+
processorAuthoredHere: !isIdpProcessorReadOnly2(inputs) && !isPublishedIdpProcessorLink2(inputs),
|
|
410
|
+
...provisioning?.resourceFile !== undefined && {
|
|
411
|
+
processorResourceFile: provisioning.resourceFile
|
|
412
|
+
},
|
|
413
|
+
...provisioning?.resourcePending !== undefined && {
|
|
414
|
+
processorResourcePending: provisioning.resourcePending
|
|
415
|
+
}
|
|
416
|
+
},
|
|
417
|
+
replacedLegacyDocument
|
|
418
|
+
};
|
|
419
|
+
}
|
|
420
|
+
|
|
421
|
+
export { SchemaCommandError2, requestError2, getNodeSchema2, DraftPolicy2, setNodeSchemaFromSource2 };
|
|
422
|
+
|
|
423
|
+
//# debugId=98C2555CBA3633AF64756E2164756E21
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Path
|
|
3
|
-
} from "./packager-tool-
|
|
3
|
+
} from "./packager-tool-zap4kd3z.js";
|
|
4
4
|
|
|
5
5
|
// ../packager/packager-tool-flow/src/flow-project-root.ts
|
|
6
|
-
async function
|
|
6
|
+
async function findFlowProjectRoot2(fs, flowFilePath) {
|
|
7
7
|
const flowDir = Path.dirname(fs.path.resolve(flowFilePath));
|
|
8
8
|
let dir = flowDir;
|
|
9
9
|
for (;; ) {
|
|
@@ -33,15 +33,15 @@ async function applyRuntimeProfile2(fs, projectDir, profile) {
|
|
|
33
33
|
await fs.rm(sentinel);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
|
-
async function
|
|
36
|
+
async function resolveRuntimeProfile2(fs, projectDir) {
|
|
37
37
|
const sentinel = Path.join(projectDir, SENTINEL_FILE_NAME);
|
|
38
38
|
return await fs.exists(sentinel) ? "Lite" /* Lite */ : "Standard" /* Standard */;
|
|
39
39
|
}
|
|
40
40
|
function isMaestroAutomateSentinel(fileName) {
|
|
41
41
|
return fileName === SENTINEL_FILE_NAME;
|
|
42
42
|
}
|
|
43
|
-
async function
|
|
44
|
-
return
|
|
43
|
+
async function resolveRuntimeProfileForFlowFile2(fs, flowFilePath) {
|
|
44
|
+
return resolveRuntimeProfile2(fs, await findFlowProjectRoot2(fs, flowFilePath));
|
|
45
45
|
}
|
|
46
46
|
function withRuntimeProfile2(operateJson, profile) {
|
|
47
47
|
return {
|
|
@@ -50,6 +50,6 @@ function withRuntimeProfile2(operateJson, profile) {
|
|
|
50
50
|
};
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
export {
|
|
53
|
+
export { findFlowProjectRoot2, RuntimeProfile2, applyRuntimeProfile2, resolveRuntimeProfile2, isMaestroAutomateSentinel, resolveRuntimeProfileForFlowFile2, withRuntimeProfile2 };
|
|
54
54
|
|
|
55
|
-
//# debugId=
|
|
55
|
+
//# debugId=143D15DD577176D864756E2164756E21
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import {
|
|
2
|
+
isStartEventNode2
|
|
3
|
+
} from "./packager-tool-t0e7fvqz.js";
|
|
4
|
+
|
|
5
|
+
// ../packager/packager-tool-flow/src/entry-point-triggers.ts
|
|
6
|
+
function isRecord(value) {
|
|
7
|
+
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
8
|
+
}
|
|
9
|
+
function entryPointTriggers(nodes) {
|
|
10
|
+
return nodes.filter((node) => isRecord(node) && typeof node.id === "string" && typeof node.type === "string" && isStartEventNode2({
|
|
11
|
+
id: node.id,
|
|
12
|
+
type: node.type,
|
|
13
|
+
typeVersion: typeof node.typeVersion === "string" ? node.typeVersion : "1.0"
|
|
14
|
+
}));
|
|
15
|
+
}
|
|
16
|
+
function isDefaultEntryPoint(node) {
|
|
17
|
+
return isRecord(node.inputs) && node.inputs.isDefaultEntryPoint === true || isRecord(node.model) && node.model.isDefaultEntryPoint === true;
|
|
18
|
+
}
|
|
19
|
+
function defaultEntryPointNodeId(nodes) {
|
|
20
|
+
const triggers = entryPointTriggers(nodes);
|
|
21
|
+
return (triggers.find(isDefaultEntryPoint) ?? triggers[0])?.id;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
class UnknownEntryPointError extends Error {
|
|
25
|
+
instructions;
|
|
26
|
+
constructor(entryPoint, triggerIds) {
|
|
27
|
+
super(`Entry point "${entryPoint}" is not a trigger node of this flow.${formatTriggerIds(triggerIds)}`);
|
|
28
|
+
this.name = "UnknownEntryPointError";
|
|
29
|
+
this.instructions = "Pass --entry-point with one of the trigger node ids, or omit it to start at the flow's default trigger.";
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
function formatTriggerIds(triggerIds) {
|
|
33
|
+
return triggerIds.length > 0 ? ` Valid trigger node ids: ${triggerIds.join(", ")}.` : "";
|
|
34
|
+
}
|
|
35
|
+
function listTriggerNodeIds(flowContent) {
|
|
36
|
+
let parsed;
|
|
37
|
+
try {
|
|
38
|
+
parsed = JSON.parse(flowContent);
|
|
39
|
+
} catch {
|
|
40
|
+
return [];
|
|
41
|
+
}
|
|
42
|
+
if (!isRecord(parsed) || !Array.isArray(parsed.nodes)) {
|
|
43
|
+
return [];
|
|
44
|
+
}
|
|
45
|
+
return entryPointTriggers(parsed.nodes).map((node) => node.id);
|
|
46
|
+
}
|
|
47
|
+
function formatTriggerIdsHint(flowContent) {
|
|
48
|
+
return formatTriggerIds(flowContent === undefined ? [] : listTriggerNodeIds(flowContent));
|
|
49
|
+
}
|
|
50
|
+
function resolveEntryPointNodeId(nodes, entryPoint) {
|
|
51
|
+
if (entryPoint !== undefined) {
|
|
52
|
+
const triggers = entryPointTriggers(nodes);
|
|
53
|
+
if (!triggers.some((node) => node.id === entryPoint)) {
|
|
54
|
+
throw new UnknownEntryPointError(entryPoint, triggers.map((node) => node.id));
|
|
55
|
+
}
|
|
56
|
+
return entryPoint;
|
|
57
|
+
}
|
|
58
|
+
return defaultEntryPointNodeId(nodes);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export { defaultEntryPointNodeId, UnknownEntryPointError, listTriggerNodeIds, formatTriggerIdsHint, resolveEntryPointNodeId };
|
|
62
|
+
|
|
63
|
+
//# debugId=EBFF03B703CF7A9264756E2164756E21
|
|
@@ -36,7 +36,7 @@ var __returnValue = (v) => v;
|
|
|
36
36
|
function __exportSetter(name, newValue) {
|
|
37
37
|
this[name] = __returnValue.bind(null, newValue);
|
|
38
38
|
}
|
|
39
|
-
var
|
|
39
|
+
var __export2 = (target, all) => {
|
|
40
40
|
for (var name in all)
|
|
41
41
|
__defProp(target, name, {
|
|
42
42
|
get: all[name],
|
|
@@ -56,6 +56,6 @@ var __exportCjs = (target, getters, setters) => {
|
|
|
56
56
|
};
|
|
57
57
|
var __require = /* @__PURE__ */ createRequire(import.meta.url);
|
|
58
58
|
|
|
59
|
-
export { __toESM, __commonJS,
|
|
59
|
+
export { __toESM, __commonJS, __export2, __exportCjs, __require };
|
|
60
60
|
|
|
61
|
-
//# debugId=
|
|
61
|
+
//# debugId=F291ACA0D628E3F864756E2164756E21
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__require
|
|
3
|
-
} from "./packager-tool-
|
|
3
|
+
} from "./packager-tool-4f4jp7ez.js";
|
|
4
4
|
|
|
5
5
|
// ../common/src/telemetry/telemetry-dimensions.ts
|
|
6
6
|
var BaseDimensions = {
|
|
@@ -44,13 +44,15 @@ var ProjectDimensions = {
|
|
|
44
44
|
SolutionKey: "SolutionKey",
|
|
45
45
|
SolutionProjectKey: "SolutionProjectKey",
|
|
46
46
|
SolutionIdentityStatus: "SolutionIdentityStatus",
|
|
47
|
-
PreviousSolutionKey: "PreviousSolutionKey"
|
|
47
|
+
PreviousSolutionKey: "PreviousSolutionKey",
|
|
48
|
+
PreviousProjectKey: "PreviousProjectKey"
|
|
48
49
|
};
|
|
49
50
|
var GUID_KEY_DIMENSIONS = new Set([
|
|
50
51
|
ProjectDimensions.ProjectKey,
|
|
51
52
|
ProjectDimensions.SolutionKey,
|
|
52
53
|
ProjectDimensions.SolutionProjectKey,
|
|
53
|
-
ProjectDimensions.PreviousSolutionKey
|
|
54
|
+
ProjectDimensions.PreviousSolutionKey,
|
|
55
|
+
ProjectDimensions.PreviousProjectKey
|
|
54
56
|
]);
|
|
55
57
|
var ShipDimensions = {
|
|
56
58
|
ShipKind: "ShipKind",
|
|
@@ -204,9 +206,7 @@ async function withinProjectIdentityBudget(work, onTimeout) {
|
|
|
204
206
|
}
|
|
205
207
|
}
|
|
206
208
|
|
|
207
|
-
// ../common/src/
|
|
208
|
-
var PSEUDONYM_DOMAIN = "uipath-cli/telemetry/pseudonym/v1:";
|
|
209
|
-
var PSEUDONYM_HEX_LENGTH = 32;
|
|
209
|
+
// ../common/src/sha256.ts
|
|
210
210
|
var SHA256_K = new Uint32Array([
|
|
211
211
|
1116352408,
|
|
212
212
|
1899447441,
|
|
@@ -286,7 +286,7 @@ var SHA256_INITIAL_STATE = new Uint32Array([
|
|
|
286
286
|
function rotr(value, bits) {
|
|
287
287
|
return (value >>> bits | value << 32 - bits) >>> 0;
|
|
288
288
|
}
|
|
289
|
-
function
|
|
289
|
+
function sha256Words(input) {
|
|
290
290
|
const bytes = new TextEncoder().encode(input);
|
|
291
291
|
const paddedLength = bytes.length + 9 + 63 >> 6 << 6;
|
|
292
292
|
const buffer = new Uint8Array(paddedLength);
|
|
@@ -342,12 +342,19 @@ function sha256Hex(input) {
|
|
|
342
342
|
state[6] = state[6] + g >>> 0;
|
|
343
343
|
state[7] = state[7] + h >>> 0;
|
|
344
344
|
}
|
|
345
|
+
return state;
|
|
346
|
+
}
|
|
347
|
+
function sha256Hex(input) {
|
|
345
348
|
let hex = "";
|
|
346
|
-
for (const word of
|
|
349
|
+
for (const word of sha256Words(input)) {
|
|
347
350
|
hex += word.toString(16).padStart(8, "0");
|
|
348
351
|
}
|
|
349
352
|
return hex;
|
|
350
353
|
}
|
|
354
|
+
|
|
355
|
+
// ../common/src/telemetry/pseudonymize.ts
|
|
356
|
+
var PSEUDONYM_DOMAIN = "uipath-cli/telemetry/pseudonym/v1:";
|
|
357
|
+
var PSEUDONYM_HEX_LENGTH = 32;
|
|
351
358
|
function resolveSha256Hex() {
|
|
352
359
|
try {
|
|
353
360
|
const nodeCrypto = __require("node:crypto");
|
|
@@ -944,4 +951,4 @@ var RESERVED_KEYWORDS_LOWER = new Set([
|
|
|
944
951
|
|
|
945
952
|
export { BaseDimensions, CommandDimensions, ProjectDimensions, GUID_KEY_DIMENSIONS, ShipDimensions, ErrorDimensions, SkillsDimensions, PackagerDimensions, lowercaseIdDimensionValues, projectKey, projectIdentityProperties, PROJECT_IDENTITY_LOOKUP_BUDGET_MS, withinProjectIdentityBudget, pseudonymize, singleton, recordSuppliedArgumentValues, releaseSuppliedArgumentValues, redactSpanName, redactHttpDependencyName, redactError, redactProperties, describeThrownValue, catchError2 };
|
|
946
953
|
|
|
947
|
-
//# debugId=
|
|
954
|
+
//# debugId=2CC396ED7325D06764756E2164756E21
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import {
|
|
2
|
+
satisfiesRuntimeConstraints2,
|
|
3
|
+
ootbNodes2,
|
|
4
|
+
inlineAgentNodes2,
|
|
5
|
+
buildExtractDocumentBuilderNode2
|
|
6
|
+
} from "./packager-tool-dmhmcav3.js";
|
|
7
|
+
|
|
8
|
+
// ../maestro-sdk/src/registry/maestro-runtime.ts
|
|
9
|
+
function selectMaestroNodes(nodes) {
|
|
10
|
+
return nodes.filter((node) => satisfiesRuntimeConstraints2(node.runtimeConstraints, "maestro"));
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
// ../maestro-sdk/src/registry/known-types.ts
|
|
14
|
+
var KNOWN_SDK_NODES = selectMaestroNodes([
|
|
15
|
+
...ootbNodes2,
|
|
16
|
+
...inlineAgentNodes2,
|
|
17
|
+
buildExtractDocumentBuilderNode2()
|
|
18
|
+
]);
|
|
19
|
+
var KNOWN_SDK_NODE_TYPES = new Set(KNOWN_SDK_NODES.map((n) => n.nodeType.toLowerCase()).filter((t) => typeof t === "string" && t.length > 0));
|
|
20
|
+
function isKnownSdkNodeType2(nodeType) {
|
|
21
|
+
if (typeof nodeType !== "string" || nodeType.length === 0)
|
|
22
|
+
return false;
|
|
23
|
+
return KNOWN_SDK_NODE_TYPES.has(nodeType.toLowerCase());
|
|
24
|
+
}
|
|
25
|
+
function listKnownSdkNodes2() {
|
|
26
|
+
return KNOWN_SDK_NODES.slice();
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export { selectMaestroNodes, isKnownSdkNodeType2, listKnownSdkNodes2 };
|
|
30
|
+
|
|
31
|
+
//# debugId=CE14B6A64873566864756E2164756E21
|