@quan-erp/shared-backend-core 1.0.1

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 (558) hide show
  1. package/README.md +3 -0
  2. package/dist/0d45f5fd/5KlFrPzh.js +1 -0
  3. package/dist/0d45f5fd/B39PJnPI.js +1 -0
  4. package/dist/0d45f5fd/B9PiPcem.js +1 -0
  5. package/dist/0d45f5fd/B9n9G1yv.js +1 -0
  6. package/dist/0d45f5fd/BG4uzJH8.js +1 -0
  7. package/dist/0d45f5fd/BSYoBKie.js +1 -0
  8. package/dist/0d45f5fd/BSoQlFtK.js +1 -0
  9. package/dist/0d45f5fd/BdIoxvqZ.js +1 -0
  10. package/dist/0d45f5fd/Bjtfltpk.js +1 -0
  11. package/dist/0d45f5fd/BnAtyUlK.js +1 -0
  12. package/dist/0d45f5fd/BnVVAcqU.js +1 -0
  13. package/dist/0d45f5fd/BpygDVVM.js +1 -0
  14. package/dist/0d45f5fd/BtsQx3aY.js +1 -0
  15. package/dist/0d45f5fd/CCA7LWmS.js +1 -0
  16. package/dist/0d45f5fd/CKB1ifMq.js +1 -0
  17. package/dist/0d45f5fd/CRwWF7UI.js +1 -0
  18. package/dist/0d45f5fd/CXJRBJWG.js +1 -0
  19. package/dist/0d45f5fd/CXtVchjo.js +1 -0
  20. package/dist/0d45f5fd/Cai5KXIT.js +1 -0
  21. package/dist/0d45f5fd/Cg31gF4E.js +1 -0
  22. package/dist/0d45f5fd/Cq4RSZy9.js +1 -0
  23. package/dist/0d45f5fd/DC3PtGPu.js +1 -0
  24. package/dist/0d45f5fd/DIFFnF56.js +1 -0
  25. package/dist/0d45f5fd/DOcmAiwD.js +1 -0
  26. package/dist/0d45f5fd/Da8GroSP.js +1 -0
  27. package/dist/0d45f5fd/Di60wa_E.js +1 -0
  28. package/dist/0d45f5fd/DvG5qFao.js +1 -0
  29. package/dist/0d45f5fd/DyEymKEk.js +1 -0
  30. package/dist/0d45f5fd/UGXY0ODE.js +1 -0
  31. package/dist/0d45f5fd/__eOk8J6.js +1 -0
  32. package/dist/0d45f5fd/asmaHIQv.js +1 -0
  33. package/dist/0d45f5fd/da7f739f/06cc432b/25p0Miq_.js +1 -0
  34. package/dist/0d45f5fd/da7f739f/06cc432b/5s8pBnVf.js +1 -0
  35. package/dist/0d45f5fd/da7f739f/06cc432b/BE5KBeOK.js +1 -0
  36. package/dist/0d45f5fd/da7f739f/06cc432b/BEPU-S6o.js +1 -0
  37. package/dist/0d45f5fd/da7f739f/06cc432b/BWziVYGZ.js +1 -0
  38. package/dist/0d45f5fd/da7f739f/06cc432b/BmoqY6qK.js +1 -0
  39. package/dist/0d45f5fd/da7f739f/06cc432b/BoAUIetu.js +1 -0
  40. package/dist/0d45f5fd/da7f739f/06cc432b/BwEGj0SR.js +1 -0
  41. package/dist/0d45f5fd/da7f739f/06cc432b/C1HmfU8l.js +1 -0
  42. package/dist/0d45f5fd/da7f739f/06cc432b/CcS-MRSy.js +1 -0
  43. package/dist/0d45f5fd/da7f739f/06cc432b/CtrMkht2.js +1 -0
  44. package/dist/0d45f5fd/da7f739f/06cc432b/CvvA02Hw.js +1 -0
  45. package/dist/0d45f5fd/da7f739f/06cc432b/Cyqt_ETc.js +1 -0
  46. package/dist/0d45f5fd/da7f739f/06cc432b/DGkvCdvx.js +1 -0
  47. package/dist/0d45f5fd/da7f739f/06cc432b/DScQTTOQ.js +1 -0
  48. package/dist/0d45f5fd/da7f739f/06cc432b/DZmJZNCG.js +1 -0
  49. package/dist/0d45f5fd/da7f739f/06cc432b/DfpMAyYK.js +1 -0
  50. package/dist/0d45f5fd/da7f739f/06cc432b/DoVADpy9.js +1 -0
  51. package/dist/0d45f5fd/da7f739f/06cc432b/GwLgwN_L.js +1 -0
  52. package/dist/0d45f5fd/da7f739f/06cc432b/U9R2mFhp.js +1 -0
  53. package/dist/0d45f5fd/da7f739f/06cc432b/oLO9WiPq.js +1 -0
  54. package/dist/0d45f5fd/da7f739f/06cc432b/wumOP7IP.js +1 -0
  55. package/dist/0d45f5fd/da7f739f/06cc432b/xadXToXe.js +1 -0
  56. package/dist/0d45f5fd/da7f739f/BmmPTjeD.js +1 -0
  57. package/dist/0d45f5fd/da7f739f/CvY_IQUA.js +1 -0
  58. package/dist/0d45f5fd/da7f739f/CzJW4exV.js +1 -0
  59. package/dist/0d45f5fd/da7f739f/Db3MBFjV.js +1 -0
  60. package/dist/0d45f5fd/da7f739f/DtAPNglw.js +1 -0
  61. package/dist/0d45f5fd/da7f739f/fr7kJRNu.js +1 -0
  62. package/dist/0d45f5fd/evrUwPJ-.js +1 -0
  63. package/dist/0d45f5fd/o9g8wBjh.js +1 -0
  64. package/dist/2ad56231/01dcea55/AwPsPqwP.js +1 -0
  65. package/dist/2ad56231/01dcea55/Cz1YOfmh.js +1 -0
  66. package/dist/2ad56231/01dcea55/DbyYeAcK.js +1 -0
  67. package/dist/2ad56231/1242ab99/BA2IW6c-.js +1 -0
  68. package/dist/2ad56231/1242ab99/CsEQAHhz.js +1 -0
  69. package/dist/2ad56231/1242ab99/Dw013QG2.js +1 -0
  70. package/dist/2ad56231/258b1873/DJawI8Tt.js +1 -0
  71. package/dist/2ad56231/258b1873/DzDc9Y5O.js +1 -0
  72. package/dist/2ad56231/2c0a4857/BwRIrBb3.js +1 -0
  73. package/dist/2ad56231/2d464c7d/83Yc1Hce.js +1 -0
  74. package/dist/2ad56231/2d464c7d/B9IugnhI.js +1 -0
  75. package/dist/2ad56231/3549b002/B4AKkY6Y.js +1 -0
  76. package/dist/2ad56231/3549b002/BwXRw8qz.js +1 -0
  77. package/dist/2ad56231/3b9c358f/B9TqbaT4.js +1 -0
  78. package/dist/2ad56231/3b9c358f/NMwzw7gO.js +1 -0
  79. package/dist/2ad56231/466e5b9c/Buwsv_7w.js +1 -0
  80. package/dist/2ad56231/466e5b9c/CeA-GNfe.js +1 -0
  81. package/dist/2ad56231/54246ca2/BH4qJOxT.js +1 -0
  82. package/dist/2ad56231/54246ca2/BLxcE0jr.js +1 -0
  83. package/dist/2ad56231/54246ca2/CLTAEbdq.js +1 -0
  84. package/dist/2ad56231/60be9861/D_PpGELJ.js +1 -0
  85. package/dist/2ad56231/618b8c8d/CVcmoBY3.js +1 -0
  86. package/dist/2ad56231/618b8c8d/xJCbY_5T.js +1 -0
  87. package/dist/2ad56231/7f3fa48c/Dj2y3_YR.js +1 -0
  88. package/dist/2ad56231/7f3fa48c/uFEX-gjF.js +1 -0
  89. package/dist/2ad56231/7f9ba364/Czs1Ohri.js +1 -0
  90. package/dist/2ad56231/7f9ba364/DiH_Qe6t.js +1 -0
  91. package/dist/2ad56231/83b99aea/CKYFeURr.js +1 -0
  92. package/dist/2ad56231/83b99aea/NkYh5QNp.js +1 -0
  93. package/dist/2ad56231/85000c0b/CT5JfXDU.js +1 -0
  94. package/dist/2ad56231/9983e5f2/B-nEfBPG.js +1 -0
  95. package/dist/2ad56231/9983e5f2/CsSmIxA6.js +1 -0
  96. package/dist/2ad56231/9d263798/4EVoBbMS.js +1 -0
  97. package/dist/2ad56231/Cb2X6t1P.js +1 -0
  98. package/dist/2ad56231/DvZRtj63.js +1 -0
  99. package/dist/2ad56231/a7b85550/D-_A5y4Y.js +1 -0
  100. package/dist/2ad56231/a7b85550/bLwrG6oQ.js +1 -0
  101. package/dist/2ad56231/e6eaea18/7517017f/fOK4Yqwl.js +1 -0
  102. package/dist/2ad56231/e6eaea18/DH0d9qaL.js +1 -0
  103. package/dist/2ad56231/e6eaea18/sVUlA6tr.js +1 -0
  104. package/dist/2ad56231/e938ace2/DW_NuK5v.js +1 -0
  105. package/dist/2ad56231/e938ace2/De4S4dnC.js +1 -0
  106. package/dist/2ad56231/ec72b956/ClRr2YrL.js +1 -0
  107. package/dist/2ad56231/ec72b956/Ctb6muYY.js +1 -0
  108. package/dist/2ad56231/vRD99Hpr.js +1 -0
  109. package/dist/2cc49785/5sVGLc0F.js +1 -0
  110. package/dist/2cc49785/B5fBjtkr.js +1 -0
  111. package/dist/2cc49785/BAffXqRd.js +1 -0
  112. package/dist/2cc49785/BCYnJvIR.js +1 -0
  113. package/dist/2cc49785/BIOKfeGU.js +1 -0
  114. package/dist/2cc49785/BKJkVgsW.js +1 -0
  115. package/dist/2cc49785/Bd1ydJag.js +1 -0
  116. package/dist/2cc49785/C4OM0mLw.js +1 -0
  117. package/dist/2cc49785/CL8e3nzY.js +1 -0
  118. package/dist/2cc49785/CLlWYd0R.js +1 -0
  119. package/dist/2cc49785/ClYe_VwO.js +1 -0
  120. package/dist/2cc49785/Cu5EkDoB.js +1 -0
  121. package/dist/2cc49785/XvEhrcTr.js +1 -0
  122. package/dist/2cc49785/_aC-WIP1.js +1 -0
  123. package/dist/2cc49785/a57L0oEj.js +1 -0
  124. package/dist/2cc49785/e6eaea18/Cjqk0vWG.js +1 -0
  125. package/dist/2cc49785/e6eaea18/D0fNkjon.js +1 -0
  126. package/dist/2cc49785/e6eaea18/D3Dn1MIt.js +1 -0
  127. package/dist/2cc49785/e6eaea18/yhPGRXBG.js +1 -0
  128. package/dist/2cc49785/hhsuZ2nK.js +1 -0
  129. package/dist/2cc49785/jng0g1H1.js +1 -0
  130. package/dist/2cc49785/k2901Fu3.js +1 -0
  131. package/dist/46b42b42/CEmdabCT.js +1 -0
  132. package/dist/6610c73e/04f8996d/BWF6rOkR.js +1 -0
  133. package/dist/6610c73e/04f8996d/CaXcz_i7.js +1 -0
  134. package/dist/6610c73e/04f8996d/CmjhNO_P.js +1 -0
  135. package/dist/6610c73e/04f8996d/DKxCvRhP.js +1 -0
  136. package/dist/6610c73e/04f8996d/DtGMr0d5.js +1 -0
  137. package/dist/6610c73e/04f8996d/Z48L3dXG.js +1 -0
  138. package/dist/6610c73e/09355034/CODWyl4K.js +1 -0
  139. package/dist/6610c73e/09355034/gHwDpi39.js +1 -0
  140. package/dist/6610c73e/108201be/CXkV9Wml.js +1 -0
  141. package/dist/6610c73e/108201be/Cu4DoJ6P.js +1 -0
  142. package/dist/6610c73e/108201be/DTOIXs__.js +1 -0
  143. package/dist/6610c73e/2882bf13/DrsfObL3.js +1 -0
  144. package/dist/6610c73e/2882bf13/bCn1uuNp.js +1 -0
  145. package/dist/6610c73e/2a1073a6/B_5Deuzb.js +1 -0
  146. package/dist/6610c73e/2a1073a6/CkBoFImc.js +1 -0
  147. package/dist/6610c73e/340a3320/DMu-yu6w.js +1 -0
  148. package/dist/6610c73e/340a3320/WtvAQ1Zk.js +1 -0
  149. package/dist/6610c73e/3cae9be6/DZFOH9Z2.js +1 -0
  150. package/dist/6610c73e/3cae9be6/lxWv5dai.js +1 -0
  151. package/dist/6610c73e/48e13c1e/BaWTxVuk.js +1 -0
  152. package/dist/6610c73e/48e13c1e/DC8jiBLc.js +1 -0
  153. package/dist/6610c73e/4b168d88/CBc-ilUo.js +1 -0
  154. package/dist/6610c73e/4b168d88/Dk7iGuFo.js +1 -0
  155. package/dist/6610c73e/4b168d88/NIu8TJUV.js +1 -0
  156. package/dist/6610c73e/5e1ecee0/CuVdoLW5.js +1 -0
  157. package/dist/6610c73e/5e689e2b/BBEFD0MJ.js +1 -0
  158. package/dist/6610c73e/5e689e2b/D63jRed3.js +1 -0
  159. package/dist/6610c73e/5e689e2b/si0E7vy4.js +1 -0
  160. package/dist/6610c73e/6e1815de/DAEjspug.js +1 -0
  161. package/dist/6610c73e/82de49c1/CsBZXKps.js +1 -0
  162. package/dist/6610c73e/87f29211/00282ba1/BKMWpuIK.js +1 -0
  163. package/dist/6610c73e/87f29211/00282ba1/Cz6fk5Wc.js +1 -0
  164. package/dist/6610c73e/87f29211/00282ba1/UFVg93nd.js +1 -0
  165. package/dist/6610c73e/87f29211/0f8de574/CpohrteO.js +1 -0
  166. package/dist/6610c73e/87f29211/3681c247/CS5g0xlW.js +1 -0
  167. package/dist/6610c73e/87f29211/3681c247/D3o0RqEX.js +1 -0
  168. package/dist/6610c73e/87f29211/6fd89734/9YxHEjDK.js +1 -0
  169. package/dist/6610c73e/87f29211/87f29211/C6uLcJPv.js +1 -0
  170. package/dist/6610c73e/87f29211/a9d0df18/B72PlhwA.js +1 -0
  171. package/dist/6610c73e/87f29211/a9d0df18/BCYE1vDG.js +1 -0
  172. package/dist/6610c73e/87f29211/a9d0df18/BSCkvdZ1.js +1 -0
  173. package/dist/6610c73e/87f29211/a9d0df18/BVg40SgX.js +1 -0
  174. package/dist/6610c73e/87f29211/a9d0df18/CMGCNHO4.js +1 -0
  175. package/dist/6610c73e/87f29211/b10ca3c4/BOLYM85y.js +1 -0
  176. package/dist/6610c73e/87f29211/b10ca3c4/D24x_3dy.js +1 -0
  177. package/dist/6610c73e/87f29211/b10ca3c4/DE25xVRs.js +1 -0
  178. package/dist/6610c73e/87f29211/fc973325/BAl3nDHD.js +1 -0
  179. package/dist/6610c73e/87f29211/fc973325/C64aaE_N.js +1 -0
  180. package/dist/6610c73e/87f29211/fc973325/DfF3lHvu.js +1 -0
  181. package/dist/6610c73e/8a6cead4/HoQvvqKQ.js +1 -0
  182. package/dist/6610c73e/D9H-YP7D.js +1 -0
  183. package/dist/6610c73e/b77349bf/BMAKW8m1.js +1 -0
  184. package/dist/6610c73e/b77349bf/D6WADvlw.js +1 -0
  185. package/dist/6610c73e/bbc5e661/hSkxlapS.js +1 -0
  186. package/dist/6610c73e/bbc5e661/tRmwB0Ab.js +1 -0
  187. package/dist/6610c73e/bd5c70f7/mOPMbxOa.js +1 -0
  188. package/dist/6610c73e/c374eea5/C_oo4cXt.js +1 -0
  189. package/dist/6610c73e/c374eea5/DAMptVg5.js +1 -0
  190. package/dist/6610c73e/da7f739f/BYicXwEj.js +1 -0
  191. package/dist/6610c73e/da7f739f/s2U4XeTc.js +1 -0
  192. package/dist/6610c73e/f38c764c/ClTmuz3f.js +1 -0
  193. package/dist/6610c73e/f38c764c/FzrDaVim.js +1 -0
  194. package/dist/6610c73e/f38c764c/qDdEVNYd.js +1 -0
  195. package/dist/6610c73e/fdeb3389/BR9K3ZBb.js +1 -0
  196. package/dist/6610c73e/fdeb3389/BW0M26Pt.js +1 -0
  197. package/dist/871f3f39/3-RV1Nvh.js +1 -0
  198. package/dist/871f3f39/B0WsLvd-.js +1 -0
  199. package/dist/871f3f39/B46GW4Vh.js +1 -0
  200. package/dist/871f3f39/BGoChp9H.js +1 -0
  201. package/dist/871f3f39/BHmcll93.js +1 -0
  202. package/dist/871f3f39/BY-kbHqP.js +1 -0
  203. package/dist/871f3f39/Bbr4nitJ.js +1 -0
  204. package/dist/871f3f39/Bc6LGIQu.js +1 -0
  205. package/dist/871f3f39/BdXXlrKL.js +1 -0
  206. package/dist/871f3f39/BoqeRGCn.js +1 -0
  207. package/dist/871f3f39/Bu9hWZCD.js +1 -0
  208. package/dist/871f3f39/C2m7j5qh.js +1 -0
  209. package/dist/871f3f39/CFN-fsiD.js +1 -0
  210. package/dist/871f3f39/CUS6_AMK.js +1 -0
  211. package/dist/871f3f39/Cmsu5KK7.js +1 -0
  212. package/dist/871f3f39/Cx5X1Vvz.js +1 -0
  213. package/dist/871f3f39/D1xWpNbO.js +1 -0
  214. package/dist/871f3f39/D3YMKsRk.js +1 -0
  215. package/dist/871f3f39/D6g3V5OE.js +1 -0
  216. package/dist/871f3f39/DcqjrN7k.js +1 -0
  217. package/dist/871f3f39/QBqrZxtz.js +1 -0
  218. package/dist/871f3f39/kgYqEVK1.js +1 -0
  219. package/dist/871f3f39/lTtOC6ek.js +1 -0
  220. package/dist/871f3f39/po68uTxW.js +1 -0
  221. package/dist/9477dda6/CFyCv-GB.js +1 -0
  222. package/dist/9477dda6/DIoDs5M_.js +1 -0
  223. package/dist/9f80922e/5XFiGZsG.js +1 -0
  224. package/dist/BWkMrHuo.js +1 -0
  225. package/dist/DJSe7osj.js +1 -0
  226. package/dist/abe2c417/B1Ewpect.js +1 -0
  227. package/dist/abe2c417/BqnwMeCy.js +1 -0
  228. package/dist/abe2c417/C0G57Pwe.js +1 -0
  229. package/dist/abe2c417/CEB_j614.js +1 -0
  230. package/dist/abe2c417/CLABtmwy.js +1 -0
  231. package/dist/abe2c417/CNiL-ChU.js +1 -0
  232. package/dist/abe2c417/CV67ztVb.js +1 -0
  233. package/dist/abe2c417/CaWcWRhY.js +1 -0
  234. package/dist/abe2c417/CoVXKJh5.js +1 -0
  235. package/dist/abe2c417/DBb4G-HP.js +1 -0
  236. package/dist/abe2c417/DCY3ehAH.js +1 -0
  237. package/dist/abe2c417/DKWvNL0q.js +1 -0
  238. package/dist/abe2c417/DT_whRfi.js +1 -0
  239. package/dist/abe2c417/LXm3t009.js +1 -0
  240. package/dist/abe2c417/Lvd3rf8x.js +1 -0
  241. package/dist/abe2c417/kEG-y8qb.js +1 -0
  242. package/dist/abe2c417/ugzW3tmu.js +1 -0
  243. package/dist/abe2c417/yBBNgsRd.js +1 -0
  244. package/dist/d58efc4e/DtLRjtgg.js +1 -0
  245. package/dist/fbc6c1d4/D5cBvB9j.js +1 -0
  246. package/dist/fd7f274b/BG5oN9EM.js +1 -0
  247. package/dist/fd7f274b/BobTe5_-.js +1 -0
  248. package/dist/fd7f274b/Bq2MX2tN.js +1 -0
  249. package/dist/fd7f274b/C0kwc9km.js +1 -0
  250. package/dist/fd7f274b/CpGOV-2E.js +1 -0
  251. package/dist/fd7f274b/CsgOaYTS.js +1 -0
  252. package/dist/fd7f274b/D24GT5y1.js +1 -0
  253. package/dist/fd7f274b/ST9KOcsE.js +1 -0
  254. package/dist/fd7f274b/npvNsAoI.js +1 -0
  255. package/dist/index.js +1 -0
  256. package/dist/types/0274021b/47a09c7e.d.ts +4 -0
  257. package/dist/types/0d45f5fd/000288c6.d.ts +22 -0
  258. package/dist/types/0d45f5fd/02800656.d.ts +17 -0
  259. package/dist/types/0d45f5fd/0fb8754a.d.ts +77 -0
  260. package/dist/types/0d45f5fd/13052334.d.ts +62 -0
  261. package/dist/types/0d45f5fd/1428ba3f.d.ts +3 -0
  262. package/dist/types/0d45f5fd/1c59aca9.d.ts +302 -0
  263. package/dist/types/0d45f5fd/262b0493.d.ts +21 -0
  264. package/dist/types/0d45f5fd/2881a088.d.ts +26 -0
  265. package/dist/types/0d45f5fd/496c2854.d.ts +14 -0
  266. package/dist/types/0d45f5fd/4b41f653.d.ts +15 -0
  267. package/dist/types/0d45f5fd/4ced2577.d.ts +28 -0
  268. package/dist/types/0d45f5fd/4db5cc33.d.ts +165 -0
  269. package/dist/types/0d45f5fd/4dd6b41d.d.ts +80 -0
  270. package/dist/types/0d45f5fd/5c6ee442.d.ts +24 -0
  271. package/dist/types/0d45f5fd/60dffdb5.d.ts +57 -0
  272. package/dist/types/0d45f5fd/6559a8c1.d.ts +104 -0
  273. package/dist/types/0d45f5fd/6d626690.d.ts +66 -0
  274. package/dist/types/0d45f5fd/78464d38.d.ts +189 -0
  275. package/dist/types/0d45f5fd/7932a0bf.d.ts +28 -0
  276. package/dist/types/0d45f5fd/7ec9eec1.d.ts +28 -0
  277. package/dist/types/0d45f5fd/885b723d.d.ts +59 -0
  278. package/dist/types/0d45f5fd/8e161648.d.ts +67 -0
  279. package/dist/types/0d45f5fd/8e609bb7.d.ts +1 -0
  280. package/dist/types/0d45f5fd/93c2615f.d.ts +27 -0
  281. package/dist/types/0d45f5fd/96fd122b.d.ts +24 -0
  282. package/dist/types/0d45f5fd/9a2c73cf.d.ts +365 -0
  283. package/dist/types/0d45f5fd/a1a2ec11.d.ts +142 -0
  284. package/dist/types/0d45f5fd/a45e63d6.d.ts +4 -0
  285. package/dist/types/0d45f5fd/a73ae28b.d.ts +48 -0
  286. package/dist/types/0d45f5fd/b5020a96.d.ts +36 -0
  287. package/dist/types/0d45f5fd/b528e7a2.d.ts +81 -0
  288. package/dist/types/0d45f5fd/ba35bfca.d.ts +36 -0
  289. package/dist/types/0d45f5fd/d453df06.d.ts +34 -0
  290. package/dist/types/0d45f5fd/d9b4a449.d.ts +316 -0
  291. package/dist/types/0d45f5fd/da7f739f/06cc432b/06650bfd.d.ts +13 -0
  292. package/dist/types/0d45f5fd/da7f739f/06cc432b/228cff9f.d.ts +13 -0
  293. package/dist/types/0d45f5fd/da7f739f/06cc432b/2a8ae20e.d.ts +13 -0
  294. package/dist/types/0d45f5fd/da7f739f/06cc432b/3110d02c.d.ts +13 -0
  295. package/dist/types/0d45f5fd/da7f739f/06cc432b/3d168b1c.d.ts +22 -0
  296. package/dist/types/0d45f5fd/da7f739f/06cc432b/4650afb2.d.ts +13 -0
  297. package/dist/types/0d45f5fd/da7f739f/06cc432b/483335d4.d.ts +37 -0
  298. package/dist/types/0d45f5fd/da7f739f/06cc432b/5173b4f0.d.ts +26 -0
  299. package/dist/types/0d45f5fd/da7f739f/06cc432b/539f31f2.d.ts +25 -0
  300. package/dist/types/0d45f5fd/da7f739f/06cc432b/546ed991.d.ts +43 -0
  301. package/dist/types/0d45f5fd/da7f739f/06cc432b/5f1c4d9b.d.ts +48 -0
  302. package/dist/types/0d45f5fd/da7f739f/06cc432b/8db0fea5.d.ts +15 -0
  303. package/dist/types/0d45f5fd/da7f739f/06cc432b/a10395b5.d.ts +13 -0
  304. package/dist/types/0d45f5fd/da7f739f/06cc432b/aabb6337.d.ts +13 -0
  305. package/dist/types/0d45f5fd/da7f739f/06cc432b/b16083fb.d.ts +29 -0
  306. package/dist/types/0d45f5fd/da7f739f/06cc432b/b5784cae.d.ts +38 -0
  307. package/dist/types/0d45f5fd/da7f739f/06cc432b/b69d1169.d.ts +13 -0
  308. package/dist/types/0d45f5fd/da7f739f/06cc432b/b9a7f4ad.d.ts +20 -0
  309. package/dist/types/0d45f5fd/da7f739f/06cc432b/c794fb87.d.ts +27 -0
  310. package/dist/types/0d45f5fd/da7f739f/06cc432b/d1eb6a2a.d.ts +40 -0
  311. package/dist/types/0d45f5fd/da7f739f/06cc432b/d5ee1c94.d.ts +36 -0
  312. package/dist/types/0d45f5fd/da7f739f/06cc432b/d6e89c7c.d.ts +13 -0
  313. package/dist/types/0d45f5fd/da7f739f/06cc432b/d8b70efb.d.ts +13 -0
  314. package/dist/types/0d45f5fd/da7f739f/06cc432b/e2a08a0c.d.ts +27 -0
  315. package/dist/types/0d45f5fd/da7f739f/079fe83d.d.ts +14 -0
  316. package/dist/types/0d45f5fd/da7f739f/2a1fe862.d.ts +26 -0
  317. package/dist/types/0d45f5fd/da7f739f/2d25ebcf.d.ts +8 -0
  318. package/dist/types/0d45f5fd/da7f739f/3e71dc06.d.ts +4 -0
  319. package/dist/types/0d45f5fd/da7f739f/597ef69e.d.ts +90 -0
  320. package/dist/types/0d45f5fd/da7f739f/a588a26e.d.ts +80 -0
  321. package/dist/types/0d45f5fd/da7f739f/f7427a8d.d.ts +33 -0
  322. package/dist/types/0d45f5fd/da7f739f/fb5fafa3.d.ts +12 -0
  323. package/dist/types/0d45f5fd/ec0a65fc.d.ts +32 -0
  324. package/dist/types/0d45f5fd/ed08a5cd.d.ts +17 -0
  325. package/dist/types/0d45f5fd/ee447758.d.ts +3 -0
  326. package/dist/types/0d45f5fd/f7da2669.d.ts +6 -0
  327. package/dist/types/2ad56231/01dcea55/0a5f3cca.d.ts +26 -0
  328. package/dist/types/2ad56231/01dcea55/1cdf989f.d.ts +13 -0
  329. package/dist/types/2ad56231/01dcea55/344c0cbf.d.ts +12 -0
  330. package/dist/types/2ad56231/01dcea55/3a555783.d.ts +17 -0
  331. package/dist/types/2ad56231/1242ab99/21beedc5.d.ts +53 -0
  332. package/dist/types/2ad56231/1242ab99/7b7754ee.d.ts +12 -0
  333. package/dist/types/2ad56231/1242ab99/abc978a7.d.ts +32 -0
  334. package/dist/types/2ad56231/1242ab99/e5ff734c.d.ts +6 -0
  335. package/dist/types/2ad56231/258b1873/2f33bb8d.d.ts +10 -0
  336. package/dist/types/2ad56231/258b1873/418b84b4.d.ts +5 -0
  337. package/dist/types/2ad56231/258b1873/f476762d.d.ts +56 -0
  338. package/dist/types/2ad56231/2c0a4857/2b466258.d.ts +11 -0
  339. package/dist/types/2ad56231/2d464c7d/55d4f50c.d.ts +8 -0
  340. package/dist/types/2ad56231/2d464c7d/e9a5b7d1.d.ts +4 -0
  341. package/dist/types/2ad56231/3549b002/8f6249d6.d.ts +7 -0
  342. package/dist/types/2ad56231/3549b002/9a52fb7c.d.ts +10 -0
  343. package/dist/types/2ad56231/3b9c358f/00c829a8.d.ts +12 -0
  344. package/dist/types/2ad56231/3b9c358f/298aef08.d.ts +93 -0
  345. package/dist/types/2ad56231/3b9c358f/8e609bb7.d.ts +1 -0
  346. package/dist/types/2ad56231/466e5b9c/b9f2cf40.d.ts +12 -0
  347. package/dist/types/2ad56231/466e5b9c/ba999e69.d.ts +63 -0
  348. package/dist/types/2ad56231/466e5b9c/cf4df18c.d.ts +19 -0
  349. package/dist/types/2ad56231/517bc292.d.ts +4 -0
  350. package/dist/types/2ad56231/54246ca2/ba53415c.d.ts +43 -0
  351. package/dist/types/2ad56231/54246ca2/c766feba.d.ts +38 -0
  352. package/dist/types/2ad56231/54246ca2/ddde299e.d.ts +10 -0
  353. package/dist/types/2ad56231/60be9861/b353ab56.d.ts +6 -0
  354. package/dist/types/2ad56231/618b8c8d/328b7669.d.ts +29 -0
  355. package/dist/types/2ad56231/618b8c8d/f362ec51.d.ts +11 -0
  356. package/dist/types/2ad56231/618b8c8d/febc0d90.d.ts +9 -0
  357. package/dist/types/2ad56231/7f3fa48c/33ac582f.d.ts +14 -0
  358. package/dist/types/2ad56231/7f3fa48c/5319afba.d.ts +93 -0
  359. package/dist/types/2ad56231/7f3fa48c/66bbc22d.d.ts +40 -0
  360. package/dist/types/2ad56231/7f9ba364/09265e63.d.ts +19 -0
  361. package/dist/types/2ad56231/7f9ba364/0ac71637.d.ts +27 -0
  362. package/dist/types/2ad56231/7f9ba364/e4ec6555.d.ts +45 -0
  363. package/dist/types/2ad56231/83b99aea/14bdfadf.d.ts +10 -0
  364. package/dist/types/2ad56231/83b99aea/6244682b.d.ts +4 -0
  365. package/dist/types/2ad56231/83b99aea/fc1f5daa.d.ts +10 -0
  366. package/dist/types/2ad56231/85000c0b/4024111d.d.ts +34 -0
  367. package/dist/types/2ad56231/85000c0b/632c90fb.d.ts +8 -0
  368. package/dist/types/2ad56231/9983e5f2/16ee99b3.d.ts +58 -0
  369. package/dist/types/2ad56231/9983e5f2/587bf67d.d.ts +21 -0
  370. package/dist/types/2ad56231/9983e5f2/9b6e3ed3.d.ts +10 -0
  371. package/dist/types/2ad56231/9ab6b92e.d.ts +41 -0
  372. package/dist/types/2ad56231/9d263798/45449764.d.ts +18 -0
  373. package/dist/types/2ad56231/a7b85550/0024064d.d.ts +51 -0
  374. package/dist/types/2ad56231/a7b85550/656e3fe6.d.ts +5 -0
  375. package/dist/types/2ad56231/a7b85550/c98f53f7.d.ts +8 -0
  376. package/dist/types/2ad56231/ceaf7c2a.d.ts +26 -0
  377. package/dist/types/2ad56231/d065312a.d.ts +8 -0
  378. package/dist/types/2ad56231/e6eaea18/29b1bffc.d.ts +27 -0
  379. package/dist/types/2ad56231/e6eaea18/66d737cb.d.ts +19 -0
  380. package/dist/types/2ad56231/e6eaea18/6f5b7e90.d.ts +9 -0
  381. package/dist/types/2ad56231/e6eaea18/7517017f/7682dd42.d.ts +17 -0
  382. package/dist/types/2ad56231/e938ace2/2f240da4.d.ts +3 -0
  383. package/dist/types/2ad56231/e938ace2/4c4d66e7.d.ts +10 -0
  384. package/dist/types/2ad56231/e938ace2/c2e78ccc.d.ts +52 -0
  385. package/dist/types/2ad56231/ec72b956/d75444a8.d.ts +81 -0
  386. package/dist/types/2ad56231/ec72b956/d8c49f52.d.ts +22 -0
  387. package/dist/types/2ad56231/ec72b956/d96821de.d.ts +8 -0
  388. package/dist/types/2cc49785/048ca935.d.ts +10 -0
  389. package/dist/types/2cc49785/0f9f5cc9.d.ts +17 -0
  390. package/dist/types/2cc49785/1a4ff9f0.d.ts +15 -0
  391. package/dist/types/2cc49785/1fa712bf.d.ts +6 -0
  392. package/dist/types/2cc49785/265711a1.d.ts +11 -0
  393. package/dist/types/2cc49785/290169fd.d.ts +27 -0
  394. package/dist/types/2cc49785/2a1b2f6a.d.ts +25 -0
  395. package/dist/types/2cc49785/30e64fb4.d.ts +3 -0
  396. package/dist/types/2cc49785/35b9365a.d.ts +16 -0
  397. package/dist/types/2cc49785/46f89c68.d.ts +15 -0
  398. package/dist/types/2cc49785/4b7aaf01.d.ts +17 -0
  399. package/dist/types/2cc49785/5442f571.d.ts +20 -0
  400. package/dist/types/2cc49785/55670d06.d.ts +9 -0
  401. package/dist/types/2cc49785/56873654.d.ts +8 -0
  402. package/dist/types/2cc49785/5b00ec2d.d.ts +16 -0
  403. package/dist/types/2cc49785/75f9e41b.d.ts +13 -0
  404. package/dist/types/2cc49785/79c7a4c3.d.ts +9 -0
  405. package/dist/types/2cc49785/abb76582.d.ts +9 -0
  406. package/dist/types/2cc49785/e6eaea18/1228d90a.d.ts +50 -0
  407. package/dist/types/2cc49785/e6eaea18/17392bb9.d.ts +26 -0
  408. package/dist/types/2cc49785/e6eaea18/3fde60ac.d.ts +4 -0
  409. package/dist/types/2cc49785/e6eaea18/7dee4a42.d.ts +29 -0
  410. package/dist/types/2cc49785/e6eaea18/e337a2ef.d.ts +24 -0
  411. package/dist/types/2cc49785/e8dcc4f1.d.ts +28 -0
  412. package/dist/types/46b42b42/df62afb5.d.ts +43 -0
  413. package/dist/types/6610c73e/04f8996d/45843092.d.ts +87 -0
  414. package/dist/types/6610c73e/04f8996d/49f69d48.d.ts +12 -0
  415. package/dist/types/6610c73e/04f8996d/57b46faf.d.ts +67 -0
  416. package/dist/types/6610c73e/04f8996d/a671786c.d.ts +35 -0
  417. package/dist/types/6610c73e/04f8996d/b2dc285c.d.ts +8 -0
  418. package/dist/types/6610c73e/04f8996d/b9b7d6f9.d.ts +1 -0
  419. package/dist/types/6610c73e/09355034/5f5422ae.d.ts +22 -0
  420. package/dist/types/6610c73e/09355034/cec9d8a9.d.ts +6 -0
  421. package/dist/types/6610c73e/108201be/29b7d59c.d.ts +6 -0
  422. package/dist/types/6610c73e/108201be/aba2513d.d.ts +18 -0
  423. package/dist/types/6610c73e/108201be/c917408b.d.ts +9 -0
  424. package/dist/types/6610c73e/2882bf13/1b635431.d.ts +10 -0
  425. package/dist/types/6610c73e/2882bf13/5a5d4923.d.ts +20 -0
  426. package/dist/types/6610c73e/2882bf13/d0680253.d.ts +14 -0
  427. package/dist/types/6610c73e/2a1073a6/13feb6a7.d.ts +36 -0
  428. package/dist/types/6610c73e/2a1073a6/48a99f86.d.ts +6 -0
  429. package/dist/types/6610c73e/2a1073a6/d21224de.d.ts +10 -0
  430. package/dist/types/6610c73e/340a3320/7e87c266.d.ts +9 -0
  431. package/dist/types/6610c73e/340a3320/c0e4e1db.d.ts +13 -0
  432. package/dist/types/6610c73e/3cae9be6/43329c4e.d.ts +17 -0
  433. package/dist/types/6610c73e/3cae9be6/51c12952.d.ts +5 -0
  434. package/dist/types/6610c73e/48e13c1e/493a30cc.d.ts +10 -0
  435. package/dist/types/6610c73e/48e13c1e/62990ad1.d.ts +9 -0
  436. package/dist/types/6610c73e/4b168d88/08e67542.d.ts +17 -0
  437. package/dist/types/6610c73e/4b168d88/413ef4e3.d.ts +80 -0
  438. package/dist/types/6610c73e/4b168d88/d96befb1.d.ts +15 -0
  439. package/dist/types/6610c73e/5e1ecee0/83f47684.d.ts +6 -0
  440. package/dist/types/6610c73e/5e689e2b/08490b99.d.ts +37 -0
  441. package/dist/types/6610c73e/5e689e2b/a01d5c2f.d.ts +17 -0
  442. package/dist/types/6610c73e/5e689e2b/f6474de5.d.ts +13 -0
  443. package/dist/types/6610c73e/6e1815de/1ec1270e.d.ts +11 -0
  444. package/dist/types/6610c73e/6e1815de/cb4e0d9d.d.ts +10 -0
  445. package/dist/types/6610c73e/70e2c566.d.ts +14 -0
  446. package/dist/types/6610c73e/82de49c1/5a8e8a6f.d.ts +1 -0
  447. package/dist/types/6610c73e/82de49c1/a1399ef0.d.ts +17 -0
  448. package/dist/types/6610c73e/87f29211/00282ba1/99f0dde7.d.ts +14 -0
  449. package/dist/types/6610c73e/87f29211/00282ba1/cc85368e.d.ts +14 -0
  450. package/dist/types/6610c73e/87f29211/00282ba1/da49a2f9.d.ts +19 -0
  451. package/dist/types/6610c73e/87f29211/0f8de574/da48b377.d.ts +33 -0
  452. package/dist/types/6610c73e/87f29211/366ce10d.d.ts +1 -0
  453. package/dist/types/6610c73e/87f29211/3681c247/826d0be4.d.ts +25 -0
  454. package/dist/types/6610c73e/87f29211/3681c247/d3e02bcf.d.ts +45 -0
  455. package/dist/types/6610c73e/87f29211/6fd89734/7c0d7562.d.ts +3 -0
  456. package/dist/types/6610c73e/87f29211/87f29211/05219fd0.d.ts +4 -0
  457. package/dist/types/6610c73e/87f29211/87f29211/453ab4b4.d.ts +15 -0
  458. package/dist/types/6610c73e/87f29211/87f29211/8e609bb7.d.ts +1 -0
  459. package/dist/types/6610c73e/87f29211/a9d0df18/16022771.d.ts +118 -0
  460. package/dist/types/6610c73e/87f29211/a9d0df18/326e8c85.d.ts +18 -0
  461. package/dist/types/6610c73e/87f29211/a9d0df18/4ca22be8.d.ts +17 -0
  462. package/dist/types/6610c73e/87f29211/a9d0df18/8e25f6cf.d.ts +3 -0
  463. package/dist/types/6610c73e/87f29211/a9d0df18/fcfbd6d1.d.ts +5 -0
  464. package/dist/types/6610c73e/87f29211/b10ca3c4/805c4d09.d.ts +27 -0
  465. package/dist/types/6610c73e/87f29211/b10ca3c4/f5def7dc.d.ts +25 -0
  466. package/dist/types/6610c73e/87f29211/b10ca3c4/f6334307.d.ts +27 -0
  467. package/dist/types/6610c73e/87f29211/fc973325/1abe9fb9.d.ts +26 -0
  468. package/dist/types/6610c73e/87f29211/fc973325/60e62909.d.ts +9 -0
  469. package/dist/types/6610c73e/87f29211/fc973325/8e609bb7.d.ts +1 -0
  470. package/dist/types/6610c73e/87f29211/fc973325/9c8f6046.d.ts +23 -0
  471. package/dist/types/6610c73e/8a6cead4/40c4faf7.d.ts +8 -0
  472. package/dist/types/6610c73e/b77349bf/2349cc94.d.ts +13 -0
  473. package/dist/types/6610c73e/b77349bf/6d87f127.d.ts +12 -0
  474. package/dist/types/6610c73e/b77349bf/af3f15da.d.ts +29 -0
  475. package/dist/types/6610c73e/b96961ed.d.ts +31 -0
  476. package/dist/types/6610c73e/bbc5e661/1f1e37e4.d.ts +12 -0
  477. package/dist/types/6610c73e/bbc5e661/803a3b35.d.ts +6 -0
  478. package/dist/types/6610c73e/bbc5e661/edfe1989.d.ts +14 -0
  479. package/dist/types/6610c73e/bd5c70f7/cf852c15.d.ts +20 -0
  480. package/dist/types/6610c73e/c374eea5/4f55037c.d.ts +36 -0
  481. package/dist/types/6610c73e/c374eea5/8a8646a7.d.ts +9 -0
  482. package/dist/types/6610c73e/c374eea5/d76ffdee.d.ts +38 -0
  483. package/dist/types/6610c73e/da7f739f/186461ad.d.ts +20 -0
  484. package/dist/types/6610c73e/da7f739f/e016487a.d.ts +45 -0
  485. package/dist/types/6610c73e/f38c764c/4d91b5ee.d.ts +79 -0
  486. package/dist/types/6610c73e/f38c764c/50b90d0c.d.ts +33 -0
  487. package/dist/types/6610c73e/f38c764c/e1fae94b.d.ts +14 -0
  488. package/dist/types/6610c73e/fdeb3389/16152e20.d.ts +103 -0
  489. package/dist/types/6610c73e/fdeb3389/1f95de59.d.ts +19 -0
  490. package/dist/types/6610c73e/fdeb3389/81528d33.d.ts +8 -0
  491. package/dist/types/871f3f39/0de2afa3.d.ts +22 -0
  492. package/dist/types/871f3f39/2bfe94e3.d.ts +13 -0
  493. package/dist/types/871f3f39/2cd973f1.d.ts +7 -0
  494. package/dist/types/871f3f39/4d0fa07f.d.ts +14 -0
  495. package/dist/types/871f3f39/4dbaf1b6.d.ts +19 -0
  496. package/dist/types/871f3f39/4ec64ebc.d.ts +9 -0
  497. package/dist/types/871f3f39/517ae8c6.d.ts +4 -0
  498. package/dist/types/871f3f39/5724033a.d.ts +6 -0
  499. package/dist/types/871f3f39/6a0d07bb.d.ts +7 -0
  500. package/dist/types/871f3f39/7029faf8.d.ts +11 -0
  501. package/dist/types/871f3f39/708e3b90.d.ts +24 -0
  502. package/dist/types/871f3f39/799e57cf.d.ts +6 -0
  503. package/dist/types/871f3f39/7bee220c.d.ts +24 -0
  504. package/dist/types/871f3f39/871a1ed2.d.ts +10 -0
  505. package/dist/types/871f3f39/9341b4c5.d.ts +8 -0
  506. package/dist/types/871f3f39/a05a44ce.d.ts +42 -0
  507. package/dist/types/871f3f39/a1a44bf4.d.ts +18 -0
  508. package/dist/types/871f3f39/a225cc21.d.ts +19 -0
  509. package/dist/types/871f3f39/aa0f851c.d.ts +5 -0
  510. package/dist/types/871f3f39/ab461a4e.d.ts +7 -0
  511. package/dist/types/871f3f39/bdf74ccb.d.ts +23 -0
  512. package/dist/types/871f3f39/c6cb560c.d.ts +20 -0
  513. package/dist/types/871f3f39/e4e56e24.d.ts +35 -0
  514. package/dist/types/871f3f39/f2188d12.d.ts +9 -0
  515. package/dist/types/871f3f39/fd939073.d.ts +17 -0
  516. package/dist/types/9477dda6/6e82db8c.d.ts +19 -0
  517. package/dist/types/9477dda6/99edb198.d.ts +3 -0
  518. package/dist/types/9477dda6/a16c3886.d.ts +27 -0
  519. package/dist/types/9477dda6/a68fa9aa.d.ts +61 -0
  520. package/dist/types/9f80922e/3e32acfa.d.ts +22 -0
  521. package/dist/types/abe2c417/2b7d3deb.d.ts +9 -0
  522. package/dist/types/abe2c417/3237d5fa.d.ts +25 -0
  523. package/dist/types/abe2c417/55c65af8.d.ts +2 -0
  524. package/dist/types/abe2c417/61b22a6d.d.ts +1 -0
  525. package/dist/types/abe2c417/6b4e0f9e.d.ts +10 -0
  526. package/dist/types/abe2c417/7a260fda.d.ts +1 -0
  527. package/dist/types/abe2c417/7e2c18ef.d.ts +12 -0
  528. package/dist/types/abe2c417/84d2a9ed.d.ts +2 -0
  529. package/dist/types/abe2c417/8daabb83.d.ts +8 -0
  530. package/dist/types/abe2c417/8f79089f.d.ts +26 -0
  531. package/dist/types/abe2c417/a39169c6.d.ts +308 -0
  532. package/dist/types/abe2c417/b2732e39.d.ts +1 -0
  533. package/dist/types/abe2c417/dc04a1bd.d.ts +10 -0
  534. package/dist/types/abe2c417/e2fcc201.d.ts +17 -0
  535. package/dist/types/abe2c417/e7055140.d.ts +1 -0
  536. package/dist/types/abe2c417/ee24e24a.d.ts +1 -0
  537. package/dist/types/abe2c417/ef5d95cf.d.ts +44 -0
  538. package/dist/types/abe2c417/f7f8ce4e.d.ts +9 -0
  539. package/dist/types/abe2c417/f9ceab53.d.ts +50 -0
  540. package/dist/types/b7ca7461.d.ts +18 -0
  541. package/dist/types/d58efc4e/0bb17e35.d.ts +2 -0
  542. package/dist/types/d58efc4e/9f2ae4fe.d.ts +11 -0
  543. package/dist/types/d58efc4e/b8cff974.d.ts +3 -0
  544. package/dist/types/fbc6c1d4/80614691.d.ts +23 -0
  545. package/dist/types/fd7f274b/0daaeab3.d.ts +5 -0
  546. package/dist/types/fd7f274b/116d81bf.d.ts +1 -0
  547. package/dist/types/fd7f274b/272670be.d.ts +1 -0
  548. package/dist/types/fd7f274b/396495ab.d.ts +1 -0
  549. package/dist/types/fd7f274b/3c41945d.d.ts +1 -0
  550. package/dist/types/fd7f274b/41af1e6f.d.ts +38 -0
  551. package/dist/types/fd7f274b/4f9e1401.d.ts +4 -0
  552. package/dist/types/fd7f274b/6a4e3ffe.d.ts +9 -0
  553. package/dist/types/fd7f274b/6d8bea2a.d.ts +10 -0
  554. package/dist/types/fd7f274b/83451de8.d.ts +12 -0
  555. package/dist/types/fd7f274b/c5ce5c8f.d.ts +11 -0
  556. package/dist/types/index.d.ts +21 -0
  557. package/external.json +33 -0
  558. package/package.json +110 -0
@@ -0,0 +1,26 @@
1
+ import { EntityManager } from "typeorm";
2
+ export type ServiceProps<T> = {
3
+ manager?: EntityManager;
4
+ } & T;
5
+ export type CreateServiceProps<T> = ServiceProps<{
6
+ data: T;
7
+ }>;
8
+ export type GetByIdServiceProps = ServiceProps<{
9
+ id: number;
10
+ }>;
11
+ export type UpdateByIdServiceProps<T> = ServiceProps<{
12
+ id: number;
13
+ data: T;
14
+ }>;
15
+ export type DeleteByIdServiceProps = ServiceProps<{
16
+ id: number;
17
+ }>;
18
+ export type DeleteByIdServicePropsWithExternalProperties<E> = ServiceProps<{
19
+ id: number;
20
+ } & E>;
21
+ export type CreatedByUser = {
22
+ createdBy: number;
23
+ };
24
+ export type OptionalCreatedByUser = {
25
+ createdBy?: number;
26
+ };
@@ -0,0 +1,308 @@
1
+ /**
2
+ * ================= HASH FUNCTIONS FOR ENTITIES =================
3
+ *
4
+ * 1. hashEntity(entity: any): string
5
+ * ---------------------------------------------------------------
6
+ * - Generates a SHA-256 hash for any object or class instance.
7
+ * - Converts class instances to plain objects including prototype methods.
8
+ * - Recursively sorts object keys for deterministic output.
9
+ * - Sensitive to changes in property values and method code.
10
+ *
11
+ * Usage:
12
+ * - Suitable for general objects or class instances where you want to detect any change.
13
+ * - Can be used for caching, diffing, or content-based IDs.
14
+ *
15
+ * 2. safeHashEntity(entity: any): string
16
+ * ---------------------------------------------------------------
17
+ * - Generates a SHA-256 hash for objects or class instances in a "safe" way.
18
+ * - Handles circular references using WeakSet.
19
+ * - Serializes functions by their full code (spaces removed).
20
+ * - Includes both own properties and prototype methods.
21
+ *
22
+ * Usage:
23
+ * - Safe hashing for complex objects with circular references.
24
+ * - Suitable for general-purpose object comparison and caching where functions matter.
25
+ *
26
+ * 3. safeSoftHashEntity(entity: any): string
27
+ * ---------------------------------------------------------------
28
+ * - Generates a SHA-256 hash but ignores actual function code.
29
+ * - Functions are represented only by their name and number of declared parameters.
30
+ * - Ignores private fields (fields starting with '#').
31
+ * - Captures prototype method names and parameter counts (not implementation).
32
+ *
33
+ * Usage:
34
+ * - "Soft" structural hashing where function implementation changes should not affect hash.
35
+ * - Useful for versioning APIs, class structures, or database entity schema comparisons.
36
+ * - More stable and tolerant to minor implementation changes.
37
+ *
38
+ * 4. hashSoftDbEntityClass(cls: Function): string
39
+ * ---------------------------------------------------------------
40
+ * - Generates a SHA-256 hash specifically for TypeORM entity classes.
41
+ * - Includes entity metadata: columns, primary keys, relations, join columns, uniques, indices, checks.
42
+ * - Includes enum values for columns of type enum.
43
+ * - Ignores runtime values of instances; purely schema-based.
44
+ *
45
+ * Usage:
46
+ * - Ideal for detecting schema changes in database entities.
47
+ * - Can be used to detect structural changes in TypeORM models without touching the database.
48
+ * - More stable for migrations, schema versioning, or soft equality checks between entity classes.
49
+ *
50
+ *
51
+ *
52
+ *
53
+ *
54
+ * | Function Name | What it Hashes | Sensitivity / Notes | Usage / When to Use |
55
+ * |--------------------------|-----------------------------------------------|------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------|
56
+ * | hashEntity | Any object or class instance | Sensitive to property values and method code | General objects or class instances, content-based IDs, caching, diffing |
57
+ * | safeHashEntity | Any object or class instance (safe) | Handles circular references, serializes functions by full code | Complex objects with circular references, comparison, caching where function code matters |
58
+ * | safeSoftHashEntity | Any object or class instance (soft) | Ignores actual function code; uses function name + parameter count; ignores private fields | Structural / API / class versioning; stable across implementation changes |
59
+ * | hashSoftDbEntityClass | TypeORM entity class metadata | Includes columns, primary keys, relations, join columns, uniques, indices, checks; includes enum values | Detect schema changes in TypeORM models; migration tracking; soft equality of entity classes |
60
+ *
61
+ *
62
+ *
63
+ */
64
+ /**
65
+ * hashEntity
66
+ * --------------------------
67
+ * Generate a stable SHA-256 hash for any JavaScript object, class instance, or primitive.
68
+ *
69
+ * Features:
70
+ * 1. **Primitives**:
71
+ * - Numbers, strings, booleans, null, and undefined are directly converted to string
72
+ * (spaces removed) and hashed.
73
+ *
74
+ * 2. **Objects**:
75
+ * - Plain objects are recursively traversed.
76
+ * - Object keys are **sorted** to ensure deterministic output regardless of insertion order.
77
+ * - Arrays are recursively processed without reordering elements.
78
+ *
79
+ * 3. **Class instances**:
80
+ * - Converted to a plain object using `instanceToObject`.
81
+ * - Includes both **own properties** (enumerable and non-enumerable) and
82
+ * **prototype methods** (excluding constructor).
83
+ * - Prototype methods are serialized as strings via `.toString()`.
84
+ *
85
+ * 4. **Stable hashing**:
86
+ * - Sorting object keys and including prototype methods ensures that two
87
+ * structurally identical entities produce the same hash.
88
+ *
89
+ * 5. **Hashing algorithm**:
90
+ * - Uses SHA-256 and outputs a hexadecimal string.
91
+ *
92
+ * Example usage:
93
+ * ```ts
94
+ * class User {
95
+ * id: number;
96
+ * name: string;
97
+ * greet(msg: string) { console.log(msg); }
98
+ * }
99
+ *
100
+ * const hash = hashEntity(User);
101
+ * console.log(hash); // deterministic hash of User's structure
102
+ * ```
103
+ *
104
+ * Notes:
105
+ * - Hash is **structure + method code sensitive**, so changes to function bodies will change the hash.
106
+ * - Suitable for comparing objects, entity classes, or instances for exact structural equivalence.
107
+ *
108
+ * @param entity - Object, class instance, or primitive to hash.
109
+ * @returns SHA-256 hexadecimal hash representing the entity.
110
+ */
111
+ export declare function hashEntity(entity: any): string;
112
+ /**
113
+ * safeHashEntity
114
+ * --------------------------
115
+ * Generates a stable, universal hash for a given JavaScript object, class instance, or function.
116
+ * Designed to handle complex structures, including nested objects, class prototypes, and circular references.
117
+ * Useful for comparing entity definitions, caching, or detecting structural changes.
118
+ *
119
+ * Features:
120
+ * 1. **Handles primitives and functions**:
121
+ * - Primitives (string, number, boolean, null, undefined) are hashed directly.
122
+ * - Functions are converted to their string representation (whitespace removed) for stable hashing.
123
+ *
124
+ * 2. **Traverses nested objects**:
125
+ * - Recursively serializes all properties of objects.
126
+ * - Handles circular references safely using a WeakSet (`[Circular]` placeholder).
127
+ *
128
+ * 3. **Includes prototype methods**:
129
+ * - All non-constructor methods on the prototype chain (excluding `Object.prototype`) are serialized.
130
+ * - Ensures class methods contribute to the hash, allowing detection of structural changes in classes.
131
+ *
132
+ * 4. **Error-resilient**:
133
+ * - If a property cannot be accessed, a placeholder `[unreadable:<key>]` is stored.
134
+ *
135
+ * 5. **Stable JSON serialization**:
136
+ * - Object keys are sorted before stringification to guarantee consistent hash output.
137
+ *
138
+ * 6. **SHA256 hash output**:
139
+ * - Produces a 64-character hexadecimal SHA256 hash representing the full structure of the entity.
140
+ *
141
+ * Usage example:
142
+ * ```ts
143
+ * class MyEntity {
144
+ * foo = 123;
145
+ * bar() { return "hello"; }
146
+ * }
147
+ * const hash = safeHashEntity(MyEntity);
148
+ * console.log(hash); // stable hash string
149
+ * ```
150
+ *
151
+ * Notes:
152
+ * - Designed for **structural comparison**, not cryptographic security.
153
+ * - Ideal for TypeORM entities or other classes where schema or structure changes need tracking.
154
+ * - Can handle circular references safely.
155
+ *
156
+ * @param entity - The object, class, or instance to hash.
157
+ * @returns A stable SHA256 hash string representing the structure and methods of the input.
158
+ */
159
+ export declare function safeHashEntity(entity: any): string;
160
+ /**
161
+ * safeSoftHashEntity
162
+ * --------------------------
163
+ * Generates a "soft" or approximate hash for a JavaScript object, class instance, or function.
164
+ * Unlike a deep hash, this function only captures the **structure and shape** of an object,
165
+ * rather than exact values. Useful for detecting structural changes in entities, classes,
166
+ * or schemas without being sensitive to runtime data or minor value differences.
167
+ *
168
+ * Features:
169
+ * 1. **Primitives**:
170
+ * - Numbers, strings, booleans, null, and undefined are returned directly.
171
+
172
+ * 2. **Functions**:
173
+ * - Only function name and declared parameter count are considered.
174
+ * - Ignores function body, default values, or closures.
175
+ * - Represented as `{ __fn__: true, name: <name>, params: <number> }`.
176
+
177
+ * 3. **Objects**:
178
+ * - Own enumerable and non-enumerable properties are included.
179
+ * - Ignores private fields (those starting with `#`).
180
+ * - Property values are replaced with `{ __prop__: true }` to capture structure, not content.
181
+
182
+ * 4. **Prototype methods**:
183
+ * - Includes all non-constructor prototype functions.
184
+ * - Ignores private methods (`#` prefixed).
185
+ * - Captured as `__protoMethods__ = [{ name, params }]`.
186
+
187
+ * 5. **Circular references**:
188
+ * - Safely handled using a `WeakSet`.
189
+ * - Circular references are replaced with the string `[Circular]`.
190
+
191
+ * 6. **Stable serialization**:
192
+ * - Object keys are sorted to guarantee a consistent hash regardless of property insertion order.
193
+ * - JSON.stringify uses a custom replacer to enforce stable key ordering.
194
+
195
+ * 7. **Hashing**:
196
+ * - Produces a 64-character SHA256 hexadecimal hash.
197
+ * - Suitable for comparing entity shapes, class definitions, or object structures.
198
+
199
+ *
200
+ * Example usage:
201
+ * ```ts
202
+ * class User {
203
+ * id: number;
204
+ * name: string;
205
+ * greet(msg: string) { console.log(msg); }
206
+ * }
207
+ *
208
+ * const hash = safeSoftHashEntity(User);
209
+ * console.log(hash); // stable structural hash
210
+ * ```
211
+ *
212
+ * Notes:
213
+ * - **Soft hash** ignores actual property values—only structure and function signatures matter.
214
+ * - Ideal for plugin system validation, or structural comparison.
215
+ * - Not meant for cryptographic security or detecting runtime data changes.
216
+ *
217
+ * @param entity - The object, class, or instance to hash structurally.
218
+ * @returns A SHA256 hexadecimal hash representing the structure of the input.
219
+ */
220
+ export declare function safeSoftHashEntity(entity: any): string;
221
+ /**
222
+ * hashSoftDbEntityClass
223
+ * --------------------------
224
+ * Generate a stable SHA-256 hash for a TypeORM entity class.
225
+ *
226
+ * This function inspects the entity class metadata from TypeORM's
227
+ * internal `getMetadataArgsStorage()` and builds a deterministic
228
+ * hash based on its structure and configuration.
229
+ *
230
+ * Features:
231
+ * 1. **Entity / Table**
232
+ * - Table name, type (`regular` | `view` | `entity-child`), orderBy,
233
+ * inheritance pattern, parent entity name.
234
+ *
235
+ * 2. **Columns**
236
+ * - Includes column name, type, enum values, nullability, uniqueness,
237
+ * length, width, precision, scale, default value, primary key flag,
238
+ * generated strategy, transformer presence.
239
+ *
240
+ * 3. **Embedded columns**
241
+ * - Includes property name, prefix, and type of embedded objects.
242
+ *
243
+ * 4. **Relations**
244
+ * - Includes relation type (`OneToOne`, `ManyToOne`, `OneToMany`, `ManyToMany`),
245
+ * target entity name, cascade, eager loading, nullable, onDelete/onUpdate behavior,
246
+ * join columns, and join table info.
247
+ *
248
+ * 5. **Relation IDs and counts**
249
+ * - Includes `@RelationId` and `@RelationCount` metadata.
250
+ *
251
+ * 6. **Unique constraints**
252
+ * - All `@Unique` decorators are considered.
253
+ * - Supports array or function-based column definitions.
254
+ *
255
+ * 7. **Indices**
256
+ * - All `@Index` decorators are included.
257
+ * - Supports array or function-based column definitions.
258
+ * - Tracks spatial and fulltext flags for Postgres.
259
+ *
260
+ * 8. **Checks**
261
+ * - Includes all `@Check` decorators with their expressions.
262
+ *
263
+ * 9. **Exclusions**
264
+ * - Includes Postgres `@Exclusion` decorators and expressions.
265
+ *
266
+ * 10. **Tree metadata**
267
+ * - Detects tree type (`closure-table`, `nested-set`, `materialized-path`).
268
+ * - Tracks tree children, tree parent, and tree level columns.
269
+ *
270
+ * 11. **Views**
271
+ * - Detects if entity is a `@ViewEntity`.
272
+ * - Includes table name, view expression, and view columns with expressions.
273
+ *
274
+ * 12. **Entity listeners**
275
+ * - Captures `@BeforeInsert`, `@AfterLoad`, etc., with property names.
276
+ *
277
+ * 13. **Deterministic output**
278
+ * - Arrays and object keys are sorted consistently.
279
+ * - Ensures that two entity classes with identical structures always produce the same hash.
280
+ *
281
+ * Use Cases:
282
+ * - Detect changes to entity structure without connecting to the database.
283
+ * - Useful for migration checks, versioning, plugin systems, or caching schemas.
284
+ *
285
+ * Example:
286
+ * ```ts
287
+ * @Entity()
288
+ * class User {
289
+ * @PrimaryGeneratedColumn()
290
+ * id: number;
291
+ *
292
+ * @Column()
293
+ * name: string;
294
+ * }
295
+ *
296
+ * const hash = hashSoftDbEntityClass(User);
297
+ * console.log(hash); // deterministic SHA-256 hash of User entity
298
+ * ```
299
+ *
300
+ * Notes:
301
+ * - Any change in column options, relations, indices, checks, tree structure,
302
+ * view expression, or listeners will change the hash.
303
+ * - Enum value changes are included in the hash (`enumValues`).
304
+ *
305
+ * @param cls - TypeORM entity class constructor (Function)
306
+ * @returns SHA-256 hexadecimal hash representing the entity structure
307
+ */
308
+ export declare function hashSoftDbEntityClass(cls: Function): string;
@@ -0,0 +1 @@
1
+ export declare function getFolderSize(folder: string): Promise<number>;
@@ -0,0 +1,10 @@
1
+ export declare function getAppDataFolder(): string | undefined;
2
+ export declare function getAppTempDataFolder(): string;
3
+ export declare function getPluginDataFolder(pluginName: string): string;
4
+ export declare function getPluginAssetFolder(pluginName: string, version: string): string;
5
+ export declare const AppFolder: {
6
+ getPluginAssetFolder: typeof getPluginAssetFolder;
7
+ getPluginDataFolder: typeof getPluginDataFolder;
8
+ getAppTempDataFolder: typeof getAppTempDataFolder;
9
+ getAppDataFolder: typeof getAppDataFolder;
10
+ };
@@ -0,0 +1,17 @@
1
+ import jwt from "jsonwebtoken";
2
+ export declare function signAccessToken(payload: object): string;
3
+ export declare function signRefreshToken(payload: object): string;
4
+ export declare function verifyAccessToken(token: string): {
5
+ valid: boolean;
6
+ payload: any;
7
+ error: any;
8
+ };
9
+ export declare function verifyRefreshToken(token: string, type?: 'raw-cookie' | 'token'): {
10
+ valid: boolean;
11
+ payload: string | jwt.JwtPayload;
12
+ error?: undefined;
13
+ } | {
14
+ valid: boolean;
15
+ error: unknown;
16
+ payload?: undefined;
17
+ };
@@ -0,0 +1 @@
1
+ export declare function waitFor(duration?: number): Promise<unknown>;
@@ -0,0 +1 @@
1
+ export declare function isClass(value: any): boolean;
@@ -0,0 +1,44 @@
1
+ type NestedStringRecord = {
2
+ [key: string]: string | NestedStringRecord;
3
+ };
4
+ type MappedNestedStringRecord<T> = {
5
+ [K in keyof T]: T[K] extends string ? string : T[K] extends NestedStringRecord ? MappedNestedStringRecord<T[K]> : never;
6
+ };
7
+ export declare function buildCacheKeys<T extends NestedStringRecord>(props: {
8
+ prefix: string;
9
+ type: 'controller' | 'service';
10
+ keys: T;
11
+ }): MappedNestedStringRecord<T>;
12
+ export declare const CORE_CONTROLLER_CACHE_KEYS: MappedNestedStringRecord<{
13
+ USER: string;
14
+ ROLE: string;
15
+ ROLE_BY_USER: string;
16
+ PERMISSION: string;
17
+ PERMISSION_ROLE: string;
18
+ API_DOCS: string;
19
+ AUDIT_LOG: string;
20
+ AI_ASSISTANT: string;
21
+ AI_MODEL: string;
22
+ AI_TOOL: string;
23
+ DATA_GRID: string;
24
+ }>;
25
+ export declare const CORE_SERVICE_CACHE_KEYS: MappedNestedStringRecord<{
26
+ ENV: string;
27
+ USER: string;
28
+ }>;
29
+ export declare const CONTROLLER_CACHE_KEYS: MappedNestedStringRecord<{
30
+ UOC: string;
31
+ UOM: string;
32
+ UNIT_CATEGORY: string;
33
+ TAG: string;
34
+ NOTIFICATION: string;
35
+ DEVELOPER_CONFIG: string;
36
+ CURRENCY_EXCHANGE: string;
37
+ CURRENCY: string;
38
+ BRANCH: string;
39
+ PARTNER: string;
40
+ }>;
41
+ export declare const SERVICE_CACHE_KEYS: MappedNestedStringRecord<{
42
+ CHANGE_LOG: string;
43
+ }>;
44
+ export {};
@@ -0,0 +1,9 @@
1
+ export declare class Version {
2
+ /**
3
+ * Check if an installed version satisfies the required version
4
+ * @param installedVersion - version of the installed plugin, e.g., "0.0.1"
5
+ * @param requiredVersion - version requirement, e.g., "^1.0.0"
6
+ * @returns boolean
7
+ */
8
+ static checkVersion(installedVersion: string, requiredVersion: string): boolean;
9
+ }
@@ -0,0 +1,50 @@
1
+ export declare enum HttpStatus {
2
+ CONTINUE = 100,
3
+ SWITCHING_PROTOCOLS = 101,
4
+ PROCESSING = 102,
5
+ EARLYHINTS = 103,
6
+ OK = 200,
7
+ CREATED = 201,
8
+ ACCEPTED = 202,
9
+ NON_AUTHORITATIVE_INFORMATION = 203,
10
+ NO_CONTENT = 204,
11
+ RESET_CONTENT = 205,
12
+ PARTIAL_CONTENT = 206,
13
+ AMBIGUOUS = 300,
14
+ MOVED_PERMANENTLY = 301,
15
+ FOUND = 302,
16
+ SEE_OTHER = 303,
17
+ NOT_MODIFIED = 304,
18
+ TEMPORARY_REDIRECT = 307,
19
+ PERMANENT_REDIRECT = 308,
20
+ BAD_REQUEST = 400,
21
+ UNAUTHORIZED = 401,
22
+ PAYMENT_REQUIRED = 402,
23
+ FORBIDDEN = 403,
24
+ NOT_FOUND = 404,
25
+ METHOD_NOT_ALLOWED = 405,
26
+ NOT_ACCEPTABLE = 406,
27
+ PROXY_AUTHENTICATION_REQUIRED = 407,
28
+ REQUEST_TIMEOUT = 408,
29
+ CONFLICT = 409,
30
+ GONE = 410,
31
+ LENGTH_REQUIRED = 411,
32
+ PRECONDITION_FAILED = 412,
33
+ PAYLOAD_TOO_LARGE = 413,
34
+ URI_TOO_LONG = 414,
35
+ UNSUPPORTED_MEDIA_TYPE = 415,
36
+ REQUESTED_RANGE_NOT_SATISFIABLE = 416,
37
+ EXPECTATION_FAILED = 417,
38
+ I_AM_A_TEAPOT = 418,
39
+ MISDIRECTED = 421,
40
+ UNPROCESSABLE_ENTITY = 422,
41
+ FAILED_DEPENDENCY = 424,
42
+ PRECONDITION_REQUIRED = 428,
43
+ TOO_MANY_REQUESTS = 429,
44
+ INTERNAL_SERVER_ERROR = 500,
45
+ NOT_IMPLEMENTED = 501,
46
+ BAD_GATEWAY = 502,
47
+ SERVICE_UNAVAILABLE = 503,
48
+ GATEWAY_TIMEOUT = 504,
49
+ HTTP_VERSION_NOT_SUPPORTED = 505
50
+ }
@@ -0,0 +1,18 @@
1
+ export declare function backupDB({ dbName, user, password, host, // database container name
2
+ port, backupFile }?: {
3
+ dbName?: string | undefined;
4
+ user?: string | undefined;
5
+ password?: string | undefined;
6
+ host?: string | undefined;
7
+ port?: number | undefined;
8
+ backupFile?: string | undefined;
9
+ }): Promise<unknown>;
10
+ export declare function importDB({ dbName, user, password, host, // database container name
11
+ port, backupFile }?: {
12
+ dbName?: string | undefined;
13
+ user?: string | undefined;
14
+ password?: string | undefined;
15
+ host?: string | undefined;
16
+ port?: number | undefined;
17
+ backupFile?: string | undefined;
18
+ }): Promise<unknown>;
@@ -0,0 +1,2 @@
1
+ import { InitialMigrations } from "./9f2ae4fe.js";
2
+ export declare const BuiltinMigrations: (typeof InitialMigrations)[];
@@ -0,0 +1,11 @@
1
+ import { IDatabaseMigration } from '@quan-erp/shared-types';
2
+ import { QueryRunner } from 'typeorm';
3
+ export declare class InitialMigrations implements IDatabaseMigration {
4
+ getName(): string;
5
+ up(queryRunner: QueryRunner): Promise<void>;
6
+ down(queryRunner: QueryRunner): Promise<void>;
7
+ getSource(): {
8
+ plugin: string;
9
+ name: string;
10
+ };
11
+ }
@@ -0,0 +1,3 @@
1
+ import "reflect-metadata";
2
+ import { DataSource } from "typeorm";
3
+ export declare const AppDataSource: DataSource;
@@ -0,0 +1,23 @@
1
+ import { DataSource } from "typeorm";
2
+ export type KeyStore = {
3
+ [key: string]: any;
4
+ [key: number]: any;
5
+ };
6
+ export interface AppContext {
7
+ get(name: string): void;
8
+ set<T>(name: string, value: T): void;
9
+ getDatabase(): DatabaseDetail;
10
+ }
11
+ export interface DatabaseDetail {
12
+ registerEntity(entities: any[]): void;
13
+ getDataSource(): DataSource | null;
14
+ }
15
+ export declare class Context implements AppContext {
16
+ private store;
17
+ private readonly datasource?;
18
+ private readonly queue?;
19
+ constructor(datasource?: DataSource, queue?: any);
20
+ get(name: string): any;
21
+ set<T>(name: string, value: T): void;
22
+ getDatabase(): DatabaseDetail;
23
+ }
@@ -0,0 +1,5 @@
1
+ export * from "./272670be.js";
2
+ export * from "./396495ab.js";
3
+ export * from "./3c41945d.js";
4
+ export * from "./4f9e1401.js";
5
+ export { CheckAPIPermission } from "./83451de8.js";
@@ -0,0 +1 @@
1
+ export declare function UatOnly(): ClassDecorator & MethodDecorator;
@@ -0,0 +1 @@
1
+ export declare function AuthenticatedUserOnly(): MethodDecorator & ClassDecorator;
@@ -0,0 +1 @@
1
+ export declare function DevelopmentOnly(): ClassDecorator & MethodDecorator;
@@ -0,0 +1 @@
1
+ export declare function OwnerOnly(): ClassDecorator & MethodDecorator;
@@ -0,0 +1,38 @@
1
+ /**
2
+ * Decorator to validate request bodies against a specified DTO class.
3
+ * Can be applied to a controller class (all routes) or individual route methods.
4
+ *
5
+ * @param {new (...args: any[]) => any} DTOClass - The class to use for validation.
6
+ * Must be a class decorated with class-validator decorators.
7
+ *
8
+ * @returns {MethodDecorator & ClassDecorator} A decorator that applies validation middleware
9
+ * before the route handler executes.
10
+ *
11
+ * @example
12
+ * ```ts
13
+ * import { IsString, IsEmail } from 'class-validator';
14
+ *
15
+ * class CreateUserDTO {
16
+ * @IsString()
17
+ * name: string;
18
+ *
19
+ * @IsEmail()
20
+ * email: string;
21
+ * }
22
+ *
23
+ * @Validate(CreateUserDTO)
24
+ * class UserController {
25
+ * create(req: Request, res: Response) {
26
+ * // req.body is now a validated CreateUserDTO instance
27
+ * }
28
+ * }
29
+ * ```
30
+ *
31
+ * @remarks
32
+ * - Uses `class-transformer` to convert plain object into DTO instance.
33
+ * - Responds with HTTP 400 if validation fails, including the list of property errors.
34
+ * - Replaces `req.body` with the validated DTO instance.
35
+ * - Responds with HTTP 500 if an unexpected error occurs during validation.
36
+ * - Internally uses the `Middleware` decorator with `MiddlewarePosition.BEFORE_ROUTE`.
37
+ */
38
+ export declare function Validate(DTOClass: new (...args: any[]) => any, callback: (body: any) => any): MethodDecorator & ClassDecorator;
@@ -0,0 +1,4 @@
1
+ import express from 'express';
2
+ type Handler = (req: express.Request) => string;
3
+ export declare function AuditLogMiddleware(action: string | Handler): ClassDecorator & MethodDecorator;
4
+ export {};
@@ -0,0 +1,9 @@
1
+ import { Request, Response, NextFunction } from "express";
2
+ import { IExpressMiddleware } from "../0d45f5fd/6559a8c1.js";
3
+ import { Loggable } from "../0d45f5fd/4dd6b41d.js";
4
+ import { APIAccessTokenService } from "../6610c73e/2882bf13/5a5d4923.js";
5
+ export declare class ResolveUserMiddleware implements IExpressMiddleware {
6
+ logger: Loggable;
7
+ apiAccessTokenService: APIAccessTokenService;
8
+ handler(req: Request, res: Response, next: NextFunction): Promise<void>;
9
+ }
@@ -0,0 +1,10 @@
1
+ import { Request, Response, NextFunction } from "express";
2
+ import { IExpressMiddleware } from "../0d45f5fd/6559a8c1.js";
3
+ import { DeveloperConfigService } from "../2ad56231/ceaf7c2a.js";
4
+ import { Loggable } from "../0d45f5fd/4dd6b41d.js";
5
+ export declare class SubscriptionMiddleware implements IExpressMiddleware {
6
+ developerConfigService: DeveloperConfigService;
7
+ logger: Loggable;
8
+ handler(req: Request, res: Response, next: NextFunction): Promise<void>;
9
+ }
10
+ export declare function isSubscriptionExpired(expireDate?: Date, graceDays?: number): boolean;
@@ -0,0 +1,12 @@
1
+ import { Request, Response, NextFunction } from "express";
2
+ import { IExpressMiddleware } from "../0d45f5fd/6559a8c1.js";
3
+ import { Loggable } from "../0d45f5fd/4dd6b41d.js";
4
+ export declare class ApiPermissionMiddlewareFilter implements IExpressMiddleware {
5
+ logger: Loggable;
6
+ private permissionService;
7
+ private temporaryAPIAccessService;
8
+ private get app();
9
+ handler(req: Request, res: Response, next: NextFunction): Promise<void | Response<any, Record<string, any>>>;
10
+ private isPreflight;
11
+ }
12
+ export declare function CheckAPIPermission(): ClassDecorator & MethodDecorator;
@@ -0,0 +1,11 @@
1
+ import { Request, Response, NextFunction } from "express";
2
+ import { IExpressMiddleware } from "../0d45f5fd/6559a8c1.js";
3
+ import { Loggable } from "../0d45f5fd/4dd6b41d.js";
4
+ import { AuditLogService } from "../6610c73e/108201be/c917408b.js";
5
+ import { GracefulJobManager } from "../0d45f5fd/496c2854.js";
6
+ export declare class APILogMiddleware implements IExpressMiddleware {
7
+ logger: Loggable;
8
+ service: AuditLogService;
9
+ graceful: GracefulJobManager;
10
+ handler(req: Request, res: Response, next: NextFunction): void;
11
+ }