@quan-erp/shared-backend-core 1.1.9 → 2.0.2

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 (532) hide show
  1. package/dist/0d45f5fd/5KlFrPzh.js +1 -1
  2. package/dist/0d45f5fd/6siRmeAW.js +1 -0
  3. package/dist/0d45f5fd/B39PJnPI.js +1 -1
  4. package/dist/0d45f5fd/B9PiPcem.js +1 -1
  5. package/dist/0d45f5fd/B9n9G1yv.js +1 -1
  6. package/dist/0d45f5fd/BUV4DaEX.js +1 -1
  7. package/dist/0d45f5fd/BdIoxvqZ.js +1 -1
  8. package/dist/0d45f5fd/BdpRC103.js +1 -0
  9. package/dist/0d45f5fd/BnAtyUlK.js +1 -1
  10. package/dist/0d45f5fd/BnVVAcqU.js +1 -1
  11. package/dist/0d45f5fd/CAlTyoTk.js +1 -1
  12. package/dist/0d45f5fd/CCA7LWmS.js +1 -1
  13. package/dist/0d45f5fd/CD1jMwGl.js +1 -1
  14. package/dist/0d45f5fd/CE-3pSZK.js +1 -0
  15. package/dist/0d45f5fd/CKB1ifMq.js +1 -1
  16. package/dist/0d45f5fd/CXJRBJWG.js +1 -1
  17. package/dist/0d45f5fd/CXtVchjo.js +1 -1
  18. package/dist/0d45f5fd/CYb8YSeR.js +1 -0
  19. package/dist/0d45f5fd/CYqIXt8D.js +1 -1
  20. package/dist/0d45f5fd/Cai5KXIT.js +1 -1
  21. package/dist/0d45f5fd/CtUjATBc.js +1 -1
  22. package/dist/0d45f5fd/Ctn-R8Eo.js +1 -1
  23. package/dist/0d45f5fd/DC3PtGPu.js +1 -1
  24. package/dist/0d45f5fd/DIFFnF56.js +1 -1
  25. package/dist/0d45f5fd/DOcmAiwD.js +1 -1
  26. package/dist/0d45f5fd/Da8GroSP.js +1 -1
  27. package/dist/0d45f5fd/DhlPS7yM.js +1 -1
  28. package/dist/0d45f5fd/Di60wa_E.js +1 -1
  29. package/dist/0d45f5fd/DvG5qFao.js +1 -1
  30. package/dist/0d45f5fd/DyEymKEk.js +1 -1
  31. package/dist/0d45f5fd/S_4ctGwA.js +1 -1
  32. package/dist/0d45f5fd/__eOk8J6.js +1 -1
  33. package/dist/0d45f5fd/da7f739f/06cc432b/3LbAwnW2.js +1 -0
  34. package/dist/0d45f5fd/da7f739f/06cc432b/5Imqdvx7.js +1 -0
  35. package/dist/0d45f5fd/da7f739f/06cc432b/8ESXc6VT.js +1 -0
  36. package/dist/0d45f5fd/da7f739f/06cc432b/BEn60fVV.js +1 -1
  37. package/dist/0d45f5fd/da7f739f/06cc432b/BX-zH91I.js +1 -0
  38. package/dist/0d45f5fd/da7f739f/06cc432b/BXz2Hx8l.js +1 -1
  39. package/dist/0d45f5fd/da7f739f/06cc432b/BddXemW_.js +1 -0
  40. package/dist/0d45f5fd/da7f739f/06cc432b/BfZT07a4.js +1 -1
  41. package/dist/0d45f5fd/da7f739f/06cc432b/Bhedu0YZ.js +1 -0
  42. package/dist/0d45f5fd/da7f739f/06cc432b/Bpod67cB.js +1 -0
  43. package/dist/0d45f5fd/da7f739f/06cc432b/CC36uleq.js +1 -1
  44. package/dist/0d45f5fd/da7f739f/06cc432b/CE5vZj9Q.js +1 -1
  45. package/dist/0d45f5fd/da7f739f/06cc432b/CLQYtCoh.js +1 -1
  46. package/dist/0d45f5fd/da7f739f/06cc432b/CTiVDne3.js +1 -1
  47. package/dist/0d45f5fd/da7f739f/06cc432b/CcSJhK9s.js +1 -1
  48. package/dist/0d45f5fd/da7f739f/06cc432b/Cf9JUWfU.js +1 -0
  49. package/dist/0d45f5fd/da7f739f/06cc432b/CtVvL6Bh.js +1 -0
  50. package/dist/0d45f5fd/da7f739f/06cc432b/D9r6Pa_Q.js +1 -1
  51. package/dist/0d45f5fd/da7f739f/06cc432b/DK6_1VQx.js +1 -1
  52. package/dist/0d45f5fd/da7f739f/06cc432b/DkN4N3nK.js +1 -1
  53. package/dist/0d45f5fd/da7f739f/06cc432b/qvI_Fz8O.js +1 -1
  54. package/dist/0d45f5fd/da7f739f/06cc432b/qyORrLHi.js +1 -0
  55. package/dist/0d45f5fd/da7f739f/06cc432b/szc23IdB.js +1 -1
  56. package/dist/0d45f5fd/da7f739f/CzJW4exV.js +1 -1
  57. package/dist/0d45f5fd/da7f739f/D0YsvwuG.js +1 -1
  58. package/dist/0d45f5fd/da7f739f/Db3MBFjV.js +1 -1
  59. package/dist/0d45f5fd/da7f739f/DtAPNglw.js +1 -1
  60. package/dist/0d45f5fd/da7f739f/OZf2F4FK.js +1 -1
  61. package/dist/0d45f5fd/da7f739f/fr7kJRNu.js +1 -1
  62. package/dist/0d45f5fd/evrUwPJ-.js +1 -1
  63. package/dist/2ad56231/01dcea55/BaZzLQs0.js +1 -0
  64. package/dist/2ad56231/01dcea55/DbyYeAcK.js +1 -1
  65. package/dist/2ad56231/01dcea55/oLwZvTwi.js +1 -0
  66. package/dist/2ad56231/1242ab99/CHrMVsbm.js +1 -0
  67. package/dist/2ad56231/1242ab99/CsEQAHhz.js +1 -1
  68. package/dist/2ad56231/1242ab99/D0U-O2KO.js +1 -0
  69. package/dist/2ad56231/258b1873/BFZkZ2SX.js +1 -0
  70. package/dist/2ad56231/258b1873/DjwIHlnE.js +1 -0
  71. package/dist/2ad56231/2c0a4857/02K-wDWG.js +1 -1
  72. package/dist/2ad56231/2d464c7d/BaULa_5A.js +1 -1
  73. package/dist/2ad56231/2d464c7d/Bu97s53N.js +1 -0
  74. package/dist/2ad56231/3549b002/CQexUnTf.js +1 -0
  75. package/dist/2ad56231/3549b002/CmeRLokY.js +1 -1
  76. package/dist/2ad56231/3b9c358f/Bny3UFHu.js +1 -0
  77. package/dist/2ad56231/3b9c358f/BupLfeBS.js +1 -0
  78. package/dist/2ad56231/466e5b9c/YyQ0pygH.js +1 -0
  79. package/dist/2ad56231/466e5b9c/sau0EcQO.js +1 -0
  80. package/dist/2ad56231/54246ca2/CLTAEbdq.js +1 -1
  81. package/dist/2ad56231/54246ca2/CNMevfKK.js +1 -0
  82. package/dist/2ad56231/54246ca2/CmMwGMIT.js +1 -0
  83. package/dist/2ad56231/60be9861/Dou_FbRH.js +1 -1
  84. package/dist/2ad56231/618b8c8d/3cTAJCPO.js +1 -0
  85. package/dist/2ad56231/618b8c8d/D2DAH-r9.js +1 -0
  86. package/dist/2ad56231/618b8c8d/e1PfcX2S.js +1 -0
  87. package/dist/2ad56231/636a3eb1/BLdNLi5N.js +1 -0
  88. package/dist/2ad56231/636a3eb1/CBSdWmD8.js +1 -0
  89. package/dist/2ad56231/7f3fa48c/B4Cdw7qs.js +1 -0
  90. package/dist/2ad56231/7f3fa48c/BNUpGPRt.js +1 -0
  91. package/dist/2ad56231/7f3fa48c/DsZsEzG6.js +1 -0
  92. package/dist/2ad56231/7f3fa48c/cW2aZ8gY.js +1 -0
  93. package/dist/2ad56231/7f9ba364/B-7gEh2p.js +1 -0
  94. package/dist/2ad56231/7f9ba364/d_5he2sf.js +1 -0
  95. package/dist/2ad56231/83b99aea/Bxl1AOHN.js +1 -0
  96. package/dist/2ad56231/83b99aea/DtyLb2dn.js +1 -0
  97. package/dist/2ad56231/85000c0b/CW2Iwoqt.js +1 -0
  98. package/dist/2ad56231/9983e5f2/DExxvlNF.js +1 -0
  99. package/dist/2ad56231/9983e5f2/uhwqgeSO.js +1 -0
  100. package/dist/2ad56231/9d263798/xgIb4n2f.js +1 -0
  101. package/dist/2ad56231/9d50e442/DK5lHkIU.js +1 -0
  102. package/dist/2ad56231/9d50e442/N0VY6REA.js +1 -0
  103. package/dist/2ad56231/DMoKQJ7A.js +1 -1
  104. package/dist/2ad56231/DfTXIJSL.js +1 -0
  105. package/dist/2ad56231/EXfsonv5.js +1 -0
  106. package/dist/2ad56231/a7b85550/Bi83tzjp.js +1 -1
  107. package/dist/2ad56231/a7b85550/DqdVxzlt.js +1 -0
  108. package/dist/2ad56231/e6eaea18/7517017f/fOK4Yqwl.js +1 -1
  109. package/dist/2ad56231/e6eaea18/B_WC0NRm.js +1 -0
  110. package/dist/2ad56231/e6eaea18/DUFHaPph.js +1 -0
  111. package/dist/2ad56231/e938ace2/BL6ALf4n.js +1 -0
  112. package/dist/2ad56231/e938ace2/CfyUKgph.js +1 -0
  113. package/dist/2cc49785/B25PJ_ro.js +1 -0
  114. package/dist/2cc49785/BIOKfeGU.js +1 -1
  115. package/dist/2cc49785/BO0ipjqY.js +1 -0
  116. package/dist/2cc49785/Bd1ydJag.js +1 -1
  117. package/dist/2cc49785/BusGI9QN.js +1 -1
  118. package/dist/2cc49785/CAqYLiEq.js +1 -0
  119. package/dist/2cc49785/CXPoUxgq.js +1 -0
  120. package/dist/2cc49785/C_3EXCVX.js +1 -0
  121. package/dist/2cc49785/Cz5R1fDv.js +1 -0
  122. package/dist/2cc49785/DJ8Rkyxc.js +1 -0
  123. package/dist/2cc49785/DbqrYDTI.js +1 -1
  124. package/dist/2cc49785/DvU3OXqE.js +1 -0
  125. package/dist/2cc49785/Dx-z3Cut.js +1 -0
  126. package/dist/2cc49785/DzaCU7PH.js +1 -0
  127. package/dist/2cc49785/XvEhrcTr.js +1 -1
  128. package/dist/2cc49785/d-2EiV47.js +1 -1
  129. package/dist/2cc49785/e6eaea18/Cjqk0vWG.js +1 -1
  130. package/dist/2cc49785/e6eaea18/D0fNkjon.js +1 -1
  131. package/dist/2cc49785/e6eaea18/D3Dn1MIt.js +1 -1
  132. package/dist/2cc49785/e6eaea18/yhPGRXBG.js +1 -1
  133. package/dist/2cc49785/jYiNZR-X.js +1 -0
  134. package/dist/2cc49785/k2901Fu3.js +1 -1
  135. package/dist/46b42b42/CEmdabCT.js +1 -1
  136. package/dist/6610c73e/04f8996d/BxBwNPqh.js +1 -0
  137. package/dist/6610c73e/04f8996d/CaXcz_i7.js +1 -1
  138. package/dist/6610c73e/04f8996d/DUkbe-Af.js +1 -1
  139. package/dist/6610c73e/04f8996d/DgJiaaIA.js +1 -0
  140. package/dist/6610c73e/04f8996d/DxOYnDuM.js +1 -0
  141. package/dist/6610c73e/04f8996d/Z48L3dXG.js +1 -1
  142. package/dist/6610c73e/09355034/Cmwt47NN.js +1 -0
  143. package/dist/6610c73e/09355034/DC_xh6mR.js +1 -0
  144. package/dist/6610c73e/108201be/BBOIX0XM.js +1 -0
  145. package/dist/6610c73e/108201be/CXkV9Wml.js +1 -1
  146. package/dist/6610c73e/108201be/DeWloCnh.js +1 -0
  147. package/dist/6610c73e/2882bf13/CAqSrBR9.js +1 -0
  148. package/dist/6610c73e/2882bf13/CLepGwxG.js +1 -0
  149. package/dist/6610c73e/2a1073a6/B70WoVf0.js +1 -0
  150. package/dist/6610c73e/2a1073a6/DXJ0uQlO.js +1 -0
  151. package/dist/6610c73e/340a3320/CxAU58lf.js +1 -0
  152. package/dist/6610c73e/340a3320/WtvAQ1Zk.js +1 -1
  153. package/dist/6610c73e/3cae9be6/Bt1oYgBx.js +1 -0
  154. package/dist/6610c73e/3cae9be6/BzSarBiN.js +1 -0
  155. package/dist/6610c73e/48e13c1e/BwP5XOaC.js +1 -0
  156. package/dist/6610c73e/48e13c1e/wRr4n1Rr.js +1 -0
  157. package/dist/6610c73e/4b168d88/DXmZk-9G.js +1 -0
  158. package/dist/6610c73e/4b168d88/DfWw9tyr.js +1 -0
  159. package/dist/6610c73e/4b168d88/NIu8TJUV.js +1 -1
  160. package/dist/6610c73e/5e1ecee0/D_WoF5bs.js +1 -0
  161. package/dist/6610c73e/5e689e2b/CC3hUcIc.js +1 -0
  162. package/dist/6610c73e/5e689e2b/PyBOxKex.js +1 -0
  163. package/dist/6610c73e/5e689e2b/si0E7vy4.js +1 -1
  164. package/dist/6610c73e/6e1815de/gsYhgqIz.js +1 -0
  165. package/dist/6610c73e/815813d9/DKuHPnQj.js +1 -0
  166. package/dist/6610c73e/815813d9/ygZRs-OX.js +1 -0
  167. package/dist/6610c73e/82de49c1/C52kdvRl.js +1 -1
  168. package/dist/6610c73e/87f29211/00282ba1/BMDupe0K.js +1 -0
  169. package/dist/6610c73e/87f29211/00282ba1/BrQ1-_JK.js +1 -0
  170. package/dist/6610c73e/87f29211/00282ba1/tsssDriG.js +1 -0
  171. package/dist/6610c73e/87f29211/0e44067f/CgaWYDkU.js +1 -0
  172. package/dist/6610c73e/87f29211/0e44067f/DOcDQYTE.js +1 -1
  173. package/dist/6610c73e/87f29211/0e44067f/DdLcyx5J.js +1 -0
  174. package/dist/6610c73e/87f29211/0f8de574/BDHcN6Hk.js +1 -0
  175. package/dist/6610c73e/87f29211/3681c247/D139nBTX.js +1 -0
  176. package/dist/6610c73e/87f29211/3681c247/jgmh-xsl.js +1 -0
  177. package/dist/6610c73e/87f29211/6fd89734/CaOK6E96.js +1 -0
  178. package/dist/6610c73e/87f29211/87f29211/C2eevex7.js +1 -0
  179. package/dist/6610c73e/87f29211/a9d0df18/5d724362/Ct7cM39J.js +1 -0
  180. package/dist/6610c73e/87f29211/a9d0df18/5d724362/S7V8lW9l.js +1 -0
  181. package/dist/6610c73e/87f29211/a9d0df18/67f2d225/BS3BqiFt.js +1 -0
  182. package/dist/6610c73e/87f29211/a9d0df18/67f2d225/DMIfuviK.js +1 -0
  183. package/dist/6610c73e/87f29211/a9d0df18/7d3194f7/BUodZiz8.js +1 -0
  184. package/dist/6610c73e/87f29211/a9d0df18/7d3194f7/Ce8Gth5W.js +1 -0
  185. package/dist/6610c73e/87f29211/a9d0df18/7f871cbf/DnNfdSO3.js +1 -0
  186. package/dist/6610c73e/87f29211/a9d0df18/B72PlhwA.js +1 -1
  187. package/dist/6610c73e/87f29211/a9d0df18/BQO-3PfO.js +1 -0
  188. package/dist/6610c73e/87f29211/a9d0df18/C1t12r8G.js +1 -0
  189. package/dist/6610c73e/87f29211/b10ca3c4/BOLYM85y.js +1 -1
  190. package/dist/6610c73e/87f29211/b10ca3c4/B_r-d0_n.js +1 -0
  191. package/dist/6610c73e/87f29211/b10ca3c4/m6JbP7WP.js +1 -0
  192. package/dist/6610c73e/87f29211/fc973325/BnkbMmcL.js +1 -0
  193. package/dist/6610c73e/87f29211/fc973325/DITfK-Uz.js +1 -0
  194. package/dist/6610c73e/87f29211/fc973325/DuJPq_pw.js +1 -0
  195. package/dist/6610c73e/8a6cead4/CQUe9GHh.js +1 -0
  196. package/dist/6610c73e/9ec6f310/CAFjqfD9.js +1 -0
  197. package/dist/6610c73e/9ec6f310/DT7SfA_M.js +1 -0
  198. package/dist/6610c73e/9ec6f310/DmyLuBsq.js +1 -0
  199. package/dist/6610c73e/Ciy6Ckck.js +1 -0
  200. package/dist/6610c73e/b77349bf/BBXHCpNU.js +1 -0
  201. package/dist/6610c73e/b77349bf/DXARKs8D.js +1 -0
  202. package/dist/6610c73e/bbc5e661/Blvlh09H.js +1 -0
  203. package/dist/6610c73e/bbc5e661/DKe6k4HB.js +1 -0
  204. package/dist/6610c73e/c374eea5/BANVxELp.js +1 -0
  205. package/dist/6610c73e/c374eea5/BL72ULPa.js +1 -1
  206. package/dist/6610c73e/c374eea5/DGNUnSfH.js +1 -0
  207. package/dist/6610c73e/da7f739f/Bwy27WHY.js +1 -0
  208. package/dist/6610c73e/da7f739f/DHKDIlNU.js +1 -0
  209. package/dist/6610c73e/ec72b956/BYKCQamz.js +1 -0
  210. package/dist/6610c73e/ec72b956/ByP2SrfD.js +1 -0
  211. package/dist/6610c73e/ec72b956/IY53a4yH.js +1 -0
  212. package/dist/6610c73e/ec72b956/tNY19qS1.js +1 -0
  213. package/dist/6610c73e/f38c764c/D7fscPz_.js +1 -0
  214. package/dist/6610c73e/f38c764c/dcnjNipB.js +1 -0
  215. package/dist/6610c73e/f38c764c/qDdEVNYd.js +1 -1
  216. package/dist/6610c73e/fdeb3389/C-qbl9j2.js +1 -0
  217. package/dist/6610c73e/fdeb3389/DYyPYOg0.js +1 -0
  218. package/dist/871f3f39/B4iEXFfv.js +1 -0
  219. package/dist/871f3f39/B90UAwNf.js +1 -0
  220. package/dist/871f3f39/BHb9aKIL.js +1 -0
  221. package/dist/871f3f39/BbQ5laSp.js +1 -0
  222. package/dist/871f3f39/Bc6LGIQu.js +1 -1
  223. package/dist/871f3f39/BdXXlrKL.js +1 -1
  224. package/dist/871f3f39/BigRkh6A.js +1 -0
  225. package/dist/871f3f39/BoqeRGCn.js +1 -1
  226. package/dist/871f3f39/C8WPSjpo.js +1 -0
  227. package/dist/871f3f39/CEIUYGOa.js +1 -0
  228. package/dist/871f3f39/CHpjw54j.js +1 -0
  229. package/dist/871f3f39/Cbtw2bDX.js +1 -0
  230. package/dist/871f3f39/CpIddWR2.js +1 -0
  231. package/dist/871f3f39/Ctn58poo.js +1 -0
  232. package/dist/871f3f39/Cx5X1Vvz.js +1 -1
  233. package/dist/871f3f39/DAwA49MW.js +1 -0
  234. package/dist/871f3f39/DLL8qzJ_.js +1 -0
  235. package/dist/871f3f39/EQ927OAe.js +1 -0
  236. package/dist/871f3f39/QBqrZxtz.js +1 -1
  237. package/dist/871f3f39/eYqOHKQK.js +1 -0
  238. package/dist/871f3f39/ewcPVrkP.js +1 -1
  239. package/dist/871f3f39/kgYqEVK1.js +1 -1
  240. package/dist/871f3f39/rYHaStzJ.js +1 -1
  241. package/dist/871f3f39/ssHfHpGf.js +1 -0
  242. package/dist/871f3f39/zpruSP9Y.js +1 -0
  243. package/dist/9477dda6/CFyCv-GB.js +1 -1
  244. package/dist/9477dda6/DIoDs5M_.js +1 -1
  245. package/dist/9f80922e/Bm7nGVxH.js +1 -1
  246. package/dist/AlzGVxDy.js +1 -0
  247. package/dist/BeF9Jt-N.js +1 -1
  248. package/dist/abe2c417/B1Ewpect.js +1 -1
  249. package/dist/abe2c417/BNmwkqdA.js +1 -0
  250. package/dist/abe2c417/BTs9H_wB.js +1 -0
  251. package/dist/abe2c417/C0G57Pwe.js +1 -1
  252. package/dist/abe2c417/CEB_j614.js +1 -1
  253. package/dist/abe2c417/CLABtmwy.js +1 -1
  254. package/dist/abe2c417/CV67ztVb.js +1 -1
  255. package/dist/abe2c417/CaWcWRhY.js +1 -1
  256. package/dist/abe2c417/D5WfiRFK.js +1 -1
  257. package/dist/abe2c417/DBb4G-HP.js +1 -1
  258. package/dist/abe2c417/DCY3ehAH.js +1 -1
  259. package/dist/abe2c417/DKWvNL0q.js +1 -1
  260. package/dist/abe2c417/DPvx794r.js +1 -1
  261. package/dist/abe2c417/DT_whRfi.js +1 -1
  262. package/dist/abe2c417/DfIzU8zO.js +1 -1
  263. package/dist/abe2c417/LXm3t009.js +1 -1
  264. package/dist/abe2c417/ugzW3tmu.js +1 -1
  265. package/dist/abe2c417/xT7jQp3R.js +1 -1
  266. package/dist/abe2c417/yBBNgsRd.js +1 -1
  267. package/dist/d58efc4e/BTQWtr6U.js +1 -1
  268. package/dist/d58efc4e/BXex2h3O.js +1 -1
  269. package/dist/d58efc4e/BdkqVbfI.js +1 -1
  270. package/dist/d58efc4e/CPAUuTkd.js +1 -1
  271. package/dist/d58efc4e/CpmftSX-.js +1 -1
  272. package/dist/d58efc4e/D6NCTb-L.js +1 -1
  273. package/dist/d58efc4e/DOXqt167.js +1 -0
  274. package/dist/d58efc4e/DV0BVBqv.js +1 -0
  275. package/dist/d58efc4e/cei7KrET.js +1 -0
  276. package/dist/fbc6c1d4/D5cBvB9j.js +1 -1
  277. package/dist/fd7f274b/6ROVnS8Z.js +1 -0
  278. package/dist/fd7f274b/B0-Hclgi.js +1 -1
  279. package/dist/fd7f274b/B1cI-Dvi.js +1 -0
  280. package/dist/fd7f274b/B9NyoZpA.js +1 -1
  281. package/dist/fd7f274b/BN9u3ys8.js +1 -1
  282. package/dist/fd7f274b/BqCB9-tJ.js +1 -0
  283. package/dist/fd7f274b/C9EJPpUh.js +1 -1
  284. package/dist/fd7f274b/CHx97I8y.js +1 -0
  285. package/dist/fd7f274b/CiZMqNRX.js +1 -0
  286. package/dist/index.js +1 -1
  287. package/dist/types/0d45f5fd/0fb8754a.d.ts +1 -1
  288. package/dist/types/0d45f5fd/{cb47731a.d.ts → 6cbaaa9c.d.ts} +3 -3
  289. package/dist/types/0d45f5fd/{9a2c73cf.d.ts → 8a1d0c4e.d.ts} +7 -0
  290. package/dist/types/0d45f5fd/93c2615f.d.ts +2 -2
  291. package/dist/types/0d45f5fd/d9b4a449.d.ts +2 -2
  292. package/dist/types/0d45f5fd/da7f739f/06cc432b/b16083fb.d.ts +1 -1
  293. package/dist/types/0d45f5fd/da7f739f/06cc432b/d1eb6a2a.d.ts +1 -1
  294. package/dist/types/0d45f5fd/da7f739f/06cc432b/e2a08a0c.d.ts +1 -1
  295. package/dist/types/2ad56231/618b8c8d/{6edf71bc.d.ts → 0e21cc2d.d.ts} +5 -1
  296. package/dist/types/2ad56231/618b8c8d/55f09b75.d.ts +72 -0
  297. package/dist/types/2ad56231/618b8c8d/{febc0d90.d.ts → 6f3960a2.d.ts} +2 -1
  298. package/dist/types/2ad56231/7f9ba364/e4ec6555.d.ts +2 -2
  299. package/dist/types/2ad56231/{c36264c9.d.ts → 839b9411.d.ts} +5 -2
  300. package/dist/types/2ad56231/85000c0b/632c90fb.d.ts +1 -1
  301. package/dist/types/2ad56231/9ab6b92e.d.ts +3 -3
  302. package/dist/types/2ad56231/9d263798/{45449764.d.ts → 086881c9.d.ts} +1 -1
  303. package/dist/types/2ad56231/e6eaea18/66d737cb.d.ts +1 -1
  304. package/dist/types/2cc49785/{1e6b9ea7.d.ts → 03838cd8.d.ts} +4 -5
  305. package/dist/types/2cc49785/2a1b2f6a.d.ts +1 -1
  306. package/dist/types/2cc49785/{0f9f5cc9.d.ts → 4573e170.d.ts} +2 -1
  307. package/dist/types/2cc49785/e8dcc4f1.d.ts +1 -1
  308. package/dist/types/6610c73e/04f8996d/49f69d48.d.ts +1 -1
  309. package/dist/types/6610c73e/04f8996d/a671786c.d.ts +1 -1
  310. package/dist/types/6610c73e/04f8996d/{c72c60ce.d.ts → c028e6f2.d.ts} +13 -2
  311. package/dist/types/6610c73e/09355034/5f5422ae.d.ts +1 -1
  312. package/dist/types/6610c73e/09355034/cec9d8a9.d.ts +1 -1
  313. package/dist/types/6610c73e/2882bf13/5a5d4923.d.ts +1 -1
  314. package/dist/types/6610c73e/4b168d88/08e67542.d.ts +1 -1
  315. package/dist/types/6610c73e/4b168d88/413ef4e3.d.ts +1 -1
  316. package/dist/types/6610c73e/5e1ecee0/83f47684.d.ts +1 -1
  317. package/dist/types/6610c73e/5e689e2b/a01d5c2f.d.ts +1 -1
  318. package/dist/types/6610c73e/5e689e2b/{6f283409.d.ts → e99b96ff.d.ts} +1 -2
  319. package/dist/types/6610c73e/815813d9/4b3ca632.d.ts +10 -0
  320. package/dist/types/6610c73e/815813d9/79427045.d.ts +3 -0
  321. package/dist/types/6610c73e/815813d9/7e93d8ae.d.ts +3 -0
  322. package/dist/types/6610c73e/87f29211/00282ba1/cc85368e.d.ts +1 -1
  323. package/dist/types/6610c73e/87f29211/0f8de574/{da48b377.d.ts → 2b77c604.d.ts} +3 -3
  324. package/dist/types/6610c73e/87f29211/3681c247/{d3e02bcf.d.ts → f107fa8c.d.ts} +5 -5
  325. package/dist/types/6610c73e/87f29211/6fd89734/{7c0d7562.d.ts → ea349714.d.ts} +1 -1
  326. package/dist/types/6610c73e/87f29211/87f29211/{453ab4b4.d.ts → 4c2cd0c3.d.ts} +2 -2
  327. package/dist/types/6610c73e/87f29211/87f29211/{05219fd0.d.ts → a2f98d16.d.ts} +1 -1
  328. package/dist/types/6610c73e/87f29211/a9d0df18/{9ae5de52.d.ts → 5d724362/146b1c31.d.ts} +1 -1
  329. package/dist/types/6610c73e/87f29211/a9d0df18/{4ca22be8.d.ts → 5d724362/e1e8a189.d.ts} +2 -4
  330. package/dist/types/6610c73e/87f29211/a9d0df18/67f2d225/4cb0bc0e.d.ts +18 -0
  331. package/dist/types/6610c73e/87f29211/a9d0df18/{19e2d66e.d.ts → 67f2d225/b23abdd6.d.ts} +2 -2
  332. package/dist/types/6610c73e/87f29211/a9d0df18/{2d293a3a.d.ts → 71463662.d.ts} +18 -4
  333. package/dist/types/6610c73e/87f29211/a9d0df18/{326e8c85.d.ts → 7d3194f7/65e10b3b.d.ts} +2 -4
  334. package/dist/types/6610c73e/87f29211/a9d0df18/{8b00b28d.d.ts → 7d3194f7/f58eeef0.d.ts} +1 -1
  335. package/dist/types/6610c73e/87f29211/a9d0df18/{8e25f6cf.d.ts → 7f871cbf/b644fb7f.d.ts} +1 -1
  336. package/dist/types/6610c73e/87f29211/b10ca3c4/{0815e76d.d.ts → 22d111a4.d.ts} +2 -2
  337. package/dist/types/6610c73e/87f29211/b10ca3c4/{ff385071.d.ts → c0479f6d.d.ts} +6 -1
  338. package/dist/types/6610c73e/87f29211/b10ca3c4/e4deb1d3.d.ts +2 -2
  339. package/dist/types/6610c73e/87f29211/fc973325/{32843718.d.ts → 40a87863.d.ts} +1 -1
  340. package/dist/types/6610c73e/87f29211/fc973325/60e62909.d.ts +1 -1
  341. package/dist/types/6610c73e/9ec6f310/354f21fd.d.ts +12 -0
  342. package/dist/types/6610c73e/9ec6f310/91ebb738.d.ts +30 -0
  343. package/dist/types/6610c73e/9ec6f310/cc11730f.d.ts +39 -0
  344. package/dist/types/6610c73e/9ec6f310/f6c79d1e.d.ts +12 -0
  345. package/dist/types/6610c73e/{70e2c566.d.ts → afc32eaa.d.ts} +3 -1
  346. package/dist/types/6610c73e/bb890bcf.d.ts +39 -0
  347. package/dist/types/6610c73e/bbc5e661/edfe1989.d.ts +1 -1
  348. package/dist/types/{2ad56231/ec72b956/d96821de.d.ts → 6610c73e/ec72b956/068707d7.d.ts} +1 -1
  349. package/dist/types/{2ad56231/ec72b956/d8c49f52.d.ts → 6610c73e/ec72b956/392c163a.d.ts} +2 -2
  350. package/dist/types/6610c73e/ec72b956/a4fba358.d.ts +26 -0
  351. package/dist/types/{2ad56231/ec72b956/d75444a8.d.ts → 6610c73e/ec72b956/bdc8076b.d.ts} +3 -2
  352. package/dist/types/6610c73e/ec72b956/dc5fa825.d.ts +7 -0
  353. package/dist/types/6610c73e/fdeb3389/16152e20.d.ts +1 -1
  354. package/dist/types/{2cc49785/048ca935.d.ts → 871f3f39/04928915.d.ts} +3 -3
  355. package/dist/types/871f3f39/{2bfe94e3.d.ts → 32a49bde.d.ts} +2 -2
  356. package/dist/types/871f3f39/4dbaf1b6.d.ts +1 -1
  357. package/dist/types/871f3f39/{1bc1fa82.d.ts → 5ce08b7a.d.ts} +2 -5
  358. package/dist/types/871f3f39/{e9ffc988.d.ts → 9d2a3ad6.d.ts} +5 -4
  359. package/dist/types/871f3f39/a225cc21.d.ts +1 -1
  360. package/dist/types/871f3f39/a86a30c9.d.ts +17 -0
  361. package/dist/types/871f3f39/b82d5bd3.d.ts +1 -1
  362. package/dist/types/871f3f39/bdf74ccb.d.ts +2 -2
  363. package/dist/types/871f3f39/{194ec074.d.ts → d77ac409.d.ts} +3 -2
  364. package/dist/types/871f3f39/{fd939073.d.ts → f4278326.d.ts} +2 -2
  365. package/dist/types/abe2c417/{f7f8ce4e.d.ts → 87d84766.d.ts} +2 -0
  366. package/dist/types/d58efc4e/564d078a.d.ts +14 -0
  367. package/dist/types/d58efc4e/6c80f5ea.d.ts +14 -0
  368. package/dist/types/fd7f274b/6d8bea2a.d.ts +1 -1
  369. package/dist/types/index.d.ts +5 -5
  370. package/external.json +4 -1
  371. package/package.json +4 -2
  372. package/dist/0d45f5fd/BB2QqqdE.js +0 -1
  373. package/dist/0d45f5fd/BQajkErw.js +0 -1
  374. package/dist/0d45f5fd/BhpJOIzQ.js +0 -1
  375. package/dist/0d45f5fd/D5NY4F4Y.js +0 -1
  376. package/dist/0d45f5fd/da7f739f/06cc432b/B2IFCLHM.js +0 -1
  377. package/dist/0d45f5fd/da7f739f/06cc432b/B3sj26Vi.js +0 -1
  378. package/dist/0d45f5fd/da7f739f/06cc432b/BKWaAx04.js +0 -1
  379. package/dist/0d45f5fd/da7f739f/06cc432b/BO4_9EvS.js +0 -1
  380. package/dist/0d45f5fd/da7f739f/06cc432b/BRDmxoCR.js +0 -1
  381. package/dist/0d45f5fd/da7f739f/06cc432b/BSSLYsuE.js +0 -1
  382. package/dist/0d45f5fd/da7f739f/06cc432b/BUH9TFQP.js +0 -1
  383. package/dist/0d45f5fd/da7f739f/06cc432b/CsHpaR4K.js +0 -1
  384. package/dist/0d45f5fd/da7f739f/06cc432b/DdTDrzt3.js +0 -1
  385. package/dist/0d45f5fd/da7f739f/06cc432b/DeHsYIRD.js +0 -1
  386. package/dist/2ad56231/01dcea55/BSj9HWo_.js +0 -1
  387. package/dist/2ad56231/01dcea55/CQI2c2-0.js +0 -1
  388. package/dist/2ad56231/1242ab99/BAzaaFGm.js +0 -1
  389. package/dist/2ad56231/1242ab99/D6M1rF2o.js +0 -1
  390. package/dist/2ad56231/258b1873/CSOzCRMR.js +0 -1
  391. package/dist/2ad56231/258b1873/DpEjjP34.js +0 -1
  392. package/dist/2ad56231/2d464c7d/DbBSkA4z.js +0 -1
  393. package/dist/2ad56231/3549b002/xly83PCj.js +0 -1
  394. package/dist/2ad56231/3b9c358f/960-ZGmD.js +0 -1
  395. package/dist/2ad56231/3b9c358f/Dn4gFD8U.js +0 -1
  396. package/dist/2ad56231/466e5b9c/BxsFyKLl.js +0 -1
  397. package/dist/2ad56231/466e5b9c/DWwaszUt.js +0 -1
  398. package/dist/2ad56231/54246ca2/BSGWKLU3.js +0 -1
  399. package/dist/2ad56231/54246ca2/DM9LOMzo.js +0 -1
  400. package/dist/2ad56231/618b8c8d/nvhHgmgJ.js +0 -1
  401. package/dist/2ad56231/618b8c8d/u8avJJ3o.js +0 -1
  402. package/dist/2ad56231/636a3eb1/CC8k18FI.js +0 -1
  403. package/dist/2ad56231/636a3eb1/pITH--gl.js +0 -1
  404. package/dist/2ad56231/7f3fa48c/Dj5mD908.js +0 -1
  405. package/dist/2ad56231/7f3fa48c/DlJpzb8N.js +0 -1
  406. package/dist/2ad56231/7f3fa48c/Dm2AYhtK.js +0 -1
  407. package/dist/2ad56231/7f3fa48c/EudZWU-P.js +0 -1
  408. package/dist/2ad56231/7f9ba364/Cs6vQuQk.js +0 -1
  409. package/dist/2ad56231/7f9ba364/MT764_8K.js +0 -1
  410. package/dist/2ad56231/83b99aea/BbHeswmw.js +0 -1
  411. package/dist/2ad56231/83b99aea/CXdmdRfP.js +0 -1
  412. package/dist/2ad56231/85000c0b/CXTUefsF.js +0 -1
  413. package/dist/2ad56231/9983e5f2/C3QqcrZL.js +0 -1
  414. package/dist/2ad56231/9983e5f2/D1AHQCdN.js +0 -1
  415. package/dist/2ad56231/9d263798/JyXSGLjB.js +0 -1
  416. package/dist/2ad56231/9d50e442/BdQAKadc.js +0 -1
  417. package/dist/2ad56231/9d50e442/DHOZYCaV.js +0 -1
  418. package/dist/2ad56231/B_BSCcR2.js +0 -1
  419. package/dist/2ad56231/ClGalDr2.js +0 -1
  420. package/dist/2ad56231/a7b85550/hJka9txt.js +0 -1
  421. package/dist/2ad56231/e6eaea18/BdbFAw7f.js +0 -1
  422. package/dist/2ad56231/e6eaea18/vTYt2y8D.js +0 -1
  423. package/dist/2ad56231/e938ace2/BfL7OvWP.js +0 -1
  424. package/dist/2ad56231/e938ace2/BxETgb3S.js +0 -1
  425. package/dist/2ad56231/ec72b956/DbnEaE9V.js +0 -1
  426. package/dist/2ad56231/ec72b956/DktvkJTZ.js +0 -1
  427. package/dist/2cc49785/BKSwAdEu.js +0 -1
  428. package/dist/2cc49785/Bc_JGAQf.js +0 -1
  429. package/dist/2cc49785/BgGmM4yN.js +0 -1
  430. package/dist/2cc49785/BoxYHbty.js +0 -1
  431. package/dist/2cc49785/C6sL6qNQ.js +0 -1
  432. package/dist/2cc49785/CKieUZWB.js +0 -1
  433. package/dist/2cc49785/CbHFzMdU.js +0 -1
  434. package/dist/2cc49785/CifOU2C8.js +0 -1
  435. package/dist/2cc49785/CmWNieOL.js +0 -1
  436. package/dist/2cc49785/D2uHC5jm.js +0 -1
  437. package/dist/2cc49785/PQIGUPk-.js +0 -1
  438. package/dist/2cc49785/QiZThUSQ.js +0 -1
  439. package/dist/2cc49785/XnAi4C8V.js +0 -1
  440. package/dist/6610c73e/04437dc6/Bv2B5O_k.js +0 -1
  441. package/dist/6610c73e/04437dc6/PjpSYcyv.js +0 -1
  442. package/dist/6610c73e/04f8996d/Bn-veQck.js +0 -1
  443. package/dist/6610c73e/04f8996d/C4OU7E0z.js +0 -1
  444. package/dist/6610c73e/04f8996d/QLsot7Sq.js +0 -1
  445. package/dist/6610c73e/09355034/By43Chr9.js +0 -1
  446. package/dist/6610c73e/09355034/j-mrvXyP.js +0 -1
  447. package/dist/6610c73e/108201be/BFLpzqpK.js +0 -1
  448. package/dist/6610c73e/108201be/D3ANkzM6.js +0 -1
  449. package/dist/6610c73e/2882bf13/CUgcDaRY.js +0 -1
  450. package/dist/6610c73e/2882bf13/Co5Nn42a.js +0 -1
  451. package/dist/6610c73e/2a1073a6/CHsDXQqL.js +0 -1
  452. package/dist/6610c73e/2a1073a6/CsKh1kwJ.js +0 -1
  453. package/dist/6610c73e/340a3320/Lc05M4ZD.js +0 -1
  454. package/dist/6610c73e/3cae9be6/CfW5DygU.js +0 -1
  455. package/dist/6610c73e/3cae9be6/D8k83gc2.js +0 -1
  456. package/dist/6610c73e/48e13c1e/DDoxuMqI.js +0 -1
  457. package/dist/6610c73e/48e13c1e/DXxPMT9Y.js +0 -1
  458. package/dist/6610c73e/4b168d88/1AhWpRFS.js +0 -1
  459. package/dist/6610c73e/4b168d88/YvwNCIwl.js +0 -1
  460. package/dist/6610c73e/5e1ecee0/Beh3GG5K.js +0 -1
  461. package/dist/6610c73e/5e689e2b/CbRo0td2.js +0 -1
  462. package/dist/6610c73e/5e689e2b/D6kvEnBB.js +0 -1
  463. package/dist/6610c73e/6e1815de/DmoSB633.js +0 -1
  464. package/dist/6610c73e/87f29211/00282ba1/6a_IUGMT.js +0 -1
  465. package/dist/6610c73e/87f29211/00282ba1/CVZ40TIa.js +0 -1
  466. package/dist/6610c73e/87f29211/00282ba1/D8xZUpO7.js +0 -1
  467. package/dist/6610c73e/87f29211/0e44067f/rsPS8SaO.js +0 -1
  468. package/dist/6610c73e/87f29211/0e44067f/xb1tuG2o.js +0 -1
  469. package/dist/6610c73e/87f29211/0f8de574/COblRNKf.js +0 -1
  470. package/dist/6610c73e/87f29211/3681c247/CQ6bUzKl.js +0 -1
  471. package/dist/6610c73e/87f29211/3681c247/zlOsHuVA.js +0 -1
  472. package/dist/6610c73e/87f29211/6fd89734/C_jmSS5R.js +0 -1
  473. package/dist/6610c73e/87f29211/87f29211/BtsUEXKo.js +0 -1
  474. package/dist/6610c73e/87f29211/a9d0df18/BUodZiz8.js +0 -1
  475. package/dist/6610c73e/87f29211/a9d0df18/Bb4B9rEb.js +0 -1
  476. package/dist/6610c73e/87f29211/a9d0df18/C0XvPp_f.js +0 -1
  477. package/dist/6610c73e/87f29211/a9d0df18/Ct7cM39J.js +0 -1
  478. package/dist/6610c73e/87f29211/a9d0df18/Cw69Xeh8.js +0 -1
  479. package/dist/6610c73e/87f29211/a9d0df18/DNIVDmmS.js +0 -1
  480. package/dist/6610c73e/87f29211/a9d0df18/DWMp_hPf.js +0 -1
  481. package/dist/6610c73e/87f29211/a9d0df18/_ygW6OBV.js +0 -1
  482. package/dist/6610c73e/87f29211/b10ca3c4/CCjXC2MO.js +0 -1
  483. package/dist/6610c73e/87f29211/b10ca3c4/D2wlRxen.js +0 -1
  484. package/dist/6610c73e/87f29211/fc973325/D0mS4zjR.js +0 -1
  485. package/dist/6610c73e/87f29211/fc973325/Dcj4ct1s.js +0 -1
  486. package/dist/6610c73e/87f29211/fc973325/Dfh1p1rk.js +0 -1
  487. package/dist/6610c73e/8a6cead4/CjkmP_o0.js +0 -1
  488. package/dist/6610c73e/NCHldFuX.js +0 -1
  489. package/dist/6610c73e/b77349bf/C0PyjDMt.js +0 -1
  490. package/dist/6610c73e/b77349bf/CmmcdhLX.js +0 -1
  491. package/dist/6610c73e/bbc5e661/0AfwHg5G.js +0 -1
  492. package/dist/6610c73e/bbc5e661/DhY6aNFP.js +0 -1
  493. package/dist/6610c73e/bd5c70f7/ZtNFfJ72.js +0 -1
  494. package/dist/6610c73e/c374eea5/D-0aH3fm.js +0 -1
  495. package/dist/6610c73e/c374eea5/xNZhBpuo.js +0 -1
  496. package/dist/6610c73e/da7f739f/CDYzaK_W.js +0 -1
  497. package/dist/6610c73e/da7f739f/CfytghQd.js +0 -1
  498. package/dist/6610c73e/f38c764c/CiRTrhRE.js +0 -1
  499. package/dist/6610c73e/f38c764c/CxpRxdTs.js +0 -1
  500. package/dist/6610c73e/fdeb3389/B2ygxXrC.js +0 -1
  501. package/dist/6610c73e/fdeb3389/BPDMNJbQ.js +0 -1
  502. package/dist/871f3f39/BJt8Ru2y.js +0 -1
  503. package/dist/871f3f39/CAZNYnQg.js +0 -1
  504. package/dist/871f3f39/CYSy-d4d.js +0 -1
  505. package/dist/871f3f39/CdWNPI56.js +0 -1
  506. package/dist/871f3f39/Cglfgmeb.js +0 -1
  507. package/dist/871f3f39/Cgt9cBhj.js +0 -1
  508. package/dist/871f3f39/CwCT3CYq.js +0 -1
  509. package/dist/871f3f39/D8IT12SZ.js +0 -1
  510. package/dist/871f3f39/DJw7rHlL.js +0 -1
  511. package/dist/871f3f39/DOuZ9qRn.js +0 -1
  512. package/dist/871f3f39/DQGqzkfH.js +0 -1
  513. package/dist/871f3f39/D_KPyw50.js +0 -1
  514. package/dist/871f3f39/Dja06A0F.js +0 -1
  515. package/dist/871f3f39/K81rfQ4M.js +0 -1
  516. package/dist/871f3f39/YzYGETKe.js +0 -1
  517. package/dist/C4x_5naw.js +0 -1
  518. package/dist/abe2c417/DZVC97Kl.js +0 -1
  519. package/dist/abe2c417/rZtNSIcw.js +0 -1
  520. package/dist/d58efc4e/BzTwUPu3.js +0 -1
  521. package/dist/fd7f274b/BK05j96S.js +0 -1
  522. package/dist/fd7f274b/BwO5P--n.js +0 -1
  523. package/dist/fd7f274b/CZxaOG1z.js +0 -1
  524. package/dist/fd7f274b/Dh5iYqdO.js +0 -1
  525. package/dist/fd7f274b/VfvNWH0K.js +0 -1
  526. package/dist/types/2cc49785/46f89c68.d.ts +0 -15
  527. package/dist/types/6610c73e/04437dc6/45bbaf9b.d.ts +0 -7
  528. package/dist/types/6610c73e/04437dc6/6da99d2b.d.ts +0 -3
  529. package/dist/types/6610c73e/04437dc6/9ffc59d7.d.ts +0 -3
  530. package/dist/types/6610c73e/b96961ed.d.ts +0 -31
  531. package/dist/types/6610c73e/bd5c70f7/cf852c15.d.ts +0 -20
  532. /package/dist/types/6610c73e/87f29211/a9d0df18/{f6950e17.d.ts → 63af0ef2.d.ts} +0 -0
@@ -1,5 +1,5 @@
1
1
  import { OpenAI as OpenAIClient } from 'openai';
2
- import { AIModelDto } from "../b10ca3c4/ff385071.js";
2
+ import { AIModelDto } from "../b10ca3c4/c0479f6d.js";
3
3
  import { HttpMethod } from "../../../0d45f5fd/1c59aca9.js";
4
4
  import { MCPAIToolAnnotations } from "../../../0d45f5fd/be72f828.js";
5
5
  export declare const AIModelProvider: {
@@ -33,6 +33,13 @@ export type ToolCallStreamEvent = {
33
33
  name: string;
34
34
  arguments: unknown;
35
35
  };
36
+ /** Aggregated prompt/completion token counts from the provider (summed across tool loops). */
37
+ export type AITokenUsage = {
38
+ inputTokens: number;
39
+ outputTokens: number;
40
+ totalTokens: number;
41
+ };
42
+ export type OnUsageCallback = (usage: AITokenUsage) => void | Promise<void>;
36
43
  export type StreamCallbacks<S> = {
37
44
  onChunk: (reponse: S) => void | Promise<void>;
38
45
  onDone?: () => void;
@@ -42,6 +49,8 @@ export type StreamCallbacks<S> = {
42
49
  result?: unknown;
43
50
  error?: string;
44
51
  }) => void | Promise<void>;
52
+ /** Fired once when the provider reports usage (after the last completion in a tool loop). */
53
+ onUsage?: OnUsageCallback;
45
54
  } & {
46
55
  onToolCall?: OnToolCallCallback;
47
56
  };
@@ -49,6 +58,10 @@ export type OnToolCallCallback = (props: {
49
58
  name: string;
50
59
  arguments: any;
51
60
  }) => any | Promise<any>;
61
+ export type AIQueryCallbacks = {
62
+ onToolCall?: OnToolCallCallback;
63
+ onUsage?: OnUsageCallback;
64
+ };
52
65
  export type AIOptions<M> = {
53
66
  tools?: OpenAIClient.Chat.Completions.ChatCompletionTool[];
54
67
  messages?: M[];
@@ -61,11 +74,11 @@ export type AIOptions<M> = {
61
74
  isCancelled?: () => boolean;
62
75
  };
63
76
  export interface AI<S, M> {
64
- query(prompt: string, callbacks?: {
65
- onToolCall?: OnToolCallCallback;
66
- }, options?: AIOptions<M>): Promise<string>;
77
+ query(prompt: string, callbacks?: AIQueryCallbacks, options?: AIOptions<M>): Promise<string>;
67
78
  stream(prompt: string, callbacks: StreamCallbacks<S>, options?: AIOptions<M>): void;
68
79
  }
80
+ export declare function emptyTokenUsage(): AITokenUsage;
81
+ export declare function addTokenUsage(a: AITokenUsage, b: Partial<AITokenUsage> | null | undefined): AITokenUsage;
69
82
  export interface AITools {
70
83
  functionName: string;
71
84
  description: string;
@@ -74,6 +87,7 @@ export declare const Models: Record<AIModelProviderType, Record<string, any>> |
74
87
  export declare const AISDKAPIType: {
75
88
  readonly OpenAI: "OpenAISDK";
76
89
  readonly Gemini: "GeminiSDK";
90
+ readonly Qwen: "QwenSDK";
77
91
  };
78
92
  export type AISDKAPITypeValue = typeof AISDKAPIType[keyof typeof AISDKAPIType];
79
93
  export type AISystemPromptProps = {
@@ -1,5 +1,5 @@
1
1
  import { ChatCompletionMessageParam } from "openai/resources";
2
- import { AI, AIConstructorProps, StreamCallbacks, AIOptions, OnToolCallCallback } from "./2d293a3a.js";
2
+ import { AI, AIConstructorProps, StreamCallbacks, AIOptions, AIQueryCallbacks } from "../71463662.js";
3
3
  interface OpenAIProps extends AIConstructorProps {
4
4
  baseURL: string;
5
5
  }
@@ -10,9 +10,7 @@ export declare class OpenAI implements AI<any, ChatCompletionMessageParam> {
10
10
  /**
11
11
  * Standard non-streaming response
12
12
  */
13
- query(prompt: string, callbacks: {
14
- onToolCall?: OnToolCallCallback;
15
- }, options?: AIOptions<ChatCompletionMessageParam>): Promise<string>;
13
+ query(prompt: string, callbacks?: AIQueryCallbacks, options?: AIOptions<ChatCompletionMessageParam>): Promise<string>;
16
14
  stream(prompt: string, callbacks: StreamCallbacks<any>, options?: AIOptions<ChatCompletionMessageParam>): Promise<void>;
17
15
  }
18
16
  export {};
@@ -1,5 +1,5 @@
1
1
  import WebSocket from "ws";
2
- import type { RealtimeAIAgent, RealtimeAIAgentAudioFormat, RealtimeAIAgentCallbacks, RealtimeAIAgentConfig, RealtimeAIAgentProvider } from "./ffe88129.js";
2
+ import type { RealtimeAIAgent, RealtimeAIAgentAudioFormat, RealtimeAIAgentCallbacks, RealtimeAIAgentConfig, RealtimeAIAgentProvider } from "../ffe88129.js";
3
3
  /**
4
4
  * OpenAI Realtime GA API (`/v1/realtime`, no beta header).
5
5
  */
@@ -1,3 +1,3 @@
1
- import { OpenAI } from "./326e8c85.js";
1
+ import { OpenAI } from "../7d3194f7/65e10b3b.js";
2
2
  export declare class OpenRouter extends OpenAI {
3
3
  }
@@ -1,9 +1,9 @@
1
1
  import { ChatCompletionMessageParam } from "openai/resources";
2
- import { AI } from "../a9d0df18/2d293a3a.js";
2
+ import { AI } from "../a9d0df18/71463662.js";
3
3
  import { Content } from "openai/resources/containers/files.mjs";
4
4
  import { DataSource } from "typeorm";
5
5
  import { AIModelEntity } from "../../../871f3f39/b82d5bd3.js";
6
- import { CreateAIModelDto } from "./ff385071.js";
6
+ import { CreateAIModelDto } from "./c0479f6d.js";
7
7
  import { DataSeedHistoryService } from "../../6e1815de/1ec1270e.js";
8
8
  import type { RealtimeAIAgent } from "../a9d0df18/ffe88129.js";
9
9
  export declare class AIModelService {
@@ -1,6 +1,6 @@
1
1
  import { RoleDto } from "../../4b168d88/d96befb1.js";
2
2
  import { UserDto } from "../../04f8996d/57b46faf.js";
3
- import { AISDKAPIType, AISDKAPITypeValue } from "../a9d0df18/2d293a3a.js";
3
+ import { AISDKAPIType, AISDKAPITypeValue } from "../a9d0df18/71463662.js";
4
4
  export declare const MASKED_API_KEY = "********";
5
5
  export type CreateAIModelDto = ({
6
6
  sdkType: typeof AISDKAPIType.OpenAI;
@@ -9,6 +9,11 @@ export type CreateAIModelDto = ({
9
9
  } | {
10
10
  sdkType: typeof AISDKAPIType.Gemini;
11
11
  model: string;
12
+ } | {
13
+ sdkType: typeof AISDKAPIType.Qwen;
14
+ model: string;
15
+ /** Defaults to DashScope compatible-mode when omitted. */
16
+ baseUrl?: string;
12
17
  }) & {
13
18
  name: string;
14
19
  apiKey: string;
@@ -1,7 +1,7 @@
1
1
  import { RequestedUser } from "../../../0d45f5fd/4b41f653.js";
2
2
  import { RequestDto, ResponseDto } from "../../../9477dda6/a68fa9aa.js";
3
- import { CreateAIModelDto } from "./ff385071.js";
4
- import { AIModelService } from "./0815e76d.js";
3
+ import { CreateAIModelDto } from "./c0479f6d.js";
4
+ import { AIModelService } from "./22d111a4.js";
5
5
  export declare class AIModelController {
6
6
  aiModelService: AIModelService;
7
7
  getModels(skip: number, limit: number, user: RequestedUser): Promise<ResponseDto<{
@@ -1,6 +1,6 @@
1
1
  import { DataSource } from "typeorm";
2
2
  import { Loggable } from "../../../0d45f5fd/4dd6b41d.js";
3
- import { AIAssistantTools } from "../a9d0df18/2d293a3a.js";
3
+ import { AIAssistantTools } from "../a9d0df18/71463662.js";
4
4
  import { OpenAI as OpenAIClient } from 'openai';
5
5
  import { AIToolUtilitiesFunctions } from "./9c8f6046.js";
6
6
  import { AIToolsEntity } from "../../../871f3f39/a0015976.js";
@@ -1,5 +1,5 @@
1
1
  import { ResponseDto } from "../../../9477dda6/a68fa9aa.js";
2
- import { AIToolsService } from "./32843718.js";
2
+ import { AIToolsService } from "./40a87863.js";
3
3
  export declare class AIToolsController {
4
4
  toolService: AIToolsService;
5
5
  getToolList(search: string): ResponseDto<{
@@ -0,0 +1,12 @@
1
+ import { EntityManager } from "typeorm";
2
+ export declare class PublicPluginPageRouteMigrationService {
3
+ private source;
4
+ private cache;
5
+ private cacheKey;
6
+ /**
7
+ * Run a one-shot page-route migration for a plugin version.
8
+ * Skips when already recorded (cache + DB). Records the row only after
9
+ * `callback` succeeds — all in one transaction so a failed callback rolls back.
10
+ */
11
+ createMigration(pluginName: string, pluginVersion: string, migrationName: string, callback: (manager: EntityManager) => Promise<void>): Promise<void>;
12
+ }
@@ -0,0 +1,30 @@
1
+ export type PluginPageRouteDto = {
2
+ id: number;
3
+ route: string;
4
+ description: string | null;
5
+ pluginName: string;
6
+ createDate: Date;
7
+ updateDate: Date;
8
+ };
9
+ export type CreatePluginPageRouteDto = {
10
+ route: string;
11
+ description?: string | null;
12
+ pluginName: string;
13
+ };
14
+ export type UpdatePluginPageRouteDto = {
15
+ route?: string;
16
+ description?: string | null;
17
+ pluginName?: string;
18
+ };
19
+ export type ListPluginPageRoutesQuery = {
20
+ skip?: number;
21
+ limit?: number;
22
+ search?: string;
23
+ pluginName?: string;
24
+ };
25
+ export type ListPluginPageRoutesResponseDto = {
26
+ items: PluginPageRouteDto[];
27
+ total: number;
28
+ skip: number;
29
+ limit: number;
30
+ };
@@ -0,0 +1,39 @@
1
+ import type { CreateServiceProps, DeleteByIdServiceProps, GetByIdServiceProps, ServiceProps, UpdateByIdServiceProps } from "../../abe2c417/8f79089f.js";
2
+ import type { CreatePluginPageRouteDto, ListPluginPageRoutesQuery, ListPluginPageRoutesResponseDto, PluginPageRouteDto, UpdatePluginPageRouteDto } from "./91ebb738.js";
3
+ export declare class PluginPageRouteService {
4
+ private source;
5
+ private withManager;
6
+ private repo;
7
+ list(props?: ServiceProps<ListPluginPageRoutesQuery>): Promise<ListPluginPageRoutesResponseDto>;
8
+ getPublicPluginPageRoutes(props?: ServiceProps<{
9
+ skip?: number;
10
+ limit?: number;
11
+ }>): Promise<ListPluginPageRoutesResponseDto>;
12
+ getById(props: GetByIdServiceProps): Promise<PluginPageRouteDto>;
13
+ getByRoute(props: ServiceProps<{
14
+ route: string;
15
+ pluginName: string;
16
+ }>): Promise<PluginPageRouteDto>;
17
+ create(props: CreateServiceProps<CreatePluginPageRouteDto>): Promise<{
18
+ id: number;
19
+ }>;
20
+ /**
21
+ * Insert many routes in one pass. Existing `(pluginName, route)` pairs
22
+ * upsert (active → update description; soft-deleted → restore + update).
23
+ * Duplicate keys within the payload keep the last entry.
24
+ */
25
+ createMany(props: CreateServiceProps<CreatePluginPageRouteDto[]>): Promise<{
26
+ ids: number[];
27
+ }>;
28
+ update(props: UpdateByIdServiceProps<UpdatePluginPageRouteDto>): Promise<void>;
29
+ remove(props: DeleteByIdServiceProps): Promise<void>;
30
+ /** Soft-delete a route under a plugin. */
31
+ removeByRouteAndPluginName(props: ServiceProps<{
32
+ route: string;
33
+ pluginName: string;
34
+ }>): Promise<void>;
35
+ /** Soft-delete every page route registered for a plugin. */
36
+ removeByPluginName(props: ServiceProps<{
37
+ pluginName: string;
38
+ }>): Promise<void>;
39
+ }
@@ -0,0 +1,12 @@
1
+ import { RequestDto, ResponseDto } from "../../9477dda6/a68fa9aa.js";
2
+ import type { CreatePluginPageRouteDto, UpdatePluginPageRouteDto } from "./91ebb738.js";
3
+ import { PluginPageRouteService } from "./cc11730f.js";
4
+ export declare class PublicPluginPageRouteController {
5
+ service: PluginPageRouteService;
6
+ list(skip?: number, limit?: number, search?: string, pluginName?: string): Promise<ResponseDto<any>>;
7
+ getByRoute(route: string, pluginName: string): Promise<ResponseDto<any>>;
8
+ getById(id: number): Promise<ResponseDto<any>>;
9
+ create(body: RequestDto<CreatePluginPageRouteDto>): Promise<ResponseDto<any>>;
10
+ update(id: number, body: RequestDto<UpdatePluginPageRouteDto>): Promise<ResponseDto<any>>;
11
+ remove(id: number): Promise<ResponseDto<any>>;
12
+ }
@@ -1,6 +1,7 @@
1
1
  import { DataSeedHistoryService } from "./6e1815de/1ec1270e.js";
2
2
  import { RoleService } from "./4b168d88/413ef4e3.js";
3
- import { UserService } from "./04f8996d/c72c60ce.js";
3
+ import { UserService } from "./04f8996d/c028e6f2.js";
4
+ import { SettingService } from "./ec72b956/bdc8076b.js";
4
5
  import { Loggable } from "../0d45f5fd/4dd6b41d.js";
5
6
  import { PermissionService } from "./fdeb3389/16152e20.js";
6
7
  export declare class CoreModule {
@@ -9,6 +10,7 @@ export declare class CoreModule {
9
10
  roleService: RoleService;
10
11
  userService: UserService;
11
12
  permissionService: PermissionService;
13
+ settingService: SettingService;
12
14
  private get app();
13
15
  onCoreInit(): Promise<void>;
14
16
  }
@@ -0,0 +1,39 @@
1
+ export * from "./f38c764c/4d91b5ee.js";
2
+ export * from "./f38c764c/50b90d0c.js";
3
+ export * from "./04f8996d/c028e6f2.js";
4
+ export * from "./04f8996d/57b46faf.js";
5
+ export * from "./87f29211/0f8de574/2b77c604.js";
6
+ export * from "./87f29211/fc973325/9c8f6046.js";
7
+ export * from "./87f29211/87f29211/8e609bb7.js";
8
+ export * from "./87f29211/87f29211/a2f98d16.js";
9
+ export * from "./87f29211/00282ba1/cc85368e.js";
10
+ export * from "./87f29211/b10ca3c4/22d111a4.js";
11
+ export * from "./87f29211/b10ca3c4/c0479f6d.js";
12
+ export * from "./87f29211/fc973325/40a87863.js";
13
+ export * from "./87f29211/fc973325/8e609bb7.js";
14
+ export * from "./87f29211/a9d0df18/7f871cbf/b644fb7f.js";
15
+ export * from "./87f29211/a9d0df18/5d724362/e1e8a189.js";
16
+ export * from "./87f29211/a9d0df18/7d3194f7/65e10b3b.js";
17
+ export * from "./87f29211/a9d0df18/67f2d225/4cb0bc0e.js";
18
+ export * from "./87f29211/a9d0df18/71463662.js";
19
+ export * from "./87f29211/6fd89734/ea349714.js";
20
+ export * from "./fdeb3389/16152e20.js";
21
+ export * from "./6e1815de/1ec1270e.js";
22
+ export * from "./6e1815de/cb4e0d9d.js";
23
+ export * from "./5e689e2b/e99b96ff.js";
24
+ export * from "./5e689e2b/f6474de5.js";
25
+ export * from "./9ec6f310/cc11730f.js";
26
+ export * from "./9ec6f310/91ebb738.js";
27
+ export * from "./9ec6f310/354f21fd.js";
28
+ export * from "./8a6cead4/40c4faf7.js";
29
+ export * from "./4b168d88/413ef4e3.js";
30
+ export * from "./4b168d88/d96befb1.js";
31
+ export * from "./da7f739f/e016487a.js";
32
+ export * from "./c374eea5/4f55037c.js";
33
+ export * from "./c374eea5/d76ffdee.js";
34
+ export * from "./2a1073a6/13feb6a7.js";
35
+ export * from "./2a1073a6/48a99f86.js";
36
+ export * from "./ec72b956/bdc8076b.js";
37
+ export * from "./ec72b956/068707d7.js";
38
+ export * from "./ec72b956/dc5fa825.js";
39
+ export * from "./ec72b956/a4fba358.js";
@@ -1,5 +1,5 @@
1
1
  import { GracefulJobManager } from "../../0d45f5fd/496c2854.js";
2
- import { ICache } from "../../0d45f5fd/9a2c73cf.js";
2
+ import { ICache } from "../../0d45f5fd/8a1d0c4e.js";
3
3
  import { Loggable } from "../../0d45f5fd/4dd6b41d.js";
4
4
  import { IAppInstance } from "@quan-erp/shared-types";
5
5
  export declare class SystemService {
@@ -1,4 +1,4 @@
1
- import { SettingDataType } from "../../2cc49785/0f9f5cc9.js";
1
+ import { SettingDataType } from "./dc5fa825.js";
2
2
  export interface SettingDto {
3
3
  userid: number;
4
4
  key: string;
@@ -1,7 +1,7 @@
1
- import { SettingService } from "./d75444a8.js";
1
+ import { SettingService } from "./bdc8076b.js";
2
2
  import { RequestDto, ResponseDto } from "../../9477dda6/a68fa9aa.js";
3
3
  import { RequestedUser } from "../../0d45f5fd/4b41f653.js";
4
- import { SettingDataType } from "../../2cc49785/0f9f5cc9.js";
4
+ import { SettingDataType } from "./dc5fa825.js";
5
5
  export default class SettingController {
6
6
  service: SettingService;
7
7
  set(body: RequestDto<{
@@ -0,0 +1,26 @@
1
+ export declare enum SettingKeys {
2
+ LOCALE = "locale",
3
+ SHOW_DEVELOPER_TOOLS = "show-developer-tools",
4
+ BUSINESS_LOGO = "business-logo",
5
+ BUSINESS_NAME = "business-name",
6
+ BUSINESS_HOTLINE_PHONE = "business-hotline-phone",
7
+ BUSINESS_INTRODUCTION = "business-introduction",
8
+ BUSINESS_HEADQUARTERS_ADDRESS = "business-headquarters-address",
9
+ DATE_FORMAT = "date-format",
10
+ TIMEZONE = "timezone",
11
+ NAVIGATION_OERDER = "navigation-order",
12
+ DASHBOARD_VIEW_ORDER = "dashboard-view-order",
13
+ HOME_SHORTCUT_ORDER = "home-shortcut-order",
14
+ PLUGIN_VIEW_FILTER = "plugin-view-filiter",
15
+ FAVOURITE_PAGE = "favourite-page",
16
+ THEME = "theme",
17
+ FONT_STYLE = "font-style",
18
+ FONT_SIZE = "font-size",
19
+ PRIMARY_COLOR = "primary-color",
20
+ HOME_TOUR_CLICKED = "home-tour-clicked",
21
+ DUN_SHOW_TUTORIAL_CARD = "dun-show-tutorial-card",
22
+ APP_LOCK_TIMER = "app-lock-timer",
23
+ APP_PIN = "app-pin",
24
+ KEEP_APP_AWAKE = "keep-app-awake",
25
+ REDUCE_ANIMATION = "reduce-animation"
26
+ }
@@ -1,6 +1,7 @@
1
- import { ICache } from "../../0d45f5fd/9a2c73cf.js";
1
+ import { ICache } from "../../0d45f5fd/8a1d0c4e.js";
2
2
  import { ServiceProps } from "../../abe2c417/8f79089f.js";
3
- import { SettingDataType, SettingEntity } from "../../2cc49785/0f9f5cc9.js";
3
+ import { SettingEntity } from "../../2cc49785/4573e170.js";
4
+ import { SettingDataType } from "./dc5fa825.js";
4
5
  /**
5
6
  * Service responsible for managing application-wide and user-specific configurations.
6
7
  *
@@ -0,0 +1,7 @@
1
+ export declare enum SettingDataType {
2
+ STRING = "string",
3
+ NUMBER = "number",
4
+ BOOLEAN = "boolean",
5
+ JSON = "json",
6
+ DATE = "date"
7
+ }
@@ -1,5 +1,5 @@
1
1
  import { DataSource } from "typeorm";
2
- import { PermissionEntity } from "../../871f3f39/2bfe94e3.js";
2
+ import { PermissionEntity } from "../../871f3f39/32a49bde.js";
3
3
  import { PermissionPayload } from "./81528d33.js";
4
4
  import { HttpMethod } from "../../0d45f5fd/1c59aca9.js";
5
5
  interface IPermissionService {
@@ -1,6 +1,6 @@
1
- import { PluginEntity } from "../871f3f39/1bc1fa82.js";
2
- import { RoleEntity } from "../871f3f39/fd939073.js";
3
- import { BaseEntity } from "../871f3f39/799e57cf.js";
1
+ import { PluginEntity } from "./5ce08b7a.js";
2
+ import { RoleEntity } from "./f4278326.js";
3
+ import { BaseEntity } from "./799e57cf.js";
4
4
  export declare class PagePermissionEntity extends BaseEntity {
5
5
  id: number;
6
6
  plugin: InstanceType<typeof PluginEntity>;
@@ -1,7 +1,7 @@
1
1
  import "reflect-metadata";
2
2
  import { BaseEntity } from "./799e57cf.js";
3
- import { RoleEntity } from "./fd939073.js";
4
- import { PluginEntity } from "./1bc1fa82.js";
3
+ import { RoleEntity } from "./f4278326.js";
4
+ import { PluginEntity } from "./5ce08b7a.js";
5
5
  export declare class PermissionEntity extends BaseEntity {
6
6
  id: number;
7
7
  url: string;
@@ -1,7 +1,7 @@
1
1
  import { BaseEntity } from "./799e57cf.js";
2
2
  import { AIModelEntity } from "./b82d5bd3.js";
3
3
  import { UserEntity } from "./bdf74ccb.js";
4
- import { RoleEntity } from "./fd939073.js";
4
+ import { RoleEntity } from "./f4278326.js";
5
5
  export declare class AIAssistantRegistryEntity extends BaseEntity {
6
6
  id: number;
7
7
  shortId: string;
@@ -1,8 +1,7 @@
1
1
  import "reflect-metadata";
2
2
  import { BaseEntity } from "./799e57cf.js";
3
- import { PermissionEntity } from "./2bfe94e3.js";
4
- import { PagePermissionEntity } from "../2cc49785/048ca935.js";
5
- import { PluginRouteEntity } from "../2cc49785/46f89c68.js";
3
+ import { PermissionEntity } from "./32a49bde.js";
4
+ import { PagePermissionEntity } from "./04928915.js";
6
5
  export declare enum Access {
7
6
  MICROPHONE = 0,
8
7
  CAMERA = 1,
@@ -35,9 +34,7 @@ export declare class PluginEntity extends BaseEntity {
35
34
  source: string;
36
35
  images: string[];
37
36
  sort: number;
38
- backendModulePathResolved: boolean;
39
37
  access: Access[];
40
38
  permission: InstanceType<typeof PermissionEntity>;
41
39
  pagePermissions: InstanceType<typeof PagePermissionEntity>[];
42
- routes: InstanceType<typeof PluginRouteEntity>[];
43
40
  }
@@ -11,10 +11,11 @@ import { CronJobEntity, CronJobExecutionHistoryEntity } from "./c42eb7f4.js";
11
11
  import { DataLockingEntity } from "./5724033a.js";
12
12
  import { EnvEntity } from "./4ec64ebc.js";
13
13
  import { MigrationEntity } from "./6a0d07bb.js";
14
- import { PluginEntity } from "./1bc1fa82.js";
15
- import { PermissionEntity } from "./2bfe94e3.js";
14
+ import { PluginEntity } from "./5ce08b7a.js";
15
+ import { PublicPluginPageRouteEntity } from "./a86a30c9.js";
16
+ import { PermissionEntity } from "./32a49bde.js";
16
17
  import { RefreshTokenEntity } from "./871a1ed2.js";
17
- import { RoleEntity } from "./fd939073.js";
18
+ import { RoleEntity } from "./f4278326.js";
18
19
  import { UserEntity } from "./bdf74ccb.js";
19
20
  import { WorkflowChangesEntity, WorkflowEntity, WorkflowExecutionHistoryEntity } from "./e4e56e24.js";
20
- export declare const CORE_ENTITIES: (typeof MigrationEntity | typeof RefreshTokenEntity | typeof UserEntity | typeof PluginEntity | typeof RoleEntity | typeof PermissionEntity | typeof BranchEntity | typeof AIModelEntity | typeof AIToolsEntity | typeof ConcurrentTableLockEntity | typeof EnvEntity | typeof AIAssistantRegistryEntity | typeof AIChatHistoryEntity | typeof AIChatHistoryConversationEntity | typeof AIMemoryEntity | typeof WorkflowEntity | typeof WorkflowChangesEntity | typeof WorkflowExecutionHistoryEntity | typeof CronJobEntity | typeof CronJobExecutionHistoryEntity | typeof AIAssistantUserPermissionEntity | typeof AuditLogEntity | typeof DataLockingEntity | typeof APIAccessTokenPermissionEntity)[];
21
+ export declare const CORE_ENTITIES: (typeof MigrationEntity | typeof RefreshTokenEntity | typeof UserEntity | typeof PluginEntity | typeof RoleEntity | typeof PermissionEntity | typeof BranchEntity | typeof AIModelEntity | typeof AIToolsEntity | typeof ConcurrentTableLockEntity | typeof EnvEntity | typeof AIAssistantRegistryEntity | typeof AIChatHistoryEntity | typeof AIChatHistoryConversationEntity | typeof AIMemoryEntity | typeof PublicPluginPageRouteEntity | typeof WorkflowEntity | typeof WorkflowChangesEntity | typeof WorkflowExecutionHistoryEntity | typeof CronJobEntity | typeof CronJobExecutionHistoryEntity | typeof AIAssistantUserPermissionEntity | typeof AuditLogEntity | typeof DataLockingEntity | typeof APIAccessTokenPermissionEntity)[];
@@ -1,6 +1,6 @@
1
1
  import "reflect-metadata";
2
2
  import { BaseEntity } from "./799e57cf.js";
3
- import { RoleEntity } from "./fd939073.js";
3
+ import { RoleEntity } from "./f4278326.js";
4
4
  import { TagEntity } from "./f2188d12.js";
5
5
  export declare class BranchEntity extends BaseEntity {
6
6
  id: number;
@@ -0,0 +1,17 @@
1
+ import { BaseEntity } from "./799e57cf.js";
2
+ /**
3
+ * Catalog of frontend page routes owned by a plugin.
4
+ * Used for page-permission / nav registration lookups.
5
+ */
6
+ export declare class PublicPluginPageRouteEntity extends BaseEntity {
7
+ id: number;
8
+ route: string;
9
+ description: string | null;
10
+ pluginName: string;
11
+ }
12
+ export declare class PublicPluginPageRouteMigrationEntity extends BaseEntity {
13
+ id: number;
14
+ pluginName: string;
15
+ pluginVersion: string;
16
+ migrationName: string;
17
+ }
@@ -1,5 +1,5 @@
1
1
  import { UserEntity } from "./bdf74ccb.js";
2
- import { RoleEntity } from "./fd939073.js";
2
+ import { RoleEntity } from "./f4278326.js";
3
3
  import { BaseEntity } from "./799e57cf.js";
4
4
  export declare class AIModelEntity extends BaseEntity {
5
5
  id: number;
@@ -1,8 +1,8 @@
1
1
  import "reflect-metadata";
2
2
  import { BaseEntity } from "./799e57cf.js";
3
3
  import { RefreshTokenEntity } from "./871a1ed2.js";
4
- import { RoleEntity } from "./fd939073.js";
5
- import { SettingEntity } from "../2cc49785/0f9f5cc9.js";
4
+ import { RoleEntity } from "./f4278326.js";
5
+ import { SettingEntity } from "../2cc49785/4573e170.js";
6
6
  import { BranchEntity } from "./a225cc21.js";
7
7
  import { TagEntity } from "./f2188d12.js";
8
8
  export declare class UserEntity extends BaseEntity {
@@ -15,5 +15,6 @@ export * from "./6a0d07bb.js";
15
15
  export * from "./871a1ed2.js";
16
16
  export * from "./e4e56e24.js";
17
17
  export * from "./f2188d12.js";
18
- export * from "./e9ffc988.js";
19
- export * from "./1bc1fa82.js";
18
+ export * from "./9d2a3ad6.js";
19
+ export * from "./5ce08b7a.js";
20
+ export * from "./a86a30c9.js";
@@ -1,8 +1,8 @@
1
1
  import "reflect-metadata";
2
2
  import { BaseEntity } from "./799e57cf.js";
3
- import { PermissionEntity } from "./2bfe94e3.js";
3
+ import { PermissionEntity } from "./32a49bde.js";
4
4
  import { UserEntity } from "./bdf74ccb.js";
5
- import { PagePermissionEntity } from "../2cc49785/048ca935.js";
5
+ import { PagePermissionEntity } from "./04928915.js";
6
6
  import { FileEntity } from "../2cc49785/e8dcc4f1.js";
7
7
  import { BranchEntity } from "./a225cc21.js";
8
8
  export declare class RoleEntity extends BaseEntity {
@@ -1,4 +1,6 @@
1
1
  export declare class Version {
2
+ /** `1.1.10-beta.0` → `1.1.10` (major.minor.patch only). */
3
+ static toReleaseVersion(version: string): string | null;
2
4
  /**
3
5
  * Check if an installed version satisfies the required version
4
6
  * @param installedVersion - version of the installed plugin, e.g., "0.0.1"
@@ -0,0 +1,14 @@
1
+ import { IDatabaseMigration } from "@quan-erp/shared-types";
2
+ import { QueryRunner } from "typeorm";
3
+ /**
4
+ * ai_tools: add unique(fnName); drop allowedRoles join table.
5
+ */
6
+ export declare class InitialMigrations1_1_10 implements IDatabaseMigration {
7
+ getName(): string;
8
+ getSource(): {
9
+ plugin: string;
10
+ name: string;
11
+ };
12
+ up(queryRunner: QueryRunner): Promise<void>;
13
+ down(queryRunner: QueryRunner): Promise<void>;
14
+ }
@@ -0,0 +1,14 @@
1
+ import { IDatabaseMigration } from "@quan-erp/shared-types";
2
+ import { QueryRunner } from "typeorm";
3
+ /**
4
+ * ai_tools: add unique(fnName); drop allowedRoles join table.
5
+ */
6
+ export declare class InitialMigrations2_0_2 implements IDatabaseMigration {
7
+ getName(): string;
8
+ getSource(): {
9
+ plugin: string;
10
+ name: string;
11
+ };
12
+ up(queryRunner: QueryRunner): Promise<void>;
13
+ down(queryRunner: QueryRunner): Promise<void>;
14
+ }
@@ -1,6 +1,6 @@
1
1
  import { Request, Response, NextFunction } from "express";
2
2
  import { IExpressMiddleware } from "../0d45f5fd/6559a8c1.js";
3
- import { DeveloperConfigService } from "../2ad56231/c36264c9.js";
3
+ import { DeveloperConfigService } from "../2ad56231/839b9411.js";
4
4
  import { Loggable } from "../0d45f5fd/4dd6b41d.js";
5
5
  export declare class SubscriptionMiddleware implements IExpressMiddleware {
6
6
  developerConfigService: DeveloperConfigService;
@@ -1,17 +1,17 @@
1
1
  export * from "./fbc6c1d4/80614691.js";
2
2
  export * from "./9f80922e/3e32acfa.js";
3
3
  export * from "./0d45f5fd/93c2615f.js";
4
- export * from "./6610c73e/b96961ed.js";
5
- export * from "./2cc49785/1e6b9ea7.js";
6
- export * from "./871f3f39/194ec074.js";
4
+ export * from "./6610c73e/bb890bcf.js";
5
+ export * from "./2cc49785/03838cd8.js";
6
+ export * from "./871f3f39/d77ac409.js";
7
7
  export * from "./9477dda6/99edb198.js";
8
- export * from "./2ad56231/c36264c9.js";
8
+ export * from "./2ad56231/839b9411.js";
9
9
  export * from "./46b42b42/df62afb5.js";
10
10
  export * as ObjectHash from "./abe2c417/a39169c6.js";
11
11
  export * from "./fd7f274b/0daaeab3.js";
12
12
  export * from "./abe2c417/969349d2.js";
13
13
  export * from "./abe2c417/7e2c18ef.js";
14
- export * from "./abe2c417/f7f8ce4e.js";
14
+ export * from "./abe2c417/87d84766.js";
15
15
  export * from "./abe2c417/f9ceab53.js";
16
16
  export * from "./abe2c417/61b22a6d.js";
17
17
  export * from "./abe2c417/8f79089f.js";
package/external.json CHANGED
@@ -26,7 +26,10 @@
26
26
  "node-cache",
27
27
  "firebase-admin",
28
28
  "firebase",
29
+ "@quan-erp-sdk/notification-gateway-sdk",
29
30
  "cron",
31
+ "adm-zip",
30
32
  "openai",
31
- "safe-stable-stringify"
33
+ "safe-stable-stringify",
34
+ "sharp"
32
35
  ]