@silexpert/core 1.3.144-2 → 1.3.144
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/AccountingFiles.d.ts.map +1 -1
- package/dist/cjs/api/resources/AccountingFiles.js +1 -0
- package/dist/cjs/api/resources/AccountingFiles.js.map +1 -1
- 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/Brevo.d.ts +2 -2
- package/dist/cjs/api/resources/Brevo.d.ts.map +1 -1
- package/dist/cjs/api/resources/Brevo.js.map +1 -1
- package/dist/cjs/api/resources/Checklist.d.ts +29 -1
- package/dist/cjs/api/resources/Checklist.d.ts.map +1 -1
- package/dist/cjs/api/resources/Checklist.js +47 -0
- package/dist/cjs/api/resources/Checklist.js.map +1 -1
- package/dist/cjs/api/resources/Commercial.d.ts +2 -1
- package/dist/cjs/api/resources/Commercial.d.ts.map +1 -1
- package/dist/cjs/api/resources/Commercial.js +3 -0
- package/dist/cjs/api/resources/Commercial.js.map +1 -1
- package/dist/cjs/api/resources/DashboardLayout.d.ts +9 -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/Inpi.d.ts +36 -0
- package/dist/cjs/api/resources/Inpi.d.ts.map +1 -1
- package/dist/cjs/api/resources/Inpi.js +48 -0
- package/dist/cjs/api/resources/Inpi.js.map +1 -1
- package/dist/cjs/api/resources/Payment.d.ts +3 -2
- package/dist/cjs/api/resources/Payment.d.ts.map +1 -1
- package/dist/cjs/api/resources/Payment.js +3 -0
- package/dist/cjs/api/resources/Payment.js.map +1 -1
- package/dist/cjs/api/resources/PaymentExpectationCustomer.d.ts +4 -0
- package/dist/cjs/api/resources/PaymentExpectationCustomer.d.ts.map +1 -1
- package/dist/cjs/api/resources/PaymentExpectationCustomer.js +6 -0
- package/dist/cjs/api/resources/PaymentExpectationCustomer.js.map +1 -1
- package/dist/cjs/api/resources/Registration.js +1 -1
- package/dist/cjs/api/resources/Registration.js.map +1 -1
- package/dist/cjs/api/resources/Revision.d.ts +4 -1
- package/dist/cjs/api/resources/Revision.d.ts.map +1 -1
- package/dist/cjs/api/resources/Revision.js +9 -0
- package/dist/cjs/api/resources/Revision.js.map +1 -1
- package/dist/cjs/api/resources/Team.d.ts +21 -1
- package/dist/cjs/api/resources/Team.d.ts.map +1 -1
- package/dist/cjs/api/resources/Team.js +26 -0
- package/dist/cjs/api/resources/Team.js.map +1 -1
- package/dist/cjs/api/resources.d.ts +6 -0
- package/dist/cjs/api/resources.d.ts.map +1 -1
- package/dist/cjs/api/resources.js +6 -0
- package/dist/cjs/api/resources.js.map +1 -1
- package/dist/cjs/types/Enum/AbsenceType.d.ts +1 -0
- package/dist/cjs/types/Enum/AbsenceType.d.ts.map +1 -1
- package/dist/cjs/types/Enum/AbsenceType.js +11 -1
- package/dist/cjs/types/Enum/AbsenceType.js.map +1 -1
- package/dist/cjs/types/Enum/Aspone.d.ts +8 -0
- package/dist/cjs/types/Enum/Aspone.d.ts.map +1 -1
- package/dist/cjs/types/Enum/Aspone.js +11 -1
- package/dist/cjs/types/Enum/Aspone.js.map +1 -1
- package/dist/cjs/types/Enum/BalanceSheet.d.ts +66 -0
- package/dist/cjs/types/Enum/BalanceSheet.d.ts.map +1 -1
- package/dist/cjs/types/Enum/BalanceSheet.js +136 -69
- package/dist/cjs/types/Enum/BalanceSheet.js.map +1 -1
- package/dist/cjs/types/Enum/BalanceSheetQuestion.d.ts +62 -1
- package/dist/cjs/types/Enum/BalanceSheetQuestion.d.ts.map +1 -1
- package/dist/cjs/types/Enum/BalanceSheetQuestion.js +62 -0
- package/dist/cjs/types/Enum/BalanceSheetQuestion.js.map +1 -1
- package/dist/cjs/types/Enum/BalanceSheetQuestionWording.d.ts +58 -13
- package/dist/cjs/types/Enum/BalanceSheetQuestionWording.d.ts.map +1 -1
- package/dist/cjs/types/Enum/BalanceSheetQuestionWording.js +58 -12
- package/dist/cjs/types/Enum/BalanceSheetQuestionWording.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/EntityType.d.ts +2 -2
- package/dist/cjs/types/Enum/EntityType.js +2 -2
- package/dist/cjs/types/Enum/EntityType.js.map +1 -1
- package/dist/cjs/types/Enum/Ged.d.ts +75 -5
- package/dist/cjs/types/Enum/Ged.d.ts.map +1 -1
- package/dist/cjs/types/Enum/Ged.js +188 -1
- package/dist/cjs/types/Enum/Ged.js.map +1 -1
- package/dist/cjs/types/Enum/GlobalRegime.js +19 -19
- package/dist/cjs/types/Enum/GlobalRegime.js.map +1 -1
- package/dist/cjs/types/Enum/IncomeStatement.d.ts +32 -0
- package/dist/cjs/types/Enum/IncomeStatement.d.ts.map +1 -1
- package/dist/cjs/types/Enum/IncomeStatement.js +74 -41
- package/dist/cjs/types/Enum/IncomeStatement.js.map +1 -1
- package/dist/cjs/types/Enum/LegalForm.d.ts +1 -0
- package/dist/cjs/types/Enum/LegalForm.d.ts.map +1 -1
- package/dist/cjs/types/Enum/LegalForm.js +39 -4
- package/dist/cjs/types/Enum/LegalForm.js.map +1 -1
- package/dist/cjs/types/Enum/MailAuto.d.ts +2 -1
- package/dist/cjs/types/Enum/MailAuto.d.ts.map +1 -1
- package/dist/cjs/types/Enum/MailAuto.js +1 -0
- package/dist/cjs/types/Enum/MailAuto.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/ReasonNotSubscribed.d.ts.map +1 -1
- package/dist/cjs/types/Enum/ReasonNotSubscribed.js +12 -6
- package/dist/cjs/types/Enum/ReasonNotSubscribed.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/StatsCaStateDetail.d.ts +18 -0
- package/dist/cjs/types/Enum/StatsCaStateDetail.d.ts.map +1 -1
- package/dist/cjs/types/Enum/StatsCaStateDetail.js +19 -1
- package/dist/cjs/types/Enum/StatsCaStateDetail.js.map +1 -1
- package/dist/cjs/types/Enum/Unit.d.ts +10 -3
- package/dist/cjs/types/Enum/Unit.d.ts.map +1 -1
- package/dist/cjs/types/Enum/Unit.js +11 -0
- package/dist/cjs/types/Enum/Unit.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 +24 -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/OnBoarding.d.ts +1 -0
- package/dist/cjs/types/Interface/api/OnBoarding.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/OnBoarding.js +6 -0
- package/dist/cjs/types/Interface/api/OnBoarding.js.map +1 -1
- package/dist/cjs/types/Interface/api/absenceRequest/ReadAbsenceRequest.d.ts +1 -1
- package/dist/cjs/types/Interface/api/absenceRequest/ReadAbsenceRequest.js.map +1 -1
- package/dist/cjs/types/Interface/api/balanceSheet/ReadBalanceSheet.d.ts +3 -2
- package/dist/cjs/types/Interface/api/balanceSheet/ReadBalanceSheet.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/balanceSheet/ReadBalanceSheet.js.map +1 -1
- 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/bankAccount/Query.d.ts +6 -0
- package/dist/cjs/types/Interface/api/bankAccount/Query.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/bankAccount/Query.js +24 -1
- package/dist/cjs/types/Interface/api/bankAccount/Query.js.map +1 -1
- package/dist/cjs/types/Interface/api/brevo/BrevoElement.d.ts +3 -1
- package/dist/cjs/types/Interface/api/brevo/BrevoElement.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/brevo/BrevoElement.js +14 -1
- package/dist/cjs/types/Interface/api/brevo/BrevoElement.js.map +1 -1
- package/dist/cjs/types/Interface/api/card/QueryUserCards.d.ts +2 -2
- package/dist/cjs/types/Interface/api/card/QueryUserCards.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/card/QueryUserCards.js +4 -4
- package/dist/cjs/types/Interface/api/card/QueryUserCards.js.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/2031.d.ts +3 -2
- package/dist/cjs/types/Interface/api/cerfa/2031.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/2031.js.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/2050.d.ts +1592 -1634
- package/dist/cjs/types/Interface/api/cerfa/2050.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/2050.js.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/2065.d.ts +3 -2
- package/dist/cjs/types/Interface/api/cerfa/2065.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/2065.js.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/3310.d.ts +1 -0
- package/dist/cjs/types/Interface/api/cerfa/3310.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/3310.js.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/ReadCerfa.d.ts +10 -1
- package/dist/cjs/types/Interface/api/cerfa/ReadCerfa.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/ReadCerfa.js.map +1 -1
- package/dist/cjs/types/Interface/api/checklist/Query.d.ts +6 -0
- package/dist/cjs/types/Interface/api/checklist/Query.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/checklist/Query.js +20 -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/commercial/QueryPaginatedSocietyWithStatsCa.d.ts +1 -1
- package/dist/cjs/types/Interface/api/commercial/QueryPaginatedSocietyWithStatsCa.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/commercial/QueryPaginatedSocietyWithStatsCa.js +2 -3
- package/dist/cjs/types/Interface/api/commercial/QueryPaginatedSocietyWithStatsCa.js.map +1 -1
- package/dist/cjs/types/Interface/api/commercial/RequiredDocsTypeParams.d.ts +1 -0
- package/dist/cjs/types/Interface/api/commercial/RequiredDocsTypeParams.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/commercial/RequiredDocsTypeParams.js.map +1 -1
- package/dist/cjs/types/Interface/api/companyCreationForm/CompanyCreationFormPayload.d.ts +0 -1
- package/dist/cjs/types/Interface/api/companyCreationForm/CompanyCreationFormPayload.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/companyCreationForm/CompanyCreationFormPayload.js.map +1 -1
- package/dist/cjs/types/Interface/api/companyCreationForm/CreateCompanyCreationForm.d.ts +0 -1
- package/dist/cjs/types/Interface/api/companyCreationForm/CreateCompanyCreationForm.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/companyCreationForm/CreateCompanyCreationForm.js +0 -7
- package/dist/cjs/types/Interface/api/companyCreationForm/CreateCompanyCreationForm.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/incomeStatement/ReadIncomeStatement.d.ts +3 -2
- package/dist/cjs/types/Interface/api/incomeStatement/ReadIncomeStatement.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/incomeStatement/ReadIncomeStatement.js.map +1 -1
- package/dist/cjs/types/Interface/api/inpi/inpi.d.ts +113 -0
- package/dist/cjs/types/Interface/api/inpi/inpi.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/inpi/inpi.js.map +1 -1
- package/dist/cjs/types/Interface/api/library/QueryLibrary.d.ts +5 -2
- package/dist/cjs/types/Interface/api/library/QueryLibrary.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/library/QueryLibrary.js +14 -2
- package/dist/cjs/types/Interface/api/library/QueryLibrary.js.map +1 -1
- package/dist/cjs/types/Interface/api/oldExportInfo/OldExpertInfos.d.ts +5 -5
- package/dist/cjs/types/Interface/api/oldExportInfo/OldExpertInfos.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/oldExportInfo/OldExpertInfos.js +5 -5
- package/dist/cjs/types/Interface/api/oldExportInfo/OldExpertInfos.js.map +1 -1
- package/dist/cjs/types/Interface/api/payment/Params.d.ts +5 -0
- package/dist/cjs/types/Interface/api/payment/Params.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/payment/Params.js +27 -1
- package/dist/cjs/types/Interface/api/payment/Params.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/payment/Util.d.ts +0 -2
- package/dist/cjs/types/Interface/api/payment/Util.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/payment/Util.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/prestation/Query.d.ts +2 -2
- package/dist/cjs/types/Interface/api/prestation/Query.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/prestation/Query.js.map +1 -1
- package/dist/cjs/types/Interface/api/registration/ReadRegistration.d.ts +4 -0
- package/dist/cjs/types/Interface/api/registration/ReadRegistration.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/registration/ReadRegistration.js.map +1 -1
- package/dist/cjs/types/Interface/api/revision/Revision.d.ts +1 -1
- package/dist/cjs/types/Interface/api/revision/Revision.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/revision/Revision.js.map +1 -1
- package/dist/cjs/types/Interface/api/society/ReadSociety.d.ts +12 -1
- 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/api/stripe/QueryStripe.d.ts +3 -0
- package/dist/cjs/types/Interface/api/stripe/QueryStripe.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/stripe/QueryStripe.js +11 -1
- package/dist/cjs/types/Interface/api/stripe/QueryStripe.js.map +1 -1
- package/dist/cjs/types/Interface/api/team/UpdateTeamsForUser.d.ts +6 -0
- package/dist/cjs/types/Interface/api/team/UpdateTeamsForUser.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/team/UpdateTeamsForUser.js +38 -0
- package/dist/cjs/types/Interface/api/team/UpdateTeamsForUser.js.map +1 -0
- 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/IPaymentExpectation.d.ts +2 -0
- package/dist/cjs/types/Interface/models/IPaymentExpectation.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/IPaymentExpectation.js.map +1 -1
- package/dist/cjs/types/Interface/models/IPrestation.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/IPrestation.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 +7 -0
- package/dist/cjs/types/index.d.ts.map +1 -1
- package/dist/cjs/types/index.js +7 -0
- package/dist/cjs/types/index.js.map +1 -1
- package/dist/cjs/utils/payment.js +54 -50
- package/dist/cjs/utils/payment.js.map +1 -1
- package/dist/cjs/utils/prestation.d.ts +1 -0
- package/dist/cjs/utils/prestation.d.ts.map +1 -1
- package/dist/cjs/utils/prestation.js +1 -0
- package/dist/cjs/utils/prestation.js.map +1 -1
- package/dist/cjs/utils/tests/payment.spec.js +33 -33
- package/dist/cjs/utils/tests/payment.spec.js.map +1 -1
- package/dist/cjs/utils/vat/3310/century25.d.ts.map +1 -1
- package/dist/cjs/utils/vat/3310/century25.js +22 -7
- package/dist/cjs/utils/vat/3310/century25.js.map +1 -1
- package/dist/cjs/utils/vat/3517/century25.d.ts.map +1 -1
- package/dist/cjs/utils/vat/3517/century25.js +61 -54
- package/dist/cjs/utils/vat/3517/century25.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/AccountingFiles.d.ts.map +1 -1
- package/dist/mjs/api/resources/AccountingFiles.js +1 -0
- package/dist/mjs/api/resources/AccountingFiles.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/Brevo.d.ts +2 -2
- package/dist/mjs/api/resources/Brevo.d.ts.map +1 -1
- package/dist/mjs/api/resources/Brevo.js.map +1 -1
- package/dist/mjs/api/resources/Checklist.d.ts +29 -1
- package/dist/mjs/api/resources/Checklist.d.ts.map +1 -1
- package/dist/mjs/api/resources/Checklist.js +47 -0
- package/dist/mjs/api/resources/Checklist.js.map +1 -1
- package/dist/mjs/api/resources/Commercial.d.ts +2 -1
- package/dist/mjs/api/resources/Commercial.d.ts.map +1 -1
- package/dist/mjs/api/resources/Commercial.js +3 -0
- package/dist/mjs/api/resources/Commercial.js.map +1 -1
- package/dist/mjs/api/resources/DashboardLayout.d.ts +9 -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/Inpi.d.ts +36 -0
- package/dist/mjs/api/resources/Inpi.d.ts.map +1 -1
- package/dist/mjs/api/resources/Inpi.js +48 -0
- package/dist/mjs/api/resources/Inpi.js.map +1 -1
- package/dist/mjs/api/resources/Payment.d.ts +3 -2
- package/dist/mjs/api/resources/Payment.d.ts.map +1 -1
- package/dist/mjs/api/resources/Payment.js +3 -0
- package/dist/mjs/api/resources/Payment.js.map +1 -1
- package/dist/mjs/api/resources/PaymentExpectationCustomer.d.ts +4 -0
- package/dist/mjs/api/resources/PaymentExpectationCustomer.d.ts.map +1 -1
- package/dist/mjs/api/resources/PaymentExpectationCustomer.js +6 -0
- package/dist/mjs/api/resources/PaymentExpectationCustomer.js.map +1 -1
- package/dist/mjs/api/resources/Registration.js +1 -1
- package/dist/mjs/api/resources/Registration.js.map +1 -1
- package/dist/mjs/api/resources/Revision.d.ts +4 -1
- package/dist/mjs/api/resources/Revision.d.ts.map +1 -1
- package/dist/mjs/api/resources/Revision.js +9 -0
- package/dist/mjs/api/resources/Revision.js.map +1 -1
- package/dist/mjs/api/resources/Team.d.ts +21 -1
- package/dist/mjs/api/resources/Team.d.ts.map +1 -1
- package/dist/mjs/api/resources/Team.js +26 -0
- package/dist/mjs/api/resources/Team.js.map +1 -1
- package/dist/mjs/api/resources.d.ts +6 -0
- package/dist/mjs/api/resources.d.ts.map +1 -1
- package/dist/mjs/api/resources.js +6 -0
- package/dist/mjs/api/resources.js.map +1 -1
- package/dist/mjs/types/Enum/AbsenceType.d.ts +1 -0
- package/dist/mjs/types/Enum/AbsenceType.d.ts.map +1 -1
- package/dist/mjs/types/Enum/AbsenceType.js +11 -1
- package/dist/mjs/types/Enum/AbsenceType.js.map +1 -1
- package/dist/mjs/types/Enum/Aspone.d.ts +8 -0
- package/dist/mjs/types/Enum/Aspone.d.ts.map +1 -1
- package/dist/mjs/types/Enum/Aspone.js +10 -0
- package/dist/mjs/types/Enum/Aspone.js.map +1 -1
- package/dist/mjs/types/Enum/BalanceSheet.d.ts +66 -0
- package/dist/mjs/types/Enum/BalanceSheet.d.ts.map +1 -1
- package/dist/mjs/types/Enum/BalanceSheet.js +135 -68
- package/dist/mjs/types/Enum/BalanceSheet.js.map +1 -1
- package/dist/mjs/types/Enum/BalanceSheetQuestion.d.ts +62 -1
- package/dist/mjs/types/Enum/BalanceSheetQuestion.d.ts.map +1 -1
- package/dist/mjs/types/Enum/BalanceSheetQuestion.js +62 -0
- package/dist/mjs/types/Enum/BalanceSheetQuestion.js.map +1 -1
- package/dist/mjs/types/Enum/BalanceSheetQuestionWording.d.ts +58 -13
- package/dist/mjs/types/Enum/BalanceSheetQuestionWording.d.ts.map +1 -1
- package/dist/mjs/types/Enum/BalanceSheetQuestionWording.js +58 -12
- package/dist/mjs/types/Enum/BalanceSheetQuestionWording.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/EntityType.d.ts +2 -2
- package/dist/mjs/types/Enum/EntityType.js +2 -2
- package/dist/mjs/types/Enum/EntityType.js.map +1 -1
- package/dist/mjs/types/Enum/Ged.d.ts +75 -5
- package/dist/mjs/types/Enum/Ged.d.ts.map +1 -1
- package/dist/mjs/types/Enum/Ged.js +187 -0
- package/dist/mjs/types/Enum/Ged.js.map +1 -1
- package/dist/mjs/types/Enum/GlobalRegime.js +19 -19
- package/dist/mjs/types/Enum/GlobalRegime.js.map +1 -1
- package/dist/mjs/types/Enum/IncomeStatement.d.ts +32 -0
- package/dist/mjs/types/Enum/IncomeStatement.d.ts.map +1 -1
- package/dist/mjs/types/Enum/IncomeStatement.js +73 -40
- package/dist/mjs/types/Enum/IncomeStatement.js.map +1 -1
- package/dist/mjs/types/Enum/LegalForm.d.ts +1 -0
- package/dist/mjs/types/Enum/LegalForm.d.ts.map +1 -1
- package/dist/mjs/types/Enum/LegalForm.js +39 -4
- package/dist/mjs/types/Enum/LegalForm.js.map +1 -1
- package/dist/mjs/types/Enum/MailAuto.d.ts +2 -1
- package/dist/mjs/types/Enum/MailAuto.d.ts.map +1 -1
- package/dist/mjs/types/Enum/MailAuto.js +1 -0
- package/dist/mjs/types/Enum/MailAuto.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/ReasonNotSubscribed.d.ts.map +1 -1
- package/dist/mjs/types/Enum/ReasonNotSubscribed.js +12 -6
- package/dist/mjs/types/Enum/ReasonNotSubscribed.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/StatsCaStateDetail.d.ts +18 -0
- package/dist/mjs/types/Enum/StatsCaStateDetail.d.ts.map +1 -1
- package/dist/mjs/types/Enum/StatsCaStateDetail.js +18 -0
- package/dist/mjs/types/Enum/StatsCaStateDetail.js.map +1 -1
- package/dist/mjs/types/Enum/Unit.d.ts +10 -3
- package/dist/mjs/types/Enum/Unit.d.ts.map +1 -1
- package/dist/mjs/types/Enum/Unit.js +11 -0
- package/dist/mjs/types/Enum/Unit.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 +24 -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/OnBoarding.d.ts +1 -0
- package/dist/mjs/types/Interface/api/OnBoarding.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/OnBoarding.js +7 -0
- package/dist/mjs/types/Interface/api/OnBoarding.js.map +1 -1
- package/dist/mjs/types/Interface/api/absenceRequest/ReadAbsenceRequest.d.ts +1 -1
- package/dist/mjs/types/Interface/api/absenceRequest/ReadAbsenceRequest.js.map +1 -1
- package/dist/mjs/types/Interface/api/balanceSheet/ReadBalanceSheet.d.ts +3 -2
- package/dist/mjs/types/Interface/api/balanceSheet/ReadBalanceSheet.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/balanceSheet/ReadBalanceSheet.js.map +1 -1
- 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/bankAccount/Query.d.ts +6 -0
- package/dist/mjs/types/Interface/api/bankAccount/Query.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/bankAccount/Query.js +27 -1
- package/dist/mjs/types/Interface/api/bankAccount/Query.js.map +1 -1
- package/dist/mjs/types/Interface/api/brevo/BrevoElement.d.ts +3 -1
- package/dist/mjs/types/Interface/api/brevo/BrevoElement.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/brevo/BrevoElement.js +16 -1
- package/dist/mjs/types/Interface/api/brevo/BrevoElement.js.map +1 -1
- package/dist/mjs/types/Interface/api/card/QueryUserCards.d.ts +2 -2
- package/dist/mjs/types/Interface/api/card/QueryUserCards.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/card/QueryUserCards.js +5 -5
- package/dist/mjs/types/Interface/api/card/QueryUserCards.js.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/2031.d.ts +3 -2
- package/dist/mjs/types/Interface/api/cerfa/2031.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/2031.js.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/2050.d.ts +1592 -1634
- package/dist/mjs/types/Interface/api/cerfa/2050.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/2050.js.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/2065.d.ts +3 -2
- package/dist/mjs/types/Interface/api/cerfa/2065.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/2065.js.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/3310.d.ts +1 -0
- package/dist/mjs/types/Interface/api/cerfa/3310.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/3310.js.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/ReadCerfa.d.ts +10 -1
- package/dist/mjs/types/Interface/api/cerfa/ReadCerfa.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/ReadCerfa.js.map +1 -1
- package/dist/mjs/types/Interface/api/checklist/Query.d.ts +6 -0
- package/dist/mjs/types/Interface/api/checklist/Query.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/checklist/Query.js +19 -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/commercial/QueryPaginatedSocietyWithStatsCa.d.ts +1 -1
- package/dist/mjs/types/Interface/api/commercial/QueryPaginatedSocietyWithStatsCa.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/commercial/QueryPaginatedSocietyWithStatsCa.js +2 -3
- package/dist/mjs/types/Interface/api/commercial/QueryPaginatedSocietyWithStatsCa.js.map +1 -1
- package/dist/mjs/types/Interface/api/commercial/RequiredDocsTypeParams.d.ts +1 -0
- package/dist/mjs/types/Interface/api/commercial/RequiredDocsTypeParams.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/commercial/RequiredDocsTypeParams.js.map +1 -1
- package/dist/mjs/types/Interface/api/companyCreationForm/CompanyCreationFormPayload.d.ts +0 -1
- package/dist/mjs/types/Interface/api/companyCreationForm/CompanyCreationFormPayload.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/companyCreationForm/CompanyCreationFormPayload.js.map +1 -1
- package/dist/mjs/types/Interface/api/companyCreationForm/CreateCompanyCreationForm.d.ts +0 -1
- package/dist/mjs/types/Interface/api/companyCreationForm/CreateCompanyCreationForm.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/companyCreationForm/CreateCompanyCreationForm.js +0 -8
- package/dist/mjs/types/Interface/api/companyCreationForm/CreateCompanyCreationForm.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/incomeStatement/ReadIncomeStatement.d.ts +3 -2
- package/dist/mjs/types/Interface/api/incomeStatement/ReadIncomeStatement.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/incomeStatement/ReadIncomeStatement.js.map +1 -1
- package/dist/mjs/types/Interface/api/inpi/inpi.d.ts +113 -0
- package/dist/mjs/types/Interface/api/inpi/inpi.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/inpi/inpi.js.map +1 -1
- package/dist/mjs/types/Interface/api/library/QueryLibrary.d.ts +5 -2
- package/dist/mjs/types/Interface/api/library/QueryLibrary.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/library/QueryLibrary.js +18 -3
- package/dist/mjs/types/Interface/api/library/QueryLibrary.js.map +1 -1
- package/dist/mjs/types/Interface/api/oldExportInfo/OldExpertInfos.d.ts +5 -5
- package/dist/mjs/types/Interface/api/oldExportInfo/OldExpertInfos.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/oldExportInfo/OldExpertInfos.js +5 -5
- package/dist/mjs/types/Interface/api/oldExportInfo/OldExpertInfos.js.map +1 -1
- package/dist/mjs/types/Interface/api/payment/Params.d.ts +5 -0
- package/dist/mjs/types/Interface/api/payment/Params.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/payment/Params.js +26 -1
- package/dist/mjs/types/Interface/api/payment/Params.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/payment/Util.d.ts +0 -2
- package/dist/mjs/types/Interface/api/payment/Util.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/payment/Util.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/prestation/Query.d.ts +2 -2
- package/dist/mjs/types/Interface/api/prestation/Query.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/prestation/Query.js.map +1 -1
- package/dist/mjs/types/Interface/api/registration/ReadRegistration.d.ts +4 -0
- package/dist/mjs/types/Interface/api/registration/ReadRegistration.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/registration/ReadRegistration.js.map +1 -1
- package/dist/mjs/types/Interface/api/revision/Revision.d.ts +1 -1
- package/dist/mjs/types/Interface/api/revision/Revision.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/revision/Revision.js.map +1 -1
- package/dist/mjs/types/Interface/api/society/ReadSociety.d.ts +12 -1
- 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/api/stripe/QueryStripe.d.ts +3 -0
- package/dist/mjs/types/Interface/api/stripe/QueryStripe.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/stripe/QueryStripe.js +10 -0
- package/dist/mjs/types/Interface/api/stripe/QueryStripe.js.map +1 -1
- package/dist/mjs/types/Interface/api/team/UpdateTeamsForUser.d.ts +6 -0
- package/dist/mjs/types/Interface/api/team/UpdateTeamsForUser.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/team/UpdateTeamsForUser.js +37 -0
- package/dist/mjs/types/Interface/api/team/UpdateTeamsForUser.js.map +1 -0
- 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/IPaymentExpectation.d.ts +2 -0
- package/dist/mjs/types/Interface/models/IPaymentExpectation.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/IPaymentExpectation.js.map +1 -1
- package/dist/mjs/types/Interface/models/IPrestation.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/IPrestation.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 +7 -0
- package/dist/mjs/types/index.d.ts.map +1 -1
- package/dist/mjs/types/index.js +7 -0
- package/dist/mjs/types/index.js.map +1 -1
- package/dist/mjs/utils/payment.js +52 -48
- package/dist/mjs/utils/payment.js.map +1 -1
- package/dist/mjs/utils/prestation.d.ts +1 -0
- package/dist/mjs/utils/prestation.d.ts.map +1 -1
- package/dist/mjs/utils/prestation.js +1 -0
- package/dist/mjs/utils/prestation.js.map +1 -1
- package/dist/mjs/utils/tests/payment.spec.js +34 -34
- package/dist/mjs/utils/tests/payment.spec.js.map +1 -1
- package/dist/mjs/utils/vat/3310/century25.d.ts.map +1 -1
- package/dist/mjs/utils/vat/3310/century25.js +22 -7
- package/dist/mjs/utils/vat/3310/century25.js.map +1 -1
- package/dist/mjs/utils/vat/3517/century25.d.ts.map +1 -1
- package/dist/mjs/utils/vat/3517/century25.js +61 -54
- package/dist/mjs/utils/vat/3517/century25.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/AccountingFiles.ts +1 -0
- package/ts/api/resources/BalanceSheetReport.ts +36 -0
- package/ts/api/resources/Brevo.ts +2 -9
- package/ts/api/resources/Checklist.ts +59 -0
- package/ts/api/resources/Commercial.ts +4 -0
- package/ts/api/resources/DashboardLayout.ts +20 -0
- package/ts/api/resources/DocumentRequest.ts +32 -0
- package/ts/api/resources/Exercice.ts +4 -0
- package/ts/api/resources/Inpi.ts +54 -0
- package/ts/api/resources/Payment.ts +6 -1
- package/ts/api/resources/PaymentExpectationCustomer.ts +8 -0
- package/ts/api/resources/Registration.ts +1 -1
- package/ts/api/resources/Revision.ts +22 -0
- package/ts/api/resources/Team.ts +31 -1
- package/ts/api/resources.ts +6 -0
- package/ts/types/Enum/AbsenceType.ts +12 -2
- package/ts/types/Enum/Aspone.ts +10 -0
- package/ts/types/Enum/BalanceSheet.ts +137 -68
- package/ts/types/Enum/BalanceSheetQuestion.ts +63 -0
- package/ts/types/Enum/BalanceSheetQuestionWording.ts +130 -81
- 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/EntityType.ts +2 -2
- package/ts/types/Enum/Ged.ts +196 -4
- package/ts/types/Enum/GlobalRegime.ts +19 -19
- package/ts/types/Enum/IncomeStatement.ts +73 -40
- package/ts/types/Enum/LegalForm.ts +40 -4
- package/ts/types/Enum/MailAuto.ts +1 -0
- package/ts/types/Enum/PrestationType.ts +199 -15
- package/ts/types/Enum/ReasonNotSubscribed.ts +12 -6
- package/ts/types/Enum/SalesContractBrandClementine.ts +7 -7
- package/ts/types/Enum/StatsCaStateDetail.ts +19 -0
- package/ts/types/Enum/Unit.ts +11 -0
- package/ts/types/Enum/ZoneCode.ts +7 -0
- package/ts/types/Interface/api/DashboardLayout.ts +27 -0
- package/ts/types/Interface/api/OnBoarding.ts +5 -0
- package/ts/types/Interface/api/absenceRequest/ReadAbsenceRequest.ts +1 -1
- package/ts/types/Interface/api/balanceSheet/ReadBalanceSheet.ts +4 -2
- package/ts/types/Interface/api/balanceSheetReport/Query.ts +160 -0
- package/ts/types/Interface/api/bankAccount/Query.ts +19 -1
- package/ts/types/Interface/api/brevo/BrevoElement.ts +13 -2
- package/ts/types/Interface/api/card/QueryUserCards.ts +5 -5
- package/ts/types/Interface/api/cerfa/2031.ts +3 -2
- package/ts/types/Interface/api/cerfa/2050.ts +1580 -1399
- package/ts/types/Interface/api/cerfa/2065.ts +2 -2
- package/ts/types/Interface/api/cerfa/3310.ts +1 -0
- package/ts/types/Interface/api/cerfa/ReadCerfa.ts +20 -2
- package/ts/types/Interface/api/checklist/Query.ts +15 -0
- package/ts/types/Interface/api/checklist/Update.ts +44 -3
- package/ts/types/Interface/api/commercial/QueryPaginatedSocietyWithStatsCa.ts +2 -3
- package/ts/types/Interface/api/commercial/RequiredDocsTypeParams.ts +1 -0
- package/ts/types/Interface/api/companyCreationForm/CompanyCreationFormPayload.ts +0 -1
- package/ts/types/Interface/api/companyCreationForm/CreateCompanyCreationForm.ts +0 -6
- 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/incomeStatement/ReadIncomeStatement.ts +4 -2
- package/ts/types/Interface/api/inpi/inpi.ts +126 -0
- package/ts/types/Interface/api/library/QueryLibrary.ts +11 -2
- package/ts/types/Interface/api/oldExportInfo/OldExpertInfos.ts +5 -5
- package/ts/types/Interface/api/payment/Params.ts +19 -1
- package/ts/types/Interface/api/payment/Query.ts +13 -3
- package/ts/types/Interface/api/payment/Util.ts +2 -2
- package/ts/types/Interface/api/paymentExpectation/QueryPaymentExpectation.ts +3 -3
- package/ts/types/Interface/api/prestation/Query.ts +2 -2
- package/ts/types/Interface/api/registration/ReadRegistration.ts +4 -0
- package/ts/types/Interface/api/revision/Revision.ts +1 -1
- package/ts/types/Interface/api/society/ReadSociety.ts +13 -1
- package/ts/types/Interface/api/stripe/Create.ts +5 -0
- package/ts/types/Interface/api/stripe/QueryStripe.ts +8 -0
- package/ts/types/Interface/api/team/UpdateTeamsForUser.ts +22 -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/IPaymentExpectation.ts +2 -0
- package/ts/types/Interface/models/IPrestation.ts +1 -0
- package/ts/types/Interface/models/ISociety.ts +1 -0
- package/ts/types/index.ts +7 -0
- package/ts/utils/payment.ts +49 -49
- package/ts/utils/prestation.ts +1 -0
- package/ts/utils/tests/payment.spec.ts +34 -34
- package/ts/utils/vat/3310/century25.ts +22 -8
- package/ts/utils/vat/3517/century25.ts +61 -54
- package/ts/utils/vat/utils.ts +3 -3
- package/ts/utils/webmail.ts +19 -16
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { IsArray, IsBoolean, IsInt, IsNumber, IsOptional } from 'class-validator';
|
|
2
|
+
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
3
|
+
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
4
|
+
|
|
5
|
+
export class UpdateTeamsForUser {
|
|
6
|
+
@ApiProperty({ description: 'Array of team IDs to assign to the user', type: [Number] })
|
|
7
|
+
@IsArray()
|
|
8
|
+
@IsInt({ each: true })
|
|
9
|
+
teamIds: number[];
|
|
10
|
+
|
|
11
|
+
@ApiPropertyOptional()
|
|
12
|
+
@IsOptional()
|
|
13
|
+
@IsBoolean()
|
|
14
|
+
@ToBoolean()
|
|
15
|
+
replace?: boolean;
|
|
16
|
+
|
|
17
|
+
@ApiPropertyOptional()
|
|
18
|
+
@IsOptional()
|
|
19
|
+
@IsNumber()
|
|
20
|
+
oldTeamId?: number;
|
|
21
|
+
|
|
22
|
+
}
|
|
@@ -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
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ISociety } from './ISociety';
|
|
2
2
|
import { IRegulation } from './IRegulation';
|
|
3
3
|
import { PaymentReason } from '../../Enum/PaymentReason';
|
|
4
|
+
import { IPrestation } from './IPrestation';
|
|
4
5
|
|
|
5
6
|
// paymentsExpectations
|
|
6
7
|
export interface IPaymentExpectation {
|
|
@@ -24,4 +25,5 @@ export interface IPaymentExpectation {
|
|
|
24
25
|
// Associations
|
|
25
26
|
society?: ISociety;
|
|
26
27
|
regulation?: IRegulation;
|
|
28
|
+
prestation?: IPrestation | null;
|
|
27
29
|
}
|
|
@@ -32,6 +32,7 @@ export interface IPrestation {
|
|
|
32
32
|
goToFacturation?: Date | null;
|
|
33
33
|
dateLeavingFacturation?: Date | null;
|
|
34
34
|
scoring: number | null;
|
|
35
|
+
// @deprecated Application fees are not charged anymore
|
|
35
36
|
isWithApplicationFees?: boolean;
|
|
36
37
|
state: boolean;
|
|
37
38
|
commentPdf: string | null;
|
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';
|
|
@@ -771,6 +773,7 @@ export * from './Interface/api/inpi/inpi';
|
|
|
771
773
|
export * from './Interface/api/team/QueryCreate';
|
|
772
774
|
export * from './Interface/api/team/QueryGetAllWithIncludes';
|
|
773
775
|
export * from './Interface/api/team/QueryUpdate';
|
|
776
|
+
export * from './Interface/api/team/UpdateTeamsForUser';
|
|
774
777
|
export * from './Interface/api/constitutionHistory/QueryPaginatedConstitutionHistory';
|
|
775
778
|
export * from './Interface/api/userSpecialDay/BodyUserSpecialDay';
|
|
776
779
|
export * from './Interface/api/userSpecialDay/QueryUserSpecialDay';
|
|
@@ -827,6 +830,7 @@ export * from './Interface/api/pappers/CreatePappers';
|
|
|
827
830
|
export * from './Interface/api/bankAccount/Query';
|
|
828
831
|
export * from './Interface/api/bankAccount/Update';
|
|
829
832
|
export * from './Interface/api/stripe/QueryStripe';
|
|
833
|
+
export * from './Interface/api/balanceSheetReport/Query';
|
|
830
834
|
export * from './Interface/api/supervision/Query';
|
|
831
835
|
export * from './Interface/api/supervision/Read';
|
|
832
836
|
export * from './Interface/api/salariesFile/ReadSalariesFile';
|
|
@@ -933,6 +937,7 @@ export * from './Interface/api/thirdParty/CreateThirdPartyForm';
|
|
|
933
937
|
export * from './Interface/api/thirdParty/UpdateThirdPartyForm';
|
|
934
938
|
export * from './Interface/api/thirdParty/QueryThirdParty';
|
|
935
939
|
export * from './Interface/api/bankAccount/Read';
|
|
940
|
+
export * from './Interface/api/DashboardLayout';
|
|
936
941
|
export * from './Interface/api/sheetMonthSchedule/QuerySheetMonthSchedule';
|
|
937
942
|
export * from './Interface/api/calendarEvent/createCalendarEvent';
|
|
938
943
|
export * from './Interface/api/calendarEvent/createCalendarEventForUsers';
|
|
@@ -1135,6 +1140,8 @@ export * from './Interface/api/absenceRequest/CreateAbsenceRequest';
|
|
|
1135
1140
|
export * from './Interface/api/absenceRequest/ReadAbsenceRequest';
|
|
1136
1141
|
export * from './Interface/api/recurrence/Query';
|
|
1137
1142
|
export * from './Interface/api/recurrence/Read';
|
|
1143
|
+
export * from './Interface/api/documentRequest/Query';
|
|
1144
|
+
export * from './Interface/api/documentRequest/Create';
|
|
1138
1145
|
|
|
1139
1146
|
// Enums types
|
|
1140
1147
|
export * from './Interface/enum/Util';
|
package/ts/utils/payment.ts
CHANGED
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
} from '../types';
|
|
11
11
|
import * as dayjs from 'dayjs';
|
|
12
12
|
import { PartialExercicePrestationExpress } from '../types/Interface/api/payment/Util';
|
|
13
|
-
import { getApplicationFeesAmount, getPriceGrid } from './prestation';
|
|
13
|
+
import { /* getApplicationFeesAmount, */ getPriceGrid } from './prestation';
|
|
14
14
|
|
|
15
15
|
export interface PaymentsWithList extends IPayment {
|
|
16
16
|
type?: 'isComptable' | 'isJuridique' | 'isSocial' | 'isOther';
|
|
@@ -85,23 +85,23 @@ const groupPaymentsByServiceType = (
|
|
|
85
85
|
return societyPayment;
|
|
86
86
|
};
|
|
87
87
|
|
|
88
|
-
const calculateFees = (amount: number, paymentDate: Date): number => {
|
|
89
|
-
|
|
88
|
+
// const calculateFees = (amount: number, paymentDate: Date): number => {
|
|
89
|
+
// const yearlyPriceIncreasing = 1.0275;
|
|
90
90
|
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
91
|
+
// // Commenté car en fin d'année, pour appliquer le taux d'inflation annuel,
|
|
92
|
+
// // un script enlève les 2,75€ appliqués pour appliquer le bon taux
|
|
93
|
+
// // const oneYearLessIfIn3LastMonthsOfYear = dayjs(goToClient).month() >= 9 ? 1 : 0;
|
|
94
94
|
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
};
|
|
95
|
+
// if (dayjs(paymentDate).year() - dayjs().year() > 0) {
|
|
96
|
+
// const nbYearsMore = dayjs(paymentDate).year() - dayjs().year(); /* - oneYearLessIfIn3LastMonthsOfYear */
|
|
97
|
+
// // on applique X fois l'augmentation
|
|
98
|
+
// // ex. : si on lance l'appel en 2024, et qu'on génére un paiement pour 2026, on applique 2 fois l'augmentation
|
|
99
|
+
// // soit amount * yearlyPriceIncreasing * yearlyPriceIncreasing
|
|
100
|
+
// // soit amount * yearlyPriceIncreasing ^ nbYearsMore
|
|
101
|
+
// amount = amount * Math.pow(yearlyPriceIncreasing, nbYearsMore);
|
|
102
|
+
// }
|
|
103
|
+
// return amount;
|
|
104
|
+
// };
|
|
105
105
|
|
|
106
106
|
/**
|
|
107
107
|
// * @param {number} firstPaymentAmount - amount of the first payment (first regulation of the customer)
|
|
@@ -121,10 +121,10 @@ const calculateFees = (amount: number, paymentDate: Date): number => {
|
|
|
121
121
|
const calculatePaymentsAuto = (params: ParamsForPaymentsAuto): PaymentAuto[] => {
|
|
122
122
|
const {
|
|
123
123
|
idTypeBrand,
|
|
124
|
-
isWithApplicationFees,
|
|
124
|
+
// isWithApplicationFees,
|
|
125
125
|
firstExerciceNonExpresssEndDate,
|
|
126
126
|
idPrestation,
|
|
127
|
-
idLegalForm,
|
|
127
|
+
// idLegalForm,
|
|
128
128
|
prestationList,
|
|
129
129
|
idVat,
|
|
130
130
|
yearlyAmountNonExpress,
|
|
@@ -157,10 +157,10 @@ const calculatePaymentsAuto = (params: ParamsForPaymentsAuto): PaymentAuto[] =>
|
|
|
157
157
|
if (!prestationList.id) throw new Error('idPrestationList manquant');
|
|
158
158
|
const priceGrid = getPriceGrid(idTypeBrand, prestationList.id);
|
|
159
159
|
if (!priceGrid) throw new Error('Impossible de trouver la grille tarifaire correspondante');
|
|
160
|
-
const { applicationCost, priceWithTaxesIncluded } = priceGrid;
|
|
161
|
-
const applicationCostTotalTTC =
|
|
162
|
-
|
|
163
|
-
const applicationFeesAmountTTC = getApplicationFeesAmount(idLegalForm, idVat);
|
|
160
|
+
const { /* applicationCost, */ priceWithTaxesIncluded } = priceGrid;
|
|
161
|
+
// const applicationCostTotalTTC =
|
|
162
|
+
// (priceWithTaxesIncluded ? applicationCost : getTaxesIncludedAmount(applicationCost, idVat)) * 12;
|
|
163
|
+
// const applicationFeesAmountTTC = getApplicationFeesAmount(idLegalForm, idVat);
|
|
164
164
|
|
|
165
165
|
if (prestationList?.isCatalog || !prestationList?.isComptable)
|
|
166
166
|
throw new Error('Ce type de prestation ne correspond pas aux conditions attendues.');
|
|
@@ -170,10 +170,10 @@ const calculatePaymentsAuto = (params: ParamsForPaymentsAuto): PaymentAuto[] =>
|
|
|
170
170
|
)
|
|
171
171
|
throw new Error('Start date of some exercice are missing');
|
|
172
172
|
|
|
173
|
-
let yearlyAmountNonExpressClone = yearlyAmountNonExpress;
|
|
174
|
-
if (isWithApplicationFees) {
|
|
175
|
-
|
|
176
|
-
}
|
|
173
|
+
// let yearlyAmountNonExpressClone = yearlyAmountNonExpress;
|
|
174
|
+
// if (isWithApplicationFees) {
|
|
175
|
+
// yearlyAmountNonExpressClone -= getApplicationFeesAmount(idLegalForm); //HT
|
|
176
|
+
// }
|
|
177
177
|
|
|
178
178
|
const nbExoExpress = listPartialExercicePrestationExpress.length;
|
|
179
179
|
const listPayments: PaymentAuto[] = [];
|
|
@@ -212,20 +212,20 @@ const calculatePaymentsAuto = (params: ParamsForPaymentsAuto): PaymentAuto[] =>
|
|
|
212
212
|
});
|
|
213
213
|
|
|
214
214
|
// Si les frais de dossiers sont facturés, on ajoute un paiement sur le mois en cours
|
|
215
|
-
if (isWithApplicationFees) {
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
}
|
|
215
|
+
// if (isWithApplicationFees) {
|
|
216
|
+
// listPayments.push({
|
|
217
|
+
// amount: applicationFeesAmountTTC, //TTC
|
|
218
|
+
// isPaid: true,
|
|
219
|
+
// datePayment: dayjs().toDate(),
|
|
220
|
+
// idPrestation,
|
|
221
|
+
// idPaymentMethod: listRegulations[0]?.idPaymentMethod ?? PaymentMethod.DIRECT_DEBIT.id,
|
|
222
|
+
// closingDate: listPartialExercicePrestationExpress?.length
|
|
223
|
+
// ? listPartialExercicePrestationExpress[0].endDate
|
|
224
|
+
// : firstExerciceNonExpresssEndDate,
|
|
225
|
+
// comment: 'Frais de dossier',
|
|
226
|
+
// });
|
|
227
|
+
// remainingAmount += applicationFeesAmountTTC;
|
|
228
|
+
// }
|
|
229
229
|
|
|
230
230
|
// =========================
|
|
231
231
|
// EXPRESS
|
|
@@ -324,7 +324,7 @@ const calculatePaymentsAuto = (params: ParamsForPaymentsAuto): PaymentAuto[] =>
|
|
|
324
324
|
continue;
|
|
325
325
|
}
|
|
326
326
|
|
|
327
|
-
const exoAmount = isFirstNonExpress ?
|
|
327
|
+
const exoAmount = isFirstNonExpress ? yearlyAmountNonExpress : nextYearlyAmountNonExpress;
|
|
328
328
|
const remainingBeforeThisExo = remainingAmount;
|
|
329
329
|
remainingAmount += priceWithTaxesIncluded ? exoAmount : getTaxesIncludedAmount(exoAmount, idVat);
|
|
330
330
|
|
|
@@ -356,17 +356,17 @@ const calculatePaymentsAuto = (params: ParamsForPaymentsAuto): PaymentAuto[] =>
|
|
|
356
356
|
let remainingAmountByExercicePrestation = remainingAmount;
|
|
357
357
|
|
|
358
358
|
// - frais d'application dès les second exo non express
|
|
359
|
-
if (!isFirstNonExpress) remainingAmountByExercicePrestation += applicationCostTotalTTC;
|
|
359
|
+
// if (!isFirstNonExpress) remainingAmountByExercicePrestation += applicationCostTotalTTC;
|
|
360
360
|
|
|
361
361
|
const monthlyAmount = remainingAmountByExercicePrestation / countMonthsBeforeExerciceEnd; //TTC
|
|
362
362
|
|
|
363
363
|
if (monthlyAmount > 0) {
|
|
364
364
|
for (let index = 1; index <= countMonthsBeforeExerciceEnd; index++) {
|
|
365
|
-
|
|
365
|
+
const amount = index < countMonthsBeforeExerciceEnd ? monthlyAmount : remainingAmountByExercicePrestation;
|
|
366
366
|
|
|
367
367
|
// Si besoin, on applique les frais nécessaires :
|
|
368
368
|
// - 2,75% d'augmentation chaque année, sauf si souscriptiuon dans les 3 derniers mois de l'année civile)
|
|
369
|
-
amount = calculateFees(amount, paymentDate);
|
|
369
|
+
// amount = calculateFees(amount, paymentDate);
|
|
370
370
|
|
|
371
371
|
listPayments.push({
|
|
372
372
|
amount: Math.round(100 * amount) / 100,
|
|
@@ -396,13 +396,13 @@ const calculatePaymentsAuto = (params: ParamsForPaymentsAuto): PaymentAuto[] =>
|
|
|
396
396
|
? nextYearlyAmountNonExpress
|
|
397
397
|
: getTaxesIncludedAmount(nextYearlyAmountNonExpress, idVat);
|
|
398
398
|
|
|
399
|
-
|
|
399
|
+
const remainingAmountByExercicePrestation = remainingAmount;
|
|
400
400
|
//On compte le nb de mois restants entre la date à laquelle le paiement va être créé et la date de fin d'exercice
|
|
401
401
|
let countMonthsBeforeExerciceEnd = Math.ceil(dayjs(exerciceEndDate).diff(paymentDate, 'months', true));
|
|
402
402
|
if (countMonthsBeforeExerciceEnd < 3) countMonthsBeforeExerciceEnd = 3;
|
|
403
403
|
|
|
404
404
|
// - frais d'application dès les second exo non express
|
|
405
|
-
remainingAmountByExercicePrestation += applicationCostTotalTTC;
|
|
405
|
+
// remainingAmountByExercicePrestation += applicationCostTotalTTC;
|
|
406
406
|
|
|
407
407
|
const monthlyAmount = remainingAmountByExercicePrestation / countMonthsBeforeExerciceEnd;
|
|
408
408
|
|
|
@@ -410,15 +410,15 @@ const calculatePaymentsAuto = (params: ParamsForPaymentsAuto): PaymentAuto[] =>
|
|
|
410
410
|
if (!listPayments.length) return [];
|
|
411
411
|
|
|
412
412
|
while (dayjs(listPayments.slice(-1)[0].datePayment).month() < 11) {
|
|
413
|
-
|
|
413
|
+
// const amount = monthlyAmount;
|
|
414
414
|
|
|
415
415
|
// Si besoin, on applique les frais nécessaires :
|
|
416
416
|
// - 2,75% d'augmentation chaque année, sauf si souscriptiuon dans les 3 derniers mois de l'année civile)
|
|
417
417
|
// - frais d'application dès les second exo non express
|
|
418
|
-
amount = calculateFees(amount, paymentDate);
|
|
418
|
+
// amount = calculateFees(amount, paymentDate);
|
|
419
419
|
|
|
420
420
|
listPayments.push({
|
|
421
|
-
amount: Math.round(100 *
|
|
421
|
+
amount: Math.round(100 * monthlyAmount) / 100,
|
|
422
422
|
datePayment: paymentDate,
|
|
423
423
|
idPrestation,
|
|
424
424
|
idPaymentMethod: PaymentMethod.DIRECT_DEBIT.id,
|
package/ts/utils/prestation.ts
CHANGED
|
@@ -429,6 +429,7 @@ const calculatePrestationPriceWithPrestationList = (prestationList: IPrestationL
|
|
|
429
429
|
* @param idLegalForm
|
|
430
430
|
* @param idVat
|
|
431
431
|
* @returns amount of application fees, without taxes included
|
|
432
|
+
* @deprecated Application fees are not charged anymore
|
|
432
433
|
*/
|
|
433
434
|
const getApplicationFeesAmount = (idLegalForm: number, idVat?: number) => {
|
|
434
435
|
let applicationFeesAmount = 50;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as dayjs from 'dayjs';
|
|
2
|
-
import { IRegulation, Vat, PaymentMethod,
|
|
2
|
+
import { IRegulation, Vat, PaymentMethod, getTaxesIncludedAmount } from '../../types';
|
|
3
3
|
import MockDate from 'mockdate';
|
|
4
4
|
|
|
5
5
|
import { calculatePaymentsAuto } from '../payment';
|
|
@@ -77,7 +77,7 @@ describe('Payment', () => {
|
|
|
77
77
|
// =====================
|
|
78
78
|
// errors handling
|
|
79
79
|
// =====================
|
|
80
|
-
test(
|
|
80
|
+
test("should return error if prestationList doesn't correspond (!hidden, isCatalog, isComptable)", () => {
|
|
81
81
|
expect.assertions(2);
|
|
82
82
|
try {
|
|
83
83
|
prestationList.hidden = true;
|
|
@@ -85,8 +85,8 @@ describe('Payment', () => {
|
|
|
85
85
|
idTypeBrand: 1,
|
|
86
86
|
firstExerciceNonExpresssEndDate,
|
|
87
87
|
idPrestation,
|
|
88
|
-
isWithApplicationFees: true,
|
|
89
|
-
idLegalForm: LegalFormTypeEnum.SARL,
|
|
88
|
+
// isWithApplicationFees: true,
|
|
89
|
+
// idLegalForm: LegalFormTypeEnum.SARL,
|
|
90
90
|
prestationList: {
|
|
91
91
|
...prestationList,
|
|
92
92
|
isCatalog: true,
|
|
@@ -113,8 +113,8 @@ describe('Payment', () => {
|
|
|
113
113
|
idTypeBrand: 1,
|
|
114
114
|
firstExerciceNonExpresssEndDate,
|
|
115
115
|
idPrestation,
|
|
116
|
-
isWithApplicationFees: true,
|
|
117
|
-
idLegalForm: LegalFormTypeEnum.SARL,
|
|
116
|
+
// isWithApplicationFees: true,
|
|
117
|
+
// idLegalForm: LegalFormTypeEnum.SARL,
|
|
118
118
|
prestationList,
|
|
119
119
|
idVat,
|
|
120
120
|
listPartialExercicePrestationExpress: [listPartialExercicePrestationExpress[0]],
|
|
@@ -136,8 +136,8 @@ describe('Payment', () => {
|
|
|
136
136
|
idTypeBrand: 1,
|
|
137
137
|
firstExerciceNonExpresssEndDate,
|
|
138
138
|
idPrestation,
|
|
139
|
-
isWithApplicationFees: true,
|
|
140
|
-
idLegalForm: LegalFormTypeEnum.SARL,
|
|
139
|
+
// isWithApplicationFees: true,
|
|
140
|
+
// idLegalForm: LegalFormTypeEnum.SARL,
|
|
141
141
|
prestationList,
|
|
142
142
|
idVat,
|
|
143
143
|
listPartialExercicePrestationExpress,
|
|
@@ -166,8 +166,8 @@ describe('Payment', () => {
|
|
|
166
166
|
idTypeBrand: 1,
|
|
167
167
|
firstExerciceNonExpresssEndDate: newFirstExerciceNonExpresssEndDate,
|
|
168
168
|
idPrestation,
|
|
169
|
-
isWithApplicationFees: true,
|
|
170
|
-
idLegalForm: LegalFormTypeEnum.SARL,
|
|
169
|
+
// isWithApplicationFees: true,
|
|
170
|
+
// idLegalForm: LegalFormTypeEnum.SARL,
|
|
171
171
|
prestationList,
|
|
172
172
|
idVat,
|
|
173
173
|
listPartialExercicePrestationExpress: [],
|
|
@@ -197,8 +197,8 @@ describe('Payment', () => {
|
|
|
197
197
|
idTypeBrand: 1,
|
|
198
198
|
firstExerciceNonExpresssEndDate: newFirstExerciceNonExpresssEndDate,
|
|
199
199
|
idPrestation,
|
|
200
|
-
isWithApplicationFees: true,
|
|
201
|
-
idLegalForm: LegalFormTypeEnum.SARL,
|
|
200
|
+
// isWithApplicationFees: true,
|
|
201
|
+
// idLegalForm: LegalFormTypeEnum.SARL,
|
|
202
202
|
prestationList,
|
|
203
203
|
idVat,
|
|
204
204
|
listPartialExercicePrestationExpress: [],
|
|
@@ -233,8 +233,8 @@ describe('Payment', () => {
|
|
|
233
233
|
idTypeBrand: 1,
|
|
234
234
|
firstExerciceNonExpresssEndDate: newFirstExerciceNonExpresssEndDate,
|
|
235
235
|
idPrestation,
|
|
236
|
-
isWithApplicationFees: false,
|
|
237
|
-
idLegalForm: LegalFormTypeEnum.SARL,
|
|
236
|
+
// isWithApplicationFees: false,
|
|
237
|
+
// idLegalForm: LegalFormTypeEnum.SARL,
|
|
238
238
|
prestationList,
|
|
239
239
|
idVat,
|
|
240
240
|
listPartialExercicePrestationExpress: [],
|
|
@@ -265,8 +265,8 @@ describe('Payment', () => {
|
|
|
265
265
|
idTypeBrand: 1,
|
|
266
266
|
firstExerciceNonExpresssEndDate: newFirstExerciceNonExpresssEndDate,
|
|
267
267
|
idPrestation,
|
|
268
|
-
isWithApplicationFees: false,
|
|
269
|
-
idLegalForm: LegalFormTypeEnum.SARL,
|
|
268
|
+
// isWithApplicationFees: false,
|
|
269
|
+
// idLegalForm: LegalFormTypeEnum.SARL,
|
|
270
270
|
prestationList,
|
|
271
271
|
idVat,
|
|
272
272
|
listPartialExercicePrestationExpress: [],
|
|
@@ -293,8 +293,8 @@ describe('Payment', () => {
|
|
|
293
293
|
idTypeBrand: 1,
|
|
294
294
|
firstExerciceNonExpresssEndDate: newFirstExerciceNonExpresssEndDate,
|
|
295
295
|
idPrestation,
|
|
296
|
-
isWithApplicationFees: true,
|
|
297
|
-
idLegalForm: LegalFormTypeEnum.SARL,
|
|
296
|
+
// isWithApplicationFees: true,
|
|
297
|
+
// idLegalForm: LegalFormTypeEnum.SARL,
|
|
298
298
|
prestationList,
|
|
299
299
|
idVat,
|
|
300
300
|
listPartialExercicePrestationExpress: [],
|
|
@@ -326,8 +326,8 @@ describe('Payment', () => {
|
|
|
326
326
|
idTypeBrand: 1,
|
|
327
327
|
firstExerciceNonExpresssEndDate: newFirstExerciceNonExpresssEndDate,
|
|
328
328
|
idPrestation,
|
|
329
|
-
isWithApplicationFees: true,
|
|
330
|
-
idLegalForm: LegalFormTypeEnum.SARL,
|
|
329
|
+
// isWithApplicationFees: true,
|
|
330
|
+
// idLegalForm: LegalFormTypeEnum.SARL,
|
|
331
331
|
prestationList,
|
|
332
332
|
idVat,
|
|
333
333
|
listPartialExercicePrestationExpress: [],
|
|
@@ -357,8 +357,8 @@ describe('Payment', () => {
|
|
|
357
357
|
idTypeBrand: 1,
|
|
358
358
|
firstExerciceNonExpresssEndDate: newFirstExerciceNonExpresssEndDate,
|
|
359
359
|
idPrestation,
|
|
360
|
-
isWithApplicationFees: false,
|
|
361
|
-
idLegalForm: LegalFormTypeEnum.SARL,
|
|
360
|
+
// isWithApplicationFees: false,
|
|
361
|
+
// idLegalForm: LegalFormTypeEnum.SARL,
|
|
362
362
|
prestationList,
|
|
363
363
|
idVat,
|
|
364
364
|
listPartialExercicePrestationExpress: [],
|
|
@@ -398,8 +398,8 @@ describe('Payment', () => {
|
|
|
398
398
|
idTypeBrand: 1,
|
|
399
399
|
firstExerciceNonExpresssEndDate,
|
|
400
400
|
idPrestation,
|
|
401
|
-
isWithApplicationFees: true,
|
|
402
|
-
idLegalForm: LegalFormTypeEnum.SARL,
|
|
401
|
+
// isWithApplicationFees: true,
|
|
402
|
+
// idLegalForm: LegalFormTypeEnum.SARL,
|
|
403
403
|
prestationList,
|
|
404
404
|
idVat,
|
|
405
405
|
listPartialExercicePrestationExpress: listPartialExercicePrestationExpressCloned,
|
|
@@ -420,8 +420,8 @@ describe('Payment', () => {
|
|
|
420
420
|
idTypeBrand: 1,
|
|
421
421
|
firstExerciceNonExpresssEndDate,
|
|
422
422
|
idPrestation,
|
|
423
|
-
isWithApplicationFees: false,
|
|
424
|
-
idLegalForm: LegalFormTypeEnum.SARL,
|
|
423
|
+
// isWithApplicationFees: false,
|
|
424
|
+
// idLegalForm: LegalFormTypeEnum.SARL,
|
|
425
425
|
prestationList,
|
|
426
426
|
idVat,
|
|
427
427
|
listPartialExercicePrestationExpress,
|
|
@@ -459,8 +459,8 @@ describe('Payment', () => {
|
|
|
459
459
|
idTypeBrand: 1,
|
|
460
460
|
firstExerciceNonExpresssEndDate,
|
|
461
461
|
idPrestation,
|
|
462
|
-
isWithApplicationFees: false,
|
|
463
|
-
idLegalForm: LegalFormTypeEnum.SARL,
|
|
462
|
+
// isWithApplicationFees: false,
|
|
463
|
+
// idLegalForm: LegalFormTypeEnum.SARL,
|
|
464
464
|
prestationList,
|
|
465
465
|
idVat,
|
|
466
466
|
listPartialExercicePrestationExpress,
|
|
@@ -480,8 +480,8 @@ describe('Payment', () => {
|
|
|
480
480
|
idTypeBrand: 1,
|
|
481
481
|
firstExerciceNonExpresssEndDate,
|
|
482
482
|
idPrestation,
|
|
483
|
-
isWithApplicationFees: true,
|
|
484
|
-
idLegalForm: LegalFormTypeEnum.SARL,
|
|
483
|
+
// isWithApplicationFees: true,
|
|
484
|
+
// idLegalForm: LegalFormTypeEnum.SARL,
|
|
485
485
|
prestationList,
|
|
486
486
|
idVat,
|
|
487
487
|
listPartialExercicePrestationExpress,
|
|
@@ -497,8 +497,8 @@ describe('Payment', () => {
|
|
|
497
497
|
idTypeBrand: 1,
|
|
498
498
|
firstExerciceNonExpresssEndDate,
|
|
499
499
|
idPrestation,
|
|
500
|
-
isWithApplicationFees: true,
|
|
501
|
-
idLegalForm: LegalFormTypeEnum.SARL,
|
|
500
|
+
// isWithApplicationFees: true,
|
|
501
|
+
// idLegalForm: LegalFormTypeEnum.SARL,
|
|
502
502
|
prestationList,
|
|
503
503
|
idVat,
|
|
504
504
|
listPartialExercicePrestationExpress: [],
|
|
@@ -515,8 +515,8 @@ describe('Payment', () => {
|
|
|
515
515
|
idTypeBrand: 1,
|
|
516
516
|
firstExerciceNonExpresssEndDate: dayjs('2024-12-31').toDate(),
|
|
517
517
|
idPrestation,
|
|
518
|
-
isWithApplicationFees: true,
|
|
519
|
-
idLegalForm: LegalFormTypeEnum.SARL,
|
|
518
|
+
// isWithApplicationFees: true,
|
|
519
|
+
// idLegalForm: LegalFormTypeEnum.SARL,
|
|
520
520
|
prestationList,
|
|
521
521
|
idVat: Vat.TX_20.id,
|
|
522
522
|
listPartialExercicePrestationExpress: [],
|