@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,318 @@
|
|
|
1
|
+
import {
|
|
2
|
+
FIELD_GROUP_ID_EXTENSION,
|
|
3
|
+
FIELD_ID_EXTENSION,
|
|
4
|
+
PARENT_FIELD_GROUP_ID_EXTENSION,
|
|
5
|
+
BUSINESS_CHECKS_EXTENSION,
|
|
6
|
+
GROUP_PATH_SEPARATOR,
|
|
7
|
+
isRecord
|
|
8
|
+
} from "./packager-tool-0x8g8b5r.js";
|
|
9
|
+
|
|
10
|
+
// src/services/extract-schema/validate-schema-document.ts
|
|
11
|
+
var DEFS_KEY_PATTERN = /^[A-Za-z0-9._-]+$/;
|
|
12
|
+
var MINT_MISSING_IDS = "Read the schema with 'uip maestro flow nodes schema get <file> " + "--node-id <node-id>' and write it back with 'uip maestro flow nodes " + "schema set <file> --node-id <node-id> --schema @<path>', which mints " + "the missing ids.";
|
|
13
|
+
function hasType(node, wanted) {
|
|
14
|
+
const type = node.type;
|
|
15
|
+
if (typeof type === "string")
|
|
16
|
+
return type === wanted;
|
|
17
|
+
if (Array.isArray(type))
|
|
18
|
+
return type.includes(wanted);
|
|
19
|
+
return false;
|
|
20
|
+
}
|
|
21
|
+
function readStringExtension(node, key) {
|
|
22
|
+
const value = node[key];
|
|
23
|
+
return typeof value === "string" ? value : undefined;
|
|
24
|
+
}
|
|
25
|
+
function quoteKey(key) {
|
|
26
|
+
return `["${key}"]`;
|
|
27
|
+
}
|
|
28
|
+
function readOutputSchema(outputSchema) {
|
|
29
|
+
const groups = [];
|
|
30
|
+
const issues = [];
|
|
31
|
+
const properties = outputSchema.properties;
|
|
32
|
+
if (!isRecord(properties)) {
|
|
33
|
+
issues.push({
|
|
34
|
+
path: "outputSchema.properties",
|
|
35
|
+
message: "properties must be an object of field groups."
|
|
36
|
+
});
|
|
37
|
+
return { groups, issues };
|
|
38
|
+
}
|
|
39
|
+
for (const [pathKey, rawGroup] of Object.entries(properties)) {
|
|
40
|
+
const groupPath = `outputSchema.properties${quoteKey(pathKey)}`;
|
|
41
|
+
if (!isRecord(rawGroup)) {
|
|
42
|
+
issues.push({
|
|
43
|
+
path: groupPath,
|
|
44
|
+
message: "A field group must be an object."
|
|
45
|
+
});
|
|
46
|
+
continue;
|
|
47
|
+
}
|
|
48
|
+
const multiInstance = hasType(rawGroup, "array");
|
|
49
|
+
const fieldHolder = multiInstance ? rawGroup.items : rawGroup;
|
|
50
|
+
const fieldsPath = multiInstance ? `${groupPath}.items.properties` : `${groupPath}.properties`;
|
|
51
|
+
if (multiInstance && !isRecord(fieldHolder)) {
|
|
52
|
+
issues.push({
|
|
53
|
+
path: `${groupPath}.items`,
|
|
54
|
+
message: "A repeating field group must declare its fields under " + "an `items` object."
|
|
55
|
+
});
|
|
56
|
+
continue;
|
|
57
|
+
}
|
|
58
|
+
if (multiInstance && isRecord(fieldHolder) && fieldHolder.type !== undefined && !hasType(fieldHolder, "object")) {
|
|
59
|
+
issues.push({
|
|
60
|
+
path: `${groupPath}.items.type`,
|
|
61
|
+
message: "A repeating field group's `items` must be of type object."
|
|
62
|
+
});
|
|
63
|
+
continue;
|
|
64
|
+
}
|
|
65
|
+
const fieldProperties = isRecord(fieldHolder) ? fieldHolder.properties : undefined;
|
|
66
|
+
if (fieldProperties !== undefined && !isRecord(fieldProperties)) {
|
|
67
|
+
issues.push({
|
|
68
|
+
path: fieldsPath,
|
|
69
|
+
message: "properties must be an object of fields."
|
|
70
|
+
});
|
|
71
|
+
continue;
|
|
72
|
+
}
|
|
73
|
+
const fields = [];
|
|
74
|
+
if (isRecord(fieldProperties)) {
|
|
75
|
+
for (const [name, rawField] of Object.entries(fieldProperties)) {
|
|
76
|
+
const fieldPath = `${fieldsPath}${quoteKey(name)}`;
|
|
77
|
+
if (!isRecord(rawField)) {
|
|
78
|
+
issues.push({
|
|
79
|
+
path: fieldPath,
|
|
80
|
+
message: "A field must be an object."
|
|
81
|
+
});
|
|
82
|
+
continue;
|
|
83
|
+
}
|
|
84
|
+
fields.push({
|
|
85
|
+
name,
|
|
86
|
+
node: rawField,
|
|
87
|
+
fieldId: readStringExtension(rawField, FIELD_ID_EXTENSION),
|
|
88
|
+
path: fieldPath
|
|
89
|
+
});
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
groups.push({
|
|
93
|
+
pathKey,
|
|
94
|
+
segments: pathKey.split(GROUP_PATH_SEPARATOR),
|
|
95
|
+
node: rawGroup,
|
|
96
|
+
groupId: readStringExtension(rawGroup, FIELD_GROUP_ID_EXTENSION),
|
|
97
|
+
parentGroupId: readStringExtension(rawGroup, PARENT_FIELD_GROUP_ID_EXTENSION),
|
|
98
|
+
multiInstance,
|
|
99
|
+
fields,
|
|
100
|
+
path: groupPath
|
|
101
|
+
});
|
|
102
|
+
}
|
|
103
|
+
return { groups, issues };
|
|
104
|
+
}
|
|
105
|
+
function collectFieldGroups(outputSchema) {
|
|
106
|
+
return readOutputSchema(outputSchema).groups;
|
|
107
|
+
}
|
|
108
|
+
function collectBusinessCheckHolders(value, path, found = []) {
|
|
109
|
+
if (Array.isArray(value)) {
|
|
110
|
+
value.forEach((entry, index) => {
|
|
111
|
+
collectBusinessCheckHolders(entry, `${path}[${index}]`, found);
|
|
112
|
+
});
|
|
113
|
+
return found;
|
|
114
|
+
}
|
|
115
|
+
if (!isRecord(value))
|
|
116
|
+
return found;
|
|
117
|
+
if (Array.isArray(value[BUSINESS_CHECKS_EXTENSION])) {
|
|
118
|
+
found.push({ holder: value, path });
|
|
119
|
+
}
|
|
120
|
+
for (const [key, child] of Object.entries(value)) {
|
|
121
|
+
if (key === BUSINESS_CHECKS_EXTENSION)
|
|
122
|
+
continue;
|
|
123
|
+
collectBusinessCheckHolders(child, `${path}.${key}`, found);
|
|
124
|
+
}
|
|
125
|
+
return found;
|
|
126
|
+
}
|
|
127
|
+
function collectCatalogueIssues(outputSchema) {
|
|
128
|
+
const issues = [];
|
|
129
|
+
if (outputSchema.$defs !== undefined && !isRecord(outputSchema.$defs)) {
|
|
130
|
+
issues.push({
|
|
131
|
+
path: "outputSchema.$defs",
|
|
132
|
+
message: "$defs must be an object of field types."
|
|
133
|
+
});
|
|
134
|
+
} else if (isRecord(outputSchema.$defs)) {
|
|
135
|
+
for (const [key, definition] of Object.entries(outputSchema.$defs)) {
|
|
136
|
+
if (!isRecord(definition)) {
|
|
137
|
+
issues.push({
|
|
138
|
+
path: `outputSchema.$defs${quoteKey(key)}`,
|
|
139
|
+
message: "A field type must be an object."
|
|
140
|
+
});
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
if (outputSchema.type !== undefined && !hasType(outputSchema, "object")) {
|
|
145
|
+
issues.push({
|
|
146
|
+
path: "outputSchema.type",
|
|
147
|
+
message: "outputSchema must be of type object."
|
|
148
|
+
});
|
|
149
|
+
}
|
|
150
|
+
return issues;
|
|
151
|
+
}
|
|
152
|
+
var DEFS_REFERENCE_PREFIX = "#/$defs/";
|
|
153
|
+
function collectReferenceIssues(node, path, definitionKeys, issues = []) {
|
|
154
|
+
if (!isRecord(node))
|
|
155
|
+
return issues;
|
|
156
|
+
const reference = node.$ref;
|
|
157
|
+
if (typeof reference === "string") {
|
|
158
|
+
const key = reference.startsWith(DEFS_REFERENCE_PREFIX) ? reference.slice(DEFS_REFERENCE_PREFIX.length) : undefined;
|
|
159
|
+
if (key === undefined || !definitionKeys.has(key)) {
|
|
160
|
+
issues.push({
|
|
161
|
+
path: `${path}.$ref`,
|
|
162
|
+
message: `$ref "${reference}" does not name a field type in ` + "outputSchema.$defs."
|
|
163
|
+
});
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
for (const member of ["properties", "$defs"]) {
|
|
167
|
+
const children = node[member];
|
|
168
|
+
if (!isRecord(children))
|
|
169
|
+
continue;
|
|
170
|
+
for (const [key, child] of Object.entries(children)) {
|
|
171
|
+
collectReferenceIssues(child, `${path}.${member}${quoteKey(key)}`, definitionKeys, issues);
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
collectReferenceIssues(node.items, `${path}.items`, definitionKeys, issues);
|
|
175
|
+
if (Array.isArray(node.anyOf)) {
|
|
176
|
+
node.anyOf.forEach((child, index) => {
|
|
177
|
+
collectReferenceIssues(child, `${path}.anyOf[${index}]`, definitionKeys, issues);
|
|
178
|
+
});
|
|
179
|
+
}
|
|
180
|
+
return issues;
|
|
181
|
+
}
|
|
182
|
+
function validateExtractionSchemaDocument(document) {
|
|
183
|
+
const issues = [];
|
|
184
|
+
if (typeof document.prompt !== "string") {
|
|
185
|
+
issues.push({
|
|
186
|
+
path: "prompt",
|
|
187
|
+
message: "prompt must be a string (the overall instructions)."
|
|
188
|
+
});
|
|
189
|
+
}
|
|
190
|
+
const outputSchema = document.outputSchema;
|
|
191
|
+
if (!isRecord(outputSchema)) {
|
|
192
|
+
issues.push({
|
|
193
|
+
path: "outputSchema",
|
|
194
|
+
message: "outputSchema must be an object."
|
|
195
|
+
});
|
|
196
|
+
return issues;
|
|
197
|
+
}
|
|
198
|
+
issues.push(...collectCatalogueIssues(outputSchema));
|
|
199
|
+
const definitions = isRecord(outputSchema.$defs) ? outputSchema.$defs : undefined;
|
|
200
|
+
const definitionKeys = new Set(definitions ? Object.keys(definitions) : []);
|
|
201
|
+
collectReferenceIssues(outputSchema, "outputSchema", definitionKeys, issues);
|
|
202
|
+
const { groups, issues: structuralIssues } = readOutputSchema(outputSchema);
|
|
203
|
+
issues.push(...structuralIssues);
|
|
204
|
+
const groupIdByPathKey = new Map;
|
|
205
|
+
const groupPathKeys = new Set;
|
|
206
|
+
for (const group of groups) {
|
|
207
|
+
groupPathKeys.add(group.pathKey);
|
|
208
|
+
if (group.groupId !== undefined && group.groupId.length > 0) {
|
|
209
|
+
groupIdByPathKey.set(group.pathKey, group.groupId);
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
const groupIdOwners = new Map;
|
|
213
|
+
const fieldIdOwners = new Map;
|
|
214
|
+
for (const group of groups) {
|
|
215
|
+
if (!group.multiInstance && !hasType(group.node, "object")) {
|
|
216
|
+
issues.push({
|
|
217
|
+
path: group.path,
|
|
218
|
+
message: "A field group must be an array of objects (a repeating " + "group) or an object (a single-instance group)."
|
|
219
|
+
});
|
|
220
|
+
}
|
|
221
|
+
if (group.groupId === undefined || group.groupId.length === 0) {
|
|
222
|
+
issues.push({
|
|
223
|
+
path: group.path,
|
|
224
|
+
severity: "warning",
|
|
225
|
+
message: `This field group carries no ${FIELD_GROUP_ID_EXTENSION}, ` + "so annotations and evaluator settings cannot be stored " + `against it. ${MINT_MISSING_IDS}`
|
|
226
|
+
});
|
|
227
|
+
} else {
|
|
228
|
+
const owners = groupIdOwners.get(group.groupId) ?? [];
|
|
229
|
+
owners.push(group.path);
|
|
230
|
+
groupIdOwners.set(group.groupId, owners);
|
|
231
|
+
}
|
|
232
|
+
const isNested = group.segments.length > 1;
|
|
233
|
+
if (isNested) {
|
|
234
|
+
const parentPathKey = group.segments.slice(0, -1).join(GROUP_PATH_SEPARATOR);
|
|
235
|
+
const parentId = groupIdByPathKey.get(parentPathKey);
|
|
236
|
+
if (!groupPathKeys.has(parentPathKey)) {
|
|
237
|
+
issues.push({
|
|
238
|
+
path: group.path,
|
|
239
|
+
message: `Nested field group "${group.pathKey}" has no parent ` + `group "${parentPathKey}" in outputSchema.properties.`
|
|
240
|
+
});
|
|
241
|
+
} else if (parentId !== undefined && group.parentGroupId === undefined) {
|
|
242
|
+
issues.push({
|
|
243
|
+
path: group.path,
|
|
244
|
+
severity: "warning",
|
|
245
|
+
message: `This nested field group names no ${PARENT_FIELD_GROUP_ID_EXTENSION}. ` + MINT_MISSING_IDS
|
|
246
|
+
});
|
|
247
|
+
} else if (parentId !== undefined && group.parentGroupId !== parentId) {
|
|
248
|
+
issues.push({
|
|
249
|
+
path: `${group.path}.${PARENT_FIELD_GROUP_ID_EXTENSION}`,
|
|
250
|
+
message: `${PARENT_FIELD_GROUP_ID_EXTENSION} must be the id of ` + `"${parentPathKey}" (${parentId}).`
|
|
251
|
+
});
|
|
252
|
+
}
|
|
253
|
+
} else if (group.parentGroupId !== undefined) {
|
|
254
|
+
issues.push({
|
|
255
|
+
path: `${group.path}.${PARENT_FIELD_GROUP_ID_EXTENSION}`,
|
|
256
|
+
message: "A top-level field group must not name a parent group. " + `Nest it by renaming it "<parent>${GROUP_PATH_SEPARATOR}${group.pathKey}", ` + `or drop its ${PARENT_FIELD_GROUP_ID_EXTENSION} to leave it at the top level.`
|
|
257
|
+
});
|
|
258
|
+
}
|
|
259
|
+
for (const field of group.fields) {
|
|
260
|
+
if (typeof field.node.$ref !== "string") {
|
|
261
|
+
issues.push({
|
|
262
|
+
path: field.path,
|
|
263
|
+
message: 'A field must name its field type with "$ref": ' + '"#/$defs/<key>".'
|
|
264
|
+
});
|
|
265
|
+
}
|
|
266
|
+
if (field.fieldId === undefined || field.fieldId.length === 0) {
|
|
267
|
+
issues.push({
|
|
268
|
+
path: field.path,
|
|
269
|
+
severity: "warning",
|
|
270
|
+
message: `This field carries no ${FIELD_ID_EXTENSION}, so ` + `annotations cannot be stored against it. ${MINT_MISSING_IDS}`
|
|
271
|
+
});
|
|
272
|
+
} else {
|
|
273
|
+
const owners = fieldIdOwners.get(field.fieldId) ?? [];
|
|
274
|
+
owners.push(field.path);
|
|
275
|
+
fieldIdOwners.set(field.fieldId, owners);
|
|
276
|
+
}
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
|
+
for (const [id, owners] of groupIdOwners) {
|
|
280
|
+
if (owners.length > 1) {
|
|
281
|
+
issues.push({
|
|
282
|
+
path: owners[0],
|
|
283
|
+
message: `Field group id "${id}" is used by more than one group: ` + `${owners.join(", ")}.`
|
|
284
|
+
});
|
|
285
|
+
}
|
|
286
|
+
}
|
|
287
|
+
for (const [id, owners] of fieldIdOwners) {
|
|
288
|
+
if (owners.length > 1) {
|
|
289
|
+
issues.push({
|
|
290
|
+
path: owners[0],
|
|
291
|
+
message: `Field id "${id}" is used by more than one field: ` + `${owners.join(", ")}.`
|
|
292
|
+
});
|
|
293
|
+
}
|
|
294
|
+
}
|
|
295
|
+
if (definitions) {
|
|
296
|
+
for (const [key, rawDefinition] of Object.entries(definitions)) {
|
|
297
|
+
const path = `outputSchema.$defs${quoteKey(key)}`;
|
|
298
|
+
if (!DEFS_KEY_PATTERN.test(key)) {
|
|
299
|
+
issues.push({
|
|
300
|
+
path,
|
|
301
|
+
message: `Field type key "${key}" must use only letters, digits, ` + "'.', '_' or '-', so the $ref that names it needs no " + "escaping."
|
|
302
|
+
});
|
|
303
|
+
}
|
|
304
|
+
const title = isRecord(rawDefinition) ? rawDefinition.title : undefined;
|
|
305
|
+
if (typeof title !== "string" || title.length === 0) {
|
|
306
|
+
issues.push({
|
|
307
|
+
path: `${path}.title`,
|
|
308
|
+
message: `Field type "${key}" needs a non-empty title.`
|
|
309
|
+
});
|
|
310
|
+
}
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
return issues;
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
export { MINT_MISSING_IDS, collectFieldGroups, collectBusinessCheckHolders, validateExtractionSchemaDocument };
|
|
317
|
+
|
|
318
|
+
//# debugId=4C5B41A04C45DD5964756E2164756E21
|