@uipath/flow-tool 1.206.0-preview.303 → 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.
Files changed (254) hide show
  1. package/README.md +2 -1
  2. package/dist/THIRD-PARTY-NOTICES.md +13 -13
  3. package/dist/{applicationinsights-web-8m26566f.js → applicationinsights-web-c6epsatg.js} +1 -1
  4. package/dist/{authoring-az69rn0j.js → authoring-f5ttjy3d.js} +5 -5
  5. package/dist/{binding-service-zg19e6vy.js → binding-service-qfbtg6qy.js} +37 -34
  6. package/dist/{browser-strategy-gnftxwsf.js → browser-strategy-1nk8hgcf.js} +1 -1
  7. package/dist/case-catalog-h4fjn6q3.js +304 -0
  8. package/dist/{connector-library-1yw5r47w.js → connector-library-844myxz2.js} +20 -6
  9. package/dist/{connector-service-e99tdk52.js → connector-service-8t5swsf9.js} +156 -76
  10. package/dist/{conversion-7O2PDOQB-2677ata3.js → conversion-A2KZVSOA-s70m4p50.js} +256 -90
  11. package/dist/{de-AI7ML6JM-km47f8k4.js → de-B6IFKV43-9sk50xx0.js} +164 -2
  12. package/dist/{de-2BEKRUMY-x4dx0nn9.js → de-HF4GJ4EK-NX7YTOSY-4f0r23sx.js} +1282 -10
  13. package/dist/{de-2BEKRUMY-MD7L477H-nan48spf.js → de-HF4GJ4EK-xrrajtht.js} +1277 -15
  14. package/dist/{de-VQWT6L5Y-mch4qwyv.js → de-IQ44WEAK-ayb953tp.js} +19 -4
  15. package/dist/{de-3CU65EDB-r7r10am9.js → de-T4OCQPNU-hrqdjart.js} +6 -6
  16. package/dist/{debug-conversation-trigger-62ebex43.js → debug-conversation-trigger-j20ms2xc.js} +4 -9
  17. package/dist/{debug-http-client-ykzhg1zx.js → debug-http-client-fypqjmfs.js} +6 -5
  18. package/dist/{debug-service-xq8vhrkq.js → debug-service-zv5hj0cx.js} +11 -6
  19. package/dist/{edge-service-ytvdz98e.js → edge-service-706zfmyb.js} +41 -31
  20. package/dist/{elk.bundled-phy0zc81.js → elk.bundled-pfmz610v.js} +1 -1
  21. package/dist/{en-LAVDF7IQ-ba7wzsxp.js → en-5JIPZTS5-v0f9wmd2.js} +4 -2
  22. package/dist/{en-X6T4SP2Y-FPGCJIFV-jgjgvnws.js → en-ETY46SDS-RI6EZCN6-g3n0v4ff.js} +67 -3
  23. package/dist/{en-X6T4SP2Y-xe57av1w.js → en-ETY46SDS-yfqhqvbx.js} +66 -2
  24. package/dist/{en-WPCQ4JKF-nr4tr5vp.js → en-JZXY3PYE-9q1q9w7h.js} +4 -4
  25. package/dist/{en-LQHKFSEY-vv8bbfdf.js → en-LQHKFSEY-j7gk3aaw.js} +1 -1
  26. package/dist/{en-U2NSIIZN-whenw6wh.js → en-T6VSEF3E-1hq4zfrt.js} +5 -3
  27. package/dist/{es-SPNKTD5Y-vw5cbgv5.js → es-AQW6PFIU-q2mz247f.js} +164 -2
  28. package/dist/{es-7ZTQTGKN-TXQBFYRA-n0bw44wg.js → es-IYP2OLUY-7SKYGF6A-jp5kcwrd.js} +1272 -11
  29. package/dist/{es-7ZTQTGKN-11sj0yjx.js → es-IYP2OLUY-98xsbyd5.js} +1271 -10
  30. package/dist/{es-MX-S2RFDGDE-x9r0tv30.js → es-MX-A2DFN7CA-q5m62f60.js} +19 -4
  31. package/dist/{es-MX-IHGRIEWH-23X37OPS-zmw94959.js → es-MX-D2MN3U37-0y5q0nbe.js} +1276 -15
  32. package/dist/{es-MX-IHGRIEWH-g63p0gb4.js → es-MX-D2MN3U37-D74A6FRL-1r3g7760.js} +1281 -10
  33. package/dist/{es-MX-7KJZPEQN-1fq0a9jr.js → es-MX-KWITVBWE-w49gknha.js} +164 -2
  34. package/dist/{es-MX-F7ZEHSNE-gxpm47vv.js → es-MX-YQNHSXDT-fd5ybreb.js} +6 -6
  35. package/dist/{es-EP563JWQ-1agj5n4e.js → es-TNUPGHGG-886me0sq.js} +19 -4
  36. package/dist/{es-KHVY67FO-natcvmmm.js → es-YHECPVFB-7jsrxa01.js} +6 -6
  37. package/dist/extraction-availability-service-h08mngty.js +343 -0
  38. package/dist/{flow-api-1hr7z6qc.js → flow-api-bmg7beey.js} +15 -12
  39. package/dist/{flow-debug-service-p5w8gj48.js → flow-debug-service-bppp59pe.js} +232 -156
  40. package/dist/flow-eval-node-target-hc9n1913.js +31 -0
  41. package/dist/flow-eval-run-api-g6sphtf3.js +11 -0
  42. package/dist/{flow-eval-run-service-ej6xg2jd.js → flow-eval-run-service-qdtz7ec7.js} +116 -119
  43. package/dist/{flow-eval-service-vf73ejad.js → flow-eval-service-mg7gveh3.js} +141 -337
  44. package/dist/{flow-init-sdk-source-vg1ckdrf.js → flow-init-sdk-source-t2q2w6v7.js} +5 -5
  45. package/dist/flow-init-service-0m5yp9fe.js +27 -0
  46. package/dist/flow-io-c8b17vbx.js +29 -0
  47. package/dist/{flow-migrate-service-fsxzyj9c.js → flow-migrate-service-a8s4rmq6.js} +20 -20
  48. package/dist/{flow-pack-service-09b385hw.js → flow-pack-service-jhr4rmsy.js} +89 -90
  49. package/dist/flow-validate-service-hpt8dqyr.js +49 -0
  50. package/dist/{fr-7LK3QUWT-a94yejcs.js → fr-EPBGOBOP-rs7qy97k.js} +19 -4
  51. package/dist/{fr-7ZDL4MVO-pd27vwh6.js → fr-NISALSPL-3ANDQPI3-993fw1pz.js} +1282 -10
  52. package/dist/{fr-7ZDL4MVO-CXMRZDOF-y6pa4ntx.js → fr-NISALSPL-vzfmygd7.js} +1277 -15
  53. package/dist/{fr-AXJGUT53-hdg3pmd4.js → fr-RNWK2TMC-dpyzj366.js} +164 -2
  54. package/dist/{fr-I42FODC5-p80x5v4b.js → fr-W3AFCEDL-cjfr0xqp.js} +6 -6
  55. package/dist/{governance-fetcher-v88cz998.js → governance-fetcher-hkm1hvn0.js} +7 -7
  56. package/dist/{headless-41t9wwb7.js → headless-23ywyx9h.js} +390 -195
  57. package/dist/{hitl-service-5symf9as.js → hitl-service-hs54d6tt.js} +11 -11
  58. package/dist/index-7enyyjxr.js +161 -0
  59. package/dist/{index-wss1mf5j.js → index-b02kt4sx.js} +114 -68
  60. package/dist/{index-qjarp6ky.js → index-cg965dhq.js} +34 -27
  61. package/dist/{index-t2f7scza.js → index-db1djbzm.js} +12 -8
  62. package/dist/{index-r44xc976.js → index-eyjrdzgx.js} +5 -5
  63. package/dist/{index-7fet3f0s.js → index-h67w2p9p.js} +3 -3
  64. package/dist/{index-f5kq7265.js → index-r6crd7tx.js} +6 -4
  65. package/dist/{index-ng011fzs.js → index-r6y07e14.js} +94 -74
  66. package/dist/{index-5pzp2qeb.js → index-v3w1930f.js} +18 -18
  67. package/dist/{index-d4bdedx3.js → index-ynw2efd8.js} +6 -4
  68. package/dist/{index-2methrrt.js → index-zemcat7k.js} +13 -11
  69. package/dist/index.js +16 -14
  70. package/dist/{index.umd.min-ttg1qc0x.js → index.umd.min-5yxdz5j3.js} +1 -1
  71. package/dist/init.js +18 -17
  72. package/dist/{inline-entity-resolver-pya7frj9.js → inline-entity-resolver-9esjm2e7.js} +11 -11
  73. package/dist/input-reader-3zvbsn6a.js +12 -0
  74. package/dist/integration-service-fetcher-h6er48b7.js +65 -0
  75. package/dist/{ja-C7GZV6YP-hvtbngr5.js → ja-DH4I3GEF-ywyhhppa.js} +164 -2
  76. package/dist/{ja-LGAM5HKR-sgrtjqjh.js → ja-HTS2Q4YG-4ahnq47y.js} +1277 -10
  77. package/dist/{ja-LGAM5HKR-NTPKIZEM-mrdn9rvy.js → ja-HTS2Q4YG-7Q6WUI6H-6e5nzy0t.js} +1278 -11
  78. package/dist/{ja-WY2W6733-ayr36h1f.js → ja-HWFIXC2V-gg9xvhsv.js} +19 -4
  79. package/dist/{ja-GI3OUHPZ-28fy60r0.js → ja-WOANIGX4-qnyzk2t8.js} +6 -6
  80. package/dist/{jmespath-wwym30dp.js → jmespath-dbsejrwn.js} +1 -1
  81. package/dist/json-input-pj18qjt0.js +17 -0
  82. package/dist/{known-types-v9sxcq1c.js → known-types-pen5h5kz.js} +4 -4
  83. package/dist/{ko-7B4SUZB7-2SLI636D-479c9akr.js → ko-3JFGTMNY-VT6UQ3IS-5a2hnf97.js} +1272 -11
  84. package/dist/{ko-7B4SUZB7-c8wr20sc.js → ko-3JFGTMNY-qnf1bnef.js} +1271 -10
  85. package/dist/{ko-H2RGQWKJ-9696w762.js → ko-L3BMYD3Q-exfhqfbh.js} +19 -4
  86. package/dist/{ko-Q24HSSL4-5vn55pte.js → ko-R5BCWVO7-whzgmh6q.js} +164 -2
  87. package/dist/{ko-RYKAL74T-10m4z8vw.js → ko-RMOVRC7M-whyynn7n.js} +6 -6
  88. package/dist/library-option-9fqvdh8v.js +14 -0
  89. package/dist/localization-axzmx1mb.js +45 -0
  90. package/dist/{maestro-automate-entry-d1v5q5mv.js → maestro-automate-entry-mrap5xmt.js} +2 -2
  91. package/dist/manifest-hmeqvk74.js +60 -0
  92. package/dist/node-service-bq7m24js.js +65 -0
  93. package/dist/{node-strategy-wrjxmbzt.js → node-strategy-2r78gtca.js} +2 -2
  94. package/dist/{node-sync-service-z3gjn1a6.js → node-sync-service-6v7j8m4p.js} +22 -15
  95. package/dist/node-xzwyr0mf.js +172 -0
  96. package/dist/{packager-tool-h44jmvjd.js → packager-tool-0g2grsn8.js} +2 -2
  97. package/dist/packager-tool-0x8g8b5r.js +25 -0
  98. package/dist/packager-tool-13mmsykc.js +125 -0
  99. package/dist/{packager-tool-vgrswa8p.js → packager-tool-1db1wqdy.js} +30 -8
  100. package/dist/packager-tool-1yew22sn.js +9 -0
  101. package/dist/packager-tool-2devymwf.js +423 -0
  102. package/dist/{packager-tool-14rdgz3c.js → packager-tool-3sxg16ft.js} +7 -7
  103. package/dist/packager-tool-40bxn7j2.js +63 -0
  104. package/dist/{packager-tool-6an893wm.js → packager-tool-4f4jp7ez.js} +3 -3
  105. package/dist/{packager-tool-pxq0bwp0.js → packager-tool-4hn7v05x.js} +16 -9
  106. package/dist/packager-tool-4skf6ak1.js +31 -0
  107. package/dist/{packager-tool-951nhh3e.js → packager-tool-5n1v6y3q.js} +1 -1
  108. package/dist/{packager-tool-2b0tn4p4.js → packager-tool-6azsz9h8.js} +7 -7
  109. package/dist/{packager-tool-54jdtyk4.js → packager-tool-7d6y5paj.js} +11 -11
  110. package/dist/{packager-tool-ac6rvny7.js → packager-tool-7re5d8aq.js} +1139 -466
  111. package/dist/{packager-tool-6an563h8.js → packager-tool-7wpb19zf.js} +10 -3
  112. package/dist/packager-tool-9tv5cyhr.js +16 -0
  113. package/dist/{packager-tool-7atc775f.js → packager-tool-ajx79m52.js} +1 -1
  114. package/dist/{packager-tool-96es3aqy.js → packager-tool-asfftv7z.js} +330 -902
  115. package/dist/{packager-tool-zx162jbb.js → packager-tool-b0prefcm.js} +489 -118
  116. package/dist/packager-tool-bbq5kbb9.js +318 -0
  117. package/dist/{packager-tool-xhrm7cgz.js → packager-tool-bcsjm5hv.js} +470 -315
  118. package/dist/{packager-tool-xdaxdc00.js → packager-tool-bn09xgy8.js} +14 -14
  119. package/dist/{packager-tool-1qg04b7q.js → packager-tool-bzcphfa8.js} +4 -2
  120. package/dist/{node-vz9f9wqw.js → packager-tool-cpbsp04w.js} +189 -285
  121. package/dist/{packager-tool-gdpw0daf.js → packager-tool-dmhmcav3.js} +3773 -2625
  122. package/dist/{packager-tool-m1y5ah6s.js → packager-tool-f3htkspn.js} +215 -233
  123. package/dist/{packager-tool-710j2ga4.js → packager-tool-f4pvpaw2.js} +1123 -295
  124. package/dist/packager-tool-geh2qybm.js +179 -0
  125. package/dist/{packager-tool-1rhch6b5.js → packager-tool-gjjr2a2w.js} +66 -19
  126. package/dist/packager-tool-h0gzqmya.js +224 -0
  127. package/dist/packager-tool-h9f2vjwg.js +40 -0
  128. package/dist/{packager-tool-ndenq8jp.js → packager-tool-jf4m7sqc.js} +23 -9
  129. package/dist/{packager-tool-swn9mp69.js → packager-tool-jghqgdmm.js} +228 -487
  130. package/dist/{packager-tool-64r7e4ek.js → packager-tool-jjnfwfd4.js} +2 -2
  131. package/dist/packager-tool-kh1taypp.js +41 -0
  132. package/dist/{packager-tool-pdt4jmnw.js → packager-tool-m2h98d2z.js} +246 -61
  133. package/dist/packager-tool-m8avdf10.js +1060 -0
  134. package/dist/{packager-tool-g18z2qds.js → packager-tool-ma1z6nqe.js} +2 -2
  135. package/dist/{packager-tool-9m5vba43.js → packager-tool-md1vcqh4.js} +233 -14
  136. package/dist/{packager-tool-4g87fbz6.js → packager-tool-mm6a12y4.js} +8 -8
  137. package/dist/{packager-tool-2n6eg5eq.js → packager-tool-mvzswn9n.js} +134 -68
  138. package/dist/packager-tool-p8ncdnsj.js +30 -0
  139. package/dist/{packager-tool-vdp3s2fb.js → packager-tool-px52tjy2.js} +9 -7
  140. package/dist/{packager-tool-rfs464c3.js → packager-tool-qf08dexq.js} +584 -651
  141. package/dist/{packager-tool-m126jzdd.js → packager-tool-qkdbfkev.js} +14 -11
  142. package/dist/{packager-tool-7mxn3e7j.js → packager-tool-qtz83h01.js} +4 -2
  143. package/dist/{packager-tool-hk0fnvz5.js → packager-tool-qx8wvedy.js} +1 -1
  144. package/dist/{packager-tool-q2kwk5bf.js → packager-tool-qyhvgenw.js} +6 -4
  145. package/dist/{packager-tool-6pyaaxzk.js → packager-tool-rcjtmknf.js} +351 -42
  146. package/dist/packager-tool-swvgkcq7.js +5973 -0
  147. package/dist/{packager-tool-fzgfb0jt.js → packager-tool-t0e7fvqz.js} +1228 -759
  148. package/dist/{packager-tool-p123mtfx.js → packager-tool-tgawhrva.js} +58 -16
  149. package/dist/{packager-tool-s4zvbgvd.js → packager-tool-tm4d12jb.js} +15328 -7171
  150. package/dist/{packager-tool-8ra2qxqe.js → packager-tool-v7gxvkpx.js} +13 -13
  151. package/dist/{packager-tool-yewnsyag.js → packager-tool-vg16h3pk.js} +80 -6
  152. package/dist/packager-tool-w2eqf95v.js +16 -0
  153. package/dist/packager-tool-wvf6b31h.js +50 -0
  154. package/dist/{packager-tool-ejvmkxgg.js → packager-tool-wz5zmx67.js} +10 -10
  155. package/dist/packager-tool-xgh2t48c.js +255 -0
  156. package/dist/{packager-tool-w9bkq7zb.js → packager-tool-xgvp8a8g.js} +10 -10
  157. package/dist/{packager-tool-sehmpn8j.js → packager-tool-y84mhf89.js} +8 -8
  158. package/dist/packager-tool-ys7jsqhg.js +184 -0
  159. package/dist/{packager-tool-ze3fnf3s.js → packager-tool-zap4kd3z.js} +7 -2
  160. package/dist/{packager-tool-6g2ex7yf.js → packager-tool-zgm6kh18.js} +21 -21
  161. package/dist/{packager-tool-dr3zc9n9.js → packager-tool-zgzpqfcs.js} +13 -6
  162. package/dist/packager-tool.js +9 -9
  163. package/dist/{prepare-uip-ad7mfs8t.js → prepare-uip-8frvq826.js} +39 -6
  164. package/dist/provision-node-service-sxnfgrwy.js +86 -0
  165. package/dist/{pt-2RGHDOG4-gwe2ptvg.js → pt-6RCFX6CY-v42k92ey.js} +19 -4
  166. package/dist/{pt-BR-BIUJXIPU-2sqzhr8y.js → pt-BR-6TBBEDQS-y3f2vg5d.js} +164 -2
  167. package/dist/{pt-BR-PHLFHMXZ-JFPKUXIZ-1k5yafmz.js → pt-BR-7H7BP5DT-IOHWNCIU-pbdnhe7r.js} +1277 -11
  168. package/dist/{pt-BR-PHLFHMXZ-n6de4s7z.js → pt-BR-7H7BP5DT-z2e5aaj1.js} +1276 -10
  169. package/dist/{pt-BR-JWHVZE6H-gvkknv49.js → pt-BR-HDVM5NFA-azfx4gg9.js} +19 -4
  170. package/dist/{pt-BR-IL3KLBID-m1mvqqzb.js → pt-BR-HJIMGPPX-s18rb4vg.js} +6 -6
  171. package/dist/{pt-VLA5IOHO-8t4pze0h.js → pt-DZG5FPWK-6czrqk2t.js} +6 -6
  172. package/dist/{pt-N7ZTJT4W-GVODJMRX-jge952w8.js → pt-QWGSZKMD-RTKSQCYA-80hp6e1q.js} +1272 -11
  173. package/dist/{pt-N7ZTJT4W-d6c67xcn.js → pt-QWGSZKMD-m50nrkx8.js} +1271 -10
  174. package/dist/{pt-MHX6JGAX-xfgvdqwg.js → pt-ZSQC5RZ3-8kp3g1z5.js} +164 -2
  175. package/dist/{ro-FLNXVYJI-ZN43XZKK-bmkd7d2n.js → ro-B7G474JK-9k2jjk88.js} +1271 -15
  176. package/dist/{ro-FLNXVYJI-ytrwabg2.js → ro-B7G474JK-Q3BAA4S3-t47bbx2a.js} +1276 -10
  177. package/dist/{ro-53TS7SWG-hnjx1c7b.js → ro-EEKX2X3R-tz9prn67.js} +19 -4
  178. package/dist/{ro-3RKJNGJZ-xqj14e3d.js → ro-P33AQ6ZL-s92z1mgg.js} +164 -2
  179. package/dist/{ro-IRNFX376-mh84zk3n.js → ro-SX7RUXGR-kknxsr3g.js} +6 -6
  180. package/dist/ru-FNRVPXE5-7q150qf8.js +7 -0
  181. package/dist/ru-GSCT4ARZ-6OTD7JLB-cdcpfwx0.js +12 -0
  182. package/dist/schema-document-service-mknqzg7e.js +30 -0
  183. package/dist/{serialization-Z3UYT6BW-e1ks0ytt.js → serialization-7CB4AREI-6b7ng26y.js} +482 -6161
  184. package/dist/services/binding-id-rule.d.ts +13 -0
  185. package/dist/services/binding-resource-types.d.ts +12 -0
  186. package/dist/services/extract-schema/default-schema-document.d.ts +9 -4
  187. package/dist/services/extract-schema/types.d.ts +73 -0
  188. package/dist/services/extract-schema/validate-schema-document.d.ts +75 -0
  189. package/dist/services/flow-scopes.d.ts +15 -0
  190. package/dist/services/flow-structure-checks.d.ts +8 -0
  191. package/dist/services/flow-validate-service.d.ts +44 -11
  192. package/dist/services/idp-processor-provisioning.d.ts +35 -0
  193. package/dist/services/node-service.d.ts +17 -23
  194. package/dist/services/node-validators/extract-schema-validator.d.ts +13 -0
  195. package/dist/services/node-validators/index.d.ts +1 -0
  196. package/dist/services/node-validators/js-expression-syntax-validator.d.ts +2 -1
  197. package/dist/services/node-validators/types.d.ts +2 -7
  198. package/dist/services/vars-reference-rule.d.ts +6 -0
  199. package/dist/solution-auth-k0s83ake.js +11 -0
  200. package/dist/{solution-discovery-wwwynadq.js → solution-discovery-v5qatmz2.js} +7 -7
  201. package/dist/taggable-variables-nc8td6er.js +134 -0
  202. package/dist/{tidy-service-0xqfd039.js → tidy-service-rsxb2h63.js} +17 -18
  203. package/dist/tool.js +16 -14
  204. package/dist/{tr-PIQY7JIT-2mkwk0kq.js → tr-B6TLBSLH-1797wxkh.js} +19 -4
  205. package/dist/{tr-7AIZZWZ6-pdzp9n0p.js → tr-FX7WCKK2-CEOTUJRD-5ctjnkng.js} +1276 -10
  206. package/dist/{tr-7AIZZWZ6-ESAESUPL-0ehs3crp.js → tr-FX7WCKK2-x3rx9fjt.js} +1271 -15
  207. package/dist/{tr-EJKY7DVQ-rkctqva4.js → tr-OUB57VJ6-52t7zdzb.js} +6 -6
  208. package/dist/{tr-PQLUUHPC-qsb7btxn.js → tr-XD73CQAA-tb2nrpyp.js} +164 -2
  209. package/dist/utils/handle-expansion.d.ts +2 -2
  210. package/dist/validation.js +42 -39
  211. package/dist/{variable-service-wek1apw7.js → variable-service-95j5nyjh.js} +17 -12
  212. package/dist/{wait-for-flow-job-vy4t4tbj.js → wait-for-flow-job-k990nmdn.js} +15 -12
  213. package/dist/{zh-CN-NIEVKROA-q4tbbwqz.js → zh-CN-7KN22KSH-mwvgyym6.js} +19 -4
  214. package/dist/{zh-CN-4FH7E7UL-84y6j2ea.js → zh-CN-FKWWWLFR-n15rj6p8.js} +6 -6
  215. package/dist/{zh-CN-OHNTHZRI-b0hjkfqn.js → zh-CN-GWP3B2EM-c07fm17a.js} +164 -2
  216. package/dist/{zh-CN-CN2ARPFS-e0p2qrxf.js → zh-CN-NCMB6YM5-BB2LRIMQ-phrmedm3.js} +1276 -10
  217. package/dist/{zh-CN-CN2ARPFS-NIQTWDK2-zmcqpd02.js → zh-CN-NCMB6YM5-drw9bnxg.js} +1271 -15
  218. package/dist/{zh-TW-E4D3Y6ZR-tn3bmzz5.js → zh-TW-2DLUOA7C-9khqnr4r.js} +164 -2
  219. package/dist/{zh-TW-5WQA6QTM-hns69sd4.js → zh-TW-52QTEYIZ-2mj7hy3e.js} +6 -6
  220. package/dist/{zh-TW-MSQM7YTT-m7r7nwnj.js → zh-TW-I7BH3XP2-7rb4xpzg.js} +19 -4
  221. package/dist/{zh-TW-7RUFEVFK-VKVRSVTP-dg651ga1.js → zh-TW-UNIEJPLE-4vxzbphe.js} +1272 -16
  222. package/dist/{zh-TW-7RUFEVFK-qd7myw31.js → zh-TW-UNIEJPLE-ECGOEPYS-xxye2kfv.js} +1277 -11
  223. package/package.json +2 -2
  224. package/dist/flow-eval-node-target-xxzqch9z.js +0 -29
  225. package/dist/flow-eval-run-api-w4j8ra60.js +0 -9
  226. package/dist/flow-init-service-1zyc9wcd.js +0 -26
  227. package/dist/flow-io-27atafz4.js +0 -24
  228. package/dist/flow-validate-service-6erwscc6.js +0 -46
  229. package/dist/input-reader-jjq3r7ry.js +0 -11
  230. package/dist/localization-erchshqr.js +0 -45
  231. package/dist/node-service-qtpqs5en.js +0 -64
  232. package/dist/packager-tool-2sazb7th.js +0 -2
  233. package/dist/packager-tool-9217bxm2.js +0 -6
  234. package/dist/packager-tool-cvh1a0nm.js +0 -16
  235. package/dist/packager-tool-d07g2kpn.js +0 -25
  236. package/dist/packager-tool-f7rk9xhv.js +0 -50
  237. package/dist/packager-tool-f9mgybn8.js +0 -18
  238. package/dist/packager-tool-jd3v0bh1.js +0 -26
  239. package/dist/packager-tool-k3egwd1m.js +0 -15
  240. package/dist/packager-tool-q0f1dvtd.js +0 -40
  241. package/dist/packager-tool-q756a7tg.js +0 -56
  242. package/dist/packager-tool-wr7gn964.js +0 -2
  243. package/dist/packager-tool-zw2zy3h2.js +0 -461
  244. package/dist/ru-GSCT4ARZ-FTVCGQTL-p9re6ys2.js +0 -12
  245. package/dist/ru-T73OPRTC-50m7tty9.js +0 -7
  246. package/dist/services/connector-request-buckets.d.ts +0 -1
  247. package/dist/services/flow-eval-file-store.d.ts +0 -1
  248. package/dist/services/inline-entity-resolver.d.ts +0 -22
  249. package/dist/services/packaging-utils.d.ts +0 -130
  250. package/dist/services/preview-id-rule.d.ts +0 -33
  251. package/dist/services/ui-only-node-types.d.ts +0 -1
  252. package/dist/solution-auth-j8x84n5z.js +0 -11
  253. package/dist/utils/flow-io.d.ts +0 -19
  254. 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