@silexpert/core 0.4.200 → 0.4.203

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 (263) hide show
  1. package/es/api/resources/Checklist.d.ts +20 -0
  2. package/es/api/resources/Checklist.d.ts.map +1 -0
  3. package/es/api/resources/Checklist.js +38 -0
  4. package/es/api/resources/Checklist.js.map +1 -0
  5. package/es/api/resources/GeneralLedger.d.ts +2 -1
  6. package/es/api/resources/GeneralLedger.d.ts.map +1 -1
  7. package/es/api/resources/GeneralLedger.js +3 -0
  8. package/es/api/resources/GeneralLedger.js.map +1 -1
  9. package/es/api/resources/Lettering.d.ts +7 -0
  10. package/es/api/resources/Lettering.d.ts.map +1 -0
  11. package/es/api/resources/Lettering.js +13 -0
  12. package/es/api/resources/Lettering.js.map +1 -0
  13. package/es/api/resources/Mobile.d.ts +6 -0
  14. package/es/api/resources/Mobile.d.ts.map +1 -0
  15. package/es/api/resources/Mobile.js +7 -0
  16. package/es/api/resources/Mobile.js.map +1 -0
  17. package/es/api/resources/Notification.d.ts +5 -0
  18. package/es/api/resources/Notification.d.ts.map +1 -0
  19. package/es/api/resources/Notification.js +7 -0
  20. package/es/api/resources/Notification.js.map +1 -0
  21. package/es/api/resources/Revision.d.ts +2 -1
  22. package/es/api/resources/Revision.d.ts.map +1 -1
  23. package/es/api/resources/Revision.js +3 -0
  24. package/es/api/resources/Revision.js.map +1 -1
  25. package/es/api/resources/Transaction.d.ts +5 -13
  26. package/es/api/resources/Transaction.d.ts.map +1 -1
  27. package/es/api/resources/Transaction.js +5 -0
  28. package/es/api/resources/Transaction.js.map +1 -1
  29. package/es/api/resources.d.ts +8 -0
  30. package/es/api/resources.d.ts.map +1 -1
  31. package/es/api/resources.js +8 -0
  32. package/es/api/resources.js.map +1 -1
  33. package/es/types/Enum/Account.d.ts +4 -0
  34. package/es/types/Enum/Account.d.ts.map +1 -1
  35. package/es/types/Enum/Account.js +4 -0
  36. package/es/types/Enum/Account.js.map +1 -1
  37. package/es/types/Enum/BrandClementine.d.ts +10 -0
  38. package/es/types/Enum/BrandClementine.d.ts.map +1 -1
  39. package/es/types/Enum/BrandClementine.js +5 -0
  40. package/es/types/Enum/BrandClementine.js.map +1 -1
  41. package/es/types/Enum/BrandComptalib.d.ts +6 -0
  42. package/es/types/Enum/BrandComptalib.d.ts.map +1 -1
  43. package/es/types/Enum/BrandComptalib.js +8 -0
  44. package/es/types/Enum/BrandComptalib.js.map +1 -1
  45. package/es/types/Enum/BrandLegalstart.d.ts +2 -0
  46. package/es/types/Enum/BrandLegalstart.d.ts.map +1 -1
  47. package/es/types/Enum/BrandLegalstart.js +2 -0
  48. package/es/types/Enum/BrandLegalstart.js.map +1 -1
  49. package/es/types/Enum/ChecklistType.d.ts +60 -0
  50. package/es/types/Enum/ChecklistType.d.ts.map +1 -0
  51. package/es/types/Enum/ChecklistType.js +64 -0
  52. package/es/types/Enum/ChecklistType.js.map +1 -0
  53. package/es/types/Enum/EstimateInvoice.d.ts +1 -1
  54. package/es/types/Enum/EstimateInvoice.d.ts.map +1 -1
  55. package/es/types/Enum/EstimateInvoice.js +9 -9
  56. package/es/types/Enum/EstimateInvoice.js.map +1 -1
  57. package/es/types/Enum/MailAuto.d.ts +3 -1
  58. package/es/types/Enum/MailAuto.d.ts.map +1 -1
  59. package/es/types/Enum/MailAuto.js +2 -0
  60. package/es/types/Enum/MailAuto.js.map +1 -1
  61. package/es/types/Enum/NotificationType.d.ts +5 -0
  62. package/es/types/Enum/NotificationType.d.ts.map +1 -0
  63. package/es/types/Enum/NotificationType.js +6 -0
  64. package/es/types/Enum/NotificationType.js.map +1 -0
  65. package/es/types/Interface/api/checklist/Query.d.ts +20 -0
  66. package/es/types/Interface/api/checklist/Query.d.ts.map +1 -0
  67. package/es/types/Interface/api/checklist/Query.js +59 -0
  68. package/es/types/Interface/api/checklist/Query.js.map +1 -0
  69. package/es/types/Interface/api/checklist/Read.d.ts +12 -0
  70. package/es/types/Interface/api/checklist/Read.d.ts.map +1 -0
  71. package/es/types/Interface/api/checklist/Read.js +2 -0
  72. package/es/types/Interface/api/checklist/Read.js.map +1 -0
  73. package/es/types/Interface/api/checklist/Update.d.ts +6 -0
  74. package/es/types/Interface/api/checklist/Update.d.ts.map +1 -0
  75. package/es/types/Interface/api/checklist/Update.js +25 -0
  76. package/es/types/Interface/api/checklist/Update.js.map +1 -0
  77. package/es/types/Interface/api/generalLedger/IGeneralLedgerAccountingEntry.d.ts +3 -1
  78. package/es/types/Interface/api/generalLedger/IGeneralLedgerAccountingEntry.d.ts.map +1 -1
  79. package/es/types/Interface/api/generalLedger/IGeneralLedgerAccountingEntry.js.map +1 -1
  80. package/es/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.d.ts +10 -0
  81. package/es/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.d.ts.map +1 -0
  82. package/es/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.js +2 -0
  83. package/es/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.js.map +1 -0
  84. package/es/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.d.ts +12 -0
  85. package/es/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.d.ts.map +1 -0
  86. package/es/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.js +63 -0
  87. package/es/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.js.map +1 -0
  88. package/es/types/Interface/api/lettering/QueryRegroupLettering.d.ts +4 -0
  89. package/es/types/Interface/api/lettering/QueryRegroupLettering.d.ts.map +1 -0
  90. package/es/types/Interface/api/lettering/QueryRegroupLettering.js +19 -0
  91. package/es/types/Interface/api/lettering/QueryRegroupLettering.js.map +1 -0
  92. package/es/types/Interface/api/mobile/UpdateMobile.d.ts +4 -0
  93. package/es/types/Interface/api/mobile/UpdateMobile.d.ts.map +1 -0
  94. package/es/types/Interface/api/mobile/UpdateMobile.js +17 -0
  95. package/es/types/Interface/api/mobile/UpdateMobile.js.map +1 -0
  96. package/es/types/Interface/api/notification/CreateNotification.d.ts +6 -0
  97. package/es/types/Interface/api/notification/CreateNotification.d.ts.map +1 -0
  98. package/es/types/Interface/api/notification/CreateNotification.js +22 -0
  99. package/es/types/Interface/api/notification/CreateNotification.js.map +1 -0
  100. package/es/types/Interface/api/revision/QueryRevisionApprobation.d.ts +7 -0
  101. package/es/types/Interface/api/revision/QueryRevisionApprobation.d.ts.map +1 -0
  102. package/es/types/Interface/api/revision/QueryRevisionApprobation.js +34 -0
  103. package/es/types/Interface/api/revision/QueryRevisionApprobation.js.map +1 -0
  104. package/es/types/Interface/api/revision/QueryRevisionSearchEntries.d.ts +8 -0
  105. package/es/types/Interface/api/revision/QueryRevisionSearchEntries.d.ts.map +1 -1
  106. package/es/types/Interface/api/revision/QueryRevisionSearchEntries.js +46 -1
  107. package/es/types/Interface/api/revision/QueryRevisionSearchEntries.js.map +1 -1
  108. package/es/types/Interface/api/revision/ReadRevisionAccount.d.ts +2 -2
  109. package/es/types/Interface/api/revision/ReadRevisionAccount.d.ts.map +1 -1
  110. package/es/types/Interface/api/revision/ReadRevisionAccount.js.map +1 -1
  111. package/es/types/Interface/api/society/ReadSociety.d.ts +4 -0
  112. package/es/types/Interface/api/society/ReadSociety.d.ts.map +1 -1
  113. package/es/types/Interface/api/society/ReadSociety.js.map +1 -1
  114. package/es/types/Interface/api/tax/ReadTax.d.ts +9 -0
  115. package/es/types/Interface/api/tax/ReadTax.d.ts.map +1 -1
  116. package/es/types/Interface/api/tax/ReadTax.js.map +1 -1
  117. package/es/types/Interface/models/IAccountDetail.d.ts +6 -6
  118. package/es/types/Interface/models/IAccountDetail.d.ts.map +1 -1
  119. package/es/types/Interface/models/IAccountDetail.js.map +1 -1
  120. package/es/types/Interface/models/IAccountingEntry.d.ts +1 -0
  121. package/es/types/Interface/models/IAccountingEntry.d.ts.map +1 -1
  122. package/es/types/Interface/models/IAccountingEntry.js.map +1 -1
  123. package/es/types/Interface/models/IAccountingTransaction.d.ts +0 -3
  124. package/es/types/Interface/models/IAccountingTransaction.d.ts.map +1 -1
  125. package/es/types/Interface/models/IAccountingTransaction.js.map +1 -1
  126. package/es/types/Interface/models/IApiError.d.ts +5 -1
  127. package/es/types/Interface/models/IApiError.d.ts.map +1 -1
  128. package/es/types/Interface/models/IApiError.js +4 -0
  129. package/es/types/Interface/models/IApiError.js.map +1 -1
  130. package/es/types/Interface/models/IChecklist.d.ts +13 -9
  131. package/es/types/Interface/models/IChecklist.d.ts.map +1 -1
  132. package/es/types/Interface/models/IChecklist.js.map +1 -1
  133. package/es/types/Interface/models/IChecklistDetail.d.ts +1 -0
  134. package/es/types/Interface/models/IChecklistDetail.d.ts.map +1 -1
  135. package/es/types/Interface/models/IChecklistDetail.js.map +1 -1
  136. package/es/types/Interface/models/IChecklistType.d.ts +7 -0
  137. package/es/types/Interface/models/IChecklistType.d.ts.map +1 -1
  138. package/es/types/Interface/models/IChecklistType.js.map +1 -1
  139. package/es/types/Interface/models/ILettering.d.ts +0 -2
  140. package/es/types/Interface/models/ILettering.d.ts.map +1 -1
  141. package/es/types/Interface/models/ILettering.js.map +1 -1
  142. package/es/types/Interface/models/IMobile.d.ts +11 -0
  143. package/es/types/Interface/models/IMobile.d.ts.map +1 -0
  144. package/es/types/Interface/models/IMobile.js +2 -0
  145. package/es/types/Interface/models/IMobile.js.map +1 -0
  146. package/es/types/Interface/models/ISociety.d.ts +4 -2
  147. package/es/types/Interface/models/ISociety.d.ts.map +1 -1
  148. package/es/types/Interface/models/ISociety.js.map +1 -1
  149. package/es/types/Interface/models/IUser.d.ts +2 -0
  150. package/es/types/Interface/models/IUser.d.ts.map +1 -1
  151. package/es/types/Interface/models/IUser.js.map +1 -1
  152. package/es/types/index.d.ts +13 -0
  153. package/es/types/index.d.ts.map +1 -1
  154. package/es/types/index.js +13 -0
  155. package/es/types/index.js.map +1 -1
  156. package/es/utils/checklist.d.ts +3 -0
  157. package/es/utils/checklist.d.ts.map +1 -0
  158. package/es/utils/checklist.js +37 -0
  159. package/es/utils/checklist.js.map +1 -0
  160. package/js/api/resources/Checklist.js +68 -0
  161. package/js/api/resources/Checklist.js.map +1 -0
  162. package/js/api/resources/GeneralLedger.js +6 -0
  163. package/js/api/resources/GeneralLedger.js.map +1 -1
  164. package/js/api/resources/Lettering.js +25 -0
  165. package/js/api/resources/Lettering.js.map +1 -0
  166. package/js/api/resources/Mobile.js +18 -0
  167. package/js/api/resources/Mobile.js.map +1 -0
  168. package/js/api/resources/Notification.js +18 -0
  169. package/js/api/resources/Notification.js.map +1 -0
  170. package/js/api/resources/Revision.js +4 -0
  171. package/js/api/resources/Revision.js.map +1 -1
  172. package/js/api/resources/Transaction.js +6 -0
  173. package/js/api/resources/Transaction.js.map +1 -1
  174. package/js/api/resources.js +13 -1
  175. package/js/api/resources.js.map +1 -1
  176. package/js/types/Enum/Account.js +4 -0
  177. package/js/types/Enum/Account.js.map +1 -1
  178. package/js/types/Enum/BrandClementine.js +5 -0
  179. package/js/types/Enum/BrandClementine.js.map +1 -1
  180. package/js/types/Enum/BrandComptalib.js +8 -0
  181. package/js/types/Enum/BrandComptalib.js.map +1 -1
  182. package/js/types/Enum/BrandLegalstart.js +2 -0
  183. package/js/types/Enum/BrandLegalstart.js.map +1 -1
  184. package/js/types/Enum/ChecklistType.js +76 -0
  185. package/js/types/Enum/ChecklistType.js.map +1 -0
  186. package/js/types/Enum/EstimateInvoice.js +9 -9
  187. package/js/types/Enum/EstimateInvoice.js.map +1 -1
  188. package/js/types/Enum/MailAuto.js +2 -0
  189. package/js/types/Enum/MailAuto.js.map +1 -1
  190. package/js/types/Enum/NotificationType.js +12 -0
  191. package/js/types/Enum/NotificationType.js.map +1 -0
  192. package/js/types/Interface/api/checklist/Query.js +57 -0
  193. package/js/types/Interface/api/checklist/Query.js.map +1 -0
  194. package/js/types/Interface/api/checklist/Read.js +6 -0
  195. package/js/types/Interface/api/checklist/Read.js.map +1 -0
  196. package/js/types/Interface/api/checklist/Update.js +33 -0
  197. package/js/types/Interface/api/checklist/Update.js.map +1 -0
  198. package/js/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.js +6 -0
  199. package/js/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.js.map +1 -0
  200. package/js/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.js +54 -0
  201. package/js/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.js.map +1 -0
  202. package/js/types/Interface/api/lettering/QueryRegroupLettering.js +29 -0
  203. package/js/types/Interface/api/lettering/QueryRegroupLettering.js.map +1 -0
  204. package/js/types/Interface/api/mobile/UpdateMobile.js +27 -0
  205. package/js/types/Interface/api/mobile/UpdateMobile.js.map +1 -0
  206. package/js/types/Interface/api/notification/CreateNotification.js +31 -0
  207. package/js/types/Interface/api/notification/CreateNotification.js.map +1 -0
  208. package/js/types/Interface/api/revision/QueryRevisionApprobation.js +35 -0
  209. package/js/types/Interface/api/revision/QueryRevisionApprobation.js.map +1 -0
  210. package/js/types/Interface/api/revision/QueryRevisionSearchEntries.js +20 -0
  211. package/js/types/Interface/api/revision/QueryRevisionSearchEntries.js.map +1 -1
  212. package/js/types/Interface/models/IApiError.js +4 -0
  213. package/js/types/Interface/models/IApiError.js.map +1 -1
  214. package/js/types/Interface/models/IMobile.js +6 -0
  215. package/js/types/Interface/models/IMobile.js.map +1 -0
  216. package/js/types/index.js +156 -0
  217. package/js/types/index.js.map +1 -1
  218. package/js/utils/checklist.js +48 -0
  219. package/js/utils/checklist.js.map +1 -0
  220. package/package.json +1 -1
  221. package/ts/api/resources/Checklist.ts +51 -0
  222. package/ts/api/resources/GeneralLedger.ts +5 -1
  223. package/ts/api/resources/Lettering.ts +15 -0
  224. package/ts/api/resources/Mobile.ts +8 -0
  225. package/ts/api/resources/Notification.ts +7 -0
  226. package/ts/api/resources/Revision.ts +6 -0
  227. package/ts/api/resources/Transaction.ts +10 -14
  228. package/ts/api/resources.ts +8 -0
  229. package/ts/types/Enum/Account.ts +4 -0
  230. package/ts/types/Enum/BrandClementine.ts +5 -0
  231. package/ts/types/Enum/BrandComptalib.ts +8 -0
  232. package/ts/types/Enum/BrandLegalstart.ts +2 -0
  233. package/ts/types/Enum/ChecklistType.ts +62 -0
  234. package/ts/types/Enum/EstimateInvoice.ts +1 -1
  235. package/ts/types/Enum/MailAuto.ts +2 -0
  236. package/ts/types/Enum/NotificationType.ts +4 -0
  237. package/ts/types/Interface/api/checklist/Query.ts +51 -0
  238. package/ts/types/Interface/api/checklist/Read.ts +10 -0
  239. package/ts/types/Interface/api/checklist/Update.ts +13 -0
  240. package/ts/types/Interface/api/generalLedger/IGeneralLedgerAccountingEntry.ts +3 -1
  241. package/ts/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.ts +10 -0
  242. package/ts/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.ts +47 -0
  243. package/ts/types/Interface/api/lettering/QueryRegroupLettering.ts +8 -0
  244. package/ts/types/Interface/api/mobile/UpdateMobile.ts +6 -0
  245. package/ts/types/Interface/api/notification/CreateNotification.ts +10 -0
  246. package/ts/types/Interface/api/revision/QueryRevisionApprobation.ts +22 -0
  247. package/ts/types/Interface/api/revision/QueryRevisionSearchEntries.ts +41 -0
  248. package/ts/types/Interface/api/revision/ReadRevisionAccount.ts +2 -2
  249. package/ts/types/Interface/api/society/ReadSociety.ts +5 -0
  250. package/ts/types/Interface/api/tax/ReadTax.ts +8 -1
  251. package/ts/types/Interface/models/IAccountDetail.ts +6 -6
  252. package/ts/types/Interface/models/IAccountingEntry.ts +1 -0
  253. package/ts/types/Interface/models/IAccountingTransaction.ts +0 -3
  254. package/ts/types/Interface/models/IApiError.ts +5 -0
  255. package/ts/types/Interface/models/IChecklist.ts +13 -9
  256. package/ts/types/Interface/models/IChecklistDetail.ts +1 -0
  257. package/ts/types/Interface/models/IChecklistType.ts +7 -0
  258. package/ts/types/Interface/models/ILettering.ts +0 -2
  259. package/ts/types/Interface/models/IMobile.ts +13 -0
  260. package/ts/types/Interface/models/ISociety.ts +4 -2
  261. package/ts/types/Interface/models/IUser.ts +2 -0
  262. package/ts/types/index.ts +13 -0
  263. package/ts/utils/checklist.ts +43 -0
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.QueryRevisionApprobation = undefined;
7
+
8
+ var _classValidator = require("class-validator");
9
+
10
+ var _ = require("../../../..");
11
+
12
+ var __decorate = undefined && undefined.__decorate || function (decorators, target, key, desc) {
13
+ var c = arguments.length,
14
+ r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
15
+ d;
16
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
17
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
18
+ };
19
+
20
+ var __metadata = undefined && undefined.__metadata || function (k, v) {
21
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
22
+ };
23
+
24
+ class QueryRevisionApprobation {}
25
+
26
+ exports.QueryRevisionApprobation = QueryRevisionApprobation;
27
+
28
+ __decorate([(0, _.ApiProperty)(), (0, _classValidator.IsDate)(), __metadata("design:type", Date)], QueryRevisionApprobation.prototype, "startDate", void 0);
29
+
30
+ __decorate([(0, _.ApiProperty)(), (0, _classValidator.IsDate)(), __metadata("design:type", Date)], QueryRevisionApprobation.prototype, "endDate", void 0);
31
+
32
+ __decorate([(0, _.ApiProperty)(), (0, _classValidator.IsNumber)(), __metadata("design:type", Number)], QueryRevisionApprobation.prototype, "idSociety", void 0);
33
+
34
+ __decorate([(0, _.ApiPropertyOptional)(), (0, _classValidator.IsString)(), __metadata("design:type", String)], QueryRevisionApprobation.prototype, "comment", void 0);
35
+ //# sourceMappingURL=QueryRevisionApprobation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryRevisionApprobation.js","mappings":";;;;;;;AAAA;;AAGA;;;;;;;;;;;;;;AAEM,MAAOA,wBAAP,CAA+B;;QAAxBA,wB,GAAAA,wB;;AAGXC,YAFC,oBAED,EADC,6BACD,4BAAWC,KAAX;;AAIAD,YAFC,oBAED,EADC,6BACD,4BAASC,KAAT;;AAIAD,YAFC,oBAED,EADC,+BACD;;AAIAA,YAFC,4BAED,EADC,+BACD","names":["QueryRevisionApprobation","__decorate","Date"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/revision/QueryRevisionApprobation.ts"],"sourcesContent":["import {\n IsDate, IsNumber, IsString,\n} from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../..';\n\nexport class QueryRevisionApprobation {\n @ApiProperty()\n @IsDate()\n startDate: Date;\n\n @ApiProperty()\n @IsDate()\n endDate: Date;\n\n @ApiProperty()\n @IsNumber()\n idSociety: number;\n\n @ApiPropertyOptional()\n @IsString()\n comment?: string;\n}"]}
@@ -11,6 +11,8 @@ var _ = require("../../../..");
11
11
 
12
12
  var _utils = require("../../../../utils");
13
13
 
14
+ var _boolean = require("../../../../utils/transforms/boolean.transform");
15
+
14
16
  var __decorate = undefined && undefined.__decorate || function (decorators, target, key, desc) {
15
17
  var c = arguments.length,
16
18
  r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
@@ -54,6 +56,24 @@ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsString)(),
54
56
 
55
57
  __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsEnum)(_.AccountingJournal), (0, _classValidator.IsOptional)(), __metadata("design:type", Number)], QueryRevisionSearchEntries.prototype, "idAccountingJournal", void 0);
56
58
 
59
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsNumber)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Number)], QueryRevisionSearchEntries.prototype, "minimumAmount", void 0);
60
+
61
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsNumber)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Number)], QueryRevisionSearchEntries.prototype, "maximumAmount", void 0);
62
+
63
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsArray)({
64
+ each: true
65
+ }), (0, _classValidator.IsOptional)(), __metadata("design:type", Array)], QueryRevisionSearchEntries.prototype, "idsAccountingJournal", void 0);
66
+
67
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsNumber)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Number)], QueryRevisionSearchEntries.prototype, "type", void 0);
68
+
69
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Boolean)], QueryRevisionSearchEntries.prototype, "isRevised", void 0);
70
+
71
+ __decorate([(0, _utils.ApiPropertyOptional)({
72
+ default: 'date'
73
+ }), (0, _classValidator.IsString)(), (0, _classValidator.IsOptional)(), __metadata("design:type", String)], QueryRevisionSearchEntries.prototype, "orderBy", void 0);
74
+
75
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Boolean)], QueryRevisionSearchEntries.prototype, "descending", void 0);
76
+
57
77
  __decorate([(0, _.ApiProperty)({
58
78
  default: 25
59
79
  }), (0, _classValidator.IsNumber)(), __metadata("design:type", Number)], QueryRevisionSearchEntries.prototype, "limit", void 0);
@@ -1 +1 @@
1
- {"version":3,"file":"QueryRevisionSearchEntries.js","mappings":";;;;;;;AAAA;;AAGA;;AACA;;;;;;;;;;;;;;AAEM,MAAOA,0BAAP,CAAiC;EAAvCC;IAkDE;IAGA,aAAiB,EAAjB;IAIA,YAAgB,CAAhB;EACD;;AA1DsC;;QAA1BD,0B,GAAAA,0B;;AAIXE,YAFC,oBAED,EADC,+BACD;;AAIAA,YAFC,oBAED,EADC,6BACD,4BAAWC,KAAX;;AAIAD,YAFC,oBAED,EADC,6BACD,4BAASC,KAAT;;AAMAD,YAHC,iCAGD,EAFC,+BAED,EADC,iCACD;;AAKAA,YAHC,iCAGD,EAFC,+BAED,EADC,iCACD;;AAKAA,YAHC,iCAGD,EAFC,+BAED,EADC,iCACD;;AAKAA,YAHC,iCAGD,EAFC,+BAED,EADC,iCACD;;AAKAA,YAHC,iCAGD,EAFC,+BAED,EADC,iCACD;;AAKAA,YAHC,iCAGD,EAFC,+BAED,EADC,iCACD;;AAKAA,YAHC,iCAGD,EAFC,4BAAOE,mBAAP,CAED,EADC,iCACD;;AAKAF,YAFC,mBAAY;EAAEG,OAAO,EAAE;AAAX,CAAZ,CAED,EADC,+BACD;;AAIAH,YAFC,mBAAY;EAAEG,OAAO,EAAE;AAAX,CAAZ,CAED,EADC,+BACD","names":["QueryRevisionSearchEntries","constructor","__decorate","Date","AccountingJournal","default"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/revision/QueryRevisionSearchEntries.ts"],"sourcesContent":["import {\n IsDate, IsEnum, IsNumber, IsOptional, IsString,\n} from 'class-validator';\nimport { AccountingJournal, ApiProperty } from '../../../..';\nimport { ApiPropertyOptional } from '../../../../utils';\n\nexport class QueryRevisionSearchEntries {\n // Mandatory\n @ApiProperty()\n @IsNumber()\n idSociety: number;\n\n @ApiProperty()\n @IsDate()\n startDate: Date;\n\n @ApiProperty()\n @IsDate()\n endDate: Date;\n\n // Optional\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n idThirdParty?: number;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n amount?: number;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n difference?: number;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n designation?: string;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n startAccountNumber?: string;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n endAccountNumber?: string;\n\n @ApiPropertyOptional()\n @IsEnum(AccountingJournal)\n @IsOptional()\n idAccountingJournal?: number;\n\n // Interface paginate\n @ApiProperty({ default: 25 })\n @IsNumber()\n limit?: number = 25;\n\n @ApiProperty({ default: 1 })\n @IsNumber()\n page?: number = 1;\n}\n"]}
1
+ {"version":3,"file":"QueryRevisionSearchEntries.js","mappings":";;;;;;;AAAA;;AAKA;;AACA;;AACA;;;;;;;;;;;;;;AAEM,MAAOA,0BAAP,CAAiC;EAAvCC;IAwFE;IAGA,aAAiB,EAAjB;IAIA,YAAgB,CAAhB;EACD;;AAhGsC;;QAA1BD,0B,GAAAA,0B;;AAIXE,YAFC,oBAED,EADC,+BACD;;AAIAA,YAFC,oBAED,EADC,6BACD,4BAAWC,KAAX;;AAIAD,YAFC,oBAED,EADC,6BACD,4BAASC,KAAT;;AAMAD,YAHC,iCAGD,EAFC,+BAED,EADC,iCACD;;AAKAA,YAHC,iCAGD,EAFC,+BAED,EADC,iCACD;;AAKAA,YAHC,iCAGD,EAFC,+BAED,EADC,iCACD;;AAKAA,YAHC,iCAGD,EAFC,+BAED,EADC,iCACD;;AAKAA,YAHC,iCAGD,EAFC,+BAED,EADC,iCACD;;AAKAA,YAHC,iCAGD,EAFC,+BAED,EADC,iCACD;;AAKAA,YAHC,iCAGD,EAFC,4BAAOE,mBAAP,CAED,EADC,iCACD;;AAMAF,YAHC,iCAGD,EAFC,+BAED,EADC,iCACD;;AAKAA,YAHC,iCAGD,EAFC,+BAED,EADC,iCACD;;AAKAA,YAHC,iCAGD,EAFC,6BAAQ;EAAEG,IAAI,EAAE;AAAR,CAAR,CAED,EADC,iCACD,4BAAuBC,MAAvB;;AAKAJ,YAHC,iCAGD,EAFC,+BAED,EADC,iCACD;;AAMAA,YAJC,iCAID,EAHC,gCAGD,EAFC,yBAED,EADC,iCACD;;AAKAA,YAHC,gCAAoB;EAAEK,OAAO,EAAE;AAAX,CAApB,CAGD,EAFC,+BAED,EADC,iCACD;;AAMAL,YAJC,iCAID,EAHC,gCAGD,EAFC,yBAED,EADC,iCACD;;AAKAA,YAFC,mBAAY;EAAEK,OAAO,EAAE;AAAX,CAAZ,CAED,EADC,+BACD;;AAIAL,YAFC,mBAAY;EAAEK,OAAO,EAAE;AAAX,CAAZ,CAED,EADC,+BACD","names":["QueryRevisionSearchEntries","constructor","__decorate","Date","AccountingJournal","each","Array","default"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/revision/QueryRevisionSearchEntries.ts"],"sourcesContent":["import {\n IsArray,\n IsBoolean,\n IsDate, IsEnum, IsNumber, IsOptional, IsString,\n} from 'class-validator';\nimport { AccountingJournal, ApiProperty } from '../../../..';\nimport { ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class QueryRevisionSearchEntries {\n // Mandatory\n @ApiProperty()\n @IsNumber()\n idSociety: number;\n\n @ApiProperty()\n @IsDate()\n startDate: Date;\n\n @ApiProperty()\n @IsDate()\n endDate: Date;\n\n // Optional\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n idThirdParty?: number;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n amount?: number;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n difference?: number;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n designation?: string;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n startAccountNumber?: string;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n endAccountNumber?: string;\n\n @ApiPropertyOptional()\n @IsEnum(AccountingJournal)\n @IsOptional()\n idAccountingJournal?: number;\n\n // advanced search\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n minimumAmount?: number;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n maximumAmount?: number;\n\n @ApiPropertyOptional()\n @IsArray({ each: true })\n @IsOptional()\n idsAccountingJournal?: Array<AccountingJournal>;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n type?: number;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n isRevised?: boolean;\n\n @ApiPropertyOptional({ default: 'date' })\n @IsString()\n @IsOptional()\n orderBy?: 'date' | 'accountNumber';\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n descending?: boolean;\n\n // Interface paginate\n @ApiProperty({ default: 25 })\n @IsNumber()\n limit?: number = 25;\n\n @ApiProperty({ default: 1 })\n @IsNumber()\n page?: number = 1;\n}\n"]}
@@ -150,5 +150,9 @@ var Code = exports.Code = undefined;
150
150
  Code["ERR_INVALID_ARG_TYPE"] = "ERR_INVALID_ARG_TYPE"; // Society Vehicles
151
151
 
152
152
  Code["MISSING_REGISTRATION_CARD"] = "MISSING_REGISTRATION_CARD";
153
+ Code["PREVIOUS_CHECKLIST_NOT_COMPLETED"] = "previous_checklist_not_completed";
154
+ Code["CAN_NOT_EDIT_COMPLETED_ISSUE"] = "can_not_edit_completed_issue";
155
+ Code["CAN_NOT_CONFIRM_CHECKLIST"] = "can_not_confirm_checklist";
156
+ Code["CHECKLIST_ALREADY_EXIST"] = "checklist_already_exist";
153
157
  })(Code || (exports.Code = Code = {}));
154
158
  //# sourceMappingURL=IApiError.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"IApiError.js","mappings":";;;;;AAAA,IAAYA,SAIX,WAJWA,SAIX,YAJD;;AAAA,WAAYA,SAAZ,EAAqB;EACnBA;EACAA;EACAA;AACD,CAJD,EAAYA,SAAS,aAATA,SAAS,GAATA,SAAS,MAArB;;AAMA,IAAYC,IA4JX,WA5JWA,IA4JX,YA5JD;;AAAA,WAAYA,IAAZ,EAAgB;EACd;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA,sDAdc,CAgBd;;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA,+CAzCc,CA2Cd;;EACAA;EACAA;EACAA,mCA9Cc,CAgDd;;EACAA;EACAA;EACAA;EACAA;EACAA,0CArDc,CAuDd;;EACAA;EACAA,sEAzDc,CA2Dd;;EACAA,qEA5Dc,CA8Dd;;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA,kDA3Fc,CA6Fd;;EACAA,+DA9Fc,CAgGd;;EACAA;EACAA,yDAlGc,CAoGd;;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA,8CA/Gc,CAiHd;;EACAA;EACAA,oCAnHc,CAqHd;;EACAA;EACAA;EACAA;EACAA;EACAA;EAEAA,4CA5Hc,CA8Hd;;EACAA,4CA/Hc,CAiId;;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA,kDAxIc,CA0Id;;EACAA,gEA3Ic,CA6Id;;EACAA;EACAA;EACAA;EACAA,oFAjJc,CAmJd;;EACAA;EACAA,oDArJc,CAuJd;;EACAA,sDAxJc,CA0Jd;;EACAA;AACD,CA5JD,EAAYA,IAAI,aAAJA,IAAI,GAAJA,IAAI,MAAhB","names":["ErrorType","Code"],"sourceRoot":"","sources":["../../../../ts/types/Interface/models/IApiError.ts"],"sourcesContent":["export enum ErrorType {\n apiError = 'api_error',\n authError = 'authentication_error',\n resourceError = 'rsc_error',\n}\n\nexport enum Code {\n // HTTP Error\n tokenFailure = 'token_authentication_failure',\n authenticationFailure = 'authentication_credentials_failure',\n notFound = 'resource_not_found',\n fileNotFound = 'file_not_found',\n validationError = 'resource_validation_error',\n constraintError = 'resource_constraint_error',\n outOfRange = 'resource_ofr',\n internalServerError = 'internal_server_error',\n constraintKeyError = 'resource_fk_error',\n serviceUnavailable = 'service_unavailable',\n notImplemented = 'not_implemented',\n unknown = 'unknown',\n formatNotAuthorized = 'format_not_authorized',\n\n // Annotation Error\n failedCheckBalance = 'failed_check_balance',\n vatIntracomCanOnlyBeSetForDebit = 'vat_intracom_can_only_be_set_for_debit',\n vatMargeCanOnlyBeSetForCredit = 'vat_marge_can_only_be_set_for_credit',\n vatMargeCanOnlyBeSetIfAmountAllTaxIncludedPurchaseIsSet = 'vat_marge_can_only_be_set_if_amount_all_tax_included_purchase_is_set',\n missingParamSplit = 'missing_param_split',\n totalAmountSplitNotEqualTransaction = 'total_amount_split_not_equal_transaction',\n vatManuelIsSetWithNegativeValue = 'vat_manuel_is_set_with_negative_value',\n vatManuelIsNotSetWithSpecialVat = 'vat_manuel_is_not_set_with_special_vat',\n vatManuelCannotBeSetWithSplit = 'vat_manuel_cannot_be_set_with_split',\n vatNotAuthorizeWithThisAccount = 'vat_not_authorize_with_this_account',\n transactionIsAlreadyExported = 'transaction_is_already_exported',\n thirdPartyIsNotFound = 'third_party_is_not_found',\n accountIsNotFound = 'account_is_not_found',\n immobilizationNotSetWithAccountStartTwo = 'immobilization_not_set_with_account_start_two',\n immobilizationCanOnlyBeSetForDebit = 'immobilization_can_only_be_set_for_debit',\n immobilizationCanNotBeSetWithoutAccount = 'immobilization_can_not_be_set_without_account',\n immobilizationNotExist = 'immobilization_not_exist',\n accountIsNotDepreciable = 'account_is_not_depreciable',\n invalidNetBookValue = 'invalid_net_book_value',\n noExerciceFoundForImmobilization = 'no_exercice_found_for_immobilization',\n amountImmobilizationLessThanAmountTransaction = 'amount_immobilization_less_than_amount_transaction',\n amountImmobilizationLessThanAmountAllTaxIncluded = 'amount_immobilization_less_than_amount_all_tax_included',\n amountImmobilizationIsGreaterThanTotalAmountTransactions = 'amount_immobilization_is_greater_than_total_amount_transactions',\n immobilizationNotFound = 'immobilization_not_found',\n annotationFailed = 'annotation_failed',\n\n // PDF error\n mergeFailed = 'merge_failed',\n generationError = 'generation_error',\n parseError = 'parse_error',\n\n // Email error\n emailAlreadyExist = 'email_already_exist',\n phoneAlreadyExist = 'phone_already_exist',\n societyCustomEmailAlreadyExist = 'society_custom_email_already_exist',\n societyCustomEmailNotFound = 'society_custom_email_not_found',\n emailNotFound = 'email_not_found',\n\n // BankAccount\n missingParamAccountNumber = 'missing_param_account_number',\n accountNumberParamNotFound = 'account_number_param_not_found',\n\n // Income statement\n invalidIncomeStatementList = 'invalid_income_statement_list',\n\n // Shine errors\n AUTHORIZATION_CLIENT_NOT_FOUND = 'AUTHORIZATION_CLIENT_NOT_FOUND',\n AUTHORIZATION_CLIENT_SECRET_DOES_NOT_MATCH = 'AUTHORIZATION_CLIENT_SECRET_DOES_NOT_MATCH',\n AUTHORIZATION_REDIRECT_URI_DOES_NOT_MATCH = 'AUTHORIZATION_REDIRECT_URI_DOES_NOT_MATCH',\n AUTHORIZATION_REQUESTED_SCOPE_NOT_AVAILABLE = 'AUTHORIZATION_REQUESTED_SCOPE_NOT_AVAILABLE',\n AUTHORIZATION_REQUESTED_SCOPE_NOT_AUTHORIZED = 'AUTHORIZATION_REQUESTED_SCOPE_NOT_AUTHORIZED',\n AUTHORIZATION_REQUESTED_SCOPE_MISSING_OPENID = 'AUTHORIZATION_REQUESTED_SCOPE_MISSING_OPENID',\n AUTHORIZATION_CLIENT_STATUS_NOT_VALID = 'AUTHORIZATION_CLIENT_STATUS_NOT_VALID',\n AUTHORIZATION_CODE_MISSING = 'AUTHORIZATION_CODE_MISSING',\n AUTHORIZATION_CODE_NOT_FOUND = 'AUTHORIZATION_CODE_NOT_FOUND',\n AUTHORIZATION_CODE_ALREADY_USED = 'AUTHORIZATION_CODE_ALREADY_USED',\n AUTHORIZATION_CODE_EXPIRED = 'AUTHORIZATION_CODE_EXPIRED',\n AUTHORIZATION_CODE_REDIRECT_URI_DOES_NOT_MATCH = 'AUTHORIZATION_CODE_REDIRECT_URI_DOES_NOT_MATCH',\n AUTHORIZATION_ACCESS_TOKEN_EXPIRED = 'AUTHORIZATION_ACCESS_TOKEN_EXPIRED',\n AUTHORIZATION_INVALID_ACCESS_TOKEN = 'AUTHORIZATION_INVALID_ACCESS_TOKEN',\n AUTHORIZATION_MISSING_ACCESS_TOKEN = 'AUTHORIZATION_MISSING_ACCESS_TOKEN',\n AUTHORIZATION_ACCESS_TOKEN_WRONG_AUDIENCE = 'AUTHORIZATION_ACCESS_TOKEN_WRONG_AUDIENCE',\n AUTHORIZATION_ACCESS_TOKEN_MISSING_SCOPE = 'AUTHORIZATION_ACCESS_TOKEN_MISSING_SCOPE',\n AUTHORIZATION_ACCESS_TOKEN_FORBIDDEN = 'AUTHORIZATION_ACCESS_TOKEN_FORBIDDEN',\n AUTHORIZATION_UNSUPPORTED_RESPONSE_TYPE = 'AUTHORIZATION_UNSUPPORTED_RESPONSE_TYPE',\n AUTHORIZATION_UNSUPPORTED_GRANT_TYPE = 'AUTHORIZATION_UNSUPPORTED_GRANT_TYPE',\n AUTHORIZATION_REFRESH_TOKEN_MISSING = 'AUTHORIZATION_REFRESH_TOKEN_MISSING',\n AUTHORIZATION_REFRESH_TOKEN_EXPIRED = 'AUTHORIZATION_REFRESH_TOKEN_EXPIRED',\n AUTHORIZATION_REFRESH_TOKEN_INVALID = 'AUTHORIZATION_REFRESH_TOKEN_INVALID',\n AUTHORIZATION_REFRESH_TOKEN_REDIRECT_URI_DOES_NOT_MATCH = 'AUTHORIZATION_REFRESH_TOKEN_REDIRECT_URI_DOES_NOT_MATCH',\n AUTHORIZATION_REFRESH_TOKEN_REVOKED = 'AUTHORIZATION_REFRESH_TOKEN_REVOKED',\n AUTHORIZATION_USER_NOT_AUTHORIZED = 'AUTHORIZATION_USER_NOT_AUTHORIZED',\n responseNotManaged = 'response_not_managed',\n bankAccountsError = 'bank_accounts_error',\n refreshTokenError = 'refresh_token_error',\n\n // Balance Sheet\n invalidBalanceSheetList = 'invalid_balance_sheet_list',\n\n // FecFile\n insertAccountingTransactionFailed = 'insert_accounting_transaction_failed',\n fecFileAlreadyExists = 'fec_file_already_exists',\n\n // User creation\n userAlreadyExistWithSociety = 'user-already-exists',\n userDoesNotExists = 'user-does-not-exist',\n userPermissionDoesNotExists = 'user-permission-does-not-exist',\n expiredSmsCode = 'expired-sms-code',\n userNotInFmaProcess = 'user-not-in-maf-process',\n wrongSmsCode = 'wrong-sms-code',\n userEmailAndPhoneAlreadyExist = 'user-username-and-phone-already-exist',\n userEmailAlreadyExist = 'user-username-already-exists',\n userPhoneAlreadyExist = 'user-phone-already-exists',\n couldNotFindUser = 'could-not-find-user',\n wrongBrandEmail = 'wrong-brand-email',\n\n // Cerfa\n civilityNotFound = 'civility_not_found',\n invalidData = 'invalidData',\n\n // Sponsorship\n emailAlreadyUsedForsponsorship = 'email_already_used_for_sponsorship',\n idSocietyAlreadyUsedForsponsorship = 'idSociety_already_used_for_sponsorship',\n sponsorshipCodeDoesntExist = 'sponsorship_code_doesnt_exist',\n sponsorshipLinkDoesntExist = 'sponsorship_link_doesnt_exist',\n societyNotFound = 'society_not_found',\n\n payloadIsEmpty = 'payload_is_empty',\n\n // PromoCode\n wrongPromoCode = 'wrong_promo_code',\n\n // Budget Fetch\n fetchNewBudgetInvalidSociety = 'fetch_new_budget_invalid_idSociety',\n fetchConnectionFailed = 'fetch_connection_failed',\n fetchBankAccountFailed = 'fetch_bank_account_failed',\n fetchTransactionsFailed = 'fetch_transactions_failed',\n fetchNewTokenFailed = 'fetch_new_token_failed',\n bankAccountDesactivationFailed = 'bank_account_desactivation_failed',\n udpateTokenFailed = 'update_token_failed',\n\n // Accounts\n GENERIC_ACCOUNT_NOT_FOUND = 'GENERIC_ACCOUNT_NOT_FOUND',\n\n // Balance Sheet Questions\n UNKNOWN_ANSWER_VALUE = 'UNKNOWN_ANSWER_VALUE',\n QUESTION_NOT_FOUND = 'QUESTION_NOT_FOUND',\n QUESTION_DO_NOT_MATCH = 'QUESTION_DO_NOT_MATCH',\n QUESTION_ALREADY_EXISTS_IN_EXERCICE = 'QUESTION_ALREADY_EXISTS_IN_EXERCICE',\n\n // Fiscal period closing\n EXERCICE_ALREADY_CLOSED = 'EXERCICE_ALREADY_CLOSED',\n MISSING_ANNOTATIONS = 'MISSING_ANNOTATIONS',\n\n // jeDeclare errors\n ERR_INVALID_ARG_TYPE = 'ERR_INVALID_ARG_TYPE',\n\n // Society Vehicles\n MISSING_REGISTRATION_CARD = 'MISSING_REGISTRATION_CARD',\n}\n\nexport interface IApiError {\n type: ErrorType;\n code: Code;\n message: string;\n param?: string;\n field?: string;\n}\n"]}
1
+ {"version":3,"file":"IApiError.js","mappings":";;;;;AAAA,IAAYA,SAIX,WAJWA,SAIX,YAJD;;AAAA,WAAYA,SAAZ,EAAqB;EACnBA;EACAA;EACAA;AACD,CAJD,EAAYA,SAAS,aAATA,SAAS,GAATA,SAAS,MAArB;;AAMA,IAAYC,IAiKX,WAjKWA,IAiKX,YAjKD;;AAAA,WAAYA,IAAZ,EAAgB;EACd;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA,sDAdc,CAgBd;;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA,+CAzCc,CA2Cd;;EACAA;EACAA;EACAA,mCA9Cc,CAgDd;;EACAA;EACAA;EACAA;EACAA;EACAA,0CArDc,CAuDd;;EACAA;EACAA,sEAzDc,CA2Dd;;EACAA,qEA5Dc,CA8Dd;;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA,kDA3Fc,CA6Fd;;EACAA,+DA9Fc,CAgGd;;EACAA;EACAA,yDAlGc,CAoGd;;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA,8CA/Gc,CAiHd;;EACAA;EACAA,oCAnHc,CAqHd;;EACAA;EACAA;EACAA;EACAA;EACAA;EAEAA,4CA5Hc,CA8Hd;;EACAA,4CA/Hc,CAiId;;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA,kDAxIc,CA0Id;;EACAA,gEA3Ic,CA6Id;;EACAA;EACAA;EACAA;EACAA,oFAjJc,CAmJd;;EACAA;EACAA,oDArJc,CAuJd;;EACAA,sDAxJc,CA0Jd;;EACAA;EAEAA;EACAA;EACAA;EACAA;AACD,CAjKD,EAAYA,IAAI,aAAJA,IAAI,GAAJA,IAAI,MAAhB","names":["ErrorType","Code"],"sourceRoot":"","sources":["../../../../ts/types/Interface/models/IApiError.ts"],"sourcesContent":["export enum ErrorType {\n apiError = 'api_error',\n authError = 'authentication_error',\n resourceError = 'rsc_error',\n}\n\nexport enum Code {\n // HTTP Error\n tokenFailure = 'token_authentication_failure',\n authenticationFailure = 'authentication_credentials_failure',\n notFound = 'resource_not_found',\n fileNotFound = 'file_not_found',\n validationError = 'resource_validation_error',\n constraintError = 'resource_constraint_error',\n outOfRange = 'resource_ofr',\n internalServerError = 'internal_server_error',\n constraintKeyError = 'resource_fk_error',\n serviceUnavailable = 'service_unavailable',\n notImplemented = 'not_implemented',\n unknown = 'unknown',\n formatNotAuthorized = 'format_not_authorized',\n\n // Annotation Error\n failedCheckBalance = 'failed_check_balance',\n vatIntracomCanOnlyBeSetForDebit = 'vat_intracom_can_only_be_set_for_debit',\n vatMargeCanOnlyBeSetForCredit = 'vat_marge_can_only_be_set_for_credit',\n vatMargeCanOnlyBeSetIfAmountAllTaxIncludedPurchaseIsSet = 'vat_marge_can_only_be_set_if_amount_all_tax_included_purchase_is_set',\n missingParamSplit = 'missing_param_split',\n totalAmountSplitNotEqualTransaction = 'total_amount_split_not_equal_transaction',\n vatManuelIsSetWithNegativeValue = 'vat_manuel_is_set_with_negative_value',\n vatManuelIsNotSetWithSpecialVat = 'vat_manuel_is_not_set_with_special_vat',\n vatManuelCannotBeSetWithSplit = 'vat_manuel_cannot_be_set_with_split',\n vatNotAuthorizeWithThisAccount = 'vat_not_authorize_with_this_account',\n transactionIsAlreadyExported = 'transaction_is_already_exported',\n thirdPartyIsNotFound = 'third_party_is_not_found',\n accountIsNotFound = 'account_is_not_found',\n immobilizationNotSetWithAccountStartTwo = 'immobilization_not_set_with_account_start_two',\n immobilizationCanOnlyBeSetForDebit = 'immobilization_can_only_be_set_for_debit',\n immobilizationCanNotBeSetWithoutAccount = 'immobilization_can_not_be_set_without_account',\n immobilizationNotExist = 'immobilization_not_exist',\n accountIsNotDepreciable = 'account_is_not_depreciable',\n invalidNetBookValue = 'invalid_net_book_value',\n noExerciceFoundForImmobilization = 'no_exercice_found_for_immobilization',\n amountImmobilizationLessThanAmountTransaction = 'amount_immobilization_less_than_amount_transaction',\n amountImmobilizationLessThanAmountAllTaxIncluded = 'amount_immobilization_less_than_amount_all_tax_included',\n amountImmobilizationIsGreaterThanTotalAmountTransactions = 'amount_immobilization_is_greater_than_total_amount_transactions',\n immobilizationNotFound = 'immobilization_not_found',\n annotationFailed = 'annotation_failed',\n\n // PDF error\n mergeFailed = 'merge_failed',\n generationError = 'generation_error',\n parseError = 'parse_error',\n\n // Email error\n emailAlreadyExist = 'email_already_exist',\n phoneAlreadyExist = 'phone_already_exist',\n societyCustomEmailAlreadyExist = 'society_custom_email_already_exist',\n societyCustomEmailNotFound = 'society_custom_email_not_found',\n emailNotFound = 'email_not_found',\n\n // BankAccount\n missingParamAccountNumber = 'missing_param_account_number',\n accountNumberParamNotFound = 'account_number_param_not_found',\n\n // Income statement\n invalidIncomeStatementList = 'invalid_income_statement_list',\n\n // Shine errors\n AUTHORIZATION_CLIENT_NOT_FOUND = 'AUTHORIZATION_CLIENT_NOT_FOUND',\n AUTHORIZATION_CLIENT_SECRET_DOES_NOT_MATCH = 'AUTHORIZATION_CLIENT_SECRET_DOES_NOT_MATCH',\n AUTHORIZATION_REDIRECT_URI_DOES_NOT_MATCH = 'AUTHORIZATION_REDIRECT_URI_DOES_NOT_MATCH',\n AUTHORIZATION_REQUESTED_SCOPE_NOT_AVAILABLE = 'AUTHORIZATION_REQUESTED_SCOPE_NOT_AVAILABLE',\n AUTHORIZATION_REQUESTED_SCOPE_NOT_AUTHORIZED = 'AUTHORIZATION_REQUESTED_SCOPE_NOT_AUTHORIZED',\n AUTHORIZATION_REQUESTED_SCOPE_MISSING_OPENID = 'AUTHORIZATION_REQUESTED_SCOPE_MISSING_OPENID',\n AUTHORIZATION_CLIENT_STATUS_NOT_VALID = 'AUTHORIZATION_CLIENT_STATUS_NOT_VALID',\n AUTHORIZATION_CODE_MISSING = 'AUTHORIZATION_CODE_MISSING',\n AUTHORIZATION_CODE_NOT_FOUND = 'AUTHORIZATION_CODE_NOT_FOUND',\n AUTHORIZATION_CODE_ALREADY_USED = 'AUTHORIZATION_CODE_ALREADY_USED',\n AUTHORIZATION_CODE_EXPIRED = 'AUTHORIZATION_CODE_EXPIRED',\n AUTHORIZATION_CODE_REDIRECT_URI_DOES_NOT_MATCH = 'AUTHORIZATION_CODE_REDIRECT_URI_DOES_NOT_MATCH',\n AUTHORIZATION_ACCESS_TOKEN_EXPIRED = 'AUTHORIZATION_ACCESS_TOKEN_EXPIRED',\n AUTHORIZATION_INVALID_ACCESS_TOKEN = 'AUTHORIZATION_INVALID_ACCESS_TOKEN',\n AUTHORIZATION_MISSING_ACCESS_TOKEN = 'AUTHORIZATION_MISSING_ACCESS_TOKEN',\n AUTHORIZATION_ACCESS_TOKEN_WRONG_AUDIENCE = 'AUTHORIZATION_ACCESS_TOKEN_WRONG_AUDIENCE',\n AUTHORIZATION_ACCESS_TOKEN_MISSING_SCOPE = 'AUTHORIZATION_ACCESS_TOKEN_MISSING_SCOPE',\n AUTHORIZATION_ACCESS_TOKEN_FORBIDDEN = 'AUTHORIZATION_ACCESS_TOKEN_FORBIDDEN',\n AUTHORIZATION_UNSUPPORTED_RESPONSE_TYPE = 'AUTHORIZATION_UNSUPPORTED_RESPONSE_TYPE',\n AUTHORIZATION_UNSUPPORTED_GRANT_TYPE = 'AUTHORIZATION_UNSUPPORTED_GRANT_TYPE',\n AUTHORIZATION_REFRESH_TOKEN_MISSING = 'AUTHORIZATION_REFRESH_TOKEN_MISSING',\n AUTHORIZATION_REFRESH_TOKEN_EXPIRED = 'AUTHORIZATION_REFRESH_TOKEN_EXPIRED',\n AUTHORIZATION_REFRESH_TOKEN_INVALID = 'AUTHORIZATION_REFRESH_TOKEN_INVALID',\n AUTHORIZATION_REFRESH_TOKEN_REDIRECT_URI_DOES_NOT_MATCH = 'AUTHORIZATION_REFRESH_TOKEN_REDIRECT_URI_DOES_NOT_MATCH',\n AUTHORIZATION_REFRESH_TOKEN_REVOKED = 'AUTHORIZATION_REFRESH_TOKEN_REVOKED',\n AUTHORIZATION_USER_NOT_AUTHORIZED = 'AUTHORIZATION_USER_NOT_AUTHORIZED',\n responseNotManaged = 'response_not_managed',\n bankAccountsError = 'bank_accounts_error',\n refreshTokenError = 'refresh_token_error',\n\n // Balance Sheet\n invalidBalanceSheetList = 'invalid_balance_sheet_list',\n\n // FecFile\n insertAccountingTransactionFailed = 'insert_accounting_transaction_failed',\n fecFileAlreadyExists = 'fec_file_already_exists',\n\n // User creation\n userAlreadyExistWithSociety = 'user-already-exists',\n userDoesNotExists = 'user-does-not-exist',\n userPermissionDoesNotExists = 'user-permission-does-not-exist',\n expiredSmsCode = 'expired-sms-code',\n userNotInFmaProcess = 'user-not-in-maf-process',\n wrongSmsCode = 'wrong-sms-code',\n userEmailAndPhoneAlreadyExist = 'user-username-and-phone-already-exist',\n userEmailAlreadyExist = 'user-username-already-exists',\n userPhoneAlreadyExist = 'user-phone-already-exists',\n couldNotFindUser = 'could-not-find-user',\n wrongBrandEmail = 'wrong-brand-email',\n\n // Cerfa\n civilityNotFound = 'civility_not_found',\n invalidData = 'invalidData',\n\n // Sponsorship\n emailAlreadyUsedForsponsorship = 'email_already_used_for_sponsorship',\n idSocietyAlreadyUsedForsponsorship = 'idSociety_already_used_for_sponsorship',\n sponsorshipCodeDoesntExist = 'sponsorship_code_doesnt_exist',\n sponsorshipLinkDoesntExist = 'sponsorship_link_doesnt_exist',\n societyNotFound = 'society_not_found',\n\n payloadIsEmpty = 'payload_is_empty',\n\n // PromoCode\n wrongPromoCode = 'wrong_promo_code',\n\n // Budget Fetch\n fetchNewBudgetInvalidSociety = 'fetch_new_budget_invalid_idSociety',\n fetchConnectionFailed = 'fetch_connection_failed',\n fetchBankAccountFailed = 'fetch_bank_account_failed',\n fetchTransactionsFailed = 'fetch_transactions_failed',\n fetchNewTokenFailed = 'fetch_new_token_failed',\n bankAccountDesactivationFailed = 'bank_account_desactivation_failed',\n udpateTokenFailed = 'update_token_failed',\n\n // Accounts\n GENERIC_ACCOUNT_NOT_FOUND = 'GENERIC_ACCOUNT_NOT_FOUND',\n\n // Balance Sheet Questions\n UNKNOWN_ANSWER_VALUE = 'UNKNOWN_ANSWER_VALUE',\n QUESTION_NOT_FOUND = 'QUESTION_NOT_FOUND',\n QUESTION_DO_NOT_MATCH = 'QUESTION_DO_NOT_MATCH',\n QUESTION_ALREADY_EXISTS_IN_EXERCICE = 'QUESTION_ALREADY_EXISTS_IN_EXERCICE',\n\n // Fiscal period closing\n EXERCICE_ALREADY_CLOSED = 'EXERCICE_ALREADY_CLOSED',\n MISSING_ANNOTATIONS = 'MISSING_ANNOTATIONS',\n\n // jeDeclare errors\n ERR_INVALID_ARG_TYPE = 'ERR_INVALID_ARG_TYPE',\n\n // Society Vehicles\n MISSING_REGISTRATION_CARD = 'MISSING_REGISTRATION_CARD',\n\n PREVIOUS_CHECKLIST_NOT_COMPLETED = 'previous_checklist_not_completed',\n CAN_NOT_EDIT_COMPLETED_ISSUE = 'can_not_edit_completed_issue',\n CAN_NOT_CONFIRM_CHECKLIST = 'can_not_confirm_checklist',\n CHECKLIST_ALREADY_EXIST = 'checklist_already_exist',\n}\n\nexport interface IApiError {\n type: ErrorType;\n code: Code;\n message: string;\n param?: string;\n field?: string;\n}\n"]}
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ //# sourceMappingURL=IMobile.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IMobile.js","mappings":"","names":[],"sourceRoot":"","sources":[],"sourcesContent":[]}
package/js/types/index.js CHANGED
@@ -3640,6 +3640,18 @@ Object.keys(_INafCode).forEach(function (key) {
3640
3640
  });
3641
3641
  });
3642
3642
 
3643
+ var _IMobile = require("./Interface/models/IMobile");
3644
+
3645
+ Object.keys(_IMobile).forEach(function (key) {
3646
+ if (key === "default" || key === "__esModule") return;
3647
+ Object.defineProperty(exports, key, {
3648
+ enumerable: true,
3649
+ get: function () {
3650
+ return _IMobile[key];
3651
+ }
3652
+ });
3653
+ });
3654
+
3643
3655
  var _FormAuthenticate = require("./Form/FormAuthenticate");
3644
3656
 
3645
3657
  Object.keys(_FormAuthenticate).forEach(function (key) {
@@ -4864,6 +4876,30 @@ Object.keys(_SheetMonthScheduleDetailType).forEach(function (key) {
4864
4876
  });
4865
4877
  });
4866
4878
 
4879
+ var _ChecklistType = require("./Enum/ChecklistType");
4880
+
4881
+ Object.keys(_ChecklistType).forEach(function (key) {
4882
+ if (key === "default" || key === "__esModule") return;
4883
+ Object.defineProperty(exports, key, {
4884
+ enumerable: true,
4885
+ get: function () {
4886
+ return _ChecklistType[key];
4887
+ }
4888
+ });
4889
+ });
4890
+
4891
+ var _NotificationType = require("./Enum/NotificationType");
4892
+
4893
+ Object.keys(_NotificationType).forEach(function (key) {
4894
+ if (key === "default" || key === "__esModule") return;
4895
+ Object.defineProperty(exports, key, {
4896
+ enumerable: true,
4897
+ get: function () {
4898
+ return _NotificationType[key];
4899
+ }
4900
+ });
4901
+ });
4902
+
4867
4903
  var _ReadJeDeclare = require("./Interface/api/jeDeclare/ReadJeDeclare");
4868
4904
 
4869
4905
  Object.keys(_ReadJeDeclare).forEach(function (key) {
@@ -6100,6 +6136,18 @@ Object.keys(_QueryRevision).forEach(function (key) {
6100
6136
  });
6101
6137
  });
6102
6138
 
6139
+ var _QueryRevisionApprobation = require("./Interface/api/revision/QueryRevisionApprobation");
6140
+
6141
+ Object.keys(_QueryRevisionApprobation).forEach(function (key) {
6142
+ if (key === "default" || key === "__esModule") return;
6143
+ Object.defineProperty(exports, key, {
6144
+ enumerable: true,
6145
+ get: function () {
6146
+ return _QueryRevisionApprobation[key];
6147
+ }
6148
+ });
6149
+ });
6150
+
6103
6151
  var _QueryRevisionPaginate = require("./Interface/api/revision/QueryRevisionPaginate");
6104
6152
 
6105
6153
  Object.keys(_QueryRevisionPaginate).forEach(function (key) {
@@ -6676,6 +6724,30 @@ Object.keys(_QueryGeneralLedger).forEach(function (key) {
6676
6724
  });
6677
6725
  });
6678
6726
 
6727
+ var _QueryGeneralLedgerAuxiliary = require("./Interface/api/generalLedger/QueryGeneralLedgerAuxiliary");
6728
+
6729
+ Object.keys(_QueryGeneralLedgerAuxiliary).forEach(function (key) {
6730
+ if (key === "default" || key === "__esModule") return;
6731
+ Object.defineProperty(exports, key, {
6732
+ enumerable: true,
6733
+ get: function () {
6734
+ return _QueryGeneralLedgerAuxiliary[key];
6735
+ }
6736
+ });
6737
+ });
6738
+
6739
+ var _IGeneralLedgerThirdParty = require("./Interface/api/generalLedger/IGeneralLedgerThirdParty");
6740
+
6741
+ Object.keys(_IGeneralLedgerThirdParty).forEach(function (key) {
6742
+ if (key === "default" || key === "__esModule") return;
6743
+ Object.defineProperty(exports, key, {
6744
+ enumerable: true,
6745
+ get: function () {
6746
+ return _IGeneralLedgerThirdParty[key];
6747
+ }
6748
+ });
6749
+ });
6750
+
6679
6751
  var _QueryIncomeStatement = require("./Interface/api/incomeStatement/QueryIncomeStatement");
6680
6752
 
6681
6753
  Object.keys(_QueryIncomeStatement).forEach(function (key) {
@@ -6964,6 +7036,18 @@ Object.keys(_StocksType).forEach(function (key) {
6964
7036
  });
6965
7037
  });
6966
7038
 
7039
+ var _QueryRegroupLettering = require("./Interface/api/lettering/QueryRegroupLettering");
7040
+
7041
+ Object.keys(_QueryRegroupLettering).forEach(function (key) {
7042
+ if (key === "default" || key === "__esModule") return;
7043
+ Object.defineProperty(exports, key, {
7044
+ enumerable: true,
7045
+ get: function () {
7046
+ return _QueryRegroupLettering[key];
7047
+ }
7048
+ });
7049
+ });
7050
+
6967
7051
  var _CreateSocietyPromoCode = require("./Interface/api/societyPromoCode/CreateSocietyPromoCode");
6968
7052
 
6969
7053
  Object.keys(_CreateSocietyPromoCode).forEach(function (key) {
@@ -8176,6 +8260,54 @@ Object.keys(_createCalendarEvent).forEach(function (key) {
8176
8260
  });
8177
8261
  });
8178
8262
 
8263
+ var _Read2 = require("./Interface/api/checklist/Read");
8264
+
8265
+ Object.keys(_Read2).forEach(function (key) {
8266
+ if (key === "default" || key === "__esModule") return;
8267
+ Object.defineProperty(exports, key, {
8268
+ enumerable: true,
8269
+ get: function () {
8270
+ return _Read2[key];
8271
+ }
8272
+ });
8273
+ });
8274
+
8275
+ var _Query2 = require("./Interface/api/checklist/Query");
8276
+
8277
+ Object.keys(_Query2).forEach(function (key) {
8278
+ if (key === "default" || key === "__esModule") return;
8279
+ Object.defineProperty(exports, key, {
8280
+ enumerable: true,
8281
+ get: function () {
8282
+ return _Query2[key];
8283
+ }
8284
+ });
8285
+ });
8286
+
8287
+ var _Update = require("./Interface/api/checklist/Update");
8288
+
8289
+ Object.keys(_Update).forEach(function (key) {
8290
+ if (key === "default" || key === "__esModule") return;
8291
+ Object.defineProperty(exports, key, {
8292
+ enumerable: true,
8293
+ get: function () {
8294
+ return _Update[key];
8295
+ }
8296
+ });
8297
+ });
8298
+
8299
+ var _CreateNotification = require("./Interface/api/notification/CreateNotification");
8300
+
8301
+ Object.keys(_CreateNotification).forEach(function (key) {
8302
+ if (key === "default" || key === "__esModule") return;
8303
+ Object.defineProperty(exports, key, {
8304
+ enumerable: true,
8305
+ get: function () {
8306
+ return _CreateNotification[key];
8307
+ }
8308
+ });
8309
+ });
8310
+
8179
8311
  var _Util4 = require("./Interface/enum/Util");
8180
8312
 
8181
8313
  Object.keys(_Util4).forEach(function (key) {
@@ -8188,6 +8320,18 @@ Object.keys(_Util4).forEach(function (key) {
8188
8320
  });
8189
8321
  });
8190
8322
 
8323
+ var _UpdateMobile = require("./Interface/api/mobile/UpdateMobile");
8324
+
8325
+ Object.keys(_UpdateMobile).forEach(function (key) {
8326
+ if (key === "default" || key === "__esModule") return;
8327
+ Object.defineProperty(exports, key, {
8328
+ enumerable: true,
8329
+ get: function () {
8330
+ return _UpdateMobile[key];
8331
+ }
8332
+ });
8333
+ });
8334
+
8191
8335
  var _cerfa = require("../utils/cerfa");
8192
8336
 
8193
8337
  Object.keys(_cerfa).forEach(function (key) {
@@ -8200,6 +8344,18 @@ Object.keys(_cerfa).forEach(function (key) {
8200
8344
  });
8201
8345
  });
8202
8346
 
8347
+ var _checklist = require("../utils/checklist");
8348
+
8349
+ Object.keys(_checklist).forEach(function (key) {
8350
+ if (key === "default" || key === "__esModule") return;
8351
+ Object.defineProperty(exports, key, {
8352
+ enumerable: true,
8353
+ get: function () {
8354
+ return _checklist[key];
8355
+ }
8356
+ });
8357
+ });
8358
+
8203
8359
  var _CreateAffectedPatrimony = require("./Interface/api/affectedPatrimony/CreateAffectedPatrimony");
8204
8360
 
8205
8361
  Object.keys(_CreateAffectedPatrimony).forEach(function (key) {