@silexpert/core 1.3.166 → 1.3.168-1
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.
- package/dist/cjs/api/resources/DocumentRequest.d.ts +2 -1
- package/dist/cjs/api/resources/DocumentRequest.d.ts.map +1 -1
- package/dist/cjs/api/resources/DocumentRequest.js +3 -0
- package/dist/cjs/api/resources/DocumentRequest.js.map +1 -1
- package/dist/cjs/api/resources/InformationRequest.d.ts +11 -0
- package/dist/cjs/api/resources/InformationRequest.d.ts.map +1 -0
- package/dist/cjs/api/resources/InformationRequest.js +26 -0
- package/dist/cjs/api/resources/InformationRequest.js.map +1 -0
- package/dist/cjs/api/resources.d.ts +2 -0
- package/dist/cjs/api/resources.d.ts.map +1 -1
- package/dist/cjs/api/resources.js +2 -0
- package/dist/cjs/api/resources.js.map +1 -1
- package/dist/cjs/types/Enum/BalanceSheet.d.ts.map +1 -1
- package/dist/cjs/types/Enum/BalanceSheet.js +6 -6
- package/dist/cjs/types/Enum/BalanceSheet.js.map +1 -1
- package/dist/cjs/types/Enum/BalanceSheetModule.d.ts +2 -0
- package/dist/cjs/types/Enum/BalanceSheetModule.d.ts.map +1 -1
- package/dist/cjs/types/Enum/BalanceSheetModule.js +23 -1
- package/dist/cjs/types/Enum/BalanceSheetModule.js.map +1 -1
- package/dist/cjs/types/Enum/Ged.d.ts +16 -2
- package/dist/cjs/types/Enum/Ged.d.ts.map +1 -1
- package/dist/cjs/types/Enum/Ged.js +131 -0
- package/dist/cjs/types/Enum/Ged.js.map +1 -1
- package/dist/cjs/types/Enum/InformationRequestState.d.ts +6 -0
- package/dist/cjs/types/Enum/InformationRequestState.d.ts.map +1 -0
- package/dist/cjs/types/Enum/InformationRequestState.js +10 -0
- package/dist/cjs/types/Enum/InformationRequestState.js.map +1 -0
- package/dist/cjs/types/Enum/InformationRequestType.d.ts +16 -0
- package/dist/cjs/types/Enum/InformationRequestType.d.ts.map +1 -0
- package/dist/cjs/types/Enum/InformationRequestType.js +46 -0
- package/dist/cjs/types/Enum/InformationRequestType.js.map +1 -0
- package/dist/cjs/types/Enum/RegistrationSource.d.ts +2 -1
- package/dist/cjs/types/Enum/RegistrationSource.d.ts.map +1 -1
- package/dist/cjs/types/Enum/RegistrationSource.js +1 -0
- package/dist/cjs/types/Enum/RegistrationSource.js.map +1 -1
- package/dist/cjs/types/Interface/api/cashAndExpense/Create.d.ts +1 -1
- package/dist/cjs/types/Interface/api/cashAndExpense/Create.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/cashAndExpense/Create.js +1 -1
- package/dist/cjs/types/Interface/api/cashAndExpense/Create.js.map +1 -1
- package/dist/cjs/types/Interface/api/config/ConfigType.d.ts +4 -0
- package/dist/cjs/types/Interface/api/config/ConfigType.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/config/ConfigType.js.map +1 -1
- package/dist/cjs/types/Interface/api/documentRequest/Create.d.ts +1 -0
- package/dist/cjs/types/Interface/api/documentRequest/Create.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/documentRequest/Create.js +8 -0
- package/dist/cjs/types/Interface/api/documentRequest/Create.js.map +1 -1
- package/dist/cjs/types/Interface/api/documentRequest/Query.d.ts +3 -0
- package/dist/cjs/types/Interface/api/documentRequest/Query.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/documentRequest/Query.js +12 -0
- package/dist/cjs/types/Interface/api/documentRequest/Query.js.map +1 -1
- package/dist/cjs/types/Interface/api/documentRequest/Update.d.ts +12 -0
- package/dist/cjs/types/Interface/api/documentRequest/Update.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/documentRequest/Update.js +63 -0
- package/dist/cjs/types/Interface/api/documentRequest/Update.js.map +1 -0
- package/dist/cjs/types/Interface/api/informationRequest/Create.d.ts +10 -0
- package/dist/cjs/types/Interface/api/informationRequest/Create.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/informationRequest/Create.js +49 -0
- package/dist/cjs/types/Interface/api/informationRequest/Create.js.map +1 -0
- package/dist/cjs/types/Interface/api/informationRequest/Query.d.ts +11 -0
- package/dist/cjs/types/Interface/api/informationRequest/Query.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/informationRequest/Query.js +54 -0
- package/dist/cjs/types/Interface/api/informationRequest/Query.js.map +1 -0
- package/dist/cjs/types/Interface/api/informationRequest/Update.d.ts +12 -0
- package/dist/cjs/types/Interface/api/informationRequest/Update.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/informationRequest/Update.js +58 -0
- package/dist/cjs/types/Interface/api/informationRequest/Update.js.map +1 -0
- package/dist/cjs/types/Interface/api/payment/Params.d.ts +3 -1
- package/dist/cjs/types/Interface/api/payment/Params.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/payment/Params.js +17 -1
- package/dist/cjs/types/Interface/api/payment/Params.js.map +1 -1
- package/dist/cjs/types/Interface/api/{revenueMovement.d.ts → revenue/revenueMovement.d.ts} +1 -1
- package/dist/cjs/types/Interface/api/revenue/revenueMovement.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/{revenueMovement.js → revenue/revenueMovement.js} +2 -2
- package/dist/cjs/types/Interface/api/revenue/revenueMovement.js.map +1 -0
- package/dist/cjs/types/Interface/api/{revenueSnapshot.d.ts → revenue/revenueSnapshot.d.ts} +2 -1
- package/dist/cjs/types/Interface/api/revenue/revenueSnapshot.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/revenue/revenueSnapshot.js.map +1 -0
- package/dist/cjs/types/Interface/api/revenue/revenueSnapshotGenerate.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/{revenueSnapshotGenerate.js → revenue/revenueSnapshotGenerate.js} +3 -3
- package/dist/cjs/types/Interface/api/revenue/revenueSnapshotGenerate.js.map +1 -0
- package/dist/cjs/types/Interface/api/user/RegisterProspect.d.ts +4 -0
- package/dist/cjs/types/Interface/api/user/RegisterProspect.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/user/RegisterProspect.js.map +1 -1
- package/dist/cjs/types/Interface/api/user/RegisterWebhook.d.ts +6 -0
- package/dist/cjs/types/Interface/api/user/RegisterWebhook.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/user/RegisterWebhook.js +22 -0
- package/dist/cjs/types/Interface/api/user/RegisterWebhook.js.map +1 -1
- package/dist/cjs/types/Interface/models/IBalanceSheetModule.d.ts +4 -0
- package/dist/cjs/types/Interface/models/IBalanceSheetModule.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/IBalanceSheetModule.js.map +1 -1
- package/dist/cjs/types/Interface/models/IDocumentRequest.d.ts +7 -1
- package/dist/cjs/types/Interface/models/IDocumentRequest.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/IDocumentRequest.js.map +1 -1
- package/dist/cjs/types/Interface/models/IInformationRequest.d.ts +25 -0
- package/dist/cjs/types/Interface/models/IInformationRequest.d.ts.map +1 -0
- package/dist/cjs/types/Interface/models/IInformationRequest.js +3 -0
- package/dist/cjs/types/Interface/models/IInformationRequest.js.map +1 -0
- package/dist/cjs/types/Interface/models/ISociety.d.ts +1 -1
- package/dist/cjs/types/Interface/models/ISociety.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/ISociety.js.map +1 -1
- package/dist/cjs/types/index.d.ts +13 -6
- package/dist/cjs/types/index.d.ts.map +1 -1
- package/dist/cjs/types/index.js +13 -7
- package/dist/cjs/types/index.js.map +1 -1
- package/dist/cjs/utils/exercice.d.ts +8 -1
- package/dist/cjs/utils/exercice.d.ts.map +1 -1
- package/dist/cjs/utils/exercice.js +11 -1
- package/dist/cjs/utils/exercice.js.map +1 -1
- package/dist/cjs/utils/vat/3517/century25.js +53 -53
- package/dist/cjs/utils/vat/3517/century25.js.map +1 -1
- package/dist/mjs/api/resources/DocumentRequest.d.ts +2 -1
- package/dist/mjs/api/resources/DocumentRequest.d.ts.map +1 -1
- package/dist/mjs/api/resources/DocumentRequest.js +3 -0
- package/dist/mjs/api/resources/DocumentRequest.js.map +1 -1
- package/dist/mjs/api/resources/InformationRequest.d.ts +11 -0
- package/dist/mjs/api/resources/InformationRequest.d.ts.map +1 -0
- package/dist/mjs/api/resources/InformationRequest.js +30 -0
- package/dist/mjs/api/resources/InformationRequest.js.map +1 -0
- package/dist/mjs/api/resources.d.ts +2 -0
- package/dist/mjs/api/resources.d.ts.map +1 -1
- package/dist/mjs/api/resources.js +2 -0
- package/dist/mjs/api/resources.js.map +1 -1
- package/dist/mjs/types/Enum/BalanceSheet.d.ts.map +1 -1
- package/dist/mjs/types/Enum/BalanceSheet.js +6 -6
- package/dist/mjs/types/Enum/BalanceSheet.js.map +1 -1
- package/dist/mjs/types/Enum/BalanceSheetModule.d.ts +2 -0
- package/dist/mjs/types/Enum/BalanceSheetModule.d.ts.map +1 -1
- package/dist/mjs/types/Enum/BalanceSheetModule.js +22 -0
- package/dist/mjs/types/Enum/BalanceSheetModule.js.map +1 -1
- package/dist/mjs/types/Enum/Ged.d.ts +16 -2
- package/dist/mjs/types/Enum/Ged.d.ts.map +1 -1
- package/dist/mjs/types/Enum/Ged.js +131 -0
- package/dist/mjs/types/Enum/Ged.js.map +1 -1
- package/dist/mjs/types/Enum/InformationRequestState.d.ts +6 -0
- package/dist/mjs/types/Enum/InformationRequestState.d.ts.map +1 -0
- package/dist/mjs/types/Enum/InformationRequestState.js +7 -0
- package/dist/mjs/types/Enum/InformationRequestState.js.map +1 -0
- package/dist/mjs/types/Enum/InformationRequestType.d.ts +16 -0
- package/dist/mjs/types/Enum/InformationRequestType.d.ts.map +1 -0
- package/dist/mjs/types/Enum/InformationRequestType.js +43 -0
- package/dist/mjs/types/Enum/InformationRequestType.js.map +1 -0
- package/dist/mjs/types/Enum/RegistrationSource.d.ts +2 -1
- package/dist/mjs/types/Enum/RegistrationSource.d.ts.map +1 -1
- package/dist/mjs/types/Enum/RegistrationSource.js +1 -0
- package/dist/mjs/types/Enum/RegistrationSource.js.map +1 -1
- package/dist/mjs/types/Interface/api/cashAndExpense/Create.d.ts +1 -1
- package/dist/mjs/types/Interface/api/cashAndExpense/Create.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/cashAndExpense/Create.js +1 -1
- package/dist/mjs/types/Interface/api/cashAndExpense/Create.js.map +1 -1
- package/dist/mjs/types/Interface/api/config/ConfigType.d.ts +4 -0
- package/dist/mjs/types/Interface/api/config/ConfigType.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/config/ConfigType.js.map +1 -1
- package/dist/mjs/types/Interface/api/documentRequest/Create.d.ts +1 -0
- package/dist/mjs/types/Interface/api/documentRequest/Create.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/documentRequest/Create.js +10 -1
- package/dist/mjs/types/Interface/api/documentRequest/Create.js.map +1 -1
- package/dist/mjs/types/Interface/api/documentRequest/Query.d.ts +3 -0
- package/dist/mjs/types/Interface/api/documentRequest/Query.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/documentRequest/Query.js +15 -1
- package/dist/mjs/types/Interface/api/documentRequest/Query.js.map +1 -1
- package/dist/mjs/types/Interface/api/documentRequest/Update.d.ts +12 -0
- package/dist/mjs/types/Interface/api/documentRequest/Update.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/documentRequest/Update.js +66 -0
- package/dist/mjs/types/Interface/api/documentRequest/Update.js.map +1 -0
- package/dist/mjs/types/Interface/api/informationRequest/Create.d.ts +10 -0
- package/dist/mjs/types/Interface/api/informationRequest/Create.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/informationRequest/Create.js +50 -0
- package/dist/mjs/types/Interface/api/informationRequest/Create.js.map +1 -0
- package/dist/mjs/types/Interface/api/informationRequest/Query.d.ts +11 -0
- package/dist/mjs/types/Interface/api/informationRequest/Query.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/informationRequest/Query.js +56 -0
- package/dist/mjs/types/Interface/api/informationRequest/Query.js.map +1 -0
- package/dist/mjs/types/Interface/api/informationRequest/Update.d.ts +12 -0
- package/dist/mjs/types/Interface/api/informationRequest/Update.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/informationRequest/Update.js +60 -0
- package/dist/mjs/types/Interface/api/informationRequest/Update.js.map +1 -0
- package/dist/mjs/types/Interface/api/payment/Params.d.ts +3 -1
- package/dist/mjs/types/Interface/api/payment/Params.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/payment/Params.js +18 -2
- package/dist/mjs/types/Interface/api/payment/Params.js.map +1 -1
- package/dist/mjs/types/Interface/api/{revenueMovement.d.ts → revenue/revenueMovement.d.ts} +1 -1
- package/dist/mjs/types/Interface/api/revenue/revenueMovement.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/{revenueMovement.js → revenue/revenueMovement.js} +2 -2
- package/dist/mjs/types/Interface/api/revenue/revenueMovement.js.map +1 -0
- package/dist/mjs/types/Interface/api/{revenueSnapshot.d.ts → revenue/revenueSnapshot.d.ts} +2 -1
- package/dist/mjs/types/Interface/api/revenue/revenueSnapshot.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/revenue/revenueSnapshot.js.map +1 -0
- package/dist/mjs/types/Interface/api/revenue/revenueSnapshotGenerate.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/{revenueSnapshotGenerate.js → revenue/revenueSnapshotGenerate.js} +3 -3
- package/dist/mjs/types/Interface/api/revenue/revenueSnapshotGenerate.js.map +1 -0
- package/dist/mjs/types/Interface/api/user/RegisterProspect.d.ts +4 -0
- package/dist/mjs/types/Interface/api/user/RegisterProspect.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/user/RegisterProspect.js.map +1 -1
- package/dist/mjs/types/Interface/api/user/RegisterWebhook.d.ts +6 -0
- package/dist/mjs/types/Interface/api/user/RegisterWebhook.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/user/RegisterWebhook.js +26 -1
- package/dist/mjs/types/Interface/api/user/RegisterWebhook.js.map +1 -1
- package/dist/mjs/types/Interface/models/IBalanceSheetModule.d.ts +4 -0
- package/dist/mjs/types/Interface/models/IBalanceSheetModule.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/IBalanceSheetModule.js.map +1 -1
- package/dist/mjs/types/Interface/models/IDocumentRequest.d.ts +7 -1
- package/dist/mjs/types/Interface/models/IDocumentRequest.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/IDocumentRequest.js.map +1 -1
- package/dist/mjs/types/Interface/models/IInformationRequest.d.ts +25 -0
- package/dist/mjs/types/Interface/models/IInformationRequest.d.ts.map +1 -0
- package/dist/mjs/types/Interface/models/IInformationRequest.js +2 -0
- package/dist/mjs/types/Interface/models/IInformationRequest.js.map +1 -0
- package/dist/mjs/types/Interface/models/ISociety.d.ts +1 -1
- package/dist/mjs/types/Interface/models/ISociety.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/ISociety.js.map +1 -1
- package/dist/mjs/types/index.d.ts +13 -6
- package/dist/mjs/types/index.d.ts.map +1 -1
- package/dist/mjs/types/index.js +13 -7
- package/dist/mjs/types/index.js.map +1 -1
- package/dist/mjs/utils/exercice.d.ts +8 -1
- package/dist/mjs/utils/exercice.d.ts.map +1 -1
- package/dist/mjs/utils/exercice.js +10 -1
- package/dist/mjs/utils/exercice.js.map +1 -1
- package/dist/mjs/utils/vat/3517/century25.js +53 -53
- package/dist/mjs/utils/vat/3517/century25.js.map +1 -1
- package/package.json +17 -17
- package/ts/api/resources/DocumentRequest.ts +5 -1
- package/ts/api/resources/InformationRequest.ts +36 -0
- package/ts/api/resources.ts +2 -0
- package/ts/types/Enum/BalanceSheet.ts +11 -11
- package/ts/types/Enum/BalanceSheetModule.ts +24 -1
- package/ts/types/Enum/Ged.ts +132 -0
- package/ts/types/Enum/InformationRequestState.ts +5 -0
- package/ts/types/Enum/InformationRequestType.ts +51 -0
- package/ts/types/Enum/RegistrationSource.ts +1 -0
- package/ts/types/Interface/api/cashAndExpense/Create.ts +2 -2
- package/ts/types/Interface/api/config/ConfigType.ts +1 -0
- package/ts/types/Interface/api/documentRequest/Create.ts +8 -1
- package/ts/types/Interface/api/documentRequest/Query.ts +12 -1
- package/ts/types/Interface/api/documentRequest/Update.ts +43 -0
- package/ts/types/Interface/api/informationRequest/Create.ts +31 -0
- package/ts/types/Interface/api/informationRequest/Query.ts +36 -0
- package/ts/types/Interface/api/informationRequest/Update.ts +39 -0
- package/ts/types/Interface/api/payment/Params.ts +15 -3
- package/ts/types/Interface/api/{revenueMovement.ts → revenue/revenueMovement.ts} +2 -2
- package/ts/types/Interface/api/{revenueSnapshot.ts → revenue/revenueSnapshot.ts} +3 -1
- package/ts/types/Interface/api/{revenueSnapshotGenerate.ts → revenue/revenueSnapshotGenerate.ts} +3 -3
- package/ts/types/Interface/api/user/RegisterProspect.ts +4 -0
- package/ts/types/Interface/api/user/RegisterWebhook.ts +19 -1
- package/ts/types/Interface/models/IBalanceSheetModule.ts +7 -1
- package/ts/types/Interface/models/IDocumentRequest.ts +8 -2
- package/ts/types/Interface/models/IInformationRequest.ts +27 -0
- package/ts/types/Interface/models/ISociety.ts +1 -1
- package/ts/types/index.ts +13 -8
- package/ts/utils/exercice.ts +11 -1
- package/ts/utils/vat/3517/century25.ts +53 -53
- package/dist/cjs/types/Interface/api/revenueMovement.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/revenueMovement.js.map +0 -1
- package/dist/cjs/types/Interface/api/revenueSnapshot.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/revenueSnapshot.js.map +0 -1
- package/dist/cjs/types/Interface/api/revenueSnapshotGenerate.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/revenueSnapshotGenerate.js.map +0 -1
- package/dist/mjs/types/Interface/api/revenueMovement.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/revenueMovement.js.map +0 -1
- package/dist/mjs/types/Interface/api/revenueSnapshot.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/revenueSnapshot.js.map +0 -1
- package/dist/mjs/types/Interface/api/revenueSnapshotGenerate.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/revenueSnapshotGenerate.js.map +0 -1
- /package/dist/cjs/types/Interface/api/{revenueSnapshot.js → revenue/revenueSnapshot.js} +0 -0
- /package/dist/cjs/types/Interface/api/{revenueSnapshotGenerate.d.ts → revenue/revenueSnapshotGenerate.d.ts} +0 -0
- /package/dist/mjs/types/Interface/api/{revenueSnapshot.js → revenue/revenueSnapshot.js} +0 -0
- /package/dist/mjs/types/Interface/api/{revenueSnapshotGenerate.d.ts → revenue/revenueSnapshotGenerate.d.ts} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Query.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/documentRequest/Query.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Query.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/documentRequest/Query.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAE7C,qBAAa,oBAAoB;IAI/B,UAAU,CAAC,EAAE,MAAM,CAAC;IAKpB,cAAc,CAAC,EAAE,MAAM,CAAC;IAKxB,aAAa,CAAC,EAAE,MAAM,CAAC;IAKvB,QAAQ,CAAC,EAAE,QAAQ,EAAE,CAAC;CACvB"}
|
|
@@ -27,4 +27,16 @@ __decorate([
|
|
|
27
27
|
(0, class_validator_1.IsInt)(),
|
|
28
28
|
__metadata("design:type", Number)
|
|
29
29
|
], QueryDocumentRequest.prototype, "idBalanceSheet", void 0);
|
|
30
|
+
__decorate([
|
|
31
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
32
|
+
(0, class_validator_1.IsOptional)(),
|
|
33
|
+
(0, class_validator_1.IsInt)(),
|
|
34
|
+
__metadata("design:type", Number)
|
|
35
|
+
], QueryDocumentRequest.prototype, "idRequestedBy", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
38
|
+
(0, class_validator_1.IsOptional)(),
|
|
39
|
+
(0, class_validator_1.IsArray)(),
|
|
40
|
+
__metadata("design:type", Array)
|
|
41
|
+
], QueryDocumentRequest.prototype, "typeFile", void 0);
|
|
30
42
|
//# sourceMappingURL=Query.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Query.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/documentRequest/Query.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"Query.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/documentRequest/Query.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA6D;AAC7D,6CAAwD;AAGxD,MAAa,oBAAoB;CAoBhC;AApBD,oDAoBC;AAhBC;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;AAKxB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;2DACe;AAKvB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;;sDACY","sourcesContent":["import { IsArray, IsInt, IsOptional } from 'class-validator';\nimport { ApiPropertyOptional } from '../../../../utils';\nimport { TypeFile } from '../../../Enum/Ged';\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 @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idRequestedBy?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n typeFile?: TypeFile[];\n}\n"]}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { IDocumentRequest } from '../../models/IDocumentRequest';
|
|
2
|
+
import { TypeFile } from '../../../Enum/Ged';
|
|
3
|
+
export declare class UpdateDocumentRequest implements Partial<Omit<IDocumentRequest, 'id' | 'idRequestedBy' | 'notConcernedAt'>> {
|
|
4
|
+
idSociety?: number;
|
|
5
|
+
typeFile?: TypeFile;
|
|
6
|
+
idExercice?: number;
|
|
7
|
+
idBalanceSheet?: number;
|
|
8
|
+
comment?: string;
|
|
9
|
+
isNotConcerned?: boolean;
|
|
10
|
+
isMandatory?: boolean;
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=Update.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Update.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/documentRequest/Update.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACjE,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAG7C,qBAAa,qBAAsB,YAAW,OAAO,CAAC,IAAI,CAAC,gBAAgB,EAAE,IAAI,GAAG,eAAe,GAAG,gBAAgB,CAAC,CAAC;IAItH,SAAS,CAAC,EAAE,MAAM,CAAC;IAKnB,QAAQ,CAAC,EAAE,QAAQ,CAAC;IAKpB,UAAU,CAAC,EAAE,MAAM,CAAC;IAKpB,cAAc,CAAC,EAAE,MAAM,CAAC;IAIxB,OAAO,CAAC,EAAE,MAAM,CAAC;IAMjB,cAAc,CAAC,EAAE,OAAO,CAAC;IAMzB,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB"}
|
|
@@ -0,0 +1,63 @@
|
|
|
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.UpdateDocumentRequest = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const utils_1 = require("../../../../utils");
|
|
15
|
+
const Ged_1 = require("../../../Enum/Ged");
|
|
16
|
+
const boolean_transform_1 = require("../../../../utils/transforms/boolean.transform");
|
|
17
|
+
class UpdateDocumentRequest {
|
|
18
|
+
}
|
|
19
|
+
exports.UpdateDocumentRequest = UpdateDocumentRequest;
|
|
20
|
+
__decorate([
|
|
21
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
22
|
+
(0, class_validator_1.IsOptional)(),
|
|
23
|
+
(0, class_validator_1.IsInt)(),
|
|
24
|
+
__metadata("design:type", Number)
|
|
25
|
+
], UpdateDocumentRequest.prototype, "idSociety", void 0);
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
28
|
+
(0, class_validator_1.IsOptional)(),
|
|
29
|
+
(0, class_validator_1.IsEnum)(Ged_1.TypeFile),
|
|
30
|
+
__metadata("design:type", Number)
|
|
31
|
+
], UpdateDocumentRequest.prototype, "typeFile", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
34
|
+
(0, class_validator_1.IsOptional)(),
|
|
35
|
+
(0, class_validator_1.IsInt)(),
|
|
36
|
+
__metadata("design:type", Number)
|
|
37
|
+
], UpdateDocumentRequest.prototype, "idExercice", void 0);
|
|
38
|
+
__decorate([
|
|
39
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
40
|
+
(0, class_validator_1.IsOptional)(),
|
|
41
|
+
(0, class_validator_1.IsInt)(),
|
|
42
|
+
__metadata("design:type", Number)
|
|
43
|
+
], UpdateDocumentRequest.prototype, "idBalanceSheet", void 0);
|
|
44
|
+
__decorate([
|
|
45
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
46
|
+
(0, class_validator_1.IsOptional)(),
|
|
47
|
+
__metadata("design:type", String)
|
|
48
|
+
], UpdateDocumentRequest.prototype, "comment", void 0);
|
|
49
|
+
__decorate([
|
|
50
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
51
|
+
(0, class_validator_1.IsOptional)(),
|
|
52
|
+
(0, class_validator_1.IsBoolean)(),
|
|
53
|
+
(0, boolean_transform_1.ToBoolean)(),
|
|
54
|
+
__metadata("design:type", Boolean)
|
|
55
|
+
], UpdateDocumentRequest.prototype, "isNotConcerned", void 0);
|
|
56
|
+
__decorate([
|
|
57
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
58
|
+
(0, class_validator_1.IsOptional)(),
|
|
59
|
+
(0, class_validator_1.IsBoolean)(),
|
|
60
|
+
(0, boolean_transform_1.ToBoolean)(),
|
|
61
|
+
__metadata("design:type", Boolean)
|
|
62
|
+
], UpdateDocumentRequest.prototype, "isMandatory", void 0);
|
|
63
|
+
//# sourceMappingURL=Update.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Update.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/documentRequest/Update.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuE;AACvE,6CAAwD;AAExD,2CAA6C;AAC7C,sFAA2E;AAE3E,MAAa,qBAAqB;CAoCjC;AApCD,sDAoCC;AAhCC;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;wDACW;AAKnB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,cAAQ,CAAC;;uDACG;AAKpB;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;AAMjB;IAJC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;;6DACa;AAMzB;IAJC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;;0DACU","sourcesContent":["import { IsBoolean, IsEnum, IsInt, IsOptional } from 'class-validator';\nimport { ApiPropertyOptional } from '../../../../utils';\nimport { IDocumentRequest } from '../../models/IDocumentRequest';\nimport { TypeFile } from '../../../Enum/Ged';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class UpdateDocumentRequest implements Partial<Omit<IDocumentRequest, 'id' | 'idRequestedBy' | 'notConcernedAt'>> {\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idSociety?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\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 @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isNotConcerned?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isMandatory?: boolean;\n}"]}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { IInformationRequest } from '../../models/IInformationRequest';
|
|
2
|
+
import { InformationRequestType } from '../../../Enum/InformationRequestType';
|
|
3
|
+
export declare class CreateInformationRequest implements Omit<IInformationRequest, 'id' | 'idRequestedBy' | 'state'> {
|
|
4
|
+
idSociety: number;
|
|
5
|
+
idExercice?: number | null;
|
|
6
|
+
idBalanceSheet?: number | null;
|
|
7
|
+
type: InformationRequestType;
|
|
8
|
+
isMandatory?: boolean;
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=Create.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Create.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/informationRequest/Create.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AACvE,OAAO,EAAE,sBAAsB,EAAE,MAAM,sCAAsC,CAAC;AAG9E,qBAAa,wBAAyB,YAAW,IAAI,CAAC,mBAAmB,EAAE,IAAI,GAAG,eAAe,GAAG,OAAO,CAAC;IAG1G,SAAS,EAAE,MAAM,CAAC;IAKlB,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAK3B,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAI/B,IAAI,EAAE,sBAAsB,CAAC;IAM7B,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB"}
|
|
@@ -0,0 +1,49 @@
|
|
|
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.CreateInformationRequest = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const utils_1 = require("../../../../utils");
|
|
15
|
+
const InformationRequestType_1 = require("../../../Enum/InformationRequestType");
|
|
16
|
+
const boolean_transform_1 = require("../../../../utils/transforms/boolean.transform");
|
|
17
|
+
class CreateInformationRequest {
|
|
18
|
+
}
|
|
19
|
+
exports.CreateInformationRequest = CreateInformationRequest;
|
|
20
|
+
__decorate([
|
|
21
|
+
(0, utils_1.ApiProperty)(),
|
|
22
|
+
(0, class_validator_1.IsInt)(),
|
|
23
|
+
__metadata("design:type", Number)
|
|
24
|
+
], CreateInformationRequest.prototype, "idSociety", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
27
|
+
(0, class_validator_1.IsOptional)(),
|
|
28
|
+
(0, class_validator_1.IsInt)(),
|
|
29
|
+
__metadata("design:type", Object)
|
|
30
|
+
], CreateInformationRequest.prototype, "idExercice", void 0);
|
|
31
|
+
__decorate([
|
|
32
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
33
|
+
(0, class_validator_1.IsOptional)(),
|
|
34
|
+
(0, class_validator_1.IsInt)(),
|
|
35
|
+
__metadata("design:type", Object)
|
|
36
|
+
], CreateInformationRequest.prototype, "idBalanceSheet", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, utils_1.ApiProperty)(),
|
|
39
|
+
(0, class_validator_1.IsEnum)(InformationRequestType_1.InformationRequestType),
|
|
40
|
+
__metadata("design:type", Number)
|
|
41
|
+
], CreateInformationRequest.prototype, "type", void 0);
|
|
42
|
+
__decorate([
|
|
43
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
44
|
+
(0, class_validator_1.IsOptional)(),
|
|
45
|
+
(0, class_validator_1.IsBoolean)(),
|
|
46
|
+
(0, boolean_transform_1.ToBoolean)(),
|
|
47
|
+
__metadata("design:type", Boolean)
|
|
48
|
+
], CreateInformationRequest.prototype, "isMandatory", void 0);
|
|
49
|
+
//# sourceMappingURL=Create.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Create.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/informationRequest/Create.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuE;AACvE,6CAAqE;AAErE,iFAA8E;AAC9E,sFAA2E;AAE3E,MAAa,wBAAwB;CAwBpC;AAxBD,4DAwBC;AArBC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,uBAAK,GAAE;;2DACU;AAKlB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;4DACmB;AAK3B;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;gEACuB;AAI/B;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,wBAAM,EAAC,+CAAsB,CAAC;;sDACF;AAM7B;IAJC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;;6DACU","sourcesContent":["import { IsBoolean, IsEnum, IsInt, IsOptional } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { IInformationRequest } from '../../models/IInformationRequest';\nimport { InformationRequestType } from '../../../Enum/InformationRequestType';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class CreateInformationRequest implements Omit<IInformationRequest, 'id' | 'idRequestedBy' | 'state'> {\n @ApiProperty()\n @IsInt()\n idSociety: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idExercice?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idBalanceSheet?: number | null;\n\n @ApiProperty()\n @IsEnum(InformationRequestType)\n type: InformationRequestType;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isMandatory?: boolean;\n}\n"]}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { InformationRequestType } from '../../../Enum/InformationRequestType';
|
|
2
|
+
import { InformationRequestState } from '../../../Enum/InformationRequestState';
|
|
3
|
+
export declare class QueryInformationRequest {
|
|
4
|
+
idSociety?: number;
|
|
5
|
+
idExercice?: number;
|
|
6
|
+
idBalanceSheet?: number;
|
|
7
|
+
idRequestedBy?: number;
|
|
8
|
+
type?: InformationRequestType[];
|
|
9
|
+
state?: InformationRequestState[];
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=Query.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Query.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/informationRequest/Query.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,sBAAsB,EAAE,MAAM,sCAAsC,CAAC;AAC9E,OAAO,EAAE,uBAAuB,EAAE,MAAM,uCAAuC,CAAC;AAEhF,qBAAa,uBAAuB;IAIlC,SAAS,CAAC,EAAE,MAAM,CAAC;IAKnB,UAAU,CAAC,EAAE,MAAM,CAAC;IAKpB,cAAc,CAAC,EAAE,MAAM,CAAC;IAKxB,aAAa,CAAC,EAAE,MAAM,CAAC;IAKvB,IAAI,CAAC,EAAE,sBAAsB,EAAE,CAAC;IAKhC,KAAK,CAAC,EAAE,uBAAuB,EAAE,CAAC;CACnC"}
|
|
@@ -0,0 +1,54 @@
|
|
|
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.QueryInformationRequest = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const utils_1 = require("../../../../utils");
|
|
15
|
+
class QueryInformationRequest {
|
|
16
|
+
}
|
|
17
|
+
exports.QueryInformationRequest = QueryInformationRequest;
|
|
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
|
+
], QueryInformationRequest.prototype, "idSociety", 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
|
+
], QueryInformationRequest.prototype, "idExercice", void 0);
|
|
30
|
+
__decorate([
|
|
31
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
32
|
+
(0, class_validator_1.IsOptional)(),
|
|
33
|
+
(0, class_validator_1.IsInt)(),
|
|
34
|
+
__metadata("design:type", Number)
|
|
35
|
+
], QueryInformationRequest.prototype, "idBalanceSheet", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
38
|
+
(0, class_validator_1.IsOptional)(),
|
|
39
|
+
(0, class_validator_1.IsInt)(),
|
|
40
|
+
__metadata("design:type", Number)
|
|
41
|
+
], QueryInformationRequest.prototype, "idRequestedBy", void 0);
|
|
42
|
+
__decorate([
|
|
43
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
44
|
+
(0, class_validator_1.IsOptional)(),
|
|
45
|
+
(0, class_validator_1.IsArray)(),
|
|
46
|
+
__metadata("design:type", Array)
|
|
47
|
+
], QueryInformationRequest.prototype, "type", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
50
|
+
(0, class_validator_1.IsOptional)(),
|
|
51
|
+
(0, class_validator_1.IsArray)(),
|
|
52
|
+
__metadata("design:type", Array)
|
|
53
|
+
], QueryInformationRequest.prototype, "state", void 0);
|
|
54
|
+
//# sourceMappingURL=Query.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Query.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/informationRequest/Query.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA6D;AAC7D,6CAAwD;AAIxD,MAAa,uBAAuB;CA8BnC;AA9BD,0DA8BC;AA1BC;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;0DACW;AAKnB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;2DACY;AAKpB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;+DACgB;AAKxB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;8DACe;AAKvB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;;qDACsB;AAKhC;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;;sDACwB","sourcesContent":["import { IsArray, IsInt, IsOptional } from 'class-validator';\nimport { ApiPropertyOptional } from '../../../../utils';\nimport { InformationRequestType } from '../../../Enum/InformationRequestType';\nimport { InformationRequestState } from '../../../Enum/InformationRequestState';\n\nexport class QueryInformationRequest {\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idSociety?: number;\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 @IsInt()\n idRequestedBy?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n type?: InformationRequestType[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n state?: InformationRequestState[];\n}\n"]}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { IInformationRequest } from '../../models/IInformationRequest';
|
|
2
|
+
import { InformationRequestType } from '../../../Enum/InformationRequestType';
|
|
3
|
+
import { InformationRequestState } from '../../../Enum/InformationRequestState';
|
|
4
|
+
export declare class UpdateInformationRequest implements Partial<Omit<IInformationRequest, 'id'>> {
|
|
5
|
+
idSociety?: number;
|
|
6
|
+
idExercice?: number;
|
|
7
|
+
idRequestedBy?: number;
|
|
8
|
+
type?: InformationRequestType;
|
|
9
|
+
state?: InformationRequestState;
|
|
10
|
+
isMandatory?: boolean;
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=Update.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Update.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/informationRequest/Update.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AACvE,OAAO,EAAE,sBAAsB,EAAE,MAAM,sCAAsC,CAAC;AAC9E,OAAO,EAAE,uBAAuB,EAAE,MAAM,uCAAuC,CAAC;AAGhF,qBAAa,wBAAyB,YAAW,OAAO,CAAC,IAAI,CAAC,mBAAmB,EAAE,IAAI,CAAC,CAAC;IAIvF,SAAS,CAAC,EAAE,MAAM,CAAC;IAKnB,UAAU,CAAC,EAAE,MAAM,CAAC;IAKpB,aAAa,CAAC,EAAE,MAAM,CAAC;IAKvB,IAAI,CAAC,EAAE,sBAAsB,CAAC;IAK9B,KAAK,CAAC,EAAE,uBAAuB,CAAC;IAMhC,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB"}
|
|
@@ -0,0 +1,58 @@
|
|
|
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.UpdateInformationRequest = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const utils_1 = require("../../../../utils");
|
|
15
|
+
const InformationRequestType_1 = require("../../../Enum/InformationRequestType");
|
|
16
|
+
const InformationRequestState_1 = require("../../../Enum/InformationRequestState");
|
|
17
|
+
const boolean_transform_1 = require("../../../../utils/transforms/boolean.transform");
|
|
18
|
+
class UpdateInformationRequest {
|
|
19
|
+
}
|
|
20
|
+
exports.UpdateInformationRequest = UpdateInformationRequest;
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
23
|
+
(0, class_validator_1.IsOptional)(),
|
|
24
|
+
(0, class_validator_1.IsInt)(),
|
|
25
|
+
__metadata("design:type", Number)
|
|
26
|
+
], UpdateInformationRequest.prototype, "idSociety", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
29
|
+
(0, class_validator_1.IsOptional)(),
|
|
30
|
+
(0, class_validator_1.IsInt)(),
|
|
31
|
+
__metadata("design:type", Number)
|
|
32
|
+
], UpdateInformationRequest.prototype, "idExercice", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
35
|
+
(0, class_validator_1.IsOptional)(),
|
|
36
|
+
(0, class_validator_1.IsInt)(),
|
|
37
|
+
__metadata("design:type", Number)
|
|
38
|
+
], UpdateInformationRequest.prototype, "idRequestedBy", void 0);
|
|
39
|
+
__decorate([
|
|
40
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
41
|
+
(0, class_validator_1.IsOptional)(),
|
|
42
|
+
(0, class_validator_1.IsEnum)(InformationRequestType_1.InformationRequestType),
|
|
43
|
+
__metadata("design:type", Number)
|
|
44
|
+
], UpdateInformationRequest.prototype, "type", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
47
|
+
(0, class_validator_1.IsOptional)(),
|
|
48
|
+
(0, class_validator_1.IsEnum)(InformationRequestState_1.InformationRequestState),
|
|
49
|
+
__metadata("design:type", Number)
|
|
50
|
+
], UpdateInformationRequest.prototype, "state", void 0);
|
|
51
|
+
__decorate([
|
|
52
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
53
|
+
(0, class_validator_1.IsOptional)(),
|
|
54
|
+
(0, class_validator_1.IsBoolean)(),
|
|
55
|
+
(0, boolean_transform_1.ToBoolean)(),
|
|
56
|
+
__metadata("design:type", Boolean)
|
|
57
|
+
], UpdateInformationRequest.prototype, "isMandatory", void 0);
|
|
58
|
+
//# sourceMappingURL=Update.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Update.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/informationRequest/Update.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuE;AACvE,6CAAwD;AAExD,iFAA8E;AAC9E,mFAAgF;AAChF,sFAA2E;AAE3E,MAAa,wBAAwB;CA+BpC;AA/BD,4DA+BC;AA3BC;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;2DACW;AAKnB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;4DACY;AAKpB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;+DACe;AAKvB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,+CAAsB,CAAC;;sDACD;AAK9B;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,iDAAuB,CAAC;;uDACA;AAMhC;IAJC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;;6DACU","sourcesContent":["import { IsBoolean, IsEnum, IsInt, IsOptional } from 'class-validator';\nimport { ApiPropertyOptional } from '../../../../utils';\nimport { IInformationRequest } from '../../models/IInformationRequest';\nimport { InformationRequestType } from '../../../Enum/InformationRequestType';\nimport { InformationRequestState } from '../../../Enum/InformationRequestState';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class UpdateInformationRequest implements Partial<Omit<IInformationRequest, 'id'>> {\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idSociety?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idExercice?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idRequestedBy?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsEnum(InformationRequestType)\n type?: InformationRequestType;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsEnum(InformationRequestState)\n state?: InformationRequestState;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isMandatory?: boolean;\n}\n"]}
|
|
@@ -2,9 +2,11 @@ export declare class CreatePaymentsAutoBilling {
|
|
|
2
2
|
idSociety?: number;
|
|
3
3
|
}
|
|
4
4
|
export declare class CreatePaymentsRebilling {
|
|
5
|
-
idSociety
|
|
5
|
+
idSociety?: number;
|
|
6
6
|
endDate?: string;
|
|
7
7
|
nbExercicesToGenerate?: number;
|
|
8
|
+
limit?: number;
|
|
9
|
+
debug?: boolean;
|
|
8
10
|
}
|
|
9
11
|
export declare class UpdateCollectable {
|
|
10
12
|
listIdPayment: number[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Params.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/payment/Params.ts"],"names":[],"mappings":"AAIA,qBAAa,yBAAyB;IAIpC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AACD,qBAAa,uBAAuB;
|
|
1
|
+
{"version":3,"file":"Params.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/payment/Params.ts"],"names":[],"mappings":"AAIA,qBAAa,yBAAyB;IAIpC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AACD,qBAAa,uBAAuB;IAIlC,SAAS,CAAC,EAAE,MAAM,CAAC;IAQnB,OAAO,CAAC,EAAE,MAAM,CAAC;IAKjB,qBAAqB,CAAC,EAAE,MAAM,CAAK;IAKnC,KAAK,CAAC,EAAE,MAAM,CAAM;IAMpB,KAAK,CAAC,EAAE,OAAO,CAAS;CACzB;AAED,qBAAa,iBAAiB;IAG5B,aAAa,EAAE,MAAM,EAAE,CAAC;IAMxB,aAAa,EAAE,OAAO,CAAC;CACxB;AAED,qBAAa,aAAa;IAIxB,MAAM,CAAC,EAAE,MAAM,CAAC;IAKhB,WAAW,CAAC,EAAE,MAAM,CAAC;IAKrB,UAAU,CAAC,EAAE,MAAM,CAAC;IAKpB,eAAe,CAAC,EAAE,MAAM,CAAC;IAKzB,YAAY,CAAC,EAAE,MAAM,CAAC;IAMtB,OAAO,CAAC,EAAE,OAAO,CAAC;IAMlB,MAAM,CAAC,EAAE,OAAO,CAAC;IAMjB,UAAU,CAAC,EAAE,OAAO,CAAC;IAMrB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAM3B,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAM5B,eAAe,CAAC,EAAE,OAAO,CAAC;IAK1B,OAAO,CAAC,EAAE,MAAM,CAAC;IAKjB,aAAa,CAAC,EAAE,MAAM,CAAC;IAKvB,WAAW,CAAC,EAAE,IAAI,CAAC;CACpB"}
|
|
@@ -25,11 +25,14 @@ __decorate([
|
|
|
25
25
|
class CreatePaymentsRebilling {
|
|
26
26
|
constructor() {
|
|
27
27
|
this.nbExercicesToGenerate = 1;
|
|
28
|
+
this.limit = 10;
|
|
29
|
+
this.debug = false;
|
|
28
30
|
}
|
|
29
31
|
}
|
|
30
32
|
exports.CreatePaymentsRebilling = CreatePaymentsRebilling;
|
|
31
33
|
__decorate([
|
|
32
|
-
(0, utils_1.
|
|
34
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
35
|
+
(0, class_validator_1.IsOptional)(),
|
|
33
36
|
(0, class_validator_1.IsInt)(),
|
|
34
37
|
__metadata("design:type", Number)
|
|
35
38
|
], CreatePaymentsRebilling.prototype, "idSociety", void 0);
|
|
@@ -48,6 +51,19 @@ __decorate([
|
|
|
48
51
|
(0, class_validator_1.IsInt)(),
|
|
49
52
|
__metadata("design:type", Number)
|
|
50
53
|
], CreatePaymentsRebilling.prototype, "nbExercicesToGenerate", void 0);
|
|
54
|
+
__decorate([
|
|
55
|
+
(0, utils_1.ApiProperty)({ default: 10 }),
|
|
56
|
+
(0, class_validator_1.IsInt)(),
|
|
57
|
+
(0, class_validator_1.Min)(1),
|
|
58
|
+
__metadata("design:type", Number)
|
|
59
|
+
], CreatePaymentsRebilling.prototype, "limit", void 0);
|
|
60
|
+
__decorate([
|
|
61
|
+
(0, utils_1.ApiPropertyOptional)({ default: false }),
|
|
62
|
+
(0, class_validator_1.IsOptional)(),
|
|
63
|
+
(0, class_validator_1.IsBoolean)(),
|
|
64
|
+
(0, boolean_transform_1.ToBoolean)(),
|
|
65
|
+
__metadata("design:type", Boolean)
|
|
66
|
+
], CreatePaymentsRebilling.prototype, "debug", void 0);
|
|
51
67
|
class UpdateCollectable {
|
|
52
68
|
}
|
|
53
69
|
exports.UpdateCollectable = UpdateCollectable;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Params.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/payment/Params.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"Params.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/payment/Params.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAyG;AACzG,6CAAqE;AACrE,sFAA2E;AAE3E,MAAa,yBAAyB;CAKrC;AALD,8DAKC;AADC;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;4DACW;AAErB,MAAa,uBAAuB;IAApC;QAiBE,0BAAqB,GAAY,CAAC,CAAC;QAKnC,UAAK,GAAY,EAAE,CAAC;QAMpB,UAAK,GAAa,KAAK,CAAC;IAC1B,CAAC;CAAA;AA7BD,0DA6BC;AAzBC;IA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BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;sDACiB;AAKzB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;mDACc;AAMtB;IAJC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,6BAAS,GAAE;IACX,IAAA,2BAAS,GAAE;;8CACM;AAMlB;IAJC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,6BAAS,GAAE;IACX,IAAA,2BAAS,GAAE;;6CACK;AAMjB;IAJC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,6BAAS,GAAE;IACX,IAAA,2BAAS,GAAE;;iDACS;AAMrB;IAJC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,6BAAS,GAAE;IACX,IAAA,2BAAS,GAAE;;uDACe;AAM3B;IAJC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,6BAAS,GAAE;IACX,IAAA,2BAAS,GAAE;;wDACgB;AAM5B;IAJC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,6BAAS,GAAE;IACX,IAAA,2BAAS,GAAE;;sDACc;AAK1B;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;8CACM;AAKjB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;oDACY;AAKvB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;8BACK,IAAI;kDAAC","sourcesContent":["import { IsBoolean, IsDate, IsInt, IsNumber, IsOptional, IsString, Matches, Min } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class CreatePaymentsAutoBilling {\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idSociety?: number;\n}\nexport class CreatePaymentsRebilling {\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idSociety?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n @Matches(/^\\d{4}-(0[1-9]|1[0-2])$/, {\n message: 'endDate doit être au format YYYY-MM',\n })\n endDate?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n nbExercicesToGenerate?: number = 1;\n\n @ApiProperty({ default: 10 })\n @IsInt()\n @Min(1)\n limit?: number = 10;\n\n @ApiPropertyOptional({ default: false })\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n debug?: boolean = false;\n}\n\nexport class UpdateCollectable {\n @ApiProperty()\n @IsInt({ each: true })\n listIdPayment: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isCollectable: boolean;\n}\n\nexport class UpdatePayment {\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n amount?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n amountPayed?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idExercice?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idPaymentMethod?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idPrestation?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @ToBoolean()\n @IsBoolean()\n isAsset?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @ToBoolean()\n @IsBoolean()\n isFree?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @ToBoolean()\n @IsBoolean()\n isOverpaid?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @ToBoolean()\n @IsBoolean()\n isHiddenCustomer?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @ToBoolean()\n @IsBoolean()\n noInternalInvoice?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @ToBoolean()\n @IsBoolean()\n isDebtSpreading?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n comment?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n internComment?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n datePayment?: Date;\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"revenueMovement.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/revenue/revenueMovement.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAG5D;;GAEG;AACH,qBAAa,6BAA6B;IAGxC,IAAI,EAAE,mBAAmB,CAAC;IAI1B,SAAS,EAAE,MAAM,CAAC;IAKlB,UAAU,CAAC,EAAE,MAAM,CAAC;IAKpB,YAAY,CAAC,EAAE,MAAM,CAAC;IAKtB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAK3B,eAAe,CAAC,EAAE,MAAM,CAAC;IAIzB,MAAM,EAAE,MAAM,CAAC;IAIf,GAAG,EAAE,MAAM,CAAC;IAIZ,GAAG,EAAE,MAAM,CAAC;IAIZ,YAAY,EAAE,IAAI,CAAC;IAKnB,WAAW,CAAC,EAAE,MAAM,CAAC;IAKrB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CAChC;AAED;;GAEG;AACH,qBAAa,6BAA6B;IAIxC,IAAI,CAAC,EAAE,mBAAmB,CAAC;IAK3B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAK3B,eAAe,CAAC,EAAE,MAAM,CAAC;IAKzB,MAAM,CAAC,EAAE,MAAM,CAAC;IAKhB,GAAG,CAAC,EAAE,MAAM,CAAC;IAKb,GAAG,CAAC,EAAE,MAAM,CAAC;I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;IAClB,UAAU,EAAE,MAAM,EAAE,CAAC;IACrB,iBAAiB,EAAE,IAAI,EAAE,CAAC;IAC1B,eAAe,EAAE,IAAI,EAAE,CAAC;IACxB,gBAAgB,EAAE;QAChB,QAAQ,EAAE,MAAM,CAAC;QACjB,MAAM,EAAE,MAAM,CAAC;QACf,YAAY,EAAE,MAAM,CAAC;QACrB,UAAU,EAAE,MAAM,CAAC;QACnB,mBAAmB,EAAE,MAAM,CAAC;KAC7B,CAAC;IACF,oBAAoB,EAAE,MAAM,CAAC;IAC7B,eAAe,EAAE,MAAM,CAAC;IACxB,OAAO,EAAE;QACP,IAAI,EAAE,MAAM,CAAC;QACb,YAAY,CAAC,EAAE,MAAM,CAAC;QACtB,cAAc,CAAC,EAAE,MAAM,CAAC;QACxB,IAAI,EAAE,IAAI,CAAC;QACX,MAAM,EAAE,MAAM,CAAC;QACf,GAAG,EAAE,MAAM,CAAC;QACZ,GAAG,EAAE,MAAM,CAAC;KACb,EAAE,CAAC;CACL"}
|
|
@@ -11,8 +11,8 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.IManageRetroactivityRequest = exports.IGenerateAllSnapshotsRequest = exports.IGenerateSnapshotRequest = exports.IGetRevenueMovementsRequest = exports.IUpdateRevenueMovementRequest = exports.ICreateRevenueMovementRequest = void 0;
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
|
-
const Revenue_1 = require("
|
|
15
|
-
const utils_1 = require("
|
|
14
|
+
const Revenue_1 = require("../../../Enum/Revenue");
|
|
15
|
+
const utils_1 = require("../../../../utils");
|
|
16
16
|
/**
|
|
17
17
|
* DTO pour créer un mouvement de revenu
|
|
18
18
|
*/
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"revenueMovement.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/revenue/revenueMovement.ts"],"names":[],"mappings":";;;;;;;;;;;;AAA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AK,GAAE;;+DACY;AAKpB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;8BACF,IAAI;yDAAC","sourcesContent":["import { IsDate, IsInt, IsOptional, IsEnum, IsNumber, IsString, IsObject, IsArray } from 'class-validator';\nimport { RevenueMovementType } from '../../../Enum/Revenue';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\n\n/**\n * DTO pour créer un mouvement de revenu\n */\nexport class ICreateRevenueMovementRequest {\n @ApiProperty()\n @IsEnum(RevenueMovementType)\n type: RevenueMovementType;\n\n @ApiProperty()\n @IsInt()\n idSociety: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idExercice?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idPrestation?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idTerminationList?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idChurnMovement?: number;\n\n @ApiProperty()\n @IsInt()\n amount: number;\n\n @ApiProperty()\n @IsInt()\n mrr: number;\n\n @ApiProperty()\n @IsInt()\n arr: number;\n\n @ApiProperty()\n @IsDate()\n movementDate: Date;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n description?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsObject()\n metadata?: Record<string, any>;\n}\n\n/**\n * DTO pour mettre à jour un mouvement de revenu\n */\nexport class IUpdateRevenueMovementRequest {\n @ApiPropertyOptional()\n @IsOptional()\n @IsEnum(RevenueMovementType)\n type?: RevenueMovementType;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idTerminationList?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idChurnMovement?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n amount?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n mrr?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n arr?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n movementDate?: Date | string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n description?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsObject()\n metadata?: Record<string, any>;\n}\n\n/**\n * Filtres pour récupérer les mouvements de revenu\n */\nexport class IGetRevenueMovementsRequest {\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idSociety?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idExercice?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idPrestation?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idTerminationList?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idChurnMovement?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n @IsEnum(RevenueMovementType, { each: true })\n type?: RevenueMovementType[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n startDate?: Date | string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n endDate?: Date | string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n page?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n limit?: number;\n}\n\n/**\n * Réponse paginée pour les mouvements de revenu\n */\nexport interface IGetRevenueMovementsResponse {\n movements: any[]; // IRevenueMovement[]\n total: number;\n page: number;\n limit: number;\n totalPages: number;\n}\n\n/**\n * DTO pour générer un snapshot de revenu\n */\nexport class IGenerateSnapshotRequest {\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n date?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idSociety?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idExercice?: number;\n}\n\n/**\n * DTO pour générer tous les snapshots de revenu\n */\nexport class IGenerateAllSnapshotsRequest {\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n date?: string;\n}\n\n/**\n * DTO pour gérer la rétroactivité des mouvements de revenu\n */\nexport class IManageRetroactivityRequest {\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idSociety: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idExercice?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n date?: Date;\n}\n\n/**\n * Réponse pour la gestion de la rétroactivité\n */\nexport interface IManageRetroactivityResponse {\n idSociety: number;\n idExercice: number[];\n exerciceStartDate: Date[];\n exerciceEndDate: Date[];\n movementsCreated: {\n bookings: number;\n churns: number;\n recognitions: number;\n provisions: number;\n mothballingBookings: number;\n };\n prestationsProcessed: number;\n monthsProcessed: number;\n details: {\n type: string;\n idPrestation?: number;\n prestationName?: string;\n date: Date;\n amount: number;\n mrr: number;\n arr: number;\n }[];\n}\n"]}
|
|
@@ -49,9 +49,10 @@ export interface IGetArrSummaryResponse {
|
|
|
49
49
|
timeline: Array<{
|
|
50
50
|
date: Date;
|
|
51
51
|
arr: number;
|
|
52
|
-
mrr: number;
|
|
53
52
|
bookings: number;
|
|
54
53
|
churn: number;
|
|
54
|
+
recognition: number;
|
|
55
|
+
provision: number;
|
|
55
56
|
}>;
|
|
56
57
|
}
|
|
57
58
|
//# sourceMappingURL=revenueSnapshot.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"revenueSnapshot.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/revenue/revenueSnapshot.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,2BAA2B;IAC1C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,IAAI,GAAG,MAAM,CAAC;IAC1B,OAAO,CAAC,EAAE,IAAI,GAAG,MAAM,CAAC;IACxB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED;;GAEG;AACH,MAAM,WAAW,4BAA4B;IAC3C,SAAS,EAAE,GAAG,EAAE,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;CACpB;AAED;;GAEG;AACH,MAAM,WAAW,0BAA0B;IACzC,QAAQ,EAAE,GAAG,CAAC;CACf;AAED;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE;QACN,SAAS,EAAE,IAAI,CAAC;QAChB,OAAO,EAAE,IAAI,CAAC;KACf,CAAC;IACF,OAAO,EAAE;QACP,UAAU,EAAE,MAAM,CAAC;QACnB,UAAU,EAAE,MAAM,CAAC;QACnB,aAAa,EAAE,MAAM,CAAC;QACtB,UAAU,EAAE,MAAM,CAAC;QACnB,eAAe,EAAE,MAAM,CAAC;QACxB,iBAAiB,EAAE,MAAM,CAAC;QAC1B,eAAe,EAAE,MAAM,CAAC;QACxB,SAAS,EAAE,MAAM,CAAC;QAClB,aAAa,EAAE,MAAM,CAAC;KACvB,CAAC;IACF,QAAQ,EAAE,KAAK,CAAC;QACd,IAAI,EAAE,IAAI,CAAC;QACX,GAAG,EAAE,MAAM,CAAC;QAEZ,QAAQ,EAAE,MAAM,CAAC;QACjB,KAAK,EAAE,MAAM,CAAC;QACd,WAAW,EAAE,MAAM,CAAC;QACpB,SAAS,EAAE,MAAM,CAAC;KACnB,CAAC,CAAC;CACJ"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"revenueSnapshot.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/revenue/revenueSnapshot.ts"],"names":[],"mappings":"","sourcesContent":["/**\n * Filtres pour récupérer les snapshots de revenu\n */\nexport interface IGetRevenueSnapshotsRequest {\n idSociety?: number;\n idExercice?: number;\n startDate?: Date | string;\n endDate?: Date | string;\n page?: number;\n limit?: number;\n}\n\n/**\n * Réponse paginée pour les snapshots de revenu\n */\nexport interface IGetRevenueSnapshotsResponse {\n snapshots: any[]; // IRevenueSnapshot[]\n total: number;\n page: number;\n limit: number;\n totalPages: number;\n}\n\n/**\n * Réponse pour obtenir le dernier snapshot d'une société\n */\nexport interface IGetLatestSnapshotResponse {\n snapshot: any; // IRevenueSnapshot\n}\n\n/**\n * Réponse pour obtenir le tableau récapitulatif ARR\n */\nexport interface IGetArrSummaryResponse {\n idSociety?: number;\n idExercice?: number;\n period: {\n startDate: Date;\n endDate: Date;\n };\n summary: {\n currentArr: number;\n currentMrr: number;\n totalBookings: number;\n totalChurn: number;\n totalProvisions: number;\n totalRecognitions: number;\n activeCustomers: number;\n churnRate: number;\n mrrGrowthRate: number;\n };\n timeline: Array<{\n date: Date;\n arr: number;\n // mrr: number;\n bookings: number;\n churn: number;\n recognition: number;\n provision: number;\n }>;\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"revenueSnapshotGenerate.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/revenue/revenueSnapshotGenerate.ts"],"names":[],"mappings":"AAGA,qBAAa,gBAAgB;IAQ3B,IAAI,CAAC,EAAE,MAAM,CAAC;IASd,SAAS,CAAC,EAAE,MAAM,CAAC;IASnB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,qBAAa,oBAAoB;IAQ/B,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,qBAAa,mBAAmB;IAgB9B,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB"}
|
|
@@ -10,7 +10,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.ManageRetroactivity = exports.GenerateAllSnapshots = exports.GenerateSnapshot = void 0;
|
|
13
|
-
const utils_1 = require("
|
|
13
|
+
const utils_1 = require("../../../../utils");
|
|
14
14
|
const class_validator_1 = require("class-validator");
|
|
15
15
|
class GenerateSnapshot {
|
|
16
16
|
}
|
|
@@ -38,7 +38,7 @@ __decorate([
|
|
|
38
38
|
__decorate([
|
|
39
39
|
(0, utils_1.ApiProperty)({
|
|
40
40
|
required: false,
|
|
41
|
-
description:
|
|
41
|
+
description: "ID de l'exercice",
|
|
42
42
|
example: 123456,
|
|
43
43
|
}),
|
|
44
44
|
(0, class_validator_1.IsOptional)(),
|
|
@@ -64,7 +64,7 @@ exports.ManageRetroactivity = ManageRetroactivity;
|
|
|
64
64
|
__decorate([
|
|
65
65
|
(0, utils_1.ApiPropertyOptional)({
|
|
66
66
|
required: false,
|
|
67
|
-
description:
|
|
67
|
+
description: "ID de l'exercice (si non fourni, utilise l'exercice courant)",
|
|
68
68
|
example: 123456,
|
|
69
69
|
}),
|
|
70
70
|
(0, class_validator_1.IsOptional)(),
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"revenueSnapshotGenerate.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/revenue/revenueSnapshotGenerate.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAqE;AACrE,qDAAwE;AAExE,MAAa,gBAAgB;CA2B5B;AA3BD,4CA2BC;AAnBC;IAPC,IAAA,mBAAW,EAAC;QACX,QAAQ,EAAE,KAAK;QACf,WAAW,EAAE,6CAA6C;QAC1D,OAAO,EAAE,YAAY;KACtB,CAAC;IACD,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;8CACG;AASd;IAPC,IAAA,mBAAW,EAAC;QACX,QAAQ,EAAE,KAAK;QACf,WAAW,EAAE,kBAAkB;QAC/B,OAAO,EAAE,KAAK;KACf,CAAC;IACD,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;mDACQ;AASnB;IAPC,IAAA,mBAAW,EAAC;QACX,QAAQ,EAAE,KAAK;QACf,WAAW,EAAE,kBAAkB;QAC/B,OAAO,EAAE,MAAM;KAChB,CAAC;IACD,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;oDACS;AAGtB,MAAa,oBAAoB;CAShC;AATD,oDASC;AADC;IAPC,IAAA,mBAAW,EAAC;QACX,QAAQ,EAAE,KAAK;QACf,WAAW,EAAE,6CAA6C;QAC1D,OAAO,EAAE,YAAY;KACtB,CAAC;IACD,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;kDACG;AAGhB,MAAa,mBAAmB;CAiB/B;AAjBD,kDAiBC;AADC;IAPC,IAAA,2BAAmB,EAAC;QACnB,QAAQ,EAAE,KAAK;QACf,WAAW,EAAE,8DAA8D;QAC3E,OAAO,EAAE,MAAM;KAChB,CAAC;IACD,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;uDACY","sourcesContent":["import { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { IsOptional, IsString, IsNumber, IsInt } from 'class-validator';\n\nexport class GenerateSnapshot {\n @ApiProperty({\n required: false,\n description: 'Date du snapshot au format ISO (YYYY-MM-DD)',\n example: '2025-11-04',\n })\n @IsOptional()\n @IsString()\n date?: string;\n\n @ApiProperty({\n required: false,\n description: 'ID de la société',\n example: 60170,\n })\n @IsOptional()\n @IsNumber()\n idSociety?: number;\n\n @ApiProperty({\n required: false,\n description: \"ID de l'exercice\",\n example: 123456,\n })\n @IsOptional()\n @IsNumber()\n idExercice?: number;\n}\n\nexport class GenerateAllSnapshots {\n @ApiProperty({\n required: false,\n description: 'Date du snapshot au format ISO (YYYY-MM-DD)',\n example: '2025-11-04',\n })\n @IsOptional()\n @IsString()\n date?: string;\n}\n\nexport class ManageRetroactivity {\n // @ApiProperty({\n // required: true,\n // description: 'ID de la société',\n // example: 60170,\n // })\n // @IsInt()\n // idSociety: number;\n\n @ApiPropertyOptional({\n required: false,\n description: \"ID de l'exercice (si non fourni, utilise l'exercice courant)\",\n example: 123456,\n })\n @IsOptional()\n @IsInt()\n idExercice?: number;\n}\n"]}
|
|
@@ -3,6 +3,7 @@ import { Civility } from '../../../Enum/Civility';
|
|
|
3
3
|
import { IAnalyticsUtm } from '../../models/IAnalyticsUtm';
|
|
4
4
|
import { LegalFormTypeEnum } from '../../../Enum/LegalForm';
|
|
5
5
|
import { UpdateOrCreateVisualizedInformation } from '../visualizedInformation/Update';
|
|
6
|
+
import { IPermission } from '../../models/IPermission';
|
|
6
7
|
/**
|
|
7
8
|
* Response of the register prospect endpoint
|
|
8
9
|
*/
|
|
@@ -29,6 +30,8 @@ export interface ProspectSocietyInfo {
|
|
|
29
30
|
idLegalForm?: LegalFormTypeEnum;
|
|
30
31
|
zipCode?: string;
|
|
31
32
|
turnover?: number;
|
|
33
|
+
siret?: string;
|
|
34
|
+
idNafCode?: number;
|
|
32
35
|
}
|
|
33
36
|
export interface ReferalProgram {
|
|
34
37
|
email: string;
|
|
@@ -43,6 +46,7 @@ export interface RegisterProspect {
|
|
|
43
46
|
idSource?: number;
|
|
44
47
|
sourceAlias?: string;
|
|
45
48
|
idTypeBrand: number;
|
|
49
|
+
permissions?: IPermission;
|
|
46
50
|
analyticsUtm?: Omit<Partial<IAnalyticsUtm>, 'idSociety'>;
|
|
47
51
|
comment?: string;
|
|
48
52
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RegisterProspect.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/user/RegisterProspect.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAClD,OAAO,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAClD,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAC3D,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAC5D,OAAO,EAAE,mCAAmC,EAAE,MAAM,iCAAiC,CAAC;
|
|
1
|
+
{"version":3,"file":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