@uipath/flow-tool 1.205.0-preview.276 → 1.206.0-preview.279

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 (350) hide show
  1. package/README.md +14 -12
  2. package/dist/THIRD-PARTY-NOTICES.md +77 -49
  3. package/dist/applicationinsights-web-8m26566f.js +17209 -0
  4. package/dist/authoring-x84r2a2j.js +23 -0
  5. package/dist/binding-service-s0wvr2xm.js +114 -0
  6. package/dist/{browser-strategy-6atc7v8s.js → browser-strategy-gnftxwsf.js} +5 -6
  7. package/dist/connector-library-1yw5r47w.js +99 -0
  8. package/dist/{connector-service-m08dysc2.js → connector-service-r86mtxwn.js} +270 -275
  9. package/dist/{conversion-FQTRFHRX-e5wr281j.js → conversion-7O2PDOQB-3wwppx87.js} +477 -472
  10. package/dist/{de-FGHEJRCI-PK6WALXW-0dnvnmke.js → de-2BEKRUMY-MD7L477H-rj1rmtav.js} +425 -37
  11. package/dist/{de-WLW6KWOJ-2qnsqdtw.js → de-2BEKRUMY-x4dx0nn9.js} +190 -10
  12. package/dist/{de-VMMG2MN7-2ecwpg1b.js → de-3CU65EDB-r7r10am9.js} +82 -7
  13. package/dist/{de-UZI7FJDO-awjpqfz0.js → de-AI7ML6JM-km47f8k4.js} +20 -5
  14. package/dist/{de-B3EKCNFC-zdwybhh7.js → de-VQWT6L5Y-mch4qwyv.js} +38 -5
  15. package/dist/{de-XNTCMP5Z-xfkfqg20.js → de-XNTCMP5Z-nd4scb43.js} +1 -4
  16. package/dist/debug-conversation-trigger-3wzy90kj.js +23 -0
  17. package/dist/debug-http-client-zydr7tna.js +31 -0
  18. package/dist/debug-service-hdktqeek.js +60 -0
  19. package/dist/edge-service-zck3s9ss.js +267 -0
  20. package/dist/{elk.bundled-vpsbxz0p.js → elk.bundled-phy0zc81.js} +6860 -6860
  21. package/dist/{embedded-file-reader-r66242ey.js → embedded-file-reader-0228j82a.js} +1 -4
  22. package/dist/en-LAVDF7IQ-ba7wzsxp.js +254 -0
  23. package/dist/en-LQHKFSEY-zf6a2myg.js +24 -0
  24. package/dist/en-U2NSIIZN-whenw6wh.js +58 -0
  25. package/dist/en-WPCQ4JKF-t3x07ggr.js +148 -0
  26. package/dist/en-X6T4SP2Y-FPGCJIFV-qdfapfzs.js +2756 -0
  27. package/dist/en-X6T4SP2Y-xe57av1w.js +2752 -0
  28. package/dist/{es-5THCNRFN-tqwyrdgy.js → es-7ZTQTGKN-11sj0yjx.js} +190 -10
  29. package/dist/{es-KR3ZSNMP-QLWVVWKJ-5egs0gj9.js → es-7ZTQTGKN-TXQBFYRA-bzh1e1gq.js} +422 -34
  30. package/dist/{es-EKHIPSW6-ya88nvm0.js → es-EKHIPSW6-asfceac2.js} +1 -4
  31. package/dist/{es-KEBF3AIM-g5rszh8f.js → es-EP563JWQ-1agj5n4e.js} +38 -5
  32. package/dist/{es-WY6FZ3HO-zksnn6dp.js → es-KHVY67FO-natcvmmm.js} +82 -7
  33. package/dist/{es-MX-5RELIXKI-jtjbcxbb.js → es-MX-7KJZPEQN-1fq0a9jr.js} +20 -5
  34. package/dist/{es-MX-ZP2LJ3V7-k4brnfa9.js → es-MX-F7ZEHSNE-gxpm47vv.js} +82 -7
  35. package/dist/{es-MX-XXZJGC4R-W6EEIHXR-c2m4yjpj.js → es-MX-IHGRIEWH-23X37OPS-7cqdzpcy.js} +425 -37
  36. package/dist/{es-MX-TWZBRAXK-gqd9swzw.js → es-MX-IHGRIEWH-g63p0gb4.js} +191 -11
  37. package/dist/{es-MX-OR6G2SFR-7yykk5ma.js → es-MX-OR6G2SFR-02t13sen.js} +1 -4
  38. package/dist/{es-MX-EL3CDS3F-sh84yvjr.js → es-MX-S2RFDGDE-x9r0tv30.js} +38 -5
  39. package/dist/{es-4UBUTCQA-t7hsackg.js → es-SPNKTD5Y-vw5cbgv5.js} +20 -5
  40. package/dist/filter-engine-dh9s90gb.js +10 -0
  41. package/dist/first-party-service-ahcc6xc6.js +8 -0
  42. package/dist/flow-api-d4dvmadm.js +38 -0
  43. package/dist/{flow-debug-service-gc2ky1ve.js → flow-debug-service-hy21ddd9.js} +151 -195
  44. package/dist/flow-eval-node-target-tdrwqca7.js +29 -0
  45. package/dist/flow-eval-run-api-w4j8ra60.js +9 -0
  46. package/dist/{flow-eval-run-service-2cbr0jtw.js → flow-eval-run-service-5en4ahyn.js} +125 -149
  47. package/dist/{flow-eval-service-24jbkhhz.js → flow-eval-service-2j28ect1.js} +57 -81
  48. package/dist/{flow-init-sdk-source-xvdvkq7d.js → flow-init-sdk-source-xnr4bg25.js} +8 -11
  49. package/dist/flow-init-service-bj3ev9bz.js +26 -0
  50. package/dist/flow-io-9q6xk473.js +24 -0
  51. package/dist/{flow-migrate-service-t3pnd2r3.js → flow-migrate-service-dkx85jj5.js} +33 -54
  52. package/dist/{flow-pack-service-b910q207.js → flow-pack-service-58m51sp8.js} +79 -103
  53. package/dist/flow-validate-service-9a3zate4.js +46 -0
  54. package/dist/{fr-DPD4GHX3-exeypjwk.js → fr-7LK3QUWT-a94yejcs.js} +38 -5
  55. package/dist/{fr-Y6NPVODW-AS7T42TR-v4qe2tha.js → fr-7ZDL4MVO-CXMRZDOF-qjkg6y2r.js} +425 -37
  56. package/dist/{fr-CERONSRC-edpxhbmb.js → fr-7ZDL4MVO-pd27vwh6.js} +191 -11
  57. package/dist/{fr-VBM5WRC2-707ha692.js → fr-AXJGUT53-hdg3pmd4.js} +20 -5
  58. package/dist/{fr-PRMYCRDC-0bk078by.js → fr-I42FODC5-p80x5v4b.js} +83 -8
  59. package/dist/{fr-IHD66TVT-vfvmefbx.js → fr-IHD66TVT-eq8h0d6c.js} +1 -4
  60. package/dist/{governance-fetcher-ffvbtwbd.js → governance-fetcher-h8hpcwyh.js} +17 -21
  61. package/dist/{headless-4x4v3sy6.js → headless-41t9wwb7.js} +2395 -43269
  62. package/dist/{hitl-service-3m4ce3mt.js → hitl-service-hccqhm63.js} +22 -42
  63. package/dist/index-4e3w8x62.js +31 -0
  64. package/dist/{index-fyc0k5dd.js → index-5pzp2qeb.js} +5350 -3271
  65. package/dist/index-5xh0cjag.js +82 -0
  66. package/dist/index-7fet3f0s.js +10 -0
  67. package/dist/index-d4bdedx3.js +32 -0
  68. package/dist/index-f5kq7265.js +24 -0
  69. package/dist/index-g2p2ww34.js +39 -0
  70. package/dist/index-ng011fzs.js +974 -0
  71. package/dist/{index-h8cph72k.js → index-nzr4mx5p.js} +2 -22
  72. package/dist/{index-1b2je9n2.js → index-px95xmkg.js} +290 -268
  73. package/dist/index-tdwpejt6.js +22 -0
  74. package/dist/index-z2qk2qn6.js +24 -0
  75. package/dist/index.js +19 -28
  76. package/dist/index.umd.min-ttg1qc0x.js +7814 -0
  77. package/dist/init.js +22 -43
  78. package/dist/inline-entity-resolver-0neh2b43.js +25 -0
  79. package/dist/input-reader-zqaep7k7.js +11 -0
  80. package/dist/{ja-43QL7CGO-c3q8gre9.js → ja-C7GZV6YP-hvtbngr5.js} +20 -5
  81. package/dist/{ja-HFEQKCZF-hb2f25p8.js → ja-GI3OUHPZ-28fy60r0.js} +83 -8
  82. package/dist/{ja-JE5ZL7EY-hacj2m31.js → ja-JE5ZL7EY-607k4c7p.js} +1 -4
  83. package/dist/{ja-Q5PXKJ2V-BR5GRIDQ-fgqqpryf.js → ja-LGAM5HKR-NTPKIZEM-nv67917s.js} +422 -34
  84. package/dist/{ja-U2MCNHGT-gz0ap1jk.js → ja-LGAM5HKR-sgrtjqjh.js} +190 -10
  85. package/dist/ja-WY2W6733-ayr36h1f.js +71 -0
  86. package/dist/{jmespath-e4a59c8w.js → jmespath-wwym30dp.js} +1 -1
  87. package/dist/{js-yaml-87cdx6bm.js → js-yaml-a2bk27p6.js} +1 -3
  88. package/dist/known-types-v9sxcq1c.js +13 -0
  89. package/dist/{ko-AYBDSRZG-G43C3XUW-kng13fsg.js → ko-7B4SUZB7-2SLI636D-grbtfrcv.js} +424 -36
  90. package/dist/{ko-XAUYQWDR-zp81gjp4.js → ko-7B4SUZB7-c8wr20sc.js} +190 -10
  91. package/dist/{ko-DJJRKCG5-5h3k9csc.js → ko-DJJRKCG5-4fekzjn4.js} +1 -4
  92. package/dist/{ko-LA5OSS5P-mq5h8sbk.js → ko-H2RGQWKJ-9696w762.js} +38 -5
  93. package/dist/{ko-TLL6Z6CD-wrt3n8a9.js → ko-Q24HSSL4-5vn55pte.js} +20 -5
  94. package/dist/{ko-B4SEC7QX-thq2wt6a.js → ko-RYKAL74T-10m4z8vw.js} +83 -8
  95. package/dist/localization-skqjy9nr.js +45 -0
  96. package/dist/maestro-automate-entry-d1v5q5mv.js +14 -0
  97. package/dist/{node-xqc0h091.js → node-0jy3qx5b.js} +69 -638
  98. package/dist/node-service-2nxpk751.js +64 -0
  99. package/dist/{node-strategy-1dmmhvf3.js → node-strategy-wrjxmbzt.js} +9 -12
  100. package/dist/node-sync-service-68vq10je.js +56 -0
  101. package/dist/packager-tool-14rdgz3c.js +55 -0
  102. package/dist/packager-tool-1rhch6b5.js +496 -0
  103. package/dist/packager-tool-21t17xzz.js +5073 -0
  104. package/dist/{packager-tool-pvhx9e12.js → packager-tool-2b0tn4p4.js} +58 -176
  105. package/dist/{packager-tool-f9jxca9z.js → packager-tool-368bft50.js} +11 -11
  106. package/dist/{packager-tool-a5afh1dc.js → packager-tool-4fv0sq2h.js} +61 -67
  107. package/dist/packager-tool-4g87fbz6.js +273 -0
  108. package/dist/packager-tool-4zt1s51a.js +53 -0
  109. package/dist/{packager-tool-frjt46rb.js → packager-tool-508ka40b.js} +23 -23
  110. package/dist/{packager-tool-gbv6f0ac.js → packager-tool-5104bnpv.js} +22 -21
  111. package/dist/packager-tool-5dgpfh5e.js +1274 -0
  112. package/dist/packager-tool-5ve5ms3b.js +2393 -0
  113. package/dist/{packager-tool-dxgrhfq5.js → packager-tool-64r7e4ek.js} +8 -8
  114. package/dist/{packager-tool-h6pf3qxq.js → packager-tool-65yf8zqb.js} +180 -1237
  115. package/dist/{packager-tool-1yh8g550.js → packager-tool-6an893wm.js} +12 -3
  116. package/dist/{packager-tool-htrt75v4.js → packager-tool-6jpvvxyb.js} +27 -22
  117. package/dist/packager-tool-6vhefpmq.js +461 -0
  118. package/dist/{packager-tool-1nfbzy0h.js → packager-tool-72xwbsmw.js} +441 -556
  119. package/dist/packager-tool-7atc775f.js +30 -0
  120. package/dist/packager-tool-7mxn3e7j.js +27 -0
  121. package/dist/{packager-tool-wvmtp8zt.js → packager-tool-7qtnffkc.js} +8 -7
  122. package/dist/{packager-tool-ymma2s85.js → packager-tool-8ba22j6n.js} +9 -6
  123. package/dist/{packager-tool-apawc11t.js → packager-tool-8ed52y5r.js} +1584 -1261
  124. package/dist/{packager-tool-v11fm907.js → packager-tool-8n4bdvke.js} +13 -13
  125. package/dist/{packager-tool-p8gab24q.js → packager-tool-8qypzm9v.js} +424 -404
  126. package/dist/packager-tool-9217bxm2.js +6 -0
  127. package/dist/{packager-tool-zfrp8ecz.js → packager-tool-951nhh3e.js} +82 -82
  128. package/dist/{packager-tool-ap0zt7de.js → packager-tool-99d2kj94.js} +8 -11
  129. package/dist/{packager-tool-z21c6mbp.js → packager-tool-a1h0q79w.js} +48 -48
  130. package/dist/{packager-tool-xk78j7dz.js → packager-tool-ac6rvny7.js} +52 -57
  131. package/dist/{packager-tool-1d64q5s5.js → packager-tool-b2pkwwj1.js} +1273 -1300
  132. package/dist/{packager-tool-yetpbbey.js → packager-tool-bbkkxbyq.js} +9 -8
  133. package/dist/{packager-tool-409n51pv.js → packager-tool-d07g2kpn.js} +7 -7
  134. package/dist/{packager-tool-8zzmg2f3.js → packager-tool-dx6sjbkd.js} +19 -19
  135. package/dist/{packager-tool-8g5931fz.js → packager-tool-em4ppegs.js} +36 -43
  136. package/dist/{packager-tool-zgsvggdr.js → packager-tool-f7rk9xhv.js} +4 -4
  137. package/dist/{packager-tool-jrnjzs5t.js → packager-tool-fzgfb0jt.js} +32175 -36281
  138. package/dist/{packager-tool-9rmaeaww.js → packager-tool-gdpw0daf.js} +25211 -11966
  139. package/dist/packager-tool-hk0fnvz5.js +14 -0
  140. package/dist/{packager-tool-dbsdy4xx.js → packager-tool-jd3v0bh1.js} +4 -4
  141. package/dist/{packager-tool-tqjfdpda.js → packager-tool-jmrhzfyj.js} +106 -80
  142. package/dist/{packager-tool-2px5qqm4.js → packager-tool-kz3t4raw.js} +490 -246
  143. package/dist/{packager-tool-7bam8cjq.js → packager-tool-mdf7bws6.js} +53255 -27261
  144. package/dist/{packager-tool-gdtpsdn7.js → packager-tool-mm1x18d6.js} +223 -28
  145. package/dist/{packager-tool-nkrmjr3a.js → packager-tool-mphfxa9g.js} +125 -125
  146. package/dist/{packager-tool-kn86394c.js → packager-tool-p123mtfx.js} +66 -692
  147. package/dist/{packager-tool-t7ahhaer.js → packager-tool-pxq0bwp0.js} +208 -138
  148. package/dist/{packager-tool-j95w4fj3.js → packager-tool-q0f1dvtd.js} +11 -11
  149. package/dist/{packager-tool-8qp60s20.js → packager-tool-q2f18crb.js} +3 -3
  150. package/dist/packager-tool-q2kwk5bf.js +57 -0
  151. package/dist/{packager-tool-09rvpfjd.js → packager-tool-rxqxza90.js} +192 -183
  152. package/dist/{packager-tool-3m4ve01f.js → packager-tool-ryds9860.js} +33 -36
  153. package/dist/{packager-tool-ykbahxma.js → packager-tool-t17t9svg.js} +6 -6
  154. package/dist/{packager-tool-myhbp761.js → packager-tool-vgrswa8p.js} +53 -8
  155. package/dist/{packager-tool-7hw344bt.js → packager-tool-xb16e3tz.js} +5 -5
  156. package/dist/{packager-tool-1frs4sr4.js → packager-tool-yewnsyag.js} +37 -5
  157. package/dist/packager-tool-zdqbp34f.js +14 -0
  158. package/dist/{packager-tool-pacrqxv2.js → packager-tool-ze3fnf3s.js} +52 -34
  159. package/dist/packager-tool.js +12 -32
  160. package/dist/prepare-uip-ad7mfs8t.js +92 -0
  161. package/dist/{pt-3KUMINBZ-d0fexmny.js → pt-2RGHDOG4-gwe2ptvg.js} +38 -5
  162. package/dist/{pt-BR-3LGIH33I-tqbrd89y.js → pt-BR-3LGIH33I-hdf332je.js} +1 -4
  163. package/dist/{pt-BR-USP2T7GD-pedn77m1.js → pt-BR-BIUJXIPU-2sqzhr8y.js} +20 -5
  164. package/dist/{pt-BR-6VFBW5QT-hsck9gjj.js → pt-BR-IL3KLBID-m1mvqqzb.js} +83 -8
  165. package/dist/{pt-BR-WNNZTIMN-6fent688.js → pt-BR-JWHVZE6H-gvkknv49.js} +38 -5
  166. package/dist/{pt-BR-TKHNHMET-4Z5H4N5G-pzw3328h.js → pt-BR-PHLFHMXZ-JFPKUXIZ-gyb27t6e.js} +425 -37
  167. package/dist/{pt-BR-GNQNAAZ2-xadharv4.js → pt-BR-PHLFHMXZ-n6de4s7z.js} +191 -11
  168. package/dist/{pt-RMIAKZB4-t80exmp7.js → pt-MHX6JGAX-xfgvdqwg.js} +20 -5
  169. package/dist/{pt-ROXU257Y-OWZOS54V-ywap2t39.js → pt-N7ZTJT4W-GVODJMRX-p5b51p0b.js} +424 -36
  170. package/dist/{pt-TO2DARY2-ftcce1bv.js → pt-N7ZTJT4W-d6c67xcn.js} +190 -10
  171. package/dist/{pt-PFZXVOQH-qshq0b2m.js → pt-PFZXVOQH-xvcm5b61.js} +1 -4
  172. package/dist/{pt-WOTPKWPZ-1rxcy8hs.js → pt-VLA5IOHO-8t4pze0h.js} +83 -8
  173. package/dist/{ro-GHOBYW2S-4zevc9dy.js → ro-3RKJNGJZ-xqj14e3d.js} +20 -5
  174. package/dist/{ro-KMDT7LYJ-yhpnsdvw.js → ro-53TS7SWG-hnjx1c7b.js} +38 -5
  175. package/dist/{ro-AN5G62WQ-kcj00jwq.js → ro-AN5G62WQ-fzsv2ymm.js} +1 -4
  176. package/dist/{ro-AVAWPKOO-6WCG756B-v7pjv1hc.js → ro-FLNXVYJI-ZN43XZKK-2tajkc94.js} +422 -34
  177. package/dist/{ro-WUYJV6OW-a8d9qy1n.js → ro-FLNXVYJI-ytrwabg2.js} +190 -10
  178. package/dist/{ro-PB44YXML-zmhhwp5h.js → ro-IRNFX376-mh84zk3n.js} +82 -7
  179. package/dist/{ru-GSCT4ARZ-FTVCGQTL-gee86v14.js → ru-GSCT4ARZ-FTVCGQTL-v3d4ag31.js} +2 -4
  180. package/dist/ru-GSCT4ARZ-c2cfq4h1.js +7 -0
  181. package/dist/{ru-T73OPRTC-4knxw497.js → ru-T73OPRTC-50m7tty9.js} +1 -4
  182. package/dist/{ru-WBLQ5B2U-wemdzdqd.js → ru-WBLQ5B2U-5qpt0mvh.js} +1 -4
  183. package/dist/{ru-WBLQ5B2U-8r3c7v6d.js → ru-WBLQ5B2U-bf20yr5y.js} +1 -4
  184. package/dist/{ru-WBLQ5B2U-kdey8qa4.js → ru-WBLQ5B2U-w2wmp3xb.js} +1 -4
  185. package/dist/{serialization-BXU6AKAN-vdqyr29x.js → serialization-Z3UYT6BW-y9gb55mp.js} +1638 -761
  186. package/dist/services/extract-schema/default-schema-document.d.ts +31 -0
  187. package/dist/services/node-service.d.ts +6 -3
  188. package/dist/services/node-validators/file-node-connection-validator.d.ts +2 -0
  189. package/dist/services/node-validators/index.d.ts +1 -0
  190. package/dist/services/orchestrator-connection-field.d.ts +24 -0
  191. package/dist/services/packaging-utils.d.ts +2 -2
  192. package/dist/services/vars-reference-rule.d.ts +4 -3
  193. package/dist/solution-auth-j8x84n5z.js +11 -0
  194. package/dist/solution-discovery-vn4q32bf.js +38 -0
  195. package/dist/{tidy-service-hz61ypyj.js → tidy-service-m33hhtc7.js} +37 -55
  196. package/dist/tool.js +18 -27
  197. package/dist/{tr-JMIP7ZSL-G3QYPVT2-gswngwcr.js → tr-7AIZZWZ6-ESAESUPL-77g9b7jb.js} +422 -34
  198. package/dist/{tr-M3F5A6AU-bb0tg39m.js → tr-7AIZZWZ6-pdzp9n0p.js} +190 -10
  199. package/dist/{tr-SEC6RGZ4-0ttavjya.js → tr-EJKY7DVQ-rkctqva4.js} +83 -8
  200. package/dist/{tr-KHOCWWLF-8apf5y44.js → tr-KHOCWWLF-m9t24j5y.js} +1 -4
  201. package/dist/{tr-SC55DYHY-e4zgcd4t.js → tr-PIQY7JIT-2mkwk0kq.js} +38 -5
  202. package/dist/{tr-GDTLECMM-kngksm3r.js → tr-PQLUUHPC-qsb7btxn.js} +20 -5
  203. package/dist/utils/container-ports.d.ts +22 -0
  204. package/dist/utils/handle-expansion.d.ts +57 -3
  205. package/dist/utils/workflow-file-format.d.ts +14 -0
  206. package/dist/validation.js +44 -68
  207. package/dist/{variable-service-9ex4a93n.js → variable-service-ea1erf93.js} +28 -49
  208. package/dist/{wait-for-flow-job-b0vj8828.js → wait-for-flow-job-a4xtda36.js} +29 -36
  209. package/dist/{zh-CN-MX7VIOF2-xznrtchf.js → zh-CN-4FH7E7UL-84y6j2ea.js} +82 -7
  210. package/dist/{zh-CN-4NI2EGMV-8g027vv3.js → zh-CN-4NI2EGMV-dt0wg0wh.js} +1 -4
  211. package/dist/{zh-CN-IFFXSEJS-MZQ4HU3Z-ge1ynmtz.js → zh-CN-CN2ARPFS-NIQTWDK2-b5c91fwn.js} +422 -34
  212. package/dist/{zh-CN-C5G4PC7C-ds9gkptg.js → zh-CN-CN2ARPFS-e0p2qrxf.js} +190 -10
  213. package/dist/{en-BPJVY3U7-xkpj5xc5.js → zh-CN-NIEVKROA-q4tbbwqz.js} +26 -7
  214. package/dist/{zh-CN-I5D7WHBD-ge92tbx9.js → zh-CN-OHNTHZRI-b0hjkfqn.js} +20 -5
  215. package/dist/{zh-TW-53SU6EH4-33x57egq.js → zh-TW-53SU6EH4-w0wz3nwg.js} +1 -4
  216. package/dist/{zh-TW-5SJ3GZT2-bsg054mw.js → zh-TW-5WQA6QTM-hns69sd4.js} +83 -8
  217. package/dist/{zh-TW-IYBNYAMG-J7FWTQTK-sx8d4ymg.js → zh-TW-7RUFEVFK-VKVRSVTP-jq2pcmar.js} +421 -33
  218. package/dist/{zh-TW-62HZIG6O-787kdwex.js → zh-TW-7RUFEVFK-qd7myw31.js} +190 -10
  219. package/dist/{zh-TW-2AVLM723-288pkc1z.js → zh-TW-E4D3Y6ZR-tn3bmzz5.js} +20 -5
  220. package/dist/{zh-TW-TN3MPNXL-jcgg2hcs.js → zh-TW-MSQM7YTT-m7r7nwnj.js} +38 -5
  221. package/package.json +2 -2
  222. package/dist/authoring-e1k40hyw.js +0 -24
  223. package/dist/binding-service-0qffbxg7.js +0 -157
  224. package/dist/de-FGHEJRCI-gn4cf5gh.js +0 -2697
  225. package/dist/de-MUJPA4EB-209jpeqe.js +0 -173
  226. package/dist/de-UZI7FJDO-mwvc4cxe.js +0 -200
  227. package/dist/debug-conversation-trigger-2crr9w4n.js +0 -30
  228. package/dist/debug-http-client-yqjzsnhw.js +0 -32
  229. package/dist/debug-service-nra3n02y.js +0 -61
  230. package/dist/edge-service-y44f2rgd.js +0 -170
  231. package/dist/en-E454CJNK-ytfw06kj.js +0 -98
  232. package/dist/en-EJCBA3LK-0wb3b1xy.js +0 -146
  233. package/dist/en-EJCBA3LK-dtpdghgj.js +0 -146
  234. package/dist/en-GN2ZGWUE-03z2df4k.js +0 -136
  235. package/dist/en-LQHKFSEY-vvbe8ve9.js +0 -26
  236. package/dist/en-M7GQYBV2-5nfmpnfz.js +0 -2018
  237. package/dist/en-TBNO2WUV-77KTKLDE-4ktf0pqw.js +0 -1942
  238. package/dist/en-TBNO2WUV-9nan43e5.js +0 -1936
  239. package/dist/es-4UBUTCQA-m1ytpyx2.js +0 -200
  240. package/dist/es-7SE7HX2X-qda7whn6.js +0 -173
  241. package/dist/es-KR3ZSNMP-0cszm2n3.js +0 -2697
  242. package/dist/es-MX-2MYFZU7X-6v0q5rbn.js +0 -173
  243. package/dist/es-MX-5RELIXKI-9jhqtddc.js +0 -200
  244. package/dist/es-MX-XXZJGC4R-b4fbwe9d.js +0 -2697
  245. package/dist/filter-engine-7ep90g7f.js +0 -11
  246. package/dist/first-party-service-srxaftkn.js +0 -27
  247. package/dist/flow-api-sat010z1.js +0 -42
  248. package/dist/flow-eval-node-target-cwxb4kfe.js +0 -52
  249. package/dist/flow-eval-run-api-xdygjzfv.js +0 -13
  250. package/dist/flow-init-service-k7k5vx2z.js +0 -47
  251. package/dist/flow-io-2qdyj5e0.js +0 -44
  252. package/dist/flow-validate-service-x2mbk3et.js +0 -70
  253. package/dist/fr-MDFKNZ4C-qmypp92m.js +0 -173
  254. package/dist/fr-VBM5WRC2-63z7w4mh.js +0 -200
  255. package/dist/fr-Y6NPVODW-q5ef3htr.js +0 -2697
  256. package/dist/index-cg9qhfb1.js +0 -635
  257. package/dist/index-d090f35d.js +0 -66
  258. package/dist/index-gxcjq6ns.js +0 -110
  259. package/dist/index-kmp9fmhb.js +0 -25
  260. package/dist/index-nsn889vf.js +0 -27
  261. package/dist/index-sqhbn7ew.js +0 -157
  262. package/dist/index-wycgq0ff.js +0 -3178
  263. package/dist/index-y1ym28vg.js +0 -667
  264. package/dist/index.umd.min-fqefd9kn.js +0 -7814
  265. package/dist/inline-entity-resolver-c854cqma.js +0 -45
  266. package/dist/input-reader-n7kzdrev.js +0 -12
  267. package/dist/ja-43QL7CGO-h6qfxfay.js +0 -200
  268. package/dist/ja-MDG4BKZQ-gayaca2c.js +0 -38
  269. package/dist/ja-Q5PXKJ2V-tzf2rvz2.js +0 -2697
  270. package/dist/ja-UTQEAP34-hvyf683h.js +0 -173
  271. package/dist/known-types-r51zxb9g.js +0 -19
  272. package/dist/ko-AXCHW2OK-pkwdcbmx.js +0 -173
  273. package/dist/ko-AYBDSRZG-am0h0m2r.js +0 -2697
  274. package/dist/ko-TLL6Z6CD-ag6gjynr.js +0 -200
  275. package/dist/localization-d6gjmrsw.js +0 -47
  276. package/dist/maestro-automate-entry-6f9act3w.js +0 -22
  277. package/dist/node-service-d4xpqs0z.js +0 -92
  278. package/dist/node-sync-service-76b9e4r5.js +0 -61
  279. package/dist/packager-tool-0gctz400.js +0 -17
  280. package/dist/packager-tool-4mna26cc.js +0 -133
  281. package/dist/packager-tool-4x7tzvv0.js +0 -1176
  282. package/dist/packager-tool-53w8skv5.js +0 -262
  283. package/dist/packager-tool-6ejqwbw9.js +0 -26
  284. package/dist/packager-tool-6z1hsm2h.js +0 -143
  285. package/dist/packager-tool-7ja1b5hh.js +0 -8809
  286. package/dist/packager-tool-9era57c0.js +0 -28
  287. package/dist/packager-tool-9jxzgsxc.js +0 -14
  288. package/dist/packager-tool-c23zrhj8.js +0 -11
  289. package/dist/packager-tool-d6qf5qmb.js +0 -49
  290. package/dist/packager-tool-e3yks66r.js +0 -95
  291. package/dist/packager-tool-e5hj89zm.js +0 -6
  292. package/dist/packager-tool-e87tzg4y.js +0 -1937
  293. package/dist/packager-tool-eypvc2kv.js +0 -23
  294. package/dist/packager-tool-gbgfwx8f.js +0 -2
  295. package/dist/packager-tool-hk1gxnth.js +0 -11
  296. package/dist/packager-tool-hxyjn885.js +0 -24
  297. package/dist/packager-tool-j78fwwhq.js +0 -16
  298. package/dist/packager-tool-jgfzfqjm.js +0 -53
  299. package/dist/packager-tool-jysvpt8p.js +0 -11
  300. package/dist/packager-tool-m3wkcxf5.js +0 -11
  301. package/dist/packager-tool-mcaf4ewf.js +0 -46
  302. package/dist/packager-tool-mgcz986r.js +0 -143
  303. package/dist/packager-tool-p79yh9ww.js +0 -97
  304. package/dist/packager-tool-paq9c70w.js +0 -1332
  305. package/dist/packager-tool-pcvhcn2k.js +0 -2019
  306. package/dist/packager-tool-qkn0c042.js +0 -1922
  307. package/dist/packager-tool-qszay16r.js +0 -180
  308. package/dist/packager-tool-red2crtp.js +0 -5367
  309. package/dist/packager-tool-rs6jm14d.js +0 -23
  310. package/dist/packager-tool-s7wb0s9n.js +0 -6297
  311. package/dist/packager-tool-sc961w0q.js +0 -16
  312. package/dist/packager-tool-skcjythd.js +0 -22085
  313. package/dist/packager-tool-t07ev0jj.js +0 -1083
  314. package/dist/packager-tool-xj0agqpk.js +0 -11
  315. package/dist/packager-tool-z83pga0z.js +0 -1942
  316. package/dist/pt-3DIO5QWG-hb763vct.js +0 -173
  317. package/dist/pt-BR-TKHNHMET-dn6zxk1d.js +0 -2697
  318. package/dist/pt-BR-USP2T7GD-rppy42ym.js +0 -200
  319. package/dist/pt-BR-Y6K6XHXK-37a932vp.js +0 -173
  320. package/dist/pt-RMIAKZB4-67enhx3m.js +0 -200
  321. package/dist/pt-ROXU257Y-yd80gx6s.js +0 -2697
  322. package/dist/ro-AVAWPKOO-42m6am1w.js +0 -2697
  323. package/dist/ro-BWR3ONRR-jmap5ajd.js +0 -173
  324. package/dist/ro-GHOBYW2S-mhnqsgaa.js +0 -200
  325. package/dist/ru-GSCT4ARZ-1sa9wbr8.js +0 -10
  326. package/dist/ru-GSCT4ARZ-jrxwev63.js +0 -10
  327. package/dist/ru-WBLQ5B2U-dpqvtfwr.js +0 -10
  328. package/dist/ru-WBLQ5B2U-s4em88p0.js +0 -10
  329. package/dist/shared-utils-tqnx96mg.js +0 -21
  330. package/dist/solution-auth-8qz5pw7z.js +0 -14
  331. package/dist/solution-discovery-6t0z143v.js +0 -44
  332. package/dist/tr-5IIHSFW5-stsb3dar.js +0 -173
  333. package/dist/tr-GDTLECMM-k5fhmq13.js +0 -200
  334. package/dist/tr-JMIP7ZSL-fb67ft9w.js +0 -2696
  335. package/dist/zh-CN-I5D7WHBD-sr5h0a98.js +0 -200
  336. package/dist/zh-CN-IFFXSEJS-tke4mzty.js +0 -2697
  337. package/dist/zh-CN-OUMLDKDS-q3a1rr5c.js +0 -38
  338. package/dist/zh-CN-R2KU4U5L-q4yhc33t.js +0 -173
  339. package/dist/zh-TW-2AVLM723-xsmap3gk.js +0 -200
  340. package/dist/zh-TW-GNKMELBF-r4ay2475.js +0 -173
  341. package/dist/zh-TW-IYBNYAMG-wcan0qpb.js +0 -2697
  342. /package/dist/{packager-tool-yc4kw997.js → packager-tool-1qg04b7q.js} +0 -0
  343. /package/dist/{packager-tool-cqtsj6yh.js → packager-tool-2sazb7th.js} +0 -0
  344. /package/dist/{packager-tool-s9ff3kk4.js → packager-tool-887wr6jm.js} +0 -0
  345. /package/dist/{packager-tool-aw9v0raw.js → packager-tool-8c7nddd1.js} +0 -0
  346. /package/dist/{packager-tool-9cq9atem.js → packager-tool-a9xgmn1q.js} +0 -0
  347. /package/dist/{packager-tool-4kr6g0zw.js → packager-tool-cvh1a0nm.js} +0 -0
  348. /package/dist/{packager-tool-27avrkyk.js → packager-tool-k3egwd1m.js} +0 -0
  349. /package/dist/{packager-tool-qa9gftnj.js → packager-tool-mxgybnmt.js} +0 -0
  350. /package/dist/{packager-tool-10vc8pq4.js → packager-tool-wr7gn964.js} +0 -0
@@ -0,0 +1,14 @@
1
+ import {
2
+ EvalRunApi
3
+ } from "./packager-tool-ac6rvny7.js";
4
+
5
+ // src/services/flow-eval-run-api.ts
6
+ class FlowEvalRunApi2 extends EvalRunApi {
7
+ constructor() {
8
+ super("Flow");
9
+ }
10
+ }
11
+
12
+ export { FlowEvalRunApi2 };
13
+
14
+ //# debugId=4C63D43E7EBBA44064756E2164756E21
@@ -1,13 +1,13 @@
1
1
  import {
2
- isStartEventNode
3
- } from "./packager-tool-s7wb0s9n.js";
2
+ isStartEventNode2
3
+ } from "./packager-tool-fzgfb0jt.js";
4
4
 
5
5
  // ../packager/packager-tool-flow/src/entry-point-triggers.ts
6
6
  function isRecord(value) {
7
7
  return typeof value === "object" && value !== null && !Array.isArray(value);
8
8
  }
9
9
  function entryPointTriggers(nodes) {
10
- return nodes.filter((node) => isRecord(node) && typeof node.id === "string" && typeof node.type === "string" && isStartEventNode({
10
+ return nodes.filter((node) => isRecord(node) && typeof node.id === "string" && typeof node.type === "string" && isStartEventNode2({
11
11
  id: node.id,
12
12
  type: node.type,
13
13
  typeVersion: typeof node.typeVersion === "string" ? node.typeVersion : "1.0"
@@ -23,4 +23,4 @@ function defaultEntryPointNodeId(nodes) {
23
23
 
24
24
  export { entryPointTriggers, defaultEntryPointNodeId };
25
25
 
26
- //# debugId=5CDC1671D6970ABC64756E2164756E21
26
+ //# debugId=D03A0897FE5A5B9164756E2164756E21
@@ -1,25 +1,54 @@
1
1
  import {
2
- MaestroHttpError,
3
- automationSolutionsGet,
4
- debugPimsGet,
5
- debugPimsPost,
6
- orchestratorGet,
7
- orchestratorPost,
8
- studioWebPost
9
- } from "./packager-tool-frjt46rb.js";
2
+ catchError2
3
+ } from "./packager-tool-pxq0bwp0.js";
10
4
  import {
11
5
  RESULTS,
12
6
  logger
13
- } from "./packager-tool-apawc11t.js";
7
+ } from "./packager-tool-8ed52y5r.js";
14
8
  import {
15
- catchError
16
- } from "./packager-tool-t7ahhaer.js";
9
+ MaestroHttpError2,
10
+ automationSolutionsGet2,
11
+ orchestratorGet2,
12
+ orchestratorPost2,
13
+ debugPimsGet2,
14
+ debugPimsPost2,
15
+ studioWebPost2
16
+ } from "./packager-tool-508ka40b.js";
17
17
 
18
18
  // ../maestro-sdk/src/debug-service.ts
19
19
  import { randomUUID } from "node:crypto";
20
+
21
+ // ../maestro-sdk/src/debug-poll-retry.ts
22
+ var POLL_RETRY_DELAYS_MS = [5000, 1e4];
23
+ var isRetryablePollStatus = (httpStatus) => httpStatus === 403 || httpStatus >= 500;
24
+ var delay = (ms) => new Promise((resolve) => setTimeout(resolve, ms));
25
+ async function withPollRetry(stage, poll, delays = POLL_RETRY_DELAYS_MS) {
26
+ const totalAttempts = delays.length + 1;
27
+ const traceIds = [];
28
+ for (let attempt = 1;; attempt++) {
29
+ const [error, result] = await catchError2(poll());
30
+ if (!error)
31
+ return result;
32
+ if (!(error instanceof MaestroHttpError2) || !isRetryablePollStatus(error.httpStatus)) {
33
+ throw error;
34
+ }
35
+ if (error.parsedTraceId)
36
+ traceIds.push(error.parsedTraceId);
37
+ const retryDelay = delays[attempt - 1];
38
+ if (retryDelay === undefined) {
39
+ error.recordAttempts(totalAttempts, traceIds);
40
+ error.message = `${error.message} — tried ${totalAttempts} times over ${delays.reduce((sum, ms) => sum + ms, 0) / 1000}s${traceIds.length > 0 ? ` (traceIds: ${traceIds.join(", ")})` : ""}`;
41
+ throw error;
42
+ }
43
+ logger.warn(`${stage} returned HTTP ${error.httpStatus} (attempt ${attempt}/${totalAttempts}); retrying in ${retryDelay / 1000}s.`);
44
+ await delay(retryDelay);
45
+ }
46
+ }
47
+
48
+ // ../maestro-sdk/src/debug-service.ts
20
49
  var AGENT_TARGET_RUNTIME = "pythonAgent";
21
50
 
22
- class FpsPropertiesInjectionError extends Error {
51
+ class FpsPropertiesInjectionError2 extends Error {
23
52
  fpsProperties;
24
53
  agentCount;
25
54
  cause;
@@ -31,7 +60,7 @@ class FpsPropertiesInjectionError extends Error {
31
60
  this.cause = cause;
32
61
  }
33
62
  }
34
- function injectInlineAgentProcessEntries(fpsProperties, inlineAgents, flowProjectId) {
63
+ function injectInlineAgentProcessEntries2(fpsProperties, inlineAgents, flowProjectId) {
35
64
  if (!inlineAgents || inlineAgents.length === 0)
36
65
  return fpsProperties;
37
66
  const entries = inlineAgents.map((agent) => ({
@@ -51,7 +80,7 @@ function injectInlineAgentProcessEntries(fpsProperties, inlineAgents, flowProjec
51
80
  }));
52
81
  return appendProcessEntries(fpsProperties, entries, inlineAgents.length);
53
82
  }
54
- function injectSolutionProjectProcessEntries(fpsProperties, solutionProjects) {
83
+ function injectSolutionProjectProcessEntries2(fpsProperties, solutionProjects) {
55
84
  if (!solutionProjects || solutionProjects.length === 0) {
56
85
  return fpsProperties;
57
86
  }
@@ -69,7 +98,7 @@ function injectSolutionProjectProcessEntries(fpsProperties, solutionProjects) {
69
98
  } : {
70
99
  projectId: project.projectId,
71
100
  debugArgs: {
72
- debugMode: project.debugMode ?? DEBUG_MODE_MAP.Default,
101
+ debugMode: project.debugMode ?? DEBUG_MODE_MAP2.Default,
73
102
  studioWebProjectId: project.projectId,
74
103
  processType: project.projectType,
75
104
  solutionId: project.solutionId,
@@ -92,23 +121,23 @@ function appendProcessEntries(fpsProperties, entries, entryCount) {
92
121
  }
93
122
  return JSON.stringify(outer);
94
123
  } catch (err) {
95
- throw new FpsPropertiesInjectionError(fpsProperties ?? "", entryCount, err);
124
+ throw new FpsPropertiesInjectionError2(fpsProperties ?? "", entryCount, err);
96
125
  }
97
126
  }
98
- function extractStartEventId(bpmnXml) {
127
+ function extractStartEventId2(bpmnXml) {
99
128
  const match = bpmnXml.match(/<bpmn:startEvent\s+id="([^"]+)"/);
100
129
  return match?.[1] ?? "start";
101
130
  }
102
- async function getPersonalFolderKey(config) {
103
- const result = await orchestratorGet(config, "/api/Folders/GetAllForCurrentUser", "get-personal-folder");
131
+ async function getPersonalFolderKey2(config) {
132
+ const result = await orchestratorGet2(config, "/api/Folders/GetAllForCurrentUser", "get-personal-folder");
104
133
  const personal = result.PageItems?.find((f) => f.FolderType === "Personal");
105
134
  if (!personal) {
106
135
  throw new Error("No personal workspace folder found. Ensure your account has a personal workspace.");
107
136
  }
108
137
  return { key: personal.Key, id: personal.Id };
109
138
  }
110
- async function getPersonalFolderInfo(config) {
111
- const result = await orchestratorGet(config, "/api/Folders/GetAllForCurrentUser", "get-personal-folder");
139
+ async function getPersonalFolderInfo2(config) {
140
+ const result = await orchestratorGet2(config, "/api/Folders/GetAllForCurrentUser", "get-personal-folder");
112
141
  const personal = result.PageItems?.find((f) => f.FolderType === "Personal");
113
142
  if (!personal) {
114
143
  throw new Error("No personal workspace folder found. Ensure your account has a personal workspace.");
@@ -129,7 +158,7 @@ var TERMINAL_PROJECT_DEBUG_STATUSES = new Set([
129
158
  "validationfailed"
130
159
  ]);
131
160
 
132
- class DebugProvisioningFailedError extends Error {
161
+ class DebugProvisioningFailedError2 extends Error {
133
162
  status;
134
163
  errors;
135
164
  constructor(status, errors) {
@@ -138,11 +167,8 @@ class DebugProvisioningFailedError extends Error {
138
167
  this.status = status;
139
168
  this.errors = errors;
140
169
  }
141
- get isValidationFailure() {
142
- return this.status.toLowerCase() === "validationfailed";
143
- }
144
170
  }
145
- var delay = (ms) => new Promise((resolve) => setTimeout(resolve, ms));
171
+ var delay2 = (ms) => new Promise((resolve) => setTimeout(resolve, ms));
146
172
  async function waitForProjectProvisioning(config, solutionId, sessionId, timeoutMs, pollIntervalMs) {
147
173
  const deadline = Date.now() + timeoutMs;
148
174
  const path = `/api/v1/solutions/${encodeURIComponent(solutionId)}/projects/debug/status` + `?debugSessionId=${encodeURIComponent(sessionId)}`;
@@ -150,7 +176,7 @@ async function waitForProjectProvisioning(config, solutionId, sessionId, timeout
150
176
  const remainingMs = deadline - Date.now();
151
177
  if (remainingMs <= 0)
152
178
  break;
153
- const [pollError, info] = await catchError(automationSolutionsGet(config, path, "poll-project-debug-status", AbortSignal.timeout(remainingMs)));
179
+ const [pollError, info] = await catchError2(automationSolutionsGet2(config, path, "poll-project-debug-status", AbortSignal.timeout(remainingMs)));
154
180
  if (pollError) {
155
181
  if (Date.now() >= deadline)
156
182
  break;
@@ -160,7 +186,7 @@ async function waitForProjectProvisioning(config, solutionId, sessionId, timeout
160
186
  logger.debug(`Project debug provisioning status: ${info.status ?? "unknown"}`);
161
187
  if (status && TERMINAL_PROJECT_DEBUG_STATUSES.has(status)) {
162
188
  if (status !== "creationsucceeded") {
163
- throw new DebugProvisioningFailedError(info.status ?? "unknown", info.errors ?? []);
189
+ throw new DebugProvisioningFailedError2(info.status ?? "unknown", info.errors ?? []);
164
190
  }
165
191
  logger.info(`Studio Web resources provisioned${info.folderFullyQualifiedName ? ` in ${info.folderFullyQualifiedName}` : ""}`);
166
192
  return;
@@ -168,11 +194,11 @@ async function waitForProjectProvisioning(config, solutionId, sessionId, timeout
168
194
  const remainingAfterPollMs = deadline - Date.now();
169
195
  if (remainingAfterPollMs <= 0)
170
196
  break;
171
- await delay(Math.min(pollIntervalMs, remainingAfterPollMs));
197
+ await delay2(Math.min(pollIntervalMs, remainingAfterPollMs));
172
198
  }
173
199
  throw new Error(`Timed out waiting for Studio Web resource provisioning after ${timeoutMs}ms.`);
174
200
  }
175
- async function prepareForCustomDebug(params) {
201
+ async function prepareForCustomDebug2(params) {
176
202
  const sessionId = params.sessionId ?? randomUUID();
177
203
  const query = new URLSearchParams({
178
204
  sessionId,
@@ -183,7 +209,7 @@ async function prepareForCustomDebug(params) {
183
209
  forceProvisioning: "false"
184
210
  });
185
211
  const tenantIdHeader = params.config.tenantId ? { "X-UIPATH-TenantId": params.config.tenantId } : {};
186
- const result = await studioWebPost(params.config, params.config.organizationName, `/resourcebuilder/solutions/${encodeURIComponent(params.solutionId)}/projects/${encodeURIComponent(params.projectId)}/debug?${query.toString()}`, new FormData, tenantIdHeader, "prepare-custom-debug");
212
+ const result = await studioWebPost2(params.config, params.config.organizationName, `/resourcebuilder/solutions/${encodeURIComponent(params.solutionId)}/projects/${encodeURIComponent(params.projectId)}/debug?${query.toString()}`, new FormData, tenantIdHeader, "prepare-custom-debug");
187
213
  let complete = result.complete;
188
214
  if (complete === false) {
189
215
  await waitForProjectProvisioning(params.config, params.solutionId, sessionId, params.provisioningTimeoutMs ?? PROJECT_DEBUG_TIMEOUT_MS, params.provisioningPollIntervalMs ?? PROJECT_DEBUG_POLL_INTERVAL_MS);
@@ -198,8 +224,8 @@ async function prepareForCustomDebug(params) {
198
224
  solutionDebugId: result.solutionDebugId ?? params.solutionId
199
225
  };
200
226
  }
201
- async function getFolderInfoById(config, folderId) {
202
- const result = await orchestratorGet(config, `/odata/Folders(${folderId})`, "get-folder-by-id");
227
+ async function getFolderInfoById2(config, folderId) {
228
+ const result = await orchestratorGet2(config, `/odata/Folders(${folderId})`, "get-folder-by-id");
203
229
  return {
204
230
  key: result.Key,
205
231
  id: result.Id,
@@ -208,8 +234,8 @@ async function getFolderInfoById(config, folderId) {
208
234
  parentKey: result.ParentKey
209
235
  };
210
236
  }
211
- async function beginDebugSession(config, inputArguments = "{}", options) {
212
- const fpsProperties = injectSolutionProjectProcessEntries(injectInlineAgentProcessEntries(options?.fpsProperties, options?.inlineAgents, options?.flowProjectId), options?.solutionProjects);
237
+ async function beginDebugSession2(config, inputArguments = "{}", options) {
238
+ const fpsProperties = injectSolutionProjectProcessEntries2(injectInlineAgentProcessEntries2(options?.fpsProperties, options?.inlineAgents, options?.flowProjectId), options?.solutionProjects);
213
239
  const body = {
214
240
  JobsCount: 1,
215
241
  JobPriority: null,
@@ -223,34 +249,34 @@ async function beginDebugSession(config, inputArguments = "{}", options) {
223
249
  InputArguments: inputArguments,
224
250
  ...fpsProperties ? { FpsProperties: fpsProperties } : {}
225
251
  };
226
- const result = await orchestratorPost(config, "/api/robotdebug/BeginSession", body, "begin-debug-session");
252
+ const result = await orchestratorPost2(config, "/api/robotdebug/BeginSession", body, "begin-debug-session");
227
253
  if (!result.jobKey) {
228
254
  throw new Error("BeginSession returned success but no jobKey was provided");
229
255
  }
230
256
  return result;
231
257
  }
232
- var DEBUG_MODE_MAP = {
258
+ var DEBUG_MODE_MAP2 = {
233
259
  None: 0,
234
260
  Default: 1,
235
261
  StepByStep: 2,
236
262
  SingleStep: 3
237
263
  };
238
- var SIMULATION_MODE_MAP = {
264
+ var SIMULATION_MODE_MAP2 = {
239
265
  None: 0,
240
266
  All: 1,
241
267
  Selective: 2
242
268
  };
243
269
  var CREATE_DEBUG_INSTANCE_RETRY_DELAYS_MS = [2000, 5000];
244
270
  var CREATE_DEBUG_INSTANCE_RETRYABLE_STATUSES = new Set([500, 503]);
245
- async function createDebugInstance(config, jobKey, solutionId, studioWebProjectId, entryPoint, processType = "Flow", debugMode = "Default", simulationMode = "None") {
271
+ async function createDebugInstance2(config, jobKey, solutionId, studioWebProjectId, entryPoint, processType = "Flow", debugMode = "Default", simulationMode = "None") {
246
272
  const body = {
247
273
  jobKey,
248
274
  debugArgs: {
249
275
  breakPoints: [],
250
- debugMode: DEBUG_MODE_MAP[debugMode],
276
+ debugMode: DEBUG_MODE_MAP2[debugMode],
251
277
  entryPoint,
252
278
  processType,
253
- simulationMode: SIMULATION_MODE_MAP[simulationMode],
279
+ simulationMode: SIMULATION_MODE_MAP2[simulationMode],
254
280
  solutionId,
255
281
  studioWebProjectId,
256
282
  variables: {}
@@ -260,15 +286,15 @@ async function createDebugInstance(config, jobKey, solutionId, studioWebProjectI
260
286
  const traceIds = [];
261
287
  let lastError;
262
288
  for (let attempt = 1;attempt <= totalAttempts; attempt++) {
263
- const [error, result] = await catchError(debugPimsPost(config, "/api/v1/debug-instances", body, "create-debug-instance"));
289
+ const [error, result] = await catchError2(debugPimsPost2(config, "/api/v1/debug-instances", body, "create-debug-instance"));
264
290
  if (!error) {
265
291
  if (!result.instanceId) {
266
292
  throw new Error(`debug-instances API returned no instanceId: ${JSON.stringify(result)}`);
267
293
  }
268
294
  return result;
269
295
  }
270
- if (!(error instanceof MaestroHttpError) || !CREATE_DEBUG_INSTANCE_RETRYABLE_STATUSES.has(error.httpStatus)) {
271
- if (attempt > 1 && error instanceof MaestroHttpError) {
296
+ if (!(error instanceof MaestroHttpError2) || !CREATE_DEBUG_INSTANCE_RETRYABLE_STATUSES.has(error.httpStatus)) {
297
+ if (attempt > 1 && error instanceof MaestroHttpError2) {
272
298
  if (error.parsedTraceId) {
273
299
  traceIds.push(error.parsedTraceId);
274
300
  }
@@ -285,7 +311,7 @@ async function createDebugInstance(config, jobKey, solutionId, studioWebProjectI
285
311
  break;
286
312
  }
287
313
  logger.warn(`create-debug-instance returned HTTP ${error.httpStatus} (attempt ${attempt}/${totalAttempts}); retrying in ${retryDelay / 1000}s.`);
288
- await delay(retryDelay);
314
+ await delay2(retryDelay);
289
315
  }
290
316
  if (!lastError) {
291
317
  throw new Error("create-debug-instance failed without an error.");
@@ -311,7 +337,7 @@ var SUCCESS_DEBUG_STATUSES = new Set([
311
337
  ]);
312
338
  var FAULTED_DEBUG_STATUSES = new Set([...PIMS_TERMINAL_STATUSES, ...ORCHESTRATOR_TERMINAL_STATUSES].filter((status) => !SUCCESS_DEBUG_STATUSES.has(status)));
313
339
 
314
- class DebugPollTimeoutError extends Error {
340
+ class DebugPollTimeoutError2 extends Error {
315
341
  instanceId;
316
342
  jobKey;
317
343
  lastStatus;
@@ -325,7 +351,7 @@ class DebugPollTimeoutError extends Error {
325
351
  this.timeoutSeconds = details.timeoutSeconds;
326
352
  }
327
353
  }
328
- function buildPollTimeoutFailureOutput(err, inspectCommand) {
354
+ function buildPollTimeoutFailureOutput2(err, inspectCommand) {
329
355
  const inspect = inspectCommand ? `Check it with '${inspectCommand} ${err.instanceId}', or re-run` : "Re-run";
330
356
  return {
331
357
  Result: RESULTS.Failure,
@@ -342,7 +368,7 @@ function buildPollTimeoutFailureOutput(err, inspectCommand) {
342
368
  }
343
369
  };
344
370
  }
345
- async function pollDebugInstanceStatus(config, instanceId, callbacks, pollInterval = 2000, maxPolls = 300, jobKey) {
371
+ async function pollDebugInstanceStatus2(config, instanceId, callbacks, pollInterval = 2000, maxPolls = 300, jobKey) {
346
372
  let pollCount = 0;
347
373
  let lastStatus = "";
348
374
  const canCheckOrchestratorJob = jobKey !== undefined && ORCHESTRATOR_JOB_KEY.test(jobKey);
@@ -350,7 +376,7 @@ async function pollDebugInstanceStatus(config, instanceId, callbacks, pollInterv
350
376
  logger.warn(`Skipping the Orchestrator job status fallback: "${jobKey}" is not a job key.`);
351
377
  }
352
378
  while (pollCount < maxPolls) {
353
- const status = await debugPimsGet(config, `/api/v1/debug-instances/${instanceId}/element-executions`, "poll-instance-status");
379
+ const status = await withPollRetry("poll-instance-status", () => debugPimsGet2(config, `/api/v1/debug-instances/${instanceId}/element-executions`, "poll-instance-status"));
354
380
  if (status.status !== lastStatus) {
355
381
  lastStatus = status.status;
356
382
  const elementExecutions = status.elementExecutions.map((e) => ({
@@ -370,7 +396,7 @@ async function pollDebugInstanceStatus(config, instanceId, callbacks, pollInterv
370
396
  return status;
371
397
  }
372
398
  if (canCheckOrchestratorJob && pollCount > 0 && pollCount % 5 === 0) {
373
- const [, jobResponse] = await catchError(orchestratorGet(config, `/odata/Jobs?$filter=Key eq ${jobKey}&$top=1`, "check-orchestrator-job-status"));
399
+ const [, jobResponse] = await catchError2(orchestratorGet2(config, `/odata/Jobs?$filter=Key eq ${jobKey}&$top=1`, "check-orchestrator-job-status"));
374
400
  const jobState = jobResponse?.value?.[0]?.State;
375
401
  if (jobState && ORCHESTRATOR_TERMINAL_STATUSES.includes(jobState)) {
376
402
  const jobInfo = jobResponse?.value?.[0]?.Info ?? "";
@@ -381,21 +407,21 @@ async function pollDebugInstanceStatus(config, instanceId, callbacks, pollInterv
381
407
  await new Promise((resolve) => setTimeout(resolve, pollInterval));
382
408
  pollCount++;
383
409
  }
384
- throw new DebugPollTimeoutError({
410
+ throw new DebugPollTimeoutError2({
385
411
  instanceId,
386
412
  ...jobKey === undefined ? {} : { jobKey },
387
413
  lastStatus: lastStatus || "unknown",
388
414
  timeoutSeconds: maxPolls * pollInterval / 1000
389
415
  });
390
416
  }
391
- async function fetchDebugInstanceIncidents(config, instanceId) {
392
- const result = await debugPimsGet(config, `/api/v1/debug-instances/${instanceId}/incidents`, "get-debug-instance-incidents");
417
+ async function fetchDebugInstanceIncidents2(config, instanceId) {
418
+ const result = await debugPimsGet2(config, `/api/v1/debug-instances/${instanceId}/incidents`, "get-debug-instance-incidents");
393
419
  return result ?? [];
394
420
  }
395
421
  var FETCH_VARIABLES_RETRY_DELAYS_MS = [2000, 4000];
396
422
  var FETCH_VARIABLES_ATTEMPT_TIMEOUT_MS = 8000;
397
423
 
398
- class DebugVariablesFetchFailedError extends Error {
424
+ class DebugVariablesFetchFailedError2 extends Error {
399
425
  details;
400
426
  constructor(details) {
401
427
  super(`Could not fetch output variables after ${details.attempts} attempt(s): ${details.message}`);
@@ -410,7 +436,7 @@ function undefinedGlobals(response, expected) {
410
436
  }
411
437
  return expected.filter((id) => !Object.hasOwn(defined, id));
412
438
  }
413
- async function fetchDebugInstanceVariables(config, instanceId, options) {
439
+ async function fetchDebugInstanceVariables2(config, instanceId, options) {
414
440
  const endpoint = `/api/v1/debug-instances/${encodeURIComponent(instanceId)}/variables`;
415
441
  const delays = options?.delays ?? FETCH_VARIABLES_RETRY_DELAYS_MS;
416
442
  const attemptTimeoutMs = options?.attemptTimeoutMs ?? FETCH_VARIABLES_ATTEMPT_TIMEOUT_MS;
@@ -432,7 +458,7 @@ async function fetchDebugInstanceVariables(config, instanceId, options) {
432
458
  for (let attempt = 1;attempt <= totalAttempts; attempt++) {
433
459
  const controller = new AbortController;
434
460
  const timer = setTimeout(() => controller.abort(), attemptTimeoutMs);
435
- const [error, result] = await catchError(debugPimsGet(config, endpoint, "fetch-output-variables", { signal: controller.signal }));
461
+ const [error, result] = await catchError2(debugPimsGet2(config, endpoint, "fetch-output-variables", { signal: controller.signal }));
436
462
  clearTimeout(timer);
437
463
  const missing = error ? [] : undefinedGlobals(result, options?.expectGlobals ?? []);
438
464
  if (!error && missing.length === 0) {
@@ -452,7 +478,7 @@ async function fetchDebugInstanceVariables(config, instanceId, options) {
452
478
  failures.push("timeout");
453
479
  lastMessage = `timed out after ${attemptTimeoutMs / 1000}s`;
454
480
  lastStatus = undefined;
455
- } else if (error instanceof MaestroHttpError) {
481
+ } else if (error instanceof MaestroHttpError2) {
456
482
  failures.push("http");
457
483
  lastMessage = error.message;
458
484
  lastStatus = error.httpStatus;
@@ -469,9 +495,9 @@ async function fetchDebugInstanceVariables(config, instanceId, options) {
469
495
  break;
470
496
  }
471
497
  logger.warn(`fetch-output-variables failed (attempt ${attempt}/${totalAttempts}): ${lastMessage}; retrying in ${retryDelay / 1000}s.`);
472
- await delay(retryDelay);
498
+ await delay2(retryDelay);
473
499
  }
474
- throw new DebugVariablesFetchFailedError({
500
+ throw new DebugVariablesFetchFailedError2({
475
501
  message: lastMessage,
476
502
  ...lastStatus === undefined ? {} : { httpStatus: lastStatus },
477
503
  attempts: totalAttempts,
@@ -485,17 +511,17 @@ async function fetchDebugInstanceVariables(config, instanceId, options) {
485
511
  ...timing()
486
512
  });
487
513
  }
488
- function isFaultedDebugStatus(status) {
514
+ function isFaultedDebugStatus2(status) {
489
515
  return FAULTED_DEBUG_STATUSES.has(status);
490
516
  }
491
- function isSuccessfulDebugStatus(status) {
517
+ function isSuccessfulDebugStatus2(status) {
492
518
  return SUCCESS_DEBUG_STATUSES.has(status);
493
519
  }
494
- async function resolveFaultIncidents(config, instanceId, status) {
495
- if (!isFaultedDebugStatus(status)) {
520
+ async function resolveFaultIncidents2(config, instanceId, status) {
521
+ if (!isFaultedDebugStatus2(status)) {
496
522
  return;
497
523
  }
498
- const [incidentError, fetched] = await catchError(fetchDebugInstanceIncidents(config, instanceId));
524
+ const [incidentError, fetched] = await catchError2(fetchDebugInstanceIncidents2(config, instanceId));
499
525
  if (incidentError) {
500
526
  logger.warn(`Could not fetch debug incidents: ${incidentError.message}`);
501
527
  return;
@@ -507,10 +533,10 @@ async function resolveFaultIncidents(config, instanceId, status) {
507
533
  logger.warn(`Debug session faulted with ${fetched.length} incident(s). ` + `First: [${first.errorCode ?? "no-code"}] ${first.errorMessage}` + (first.elementId ? ` (element ${first.elementId})` : ""));
508
534
  return fetched;
509
535
  }
510
- function buildStudioWebDesignerUrl(params) {
536
+ function buildStudioWebDesignerUrl2(params) {
511
537
  return `${params.baseUrl}/${encodeURIComponent(params.organizationName)}` + `/studio_/designer/${encodeURIComponent(params.projectId)}` + `?solutionId=${encodeURIComponent(params.solutionId)}`;
512
538
  }
513
- async function uploadAndDebugSolution(params) {
539
+ async function uploadAndDebugSolution2(params) {
514
540
  const { apiConfig } = params;
515
541
  logger.info("Uploading solution to Studio Web...");
516
542
  const importResult = await params.upload();
@@ -520,7 +546,7 @@ async function uploadAndDebugSolution(params) {
520
546
  }
521
547
  const matchedProject = importResult.projects.find((p) => p.name === params.projectName);
522
548
  const studioWebProjectId = (matchedProject ?? importResult.projects[0]).id;
523
- const studioWebUrl = buildStudioWebDesignerUrl({
549
+ const studioWebUrl = buildStudioWebDesignerUrl2({
524
550
  baseUrl: apiConfig.baseUrl,
525
551
  organizationName: params.organizationName,
526
552
  projectId: studioWebProjectId,
@@ -529,7 +555,7 @@ async function uploadAndDebugSolution(params) {
529
555
  logger.info(`Solution uploaded — solutionId: ${solutionId}, projectId: ${studioWebProjectId}`);
530
556
  logger.info(`Studio Web URL: ${studioWebUrl}`);
531
557
  params.callbacks?.onStudioWebUrl?.(studioWebUrl);
532
- const folder = params.folder ?? await getPersonalFolderKey(apiConfig);
558
+ const folder = params.folder ?? await getPersonalFolderKey2(apiConfig);
533
559
  apiConfig.folderKey = folder.key;
534
560
  apiConfig.organizationUnitId = folder.id;
535
561
  logger.info(`Personal folder — key: ${folder.key}, id: ${folder.id}`);
@@ -558,7 +584,7 @@ async function uploadAndDebugSolution(params) {
558
584
  organizationUnitId: apiConfig.organizationUnitId,
559
585
  organizationName: params.organizationName
560
586
  };
561
- const [prepErr, prepIds] = await catchError(prepareForCustomDebug({
587
+ const [prepErr, prepIds] = await catchError2(prepareForCustomDebug2({
562
588
  config: studioWebConfig,
563
589
  solutionId,
564
590
  projectId: studioWebProjectId,
@@ -581,19 +607,19 @@ async function uploadAndDebugSolution(params) {
581
607
  logger.warn("Skipping prepareForCustomDebug — apiConfig.tenantId is not set. " + "Sub-jobs (api-workflow / agent / process orchestration) may fault with a missing debugSessionId.");
582
608
  }
583
609
  logger.info("Beginning debug session in Orchestrator...");
584
- const session = await beginDebugSession(apiConfig, params.beginSessionPayload, {
610
+ const session = await beginDebugSession2(apiConfig, params.beginSessionPayload, {
585
611
  inlineAgents,
586
612
  flowProjectId: studioWebProjectId,
587
613
  ...solutionProjects ? { solutionProjects } : {}
588
614
  });
589
615
  logger.info(`Debug session started — jobKey: ${session.jobKey}`);
590
616
  logger.info("Creating debug instance in PIMS...");
591
- const debugInstance = await createDebugInstance(apiConfig, session.jobKey, debugSolutionId, debugProjectId, params.entryPoint, params.projectType);
617
+ const debugInstance = await createDebugInstance2(apiConfig, session.jobKey, debugSolutionId, debugProjectId, params.entryPoint, params.projectType);
592
618
  logger.info(`Debug instance created — instanceId: ${debugInstance.instanceId}`);
593
619
  logger.info("Polling for completion...");
594
- const finalResponse = await pollDebugInstanceStatus(apiConfig, debugInstance.instanceId, params.callbacks, params.pollInterval, params.maxPolls, session.jobKey);
620
+ const finalResponse = await pollDebugInstanceStatus2(apiConfig, debugInstance.instanceId, params.callbacks, params.pollInterval, params.maxPolls, session.jobKey);
595
621
  const terminalStatusAt = Date.now();
596
- const incidents = await resolveFaultIncidents(apiConfig, debugInstance.instanceId, finalResponse.status);
622
+ const incidents = await resolveFaultIncidents2(apiConfig, debugInstance.instanceId, finalResponse.status);
597
623
  return {
598
624
  jobKey: session.jobKey,
599
625
  instanceId: debugInstance.instanceId,
@@ -613,7 +639,7 @@ async function uploadAndDebugSolution(params) {
613
639
  incidents
614
640
  };
615
641
  }
616
- async function patchConnectionOverwrites(config, organizationName, solutionId, solutionDir, folder, fs) {
642
+ async function patchConnectionOverwrites2(config, organizationName, solutionId, solutionDir, folder, fs) {
617
643
  const connectionsDir = fs.path.join(solutionDir, "resources", "solution_folder", "connection");
618
644
  if (!await fs.exists(connectionsDir)) {
619
645
  return 0;
@@ -622,15 +648,15 @@ async function patchConnectionOverwrites(config, organizationName, solutionId, s
622
648
  const connectionResources = (await Promise.all(connectorDirs.map(async (connectorDir) => {
623
649
  const connectorPath = fs.path.join(connectionsDir, connectorDir);
624
650
  const stat = await fs.stat(connectorPath);
625
- if (!stat.isDirectory())
651
+ if (!stat?.isDirectory())
626
652
  return [];
627
653
  const files = await fs.readdir(connectorPath);
628
654
  const results = await Promise.all(files.filter((file) => file.endsWith(".json")).map(async (file) => {
629
655
  const filePath = fs.path.join(connectorPath, file);
630
- const [readErr, content] = await catchError(fs.readFile(filePath, "utf-8"));
656
+ const [readErr, content] = await catchError2(fs.readFile(filePath, "utf-8"));
631
657
  if (readErr || !content)
632
658
  return;
633
- const [parseErr, parsed] = catchError(() => JSON.parse(content));
659
+ const [parseErr, parsed] = catchError2(() => JSON.parse(content));
634
660
  if (parseErr || parsed.resource?.kind !== "connection")
635
661
  return;
636
662
  return parsed;
@@ -651,7 +677,7 @@ async function patchConnectionOverwrites(config, organizationName, solutionId, s
651
677
  const validResources = connectionResources.filter((cr) => cr.resource.key && cr.resource.type);
652
678
  let successCount = 0;
653
679
  for (const cr of validResources) {
654
- const [err] = await catchError(studioWebPost(config, organizationName, apiPath, {
680
+ const [err] = await catchError2(studioWebPost2(config, organizationName, apiPath, {
655
681
  kind: "connection",
656
682
  type: cr.resource.type,
657
683
  key: cr.resource.key,
@@ -666,6 +692,6 @@ async function patchConnectionOverwrites(config, organizationName, solutionId, s
666
692
  return successCount;
667
693
  }
668
694
 
669
- export { FpsPropertiesInjectionError, injectInlineAgentProcessEntries, injectSolutionProjectProcessEntries, extractStartEventId, getPersonalFolderKey, getPersonalFolderInfo, DebugProvisioningFailedError, prepareForCustomDebug, getFolderInfoById, beginDebugSession, DEBUG_MODE_MAP, SIMULATION_MODE_MAP, createDebugInstance, DebugPollTimeoutError, buildPollTimeoutFailureOutput, pollDebugInstanceStatus, fetchDebugInstanceIncidents, DebugVariablesFetchFailedError, fetchDebugInstanceVariables, isFaultedDebugStatus, isSuccessfulDebugStatus, resolveFaultIncidents, buildStudioWebDesignerUrl, uploadAndDebugSolution, patchConnectionOverwrites };
695
+ export { FpsPropertiesInjectionError2, injectInlineAgentProcessEntries2, injectSolutionProjectProcessEntries2, extractStartEventId2, getPersonalFolderKey2, getPersonalFolderInfo2, DebugProvisioningFailedError2, prepareForCustomDebug2, getFolderInfoById2, beginDebugSession2, DEBUG_MODE_MAP2, SIMULATION_MODE_MAP2, createDebugInstance2, DebugPollTimeoutError2, buildPollTimeoutFailureOutput2, pollDebugInstanceStatus2, fetchDebugInstanceIncidents2, DebugVariablesFetchFailedError2, fetchDebugInstanceVariables2, isFaultedDebugStatus2, isSuccessfulDebugStatus2, resolveFaultIncidents2, buildStudioWebDesignerUrl2, uploadAndDebugSolution2, patchConnectionOverwrites2 };
670
696
 
671
- //# debugId=60646BD0922323CB64756E2164756E21
697
+ //# debugId=CA0ED5894F6C49ED64756E2164756E21