@silexpert/core 2.0.6 → 2.0.8
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/api/resources/Acd.d.ts +8 -0
- package/dist/api/resources/Acd.d.ts.map +1 -0
- package/dist/api/resources/Acd.js +7 -0
- package/dist/api/resources/Acd.js.map +1 -0
- package/dist/api/resources/Society.d.ts +4 -0
- package/dist/api/resources/Society.d.ts.map +1 -1
- package/dist/api/resources/Society.js +3 -0
- package/dist/api/resources/Society.js.map +1 -1
- package/dist/api/resources.d.ts +2 -0
- package/dist/api/resources.d.ts.map +1 -1
- package/dist/api/resources.js +2 -0
- package/dist/api/resources.js.map +1 -1
- package/dist/types/Enum/AnalyticsUtm.d.ts +11 -1
- package/dist/types/Enum/AnalyticsUtm.d.ts.map +1 -1
- package/dist/types/Enum/AnalyticsUtm.js +10 -0
- package/dist/types/Enum/AnalyticsUtm.js.map +1 -1
- package/dist/types/Enum/Brevo.d.ts +5 -4
- package/dist/types/Enum/Brevo.d.ts.map +1 -1
- package/dist/types/Enum/Brevo.js +5 -4
- package/dist/types/Enum/Brevo.js.map +1 -1
- package/dist/types/Enum/Ged.d.ts +2 -1
- package/dist/types/Enum/Ged.d.ts.map +1 -1
- package/dist/types/Enum/Ged.js +25 -19
- package/dist/types/Enum/Ged.js.map +1 -1
- package/dist/types/Enum/IntermediateManagementRebate.d.ts.map +1 -1
- package/dist/types/Enum/IntermediateManagementRebate.js +10 -1
- package/dist/types/Enum/IntermediateManagementRebate.js.map +1 -1
- package/dist/types/Enum/MailAuto.d.ts +3 -1
- package/dist/types/Enum/MailAuto.d.ts.map +1 -1
- package/dist/types/Enum/MailAuto.js +2 -0
- package/dist/types/Enum/MailAuto.js.map +1 -1
- package/dist/types/Enum/SocietyApproval.js +8 -8
- package/dist/types/Enum/SocietyApproval.js.map +1 -1
- package/dist/types/Enum/StatutsSection.d.ts +3 -2
- package/dist/types/Enum/StatutsSection.d.ts.map +1 -1
- package/dist/types/Enum/StatutsSection.js +2 -1
- package/dist/types/Enum/StatutsSection.js.map +1 -1
- package/dist/types/Interface/api/DashboardLayout.d.ts +2 -0
- package/dist/types/Interface/api/DashboardLayout.d.ts.map +1 -1
- package/dist/types/Interface/api/DashboardLayout.js.map +1 -1
- package/dist/types/Interface/api/acd/Create.d.ts +6 -0
- package/dist/types/Interface/api/acd/Create.d.ts.map +1 -0
- package/dist/types/Interface/api/acd/Create.js +32 -0
- package/dist/types/Interface/api/acd/Create.js.map +1 -0
- package/dist/types/Interface/api/documentRequest/Create.d.ts +2 -0
- package/dist/types/Interface/api/documentRequest/Create.d.ts.map +1 -1
- package/dist/types/Interface/api/documentRequest/Create.js +15 -1
- package/dist/types/Interface/api/documentRequest/Create.js.map +1 -1
- package/dist/types/Interface/api/documentRequest/Query.d.ts +16 -4
- package/dist/types/Interface/api/documentRequest/Query.d.ts.map +1 -1
- package/dist/types/Interface/api/documentRequest/Query.js +39 -13
- package/dist/types/Interface/api/documentRequest/Query.js.map +1 -1
- package/dist/types/Interface/api/documentRequest/Update.d.ts +1 -0
- package/dist/types/Interface/api/documentRequest/Update.d.ts.map +1 -1
- package/dist/types/Interface/api/documentRequest/Update.js +8 -1
- package/dist/types/Interface/api/documentRequest/Update.js.map +1 -1
- package/dist/types/Interface/api/letter/Query.d.ts +2 -2
- package/dist/types/Interface/api/letter/Query.d.ts.map +1 -1
- package/dist/types/Interface/api/letter/Query.js +3 -3
- package/dist/types/Interface/api/letter/Query.js.map +1 -1
- package/dist/types/Interface/api/previsionalForm/CreatePrevisionalForm.d.ts +7 -0
- package/dist/types/Interface/api/previsionalForm/CreatePrevisionalForm.d.ts.map +1 -1
- package/dist/types/Interface/api/previsionalForm/CreatePrevisionalForm.js +33 -0
- package/dist/types/Interface/api/previsionalForm/CreatePrevisionalForm.js.map +1 -1
- package/dist/types/Interface/api/society/CleanupResult.d.ts +8 -0
- package/dist/types/Interface/api/society/CleanupResult.d.ts.map +1 -0
- package/dist/types/Interface/api/society/CleanupResult.js +2 -0
- package/dist/types/Interface/api/society/CleanupResult.js.map +1 -0
- package/dist/types/Interface/api/user/RegisterProspect.d.ts +3 -0
- package/dist/types/Interface/api/user/RegisterProspect.d.ts.map +1 -1
- package/dist/types/Interface/api/user/RegisterProspect.js.map +1 -1
- package/dist/types/Interface/models/IDocumentRequest.d.ts +4 -0
- package/dist/types/Interface/models/IDocumentRequest.d.ts.map +1 -1
- package/dist/types/Interface/models/IDocumentRequest.js +3 -0
- package/dist/types/Interface/models/IDocumentRequest.js.map +1 -1
- package/dist/types/Interface/models/IPartneredAccountant.d.ts +28 -0
- package/dist/types/Interface/models/IPartneredAccountant.d.ts.map +1 -0
- package/dist/types/Interface/models/IPartneredAccountant.js +2 -0
- package/dist/types/Interface/models/IPartneredAccountant.js.map +1 -0
- package/dist/types/Interface/models/IPartneredAccountantToSociety.d.ts +13 -0
- package/dist/types/Interface/models/IPartneredAccountantToSociety.d.ts.map +1 -0
- package/dist/types/Interface/models/IPartneredAccountantToSociety.js +2 -0
- package/dist/types/Interface/models/IPartneredAccountantToSociety.js.map +1 -0
- package/dist/types/index.d.ts +4 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +4 -0
- package/dist/types/index.js.map +1 -1
- package/dist/utils/commercialManagement/templates/common.d.ts.map +1 -1
- package/dist/utils/commercialManagement/templates/common.js +3 -1
- package/dist/utils/commercialManagement/templates/common.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/Acd.ts +8 -0
- package/ts/api/resources/Society.ts +3 -0
- package/ts/api/resources.ts +2 -0
- package/ts/types/Enum/AnalyticsUtm.ts +10 -0
- package/ts/types/Enum/Brevo.ts +5 -4
- package/ts/types/Enum/Ged.ts +25 -19
- package/ts/types/Enum/IntermediateManagementRebate.ts +10 -1
- package/ts/types/Enum/MailAuto.ts +2 -0
- package/ts/types/Enum/SocietyApproval.ts +8 -8
- package/ts/types/Enum/StatutsSection.ts +2 -1
- package/ts/types/Interface/api/DashboardLayout.ts +2 -0
- package/ts/types/Interface/api/acd/Create.ts +16 -0
- package/ts/types/Interface/api/documentRequest/Create.ts +11 -1
- package/ts/types/Interface/api/documentRequest/Query.ts +34 -11
- package/ts/types/Interface/api/documentRequest/Update.ts +6 -1
- package/ts/types/Interface/api/letter/Query.ts +5 -5
- package/ts/types/Interface/api/previsionalForm/CreatePrevisionalForm.ts +23 -0
- package/ts/types/Interface/api/society/CleanupResult.ts +4 -0
- package/ts/types/Interface/api/user/RegisterProspect.ts +3 -0
- package/ts/types/Interface/models/IDocumentRequest.ts +4 -0
- package/ts/types/Interface/models/IPartneredAccountant.ts +31 -0
- package/ts/types/Interface/models/IPartneredAccountantToSociety.ts +16 -0
- package/ts/types/index.ts +4 -0
- package/ts/utils/commercialManagement/templates/common.ts +3 -1
- package/tsconfig-base.json +3 -2
package/ts/types/Enum/Ged.ts
CHANGED
|
@@ -172,6 +172,7 @@ export enum TypeFile {
|
|
|
172
172
|
MILEAGE_ALLOWANCES_SUMMARY = 110, // Un récapitulatif de vos indemnités kilométriques
|
|
173
173
|
PURCHASE_DEED = 111, // Acte d'achat
|
|
174
174
|
APPROVAL = 112, // Appro des comptes
|
|
175
|
+
BANK_STATEMENT = 113, // Relevé bancaire
|
|
175
176
|
}
|
|
176
177
|
|
|
177
178
|
/** @deprecated this is a legacy enum try to use TypeFile enum if you can or use both enum's */
|
|
@@ -285,7 +286,7 @@ export const GedFileTypeDetail = {
|
|
|
285
286
|
},
|
|
286
287
|
IDENTITY_CARD: {
|
|
287
288
|
id: GedFileType.IDENTITY_CARD,
|
|
288
|
-
name:
|
|
289
|
+
name: 'Carte d\'identité',
|
|
289
290
|
idGedFolder: GedFolder.KBIS,
|
|
290
291
|
typeFile: TypeFile.IDENTITY_CARD_RECTO,
|
|
291
292
|
},
|
|
@@ -421,7 +422,7 @@ export const GedFolderList: Array<{
|
|
|
421
422
|
}> = [
|
|
422
423
|
{
|
|
423
424
|
id: GedFolder.KBIS,
|
|
424
|
-
name:
|
|
425
|
+
name: 'K-bis & Carte d\'identité & Mémento fiscal',
|
|
425
426
|
isVisibleForClient: true,
|
|
426
427
|
idGedCategory: GedCategory.COMPANY,
|
|
427
428
|
},
|
|
@@ -447,7 +448,7 @@ export const GedFolderList: Array<{
|
|
|
447
448
|
},
|
|
448
449
|
{
|
|
449
450
|
id: GedFolder.IS_DECLARATIONS,
|
|
450
|
-
name:
|
|
451
|
+
name: 'Déclarations d\'IS',
|
|
451
452
|
isVisibleForClient: true,
|
|
452
453
|
idGedCategory: GedCategory.ACCOUNTING_AND_TAX,
|
|
453
454
|
},
|
|
@@ -467,7 +468,7 @@ export const GedFolderList: Array<{
|
|
|
467
468
|
idGedCategory: GedCategory.SOCIAL,
|
|
468
469
|
},
|
|
469
470
|
{ id: GedFolder.TNS, name: 'TNS', isVisibleForClient: true, idGedCategory: GedCategory.SOCIAL },
|
|
470
|
-
{ id: GedFolder.AGM, name:
|
|
471
|
+
{ id: GedFolder.AGM, name: 'PV d\'AG', isVisibleForClient: true, idGedCategory: GedCategory.JURIDIC },
|
|
471
472
|
{
|
|
472
473
|
id: GedFolder.CONTRACTS_LEASES,
|
|
473
474
|
name: 'Contrats & Baux',
|
|
@@ -655,7 +656,7 @@ export const TypeFileDetail: Record<number, TypeFileDetailType> = {
|
|
|
655
656
|
},
|
|
656
657
|
[TypeFile.IDENTITY_CARD_RECTO]: {
|
|
657
658
|
typeFile: TypeFile.IDENTITY_CARD_RECTO,
|
|
658
|
-
name:
|
|
659
|
+
name: 'Carte d\'identité',
|
|
659
660
|
idGedFolder: GedFolder.KBIS,
|
|
660
661
|
idGedFileType: GedFileType.IDENTITY_CARD,
|
|
661
662
|
},
|
|
@@ -769,7 +770,7 @@ export const TypeFileDetail: Record<number, TypeFileDetailType> = {
|
|
|
769
770
|
},
|
|
770
771
|
[TypeFile.INSURANCE_CONTRACT]: {
|
|
771
772
|
typeFile: TypeFile.INSURANCE_CONTRACT,
|
|
772
|
-
name:
|
|
773
|
+
name: 'Contrat d\'assurance',
|
|
773
774
|
idGedFolder: GedFolder.INSURANCES,
|
|
774
775
|
},
|
|
775
776
|
[TypeFile.COMPANY_CONTRIBUTION_PROOF]: {
|
|
@@ -777,7 +778,7 @@ export const TypeFileDetail: Record<number, TypeFileDetailType> = {
|
|
|
777
778
|
name: 'Justificatif des apports faits à la société',
|
|
778
779
|
idGedFolder: GedFolder.JURIDICAL,
|
|
779
780
|
helpText:
|
|
780
|
-
|
|
781
|
+
'Vos relevés bancaires personnels indiquant le montant d’épargne disponible, votre avis d\'imposition personnel',
|
|
781
782
|
},
|
|
782
783
|
[TypeFile.NOTARY_STATEMENT]: {
|
|
783
784
|
typeFile: TypeFile.NOTARY_STATEMENT,
|
|
@@ -787,12 +788,12 @@ export const TypeFileDetail: Record<number, TypeFileDetailType> = {
|
|
|
787
788
|
},
|
|
788
789
|
[TypeFile.PURCHASE_DEED]: {
|
|
789
790
|
typeFile: TypeFile.PURCHASE_DEED,
|
|
790
|
-
name:
|
|
791
|
+
name: 'Acte d\'achat',
|
|
791
792
|
idGedFolder: GedFolder.JURIDICAL,
|
|
792
793
|
},
|
|
793
794
|
[TypeFile.PV_RESULT_ALLOCATION]: {
|
|
794
795
|
typeFile: TypeFile.PV_RESULT_ALLOCATION,
|
|
795
|
-
name:
|
|
796
|
+
name: 'PV d\'AG d\'affectation du résultat',
|
|
796
797
|
idGedFolder: GedFolder.AGM,
|
|
797
798
|
},
|
|
798
799
|
[TypeFile.SUBSIDY_PROOF]: {
|
|
@@ -802,7 +803,7 @@ export const TypeFileDetail: Record<number, TypeFileDetailType> = {
|
|
|
802
803
|
},
|
|
803
804
|
[TypeFile.LOAN_AMORTIZATION_TABLE]: {
|
|
804
805
|
typeFile: TypeFile.LOAN_AMORTIZATION_TABLE,
|
|
805
|
-
name:
|
|
806
|
+
name: 'Tableau d\'amortissement des emprunts',
|
|
806
807
|
idGedFolder: GedFolder.BORROWING_TABLES,
|
|
807
808
|
},
|
|
808
809
|
[TypeFile.COMMERCIAL_OR_RENTAL_LEASE]: {
|
|
@@ -822,7 +823,7 @@ export const TypeFileDetail: Record<number, TypeFileDetailType> = {
|
|
|
822
823
|
},
|
|
823
824
|
[TypeFile.LIVESTOCK_REGISTER]: {
|
|
824
825
|
typeFile: TypeFile.LIVESTOCK_REGISTER,
|
|
825
|
-
name:
|
|
826
|
+
name: 'Registre d\'élevage',
|
|
826
827
|
idGedFolder: GedFolder.OTHER,
|
|
827
828
|
},
|
|
828
829
|
[TypeFile.LIVESTOCK_INVENTORY]: {
|
|
@@ -852,7 +853,7 @@ export const TypeFileDetail: Record<number, TypeFileDetailType> = {
|
|
|
852
853
|
},
|
|
853
854
|
[TypeFile.AGRICULTURAL_TAX_CREDIT_PROOF]: {
|
|
854
855
|
typeFile: TypeFile.AGRICULTURAL_TAX_CREDIT_PROOF,
|
|
855
|
-
name:
|
|
856
|
+
name: 'Justificatifs de crédits d\'impôt agricoles',
|
|
856
857
|
idGedFolder: GedFolder.MISCELLANEOUS,
|
|
857
858
|
},
|
|
858
859
|
[TypeFile.LOAN_REPAYMENT_PROOF]: {
|
|
@@ -877,17 +878,17 @@ export const TypeFileDetail: Record<number, TypeFileDetailType> = {
|
|
|
877
878
|
},
|
|
878
879
|
[TypeFile.CONDOMINIUM_AGM_MINUTES]: {
|
|
879
880
|
typeFile: TypeFile.CONDOMINIUM_AGM_MINUTES,
|
|
880
|
-
name:
|
|
881
|
+
name: 'Procès-verbaux d\'AG de copropriété',
|
|
881
882
|
idGedFolder: GedFolder.AGM,
|
|
882
883
|
},
|
|
883
884
|
[TypeFile.TAX_NOTICE]: {
|
|
884
885
|
typeFile: TypeFile.TAX_NOTICE,
|
|
885
|
-
name:
|
|
886
|
+
name: 'Avis d\'imposition (CFE, taxe foncière)',
|
|
886
887
|
idGedFolder: GedFolder.SLIPS_CFE,
|
|
887
888
|
},
|
|
888
889
|
[TypeFile.SUBSIDY_ALLOCATION_NOTIFICATION]: {
|
|
889
890
|
typeFile: TypeFile.SUBSIDY_ALLOCATION_NOTIFICATION,
|
|
890
|
-
name:
|
|
891
|
+
name: 'Notifications d\'attribution de subventions publiques',
|
|
891
892
|
idGedFolder: GedFolder.SUBVENTION,
|
|
892
893
|
},
|
|
893
894
|
[TypeFile.FINANCING_CONTRACTS_OR_SUBSIDY_AGREEMENTS]: {
|
|
@@ -904,7 +905,7 @@ export const TypeFileDetail: Record<number, TypeFileDetailType> = {
|
|
|
904
905
|
},
|
|
905
906
|
[TypeFile.STOCK]: {
|
|
906
907
|
typeFile: TypeFile.STOCK,
|
|
907
|
-
name:
|
|
908
|
+
name: 'L\'état de vos stocks à la date de clôture',
|
|
908
909
|
idGedFolder: GedFolder.STOCK,
|
|
909
910
|
helpText:
|
|
910
911
|
'L’état des stocks doit recenser l’ensemble des produits disponibles à la date de clôture. Chaque article doit être identifié précisément, classé par catégorie (matières premières, marchandises, produits finis, consommables...), et valorisé au prix d’achat hors taxes (HT). Ce document doit impérativement être daté et signé.',
|
|
@@ -914,7 +915,7 @@ export const TypeFileDetail: Record<number, TypeFileDetailType> = {
|
|
|
914
915
|
name: 'Le grand livre de réciprocité des comptes',
|
|
915
916
|
idGedFolder: GedFolder.BALANCE_GL,
|
|
916
917
|
helpText:
|
|
917
|
-
|
|
918
|
+
'Votre société détient ou a cédé des actions à une autre entité, ce qui établit un lien capitalistique entre les deux sociétés. En conséquence, des mouvements comptables peuvent exister entre elles. Afin d\'assurer la cohérence des écritures comptables, nous vous demandons de nous transmettre les grands livres des opérations enregistrées dans la comptabilité de l’autre société. Cela nous permettra de rapprocher et cadrer les flux entre les deux entités.',
|
|
918
919
|
},
|
|
919
920
|
[TypeFile.SUPPLIER_DEBTS]: {
|
|
920
921
|
typeFile: TypeFile.SUPPLIER_DEBTS,
|
|
@@ -961,12 +962,12 @@ export const TypeFileDetail: Record<number, TypeFileDetailType> = {
|
|
|
961
962
|
name: ' Vos relevés stripe, amazon ect.',
|
|
962
963
|
idGedFolder: GedFolder.SUMMARY,
|
|
963
964
|
helpText: `Stripe : Dans le menu Rapports → Balance ou Relevés financiers, vous pouvez générer un rapport mensuel complet en PDF ou CSV incluant paiements, frais, remboursements, et soldes.
|
|
964
|
-
Amazon : Connectez vous sur Amazon Seller Central, dans le menu Rapports → Paiements → Tous les relevés ou rapports de paiements → Type de rapport : activité du compte → Choisir la période → Générer le rapport ou télécharger en PDF
|
|
965
|
+
Amazon : Connectez vous sur Amazon Seller Central, dans le menu Rapports → Paiements → Tous les relevés ou rapports de paiements → Type de rapport : activité du compte → Choisir la période → Générer le rapport ou télécharger en PDF
|
|
965
966
|
Paypal : relevés mensuels à télécharger sur le site → Activité → Icône Télécharger → Cliquer sur toutes les transactions → Icône télécharger à côté du mois que vous recherchez.`,
|
|
966
967
|
},
|
|
967
968
|
[TypeFile.INVOICING_SOFTWARE_SUMMARY]: {
|
|
968
969
|
typeFile: TypeFile.INVOICING_SOFTWARE_SUMMARY,
|
|
969
|
-
name:
|
|
970
|
+
name: 'Un récapitulatif de votre logiciel de facturation détaille par type d\'encaissement et par taux de TVA',
|
|
970
971
|
idGedFolder: GedFolder.SUMMARY,
|
|
971
972
|
helpText:
|
|
972
973
|
'Il doit provenir de votre logiciel de facturation et détailler le total des ventes par mode de paiement (carte, virement, espèces, etc.) et par taux de TVA (20%, 10%, 5,5%).',
|
|
@@ -984,4 +985,9 @@ La puissance fiscale du véhicule (CV fiscaux)
|
|
|
984
985
|
Le barème appliqué
|
|
985
986
|
Le montant de l’indemnité calculée`,
|
|
986
987
|
},
|
|
988
|
+
[TypeFile.BANK_STATEMENT]: {
|
|
989
|
+
typeFile: TypeFile.BANK_STATEMENT,
|
|
990
|
+
name: 'Relevé bancaire',
|
|
991
|
+
idGedFolder: GedFolder.BANK_STATEMENT,
|
|
992
|
+
},
|
|
987
993
|
};
|
|
@@ -34,7 +34,16 @@ export const IntermediateManagementRebateSegments: IMRSegment[] = [
|
|
|
34
34
|
},
|
|
35
35
|
{
|
|
36
36
|
name: 'Achats consommés',
|
|
37
|
-
accounts: ['
|
|
37
|
+
accounts: ['601', '602', '604', '607'],
|
|
38
|
+
isNegative: true,
|
|
39
|
+
type: IntermediateManagementRebateType.BUY,
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
name: 'Marge de production',
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
name: 'Autres consomables',
|
|
46
|
+
accounts: ['603', '605', '606', '608', '609'],
|
|
38
47
|
isNegative: true,
|
|
39
48
|
type: IntermediateManagementRebateType.BUY,
|
|
40
49
|
},
|
|
@@ -143,6 +143,8 @@ export enum MailAuto {
|
|
|
143
143
|
RELAUNCH_DOCUMENTS_CUT_OFF = 171,
|
|
144
144
|
ID_APPROBATION_UNPAID_JURIDICAL_GESTION = 172,
|
|
145
145
|
ID_APPROBATION_UNPAID_ARCHIVES = 173,
|
|
146
|
+
ASK_DOCUMENTS_BANK_STATEMENT = 174,
|
|
147
|
+
RELAUNCH_DOCUMENTS_BANK_STATEMENT = 175,
|
|
146
148
|
}
|
|
147
149
|
|
|
148
150
|
export enum MailAutoType {
|
|
@@ -132,13 +132,13 @@ export const SocietyApprovalDocumentsByLegalForm: SocietyApprovalDocumentConfig[
|
|
|
132
132
|
idDocumentType: SocietyApprovalDocumentType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_MICRO,
|
|
133
133
|
docName: 'Déclaration de confidentialité pour les comptes annuels (Micro)',
|
|
134
134
|
templateName: 'DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_MICRO_EURL',
|
|
135
|
-
documentSectionType: DocumentSectionType.
|
|
135
|
+
documentSectionType: DocumentSectionType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_MICRO,
|
|
136
136
|
},
|
|
137
137
|
{
|
|
138
138
|
idDocumentType: SocietyApprovalDocumentType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_PME,
|
|
139
139
|
docName: 'Déclaration de confidentialité pour les comptes annuels (PME)',
|
|
140
140
|
templateName: 'DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_PME_EURL',
|
|
141
|
-
documentSectionType: DocumentSectionType.
|
|
141
|
+
documentSectionType: DocumentSectionType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_PME,
|
|
142
142
|
},
|
|
143
143
|
{
|
|
144
144
|
idDocumentType: SocietyApprovalDocumentType.INCOME_APPROPRIATION,
|
|
@@ -204,13 +204,13 @@ export const SocietyApprovalDocumentsByLegalForm: SocietyApprovalDocumentConfig[
|
|
|
204
204
|
idDocumentType: SocietyApprovalDocumentType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_MICRO,
|
|
205
205
|
docName: 'Déclaration de confidentialité pour les comptes annuels (Micro)',
|
|
206
206
|
templateName: 'DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_MICRO_SASU',
|
|
207
|
-
documentSectionType: DocumentSectionType.
|
|
207
|
+
documentSectionType: DocumentSectionType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_MICRO,
|
|
208
208
|
},
|
|
209
209
|
{
|
|
210
210
|
idDocumentType: SocietyApprovalDocumentType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_PME,
|
|
211
211
|
docName: 'Déclaration de confidentialité pour les comptes annuels (PME)',
|
|
212
212
|
templateName: 'DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_PME_SASU',
|
|
213
|
-
documentSectionType: DocumentSectionType.
|
|
213
|
+
documentSectionType: DocumentSectionType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_PME,
|
|
214
214
|
},
|
|
215
215
|
{
|
|
216
216
|
idDocumentType: SocietyApprovalDocumentType.INCOME_APPROPRIATION,
|
|
@@ -246,13 +246,13 @@ export const SocietyApprovalDocumentsByLegalForm: SocietyApprovalDocumentConfig[
|
|
|
246
246
|
idDocumentType: SocietyApprovalDocumentType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_MICRO,
|
|
247
247
|
docName: 'Déclaration de confidentialité pour les comptes annuels (Micro)',
|
|
248
248
|
templateName: 'DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_MICRO_SAS',
|
|
249
|
-
documentSectionType: DocumentSectionType.
|
|
249
|
+
documentSectionType: DocumentSectionType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_MICRO,
|
|
250
250
|
},
|
|
251
251
|
{
|
|
252
252
|
idDocumentType: SocietyApprovalDocumentType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_PME,
|
|
253
253
|
docName: 'Déclaration de confidentialité pour les comptes annuels (PME)',
|
|
254
254
|
templateName: 'DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_PME_SAS',
|
|
255
|
-
documentSectionType: DocumentSectionType.
|
|
255
|
+
documentSectionType: DocumentSectionType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_PME,
|
|
256
256
|
},
|
|
257
257
|
{
|
|
258
258
|
idDocumentType: SocietyApprovalDocumentType.INCOME_APPROPRIATION,
|
|
@@ -282,13 +282,13 @@ export const SocietyApprovalDocumentsByLegalForm: SocietyApprovalDocumentConfig[
|
|
|
282
282
|
idDocumentType: SocietyApprovalDocumentType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_MICRO,
|
|
283
283
|
docName: 'Déclaration de confidentialité pour les comptes annuels (Micro)',
|
|
284
284
|
templateName: 'DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_MICRO_SCI',
|
|
285
|
-
documentSectionType: DocumentSectionType.
|
|
285
|
+
documentSectionType: DocumentSectionType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_MICRO,
|
|
286
286
|
},
|
|
287
287
|
{
|
|
288
288
|
idDocumentType: SocietyApprovalDocumentType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_PME,
|
|
289
289
|
docName: 'Déclaration de confidentialité pour les comptes annuels',
|
|
290
290
|
templateName: 'DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_PME_SCI',
|
|
291
|
-
documentSectionType: DocumentSectionType.
|
|
291
|
+
documentSectionType: DocumentSectionType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_PME,
|
|
292
292
|
},
|
|
293
293
|
{
|
|
294
294
|
idDocumentType: SocietyApprovalDocumentType.INCOME_APPROPRIATION,
|
|
@@ -9,10 +9,11 @@ export enum DocumentSectionType {
|
|
|
9
9
|
// Utilisés pour la génération de documents juridiques (approbation) depuis clientApp
|
|
10
10
|
APPROVAL_PV = 5,
|
|
11
11
|
POWER_MANDATE = 6,
|
|
12
|
-
|
|
12
|
+
DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_MICRO = 7,
|
|
13
13
|
INCOME_APPROPRIATION = 8,
|
|
14
14
|
LIST_OF_CONVENTIONS = 9,
|
|
15
15
|
LIST_OF_DIVIDENDS = 10,
|
|
16
|
+
DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_PME = 11,
|
|
16
17
|
}
|
|
17
18
|
|
|
18
19
|
export const DocumentSectionTypeDetail = [
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ApiProperty } from '@nestjs/swagger';
|
|
2
|
+
import { IsString } from 'class-validator';
|
|
3
|
+
|
|
4
|
+
export class CreateAcdAuthentication {
|
|
5
|
+
@ApiProperty()
|
|
6
|
+
@IsString()
|
|
7
|
+
uuid: string;
|
|
8
|
+
|
|
9
|
+
@ApiProperty()
|
|
10
|
+
@IsString()
|
|
11
|
+
referer: string;
|
|
12
|
+
|
|
13
|
+
@ApiProperty()
|
|
14
|
+
@IsString()
|
|
15
|
+
cnx: string;
|
|
16
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IsBoolean, IsEnum, IsInt, IsOptional } from 'class-validator';
|
|
1
|
+
import { IsBoolean, IsEnum, IsInt, IsObject, IsOptional } from 'class-validator';
|
|
2
2
|
import { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger';
|
|
3
3
|
import { IDocumentRequest } from '../../models/IDocumentRequest.js';
|
|
4
4
|
import { TypeFile } from '../../../Enum/Ged.js';
|
|
@@ -23,6 +23,11 @@ export class CreateDocumentRequest implements Omit<IDocumentRequest, 'id' | 'idR
|
|
|
23
23
|
@IsInt()
|
|
24
24
|
idBalanceSheet?: number;
|
|
25
25
|
|
|
26
|
+
@ApiPropertyOptional()
|
|
27
|
+
@IsOptional()
|
|
28
|
+
@IsInt()
|
|
29
|
+
idBankAccount?: number;
|
|
30
|
+
|
|
26
31
|
@ApiPropertyOptional()
|
|
27
32
|
@IsOptional()
|
|
28
33
|
comment?: string;
|
|
@@ -32,4 +37,9 @@ export class CreateDocumentRequest implements Omit<IDocumentRequest, 'id' | 'idR
|
|
|
32
37
|
@IsBoolean()
|
|
33
38
|
@ToBoolean()
|
|
34
39
|
isMandatory?: boolean;
|
|
40
|
+
|
|
41
|
+
@ApiPropertyOptional()
|
|
42
|
+
@IsOptional()
|
|
43
|
+
@IsObject()
|
|
44
|
+
metadata?: Record<string, unknown>;
|
|
35
45
|
}
|
|
@@ -1,8 +1,21 @@
|
|
|
1
|
-
import { IsArray, IsBoolean, IsInt, IsOptional } from 'class-validator';
|
|
1
|
+
import { IsArray, IsBoolean, IsEnum, IsInt, IsOptional } from 'class-validator';
|
|
2
2
|
import { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger';
|
|
3
3
|
import { TypeFile } from '../../../Enum/Ged.js';
|
|
4
|
+
import { MailAuto } from '../../../Enum/MailAuto.js';
|
|
4
5
|
import { ToBoolean } from '../../../../utils/transforms/boolean.transform.js';
|
|
5
6
|
|
|
7
|
+
export enum DocumentRequestAskMailAuto {
|
|
8
|
+
CHECKLIST = MailAuto.ASK_DOCUMENTS_CHECKLIST,
|
|
9
|
+
CUT_OFF = MailAuto.ASK_DOCUMENTS_CUT_OFF,
|
|
10
|
+
BANK_STATEMENT = MailAuto.ASK_DOCUMENTS_BANK_STATEMENT,
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export enum DocumentRequestRelaunchMailAuto {
|
|
14
|
+
CHECKLIST = MailAuto.RELAUNCH_DOCUMENTS_CHECKLIST,
|
|
15
|
+
CUT_OFF = MailAuto.RELAUNCH_DOCUMENTS_CUT_OFF,
|
|
16
|
+
BANK_STATEMENT = MailAuto.RELAUNCH_DOCUMENTS_BANK_STATEMENT,
|
|
17
|
+
}
|
|
18
|
+
|
|
6
19
|
export class QueryDocumentRequest {
|
|
7
20
|
@ApiPropertyOptional()
|
|
8
21
|
@IsOptional()
|
|
@@ -26,9 +39,15 @@ export class QueryDocumentRequest {
|
|
|
26
39
|
}
|
|
27
40
|
|
|
28
41
|
export class SendRelaunchDocumentsMail {
|
|
29
|
-
@
|
|
42
|
+
@ApiPropertyOptional()
|
|
43
|
+
@IsOptional()
|
|
44
|
+
@IsInt()
|
|
45
|
+
idExercice?: number;
|
|
46
|
+
|
|
47
|
+
@ApiPropertyOptional()
|
|
48
|
+
@IsOptional()
|
|
30
49
|
@IsInt()
|
|
31
|
-
|
|
50
|
+
idSociety?: number;
|
|
32
51
|
|
|
33
52
|
@ApiProperty()
|
|
34
53
|
@IsBoolean()
|
|
@@ -36,15 +55,20 @@ export class SendRelaunchDocumentsMail {
|
|
|
36
55
|
sendRefusedTemplate: boolean;
|
|
37
56
|
|
|
38
57
|
@ApiProperty()
|
|
39
|
-
@
|
|
40
|
-
|
|
41
|
-
isForChecklist: boolean;
|
|
58
|
+
@IsEnum(DocumentRequestRelaunchMailAuto)
|
|
59
|
+
idMailAuto: DocumentRequestRelaunchMailAuto;
|
|
42
60
|
}
|
|
43
61
|
|
|
44
62
|
export class SendAskDocumentsMail {
|
|
45
|
-
@
|
|
63
|
+
@ApiPropertyOptional()
|
|
64
|
+
@IsOptional()
|
|
65
|
+
@IsInt()
|
|
66
|
+
idExercice?: number;
|
|
67
|
+
|
|
68
|
+
@ApiPropertyOptional()
|
|
69
|
+
@IsOptional()
|
|
46
70
|
@IsInt()
|
|
47
|
-
|
|
71
|
+
idSociety?: number;
|
|
48
72
|
|
|
49
73
|
@ApiPropertyOptional()
|
|
50
74
|
@IsOptional()
|
|
@@ -53,7 +77,6 @@ export class SendAskDocumentsMail {
|
|
|
53
77
|
addAdviceNote?: boolean;
|
|
54
78
|
|
|
55
79
|
@ApiProperty()
|
|
56
|
-
@
|
|
57
|
-
|
|
58
|
-
isForChecklist: boolean;
|
|
80
|
+
@IsEnum(DocumentRequestAskMailAuto)
|
|
81
|
+
idMailAuto: DocumentRequestAskMailAuto;
|
|
59
82
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IsBoolean, IsEnum, IsInt, IsOptional } from 'class-validator';
|
|
1
|
+
import { IsBoolean, IsEnum, IsInt, IsObject, IsOptional } from 'class-validator';
|
|
2
2
|
import { ApiPropertyOptional } from '@nestjs/swagger';
|
|
3
3
|
import { IDocumentRequest } from '../../models/IDocumentRequest.js';
|
|
4
4
|
import { TypeFile } from '../../../Enum/Ged.js';
|
|
@@ -42,4 +42,9 @@ export class UpdateDocumentRequest implements Partial<
|
|
|
42
42
|
@IsBoolean()
|
|
43
43
|
@ToBoolean()
|
|
44
44
|
isMandatory?: boolean;
|
|
45
|
+
|
|
46
|
+
@ApiPropertyOptional()
|
|
47
|
+
@IsOptional()
|
|
48
|
+
@IsObject()
|
|
49
|
+
metadata?: Record<string, unknown>;
|
|
45
50
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IsArray, IsBoolean,
|
|
1
|
+
import { IsArray, IsBoolean, IsDateString, IsInt, IsOptional, IsString } from 'class-validator';
|
|
2
2
|
import { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger';
|
|
3
3
|
import { ToBoolean } from '../../../../utils/transforms/boolean.transform.js';
|
|
4
4
|
|
|
@@ -20,13 +20,13 @@ export class QueryLetter {
|
|
|
20
20
|
|
|
21
21
|
@ApiPropertyOptional()
|
|
22
22
|
@IsOptional()
|
|
23
|
-
@
|
|
24
|
-
beginDate?:
|
|
23
|
+
@IsDateString()
|
|
24
|
+
beginDate?: string | null;
|
|
25
25
|
|
|
26
26
|
@ApiPropertyOptional()
|
|
27
27
|
@IsOptional()
|
|
28
|
-
@
|
|
29
|
-
endDate?:
|
|
28
|
+
@IsDateString()
|
|
29
|
+
endDate?: string | null;
|
|
30
30
|
|
|
31
31
|
@ApiPropertyOptional()
|
|
32
32
|
@IsOptional()
|
|
@@ -30,6 +30,29 @@ export class NumberFiscalYearsValidation implements NumberFiscalYears {
|
|
|
30
30
|
vat?: number;
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
+
export class OptionNumberFiscalYearsValidation implements OptionNumberFiscalYears {
|
|
34
|
+
@ApiProperty()
|
|
35
|
+
@IsNumber()
|
|
36
|
+
n: number;
|
|
37
|
+
|
|
38
|
+
@ApiProperty()
|
|
39
|
+
@IsNumber()
|
|
40
|
+
n1: number;
|
|
41
|
+
|
|
42
|
+
@ApiProperty()
|
|
43
|
+
@IsNumber()
|
|
44
|
+
n2: number;
|
|
45
|
+
|
|
46
|
+
@ApiProperty()
|
|
47
|
+
@IsNumber()
|
|
48
|
+
vat: number;
|
|
49
|
+
|
|
50
|
+
@ApiPropertyOptional()
|
|
51
|
+
@IsOptional()
|
|
52
|
+
@IsBoolean()
|
|
53
|
+
isMarginRate?: boolean;
|
|
54
|
+
}
|
|
55
|
+
|
|
33
56
|
export class LoansInformations implements LoanInformation {
|
|
34
57
|
@ApiProperty()
|
|
35
58
|
@IsIn(['n', 'n1', 'n2'])
|
|
@@ -43,12 +43,15 @@ export interface ProspectInfo {
|
|
|
43
43
|
|
|
44
44
|
export interface ProspectSocietyInfo {
|
|
45
45
|
name?: string;
|
|
46
|
+
address?: string;
|
|
47
|
+
city?: string;
|
|
46
48
|
idActivity?: Activity;
|
|
47
49
|
idLegalForm?: LegalFormTypeEnum;
|
|
48
50
|
idSubscriptionType?: SubscriptionType;
|
|
49
51
|
zipCode?: string;
|
|
50
52
|
turnover?: number;
|
|
51
53
|
siret?: string;
|
|
54
|
+
dateInscription?: Date;
|
|
52
55
|
idNafCode?: number;
|
|
53
56
|
}
|
|
54
57
|
|
|
@@ -5,6 +5,7 @@ import { IBalanceSheet } from './IBalanceSheet.js';
|
|
|
5
5
|
import { IUser } from './IUser.js';
|
|
6
6
|
import { IFile } from './IFile.js';
|
|
7
7
|
import { IGedFile } from './IGedFile.js';
|
|
8
|
+
import { IBankAccount } from './IBankAccount.js';
|
|
8
9
|
|
|
9
10
|
export class IDocumentRequest {
|
|
10
11
|
id?: number;
|
|
@@ -12,8 +13,10 @@ export class IDocumentRequest {
|
|
|
12
13
|
idExercice?: number | null;
|
|
13
14
|
idBalanceSheet?: number | null;
|
|
14
15
|
idRequestedBy: number; // IUser who requested the document
|
|
16
|
+
idBankAccount?: number | null;
|
|
15
17
|
typeFile: TypeFile;
|
|
16
18
|
comment?: string | null;
|
|
19
|
+
metadata?: Record<string, unknown> | null;
|
|
17
20
|
isNotConcerned?: boolean; // This can't be null (default false in db)
|
|
18
21
|
isMandatory?: boolean; // If true, client cannot mark this request as not concerned
|
|
19
22
|
notConcernedAt?: Date | null;
|
|
@@ -28,4 +31,5 @@ export class IDocumentRequest {
|
|
|
28
31
|
requestedBy?: IUser;
|
|
29
32
|
gedFiles?: IGedFile[];
|
|
30
33
|
files?: IFile[];
|
|
34
|
+
bankAccount?: IBankAccount;
|
|
31
35
|
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { IFile } from './IFile.js';
|
|
2
|
+
import { IUser } from './IUser.js';
|
|
3
|
+
import { IVat } from './IVat.js';
|
|
4
|
+
|
|
5
|
+
export interface IPartneredAccountant {
|
|
6
|
+
id?: number;
|
|
7
|
+
externalId: string | null;
|
|
8
|
+
idUser: number | null;
|
|
9
|
+
name: string;
|
|
10
|
+
address: string | null;
|
|
11
|
+
zipCode: string | null;
|
|
12
|
+
city: string | null;
|
|
13
|
+
yearOfOrderRegistration: number | null;
|
|
14
|
+
schedules?: string | null;
|
|
15
|
+
description: string | null;
|
|
16
|
+
idVAT?: number;
|
|
17
|
+
idLogo?: number | null;
|
|
18
|
+
logoColor?: string | null;
|
|
19
|
+
idBanner?: number | null;
|
|
20
|
+
videoLink?: string | null;
|
|
21
|
+
|
|
22
|
+
createdAt?: Date;
|
|
23
|
+
updatedAt?: Date;
|
|
24
|
+
deletedAt?: Date | null;
|
|
25
|
+
|
|
26
|
+
// Associations
|
|
27
|
+
VAT?: IVat;
|
|
28
|
+
logo?: IFile;
|
|
29
|
+
banner?: IFile;
|
|
30
|
+
user?: IUser;
|
|
31
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { IPartneredAccountant } from './IPartneredAccountant.js';
|
|
2
|
+
import { ISociety } from './ISociety.js';
|
|
3
|
+
|
|
4
|
+
export interface IPartneredAccountantToSociety {
|
|
5
|
+
id?: number;
|
|
6
|
+
externalId: string | null;
|
|
7
|
+
idPartneredAccountant: number;
|
|
8
|
+
idSociety: number;
|
|
9
|
+
|
|
10
|
+
createdAt?: number;
|
|
11
|
+
updatedAt?: number;
|
|
12
|
+
|
|
13
|
+
// Associations
|
|
14
|
+
partneredAccountant?: IPartneredAccountant;
|
|
15
|
+
society?: ISociety;
|
|
16
|
+
}
|
package/ts/types/index.ts
CHANGED
|
@@ -118,6 +118,8 @@ export * from './Interface/models/IPartnerTransaction.js';
|
|
|
118
118
|
export * from './Interface/models/IPaymentDelay.js';
|
|
119
119
|
export * from './Interface/models/IPaymentSchedule.js';
|
|
120
120
|
export * from './Interface/models/IPayment.js';
|
|
121
|
+
export * from './Interface/models/IPartneredAccountant.js';
|
|
122
|
+
export * from './Interface/models/IPartneredAccountantToSociety.js';
|
|
121
123
|
export * from './Interface/models/IPaymentExpectation.js';
|
|
122
124
|
export * from './Interface/models/IPaymentExpectationCustomer.js';
|
|
123
125
|
export * from './Interface/models/IPaymentMethod.js';
|
|
@@ -580,6 +582,7 @@ export * from './Enum/Revenue.js';
|
|
|
580
582
|
export * from './Enum/EbookIntention.js';
|
|
581
583
|
|
|
582
584
|
// Interfaces API
|
|
585
|
+
export * from './Interface/api/acd/Create.js';
|
|
583
586
|
export * from './Interface/api/authentification/AuthenticationResponse.js';
|
|
584
587
|
export * from './Interface/api/exercice/ReadExercice.js';
|
|
585
588
|
export * from './Interface/api/authentification/AuthenticationResponse.js';
|
|
@@ -682,6 +685,7 @@ export * from './Interface/api/commercial/QueryFetchDialogDatasInfosOk.js';
|
|
|
682
685
|
export * from './Interface/api/commercial/QueryMovePrestationsToNextMonth.js';
|
|
683
686
|
export * from './Interface/api/commercial/ReadStatsProspect.js';
|
|
684
687
|
export * from './Interface/api/society/GetDataSociety.js';
|
|
688
|
+
export * from './Interface/api/society/CleanupResult.js';
|
|
685
689
|
export * from './Interface/api/society/CreateSociety.js';
|
|
686
690
|
export * from './Interface/api/society/GetSocietyDetail.js';
|
|
687
691
|
export * from './Interface/api/society/UpdateSociety.js';
|