@uipath/case-tool 1.205.0-preview.281 → 1.206.0-preview.282

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 (211) hide show
  1. package/dist/THIRD-PARTY-NOTICES.md +68 -7
  2. package/dist/applicationinsights-web-8m26566f.js +17209 -0
  3. package/dist/{authoring-kqh34zzm.js → authoring-vg90pqrn.js} +488 -213
  4. package/dist/bindings-v2-1da35xsc.js +27 -0
  5. package/dist/{browser-strategy-6atc7v8s.js → browser-strategy-627rrg7z.js} +6 -7
  6. package/dist/{business-rule-export-ey588rv7.js → business-rule-export-jv60r9jf.js} +3 -7
  7. package/dist/carry-forward-sfdnta6q.js +52 -0
  8. package/dist/{case-api-sme7esce.js → case-api-by95rf40.js} +38 -37
  9. package/dist/{case-bindings-service-cht20gqt.js → case-bindings-service-pp3c9g1e.js} +93 -45
  10. package/dist/{case-debug-solution-projects-qqd3h10v.js → case-debug-solution-projects-je7h4hmq.js} +3 -7
  11. package/dist/{case-debug-studio-web-service-nqzmwbr5.js → case-debug-studio-web-service-d83h3atd.js} +48 -45
  12. package/dist/{case-described-io-service-dx1f4nxe.js → case-described-io-service-tsm8r189.js} +33 -15
  13. package/dist/case-event-trigger-bindings-qbs8ywf5.js +17 -0
  14. package/dist/{case-format-service-6aew6tqc.js → case-format-service-3sab2297.js} +9 -10
  15. package/dist/{case-pack-service-pqq8wnfd.js → case-pack-service-txnv711n.js} +47 -42
  16. package/dist/case-schema-version-cw0h2nrv.js +18 -0
  17. package/dist/case-shape-reader-xaxmrd40.js +14 -0
  18. package/dist/{case-splice-service-s5gccctq.js → case-splice-service-6y35w83e.js} +139 -51
  19. package/dist/{case-validate-service-vq38va33.js → case-validate-service-hz0j90we.js} +234 -170
  20. package/dist/connector-enrichment-service-sjjmb9dy.js +56 -0
  21. package/dist/connector-library-1yw5r47w.js +99 -0
  22. package/dist/connector-lookup-service-yerhg9cd.js +20 -0
  23. package/dist/connector-task-shape-bgywpbqc.js +13 -0
  24. package/dist/{de-WLW6KWOJ-2qnsqdtw.js → de-2BEKRUMY-x4dx0nn9.js} +190 -10
  25. package/dist/{de-UZI7FJDO-mwvc4cxe.js → de-AI7ML6JM-km47f8k4.js} +20 -5
  26. package/dist/debug-service-h4jxbn1r.js +56 -0
  27. package/dist/{embedded-file-reader-r66242ey.js → embedded-file-reader-0228j82a.js} +1 -4
  28. package/dist/en-LAVDF7IQ-yzy20n6d.js +254 -0
  29. package/dist/en-X6T4SP2Y-xm47mf18.js +2752 -0
  30. package/dist/{enrichment-service-hv7ff88p.js → enrichment-service-wpprec7k.js} +36 -37
  31. package/dist/{es-5THCNRFN-tqwyrdgy.js → es-7ZTQTGKN-11sj0yjx.js} +190 -10
  32. package/dist/{es-MX-5RELIXKI-9jhqtddc.js → es-MX-7KJZPEQN-1fq0a9jr.js} +20 -5
  33. package/dist/{es-MX-TWZBRAXK-gqd9swzw.js → es-MX-IHGRIEWH-g63p0gb4.js} +191 -11
  34. package/dist/{es-4UBUTCQA-m1ytpyx2.js → es-SPNKTD5Y-vw5cbgv5.js} +20 -5
  35. package/dist/filter-engine-dh9s90gb.js +10 -0
  36. package/dist/first-party-service-ahcc6xc6.js +8 -0
  37. package/dist/{fr-CERONSRC-edpxhbmb.js → fr-7ZDL4MVO-pd27vwh6.js} +191 -11
  38. package/dist/{fr-VBM5WRC2-63z7w4mh.js → fr-AXJGUT53-hdg3pmd4.js} +20 -5
  39. package/dist/index-21kns9qg.js +10 -0
  40. package/dist/{index-fyc0k5dd.js → index-5pzp2qeb.js} +5350 -3271
  41. package/dist/{connector-task-spec-pzfzmfr5.js → index-9f8naxbk.js} +320 -144
  42. package/dist/{index-5dxh9z60.js → index-a7y7etmy.js} +6 -5
  43. package/dist/{index-ekwtgx7y.js → index-ec115v05.js} +309 -287
  44. package/dist/index-j9t2k52h.js +35 -0
  45. package/dist/index-myf7b4a5.js +26 -0
  46. package/dist/index-nj3axvya.js +159 -0
  47. package/dist/{index-h8cph72k.js → index-nzr4mx5p.js} +2 -22
  48. package/dist/index-pg9wmyrf.js +36 -0
  49. package/dist/index-z2qk2qn6.js +24 -0
  50. package/dist/index.js +19 -25
  51. package/dist/index.umd.min-ttg1qc0x.js +7814 -0
  52. package/dist/{init-entry-points-hhpv3e3f.js → init-entry-points-pc128f7z.js} +22 -35
  53. package/dist/input-reader-9ym8mkbc.js +10 -0
  54. package/dist/{ja-43QL7CGO-c3q8gre9.js → ja-C7GZV6YP-hvtbngr5.js} +20 -5
  55. package/dist/{ja-U2MCNHGT-gz0ap1jk.js → ja-LGAM5HKR-sgrtjqjh.js} +190 -10
  56. package/dist/{jmespath-e4a59c8w.js → jmespath-wwym30dp.js} +1 -1
  57. package/dist/{js-yaml-87cdx6bm.js → js-yaml-a2bk27p6.js} +1 -3
  58. package/dist/known-types-gak9by1w.js +11 -0
  59. package/dist/{ko-XAUYQWDR-zp81gjp4.js → ko-7B4SUZB7-c8wr20sc.js} +190 -10
  60. package/dist/{ko-TLL6Z6CD-wrt3n8a9.js → ko-Q24HSSL4-5vn55pte.js} +20 -5
  61. package/dist/localSolutionDiscovery-48d1bnkj.js +15 -0
  62. package/dist/{migration-diagnosis-ns5cw4e3.js → migration-diagnosis-myqqgwj0.js} +1 -4
  63. package/dist/{node-strategy-v442hwgd.js → node-strategy-2mqzg36t.js} +15 -18
  64. package/dist/node-sync-service-y8b5w1rd.js +56 -0
  65. package/dist/{out-target-wjgmna0r.js → out-target-eqsttq1k.js} +18 -22
  66. package/dist/{packager-tool-f8vwy92w.js → packager-tool-0te1tyhf.js} +186 -16
  67. package/dist/{packager-tool-ydyvtknp.js → packager-tool-0w4fsdzv.js} +44 -20
  68. package/dist/{packager-tool-8ftat1vn.js → packager-tool-17b466mr.js} +59158 -59666
  69. package/dist/packager-tool-1nfdj0zm.js +425 -0
  70. package/dist/packager-tool-1wgav5ma.js +139 -0
  71. package/dist/{packager-tool-b1nw50ev.js → packager-tool-265h946t.js} +256 -486
  72. package/dist/{packager-tool-nj4seavy.js → packager-tool-35c9npcy.js} +26 -7
  73. package/dist/{packager-tool-r0x3qh59.js → packager-tool-388vyja1.js} +185 -29
  74. package/dist/packager-tool-3m8482sw.js +78 -0
  75. package/dist/packager-tool-3r23qsca.js +4832 -0
  76. package/dist/packager-tool-3xehbdyd.js +1302 -0
  77. package/dist/packager-tool-4avchhz8.js +539 -0
  78. package/dist/{packager-tool-9kvkzc05.js → packager-tool-5w0gjcck.js} +4 -4
  79. package/dist/packager-tool-68648y3j.js +6 -0
  80. package/dist/{packager-tool-1yh8g550.js → packager-tool-6an893wm.js} +12 -3
  81. package/dist/{packager-tool-aagnvyba.js → packager-tool-76zhn5pa.js} +131 -432
  82. package/dist/packager-tool-7x1tmb8a.js +46 -0
  83. package/dist/{packager-tool-kyrm4e5m.js → packager-tool-9ar5829n.js} +781 -741
  84. package/dist/{packager-tool-4p11fvf4.js → packager-tool-b2q8m9pq.js} +10 -13
  85. package/dist/packager-tool-bg3tdpva.js +27 -0
  86. package/dist/{packager-tool-wr12ndwk.js → packager-tool-ccejfs0r.js} +252 -468
  87. package/dist/{packager-tool-yn33pw57.js → packager-tool-dn9d4ywm.js} +246 -225
  88. package/dist/{packager-tool-kdhey8gz.js → packager-tool-e02jkmrq.js} +41 -29
  89. package/dist/{packager-tool-sq931c23.js → packager-tool-e1tx5mqg.js} +1 -1
  90. package/dist/{packager-tool-qn3zkrrc.js → packager-tool-ehjw672b.js} +32 -15
  91. package/dist/packager-tool-gy4yjqhf.js +178 -0
  92. package/dist/packager-tool-h2ar8xf8.js +222 -0
  93. package/dist/{packager-tool-v2kcgjbf.js → packager-tool-j6nfje7t.js} +5 -4
  94. package/dist/packager-tool-k0ar6cn7.js +295 -0
  95. package/dist/packager-tool-kz7zz79p.js +71 -0
  96. package/dist/{packager-tool-1gwbq864.js → packager-tool-m5384a1s.js} +66 -82
  97. package/dist/{packager-tool-9e59z4d6.js → packager-tool-me8gd22q.js} +82 -83
  98. package/dist/packager-tool-mk9fmzdy.js +20 -0
  99. package/dist/{packager-tool-yfmby4dd.js → packager-tool-mkt1njk2.js} +630 -689
  100. package/dist/{packager-tool-gdtpsdn7.js → packager-tool-mm1x18d6.js} +223 -28
  101. package/dist/{packager-tool-mqy97y5f.js → packager-tool-p5gs9xqy.js} +14 -14
  102. package/dist/{packager-tool-83v804p7.js → packager-tool-psmb758n.js} +3108 -2627
  103. package/dist/packager-tool-q26hncjr.js +13 -0
  104. package/dist/packager-tool-q9fnx278.js +77 -0
  105. package/dist/{packager-tool-ezds6t5e.js → packager-tool-s12s1dp6.js} +11 -11
  106. package/dist/packager-tool-scy94jyb.js +5424 -0
  107. package/dist/{packager-tool-yn7r7zq2.js → packager-tool-snesn0bt.js} +177 -96
  108. package/dist/{packager-tool-d8e2mrkq.js → packager-tool-tgehy324.js} +56 -56
  109. package/dist/{packager-tool-tqn0j6f9.js → packager-tool-v11fx4dk.js} +7 -7
  110. package/dist/{packager-tool-67vy1fz3.js → packager-tool-v6rkp2ay.js} +24 -92
  111. package/dist/{packager-tool-9sd483vs.js → packager-tool-vs7gqa4r.js} +15 -15
  112. package/dist/packager-tool-vyavrbym.js +488 -0
  113. package/dist/{packager-tool-b098y4a2.js → packager-tool-wbksf242.js} +97 -97
  114. package/dist/{packager-tool-2sn7d8fd.js → packager-tool-x74mmjkw.js} +9 -13
  115. package/dist/{packager-tool-7hw344bt.js → packager-tool-xb16e3tz.js} +5 -5
  116. package/dist/{packager-tool-a17g0pj1.js → packager-tool-xd1wbvay.js} +10 -8
  117. package/dist/{packager-tool-1yfw674x.js → packager-tool-xehhk3c3.js} +10 -5
  118. package/dist/packager-tool-yh8mmj3p.js +123 -0
  119. package/dist/{packager-tool-hdxtgckw.js → packager-tool-z070caqq.js} +56 -12
  120. package/dist/{packager-tool-b250k6w4.js → packager-tool-z1fw9a8v.js} +41 -9
  121. package/dist/{packager-tool-0gctz400.js → packager-tool-z9fmqtm6.js} +4 -4
  122. package/dist/{packager-tool-mzf4gmph.js → packager-tool-zbx189j3.js} +11 -8
  123. package/dist/{packager-tool-zf8f9pmm.js → packager-tool-zrbnms9b.js} +3 -4
  124. package/dist/packager-tool.js +10 -11
  125. package/dist/prepare-uip-ad7mfs8t.js +92 -0
  126. package/dist/{project-artifacts-bgyyb0dm.js → project-artifacts-q0c0zghw.js} +2 -6
  127. package/dist/{pt-BR-USP2T7GD-pedn77m1.js → pt-BR-BIUJXIPU-2sqzhr8y.js} +20 -5
  128. package/dist/{pt-BR-GNQNAAZ2-xadharv4.js → pt-BR-PHLFHMXZ-n6de4s7z.js} +191 -11
  129. package/dist/{pt-RMIAKZB4-67enhx3m.js → pt-MHX6JGAX-xfgvdqwg.js} +20 -5
  130. package/dist/{pt-TO2DARY2-ftcce1bv.js → pt-N7ZTJT4W-d6c67xcn.js} +190 -10
  131. package/dist/{resolved-check-aqw7568y.js → resolved-check-dz8eqrf6.js} +2 -3
  132. package/dist/{resourcesSyncService-8ac6ncq2.js → resourcesSyncService-yrhhh62m.js} +81 -141
  133. package/dist/{ro-GHOBYW2S-mhnqsgaa.js → ro-3RKJNGJZ-xqj14e3d.js} +20 -5
  134. package/dist/{ro-WUYJV6OW-a8d9qy1n.js → ro-FLNXVYJI-ytrwabg2.js} +190 -10
  135. package/dist/ru-GSCT4ARZ-c2cfq4h1.js +7 -0
  136. package/dist/ru-WBLQ5B2U-bf20yr5y.js +7 -0
  137. package/dist/{rule-group-members-zje7n3kf.js → rule-group-members-p0nv1rmj.js} +1 -3
  138. package/dist/rule-type-declaration-s2nxpcfy.js +77 -0
  139. package/dist/{sdd-convert-service-8jpew7vz.js → sdd-convert-service-ffbx00k6.js} +481 -504
  140. package/dist/{sdd-lookup-fe900sdb.js → sdd-lookup-sah7wj5j.js} +8 -9
  141. package/dist/{sdd-resolve-service-qdtmxw9b.js → sdd-resolve-service-6nt10vhq.js} +28 -20
  142. package/dist/{sdd-resolve-siblings-8gf9zjwf.js → sdd-resolve-siblings-ap8j1c8h.js} +11 -14
  143. package/dist/solution-auth-a1p22hq1.js +11 -0
  144. package/dist/solution-discovery-r1y550sz.js +33 -0
  145. package/dist/{strict-case-rules-4tjcaznr.js → strict-case-rules-045kbjvv.js} +16 -28
  146. package/dist/{strict-entry-points-g2pd4mf4.js → strict-entry-points-40ha9afz.js} +15 -14
  147. package/dist/strict-sdd-audit-bp7fq2tg.js +26 -0
  148. package/dist/{task-selector-8bjn35dv.js → task-selector-jt60hdbt.js} +1 -3
  149. package/dist/{task-type-declaration-7a8fqdvs.js → task-type-declaration-yhczvj05.js} +9 -9
  150. package/dist/tool.js +18 -24
  151. package/dist/{tr-M3F5A6AU-bb0tg39m.js → tr-7AIZZWZ6-pdzp9n0p.js} +190 -10
  152. package/dist/{tr-GDTLECMM-k5fhmq13.js → tr-PQLUUHPC-qsb7btxn.js} +20 -5
  153. package/dist/{trigger-enrichment-service-agvnhdf7.js → trigger-enrichment-service-z8kxy6qr.js} +53 -57
  154. package/dist/trigger-entry-point-id-751v48qd.js +14 -0
  155. package/dist/{zh-CN-C5G4PC7C-ds9gkptg.js → zh-CN-CN2ARPFS-e0p2qrxf.js} +190 -10
  156. package/dist/{zh-CN-I5D7WHBD-sr5h0a98.js → zh-CN-OHNTHZRI-b0hjkfqn.js} +20 -5
  157. package/dist/{zh-TW-62HZIG6O-787kdwex.js → zh-TW-7RUFEVFK-qd7myw31.js} +190 -10
  158. package/dist/{zh-TW-2AVLM723-288pkc1z.js → zh-TW-E4D3Y6ZR-tn3bmzz5.js} +20 -5
  159. package/package.json +2 -2
  160. package/dist/canvas-notes-86fxx1t8.js +0 -19
  161. package/dist/case-event-trigger-bindings-g9ftnm4x.js +0 -16
  162. package/dist/case-schema-version-h820ne16.js +0 -20
  163. package/dist/case-shape-reader-dsbraetf.js +0 -13
  164. package/dist/connector-enrichment-service-6kskfevq.js +0 -65
  165. package/dist/connector-lookup-service-yyn8kkw7.js +0 -22
  166. package/dist/connector-task-shape-mpazkf7s.js +0 -14
  167. package/dist/debug-service-7q98j726.js +0 -59
  168. package/dist/en-EJCBA3LK-dtpdghgj.js +0 -146
  169. package/dist/en-M7GQYBV2-5nfmpnfz.js +0 -2018
  170. package/dist/filter-engine-7ep90g7f.js +0 -11
  171. package/dist/first-party-service-srxaftkn.js +0 -27
  172. package/dist/index-0d7qc2gs.js +0 -282
  173. package/dist/index-jmv5by9z.js +0 -666
  174. package/dist/index-kmp9fmhb.js +0 -25
  175. package/dist/index-n9qvnx4x.js +0 -29
  176. package/dist/index-ngs0a2he.js +0 -15
  177. package/dist/index-xq6ajhgq.js +0 -157
  178. package/dist/index.umd.min-fqefd9kn.js +0 -7814
  179. package/dist/input-reader-c7wz8ra2.js +0 -11
  180. package/dist/known-types-5b6yrsqn.js +0 -16
  181. package/dist/localSolutionDiscovery-yyx234ak.js +0 -13
  182. package/dist/node-sync-service-2ezr3akv.js +0 -57
  183. package/dist/packager-tool-53w8skv5.js +0 -262
  184. package/dist/packager-tool-6z1hsm2h.js +0 -143
  185. package/dist/packager-tool-93mdeqay.js +0 -18
  186. package/dist/packager-tool-9kf3fqtr.js +0 -23
  187. package/dist/packager-tool-bfgdz1zh.js +0 -73
  188. package/dist/packager-tool-e15kqpyh.js +0 -266
  189. package/dist/packager-tool-gmykn1ef.js +0 -5365
  190. package/dist/packager-tool-jysvpt8p.js +0 -11
  191. package/dist/packager-tool-pcvhcn2k.js +0 -2019
  192. package/dist/packager-tool-rk25wp3c.js +0 -28
  193. package/dist/packager-tool-sc961w0q.js +0 -16
  194. package/dist/packager-tool-wekqkmgn.js +0 -265
  195. package/dist/packager-tool-yc4kw997.js +0 -13
  196. package/dist/packager-tool-zgpsnxkd.js +0 -13189
  197. package/dist/ru-GSCT4ARZ-1sa9wbr8.js +0 -10
  198. package/dist/ru-WBLQ5B2U-s4em88p0.js +0 -10
  199. package/dist/solution-auth-30yycqtv.js +0 -14
  200. package/dist/solution-discovery-e9mamp6w.js +0 -38
  201. package/dist/strict-sdd-audit-q7tb9yj7.js +0 -25
  202. package/dist/trigger-entry-point-id-yhqwnkx9.js +0 -15
  203. /package/dist/{packager-tool-5qp9xza1.js → packager-tool-1c30ttpm.js} +0 -0
  204. /package/dist/{packager-tool-mknccck5.js → packager-tool-1h7abxw6.js} +0 -0
  205. /package/dist/{packager-tool-9y1w2wds.js → packager-tool-fcektt1g.js} +0 -0
  206. /package/dist/{packager-tool-k6jbedyc.js → packager-tool-hcdnc420.js} +0 -0
  207. /package/dist/{packager-tool-7nxppa3d.js → packager-tool-jv5byaww.js} +0 -0
  208. /package/dist/{packager-tool-qa9gftnj.js → packager-tool-mxgybnmt.js} +0 -0
  209. /package/dist/{packager-tool-87y6xw3a.js → packager-tool-nfhtwa72.js} +0 -0
  210. /package/dist/{packager-tool-cv05dwac.js → packager-tool-p0rdmmvk.js} +0 -0
  211. /package/dist/{packager-tool-21qfsbxn.js → packager-tool-yaertxsw.js} +0 -0
@@ -1,46 +1,40 @@
1
1
  import {
2
- UsersApi,
3
- createApiClient
4
- } from "./packager-tool-f8vwy92w.js";
5
- import {
6
- findSolutionFileUpward,
7
- normalizeProjectType,
8
- toPortableRelativePath
9
- } from "./packager-tool-67vy1fz3.js";
2
+ getFileSystem2
3
+ } from "./packager-tool-z070caqq.js";
10
4
  import {
11
- getSolutionAuthContext
12
- } from "./packager-tool-rk25wp3c.js";
5
+ catchError2,
6
+ extractErrorMessage,
7
+ logger,
8
+ isGuid
9
+ } from "./packager-tool-psmb758n.js";
10
+ import"./packager-tool-snesn0bt.js";
13
11
  import {
14
- JsonSerializerFactory,
15
- JsonSerializerNames,
16
- JsonSerializerProxy,
17
- StreamSerializer
18
- } from "./packager-tool-gdtpsdn7.js";
12
+ JsonSerializerNames2,
13
+ JsonSerializerFactory2,
14
+ JsonSerializerProxy2,
15
+ StreamSerializer2,
16
+ FirstPartyServiceApi2
17
+ } from "./packager-tool-mm1x18d6.js";
18
+ import"./packager-tool-q26hncjr.js";
19
19
  import {
20
- FirstPartyServiceApi
21
- } from "./packager-tool-53w8skv5.js";
22
- import"./packager-tool-yn7r7zq2.js";
23
- import"./packager-tool-b098y4a2.js";
20
+ getLoginStatusAsync2
21
+ } from "./packager-tool-dn9d4ywm.js";
24
22
  import {
25
- getLoginStatusAsync
26
- } from "./packager-tool-yn33pw57.js";
27
- import"./packager-tool-0gctz400.js";
28
- import"./packager-tool-qa9gftnj.js";
29
- import"./packager-tool-yc4kw997.js";
23
+ UsersApi,
24
+ createApiClient2
25
+ } from "./packager-tool-0te1tyhf.js";
30
26
  import {
31
- catchError,
32
- extractErrorMessage,
33
- isGuid,
34
- logger
35
- } from "./packager-tool-83v804p7.js";
27
+ getSolutionAuthContext2
28
+ } from "./packager-tool-bg3tdpva.js";
36
29
  import {
37
- getFileSystem
38
- } from "./packager-tool-hdxtgckw.js";
30
+ normalizeProjectType,
31
+ toPortableRelativePath,
32
+ findSolutionFileUpward
33
+ } from "./packager-tool-v6rkp2ay.js";
39
34
  import {
40
- __commonJS,
41
- __require,
42
- __toESM
43
- } from "./packager-tool-1yh8g550.js";
35
+ __toESM,
36
+ __commonJS
37
+ } from "./packager-tool-6an893wm.js";
44
38
 
45
39
  // ../../node_modules/reflect-metadata/Reflect.js
46
40
  var require_Reflect = __commonJS(function() {
@@ -59,16 +53,16 @@ var require_Reflect = __commonJS(function() {
59
53
  and limitations under the License.
60
54
  ***************************************************************************** */
61
55
  var Reflect2;
62
- (function(Reflect3) {
56
+ (function(Reflect2) {
63
57
  (function(factory) {
64
58
  var root = typeof globalThis === "object" ? globalThis : typeof global === "object" ? global : typeof self === "object" ? self : typeof this === "object" ? this : sloppyModeThis();
65
- var exporter = makeExporter(Reflect3);
59
+ var exporter = makeExporter(Reflect2);
66
60
  if (typeof root.Reflect !== "undefined") {
67
61
  exporter = makeExporter(root.Reflect, exporter);
68
62
  }
69
63
  factory(exporter, root);
70
64
  if (typeof root.Reflect === "undefined") {
71
- root.Reflect = Reflect3;
65
+ root.Reflect = Reflect2;
72
66
  }
73
67
  function makeExporter(target, previous) {
74
68
  return function(key, value) {
@@ -252,8 +246,8 @@ var require_Reflect = __commonJS(function() {
252
246
  return descriptor;
253
247
  }
254
248
  function OrdinaryHasMetadata(MetadataKey, O, P) {
255
- var hasOwn2 = OrdinaryHasOwnMetadata(MetadataKey, O, P);
256
- if (hasOwn2)
249
+ var hasOwn = OrdinaryHasOwnMetadata(MetadataKey, O, P);
250
+ if (hasOwn)
257
251
  return true;
258
252
  var parent = OrdinaryGetPrototypeOf(O);
259
253
  if (!IsNull(parent))
@@ -267,8 +261,8 @@ var require_Reflect = __commonJS(function() {
267
261
  return ToBoolean(provider.OrdinaryHasOwnMetadata(MetadataKey, O, P));
268
262
  }
269
263
  function OrdinaryGetMetadata(MetadataKey, O, P) {
270
- var hasOwn2 = OrdinaryHasOwnMetadata(MetadataKey, O, P);
271
- if (hasOwn2)
264
+ var hasOwn = OrdinaryHasOwnMetadata(MetadataKey, O, P);
265
+ if (hasOwn)
272
266
  return OrdinaryGetOwnMetadata(MetadataKey, O, P);
273
267
  var parent = OrdinaryGetPrototypeOf(O);
274
268
  if (!IsNull(parent))
@@ -600,48 +594,48 @@ var require_Reflect = __commonJS(function() {
600
594
  }
601
595
  }
602
596
  function GetOrCreateMetadataRegistry() {
603
- var metadataRegistry2;
597
+ var metadataRegistry;
604
598
  if (!IsUndefined(registrySymbol) && IsObject(root.Reflect) && Object.isExtensible(root.Reflect)) {
605
- metadataRegistry2 = root.Reflect[registrySymbol];
599
+ metadataRegistry = root.Reflect[registrySymbol];
606
600
  }
607
- if (IsUndefined(metadataRegistry2)) {
608
- metadataRegistry2 = CreateMetadataRegistry();
601
+ if (IsUndefined(metadataRegistry)) {
602
+ metadataRegistry = CreateMetadataRegistry();
609
603
  }
610
604
  if (!IsUndefined(registrySymbol) && IsObject(root.Reflect) && Object.isExtensible(root.Reflect)) {
611
605
  Object.defineProperty(root.Reflect, registrySymbol, {
612
606
  enumerable: false,
613
607
  configurable: false,
614
608
  writable: false,
615
- value: metadataRegistry2
609
+ value: metadataRegistry
616
610
  });
617
611
  }
618
- return metadataRegistry2;
612
+ return metadataRegistry;
619
613
  }
620
614
  function CreateMetadataProvider(registry) {
621
- var metadata2 = new _WeakMap;
615
+ var metadata = new _WeakMap;
622
616
  var provider = {
623
617
  isProviderFor: function(O, P) {
624
- var targetMetadata = metadata2.get(O);
618
+ var targetMetadata = metadata.get(O);
625
619
  if (IsUndefined(targetMetadata))
626
620
  return false;
627
621
  return targetMetadata.has(P);
628
622
  },
629
- OrdinaryDefineOwnMetadata: OrdinaryDefineOwnMetadata2,
630
- OrdinaryHasOwnMetadata: OrdinaryHasOwnMetadata2,
631
- OrdinaryGetOwnMetadata: OrdinaryGetOwnMetadata2,
632
- OrdinaryOwnMetadataKeys: OrdinaryOwnMetadataKeys2,
623
+ OrdinaryDefineOwnMetadata,
624
+ OrdinaryHasOwnMetadata,
625
+ OrdinaryGetOwnMetadata,
626
+ OrdinaryOwnMetadataKeys,
633
627
  OrdinaryDeleteMetadata
634
628
  };
635
629
  metadataRegistry.registerProvider(provider);
636
630
  return provider;
637
631
  function GetOrCreateMetadataMap(O, P, Create) {
638
- var targetMetadata = metadata2.get(O);
632
+ var targetMetadata = metadata.get(O);
639
633
  var createdTargetMetadata = false;
640
634
  if (IsUndefined(targetMetadata)) {
641
635
  if (!Create)
642
636
  return;
643
637
  targetMetadata = new _Map;
644
- metadata2.set(O, targetMetadata);
638
+ metadata.set(O, targetMetadata);
645
639
  createdTargetMetadata = true;
646
640
  }
647
641
  var metadataMap = targetMetadata.get(P);
@@ -653,30 +647,30 @@ var require_Reflect = __commonJS(function() {
653
647
  if (!registry.setProvider(O, P, provider)) {
654
648
  targetMetadata.delete(P);
655
649
  if (createdTargetMetadata) {
656
- metadata2.delete(O);
650
+ metadata.delete(O);
657
651
  }
658
652
  throw new Error("Wrong provider for target.");
659
653
  }
660
654
  }
661
655
  return metadataMap;
662
656
  }
663
- function OrdinaryHasOwnMetadata2(MetadataKey, O, P) {
657
+ function OrdinaryHasOwnMetadata(MetadataKey, O, P) {
664
658
  var metadataMap = GetOrCreateMetadataMap(O, P, false);
665
659
  if (IsUndefined(metadataMap))
666
660
  return false;
667
661
  return ToBoolean(metadataMap.has(MetadataKey));
668
662
  }
669
- function OrdinaryGetOwnMetadata2(MetadataKey, O, P) {
663
+ function OrdinaryGetOwnMetadata(MetadataKey, O, P) {
670
664
  var metadataMap = GetOrCreateMetadataMap(O, P, false);
671
665
  if (IsUndefined(metadataMap))
672
666
  return;
673
667
  return metadataMap.get(MetadataKey);
674
668
  }
675
- function OrdinaryDefineOwnMetadata2(MetadataKey, MetadataValue, O, P) {
669
+ function OrdinaryDefineOwnMetadata(MetadataKey, MetadataValue, O, P) {
676
670
  var metadataMap = GetOrCreateMetadataMap(O, P, true);
677
671
  metadataMap.set(MetadataKey, MetadataValue);
678
672
  }
679
- function OrdinaryOwnMetadataKeys2(O, P) {
673
+ function OrdinaryOwnMetadataKeys(O, P) {
680
674
  var keys = [];
681
675
  var metadataMap = GetOrCreateMetadataMap(O, P, false);
682
676
  if (IsUndefined(metadataMap))
@@ -710,11 +704,11 @@ var require_Reflect = __commonJS(function() {
710
704
  if (!metadataMap.delete(MetadataKey))
711
705
  return false;
712
706
  if (metadataMap.size === 0) {
713
- var targetMetadata = metadata2.get(O);
707
+ var targetMetadata = metadata.get(O);
714
708
  if (!IsUndefined(targetMetadata)) {
715
709
  targetMetadata.delete(P);
716
710
  if (targetMetadata.size === 0) {
717
- metadata2.delete(targetMetadata);
711
+ metadata.delete(targetMetadata);
718
712
  }
719
713
  }
720
714
  }
@@ -722,7 +716,7 @@ var require_Reflect = __commonJS(function() {
722
716
  }
723
717
  }
724
718
  function CreateFallbackProvider(reflect) {
725
- var { defineMetadata: defineMetadata2, hasOwnMetadata: hasOwnMetadata2, getOwnMetadata: getOwnMetadata2, getOwnMetadataKeys: getOwnMetadataKeys2, deleteMetadata: deleteMetadata2 } = reflect;
719
+ var { defineMetadata, hasOwnMetadata, getOwnMetadata, getOwnMetadataKeys, deleteMetadata } = reflect;
726
720
  var metadataOwner = new _WeakMap;
727
721
  var provider = {
728
722
  isProviderFor: function(O, P) {
@@ -730,7 +724,7 @@ var require_Reflect = __commonJS(function() {
730
724
  if (!IsUndefined(metadataPropertySet) && metadataPropertySet.has(P)) {
731
725
  return true;
732
726
  }
733
- if (getOwnMetadataKeys2(O, P).length) {
727
+ if (getOwnMetadataKeys(O, P).length) {
734
728
  if (IsUndefined(metadataPropertySet)) {
735
729
  metadataPropertySet = new _Set;
736
730
  metadataOwner.set(O, metadataPropertySet);
@@ -740,11 +734,11 @@ var require_Reflect = __commonJS(function() {
740
734
  }
741
735
  return false;
742
736
  },
743
- OrdinaryDefineOwnMetadata: defineMetadata2,
744
- OrdinaryHasOwnMetadata: hasOwnMetadata2,
745
- OrdinaryGetOwnMetadata: getOwnMetadata2,
746
- OrdinaryOwnMetadataKeys: getOwnMetadataKeys2,
747
- OrdinaryDeleteMetadata: deleteMetadata2
737
+ OrdinaryDefineOwnMetadata: defineMetadata,
738
+ OrdinaryHasOwnMetadata: hasOwnMetadata,
739
+ OrdinaryGetOwnMetadata: getOwnMetadata,
740
+ OrdinaryOwnMetadataKeys: getOwnMetadataKeys,
741
+ OrdinaryDeleteMetadata: deleteMetadata
748
742
  };
749
743
  return provider;
750
744
  }
@@ -765,19 +759,19 @@ var require_Reflect = __commonJS(function() {
765
759
  var cacheSentinel = {};
766
760
  var arraySentinel = [];
767
761
  var MapIterator = function() {
768
- function MapIterator2(keys, values, selector) {
762
+ function MapIterator(keys, values, selector) {
769
763
  this._index = 0;
770
764
  this._keys = keys;
771
765
  this._values = values;
772
766
  this._selector = selector;
773
767
  }
774
- MapIterator2.prototype["@@iterator"] = function() {
768
+ MapIterator.prototype["@@iterator"] = function() {
775
769
  return this;
776
770
  };
777
- MapIterator2.prototype[iteratorSymbol] = function() {
771
+ MapIterator.prototype[iteratorSymbol] = function() {
778
772
  return this;
779
773
  };
780
- MapIterator2.prototype.next = function() {
774
+ MapIterator.prototype.next = function() {
781
775
  var index = this._index;
782
776
  if (index >= 0 && index < this._keys.length) {
783
777
  var result = this._selector(this._keys[index], this._values[index]);
@@ -792,7 +786,7 @@ var require_Reflect = __commonJS(function() {
792
786
  }
793
787
  return { value: undefined, done: true };
794
788
  };
795
- MapIterator2.prototype.throw = function(error) {
789
+ MapIterator.prototype.throw = function(error) {
796
790
  if (this._index >= 0) {
797
791
  this._index = -1;
798
792
  this._keys = arraySentinel;
@@ -800,7 +794,7 @@ var require_Reflect = __commonJS(function() {
800
794
  }
801
795
  throw error;
802
796
  };
803
- MapIterator2.prototype.return = function(value) {
797
+ MapIterator.prototype.return = function(value) {
804
798
  if (this._index >= 0) {
805
799
  this._index = -1;
806
800
  this._keys = arraySentinel;
@@ -808,35 +802,35 @@ var require_Reflect = __commonJS(function() {
808
802
  }
809
803
  return { value, done: true };
810
804
  };
811
- return MapIterator2;
805
+ return MapIterator;
812
806
  }();
813
807
  var Map2 = function() {
814
- function Map3() {
808
+ function Map2() {
815
809
  this._keys = [];
816
810
  this._values = [];
817
811
  this._cacheKey = cacheSentinel;
818
812
  this._cacheIndex = -2;
819
813
  }
820
- Object.defineProperty(Map3.prototype, "size", {
814
+ Object.defineProperty(Map2.prototype, "size", {
821
815
  get: function() {
822
816
  return this._keys.length;
823
817
  },
824
818
  enumerable: true,
825
819
  configurable: true
826
820
  });
827
- Map3.prototype.has = function(key) {
821
+ Map2.prototype.has = function(key) {
828
822
  return this._find(key, false) >= 0;
829
823
  };
830
- Map3.prototype.get = function(key) {
824
+ Map2.prototype.get = function(key) {
831
825
  var index = this._find(key, false);
832
826
  return index >= 0 ? this._values[index] : undefined;
833
827
  };
834
- Map3.prototype.set = function(key, value) {
828
+ Map2.prototype.set = function(key, value) {
835
829
  var index = this._find(key, true);
836
830
  this._values[index] = value;
837
831
  return this;
838
832
  };
839
- Map3.prototype.delete = function(key) {
833
+ Map2.prototype.delete = function(key) {
840
834
  var index = this._find(key, false);
841
835
  if (index >= 0) {
842
836
  var size = this._keys.length;
@@ -854,28 +848,28 @@ var require_Reflect = __commonJS(function() {
854
848
  }
855
849
  return false;
856
850
  };
857
- Map3.prototype.clear = function() {
851
+ Map2.prototype.clear = function() {
858
852
  this._keys.length = 0;
859
853
  this._values.length = 0;
860
854
  this._cacheKey = cacheSentinel;
861
855
  this._cacheIndex = -2;
862
856
  };
863
- Map3.prototype.keys = function() {
857
+ Map2.prototype.keys = function() {
864
858
  return new MapIterator(this._keys, this._values, getKey);
865
859
  };
866
- Map3.prototype.values = function() {
860
+ Map2.prototype.values = function() {
867
861
  return new MapIterator(this._keys, this._values, getValue);
868
862
  };
869
- Map3.prototype.entries = function() {
863
+ Map2.prototype.entries = function() {
870
864
  return new MapIterator(this._keys, this._values, getEntry);
871
865
  };
872
- Map3.prototype["@@iterator"] = function() {
866
+ Map2.prototype["@@iterator"] = function() {
873
867
  return this.entries();
874
868
  };
875
- Map3.prototype[iteratorSymbol] = function() {
869
+ Map2.prototype[iteratorSymbol] = function() {
876
870
  return this.entries();
877
871
  };
878
- Map3.prototype._find = function(key, insert) {
872
+ Map2.prototype._find = function(key, insert) {
879
873
  if (!SameValueZero(this._cacheKey, key)) {
880
874
  this._cacheIndex = -1;
881
875
  for (var i = 0;i < this._keys.length; i++) {
@@ -892,7 +886,7 @@ var require_Reflect = __commonJS(function() {
892
886
  }
893
887
  return this._cacheIndex;
894
888
  };
895
- return Map3;
889
+ return Map2;
896
890
  }();
897
891
  return Map2;
898
892
  function getKey(key, _) {
@@ -907,44 +901,44 @@ var require_Reflect = __commonJS(function() {
907
901
  }
908
902
  function CreateSetPolyfill() {
909
903
  var Set2 = function() {
910
- function Set3() {
904
+ function Set2() {
911
905
  this._map = new _Map;
912
906
  }
913
- Object.defineProperty(Set3.prototype, "size", {
907
+ Object.defineProperty(Set2.prototype, "size", {
914
908
  get: function() {
915
909
  return this._map.size;
916
910
  },
917
911
  enumerable: true,
918
912
  configurable: true
919
913
  });
920
- Set3.prototype.has = function(value) {
914
+ Set2.prototype.has = function(value) {
921
915
  return this._map.has(value);
922
916
  };
923
- Set3.prototype.add = function(value) {
917
+ Set2.prototype.add = function(value) {
924
918
  return this._map.set(value, value), this;
925
919
  };
926
- Set3.prototype.delete = function(value) {
920
+ Set2.prototype.delete = function(value) {
927
921
  return this._map.delete(value);
928
922
  };
929
- Set3.prototype.clear = function() {
923
+ Set2.prototype.clear = function() {
930
924
  this._map.clear();
931
925
  };
932
- Set3.prototype.keys = function() {
926
+ Set2.prototype.keys = function() {
933
927
  return this._map.keys();
934
928
  };
935
- Set3.prototype.values = function() {
929
+ Set2.prototype.values = function() {
936
930
  return this._map.keys();
937
931
  };
938
- Set3.prototype.entries = function() {
932
+ Set2.prototype.entries = function() {
939
933
  return this._map.entries();
940
934
  };
941
- Set3.prototype["@@iterator"] = function() {
935
+ Set2.prototype["@@iterator"] = function() {
942
936
  return this.keys();
943
937
  };
944
- Set3.prototype[iteratorSymbol] = function() {
938
+ Set2.prototype[iteratorSymbol] = function() {
945
939
  return this.keys();
946
940
  };
947
- return Set3;
941
+ return Set2;
948
942
  }();
949
943
  return Set2;
950
944
  }
@@ -1383,8 +1377,8 @@ var require_tslib = __commonJS(function(exports, module) {
1383
1377
  };
1384
1378
  }
1385
1379
  function settle(resolve, reject, d, v) {
1386
- Promise.resolve(v).then(function(v2) {
1387
- resolve({ value: v2, done: d });
1380
+ Promise.resolve(v).then(function(v) {
1381
+ resolve({ value: v, done: d });
1388
1382
  }, reject);
1389
1383
  }
1390
1384
  };
@@ -1454,11 +1448,11 @@ var require_tslib = __commonJS(function(exports, module) {
1454
1448
  var require_lifecycle = __commonJS(function(exports) {
1455
1449
  Object.defineProperty(exports, "__esModule", { value: true });
1456
1450
  var Lifecycle;
1457
- (function(Lifecycle2) {
1458
- Lifecycle2[Lifecycle2["Transient"] = 0] = "Transient";
1459
- Lifecycle2[Lifecycle2["Singleton"] = 1] = "Singleton";
1460
- Lifecycle2[Lifecycle2["ResolutionScoped"] = 2] = "ResolutionScoped";
1461
- Lifecycle2[Lifecycle2["ContainerScoped"] = 3] = "ContainerScoped";
1451
+ (function(Lifecycle) {
1452
+ Lifecycle[Lifecycle["Transient"] = 0] = "Transient";
1453
+ Lifecycle[Lifecycle["Singleton"] = 1] = "Singleton";
1454
+ Lifecycle[Lifecycle["ResolutionScoped"] = 2] = "ResolutionScoped";
1455
+ Lifecycle[Lifecycle["ContainerScoped"] = 3] = "ContainerScoped";
1462
1456
  })(Lifecycle || (Lifecycle = {}));
1463
1457
  exports.default = Lifecycle;
1464
1458
  });
@@ -1967,9 +1961,9 @@ var require_dependency_container = __commonJS(function(exports) {
1967
1961
  }
1968
1962
  this.executePreResolutionInterceptor(token, "All");
1969
1963
  if (registrations) {
1970
- const result2 = registrations.map((item) => this.resolveRegistration(item, context));
1971
- this.executePostResolutionInterceptor(token, result2, "All");
1972
- return result2;
1964
+ const result = registrations.map((item) => this.resolveRegistration(item, context));
1965
+ this.executePostResolutionInterceptor(token, result, "All");
1966
+ return result;
1973
1967
  }
1974
1968
  const result = [this.construct(token, context)];
1975
1969
  this.executePostResolutionInterceptor(token, result, "All");
@@ -3489,12 +3483,12 @@ function cancellationError(signal) {
3489
3483
  class MultiFileSolutionDefinitionProvider {
3490
3484
  get caseInsensitiveSerializer() {
3491
3485
  if (!this._caseInsensitiveSerializer)
3492
- this._caseInsensitiveSerializer = this.jsonSerializerFactory.getByName(JsonSerializerNames.CaseInsensitive);
3486
+ this._caseInsensitiveSerializer = this.jsonSerializerFactory.getByName(JsonSerializerNames2.CaseInsensitive);
3493
3487
  return this._caseInsensitiveSerializer;
3494
3488
  }
3495
3489
  get jsonSerializer() {
3496
3490
  if (!this._jsonSerializer)
3497
- this._jsonSerializer = this.jsonSerializerFactory.getByName(JsonSerializerNames.CamelCaseIndented);
3491
+ this._jsonSerializer = this.jsonSerializerFactory.getByName(JsonSerializerNames2.CamelCaseIndented);
3498
3492
  return this._jsonSerializer;
3499
3493
  }
3500
3494
  async getFileStorageProviderAsync(context, cancellationToken) {
@@ -4144,11 +4138,11 @@ class MultiFileSolutionDefinitionFactory {
4144
4138
 
4145
4139
  // ../../node_modules/@uipath/resource-builder-sdk/dist/embedded-files-default.js
4146
4140
  async function createDefaultEmbeddedFileReaderAsync() {
4147
- const [{ EmbeddedFileReader }, { JsonSerializerFactory: JsonSerializerFactory2 }] = await Promise.all([
4148
- import("./embedded-file-reader-r66242ey.js"),
4149
- import("./index-kmp9fmhb.js")
4141
+ const [{ EmbeddedFileReader }, { JsonSerializerFactory }] = await Promise.all([
4142
+ import("./embedded-file-reader-0228j82a.js"),
4143
+ import("./index-z2qk2qn6.js")
4150
4144
  ]);
4151
- return new EmbeddedFileReader(new JsonSerializerFactory2);
4145
+ return new EmbeddedFileReader(new JsonSerializerFactory);
4152
4146
  }
4153
4147
 
4154
4148
  // ../../node_modules/@uipath/resource-builder-sdk/dist/services/artifact-resource-spec-enhancer.js
@@ -5913,7 +5907,7 @@ class ValidateSolutionDefinitionRequestHandler {
5913
5907
  }
5914
5908
  jsonContent = new TextDecoder("utf-8").decode(combined);
5915
5909
  }
5916
- const caseInsensitiveSerializer = this.jsonSerializerFactory.getByName(JsonSerializerNames.CaseInsensitive);
5910
+ const caseInsensitiveSerializer = this.jsonSerializerFactory.getByName(JsonSerializerNames2.CaseInsensitive);
5917
5911
  const solution = caseInsensitiveSerializer.deserialize(jsonContent);
5918
5912
  if (solution == null) {
5919
5913
  this.logger.warn("Deserialization failed: the solution definition file is not valid");
@@ -6813,7 +6807,7 @@ class ResourceOverwritesService {
6813
6807
  this.useGetByKeysOverwriteValidation = useGetByKeysOverwriteValidation;
6814
6808
  this._overwritesPath = DebugOverwritesConstants.ResourceOverwritesFileName;
6815
6809
  this.logger = loggerFactory.create("ResourceOverwritesService");
6816
- this.indentedSerializer = jsonSerializerFactory.getByName(JsonSerializerNames.CamelCaseIndented);
6810
+ this.indentedSerializer = jsonSerializerFactory.getByName(JsonSerializerNames2.CamelCaseIndented);
6817
6811
  }
6818
6812
  }
6819
6813
  var GUID_REGEX = /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/;
@@ -7555,9 +7549,9 @@ class SolutionDefinitionHelper {
7555
7549
  noOtherResourceInProjectReferencesDependency(solution, resourceToDelete, dependency) {
7556
7550
  return !(solution.resources ?? []).some((r) => r !== resourceToDelete && r.projectKey === resourceToDelete.projectKey && (r.dependencies ?? []).some((dep) => invariantEquals(dep.name.trim(), dependency.name.trim()) && invariantEquals(dep.kind.trim(), dependency.kind.trim())));
7557
7551
  }
7558
- constructor(metadataReader, logger2) {
7552
+ constructor(metadataReader, logger) {
7559
7553
  this.metadataReader = metadataReader;
7560
- this.logger = logger2;
7554
+ this.logger = logger;
7561
7555
  }
7562
7556
  }
7563
7557
 
@@ -7892,9 +7886,9 @@ class AllConfigurationsRequestHandler {
7892
7886
  await this.collectResourceConfigurations(context, solution, depResource, visited, resources, cancellationToken);
7893
7887
  }
7894
7888
  }
7895
- constructor(mediator, logger2) {
7889
+ constructor(mediator, logger) {
7896
7890
  this.mediator = mediator;
7897
- this.logger = logger2;
7891
+ this.logger = logger;
7898
7892
  }
7899
7893
  }
7900
7894
 
@@ -8146,17 +8140,17 @@ class CreateVirtualResourceCommandHandler {
8146
8140
  this.metadataReader = metadataReader;
8147
8141
  }
8148
8142
  }
8149
- async function deleteResourceInternalAsync(context, resourceKey, allowProjectResourceDelete, metadataReader, resourceOverwritesService, logger2, cancellationToken) {
8143
+ async function deleteResourceInternalAsync(context, resourceKey, allowProjectResourceDelete, metadataReader, resourceOverwritesService, logger, cancellationToken) {
8150
8144
  const solution = await context.loadAsync(cancellationToken);
8151
- logger2.info("Deleting resource from solution", {
8145
+ logger.info("Deleting resource from solution", {
8152
8146
  resourceKey
8153
8147
  });
8154
8148
  const resource = solution.resources.find((r) => r.key === resourceKey);
8155
8149
  if (!resource)
8156
- return void logger2.warn("Resource not found in solution", {
8150
+ return void logger.warn("Resource not found in solution", {
8157
8151
  resourceKey
8158
8152
  });
8159
- const helper = new SolutionDefinitionHelper(metadataReader, logger2);
8153
+ const helper = new SolutionDefinitionHelper(metadataReader, logger);
8160
8154
  await helper.verifyIfResourceCanBeDeletedAsync(solution, resource, allowProjectResourceDelete, cancellationToken);
8161
8155
  const resourcesToDelete = helper.getResourcesToDelete(solution, resource);
8162
8156
  const allRemovedKeys = new Set(resourcesToDelete.map((r) => r.key));
@@ -8176,7 +8170,7 @@ async function deleteResourceInternalAsync(context, resourceKey, allowProjectRes
8176
8170
  ...allRemovedKeys
8177
8171
  ], cancellationToken);
8178
8172
  } catch (error) {
8179
- logger2.warn("Failed to remove overwrites for deleted resources", error);
8173
+ logger.warn("Failed to remove overwrites for deleted resources", error);
8180
8174
  }
8181
8175
  }
8182
8176
 
@@ -9595,7 +9589,7 @@ class ValidateResourceDefinitionRequestHandler {
9595
9589
  offset += chunk.length;
9596
9590
  }
9597
9591
  const jsonContent = new TextDecoder("utf-8").decode(combined);
9598
- const caseInsensitiveSerializer = this.jsonSerializerFactory.getByName(JsonSerializerNames.CaseInsensitive);
9592
+ const caseInsensitiveSerializer = this.jsonSerializerFactory.getByName(JsonSerializerNames2.CaseInsensitive);
9599
9593
  const solution = caseInsensitiveSerializer.deserialize(jsonContent);
9600
9594
  if (solution == null) {
9601
9595
  this.logger.warn("Deserialization failed: the solution definition file is not valid");
@@ -9693,9 +9687,9 @@ class HttpClient {
9693
9687
  };
9694
9688
  this.createAbortSignal = (cancelToken) => {
9695
9689
  if (this.abortControllers.has(cancelToken)) {
9696
- const abortController2 = this.abortControllers.get(cancelToken);
9697
- if (abortController2)
9698
- return abortController2.signal;
9690
+ const abortController = this.abortControllers.get(cancelToken);
9691
+ if (abortController)
9692
+ return abortController.signal;
9699
9693
  return;
9700
9694
  }
9701
9695
  const abortController = new AbortController;
@@ -9730,11 +9724,11 @@ class HttpClient {
9730
9724
  r.data = null;
9731
9725
  r.error = null;
9732
9726
  const responseToParse = responseFormat ? response.clone() : response;
9733
- const data = responseFormat ? await responseToParse[responseFormat]().then((data2) => {
9727
+ const data = responseFormat ? await responseToParse[responseFormat]().then((data) => {
9734
9728
  if (r.ok)
9735
- r.data = data2;
9729
+ r.data = data;
9736
9730
  else
9737
- r.error = data2;
9731
+ r.error = data;
9738
9732
  return r;
9739
9733
  }).catch((e) => {
9740
9734
  r.error = e;
@@ -10648,7 +10642,7 @@ class FirstPartyServiceClientFactory {
10648
10642
  throw new Error(`Unable to obtain access token for scope: ${FIRST_PARTY_SERVICE_SCOPE}`);
10649
10643
  if (!accountKey)
10650
10644
  throw new Error("Unable to obtain account key");
10651
- const client = new FirstPartyServiceApi({
10645
+ const client = new FirstPartyServiceApi2({
10652
10646
  baseUrl,
10653
10647
  baseApiParams: {
10654
10648
  secure: true
@@ -10744,11 +10738,11 @@ class FirstPartyServiceClientProxy {
10744
10738
  });
10745
10739
  } catch (error) {
10746
10740
  if (isAbortError(error)) {
10747
- const errorMessage2 = buildServiceExportErrorMessage(serviceName, resourceArray);
10748
- this.logger.error(errorMessage2, error instanceof Error ? error : new Error(errorMessage2));
10749
- const ex2 = new BadRequestException(ErrorCodes.ImportCancelled, error instanceof Error ? error.message : errorMessage2, error);
10750
- ex2.exceptionData = getExceptionData(error, serviceName, resourceArray);
10751
- throw ex2;
10741
+ const errorMessage = buildServiceExportErrorMessage(serviceName, resourceArray);
10742
+ this.logger.error(errorMessage, error instanceof Error ? error : new Error(errorMessage));
10743
+ const ex = new BadRequestException(ErrorCodes.ImportCancelled, error instanceof Error ? error.message : errorMessage, error);
10744
+ ex.exceptionData = getExceptionData(error, serviceName, resourceArray);
10745
+ throw ex;
10752
10746
  }
10753
10747
  if (error instanceof DisconnectedException) {
10754
10748
  this.logger.error("Cannot export resources in disconnected mode.", error);
@@ -10786,7 +10780,7 @@ class FirstPartyServiceClientProxy {
10786
10780
  const tenantKey = await this.accessProvider.getTenantKeyAsync(cancellationToken);
10787
10781
  if (!accountKey)
10788
10782
  throw new BadRequestException(ErrorCodes.AuthenticationFailed, "Unable to obtain account key");
10789
- const client = new (await import("./first-party-service-srxaftkn.js")).FirstPartyServiceApi({
10783
+ const client = new (await import("./first-party-service-ahcc6xc6.js")).FirstPartyServiceApi({
10790
10784
  baseUrl: fullBaseUrl,
10791
10785
  baseApiParams: {
10792
10786
  secure: true
@@ -10955,9 +10949,9 @@ class HttpClient2 {
10955
10949
  };
10956
10950
  this.createAbortSignal = (cancelToken) => {
10957
10951
  if (this.abortControllers.has(cancelToken)) {
10958
- const abortController2 = this.abortControllers.get(cancelToken);
10959
- if (abortController2)
10960
- return abortController2.signal;
10952
+ const abortController = this.abortControllers.get(cancelToken);
10953
+ if (abortController)
10954
+ return abortController.signal;
10961
10955
  return;
10962
10956
  }
10963
10957
  const abortController = new AbortController;
@@ -10992,11 +10986,11 @@ class HttpClient2 {
10992
10986
  r.data = null;
10993
10987
  r.error = null;
10994
10988
  const responseToParse = responseFormat ? response.clone() : response;
10995
- const data = responseFormat ? await responseToParse[responseFormat]().then((data2) => {
10989
+ const data = responseFormat ? await responseToParse[responseFormat]().then((data) => {
10996
10990
  if (r.ok)
10997
- r.data = data2;
10991
+ r.data = data;
10998
10992
  else
10999
- r.error = data2;
10993
+ r.error = data;
11000
10994
  return r;
11001
10995
  }).catch((e) => {
11002
10996
  r.error = e;
@@ -14621,9 +14615,9 @@ class ProjectResourcesDescriptorFactory {
14621
14615
  // ../../node_modules/@uipath/resource-builder-sdk/dist/config/projects/project-configuration-service.js
14622
14616
  class ProjectConfigurationService {
14623
14617
  async getDefaultConfigurationAsync(cancellationToken) {
14624
- const projectsConfiguration2 = this.projectConfigurationReader.getAll();
14618
+ const projectsConfiguration = this.projectConfigurationReader.getAll();
14625
14619
  const language = this.getCurrentLanguage();
14626
- const entries = Object.entries(projectsConfiguration2);
14620
+ const entries = Object.entries(projectsConfiguration);
14627
14621
  const results = {};
14628
14622
  for (const [projectType, config] of entries) {
14629
14623
  const supportedResources = await this.projectResourcesDescriptorFactory.createAsync(projectType, language, cancellationToken);
@@ -14867,18 +14861,18 @@ function registerServices(diContainer, embeddedFileReader) {
14867
14861
  return new ResourceBuilder(metadataReader, translationsReader, mediator);
14868
14862
  }
14869
14863
  });
14870
- diContainer.registerInstance(ServiceTokens.JsonSerializerFactory, new JsonSerializerFactory);
14864
+ diContainer.registerInstance(ServiceTokens.JsonSerializerFactory, new JsonSerializerFactory2);
14871
14865
  diContainer.register(ServiceTokens.SerializerProxy, {
14872
14866
  useFactory: (c) => {
14873
14867
  const jsonSerializerFactory = c.resolve(ServiceTokens.JsonSerializerFactory);
14874
14868
  const loggerFactory = c.resolve(ServiceTokens.LoggerFactory);
14875
- return new JsonSerializerProxy(jsonSerializerFactory, loggerFactory);
14869
+ return new JsonSerializerProxy2(jsonSerializerFactory, loggerFactory);
14876
14870
  }
14877
14871
  });
14878
14872
  diContainer.register(ServiceTokens.StreamSerializer, {
14879
14873
  useFactory: (c) => {
14880
14874
  const jsonSerializerFactory = c.resolve(ServiceTokens.JsonSerializerFactory);
14881
- return new StreamSerializer(jsonSerializerFactory);
14875
+ return new StreamSerializer2(jsonSerializerFactory);
14882
14876
  }
14883
14877
  });
14884
14878
  }
@@ -14934,8 +14928,8 @@ function registerHandlers(diContainer) {
14934
14928
  useFactory: (c) => {
14935
14929
  const mediator = c.resolve(ServiceTokens.Mediator);
14936
14930
  const loggerFactory = c.resolve(ServiceTokens.LoggerFactory);
14937
- const logger2 = loggerFactory.create("AllConfigurationsRequestHandler");
14938
- return new AllConfigurationsRequestHandler(mediator, logger2);
14931
+ const logger = loggerFactory.create("AllConfigurationsRequestHandler");
14932
+ return new AllConfigurationsRequestHandler(mediator, logger);
14939
14933
  }
14940
14934
  });
14941
14935
  diContainer.register(createRequestHandlerToken(RetrieveConfigurationRequest.name), {
@@ -15266,21 +15260,21 @@ class ResourceBuilderServices {
15266
15260
  const factory = this._container.resolve(Tokens.ISolutionBuilderFactory);
15267
15261
  return factory.createAsync(solutionPath, isReadOnly, cancellationToken);
15268
15262
  }
15269
- constructor(container3) {
15270
- this._container = container3;
15263
+ constructor(container) {
15264
+ this._container = container;
15271
15265
  }
15272
15266
  }
15273
15267
 
15274
15268
  // ../../node_modules/@uipath/resource-builder-sdk/dist/logging/logger.js
15275
- var logger_LogLevel = /* @__PURE__ */ function(LogLevel2) {
15276
- LogLevel2[LogLevel2["Trace"] = 0] = "Trace";
15277
- LogLevel2[LogLevel2["Debug"] = 1] = "Debug";
15278
- LogLevel2[LogLevel2["Information"] = 2] = "Information";
15279
- LogLevel2[LogLevel2["Warning"] = 3] = "Warning";
15280
- LogLevel2[LogLevel2["Error"] = 4] = "Error";
15281
- LogLevel2[LogLevel2["Critical"] = 5] = "Critical";
15282
- LogLevel2[LogLevel2["None"] = 6] = "None";
15283
- return LogLevel2;
15269
+ var logger_LogLevel = /* @__PURE__ */ function(LogLevel) {
15270
+ LogLevel[LogLevel["Trace"] = 0] = "Trace";
15271
+ LogLevel[LogLevel["Debug"] = 1] = "Debug";
15272
+ LogLevel[LogLevel["Information"] = 2] = "Information";
15273
+ LogLevel[LogLevel["Warning"] = 3] = "Warning";
15274
+ LogLevel[LogLevel["Error"] = 4] = "Error";
15275
+ LogLevel[LogLevel["Critical"] = 5] = "Critical";
15276
+ LogLevel[LogLevel["None"] = 6] = "None";
15277
+ return LogLevel;
15284
15278
  }({});
15285
15279
  function parseLogLevel(level) {
15286
15280
  if (level === undefined)
@@ -15520,7 +15514,7 @@ class ResourceBuilderConfiguration {
15520
15514
  };
15521
15515
  } else if (!solutionDefinitionProvider && fileStorageProviderFactory)
15522
15516
  solutionDefinitionFactory = {
15523
- instance: new MultiFileSolutionDefinitionFactory(fileStorageProviderFactory.instance, new JsonSerializerFactory, loggerFactoryInstance, this._solutionContextOptions),
15517
+ instance: new MultiFileSolutionDefinitionFactory(fileStorageProviderFactory.instance, new JsonSerializerFactory2, loggerFactoryInstance, this._solutionContextOptions),
15524
15518
  lifetime: service_tokens_ServiceLifetime.Scoped
15525
15519
  };
15526
15520
  const artifactResourceSpecEnhancerInstance = this._artifactResourceSpecEnhancerProvider ? await this.resolveGenericProvider(this._artifactResourceSpecEnhancerProvider) : new DefaultArtifactResourceSpecEnhancer;
@@ -15529,8 +15523,8 @@ class ResourceBuilderConfiguration {
15529
15523
  lifetime: this._artifactResourceSpecEnhancerLifetime
15530
15524
  };
15531
15525
  const embeddedFileReader = await createDefaultEmbeddedFileReaderAsync();
15532
- const container3 = createContainer(accessProvider, cacheProvider, secretsProvider, fileStorageProviderFactory, ipRangeBypassSecretProvider, solutionDefinitionProvider, solutionDefinitionFactory, artifactResourceSpecEnhancer, this._httpReaderOptions, loggerFactory, embeddedFileReader, this._solutionContextOptions, featureFlagProvider);
15533
- return new ResourceBuilderServices(container3);
15526
+ const container = createContainer(accessProvider, cacheProvider, secretsProvider, fileStorageProviderFactory, ipRangeBypassSecretProvider, solutionDefinitionProvider, solutionDefinitionFactory, artifactResourceSpecEnhancer, this._httpReaderOptions, loggerFactory, embeddedFileReader, this._solutionContextOptions, featureFlagProvider);
15527
+ return new ResourceBuilderServices(container);
15534
15528
  }
15535
15529
  async buildServices() {
15536
15530
  return this.build();
@@ -15553,7 +15547,7 @@ function createResourceBuilderConfiguration() {
15553
15547
  }
15554
15548
  // ../solution-sdk/src/resources/services/solution-manifest.ts
15555
15549
  async function assertSolutionManifest(dir) {
15556
- const fs = getFileSystem();
15550
+ const fs = getFileSystem2();
15557
15551
  const entries = await fs.readdir(dir);
15558
15552
  const hasManifest = entries.some((f) => f.endsWith(".uipx"));
15559
15553
  if (!hasManifest) {
@@ -15561,17 +15555,17 @@ async function assertSolutionManifest(dir) {
15561
15555
  }
15562
15556
  }
15563
15557
  async function readSolutionManifest(fs, solutionDir) {
15564
- const [readdirError, entries] = await catchError(fs.readdir(solutionDir));
15558
+ const [readdirError, entries] = await catchError2(fs.readdir(solutionDir));
15565
15559
  if (readdirError || !entries)
15566
15560
  return;
15567
15561
  const uipx = entries.find((name) => name.endsWith(".uipx"));
15568
15562
  if (!uipx)
15569
15563
  return;
15570
15564
  const uipxPath = fs.path.join(solutionDir, uipx);
15571
- const [readError, raw] = await catchError(fs.readFile(uipxPath, "utf-8"));
15565
+ const [readError, raw] = await catchError2(fs.readFile(uipxPath, "utf-8"));
15572
15566
  if (readError || !raw)
15573
15567
  return;
15574
- const [parseError, parsed] = catchError(() => JSON.parse(raw));
15568
+ const [parseError, parsed] = catchError2(() => JSON.parse(raw));
15575
15569
  if (parseError)
15576
15570
  return;
15577
15571
  return normalizeManifest(parsed);
@@ -15602,13 +15596,13 @@ var ENTRY_POINTS_FILE = "entry-points.json";
15602
15596
  class EntryPointSpecEnhancer {
15603
15597
  fs;
15604
15598
  constructor(fs) {
15605
- this.fs = fs ?? getFileSystem();
15599
+ this.fs = fs ?? getFileSystem2();
15606
15600
  }
15607
15601
  async enhanceSpecAsync(context, resource, _propertiesMetadata, spec, _cancellationToken) {
15608
15602
  if (!resource.projectKey) {
15609
15603
  return;
15610
15604
  }
15611
- const [enhanceError] = await catchError(this.applyEntryPointAsync(context, resource.projectKey, spec));
15605
+ const [enhanceError] = await catchError2(this.applyEntryPointAsync(context, resource.projectKey, spec));
15612
15606
  if (enhanceError) {
15613
15607
  logger.warn(`EntryPointSpecEnhancer: failed to enhance spec for resource ${resource.key}: ${enhanceError.message}`);
15614
15608
  }
@@ -15668,12 +15662,12 @@ class DuplicateKeysError extends Error {
15668
15662
 
15669
15663
  class ArtefactPairBindingProvider extends MultiFileSolutionDefinitionProvider {
15670
15664
  async readAsync(context, cancellationToken) {
15671
- const [readError, solution] = await catchError(super.readAsync(context, cancellationToken));
15665
+ const [readError, solution] = await catchError2(super.readAsync(context, cancellationToken));
15672
15666
  if (!readError)
15673
15667
  return solution;
15674
15668
  if (!(readError instanceof DuplicateKeysError))
15675
15669
  throw readError;
15676
- const [describeError, message] = await catchError(this.describeDuplicateKeys(context, readError.keys, cancellationToken));
15670
+ const [describeError, message] = await catchError2(this.describeDuplicateKeys(context, readError.keys, cancellationToken));
15677
15671
  throw describeError ? readError : new Error(message);
15678
15672
  }
15679
15673
  async replaceDuplicateKeysAsync(solution) {
@@ -15686,7 +15680,7 @@ class ArtefactPairBindingProvider extends MultiFileSolutionDefinitionProvider {
15686
15680
  const files = await storage.getFilesAsync(RESOURCE_FILES_FOLDER_NAME, RESOURCE_FILE_PATTERN, cancellationToken);
15687
15681
  const pathsByKey = new Map(keys.map((key) => [key, []]));
15688
15682
  for (const file of [...files].sort()) {
15689
- const [readError, key] = await catchError(this.readResourceKey(storage, file, cancellationToken));
15683
+ const [readError, key] = await catchError2(this.readResourceKey(storage, file, cancellationToken));
15690
15684
  if (readError)
15691
15685
  continue;
15692
15686
  pathsByKey.get(key)?.push(toPortableRelativePath(file));
@@ -15712,7 +15706,15 @@ class ArtefactPairBindingProvider extends MultiFileSolutionDefinitionProvider {
15712
15706
  }
15713
15707
  }
15714
15708
 
15715
- class ArtefactPairBindingSolutionDefinitionFactory extends MultiFileSolutionDefinitionFactory {
15709
+ class ArtefactPairBindingSolutionDefinitionFactory {
15710
+ fileStorageProviderFactory;
15711
+ jsonSerializerFactory;
15712
+ loggerFactory;
15713
+ constructor(fileStorageProviderFactory, jsonSerializerFactory, loggerFactory) {
15714
+ this.fileStorageProviderFactory = fileStorageProviderFactory;
15715
+ this.jsonSerializerFactory = jsonSerializerFactory;
15716
+ this.loggerFactory = loggerFactory;
15717
+ }
15716
15718
  async getProviderAsync() {
15717
15719
  return new ArtefactPairBindingProvider(this.fileStorageProviderFactory, this.jsonSerializerFactory, this.loggerFactory);
15718
15720
  }
@@ -15780,7 +15782,7 @@ class FileSystemFileStorageProvider {
15780
15782
  fs;
15781
15783
  constructor(basePath) {
15782
15784
  this.basePath = basePath;
15783
- this.fs = getFileSystem();
15785
+ this.fs = getFileSystem2();
15784
15786
  }
15785
15787
  async fileExistsAsync(filePath, cancellationToken) {
15786
15788
  this.throwIfCancelled(cancellationToken);
@@ -15839,7 +15841,7 @@ class FileSystemFileStorageProvider {
15839
15841
  async deleteFileAsync(filePath, cancellationToken) {
15840
15842
  this.throwIfCancelled(cancellationToken);
15841
15843
  const fullPath = this.fs.path.join(this.basePath, filePath);
15842
- const [deleteError] = await catchError(this.fs.rm(fullPath));
15844
+ const [deleteError] = await catchError2(this.fs.rm(fullPath));
15843
15845
  if (deleteError) {
15844
15846
  logger.warn(`File not found, skipping delete: ${fullPath}`);
15845
15847
  }
@@ -15860,13 +15862,13 @@ class FileSystemFileStorageProvider {
15860
15862
  }
15861
15863
  this.throwIfCancelled(cancellationToken);
15862
15864
  const results = [];
15863
- const [readdirError, entries] = await catchError(this.fs.readdir(dir));
15865
+ const [readdirError, entries] = await catchError2(this.fs.readdir(dir));
15864
15866
  if (readdirError) {
15865
15867
  return [];
15866
15868
  }
15867
15869
  for (const entryName of entries) {
15868
15870
  const fullPath = this.fs.path.join(dir, entryName);
15869
- const [statError, stat] = await catchError(this.fs.stat(fullPath));
15871
+ const [statError, stat] = await catchError2(this.fs.stat(fullPath));
15870
15872
  if (statError || !stat) {
15871
15873
  continue;
15872
15874
  }
@@ -15903,14 +15905,14 @@ class FileSystemFileStorageProviderFactory {
15903
15905
  return this.getProviderAsync(context, cancellationToken);
15904
15906
  }
15905
15907
  async getUserProfileProviderAsync(context, userId, _cancellationToken) {
15906
- const fs = getFileSystem();
15908
+ const fs = getFileSystem2();
15907
15909
  if (!userId || !isGuid(userId)) {
15908
15910
  throw new Error(`Invalid userId for profile path: ${userId}`);
15909
15911
  }
15910
15912
  const profilePath = fs.path.join(context.path, "userProfile", userId);
15911
15913
  const exists = await fs.exists(profilePath);
15912
15914
  if (!exists) {
15913
- await fs.mkdir(profilePath, { recursive: true });
15915
+ await fs.mkdir(profilePath);
15914
15916
  }
15915
15917
  return new FileSystemFileStorageProvider(profilePath);
15916
15918
  }
@@ -15980,7 +15982,7 @@ class SolutionAccessProvider {
15980
15982
  userKey = undefined;
15981
15983
  async getStatus() {
15982
15984
  if (!this.loginStatus) {
15983
- this.loginStatus = await getLoginStatusAsync();
15985
+ this.loginStatus = await getLoginStatusAsync2();
15984
15986
  }
15985
15987
  return this.loginStatus;
15986
15988
  }
@@ -16012,12 +16014,12 @@ class SolutionAccessProvider {
16012
16014
  if (this.userKey !== undefined) {
16013
16015
  return this.userKey;
16014
16016
  }
16015
- const [apiError, api] = await catchError(createApiClient(UsersApi));
16017
+ const [apiError, api] = await catchError2(createApiClient2(UsersApi));
16016
16018
  if (apiError) {
16017
16019
  logger.warn(`Failed to create UsersApi client: ${apiError.message}`);
16018
16020
  return null;
16019
16021
  }
16020
- const [userError, user] = await catchError(api.usersGetCurrentUser());
16022
+ const [userError, user] = await catchError2(api.usersGetCurrentUser());
16021
16023
  if (userError || !user?.key) {
16022
16024
  logger.warn(`Failed to get current user key: ${userError?.message ?? "no key in response"}`);
16023
16025
  return null;
@@ -16042,13 +16044,13 @@ class SolutionAccessProvider {
16042
16044
  async function createResourceBuilderServices() {
16043
16045
  const loggerFactory = new CliResourceBuilderLoggerFactory;
16044
16046
  const fileStorageProviderFactory = new FileSystemFileStorageProviderFactory;
16045
- const jsonSerializerFactory = new JsonSerializerFactory;
16047
+ const jsonSerializerFactory = new JsonSerializerFactory2;
16046
16048
  return await createResourceBuilderConfiguration().addAccessProvider(new SolutionAccessProvider).addFileStorageProviderFactory(fileStorageProviderFactory).addLoggerFactory(loggerFactory).addSolutionDefinitionFactory(new ArtefactPairBindingSolutionDefinitionFactory(fileStorageProviderFactory, jsonSerializerFactory, loggerFactory)).addArtifactResourceSpecEnhancer(new EntryPointSpecEnhancer).build();
16047
16049
  }
16048
16050
 
16049
16051
  // ../solution-sdk/src/resources/commands/project-utils.ts
16050
16052
  async function findProjectFile(projectDir) {
16051
- const fs = getFileSystem();
16053
+ const fs = getFileSystem2();
16052
16054
  const uiprojPath = fs.path.join(projectDir, "project.uiproj");
16053
16055
  const jsonProjPath = fs.path.join(projectDir, "project.json");
16054
16056
  const uipathJsonPath = fs.path.join(projectDir, "uipath.json");
@@ -16108,12 +16110,12 @@ function lastPathSegment(filePath) {
16108
16110
  return parts[parts.length - 1] ?? filePath;
16109
16111
  }
16110
16112
  async function readProjectFile(filePath, useProjectJson) {
16111
- const fs = getFileSystem();
16112
- const [readError, rawContent] = await catchError(fs.readFile(filePath, "utf-8"));
16113
+ const fs = getFileSystem2();
16114
+ const [readError, rawContent] = await catchError2(fs.readFile(filePath, "utf-8"));
16113
16115
  if (readError || !rawContent) {
16114
16116
  return [readError ?? new Error("Unable to read project file"), null];
16115
16117
  }
16116
- const [parseError, content] = catchError(() => JSON.parse(rawContent));
16118
+ const [parseError, content] = catchError2(() => JSON.parse(rawContent));
16117
16119
  if (parseError) {
16118
16120
  return [
16119
16121
  new ProjectManifestError(`Invalid JSON in project file: ${parseError.message}`, "invalid-json"),
@@ -16145,12 +16147,12 @@ async function readProjectFile(filePath, useProjectJson) {
16145
16147
  return [null, { content, projectType: normalizeProjectType(projectType) }];
16146
16148
  }
16147
16149
  async function readSolutionFile(filePath) {
16148
- const fs = getFileSystem();
16149
- const [readError, rawContent] = await catchError(fs.readFile(filePath, "utf-8"));
16150
+ const fs = getFileSystem2();
16151
+ const [readError, rawContent] = await catchError2(fs.readFile(filePath, "utf-8"));
16150
16152
  if (readError || !rawContent) {
16151
16153
  return [readError ?? new Error("Unable to read solution file"), null];
16152
16154
  }
16153
- const [parseError, solution] = catchError(() => JSON.parse(rawContent));
16155
+ const [parseError, solution] = catchError2(() => JSON.parse(rawContent));
16154
16156
  if (parseError) {
16155
16157
  return [
16156
16158
  new Error(`Invalid JSON in solution file: ${parseError.message}`),
@@ -16160,7 +16162,7 @@ async function readSolutionFile(filePath) {
16160
16162
  return [null, { solution, rawContent }];
16161
16163
  }
16162
16164
  async function resolveSolutionFilePath(solutionFileOption, searchStartDir) {
16163
- const fs = getFileSystem();
16165
+ const fs = getFileSystem2();
16164
16166
  if (solutionFileOption) {
16165
16167
  const resolved = fs.path.resolve(fs.env.cwd(), solutionFileOption);
16166
16168
  const exists = await fs.exists(resolved);
@@ -16169,40 +16171,40 @@ async function resolveSolutionFilePath(solutionFileOption, searchStartDir) {
16169
16171
  }
16170
16172
  return [null, resolved];
16171
16173
  }
16172
- const [findError, found] = await catchError(findSolutionFileUpward(fs, searchStartDir));
16174
+ const [findError, found] = await catchError2(findSolutionFileUpward(fs, searchStartDir));
16173
16175
  if (findError) {
16174
16176
  return [findError, null];
16175
16177
  }
16176
16178
  return [null, found];
16177
16179
  }
16178
16180
  async function writeSolutionFile(filePath, solution) {
16179
- const fs = getFileSystem();
16180
- const [writeError] = await catchError(fs.writeFile(filePath, `${JSON.stringify(solution, null, 2)}
16181
+ const fs = getFileSystem2();
16182
+ const [writeError] = await catchError2(fs.writeFile(filePath, `${JSON.stringify(solution, null, 2)}
16181
16183
  `));
16182
- return writeError;
16184
+ return writeError ?? null;
16183
16185
  }
16184
16186
  async function restoreSolutionFile(filePath, rawContent) {
16185
- const fs = getFileSystem();
16186
- const [writeError] = await catchError(fs.writeFile(filePath, rawContent));
16187
- return writeError;
16187
+ const fs = getFileSystem2();
16188
+ const [writeError] = await catchError2(fs.writeFile(filePath, rawContent));
16189
+ return writeError ?? null;
16188
16190
  }
16189
16191
  async function createProjectInSolutionBuilder(solutionDir, projectId, projectName, projectType, subType) {
16190
- const [servicesError, services] = await catchError(createResourceBuilderServices());
16192
+ const [servicesError, services] = await catchError2(createResourceBuilderServices());
16191
16193
  if (servicesError) {
16192
16194
  return servicesError;
16193
16195
  }
16194
- const [builderError, solutionBuilder] = await catchError(services.getSolutionBuilder(solutionDir));
16196
+ const [builderError, solutionBuilder] = await catchError2(services.getSolutionBuilder(solutionDir));
16195
16197
  if (builderError) {
16196
16198
  return builderError;
16197
16199
  }
16198
- const [createError] = await catchError(solutionBuilder.createProjectAsync({
16200
+ const [createError] = await catchError2(solutionBuilder.createProjectAsync({
16199
16201
  projectKey: projectId,
16200
16202
  name: projectName,
16201
16203
  type: projectType,
16202
16204
  subType
16203
16205
  }));
16204
- await catchError(solutionBuilder.disposeAsync());
16205
- return createError;
16206
+ await catchError2(solutionBuilder.disposeAsync());
16207
+ return createError ?? null;
16206
16208
  }
16207
16209
  // ../solution-sdk/src/resources/services/catalog-lookup-failure.ts
16208
16210
  var NO_CLIENT_MESSAGE = "Unable to create Resource Catalog client";
@@ -16474,7 +16476,7 @@ function parseJsonString(raw) {
16474
16476
  if (typeof raw !== "string") {
16475
16477
  return raw;
16476
16478
  }
16477
- const [error, parsed] = catchError(() => JSON.parse(raw));
16479
+ const [error, parsed] = catchError2(() => JSON.parse(raw));
16478
16480
  return error ? undefined : parsed;
16479
16481
  }
16480
16482
  // ../solution-sdk/src/resources/services/resource-casing.ts
@@ -16496,17 +16498,17 @@ function normalizeResourceCasing(solution) {
16496
16498
  return normalized;
16497
16499
  }
16498
16500
  async function saveCasingNormalized(builder) {
16499
- const [loadError, solution] = await catchError(builder.context.loadAsync());
16501
+ const [loadError, solution] = await catchError2(builder.context.loadAsync());
16500
16502
  if (loadError) {
16501
16503
  logger.warn(`Skipping resource casing normalization; failed to load solution: ${loadError.message}`);
16502
16504
  } else {
16503
16505
  normalizeResourceCasing(solution);
16504
16506
  }
16505
- const [disposeError] = await catchError(builder.disposeAsync());
16507
+ const [disposeError] = await catchError2(builder.disposeAsync());
16506
16508
  return disposeError ?? null;
16507
16509
  }
16508
16510
  async function normalizeResourceFileCasing(solutionDir) {
16509
- const fs = getFileSystem();
16511
+ const fs = getFileSystem2();
16510
16512
  const root = fs.path.join(solutionDir, RESOURCE_FILES_FOLDER_NAME2);
16511
16513
  if (!await fs.exists(root))
16512
16514
  return [];
@@ -16520,7 +16522,7 @@ async function normalizeResourceFileCasing(solutionDir) {
16520
16522
  for (const path of paths) {
16521
16523
  if (path === keep)
16522
16524
  continue;
16523
- const [removeError] = await catchError(fs.rm(path));
16525
+ const [removeError] = await catchError2(fs.rm(path));
16524
16526
  if (removeError) {
16525
16527
  logger.warn(`Could not remove case-variant resource file ${path}: ${removeError.message}`);
16526
16528
  continue;
@@ -16533,12 +16535,12 @@ async function normalizeResourceFileCasing(solutionDir) {
16533
16535
  if (keep.toLowerCase() === target.toLowerCase() && await fs.exists(target)) {
16534
16536
  continue;
16535
16537
  }
16536
- const [makeDirError] = await catchError(fs.mkdir(fs.path.dirname(target)));
16538
+ const [makeDirError] = await catchError2(fs.mkdir(fs.path.dirname(target)));
16537
16539
  if (makeDirError) {
16538
16540
  logger.warn(`Could not create directory for resource file ${target}: ${makeDirError.message}`);
16539
16541
  continue;
16540
16542
  }
16541
- const [renameError] = await catchError(fs.rename(keep, target));
16543
+ const [renameError] = await catchError2(fs.rename(keep, target));
16542
16544
  if (renameError) {
16543
16545
  logger.warn(`Could not move resource file ${keep} to ${target}: ${renameError.message}`);
16544
16546
  continue;
@@ -16567,15 +16569,15 @@ function sameIgnoringCase(a, b) {
16567
16569
  return a.toLowerCase() === b.toLowerCase();
16568
16570
  }
16569
16571
  async function collectResourceFiles(root, segments) {
16570
- const fs = getFileSystem();
16571
- const [readError, names] = await catchError(fs.readdir(fs.path.join(root, ...segments)));
16572
+ const fs = getFileSystem2();
16573
+ const [readError, names] = await catchError2(fs.readdir(fs.path.join(root, ...segments)));
16572
16574
  if (readError || !names)
16573
16575
  return [];
16574
16576
  const files = [];
16575
16577
  for (const name of [...names].sort()) {
16576
16578
  const childSegments = [...segments, name];
16577
16579
  const path = fs.path.join(root, ...childSegments);
16578
- const [statError, stats] = await catchError(fs.stat(path));
16580
+ const [statError, stats] = await catchError2(fs.stat(path));
16579
16581
  if (statError) {
16580
16582
  logger.warn(`Could not inspect resource path ${path}: ${statError.message}`);
16581
16583
  continue;
@@ -16588,7 +16590,7 @@ async function collectResourceFiles(root, segments) {
16588
16590
  }
16589
16591
  if (!name.toLowerCase().endsWith(".json"))
16590
16592
  continue;
16591
- const [readFileError, content] = await catchError(fs.readFile(path, "utf-8"));
16593
+ const [readFileError, content] = await catchError2(fs.readFile(path, "utf-8"));
16592
16594
  if (readFileError) {
16593
16595
  logger.warn(`Could not read resource file ${path}: ${readFileError.message}`);
16594
16596
  continue;
@@ -16602,14 +16604,14 @@ async function collectResourceFiles(root, segments) {
16602
16604
  return files;
16603
16605
  }
16604
16606
  async function removeEmptyDirectories(dir, isRoot) {
16605
- const fs = getFileSystem();
16606
- const [readError, names] = await catchError(fs.readdir(dir));
16607
+ const fs = getFileSystem2();
16608
+ const [readError, names] = await catchError2(fs.readdir(dir));
16607
16609
  if (readError || !names)
16608
16610
  return false;
16609
16611
  let remaining = names.length;
16610
16612
  for (const name of names) {
16611
16613
  const childPath = fs.path.join(dir, name);
16612
- const [statError, stats] = await catchError(fs.stat(childPath));
16614
+ const [statError, stats] = await catchError2(fs.stat(childPath));
16613
16615
  if (statError) {
16614
16616
  logger.warn(`Could not inspect resource path ${childPath}: ${statError.message}`);
16615
16617
  continue;
@@ -16621,7 +16623,7 @@ async function removeEmptyDirectories(dir, isRoot) {
16621
16623
  }
16622
16624
  if (remaining > 0 || isRoot)
16623
16625
  return false;
16624
- const [removeError] = await catchError(fs.rm(dir));
16626
+ const [removeError] = await catchError2(fs.rm(dir));
16625
16627
  return !removeError;
16626
16628
  }
16627
16629
  function parseResourceHeader(content) {
@@ -16653,7 +16655,7 @@ function isResourceKeyNotFound(error, resourceKey) {
16653
16655
  }
16654
16656
  async function refreshArtefactSpecsAsync(builder, configurations) {
16655
16657
  const resources = new Map;
16656
- const [loadError, solution] = await catchError(builder.context.loadAsync());
16658
+ const [loadError, solution] = await catchError2(builder.context.loadAsync());
16657
16659
  if (loadError || !solution)
16658
16660
  return resources;
16659
16661
  for (const configuration of configurations) {
@@ -16698,7 +16700,7 @@ async function exportResourceConfigurationsAsync(services, resourceKey, hint = {
16698
16700
  async function readLocalAsync(builder, resourceKey, read) {
16699
16701
  if (!builder)
16700
16702
  return;
16701
- const [error, value] = await catchError(read(builder));
16703
+ const [error, value] = await catchError2(read(builder));
16702
16704
  if (!error)
16703
16705
  return { builder, value };
16704
16706
  if (isResourceKeyNotFound(error, resourceKey))
@@ -16717,10 +16719,10 @@ async function readResourceConfigurationAsync(services, builder, resourceKey) {
16717
16719
  const local = await readLocalAsync(builder, resourceKey, (b) => b.getConfigurationAsync(resourceKey));
16718
16720
  if (local) {
16719
16721
  const configuration = local.value;
16720
- const resources2 = await refreshArtefactSpecsAsync(local.builder, [
16722
+ const resources = await refreshArtefactSpecsAsync(local.builder, [
16721
16723
  configuration
16722
16724
  ]);
16723
- return { configuration, resource: resources2.get(configuration.key) };
16725
+ return { configuration, resource: resources.get(configuration.key) };
16724
16726
  }
16725
16727
  const { resources } = await exportResourceConfigurationsAsync(services, resourceKey);
16726
16728
  const primary = resources.find((r) => r.key === resourceKey) ?? resources[0];
@@ -16797,6 +16799,7 @@ var TYPE_IS_IDENTITY_REPLACE_OPTIONS = new Set([
16797
16799
  "SameNameAndType"
16798
16800
  ]);
16799
16801
  var BINDINGS_JSON_FALLBACK_TYPES = new Set(["agent", "function"]);
16802
+ var IMPLICIT_CONNECTION = "ImplicitConnection";
16800
16803
 
16801
16804
  class OverwriteRefreshError extends Error {
16802
16805
  }
@@ -16804,16 +16807,20 @@ function placeholderForType(type) {
16804
16807
  switch ((type ?? "string").toLowerCase()) {
16805
16808
  case "boolean":
16806
16809
  return false;
16807
- case "integer":
16808
- case "number":
16810
+ case "int":
16811
+ case "long":
16812
+ case "float":
16813
+ case "double":
16809
16814
  return 0;
16815
+ case "array":
16816
+ return [];
16810
16817
  default:
16811
16818
  return "";
16812
16819
  }
16813
16820
  }
16814
16821
  async function buildKindResolver(metadataReader) {
16815
16822
  const cache = new Map;
16816
- const [orderedErr, ordered] = await catchError((async () => metadataReader.getOrderedAsync())());
16823
+ const [orderedErr, ordered] = await catchError2((async () => metadataReader.getOrderedAsync())());
16817
16824
  if (orderedErr || !ordered) {
16818
16825
  logger.warn(`Failed to load SDK resource metadata; kind resolution disabled: ${orderedErr?.message ?? "unknown"}`);
16819
16826
  return async () => {
@@ -16900,7 +16907,7 @@ function resolveBindingResourceIdentity(binding) {
16900
16907
  };
16901
16908
  }
16902
16909
  }
16903
- async function syncResourcesFromBindings(solutionDir, projectPaths, projectSubTypes, projectBindings) {
16910
+ async function syncResourcesFromBindings(solutionDir, projectPaths, projectSubTypes, projectBindings, selfProvisioned) {
16904
16911
  const result = {
16905
16912
  created: 0,
16906
16913
  imported: 0,
@@ -16916,7 +16923,7 @@ async function syncResourcesFromBindings(solutionDir, projectPaths, projectSubTy
16916
16923
  return result;
16917
16924
  }
16918
16925
  const bindingsJsonFallbackDirs = new Set(uipxProjects.filter((p) => BINDINGS_JSON_FALLBACK_TYPES.has(p.type.toLowerCase())).map((p) => p.path));
16919
- const [servicesError, services] = await catchError(createResourceBuilderServices());
16926
+ const [servicesError, services] = await catchError2(createResourceBuilderServices());
16920
16927
  if (servicesError) {
16921
16928
  logger.warn(`Failed to create resource builder services: ${servicesError.message}`);
16922
16929
  return result;
@@ -16931,7 +16938,7 @@ async function syncResourcesFromBindings(solutionDir, projectPaths, projectSubTy
16931
16938
  return result;
16932
16939
  }
16933
16940
  await normalizeResourceFileCasing(solutionDir);
16934
- const [builderError, builder] = await catchError(services.getSolutionBuilder(solutionDir));
16941
+ const [builderError, builder] = await catchError2(services.getSolutionBuilder(solutionDir));
16935
16942
  if (builderError) {
16936
16943
  logger.warn(`Failed to get solution builder: ${builderError.message}`);
16937
16944
  return result;
@@ -16941,9 +16948,9 @@ async function syncResourcesFromBindings(solutionDir, projectPaths, projectSubTy
16941
16948
  const memberProjectKeys = new Set(uipxProjects.map((project) => project.id.toLowerCase()));
16942
16949
  await pruneMemberClones(builder, memberProjectKeys, result);
16943
16950
  if (allBindings.length === 0) {
16944
- const saveError2 = await saveAndDisposeBuilder(builder, solutionDir);
16945
- if (saveError2) {
16946
- throw new Error(`Failed to save solution changes: ${saveError2.message}`);
16951
+ const saveError = await saveAndDisposeBuilder(builder, solutionDir);
16952
+ if (saveError) {
16953
+ throw new Error(`Failed to save solution changes: ${saveError.message}`);
16947
16954
  }
16948
16955
  return result;
16949
16956
  }
@@ -16956,6 +16963,7 @@ async function syncResourcesFromBindings(solutionDir, projectPaths, projectSubTy
16956
16963
  const resolvedKeys = new Set;
16957
16964
  const overwrittenKeys = new Set;
16958
16965
  const bindingKey = (kind, name) => `${kind}:${name ?? ""}`.toLowerCase();
16966
+ const selfProvisionedKeys = new Set((selfProvisioned ?? []).map((r) => bindingKey(r.kind, r.name)));
16959
16967
  const recordUnchecked = async (error, kind, name, directCloudKey) => {
16960
16968
  if (error) {
16961
16969
  const failure = classifyCatalogFailure(error);
@@ -16987,7 +16995,7 @@ async function syncResourcesFromBindings(solutionDir, projectPaths, projectSubTy
16987
16995
  const name = getResourceName(binding);
16988
16996
  const folderPath = getFolderPathProperty(binding).defaultValue;
16989
16997
  const directCloudKey = isConnection ? getConnectionKey(binding) : undefined;
16990
- if (isConnection && !directCloudKey) {
16998
+ if (isConnection && (!directCloudKey || directCloudKey === IMPLICIT_CONNECTION)) {
16991
16999
  continue;
16992
17000
  }
16993
17001
  if (!isConnection && !name) {
@@ -17003,8 +17011,20 @@ async function syncResourcesFromBindings(solutionDir, projectPaths, projectSubTy
17003
17011
  logger.info(`Skipping ${kind} "${name}" — the solution provisions this project itself; its member declaration covers the binding`);
17004
17012
  continue;
17005
17013
  }
17014
+ if (!isConnection && selfProvisionedKeys.has(bindingKey(kind, name))) {
17015
+ virtualCandidates.push({
17016
+ binding,
17017
+ kind,
17018
+ type: identity.type ?? metadata?.type,
17019
+ metadata,
17020
+ name,
17021
+ folderPath,
17022
+ catalogMiss: false
17023
+ });
17024
+ continue;
17025
+ }
17006
17026
  const lookupsStopped = !!result.catalogLookupFailure && stopsCatalogLookups(result.catalogLookupFailure);
17007
- const [lookupError, rcsMatch] = lookupsStopped ? [undefined, undefined] : await catchError(directCloudKey ? findResourceByKeyInRcs(builder, kind, directCloudKey, folderPath, true) : findResourceInRcs(builder, kind, name, folderPath, true));
17027
+ const [lookupError, rcsMatch] = lookupsStopped ? [undefined, undefined] : await catchError2(directCloudKey ? findResourceByKeyInRcs(builder, kind, directCloudKey, folderPath, true) : findResourceInRcs(builder, kind, name, folderPath, true));
17008
17028
  if (lookupsStopped || lookupError) {
17009
17029
  await recordUnchecked(lookupError, kind, name, directCloudKey);
17010
17030
  continue;
@@ -17021,7 +17041,8 @@ async function syncResourcesFromBindings(solutionDir, projectPaths, projectSubTy
17021
17041
  type: resolvedType,
17022
17042
  metadata,
17023
17043
  name,
17024
- folderPath
17044
+ folderPath,
17045
+ catalogMiss: true
17025
17046
  });
17026
17047
  continue;
17027
17048
  }
@@ -17039,7 +17060,7 @@ async function syncResourcesFromBindings(solutionDir, projectPaths, projectSubTy
17039
17060
  name: rcsMatch.name,
17040
17061
  folder: rcsMatch.folder
17041
17062
  };
17042
- const [importError] = await catchError(wasKnown ? refreshKnownResource(services, builder, reference, overwrittenKeys) : builder.addOrUpdateResourceToSolutionAsync(reference, true));
17063
+ const [importError] = await catchError2(wasKnown ? refreshKnownResource(services, builder, reference, overwrittenKeys) : builder.addOrUpdateResourceToSolutionAsync(reference, true));
17043
17064
  if (!importError) {
17044
17065
  resolvedKeys.add(bindingKey(kind, directCloudKey ?? name));
17045
17066
  if (wasKnown) {
@@ -17075,7 +17096,8 @@ async function syncResourcesFromBindings(solutionDir, projectPaths, projectSubTy
17075
17096
  type: resolvedType,
17076
17097
  metadata,
17077
17098
  name,
17078
- folderPath
17099
+ folderPath,
17100
+ catalogMiss: false
17079
17101
  });
17080
17102
  }
17081
17103
  const virtualCandidatesSeen = new Set;
@@ -17087,7 +17109,7 @@ async function syncResourcesFromBindings(solutionDir, projectPaths, projectSubTy
17087
17109
  return true;
17088
17110
  });
17089
17111
  for (const candidate of dedupedVirtuals) {
17090
- const [syncError, created] = await catchError(createVirtualForBinding(builder, candidate.binding, candidate.kind, candidate.type, candidate.metadata, candidate.name, candidate.folderPath, result));
17112
+ const [syncError, created] = await catchError2(createVirtualForBinding(builder, candidate.binding, candidate.kind, candidate.type, candidate.metadata, candidate.name, candidate.folderPath, result, candidate.catalogMiss));
17091
17113
  if (syncError) {
17092
17114
  logger.warn(`Failed to create virtual ${candidate.kind}/${candidate.name}: ${syncError.message}`);
17093
17115
  } else if (created) {
@@ -17119,14 +17141,14 @@ async function syncResourcesFromBindings(solutionDir, projectPaths, projectSubTy
17119
17141
  async function pruneMemberClones(builder, memberProjectKeys, result) {
17120
17142
  if (memberProjectKeys.size === 0)
17121
17143
  return;
17122
- const [loadError, solution] = await catchError(builder.context.loadAsync());
17144
+ const [loadError, solution] = await catchError2(builder.context.loadAsync());
17123
17145
  if (loadError || !solution) {
17124
17146
  logger.warn(`Skipping member clone cleanup; failed to load solution: ${loadError?.message ?? "unknown"}`);
17125
17147
  return;
17126
17148
  }
17127
17149
  const clones = findMemberCloneResources(solution.resources ?? [], memberProjectKeys);
17128
17150
  for (const clone of clones) {
17129
- const [deleteError] = await catchError(builder.deleteSolutionResourceAsync(clone.key));
17151
+ const [deleteError] = await catchError2(builder.deleteSolutionResourceAsync(clone.key));
17130
17152
  if (deleteError) {
17131
17153
  const warning = `Could not remove duplicate ${clone.kind} "${clone.name}" (key: ${clone.key}): ${deleteError.message}`;
17132
17154
  result.warnings.push(warning);
@@ -17155,7 +17177,7 @@ async function refreshKnownResource(services, builder, reference, overwrittenKey
17155
17177
  overwrittenKeys.add(referenceKey);
17156
17178
  return response;
17157
17179
  }
17158
- const [overwriteError] = await catchError(refreshOverwrite(services, builder, reference, existing.key));
17180
+ const [overwriteError] = await catchError2(refreshOverwrite(services, builder, reference, existing.key));
17159
17181
  if (overwriteError)
17160
17182
  throw new OverwriteRefreshError(overwriteError.message);
17161
17183
  overwrittenKeys.add(referenceKey);
@@ -17180,18 +17202,18 @@ async function saveAndDisposeBuilder(builder, solutionDir) {
17180
17202
  await builder.disposeAsync();
17181
17203
  return new Error("Builder context exposes no force save method; solution changes were not persisted");
17182
17204
  }
17183
- const [loadError, solution] = await catchError(builder.context.loadAsync());
17205
+ const [loadError, solution] = await catchError2(builder.context.loadAsync());
17184
17206
  if (loadError) {
17185
17207
  logger.warn(`Skipping resource casing normalization; failed to load solution: ${loadError.message}`);
17186
17208
  } else {
17187
17209
  normalizeResourceCasing(solution);
17188
17210
  }
17189
- const [saveError] = await catchError(context.forceSaveChangesAsync.call(context));
17211
+ const [saveError] = await catchError2(context.forceSaveChangesAsync.call(context));
17190
17212
  await builder.disposeAsync();
17191
17213
  if (!saveError) {
17192
17214
  await normalizeResourceFileCasing(solutionDir);
17193
17215
  }
17194
- return saveError;
17216
+ return saveError ?? null;
17195
17217
  }
17196
17218
  function isConnectionBinding(binding) {
17197
17219
  return binding.resourceType === models_BindingsResourceType.Connection || binding.resourceType === models_BindingsResourceType.EventTrigger;
@@ -17236,7 +17258,7 @@ async function mintVirtualResource(builder, kind, type, name, metadata) {
17236
17258
  }
17237
17259
  return { resource, finalName: uniqueName };
17238
17260
  }
17239
- async function createVirtualForBinding(builder, _binding, kind, type, metadata, name, folderPath, result) {
17261
+ async function createVirtualForBinding(builder, _binding, kind, type, metadata, name, folderPath, result, catalogMiss) {
17240
17262
  const virtualizable = metadata?.virtualizable ?? false;
17241
17263
  const preLoadSolution = await builder.context.loadAsync();
17242
17264
  const alreadyVirtualized = findMatchingLocalResource(preLoadSolution.resources, kind, name, undefined);
@@ -17250,7 +17272,7 @@ async function createVirtualForBinding(builder, _binding, kind, type, metadata,
17250
17272
  return false;
17251
17273
  result.created++;
17252
17274
  logger.info(`Created ${kind} "${name}" in solution`);
17253
- if (!virtualizable) {
17275
+ if (!virtualizable && catalogMiss) {
17254
17276
  const warning = `${kind} "${name}" not found in Orchestrator. Link it before deploy: uip solution deploy config link <file> "${name}" --name <existing-name>`;
17255
17277
  result.warnings.push(warning);
17256
17278
  logger.warn(warning);
@@ -17263,7 +17285,7 @@ async function findResourceByKeyInRcs(builder, kind, expectedKey, folderPath, pr
17263
17285
  const mismatchedFolders = [];
17264
17286
  let pageCursor;
17265
17287
  do {
17266
- const [searchError, result] = await catchError(builder.searchResourcesAsync(kind, undefined, undefined, pageCursor, 100, undefined, false));
17288
+ const [searchError, result] = await catchError2(builder.searchResourcesAsync(kind, undefined, undefined, pageCursor, 100, undefined, false));
17267
17289
  if (searchError) {
17268
17290
  if (propagateErrors) {
17269
17291
  throw searchError;
@@ -17302,7 +17324,7 @@ async function findResourceByKeyInRcs(builder, kind, expectedKey, folderPath, pr
17302
17324
  return;
17303
17325
  }
17304
17326
  async function searchRcsResources(builder, kind, name) {
17305
- const [searchError, matches] = await catchError(searchRcsResourcesStrict(builder, kind, name));
17327
+ const [searchError, matches] = await catchError2(searchRcsResourcesStrict(builder, kind, name));
17306
17328
  if (searchError) {
17307
17329
  logger.warn(`Failed to search ${kind} resources in RCS: ${searchError.message}`);
17308
17330
  return [];
@@ -17389,11 +17411,11 @@ function mapUipxTypeToReconcileType(uipxType) {
17389
17411
  return uipxType;
17390
17412
  }
17391
17413
  async function readUipxProjects(solutionDir) {
17392
- const fs = getFileSystem();
17414
+ const fs = getFileSystem2();
17393
17415
  const uipxPath = await findUipxFile(solutionDir);
17394
17416
  if (!uipxPath)
17395
17417
  return [];
17396
- const [readError, content] = await catchError(fs.readFile(uipxPath));
17418
+ const [readError, content] = await catchError2(fs.readFile(uipxPath));
17397
17419
  if (readError || !content)
17398
17420
  return [];
17399
17421
  let parsed;
@@ -17420,8 +17442,8 @@ async function readUipxProjects(solutionDir) {
17420
17442
  return projects;
17421
17443
  }
17422
17444
  async function readUiprojName(uiprojPath) {
17423
- const fs = getFileSystem();
17424
- const [readError, content] = await catchError(fs.readFile(uiprojPath));
17445
+ const fs = getFileSystem2();
17446
+ const [readError, content] = await catchError2(fs.readFile(uiprojPath));
17425
17447
  if (readError || !content)
17426
17448
  return;
17427
17449
  try {
@@ -17433,13 +17455,13 @@ async function readUiprojName(uiprojPath) {
17433
17455
  }
17434
17456
  }
17435
17457
  async function snapshotResourceIdentities(builder) {
17436
- const [loadError, solution] = await catchError(builder.context.loadAsync());
17458
+ const [loadError, solution] = await catchError2(builder.context.loadAsync());
17437
17459
  if (loadError || !solution)
17438
17460
  return;
17439
17461
  return new Set((solution.resources ?? []).map((resource) => resource.key ? resource.key.toLowerCase() : `${resource.kind}:${resource.name}`.toLowerCase()));
17440
17462
  }
17441
17463
  async function reconcileSolutionProjects(builder, solutionDir, projectSubTypes) {
17442
- const fs = getFileSystem();
17464
+ const fs = getFileSystem2();
17443
17465
  const outcome = { projectsCount: 0, resourcesAdded: 0 };
17444
17466
  const uipxProjects = await readUipxProjects(solutionDir);
17445
17467
  const projectDetails = uipxProjects.flatMap((project) => {
@@ -17459,7 +17481,7 @@ async function reconcileSolutionProjects(builder, solutionDir, projectSubTypes)
17459
17481
  return outcome;
17460
17482
  const solutionName = fs.path.basename(solutionDir);
17461
17483
  const before = await snapshotResourceIdentities(builder);
17462
- const [reconcileError] = await catchError(builder.reconcileProjectsAsync({
17484
+ const [reconcileError] = await catchError2(builder.reconcileProjectsAsync({
17463
17485
  solutionName,
17464
17486
  projects: projectDetails
17465
17487
  }));
@@ -17476,7 +17498,7 @@ async function reconcileSolutionProjects(builder, solutionDir, projectSubTypes)
17476
17498
  return outcome;
17477
17499
  }
17478
17500
  async function findUipxFile(solutionDir) {
17479
- const fs = getFileSystem();
17501
+ const fs = getFileSystem2();
17480
17502
  const entries = await fs.readdir(solutionDir);
17481
17503
  const uipxFile = entries.find((e) => e.endsWith(".uipx"));
17482
17504
  return uipxFile ? fs.path.join(solutionDir, uipxFile) : null;
@@ -17538,21 +17560,21 @@ function bindingSources(solutionDir, projectPaths, projects, projectBindings) {
17538
17560
  return sources;
17539
17561
  }
17540
17562
  async function collectBindings(bindingsJsonFallbackDirs, serializer, sources) {
17541
- const fs = getFileSystem();
17563
+ const fs = getFileSystem2();
17542
17564
  const allBindings = [];
17543
17565
  const parseErrors = [];
17544
17566
  for (const { directory: dir, contribution } of sources) {
17545
17567
  if (contribution) {
17546
17568
  if (contribution.bindings.length === 0)
17547
17569
  continue;
17548
- const parsed2 = deserializeBindings(JSON.stringify({
17570
+ const parsed = deserializeBindings(JSON.stringify({
17549
17571
  version: "2.0",
17550
17572
  resources: contribution.bindings
17551
17573
  }), `${dir} (bindings contributed by the project's tool; project ${contribution.projectId})`, serializer);
17552
- if ("error" in parsed2)
17553
- parseErrors.push(parsed2.error);
17574
+ if ("error" in parsed)
17575
+ parseErrors.push(parsed.error);
17554
17576
  else
17555
- allBindings.push(...parsed2.resources);
17577
+ allBindings.push(...parsed.resources);
17556
17578
  continue;
17557
17579
  }
17558
17580
  const v2Path = fs.path.join(dir, "bindings_v2.json");
@@ -17565,7 +17587,7 @@ async function collectBindings(bindingsJsonFallbackDirs, serializer, sources) {
17565
17587
  if (!exists) {
17566
17588
  continue;
17567
17589
  }
17568
- const [readError, content] = await catchError(fs.readFile(bindingsPath));
17590
+ const [readError, content] = await catchError2(fs.readFile(bindingsPath));
17569
17591
  if (readError || !content) {
17570
17592
  parseErrors.push({
17571
17593
  path: bindingsPath,
@@ -17607,7 +17629,7 @@ function deserializeBindings(decoded, source, serializer) {
17607
17629
  return { resources: metadata?.resources ?? [] };
17608
17630
  }
17609
17631
  async function syncAndLog(solutionDir, projectSubTypes, options) {
17610
- const [syncError, syncResult] = await catchError(syncResourcesFromBindings(solutionDir, undefined, projectSubTypes, options?.projectBindings));
17632
+ const [syncError, syncResult] = await catchError2(syncResourcesFromBindings(solutionDir, undefined, projectSubTypes, options?.projectBindings, options?.selfProvisioned));
17611
17633
  if (syncError) {
17612
17634
  if (options?.failOnUnresolved)
17613
17635
  throw syncError;
@@ -17627,7 +17649,7 @@ async function syncAndLog(solutionDir, projectSubTypes, options) {
17627
17649
 
17628
17650
  // ../solution-sdk/src/resources/services/resource-refresh-service.ts
17629
17651
  async function resourceRefreshAsync(solutionPath = ".", options = {}) {
17630
- const fs = getFileSystem();
17652
+ const fs = getFileSystem2();
17631
17653
  const resolvedPath = fs.path.resolve(fs.env.cwd(), solutionPath);
17632
17654
  if (!await fs.exists(resolvedPath)) {
17633
17655
  return {
@@ -17636,7 +17658,7 @@ async function resourceRefreshAsync(solutionPath = ".", options = {}) {
17636
17658
  message: `Solution directory not found: ${resolvedPath}`
17637
17659
  };
17638
17660
  }
17639
- const [manifestError] = await catchError(assertSolutionManifest(resolvedPath));
17661
+ const [manifestError] = await catchError2(assertSolutionManifest(resolvedPath));
17640
17662
  if (manifestError) {
17641
17663
  return {
17642
17664
  ok: false,
@@ -17644,7 +17666,7 @@ async function resourceRefreshAsync(solutionPath = ".", options = {}) {
17644
17666
  message: manifestError.message
17645
17667
  };
17646
17668
  }
17647
- const [authError] = await catchError(getSolutionAuthContext({
17669
+ const [authError] = await catchError2(getSolutionAuthContext2({
17648
17670
  loginValidity: options.loginValidity,
17649
17671
  envFilePath: options.envFilePath
17650
17672
  }));
@@ -17655,15 +17677,15 @@ async function resourceRefreshAsync(solutionPath = ".", options = {}) {
17655
17677
  message: await extractErrorMessage(authError)
17656
17678
  };
17657
17679
  }
17658
- const [subTypesError, projectSubTypes] = await catchError(options.resolveProjectSubTypesAsync?.() ?? Promise.resolve(new Map));
17680
+ const [subTypesError, projectSubTypes] = await catchError2(options.resolveProjectSubTypesAsync?.() ?? Promise.resolve(new Map));
17659
17681
  const resolverWarnings = subTypesError ? [
17660
17682
  `Could not resolve project subTypes: ${subTypesError.message}. Project artefacts for types that need a variant were left as they are; fix the tool install and re-run 'uip solution resources refresh'.`
17661
17683
  ] : [];
17662
- const [bindingsError, projectBindings] = await catchError(options.resolveProjectBindingsAsync?.() ?? Promise.resolve(new Map));
17684
+ const [bindingsError, projectBindings] = await catchError2(options.resolveProjectBindingsAsync?.() ?? Promise.resolve(new Map));
17663
17685
  if (bindingsError) {
17664
17686
  resolverWarnings.push(`Could not read the bindings projects contribute: ${bindingsError.message}. Those projects were synced from any bindings_v2.json on disk instead; fix the tool install and re-run 'uip solution resources refresh'.`);
17665
17687
  }
17666
- const [syncError, result] = await catchError(syncResourcesFromBindings(resolvedPath, undefined, projectSubTypes ?? new Map, projectBindings ?? new Map));
17688
+ const [syncError, result] = await catchError2(syncResourcesFromBindings(resolvedPath, undefined, projectSubTypes ?? new Map, projectBindings ?? new Map));
17667
17689
  if (syncError) {
17668
17690
  return {
17669
17691
  ok: false,
@@ -17684,7 +17706,7 @@ async function resourceRefreshAsync(solutionPath = ".", options = {}) {
17684
17706
  // ../solution-sdk/src/resources/services/resource-remote-sync.ts
17685
17707
  var NOT_FOUND_PATTERN = /not found/i;
17686
17708
  async function resourceRemoteSyncAsync(solutionPath = ".", resourceKey, options = {}) {
17687
- const fs = getFileSystem();
17709
+ const fs = getFileSystem2();
17688
17710
  const resolvedPath = fs.path.resolve(fs.env.cwd(), solutionPath);
17689
17711
  if (!await fs.exists(resolvedPath)) {
17690
17712
  return {
@@ -17693,7 +17715,7 @@ async function resourceRemoteSyncAsync(solutionPath = ".", resourceKey, options
17693
17715
  message: `Solution directory not found: ${resolvedPath}`
17694
17716
  };
17695
17717
  }
17696
- const [manifestError] = await catchError(assertSolutionManifest(resolvedPath));
17718
+ const [manifestError] = await catchError2(assertSolutionManifest(resolvedPath));
17697
17719
  if (manifestError) {
17698
17720
  return {
17699
17721
  ok: false,
@@ -17701,7 +17723,7 @@ async function resourceRemoteSyncAsync(solutionPath = ".", resourceKey, options
17701
17723
  message: manifestError.message
17702
17724
  };
17703
17725
  }
17704
- const [authError] = await catchError(getSolutionAuthContext({
17726
+ const [authError] = await catchError2(getSolutionAuthContext2({
17705
17727
  loginValidity: options.loginValidity,
17706
17728
  envFilePath: options.envFilePath
17707
17729
  }));
@@ -17712,7 +17734,7 @@ async function resourceRemoteSyncAsync(solutionPath = ".", resourceKey, options
17712
17734
  message: await extractErrorMessage(authError)
17713
17735
  };
17714
17736
  }
17715
- const [servicesError, services] = await catchError(createResourceBuilderServices());
17737
+ const [servicesError, services] = await catchError2(createResourceBuilderServices());
17716
17738
  if (servicesError) {
17717
17739
  return {
17718
17740
  ok: false,
@@ -17721,7 +17743,7 @@ async function resourceRemoteSyncAsync(solutionPath = ".", resourceKey, options
17721
17743
  };
17722
17744
  }
17723
17745
  await normalizeResourceFileCasing(resolvedPath);
17724
- const [builderError, builder] = await catchError(services.getSolutionBuilder(resolvedPath, !options.force));
17746
+ const [builderError, builder] = await catchError2(services.getSolutionBuilder(resolvedPath, !options.force));
17725
17747
  if (builderError) {
17726
17748
  return {
17727
17749
  ok: false,
@@ -17729,7 +17751,7 @@ async function resourceRemoteSyncAsync(solutionPath = ".", resourceKey, options
17729
17751
  message: builderError.message
17730
17752
  };
17731
17753
  }
17732
- const [runError, result] = await catchError(runSyncAsync(builder, resourceKey, options));
17754
+ const [runError, result] = await catchError2(runSyncAsync(builder, resourceKey, options));
17733
17755
  const disposeError = await saveCasingNormalized(builder);
17734
17756
  if (!disposeError) {
17735
17757
  await normalizeResourceFileCasing(resolvedPath);
@@ -17747,7 +17769,7 @@ async function resourceRemoteSyncAsync(solutionPath = ".", resourceKey, options
17747
17769
  return result;
17748
17770
  }
17749
17771
  async function runSyncAsync(builder, resourceKey, options) {
17750
- const [configError, before] = await catchError(builder.getConfigurationAsync(resourceKey));
17772
+ const [configError, before] = await catchError2(builder.getConfigurationAsync(resourceKey));
17751
17773
  if (configError) {
17752
17774
  return {
17753
17775
  ok: false,
@@ -17755,7 +17777,7 @@ async function runSyncAsync(builder, resourceKey, options) {
17755
17777
  message: configError.message
17756
17778
  };
17757
17779
  }
17758
- const [referenceError, reference] = await catchError(builder.getResourceDebugReferenceAsync(resourceKey));
17780
+ const [referenceError, reference] = await catchError2(builder.getResourceDebugReferenceAsync(resourceKey));
17759
17781
  if (referenceError) {
17760
17782
  return {
17761
17783
  ok: false,
@@ -17770,7 +17792,7 @@ async function runSyncAsync(builder, resourceKey, options) {
17770
17792
  message: `No cloud reference is recorded for resource ${resourceKey} in this solution, so there is nothing to sync from. Either the resource has no cloud counterpart at all (a '--source local' stub, or a project's own artefact resource), or it was imported by a different user or against a different tenant — the reference lives in userProfile/<your-user-id>/debug_overwrites.json and is not shared. In the second case, re-import it with 'uip solution resources add --source remote' to record the reference for your user.`
17771
17793
  };
17772
17794
  }
17773
- const [cloudError, cloudSpec] = await catchError(readCloudSpecAsync(builder, resourceKey));
17795
+ const [cloudError, cloudSpec] = await catchError2(readCloudSpecAsync(builder, resourceKey));
17774
17796
  if (cloudError) {
17775
17797
  return {
17776
17798
  ok: false,
@@ -17796,7 +17818,7 @@ async function runSyncAsync(builder, resourceKey, options) {
17796
17818
  spec: localSpec
17797
17819
  };
17798
17820
  }
17799
- const [writeError, after] = await catchError(builder.updateConfigurationAsync(resourceKey, cloudSpec));
17821
+ const [writeError, after] = await catchError2(builder.updateConfigurationAsync(resourceKey, cloudSpec));
17800
17822
  if (writeError) {
17801
17823
  return {
17802
17824
  ok: false,
@@ -17921,4 +17943,4 @@ export {
17921
17943
  writeSolutionFile
17922
17944
  };
17923
17945
 
17924
- //# debugId=8E03505B75E11F7864756E2164756E21
17946
+ //# debugId=1E526D750D0B73D564756E2164756E21