@silexpert/core 1.3.128 → 1.3.129-2
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/BalanceSheetReport.d.ts +10 -0
- package/dist/cjs/api/resources/BalanceSheetReport.d.ts.map +1 -0
- package/dist/cjs/api/resources/BalanceSheetReport.js +23 -0
- package/dist/cjs/api/resources/BalanceSheetReport.js.map +1 -0
- package/dist/cjs/api/resources/Checklist.d.ts +28 -1
- package/dist/cjs/api/resources/Checklist.d.ts.map +1 -1
- package/dist/cjs/api/resources/Checklist.js +39 -0
- package/dist/cjs/api/resources/Checklist.js.map +1 -1
- package/dist/cjs/api/resources/DashboardLayout.d.ts +10 -0
- package/dist/cjs/api/resources/DashboardLayout.d.ts.map +1 -0
- package/dist/cjs/api/resources/DashboardLayout.js +20 -0
- package/dist/cjs/api/resources/DashboardLayout.js.map +1 -0
- package/dist/cjs/api/resources/DocumentRequest.d.ts +10 -0
- package/dist/cjs/api/resources/DocumentRequest.d.ts.map +1 -0
- package/dist/cjs/api/resources/DocumentRequest.js +23 -0
- package/dist/cjs/api/resources/DocumentRequest.js.map +1 -0
- package/dist/cjs/api/resources/Exercice.d.ts +1 -0
- package/dist/cjs/api/resources/Exercice.d.ts.map +1 -1
- package/dist/cjs/api/resources/Exercice.js +3 -0
- package/dist/cjs/api/resources/Exercice.js.map +1 -1
- package/dist/cjs/api/resources/feature.d.ts +6 -0
- package/dist/cjs/api/resources/feature.d.ts.map +1 -0
- package/dist/cjs/api/resources/feature.js +11 -0
- package/dist/cjs/api/resources/feature.js.map +1 -0
- package/dist/cjs/api/resources.d.ts +8 -0
- package/dist/cjs/api/resources.d.ts.map +1 -1
- package/dist/cjs/api/resources.js +8 -0
- package/dist/cjs/api/resources.js.map +1 -1
- package/dist/cjs/types/Enum/ChecklistType.d.ts +8 -1
- package/dist/cjs/types/Enum/ChecklistType.d.ts.map +1 -1
- package/dist/cjs/types/Enum/ChecklistType.js +8 -0
- package/dist/cjs/types/Enum/ChecklistType.js.map +1 -1
- package/dist/cjs/types/Enum/ConstitutionState.js +1 -1
- package/dist/cjs/types/Enum/ConstitutionState.js.map +1 -1
- package/dist/cjs/types/Enum/DashboardBlock.d.ts +13 -0
- package/dist/cjs/types/Enum/DashboardBlock.d.ts.map +1 -0
- package/dist/cjs/types/Enum/DashboardBlock.js +17 -0
- package/dist/cjs/types/Enum/DashboardBlock.js.map +1 -0
- package/dist/cjs/types/Enum/Ged.d.ts +31 -1
- package/dist/cjs/types/Enum/Ged.d.ts.map +1 -1
- package/dist/cjs/types/Enum/Ged.js +152 -5
- package/dist/cjs/types/Enum/Ged.js.map +1 -1
- package/dist/cjs/types/Enum/PrestationType.d.ts +14 -1
- package/dist/cjs/types/Enum/PrestationType.d.ts.map +1 -1
- package/dist/cjs/types/Enum/PrestationType.js +193 -16
- package/dist/cjs/types/Enum/PrestationType.js.map +1 -1
- package/dist/cjs/types/Enum/SalesContractBrandClementine.js +7 -7
- package/dist/cjs/types/Enum/SalesContractBrandClementine.js.map +1 -1
- package/dist/cjs/types/Enum/ZoneCode.d.ts +6 -0
- package/dist/cjs/types/Enum/ZoneCode.d.ts.map +1 -1
- package/dist/cjs/types/Enum/ZoneCode.js +7 -0
- package/dist/cjs/types/Enum/ZoneCode.js.map +1 -1
- package/dist/cjs/types/Interface/api/DashboardLayout.d.ts +23 -0
- package/dist/cjs/types/Interface/api/DashboardLayout.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/DashboardLayout.js +3 -0
- package/dist/cjs/types/Interface/api/DashboardLayout.js.map +1 -0
- package/dist/cjs/types/Interface/api/balanceSheetReport/Query.d.ts +40 -0
- package/dist/cjs/types/Interface/api/balanceSheetReport/Query.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/balanceSheetReport/Query.js +207 -0
- package/dist/cjs/types/Interface/api/balanceSheetReport/Query.js.map +1 -0
- package/dist/cjs/types/Interface/api/checklist/Query.d.ts +3 -0
- package/dist/cjs/types/Interface/api/checklist/Query.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/checklist/Query.js +10 -1
- package/dist/cjs/types/Interface/api/checklist/Query.js.map +1 -1
- package/dist/cjs/types/Interface/api/checklist/Update.d.ts +11 -1
- package/dist/cjs/types/Interface/api/checklist/Update.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/checklist/Update.js +49 -1
- package/dist/cjs/types/Interface/api/checklist/Update.js.map +1 -1
- package/dist/cjs/types/Interface/api/documentRequest/Create.d.ts +10 -0
- package/dist/cjs/types/Interface/api/documentRequest/Create.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/documentRequest/Create.js +46 -0
- package/dist/cjs/types/Interface/api/documentRequest/Create.js.map +1 -0
- package/dist/cjs/types/Interface/api/documentRequest/Query.d.ts +5 -0
- package/dist/cjs/types/Interface/api/documentRequest/Query.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/documentRequest/Query.js +30 -0
- package/dist/cjs/types/Interface/api/documentRequest/Query.js.map +1 -0
- package/dist/cjs/types/Interface/api/feature/GetAvailableDashboardBlocks.d.ts +5 -0
- package/dist/cjs/types/Interface/api/feature/GetAvailableDashboardBlocks.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/feature/GetAvailableDashboardBlocks.js +3 -0
- package/dist/cjs/types/Interface/api/feature/GetAvailableDashboardBlocks.js.map +1 -0
- package/dist/cjs/types/Interface/api/gedFile/createFileAndGed.d.ts +2 -0
- package/dist/cjs/types/Interface/api/gedFile/createFileAndGed.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/gedFile/createFileAndGed.js +9 -1
- package/dist/cjs/types/Interface/api/gedFile/createFileAndGed.js.map +1 -1
- package/dist/cjs/types/Interface/api/library/QueryLibrary.d.ts +4 -2
- package/dist/cjs/types/Interface/api/library/QueryLibrary.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/library/QueryLibrary.js +6 -2
- package/dist/cjs/types/Interface/api/library/QueryLibrary.js.map +1 -1
- package/dist/cjs/types/Interface/api/payment/Query.d.ts +2 -0
- package/dist/cjs/types/Interface/api/payment/Query.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/payment/Query.js +12 -0
- package/dist/cjs/types/Interface/api/payment/Query.js.map +1 -1
- package/dist/cjs/types/Interface/api/paymentExpectation/QueryPaymentExpectation.js +1 -1
- package/dist/cjs/types/Interface/api/paymentExpectation/QueryPaymentExpectation.js.map +1 -1
- package/dist/cjs/types/Interface/api/society/ReadSociety.d.ts +7 -3
- package/dist/cjs/types/Interface/api/society/ReadSociety.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/society/ReadSociety.js.map +1 -1
- package/dist/cjs/types/Interface/api/stripe/Create.d.ts +1 -0
- package/dist/cjs/types/Interface/api/stripe/Create.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/stripe/Create.js +6 -0
- package/dist/cjs/types/Interface/api/stripe/Create.js.map +1 -1
- package/dist/cjs/types/Interface/models/IAttestation.d.ts +20 -18
- package/dist/cjs/types/Interface/models/IAttestation.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/IAttestation.js.map +1 -1
- package/dist/cjs/types/Interface/models/IChecklist.d.ts +2 -2
- package/dist/cjs/types/Interface/models/IChecklist.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/IChecklist.js.map +1 -1
- package/dist/cjs/types/Interface/models/IChecklistDetail.d.ts +3 -3
- package/dist/cjs/types/Interface/models/IChecklistDetail.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/IChecklistDetail.js.map +1 -1
- package/dist/cjs/types/Interface/models/IDocumentRequest.d.ts +23 -0
- package/dist/cjs/types/Interface/models/IDocumentRequest.d.ts.map +1 -0
- package/dist/cjs/types/Interface/models/IDocumentRequest.js +3 -0
- package/dist/cjs/types/Interface/models/IDocumentRequest.js.map +1 -0
- package/dist/cjs/types/Interface/models/IGedFile.d.ts +6 -1
- package/dist/cjs/types/Interface/models/IGedFile.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/IGedFile.js.map +1 -1
- package/dist/cjs/types/Interface/models/ISociety.d.ts +1 -0
- 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 +5 -0
- package/dist/cjs/types/index.d.ts.map +1 -1
- package/dist/cjs/types/index.js +5 -0
- package/dist/cjs/types/index.js.map +1 -1
- package/dist/cjs/utils/vat/utils.js +3 -3
- package/dist/cjs/utils/vat/utils.js.map +1 -1
- package/dist/cjs/utils/webmail.d.ts.map +1 -1
- package/dist/cjs/utils/webmail.js +4 -3
- package/dist/cjs/utils/webmail.js.map +1 -1
- package/dist/mjs/api/resources/BalanceSheetReport.d.ts +10 -0
- package/dist/mjs/api/resources/BalanceSheetReport.d.ts.map +1 -0
- package/dist/mjs/api/resources/BalanceSheetReport.js +22 -0
- package/dist/mjs/api/resources/BalanceSheetReport.js.map +1 -0
- package/dist/mjs/api/resources/Checklist.d.ts +28 -1
- package/dist/mjs/api/resources/Checklist.d.ts.map +1 -1
- package/dist/mjs/api/resources/Checklist.js +39 -0
- package/dist/mjs/api/resources/Checklist.js.map +1 -1
- package/dist/mjs/api/resources/DashboardLayout.d.ts +10 -0
- package/dist/mjs/api/resources/DashboardLayout.d.ts.map +1 -0
- package/dist/mjs/api/resources/DashboardLayout.js +16 -0
- package/dist/mjs/api/resources/DashboardLayout.js.map +1 -0
- package/dist/mjs/api/resources/DocumentRequest.d.ts +10 -0
- package/dist/mjs/api/resources/DocumentRequest.d.ts.map +1 -0
- package/dist/mjs/api/resources/DocumentRequest.js +27 -0
- package/dist/mjs/api/resources/DocumentRequest.js.map +1 -0
- package/dist/mjs/api/resources/Exercice.d.ts +1 -0
- package/dist/mjs/api/resources/Exercice.d.ts.map +1 -1
- package/dist/mjs/api/resources/Exercice.js +3 -0
- package/dist/mjs/api/resources/Exercice.js.map +1 -1
- package/dist/mjs/api/resources/feature.d.ts +6 -0
- package/dist/mjs/api/resources/feature.d.ts.map +1 -0
- package/dist/mjs/api/resources/feature.js +7 -0
- package/dist/mjs/api/resources/feature.js.map +1 -0
- package/dist/mjs/api/resources.d.ts +8 -0
- package/dist/mjs/api/resources.d.ts.map +1 -1
- package/dist/mjs/api/resources.js +8 -0
- package/dist/mjs/api/resources.js.map +1 -1
- package/dist/mjs/types/Enum/ChecklistType.d.ts +8 -1
- package/dist/mjs/types/Enum/ChecklistType.d.ts.map +1 -1
- package/dist/mjs/types/Enum/ChecklistType.js +8 -0
- package/dist/mjs/types/Enum/ChecklistType.js.map +1 -1
- package/dist/mjs/types/Enum/ConstitutionState.js +1 -1
- package/dist/mjs/types/Enum/ConstitutionState.js.map +1 -1
- package/dist/mjs/types/Enum/DashboardBlock.d.ts +13 -0
- package/dist/mjs/types/Enum/DashboardBlock.d.ts.map +1 -0
- package/dist/mjs/types/Enum/DashboardBlock.js +14 -0
- package/dist/mjs/types/Enum/DashboardBlock.js.map +1 -0
- package/dist/mjs/types/Enum/Ged.d.ts +31 -1
- package/dist/mjs/types/Enum/Ged.d.ts.map +1 -1
- package/dist/mjs/types/Enum/Ged.js +151 -4
- package/dist/mjs/types/Enum/Ged.js.map +1 -1
- package/dist/mjs/types/Enum/PrestationType.d.ts +14 -1
- package/dist/mjs/types/Enum/PrestationType.d.ts.map +1 -1
- package/dist/mjs/types/Enum/PrestationType.js +192 -15
- package/dist/mjs/types/Enum/PrestationType.js.map +1 -1
- package/dist/mjs/types/Enum/SalesContractBrandClementine.js +7 -7
- package/dist/mjs/types/Enum/SalesContractBrandClementine.js.map +1 -1
- package/dist/mjs/types/Enum/ZoneCode.d.ts +6 -0
- package/dist/mjs/types/Enum/ZoneCode.d.ts.map +1 -1
- package/dist/mjs/types/Enum/ZoneCode.js +7 -0
- package/dist/mjs/types/Enum/ZoneCode.js.map +1 -1
- package/dist/mjs/types/Interface/api/DashboardLayout.d.ts +23 -0
- package/dist/mjs/types/Interface/api/DashboardLayout.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/DashboardLayout.js +2 -0
- package/dist/mjs/types/Interface/api/DashboardLayout.js.map +1 -0
- package/dist/mjs/types/Interface/api/balanceSheetReport/Query.d.ts +40 -0
- package/dist/mjs/types/Interface/api/balanceSheetReport/Query.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/balanceSheetReport/Query.js +200 -0
- package/dist/mjs/types/Interface/api/balanceSheetReport/Query.js.map +1 -0
- package/dist/mjs/types/Interface/api/checklist/Query.d.ts +3 -0
- package/dist/mjs/types/Interface/api/checklist/Query.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/checklist/Query.js +9 -0
- package/dist/mjs/types/Interface/api/checklist/Query.js.map +1 -1
- package/dist/mjs/types/Interface/api/checklist/Update.d.ts +11 -1
- package/dist/mjs/types/Interface/api/checklist/Update.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/checklist/Update.js +57 -3
- package/dist/mjs/types/Interface/api/checklist/Update.js.map +1 -1
- package/dist/mjs/types/Interface/api/documentRequest/Create.d.ts +10 -0
- package/dist/mjs/types/Interface/api/documentRequest/Create.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/documentRequest/Create.js +47 -0
- package/dist/mjs/types/Interface/api/documentRequest/Create.js.map +1 -0
- package/dist/mjs/types/Interface/api/documentRequest/Query.d.ts +5 -0
- package/dist/mjs/types/Interface/api/documentRequest/Query.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/documentRequest/Query.js +28 -0
- package/dist/mjs/types/Interface/api/documentRequest/Query.js.map +1 -0
- package/dist/mjs/types/Interface/api/feature/GetAvailableDashboardBlocks.d.ts +5 -0
- package/dist/mjs/types/Interface/api/feature/GetAvailableDashboardBlocks.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/feature/GetAvailableDashboardBlocks.js +2 -0
- package/dist/mjs/types/Interface/api/feature/GetAvailableDashboardBlocks.js.map +1 -0
- package/dist/mjs/types/Interface/api/gedFile/createFileAndGed.d.ts +2 -0
- package/dist/mjs/types/Interface/api/gedFile/createFileAndGed.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/gedFile/createFileAndGed.js +12 -2
- package/dist/mjs/types/Interface/api/gedFile/createFileAndGed.js.map +1 -1
- package/dist/mjs/types/Interface/api/library/QueryLibrary.d.ts +4 -2
- package/dist/mjs/types/Interface/api/library/QueryLibrary.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/library/QueryLibrary.js +9 -3
- package/dist/mjs/types/Interface/api/library/QueryLibrary.js.map +1 -1
- package/dist/mjs/types/Interface/api/payment/Query.d.ts +2 -0
- package/dist/mjs/types/Interface/api/payment/Query.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/payment/Query.js +14 -0
- package/dist/mjs/types/Interface/api/payment/Query.js.map +1 -1
- package/dist/mjs/types/Interface/api/paymentExpectation/QueryPaymentExpectation.js +1 -1
- package/dist/mjs/types/Interface/api/paymentExpectation/QueryPaymentExpectation.js.map +1 -1
- package/dist/mjs/types/Interface/api/society/ReadSociety.d.ts +7 -3
- package/dist/mjs/types/Interface/api/society/ReadSociety.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/society/ReadSociety.js.map +1 -1
- package/dist/mjs/types/Interface/api/stripe/Create.d.ts +1 -0
- package/dist/mjs/types/Interface/api/stripe/Create.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/stripe/Create.js +7 -0
- package/dist/mjs/types/Interface/api/stripe/Create.js.map +1 -1
- package/dist/mjs/types/Interface/models/IAttestation.d.ts +20 -18
- package/dist/mjs/types/Interface/models/IAttestation.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/IAttestation.js.map +1 -1
- package/dist/mjs/types/Interface/models/IChecklist.d.ts +2 -2
- package/dist/mjs/types/Interface/models/IChecklist.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/IChecklist.js.map +1 -1
- package/dist/mjs/types/Interface/models/IChecklistDetail.d.ts +3 -3
- package/dist/mjs/types/Interface/models/IChecklistDetail.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/IChecklistDetail.js.map +1 -1
- package/dist/mjs/types/Interface/models/IDocumentRequest.d.ts +23 -0
- package/dist/mjs/types/Interface/models/IDocumentRequest.d.ts.map +1 -0
- package/dist/mjs/types/Interface/models/IDocumentRequest.js +2 -0
- package/dist/mjs/types/Interface/models/IDocumentRequest.js.map +1 -0
- package/dist/mjs/types/Interface/models/IGedFile.d.ts +6 -1
- package/dist/mjs/types/Interface/models/IGedFile.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/IGedFile.js.map +1 -1
- package/dist/mjs/types/Interface/models/ISociety.d.ts +1 -0
- 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 +5 -0
- package/dist/mjs/types/index.d.ts.map +1 -1
- package/dist/mjs/types/index.js +5 -0
- package/dist/mjs/types/index.js.map +1 -1
- package/dist/mjs/utils/vat/utils.js +3 -3
- package/dist/mjs/utils/vat/utils.js.map +1 -1
- package/dist/mjs/utils/webmail.d.ts.map +1 -1
- package/dist/mjs/utils/webmail.js +4 -3
- package/dist/mjs/utils/webmail.js.map +1 -1
- package/package.json +14 -14
- package/ts/api/resources/BalanceSheetReport.ts +36 -0
- package/ts/api/resources/Checklist.ts +49 -0
- package/ts/api/resources/DashboardLayout.ts +19 -0
- package/ts/api/resources/DocumentRequest.ts +32 -0
- package/ts/api/resources/Exercice.ts +4 -0
- package/ts/api/resources/feature.ts +8 -0
- package/ts/api/resources.ts +8 -0
- package/ts/types/Enum/ChecklistType.ts +9 -0
- package/ts/types/Enum/ConstitutionState.ts +1 -1
- package/ts/types/Enum/DashboardBlock.ts +12 -0
- package/ts/types/Enum/Ged.ts +345 -193
- package/ts/types/Enum/PrestationType.ts +199 -15
- package/ts/types/Enum/SalesContractBrandClementine.ts +7 -7
- package/ts/types/Enum/ZoneCode.ts +7 -0
- package/ts/types/Interface/api/DashboardLayout.ts +26 -0
- package/ts/types/Interface/api/balanceSheetReport/Query.ts +160 -0
- package/ts/types/Interface/api/checklist/Query.ts +7 -0
- package/ts/types/Interface/api/checklist/Update.ts +44 -3
- package/ts/types/Interface/api/documentRequest/Create.ts +28 -0
- package/ts/types/Interface/api/documentRequest/Query.ts +14 -0
- package/ts/types/Interface/api/feature/GetAvailableDashboardBlocks.ts +5 -0
- package/ts/types/Interface/api/gedFile/createFileAndGed.ts +7 -1
- package/ts/types/Interface/api/library/QueryLibrary.ts +4 -2
- package/ts/types/Interface/api/payment/Query.ts +13 -3
- package/ts/types/Interface/api/paymentExpectation/QueryPaymentExpectation.ts +3 -3
- package/ts/types/Interface/api/society/ReadSociety.ts +7 -3
- package/ts/types/Interface/api/stripe/Create.ts +5 -0
- package/ts/types/Interface/models/IAttestation.ts +20 -18
- package/ts/types/Interface/models/IChecklist.ts +2 -2
- package/ts/types/Interface/models/IChecklistDetail.ts +3 -3
- package/ts/types/Interface/models/IDocumentRequest.ts +25 -0
- package/ts/types/Interface/models/IGedFile.ts +6 -1
- package/ts/types/Interface/models/ISociety.ts +1 -0
- package/ts/types/index.ts +5 -0
- package/ts/utils/vat/utils.ts +3 -3
- package/ts/utils/webmail.ts +19 -16
|
@@ -0,0 +1,207 @@
|
|
|
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.ParamsBalanceSheetReportUpdate = exports.ParamsBalanceSheetReportGeneratePdf = exports.ParamsBalanceSheetReportCreate = exports.QueryBalanceSheetReportPaginated = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const utils_1 = require("../../../../utils");
|
|
15
|
+
const boolean_transform_1 = require("../../../../utils/transforms/boolean.transform");
|
|
16
|
+
const BasePaginate_1 = require("../BasePaginate");
|
|
17
|
+
class QueryBalanceSheetReportPaginated extends BasePaginate_1.RequiredQueryPaginate {
|
|
18
|
+
}
|
|
19
|
+
exports.QueryBalanceSheetReportPaginated = QueryBalanceSheetReportPaginated;
|
|
20
|
+
__decorate([
|
|
21
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
22
|
+
(0, class_validator_1.IsOptional)(),
|
|
23
|
+
(0, class_validator_1.IsString)(),
|
|
24
|
+
__metadata("design:type", String)
|
|
25
|
+
], QueryBalanceSheetReportPaginated.prototype, "search", void 0);
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
28
|
+
(0, class_validator_1.IsOptional)(),
|
|
29
|
+
(0, class_validator_1.IsBoolean)(),
|
|
30
|
+
(0, boolean_transform_1.ToBoolean)(),
|
|
31
|
+
__metadata("design:type", Boolean)
|
|
32
|
+
], QueryBalanceSheetReportPaginated.prototype, "signed", 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
|
+
], QueryBalanceSheetReportPaginated.prototype, "factured", 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
|
+
], QueryBalanceSheetReportPaginated.prototype, "idSupervisor", void 0);
|
|
45
|
+
class ParamsBalanceSheetReportCreate {
|
|
46
|
+
}
|
|
47
|
+
exports.ParamsBalanceSheetReportCreate = ParamsBalanceSheetReportCreate;
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, utils_1.ApiProperty)(),
|
|
50
|
+
(0, class_validator_1.IsInt)(),
|
|
51
|
+
__metadata("design:type", Number)
|
|
52
|
+
], ParamsBalanceSheetReportCreate.prototype, "idSociety", void 0);
|
|
53
|
+
__decorate([
|
|
54
|
+
(0, utils_1.ApiProperty)(),
|
|
55
|
+
(0, class_validator_1.IsInt)(),
|
|
56
|
+
__metadata("design:type", Number)
|
|
57
|
+
], ParamsBalanceSheetReportCreate.prototype, "idExercice", void 0);
|
|
58
|
+
__decorate([
|
|
59
|
+
(0, utils_1.ApiProperty)(),
|
|
60
|
+
(0, class_validator_1.IsInt)(),
|
|
61
|
+
__metadata("design:type", Number)
|
|
62
|
+
], ParamsBalanceSheetReportCreate.prototype, "idPrestationList", void 0);
|
|
63
|
+
__decorate([
|
|
64
|
+
(0, utils_1.ApiProperty)(),
|
|
65
|
+
(0, class_validator_1.IsInt)(),
|
|
66
|
+
__metadata("design:type", Number)
|
|
67
|
+
], ParamsBalanceSheetReportCreate.prototype, "idSupervisor", void 0);
|
|
68
|
+
__decorate([
|
|
69
|
+
(0, utils_1.ApiProperty)(),
|
|
70
|
+
(0, class_validator_1.IsInt)(),
|
|
71
|
+
__metadata("design:type", Number)
|
|
72
|
+
], ParamsBalanceSheetReportCreate.prototype, "price", void 0);
|
|
73
|
+
__decorate([
|
|
74
|
+
(0, utils_1.ApiProperty)(),
|
|
75
|
+
(0, class_validator_1.IsBoolean)(),
|
|
76
|
+
(0, boolean_transform_1.ToBoolean)(),
|
|
77
|
+
__metadata("design:type", Boolean)
|
|
78
|
+
], ParamsBalanceSheetReportCreate.prototype, "annoted", void 0);
|
|
79
|
+
__decorate([
|
|
80
|
+
(0, utils_1.ApiProperty)(),
|
|
81
|
+
(0, class_validator_1.IsInt)(),
|
|
82
|
+
__metadata("design:type", Number)
|
|
83
|
+
], ParamsBalanceSheetReportCreate.prototype, "factured", void 0);
|
|
84
|
+
class ParamsBalanceSheetReportGeneratePdf {
|
|
85
|
+
}
|
|
86
|
+
exports.ParamsBalanceSheetReportGeneratePdf = ParamsBalanceSheetReportGeneratePdf;
|
|
87
|
+
__decorate([
|
|
88
|
+
(0, utils_1.ApiProperty)(),
|
|
89
|
+
(0, class_validator_1.IsBoolean)(),
|
|
90
|
+
(0, boolean_transform_1.ToBoolean)(),
|
|
91
|
+
__metadata("design:type", Boolean)
|
|
92
|
+
], ParamsBalanceSheetReportGeneratePdf.prototype, "isSigned", void 0);
|
|
93
|
+
__decorate([
|
|
94
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
95
|
+
(0, class_validator_1.IsOptional)(),
|
|
96
|
+
(0, class_validator_1.IsString)(),
|
|
97
|
+
__metadata("design:type", String)
|
|
98
|
+
], ParamsBalanceSheetReportGeneratePdf.prototype, "comment", void 0);
|
|
99
|
+
class ParamsBalanceSheetReportUpdate {
|
|
100
|
+
}
|
|
101
|
+
exports.ParamsBalanceSheetReportUpdate = ParamsBalanceSheetReportUpdate;
|
|
102
|
+
__decorate([
|
|
103
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
104
|
+
(0, class_validator_1.IsOptional)(),
|
|
105
|
+
(0, class_validator_1.IsInt)(),
|
|
106
|
+
__metadata("design:type", Number)
|
|
107
|
+
], ParamsBalanceSheetReportUpdate.prototype, "price", void 0);
|
|
108
|
+
__decorate([
|
|
109
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
110
|
+
(0, class_validator_1.IsOptional)(),
|
|
111
|
+
(0, class_validator_1.IsInt)(),
|
|
112
|
+
__metadata("design:type", Number)
|
|
113
|
+
], ParamsBalanceSheetReportUpdate.prototype, "idPrestationList", void 0);
|
|
114
|
+
__decorate([
|
|
115
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
116
|
+
(0, class_validator_1.IsOptional)(),
|
|
117
|
+
(0, class_validator_1.IsInt)(),
|
|
118
|
+
__metadata("design:type", Number)
|
|
119
|
+
], ParamsBalanceSheetReportUpdate.prototype, "idExercice", void 0);
|
|
120
|
+
__decorate([
|
|
121
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
122
|
+
(0, class_validator_1.IsOptional)(),
|
|
123
|
+
(0, class_validator_1.IsInt)(),
|
|
124
|
+
__metadata("design:type", Number)
|
|
125
|
+
], ParamsBalanceSheetReportUpdate.prototype, "idSociety", void 0);
|
|
126
|
+
__decorate([
|
|
127
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
128
|
+
(0, class_validator_1.IsOptional)(),
|
|
129
|
+
(0, class_validator_1.IsInt)(),
|
|
130
|
+
__metadata("design:type", Number)
|
|
131
|
+
], ParamsBalanceSheetReportUpdate.prototype, "idSupervisor", void 0);
|
|
132
|
+
__decorate([
|
|
133
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
134
|
+
(0, class_validator_1.IsOptional)(),
|
|
135
|
+
(0, class_validator_1.IsInt)(),
|
|
136
|
+
__metadata("design:type", Number)
|
|
137
|
+
], ParamsBalanceSheetReportUpdate.prototype, "idUserDemand", void 0);
|
|
138
|
+
__decorate([
|
|
139
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
140
|
+
(0, class_validator_1.IsOptional)(),
|
|
141
|
+
(0, class_validator_1.IsInt)(),
|
|
142
|
+
__metadata("design:type", Number)
|
|
143
|
+
], ParamsBalanceSheetReportUpdate.prototype, "idPaymentExpectation", void 0);
|
|
144
|
+
__decorate([
|
|
145
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
146
|
+
(0, class_validator_1.IsOptional)(),
|
|
147
|
+
(0, class_validator_1.IsInt)(),
|
|
148
|
+
__metadata("design:type", Number)
|
|
149
|
+
], ParamsBalanceSheetReportUpdate.prototype, "idFile", void 0);
|
|
150
|
+
__decorate([
|
|
151
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
152
|
+
(0, class_validator_1.IsOptional)(),
|
|
153
|
+
(0, class_validator_1.IsInt)(),
|
|
154
|
+
__metadata("design:type", Number)
|
|
155
|
+
], ParamsBalanceSheetReportUpdate.prototype, "idGedFile", void 0);
|
|
156
|
+
__decorate([
|
|
157
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
158
|
+
(0, class_validator_1.IsOptional)(),
|
|
159
|
+
(0, class_validator_1.IsBoolean)(),
|
|
160
|
+
(0, boolean_transform_1.ToBoolean)(),
|
|
161
|
+
__metadata("design:type", Boolean)
|
|
162
|
+
], ParamsBalanceSheetReportUpdate.prototype, "annoted", void 0);
|
|
163
|
+
__decorate([
|
|
164
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
165
|
+
(0, class_validator_1.IsOptional)(),
|
|
166
|
+
(0, class_validator_1.IsInt)(),
|
|
167
|
+
__metadata("design:type", Number)
|
|
168
|
+
], ParamsBalanceSheetReportUpdate.prototype, "factured", void 0);
|
|
169
|
+
__decorate([
|
|
170
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
171
|
+
(0, class_validator_1.IsOptional)(),
|
|
172
|
+
(0, class_validator_1.IsDate)(),
|
|
173
|
+
__metadata("design:type", Date)
|
|
174
|
+
], ParamsBalanceSheetReportUpdate.prototype, "sendDate", void 0);
|
|
175
|
+
__decorate([
|
|
176
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
177
|
+
(0, class_validator_1.IsOptional)(),
|
|
178
|
+
(0, class_validator_1.IsString)(),
|
|
179
|
+
__metadata("design:type", String)
|
|
180
|
+
], ParamsBalanceSheetReportUpdate.prototype, "textPdf", void 0);
|
|
181
|
+
__decorate([
|
|
182
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
183
|
+
(0, class_validator_1.IsOptional)(),
|
|
184
|
+
(0, class_validator_1.IsBoolean)(),
|
|
185
|
+
(0, boolean_transform_1.ToBoolean)(),
|
|
186
|
+
__metadata("design:type", Boolean)
|
|
187
|
+
], ParamsBalanceSheetReportUpdate.prototype, "isSign", void 0);
|
|
188
|
+
__decorate([
|
|
189
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
190
|
+
(0, class_validator_1.IsOptional)(),
|
|
191
|
+
(0, class_validator_1.IsBoolean)(),
|
|
192
|
+
(0, boolean_transform_1.ToBoolean)(),
|
|
193
|
+
__metadata("design:type", Boolean)
|
|
194
|
+
], ParamsBalanceSheetReportUpdate.prototype, "done", void 0);
|
|
195
|
+
__decorate([
|
|
196
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
197
|
+
(0, class_validator_1.IsOptional)(),
|
|
198
|
+
(0, class_validator_1.IsInt)(),
|
|
199
|
+
__metadata("design:type", Number)
|
|
200
|
+
], ParamsBalanceSheetReportUpdate.prototype, "idMailValidation", void 0);
|
|
201
|
+
__decorate([
|
|
202
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
203
|
+
(0, class_validator_1.IsOptional)(),
|
|
204
|
+
(0, class_validator_1.IsInt)(),
|
|
205
|
+
__metadata("design:type", Number)
|
|
206
|
+
], ParamsBalanceSheetReportUpdate.prototype, "idMailPayment", void 0);
|
|
207
|
+
//# sourceMappingURL=Query.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Query.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/balanceSheetReport/Query.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAiF;AACjF,6CAAqE;AACrE,sFAA2E;AAC3E,kDAAwD;AAExD,MAAa,gCAAiC,SAAQ,oCAAqB;CAqB1E;AArBD,4EAqBC;AAjBS;IAHP,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;gEACa;AAMhB;IAJP,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IAC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X,IAAA,6BAAS,GAAE;;4DACW;AAKf;IAHP,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;wEAC0B;AAK1B;IAHP,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;qEACuB","sourcesContent":["import { IsBoolean, IsDate, IsInt, IsOptional, IsString } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\nimport { RequiredQueryPaginate } from '../BasePaginate';\n\nexport class QueryBalanceSheetReportPaginated extends RequiredQueryPaginate {\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n declare search?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n declare signed?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n declare factured?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n declare idSupervisor?: number;\n}\n\nexport class ParamsBalanceSheetReportCreate {\n @ApiProperty()\n @IsInt()\n declare idSociety: number;\n\n @ApiProperty()\n @IsInt()\n declare idExercice: number;\n\n @ApiProperty()\n @IsInt()\n declare idPrestationList: number;\n\n @ApiProperty()\n @IsInt()\n declare idSupervisor: number;\n\n @ApiProperty()\n @IsInt()\n declare price: number;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n declare annoted: boolean;\n\n @ApiProperty()\n @IsInt()\n declare factured: number;\n}\n\nexport class ParamsBalanceSheetReportGeneratePdf {\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n declare isSigned: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n declare comment?: string;\n}\n\nexport class ParamsBalanceSheetReportUpdate {\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n declare price?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n declare idPrestationList?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n declare idExercice?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n declare idSociety?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n declare idSupervisor?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n declare idUserDemand?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n declare idPaymentExpectation?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n declare idFile?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n declare idGedFile?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n declare annoted?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n declare factured?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n declare sendDate?: Date;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n declare textPdf?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n declare isSign?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n declare done?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n declare idMailValidation?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n declare idMailPayment?: number;\n}\n"]}
|
|
@@ -50,6 +50,9 @@ export declare class QueryGetAllBlockingIssues {
|
|
|
50
50
|
export declare class QueryGetToComplete {
|
|
51
51
|
idSociety: number;
|
|
52
52
|
}
|
|
53
|
+
export declare class QueryChecklistQuestions {
|
|
54
|
+
idExercice: number;
|
|
55
|
+
}
|
|
53
56
|
export declare class QueryChecklistUpdate {
|
|
54
57
|
force?: boolean;
|
|
55
58
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Query.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/checklist/Query.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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.QueryGenerateAdvice = exports.QueryChecklistUpdate = exports.QueryGetToComplete = exports.QueryGetAllBlockingIssues = exports.QueryGetAllQuestions = exports.QueryChecklistGetStats = exports.QueryChecklistGetPaginated = exports.QueryChecklistWallet = exports.QueryChecklistStatistic = exports.QueryGetAllDeadlines = void 0;
|
|
12
|
+
exports.QueryGenerateAdvice = exports.QueryChecklistUpdate = exports.QueryChecklistQuestions = exports.QueryGetToComplete = exports.QueryGetAllBlockingIssues = exports.QueryGetAllQuestions = exports.QueryChecklistGetStats = exports.QueryChecklistGetPaginated = exports.QueryChecklistWallet = exports.QueryChecklistStatistic = exports.QueryGetAllDeadlines = void 0;
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
14
|
const utils_1 = require("../../../../utils");
|
|
15
15
|
const boolean_transform_1 = require("../../../../utils/transforms/boolean.transform");
|
|
@@ -197,6 +197,15 @@ __decorate([
|
|
|
197
197
|
(0, class_validator_1.IsPositive)(),
|
|
198
198
|
__metadata("design:type", Number)
|
|
199
199
|
], QueryGetToComplete.prototype, "idSociety", void 0);
|
|
200
|
+
class QueryChecklistQuestions {
|
|
201
|
+
}
|
|
202
|
+
exports.QueryChecklistQuestions = QueryChecklistQuestions;
|
|
203
|
+
__decorate([
|
|
204
|
+
(0, utils_1.ApiProperty)(),
|
|
205
|
+
(0, class_validator_1.IsNumber)(),
|
|
206
|
+
(0, class_validator_1.IsPositive)(),
|
|
207
|
+
__metadata("design:type", Number)
|
|
208
|
+
], QueryChecklistQuestions.prototype, "idExercice", void 0);
|
|
200
209
|
class QueryChecklistUpdate {
|
|
201
210
|
}
|
|
202
211
|
exports.QueryChecklistUpdate = QueryChecklistUpdate;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Query.js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AC;;gEACE;AAG1B,MAAa,sBAAsB;CAQlC;AARD,wDAQC;AALC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,yBAAO,GAAE;;sDACO;AAIjB;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,wBAAM,GAAE;8BACI,IAAI;2DAAC;AAGpB,MAAa,oBAAoB;CAKhC;AALD,oDAKC;AADC;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,iCAAiB,CAAC;;kDACD;AAG3B,MAAa,yBAAyB;CAGrC;AAHD,8DAGC;AAED,MAAa,kBAAkB;CAK9B;AALD,gDAKC;AADC;IAHC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;qDACK;AAGpB,MAAa,oBAAoB;CAMhC;AAND,oDAMC;AADC;IAJC,IAAA,mBAAW,GAAE;IACb,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;mDACG;AAGlB,MAAa,mBAAmB;CAQ/B;AARD,kDAQC;AALC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,uBAAK,GAAE;;sDACU;AAIlB;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,uBAAK,GAAE;;uDACW","sourcesContent":["import {\n IsArray,\n IsBoolean,\n IsDate,\n IsDateString,\n IsEnum,\n IsInt,\n IsNumber,\n IsOptional,\n IsPositive,\n IsString,\n} from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\nimport { ChecklistTypeEnum } from '../../../Enum/ChecklistType';\nimport { IChecklistDetail } from '../../models/IChecklistDetail';\nimport { IChecklistType } from '../../models/IChecklistType';\nimport { RequiredQueryPaginate } from '../BasePaginate';\n\nexport class QueryGetAllDeadlines {\n @ApiProperty()\n @IsNumber()\n @IsPositive()\n idSociety: number;\n\n @ApiPropertyOptional()\n @IsDateString()\n @IsOptional()\n minDate?: string;\n\n @ApiPropertyOptional()\n @IsDateString()\n @IsOptional()\n maxDate?: string;\n\n @ApiPropertyOptional({ description: 'Retrieve deadlines by exercices date' })\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n byExercices?: boolean;\n}\n\nexport class QueryChecklistStatistic {\n @ApiProperty()\n @IsDateString()\n date: string;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n idUser: number;\n}\n\nexport class QueryChecklistWallet extends RequiredQueryPaginate {\n @ApiProperty()\n @IsArray()\n idUser: number[];\n\n @ApiProperty()\n @IsDateString()\n date: string;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n search?: string;\n\n @ApiPropertyOptional()\n @IsArray()\n @IsOptional()\n idVatRegimes?: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n revisionRange?: { min: number; max: number };\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n state: 'todo' | 'inProgress' | 'done';\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n shouldRetrieveRevision: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n onlyChecklistPossible: boolean;\n}\n\nexport class QueryChecklistGetPaginated extends RequiredQueryPaginate {\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n search?: string;\n\n @ApiProperty()\n @IsArray()\n idUser: number[];\n\n @ApiPropertyOptional()\n @IsArray()\n @IsOptional()\n vatRegime?: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n takePriority?: boolean;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n state?: number;\n\n @ApiProperty()\n @IsDate()\n closingDate: Date;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n minimalTurnover?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n maximalTurnover?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt({ each: true })\n idComptaType?: number[];\n}\n\nexport class QueryChecklistGetStats {\n @ApiProperty()\n @IsArray()\n idUser: number[];\n\n @ApiProperty()\n @IsDate()\n closingDate: Date;\n}\n\nexport class QueryGetAllQuestions {\n @ApiPropertyOptional()\n @IsOptional()\n @IsEnum(ChecklistTypeEnum)\n type?: ChecklistTypeEnum;\n}\n\nexport class QueryGetAllBlockingIssues {\n questionsList: IChecklistType[];\n answers: IChecklistDetail[];\n}\n\nexport class QueryGetToComplete {\n @ApiProperty()\n @IsNumber()\n @IsPositive()\n idSociety: number;\n}\n\nexport class QueryChecklistUpdate {\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n force?: boolean;\n}\n\nexport class QueryGenerateAdvice {\n @ApiProperty()\n @IsInt()\n idSociety: number;\n\n @ApiProperty()\n @IsInt()\n idExercice: number;\n}\n"]}
|
|
1
|
+
{"version":3,"file":"Query.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/checklist/Query.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAWyB;AACzB,6CAAqE;AACrE,sFAA2E;AAC3E,+DAAgE;AAGhE,kDAAwD;AAExD,MAAa,oBAAoB;CAqBhC;AArBD,oDAqBC;AAjBC;IAHC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;uDACK;AAKlB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,8BAAY,GAAE;IACd,IAAA,4BAAU,GAAE;;qDACI;AAKjB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,8BAAY,GAAE;IACd,IAAA,4BAAU,GAAE;;qDACI;AAMjB;IAJC,IAAA,2BAAmB,EAAC,EAAE,WAAW,EAAE,sCAAsC,EAAE,CAAC;IAC5E,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;yDACS;AAGxB,MAAa,uBAAuB;CASn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AAoB;CAMhC;AAND,oDAMC;AADC;IAJC,IAAA,mBAAW,GAAE;IACb,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;mDACG;AAGlB,MAAa,mBAAmB;CAQ/B;AARD,kDAQC;AALC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,uBAAK,GAAE;;sDACU;AAIlB;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,uBAAK,GAAE;;uDACW","sourcesContent":["import {\n IsArray,\n IsBoolean,\n IsDate,\n IsDateString,\n IsEnum,\n IsInt,\n IsNumber,\n IsOptional,\n IsPositive,\n IsString,\n} from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\nimport { ChecklistTypeEnum } from '../../../Enum/ChecklistType';\nimport { IChecklistDetail } from '../../models/IChecklistDetail';\nimport { IChecklistType } from '../../models/IChecklistType';\nimport { RequiredQueryPaginate } from '../BasePaginate';\n\nexport class QueryGetAllDeadlines {\n @ApiProperty()\n @IsNumber()\n @IsPositive()\n idSociety: number;\n\n @ApiPropertyOptional()\n @IsDateString()\n @IsOptional()\n minDate?: string;\n\n @ApiPropertyOptional()\n @IsDateString()\n @IsOptional()\n maxDate?: string;\n\n @ApiPropertyOptional({ description: 'Retrieve deadlines by exercices date' })\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n byExercices?: boolean;\n}\n\nexport class QueryChecklistStatistic {\n @ApiProperty()\n @IsDateString()\n date: string;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n idUser: number;\n}\n\nexport class QueryChecklistWallet extends RequiredQueryPaginate {\n @ApiProperty()\n @IsArray()\n idUser: number[];\n\n @ApiProperty()\n @IsDateString()\n date: string;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n search?: string;\n\n @ApiPropertyOptional()\n @IsArray()\n @IsOptional()\n idVatRegimes?: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n revisionRange?: { min: number; max: number };\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n state: 'todo' | 'inProgress' | 'done';\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n shouldRetrieveRevision: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n onlyChecklistPossible: boolean;\n}\n\nexport class QueryChecklistGetPaginated extends RequiredQueryPaginate {\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n search?: string;\n\n @ApiProperty()\n @IsArray()\n idUser: number[];\n\n @ApiPropertyOptional()\n @IsArray()\n @IsOptional()\n vatRegime?: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n takePriority?: boolean;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n state?: number;\n\n @ApiProperty()\n @IsDate()\n closingDate: Date;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n minimalTurnover?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n maximalTurnover?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt({ each: true })\n idComptaType?: number[];\n}\n\nexport class QueryChecklistGetStats {\n @ApiProperty()\n @IsArray()\n idUser: number[];\n\n @ApiProperty()\n @IsDate()\n closingDate: Date;\n}\n\nexport class QueryGetAllQuestions {\n @ApiPropertyOptional()\n @IsOptional()\n @IsEnum(ChecklistTypeEnum)\n type?: ChecklistTypeEnum;\n}\n\nexport class QueryGetAllBlockingIssues {\n questionsList: IChecklistType[];\n answers: IChecklistDetail[];\n}\n\nexport class QueryGetToComplete {\n @ApiProperty()\n @IsNumber()\n @IsPositive()\n idSociety: number;\n}\n\nexport class QueryChecklistQuestions {\n @ApiProperty()\n @IsNumber()\n @IsPositive()\n idExercice: number;\n}\n\nexport class QueryChecklistUpdate {\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n force?: boolean;\n}\n\nexport class QueryGenerateAdvice {\n @ApiProperty()\n @IsInt()\n idSociety: number;\n\n @ApiProperty()\n @IsInt()\n idExercice: number;\n}\n"]}
|
|
@@ -1,6 +1,16 @@
|
|
|
1
|
-
import { ChecklistDetailValue } from '../../../Enum/ChecklistType';
|
|
1
|
+
import { ChecklistDetailValue, ChecklistTypeEnum } from '../../../Enum/ChecklistType';
|
|
2
|
+
import { IChecklist } from '../../models/IChecklist';
|
|
2
3
|
export declare class UpdateAnswer {
|
|
3
4
|
name: string;
|
|
4
5
|
value: ChecklistDetailValue;
|
|
5
6
|
}
|
|
7
|
+
export declare class UpdateChecklist implements Partial<IChecklist> {
|
|
8
|
+
revisionDate?: Date;
|
|
9
|
+
idUserWhoValidate?: number;
|
|
10
|
+
validateDate?: Date;
|
|
11
|
+
idUserFront?: number;
|
|
12
|
+
isConfirmed?: boolean;
|
|
13
|
+
type?: ChecklistTypeEnum;
|
|
14
|
+
force?: boolean;
|
|
15
|
+
}
|
|
6
16
|
//# sourceMappingURL=Update.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Update.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/checklist/Update.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;
|
|
1
|
+
{"version":3,"file":"Update.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/checklist/Update.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,oBAAoB,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AACtF,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAGrD,qBAAa,YAAY;IAGvB,IAAI,EAAE,MAAM,CAAC;IAIb,KAAK,EAAE,oBAAoB,CAAC;CAC7B;AAED,qBAAa,eAAgB,YAAW,OAAO,CAAC,UAAU,CAAC;IAIzD,YAAY,CAAC,EAAE,IAAI,CAAC;IAKpB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAK3B,YAAY,CAAC,EAAE,IAAI,CAAC;IAKpB,WAAW,CAAC,EAAE,MAAM,CAAC;IAMrB,WAAW,CAAC,EAAE,OAAO,CAAC;IAKtB,IAAI,CAAC,EAAE,iBAAiB,CAAC;IAMzB,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB"}
|
|
@@ -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,
|
|
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 @@
|
|
|
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"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GetAvailableDashboardBlocks.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/feature/GetAvailableDashboardBlocks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAE9D,MAAM,WAAW,mCAAmC;IAClD,eAAe,EAAE,cAAc,EAAE,CAAC;CACnC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GetAvailableDashboardBlocks.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/feature/GetAvailableDashboardBlocks.ts"],"names":[],"mappings":"","sourcesContent":["import { DashboardBlock } from '../../../Enum/DashboardBlock';\n\nexport interface GetAvailableDashboardBlocksResponse {\n dashboardBlocks: DashboardBlock[];\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;
|
|
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":"","sources":["../../../../../../ts/types/Interface/api/gedFile/createFileAndGed.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"createFileAndGed.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/gedFile/createFileAndGed.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA2F;AAC3F,6CAAqE;AAErE,sFAA2E;AAE3E,MAAa,gBAAgB;CA2E5B;AA3ED,4CA2EC;AAzEC;IADC,IAAA,mBAAW,GAAE;;8CACF;AAIZ;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;kDACM;AAIjB;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,wBAAM,GAAE;8BACK,IAAI;sDAAC;AAInB;IAFC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;;oDACc;AAM3B;IAJC,IAAA,2BAAmB,GAAE;IACrB,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACb,gEAAgE;;;uDACzC;AAIvB;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;gDACI;AAIf;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;qDACS;AAIpB;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;mDACO;AAKlB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;kDACK;AAKlB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;oDACO;AAKpB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;wDACW;AAKxB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;qEACwB;AAKrC;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;uDACU;AAMvB;IAJC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;;0DACsB;AAMlC;IAJC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,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?:
|
|
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[];
|