@silexpert/core 1.1.7 → 1.1.8

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 (273) hide show
  1. package/es/api/resources/Notification.d.ts +3 -0
  2. package/es/api/resources/Notification.d.ts.map +1 -1
  3. package/es/api/resources/Notification.js +7 -1
  4. package/es/api/resources/Notification.js.map +1 -1
  5. package/es/api/resources/Team.d.ts +30 -0
  6. package/es/api/resources/Team.d.ts.map +1 -0
  7. package/es/api/resources/Team.js +37 -0
  8. package/es/api/resources/Team.js.map +1 -0
  9. package/es/api/resources/Vat.js +1 -1
  10. package/es/api/resources/Vat.js.map +1 -1
  11. package/es/api/resources.d.ts +2 -0
  12. package/es/api/resources.d.ts.map +1 -1
  13. package/es/api/resources.js +2 -0
  14. package/es/api/resources.js.map +1 -1
  15. package/es/types/Enum/BrandClementine.d.ts +0 -126
  16. package/es/types/Enum/BrandClementine.d.ts.map +1 -1
  17. package/es/types/Enum/BrandClementine.js +0 -109
  18. package/es/types/Enum/BrandClementine.js.map +1 -1
  19. package/es/types/Enum/BrandComptalib.d.ts +0 -83
  20. package/es/types/Enum/BrandComptalib.d.ts.map +1 -1
  21. package/es/types/Enum/BrandComptalib.js +0 -77
  22. package/es/types/Enum/BrandComptalib.js.map +1 -1
  23. package/es/types/Enum/BrandPourcentage.d.ts.map +1 -1
  24. package/es/types/Enum/BrandPourcentage.js +436 -1
  25. package/es/types/Enum/BrandPourcentage.js.map +1 -1
  26. package/es/types/Enum/CommercialImportHeader.d.ts.map +1 -1
  27. package/es/types/Enum/CommercialImportHeader.js +23 -16
  28. package/es/types/Enum/CommercialImportHeader.js.map +1 -1
  29. package/es/types/Enum/EntityType.d.ts +18 -0
  30. package/es/types/Enum/EntityType.d.ts.map +1 -0
  31. package/es/types/Enum/EntityType.js +66 -0
  32. package/es/types/Enum/EntityType.js.map +1 -0
  33. package/es/types/Enum/NotificationType.d.ts +15 -2
  34. package/es/types/Enum/NotificationType.d.ts.map +1 -1
  35. package/es/types/Enum/NotificationType.js +41 -5
  36. package/es/types/Enum/NotificationType.js.map +1 -1
  37. package/es/types/Enum/Phone.js +1 -1
  38. package/es/types/Enum/Phone.js.map +1 -1
  39. package/es/types/Enum/ReasonTerminationType.d.ts +23 -0
  40. package/es/types/Enum/ReasonTerminationType.d.ts.map +1 -0
  41. package/es/types/Enum/ReasonTerminationType.js +86 -0
  42. package/es/types/Enum/ReasonTerminationType.js.map +1 -0
  43. package/es/types/Enum/RegistrationSource.d.ts +1 -0
  44. package/es/types/Enum/RegistrationSource.d.ts.map +1 -1
  45. package/es/types/Enum/RegistrationSource.js +1 -0
  46. package/es/types/Enum/RegistrationSource.js.map +1 -1
  47. package/es/types/Enum/RemoteType.d.ts +10 -0
  48. package/es/types/Enum/RemoteType.d.ts.map +1 -0
  49. package/es/types/Enum/RemoteType.js +21 -0
  50. package/es/types/Enum/RemoteType.js.map +1 -0
  51. package/es/types/Enum/TaxSystem.d.ts +2 -0
  52. package/es/types/Enum/TaxSystem.d.ts.map +1 -1
  53. package/es/types/Enum/TaxSystem.js +14 -0
  54. package/es/types/Enum/TaxSystem.js.map +1 -1
  55. package/es/types/Enum/TimeRecorderLocation.d.ts +0 -4
  56. package/es/types/Enum/TimeRecorderLocation.d.ts.map +1 -1
  57. package/es/types/Enum/TimeRecorderLocation.js +0 -3
  58. package/es/types/Enum/TimeRecorderLocation.js.map +1 -1
  59. package/es/types/Interface/api/appNotification/Update.d.ts +5 -0
  60. package/es/types/Interface/api/appNotification/Update.d.ts.map +1 -0
  61. package/es/types/Interface/api/appNotification/Update.js +25 -0
  62. package/es/types/Interface/api/appNotification/Update.js.map +1 -0
  63. package/es/types/Interface/api/aspone/ReadInterchange.d.ts +1 -1
  64. package/es/types/Interface/api/aspone/ReadInterchange.d.ts.map +1 -1
  65. package/es/types/Interface/api/aspone/ReadInterchange.js.map +1 -1
  66. package/es/types/Interface/api/commercialImport/Query.d.ts +1 -1
  67. package/es/types/Interface/api/commercialImport/Query.d.ts.map +1 -1
  68. package/es/types/Interface/api/commercialImport/Query.js.map +1 -1
  69. package/es/types/Interface/api/commercialImport/Read.d.ts +2 -1
  70. package/es/types/Interface/api/commercialImport/Read.d.ts.map +1 -1
  71. package/es/types/Interface/api/commercialImport/Read.js.map +1 -1
  72. package/es/types/Interface/api/companeo/CompaneoReturn.d.ts +21 -3
  73. package/es/types/Interface/api/companeo/CompaneoReturn.d.ts.map +1 -1
  74. package/es/types/Interface/api/companeo/CompaneoReturn.js.map +1 -1
  75. package/es/types/Interface/api/exercice/UpdateExercice.d.ts +1 -0
  76. package/es/types/Interface/api/exercice/UpdateExercice.d.ts.map +1 -1
  77. package/es/types/Interface/api/exercice/UpdateExercice.js +7 -0
  78. package/es/types/Interface/api/exercice/UpdateExercice.js.map +1 -1
  79. package/es/types/Interface/api/notification/CreateNotification.d.ts +2 -2
  80. package/es/types/Interface/api/notification/CreateNotification.d.ts.map +1 -1
  81. package/es/types/Interface/api/notification/CreateNotification.js +2 -2
  82. package/es/types/Interface/api/notification/CreateNotification.js.map +1 -1
  83. package/es/types/Interface/api/notificationSetting/CreateNotificationSetting.d.ts +2 -2
  84. package/es/types/Interface/api/notificationSetting/CreateNotificationSetting.d.ts.map +1 -1
  85. package/es/types/Interface/api/notificationSetting/CreateNotificationSetting.js +2 -2
  86. package/es/types/Interface/api/notificationSetting/CreateNotificationSetting.js.map +1 -1
  87. package/es/types/Interface/api/notificationSetting/UpdateNotificationSetting.d.ts +2 -2
  88. package/es/types/Interface/api/notificationSetting/UpdateNotificationSetting.d.ts.map +1 -1
  89. package/es/types/Interface/api/notificationSetting/UpdateNotificationSetting.js +2 -2
  90. package/es/types/Interface/api/notificationSetting/UpdateNotificationSetting.js.map +1 -1
  91. package/es/types/Interface/api/registration/ReadRegistration.d.ts +1 -0
  92. package/es/types/Interface/api/registration/ReadRegistration.d.ts.map +1 -1
  93. package/es/types/Interface/api/registration/ReadRegistration.js.map +1 -1
  94. package/es/types/Interface/api/registration/UpdateRegistration.d.ts +1 -1
  95. package/es/types/Interface/api/registration/UpdateRegistration.d.ts.map +1 -1
  96. package/es/types/Interface/api/registration/UpdateRegistration.js +1 -1
  97. package/es/types/Interface/api/registration/UpdateRegistration.js.map +1 -1
  98. package/es/types/Interface/api/taxDeadline/QueryTaxDeadline.d.ts +1 -0
  99. package/es/types/Interface/api/taxDeadline/QueryTaxDeadline.d.ts.map +1 -1
  100. package/es/types/Interface/api/taxDeadline/QueryTaxDeadline.js +6 -0
  101. package/es/types/Interface/api/taxDeadline/QueryTaxDeadline.js.map +1 -1
  102. package/es/types/Interface/api/taxDeadline/ReadTaxDeadline.d.ts +2 -0
  103. package/es/types/Interface/api/taxDeadline/ReadTaxDeadline.d.ts.map +1 -1
  104. package/es/types/Interface/api/taxDeadline/ReadTaxDeadline.js.map +1 -1
  105. package/es/types/Interface/api/team/QueryCreate.d.ts +5 -0
  106. package/es/types/Interface/api/team/QueryCreate.d.ts.map +1 -0
  107. package/es/types/Interface/api/{companeo/Query.js → team/QueryCreate.js} +9 -10
  108. package/es/types/Interface/api/team/QueryCreate.js.map +1 -0
  109. package/es/types/Interface/api/team/QueryGetAllWithIncludes.d.ts +5 -0
  110. package/es/types/Interface/api/team/QueryGetAllWithIncludes.d.ts.map +1 -0
  111. package/es/types/Interface/api/team/QueryGetAllWithIncludes.js +28 -0
  112. package/es/types/Interface/api/team/QueryGetAllWithIncludes.js.map +1 -0
  113. package/es/types/Interface/api/team/QueryUpdate.d.ts +7 -0
  114. package/es/types/Interface/api/team/QueryUpdate.d.ts.map +1 -0
  115. package/es/types/Interface/api/team/QueryUpdate.js +38 -0
  116. package/es/types/Interface/api/team/QueryUpdate.js.map +1 -0
  117. package/es/types/Interface/api/timeRecorder/ReadPaginatedDelays.d.ts +1 -1
  118. package/es/types/Interface/api/timeRecorder/ReadPaginatedDelays.d.ts.map +1 -1
  119. package/es/types/Interface/api/timeRecorder/ReadPaginatedDelays.js.map +1 -1
  120. package/es/types/Interface/api/vatDeclaration/QueryVatDeclaration.d.ts +7 -0
  121. package/es/types/Interface/api/vatDeclaration/QueryVatDeclaration.d.ts.map +1 -1
  122. package/es/types/Interface/api/vatDeclaration/QueryVatDeclaration.js +23 -3
  123. package/es/types/Interface/api/vatDeclaration/QueryVatDeclaration.js.map +1 -1
  124. package/es/types/Interface/models/IAppNotification.d.ts +20 -0
  125. package/es/types/Interface/models/IAppNotification.d.ts.map +1 -0
  126. package/es/types/Interface/models/IAppNotification.js +2 -0
  127. package/es/types/Interface/models/IAppNotification.js.map +1 -0
  128. package/es/types/Interface/models/IBalanceSheet.d.ts +2 -0
  129. package/es/types/Interface/models/IBalanceSheet.d.ts.map +1 -1
  130. package/es/types/Interface/models/IBalanceSheet.js.map +1 -1
  131. package/es/types/Interface/models/IMobileNotificationLog.d.ts +2 -2
  132. package/es/types/Interface/models/IMobileNotificationLog.d.ts.map +1 -1
  133. package/es/types/Interface/models/IMobileNotificationLog.js.map +1 -1
  134. package/es/types/Interface/models/IMobileNotificationSetting.d.ts +2 -2
  135. package/es/types/Interface/models/IMobileNotificationSetting.d.ts.map +1 -1
  136. package/es/types/Interface/models/IMobileNotificationSetting.js.map +1 -1
  137. package/es/types/Interface/models/IRegistration.d.ts +2 -2
  138. package/es/types/Interface/models/IRegistration.d.ts.map +1 -1
  139. package/es/types/Interface/models/IRegistration.js.map +1 -1
  140. package/es/types/Interface/models/IUser.d.ts +4 -0
  141. package/es/types/Interface/models/IUser.d.ts.map +1 -1
  142. package/es/types/Interface/models/IUser.js.map +1 -1
  143. package/es/types/Interface/models/IWorkingSchedule.d.ts +2 -0
  144. package/es/types/Interface/models/IWorkingSchedule.d.ts.map +1 -1
  145. package/es/types/Interface/models/IWorkingSchedule.js.map +1 -1
  146. package/es/types/index.d.ts +8 -1
  147. package/es/types/index.d.ts.map +1 -1
  148. package/es/types/index.js +8 -1
  149. package/es/types/index.js.map +1 -1
  150. package/es/utils/vat/registration.js +1 -1
  151. package/es/utils/vat/registration.js.map +1 -1
  152. package/js/api/resources/Notification.js +7 -1
  153. package/js/api/resources/Notification.js.map +1 -1
  154. package/js/api/resources/Team.js +46 -0
  155. package/js/api/resources/Team.js.map +1 -0
  156. package/js/api/resources/Vat.js +1 -1
  157. package/js/api/resources/Vat.js.map +1 -1
  158. package/js/api/resources.js +3 -1
  159. package/js/api/resources.js.map +1 -1
  160. package/js/types/Enum/BrandClementine.js +0 -107
  161. package/js/types/Enum/BrandClementine.js.map +1 -1
  162. package/js/types/Enum/BrandComptalib.js +0 -76
  163. package/js/types/Enum/BrandComptalib.js.map +1 -1
  164. package/js/types/Enum/BrandPourcentage.js +431 -1
  165. package/js/types/Enum/BrandPourcentage.js.map +1 -1
  166. package/js/types/Enum/CommercialImportHeader.js +23 -16
  167. package/js/types/Enum/CommercialImportHeader.js.map +1 -1
  168. package/js/types/Enum/EntityType.js +64 -0
  169. package/js/types/Enum/EntityType.js.map +1 -0
  170. package/js/types/Enum/NotificationType.js +41 -5
  171. package/js/types/Enum/NotificationType.js.map +1 -1
  172. package/js/types/Enum/Phone.js +1 -1
  173. package/js/types/Enum/Phone.js.map +1 -1
  174. package/js/types/Enum/ReasonTerminationType.js +74 -0
  175. package/js/types/Enum/ReasonTerminationType.js.map +1 -0
  176. package/js/types/Enum/RegistrationSource.js +1 -0
  177. package/js/types/Enum/RegistrationSource.js.map +1 -1
  178. package/js/types/Enum/RemoteType.js +22 -0
  179. package/js/types/Enum/RemoteType.js.map +1 -0
  180. package/js/types/Enum/TaxSystem.js +10 -0
  181. package/js/types/Enum/TaxSystem.js.map +1 -1
  182. package/js/types/Enum/TimeRecorderLocation.js +0 -4
  183. package/js/types/Enum/TimeRecorderLocation.js.map +1 -1
  184. package/js/types/Interface/api/appNotification/Update.js +24 -0
  185. package/js/types/Interface/api/appNotification/Update.js.map +1 -0
  186. package/js/types/Interface/api/aspone/ReadInterchange.js.map +1 -1
  187. package/js/types/Interface/api/commercialImport/Query.js.map +1 -1
  188. package/js/types/Interface/api/commercialImport/Read.js.map +1 -1
  189. package/js/types/Interface/api/companeo/CompaneoReturn.js.map +1 -1
  190. package/js/types/Interface/api/exercice/UpdateExercice.js +1 -0
  191. package/js/types/Interface/api/exercice/UpdateExercice.js.map +1 -1
  192. package/js/types/Interface/api/notification/CreateNotification.js +1 -1
  193. package/js/types/Interface/api/notification/CreateNotification.js.map +1 -1
  194. package/js/types/Interface/api/notificationSetting/CreateNotificationSetting.js +1 -1
  195. package/js/types/Interface/api/notificationSetting/CreateNotificationSetting.js.map +1 -1
  196. package/js/types/Interface/api/notificationSetting/UpdateNotificationSetting.js +1 -1
  197. package/js/types/Interface/api/notificationSetting/UpdateNotificationSetting.js.map +1 -1
  198. package/js/types/Interface/api/registration/ReadRegistration.js.map +1 -1
  199. package/js/types/Interface/api/registration/UpdateRegistration.js +1 -1
  200. package/js/types/Interface/api/registration/UpdateRegistration.js.map +1 -1
  201. package/js/types/Interface/api/taxDeadline/QueryTaxDeadline.js +3 -0
  202. package/js/types/Interface/api/taxDeadline/QueryTaxDeadline.js.map +1 -1
  203. package/js/types/Interface/api/taxDeadline/ReadTaxDeadline.js.map +1 -1
  204. package/js/types/Interface/api/{companeo/Query.js → team/QueryCreate.js} +6 -6
  205. package/js/types/Interface/api/team/QueryCreate.js.map +1 -0
  206. package/js/types/Interface/api/team/QueryGetAllWithIncludes.js +24 -0
  207. package/js/types/Interface/api/team/QueryGetAllWithIncludes.js.map +1 -0
  208. package/js/types/Interface/api/team/QueryUpdate.js +25 -0
  209. package/js/types/Interface/api/team/QueryUpdate.js.map +1 -0
  210. package/js/types/Interface/api/timeRecorder/ReadPaginatedDelays.js.map +1 -1
  211. package/js/types/Interface/api/vatDeclaration/QueryVatDeclaration.js +9 -2
  212. package/js/types/Interface/api/vatDeclaration/QueryVatDeclaration.js.map +1 -1
  213. package/js/types/Interface/models/IAppNotification.js +6 -0
  214. package/js/types/Interface/models/IAppNotification.js.map +1 -0
  215. package/js/types/Interface/models/IBalanceSheet.js.map +1 -1
  216. package/js/types/Interface/models/IMobileNotificationLog.js.map +1 -1
  217. package/js/types/Interface/models/IMobileNotificationSetting.js.map +1 -1
  218. package/js/types/Interface/models/IRegistration.js.map +1 -1
  219. package/js/types/Interface/models/IUser.js.map +1 -1
  220. package/js/types/Interface/models/IWorkingSchedule.js.map +1 -1
  221. package/js/types/index.js +106 -36
  222. package/js/types/index.js.map +1 -1
  223. package/js/utils/vat/registration.js +1 -1
  224. package/js/utils/vat/registration.js.map +1 -1
  225. package/package.json +1 -1
  226. package/ts/api/resources/Notification.ts +10 -1
  227. package/ts/api/resources/Team.ts +43 -0
  228. package/ts/api/resources/Vat.ts +1 -1
  229. package/ts/api/resources.ts +2 -0
  230. package/ts/types/Enum/BrandClementine.ts +0 -109
  231. package/ts/types/Enum/BrandComptalib.ts +0 -77
  232. package/ts/types/Enum/BrandPourcentage.ts +436 -1
  233. package/ts/types/Enum/CommercialImportHeader.ts +23 -16
  234. package/ts/types/Enum/EntityType.ts +65 -0
  235. package/ts/types/Enum/NotificationType.ts +49 -2
  236. package/ts/types/Enum/Phone.ts +1 -1
  237. package/ts/types/Enum/ReasonTerminationType.ts +85 -0
  238. package/ts/types/Enum/RegistrationSource.ts +1 -0
  239. package/ts/types/Enum/RemoteType.ts +20 -0
  240. package/ts/types/Enum/TaxSystem.ts +18 -1
  241. package/ts/types/Enum/TimeRecorderLocation.ts +0 -4
  242. package/ts/types/Interface/api/appNotification/Update.ts +13 -0
  243. package/ts/types/Interface/api/aspone/ReadInterchange.ts +1 -1
  244. package/ts/types/Interface/api/commercialImport/Query.ts +2 -1
  245. package/ts/types/Interface/api/commercialImport/Read.ts +2 -1
  246. package/ts/types/Interface/api/companeo/CompaneoReturn.ts +23 -3
  247. package/ts/types/Interface/api/exercice/UpdateExercice.ts +6 -0
  248. package/ts/types/Interface/api/notification/CreateNotification.ts +3 -3
  249. package/ts/types/Interface/api/notificationSetting/CreateNotificationSetting.ts +3 -3
  250. package/ts/types/Interface/api/notificationSetting/UpdateNotificationSetting.ts +3 -3
  251. package/ts/types/Interface/api/registration/ReadRegistration.ts +1 -0
  252. package/ts/types/Interface/api/registration/UpdateRegistration.ts +1 -1
  253. package/ts/types/Interface/api/taxDeadline/QueryTaxDeadline.ts +5 -0
  254. package/ts/types/Interface/api/taxDeadline/ReadTaxDeadline.ts +2 -0
  255. package/ts/types/Interface/api/team/QueryCreate.ts +13 -0
  256. package/ts/types/Interface/api/team/QueryGetAllWithIncludes.ts +16 -0
  257. package/ts/types/Interface/api/team/QueryUpdate.ts +26 -0
  258. package/ts/types/Interface/api/timeRecorder/ReadPaginatedDelays.ts +2 -2
  259. package/ts/types/Interface/api/vatDeclaration/QueryVatDeclaration.ts +19 -2
  260. package/ts/types/Interface/models/IAppNotification.ts +22 -0
  261. package/ts/types/Interface/models/IBalanceSheet.ts +2 -0
  262. package/ts/types/Interface/models/IMobileNotificationLog.ts +2 -2
  263. package/ts/types/Interface/models/IMobileNotificationSetting.ts +2 -2
  264. package/ts/types/Interface/models/IRegistration.ts +2 -2
  265. package/ts/types/Interface/models/IUser.ts +4 -0
  266. package/ts/types/Interface/models/IWorkingSchedule.ts +2 -0
  267. package/ts/types/index.ts +9 -2
  268. package/ts/utils/vat/registration.ts +1 -1
  269. package/es/types/Interface/api/companeo/Query.d.ts +0 -5
  270. package/es/types/Interface/api/companeo/Query.d.ts.map +0 -1
  271. package/es/types/Interface/api/companeo/Query.js.map +0 -1
  272. package/js/types/Interface/api/companeo/Query.js.map +0 -1
  273. package/ts/types/Interface/api/companeo/Query.ts +0 -14
@@ -0,0 +1,85 @@
1
+ export enum ReasonTerminationType {
2
+ LIQUIDATION = 1,
3
+ PRICE = 2,
4
+ CHANGE_EC_ONLINE = 3,
5
+ CHANGE_EC_CLASSIC = 4,
6
+ RETIREMENT = 5,
7
+ SELL = 6,
8
+ CONFLICT = 7,
9
+ UNPAYED = 8,
10
+ SOFTWARE = 9,
11
+ RESIGNATION_FROM_THE_MISSION = 10,
12
+ MAIL_LRAR = 11,
13
+ NON_COMPLIANT = 12,
14
+ NO_RESPONSE = 13,
15
+ DISCONTINUED = 14,
16
+ UPDATE = 15,
17
+ ACTIVITY_CESSATION = 16,
18
+ }
19
+
20
+ export const ReasonTerminationTypeDetail = [
21
+ {
22
+ id: ReasonTerminationType.LIQUIDATION,
23
+ label: 'Liquidation',
24
+ },
25
+ {
26
+ id: ReasonTerminationType.PRICE,
27
+ label: 'Prix',
28
+ },
29
+ {
30
+ id: ReasonTerminationType.CHANGE_EC_ONLINE,
31
+ label: 'Changement EC en ligne',
32
+ },
33
+ {
34
+ id: ReasonTerminationType.CHANGE_EC_CLASSIC,
35
+ label: 'Changement EC classique',
36
+ },
37
+ {
38
+ id: ReasonTerminationType.RETIREMENT,
39
+ label: 'Retraite',
40
+ },
41
+ {
42
+ id: ReasonTerminationType.SELL,
43
+ label: 'Vente',
44
+ },
45
+ {
46
+ id: ReasonTerminationType.CONFLICT,
47
+ label: 'Conflit',
48
+ },
49
+ {
50
+ id: ReasonTerminationType.UNPAYED,
51
+ label: 'Impayé',
52
+ },
53
+ {
54
+ id: ReasonTerminationType.SOFTWARE,
55
+ label: 'Logiciel',
56
+ },
57
+ {
58
+ id: ReasonTerminationType.RESIGNATION_FROM_THE_MISSION,
59
+ label: 'Démission de la mission',
60
+ },
61
+ {
62
+ id: ReasonTerminationType.MAIL_LRAR,
63
+ label: 'Mail/LRAR',
64
+ },
65
+ {
66
+ id: ReasonTerminationType.NON_COMPLIANT,
67
+ label: 'Non conforme',
68
+ },
69
+ {
70
+ id: ReasonTerminationType.NO_RESPONSE,
71
+ label: 'Pas de réponse au premier entretien',
72
+ },
73
+ {
74
+ id: ReasonTerminationType.DISCONTINUED,
75
+ label: 'Abandon de constitution',
76
+ },
77
+ {
78
+ id: ReasonTerminationType.UPDATE,
79
+ label: 'Mise à jour du clémentinier',
80
+ },
81
+ {
82
+ id: ReasonTerminationType.ACTIVITY_CESSATION,
83
+ label: 'Cessation d\'activité',
84
+ },
85
+ ];
@@ -1,6 +1,7 @@
1
1
  export enum RegistrationSource {
2
2
  INCOMING_CALL = 2,
3
3
  CHAT = 29,
4
+ COMPANEO = 32,
4
5
  ONLINE_SUBSCRIPTION = 70,
5
6
  PARTNERED_ACCOUNTANT = 90,
6
7
  }
@@ -0,0 +1,20 @@
1
+ export enum RemoteType {
2
+ PRESENTIAL = 0,
3
+ REMOTE = 1,
4
+ SCHOOL = 2,
5
+ }
6
+
7
+ export const RemoteTypeDetail: Array<{ id: RemoteType, label: string }> = [
8
+ {
9
+ id: RemoteType.PRESENTIAL,
10
+ label: 'Présentiel',
11
+ },
12
+ {
13
+ id: RemoteType.REMOTE,
14
+ label: 'Télétravail',
15
+ },
16
+ {
17
+ id: RemoteType.SCHOOL,
18
+ label: 'Ecole',
19
+ },
20
+ ];
@@ -1,5 +1,22 @@
1
+ import { List } from '../Interface/enum/Util';
2
+
1
3
  export enum TaxSystem {
2
4
  IS = 1,
3
5
  IR = 2,
4
6
  NA = 3,
5
- }
7
+ }
8
+
9
+ export const TaxSystemList: List = [
10
+ {
11
+ id: TaxSystem.IS,
12
+ label: 'IS',
13
+ },
14
+ {
15
+ id: TaxSystem.IR,
16
+ label: 'IR',
17
+ },
18
+ {
19
+ id: TaxSystem.NA,
20
+ label: 'N/A',
21
+ },
22
+ ];
@@ -6,8 +6,4 @@ export const TimeRecorderLocation = {
6
6
  id: 5,
7
7
  name: 'Télétravail',
8
8
  },
9
- WITHOUT_PLACE: {
10
- id: 6,
11
- name: 'NC',
12
- },
13
9
  };
@@ -0,0 +1,13 @@
1
+ import { IsBoolean } from 'class-validator';
2
+ import { ApiPropertyOptional, ApiProperty } from '../../../../utils';
3
+ import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
4
+
5
+ export class UpdateAppNotificationStatus {
6
+ @ApiPropertyOptional()
7
+ idNotifications?: number[] | null;
8
+
9
+ @ApiProperty()
10
+ @IsBoolean()
11
+ @ToBoolean()
12
+ markAsRead: boolean;
13
+ }
@@ -1,7 +1,7 @@
1
1
  import { AsponeFormFields } from '../cerfa/ReadCerfa';
2
2
 
3
3
  export type PaymentState = {
4
- isError: boolean;
4
+ isError: boolean | null;
5
5
  details: string[];
6
6
  };
7
7
 
@@ -11,7 +11,8 @@ export type HeadersMappingImport =
11
11
  'customerName' |
12
12
  'invoiceNumber' |
13
13
  'taxIncludedAmount' |
14
- 'taxExcludedAmount' |
14
+ 'taxExcludedAmount_0' |
15
+ 'amountVat_0' |
15
16
  'taxExcludedAmount_2_1' |
16
17
  'amountVat_2_1' |
17
18
  'taxExcludedAmount_5_5' |
@@ -21,7 +21,8 @@ export interface ImportRow {
21
21
 
22
22
  export interface ImportRawRow {
23
23
  taxIncludedAmount: number;
24
- taxExcludedAmount: number;
24
+ taxExcludedAmount_0: number;
25
+ amountVat_0: number;
25
26
  taxExcludedAmount_20: number;
26
27
  amountVat_20: number;
27
28
  taxExcludedAmount_10: number;
@@ -1,3 +1,23 @@
1
+ export interface CompaneoQuestionType {
2
+ $: {
3
+ question_id: number
4
+ },
5
+ value: string,
6
+ reponse: {
7
+ _?: string,
8
+ $: {
9
+ answer_id: number,
10
+ },
11
+ }
12
+ }
13
+
14
+ export interface CompaneoBasicData {
15
+ _?: string,
16
+ $?: {
17
+ code: string,
18
+ }
19
+ }
20
+
1
21
  export interface CompaneoReturn {
2
22
  id: number,
3
23
  lead_id: number,
@@ -7,9 +27,9 @@ export interface CompaneoReturn {
7
27
  civilite: string,
8
28
  nom: string,
9
29
  prenom: string,
10
- activite: string,
11
- poste: string,
12
- fonction: string,
30
+ activite: CompaneoBasicData,
31
+ poste: CompaneoBasicData,
32
+ fonction: CompaneoBasicData,
13
33
  code_postal: string,
14
34
  ville: string,
15
35
  adresse: string,
@@ -63,6 +63,12 @@ export class UpdateExercice {
63
63
  @IsOptional()
64
64
  annualFolderEdition?: boolean;
65
65
 
66
+ @ApiPropertyOptional()
67
+ @IsBoolean()
68
+ @ToBoolean()
69
+ @IsOptional()
70
+ processClossingExercice?: boolean;
71
+
66
72
  @ApiPropertyOptional()
67
73
  @IsNumber()
68
74
  @IsOptional()
@@ -1,12 +1,12 @@
1
1
  import { IsEnum, IsInt } from 'class-validator';
2
2
  import { ApiProperty } from '../../../../utils';
3
- import { NotificationType } from '../../../Enum/NotificationType';
3
+ import { NotificationTypeEnum } from '../../../Enum/NotificationType';
4
4
 
5
5
  export class CreateNotification {
6
6
  @ApiProperty()
7
7
  @IsInt()
8
- @IsEnum(NotificationType)
9
- notificationType: NotificationType;
8
+ @IsEnum(NotificationTypeEnum)
9
+ notificationType: NotificationTypeEnum;
10
10
 
11
11
  @ApiProperty()
12
12
  token: string;
@@ -1,13 +1,13 @@
1
1
  import { IsBoolean, IsEnum, IsInt } from 'class-validator';
2
2
  import { ApiProperty } from '../../../../utils';
3
3
  import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
4
- import { NotificationType } from '../../../Enum/NotificationType';
4
+ import { NotificationTypeEnum } from '../../../Enum/NotificationType';
5
5
 
6
6
  export class CreateNotificationSetting {
7
7
  @ApiProperty()
8
8
  @IsInt()
9
- @IsEnum(NotificationType)
10
- notificationType: NotificationType;
9
+ @IsEnum(NotificationTypeEnum)
10
+ notificationType: NotificationTypeEnum;
11
11
 
12
12
  @ApiProperty()
13
13
  @IsBoolean()
@@ -1,13 +1,13 @@
1
1
  import { IsBoolean, IsEnum, IsInt } from 'class-validator';
2
2
  import { ApiProperty } from '../../../../utils';
3
3
  import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
4
- import { NotificationType } from '../../../Enum/NotificationType';
4
+ import { NotificationTypeEnum } from '../../../Enum/NotificationType';
5
5
 
6
6
  export class UpdateNotificationSetting {
7
7
  @ApiProperty()
8
8
  @IsInt()
9
- @IsEnum(NotificationType)
10
- notificationType: NotificationType;
9
+ @IsEnum(NotificationTypeEnum)
10
+ notificationType: NotificationTypeEnum;
11
11
 
12
12
  @ApiProperty()
13
13
  @IsBoolean()
@@ -35,6 +35,7 @@ export interface ReadVatEntry {
35
35
  date: Date,
36
36
  idAccountingTransaction: number;
37
37
  isRevised: boolean;
38
+ entry?: IAccountingEntry
38
39
  }
39
40
 
40
41
  export type UpdatedAnnotation = Array<{ old: IAccountingEntry[]; new: IAccountingEntry[] }>;
@@ -38,5 +38,5 @@ export class UpdateRegistration {
38
38
 
39
39
  @ApiPropertyOptional()
40
40
  @IsOptional()
41
- payload?: Record<string, string> | null ;
41
+ response?: Record<string, string> | null ;
42
42
  }
@@ -69,6 +69,11 @@ export class QueryTaxDeadline {
69
69
  each: true,
70
70
  })
71
71
  idLegalForm?: string | string[];
72
+
73
+ @ApiPropertyOptional({ description: 'Exercice cloturé ou non' })
74
+ @IsOptional()
75
+ @IsBoolean()
76
+ isClosed?: boolean;
72
77
  }
73
78
 
74
79
  export class QueryTaxDeadlineStatistics {
@@ -74,6 +74,8 @@ export class PrestationTaxDeadline {
74
74
  amount: number;
75
75
  paid: number;
76
76
  isBack: boolean;
77
+ signed: boolean;
78
+ terminationList: ITerminationList | null;
77
79
  }
78
80
 
79
81
  export class ReadVatDeadline {
@@ -0,0 +1,13 @@
1
+ import { IsNumber, IsOptional, IsString } from 'class-validator';
2
+ import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
3
+
4
+ export class QueryCreateTeam {
5
+ @ApiProperty()
6
+ @IsString()
7
+ name: string;
8
+
9
+ @ApiPropertyOptional()
10
+ @IsOptional()
11
+ @IsNumber()
12
+ nbTotalActive?: number;
13
+ }
@@ -0,0 +1,16 @@
1
+ import { IsOptional, IsString, IsBoolean } from 'class-validator';
2
+ import { ApiPropertyOptional } from '../../../../utils';
3
+ import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
4
+
5
+ export class QueryGetAllTeamsWithIncludes {
6
+ @ApiPropertyOptional()
7
+ @IsOptional()
8
+ @IsString()
9
+ search?: string;
10
+
11
+ @ApiPropertyOptional()
12
+ @IsOptional()
13
+ @IsBoolean()
14
+ @ToBoolean()
15
+ displayConnections?: boolean;
16
+ }
@@ -0,0 +1,26 @@
1
+ import {
2
+ IsArray, IsNumber, IsOptional, IsString,
3
+ } from 'class-validator';
4
+ import { ApiPropertyOptional } from '../../../../utils';
5
+
6
+ export class QueryUpdateTeam {
7
+ @ApiPropertyOptional()
8
+ @IsOptional()
9
+ @IsString()
10
+ name?: string;
11
+
12
+ @ApiPropertyOptional()
13
+ @IsOptional()
14
+ @IsNumber()
15
+ nbTotalActive?: number;
16
+
17
+ @ApiPropertyOptional()
18
+ @IsOptional()
19
+ @IsArray()
20
+ usersToAdd?: number[];
21
+
22
+ @ApiPropertyOptional()
23
+ @IsOptional()
24
+ @IsArray()
25
+ usersToDelete?: number[];
26
+ }
@@ -17,11 +17,11 @@ export interface ReadPaginatedDelays {
17
17
  idUser: number;
18
18
  firstname: string;
19
19
  lastname: string;
20
- days: DelaysByDay
20
+ days: DelaysByDay;
21
21
  }
22
22
 
23
23
  export type ReadPlaceToWork = Array< {
24
- location: string;
24
+ location: number;
25
25
  id: number;
26
26
  value: number;
27
27
  }>;
@@ -1,13 +1,30 @@
1
1
  import {
2
- IsDateString, IsEnum, IsString,
2
+ IsDate, IsDateString, IsEnum, IsNumber, IsOptional, IsString,
3
3
  } from 'class-validator';
4
4
  import { CerfaType } from '../../../Enum/CerfaType';
5
- import { ApiProperty } from '../../../../utils/decorators';
5
+ import { ApiProperty, ApiPropertyOptional } from '../../../../utils/decorators';
6
6
 
7
7
  export class QueryPreviousVatDeclaration {
8
8
  @ApiProperty()
9
9
  @IsDateString()
10
10
  fromDate: string;
11
+ }
12
+
13
+ export class QueryVatMigrationEntry {
14
+ @ApiProperty()
15
+ @IsString()
16
+ token: string;
17
+
18
+ @ApiPropertyOptional()
19
+ @IsNumber()
20
+ id: number;
21
+ }
22
+
23
+ export class QueryVatDeclaration {
24
+ @ApiPropertyOptional()
25
+ @IsDate()
26
+ @IsOptional()
27
+ declarationDate?: Date;
11
28
 
12
29
  @ApiProperty()
13
30
  @IsEnum(CerfaType)
@@ -0,0 +1,22 @@
1
+ import { NotificationTypeEnum } from '../../Enum/NotificationType';
2
+ import { ISociety } from './ISociety';
3
+ import { IUser } from './IUser';
4
+
5
+ export interface IAppNotification {
6
+ id: number;
7
+ title: string;
8
+ message: string;
9
+ link?: string;
10
+ documentId?: number;
11
+ read: boolean;
12
+ idNotificationtype: NotificationTypeEnum;
13
+ idSociety: number;
14
+ idUser: number;
15
+ idBankAccount?: number;
16
+ createdAt?: Date | null;
17
+ updatedAt?: Date | null;
18
+
19
+ // associations
20
+ society: ISociety;
21
+ user: IUser;
22
+ }
@@ -10,6 +10,8 @@ export interface IBalanceSheet {
10
10
  state: number;
11
11
  dateBalanceSend: Date | null;
12
12
  deadline: Date | null;
13
+ turnover: number | null;
14
+ endDate: Date | null;
13
15
  bankCollectingState: number;
14
16
  idExercice: number;
15
17
  idCalendarEvent: number | null;
@@ -1,8 +1,8 @@
1
- import { NotificationType } from '../../Enum/NotificationType';
1
+ import { NotificationTypeEnum } from '../../Enum/NotificationType';
2
2
 
3
3
  export interface IMobileNotificationLog {
4
4
  id: number;
5
- idType: NotificationType;
5
+ idType: NotificationTypeEnum;
6
6
  lastSent: Date | null;
7
7
  nextSend: Date | null;
8
8
  success: boolean;
@@ -1,8 +1,8 @@
1
- import { NotificationType } from '../../Enum/NotificationType';
1
+ import { NotificationTypeEnum } from '../../Enum/NotificationType';
2
2
 
3
3
  export interface IMobileNotificationSetting {
4
4
  id: number;
5
- idType: NotificationType;
5
+ idType: NotificationTypeEnum;
6
6
  active: boolean;
7
7
  idUser: number;
8
8
  createdAt?: Date | null;
@@ -4,6 +4,7 @@ import { IFile } from './IFile';
4
4
  import { ICustomerIsRegime } from './ICustomerIsRegime';
5
5
  import { IUser } from './IUser';
6
6
  import { IAccountingTransaction } from './IAccountingTransaction';
7
+ import { IRegistrationCertificate } from './IRegistrationCertificate';
7
8
 
8
9
  export interface IRegistration {
9
10
  id?: number;
@@ -18,7 +19,6 @@ export interface IRegistration {
18
19
  idDeposit: string | null;
19
20
  idExercice: number;
20
21
  idFile?: number | null;
21
- idCertificateFile?: number | null;
22
22
  idCustomerIsRegime?: number | null;
23
23
  idCustomerVat?: number | null;
24
24
  idUser?: number | null;
@@ -34,5 +34,5 @@ export interface IRegistration {
34
34
  user?: IUser | null;
35
35
  society?: ISociety;
36
36
  file?: IFile;
37
- certificateFile?: IFile | null;
37
+ certificates?: IRegistrationCertificate[];
38
38
  }
@@ -15,6 +15,8 @@ import { ITeam } from './ITeam';
15
15
  import { IUserTest } from './IUserTest';
16
16
  import { IMobile } from './IMobile';
17
17
  import { IRoleUser } from './IRoleUser';
18
+ import { ITimeRecorder } from './ITimeRecorder';
19
+ import { EntityType } from '../../Enum/EntityType';
18
20
 
19
21
  type isAny<T> = T | any;
20
22
 
@@ -55,6 +57,7 @@ export interface IUser {
55
57
  stateProspect?: boolean | null;
56
58
  birthdate?: Date | null;
57
59
  arrivalDate?: Date | null;
60
+ entity?: EntityType | null;
58
61
  validityDateOfResidencePermit?: Date | null;
59
62
  isNewProspect?: boolean;
60
63
  hasAccountNumberDisplay?: boolean;
@@ -104,4 +107,5 @@ export interface IUser {
104
107
  teams?: ITeam[];
105
108
  usersTest?: IUserTest;
106
109
  mobile?: IMobile;
110
+ timeRecorders?: ITimeRecorder[];
107
111
  }
@@ -1,5 +1,6 @@
1
1
  import { IUser } from './IUser';
2
2
  import { IEmployee } from './IEmployee';
3
+ import { RemoteType } from '../../Enum/RemoteType';
3
4
 
4
5
  // workingSchedule
5
6
  export interface IWorkingSchedule {
@@ -11,6 +12,7 @@ export interface IWorkingSchedule {
11
12
  idDay: number;
12
13
  idEmployee?: number | null;
13
14
  idUser?: number | null;
15
+ isRemote?: RemoteType | null;
14
16
  createdAt?: Date | null;
15
17
  updatedAt?: Date | null;
16
18
 
package/ts/types/index.ts CHANGED
@@ -323,6 +323,7 @@ export * from './Interface/models/IRegistration';
323
323
  export * from './Interface/models/IVatRegimeHistory';
324
324
  export * from './Interface/models/ICustomerAcceptance';
325
325
  export * from './Interface/models/IUnpaidCallHistory';
326
+ export * from './Interface/models/IAppNotification';
326
327
 
327
328
  // Schemas
328
329
  export * from './Interface/schemas/IRegistrationDetail';
@@ -485,6 +486,9 @@ export * from './Enum/AdminAcceptance';
485
486
  export * from './Enum/PrestationListType';
486
487
  export * from './Enum/UnpaidCallHistoryType';
487
488
  export * from './Enum/CommercialImportHeader';
489
+ export * from './Enum/ReasonTerminationType';
490
+ export * from './Enum/RemoteType';
491
+ export * from './Enum/EntityType';
488
492
 
489
493
  // Interfaces API
490
494
  export * from './Interface/api/adjustment/Query';
@@ -664,8 +668,10 @@ export * from './Interface/api/vatRegimeHistory/QueryVatRegimeHistory';
664
668
  export * from './Interface/api/textMessage/Create';
665
669
  export * from './Interface/api/textMessage/Update';
666
670
  export * from './Interface/api/textMessage/Query';
667
- export * from './Interface/api/companeo/Query';
668
671
  export * from './Interface/api/companeo/CompaneoReturn';
672
+ export * from './Interface/api/team/QueryCreate';
673
+ export * from './Interface/api/team/QueryGetAllWithIncludes';
674
+ export * from './Interface/api/team/QueryUpdate';
669
675
 
670
676
  // export * from './Interface/api/survey/QuerySurvey';
671
677
  export * from './Interface/api/survey/ReadSurvey';
@@ -929,4 +935,5 @@ export * from './Interface/api/affectedPatrimony/CreateInKindAffectedPatrimony';
929
935
  export * from './Interface/api/affectedPatrimony/ResultCreateAffectedPatrimony';
930
936
  export * from './Interface/api/affectedPatrimony/ReadAffectedPatrimony';
931
937
  export * from './Interface/api/notificationSetting/CreateNotificationSetting';
932
- export * from './Interface/api/notificationSetting/UpdateNotificationSetting';
938
+ export * from './Interface/api/notificationSetting/UpdateNotificationSetting';
939
+ export * from './Interface/api/appNotification/Update';
@@ -70,7 +70,7 @@ export function getTicks(registration: ReadRegistration): ReadRegistrationTick[]
70
70
  })),
71
71
  ];
72
72
 
73
- for (let index = declaration.states.length; index < 4; index += 1) {
73
+ for (let index = declaration.states.length; index < 3; index += 1) {
74
74
  response.push({ ...waitingState, title: null });
75
75
  }
76
76
 
@@ -1,5 +0,0 @@
1
- export declare class QueryCompaneo {
2
- fromDate?: string;
3
- toDate?: string;
4
- }
5
- //# sourceMappingURL=Query.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Query.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/companeo/Query.ts"],"names":[],"mappings":"AAGA,qBAAa,aAAa;IAIxB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAKlB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"Query.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/companeo/Query.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AACvD,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAExD,MAAM,OAAO,aAAa;CAUzB;AATC;IAAC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;+CACO;AAElB;IAAC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;6CACK","sourcesContent":["import { IsString, IsOptional } from 'class-validator';\nimport { ApiPropertyOptional } from '../../../../utils';\n\nexport class QueryCompaneo {\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n fromDate?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n toDate?: string;\n}"]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"Query.js","names":["_classValidator","require","_utils","QueryCompaneo","exports","__decorate","ApiPropertyOptional","IsOptional","IsString"],"sources":["../../../../../ts/types/Interface/api/companeo/Query.ts"],"sourcesContent":["import { IsString, IsOptional } from 'class-validator';\nimport { ApiPropertyOptional } from '../../../../utils';\n\nexport class QueryCompaneo {\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n fromDate?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n toDate?: string;\n}"],"mappings":";;;;;;AAAA,IAAAA,eAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAD,OAAA;;;;;;;;;;;AAEM,MAAOE,aAAa;AAUzBC,OAAA,CAVYD,aAAa,GAAbA,aAAa;AACxBE,UAAA,EAAC,IAAAC,0BAAmB,GAAE,EACrB,IAAAC,0BAAU,GAAE,EACZ,IAAAC,wBAAQ,GAAE,E,gFACO;AAElBH,UAAA,EAAC,IAAAC,0BAAmB,GAAE,EACrB,IAAAC,0BAAU,GAAE,EACZ,IAAAC,wBAAQ,GAAE,E,8EACK"}
@@ -1,14 +0,0 @@
1
- import { IsString, IsOptional } from 'class-validator';
2
- import { ApiPropertyOptional } from '../../../../utils';
3
-
4
- export class QueryCompaneo {
5
- @ApiPropertyOptional()
6
- @IsOptional()
7
- @IsString()
8
- fromDate?: string;
9
-
10
- @ApiPropertyOptional()
11
- @IsOptional()
12
- @IsString()
13
- toDate?: string;
14
- }