@silexpert/core 1.0.103 → 1.0.106
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/es/api/resources/BalanceSheet.d.ts +2 -1
- package/es/api/resources/BalanceSheet.d.ts.map +1 -1
- package/es/api/resources/BalanceSheet.js +3 -0
- package/es/api/resources/BalanceSheet.js.map +1 -1
- package/es/api/resources/Exercice.d.ts +2 -1
- package/es/api/resources/Exercice.d.ts.map +1 -1
- package/es/api/resources/Exercice.js +3 -0
- package/es/api/resources/Exercice.js.map +1 -1
- package/es/api/resources/Library.d.ts +3 -0
- package/es/api/resources/Library.d.ts.map +1 -1
- package/es/api/resources/Library.js +9 -0
- package/es/api/resources/Library.js.map +1 -1
- package/es/api/resources/SignFile.d.ts +6 -0
- package/es/api/resources/SignFile.d.ts.map +1 -0
- package/es/api/resources/SignFile.js +7 -0
- package/es/api/resources/SignFile.js.map +1 -0
- package/es/api/resources/SocietyConfigBalanceSheet.d.ts +10 -0
- package/es/api/resources/SocietyConfigBalanceSheet.d.ts.map +1 -0
- package/es/api/resources/SocietyConfigBalanceSheet.js +19 -0
- package/es/api/resources/SocietyConfigBalanceSheet.js.map +1 -0
- package/es/api/resources.d.ts +4 -0
- package/es/api/resources.d.ts.map +1 -1
- package/es/api/resources.js +4 -0
- package/es/api/resources.js.map +1 -1
- package/es/types/Enum/BalanceSheet.d.ts +118 -1
- package/es/types/Enum/BalanceSheet.d.ts.map +1 -1
- package/es/types/Enum/BalanceSheet.js +136 -0
- package/es/types/Enum/BalanceSheet.js.map +1 -1
- package/es/types/Enum/BrandClementine.d.ts +25 -0
- package/es/types/Enum/BrandClementine.d.ts.map +1 -1
- package/es/types/Enum/BrandClementine.js +5 -0
- package/es/types/Enum/BrandClementine.js.map +1 -1
- package/es/types/Enum/BrandComptalib.d.ts +20 -0
- package/es/types/Enum/BrandComptalib.d.ts.map +1 -1
- package/es/types/Enum/BrandComptalib.js +5 -0
- package/es/types/Enum/BrandComptalib.js.map +1 -1
- package/es/types/Enum/BrandPourcentage.d.ts +5 -0
- package/es/types/Enum/BrandPourcentage.d.ts.map +1 -1
- package/es/types/Enum/BrandPourcentage.js +5 -0
- package/es/types/Enum/BrandPourcentage.js.map +1 -1
- package/es/types/Enum/DepositDocumentType.d.ts +35 -0
- package/es/types/Enum/DepositDocumentType.d.ts.map +1 -0
- package/es/types/Enum/DepositDocumentType.js +191 -0
- package/es/types/Enum/DepositDocumentType.js.map +1 -0
- package/es/types/Enum/Ged.d.ts +17 -1
- package/es/types/Enum/Ged.d.ts.map +1 -1
- package/es/types/Enum/Ged.js +17 -8
- package/es/types/Enum/Ged.js.map +1 -1
- package/es/types/Enum/RevisionGuide.d.ts +56 -6
- package/es/types/Enum/RevisionGuide.d.ts.map +1 -1
- package/es/types/Enum/RevisionGuide.js +54 -4
- package/es/types/Enum/RevisionGuide.js.map +1 -1
- package/es/types/Enum/RoleDetail.js +1 -1
- package/es/types/Enum/RoleDetail.js.map +1 -1
- package/es/types/Enum/StatusSignature.d.ts +9 -0
- package/es/types/Enum/StatusSignature.d.ts.map +1 -0
- package/es/types/Enum/StatusSignature.js +10 -0
- package/es/types/Enum/StatusSignature.js.map +1 -0
- package/es/types/Interface/api/balanceSheet/UpdateBalanceSheet.d.ts +8 -0
- package/es/types/Interface/api/balanceSheet/UpdateBalanceSheet.d.ts.map +1 -0
- package/es/types/Interface/api/balanceSheet/UpdateBalanceSheet.js +44 -0
- package/es/types/Interface/api/balanceSheet/UpdateBalanceSheet.js.map +1 -0
- package/es/types/Interface/api/commercialManagement/Create.d.ts +18 -0
- package/es/types/Interface/api/commercialManagement/Create.d.ts.map +1 -1
- package/es/types/Interface/api/commercialManagement/Create.js +14 -0
- package/es/types/Interface/api/commercialManagement/Create.js.map +1 -1
- package/es/types/Interface/api/commercialManagement/Read.d.ts +3 -0
- package/es/types/Interface/api/commercialManagement/Read.d.ts.map +1 -1
- package/es/types/Interface/api/commercialManagement/Read.js.map +1 -1
- package/es/types/Interface/api/exercice/UpdateExercice.d.ts +16 -0
- package/es/types/Interface/api/exercice/UpdateExercice.d.ts.map +1 -0
- package/es/types/Interface/api/exercice/UpdateExercice.js +101 -0
- package/es/types/Interface/api/exercice/UpdateExercice.js.map +1 -0
- package/es/types/Interface/api/facturation/CreateRebilling.d.ts +1 -1
- package/es/types/Interface/api/facturation/CreateRebilling.js +3 -3
- package/es/types/Interface/api/facturation/CreateRebilling.js.map +1 -1
- package/es/types/Interface/api/gedFile/createFileAndGed.d.ts +15 -0
- package/es/types/Interface/api/gedFile/createFileAndGed.d.ts.map +1 -0
- package/es/types/Interface/api/gedFile/createFileAndGed.js +73 -0
- package/es/types/Interface/api/gedFile/createFileAndGed.js.map +1 -0
- package/es/types/Interface/api/gedFile/updateGedFile.d.ts +1 -0
- package/es/types/Interface/api/gedFile/updateGedFile.d.ts.map +1 -1
- package/es/types/Interface/api/gedFile/updateGedFile.js +4 -0
- package/es/types/Interface/api/gedFile/updateGedFile.js.map +1 -1
- package/es/types/Interface/api/library/QueryLibrary.d.ts +6 -0
- package/es/types/Interface/api/library/QueryLibrary.d.ts.map +1 -1
- package/es/types/Interface/api/library/QueryLibrary.js +41 -0
- package/es/types/Interface/api/library/QueryLibrary.js.map +1 -1
- package/es/types/Interface/api/signFile/CreateFileToSign.d.ts +12 -0
- package/es/types/Interface/api/signFile/CreateFileToSign.d.ts.map +1 -0
- package/es/types/Interface/api/signFile/CreateFileToSign.js +58 -0
- package/es/types/Interface/api/signFile/CreateFileToSign.js.map +1 -0
- package/es/types/Interface/api/societyConfigBalanceSheet/QueryGetAllSocietyConfigBalanceSheet.d.ts +6 -0
- package/es/types/Interface/api/societyConfigBalanceSheet/QueryGetAllSocietyConfigBalanceSheet.d.ts.map +1 -0
- package/es/types/Interface/api/societyConfigBalanceSheet/QueryGetAllSocietyConfigBalanceSheet.js +36 -0
- package/es/types/Interface/api/societyConfigBalanceSheet/QueryGetAllSocietyConfigBalanceSheet.js.map +1 -0
- package/es/types/Interface/api/societyConfigBalanceSheet/QueryPaginatedSocietyConfigBalanceSheet.d.ts +11 -0
- package/es/types/Interface/api/societyConfigBalanceSheet/QueryPaginatedSocietyConfigBalanceSheet.d.ts.map +1 -0
- package/es/types/Interface/api/societyConfigBalanceSheet/QueryPaginatedSocietyConfigBalanceSheet.js +58 -0
- package/es/types/Interface/api/societyConfigBalanceSheet/QueryPaginatedSocietyConfigBalanceSheet.js.map +1 -0
- package/es/types/Interface/models/ICustomerSignature.d.ts +5 -2
- package/es/types/Interface/models/ICustomerSignature.d.ts.map +1 -1
- package/es/types/Interface/models/ICustomerSignature.js.map +1 -1
- package/es/types/Interface/models/IExercice.d.ts +1 -1
- package/es/types/Interface/models/IExercice.js.map +1 -1
- package/es/types/Interface/models/IGedFile.d.ts +1 -0
- package/es/types/Interface/models/IGedFile.d.ts.map +1 -1
- package/es/types/Interface/models/IGedFile.js.map +1 -1
- package/es/types/Interface/models/ISocietyConfigBalanceSheet.d.ts +9 -3
- package/es/types/Interface/models/ISocietyConfigBalanceSheet.d.ts.map +1 -1
- package/es/types/Interface/models/ISocietyConfigBalanceSheet.js.map +1 -1
- package/es/types/Interface/models/ISocietyGescom.d.ts +2 -0
- package/es/types/Interface/models/ISocietyGescom.d.ts.map +1 -1
- package/es/types/Interface/models/ISocietyGescom.js.map +1 -1
- package/es/types/index.d.ts +8 -0
- package/es/types/index.d.ts.map +1 -1
- package/es/types/index.js +8 -0
- package/es/types/index.js.map +1 -1
- package/es/utils/amount.d.ts +4 -0
- package/es/utils/amount.d.ts.map +1 -1
- package/es/utils/amount.js +23 -0
- package/es/utils/amount.js.map +1 -1
- package/es/utils/commercialManagement/document.d.ts +4 -3
- package/es/utils/commercialManagement/document.d.ts.map +1 -1
- package/es/utils/commercialManagement/document.js +59 -13
- package/es/utils/commercialManagement/document.js.map +1 -1
- package/es/utils/commercialManagement/templates/common.d.ts +4 -0
- package/es/utils/commercialManagement/templates/common.d.ts.map +1 -1
- package/es/utils/commercialManagement/templates/common.js +123 -2
- package/es/utils/commercialManagement/templates/common.js.map +1 -1
- package/js/api/resources/BalanceSheet.js +4 -0
- package/js/api/resources/BalanceSheet.js.map +1 -1
- package/js/api/resources/Exercice.js +4 -0
- package/js/api/resources/Exercice.js.map +1 -1
- package/js/api/resources/Library.js +18 -0
- package/js/api/resources/Library.js.map +1 -1
- package/js/api/resources/SignFile.js +22 -0
- package/js/api/resources/SignFile.js.map +1 -0
- package/js/api/resources/SocietyConfigBalanceSheet.js +36 -0
- package/js/api/resources/SocietyConfigBalanceSheet.js.map +1 -0
- package/js/api/resources.js +6 -0
- package/js/api/resources.js.map +1 -1
- package/js/types/Enum/BalanceSheet.js +118 -1
- package/js/types/Enum/BalanceSheet.js.map +1 -1
- package/js/types/Enum/BrandClementine.js +6 -1
- package/js/types/Enum/BrandClementine.js.map +1 -1
- package/js/types/Enum/BrandComptalib.js +6 -1
- package/js/types/Enum/BrandComptalib.js.map +1 -1
- package/js/types/Enum/BrandPourcentage.js +6 -1
- package/js/types/Enum/BrandPourcentage.js.map +1 -1
- package/js/types/Enum/DepositDocumentType.js +166 -0
- package/js/types/Enum/DepositDocumentType.js.map +1 -0
- package/js/types/Enum/Ged.js +23 -11
- package/js/types/Enum/Ged.js.map +1 -1
- package/js/types/Enum/RevisionGuide.js +55 -4
- package/js/types/Enum/RevisionGuide.js.map +1 -1
- package/js/types/Enum/RoleDetail.js +1 -1
- package/js/types/Enum/RoleDetail.js.map +1 -1
- package/js/types/Enum/StatusSignature.js +16 -0
- package/js/types/Enum/StatusSignature.js.map +1 -0
- package/js/types/Interface/api/balanceSheet/UpdateBalanceSheet.js +37 -0
- package/js/types/Interface/api/balanceSheet/UpdateBalanceSheet.js.map +1 -0
- package/js/types/Interface/api/commercialManagement/Create.js +4 -0
- package/js/types/Interface/api/commercialManagement/Create.js.map +1 -1
- package/js/types/Interface/api/exercice/UpdateExercice.js +55 -0
- package/js/types/Interface/api/exercice/UpdateExercice.js.map +1 -0
- package/js/types/Interface/api/facturation/CreateRebilling.js +1 -1
- package/js/types/Interface/api/facturation/CreateRebilling.js.map +1 -1
- package/js/types/Interface/api/gedFile/createFileAndGed.js +49 -0
- package/js/types/Interface/api/gedFile/createFileAndGed.js.map +1 -0
- package/js/types/Interface/api/gedFile/updateGedFile.js +2 -0
- package/js/types/Interface/api/gedFile/updateGedFile.js.map +1 -1
- package/js/types/Interface/api/library/QueryLibrary.js +26 -1
- package/js/types/Interface/api/library/QueryLibrary.js.map +1 -1
- package/js/types/Interface/api/signFile/CreateFileToSign.js +43 -0
- package/js/types/Interface/api/signFile/CreateFileToSign.js.map +1 -0
- package/js/types/Interface/api/societyConfigBalanceSheet/QueryGetAllSocietyConfigBalanceSheet.js +39 -0
- package/js/types/Interface/api/societyConfigBalanceSheet/QueryGetAllSocietyConfigBalanceSheet.js.map +1 -0
- package/js/types/Interface/api/societyConfigBalanceSheet/QueryPaginatedSocietyConfigBalanceSheet.js +43 -0
- package/js/types/Interface/api/societyConfigBalanceSheet/QueryPaginatedSocietyConfigBalanceSheet.js.map +1 -0
- package/js/types/index.js +96 -0
- package/js/types/index.js.map +1 -1
- package/js/utils/amount.js +31 -0
- package/js/utils/amount.js.map +1 -1
- package/js/utils/commercialManagement/document.js +52 -4
- package/js/utils/commercialManagement/document.js.map +1 -1
- package/js/utils/commercialManagement/templates/common.js +127 -2
- package/js/utils/commercialManagement/templates/common.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/BalanceSheet.ts +5 -1
- package/ts/api/resources/Exercice.ts +5 -1
- package/ts/api/resources/Library.ts +12 -0
- package/ts/api/resources/SignFile.ts +8 -0
- package/ts/api/resources/SocietyConfigBalanceSheet.ts +27 -0
- package/ts/api/resources.ts +4 -0
- package/ts/types/Enum/BalanceSheet.ts +137 -0
- package/ts/types/Enum/BrandClementine.ts +5 -0
- package/ts/types/Enum/BrandComptalib.ts +5 -0
- package/ts/types/Enum/BrandPourcentage.ts +5 -0
- package/ts/types/Enum/DepositDocumentType.ts +194 -0
- package/ts/types/Enum/Ged.ts +17 -8
- package/ts/types/Enum/RevisionGuide.ts +56 -5
- package/ts/types/Enum/RoleDetail.ts +1 -1
- package/ts/types/Enum/StatusSignature.ts +8 -0
- package/ts/types/Interface/api/balanceSheet/UpdateBalanceSheet.ts +31 -0
- package/ts/types/Interface/api/commercialManagement/Create.ts +30 -1
- package/ts/types/Interface/api/commercialManagement/Read.ts +4 -0
- package/ts/types/Interface/api/exercice/UpdateExercice.ts +80 -0
- package/ts/types/Interface/api/facturation/CreateRebilling.ts +3 -3
- package/ts/types/Interface/api/gedFile/createFileAndGed.ts +55 -0
- package/ts/types/Interface/api/gedFile/updateGedFile.ts +3 -0
- package/ts/types/Interface/api/library/QueryLibrary.ts +34 -0
- package/ts/types/Interface/api/signFile/CreateFileToSign.ts +41 -0
- package/ts/types/Interface/api/societyConfigBalanceSheet/QueryGetAllSocietyConfigBalanceSheet.ts +25 -0
- package/ts/types/Interface/api/societyConfigBalanceSheet/QueryPaginatedSocietyConfigBalanceSheet.ts +42 -0
- package/ts/types/Interface/models/ICustomerSignature.ts +5 -2
- package/ts/types/Interface/models/IExercice.ts +1 -1
- package/ts/types/Interface/models/IGedFile.ts +1 -0
- package/ts/types/Interface/models/ISocietyConfigBalanceSheet.ts +9 -3
- package/ts/types/Interface/models/ISocietyGescom.ts +2 -0
- package/ts/types/index.ts +8 -0
- package/ts/utils/amount.ts +37 -0
- package/ts/utils/commercialManagement/document.ts +135 -27
- package/ts/utils/commercialManagement/templates/common.ts +126 -2
|
@@ -0,0 +1,194 @@
|
|
|
1
|
+
import { GedFolder } from './Ged';
|
|
2
|
+
|
|
3
|
+
export enum IdDocumentType {
|
|
4
|
+
ASSURANCE = 1,
|
|
5
|
+
EMPRUNT = 2,
|
|
6
|
+
CREDIT_BAIL = 3,
|
|
7
|
+
BANQUE = 4,
|
|
8
|
+
CAISSE = 5,
|
|
9
|
+
RELEVE = 6,
|
|
10
|
+
PV_AG = 7,
|
|
11
|
+
CONVENTION = 8,
|
|
12
|
+
AUTRE_CONVENTION = 9,
|
|
13
|
+
RECIPROCITE = 10,
|
|
14
|
+
CA = 11,
|
|
15
|
+
SUBVENTION = 12,
|
|
16
|
+
CFE = 13,
|
|
17
|
+
TAXE = 14,
|
|
18
|
+
PENALITE = 15,
|
|
19
|
+
TVA = 16,
|
|
20
|
+
ATTESTATION = 17,
|
|
21
|
+
STOCK = 18,
|
|
22
|
+
FACTURE_FOURNISSEUR = 19,
|
|
23
|
+
FACTURE_CLIENT = 20,
|
|
24
|
+
AUTRE_FACTURE = 21,
|
|
25
|
+
CARTE_GRISE = 22,
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export const DepositDocumentType = [
|
|
29
|
+
{
|
|
30
|
+
name: 'Contrats & échéanciers',
|
|
31
|
+
documents: [
|
|
32
|
+
{
|
|
33
|
+
id: IdDocumentType.ASSURANCE,
|
|
34
|
+
name: 'Assurance',
|
|
35
|
+
description: 'Télécharger les assurances ici',
|
|
36
|
+
idGedFolder: GedFolder.INSURANCES,
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
id: IdDocumentType.EMPRUNT,
|
|
40
|
+
name: 'Emprunt',
|
|
41
|
+
description: 'Télécharger les emprunts ici',
|
|
42
|
+
idGedFolder: GedFolder.BORROWING_TABLES,
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
id: IdDocumentType.CREDIT_BAIL,
|
|
46
|
+
name: 'Crédit Bail & LDD',
|
|
47
|
+
description: 'Télécharger les crédits bail & LDD ici',
|
|
48
|
+
idGedFolder: GedFolder.OTHER,
|
|
49
|
+
},
|
|
50
|
+
],
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
name: 'Flux financiers',
|
|
54
|
+
documents: [
|
|
55
|
+
{
|
|
56
|
+
id: IdDocumentType.BANQUE,
|
|
57
|
+
name: 'Banque',
|
|
58
|
+
description: 'Télécharger les fichiers de Banque ici',
|
|
59
|
+
idGedFolder: GedFolder.BANK_STATEMENT,
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
id: IdDocumentType.CAISSE,
|
|
63
|
+
name: 'Caisse',
|
|
64
|
+
description: 'Télécharger les fichiers de caisse ici',
|
|
65
|
+
idGedFolder: GedFolder.BANK_STATEMENT,
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
id: IdDocumentType.RELEVE,
|
|
69
|
+
name: 'Relevés commissions',
|
|
70
|
+
description: 'Télécharger les relevés ici',
|
|
71
|
+
idGedFolder: GedFolder.BANK_STATEMENT,
|
|
72
|
+
},
|
|
73
|
+
],
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
name: 'Juridique',
|
|
77
|
+
documents: [
|
|
78
|
+
{
|
|
79
|
+
id: IdDocumentType.PV_AG,
|
|
80
|
+
name: 'PV AG',
|
|
81
|
+
description: 'Télécharger les PV AG ici',
|
|
82
|
+
idGedFolder: GedFolder.JURIDICAL,
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
id: IdDocumentType.CONVENTION,
|
|
86
|
+
name: 'Conventions compte courant',
|
|
87
|
+
description: 'Télécharger les conventions ici',
|
|
88
|
+
idGedFolder: GedFolder.JURIDICAL,
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
id: IdDocumentType.AUTRE_CONVENTION,
|
|
92
|
+
name: 'Autre conventions',
|
|
93
|
+
description: 'Télécharger les conventions ici',
|
|
94
|
+
idGedFolder: GedFolder.JURIDICAL,
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
id: IdDocumentType.RECIPROCITE,
|
|
98
|
+
name: 'Réciprocité des comptes',
|
|
99
|
+
description: 'Télécharger la réciprocité des comptes ici',
|
|
100
|
+
idGedFolder: GedFolder.JURIDICAL,
|
|
101
|
+
},
|
|
102
|
+
|
|
103
|
+
],
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
name: 'Chiffre d\'affaires',
|
|
107
|
+
documents: [
|
|
108
|
+
{
|
|
109
|
+
id: IdDocumentType.CA,
|
|
110
|
+
name: 'Chiffre d\'affaires',
|
|
111
|
+
description: 'CA',
|
|
112
|
+
idGedFolder: GedFolder.MISCELLANEOUS,
|
|
113
|
+
},
|
|
114
|
+
|
|
115
|
+
],
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
name: 'Taxes & subventions',
|
|
119
|
+
documents: [
|
|
120
|
+
{
|
|
121
|
+
id: IdDocumentType.SUBVENTION,
|
|
122
|
+
name: 'Subventions',
|
|
123
|
+
description: 'Télécharger les subventions ici',
|
|
124
|
+
idGedFolder: GedFolder.SUBVENTION,
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
id: IdDocumentType.CFE,
|
|
128
|
+
name: 'CFE',
|
|
129
|
+
description: 'Télécharger les CFE ici',
|
|
130
|
+
idGedFolder: GedFolder.SUBVENTION,
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
id: IdDocumentType.TAXE,
|
|
134
|
+
name: 'Taxe Foncière',
|
|
135
|
+
description: 'Télécharger les taxes foncières ici',
|
|
136
|
+
idGedFolder: GedFolder.SUBVENTION,
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
id: IdDocumentType.PENALITE,
|
|
140
|
+
name: 'Pénalités, Amende et ATD',
|
|
141
|
+
description: 'Télécharger les pénalités ici',
|
|
142
|
+
idGedFolder: GedFolder.SUBVENTION,
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
id: IdDocumentType.TVA,
|
|
146
|
+
name: 'TVA de l\'année',
|
|
147
|
+
description: 'Télécharger les tvas ici',
|
|
148
|
+
idGedFolder: GedFolder.VAT,
|
|
149
|
+
},
|
|
150
|
+
|
|
151
|
+
],
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
name: 'Autres documents',
|
|
155
|
+
documents: [
|
|
156
|
+
{
|
|
157
|
+
id: IdDocumentType.ATTESTATION,
|
|
158
|
+
name: 'Attestation présence dans le cadre du MECENAT',
|
|
159
|
+
description: 'Télécharger les attestations ici',
|
|
160
|
+
idGedFolder: GedFolder.CERTIFICATES,
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
id: IdDocumentType.STOCK,
|
|
164
|
+
name: 'Stock',
|
|
165
|
+
description: 'Télécharger les stocks ici',
|
|
166
|
+
idGedFolder: GedFolder.MISCELLANEOUS,
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
id: IdDocumentType.FACTURE_FOURNISSEUR,
|
|
170
|
+
name: 'Facture & avoir fournisseurs payées sur N+1 mais datant de l\'année en cours',
|
|
171
|
+
description: 'Télécharger les factures & avoirs fournisseurs ici',
|
|
172
|
+
idGedFolder: GedFolder.BALANCE_GL,
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
id: IdDocumentType.FACTURE_CLIENT,
|
|
176
|
+
name: 'Facture & avoir client payées sur N+1 mais datant de l\'année en cours',
|
|
177
|
+
description: 'Télécharger les factures & avoirs clients ici',
|
|
178
|
+
idGedFolder: GedFolder.BALANCE_GL,
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
id: IdDocumentType.AUTRE_FACTURE,
|
|
182
|
+
name: 'Autres factures éditées datées de l\'année en cours',
|
|
183
|
+
description: 'Télécharger les autres factures ici',
|
|
184
|
+
idGedFolder: GedFolder.BALANCE_GL,
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
id: IdDocumentType.CARTE_GRISE,
|
|
188
|
+
name: 'Carte grise de tous les véhicules',
|
|
189
|
+
description: 'Télécharger les cartes grises ici',
|
|
190
|
+
idGedFolder: GedFolder.VEHICLES,
|
|
191
|
+
},
|
|
192
|
+
],
|
|
193
|
+
},
|
|
194
|
+
];
|
package/ts/types/Enum/Ged.ts
CHANGED
|
@@ -13,10 +13,10 @@ export enum GedFolder {
|
|
|
13
13
|
KBIS = 1,
|
|
14
14
|
LDM = 2,
|
|
15
15
|
RIB_MANDATES = 3,
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
16
|
+
BALANCE_GL = 5,
|
|
17
|
+
CLOSE_BALANCE_SHEET = 7,
|
|
18
|
+
VAT = 10,
|
|
19
|
+
IS_DECLARATIONS = 11,
|
|
20
20
|
STATUTES = 13,
|
|
21
21
|
// Training and professional tax = 14,
|
|
22
22
|
// DADS-U & DUE = 15,
|
|
@@ -25,18 +25,18 @@ export enum GedFolder {
|
|
|
25
25
|
// TNS = 18,
|
|
26
26
|
AGM = 19, // Annual General Meeting, PV d'AG
|
|
27
27
|
// Contracts & Leases = 20,
|
|
28
|
-
|
|
28
|
+
INSURANCES = 22,
|
|
29
29
|
CABINET_INVOICES = 23,
|
|
30
30
|
OTHER = 24,
|
|
31
31
|
VEHICLES = 25,
|
|
32
32
|
BORROWING_TABLES = 26,
|
|
33
|
-
|
|
33
|
+
RSI_URSSAF = 27,
|
|
34
34
|
// Previous GA balance & PV = 28,
|
|
35
35
|
// Slips for the CFE = 29,
|
|
36
36
|
// Suppliers / customers appendices = 30,
|
|
37
|
-
|
|
37
|
+
MISCELLANEOUS = 31,
|
|
38
38
|
// Legal Announcements = 32,
|
|
39
|
-
|
|
39
|
+
CERTIFICATES = 33,
|
|
40
40
|
PARTNERS = 34,
|
|
41
41
|
// Incoming mails = 35,
|
|
42
42
|
OUTGOING_MAIL = 36,
|
|
@@ -44,6 +44,15 @@ export enum GedFolder {
|
|
|
44
44
|
// Formalism = 38,
|
|
45
45
|
PENDING_POINTS = 39,
|
|
46
46
|
// Balance-GL Journals Year N-1 = 40
|
|
47
|
+
JURIDICAL = 41,
|
|
48
|
+
SUBVENTION = 42,
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export enum TypeFile {
|
|
52
|
+
CA = 1,
|
|
53
|
+
CCA = 2,
|
|
54
|
+
INVENTORY = 3,
|
|
55
|
+
OTHER = 4,
|
|
47
56
|
}
|
|
48
57
|
|
|
49
58
|
export enum GedFileType {
|
|
@@ -54,19 +54,40 @@ export enum RevisionGuideId {
|
|
|
54
54
|
ETATS_CFE = 52,
|
|
55
55
|
BROCHURE_GENEREE = 53,
|
|
56
56
|
LIASSE_GENEREE = 54,
|
|
57
|
+
N1ELEMENT = 55,
|
|
58
|
+
N1ELEMENTJUSTIF = 56,
|
|
59
|
+
IMMON1 = 57,
|
|
60
|
+
FECN1 = 58,
|
|
61
|
+
CAPITAUX_PERTE = 59,
|
|
62
|
+
SOLDE_RAPPRO = 60,
|
|
63
|
+
CAISSE_OK = 61,
|
|
64
|
+
BAIL_COMMERCIAL = 62,
|
|
65
|
+
TICKET_Z = 63,
|
|
66
|
+
COMPTE_SOLDE = 64,
|
|
67
|
+
GENERATION_TVA = 65,
|
|
68
|
+
GENERATION_IS = 66,
|
|
69
|
+
A_SIGNER_ALL = 67,
|
|
70
|
+
CONTRAT_EMPRUNT = 68,
|
|
71
|
+
VARATION_CA = 69,
|
|
72
|
+
VARATION_MARGE = 70,
|
|
73
|
+
LETTRE_MISSION_A_JOUR = 71,
|
|
74
|
+
DISSO_LIQUI_EN_COURS = 72,
|
|
75
|
+
FAIT_ANNEE = 73,
|
|
76
|
+
PREVISION_EVOLUTION = 74,
|
|
77
|
+
SPEC_FISCALE_N1 = 75,
|
|
57
78
|
}
|
|
58
79
|
|
|
59
80
|
export enum RevisionGuideLabel {
|
|
60
81
|
CAPITAUX = '<b>Capitaux :</b> Avez vous vérifié les documents juridiques (PV AG, KBIS, Statuts, DBE) ?',
|
|
61
82
|
EMPRUNT = '<b>Emprunt :</b> Avez vous fait un rapprochement emprunt ?',
|
|
62
83
|
IMMO = '<b>Immo :</b> votre rapprochement immobilisation a t-il été réalisé ?',
|
|
63
|
-
STOCK = '<b>Stock :</b> Avez vous obtenu l’état du stock ?',
|
|
84
|
+
STOCK = '<b>Stock :</b> Avez vous obtenu l’état du stock daté et signé à date de clôture ?',
|
|
64
85
|
SALAIRE = '<b>Salaire :</b> Avez vous pointé les comptes liés à la rémunération du personnel ?',
|
|
65
86
|
SALAIRE_DADS = 'Avez vous réalisé votre rapprochement DADS, Taxe apprentissage, congés payés et formation ?',
|
|
66
87
|
SALAIRE_TNS = 'Avez vous réalisé votre provision TNS ?',
|
|
67
88
|
BROCHURE_GENEREE = 'Avez vous généré la plaquette ?',
|
|
68
89
|
LIASSE_GENEREE = 'Avez vous généré la liasse ?',
|
|
69
|
-
BANK = '<b>Banque :</b> Avez vous obtenu tous les relevés bancaires ?',
|
|
90
|
+
BANK = '<b>Banque :</b> Avez vous obtenu tous les relevés bancaires en PDF ?',
|
|
70
91
|
RELEVES_BANCAIRES = 'Avez vous obtenu le relevé de caisse ?',
|
|
71
92
|
CHARGES = '<b>Charges :</b> Avez vous fait un sondage des factures des plus gros montant dans les comptes de charges suivants : 601, 604, 607, 611, 623, 626 ?',
|
|
72
93
|
ETATS = '<b>États :</b> Avez vous réalisé le contrôle de TVA ?',
|
|
@@ -76,8 +97,8 @@ export enum RevisionGuideLabel {
|
|
|
76
97
|
PERIODICITE = 'Avez vous vérifé la périodicité des comptes de location, abonnement, téléphone et internet ?',
|
|
77
98
|
FACTURES_SUPERIEUR_500 = 'Avez vous obtenu les factures supérieures à 500€ ?',
|
|
78
99
|
CUTT_OFF = 'Avez vous le cut-off ?',
|
|
79
|
-
PRODUCT_GESCOM = '
|
|
80
|
-
FAE_AAE = 'Avez vous vérifié les FAE, AAE ?',
|
|
100
|
+
PRODUCT_GESCOM = 'GESCOM : Avez vous obtenu la GESCOM annuelle?',
|
|
101
|
+
FAE_AAE = 'Avez vous vérifié les FAE, AAE, FNP ?',
|
|
81
102
|
PROVISIONS_TNS = 'Avez vous vérifié les provisions TNS ?',
|
|
82
103
|
A_SIGNER_CA = 'CA',
|
|
83
104
|
A_SIGNER_CCA = 'CCA',
|
|
@@ -111,4 +132,34 @@ export enum RevisionGuideLabel {
|
|
|
111
132
|
ETABLISSEMENT_NUIT = 'Établissement de nuit',
|
|
112
133
|
NEGOCE = '<b>Est concerné ?</b>',
|
|
113
134
|
IMPORT_EXPORT = 'Activité d\'import/export ou de négociation international de matière première',
|
|
114
|
-
|
|
135
|
+
N1ELEMENT = '<b>Reprise du dossier</b>: Eléments N-1 à intégrer ?',
|
|
136
|
+
N1ELEMENTJUSTIF = '<b>Reprise du dossier</b> : Soldes fournisseurs/clients N-1 traités et justifiés ?',
|
|
137
|
+
IMMON1 = '<b>Reprise du dossier</b> : Immobilisations N-1 revues (HS/mise au rebut, ventes) avec le client ?',
|
|
138
|
+
FECN1 = '<b>Reprise du dossier</b> : rapprochement plaquette & liasse avec FEC N-1',
|
|
139
|
+
CAPITAUX_PERTE = '<b>Capitaux</b> : La perte est-elle supérieur au capital social ?',
|
|
140
|
+
CONTRAT_EMPRUNT = '<b>Emprunt</b> : Contrat et échéancier d\'emprunts obtenus',
|
|
141
|
+
SOLDE_RAPPRO = '<b>Banque :</b> le solde bancaire a t-il pu être rapproché PDF ou budget ?',
|
|
142
|
+
CAISSE_OK = '<b>Caisse :</b> avez vous une caisse certifiée conforme : ',
|
|
143
|
+
BAIL_COMMERCIAL = '<b>Charges :</b> Bail commercial et quittances de loyers obtenus sur l’ensemble de l’exercice comptable ?',
|
|
144
|
+
TICKET_Z = 'Ticket Z : Avez vous obtenu le ticket Z annuel ?',
|
|
145
|
+
COMPTE_SOLDE = 'Etats : Compte d\'attente soldé ?',
|
|
146
|
+
GENERATION_TVA = '<b>Edition :</b> Avez vous généré la TVA ?',
|
|
147
|
+
GENERATION_IS = '<b>Edition :</b> Avez vous généré l’IS ?',
|
|
148
|
+
A_SIGNER_ALL = '<b>Edition :</b> Avez vous généré les documents à faire signer ? ( CA, Rémunération, GL fournisseurs, GL clients, inventaire immo) ?',
|
|
149
|
+
VARATION_CA = 'Variation du CA',
|
|
150
|
+
VARATION_MARGE = 'Variation de la marge',
|
|
151
|
+
LETTRE_MISSION_A_JOUR = 'Lettre de mission à jour',
|
|
152
|
+
DISSO_LIQUI_EN_COURS = 'Procédure disso/liquidation en cours',
|
|
153
|
+
FAIT_ANNEE = 'Fait marquant sur l’année',
|
|
154
|
+
PREVISION_EVOLUTION = 'Evolution à prévoir',
|
|
155
|
+
SPEC_FISCALE_N1 = 'Spécificité fiscale à prévoir sur l’année N+1',
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
export const RevisionGuideYesQuestion = {
|
|
159
|
+
[RevisionGuideId.VARATION_CA]: 'Le CA a évolué de :',
|
|
160
|
+
[RevisionGuideId.VARATION_MARGE]: 'La marge a évolué de :',
|
|
161
|
+
[RevisionGuideId.LETTRE_MISSION_A_JOUR]: 'La lettre de mission est à jour à la révision du bilan',
|
|
162
|
+
[RevisionGuideId.DISSO_LIQUI_EN_COURS]: 'Une dissolution est à prévoir pour l’exercice à suivre.',
|
|
163
|
+
[RevisionGuideId.FAIT_ANNEE]: 'les faits marquant durant cette exercice sont :',
|
|
164
|
+
[RevisionGuideId.SPEC_FISCALE_N1]: 'La fiscalité de l’exerce révisé ce jour demande une intention particulière sur l’année suivante.',
|
|
165
|
+
} as const;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import {
|
|
2
|
+
IsDate, IsNumber, IsOptional,
|
|
3
|
+
} from 'class-validator';
|
|
4
|
+
import { ApiPropertyOptional } from '../../../../utils/decorators';
|
|
5
|
+
|
|
6
|
+
export class UpdateBalanceSheet {
|
|
7
|
+
@ApiPropertyOptional()
|
|
8
|
+
@IsDate()
|
|
9
|
+
@IsOptional()
|
|
10
|
+
dateBalanceSend?: Date;
|
|
11
|
+
|
|
12
|
+
@ApiPropertyOptional()
|
|
13
|
+
@IsDate()
|
|
14
|
+
@IsOptional()
|
|
15
|
+
deadline?: Date;
|
|
16
|
+
|
|
17
|
+
@ApiPropertyOptional()
|
|
18
|
+
@IsDate()
|
|
19
|
+
@IsOptional()
|
|
20
|
+
dateEnd?: Date;
|
|
21
|
+
|
|
22
|
+
@ApiPropertyOptional()
|
|
23
|
+
@IsNumber()
|
|
24
|
+
@IsOptional()
|
|
25
|
+
idExercice?: number;
|
|
26
|
+
|
|
27
|
+
@ApiPropertyOptional()
|
|
28
|
+
@IsNumber()
|
|
29
|
+
@IsOptional()
|
|
30
|
+
turnover?: number;
|
|
31
|
+
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
IsArray, IsBoolean, IsDateString, IsEnum, IsNumber, IsOptional, IsString, Min,
|
|
3
3
|
} from 'class-validator';
|
|
4
|
+
import { IFile } from '../../..';
|
|
4
5
|
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
5
6
|
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
6
7
|
import { AccountingCategoryId, FontIds, LogoAlignment } from '../../../Enum/CommercialManagement';
|
|
@@ -216,6 +217,18 @@ export class CreateCommercialSetting {
|
|
|
216
217
|
@IsBoolean()
|
|
217
218
|
@ToBoolean()
|
|
218
219
|
shouldPayTaxAfterDebit?: boolean;
|
|
220
|
+
|
|
221
|
+
@ApiPropertyOptional()
|
|
222
|
+
@IsOptional()
|
|
223
|
+
@IsBoolean()
|
|
224
|
+
@ToBoolean()
|
|
225
|
+
shouldHideEmailHeader?: boolean;
|
|
226
|
+
|
|
227
|
+
@ApiPropertyOptional()
|
|
228
|
+
@IsOptional()
|
|
229
|
+
@IsBoolean()
|
|
230
|
+
@ToBoolean()
|
|
231
|
+
shouldHideBrandName?: boolean;
|
|
219
232
|
}
|
|
220
233
|
|
|
221
234
|
export class CreateCommercialMail {
|
|
@@ -449,4 +462,20 @@ export class CreateRegenerateDocument {
|
|
|
449
462
|
@ApiProperty()
|
|
450
463
|
@IsString()
|
|
451
464
|
title: string;
|
|
452
|
-
}
|
|
465
|
+
}
|
|
466
|
+
|
|
467
|
+
export type CreateMailHeader = {
|
|
468
|
+
payload: {
|
|
469
|
+
reference: string,
|
|
470
|
+
dueDate: Date | null,
|
|
471
|
+
idEstimateInvoiceType: EstimateInvoiceType,
|
|
472
|
+
totalTaxExcluded: number,
|
|
473
|
+
totalTaxIncluded: number,
|
|
474
|
+
file?: IFile
|
|
475
|
+
},
|
|
476
|
+
logoUrl: string | null,
|
|
477
|
+
companyName: string,
|
|
478
|
+
fileUrl: string | null,
|
|
479
|
+
hostS3: string,
|
|
480
|
+
hasVat: boolean
|
|
481
|
+
};
|
|
@@ -93,4 +93,8 @@ type CountAndNumber = { count: number; amount: number; };
|
|
|
93
93
|
export type ReadCountDocumentByStatus = {
|
|
94
94
|
invoices: { paid: CountAndNumber; waiting: CountAndNumber; unpaid: CountAndNumber; }
|
|
95
95
|
preSales: { accepted: CountAndNumber; waiting: CountAndNumber; refused: CountAndNumber; }
|
|
96
|
+
};
|
|
97
|
+
|
|
98
|
+
export type ReadCommercialMailTemplate = {
|
|
99
|
+
header: string;
|
|
96
100
|
};
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import {
|
|
2
|
+
IsBoolean, IsDateString, IsNumber, IsOptional,
|
|
3
|
+
} from 'class-validator';
|
|
4
|
+
import { ApiPropertyOptional } from '../../../../utils/decorators';
|
|
5
|
+
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
6
|
+
|
|
7
|
+
export class UpdateExercice {
|
|
8
|
+
@ApiPropertyOptional()
|
|
9
|
+
@IsDateString()
|
|
10
|
+
@IsOptional()
|
|
11
|
+
startDate?: string;
|
|
12
|
+
|
|
13
|
+
@ApiPropertyOptional()
|
|
14
|
+
@IsDateString()
|
|
15
|
+
@IsOptional()
|
|
16
|
+
endDate?: string;
|
|
17
|
+
|
|
18
|
+
@ApiPropertyOptional()
|
|
19
|
+
@IsBoolean()
|
|
20
|
+
@ToBoolean()
|
|
21
|
+
@IsOptional()
|
|
22
|
+
isBack?: boolean;
|
|
23
|
+
|
|
24
|
+
@ApiPropertyOptional()
|
|
25
|
+
@IsBoolean()
|
|
26
|
+
@ToBoolean()
|
|
27
|
+
@IsOptional()
|
|
28
|
+
allAnnote?: boolean;
|
|
29
|
+
|
|
30
|
+
@ApiPropertyOptional()
|
|
31
|
+
@IsBoolean()
|
|
32
|
+
@ToBoolean()
|
|
33
|
+
@IsOptional()
|
|
34
|
+
current?: boolean;
|
|
35
|
+
|
|
36
|
+
@ApiPropertyOptional()
|
|
37
|
+
@IsBoolean()
|
|
38
|
+
@ToBoolean()
|
|
39
|
+
@IsOptional()
|
|
40
|
+
withApproval?: boolean;
|
|
41
|
+
|
|
42
|
+
@ApiPropertyOptional()
|
|
43
|
+
@IsBoolean()
|
|
44
|
+
@ToBoolean()
|
|
45
|
+
@IsOptional()
|
|
46
|
+
reviewGuide?: boolean;
|
|
47
|
+
|
|
48
|
+
@ApiPropertyOptional()
|
|
49
|
+
@IsBoolean()
|
|
50
|
+
@ToBoolean()
|
|
51
|
+
@IsOptional()
|
|
52
|
+
summaryNote?: boolean;
|
|
53
|
+
|
|
54
|
+
@ApiPropertyOptional()
|
|
55
|
+
@IsBoolean()
|
|
56
|
+
@ToBoolean()
|
|
57
|
+
@IsOptional()
|
|
58
|
+
receiptJeDeclare?: boolean;
|
|
59
|
+
|
|
60
|
+
@ApiPropertyOptional()
|
|
61
|
+
@IsBoolean()
|
|
62
|
+
@ToBoolean()
|
|
63
|
+
@IsOptional()
|
|
64
|
+
annualFolderEdition?: boolean;
|
|
65
|
+
|
|
66
|
+
@ApiPropertyOptional()
|
|
67
|
+
@IsNumber()
|
|
68
|
+
@IsOptional()
|
|
69
|
+
idSociety?: number;
|
|
70
|
+
|
|
71
|
+
@ApiPropertyOptional()
|
|
72
|
+
@IsNumber()
|
|
73
|
+
@IsOptional()
|
|
74
|
+
turnoverMax?: number;
|
|
75
|
+
|
|
76
|
+
@ApiPropertyOptional()
|
|
77
|
+
@IsNumber()
|
|
78
|
+
@IsOptional()
|
|
79
|
+
benefit?: number;
|
|
80
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import {
|
|
2
|
-
IsBoolean, IsInt, IsOptional, IsString,
|
|
2
|
+
IsBoolean, IsInt, IsNumber, IsOptional, IsString,
|
|
3
3
|
} from 'class-validator';
|
|
4
4
|
import { ApiProperty, ApiPropertyOptional } from '../../../..';
|
|
5
5
|
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
@@ -17,8 +17,8 @@ export class CreateRebilling {
|
|
|
17
17
|
hasToBeAccruals?: string;
|
|
18
18
|
|
|
19
19
|
@ApiProperty()
|
|
20
|
-
@
|
|
21
|
-
turnoverMax:
|
|
20
|
+
@IsNumber()
|
|
21
|
+
turnoverMax: number;
|
|
22
22
|
|
|
23
23
|
@ApiProperty()
|
|
24
24
|
@IsInt()
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import {
|
|
2
|
+
IsDate, IsNumber, IsOptional, IsString,
|
|
3
|
+
} from 'class-validator';
|
|
4
|
+
import { ApiPropertyOptional, ApiProperty } from '../../../../utils';
|
|
5
|
+
import { TFile } from '../file/TFile';
|
|
6
|
+
|
|
7
|
+
export class CreateFileAndGed {
|
|
8
|
+
@ApiProperty()
|
|
9
|
+
file: TFile;
|
|
10
|
+
|
|
11
|
+
@ApiProperty()
|
|
12
|
+
@IsString()
|
|
13
|
+
filename: string;
|
|
14
|
+
|
|
15
|
+
@ApiProperty()
|
|
16
|
+
@IsDate()
|
|
17
|
+
emissionDate: Date;
|
|
18
|
+
|
|
19
|
+
@ApiPropertyOptional()
|
|
20
|
+
@IsNumber()
|
|
21
|
+
@IsOptional()
|
|
22
|
+
statutFile: number;
|
|
23
|
+
|
|
24
|
+
@ApiPropertyOptional()
|
|
25
|
+
@IsNumber()
|
|
26
|
+
@IsOptional()
|
|
27
|
+
idTypeGedFile: number;
|
|
28
|
+
|
|
29
|
+
@ApiProperty()
|
|
30
|
+
@IsNumber()
|
|
31
|
+
idUser: number;
|
|
32
|
+
|
|
33
|
+
@ApiProperty()
|
|
34
|
+
@IsNumber()
|
|
35
|
+
idGedFolder: number;
|
|
36
|
+
|
|
37
|
+
@ApiProperty()
|
|
38
|
+
@IsNumber()
|
|
39
|
+
idSociety: number;
|
|
40
|
+
|
|
41
|
+
@ApiPropertyOptional()
|
|
42
|
+
@IsNumber()
|
|
43
|
+
@IsOptional()
|
|
44
|
+
typeFile: number;
|
|
45
|
+
|
|
46
|
+
@ApiPropertyOptional()
|
|
47
|
+
@IsNumber()
|
|
48
|
+
@IsOptional()
|
|
49
|
+
idExercice: number;
|
|
50
|
+
|
|
51
|
+
@ApiPropertyOptional()
|
|
52
|
+
@IsNumber()
|
|
53
|
+
@IsOptional()
|
|
54
|
+
idBalanceSheet: number;
|
|
55
|
+
}
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import {
|
|
2
|
+
IsIn, IsOptional, IsString, IsNumber, IsBoolean,
|
|
3
|
+
} from 'class-validator';
|
|
1
4
|
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
2
5
|
import { GedFolder, GedFileType } from '../../../Enum/Ged';
|
|
3
6
|
|
|
@@ -11,11 +14,42 @@ export class QueryLibraryFile {
|
|
|
11
14
|
@ApiPropertyOptional()
|
|
12
15
|
idTypeGedFile?: GedFileType;
|
|
13
16
|
|
|
17
|
+
@ApiPropertyOptional()
|
|
18
|
+
typeGedFolder?: GedFolder[];
|
|
19
|
+
|
|
14
20
|
@ApiPropertyOptional()
|
|
15
21
|
idExercice?: number;
|
|
16
22
|
|
|
23
|
+
@ApiPropertyOptional()
|
|
24
|
+
idBalanceSheet?: number;
|
|
25
|
+
|
|
17
26
|
@ApiPropertyOptional()
|
|
18
27
|
idFile?: number;
|
|
28
|
+
|
|
29
|
+
@ApiPropertyOptional()
|
|
30
|
+
@IsNumber()
|
|
31
|
+
@IsOptional()
|
|
32
|
+
typeFile?: number;
|
|
33
|
+
|
|
34
|
+
@ApiPropertyOptional()
|
|
35
|
+
@IsBoolean()
|
|
36
|
+
@IsOptional()
|
|
37
|
+
findSign?: boolean = false;
|
|
38
|
+
|
|
39
|
+
@ApiPropertyOptional()
|
|
40
|
+
@IsOptional()
|
|
41
|
+
@IsString({
|
|
42
|
+
each: true,
|
|
43
|
+
})
|
|
44
|
+
attributes?: string[];
|
|
45
|
+
|
|
46
|
+
@ApiPropertyOptional()
|
|
47
|
+
@IsOptional()
|
|
48
|
+
@IsString({
|
|
49
|
+
each: true,
|
|
50
|
+
})
|
|
51
|
+
@IsIn(['gedFolder', 'balanceSheet', 'customerSignature', 'fileFromGed'], { each: true })
|
|
52
|
+
include?: string[];
|
|
19
53
|
}
|
|
20
54
|
|
|
21
55
|
export class QueryDownloadFile {
|