@silexpert/core 1.3.58 → 1.3.60

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 (406) hide show
  1. package/dist/cjs/api/resources/InternalInvoicing.d.ts +1 -2
  2. package/dist/cjs/api/resources/InternalInvoicing.d.ts.map +1 -1
  3. package/dist/cjs/api/resources/InternalInvoicing.js +0 -3
  4. package/dist/cjs/api/resources/InternalInvoicing.js.map +1 -1
  5. package/dist/cjs/api/resources/Payment.d.ts +2 -1
  6. package/dist/cjs/api/resources/Payment.d.ts.map +1 -1
  7. package/dist/cjs/api/resources/Payment.js +3 -0
  8. package/dist/cjs/api/resources/Payment.js.map +1 -1
  9. package/dist/cjs/api/resources/Subscription.d.ts +2 -2
  10. package/dist/cjs/api/resources/Subscription.d.ts.map +1 -1
  11. package/dist/cjs/api/resources/Subscription.js +3 -4
  12. package/dist/cjs/api/resources/Subscription.js.map +1 -1
  13. package/dist/cjs/api/resources/User.d.ts +2 -1
  14. package/dist/cjs/api/resources/User.d.ts.map +1 -1
  15. package/dist/cjs/api/resources/User.js +3 -0
  16. package/dist/cjs/api/resources/User.js.map +1 -1
  17. package/dist/cjs/api/resources.d.ts +0 -4
  18. package/dist/cjs/api/resources.d.ts.map +1 -1
  19. package/dist/cjs/api/resources.js +0 -4
  20. package/dist/cjs/api/resources.js.map +1 -1
  21. package/dist/cjs/types/Enum/BalanceSheet.js +12 -12
  22. package/dist/cjs/types/Enum/BalanceSheet.js.map +1 -1
  23. package/dist/cjs/types/Enum/Brevo.d.ts +2 -1
  24. package/dist/cjs/types/Enum/Brevo.d.ts.map +1 -1
  25. package/dist/cjs/types/Enum/Brevo.js +1 -0
  26. package/dist/cjs/types/Enum/Brevo.js.map +1 -1
  27. package/dist/cjs/types/Enum/EntityType.d.ts +11 -1
  28. package/dist/cjs/types/Enum/EntityType.d.ts.map +1 -1
  29. package/dist/cjs/types/Enum/EntityType.js +11 -0
  30. package/dist/cjs/types/Enum/EntityType.js.map +1 -1
  31. package/dist/cjs/types/Enum/PrestationType.d.ts +1 -0
  32. package/dist/cjs/types/Enum/PrestationType.d.ts.map +1 -1
  33. package/dist/cjs/types/Enum/PrestationType.js +22 -10
  34. package/dist/cjs/types/Enum/PrestationType.js.map +1 -1
  35. package/dist/cjs/types/Enum/ReasonTerminationType.d.ts +2 -1
  36. package/dist/cjs/types/Enum/ReasonTerminationType.d.ts.map +1 -1
  37. package/dist/cjs/types/Enum/ReasonTerminationType.js +8 -2
  38. package/dist/cjs/types/Enum/ReasonTerminationType.js.map +1 -1
  39. package/dist/cjs/types/Enum/TeamType.js +1 -1
  40. package/dist/cjs/types/Enum/TeamType.js.map +1 -1
  41. package/dist/cjs/types/Interface/api/affectedPatrimony/CreateInKindAffectedPatrimony.js +1 -1
  42. package/dist/cjs/types/Interface/api/affectedPatrimony/CreateInKindAffectedPatrimony.js.map +1 -1
  43. package/dist/cjs/types/Interface/api/card/ModifyAcceptation.d.ts +9 -0
  44. package/dist/cjs/types/Interface/api/card/ModifyAcceptation.d.ts.map +1 -0
  45. package/dist/cjs/types/Interface/api/card/ModifyAcceptation.js +43 -0
  46. package/dist/cjs/types/Interface/api/card/ModifyAcceptation.js.map +1 -0
  47. package/dist/{mjs/types/Interface/api/card/OrganizeBalanceSheets.d.ts → cjs/types/Interface/api/card/ModifyBalanceSheet.d.ts} +5 -1
  48. package/dist/cjs/types/Interface/api/card/ModifyBalanceSheet.d.ts.map +1 -0
  49. package/dist/cjs/types/Interface/api/card/{OrganizeBalanceSheets.js → ModifyBalanceSheet.js} +16 -2
  50. package/dist/cjs/types/Interface/api/card/ModifyBalanceSheet.js.map +1 -0
  51. package/dist/cjs/types/Interface/api/card/ModifyCustomerVat.d.ts +5 -0
  52. package/dist/cjs/types/Interface/api/card/ModifyCustomerVat.d.ts.map +1 -0
  53. package/dist/cjs/types/Interface/api/{promoCode/ReadDefaultPaginationPromoCode.js → card/ModifyCustomerVat.js} +7 -12
  54. package/dist/cjs/types/Interface/api/card/ModifyCustomerVat.js.map +1 -0
  55. package/dist/cjs/types/Interface/api/commercial/RequiredDocsTypeParams.d.ts +1 -0
  56. package/dist/cjs/types/Interface/api/commercial/RequiredDocsTypeParams.d.ts.map +1 -1
  57. package/dist/cjs/types/Interface/api/commercial/RequiredDocsTypeParams.js.map +1 -1
  58. package/dist/cjs/types/Interface/api/commercialManagement/Create.js +1 -1
  59. package/dist/cjs/types/Interface/api/commercialManagement/Create.js.map +1 -1
  60. package/dist/cjs/types/Interface/api/config/ConfigType.d.ts +40 -71
  61. package/dist/cjs/types/Interface/api/config/ConfigType.d.ts.map +1 -1
  62. package/dist/cjs/types/Interface/api/config/ConfigType.js.map +1 -1
  63. package/dist/cjs/types/Interface/api/dubiousCustomer/Create.js +4 -4
  64. package/dist/cjs/types/Interface/api/dubiousCustomer/Create.js.map +1 -1
  65. package/dist/cjs/types/Interface/api/internalInvoicing/CreateInternalInvoicing.d.ts +0 -6
  66. package/dist/cjs/types/Interface/api/internalInvoicing/CreateInternalInvoicing.d.ts.map +1 -1
  67. package/dist/cjs/types/Interface/api/internalInvoicing/CreateInternalInvoicing.js +1 -25
  68. package/dist/cjs/types/Interface/api/internalInvoicing/CreateInternalInvoicing.js.map +1 -1
  69. package/dist/cjs/types/Interface/api/internalInvoicing/GetLastRef.d.ts +0 -2
  70. package/dist/cjs/types/Interface/api/internalInvoicing/GetLastRef.d.ts.map +1 -1
  71. package/dist/cjs/types/Interface/api/internalInvoicing/GetLastRef.js +0 -12
  72. package/dist/cjs/types/Interface/api/internalInvoicing/GetLastRef.js.map +1 -1
  73. package/dist/cjs/types/Interface/api/notification/Update.d.ts +6 -0
  74. package/dist/cjs/types/Interface/api/notification/Update.d.ts.map +1 -0
  75. package/dist/cjs/types/Interface/api/{societyPromoCode/CreateSocietyPromoCode.js → notification/Update.js} +20 -9
  76. package/dist/cjs/types/Interface/api/notification/Update.js.map +1 -0
  77. package/dist/cjs/types/Interface/api/payment/Params.d.ts +3 -0
  78. package/dist/cjs/types/Interface/api/payment/Params.d.ts.map +1 -1
  79. package/dist/cjs/types/Interface/api/payment/Params.js +10 -1
  80. package/dist/cjs/types/Interface/api/payment/Params.js.map +1 -1
  81. package/dist/cjs/types/Interface/api/payment/Query.d.ts +2 -0
  82. package/dist/cjs/types/Interface/api/payment/Query.d.ts.map +1 -1
  83. package/dist/cjs/types/Interface/api/payment/Query.js +13 -0
  84. package/dist/cjs/types/Interface/api/payment/Query.js.map +1 -1
  85. package/dist/cjs/types/Interface/api/product/CreateProduct.js +1 -1
  86. package/dist/cjs/types/Interface/api/product/CreateProduct.js.map +1 -1
  87. package/dist/cjs/types/Interface/api/provision/CreateProvisionForm.js +1 -1
  88. package/dist/cjs/types/Interface/api/provision/CreateProvisionForm.js.map +1 -1
  89. package/dist/cjs/types/Interface/api/provision/QueryProvisions.js +2 -2
  90. package/dist/cjs/types/Interface/api/provision/QueryProvisions.js.map +1 -1
  91. package/dist/cjs/types/Interface/api/provision/UpdateProvisionForm.js +1 -1
  92. package/dist/cjs/types/Interface/api/provision/UpdateProvisionForm.js.map +1 -1
  93. package/dist/cjs/types/Interface/api/shareCapital/CreateInKindContribution.js +1 -1
  94. package/dist/cjs/types/Interface/api/shareCapital/CreateInKindContribution.js.map +1 -1
  95. package/dist/cjs/types/Interface/api/shareCapital/CreateShareCapital.js +1 -1
  96. package/dist/cjs/types/Interface/api/shareCapital/CreateShareCapital.js.map +1 -1
  97. package/dist/cjs/types/Interface/api/user/Query.d.ts +9 -0
  98. package/dist/cjs/types/Interface/api/user/Query.d.ts.map +1 -1
  99. package/dist/cjs/types/Interface/api/user/Query.js +30 -1
  100. package/dist/cjs/types/Interface/api/user/Query.js.map +1 -1
  101. package/dist/cjs/types/Interface/models/IApiError.d.ts +0 -1
  102. package/dist/cjs/types/Interface/models/IApiError.d.ts.map +1 -1
  103. package/dist/cjs/types/Interface/models/IApiError.js +0 -2
  104. package/dist/cjs/types/Interface/models/IApiError.js.map +1 -1
  105. package/dist/cjs/types/index.d.ts +4 -11
  106. package/dist/cjs/types/index.d.ts.map +1 -1
  107. package/dist/cjs/types/index.js +4 -12
  108. package/dist/cjs/types/index.js.map +1 -1
  109. package/dist/cjs/utils/cerfa.js +1 -1
  110. package/dist/cjs/utils/cerfa.js.map +1 -1
  111. package/dist/cjs/utils/index.d.ts +0 -1
  112. package/dist/cjs/utils/index.d.ts.map +1 -1
  113. package/dist/cjs/utils/index.js +0 -1
  114. package/dist/cjs/utils/index.js.map +1 -1
  115. package/dist/cjs/utils/payment.d.ts +1 -0
  116. package/dist/cjs/utils/payment.d.ts.map +1 -1
  117. package/dist/cjs/utils/payment.js.map +1 -1
  118. package/dist/cjs/utils/prestation.d.ts +2 -1
  119. package/dist/cjs/utils/prestation.d.ts.map +1 -1
  120. package/dist/cjs/utils/prestation.js +19 -4
  121. package/dist/cjs/utils/prestation.js.map +1 -1
  122. package/dist/cjs/utils/vat/utils.d.ts +2 -0
  123. package/dist/cjs/utils/vat/utils.d.ts.map +1 -1
  124. package/dist/cjs/utils/vat/utils.js +10 -0
  125. package/dist/cjs/utils/vat/utils.js.map +1 -1
  126. package/dist/mjs/api/resources/InternalInvoicing.d.ts +1 -2
  127. package/dist/mjs/api/resources/InternalInvoicing.d.ts.map +1 -1
  128. package/dist/mjs/api/resources/InternalInvoicing.js +0 -3
  129. package/dist/mjs/api/resources/InternalInvoicing.js.map +1 -1
  130. package/dist/mjs/api/resources/Payment.d.ts +2 -1
  131. package/dist/mjs/api/resources/Payment.d.ts.map +1 -1
  132. package/dist/mjs/api/resources/Payment.js +3 -0
  133. package/dist/mjs/api/resources/Payment.js.map +1 -1
  134. package/dist/mjs/api/resources/Subscription.d.ts +2 -2
  135. package/dist/mjs/api/resources/Subscription.d.ts.map +1 -1
  136. package/dist/mjs/api/resources/Subscription.js +3 -4
  137. package/dist/mjs/api/resources/Subscription.js.map +1 -1
  138. package/dist/mjs/api/resources/User.d.ts +2 -1
  139. package/dist/mjs/api/resources/User.d.ts.map +1 -1
  140. package/dist/mjs/api/resources/User.js +6 -0
  141. package/dist/mjs/api/resources/User.js.map +1 -1
  142. package/dist/mjs/api/resources.d.ts +0 -4
  143. package/dist/mjs/api/resources.d.ts.map +1 -1
  144. package/dist/mjs/api/resources.js +0 -4
  145. package/dist/mjs/api/resources.js.map +1 -1
  146. package/dist/mjs/types/Enum/BalanceSheet.js +12 -12
  147. package/dist/mjs/types/Enum/BalanceSheet.js.map +1 -1
  148. package/dist/mjs/types/Enum/Brevo.d.ts +2 -1
  149. package/dist/mjs/types/Enum/Brevo.d.ts.map +1 -1
  150. package/dist/mjs/types/Enum/Brevo.js +1 -0
  151. package/dist/mjs/types/Enum/Brevo.js.map +1 -1
  152. package/dist/mjs/types/Enum/EntityType.d.ts +11 -1
  153. package/dist/mjs/types/Enum/EntityType.d.ts.map +1 -1
  154. package/dist/mjs/types/Enum/EntityType.js +11 -0
  155. package/dist/mjs/types/Enum/EntityType.js.map +1 -1
  156. package/dist/mjs/types/Enum/PrestationType.d.ts +1 -0
  157. package/dist/mjs/types/Enum/PrestationType.d.ts.map +1 -1
  158. package/dist/mjs/types/Enum/PrestationType.js +21 -9
  159. package/dist/mjs/types/Enum/PrestationType.js.map +1 -1
  160. package/dist/mjs/types/Enum/ReasonTerminationType.d.ts +2 -1
  161. package/dist/mjs/types/Enum/ReasonTerminationType.d.ts.map +1 -1
  162. package/dist/mjs/types/Enum/ReasonTerminationType.js +8 -2
  163. package/dist/mjs/types/Enum/ReasonTerminationType.js.map +1 -1
  164. package/dist/mjs/types/Enum/TeamType.js +1 -1
  165. package/dist/mjs/types/Enum/TeamType.js.map +1 -1
  166. package/dist/mjs/types/Interface/api/affectedPatrimony/CreateInKindAffectedPatrimony.js +1 -1
  167. package/dist/mjs/types/Interface/api/affectedPatrimony/CreateInKindAffectedPatrimony.js.map +1 -1
  168. package/dist/mjs/types/Interface/api/card/ModifyAcceptation.d.ts +9 -0
  169. package/dist/mjs/types/Interface/api/card/ModifyAcceptation.d.ts.map +1 -0
  170. package/dist/mjs/types/Interface/api/card/ModifyAcceptation.js +42 -0
  171. package/dist/mjs/types/Interface/api/card/ModifyAcceptation.js.map +1 -0
  172. package/dist/{cjs/types/Interface/api/card/OrganizeBalanceSheets.d.ts → mjs/types/Interface/api/card/ModifyBalanceSheet.d.ts} +5 -1
  173. package/dist/mjs/types/Interface/api/card/ModifyBalanceSheet.d.ts.map +1 -0
  174. package/dist/mjs/types/Interface/api/card/{OrganizeBalanceSheets.js → ModifyBalanceSheet.js} +16 -1
  175. package/dist/mjs/types/Interface/api/card/ModifyBalanceSheet.js.map +1 -0
  176. package/dist/mjs/types/Interface/api/card/ModifyCustomerVat.d.ts +5 -0
  177. package/dist/mjs/types/Interface/api/card/ModifyCustomerVat.d.ts.map +1 -0
  178. package/dist/mjs/types/Interface/api/{promoCode/ReadDefaultPaginationPromoCode.js → card/ModifyCustomerVat.js} +8 -9
  179. package/dist/mjs/types/Interface/api/card/ModifyCustomerVat.js.map +1 -0
  180. package/dist/mjs/types/Interface/api/commercial/RequiredDocsTypeParams.d.ts +1 -0
  181. package/dist/mjs/types/Interface/api/commercial/RequiredDocsTypeParams.d.ts.map +1 -1
  182. package/dist/mjs/types/Interface/api/commercial/RequiredDocsTypeParams.js.map +1 -1
  183. package/dist/mjs/types/Interface/api/commercialManagement/Create.js +1 -1
  184. package/dist/mjs/types/Interface/api/commercialManagement/Create.js.map +1 -1
  185. package/dist/mjs/types/Interface/api/config/ConfigType.d.ts +40 -71
  186. package/dist/mjs/types/Interface/api/config/ConfigType.d.ts.map +1 -1
  187. package/dist/mjs/types/Interface/api/config/ConfigType.js.map +1 -1
  188. package/dist/mjs/types/Interface/api/dubiousCustomer/Create.js +4 -4
  189. package/dist/mjs/types/Interface/api/dubiousCustomer/Create.js.map +1 -1
  190. package/dist/mjs/types/Interface/api/internalInvoicing/CreateInternalInvoicing.d.ts +0 -6
  191. package/dist/mjs/types/Interface/api/internalInvoicing/CreateInternalInvoicing.d.ts.map +1 -1
  192. package/dist/mjs/types/Interface/api/internalInvoicing/CreateInternalInvoicing.js +0 -27
  193. package/dist/mjs/types/Interface/api/internalInvoicing/CreateInternalInvoicing.js.map +1 -1
  194. package/dist/mjs/types/Interface/api/internalInvoicing/GetLastRef.d.ts +0 -2
  195. package/dist/mjs/types/Interface/api/internalInvoicing/GetLastRef.d.ts.map +1 -1
  196. package/dist/mjs/types/Interface/api/internalInvoicing/GetLastRef.js +0 -14
  197. package/dist/mjs/types/Interface/api/internalInvoicing/GetLastRef.js.map +1 -1
  198. package/dist/mjs/types/Interface/api/notification/Update.d.ts +6 -0
  199. package/dist/mjs/types/Interface/api/notification/Update.d.ts.map +1 -0
  200. package/dist/mjs/types/Interface/api/{societyPromoCode/CreateSocietyPromoCode.js → notification/Update.js} +22 -10
  201. package/dist/mjs/types/Interface/api/notification/Update.js.map +1 -0
  202. package/dist/mjs/types/Interface/api/payment/Params.d.ts +3 -0
  203. package/dist/mjs/types/Interface/api/payment/Params.d.ts.map +1 -1
  204. package/dist/mjs/types/Interface/api/payment/Params.js +10 -1
  205. package/dist/mjs/types/Interface/api/payment/Params.js.map +1 -1
  206. package/dist/mjs/types/Interface/api/payment/Query.d.ts +2 -0
  207. package/dist/mjs/types/Interface/api/payment/Query.d.ts.map +1 -1
  208. package/dist/mjs/types/Interface/api/payment/Query.js +16 -1
  209. package/dist/mjs/types/Interface/api/payment/Query.js.map +1 -1
  210. package/dist/mjs/types/Interface/api/product/CreateProduct.js +1 -1
  211. package/dist/mjs/types/Interface/api/product/CreateProduct.js.map +1 -1
  212. package/dist/mjs/types/Interface/api/provision/CreateProvisionForm.js +1 -1
  213. package/dist/mjs/types/Interface/api/provision/CreateProvisionForm.js.map +1 -1
  214. package/dist/mjs/types/Interface/api/provision/QueryProvisions.js +2 -2
  215. package/dist/mjs/types/Interface/api/provision/QueryProvisions.js.map +1 -1
  216. package/dist/mjs/types/Interface/api/provision/UpdateProvisionForm.js +1 -1
  217. package/dist/mjs/types/Interface/api/provision/UpdateProvisionForm.js.map +1 -1
  218. package/dist/mjs/types/Interface/api/shareCapital/CreateInKindContribution.js +1 -1
  219. package/dist/mjs/types/Interface/api/shareCapital/CreateInKindContribution.js.map +1 -1
  220. package/dist/mjs/types/Interface/api/shareCapital/CreateShareCapital.js +1 -1
  221. package/dist/mjs/types/Interface/api/shareCapital/CreateShareCapital.js.map +1 -1
  222. package/dist/mjs/types/Interface/api/user/Query.d.ts +9 -0
  223. package/dist/mjs/types/Interface/api/user/Query.d.ts.map +1 -1
  224. package/dist/mjs/types/Interface/api/user/Query.js +28 -0
  225. package/dist/mjs/types/Interface/api/user/Query.js.map +1 -1
  226. package/dist/mjs/types/Interface/models/IApiError.d.ts +0 -1
  227. package/dist/mjs/types/Interface/models/IApiError.d.ts.map +1 -1
  228. package/dist/mjs/types/Interface/models/IApiError.js +0 -2
  229. package/dist/mjs/types/Interface/models/IApiError.js.map +1 -1
  230. package/dist/mjs/types/index.d.ts +4 -11
  231. package/dist/mjs/types/index.d.ts.map +1 -1
  232. package/dist/mjs/types/index.js +4 -12
  233. package/dist/mjs/types/index.js.map +1 -1
  234. package/dist/mjs/utils/cerfa.js +1 -1
  235. package/dist/mjs/utils/cerfa.js.map +1 -1
  236. package/dist/mjs/utils/index.d.ts +0 -1
  237. package/dist/mjs/utils/index.d.ts.map +1 -1
  238. package/dist/mjs/utils/index.js +0 -1
  239. package/dist/mjs/utils/index.js.map +1 -1
  240. package/dist/mjs/utils/payment.d.ts +1 -0
  241. package/dist/mjs/utils/payment.d.ts.map +1 -1
  242. package/dist/mjs/utils/payment.js.map +1 -1
  243. package/dist/mjs/utils/prestation.d.ts +2 -1
  244. package/dist/mjs/utils/prestation.d.ts.map +1 -1
  245. package/dist/mjs/utils/prestation.js +17 -4
  246. package/dist/mjs/utils/prestation.js.map +1 -1
  247. package/dist/mjs/utils/vat/utils.d.ts +2 -0
  248. package/dist/mjs/utils/vat/utils.d.ts.map +1 -1
  249. package/dist/mjs/utils/vat/utils.js +9 -0
  250. package/dist/mjs/utils/vat/utils.js.map +1 -1
  251. package/package.json +1 -1
  252. package/ts/api/resources/InternalInvoicing.ts +0 -4
  253. package/ts/api/resources/Payment.ts +7 -2
  254. package/ts/api/resources/Subscription.ts +5 -15
  255. package/ts/api/resources/User.ts +8 -0
  256. package/ts/api/resources.ts +0 -4
  257. package/ts/types/Enum/BalanceSheet.ts +12 -12
  258. package/ts/types/Enum/Brevo.ts +1 -0
  259. package/ts/types/Enum/EntityType.ts +11 -0
  260. package/ts/types/Enum/PrestationType.ts +22 -9
  261. package/ts/types/Enum/ReasonTerminationType.ts +8 -2
  262. package/ts/types/Enum/TeamType.ts +1 -1
  263. package/ts/types/Interface/api/affectedPatrimony/CreateInKindAffectedPatrimony.ts +1 -1
  264. package/ts/types/Interface/api/card/ModifyAcceptation.ts +24 -0
  265. package/ts/types/Interface/api/card/{OrganizeBalanceSheets.ts → ModifyBalanceSheet.ts} +11 -0
  266. package/ts/types/Interface/api/card/ModifyCustomerVat.ts +13 -0
  267. package/ts/types/Interface/api/commercial/RequiredDocsTypeParams.ts +1 -0
  268. package/ts/types/Interface/api/commercialManagement/Create.ts +1 -1
  269. package/ts/types/Interface/api/config/ConfigType.ts +39 -75
  270. package/ts/types/Interface/api/dubiousCustomer/Create.ts +4 -4
  271. package/ts/types/Interface/api/internalInvoicing/CreateInternalInvoicing.ts +0 -18
  272. package/ts/types/Interface/api/internalInvoicing/GetLastRef.ts +0 -10
  273. package/ts/types/Interface/api/notification/Update.ts +19 -0
  274. package/ts/types/Interface/api/payment/Params.ts +10 -3
  275. package/ts/types/Interface/api/payment/Query.ts +12 -1
  276. package/ts/types/Interface/api/product/CreateProduct.ts +1 -1
  277. package/ts/types/Interface/api/provision/CreateProvisionForm.ts +1 -1
  278. package/ts/types/Interface/api/provision/QueryProvisions.ts +2 -2
  279. package/ts/types/Interface/api/provision/UpdateProvisionForm.ts +1 -1
  280. package/ts/types/Interface/api/shareCapital/CreateInKindContribution.ts +1 -1
  281. package/ts/types/Interface/api/shareCapital/CreateShareCapital.ts +1 -1
  282. package/ts/types/Interface/api/user/Query.ts +26 -0
  283. package/ts/types/Interface/models/IApiError.ts +0 -3
  284. package/ts/types/index.ts +4 -12
  285. package/ts/utils/cerfa.ts +1 -1
  286. package/ts/utils/index.ts +0 -1
  287. package/ts/utils/payment.ts +1 -0
  288. package/ts/utils/prestation.ts +30 -5
  289. package/ts/utils/vat/utils.ts +10 -1
  290. package/dist/cjs/api/resources/PromoCode.d.ts +0 -14
  291. package/dist/cjs/api/resources/PromoCode.d.ts.map +0 -1
  292. package/dist/cjs/api/resources/PromoCode.js +0 -35
  293. package/dist/cjs/api/resources/PromoCode.js.map +0 -1
  294. package/dist/cjs/api/resources/SocietyPromoCode.d.ts +0 -8
  295. package/dist/cjs/api/resources/SocietyPromoCode.d.ts.map +0 -1
  296. package/dist/cjs/api/resources/SocietyPromoCode.js +0 -17
  297. package/dist/cjs/api/resources/SocietyPromoCode.js.map +0 -1
  298. package/dist/cjs/types/Interface/api/card/OrganizeBalanceSheets.d.ts.map +0 -1
  299. package/dist/cjs/types/Interface/api/card/OrganizeBalanceSheets.js.map +0 -1
  300. package/dist/cjs/types/Interface/api/promoCode/CreateDefaultPromoCode.d.ts +0 -14
  301. package/dist/cjs/types/Interface/api/promoCode/CreateDefaultPromoCode.d.ts.map +0 -1
  302. package/dist/cjs/types/Interface/api/promoCode/CreateDefaultPromoCode.js +0 -85
  303. package/dist/cjs/types/Interface/api/promoCode/CreateDefaultPromoCode.js.map +0 -1
  304. package/dist/cjs/types/Interface/api/promoCode/CreatePromoCode.d.ts +0 -12
  305. package/dist/cjs/types/Interface/api/promoCode/CreatePromoCode.d.ts.map +0 -1
  306. package/dist/cjs/types/Interface/api/promoCode/CreatePromoCode.js +0 -53
  307. package/dist/cjs/types/Interface/api/promoCode/CreatePromoCode.js.map +0 -1
  308. package/dist/cjs/types/Interface/api/promoCode/QueryDefaultPromotion.d.ts +0 -8
  309. package/dist/cjs/types/Interface/api/promoCode/QueryDefaultPromotion.d.ts.map +0 -1
  310. package/dist/cjs/types/Interface/api/promoCode/QueryDefaultPromotion.js +0 -49
  311. package/dist/cjs/types/Interface/api/promoCode/QueryDefaultPromotion.js.map +0 -1
  312. package/dist/cjs/types/Interface/api/promoCode/ReadDefaultPaginationPromoCode.d.ts +0 -5
  313. package/dist/cjs/types/Interface/api/promoCode/ReadDefaultPaginationPromoCode.d.ts.map +0 -1
  314. package/dist/cjs/types/Interface/api/promoCode/ReadDefaultPaginationPromoCode.js.map +0 -1
  315. package/dist/cjs/types/Interface/api/promoCode/ReadDefaultPromotion.d.ts +0 -7
  316. package/dist/cjs/types/Interface/api/promoCode/ReadDefaultPromotion.d.ts.map +0 -1
  317. package/dist/cjs/types/Interface/api/promoCode/ReadDefaultPromotion.js +0 -3
  318. package/dist/cjs/types/Interface/api/promoCode/ReadDefaultPromotion.js.map +0 -1
  319. package/dist/cjs/types/Interface/api/promoCode/UpdatePromoCode.d.ts +0 -12
  320. package/dist/cjs/types/Interface/api/promoCode/UpdatePromoCode.d.ts.map +0 -1
  321. package/dist/cjs/types/Interface/api/promoCode/UpdatePromoCode.js +0 -53
  322. package/dist/cjs/types/Interface/api/promoCode/UpdatePromoCode.js.map +0 -1
  323. package/dist/cjs/types/Interface/api/societyPromoCode/CreateSocietyPromoCode.d.ts +0 -5
  324. package/dist/cjs/types/Interface/api/societyPromoCode/CreateSocietyPromoCode.d.ts.map +0 -1
  325. package/dist/cjs/types/Interface/api/societyPromoCode/CreateSocietyPromoCode.js.map +0 -1
  326. package/dist/cjs/types/Interface/models/IDefaultPromotion.d.ts +0 -17
  327. package/dist/cjs/types/Interface/models/IDefaultPromotion.d.ts.map +0 -1
  328. package/dist/cjs/types/Interface/models/IDefaultPromotion.js +0 -3
  329. package/dist/cjs/types/Interface/models/IDefaultPromotion.js.map +0 -1
  330. package/dist/cjs/types/Interface/models/IPromoCode.d.ts +0 -15
  331. package/dist/cjs/types/Interface/models/IPromoCode.d.ts.map +0 -1
  332. package/dist/cjs/types/Interface/models/IPromoCode.js +0 -3
  333. package/dist/cjs/types/Interface/models/IPromoCode.js.map +0 -1
  334. package/dist/cjs/types/Interface/models/ISocietyPromoCode.d.ts +0 -8
  335. package/dist/cjs/types/Interface/models/ISocietyPromoCode.d.ts.map +0 -1
  336. package/dist/cjs/types/Interface/models/ISocietyPromoCode.js +0 -3
  337. package/dist/cjs/types/Interface/models/ISocietyPromoCode.js.map +0 -1
  338. package/dist/cjs/utils/subscription.d.ts +0 -21
  339. package/dist/cjs/utils/subscription.d.ts.map +0 -1
  340. package/dist/cjs/utils/subscription.js +0 -97
  341. package/dist/cjs/utils/subscription.js.map +0 -1
  342. package/dist/mjs/api/resources/PromoCode.d.ts +0 -14
  343. package/dist/mjs/api/resources/PromoCode.d.ts.map +0 -1
  344. package/dist/mjs/api/resources/PromoCode.js +0 -31
  345. package/dist/mjs/api/resources/PromoCode.js.map +0 -1
  346. package/dist/mjs/api/resources/SocietyPromoCode.d.ts +0 -8
  347. package/dist/mjs/api/resources/SocietyPromoCode.d.ts.map +0 -1
  348. package/dist/mjs/api/resources/SocietyPromoCode.js +0 -13
  349. package/dist/mjs/api/resources/SocietyPromoCode.js.map +0 -1
  350. package/dist/mjs/types/Interface/api/card/OrganizeBalanceSheets.d.ts.map +0 -1
  351. package/dist/mjs/types/Interface/api/card/OrganizeBalanceSheets.js.map +0 -1
  352. package/dist/mjs/types/Interface/api/promoCode/CreateDefaultPromoCode.d.ts +0 -14
  353. package/dist/mjs/types/Interface/api/promoCode/CreateDefaultPromoCode.d.ts.map +0 -1
  354. package/dist/mjs/types/Interface/api/promoCode/CreateDefaultPromoCode.js +0 -93
  355. package/dist/mjs/types/Interface/api/promoCode/CreateDefaultPromoCode.js.map +0 -1
  356. package/dist/mjs/types/Interface/api/promoCode/CreatePromoCode.d.ts +0 -12
  357. package/dist/mjs/types/Interface/api/promoCode/CreatePromoCode.d.ts.map +0 -1
  358. package/dist/mjs/types/Interface/api/promoCode/CreatePromoCode.js +0 -58
  359. package/dist/mjs/types/Interface/api/promoCode/CreatePromoCode.js.map +0 -1
  360. package/dist/mjs/types/Interface/api/promoCode/QueryDefaultPromotion.d.ts +0 -8
  361. package/dist/mjs/types/Interface/api/promoCode/QueryDefaultPromotion.d.ts.map +0 -1
  362. package/dist/mjs/types/Interface/api/promoCode/QueryDefaultPromotion.js +0 -50
  363. package/dist/mjs/types/Interface/api/promoCode/QueryDefaultPromotion.js.map +0 -1
  364. package/dist/mjs/types/Interface/api/promoCode/ReadDefaultPaginationPromoCode.d.ts +0 -5
  365. package/dist/mjs/types/Interface/api/promoCode/ReadDefaultPaginationPromoCode.d.ts.map +0 -1
  366. package/dist/mjs/types/Interface/api/promoCode/ReadDefaultPaginationPromoCode.js.map +0 -1
  367. package/dist/mjs/types/Interface/api/promoCode/ReadDefaultPromotion.d.ts +0 -7
  368. package/dist/mjs/types/Interface/api/promoCode/ReadDefaultPromotion.d.ts.map +0 -1
  369. package/dist/mjs/types/Interface/api/promoCode/ReadDefaultPromotion.js +0 -2
  370. package/dist/mjs/types/Interface/api/promoCode/ReadDefaultPromotion.js.map +0 -1
  371. package/dist/mjs/types/Interface/api/promoCode/UpdatePromoCode.d.ts +0 -12
  372. package/dist/mjs/types/Interface/api/promoCode/UpdatePromoCode.d.ts.map +0 -1
  373. package/dist/mjs/types/Interface/api/promoCode/UpdatePromoCode.js +0 -58
  374. package/dist/mjs/types/Interface/api/promoCode/UpdatePromoCode.js.map +0 -1
  375. package/dist/mjs/types/Interface/api/societyPromoCode/CreateSocietyPromoCode.d.ts +0 -5
  376. package/dist/mjs/types/Interface/api/societyPromoCode/CreateSocietyPromoCode.d.ts.map +0 -1
  377. package/dist/mjs/types/Interface/api/societyPromoCode/CreateSocietyPromoCode.js.map +0 -1
  378. package/dist/mjs/types/Interface/models/IDefaultPromotion.d.ts +0 -17
  379. package/dist/mjs/types/Interface/models/IDefaultPromotion.d.ts.map +0 -1
  380. package/dist/mjs/types/Interface/models/IDefaultPromotion.js +0 -2
  381. package/dist/mjs/types/Interface/models/IDefaultPromotion.js.map +0 -1
  382. package/dist/mjs/types/Interface/models/IPromoCode.d.ts +0 -15
  383. package/dist/mjs/types/Interface/models/IPromoCode.d.ts.map +0 -1
  384. package/dist/mjs/types/Interface/models/IPromoCode.js +0 -2
  385. package/dist/mjs/types/Interface/models/IPromoCode.js.map +0 -1
  386. package/dist/mjs/types/Interface/models/ISocietyPromoCode.d.ts +0 -8
  387. package/dist/mjs/types/Interface/models/ISocietyPromoCode.d.ts.map +0 -1
  388. package/dist/mjs/types/Interface/models/ISocietyPromoCode.js +0 -2
  389. package/dist/mjs/types/Interface/models/ISocietyPromoCode.js.map +0 -1
  390. package/dist/mjs/utils/subscription.d.ts +0 -21
  391. package/dist/mjs/utils/subscription.d.ts.map +0 -1
  392. package/dist/mjs/utils/subscription.js +0 -92
  393. package/dist/mjs/utils/subscription.js.map +0 -1
  394. package/ts/api/resources/PromoCode.ts +0 -50
  395. package/ts/api/resources/SocietyPromoCode.ts +0 -16
  396. package/ts/types/Interface/api/promoCode/CreateDefaultPromoCode.ts +0 -59
  397. package/ts/types/Interface/api/promoCode/CreatePromoCode.ts +0 -30
  398. package/ts/types/Interface/api/promoCode/QueryDefaultPromotion.ts +0 -30
  399. package/ts/types/Interface/api/promoCode/ReadDefaultPaginationPromoCode.ts +0 -14
  400. package/ts/types/Interface/api/promoCode/ReadDefaultPromotion.ts +0 -7
  401. package/ts/types/Interface/api/promoCode/UpdatePromoCode.ts +0 -30
  402. package/ts/types/Interface/api/societyPromoCode/CreateSocietyPromoCode.ts +0 -9
  403. package/ts/types/Interface/models/IDefaultPromotion.ts +0 -16
  404. package/ts/types/Interface/models/IPromoCode.ts +0 -14
  405. package/ts/types/Interface/models/ISocietyPromoCode.ts +0 -7
  406. package/ts/utils/subscription.ts +0 -124
@@ -2,30 +2,24 @@ 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
9
  secretToken: string;
12
- comptaclementineTest: ComptaclementineTest;
13
10
  bred: Bred;
14
11
  awsClementine: AwsClementine;
15
12
  mail: Mail;
16
13
  client: Client;
17
14
  twilio: Twilio;
18
- aspone: Aspone;
19
15
  societyTestId: number;
20
16
  pappers: Pappers;
21
17
  shine: Shine;
22
18
  defaultPermissions: DefaultPermissions;
23
19
  crisp: Crisp;
24
20
  brand: ConfigBrand;
25
- adminStatic: AdminStatic;
26
21
  ocr: Ocr;
27
22
  jeDeclare: JeDeclare;
28
- firebase: Firebase;
29
23
  notification: Notification;
30
24
  pdfizer: Pdfizer;
31
25
  iDocus: IDocus;
@@ -46,26 +40,26 @@ export interface ConfigType {
46
40
  recaptcha: Recaptcha;
47
41
  }
48
42
 
49
- export interface Authentication {
43
+ interface Authentication {
50
44
  token: string;
51
45
  }
52
46
 
53
- export interface LambdaInfos {
47
+ interface LambdaInfos {
54
48
  url: string;
55
49
  key: string;
56
50
  }
57
51
 
58
- export interface Mongodb {
52
+ interface Mongodb {
59
53
  username: string;
60
54
  password: string;
61
55
  host: string;
62
56
  }
63
57
 
64
- export interface MachineLearning {
58
+ interface MachineLearning {
65
59
  transactionAnnotation: string;
66
60
  }
67
61
 
68
- export interface Db {
62
+ interface Db {
69
63
  username: string;
70
64
  password: string;
71
65
  database: string;
@@ -74,42 +68,33 @@ export interface Db {
74
68
  dialect: string;
75
69
  }
76
70
 
77
- export interface Redis {
71
+ interface Redis {
78
72
  host: string;
79
73
  port: number;
80
74
  }
81
75
 
82
- export interface RedisPrimary {
76
+ interface RedisPrimary {
83
77
  replicationGroupId: string;
84
78
  }
85
79
 
86
- export interface Caarl {
80
+ interface Caarl {
87
81
  api: string;
88
82
  token: string;
89
83
  bundle: string;
90
84
  }
91
85
 
92
- export interface Yousign {
86
+ interface Yousign {
93
87
  apiYousign: string;
94
88
  appYousign: string;
95
89
  token: Token;
96
90
  workspaceId: string;
97
91
  }
98
92
 
99
- export interface Token {
93
+ interface Token {
100
94
  clementine: string;
101
95
  pourcentage: string;
102
96
  }
103
97
 
104
- export interface ComptaclementineTest {
105
- username: string;
106
- password: string;
107
- database: string;
108
- port: string;
109
- host: string;
110
- dialect: string;
111
- }
112
-
113
98
  export interface Bred {
114
99
  authorizeHost: string;
115
100
  authorizePath: string;
@@ -137,14 +122,14 @@ export type BucketName =
137
122
  | 'resources-internal'
138
123
  | 'sales-contract';
139
124
 
140
- export interface AwsClementine {
125
+ interface AwsClementine {
141
126
  accessKeyId: string;
142
127
  secretAccessKey: string;
143
128
  clementineBucketName: BucketName;
144
129
  apiVersion: string;
145
130
  }
146
131
 
147
- export interface Mail {
132
+ interface Mail {
148
133
  user: string;
149
134
  password: string;
150
135
  host: string;
@@ -152,35 +137,28 @@ export interface Mail {
152
137
  tls: boolean;
153
138
  }
154
139
 
155
- export interface Client {
140
+ interface Client {
156
141
  host: string;
157
142
  hostFull: string;
158
143
  }
159
144
 
160
- export interface Twilio {
145
+ interface Twilio {
161
146
  accountSID: string;
162
147
  authToken: string;
163
148
  number: string;
164
149
  }
165
150
 
166
- export interface Aspone {
167
- siret: string;
168
- api: string;
169
- access: Access;
170
- serviceVersion: string;
171
- }
172
-
173
151
  export interface Access {
174
152
  login: string;
175
153
  password: string;
176
154
  }
177
155
 
178
- export interface Pappers {
156
+ interface Pappers {
179
157
  token: string;
180
158
  url: string;
181
159
  }
182
160
 
183
- export interface Shine {
161
+ interface Shine {
184
162
  host: string;
185
163
  hostV3: string;
186
164
  publicHost: string;
@@ -191,7 +169,7 @@ export interface Shine {
191
169
  scope: string;
192
170
  }
193
171
 
194
- export interface DefaultPermissions {
172
+ interface DefaultPermissions {
195
173
  gescom: boolean;
196
174
  compta: boolean;
197
175
  stats: boolean;
@@ -206,12 +184,12 @@ export interface DefaultPermissions {
206
184
  purchase: boolean;
207
185
  }
208
186
 
209
- export interface Crisp {
187
+ interface Crisp {
210
188
  identifier: string;
211
189
  key: string;
212
190
  }
213
191
 
214
- export interface ConfigBrand {
192
+ interface ConfigBrand {
215
193
  name: string;
216
194
  api: string;
217
195
  api2: string;
@@ -219,27 +197,22 @@ export interface ConfigBrand {
219
197
  api2Legalstart: string;
220
198
  }
221
199
 
222
- export interface AdminStatic {
223
- login: string;
224
- password: string;
225
- }
226
-
227
200
  export interface Ocr {
228
201
  URL: string;
229
202
  }
230
203
 
231
- export interface JeDeclare {
204
+ interface JeDeclare {
232
205
  access: Access2[];
233
206
  serviceVersion: string;
234
207
  }
235
208
 
236
- export interface Access2 {
209
+ interface Access2 {
237
210
  name: string;
238
211
  test: Test;
239
212
  production: Production;
240
213
  }
241
214
 
242
- export interface Test {
215
+ interface Test {
243
216
  login: string;
244
217
  password: string;
245
218
  editor: string;
@@ -247,11 +220,11 @@ export interface Test {
247
220
  wsdl: Wsdl;
248
221
  }
249
222
 
250
- export interface Wsdl {
223
+ interface Wsdl {
251
224
  url: string;
252
225
  }
253
226
 
254
- export interface Production {
227
+ interface Production {
255
228
  login: string;
256
229
  password: string;
257
230
  editor: string;
@@ -259,63 +232,54 @@ export interface Production {
259
232
  wsdl: Wsdl2;
260
233
  }
261
234
 
262
- export interface Wsdl2 {
235
+ interface Wsdl2 {
263
236
  url: string;
264
237
  }
265
238
 
266
- export interface Firebase {
267
- type: string;
268
- project_id: string;
269
- private_key_id: string;
270
- private_key: string;
271
- client_email: string;
272
- client_id: string;
273
- auth_uri: string;
274
- token_uri: string;
275
- auth_provider_x509_cert_url: string;
276
- client_x509_cert_url: string;
277
- universe_domain: string;
278
- }
279
-
280
239
  export interface Notification {
281
240
  hookToken: string;
282
241
  }
283
242
 
284
- export interface Pdfizer {
243
+ interface Pdfizer {
285
244
  url: string;
286
245
  key: string;
287
246
  }
288
247
 
289
- export interface IDocus {
248
+ interface IDocus {
290
249
  baseUrl: string;
291
250
  callbackurl: string;
292
251
  authorizationKey: string;
293
252
  }
294
253
 
295
- export interface Companeo {
254
+ interface Companeo {
296
255
  username: string;
297
256
  pass: string;
298
257
  }
299
258
 
300
- export interface Inpi {
259
+ interface Inpi {
301
260
  username: string;
302
261
  password: string;
303
262
  }
304
263
 
305
- export interface Notion {
264
+ interface Notion {
306
265
  key: string;
307
266
  }
308
267
 
309
- export interface Brevo {
310
- apiKeyProd: string;
268
+ interface Brevo {
269
+ lists: {
270
+ hot: number;
271
+ paying: number;
272
+ cold: number;
273
+ churned: number;
274
+ };
311
275
  }
312
276
 
313
- export interface Echo {
277
+ interface Echo {
314
278
  url: string;
315
279
  accountid: string;
316
280
  apikey: string;
317
281
  }
318
282
 
319
- export interface Recaptcha {
283
+ interface Recaptcha {
320
284
  secret: string;
321
285
  }
@@ -6,10 +6,10 @@ export class CreateDubiousCustomer {
6
6
  @ApiProperty()
7
7
  @IsNumber()
8
8
  @Max(100, {
9
- message: 'Percentage should not exceed 100',
9
+ message: 'Le pourcentage ne doit pas dépasser 100',
10
10
  })
11
11
  @Min(0, {
12
- message: 'Percentage should not be negative',
12
+ message: 'Le pourcentage ne doit pas être négatif',
13
13
  })
14
14
  nonRecoveryPercentage: number;
15
15
 
@@ -17,10 +17,10 @@ export class CreateDubiousCustomer {
17
17
  @IsNumber()
18
18
  @IsOptional()
19
19
  @Max(100, {
20
- message: 'Percentage should not exceed 100',
20
+ message: 'Le pourcentage ne doit pas dépasser 100',
21
21
  })
22
22
  @Min(0, {
23
- message: 'Percentage should not be negative',
23
+ message: 'Le pourcentage ne doit pas être négatif',
24
24
  })
25
25
  nonRecoveryPercentagePrevious?: number;
26
26
 
@@ -19,21 +19,3 @@ export class CreateInternalInvoicing {
19
19
  @IsNumber()
20
20
  year: number;
21
21
  }
22
- export class CreateInternalInvoicingYearly {
23
- @ApiPropertyOptional()
24
- @IsOptional()
25
- @IsArray()
26
- idSociety: Array<number>;
27
-
28
- @ApiProperty()
29
- @IsArray()
30
- idTypeBrand: Array<number>;
31
-
32
- @ApiProperty()
33
- @IsNumber()
34
- month: number;
35
-
36
- @ApiProperty()
37
- @IsNumber()
38
- year: number;
39
- }
@@ -1,16 +1,6 @@
1
- import { IsArray, IsString } from 'class-validator';
2
1
  import { ApiProperty } from '../../../../utils';
3
2
 
4
3
  export class GetLastRef {
5
4
  @ApiProperty()
6
- @IsString()
7
- login: string;
8
-
9
- @ApiProperty()
10
- @IsString()
11
- password: string;
12
-
13
- @ApiProperty()
14
- @IsArray()
15
5
  idTypeBrand: Array<number>;
16
6
  }
@@ -0,0 +1,19 @@
1
+ import { IsNumber, IsString, IsOptional } from 'class-validator';
2
+ import { ApiPropertyOptional } from '../../../../utils';
3
+
4
+ export class UpdateNewSalesUrl {
5
+ @ApiPropertyOptional()
6
+ @IsString()
7
+ @IsOptional()
8
+ dateStart?: string;
9
+
10
+ @ApiPropertyOptional()
11
+ @IsString()
12
+ @IsOptional()
13
+ dateEnd?: string;
14
+
15
+ @ApiPropertyOptional()
16
+ @IsNumber()
17
+ @IsOptional()
18
+ limit?: number;
19
+ }
@@ -1,4 +1,4 @@
1
- import { IsBoolean, IsInt, IsOptional } from 'class-validator';
1
+ import { IsBoolean, IsInt, IsNumber, IsOptional } from 'class-validator';
2
2
  import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
3
3
  import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
4
4
 
@@ -12,11 +12,18 @@ export class CreatePaymentsAutoBilling {
12
12
  export class UpdateCollectable {
13
13
  @ApiProperty()
14
14
  @IsInt({ each: true })
15
- listIdPayment: number[];
15
+ listIdPayment: number[];
16
16
 
17
17
  @ApiPropertyOptional()
18
18
  @IsOptional()
19
19
  @IsBoolean()
20
20
  @ToBoolean()
21
- isCollectable: boolean;
21
+ isCollectable: boolean;
22
+ }
23
+
24
+ export class UpdatePayment {
25
+ @ApiPropertyOptional()
26
+ @IsOptional()
27
+ @IsNumber()
28
+ amountPayed: number;
22
29
  }
@@ -1,4 +1,4 @@
1
- import { IsBoolean, IsDate, IsIn, IsOptional, IsString } from 'class-validator';
1
+ import { IsBoolean, IsDate, IsIn, IsInt, IsOptional, IsString } from 'class-validator';
2
2
  import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
3
3
  import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
4
4
 
@@ -25,6 +25,17 @@ export class QueryPayments {
25
25
  @IsOptional()
26
26
  @IsString()
27
27
  internComment?: string;
28
+
29
+ @ApiPropertyOptional()
30
+ @IsOptional()
31
+ @IsInt()
32
+ idFile?: number;
33
+
34
+ @ApiPropertyOptional()
35
+ @IsOptional()
36
+ @IsBoolean()
37
+ @ToBoolean()
38
+ isAsset?: boolean;
28
39
 
29
40
  @ApiPropertyOptional()
30
41
  @IsOptional()
@@ -11,7 +11,7 @@ export class CreateProduct {
11
11
 
12
12
  @ApiProperty()
13
13
  @Min(0, {
14
- message: 'Price should be positive',
14
+ message: 'Le prix doit être positif',
15
15
  })
16
16
  priceTaxExcluded: number;
17
17
 
@@ -10,7 +10,7 @@ export class CreateProvisionForm {
10
10
  @ApiProperty()
11
11
  @IsNumber()
12
12
  @Min(0, {
13
- message: 'Amount should be positive',
13
+ message: 'Le montant doit être positif',
14
14
  })
15
15
  amount: number;
16
16
 
@@ -5,14 +5,14 @@ export class QueryGetProvisions {
5
5
  @ApiProperty()
6
6
  @IsNumber()
7
7
  @Min(0, {
8
- message: 'page should be positive',
8
+ message: 'La page doit être positive',
9
9
  })
10
10
  page: number;
11
11
 
12
12
  @ApiProperty()
13
13
  @IsNumber()
14
14
  @Min(0, {
15
- message: 'limit should be positive',
15
+ message: 'La limite doit être positive',
16
16
  })
17
17
  limit: number;
18
18
 
@@ -12,7 +12,7 @@ export class UpdateProvisionForm {
12
12
  @IsOptional()
13
13
  @IsNumber()
14
14
  @Min(0, {
15
- message: 'Amount should be positive',
15
+ message: 'Le montant doit être positif',
16
16
  })
17
17
  amount?: number;
18
18
 
@@ -5,7 +5,7 @@ export class CreateInKindContribution {
5
5
  @ApiProperty()
6
6
  @IsNumber()
7
7
  @Min(0, {
8
- message: 'Amount should be positive',
8
+ message: 'Le montant doit être positif',
9
9
  })
10
10
  amount: number;
11
11
 
@@ -6,7 +6,7 @@ export class CreateShareCapital {
6
6
  @ApiProperty()
7
7
  @IsNumber()
8
8
  @Min(0, {
9
- message: 'amount should be positive',
9
+ message: 'Le montant doit être positif',
10
10
  })
11
11
  unpaidShareCapital: number;
12
12
 
@@ -4,6 +4,9 @@ import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
4
4
  import { SubscriptionType } from '../../../Enum/SubscriptionType';
5
5
  import { WhereOptions } from 'sequelize';
6
6
  import { ISociety } from '../../models/ISociety';
7
+ import { RequiredQueryPaginate } from '../BasePaginate';
8
+ import { Role } from '../../../Enum/Role';
9
+ import { EntityType } from '../../../Enum/EntityType';
7
10
 
8
11
  export class QueryConfirm {
9
12
  @ApiProperty()
@@ -13,6 +16,29 @@ export class QueryConfirm {
13
16
  email: string;
14
17
  }
15
18
 
19
+ export class QueryGetAllUsersPaginated extends RequiredQueryPaginate {
20
+ @ApiPropertyOptional()
21
+ @IsOptional()
22
+ @IsString()
23
+ declare search?: string;
24
+
25
+ @ApiPropertyOptional()
26
+ @IsOptional()
27
+ @IsArray()
28
+ declare roles?: Role[];
29
+
30
+ @ApiPropertyOptional()
31
+ @IsOptional()
32
+ @IsArray()
33
+ declare entities?: EntityType[];
34
+
35
+ @ApiPropertyOptional()
36
+ @IsOptional()
37
+ @IsBoolean()
38
+ @ToBoolean()
39
+ declare active?: boolean;
40
+ }
41
+
16
42
  export class QueryGetAllCollaborators {
17
43
  @ApiProperty({
18
44
  description: 'filtering users id',
@@ -136,9 +136,6 @@ export enum Code {
136
136
 
137
137
  payloadIsEmpty = 'payload_is_empty',
138
138
 
139
- // PromoCode
140
- wrongPromoCode = 'wrong_promo_code',
141
-
142
139
  // Budget Fetch
143
140
  fetchNewBudgetInvalidSociety = 'fetch_new_budget_invalid_idSociety',
144
141
  fetchConnectionFailed = 'fetch_connection_failed',
package/ts/types/index.ts CHANGED
@@ -258,11 +258,9 @@ export * from './Interface/models/IWorkingSchedule';
258
258
  export * from './Interface/models/IField';
259
259
  export * from './Interface/models/IFecFile';
260
260
  export * from './Interface/models/ISalariesFile';
261
- export * from './Interface/models/IPromoCode';
262
261
  export * from './Interface/models/ILoan';
263
262
  export * from './Interface/models/IBalanceSheetModule';
264
263
  export * from './Interface/models/IStock';
265
- export * from './Interface/models/ISocietyPromoCode';
266
264
  export * from './Interface/models/IZTicket';
267
265
  export * from './Interface/models/IExerciceNote';
268
266
  export * from './Interface/models/IRevisionGuide';
@@ -278,7 +276,6 @@ export * from './Interface/models/IMachineLearningResult';
278
276
  export * from './Interface/models/IBalanceSheetModule2';
279
277
  export * from './Interface/models/IBalanceSheetStatus';
280
278
  export * from './Interface/models/IBalanceSheetCompletion';
281
- export * from './Interface/models/IDefaultPromotion';
282
279
  export * from './Interface/models/INafCode';
283
280
  export * from './Interface/models/IMobile';
284
281
  export * from './Interface/models/ISocietyEvent';
@@ -721,8 +718,6 @@ export * from './Interface/api/revision/Create';
721
718
  export * from './Interface/api/vatDeclaration/QueryVatDeclaration';
722
719
  export * from './Interface/api/vatDeclaration/ReadVatVariousOperations';
723
720
  export * from './Interface/api/vatDeclaration/ResultFormatToEntries';
724
- export * from './Interface/api/promoCode/QueryDefaultPromotion';
725
- export * from './Interface/api/promoCode/ReadDefaultPromotion';
726
721
  export * from './Interface/api/SocietyTransaction/Query';
727
722
  export * from './Interface/api/SocietyTransaction/QuerySocietyTransactionCount';
728
723
  export * from './Interface/api/SocietyTransaction/Read';
@@ -735,8 +730,6 @@ export * from './Interface/api/webmail/MigrateMailAddresses';
735
730
  export * from './Interface/api/webmail/ExportEmails';
736
731
  export * from './Interface/api/webmail/PostAttachmentEmailFromLambdaParams';
737
732
  export * from './Interface/api/webmail/GetPaginatedWhereObjectParams';
738
- export * from './Interface/api/promoCode/CreateDefaultPromoCode';
739
- export * from './Interface/api/promoCode/ReadDefaultPaginationPromoCode';
740
733
  export * from './Interface/api/bankAccount/Delete';
741
734
  export * from './Interface/api/log/QueryLogPagination';
742
735
  export * from './Interface/api/employee/QueryEmployeeSearch';
@@ -838,15 +831,11 @@ export * from './Interface/api/shine/GetConnect';
838
831
  export * from './Interface/api/shine/CreateShineAccount';
839
832
  export * from './Interface/api/shine/CreateShineTransactions';
840
833
  export * from './Interface/api/shine/ConnectResponse';
841
- export * from './Interface/api/promoCode/UpdatePromoCode';
842
- export * from './Interface/api/promoCode/CreatePromoCode';
843
834
  export * from './Interface/api/balanceBankAccount/CreateBudgetBalanceBankAccount';
844
835
  export * from './Interface/api/loan/CreateLoan';
845
836
  export * from './Interface/api/loan/ReadLoan';
846
837
  export * from './Interface/api/stock/StocksType';
847
838
  export * from './Interface/api/lettering/QueryRegroupLettering';
848
- // export * from './Interface/api/stock/StockEntries';
849
- export * from './Interface/api/societyPromoCode/CreateSocietyPromoCode';
850
839
  export * from './Interface/api/loan/UpdateLoan';
851
840
  export * from './Interface/api/zticket/CreateZTicket';
852
841
  export * from './Interface/api/zticket/QueryZTicket';
@@ -957,6 +946,7 @@ export * from './Interface/api/checklist/Query';
957
946
  export * from './Interface/api/checklist/Update';
958
947
  export * from './Interface/api/notification/CreateNotification';
959
948
  export * from './Interface/api/notification/Delete';
949
+ export * from './Interface/api/notification/Update';
960
950
  export * from './Interface/api/mobile/UpdateMobile';
961
951
  export * from './Interface/api/mobile/QueryMobileMigration';
962
952
  export * from './Interface/api/societyEvent/QuerySocietyEvent';
@@ -1122,7 +1112,9 @@ export * from './Interface/api/previsionalForm/CreatePrevisionalForm';
1122
1112
  export * from './Interface/api/toDoExpress/Query';
1123
1113
  export * from './Interface/api/toDoExpress/Read';
1124
1114
  export * from './Interface/api/config/ConfigType';
1125
- export * from './Interface/api/card/OrganizeBalanceSheets';
1115
+ export * from './Interface/api/card/ModifyBalanceSheet';
1116
+ export * from './Interface/api/card/ModifyAcceptation';
1117
+ export * from './Interface/api/card/ModifyCustomerVat';
1126
1118
  export * from './Interface/api/user/RegisterProspect';
1127
1119
  export * from './Interface/api/stateBankAccount/Query';
1128
1120
  export * from './Interface/api/absenceRequest/QueryAbsenceRequest';
package/ts/utils/cerfa.ts CHANGED
@@ -70,7 +70,7 @@ export function retreiveChoicesDependingLegalForm(idLegalForm: number): GlobalRe
70
70
  throw new ServiceException({
71
71
  code: Code.validationError,
72
72
  type: ErrorType.resourceError,
73
- message: `LegalForm #${idLegalForm} not implemented`,
73
+ message: `La forme juridique #${idLegalForm} n'est pas supportée`,
74
74
  });
75
75
  return selectedGlobalRegime;
76
76
  }
package/ts/utils/index.ts CHANGED
@@ -20,4 +20,3 @@ export * from './isHtml';
20
20
  export * from './isUrl';
21
21
  export * from './bankAccount';
22
22
  export * from './commercialOffer';
23
- export * from './subscription';
@@ -15,6 +15,7 @@ import { getApplicationFeesAmount, getPriceGrid } from './prestation';
15
15
  export interface PaymentsWithList extends IPayment {
16
16
  type?: 'isComptable' | 'isJuridique' | 'isSocial' | 'isOther';
17
17
  listPayments: IPayment[];
18
+ isYearly?: boolean;
18
19
  }
19
20
 
20
21
  /**