@silexpert/core 0.4.226 → 0.4.228

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 (270) hide show
  1. package/es/api/resources/Alert.d.ts +7 -0
  2. package/es/api/resources/Alert.d.ts.map +1 -0
  3. package/es/api/resources/Alert.js +23 -0
  4. package/es/api/resources/Alert.js.map +1 -0
  5. package/es/api/resources/CalendarEvent.d.ts +10 -0
  6. package/es/api/resources/CalendarEvent.d.ts.map +1 -0
  7. package/es/api/resources/CalendarEvent.js +19 -0
  8. package/es/api/resources/CalendarEvent.js.map +1 -0
  9. package/es/api/resources/TimeRecorder.d.ts +8 -0
  10. package/es/api/resources/TimeRecorder.d.ts.map +1 -0
  11. package/es/api/resources/TimeRecorder.js +13 -0
  12. package/es/api/resources/TimeRecorder.js.map +1 -0
  13. package/es/api/resources/Transaction.d.ts +2 -1
  14. package/es/api/resources/Transaction.d.ts.map +1 -1
  15. package/es/api/resources/Transaction.js +3 -0
  16. package/es/api/resources/Transaction.js.map +1 -1
  17. package/es/api/resources/User.d.ts +3 -1
  18. package/es/api/resources/User.d.ts.map +1 -1
  19. package/es/api/resources/User.js +31 -0
  20. package/es/api/resources/User.js.map +1 -1
  21. package/es/api/resources/WorkingSchedule.d.ts +2 -0
  22. package/es/api/resources/WorkingSchedule.d.ts.map +1 -1
  23. package/es/api/resources/WorkingSchedule.js +5 -0
  24. package/es/api/resources/WorkingSchedule.js.map +1 -1
  25. package/es/api/resources.d.ts +6 -0
  26. package/es/api/resources.d.ts.map +1 -1
  27. package/es/api/resources.js +6 -0
  28. package/es/api/resources.js.map +1 -1
  29. package/es/types/Enum/AbsenceType.d.ts +9 -0
  30. package/es/types/Enum/AbsenceType.d.ts.map +1 -0
  31. package/es/types/Enum/AbsenceType.js +10 -0
  32. package/es/types/Enum/AbsenceType.js.map +1 -0
  33. package/es/types/Enum/Prestation.d.ts +1 -0
  34. package/es/types/Enum/Prestation.d.ts.map +1 -1
  35. package/es/types/Enum/Prestation.js +1 -0
  36. package/es/types/Enum/Prestation.js.map +1 -1
  37. package/es/types/Enum/TimeCounterType.d.ts +118 -0
  38. package/es/types/Enum/TimeCounterType.d.ts.map +1 -0
  39. package/es/types/Enum/TimeCounterType.js +118 -0
  40. package/es/types/Enum/TimeCounterType.js.map +1 -0
  41. package/es/types/Interface/api/3cx/Query3cxSearch.d.ts +1 -0
  42. package/es/types/Interface/api/3cx/Query3cxSearch.d.ts.map +1 -1
  43. package/es/types/Interface/api/3cx/Query3cxSearch.js +6 -0
  44. package/es/types/Interface/api/3cx/Query3cxSearch.js.map +1 -1
  45. package/es/types/Interface/api/alert/CreateAlert.d.ts +13 -0
  46. package/es/types/Interface/api/alert/CreateAlert.d.ts.map +1 -0
  47. package/es/types/Interface/api/alert/CreateAlert.js +85 -0
  48. package/es/types/Interface/api/alert/CreateAlert.js.map +1 -0
  49. package/es/types/Interface/api/bankAccount/DeleteTransaction.d.ts +2 -1
  50. package/es/types/Interface/api/bankAccount/DeleteTransaction.d.ts.map +1 -1
  51. package/es/types/Interface/api/bankAccount/DeleteTransaction.js +9 -4
  52. package/es/types/Interface/api/bankAccount/DeleteTransaction.js.map +1 -1
  53. package/es/types/Interface/api/calendarEvent/createCalendarEvent.d.ts +3 -1
  54. package/es/types/Interface/api/calendarEvent/createCalendarEvent.d.ts.map +1 -1
  55. package/es/types/Interface/api/calendarEvent/createCalendarEvent.js +9 -1
  56. package/es/types/Interface/api/calendarEvent/createCalendarEvent.js.map +1 -1
  57. package/es/types/Interface/api/calendarEvent/createCalendarEventForUsers.d.ts +21 -0
  58. package/es/types/Interface/api/calendarEvent/createCalendarEventForUsers.d.ts.map +1 -0
  59. package/es/types/Interface/api/calendarEvent/createCalendarEventForUsers.js +85 -0
  60. package/es/types/Interface/api/calendarEvent/createCalendarEventForUsers.js.map +1 -0
  61. package/es/types/Interface/api/calendarEvent/getAllCalendarEvent.d.ts +7 -0
  62. package/es/types/Interface/api/calendarEvent/getAllCalendarEvent.d.ts.map +1 -0
  63. package/es/types/Interface/api/calendarEvent/getAllCalendarEvent.js +29 -0
  64. package/es/types/Interface/api/calendarEvent/getAllCalendarEvent.js.map +1 -0
  65. package/es/types/Interface/api/calendarEvent/queryCalendarEvent.d.ts +5 -0
  66. package/es/types/Interface/api/calendarEvent/queryCalendarEvent.d.ts.map +1 -0
  67. package/es/types/Interface/api/calendarEvent/queryCalendarEvent.js +31 -0
  68. package/es/types/Interface/api/calendarEvent/queryCalendarEvent.js.map +1 -0
  69. package/es/types/Interface/api/calendarEvent/readAllCalendarEvent.d.ts +13 -0
  70. package/es/types/Interface/api/calendarEvent/readAllCalendarEvent.d.ts.map +1 -0
  71. package/es/types/Interface/api/calendarEvent/readAllCalendarEvent.js +2 -0
  72. package/es/types/Interface/api/calendarEvent/readAllCalendarEvent.js.map +1 -0
  73. package/es/types/Interface/api/calendarEvent/updateCalendarEvent.d.ts +20 -0
  74. package/es/types/Interface/api/calendarEvent/updateCalendarEvent.d.ts.map +1 -0
  75. package/es/types/Interface/api/calendarEvent/updateCalendarEvent.js +81 -0
  76. package/es/types/Interface/api/calendarEvent/updateCalendarEvent.js.map +1 -0
  77. package/es/types/Interface/api/partnerTransactionType/ReadPartnerTransactionType.d.ts +5 -0
  78. package/es/types/Interface/api/partnerTransactionType/ReadPartnerTransactionType.d.ts.map +1 -0
  79. package/es/types/Interface/api/partnerTransactionType/ReadPartnerTransactionType.js +2 -0
  80. package/es/types/Interface/api/partnerTransactionType/ReadPartnerTransactionType.js.map +1 -0
  81. package/es/types/Interface/api/timeRecorder/QueryAttendance.d.ts +5 -0
  82. package/es/types/Interface/api/timeRecorder/QueryAttendance.d.ts.map +1 -0
  83. package/es/types/Interface/api/timeRecorder/QueryAttendance.js +26 -0
  84. package/es/types/Interface/api/timeRecorder/QueryAttendance.js.map +1 -0
  85. package/es/types/Interface/api/timeRecorder/QueryPaginatedDelays.d.ts +9 -0
  86. package/es/types/Interface/api/timeRecorder/QueryPaginatedDelays.d.ts.map +1 -0
  87. package/es/types/Interface/api/timeRecorder/QueryPaginatedDelays.js +50 -0
  88. package/es/types/Interface/api/timeRecorder/QueryPaginatedDelays.js.map +1 -0
  89. package/es/types/Interface/api/timeRecorder/ReadAttendanceHours.d.ts +5 -0
  90. package/es/types/Interface/api/timeRecorder/ReadAttendanceHours.d.ts.map +1 -0
  91. package/es/types/Interface/api/timeRecorder/ReadAttendanceHours.js +2 -0
  92. package/es/types/Interface/api/timeRecorder/ReadAttendanceHours.js.map +1 -0
  93. package/es/types/Interface/api/timeRecorder/ReadPaginatedDelays.d.ts +21 -0
  94. package/es/types/Interface/api/timeRecorder/ReadPaginatedDelays.d.ts.map +1 -0
  95. package/es/types/Interface/api/timeRecorder/ReadPaginatedDelays.js +2 -0
  96. package/es/types/Interface/api/timeRecorder/ReadPaginatedDelays.js.map +1 -0
  97. package/es/types/Interface/api/timeRecorder/ReadUsersNotConnected.d.ts +7 -0
  98. package/es/types/Interface/api/timeRecorder/ReadUsersNotConnected.d.ts.map +1 -0
  99. package/es/types/Interface/api/timeRecorder/ReadUsersNotConnected.js +2 -0
  100. package/es/types/Interface/api/timeRecorder/ReadUsersNotConnected.js.map +1 -0
  101. package/es/types/Interface/api/user/CollaboratorsByRoles.d.ts +6 -0
  102. package/es/types/Interface/api/user/CollaboratorsByRoles.d.ts.map +1 -0
  103. package/es/types/Interface/api/user/CollaboratorsByRoles.js +2 -0
  104. package/es/types/Interface/api/user/CollaboratorsByRoles.js.map +1 -0
  105. package/es/types/Interface/api/user/ParamsGetAllCollaborators.d.ts +3 -0
  106. package/es/types/Interface/api/user/ParamsGetAllCollaborators.d.ts.map +1 -1
  107. package/es/types/Interface/api/user/ParamsGetAllCollaborators.js +19 -1
  108. package/es/types/Interface/api/user/ParamsGetAllCollaborators.js.map +1 -1
  109. package/es/types/Interface/api/user/QueryGetAllCollaborators.d.ts +4 -0
  110. package/es/types/Interface/api/user/QueryGetAllCollaborators.d.ts.map +1 -0
  111. package/es/types/Interface/api/user/QueryGetAllCollaborators.js +22 -0
  112. package/es/types/Interface/api/user/QueryGetAllCollaborators.js.map +1 -0
  113. package/es/types/Interface/api/user/QueryGetAllCollaboratorsByRoles.d.ts +4 -0
  114. package/es/types/Interface/api/user/QueryGetAllCollaboratorsByRoles.d.ts.map +1 -0
  115. package/es/types/Interface/api/user/QueryGetAllCollaboratorsByRoles.js +22 -0
  116. package/es/types/Interface/api/user/QueryGetAllCollaboratorsByRoles.js.map +1 -0
  117. package/es/types/Interface/api/workingSchedule/QueryDailyHour.d.ts +13 -0
  118. package/es/types/Interface/api/workingSchedule/QueryDailyHour.d.ts.map +1 -0
  119. package/es/types/Interface/api/workingSchedule/QueryDailyHour.js +2 -0
  120. package/es/types/Interface/api/workingSchedule/QueryDailyHour.js.map +1 -0
  121. package/es/types/Interface/enum/Date.d.ts +7 -0
  122. package/es/types/Interface/enum/Date.d.ts.map +1 -0
  123. package/es/types/Interface/enum/Date.js +2 -0
  124. package/es/types/Interface/enum/Date.js.map +1 -0
  125. package/es/types/Interface/models/IAbsenceRequest.d.ts +29 -0
  126. package/es/types/Interface/models/IAbsenceRequest.d.ts.map +1 -0
  127. package/es/types/Interface/models/IAbsenceRequest.js +2 -0
  128. package/es/types/Interface/models/IAbsenceRequest.js.map +1 -0
  129. package/es/types/Interface/models/IAbsenceRequestTime.d.ts +12 -0
  130. package/es/types/Interface/models/IAbsenceRequestTime.d.ts.map +1 -0
  131. package/es/types/Interface/models/IAbsenceRequestTime.js +2 -0
  132. package/es/types/Interface/models/IAbsenceRequestTime.js.map +1 -0
  133. package/es/types/Interface/models/ICalendarEvent.d.ts +2 -0
  134. package/es/types/Interface/models/ICalendarEvent.d.ts.map +1 -1
  135. package/es/types/Interface/models/ICalendarEvent.js.map +1 -1
  136. package/es/types/Interface/models/ITimeRecorder.d.ts +10 -0
  137. package/es/types/Interface/models/ITimeRecorder.d.ts.map +1 -0
  138. package/es/types/Interface/models/ITimeRecorder.js +2 -0
  139. package/es/types/Interface/models/ITimeRecorder.js.map +1 -0
  140. package/es/types/Interface/models/IUser.d.ts +1 -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 +6 -6
  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 +22 -2
  147. package/es/types/index.d.ts.map +1 -1
  148. package/es/types/index.js +22 -2
  149. package/es/types/index.js.map +1 -1
  150. package/js/api/resources/Alert.js +58 -0
  151. package/js/api/resources/Alert.js.map +1 -0
  152. package/js/api/resources/CalendarEvent.js +38 -0
  153. package/js/api/resources/CalendarEvent.js.map +1 -0
  154. package/js/api/resources/TimeRecorder.js +32 -0
  155. package/js/api/resources/TimeRecorder.js.map +1 -0
  156. package/js/api/resources/Transaction.js +4 -0
  157. package/js/api/resources/Transaction.js.map +1 -1
  158. package/js/api/resources/User.js +18 -0
  159. package/js/api/resources/User.js.map +1 -1
  160. package/js/api/resources/WorkingSchedule.js +10 -0
  161. package/js/api/resources/WorkingSchedule.js.map +1 -1
  162. package/js/api/resources.js +10 -1
  163. package/js/api/resources.js.map +1 -1
  164. package/js/types/Enum/AbsenceType.js +16 -0
  165. package/js/types/Enum/AbsenceType.js.map +1 -0
  166. package/js/types/Enum/Prestation.js +1 -0
  167. package/js/types/Enum/Prestation.js.map +1 -1
  168. package/js/types/Enum/TimeCounterType.js +126 -0
  169. package/js/types/Enum/TimeCounterType.js.map +1 -0
  170. package/js/types/Interface/api/3cx/Query3cxSearch.js +2 -0
  171. package/js/types/Interface/api/3cx/Query3cxSearch.js.map +1 -1
  172. package/js/types/Interface/api/alert/CreateAlert.js +49 -0
  173. package/js/types/Interface/api/alert/CreateAlert.js.map +1 -0
  174. package/js/types/Interface/api/bankAccount/DeleteTransaction.js +8 -2
  175. package/js/types/Interface/api/bankAccount/DeleteTransaction.js.map +1 -1
  176. package/js/types/Interface/api/calendarEvent/createCalendarEvent.js +5 -1
  177. package/js/types/Interface/api/calendarEvent/createCalendarEvent.js.map +1 -1
  178. package/js/types/Interface/api/calendarEvent/createCalendarEventForUsers.js +61 -0
  179. package/js/types/Interface/api/calendarEvent/createCalendarEventForUsers.js.map +1 -0
  180. package/js/types/Interface/api/calendarEvent/getAllCalendarEvent.js +33 -0
  181. package/js/types/Interface/api/calendarEvent/getAllCalendarEvent.js.map +1 -0
  182. package/js/types/Interface/api/calendarEvent/queryCalendarEvent.js +37 -0
  183. package/js/types/Interface/api/calendarEvent/queryCalendarEvent.js.map +1 -0
  184. package/js/types/Interface/api/calendarEvent/readAllCalendarEvent.js +6 -0
  185. package/js/types/Interface/api/calendarEvent/readAllCalendarEvent.js.map +1 -0
  186. package/js/types/Interface/api/calendarEvent/updateCalendarEvent.js +59 -0
  187. package/js/types/Interface/api/calendarEvent/updateCalendarEvent.js.map +1 -0
  188. package/js/types/Interface/api/partnerTransactionType/ReadPartnerTransactionType.js +6 -0
  189. package/js/types/Interface/api/partnerTransactionType/ReadPartnerTransactionType.js.map +1 -0
  190. package/js/types/Interface/api/timeRecorder/QueryAttendance.js +31 -0
  191. package/js/types/Interface/api/timeRecorder/QueryAttendance.js.map +1 -0
  192. package/js/types/Interface/api/timeRecorder/QueryPaginatedDelays.js +43 -0
  193. package/js/types/Interface/api/timeRecorder/QueryPaginatedDelays.js.map +1 -0
  194. package/js/types/Interface/api/timeRecorder/ReadAttendanceHours.js +6 -0
  195. package/js/types/Interface/api/timeRecorder/ReadAttendanceHours.js.map +1 -0
  196. package/js/types/Interface/api/timeRecorder/ReadPaginatedDelays.js +6 -0
  197. package/js/types/Interface/api/timeRecorder/ReadPaginatedDelays.js.map +1 -0
  198. package/js/types/Interface/api/timeRecorder/ReadUsersNotConnected.js +6 -0
  199. package/js/types/Interface/api/timeRecorder/ReadUsersNotConnected.js.map +1 -0
  200. package/js/types/Interface/api/user/CollaboratorsByRoles.js +6 -0
  201. package/js/types/Interface/api/user/CollaboratorsByRoles.js.map +1 -0
  202. package/js/types/Interface/api/user/ParamsGetAllCollaborators.js +6 -0
  203. package/js/types/Interface/api/user/ParamsGetAllCollaborators.js.map +1 -1
  204. package/js/types/Interface/api/user/QueryGetAllCollaborators.js +32 -0
  205. package/js/types/Interface/api/user/QueryGetAllCollaborators.js.map +1 -0
  206. package/js/types/Interface/api/user/QueryGetAllCollaboratorsByRoles.js +32 -0
  207. package/js/types/Interface/api/user/QueryGetAllCollaboratorsByRoles.js.map +1 -0
  208. package/js/types/Interface/{models/IAskAbsenceTimes.js → api/workingSchedule/QueryDailyHour.js} +1 -1
  209. package/js/types/Interface/api/workingSchedule/QueryDailyHour.js.map +1 -0
  210. package/js/types/Interface/{models/IAskAbsence.js → enum/Date.js} +1 -1
  211. package/js/types/Interface/enum/Date.js.map +1 -0
  212. package/js/types/Interface/models/IAbsenceRequest.js +6 -0
  213. package/js/types/Interface/models/IAbsenceRequest.js.map +1 -0
  214. package/js/types/Interface/models/IAbsenceRequestTime.js +6 -0
  215. package/js/types/Interface/models/IAbsenceRequestTime.js.map +1 -0
  216. package/js/types/Interface/models/ITimeRecorder.js +6 -0
  217. package/js/types/Interface/models/ITimeRecorder.js.map +1 -0
  218. package/js/types/index.js +246 -6
  219. package/js/types/index.js.map +1 -1
  220. package/package.json +1 -1
  221. package/ts/api/resources/Alert.ts +12 -0
  222. package/ts/api/resources/CalendarEvent.ts +26 -0
  223. package/ts/api/resources/TimeRecorder.ts +18 -0
  224. package/ts/api/resources/Transaction.ts +5 -1
  225. package/ts/api/resources/User.ts +31 -2
  226. package/ts/api/resources/WorkingSchedule.ts +7 -0
  227. package/ts/api/resources.ts +6 -0
  228. package/ts/types/Enum/AbsenceType.ts +8 -0
  229. package/ts/types/Enum/Prestation.ts +1 -0
  230. package/ts/types/Enum/TimeCounterType.ts +118 -0
  231. package/ts/types/Interface/api/3cx/Query3cxSearch.ts +5 -0
  232. package/ts/types/Interface/api/alert/CreateAlert.ts +65 -0
  233. package/ts/types/Interface/api/bankAccount/DeleteTransaction.ts +8 -3
  234. package/ts/types/Interface/api/calendarEvent/createCalendarEvent.ts +8 -2
  235. package/ts/types/Interface/api/calendarEvent/createCalendarEventForUsers.ts +57 -0
  236. package/ts/types/Interface/api/calendarEvent/getAllCalendarEvent.ts +15 -0
  237. package/ts/types/Interface/api/calendarEvent/queryCalendarEvent.ts +21 -0
  238. package/ts/types/Interface/api/calendarEvent/readAllCalendarEvent.ts +12 -0
  239. package/ts/types/Interface/api/calendarEvent/updateCalendarEvent.ts +54 -0
  240. package/ts/types/Interface/api/partnerTransactionType/ReadPartnerTransactionType.ts +4 -0
  241. package/ts/types/Interface/api/timeRecorder/QueryAttendance.ts +14 -0
  242. package/ts/types/Interface/api/timeRecorder/QueryPaginatedDelays.ts +36 -0
  243. package/ts/types/Interface/api/timeRecorder/ReadAttendanceHours.ts +4 -0
  244. package/ts/types/Interface/api/timeRecorder/ReadPaginatedDelays.ts +21 -0
  245. package/ts/types/Interface/api/timeRecorder/ReadUsersNotConnected.ts +6 -0
  246. package/ts/types/Interface/api/user/CollaboratorsByRoles.ts +6 -0
  247. package/ts/types/Interface/api/user/ParamsGetAllCollaborators.ts +16 -0
  248. package/ts/types/Interface/api/user/QueryGetAllCollaborators.ts +11 -0
  249. package/ts/types/Interface/api/user/QueryGetAllCollaboratorsByRoles.ts +11 -0
  250. package/ts/types/Interface/api/workingSchedule/QueryDailyHour.ts +12 -0
  251. package/ts/types/Interface/enum/Date.ts +6 -0
  252. package/ts/types/Interface/models/IAbsenceRequest.ts +32 -0
  253. package/ts/types/Interface/models/IAbsenceRequestTime.ts +15 -0
  254. package/ts/types/Interface/models/ICalendarEvent.ts +2 -0
  255. package/ts/types/Interface/models/ITimeRecorder.ts +10 -0
  256. package/ts/types/Interface/models/IUser.ts +1 -0
  257. package/ts/types/Interface/models/IWorkingSchedule.ts +6 -6
  258. package/ts/types/index.ts +22 -2
  259. package/es/types/Interface/models/IAskAbsence.d.ts +0 -29
  260. package/es/types/Interface/models/IAskAbsence.d.ts.map +0 -1
  261. package/es/types/Interface/models/IAskAbsence.js +0 -2
  262. package/es/types/Interface/models/IAskAbsence.js.map +0 -1
  263. package/es/types/Interface/models/IAskAbsenceTimes.d.ts +0 -12
  264. package/es/types/Interface/models/IAskAbsenceTimes.d.ts.map +0 -1
  265. package/es/types/Interface/models/IAskAbsenceTimes.js +0 -2
  266. package/es/types/Interface/models/IAskAbsenceTimes.js.map +0 -1
  267. package/js/types/Interface/models/IAskAbsence.js.map +0 -1
  268. package/js/types/Interface/models/IAskAbsenceTimes.js.map +0 -1
  269. package/ts/types/Interface/models/IAskAbsence.ts +0 -32
  270. package/ts/types/Interface/models/IAskAbsenceTimes.ts +0 -15
@@ -83,6 +83,9 @@ import { NotificationSetting } from './resources/NotificationSetting';
83
83
  import { Cx } from './resources/3cx';
84
84
  import { BankList } from './resources/BankList';
85
85
  import { ThirdParty } from './resources/ThirdParty';
86
+ import { Alert } from './resources/Alert';
87
+ import { CalendarEvent } from './resources/CalendarEvent';
88
+ import { TimeRecorder } from './resources/TimeRecorder';
86
89
 
87
90
  export const resources = {
88
91
  simulation: Simulation,
@@ -166,8 +169,11 @@ export const resources = {
166
169
  societyEvent: SocietyEvent,
167
170
  task: Task,
168
171
  comment: Comment,
172
+ calendarEvent: CalendarEvent,
173
+ timeRecorder: TimeRecorder,
169
174
  notificationSetting: NotificationSetting,
170
175
  cx: Cx,
171
176
  bankList: BankList,
172
177
  thirdParty: ThirdParty,
178
+ alert: Alert,
173
179
  };
@@ -0,0 +1,8 @@
1
+ export enum AbsenceType {
2
+ DAY_OFF = 1,
3
+ RTT = 2,
4
+ HOUR_CHANGE = 3,
5
+ ABSENCE = 4,
6
+ OVERTIME = 5,
7
+ REMOTE = 6,
8
+ }
@@ -9,5 +9,6 @@ export enum Prestation {
9
9
  ATTESTATION_NON_REMUNERATION = 91,
10
10
  COMPTA_MICRO = 185,
11
11
  BILAN_PREVISIONNEL = 189,
12
+ DISSOLUTION_LIQUIDATION = 192,
12
13
  ABO_STRIPE = 196,
13
14
  }
@@ -0,0 +1,118 @@
1
+ import { Role } from './Role';
2
+
3
+ export const TimeCounterType = {
4
+ ONBOARDING: {
5
+ id: 1,
6
+ label: 'OnBoarding',
7
+ aberrantTime: 60,
8
+ limitedRoles: [Role.FRONT_OFFICE],
9
+ },
10
+ VAT: {
11
+ id: 2,
12
+ label: 'TVA',
13
+ aberrantTime: 60,
14
+ limitedRoles: [Role.MANAGER, Role.EXPERT_ACCOUNTANT, Role.FRONT_OFFICE],
15
+ },
16
+ REVISION: {
17
+ id: 3,
18
+ label: 'Révision',
19
+ aberrantTime: 120,
20
+ limitedRoles: [Role.MANAGER, Role.EXPERT_ACCOUNTANT, Role.FRONT_OFFICE],
21
+ },
22
+ FOLDER_REVIEW: {
23
+ id: 4,
24
+ label: 'Revue dossier',
25
+ aberrantTime: 60,
26
+ limitedRoles: [Role.MANAGER, Role.EXPERT_ACCOUNTANT, Role.FRONT_OFFICE],
27
+ },
28
+ REPORTING: {
29
+ id: 5,
30
+ label: 'Signalement',
31
+ aberrantTime: 60,
32
+ limitedRoles: [Role.CUSTOMER_SUCCESS],
33
+ },
34
+ SYNCHRONISATION: {
35
+ id: 6,
36
+ label: 'Synchronisation',
37
+ aberrantTime: 30,
38
+ limitedRoles: [Role.CUSTOMER_SUCCESS],
39
+ },
40
+ UNDER_SUPERVISION: {
41
+ id: 7,
42
+ label: 'En cours de supervision',
43
+ aberrantTime: 45,
44
+ limitedRoles: null,
45
+ },
46
+ CLIENT_CONTACT: {
47
+ id: 8,
48
+ label: 'Contact client (Appel/mail/chat)',
49
+ aberrantTime: null,
50
+ limitedRoles: null,
51
+ },
52
+ MEETING: {
53
+ id: 9,
54
+ label: 'Réunion',
55
+ aberrantTime: null,
56
+ limitedRoles: null,
57
+ },
58
+ FORMATION: {
59
+ id: 10,
60
+ label: 'Formation',
61
+ aberrantTime: null,
62
+ limitedRoles: null,
63
+ },
64
+ FORECAST: {
65
+ id: 11,
66
+ label: 'Prévisionnel',
67
+ aberrantTime: null,
68
+ limitedRoles: [Role.FRONT_OFFICE],
69
+ },
70
+ CERTIFICATE: {
71
+ id: 12,
72
+ label: 'Attestation',
73
+ aberrantTime: null,
74
+ limitedRoles: [Role.CUSTOMER_SUCCESS],
75
+ },
76
+ COMPLEMENTARY_MISSION: {
77
+ id: 13,
78
+ label: 'Mission complémentaire',
79
+ aberrantTime: null,
80
+ limitedRoles: [Role.FRONT_OFFICE],
81
+ },
82
+ ORGANISATION: {
83
+ id: 14,
84
+ label: 'Organisation',
85
+ aberrantTime: null,
86
+ limitedRoles: null,
87
+ },
88
+ INTERNAL_ADVICE: {
89
+ id: 15,
90
+ label: 'Conseil interne',
91
+ aberrantTime: null,
92
+ limitedRoles: null,
93
+ },
94
+ LAB: {
95
+ id: 16,
96
+ label: 'LAB',
97
+ aberrantTime: null,
98
+ limitedRoles: [Role.EXPERT_ACCOUNTANT],
99
+ },
100
+ SUPERVISION: {
101
+ id: 17,
102
+ label: 'Supervision',
103
+ aberrantTime: null,
104
+ limitedRoles: [Role.EXPERT_ACCOUNTANT, Role.MANAGER],
105
+ },
106
+ MAIL_PROCESSING: {
107
+ id: 18,
108
+ label: 'Traitement des courriers',
109
+ aberrantTime: null,
110
+ limitedRoles: [Role.CUSTOMER_SUCCESS],
111
+ },
112
+ SUPPORT_PROCESSING: {
113
+ id: 19,
114
+ label: 'Traitement support',
115
+ aberrantTime: null,
116
+ limitedRoles: [Role.CUSTOMER_SUCCESS],
117
+ },
118
+ };
@@ -38,4 +38,9 @@ export class Query3cxLog {
38
38
  @IsOptional()
39
39
  @IsDate()
40
40
  maxStartDate?: Date;
41
+
42
+ @ApiPropertyOptional()
43
+ @IsNumber()
44
+ @IsOptional()
45
+ idSociety?: number;
41
46
  }
@@ -0,0 +1,65 @@
1
+ import { IsBoolean, IsOptional } from 'class-validator';
2
+ import { ApiPropertyOptional } from '../../../../utils';
3
+ import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
4
+
5
+ export class CreateAlert {
6
+ @ApiPropertyOptional()
7
+ @IsBoolean()
8
+ @ToBoolean()
9
+ @IsOptional()
10
+ accountingNoValidation?: boolean | null;
11
+
12
+ @ApiPropertyOptional()
13
+ @IsBoolean()
14
+ @ToBoolean()
15
+ @IsOptional()
16
+ autoAnnotations?: boolean | null;
17
+
18
+ @ApiPropertyOptional()
19
+ @IsBoolean()
20
+ @ToBoolean()
21
+ @IsOptional()
22
+ isTutorial?: boolean | null;
23
+
24
+ @ApiPropertyOptional()
25
+ @IsBoolean()
26
+ @ToBoolean()
27
+ @IsOptional()
28
+ newDashboardPage?: boolean | null;
29
+
30
+ @ApiPropertyOptional()
31
+ @IsBoolean()
32
+ @ToBoolean()
33
+ @IsOptional()
34
+ newLibraryPage?: boolean | null;
35
+
36
+ @ApiPropertyOptional()
37
+ @IsBoolean()
38
+ @ToBoolean()
39
+ @IsOptional()
40
+ newMobileApp?: boolean | null;
41
+
42
+ @ApiPropertyOptional()
43
+ @IsBoolean()
44
+ @ToBoolean()
45
+ @IsOptional()
46
+ newPurchasesDocumentsPage?: boolean | null;
47
+
48
+ @ApiPropertyOptional()
49
+ @IsBoolean()
50
+ @ToBoolean()
51
+ @IsOptional()
52
+ newSalesDocumentsPage?: boolean | null;
53
+
54
+ @ApiPropertyOptional()
55
+ @IsBoolean()
56
+ @ToBoolean()
57
+ @IsOptional()
58
+ newSettingsPage?: boolean | null;
59
+
60
+ @ApiPropertyOptional()
61
+ @IsBoolean()
62
+ @ToBoolean()
63
+ @IsOptional()
64
+ solidarityFund?: boolean | null;
65
+ }
@@ -1,4 +1,6 @@
1
+ import { IsEnum, IsOptional, IsPositive } from 'class-validator';
1
2
  import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
3
+ import { PartnerTransactionType } from '../../../Enum/PartnerTransactionType';
2
4
 
3
5
  export class DeleteTransactions {
4
6
  @ApiProperty()
@@ -10,9 +12,6 @@ export class DeleteTransactions {
10
12
  @ApiPropertyOptional()
11
13
  isExported?: boolean;
12
14
 
13
- @ApiPropertyOptional()
14
- isFromCsv?: boolean;
15
-
16
15
  @ApiPropertyOptional()
17
16
  startDate?: string;
18
17
 
@@ -21,6 +20,12 @@ export class DeleteTransactions {
21
20
 
22
21
  @ApiPropertyOptional({ description: 'Deleting the bank account. Warning ! this delete also the transactions of the specified bank account' })
23
22
  deleteBankAccount?: boolean;
23
+
24
+ @ApiPropertyOptional()
25
+ @IsEnum(PartnerTransactionType)
26
+ @IsPositive({ each: true })
27
+ @IsOptional()
28
+ partnerTransactionTypes?: PartnerTransactionType[];
24
29
  }
25
30
 
26
31
  export class DeleteSocietyTransactions {
@@ -7,8 +7,8 @@ export class createCalendarEvent {
7
7
  @ApiProperty()
8
8
  dateStart: Date;
9
9
 
10
- @ApiProperty()
11
- dateEnd: Date;
10
+ @ApiPropertyOptional()
11
+ dateEnd?: Date;
12
12
 
13
13
  @ApiProperty()
14
14
  comment: string;
@@ -31,6 +31,9 @@ export class createCalendarEvent {
31
31
  @ApiPropertyOptional()
32
32
  idType?: number;
33
33
 
34
+ @ApiPropertyOptional()
35
+ idTimeCounterType?: number;
36
+
34
37
  @ApiPropertyOptional()
35
38
  typeComptable?: number;
36
39
 
@@ -45,4 +48,7 @@ export class createCalendarEvent {
45
48
 
46
49
  @ApiPropertyOptional()
47
50
  idPlace?: number;
51
+
52
+ @ApiPropertyOptional()
53
+ validatedAt?: Date;
48
54
  }
@@ -0,0 +1,57 @@
1
+ import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
2
+
3
+ export class CreateCalendarEventForUsers {
4
+ @ApiProperty()
5
+ title: string;
6
+
7
+ @ApiProperty()
8
+ dateStart: Date;
9
+
10
+ @ApiPropertyOptional()
11
+ dateEnd?: Date;
12
+
13
+ @ApiProperty()
14
+ comment: string;
15
+
16
+ @ApiPropertyOptional()
17
+ idRoom?: number;
18
+
19
+ @ApiProperty()
20
+ createdBy: number;
21
+
22
+ @ApiPropertyOptional()
23
+ idColor?: number;
24
+
25
+ @ApiProperty()
26
+ idSociety: number;
27
+
28
+ @ApiPropertyOptional()
29
+ idExercice?: number;
30
+
31
+ @ApiPropertyOptional()
32
+ idType?: number;
33
+
34
+ @ApiPropertyOptional()
35
+ idTimeCounterType?: number;
36
+
37
+ @ApiPropertyOptional()
38
+ typeComptable?: number;
39
+
40
+ @ApiProperty()
41
+ isDone: boolean;
42
+
43
+ @ApiPropertyOptional()
44
+ callState?: number;
45
+
46
+ @ApiPropertyOptional()
47
+ idRecurrence?: number;
48
+
49
+ @ApiPropertyOptional()
50
+ idPlace?: number;
51
+
52
+ @ApiPropertyOptional()
53
+ validatedAt?: Date;
54
+
55
+ @ApiProperty()
56
+ idUsers: Array<number>;
57
+ }
@@ -0,0 +1,15 @@
1
+ import { ApiProperty, ApiPropertyOptional } from '../../../../utils/decorators';
2
+
3
+ export class GetAllCalendarEvent {
4
+ @ApiProperty()
5
+ idUser: number;
6
+
7
+ @ApiProperty()
8
+ startDate: Date;
9
+
10
+ @ApiProperty()
11
+ endDate: Date;
12
+
13
+ @ApiPropertyOptional()
14
+ isValidated?: boolean;
15
+ }
@@ -0,0 +1,21 @@
1
+ import {
2
+ IsIn, IsOptional, IsString,
3
+ } from 'class-validator';
4
+ import { ApiPropertyOptional } from '../../../../utils/decorators';
5
+
6
+ export class QueryCalendarEvent {
7
+ @ApiPropertyOptional()
8
+ @IsOptional()
9
+ @IsString({
10
+ each: true,
11
+ })
12
+ @IsIn(['room', 'createdBy', 'color', 'society', 'exercice', 'task'], { each: true })
13
+ include?: string[];
14
+
15
+ @ApiPropertyOptional()
16
+ @IsOptional()
17
+ @IsString({
18
+ each: true,
19
+ })
20
+ attributes?: string[];
21
+ }
@@ -0,0 +1,12 @@
1
+ export interface ReadAllCalendarEvent {
2
+ id: number,
3
+ title: string,
4
+ start: string,
5
+ end: string,
6
+ content: string,
7
+ idTimeCounterType?: number
8
+ validatedAt?: Date,
9
+ deletable?: boolean,
10
+ resizable?: boolean,
11
+ draggable?: boolean,
12
+ }
@@ -0,0 +1,54 @@
1
+ import { ApiPropertyOptional } from '../../../../utils';
2
+
3
+ export class UpdateCalendarEvent {
4
+ @ApiPropertyOptional()
5
+ title?: string;
6
+
7
+ @ApiPropertyOptional()
8
+ dateStart?: Date;
9
+
10
+ @ApiPropertyOptional()
11
+ dateEnd?: Date;
12
+
13
+ @ApiPropertyOptional()
14
+ comment?: string;
15
+
16
+ @ApiPropertyOptional()
17
+ idRoom?: number;
18
+
19
+ @ApiPropertyOptional()
20
+ createdBy?: number;
21
+
22
+ @ApiPropertyOptional()
23
+ idColor?: number;
24
+
25
+ @ApiPropertyOptional()
26
+ idSociety?: number;
27
+
28
+ @ApiPropertyOptional()
29
+ idExercice?: number;
30
+
31
+ @ApiPropertyOptional()
32
+ idType?: number;
33
+
34
+ @ApiPropertyOptional()
35
+ idTimeCounterType?: number;
36
+
37
+ @ApiPropertyOptional()
38
+ typeComptable?: number;
39
+
40
+ @ApiPropertyOptional()
41
+ isDone?: boolean;
42
+
43
+ @ApiPropertyOptional()
44
+ callState?: number;
45
+
46
+ @ApiPropertyOptional()
47
+ idRecurrence?: number;
48
+
49
+ @ApiPropertyOptional()
50
+ idPlace?: number;
51
+
52
+ @ApiPropertyOptional()
53
+ validatedAt?: Date;
54
+ }
@@ -0,0 +1,4 @@
1
+ export type ReadPartnerTransactionType = {
2
+ id: number;
3
+ name: string;
4
+ };
@@ -0,0 +1,14 @@
1
+ import { IsString, IsDateString } from 'class-validator';
2
+ import { ApiProperty } from '../../../../utils';
3
+
4
+ export class QueryAttendance {
5
+ @ApiProperty()
6
+ @IsString()
7
+ @IsDateString()
8
+ startDate: string;
9
+
10
+ @ApiProperty()
11
+ @IsString()
12
+ @IsDateString()
13
+ endDate: string;
14
+ }
@@ -0,0 +1,36 @@
1
+ import {
2
+ IsString, IsDateString, IsOptional, IsNumber, IsArray,
3
+ } from 'class-validator';
4
+ import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
5
+
6
+ export class QueryPaginatedDelays {
7
+ @ApiProperty()
8
+ @IsString()
9
+ @IsDateString()
10
+ startDate: string;
11
+
12
+ @ApiProperty()
13
+ @IsString()
14
+ @IsDateString()
15
+ endDate: string;
16
+
17
+ @ApiPropertyOptional()
18
+ @IsOptional()
19
+ @IsString()
20
+ search?: string;
21
+
22
+ @ApiPropertyOptional()
23
+ @IsOptional()
24
+ @IsArray()
25
+ idUser?: number[];
26
+
27
+ @ApiPropertyOptional({ default: 25 })
28
+ @IsOptional()
29
+ @IsNumber()
30
+ limit?: number;
31
+
32
+ @ApiPropertyOptional({ default: 1 })
33
+ @IsOptional()
34
+ @IsNumber()
35
+ page?: number;
36
+ }
@@ -0,0 +1,4 @@
1
+ export interface ReadAttendanceHours {
2
+ idUser: number;
3
+ datas: any[];
4
+ }
@@ -0,0 +1,21 @@
1
+ export interface Delay {
2
+ date: string;
3
+ sumDelays?: number;
4
+ sumForgottenDisconnections?: number;
5
+ sumRealWorkingHours: string;
6
+ sumTheoricalWorkingHours: string;
7
+ }
8
+ export interface DelaysByDay {
9
+ Monday?: Delay;
10
+ Tuesday?: Delay;
11
+ Wednesday?: Delay;
12
+ Thursday?: Delay;
13
+ Friday?: Delay;
14
+ }
15
+
16
+ export interface ReadPaginatedDelays {
17
+ idUser: number;
18
+ firstname: string;
19
+ lastname: string;
20
+ days: DelaysByDay
21
+ }
@@ -0,0 +1,6 @@
1
+ export interface ReadUsersNotConnected {
2
+ idUser: number;
3
+ firstname: string;
4
+ lastname: string;
5
+ theoreticalHour: string;
6
+ }
@@ -0,0 +1,6 @@
1
+ import { IUser } from '../../models/IUser';
2
+
3
+ export interface CollaboratorsByRoles {
4
+ idRole: number,
5
+ members: IUser[]
6
+ }
@@ -1,4 +1,5 @@
1
1
  import {
2
+ IsNumber,
2
3
  IsOptional, IsString,
3
4
  } from 'class-validator';
4
5
  import { ApiPropertyOptional } from '../../../../utils';
@@ -10,4 +11,19 @@ export class ParamsGetAllCollaborators {
10
11
  each: true,
11
12
  })
12
13
  attributes?: string[];
14
+
15
+ @ApiPropertyOptional()
16
+ @IsOptional()
17
+ @IsString()
18
+ search?: string;
19
+
20
+ @ApiPropertyOptional()
21
+ @IsOptional()
22
+ @IsNumber()
23
+ idRoles?: number[];
24
+
25
+ @ApiPropertyOptional()
26
+ @IsOptional()
27
+ @IsNumber()
28
+ idUser?: number[];
13
29
  }
@@ -0,0 +1,11 @@
1
+ import { ApiProperty } from '../../../../utils';
2
+
3
+ export class QueryGetAllCollaborators {
4
+ @ApiProperty({
5
+ description: 'filtering users id',
6
+ required: false,
7
+ type: [Number],
8
+ example: [1, 13],
9
+ })
10
+ idUser?: number[];
11
+ }
@@ -0,0 +1,11 @@
1
+ import { ApiProperty } from '../../../../utils';
2
+
3
+ export class QueryGetAllCollaboratorsByRoles {
4
+ @ApiProperty({
5
+ description: 'roles used for group users',
6
+ required: true,
7
+ type: [Number],
8
+ example: [1, 13],
9
+ })
10
+ idRoles: number[];
11
+ }
@@ -0,0 +1,12 @@
1
+ export interface DailyHour {
2
+ from: number;
3
+ to: number;
4
+ class?: string;
5
+ }
6
+ export interface SpecialHours {
7
+ 1?: DailyHour | DailyHour[];
8
+ 2?: DailyHour | DailyHour[];
9
+ 3?: DailyHour | DailyHour[];
10
+ 4?: DailyHour | DailyHour[];
11
+ 5?: DailyHour | DailyHour[];
12
+ }
@@ -0,0 +1,6 @@
1
+ export interface DateRange {
2
+ start: string;
3
+ end: string;
4
+ from?: number;
5
+ to?: number;
6
+ }
@@ -0,0 +1,32 @@
1
+ import { IUser } from './IUser';
2
+ import { IAbsenceType } from './IAbsenceType';
3
+ import { IFile } from './IFile';
4
+ import { IAbsenceRequestTime } from './IAbsenceRequestTime';
5
+
6
+ // absenceRequest
7
+ export interface IAbsenceRequest {
8
+ id?: number;
9
+ validService?: Date | null;
10
+ validRh?: Date | null;
11
+ motifAsk?: string | null;
12
+ commentResponse?: string | null;
13
+ dateStartHoliday?: Date | null;
14
+ dateEndHoliday?: Date | null;
15
+ refused?: boolean | null;
16
+ isSolidarite?: boolean;
17
+ idTypeAbsence?: number | null;
18
+ idUserAsk?: number | null;
19
+ idUserValidRh?: number | null;
20
+ idUserValidService?: number | null;
21
+ idFile?: number | null;
22
+ createdAt?: Date | null;
23
+ updatedAt?: Date | null;
24
+
25
+ // Associations
26
+ userDemand?: IUser;
27
+ userValidRh?: IUser;
28
+ userValidService?: IUser;
29
+ typeAbsence?: IAbsenceType;
30
+ file?: IFile;
31
+ absenceRequestTimes?: IAbsenceRequestTime[];
32
+ }
@@ -0,0 +1,15 @@
1
+ import { IAbsenceRequest } from './IAbsenceRequest';
2
+
3
+ // absenceRequestTime
4
+ export interface IAbsenceRequestTime {
5
+ id?: number;
6
+ type: number;
7
+ idAbsenceRequest?: number | null;
8
+ startDate: Date | null;
9
+ endDate: Date | null;
10
+ createdAt?: Date | null;
11
+ updatedAt?: Date | null;
12
+
13
+ // Associations
14
+ absenceRequest?: IAbsenceRequest;
15
+ }