@silexpert/core 1.3.37 → 1.3.39

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 (258) hide show
  1. package/dist/cjs/api/resources/Authenticate.d.ts +6 -0
  2. package/dist/cjs/api/resources/Authenticate.d.ts.map +1 -1
  3. package/dist/cjs/api/resources/Authenticate.js +8 -0
  4. package/dist/cjs/api/resources/Authenticate.js.map +1 -1
  5. package/dist/cjs/api/resources/PaymentExpectation.d.ts +16 -1
  6. package/dist/cjs/api/resources/PaymentExpectation.d.ts.map +1 -1
  7. package/dist/cjs/api/resources/PaymentExpectation.js +20 -0
  8. package/dist/cjs/api/resources/PaymentExpectation.js.map +1 -1
  9. package/dist/cjs/api/resources/Rating.d.ts +2 -2
  10. package/dist/cjs/api/resources/Rating.d.ts.map +1 -1
  11. package/dist/cjs/api/resources/Rating.js.map +1 -1
  12. package/dist/cjs/api/resources/Revision.d.ts +3 -1
  13. package/dist/cjs/api/resources/Revision.d.ts.map +1 -1
  14. package/dist/cjs/api/resources/Revision.js.map +1 -1
  15. package/dist/cjs/api/resources/Society.d.ts +2 -1
  16. package/dist/cjs/api/resources/Society.d.ts.map +1 -1
  17. package/dist/cjs/api/resources/Society.js +3 -0
  18. package/dist/cjs/api/resources/Society.js.map +1 -1
  19. package/dist/cjs/api/resources/Subscription.d.ts +23 -6
  20. package/dist/cjs/api/resources/Subscription.d.ts.map +1 -1
  21. package/dist/cjs/api/resources/Subscription.js +28 -8
  22. package/dist/cjs/api/resources/Subscription.js.map +1 -1
  23. package/dist/cjs/api/resources/prestation.d.ts +3 -1
  24. package/dist/cjs/api/resources/prestation.d.ts.map +1 -1
  25. package/dist/cjs/api/resources/prestation.js.map +1 -1
  26. package/dist/cjs/types/Enum/Feature.d.ts +41 -0
  27. package/dist/cjs/types/Enum/Feature.d.ts.map +1 -0
  28. package/dist/cjs/types/Enum/Feature.js +65 -0
  29. package/dist/cjs/types/Enum/Feature.js.map +1 -0
  30. package/dist/cjs/types/Enum/PrestationType.d.ts +13 -1
  31. package/dist/cjs/types/Enum/PrestationType.d.ts.map +1 -1
  32. package/dist/cjs/types/Enum/PrestationType.js +183 -1
  33. package/dist/cjs/types/Enum/PrestationType.js.map +1 -1
  34. package/dist/cjs/types/Enum/PriceGridClementine.d.ts +27 -0
  35. package/dist/cjs/types/Enum/PriceGridClementine.d.ts.map +1 -1
  36. package/dist/cjs/types/Enum/PriceGridClementine.js +88 -28
  37. package/dist/cjs/types/Enum/PriceGridClementine.js.map +1 -1
  38. package/dist/cjs/types/Enum/PriceGridLegalstart.d.ts +4 -4
  39. package/dist/cjs/types/Enum/PriceGridLegalstart.js +1 -1
  40. package/dist/cjs/types/Enum/PriceGridLegalstart.js.map +1 -1
  41. package/dist/cjs/types/Enum/SalesContractBrandClementine.d.ts.map +1 -1
  42. package/dist/cjs/types/Enum/SalesContractBrandClementine.js +118 -0
  43. package/dist/cjs/types/Enum/SalesContractBrandClementine.js.map +1 -1
  44. package/dist/cjs/types/Interface/api/cerfa/2031.d.ts +1 -0
  45. package/dist/cjs/types/Interface/api/cerfa/2031.d.ts.map +1 -1
  46. package/dist/cjs/types/Interface/api/cerfa/2031.js.map +1 -1
  47. package/dist/cjs/types/Interface/api/cerfa/2035.d.ts +1 -0
  48. package/dist/cjs/types/Interface/api/cerfa/2035.d.ts.map +1 -1
  49. package/dist/cjs/types/Interface/api/cerfa/2035.js.map +1 -1
  50. package/dist/cjs/types/Interface/api/cerfa/2065.d.ts +1 -0
  51. package/dist/cjs/types/Interface/api/cerfa/2065.d.ts.map +1 -1
  52. package/dist/cjs/types/Interface/api/cerfa/2065.js.map +1 -1
  53. package/dist/cjs/types/Interface/api/cerfa/2069RCI.d.ts +1 -0
  54. package/dist/cjs/types/Interface/api/cerfa/2069RCI.d.ts.map +1 -1
  55. package/dist/cjs/types/Interface/api/cerfa/2069RCI.js.map +1 -1
  56. package/dist/cjs/types/Interface/api/cerfa/2571.d.ts +1 -0
  57. package/dist/cjs/types/Interface/api/cerfa/2571.d.ts.map +1 -1
  58. package/dist/cjs/types/Interface/api/cerfa/2571.js.map +1 -1
  59. package/dist/cjs/types/Interface/api/cerfa/2572.d.ts +1 -0
  60. package/dist/cjs/types/Interface/api/cerfa/2572.d.ts.map +1 -1
  61. package/dist/cjs/types/Interface/api/cerfa/2572.js.map +1 -1
  62. package/dist/cjs/types/Interface/api/cerfa/2573.d.ts +1 -0
  63. package/dist/cjs/types/Interface/api/cerfa/2573.d.ts.map +1 -1
  64. package/dist/cjs/types/Interface/api/cerfa/2573.js.map +1 -1
  65. package/dist/cjs/types/Interface/api/config/ConfigType.d.ts +0 -13
  66. package/dist/cjs/types/Interface/api/config/ConfigType.d.ts.map +1 -1
  67. package/dist/cjs/types/Interface/api/config/ConfigType.js.map +1 -1
  68. package/dist/cjs/types/Interface/api/paymentExpectation/CreatePaymentExpecation.d.ts +1 -0
  69. package/dist/cjs/types/Interface/api/paymentExpectation/CreatePaymentExpecation.d.ts.map +1 -1
  70. package/dist/cjs/types/Interface/api/paymentExpectation/CreatePaymentExpecation.js +9 -3
  71. package/dist/cjs/types/Interface/api/paymentExpectation/CreatePaymentExpecation.js.map +1 -1
  72. package/dist/cjs/types/Interface/api/paymentExpectation/QueryPaymentExpectation.d.ts +3 -1
  73. package/dist/cjs/types/Interface/api/paymentExpectation/QueryPaymentExpectation.d.ts.map +1 -1
  74. package/dist/cjs/types/Interface/api/paymentExpectation/QueryPaymentExpectation.js +15 -1
  75. package/dist/cjs/types/Interface/api/paymentExpectation/QueryPaymentExpectation.js.map +1 -1
  76. package/dist/cjs/types/Interface/api/society/State.d.ts +7 -0
  77. package/dist/cjs/types/Interface/api/society/State.d.ts.map +1 -1
  78. package/dist/cjs/types/Interface/api/society/State.js.map +1 -1
  79. package/dist/cjs/types/Interface/api/stripe/Create.d.ts +22 -1
  80. package/dist/cjs/types/Interface/api/stripe/Create.d.ts.map +1 -1
  81. package/dist/cjs/types/Interface/api/stripe/Create.js +74 -3
  82. package/dist/cjs/types/Interface/api/stripe/Create.js.map +1 -1
  83. package/dist/cjs/types/Interface/api/stripe/QueryStripe.d.ts +1 -2
  84. package/dist/cjs/types/Interface/api/stripe/QueryStripe.d.ts.map +1 -1
  85. package/dist/cjs/types/Interface/api/stripe/QueryStripe.js +5 -8
  86. package/dist/cjs/types/Interface/api/stripe/QueryStripe.js.map +1 -1
  87. package/dist/cjs/types/Interface/models/IPayment.d.ts +2 -0
  88. package/dist/cjs/types/Interface/models/IPayment.d.ts.map +1 -1
  89. package/dist/cjs/types/Interface/models/IPayment.js.map +1 -1
  90. package/dist/cjs/types/Interface/models/IPaymentExpectation.d.ts +1 -0
  91. package/dist/cjs/types/Interface/models/IPaymentExpectation.d.ts.map +1 -1
  92. package/dist/cjs/types/Interface/models/IPaymentExpectation.js.map +1 -1
  93. package/dist/cjs/types/Interface/models/IRegistration.d.ts +2 -0
  94. package/dist/cjs/types/Interface/models/IRegistration.d.ts.map +1 -1
  95. package/dist/cjs/types/Interface/models/IRegistration.js.map +1 -1
  96. package/dist/cjs/types/Interface/models/IUser.d.ts +1 -0
  97. package/dist/cjs/types/Interface/models/IUser.d.ts.map +1 -1
  98. package/dist/cjs/types/Interface/models/IUser.js.map +1 -1
  99. package/dist/cjs/types/index.d.ts +1 -1
  100. package/dist/cjs/types/index.d.ts.map +1 -1
  101. package/dist/cjs/types/index.js +1 -1
  102. package/dist/cjs/types/index.js.map +1 -1
  103. package/dist/cjs/utils/brands.js +1 -1
  104. package/dist/cjs/utils/brands.js.map +1 -1
  105. package/dist/cjs/utils/prestation.d.ts +2 -1
  106. package/dist/cjs/utils/prestation.d.ts.map +1 -1
  107. package/dist/cjs/utils/prestation.js +11 -1
  108. package/dist/cjs/utils/prestation.js.map +1 -1
  109. package/dist/mjs/api/resources/Authenticate.d.ts +6 -0
  110. package/dist/mjs/api/resources/Authenticate.d.ts.map +1 -1
  111. package/dist/mjs/api/resources/Authenticate.js +6 -0
  112. package/dist/mjs/api/resources/Authenticate.js.map +1 -1
  113. package/dist/mjs/api/resources/PaymentExpectation.d.ts +16 -1
  114. package/dist/mjs/api/resources/PaymentExpectation.d.ts.map +1 -1
  115. package/dist/mjs/api/resources/PaymentExpectation.js +20 -0
  116. package/dist/mjs/api/resources/PaymentExpectation.js.map +1 -1
  117. package/dist/mjs/api/resources/Rating.d.ts +2 -2
  118. package/dist/mjs/api/resources/Rating.d.ts.map +1 -1
  119. package/dist/mjs/api/resources/Rating.js.map +1 -1
  120. package/dist/mjs/api/resources/Revision.d.ts +3 -1
  121. package/dist/mjs/api/resources/Revision.d.ts.map +1 -1
  122. package/dist/mjs/api/resources/Revision.js.map +1 -1
  123. package/dist/mjs/api/resources/Society.d.ts +2 -1
  124. package/dist/mjs/api/resources/Society.d.ts.map +1 -1
  125. package/dist/mjs/api/resources/Society.js +3 -0
  126. package/dist/mjs/api/resources/Society.js.map +1 -1
  127. package/dist/mjs/api/resources/Subscription.d.ts +23 -6
  128. package/dist/mjs/api/resources/Subscription.d.ts.map +1 -1
  129. package/dist/mjs/api/resources/Subscription.js +28 -8
  130. package/dist/mjs/api/resources/Subscription.js.map +1 -1
  131. package/dist/mjs/api/resources/prestation.d.ts +3 -1
  132. package/dist/mjs/api/resources/prestation.d.ts.map +1 -1
  133. package/dist/mjs/api/resources/prestation.js.map +1 -1
  134. package/dist/mjs/types/Enum/Feature.d.ts +41 -0
  135. package/dist/mjs/types/Enum/Feature.d.ts.map +1 -0
  136. package/dist/mjs/types/Enum/Feature.js +62 -0
  137. package/dist/mjs/types/Enum/Feature.js.map +1 -0
  138. package/dist/mjs/types/Enum/PrestationType.d.ts +13 -1
  139. package/dist/mjs/types/Enum/PrestationType.d.ts.map +1 -1
  140. package/dist/mjs/types/Enum/PrestationType.js +182 -0
  141. package/dist/mjs/types/Enum/PrestationType.js.map +1 -1
  142. package/dist/mjs/types/Enum/PriceGridClementine.d.ts +27 -0
  143. package/dist/mjs/types/Enum/PriceGridClementine.d.ts.map +1 -1
  144. package/dist/mjs/types/Enum/PriceGridClementine.js +88 -28
  145. package/dist/mjs/types/Enum/PriceGridClementine.js.map +1 -1
  146. package/dist/mjs/types/Enum/PriceGridLegalstart.d.ts +4 -4
  147. package/dist/mjs/types/Enum/PriceGridLegalstart.js +1 -1
  148. package/dist/mjs/types/Enum/PriceGridLegalstart.js.map +1 -1
  149. package/dist/mjs/types/Enum/SalesContractBrandClementine.d.ts.map +1 -1
  150. package/dist/mjs/types/Enum/SalesContractBrandClementine.js +119 -1
  151. package/dist/mjs/types/Enum/SalesContractBrandClementine.js.map +1 -1
  152. package/dist/mjs/types/Interface/api/cerfa/2031.d.ts +1 -0
  153. package/dist/mjs/types/Interface/api/cerfa/2031.d.ts.map +1 -1
  154. package/dist/mjs/types/Interface/api/cerfa/2031.js.map +1 -1
  155. package/dist/mjs/types/Interface/api/cerfa/2035.d.ts +1 -0
  156. package/dist/mjs/types/Interface/api/cerfa/2035.d.ts.map +1 -1
  157. package/dist/mjs/types/Interface/api/cerfa/2035.js.map +1 -1
  158. package/dist/mjs/types/Interface/api/cerfa/2065.d.ts +1 -0
  159. package/dist/mjs/types/Interface/api/cerfa/2065.d.ts.map +1 -1
  160. package/dist/mjs/types/Interface/api/cerfa/2065.js.map +1 -1
  161. package/dist/mjs/types/Interface/api/cerfa/2069RCI.d.ts +1 -0
  162. package/dist/mjs/types/Interface/api/cerfa/2069RCI.d.ts.map +1 -1
  163. package/dist/mjs/types/Interface/api/cerfa/2069RCI.js.map +1 -1
  164. package/dist/mjs/types/Interface/api/cerfa/2571.d.ts +1 -0
  165. package/dist/mjs/types/Interface/api/cerfa/2571.d.ts.map +1 -1
  166. package/dist/mjs/types/Interface/api/cerfa/2571.js.map +1 -1
  167. package/dist/mjs/types/Interface/api/cerfa/2572.d.ts +1 -0
  168. package/dist/mjs/types/Interface/api/cerfa/2572.d.ts.map +1 -1
  169. package/dist/mjs/types/Interface/api/cerfa/2572.js.map +1 -1
  170. package/dist/mjs/types/Interface/api/cerfa/2573.d.ts +1 -0
  171. package/dist/mjs/types/Interface/api/cerfa/2573.d.ts.map +1 -1
  172. package/dist/mjs/types/Interface/api/cerfa/2573.js.map +1 -1
  173. package/dist/mjs/types/Interface/api/config/ConfigType.d.ts +0 -13
  174. package/dist/mjs/types/Interface/api/config/ConfigType.d.ts.map +1 -1
  175. package/dist/mjs/types/Interface/api/config/ConfigType.js.map +1 -1
  176. package/dist/mjs/types/Interface/api/paymentExpectation/CreatePaymentExpecation.d.ts +1 -0
  177. package/dist/mjs/types/Interface/api/paymentExpectation/CreatePaymentExpecation.d.ts.map +1 -1
  178. package/dist/mjs/types/Interface/api/paymentExpectation/CreatePaymentExpecation.js +11 -4
  179. package/dist/mjs/types/Interface/api/paymentExpectation/CreatePaymentExpecation.js.map +1 -1
  180. package/dist/mjs/types/Interface/api/paymentExpectation/QueryPaymentExpectation.d.ts +3 -1
  181. package/dist/mjs/types/Interface/api/paymentExpectation/QueryPaymentExpectation.d.ts.map +1 -1
  182. package/dist/mjs/types/Interface/api/paymentExpectation/QueryPaymentExpectation.js +18 -2
  183. package/dist/mjs/types/Interface/api/paymentExpectation/QueryPaymentExpectation.js.map +1 -1
  184. package/dist/mjs/types/Interface/api/society/State.d.ts +7 -0
  185. package/dist/mjs/types/Interface/api/society/State.d.ts.map +1 -1
  186. package/dist/mjs/types/Interface/api/society/State.js.map +1 -1
  187. package/dist/mjs/types/Interface/api/stripe/Create.d.ts +22 -1
  188. package/dist/mjs/types/Interface/api/stripe/Create.d.ts.map +1 -1
  189. package/dist/mjs/types/Interface/api/stripe/Create.js +82 -3
  190. package/dist/mjs/types/Interface/api/stripe/Create.js.map +1 -1
  191. package/dist/mjs/types/Interface/api/stripe/QueryStripe.d.ts +1 -2
  192. package/dist/mjs/types/Interface/api/stripe/QueryStripe.d.ts.map +1 -1
  193. package/dist/mjs/types/Interface/api/stripe/QueryStripe.js +4 -8
  194. package/dist/mjs/types/Interface/api/stripe/QueryStripe.js.map +1 -1
  195. package/dist/mjs/types/Interface/models/IPayment.d.ts +2 -0
  196. package/dist/mjs/types/Interface/models/IPayment.d.ts.map +1 -1
  197. package/dist/mjs/types/Interface/models/IPayment.js.map +1 -1
  198. package/dist/mjs/types/Interface/models/IPaymentExpectation.d.ts +1 -0
  199. package/dist/mjs/types/Interface/models/IPaymentExpectation.d.ts.map +1 -1
  200. package/dist/mjs/types/Interface/models/IPaymentExpectation.js.map +1 -1
  201. package/dist/mjs/types/Interface/models/IRegistration.d.ts +2 -0
  202. package/dist/mjs/types/Interface/models/IRegistration.d.ts.map +1 -1
  203. package/dist/mjs/types/Interface/models/IRegistration.js.map +1 -1
  204. package/dist/mjs/types/Interface/models/IUser.d.ts +1 -0
  205. package/dist/mjs/types/Interface/models/IUser.d.ts.map +1 -1
  206. package/dist/mjs/types/Interface/models/IUser.js.map +1 -1
  207. package/dist/mjs/types/index.d.ts +1 -1
  208. package/dist/mjs/types/index.d.ts.map +1 -1
  209. package/dist/mjs/types/index.js +1 -1
  210. package/dist/mjs/types/index.js.map +1 -1
  211. package/dist/mjs/utils/brands.js +1 -1
  212. package/dist/mjs/utils/brands.js.map +1 -1
  213. package/dist/mjs/utils/prestation.d.ts +2 -1
  214. package/dist/mjs/utils/prestation.d.ts.map +1 -1
  215. package/dist/mjs/utils/prestation.js +11 -2
  216. package/dist/mjs/utils/prestation.js.map +1 -1
  217. package/package.json +2 -2
  218. package/ts/api/resources/Authenticate.ts +7 -0
  219. package/ts/api/resources/PaymentExpectation.ts +27 -0
  220. package/ts/api/resources/Rating.ts +1 -2
  221. package/ts/api/resources/Revision.ts +1 -1
  222. package/ts/api/resources/Society.ts +5 -0
  223. package/ts/api/resources/Subscription.ts +35 -18
  224. package/ts/api/resources/prestation.ts +1 -1
  225. package/ts/types/Enum/Feature.ts +68 -0
  226. package/ts/types/Enum/PrestationType.ts +186 -0
  227. package/ts/types/Enum/PriceGridClementine.ts +88 -28
  228. package/ts/types/Enum/PriceGridLegalstart.ts +1 -1
  229. package/ts/types/Enum/SalesContractBrandClementine.ts +119 -1
  230. package/ts/types/Interface/api/cerfa/2031.ts +1 -0
  231. package/ts/types/Interface/api/cerfa/2035.ts +6 -1
  232. package/ts/types/Interface/api/cerfa/2065.ts +1 -0
  233. package/ts/types/Interface/api/cerfa/2069RCI.ts +1 -0
  234. package/ts/types/Interface/api/cerfa/2571.ts +1 -0
  235. package/ts/types/Interface/api/cerfa/2572.ts +1 -0
  236. package/ts/types/Interface/api/cerfa/2573.ts +1 -0
  237. package/ts/types/Interface/api/config/ConfigType.ts +0 -16
  238. package/ts/types/Interface/api/paymentExpectation/CreatePaymentExpecation.ts +9 -4
  239. package/ts/types/Interface/api/paymentExpectation/QueryPaymentExpectation.ts +15 -3
  240. package/ts/types/Interface/api/society/State.ts +8 -0
  241. package/ts/types/Interface/api/stripe/Create.ts +59 -4
  242. package/ts/types/Interface/api/stripe/QueryStripe.ts +3 -5
  243. package/ts/types/Interface/models/IPayment.ts +2 -0
  244. package/ts/types/Interface/models/IPaymentExpectation.ts +1 -0
  245. package/ts/types/Interface/models/IRegistration.ts +2 -0
  246. package/ts/types/Interface/models/IUser.ts +1 -0
  247. package/ts/types/index.ts +1 -1
  248. package/ts/utils/brands.ts +1 -1
  249. package/ts/utils/prestation.ts +15 -1
  250. package/dist/cjs/types/Interface/api/stripe/ReadStripe.d.ts +0 -5
  251. package/dist/cjs/types/Interface/api/stripe/ReadStripe.d.ts.map +0 -1
  252. package/dist/cjs/types/Interface/api/stripe/ReadStripe.js +0 -3
  253. package/dist/cjs/types/Interface/api/stripe/ReadStripe.js.map +0 -1
  254. package/dist/mjs/types/Interface/api/stripe/ReadStripe.d.ts +0 -5
  255. package/dist/mjs/types/Interface/api/stripe/ReadStripe.d.ts.map +0 -1
  256. package/dist/mjs/types/Interface/api/stripe/ReadStripe.js +0 -2
  257. package/dist/mjs/types/Interface/api/stripe/ReadStripe.js.map +0 -1
  258. package/ts/types/Interface/api/stripe/ReadStripe.ts +0 -4
@@ -179,6 +179,14 @@ export enum PrestationType {
179
179
  ENVOIE_LRAR = 222,
180
180
  FORECAST_BALANCE_SHEET_AT_0 = 226,
181
181
  CONSULTING_HOUR = 227,
182
+ BILLING = 228,
183
+ STEERING = 229,
184
+ VAT = 230,
185
+ BALANCESHEET = 231,
186
+ EXPERTISE = 232,
187
+ SUPPORT = 233,
188
+ PREMIUM = 234,
189
+ CUSTOM_MADE = 235,
182
190
  }
183
191
 
184
192
  // Liste des prestations avec une lettre de mission à signer
@@ -208,6 +216,32 @@ export const allPrestationsWithBrochure = [
208
216
  PrestationType.DECLARATION_IR,
209
217
  ];
210
218
 
219
+ export const allPrestations2025WithBrochure = [
220
+ PrestationType.EXPERTISE,
221
+ PrestationType.SUPPORT,
222
+ PrestationType.PREMIUM,
223
+ PrestationType.CUSTOM_MADE,
224
+ ];
225
+
226
+ export const ClementineSubscriptionAccountancyExpertPrestations: PrestationType[] = [
227
+ PrestationType.EXPERTISE,
228
+ PrestationType.SUPPORT,
229
+ PrestationType.PREMIUM,
230
+ PrestationType.CUSTOM_MADE,
231
+ ];
232
+
233
+ export const ClementineSubscriptionAccountancySoftwarePrestations: PrestationType[] = [
234
+ PrestationType.BILLING,
235
+ PrestationType.STEERING,
236
+ PrestationType.VAT,
237
+ PrestationType.BALANCESHEET,
238
+ ];
239
+
240
+ export const ClementineSubscriptionAccountancyPrestations: PrestationType[] = [
241
+ ...ClementineSubscriptionAccountancyExpertPrestations,
242
+ ...ClementineSubscriptionAccountancySoftwarePrestations,
243
+ ];
244
+
211
245
  export interface PrestationDetailEnum {
212
246
  [key: string]: IPrestationList;
213
247
  }
@@ -3599,4 +3633,156 @@ export const PrestationDetail: PrestationDetailEnum = {
3599
3633
  signaturePage: null,
3600
3634
  point: 0,
3601
3635
  },
3636
+ BILLING: {
3637
+ id: PrestationType.BILLING,
3638
+ name: 'Facturation',
3639
+ isComptable: true,
3640
+ isJuridique: false,
3641
+ isSocial: false,
3642
+ isAttestation: false,
3643
+ inAverageCart: true,
3644
+ isBack: false,
3645
+ minimumPrice: null,
3646
+ price: null,
3647
+ isCatalog: false,
3648
+ isPlannable: false,
3649
+ hidden: false,
3650
+ isComplementary: false,
3651
+ signaturePosition: '400,54,569,90',
3652
+ signaturePage: 7, //???
3653
+ point: 200, //???
3654
+ },
3655
+ STEERING: {
3656
+ id: PrestationType.STEERING,
3657
+ name: 'Pilotage',
3658
+ isComptable: true,
3659
+ isJuridique: false,
3660
+ isSocial: false,
3661
+ isAttestation: false,
3662
+ inAverageCart: true,
3663
+ isBack: false,
3664
+ minimumPrice: null,
3665
+ price: null,
3666
+ isCatalog: false,
3667
+ isPlannable: false,
3668
+ hidden: false,
3669
+ isComplementary: false,
3670
+ signaturePosition: '400,54,569,90',
3671
+ signaturePage: 7, //???
3672
+ point: 200, //???
3673
+ },
3674
+ VAT: {
3675
+ id: PrestationType.VAT,
3676
+ name: 'TVA',
3677
+ isComptable: true,
3678
+ isJuridique: false,
3679
+ isSocial: false,
3680
+ isAttestation: false,
3681
+ inAverageCart: true,
3682
+ isBack: false,
3683
+ minimumPrice: null,
3684
+ price: null,
3685
+ isCatalog: false,
3686
+ isPlannable: false,
3687
+ hidden: false,
3688
+ isComplementary: false,
3689
+ signaturePosition: '400,54,569,90',
3690
+ signaturePage: 7, //???
3691
+ point: 200, //???
3692
+ },
3693
+ BALANCESHEET: {
3694
+ id: PrestationType.BALANCESHEET,
3695
+ name: 'Bilan',
3696
+ isComptable: true,
3697
+ isJuridique: false,
3698
+ isSocial: false,
3699
+ isAttestation: false,
3700
+ inAverageCart: true,
3701
+ isBack: false,
3702
+ minimumPrice: null,
3703
+ price: null,
3704
+ isCatalog: false,
3705
+ isPlannable: false,
3706
+ hidden: false,
3707
+ isComplementary: false,
3708
+ signaturePosition: '400,54,569,90',
3709
+ signaturePage: 7, //???
3710
+ point: 200, //???
3711
+ },
3712
+ EXPERTISE: {
3713
+ id: PrestationType.EXPERTISE,
3714
+ name: 'Expertise',
3715
+ isComptable: true,
3716
+ isJuridique: false,
3717
+ isSocial: false,
3718
+ isAttestation: false,
3719
+ inAverageCart: true,
3720
+ isBack: false,
3721
+ minimumPrice: null,
3722
+ price: 89,
3723
+ isCatalog: false,
3724
+ isPlannable: false,
3725
+ hidden: false,
3726
+ isComplementary: false,
3727
+ signaturePosition: '400,54,569,90',
3728
+ signaturePage: 7, //???
3729
+ point: 200, //???
3730
+ },
3731
+ SUPPORT: {
3732
+ id: PrestationType.SUPPORT,
3733
+ name: 'Accompagnement',
3734
+ isComptable: true,
3735
+ isJuridique: false,
3736
+ isSocial: false,
3737
+ isAttestation: false,
3738
+ inAverageCart: true,
3739
+ isBack: false,
3740
+ minimumPrice: null,
3741
+ price: 139,
3742
+ isCatalog: false,
3743
+ isPlannable: false,
3744
+ hidden: false,
3745
+ isComplementary: false,
3746
+ signaturePosition: '400,54,569,90',
3747
+ signaturePage: 7, //???
3748
+ point: 200, //???
3749
+ },
3750
+ PREMIUM: {
3751
+ id: PrestationType.PREMIUM,
3752
+ name: 'Premium',
3753
+ isComptable: true,
3754
+ isJuridique: false,
3755
+ isSocial: false,
3756
+ isAttestation: false,
3757
+ inAverageCart: true,
3758
+ isBack: false,
3759
+ minimumPrice: null,
3760
+ price: 199,
3761
+ isCatalog: false,
3762
+ isPlannable: false,
3763
+ hidden: false,
3764
+ isComplementary: false,
3765
+ signaturePosition: '400,54,569,90',
3766
+ signaturePage: 7, //???
3767
+ point: 200, //???
3768
+ },
3769
+ CUSTOM_MADE: {
3770
+ id: PrestationType.CUSTOM_MADE,
3771
+ name: 'Sur-mesure',
3772
+ isComptable: true,
3773
+ isJuridique: false,
3774
+ isSocial: false,
3775
+ isAttestation: false,
3776
+ inAverageCart: true,
3777
+ isBack: false,
3778
+ minimumPrice: null,
3779
+ price: null,
3780
+ isCatalog: false,
3781
+ isPlannable: false,
3782
+ hidden: false,
3783
+ isComplementary: false,
3784
+ signaturePosition: '400,54,569,90',
3785
+ signaturePage: 7, //???
3786
+ point: 200, //???
3787
+ },
3602
3788
  };
@@ -293,20 +293,25 @@ export const PriceGridClementine = [
293
293
  applicationCost: 14.9,
294
294
  priceWithTaxesIncluded: false,
295
295
  partner: [
296
+ // {
297
+ // amountMinimum: 1,
298
+ // amountMaximum: 1,
299
+ // price: 249,
300
+ // },
301
+ // {
302
+ // amountMinimum: 2,
303
+ // amountMaximum: 4,
304
+ // price: 299,
305
+ // },
306
+ // {
307
+ // amountMinimum: 5,
308
+ // amountMaximum: 1000000,
309
+ // price: 399,
310
+ // },
296
311
  {
297
312
  amountMinimum: 1,
298
- amountMaximum: 1,
299
- price: 249,
300
- },
301
- {
302
- amountMinimum: 2,
303
- amountMaximum: 4,
304
- price: 299,
305
- },
306
- {
307
- amountMinimum: 5,
308
313
  amountMaximum: 1000000,
309
- price: 399,
314
+ price: 249,
310
315
  },
311
316
  ],
312
317
  },
@@ -323,21 +328,11 @@ export const PriceGridClementine = [
323
328
  },
324
329
  {
325
330
  amountMinimum: 2,
326
- amountMaximum: 5,
331
+ amountMaximum: 10,
327
332
  price: 30,
328
333
  },
329
334
  {
330
- amountMinimum: 6,
331
- amountMaximum: 20,
332
- price: 28,
333
- },
334
- {
335
- amountMinimum: 21,
336
- amountMaximum: 50,
337
- price: 27,
338
- },
339
- {
340
- amountMinimum: 50,
335
+ amountMinimum: 11,
341
336
  amountMaximum: 1000000,
342
337
  price: 25,
343
338
  },
@@ -349,18 +344,83 @@ export const PriceGridClementine = [
349
344
  applicationCost: 14.9,
350
345
  priceWithTaxesIncluded: false,
351
346
  exerciceNbr: [
347
+ // {
348
+ // minimum: 1,
349
+ // maximum: 2,
350
+ // price: 149,
351
+ // },
352
+ // {
353
+ // minimum: 3,
354
+ // maximum: 1000,
355
+ // price: 299,
356
+ // },
352
357
  {
353
358
  minimum: 1,
354
- maximum: 2,
355
- price: 149,
356
- },
357
- {
358
- minimum: 3,
359
359
  maximum: 1000,
360
360
  price: 299,
361
361
  },
362
362
  ],
363
363
  },
364
+ {
365
+ /* Compta Expertise */
366
+ idPrestationList: [PrestationType.EXPERTISE],
367
+ applicationCost: 0,
368
+ priceWithTaxesIncluded: false,
369
+ monthlyNbr: [],
370
+ turnoverMonthly: [
371
+ {
372
+ turnoverValue: 1000000000000,
373
+ price: 89,
374
+ },
375
+ ],
376
+ turnoverYearly: [
377
+ {
378
+ turnoverValue: 1000000000000,
379
+ price: 890,
380
+ },
381
+ ],
382
+ vatRegimeMonthly: [],
383
+ },
384
+ {
385
+ /* Compta Accompagnement */
386
+ idPrestationList: [PrestationType.SUPPORT],
387
+ applicationCost: 0,
388
+ priceWithTaxesIncluded: false,
389
+ monthlyNbr: [],
390
+ turnoverMonthly: [
391
+ {
392
+ turnoverValue: 1000000000000,
393
+ price: 139,
394
+ },
395
+ ],
396
+ turnoverYearly: [
397
+ {
398
+ turnoverValue: 1000000000000,
399
+ price: 1390,
400
+ },
401
+ ],
402
+ vatRegimeMonthly: [],
403
+ },
404
+ {
405
+ /* Compta Premium */
406
+ idPrestationList: [PrestationType.PREMIUM],
407
+ applicationCost: 0,
408
+ priceWithTaxesIncluded: false,
409
+ monthlyNbr: [],
410
+ turnoverMonthly: [
411
+ {
412
+ turnoverValue: 1000000000000,
413
+ price: 199,
414
+ },
415
+ ],
416
+ turnoverYearly: [
417
+ {
418
+ turnoverValue: 1000000000000,
419
+ price: 1990,
420
+ },
421
+ ],
422
+ vatRegimeMonthly: [],
423
+ },
364
424
  ],
365
425
  },
366
426
  {
@@ -46,7 +46,7 @@ export const PriceGridLegalstart = [
46
46
  price: 90,
47
47
  },
48
48
  ],
49
- turnoverYearlyy: [
49
+ turnoverYearly: [
50
50
  {
51
51
  turnoverValue: 50000,
52
52
  price: 600,
@@ -1,5 +1,5 @@
1
1
  import { SaleContract } from '..';
2
- import { PrestationType, allPrestationsWithBrochure, PrestationDetail } from './PrestationType';
2
+ import { PrestationType, allPrestationsWithBrochure, PrestationDetail, allPrestations2025WithBrochure } from './PrestationType';
3
3
 
4
4
  export const SalesContractClementine: SaleContract[] = [
5
5
  {
@@ -9,6 +9,13 @@ export const SalesContractClementine: SaleContract[] = [
9
9
  versionable: false,
10
10
  idPrestationType: allPrestationsWithBrochure,
11
11
  },
12
+ {
13
+ label: "Page d'introduction 2025",
14
+ name: 'page_intro_2025',
15
+ needBgImage: true,
16
+ versionable: false,
17
+ idPrestationType: allPrestations2025WithBrochure,
18
+ },
12
19
  {
13
20
  label: 'Page chiffres',
14
21
  name: 'page_numbers',
@@ -16,6 +23,82 @@ export const SalesContractClementine: SaleContract[] = [
16
23
  versionable: false,
17
24
  idPrestationType: allPrestationsWithBrochure,
18
25
  },
26
+ {
27
+ label: "Page chiffres 2025",
28
+ name: 'page_numbers_2025',
29
+ needBgImage: true,
30
+ versionable: false,
31
+ idPrestationType: allPrestations2025WithBrochure,
32
+ },
33
+ {
34
+ label: "Page expertise 2025",
35
+ name: 'page_expertise_2025',
36
+ needBgImage: false,
37
+ versionable: false,
38
+ idPrestationType: [
39
+ PrestationType.EXPERTISE,
40
+ ],
41
+ condition: (turnover: number): boolean => turnover < 250000,
42
+ },
43
+ {
44
+ label: "Page accompagnement 2025",
45
+ name: 'page_support_2025',
46
+ needBgImage: false,
47
+ versionable: false,
48
+ idPrestationType: [
49
+ PrestationType.SUPPORT,
50
+ ],
51
+ condition: (turnover: number): boolean => turnover < 750000,
52
+ },
53
+ {
54
+ label: "Page premium 2025",
55
+ name: 'page_premium_2025',
56
+ needBgImage: false,
57
+ versionable: false,
58
+ idPrestationType: [
59
+ PrestationType.PREMIUM,
60
+ ],
61
+ condition: (turnover: number): boolean => turnover < 1200000,
62
+ },
63
+ // {
64
+ // label: 'Forfait social 2025',
65
+ // name: 'bloc_social_2025',
66
+ // needBgImage: false,
67
+ // versionable: true,
68
+ // idPrestationType: allPrestations2025WithBrochure,
69
+ // keyName: 'idPrestationSocial',
70
+ // },
71
+ // {
72
+ // label: 'Forfait approbation des comptes annuels 2025',
73
+ // name: 'bloc_annual_accounts_2025',
74
+ // needBgImage: false,
75
+ // idPrestationType: allPrestations2025WithBrochure,
76
+ // versionable: true,
77
+ // keyName: 'idPrestationJuridique',
78
+ // },
79
+ // {
80
+ // label: 'Accompagnement contrôle fiscal 2025',
81
+ // name: 'bloc_tax_audit_2025',
82
+ // needBgImage: false,
83
+ // idPrestationType: allPrestations2025WithBrochure,
84
+ // versionable: true,
85
+ // keyName: 'idPrestationControleFiscal',
86
+ // },
87
+ // {
88
+ // label: 'Heure de Conseil 2025',
89
+ // name: 'bloc_heure_de_conseil_2025',
90
+ // needBgImage: false,
91
+ // idPrestationType: allPrestations2025WithBrochure,
92
+ // versionable: false,
93
+ // keyName: 'prestationOptions',
94
+ // },
95
+ {
96
+ label: 'Prestations complémentaires 2025',
97
+ name: 'page_presta_complem_2025',
98
+ needBgImage: false,
99
+ idPrestationType: allPrestations2025WithBrochure,
100
+ versionable: false,
101
+ },
19
102
  {
20
103
  label: 'Page simplifié',
21
104
  name: 'page_simplified',
@@ -195,6 +278,41 @@ export const SalesContractClementine: SaleContract[] = [
195
278
  idPrestationType: allPrestationsWithBrochure,
196
279
  versionable: false,
197
280
  },
281
+ {
282
+ label: 'Conditions Générales de Vente 2025 (CGV) 1/3',
283
+ name: 'bloc_cgv_first_2025',
284
+ needBgImage: false,
285
+ idPrestationType: allPrestations2025WithBrochure,
286
+ versionable: false,
287
+ },
288
+ {
289
+ label: 'Conditions Générales de Vente 2025 (CGV) 2/3',
290
+ name: 'bloc_cgv_second_2025',
291
+ needBgImage: false,
292
+ idPrestationType: allPrestations2025WithBrochure,
293
+ versionable: false,
294
+ },
295
+ {
296
+ label: 'Conditions Générales de Vente 2025 (CGV) 3/3',
297
+ name: 'bloc_cgv_third_2025',
298
+ needBgImage: false,
299
+ idPrestationType: allPrestations2025WithBrochure,
300
+ versionable: false,
301
+ },
302
+ {
303
+ label: 'Détail de la lettre de mission 2025',
304
+ name: 'page_detail_ldm_2025',
305
+ needBgImage: false,
306
+ versionable: false,
307
+ idPrestationType: allPrestations2025WithBrochure
308
+ },
309
+ {
310
+ label: 'Devis 2025',
311
+ name: 'page_quotation_2025',
312
+ needBgImage: false,
313
+ idPrestationType: allPrestations2025WithBrochure,
314
+ versionable: false,
315
+ },
198
316
  {
199
317
  label: 'Mandat de prélèvement SEPA',
200
318
  name: 'bloc_sepa',
@@ -540,6 +540,7 @@ export interface Cerfa2031_2025 {
540
540
  export type Prepare2031Params = {
541
541
  idSociety: number;
542
542
  idExercice: number;
543
+ idUser: number;
543
544
  values: {
544
545
  cerfa2031: Cerfa2031 | Cerfa2031_2024;
545
546
  cerfa2033: AnyCerfa2033Century;
@@ -52,7 +52,12 @@ export type FullCerfa2035_2025 = Cerfa2035_2025 & Cerfa2035WithSuites_2025;
52
52
 
53
53
  export type AnyCerfa2035Century = FullCerfa2035 | FullCerfa2035_2024 | FullCerfa2035_2025;
54
54
 
55
- export type Prepare2035Params = { idSociety: number; idExercice: number; values: FullCerfa2035 | FullCerfa2035_2024 };
55
+ export type Prepare2035Params = {
56
+ idSociety: number;
57
+ idUser: number;
58
+ idExercice: number;
59
+ values: FullCerfa2035 | FullCerfa2035_2024;
60
+ };
56
61
 
57
62
  export interface Cerfa2035ProfessionalRecipes {
58
63
  collected: number;
@@ -256,6 +256,7 @@ export interface Cerfa2065_2024 {
256
256
  export type PrepareCerfa2065 = {
257
257
  idExercice: number;
258
258
  idSociety: number;
259
+ idUser: number;
259
260
  values: { cerfa2065: AnyCerfa2065Century; cerfa2033: AnyCerfa2033Century };
260
261
  };
261
262
 
@@ -189,5 +189,6 @@ export type ReadCerfa2069RCIInputs = {
189
189
  export type PrepareCerfa2069RCI = {
190
190
  idExercice: number;
191
191
  idSociety: number;
192
+ idUser: number;
192
193
  values: { cerfa2069RCI: Cerfa2069RCI_2024 };
193
194
  };
@@ -149,6 +149,7 @@ export type Cerfa2571_2025 = Cerfa2571_2024;
149
149
 
150
150
  export type Prepare2571Params = {
151
151
  idSociety: number;
152
+ idUser: number;
152
153
  idExercice: number;
153
154
  idRegistration: number;
154
155
  };
@@ -398,6 +398,7 @@ export class Cerfa2572_2025 {
398
398
  export type Prepare2572Params = {
399
399
  idSociety: number;
400
400
  idExercice: number;
401
+ idUser: number;
401
402
  idRegistration: number;
402
403
  };
403
404
 
@@ -67,6 +67,7 @@ export type AnyCerfa2573Century = Cerfa2573_2024;
67
67
  export type Prepare2573Params = {
68
68
  idSociety: number;
69
69
  idExercice: number;
70
+ idUser: number;
70
71
  values: AnyCerfa2573Century;
71
72
  };
72
73
 
@@ -13,9 +13,6 @@ export interface ConfigType {
13
13
  comptaclementineTest: ComptaclementineTest;
14
14
  bred: Bred;
15
15
  awsClementine: AwsClementine;
16
- stripe: Stripe;
17
- stripeECB: StripeEcb;
18
- stripeStatuts: StripeStatuts;
19
16
  mail: Mail;
20
17
  client: Client;
21
18
  twilio: Twilio;
@@ -155,19 +152,6 @@ export interface AwsClementine {
155
152
  apiVersion: string;
156
153
  }
157
154
 
158
- export interface Stripe {
159
- secretKey: string;
160
- secretKeyTestToDelete: string;
161
- }
162
-
163
- export interface StripeEcb {
164
- secretKey: string;
165
- }
166
-
167
- export interface StripeStatuts {
168
- secretKey: string;
169
- }
170
-
171
155
  export interface Mail {
172
156
  user: string;
173
157
  password: string;
@@ -1,4 +1,4 @@
1
- import { IsNumber, IsOptional, IsString } from 'class-validator';
1
+ import { IsInt, IsNumber, IsOptional, IsString } from 'class-validator';
2
2
  import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
3
3
  import { PaymentReason } from '../../../Enum/PaymentReason';
4
4
 
@@ -17,16 +17,16 @@ export class CreatePaymentExpecation {
17
17
  payload?: string | null;
18
18
 
19
19
  @ApiProperty()
20
- @IsNumber()
20
+ @IsInt()
21
21
  idReason: PaymentReason;
22
22
 
23
23
  @ApiPropertyOptional()
24
- @IsNumber()
24
+ @IsInt()
25
25
  @IsOptional()
26
26
  idPrestation?: number | null;
27
27
 
28
28
  @ApiPropertyOptional()
29
- @IsNumber()
29
+ @IsInt()
30
30
  @IsOptional()
31
31
  idRegulation?: number | null;
32
32
 
@@ -34,4 +34,9 @@ export class CreatePaymentExpecation {
34
34
  @IsString()
35
35
  @IsOptional()
36
36
  ref?: string | null;
37
+
38
+ @ApiPropertyOptional()
39
+ @IsInt()
40
+ @IsOptional()
41
+ idUserNotifyPaiementProceed?: number | null;
37
42
  }
@@ -1,11 +1,23 @@
1
- import { IsDate, IsInt, IsOptional, IsString } from 'class-validator';
1
+ import { IsDate, IsIn, IsInt, IsOptional, IsString } from 'class-validator';
2
2
  import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
3
3
  import { RequiredQueryPaginate } from '../BasePaginate';
4
4
 
5
5
  export class QueryGetPaymentExpectation {
6
- @ApiProperty()
6
+ @ApiPropertyOptional()
7
+ @IsOptional()
7
8
  @IsInt()
8
- idPrestation: number;
9
+ idPrestation?: number;
10
+
11
+ @ApiPropertyOptional()
12
+ @IsOptional()
13
+ @IsString()
14
+ ref?: string;
15
+
16
+ @ApiPropertyOptional()
17
+ @IsOptional()
18
+ @IsString({each: true})
19
+ @IsIn(['society', 'owner'], { each: true })
20
+ includes?: string[];
9
21
  }
10
22
 
11
23
  export class QueryGetPaymentExpectationPaginated extends RequiredQueryPaginate {
@@ -1,4 +1,5 @@
1
1
  import { TerminationListState, TerminationListType } from '../../../Enum/TerminationList';
2
+ import { IPrestation } from '../../models/IPrestation';
2
3
  import { ITerminationList } from '../../models/ITerminationList';
3
4
 
4
5
  interface SocietyStateTerminationInfo {
@@ -13,3 +14,10 @@ export interface GetSocietyState {
13
14
  terminations: ITerminationList[];
14
15
  isCorporatePartner: number;
15
16
  }
17
+
18
+ export type ReadCurrentPrestations = {
19
+ /** Accountancy subscription prestation (does not contains balancesheets prestations...) */
20
+ accountancySubscription: Partial<IPrestation> | null;
21
+ social: Partial<IPrestation>[];
22
+ juridical: Partial<IPrestation>[];
23
+ };