@silexpert/core 1.3.130-0 → 1.3.130

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 (213) hide show
  1. package/dist/cjs/api/resources/Checklist.d.ts +28 -1
  2. package/dist/cjs/api/resources/Checklist.d.ts.map +1 -1
  3. package/dist/cjs/api/resources/Checklist.js +39 -0
  4. package/dist/cjs/api/resources/Checklist.js.map +1 -1
  5. package/dist/cjs/api/resources/DocumentRequest.d.ts +10 -0
  6. package/dist/cjs/api/resources/DocumentRequest.d.ts.map +1 -0
  7. package/dist/cjs/api/resources/DocumentRequest.js +23 -0
  8. package/dist/cjs/api/resources/DocumentRequest.js.map +1 -0
  9. package/dist/cjs/api/resources.d.ts +2 -2
  10. package/dist/cjs/api/resources.d.ts.map +1 -1
  11. package/dist/cjs/api/resources.js +2 -2
  12. package/dist/cjs/api/resources.js.map +1 -1
  13. package/dist/cjs/types/Enum/ChecklistType.d.ts +8 -1
  14. package/dist/cjs/types/Enum/ChecklistType.d.ts.map +1 -1
  15. package/dist/cjs/types/Enum/ChecklistType.js +8 -0
  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 +31 -1
  20. package/dist/cjs/types/Enum/Ged.d.ts.map +1 -1
  21. package/dist/cjs/types/Enum/Ged.js +152 -5
  22. package/dist/cjs/types/Enum/Ged.js.map +1 -1
  23. package/dist/cjs/types/Enum/PrestationType.d.ts.map +1 -1
  24. package/dist/cjs/types/Enum/PrestationType.js +22 -29
  25. package/dist/cjs/types/Enum/PrestationType.js.map +1 -1
  26. package/dist/cjs/types/Enum/SalesContractBrandClementine.d.ts.map +1 -1
  27. package/dist/cjs/types/Enum/SalesContractBrandClementine.js +7 -22
  28. package/dist/cjs/types/Enum/SalesContractBrandClementine.js.map +1 -1
  29. package/dist/cjs/types/Enum/ZoneCode.d.ts +6 -0
  30. package/dist/cjs/types/Enum/ZoneCode.d.ts.map +1 -1
  31. package/dist/cjs/types/Enum/ZoneCode.js +7 -0
  32. package/dist/cjs/types/Enum/ZoneCode.js.map +1 -1
  33. package/dist/cjs/types/Interface/api/checklist/Query.d.ts +3 -0
  34. package/dist/cjs/types/Interface/api/checklist/Query.d.ts.map +1 -1
  35. package/dist/cjs/types/Interface/api/checklist/Query.js +10 -1
  36. package/dist/cjs/types/Interface/api/checklist/Query.js.map +1 -1
  37. package/dist/cjs/types/Interface/api/checklist/Update.d.ts +11 -1
  38. package/dist/cjs/types/Interface/api/checklist/Update.d.ts.map +1 -1
  39. package/dist/cjs/types/Interface/api/checklist/Update.js +49 -1
  40. package/dist/cjs/types/Interface/api/checklist/Update.js.map +1 -1
  41. package/dist/cjs/types/Interface/api/documentRequest/Create.d.ts +10 -0
  42. package/dist/cjs/types/Interface/api/documentRequest/Create.d.ts.map +1 -0
  43. package/dist/cjs/types/Interface/api/documentRequest/Create.js +46 -0
  44. package/dist/cjs/types/Interface/api/documentRequest/Create.js.map +1 -0
  45. package/dist/cjs/types/Interface/api/documentRequest/Query.d.ts +5 -0
  46. package/dist/cjs/types/Interface/api/documentRequest/Query.d.ts.map +1 -0
  47. package/dist/cjs/types/Interface/api/documentRequest/Query.js +30 -0
  48. package/dist/cjs/types/Interface/api/documentRequest/Query.js.map +1 -0
  49. package/dist/cjs/types/Interface/api/gedFile/createFileAndGed.d.ts +2 -0
  50. package/dist/cjs/types/Interface/api/gedFile/createFileAndGed.d.ts.map +1 -1
  51. package/dist/cjs/types/Interface/api/gedFile/createFileAndGed.js +9 -1
  52. package/dist/cjs/types/Interface/api/gedFile/createFileAndGed.js.map +1 -1
  53. package/dist/cjs/types/Interface/api/library/QueryLibrary.d.ts +4 -2
  54. package/dist/cjs/types/Interface/api/library/QueryLibrary.d.ts.map +1 -1
  55. package/dist/cjs/types/Interface/api/library/QueryLibrary.js +6 -2
  56. package/dist/cjs/types/Interface/api/library/QueryLibrary.js.map +1 -1
  57. package/dist/cjs/types/Interface/api/society/ReadSociety.d.ts +7 -3
  58. package/dist/cjs/types/Interface/api/society/ReadSociety.d.ts.map +1 -1
  59. package/dist/cjs/types/Interface/api/society/ReadSociety.js.map +1 -1
  60. package/dist/cjs/types/Interface/api/stripe/Create.d.ts +1 -0
  61. package/dist/cjs/types/Interface/api/stripe/Create.d.ts.map +1 -1
  62. package/dist/cjs/types/Interface/api/stripe/Create.js +6 -0
  63. package/dist/cjs/types/Interface/api/stripe/Create.js.map +1 -1
  64. package/dist/cjs/types/Interface/models/IAttestation.d.ts +18 -20
  65. package/dist/cjs/types/Interface/models/IAttestation.d.ts.map +1 -1
  66. package/dist/cjs/types/Interface/models/IAttestation.js.map +1 -1
  67. package/dist/cjs/types/Interface/models/IChecklist.d.ts +2 -2
  68. package/dist/cjs/types/Interface/models/IChecklist.d.ts.map +1 -1
  69. package/dist/cjs/types/Interface/models/IChecklist.js.map +1 -1
  70. package/dist/cjs/types/Interface/models/IChecklistDetail.d.ts +3 -3
  71. package/dist/cjs/types/Interface/models/IChecklistDetail.d.ts.map +1 -1
  72. package/dist/cjs/types/Interface/models/IChecklistDetail.js.map +1 -1
  73. package/dist/cjs/types/Interface/models/IDocumentRequest.d.ts +23 -0
  74. package/dist/cjs/types/Interface/models/IDocumentRequest.d.ts.map +1 -0
  75. package/dist/cjs/types/Interface/models/IDocumentRequest.js +3 -0
  76. package/dist/cjs/types/Interface/models/IDocumentRequest.js.map +1 -0
  77. package/dist/cjs/types/Interface/models/IGedFile.d.ts +6 -1
  78. package/dist/cjs/types/Interface/models/IGedFile.d.ts.map +1 -1
  79. package/dist/cjs/types/Interface/models/IGedFile.js.map +1 -1
  80. package/dist/cjs/types/index.d.ts +3 -1
  81. package/dist/cjs/types/index.d.ts.map +1 -1
  82. package/dist/cjs/types/index.js +3 -1
  83. package/dist/cjs/types/index.js.map +1 -1
  84. package/dist/cjs/utils/vat/utils.js +3 -3
  85. package/dist/cjs/utils/vat/utils.js.map +1 -1
  86. package/dist/mjs/api/resources/Checklist.d.ts +28 -1
  87. package/dist/mjs/api/resources/Checklist.d.ts.map +1 -1
  88. package/dist/mjs/api/resources/Checklist.js +39 -0
  89. package/dist/mjs/api/resources/Checklist.js.map +1 -1
  90. package/dist/mjs/api/resources/DocumentRequest.d.ts +10 -0
  91. package/dist/mjs/api/resources/DocumentRequest.d.ts.map +1 -0
  92. package/dist/mjs/api/resources/DocumentRequest.js +27 -0
  93. package/dist/mjs/api/resources/DocumentRequest.js.map +1 -0
  94. package/dist/mjs/api/resources.d.ts +2 -2
  95. package/dist/mjs/api/resources.d.ts.map +1 -1
  96. package/dist/mjs/api/resources.js +2 -2
  97. package/dist/mjs/api/resources.js.map +1 -1
  98. package/dist/mjs/types/Enum/ChecklistType.d.ts +8 -1
  99. package/dist/mjs/types/Enum/ChecklistType.d.ts.map +1 -1
  100. package/dist/mjs/types/Enum/ChecklistType.js +8 -0
  101. package/dist/mjs/types/Enum/ChecklistType.js.map +1 -1
  102. package/dist/mjs/types/Enum/ConstitutionState.js +1 -1
  103. package/dist/mjs/types/Enum/ConstitutionState.js.map +1 -1
  104. package/dist/mjs/types/Enum/Ged.d.ts +31 -1
  105. package/dist/mjs/types/Enum/Ged.d.ts.map +1 -1
  106. package/dist/mjs/types/Enum/Ged.js +151 -4
  107. package/dist/mjs/types/Enum/Ged.js.map +1 -1
  108. package/dist/mjs/types/Enum/PrestationType.d.ts.map +1 -1
  109. package/dist/mjs/types/Enum/PrestationType.js +22 -29
  110. package/dist/mjs/types/Enum/PrestationType.js.map +1 -1
  111. package/dist/mjs/types/Enum/SalesContractBrandClementine.d.ts.map +1 -1
  112. package/dist/mjs/types/Enum/SalesContractBrandClementine.js +7 -22
  113. package/dist/mjs/types/Enum/SalesContractBrandClementine.js.map +1 -1
  114. package/dist/mjs/types/Enum/ZoneCode.d.ts +6 -0
  115. package/dist/mjs/types/Enum/ZoneCode.d.ts.map +1 -1
  116. package/dist/mjs/types/Enum/ZoneCode.js +7 -0
  117. package/dist/mjs/types/Enum/ZoneCode.js.map +1 -1
  118. package/dist/mjs/types/Interface/api/checklist/Query.d.ts +3 -0
  119. package/dist/mjs/types/Interface/api/checklist/Query.d.ts.map +1 -1
  120. package/dist/mjs/types/Interface/api/checklist/Query.js +9 -0
  121. package/dist/mjs/types/Interface/api/checklist/Query.js.map +1 -1
  122. package/dist/mjs/types/Interface/api/checklist/Update.d.ts +11 -1
  123. package/dist/mjs/types/Interface/api/checklist/Update.d.ts.map +1 -1
  124. package/dist/mjs/types/Interface/api/checklist/Update.js +57 -3
  125. package/dist/mjs/types/Interface/api/checklist/Update.js.map +1 -1
  126. package/dist/mjs/types/Interface/api/documentRequest/Create.d.ts +10 -0
  127. package/dist/mjs/types/Interface/api/documentRequest/Create.d.ts.map +1 -0
  128. package/dist/mjs/types/Interface/api/documentRequest/Create.js +47 -0
  129. package/dist/mjs/types/Interface/api/documentRequest/Create.js.map +1 -0
  130. package/dist/mjs/types/Interface/api/documentRequest/Query.d.ts +5 -0
  131. package/dist/mjs/types/Interface/api/documentRequest/Query.d.ts.map +1 -0
  132. package/dist/mjs/types/Interface/api/documentRequest/Query.js +28 -0
  133. package/dist/mjs/types/Interface/api/documentRequest/Query.js.map +1 -0
  134. package/dist/mjs/types/Interface/api/gedFile/createFileAndGed.d.ts +2 -0
  135. package/dist/mjs/types/Interface/api/gedFile/createFileAndGed.d.ts.map +1 -1
  136. package/dist/mjs/types/Interface/api/gedFile/createFileAndGed.js +12 -2
  137. package/dist/mjs/types/Interface/api/gedFile/createFileAndGed.js.map +1 -1
  138. package/dist/mjs/types/Interface/api/library/QueryLibrary.d.ts +4 -2
  139. package/dist/mjs/types/Interface/api/library/QueryLibrary.d.ts.map +1 -1
  140. package/dist/mjs/types/Interface/api/library/QueryLibrary.js +9 -3
  141. package/dist/mjs/types/Interface/api/library/QueryLibrary.js.map +1 -1
  142. package/dist/mjs/types/Interface/api/society/ReadSociety.d.ts +7 -3
  143. package/dist/mjs/types/Interface/api/society/ReadSociety.d.ts.map +1 -1
  144. package/dist/mjs/types/Interface/api/society/ReadSociety.js.map +1 -1
  145. package/dist/mjs/types/Interface/api/stripe/Create.d.ts +1 -0
  146. package/dist/mjs/types/Interface/api/stripe/Create.d.ts.map +1 -1
  147. package/dist/mjs/types/Interface/api/stripe/Create.js +7 -0
  148. package/dist/mjs/types/Interface/api/stripe/Create.js.map +1 -1
  149. package/dist/mjs/types/Interface/models/IAttestation.d.ts +18 -20
  150. package/dist/mjs/types/Interface/models/IAttestation.d.ts.map +1 -1
  151. package/dist/mjs/types/Interface/models/IAttestation.js.map +1 -1
  152. package/dist/mjs/types/Interface/models/IChecklist.d.ts +2 -2
  153. package/dist/mjs/types/Interface/models/IChecklist.d.ts.map +1 -1
  154. package/dist/mjs/types/Interface/models/IChecklist.js.map +1 -1
  155. package/dist/mjs/types/Interface/models/IChecklistDetail.d.ts +3 -3
  156. package/dist/mjs/types/Interface/models/IChecklistDetail.d.ts.map +1 -1
  157. package/dist/mjs/types/Interface/models/IChecklistDetail.js.map +1 -1
  158. package/dist/mjs/types/Interface/models/IDocumentRequest.d.ts +23 -0
  159. package/dist/mjs/types/Interface/models/IDocumentRequest.d.ts.map +1 -0
  160. package/dist/mjs/types/Interface/models/IDocumentRequest.js +2 -0
  161. package/dist/mjs/types/Interface/models/IDocumentRequest.js.map +1 -0
  162. package/dist/mjs/types/Interface/models/IGedFile.d.ts +6 -1
  163. package/dist/mjs/types/Interface/models/IGedFile.d.ts.map +1 -1
  164. package/dist/mjs/types/Interface/models/IGedFile.js.map +1 -1
  165. package/dist/mjs/types/index.d.ts +3 -1
  166. package/dist/mjs/types/index.d.ts.map +1 -1
  167. package/dist/mjs/types/index.js +3 -1
  168. package/dist/mjs/types/index.js.map +1 -1
  169. package/dist/mjs/utils/vat/utils.js +3 -3
  170. package/dist/mjs/utils/vat/utils.js.map +1 -1
  171. package/package.json +14 -14
  172. package/ts/api/resources/Checklist.ts +49 -0
  173. package/ts/api/resources/DocumentRequest.ts +32 -0
  174. package/ts/api/resources.ts +2 -2
  175. package/ts/types/Enum/ChecklistType.ts +9 -0
  176. package/ts/types/Enum/ConstitutionState.ts +1 -1
  177. package/ts/types/Enum/Ged.ts +345 -193
  178. package/ts/types/Enum/PrestationType.ts +22 -29
  179. package/ts/types/Enum/SalesContractBrandClementine.ts +7 -22
  180. package/ts/types/Enum/ZoneCode.ts +7 -0
  181. package/ts/types/Interface/api/checklist/Query.ts +7 -0
  182. package/ts/types/Interface/api/checklist/Update.ts +44 -3
  183. package/ts/types/Interface/api/documentRequest/Create.ts +28 -0
  184. package/ts/types/Interface/api/documentRequest/Query.ts +14 -0
  185. package/ts/types/Interface/api/gedFile/createFileAndGed.ts +7 -1
  186. package/ts/types/Interface/api/library/QueryLibrary.ts +4 -2
  187. package/ts/types/Interface/api/society/ReadSociety.ts +7 -3
  188. package/ts/types/Interface/api/stripe/Create.ts +5 -0
  189. package/ts/types/Interface/models/IAttestation.ts +18 -20
  190. package/ts/types/Interface/models/IChecklist.ts +2 -2
  191. package/ts/types/Interface/models/IChecklistDetail.ts +3 -3
  192. package/ts/types/Interface/models/IDocumentRequest.ts +25 -0
  193. package/ts/types/Interface/models/IGedFile.ts +6 -1
  194. package/ts/types/index.ts +3 -1
  195. package/ts/utils/vat/utils.ts +3 -3
  196. package/dist/cjs/api/resources/BalanceSheetReport.d.ts +0 -10
  197. package/dist/cjs/api/resources/BalanceSheetReport.d.ts.map +0 -1
  198. package/dist/cjs/api/resources/BalanceSheetReport.js +0 -23
  199. package/dist/cjs/api/resources/BalanceSheetReport.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/mjs/api/resources/BalanceSheetReport.d.ts +0 -10
  205. package/dist/mjs/api/resources/BalanceSheetReport.d.ts.map +0 -1
  206. package/dist/mjs/api/resources/BalanceSheetReport.js +0 -22
  207. package/dist/mjs/api/resources/BalanceSheetReport.js.map +0 -1
  208. package/dist/mjs/types/Interface/api/balanceSheetReport/Query.d.ts +0 -40
  209. package/dist/mjs/types/Interface/api/balanceSheetReport/Query.d.ts.map +0 -1
  210. package/dist/mjs/types/Interface/api/balanceSheetReport/Query.js +0 -200
  211. package/dist/mjs/types/Interface/api/balanceSheetReport/Query.js.map +0 -1
  212. package/ts/api/resources/BalanceSheetReport.ts +0 -36
  213. package/ts/types/Interface/api/balanceSheetReport/Query.ts +0 -160
@@ -9,10 +9,11 @@ var __metadata = (this && this.__metadata) || function (k, v) {
9
9
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.UpdateAnswer = void 0;
12
+ exports.UpdateChecklist = exports.UpdateAnswer = void 0;
13
13
  const class_validator_1 = require("class-validator");
14
14
  const utils_1 = require("../../../../utils");
15
15
  const ChecklistType_1 = require("../../../Enum/ChecklistType");
16
+ const boolean_transform_1 = require("../../../../utils/transforms/boolean.transform");
16
17
  class UpdateAnswer {
17
18
  }
18
19
  exports.UpdateAnswer = UpdateAnswer;
@@ -26,4 +27,51 @@ __decorate([
26
27
  (0, class_validator_1.IsEnum)(ChecklistType_1.ChecklistDetailValue),
27
28
  __metadata("design:type", Number)
28
29
  ], UpdateAnswer.prototype, "value", void 0);
30
+ class UpdateChecklist {
31
+ }
32
+ exports.UpdateChecklist = UpdateChecklist;
33
+ __decorate([
34
+ (0, utils_1.ApiPropertyOptional)(),
35
+ (0, class_validator_1.IsOptional)(),
36
+ (0, class_validator_1.IsDate)(),
37
+ __metadata("design:type", Date)
38
+ ], UpdateChecklist.prototype, "revisionDate", void 0);
39
+ __decorate([
40
+ (0, utils_1.ApiPropertyOptional)(),
41
+ (0, class_validator_1.IsOptional)(),
42
+ (0, class_validator_1.IsInt)(),
43
+ __metadata("design:type", Number)
44
+ ], UpdateChecklist.prototype, "idUserWhoValidate", void 0);
45
+ __decorate([
46
+ (0, utils_1.ApiPropertyOptional)(),
47
+ (0, class_validator_1.IsOptional)(),
48
+ (0, class_validator_1.IsDate)(),
49
+ __metadata("design:type", Date)
50
+ ], UpdateChecklist.prototype, "validateDate", void 0);
51
+ __decorate([
52
+ (0, utils_1.ApiProperty)(),
53
+ (0, class_validator_1.IsOptional)(),
54
+ (0, class_validator_1.IsInt)(),
55
+ __metadata("design:type", Number)
56
+ ], UpdateChecklist.prototype, "idUserFront", void 0);
57
+ __decorate([
58
+ (0, utils_1.ApiProperty)(),
59
+ (0, class_validator_1.IsOptional)(),
60
+ (0, class_validator_1.IsBoolean)(),
61
+ (0, boolean_transform_1.ToBoolean)(),
62
+ __metadata("design:type", Boolean)
63
+ ], UpdateChecklist.prototype, "isConfirmed", void 0);
64
+ __decorate([
65
+ (0, utils_1.ApiPropertyOptional)(),
66
+ (0, class_validator_1.IsOptional)(),
67
+ (0, class_validator_1.IsEnum)(ChecklistType_1.ChecklistTypeEnum),
68
+ __metadata("design:type", Number)
69
+ ], UpdateChecklist.prototype, "type", void 0);
70
+ __decorate([
71
+ (0, utils_1.ApiPropertyOptional)(),
72
+ (0, class_validator_1.IsOptional)(),
73
+ (0, class_validator_1.IsBoolean)(),
74
+ (0, boolean_transform_1.ToBoolean)(),
75
+ __metadata("design:type", Boolean)
76
+ ], UpdateChecklist.prototype, "force", void 0);
29
77
  //# sourceMappingURL=Update.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Update.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/checklist/Update.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAmD;AACnD,6CAAgD;AAChD,+DAAmE;AAEnE,MAAa,YAAY;CAQxB;AARD,oCAQC;AALC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;0CACE;AAIb;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,wBAAM,EAAC,oCAAoB,CAAC;;2CACD","sourcesContent":["import { IsEnum, IsString } from 'class-validator';\nimport { ApiProperty } from '../../../../utils';\nimport { ChecklistDetailValue } from '../../../Enum/ChecklistType';\n\nexport class UpdateAnswer {\n @ApiProperty()\n @IsString()\n name: string;\n\n @ApiProperty()\n @IsEnum(ChecklistDetailValue)\n value: ChecklistDetailValue;\n}\n"]}
1
+ {"version":3,"file":"Update.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/checklist/Update.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAyF;AACzF,6CAAqE;AACrE,+DAAsF;AAEtF,sFAA2E;AAE3E,MAAa,YAAY;CAQxB;AARD,oCAQC;AALC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;0CACE;AAIb;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,wBAAM,EAAC,oCAAoB,CAAC;;2CACD;AAG9B,MAAa,eAAe;CAqC3B;AArCD,0CAqCC;AAjCC;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;8BACM,IAAI;qDAAC;AAKpB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;0DACmB;AAK3B;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;8BACM,IAAI;qDAAC;AAKpB;IAHC,IAAA,mBAAW,GAAE;IACb,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;oDACa;AAMrB;IAJC,IAAA,mBAAW,GAAE;IACb,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;;oDACU;AAKtB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,iCAAiB,CAAC;;6CACD;AAMzB;IAJC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;;8CACI","sourcesContent":["import { IsBoolean, IsDate, IsEnum, IsInt, IsOptional, IsString } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { ChecklistDetailValue, ChecklistTypeEnum } from '../../../Enum/ChecklistType';\nimport { IChecklist } from '../../models/IChecklist';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class UpdateAnswer {\n @ApiProperty()\n @IsString()\n name: string;\n\n @ApiProperty()\n @IsEnum(ChecklistDetailValue)\n value: ChecklistDetailValue;\n}\n\nexport class UpdateChecklist implements Partial<IChecklist> {\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n revisionDate?: Date;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idUserWhoValidate?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n validateDate?: Date;\n\n @ApiProperty()\n @IsOptional()\n @IsInt()\n idUserFront?: number;\n\n @ApiProperty()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isConfirmed?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsEnum(ChecklistTypeEnum)\n type?: ChecklistTypeEnum;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n force?: boolean;\n}\n"]}
@@ -0,0 +1,10 @@
1
+ import { IDocumentRequest } from '../../models/IDocumentRequest';
2
+ import { TypeFile } from '../../../Enum/Ged';
3
+ export declare class CreateDocumentRequest implements Omit<IDocumentRequest, 'id' | 'idRequestedBy'> {
4
+ idSociety: number;
5
+ typeFile: TypeFile;
6
+ idExercice?: number;
7
+ idBalanceSheet?: number;
8
+ comment?: string;
9
+ }
10
+ //# sourceMappingURL=Create.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Create.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/documentRequest/Create.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACjE,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAE7C,qBAAa,qBAAsB,YAAW,IAAI,CAAC,gBAAgB,EAAE,IAAI,GAAG,eAAe,CAAC;IAG1F,SAAS,EAAE,MAAM,CAAC;IAIlB,QAAQ,EAAE,QAAQ,CAAC;IAKnB,UAAU,CAAC,EAAE,MAAM,CAAC;IAKpB,cAAc,CAAC,EAAE,MAAM,CAAC;IAIxB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB"}
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ 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;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.CreateDocumentRequest = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ const utils_1 = require("../../../../utils");
15
+ const Ged_1 = require("../../../Enum/Ged");
16
+ class CreateDocumentRequest {
17
+ }
18
+ exports.CreateDocumentRequest = CreateDocumentRequest;
19
+ __decorate([
20
+ (0, utils_1.ApiProperty)(),
21
+ (0, class_validator_1.IsInt)(),
22
+ __metadata("design:type", Number)
23
+ ], CreateDocumentRequest.prototype, "idSociety", void 0);
24
+ __decorate([
25
+ (0, utils_1.ApiProperty)(),
26
+ (0, class_validator_1.IsEnum)(Ged_1.TypeFile),
27
+ __metadata("design:type", Number)
28
+ ], CreateDocumentRequest.prototype, "typeFile", void 0);
29
+ __decorate([
30
+ (0, utils_1.ApiPropertyOptional)(),
31
+ (0, class_validator_1.IsOptional)(),
32
+ (0, class_validator_1.IsInt)(),
33
+ __metadata("design:type", Number)
34
+ ], CreateDocumentRequest.prototype, "idExercice", void 0);
35
+ __decorate([
36
+ (0, utils_1.ApiPropertyOptional)(),
37
+ (0, class_validator_1.IsOptional)(),
38
+ (0, class_validator_1.IsInt)(),
39
+ __metadata("design:type", Number)
40
+ ], CreateDocumentRequest.prototype, "idBalanceSheet", void 0);
41
+ __decorate([
42
+ (0, utils_1.ApiPropertyOptional)(),
43
+ (0, class_validator_1.IsOptional)(),
44
+ __metadata("design:type", String)
45
+ ], CreateDocumentRequest.prototype, "comment", void 0);
46
+ //# sourceMappingURL=Create.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Create.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/documentRequest/Create.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA4D;AAC5D,6CAAqE;AAErE,2CAA6C;AAE7C,MAAa,qBAAqB;CAsBjC;AAtBD,sDAsBC;AAnBC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,uBAAK,GAAE;;wDACU;AAIlB;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,wBAAM,EAAC,cAAQ,CAAC;;uDACE;AAKnB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;yDACY;AAKpB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;6DACgB;AAIxB;IAFC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;;sDACI","sourcesContent":["import { IsEnum, IsInt, IsOptional } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { IDocumentRequest } from '../../models/IDocumentRequest';\nimport { TypeFile } from '../../../Enum/Ged';\n\nexport class CreateDocumentRequest implements Omit<IDocumentRequest, 'id' | 'idRequestedBy'> {\n @ApiProperty()\n @IsInt()\n idSociety: number;\n\n @ApiProperty()\n @IsEnum(TypeFile)\n typeFile: TypeFile;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idExercice?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idBalanceSheet?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n comment?: string;\n}\n"]}
@@ -0,0 +1,5 @@
1
+ export declare class QueryDocumentRequest {
2
+ idExercice?: number;
3
+ idBalanceSheet?: number;
4
+ }
5
+ //# sourceMappingURL=Query.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Query.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/documentRequest/Query.ts"],"names":[],"mappings":"AAGA,qBAAa,oBAAoB;IAI/B,UAAU,CAAC,EAAE,MAAM,CAAC;IAKpB,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB"}
@@ -0,0 +1,30 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ 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;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.QueryDocumentRequest = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ const utils_1 = require("../../../../utils");
15
+ class QueryDocumentRequest {
16
+ }
17
+ exports.QueryDocumentRequest = QueryDocumentRequest;
18
+ __decorate([
19
+ (0, utils_1.ApiPropertyOptional)(),
20
+ (0, class_validator_1.IsOptional)(),
21
+ (0, class_validator_1.IsInt)(),
22
+ __metadata("design:type", Number)
23
+ ], QueryDocumentRequest.prototype, "idExercice", void 0);
24
+ __decorate([
25
+ (0, utils_1.ApiPropertyOptional)(),
26
+ (0, class_validator_1.IsOptional)(),
27
+ (0, class_validator_1.IsInt)(),
28
+ __metadata("design:type", Number)
29
+ ], QueryDocumentRequest.prototype, "idBalanceSheet", void 0);
30
+ //# sourceMappingURL=Query.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Query.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/documentRequest/Query.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAoD;AACpD,6CAAwD;AAExD,MAAa,oBAAoB;CAUhC;AAVD,oDAUC;AANC;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;wDACY;AAKpB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;4DACgB","sourcesContent":["import { IsInt, IsOptional } from 'class-validator';\nimport { ApiPropertyOptional } from '../../../../utils';\n\nexport class QueryDocumentRequest {\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idExercice?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idBalanceSheet?: number;\n}\n"]}
@@ -4,6 +4,7 @@ export declare class CreateFileAndGed {
4
4
  filename: string;
5
5
  emissionDate: Date;
6
6
  statutFile?: number | null;
7
+ /** @deprecated use TypeFile enum with GedFile.typeFile field */
7
8
  idTypeGedFile?: number;
8
9
  idUser: number;
9
10
  idGedFolder: number;
@@ -15,5 +16,6 @@ export declare class CreateFileAndGed {
15
16
  idBankAccount?: number;
16
17
  needToBeReviewed?: boolean | null;
17
18
  formatFileName?: boolean | null;
19
+ idDocumentRequest?: number | null;
18
20
  }
19
21
  //# sourceMappingURL=createFileAndGed.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"createFileAndGed.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/gedFile/createFileAndGed.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAGtC,qBAAa,gBAAgB;IAE3B,IAAI,EAAE,KAAK,CAAC;IAIZ,QAAQ,EAAE,MAAM,CAAC;IAIjB,YAAY,EAAE,IAAI,CAAC;IAInB,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAK3B,aAAa,CAAC,EAAE,MAAM,CAAC;IAIvB,MAAM,EAAE,MAAM,CAAC;IAIf,WAAW,EAAE,MAAM,CAAC;IAIpB,SAAS,EAAE,MAAM,CAAC;IAKlB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAKlB,UAAU,CAAC,EAAE,MAAM,CAAC;IAKpB,cAAc,CAAC,EAAE,MAAM,CAAC;IAKxB,2BAA2B,CAAC,EAAE,MAAM,CAAC;IAKrC,aAAa,CAAC,EAAE,MAAM,CAAC;IAMvB,gBAAgB,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IAMlC,cAAc,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;CACjC"}
1
+ {"version":3,"file":"createFileAndGed.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/gedFile/createFileAndGed.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAGtC,qBAAa,gBAAgB;IAE3B,IAAI,EAAE,KAAK,CAAC;IAIZ,QAAQ,EAAE,MAAM,CAAC;IAIjB,YAAY,EAAE,IAAI,CAAC;IAInB,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAK3B,gEAAgE;IAChE,aAAa,CAAC,EAAE,MAAM,CAAC;IAIvB,MAAM,EAAE,MAAM,CAAC;IAIf,WAAW,EAAE,MAAM,CAAC;IAIpB,SAAS,EAAE,MAAM,CAAC;IAKlB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAKlB,UAAU,CAAC,EAAE,MAAM,CAAC;IAKpB,cAAc,CAAC,EAAE,MAAM,CAAC;IAKxB,2BAA2B,CAAC,EAAE,MAAM,CAAC;IAKrC,aAAa,CAAC,EAAE,MAAM,CAAC;IAMvB,gBAAgB,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IAMlC,cAAc,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IAKhC,iBAAiB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACnC"}
@@ -38,7 +38,9 @@ __decorate([
38
38
  __decorate([
39
39
  (0, utils_1.ApiPropertyOptional)(),
40
40
  (0, class_validator_1.IsNumber)(),
41
- (0, class_validator_1.IsOptional)(),
41
+ (0, class_validator_1.IsOptional)()
42
+ /** @deprecated use TypeFile enum with GedFile.typeFile field */
43
+ ,
42
44
  __metadata("design:type", Number)
43
45
  ], CreateFileAndGed.prototype, "idTypeGedFile", void 0);
44
46
  __decorate([
@@ -100,4 +102,10 @@ __decorate([
100
102
  (0, boolean_transform_1.ToBoolean)(),
101
103
  __metadata("design:type", Object)
102
104
  ], CreateFileAndGed.prototype, "formatFileName", void 0);
105
+ __decorate([
106
+ (0, utils_1.ApiPropertyOptional)(),
107
+ (0, class_validator_1.IsOptional)(),
108
+ (0, class_validator_1.IsInt)(),
109
+ __metadata("design:type", Object)
110
+ ], CreateFileAndGed.prototype, "idDocumentRequest", void 0);
103
111
  //# sourceMappingURL=createFileAndGed.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"createFileAndGed.js","sourceRoot":"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IACX,IAAA,6BAAS,GAAE;;0DACsB;AAMlC;IAJC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;;wDACoB","sourcesContent":["import { IsBoolean, IsDate, IsNumber, IsOptional, IsString } from 'class-validator';\nimport { ApiPropertyOptional, ApiProperty } from '../../../../utils';\nimport { TFile } from '../file/TFile';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class CreateFileAndGed {\n @ApiProperty()\n file: TFile;\n\n @ApiProperty()\n @IsString()\n filename: string;\n\n @ApiProperty()\n @IsDate()\n emissionDate: Date;\n\n @ApiPropertyOptional()\n @IsOptional()\n statutFile?: number | null;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n idTypeGedFile?: number;\n\n @ApiProperty()\n @IsNumber()\n idUser: number;\n\n @ApiProperty()\n @IsNumber()\n idGedFolder: number;\n\n @ApiProperty()\n @IsNumber()\n idSociety: number;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n typeFile?: number;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n idExercice?: number;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n idBalanceSheet?: number;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n idSocietyConfigBalanceSheet?: number;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n idBankAccount?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n needToBeReviewed?: boolean | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n formatFileName?: boolean | null;\n}\n"]}
1
+ {"version":3,"file":"createFileAndGed.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/gedFile/createFileAndGed.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA2F;AAC3F,6CAAqE;AAErE,sFAA2E;AAE3E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BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;;wDACoB;AAKhC;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;2DAC0B","sourcesContent":["import { IsBoolean, IsDate, IsInt, IsNumber, IsOptional, IsString } from 'class-validator';\nimport { ApiPropertyOptional, ApiProperty } from '../../../../utils';\nimport { TFile } from '../file/TFile';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class CreateFileAndGed {\n @ApiProperty()\n file: TFile;\n\n @ApiProperty()\n @IsString()\n filename: string;\n\n @ApiProperty()\n @IsDate()\n emissionDate: Date;\n\n @ApiPropertyOptional()\n @IsOptional()\n statutFile?: number | null;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n /** @deprecated use TypeFile enum with GedFile.typeFile field */\n idTypeGedFile?: number;\n\n @ApiProperty()\n @IsNumber()\n idUser: number;\n\n @ApiProperty()\n @IsNumber()\n idGedFolder: number;\n\n @ApiProperty()\n @IsNumber()\n idSociety: number;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n typeFile?: number;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n idExercice?: number;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n idBalanceSheet?: number;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n idSocietyConfigBalanceSheet?: number;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n idBankAccount?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n needToBeReviewed?: boolean | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n formatFileName?: boolean | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idDocumentRequest?: number | null;\n}\n"]}
@@ -1,9 +1,10 @@
1
- import { GedFolder, GedFileType, GedCategory } from '../../../Enum/Ged';
1
+ import { GedFolder, GedFileType, GedCategory, TypeFile } from '../../../Enum/Ged';
2
2
  import { RequiredQueryPaginate } from '../BasePaginate';
3
3
  import { TFile } from '../file/TFile';
4
4
  export declare class QueryLibraryFile {
5
5
  idSociety: number;
6
6
  idGedFolder?: GedFolder;
7
+ /** @deprecated use TypeFile enum with GedFile.typeFile field */
7
8
  idTypeGedFile?: GedFileType | GedFileType[];
8
9
  idGedCategory?: GedCategory;
9
10
  typeGedFolder?: GedFolder[];
@@ -11,7 +12,7 @@ export declare class QueryLibraryFile {
11
12
  idBalanceSheet?: number;
12
13
  idBankAccount?: number | number[];
13
14
  idFile?: number;
14
- typeFile?: number;
15
+ typeFile?: TypeFile;
15
16
  findSign?: boolean;
16
17
  attributes?: string[];
17
18
  page?: number;
@@ -45,6 +46,7 @@ export declare class QueryLibrarySociety extends RequiredQueryPaginate {
45
46
  }
46
47
  export declare class QueryLastFileOfType {
47
48
  idSociety: number;
49
+ /** @deprecated Use TypeFile enum instead with GedFile.typeFile field */
48
50
  idTypeGedFile: GedFileType;
49
51
  idDocumentSectionType: number;
50
52
  include?: string[];
@@ -1 +1 @@
1
- {"version":3,"file":"QueryLibrary.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/library/QueryLibrary.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AACxE,OAAO,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAC;AACxD,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAGtC,qBAAa,gBAAgB;IAE3B,SAAS,EAAE,MAAM,CAAC;IAGlB,WAAW,CAAC,EAAE,SAAS,CAAC;IAGxB,aAAa,CAAC,EAAE,WAAW,GAAG,WAAW,EAAE,CAAC;IAG5C,aAAa,CAAC,EAAE,WAAW,CAAC;IAG5B,aAAa,CAAC,EAAE,SAAS,EAAE,CAAC;IAG5B,UAAU,CAAC,EAAE,MAAM,CAAC;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IAQ9B,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;CACpB;AAED,qBAAa,0BAA0B;IAIrC,SAAS,CAAC,EAAE,MAAM,CAAC;IAKnB,aAAa,CAAC,EAAE,MAAM,CAAC;IAKvB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,qBAAa,qBAAqB;IAEhC,IAAI,EAAE,KAAK,CAAC;IAIZ,UAAU,EAAE,MAAM,CAAC;IAKnB,MAAM,EAAE,MAAM,CAAC;IAKf,OAAO,CAAC,EAAE,MAAM,CAAC;IAKjB,YAAY,CAAC,EAAE,MAAM,CAAC;IAKtB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAKlB,KAAK,CAAC,EAAE,MAAM,CAAC;IAKf,MAAM,CAAC,EAAE,MAAM,CAAC;IAKhB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB"}
@@ -30,7 +30,9 @@ __decorate([
30
30
  __metadata("design:type", Number)
31
31
  ], QueryLibraryFile.prototype, "idGedFolder", void 0);
32
32
  __decorate([
33
- (0, utils_1.ApiPropertyOptional)(),
33
+ (0, utils_1.ApiPropertyOptional)()
34
+ /** @deprecated use TypeFile enum with GedFile.typeFile field */
35
+ ,
34
36
  __metadata("design:type", Object)
35
37
  ], QueryLibraryFile.prototype, "idTypeGedFile", void 0);
36
38
  __decorate([
@@ -204,7 +206,9 @@ __decorate([
204
206
  __metadata("design:type", Number)
205
207
  ], QueryLastFileOfType.prototype, "idSociety", void 0);
206
208
  __decorate([
207
- (0, utils_1.ApiProperty)(),
209
+ (0, utils_1.ApiProperty)()
210
+ /** @deprecated Use TypeFile enum instead with GedFile.typeFile field */
211
+ ,
208
212
  __metadata("design:type", Number)
209
213
  ], QueryLastFileOfType.prototype, "idTypeGedFile", void 0);
210
214
  __decorate([
@@ -1 +1 @@
1
- {"version":3,"file":"QueryLibrary.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/library/QueryLibrary.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,q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,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;2DACS;AAKtB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;uDACK;AAKlB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,uBAAK,GAAE;IACP,IAAA,4BAAU,GAAE;;oDACE;AAKf;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,uBAAK,GAAE;IACP,IAAA,4BAAU,GAAE;;qDACG;AAKhB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,uBAAK,GAAE;IACP,IAAA,4BAAU,GAAE;;2DACS","sourcesContent":["import { IsIn, IsOptional, IsString, IsNumber, IsBoolean, IsInt, IsDateString, IsArray } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { GedFolder, GedFileType, GedCategory } from '../../../Enum/Ged';\nimport { RequiredQueryPaginate } from '../BasePaginate';\nimport { TFile } from '../file/TFile';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class QueryLibraryFile {\n @ApiProperty()\n idSociety: number;\n\n @ApiPropertyOptional()\n idGedFolder?: GedFolder;\n\n @ApiPropertyOptional()\n idTypeGedFile?: GedFileType | GedFileType[];\n\n @ApiPropertyOptional()\n idGedCategory?: GedCategory;\n\n @ApiPropertyOptional()\n typeGedFolder?: GedFolder[];\n\n @ApiPropertyOptional()\n idExercice?: number;\n\n @ApiPropertyOptional()\n idBalanceSheet?: number;\n\n @ApiPropertyOptional()\n idBankAccount?: number | number[];\n\n @ApiPropertyOptional()\n idFile?: number;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n typeFile?: number;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @IsOptional()\n findSign?: boolean = false;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString({\n each: true,\n })\n attributes?: string[];\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n page?: number;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n limit?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString({\n each: true,\n })\n @IsIn(['gedFolder', 'balanceSheet', 'customerSignature', 'fileFromGed', 'user', 'bankAccount'], { each: true })\n include?: string[];\n}\n\nexport class QueryDownloadFile {\n @ApiProperty()\n folderName: string;\n\n @ApiProperty()\n token: string;\n\n @ApiPropertyOptional()\n idUser?: number;\n\n @ApiPropertyOptional()\n idMail?: number;\n}\n\nexport class UpdateOrCreateGedFile {\n @ApiProperty()\n idFile: number;\n\n @ApiPropertyOptional()\n emissionDate?: Date;\n\n @ApiPropertyOptional()\n idUser?: number;\n\n @ApiProperty()\n idGedFolder: number;\n\n @ApiPropertyOptional()\n idSociety?: number;\n\n @ApiPropertyOptional()\n idExercice?: number;\n\n @ApiPropertyOptional()\n idTypeGedFile?: number;\n}\n\nexport class QueryLibrarySociety extends RequiredQueryPaginate {\n @ApiProperty()\n idGedCategories: GedCategory[];\n\n @ApiPropertyOptional()\n @IsDateString()\n @IsOptional()\n startDate?: string;\n\n @ApiPropertyOptional()\n @IsDateString()\n @IsOptional()\n endDate?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n search?: string;\n\n @ApiPropertyOptional()\n orderBy?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n idBankAccount?: number | number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n idGedFolders?: GedFolder[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n descending?: boolean;\n}\nexport class QueryLastFileOfType {\n @ApiProperty()\n @IsInt()\n idSociety: number;\n\n @ApiProperty()\n idTypeGedFile: GedFileType;\n\n @ApiPropertyOptional()\n @IsOptional()\n idDocumentSectionType: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString({\n each: true,\n })\n @IsIn(['gedFolder', 'balanceSheet', 'customerSignature', 'fileFromGed', 'user'], { each: true })\n include?: string[];\n}\n\nexport class QueryProcessCommercialFile {\n @ApiPropertyOptional()\n @IsInt()\n @IsOptional()\n idGedFile?: number;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n idSocietyLike?: string;\n\n @ApiPropertyOptional({ default: 15 })\n @IsOptional()\n @IsInt()\n limit?: number;\n}\n\nexport class ConvertFilePdfToImage {\n @ApiProperty()\n file: TFile;\n\n @ApiProperty()\n @IsString()\n returnType: string;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n format: string;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n density?: number;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n saveFilename?: string;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n savePath?: string;\n\n @ApiPropertyOptional()\n @IsInt()\n @IsOptional()\n width?: number;\n\n @ApiPropertyOptional()\n @IsInt()\n @IsOptional()\n height?: number;\n\n @ApiPropertyOptional()\n @IsInt()\n @IsOptional()\n numberOfPage?: number;\n}\n"]}
1
+ {"version":3,"file":"QueryLibrary.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/library/QueryLibrary.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAgH;AAChH,6CAAqE;AACrE,2CAAkF;AAClF,kDAAwD;AAExD,sFAA2E;AAE3E,MAAa,gBAAgB;IAA7B;QAqCE,aAAQ,GAAa,KAAK,CAAC;IA0B7B,CAAC;CAAA;AA/DD,4CA+DC;AA7DC;IADC,IAAA,mBAAW,GAAE;;mDACI;AAGlB;IADC,IAAA,2BAAmB,GAAE;;qDACE;AAIxB;IAFC,IAAA,2BAAmB,GAAE;IACtB,gEAAgE;;;uDACpB;AAG5C;IADC,IAAA,2BAAmB,GAAE;;uDACM;AAG5B;IADC,IAAA,2BAAmB,GAAE;;uDACM;AAG5B;IADC,IAAA,2BAAmB,GAAE;;oDACF;AAGpB;IADC,IAAA,2BAAmB,GAAE;;wDACE;AAGxB;IADC,IAAA,2BAAmB,GAA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Boolean, IsInt, IsDateString, IsArray } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { GedFolder, GedFileType, GedCategory, TypeFile } from '../../../Enum/Ged';\nimport { RequiredQueryPaginate } from '../BasePaginate';\nimport { TFile } from '../file/TFile';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class QueryLibraryFile {\n @ApiProperty()\n idSociety: number;\n\n @ApiPropertyOptional()\n idGedFolder?: GedFolder;\n\n @ApiPropertyOptional()\n /** @deprecated use TypeFile enum with GedFile.typeFile field */\n idTypeGedFile?: GedFileType | GedFileType[];\n\n @ApiPropertyOptional()\n idGedCategory?: GedCategory;\n\n @ApiPropertyOptional()\n typeGedFolder?: GedFolder[];\n\n @ApiPropertyOptional()\n idExercice?: number;\n\n @ApiPropertyOptional()\n idBalanceSheet?: number;\n\n @ApiPropertyOptional()\n idBankAccount?: number | number[];\n\n @ApiPropertyOptional()\n idFile?: number;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n typeFile?: TypeFile;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @IsOptional()\n findSign?: boolean = false;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString({\n each: true,\n })\n attributes?: string[];\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n page?: number;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n limit?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString({\n each: true,\n })\n @IsIn(['gedFolder', 'balanceSheet', 'customerSignature', 'fileFromGed', 'user', 'bankAccount'], { each: true })\n include?: string[];\n}\n\nexport class QueryDownloadFile {\n @ApiProperty()\n folderName: string;\n\n @ApiProperty()\n token: string;\n\n @ApiPropertyOptional()\n idUser?: number;\n\n @ApiPropertyOptional()\n idMail?: number;\n}\n\nexport class UpdateOrCreateGedFile {\n @ApiProperty()\n idFile: number;\n\n @ApiPropertyOptional()\n emissionDate?: Date;\n\n @ApiPropertyOptional()\n idUser?: number;\n\n @ApiProperty()\n idGedFolder: number;\n\n @ApiPropertyOptional()\n idSociety?: number;\n\n @ApiPropertyOptional()\n idExercice?: number;\n\n @ApiPropertyOptional()\n idTypeGedFile?: number;\n}\n\nexport class QueryLibrarySociety extends RequiredQueryPaginate {\n @ApiProperty()\n idGedCategories: GedCategory[];\n\n @ApiPropertyOptional()\n @IsDateString()\n @IsOptional()\n startDate?: string;\n\n @ApiPropertyOptional()\n @IsDateString()\n @IsOptional()\n endDate?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n search?: string;\n\n @ApiPropertyOptional()\n orderBy?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n idBankAccount?: number | number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n idGedFolders?: GedFolder[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n descending?: boolean;\n}\nexport class QueryLastFileOfType {\n @ApiProperty()\n @IsInt()\n idSociety: number;\n\n @ApiProperty()\n /** @deprecated Use TypeFile enum instead with GedFile.typeFile field */\n idTypeGedFile: GedFileType;\n\n @ApiPropertyOptional()\n @IsOptional()\n idDocumentSectionType: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString({\n each: true,\n })\n @IsIn(['gedFolder', 'balanceSheet', 'customerSignature', 'fileFromGed', 'user'], { each: true })\n include?: string[];\n}\n\nexport class QueryProcessCommercialFile {\n @ApiPropertyOptional()\n @IsInt()\n @IsOptional()\n idGedFile?: number;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n idSocietyLike?: string;\n\n @ApiPropertyOptional({ default: 15 })\n @IsOptional()\n @IsInt()\n limit?: number;\n}\n\nexport class ConvertFilePdfToImage {\n @ApiProperty()\n file: TFile;\n\n @ApiProperty()\n @IsString()\n returnType: string;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n format: string;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n density?: number;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n saveFilename?: string;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n savePath?: string;\n\n @ApiPropertyOptional()\n @IsInt()\n @IsOptional()\n width?: number;\n\n @ApiPropertyOptional()\n @IsInt()\n @IsOptional()\n height?: number;\n\n @ApiPropertyOptional()\n @IsInt()\n @IsOptional()\n numberOfPage?: number;\n}\n"]}
@@ -1,4 +1,4 @@
1
- import { IFile } from '../../..';
1
+ import { IFile, TypeFile } from '../../..';
2
2
  export type UnpaidDetail = {
3
3
  datePayment: Date;
4
4
  amount: number;
@@ -17,7 +17,11 @@ export type ReadAskOrRequiredDocuments = {
17
17
  name: string;
18
18
  status: string;
19
19
  idGedFolder: number;
20
- idGedFileType: number;
21
- fileType: number;
20
+ idGedFileType?: number;
21
+ typeFile?: TypeFile;
22
+ idDocumentRequest?: number;
23
+ idExercice?: number;
24
+ idBalanceSheet?: number;
25
+ idBankAccount?: number;
22
26
  };
23
27
  //# sourceMappingURL=ReadSociety.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ReadSociety.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/society/ReadSociety.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAEjC,MAAM,MAAM,YAAY,GAAG;IACzB,WAAW,EAAE,IAAI,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,IAAI,CAAC;IAChB,OAAO,EAAE,IAAI,CAAC;IACd,IAAI,CAAC,EAAE,KAAK,GAAG,IAAI,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG;IAClC,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,MAAM,MAAM,0BAA0B,GAAG;IACvC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,MAAM,CAAC;IACtB,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC"}
1
+ {"version":3,"file":"ReadSociety.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/society/ReadSociety.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAE3C,MAAM,MAAM,YAAY,GAAG;IACzB,WAAW,EAAE,IAAI,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,IAAI,CAAC;IAChB,OAAO,EAAE,IAAI,CAAC;IACd,IAAI,CAAC,EAAE,KAAK,GAAG,IAAI,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG;IAClC,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,MAAM,MAAM,0BAA0B,GAAG;IACvC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ReadSociety.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/society/ReadSociety.ts"],"names":[],"mappings":"","sourcesContent":["import { IFile } from '../../..';\n\nexport type UnpaidDetail = {\n datePayment: Date;\n amount: number;\n idExercice: number;\n dateStart: Date;\n dateEnd: Date;\n file?: IFile | null;\n};\n\nexport type ReadInvalidFieldState = {\n label: string;\n field: string;\n};\n\nexport type ReadAskOrRequiredDocuments = {\n idGedFile?: number;\n idFile?: number;\n name: string;\n status: string;\n idGedFolder: number;\n idGedFileType: number;\n fileType: number;\n};\n"]}
1
+ {"version":3,"file":"ReadSociety.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/society/ReadSociety.ts"],"names":[],"mappings":"","sourcesContent":["import { IFile, TypeFile } from '../../..';\n\nexport type UnpaidDetail = {\n datePayment: Date;\n amount: number;\n idExercice: number;\n dateStart: Date;\n dateEnd: Date;\n file?: IFile | null;\n};\n\nexport type ReadInvalidFieldState = {\n label: string;\n field: string;\n};\n\nexport type ReadAskOrRequiredDocuments = {\n idGedFile?: number;\n idFile?: number;\n name: string;\n status: string;\n idGedFolder: number;\n idGedFileType?: number;\n typeFile?: TypeFile;\n idDocumentRequest?: number;\n idExercice?: number;\n idBalanceSheet?: number;\n idBankAccount?: number;\n};\n"]}
@@ -72,5 +72,6 @@ export declare class CreatePaymentSession {
72
72
  priceId?: string;
73
73
  idVatForInternalInvoicing?: number;
74
74
  stripeAccount?: string;
75
+ idempotencyKey?: string;
75
76
  }
76
77
  //# sourceMappingURL=Create.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Create.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/stripe/Create.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,qBAAa,sBAAsB;IAGjC,IAAI,EAAE,MAAM,CAAC;CACd;AAED,qBAAa,mBAAmB;IAG9B,gBAAgB,EAAE,MAAM,CAAC;CAC1B;AAED,qBAAa,cAAc;IAGzB,EAAE,EAAE,MAAM,CAAC;IAIX,KAAK,EAAE,MAAM,CAAC;IAId,QAAQ,CAAC,EAA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,GAAG,MAAM,CAAC,CAAC;IAK3C,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAKlC,OAAO,CAAC,EAAE,MAAM,CAAC;IAKjB,yBAAyB,CAAC,EAAE,MAAM,CAAC;IAKnC,aAAa,CAAC,EAAE,MAAM,CAAC;IAKvB,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB"}
@@ -277,4 +277,10 @@ __decorate([
277
277
  (0, class_validator_1.IsString)(),
278
278
  __metadata("design:type", String)
279
279
  ], CreatePaymentSession.prototype, "stripeAccount", void 0);
280
+ __decorate([
281
+ (0, utils_1.ApiPropertyOptional)(),
282
+ (0, class_validator_1.IsOptional)(),
283
+ (0, class_validator_1.IsString)(),
284
+ __metadata("design:type", String)
285
+ ], CreatePaymentSession.prototype, "idempotencyKey", void 0);
280
286
  //# sourceMappingURL=Create.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Create.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/stripe/Create.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuH;AACvH,6CAAqE;AAErE,sFAA2E;AAC3E,MAAa,sBAAsB;CAIlC;AAJD,wDAIC;AADC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;oDACE;AAGf,MAAa,mBAAmB;CAI/B;AAJD,kDAIC;AADC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;6DACc;AAG3B,MAAa,cAAc;CAgB1B;AAhBD,wCAgBC;AAbC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,uBAAK,GAAE;;0CACG;AAIX;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;6CACG;AAId;IAFC,IAAA,2BAAmB,GAAE;IACrB,IAAA,0BAAQ,GAAE;;gDACO;AAIlB;IAFC,IAAA,2BAAmB,GAAE;IACrB,IAAA,0BAAQ,GAAE;;iDACQ;AAGrB,MAAa,iCAAiC;CAU7C;AAVD,8EAUC;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;AAI3C;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,yBAAO,GAAE;8BACH,KAAK;oDAAwC;AAEtD,MAAa,oBAAoB;CAqChC;AArCD,oDAqCC;AAlCC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;8DACc;AAKzB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;mDACI;AAIf;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;uDACO;AAIlB;IAFC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;;sDAC8B;AAK3C;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;sEAC0B;AAKlC;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;qDACM;AAKjB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;uEAC2B;AAKnC;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;2DACY","sourcesContent":["import { IsArray, IsBoolean, IsDate, IsDateString, IsInt, IsNumber, IsOptional, IsString, Min } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport type Stripe from 'stripe';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\nexport class CreateStripeConnection {\n @ApiProperty()\n @IsString()\n code: string;\n}\n\nexport class CreateStripePortals {\n @ApiProperty()\n @IsString()\n stripeCustomerId: string;\n}\n\nexport class CreateCustomer {\n @ApiProperty()\n @IsInt()\n id: number;\n\n @ApiProperty()\n @IsString()\n email: string;\n\n @ApiPropertyOptional()\n @IsString()\n lastname?: string;\n\n @ApiPropertyOptional()\n @IsString()\n firstname?: string;\n}\n\nexport class CreateImportTransactionForSociety {\n @ApiPropertyOptional()\n @IsDate()\n @IsOptional()\n startDate?: Date;\n\n @ApiPropertyOptional()\n @IsDate()\n @IsOptional()\n endDate?: Date;\n}\n\nexport class CreateSubscriptionSession {\n @ApiProperty()\n @IsString()\n priceId: string;\n}\n\nexport class CreateCommercialSession {\n @ApiProperty()\n @IsInt()\n idSociety: number;\n\n @ApiProperty()\n @IsInt()\n idUser: number;\n\n @ApiProperty()\n @IsString()\n priceId: string;\n}\n\nexport class CreateSubscriptionSessionOff {\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n stripeCustomerId?: string;\n\n @ApiProperty()\n @IsString()\n ref: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n returnUrl?: string;\n}\n\nexport class CreateSubscriptionSessionOffApp {\n @ApiProperty()\n @IsInt()\n idSociety: number;\n\n @ApiProperty()\n @IsString()\n stripePriceId: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n returnUrl?: string;\n}\n\nexport class CreatePaymentIntent {\n @ApiProperty()\n @IsString()\n stripeCustomerId: string;\n\n @ApiProperty()\n @IsString()\n paymentMethodId: string;\n\n @ApiProperty()\n @IsInt()\n amountInCents: number;\n\n @ApiPropertyOptional()\n metadata?: Stripe.MetadataParam;\n}\n\nexport class UpdatePaymentMethod {\n @ApiProperty()\n @IsString()\n stripePaymentMethodId: string;\n\n @ApiProperty()\n metadata: any;\n}\n\nexport class PostProcessPaymentAutomatically {\n @ApiPropertyOptional()\n @IsInt()\n @IsOptional()\n idSociety?: number;\n\n @ApiPropertyOptional()\n @IsDateString()\n @IsOptional()\n minDate?: string;\n}\n\nexport class CreateTapToPayIntent {\n @ApiProperty()\n @IsNumber()\n @Min(1, {\n message: 'Le montant doit être supérieur à 1ct',\n })\n amountInCents: number;\n}\n\nexport class CreateTapToPayConnectionToken {\n @ApiProperty()\n @IsString()\n @IsOptional()\n locationId?: string;\n}\n\nexport class CreatePurchaseSession {\n @ApiProperty({ description: 'Is software or accountancy product' })\n @IsBoolean()\n @ToBoolean()\n isSoftware: boolean;\n\n @ApiProperty({ description: 'Redirection link on success' })\n @IsString()\n successRedirection: string;\n\n @ApiProperty({ description: 'Redirection link on cancel / error' })\n @IsString()\n cancelRedirection: string;\n\n @ApiPropertyOptional()\n metadata?: Record<string, string | number>;\n\n @ApiProperty()\n @IsArray()\n items: Array<{ priceId: string; quantity: number }>;\n}\nexport class CreatePaymentSession {\n @ApiProperty()\n @IsString()\n stripeCustomerId: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n label?: string;\n\n @ApiProperty()\n @IsString()\n returnUrl: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n metadata?: Record<string, string | number>;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n amountInCentsTaxIncluded?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n priceId?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idVatForInternalInvoicing?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n stripeAccount?: string;\n}\n"]}
1
+ {"version":3,"file":"Create.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/stripe/Create.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuH;AACvH,6CAAqE;AAErE,sFAA2E;AAC3E,MAAa,sBAAsB;CAIlC;AAJD,wDAIC;AADC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;oDACE;AAGf,MAAa,mBAAmB;CAI/B;AAJD,kDAIC;AADC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;6DACc;AAG3B,MAAa,cAAc;CAgB1B;AAhBD,wCAgBC;AAbC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,uBAAK,GAAE;;0CACG;AAIX;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;6CACG;AAId;IAFC,IAAA,2BAAmB,GAAE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;AAI3B;IAFC,IAAA,mBAAW,EAAC,EAAE,WAAW,EAAE,oCAAoC,EAAE,CAAC;IAClE,IAAA,0BAAQ,GAAE;;gEACe;AAG1B;IADC,IAAA,2BAAmB,GAAE;;uDACqB;AAI3C;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,yBAAO,GAAE;8BACH,KAAK;oDAAwC;AAEtD,MAAa,oBAAoB;CA0ChC;AA1CD,oDA0CC;AAvCC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;8DACc;AAKzB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;mDACI;AAIf;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;uDACO;AAIlB;IAFC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;;sDAC8B;AAK3C;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;sEAC0B;AAKlC;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;qDACM;AAKjB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;uEAC2B;AAKnC;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;2DACY;AAKvB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;4DACa","sourcesContent":["import { IsArray, IsBoolean, IsDate, IsDateString, IsInt, IsNumber, IsOptional, IsString, Min } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport type Stripe from 'stripe';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\nexport class CreateStripeConnection {\n @ApiProperty()\n @IsString()\n code: string;\n}\n\nexport class CreateStripePortals {\n @ApiProperty()\n @IsString()\n stripeCustomerId: string;\n}\n\nexport class CreateCustomer {\n @ApiProperty()\n @IsInt()\n id: number;\n\n @ApiProperty()\n @IsString()\n email: string;\n\n @ApiPropertyOptional()\n @IsString()\n lastname?: string;\n\n @ApiPropertyOptional()\n @IsString()\n firstname?: string;\n}\n\nexport class CreateImportTransactionForSociety {\n @ApiPropertyOptional()\n @IsDate()\n @IsOptional()\n startDate?: Date;\n\n @ApiPropertyOptional()\n @IsDate()\n @IsOptional()\n endDate?: Date;\n}\n\nexport class CreateSubscriptionSession {\n @ApiProperty()\n @IsString()\n priceId: string;\n}\n\nexport class CreateCommercialSession {\n @ApiProperty()\n @IsInt()\n idSociety: number;\n\n @ApiProperty()\n @IsInt()\n idUser: number;\n\n @ApiProperty()\n @IsString()\n priceId: string;\n}\n\nexport class CreateSubscriptionSessionOff {\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n stripeCustomerId?: string;\n\n @ApiProperty()\n @IsString()\n ref: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n returnUrl?: string;\n}\n\nexport class CreateSubscriptionSessionOffApp {\n @ApiProperty()\n @IsInt()\n idSociety: number;\n\n @ApiProperty()\n @IsString()\n stripePriceId: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n returnUrl?: string;\n}\n\nexport class CreatePaymentIntent {\n @ApiProperty()\n @IsString()\n stripeCustomerId: string;\n\n @ApiProperty()\n @IsString()\n paymentMethodId: string;\n\n @ApiProperty()\n @IsInt()\n amountInCents: number;\n\n @ApiPropertyOptional()\n metadata?: Stripe.MetadataParam;\n}\n\nexport class UpdatePaymentMethod {\n @ApiProperty()\n @IsString()\n stripePaymentMethodId: string;\n\n @ApiProperty()\n metadata: any;\n}\n\nexport class PostProcessPaymentAutomatically {\n @ApiPropertyOptional()\n @IsInt()\n @IsOptional()\n idSociety?: number;\n\n @ApiPropertyOptional()\n @IsDateString()\n @IsOptional()\n minDate?: string;\n}\n\nexport class CreateTapToPayIntent {\n @ApiProperty()\n @IsNumber()\n @Min(1, {\n message: 'Le montant doit être supérieur à 1ct',\n })\n amountInCents: number;\n}\n\nexport class CreateTapToPayConnectionToken {\n @ApiProperty()\n @IsString()\n @IsOptional()\n locationId?: string;\n}\n\nexport class CreatePurchaseSession {\n @ApiProperty({ description: 'Is software or accountancy product' })\n @IsBoolean()\n @ToBoolean()\n isSoftware: boolean;\n\n @ApiProperty({ description: 'Redirection link on success' })\n @IsString()\n successRedirection: string;\n\n @ApiProperty({ description: 'Redirection link on cancel / error' })\n @IsString()\n cancelRedirection: string;\n\n @ApiPropertyOptional()\n metadata?: Record<string, string | number>;\n\n @ApiProperty()\n @IsArray()\n items: Array<{ priceId: string; quantity: number }>;\n}\nexport class CreatePaymentSession {\n @ApiProperty()\n @IsString()\n stripeCustomerId: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n label?: string;\n\n @ApiProperty()\n @IsString()\n returnUrl: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n metadata?: Record<string, string | number>;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n amountInCentsTaxIncluded?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n priceId?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idVatForInternalInvoicing?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n stripeAccount?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n idempotencyKey?: string;\n}\n"]}
@@ -12,28 +12,26 @@ export interface IAttestation {
12
12
  idExercice: number | null;
13
13
  idSociety: number | null;
14
14
  idSupervisor: number | null;
15
- idUserDemand?: number | null;
16
- idPaymentExpectation?: number | null;
17
- idFile?: number | null;
15
+ idUserDemand: number | null;
16
+ idPaymentExpectation: number | null;
17
+ idFile: number | null;
18
18
  annoted: boolean;
19
- factured: number;
20
- sendDate?: Date | null;
21
- textPdf?: string | null;
22
- isSign?: boolean | null;
23
- done?: boolean | null;
24
- idMailPayment?: number | null;
25
- idMailValidation?: number | null;
26
- fileLink?: string;
19
+ sendDate: Date | null;
20
+ textPdf: string | null;
21
+ isSign: boolean | null;
22
+ done: boolean | null;
23
+ idMailPayment: number | null;
24
+ idMailValidation: number | null;
27
25
  createdAt?: Date | null;
28
26
  updatedAt?: Date | null;
29
- attestationSupervisor?: IUser | null;
30
- attestationUserDemand?: IUser | null;
31
- prestationsList?: IPrestationList;
32
- attestationPaymentExpectation?: IPaymentExpectation | null;
33
- attestationFiles?: IFile | null;
34
- society?: ISociety | null;
35
- exercices?: IExercice | null;
36
- paymentMail?: IMail | null;
37
- validationMail?: IMail | null;
27
+ attestationSupervisor: IUser;
28
+ attestationUserDemand: IUser;
29
+ prestationsList: IPrestationList;
30
+ attestationPaymentExpectation: IPaymentExpectation;
31
+ attestationFiles: IFile;
32
+ society: ISociety;
33
+ exercices: IExercice;
34
+ paymentMail: IMail;
35
+ validationMail: IMail;
38
36
  }
39
37
  //# sourceMappingURL=IAttestation.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"IAttestation.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/IAttestation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAGhC,MAAM,WAAW,YAAY;IAC3B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IAC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GxB,qBAAqB,EAAE,KAAK,CAAC;IAC7B,qBAAqB,EAAE,KAAK,CAAC;IAC7B,eAAe,EAAE,eAAe,CAAC;IACjC,6BAA6B,EAAE,mBAAmB,CAAC;IACnD,gBAAgB,EAAE,KAAK,CAAC;IACxB,OAAO,EAAE,QAAQ,CAAC;IAClB,SAAS,EAAE,SAAS,CAAC;IACrB,WAAW,EAAE,KAAK,CAAC;IACnB,cAAc,EAAE,KAAK,CAAC;CACvB"}
@@ -1 +1 @@
1
- {"version":3,"file":"IAttestation.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/IAttestation.ts"],"names":[],"mappings":"","sourcesContent":["import { IUser } from './IUser';\nimport { IPrestationList } from './IPrestationList';\nimport { IPaymentExpectation } from './IPaymentExpectation';\nimport { IFile } from './IFile';\nimport { ISociety } from './ISociety';\nimport { IExercice } from './IExercice';\nimport { IMail } from './IMail';\n\n// attestations\nexport interface IAttestation {\n id?: number;\n price: number | null;\n idPrestationList: number;\n idExercice: number | null;\n idSociety: number | null;\n idSupervisor: number | null;\n idUserDemand?: number | null;\n idPaymentExpectation?: number | null;\n idFile?: number | null;\n annoted: boolean;\n factured: number;\n sendDate?: Date | null;\n textPdf?: string | null;\n isSign?: boolean | null;\n done?: boolean | null;\n idMailPayment?: number | null;\n idMailValidation?: number | null;\n fileLink?: string;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n\n // Associations\n attestationSupervisor?: IUser | null;\n attestationUserDemand?: IUser | null;\n prestationsList?: IPrestationList;\n attestationPaymentExpectation?: IPaymentExpectation | null;\n attestationFiles?: IFile | null;\n society?: ISociety | null;\n exercices?: IExercice | null;\n paymentMail?: IMail | null;\n validationMail?: IMail | null;\n}\n"]}
1
+ {"version":3,"file":"IAttestation.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/IAttestation.ts"],"names":[],"mappings":"","sourcesContent":["import { IUser } from './IUser';\nimport { IPrestationList } from './IPrestationList';\nimport { IPaymentExpectation } from './IPaymentExpectation';\nimport { IFile } from './IFile';\nimport { ISociety } from './ISociety';\nimport { IExercice } from './IExercice';\nimport { IMail } from './IMail';\n\n// attestations\nexport interface IAttestation {\n id?: number;\n price: number | null;\n idPrestationList: number;\n idExercice: number | null;\n idSociety: number | null;\n idSupervisor: number | null;\n idUserDemand: number | null;\n idPaymentExpectation: number | null;\n idFile: number | null;\n annoted: boolean;\n sendDate: Date | null;\n textPdf: string | null;\n isSign: boolean | null;\n done: boolean | null;\n idMailPayment: number | null;\n idMailValidation: number | null;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n\n // Associations\n attestationSupervisor: IUser;\n attestationUserDemand: IUser;\n prestationsList: IPrestationList;\n attestationPaymentExpectation: IPaymentExpectation;\n attestationFiles: IFile;\n society: ISociety;\n exercices: IExercice;\n paymentMail: IMail;\n validationMail: IMail;\n}\n"]}
@@ -18,8 +18,8 @@ export interface IChecklist {
18
18
  startDate?: Date | null;
19
19
  endDate?: Date | null;
20
20
  notifyFront?: boolean;
21
- idExercice: number | null;
22
- idCustomerVat: number | null;
21
+ idExercice?: number | null;
22
+ idCustomerVat?: number | null;
23
23
  createdAt?: Date | null;
24
24
  updatedAt?: Date | null;
25
25
  checklistHasSomeDetails?: IChecklistDetail[];
@@ -1 +1 @@
1
- {"version":3,"file":"IChecklist.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/IChecklist.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AACjF,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAGtC,MAAM,WAAW,UAAU;IACzB,EAAE,CAAC,EAAE,M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],"mappings":"","sourcesContent":["import { IChecklistDetail } from './IChecklistDetail';\nimport { IUser } from './IUser';\nimport { IExercice } from './IExercice';\nimport { ICustomerVat } from './ICustomerVat';\nimport { ChecklistCallState, ChecklistTypeEnum } from '../../Enum/ChecklistType';\nimport { IMailRelation } from '../..';\n\n// checklist\nexport interface IChecklist {\n id?: number;\n idUserFront: number | null;\n revisionDate?: Date | null;\n takePriority?: boolean;\n idUserWhoValidate?: number | null;\n validateDate?: Date | null;\n isConfirmed: boolean;\n date: Date | null;\n type: ChecklistTypeEnum;\n callState?: ChecklistCallState;\n startDate?: Date | null;\n endDate?: Date | null;\n notifyFront?: boolean;\n idExercice: number | null;\n idCustomerVat: number | null;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n\n // Associations\n checklistHasSomeDetails?: IChecklistDetail[];\n checklistHasOneSupervisor?: IUser;\n exercice?: IExercice;\n checklistHasOneCustomerVat?: ICustomerVat;\n mailRelation?: IMailRelation[];\n userWhoValidate?: IUser;\n}\n"]}
1
+ {"version":3,"file":"IChecklist.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/IChecklist.ts"],"names":[],"mappings":"","sourcesContent":["import { IChecklistDetail } from './IChecklistDetail';\nimport { IUser } from './IUser';\nimport { IExercice } from './IExercice';\nimport { ICustomerVat } from './ICustomerVat';\nimport { ChecklistCallState, ChecklistTypeEnum } from '../../Enum/ChecklistType';\nimport { IMailRelation } from '../..';\n\n// checklist\nexport interface IChecklist {\n id?: number;\n idUserFront: number | null;\n revisionDate?: Date | null;\n takePriority?: boolean;\n idUserWhoValidate?: number | null;\n validateDate?: Date | null;\n isConfirmed: boolean;\n date: Date | null;\n type: ChecklistTypeEnum;\n callState?: ChecklistCallState;\n startDate?: Date | null;\n endDate?: Date | null;\n notifyFront?: boolean;\n idExercice?: number | null;\n idCustomerVat?: number | null;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n\n // Associations\n checklistHasSomeDetails?: IChecklistDetail[];\n checklistHasOneSupervisor?: IUser;\n exercice?: IExercice;\n checklistHasOneCustomerVat?: ICustomerVat;\n mailRelation?: IMailRelation[];\n userWhoValidate?: IUser;\n}\n"]}
@@ -4,12 +4,12 @@ export interface IChecklistDetail {
4
4
  id?: number;
5
5
  value: string;
6
6
  isAutomatic: boolean;
7
- idBankAccount: number | null;
7
+ idBankAccount?: number | null;
8
8
  idTypeChecklist: number;
9
9
  idChecklist: number;
10
10
  createdAt?: Date | null;
11
11
  updatedAt?: Date | null;
12
- typeChecklist: IChecklistType;
13
- detailHasOneChecklist: IChecklist;
12
+ typeChecklist?: IChecklistType;
13
+ detailHasOneChecklist?: IChecklist;
14
14
  }
15
15
  //# sourceMappingURL=IChecklistDetail.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"IChecklistDetail.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/IChecklistDetail.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAG1C,MAAM,WAAW,gBAAgB;IAC/B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,OAAO,CAAC;IACrB,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,eAAe,EAAE,MAAM,CAAC;IACxB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAGxB,aAAa,EAAE,cAAc,CAAC;IAC9B,qBAAqB,EAAE,UAAU,CAAC;CACnC"}
1
+ {"version":3,"file":"IChecklistDetail.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/IChecklistDetail.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAG1C,MAAM,WAAW,gBAAgB;IAC/B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,OAAO,CAAC;IACrB,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,eAAe,EAAE,MAAM,CAAC;IACxB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAGxB,aAAa,CAAC,EAAE,cAAc,CAAC;IAC/B,qBAAqB,CAAC,EAAE,UAAU,CAAC;CACpC"}
@@ -1 +1 @@
1
- {"version":3,"file":"IChecklistDetail.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/IChecklistDetail.ts"],"names":[],"mappings":"","sourcesContent":["import { IChecklistType } from './IChecklistType';\nimport { IChecklist } from './IChecklist';\n\n// checklistDetail\nexport interface IChecklistDetail {\n id?: number;\n value: string;\n isAutomatic: boolean;\n idBankAccount: number | null;\n idTypeChecklist: number;\n idChecklist: number;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n\n // Associations\n typeChecklist: IChecklistType;\n detailHasOneChecklist: IChecklist;\n}\n"]}
1
+ {"version":3,"file":"IChecklistDetail.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/IChecklistDetail.ts"],"names":[],"mappings":"","sourcesContent":["import { IChecklistType } from './IChecklistType';\nimport { IChecklist } from './IChecklist';\n\n// checklistDetail\nexport interface IChecklistDetail {\n id?: number;\n value: string;\n isAutomatic: boolean;\n idBankAccount?: number | null;\n idTypeChecklist: number;\n idChecklist: number;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n\n // Associations\n typeChecklist?: IChecklistType;\n detailHasOneChecklist?: IChecklist;\n}\n"]}