@silexpert/core 1.1.372 → 1.1.374

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 (226) hide show
  1. package/dist/cjs/api/resources/3cx.d.ts +3 -1
  2. package/dist/cjs/api/resources/3cx.d.ts.map +1 -1
  3. package/dist/cjs/api/resources/3cx.js +6 -0
  4. package/dist/cjs/api/resources/3cx.js.map +1 -1
  5. package/dist/cjs/api/resources/Rating.d.ts +5 -2
  6. package/dist/cjs/api/resources/Rating.d.ts.map +1 -1
  7. package/dist/cjs/api/resources/Rating.js +10 -1
  8. package/dist/cjs/api/resources/Rating.js.map +1 -1
  9. package/dist/cjs/api/resources/TerminationList.d.ts +2 -2
  10. package/dist/cjs/api/resources/TerminationList.d.ts.map +1 -1
  11. package/dist/cjs/api/resources/TerminationList.js.map +1 -1
  12. package/dist/cjs/api/resources/Transaction.d.ts +2 -1
  13. package/dist/cjs/api/resources/Transaction.d.ts.map +1 -1
  14. package/dist/cjs/api/resources/Transaction.js +15 -4
  15. package/dist/cjs/api/resources/Transaction.js.map +1 -1
  16. package/dist/cjs/types/Enum/BalanceSheetQuestionWording.d.ts +1 -1
  17. package/dist/cjs/types/Enum/BalanceSheetQuestionWording.d.ts.map +1 -1
  18. package/dist/cjs/types/Enum/BalanceSheetQuestionWording.js +1 -1
  19. package/dist/cjs/types/Enum/BalanceSheetQuestionWording.js.map +1 -1
  20. package/dist/cjs/types/Enum/Notification.d.ts +2 -1
  21. package/dist/cjs/types/Enum/Notification.d.ts.map +1 -1
  22. package/dist/cjs/types/Enum/Notification.js +13 -0
  23. package/dist/cjs/types/Enum/Notification.js.map +1 -1
  24. package/dist/cjs/types/Enum/ReasonTerminationType.d.ts +2 -1
  25. package/dist/cjs/types/Enum/ReasonTerminationType.d.ts.map +1 -1
  26. package/dist/cjs/types/Enum/ReasonTerminationType.js +6 -0
  27. package/dist/cjs/types/Enum/ReasonTerminationType.js.map +1 -1
  28. package/dist/cjs/types/Enum/RegistrationSource.d.ts +1 -0
  29. package/dist/cjs/types/Enum/RegistrationSource.d.ts.map +1 -1
  30. package/dist/cjs/types/Enum/RegistrationSource.js +1 -0
  31. package/dist/cjs/types/Enum/RegistrationSource.js.map +1 -1
  32. package/dist/cjs/types/Enum/StatusRating.d.ts +5 -0
  33. package/dist/cjs/types/Enum/StatusRating.d.ts.map +1 -0
  34. package/dist/cjs/types/Enum/StatusRating.js +11 -0
  35. package/dist/cjs/types/Enum/StatusRating.js.map +1 -0
  36. package/dist/cjs/types/Enum/ToRecallRating.d.ts +5 -0
  37. package/dist/cjs/types/Enum/ToRecallRating.d.ts.map +1 -0
  38. package/dist/cjs/types/Enum/ToRecallRating.js +9 -0
  39. package/dist/cjs/types/Enum/ToRecallRating.js.map +1 -0
  40. package/dist/cjs/types/Enum/TypeSupportForNotation.d.ts +5 -0
  41. package/dist/cjs/types/Enum/TypeSupportForNotation.d.ts.map +1 -0
  42. package/dist/cjs/types/Enum/TypeSupportForNotation.js +8 -0
  43. package/dist/cjs/types/Enum/TypeSupportForNotation.js.map +1 -0
  44. package/dist/cjs/types/Interface/api/3cx/Query3cxMeeting.d.ts +6 -0
  45. package/dist/cjs/types/Interface/api/3cx/Query3cxMeeting.d.ts.map +1 -0
  46. package/dist/cjs/types/Interface/api/3cx/Query3cxMeeting.js +36 -0
  47. package/dist/cjs/types/Interface/api/3cx/Query3cxMeeting.js.map +1 -0
  48. package/dist/cjs/types/Interface/api/3cx/Read3cxMeeting.d.ts +14 -0
  49. package/dist/cjs/types/Interface/api/3cx/Read3cxMeeting.d.ts.map +1 -0
  50. package/dist/cjs/types/Interface/api/3cx/Read3cxMeeting.js +10 -0
  51. package/dist/cjs/types/Interface/api/3cx/Read3cxMeeting.js.map +1 -0
  52. package/dist/cjs/types/Interface/api/3cx/Update3cxMeeting.d.ts +10 -0
  53. package/dist/cjs/types/Interface/api/3cx/Update3cxMeeting.d.ts.map +1 -0
  54. package/dist/cjs/types/Interface/api/3cx/Update3cxMeeting.js +46 -0
  55. package/dist/cjs/types/Interface/api/3cx/Update3cxMeeting.js.map +1 -0
  56. package/dist/cjs/types/Interface/api/calendarEvent/createCalendarEvent.d.ts +1 -0
  57. package/dist/cjs/types/Interface/api/calendarEvent/createCalendarEvent.d.ts.map +1 -1
  58. package/dist/cjs/types/Interface/api/calendarEvent/createCalendarEvent.js +4 -0
  59. package/dist/cjs/types/Interface/api/calendarEvent/createCalendarEvent.js.map +1 -1
  60. package/dist/cjs/types/Interface/api/rating/CreateRating.d.ts +12 -0
  61. package/dist/cjs/types/Interface/api/rating/CreateRating.d.ts.map +1 -0
  62. package/dist/cjs/types/Interface/api/rating/CreateRating.js +71 -0
  63. package/dist/cjs/types/Interface/api/rating/CreateRating.js.map +1 -0
  64. package/dist/cjs/types/Interface/api/rating/QueryRatingPaginated.d.ts +7 -0
  65. package/dist/cjs/types/Interface/api/rating/QueryRatingPaginated.d.ts.map +1 -1
  66. package/dist/cjs/types/Interface/api/rating/QueryRatingPaginated.js +43 -0
  67. package/dist/cjs/types/Interface/api/rating/QueryRatingPaginated.js.map +1 -1
  68. package/dist/cjs/types/Interface/api/rating/UpdateRating.d.ts +6 -0
  69. package/dist/cjs/types/Interface/api/rating/UpdateRating.d.ts.map +1 -0
  70. package/dist/cjs/types/Interface/api/rating/UpdateRating.js +39 -0
  71. package/dist/cjs/types/Interface/api/rating/UpdateRating.js.map +1 -0
  72. package/dist/cjs/types/Interface/api/ratingHistory/CreateRatingHistory.d.ts +7 -0
  73. package/dist/cjs/types/Interface/api/ratingHistory/CreateRatingHistory.d.ts.map +1 -0
  74. package/dist/cjs/types/Interface/api/ratingHistory/CreateRatingHistory.js +38 -0
  75. package/dist/cjs/types/Interface/api/ratingHistory/CreateRatingHistory.js.map +1 -0
  76. package/dist/cjs/types/Interface/api/terminationList/CreateTerminationList.d.ts +24 -3
  77. package/dist/cjs/types/Interface/api/terminationList/CreateTerminationList.d.ts.map +1 -1
  78. package/dist/cjs/types/Interface/api/terminationList/CreateTerminationList.js +119 -1
  79. package/dist/cjs/types/Interface/api/terminationList/CreateTerminationList.js.map +1 -1
  80. package/dist/cjs/types/Interface/models/IAnnotation.d.ts +2 -0
  81. package/dist/cjs/types/Interface/models/IAnnotation.d.ts.map +1 -1
  82. package/dist/cjs/types/Interface/models/IAnnotation.js.map +1 -1
  83. package/dist/cjs/types/Interface/models/ICalendarEvent.d.ts +1 -0
  84. package/dist/cjs/types/Interface/models/ICalendarEvent.d.ts.map +1 -1
  85. package/dist/cjs/types/Interface/models/ICalendarEvent.js.map +1 -1
  86. package/dist/cjs/types/Interface/models/IRating.d.ts +13 -3
  87. package/dist/cjs/types/Interface/models/IRating.d.ts.map +1 -1
  88. package/dist/cjs/types/Interface/models/IRating.js.map +1 -1
  89. package/dist/cjs/types/Interface/models/IRatingHistory.d.ts +14 -0
  90. package/dist/cjs/types/Interface/models/IRatingHistory.d.ts.map +1 -0
  91. package/dist/cjs/types/Interface/models/{IReasonTermination.js → IRatingHistory.js} +1 -1
  92. package/dist/cjs/types/Interface/models/IRatingHistory.js.map +1 -0
  93. package/dist/cjs/types/index.d.ts +10 -1
  94. package/dist/cjs/types/index.d.ts.map +1 -1
  95. package/dist/cjs/types/index.js +10 -1
  96. package/dist/cjs/types/index.js.map +1 -1
  97. package/dist/mjs/api/resources/3cx.d.ts +3 -1
  98. package/dist/mjs/api/resources/3cx.d.ts.map +1 -1
  99. package/dist/mjs/api/resources/3cx.js +6 -0
  100. package/dist/mjs/api/resources/3cx.js.map +1 -1
  101. package/dist/mjs/api/resources/Rating.d.ts +5 -2
  102. package/dist/mjs/api/resources/Rating.d.ts.map +1 -1
  103. package/dist/mjs/api/resources/Rating.js +10 -1
  104. package/dist/mjs/api/resources/Rating.js.map +1 -1
  105. package/dist/mjs/api/resources/TerminationList.d.ts +2 -2
  106. package/dist/mjs/api/resources/TerminationList.d.ts.map +1 -1
  107. package/dist/mjs/api/resources/TerminationList.js.map +1 -1
  108. package/dist/mjs/api/resources/Transaction.d.ts +2 -1
  109. package/dist/mjs/api/resources/Transaction.d.ts.map +1 -1
  110. package/dist/mjs/api/resources/Transaction.js +17 -4
  111. package/dist/mjs/api/resources/Transaction.js.map +1 -1
  112. package/dist/mjs/types/Enum/BalanceSheetQuestionWording.d.ts +1 -1
  113. package/dist/mjs/types/Enum/BalanceSheetQuestionWording.d.ts.map +1 -1
  114. package/dist/mjs/types/Enum/BalanceSheetQuestionWording.js +1 -1
  115. package/dist/mjs/types/Enum/BalanceSheetQuestionWording.js.map +1 -1
  116. package/dist/mjs/types/Enum/Notification.d.ts +2 -1
  117. package/dist/mjs/types/Enum/Notification.d.ts.map +1 -1
  118. package/dist/mjs/types/Enum/Notification.js +13 -0
  119. package/dist/mjs/types/Enum/Notification.js.map +1 -1
  120. package/dist/mjs/types/Enum/ReasonTerminationType.d.ts +2 -1
  121. package/dist/mjs/types/Enum/ReasonTerminationType.d.ts.map +1 -1
  122. package/dist/mjs/types/Enum/ReasonTerminationType.js +6 -0
  123. package/dist/mjs/types/Enum/ReasonTerminationType.js.map +1 -1
  124. package/dist/mjs/types/Enum/RegistrationSource.d.ts +1 -0
  125. package/dist/mjs/types/Enum/RegistrationSource.d.ts.map +1 -1
  126. package/dist/mjs/types/Enum/RegistrationSource.js +1 -0
  127. package/dist/mjs/types/Enum/RegistrationSource.js.map +1 -1
  128. package/dist/mjs/types/Enum/StatusRating.d.ts +5 -0
  129. package/dist/mjs/types/Enum/StatusRating.d.ts.map +1 -0
  130. package/dist/mjs/types/Enum/StatusRating.js +8 -0
  131. package/dist/mjs/types/Enum/StatusRating.js.map +1 -0
  132. package/dist/mjs/types/Enum/ToRecallRating.d.ts +5 -0
  133. package/dist/mjs/types/Enum/ToRecallRating.d.ts.map +1 -0
  134. package/dist/mjs/types/Enum/ToRecallRating.js +6 -0
  135. package/dist/mjs/types/Enum/ToRecallRating.js.map +1 -0
  136. package/dist/mjs/types/Enum/TypeSupportForNotation.d.ts +5 -0
  137. package/dist/mjs/types/Enum/TypeSupportForNotation.d.ts.map +1 -0
  138. package/dist/mjs/types/Enum/TypeSupportForNotation.js +5 -0
  139. package/dist/mjs/types/Enum/TypeSupportForNotation.js.map +1 -0
  140. package/dist/mjs/types/Interface/api/3cx/Query3cxMeeting.d.ts +6 -0
  141. package/dist/mjs/types/Interface/api/3cx/Query3cxMeeting.d.ts.map +1 -0
  142. package/dist/mjs/types/Interface/api/3cx/Query3cxMeeting.js +35 -0
  143. package/dist/mjs/types/Interface/api/3cx/Query3cxMeeting.js.map +1 -0
  144. package/dist/mjs/types/Interface/api/3cx/Read3cxMeeting.d.ts +14 -0
  145. package/dist/mjs/types/Interface/api/3cx/Read3cxMeeting.d.ts.map +1 -0
  146. package/dist/mjs/types/Interface/api/3cx/Read3cxMeeting.js +14 -0
  147. package/dist/mjs/types/Interface/api/3cx/Read3cxMeeting.js.map +1 -0
  148. package/dist/mjs/types/Interface/api/3cx/Update3cxMeeting.d.ts +10 -0
  149. package/dist/mjs/types/Interface/api/3cx/Update3cxMeeting.d.ts.map +1 -0
  150. package/dist/mjs/types/Interface/api/3cx/Update3cxMeeting.js +41 -0
  151. package/dist/mjs/types/Interface/api/3cx/Update3cxMeeting.js.map +1 -0
  152. package/dist/mjs/types/Interface/api/calendarEvent/createCalendarEvent.d.ts +1 -0
  153. package/dist/mjs/types/Interface/api/calendarEvent/createCalendarEvent.d.ts.map +1 -1
  154. package/dist/mjs/types/Interface/api/calendarEvent/createCalendarEvent.js +5 -0
  155. package/dist/mjs/types/Interface/api/calendarEvent/createCalendarEvent.js.map +1 -1
  156. package/dist/mjs/types/Interface/api/rating/CreateRating.d.ts +12 -0
  157. package/dist/mjs/types/Interface/api/rating/CreateRating.d.ts.map +1 -0
  158. package/dist/mjs/types/Interface/api/rating/CreateRating.js +76 -0
  159. package/dist/mjs/types/Interface/api/rating/CreateRating.js.map +1 -0
  160. package/dist/mjs/types/Interface/api/rating/QueryRatingPaginated.d.ts +7 -0
  161. package/dist/mjs/types/Interface/api/rating/QueryRatingPaginated.d.ts.map +1 -1
  162. package/dist/mjs/types/Interface/api/rating/QueryRatingPaginated.js +50 -0
  163. package/dist/mjs/types/Interface/api/rating/QueryRatingPaginated.js.map +1 -1
  164. package/dist/mjs/types/Interface/api/rating/UpdateRating.d.ts +6 -0
  165. package/dist/mjs/types/Interface/api/rating/UpdateRating.d.ts.map +1 -0
  166. package/dist/mjs/types/Interface/api/rating/UpdateRating.js +38 -0
  167. package/dist/mjs/types/Interface/api/rating/UpdateRating.js.map +1 -0
  168. package/dist/mjs/types/Interface/api/ratingHistory/CreateRatingHistory.d.ts +7 -0
  169. package/dist/mjs/types/Interface/api/ratingHistory/CreateRatingHistory.d.ts.map +1 -0
  170. package/dist/mjs/types/Interface/api/ratingHistory/CreateRatingHistory.js +38 -0
  171. package/dist/mjs/types/Interface/api/ratingHistory/CreateRatingHistory.js.map +1 -0
  172. package/dist/mjs/types/Interface/api/terminationList/CreateTerminationList.d.ts +24 -3
  173. package/dist/mjs/types/Interface/api/terminationList/CreateTerminationList.d.ts.map +1 -1
  174. package/dist/mjs/types/Interface/api/terminationList/CreateTerminationList.js +136 -0
  175. package/dist/mjs/types/Interface/api/terminationList/CreateTerminationList.js.map +1 -1
  176. package/dist/mjs/types/Interface/models/IAnnotation.d.ts +2 -0
  177. package/dist/mjs/types/Interface/models/IAnnotation.d.ts.map +1 -1
  178. package/dist/mjs/types/Interface/models/IAnnotation.js.map +1 -1
  179. package/dist/mjs/types/Interface/models/ICalendarEvent.d.ts +1 -0
  180. package/dist/mjs/types/Interface/models/ICalendarEvent.d.ts.map +1 -1
  181. package/dist/mjs/types/Interface/models/ICalendarEvent.js.map +1 -1
  182. package/dist/mjs/types/Interface/models/IRating.d.ts +13 -3
  183. package/dist/mjs/types/Interface/models/IRating.d.ts.map +1 -1
  184. package/dist/mjs/types/Interface/models/IRating.js.map +1 -1
  185. package/dist/mjs/types/Interface/models/IRatingHistory.d.ts +14 -0
  186. package/dist/mjs/types/Interface/models/IRatingHistory.d.ts.map +1 -0
  187. package/dist/mjs/types/Interface/models/IRatingHistory.js +2 -0
  188. package/dist/mjs/types/Interface/models/IRatingHistory.js.map +1 -0
  189. package/dist/mjs/types/index.d.ts +10 -1
  190. package/dist/mjs/types/index.d.ts.map +1 -1
  191. package/dist/mjs/types/index.js +10 -1
  192. package/dist/mjs/types/index.js.map +1 -1
  193. package/package.json +1 -1
  194. package/ts/api/resources/3cx.ts +9 -0
  195. package/ts/api/resources/Rating.ts +16 -3
  196. package/ts/api/resources/TerminationList.ts +2 -2
  197. package/ts/api/resources/Transaction.ts +88 -19
  198. package/ts/types/Enum/BalanceSheetQuestionWording.ts +1 -1
  199. package/ts/types/Enum/Notification.ts +13 -0
  200. package/ts/types/Enum/ReasonTerminationType.ts +6 -0
  201. package/ts/types/Enum/RegistrationSource.ts +1 -0
  202. package/ts/types/Enum/StatusRating.ts +7 -0
  203. package/ts/types/Enum/ToRecallRating.ts +5 -0
  204. package/ts/types/Enum/TypeSupportForNotation.ts +4 -0
  205. package/ts/types/Interface/api/3cx/Query3cxMeeting.ts +19 -0
  206. package/ts/types/Interface/api/3cx/Read3cxMeeting.ts +16 -0
  207. package/ts/types/Interface/api/3cx/Update3cxMeeting.ts +26 -0
  208. package/ts/types/Interface/api/calendarEvent/createCalendarEvent.ts +3 -0
  209. package/ts/types/Interface/api/rating/CreateRating.ts +50 -0
  210. package/ts/types/Interface/api/rating/QueryRatingPaginated.ts +36 -0
  211. package/ts/types/Interface/api/rating/UpdateRating.ts +22 -0
  212. package/ts/types/Interface/api/ratingHistory/CreateRatingHistory.ts +22 -0
  213. package/ts/types/Interface/api/terminationList/CreateTerminationList.ts +101 -3
  214. package/ts/types/Interface/models/IAnnotation.ts +3 -0
  215. package/ts/types/Interface/models/ICalendarEvent.ts +1 -0
  216. package/ts/types/Interface/models/IRating.ts +13 -3
  217. package/ts/types/Interface/models/IRatingHistory.ts +17 -0
  218. package/ts/types/index.ts +10 -1
  219. package/dist/cjs/types/Interface/models/IReasonTermination.d.ts +0 -7
  220. package/dist/cjs/types/Interface/models/IReasonTermination.d.ts.map +0 -1
  221. package/dist/cjs/types/Interface/models/IReasonTermination.js.map +0 -1
  222. package/dist/mjs/types/Interface/models/IReasonTermination.d.ts +0 -7
  223. package/dist/mjs/types/Interface/models/IReasonTermination.d.ts.map +0 -1
  224. package/dist/mjs/types/Interface/models/IReasonTermination.js +0 -2
  225. package/dist/mjs/types/Interface/models/IReasonTermination.js.map +0 -1
  226. package/ts/types/Interface/models/IReasonTermination.ts +0 -7
@@ -1,4 +1,4 @@
1
- import { BasePaginate, CreateTerminationList, DestroyTerminationList, ITerminationList, QueryPaginateTerminationList, QueryTerminationAllList, QueryTerminationList, TerminationStatistics } from '../../types';
1
+ import { BasePaginate, CreateTerminationList, DestroyTerminationList, ITerminationList, QueryPaginateTerminationList, QueryTerminationAllList, QueryTerminationList, TerminationStatistics, UpdateTerminationList } from '../../types';
2
2
  import { Resource } from '../Resource';
3
3
 
4
4
  export class TerminationList extends Resource {
@@ -26,7 +26,7 @@ export class TerminationList extends Resource {
26
26
  return this.axios.$delete('/termination-lists', { params });
27
27
  }
28
28
 
29
- public update(id: number, params: Partial<ITerminationList>): Promise<ITerminationList> {
29
+ public update(id: number, params: UpdateTerminationList): Promise<ITerminationList> {
30
30
  return this.axios.$patch(`/termination-lists/${id}`, params);
31
31
  }
32
32
  }
@@ -1,13 +1,35 @@
1
1
  import { Resource } from '../Resource';
2
2
  import {
3
3
  BasePaginate,
4
- ReadFormattedAccountingTransaction, UpdateAccountingTransaction, DeleteTransactions, QueryUnexport, QueryGetAllTransactions, IAccountingTransaction, ReadAccountantBalance, CreateManualEntry, IAccountingEntry, QueryDeleteInvoices, ReadDeletedInvoices, QuerySocietyTransactionCount, ReadSocietyTransactionCount, ReadBankAccountSum, QueryBankAccountSum, QueryTransaction, ReadPartnerTransactionType, DuplicateAccountingTransaction, CreateWithMasterEntry,
4
+ ReadFormattedAccountingTransaction,
5
+ UpdateAccountingTransaction,
6
+ DeleteTransactions,
7
+ QueryUnexport,
8
+ QueryGetAllTransactions,
9
+ IAccountingTransaction,
10
+ ReadAccountantBalance,
11
+ CreateManualEntry,
12
+ IAccountingEntry,
13
+ QueryDeleteInvoices,
14
+ ReadDeletedInvoices,
15
+ QuerySocietyTransactionCount,
16
+ ReadSocietyTransactionCount,
17
+ ReadBankAccountSum,
18
+ QueryBankAccountSum,
19
+ QueryTransaction,
20
+ ReadPartnerTransactionType,
21
+ DuplicateAccountingTransaction,
22
+ CreateWithMasterEntry,
5
23
  QueryExport,
6
24
  QueryAutomaticAnnotation,
25
+ IAnnotation,
7
26
  } from '../../types';
8
27
 
9
28
  export class Transaction extends Resource {
10
- getFormattedPaginate(idSociety: number, params: QueryTransaction): Promise<BasePaginate<ReadFormattedAccountingTransaction>> {
29
+ getFormattedPaginate(
30
+ idSociety: number,
31
+ params: QueryTransaction,
32
+ ): Promise<BasePaginate<ReadFormattedAccountingTransaction>> {
11
33
  return this.axios.$get(`/society/${idSociety}/transactions`, {
12
34
  params,
13
35
  });
@@ -23,59 +45,98 @@ export class Transaction extends Resource {
23
45
  });
24
46
  }
25
47
 
26
- update(id: number, params: Partial<IAccountingTransaction>): Promise<IAccountingTransaction> {
48
+ update(
49
+ id: number,
50
+ params: Partial<IAccountingTransaction>,
51
+ ): Promise<IAccountingTransaction> {
27
52
  return this.axios.$patch(`/transactions/${id}`, params);
28
53
  }
29
54
 
30
- getAll(idSociety: number, query: QueryGetAllTransactions): Promise<IAccountingTransaction[]> {
31
- return this.axios.$get(`/society/${idSociety}/transactions/list`, { params: query });
55
+ getAll(
56
+ idSociety: number,
57
+ query: QueryGetAllTransactions,
58
+ ): Promise<IAccountingTransaction[]> {
59
+ return this.axios.$get(`/society/${idSociety}/transactions/list`, {
60
+ params: query,
61
+ });
32
62
  }
33
63
  unexport(idSociety: number, params: QueryUnexport): Promise<number> {
34
- return this.axios.$put(`/society/${idSociety}/transactions/unexport`, params);
64
+ return this.axios.$put(
65
+ `/society/${idSociety}/transactions/unexport`,
66
+ params,
67
+ );
35
68
  }
36
69
 
37
70
  export(idSociety: number, params: QueryExport): Promise<number> {
38
71
  return this.axios.$put(`/society/${idSociety}/transactions/export`, params);
39
72
  }
40
- annotate(id: number, data: UpdateAccountingTransaction): Promise<ReadFormattedAccountingTransaction> {
73
+ annotate(
74
+ id: number,
75
+ data: UpdateAccountingTransaction,
76
+ ): Promise<ReadFormattedAccountingTransaction> {
41
77
  return this.axios.$put(`/transactions/${id}`, data);
42
78
  }
43
79
  delete(idSociety: number, id: number): Promise<number> {
44
80
  return this.axios.$delete(`/society/${idSociety}/transaction/${id}`);
45
81
  }
46
82
  deleteTransactions(id: number, data: DeleteTransactions): Promise<number> {
47
- return this.axios.$delete(`/bankAccount/${id}/transactions`, { params: data });
83
+ return this.axios.$delete(`/bankAccount/${id}/transactions`, {
84
+ params: data,
85
+ });
48
86
  }
49
87
 
50
- getBalanceQuotaShare(idExercice: number): Promise<Array<ReadAccountantBalance>> {
88
+ getBalanceQuotaShare(
89
+ idExercice: number,
90
+ ): Promise<Array<ReadAccountantBalance>> {
51
91
  return this.axios.$get(`/society/balance/${idExercice}`);
52
92
  }
53
93
 
54
- createManual(idSociety: number, data: Array<CreateManualEntry>): Promise<IAccountingTransaction> {
94
+ createManual(
95
+ idSociety: number,
96
+ data: Array<CreateManualEntry>,
97
+ ): Promise<IAccountingTransaction> {
55
98
  return this.axios.$post(`/society/${idSociety}/manual-transactions`, data);
56
99
  }
57
100
 
58
- createWithMasterEntry(idSociety: number, data: Array<CreateWithMasterEntry>): Promise<IAccountingTransaction> {
101
+ createWithMasterEntry(
102
+ idSociety: number,
103
+ data: Array<CreateWithMasterEntry>,
104
+ ): Promise<IAccountingTransaction> {
59
105
  return this.axios.$post(`/society/${idSociety}/transactions`, data);
60
106
  }
61
107
 
62
- getAllManual(idSociety: number, idExercice: number): Promise<Array<Array<IAccountingEntry>>> {
63
- return this.axios.$get(`/society/${idSociety}/exercices/${idExercice}/manual-transactions`);
108
+ getAllManual(
109
+ idSociety: number,
110
+ idExercice: number,
111
+ ): Promise<Array<Array<IAccountingEntry>>> {
112
+ return this.axios.$get(
113
+ `/society/${idSociety}/exercices/${idExercice}/manual-transactions`,
114
+ );
64
115
  }
65
116
 
66
- deleteMultipleInvoices(idSociety: number, query: QueryDeleteInvoices): Promise<ReadDeletedInvoices> {
67
- return this.axios.$delete(`/society/${idSociety}/invoice-transactions`, { params: query });
117
+ deleteMultipleInvoices(
118
+ idSociety: number,
119
+ query: QueryDeleteInvoices,
120
+ ): Promise<ReadDeletedInvoices> {
121
+ return this.axios.$delete(`/society/${idSociety}/invoice-transactions`, {
122
+ params: query,
123
+ });
68
124
  }
69
125
 
70
126
  toAnnotateCount(
71
127
  idSociety: number,
72
128
  params: QuerySocietyTransactionCount,
73
129
  ): Promise<ReadSocietyTransactionCount> {
74
- return this.axios.$get(`/society/${idSociety}/transactions/to-annotate/count`, { params });
130
+ return this.axios.$get(
131
+ `/society/${idSociety}/transactions/to-annotate/count`,
132
+ { params },
133
+ );
75
134
  }
76
135
 
77
136
  getBankAccountSum(query: QueryBankAccountSum): Promise<ReadBankAccountSum> {
78
- return this.axios.$get('/society/transactions/bank-account-sum', { params: query });
137
+ return this.axios.$get('/society/transactions/bank-account-sum', {
138
+ params: query,
139
+ });
79
140
  }
80
141
 
81
142
  get(id: number): Promise<ReadFormattedAccountingTransaction> {
@@ -90,7 +151,6 @@ export class Transaction extends Resource {
90
151
  return this.axios.$get('/transactions/partners-types');
91
152
  }
92
153
 
93
-
94
154
  annotateAutomatically(payload: QueryAutomaticAnnotation): Promise<number> {
95
155
  return this.axios.$post('/transactions/annotate-automatically', payload);
96
156
  }
@@ -98,4 +158,13 @@ export class Transaction extends Resource {
98
158
  duplicate(data: DuplicateAccountingTransaction): Promise<number> {
99
159
  return this.axios.$post('/transactions/duplicate', data);
100
160
  }
101
- }
161
+
162
+ getAllAnnotationsHistory(
163
+ id: number,
164
+ signal?: AbortSignal,
165
+ ): Promise<IAnnotation[]> {
166
+ return this.axios.$get(`/transactions/${id}/history`, {
167
+ ...(signal ? { signal } : {}),
168
+ });
169
+ }
170
+ }
@@ -139,7 +139,7 @@ export enum QuestionWording {
139
139
  '39_DECIES_G' = 'Art. 39 decies G',
140
140
 
141
141
  DEFERRED_CARRY_BACK_DEFICITS = 'Avez-vous un déficit reporté en arrière ?',
142
- CARRIED_FORWARD_PREVIOUS_DEFICIT = 'Avez-vous des déficits antérieurs reportables ?',
142
+ CARRIED_FORWARD_PREVIOUS_DEFICIT = 'Avez-vous des déficits antérieurs reportables imputés sur le résultat ?',
143
143
 
144
144
  '2033_LONG_RUN_NET_CAPITAL_LOSS_AT_15_RATE' = 'Moins-values nettes à long terme imposées aux taux de 15% (12,80% pour les entreprises à l\'IR)',
145
145
  '2033_LONG_RUN_NET_CAPITAL_LOSS_AT_0_RATE' = 'Moins-values nettes à long terme imporsées aux taux de 0%',
@@ -39,6 +39,7 @@ export enum NotificationCode {
39
39
  CONSTITUTION_ABANDONED = 39,
40
40
  INTERNAL_CONTROL = 40,
41
41
  COLLABORATER_DETAILS_CHANGED = 41,
42
+ REMOVE_RDV_CLIENT = 42,
42
43
  }
43
44
 
44
45
  export enum TypeNotificationType {
@@ -291,4 +292,16 @@ export const NotificationCodeDetail: NotificationCodeType = {
291
292
  slug: 'internal-control',
292
293
  icon: 'supervisor_account',
293
294
  },
295
+ COLLABORATER_DETAILS_CHANGED: {
296
+ id: NotificationCode.COLLABORATER_DETAILS_CHANGED,
297
+ name: 'Modification informations collaborateur',
298
+ slug: 'collaborater-details-changed',
299
+ icon: 'edit',
300
+ },
301
+ REMOVE_RDV_CLIENT: {
302
+ id: NotificationCode.REMOVE_RDV_CLIENT,
303
+ name: 'Suppression d\'un rdv client',
304
+ slug: 'remove-rdv-client',
305
+ icon: 'event_busy',
306
+ },
294
307
  };
@@ -19,6 +19,7 @@ export enum ReasonTerminationType {
19
19
  BRAND_CHANGE = 18,
20
20
  SERVICE_DELAYS = 19,
21
21
  LACK_OF_ADVICE = 20,
22
+ NA = 21,
22
23
  }
23
24
 
24
25
  export const ReasonTerminationTypeDetail = [
@@ -122,4 +123,9 @@ export const ReasonTerminationTypeDetail = [
122
123
  label: 'Manque de conseil',
123
124
  active: true,
124
125
  },
126
+ {
127
+ id:ReasonTerminationType.NA,
128
+ label: 'Non précisé',
129
+ active: true,
130
+ },
125
131
  ];
@@ -3,5 +3,6 @@ export enum RegistrationSource {
3
3
  CHAT = 29,
4
4
  COMPANEO = 32,
5
5
  ONLINE_SUBSCRIPTION = 70,
6
+ NEWSLETTER = 76,
6
7
  PARTNERED_ACCOUNTANT = 90,
7
8
  }
@@ -0,0 +1,7 @@
1
+ export const StatusRating = [
2
+ { value: 0, text: 'Non' },
3
+ { value: 1, text: 'Modifié' },
4
+ { value: 2, text: 'Supprimé' },
5
+ { value: 3, text: 'Refus de supprimer' },
6
+ { value: 4, text: 'Non concerné' },
7
+ ];
@@ -0,0 +1,5 @@
1
+ export const ToRecallRating = [
2
+ { text: 'Annonce de rappel', value: 1 },
3
+ { text: 'Informations demandées', value: 2 },
4
+ { text: 'Pas d\'action nécéssaire', value: 3 },
5
+ ];
@@ -0,0 +1,4 @@
1
+ export const TypeSupportForNotation = [
2
+ { value: 1, text: 'Google' },
3
+ { value: 2, text: 'Trustpilot' },
4
+ ];
@@ -0,0 +1,19 @@
1
+ import { IsInt, IsOptional, IsString } from 'class-validator';
2
+ import { ApiPropertyOptional } from '../../../../utils';
3
+
4
+ export class Query3cxMeeting {
5
+ @ApiPropertyOptional()
6
+ @IsString()
7
+ @IsOptional()
8
+ subjectContains?: string;
9
+
10
+ @ApiPropertyOptional()
11
+ @IsInt()
12
+ @IsOptional()
13
+ daysLimit?: number;
14
+
15
+ @ApiPropertyOptional()
16
+ @IsInt()
17
+ @IsOptional()
18
+ extension?: number;
19
+ }
@@ -0,0 +1,16 @@
1
+
2
+ export class ReadData3cxMeeting {
3
+ extension: number | null;
4
+ name: string | null;
5
+ meetingid: string | null;
6
+ subject: string | null;
7
+ datetime: string | null;
8
+ duration: number | null;
9
+ participants: number | null;
10
+ type: string | null;
11
+ }
12
+
13
+
14
+ export class Read3cxMeeting {
15
+ scheduledMeetings: ReadData3cxMeeting[];
16
+ }
@@ -0,0 +1,26 @@
1
+ import { IsArray, IsString } from 'class-validator';
2
+ import { ApiProperty } from '../../../../utils';
3
+
4
+ export class Update3cxContactMeeting {
5
+ @ApiProperty()
6
+ @IsString()
7
+ declare name: string;
8
+
9
+ @ApiProperty()
10
+ @IsString()
11
+ declare email: string;
12
+
13
+ @ApiProperty()
14
+ @IsString()
15
+ declare role: 'Participant' | 'CoHost';
16
+ }
17
+
18
+ export class Update3cxMeeting {
19
+ @ApiProperty()
20
+ @IsArray()
21
+ declare contact: JSON;
22
+
23
+ @ApiProperty()
24
+ @IsString()
25
+ declare meetingId: string;
26
+ }
@@ -34,6 +34,9 @@ export class createCalendarEvent {
34
34
  @ApiPropertyOptional()
35
35
  idTimeCounterType?: number;
36
36
 
37
+ @ApiPropertyOptional()
38
+ idTimeSlot?: number;
39
+
37
40
  @ApiPropertyOptional()
38
41
  typeComptable?: number;
39
42
 
@@ -0,0 +1,50 @@
1
+ import { IsDateString, IsInt, IsOptional, IsString } from 'class-validator';
2
+ import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
3
+
4
+ export class CreateRating {
5
+ @ApiPropertyOptional({
6
+ description: 'idSociety',
7
+ required: false,
8
+ type: Number,
9
+ example: 1,
10
+ })
11
+ idSociety: number;
12
+
13
+ @ApiPropertyOptional()
14
+ @IsOptional()
15
+ @IsString()
16
+ pseudo?: string;
17
+
18
+ @ApiProperty()
19
+ @IsDateString()
20
+ noticeDate?: string;
21
+
22
+ @ApiProperty()
23
+ @IsInt()
24
+ supportType?: number;
25
+
26
+ @ApiProperty()
27
+ @IsInt()
28
+ average?: number;
29
+
30
+ @ApiPropertyOptional()
31
+ @IsOptional()
32
+ @IsString()
33
+ link?: string;
34
+
35
+ @ApiProperty()
36
+ @IsString()
37
+ comment?: string;
38
+
39
+ @ApiPropertyOptional()
40
+ @IsInt()
41
+ @IsOptional()
42
+ toRecall?: number;
43
+
44
+ @ApiPropertyOptional()
45
+ @IsOptional()
46
+ @IsDateString()
47
+ responseDate?: string;
48
+
49
+
50
+ }
@@ -1,3 +1,4 @@
1
+ import { IsDateString, IsInt, IsOptional, IsString } from 'class-validator';
1
2
  import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
2
3
 
3
4
  export class QueryRatingPaginated {
@@ -26,4 +27,39 @@ export class QueryRatingPaginated {
26
27
  example: 1,
27
28
  })
28
29
  idSociety: number;
30
+
31
+ @ApiPropertyOptional()
32
+ @IsOptional()
33
+ @IsString()
34
+ search?: string;
35
+
36
+ @ApiPropertyOptional()
37
+ @IsInt()
38
+ @IsOptional()
39
+ supportType?: number;
40
+
41
+ @ApiPropertyOptional()
42
+ @IsInt()
43
+ @IsOptional()
44
+ average?: number;
45
+
46
+ @ApiPropertyOptional()
47
+ @IsInt()
48
+ @IsOptional()
49
+ idUserWhoCalledFirst?: number;
50
+
51
+ @ApiPropertyOptional()
52
+ @IsInt()
53
+ @IsOptional()
54
+ status?: number;
55
+
56
+ @ApiPropertyOptional()
57
+ @IsInt()
58
+ @IsOptional()
59
+ toRecall?: number;
60
+
61
+ @ApiPropertyOptional()
62
+ @IsOptional()
63
+ @IsDateString()
64
+ noticeDate?: string;
29
65
  }
@@ -0,0 +1,22 @@
1
+ import { IsInt, IsOptional, IsString } from 'class-validator';
2
+ import { ApiPropertyOptional } from '../../../../utils';
3
+
4
+ export class UpdateRating {
5
+ @ApiPropertyOptional({
6
+ description: 'idSociety',
7
+ required: false,
8
+ type: Number,
9
+ example: 1,
10
+ })
11
+ idSociety: number;
12
+
13
+ @ApiPropertyOptional()
14
+ @IsOptional()
15
+ @IsString()
16
+ pseudo?: string;
17
+
18
+ @ApiPropertyOptional()
19
+ @IsInt()
20
+ @IsOptional()
21
+ status?: number;
22
+ }
@@ -0,0 +1,22 @@
1
+ import { IsDateString, IsInt, IsString } from 'class-validator';
2
+ import { ApiProperty } from '../../../../utils';
3
+
4
+ export class CreateRatingHistory {
5
+ @ApiProperty()
6
+ @IsDateString()
7
+ callingDate?: string;
8
+
9
+ @ApiProperty()
10
+ @IsString()
11
+ commentResponse?: string;
12
+
13
+ @ApiProperty()
14
+ @IsInt()
15
+ idUserWhoCalled?: number;
16
+
17
+ @ApiProperty()
18
+ @IsInt()
19
+ idRating?: number;
20
+
21
+
22
+ }
@@ -17,6 +17,11 @@ export class CreateTerminationList {
17
17
  @IsInt()
18
18
  idTerminationState?: number;
19
19
 
20
+ @ApiPropertyOptional()
21
+ @IsOptional()
22
+ @IsInt()
23
+ idTerminationConclusion?: number;
24
+
20
25
  @ApiPropertyOptional()
21
26
  @IsOptional()
22
27
  @IsString()
@@ -62,17 +67,17 @@ export class CreateTerminationList {
62
67
  @ApiPropertyOptional()
63
68
  @IsOptional()
64
69
  @IsNumber()
65
- monthlyPrice: number;
70
+ monthlyPrice?: number;
66
71
 
67
72
  @ApiPropertyOptional()
68
73
  @IsOptional()
69
74
  @IsInt()
70
- monthNumber: number;
75
+ monthNumber?: number;
71
76
 
72
77
  @ApiPropertyOptional()
73
78
  @IsOptional()
74
79
  @IsInt()
75
- monthOffer: number;
80
+ monthOffer?: number;
76
81
 
77
82
  @ApiPropertyOptional()
78
83
  @IsOptional()
@@ -98,6 +103,99 @@ export class CreateTerminationList {
98
103
  @ToBoolean()
99
104
  needPaymentLink?: boolean;
100
105
 
106
+ @ApiPropertyOptional()
107
+ @IsOptional()
108
+ @IsNumber()
109
+ totalAmount?: number;
110
+ }
111
+
112
+ export class UpdateTerminationList {
113
+ @ApiPropertyOptional()
114
+ @IsOptional()
115
+ @IsInt()
116
+ idTerminationType?: number;
117
+
118
+ @ApiPropertyOptional()
119
+ @IsOptional()
120
+ @IsInt()
121
+ idTerminationState?: number;
122
+
123
+ @ApiPropertyOptional()
124
+ @IsOptional()
125
+ @IsInt()
126
+ idTerminationConclusion?: number;
127
+
128
+ @ApiPropertyOptional()
129
+ @IsOptional()
130
+ @IsString()
131
+ comment?: string;
132
+
133
+ @ApiPropertyOptional()
134
+ @IsOptional()
135
+ @IsDate()
136
+ effectiveDate?: Date;
137
+
138
+ @ApiPropertyOptional()
139
+ @IsOptional()
140
+ @IsInt()
141
+ idExercice?: number | null;
142
+
143
+ @ApiPropertyOptional()
144
+ @IsOptional()
145
+ @IsDate()
146
+ endContractDate?: Date;
147
+
148
+ @ApiPropertyOptional()
149
+ @IsOptional()
150
+ @IsBoolean()
151
+ @ToBoolean()
152
+ refund?: boolean;
153
+
154
+ @ApiPropertyOptional()
155
+ @IsOptional()
156
+ @IsInt()
157
+ refundAmount?: number;
158
+
159
+ @ApiPropertyOptional()
160
+ @IsOptional()
161
+ @IsInt()
162
+ idRefund?: number;
163
+
164
+ @ApiPropertyOptional()
165
+ @IsOptional()
166
+ @IsNumber()
167
+ monthlyPrice?: number;
168
+
169
+ @ApiPropertyOptional()
170
+ @IsOptional()
171
+ @IsInt()
172
+ monthNumber?: number;
173
+
174
+ @ApiPropertyOptional()
175
+ @IsOptional()
176
+ @IsInt()
177
+ monthOffer?: number;
178
+
179
+ @ApiPropertyOptional()
180
+ @IsOptional()
181
+ @IsInt({ each: true })
182
+ idReasonTermination?: number[];
183
+
184
+ @ApiPropertyOptional()
185
+ @IsOptional()
186
+ @IsInt()
187
+ idSociety?: number;
188
+
189
+ @ApiPropertyOptional()
190
+ @IsOptional()
191
+ @IsInt()
192
+ idPrestation?: number;
193
+
194
+ @ApiPropertyOptional()
195
+ @IsOptional()
196
+ @IsInt()
197
+ idCollaborateur?: number;
198
+
101
199
  @ApiPropertyOptional()
102
200
  @IsOptional()
103
201
  @IsNumber()
@@ -1,5 +1,6 @@
1
1
  import { AnnotationType } from '../../Enum/Annotation';
2
2
  import { AnnotateAccountingTransaction } from '../api/accountingEntry/AnnotateAccountingTransaction';
3
+ import { IUser } from './IUser';
3
4
 
4
5
  export interface IAnnotation {
5
6
  id?: number;
@@ -9,4 +10,6 @@ export interface IAnnotation {
9
10
  idAccountingTransaction: number;
10
11
  createdAt?: Date;
11
12
  updatedAt?: Date;
13
+
14
+ user?: IUser | null;
12
15
  }
@@ -19,6 +19,7 @@ export interface ICalendarEvent {
19
19
  idSociety: number | null;
20
20
  idExercice: number | null;
21
21
  idTimeCounterType: number | null;
22
+ idTimeSlot: number | null;
22
23
  typeComptable: number | null;
23
24
  isDone: boolean;
24
25
  callState: number | null;
@@ -1,3 +1,4 @@
1
+ import { IUser } from './IUser';
1
2
  import { ISociety } from './ISociety';
2
3
 
3
4
  // ratings
@@ -5,16 +6,25 @@ export interface IRating {
5
6
  id?: number;
6
7
  notes?: string;
7
8
  comment?: string;
9
+ commentResponseFirst?: string;
8
10
  average?: number;
9
11
  dateNotShowPopUp?: Date | null;
10
12
  link?: string | null;
11
- idUserWhoInsert: number | null;
13
+ pseudo?: string | null;
14
+ idUserWhoInsert: number
15
+ idUserWhoCalledFirst?: number | null;
12
16
  noticeDate?: Date | null;
17
+ responseDate?: Date | null;
13
18
  isMugSent?: boolean | null;
14
- idSociety: number;
19
+ idSociety?: number;
20
+ toRecall?: number;
21
+ supportType?: number;
22
+ status?: number;
15
23
  createdAt?: Date | null;
16
24
  updatedAt?: Date | null;
17
25
 
18
26
  // Associations
19
- society?: ISociety;
27
+ society?: ISociety | null;
28
+ userWhoInsert?: IUser;
29
+ userWhoCalledFirst?: IUser;
20
30
  }