@uipath/flow-tool 1.206.0-preview.306 → 1.207.0-preview.307
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 +12 -12
- 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-jdzw5h8a.js → binding-service-b4kes1cr.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-yq01bg3n.js → connector-service-xjszs9v3.js} +156 -76
- package/dist/{conversion-7O2PDOQB-xx5zfw6n.js → conversion-A2KZVSOA-313011c5.js} +256 -90
- package/dist/{de-AI7ML6JM-km47f8k4.js → de-B6IFKV43-9sk50xx0.js} +164 -2
- package/dist/{de-2BEKRUMY-x4dx0nn9.js → de-HF4GJ4EK-NX7YTOSY-xvwqrst4.js} +1282 -10
- package/dist/{de-2BEKRUMY-MD7L477H-7mwat6r6.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-w5jbtehr.js → edge-service-8jrhdfvf.js} +41 -31
- package/dist/{elk.bundled-phy0zc81.js → elk.bundled-pfmz610v.js} +1 -1
- package/dist/{embedded-file-reader-pxpwcq3n.js → embedded-file-reader-k94wt612.js} +16 -16
- package/dist/{en-LAVDF7IQ-ba7wzsxp.js → en-5JIPZTS5-v0f9wmd2.js} +4 -2
- package/dist/{en-X6T4SP2Y-FPGCJIFV-wsbs6fqx.js → en-ETY46SDS-RI6EZCN6-x64e1cks.js} +67 -3
- package/dist/{en-X6T4SP2Y-xe57av1w.js → en-ETY46SDS-yfqhqvbx.js} +66 -2
- package/dist/{en-WPCQ4JKF-jnj0q4e1.js → en-JZXY3PYE-m54g0zx7.js} +4 -4
- package/dist/{en-LQHKFSEY-jz2knr92.js → en-LQHKFSEY-bypy1p39.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-q5v6wcmn.js → es-IYP2OLUY-7SKYGF6A-rd9jrktp.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-vx539dfs.js → es-MX-D2MN3U37-0y5q0nbe.js} +1276 -15
- package/dist/{es-MX-IHGRIEWH-g63p0gb4.js → es-MX-D2MN3U37-D74A6FRL-y7xh0r57.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/{first-party-service-6b9ajm57.js → first-party-service-qfg2m05s.js} +1 -1
- package/dist/{flow-api-1hr7z6qc.js → flow-api-bmg7beey.js} +15 -12
- package/dist/{flow-debug-service-vt2k0v46.js → flow-debug-service-jb9jxat1.js} +232 -156
- package/dist/flow-eval-node-target-scxb918a.js +31 -0
- package/dist/flow-eval-run-api-g6sphtf3.js +11 -0
- package/dist/{flow-eval-run-service-vh2041qg.js → flow-eval-run-service-n68xb9sk.js} +116 -119
- package/dist/{flow-eval-service-q2zp54gq.js → flow-eval-service-88qyrg7d.js} +141 -337
- package/dist/{flow-init-sdk-source-vg1ckdrf.js → flow-init-sdk-source-t2q2w6v7.js} +5 -5
- package/dist/flow-init-service-v6jvdmqa.js +27 -0
- package/dist/flow-io-4z79xnb3.js +29 -0
- package/dist/{flow-migrate-service-wgrz2msp.js → flow-migrate-service-gbdh07zh.js} +20 -20
- package/dist/{flow-pack-service-kze10925.js → flow-pack-service-gca3ekj7.js} +89 -90
- package/dist/flow-validate-service-z0z4ndn8.js +49 -0
- package/dist/{fr-7LK3QUWT-a94yejcs.js → fr-EPBGOBOP-rs7qy97k.js} +19 -4
- package/dist/{fr-7ZDL4MVO-pd27vwh6.js → fr-NISALSPL-3ANDQPI3-gjhmym96.js} +1282 -10
- package/dist/{fr-7ZDL4MVO-CXMRZDOF-b816xj36.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-y0q4m57j.js → governance-fetcher-26h7eqrk.js} +7 -7
- package/dist/{headless-41t9wwb7.js → headless-23ywyx9h.js} +390 -195
- package/dist/{hitl-service-8rvw1zsh.js → hitl-service-v94wsz1f.js} +11 -11
- package/dist/{index-wss1mf5j.js → index-9a52zr4w.js} +3033 -767
- package/dist/{index-t2f7scza.js → index-db1djbzm.js} +12 -8
- package/dist/{index-amqqhge1.js → index-ewg6ygg0.js} +1 -1
- package/dist/{index-r44xc976.js → index-eyjrdzgx.js} +5 -5
- package/dist/{index-7fet3f0s.js → index-h67w2p9p.js} +3 -3
- package/dist/index-kwrhrb9p.js +161 -0
- package/dist/{index-f5kq7265.js → index-r6crd7tx.js} +6 -4
- package/dist/{index-ng011fzs.js → index-r6y07e14.js} +94 -74
- package/dist/{index-vvf52vnn.js → index-re7r0ezw.js} +34 -27
- package/dist/{index-5y5pbdx5.js → index-sazh9ymk.js} +13 -11
- package/dist/{index-5pzp2qeb.js → index-v3w1930f.js} +18 -18
- package/dist/{index-d4bdedx3.js → index-ynw2efd8.js} +6 -4
- 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-aty0xw8s.js → inline-entity-resolver-r7ebmssg.js} +11 -11
- package/dist/input-reader-3zvbsn6a.js +12 -0
- package/dist/integration-service-fetcher-0vdd4pbb.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-aaj773vd.js → ja-HTS2Q4YG-7Q6WUI6H-j8dkhe93.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-khdzwz6c.js → ko-3JFGTMNY-VT6UQ3IS-z5n880em.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-d6211mt9.js +65 -0
- package/dist/{node-strategy-wrjxmbzt.js → node-strategy-2r78gtca.js} +2 -2
- package/dist/{node-sync-service-6h12t41d.js → node-sync-service-6wbypdgb.js} +22 -15
- package/dist/node-w3wny6qw.js +172 -0
- package/dist/packager-tool-0x8g8b5r.js +25 -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-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-4gh9ftn8.js +224 -0
- 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-zydkpqta.js → packager-tool-6sqq0mzd.js} +330 -902
- 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-4w37xezc.js → packager-tool-7tmtjb7p.js} +13 -13
- package/dist/{packager-tool-6an563h8.js → packager-tool-7wpb19zf.js} +10 -3
- package/dist/packager-tool-8qc7ram5.js +16 -0
- package/dist/packager-tool-942v78s9.js +40 -0
- package/dist/packager-tool-9tv5cyhr.js +16 -0
- package/dist/{packager-tool-7atc775f.js → packager-tool-ajx79m52.js} +1 -1
- package/dist/{packager-tool-p7f12rkc.js → packager-tool-b14qj57y.js} +9 -7
- 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-m30d5s5s.js → packager-tool-bv24wxxz.js} +24 -10
- package/dist/{packager-tool-1qg04b7q.js → packager-tool-bzcphfa8.js} +4 -2
- package/dist/packager-tool-c8mn8jr0.js +1060 -0
- package/dist/{packager-tool-gdpw0daf.js → packager-tool-dmhmcav3.js} +3773 -2625
- package/dist/{packager-tool-vb1ect63.js → packager-tool-e8bxpwdp.js} +21 -21
- package/dist/{packager-tool-m1y5ah6s.js → packager-tool-f3htkspn.js} +215 -233
- package/dist/{packager-tool-y1bcfvcs.js → packager-tool-frt20zp9.js} +2 -2
- package/dist/packager-tool-geh2qybm.js +179 -0
- package/dist/{packager-tool-1rhch6b5.js → packager-tool-gjjr2a2w.js} +66 -19
- package/dist/{packager-tool-v1q6601f.js → packager-tool-hyx81x30.js} +584 -651
- package/dist/{packager-tool-67h9vcvz.js → packager-tool-j6m8nkms.js} +1123 -295
- package/dist/{packager-tool-64r7e4ek.js → packager-tool-jjnfwfd4.js} +2 -2
- package/dist/packager-tool-kh1taypp.js +41 -0
- package/dist/{packager-tool-dc12ytg5.js → packager-tool-krr2x2ny.js} +10 -10
- package/dist/{packager-tool-pdt4jmnw.js → packager-tool-m2h98d2z.js} +246 -61
- 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-x4xdtsbp.js → packager-tool-n4fky033.js} +15328 -7171
- package/dist/{packager-tool-hyd7qpfw.js → packager-tool-npm5tzpt.js} +489 -118
- package/dist/packager-tool-p8ncdnsj.js +30 -0
- 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-jjkypwge.js → packager-tool-s8jxyjgj.js} +15 -4
- package/dist/packager-tool-swvgkcq7.js +5973 -0
- package/dist/{packager-tool-fzgfb0jt.js → packager-tool-t0e7fvqz.js} +1228 -759
- package/dist/packager-tool-t0zz0jtb.js +423 -0
- package/dist/{packager-tool-p123mtfx.js → packager-tool-tgawhrva.js} +58 -16
- package/dist/{packager-tool-yewnsyag.js → packager-tool-vg16h3pk.js} +80 -6
- package/dist/{packager-tool-dbc4hv4n.js → packager-tool-vtz6gvav.js} +8 -8
- package/dist/{packager-tool-f4t73ja0.js → packager-tool-wk6jaz9m.js} +228 -487
- package/dist/packager-tool-wvf6b31h.js +50 -0
- package/dist/packager-tool-xgh2t48c.js +255 -0
- package/dist/{packager-tool-w9bkq7zb.js → packager-tool-xgvp8a8g.js} +10 -10
- package/dist/{packager-tool-h1vt1vr2.js → packager-tool-ybn5fymq.js} +2 -2
- package/dist/packager-tool-yszyrt27.js +184 -0
- package/dist/packager-tool-yx0hy6pt.js +125 -0
- package/dist/{packager-tool-ze3fnf3s.js → packager-tool-zap4kd3z.js} +7 -2
- package/dist/{packager-tool-dr3zc9n9.js → packager-tool-zgzpqfcs.js} +13 -6
- package/dist/{node-tx150jvs.js → packager-tool-zrh55d4c.js} +190 -286
- package/dist/packager-tool.js +9 -9
- package/dist/{prepare-uip-ad7mfs8t.js → prepare-uip-8frvq826.js} +39 -6
- package/dist/provision-node-service-b8nkty72.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-1cttmarb.js → pt-BR-7H7BP5DT-IOHWNCIU-kzbjgs8p.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-ek3zjp9k.js → pt-QWGSZKMD-RTKSQCYA-j9wqwb10.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-zrcvcsj5.js → ro-B7G474JK-9k2jjk88.js} +1271 -15
- package/dist/{ro-FLNXVYJI-ytrwabg2.js → ro-B7G474JK-Q3BAA4S3-1ss8n5t0.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-j2ny4frk.js +12 -0
- package/dist/schema-document-service-007f2kw4.js +30 -0
- package/dist/{serialization-Z3UYT6BW-c994gtwh.js → serialization-7CB4AREI-b012f3vq.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-definition-helper-6zwd9hjs.js → solution-definition-helper-qjj01xh0.js} +1 -1
- package/dist/{solution-discovery-wwwynadq.js → solution-discovery-v5qatmz2.js} +7 -7
- package/dist/taggable-variables-nc8td6er.js +134 -0
- package/dist/{tidy-service-g9qcarr9.js → tidy-service-ehhraxge.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-pv26erw5.js} +1276 -10
- package/dist/{tr-7AIZZWZ6-ESAESUPL-kgj5s586.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-1s0z3e9j.js → variable-service-m8m88dy6.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-tj7kwma4.js} +1276 -10
- package/dist/{zh-CN-CN2ARPFS-NIQTWDK2-0t4qqqdc.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-8zmewakq.js → zh-TW-UNIEJPLE-4vxzbphe.js} +1272 -16
- package/dist/{zh-TW-7RUFEVFK-qd7myw31.js → zh-TW-UNIEJPLE-ECGOEPYS-wv5068r9.js} +1277 -11
- package/package.json +2 -2
- package/dist/flow-eval-node-target-20cnm783.js +0 -29
- package/dist/flow-eval-run-api-w4j8ra60.js +0 -9
- package/dist/flow-init-service-4rvjej8m.js +0 -26
- package/dist/flow-io-e7t1s141.js +0 -24
- package/dist/flow-validate-service-wfkxyvkc.js +0 -46
- package/dist/input-reader-jjq3r7ry.js +0 -11
- package/dist/localization-erchshqr.js +0 -45
- package/dist/node-service-2mbw4sjk.js +0 -64
- package/dist/packager-tool-08dsxdz8.js +0 -56
- package/dist/packager-tool-2sazb7th.js +0 -2
- 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-f7rk9xhv.js +0 -50
- package/dist/packager-tool-jd3v0bh1.js +0 -26
- package/dist/packager-tool-k3egwd1m.js +0 -15
- package/dist/packager-tool-mfj268wk.js +0 -18
- package/dist/packager-tool-q0f1dvtd.js +0 -40
- package/dist/packager-tool-wr7gn964.js +0 -2
- package/dist/packager-tool-z1w16vjv.js +0 -461
- package/dist/ru-GSCT4ARZ-FTVCGQTL-7d8rpmsn.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
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getFileSystem
|
|
3
|
-
} from "./packager-tool-
|
|
3
|
+
} from "./packager-tool-1db1wqdy.js";
|
|
4
4
|
import {
|
|
5
5
|
catchError2
|
|
6
|
-
} from "./packager-tool-
|
|
6
|
+
} from "./packager-tool-4hn7v05x.js";
|
|
7
7
|
import {
|
|
8
8
|
createWorkflow2
|
|
9
|
-
} from "./packager-tool-
|
|
9
|
+
} from "./packager-tool-6azsz9h8.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./packager-tool-
|
|
11
|
+
nodeModuleRegistry2
|
|
12
|
+
} from "./packager-tool-dmhmcav3.js";
|
|
13
13
|
import {
|
|
14
14
|
writeFlowWorkflow2
|
|
15
|
-
} from "./packager-tool-
|
|
15
|
+
} from "./packager-tool-942v78s9.js";
|
|
16
16
|
import {
|
|
17
17
|
prepareProjectLocation2,
|
|
18
18
|
tryRegisterProjectInParentSolution2
|
|
19
|
-
} from "./packager-tool-
|
|
19
|
+
} from "./packager-tool-mvzswn9n.js";
|
|
20
20
|
import {
|
|
21
21
|
applyRuntimeProfile2,
|
|
22
22
|
withRuntimeProfile2
|
|
23
|
-
} from "./packager-tool-
|
|
23
|
+
} from "./packager-tool-3sxg16ft.js";
|
|
24
24
|
import {
|
|
25
25
|
VALID_PROJECT_NAME_REGEX
|
|
26
|
-
} from "./packager-tool-
|
|
26
|
+
} from "./packager-tool-7wpb19zf.js";
|
|
27
27
|
|
|
28
28
|
// src/services/project-artifacts.ts
|
|
29
29
|
async function ensureProjectArtifacts(args) {
|
|
30
|
-
const { addProjectArtifactsToSolutionAsync } = await import("./index-
|
|
30
|
+
const { addProjectArtifactsToSolutionAsync } = await import("./index-9a52zr4w.js");
|
|
31
31
|
return addProjectArtifactsToSolutionAsync(args);
|
|
32
32
|
}
|
|
33
33
|
|
|
@@ -56,7 +56,7 @@ async function flowInitAsync2(name, options = {}) {
|
|
|
56
56
|
}
|
|
57
57
|
const fs = getFileSystem();
|
|
58
58
|
const baseDir = options.cwd ?? ".";
|
|
59
|
-
const { checkSdkSource, seedSdkSource, shellQuote } = await import("./flow-init-sdk-source-
|
|
59
|
+
const { checkSdkSource, seedSdkSource, shellQuote } = await import("./flow-init-sdk-source-t2q2w6v7.js");
|
|
60
60
|
const sdkPreflight = options.sdkSource === undefined ? undefined : await checkSdkSource(baseDir, options.sdkSource, options.force);
|
|
61
61
|
if (options.sdkSource !== undefined && sdkPreflight === undefined) {
|
|
62
62
|
throw new Error("--sdk-source needs the uip CLI on Node; it is not available in this host.");
|
|
@@ -74,7 +74,7 @@ async function flowInitAsync2(name, options = {}) {
|
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
76
|
await safeMkdir(fs, projectDir);
|
|
77
|
-
const triggerManifest =
|
|
77
|
+
const triggerManifest = nodeModuleRegistry2["core.trigger.manual"].latest;
|
|
78
78
|
const flowId = crypto.randomUUID();
|
|
79
79
|
const workflow = createWorkflow2({
|
|
80
80
|
id: flowId,
|
|
@@ -141,4 +141,4 @@ async function maybeGenerateProjectArtifacts(registration, projectName) {
|
|
|
141
141
|
|
|
142
142
|
export { FlowInitSdkSourceError2, flowInitAsync2 };
|
|
143
143
|
|
|
144
|
-
//# debugId=
|
|
144
|
+
//# debugId=FB2685A90B1E49D364756E2164756E21
|
|
@@ -2,7 +2,14 @@ import {
|
|
|
2
2
|
extractErrorDetails,
|
|
3
3
|
createHiddenDeprecatedTenantOption,
|
|
4
4
|
parseBoundedInt
|
|
5
|
-
} from "./packager-tool-
|
|
5
|
+
} from "./packager-tool-bcsjm5hv.js";
|
|
6
|
+
// ../maestro-sdk/src/binding-id.ts
|
|
7
|
+
var VALID_BINDING_ID_REGEX = /^[A-Za-z_][A-Za-z0-9_]*$/;
|
|
8
|
+
var invalidBindingIdMessage = (id, effect = "the task faults at run time") => ({
|
|
9
|
+
message: `Binding id "${id}" is not an identifier (letters, digits and "_", not starting with a digit). The engine reads "=bindings.${id}" as a C# expression, so the reference does not resolve and ${effect}.`,
|
|
10
|
+
instruction: `Rename the binding and every "=bindings.${id}" reference to it.`
|
|
11
|
+
});
|
|
12
|
+
|
|
6
13
|
// ../maestro-sdk/src/shared-utils.ts
|
|
7
14
|
var VALID_PROJECT_NAME_REGEX = /^[a-zA-Z0-9_-]+$/;
|
|
8
15
|
var VALID_PACKAGE_NAME_REGEX = /^[a-zA-Z0-9._-]+$/;
|
|
@@ -48,6 +55,6 @@ function addJobTracesOptions(command, folderDescription = "Folder key (GUID from
|
|
|
48
55
|
}), 10);
|
|
49
56
|
}
|
|
50
57
|
|
|
51
|
-
export { VALID_PROJECT_NAME_REGEX, VALID_PACKAGE_NAME_REGEX, formatTraceLine, backendFailure, genericObjectDiscoveryCommands, addJobTracesOptions };
|
|
58
|
+
export { VALID_BINDING_ID_REGEX, invalidBindingIdMessage, VALID_PROJECT_NAME_REGEX, VALID_PACKAGE_NAME_REGEX, formatTraceLine, backendFailure, genericObjectDiscoveryCommands, addJobTracesOptions };
|
|
52
59
|
|
|
53
|
-
//# debugId=
|
|
60
|
+
//# debugId=733D420C5F2C398B64756E2164756E21
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import {
|
|
2
|
+
logger
|
|
3
|
+
} from "./packager-tool-bcsjm5hv.js";
|
|
4
|
+
import {
|
|
5
|
+
writeResolvedFlow3
|
|
6
|
+
} from "./packager-tool-n4fky033.js";
|
|
7
|
+
|
|
8
|
+
// ../executor/flow-debug/src/write-resolved-flow.ts
|
|
9
|
+
async function writeResolvedFlow2(fs, dir, name, workflow) {
|
|
10
|
+
const resolvedPath = await writeResolvedFlow3(fs, dir, name, workflow);
|
|
11
|
+
logger.info(`Resolved flow written to ${resolvedPath}`);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export { writeResolvedFlow2 };
|
|
15
|
+
|
|
16
|
+
//# debugId=924581A345DA25AA64756E2164756E21
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import {
|
|
2
|
+
getFileSystem
|
|
3
|
+
} from "./packager-tool-1db1wqdy.js";
|
|
4
|
+
import {
|
|
5
|
+
logger
|
|
6
|
+
} from "./packager-tool-bcsjm5hv.js";
|
|
7
|
+
import {
|
|
8
|
+
createFlowRefResolver2,
|
|
9
|
+
resolveAndMigrateWorkflow2,
|
|
10
|
+
resolveProjectFlowFile3,
|
|
11
|
+
resolveFlowTarget3,
|
|
12
|
+
findProjectFlowFile3,
|
|
13
|
+
writeFlowWorkflow3
|
|
14
|
+
} from "./packager-tool-n4fky033.js";
|
|
15
|
+
|
|
16
|
+
// ../executor/flow-debug/src/flow-io.ts
|
|
17
|
+
async function readFlowWorkflow2(filePath, fs = getFileSystem()) {
|
|
18
|
+
const content = await fs.readFile(filePath, "utf-8");
|
|
19
|
+
const parsed = JSON.parse(content);
|
|
20
|
+
return resolveAndMigrateWorkflow2(parsed, createFlowRefResolver2(fs, logger), filePath, logger);
|
|
21
|
+
}
|
|
22
|
+
function writeFlowWorkflow2(filePath, workflow, refMap = new Map) {
|
|
23
|
+
return writeFlowWorkflow3(filePath, workflow, refMap, {
|
|
24
|
+
fs: getFileSystem(),
|
|
25
|
+
logger
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
function resolveProjectFlowFile2(projectPath) {
|
|
29
|
+
return resolveProjectFlowFile3(getFileSystem(), projectPath);
|
|
30
|
+
}
|
|
31
|
+
function resolveFlowTarget2(target) {
|
|
32
|
+
return resolveFlowTarget3(getFileSystem(), target);
|
|
33
|
+
}
|
|
34
|
+
function findProjectFlowFile2(projectPath, mainFile, preferredBaseName) {
|
|
35
|
+
return findProjectFlowFile3(getFileSystem(), projectPath, mainFile, preferredBaseName);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export { readFlowWorkflow2, writeFlowWorkflow2, resolveProjectFlowFile2, resolveFlowTarget2, findProjectFlowFile2 };
|
|
39
|
+
|
|
40
|
+
//# debugId=3F1FD9F846165F8F64756E2164756E21
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
// src/services/binding-resource-types.ts
|
|
2
|
+
var CONNECTION_BINDING_RESOURCE2 = "connection";
|
|
3
|
+
var VALID_RESOURCE_TYPES = [
|
|
4
|
+
CONNECTION_BINDING_RESOURCE2,
|
|
5
|
+
"queue",
|
|
6
|
+
"process",
|
|
7
|
+
"folderKey",
|
|
8
|
+
"index",
|
|
9
|
+
"memorySpace",
|
|
10
|
+
"bucket",
|
|
11
|
+
"app"
|
|
12
|
+
];
|
|
13
|
+
|
|
14
|
+
export { CONNECTION_BINDING_RESOURCE2, VALID_RESOURCE_TYPES };
|
|
15
|
+
|
|
16
|
+
//# debugId=38EE8682A7B2085F64756E2164756E21
|
|
@@ -3,7 +3,7 @@ var package_default = {
|
|
|
3
3
|
name: "@uipath/flow-tool",
|
|
4
4
|
author: "UiPath",
|
|
5
5
|
license: "SEE LICENSE IN LICENSE.txt",
|
|
6
|
-
version: "1.
|
|
6
|
+
version: "1.207.0-preview.307",
|
|
7
7
|
description: "Create, debug, and run UiPath Flow projects and jobs.",
|
|
8
8
|
private: false,
|
|
9
9
|
repository: {
|
|
@@ -55,12 +55,14 @@ var package_default = {
|
|
|
55
55
|
"@uipath/common": "workspace:*",
|
|
56
56
|
"@uipath/eval-sdk": "workspace:*",
|
|
57
57
|
"@uipath/filesystem": "workspace:*",
|
|
58
|
-
"@uipath/flow-converter": "0.
|
|
59
|
-
"@uipath/flow-core": "^0.
|
|
60
|
-
"@uipath/flow-
|
|
61
|
-
"@uipath/flow-
|
|
62
|
-
"@uipath/flow-
|
|
58
|
+
"@uipath/flow-converter": "0.108.0",
|
|
59
|
+
"@uipath/flow-core": "^0.172.0",
|
|
60
|
+
"@uipath/flow-debug": "workspace:*",
|
|
61
|
+
"@uipath/flow-expression-model": "0.22.4",
|
|
62
|
+
"@uipath/flow-migrations": "^0.102.0",
|
|
63
|
+
"@uipath/flow-schema": "0.135.1",
|
|
63
64
|
"@uipath/integrationservice-sdk": "workspace:*",
|
|
65
|
+
"@uipath/llmgw-sdk": "workspace:*",
|
|
64
66
|
"@uipath/maestro-sdk": "workspace:*",
|
|
65
67
|
"@uipath/orchestrator-sdk": "workspace:*",
|
|
66
68
|
"@uipath/packager-tool-datafabric": "workspace:*",
|
|
@@ -78,4 +80,4 @@ var package_default = {
|
|
|
78
80
|
|
|
79
81
|
export { package_default };
|
|
80
82
|
|
|
81
|
-
//# debugId=
|
|
83
|
+
//# debugId=9847AB085D1D285164756E2164756E21
|
|
@@ -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
|