@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,102 +1,117 @@
|
|
|
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
|
+
extractErrorDetails,
|
|
9
|
+
redactTokens,
|
|
10
|
+
summarizePlatformBody,
|
|
9
11
|
logger
|
|
10
|
-
} from "./packager-tool-
|
|
12
|
+
} from "./packager-tool-bcsjm5hv.js";
|
|
11
13
|
import {
|
|
12
14
|
generateRandomId2
|
|
13
|
-
} from "./packager-tool-
|
|
15
|
+
} from "./packager-tool-t0e7fvqz.js";
|
|
14
16
|
import {
|
|
15
17
|
addBinding2
|
|
16
|
-
} from "./packager-tool-
|
|
18
|
+
} from "./packager-tool-6azsz9h8.js";
|
|
19
|
+
import"./packager-tool-zap4kd3z.js";
|
|
17
20
|
import {
|
|
21
|
+
entityScopeKey2
|
|
22
|
+
} from "./packager-tool-n4fky033.js";
|
|
23
|
+
import {
|
|
24
|
+
readFlowWorkflow2,
|
|
25
|
+
writeFlowWorkflow2
|
|
26
|
+
} from "./packager-tool-942v78s9.js";
|
|
27
|
+
import {
|
|
28
|
+
ACTIVITY_VERSION_V42,
|
|
29
|
+
isV4ActivityConfiguration2,
|
|
18
30
|
storedActivityBindings,
|
|
19
31
|
planResourceBindings,
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
externalExecutionOf,
|
|
23
|
-
externalExecutionWarning,
|
|
32
|
+
FilterNotSupportedError,
|
|
33
|
+
substituteFilterVariables,
|
|
24
34
|
MANAGED_HTTP_CONNECTOR_KEY2,
|
|
25
35
|
MANAGED_HTTP_ENDPOINT,
|
|
26
36
|
IMPLICIT_CONNECTION,
|
|
27
37
|
managedHttpDetailErrors,
|
|
28
38
|
buildManagedHttpBodyParameters,
|
|
29
39
|
MANAGED_HTTP_TELEMETRY,
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
substituteFilterVariables,
|
|
40
|
+
REQUEST_BUCKETS,
|
|
41
|
+
declaredFieldsOf,
|
|
42
|
+
companionBucket,
|
|
34
43
|
buildActivityEssentialConfiguration2,
|
|
35
44
|
configureActivityClient,
|
|
36
45
|
applySavedFilterTree2,
|
|
37
46
|
assertActivityMetadataResolved2,
|
|
38
47
|
buildManagedHttpEssentialConfiguration2,
|
|
48
|
+
externalExecutionOf,
|
|
49
|
+
externalExecutionWarning,
|
|
39
50
|
extractMultipartParameters2,
|
|
40
51
|
inlineMultipartFileValues2,
|
|
41
52
|
isListOperation,
|
|
42
53
|
buildInputMetadata2,
|
|
54
|
+
guardJsonString,
|
|
55
|
+
upsertResourceBinding,
|
|
43
56
|
normalizeHttpMethod,
|
|
44
57
|
assertConnectionConnector2,
|
|
45
58
|
fetchConnectionInfo2,
|
|
46
59
|
fetchConnectorMetadata2,
|
|
60
|
+
fetchConnectorMaxPageSize2,
|
|
47
61
|
fetchConnectorActivityMetadataV42
|
|
48
|
-
} from "./packager-tool-
|
|
49
|
-
import"./packager-tool-
|
|
50
|
-
import"./packager-tool-
|
|
51
|
-
import"./packager-tool-
|
|
52
|
-
import"./packager-tool-
|
|
53
|
-
import"./packager-tool-
|
|
62
|
+
} from "./packager-tool-6sqq0mzd.js";
|
|
63
|
+
import"./packager-tool-bzcphfa8.js";
|
|
64
|
+
import"./packager-tool-tgawhrva.js";
|
|
65
|
+
import"./packager-tool-f3htkspn.js";
|
|
66
|
+
import"./packager-tool-wvf6b31h.js";
|
|
67
|
+
import"./packager-tool-zgzpqfcs.js";
|
|
68
|
+
import"./packager-tool-rcjtmknf.js";
|
|
69
|
+
import"./packager-tool-xgvp8a8g.js";
|
|
54
70
|
import"./packager-tool-xb16e3tz.js";
|
|
55
|
-
import"./packager-tool-
|
|
56
|
-
import"./packager-tool-
|
|
57
|
-
import"./packager-tool-
|
|
58
|
-
import"./packager-tool-
|
|
59
|
-
import"./packager-tool-
|
|
60
|
-
import"./packager-tool-
|
|
61
|
-
import
|
|
62
|
-
|
|
63
|
-
} from "./packager-tool-x4xdtsbp.js";
|
|
64
|
-
import {
|
|
65
|
-
readFlowWorkflow2,
|
|
66
|
-
writeFlowWorkflow2
|
|
67
|
-
} from "./packager-tool-08dsxdz8.js";
|
|
68
|
-
import"./packager-tool-1rhch6b5.js";
|
|
69
|
-
import"./packager-tool-dc12ytg5.js";
|
|
71
|
+
import"./packager-tool-dmhmcav3.js";
|
|
72
|
+
import"./packager-tool-4skf6ak1.js";
|
|
73
|
+
import"./packager-tool-bn09xgy8.js";
|
|
74
|
+
import"./packager-tool-c8mn8jr0.js";
|
|
75
|
+
import"./packager-tool-md1vcqh4.js";
|
|
76
|
+
import"./packager-tool-j6m8nkms.js";
|
|
77
|
+
import"./packager-tool-gjjr2a2w.js";
|
|
78
|
+
import"./packager-tool-krr2x2ny.js";
|
|
70
79
|
import {
|
|
71
80
|
findNodeDefinition
|
|
72
|
-
} from "./packager-tool-
|
|
81
|
+
} from "./packager-tool-7re5d8aq.js";
|
|
73
82
|
import {
|
|
74
|
-
REQUEST_BUCKETS,
|
|
75
83
|
INLINE_ACTIVITY_SOURCE,
|
|
76
84
|
getInlineActivityConfiguration,
|
|
77
85
|
findOrchestratorConnectionField,
|
|
78
86
|
orchestratorConnectionKey,
|
|
79
|
-
regenerateBindingsFile,
|
|
80
87
|
isEntityNode2,
|
|
81
88
|
createEntityBindings2,
|
|
82
89
|
resolveEntityIdentity2
|
|
83
|
-
} from "./packager-tool-
|
|
90
|
+
} from "./packager-tool-wk6jaz9m.js";
|
|
84
91
|
import {
|
|
85
92
|
isConnectorTriggerType,
|
|
86
93
|
isConnectorWaitForEventType,
|
|
87
94
|
isEventDrivenConnectorType,
|
|
88
95
|
readEssentialConfiguration,
|
|
89
96
|
scanDetailForCrossNodeBindings
|
|
90
|
-
} from "./packager-tool-
|
|
91
|
-
import"./packager-tool-
|
|
92
|
-
import
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
import
|
|
96
|
-
|
|
97
|
+
} from "./packager-tool-frt20zp9.js";
|
|
98
|
+
import"./packager-tool-yszyrt27.js";
|
|
99
|
+
import {
|
|
100
|
+
allNodes
|
|
101
|
+
} from "./packager-tool-p8ncdnsj.js";
|
|
102
|
+
import {
|
|
103
|
+
regenerateBindingsFile2
|
|
104
|
+
} from "./packager-tool-yx0hy6pt.js";
|
|
105
|
+
import"./packager-tool-jjnfwfd4.js";
|
|
106
|
+
import {
|
|
107
|
+
CONNECTION_BINDING_RESOURCE2
|
|
108
|
+
} from "./packager-tool-9tv5cyhr.js";
|
|
109
|
+
import"./packager-tool-3sxg16ft.js";
|
|
110
|
+
import"./packager-tool-mm6a12y4.js";
|
|
97
111
|
import {
|
|
98
112
|
genericObjectDiscoveryCommands
|
|
99
|
-
} from "./packager-tool-
|
|
113
|
+
} from "./packager-tool-7wpb19zf.js";
|
|
114
|
+
import"./packager-tool-40bxn7j2.js";
|
|
100
115
|
|
|
101
116
|
// src/services/connector-service.ts
|
|
102
117
|
class InvalidDetailError extends Error {
|
|
@@ -239,12 +254,22 @@ function collectConfiguredConnectionKeys(workflow) {
|
|
|
239
254
|
}
|
|
240
255
|
return keys;
|
|
241
256
|
}
|
|
257
|
+
function dropSurplusStubs(workflow, spec, liveConnectionKeys) {
|
|
258
|
+
const isHttpSlot = spec.propertyAttribute === "FolderKey" || spec.name === `${MANAGED_HTTP_CONNECTOR_KEY2} connection`;
|
|
259
|
+
const owned = isHttpSlot && liveConnectionKeys.has("") ? 1 : 0;
|
|
260
|
+
const bindings = workflow.bindings ?? [];
|
|
261
|
+
const isStub = (b) => b.name === spec.name && b.resource?.toLowerCase() === CONNECTION_BINDING_RESOURCE2 && b.propertyAttribute === spec.propertyAttribute && !b.resourceKey;
|
|
262
|
+
const surplus = new Set(bindings.filter(isStub).slice(owned).map((b) => b.id));
|
|
263
|
+
if (surplus.size === 0)
|
|
264
|
+
return;
|
|
265
|
+
workflow.bindings = bindings.filter((b) => !surplus.has(b.id));
|
|
266
|
+
}
|
|
242
267
|
function upsertConnectionResourceBinding(workflow, spec, liveConnectionKeys) {
|
|
243
268
|
const bindings = workflow.bindings ?? [];
|
|
244
|
-
const sameSlot = bindings.filter((b) => b.name === spec.name && b.resource?.toLowerCase() ===
|
|
269
|
+
const sameSlot = bindings.filter((b) => b.name === spec.name && b.resource?.toLowerCase() === CONNECTION_BINDING_RESOURCE2 && b.propertyAttribute === spec.propertyAttribute);
|
|
245
270
|
const claim = (row) => {
|
|
246
271
|
const rekeyed = row.resourceKey !== spec.resourceKey;
|
|
247
|
-
row.resource =
|
|
272
|
+
row.resource = CONNECTION_BINDING_RESOURCE2;
|
|
248
273
|
row.resourceKey = spec.resourceKey;
|
|
249
274
|
row.default = spec.default;
|
|
250
275
|
if (spec.resourceSubType !== undefined) {
|
|
@@ -256,6 +281,7 @@ function upsertConnectionResourceBinding(workflow, spec, liveConnectionKeys) {
|
|
|
256
281
|
const exact = sameSlot.find((b) => b.resourceKey === spec.resourceKey);
|
|
257
282
|
if (exact) {
|
|
258
283
|
claim(exact);
|
|
284
|
+
dropSurplusStubs(workflow, spec, liveConnectionKeys);
|
|
259
285
|
return;
|
|
260
286
|
}
|
|
261
287
|
const isFree = (b) => !liveConnectionKeys.has(b.resourceKey ?? "");
|
|
@@ -268,7 +294,7 @@ function upsertConnectionResourceBinding(workflow, spec, liveConnectionKeys) {
|
|
|
268
294
|
id: `b${generateRandomId2(8)}`,
|
|
269
295
|
name: spec.name,
|
|
270
296
|
type: "string",
|
|
271
|
-
resource:
|
|
297
|
+
resource: CONNECTION_BINDING_RESOURCE2,
|
|
272
298
|
resourceKey: spec.resourceKey,
|
|
273
299
|
default: spec.default,
|
|
274
300
|
propertyAttribute: spec.propertyAttribute,
|
|
@@ -277,13 +303,14 @@ function upsertConnectionResourceBinding(workflow, spec, liveConnectionKeys) {
|
|
|
277
303
|
}
|
|
278
304
|
};
|
|
279
305
|
addBinding2(workflow, fresh);
|
|
306
|
+
dropSurplusStubs(workflow, spec, liveConnectionKeys);
|
|
280
307
|
}
|
|
281
308
|
function addManualModeImplicitBindings(workflow, connectorKey) {
|
|
282
309
|
const connBinding = {
|
|
283
310
|
id: `b${generateRandomId2(8)}`,
|
|
284
311
|
name: `${connectorKey} connection`,
|
|
285
312
|
type: "string",
|
|
286
|
-
resource:
|
|
313
|
+
resource: CONNECTION_BINDING_RESOURCE2,
|
|
287
314
|
resourceKey: "",
|
|
288
315
|
default: IMPLICIT_CONNECTION,
|
|
289
316
|
propertyAttribute: "ConnectionId"
|
|
@@ -292,7 +319,7 @@ function addManualModeImplicitBindings(workflow, connectorKey) {
|
|
|
292
319
|
id: `b${generateRandomId2(8)}`,
|
|
293
320
|
name: "FolderKey",
|
|
294
321
|
type: "string",
|
|
295
|
-
resource:
|
|
322
|
+
resource: CONNECTION_BINDING_RESOURCE2,
|
|
296
323
|
resourceKey: "",
|
|
297
324
|
propertyAttribute: "FolderKey"
|
|
298
325
|
};
|
|
@@ -361,11 +388,24 @@ function writeRequestValue(detail, field, value, bucket = requestBucketOf(detail
|
|
|
361
388
|
};
|
|
362
389
|
return true;
|
|
363
390
|
}
|
|
364
|
-
function applyResolvedFolderKeys(detail, resolved) {
|
|
391
|
+
function applyResolvedFolderKeys(detail, resolved, client) {
|
|
392
|
+
if (resolved.length === 0)
|
|
393
|
+
return;
|
|
394
|
+
const declared = declaredFieldsOf(client);
|
|
365
395
|
for (const { field, companion, selection } of resolved) {
|
|
366
396
|
if (!selection.folderKey)
|
|
367
397
|
continue;
|
|
368
|
-
|
|
398
|
+
const pickerBucket = requestBucketOf(detail, field);
|
|
399
|
+
if (pickerBucket === undefined)
|
|
400
|
+
continue;
|
|
401
|
+
const bucket = companionBucket(declared, companion, pickerBucket);
|
|
402
|
+
for (const other of REQUEST_BUCKETS) {
|
|
403
|
+
const values = detail[other];
|
|
404
|
+
if (other === bucket || values === undefined)
|
|
405
|
+
continue;
|
|
406
|
+
detail[other] = Object.fromEntries(Object.entries(values).filter(([name]) => name !== companion));
|
|
407
|
+
}
|
|
408
|
+
writeRequestValue(detail, companion, selection.folderKey, bucket);
|
|
369
409
|
}
|
|
370
410
|
}
|
|
371
411
|
function upsertSolutionResourceBinding(workflow, spec) {
|
|
@@ -513,6 +553,8 @@ function validateCustomFieldsRequestDetails(value, errors) {
|
|
|
513
553
|
}
|
|
514
554
|
}
|
|
515
555
|
}
|
|
556
|
+
var METHOD_REQUIRED_MESSAGE = "method is required (HTTP method from connectorMethodInfo, e.g. GET, POST)";
|
|
557
|
+
var ENDPOINT_REQUIRED_MESSAGE = "endpoint is required (path from connectorMethodInfo, e.g. /ConversationsInfo/{conversationsInfoId})";
|
|
516
558
|
function validateConnectorDetail(config) {
|
|
517
559
|
const errors = [];
|
|
518
560
|
if (typeof config.connectionId !== "string" || !config.connectionId) {
|
|
@@ -521,11 +563,11 @@ function validateConnectorDetail(config) {
|
|
|
521
563
|
if (typeof config.folderKey !== "string" || !config.folderKey) {
|
|
522
564
|
errors.push("folderKey is required (non-empty string)");
|
|
523
565
|
}
|
|
524
|
-
if (typeof config.method !== "string" || !config.method) {
|
|
525
|
-
errors.push(
|
|
566
|
+
if (config.method !== undefined && (typeof config.method !== "string" || !config.method)) {
|
|
567
|
+
errors.push(METHOD_REQUIRED_MESSAGE);
|
|
526
568
|
}
|
|
527
|
-
if (typeof config.endpoint !== "string" || !config.endpoint
|
|
528
|
-
errors.push(
|
|
569
|
+
if (config.endpoint !== undefined && (typeof config.endpoint !== "string" || !config.endpoint.startsWith("/"))) {
|
|
570
|
+
errors.push(ENDPOINT_REQUIRED_MESSAGE);
|
|
529
571
|
}
|
|
530
572
|
if (config.objectName !== undefined && (typeof config.objectName !== "string" || !config.objectName)) {
|
|
531
573
|
errors.push("objectName must be a non-empty string (required for Generic-type connector activities; ignored for Curated)");
|
|
@@ -637,6 +679,13 @@ var VALID_ORCHESTRATOR_CONNECTION_KEYS = new Set([
|
|
|
637
679
|
"connectionId",
|
|
638
680
|
"folderKey"
|
|
639
681
|
]);
|
|
682
|
+
async function quotedFailure(error) {
|
|
683
|
+
const details = await extractErrorDetails(error);
|
|
684
|
+
return {
|
|
685
|
+
...details,
|
|
686
|
+
message: summarizePlatformBody(redactTokens(details.message))
|
|
687
|
+
};
|
|
688
|
+
}
|
|
640
689
|
async function configureOrchestratorConnection(workflow, node, field, rawDetail) {
|
|
641
690
|
const errors = [];
|
|
642
691
|
const { connectionId, folderKey } = rawDetail;
|
|
@@ -662,7 +711,7 @@ async function configureOrchestratorConnection(workflow, node, field, rawDetail)
|
|
|
662
711
|
}
|
|
663
712
|
const folder = folderKey ?? info?.folderKey;
|
|
664
713
|
if (!folder) {
|
|
665
|
-
const reason = fetchErr ? `: ${
|
|
714
|
+
const reason = fetchErr ? `: ${(await quotedFailure(fetchErr)).message}` : "";
|
|
666
715
|
throw new InvalidDetailError(`Could not read the folder of connection '${id}'${reason}. Pass folderKey in --detail.`);
|
|
667
716
|
}
|
|
668
717
|
node.inputs = { ...node.inputs, connectionId: id };
|
|
@@ -941,6 +990,17 @@ async function configureActivity(workflow, node, config, solutionDir, connection
|
|
|
941
990
|
} else {
|
|
942
991
|
objectName = resolveObjectName(instanceParameters, context, config, connectorKey, definitions, node.type ?? "");
|
|
943
992
|
}
|
|
993
|
+
const manifestMethod = instanceParameters.httpMethod;
|
|
994
|
+
const method = config.method ?? (typeof manifestMethod === "string" && manifestMethod ? manifestMethod : undefined);
|
|
995
|
+
if (!method) {
|
|
996
|
+
throw new InvalidDetailError(`Invalid --detail:
|
|
997
|
+
- ${METHOD_REQUIRED_MESSAGE}`);
|
|
998
|
+
}
|
|
999
|
+
const isGeneric = instanceParameters.activityType === "Generic";
|
|
1000
|
+
if (!config.endpoint && isGeneric) {
|
|
1001
|
+
throw new InvalidDetailError(`Invalid --detail:
|
|
1002
|
+
- ${ENDPOINT_REQUIRED_MESSAGE}`);
|
|
1003
|
+
}
|
|
944
1004
|
const detail = {
|
|
945
1005
|
connector: connectorKey,
|
|
946
1006
|
connectionId: config.connectionId,
|
|
@@ -953,7 +1013,7 @@ async function configureActivity(workflow, node, config, solutionDir, connection
|
|
|
953
1013
|
scriptRef: inline?.scriptRef ?? objectName
|
|
954
1014
|
}
|
|
955
1015
|
},
|
|
956
|
-
method: normalizeHttpMethod(
|
|
1016
|
+
method: normalizeHttpMethod(method),
|
|
957
1017
|
endpoint: config.endpoint
|
|
958
1018
|
};
|
|
959
1019
|
if (config.bodyParameters)
|
|
@@ -965,7 +1025,6 @@ async function configureActivity(workflow, node, config, solutionDir, connection
|
|
|
965
1025
|
if (activityTypeId)
|
|
966
1026
|
detail.uiPathActivityTypeId = activityTypeId;
|
|
967
1027
|
detail.errorState = { issues: [] };
|
|
968
|
-
const isGeneric = instanceParameters.activityType === "Generic";
|
|
969
1028
|
const resolvedInstanceParameters = isV4Activity ? { ...instanceParameters } : {
|
|
970
1029
|
...instanceParameters,
|
|
971
1030
|
objectName
|
|
@@ -975,7 +1034,12 @@ async function configureActivity(workflow, node, config, solutionDir, connection
|
|
|
975
1034
|
}
|
|
976
1035
|
const [metaError, metadata] = inline ? [null, inline.metadata] : await catchError2(isV4Activity ? fetchConnectorActivityMetadataV42(connectorKey, objectName) : fetchConnectorMetadata2(connectorKey, objectName, config.connectionId));
|
|
977
1036
|
if (metaError) {
|
|
978
|
-
|
|
1037
|
+
const failure = await quotedFailure(metaError);
|
|
1038
|
+
throw Object.assign(new Error(`Failed to fetch IS metadata for ${connectorKey}/${objectName}: ${failure.message}`, { cause: metaError }), {
|
|
1039
|
+
result: failure.result,
|
|
1040
|
+
errorCode: failure.errorCode,
|
|
1041
|
+
retry: failure.retry
|
|
1042
|
+
});
|
|
979
1043
|
}
|
|
980
1044
|
const external = externalExecutionOf(metadata);
|
|
981
1045
|
if (external) {
|
|
@@ -989,13 +1053,19 @@ async function configureActivity(workflow, node, config, solutionDir, connection
|
|
|
989
1053
|
warnings.push(warning);
|
|
990
1054
|
}
|
|
991
1055
|
const methodMap = metadata?.metadata?.method ?? {};
|
|
992
|
-
const
|
|
993
|
-
const metadataMethodKey = typeof manifestMethod === "string" && manifestMethod in methodMap ? manifestMethod : (config.method in methodMap) ? config.method : Object.keys(methodMap).find((key) => methodMap[key]?.method === config.method) ?? config.method;
|
|
1056
|
+
const metadataMethodKey = typeof manifestMethod === "string" && manifestMethod in methodMap ? manifestMethod : (method in methodMap) ? method : Object.keys(methodMap).find((key) => methodMap[key]?.method === method) ?? method;
|
|
994
1057
|
const methodInfo = methodMap[metadataMethodKey];
|
|
995
1058
|
if (methodInfo) {
|
|
996
1059
|
if (typeof methodInfo.method === "string" && methodInfo.method) {
|
|
997
1060
|
detail.method = normalizeHttpMethod(methodInfo.method);
|
|
998
1061
|
}
|
|
1062
|
+
if (!detail.endpoint) {
|
|
1063
|
+
if (!methodInfo.path) {
|
|
1064
|
+
throw new InvalidDetailError(`Invalid --detail:
|
|
1065
|
+
- ${ENDPOINT_REQUIRED_MESSAGE}`);
|
|
1066
|
+
}
|
|
1067
|
+
detail.endpoint = methodInfo.path;
|
|
1068
|
+
}
|
|
999
1069
|
let filterInputName = null;
|
|
1000
1070
|
let filterVariables = {};
|
|
1001
1071
|
if (isV4Activity) {
|
|
@@ -1048,7 +1118,7 @@ async function configureActivity(workflow, node, config, solutionDir, connection
|
|
|
1048
1118
|
fieldValues,
|
|
1049
1119
|
solutionDir
|
|
1050
1120
|
});
|
|
1051
|
-
applyResolvedFolderKeys(detail, resolvedResources);
|
|
1121
|
+
applyResolvedFolderKeys(detail, resolvedResources, activityClient);
|
|
1052
1122
|
assertActivityMetadataResolved2(activityClient.getEssentialConfiguration().essentialConfiguration, config.connectionId);
|
|
1053
1123
|
if (filterInputName && authoredFilterTree) {
|
|
1054
1124
|
const compiledFilter = activityClient.getCompiledFilter(filterInputName);
|
|
@@ -1086,7 +1156,16 @@ async function configureActivity(workflow, node, config, solutionDir, connection
|
|
|
1086
1156
|
} else {
|
|
1087
1157
|
delete detail.bodyParameters;
|
|
1088
1158
|
}
|
|
1089
|
-
const
|
|
1159
|
+
const declaredMax = methodInfo.pagination?.maxPageSize;
|
|
1160
|
+
let maxPageSize = typeof declaredMax === "number" && Number.isFinite(declaredMax) && declaredMax > 0 ? declaredMax : null;
|
|
1161
|
+
if (maxPageSize === null && isListOperation(methodInfo.operation)) {
|
|
1162
|
+
const [pageSizeError, connectorMax] = await catchError2(fetchConnectorMaxPageSize2(connectorKey));
|
|
1163
|
+
if (pageSizeError) {
|
|
1164
|
+
warnings.push(`Could not read the page size limit of connector ${connectorKey} (${pageSizeError.message}); pagination was left unset. Re-run 'uip maestro flow node configure' to retry.`);
|
|
1165
|
+
}
|
|
1166
|
+
maxPageSize = connectorMax ?? null;
|
|
1167
|
+
}
|
|
1168
|
+
const inputMeta = buildInputMetadata2(multipartParams, methodInfo.operation, maxPageSize, filterInputName && Object.keys(filterVariables).length > 0 ? [filterInputName] : undefined);
|
|
1090
1169
|
if (inputMeta) {
|
|
1091
1170
|
detail.inputMetadata = inputMeta;
|
|
1092
1171
|
}
|
|
@@ -1097,7 +1176,7 @@ async function configureActivity(workflow, node, config, solutionDir, connection
|
|
|
1097
1176
|
operation: methodInfo.operation
|
|
1098
1177
|
});
|
|
1099
1178
|
} else {
|
|
1100
|
-
throw new Error(`IS metadata for ${connectorKey}/${objectName} has no entry for method "${
|
|
1179
|
+
throw new Error(`IS metadata for ${connectorKey}/${objectName} has no entry for method "${method}" — cannot build configuration`);
|
|
1101
1180
|
}
|
|
1102
1181
|
node.inputs = { ...node.inputs ?? {}, detail };
|
|
1103
1182
|
ensureConnectionBindings(workflow, connectorKey, config.connectionId, config.folderKey);
|
|
@@ -1155,7 +1234,7 @@ async function configureTrigger(workflow, node, config, solutionDir, connection)
|
|
|
1155
1234
|
fieldValues: triggerFieldValues,
|
|
1156
1235
|
solutionDir
|
|
1157
1236
|
});
|
|
1158
|
-
applyResolvedFolderKeys(detail, resolvedResources);
|
|
1237
|
+
applyResolvedFolderKeys(detail, resolvedResources, triggerClient);
|
|
1159
1238
|
assertActivityMetadataResolved2(triggerClient.getEssentialConfiguration().essentialConfiguration, config.connectionId);
|
|
1160
1239
|
const compiledTriggerFilter = triggerClient.getCompiledFilter("filter");
|
|
1161
1240
|
assertCompiledFilterResolvable(compiledTriggerFilter, "filter", filterTree);
|
|
@@ -1175,17 +1254,18 @@ async function configureTrigger(workflow, node, config, solutionDir, connection)
|
|
|
1175
1254
|
}
|
|
1176
1255
|
async function configureConnectorNode(filePath, nodeId, rawDetail) {
|
|
1177
1256
|
const { workflow, refMap } = await readFlowWorkflow2(filePath);
|
|
1178
|
-
const
|
|
1257
|
+
const nodes = allNodes(workflow);
|
|
1258
|
+
const node = nodes.find((n) => n.id === nodeId);
|
|
1179
1259
|
if (!node)
|
|
1180
1260
|
throw new Error(`Node '${nodeId}' not found`);
|
|
1181
1261
|
const nodeType = node.type ?? "";
|
|
1182
|
-
const nodeIds = new Set(
|
|
1262
|
+
const nodeIds = new Set(nodes.map((n) => n.id));
|
|
1183
1263
|
if (isManagedHttpType(nodeType)) {
|
|
1184
1264
|
const config = validateManagedHttpDetail(rawDetail);
|
|
1185
1265
|
configureManagedHttp(workflow, node, config);
|
|
1186
1266
|
await writeFlowWorkflow2(filePath, workflow, refMap);
|
|
1187
1267
|
const fs = getFileSystem();
|
|
1188
|
-
await
|
|
1268
|
+
await regenerateBindingsFile2(fs, filePath);
|
|
1189
1269
|
if (config.authentication === "connector") {
|
|
1190
1270
|
await createConnectionResourceFile(fs, filePath, config.connectionId, config.targetConnector, await fetchConnectionIfReachable(config.connectionId));
|
|
1191
1271
|
}
|
|
@@ -1219,8 +1299,8 @@ async function configureConnectorNode(filePath, nodeId, rawDetail) {
|
|
|
1219
1299
|
}
|
|
1220
1300
|
const bindingsCreated = (workflow.bindings?.length ?? 0) - bindingsBefore;
|
|
1221
1301
|
await writeFlowWorkflow2(filePath, workflow, refMap);
|
|
1222
|
-
await
|
|
1223
|
-
const bound =
|
|
1302
|
+
await regenerateBindingsFile2(getFileSystem(), filePath);
|
|
1303
|
+
const bound = entityScopeKey2(node.inputs?.entityConfig) !== "";
|
|
1224
1304
|
const warnings = bound ? [] : [
|
|
1225
1305
|
`No entity binding was written: this solution does not author an entity named "${entityName}" and --detail supplied no _resourceKey, so the node resolves at tenant scope. Correct for a tenant entity. If you meant a solution entity, run 'uip df entities create ${entityName} --local' and re-run this command.`
|
|
1226
1306
|
];
|
|
@@ -1235,7 +1315,7 @@ async function configureConnectorNode(filePath, nodeId, rawDetail) {
|
|
|
1235
1315
|
const { connectionId, connection } = await configureOrchestratorConnection(workflow, node, orchestratorField, rawDetail);
|
|
1236
1316
|
await writeFlowWorkflow2(filePath, workflow, refMap);
|
|
1237
1317
|
const fs = getFileSystem();
|
|
1238
|
-
await
|
|
1318
|
+
await regenerateBindingsFile2(fs, filePath);
|
|
1239
1319
|
await createConnectionResourceFile(fs, filePath, connectionId, orchestratorField.connectorKey, connection);
|
|
1240
1320
|
return {
|
|
1241
1321
|
bindingsCreated: workflow.bindings.length,
|
|
@@ -1262,7 +1342,7 @@ async function configureConnectorNode(filePath, nodeId, rawDetail) {
|
|
|
1262
1342
|
}
|
|
1263
1343
|
dropReleasedPickerRows(workflow, previousPickerRows);
|
|
1264
1344
|
await writeFlowWorkflow2(filePath, workflow, refMap);
|
|
1265
|
-
await
|
|
1345
|
+
await regenerateBindingsFile2(fs, filePath);
|
|
1266
1346
|
const defs = workflow.definitions ?? [];
|
|
1267
1347
|
const connectorKey = getContextValue(getModelContext(node, defs), "connectorKey");
|
|
1268
1348
|
if (connectionId && connectorKey) {
|
|
@@ -1290,4 +1370,4 @@ export {
|
|
|
1290
1370
|
configureConnectorNode
|
|
1291
1371
|
};
|
|
1292
1372
|
|
|
1293
|
-
//# debugId=
|
|
1373
|
+
//# debugId=E26E184E69B0F8B464756E2164756E21
|