@silexpert/core 1.3.195-7 → 1.3.195
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/Card.d.ts +1 -23
- package/dist/cjs/api/resources/Card.d.ts.map +1 -1
- package/dist/cjs/api/resources/Card.js +0 -36
- package/dist/cjs/api/resources/Card.js.map +1 -1
- package/dist/cjs/api/resources/LoginApproval.d.ts +18 -0
- package/dist/cjs/api/resources/LoginApproval.d.ts.map +1 -0
- package/dist/cjs/api/resources/LoginApproval.js +20 -0
- package/dist/cjs/api/resources/LoginApproval.js.map +1 -0
- package/dist/cjs/api/resources/Mfa.d.ts +1 -0
- package/dist/cjs/api/resources/Mfa.d.ts.map +1 -1
- package/dist/cjs/api/resources/Mfa.js +4 -0
- package/dist/cjs/api/resources/Mfa.js.map +1 -1
- package/dist/cjs/api/resources/Payment.d.ts +1 -0
- 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/Society.d.ts +2 -1
- package/dist/cjs/api/resources/Society.d.ts.map +1 -1
- package/dist/cjs/api/resources/Society.js +3 -0
- package/dist/cjs/api/resources/Society.js.map +1 -1
- package/dist/cjs/api/resources/SocietyApproval.d.ts +47 -0
- package/dist/cjs/api/resources/SocietyApproval.d.ts.map +1 -0
- package/dist/cjs/api/resources/SocietyApproval.js +62 -0
- package/dist/cjs/api/resources/SocietyApproval.js.map +1 -0
- package/dist/cjs/api/resources/Webex.d.ts +8 -0
- package/dist/cjs/api/resources/Webex.d.ts.map +1 -0
- package/dist/cjs/api/resources/Webex.js +17 -0
- package/dist/cjs/api/resources/Webex.js.map +1 -0
- package/dist/cjs/api/resources.d.ts +4 -2
- package/dist/cjs/api/resources.d.ts.map +1 -1
- package/dist/cjs/api/resources.js +4 -2
- package/dist/cjs/api/resources.js.map +1 -1
- package/dist/cjs/types/Enum/Card.d.ts +2 -44
- package/dist/cjs/types/Enum/Card.d.ts.map +1 -1
- package/dist/cjs/types/Enum/Card.js +2 -52
- package/dist/cjs/types/Enum/Card.js.map +1 -1
- package/dist/cjs/types/Enum/EbookIntention.d.ts +8 -0
- package/dist/cjs/types/Enum/EbookIntention.d.ts.map +1 -0
- package/dist/cjs/types/Enum/EbookIntention.js +18 -0
- package/dist/cjs/types/Enum/EbookIntention.js.map +1 -0
- package/dist/cjs/types/Enum/Ged.d.ts +9 -3
- package/dist/cjs/types/Enum/Ged.d.ts.map +1 -1
- package/dist/cjs/types/Enum/Ged.js +154 -30
- package/dist/cjs/types/Enum/Ged.js.map +1 -1
- package/dist/cjs/types/Enum/InformationRequestState.d.ts +2 -1
- package/dist/cjs/types/Enum/InformationRequestState.d.ts.map +1 -1
- package/dist/cjs/types/Enum/InformationRequestState.js +1 -0
- package/dist/cjs/types/Enum/InformationRequestState.js.map +1 -1
- package/dist/cjs/types/Enum/JobTitle.d.ts +2 -1
- package/dist/cjs/types/Enum/JobTitle.d.ts.map +1 -1
- package/dist/cjs/types/Enum/JobTitle.js +6 -0
- package/dist/cjs/types/Enum/JobTitle.js.map +1 -1
- package/dist/cjs/types/Enum/LoginApprovalStatus.d.ts +14 -0
- package/dist/cjs/types/Enum/LoginApprovalStatus.d.ts.map +1 -0
- package/dist/cjs/types/Enum/LoginApprovalStatus.js +18 -0
- package/dist/cjs/types/Enum/LoginApprovalStatus.js.map +1 -0
- package/dist/cjs/types/Enum/MailAuto.d.ts +3 -1
- package/dist/cjs/types/Enum/MailAuto.d.ts.map +1 -1
- package/dist/cjs/types/Enum/MailAuto.js +2 -0
- package/dist/cjs/types/Enum/MailAuto.js.map +1 -1
- package/dist/cjs/types/Enum/MfaMode.d.ts +12 -0
- package/dist/cjs/types/Enum/MfaMode.d.ts.map +1 -0
- package/dist/cjs/types/Enum/MfaMode.js +16 -0
- package/dist/cjs/types/Enum/MfaMode.js.map +1 -0
- package/dist/cjs/types/Enum/PriceGridClementine.d.ts.map +1 -1
- package/dist/cjs/types/Enum/PriceGridClementine.js +482 -478
- package/dist/cjs/types/Enum/PriceGridClementine.js.map +1 -1
- package/dist/cjs/types/Enum/Proceding.d.ts +4 -0
- package/dist/cjs/types/Enum/Proceding.d.ts.map +1 -1
- package/dist/cjs/types/Enum/Proceding.js +4 -0
- package/dist/cjs/types/Enum/Proceding.js.map +1 -1
- package/dist/cjs/types/Enum/SocietyApproval.d.ts +46 -0
- package/dist/cjs/types/Enum/SocietyApproval.d.ts.map +1 -0
- package/dist/cjs/types/Enum/SocietyApproval.js +280 -0
- package/dist/cjs/types/Enum/SocietyApproval.js.map +1 -0
- package/dist/cjs/types/Enum/StatutsSection.d.ts +7 -1
- package/dist/cjs/types/Enum/StatutsSection.d.ts.map +1 -1
- package/dist/cjs/types/Enum/StatutsSection.js +15 -7
- package/dist/cjs/types/Enum/StatutsSection.js.map +1 -1
- package/dist/cjs/types/Interface/api/SocietyApproval.d.ts +36 -0
- package/dist/cjs/types/Interface/api/SocietyApproval.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/SocietyApproval.js +153 -0
- package/dist/cjs/types/Interface/api/SocietyApproval.js.map +1 -0
- package/dist/cjs/types/Interface/api/authentification/AuthenticationResponse.d.ts +10 -0
- package/dist/cjs/types/Interface/api/authentification/AuthenticationResponse.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/authentification/AuthenticationResponse.js.map +1 -1
- package/dist/cjs/types/Interface/api/authentification/FinalizeMobileApprovalDto.d.ts +4 -0
- package/dist/cjs/types/Interface/api/authentification/FinalizeMobileApprovalDto.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/authentification/FinalizeMobileApprovalDto.js +21 -0
- package/dist/cjs/types/Interface/api/authentification/FinalizeMobileApprovalDto.js.map +1 -0
- package/dist/cjs/types/Interface/api/authentification/ReadAuthenticateCollaborater.d.ts +17 -0
- package/dist/cjs/types/Interface/api/authentification/ReadAuthenticateCollaborater.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/authentification/ReadAuthenticateCollaborater.js +4 -1
- package/dist/cjs/types/Interface/api/authentification/ReadAuthenticateCollaborater.js.map +1 -1
- package/dist/cjs/types/Interface/api/authentification/SetMobileApprovalDto.d.ts +5 -0
- package/dist/cjs/types/Interface/api/authentification/SetMobileApprovalDto.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/{card/ModifyCustomerVat.js → authentification/SetMobileApprovalDto.js} +11 -13
- package/dist/cjs/types/Interface/api/authentification/SetMobileApprovalDto.js.map +1 -0
- package/dist/cjs/types/Interface/api/authentification/loginApproval.d.ts +66 -0
- package/dist/cjs/types/Interface/api/authentification/loginApproval.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/authentification/loginApproval.js +26 -0
- package/dist/cjs/types/Interface/api/authentification/loginApproval.js.map +1 -0
- package/dist/cjs/types/Interface/api/balanceSheet/UpdateBalanceSheet.d.ts +0 -1
- package/dist/cjs/types/Interface/api/balanceSheet/UpdateBalanceSheet.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/balanceSheet/UpdateBalanceSheet.js +0 -6
- package/dist/cjs/types/Interface/api/balanceSheet/UpdateBalanceSheet.js.map +1 -1
- package/dist/cjs/types/Interface/api/bankAccount/Benchmark.d.ts +5 -0
- package/dist/cjs/types/Interface/api/bankAccount/Benchmark.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/bankAccount/Benchmark.js +21 -0
- package/dist/cjs/types/Interface/api/bankAccount/Benchmark.js.map +1 -0
- package/dist/cjs/types/Interface/api/brevo/BrevoElement.d.ts +2 -0
- package/dist/cjs/types/Interface/api/brevo/BrevoElement.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/brevo/BrevoElement.js +6 -0
- package/dist/cjs/types/Interface/api/brevo/BrevoElement.js.map +1 -1
- package/dist/cjs/types/Interface/api/card/Cron.d.ts +3 -0
- package/dist/cjs/types/Interface/api/card/Cron.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/card/Cron.js +10 -1
- package/dist/cjs/types/Interface/api/card/Cron.js.map +1 -1
- package/dist/cjs/types/Interface/api/card/QueryUserCards.d.ts +1 -11
- package/dist/cjs/types/Interface/api/card/QueryUserCards.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/card/QueryUserCards.js +7 -44
- package/dist/cjs/types/Interface/api/card/QueryUserCards.js.map +1 -1
- package/dist/cjs/types/Interface/api/card/UpdateCard.d.ts +0 -13
- package/dist/cjs/types/Interface/api/card/UpdateCard.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/card/UpdateCard.js +1 -58
- package/dist/cjs/types/Interface/api/card/UpdateCard.js.map +1 -1
- package/dist/cjs/types/Interface/api/informationRequest/Update.d.ts +3 -0
- package/dist/cjs/types/Interface/api/informationRequest/Update.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/informationRequest/Update.js +10 -1
- package/dist/cjs/types/Interface/api/informationRequest/Update.js.map +1 -1
- package/dist/cjs/types/Interface/api/oldExportInfo/OldExpertInfos.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/oldExportInfo/OldExpertInfos.js +2 -0
- package/dist/cjs/types/Interface/api/oldExportInfo/OldExpertInfos.js.map +1 -1
- package/dist/cjs/types/Interface/api/prestation/Query.d.ts +1 -0
- package/dist/cjs/types/Interface/api/prestation/Query.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/prestation/Query.js +7 -0
- package/dist/cjs/types/Interface/api/prestation/Query.js.map +1 -1
- package/dist/cjs/types/Interface/api/user/RegisterProspect.d.ts +1 -0
- package/dist/cjs/types/Interface/api/user/RegisterProspect.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/user/RegisterProspect.js +6 -0
- package/dist/cjs/types/Interface/api/user/RegisterProspect.js.map +1 -1
- package/dist/cjs/types/Interface/api/webex/GetWebinarsParams.d.ts +7 -0
- package/dist/cjs/types/Interface/api/webex/GetWebinarsParams.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/{card/Query.js → webex/GetWebinarsParams.js} +16 -15
- package/dist/cjs/types/Interface/api/webex/GetWebinarsParams.js.map +1 -0
- package/dist/cjs/types/Interface/api/webex/PaginatedWebinars.d.ts +7 -0
- package/dist/cjs/types/Interface/api/webex/PaginatedWebinars.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/webex/PaginatedWebinars.js +3 -0
- package/dist/cjs/types/Interface/api/webex/PaginatedWebinars.js.map +1 -0
- package/dist/cjs/types/Interface/api/webex/WebexMeeting.d.ts +22 -0
- package/dist/cjs/types/Interface/api/webex/WebexMeeting.d.ts.map +1 -0
- package/dist/cjs/types/Interface/{models/IUsersHistory.js → api/webex/WebexMeeting.js} +1 -1
- package/dist/cjs/types/Interface/api/webex/WebexMeeting.js.map +1 -0
- package/dist/cjs/types/Interface/api/webex/WebexRegistrant.d.ts +18 -0
- package/dist/cjs/types/Interface/api/webex/WebexRegistrant.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/webex/WebexRegistrant.js +40 -0
- package/dist/cjs/types/Interface/api/webex/WebexRegistrant.js.map +1 -0
- package/dist/cjs/types/Interface/api/woocommerce/InvoicesWoocommerce.d.ts +6 -5
- package/dist/cjs/types/Interface/api/woocommerce/InvoicesWoocommerce.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/woocommerce/InvoicesWoocommerce.js +14 -0
- package/dist/cjs/types/Interface/api/woocommerce/InvoicesWoocommerce.js.map +1 -1
- package/dist/cjs/types/Interface/models/IBalanceSheet.d.ts +0 -3
- package/dist/cjs/types/Interface/models/IBalanceSheet.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/IBalanceSheet.js.map +1 -1
- package/dist/cjs/types/Interface/models/ICard.d.ts +0 -19
- package/dist/cjs/types/Interface/models/ICard.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/ICard.js.map +1 -1
- package/dist/cjs/types/Interface/models/ICardHistory.d.ts +0 -4
- package/dist/cjs/types/Interface/models/ICardHistory.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/ICardHistory.js.map +1 -1
- package/dist/cjs/types/Interface/models/ICustomerVat.d.ts +0 -1
- package/dist/cjs/types/Interface/models/ICustomerVat.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/ICustomerVat.js.map +1 -1
- package/dist/cjs/types/Interface/models/ILoginApproval.d.ts +31 -0
- package/dist/cjs/types/Interface/models/ILoginApproval.d.ts.map +1 -0
- package/dist/cjs/types/Interface/models/ILoginApproval.js +3 -0
- package/dist/cjs/types/Interface/models/ILoginApproval.js.map +1 -0
- package/dist/cjs/types/Interface/models/ISocietyApproval.d.ts +2 -0
- package/dist/cjs/types/Interface/models/ISocietyApproval.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/ISocietyApproval.js.map +1 -1
- package/dist/cjs/types/Interface/models/IUser.d.ts +2 -0
- package/dist/cjs/types/Interface/models/IUser.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/IUser.js.map +1 -1
- package/dist/cjs/types/index.d.ts +14 -7
- package/dist/cjs/types/index.d.ts.map +1 -1
- package/dist/cjs/types/index.js +14 -7
- package/dist/cjs/types/index.js.map +1 -1
- package/dist/cjs/utils/commercialManagement/internationalization/choices.d.ts.map +1 -1
- package/dist/cjs/utils/commercialManagement/internationalization/choices.js +21 -19
- package/dist/cjs/utils/commercialManagement/internationalization/choices.js.map +1 -1
- package/dist/cjs/utils/index.d.ts +1 -0
- package/dist/cjs/utils/index.d.ts.map +1 -1
- package/dist/cjs/utils/index.js +1 -0
- package/dist/cjs/utils/index.js.map +1 -1
- package/dist/cjs/utils/societyApproval.d.ts +38 -0
- package/dist/cjs/utils/societyApproval.d.ts.map +1 -0
- package/dist/cjs/utils/societyApproval.js +101 -0
- package/dist/cjs/utils/societyApproval.js.map +1 -0
- package/dist/mjs/api/resources/Card.d.ts +1 -23
- package/dist/mjs/api/resources/Card.d.ts.map +1 -1
- package/dist/mjs/api/resources/Card.js +0 -45
- package/dist/mjs/api/resources/Card.js.map +1 -1
- package/dist/mjs/api/resources/LoginApproval.d.ts +18 -0
- package/dist/mjs/api/resources/LoginApproval.d.ts.map +1 -0
- package/dist/mjs/api/resources/LoginApproval.js +16 -0
- package/dist/mjs/api/resources/LoginApproval.js.map +1 -0
- package/dist/mjs/api/resources/Mfa.d.ts +1 -0
- package/dist/mjs/api/resources/Mfa.d.ts.map +1 -1
- package/dist/mjs/api/resources/Mfa.js +4 -0
- package/dist/mjs/api/resources/Mfa.js.map +1 -1
- package/dist/mjs/api/resources/Payment.d.ts +1 -0
- 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/Society.d.ts +2 -1
- package/dist/mjs/api/resources/Society.d.ts.map +1 -1
- package/dist/mjs/api/resources/Society.js +3 -0
- package/dist/mjs/api/resources/Society.js.map +1 -1
- package/dist/mjs/api/resources/SocietyApproval.d.ts +47 -0
- package/dist/mjs/api/resources/SocietyApproval.d.ts.map +1 -0
- package/dist/mjs/api/resources/SocietyApproval.js +58 -0
- package/dist/mjs/api/resources/SocietyApproval.js.map +1 -0
- package/dist/mjs/api/resources/Webex.d.ts +8 -0
- package/dist/mjs/api/resources/Webex.d.ts.map +1 -0
- package/dist/mjs/api/resources/Webex.js +13 -0
- package/dist/mjs/api/resources/Webex.js.map +1 -0
- package/dist/mjs/api/resources.d.ts +4 -2
- package/dist/mjs/api/resources.d.ts.map +1 -1
- package/dist/mjs/api/resources.js +4 -2
- package/dist/mjs/api/resources.js.map +1 -1
- package/dist/mjs/types/Enum/Card.d.ts +2 -44
- package/dist/mjs/types/Enum/Card.d.ts.map +1 -1
- package/dist/mjs/types/Enum/Card.js +2 -52
- package/dist/mjs/types/Enum/Card.js.map +1 -1
- package/dist/mjs/types/Enum/EbookIntention.d.ts +8 -0
- package/dist/mjs/types/Enum/EbookIntention.d.ts.map +1 -0
- package/dist/mjs/types/Enum/EbookIntention.js +15 -0
- package/dist/mjs/types/Enum/EbookIntention.js.map +1 -0
- package/dist/mjs/types/Enum/Ged.d.ts +9 -3
- package/dist/mjs/types/Enum/Ged.d.ts.map +1 -1
- package/dist/mjs/types/Enum/Ged.js +154 -30
- package/dist/mjs/types/Enum/Ged.js.map +1 -1
- package/dist/mjs/types/Enum/InformationRequestState.d.ts +2 -1
- package/dist/mjs/types/Enum/InformationRequestState.d.ts.map +1 -1
- package/dist/mjs/types/Enum/InformationRequestState.js +1 -0
- package/dist/mjs/types/Enum/InformationRequestState.js.map +1 -1
- package/dist/mjs/types/Enum/JobTitle.d.ts +2 -1
- package/dist/mjs/types/Enum/JobTitle.d.ts.map +1 -1
- package/dist/mjs/types/Enum/JobTitle.js +6 -0
- package/dist/mjs/types/Enum/JobTitle.js.map +1 -1
- package/dist/mjs/types/Enum/LoginApprovalStatus.d.ts +14 -0
- package/dist/mjs/types/Enum/LoginApprovalStatus.d.ts.map +1 -0
- package/dist/mjs/types/Enum/LoginApprovalStatus.js +15 -0
- package/dist/mjs/types/Enum/LoginApprovalStatus.js.map +1 -0
- package/dist/mjs/types/Enum/MailAuto.d.ts +3 -1
- package/dist/mjs/types/Enum/MailAuto.d.ts.map +1 -1
- package/dist/mjs/types/Enum/MailAuto.js +2 -0
- package/dist/mjs/types/Enum/MailAuto.js.map +1 -1
- package/dist/mjs/types/Enum/MfaMode.d.ts +12 -0
- package/dist/mjs/types/Enum/MfaMode.d.ts.map +1 -0
- package/dist/mjs/types/Enum/MfaMode.js +13 -0
- package/dist/mjs/types/Enum/MfaMode.js.map +1 -0
- package/dist/mjs/types/Enum/PriceGridClementine.d.ts.map +1 -1
- package/dist/mjs/types/Enum/PriceGridClementine.js +486 -474
- package/dist/mjs/types/Enum/PriceGridClementine.js.map +1 -1
- package/dist/mjs/types/Enum/Proceding.d.ts +4 -0
- package/dist/mjs/types/Enum/Proceding.d.ts.map +1 -1
- package/dist/mjs/types/Enum/Proceding.js +4 -0
- package/dist/mjs/types/Enum/Proceding.js.map +1 -1
- package/dist/mjs/types/Enum/SocietyApproval.d.ts +46 -0
- package/dist/mjs/types/Enum/SocietyApproval.d.ts.map +1 -0
- package/dist/mjs/types/Enum/SocietyApproval.js +277 -0
- package/dist/mjs/types/Enum/SocietyApproval.js.map +1 -0
- package/dist/mjs/types/Enum/StatutsSection.d.ts +7 -1
- package/dist/mjs/types/Enum/StatutsSection.d.ts.map +1 -1
- package/dist/mjs/types/Enum/StatutsSection.js +15 -7
- package/dist/mjs/types/Enum/StatutsSection.js.map +1 -1
- package/dist/mjs/types/Interface/api/SocietyApproval.d.ts +36 -0
- package/dist/mjs/types/Interface/api/SocietyApproval.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/SocietyApproval.js +167 -0
- package/dist/mjs/types/Interface/api/SocietyApproval.js.map +1 -0
- package/dist/mjs/types/Interface/api/authentification/AuthenticationResponse.d.ts +10 -0
- package/dist/mjs/types/Interface/api/authentification/AuthenticationResponse.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/authentification/AuthenticationResponse.js.map +1 -1
- package/dist/mjs/types/Interface/api/authentification/FinalizeMobileApprovalDto.d.ts +4 -0
- package/dist/mjs/types/Interface/api/authentification/FinalizeMobileApprovalDto.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/authentification/FinalizeMobileApprovalDto.js +18 -0
- package/dist/mjs/types/Interface/api/authentification/FinalizeMobileApprovalDto.js.map +1 -0
- package/dist/mjs/types/Interface/api/authentification/ReadAuthenticateCollaborater.d.ts +17 -0
- package/dist/mjs/types/Interface/api/authentification/ReadAuthenticateCollaborater.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/authentification/ReadAuthenticateCollaborater.js +7 -0
- package/dist/mjs/types/Interface/api/authentification/ReadAuthenticateCollaborater.js.map +1 -1
- package/dist/mjs/types/Interface/api/authentification/SetMobileApprovalDto.d.ts +5 -0
- package/dist/mjs/types/Interface/api/authentification/SetMobileApprovalDto.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/{card/ModifyCustomerVat.js → authentification/SetMobileApprovalDto.js} +12 -14
- package/dist/mjs/types/Interface/api/authentification/SetMobileApprovalDto.js.map +1 -0
- package/dist/mjs/types/Interface/api/authentification/loginApproval.d.ts +66 -0
- package/dist/mjs/types/Interface/api/authentification/loginApproval.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/authentification/loginApproval.js +23 -0
- package/dist/mjs/types/Interface/api/authentification/loginApproval.js.map +1 -0
- package/dist/mjs/types/Interface/api/balanceSheet/UpdateBalanceSheet.d.ts +0 -1
- package/dist/mjs/types/Interface/api/balanceSheet/UpdateBalanceSheet.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/balanceSheet/UpdateBalanceSheet.js +0 -7
- package/dist/mjs/types/Interface/api/balanceSheet/UpdateBalanceSheet.js.map +1 -1
- package/dist/mjs/types/Interface/api/bankAccount/Benchmark.d.ts +5 -0
- package/dist/mjs/types/Interface/api/bankAccount/Benchmark.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/bankAccount/Benchmark.js +18 -0
- package/dist/mjs/types/Interface/api/bankAccount/Benchmark.js.map +1 -0
- package/dist/mjs/types/Interface/api/brevo/BrevoElement.d.ts +2 -0
- package/dist/mjs/types/Interface/api/brevo/BrevoElement.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/brevo/BrevoElement.js +7 -0
- package/dist/mjs/types/Interface/api/brevo/BrevoElement.js.map +1 -1
- package/dist/mjs/types/Interface/api/card/Cron.d.ts +3 -0
- package/dist/mjs/types/Interface/api/card/Cron.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/card/Cron.js +8 -0
- package/dist/mjs/types/Interface/api/card/Cron.js.map +1 -1
- package/dist/mjs/types/Interface/api/card/QueryUserCards.d.ts +1 -11
- package/dist/mjs/types/Interface/api/card/QueryUserCards.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/card/QueryUserCards.js +7 -43
- package/dist/mjs/types/Interface/api/card/QueryUserCards.js.map +1 -1
- package/dist/mjs/types/Interface/api/card/UpdateCard.d.ts +0 -13
- package/dist/mjs/types/Interface/api/card/UpdateCard.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/card/UpdateCard.js +1 -65
- package/dist/mjs/types/Interface/api/card/UpdateCard.js.map +1 -1
- package/dist/mjs/types/Interface/api/informationRequest/Update.d.ts +3 -0
- package/dist/mjs/types/Interface/api/informationRequest/Update.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/informationRequest/Update.js +9 -0
- package/dist/mjs/types/Interface/api/informationRequest/Update.js.map +1 -1
- package/dist/mjs/types/Interface/api/oldExportInfo/OldExpertInfos.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/oldExportInfo/OldExpertInfos.js +2 -0
- package/dist/mjs/types/Interface/api/oldExportInfo/OldExpertInfos.js.map +1 -1
- package/dist/mjs/types/Interface/api/prestation/Query.d.ts +1 -0
- package/dist/mjs/types/Interface/api/prestation/Query.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/prestation/Query.js +8 -0
- package/dist/mjs/types/Interface/api/prestation/Query.js.map +1 -1
- package/dist/mjs/types/Interface/api/user/RegisterProspect.d.ts +1 -0
- package/dist/mjs/types/Interface/api/user/RegisterProspect.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/user/RegisterProspect.js +7 -0
- package/dist/mjs/types/Interface/api/user/RegisterProspect.js.map +1 -1
- package/dist/mjs/types/Interface/api/webex/GetWebinarsParams.d.ts +7 -0
- package/dist/mjs/types/Interface/api/webex/GetWebinarsParams.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/{card/Query.js → webex/GetWebinarsParams.js} +20 -16
- package/dist/mjs/types/Interface/api/webex/GetWebinarsParams.js.map +1 -0
- package/dist/mjs/types/Interface/api/webex/PaginatedWebinars.d.ts +7 -0
- package/dist/mjs/types/Interface/api/webex/PaginatedWebinars.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/webex/PaginatedWebinars.js +2 -0
- package/dist/mjs/types/Interface/api/webex/PaginatedWebinars.js.map +1 -0
- package/dist/mjs/types/Interface/api/webex/WebexMeeting.d.ts +22 -0
- package/dist/mjs/types/Interface/api/webex/WebexMeeting.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/webex/WebexMeeting.js +2 -0
- package/dist/mjs/types/Interface/api/webex/WebexMeeting.js.map +1 -0
- package/dist/mjs/types/Interface/api/webex/WebexRegistrant.d.ts +18 -0
- package/dist/mjs/types/Interface/api/webex/WebexRegistrant.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/webex/WebexRegistrant.js +40 -0
- package/dist/mjs/types/Interface/api/webex/WebexRegistrant.js.map +1 -0
- package/dist/mjs/types/Interface/api/woocommerce/InvoicesWoocommerce.d.ts +6 -5
- package/dist/mjs/types/Interface/api/woocommerce/InvoicesWoocommerce.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/woocommerce/InvoicesWoocommerce.js +15 -0
- package/dist/mjs/types/Interface/api/woocommerce/InvoicesWoocommerce.js.map +1 -1
- package/dist/mjs/types/Interface/models/IBalanceSheet.d.ts +0 -3
- package/dist/mjs/types/Interface/models/IBalanceSheet.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/IBalanceSheet.js.map +1 -1
- package/dist/mjs/types/Interface/models/ICard.d.ts +0 -19
- package/dist/mjs/types/Interface/models/ICard.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/ICard.js.map +1 -1
- package/dist/mjs/types/Interface/models/ICardHistory.d.ts +0 -4
- package/dist/mjs/types/Interface/models/ICardHistory.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/ICardHistory.js.map +1 -1
- package/dist/mjs/types/Interface/models/ICustomerVat.d.ts +0 -1
- package/dist/mjs/types/Interface/models/ICustomerVat.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/ICustomerVat.js.map +1 -1
- package/dist/mjs/types/Interface/models/ILoginApproval.d.ts +31 -0
- package/dist/mjs/types/Interface/models/ILoginApproval.d.ts.map +1 -0
- package/dist/mjs/types/Interface/models/ILoginApproval.js +2 -0
- package/dist/mjs/types/Interface/models/ILoginApproval.js.map +1 -0
- package/dist/mjs/types/Interface/models/ISocietyApproval.d.ts +2 -0
- package/dist/mjs/types/Interface/models/ISocietyApproval.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/ISocietyApproval.js.map +1 -1
- package/dist/mjs/types/Interface/models/IUser.d.ts +2 -0
- package/dist/mjs/types/Interface/models/IUser.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/IUser.js.map +1 -1
- package/dist/mjs/types/index.d.ts +14 -7
- package/dist/mjs/types/index.d.ts.map +1 -1
- package/dist/mjs/types/index.js +14 -7
- package/dist/mjs/types/index.js.map +1 -1
- package/dist/mjs/utils/commercialManagement/internationalization/choices.d.ts.map +1 -1
- package/dist/mjs/utils/commercialManagement/internationalization/choices.js +21 -19
- package/dist/mjs/utils/commercialManagement/internationalization/choices.js.map +1 -1
- package/dist/mjs/utils/index.d.ts +1 -0
- package/dist/mjs/utils/index.d.ts.map +1 -1
- package/dist/mjs/utils/index.js +1 -0
- package/dist/mjs/utils/index.js.map +1 -1
- package/dist/mjs/utils/societyApproval.d.ts +38 -0
- package/dist/mjs/utils/societyApproval.d.ts.map +1 -0
- package/dist/mjs/utils/societyApproval.js +109 -0
- package/dist/mjs/utils/societyApproval.js.map +1 -0
- package/package.json +1 -1
- package/ts/api/resources/Card.ts +0 -61
- package/ts/api/resources/LoginApproval.ts +20 -0
- package/ts/api/resources/Mfa.ts +6 -0
- package/ts/api/resources/Payment.ts +4 -0
- package/ts/api/resources/Society.ts +5 -0
- package/ts/api/resources/SocietyApproval.ts +75 -0
- package/ts/api/resources/Webex.ts +16 -0
- package/ts/api/resources.ts +4 -2
- package/ts/types/Enum/Card.ts +2 -52
- package/ts/types/Enum/EbookIntention.ts +14 -0
- package/ts/types/Enum/Ged.ts +380 -248
- package/ts/types/Enum/InformationRequestState.ts +1 -0
- package/ts/types/Enum/JobTitle.ts +6 -0
- package/ts/types/Enum/LoginApprovalStatus.ts +13 -0
- package/ts/types/Enum/MailAuto.ts +2 -0
- package/ts/types/Enum/MfaMode.ts +11 -0
- package/ts/types/Enum/PriceGridClementine.ts +487 -474
- package/ts/types/Enum/Proceding.ts +4 -0
- package/ts/types/Enum/SocietyApproval.ts +301 -0
- package/ts/types/Enum/StatutsSection.ts +15 -7
- package/ts/types/Interface/api/SocietyApproval.ts +121 -0
- package/ts/types/Interface/api/authentification/AuthenticationResponse.ts +10 -0
- package/ts/types/Interface/api/authentification/FinalizeMobileApprovalDto.ts +6 -0
- package/ts/types/Interface/api/authentification/ReadAuthenticateCollaborater.ts +18 -0
- package/ts/types/Interface/api/authentification/SetMobileApprovalDto.ts +11 -0
- package/ts/types/Interface/api/authentification/loginApproval.ts +75 -0
- package/ts/types/Interface/api/balanceSheet/UpdateBalanceSheet.ts +0 -5
- package/ts/types/Interface/api/bankAccount/Benchmark.ts +7 -0
- package/ts/types/Interface/api/brevo/BrevoElement.ts +6 -0
- package/ts/types/Interface/api/card/Cron.ts +8 -1
- package/ts/types/Interface/api/card/QueryUserCards.ts +6 -36
- package/ts/types/Interface/api/card/UpdateCard.ts +2 -50
- package/ts/types/Interface/api/informationRequest/Update.ts +7 -0
- package/ts/types/Interface/api/oldExportInfo/OldExpertInfos.ts +2 -0
- package/ts/types/Interface/api/prestation/Query.ts +6 -0
- package/ts/types/Interface/api/user/RegisterProspect.ts +5 -0
- package/ts/types/Interface/api/webex/GetWebinarsParams.ts +20 -0
- package/ts/types/Interface/api/webex/PaginatedWebinars.ts +7 -0
- package/ts/types/Interface/api/webex/WebexMeeting.ts +21 -0
- package/ts/types/Interface/api/webex/WebexRegistrant.ts +34 -0
- package/ts/types/Interface/api/woocommerce/InvoicesWoocommerce.ts +17 -5
- package/ts/types/Interface/models/IBalanceSheet.ts +0 -3
- package/ts/types/Interface/models/ICard.ts +0 -20
- package/ts/types/Interface/models/ICardHistory.ts +0 -4
- package/ts/types/Interface/models/ICustomerVat.ts +0 -1
- package/ts/types/Interface/models/ILoginApproval.ts +31 -0
- package/ts/types/Interface/models/ISocietyApproval.ts +2 -0
- package/ts/types/Interface/models/IUser.ts +2 -0
- package/ts/types/index.ts +14 -7
- package/ts/utils/commercialManagement/internationalization/choices.ts +21 -19
- package/ts/utils/index.ts +1 -0
- package/ts/utils/societyApproval.ts +129 -0
- package/dist/cjs/api/resources/UsersHistory.d.ts +0 -11
- package/dist/cjs/api/resources/UsersHistory.d.ts.map +0 -1
- package/dist/cjs/api/resources/UsersHistory.js +0 -26
- package/dist/cjs/api/resources/UsersHistory.js.map +0 -1
- package/dist/cjs/types/Enum/UsersHistory.d.ts +0 -18
- package/dist/cjs/types/Enum/UsersHistory.d.ts.map +0 -1
- package/dist/cjs/types/Enum/UsersHistory.js +0 -42
- package/dist/cjs/types/Enum/UsersHistory.js.map +0 -1
- package/dist/cjs/types/Interface/api/card/ModifyAcceptation.d.ts +0 -9
- package/dist/cjs/types/Interface/api/card/ModifyAcceptation.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/card/ModifyAcceptation.js +0 -43
- package/dist/cjs/types/Interface/api/card/ModifyAcceptation.js.map +0 -1
- package/dist/cjs/types/Interface/api/card/ModifyBalanceSheet.d.ts +0 -25
- package/dist/cjs/types/Interface/api/card/ModifyBalanceSheet.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/card/ModifyBalanceSheet.js +0 -106
- package/dist/cjs/types/Interface/api/card/ModifyBalanceSheet.js.map +0 -1
- package/dist/cjs/types/Interface/api/card/ModifyCustomerVat.d.ts +0 -5
- package/dist/cjs/types/Interface/api/card/ModifyCustomerVat.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/card/ModifyCustomerVat.js.map +0 -1
- package/dist/cjs/types/Interface/api/card/ModifyPlanning.d.ts +0 -18
- package/dist/cjs/types/Interface/api/card/ModifyPlanning.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/card/ModifyPlanning.js +0 -79
- package/dist/cjs/types/Interface/api/card/ModifyPlanning.js.map +0 -1
- package/dist/cjs/types/Interface/api/card/Query.d.ts +0 -8
- package/dist/cjs/types/Interface/api/card/Query.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/card/Query.js.map +0 -1
- package/dist/cjs/types/Interface/models/IUsersHistory.d.ts +0 -10
- package/dist/cjs/types/Interface/models/IUsersHistory.d.ts.map +0 -1
- package/dist/cjs/types/Interface/models/IUsersHistory.js.map +0 -1
- package/dist/mjs/api/resources/UsersHistory.d.ts +0 -11
- package/dist/mjs/api/resources/UsersHistory.d.ts.map +0 -1
- package/dist/mjs/api/resources/UsersHistory.js +0 -22
- package/dist/mjs/api/resources/UsersHistory.js.map +0 -1
- package/dist/mjs/types/Enum/UsersHistory.d.ts +0 -18
- package/dist/mjs/types/Enum/UsersHistory.d.ts.map +0 -1
- package/dist/mjs/types/Enum/UsersHistory.js +0 -39
- package/dist/mjs/types/Enum/UsersHistory.js.map +0 -1
- package/dist/mjs/types/Interface/api/card/ModifyAcceptation.d.ts +0 -9
- package/dist/mjs/types/Interface/api/card/ModifyAcceptation.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/card/ModifyAcceptation.js +0 -42
- package/dist/mjs/types/Interface/api/card/ModifyAcceptation.js.map +0 -1
- package/dist/mjs/types/Interface/api/card/ModifyBalanceSheet.d.ts +0 -25
- package/dist/mjs/types/Interface/api/card/ModifyBalanceSheet.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/card/ModifyBalanceSheet.js +0 -115
- package/dist/mjs/types/Interface/api/card/ModifyBalanceSheet.js.map +0 -1
- package/dist/mjs/types/Interface/api/card/ModifyCustomerVat.d.ts +0 -5
- package/dist/mjs/types/Interface/api/card/ModifyCustomerVat.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/card/ModifyCustomerVat.js.map +0 -1
- package/dist/mjs/types/Interface/api/card/ModifyPlanning.d.ts +0 -18
- package/dist/mjs/types/Interface/api/card/ModifyPlanning.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/card/ModifyPlanning.js +0 -84
- package/dist/mjs/types/Interface/api/card/ModifyPlanning.js.map +0 -1
- package/dist/mjs/types/Interface/api/card/Query.d.ts +0 -8
- package/dist/mjs/types/Interface/api/card/Query.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/card/Query.js.map +0 -1
- package/dist/mjs/types/Interface/models/IUsersHistory.d.ts +0 -10
- package/dist/mjs/types/Interface/models/IUsersHistory.d.ts.map +0 -1
- package/dist/mjs/types/Interface/models/IUsersHistory.js +0 -2
- package/dist/mjs/types/Interface/models/IUsersHistory.js.map +0 -1
- package/ts/api/resources/UsersHistory.ts +0 -29
- package/ts/types/Enum/UsersHistory.ts +0 -42
- package/ts/types/Interface/api/card/ModifyAcceptation.ts +0 -24
- package/ts/types/Interface/api/card/ModifyBalanceSheet.ts +0 -81
- package/ts/types/Interface/api/card/ModifyCustomerVat.ts +0 -13
- package/ts/types/Interface/api/card/ModifyPlanning.ts +0 -52
- package/ts/types/Interface/api/card/Query.ts +0 -19
- package/ts/types/Interface/models/IUsersHistory.ts +0 -9
|
@@ -0,0 +1,301 @@
|
|
|
1
|
+
import { getLegalFormName } from '../../utils/societyApproval';
|
|
2
|
+
import { LegalFormTypeEnum } from './LegalForm';
|
|
3
|
+
import { DocumentSectionType } from './StatutsSection';
|
|
4
|
+
|
|
5
|
+
export enum SocietyApprovalDocumentType {
|
|
6
|
+
PV_AG = 1,
|
|
7
|
+
POWER_MANDATE = 2,
|
|
8
|
+
DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_MICRO = 3,
|
|
9
|
+
DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_PME = 4,
|
|
10
|
+
INCOME_APPROPRIATION = 5,
|
|
11
|
+
LIST_OF_CONVENTIONS = 6,
|
|
12
|
+
LIST_OF_DIVIDENDS = 7,
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export enum RegulatedConventionType {
|
|
16
|
+
SOCIAL_CONTRIBUTIONS_COVERAGE = 1,
|
|
17
|
+
CURRENT_ACCOUNT_CREDITOR = 2,
|
|
18
|
+
CURRENT_ACCOUNT_DEBTOR = 3,
|
|
19
|
+
CURRENT_ACCOUNT_WAIVER = 4,
|
|
20
|
+
EMPLOYMENT_CONTRACT = 5,
|
|
21
|
+
SERVICE_PROVISION = 6,
|
|
22
|
+
COMMERCIAL_LEASE = 7,
|
|
23
|
+
RENT_SHARING = 8,
|
|
24
|
+
MILEAGE_REIMBURSEMENT = 9,
|
|
25
|
+
PRESIDENT_REMUNERATION = 10,
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export type RegulatedConvention = {
|
|
29
|
+
id: RegulatedConventionType;
|
|
30
|
+
label: string;
|
|
31
|
+
templateName: string;
|
|
32
|
+
applicableTo: LegalFormTypeEnum[];
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
export const RegulatedConventions: RegulatedConvention[] = [
|
|
36
|
+
{
|
|
37
|
+
id: RegulatedConventionType.SOCIAL_CONTRIBUTIONS_COVERAGE,
|
|
38
|
+
label: 'Prise en charge des cotisations sociales',
|
|
39
|
+
templateName: 'CONVENTION_SOCIAL_CONTRIBUTIONS_COVERAGE',
|
|
40
|
+
applicableTo: [LegalFormTypeEnum.EURL],
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
id: RegulatedConventionType.CURRENT_ACCOUNT_CREDITOR,
|
|
44
|
+
label: 'Existence d\'un compte courant créditeur',
|
|
45
|
+
templateName: 'CONVENTION_CURRENT_ACCOUNT_CREDITOR',
|
|
46
|
+
applicableTo: [LegalFormTypeEnum.EURL, LegalFormTypeEnum.SASU],
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
id: RegulatedConventionType.CURRENT_ACCOUNT_DEBTOR,
|
|
50
|
+
label: 'Existence d\'un compte courant débiteur',
|
|
51
|
+
templateName: 'CONVENTION_CURRENT_ACCOUNT_DEBTOR',
|
|
52
|
+
applicableTo: [LegalFormTypeEnum.EURL, LegalFormTypeEnum.SASU],
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
id: RegulatedConventionType.CURRENT_ACCOUNT_WAIVER,
|
|
56
|
+
label: 'Convention d\'abandon de compte courant sous réserve de retour à meilleure fortune',
|
|
57
|
+
templateName: 'CONVENTION_CURRENT_ACCOUNT_WAIVER',
|
|
58
|
+
applicableTo: [LegalFormTypeEnum.EURL, LegalFormTypeEnum.SASU],
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
id: RegulatedConventionType.EMPLOYMENT_CONTRACT,
|
|
62
|
+
label: 'Existence d\'un contrat de travail',
|
|
63
|
+
templateName: 'CONVENTION_EMPLOYMENT_CONTRACT',
|
|
64
|
+
applicableTo: [LegalFormTypeEnum.EURL, LegalFormTypeEnum.SASU],
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
id: RegulatedConventionType.SERVICE_PROVISION,
|
|
68
|
+
label: 'Existence et facturation de prestations de services',
|
|
69
|
+
templateName: 'CONVENTION_SERVICE_PROVISION',
|
|
70
|
+
applicableTo: [LegalFormTypeEnum.EURL, LegalFormTypeEnum.SASU],
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
id: RegulatedConventionType.COMMERCIAL_LEASE,
|
|
74
|
+
label: 'Existence d\'un bail commercial',
|
|
75
|
+
templateName: 'CONVENTION_COMMERCIAL_LEASE',
|
|
76
|
+
applicableTo: [LegalFormTypeEnum.EURL, LegalFormTypeEnum.SASU],
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
id: RegulatedConventionType.RENT_SHARING,
|
|
80
|
+
label: 'Prise en charge d\'une quote part du loyer',
|
|
81
|
+
templateName: 'CONVENTION_RENT_SHARING',
|
|
82
|
+
applicableTo: [LegalFormTypeEnum.EURL, LegalFormTypeEnum.SASU],
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
id: RegulatedConventionType.MILEAGE_REIMBURSEMENT,
|
|
86
|
+
label: 'Remboursement des indemnités kilométriques',
|
|
87
|
+
templateName: 'CONVENTION_MILEAGE_REIMBURSEMENT',
|
|
88
|
+
applicableTo: [LegalFormTypeEnum.EURL, LegalFormTypeEnum.SASU],
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
id: RegulatedConventionType.PRESIDENT_REMUNERATION,
|
|
92
|
+
label: 'Rémunération du/de la Président(e)',
|
|
93
|
+
templateName: 'CONVENTION_PRESIDENT_REMUNERATION',
|
|
94
|
+
applicableTo: [LegalFormTypeEnum.SASU],
|
|
95
|
+
},
|
|
96
|
+
];
|
|
97
|
+
|
|
98
|
+
export type SocietyApprovalDocumentTemplate = {
|
|
99
|
+
idDocumentType: SocietyApprovalDocumentType;
|
|
100
|
+
docName: string;
|
|
101
|
+
templateName: string;
|
|
102
|
+
documentSectionType: DocumentSectionType;
|
|
103
|
+
token?: string;
|
|
104
|
+
htmlContent?: string;
|
|
105
|
+
idDocumentSection?: number;
|
|
106
|
+
};
|
|
107
|
+
|
|
108
|
+
export type SocietyApprovalDocumentConfig = {
|
|
109
|
+
idLegalForm: LegalFormTypeEnum;
|
|
110
|
+
legalFormName: string;
|
|
111
|
+
documents: SocietyApprovalDocumentTemplate[];
|
|
112
|
+
};
|
|
113
|
+
|
|
114
|
+
export const SocietyApprovalDocumentsByLegalForm: SocietyApprovalDocumentConfig[] = [
|
|
115
|
+
{
|
|
116
|
+
idLegalForm: LegalFormTypeEnum.EURL,
|
|
117
|
+
legalFormName: getLegalFormName(LegalFormTypeEnum.EURL),
|
|
118
|
+
documents: [
|
|
119
|
+
{
|
|
120
|
+
idDocumentType: SocietyApprovalDocumentType.PV_AG,
|
|
121
|
+
docName: "Procès-verbal d'approbation des comptes",
|
|
122
|
+
templateName: 'APPROVAL_EURL',
|
|
123
|
+
documentSectionType: DocumentSectionType.APPROVAL_PV,
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
idDocumentType: SocietyApprovalDocumentType.POWER_MANDATE,
|
|
127
|
+
docName: 'Mandat de pouvoir',
|
|
128
|
+
templateName: 'POWER_MANDATE_EURL',
|
|
129
|
+
documentSectionType: DocumentSectionType.POWER_MANDATE,
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
idDocumentType: SocietyApprovalDocumentType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_MICRO,
|
|
133
|
+
docName: 'Déclaration de confidentialité pour les comptes annuels (Micro)',
|
|
134
|
+
templateName: 'DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_MICRO_EURL',
|
|
135
|
+
documentSectionType: DocumentSectionType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS,
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
idDocumentType: SocietyApprovalDocumentType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_PME,
|
|
139
|
+
docName: 'Déclaration de confidentialité pour les comptes annuels (PME)',
|
|
140
|
+
templateName: 'DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_PME_EURL',
|
|
141
|
+
documentSectionType: DocumentSectionType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS,
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
idDocumentType: SocietyApprovalDocumentType.INCOME_APPROPRIATION,
|
|
145
|
+
docName: 'Affectation du résultat',
|
|
146
|
+
templateName: 'INCOME_APPROPRIATION_EURL',
|
|
147
|
+
documentSectionType: DocumentSectionType.INCOME_APPROPRIATION,
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
idDocumentType: SocietyApprovalDocumentType.LIST_OF_CONVENTIONS,
|
|
151
|
+
docName: 'Liste de conventions',
|
|
152
|
+
templateName: 'LIST_OF_CONVENTIONS_EURL',
|
|
153
|
+
documentSectionType: DocumentSectionType.LIST_OF_CONVENTIONS,
|
|
154
|
+
},
|
|
155
|
+
],
|
|
156
|
+
},
|
|
157
|
+
// {
|
|
158
|
+
// idLegalForm: LegalFormTypeEnum.SARL,
|
|
159
|
+
// legalFormName: getLegalFormName(LegalFormTypeEnum.SARL),
|
|
160
|
+
// documents: [
|
|
161
|
+
// {
|
|
162
|
+
// idDocumentType: SocietyApprovalDocumentType.PV_AG,
|
|
163
|
+
// docName: "Procès-verbal d'approbation des comptes",
|
|
164
|
+
// templateName: 'APPROVAL_SARL',
|
|
165
|
+
// documentSectionType: DocumentSectionType.APPROVAL_PV,
|
|
166
|
+
// },
|
|
167
|
+
// {
|
|
168
|
+
// idDocumentType: SocietyApprovalDocumentType.POWER_MANDATE,
|
|
169
|
+
// docName: 'Mandat de pouvoir',
|
|
170
|
+
// templateName: 'POWER_MANDATE_SARL',
|
|
171
|
+
// documentSectionType: DocumentSectionType.POWER_MANDATE,
|
|
172
|
+
// },
|
|
173
|
+
// {
|
|
174
|
+
// idDocumentType: SocietyApprovalDocumentType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_PME,
|
|
175
|
+
// docName: 'Déclaration de confidentialité pour les comptes annuels',
|
|
176
|
+
// templateName: 'DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_SARL',
|
|
177
|
+
// documentSectionType: DocumentSectionType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS,
|
|
178
|
+
// },
|
|
179
|
+
// {
|
|
180
|
+
// idDocumentType: SocietyApprovalDocumentType.INCOME_APPROPRIATION,
|
|
181
|
+
// docName: 'Affectation du résultat',
|
|
182
|
+
// templateName: 'INCOME_APPROPRIATION_SARL',
|
|
183
|
+
// documentSectionType: DocumentSectionType.INCOME_APPROPRIATION,
|
|
184
|
+
// },
|
|
185
|
+
// ],
|
|
186
|
+
// },
|
|
187
|
+
{
|
|
188
|
+
idLegalForm: LegalFormTypeEnum.SASU,
|
|
189
|
+
legalFormName: getLegalFormName(LegalFormTypeEnum.SASU),
|
|
190
|
+
documents: [
|
|
191
|
+
{
|
|
192
|
+
idDocumentType: SocietyApprovalDocumentType.PV_AG,
|
|
193
|
+
docName: "Procès-verbal d'approbation des comptes",
|
|
194
|
+
templateName: 'APPROVAL_SASU',
|
|
195
|
+
documentSectionType: DocumentSectionType.APPROVAL_PV,
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
idDocumentType: SocietyApprovalDocumentType.POWER_MANDATE,
|
|
199
|
+
docName: 'Mandat de pouvoir',
|
|
200
|
+
templateName: 'POWER_MANDATE_SASU',
|
|
201
|
+
documentSectionType: DocumentSectionType.POWER_MANDATE,
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
idDocumentType: SocietyApprovalDocumentType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_MICRO,
|
|
205
|
+
docName: 'Déclaration de confidentialité pour les comptes annuels (Micro)',
|
|
206
|
+
templateName: 'DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_MICRO_SASU',
|
|
207
|
+
documentSectionType: DocumentSectionType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS,
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
idDocumentType: SocietyApprovalDocumentType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_PME,
|
|
211
|
+
docName: 'Déclaration de confidentialité pour les comptes annuels (PME)',
|
|
212
|
+
templateName: 'DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_PME_SASU',
|
|
213
|
+
documentSectionType: DocumentSectionType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS,
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
idDocumentType: SocietyApprovalDocumentType.INCOME_APPROPRIATION,
|
|
217
|
+
docName: 'Affectation du résultat',
|
|
218
|
+
templateName: 'INCOME_APPROPRIATION_SASU',
|
|
219
|
+
documentSectionType: DocumentSectionType.INCOME_APPROPRIATION,
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
idDocumentType: SocietyApprovalDocumentType.LIST_OF_DIVIDENDS,
|
|
223
|
+
docName: 'Liste de dividendes',
|
|
224
|
+
templateName: 'LIST_OF_DIVIDENDS_SASU',
|
|
225
|
+
documentSectionType: DocumentSectionType.LIST_OF_DIVIDENDS,
|
|
226
|
+
},
|
|
227
|
+
],
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
idLegalForm: LegalFormTypeEnum.SAS,
|
|
231
|
+
legalFormName: getLegalFormName(LegalFormTypeEnum.SAS),
|
|
232
|
+
documents: [
|
|
233
|
+
{
|
|
234
|
+
idDocumentType: SocietyApprovalDocumentType.PV_AG,
|
|
235
|
+
docName: "Procès-verbal d'approbation des comptes",
|
|
236
|
+
templateName: 'APPROVAL_SAS',
|
|
237
|
+
documentSectionType: DocumentSectionType.APPROVAL_PV,
|
|
238
|
+
},
|
|
239
|
+
{
|
|
240
|
+
idDocumentType: SocietyApprovalDocumentType.POWER_MANDATE,
|
|
241
|
+
docName: 'Mandat de pouvoir',
|
|
242
|
+
templateName: 'POWER_MANDATE_SAS',
|
|
243
|
+
documentSectionType: DocumentSectionType.POWER_MANDATE,
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
idDocumentType: SocietyApprovalDocumentType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_MICRO,
|
|
247
|
+
docName: 'Déclaration de confidentialité pour les comptes annuels (Micro)',
|
|
248
|
+
templateName: 'DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_MICRO_SAS',
|
|
249
|
+
documentSectionType: DocumentSectionType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS,
|
|
250
|
+
},
|
|
251
|
+
{
|
|
252
|
+
idDocumentType: SocietyApprovalDocumentType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_PME,
|
|
253
|
+
docName: 'Déclaration de confidentialité pour les comptes annuels (PME)',
|
|
254
|
+
templateName: 'DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_PME_SAS',
|
|
255
|
+
documentSectionType: DocumentSectionType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS,
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
idDocumentType: SocietyApprovalDocumentType.INCOME_APPROPRIATION,
|
|
259
|
+
docName: 'Affectation du résultat',
|
|
260
|
+
templateName: 'INCOME_APPROPRIATION_SAS',
|
|
261
|
+
documentSectionType: DocumentSectionType.INCOME_APPROPRIATION,
|
|
262
|
+
},
|
|
263
|
+
],
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
idLegalForm: LegalFormTypeEnum.SCI,
|
|
267
|
+
legalFormName: getLegalFormName(LegalFormTypeEnum.SCI),
|
|
268
|
+
documents: [
|
|
269
|
+
{
|
|
270
|
+
idDocumentType: SocietyApprovalDocumentType.PV_AG,
|
|
271
|
+
docName: "Procès-verbal d'approbation des comptes",
|
|
272
|
+
templateName: 'APPROVAL_SCI',
|
|
273
|
+
documentSectionType: DocumentSectionType.APPROVAL_PV,
|
|
274
|
+
},
|
|
275
|
+
{
|
|
276
|
+
idDocumentType: SocietyApprovalDocumentType.POWER_MANDATE,
|
|
277
|
+
docName: 'Mandat de pouvoir',
|
|
278
|
+
templateName: 'POWER_MANDATE_SCI',
|
|
279
|
+
documentSectionType: DocumentSectionType.POWER_MANDATE,
|
|
280
|
+
},
|
|
281
|
+
{
|
|
282
|
+
idDocumentType: SocietyApprovalDocumentType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_MICRO,
|
|
283
|
+
docName: 'Déclaration de confidentialité pour les comptes annuels (Micro)',
|
|
284
|
+
templateName: 'DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_MICRO_SCI',
|
|
285
|
+
documentSectionType: DocumentSectionType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS,
|
|
286
|
+
},
|
|
287
|
+
{
|
|
288
|
+
idDocumentType: SocietyApprovalDocumentType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_PME,
|
|
289
|
+
docName: 'Déclaration de confidentialité pour les comptes annuels',
|
|
290
|
+
templateName: 'DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS_PME_SCI',
|
|
291
|
+
documentSectionType: DocumentSectionType.DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS,
|
|
292
|
+
},
|
|
293
|
+
{
|
|
294
|
+
idDocumentType: SocietyApprovalDocumentType.INCOME_APPROPRIATION,
|
|
295
|
+
docName: 'Affectation du résultat',
|
|
296
|
+
templateName: 'INCOME_APPROPRIATION_SCI',
|
|
297
|
+
documentSectionType: DocumentSectionType.INCOME_APPROPRIATION,
|
|
298
|
+
},
|
|
299
|
+
],
|
|
300
|
+
},
|
|
301
|
+
];
|
|
@@ -1,10 +1,18 @@
|
|
|
1
1
|
import { LegalForm } from './LegalForm';
|
|
2
2
|
|
|
3
3
|
export enum DocumentSectionType {
|
|
4
|
+
// Utilisés pour la génération de statuts depuis l'ERP
|
|
4
5
|
ARTICLES = 1,
|
|
5
6
|
ANNEXES = 2,
|
|
6
7
|
LIST_SUBSCRIBERS = 3,
|
|
7
8
|
DECLARATION_ON_HONOR_OF_NON_CONVICTION = 4,
|
|
9
|
+
// Utilisés pour la génération de documents juridiques (approbation) depuis clientApp
|
|
10
|
+
APPROVAL_PV = 5,
|
|
11
|
+
POWER_MANDATE = 6,
|
|
12
|
+
DECLARATION_OF_CONFIDENTIALITY_FOR_ANNUAL_ACCOUNTS = 7,
|
|
13
|
+
INCOME_APPROPRIATION = 8,
|
|
14
|
+
LIST_OF_CONVENTIONS = 9,
|
|
15
|
+
LIST_OF_DIVIDENDS = 10,
|
|
8
16
|
}
|
|
9
17
|
|
|
10
18
|
export const DocumentSectionTypeDetail = [
|
|
@@ -25,7 +33,7 @@ export const DocumentSectionTypeDetail = [
|
|
|
25
33
|
},
|
|
26
34
|
{
|
|
27
35
|
id: DocumentSectionType.DECLARATION_ON_HONOR_OF_NON_CONVICTION,
|
|
28
|
-
name:
|
|
36
|
+
name: "Déclaration sur l'honneur de non-condamnation",
|
|
29
37
|
filePrefix: 'declaration_non_condamnation',
|
|
30
38
|
},
|
|
31
39
|
];
|
|
@@ -197,7 +205,7 @@ export const StatutsSection: StatutsSectionTypeV1[] = [
|
|
|
197
205
|
{
|
|
198
206
|
name: StatutsSectionName.S10_AE,
|
|
199
207
|
onlyForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
|
|
200
|
-
title:
|
|
208
|
+
title: "Article 10 - COMPTES COURANTS D'ASSOCIÉS",
|
|
201
209
|
idDocumentSectionType: DocumentSectionType.ARTICLES,
|
|
202
210
|
},
|
|
203
211
|
{
|
|
@@ -265,7 +273,7 @@ export const StatutsSection: StatutsSectionTypeV1[] = [
|
|
|
265
273
|
{
|
|
266
274
|
name: StatutsSectionName.S19_AE,
|
|
267
275
|
onlyForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
|
|
268
|
-
title:
|
|
276
|
+
title: "Article 19 – DECISIONS PRISES PAR L'ASSOCIE UNIQUE",
|
|
269
277
|
idDocumentSectionType: DocumentSectionType.ARTICLES,
|
|
270
278
|
},
|
|
271
279
|
{
|
|
@@ -377,7 +385,7 @@ export const StatutsSection: StatutsSectionTypeV1[] = [
|
|
|
377
385
|
{
|
|
378
386
|
name: StatutsSectionName.S12_SA,
|
|
379
387
|
exceptForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
|
|
380
|
-
title:
|
|
388
|
+
title: "Article 12 – FORME DES CESSIONS OU TRANSMISSIONS D'ACTIONS",
|
|
381
389
|
idDocumentSectionType: DocumentSectionType.ARTICLES,
|
|
382
390
|
},
|
|
383
391
|
{
|
|
@@ -395,7 +403,7 @@ export const StatutsSection: StatutsSectionTypeV1[] = [
|
|
|
395
403
|
{
|
|
396
404
|
name: StatutsSectionName.S15_SA,
|
|
397
405
|
exceptForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
|
|
398
|
-
title:
|
|
406
|
+
title: "Article 15 - NULLITE DES CESSIONS D'ACTIONS",
|
|
399
407
|
idDocumentSectionType: DocumentSectionType.ARTICLES,
|
|
400
408
|
},
|
|
401
409
|
{
|
|
@@ -469,7 +477,7 @@ export const StatutsSection: StatutsSectionTypeV1[] = [
|
|
|
469
477
|
{
|
|
470
478
|
name: StatutsSectionName.S25_SA,
|
|
471
479
|
exceptForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
|
|
472
|
-
title:
|
|
480
|
+
title: "Article 25 – COMITE D'ENTREPRISE",
|
|
473
481
|
idDocumentSectionType: DocumentSectionType.ARTICLES,
|
|
474
482
|
},
|
|
475
483
|
{
|
|
@@ -555,7 +563,7 @@ export const StatutsSection: StatutsSectionTypeV1[] = [
|
|
|
555
563
|
},
|
|
556
564
|
{
|
|
557
565
|
name: StatutsSectionName.DECLARATION_OF_HONOR,
|
|
558
|
-
title:
|
|
566
|
+
title: "DECLARATION SUR L'HONNEUR DE NON-CONDAMNATION",
|
|
559
567
|
idDocumentSectionType: DocumentSectionType.DECLARATION_ON_HONOR_OF_NON_CONVICTION,
|
|
560
568
|
},
|
|
561
569
|
];
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
import { IsDate, IsEnum, IsInt, IsOptional, IsString } from 'class-validator';
|
|
2
|
+
import { ApiProperty, ApiPropertyOptional } from '../../../utils';
|
|
3
|
+
import { SocietyApprovalDocumentType } from '../../Enum/SocietyApproval';
|
|
4
|
+
import { ISocietyApproval } from '../models/ISocietyApproval';
|
|
5
|
+
import { ToBoolean } from '../../../utils/transforms/boolean.transform';
|
|
6
|
+
|
|
7
|
+
export class SocietyApprovalJsonDatas {
|
|
8
|
+
@ApiPropertyOptional()
|
|
9
|
+
@IsOptional()
|
|
10
|
+
@IsDate()
|
|
11
|
+
approvalDate?: Date;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export class CreateDocument {
|
|
15
|
+
@ApiProperty()
|
|
16
|
+
@IsEnum(SocietyApprovalDocumentType, { each: true })
|
|
17
|
+
listIdDocumentType: SocietyApprovalDocumentType[];
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
export class ResetDocument {
|
|
21
|
+
@ApiProperty()
|
|
22
|
+
@IsEnum(SocietyApprovalDocumentType)
|
|
23
|
+
idDocumentType: SocietyApprovalDocumentType;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export interface IApprovalGeneratingData {
|
|
27
|
+
approval: ISocietyApproval;
|
|
28
|
+
templateData: Record<string, any>;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export class UpdateOrCreateRequest implements Omit<ISocietyApproval, 'id'> {
|
|
32
|
+
@ApiPropertyOptional()
|
|
33
|
+
@IsOptional()
|
|
34
|
+
@IsInt()
|
|
35
|
+
idExercice: number | null;
|
|
36
|
+
|
|
37
|
+
@ApiPropertyOptional()
|
|
38
|
+
@IsOptional()
|
|
39
|
+
@IsInt()
|
|
40
|
+
idFile: number | null;
|
|
41
|
+
|
|
42
|
+
@ApiPropertyOptional()
|
|
43
|
+
@IsOptional()
|
|
44
|
+
@IsInt()
|
|
45
|
+
idAccountant: number | null;
|
|
46
|
+
|
|
47
|
+
@ApiPropertyOptional()
|
|
48
|
+
@IsOptional()
|
|
49
|
+
@IsInt()
|
|
50
|
+
idPaymentWaiting: number | null;
|
|
51
|
+
|
|
52
|
+
@ApiPropertyOptional()
|
|
53
|
+
@IsOptional()
|
|
54
|
+
@IsString()
|
|
55
|
+
amountDividend: string | null;
|
|
56
|
+
|
|
57
|
+
@ApiPropertyOptional()
|
|
58
|
+
@IsOptional()
|
|
59
|
+
@IsDate()
|
|
60
|
+
dueDate: Date | null;
|
|
61
|
+
|
|
62
|
+
@ApiPropertyOptional()
|
|
63
|
+
@IsOptional()
|
|
64
|
+
@ToBoolean()
|
|
65
|
+
done: boolean;
|
|
66
|
+
|
|
67
|
+
@ApiPropertyOptional()
|
|
68
|
+
@IsOptional()
|
|
69
|
+
@IsInt()
|
|
70
|
+
possibleDividend: number;
|
|
71
|
+
|
|
72
|
+
@ApiPropertyOptional()
|
|
73
|
+
@IsOptional()
|
|
74
|
+
@IsString()
|
|
75
|
+
amountChief: string | null;
|
|
76
|
+
|
|
77
|
+
@ApiPropertyOptional()
|
|
78
|
+
@IsOptional()
|
|
79
|
+
@IsString()
|
|
80
|
+
amountCotisations: string | null;
|
|
81
|
+
|
|
82
|
+
@ApiPropertyOptional()
|
|
83
|
+
@IsOptional()
|
|
84
|
+
@IsString()
|
|
85
|
+
amountAvantage: string | null;
|
|
86
|
+
|
|
87
|
+
@ApiPropertyOptional()
|
|
88
|
+
@IsOptional()
|
|
89
|
+
@IsString()
|
|
90
|
+
amountByPartner: string | null;
|
|
91
|
+
|
|
92
|
+
@ApiPropertyOptional()
|
|
93
|
+
@IsOptional()
|
|
94
|
+
@IsString()
|
|
95
|
+
amountInteret: string | null;
|
|
96
|
+
|
|
97
|
+
@ApiPropertyOptional()
|
|
98
|
+
@IsOptional()
|
|
99
|
+
@IsString()
|
|
100
|
+
amountBail: string | null;
|
|
101
|
+
|
|
102
|
+
@ApiPropertyOptional()
|
|
103
|
+
@IsOptional()
|
|
104
|
+
@IsString()
|
|
105
|
+
amountAbandon: string | null;
|
|
106
|
+
|
|
107
|
+
@ApiPropertyOptional()
|
|
108
|
+
@IsOptional()
|
|
109
|
+
@IsDate()
|
|
110
|
+
docsCompletedDate: Date | null;
|
|
111
|
+
|
|
112
|
+
@ApiPropertyOptional()
|
|
113
|
+
@IsOptional()
|
|
114
|
+
@IsDate()
|
|
115
|
+
registryDepositDate: Date | null;
|
|
116
|
+
|
|
117
|
+
@ApiPropertyOptional()
|
|
118
|
+
@IsOptional()
|
|
119
|
+
@IsDate()
|
|
120
|
+
endLegalServiceDate: Date | null;
|
|
121
|
+
}
|
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
export interface IAuthenticationResponse {
|
|
2
|
+
/** TOTP MFA requis (classique avec code à 6 chiffres) */
|
|
2
3
|
requiresMfa?: boolean;
|
|
4
|
+
/** Mobile approval MFA requis (validation sur l'app mobile) */
|
|
5
|
+
requiresMobileApproval?: boolean;
|
|
6
|
+
/** ID de la demande d'approbation (pour polling/tracking) */
|
|
7
|
+
requestId?: string;
|
|
8
|
+
/** Date d'expiration de la demande */
|
|
9
|
+
expiresAt?: Date;
|
|
10
|
+
/** ID de l'utilisateur */
|
|
3
11
|
userId?: number;
|
|
12
|
+
/** Message informatif */
|
|
4
13
|
message?: string;
|
|
14
|
+
/** Token JWT si authentification réussie */
|
|
5
15
|
token?: string;
|
|
6
16
|
}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { Feature } from '../../../Enum/Feature';
|
|
2
|
+
import { PrestationTypeDetail } from '../../../Enum/PrestationType';
|
|
1
3
|
import { IUser } from '../../models/IUser';
|
|
2
4
|
|
|
3
5
|
export class ReadAuthenticateCollaborater {
|
|
@@ -16,3 +18,19 @@ export class ReadByExternalId {
|
|
|
16
18
|
idTypeBrand: number;
|
|
17
19
|
token: string;
|
|
18
20
|
}
|
|
21
|
+
|
|
22
|
+
export type ExerciceFeatures = {
|
|
23
|
+
id: number;
|
|
24
|
+
startDate: Date | string;
|
|
25
|
+
endDate: Date | string;
|
|
26
|
+
isDefault: boolean;
|
|
27
|
+
subscriptionType: PrestationTypeDetail;
|
|
28
|
+
features: Feature[];
|
|
29
|
+
};
|
|
30
|
+
export class ReadFeatureAccess {
|
|
31
|
+
isOwner: boolean;
|
|
32
|
+
/** @returns default features */
|
|
33
|
+
features: Feature[];
|
|
34
|
+
exercices: ExerciceFeatures[];
|
|
35
|
+
isInTrialPeriod: boolean;
|
|
36
|
+
}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { LoginApprovalStatus } from '../../../Enum/LoginApprovalStatus';
|
|
2
|
+
import { IsString } from 'class-validator';
|
|
3
|
+
import { ApiProperty } from '../../../../';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Payload de l'événement socket envoyé au mobile lors d'une demande de connexion
|
|
7
|
+
*/
|
|
8
|
+
export interface ILoginApprovalRequestEvent {
|
|
9
|
+
/** ID unique de la demande */
|
|
10
|
+
requestId: string;
|
|
11
|
+
/** Date d'expiration */
|
|
12
|
+
expiresAt: Date;
|
|
13
|
+
/** ID de l'utilisateur */
|
|
14
|
+
userId: number;
|
|
15
|
+
/** Métadonnées (IP, navigateur, localisation) */
|
|
16
|
+
metadata?: {
|
|
17
|
+
ip?: string;
|
|
18
|
+
userAgent?: string;
|
|
19
|
+
location?: string;
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
export interface IApproveOrDenyResponse {
|
|
24
|
+
message: string;
|
|
25
|
+
status: LoginApprovalStatus;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* Payload de l'événement socket envoyé au Web lors d'un changement de statut
|
|
30
|
+
*/
|
|
31
|
+
export interface ILoginApprovalStatusEvent {
|
|
32
|
+
/** ID de la demande */
|
|
33
|
+
requestId: string;
|
|
34
|
+
/** Nouveau statut */
|
|
35
|
+
status: LoginApprovalStatus;
|
|
36
|
+
/** Date de la transition */
|
|
37
|
+
timestamp: Date;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* Réponse renvoyée au Web lorsque mobile MFA est requis
|
|
42
|
+
*/
|
|
43
|
+
export interface ILoginApprovalResponse {
|
|
44
|
+
/** Indique qu'une validation mobile est nécessaire */
|
|
45
|
+
requiresMobileApproval: true;
|
|
46
|
+
/** ID de la demande pour polling/tracking */
|
|
47
|
+
requestId: string;
|
|
48
|
+
/** Date d'expiration de la demande */
|
|
49
|
+
expiresAt: Date;
|
|
50
|
+
/** ID utilisateur */
|
|
51
|
+
userId: number;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Réponse du statut d'une demande d'approbation
|
|
56
|
+
*/
|
|
57
|
+
export interface ILoginApprovalStatusResponse {
|
|
58
|
+
/** ID de la demande */
|
|
59
|
+
requestId: string;
|
|
60
|
+
/** Statut actuel */
|
|
61
|
+
status: LoginApprovalStatus;
|
|
62
|
+
/** Date d'expiration */
|
|
63
|
+
expiresAt: Date;
|
|
64
|
+
/** Token JWT si status = approved */
|
|
65
|
+
token?: string;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* DTO pour approuver/refuser une demande depuis le mobile
|
|
70
|
+
*/
|
|
71
|
+
export class IApproveOrDenyRequest {
|
|
72
|
+
@ApiProperty()
|
|
73
|
+
@IsString()
|
|
74
|
+
deviceId: string;
|
|
75
|
+
}
|
|
@@ -39,6 +39,11 @@ export class CreateContact {
|
|
|
39
39
|
@IsString()
|
|
40
40
|
@IsOptional()
|
|
41
41
|
godfatherName?: string;
|
|
42
|
+
|
|
43
|
+
@ApiPropertyOptional()
|
|
44
|
+
@IsOptional()
|
|
45
|
+
@IsString()
|
|
46
|
+
ebookTag?: string;
|
|
42
47
|
}
|
|
43
48
|
|
|
44
49
|
export class GetContact {
|
|
@@ -87,6 +92,7 @@ export interface ContactInfos {
|
|
|
87
92
|
nameSociety?: string;
|
|
88
93
|
phone?: string;
|
|
89
94
|
godfatherName?: string;
|
|
95
|
+
ebookTag?: string;
|
|
90
96
|
}
|
|
91
97
|
|
|
92
98
|
export class AddOrCreateContactsToList {
|