@silexpert/core 1.3.59 → 1.3.60

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (239) hide show
  1. package/dist/cjs/api/resources/Subscription.d.ts +2 -2
  2. package/dist/cjs/api/resources/Subscription.d.ts.map +1 -1
  3. package/dist/cjs/api/resources/Subscription.js +3 -4
  4. package/dist/cjs/api/resources/Subscription.js.map +1 -1
  5. package/dist/cjs/api/resources/User.d.ts +2 -1
  6. package/dist/cjs/api/resources/User.d.ts.map +1 -1
  7. package/dist/cjs/api/resources/User.js +3 -0
  8. package/dist/cjs/api/resources/User.js.map +1 -1
  9. package/dist/cjs/api/resources.d.ts +0 -4
  10. package/dist/cjs/api/resources.d.ts.map +1 -1
  11. package/dist/cjs/api/resources.js +0 -4
  12. package/dist/cjs/api/resources.js.map +1 -1
  13. package/dist/cjs/types/Enum/BalanceSheet.js +12 -12
  14. package/dist/cjs/types/Enum/BalanceSheet.js.map +1 -1
  15. package/dist/cjs/types/Enum/PrestationType.js +8 -8
  16. package/dist/cjs/types/Enum/PrestationType.js.map +1 -1
  17. package/dist/cjs/types/Interface/api/commercial/RequiredDocsTypeParams.d.ts +1 -0
  18. package/dist/cjs/types/Interface/api/commercial/RequiredDocsTypeParams.d.ts.map +1 -1
  19. package/dist/cjs/types/Interface/api/commercial/RequiredDocsTypeParams.js.map +1 -1
  20. package/dist/cjs/types/Interface/api/config/ConfigType.d.ts +40 -71
  21. package/dist/cjs/types/Interface/api/config/ConfigType.d.ts.map +1 -1
  22. package/dist/cjs/types/Interface/api/config/ConfigType.js.map +1 -1
  23. package/dist/cjs/types/Interface/api/internalInvoicing/GetLastRef.d.ts +0 -2
  24. package/dist/cjs/types/Interface/api/internalInvoicing/GetLastRef.d.ts.map +1 -1
  25. package/dist/cjs/types/Interface/api/internalInvoicing/GetLastRef.js +0 -12
  26. package/dist/cjs/types/Interface/api/internalInvoicing/GetLastRef.js.map +1 -1
  27. package/dist/cjs/types/Interface/api/user/Query.d.ts +9 -0
  28. package/dist/cjs/types/Interface/api/user/Query.d.ts.map +1 -1
  29. package/dist/cjs/types/Interface/api/user/Query.js +30 -1
  30. package/dist/cjs/types/Interface/api/user/Query.js.map +1 -1
  31. package/dist/cjs/types/Interface/models/IApiError.d.ts +0 -1
  32. package/dist/cjs/types/Interface/models/IApiError.d.ts.map +1 -1
  33. package/dist/cjs/types/Interface/models/IApiError.js +0 -2
  34. package/dist/cjs/types/Interface/models/IApiError.js.map +1 -1
  35. package/dist/cjs/types/index.d.ts +0 -10
  36. package/dist/cjs/types/index.d.ts.map +1 -1
  37. package/dist/cjs/types/index.js +0 -11
  38. package/dist/cjs/types/index.js.map +1 -1
  39. package/dist/cjs/utils/index.d.ts +0 -1
  40. package/dist/cjs/utils/index.d.ts.map +1 -1
  41. package/dist/cjs/utils/index.js +0 -1
  42. package/dist/cjs/utils/index.js.map +1 -1
  43. package/dist/cjs/utils/payment.d.ts +1 -0
  44. package/dist/cjs/utils/payment.d.ts.map +1 -1
  45. package/dist/cjs/utils/payment.js.map +1 -1
  46. package/dist/cjs/utils/prestation.d.ts +2 -1
  47. package/dist/cjs/utils/prestation.d.ts.map +1 -1
  48. package/dist/cjs/utils/prestation.js +19 -4
  49. package/dist/cjs/utils/prestation.js.map +1 -1
  50. package/dist/cjs/utils/vat/utils.d.ts +2 -0
  51. package/dist/cjs/utils/vat/utils.d.ts.map +1 -1
  52. package/dist/cjs/utils/vat/utils.js +10 -0
  53. package/dist/cjs/utils/vat/utils.js.map +1 -1
  54. package/dist/mjs/api/resources/Subscription.d.ts +2 -2
  55. package/dist/mjs/api/resources/Subscription.d.ts.map +1 -1
  56. package/dist/mjs/api/resources/Subscription.js +3 -4
  57. package/dist/mjs/api/resources/Subscription.js.map +1 -1
  58. package/dist/mjs/api/resources/User.d.ts +2 -1
  59. package/dist/mjs/api/resources/User.d.ts.map +1 -1
  60. package/dist/mjs/api/resources/User.js +6 -0
  61. package/dist/mjs/api/resources/User.js.map +1 -1
  62. package/dist/mjs/api/resources.d.ts +0 -4
  63. package/dist/mjs/api/resources.d.ts.map +1 -1
  64. package/dist/mjs/api/resources.js +0 -4
  65. package/dist/mjs/api/resources.js.map +1 -1
  66. package/dist/mjs/types/Enum/BalanceSheet.js +12 -12
  67. package/dist/mjs/types/Enum/BalanceSheet.js.map +1 -1
  68. package/dist/mjs/types/Enum/PrestationType.js +8 -8
  69. package/dist/mjs/types/Enum/PrestationType.js.map +1 -1
  70. package/dist/mjs/types/Interface/api/commercial/RequiredDocsTypeParams.d.ts +1 -0
  71. package/dist/mjs/types/Interface/api/commercial/RequiredDocsTypeParams.d.ts.map +1 -1
  72. package/dist/mjs/types/Interface/api/commercial/RequiredDocsTypeParams.js.map +1 -1
  73. package/dist/mjs/types/Interface/api/config/ConfigType.d.ts +40 -71
  74. package/dist/mjs/types/Interface/api/config/ConfigType.d.ts.map +1 -1
  75. package/dist/mjs/types/Interface/api/config/ConfigType.js.map +1 -1
  76. package/dist/mjs/types/Interface/api/internalInvoicing/GetLastRef.d.ts +0 -2
  77. package/dist/mjs/types/Interface/api/internalInvoicing/GetLastRef.d.ts.map +1 -1
  78. package/dist/mjs/types/Interface/api/internalInvoicing/GetLastRef.js +0 -14
  79. package/dist/mjs/types/Interface/api/internalInvoicing/GetLastRef.js.map +1 -1
  80. package/dist/mjs/types/Interface/api/user/Query.d.ts +9 -0
  81. package/dist/mjs/types/Interface/api/user/Query.d.ts.map +1 -1
  82. package/dist/mjs/types/Interface/api/user/Query.js +28 -0
  83. package/dist/mjs/types/Interface/api/user/Query.js.map +1 -1
  84. package/dist/mjs/types/Interface/models/IApiError.d.ts +0 -1
  85. package/dist/mjs/types/Interface/models/IApiError.d.ts.map +1 -1
  86. package/dist/mjs/types/Interface/models/IApiError.js +0 -2
  87. package/dist/mjs/types/Interface/models/IApiError.js.map +1 -1
  88. package/dist/mjs/types/index.d.ts +0 -10
  89. package/dist/mjs/types/index.d.ts.map +1 -1
  90. package/dist/mjs/types/index.js +0 -11
  91. package/dist/mjs/types/index.js.map +1 -1
  92. package/dist/mjs/utils/index.d.ts +0 -1
  93. package/dist/mjs/utils/index.d.ts.map +1 -1
  94. package/dist/mjs/utils/index.js +0 -1
  95. package/dist/mjs/utils/index.js.map +1 -1
  96. package/dist/mjs/utils/payment.d.ts +1 -0
  97. package/dist/mjs/utils/payment.d.ts.map +1 -1
  98. package/dist/mjs/utils/payment.js.map +1 -1
  99. package/dist/mjs/utils/prestation.d.ts +2 -1
  100. package/dist/mjs/utils/prestation.d.ts.map +1 -1
  101. package/dist/mjs/utils/prestation.js +17 -4
  102. package/dist/mjs/utils/prestation.js.map +1 -1
  103. package/dist/mjs/utils/vat/utils.d.ts +2 -0
  104. package/dist/mjs/utils/vat/utils.d.ts.map +1 -1
  105. package/dist/mjs/utils/vat/utils.js +9 -0
  106. package/dist/mjs/utils/vat/utils.js.map +1 -1
  107. package/package.json +1 -1
  108. package/ts/api/resources/Subscription.ts +5 -15
  109. package/ts/api/resources/User.ts +8 -0
  110. package/ts/api/resources.ts +0 -4
  111. package/ts/types/Enum/BalanceSheet.ts +12 -12
  112. package/ts/types/Enum/PrestationType.ts +8 -8
  113. package/ts/types/Interface/api/commercial/RequiredDocsTypeParams.ts +1 -0
  114. package/ts/types/Interface/api/config/ConfigType.ts +39 -75
  115. package/ts/types/Interface/api/internalInvoicing/GetLastRef.ts +0 -10
  116. package/ts/types/Interface/api/user/Query.ts +26 -0
  117. package/ts/types/Interface/models/IApiError.ts +0 -3
  118. package/ts/types/index.ts +0 -11
  119. package/ts/utils/index.ts +0 -1
  120. package/ts/utils/payment.ts +1 -0
  121. package/ts/utils/prestation.ts +30 -5
  122. package/ts/utils/vat/utils.ts +10 -1
  123. package/dist/cjs/api/resources/PromoCode.d.ts +0 -14
  124. package/dist/cjs/api/resources/PromoCode.d.ts.map +0 -1
  125. package/dist/cjs/api/resources/PromoCode.js +0 -35
  126. package/dist/cjs/api/resources/PromoCode.js.map +0 -1
  127. package/dist/cjs/api/resources/SocietyPromoCode.d.ts +0 -8
  128. package/dist/cjs/api/resources/SocietyPromoCode.d.ts.map +0 -1
  129. package/dist/cjs/api/resources/SocietyPromoCode.js +0 -17
  130. package/dist/cjs/api/resources/SocietyPromoCode.js.map +0 -1
  131. package/dist/cjs/types/Interface/api/promoCode/CreateDefaultPromoCode.d.ts +0 -14
  132. package/dist/cjs/types/Interface/api/promoCode/CreateDefaultPromoCode.d.ts.map +0 -1
  133. package/dist/cjs/types/Interface/api/promoCode/CreateDefaultPromoCode.js +0 -85
  134. package/dist/cjs/types/Interface/api/promoCode/CreateDefaultPromoCode.js.map +0 -1
  135. package/dist/cjs/types/Interface/api/promoCode/CreatePromoCode.d.ts +0 -12
  136. package/dist/cjs/types/Interface/api/promoCode/CreatePromoCode.d.ts.map +0 -1
  137. package/dist/cjs/types/Interface/api/promoCode/CreatePromoCode.js +0 -53
  138. package/dist/cjs/types/Interface/api/promoCode/CreatePromoCode.js.map +0 -1
  139. package/dist/cjs/types/Interface/api/promoCode/QueryDefaultPromotion.d.ts +0 -8
  140. package/dist/cjs/types/Interface/api/promoCode/QueryDefaultPromotion.d.ts.map +0 -1
  141. package/dist/cjs/types/Interface/api/promoCode/QueryDefaultPromotion.js +0 -49
  142. package/dist/cjs/types/Interface/api/promoCode/QueryDefaultPromotion.js.map +0 -1
  143. package/dist/cjs/types/Interface/api/promoCode/ReadDefaultPaginationPromoCode.d.ts +0 -5
  144. package/dist/cjs/types/Interface/api/promoCode/ReadDefaultPaginationPromoCode.d.ts.map +0 -1
  145. package/dist/cjs/types/Interface/api/promoCode/ReadDefaultPaginationPromoCode.js +0 -34
  146. package/dist/cjs/types/Interface/api/promoCode/ReadDefaultPaginationPromoCode.js.map +0 -1
  147. package/dist/cjs/types/Interface/api/promoCode/ReadDefaultPromotion.d.ts +0 -7
  148. package/dist/cjs/types/Interface/api/promoCode/ReadDefaultPromotion.d.ts.map +0 -1
  149. package/dist/cjs/types/Interface/api/promoCode/ReadDefaultPromotion.js +0 -3
  150. package/dist/cjs/types/Interface/api/promoCode/ReadDefaultPromotion.js.map +0 -1
  151. package/dist/cjs/types/Interface/api/promoCode/UpdatePromoCode.d.ts +0 -12
  152. package/dist/cjs/types/Interface/api/promoCode/UpdatePromoCode.d.ts.map +0 -1
  153. package/dist/cjs/types/Interface/api/promoCode/UpdatePromoCode.js +0 -53
  154. package/dist/cjs/types/Interface/api/promoCode/UpdatePromoCode.js.map +0 -1
  155. package/dist/cjs/types/Interface/api/societyPromoCode/CreateSocietyPromoCode.d.ts +0 -5
  156. package/dist/cjs/types/Interface/api/societyPromoCode/CreateSocietyPromoCode.d.ts.map +0 -1
  157. package/dist/cjs/types/Interface/api/societyPromoCode/CreateSocietyPromoCode.js +0 -25
  158. package/dist/cjs/types/Interface/api/societyPromoCode/CreateSocietyPromoCode.js.map +0 -1
  159. package/dist/cjs/types/Interface/models/IDefaultPromotion.d.ts +0 -17
  160. package/dist/cjs/types/Interface/models/IDefaultPromotion.d.ts.map +0 -1
  161. package/dist/cjs/types/Interface/models/IDefaultPromotion.js +0 -3
  162. package/dist/cjs/types/Interface/models/IDefaultPromotion.js.map +0 -1
  163. package/dist/cjs/types/Interface/models/IPromoCode.d.ts +0 -15
  164. package/dist/cjs/types/Interface/models/IPromoCode.d.ts.map +0 -1
  165. package/dist/cjs/types/Interface/models/IPromoCode.js +0 -3
  166. package/dist/cjs/types/Interface/models/IPromoCode.js.map +0 -1
  167. package/dist/cjs/types/Interface/models/ISocietyPromoCode.d.ts +0 -8
  168. package/dist/cjs/types/Interface/models/ISocietyPromoCode.d.ts.map +0 -1
  169. package/dist/cjs/types/Interface/models/ISocietyPromoCode.js +0 -3
  170. package/dist/cjs/types/Interface/models/ISocietyPromoCode.js.map +0 -1
  171. package/dist/cjs/utils/subscription.d.ts +0 -21
  172. package/dist/cjs/utils/subscription.d.ts.map +0 -1
  173. package/dist/cjs/utils/subscription.js +0 -97
  174. package/dist/cjs/utils/subscription.js.map +0 -1
  175. package/dist/mjs/api/resources/PromoCode.d.ts +0 -14
  176. package/dist/mjs/api/resources/PromoCode.d.ts.map +0 -1
  177. package/dist/mjs/api/resources/PromoCode.js +0 -31
  178. package/dist/mjs/api/resources/PromoCode.js.map +0 -1
  179. package/dist/mjs/api/resources/SocietyPromoCode.d.ts +0 -8
  180. package/dist/mjs/api/resources/SocietyPromoCode.d.ts.map +0 -1
  181. package/dist/mjs/api/resources/SocietyPromoCode.js +0 -13
  182. package/dist/mjs/api/resources/SocietyPromoCode.js.map +0 -1
  183. package/dist/mjs/types/Interface/api/promoCode/CreateDefaultPromoCode.d.ts +0 -14
  184. package/dist/mjs/types/Interface/api/promoCode/CreateDefaultPromoCode.d.ts.map +0 -1
  185. package/dist/mjs/types/Interface/api/promoCode/CreateDefaultPromoCode.js +0 -93
  186. package/dist/mjs/types/Interface/api/promoCode/CreateDefaultPromoCode.js.map +0 -1
  187. package/dist/mjs/types/Interface/api/promoCode/CreatePromoCode.d.ts +0 -12
  188. package/dist/mjs/types/Interface/api/promoCode/CreatePromoCode.d.ts.map +0 -1
  189. package/dist/mjs/types/Interface/api/promoCode/CreatePromoCode.js +0 -58
  190. package/dist/mjs/types/Interface/api/promoCode/CreatePromoCode.js.map +0 -1
  191. package/dist/mjs/types/Interface/api/promoCode/QueryDefaultPromotion.d.ts +0 -8
  192. package/dist/mjs/types/Interface/api/promoCode/QueryDefaultPromotion.d.ts.map +0 -1
  193. package/dist/mjs/types/Interface/api/promoCode/QueryDefaultPromotion.js +0 -50
  194. package/dist/mjs/types/Interface/api/promoCode/QueryDefaultPromotion.js.map +0 -1
  195. package/dist/mjs/types/Interface/api/promoCode/ReadDefaultPaginationPromoCode.d.ts +0 -5
  196. package/dist/mjs/types/Interface/api/promoCode/ReadDefaultPaginationPromoCode.d.ts.map +0 -1
  197. package/dist/mjs/types/Interface/api/promoCode/ReadDefaultPaginationPromoCode.js +0 -28
  198. package/dist/mjs/types/Interface/api/promoCode/ReadDefaultPaginationPromoCode.js.map +0 -1
  199. package/dist/mjs/types/Interface/api/promoCode/ReadDefaultPromotion.d.ts +0 -7
  200. package/dist/mjs/types/Interface/api/promoCode/ReadDefaultPromotion.d.ts.map +0 -1
  201. package/dist/mjs/types/Interface/api/promoCode/ReadDefaultPromotion.js +0 -2
  202. package/dist/mjs/types/Interface/api/promoCode/ReadDefaultPromotion.js.map +0 -1
  203. package/dist/mjs/types/Interface/api/promoCode/UpdatePromoCode.d.ts +0 -12
  204. package/dist/mjs/types/Interface/api/promoCode/UpdatePromoCode.d.ts.map +0 -1
  205. package/dist/mjs/types/Interface/api/promoCode/UpdatePromoCode.js +0 -58
  206. package/dist/mjs/types/Interface/api/promoCode/UpdatePromoCode.js.map +0 -1
  207. package/dist/mjs/types/Interface/api/societyPromoCode/CreateSocietyPromoCode.d.ts +0 -5
  208. package/dist/mjs/types/Interface/api/societyPromoCode/CreateSocietyPromoCode.d.ts.map +0 -1
  209. package/dist/mjs/types/Interface/api/societyPromoCode/CreateSocietyPromoCode.js +0 -23
  210. package/dist/mjs/types/Interface/api/societyPromoCode/CreateSocietyPromoCode.js.map +0 -1
  211. package/dist/mjs/types/Interface/models/IDefaultPromotion.d.ts +0 -17
  212. package/dist/mjs/types/Interface/models/IDefaultPromotion.d.ts.map +0 -1
  213. package/dist/mjs/types/Interface/models/IDefaultPromotion.js +0 -2
  214. package/dist/mjs/types/Interface/models/IDefaultPromotion.js.map +0 -1
  215. package/dist/mjs/types/Interface/models/IPromoCode.d.ts +0 -15
  216. package/dist/mjs/types/Interface/models/IPromoCode.d.ts.map +0 -1
  217. package/dist/mjs/types/Interface/models/IPromoCode.js +0 -2
  218. package/dist/mjs/types/Interface/models/IPromoCode.js.map +0 -1
  219. package/dist/mjs/types/Interface/models/ISocietyPromoCode.d.ts +0 -8
  220. package/dist/mjs/types/Interface/models/ISocietyPromoCode.d.ts.map +0 -1
  221. package/dist/mjs/types/Interface/models/ISocietyPromoCode.js +0 -2
  222. package/dist/mjs/types/Interface/models/ISocietyPromoCode.js.map +0 -1
  223. package/dist/mjs/utils/subscription.d.ts +0 -21
  224. package/dist/mjs/utils/subscription.d.ts.map +0 -1
  225. package/dist/mjs/utils/subscription.js +0 -92
  226. package/dist/mjs/utils/subscription.js.map +0 -1
  227. package/ts/api/resources/PromoCode.ts +0 -50
  228. package/ts/api/resources/SocietyPromoCode.ts +0 -16
  229. package/ts/types/Interface/api/promoCode/CreateDefaultPromoCode.ts +0 -59
  230. package/ts/types/Interface/api/promoCode/CreatePromoCode.ts +0 -30
  231. package/ts/types/Interface/api/promoCode/QueryDefaultPromotion.ts +0 -30
  232. package/ts/types/Interface/api/promoCode/ReadDefaultPaginationPromoCode.ts +0 -14
  233. package/ts/types/Interface/api/promoCode/ReadDefaultPromotion.ts +0 -7
  234. package/ts/types/Interface/api/promoCode/UpdatePromoCode.ts +0 -30
  235. package/ts/types/Interface/api/societyPromoCode/CreateSocietyPromoCode.ts +0 -9
  236. package/ts/types/Interface/models/IDefaultPromotion.ts +0 -16
  237. package/ts/types/Interface/models/IPromoCode.ts +0 -14
  238. package/ts/types/Interface/models/ISocietyPromoCode.ts +0 -7
  239. package/ts/utils/subscription.ts +0 -124
@@ -21,10 +21,8 @@ import { Authenticate } from './resources/Authenticate';
21
21
  import { Search } from './resources/Search';
22
22
  import { SalariesFile } from './resources/SalariesFile';
23
23
  import { Shine } from './resources/Shine';
24
- import { PromoCode } from './resources/PromoCode';
25
24
  import { Stocks } from './resources/Stocks';
26
25
  import { Loan } from './resources/Loan';
27
- import { SocietyPromoCode } from './resources/SocietyPromoCode';
28
26
  import { Dashboard } from './resources/Dashboard';
29
27
  import { Das } from './resources/Das';
30
28
  import { ZTicket } from './resources/ZTicket';
@@ -206,11 +204,9 @@ export const resources = {
206
204
  subscription: Subscription,
207
205
  salariesFile: SalariesFile,
208
206
  shine: Shine,
209
- promoCode: PromoCode,
210
207
  stocks: Stocks,
211
208
  loan: Loan,
212
209
  provision: Provision,
213
- societyPromoCode: SocietyPromoCode,
214
210
  dashboard: Dashboard,
215
211
  zTicket: ZTicket,
216
212
  incomeAllocation: IncomeAllocation,
@@ -224,14 +224,14 @@ export const BalanceSheetDetails = [
224
224
  forRoles: [['front_office'], ['expert']],
225
225
  },
226
226
  {
227
- text: 'Accepté SIE en l\'état',
227
+ text: "Accepté SIE en l'état",
228
228
  value: BalanceSheetState.ACCEPTED_BY_SIE_IN_STATE,
229
229
  color: 'green darken-3',
230
230
  colorText: 'green--text',
231
231
  forRoles: [['front_office'], ['expert']],
232
232
  },
233
233
  {
234
- text: 'Refus d\'établir',
234
+ text: "Refus d'établir",
235
235
  value: BalanceSheetState.ESTABLISH_REFUSED,
236
236
  color: 'orange darken-1',
237
237
  colorText: 'orange--text text--darken-1',
@@ -262,7 +262,7 @@ export const ForecastBalanceSheetDetails = [
262
262
  forRoles: [['front_office'], ['expert']],
263
263
  },
264
264
  {
265
- text: 'Prévisionnel d\' abandonné',
265
+ text: "Prévisionnel d' abandonné",
266
266
  value: BalanceSheetState.ABANDONED_FORECAST,
267
267
  color: 'green darken-3',
268
268
  colorText: 'green--text',
@@ -320,7 +320,7 @@ export const BALANCE_SHEET_LIST_ACTIVE: BalanceSheetList = [
320
320
  isSubcategory: true,
321
321
  fields: [
322
322
  {
323
- name: 'Frais d\'établissement',
323
+ name: "Frais d'établissement",
324
324
  accounts: ['201'],
325
325
  accountsDeducted: ['2801'],
326
326
  total: 0,
@@ -409,7 +409,7 @@ export const BALANCE_SHEET_LIST_ACTIVE: BalanceSheetList = [
409
409
  accountsDeducted: ['2967', '2968'],
410
410
  },
411
411
  {
412
- name: 'Titres immobilisés de l\'activité de portefeuille',
412
+ name: "Titres immobilisés de l'activité de portefeuille",
413
413
  accounts: ['273'],
414
414
  accountsDeducted: ['2973'],
415
415
  },
@@ -565,7 +565,7 @@ export const BALANCE_SHEET_LIST_ACTIVE: BalanceSheetList = [
565
565
  type: 'active',
566
566
  },
567
567
  {
568
- name: 'Charges constatées d\'avance',
568
+ name: "Charges constatées d'avance",
569
569
  key: 'establishedInAdvance',
570
570
  accounts: ['486'],
571
571
  },
@@ -628,12 +628,12 @@ export const BALANCE_SHEET_LIST_PASSIVE: BalanceSheetList = [
628
628
  {
629
629
  name: 'Capital (dont versé...)',
630
630
  key: 'subscribedCapital',
631
- accounts: ['101', '108'],
631
+ accounts: ['101', '108', '102'],
632
632
  isSubcategory: true,
633
633
  total: 0,
634
634
  },
635
635
  {
636
- name: 'Primes d\'émission, de fusion, d\'apport',
636
+ name: "Primes d'émission, de fusion, d'apport",
637
637
  key: 'issuePremiums',
638
638
  accounts: ['104'],
639
639
  isSubcategory: true,
@@ -647,7 +647,7 @@ export const BALANCE_SHEET_LIST_PASSIVE: BalanceSheetList = [
647
647
  total: 0,
648
648
  },
649
649
  {
650
- name: 'Ecart d\'équivalence',
650
+ name: "Ecart d'équivalence",
651
651
  key: 'equivalenceGap',
652
652
  accounts: ['107'],
653
653
  isSubcategory: true,
@@ -687,14 +687,14 @@ export const BALANCE_SHEET_LIST_PASSIVE: BalanceSheetList = [
687
687
  total: 0,
688
688
  },
689
689
  {
690
- name: 'Résultat de l\'exercice (bénéfice ou perte)',
690
+ name: "Résultat de l'exercice (bénéfice ou perte)",
691
691
  key: 'resultExercice',
692
692
  accounts: ['12'], // comptes 6 - 7
693
693
  isSubcategory: true,
694
694
  total: 0,
695
695
  },
696
696
  {
697
- name: 'Subventions d\'investissement',
697
+ name: "Subventions d'investissement",
698
698
  key: 'subsidies',
699
699
  accounts: ['13'],
700
700
  isSubcategory: true,
@@ -842,7 +842,7 @@ export const BALANCE_SHEET_LIST_PASSIVE: BalanceSheetList = [
842
842
  type: 'passive',
843
843
  },
844
844
  {
845
- name: 'Produits constatés d\'avance',
845
+ name: "Produits constatés d'avance",
846
846
  key: 'advanceProducts',
847
847
  accounts: ['487', '489'],
848
848
  isSubcategory: true,
@@ -3672,8 +3672,8 @@ export const PrestationDetail: PrestationDetailEnum = {
3672
3672
  hidden: false,
3673
3673
  isComplementary: false,
3674
3674
  signaturePosition: '400,54,569,90',
3675
- signaturePage: 7, //???
3676
- point: 200, //???
3675
+ signaturePage: 7,
3676
+ point: 0,
3677
3677
  },
3678
3678
  STEERING: {
3679
3679
  id: PrestationType.STEERING,
@@ -3691,8 +3691,8 @@ export const PrestationDetail: PrestationDetailEnum = {
3691
3691
  hidden: false,
3692
3692
  isComplementary: false,
3693
3693
  signaturePosition: '400,54,569,90',
3694
- signaturePage: 7, //???
3695
- point: 200, //???
3694
+ signaturePage: 7,
3695
+ point: 200,
3696
3696
  },
3697
3697
  VAT: {
3698
3698
  id: PrestationType.VAT,
@@ -3710,8 +3710,8 @@ export const PrestationDetail: PrestationDetailEnum = {
3710
3710
  hidden: false,
3711
3711
  isComplementary: false,
3712
3712
  signaturePosition: '400,54,569,90',
3713
- signaturePage: 7, //???
3714
- point: 200, //???
3713
+ signaturePage: 7,
3714
+ point: 200,
3715
3715
  },
3716
3716
  BALANCESHEET: {
3717
3717
  id: PrestationType.BALANCESHEET,
@@ -3729,8 +3729,8 @@ export const PrestationDetail: PrestationDetailEnum = {
3729
3729
  hidden: false,
3730
3730
  isComplementary: false,
3731
3731
  signaturePosition: '400,54,569,90',
3732
- signaturePage: 7, //???
3733
- point: 200, //???
3732
+ signaturePage: 7,
3733
+ point: 200,
3734
3734
  },
3735
3735
  EXPERTISE: {
3736
3736
  id: PrestationType.EXPERTISE,
@@ -12,4 +12,5 @@ export interface RequiredDocsType {
12
12
  isCreation?: boolean;
13
13
  isConsultingHour?: boolean;
14
14
  goToClient?: Date;
15
+ isOnlySoftware?: boolean;
15
16
  }
@@ -2,30 +2,24 @@ export interface ConfigType {
2
2
  port: number;
3
3
  db: Db;
4
4
  hostS3: string;
5
- hostApplication: string;
6
- hostSiteInternet: string;
7
5
  redis: Redis;
8
6
  redisPrimary: RedisPrimary;
9
7
  caarl: Caarl;
10
8
  yousign: Yousign;
11
9
  secretToken: string;
12
- comptaclementineTest: ComptaclementineTest;
13
10
  bred: Bred;
14
11
  awsClementine: AwsClementine;
15
12
  mail: Mail;
16
13
  client: Client;
17
14
  twilio: Twilio;
18
- aspone: Aspone;
19
15
  societyTestId: number;
20
16
  pappers: Pappers;
21
17
  shine: Shine;
22
18
  defaultPermissions: DefaultPermissions;
23
19
  crisp: Crisp;
24
20
  brand: ConfigBrand;
25
- adminStatic: AdminStatic;
26
21
  ocr: Ocr;
27
22
  jeDeclare: JeDeclare;
28
- firebase: Firebase;
29
23
  notification: Notification;
30
24
  pdfizer: Pdfizer;
31
25
  iDocus: IDocus;
@@ -46,26 +40,26 @@ export interface ConfigType {
46
40
  recaptcha: Recaptcha;
47
41
  }
48
42
 
49
- export interface Authentication {
43
+ interface Authentication {
50
44
  token: string;
51
45
  }
52
46
 
53
- export interface LambdaInfos {
47
+ interface LambdaInfos {
54
48
  url: string;
55
49
  key: string;
56
50
  }
57
51
 
58
- export interface Mongodb {
52
+ interface Mongodb {
59
53
  username: string;
60
54
  password: string;
61
55
  host: string;
62
56
  }
63
57
 
64
- export interface MachineLearning {
58
+ interface MachineLearning {
65
59
  transactionAnnotation: string;
66
60
  }
67
61
 
68
- export interface Db {
62
+ interface Db {
69
63
  username: string;
70
64
  password: string;
71
65
  database: string;
@@ -74,42 +68,33 @@ export interface Db {
74
68
  dialect: string;
75
69
  }
76
70
 
77
- export interface Redis {
71
+ interface Redis {
78
72
  host: string;
79
73
  port: number;
80
74
  }
81
75
 
82
- export interface RedisPrimary {
76
+ interface RedisPrimary {
83
77
  replicationGroupId: string;
84
78
  }
85
79
 
86
- export interface Caarl {
80
+ interface Caarl {
87
81
  api: string;
88
82
  token: string;
89
83
  bundle: string;
90
84
  }
91
85
 
92
- export interface Yousign {
86
+ interface Yousign {
93
87
  apiYousign: string;
94
88
  appYousign: string;
95
89
  token: Token;
96
90
  workspaceId: string;
97
91
  }
98
92
 
99
- export interface Token {
93
+ interface Token {
100
94
  clementine: string;
101
95
  pourcentage: string;
102
96
  }
103
97
 
104
- export interface ComptaclementineTest {
105
- username: string;
106
- password: string;
107
- database: string;
108
- port: string;
109
- host: string;
110
- dialect: string;
111
- }
112
-
113
98
  export interface Bred {
114
99
  authorizeHost: string;
115
100
  authorizePath: string;
@@ -137,14 +122,14 @@ export type BucketName =
137
122
  | 'resources-internal'
138
123
  | 'sales-contract';
139
124
 
140
- export interface AwsClementine {
125
+ interface AwsClementine {
141
126
  accessKeyId: string;
142
127
  secretAccessKey: string;
143
128
  clementineBucketName: BucketName;
144
129
  apiVersion: string;
145
130
  }
146
131
 
147
- export interface Mail {
132
+ interface Mail {
148
133
  user: string;
149
134
  password: string;
150
135
  host: string;
@@ -152,35 +137,28 @@ export interface Mail {
152
137
  tls: boolean;
153
138
  }
154
139
 
155
- export interface Client {
140
+ interface Client {
156
141
  host: string;
157
142
  hostFull: string;
158
143
  }
159
144
 
160
- export interface Twilio {
145
+ interface Twilio {
161
146
  accountSID: string;
162
147
  authToken: string;
163
148
  number: string;
164
149
  }
165
150
 
166
- export interface Aspone {
167
- siret: string;
168
- api: string;
169
- access: Access;
170
- serviceVersion: string;
171
- }
172
-
173
151
  export interface Access {
174
152
  login: string;
175
153
  password: string;
176
154
  }
177
155
 
178
- export interface Pappers {
156
+ interface Pappers {
179
157
  token: string;
180
158
  url: string;
181
159
  }
182
160
 
183
- export interface Shine {
161
+ interface Shine {
184
162
  host: string;
185
163
  hostV3: string;
186
164
  publicHost: string;
@@ -191,7 +169,7 @@ export interface Shine {
191
169
  scope: string;
192
170
  }
193
171
 
194
- export interface DefaultPermissions {
172
+ interface DefaultPermissions {
195
173
  gescom: boolean;
196
174
  compta: boolean;
197
175
  stats: boolean;
@@ -206,12 +184,12 @@ export interface DefaultPermissions {
206
184
  purchase: boolean;
207
185
  }
208
186
 
209
- export interface Crisp {
187
+ interface Crisp {
210
188
  identifier: string;
211
189
  key: string;
212
190
  }
213
191
 
214
- export interface ConfigBrand {
192
+ interface ConfigBrand {
215
193
  name: string;
216
194
  api: string;
217
195
  api2: string;
@@ -219,27 +197,22 @@ export interface ConfigBrand {
219
197
  api2Legalstart: string;
220
198
  }
221
199
 
222
- export interface AdminStatic {
223
- login: string;
224
- password: string;
225
- }
226
-
227
200
  export interface Ocr {
228
201
  URL: string;
229
202
  }
230
203
 
231
- export interface JeDeclare {
204
+ interface JeDeclare {
232
205
  access: Access2[];
233
206
  serviceVersion: string;
234
207
  }
235
208
 
236
- export interface Access2 {
209
+ interface Access2 {
237
210
  name: string;
238
211
  test: Test;
239
212
  production: Production;
240
213
  }
241
214
 
242
- export interface Test {
215
+ interface Test {
243
216
  login: string;
244
217
  password: string;
245
218
  editor: string;
@@ -247,11 +220,11 @@ export interface Test {
247
220
  wsdl: Wsdl;
248
221
  }
249
222
 
250
- export interface Wsdl {
223
+ interface Wsdl {
251
224
  url: string;
252
225
  }
253
226
 
254
- export interface Production {
227
+ interface Production {
255
228
  login: string;
256
229
  password: string;
257
230
  editor: string;
@@ -259,63 +232,54 @@ export interface Production {
259
232
  wsdl: Wsdl2;
260
233
  }
261
234
 
262
- export interface Wsdl2 {
235
+ interface Wsdl2 {
263
236
  url: string;
264
237
  }
265
238
 
266
- export interface Firebase {
267
- type: string;
268
- project_id: string;
269
- private_key_id: string;
270
- private_key: string;
271
- client_email: string;
272
- client_id: string;
273
- auth_uri: string;
274
- token_uri: string;
275
- auth_provider_x509_cert_url: string;
276
- client_x509_cert_url: string;
277
- universe_domain: string;
278
- }
279
-
280
239
  export interface Notification {
281
240
  hookToken: string;
282
241
  }
283
242
 
284
- export interface Pdfizer {
243
+ interface Pdfizer {
285
244
  url: string;
286
245
  key: string;
287
246
  }
288
247
 
289
- export interface IDocus {
248
+ interface IDocus {
290
249
  baseUrl: string;
291
250
  callbackurl: string;
292
251
  authorizationKey: string;
293
252
  }
294
253
 
295
- export interface Companeo {
254
+ interface Companeo {
296
255
  username: string;
297
256
  pass: string;
298
257
  }
299
258
 
300
- export interface Inpi {
259
+ interface Inpi {
301
260
  username: string;
302
261
  password: string;
303
262
  }
304
263
 
305
- export interface Notion {
264
+ interface Notion {
306
265
  key: string;
307
266
  }
308
267
 
309
- export interface Brevo {
310
- apiKeyProd: string;
268
+ interface Brevo {
269
+ lists: {
270
+ hot: number;
271
+ paying: number;
272
+ cold: number;
273
+ churned: number;
274
+ };
311
275
  }
312
276
 
313
- export interface Echo {
277
+ interface Echo {
314
278
  url: string;
315
279
  accountid: string;
316
280
  apikey: string;
317
281
  }
318
282
 
319
- export interface Recaptcha {
283
+ interface Recaptcha {
320
284
  secret: string;
321
285
  }
@@ -1,16 +1,6 @@
1
- import { IsArray, IsString } from 'class-validator';
2
1
  import { ApiProperty } from '../../../../utils';
3
2
 
4
3
  export class GetLastRef {
5
4
  @ApiProperty()
6
- @IsString()
7
- login: string;
8
-
9
- @ApiProperty()
10
- @IsString()
11
- password: string;
12
-
13
- @ApiProperty()
14
- @IsArray()
15
5
  idTypeBrand: Array<number>;
16
6
  }
@@ -4,6 +4,9 @@ import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
4
4
  import { SubscriptionType } from '../../../Enum/SubscriptionType';
5
5
  import { WhereOptions } from 'sequelize';
6
6
  import { ISociety } from '../../models/ISociety';
7
+ import { RequiredQueryPaginate } from '../BasePaginate';
8
+ import { Role } from '../../../Enum/Role';
9
+ import { EntityType } from '../../../Enum/EntityType';
7
10
 
8
11
  export class QueryConfirm {
9
12
  @ApiProperty()
@@ -13,6 +16,29 @@ export class QueryConfirm {
13
16
  email: string;
14
17
  }
15
18
 
19
+ export class QueryGetAllUsersPaginated extends RequiredQueryPaginate {
20
+ @ApiPropertyOptional()
21
+ @IsOptional()
22
+ @IsString()
23
+ declare search?: string;
24
+
25
+ @ApiPropertyOptional()
26
+ @IsOptional()
27
+ @IsArray()
28
+ declare roles?: Role[];
29
+
30
+ @ApiPropertyOptional()
31
+ @IsOptional()
32
+ @IsArray()
33
+ declare entities?: EntityType[];
34
+
35
+ @ApiPropertyOptional()
36
+ @IsOptional()
37
+ @IsBoolean()
38
+ @ToBoolean()
39
+ declare active?: boolean;
40
+ }
41
+
16
42
  export class QueryGetAllCollaborators {
17
43
  @ApiProperty({
18
44
  description: 'filtering users id',
@@ -136,9 +136,6 @@ export enum Code {
136
136
 
137
137
  payloadIsEmpty = 'payload_is_empty',
138
138
 
139
- // PromoCode
140
- wrongPromoCode = 'wrong_promo_code',
141
-
142
139
  // Budget Fetch
143
140
  fetchNewBudgetInvalidSociety = 'fetch_new_budget_invalid_idSociety',
144
141
  fetchConnectionFailed = 'fetch_connection_failed',
package/ts/types/index.ts CHANGED
@@ -258,11 +258,9 @@ export * from './Interface/models/IWorkingSchedule';
258
258
  export * from './Interface/models/IField';
259
259
  export * from './Interface/models/IFecFile';
260
260
  export * from './Interface/models/ISalariesFile';
261
- export * from './Interface/models/IPromoCode';
262
261
  export * from './Interface/models/ILoan';
263
262
  export * from './Interface/models/IBalanceSheetModule';
264
263
  export * from './Interface/models/IStock';
265
- export * from './Interface/models/ISocietyPromoCode';
266
264
  export * from './Interface/models/IZTicket';
267
265
  export * from './Interface/models/IExerciceNote';
268
266
  export * from './Interface/models/IRevisionGuide';
@@ -278,7 +276,6 @@ export * from './Interface/models/IMachineLearningResult';
278
276
  export * from './Interface/models/IBalanceSheetModule2';
279
277
  export * from './Interface/models/IBalanceSheetStatus';
280
278
  export * from './Interface/models/IBalanceSheetCompletion';
281
- export * from './Interface/models/IDefaultPromotion';
282
279
  export * from './Interface/models/INafCode';
283
280
  export * from './Interface/models/IMobile';
284
281
  export * from './Interface/models/ISocietyEvent';
@@ -721,8 +718,6 @@ export * from './Interface/api/revision/Create';
721
718
  export * from './Interface/api/vatDeclaration/QueryVatDeclaration';
722
719
  export * from './Interface/api/vatDeclaration/ReadVatVariousOperations';
723
720
  export * from './Interface/api/vatDeclaration/ResultFormatToEntries';
724
- export * from './Interface/api/promoCode/QueryDefaultPromotion';
725
- export * from './Interface/api/promoCode/ReadDefaultPromotion';
726
721
  export * from './Interface/api/SocietyTransaction/Query';
727
722
  export * from './Interface/api/SocietyTransaction/QuerySocietyTransactionCount';
728
723
  export * from './Interface/api/SocietyTransaction/Read';
@@ -735,8 +730,6 @@ export * from './Interface/api/webmail/MigrateMailAddresses';
735
730
  export * from './Interface/api/webmail/ExportEmails';
736
731
  export * from './Interface/api/webmail/PostAttachmentEmailFromLambdaParams';
737
732
  export * from './Interface/api/webmail/GetPaginatedWhereObjectParams';
738
- export * from './Interface/api/promoCode/CreateDefaultPromoCode';
739
- export * from './Interface/api/promoCode/ReadDefaultPaginationPromoCode';
740
733
  export * from './Interface/api/bankAccount/Delete';
741
734
  export * from './Interface/api/log/QueryLogPagination';
742
735
  export * from './Interface/api/employee/QueryEmployeeSearch';
@@ -838,15 +831,11 @@ export * from './Interface/api/shine/GetConnect';
838
831
  export * from './Interface/api/shine/CreateShineAccount';
839
832
  export * from './Interface/api/shine/CreateShineTransactions';
840
833
  export * from './Interface/api/shine/ConnectResponse';
841
- export * from './Interface/api/promoCode/UpdatePromoCode';
842
- export * from './Interface/api/promoCode/CreatePromoCode';
843
834
  export * from './Interface/api/balanceBankAccount/CreateBudgetBalanceBankAccount';
844
835
  export * from './Interface/api/loan/CreateLoan';
845
836
  export * from './Interface/api/loan/ReadLoan';
846
837
  export * from './Interface/api/stock/StocksType';
847
838
  export * from './Interface/api/lettering/QueryRegroupLettering';
848
- // export * from './Interface/api/stock/StockEntries';
849
- export * from './Interface/api/societyPromoCode/CreateSocietyPromoCode';
850
839
  export * from './Interface/api/loan/UpdateLoan';
851
840
  export * from './Interface/api/zticket/CreateZTicket';
852
841
  export * from './Interface/api/zticket/QueryZTicket';
package/ts/utils/index.ts CHANGED
@@ -20,4 +20,3 @@ export * from './isHtml';
20
20
  export * from './isUrl';
21
21
  export * from './bankAccount';
22
22
  export * from './commercialOffer';
23
- export * from './subscription';
@@ -15,6 +15,7 @@ import { getApplicationFeesAmount, getPriceGrid } from './prestation';
15
15
  export interface PaymentsWithList extends IPayment {
16
16
  type?: 'isComptable' | 'isJuridique' | 'isSocial' | 'isOther';
17
17
  listPayments: IPayment[];
18
+ isYearly?: boolean;
18
19
  }
19
20
 
20
21
  /**