@silexpert/core 1.1.175 → 1.1.177

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 (239) hide show
  1. package/dist/cjs/api/resources/Card.d.ts +10 -0
  2. package/dist/cjs/api/resources/Card.d.ts.map +1 -0
  3. package/dist/cjs/api/resources/Card.js +23 -0
  4. package/dist/cjs/api/resources/Card.js.map +1 -0
  5. package/dist/cjs/api/resources/Payment.d.ts +1 -0
  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/Stocks.d.ts +4 -4
  10. package/dist/cjs/api/resources/Stocks.d.ts.map +1 -1
  11. package/dist/cjs/api/resources/Stocks.js.map +1 -1
  12. package/dist/cjs/api/resources.d.ts +2 -0
  13. package/dist/cjs/api/resources.d.ts.map +1 -1
  14. package/dist/cjs/api/resources.js +2 -0
  15. package/dist/cjs/api/resources.js.map +1 -1
  16. package/dist/cjs/types/Enum/BrandPourcentage.js +14 -14
  17. package/dist/cjs/types/Enum/BrandPourcentage.js.map +1 -1
  18. package/dist/cjs/types/Enum/Card.d.ts +77 -0
  19. package/dist/cjs/types/Enum/Card.d.ts.map +1 -0
  20. package/dist/cjs/types/Enum/Card.js +94 -0
  21. package/dist/cjs/types/Enum/Card.js.map +1 -0
  22. package/dist/cjs/types/Enum/Comment.d.ts +2 -1
  23. package/dist/cjs/types/Enum/Comment.d.ts.map +1 -1
  24. package/dist/cjs/types/Enum/Comment.js +1 -0
  25. package/dist/cjs/types/Enum/Comment.js.map +1 -1
  26. package/dist/cjs/types/Enum/PrestationType.d.ts.map +1 -1
  27. package/dist/cjs/types/Enum/PrestationType.js +175 -0
  28. package/dist/cjs/types/Enum/PrestationType.js.map +1 -1
  29. package/dist/cjs/types/Enum/PriceGridClementine.d.ts.map +1 -1
  30. package/dist/cjs/types/Enum/PriceGridClementine.js +98 -0
  31. package/dist/cjs/types/Enum/PriceGridClementine.js.map +1 -1
  32. package/dist/cjs/types/Interface/api/balanceSheet/UpdateBalanceSheet.d.ts +1 -0
  33. package/dist/cjs/types/Interface/api/balanceSheet/UpdateBalanceSheet.d.ts.map +1 -1
  34. package/dist/cjs/types/Interface/api/balanceSheet/UpdateBalanceSheet.js +6 -0
  35. package/dist/cjs/types/Interface/api/balanceSheet/UpdateBalanceSheet.js.map +1 -1
  36. package/dist/cjs/types/Interface/api/calendarEvent/createCalendarEvent.d.ts +1 -0
  37. package/dist/cjs/types/Interface/api/calendarEvent/createCalendarEvent.d.ts.map +1 -1
  38. package/dist/cjs/types/Interface/api/calendarEvent/createCalendarEvent.js +4 -0
  39. package/dist/cjs/types/Interface/api/calendarEvent/createCalendarEvent.js.map +1 -1
  40. package/dist/cjs/types/Interface/api/calendarEvent/createCalendarEventForUsers.d.ts +1 -0
  41. package/dist/cjs/types/Interface/api/calendarEvent/createCalendarEventForUsers.d.ts.map +1 -1
  42. package/dist/cjs/types/Interface/api/calendarEvent/createCalendarEventForUsers.js +4 -0
  43. package/dist/cjs/types/Interface/api/calendarEvent/createCalendarEventForUsers.js.map +1 -1
  44. package/dist/cjs/types/Interface/api/card/QueryUserCards.d.ts +10 -0
  45. package/dist/cjs/types/Interface/api/card/QueryUserCards.d.ts.map +1 -0
  46. package/dist/cjs/types/Interface/api/card/QueryUserCards.js +53 -0
  47. package/dist/cjs/types/Interface/api/card/QueryUserCards.js.map +1 -0
  48. package/dist/cjs/types/Interface/api/card/QueryUserCardsStats.d.ts +6 -0
  49. package/dist/cjs/types/Interface/api/card/QueryUserCardsStats.d.ts.map +1 -0
  50. package/dist/cjs/types/Interface/api/card/QueryUserCardsStats.js +33 -0
  51. package/dist/cjs/types/Interface/api/card/QueryUserCardsStats.js.map +1 -0
  52. package/dist/cjs/types/Interface/api/card/UpdateCard.d.ts +10 -0
  53. package/dist/cjs/types/Interface/api/card/UpdateCard.d.ts.map +1 -0
  54. package/dist/cjs/types/Interface/api/card/UpdateCard.js +57 -0
  55. package/dist/cjs/types/Interface/api/card/UpdateCard.js.map +1 -0
  56. package/dist/cjs/types/Interface/api/payment/CreateNotifyCustomerInvoice.d.ts +7 -0
  57. package/dist/cjs/types/Interface/api/payment/CreateNotifyCustomerInvoice.d.ts.map +1 -0
  58. package/dist/cjs/types/Interface/api/payment/CreateNotifyCustomerInvoice.js +39 -0
  59. package/dist/cjs/types/Interface/api/payment/CreateNotifyCustomerInvoice.js.map +1 -0
  60. package/dist/cjs/types/Interface/api/payment/ReadPayment.d.ts +4 -0
  61. package/dist/cjs/types/Interface/api/payment/ReadPayment.d.ts.map +1 -1
  62. package/dist/cjs/types/Interface/api/payment/ReadPayment.js.map +1 -1
  63. package/dist/cjs/types/Interface/api/webmail/GetPaginatedWhereObjectParams.d.ts +1 -0
  64. package/dist/cjs/types/Interface/api/webmail/GetPaginatedWhereObjectParams.d.ts.map +1 -1
  65. package/dist/cjs/types/Interface/api/webmail/GetPaginatedWhereObjectParams.js +6 -0
  66. package/dist/cjs/types/Interface/api/webmail/GetPaginatedWhereObjectParams.js.map +1 -1
  67. package/dist/cjs/types/Interface/models/IBalanceSheet.d.ts +16 -13
  68. package/dist/cjs/types/Interface/models/IBalanceSheet.d.ts.map +1 -1
  69. package/dist/cjs/types/Interface/models/IBalanceSheet.js.map +1 -1
  70. package/dist/cjs/types/Interface/models/ICalendarEvent.d.ts +3 -0
  71. package/dist/cjs/types/Interface/models/ICalendarEvent.d.ts.map +1 -1
  72. package/dist/cjs/types/Interface/models/ICalendarEvent.js.map +1 -1
  73. package/dist/cjs/types/Interface/models/ICard.d.ts +29 -0
  74. package/dist/cjs/types/Interface/models/ICard.d.ts.map +1 -0
  75. package/dist/cjs/types/Interface/models/ICard.js +3 -0
  76. package/dist/cjs/types/Interface/models/ICard.js.map +1 -0
  77. package/dist/cjs/types/Interface/models/ICardHistory.d.ts +17 -0
  78. package/dist/cjs/types/Interface/models/ICardHistory.d.ts.map +1 -0
  79. package/dist/cjs/types/Interface/models/ICardHistory.js +3 -0
  80. package/dist/cjs/types/Interface/models/ICardHistory.js.map +1 -0
  81. package/dist/cjs/types/Interface/models/IComment.d.ts +3 -1
  82. package/dist/cjs/types/Interface/models/IComment.d.ts.map +1 -1
  83. package/dist/cjs/types/Interface/models/IComment.js.map +1 -1
  84. package/dist/cjs/types/Interface/models/IPrestationList.d.ts +1 -0
  85. package/dist/cjs/types/Interface/models/IPrestationList.d.ts.map +1 -1
  86. package/dist/cjs/types/Interface/models/IPrestationList.js.map +1 -1
  87. package/dist/cjs/types/Interface/models/ISociety.d.ts +9 -0
  88. package/dist/cjs/types/Interface/models/ISociety.d.ts.map +1 -1
  89. package/dist/cjs/types/Interface/models/ISociety.js.map +1 -1
  90. package/dist/cjs/types/Interface/models/IUser.d.ts +2 -0
  91. package/dist/cjs/types/Interface/models/IUser.d.ts.map +1 -1
  92. package/dist/cjs/types/Interface/models/IUser.js.map +1 -1
  93. package/dist/cjs/types/Interface/models/IUserBrand.d.ts +6 -0
  94. package/dist/cjs/types/Interface/models/IUserBrand.d.ts.map +1 -0
  95. package/dist/cjs/types/Interface/models/IUserBrand.js +3 -0
  96. package/dist/cjs/types/Interface/models/IUserBrand.js.map +1 -0
  97. package/dist/cjs/types/index.d.ts +8 -0
  98. package/dist/cjs/types/index.d.ts.map +1 -1
  99. package/dist/cjs/types/index.js +8 -0
  100. package/dist/cjs/types/index.js.map +1 -1
  101. package/dist/cjs/utils/prestation.js +1 -1
  102. package/dist/cjs/utils/prestation.js.map +1 -1
  103. package/dist/cjs/utils/quotation.js +1 -1
  104. package/dist/cjs/utils/quotation.js.map +1 -1
  105. package/dist/mjs/api/resources/Card.d.ts +10 -0
  106. package/dist/mjs/api/resources/Card.d.ts.map +1 -0
  107. package/dist/mjs/api/resources/Card.js +19 -0
  108. package/dist/mjs/api/resources/Card.js.map +1 -0
  109. package/dist/mjs/api/resources/Payment.d.ts +1 -0
  110. package/dist/mjs/api/resources/Payment.d.ts.map +1 -1
  111. package/dist/mjs/api/resources/Payment.js +3 -0
  112. package/dist/mjs/api/resources/Payment.js.map +1 -1
  113. package/dist/mjs/api/resources/Stocks.d.ts +4 -4
  114. package/dist/mjs/api/resources/Stocks.d.ts.map +1 -1
  115. package/dist/mjs/api/resources/Stocks.js.map +1 -1
  116. package/dist/mjs/api/resources.d.ts +2 -0
  117. package/dist/mjs/api/resources.d.ts.map +1 -1
  118. package/dist/mjs/api/resources.js +2 -0
  119. package/dist/mjs/api/resources.js.map +1 -1
  120. package/dist/mjs/types/Enum/BrandPourcentage.js +14 -14
  121. package/dist/mjs/types/Enum/BrandPourcentage.js.map +1 -1
  122. package/dist/mjs/types/Enum/Card.d.ts +77 -0
  123. package/dist/mjs/types/Enum/Card.d.ts.map +1 -0
  124. package/dist/mjs/types/Enum/Card.js +91 -0
  125. package/dist/mjs/types/Enum/Card.js.map +1 -0
  126. package/dist/mjs/types/Enum/Comment.d.ts +2 -1
  127. package/dist/mjs/types/Enum/Comment.d.ts.map +1 -1
  128. package/dist/mjs/types/Enum/Comment.js +1 -0
  129. package/dist/mjs/types/Enum/Comment.js.map +1 -1
  130. package/dist/mjs/types/Enum/PrestationType.d.ts.map +1 -1
  131. package/dist/mjs/types/Enum/PrestationType.js +175 -0
  132. package/dist/mjs/types/Enum/PrestationType.js.map +1 -1
  133. package/dist/mjs/types/Enum/PriceGridClementine.d.ts.map +1 -1
  134. package/dist/mjs/types/Enum/PriceGridClementine.js +98 -0
  135. package/dist/mjs/types/Enum/PriceGridClementine.js.map +1 -1
  136. package/dist/mjs/types/Interface/api/balanceSheet/UpdateBalanceSheet.d.ts +1 -0
  137. package/dist/mjs/types/Interface/api/balanceSheet/UpdateBalanceSheet.d.ts.map +1 -1
  138. package/dist/mjs/types/Interface/api/balanceSheet/UpdateBalanceSheet.js +7 -0
  139. package/dist/mjs/types/Interface/api/balanceSheet/UpdateBalanceSheet.js.map +1 -1
  140. package/dist/mjs/types/Interface/api/calendarEvent/createCalendarEvent.d.ts +1 -0
  141. package/dist/mjs/types/Interface/api/calendarEvent/createCalendarEvent.d.ts.map +1 -1
  142. package/dist/mjs/types/Interface/api/calendarEvent/createCalendarEvent.js +5 -0
  143. package/dist/mjs/types/Interface/api/calendarEvent/createCalendarEvent.js.map +1 -1
  144. package/dist/mjs/types/Interface/api/calendarEvent/createCalendarEventForUsers.d.ts +1 -0
  145. package/dist/mjs/types/Interface/api/calendarEvent/createCalendarEventForUsers.d.ts.map +1 -1
  146. package/dist/mjs/types/Interface/api/calendarEvent/createCalendarEventForUsers.js +5 -0
  147. package/dist/mjs/types/Interface/api/calendarEvent/createCalendarEventForUsers.js.map +1 -1
  148. package/dist/mjs/types/Interface/api/card/QueryUserCards.d.ts +10 -0
  149. package/dist/mjs/types/Interface/api/card/QueryUserCards.d.ts.map +1 -0
  150. package/dist/mjs/types/Interface/api/card/QueryUserCards.js +55 -0
  151. package/dist/mjs/types/Interface/api/card/QueryUserCards.js.map +1 -0
  152. package/dist/mjs/types/Interface/api/card/QueryUserCardsStats.d.ts +6 -0
  153. package/dist/mjs/types/Interface/api/card/QueryUserCardsStats.d.ts.map +1 -0
  154. package/dist/mjs/types/Interface/api/card/QueryUserCardsStats.js +32 -0
  155. package/dist/mjs/types/Interface/api/card/QueryUserCardsStats.js.map +1 -0
  156. package/dist/mjs/types/Interface/api/card/UpdateCard.d.ts +10 -0
  157. package/dist/mjs/types/Interface/api/card/UpdateCard.d.ts.map +1 -0
  158. package/dist/mjs/types/Interface/api/card/UpdateCard.js +59 -0
  159. package/dist/mjs/types/Interface/api/card/UpdateCard.js.map +1 -0
  160. package/dist/mjs/types/Interface/api/payment/CreateNotifyCustomerInvoice.d.ts +7 -0
  161. package/dist/mjs/types/Interface/api/payment/CreateNotifyCustomerInvoice.d.ts.map +1 -0
  162. package/dist/mjs/types/Interface/api/payment/CreateNotifyCustomerInvoice.js +39 -0
  163. package/dist/mjs/types/Interface/api/payment/CreateNotifyCustomerInvoice.js.map +1 -0
  164. package/dist/mjs/types/Interface/api/payment/ReadPayment.d.ts +4 -0
  165. package/dist/mjs/types/Interface/api/payment/ReadPayment.d.ts.map +1 -1
  166. package/dist/mjs/types/Interface/api/payment/ReadPayment.js.map +1 -1
  167. package/dist/mjs/types/Interface/api/webmail/GetPaginatedWhereObjectParams.d.ts +1 -0
  168. package/dist/mjs/types/Interface/api/webmail/GetPaginatedWhereObjectParams.d.ts.map +1 -1
  169. package/dist/mjs/types/Interface/api/webmail/GetPaginatedWhereObjectParams.js +7 -0
  170. package/dist/mjs/types/Interface/api/webmail/GetPaginatedWhereObjectParams.js.map +1 -1
  171. package/dist/mjs/types/Interface/models/IBalanceSheet.d.ts +16 -13
  172. package/dist/mjs/types/Interface/models/IBalanceSheet.d.ts.map +1 -1
  173. package/dist/mjs/types/Interface/models/IBalanceSheet.js.map +1 -1
  174. package/dist/mjs/types/Interface/models/ICalendarEvent.d.ts +3 -0
  175. package/dist/mjs/types/Interface/models/ICalendarEvent.d.ts.map +1 -1
  176. package/dist/mjs/types/Interface/models/ICalendarEvent.js.map +1 -1
  177. package/dist/mjs/types/Interface/models/ICard.d.ts +29 -0
  178. package/dist/mjs/types/Interface/models/ICard.d.ts.map +1 -0
  179. package/dist/mjs/types/Interface/models/ICard.js +2 -0
  180. package/dist/mjs/types/Interface/models/ICard.js.map +1 -0
  181. package/dist/mjs/types/Interface/models/ICardHistory.d.ts +17 -0
  182. package/dist/mjs/types/Interface/models/ICardHistory.d.ts.map +1 -0
  183. package/dist/mjs/types/Interface/models/ICardHistory.js +2 -0
  184. package/dist/mjs/types/Interface/models/ICardHistory.js.map +1 -0
  185. package/dist/mjs/types/Interface/models/IComment.d.ts +3 -1
  186. package/dist/mjs/types/Interface/models/IComment.d.ts.map +1 -1
  187. package/dist/mjs/types/Interface/models/IComment.js.map +1 -1
  188. package/dist/mjs/types/Interface/models/IPrestationList.d.ts +1 -0
  189. package/dist/mjs/types/Interface/models/IPrestationList.d.ts.map +1 -1
  190. package/dist/mjs/types/Interface/models/IPrestationList.js.map +1 -1
  191. package/dist/mjs/types/Interface/models/ISociety.d.ts +9 -0
  192. package/dist/mjs/types/Interface/models/ISociety.d.ts.map +1 -1
  193. package/dist/mjs/types/Interface/models/ISociety.js.map +1 -1
  194. package/dist/mjs/types/Interface/models/IUser.d.ts +2 -0
  195. package/dist/mjs/types/Interface/models/IUser.d.ts.map +1 -1
  196. package/dist/mjs/types/Interface/models/IUser.js.map +1 -1
  197. package/dist/mjs/types/Interface/models/IUserBrand.d.ts +6 -0
  198. package/dist/mjs/types/Interface/models/IUserBrand.d.ts.map +1 -0
  199. package/dist/mjs/types/Interface/models/IUserBrand.js +2 -0
  200. package/dist/mjs/types/Interface/models/IUserBrand.js.map +1 -0
  201. package/dist/mjs/types/index.d.ts +8 -0
  202. package/dist/mjs/types/index.d.ts.map +1 -1
  203. package/dist/mjs/types/index.js +8 -0
  204. package/dist/mjs/types/index.js.map +1 -1
  205. package/dist/mjs/utils/prestation.js +1 -1
  206. package/dist/mjs/utils/prestation.js.map +1 -1
  207. package/dist/mjs/utils/quotation.js +1 -1
  208. package/dist/mjs/utils/quotation.js.map +1 -1
  209. package/package.json +1 -1
  210. package/ts/api/resources/Card.ts +25 -0
  211. package/ts/api/resources/Payment.ts +4 -0
  212. package/ts/api/resources/Stocks.ts +4 -4
  213. package/ts/api/resources.ts +2 -0
  214. package/ts/types/Enum/BrandPourcentage.ts +15 -15
  215. package/ts/types/Enum/Card.ts +110 -0
  216. package/ts/types/Enum/Comment.ts +1 -0
  217. package/ts/types/Enum/PrestationType.ts +175 -0
  218. package/ts/types/Enum/PriceGridClementine.ts +98 -0
  219. package/ts/types/Interface/api/balanceSheet/UpdateBalanceSheet.ts +5 -0
  220. package/ts/types/Interface/api/calendarEvent/createCalendarEvent.ts +3 -0
  221. package/ts/types/Interface/api/calendarEvent/createCalendarEventForUsers.ts +3 -0
  222. package/ts/types/Interface/api/card/QueryUserCards.ts +33 -0
  223. package/ts/types/Interface/api/card/QueryUserCardsStats.ts +16 -0
  224. package/ts/types/Interface/api/card/UpdateCard.ts +38 -0
  225. package/ts/types/Interface/api/payment/CreateNotifyCustomerInvoice.ts +21 -0
  226. package/ts/types/Interface/api/payment/ReadPayment.ts +5 -0
  227. package/ts/types/Interface/api/webmail/GetPaginatedWhereObjectParams.ts +5 -0
  228. package/ts/types/Interface/models/IBalanceSheet.ts +16 -13
  229. package/ts/types/Interface/models/ICalendarEvent.ts +3 -0
  230. package/ts/types/Interface/models/ICard.ts +31 -0
  231. package/ts/types/Interface/models/ICardHistory.ts +19 -0
  232. package/ts/types/Interface/models/IComment.ts +3 -1
  233. package/ts/types/Interface/models/IPrestationList.ts +1 -0
  234. package/ts/types/Interface/models/ISociety.ts +9 -0
  235. package/ts/types/Interface/models/IUser.ts +2 -0
  236. package/ts/types/Interface/models/IUserBrand.ts +7 -0
  237. package/ts/types/index.ts +9 -0
  238. package/ts/utils/prestation.ts +1 -1
  239. package/ts/utils/quotation.ts +1 -1
@@ -198,7 +198,7 @@ const calculatePrestationPrice = (idPrestationList, prestationList, endDate, Nbr
198
198
  if (isWithApplicationFees)
199
199
  totalPrestation += 50;
200
200
  const calculDetail = `${monthNbr > 0 ? monthNbr + ' mois x ' + (Math.round(price * 100) / 100) + '€' : (Math.round(price * 100) / 100) + '€'} ${totalAmount > 0 ? '- ' + totalAmount + '€' : ''} ${totalPercentage > 0 ? '- ' + totalPercentage + '%' : ''} ${isWithApplicationFees ? '+ 50€' : ''}`;
201
- return { totalPrestation, reduceMonth, canBeCreated, calculDetail, monthlyPrice: monthNbr > 0 ? price + '€/mois' : price + '€', price };
201
+ return { totalPrestation, reduceMonth, canBeCreated, calculDetail, monthlyPrice: monthNbr > 0 ? (Math.round(price * 100) / 100) + '€/mois' : (Math.round(price * 100) / 100) + '€', price };
202
202
  };
203
203
  exports.calculatePrestationPrice = calculatePrestationPrice;
204
204
  const getPrestationOptions = (idPrestationList) => {
@@ -1 +1 @@
1
- {"version":3,"file":"prestation.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,aAAa;aACR,IAAI,CAAC,+BAAc,CAAC,kBAAkB,EAAE,+BAAc,CAAC,0BAA0B,CAAC,CAAC,QAAQ,CAAC,gBAAgB,CAAC,IAAI,gBAAgB,CAAC,eAAe,CAAC,gBAAgB,CAAC,eAAe,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,aAAa,GAAG,QAAQ;YAAE,OAAO,IAAI,CAAC;QAC1O,aAAa;aACR,IAAI,CAAC,+BAAc,CAAC,kBAAkB,CAAC,CAAC,QAAQ,CAAC,gBAAgB,CAAC,IAAI,CAAC,gBAAgB,IAAI,gBAAgB,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,mBAAmB,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,aAAa,GAAG,QAAQ;YAAE,OAAO,IAAI,CAAC;QAC5N,aAAa;aACR,IAAI,CAAC,+BAAc,CAAC,kBAAkB,CAAC,CAAC,QAAQ,CAAC,gBAAgB,CAAC,IAAI,gBAAgB,IAAI,gBAAgB,CAAC,gBAAgB,CAAC,gBAAgB,CAAC,gBAAgB,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,aAAa,GAAG,QAAQ;YAAE,OAAO,IAAI,CAAC;;YAChN,OAAO,KAAK,CAAC;KACnB;IACD,OAAO,KAAK,CAAC;AAEf,CAAC,CAAC;AAG8O,kDAAmB","sourcesContent":["import { IPrestation, IPrestationList } from '../types';\nimport { intersection } from './noLodash';\nimport { PrestationDetail, PrestationType } from '../types/Enum/PrestationType';\nimport { PrestationOptionType, PrestationOption } from '../types/Enum/PrestationOption';\nimport { PriceGridClementine } from '../types/Enum/PriceGridClementine';\nimport { PriceGridPourcentage } from '../types/Enum/PriceGridPourcentage';\nimport { PriceGridLegalstart } from '../types/Enum/PriceGridLegalstart';\nimport { ClosingType } from '../types/Enum/ClosingType';\nimport { getBrandNameByNodeEnv } from './brands';\nimport * as dayjs from 'dayjs';\n\ntype priceGridBrand = {\n idTypeBrand: number,\n price: priceGrid[]\n};\n\ntype priceGrid = {\n idPrestationList: number[],\n minimumMonthlyPayment?: monthlyPayment[],\n maximumMonthlyPayment?: monthlyPayment[],\n turnoverCreatedYear?: turnover[],\n turnoverPastYear?: turnover[],\n turnoverMonthly?: turnover[],\n turnoverYearly?: turnover[],\n employee?: employee[],\n partner?: employee[],\n properties?: propertie[],\n vatRegimeMonthly?: vatRegime[],\n vatRegimeYearly?: vatRegime[],\n taxSystem?: taxSystem[],\n};\n\ntype monthlyPayment = {\n id: number,\n month: number,\n};\n\ntype turnover = {\n turnoverValue: number,\n price: number,\n};\n\ntype employee = {\n amountMinimum: number,\n amountMaximum: number,\n price: number,\n};\n\ntype propertie = {\n amount: number,\n price: number,\n};\n\ntype vatRegime = {\n type: number,\n price: number,\n};\n\ntype taxSystem = {\n id: number,\n price: number,\n};\n\nconst isOtherAccountingMissions = (idPrestationList: number): boolean => [\n PrestationType.PREVISIONNEL,\n PrestationType.BILAN_INTERMEDIAIRE,\n PrestationType.AVANCE_OU_ABANDON_COMPTE_COURANT_ASSOCIE,\n PrestationType.AUTRE_MISSION_COMPTABLE,\n PrestationType.TVS,\n PrestationType.ETUDE_FISCALE,\n PrestationType.BILAN_PREVISIONNEL].includes(idPrestationList);\n\nconst isOtherJuridicalMissions = (isJuridique:boolean, isCatalog:boolean, idPrestationList: number): boolean => idPrestationList !== PrestationType.GESTION_JURIDIQUE && isCatalog && isJuridique;\n\nconst isOtherSocialMission = (idPrestationList: number): boolean => idPrestationList === PrestationType.AUTRE_MISSION_SOCIALE_HORS_PAIE;\n\nconst isAdditionalPresta = (hidden:boolean, isCatalog:boolean): boolean => !hidden && isCatalog;\n\nconst isOnlyPrevi = (idPrestationList: number[]):boolean => !idPrestationList.filter((idPL:number) => ![PrestationType.PREVISIONNEL, PrestationType.BILAN_PREVISIONNEL, PrestationType.PV_AG].includes(idPL)).length;\n\nconst isOnlySocial = (idPrestationList: number[]):boolean => !idPrestationList.filter((idPL:number) => ![PrestationType.FRUCTUPAIE, PrestationType.SOCIAL].includes(idPL)).length;\n\nconst isOnlyJuridic = (idPrestationList: number[]):boolean => !idPrestationList.filter((idPL:number) => ![PrestationType.GESTION_JURIDIQUE].includes(idPL)).length;\n\nconst isCreation = (idPrestationList: number[]):boolean => !!intersection(idPrestationList, [PrestationType.CREATION_SOCIETE, PrestationType.STATUTS_FREE, PrestationType.STATUTS_OPTION_1, PrestationType.STATUTS_OPTION_2, PrestationType.STATUTS_OPTION_AE]).length;\n\nconst isExpress = (idPrestationList: number):boolean => {\n const prestationDetailValues = Object.values(PrestationDetail) as any;\n const prestaList = prestationDetailValues.find((pr:any) => pr.id === idPrestationList);\n return !!prestaList.isBack;\n};\n\nconst calculateScoringOfPrestation = (idPrestationType: PrestationType, prestations: IPrestation[]): number => {\n const prestationsSignedPaid = prestations.filter((prestation) => prestation.paid && prestation.signed && prestation.terminationList === null);\n\n // Get the list of prestations that are half price\n const prestationHalfPriceList = Object.values(PrestationDetail).filter((p) => p.isComptable && !p.isCatalog);\n const prestationHalfPriceIds = prestationHalfPriceList.map((t) => t.id);\n\n // Get the number of points for the new prestation\n const prestaDetails = Object.values(PrestationDetail).find((prestaDetail) => prestaDetail.id === idPrestationType);\n const numberPoint = prestaDetails?.point || 0;\n\n // Get list of prestations that are already done and check if one of them is in the list of prestations that are half price\n const prestationsExistIds = prestationsSignedPaid.map((prestation) => prestation.idPrestationList);\n const prestationHalfPriceAlreadyDoneIds = prestationsExistIds.filter((id) => prestationHalfPriceIds.includes(id));\n\n // If one of the prestations already done is in the list of prestations that are half price and if the idPrestationType is in prestationHalfPriceIds, return 50% of points\n if (prestationHalfPriceAlreadyDoneIds.length && prestationHalfPriceIds.includes(idPrestationType)) return Math.floor(numberPoint * 0.3);\n\n return numberPoint;\n};\n\nconst getPriceGrid = (idTypeBrand: number, idPrestationList: number): priceGrid | undefined => {\n let currentBrandPriceGrid: priceGridBrand | undefined;\n let currentPriceGrid: priceGrid | undefined;\n\n const currentEnvName = getBrandNameByNodeEnv(process.env.NODE_ENV);\n const listEnvEnum = {\n PriceGridClementine, PriceGridPourcentage, PriceGridLegalstart,\n };\n // @ts-ignore\n const currentPriceGridFile: priceGridBrand[] = listEnvEnum[`PriceGrid${currentEnvName}`];\n if (currentPriceGridFile) currentBrandPriceGrid = currentPriceGridFile.find((priceGrid: priceGridBrand) => priceGrid.idTypeBrand === idTypeBrand);\n if (currentBrandPriceGrid) currentPriceGrid = currentBrandPriceGrid?.price.find((price: priceGrid) => price.idPrestationList.includes(idPrestationList));\n return currentPriceGrid;\n};\n\nconst calculatePrestationPriceWithPriceGrid = (idPrestationList: number, endDate: string, NbrMonth: number, turnover: number, rentsNumber: number, employeesNumber: number, associatesNumber: number, idTypeBrand: number, idVatRegime: number, pastBalanceSheet: boolean, isYearly: boolean, totalMonth: number, idTaxSystem: number): { totalPrestation: number, reduceMonth: number, canBeCreated: boolean, monthNbr: number, price: number } => {\n let totalPrestation: number = 0;\n let reduceMonth: number = 0;\n let monthNbr: number = NbrMonth;\n let yearlyPrice: number | undefined;\n let finalMonthlyPrice: number | undefined;\n let canBeCreated: boolean = true;\n let recalculateMonthly: boolean = false;\n\n /* Récupération de la grille tarifaire */\n const currentPriceGrid: priceGrid | undefined = getPriceGrid(idTypeBrand, idPrestationList);\n \n if (currentPriceGrid) {\n let monthlyPrice: number | undefined;\n let vatRegimePrice: number | undefined;\n let taxSystemPrice: number | undefined;\n\n /* Gestion du régime de TVA */\n if (currentPriceGrid.vatRegimeMonthly && !isYearly) vatRegimePrice = currentPriceGrid.vatRegimeMonthly?.find(regime => regime.type === idVatRegime)?.price;\n else if (currentPriceGrid.vatRegimeYearly && isYearly) vatRegimePrice = currentPriceGrid.vatRegimeYearly?.find(regime => regime.type === idVatRegime)?.price;\n\n /* Gestion du Régime d'imposition */\n if (currentPriceGrid.taxSystem && idTaxSystem) taxSystemPrice = currentPriceGrid.taxSystem?.find(tax => tax.id === idTaxSystem)?.price;\n\n /* Gestion des montants */\n if (currentPriceGrid.turnoverMonthly && !isYearly) monthlyPrice = currentPriceGrid.turnoverMonthly?.find(turn => turnover < turn.turnoverValue)?.price;\n else if (currentPriceGrid.properties) monthlyPrice = currentPriceGrid.properties?.find(property => property.amount === rentsNumber)?.price;\n else if (currentPriceGrid.employee) monthlyPrice = currentPriceGrid.employee?.find(emp => emp.amountMinimum <= employeesNumber && emp.amountMaximum >= employeesNumber)?.price;\n else if (currentPriceGrid.turnoverYearly && isYearly) yearlyPrice = currentPriceGrid.turnoverYearly?.find(turn => turnover < turn.turnoverValue)?.price;\n else if (!pastBalanceSheet && currentPriceGrid.turnoverCreatedYear) yearlyPrice = currentPriceGrid.turnoverCreatedYear?.find(turn => turnover < turn.turnoverValue)?.price;\n else if (pastBalanceSheet && currentPriceGrid.turnoverPastYear) yearlyPrice = currentPriceGrid.turnoverPastYear?.find(turn => turnover < turn.turnoverValue)?.price;\n else if (currentPriceGrid.partner) yearlyPrice = currentPriceGrid.partner?.find(part => part.amountMinimum <= associatesNumber && part.amountMaximum >= associatesNumber)?.price;\n finalMonthlyPrice = (monthlyPrice ? monthlyPrice : 0) + (vatRegimePrice ? vatRegimePrice : 0) + (taxSystemPrice ? taxSystemPrice : 0);\n\n /* Gestion des mois */\n let cloturedPast: boolean = false;\n if (dayjs(endDate, 'YYYY-MM-DD').subtract(15, 'day').isBefore(dayjs())) cloturedPast = true;\n const minimumMonth: number | undefined = currentPriceGrid.minimumMonthlyPayment?.find(monthlyPayment => monthlyPayment.id === (cloturedPast ? ClosingType.OUTDATED : ClosingType.IN_PROGRESS))?.month;\n const maximumMonth: number | undefined = currentPriceGrid.maximumMonthlyPayment?.find(monthlyPayment => monthlyPayment.id === (cloturedPast ? ClosingType.OUTDATED : ClosingType.IN_PROGRESS))?.month;\n if (totalMonth > 0) monthNbr = monthNbr - totalMonth;\n if (minimumMonth && monthNbr < minimumMonth) {\n monthNbr = minimumMonth;\n recalculateMonthly = true;\n if (totalMonth > 0) canBeCreated = false;\n }\n if (maximumMonth && monthNbr > maximumMonth) {\n monthNbr = maximumMonth;\n recalculateMonthly = true;\n if (totalMonth > 0) canBeCreated = false;\n }\n\n reduceMonth = (monthNbr === NbrMonth - totalMonth ? totalMonth : 0);\n \n /* Prix Final */\n totalPrestation = (yearlyPrice ? yearlyPrice : finalMonthlyPrice * monthNbr);\n }\n return { totalPrestation, reduceMonth, canBeCreated, monthNbr: yearlyPrice ? 0 : recalculateMonthly ? NbrMonth : monthNbr, price: yearlyPrice ? yearlyPrice : recalculateMonthly ? (totalPrestation / NbrMonth) : (finalMonthlyPrice ? finalMonthlyPrice : 0) };\n};\n\nconst calculatePrestationPriceWithPrestationList = (prestationList: IPrestationList): number => {\n let totalPrestation: number = 0;\n\n totalPrestation = prestationList.price || 0;\n\n return totalPrestation;\n};\n\nconst calculatePrestationPrice = (idPrestationList: number, prestationList: IPrestationList, endDate: string, NbrMonth: number, turnover: number, rentsNumber: number, employeesNumber: number, associatesNumber: number, idTypeBrand: number, idVatRegime: number, pastBalanceSheet: boolean, optionsList: number[], totalPercentage: number, totalAmount: number, totalMonth: number, isWithApplicationFees: boolean, idTaxSystem: number, isYearly: boolean = false): { totalPrestation: number, reduceMonth: number, canBeCreated: boolean, calculDetail: string, monthlyPrice: string, price: number } => {\n let totalPrestation: number = 0;\n let reduceMonth: number = 0;\n let canBeCreated: boolean = true;\n let monthNbr: number = 0;\n let price: number = 0;\n let totalWithReduce: { totalPrestation: number, reduceMonth: number, canBeCreated: boolean, monthNbr: number, price: number } = { totalPrestation: 0, reduceMonth: 0, canBeCreated: true, monthNbr: 0, price: 0 };\n\n /* Gestion du prix en fonction de la prestation */\n if (\n [\n PrestationType.COMPTA_PRO,\n PrestationType.COMPTA_PRO_EXPRESS,\n PrestationType.COMPTA_ENTREPRISE,\n PrestationType.COMPTA_ENTREPRISE_EXPRESS,\n PrestationType.COMPTA_SCI,\n PrestationType.COMPTA_SCI_EXPRESS,\n PrestationType.BILAN_PREVISIONNEL,\n PrestationType.COMPTA_PREMIUM,\n PrestationType.COMPTA_POURCENTAGE_PREMIUM,\n PrestationType.COMPTA_POURCENTAGE_PREMIUM_EXPRESS,\n PrestationType.COMPTA_POURCENTAGE,\n PrestationType.COMPTA_POURCENTAGE_EXPRESS,\n PrestationType.SOCIAL,\n PrestationType.GESTION_JURIDIQUE,\n PrestationType.COMPTA_PRO_COMPTASTART,\n PrestationType.COMPTA_PRO_COMPTASTART_EXPRESS,\n ].includes(idPrestationList)\n ) {\n totalWithReduce = calculatePrestationPriceWithPriceGrid(idPrestationList, endDate, NbrMonth, turnover, rentsNumber, employeesNumber, associatesNumber, idTypeBrand, idVatRegime, pastBalanceSheet, isYearly, totalMonth, idTaxSystem);\n totalPrestation = totalWithReduce.totalPrestation;\n reduceMonth = totalWithReduce.reduceMonth;\n canBeCreated = totalWithReduce.canBeCreated;\n monthNbr = totalWithReduce.monthNbr;\n price = totalWithReduce.price;\n } else {\n totalPrestation = calculatePrestationPriceWithPrestationList(prestationList);\n }\n if (totalAmount > 0) totalPrestation = totalPrestation - totalAmount;\n if (totalPercentage > 0) totalPrestation = totalPrestation - (totalPrestation * (totalPercentage / 100));\n if (prestationList.minimumPrice && totalPrestation < prestationList.minimumPrice) totalPrestation = prestationList.minimumPrice;\n /* Gestion des options */\n let OptionTotalPrice: number = 0;\n if (optionsList.length) {\n optionsList.forEach((optionId) => {\n const optionPrice: number | undefined = Object.values(PrestationOption).find((option) => option.id === optionId)?.price;\n if (optionPrice) OptionTotalPrice += optionPrice;\n });\n }\n totalPrestation += (OptionTotalPrice ? OptionTotalPrice : 0);\n\n if (isWithApplicationFees) totalPrestation += 50;\n\n const calculDetail = `${monthNbr > 0 ? monthNbr + ' mois x ' + (Math.round(price * 100) / 100) + '€' : (Math.round(price * 100) / 100) + '€'} ${totalAmount > 0 ? '- ' + totalAmount + '€' : ''} ${totalPercentage > 0 ? '- ' + totalPercentage + '%' : ''} ${isWithApplicationFees ? '+ 50€' : ''}`;\n\n return { totalPrestation, reduceMonth, canBeCreated, calculDetail, monthlyPrice: monthNbr > 0 ? price + '€/mois' : price + '€', price };\n};\n\nconst getPrestationOptions = (idPrestationList: number): PrestationOptionType[] => {\n const PrestationOptionList: PrestationOptionType[] = Object.values(PrestationOption).filter(option => option.brand.includes(getBrandNameByNodeEnv(process.env.NODE_ENV)));\n return PrestationOptionList.filter(option => option.prestationList.includes(idPrestationList));\n};\n\nconst isAbleToUpdatePrice = (idTypeBrand: number, idPrestationList: number, turnover: number, pastBalanceSheet: boolean): boolean => {\n /* Récupération de la grille tarifaire */\n const currentPriceGrid: priceGrid | undefined = getPriceGrid(idTypeBrand, idPrestationList);\n if (currentPriceGrid) {\n // @ts-ignore\n if ([PrestationType.COMPTA_PREMIUM, PrestationType.COMPTA_POURCENTAGE_PREMIUM, PrestationType.COMPTA_POURCENTAGE_PREMIUM_EXPRESS].includes(idPrestationList) && currentPriceGrid.turnoverMonthly[currentPriceGrid.turnoverMonthly.length - 2].turnoverValue < turnover) return true;\n // @ts-ignore\n else if ([PrestationType.COMPTA_POURCENTAGE, PrestationType.COMPTA_POURCENTAGE_EXPRESS].includes(idPrestationList) && currentPriceGrid.turnoverMonthly[currentPriceGrid.turnoverMonthly.length - 1].turnoverValue < turnover) return true;\n // @ts-ignore\n else if ([PrestationType.BILAN_PREVISIONNEL].includes(idPrestationList) && !pastBalanceSheet && currentPriceGrid.turnoverCreatedYear[currentPriceGrid.turnoverCreatedYear.length - 1].turnoverValue < turnover) return true;\n // @ts-ignore\n else if ([PrestationType.BILAN_PREVISIONNEL].includes(idPrestationList) && pastBalanceSheet && currentPriceGrid.turnoverPastYear[currentPriceGrid.turnoverPastYear.length - 1].turnoverValue < turnover) return true;\n else return false;\n }\n return false;\n\n};\n\nexport {\n isOtherAccountingMissions, isOtherJuridicalMissions, isAdditionalPresta, isOtherSocialMission, isOnlyPrevi, isOnlySocial, isOnlyJuridic, isCreation, isExpress, calculateScoringOfPrestation, calculatePrestationPrice, getPrestationOptions, isAbleToUpdatePrice,\n};"]}
1
+ {"version":3,"file":"prestation.js","sourceRoot":"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AC,eAAe,CAAC,gBAAgB,CAAC,eAAe,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,aAAa,GAAG,QAAQ;YAAE,OAAO,IAAI,CAAC;QACpR,aAAa;aACR,IAAI,CAAC,+BAAc,CAAC,kBAAkB,EAAE,+BAAc,CAAC,0BAA0B,CAAC,CAAC,QAAQ,CAAC,gBAAgB,CAAC,IAAI,gBAAgB,CAAC,eAAe,CAAC,gBAAgB,CAAC,eAAe,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,aAAa,GAAG,QAAQ;YAAE,OAAO,IAAI,CAAC;QAC1O,aAAa;aACR,IAAI,CAAC,+BAAc,CAAC,kBAAkB,CAAC,CAAC,QAAQ,CAAC,gBAAgB,CAAC,IAAI,CAAC,gBAAgB,IAAI,gBAAgB,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,mBAAmB,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,aAAa,GAAG,QAAQ;YAAE,OAAO,IAAI,CAAC;QAC5N,aAAa;aACR,IAAI,CAAC,+BAAc,CAAC,kBAAkB,CAAC,CAAC,QAAQ,CAAC,gBAAgB,CAAC,IAAI,gBAAgB,IAAI,gBAAgB,CAAC,gBAAgB,CAAC,gBAAgB,CAAC,gBAAgB,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,aAAa,GAAG,QAAQ;YAAE,OAAO,IAAI,CAAC;;YAChN,OAAO,KAAK,CAAC;KACnB;IACD,OAAO,KAAK,CAAC;AAEf,CAAC,CAAC;AAG8O,kDAAmB","sourcesContent":["import { IPrestation, IPrestationList } from '../types';\nimport { intersection } from './noLodash';\nimport { PrestationDetail, PrestationType } from '../types/Enum/PrestationType';\nimport { PrestationOptionType, PrestationOption } from '../types/Enum/PrestationOption';\nimport { PriceGridClementine } from '../types/Enum/PriceGridClementine';\nimport { PriceGridPourcentage } from '../types/Enum/PriceGridPourcentage';\nimport { PriceGridLegalstart } from '../types/Enum/PriceGridLegalstart';\nimport { ClosingType } from '../types/Enum/ClosingType';\nimport { getBrandNameByNodeEnv } from './brands';\nimport * as dayjs from 'dayjs';\n\ntype priceGridBrand = {\n idTypeBrand: number,\n price: priceGrid[]\n};\n\ntype priceGrid = {\n idPrestationList: number[],\n minimumMonthlyPayment?: monthlyPayment[],\n maximumMonthlyPayment?: monthlyPayment[],\n turnoverCreatedYear?: turnover[],\n turnoverPastYear?: turnover[],\n turnoverMonthly?: turnover[],\n turnoverYearly?: turnover[],\n employee?: employee[],\n partner?: employee[],\n properties?: propertie[],\n vatRegimeMonthly?: vatRegime[],\n vatRegimeYearly?: vatRegime[],\n taxSystem?: taxSystem[],\n};\n\ntype monthlyPayment = {\n id: number,\n month: number,\n};\n\ntype turnover = {\n turnoverValue: number,\n price: number,\n};\n\ntype employee = {\n amountMinimum: number,\n amountMaximum: number,\n price: number,\n};\n\ntype propertie = {\n amount: number,\n price: number,\n};\n\ntype vatRegime = {\n type: number,\n price: number,\n};\n\ntype taxSystem = {\n id: number,\n price: number,\n};\n\nconst isOtherAccountingMissions = (idPrestationList: number): boolean => [\n PrestationType.PREVISIONNEL,\n PrestationType.BILAN_INTERMEDIAIRE,\n PrestationType.AVANCE_OU_ABANDON_COMPTE_COURANT_ASSOCIE,\n PrestationType.AUTRE_MISSION_COMPTABLE,\n PrestationType.TVS,\n PrestationType.ETUDE_FISCALE,\n PrestationType.BILAN_PREVISIONNEL].includes(idPrestationList);\n\nconst isOtherJuridicalMissions = (isJuridique:boolean, isCatalog:boolean, idPrestationList: number): boolean => idPrestationList !== PrestationType.GESTION_JURIDIQUE && isCatalog && isJuridique;\n\nconst isOtherSocialMission = (idPrestationList: number): boolean => idPrestationList === PrestationType.AUTRE_MISSION_SOCIALE_HORS_PAIE;\n\nconst isAdditionalPresta = (hidden:boolean, isCatalog:boolean): boolean => !hidden && isCatalog;\n\nconst isOnlyPrevi = (idPrestationList: number[]):boolean => !idPrestationList.filter((idPL:number) => ![PrestationType.PREVISIONNEL, PrestationType.BILAN_PREVISIONNEL, PrestationType.PV_AG].includes(idPL)).length;\n\nconst isOnlySocial = (idPrestationList: number[]):boolean => !idPrestationList.filter((idPL:number) => ![PrestationType.FRUCTUPAIE, PrestationType.SOCIAL].includes(idPL)).length;\n\nconst isOnlyJuridic = (idPrestationList: number[]):boolean => !idPrestationList.filter((idPL:number) => ![PrestationType.GESTION_JURIDIQUE].includes(idPL)).length;\n\nconst isCreation = (idPrestationList: number[]):boolean => !!intersection(idPrestationList, [PrestationType.CREATION_SOCIETE, PrestationType.STATUTS_FREE, PrestationType.STATUTS_OPTION_1, PrestationType.STATUTS_OPTION_2, PrestationType.STATUTS_OPTION_AE]).length;\n\nconst isExpress = (idPrestationList: number):boolean => {\n const prestationDetailValues = Object.values(PrestationDetail) as any;\n const prestaList = prestationDetailValues.find((pr:any) => pr.id === idPrestationList);\n return !!prestaList.isBack;\n};\n\nconst calculateScoringOfPrestation = (idPrestationType: PrestationType, prestations: IPrestation[]): number => {\n const prestationsSignedPaid = prestations.filter((prestation) => prestation.paid && prestation.signed && prestation.terminationList === null);\n\n // Get the list of prestations that are half price\n const prestationHalfPriceList = Object.values(PrestationDetail).filter((p) => p.isComptable && !p.isCatalog);\n const prestationHalfPriceIds = prestationHalfPriceList.map((t) => t.id);\n\n // Get the number of points for the new prestation\n const prestaDetails = Object.values(PrestationDetail).find((prestaDetail) => prestaDetail.id === idPrestationType);\n const numberPoint = prestaDetails?.point || 0;\n\n // Get list of prestations that are already done and check if one of them is in the list of prestations that are half price\n const prestationsExistIds = prestationsSignedPaid.map((prestation) => prestation.idPrestationList);\n const prestationHalfPriceAlreadyDoneIds = prestationsExistIds.filter((id) => prestationHalfPriceIds.includes(id));\n\n // If one of the prestations already done is in the list of prestations that are half price and if the idPrestationType is in prestationHalfPriceIds, return 50% of points\n if (prestationHalfPriceAlreadyDoneIds.length && prestationHalfPriceIds.includes(idPrestationType)) return Math.floor(numberPoint * 0.3);\n\n return numberPoint;\n};\n\nconst getPriceGrid = (idTypeBrand: number, idPrestationList: number): priceGrid | undefined => {\n let currentBrandPriceGrid: priceGridBrand | undefined;\n let currentPriceGrid: priceGrid | undefined;\n\n const currentEnvName = getBrandNameByNodeEnv(process.env.NODE_ENV);\n const listEnvEnum = {\n PriceGridClementine, PriceGridPourcentage, PriceGridLegalstart,\n };\n // @ts-ignore\n const currentPriceGridFile: priceGridBrand[] = listEnvEnum[`PriceGrid${currentEnvName}`];\n if (currentPriceGridFile) currentBrandPriceGrid = currentPriceGridFile.find((priceGrid: priceGridBrand) => priceGrid.idTypeBrand === idTypeBrand);\n if (currentBrandPriceGrid) currentPriceGrid = currentBrandPriceGrid?.price.find((price: priceGrid) => price.idPrestationList.includes(idPrestationList));\n return currentPriceGrid;\n};\n\nconst calculatePrestationPriceWithPriceGrid = (idPrestationList: number, endDate: string, NbrMonth: number, turnover: number, rentsNumber: number, employeesNumber: number, associatesNumber: number, idTypeBrand: number, idVatRegime: number, pastBalanceSheet: boolean, isYearly: boolean, totalMonth: number, idTaxSystem: number): { totalPrestation: number, reduceMonth: number, canBeCreated: boolean, monthNbr: number, price: number } => {\n let totalPrestation: number = 0;\n let reduceMonth: number = 0;\n let monthNbr: number = NbrMonth;\n let yearlyPrice: number | undefined;\n let finalMonthlyPrice: number | undefined;\n let canBeCreated: boolean = true;\n let recalculateMonthly: boolean = false;\n\n /* Récupération de la grille tarifaire */\n const currentPriceGrid: priceGrid | undefined = getPriceGrid(idTypeBrand, idPrestationList);\n \n if (currentPriceGrid) {\n let monthlyPrice: number | undefined;\n let vatRegimePrice: number | undefined;\n let taxSystemPrice: number | undefined;\n\n /* Gestion du régime de TVA */\n if (currentPriceGrid.vatRegimeMonthly && !isYearly) vatRegimePrice = currentPriceGrid.vatRegimeMonthly?.find(regime => regime.type === idVatRegime)?.price;\n else if (currentPriceGrid.vatRegimeYearly && isYearly) vatRegimePrice = currentPriceGrid.vatRegimeYearly?.find(regime => regime.type === idVatRegime)?.price;\n\n /* Gestion du Régime d'imposition */\n if (currentPriceGrid.taxSystem && idTaxSystem) taxSystemPrice = currentPriceGrid.taxSystem?.find(tax => tax.id === idTaxSystem)?.price;\n\n /* Gestion des montants */\n if (currentPriceGrid.turnoverMonthly && !isYearly) monthlyPrice = currentPriceGrid.turnoverMonthly?.find(turn => turnover < turn.turnoverValue)?.price;\n else if (currentPriceGrid.properties) monthlyPrice = currentPriceGrid.properties?.find(property => property.amount === rentsNumber)?.price;\n else if (currentPriceGrid.employee) monthlyPrice = currentPriceGrid.employee?.find(emp => emp.amountMinimum <= employeesNumber && emp.amountMaximum >= employeesNumber)?.price;\n else if (currentPriceGrid.turnoverYearly && isYearly) yearlyPrice = currentPriceGrid.turnoverYearly?.find(turn => turnover < turn.turnoverValue)?.price;\n else if (!pastBalanceSheet && currentPriceGrid.turnoverCreatedYear) yearlyPrice = currentPriceGrid.turnoverCreatedYear?.find(turn => turnover < turn.turnoverValue)?.price;\n else if (pastBalanceSheet && currentPriceGrid.turnoverPastYear) yearlyPrice = currentPriceGrid.turnoverPastYear?.find(turn => turnover < turn.turnoverValue)?.price;\n else if (currentPriceGrid.partner) yearlyPrice = currentPriceGrid.partner?.find(part => part.amountMinimum <= associatesNumber && part.amountMaximum >= associatesNumber)?.price;\n finalMonthlyPrice = (monthlyPrice ? monthlyPrice : 0) + (vatRegimePrice ? vatRegimePrice : 0) + (taxSystemPrice ? taxSystemPrice : 0);\n\n /* Gestion des mois */\n let cloturedPast: boolean = false;\n if (dayjs(endDate, 'YYYY-MM-DD').subtract(15, 'day').isBefore(dayjs())) cloturedPast = true;\n const minimumMonth: number | undefined = currentPriceGrid.minimumMonthlyPayment?.find(monthlyPayment => monthlyPayment.id === (cloturedPast ? ClosingType.OUTDATED : ClosingType.IN_PROGRESS))?.month;\n const maximumMonth: number | undefined = currentPriceGrid.maximumMonthlyPayment?.find(monthlyPayment => monthlyPayment.id === (cloturedPast ? ClosingType.OUTDATED : ClosingType.IN_PROGRESS))?.month;\n if (totalMonth > 0) monthNbr = monthNbr - totalMonth;\n if (minimumMonth && monthNbr < minimumMonth) {\n monthNbr = minimumMonth;\n recalculateMonthly = true;\n if (totalMonth > 0) canBeCreated = false;\n }\n if (maximumMonth && monthNbr > maximumMonth) {\n monthNbr = maximumMonth;\n recalculateMonthly = true;\n if (totalMonth > 0) canBeCreated = false;\n }\n\n reduceMonth = (monthNbr === NbrMonth - totalMonth ? totalMonth : 0);\n \n /* Prix Final */\n totalPrestation = (yearlyPrice ? yearlyPrice : finalMonthlyPrice * monthNbr);\n }\n return { totalPrestation, reduceMonth, canBeCreated, monthNbr: yearlyPrice ? 0 : recalculateMonthly ? NbrMonth : monthNbr, price: yearlyPrice ? yearlyPrice : recalculateMonthly ? (totalPrestation / NbrMonth) : (finalMonthlyPrice ? finalMonthlyPrice : 0) };\n};\n\nconst calculatePrestationPriceWithPrestationList = (prestationList: IPrestationList): number => {\n let totalPrestation: number = 0;\n\n totalPrestation = prestationList.price || 0;\n\n return totalPrestation;\n};\n\nconst calculatePrestationPrice = (idPrestationList: number, prestationList: IPrestationList, endDate: string, NbrMonth: number, turnover: number, rentsNumber: number, employeesNumber: number, associatesNumber: number, idTypeBrand: number, idVatRegime: number, pastBalanceSheet: boolean, optionsList: number[], totalPercentage: number, totalAmount: number, totalMonth: number, isWithApplicationFees: boolean, idTaxSystem: number, isYearly: boolean = false): { totalPrestation: number, reduceMonth: number, canBeCreated: boolean, calculDetail: string, monthlyPrice: string, price: number } => {\n let totalPrestation: number = 0;\n let reduceMonth: number = 0;\n let canBeCreated: boolean = true;\n let monthNbr: number = 0;\n let price: number = 0;\n let totalWithReduce: { totalPrestation: number, reduceMonth: number, canBeCreated: boolean, monthNbr: number, price: number } = { totalPrestation: 0, reduceMonth: 0, canBeCreated: true, monthNbr: 0, price: 0 };\n\n /* Gestion du prix en fonction de la prestation */\n if (\n [\n PrestationType.COMPTA_PRO,\n PrestationType.COMPTA_PRO_EXPRESS,\n PrestationType.COMPTA_ENTREPRISE,\n PrestationType.COMPTA_ENTREPRISE_EXPRESS,\n PrestationType.COMPTA_SCI,\n PrestationType.COMPTA_SCI_EXPRESS,\n PrestationType.BILAN_PREVISIONNEL,\n PrestationType.COMPTA_PREMIUM,\n PrestationType.COMPTA_POURCENTAGE_PREMIUM,\n PrestationType.COMPTA_POURCENTAGE_PREMIUM_EXPRESS,\n PrestationType.COMPTA_POURCENTAGE,\n PrestationType.COMPTA_POURCENTAGE_EXPRESS,\n PrestationType.SOCIAL,\n PrestationType.GESTION_JURIDIQUE,\n PrestationType.COMPTA_PRO_COMPTASTART,\n PrestationType.COMPTA_PRO_COMPTASTART_EXPRESS,\n ].includes(idPrestationList)\n ) {\n totalWithReduce = calculatePrestationPriceWithPriceGrid(idPrestationList, endDate, NbrMonth, turnover, rentsNumber, employeesNumber, associatesNumber, idTypeBrand, idVatRegime, pastBalanceSheet, isYearly, totalMonth, idTaxSystem);\n totalPrestation = totalWithReduce.totalPrestation;\n reduceMonth = totalWithReduce.reduceMonth;\n canBeCreated = totalWithReduce.canBeCreated;\n monthNbr = totalWithReduce.monthNbr;\n price = totalWithReduce.price;\n } else {\n totalPrestation = calculatePrestationPriceWithPrestationList(prestationList);\n }\n if (totalAmount > 0) totalPrestation = totalPrestation - totalAmount;\n if (totalPercentage > 0) totalPrestation = totalPrestation - (totalPrestation * (totalPercentage / 100));\n if (prestationList.minimumPrice && totalPrestation < prestationList.minimumPrice) totalPrestation = prestationList.minimumPrice;\n /* Gestion des options */\n let OptionTotalPrice: number = 0;\n if (optionsList.length) {\n optionsList.forEach((optionId) => {\n const optionPrice: number | undefined = Object.values(PrestationOption).find((option) => option.id === optionId)?.price;\n if (optionPrice) OptionTotalPrice += optionPrice;\n });\n }\n totalPrestation += (OptionTotalPrice ? OptionTotalPrice : 0);\n\n if (isWithApplicationFees) totalPrestation += 50;\n\n const calculDetail = `${monthNbr > 0 ? monthNbr + ' mois x ' + (Math.round(price * 100) / 100) + '€' : (Math.round(price * 100) / 100) + '€'} ${totalAmount > 0 ? '- ' + totalAmount + '€' : ''} ${totalPercentage > 0 ? '- ' + totalPercentage + '%' : ''} ${isWithApplicationFees ? '+ 50€' : ''}`;\n\n return { totalPrestation, reduceMonth, canBeCreated, calculDetail, monthlyPrice: monthNbr > 0 ? (Math.round(price * 100) / 100) + '€/mois' : (Math.round(price * 100) / 100) + '€', price };\n};\n\nconst getPrestationOptions = (idPrestationList: number): PrestationOptionType[] => {\n const PrestationOptionList: PrestationOptionType[] = Object.values(PrestationOption).filter(option => option.brand.includes(getBrandNameByNodeEnv(process.env.NODE_ENV)));\n return PrestationOptionList.filter(option => option.prestationList.includes(idPrestationList));\n};\n\nconst isAbleToUpdatePrice = (idTypeBrand: number, idPrestationList: number, turnover: number, pastBalanceSheet: boolean): boolean => {\n /* Récupération de la grille tarifaire */\n const currentPriceGrid: priceGrid | undefined = getPriceGrid(idTypeBrand, idPrestationList);\n if (currentPriceGrid) {\n // @ts-ignore\n if ([PrestationType.COMPTA_PREMIUM, PrestationType.COMPTA_POURCENTAGE_PREMIUM, PrestationType.COMPTA_POURCENTAGE_PREMIUM_EXPRESS].includes(idPrestationList) && currentPriceGrid.turnoverMonthly[currentPriceGrid.turnoverMonthly.length - 2].turnoverValue < turnover) return true;\n // @ts-ignore\n else if ([PrestationType.COMPTA_POURCENTAGE, PrestationType.COMPTA_POURCENTAGE_EXPRESS].includes(idPrestationList) && currentPriceGrid.turnoverMonthly[currentPriceGrid.turnoverMonthly.length - 1].turnoverValue < turnover) return true;\n // @ts-ignore\n else if ([PrestationType.BILAN_PREVISIONNEL].includes(idPrestationList) && !pastBalanceSheet && currentPriceGrid.turnoverCreatedYear[currentPriceGrid.turnoverCreatedYear.length - 1].turnoverValue < turnover) return true;\n // @ts-ignore\n else if ([PrestationType.BILAN_PREVISIONNEL].includes(idPrestationList) && pastBalanceSheet && currentPriceGrid.turnoverPastYear[currentPriceGrid.turnoverPastYear.length - 1].turnoverValue < turnover) return true;\n else return false;\n }\n return false;\n\n};\n\nexport {\n isOtherAccountingMissions, isOtherJuridicalMissions, isAdditionalPresta, isOtherSocialMission, isOnlyPrevi, isOnlySocial, isOnlyJuridic, isCreation, isExpress, calculateScoringOfPrestation, calculatePrestationPrice, getPrestationOptions, isAbleToUpdatePrice,\n};"]}
@@ -21,7 +21,7 @@ function getLeadQuotation(params) {
21
21
  if (lastname)
22
22
  quotation += 5;
23
23
  /* cotation du numéro de téléphone */
24
- if (['6', '7'].includes(phone.substr(0, 1))) {
24
+ if (phone && ['6', '7'].includes(phone.substr(0, 1))) {
25
25
  quotation += 15;
26
26
  }
27
27
  else {
@@ -1 +1 @@
1
- {"version":3,"file":"quotation.js","sourceRoot":"","sources":["../../../ts/utils/quotation.ts"],"names":[],"mappings":";;;AAAA,+BAA+B;AAC/B,iEAA2E;AAC3E,qDAAkD;AAClD,yDAAsD;AAoBtD,SAAgB,gBAAgB,CAAC,MAA8B;IAC7D,MAAM,EACJ,SAAS,EAAE,QAAQ,EAAE,KAAK,EAAE,IAAI,EAAE,cAAc,EAAE,MAAM,EAAE,YAAY,EAAE,cAAc,GACvF,GAAG,MAAM,CAAC;IACX,IACE,SAAS,KAAK,MAAM;WACjB,QAAQ,KAAK,MAAM;YACnB,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,QAAQ,CAAC,MAAM,CAAC,CAAA;WACtB,CAAC,WAAW,EAAE,WAAW,EAAE,WAAW,EAAE,WAAW,EAAE,WAAW,EAAE,WAAW,CAAC,CAAC,QAAQ,CAAC,KAAK,CAAC,EACjG;QACA,OAAO,CAAC,CAAC;KACV;IACD,IAAI,SAAS,GAAG,CAAC,CAAC;IAElB,wBAAwB;IACxB,IAAI,SAAS;QAAE,SAAS,IAAI,CAAC,CAAC;IAE9B,qBAAqB;IACrB,IAAI,QAAQ;QAAE,SAAS,IAAI,CAAC,CAAC;IAE7B,qCAAqC;IACrC,IAAI,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE;QAC3C,SAA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QAAQ,EAAE;QACnD,OAAO,IAAI,CAAC;KACb;IACD,OAAO,MAAM,CAAC;AAChB,CAAC;AATD,gDASC","sourcesContent":["import * as dayjs from 'dayjs';\nimport { ForbidenDomain, BasicDomain } from '../types/Enum/MailDomainType';\nimport { Activity } from '../types/Enum/Activity';\nimport { ComptaType } from '../types/Enum/ComptaType';\nimport { ISociety } from '../types/Interface/models/ISociety';\nimport { ICotation } from '../types/Interface/models/ICotation';\nimport {\n BasePaginate,\n IPayment,\n IRating, IReport, ISocietyProceding, ReadClientQuotation,\n} from '../types';\n\ntype getLeadQuotationParams = {\n firstname: string,\n lastname: string,\n phone: string,\n mail: string,\n annualTurnover: number,\n source: number,\n alreadyExist: boolean,\n activitySector: number,\n};\n\nexport function getLeadQuotation(params: getLeadQuotationParams):number {\n const {\n firstname, lastname, phone, mail, annualTurnover, source, alreadyExist, activitySector,\n } = params;\n if (\n firstname === 'test'\n || lastname === 'test'\n || mail?.includes('test')\n || ['606060606', '707070707', '612345678', '712345678', '687654321', '787654321'].includes(phone)\n ) {\n return 0;\n }\n let quotation = 0;\n\n /* cotation du prénom */\n if (firstname) quotation += 5;\n\n /* cotation du nom */\n if (lastname) quotation += 5;\n\n /* cotation du numéro de téléphone */\n if (['6', '7'].includes(phone.substr(0, 1))) {\n quotation += 15;\n } else {\n quotation += 5;\n }\n\n /* cotation de l'adresse email */\n if (BasicDomain.find((domain) => mail?.includes(domain))) {\n quotation += 5;\n } else\n if (!ForbidenDomain.find((domain) => mail?.includes(domain))) {\n quotation += 15;\n }\n\n /* cotation du CA annuel */\n if ([0, 150000, 400000, 783000, 783001].includes(annualTurnover)) {\n quotation += 10;\n } else if ([50000, 234000].includes(annualTurnover)) {\n quotation += 5;\n }\n\n /* cotation de la date d'ajout */\n if ([1, 2, 3, 4, 5].includes(new Date().getDay())) {\n const dateTime = new Date();\n const year = dateTime.getFullYear();\n const month = dateTime.getMonth();\n const day = dateTime.getDate();\n const startTime = new Date(`${year}-${month + 1}-${day} 08:45:00`);\n const endTime = new Date(`${year}-${month + 1}-${day} 18:45:00`);\n if ((startTime.getTime() <= dateTime.getTime()) && (endTime.getTime() >= dateTime.getTime())) {\n quotation += 15;\n } else {\n quotation += 5;\n }\n } else {\n quotation += 5;\n }\n\n /* cotation de la source */\n /* Parrainage */\n if (source === 49) {\n quotation += 10;\n\n /* calendly, appel entrant */\n } else if (source === 2) {\n quotation += 8;\n\n /* adWords, Bing, Formulaire */\n } else if (source === 4) {\n quotation += 6;\n\n /* Chat, Whatsapp */\n } else if ([29, 92].includes(source)) {\n quotation += 2;\n }\n\n /* cotation de la qualité (nombre de champs remplis) */\n const fieldNumber = [firstname, lastname, phone, mail, annualTurnover, activitySector].filter((data) => !!data).length;\n switch (fieldNumber) {\n case 6:\n quotation += 10;\n break;\n case 5:\n quotation += 8;\n break;\n case 4:\n quotation += 6;\n break;\n case 3:\n quotation += 4;\n break;\n case 2:\n quotation += 2;\n break;\n default:\n break;\n }\n\n /* cotation de l'existence du lead (déjà existant ou non) */\n if (alreadyExist) quotation += 8;\n\n /* cotation du secteur d'activité */\n if ([Activity.INFORMATIQUE, Activity.CONSEIL].includes(activitySector)) {\n quotation += 10;\n } else if ([Activity.TRANSPORT, Activity.BTP, Activity.RESTAURATION, Activity.COMMERCANT, Activity.MEDICAL, Activity.PROF_LIB].includes(activitySector)) {\n quotation += 5;\n }\n\n return quotation;\n}\n\n/* besoin en entré de la société concerné avec les différents imports (society), ainsi que la liste des autres sociétés ou l'owner est owner (otherSocieties) */\nexport function getClientQuotation(society: ISociety, otherSocieties: ISociety[], lastNotice: BasePaginate<IRating>, unpaidDetails: [], reports: IReport[], societyProcedings: ISocietyProceding[], tabBankAccount: any, firstPaiement: IPayment[]): ReadClientQuotation {\n let quotationPositive = 0;\n let quotationNegative = 0;\n let quotation = 0;\n const detailQuotation = {\n signature: 0,\n seniority: 0,\n additionalBenefits: 0,\n additionalCompanies: 0,\n unpayed: 0,\n updatedAnnotations: 0,\n bankSynchronization: 0,\n rating: 0,\n labRefused: 0,\n ongoingProceedings: 0,\n report: 0,\n termination: 0,\n created: 0,\n };\n\n // calcul de l'ancienneté de la société\n const anciennete = firstPaiement?.length > 0 ? dayjs().diff(dayjs(firstPaiement[0].datePayment, 'YYYY-MM-DD'), 'years') : 0;\n const ponderation = (anciennete * 0.1) + 1;\n\n /* Type de comptabilité du client (Tresorerie (+10) / Engagement (+15)) */\n if (society.idComptaType) {\n if ([ComptaType.CASH_BASED, ComptaType.CASH_BASED_ASSISTANCE, ComptaType.CASH_BASED_SEIZURE].includes(society.idComptaType)) {\n quotationPositive += 10;\n detailQuotation.signature += 10;\n } else if ([ComptaType.ACCRUALS, ComptaType.ACCRUALS_ASSISTANCE, ComptaType.ACCRUALS_SEIZURE].includes(society.idComptaType)) {\n quotationPositive += 15;\n detailQuotation.signature += 15;\n }\n }\n\n /* Ancienneté (1 ans < firstPaiement < 2 ans (+10) / 2 ans < firstPaiement (+20 / année)) */\n if (firstPaiement?.length > 0) {\n const yearAsClient = Number(new Date().getFullYear()) - Number(new Date(firstPaiement[0].datePayment).getFullYear());\n if (yearAsClient === 1) {\n quotationPositive += 10;\n detailQuotation.seniority += 10;\n } else if (yearAsClient > 1) {\n quotationPositive += (20 * (yearAsClient - 1) + 10);\n detailQuotation.seniority += (20 * (yearAsClient - 1) + 10);\n }\n }\n\n /* Prestations Complémentaires (+5 / prestation) */\n if (society.prestationsSocieties?.length) {\n const prestationsCompl = society.prestationsSocieties.filter((prestation) => prestation.idPrestationComplementary);\n prestationsCompl.forEach(() => {\n quotationPositive += Math.ceil(5 * ponderation);\n detailQuotation.additionalBenefits += Math.ceil(5 * ponderation);\n });\n }\n\n /* Sociétés supplémentaires (+8 / société) */\n if (otherSocieties.length) {\n quotationPositive += Math.ceil(8 * otherSocieties.length * ponderation);\n detailQuotation.additionalCompanies += Math.ceil(8 * otherSocieties.length * ponderation);\n }\n\n /* Impayés (-15 / mois) */\n if (unpaidDetails.length) {\n quotationNegative -= Math.ceil(15 * unpaidDetails.length * ponderation);\n detailQuotation.unpayed -= Math.ceil(15 * unpaidDetails.length * ponderation);\n }\n\n /* annotations à jour */\n if (tabBankAccount.societyAccountingTransactions?.length) {\n // on check s'il y a 80% des lignes annotées (dateLocked)\n let countNotAnnoted = 0;\n let percentageAnnotations = 100;\n tabBankAccount.societyAccountingTransactions.map((na:any) => {\n if (na.dateLocked === null) {\n countNotAnnoted += 1;\n }\n return countNotAnnoted;\n });\n if (countNotAnnoted !== 0) percentageAnnotations = (countNotAnnoted / tabBankAccount.societyAccountingTransactions?.length) * 100;\n if (percentageAnnotations >= 80) {\n quotationPositive += Math.ceil(12 * ponderation);\n detailQuotation.updatedAnnotations += Math.ceil(12 * ponderation);\n } else {\n quotationNegative -= Math.ceil(12 * ponderation);\n detailQuotation.updatedAnnotations -= Math.ceil(12 * ponderation);\n }\n }\n\n /* synchronisation bancaire */\n if (tabBankAccount.societyActivatedBankAccounts?.length) {\n // comptes synchro\n const synchro = tabBankAccount.societyActivatedBankAccounts.length - tabBankAccount.desactivatedBankAccount.length;\n quotationPositive += Math.ceil(12 * synchro * ponderation);\n detailQuotation.bankSynchronization += Math.ceil(12 * synchro * ponderation);\n\n // comptes desynchro\n quotationNegative -= Math.ceil(12 * tabBankAccount.desactivatedBankAccount.length * ponderation);\n detailQuotation.bankSynchronization -= Math.ceil(12 * tabBankAccount.desactivatedBankAccount.length * ponderation);\n }\n\n /* avis */\n if (lastNotice && lastNotice.data.length === 1) {\n if (lastNotice.data[0].average === 5) {\n quotationPositive += Math.ceil(10 * ponderation);\n detailQuotation.rating += Math.ceil(10 * ponderation);\n } else {\n quotationNegative -= 10;\n detailQuotation.rating -= 10;\n }\n }\n\n /* LAB refusée */\n if (society?.societyDetail) {\n if (!society.societyDetail?.acceptation) {\n quotationNegative -= 10;\n detailQuotation.labRefused -= 10;\n }\n }\n\n /* Cessation de paiement - redressement judiciaire - procédure en cours / signalements / résiliation */\n if (societyProcedings?.length) {\n quotationNegative -= 5 * societyProcedings.length;\n detailQuotation.ongoingProceedings -= 5 * societyProcedings.length;\n }\n\n if (reports?.length) {\n quotationNegative -= 10;\n detailQuotation.report -= 10;\n }\n\n if (society.isWaitingEnd) {\n quotationNegative -= 50;\n detailQuotation.termination -= 50;\n }\n\n /* Création chez nous */\n if (society.prestationsSocieties?.length) {\n const prestationsCreation = society.prestationsSocieties.filter((prestation) => prestation.idPrestationList === 15); // creation pas d'enum\n prestationsCreation.forEach(() => {\n quotationPositive += 10;\n detailQuotation.created += 10;\n });\n }\n\n if (quotationPositive > 100) quotationPositive = 100;\n if (quotationNegative > 100) quotationNegative = 100;\n\n quotation = quotationPositive + quotationNegative;\n\n if (quotation < 0) quotation = 0;\n\n return {\n cotation: quotation,\n data: detailQuotation,\n idSociety: society.id as number,\n };\n}\n\nexport function compareTwoCotation(cotations: ICotation[]):boolean | null {\n // on recupere les 2 dernieres cotations de la societe\n const higher = false;\n if (cotations[0].cotation === cotations[1].cotation) {\n return null;\n } if (cotations[0].cotation > cotations[1].cotation) {\n return true;\n }\n return higher;\n}"]}
1
+ {"version":3,"file":"quotation.js","sourceRoot":"","sources":["../../../ts/utils/quotation.ts"],"names":[],"mappings":";;;AAAA,+BAA+B;AAC/B,iEAA2E;AAC3E,qDAAkD;AAClD,yDAAsD;AAoBtD,SAAgB,gBAAgB,CAAC,MAA8B;IAC7D,MAAM,EACJ,SAAS,EAAE,QAAQ,EAAE,KAAK,EAAE,IAAI,EAAE,cAAc,EAAE,MAAM,EAAE,YAAY,EAAE,cAAc,GACvF,GAAG,MAAM,CAAC;IACX,IACE,SAAS,KAAK,MAAM;WACjB,QAAQ,KAAK,MAAM;YACnB,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,QAAQ,CAAC,MAAM,CAAC,CAAA;WACtB,CAAC,WAAW,EAAE,WAAW,EAAE,WAAW,EAAE,WAAW,EAAE,WAAW,EAAE,WAAW,CAAC,CAAC,QAAQ,CAAC,KAAK,CAAC,EACjG;QACA,OAAO,CAA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ChC,CAAC;AACJ,CAAC;AA7JD,gDA6JC;AAED,SAAgB,kBAAkB,CAAC,SAAsB;IACvD,sDAAsD;IACtD,MAAM,MAAM,GAAG,KAAK,CAAC;IACrB,IAAI,SAAS,CAAC,CAAC,CAAC,CAAC,QAAQ,KAAK,SAAS,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;QACnD,OAAO,IAAI,CAAC;KACb;IAAC,IAAI,SAAS,CAAC,CAAC,CAAC,CAAC,QAAQ,GAAG,SAAS,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;QACnD,OAAO,IAAI,CAAC;KACb;IACD,OAAO,MAAM,CAAC;AAChB,CAAC;AATD,gDASC","sourcesContent":["import * as dayjs from 'dayjs';\nimport { ForbidenDomain, BasicDomain } from '../types/Enum/MailDomainType';\nimport { Activity } from '../types/Enum/Activity';\nimport { ComptaType } from '../types/Enum/ComptaType';\nimport { ISociety } from '../types/Interface/models/ISociety';\nimport { ICotation } from '../types/Interface/models/ICotation';\nimport {\n BasePaginate,\n IPayment,\n IRating, IReport, ISocietyProceding, ReadClientQuotation,\n} from '../types';\n\ntype getLeadQuotationParams = {\n firstname: string,\n lastname: string,\n phone: string,\n mail: string,\n annualTurnover: number,\n source: number,\n alreadyExist: boolean,\n activitySector: number,\n};\n\nexport function getLeadQuotation(params: getLeadQuotationParams):number {\n const {\n firstname, lastname, phone, mail, annualTurnover, source, alreadyExist, activitySector,\n } = params;\n if (\n firstname === 'test'\n || lastname === 'test'\n || mail?.includes('test')\n || ['606060606', '707070707', '612345678', '712345678', '687654321', '787654321'].includes(phone)\n ) {\n return 0;\n }\n let quotation = 0;\n\n /* cotation du prénom */\n if (firstname) quotation += 5;\n\n /* cotation du nom */\n if (lastname) quotation += 5;\n\n /* cotation du numéro de téléphone */\n if (phone && ['6', '7'].includes(phone.substr(0, 1))) {\n quotation += 15;\n } else {\n quotation += 5;\n }\n\n /* cotation de l'adresse email */\n if (BasicDomain.find((domain) => mail?.includes(domain))) {\n quotation += 5;\n } else\n if (!ForbidenDomain.find((domain) => mail?.includes(domain))) {\n quotation += 15;\n }\n\n /* cotation du CA annuel */\n if ([0, 150000, 400000, 783000, 783001].includes(annualTurnover)) {\n quotation += 10;\n } else if ([50000, 234000].includes(annualTurnover)) {\n quotation += 5;\n }\n\n /* cotation de la date d'ajout */\n if ([1, 2, 3, 4, 5].includes(new Date().getDay())) {\n const dateTime = new Date();\n const year = dateTime.getFullYear();\n const month = dateTime.getMonth();\n const day = dateTime.getDate();\n const startTime = new Date(`${year}-${month + 1}-${day} 08:45:00`);\n const endTime = new Date(`${year}-${month + 1}-${day} 18:45:00`);\n if ((startTime.getTime() <= dateTime.getTime()) && (endTime.getTime() >= dateTime.getTime())) {\n quotation += 15;\n } else {\n quotation += 5;\n }\n } else {\n quotation += 5;\n }\n\n /* cotation de la source */\n /* Parrainage */\n if (source === 49) {\n quotation += 10;\n\n /* calendly, appel entrant */\n } else if (source === 2) {\n quotation += 8;\n\n /* adWords, Bing, Formulaire */\n } else if (source === 4) {\n quotation += 6;\n\n /* Chat, Whatsapp */\n } else if ([29, 92].includes(source)) {\n quotation += 2;\n }\n\n /* cotation de la qualité (nombre de champs remplis) */\n const fieldNumber = [firstname, lastname, phone, mail, annualTurnover, activitySector].filter((data) => !!data).length;\n switch (fieldNumber) {\n case 6:\n quotation += 10;\n break;\n case 5:\n quotation += 8;\n break;\n case 4:\n quotation += 6;\n break;\n case 3:\n quotation += 4;\n break;\n case 2:\n quotation += 2;\n break;\n default:\n break;\n }\n\n /* cotation de l'existence du lead (déjà existant ou non) */\n if (alreadyExist) quotation += 8;\n\n /* cotation du secteur d'activité */\n if ([Activity.INFORMATIQUE, Activity.CONSEIL].includes(activitySector)) {\n quotation += 10;\n } else if ([Activity.TRANSPORT, Activity.BTP, Activity.RESTAURATION, Activity.COMMERCANT, Activity.MEDICAL, Activity.PROF_LIB].includes(activitySector)) {\n quotation += 5;\n }\n\n return quotation;\n}\n\n/* besoin en entré de la société concerné avec les différents imports (society), ainsi que la liste des autres sociétés ou l'owner est owner (otherSocieties) */\nexport function getClientQuotation(society: ISociety, otherSocieties: ISociety[], lastNotice: BasePaginate<IRating>, unpaidDetails: [], reports: IReport[], societyProcedings: ISocietyProceding[], tabBankAccount: any, firstPaiement: IPayment[]): ReadClientQuotation {\n let quotationPositive = 0;\n let quotationNegative = 0;\n let quotation = 0;\n const detailQuotation = {\n signature: 0,\n seniority: 0,\n additionalBenefits: 0,\n additionalCompanies: 0,\n unpayed: 0,\n updatedAnnotations: 0,\n bankSynchronization: 0,\n rating: 0,\n labRefused: 0,\n ongoingProceedings: 0,\n report: 0,\n termination: 0,\n created: 0,\n };\n\n // calcul de l'ancienneté de la société\n const anciennete = firstPaiement?.length > 0 ? dayjs().diff(dayjs(firstPaiement[0].datePayment, 'YYYY-MM-DD'), 'years') : 0;\n const ponderation = (anciennete * 0.1) + 1;\n\n /* Type de comptabilité du client (Tresorerie (+10) / Engagement (+15)) */\n if (society.idComptaType) {\n if ([ComptaType.CASH_BASED, ComptaType.CASH_BASED_ASSISTANCE, ComptaType.CASH_BASED_SEIZURE].includes(society.idComptaType)) {\n quotationPositive += 10;\n detailQuotation.signature += 10;\n } else if ([ComptaType.ACCRUALS, ComptaType.ACCRUALS_ASSISTANCE, ComptaType.ACCRUALS_SEIZURE].includes(society.idComptaType)) {\n quotationPositive += 15;\n detailQuotation.signature += 15;\n }\n }\n\n /* Ancienneté (1 ans < firstPaiement < 2 ans (+10) / 2 ans < firstPaiement (+20 / année)) */\n if (firstPaiement?.length > 0) {\n const yearAsClient = Number(new Date().getFullYear()) - Number(new Date(firstPaiement[0].datePayment).getFullYear());\n if (yearAsClient === 1) {\n quotationPositive += 10;\n detailQuotation.seniority += 10;\n } else if (yearAsClient > 1) {\n quotationPositive += (20 * (yearAsClient - 1) + 10);\n detailQuotation.seniority += (20 * (yearAsClient - 1) + 10);\n }\n }\n\n /* Prestations Complémentaires (+5 / prestation) */\n if (society.prestationsSocieties?.length) {\n const prestationsCompl = society.prestationsSocieties.filter((prestation) => prestation.idPrestationComplementary);\n prestationsCompl.forEach(() => {\n quotationPositive += Math.ceil(5 * ponderation);\n detailQuotation.additionalBenefits += Math.ceil(5 * ponderation);\n });\n }\n\n /* Sociétés supplémentaires (+8 / société) */\n if (otherSocieties.length) {\n quotationPositive += Math.ceil(8 * otherSocieties.length * ponderation);\n detailQuotation.additionalCompanies += Math.ceil(8 * otherSocieties.length * ponderation);\n }\n\n /* Impayés (-15 / mois) */\n if (unpaidDetails.length) {\n quotationNegative -= Math.ceil(15 * unpaidDetails.length * ponderation);\n detailQuotation.unpayed -= Math.ceil(15 * unpaidDetails.length * ponderation);\n }\n\n /* annotations à jour */\n if (tabBankAccount.societyAccountingTransactions?.length) {\n // on check s'il y a 80% des lignes annotées (dateLocked)\n let countNotAnnoted = 0;\n let percentageAnnotations = 100;\n tabBankAccount.societyAccountingTransactions.map((na:any) => {\n if (na.dateLocked === null) {\n countNotAnnoted += 1;\n }\n return countNotAnnoted;\n });\n if (countNotAnnoted !== 0) percentageAnnotations = (countNotAnnoted / tabBankAccount.societyAccountingTransactions?.length) * 100;\n if (percentageAnnotations >= 80) {\n quotationPositive += Math.ceil(12 * ponderation);\n detailQuotation.updatedAnnotations += Math.ceil(12 * ponderation);\n } else {\n quotationNegative -= Math.ceil(12 * ponderation);\n detailQuotation.updatedAnnotations -= Math.ceil(12 * ponderation);\n }\n }\n\n /* synchronisation bancaire */\n if (tabBankAccount.societyActivatedBankAccounts?.length) {\n // comptes synchro\n const synchro = tabBankAccount.societyActivatedBankAccounts.length - tabBankAccount.desactivatedBankAccount.length;\n quotationPositive += Math.ceil(12 * synchro * ponderation);\n detailQuotation.bankSynchronization += Math.ceil(12 * synchro * ponderation);\n\n // comptes desynchro\n quotationNegative -= Math.ceil(12 * tabBankAccount.desactivatedBankAccount.length * ponderation);\n detailQuotation.bankSynchronization -= Math.ceil(12 * tabBankAccount.desactivatedBankAccount.length * ponderation);\n }\n\n /* avis */\n if (lastNotice && lastNotice.data.length === 1) {\n if (lastNotice.data[0].average === 5) {\n quotationPositive += Math.ceil(10 * ponderation);\n detailQuotation.rating += Math.ceil(10 * ponderation);\n } else {\n quotationNegative -= 10;\n detailQuotation.rating -= 10;\n }\n }\n\n /* LAB refusée */\n if (society?.societyDetail) {\n if (!society.societyDetail?.acceptation) {\n quotationNegative -= 10;\n detailQuotation.labRefused -= 10;\n }\n }\n\n /* Cessation de paiement - redressement judiciaire - procédure en cours / signalements / résiliation */\n if (societyProcedings?.length) {\n quotationNegative -= 5 * societyProcedings.length;\n detailQuotation.ongoingProceedings -= 5 * societyProcedings.length;\n }\n\n if (reports?.length) {\n quotationNegative -= 10;\n detailQuotation.report -= 10;\n }\n\n if (society.isWaitingEnd) {\n quotationNegative -= 50;\n detailQuotation.termination -= 50;\n }\n\n /* Création chez nous */\n if (society.prestationsSocieties?.length) {\n const prestationsCreation = society.prestationsSocieties.filter((prestation) => prestation.idPrestationList === 15); // creation pas d'enum\n prestationsCreation.forEach(() => {\n quotationPositive += 10;\n detailQuotation.created += 10;\n });\n }\n\n if (quotationPositive > 100) quotationPositive = 100;\n if (quotationNegative > 100) quotationNegative = 100;\n\n quotation = quotationPositive + quotationNegative;\n\n if (quotation < 0) quotation = 0;\n\n return {\n cotation: quotation,\n data: detailQuotation,\n idSociety: society.id as number,\n };\n}\n\nexport function compareTwoCotation(cotations: ICotation[]):boolean | null {\n // on recupere les 2 dernieres cotations de la societe\n const higher = false;\n if (cotations[0].cotation === cotations[1].cotation) {\n return null;\n } if (cotations[0].cotation > cotations[1].cotation) {\n return true;\n }\n return higher;\n}"]}
@@ -0,0 +1,10 @@
1
+ import { Resource } from '../Resource';
2
+ import { ICard, QueryUserCards, QueryUserCardsStats, UserCardsStatsGroup, UpdateCard } from '../../types';
3
+ export declare class Card extends Resource {
4
+ getById(id: number): Promise<ICard>;
5
+ getAll(params: QueryUserCards): Promise<ICard[]>;
6
+ getStats(params: QueryUserCardsStats): Promise<UserCardsStatsGroup[]>;
7
+ update(id: number, data: UpdateCard): Promise<ICard>;
8
+ delete(id: number): Promise<void>;
9
+ }
10
+ //# sourceMappingURL=Card.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Card.d.ts","sourceRoot":"","sources":["../../../../ts/api/resources/Card.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,KAAK,EAAE,cAAc,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAE1G,qBAAa,IAAK,SAAQ,QAAQ;IAChC,OAAO,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,KAAK,CAAC;IAInC,MAAM,CAAC,MAAM,EAAE,cAAc,GAAG,OAAO,CAAC,KAAK,EAAE,CAAC;IAIhD,QAAQ,CAAC,MAAM,EAAE,mBAAmB,GAAG,OAAO,CAAC,mBAAmB,EAAE,CAAC;IAIrE,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,UAAU,GAAG,OAAO,CAAC,KAAK,CAAC;IAIpD,MAAM,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;CAIlC"}
@@ -0,0 +1,19 @@
1
+ import { Resource } from '../Resource';
2
+ export class Card extends Resource {
3
+ getById(id) {
4
+ return this.axios.$get(`/cards/${id}`);
5
+ }
6
+ getAll(params) {
7
+ return this.axios.$get('/cards', { params });
8
+ }
9
+ getStats(params) {
10
+ return this.axios.$get('/cards/stats', { params });
11
+ }
12
+ update(id, data) {
13
+ return this.axios.$put(`/cards/${id}`, data);
14
+ }
15
+ delete(id) {
16
+ return this.axios.$delete(`/cards/${id}`);
17
+ }
18
+ }
19
+ //# sourceMappingURL=Card.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Card.js","sourceRoot":"","sources":["../../../../ts/api/resources/Card.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAGvC,MAAM,OAAO,IAAK,SAAQ,QAAQ;IAChC,OAAO,CAAC,EAAU;QAChB,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,UAAU,EAAE,EAAE,CAAC,CAAC;IACzC,CAAC;IAED,MAAM,CAAC,MAAsB;QAC3B,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,QAAQ,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;IAC/C,CAAC;IAED,QAAQ,CAAC,MAA2B;QAClC,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,cAAc,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;IACrD,CAAC;IAED,MAAM,CAAC,EAAU,EAAE,IAAgB;QACjC,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,UAAU,EAAE,EAAE,EAAE,IAAI,CAAC,CAAC;IAC/C,CAAC;IAED,MAAM,CAAC,EAAU;QACf,OAAO,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,UAAU,EAAE,EAAE,CAAC,CAAC;IAC5C,CAAC;CAEF","sourcesContent":["import { Resource } from '../Resource';\nimport { ICard, QueryUserCards, QueryUserCardsStats, UserCardsStatsGroup, UpdateCard } from '../../types';\n\nexport class Card extends Resource {\n getById(id: number): Promise<ICard> {\n return this.axios.$get(`/cards/${id}`);\n }\n\n getAll(params: QueryUserCards): Promise<ICard[]> {\n return this.axios.$get('/cards', { params });\n }\n\n getStats(params: QueryUserCardsStats): Promise<UserCardsStatsGroup[]> {\n return this.axios.$get('/cards/stats', { params });\n }\n\n update(id: number, data: UpdateCard): Promise<ICard> {\n return this.axios.$put(`/cards/${id}`, data);\n }\n\n delete(id: number): Promise<void> {\n return this.axios.$delete(`/cards/${id}`);\n }\n \n}"]}
@@ -4,5 +4,6 @@ export declare class Payment extends Resource {
4
4
  getMonthlyCsv(query: QueryMonthlyPayment): Promise<void>;
5
5
  getInternalPaymentCsv(query: QueryPaymentCsv): Promise<void>;
6
6
  notifyCustomers(payload: CreateNotifyCustomer): Promise<void>;
7
+ notifyCustomersInvoice(payload: CreateNotifyCustomer): Promise<void>;
7
8
  }
8
9
  //# sourceMappingURL=Payment.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Payment.d.ts","sourceRoot":"","sources":["../../../../ts/api/resources/Payment.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAEzF,qBAAa,OAAQ,SAAQ,QAAQ;IACnC,aAAa,CAAC,KAAK,EAAE,mBAAmB,GAAG,OAAO,CAAC,IAAI,CAAC;IAUxD,qBAAqB,CAAC,KAAK,EAAE,eAAe,GAAG,OAAO,CAAC,IAAI,CAAC;IAU5D,eAAe,CAAC,OAAO,EAAE,oBAAoB,GAAG,OAAO,CAAC,IAAI,CAAC;CAG9D"}
1
+ {"version":3,"file":"Payment.d.ts","sourceRoot":"","sources":["../../../../ts/api/resources/Payment.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAEzF,qBAAa,OAAQ,SAAQ,QAAQ;IACnC,aAAa,CAAC,KAAK,EAAE,mBAAmB,GAAG,OAAO,CAAC,IAAI,CAAC;IAUxD,qBAAqB,CAAC,KAAK,EAAE,eAAe,GAAG,OAAO,CAAC,IAAI,CAAC;IAU5D,eAAe,CAAC,OAAO,EAAE,oBAAoB,GAAG,OAAO,CAAC,IAAI,CAAC;IAI7D,sBAAsB,CAAC,OAAO,EAAE,oBAAoB,GAAG,OAAO,CAAC,IAAI,CAAC;CAGrE"}
@@ -21,5 +21,8 @@ export class Payment extends Resource {
21
21
  notifyCustomers(payload) {
22
22
  return this.axios.$post('payment/notify-customers', payload);
23
23
  }
24
+ notifyCustomersInvoice(payload) {
25
+ return this.axios.$post('payment/notify-customers-invoice', payload);
26
+ }
24
27
  }
25
28
  //# sourceMappingURL=Payment.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Payment.js","sourceRoot":"","sources":["../../../../ts/api/resources/Payment.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAGvC,MAAM,OAAO,OAAQ,SAAQ,QAAQ;IACnC,aAAa,CAAC,KAA0B;QACtC,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,oBAAoB,EAAE;YAC3C,MAAM,EAAE,KAAK;YACb,YAAY,EAAE,aAAa;YAC3B,OAAO,EAAE;gBACP,MAAM,EAAE,iBAAiB;aAC1B;SACF,CAAC,CAAC;IACL,CAAC;IAED,qBAAqB,CAAC,KAAsB;QAC1C,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,8BAA8B,EAAE;YACrD,MAAM,EAAE,KAAK;YACb,YAAY,EAAE,aAAa;YAC3B,OAAO,EAAE;gBACP,MAAM,EAAE,iBAAiB;aAC1B;SACF,CAAC,CAAC;IACL,CAAC;IAED,eAAe,CAAC,OAA6B;QAC3C,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,0BAA0B,EAAE,OAAO,CAAC,CAAC;IAC/D,CAAC;CACF","sourcesContent":["import { Resource } from '../Resource';\nimport { CreateNotifyCustomer, QueryMonthlyPayment, QueryPaymentCsv } from '../../types';\n\nexport class Payment extends Resource {\n getMonthlyCsv(query: QueryMonthlyPayment): Promise<void> {\n return this.axios.$get('payment/monthlyCsv', {\n params: query,\n responseType: 'arraybuffer',\n headers: {\n Accept: 'application/csv',\n },\n });\n }\n\n getInternalPaymentCsv(query: QueryPaymentCsv): Promise<void> {\n return this.axios.$get('payment/internal-payment/csv', {\n params: query,\n responseType: 'arraybuffer',\n headers: {\n Accept: 'application/csv',\n },\n });\n }\n\n notifyCustomers(payload: CreateNotifyCustomer): Promise<void> {\n return this.axios.$post('payment/notify-customers', payload);\n }\n}"]}
1
+ {"version":3,"file":"Payment.js","sourceRoot":"","sources":["../../../../ts/api/resources/Payment.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAGvC,MAAM,OAAO,OAAQ,SAAQ,QAAQ;IACnC,aAAa,CAAC,KAA0B;QACtC,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,oBAAoB,EAAE;YAC3C,MAAM,EAAE,KAAK;YACb,YAAY,EAAE,aAAa;YAC3B,OAAO,EAAE;gBACP,MAAM,EAAE,iBAAiB;aAC1B;SACF,CAAC,CAAC;IACL,CAAC;IAED,qBAAqB,CAAC,KAAsB;QAC1C,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,8BAA8B,EAAE;YACrD,MAAM,EAAE,KAAK;YACb,YAAY,EAAE,aAAa;YAC3B,OAAO,EAAE;gBACP,MAAM,EAAE,iBAAiB;aAC1B;SACF,CAAC,CAAC;IACL,CAAC;IAED,eAAe,CAAC,OAA6B;QAC3C,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,0BAA0B,EAAE,OAAO,CAAC,CAAC;IAC/D,CAAC;IAED,sBAAsB,CAAC,OAA6B;QAClD,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,kCAAkC,EAAE,OAAO,CAAC,CAAC;IACvE,CAAC;CACF","sourcesContent":["import { Resource } from '../Resource';\nimport { CreateNotifyCustomer, QueryMonthlyPayment, QueryPaymentCsv } from '../../types';\n\nexport class Payment extends Resource {\n getMonthlyCsv(query: QueryMonthlyPayment): Promise<void> {\n return this.axios.$get('payment/monthlyCsv', {\n params: query,\n responseType: 'arraybuffer',\n headers: {\n Accept: 'application/csv',\n },\n });\n }\n\n getInternalPaymentCsv(query: QueryPaymentCsv): Promise<void> {\n return this.axios.$get('payment/internal-payment/csv', {\n params: query,\n responseType: 'arraybuffer',\n headers: {\n Accept: 'application/csv',\n },\n });\n }\n\n notifyCustomers(payload: CreateNotifyCustomer): Promise<void> {\n return this.axios.$post('payment/notify-customers', payload);\n }\n\n notifyCustomersInvoice(payload: CreateNotifyCustomer): Promise<void> {\n return this.axios.$post('payment/notify-customers-invoice', payload);\n }\n}"]}
@@ -1,11 +1,11 @@
1
1
  import { Resource } from '../Resource';
2
- import { StockEntries, TFile } from '../../types';
2
+ import { IFile, StockEntries, TFile } from '../../types';
3
3
  export declare class Stocks extends Resource {
4
4
  createStocks(payload: StockEntries): Promise<any>;
5
5
  createFile(file: TFile): Promise<any>;
6
- getStocks(idExercice: number): Promise<any>;
7
- getFiles(): Promise<any>;
8
- downloadFile(token: string): Promise<any>;
6
+ getStocks(idExercice: number): Promise<StockEntries>;
7
+ getFiles(): Promise<IFile[]>;
8
+ downloadFile(token: string): Promise<void>;
9
9
  deleteFile(idFile: number): Promise<any>;
10
10
  }
11
11
  //# sourceMappingURL=Stocks.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Stocks.d.ts","sourceRoot":"","sources":["../../../../ts/api/resources/Stocks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,YAAY,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAElD,qBAAa,MAAO,SAAQ,QAAQ;IAClC,YAAY,CAAC,OAAO,EAAE,YAAY,GAAG,OAAO,CAAC,GAAG,CAAC;IAIjD,UAAU,CAAC,IAAI,EAAE,KAAK,GAAG,OAAO,CAAC,GAAG,CAAC;IAIrC,SAAS,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG,CAAC;IAI3C,QAAQ,IAAI,OAAO,CAAC,GAAG,CAAC;IAIxB,YAAY,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG,CAAC;IAIzC,UAAU,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG,CAAC;CAGzC"}
1
+ {"version":3,"file":"Stocks.d.ts","sourceRoot":"","sources":["../../../../ts/api/resources/Stocks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,KAAK,EAAE,YAAY,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAEzD,qBAAa,MAAO,SAAQ,QAAQ;IAClC,YAAY,CAAC,OAAO,EAAE,YAAY,GAAG,OAAO,CAAC,GAAG,CAAC;IAIjD,UAAU,CAAC,IAAI,EAAE,KAAK,GAAG,OAAO,CAAC,GAAG,CAAC;IAIrC,SAAS,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,YAAY,CAAC;IAIpD,QAAQ,IAAI,OAAO,CAAC,KAAK,EAAE,CAAC;IAI5B,YAAY,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAI1C,UAAU,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG,CAAC;CAGzC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Stocks.js","sourceRoot":"","sources":["../../../../ts/api/resources/Stocks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAGvC,MAAM,OAAO,MAAO,SAAQ,QAAQ;IAClC,YAAY,CAAC,OAAqB;QAChC,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,iBAAiB,EAAE,OAAO,CAAC,CAAC;IACtD,CAAC;IAED,UAAU,CAAC,IAAW;QACpB,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,eAAe,EAAE,IAAI,EAAE,EAAE,OAAO,EAAE,EAAE,cAAc,EAAE,qBAAqB,EAAE,EAAE,CAAC,CAAC;IACzG,CAAC;IAED,SAAS,CAAC,UAAkB;QAC1B,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,mBAAmB,UAAU,EAAE,CAAC,CAAC;IAC1D,CAAC;IAED,QAAQ;QACN,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;IAC1C,CAAC;IAED,YAAY,CAAC,KAAa;QACxB,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,iBAAiB,KAAK,EAAE,EAAE,EAAE,YAAY,EAAE,MAAM,EAAE,CAAC,CAAC;IAC7E,CAAC;IAED,UAAU,CAAC,MAAc;QACvB,OAAO,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,iBAAiB,MAAM,EAAE,CAAC,CAAC;IACvD,CAAC;CACF","sourcesContent":["import { Resource } from '../Resource';\nimport { StockEntries, TFile } from '../../types';\n\nexport class Stocks extends Resource {\n createStocks(payload: StockEntries): Promise<any> {\n return this.axios.$post('/stocks/entries', payload);\n }\n\n createFile(file: TFile): Promise<any> {\n return this.axios.$post('/stocks/files', file, { headers: { 'Content-Type': 'multipart/form-data' } });\n }\n\n getStocks(idExercice: number): Promise<any> {\n return this.axios.$get(`/stocks/entries/${idExercice}`);\n }\n\n getFiles(): Promise<any> {\n return this.axios.$get('/stocks/files');\n }\n\n downloadFile(token: string): Promise<any> {\n return this.axios.$get(`/stocks/files/${token}`, { responseType: 'blob' });\n }\n\n deleteFile(idFile: number): Promise<any> {\n return this.axios.$delete(`/stocks/files/${idFile}`);\n }\n}"]}
1
+ {"version":3,"file":"Stocks.js","sourceRoot":"","sources":["../../../../ts/api/resources/Stocks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAGvC,MAAM,OAAO,MAAO,SAAQ,QAAQ;IAClC,YAAY,CAAC,OAAqB;QAChC,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,iBAAiB,EAAE,OAAO,CAAC,CAAC;IACtD,CAAC;IAED,UAAU,CAAC,IAAW;QACpB,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,eAAe,EAAE,IAAI,EAAE,EAAE,OAAO,EAAE,EAAE,cAAc,EAAE,qBAAqB,EAAE,EAAE,CAAC,CAAC;IACzG,CAAC;IAED,SAAS,CAAC,UAAkB;QAC1B,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,mBAAmB,UAAU,EAAE,CAAC,CAAC;IAC1D,CAAC;IAED,QAAQ;QACN,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;IAC1C,CAAC;IAED,YAAY,CAAC,KAAa;QACxB,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,iBAAiB,KAAK,EAAE,EAAE,EAAE,YAAY,EAAE,MAAM,EAAE,CAAC,CAAC;IAC7E,CAAC;IAED,UAAU,CAAC,MAAc;QACvB,OAAO,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,iBAAiB,MAAM,EAAE,CAAC,CAAC;IACvD,CAAC;CACF","sourcesContent":["import { Resource } from '../Resource';\nimport { IFile, StockEntries, TFile } from '../../types';\n\nexport class Stocks extends Resource {\n createStocks(payload: StockEntries): Promise<any> {\n return this.axios.$post('/stocks/entries', payload);\n }\n\n createFile(file: TFile): Promise<any> {\n return this.axios.$post('/stocks/files', file, { headers: { 'Content-Type': 'multipart/form-data' } });\n }\n\n getStocks(idExercice: number): Promise<StockEntries> {\n return this.axios.$get(`/stocks/entries/${idExercice}`);\n }\n\n getFiles(): Promise<IFile[]> {\n return this.axios.$get('/stocks/files');\n }\n\n downloadFile(token: string): Promise<void> {\n return this.axios.$get(`/stocks/files/${token}`, { responseType: 'blob' });\n }\n\n deleteFile(idFile: number): Promise<any> {\n return this.axios.$delete(`/stocks/files/${idFile}`);\n }\n}"]}
@@ -138,6 +138,7 @@ import { LeadsToPartners } from './resources/LeadsToPartners';
138
138
  import { ChangeLog } from './resources/ChangeLog';
139
139
  import { ConstitutionHistory } from './resources/ConstitutionHistory';
140
140
  import { CommercialOffer } from './resources/CommercialOffer';
141
+ import { Card } from './resources/Card';
141
142
  import { DubiousCustomer } from './resources/DubiousCustomer';
142
143
  import { Notion } from './resources/Notion';
143
144
  import { TimeTracking } from './resources/TimeTracking';
@@ -283,6 +284,7 @@ export declare const resources: {
283
284
  constitutionHistory: typeof ConstitutionHistory;
284
285
  das: typeof Das;
285
286
  commercialOffer: typeof CommercialOffer;
287
+ card: typeof Card;
286
288
  dubiousCustomer: typeof DubiousCustomer;
287
289
  notion: typeof Notion;
288
290
  timeTracking: typeof TimeTracking;
@@ -1 +1 @@
1
- {"version":3,"file":"resources.d.ts","sourceRoot":"","sources":["../../../ts/api/resources.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,EAAE,0BAA0B,EAAE,MAAM,wCAAwC,CAAC;AACpF,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAC5D,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AACxC,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAC5C,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAC5C,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC1D,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C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AAc,EAAE,MAAM,6BAA6B,CAAC;AAC7D,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAC5D,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAC9D,OAAO,EAAE,qBAAqB,EAAE,MAAM,mCAAmC,CAAC;AAC1E,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAC5C,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAC9D,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAC9D,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AACxC,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAC9D,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAC5C,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACxD,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AAEpE,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkJrB,CAAC"}
@@ -138,6 +138,7 @@ import { LeadsToPartners } from './resources/LeadsToPartners';
138
138
  import { ChangeLog } from './resources/ChangeLog';
139
139
  import { ConstitutionHistory } from './resources/ConstitutionHistory';
140
140
  import { CommercialOffer } from './resources/CommercialOffer';
141
+ import { Card } from './resources/Card';
141
142
  import { DubiousCustomer } from './resources/DubiousCustomer';
142
143
  import { Notion } from './resources/Notion';
143
144
  import { TimeTracking } from './resources/TimeTracking';
@@ -283,6 +284,7 @@ export const resources = {
283
284
  constitutionHistory: ConstitutionHistory,
284
285
  das: Das,
285
286
  commercialOffer: CommercialOffer,
287
+ card: Card,
286
288
  dubiousCustomer: DubiousCustomer,
287
289
  notion: Notion,
288
290
  timeTracking: TimeTracking,
@@ -1 +1 @@
1
- {"version":3,"file":"resources.js","sourceRoot":"","sources":["../../../ts/api/resources.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,EAAE,0BAA0B,EAAE,MAAM,wCAAwC,CAAC;AACpF,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAC5D,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AACxC,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAC5C,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAC5C,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC1D,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAC9D,OAAO,EAAE,YAAY,EAAE,MA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qB;IAC5C,MAAM,EAAE,MAAM;IACd,aAAa,EAAE,aAAa;IAC5B,eAAe,EAAE,eAAe;IAChC,SAAS,EAAE,SAAS;IACpB,mBAAmB,EAAE,mBAAmB;IACxC,GAAG,EAAE,GAAG;IACR,eAAe,EAAE,eAAe;IAChC,eAAe,EAAE,eAAe;IAChC,MAAM,EAAE,MAAM;IACd,YAAY,EAAE,YAAY;IAC1B,kBAAkB,EAAE,kBAAkB;CACvC,CAAC","sourcesContent":["import { Simulation } from './resources/Simulation';\nimport { PaymentExpectationCustomer } from './resources/PaymentExpectationCustomer';\nimport { Payment } from './resources/Payment';\nimport { Immobilization } from './resources/Immobilization';\nimport { AccountType } from './resources/AccountType';\nimport { Transaction } from './resources/Transaction';\nimport { Account } from './resources/Account';\nimport { Sponsorship } from './resources/Sponsorship';\nimport { User } from './resources/User';\nimport { Survey } from './resources/Survey';\nimport { Report } from './resources/Report';\nimport { Letter } from './resources/Letter';\nimport { FirstStep } from './resources/FirstStep';\nimport { Society } from './resources/Society';\nimport { Partner } from './resources/Partner';\nimport { GeneralLedger } from './resources/GeneralLedger';\nimport { FecFile } from './resources/FecFile';\nimport { IncomeStatement } from './resources/IncomeStatement';\nimport { BalanceSheet } from './resources/BalanceSheet';\nimport { BalanceSheetModule } from './resources/BalanceSheetModule';\nimport { Cerfa } from './resources/Cerfa';\nimport { Subscription } from './resources/Subscription';\nimport { Authenticate } from './resources/Authenticate';\nimport { Search } from './resources/Search';\nimport { SalariesFile } from './resources/SalariesFile';\nimport { Shine } from './resources/Shine';\nimport { PromoCode } from './resources/PromoCode';\nimport { Stocks } from './resources/Stocks';\nimport { Loan } from './resources/Loan';\nimport { SocietyPromoCode } from './resources/SocietyPromoCode';\nimport { Dashboard } from './resources/Dashboard';\nimport { Das } from './resources/Das';\nimport { ZTicket } from './resources/ZTicket';\nimport { IncomeAllocation } from './resources/IncomeAllocation';\nimport { CustomerProviderOperation } from './resources/CustomerProviderOperation';\nimport { Steps } from './resources/Step';\nimport { RevisionGuide } from './resources/RevisionGuide';\nimport { Library } from './resources/Library';\nimport { TaxDeadline } from './resources/TaxDeadline';\nimport { ExerciceNote } from './resources/ExerciceNote';\nimport { Connector } from './resources/Connector';\nimport { PartneredAccountant } from './resources/PartneredAccountant';\nimport { Tax } from './resources/Tax';\nimport { QuotesAccount } from './resources/QuotesAccount';\nimport { Registration } from './resources/Registration';\nimport { Journal } from './resources/Journal';\nimport { Product } from './resources/Product';\nimport { MealExpense } from './resources/MealExpense';\nimport { InternalInvoicing } from './resources/InternalInvoicing';\nimport { BalanceSheetQuestion } from './resources/BalanceSheetQuestion';\nimport { ExerciceQuestion } from './resources/ExerciceQuestion';\nimport { VatControl } from './resources/VatControl';\nimport { Provision } from './resources/Provision';\nimport { AccountingIncome } from './resources/AccountingIncome';\nimport { AccountingFiles } from './resources/AccountingFiles';\nimport { BankStatement } from './resources/BankStatement';\nimport { ShareCapital } from './resources/shareCapital';\nimport { Closing } from './resources/Closing';\nimport { MachineLearning } from './resources/MachineLearning';\nimport { WorkingSchedule } from './resources/WorkingSchedule';\nimport { Revision } from './resources/Revision';\nimport { Vehicle } from './resources/Vehicle';\nimport { KilometricAllowance } from './resources/KilometricAllowance';\nimport { Vat } from './resources/Vat';\nimport { Qonto } from './resources/Qonto';\nimport { AffectedPatrimony } from './resources/AffectedPatrimony';\nimport { BankAccount } from './resources/BankAccount';\nimport { BudgetInsight } from './resources/BudgetInsight';\nimport { Log } from './resources/Log';\nimport { Exercice } from './resources/Exercice';\nimport { Mail } from './resources/Mail';\nimport { Regulate } from './resources/Regulate';\nimport { Employee } from './resources/Employee';\nimport { SheetMonthSchedule } from './resources/SheetMonthSchedule';\nimport { NafCode } from './resources/NafCode';\nimport { Checklist } from './resources/Checklist';\nimport { Lettering } from './resources/Lettering';\nimport { Notification } from './resources/Notification';\nimport { Mobile } from './resources/Mobile';\nimport { Task } from './resources/Task';\nimport { SocietyEvent } from './resources/SocietyEvent';\nimport { Comment } from './resources/Comment';\nimport { NotificationSetting } from './resources/NotificationSetting';\nimport { Cx } from './resources/3cx';\nimport { BankList } from './resources/BankList';\nimport { ThirdParty } from './resources/ThirdParty';\nimport { Alert } from './resources/Alert';\nimport { CalendarEvent } from './resources/CalendarEvent';\nimport { TimeRecorder } from './resources/TimeRecorder';\nimport { CustomerActivity } from './resources/CustomerActivity';\nimport { CommercialSetting } from './resources/CommercialSetting';\nimport { Invoice } from './resources/Invoice';\nimport { CommercialDocument } from './resources/CommercialDocument';\nimport { Connection } from './resources/Connection';\nimport { Reminder } from './resources/Reminder';\nimport { Recurrence } from './resources/Recurrence';\nimport { Stripe } from './resources/Stripe';\nimport { File } from './resources/FIle';\nimport { SocietyConfig } from './resources/SocietyConfig';\nimport { SocietyDetail } from './resources/SocietyDetail';\nimport { LegalNotice } from './resources/LegalNotice';\nimport { StatisticAccountant } from './resources/statistic/Accountant';\nimport { StatisticExpertAccountant } from './resources/statistic/ExpertAccountant';\nimport { Wallet } from './resources/Wallet';\nimport { PaymentExpectation } from './resources/PaymentExpectation';\nimport { StatisticDirection } from './resources/statistic/Direction';\nimport { TerminationList } from './resources/TerminationList';\nimport { SlowDetection } from './resources/SlowDetection';\nimport { Sources } from './resources/Sources';\nimport { Commercial } from './resources/Commercial';\nimport { Facturation } from './resources/Facturation';\nimport { Inpi } from './resources/Inpi';\nimport { DocumentSection } from './resources/DocumentSection';\nimport { StatutsGeneration } from './resources/StatutsGeneration';\nimport { Prestation } from './resources/prestation';\nimport { TextMessage } from './resources/TextMessage';\nimport { SocietyConfigBalanceSheet } from './resources/SocietyConfigBalanceSheet';\nimport { SignFile } from './resources/SignFile';\nimport { Rule } from './resources/Rule';\nimport { VatRegimeHistory } from './resources/VatRegimeHistory';\nimport { Acceptance } from './resources/Acceptance';\nimport { Rating } from './resources/Rating';\nimport { Quotation } from './resources/Quotation';\nimport { Prestations } from './resources/Prestations';\nimport { StatisticCustomerSuccess } from './resources/statistic/CustomerSuccess';\nimport { UnpaidCallHistory } from './resources/UnpaidCallHistory';\nimport { CommercialImport } from './resources/CommercialImport';\nimport { Team } from './resources/Team';\nimport { CashAndExpense } from './resources/CashAndExpense';\nimport { Archive } from './resources/Archive';\nimport { AccountsSector } from './resources/AccountsSectors';\nimport { BusinessSector } from './resources/BusinessSector';\nimport { BusinessPartner } from './resources/BusinessPartner';\nimport { VisualizedInformation } from './resources/VisualizedInformation';\nimport { Fusion } from './resources/Fusion';\nimport { SalesContract } from './resources/SalesContract';\nimport { LeadsToPartners } from './resources/LeadsToPartners';\nimport { ChangeLog } from './resources/ChangeLog';\nimport { ConstitutionHistory } from './resources/ConstitutionHistory';\nimport { CommercialOffer } from './resources/CommercialOffer';\nimport { DubiousCustomer } from './resources/DubiousCustomer';\nimport { Notion } from './resources/Notion';\nimport { TimeTracking } from './resources/TimeTracking';\nimport { ExercicePrestation } from './resources/ExercicePrestation';\n\nexport const resources = {\n simulation: Simulation,\n budgetInsight: BudgetInsight,\n paymentExpectationCustomer: PaymentExpectationCustomer,\n payment: Payment,\n immobilization: Immobilization,\n accountType: AccountType,\n transaction: Transaction,\n account: Account,\n sponsorship: Sponsorship,\n user: User,\n survey: Survey,\n report: Report,\n letter: Letter,\n firstStep: FirstStep,\n society: Society,\n partner: Partner,\n generalLedger: GeneralLedger,\n fecFile: FecFile,\n incomeStatement: IncomeStatement,\n internalInvoicing: InternalInvoicing,\n balanceSheet: BalanceSheet,\n balanceSheetModule: BalanceSheetModule,\n cerfa: Cerfa,\n authenticate: Authenticate,\n search: Search,\n subscription: Subscription,\n salariesFile: SalariesFile,\n shine: Shine,\n promoCode: PromoCode,\n stocks: Stocks,\n loan: Loan,\n provision: Provision,\n societyPromoCode: SocietyPromoCode,\n dashboard: Dashboard,\n zTicket: ZTicket,\n incomeAllocation: IncomeAllocation,\n customerProviderOperation: CustomerProviderOperation,\n steps: Steps,\n revisionGuide: RevisionGuide,\n library: Library,\n taxDeadline: TaxDeadline,\n exerciceNote: ExerciceNote,\n connector: Connector,\n partneredAccountant: PartneredAccountant,\n tax: Tax,\n quotesAccount: QuotesAccount,\n registration: Registration,\n journal: Journal,\n product: Product,\n mealExpense: MealExpense,\n balanceSheetQuestion: BalanceSheetQuestion,\n exerciceQuestion: ExerciceQuestion,\n vatControl: VatControl,\n accountingIncome: AccountingIncome,\n accountingFiles: AccountingFiles,\n bankStatement: BankStatement,\n shareCapital: ShareCapital,\n closing: Closing,\n commercial: Commercial,\n facturation: Facturation,\n machineLearning: MachineLearning,\n workingSchedule: WorkingSchedule,\n revision: Revision,\n vehicle: Vehicle,\n kilometricAllowance: KilometricAllowance,\n vat: Vat,\n qonto: Qonto,\n affectedPatrimony: AffectedPatrimony,\n bankAccount: BankAccount,\n log: Log,\n exercice: Exercice,\n mail: Mail,\n regulate: Regulate,\n employee: Employee,\n sheetMonthSchedule: SheetMonthSchedule,\n nafCode: NafCode,\n checklist: Checklist,\n lettering: Lettering,\n mobile: Mobile,\n notification: Notification,\n societyEvent: SocietyEvent,\n task: Task,\n comment: Comment,\n calendarEvent: CalendarEvent,\n timeRecorder: TimeRecorder,\n notificationSetting: NotificationSetting,\n cx: Cx,\n bankList: BankList,\n thirdParty: ThirdParty,\n alert: Alert,\n customerActivity: CustomerActivity,\n commercialSetting: CommercialSetting,\n commercialDocument: CommercialDocument,\n connection: Connection,\n invoice: Invoice,\n reminder: Reminder,\n recurrence: Recurrence,\n stripe: Stripe,\n file: File,\n wallet: Wallet,\n societyConfig: SocietyConfig,\n societyDetail: SocietyDetail,\n legalNotice: LegalNotice,\n statisticAccountant: StatisticAccountant,\n statisticDirection: StatisticDirection,\n statisticExpertAccountant: StatisticExpertAccountant,\n statisticCustomerSuccess: StatisticCustomerSuccess,\n paymentExpectation: PaymentExpectation,\n terminationList: TerminationList,\n slowDetection: SlowDetection,\n inpi: Inpi,\n documentSection: DocumentSection,\n statutsGeneration: StatutsGeneration,\n prestation: Prestation,\n vatRegimeHistory: VatRegimeHistory,\n sources: Sources,\n textMessage: TextMessage,\n societyConfigBalanceSheet: SocietyConfigBalanceSheet,\n signFile: SignFile,\n rule: Rule,\n rating: Rating,\n acceptance: Acceptance,\n quotation: Quotation,\n prestations: Prestations,\n unpaidCallHistory: UnpaidCallHistory,\n commercialImport: CommercialImport,\n team: Team,\n cashAndExpense: CashAndExpense,\n archive: Archive,\n accountsSector: AccountsSector,\n businessSector: BusinessSector,\n businessPartner: BusinessPartner,\n visualizedInformation: VisualizedInformation,\n fusion: Fusion,\n salesContract: SalesContract,\n leadsToPartners: LeadsToPartners,\n changeLog: ChangeLog,\n constitutionHistory: ConstitutionHistory,\n das: Das,\n commercialOffer: CommercialOffer,\n dubiousCustomer: DubiousCustomer,\n notion: Notion,\n timeTracking: TimeTracking,\n exercicePrestation: ExercicePrestation,\n};\n"]}
1
+ {"version":3,"file":"resources.js","sourceRoot":"","sources":["../../../ts/api/resources.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,EAAE,0BAA0B,EAAE,MAAM,wCAAwC,CAAC;AACpF,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAC5D,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AACxC,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAC5C,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAC5C,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,OAAO,EAAE,MAAM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MAAM;IACd,UAAU,EAAE,UAAU;IACtB,SAAS,EAAE,SAAS;IACpB,WAAW,EAAE,WAAW;IACxB,iBAAiB,EAAE,iBAAiB;IACpC,gBAAgB,EAAE,gBAAgB;IAClC,IAAI,EAAE,IAAI;IACV,cAAc,EAAE,cAAc;IAC9B,OAAO,EAAE,OAAO;IAChB,cAAc,EAAE,cAAc;IAC9B,cAAc,EAAE,cAAc;IAC9B,eAAe,EAAE,eAAe;IAChC,qBAAqB,EAAE,qBAAqB;IAC5C,MAAM,EAAE,MAAM;IACd,aAAa,EAAE,aAAa;IAC5B,eAAe,EAAE,eAAe;IAChC,SAAS,EAAE,SAAS;IACpB,mBAAmB,EAAE,mBAAmB;IACxC,GAAG,EAAE,GAAG;IACR,eAAe,EAAE,eAAe;IAChC,IAAI,EAAE,IAAI;IACV,eAAe,EAAE,eAAe;IAChC,MAAM,EAAE,MAAM;IACd,YAAY,EAAE,YAAY;IAC1B,kBAAkB,EAAE,kBAAkB;CACvC,CAAC","sourcesContent":["import { Simulation } from './resources/Simulation';\nimport { PaymentExpectationCustomer } from './resources/PaymentExpectationCustomer';\nimport { Payment } from './resources/Payment';\nimport { Immobilization } from './resources/Immobilization';\nimport { AccountType } from './resources/AccountType';\nimport { Transaction } from './resources/Transaction';\nimport { Account } from './resources/Account';\nimport { Sponsorship } from './resources/Sponsorship';\nimport { User } from './resources/User';\nimport { Survey } from './resources/Survey';\nimport { Report } from './resources/Report';\nimport { Letter } from './resources/Letter';\nimport { FirstStep } from './resources/FirstStep';\nimport { Society } from './resources/Society';\nimport { Partner } from './resources/Partner';\nimport { GeneralLedger } from './resources/GeneralLedger';\nimport { FecFile } from './resources/FecFile';\nimport { IncomeStatement } from './resources/IncomeStatement';\nimport { BalanceSheet } from './resources/BalanceSheet';\nimport { BalanceSheetModule } from './resources/BalanceSheetModule';\nimport { Cerfa } from './resources/Cerfa';\nimport { Subscription } from './resources/Subscription';\nimport { Authenticate } from './resources/Authenticate';\nimport { Search } from './resources/Search';\nimport { SalariesFile } from './resources/SalariesFile';\nimport { Shine } from './resources/Shine';\nimport { PromoCode } from './resources/PromoCode';\nimport { Stocks } from './resources/Stocks';\nimport { Loan } from './resources/Loan';\nimport { SocietyPromoCode } from './resources/SocietyPromoCode';\nimport { Dashboard } from './resources/Dashboard';\nimport { Das } from './resources/Das';\nimport { ZTicket } from './resources/ZTicket';\nimport { IncomeAllocation } from './resources/IncomeAllocation';\nimport { CustomerProviderOperation } from './resources/CustomerProviderOperation';\nimport { Steps } from './resources/Step';\nimport { RevisionGuide } from './resources/RevisionGuide';\nimport { Library } from './resources/Library';\nimport { TaxDeadline } from './resources/TaxDeadline';\nimport { ExerciceNote } from './resources/ExerciceNote';\nimport { Connector } from './resources/Connector';\nimport { PartneredAccountant } from './resources/PartneredAccountant';\nimport { Tax } from './resources/Tax';\nimport { QuotesAccount } from './resources/QuotesAccount';\nimport { Registration } from './resources/Registration';\nimport { Journal } from './resources/Journal';\nimport { Product } from './resources/Product';\nimport { MealExpense } from './resources/MealExpense';\nimport { InternalInvoicing } from './resources/InternalInvoicing';\nimport { BalanceSheetQuestion } from './resources/BalanceSheetQuestion';\nimport { ExerciceQuestion } from './resources/ExerciceQuestion';\nimport { VatControl } from './resources/VatControl';\nimport { Provision } from './resources/Provision';\nimport { AccountingIncome } from './resources/AccountingIncome';\nimport { AccountingFiles } from './resources/AccountingFiles';\nimport { BankStatement } from './resources/BankStatement';\nimport { ShareCapital } from './resources/shareCapital';\nimport { Closing } from './resources/Closing';\nimport { MachineLearning } from './resources/MachineLearning';\nimport { WorkingSchedule } from './resources/WorkingSchedule';\nimport { Revision } from './resources/Revision';\nimport { Vehicle } from './resources/Vehicle';\nimport { KilometricAllowance } from './resources/KilometricAllowance';\nimport { Vat } from './resources/Vat';\nimport { Qonto } from './resources/Qonto';\nimport { AffectedPatrimony } from './resources/AffectedPatrimony';\nimport { BankAccount } from './resources/BankAccount';\nimport { BudgetInsight } from './resources/BudgetInsight';\nimport { Log } from './resources/Log';\nimport { Exercice } from './resources/Exercice';\nimport { Mail } from './resources/Mail';\nimport { Regulate } from './resources/Regulate';\nimport { Employee } from './resources/Employee';\nimport { SheetMonthSchedule } from './resources/SheetMonthSchedule';\nimport { NafCode } from './resources/NafCode';\nimport { Checklist } from './resources/Checklist';\nimport { Lettering } from './resources/Lettering';\nimport { Notification } from './resources/Notification';\nimport { Mobile } from './resources/Mobile';\nimport { Task } from './resources/Task';\nimport { SocietyEvent } from './resources/SocietyEvent';\nimport { Comment } from './resources/Comment';\nimport { NotificationSetting } from './resources/NotificationSetting';\nimport { Cx } from './resources/3cx';\nimport { BankList } from './resources/BankList';\nimport { ThirdParty } from './resources/ThirdParty';\nimport { Alert } from './resources/Alert';\nimport { CalendarEvent } from './resources/CalendarEvent';\nimport { TimeRecorder } from './resources/TimeRecorder';\nimport { CustomerActivity } from './resources/CustomerActivity';\nimport { CommercialSetting } from './resources/CommercialSetting';\nimport { Invoice } from './resources/Invoice';\nimport { CommercialDocument } from './resources/CommercialDocument';\nimport { Connection } from './resources/Connection';\nimport { Reminder } from './resources/Reminder';\nimport { Recurrence } from './resources/Recurrence';\nimport { Stripe } from './resources/Stripe';\nimport { File } from './resources/FIle';\nimport { SocietyConfig } from './resources/SocietyConfig';\nimport { SocietyDetail } from './resources/SocietyDetail';\nimport { LegalNotice } from './resources/LegalNotice';\nimport { StatisticAccountant } from './resources/statistic/Accountant';\nimport { StatisticExpertAccountant } from './resources/statistic/ExpertAccountant';\nimport { Wallet } from './resources/Wallet';\nimport { PaymentExpectation } from './resources/PaymentExpectation';\nimport { StatisticDirection } from './resources/statistic/Direction';\nimport { TerminationList } from './resources/TerminationList';\nimport { SlowDetection } from './resources/SlowDetection';\nimport { Sources } from './resources/Sources';\nimport { Commercial } from './resources/Commercial';\nimport { Facturation } from './resources/Facturation';\nimport { Inpi } from './resources/Inpi';\nimport { DocumentSection } from './resources/DocumentSection';\nimport { StatutsGeneration } from './resources/StatutsGeneration';\nimport { Prestation } from './resources/prestation';\nimport { TextMessage } from './resources/TextMessage';\nimport { SocietyConfigBalanceSheet } from './resources/SocietyConfigBalanceSheet';\nimport { SignFile } from './resources/SignFile';\nimport { Rule } from './resources/Rule';\nimport { VatRegimeHistory } from './resources/VatRegimeHistory';\nimport { Acceptance } from './resources/Acceptance';\nimport { Rating } from './resources/Rating';\nimport { Quotation } from './resources/Quotation';\nimport { Prestations } from './resources/Prestations';\nimport { StatisticCustomerSuccess } from './resources/statistic/CustomerSuccess';\nimport { UnpaidCallHistory } from './resources/UnpaidCallHistory';\nimport { CommercialImport } from './resources/CommercialImport';\nimport { Team } from './resources/Team';\nimport { CashAndExpense } from './resources/CashAndExpense';\nimport { Archive } from './resources/Archive';\nimport { AccountsSector } from './resources/AccountsSectors';\nimport { BusinessSector } from './resources/BusinessSector';\nimport { BusinessPartner } from './resources/BusinessPartner';\nimport { VisualizedInformation } from './resources/VisualizedInformation';\nimport { Fusion } from './resources/Fusion';\nimport { SalesContract } from './resources/SalesContract';\nimport { LeadsToPartners } from './resources/LeadsToPartners';\nimport { ChangeLog } from './resources/ChangeLog';\nimport { ConstitutionHistory } from './resources/ConstitutionHistory';\nimport { CommercialOffer } from './resources/CommercialOffer';\nimport { Card } from './resources/Card';\nimport { DubiousCustomer } from './resources/DubiousCustomer';\nimport { Notion } from './resources/Notion';\nimport { TimeTracking } from './resources/TimeTracking';\nimport { ExercicePrestation } from './resources/ExercicePrestation';\n\nexport const resources = {\n simulation: Simulation,\n budgetInsight: BudgetInsight,\n paymentExpectationCustomer: PaymentExpectationCustomer,\n payment: Payment,\n immobilization: Immobilization,\n accountType: AccountType,\n transaction: Transaction,\n account: Account,\n sponsorship: Sponsorship,\n user: User,\n survey: Survey,\n report: Report,\n letter: Letter,\n firstStep: FirstStep,\n society: Society,\n partner: Partner,\n generalLedger: GeneralLedger,\n fecFile: FecFile,\n incomeStatement: IncomeStatement,\n internalInvoicing: InternalInvoicing,\n balanceSheet: BalanceSheet,\n balanceSheetModule: BalanceSheetModule,\n cerfa: Cerfa,\n authenticate: Authenticate,\n search: Search,\n subscription: Subscription,\n salariesFile: SalariesFile,\n shine: Shine,\n promoCode: PromoCode,\n stocks: Stocks,\n loan: Loan,\n provision: Provision,\n societyPromoCode: SocietyPromoCode,\n dashboard: Dashboard,\n zTicket: ZTicket,\n incomeAllocation: IncomeAllocation,\n customerProviderOperation: CustomerProviderOperation,\n steps: Steps,\n revisionGuide: RevisionGuide,\n library: Library,\n taxDeadline: TaxDeadline,\n exerciceNote: ExerciceNote,\n connector: Connector,\n partneredAccountant: PartneredAccountant,\n tax: Tax,\n quotesAccount: QuotesAccount,\n registration: Registration,\n journal: Journal,\n product: Product,\n mealExpense: MealExpense,\n balanceSheetQuestion: BalanceSheetQuestion,\n exerciceQuestion: ExerciceQuestion,\n vatControl: VatControl,\n accountingIncome: AccountingIncome,\n accountingFiles: AccountingFiles,\n bankStatement: BankStatement,\n shareCapital: ShareCapital,\n closing: Closing,\n commercial: Commercial,\n facturation: Facturation,\n machineLearning: MachineLearning,\n workingSchedule: WorkingSchedule,\n revision: Revision,\n vehicle: Vehicle,\n kilometricAllowance: KilometricAllowance,\n vat: Vat,\n qonto: Qonto,\n affectedPatrimony: AffectedPatrimony,\n bankAccount: BankAccount,\n log: Log,\n exercice: Exercice,\n mail: Mail,\n regulate: Regulate,\n employee: Employee,\n sheetMonthSchedule: SheetMonthSchedule,\n nafCode: NafCode,\n checklist: Checklist,\n lettering: Lettering,\n mobile: Mobile,\n notification: Notification,\n societyEvent: SocietyEvent,\n task: Task,\n comment: Comment,\n calendarEvent: CalendarEvent,\n timeRecorder: TimeRecorder,\n notificationSetting: NotificationSetting,\n cx: Cx,\n bankList: BankList,\n thirdParty: ThirdParty,\n alert: Alert,\n customerActivity: CustomerActivity,\n commercialSetting: CommercialSetting,\n commercialDocument: CommercialDocument,\n connection: Connection,\n invoice: Invoice,\n reminder: Reminder,\n recurrence: Recurrence,\n stripe: Stripe,\n file: File,\n wallet: Wallet,\n societyConfig: SocietyConfig,\n societyDetail: SocietyDetail,\n legalNotice: LegalNotice,\n statisticAccountant: StatisticAccountant,\n statisticDirection: StatisticDirection,\n statisticExpertAccountant: StatisticExpertAccountant,\n statisticCustomerSuccess: StatisticCustomerSuccess,\n paymentExpectation: PaymentExpectation,\n terminationList: TerminationList,\n slowDetection: SlowDetection,\n inpi: Inpi,\n documentSection: DocumentSection,\n statutsGeneration: StatutsGeneration,\n prestation: Prestation,\n vatRegimeHistory: VatRegimeHistory,\n sources: Sources,\n textMessage: TextMessage,\n societyConfigBalanceSheet: SocietyConfigBalanceSheet,\n signFile: SignFile,\n rule: Rule,\n rating: Rating,\n acceptance: Acceptance,\n quotation: Quotation,\n prestations: Prestations,\n unpaidCallHistory: UnpaidCallHistory,\n commercialImport: CommercialImport,\n team: Team,\n cashAndExpense: CashAndExpense,\n archive: Archive,\n accountsSector: AccountsSector,\n businessSector: BusinessSector,\n businessPartner: BusinessPartner,\n visualizedInformation: VisualizedInformation,\n fusion: Fusion,\n salesContract: SalesContract,\n leadsToPartners: LeadsToPartners,\n changeLog: ChangeLog,\n constitutionHistory: ConstitutionHistory,\n das: Das,\n commercialOffer: CommercialOffer,\n card: Card,\n dubiousCustomer: DubiousCustomer,\n notion: Notion,\n timeTracking: TimeTracking,\n exercicePrestation: ExercicePrestation,\n};\n"]}