@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,14 @@
|
|
|
1
|
+
import { IsInt, IsOptional } from 'class-validator';
|
|
2
|
+
import { ApiPropertyOptional } from '../../../../utils';
|
|
3
|
+
|
|
4
|
+
export class QueryDocumentRequest {
|
|
5
|
+
@ApiPropertyOptional()
|
|
6
|
+
@IsOptional()
|
|
7
|
+
@IsInt()
|
|
8
|
+
idExercice?: number;
|
|
9
|
+
|
|
10
|
+
@ApiPropertyOptional()
|
|
11
|
+
@IsOptional()
|
|
12
|
+
@IsInt()
|
|
13
|
+
idBalanceSheet?: number;
|
|
14
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IsBoolean, IsDate, IsNumber, IsOptional, IsString } from 'class-validator';
|
|
1
|
+
import { IsBoolean, IsDate, IsInt, IsNumber, IsOptional, IsString } from 'class-validator';
|
|
2
2
|
import { ApiPropertyOptional, ApiProperty } from '../../../../utils';
|
|
3
3
|
import { TFile } from '../file/TFile';
|
|
4
4
|
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
@@ -22,6 +22,7 @@ export class CreateFileAndGed {
|
|
|
22
22
|
@ApiPropertyOptional()
|
|
23
23
|
@IsNumber()
|
|
24
24
|
@IsOptional()
|
|
25
|
+
/** @deprecated use TypeFile enum with GedFile.typeFile field */
|
|
25
26
|
idTypeGedFile?: number;
|
|
26
27
|
|
|
27
28
|
@ApiProperty()
|
|
@@ -72,4 +73,9 @@ export class CreateFileAndGed {
|
|
|
72
73
|
@IsBoolean()
|
|
73
74
|
@ToBoolean()
|
|
74
75
|
formatFileName?: boolean | null;
|
|
76
|
+
|
|
77
|
+
@ApiPropertyOptional()
|
|
78
|
+
@IsOptional()
|
|
79
|
+
@IsInt()
|
|
80
|
+
idDocumentRequest?: number | null;
|
|
75
81
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { IsIn, IsOptional, IsString, IsNumber, IsBoolean, IsInt, IsDateString, IsArray } from 'class-validator';
|
|
2
2
|
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
3
|
-
import { GedFolder, GedFileType, GedCategory } from '../../../Enum/Ged';
|
|
3
|
+
import { GedFolder, GedFileType, GedCategory, TypeFile } from '../../../Enum/Ged';
|
|
4
4
|
import { RequiredQueryPaginate } from '../BasePaginate';
|
|
5
5
|
import { TFile } from '../file/TFile';
|
|
6
6
|
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
@@ -13,6 +13,7 @@ export class QueryLibraryFile {
|
|
|
13
13
|
idGedFolder?: GedFolder;
|
|
14
14
|
|
|
15
15
|
@ApiPropertyOptional()
|
|
16
|
+
/** @deprecated use TypeFile enum with GedFile.typeFile field */
|
|
16
17
|
idTypeGedFile?: GedFileType | GedFileType[];
|
|
17
18
|
|
|
18
19
|
@ApiPropertyOptional()
|
|
@@ -36,7 +37,7 @@ export class QueryLibraryFile {
|
|
|
36
37
|
@ApiPropertyOptional()
|
|
37
38
|
@IsNumber()
|
|
38
39
|
@IsOptional()
|
|
39
|
-
typeFile?:
|
|
40
|
+
typeFile?: TypeFile;
|
|
40
41
|
|
|
41
42
|
@ApiPropertyOptional()
|
|
42
43
|
@IsBoolean()
|
|
@@ -149,6 +150,7 @@ export class QueryLastFileOfType {
|
|
|
149
150
|
idSociety: number;
|
|
150
151
|
|
|
151
152
|
@ApiProperty()
|
|
153
|
+
/** @deprecated Use TypeFile enum instead with GedFile.typeFile field */
|
|
152
154
|
idTypeGedFile: GedFileType;
|
|
153
155
|
|
|
154
156
|
@ApiPropertyOptional()
|
|
@@ -20,17 +20,27 @@ export class QueryPayments {
|
|
|
20
20
|
@IsOptional()
|
|
21
21
|
@IsString()
|
|
22
22
|
reference?: string;
|
|
23
|
-
|
|
23
|
+
|
|
24
24
|
@ApiPropertyOptional()
|
|
25
25
|
@IsOptional()
|
|
26
26
|
@IsString()
|
|
27
27
|
internComment?: string;
|
|
28
|
-
|
|
28
|
+
|
|
29
29
|
@ApiPropertyOptional()
|
|
30
30
|
@IsOptional()
|
|
31
31
|
@IsInt()
|
|
32
32
|
idFile?: number;
|
|
33
|
-
|
|
33
|
+
|
|
34
|
+
@ApiPropertyOptional()
|
|
35
|
+
@IsOptional()
|
|
36
|
+
@IsInt()
|
|
37
|
+
idExercice?: number;
|
|
38
|
+
|
|
39
|
+
@ApiPropertyOptional()
|
|
40
|
+
@IsOptional()
|
|
41
|
+
@IsInt()
|
|
42
|
+
idPrestation?: number;
|
|
43
|
+
|
|
34
44
|
@ApiPropertyOptional()
|
|
35
45
|
@IsOptional()
|
|
36
46
|
@IsBoolean()
|
|
@@ -7,7 +7,7 @@ export class QueryGetPaymentExpectation {
|
|
|
7
7
|
@IsOptional()
|
|
8
8
|
@IsInt()
|
|
9
9
|
idPrestation?: number;
|
|
10
|
-
|
|
10
|
+
|
|
11
11
|
@ApiPropertyOptional()
|
|
12
12
|
@IsOptional()
|
|
13
13
|
@IsString()
|
|
@@ -15,8 +15,8 @@ export class QueryGetPaymentExpectation {
|
|
|
15
15
|
|
|
16
16
|
@ApiPropertyOptional()
|
|
17
17
|
@IsOptional()
|
|
18
|
-
@IsString({each: true})
|
|
19
|
-
@IsIn(['society', 'owner'], { each: true })
|
|
18
|
+
@IsString({ each: true })
|
|
19
|
+
@IsIn(['society', 'owner', 'prestation'], { each: true })
|
|
20
20
|
includes?: string[];
|
|
21
21
|
}
|
|
22
22
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IFile } from '../../..';
|
|
1
|
+
import { IFile, TypeFile } from '../../..';
|
|
2
2
|
|
|
3
3
|
export type UnpaidDetail = {
|
|
4
4
|
datePayment: Date;
|
|
@@ -20,6 +20,10 @@ export type ReadAskOrRequiredDocuments = {
|
|
|
20
20
|
name: string;
|
|
21
21
|
status: string;
|
|
22
22
|
idGedFolder: number;
|
|
23
|
-
idGedFileType
|
|
24
|
-
|
|
23
|
+
idGedFileType?: number;
|
|
24
|
+
typeFile?: TypeFile;
|
|
25
|
+
idDocumentRequest?: number;
|
|
26
|
+
idExercice?: number;
|
|
27
|
+
idBalanceSheet?: number;
|
|
28
|
+
idBankAccount?: number;
|
|
25
29
|
};
|
|
@@ -14,27 +14,29 @@ export interface IAttestation {
|
|
|
14
14
|
idExercice: number | null;
|
|
15
15
|
idSociety: number | null;
|
|
16
16
|
idSupervisor: number | null;
|
|
17
|
-
idUserDemand
|
|
18
|
-
idPaymentExpectation
|
|
19
|
-
idFile
|
|
17
|
+
idUserDemand?: number | null;
|
|
18
|
+
idPaymentExpectation?: number | null;
|
|
19
|
+
idFile?: number | null;
|
|
20
20
|
annoted: boolean;
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
21
|
+
factured: number;
|
|
22
|
+
sendDate?: Date | null;
|
|
23
|
+
textPdf?: string | null;
|
|
24
|
+
isSign?: boolean | null;
|
|
25
|
+
done?: boolean | null;
|
|
26
|
+
idMailPayment?: number | null;
|
|
27
|
+
idMailValidation?: number | null;
|
|
28
|
+
fileLink?: string;
|
|
27
29
|
createdAt?: Date | null;
|
|
28
30
|
updatedAt?: Date | null;
|
|
29
31
|
|
|
30
32
|
// Associations
|
|
31
|
-
attestationSupervisor
|
|
32
|
-
attestationUserDemand
|
|
33
|
-
prestationsList
|
|
34
|
-
attestationPaymentExpectation
|
|
35
|
-
attestationFiles
|
|
36
|
-
society
|
|
37
|
-
exercices
|
|
38
|
-
paymentMail
|
|
39
|
-
validationMail
|
|
33
|
+
attestationSupervisor?: IUser | null;
|
|
34
|
+
attestationUserDemand?: IUser | null;
|
|
35
|
+
prestationsList?: IPrestationList;
|
|
36
|
+
attestationPaymentExpectation?: IPaymentExpectation | null;
|
|
37
|
+
attestationFiles?: IFile | null;
|
|
38
|
+
society?: ISociety | null;
|
|
39
|
+
exercices?: IExercice | null;
|
|
40
|
+
paymentMail?: IMail | null;
|
|
41
|
+
validationMail?: IMail | null;
|
|
40
42
|
}
|
|
@@ -20,8 +20,8 @@ export interface IChecklist {
|
|
|
20
20
|
startDate?: Date | null;
|
|
21
21
|
endDate?: Date | null;
|
|
22
22
|
notifyFront?: boolean;
|
|
23
|
-
idExercice
|
|
24
|
-
idCustomerVat
|
|
23
|
+
idExercice?: number | null;
|
|
24
|
+
idCustomerVat?: number | null;
|
|
25
25
|
createdAt?: Date | null;
|
|
26
26
|
updatedAt?: Date | null;
|
|
27
27
|
|
|
@@ -6,13 +6,13 @@ export interface IChecklistDetail {
|
|
|
6
6
|
id?: number;
|
|
7
7
|
value: string;
|
|
8
8
|
isAutomatic: boolean;
|
|
9
|
-
idBankAccount
|
|
9
|
+
idBankAccount?: number | null;
|
|
10
10
|
idTypeChecklist: number;
|
|
11
11
|
idChecklist: number;
|
|
12
12
|
createdAt?: Date | null;
|
|
13
13
|
updatedAt?: Date | null;
|
|
14
14
|
|
|
15
15
|
// Associations
|
|
16
|
-
typeChecklist
|
|
17
|
-
detailHasOneChecklist
|
|
16
|
+
typeChecklist?: IChecklistType;
|
|
17
|
+
detailHasOneChecklist?: IChecklist;
|
|
18
18
|
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { TypeFile } from '../../Enum/Ged';
|
|
2
|
+
import { ISociety } from './ISociety';
|
|
3
|
+
import { IExercice } from './IExercice';
|
|
4
|
+
import { IBalanceSheet } from './IBalanceSheet';
|
|
5
|
+
import { IUser } from './IUser';
|
|
6
|
+
import { IFile } from './IFile';
|
|
7
|
+
import { IGedFile } from './IGedFile';
|
|
8
|
+
|
|
9
|
+
export interface IDocumentRequest {
|
|
10
|
+
id: number;
|
|
11
|
+
idSociety: number;
|
|
12
|
+
idExercice?: number | null;
|
|
13
|
+
idBalanceSheet?: number | null;
|
|
14
|
+
idRequestedBy: number;
|
|
15
|
+
typeFile: TypeFile;
|
|
16
|
+
comment?: string | null;
|
|
17
|
+
|
|
18
|
+
// Associations
|
|
19
|
+
society?: ISociety;
|
|
20
|
+
exercice?: IExercice;
|
|
21
|
+
balanceSheet?: IBalanceSheet;
|
|
22
|
+
requestedBy?: IUser;
|
|
23
|
+
gedFiles?: IGedFile[];
|
|
24
|
+
files?: IFile[];
|
|
25
|
+
}
|
|
@@ -8,18 +8,21 @@ import { ICustomerSignature } from './ICustomerSignature';
|
|
|
8
8
|
import { IBalanceSheet } from './IBalanceSheet';
|
|
9
9
|
import { IBusinessPartner } from './IBusinessPartner';
|
|
10
10
|
import { IBankAccount } from './IBankAccount';
|
|
11
|
+
import { TypeFile } from '../../Enum/Ged';
|
|
12
|
+
import { IDocumentRequest } from './IDocumentRequest';
|
|
11
13
|
|
|
12
14
|
// gedFile
|
|
13
15
|
export interface IGedFile {
|
|
14
16
|
id?: number;
|
|
15
17
|
emissionDate?: Date | null;
|
|
16
18
|
statutFile?: number | null;
|
|
19
|
+
/** @deprecated Use typeFile field instead with TypeFile enum */
|
|
17
20
|
idTypeGedFile?: number | null;
|
|
18
21
|
idUser?: number | null;
|
|
19
22
|
idGedFolder: number;
|
|
20
23
|
idSociety: number;
|
|
21
24
|
idFile: number;
|
|
22
|
-
typeFile?:
|
|
25
|
+
typeFile?: TypeFile | null;
|
|
23
26
|
startDate?: Date | null;
|
|
24
27
|
endDate?: Date | null;
|
|
25
28
|
idExercice?: number | null;
|
|
@@ -27,6 +30,7 @@ export interface IGedFile {
|
|
|
27
30
|
idUserBP?: number | null; // Attention: lorsqu'on ajoute un fichier dans la modale "Documents manquants", on stock ici l'idUser associé au BP
|
|
28
31
|
idBusinessPartner?: number | null;
|
|
29
32
|
idBankAccount?: number | null;
|
|
33
|
+
idDocumentRequest?: number | null;
|
|
30
34
|
createdAt?: Date | null;
|
|
31
35
|
updatedAt?: Date | null;
|
|
32
36
|
|
|
@@ -42,4 +46,5 @@ export interface IGedFile {
|
|
|
42
46
|
userBP?: IUser;
|
|
43
47
|
customerSignature?: ICustomerSignature;
|
|
44
48
|
bankAccount?: IBankAccount;
|
|
49
|
+
documentRequest?: IDocumentRequest;
|
|
45
50
|
}
|
package/ts/types/index.ts
CHANGED
|
@@ -324,6 +324,7 @@ export * from './Interface/models/IStateBankAccount';
|
|
|
324
324
|
export * from './Interface/models/IAIQuestion';
|
|
325
325
|
export * from './Interface/models/IAIConversation';
|
|
326
326
|
export * from './Interface/models/IPaymentAttempt';
|
|
327
|
+
export * from './Interface/models/IDocumentRequest';
|
|
327
328
|
|
|
328
329
|
// Schemas
|
|
329
330
|
export * from './Interface/schemas/IRegistrationDetail';
|
|
@@ -343,6 +344,7 @@ export * from './Enum/VisualizedInformation';
|
|
|
343
344
|
export * from './Enum/NafCode';
|
|
344
345
|
export * from './Enum/Acceptance';
|
|
345
346
|
export * from './Enum/FolderFile';
|
|
347
|
+
export * from './Enum/DashboardBlock';
|
|
346
348
|
export * from './Enum/CommercialGrade';
|
|
347
349
|
export * from './Enum/CommercialOfferType';
|
|
348
350
|
export * from './Enum/CommercialManagement';
|
|
@@ -827,6 +829,7 @@ export * from './Interface/api/pappers/CreatePappers';
|
|
|
827
829
|
export * from './Interface/api/bankAccount/Query';
|
|
828
830
|
export * from './Interface/api/bankAccount/Update';
|
|
829
831
|
export * from './Interface/api/stripe/QueryStripe';
|
|
832
|
+
export * from './Interface/api/balanceSheetReport/Query';
|
|
830
833
|
export * from './Interface/api/supervision/Query';
|
|
831
834
|
export * from './Interface/api/supervision/Read';
|
|
832
835
|
export * from './Interface/api/salariesFile/ReadSalariesFile';
|
|
@@ -1135,6 +1138,8 @@ export * from './Interface/api/absenceRequest/CreateAbsenceRequest';
|
|
|
1135
1138
|
export * from './Interface/api/absenceRequest/ReadAbsenceRequest';
|
|
1136
1139
|
export * from './Interface/api/recurrence/Query';
|
|
1137
1140
|
export * from './Interface/api/recurrence/Read';
|
|
1141
|
+
export * from './Interface/api/documentRequest/Query';
|
|
1142
|
+
export * from './Interface/api/documentRequest/Create';
|
|
1138
1143
|
|
|
1139
1144
|
// Enums types
|
|
1140
1145
|
export * from './Interface/enum/Util';
|
package/ts/utils/vat/utils.ts
CHANGED
|
@@ -52,7 +52,7 @@ export function getTaxAmountByAccountNumber(
|
|
|
52
52
|
accountingEntry.account.number.toString().startsWith(number)
|
|
53
53
|
) {
|
|
54
54
|
// eslint-disable-next-line no-console
|
|
55
|
-
if (logging) console.log(
|
|
55
|
+
if (logging) console.log('\'\'');
|
|
56
56
|
// eslint-disable-next-line no-console
|
|
57
57
|
if (logging) console.log(accountingEntry);
|
|
58
58
|
|
|
@@ -70,12 +70,12 @@ export function getTaxAmountByAccountNumber(
|
|
|
70
70
|
|
|
71
71
|
export function textFormatting(value: any, length: number | null = null, start?: number): string | null {
|
|
72
72
|
if (value && typeof value === 'string') {
|
|
73
|
-
let formattedValue = value.replace(/[\u2018\u2019]/g,
|
|
73
|
+
let formattedValue = value.replace(/[\u2018\u2019]/g, '\''); // Suppression des "Curly Quotes"
|
|
74
74
|
formattedValue = formattedValue.replace(/&/g, ''); // Suppression des &
|
|
75
75
|
formattedValue = formattedValue.replace(/!/g, ''); // Suppression des !
|
|
76
76
|
formattedValue = formattedValue.replace(/[\t]/g, ''); // Suppression des tabulations
|
|
77
77
|
|
|
78
|
-
formattedValue = formattedValue.replace(/`/g,
|
|
78
|
+
formattedValue = formattedValue.replace(/`/g, '\''); // Suppression des `
|
|
79
79
|
formattedValue = formattedValue.replace(/"/g, ''); // Suppression des "
|
|
80
80
|
formattedValue = formattedValue.replace(/^ */, ''); // Suppression des espaces de début
|
|
81
81
|
formattedValue = formattedValue.replace(/ *$/, ''); // Suppression des espaces de fin
|
package/ts/utils/webmail.ts
CHANGED
|
@@ -7,7 +7,8 @@ const getIdRoleUsedForEmail = (listRoles: number[]): Role => {
|
|
|
7
7
|
} else if (listRoles.includes(Role.TECHNICAL_ADVISOR)) {
|
|
8
8
|
idRole = Role.TECHNICAL_ADVISOR;
|
|
9
9
|
} else if (listRoles.includes(Role.FRONT_OFFICE)) {
|
|
10
|
-
idRole = Role.FRONT_OFFICE;
|
|
10
|
+
// idRole = Role.FRONT_OFFICE;
|
|
11
|
+
idRole = Role.CUSTOMER_SUCCESS;
|
|
11
12
|
} else if (listRoles.includes(Role.FRONT_OFFICE_EXPRESS)) {
|
|
12
13
|
idRole = Role.FRONT_OFFICE_EXPRESS;
|
|
13
14
|
} else if (listRoles.includes(Role.DATA_OFFICER)) {
|
|
@@ -31,21 +32,23 @@ const getIdRoleUsedForEmail = (listRoles: number[]): Role => {
|
|
|
31
32
|
};
|
|
32
33
|
|
|
33
34
|
const getListIdRolesUsedForEmail = (listRoles: number[]): Role[] => {
|
|
34
|
-
const listIdRoles:Role[] = listRoles.filter(r =>
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
35
|
+
const listIdRoles: Role[] = listRoles.filter((r) =>
|
|
36
|
+
[
|
|
37
|
+
Role.FACTURATION,
|
|
38
|
+
Role.CUSTOMER_SUCCESS,
|
|
39
|
+
Role.TECHNICAL_ADVISOR,
|
|
40
|
+
Role.FRONT_OFFICE,
|
|
41
|
+
Role.FRONT_OFFICE_EXPRESS,
|
|
42
|
+
Role.DATA_OFFICER,
|
|
43
|
+
Role.COMMERCIAL,
|
|
44
|
+
Role.EXPERT_ACCOUNTANT,
|
|
45
|
+
Role.JURIDICAL_SUPPORT,
|
|
46
|
+
Role.JURIDIC,
|
|
47
|
+
Role.SOCIAL,
|
|
48
|
+
Role.ON_BOARDER,
|
|
49
|
+
Role.SATISFACTION,
|
|
50
|
+
].includes(r),
|
|
51
|
+
);
|
|
49
52
|
return listIdRoles;
|
|
50
53
|
};
|
|
51
54
|
|