@uipath/maestro-tool 1.202.1 → 1.203.0-preview.160

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 (281) hide show
  1. package/README.md +8 -0
  2. package/dist/THIRD-PARTY-NOTICES.md +254 -9
  3. package/dist/{authoring-y3ryfdt0.js → authoring-at68vr5g.js} +7 -5
  4. package/dist/{authoring-k357kqhs.js → authoring-sh284a0x.js} +3 -3
  5. package/dist/{authoring-p4w2zfvc.js → authoring-szfy0rh1.js} +5 -5
  6. package/dist/{binding-service-mys9xgtq.js → binding-service-c0z7stnc.js} +40 -32
  7. package/dist/{bpmn-action-type-validator-kx36sqhe.js → bpmn-action-type-validator-8kvyvvcf.js} +2 -2
  8. package/dist/bpmn-binding-resolver-t47t2myw.js +145 -0
  9. package/dist/{bpmn-branch-2ebce3qk.js → bpmn-branch-jpy1pe3a.js} +50 -44
  10. package/dist/bpmn-format-service-ay6jd9he.js +69 -0
  11. package/dist/{bpmn-refresh-service-56cah1yc.js → bpmn-refresh-service-ak1ctkwg.js} +4 -4
  12. package/dist/{bpmn-update-metadata-service-zrpe3te9.js → bpmn-update-metadata-service-hqe4edze.js} +6 -5
  13. package/dist/{bpmn-validate-service-ye7g6xqv.js → bpmn-validate-service-48sfy3a2.js} +3 -3
  14. package/dist/{case-api-04304252.js → case-api-e3fmq685.js} +6 -6
  15. package/dist/case-bindings-service-nswc6v0v.js +240 -0
  16. package/dist/case-debug-studio-web-service-08wx4631.js +135 -0
  17. package/dist/case-format-service-6s5e1ckk.js +84 -0
  18. package/dist/{case-pack-service-jvtttcen.js → case-pack-service-sg435he1.js} +62 -11
  19. package/dist/{case-validate-service-tc5fkzzn.js → case-validate-service-4hrqw17n.js} +1424 -42
  20. package/dist/{connector-enrichment-service-eqmw407z.js → connector-enrichment-service-q6hk89ev.js} +27 -26
  21. package/dist/{connector-lookup-service-r4wtr37y.js → connector-lookup-service-az5mj4ps.js} +5 -5
  22. package/dist/{connector-service-3bgm62za.js → connector-service-3rsy4dnt.js} +227 -59
  23. package/dist/{connector-task-spec-719etyhq.js → connector-task-spec-ks0pv0fn.js} +27 -26
  24. package/dist/{conversion-QANACVCM-vmngxta7.js → conversion-FQTRFHRX-0y9br7gw.js} +209 -125
  25. package/dist/{de-6U7ECGHH-xwsw33fk.js → de-B3EKCNFC-zdwybhh7.js} +7 -4
  26. package/dist/{de-7XQXX2DK-IDWR6CAR-n4z245kt.js → de-FGHEJRCI-PK6WALXW-0dnvnmke.js} +153 -9
  27. package/dist/de-FGHEJRCI-gn4cf5gh.js +2697 -0
  28. package/dist/{de-7XQXX2DK-tqdy5n2b.js → de-FGHEJRCI-rv513mfh.js} +153 -9
  29. package/dist/{de-5KVP66U6-1bnf4zt5.js → de-MUJPA4EB-209jpeqe.js} +14 -2
  30. package/dist/de-MUJPA4EB-dpg7t2rw.js +173 -0
  31. package/dist/{de-HKTOVV4H-pe9w0xn8.js → de-VMMG2MN7-2ecwpg1b.js} +2 -5
  32. package/dist/{de-XLT4QPIP-kj81dxjc.js → de-XNTCMP5Z-xfkfqg20.js} +7 -4
  33. package/dist/{debug-conversation-trigger-4wwf0q8y.js → debug-conversation-trigger-trg7dtpz.js} +20 -17
  34. package/dist/{debug-http-client-mad6ks68.js → debug-http-client-7dvbwp96.js} +2 -2
  35. package/dist/{debug-service-wgp53msz.js → debug-service-8cwxhgww.js} +3 -3
  36. package/dist/{edge-service-xn2a6p72.js → edge-service-3dw3d111.js} +20 -17
  37. package/dist/{index-1w6v1x0s.js → embedded-file-reader-0sjt4nkj.js} +96 -16641
  38. package/dist/en-BPJVY3U7-xkpj5xc5.js +52 -0
  39. package/dist/{en-5ZGC5VQ3-h581y30k.js → en-BWGKA5OE-1qkvb9rn.js} +140 -2
  40. package/dist/{en-P4AS26D7-zptp77bm.js → en-E454CJNK-ytfw06kj.js} +4 -2
  41. package/dist/en-FBPVNKFN-dqt573xn.js +138 -0
  42. package/dist/{en-X3S6IZ5J-nhkg6pwn.js → en-GN2ZGWUE-03z2df4k.js} +26 -2
  43. package/dist/en-TBNO2WUV-77KTKLDE-4ktf0pqw.js +1942 -0
  44. package/dist/{en-5ZGC5VQ3-EWX7ILY7-rmtj70fk.js → en-TBNO2WUV-9nan43e5.js} +141 -9
  45. package/dist/{enrichment-service-j7wtzbrp.js → enrichment-service-7n1tf75p.js} +4 -4
  46. package/dist/es-7SE7HX2X-8yh1aj2y.js +173 -0
  47. package/dist/{es-VFPNVMP5-bx2c337j.js → es-7SE7HX2X-qda7whn6.js} +14 -2
  48. package/dist/{es-NQICVYSQ-3dtqgget.js → es-EKHIPSW6-ya88nvm0.js} +7 -4
  49. package/dist/{es-PQ3RA33Q-y4kxhjfr.js → es-KEBF3AIM-g5rszh8f.js} +7 -4
  50. package/dist/es-KR3ZSNMP-0cszm2n3.js +2697 -0
  51. package/dist/{es-ZGCPPOME-8gazspjj.js → es-KR3ZSNMP-84zphx0x.js} +153 -9
  52. package/dist/{es-ZGCPPOME-24PJEGPV-rn86z9kn.js → es-KR3ZSNMP-QLWVVWKJ-5egs0gj9.js} +153 -9
  53. package/dist/es-MX-2MYFZU7X-3rek4r73.js +173 -0
  54. package/dist/{es-MX-XAVLOQW3-q00km2y7.js → es-MX-2MYFZU7X-6v0q5rbn.js} +14 -2
  55. package/dist/{es-MX-NHTIP5YM-ar6zfx95.js → es-MX-EL3CDS3F-sh84yvjr.js} +7 -4
  56. package/dist/{es-MX-OKNDG2NH-tcac6j4g.js → es-MX-OR6G2SFR-7yykk5ma.js} +7 -4
  57. package/dist/{es-MX-U2VN3SZW-anynsmd8.js → es-MX-XXZJGC4R-2mr8jtgm.js} +153 -9
  58. package/dist/{es-MX-U2VN3SZW-KYAJ2ONK-kdram1g1.js → es-MX-XXZJGC4R-W6EEIHXR-c2m4yjpj.js} +153 -9
  59. package/dist/es-MX-XXZJGC4R-b4fbwe9d.js +2697 -0
  60. package/dist/{es-MX-H2EAXLYI-j42kfkxy.js → es-MX-ZP2LJ3V7-k4brnfa9.js} +2 -5
  61. package/dist/{es-O4PAV2CR-0g23ve3v.js → es-WY6FZ3HO-zksnn6dp.js} +2 -5
  62. package/dist/first-party-service-srxaftkn.js +27 -0
  63. package/dist/{flow-api-m53t2xq7.js → flow-api-4vkpbmt3.js} +7 -7
  64. package/dist/{flow-debug-service-yk2d27p1.js → flow-debug-service-1g74z9hb.js} +69 -44
  65. package/dist/flow-eval-node-target-78wzk9ty.js +53 -0
  66. package/dist/flow-eval-run-api-hashjgq1.js +13 -0
  67. package/dist/{flow-eval-run-service-86tpst0m.js → flow-eval-run-service-rvcda2b1.js} +112 -227
  68. package/dist/{flow-eval-service-y6ex6rke.js → flow-eval-service-ajqvn959.js} +349 -305
  69. package/dist/{flow-init-service-mpf8h2rc.js → flow-init-service-ay66vk4h.js} +25 -21
  70. package/dist/flow-io-72c6farh.js +41 -0
  71. package/dist/{flow-migrate-service-6j2rpfzt.js → flow-migrate-service-qa4vbqzw.js} +21 -17
  72. package/dist/{flow-pack-service-1gnvp34k.js → flow-pack-service-e5faqsbn.js} +46 -38
  73. package/dist/flow-validate-service-56h12b9y.js +3555 -0
  74. package/dist/{fr-R4L3OAWI-30khpsmn.js → fr-DPD4GHX3-exeypjwk.js} +7 -4
  75. package/dist/{fr-PFHIL7YZ-2n589p47.js → fr-IHD66TVT-vfvmefbx.js} +7 -4
  76. package/dist/fr-MDFKNZ4C-h4a122k9.js +173 -0
  77. package/dist/{fr-E5MDO4EG-c3mkty2t.js → fr-MDFKNZ4C-qmypp92m.js} +14 -2
  78. package/dist/{fr-5YRGHXF5-kz1ywpv6.js → fr-PRMYCRDC-0bk078by.js} +2 -5
  79. package/dist/{fr-T3G5GZCT-y3f7xb1q.js → fr-Y6NPVODW-8vr1ja4b.js} +153 -9
  80. package/dist/{fr-T3G5GZCT-TU4IKBEG-k6xz1s1f.js → fr-Y6NPVODW-AS7T42TR-v4qe2tha.js} +153 -9
  81. package/dist/fr-Y6NPVODW-q5ef3htr.js +2697 -0
  82. package/dist/{governance-fetcher-hx85sbpf.js → governance-fetcher-1awt4rwk.js} +5 -4
  83. package/dist/{headless-h1h3kfw1.js → headless-627q5my5.js} +43066 -1733
  84. package/dist/{hitl-service-f3zvaq6r.js → hitl-service-47e4ttcc.js} +19 -16
  85. package/dist/{index-4g3wd82s.js → index-24xaxtye.js} +6 -4
  86. package/dist/{index-eybzsdcc.js → index-55cym5j7.js} +66 -6
  87. package/dist/{index-4x4kd9c1.js → index-7da02wtf.js} +36 -33
  88. package/dist/{index-wazjha2r.js → index-9f94yk28.js} +3 -3
  89. package/dist/{index-1kgxzh8x.js → index-fz4ttsde.js} +14 -2
  90. package/dist/index-gvwc29bb.js +16742 -0
  91. package/dist/index-j4007ag1.js +2961 -0
  92. package/dist/index-kmp9fmhb.js +25 -0
  93. package/dist/{index-938ee96p.js → index-rtg24r4x.js} +1 -1
  94. package/dist/{index-4zrwgb3c.js → index-ymsd3pyx.js} +12 -15
  95. package/dist/index.js +3 -3
  96. package/dist/{input-reader-hvv2vb7w.js → input-reader-7pzkcw6t.js} +1 -1
  97. package/dist/{input-reader-81w89fjj.js → input-reader-j8rvde4z.js} +1 -1
  98. package/dist/{ja-SDAPAVCR-kg39dfap.js → ja-HFEQKCZF-hb2f25p8.js} +2 -5
  99. package/dist/{ja-P4OSE367-srr3qypg.js → ja-JE5ZL7EY-hacj2m31.js} +7 -4
  100. package/dist/{ja-ZHKCBE5W-x73w6x3e.js → ja-MDG4BKZQ-gayaca2c.js} +7 -4
  101. package/dist/{ja-BI5K3JDZ-GTIHISTZ-s6n3r2ab.js → ja-Q5PXKJ2V-BR5GRIDQ-fgqqpryf.js} +153 -9
  102. package/dist/{ja-BI5K3JDZ-77zat4z2.js → ja-Q5PXKJ2V-p4msxzjd.js} +153 -9
  103. package/dist/ja-Q5PXKJ2V-tzf2rvz2.js +2697 -0
  104. package/dist/ja-UTQEAP34-8e0q6swp.js +173 -0
  105. package/dist/{ja-DPO5PPLO-mysfmznx.js → ja-UTQEAP34-hvyf683h.js} +14 -2
  106. package/dist/known-types-8dhhqk35.js +19 -0
  107. package/dist/ko-AXCHW2OK-askct7f6.js +173 -0
  108. package/dist/{ko-ITOPNIYI-hmxd2asd.js → ko-AXCHW2OK-pkwdcbmx.js} +14 -2
  109. package/dist/{ko-JOBF5V7N-4bv0mjje.js → ko-AYBDSRZG-41mdmsg1.js} +153 -9
  110. package/dist/{ko-JOBF5V7N-O7T4HKIE-ape840y0.js → ko-AYBDSRZG-G43C3XUW-kng13fsg.js} +153 -9
  111. package/dist/ko-AYBDSRZG-am0h0m2r.js +2697 -0
  112. package/dist/{ko-NAGOZLC3-gaxxsnd2.js → ko-B4SEC7QX-thq2wt6a.js} +2 -5
  113. package/dist/{ko-PYOS2KJP-e7dshyxy.js → ko-DJJRKCG5-5h3k9csc.js} +7 -4
  114. package/dist/{ko-6W7OGLLB-mnmqc584.js → ko-LA5OSS5P-mq5h8sbk.js} +7 -4
  115. package/dist/localization-y790z9vm.js +47 -0
  116. package/dist/{maestro-automate-entry-gwntzkvj.js → maestro-automate-entry-jehpbg37.js} +2 -2
  117. package/dist/{maestro-debug-service-5pjy4kp0.js → maestro-debug-service-bgy5m9yr.js} +10 -10
  118. package/dist/{maestro-pack-service-t13e86z1.js → maestro-pack-service-fkkc5g3v.js} +12 -6
  119. package/dist/{node-jkh8qtrz.js → node-9nanpy1r.js} +2344 -376
  120. package/dist/node-service-4da7dnbn.js +83 -0
  121. package/dist/node-sync-service-e9ahjwpp.js +41 -0
  122. package/dist/{packager-tool-xwyjkrqz.js → packager-tool-095jzn8v.js} +16 -6
  123. package/dist/{packager-tool-tb9ea902.js → packager-tool-0wqf8gzg.js} +3 -3
  124. package/dist/{packager-tool-y5f2qhfe.js → packager-tool-19030vpg.js} +32 -2
  125. package/dist/{packager-tool-m4gbq68e.js → packager-tool-32bhj948.js} +6 -3
  126. package/dist/{packager-tool-fs8d9nzm.js → packager-tool-4mkx0byv.js} +8 -7
  127. package/dist/packager-tool-4mna26cc.js +133 -0
  128. package/dist/{packager-tool-jm7twdzq.js → packager-tool-4r35ye9r.js} +5 -4
  129. package/dist/packager-tool-53w8skv5.js +262 -0
  130. package/dist/{packager-tool-4awh3ct6.js → packager-tool-56gcg9de.js} +1 -1
  131. package/dist/{packager-tool-tn5e7wnb.js → packager-tool-6rsegsby.js} +6 -7
  132. package/dist/{packager-tool-wp25zdm0.js → packager-tool-7jg2y8ht.js} +7 -7
  133. package/dist/packager-tool-7msx23gd.js +13 -0
  134. package/dist/packager-tool-7q6z6npd.js +1937 -0
  135. package/dist/packager-tool-8qp60s20.js +12 -0
  136. package/dist/{packager-tool-3hjbc16b.js → packager-tool-9pccpz3r.js} +1 -1
  137. package/dist/{packager-tool-ahj646v3.js → packager-tool-a45czjcj.js} +224 -213
  138. package/dist/{packager-tool-mt5pyyf2.js → packager-tool-c95fhhys.js} +30 -8
  139. package/dist/{packager-tool-pvjqhdxy.js → packager-tool-cmzzh4f8.js} +72 -73
  140. package/dist/{flow-validate-service-9wjnacww.js → packager-tool-cy6tee55.js} +1956 -3065
  141. package/dist/{packager-tool-nrvxycwb.js → packager-tool-d2813z49.js} +9 -9
  142. package/dist/packager-tool-d6qf5qmb.js +49 -0
  143. package/dist/{packager-tool-a42jnpy5.js → packager-tool-d88rqwk8.js} +29 -3
  144. package/dist/{packager-tool-7exrv6w7.js → packager-tool-dh5nppv4.js} +1 -1
  145. package/dist/{packager-tool-09xysehb.js → packager-tool-e3yks66r.js} +5 -3
  146. package/dist/{packager-tool-58q3tvh7.js → packager-tool-e87tzg4y.js} +159 -21
  147. package/dist/{packager-tool-2mt20rxw.js → packager-tool-fer9mdsq.js} +2 -2
  148. package/dist/packager-tool-fvm2dddf.js +6297 -0
  149. package/dist/packager-tool-g2x8jjnh.js +261 -0
  150. package/dist/packager-tool-gdtpsdn7.js +342 -0
  151. package/dist/{packager-tool-k2nmkphc.js → packager-tool-gpwec9sp.js} +214 -23
  152. package/dist/{packager-tool-spgs86me.js → packager-tool-gv5h7w1f.js} +2 -2
  153. package/dist/{packager-tool-r6q5qwad.js → packager-tool-h8x54cvx.js} +1 -1
  154. package/dist/packager-tool-hnyecbk6.js +88 -0
  155. package/dist/packager-tool-j78fwwhq.js +16 -0
  156. package/dist/packager-tool-jysvpt8p.js +11 -0
  157. package/dist/{packager-tool-jfv7t0c8.js → packager-tool-kb554twx.js} +94 -94
  158. package/dist/{packager-tool-k4x5yn3p.js → packager-tool-khm7zsm8.js} +4 -1
  159. package/dist/packager-tool-kj0qc4f4.js +269 -0
  160. package/dist/{packager-tool-a25ctv7h.js → packager-tool-maeb5k7d.js} +23 -5
  161. package/dist/{packager-tool-zj7v1k9j.js → packager-tool-mcjjj1hk.js} +4 -4
  162. package/dist/{packager-tool-bftjhmqz.js → packager-tool-mfrdmqmt.js} +124 -2
  163. package/dist/{packager-tool-k4sjzxvh.js → packager-tool-mj89jhvb.js} +1 -1
  164. package/dist/{packager-tool-ve35117x.js → packager-tool-mjz4hma1.js} +5791 -176
  165. package/dist/{packager-tool-2gg5em7a.js → packager-tool-n3vgkg69.js} +9 -9
  166. package/dist/{packager-tool-7p56pr16.js → packager-tool-njw7xs3h.js} +15 -56
  167. package/dist/{packager-tool-e0p2zsyc.js → packager-tool-p79yh9ww.js} +16 -16
  168. package/dist/packager-tool-paq9c70w.js +1332 -0
  169. package/dist/packager-tool-q3grhwzy.js +486 -0
  170. package/dist/{packager-tool-nmznynbj.js → packager-tool-qff6ang6.js} +1 -1
  171. package/dist/packager-tool-qrkjn9yp.js +21012 -0
  172. package/dist/{packager-tool-tcz1gmag.js → packager-tool-t1reqfpg.js} +31 -36
  173. package/dist/{packager-tool-knzxevgr.js → packager-tool-thewckmq.js} +6 -6
  174. package/dist/{packager-tool-yaxmsr2h.js → packager-tool-tqct19db.js} +10 -13
  175. package/dist/packager-tool-vcjq9xkc.js +1895 -0
  176. package/dist/{packager-tool-p9stswjj.js → packager-tool-vck7ct1e.js} +13248 -8037
  177. package/dist/{packager-tool-m5qfverj.js → packager-tool-vdc8r21p.js} +10279 -16112
  178. package/dist/{packager-tool-bay2m7j4.js → packager-tool-vqcnvaae.js} +11439 -6786
  179. package/dist/{packager-tool-7rz102fw.js → packager-tool-wd01egnx.js} +1 -1
  180. package/dist/{packager-tool-hd0smshj.js → packager-tool-wger1vt9.js} +7 -7
  181. package/dist/{packager-tool-7grhv1hg.js → packager-tool-wynrdnqj.js} +1 -1
  182. package/dist/packager-tool-x0eamrk4.js +104577 -0
  183. package/dist/packager-tool-x92czn5x.js +208 -0
  184. package/dist/{packager-tool-q1227jxk.js → packager-tool-xg76c38f.js} +5 -5
  185. package/dist/{packager-tool-4n32vhzt.js → packager-tool-xtkgeccn.js} +1 -1
  186. package/dist/packager-tool-y59jhapb.js +10369 -0
  187. package/dist/{packager-tool-h2gfp0j3.js → packager-tool-ygrrb1zh.js} +1 -1
  188. package/dist/{packager-tool-f0kd5kq4.js → packager-tool-yrsrzz1a.js} +127 -12
  189. package/dist/packager-tool-z185rq2a.js +180 -0
  190. package/dist/{packager-tool-35rk0942.js → packager-tool-z1wmsy2t.js} +310 -13
  191. package/dist/{packager-tool-r7rp3zz3.js → packager-tool-z6nkdv48.js} +270 -24
  192. package/dist/{packager-tool-z9bfhmm5.js → packager-tool-z83pga0z.js} +159 -21
  193. package/dist/packager-tool.js +78 -221
  194. package/dist/{project-artifacts-46mqbkmn.js → project-artifacts-h5cydk2n.js} +1 -1
  195. package/dist/{project-validator-0rkrfmj0.js → project-validator-ek97s27p.js} +1 -1
  196. package/dist/pt-3DIO5QWG-59b3f4bc.js +173 -0
  197. package/dist/{pt-YI4VE4YQ-wdkn2dcf.js → pt-3DIO5QWG-hb763vct.js} +14 -2
  198. package/dist/{pt-D6A6MVB2-yvxca8vz.js → pt-3KUMINBZ-d0fexmny.js} +7 -4
  199. package/dist/{pt-BR-Z3TUDJHM-8v73x9s7.js → pt-BR-3LGIH33I-tqbrd89y.js} +7 -4
  200. package/dist/{pt-BR-DXXSYJDO-a2tp13v7.js → pt-BR-6VFBW5QT-hsck9gjj.js} +2 -5
  201. package/dist/{pt-BR-7DYX2YPT-LZYH4YFD-bx43vx3z.js → pt-BR-TKHNHMET-4Z5H4N5G-pzw3328h.js} +153 -9
  202. package/dist/pt-BR-TKHNHMET-dn6zxk1d.js +2697 -0
  203. package/dist/{pt-BR-7DYX2YPT-fqxqzqtf.js → pt-BR-TKHNHMET-sn91xyq0.js} +153 -9
  204. package/dist/{pt-BR-UQCYHKMJ-q78n7q70.js → pt-BR-WNNZTIMN-6fent688.js} +7 -4
  205. package/dist/{pt-BR-BXURWX4W-bwfcwhk1.js → pt-BR-Y6K6XHXK-37a932vp.js} +14 -2
  206. package/dist/pt-BR-Y6K6XHXK-mp3hwhw1.js +173 -0
  207. package/dist/{pt-KSBWHAVQ-mhvhgr2p.js → pt-PFZXVOQH-qshq0b2m.js} +7 -4
  208. package/dist/{pt-HTXGGX6Y-97t21dty.js → pt-ROXU257Y-2f6bxev4.js} +153 -9
  209. package/dist/{pt-HTXGGX6Y-ZHQSDFKI-vehfxadc.js → pt-ROXU257Y-OWZOS54V-ywap2t39.js} +153 -9
  210. package/dist/pt-ROXU257Y-yd80gx6s.js +2697 -0
  211. package/dist/{pt-7TR74ZMB-bmphh4x2.js → pt-WOTPKWPZ-1rxcy8hs.js} +2 -5
  212. package/dist/{resourcesSyncService-6x7zvt1e.js → resourcesSyncService-kyycgp2r.js} +28 -27
  213. package/dist/{ro-VZUZTAMR-f4q0g3em.js → ro-AN5G62WQ-kcj00jwq.js} +7 -4
  214. package/dist/ro-AVAWPKOO-42m6am1w.js +2697 -0
  215. package/dist/{ro-KTNQ3MNU-XIE6YPQN-gen8p82z.js → ro-AVAWPKOO-6WCG756B-v7pjv1hc.js} +153 -9
  216. package/dist/{ro-KTNQ3MNU-y08n1x5g.js → ro-AVAWPKOO-b89pw79r.js} +153 -9
  217. package/dist/{ro-RKXZUG7Z-nndrrsq7.js → ro-BWR3ONRR-jmap5ajd.js} +14 -2
  218. package/dist/ro-BWR3ONRR-vzx3hy8a.js +173 -0
  219. package/dist/{ro-4TMBHS5M-jz0anpt6.js → ro-KMDT7LYJ-yhpnsdvw.js} +7 -4
  220. package/dist/{ro-BJFER5OI-83tq8vxh.js → ro-PB44YXML-zmhhwp5h.js} +2 -5
  221. package/dist/ru-GSCT4ARZ-jrxwev63.js +10 -0
  222. package/dist/ru-WBLQ5B2U-s4em88p0.js +10 -0
  223. package/dist/sdd-lookup-7h7j2h6v.js +48 -0
  224. package/dist/{serialization-J5QK3HPY-8kaqsdct.js → serialization-BXU6AKAN-0ghhrsja.js} +1996 -953
  225. package/dist/{shared-utils-p2hqmpb8.js → shared-utils-6z7gnnc8.js} +1 -1
  226. package/dist/{strict-case-rules-zxnq80zm.js → strict-case-rules-byym8cvc.js} +141 -109
  227. package/dist/strict-sdd-audit-v156c9e3.js +2520 -0
  228. package/dist/tidy-service-0g9z9gft.js +39 -0
  229. package/dist/{tool-xpmr8bsy.js → tool-x2r4fmev.js} +213 -51
  230. package/dist/{tool-hm0yzjxd.js → tool-z25z00na.js} +106 -146
  231. package/dist/tool.js +3 -3
  232. package/dist/tr-5IIHSFW5-hw4cewew.js +173 -0
  233. package/dist/{tr-AA6O2WSR-86ba4bdf.js → tr-5IIHSFW5-stsb3dar.js} +14 -2
  234. package/dist/{tr-XHSSPNK7-GW5KVXR3-2w3f1ss6.js → tr-JMIP7ZSL-G3QYPVT2-gswngwcr.js} +153 -9
  235. package/dist/{tr-XHSSPNK7-cmqyc4wd.js → tr-JMIP7ZSL-c39b6pe4.js} +153 -9
  236. package/dist/tr-JMIP7ZSL-fb67ft9w.js +2696 -0
  237. package/dist/{tr-W4AVRSQ4-hjr81xzk.js → tr-KHOCWWLF-8apf5y44.js} +7 -4
  238. package/dist/{tr-GSQQ6SOT-hv1gyeaa.js → tr-SC55DYHY-e4zgcd4t.js} +7 -4
  239. package/dist/{tr-RQTZ2DMS-w3cwv8s4.js → tr-SEC6RGZ4-0ttavjya.js} +2 -5
  240. package/dist/{trigger-enrichment-service-9ekw9bph.js → trigger-enrichment-service-dk6k9ea7.js} +30 -29
  241. package/dist/{variable-service-25vdpt12.js → variable-service-tx7png09.js} +19 -16
  242. package/dist/{wait-for-flow-job-r3037prg.js → wait-for-flow-job-1s8ka07s.js} +7 -7
  243. package/dist/{xml-949787yf.js → xml-3rzcgm9z.js} +1359 -659
  244. package/dist/{zh-CN-6YRAN57T-rd7x2tqs.js → zh-CN-4NI2EGMV-8g027vv3.js} +7 -4
  245. package/dist/{zh-CN-2EHQT23P-mr63c4xz.js → zh-CN-IFFXSEJS-9wm9gmrv.js} +153 -9
  246. package/dist/{zh-CN-2EHQT23P-T5XRQCVS-ac17dpc1.js → zh-CN-IFFXSEJS-MZQ4HU3Z-ge1ynmtz.js} +153 -9
  247. package/dist/zh-CN-IFFXSEJS-tke4mzty.js +2697 -0
  248. package/dist/{zh-CN-ZC6LT4IN-kbzvvzz5.js → zh-CN-MX7VIOF2-xznrtchf.js} +2 -5
  249. package/dist/{zh-CN-EDFRBU32-vvj7tmaq.js → zh-CN-OUMLDKDS-q3a1rr5c.js} +7 -4
  250. package/dist/{zh-CN-R2KLHXQV-agqr45ds.js → zh-CN-R2KU4U5L-q4yhc33t.js} +14 -2
  251. package/dist/zh-CN-R2KU4U5L-tc1hat59.js +173 -0
  252. package/dist/{zh-TW-SO2245GN-n2bn1gg4.js → zh-TW-53SU6EH4-33x57egq.js} +7 -4
  253. package/dist/{zh-TW-R7Y5KVMU-m61y07e3.js → zh-TW-5SJ3GZT2-bsg054mw.js} +2 -5
  254. package/dist/zh-TW-GNKMELBF-j674515r.js +173 -0
  255. package/dist/{zh-TW-RJGCQANM-w0x3qc1p.js → zh-TW-GNKMELBF-r4ay2475.js} +14 -2
  256. package/dist/{zh-TW-MGZCE5BT-c4ekmrz9.js → zh-TW-IYBNYAMG-8727c7v2.js} +153 -9
  257. package/dist/{zh-TW-MGZCE5BT-P6FLIUAR-zmq07vhs.js → zh-TW-IYBNYAMG-J7FWTQTK-sx8d4ymg.js} +153 -9
  258. package/dist/zh-TW-IYBNYAMG-wcan0qpb.js +2697 -0
  259. package/dist/{zh-TW-HAICM6DE-rh7k3cq7.js → zh-TW-TN3MPNXL-jcgg2hcs.js} +7 -4
  260. package/package.json +3 -2
  261. package/dist/bpmn-format-service-g3k5n1c6.js +0 -477
  262. package/dist/case-debug-studio-web-service-k3hb3zzf.js +0 -336
  263. package/dist/en-EPWMLP2N-2wvge238.js +0 -28
  264. package/dist/flow-eval-node-target-13ek4f1p.js +0 -46
  265. package/dist/flow-io-hgw3em5c.js +0 -38
  266. package/dist/known-types-a20evmmg.js +0 -20
  267. package/dist/localization-bbsjxbj4.js +0 -47
  268. package/dist/node-service-z7akfnxt.js +0 -75
  269. package/dist/node-sync-service-yfws8zyx.js +0 -43
  270. package/dist/packager-tool-15bstxb6.js +0 -4192
  271. package/dist/packager-tool-7tjxtpfp.js +0 -106
  272. package/dist/packager-tool-abbtfk2v.js +0 -54
  273. package/dist/packager-tool-ckhyvcn5.js +0 -58
  274. package/dist/packager-tool-hpc2j0zw.js +0 -27
  275. package/dist/packager-tool-k99nf3pq.js +0 -25
  276. package/dist/packager-tool-q38dn0kk.js +0 -7217
  277. package/dist/packager-tool-sfk34qja.js +0 -2120
  278. package/dist/packager-tool-vpqyvh4c.js +0 -304
  279. package/dist/packager-tool-wb9vkz4m.js +0 -73
  280. package/dist/strict-sdd-audit-zc0n5vj6.js +0 -1024
  281. package/dist/tidy-service-rm7y4dn2.js +0 -36
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  parseJsonInputOrFile
3
- } from "./packager-tool-3hjbc16b.js";
3
+ } from "./packager-tool-9pccpz3r.js";
4
4
  import"./packager-tool-eypvc2kv.js";
5
5
  import {
6
6
  JobsApi,
7
7
  ReleasesApi,
8
8
  createOrchestratorConfig,
9
9
  resolveFolder
10
- } from "./packager-tool-jm7twdzq.js";
11
- import"./packager-tool-f0kd5kq4.js";
10
+ } from "./packager-tool-4r35ye9r.js";
11
+ import"./packager-tool-yrsrzz1a.js";
12
12
  import"./packager-tool-0gctz400.js";
13
13
  import"./packager-tool-qa9gftnj.js";
14
14
  import"./packager-tool-yc4kw997.js";
15
15
  import {
16
16
  OutputFormatter,
17
17
  catchError
18
- } from "./packager-tool-r7rp3zz3.js";
18
+ } from "./packager-tool-z6nkdv48.js";
19
19
  import"./packager-tool-0v3s8r01.js";
20
20
  import"./packager-tool-1yh8g550.js";
21
21
 
@@ -289,7 +289,7 @@ async function getJobStatusDetailed(config, jobKey) {
289
289
  throw new Error(`Invalid job key format: "${jobKey}"`);
290
290
  }
291
291
  const response = await jobsApi.jobsGet({
292
- $filter: `Key eq '${jobKey}'`,
292
+ $filter: `Key eq ${jobKey}`,
293
293
  $expand: "Robot,Release,Machine",
294
294
  $top: 1
295
295
  });
@@ -378,4 +378,4 @@ export {
378
378
  validateCaseInputs
379
379
  };
380
380
 
381
- //# debugId=3057CB3247490B1864756E2164756E21
381
+ //# debugId=51B8C5ED98C19BFC64756E2164756E21
@@ -0,0 +1,240 @@
1
+ import {
2
+ catchError
3
+ } from "./packager-tool-z6nkdv48.js";
4
+ import {
5
+ getFileSystem
6
+ } from "./packager-tool-0v3s8r01.js";
7
+ import"./packager-tool-1yh8g550.js";
8
+
9
+ // ../case-tool/src/services/bindings-v2.ts
10
+ var BINDINGS_V2_FILE_NAME = "bindings_v2.json";
11
+ var BINDINGS_V2_VERSION = "2.0";
12
+ var CONNECTION_ID_PROPERTY = "ConnectionId";
13
+ var FOLDER_KEY_PROPERTY = "folderKey";
14
+ var byCodeUnit = (left, right) => {
15
+ if (left < right)
16
+ return -1;
17
+ return left > right ? 1 : 0;
18
+ };
19
+ var sortBindingsV2Resources = (resources) => [...resources].sort((a, b) => byCodeUnit(a.resource, b.resource) || byCodeUnit(a.key, b.key));
20
+ var serializeBindingsV2File = (resources) => {
21
+ const file = {
22
+ version: BINDINGS_V2_VERSION,
23
+ resources: sortBindingsV2Resources(resources)
24
+ };
25
+ return `${JSON.stringify(file, null, 2)}
26
+ `;
27
+ };
28
+ var readBindingsV2Resources = (raw) => {
29
+ const [error, parsed] = catchError(() => JSON.parse(raw));
30
+ if (error)
31
+ return;
32
+ if (parsed === null || typeof parsed !== "object")
33
+ return;
34
+ const resources = parsed.resources;
35
+ if (!Array.isArray(resources))
36
+ return;
37
+ return resources.filter((entry) => entry !== null && typeof entry === "object" && typeof entry.key === "string");
38
+ };
39
+ var identity = (entry) => `${entry.resource}:${entry.key}`;
40
+ var diffBindingsV2 = (expected, actual) => {
41
+ const expectedByKey = new Map(expected.map((e) => [identity(e), e]));
42
+ const actualByKey = new Map(actual.map((e) => [identity(e), e]));
43
+ const missing = [];
44
+ const changed = [];
45
+ for (const [key, entry] of expectedByKey) {
46
+ const found = actualByKey.get(key);
47
+ if (found === undefined) {
48
+ missing.push(entry.key);
49
+ } else if (JSON.stringify(found) !== JSON.stringify(entry)) {
50
+ changed.push(entry.key);
51
+ }
52
+ }
53
+ const extra = [...actualByKey.values()].filter((entry) => !expectedByKey.has(identity(entry))).map((entry) => entry.key);
54
+ const alphabetically = (left, right) => left.localeCompare(right);
55
+ return {
56
+ missing: missing.sort(alphabetically),
57
+ extra: extra.sort(alphabetically),
58
+ changed: changed.sort(alphabetically)
59
+ };
60
+ };
61
+ var hasBindingsV2Difference = (difference) => difference.missing.length > 0 || difference.extra.length > 0 || difference.changed.length > 0;
62
+
63
+ // ../case-tool/src/services/case-bindings-service.ts
64
+ var asBinding = (value) => {
65
+ if (value === null || typeof value !== "object" || Array.isArray(value)) {
66
+ return;
67
+ }
68
+ const record = value;
69
+ return typeof record.id === "string" && typeof record.resource === "string" && typeof record.resourceKey === "string" && record.resourceKey !== "" && typeof record.propertyAttribute === "string" && (record.default === undefined || typeof record.default === "string") ? value : undefined;
70
+ };
71
+ var CONNECTION_RESOURCE = "Connection";
72
+ var NAME_ATTRIBUTE = "name";
73
+ var FOLDER_PATH_ATTRIBUTE = "folderPath";
74
+ var SOLUTION_FOLDER_PREFIX = "solution_folder.";
75
+ var SOLUTION_FOLDER_SENTINEL = "solution_folder";
76
+ var BINDING_REFERENCE_PREFIX = "=bindings.";
77
+ var CONNECTOR_KEY_ENTRY = "connectorKey";
78
+ var CONNECTION_ENTRY = "connection";
79
+ var readConnectorContext = (value) => {
80
+ if (!Array.isArray(value))
81
+ return;
82
+ const byName = new Map;
83
+ for (const entry of value) {
84
+ if (entry === null || typeof entry !== "object" || Array.isArray(entry))
85
+ return;
86
+ const { name, value: entryValue } = entry;
87
+ if (typeof name !== "string")
88
+ return;
89
+ if (typeof entryValue === "string")
90
+ byName.set(name, entryValue);
91
+ }
92
+ return byName.has(CONNECTOR_KEY_ENTRY) ? byName : undefined;
93
+ };
94
+ var collectConnectorKeys = (document) => {
95
+ const byBindingId = new Map;
96
+ const visit = (node) => {
97
+ if (Array.isArray(node)) {
98
+ const context = readConnectorContext(node);
99
+ const connection = context?.get(CONNECTION_ENTRY);
100
+ const connectorKey = context?.get(CONNECTOR_KEY_ENTRY);
101
+ if (connectorKey !== undefined && connection?.startsWith(BINDING_REFERENCE_PREFIX) === true) {
102
+ byBindingId.set(connection.slice(BINDING_REFERENCE_PREFIX.length), connectorKey);
103
+ }
104
+ for (const item of node)
105
+ visit(item);
106
+ return;
107
+ }
108
+ if (node === null || typeof node !== "object")
109
+ return;
110
+ for (const value of Object.values(node))
111
+ visit(value);
112
+ };
113
+ visit(document);
114
+ return byBindingId;
115
+ };
116
+ var attributeDefault = (group, attribute) => group.find((binding) => binding.propertyAttribute === attribute)?.default;
117
+ var connectionEntry = (group, connectorKeys) => {
118
+ const key = group[0].resourceKey;
119
+ const value = {
120
+ [CONNECTION_ID_PROPERTY]: {
121
+ defaultValue: attributeDefault(group, CONNECTION_ID_PROPERTY) ?? key
122
+ }
123
+ };
124
+ const folderKey = attributeDefault(group, FOLDER_KEY_PROPERTY);
125
+ if (folderKey !== undefined) {
126
+ value[FOLDER_KEY_PROPERTY] = { defaultValue: folderKey };
127
+ }
128
+ const connector = group.map((binding) => connectorKeys.get(binding.id)).find((found) => found !== undefined);
129
+ return {
130
+ resource: CONNECTION_RESOURCE,
131
+ key,
132
+ value,
133
+ ...connector !== undefined && { metadata: { connector } }
134
+ };
135
+ };
136
+ var resourceEntry = (group) => {
137
+ const key = group[0].resourceKey;
138
+ const value = {};
139
+ const name = attributeDefault(group, NAME_ATTRIBUTE);
140
+ if (name !== undefined)
141
+ value.name = { defaultValue: name };
142
+ const folderPath = key.startsWith(SOLUTION_FOLDER_PREFIX) ? SOLUTION_FOLDER_SENTINEL : attributeDefault(group, FOLDER_PATH_ATTRIBUTE);
143
+ if (folderPath !== undefined) {
144
+ value.folderPath = { defaultValue: folderPath };
145
+ }
146
+ const subType = group.find((binding) => binding.resourceSubType !== undefined)?.resourceSubType;
147
+ return {
148
+ resource: group[0].resource,
149
+ key,
150
+ value,
151
+ ...subType !== undefined && { metadata: { subType } }
152
+ };
153
+ };
154
+ var deriveCaseBindingsV2 = (document) => {
155
+ const connectorKeys = collectConnectorKeys(document);
156
+ const groups = new Map;
157
+ for (const entry of Array.isArray(document.bindings) ? document.bindings : []) {
158
+ const binding = asBinding(entry);
159
+ if (binding === undefined)
160
+ continue;
161
+ const groupKey = `${binding.resource}:${binding.resourceKey}`;
162
+ const group = groups.get(groupKey);
163
+ if (group === undefined)
164
+ groups.set(groupKey, [binding]);
165
+ else
166
+ group.push(binding);
167
+ }
168
+ return [...groups.values()].map((group) => group[0].resource === CONNECTION_RESOURCE ? connectionEntry(group, connectorKeys) : resourceEntry(group));
169
+ };
170
+ var bindingsV2PathFor = (casePlanPath) => {
171
+ const fs = getFileSystem();
172
+ return fs.path.join(fs.path.dirname(fs.path.resolve(casePlanPath)), BINDINGS_V2_FILE_NAME);
173
+ };
174
+ var compareCaseBindingsV2 = async (casePlanPath, document) => {
175
+ const fs = getFileSystem();
176
+ const path = bindingsV2PathFor(casePlanPath);
177
+ const expected = deriveCaseBindingsV2(document);
178
+ const expectedCount = expected.length;
179
+ if (!await fs.exists(path))
180
+ return { status: "absent", path, expectedCount };
181
+ const [readError, raw] = await catchError(fs.readFile(path, "utf-8"));
182
+ if (readError || raw == null)
183
+ return { status: "unreadable", path, expectedCount };
184
+ const actual = readBindingsV2Resources(raw);
185
+ if (actual === undefined)
186
+ return { status: "unreadable", path, expectedCount };
187
+ const difference = diffBindingsV2(expected, actual);
188
+ return hasBindingsV2Difference(difference) ? { status: "differs", path, expectedCount, difference } : { status: "match", path, expectedCount };
189
+ };
190
+ var syncCaseBindings = async (casePlanPath) => {
191
+ const fs = getFileSystem();
192
+ const resolved = fs.path.resolve(casePlanPath);
193
+ if (!await fs.exists(resolved)) {
194
+ return {
195
+ ok: false,
196
+ message: `Case plan file not found: ${resolved}`,
197
+ instructions: "Pass the path to an existing caseplan JSON file, for example 'uip maestro case bindings sync case.json'."
198
+ };
199
+ }
200
+ const [readError, raw] = await catchError(fs.readFile(resolved, "utf-8"));
201
+ if (readError || raw == null) {
202
+ return {
203
+ ok: false,
204
+ message: `Failed to read case plan: ${readError?.message ?? "empty content"}`,
205
+ instructions: `Verify read permissions on ${resolved}.`
206
+ };
207
+ }
208
+ const [parseError, document] = catchError(() => JSON.parse(raw));
209
+ if (parseError || document == null || typeof document !== "object" || Array.isArray(document)) {
210
+ return {
211
+ ok: false,
212
+ message: `Case plan is not valid JSON: ${parseError?.message ?? "not a JSON object"}`,
213
+ instructions: `Verify the contents of ${resolved}.`
214
+ };
215
+ }
216
+ const resources = deriveCaseBindingsV2(document);
217
+ const path = bindingsV2PathFor(resolved);
218
+ const [writeError] = await catchError(fs.writeFile(path, serializeBindingsV2File(resources)));
219
+ if (writeError) {
220
+ return {
221
+ ok: false,
222
+ message: `Failed to write bindings file: ${writeError.message}`,
223
+ instructions: `Verify write permissions on ${fs.path.dirname(path)}.`
224
+ };
225
+ }
226
+ return {
227
+ ok: true,
228
+ path,
229
+ resourceCount: resources.length,
230
+ connectionCount: resources.filter((entry) => entry.resource === CONNECTION_RESOURCE).length
231
+ };
232
+ };
233
+ export {
234
+ bindingsV2PathFor,
235
+ compareCaseBindingsV2,
236
+ deriveCaseBindingsV2,
237
+ syncCaseBindings
238
+ };
239
+
240
+ //# debugId=B9EB75D4E4B999D964756E2164756E21
@@ -0,0 +1,135 @@
1
+ import {
2
+ loadCaseSchemaAsync
3
+ } from "./packager-tool-gvgnfejf.js";
4
+ import {
5
+ uploadAndDebugSolution
6
+ } from "./packager-tool-095jzn8v.js";
7
+ import"./packager-tool-mj89jhvb.js";
8
+ import {
9
+ buildSolutionPackageFromDir,
10
+ uploadOrOverwriteSolution
11
+ } from "./packager-tool-tqct19db.js";
12
+ import {
13
+ findSolutionFile,
14
+ updateSolutionFile
15
+ } from "./packager-tool-wynrdnqj.js";
16
+ import {
17
+ CasePlanFileNames,
18
+ buildCasePackageDescriptor,
19
+ casePlanSidecarName,
20
+ entryPointBpmnNames,
21
+ findCasePlanFileName,
22
+ misnamedEntryPointBpmn,
23
+ normalizeEntryPointPath,
24
+ resolveDeclaredFileName
25
+ } from "./packager-tool-kj0qc4f4.js";
26
+ import"./packager-tool-khm7zsm8.js";
27
+ import"./packager-tool-nkrmjr3a.js";
28
+ import {
29
+ logger
30
+ } from "./packager-tool-z6nkdv48.js";
31
+ import {
32
+ getFileSystem
33
+ } from "./packager-tool-0v3s8r01.js";
34
+ import"./packager-tool-1yh8g550.js";
35
+
36
+ // ../case-tool/src/services/case-debug-studio-web-service.ts
37
+ class CaseDebugStudioWebService {
38
+ fs;
39
+ constructor() {
40
+ this.fs = getFileSystem();
41
+ }
42
+ async executeProjectViaStudioWeb(projectPath, config, callbacks, pollInterval) {
43
+ const absoluteProjectPath = this.fs.path.resolve(projectPath);
44
+ const projectUiprojPath = this.fs.path.join(absoluteProjectPath, "project.uiproj");
45
+ if (!await this.fs.exists(projectUiprojPath)) {
46
+ throw new Error(`Not a valid case project directory: missing project.uiproj in ${absoluteProjectPath}`);
47
+ }
48
+ const projectUiprojContent = await this.fs.readFile(projectUiprojPath, "utf-8");
49
+ if (projectUiprojContent === null) {
50
+ throw new Error(`Could not read project.uiproj in ${absoluteProjectPath}`);
51
+ }
52
+ const projectUiproj = JSON.parse(projectUiprojContent);
53
+ const projectName = projectUiproj.Name;
54
+ const entryPointsPath = this.fs.path.join(absoluteProjectPath, "entry-points.json");
55
+ if (!await this.fs.exists(entryPointsPath)) {
56
+ throw new Error(`Not a valid case project directory: missing entry-points.json in ${absoluteProjectPath}`);
57
+ }
58
+ const entryPointsContent = await this.fs.readFile(entryPointsPath, "utf-8");
59
+ if (entryPointsContent === null) {
60
+ throw new Error(`Could not read entry-points.json in ${absoluteProjectPath}`);
61
+ }
62
+ const declared = entryPointBpmnNames(entryPointsContent);
63
+ if (declared === null) {
64
+ throw new Error(`entry-points.json in ${absoluteProjectPath} could not be read as JSON, so debug cannot check that the BPMN it declares is in the project.`);
65
+ }
66
+ const entryPointsJson = JSON.parse(entryPointsContent);
67
+ const rawEntryPoint = entryPointsJson.entryPoints?.[0]?.filePath ?? "";
68
+ const entryPoint = normalizeEntryPointPath(rawEntryPoint);
69
+ logger.info("Looking for .uipx solution file...");
70
+ const solutionInfo = await findSolutionFile(this.fs, absoluteProjectPath);
71
+ const existingSolutionId = solutionInfo?.solutionId;
72
+ logger.info("Reading case plan file...");
73
+ const casePlanFileName = findCasePlanFileName(await this.fs.readdir(absoluteProjectPath));
74
+ if (!casePlanFileName) {
75
+ throw new Error(`Not a valid case project directory: no case plan in ${absoluteProjectPath}. Expected one of ${CasePlanFileNames.join(", ")}.`);
76
+ }
77
+ const caseJsonPath = this.fs.path.join(absoluteProjectPath, casePlanFileName);
78
+ const caseFileContent = await this.fs.readFile(caseJsonPath, "utf-8");
79
+ if (caseFileContent === null) {
80
+ throw new Error(`Could not read file: ${caseJsonPath}`);
81
+ }
82
+ const sidecarFileName = casePlanSidecarName(casePlanFileName);
83
+ logger.info("Converting case plan to BPMN and case plan JSON...");
84
+ const { serializeCaseDiskJsonToBpmnAndRulesJson } = await loadCaseSchemaAsync();
85
+ const { bpmnXml, rulesJson: casePlanJson } = await serializeCaseDiskJsonToBpmnAndRulesJson(caseFileContent);
86
+ await this.fs.writeFile(this.fs.path.join(absoluteProjectPath, sidecarFileName), bpmnXml);
87
+ await this.fs.writeFile(this.fs.path.join(absoluteProjectPath, "case-plan.json"), `${JSON.stringify(casePlanJson, null, 2)}
88
+ `);
89
+ const projectFiles = new Set([
90
+ ...await this.fs.readdir(absoluteProjectPath),
91
+ sidecarFileName
92
+ ]);
93
+ const missing = declared.filter((file) => !projectFiles.has(file));
94
+ if (missing.length > 0) {
95
+ throw new Error(`entry-points.json points at ${missing.join(", ")}, which ${absoluteProjectPath} does not hold, so the debug run would fault. Point the entry point at '${sidecarFileName}', or add the missing file.`);
96
+ }
97
+ const misnamed = misnamedEntryPointBpmn(declared, casePlanFileName);
98
+ if (misnamed) {
99
+ throw new Error(`entry-points.json points at '${misnamed}', the sidecar of a case plan this project does not carry. '${casePlanFileName}' compiles to '${sidecarFileName}', so the debug run would resolve a BPMN nothing here produced. Point the entry point at '${sidecarFileName}'.`);
100
+ }
101
+ const entryPointFileName = resolveDeclaredFileName(rawEntryPoint);
102
+ if (!declared.includes(entryPointFileName)) {
103
+ throw new Error(`entry-points.json's first entry point resolves to '${entryPointFileName || entryPoint}', which is not a declared .bpmn file this project ships, so the debug run would fault. Point the entry point at '${sidecarFileName}'.`);
104
+ }
105
+ await this.fs.writeFile(this.fs.path.join(absoluteProjectPath, "package-descriptor.json"), `${JSON.stringify(buildCasePackageDescriptor([...projectFiles]), null, 2)}
106
+ `);
107
+ logger.info("Building solution package from project...");
108
+ const solutionDir = this.fs.path.resolve(absoluteProjectPath, "..");
109
+ const uisPath = await buildSolutionPackageFromDir(this.fs, solutionDir);
110
+ const apiConfig = {
111
+ baseUrl: config.baseUrl,
112
+ organizationId: config.organizationId,
113
+ tenantName: config.tenantName,
114
+ tenantId: config.tenantId,
115
+ authToken: config.authToken,
116
+ organizationUnitId: config.organizationUnitId
117
+ };
118
+ return uploadAndDebugSolution({
119
+ upload: () => uploadOrOverwriteSolution(apiConfig, config.organizationName, uisPath, existingSolutionId, this.fs),
120
+ onSolutionId: (id) => updateSolutionFile(this.fs, absoluteProjectPath, id),
121
+ projectName,
122
+ entryPoint,
123
+ projectType: "CaseManagement",
124
+ apiConfig,
125
+ organizationName: config.organizationName,
126
+ callbacks,
127
+ pollInterval
128
+ });
129
+ }
130
+ }
131
+ export {
132
+ CaseDebugStudioWebService
133
+ };
134
+
135
+ //# debugId=1A2B4E9D87C979D064756E2164756E21
@@ -0,0 +1,84 @@
1
+ import {
2
+ catchError
3
+ } from "./packager-tool-z6nkdv48.js";
4
+ import {
5
+ getFileSystem
6
+ } from "./packager-tool-0v3s8r01.js";
7
+ import"./packager-tool-1yh8g550.js";
8
+
9
+ // ../case-tool/src/services/case-format-service.ts
10
+ var INDENT = 2;
11
+ var longestLineOf = (text) => {
12
+ let longest = 0;
13
+ let current = 0;
14
+ for (const ch of text) {
15
+ if (ch === `
16
+ `) {
17
+ longest = Math.max(longest, current);
18
+ current = 0;
19
+ continue;
20
+ }
21
+ current += 1;
22
+ }
23
+ return Math.max(longest, current);
24
+ };
25
+ var formatCasePlan = async (filePath) => {
26
+ const fs = getFileSystem();
27
+ const resolved = fs.path.resolve(filePath);
28
+ if (!await fs.exists(resolved)) {
29
+ return {
30
+ ok: false,
31
+ message: `Case plan file not found: ${resolved}`,
32
+ instructions: "Pass the path to an existing case plan JSON file, for example 'uip maestro case format case.json'."
33
+ };
34
+ }
35
+ const [readError, raw] = await catchError(fs.readFile(resolved, "utf-8"));
36
+ if (readError || raw == null) {
37
+ return {
38
+ ok: false,
39
+ message: `Failed to read case plan: ${readError?.message ?? "empty content"}`,
40
+ instructions: `Verify read permissions on ${resolved}.`
41
+ };
42
+ }
43
+ const [parseError, document] = catchError(() => JSON.parse(raw));
44
+ if (parseError) {
45
+ return {
46
+ ok: false,
47
+ message: `Case plan is not valid JSON: ${parseError.message}`,
48
+ instructions: `Fix the JSON in ${resolved} before formatting it — formatting cannot repair a file it cannot parse.`
49
+ };
50
+ }
51
+ const formatted = `${JSON.stringify(document, null, INDENT)}
52
+ `;
53
+ if (formatted === raw) {
54
+ return {
55
+ ok: true,
56
+ path: resolved,
57
+ changed: false,
58
+ lines: formatted.split(`
59
+ `).length - 1,
60
+ longestLine: longestLineOf(formatted)
61
+ };
62
+ }
63
+ const [writeError] = await catchError(fs.writeFile(resolved, formatted));
64
+ if (writeError) {
65
+ return {
66
+ ok: false,
67
+ message: `Failed to write case plan: ${writeError.message}`,
68
+ instructions: `Verify write permissions on ${resolved}.`
69
+ };
70
+ }
71
+ return {
72
+ ok: true,
73
+ path: resolved,
74
+ changed: true,
75
+ lines: formatted.split(`
76
+ `).length - 1,
77
+ longestLine: longestLineOf(formatted)
78
+ };
79
+ };
80
+ export {
81
+ formatCasePlan
82
+ };
83
+
84
+ //# debugId=D1F974DB89BD88FD64756E2164756E21
@@ -4,6 +4,16 @@ import {
4
4
  import {
5
5
  VALID_PACKAGE_NAME_REGEX
6
6
  } from "./packager-tool-eypvc2kv.js";
7
+ import {
8
+ CasePlanFileNames,
9
+ buildCasePackageDescriptor,
10
+ casePlanSidecarName,
11
+ entryPointBpmnNames,
12
+ findCasePlanFileName,
13
+ misnamedEntryPointBpmn,
14
+ resolveDeclaredFileName
15
+ } from "./packager-tool-kj0qc4f4.js";
16
+ import"./packager-tool-khm7zsm8.js";
7
17
  import {
8
18
  NugetPackager,
9
19
  ensureProjectId
@@ -13,7 +23,7 @@ import {
13
23
  catchError,
14
24
  logger,
15
25
  mapPackageMetadataOptions
16
- } from "./packager-tool-r7rp3zz3.js";
26
+ } from "./packager-tool-z6nkdv48.js";
17
27
  import {
18
28
  getFileSystem
19
29
  } from "./packager-tool-0v3s8r01.js";
@@ -41,7 +51,7 @@ Packing Case project...
41
51
  logger.info(` Output: ${absoluteOutputPath}`);
42
52
  logger.info("");
43
53
  await this.validate(absoluteProjectPath);
44
- await this.convertCaseToBpmnIfNeeded(absoluteProjectPath);
54
+ const casePlanFileName = await this.convertCaseToBpmn(absoluteProjectPath);
45
55
  await ensureProjectId(absoluteProjectPath, this.fs);
46
56
  await this.fs.mkdir(absoluteOutputPath);
47
57
  let tempDir;
@@ -49,7 +59,10 @@ Packing Case project...
49
59
  tempDir = await this.fs.getTempDir();
50
60
  const stagingDir = this.fs.path.join(tempDir, "case-pack-staging");
51
61
  await this.fs.mkdir(stagingDir);
52
- await this.fs.copyDirectory(absoluteProjectPath, this.fs.path.join(stagingDir, "content"));
62
+ const contentDir = this.fs.path.join(stagingDir, "content");
63
+ await this.fs.copyDirectory(absoluteProjectPath, contentDir);
64
+ await this.checkEntryPointBpmn(contentDir, casePlanFileName);
65
+ await this.regeneratePackageDescriptor(contentDir);
53
66
  const packageId = `${packageName}.case.Case`;
54
67
  const version = options.version || "1.0.0";
55
68
  const nupkgPath = this.fs.path.join(absoluteOutputPath, `${packageId}.${version}.nupkg`);
@@ -74,18 +87,51 @@ Packing Case project...
74
87
  }
75
88
  }
76
89
  }
77
- async convertCaseToBpmnIfNeeded(projectPath) {
78
- const caseFilePath = this.fs.path.join(projectPath, "caseplan.json");
79
- if (!await this.fs.exists(caseFilePath)) {
80
- return;
90
+ async convertCaseToBpmn(projectPath) {
91
+ const casePlanFileName = findCasePlanFileName(await this.fs.readdir(projectPath));
92
+ if (!casePlanFileName) {
93
+ throw new Error(`No case plan in ${projectPath}. Expected one of ${CasePlanFileNames.join(", ")}.`);
81
94
  }
82
- logger.info("Converting case JSON to BPMN...");
83
- const caseContent = String(await this.fs.readFile(caseFilePath, "utf-8"));
95
+ logger.info("Converting case plan to BPMN...");
96
+ const caseContent = String(await this.fs.readFile(this.fs.path.join(projectPath, casePlanFileName), "utf-8"));
84
97
  const { serializeCaseDiskJsonToBpmnAndRulesJson } = await loadCaseSchemaAsync();
85
98
  const { bpmnXml: bpmn } = await serializeCaseDiskJsonToBpmnAndRulesJson(caseContent);
86
- const bpmnFilePath = this.fs.path.join(projectPath, "caseplan.json.bpmn");
99
+ const bpmnFilePath = this.fs.path.join(projectPath, casePlanSidecarName(casePlanFileName));
87
100
  await this.fs.writeFile(bpmnFilePath, bpmn);
88
101
  logger.info(`BPMN file written to ${bpmnFilePath}`);
102
+ return casePlanFileName;
103
+ }
104
+ async checkEntryPointBpmn(contentPath, casePlanFileName) {
105
+ const entryPointsPath = this.fs.path.join(contentPath, "entry-points.json");
106
+ if (!await this.fs.exists(entryPointsPath)) {
107
+ return;
108
+ }
109
+ const raw = await this.fs.readFile(entryPointsPath, "utf-8");
110
+ const declared = raw ? entryPointBpmnNames(String(raw)) : null;
111
+ if (declared === null) {
112
+ throw new Error(`entry-points.json in ${contentPath} could not be read as JSON, so pack cannot check that the BPMN it declares is in the package.`);
113
+ }
114
+ const firstEntry = firstEntryPointFileName(String(raw));
115
+ if (firstEntry && !declared.includes(firstEntry)) {
116
+ const own = casePlanSidecarName(casePlanFileName);
117
+ throw new Error(`entry-points.json's first entry point resolves to '${firstEntry}', which is not a declared .bpmn file this project ships, so it would deploy and activate and then fault every job. Point the first entry point at '${own}'.`);
118
+ }
119
+ const present = new Set(await this.fs.readdir(contentPath));
120
+ const missing = declared.filter((file) => !present.has(file));
121
+ if (missing.length > 0) {
122
+ throw new Error(`entry-points.json points at ${missing.join(", ")}, which the package does not contain, so it would deploy and activate and then fault every job.`);
123
+ }
124
+ const misnamed = misnamedEntryPointBpmn(declared, casePlanFileName);
125
+ if (misnamed) {
126
+ const own = casePlanSidecarName(casePlanFileName);
127
+ throw new Error(`entry-points.json points at '${misnamed}', the sidecar of a case plan this project does not carry. '${casePlanFileName}' compiles to '${own}', so the entry point would resolve to a BPMN pack did not produce. Point it at '${own}'.`);
128
+ }
129
+ }
130
+ async regeneratePackageDescriptor(contentDir) {
131
+ const contentFiles = await this.fs.readdir(contentDir);
132
+ const descriptor = buildCasePackageDescriptor(contentFiles);
133
+ await this.fs.writeFile(this.fs.path.join(contentDir, "package-descriptor.json"), `${JSON.stringify(descriptor, null, 2)}
134
+ `);
89
135
  }
90
136
  async validate(projectPath) {
91
137
  if (!await this.fs.exists(projectPath)) {
@@ -105,8 +151,13 @@ Packing Case project...
105
151
  }
106
152
  }
107
153
  }
154
+ function firstEntryPointFileName(entryPointsJson) {
155
+ const parsed = JSON.parse(entryPointsJson);
156
+ const filePath = parsed.entryPoints?.[0]?.filePath ?? "";
157
+ return resolveDeclaredFileName(filePath);
158
+ }
108
159
  export {
109
160
  CasePackService
110
161
  };
111
162
 
112
- //# debugId=0A0FF64BCBA02D9C64756E2164756E21
163
+ //# debugId=C887ABF9EFDF391264756E2164756E21