@silexpert/core 1.1.24 → 1.1.25

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 (276) hide show
  1. package/es/api/resources/AccountingFiles.d.ts +1 -1
  2. package/es/api/resources/AccountingFiles.d.ts.map +1 -1
  3. package/es/api/resources/AccountingFiles.js +4 -1
  4. package/es/api/resources/AccountingFiles.js.map +1 -1
  5. package/es/api/resources/CashAndExpense.d.ts +8 -0
  6. package/es/api/resources/CashAndExpense.d.ts.map +1 -0
  7. package/es/api/resources/CashAndExpense.js +27 -0
  8. package/es/api/resources/CashAndExpense.js.map +1 -0
  9. package/es/api/resources/FIle.d.ts +3 -1
  10. package/es/api/resources/FIle.d.ts.map +1 -1
  11. package/es/api/resources/FIle.js +3 -0
  12. package/es/api/resources/FIle.js.map +1 -1
  13. package/es/api/resources/Mail.d.ts.map +1 -1
  14. package/es/api/resources/Mail.js +5 -0
  15. package/es/api/resources/Mail.js.map +1 -1
  16. package/es/api/resources/Prestations.d.ts +6 -0
  17. package/es/api/resources/Prestations.d.ts.map +1 -1
  18. package/es/api/resources/Prestations.js +8 -0
  19. package/es/api/resources/Prestations.js.map +1 -1
  20. package/es/api/resources.d.ts +2 -0
  21. package/es/api/resources.d.ts.map +1 -1
  22. package/es/api/resources.js +2 -0
  23. package/es/api/resources.js.map +1 -1
  24. package/es/types/Enum/Account.d.ts +8 -0
  25. package/es/types/Enum/Account.d.ts.map +1 -1
  26. package/es/types/Enum/Account.js +8 -0
  27. package/es/types/Enum/Account.js.map +1 -1
  28. package/es/types/Enum/BalanceSheet.d.ts +1 -1
  29. package/es/types/Enum/BalanceSheet.js +1 -1
  30. package/es/types/Enum/BalanceSheet.js.map +1 -1
  31. package/es/types/Enum/BrandClementine.js +2 -2
  32. package/es/types/Enum/BrandClementine.js.map +1 -1
  33. package/es/types/Enum/CashDeskTransactionType.d.ts +7 -0
  34. package/es/types/Enum/CashDeskTransactionType.d.ts.map +1 -0
  35. package/es/types/Enum/CashDeskTransactionType.js +8 -0
  36. package/es/types/Enum/CashDeskTransactionType.js.map +1 -0
  37. package/es/types/Enum/Compensation.d.ts +15 -0
  38. package/es/types/Enum/Compensation.d.ts.map +1 -0
  39. package/es/types/Enum/Compensation.js +15 -0
  40. package/es/types/Enum/Compensation.js.map +1 -0
  41. package/es/types/Enum/ConstitutionState.d.ts +0 -2
  42. package/es/types/Enum/ConstitutionState.d.ts.map +1 -1
  43. package/es/types/Enum/ConstitutionState.js +10 -10
  44. package/es/types/Enum/ConstitutionState.js.map +1 -1
  45. package/es/types/Enum/InternalService.d.ts +12 -0
  46. package/es/types/Enum/InternalService.d.ts.map +1 -1
  47. package/es/types/Enum/InternalService.js +12 -0
  48. package/es/types/Enum/InternalService.js.map +1 -1
  49. package/es/types/Enum/JobTitle.d.ts +7 -1
  50. package/es/types/Enum/JobTitle.d.ts.map +1 -1
  51. package/es/types/Enum/JobTitle.js +36 -0
  52. package/es/types/Enum/JobTitle.js.map +1 -1
  53. package/es/types/Enum/Log.d.ts +201 -1
  54. package/es/types/Enum/Log.d.ts.map +1 -1
  55. package/es/types/Enum/Log.js +200 -0
  56. package/es/types/Enum/Log.js.map +1 -1
  57. package/es/types/Enum/MealExpenseThresholds.d.ts.map +1 -1
  58. package/es/types/Enum/MealExpenseThresholds.js +6 -2
  59. package/es/types/Enum/MealExpenseThresholds.js.map +1 -1
  60. package/es/types/Enum/PrestationType.js +1 -1
  61. package/es/types/Enum/PrestationType.js.map +1 -1
  62. package/es/types/Enum/ReportService.d.ts +9 -4
  63. package/es/types/Enum/ReportService.d.ts.map +1 -1
  64. package/es/types/Enum/ReportService.js +17 -6
  65. package/es/types/Enum/ReportService.js.map +1 -1
  66. package/es/types/Enum/Role.d.ts +3 -1
  67. package/es/types/Enum/Role.d.ts.map +1 -1
  68. package/es/types/Enum/Role.js +2 -0
  69. package/es/types/Enum/Role.js.map +1 -1
  70. package/es/types/Enum/RoleDetail.d.ts +14 -0
  71. package/es/types/Enum/RoleDetail.d.ts.map +1 -1
  72. package/es/types/Enum/RoleDetail.js +15 -1
  73. package/es/types/Enum/RoleDetail.js.map +1 -1
  74. package/es/types/Enum/TaskResponseType.d.ts +3 -1
  75. package/es/types/Enum/TaskResponseType.d.ts.map +1 -1
  76. package/es/types/Enum/TaskResponseType.js +57 -0
  77. package/es/types/Enum/TaskResponseType.js.map +1 -1
  78. package/es/types/Enum/ThirdParty.d.ts +7 -0
  79. package/es/types/Enum/ThirdParty.d.ts.map +1 -0
  80. package/es/types/Enum/ThirdParty.js +7 -0
  81. package/es/types/Enum/ThirdParty.js.map +1 -0
  82. package/es/types/Interface/api/accountingFiles/queryAccountingFiles.d.ts +1 -0
  83. package/es/types/Interface/api/accountingFiles/queryAccountingFiles.d.ts.map +1 -1
  84. package/es/types/Interface/api/accountingFiles/queryAccountingFiles.js +5 -1
  85. package/es/types/Interface/api/accountingFiles/queryAccountingFiles.js.map +1 -1
  86. package/es/types/Interface/api/archive/ImportSocietyArchive.d.ts +1 -1
  87. package/es/types/Interface/api/archive/ImportSocietyArchive.d.ts.map +1 -1
  88. package/es/types/Interface/api/archive/ImportSocietyArchive.js +1 -1
  89. package/es/types/Interface/api/archive/ImportSocietyArchive.js.map +1 -1
  90. package/es/types/Interface/api/cashAndExpense/Create.d.ts +27 -0
  91. package/es/types/Interface/api/cashAndExpense/Create.d.ts.map +1 -0
  92. package/es/types/Interface/api/cashAndExpense/Create.js +91 -0
  93. package/es/types/Interface/api/cashAndExpense/Create.js.map +1 -0
  94. package/es/types/Interface/api/file/Query.d.ts +4 -0
  95. package/es/types/Interface/api/file/Query.d.ts.map +1 -0
  96. package/es/types/Interface/api/file/Query.js +17 -0
  97. package/es/types/Interface/api/file/Query.js.map +1 -0
  98. package/es/types/Interface/api/generalLedger/IGeneralLedgerAccount.d.ts +2 -0
  99. package/es/types/Interface/api/generalLedger/IGeneralLedgerAccount.d.ts.map +1 -1
  100. package/es/types/Interface/api/generalLedger/IGeneralLedgerAccount.js.map +1 -1
  101. package/es/types/Interface/api/prestation/QueryCreatePrestationSocieties.d.ts +7 -0
  102. package/es/types/Interface/api/prestation/QueryCreatePrestationSocieties.d.ts.map +1 -0
  103. package/es/types/Interface/api/prestation/QueryCreatePrestationSocieties.js +39 -0
  104. package/es/types/Interface/api/prestation/QueryCreatePrestationSocieties.js.map +1 -0
  105. package/es/types/Interface/api/report/ReadReportStats.d.ts +1 -0
  106. package/es/types/Interface/api/report/ReadReportStats.d.ts.map +1 -1
  107. package/es/types/Interface/api/report/ReadReportStats.js.map +1 -1
  108. package/es/types/Interface/api/taxDeadline/QueryTaxDeadline.d.ts +2 -1
  109. package/es/types/Interface/api/taxDeadline/QueryTaxDeadline.d.ts.map +1 -1
  110. package/es/types/Interface/api/taxDeadline/QueryTaxDeadline.js +9 -4
  111. package/es/types/Interface/api/taxDeadline/QueryTaxDeadline.js.map +1 -1
  112. package/es/types/Interface/models/IAccountingTransaction.d.ts +2 -0
  113. package/es/types/Interface/models/IAccountingTransaction.d.ts.map +1 -1
  114. package/es/types/Interface/models/IAccountingTransaction.js.map +1 -1
  115. package/es/types/Interface/models/IApiError.d.ts +2 -1
  116. package/es/types/Interface/models/IApiError.d.ts.map +1 -1
  117. package/es/types/Interface/models/IApiError.js +2 -0
  118. package/es/types/Interface/models/IApiError.js.map +1 -1
  119. package/es/types/Interface/models/IEstimateInvoice.d.ts +1 -0
  120. package/es/types/Interface/models/IEstimateInvoice.d.ts.map +1 -1
  121. package/es/types/Interface/models/IEstimateInvoice.js.map +1 -1
  122. package/es/types/Interface/models/IExercice.d.ts +2 -0
  123. package/es/types/Interface/models/IExercice.d.ts.map +1 -1
  124. package/es/types/Interface/models/IExercice.js.map +1 -1
  125. package/es/types/Interface/models/IKilometricAllowanceScale.d.ts +1 -0
  126. package/es/types/Interface/models/IKilometricAllowanceScale.d.ts.map +1 -1
  127. package/es/types/Interface/models/IKilometricAllowanceScale.js.map +1 -1
  128. package/es/types/Interface/models/ILog.d.ts +0 -2
  129. package/es/types/Interface/models/ILog.d.ts.map +1 -1
  130. package/es/types/Interface/models/ILog.js.map +1 -1
  131. package/es/types/Interface/models/IPayment.d.ts +1 -0
  132. package/es/types/Interface/models/IPayment.d.ts.map +1 -1
  133. package/es/types/Interface/models/IPayment.js.map +1 -1
  134. package/es/types/Interface/models/IRegulate.d.ts +5 -3
  135. package/es/types/Interface/models/IRegulate.d.ts.map +1 -1
  136. package/es/types/Interface/models/IRegulate.js.map +1 -1
  137. package/es/types/Interface/models/IReport.d.ts +3 -0
  138. package/es/types/Interface/models/IReport.d.ts.map +1 -1
  139. package/es/types/Interface/models/IReport.js.map +1 -1
  140. package/es/types/Interface/models/ISociety.d.ts +2 -1
  141. package/es/types/Interface/models/ISociety.d.ts.map +1 -1
  142. package/es/types/Interface/models/ISociety.js.map +1 -1
  143. package/es/types/Interface/models/IThirdPartySociety.d.ts +2 -0
  144. package/es/types/Interface/models/IThirdPartySociety.d.ts.map +1 -1
  145. package/es/types/Interface/models/IThirdPartySociety.js.map +1 -1
  146. package/es/types/index.d.ts +6 -0
  147. package/es/types/index.d.ts.map +1 -1
  148. package/es/types/index.js +6 -0
  149. package/es/types/index.js.map +1 -1
  150. package/es/utils/email/templates/signature.d.ts.map +1 -1
  151. package/es/utils/email/templates/signature.js +6 -7
  152. package/es/utils/email/templates/signature.js.map +1 -1
  153. package/es/utils/quotation.d.ts.map +1 -1
  154. package/es/utils/quotation.js +5 -3
  155. package/es/utils/quotation.js.map +1 -1
  156. package/js/api/resources/AccountingFiles.js +4 -1
  157. package/js/api/resources/AccountingFiles.js.map +1 -1
  158. package/js/api/resources/CashAndExpense.js +37 -0
  159. package/js/api/resources/CashAndExpense.js.map +1 -0
  160. package/js/api/resources/FIle.js +6 -0
  161. package/js/api/resources/FIle.js.map +1 -1
  162. package/js/api/resources/Mail.js +5 -0
  163. package/js/api/resources/Mail.js.map +1 -1
  164. package/js/api/resources/Prestations.js +8 -0
  165. package/js/api/resources/Prestations.js.map +1 -1
  166. package/js/api/resources.js +3 -1
  167. package/js/api/resources.js.map +1 -1
  168. package/js/types/Enum/Account.js +8 -0
  169. package/js/types/Enum/Account.js.map +1 -1
  170. package/js/types/Enum/BalanceSheet.js +1 -1
  171. package/js/types/Enum/BalanceSheet.js.map +1 -1
  172. package/js/types/Enum/BrandClementine.js +2 -2
  173. package/js/types/Enum/BrandClementine.js.map +1 -1
  174. package/js/types/Enum/CashDeskTransactionType.js +13 -0
  175. package/js/types/Enum/CashDeskTransactionType.js.map +1 -0
  176. package/js/types/Enum/Compensation.js +20 -0
  177. package/js/types/Enum/Compensation.js.map +1 -0
  178. package/js/types/Enum/ConstitutionState.js +6 -6
  179. package/js/types/Enum/ConstitutionState.js.map +1 -1
  180. package/js/types/Enum/InternalService.js +12 -0
  181. package/js/types/Enum/InternalService.js.map +1 -1
  182. package/js/types/Enum/JobTitle.js +30 -0
  183. package/js/types/Enum/JobTitle.js.map +1 -1
  184. package/js/types/Enum/Log.js +200 -0
  185. package/js/types/Enum/Log.js.map +1 -1
  186. package/js/types/Enum/MealExpenseThresholds.js +6 -2
  187. package/js/types/Enum/MealExpenseThresholds.js.map +1 -1
  188. package/js/types/Enum/PrestationType.js +1 -1
  189. package/js/types/Enum/PrestationType.js.map +1 -1
  190. package/js/types/Enum/ReportService.js +21 -9
  191. package/js/types/Enum/ReportService.js.map +1 -1
  192. package/js/types/Enum/Role.js +2 -0
  193. package/js/types/Enum/Role.js.map +1 -1
  194. package/js/types/Enum/RoleDetail.js +15 -1
  195. package/js/types/Enum/RoleDetail.js.map +1 -1
  196. package/js/types/Enum/TaskResponseType.js +52 -0
  197. package/js/types/Enum/TaskResponseType.js.map +1 -1
  198. package/js/types/Enum/ThirdParty.js +12 -0
  199. package/js/types/Enum/ThirdParty.js.map +1 -0
  200. package/js/types/Interface/api/accountingFiles/queryAccountingFiles.js +1 -0
  201. package/js/types/Interface/api/accountingFiles/queryAccountingFiles.js.map +1 -1
  202. package/js/types/Interface/api/archive/ImportSocietyArchive.js +1 -1
  203. package/js/types/Interface/api/archive/ImportSocietyArchive.js.map +1 -1
  204. package/js/types/Interface/api/cashAndExpense/Create.js +44 -0
  205. package/js/types/Interface/api/cashAndExpense/Create.js.map +1 -0
  206. package/js/types/Interface/api/file/Query.js +21 -0
  207. package/js/types/Interface/api/file/Query.js.map +1 -0
  208. package/js/types/Interface/api/generalLedger/IGeneralLedgerAccount.js.map +1 -1
  209. package/js/types/Interface/api/prestation/QueryCreatePrestationSocieties.js +30 -0
  210. package/js/types/Interface/api/prestation/QueryCreatePrestationSocieties.js.map +1 -0
  211. package/js/types/Interface/api/report/ReadReportStats.js.map +1 -1
  212. package/js/types/Interface/api/taxDeadline/QueryTaxDeadline.js +2 -1
  213. package/js/types/Interface/api/taxDeadline/QueryTaxDeadline.js.map +1 -1
  214. package/js/types/Interface/models/IAccountingTransaction.js.map +1 -1
  215. package/js/types/Interface/models/IApiError.js +2 -0
  216. package/js/types/Interface/models/IApiError.js.map +1 -1
  217. package/js/types/Interface/models/IEstimateInvoice.js.map +1 -1
  218. package/js/types/Interface/models/IExercice.js.map +1 -1
  219. package/js/types/Interface/models/IKilometricAllowanceScale.js.map +1 -1
  220. package/js/types/Interface/models/ILog.js.map +1 -1
  221. package/js/types/Interface/models/IPayment.js.map +1 -1
  222. package/js/types/Interface/models/IRegulate.js.map +1 -1
  223. package/js/types/Interface/models/IReport.js.map +1 -1
  224. package/js/types/Interface/models/ISociety.js.map +1 -1
  225. package/js/types/Interface/models/IThirdPartySociety.js.map +1 -1
  226. package/js/types/index.js +66 -6
  227. package/js/types/index.js.map +1 -1
  228. package/js/utils/email/templates/signature.js +6 -7
  229. package/js/utils/email/templates/signature.js.map +1 -1
  230. package/js/utils/quotation.js +5 -3
  231. package/js/utils/quotation.js.map +1 -1
  232. package/package.json +1 -1
  233. package/ts/api/resources/AccountingFiles.ts +5 -2
  234. package/ts/api/resources/CashAndExpense.ts +31 -0
  235. package/ts/api/resources/FIle.ts +5 -0
  236. package/ts/api/resources/Mail.ts +5 -0
  237. package/ts/api/resources/Prestations.ts +9 -0
  238. package/ts/api/resources.ts +2 -0
  239. package/ts/types/Enum/Account.ts +8 -0
  240. package/ts/types/Enum/BalanceSheet.ts +1 -1
  241. package/ts/types/Enum/BrandClementine.ts +2 -2
  242. package/ts/types/Enum/CashDeskTransactionType.ts +6 -0
  243. package/ts/types/Enum/Compensation.ts +14 -0
  244. package/ts/types/Enum/ConstitutionState.ts +4 -4
  245. package/ts/types/Enum/InternalService.ts +12 -0
  246. package/ts/types/Enum/JobTitle.ts +36 -0
  247. package/ts/types/Enum/Log.ts +202 -1
  248. package/ts/types/Enum/MealExpenseThresholds.ts +6 -2
  249. package/ts/types/Enum/PrestationType.ts +1 -1
  250. package/ts/types/Enum/ReportService.ts +20 -8
  251. package/ts/types/Enum/Role.ts +2 -0
  252. package/ts/types/Enum/RoleDetail.ts +15 -1
  253. package/ts/types/Enum/TaskResponseType.ts +57 -0
  254. package/ts/types/Enum/ThirdParty.ts +6 -0
  255. package/ts/types/Interface/api/accountingFiles/queryAccountingFiles.ts +4 -1
  256. package/ts/types/Interface/api/archive/ImportSocietyArchive.ts +1 -1
  257. package/ts/types/Interface/api/cashAndExpense/Create.ts +67 -0
  258. package/ts/types/Interface/api/file/Query.ts +6 -0
  259. package/ts/types/Interface/api/generalLedger/IGeneralLedgerAccount.ts +3 -1
  260. package/ts/types/Interface/api/prestation/QueryCreatePrestationSocieties.ts +27 -0
  261. package/ts/types/Interface/api/report/ReadReportStats.ts +2 -1
  262. package/ts/types/Interface/api/taxDeadline/QueryTaxDeadline.ts +7 -3
  263. package/ts/types/Interface/models/IAccountingTransaction.ts +2 -0
  264. package/ts/types/Interface/models/IApiError.ts +3 -0
  265. package/ts/types/Interface/models/IEstimateInvoice.ts +1 -0
  266. package/ts/types/Interface/models/IExercice.ts +2 -0
  267. package/ts/types/Interface/models/IKilometricAllowanceScale.ts +1 -0
  268. package/ts/types/Interface/models/ILog.ts +0 -2
  269. package/ts/types/Interface/models/IPayment.ts +1 -0
  270. package/ts/types/Interface/models/IRegulate.ts +5 -3
  271. package/ts/types/Interface/models/IReport.ts +3 -0
  272. package/ts/types/Interface/models/ISociety.ts +2 -0
  273. package/ts/types/Interface/models/IThirdPartySociety.ts +5 -0
  274. package/ts/types/index.ts +6 -0
  275. package/ts/utils/email/templates/signature.ts +6 -7
  276. package/ts/utils/quotation.ts +5 -3
@@ -33,7 +33,208 @@ export enum LogType {
33
33
  UNPAID = 21,
34
34
  DELETE = 22,
35
35
  REGULATION_DELETE = 23,
36
+ TERMINATION = 24,
37
+ CHECKLIST = 25,
36
38
  TRANSACTION_DELETE = 26,
37
39
  INPI_DELETE = 27,
38
40
  VALIDATE_CALENDAR = 28,
39
- }
41
+ INACTIVITY = 29,
42
+ SOCIAL = 30,
43
+ CONSTITUTION = 31,
44
+ APPROBATION = 32,
45
+ }
46
+
47
+ export const LogTypeDetail = {
48
+ VAT: {
49
+ id: LogType.VAT,
50
+ label: 'TVA',
51
+ color: 'light-blue darken-1',
52
+ icon: null,
53
+ },
54
+ TAX: {
55
+ id: LogType.TAX,
56
+ label: 'IS',
57
+ color: 'teal darken-1',
58
+ icon: null,
59
+ },
60
+ BALANCESHEET: {
61
+ id: LogType.BALANCESHEET,
62
+ label: 'Bilan',
63
+ color: 'light-greendarken-1',
64
+ icon: null,
65
+ },
66
+ SUPERVISION: {
67
+ id: LogType.SUPERVISION,
68
+ label: 'Supervision',
69
+ color: 'amber darken-1',
70
+ icon: null,
71
+ },
72
+ TASK: {
73
+ id: LogType.TASK,
74
+ label: 'Tâche',
75
+ color: 'green darken-1',
76
+ icon: null,
77
+ },
78
+ COMMENT: {
79
+ id: LogType.COMMENT,
80
+ label: 'Commentaire',
81
+ color: 'blue-grey darken-1',
82
+ icon: null,
83
+ },
84
+ MAIL: {
85
+ id: LogType.MAIL,
86
+ label: 'Mail',
87
+ color: 'grey',
88
+ icon: null,
89
+ },
90
+ REPORT: {
91
+ id: LogType.REPORT,
92
+ label: 'Signalement',
93
+ color: 'lred darken-2',
94
+ icon: null,
95
+ },
96
+ EXPORT: {
97
+ id: LogType.EXPORT,
98
+ label: 'Exportation',
99
+ color: 'cyan darken-1',
100
+ icon: null,
101
+ },
102
+ REVISION: {
103
+ id: LogType.REVISION,
104
+ label: 'Révision',
105
+ color: null,
106
+ icon: null,
107
+ },
108
+ ARCHIVING: {
109
+ id: LogType.ARCHIVING,
110
+ label: 'Archivage',
111
+ color: 'grey lighten-1',
112
+ icon: null,
113
+ },
114
+ UNARCHIVING: {
115
+ id: LogType.UNARCHIVING,
116
+ label: 'Désarchivage',
117
+ color: 'grey lighten-2',
118
+ icon: null,
119
+ },
120
+ PAYMENT_DELETED: {
121
+ id: LogType.PAYMENT_DELETED,
122
+ label: 'Paiement supprimé',
123
+ color: 'red',
124
+ icon: null,
125
+ },
126
+ LOGIN: {
127
+ id: LogType.LOGIN,
128
+ label: 'Connexion',
129
+ color: 'grey darken-2',
130
+ icon: null,
131
+ },
132
+ PAUSE: {
133
+ id: LogType.PAUSE,
134
+ label: 'Pause',
135
+ color: 'grey darken-2',
136
+ icon: null,
137
+ },
138
+ DAY_END: {
139
+ id: LogType.DAY_END,
140
+ label: 'Journée terminée',
141
+ color: 'grey darken-2',
142
+ icon: null,
143
+ },
144
+ GENERIC_ACCOUNT: {
145
+ id: LogType.GENERIC_ACCOUNT,
146
+ label: 'Plan comptable générique',
147
+ color: 'purple darken-4',
148
+ icon: null,
149
+ },
150
+ BANK_ACCOUNT_FUSION: {
151
+ id: LogType.BANK_ACCOUNT_FUSION,
152
+ label: 'Fusion compte bancaire',
153
+ color: 'purple',
154
+ icon: null,
155
+ },
156
+ IMPORT: {
157
+ id: LogType.IMPORT,
158
+ label: 'Importation',
159
+ color: 'cyan darken-1',
160
+ icon: null,
161
+ },
162
+ PAUSE_END: {
163
+ id: LogType.PAUSE_END,
164
+ label: 'Pause terminée',
165
+ color: 'cyan darken-1',
166
+ icon: null,
167
+ },
168
+ UNPAID: {
169
+ id: LogType.UNPAID,
170
+ label: 'Impayé',
171
+ color: 'red lighten-2',
172
+ icon: null,
173
+ },
174
+ DELETE: {
175
+ id: LogType.DELETE,
176
+ label: 'Suppression',
177
+ color: 'cyan darken-1',
178
+ icon: null,
179
+ },
180
+ REGULATION_DELETE: {
181
+ id: LogType.REGULATION_DELETE,
182
+ label: 'Suppression régule',
183
+ color: '#c21530',
184
+ icon: null,
185
+ },
186
+ TERMINATION: {
187
+ id: LogType.TERMINATION,
188
+ label: 'Résiliation',
189
+ color: 'cyan darken-1',
190
+ icon: null,
191
+ },
192
+ CHECKLIST: {
193
+ id: LogType.CHECKLIST,
194
+ label: 'Checklist',
195
+ color: 'cyan darken-1',
196
+ icon: null,
197
+ },
198
+ TRANSACTION_DELETE: {
199
+ id: LogType.TRANSACTION_DELETE,
200
+ label: 'Suppression de transaction',
201
+ color: 'red darken-3',
202
+ icon: null,
203
+ },
204
+ INPI_DELETE: {
205
+ id: LogType.INPI_DELETE,
206
+ label: 'Suppression INPI',
207
+ color: 'red darken-2',
208
+ icon: null,
209
+ },
210
+ VALIDATE_CALENDAR: {
211
+ id: LogType.VALIDATE_CALENDAR,
212
+ label: 'Validation de journée',
213
+ color: 'green lighten-1',
214
+ icon: null,
215
+ },
216
+ INACTIVITY: {
217
+ id: LogType.INACTIVITY,
218
+ label: 'Inactivité',
219
+ color: 'red darken-2',
220
+ icon: null,
221
+ },
222
+ SOCIAL: {
223
+ id: LogType.SOCIAL,
224
+ label: 'Social',
225
+ color: 'cyan darken-2',
226
+ icon: null,
227
+ },
228
+ CONSTITUTION: {
229
+ id: LogType.CONSTITUTION,
230
+ label: 'Constitution',
231
+ color: 'blue-grey lighten-1',
232
+ icon: null,
233
+ },
234
+ APPROBATION: {
235
+ id: LogType.APPROBATION,
236
+ label: 'Approbation',
237
+ color: 'blue-grey lighten-2',
238
+ icon: null,
239
+ },
240
+ };
@@ -15,7 +15,11 @@ export const MealExpenseThresholds: IMealExpenseThresholds = {
15
15
  max: 19.10,
16
16
  },
17
17
  2022: {
18
- min: 4.95,
19
- max: 19.10,
18
+ min: 5,
19
+ max: 19.40,
20
+ },
21
+ 2023: {
22
+ min: 5.2,
23
+ max: 20.20,
20
24
  },
21
25
  };
@@ -2976,6 +2976,6 @@ export const PrestationDetail: PrestationDetailEnum = {
2976
2976
  isComplementary: false,
2977
2977
  signaturePosition: '',
2978
2978
  signaturePage: 5,
2979
- point: 0,
2979
+ point: 200,
2980
2980
  },
2981
2981
  };
@@ -1,32 +1,44 @@
1
- import { List } from '../Interface/enum/Util';
1
+ import { RoleDetail } from './RoleDetail';
2
+
3
+ export type ListReport = Array<{ label: string; id: number; idRole: number; idTaskType: number; }>;
2
4
 
3
5
  export enum ReportService {
4
- BENJAMIN = 1,
6
+ REFERENT_LITIGE = 1,
5
7
  COMPTABLE = 2,
6
8
  CUSTOMER_SUCCESS = 3,
7
9
  EXPERT_ACCOUNTANT = 4,
8
- YLANA = 5,
10
+ REFERENT_CLIENT = 5,
9
11
  }
10
12
 
11
- export const ReportServiceList: List = [
13
+ export const ReportServiceList: ListReport = [
12
14
  {
13
- id: ReportService.BENJAMIN,
14
- label: 'Benjamin',
15
+ id: ReportService.REFERENT_LITIGE,
16
+ label: 'Référent litige',
17
+ idRole: RoleDetail.REFERENT_LITIGE.id,
18
+ idTaskType: 12,
15
19
  },
16
20
  {
17
21
  id: ReportService.COMPTABLE,
18
22
  label: 'Comptable',
23
+ idRole: RoleDetail.FRONT_OFFICE.id,
24
+ idTaskType: 16,
19
25
  },
20
26
  {
21
27
  id: ReportService.CUSTOMER_SUCCESS,
22
28
  label: 'Customer Success',
29
+ idRole: RoleDetail.CUSTOMER_SUCCESS.id,
30
+ idTaskType: 14,
23
31
  },
24
32
  {
25
33
  id: ReportService.EXPERT_ACCOUNTANT,
26
34
  label: 'Expert Comptable',
35
+ idRole: RoleDetail.EXPERT_ACCOUNTANT.id,
36
+ idTaskType: 15,
27
37
  },
28
38
  {
29
- id: ReportService.YLANA,
30
- label: 'Ylana',
39
+ id: ReportService.REFERENT_CLIENT,
40
+ label: 'Référent client',
41
+ idRole: RoleDetail.REFERENT_CLIENT.id,
42
+ idTaskType: 13,
31
43
  },
32
44
  ];
@@ -39,4 +39,6 @@ export enum Role {
39
39
  INTERN = 44,
40
40
  ALTERNATE = 45,
41
41
  DIRECTOR = 46,
42
+ REFERENT_LITIGE = 47,
43
+ REFERENT_CLIENT = 48,
42
44
  }
@@ -38,7 +38,7 @@ export const RoleDetail = {
38
38
  colorSecondary: '#DAEEFC',
39
39
  subRole: false,
40
40
  handledInUserSocietyPermissionTable: false,
41
- phoneNumber: '',
41
+ phoneNumber: '+33757597512',
42
42
  phoneNumberPourcentage: '',
43
43
  },
44
44
  SOCIAL: {
@@ -292,4 +292,18 @@ export const RoleDetail = {
292
292
  colorSecondary: '#FFF',
293
293
  subRole: true,
294
294
  },
295
+ REFERENT_LITIGE: {
296
+ id: 47,
297
+ name: 'Référent litige',
298
+ colorPrimary: '#FFF',
299
+ colorSecondary: '#FFF',
300
+ subRole: false,
301
+ },
302
+ REFERENT_CLIENT: {
303
+ id: 48,
304
+ name: 'Référent client',
305
+ colorPrimary: '#FFF',
306
+ colorSecondary: '#FFF',
307
+ subRole: false,
308
+ },
295
309
  };
@@ -33,6 +33,8 @@ export enum RoleAvailableForTask {
33
33
  COMMERCIAL = Role.COMMERCIAL,
34
34
  // BACK_MANAGER = Role.BACK_MANAGER,
35
35
  EXPERT_ACCOUNTANT = Role.EXPERT_ACCOUNTANT,
36
+ REFERENT_CLIENT = Role.EXPERT_ACCOUNTANT,
37
+ REFERENT_LITIGE = Role.EXPERT_ACCOUNTANT,
36
38
  }
37
39
 
38
40
  export const TaskResponseType = {
@@ -161,6 +163,61 @@ export const TaskResponseType = {
161
163
  responseType: null,
162
164
  description: 'Est-ce que nous pouvons réaliser le bilan 2020 de ce client ?',
163
165
  },
166
+ {
167
+ id: 12,
168
+ label: 'Référent litige',
169
+ role: Role.REFERENT_LITIGE,
170
+ deadline: Deadline,
171
+ isForWholeRole: false,
172
+ backToClient: false,
173
+ goToCalendar: false,
174
+ responseType: null,
175
+ description: 'Signalement pour référent litige',
176
+ },
177
+ {
178
+ id: 13,
179
+ label: 'Référent client',
180
+ role: Role.REFERENT_CLIENT,
181
+ deadline: Deadline,
182
+ isForWholeRole: false,
183
+ backToClient: false,
184
+ goToCalendar: false,
185
+ responseType: null,
186
+ description: 'Signalement pour référent client',
187
+ },
188
+ {
189
+ id: 14,
190
+ label: 'Administratif',
191
+ role: Role.ADMIN,
192
+ deadline: Deadline,
193
+ isForWholeRole: false,
194
+ backToClient: false,
195
+ goToCalendar: false,
196
+ responseType: null,
197
+ description: 'Signalement pour administratif',
198
+ },
199
+ {
200
+ id: 15,
201
+ label: 'Expert-Comptable',
202
+ role: Role.EXPERT_ACCOUNTANT,
203
+ deadline: Deadline,
204
+ isForWholeRole: false,
205
+ backToClient: false,
206
+ goToCalendar: false,
207
+ responseType: null,
208
+ description: 'Signalement pour expert-comptable',
209
+ },
210
+ {
211
+ id: 16,
212
+ label: 'Comptable',
213
+ role: Role.FRONT_OFFICE,
214
+ deadline: Deadline,
215
+ isForWholeRole: false,
216
+ backToClient: false,
217
+ goToCalendar: false,
218
+ responseType: null,
219
+ description: 'Signalement pour comptable',
220
+ },
164
221
  ],
165
222
  },
166
223
  EXTERN: {
@@ -0,0 +1,6 @@
1
+ export const ThirdParty = {
2
+ ASSOCIATE_CURRENT_ACCOUNT: {
3
+ id: 1140,
4
+ idAccount: 229,
5
+ },
6
+ };
@@ -1,4 +1,4 @@
1
- import { ApiProperty } from '../../../../utils';
1
+ import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
2
2
  import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
3
3
 
4
4
  export class QueryAccountingFiles {
@@ -19,4 +19,7 @@ export class QueryAccountingFiles {
19
19
 
20
20
  @ApiProperty()
21
21
  files: File[];
22
+
23
+ @ApiPropertyOptional()
24
+ emissionDate?: string;
22
25
  }
@@ -4,5 +4,5 @@ import { ApiPropertyOptional } from '../../../../utils';
4
4
  export class ImportSocietyArchive {
5
5
  @ApiPropertyOptional()
6
6
  @IsOptional()
7
- destinationBucket: string | null;
7
+ sourceBucket: string | null;
8
8
  }
@@ -0,0 +1,67 @@
1
+ import { IsBoolean, IsOptional } from 'class-validator';
2
+ import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
3
+ import { CashDeskTransactionType } from '../../../Enum/CashDeskTransactionType';
4
+ import { FormEntry } from '../accountingEntry/AnnotateAccountingTransaction';
5
+ import { TFile } from '../file/TFile';
6
+ import { AccountingJournal } from '../../../Enum/AccountingJournal';
7
+ import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
8
+
9
+ export class CreateCashDesk {
10
+ @ApiProperty()
11
+ dateStart: Date;
12
+
13
+ @ApiProperty()
14
+ amountStart: number;
15
+ }
16
+
17
+ export class CreateCashAndExpenseTransaction {
18
+ @ApiProperty()
19
+ dateValue: string;
20
+
21
+ @ApiProperty()
22
+ idAccountingJournal: AccountingJournal;
23
+
24
+ @ApiProperty()
25
+ entries: FormEntry[];
26
+
27
+ @ApiPropertyOptional()
28
+ @IsOptional()
29
+ idSocietyPartner?: number;
30
+
31
+ @ApiPropertyOptional()
32
+ @IsOptional()
33
+ cashDeskTransactionType?: CashDeskTransactionType;
34
+
35
+ @ApiPropertyOptional()
36
+ @IsOptional()
37
+ @IsBoolean()
38
+ @ToBoolean()
39
+ bypassAmountLimit?: boolean;
40
+
41
+ @ApiPropertyOptional()
42
+ @IsOptional()
43
+ file?: TFile;
44
+ }
45
+
46
+ export class CreateKilometricAllowance {
47
+ @ApiProperty()
48
+ idSocietyVehicle: number;
49
+
50
+ @ApiProperty()
51
+ dateValue: Date;
52
+
53
+ @ApiProperty()
54
+ distance: number;
55
+
56
+ @ApiProperty()
57
+ reason: string;
58
+
59
+ @ApiProperty()
60
+ departureCity: string;
61
+
62
+ @ApiProperty()
63
+ arrivalCity: string;
64
+
65
+ @ApiProperty()
66
+ idSocietyPartner: number;
67
+ }
@@ -0,0 +1,6 @@
1
+ import { ApiProperty } from '../../../../utils';
2
+
3
+ export class QueryFileBuffer {
4
+ @ApiProperty()
5
+ folder: string;
6
+ }
@@ -1,7 +1,9 @@
1
1
  import { IGeneralLedgerAccountingEntry } from './IGeneralLedgerAccountingEntry';
2
2
 
3
3
  export interface IGeneralLedgerAccount {
4
- number: number
4
+ id: number;
5
+ deletedAt: Date | null;
6
+ number: number;
5
7
  name: string,
6
8
  totalCredit: number
7
9
  totalDebit: number
@@ -0,0 +1,27 @@
1
+ import {
2
+ IsArray, IsDate, IsInt, IsNumber,
3
+ } from 'class-validator';
4
+ import { ApiProperty } from '../../../../utils';
5
+
6
+ export class QueryCreatePrestationSocieties {
7
+ @ApiProperty({
8
+ description: 'array of id society',
9
+ required: true,
10
+ type: [Number],
11
+ example: [1, 13],
12
+ })
13
+ @IsArray()
14
+ societiesIds: number[];
15
+
16
+ @ApiProperty()
17
+ @IsDate()
18
+ datePayment: Date;
19
+
20
+ @ApiProperty()
21
+ @IsInt()
22
+ idPrestationList: number;
23
+
24
+ @ApiProperty()
25
+ @IsNumber()
26
+ amount: number;
27
+ }
@@ -2,5 +2,6 @@ import { IReport } from '../../..';
2
2
 
3
3
  export interface ReadReportStats extends IReport {
4
4
  monthNumber: number,
5
- count: number
5
+ count: number,
6
+ compensationAmount: number
6
7
  }
@@ -1,5 +1,5 @@
1
1
  import {
2
- IsOptional, IsEnum, IsNumber, IsDateString, IsString, IsArray, IsBoolean,
2
+ IsOptional, IsEnum, IsDateString, IsString, IsArray, IsBoolean, IsNumber,
3
3
  } from 'class-validator';
4
4
  import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
5
5
  import {
@@ -113,8 +113,7 @@ export class QueryTaxDeadlineStatistics {
113
113
 
114
114
  export class QueryCompanyTaxesByCollaborater {
115
115
  @ApiProperty({ description: 'Id collaborater' })
116
- @IsNumber()
117
- idUser: number;
116
+ idUser: number | number[];
118
117
 
119
118
  @ApiProperty()
120
119
  @IsDateString()
@@ -128,6 +127,11 @@ export class QueryCompanyTaxesByCollaborater {
128
127
  @IsString()
129
128
  @IsOptional()
130
129
  search?: string;
130
+
131
+ @ApiPropertyOptional()
132
+ @IsNumber()
133
+ @IsOptional()
134
+ idState?: TaxState;
131
135
  }
132
136
 
133
137
  export class QueryVatDeadline extends RequiredQueryPaginate {
@@ -11,6 +11,7 @@ import { IComptaType } from './IComptaType';
11
11
  import { IPartnerTransaction } from './IPartnerTransaction';
12
12
  import { ICurrency } from './ICurrency';
13
13
  import { IMachineLearningResult } from './IMachineLearningResult';
14
+ import { ISocietyPartner } from './ISocietyPartner';
14
15
 
15
16
  // accountingTransactions
16
17
  export interface IAccountingTransaction {
@@ -74,4 +75,5 @@ export interface IAccountingTransaction {
74
75
  parents?: IAccountingTransaction[];
75
76
  childs?: IAccountingTransaction[];
76
77
  machineLearningResults?: IMachineLearningResult[];
78
+ societyPartner?: ISocietyPartner;
77
79
  }
@@ -184,6 +184,9 @@ export enum Code {
184
184
  CAN_NOT_DELETE_DOCUMENT = 'can_not_delete_document',
185
185
  CAN_NOT_EDIT_INVOICE = 'can_not_edit_invoice',
186
186
  INVALID_INVOICE_TYPE = 'invalid_invoice_type',
187
+
188
+ // Expense Notes
189
+ LIMIT_MONTH_REACHED = 'limit_month_reached',
187
190
  }
188
191
 
189
192
  export interface IApiError {
@@ -35,6 +35,7 @@ export interface IEstimateInvoice {
35
35
  vatMention: string | null;
36
36
  freeText: string | null;
37
37
  greetings: boolean;
38
+ paymentType: string | null;
38
39
  generalComment: string | null;
39
40
  generalDiscount2: number | null;
40
41
  lastRelanceDate: Date | null;
@@ -11,6 +11,7 @@ import { IFile } from './IFile';
11
11
  import { ISociety } from './ISociety';
12
12
  import { IExerciceDetail } from './IExerciceDetail';
13
13
  import { IBalanceSheetModule } from './IBalanceSheetModule';
14
+ import { IRegistration } from './IRegistration';
14
15
 
15
16
  // exercices
16
17
  export interface IExercice {
@@ -60,4 +61,5 @@ export interface IExercice {
60
61
  society?: ISociety;
61
62
  exerciceDetail?: IExerciceDetail;
62
63
  exerciceBalanceSheetModule?: IBalanceSheetModule;
64
+ registrations: IRegistration[];
63
65
  }
@@ -4,6 +4,7 @@ export interface IKilometricAllowanceScale {
4
4
  power: number;
5
5
  amount: number;
6
6
  idTypeVehicle: number;
7
+ year: number;
7
8
  createdAt?: Date | null;
8
9
  updatedAt?: Date | null;
9
10
  }
@@ -1,7 +1,6 @@
1
1
  import { IUser } from './IUser';
2
2
  import { ISociety } from './ISociety';
3
3
  import { IExercice } from './IExercice';
4
- import { ILogType } from './ILogType';
5
4
 
6
5
  // logs
7
6
  export interface ILog {
@@ -23,5 +22,4 @@ export interface ILog {
23
22
  user: IUser;
24
23
  society: ISociety;
25
24
  exercice: IExercice;
26
- typeLog: ILogType;
27
25
  }
@@ -16,6 +16,7 @@ export interface IPayment {
16
16
  toCollect?: boolean;
17
17
  isAsset?: boolean;
18
18
  isFree?: boolean;
19
+ isHiddenCustomer?: boolean;
19
20
  dateOverdue?: Date | null;
20
21
  datePayment: Date;
21
22
  comment?: string | null;
@@ -1,4 +1,4 @@
1
- import { ISociety, IUser } from '../..';
1
+ import { IPrestation, ISociety, IUser } from '../..';
2
2
 
3
3
  // regulates
4
4
  export interface IRegulate {
@@ -8,10 +8,12 @@ export interface IRegulate {
8
8
  canceled: boolean;
9
9
  idUser: number;
10
10
  idSociety: number;
11
+ idPrestation?: number;
11
12
  idType: number;
12
13
  createdAt?: Date | null;
13
14
  updatedAt?: Date | null;
14
15
 
15
- society: ISociety;
16
- user: IUser;
16
+ society?: ISociety;
17
+ user?: IUser;
18
+ prestation?: IPrestation;
17
19
  }
@@ -10,6 +10,9 @@ export interface IReport {
10
10
  idLetterType?: number | null;
11
11
  declareSoupcons?: boolean | null;
12
12
  state?: number | null;
13
+ compensationAmount?: number | null;
14
+ compensationDate?: Date | null;
15
+ compensationType?: number | null;
13
16
  informerjlb?: boolean | null;
14
17
  ressenti?: number | null;
15
18
  action?: number | null;