@silexpert/core 1.3.183-1 → 1.3.184-0

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 (265) hide show
  1. package/dist/cjs/api/resources/Card.d.ts +1 -23
  2. package/dist/cjs/api/resources/Card.d.ts.map +1 -1
  3. package/dist/cjs/api/resources/Card.js +0 -36
  4. package/dist/cjs/api/resources/Card.js.map +1 -1
  5. package/dist/cjs/api/resources/Checklist.d.ts +6 -0
  6. package/dist/cjs/api/resources/Checklist.d.ts.map +1 -1
  7. package/dist/cjs/api/resources/Checklist.js +6 -0
  8. package/dist/cjs/api/resources/Checklist.js.map +1 -1
  9. package/dist/cjs/api/resources/DocumentRequest.d.ts +3 -1
  10. package/dist/cjs/api/resources/DocumentRequest.d.ts.map +1 -1
  11. package/dist/cjs/api/resources/DocumentRequest.js +6 -0
  12. package/dist/cjs/api/resources/DocumentRequest.js.map +1 -1
  13. package/dist/cjs/api/resources/User.d.ts +1 -6
  14. package/dist/cjs/api/resources/User.d.ts.map +1 -1
  15. package/dist/cjs/api/resources/User.js +0 -15
  16. package/dist/cjs/api/resources/User.js.map +1 -1
  17. package/dist/cjs/types/Enum/BalanceSheet.d.ts.map +1 -1
  18. package/dist/cjs/types/Enum/BalanceSheet.js +6 -6
  19. package/dist/cjs/types/Enum/BalanceSheet.js.map +1 -1
  20. package/dist/cjs/types/Enum/Consistency.d.ts +1 -1
  21. package/dist/cjs/types/Enum/Consistency.js +7 -7
  22. package/dist/cjs/types/Enum/Consistency.js.map +1 -1
  23. package/dist/cjs/types/Enum/DashboardBlock.d.ts +2 -1
  24. package/dist/cjs/types/Enum/DashboardBlock.d.ts.map +1 -1
  25. package/dist/cjs/types/Enum/DashboardBlock.js +1 -0
  26. package/dist/cjs/types/Enum/DashboardBlock.js.map +1 -1
  27. package/dist/cjs/types/Enum/Ged.d.ts.map +1 -1
  28. package/dist/cjs/types/Enum/Ged.js +21 -38
  29. package/dist/cjs/types/Enum/Ged.js.map +1 -1
  30. package/dist/cjs/types/Enum/InformationRequestState.d.ts +2 -1
  31. package/dist/cjs/types/Enum/InformationRequestState.d.ts.map +1 -1
  32. package/dist/cjs/types/Enum/InformationRequestState.js +1 -0
  33. package/dist/cjs/types/Enum/InformationRequestState.js.map +1 -1
  34. package/dist/cjs/types/Enum/InformationRequestType.d.ts.map +1 -1
  35. package/dist/cjs/types/Enum/InformationRequestType.js +12 -6
  36. package/dist/cjs/types/Enum/InformationRequestType.js.map +1 -1
  37. package/dist/cjs/types/Enum/KilometricAllowanceScale.d.ts.map +1 -1
  38. package/dist/cjs/types/Enum/KilometricAllowanceScale.js +119 -0
  39. package/dist/cjs/types/Enum/KilometricAllowanceScale.js.map +1 -1
  40. package/dist/cjs/types/Enum/MailAuto.d.ts +3 -1
  41. package/dist/cjs/types/Enum/MailAuto.d.ts.map +1 -1
  42. package/dist/cjs/types/Enum/MailAuto.js +2 -0
  43. package/dist/cjs/types/Enum/MailAuto.js.map +1 -1
  44. package/dist/cjs/types/Interface/api/balanceSheet/UpdateBalanceSheet.d.ts +0 -1
  45. package/dist/cjs/types/Interface/api/balanceSheet/UpdateBalanceSheet.d.ts.map +1 -1
  46. package/dist/cjs/types/Interface/api/balanceSheet/UpdateBalanceSheet.js +0 -6
  47. package/dist/cjs/types/Interface/api/balanceSheet/UpdateBalanceSheet.js.map +1 -1
  48. package/dist/cjs/types/Interface/api/card/Cron.d.ts +3 -0
  49. package/dist/cjs/types/Interface/api/card/Cron.d.ts.map +1 -1
  50. package/dist/cjs/types/Interface/api/card/Cron.js +10 -1
  51. package/dist/cjs/types/Interface/api/card/Cron.js.map +1 -1
  52. package/dist/cjs/types/Interface/api/card/QueryUserCards.d.ts +0 -11
  53. package/dist/cjs/types/Interface/api/card/QueryUserCards.d.ts.map +1 -1
  54. package/dist/cjs/types/Interface/api/card/QueryUserCards.js +1 -44
  55. package/dist/cjs/types/Interface/api/card/QueryUserCards.js.map +1 -1
  56. package/dist/cjs/types/Interface/api/card/UpdateCard.d.ts +0 -13
  57. package/dist/cjs/types/Interface/api/card/UpdateCard.d.ts.map +1 -1
  58. package/dist/cjs/types/Interface/api/card/UpdateCard.js +1 -58
  59. package/dist/cjs/types/Interface/api/card/UpdateCard.js.map +1 -1
  60. package/dist/cjs/types/Interface/api/documentRequest/Query.d.ts +10 -0
  61. package/dist/cjs/types/Interface/api/documentRequest/Query.d.ts.map +1 -1
  62. package/dist/cjs/types/Interface/api/documentRequest/Query.js +43 -1
  63. package/dist/cjs/types/Interface/api/documentRequest/Query.js.map +1 -1
  64. package/dist/cjs/types/Interface/api/revenue/revenueMovement.d.ts +10 -9
  65. package/dist/cjs/types/Interface/api/revenue/revenueMovement.d.ts.map +1 -1
  66. package/dist/cjs/types/Interface/api/revenue/revenueMovement.js +16 -15
  67. package/dist/cjs/types/Interface/api/revenue/revenueMovement.js.map +1 -1
  68. package/dist/cjs/types/Interface/api/revenue/revenueSnapshotGenerate.d.ts +0 -3
  69. package/dist/cjs/types/Interface/api/revenue/revenueSnapshotGenerate.d.ts.map +1 -1
  70. package/dist/cjs/types/Interface/api/revenue/revenueSnapshotGenerate.js +1 -14
  71. package/dist/cjs/types/Interface/api/revenue/revenueSnapshotGenerate.js.map +1 -1
  72. package/dist/cjs/types/Interface/models/IBalanceSheet.d.ts +0 -3
  73. package/dist/cjs/types/Interface/models/IBalanceSheet.d.ts.map +1 -1
  74. package/dist/cjs/types/Interface/models/IBalanceSheet.js.map +1 -1
  75. package/dist/cjs/types/Interface/models/ICard.d.ts +0 -19
  76. package/dist/cjs/types/Interface/models/ICard.d.ts.map +1 -1
  77. package/dist/cjs/types/Interface/models/ICard.js.map +1 -1
  78. package/dist/cjs/types/Interface/models/ICardHistory.d.ts +0 -4
  79. package/dist/cjs/types/Interface/models/ICardHistory.d.ts.map +1 -1
  80. package/dist/cjs/types/Interface/models/ICardHistory.js.map +1 -1
  81. package/dist/cjs/types/Interface/models/ICustomerVat.d.ts +0 -1
  82. package/dist/cjs/types/Interface/models/ICustomerVat.d.ts.map +1 -1
  83. package/dist/cjs/types/Interface/models/ICustomerVat.js.map +1 -1
  84. package/dist/cjs/types/index.d.ts +0 -5
  85. package/dist/cjs/types/index.d.ts.map +1 -1
  86. package/dist/cjs/types/index.js +0 -5
  87. package/dist/cjs/types/index.js.map +1 -1
  88. package/dist/cjs/utils/checkup.d.ts +12 -368
  89. package/dist/cjs/utils/checkup.d.ts.map +1 -1
  90. package/dist/cjs/utils/checkup.js +342 -565
  91. package/dist/cjs/utils/checkup.js.map +1 -1
  92. package/dist/cjs/utils/vat/centuries.js +2 -2
  93. package/dist/cjs/utils/vat/centuries.js.map +1 -1
  94. package/dist/cjs/utils/vat/utils.d.ts.map +1 -1
  95. package/dist/cjs/utils/vat/utils.js +5 -2
  96. package/dist/cjs/utils/vat/utils.js.map +1 -1
  97. package/dist/mjs/api/resources/Card.d.ts +1 -23
  98. package/dist/mjs/api/resources/Card.d.ts.map +1 -1
  99. package/dist/mjs/api/resources/Card.js +0 -45
  100. package/dist/mjs/api/resources/Card.js.map +1 -1
  101. package/dist/mjs/api/resources/Checklist.d.ts +6 -0
  102. package/dist/mjs/api/resources/Checklist.d.ts.map +1 -1
  103. package/dist/mjs/api/resources/Checklist.js +6 -0
  104. package/dist/mjs/api/resources/Checklist.js.map +1 -1
  105. package/dist/mjs/api/resources/DocumentRequest.d.ts +3 -1
  106. package/dist/mjs/api/resources/DocumentRequest.d.ts.map +1 -1
  107. package/dist/mjs/api/resources/DocumentRequest.js +6 -0
  108. package/dist/mjs/api/resources/DocumentRequest.js.map +1 -1
  109. package/dist/mjs/api/resources/User.d.ts +1 -6
  110. package/dist/mjs/api/resources/User.d.ts.map +1 -1
  111. package/dist/mjs/api/resources/User.js +0 -15
  112. package/dist/mjs/api/resources/User.js.map +1 -1
  113. package/dist/mjs/types/Enum/BalanceSheet.d.ts.map +1 -1
  114. package/dist/mjs/types/Enum/BalanceSheet.js +6 -6
  115. package/dist/mjs/types/Enum/BalanceSheet.js.map +1 -1
  116. package/dist/mjs/types/Enum/Consistency.d.ts +1 -1
  117. package/dist/mjs/types/Enum/Consistency.js +7 -7
  118. package/dist/mjs/types/Enum/Consistency.js.map +1 -1
  119. package/dist/mjs/types/Enum/DashboardBlock.d.ts +2 -1
  120. package/dist/mjs/types/Enum/DashboardBlock.d.ts.map +1 -1
  121. package/dist/mjs/types/Enum/DashboardBlock.js +1 -0
  122. package/dist/mjs/types/Enum/DashboardBlock.js.map +1 -1
  123. package/dist/mjs/types/Enum/Ged.d.ts.map +1 -1
  124. package/dist/mjs/types/Enum/Ged.js +21 -38
  125. package/dist/mjs/types/Enum/Ged.js.map +1 -1
  126. package/dist/mjs/types/Enum/InformationRequestState.d.ts +2 -1
  127. package/dist/mjs/types/Enum/InformationRequestState.d.ts.map +1 -1
  128. package/dist/mjs/types/Enum/InformationRequestState.js +1 -0
  129. package/dist/mjs/types/Enum/InformationRequestState.js.map +1 -1
  130. package/dist/mjs/types/Enum/InformationRequestType.d.ts.map +1 -1
  131. package/dist/mjs/types/Enum/InformationRequestType.js +12 -6
  132. package/dist/mjs/types/Enum/InformationRequestType.js.map +1 -1
  133. package/dist/mjs/types/Enum/KilometricAllowanceScale.d.ts.map +1 -1
  134. package/dist/mjs/types/Enum/KilometricAllowanceScale.js +119 -0
  135. package/dist/mjs/types/Enum/KilometricAllowanceScale.js.map +1 -1
  136. package/dist/mjs/types/Enum/MailAuto.d.ts +3 -1
  137. package/dist/mjs/types/Enum/MailAuto.d.ts.map +1 -1
  138. package/dist/mjs/types/Enum/MailAuto.js +2 -0
  139. package/dist/mjs/types/Enum/MailAuto.js.map +1 -1
  140. package/dist/mjs/types/Interface/api/balanceSheet/UpdateBalanceSheet.d.ts +0 -1
  141. package/dist/mjs/types/Interface/api/balanceSheet/UpdateBalanceSheet.d.ts.map +1 -1
  142. package/dist/mjs/types/Interface/api/balanceSheet/UpdateBalanceSheet.js +0 -7
  143. package/dist/mjs/types/Interface/api/balanceSheet/UpdateBalanceSheet.js.map +1 -1
  144. package/dist/mjs/types/Interface/api/card/Cron.d.ts +3 -0
  145. package/dist/mjs/types/Interface/api/card/Cron.d.ts.map +1 -1
  146. package/dist/mjs/types/Interface/api/card/Cron.js +8 -0
  147. package/dist/mjs/types/Interface/api/card/Cron.js.map +1 -1
  148. package/dist/mjs/types/Interface/api/card/QueryUserCards.d.ts +0 -11
  149. package/dist/mjs/types/Interface/api/card/QueryUserCards.d.ts.map +1 -1
  150. package/dist/mjs/types/Interface/api/card/QueryUserCards.js +1 -43
  151. package/dist/mjs/types/Interface/api/card/QueryUserCards.js.map +1 -1
  152. package/dist/mjs/types/Interface/api/card/UpdateCard.d.ts +0 -13
  153. package/dist/mjs/types/Interface/api/card/UpdateCard.d.ts.map +1 -1
  154. package/dist/mjs/types/Interface/api/card/UpdateCard.js +1 -65
  155. package/dist/mjs/types/Interface/api/card/UpdateCard.js.map +1 -1
  156. package/dist/mjs/types/Interface/api/documentRequest/Query.d.ts +10 -0
  157. package/dist/mjs/types/Interface/api/documentRequest/Query.d.ts.map +1 -1
  158. package/dist/mjs/types/Interface/api/documentRequest/Query.js +48 -2
  159. package/dist/mjs/types/Interface/api/documentRequest/Query.js.map +1 -1
  160. package/dist/mjs/types/Interface/api/revenue/revenueMovement.d.ts +10 -9
  161. package/dist/mjs/types/Interface/api/revenue/revenueMovement.d.ts.map +1 -1
  162. package/dist/mjs/types/Interface/api/revenue/revenueMovement.js +13 -12
  163. package/dist/mjs/types/Interface/api/revenue/revenueMovement.js.map +1 -1
  164. package/dist/mjs/types/Interface/api/revenue/revenueSnapshotGenerate.d.ts +0 -3
  165. package/dist/mjs/types/Interface/api/revenue/revenueSnapshotGenerate.d.ts.map +1 -1
  166. package/dist/mjs/types/Interface/api/revenue/revenueSnapshotGenerate.js +2 -22
  167. package/dist/mjs/types/Interface/api/revenue/revenueSnapshotGenerate.js.map +1 -1
  168. package/dist/mjs/types/Interface/models/IBalanceSheet.d.ts +0 -3
  169. package/dist/mjs/types/Interface/models/IBalanceSheet.d.ts.map +1 -1
  170. package/dist/mjs/types/Interface/models/IBalanceSheet.js.map +1 -1
  171. package/dist/mjs/types/Interface/models/ICard.d.ts +0 -19
  172. package/dist/mjs/types/Interface/models/ICard.d.ts.map +1 -1
  173. package/dist/mjs/types/Interface/models/ICard.js.map +1 -1
  174. package/dist/mjs/types/Interface/models/ICardHistory.d.ts +0 -4
  175. package/dist/mjs/types/Interface/models/ICardHistory.d.ts.map +1 -1
  176. package/dist/mjs/types/Interface/models/ICardHistory.js.map +1 -1
  177. package/dist/mjs/types/Interface/models/ICustomerVat.d.ts +0 -1
  178. package/dist/mjs/types/Interface/models/ICustomerVat.d.ts.map +1 -1
  179. package/dist/mjs/types/Interface/models/ICustomerVat.js.map +1 -1
  180. package/dist/mjs/types/index.d.ts +0 -5
  181. package/dist/mjs/types/index.d.ts.map +1 -1
  182. package/dist/mjs/types/index.js +0 -5
  183. package/dist/mjs/types/index.js.map +1 -1
  184. package/dist/mjs/utils/checkup.d.ts +12 -368
  185. package/dist/mjs/utils/checkup.d.ts.map +1 -1
  186. package/dist/mjs/utils/checkup.js +343 -566
  187. package/dist/mjs/utils/checkup.js.map +1 -1
  188. package/dist/mjs/utils/vat/centuries.js +2 -2
  189. package/dist/mjs/utils/vat/centuries.js.map +1 -1
  190. package/dist/mjs/utils/vat/utils.d.ts.map +1 -1
  191. package/dist/mjs/utils/vat/utils.js +5 -2
  192. package/dist/mjs/utils/vat/utils.js.map +1 -1
  193. package/package.json +1 -1
  194. package/ts/api/resources/Card.ts +0 -61
  195. package/ts/api/resources/Checklist.ts +6 -0
  196. package/ts/api/resources/DocumentRequest.ts +9 -1
  197. package/ts/api/resources/User.ts +0 -23
  198. package/ts/types/Enum/BalanceSheet.ts +17 -17
  199. package/ts/types/Enum/Consistency.ts +7 -7
  200. package/ts/types/Enum/DashboardBlock.ts +1 -0
  201. package/ts/types/Enum/Ged.ts +31 -45
  202. package/ts/types/Enum/InformationRequestState.ts +1 -0
  203. package/ts/types/Enum/InformationRequestType.ts +12 -6
  204. package/ts/types/Enum/KilometricAllowanceScale.ts +119 -0
  205. package/ts/types/Enum/MailAuto.ts +2 -0
  206. package/ts/types/Interface/api/balanceSheet/UpdateBalanceSheet.ts +0 -5
  207. package/ts/types/Interface/api/card/Cron.ts +8 -1
  208. package/ts/types/Interface/api/card/QueryUserCards.ts +1 -36
  209. package/ts/types/Interface/api/card/UpdateCard.ts +2 -50
  210. package/ts/types/Interface/api/documentRequest/Query.ts +40 -2
  211. package/ts/types/Interface/api/revenue/revenueMovement.ts +11 -9
  212. package/ts/types/Interface/api/revenue/revenueSnapshotGenerate.ts +2 -21
  213. package/ts/types/Interface/models/IBalanceSheet.ts +0 -3
  214. package/ts/types/Interface/models/ICard.ts +0 -20
  215. package/ts/types/Interface/models/ICardHistory.ts +0 -4
  216. package/ts/types/Interface/models/ICustomerVat.ts +0 -1
  217. package/ts/types/index.ts +0 -5
  218. package/ts/utils/checkup.ts +347 -566
  219. package/ts/utils/vat/centuries.ts +2 -2
  220. package/ts/utils/vat/utils.ts +7 -2
  221. package/dist/cjs/types/Interface/api/card/ModifyAcceptation.d.ts +0 -9
  222. package/dist/cjs/types/Interface/api/card/ModifyAcceptation.d.ts.map +0 -1
  223. package/dist/cjs/types/Interface/api/card/ModifyAcceptation.js +0 -43
  224. package/dist/cjs/types/Interface/api/card/ModifyAcceptation.js.map +0 -1
  225. package/dist/cjs/types/Interface/api/card/ModifyBalanceSheet.d.ts +0 -25
  226. package/dist/cjs/types/Interface/api/card/ModifyBalanceSheet.d.ts.map +0 -1
  227. package/dist/cjs/types/Interface/api/card/ModifyBalanceSheet.js +0 -106
  228. package/dist/cjs/types/Interface/api/card/ModifyBalanceSheet.js.map +0 -1
  229. package/dist/cjs/types/Interface/api/card/ModifyCustomerVat.d.ts +0 -5
  230. package/dist/cjs/types/Interface/api/card/ModifyCustomerVat.d.ts.map +0 -1
  231. package/dist/cjs/types/Interface/api/card/ModifyCustomerVat.js +0 -29
  232. package/dist/cjs/types/Interface/api/card/ModifyCustomerVat.js.map +0 -1
  233. package/dist/cjs/types/Interface/api/card/ModifyPlanning.d.ts +0 -18
  234. package/dist/cjs/types/Interface/api/card/ModifyPlanning.d.ts.map +0 -1
  235. package/dist/cjs/types/Interface/api/card/ModifyPlanning.js +0 -79
  236. package/dist/cjs/types/Interface/api/card/ModifyPlanning.js.map +0 -1
  237. package/dist/cjs/types/Interface/api/card/Query.d.ts +0 -8
  238. package/dist/cjs/types/Interface/api/card/Query.d.ts.map +0 -1
  239. package/dist/cjs/types/Interface/api/card/Query.js +0 -37
  240. package/dist/cjs/types/Interface/api/card/Query.js.map +0 -1
  241. package/dist/mjs/types/Interface/api/card/ModifyAcceptation.d.ts +0 -9
  242. package/dist/mjs/types/Interface/api/card/ModifyAcceptation.d.ts.map +0 -1
  243. package/dist/mjs/types/Interface/api/card/ModifyAcceptation.js +0 -42
  244. package/dist/mjs/types/Interface/api/card/ModifyAcceptation.js.map +0 -1
  245. package/dist/mjs/types/Interface/api/card/ModifyBalanceSheet.d.ts +0 -25
  246. package/dist/mjs/types/Interface/api/card/ModifyBalanceSheet.d.ts.map +0 -1
  247. package/dist/mjs/types/Interface/api/card/ModifyBalanceSheet.js +0 -115
  248. package/dist/mjs/types/Interface/api/card/ModifyBalanceSheet.js.map +0 -1
  249. package/dist/mjs/types/Interface/api/card/ModifyCustomerVat.d.ts +0 -5
  250. package/dist/mjs/types/Interface/api/card/ModifyCustomerVat.d.ts.map +0 -1
  251. package/dist/mjs/types/Interface/api/card/ModifyCustomerVat.js +0 -27
  252. package/dist/mjs/types/Interface/api/card/ModifyCustomerVat.js.map +0 -1
  253. package/dist/mjs/types/Interface/api/card/ModifyPlanning.d.ts +0 -18
  254. package/dist/mjs/types/Interface/api/card/ModifyPlanning.d.ts.map +0 -1
  255. package/dist/mjs/types/Interface/api/card/ModifyPlanning.js +0 -84
  256. package/dist/mjs/types/Interface/api/card/ModifyPlanning.js.map +0 -1
  257. package/dist/mjs/types/Interface/api/card/Query.d.ts +0 -8
  258. package/dist/mjs/types/Interface/api/card/Query.d.ts.map +0 -1
  259. package/dist/mjs/types/Interface/api/card/Query.js +0 -34
  260. package/dist/mjs/types/Interface/api/card/Query.js.map +0 -1
  261. package/ts/types/Interface/api/card/ModifyAcceptation.ts +0 -24
  262. package/ts/types/Interface/api/card/ModifyBalanceSheet.ts +0 -81
  263. package/ts/types/Interface/api/card/ModifyCustomerVat.ts +0 -13
  264. package/ts/types/Interface/api/card/ModifyPlanning.ts +0 -52
  265. package/ts/types/Interface/api/card/Query.ts +0 -19
@@ -1,6 +1,7 @@
1
- import { IsArray, IsInt, IsOptional } from 'class-validator';
2
- import { ApiPropertyOptional } from '../../../../utils';
1
+ import { IsArray, IsBoolean, IsInt, IsOptional } from 'class-validator';
2
+ import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
3
3
  import { TypeFile } from '../../../Enum/Ged';
4
+ import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
4
5
 
5
6
  export class QueryDocumentRequest {
6
7
  @ApiPropertyOptional()
@@ -23,3 +24,40 @@ export class QueryDocumentRequest {
23
24
  @IsArray()
24
25
  typeFile?: TypeFile[];
25
26
  }
27
+
28
+ export class SendRelaunchDocumentsMail {
29
+ @ApiProperty()
30
+ @IsInt()
31
+ idExercice: number;
32
+
33
+ @ApiProperty()
34
+ @IsBoolean()
35
+ @ToBoolean()
36
+ sendRefusedTemplate: boolean;
37
+
38
+ @ApiProperty()
39
+ @IsBoolean()
40
+ @ToBoolean()
41
+ isForChecklist: boolean;
42
+ }
43
+
44
+ export class SendAskDocumentsMail {
45
+ @ApiProperty()
46
+ @IsInt()
47
+ idExercice: number;
48
+
49
+ @ApiPropertyOptional()
50
+ @IsOptional()
51
+ @IsBoolean()
52
+ @ToBoolean()
53
+ addAdviceNote?: boolean;
54
+
55
+
56
+ @ApiProperty()
57
+ @IsBoolean()
58
+ @ToBoolean()
59
+ isForChecklist: boolean;
60
+
61
+ }
62
+
63
+
@@ -209,9 +209,9 @@ export class IGenerateAllSnapshotsRequest {
209
209
  }
210
210
 
211
211
  /**
212
- * DTO pour gérer la rétroactivité des mouvements de revenu
212
+ * DTO pour générer les mouvements de revenu rétroactifs
213
213
  */
214
- export class IManageRetroactivityRequest {
214
+ export class IGenerateRetroactiveMovementsRequest {
215
215
  @ApiPropertyOptional()
216
216
  @IsOptional()
217
217
  @IsInt()
@@ -229,9 +229,9 @@ export class IManageRetroactivityRequest {
229
229
  }
230
230
 
231
231
  /**
232
- * Réponse pour la gestion de la rétroactivité
232
+ * Réponse pour la génération de mouvements rétroactifs
233
233
  */
234
- export interface IManageRetroactivityResponse {
234
+ export interface IGenerateRetroactiveMovementsResponse {
235
235
  idSociety: number;
236
236
  idExercice: number[];
237
237
  exerciceStartDate: Date[];
@@ -258,9 +258,9 @@ export interface IManageRetroactivityResponse {
258
258
  }
259
259
 
260
260
  /**
261
- * DTO pour gérer la rétroactivité batch de toutes les sociétés sans mouvements
261
+ * DTO pour générer les mouvements rétroactifs en batch pour toutes les sociétés sans mouvements
262
262
  */
263
- export class IManageRetroactivityBatchRequest {
263
+ export class IGenerateRetroactiveMovementsBatchRequest {
264
264
  @ApiPropertyOptional({
265
265
  description: 'Limite du nombre de sociétés à traiter',
266
266
  example: 10,
@@ -304,14 +304,16 @@ export class IManageRetroactivityBatchRequest {
304
304
  }
305
305
 
306
306
  /**
307
- * Réponse pour la gestion batch de la rétroactivité
307
+ * Réponse pour la génération batch de mouvements rétroactifs
308
308
  */
309
- export interface IManageRetroactivityBatchResponse {
309
+ export interface IGenerateRetroactiveMovementsBatchResponse {
310
310
  message: string;
311
311
  totalSocietiesProcessed: number;
312
- results: IManageRetroactivityResponse[];
312
+ results: IGenerateRetroactiveMovementsResponse[];
313
313
  errors: Array<{
314
314
  idSociety: number;
315
315
  error: string;
316
316
  }>;
317
317
  }
318
+
319
+ export { IGenerateRetroactiveMovementsRequest as GenerateRetroactiveMovements };
@@ -1,5 +1,5 @@
1
- import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
2
- import { IsOptional, IsString, IsNumber, IsInt } from 'class-validator';
1
+ import { ApiProperty } from '../../../../utils';
2
+ import { IsOptional, IsString, IsNumber } from 'class-validator';
3
3
 
4
4
  export class GenerateSnapshot {
5
5
  @ApiProperty({
@@ -40,22 +40,3 @@ export class GenerateAllSnapshots {
40
40
  @IsString()
41
41
  date?: string;
42
42
  }
43
-
44
- export class ManageRetroactivity {
45
- // @ApiProperty({
46
- // required: true,
47
- // description: 'ID de la société',
48
- // example: 60170,
49
- // })
50
- // @IsInt()
51
- // idSociety: number;
52
-
53
- @ApiPropertyOptional({
54
- required: false,
55
- description: "ID de l'exercice (si non fourni, utilise l'exercice courant)",
56
- example: 123456,
57
- })
58
- @IsOptional()
59
- @IsInt()
60
- idExercice?: number;
61
- }
@@ -4,7 +4,6 @@ import { ISupervision } from './ISupervision';
4
4
  import { IPrestation } from './IPrestation';
5
5
  import { IGedFile } from './IGedFile';
6
6
  import { IFile } from './IFile';
7
- import { ICard } from './ICard';
8
7
  import { IBalanceSheetHistory } from './IBalanceSheetHistory';
9
8
  import { IAdditionalBalance } from './IAdditionalBalance';
10
9
 
@@ -24,7 +23,6 @@ export interface IBalanceSheet {
24
23
  bankCollectingState?: number;
25
24
  idExercice?: number;
26
25
  idCalendarEvent?: number;
27
- idCard?: number;
28
26
  createdAt?: Date;
29
27
  updatedAt?: Date;
30
28
 
@@ -35,7 +33,6 @@ export interface IBalanceSheet {
35
33
  prestations?: IPrestation[];
36
34
  gedFiles?: IGedFile[];
37
35
  file?: IFile;
38
- card?: ICard;
39
36
  balanceSheetHistories?: IBalanceSheetHistory[];
40
37
  additionalBalance?: IAdditionalBalance;
41
38
  }
@@ -6,7 +6,6 @@ import { ICalendarEvent } from './ICalendarEvent';
6
6
  import { ICustomerVat } from './ICustomerVat';
7
7
  import { ICardHistory } from './ICardHistory';
8
8
  import { IComment } from './IComment';
9
- import { ITeam } from './ITeam';
10
9
  import { IChecklist } from './IChecklist';
11
10
  import { ICustomerIsRegime } from './ICustomerIsRegime';
12
11
  import { IExercice } from './IExercice';
@@ -15,12 +14,8 @@ export interface ICard {
15
14
  id?: number;
16
15
  type: CardType;
17
16
  state: CardState;
18
- isManual: boolean;
19
- isBlocked: boolean;
20
17
  priority?: number | null;
21
- plannedAt?: Date | null;
22
18
  idUser?: number | null;
23
- idTeam?: number | null;
24
19
  idSociety: number;
25
20
  idBalanceSheet?: number | null;
26
21
  idCustomerVat?: number | null;
@@ -33,28 +28,13 @@ export interface ICard {
33
28
 
34
29
  // Associations
35
30
  user?: IUser;
36
- team?: ITeam;
37
31
  society?: ISociety;
38
32
  balancesheet?: IBalanceSheet;
39
33
  vat?: ICustomerVat;
40
34
  customerIsRegime?: ICustomerIsRegime;
41
35
  checklist?: IChecklist;
42
36
  exercice?: IExercice;
43
- /**
44
- * @deprecated old relationship with balance sheet
45
- */
46
- balanceSheet?: IBalanceSheet;
47
- /**
48
- * @deprecated old relationship with customer vat
49
- */
50
- customerVat?: ICustomerVat;
51
37
  events?: ICalendarEvent[];
52
38
  history?: ICardHistory[];
53
39
  comment?: IComment;
54
40
  }
55
-
56
- export interface CardAnnotedTransaction {
57
- total: number;
58
- nbAnnoted: number;
59
- rate: number;
60
- }
@@ -1,15 +1,12 @@
1
1
  import { CardState } from '../../Enum/Card';
2
2
  import { IUser } from './IUser';
3
3
  import { ICard } from './ICard';
4
- import { ITeam } from './ITeam';
5
4
 
6
5
  export interface ICardHistory {
7
6
  id?: number;
8
7
  state: CardState;
9
- plannedAt: Date;
10
8
  idUserWhoChanged: number;
11
9
  idUserOrigin?: number;
12
- idTeamOrigin?: number;
13
10
  idCard: number;
14
11
  createdAt?: Date;
15
12
  updatedAt?: Date;
@@ -17,6 +14,5 @@ export interface ICardHistory {
17
14
  // Associations
18
15
  userWhoChanged?: Partial<IUser>;
19
16
  userOrigin?: Partial<IUser>;
20
- teamOrigin?: Partial<ITeam>;
21
17
  card?: ICard;
22
18
  }
@@ -21,7 +21,6 @@ export interface ICustomerVat {
21
21
  acceptation: boolean | null;
22
22
  acceptationDate: Date | null;
23
23
  idMail: number | null;
24
- idCard: number | null;
25
24
  idVatDeclaration?: number | null; // Obsolète
26
25
  createdAt?: Date | null;
27
26
  updatedAt?: Date | null;
package/ts/types/index.ts CHANGED
@@ -1074,9 +1074,7 @@ export * from './Interface/api/vatControl/QueryVatControl';
1074
1074
  export * from './Interface/api/terminationList/QueryPaginateTerminationList';
1075
1075
  export * from './Interface/api/card/QueryUserCards';
1076
1076
  export * from './Interface/api/card/QueryUserCardsStats';
1077
- export * from './Interface/api/card/Query';
1078
1077
  export * from './Interface/api/card/UpdateCard';
1079
- export * from './Interface/api/card/ModifyPlanning';
1080
1078
  export * from './Interface/api/notion/NotionResponse';
1081
1079
  export * from './Interface/api/IntermediateManagementRebate';
1082
1080
  export * from './Interface/api/equipment/Query';
@@ -1130,9 +1128,6 @@ export * from './Interface/api/previsionalForm/CreatePrevisionalForm';
1130
1128
  export * from './Interface/api/toDoExpress/Query';
1131
1129
  export * from './Interface/api/toDoExpress/Read';
1132
1130
  export * from './Interface/api/config/ConfigType';
1133
- export * from './Interface/api/card/ModifyBalanceSheet';
1134
- export * from './Interface/api/card/ModifyAcceptation';
1135
- export * from './Interface/api/card/ModifyCustomerVat';
1136
1131
  export * from './Interface/api/card/Cron';
1137
1132
  export * from './Interface/api/user/RegisterProspect';
1138
1133
  export * from './Interface/api/user/RegisterWebhook';