@silexpert/core 1.3.59 → 1.3.61-0

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 (306) hide show
  1. package/dist/cjs/api/resources/SalesContract.d.ts +0 -4
  2. package/dist/cjs/api/resources/SalesContract.d.ts.map +1 -1
  3. package/dist/cjs/api/resources/SalesContract.js +0 -18
  4. package/dist/cjs/api/resources/SalesContract.js.map +1 -1
  5. package/dist/cjs/api/resources/Subscription.d.ts +2 -2
  6. package/dist/cjs/api/resources/Subscription.d.ts.map +1 -1
  7. package/dist/cjs/api/resources/Subscription.js +3 -4
  8. package/dist/cjs/api/resources/Subscription.js.map +1 -1
  9. package/dist/cjs/api/resources/User.d.ts +2 -1
  10. package/dist/cjs/api/resources/User.d.ts.map +1 -1
  11. package/dist/cjs/api/resources/User.js +3 -0
  12. package/dist/cjs/api/resources/User.js.map +1 -1
  13. package/dist/cjs/api/resources.d.ts +0 -4
  14. package/dist/cjs/api/resources.d.ts.map +1 -1
  15. package/dist/cjs/api/resources.js +0 -4
  16. package/dist/cjs/api/resources.js.map +1 -1
  17. package/dist/cjs/types/Enum/BalanceSheet.js +12 -12
  18. package/dist/cjs/types/Enum/BalanceSheet.js.map +1 -1
  19. package/dist/cjs/types/Enum/BrandAnytime.d.ts.map +1 -1
  20. package/dist/cjs/types/Enum/BrandAnytime.js +0 -3
  21. package/dist/cjs/types/Enum/BrandAnytime.js.map +1 -1
  22. package/dist/cjs/types/Enum/BrandClementine.d.ts.map +1 -1
  23. package/dist/cjs/types/Enum/BrandClementine.js +0 -7
  24. package/dist/cjs/types/Enum/BrandClementine.js.map +1 -1
  25. package/dist/cjs/types/Enum/BrandComptalib.d.ts.map +1 -1
  26. package/dist/cjs/types/Enum/BrandComptalib.js +0 -3
  27. package/dist/cjs/types/Enum/BrandComptalib.js.map +1 -1
  28. package/dist/cjs/types/Enum/BrandLegalstart.d.ts.map +1 -1
  29. package/dist/cjs/types/Enum/BrandLegalstart.js +0 -1
  30. package/dist/cjs/types/Enum/BrandLegalstart.js.map +1 -1
  31. package/dist/cjs/types/Enum/BrandPourcentage.d.ts.map +1 -1
  32. package/dist/cjs/types/Enum/BrandPourcentage.js +0 -4
  33. package/dist/cjs/types/Enum/BrandPourcentage.js.map +1 -1
  34. package/dist/cjs/types/Enum/BrandStatutsExpress.d.ts.map +1 -1
  35. package/dist/cjs/types/Enum/BrandStatutsExpress.js +0 -1
  36. package/dist/cjs/types/Enum/BrandStatutsExpress.js.map +1 -1
  37. package/dist/cjs/types/Enum/PrestationType.js +8 -8
  38. package/dist/cjs/types/Enum/PrestationType.js.map +1 -1
  39. package/dist/cjs/types/Interface/api/commercial/RequiredDocsTypeParams.d.ts +1 -0
  40. package/dist/cjs/types/Interface/api/commercial/RequiredDocsTypeParams.d.ts.map +1 -1
  41. package/dist/cjs/types/Interface/api/commercial/RequiredDocsTypeParams.js.map +1 -1
  42. package/dist/cjs/types/Interface/api/config/ConfigType.d.ts +37 -98
  43. package/dist/cjs/types/Interface/api/config/ConfigType.d.ts.map +1 -1
  44. package/dist/cjs/types/Interface/api/config/ConfigType.js.map +1 -1
  45. package/dist/cjs/types/Interface/api/internalInvoicing/GetLastRef.d.ts +0 -2
  46. package/dist/cjs/types/Interface/api/internalInvoicing/GetLastRef.d.ts.map +1 -1
  47. package/dist/cjs/types/Interface/api/internalInvoicing/GetLastRef.js +0 -12
  48. package/dist/cjs/types/Interface/api/internalInvoicing/GetLastRef.js.map +1 -1
  49. package/dist/cjs/types/Interface/api/user/Query.d.ts +9 -0
  50. package/dist/cjs/types/Interface/api/user/Query.d.ts.map +1 -1
  51. package/dist/cjs/types/Interface/api/user/Query.js +30 -1
  52. package/dist/cjs/types/Interface/api/user/Query.js.map +1 -1
  53. package/dist/cjs/types/Interface/api/user/RegisterProspect.d.ts +6 -1
  54. package/dist/cjs/types/Interface/api/user/RegisterProspect.d.ts.map +1 -1
  55. package/dist/cjs/types/Interface/api/user/RegisterProspect.js +18 -0
  56. package/dist/cjs/types/Interface/api/user/RegisterProspect.js.map +1 -1
  57. package/dist/cjs/types/Interface/models/IApiError.d.ts +0 -1
  58. package/dist/cjs/types/Interface/models/IApiError.d.ts.map +1 -1
  59. package/dist/cjs/types/Interface/models/IApiError.js +0 -2
  60. package/dist/cjs/types/Interface/models/IApiError.js.map +1 -1
  61. package/dist/cjs/types/index.d.ts +0 -10
  62. package/dist/cjs/types/index.d.ts.map +1 -1
  63. package/dist/cjs/types/index.js +0 -11
  64. package/dist/cjs/types/index.js.map +1 -1
  65. package/dist/cjs/utils/brands.d.ts +0 -4
  66. package/dist/cjs/utils/brands.d.ts.map +1 -1
  67. package/dist/cjs/utils/brands.js.map +1 -1
  68. package/dist/cjs/utils/index.d.ts +0 -1
  69. package/dist/cjs/utils/index.d.ts.map +1 -1
  70. package/dist/cjs/utils/index.js +0 -1
  71. package/dist/cjs/utils/index.js.map +1 -1
  72. package/dist/cjs/utils/payment.d.ts +1 -0
  73. package/dist/cjs/utils/payment.d.ts.map +1 -1
  74. package/dist/cjs/utils/payment.js.map +1 -1
  75. package/dist/cjs/utils/prestation.d.ts +2 -1
  76. package/dist/cjs/utils/prestation.d.ts.map +1 -1
  77. package/dist/cjs/utils/prestation.js +19 -4
  78. package/dist/cjs/utils/prestation.js.map +1 -1
  79. package/dist/cjs/utils/vat/utils.d.ts +2 -0
  80. package/dist/cjs/utils/vat/utils.d.ts.map +1 -1
  81. package/dist/cjs/utils/vat/utils.js +10 -0
  82. package/dist/cjs/utils/vat/utils.js.map +1 -1
  83. package/dist/mjs/api/resources/SalesContract.d.ts +0 -4
  84. package/dist/mjs/api/resources/SalesContract.d.ts.map +1 -1
  85. package/dist/mjs/api/resources/SalesContract.js +0 -18
  86. package/dist/mjs/api/resources/SalesContract.js.map +1 -1
  87. package/dist/mjs/api/resources/Subscription.d.ts +2 -2
  88. package/dist/mjs/api/resources/Subscription.d.ts.map +1 -1
  89. package/dist/mjs/api/resources/Subscription.js +3 -4
  90. package/dist/mjs/api/resources/Subscription.js.map +1 -1
  91. package/dist/mjs/api/resources/User.d.ts +2 -1
  92. package/dist/mjs/api/resources/User.d.ts.map +1 -1
  93. package/dist/mjs/api/resources/User.js +6 -0
  94. package/dist/mjs/api/resources/User.js.map +1 -1
  95. package/dist/mjs/api/resources.d.ts +0 -4
  96. package/dist/mjs/api/resources.d.ts.map +1 -1
  97. package/dist/mjs/api/resources.js +0 -4
  98. package/dist/mjs/api/resources.js.map +1 -1
  99. package/dist/mjs/types/Enum/BalanceSheet.js +12 -12
  100. package/dist/mjs/types/Enum/BalanceSheet.js.map +1 -1
  101. package/dist/mjs/types/Enum/BrandAnytime.d.ts.map +1 -1
  102. package/dist/mjs/types/Enum/BrandAnytime.js +0 -3
  103. package/dist/mjs/types/Enum/BrandAnytime.js.map +1 -1
  104. package/dist/mjs/types/Enum/BrandClementine.d.ts.map +1 -1
  105. package/dist/mjs/types/Enum/BrandClementine.js +0 -7
  106. package/dist/mjs/types/Enum/BrandClementine.js.map +1 -1
  107. package/dist/mjs/types/Enum/BrandComptalib.d.ts.map +1 -1
  108. package/dist/mjs/types/Enum/BrandComptalib.js +0 -3
  109. package/dist/mjs/types/Enum/BrandComptalib.js.map +1 -1
  110. package/dist/mjs/types/Enum/BrandLegalstart.d.ts.map +1 -1
  111. package/dist/mjs/types/Enum/BrandLegalstart.js +0 -1
  112. package/dist/mjs/types/Enum/BrandLegalstart.js.map +1 -1
  113. package/dist/mjs/types/Enum/BrandPourcentage.d.ts.map +1 -1
  114. package/dist/mjs/types/Enum/BrandPourcentage.js +0 -4
  115. package/dist/mjs/types/Enum/BrandPourcentage.js.map +1 -1
  116. package/dist/mjs/types/Enum/BrandStatutsExpress.d.ts.map +1 -1
  117. package/dist/mjs/types/Enum/BrandStatutsExpress.js +0 -1
  118. package/dist/mjs/types/Enum/BrandStatutsExpress.js.map +1 -1
  119. package/dist/mjs/types/Enum/PrestationType.js +8 -8
  120. package/dist/mjs/types/Enum/PrestationType.js.map +1 -1
  121. package/dist/mjs/types/Interface/api/commercial/RequiredDocsTypeParams.d.ts +1 -0
  122. package/dist/mjs/types/Interface/api/commercial/RequiredDocsTypeParams.d.ts.map +1 -1
  123. package/dist/mjs/types/Interface/api/commercial/RequiredDocsTypeParams.js.map +1 -1
  124. package/dist/mjs/types/Interface/api/config/ConfigType.d.ts +37 -98
  125. package/dist/mjs/types/Interface/api/config/ConfigType.d.ts.map +1 -1
  126. package/dist/mjs/types/Interface/api/config/ConfigType.js.map +1 -1
  127. package/dist/mjs/types/Interface/api/internalInvoicing/GetLastRef.d.ts +0 -2
  128. package/dist/mjs/types/Interface/api/internalInvoicing/GetLastRef.d.ts.map +1 -1
  129. package/dist/mjs/types/Interface/api/internalInvoicing/GetLastRef.js +0 -14
  130. package/dist/mjs/types/Interface/api/internalInvoicing/GetLastRef.js.map +1 -1
  131. package/dist/mjs/types/Interface/api/user/Query.d.ts +9 -0
  132. package/dist/mjs/types/Interface/api/user/Query.d.ts.map +1 -1
  133. package/dist/mjs/types/Interface/api/user/Query.js +28 -0
  134. package/dist/mjs/types/Interface/api/user/Query.js.map +1 -1
  135. package/dist/mjs/types/Interface/api/user/RegisterProspect.d.ts +6 -1
  136. package/dist/mjs/types/Interface/api/user/RegisterProspect.d.ts.map +1 -1
  137. package/dist/mjs/types/Interface/api/user/RegisterProspect.js +21 -1
  138. package/dist/mjs/types/Interface/api/user/RegisterProspect.js.map +1 -1
  139. package/dist/mjs/types/Interface/models/IApiError.d.ts +0 -1
  140. package/dist/mjs/types/Interface/models/IApiError.d.ts.map +1 -1
  141. package/dist/mjs/types/Interface/models/IApiError.js +0 -2
  142. package/dist/mjs/types/Interface/models/IApiError.js.map +1 -1
  143. package/dist/mjs/types/index.d.ts +0 -10
  144. package/dist/mjs/types/index.d.ts.map +1 -1
  145. package/dist/mjs/types/index.js +0 -11
  146. package/dist/mjs/types/index.js.map +1 -1
  147. package/dist/mjs/utils/brands.d.ts +0 -4
  148. package/dist/mjs/utils/brands.d.ts.map +1 -1
  149. package/dist/mjs/utils/brands.js.map +1 -1
  150. package/dist/mjs/utils/index.d.ts +0 -1
  151. package/dist/mjs/utils/index.d.ts.map +1 -1
  152. package/dist/mjs/utils/index.js +0 -1
  153. package/dist/mjs/utils/index.js.map +1 -1
  154. package/dist/mjs/utils/payment.d.ts +1 -0
  155. package/dist/mjs/utils/payment.d.ts.map +1 -1
  156. package/dist/mjs/utils/payment.js.map +1 -1
  157. package/dist/mjs/utils/prestation.d.ts +2 -1
  158. package/dist/mjs/utils/prestation.d.ts.map +1 -1
  159. package/dist/mjs/utils/prestation.js +17 -4
  160. package/dist/mjs/utils/prestation.js.map +1 -1
  161. package/dist/mjs/utils/vat/utils.d.ts +2 -0
  162. package/dist/mjs/utils/vat/utils.d.ts.map +1 -1
  163. package/dist/mjs/utils/vat/utils.js +9 -0
  164. package/dist/mjs/utils/vat/utils.js.map +1 -1
  165. package/package.json +1 -1
  166. package/ts/api/resources/SalesContract.ts +0 -18
  167. package/ts/api/resources/Subscription.ts +5 -15
  168. package/ts/api/resources/User.ts +8 -0
  169. package/ts/api/resources.ts +0 -4
  170. package/ts/types/Enum/BalanceSheet.ts +12 -12
  171. package/ts/types/Enum/BrandAnytime.ts +0 -3
  172. package/ts/types/Enum/BrandClementine.ts +0 -7
  173. package/ts/types/Enum/BrandComptalib.ts +0 -3
  174. package/ts/types/Enum/BrandLegalstart.ts +0 -1
  175. package/ts/types/Enum/BrandPourcentage.ts +0 -4
  176. package/ts/types/Enum/BrandStatutsExpress.ts +0 -1
  177. package/ts/types/Enum/PrestationType.ts +8 -8
  178. package/ts/types/Interface/api/commercial/RequiredDocsTypeParams.ts +1 -0
  179. package/ts/types/Interface/api/config/ConfigType.ts +36 -106
  180. package/ts/types/Interface/api/internalInvoicing/GetLastRef.ts +0 -10
  181. package/ts/types/Interface/api/user/Query.ts +26 -0
  182. package/ts/types/Interface/api/user/RegisterProspect.ts +38 -6
  183. package/ts/types/Interface/models/IApiError.ts +0 -3
  184. package/ts/types/index.ts +0 -11
  185. package/ts/utils/brands.ts +0 -2
  186. package/ts/utils/index.ts +0 -1
  187. package/ts/utils/payment.ts +1 -0
  188. package/ts/utils/prestation.ts +30 -5
  189. package/ts/utils/vat/utils.ts +10 -1
  190. package/dist/cjs/api/resources/PromoCode.d.ts +0 -14
  191. package/dist/cjs/api/resources/PromoCode.d.ts.map +0 -1
  192. package/dist/cjs/api/resources/PromoCode.js +0 -35
  193. package/dist/cjs/api/resources/PromoCode.js.map +0 -1
  194. package/dist/cjs/api/resources/SocietyPromoCode.d.ts +0 -8
  195. package/dist/cjs/api/resources/SocietyPromoCode.d.ts.map +0 -1
  196. package/dist/cjs/api/resources/SocietyPromoCode.js +0 -17
  197. package/dist/cjs/api/resources/SocietyPromoCode.js.map +0 -1
  198. package/dist/cjs/types/Interface/api/promoCode/CreateDefaultPromoCode.d.ts +0 -14
  199. package/dist/cjs/types/Interface/api/promoCode/CreateDefaultPromoCode.d.ts.map +0 -1
  200. package/dist/cjs/types/Interface/api/promoCode/CreateDefaultPromoCode.js +0 -85
  201. package/dist/cjs/types/Interface/api/promoCode/CreateDefaultPromoCode.js.map +0 -1
  202. package/dist/cjs/types/Interface/api/promoCode/CreatePromoCode.d.ts +0 -12
  203. package/dist/cjs/types/Interface/api/promoCode/CreatePromoCode.d.ts.map +0 -1
  204. package/dist/cjs/types/Interface/api/promoCode/CreatePromoCode.js +0 -53
  205. package/dist/cjs/types/Interface/api/promoCode/CreatePromoCode.js.map +0 -1
  206. package/dist/cjs/types/Interface/api/promoCode/QueryDefaultPromotion.d.ts +0 -8
  207. package/dist/cjs/types/Interface/api/promoCode/QueryDefaultPromotion.d.ts.map +0 -1
  208. package/dist/cjs/types/Interface/api/promoCode/QueryDefaultPromotion.js +0 -49
  209. package/dist/cjs/types/Interface/api/promoCode/QueryDefaultPromotion.js.map +0 -1
  210. package/dist/cjs/types/Interface/api/promoCode/ReadDefaultPaginationPromoCode.d.ts +0 -5
  211. package/dist/cjs/types/Interface/api/promoCode/ReadDefaultPaginationPromoCode.d.ts.map +0 -1
  212. package/dist/cjs/types/Interface/api/promoCode/ReadDefaultPaginationPromoCode.js +0 -34
  213. package/dist/cjs/types/Interface/api/promoCode/ReadDefaultPaginationPromoCode.js.map +0 -1
  214. package/dist/cjs/types/Interface/api/promoCode/ReadDefaultPromotion.d.ts +0 -7
  215. package/dist/cjs/types/Interface/api/promoCode/ReadDefaultPromotion.d.ts.map +0 -1
  216. package/dist/cjs/types/Interface/api/promoCode/ReadDefaultPromotion.js +0 -3
  217. package/dist/cjs/types/Interface/api/promoCode/ReadDefaultPromotion.js.map +0 -1
  218. package/dist/cjs/types/Interface/api/promoCode/UpdatePromoCode.d.ts +0 -12
  219. package/dist/cjs/types/Interface/api/promoCode/UpdatePromoCode.d.ts.map +0 -1
  220. package/dist/cjs/types/Interface/api/promoCode/UpdatePromoCode.js +0 -53
  221. package/dist/cjs/types/Interface/api/promoCode/UpdatePromoCode.js.map +0 -1
  222. package/dist/cjs/types/Interface/api/societyPromoCode/CreateSocietyPromoCode.d.ts +0 -5
  223. package/dist/cjs/types/Interface/api/societyPromoCode/CreateSocietyPromoCode.d.ts.map +0 -1
  224. package/dist/cjs/types/Interface/api/societyPromoCode/CreateSocietyPromoCode.js +0 -25
  225. package/dist/cjs/types/Interface/api/societyPromoCode/CreateSocietyPromoCode.js.map +0 -1
  226. package/dist/cjs/types/Interface/models/IDefaultPromotion.d.ts +0 -17
  227. package/dist/cjs/types/Interface/models/IDefaultPromotion.d.ts.map +0 -1
  228. package/dist/cjs/types/Interface/models/IDefaultPromotion.js +0 -3
  229. package/dist/cjs/types/Interface/models/IDefaultPromotion.js.map +0 -1
  230. package/dist/cjs/types/Interface/models/IPromoCode.d.ts +0 -15
  231. package/dist/cjs/types/Interface/models/IPromoCode.d.ts.map +0 -1
  232. package/dist/cjs/types/Interface/models/IPromoCode.js +0 -3
  233. package/dist/cjs/types/Interface/models/IPromoCode.js.map +0 -1
  234. package/dist/cjs/types/Interface/models/ISocietyPromoCode.d.ts +0 -8
  235. package/dist/cjs/types/Interface/models/ISocietyPromoCode.d.ts.map +0 -1
  236. package/dist/cjs/types/Interface/models/ISocietyPromoCode.js +0 -3
  237. package/dist/cjs/types/Interface/models/ISocietyPromoCode.js.map +0 -1
  238. package/dist/cjs/utils/subscription.d.ts +0 -21
  239. package/dist/cjs/utils/subscription.d.ts.map +0 -1
  240. package/dist/cjs/utils/subscription.js +0 -97
  241. package/dist/cjs/utils/subscription.js.map +0 -1
  242. package/dist/mjs/api/resources/PromoCode.d.ts +0 -14
  243. package/dist/mjs/api/resources/PromoCode.d.ts.map +0 -1
  244. package/dist/mjs/api/resources/PromoCode.js +0 -31
  245. package/dist/mjs/api/resources/PromoCode.js.map +0 -1
  246. package/dist/mjs/api/resources/SocietyPromoCode.d.ts +0 -8
  247. package/dist/mjs/api/resources/SocietyPromoCode.d.ts.map +0 -1
  248. package/dist/mjs/api/resources/SocietyPromoCode.js +0 -13
  249. package/dist/mjs/api/resources/SocietyPromoCode.js.map +0 -1
  250. package/dist/mjs/types/Interface/api/promoCode/CreateDefaultPromoCode.d.ts +0 -14
  251. package/dist/mjs/types/Interface/api/promoCode/CreateDefaultPromoCode.d.ts.map +0 -1
  252. package/dist/mjs/types/Interface/api/promoCode/CreateDefaultPromoCode.js +0 -93
  253. package/dist/mjs/types/Interface/api/promoCode/CreateDefaultPromoCode.js.map +0 -1
  254. package/dist/mjs/types/Interface/api/promoCode/CreatePromoCode.d.ts +0 -12
  255. package/dist/mjs/types/Interface/api/promoCode/CreatePromoCode.d.ts.map +0 -1
  256. package/dist/mjs/types/Interface/api/promoCode/CreatePromoCode.js +0 -58
  257. package/dist/mjs/types/Interface/api/promoCode/CreatePromoCode.js.map +0 -1
  258. package/dist/mjs/types/Interface/api/promoCode/QueryDefaultPromotion.d.ts +0 -8
  259. package/dist/mjs/types/Interface/api/promoCode/QueryDefaultPromotion.d.ts.map +0 -1
  260. package/dist/mjs/types/Interface/api/promoCode/QueryDefaultPromotion.js +0 -50
  261. package/dist/mjs/types/Interface/api/promoCode/QueryDefaultPromotion.js.map +0 -1
  262. package/dist/mjs/types/Interface/api/promoCode/ReadDefaultPaginationPromoCode.d.ts +0 -5
  263. package/dist/mjs/types/Interface/api/promoCode/ReadDefaultPaginationPromoCode.d.ts.map +0 -1
  264. package/dist/mjs/types/Interface/api/promoCode/ReadDefaultPaginationPromoCode.js +0 -28
  265. package/dist/mjs/types/Interface/api/promoCode/ReadDefaultPaginationPromoCode.js.map +0 -1
  266. package/dist/mjs/types/Interface/api/promoCode/ReadDefaultPromotion.d.ts +0 -7
  267. package/dist/mjs/types/Interface/api/promoCode/ReadDefaultPromotion.d.ts.map +0 -1
  268. package/dist/mjs/types/Interface/api/promoCode/ReadDefaultPromotion.js +0 -2
  269. package/dist/mjs/types/Interface/api/promoCode/ReadDefaultPromotion.js.map +0 -1
  270. package/dist/mjs/types/Interface/api/promoCode/UpdatePromoCode.d.ts +0 -12
  271. package/dist/mjs/types/Interface/api/promoCode/UpdatePromoCode.d.ts.map +0 -1
  272. package/dist/mjs/types/Interface/api/promoCode/UpdatePromoCode.js +0 -58
  273. package/dist/mjs/types/Interface/api/promoCode/UpdatePromoCode.js.map +0 -1
  274. package/dist/mjs/types/Interface/api/societyPromoCode/CreateSocietyPromoCode.d.ts +0 -5
  275. package/dist/mjs/types/Interface/api/societyPromoCode/CreateSocietyPromoCode.d.ts.map +0 -1
  276. package/dist/mjs/types/Interface/api/societyPromoCode/CreateSocietyPromoCode.js +0 -23
  277. package/dist/mjs/types/Interface/api/societyPromoCode/CreateSocietyPromoCode.js.map +0 -1
  278. package/dist/mjs/types/Interface/models/IDefaultPromotion.d.ts +0 -17
  279. package/dist/mjs/types/Interface/models/IDefaultPromotion.d.ts.map +0 -1
  280. package/dist/mjs/types/Interface/models/IDefaultPromotion.js +0 -2
  281. package/dist/mjs/types/Interface/models/IDefaultPromotion.js.map +0 -1
  282. package/dist/mjs/types/Interface/models/IPromoCode.d.ts +0 -15
  283. package/dist/mjs/types/Interface/models/IPromoCode.d.ts.map +0 -1
  284. package/dist/mjs/types/Interface/models/IPromoCode.js +0 -2
  285. package/dist/mjs/types/Interface/models/IPromoCode.js.map +0 -1
  286. package/dist/mjs/types/Interface/models/ISocietyPromoCode.d.ts +0 -8
  287. package/dist/mjs/types/Interface/models/ISocietyPromoCode.d.ts.map +0 -1
  288. package/dist/mjs/types/Interface/models/ISocietyPromoCode.js +0 -2
  289. package/dist/mjs/types/Interface/models/ISocietyPromoCode.js.map +0 -1
  290. package/dist/mjs/utils/subscription.d.ts +0 -21
  291. package/dist/mjs/utils/subscription.d.ts.map +0 -1
  292. package/dist/mjs/utils/subscription.js +0 -92
  293. package/dist/mjs/utils/subscription.js.map +0 -1
  294. package/ts/api/resources/PromoCode.ts +0 -50
  295. package/ts/api/resources/SocietyPromoCode.ts +0 -16
  296. package/ts/types/Interface/api/promoCode/CreateDefaultPromoCode.ts +0 -59
  297. package/ts/types/Interface/api/promoCode/CreatePromoCode.ts +0 -30
  298. package/ts/types/Interface/api/promoCode/QueryDefaultPromotion.ts +0 -30
  299. package/ts/types/Interface/api/promoCode/ReadDefaultPaginationPromoCode.ts +0 -14
  300. package/ts/types/Interface/api/promoCode/ReadDefaultPromotion.ts +0 -7
  301. package/ts/types/Interface/api/promoCode/UpdatePromoCode.ts +0 -30
  302. package/ts/types/Interface/api/societyPromoCode/CreateSocietyPromoCode.ts +0 -9
  303. package/ts/types/Interface/models/IDefaultPromotion.ts +0 -16
  304. package/ts/types/Interface/models/IPromoCode.ts +0 -14
  305. package/ts/types/Interface/models/ISocietyPromoCode.ts +0 -7
  306. package/ts/utils/subscription.ts +0 -124
@@ -19,5 +19,6 @@ export interface RequiredDocsType {
19
19
  isCreation?: boolean;
20
20
  isConsultingHour?: boolean;
21
21
  goToClient?: Date;
22
+ isOnlySoftware?: boolean;
22
23
  }
23
24
  //# sourceMappingURL=RequiredDocsTypeParams.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"RequiredDocsTypeParams.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/commercial/RequiredDocsTypeParams.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACjE,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEjD,MAAM,WAAW,gBAAgB;IAC/B,OAAO,EAAE;QAAE,WAAW,CAAC,EAAE,MAAM,CAAC;QAAC,EAAE,CAAC,EAAE,MAAM,CAAC;QAAC,eAAe,CAAC,EAAE,MAAM,CAAC;QAAC,kBAAkB,CAAC,EAAE,IAAI,CAAA;KAAE,CAAC;IACpG,aAAa,CAAC,EAAE;QAAE,iBAAiB,CAAC,EAAE,OAAO,CAAC;QAAC,YAAY,CAAC,EAAE,IAAI,CAAA;KAAE,CAAC;IACrE,QAAQ,EAAE,QAAQ,EAAE,CAAC;IACrB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,oBAAoB,CAAC,EAAE,gBAAgB,EAAE,CAAC;IAC1C,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,UAAU,CAAC,EAAE,IAAI,CAAC;CACnB"}
1
+ {"version":3,"file":"RequiredDocsTypeParams.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/commercial/RequiredDocsTypeParams.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACjE,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEjD,MAAM,WAAW,gBAAgB;IAC/B,OAAO,EAAE;QAAE,WAAW,CAAC,EAAE,MAAM,CAAC;QAAC,EAAE,CAAC,EAAE,MAAM,CAAC;QAAC,eAAe,CAAC,EAAE,MAAM,CAAC;QAAC,kBAAkB,CAAC,EAAE,IAAI,CAAA;KAAE,CAAC;IACpG,aAAa,CAAC,EAAE;QAAE,iBAAiB,CAAC,EAAE,OAAO,CAAC;QAAC,YAAY,CAAC,EAAE,IAAI,CAAA;KAAE,CAAC;IACrE,QAAQ,EAAE,QAAQ,EAAE,CAAC;IACrB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,oBAAoB,CAAC,EAAE,gBAAgB,EAAE,CAAC;IAC1C,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,UAAU,CAAC,EAAE,IAAI,CAAC;IAClB,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B"}
@@ -1 +1 @@
1
- {"version":3,"file":"RequiredDocsTypeParams.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/commercial/RequiredDocsTypeParams.ts"],"names":[],"mappings":"","sourcesContent":["import { IBusinessPartner } from '../../models/IBusinessPartner';\nimport { IGedFile } from '../../models/IGedFile';\n\nexport interface RequiredDocsType {\n society: { idLegalForm?: number; id?: number; totalSharesHeld?: number; dateOfRegistration?: Date };\n oldExpertInfo?: { dontHaveOldExpert?: boolean; recoveryDate?: Date };\n _gedFile: IGedFile[];\n isOnlyPrevi?: boolean;\n isOnlyJuridic?: boolean;\n isOnlySocial?: boolean;\n listBusinessPartners?: IBusinessPartner[];\n isCreation?: boolean;\n isConsultingHour?: boolean;\n goToClient?: Date;\n}\n"]}
1
+ {"version":3,"file":"RequiredDocsTypeParams.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/commercial/RequiredDocsTypeParams.ts"],"names":[],"mappings":"","sourcesContent":["import { IBusinessPartner } from '../../models/IBusinessPartner';\nimport { IGedFile } from '../../models/IGedFile';\n\nexport interface RequiredDocsType {\n society: { idLegalForm?: number; id?: number; totalSharesHeld?: number; dateOfRegistration?: Date };\n oldExpertInfo?: { dontHaveOldExpert?: boolean; recoveryDate?: Date };\n _gedFile: IGedFile[];\n isOnlyPrevi?: boolean;\n isOnlyJuridic?: boolean;\n isOnlySocial?: boolean;\n listBusinessPartners?: IBusinessPartner[];\n isCreation?: boolean;\n isConsultingHour?: boolean;\n goToClient?: Date;\n isOnlySoftware?: boolean;\n}\n"]}
@@ -2,37 +2,28 @@ export interface ConfigType {
2
2
  port: number;
3
3
  db: Db;
4
4
  hostS3: string;
5
- hostApplication: string;
6
- hostSiteInternet: string;
7
5
  redis: Redis;
8
6
  redisPrimary: RedisPrimary;
9
7
  caarl: Caarl;
10
8
  yousign: Yousign;
11
- secretToken: string;
12
- comptaclementineTest: ComptaclementineTest;
13
- bred: Bred;
14
9
  awsClementine: AwsClementine;
15
10
  mail: Mail;
16
11
  client: Client;
17
12
  twilio: Twilio;
18
- aspone: Aspone;
19
13
  societyTestId: number;
20
14
  pappers: Pappers;
21
15
  shine: Shine;
22
16
  defaultPermissions: DefaultPermissions;
23
17
  crisp: Crisp;
24
18
  brand: ConfigBrand;
25
- adminStatic: AdminStatic;
26
19
  ocr: Ocr;
27
20
  jeDeclare: JeDeclare;
28
- firebase: Firebase;
29
21
  notification: Notification;
30
22
  pdfizer: Pdfizer;
31
23
  iDocus: IDocus;
32
24
  imageMagick: LambdaInfos;
33
25
  companeo: Companeo;
34
26
  inpi: Inpi;
35
- notion: Notion;
36
27
  brevo: Brevo;
37
28
  tinyurl: LambdaInfos;
38
29
  machineLearning: MachineLearning;
@@ -43,24 +34,23 @@ export interface ConfigType {
43
34
  sharper: LambdaInfos;
44
35
  chartizer: LambdaInfos;
45
36
  authentication: Authentication;
46
- recaptcha: Recaptcha;
47
37
  }
48
- export interface Authentication {
38
+ interface Authentication {
49
39
  token: string;
50
40
  }
51
- export interface LambdaInfos {
41
+ interface LambdaInfos {
52
42
  url: string;
53
43
  key: string;
54
44
  }
55
- export interface Mongodb {
45
+ interface Mongodb {
56
46
  username: string;
57
47
  password: string;
58
48
  host: string;
59
49
  }
60
- export interface MachineLearning {
50
+ interface MachineLearning {
61
51
  transactionAnnotation: string;
62
52
  }
63
- export interface Db {
53
+ interface Db {
64
54
  username: string;
65
55
  password: string;
66
56
  database: string;
@@ -68,86 +58,52 @@ export interface Db {
68
58
  host: string;
69
59
  dialect: string;
70
60
  }
71
- export interface Redis {
61
+ interface Redis {
72
62
  host: string;
73
63
  port: number;
74
64
  }
75
- export interface RedisPrimary {
65
+ interface RedisPrimary {
76
66
  replicationGroupId: string;
77
67
  }
78
- export interface Caarl {
68
+ interface Caarl {
79
69
  api: string;
80
- token: string;
81
70
  bundle: string;
82
71
  }
83
- export interface Yousign {
84
- apiYousign: string;
85
- appYousign: string;
86
- token: Token;
72
+ interface Yousign {
87
73
  workspaceId: string;
88
74
  }
89
- export interface Token {
90
- clementine: string;
91
- pourcentage: string;
92
- }
93
- export interface ComptaclementineTest {
94
- username: string;
95
- password: string;
96
- database: string;
97
- port: string;
98
- host: string;
99
- dialect: string;
100
- }
101
- export interface Bred {
102
- authorizeHost: string;
103
- authorizePath: string;
104
- urlPostCodeRequest: string;
105
- urlGetToken: string;
106
- apiUrl: string;
107
- clientId: string;
108
- clientSecret: string;
109
- scope: string;
110
- redirectUri: string;
111
- subscriptionKey: string;
112
- }
113
75
  export type BucketName = 'resources-local-dev' | 'resources-anytime' | 'resources-comptalib' | 'resources-eunomia' | 'resources-legalstart' | 'resources-pourcentage' | 'resources-statuts-express' | 'resources-clementine' | 'resources-comptalib-staging' | 'clementine-website' | 'resources-internal' | 'sales-contract';
114
- export interface AwsClementine {
76
+ interface AwsClementine {
115
77
  accessKeyId: string;
116
78
  secretAccessKey: string;
117
79
  clementineBucketName: BucketName;
118
80
  apiVersion: string;
119
81
  }
120
- export interface Mail {
82
+ interface Mail {
121
83
  user: string;
122
84
  password: string;
123
85
  host: string;
124
86
  port: number;
125
87
  tls: boolean;
126
88
  }
127
- export interface Client {
89
+ interface Client {
128
90
  host: string;
129
91
  hostFull: string;
130
92
  }
131
- export interface Twilio {
93
+ interface Twilio {
132
94
  accountSID: string;
133
95
  authToken: string;
134
96
  number: string;
135
97
  }
136
- export interface Aspone {
137
- siret: string;
138
- api: string;
139
- access: Access;
140
- serviceVersion: string;
141
- }
142
98
  export interface Access {
143
99
  login: string;
144
100
  password: string;
145
101
  }
146
- export interface Pappers {
102
+ interface Pappers {
147
103
  token: string;
148
104
  url: string;
149
105
  }
150
- export interface Shine {
106
+ interface Shine {
151
107
  host: string;
152
108
  hostV3: string;
153
109
  publicHost: string;
@@ -157,7 +113,7 @@ export interface Shine {
157
113
  status: string;
158
114
  scope: string;
159
115
  }
160
- export interface DefaultPermissions {
116
+ interface DefaultPermissions {
161
117
  gescom: boolean;
162
118
  compta: boolean;
163
119
  stats: boolean;
@@ -171,98 +127,81 @@ export interface DefaultPermissions {
171
127
  setting: boolean;
172
128
  purchase: boolean;
173
129
  }
174
- export interface Crisp {
130
+ interface Crisp {
175
131
  identifier: string;
176
132
  key: string;
177
133
  }
178
- export interface ConfigBrand {
134
+ interface ConfigBrand {
179
135
  name: string;
180
136
  api: string;
181
137
  api2: string;
182
138
  api2Clementine: string;
183
139
  api2Legalstart: string;
184
140
  }
185
- export interface AdminStatic {
186
- login: string;
187
- password: string;
188
- }
189
141
  export interface Ocr {
190
142
  URL: string;
191
143
  }
192
- export interface JeDeclare {
144
+ interface JeDeclare {
193
145
  access: Access2[];
194
146
  serviceVersion: string;
195
147
  }
196
- export interface Access2 {
148
+ interface Access2 {
197
149
  name: string;
198
150
  test: Test;
199
151
  production: Production;
200
152
  }
201
- export interface Test {
153
+ interface Test {
202
154
  login: string;
203
155
  password: string;
204
156
  editor: string;
205
157
  software: string;
206
158
  wsdl: Wsdl;
207
159
  }
208
- export interface Wsdl {
160
+ interface Wsdl {
209
161
  url: string;
210
162
  }
211
- export interface Production {
163
+ interface Production {
212
164
  login: string;
213
165
  password: string;
214
166
  editor: string;
215
167
  software: string;
216
168
  wsdl: Wsdl2;
217
169
  }
218
- export interface Wsdl2 {
170
+ interface Wsdl2 {
219
171
  url: string;
220
172
  }
221
- export interface Firebase {
222
- type: string;
223
- project_id: string;
224
- private_key_id: string;
225
- private_key: string;
226
- client_email: string;
227
- client_id: string;
228
- auth_uri: string;
229
- token_uri: string;
230
- auth_provider_x509_cert_url: string;
231
- client_x509_cert_url: string;
232
- universe_domain: string;
233
- }
234
173
  export interface Notification {
235
174
  hookToken: string;
236
175
  }
237
- export interface Pdfizer {
176
+ interface Pdfizer {
238
177
  url: string;
239
178
  key: string;
240
179
  }
241
- export interface IDocus {
180
+ interface IDocus {
242
181
  baseUrl: string;
243
182
  callbackurl: string;
244
183
  authorizationKey: string;
245
184
  }
246
- export interface Companeo {
185
+ interface Companeo {
247
186
  username: string;
248
187
  pass: string;
249
188
  }
250
- export interface Inpi {
189
+ interface Inpi {
251
190
  username: string;
252
191
  password: string;
253
192
  }
254
- export interface Notion {
255
- key: string;
193
+ interface Brevo {
194
+ lists: {
195
+ hot: number;
196
+ paying: number;
197
+ cold: number;
198
+ churned: number;
199
+ };
256
200
  }
257
- export interface Brevo {
258
- apiKeyProd: string;
259
- }
260
- export interface Echo {
201
+ interface Echo {
261
202
  url: string;
262
203
  accountid: string;
263
204
  apikey: string;
264
205
  }
265
- export interface Recaptcha {
266
- secret: string;
267
- }
206
+ export {};
268
207
  //# sourceMappingURL=ConfigType.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ConfigType.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/config/ConfigType.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,EAAE,CAAC;IACP,MAAM,EAAE,MAAM,CAAC;IACf,eAAe,EAAE,MAAM,CAAC;IACxB,gBAAgB,EAAE,MAAM,CAAC;IACzB,KAAK,EAAE,KAAK,CAAC;IACb,YAAY,EAAE,YAAY,CAAC;IAC3B,KAAK,EAAE,KAAK,CAAC;IACb,OAAO,EA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AC;CAC1B;AAED,MAAM,WAAW,QAAQ;IACvB,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,IAAI;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,MAAM;IACrB,GAAG,EAAE,MAAM,CAAC;CACb;AAED,MAAM,WAAW,KAAK;IACpB,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,IAAI;IACnB,GAAG,EAAE,MAAM,CAAC;IACZ,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,SAAS;IACxB,MAAM,EAAE,MAAM,CAAC;CAChB"}
1
+ {"version":3,"file":"ConfigType.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/config/ConfigType.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,EAAE,CAAC;IACP,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,KAAK,CAAC;IACb,YAAY,EAAE,YAAY,CAAC;IAC3B,KAAK,EAAE,KAAK,CAAC;IACb,OAAO,EAAE,OAAO,CAAC;IACjB,aAAa,EAAE,aAAa,CAAC;IAC7B,IAAI,EAAE,IAAI,CAAC;IACX,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,aAAa,EAAE,MAAM,CAAC;IACtB,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,KAAK,CAAC;IACb,kBAAkB,EAAE,kBAAkB,CAAC;IACvC,KAAK,EAAE,KAAK,CAAC;IACb,KAAK,EAAE,WAAW,CAAC;IACnB,GAAG,EAAE,GAAG,CAAC;IACT,SAAS,EAAE,SAAS,CAAC;IACrB,YAAY,EAAE,YAAY,CAAC;IAC3B,OAAO,EAAE,OAAO,CAA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b;AAED,MAAM,WAAW,YAAY;IAC3B,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,UAAU,OAAO;IACf,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;CACb;AAED,UAAU,MAAM;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC;IACpB,gBAAgB,EAAE,MAAM,CAAC;CAC1B;AAED,UAAU,QAAQ;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;CACd;AAED,UAAU,IAAI;IACZ,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,UAAU,KAAK;IACb,KAAK,EAAE;QACL,GAAG,EAAE,MAAM,CAAC;QACZ,MAAM,EAAE,MAAM,CAAC;QACf,IAAI,EAAE,MAAM,CAAC;QACb,OAAO,EAAE,MAAM,CAAC;KACjB,CAAC;CACH;AAED,UAAU,IAAI;IACZ,GAAG,EAAE,MAAM,CAAC;IACZ,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;CAChB"}
@@ -1 +1 @@
1
- {"version":3,"file":"ConfigType.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/config/ConfigType.ts"],"names":[],"mappings":"","sourcesContent":["export interface ConfigType {\n port: number;\n db: Db;\n hostS3: string;\n hostApplication: string;\n hostSiteInternet: string;\n redis: Redis;\n redisPrimary: RedisPrimary;\n caarl: Caarl;\n yousign: Yousign;\n secretToken: string;\n comptaclementineTest: ComptaclementineTest;\n bred: Bred;\n awsClementine: AwsClementine;\n mail: Mail;\n client: Client;\n twilio: Twilio;\n aspone: Aspone;\n societyTestId: number;\n pappers: Pappers;\n shine: Shine;\n defaultPermissions: DefaultPermissions;\n crisp: Crisp;\n brand: ConfigBrand;\n adminStatic: AdminStatic;\n ocr: Ocr;\n jeDeclare: JeDeclare;\n firebase: Firebase;\n notification: Notification;\n pdfizer: Pdfizer;\n iDocus: IDocus;\n imageMagick: LambdaInfos;\n companeo: Companeo;\n inpi: Inpi;\n notion: Notion;\n brevo: Brevo;\n tinyurl: LambdaInfos;\n machineLearning: MachineLearning;\n echo: Echo;\n compressPdf: LambdaInfos;\n mongodb: Mongodb;\n pdftkizer: LambdaInfos;\n sharper: LambdaInfos;\n chartizer: LambdaInfos;\n authentication: Authentication;\n recaptcha: Recaptcha;\n}\n\nexport interface Authentication {\n token: string;\n}\n\nexport interface LambdaInfos {\n url: string;\n key: string;\n}\n\nexport interface Mongodb {\n username: string;\n password: string;\n host: string;\n}\n\nexport interface MachineLearning {\n transactionAnnotation: string;\n}\n\nexport interface Db {\n username: string;\n password: string;\n database: string;\n port: string;\n host: string;\n dialect: string;\n}\n\nexport interface Redis {\n host: string;\n port: number;\n}\n\nexport interface RedisPrimary {\n replicationGroupId: string;\n}\n\nexport interface Caarl {\n api: string;\n token: string;\n bundle: string;\n}\n\nexport interface Yousign {\n apiYousign: string;\n appYousign: string;\n token: Token;\n workspaceId: string;\n}\n\nexport interface Token {\n clementine: string;\n pourcentage: string;\n}\n\nexport interface ComptaclementineTest {\n username: string;\n password: string;\n database: string;\n port: string;\n host: string;\n dialect: string;\n}\n\nexport interface Bred {\n authorizeHost: string;\n authorizePath: string;\n urlPostCodeRequest: string;\n urlGetToken: string;\n apiUrl: string;\n clientId: string;\n clientSecret: string;\n scope: string;\n redirectUri: string;\n subscriptionKey: string;\n}\n\nexport type BucketName =\n | 'resources-local-dev'\n | 'resources-anytime'\n | 'resources-comptalib'\n | 'resources-eunomia'\n | 'resources-legalstart'\n | 'resources-pourcentage'\n | 'resources-statuts-express'\n | 'resources-clementine'\n | 'resources-comptalib-staging'\n | 'clementine-website'\n | 'resources-internal'\n | 'sales-contract';\n\nexport interface AwsClementine {\n accessKeyId: string;\n secretAccessKey: string;\n clementineBucketName: BucketName;\n apiVersion: string;\n}\n\nexport interface Mail {\n user: string;\n password: string;\n host: string;\n port: number;\n tls: boolean;\n}\n\nexport interface Client {\n host: string;\n hostFull: string;\n}\n\nexport interface Twilio {\n accountSID: string;\n authToken: string;\n number: string;\n}\n\nexport interface Aspone {\n siret: string;\n api: string;\n access: Access;\n serviceVersion: string;\n}\n\nexport interface Access {\n login: string;\n password: string;\n}\n\nexport interface Pappers {\n token: string;\n url: string;\n}\n\nexport interface Shine {\n host: string;\n hostV3: string;\n publicHost: string;\n clientId: string;\n clientSecret: string;\n redirect_uris: string[];\n status: string;\n scope: string;\n}\n\nexport interface DefaultPermissions {\n gescom: boolean;\n compta: boolean;\n stats: boolean;\n docTreso: boolean;\n services: boolean;\n social: boolean;\n tva: boolean;\n simulation: boolean;\n simulationMultiple: boolean;\n balanceSheet: boolean;\n setting: boolean;\n purchase: boolean;\n}\n\nexport interface Crisp {\n identifier: string;\n key: string;\n}\n\nexport interface ConfigBrand {\n name: string;\n api: string;\n api2: string;\n api2Clementine: string;\n api2Legalstart: string;\n}\n\nexport interface AdminStatic {\n login: string;\n password: string;\n}\n\nexport interface Ocr {\n URL: string;\n}\n\nexport interface JeDeclare {\n access: Access2[];\n serviceVersion: string;\n}\n\nexport interface Access2 {\n name: string;\n test: Test;\n production: Production;\n}\n\nexport interface Test {\n login: string;\n password: string;\n editor: string;\n software: string;\n wsdl: Wsdl;\n}\n\nexport interface Wsdl {\n url: string;\n}\n\nexport interface Production {\n login: string;\n password: string;\n editor: string;\n software: string;\n wsdl: Wsdl2;\n}\n\nexport interface Wsdl2 {\n url: string;\n}\n\nexport interface Firebase {\n type: string;\n project_id: string;\n private_key_id: string;\n private_key: string;\n client_email: string;\n client_id: string;\n auth_uri: string;\n token_uri: string;\n auth_provider_x509_cert_url: string;\n client_x509_cert_url: string;\n universe_domain: string;\n}\n\nexport interface Notification {\n hookToken: string;\n}\n\nexport interface Pdfizer {\n url: string;\n key: string;\n}\n\nexport interface IDocus {\n baseUrl: string;\n callbackurl: string;\n authorizationKey: string;\n}\n\nexport interface Companeo {\n username: string;\n pass: string;\n}\n\nexport interface Inpi {\n username: string;\n password: string;\n}\n\nexport interface Notion {\n key: string;\n}\n\nexport interface Brevo {\n apiKeyProd: string;\n}\n\nexport interface Echo {\n url: string;\n accountid: string;\n apikey: string;\n}\n\nexport interface Recaptcha {\n secret: string;\n}\n"]}
1
+ {"version":3,"file":"ConfigType.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/config/ConfigType.ts"],"names":[],"mappings":"","sourcesContent":["export interface ConfigType {\n port: number;\n db: Db;\n hostS3: string;\n redis: Redis;\n redisPrimary: RedisPrimary;\n caarl: Caarl;\n yousign: Yousign;\n awsClementine: AwsClementine;\n mail: Mail;\n client: Client;\n twilio: Twilio;\n societyTestId: number;\n pappers: Pappers;\n shine: Shine;\n defaultPermissions: DefaultPermissions;\n crisp: Crisp;\n brand: ConfigBrand;\n ocr: Ocr;\n jeDeclare: JeDeclare;\n notification: Notification;\n pdfizer: Pdfizer;\n iDocus: IDocus;\n imageMagick: LambdaInfos;\n companeo: Companeo;\n inpi: Inpi;\n brevo: Brevo;\n tinyurl: LambdaInfos;\n machineLearning: MachineLearning;\n echo: Echo;\n compressPdf: LambdaInfos;\n mongodb: Mongodb;\n pdftkizer: LambdaInfos;\n sharper: LambdaInfos;\n chartizer: LambdaInfos;\n authentication: Authentication;\n}\n\ninterface Authentication {\n token: string;\n}\n\ninterface LambdaInfos {\n url: string;\n key: string;\n}\n\ninterface Mongodb {\n username: string;\n password: string;\n host: string;\n}\n\ninterface MachineLearning {\n transactionAnnotation: string;\n}\n\ninterface Db {\n username: string;\n password: string;\n database: string;\n port: string;\n host: string;\n dialect: string;\n}\n\ninterface Redis {\n host: string;\n port: number;\n}\n\ninterface RedisPrimary {\n replicationGroupId: string;\n}\n\ninterface Caarl {\n api: string;\n bundle: string;\n}\n\ninterface Yousign {\n workspaceId: string;\n}\n\nexport type BucketName =\n | 'resources-local-dev'\n | 'resources-anytime'\n | 'resources-comptalib'\n | 'resources-eunomia'\n | 'resources-legalstart'\n | 'resources-pourcentage'\n | 'resources-statuts-express'\n | 'resources-clementine'\n | 'resources-comptalib-staging'\n | 'clementine-website'\n | 'resources-internal'\n | 'sales-contract';\n\ninterface AwsClementine {\n accessKeyId: string;\n secretAccessKey: string;\n clementineBucketName: BucketName;\n apiVersion: string;\n}\n\ninterface Mail {\n user: string;\n password: string;\n host: string;\n port: number;\n tls: boolean;\n}\n\ninterface Client {\n host: string;\n hostFull: string;\n}\n\ninterface Twilio {\n accountSID: string;\n authToken: string;\n number: string;\n}\n\nexport interface Access {\n login: string;\n password: string;\n}\n\ninterface Pappers {\n token: string;\n url: string;\n}\n\ninterface Shine {\n host: string;\n hostV3: string;\n publicHost: string;\n clientId: string;\n clientSecret: string;\n redirect_uris: string[];\n status: string;\n scope: string;\n}\n\ninterface DefaultPermissions {\n gescom: boolean;\n compta: boolean;\n stats: boolean;\n docTreso: boolean;\n services: boolean;\n social: boolean;\n tva: boolean;\n simulation: boolean;\n simulationMultiple: boolean;\n balanceSheet: boolean;\n setting: boolean;\n purchase: boolean;\n}\n\ninterface Crisp {\n identifier: string;\n key: string;\n}\n\ninterface ConfigBrand {\n name: string;\n api: string;\n api2: string;\n api2Clementine: string;\n api2Legalstart: string;\n}\n\nexport interface Ocr {\n URL: string;\n}\n\ninterface JeDeclare {\n access: Access2[];\n serviceVersion: string;\n}\n\ninterface Access2 {\n name: string;\n test: Test;\n production: Production;\n}\n\ninterface Test {\n login: string;\n password: string;\n editor: string;\n software: string;\n wsdl: Wsdl;\n}\n\ninterface Wsdl {\n url: string;\n}\n\ninterface Production {\n login: string;\n password: string;\n editor: string;\n software: string;\n wsdl: Wsdl2;\n}\n\ninterface Wsdl2 {\n url: string;\n}\n\nexport interface Notification {\n hookToken: string;\n}\n\ninterface Pdfizer {\n url: string;\n key: string;\n}\n\ninterface IDocus {\n baseUrl: string;\n callbackurl: string;\n authorizationKey: string;\n}\n\ninterface Companeo {\n username: string;\n pass: string;\n}\n\ninterface Inpi {\n username: string;\n password: string;\n}\n\ninterface Brevo {\n lists: {\n hot: number;\n paying: number;\n cold: number;\n churned: number;\n };\n}\n\ninterface Echo {\n url: string;\n accountid: string;\n apikey: string;\n}\n"]}
@@ -1,6 +1,4 @@
1
1
  export declare class GetLastRef {
2
- login: string;
3
- password: string;
4
2
  idTypeBrand: Array<number>;
5
3
  }
6
4
  //# sourceMappingURL=GetLastRef.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"GetLastRef.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/internalInvoicing/GetLastRef.ts"],"names":[],"mappings":"AAGA,qBAAa,UAAU;IAGrB,KAAK,EAAE,MAAM,CAAC;IAId,QAAQ,EAAE,MAAM,CAAC;IAIjB,WAAW,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CAC5B"}
1
+ {"version":3,"file":"GetLastRef.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/internalInvoicing/GetLastRef.ts"],"names":[],"mappings":"AAEA,qBAAa,UAAU;IAErB,WAAW,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CAC5B"}
@@ -10,24 +10,12 @@ var __metadata = (this && this.__metadata) || function (k, v) {
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.GetLastRef = void 0;
13
- const class_validator_1 = require("class-validator");
14
13
  const utils_1 = require("../../../../utils");
15
14
  class GetLastRef {
16
15
  }
17
16
  exports.GetLastRef = GetLastRef;
18
17
  __decorate([
19
18
  (0, utils_1.ApiProperty)(),
20
- (0, class_validator_1.IsString)(),
21
- __metadata("design:type", String)
22
- ], GetLastRef.prototype, "login", void 0);
23
- __decorate([
24
- (0, utils_1.ApiProperty)(),
25
- (0, class_validator_1.IsString)(),
26
- __metadata("design:type", String)
27
- ], GetLastRef.prototype, "password", void 0);
28
- __decorate([
29
- (0, utils_1.ApiProperty)(),
30
- (0, class_validator_1.IsArray)(),
31
19
  __metadata("design:type", Array)
32
20
  ], GetLastRef.prototype, "idTypeBrand", void 0);
33
21
  //# sourceMappingURL=GetLastRef.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"GetLastRef.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/internalInvoicing/GetLastRef.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAoD;AACpD,6CAAgD;AAEhD,MAAa,UAAU;CAYtB;AAZD,gCAYC;AATC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;yCACG;AAId;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;4CACM;AAIjB;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,yBAAO,GAAE;8BACG,KAAK;+CAAS","sourcesContent":["import { IsArray, IsString } from 'class-validator';\nimport { ApiProperty } from '../../../../utils';\n\nexport class GetLastRef {\n @ApiProperty()\n @IsString()\n login: string;\n\n @ApiProperty()\n @IsString()\n password: string;\n\n @ApiProperty()\n @IsArray()\n idTypeBrand: Array<number>;\n}\n"]}
1
+ {"version":3,"file":"GetLastRef.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/internalInvoicing/GetLastRef.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAgD;AAEhD,MAAa,UAAU;CAGtB;AAHD,gCAGC;AADC;IADC,IAAA,mBAAW,GAAE;8BACD,KAAK;+CAAS","sourcesContent":["import { ApiProperty } from '../../../../utils';\n\nexport class GetLastRef {\n @ApiProperty()\n idTypeBrand: Array<number>;\n}\n"]}
@@ -1,10 +1,19 @@
1
1
  import { SubscriptionType } from '../../../Enum/SubscriptionType';
2
2
  import { WhereOptions } from 'sequelize';
3
3
  import { ISociety } from '../../models/ISociety';
4
+ import { RequiredQueryPaginate } from '../BasePaginate';
5
+ import { Role } from '../../../Enum/Role';
6
+ import { EntityType } from '../../../Enum/EntityType';
4
7
  export declare class QueryConfirm {
5
8
  tokenConfirmedAt: string;
6
9
  email: string;
7
10
  }
11
+ export declare class QueryGetAllUsersPaginated extends RequiredQueryPaginate {
12
+ search?: string;
13
+ roles?: Role[];
14
+ entities?: EntityType[];
15
+ active?: boolean;
16
+ }
8
17
  export declare class QueryGetAllCollaborators {
9
18
  idUser?: number[];
10
19
  include?: string[];
@@ -1 +1 @@
1
- {"version":3,"file":"Query.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/user/Query.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAClE,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AACzC,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEjD,qBAAa,YAAY;IAEvB,gBAAgB,EAAE,MAAM,CAAC;IAGzB,KAAK,EAAE,MAAM,CAAC;CACf;AAED,qBAAa,wBAAwB;IAOnC,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAQlB,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;CACpB;AAED,qBAAa,+BAA+B;IAI1C,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAQ3B,OAAO,EAAE,MAAM,EAAE,CAAC;CACnB;AAED,qBAAa,sBAAsB;IAOjC,SAAS,EAAE,MAAM,CAAC;IASlB,KAAK,EAAE,MAAM,EAAE,CAAC;IAMhB,yBAAyB,CAAC,EAAE,OAAO,CAAC;CACrC;AAED,qBAAa,oBAAoB;IAO/B,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,qBAAa,2BAA2B;IAEtC,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,qBAAa,kBAAkB;IAI7B,kBAAkB,CAAC,EAAE,gBAAgB,CAAC;IAMtC,eAAe,CAAC,EAAE,OAAO,CAAC;IAM1B,eAAe,CAAC,EAAE,OAAO,CAAC;IAK1B,UAAU,CAAC,EAAE,OAAO,CAAC,MAAM,QAAQ,EAAE,MAAM,CAAC,EAAE,CAAC;IAoC/C,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IAInB,KAAK,CAAC,EAAE,YAAY,CAA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K5B,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACnB;AAED,qBAAa,QAAQ;IAKnB,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB"}
@@ -9,11 +9,12 @@ var __metadata = (this && this.__metadata) || function (k, v) {
9
9
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.QueryGet = exports.QueryUserExport = exports.QueryUserSmsConfirmation = exports.QueryUpdatePassword = exports.GetSocietyFromUser = exports.QueryResendConfirmationLink = exports.QueryGetAllWithoutBp = exports.QueryGetAllFromSociety = exports.QueryGetAllCollaboratorsByRoles = exports.QueryGetAllCollaborators = exports.QueryConfirm = void 0;
12
+ exports.QueryGet = exports.QueryUserExport = exports.QueryUserSmsConfirmation = exports.QueryUpdatePassword = exports.GetSocietyFromUser = exports.QueryResendConfirmationLink = exports.QueryGetAllWithoutBp = exports.QueryGetAllFromSociety = exports.QueryGetAllCollaboratorsByRoles = exports.QueryGetAllCollaborators = exports.QueryGetAllUsersPaginated = exports.QueryConfirm = void 0;
13
13
  const class_validator_1 = require("class-validator");
14
14
  const utils_1 = require("../../../../utils");
15
15
  const boolean_transform_1 = require("../../../../utils/transforms/boolean.transform");
16
16
  const SubscriptionType_1 = require("../../../Enum/SubscriptionType");
17
+ const BasePaginate_1 = require("../BasePaginate");
17
18
  class QueryConfirm {
18
19
  }
19
20
  exports.QueryConfirm = QueryConfirm;
@@ -25,6 +26,34 @@ __decorate([
25
26
  (0, utils_1.ApiProperty)(),
26
27
  __metadata("design:type", String)
27
28
  ], QueryConfirm.prototype, "email", void 0);
29
+ class QueryGetAllUsersPaginated extends BasePaginate_1.RequiredQueryPaginate {
30
+ }
31
+ exports.QueryGetAllUsersPaginated = QueryGetAllUsersPaginated;
32
+ __decorate([
33
+ (0, utils_1.ApiPropertyOptional)(),
34
+ (0, class_validator_1.IsOptional)(),
35
+ (0, class_validator_1.IsString)(),
36
+ __metadata("design:type", String)
37
+ ], QueryGetAllUsersPaginated.prototype, "search", void 0);
38
+ __decorate([
39
+ (0, utils_1.ApiPropertyOptional)(),
40
+ (0, class_validator_1.IsOptional)(),
41
+ (0, class_validator_1.IsArray)(),
42
+ __metadata("design:type", Array)
43
+ ], QueryGetAllUsersPaginated.prototype, "roles", void 0);
44
+ __decorate([
45
+ (0, utils_1.ApiPropertyOptional)(),
46
+ (0, class_validator_1.IsOptional)(),
47
+ (0, class_validator_1.IsArray)(),
48
+ __metadata("design:type", Array)
49
+ ], QueryGetAllUsersPaginated.prototype, "entities", void 0);
50
+ __decorate([
51
+ (0, utils_1.ApiPropertyOptional)(),
52
+ (0, class_validator_1.IsOptional)(),
53
+ (0, class_validator_1.IsBoolean)(),
54
+ (0, boolean_transform_1.ToBoolean)(),
55
+ __metadata("design:type", Boolean)
56
+ ], QueryGetAllUsersPaginated.prototype, "active", void 0);
28
57
  class QueryGetAllCollaborators {
29
58
  }
30
59
  exports.QueryGetAllCollaborators = QueryGetAllCollaborators;
@@ -1 +1 @@
1
- {"version":3,"file":"Query.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/user/Query.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuG;AACvG,6CAAqE;AACrE,sFAA2E;AAC3E,qEAAkE;AAIlE,MAAa,YAAY;CAMxB;AAND,oCAMC;AAJC;IADC,IAAA,mBAAW,GAAE;;sDACW;AAGzB;IADC,IAAA,mBAAW,GAAE;;2CACA;AAGhB,MAAa,wBAAwB;CAgBpC;AAhBD,4DAgBC;AATC;IANC,IAAA,mBAAW,EAAC;QACX,WAAW,EAAE,oBAAoB;QACjC,QAAQ,EAAE,KAAK;QACf,IAAI,EAAE,CAAC,MAAM,CAAC;QACd,OAAO,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC;KACjB,CAAC;;wDACgB;AAQlB;IANC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ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AA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;IACP,IAAA,qBAAG,EAAC,CAAC,CAAC;;+CACY;AAKnB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;kDACW;AAGxB,MAAa,wBAAwB;CAGpC;AAHD,4DAGC;AADC;IADC,IAAA,mBAAW,GAAE;;sDACD;AAGf,MAAa,eAAe;CA+B3B;AA/BD,0CA+BC;AA3BC;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;kDACQ;AAKnB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;gDACM;AAMjB;IAJC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;;gDACM;AAKlB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;6CACG;AAKd;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;2DACiB;AAK5B;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;;+CACQ;AAGpB,MAAa,QAAQ;CAMpB;AAND,4BAMC;AADC;IAJC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;;8CACW","sourcesContent":["import { IsArray, IsBoolean, IsIn, IsInt, IsNumber, IsOptional, IsString, Min } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\nimport { SubscriptionType } from '../../../Enum/SubscriptionType';\nimport { WhereOptions } from 'sequelize';\nimport { ISociety } from '../../models/ISociety';\n\nexport class QueryConfirm {\n @ApiProperty()\n tokenConfirmedAt: string;\n\n @ApiProperty()\n email: string;\n}\n\nexport class QueryGetAllCollaborators {\n @ApiProperty({\n description: 'filtering users id',\n required: false,\n type: [Number],\n example: [1, 13],\n })\n idUser?: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString({\n each: true,\n })\n @IsIn(['avatar', 'teams', 'businessLines', 'collaboraterDetails'], { each: true })\n include?: string[];\n}\n\nexport class QueryGetAllCollaboratorsByRoles {\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idTimeCounterType?: number;\n\n @ApiProperty({\n description: 'roles used for group users',\n required: true,\n type: [Number],\n example: [1, 13],\n })\n idRoles: number[];\n}\n\nexport class QueryGetAllFromSociety {\n @ApiProperty({\n description: 'id of the specified society',\n required: true,\n type: Number,\n example: 100,\n })\n idSociety: number;\n\n @ApiProperty({\n description: 'array of roles id needed to return list of users',\n required: true,\n type: [Number],\n example: [1, 13],\n })\n @IsArray()\n roles: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n usersNotInBusinessPartner?: boolean;\n}\n\nexport class QueryGetAllWithoutBp {\n @ApiProperty({\n description: 'id of the specified society',\n required: true,\n type: Number,\n example: 100,\n })\n idSociety: number;\n}\n\nexport class QueryResendConfirmationLink {\n @ApiProperty()\n id: number;\n}\n\nexport class GetSocietyFromUser {\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n idSubscriptionType?: SubscriptionType;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n displayArchived?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n onlyLabAccepted?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString({ each: true })\n attributes?: Extract<keyof ISociety, string>[];\n\n @ApiPropertyOptional({\n default: [\n 'societyConfig',\n 'brandType',\n 'societyGescom',\n 'oldExpertInfo',\n 'activity',\n 'follows',\n 'compta',\n 'subscriptionType',\n 'connector',\n 'permissions',\n ],\n })\n @IsOptional()\n @IsString({\n each: true,\n })\n @IsIn(\n [\n 'societyConfig',\n 'brandType',\n 'societyGescom',\n 'oldExpertInfo',\n 'activity',\n 'follows',\n 'compta',\n 'subscriptionType',\n 'connector',\n 'permissions',\n 'societyDetails',\n ],\n { each: true },\n )\n include?: string[];\n\n @ApiPropertyOptional()\n @IsOptional()\n where?: WhereOptions<ISociety>;\n}\n\nexport class QueryUpdatePassword {\n @ApiProperty()\n @IsString()\n password: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n @Min(1)\n id?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n token?: string | null;\n}\n\nexport class QueryUserSmsConfirmation {\n @ApiProperty()\n code: string;\n}\n\nexport class QueryUserExport {\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n dateStart?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n dateEnd?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n archive?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n week?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n idTypeSubscription?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n reason?: number[];\n}\n\nexport class QueryGet {\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n withNewToken?: boolean;\n}\n"]}
1
+ {"version":3,"file":"Query.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/user/Query.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuG;AACvG,6CAAqE;AACrE,sFAA2E;AAC3E,qEAAkE;AAGlE,kDAAwD;AAIxD,MAAa,YAAY;CAMxB;AAND,oCAMC;AAJC;IADC,IAAA,mBAAW,GAAE;;sDACW;AAG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U,GAAE;IACZ,IAAA,0BAAQ,GAAE;;gDACM;AAMjB;IAJC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;;gDACM;AAKlB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;6CACG;AAKd;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;2DACiB;AAK5B;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;;+CACQ;AAGpB,MAAa,QAAQ;CAMpB;AAND,4BAMC;AADC;IAJC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;;8CACW","sourcesContent":["import { IsArray, IsBoolean, IsIn, IsInt, IsNumber, IsOptional, IsString, Min } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\nimport { SubscriptionType } from '../../../Enum/SubscriptionType';\nimport { WhereOptions } from 'sequelize';\nimport { ISociety } from '../../models/ISociety';\nimport { RequiredQueryPaginate } from '../BasePaginate';\nimport { Role } from '../../../Enum/Role';\nimport { EntityType } from '../../../Enum/EntityType';\n\nexport class QueryConfirm {\n @ApiProperty()\n tokenConfirmedAt: string;\n\n @ApiProperty()\n email: string;\n}\n\nexport class QueryGetAllUsersPaginated extends RequiredQueryPaginate {\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n declare search?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n declare roles?: Role[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n declare entities?: EntityType[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n declare active?: boolean;\n}\n\nexport class QueryGetAllCollaborators {\n @ApiProperty({\n description: 'filtering users id',\n required: false,\n type: [Number],\n example: [1, 13],\n })\n idUser?: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString({\n each: true,\n })\n @IsIn(['avatar', 'teams', 'businessLines', 'collaboraterDetails'], { each: true })\n include?: string[];\n}\n\nexport class QueryGetAllCollaboratorsByRoles {\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idTimeCounterType?: number;\n\n @ApiProperty({\n description: 'roles used for group users',\n required: true,\n type: [Number],\n example: [1, 13],\n })\n idRoles: number[];\n}\n\nexport class QueryGetAllFromSociety {\n @ApiProperty({\n description: 'id of the specified society',\n required: true,\n type: Number,\n example: 100,\n })\n idSociety: number;\n\n @ApiProperty({\n description: 'array of roles id needed to return list of users',\n required: true,\n type: [Number],\n example: [1, 13],\n })\n @IsArray()\n roles: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n usersNotInBusinessPartner?: boolean;\n}\n\nexport class QueryGetAllWithoutBp {\n @ApiProperty({\n description: 'id of the specified society',\n required: true,\n type: Number,\n example: 100,\n })\n idSociety: number;\n}\n\nexport class QueryResendConfirmationLink {\n @ApiProperty()\n id: number;\n}\n\nexport class GetSocietyFromUser {\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n idSubscriptionType?: SubscriptionType;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n displayArchived?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n onlyLabAccepted?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString({ each: true })\n attributes?: Extract<keyof ISociety, string>[];\n\n @ApiPropertyOptional({\n default: [\n 'societyConfig',\n 'brandType',\n 'societyGescom',\n 'oldExpertInfo',\n 'activity',\n 'follows',\n 'compta',\n 'subscriptionType',\n 'connector',\n 'permissions',\n ],\n })\n @IsOptional()\n @IsString({\n each: true,\n })\n @IsIn(\n [\n 'societyConfig',\n 'brandType',\n 'societyGescom',\n 'oldExpertInfo',\n 'activity',\n 'follows',\n 'compta',\n 'subscriptionType',\n 'connector',\n 'permissions',\n 'societyDetails',\n ],\n { each: true },\n )\n include?: string[];\n\n @ApiPropertyOptional()\n @IsOptional()\n where?: WhereOptions<ISociety>;\n}\n\nexport class QueryUpdatePassword {\n @ApiProperty()\n @IsString()\n password: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n @Min(1)\n id?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n token?: string | null;\n}\n\nexport class QueryUserSmsConfirmation {\n @ApiProperty()\n code: string;\n}\n\nexport class QueryUserExport {\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n dateStart?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n dateEnd?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n archive?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n week?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n idTypeSubscription?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n reason?: number[];\n}\n\nexport class QueryGet {\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n withNewToken?: boolean;\n}\n"]}
@@ -2,11 +2,13 @@ import { Activity } from '../../../Enum/Activity';
2
2
  import { Civility } from '../../../Enum/Civility';
3
3
  import { IAnalyticsUtm } from '../../models/IAnalyticsUtm';
4
4
  import { LegalFormTypeEnum } from '../../../Enum/LegalForm';
5
+ import { UpdateOrCreateVisualizedInformation } from '../visualizedInformation/Update';
5
6
  /**
6
7
  * Response of the register prospect endpoint
7
8
  */
8
9
  export interface RegisterProspectResponse {
9
- externalId: string;
10
+ externalId?: string;
11
+ token?: string;
10
12
  }
11
13
  /**
12
14
  * Body of the register prospect endpoint
@@ -15,6 +17,7 @@ export interface ProspectInfo {
15
17
  idCivility?: Civility;
16
18
  firstname?: string;
17
19
  lastname?: string;
20
+ password?: string;
18
21
  email: string;
19
22
  phone?: string;
20
23
  prefix?: string;
@@ -49,6 +52,7 @@ declare class ProspectInfoBody implements ProspectInfo {
49
52
  email: string;
50
53
  phone?: string;
51
54
  prefix?: string;
55
+ password?: string;
52
56
  }
53
57
  declare class ProspectSocietyInfoBody implements ProspectSocietyInfo {
54
58
  name?: string;
@@ -80,6 +84,7 @@ export declare class RegisterProspectBody implements RegisterProspect {
80
84
  referralProgram?: ReferalProgramBody;
81
85
  analyticsUtm?: AnalyticsUtmBody;
82
86
  comment?: string;
87
+ visualizedInformations?: UpdateOrCreateVisualizedInformation[];
83
88
  }
84
89
  export {};
85
90
  //# sourceMappingURL=RegisterProspect.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"RegisterProspect.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/user/RegisterProspect.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAClD,OAAO,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAClD,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAC3D,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAE5D;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACvC,UAAU,EAAE,MAAM,CAAC;CACpB;AAED;;GAEG;AACH,MAAM,WAAW,YAAY;IAC3B,UAAU,CAAC,EAAE,QAAQ,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,mBAAmB;IAClC,IAAI,CAAC,EAA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;IAKhC,OAAO,CAAC,EAAE,MAAM,CAAC;IAKjB,sBAAsB,CAAC,EAAE,mCAAmC,EAAE,CAAC;CAChE"}
@@ -53,6 +53,18 @@ __decorate([
53
53
  (0, class_validator_1.IsString)(),
54
54
  __metadata("design:type", String)
55
55
  ], ProspectInfoBody.prototype, "prefix", void 0);
56
+ __decorate([
57
+ (0, utils_1.ApiPropertyOptional)(),
58
+ (0, class_validator_1.IsStrongPassword)({
59
+ minLength: 8,
60
+ minLowercase: 0,
61
+ minNumbers: 0,
62
+ minSymbols: 0,
63
+ minUppercase: 0,
64
+ }, { message: 'Le mot de passe doit comporter 8 caractères minimum' }),
65
+ (0, class_validator_1.IsOptional)(),
66
+ __metadata("design:type", String)
67
+ ], ProspectInfoBody.prototype, "password", void 0);
56
68
  class ProspectSocietyInfoBody {
57
69
  }
58
70
  __decorate([
@@ -205,4 +217,10 @@ __decorate([
205
217
  (0, class_validator_1.IsString)(),
206
218
  __metadata("design:type", String)
207
219
  ], RegisterProspectBody.prototype, "comment", void 0);
220
+ __decorate([
221
+ (0, utils_1.ApiPropertyOptional)(),
222
+ (0, class_validator_1.IsOptional)(),
223
+ (0, class_validator_1.IsArray)(),
224
+ __metadata("design:type", Array)
225
+ ], RegisterProspectBody.prototype, "visualizedInformations", void 0);
208
226
  //# sourceMappingURL=RegisterProspect.js.map