@silexpert/core 1.3.142 → 1.3.144-2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/api/resources/AccountingFiles.d.ts.map +1 -1
- package/dist/cjs/api/resources/AccountingFiles.js +0 -1
- package/dist/cjs/api/resources/AccountingFiles.js.map +1 -1
- 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 +1 -29
- package/dist/cjs/api/resources/Checklist.d.ts.map +1 -1
- package/dist/cjs/api/resources/Checklist.js +0 -47
- package/dist/cjs/api/resources/Checklist.js.map +1 -1
- package/dist/cjs/api/resources/Commercial.d.ts +1 -2
- package/dist/cjs/api/resources/Commercial.d.ts.map +1 -1
- package/dist/cjs/api/resources/Commercial.js +0 -3
- package/dist/cjs/api/resources/Commercial.js.map +1 -1
- package/dist/cjs/api/resources/Exercice.d.ts +0 -1
- package/dist/cjs/api/resources/Exercice.d.ts.map +1 -1
- package/dist/cjs/api/resources/Exercice.js +0 -3
- package/dist/cjs/api/resources/Exercice.js.map +1 -1
- package/dist/cjs/api/resources/Inpi.d.ts +0 -36
- package/dist/cjs/api/resources/Inpi.d.ts.map +1 -1
- package/dist/cjs/api/resources/Inpi.js +0 -48
- package/dist/cjs/api/resources/Inpi.js.map +1 -1
- package/dist/cjs/api/resources/Payment.d.ts +2 -3
- package/dist/cjs/api/resources/Payment.d.ts.map +1 -1
- package/dist/cjs/api/resources/Payment.js +0 -3
- package/dist/cjs/api/resources/Payment.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 +1 -4
- package/dist/cjs/api/resources/Revision.d.ts.map +1 -1
- package/dist/cjs/api/resources/Revision.js +0 -9
- package/dist/cjs/api/resources/Revision.js.map +1 -1
- package/dist/cjs/api/resources/Team.d.ts +1 -21
- package/dist/cjs/api/resources/Team.d.ts.map +1 -1
- package/dist/cjs/api/resources/Team.js +0 -26
- package/dist/cjs/api/resources/Team.js.map +1 -1
- package/dist/cjs/api/resources.d.ts +0 -6
- package/dist/cjs/api/resources.d.ts.map +1 -1
- package/dist/cjs/api/resources.js +0 -6
- package/dist/cjs/api/resources.js.map +1 -1
- package/dist/cjs/types/Enum/AbsenceType.d.ts +0 -1
- package/dist/cjs/types/Enum/AbsenceType.d.ts.map +1 -1
- package/dist/cjs/types/Enum/AbsenceType.js +1 -11
- package/dist/cjs/types/Enum/AbsenceType.js.map +1 -1
- package/dist/cjs/types/Enum/Aspone.d.ts +0 -8
- package/dist/cjs/types/Enum/Aspone.d.ts.map +1 -1
- package/dist/cjs/types/Enum/Aspone.js +1 -11
- package/dist/cjs/types/Enum/Aspone.js.map +1 -1
- package/dist/cjs/types/Enum/BalanceSheet.d.ts +0 -66
- package/dist/cjs/types/Enum/BalanceSheet.d.ts.map +1 -1
- package/dist/cjs/types/Enum/BalanceSheet.js +69 -136
- package/dist/cjs/types/Enum/BalanceSheet.js.map +1 -1
- package/dist/cjs/types/Enum/BalanceSheetQuestion.d.ts +1 -62
- package/dist/cjs/types/Enum/BalanceSheetQuestion.d.ts.map +1 -1
- package/dist/cjs/types/Enum/BalanceSheetQuestion.js +0 -62
- package/dist/cjs/types/Enum/BalanceSheetQuestion.js.map +1 -1
- package/dist/cjs/types/Enum/BalanceSheetQuestionWording.d.ts +13 -58
- package/dist/cjs/types/Enum/BalanceSheetQuestionWording.d.ts.map +1 -1
- package/dist/cjs/types/Enum/BalanceSheetQuestionWording.js +12 -58
- package/dist/cjs/types/Enum/BalanceSheetQuestionWording.js.map +1 -1
- package/dist/cjs/types/Enum/ChecklistType.d.ts +1 -8
- package/dist/cjs/types/Enum/ChecklistType.d.ts.map +1 -1
- package/dist/cjs/types/Enum/ChecklistType.js +0 -8
- 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/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 +5 -75
- package/dist/cjs/types/Enum/Ged.d.ts.map +1 -1
- package/dist/cjs/types/Enum/Ged.js +1 -188
- 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 +0 -32
- package/dist/cjs/types/Enum/IncomeStatement.d.ts.map +1 -1
- package/dist/cjs/types/Enum/IncomeStatement.js +41 -74
- package/dist/cjs/types/Enum/IncomeStatement.js.map +1 -1
- package/dist/cjs/types/Enum/LegalForm.d.ts +0 -1
- package/dist/cjs/types/Enum/LegalForm.d.ts.map +1 -1
- package/dist/cjs/types/Enum/LegalForm.js +4 -39
- package/dist/cjs/types/Enum/LegalForm.js.map +1 -1
- package/dist/cjs/types/Enum/MailAuto.d.ts +1 -2
- package/dist/cjs/types/Enum/MailAuto.d.ts.map +1 -1
- package/dist/cjs/types/Enum/MailAuto.js +0 -1
- package/dist/cjs/types/Enum/MailAuto.js.map +1 -1
- package/dist/cjs/types/Enum/PrestationType.d.ts +1 -14
- package/dist/cjs/types/Enum/PrestationType.d.ts.map +1 -1
- package/dist/cjs/types/Enum/PrestationType.js +16 -193
- 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 +6 -12
- 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 +0 -18
- package/dist/cjs/types/Enum/StatsCaStateDetail.d.ts.map +1 -1
- package/dist/cjs/types/Enum/StatsCaStateDetail.js +1 -19
- package/dist/cjs/types/Enum/StatsCaStateDetail.js.map +1 -1
- package/dist/cjs/types/Enum/Unit.d.ts +3 -10
- package/dist/cjs/types/Enum/Unit.d.ts.map +1 -1
- package/dist/cjs/types/Enum/Unit.js +0 -11
- package/dist/cjs/types/Enum/Unit.js.map +1 -1
- package/dist/cjs/types/Enum/ZoneCode.d.ts +0 -6
- package/dist/cjs/types/Enum/ZoneCode.d.ts.map +1 -1
- package/dist/cjs/types/Enum/ZoneCode.js +0 -7
- package/dist/cjs/types/Enum/ZoneCode.js.map +1 -1
- package/dist/cjs/types/Interface/api/OnBoarding.d.ts +0 -1
- package/dist/cjs/types/Interface/api/OnBoarding.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/OnBoarding.js +0 -6
- 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 +2 -3
- 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/brevo/BrevoElement.d.ts +1 -3
- package/dist/cjs/types/Interface/api/brevo/BrevoElement.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/brevo/BrevoElement.js +1 -14
- 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 +2 -3
- 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 +1634 -1592
- 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 +2 -3
- 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 +0 -1
- 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 +1 -10
- 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 +0 -6
- package/dist/cjs/types/Interface/api/checklist/Query.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/checklist/Query.js +1 -20
- package/dist/cjs/types/Interface/api/checklist/Query.js.map +1 -1
- package/dist/cjs/types/Interface/api/checklist/Update.d.ts +1 -11
- package/dist/cjs/types/Interface/api/checklist/Update.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/checklist/Update.js +1 -49
- 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 +3 -2
- package/dist/cjs/types/Interface/api/commercial/QueryPaginatedSocietyWithStatsCa.js.map +1 -1
- package/dist/cjs/types/Interface/api/commercial/RequiredDocsTypeParams.d.ts +0 -1
- 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 +1 -0
- 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 +1 -0
- package/dist/cjs/types/Interface/api/companyCreationForm/CreateCompanyCreationForm.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/companyCreationForm/CreateCompanyCreationForm.js +7 -0
- package/dist/cjs/types/Interface/api/companyCreationForm/CreateCompanyCreationForm.js.map +1 -1
- package/dist/cjs/types/Interface/api/gedFile/createFileAndGed.d.ts +0 -2
- package/dist/cjs/types/Interface/api/gedFile/createFileAndGed.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/gedFile/createFileAndGed.js +1 -9
- package/dist/cjs/types/Interface/api/gedFile/createFileAndGed.js.map +1 -1
- package/dist/cjs/types/Interface/api/incomeStatement/ReadIncomeStatement.d.ts +2 -3
- 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 +0 -113
- 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 +2 -5
- package/dist/cjs/types/Interface/api/library/QueryLibrary.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/library/QueryLibrary.js +2 -14
- package/dist/cjs/types/Interface/api/library/QueryLibrary.js.map +1 -1
- package/dist/cjs/types/Interface/api/payment/Params.d.ts +0 -5
- package/dist/cjs/types/Interface/api/payment/Params.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/payment/Params.js +1 -27
- package/dist/cjs/types/Interface/api/payment/Params.js.map +1 -1
- package/dist/cjs/types/Interface/api/payment/Query.d.ts +0 -2
- package/dist/cjs/types/Interface/api/payment/Query.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/payment/Query.js +0 -12
- package/dist/cjs/types/Interface/api/payment/Query.js.map +1 -1
- package/dist/cjs/types/Interface/api/payment/Util.d.ts +2 -0
- 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 +0 -4
- 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 +1 -12
- 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 +0 -1
- package/dist/cjs/types/Interface/api/stripe/Create.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/stripe/Create.js +0 -6
- package/dist/cjs/types/Interface/api/stripe/Create.js.map +1 -1
- package/dist/cjs/types/Interface/api/stripe/QueryStripe.d.ts +0 -3
- package/dist/cjs/types/Interface/api/stripe/QueryStripe.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/stripe/QueryStripe.js +1 -11
- package/dist/cjs/types/Interface/api/stripe/QueryStripe.js.map +1 -1
- package/dist/cjs/types/Interface/models/IAttestation.d.ts +18 -20
- 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/IGedFile.d.ts +1 -6
- 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 +0 -2
- 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 +0 -1
- 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 +0 -7
- package/dist/cjs/types/index.d.ts.map +1 -1
- package/dist/cjs/types/index.js +0 -7
- package/dist/cjs/types/index.js.map +1 -1
- package/dist/cjs/utils/payment.js +50 -54
- package/dist/cjs/utils/payment.js.map +1 -1
- package/dist/cjs/utils/prestation.d.ts +0 -1
- package/dist/cjs/utils/prestation.d.ts.map +1 -1
- package/dist/cjs/utils/prestation.js +0 -1
- 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 +7 -22
- 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 +54 -61
- 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 +3 -4
- 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 +0 -1
- package/dist/mjs/api/resources/AccountingFiles.js.map +1 -1
- 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 +1 -29
- package/dist/mjs/api/resources/Checklist.d.ts.map +1 -1
- package/dist/mjs/api/resources/Checklist.js +0 -47
- package/dist/mjs/api/resources/Checklist.js.map +1 -1
- package/dist/mjs/api/resources/Commercial.d.ts +1 -2
- package/dist/mjs/api/resources/Commercial.d.ts.map +1 -1
- package/dist/mjs/api/resources/Commercial.js +0 -3
- package/dist/mjs/api/resources/Commercial.js.map +1 -1
- package/dist/mjs/api/resources/Exercice.d.ts +0 -1
- package/dist/mjs/api/resources/Exercice.d.ts.map +1 -1
- package/dist/mjs/api/resources/Exercice.js +0 -3
- package/dist/mjs/api/resources/Exercice.js.map +1 -1
- package/dist/mjs/api/resources/Inpi.d.ts +0 -36
- package/dist/mjs/api/resources/Inpi.d.ts.map +1 -1
- package/dist/mjs/api/resources/Inpi.js +0 -48
- package/dist/mjs/api/resources/Inpi.js.map +1 -1
- package/dist/mjs/api/resources/Payment.d.ts +2 -3
- package/dist/mjs/api/resources/Payment.d.ts.map +1 -1
- package/dist/mjs/api/resources/Payment.js +0 -3
- package/dist/mjs/api/resources/Payment.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 +1 -4
- package/dist/mjs/api/resources/Revision.d.ts.map +1 -1
- package/dist/mjs/api/resources/Revision.js +0 -9
- package/dist/mjs/api/resources/Revision.js.map +1 -1
- package/dist/mjs/api/resources/Team.d.ts +1 -21
- package/dist/mjs/api/resources/Team.d.ts.map +1 -1
- package/dist/mjs/api/resources/Team.js +0 -26
- package/dist/mjs/api/resources/Team.js.map +1 -1
- package/dist/mjs/api/resources.d.ts +0 -6
- package/dist/mjs/api/resources.d.ts.map +1 -1
- package/dist/mjs/api/resources.js +0 -6
- package/dist/mjs/api/resources.js.map +1 -1
- package/dist/mjs/types/Enum/AbsenceType.d.ts +0 -1
- package/dist/mjs/types/Enum/AbsenceType.d.ts.map +1 -1
- package/dist/mjs/types/Enum/AbsenceType.js +1 -11
- package/dist/mjs/types/Enum/AbsenceType.js.map +1 -1
- package/dist/mjs/types/Enum/Aspone.d.ts +0 -8
- package/dist/mjs/types/Enum/Aspone.d.ts.map +1 -1
- package/dist/mjs/types/Enum/Aspone.js +0 -10
- package/dist/mjs/types/Enum/Aspone.js.map +1 -1
- package/dist/mjs/types/Enum/BalanceSheet.d.ts +0 -66
- package/dist/mjs/types/Enum/BalanceSheet.d.ts.map +1 -1
- package/dist/mjs/types/Enum/BalanceSheet.js +68 -135
- package/dist/mjs/types/Enum/BalanceSheet.js.map +1 -1
- package/dist/mjs/types/Enum/BalanceSheetQuestion.d.ts +1 -62
- package/dist/mjs/types/Enum/BalanceSheetQuestion.d.ts.map +1 -1
- package/dist/mjs/types/Enum/BalanceSheetQuestion.js +0 -62
- package/dist/mjs/types/Enum/BalanceSheetQuestion.js.map +1 -1
- package/dist/mjs/types/Enum/BalanceSheetQuestionWording.d.ts +13 -58
- package/dist/mjs/types/Enum/BalanceSheetQuestionWording.d.ts.map +1 -1
- package/dist/mjs/types/Enum/BalanceSheetQuestionWording.js +12 -58
- package/dist/mjs/types/Enum/BalanceSheetQuestionWording.js.map +1 -1
- package/dist/mjs/types/Enum/ChecklistType.d.ts +1 -8
- package/dist/mjs/types/Enum/ChecklistType.d.ts.map +1 -1
- package/dist/mjs/types/Enum/ChecklistType.js +0 -8
- 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/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 +5 -75
- package/dist/mjs/types/Enum/Ged.d.ts.map +1 -1
- package/dist/mjs/types/Enum/Ged.js +0 -187
- 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 +0 -32
- package/dist/mjs/types/Enum/IncomeStatement.d.ts.map +1 -1
- package/dist/mjs/types/Enum/IncomeStatement.js +40 -73
- package/dist/mjs/types/Enum/IncomeStatement.js.map +1 -1
- package/dist/mjs/types/Enum/LegalForm.d.ts +0 -1
- package/dist/mjs/types/Enum/LegalForm.d.ts.map +1 -1
- package/dist/mjs/types/Enum/LegalForm.js +4 -39
- package/dist/mjs/types/Enum/LegalForm.js.map +1 -1
- package/dist/mjs/types/Enum/MailAuto.d.ts +1 -2
- package/dist/mjs/types/Enum/MailAuto.d.ts.map +1 -1
- package/dist/mjs/types/Enum/MailAuto.js +0 -1
- package/dist/mjs/types/Enum/MailAuto.js.map +1 -1
- package/dist/mjs/types/Enum/PrestationType.d.ts +1 -14
- package/dist/mjs/types/Enum/PrestationType.d.ts.map +1 -1
- package/dist/mjs/types/Enum/PrestationType.js +15 -192
- 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 +6 -12
- 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 +0 -18
- package/dist/mjs/types/Enum/StatsCaStateDetail.d.ts.map +1 -1
- package/dist/mjs/types/Enum/StatsCaStateDetail.js +0 -18
- package/dist/mjs/types/Enum/StatsCaStateDetail.js.map +1 -1
- package/dist/mjs/types/Enum/Unit.d.ts +3 -10
- package/dist/mjs/types/Enum/Unit.d.ts.map +1 -1
- package/dist/mjs/types/Enum/Unit.js +0 -11
- package/dist/mjs/types/Enum/Unit.js.map +1 -1
- package/dist/mjs/types/Enum/ZoneCode.d.ts +0 -6
- package/dist/mjs/types/Enum/ZoneCode.d.ts.map +1 -1
- package/dist/mjs/types/Enum/ZoneCode.js +0 -7
- package/dist/mjs/types/Enum/ZoneCode.js.map +1 -1
- package/dist/mjs/types/Interface/api/OnBoarding.d.ts +0 -1
- package/dist/mjs/types/Interface/api/OnBoarding.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/OnBoarding.js +0 -7
- 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 +2 -3
- 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/brevo/BrevoElement.d.ts +1 -3
- package/dist/mjs/types/Interface/api/brevo/BrevoElement.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/brevo/BrevoElement.js +1 -16
- 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 +2 -3
- 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 +1634 -1592
- 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 +2 -3
- 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 +0 -1
- 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 +1 -10
- 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 +0 -6
- package/dist/mjs/types/Interface/api/checklist/Query.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/checklist/Query.js +0 -19
- package/dist/mjs/types/Interface/api/checklist/Query.js.map +1 -1
- package/dist/mjs/types/Interface/api/checklist/Update.d.ts +1 -11
- package/dist/mjs/types/Interface/api/checklist/Update.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/checklist/Update.js +3 -57
- 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 +3 -2
- package/dist/mjs/types/Interface/api/commercial/QueryPaginatedSocietyWithStatsCa.js.map +1 -1
- package/dist/mjs/types/Interface/api/commercial/RequiredDocsTypeParams.d.ts +0 -1
- 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 +1 -0
- 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 +1 -0
- package/dist/mjs/types/Interface/api/companyCreationForm/CreateCompanyCreationForm.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/companyCreationForm/CreateCompanyCreationForm.js +8 -0
- package/dist/mjs/types/Interface/api/companyCreationForm/CreateCompanyCreationForm.js.map +1 -1
- package/dist/mjs/types/Interface/api/gedFile/createFileAndGed.d.ts +0 -2
- package/dist/mjs/types/Interface/api/gedFile/createFileAndGed.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/gedFile/createFileAndGed.js +2 -12
- package/dist/mjs/types/Interface/api/gedFile/createFileAndGed.js.map +1 -1
- package/dist/mjs/types/Interface/api/incomeStatement/ReadIncomeStatement.d.ts +2 -3
- 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 +0 -113
- 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 +2 -5
- package/dist/mjs/types/Interface/api/library/QueryLibrary.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/library/QueryLibrary.js +3 -18
- package/dist/mjs/types/Interface/api/library/QueryLibrary.js.map +1 -1
- package/dist/mjs/types/Interface/api/payment/Params.d.ts +0 -5
- package/dist/mjs/types/Interface/api/payment/Params.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/payment/Params.js +1 -26
- package/dist/mjs/types/Interface/api/payment/Params.js.map +1 -1
- package/dist/mjs/types/Interface/api/payment/Query.d.ts +0 -2
- package/dist/mjs/types/Interface/api/payment/Query.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/payment/Query.js +0 -14
- package/dist/mjs/types/Interface/api/payment/Query.js.map +1 -1
- package/dist/mjs/types/Interface/api/payment/Util.d.ts +2 -0
- 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 +0 -4
- 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 +1 -12
- 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 +0 -1
- package/dist/mjs/types/Interface/api/stripe/Create.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/stripe/Create.js +0 -7
- package/dist/mjs/types/Interface/api/stripe/Create.js.map +1 -1
- package/dist/mjs/types/Interface/api/stripe/QueryStripe.d.ts +0 -3
- package/dist/mjs/types/Interface/api/stripe/QueryStripe.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/stripe/QueryStripe.js +0 -10
- package/dist/mjs/types/Interface/api/stripe/QueryStripe.js.map +1 -1
- package/dist/mjs/types/Interface/models/IAttestation.d.ts +18 -20
- 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/IGedFile.d.ts +1 -6
- 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 +0 -2
- 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 +0 -1
- 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 +0 -7
- package/dist/mjs/types/index.d.ts.map +1 -1
- package/dist/mjs/types/index.js +0 -7
- package/dist/mjs/types/index.js.map +1 -1
- package/dist/mjs/utils/payment.js +48 -52
- package/dist/mjs/utils/payment.js.map +1 -1
- package/dist/mjs/utils/prestation.d.ts +0 -1
- package/dist/mjs/utils/prestation.d.ts.map +1 -1
- package/dist/mjs/utils/prestation.js +0 -1
- 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 +7 -22
- 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 +54 -61
- 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 +3 -4
- package/dist/mjs/utils/webmail.js.map +1 -1
- package/package.json +14 -14
- package/ts/api/resources/AccountingFiles.ts +0 -1
- package/ts/api/resources/Brevo.ts +9 -2
- package/ts/api/resources/Checklist.ts +0 -59
- package/ts/api/resources/Commercial.ts +0 -4
- package/ts/api/resources/Exercice.ts +0 -4
- package/ts/api/resources/Inpi.ts +0 -54
- package/ts/api/resources/Payment.ts +1 -6
- package/ts/api/resources/Registration.ts +1 -1
- package/ts/api/resources/Revision.ts +0 -22
- package/ts/api/resources/Team.ts +1 -31
- package/ts/api/resources.ts +0 -6
- package/ts/types/Enum/AbsenceType.ts +2 -12
- package/ts/types/Enum/Aspone.ts +0 -10
- package/ts/types/Enum/BalanceSheet.ts +68 -137
- package/ts/types/Enum/BalanceSheetQuestion.ts +0 -63
- package/ts/types/Enum/BalanceSheetQuestionWording.ts +81 -130
- package/ts/types/Enum/ChecklistType.ts +0 -9
- package/ts/types/Enum/ConstitutionState.ts +1 -1
- package/ts/types/Enum/EntityType.ts +2 -2
- package/ts/types/Enum/Ged.ts +4 -196
- package/ts/types/Enum/GlobalRegime.ts +19 -19
- package/ts/types/Enum/IncomeStatement.ts +40 -73
- package/ts/types/Enum/LegalForm.ts +4 -40
- package/ts/types/Enum/MailAuto.ts +0 -1
- package/ts/types/Enum/PrestationType.ts +15 -199
- package/ts/types/Enum/ReasonNotSubscribed.ts +6 -12
- package/ts/types/Enum/SalesContractBrandClementine.ts +7 -7
- package/ts/types/Enum/StatsCaStateDetail.ts +0 -19
- package/ts/types/Enum/Unit.ts +0 -11
- package/ts/types/Enum/ZoneCode.ts +0 -7
- package/ts/types/Interface/api/OnBoarding.ts +0 -5
- package/ts/types/Interface/api/absenceRequest/ReadAbsenceRequest.ts +1 -1
- package/ts/types/Interface/api/balanceSheet/ReadBalanceSheet.ts +2 -4
- package/ts/types/Interface/api/brevo/BrevoElement.ts +2 -13
- package/ts/types/Interface/api/card/QueryUserCards.ts +5 -5
- package/ts/types/Interface/api/cerfa/2031.ts +2 -3
- package/ts/types/Interface/api/cerfa/2050.ts +1399 -1580
- package/ts/types/Interface/api/cerfa/2065.ts +2 -2
- package/ts/types/Interface/api/cerfa/3310.ts +0 -1
- package/ts/types/Interface/api/cerfa/ReadCerfa.ts +2 -20
- package/ts/types/Interface/api/checklist/Query.ts +0 -15
- package/ts/types/Interface/api/checklist/Update.ts +3 -44
- package/ts/types/Interface/api/commercial/QueryPaginatedSocietyWithStatsCa.ts +3 -2
- package/ts/types/Interface/api/commercial/RequiredDocsTypeParams.ts +0 -1
- package/ts/types/Interface/api/companyCreationForm/CompanyCreationFormPayload.ts +1 -0
- package/ts/types/Interface/api/companyCreationForm/CreateCompanyCreationForm.ts +6 -0
- package/ts/types/Interface/api/gedFile/createFileAndGed.ts +1 -7
- package/ts/types/Interface/api/incomeStatement/ReadIncomeStatement.ts +2 -4
- package/ts/types/Interface/api/inpi/inpi.ts +0 -126
- package/ts/types/Interface/api/library/QueryLibrary.ts +2 -11
- package/ts/types/Interface/api/payment/Params.ts +1 -19
- package/ts/types/Interface/api/payment/Query.ts +3 -13
- 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 +0 -4
- package/ts/types/Interface/api/revision/Revision.ts +1 -1
- package/ts/types/Interface/api/society/ReadSociety.ts +1 -13
- package/ts/types/Interface/api/stripe/Create.ts +0 -5
- package/ts/types/Interface/api/stripe/QueryStripe.ts +0 -8
- package/ts/types/Interface/models/IAttestation.ts +18 -20
- package/ts/types/Interface/models/IChecklist.ts +2 -2
- package/ts/types/Interface/models/IChecklistDetail.ts +3 -3
- package/ts/types/Interface/models/IGedFile.ts +1 -6
- package/ts/types/Interface/models/IPaymentExpectation.ts +0 -2
- package/ts/types/Interface/models/IPrestation.ts +0 -1
- package/ts/types/Interface/models/ISociety.ts +0 -1
- package/ts/types/index.ts +0 -7
- package/ts/utils/payment.ts +49 -49
- package/ts/utils/prestation.ts +0 -1
- package/ts/utils/tests/payment.spec.ts +34 -34
- package/ts/utils/vat/3310/century25.ts +8 -22
- package/ts/utils/vat/3517/century25.ts +54 -61
- package/ts/utils/vat/utils.ts +3 -3
- package/ts/utils/webmail.ts +16 -19
- package/dist/cjs/api/resources/BalanceSheetReport.d.ts +0 -10
- package/dist/cjs/api/resources/BalanceSheetReport.d.ts.map +0 -1
- package/dist/cjs/api/resources/BalanceSheetReport.js +0 -23
- package/dist/cjs/api/resources/BalanceSheetReport.js.map +0 -1
- package/dist/cjs/api/resources/DashboardLayout.d.ts +0 -9
- package/dist/cjs/api/resources/DashboardLayout.d.ts.map +0 -1
- package/dist/cjs/api/resources/DashboardLayout.js +0 -20
- package/dist/cjs/api/resources/DashboardLayout.js.map +0 -1
- package/dist/cjs/api/resources/DocumentRequest.d.ts +0 -10
- package/dist/cjs/api/resources/DocumentRequest.d.ts.map +0 -1
- package/dist/cjs/api/resources/DocumentRequest.js +0 -23
- package/dist/cjs/api/resources/DocumentRequest.js.map +0 -1
- package/dist/cjs/types/Enum/DashboardBlock.d.ts +0 -13
- package/dist/cjs/types/Enum/DashboardBlock.d.ts.map +0 -1
- package/dist/cjs/types/Enum/DashboardBlock.js +0 -17
- package/dist/cjs/types/Enum/DashboardBlock.js.map +0 -1
- package/dist/cjs/types/Interface/api/DashboardLayout.d.ts +0 -24
- package/dist/cjs/types/Interface/api/DashboardLayout.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/DashboardLayout.js +0 -3
- package/dist/cjs/types/Interface/api/DashboardLayout.js.map +0 -1
- package/dist/cjs/types/Interface/api/balanceSheetReport/Query.d.ts +0 -40
- package/dist/cjs/types/Interface/api/balanceSheetReport/Query.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/balanceSheetReport/Query.js +0 -207
- package/dist/cjs/types/Interface/api/balanceSheetReport/Query.js.map +0 -1
- package/dist/cjs/types/Interface/api/documentRequest/Create.d.ts +0 -10
- package/dist/cjs/types/Interface/api/documentRequest/Create.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/documentRequest/Create.js +0 -46
- package/dist/cjs/types/Interface/api/documentRequest/Create.js.map +0 -1
- package/dist/cjs/types/Interface/api/documentRequest/Query.d.ts +0 -5
- package/dist/cjs/types/Interface/api/documentRequest/Query.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/documentRequest/Query.js +0 -30
- package/dist/cjs/types/Interface/api/documentRequest/Query.js.map +0 -1
- package/dist/cjs/types/Interface/api/feature/GetAvailableDashboardBlocks.d.ts +0 -5
- package/dist/cjs/types/Interface/api/feature/GetAvailableDashboardBlocks.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/feature/GetAvailableDashboardBlocks.js +0 -3
- package/dist/cjs/types/Interface/api/feature/GetAvailableDashboardBlocks.js.map +0 -1
- package/dist/cjs/types/Interface/api/team/UpdateTeamsForUser.d.ts +0 -6
- package/dist/cjs/types/Interface/api/team/UpdateTeamsForUser.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/team/UpdateTeamsForUser.js +0 -38
- package/dist/cjs/types/Interface/api/team/UpdateTeamsForUser.js.map +0 -1
- package/dist/cjs/types/Interface/models/IDocumentRequest.d.ts +0 -23
- package/dist/cjs/types/Interface/models/IDocumentRequest.d.ts.map +0 -1
- package/dist/cjs/types/Interface/models/IDocumentRequest.js +0 -3
- package/dist/cjs/types/Interface/models/IDocumentRequest.js.map +0 -1
- package/dist/mjs/api/resources/BalanceSheetReport.d.ts +0 -10
- package/dist/mjs/api/resources/BalanceSheetReport.d.ts.map +0 -1
- package/dist/mjs/api/resources/BalanceSheetReport.js +0 -22
- package/dist/mjs/api/resources/BalanceSheetReport.js.map +0 -1
- package/dist/mjs/api/resources/DashboardLayout.d.ts +0 -9
- package/dist/mjs/api/resources/DashboardLayout.d.ts.map +0 -1
- package/dist/mjs/api/resources/DashboardLayout.js +0 -16
- package/dist/mjs/api/resources/DashboardLayout.js.map +0 -1
- package/dist/mjs/api/resources/DocumentRequest.d.ts +0 -10
- package/dist/mjs/api/resources/DocumentRequest.d.ts.map +0 -1
- package/dist/mjs/api/resources/DocumentRequest.js +0 -27
- package/dist/mjs/api/resources/DocumentRequest.js.map +0 -1
- package/dist/mjs/types/Enum/DashboardBlock.d.ts +0 -13
- package/dist/mjs/types/Enum/DashboardBlock.d.ts.map +0 -1
- package/dist/mjs/types/Enum/DashboardBlock.js +0 -14
- package/dist/mjs/types/Enum/DashboardBlock.js.map +0 -1
- package/dist/mjs/types/Interface/api/DashboardLayout.d.ts +0 -24
- package/dist/mjs/types/Interface/api/DashboardLayout.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/DashboardLayout.js +0 -2
- package/dist/mjs/types/Interface/api/DashboardLayout.js.map +0 -1
- package/dist/mjs/types/Interface/api/balanceSheetReport/Query.d.ts +0 -40
- package/dist/mjs/types/Interface/api/balanceSheetReport/Query.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/balanceSheetReport/Query.js +0 -200
- package/dist/mjs/types/Interface/api/balanceSheetReport/Query.js.map +0 -1
- package/dist/mjs/types/Interface/api/documentRequest/Create.d.ts +0 -10
- package/dist/mjs/types/Interface/api/documentRequest/Create.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/documentRequest/Create.js +0 -47
- package/dist/mjs/types/Interface/api/documentRequest/Create.js.map +0 -1
- package/dist/mjs/types/Interface/api/documentRequest/Query.d.ts +0 -5
- package/dist/mjs/types/Interface/api/documentRequest/Query.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/documentRequest/Query.js +0 -28
- package/dist/mjs/types/Interface/api/documentRequest/Query.js.map +0 -1
- package/dist/mjs/types/Interface/api/feature/GetAvailableDashboardBlocks.d.ts +0 -5
- package/dist/mjs/types/Interface/api/feature/GetAvailableDashboardBlocks.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/feature/GetAvailableDashboardBlocks.js +0 -2
- package/dist/mjs/types/Interface/api/feature/GetAvailableDashboardBlocks.js.map +0 -1
- package/dist/mjs/types/Interface/api/team/UpdateTeamsForUser.d.ts +0 -6
- package/dist/mjs/types/Interface/api/team/UpdateTeamsForUser.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/team/UpdateTeamsForUser.js +0 -37
- package/dist/mjs/types/Interface/api/team/UpdateTeamsForUser.js.map +0 -1
- package/dist/mjs/types/Interface/models/IDocumentRequest.d.ts +0 -23
- package/dist/mjs/types/Interface/models/IDocumentRequest.d.ts.map +0 -1
- package/dist/mjs/types/Interface/models/IDocumentRequest.js +0 -2
- package/dist/mjs/types/Interface/models/IDocumentRequest.js.map +0 -1
- package/ts/api/resources/BalanceSheetReport.ts +0 -36
- package/ts/api/resources/DashboardLayout.ts +0 -20
- package/ts/api/resources/DocumentRequest.ts +0 -32
- package/ts/types/Enum/DashboardBlock.ts +0 -12
- package/ts/types/Interface/api/DashboardLayout.ts +0 -27
- package/ts/types/Interface/api/balanceSheetReport/Query.ts +0 -160
- package/ts/types/Interface/api/documentRequest/Create.ts +0 -28
- package/ts/types/Interface/api/documentRequest/Query.ts +0 -14
- package/ts/types/Interface/api/feature/GetAvailableDashboardBlocks.ts +0 -5
- package/ts/types/Interface/api/team/UpdateTeamsForUser.ts +0 -22
- package/ts/types/Interface/models/IDocumentRequest.ts +0 -25
|
@@ -8,21 +8,18 @@ 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';
|
|
13
11
|
|
|
14
12
|
// gedFile
|
|
15
13
|
export interface IGedFile {
|
|
16
14
|
id?: number;
|
|
17
15
|
emissionDate?: Date | null;
|
|
18
16
|
statutFile?: number | null;
|
|
19
|
-
/** @deprecated Use typeFile field instead with TypeFile enum */
|
|
20
17
|
idTypeGedFile?: number | null;
|
|
21
18
|
idUser?: number | null;
|
|
22
19
|
idGedFolder: number;
|
|
23
20
|
idSociety: number;
|
|
24
21
|
idFile: number;
|
|
25
|
-
typeFile?:
|
|
22
|
+
typeFile?: number | null;
|
|
26
23
|
startDate?: Date | null;
|
|
27
24
|
endDate?: Date | null;
|
|
28
25
|
idExercice?: number | null;
|
|
@@ -30,7 +27,6 @@ export interface IGedFile {
|
|
|
30
27
|
idUserBP?: number | null; // Attention: lorsqu'on ajoute un fichier dans la modale "Documents manquants", on stock ici l'idUser associé au BP
|
|
31
28
|
idBusinessPartner?: number | null;
|
|
32
29
|
idBankAccount?: number | null;
|
|
33
|
-
idDocumentRequest?: number | null;
|
|
34
30
|
createdAt?: Date | null;
|
|
35
31
|
updatedAt?: Date | null;
|
|
36
32
|
|
|
@@ -46,5 +42,4 @@ export interface IGedFile {
|
|
|
46
42
|
userBP?: IUser;
|
|
47
43
|
customerSignature?: ICustomerSignature;
|
|
48
44
|
bankAccount?: IBankAccount;
|
|
49
|
-
documentRequest?: IDocumentRequest;
|
|
50
45
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { ISociety } from './ISociety';
|
|
2
2
|
import { IRegulation } from './IRegulation';
|
|
3
3
|
import { PaymentReason } from '../../Enum/PaymentReason';
|
|
4
|
-
import { IPrestation } from './IPrestation';
|
|
5
4
|
|
|
6
5
|
// paymentsExpectations
|
|
7
6
|
export interface IPaymentExpectation {
|
|
@@ -25,5 +24,4 @@ export interface IPaymentExpectation {
|
|
|
25
24
|
// Associations
|
|
26
25
|
society?: ISociety;
|
|
27
26
|
regulation?: IRegulation;
|
|
28
|
-
prestation?: IPrestation | null;
|
|
29
27
|
}
|
|
@@ -32,7 +32,6 @@ 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
|
|
36
35
|
isWithApplicationFees?: boolean;
|
|
37
36
|
state: boolean;
|
|
38
37
|
commentPdf: string | null;
|
package/ts/types/index.ts
CHANGED
|
@@ -324,7 +324,6 @@ 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';
|
|
328
327
|
|
|
329
328
|
// Schemas
|
|
330
329
|
export * from './Interface/schemas/IRegistrationDetail';
|
|
@@ -344,7 +343,6 @@ export * from './Enum/VisualizedInformation';
|
|
|
344
343
|
export * from './Enum/NafCode';
|
|
345
344
|
export * from './Enum/Acceptance';
|
|
346
345
|
export * from './Enum/FolderFile';
|
|
347
|
-
export * from './Enum/DashboardBlock';
|
|
348
346
|
export * from './Enum/CommercialGrade';
|
|
349
347
|
export * from './Enum/CommercialOfferType';
|
|
350
348
|
export * from './Enum/CommercialManagement';
|
|
@@ -773,7 +771,6 @@ export * from './Interface/api/inpi/inpi';
|
|
|
773
771
|
export * from './Interface/api/team/QueryCreate';
|
|
774
772
|
export * from './Interface/api/team/QueryGetAllWithIncludes';
|
|
775
773
|
export * from './Interface/api/team/QueryUpdate';
|
|
776
|
-
export * from './Interface/api/team/UpdateTeamsForUser';
|
|
777
774
|
export * from './Interface/api/constitutionHistory/QueryPaginatedConstitutionHistory';
|
|
778
775
|
export * from './Interface/api/userSpecialDay/BodyUserSpecialDay';
|
|
779
776
|
export * from './Interface/api/userSpecialDay/QueryUserSpecialDay';
|
|
@@ -830,7 +827,6 @@ export * from './Interface/api/pappers/CreatePappers';
|
|
|
830
827
|
export * from './Interface/api/bankAccount/Query';
|
|
831
828
|
export * from './Interface/api/bankAccount/Update';
|
|
832
829
|
export * from './Interface/api/stripe/QueryStripe';
|
|
833
|
-
export * from './Interface/api/balanceSheetReport/Query';
|
|
834
830
|
export * from './Interface/api/supervision/Query';
|
|
835
831
|
export * from './Interface/api/supervision/Read';
|
|
836
832
|
export * from './Interface/api/salariesFile/ReadSalariesFile';
|
|
@@ -937,7 +933,6 @@ export * from './Interface/api/thirdParty/CreateThirdPartyForm';
|
|
|
937
933
|
export * from './Interface/api/thirdParty/UpdateThirdPartyForm';
|
|
938
934
|
export * from './Interface/api/thirdParty/QueryThirdParty';
|
|
939
935
|
export * from './Interface/api/bankAccount/Read';
|
|
940
|
-
export * from './Interface/api/DashboardLayout';
|
|
941
936
|
export * from './Interface/api/sheetMonthSchedule/QuerySheetMonthSchedule';
|
|
942
937
|
export * from './Interface/api/calendarEvent/createCalendarEvent';
|
|
943
938
|
export * from './Interface/api/calendarEvent/createCalendarEventForUsers';
|
|
@@ -1140,8 +1135,6 @@ export * from './Interface/api/absenceRequest/CreateAbsenceRequest';
|
|
|
1140
1135
|
export * from './Interface/api/absenceRequest/ReadAbsenceRequest';
|
|
1141
1136
|
export * from './Interface/api/recurrence/Query';
|
|
1142
1137
|
export * from './Interface/api/recurrence/Read';
|
|
1143
|
-
export * from './Interface/api/documentRequest/Query';
|
|
1144
|
-
export * from './Interface/api/documentRequest/Create';
|
|
1145
1138
|
|
|
1146
1139
|
// Enums types
|
|
1147
1140
|
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 {
|
|
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
|
-
|
|
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 groupPaymentsByServiceType = (
|
|
|
121
121
|
const calculatePaymentsAuto = (params: ParamsForPaymentsAuto): PaymentAuto[] => {
|
|
122
122
|
const {
|
|
123
123
|
idTypeBrand,
|
|
124
|
-
|
|
124
|
+
isWithApplicationFees,
|
|
125
125
|
firstExerciceNonExpresssEndDate,
|
|
126
126
|
idPrestation,
|
|
127
|
-
|
|
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 {
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
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
|
-
|
|
174
|
-
|
|
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
|
-
|
|
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 ? yearlyAmountNonExpressClone : 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
|
-
|
|
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
|
+
let 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
|
-
|
|
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
|
+
let 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
|
-
|
|
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
|
+
let 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
|
-
|
|
418
|
+
amount = calculateFees(amount, paymentDate);
|
|
419
419
|
|
|
420
420
|
listPayments.push({
|
|
421
|
-
amount: Math.round(100 *
|
|
421
|
+
amount: Math.round(100 * amount) / 100,
|
|
422
422
|
datePayment: paymentDate,
|
|
423
423
|
idPrestation,
|
|
424
424
|
idPaymentMethod: PaymentMethod.DIRECT_DEBIT.id,
|
package/ts/utils/prestation.ts
CHANGED
|
@@ -429,7 +429,6 @@ 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
|
|
433
432
|
*/
|
|
434
433
|
const getApplicationFeesAmount = (idLegalForm: number, idVat?: number) => {
|
|
435
434
|
let applicationFeesAmount = 50;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as dayjs from 'dayjs';
|
|
2
|
-
import { IRegulation, Vat, PaymentMethod, getTaxesIncludedAmount } from '../../types';
|
|
2
|
+
import { IRegulation, Vat, PaymentMethod, LegalFormTypeEnum, 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
|
-
|
|
89
|
-
|
|
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
|
-
|
|
117
|
-
|
|
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
|
-
|
|
140
|
-
|
|
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
|
-
|
|
170
|
-
|
|
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
|
-
|
|
201
|
-
|
|
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
|
-
|
|
237
|
-
|
|
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
|
-
|
|
269
|
-
|
|
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
|
-
|
|
297
|
-
|
|
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
|
-
|
|
330
|
-
|
|
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
|
-
|
|
361
|
-
|
|
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
|
-
|
|
402
|
-
|
|
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
|
-
|
|
424
|
-
|
|
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
|
-
|
|
463
|
-
|
|
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
|
-
|
|
484
|
-
|
|
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
|
-
|
|
501
|
-
|
|
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
|
-
|
|
519
|
-
|
|
518
|
+
isWithApplicationFees: true,
|
|
519
|
+
idLegalForm: LegalFormTypeEnum.SARL,
|
|
520
520
|
prestationList,
|
|
521
521
|
idVat: Vat.TX_20.id,
|
|
522
522
|
listPartialExercicePrestationExpress: [],
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
|
|
1
2
|
import * as dayjs from 'dayjs';
|
|
2
3
|
import { isDefined } from 'class-validator';
|
|
3
4
|
import { round as _round, flatten, uniqBy, maxBy } from 'lodash';
|
|
@@ -481,7 +482,6 @@ export function getCerfa3310Century25Payload(
|
|
|
481
482
|
|
|
482
483
|
const initialPayload: Cerfa3310_2025 = {
|
|
483
484
|
isNil,
|
|
484
|
-
isHolidayDeposit,
|
|
485
485
|
isDGE: false,
|
|
486
486
|
isUniq: false,
|
|
487
487
|
declaration: {
|
|
@@ -963,18 +963,14 @@ export function getCerfa3310Century25RegistrationFields(data: Cerfa3310_2025): A
|
|
|
963
963
|
name: '3310CA3',
|
|
964
964
|
fields: [
|
|
965
965
|
{
|
|
966
|
-
key: '
|
|
967
|
-
|
|
968
|
-
isMultiple: false,
|
|
969
|
-
description: 'Acompte congés payés',
|
|
970
|
-
value: data.isHolidayDeposit ? 'X' : null,
|
|
971
|
-
},
|
|
972
|
-
{
|
|
973
|
-
key: 'AC',
|
|
974
|
-
tag: 'Valeur',
|
|
966
|
+
key: 'BA',
|
|
967
|
+
value: null,
|
|
975
968
|
isMultiple: false,
|
|
976
|
-
|
|
977
|
-
|
|
969
|
+
tags: [1, 2, 3, 4, 5].map((i) => ({
|
|
970
|
+
tag: `TexteLibre${i}` as 'TexteLibre1',
|
|
971
|
+
description: `FTX Commentaires type ${i}`,
|
|
972
|
+
value: textFormatting(comment, 512, 512 * (i - 1)) || null,
|
|
973
|
+
})),
|
|
978
974
|
},
|
|
979
975
|
{
|
|
980
976
|
key: 'BB',
|
|
@@ -990,16 +986,6 @@ export function getCerfa3310Century25RegistrationFields(data: Cerfa3310_2025): A
|
|
|
990
986
|
description: 'CCITBX Mention expresse Table TBX avec X pour sélectionné, CCI/7037 = CAV/1131 =',
|
|
991
987
|
value: comment && comment?.length > 0 ? 'X' : null,
|
|
992
988
|
},
|
|
993
|
-
{
|
|
994
|
-
key: 'BA',
|
|
995
|
-
value: null,
|
|
996
|
-
isMultiple: false,
|
|
997
|
-
tags: [1, 2, 3, 4, 5].map((i) => ({
|
|
998
|
-
tag: `TexteLibre${i}` as 'TexteLibre1',
|
|
999
|
-
description: `FTX Commentaires type ${i}`,
|
|
1000
|
-
value: textFormatting(comment, 512, 512 * (i - 1)) || null,
|
|
1001
|
-
})),
|
|
1002
|
-
},
|
|
1003
989
|
{
|
|
1004
990
|
key: 'BE',
|
|
1005
991
|
tag: 'Valeur',
|