@silexpert/core 1.3.129-2 → 1.3.129

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 (274) hide show
  1. package/dist/cjs/api/resources/Checklist.d.ts +1 -28
  2. package/dist/cjs/api/resources/Checklist.d.ts.map +1 -1
  3. package/dist/cjs/api/resources/Checklist.js +0 -39
  4. package/dist/cjs/api/resources/Checklist.js.map +1 -1
  5. package/dist/cjs/api/resources/Exercice.d.ts +0 -1
  6. package/dist/cjs/api/resources/Exercice.d.ts.map +1 -1
  7. package/dist/cjs/api/resources/Exercice.js +0 -3
  8. package/dist/cjs/api/resources/Exercice.js.map +1 -1
  9. package/dist/cjs/api/resources.d.ts +0 -8
  10. package/dist/cjs/api/resources.d.ts.map +1 -1
  11. package/dist/cjs/api/resources.js +0 -8
  12. package/dist/cjs/api/resources.js.map +1 -1
  13. package/dist/cjs/types/Enum/ChecklistType.d.ts +1 -8
  14. package/dist/cjs/types/Enum/ChecklistType.d.ts.map +1 -1
  15. package/dist/cjs/types/Enum/ChecklistType.js +0 -8
  16. package/dist/cjs/types/Enum/ChecklistType.js.map +1 -1
  17. package/dist/cjs/types/Enum/ConstitutionState.js +1 -1
  18. package/dist/cjs/types/Enum/ConstitutionState.js.map +1 -1
  19. package/dist/cjs/types/Enum/Ged.d.ts +1 -31
  20. package/dist/cjs/types/Enum/Ged.d.ts.map +1 -1
  21. package/dist/cjs/types/Enum/Ged.js +5 -152
  22. package/dist/cjs/types/Enum/Ged.js.map +1 -1
  23. package/dist/cjs/types/Enum/PrestationType.d.ts +1 -8
  24. package/dist/cjs/types/Enum/PrestationType.d.ts.map +1 -1
  25. package/dist/cjs/types/Enum/PrestationType.js +15 -162
  26. package/dist/cjs/types/Enum/PrestationType.js.map +1 -1
  27. package/dist/cjs/types/Enum/SalesContractBrandClementine.js +7 -7
  28. package/dist/cjs/types/Enum/SalesContractBrandClementine.js.map +1 -1
  29. package/dist/cjs/types/Enum/ZoneCode.d.ts +0 -6
  30. package/dist/cjs/types/Enum/ZoneCode.d.ts.map +1 -1
  31. package/dist/cjs/types/Enum/ZoneCode.js +0 -7
  32. package/dist/cjs/types/Enum/ZoneCode.js.map +1 -1
  33. package/dist/cjs/types/Interface/api/checklist/Query.d.ts +0 -3
  34. package/dist/cjs/types/Interface/api/checklist/Query.d.ts.map +1 -1
  35. package/dist/cjs/types/Interface/api/checklist/Query.js +1 -10
  36. package/dist/cjs/types/Interface/api/checklist/Query.js.map +1 -1
  37. package/dist/cjs/types/Interface/api/checklist/Update.d.ts +1 -11
  38. package/dist/cjs/types/Interface/api/checklist/Update.d.ts.map +1 -1
  39. package/dist/cjs/types/Interface/api/checklist/Update.js +1 -49
  40. package/dist/cjs/types/Interface/api/checklist/Update.js.map +1 -1
  41. package/dist/cjs/types/Interface/api/gedFile/createFileAndGed.d.ts +0 -2
  42. package/dist/cjs/types/Interface/api/gedFile/createFileAndGed.d.ts.map +1 -1
  43. package/dist/cjs/types/Interface/api/gedFile/createFileAndGed.js +1 -9
  44. package/dist/cjs/types/Interface/api/gedFile/createFileAndGed.js.map +1 -1
  45. package/dist/cjs/types/Interface/api/library/QueryLibrary.d.ts +2 -4
  46. package/dist/cjs/types/Interface/api/library/QueryLibrary.d.ts.map +1 -1
  47. package/dist/cjs/types/Interface/api/library/QueryLibrary.js +2 -6
  48. package/dist/cjs/types/Interface/api/library/QueryLibrary.js.map +1 -1
  49. package/dist/cjs/types/Interface/api/society/ReadSociety.d.ts +3 -7
  50. package/dist/cjs/types/Interface/api/society/ReadSociety.d.ts.map +1 -1
  51. package/dist/cjs/types/Interface/api/society/ReadSociety.js.map +1 -1
  52. package/dist/cjs/types/Interface/api/stripe/Create.d.ts +0 -1
  53. package/dist/cjs/types/Interface/api/stripe/Create.d.ts.map +1 -1
  54. package/dist/cjs/types/Interface/api/stripe/Create.js +0 -6
  55. package/dist/cjs/types/Interface/api/stripe/Create.js.map +1 -1
  56. package/dist/cjs/types/Interface/models/IAttestation.d.ts +18 -20
  57. package/dist/cjs/types/Interface/models/IAttestation.d.ts.map +1 -1
  58. package/dist/cjs/types/Interface/models/IAttestation.js.map +1 -1
  59. package/dist/cjs/types/Interface/models/IChecklist.d.ts +2 -2
  60. package/dist/cjs/types/Interface/models/IChecklist.d.ts.map +1 -1
  61. package/dist/cjs/types/Interface/models/IChecklist.js.map +1 -1
  62. package/dist/cjs/types/Interface/models/IChecklistDetail.d.ts +3 -3
  63. package/dist/cjs/types/Interface/models/IChecklistDetail.d.ts.map +1 -1
  64. package/dist/cjs/types/Interface/models/IChecklistDetail.js.map +1 -1
  65. package/dist/cjs/types/Interface/models/IGedFile.d.ts +1 -6
  66. package/dist/cjs/types/Interface/models/IGedFile.d.ts.map +1 -1
  67. package/dist/cjs/types/Interface/models/IGedFile.js.map +1 -1
  68. package/dist/cjs/types/index.d.ts +0 -5
  69. package/dist/cjs/types/index.d.ts.map +1 -1
  70. package/dist/cjs/types/index.js +0 -5
  71. package/dist/cjs/types/index.js.map +1 -1
  72. package/dist/cjs/utils/vat/utils.js +3 -3
  73. package/dist/cjs/utils/vat/utils.js.map +1 -1
  74. package/dist/cjs/utils/webmail.d.ts.map +1 -1
  75. package/dist/cjs/utils/webmail.js +3 -4
  76. package/dist/cjs/utils/webmail.js.map +1 -1
  77. package/dist/mjs/api/resources/Checklist.d.ts +1 -28
  78. package/dist/mjs/api/resources/Checklist.d.ts.map +1 -1
  79. package/dist/mjs/api/resources/Checklist.js +0 -39
  80. package/dist/mjs/api/resources/Checklist.js.map +1 -1
  81. package/dist/mjs/api/resources/Exercice.d.ts +0 -1
  82. package/dist/mjs/api/resources/Exercice.d.ts.map +1 -1
  83. package/dist/mjs/api/resources/Exercice.js +0 -3
  84. package/dist/mjs/api/resources/Exercice.js.map +1 -1
  85. package/dist/mjs/api/resources.d.ts +0 -8
  86. package/dist/mjs/api/resources.d.ts.map +1 -1
  87. package/dist/mjs/api/resources.js +0 -8
  88. package/dist/mjs/api/resources.js.map +1 -1
  89. package/dist/mjs/types/Enum/ChecklistType.d.ts +1 -8
  90. package/dist/mjs/types/Enum/ChecklistType.d.ts.map +1 -1
  91. package/dist/mjs/types/Enum/ChecklistType.js +0 -8
  92. package/dist/mjs/types/Enum/ChecklistType.js.map +1 -1
  93. package/dist/mjs/types/Enum/ConstitutionState.js +1 -1
  94. package/dist/mjs/types/Enum/ConstitutionState.js.map +1 -1
  95. package/dist/mjs/types/Enum/Ged.d.ts +1 -31
  96. package/dist/mjs/types/Enum/Ged.d.ts.map +1 -1
  97. package/dist/mjs/types/Enum/Ged.js +4 -151
  98. package/dist/mjs/types/Enum/Ged.js.map +1 -1
  99. package/dist/mjs/types/Enum/PrestationType.d.ts +1 -8
  100. package/dist/mjs/types/Enum/PrestationType.d.ts.map +1 -1
  101. package/dist/mjs/types/Enum/PrestationType.js +15 -162
  102. package/dist/mjs/types/Enum/PrestationType.js.map +1 -1
  103. package/dist/mjs/types/Enum/SalesContractBrandClementine.js +7 -7
  104. package/dist/mjs/types/Enum/SalesContractBrandClementine.js.map +1 -1
  105. package/dist/mjs/types/Enum/ZoneCode.d.ts +0 -6
  106. package/dist/mjs/types/Enum/ZoneCode.d.ts.map +1 -1
  107. package/dist/mjs/types/Enum/ZoneCode.js +0 -7
  108. package/dist/mjs/types/Enum/ZoneCode.js.map +1 -1
  109. package/dist/mjs/types/Interface/api/checklist/Query.d.ts +0 -3
  110. package/dist/mjs/types/Interface/api/checklist/Query.d.ts.map +1 -1
  111. package/dist/mjs/types/Interface/api/checklist/Query.js +0 -9
  112. package/dist/mjs/types/Interface/api/checklist/Query.js.map +1 -1
  113. package/dist/mjs/types/Interface/api/checklist/Update.d.ts +1 -11
  114. package/dist/mjs/types/Interface/api/checklist/Update.d.ts.map +1 -1
  115. package/dist/mjs/types/Interface/api/checklist/Update.js +3 -57
  116. package/dist/mjs/types/Interface/api/checklist/Update.js.map +1 -1
  117. package/dist/mjs/types/Interface/api/gedFile/createFileAndGed.d.ts +0 -2
  118. package/dist/mjs/types/Interface/api/gedFile/createFileAndGed.d.ts.map +1 -1
  119. package/dist/mjs/types/Interface/api/gedFile/createFileAndGed.js +2 -12
  120. package/dist/mjs/types/Interface/api/gedFile/createFileAndGed.js.map +1 -1
  121. package/dist/mjs/types/Interface/api/library/QueryLibrary.d.ts +2 -4
  122. package/dist/mjs/types/Interface/api/library/QueryLibrary.d.ts.map +1 -1
  123. package/dist/mjs/types/Interface/api/library/QueryLibrary.js +3 -9
  124. package/dist/mjs/types/Interface/api/library/QueryLibrary.js.map +1 -1
  125. package/dist/mjs/types/Interface/api/society/ReadSociety.d.ts +3 -7
  126. package/dist/mjs/types/Interface/api/society/ReadSociety.d.ts.map +1 -1
  127. package/dist/mjs/types/Interface/api/society/ReadSociety.js.map +1 -1
  128. package/dist/mjs/types/Interface/api/stripe/Create.d.ts +0 -1
  129. package/dist/mjs/types/Interface/api/stripe/Create.d.ts.map +1 -1
  130. package/dist/mjs/types/Interface/api/stripe/Create.js +0 -7
  131. package/dist/mjs/types/Interface/api/stripe/Create.js.map +1 -1
  132. package/dist/mjs/types/Interface/models/IAttestation.d.ts +18 -20
  133. package/dist/mjs/types/Interface/models/IAttestation.d.ts.map +1 -1
  134. package/dist/mjs/types/Interface/models/IAttestation.js.map +1 -1
  135. package/dist/mjs/types/Interface/models/IChecklist.d.ts +2 -2
  136. package/dist/mjs/types/Interface/models/IChecklist.d.ts.map +1 -1
  137. package/dist/mjs/types/Interface/models/IChecklist.js.map +1 -1
  138. package/dist/mjs/types/Interface/models/IChecklistDetail.d.ts +3 -3
  139. package/dist/mjs/types/Interface/models/IChecklistDetail.d.ts.map +1 -1
  140. package/dist/mjs/types/Interface/models/IChecklistDetail.js.map +1 -1
  141. package/dist/mjs/types/Interface/models/IGedFile.d.ts +1 -6
  142. package/dist/mjs/types/Interface/models/IGedFile.d.ts.map +1 -1
  143. package/dist/mjs/types/Interface/models/IGedFile.js.map +1 -1
  144. package/dist/mjs/types/index.d.ts +0 -5
  145. package/dist/mjs/types/index.d.ts.map +1 -1
  146. package/dist/mjs/types/index.js +0 -5
  147. package/dist/mjs/types/index.js.map +1 -1
  148. package/dist/mjs/utils/vat/utils.js +3 -3
  149. package/dist/mjs/utils/vat/utils.js.map +1 -1
  150. package/dist/mjs/utils/webmail.d.ts.map +1 -1
  151. package/dist/mjs/utils/webmail.js +3 -4
  152. package/dist/mjs/utils/webmail.js.map +1 -1
  153. package/package.json +14 -14
  154. package/ts/api/resources/Checklist.ts +0 -49
  155. package/ts/api/resources/Exercice.ts +0 -4
  156. package/ts/api/resources.ts +0 -8
  157. package/ts/types/Enum/ChecklistType.ts +0 -9
  158. package/ts/types/Enum/ConstitutionState.ts +1 -1
  159. package/ts/types/Enum/Ged.ts +193 -345
  160. package/ts/types/Enum/PrestationType.ts +15 -162
  161. package/ts/types/Enum/SalesContractBrandClementine.ts +7 -7
  162. package/ts/types/Enum/ZoneCode.ts +0 -7
  163. package/ts/types/Interface/api/checklist/Query.ts +0 -7
  164. package/ts/types/Interface/api/checklist/Update.ts +3 -44
  165. package/ts/types/Interface/api/gedFile/createFileAndGed.ts +1 -7
  166. package/ts/types/Interface/api/library/QueryLibrary.ts +2 -4
  167. package/ts/types/Interface/api/society/ReadSociety.ts +3 -7
  168. package/ts/types/Interface/api/stripe/Create.ts +0 -5
  169. package/ts/types/Interface/models/IAttestation.ts +18 -20
  170. package/ts/types/Interface/models/IChecklist.ts +2 -2
  171. package/ts/types/Interface/models/IChecklistDetail.ts +3 -3
  172. package/ts/types/Interface/models/IGedFile.ts +1 -6
  173. package/ts/types/index.ts +0 -5
  174. package/ts/utils/vat/utils.ts +3 -3
  175. package/ts/utils/webmail.ts +16 -19
  176. package/dist/cjs/api/resources/BalanceSheetReport.d.ts +0 -10
  177. package/dist/cjs/api/resources/BalanceSheetReport.d.ts.map +0 -1
  178. package/dist/cjs/api/resources/BalanceSheetReport.js +0 -23
  179. package/dist/cjs/api/resources/BalanceSheetReport.js.map +0 -1
  180. package/dist/cjs/api/resources/DashboardLayout.d.ts +0 -10
  181. package/dist/cjs/api/resources/DashboardLayout.d.ts.map +0 -1
  182. package/dist/cjs/api/resources/DashboardLayout.js +0 -20
  183. package/dist/cjs/api/resources/DashboardLayout.js.map +0 -1
  184. package/dist/cjs/api/resources/DocumentRequest.d.ts +0 -10
  185. package/dist/cjs/api/resources/DocumentRequest.d.ts.map +0 -1
  186. package/dist/cjs/api/resources/DocumentRequest.js +0 -23
  187. package/dist/cjs/api/resources/DocumentRequest.js.map +0 -1
  188. package/dist/cjs/api/resources/feature.d.ts +0 -6
  189. package/dist/cjs/api/resources/feature.d.ts.map +0 -1
  190. package/dist/cjs/api/resources/feature.js +0 -11
  191. package/dist/cjs/api/resources/feature.js.map +0 -1
  192. package/dist/cjs/types/Enum/DashboardBlock.d.ts +0 -13
  193. package/dist/cjs/types/Enum/DashboardBlock.d.ts.map +0 -1
  194. package/dist/cjs/types/Enum/DashboardBlock.js +0 -17
  195. package/dist/cjs/types/Enum/DashboardBlock.js.map +0 -1
  196. package/dist/cjs/types/Interface/api/DashboardLayout.d.ts +0 -23
  197. package/dist/cjs/types/Interface/api/DashboardLayout.d.ts.map +0 -1
  198. package/dist/cjs/types/Interface/api/DashboardLayout.js +0 -3
  199. package/dist/cjs/types/Interface/api/DashboardLayout.js.map +0 -1
  200. package/dist/cjs/types/Interface/api/balanceSheetReport/Query.d.ts +0 -40
  201. package/dist/cjs/types/Interface/api/balanceSheetReport/Query.d.ts.map +0 -1
  202. package/dist/cjs/types/Interface/api/balanceSheetReport/Query.js +0 -207
  203. package/dist/cjs/types/Interface/api/balanceSheetReport/Query.js.map +0 -1
  204. package/dist/cjs/types/Interface/api/documentRequest/Create.d.ts +0 -10
  205. package/dist/cjs/types/Interface/api/documentRequest/Create.d.ts.map +0 -1
  206. package/dist/cjs/types/Interface/api/documentRequest/Create.js +0 -46
  207. package/dist/cjs/types/Interface/api/documentRequest/Create.js.map +0 -1
  208. package/dist/cjs/types/Interface/api/documentRequest/Query.d.ts +0 -5
  209. package/dist/cjs/types/Interface/api/documentRequest/Query.d.ts.map +0 -1
  210. package/dist/cjs/types/Interface/api/documentRequest/Query.js +0 -30
  211. package/dist/cjs/types/Interface/api/documentRequest/Query.js.map +0 -1
  212. package/dist/cjs/types/Interface/api/feature/GetAvailableDashboardBlocks.d.ts +0 -5
  213. package/dist/cjs/types/Interface/api/feature/GetAvailableDashboardBlocks.d.ts.map +0 -1
  214. package/dist/cjs/types/Interface/api/feature/GetAvailableDashboardBlocks.js +0 -3
  215. package/dist/cjs/types/Interface/api/feature/GetAvailableDashboardBlocks.js.map +0 -1
  216. package/dist/cjs/types/Interface/models/IDocumentRequest.d.ts +0 -23
  217. package/dist/cjs/types/Interface/models/IDocumentRequest.d.ts.map +0 -1
  218. package/dist/cjs/types/Interface/models/IDocumentRequest.js +0 -3
  219. package/dist/cjs/types/Interface/models/IDocumentRequest.js.map +0 -1
  220. package/dist/mjs/api/resources/BalanceSheetReport.d.ts +0 -10
  221. package/dist/mjs/api/resources/BalanceSheetReport.d.ts.map +0 -1
  222. package/dist/mjs/api/resources/BalanceSheetReport.js +0 -22
  223. package/dist/mjs/api/resources/BalanceSheetReport.js.map +0 -1
  224. package/dist/mjs/api/resources/DashboardLayout.d.ts +0 -10
  225. package/dist/mjs/api/resources/DashboardLayout.d.ts.map +0 -1
  226. package/dist/mjs/api/resources/DashboardLayout.js +0 -16
  227. package/dist/mjs/api/resources/DashboardLayout.js.map +0 -1
  228. package/dist/mjs/api/resources/DocumentRequest.d.ts +0 -10
  229. package/dist/mjs/api/resources/DocumentRequest.d.ts.map +0 -1
  230. package/dist/mjs/api/resources/DocumentRequest.js +0 -27
  231. package/dist/mjs/api/resources/DocumentRequest.js.map +0 -1
  232. package/dist/mjs/api/resources/feature.d.ts +0 -6
  233. package/dist/mjs/api/resources/feature.d.ts.map +0 -1
  234. package/dist/mjs/api/resources/feature.js +0 -7
  235. package/dist/mjs/api/resources/feature.js.map +0 -1
  236. package/dist/mjs/types/Enum/DashboardBlock.d.ts +0 -13
  237. package/dist/mjs/types/Enum/DashboardBlock.d.ts.map +0 -1
  238. package/dist/mjs/types/Enum/DashboardBlock.js +0 -14
  239. package/dist/mjs/types/Enum/DashboardBlock.js.map +0 -1
  240. package/dist/mjs/types/Interface/api/DashboardLayout.d.ts +0 -23
  241. package/dist/mjs/types/Interface/api/DashboardLayout.d.ts.map +0 -1
  242. package/dist/mjs/types/Interface/api/DashboardLayout.js +0 -2
  243. package/dist/mjs/types/Interface/api/DashboardLayout.js.map +0 -1
  244. package/dist/mjs/types/Interface/api/balanceSheetReport/Query.d.ts +0 -40
  245. package/dist/mjs/types/Interface/api/balanceSheetReport/Query.d.ts.map +0 -1
  246. package/dist/mjs/types/Interface/api/balanceSheetReport/Query.js +0 -200
  247. package/dist/mjs/types/Interface/api/balanceSheetReport/Query.js.map +0 -1
  248. package/dist/mjs/types/Interface/api/documentRequest/Create.d.ts +0 -10
  249. package/dist/mjs/types/Interface/api/documentRequest/Create.d.ts.map +0 -1
  250. package/dist/mjs/types/Interface/api/documentRequest/Create.js +0 -47
  251. package/dist/mjs/types/Interface/api/documentRequest/Create.js.map +0 -1
  252. package/dist/mjs/types/Interface/api/documentRequest/Query.d.ts +0 -5
  253. package/dist/mjs/types/Interface/api/documentRequest/Query.d.ts.map +0 -1
  254. package/dist/mjs/types/Interface/api/documentRequest/Query.js +0 -28
  255. package/dist/mjs/types/Interface/api/documentRequest/Query.js.map +0 -1
  256. package/dist/mjs/types/Interface/api/feature/GetAvailableDashboardBlocks.d.ts +0 -5
  257. package/dist/mjs/types/Interface/api/feature/GetAvailableDashboardBlocks.d.ts.map +0 -1
  258. package/dist/mjs/types/Interface/api/feature/GetAvailableDashboardBlocks.js +0 -2
  259. package/dist/mjs/types/Interface/api/feature/GetAvailableDashboardBlocks.js.map +0 -1
  260. package/dist/mjs/types/Interface/models/IDocumentRequest.d.ts +0 -23
  261. package/dist/mjs/types/Interface/models/IDocumentRequest.d.ts.map +0 -1
  262. package/dist/mjs/types/Interface/models/IDocumentRequest.js +0 -2
  263. package/dist/mjs/types/Interface/models/IDocumentRequest.js.map +0 -1
  264. package/ts/api/resources/BalanceSheetReport.ts +0 -36
  265. package/ts/api/resources/DashboardLayout.ts +0 -19
  266. package/ts/api/resources/DocumentRequest.ts +0 -32
  267. package/ts/api/resources/feature.ts +0 -8
  268. package/ts/types/Enum/DashboardBlock.ts +0 -12
  269. package/ts/types/Interface/api/DashboardLayout.ts +0 -26
  270. package/ts/types/Interface/api/balanceSheetReport/Query.ts +0 -160
  271. package/ts/types/Interface/api/documentRequest/Create.ts +0 -28
  272. package/ts/types/Interface/api/documentRequest/Query.ts +0 -14
  273. package/ts/types/Interface/api/feature/GetAvailableDashboardBlocks.ts +0 -5
  274. package/ts/types/Interface/models/IDocumentRequest.ts +0 -25
@@ -1,160 +0,0 @@
1
- import { IsBoolean, IsDate, IsInt, IsOptional, IsString } from 'class-validator';
2
- import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
3
- import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
4
- import { RequiredQueryPaginate } from '../BasePaginate';
5
-
6
- export class QueryBalanceSheetReportPaginated extends RequiredQueryPaginate {
7
- @ApiPropertyOptional()
8
- @IsOptional()
9
- @IsString()
10
- declare search?: string;
11
-
12
- @ApiPropertyOptional()
13
- @IsOptional()
14
- @IsBoolean()
15
- @ToBoolean()
16
- declare signed?: boolean;
17
-
18
- @ApiPropertyOptional()
19
- @IsOptional()
20
- @IsInt()
21
- declare factured?: number;
22
-
23
- @ApiPropertyOptional()
24
- @IsOptional()
25
- @IsInt()
26
- declare idSupervisor?: number;
27
- }
28
-
29
- export class ParamsBalanceSheetReportCreate {
30
- @ApiProperty()
31
- @IsInt()
32
- declare idSociety: number;
33
-
34
- @ApiProperty()
35
- @IsInt()
36
- declare idExercice: number;
37
-
38
- @ApiProperty()
39
- @IsInt()
40
- declare idPrestationList: number;
41
-
42
- @ApiProperty()
43
- @IsInt()
44
- declare idSupervisor: number;
45
-
46
- @ApiProperty()
47
- @IsInt()
48
- declare price: number;
49
-
50
- @ApiProperty()
51
- @IsBoolean()
52
- @ToBoolean()
53
- declare annoted: boolean;
54
-
55
- @ApiProperty()
56
- @IsInt()
57
- declare factured: number;
58
- }
59
-
60
- export class ParamsBalanceSheetReportGeneratePdf {
61
- @ApiProperty()
62
- @IsBoolean()
63
- @ToBoolean()
64
- declare isSigned: boolean;
65
-
66
- @ApiPropertyOptional()
67
- @IsOptional()
68
- @IsString()
69
- declare comment?: string;
70
- }
71
-
72
- export class ParamsBalanceSheetReportUpdate {
73
- @ApiPropertyOptional()
74
- @IsOptional()
75
- @IsInt()
76
- declare price?: number;
77
-
78
- @ApiPropertyOptional()
79
- @IsOptional()
80
- @IsInt()
81
- declare idPrestationList?: number;
82
-
83
- @ApiPropertyOptional()
84
- @IsOptional()
85
- @IsInt()
86
- declare idExercice?: number;
87
-
88
- @ApiPropertyOptional()
89
- @IsOptional()
90
- @IsInt()
91
- declare idSociety?: number;
92
-
93
- @ApiPropertyOptional()
94
- @IsOptional()
95
- @IsInt()
96
- declare idSupervisor?: number;
97
-
98
- @ApiPropertyOptional()
99
- @IsOptional()
100
- @IsInt()
101
- declare idUserDemand?: number;
102
-
103
- @ApiPropertyOptional()
104
- @IsOptional()
105
- @IsInt()
106
- declare idPaymentExpectation?: number;
107
-
108
- @ApiPropertyOptional()
109
- @IsOptional()
110
- @IsInt()
111
- declare idFile?: number;
112
-
113
- @ApiPropertyOptional()
114
- @IsOptional()
115
- @IsInt()
116
- declare idGedFile?: number;
117
-
118
- @ApiPropertyOptional()
119
- @IsOptional()
120
- @IsBoolean()
121
- @ToBoolean()
122
- declare annoted?: boolean;
123
-
124
- @ApiPropertyOptional()
125
- @IsOptional()
126
- @IsInt()
127
- declare factured?: number;
128
-
129
- @ApiPropertyOptional()
130
- @IsOptional()
131
- @IsDate()
132
- declare sendDate?: Date;
133
-
134
- @ApiPropertyOptional()
135
- @IsOptional()
136
- @IsString()
137
- declare textPdf?: string;
138
-
139
- @ApiPropertyOptional()
140
- @IsOptional()
141
- @IsBoolean()
142
- @ToBoolean()
143
- declare isSign?: boolean;
144
-
145
- @ApiPropertyOptional()
146
- @IsOptional()
147
- @IsBoolean()
148
- @ToBoolean()
149
- declare done?: boolean;
150
-
151
- @ApiPropertyOptional()
152
- @IsOptional()
153
- @IsInt()
154
- declare idMailValidation?: number;
155
-
156
- @ApiPropertyOptional()
157
- @IsOptional()
158
- @IsInt()
159
- declare idMailPayment?: number;
160
- }
@@ -1,28 +0,0 @@
1
- import { IsEnum, IsInt, IsOptional } from 'class-validator';
2
- import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
3
- import { IDocumentRequest } from '../../models/IDocumentRequest';
4
- import { TypeFile } from '../../../Enum/Ged';
5
-
6
- export class CreateDocumentRequest implements Omit<IDocumentRequest, 'id' | 'idRequestedBy'> {
7
- @ApiProperty()
8
- @IsInt()
9
- idSociety: number;
10
-
11
- @ApiProperty()
12
- @IsEnum(TypeFile)
13
- typeFile: TypeFile;
14
-
15
- @ApiPropertyOptional()
16
- @IsOptional()
17
- @IsInt()
18
- idExercice?: number;
19
-
20
- @ApiPropertyOptional()
21
- @IsOptional()
22
- @IsInt()
23
- idBalanceSheet?: number;
24
-
25
- @ApiPropertyOptional()
26
- @IsOptional()
27
- comment?: string;
28
- }
@@ -1,14 +0,0 @@
1
- import { IsInt, IsOptional } from 'class-validator';
2
- import { ApiPropertyOptional } from '../../../../utils';
3
-
4
- export class QueryDocumentRequest {
5
- @ApiPropertyOptional()
6
- @IsOptional()
7
- @IsInt()
8
- idExercice?: number;
9
-
10
- @ApiPropertyOptional()
11
- @IsOptional()
12
- @IsInt()
13
- idBalanceSheet?: number;
14
- }
@@ -1,5 +0,0 @@
1
- import { DashboardBlock } from '../../../Enum/DashboardBlock';
2
-
3
- export interface GetAvailableDashboardBlocksResponse {
4
- dashboardBlocks: DashboardBlock[];
5
- }
@@ -1,25 +0,0 @@
1
- import { TypeFile } from '../../Enum/Ged';
2
- import { ISociety } from './ISociety';
3
- import { IExercice } from './IExercice';
4
- import { IBalanceSheet } from './IBalanceSheet';
5
- import { IUser } from './IUser';
6
- import { IFile } from './IFile';
7
- import { IGedFile } from './IGedFile';
8
-
9
- export interface IDocumentRequest {
10
- id: number;
11
- idSociety: number;
12
- idExercice?: number | null;
13
- idBalanceSheet?: number | null;
14
- idRequestedBy: number;
15
- typeFile: TypeFile;
16
- comment?: string | null;
17
-
18
- // Associations
19
- society?: ISociety;
20
- exercice?: IExercice;
21
- balanceSheet?: IBalanceSheet;
22
- requestedBy?: IUser;
23
- gedFiles?: IGedFile[];
24
- files?: IFile[];
25
- }