@silexpert/core 1.3.194 → 1.3.195-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/Card.d.ts +23 -1
- package/dist/cjs/api/resources/Card.d.ts.map +1 -1
- package/dist/cjs/api/resources/Card.js +36 -0
- package/dist/cjs/api/resources/Card.js.map +1 -1
- package/dist/cjs/api/resources/Mfa.d.ts +0 -1
- package/dist/cjs/api/resources/Mfa.d.ts.map +1 -1
- package/dist/cjs/api/resources/Mfa.js +0 -4
- package/dist/cjs/api/resources/Mfa.js.map +1 -1
- package/dist/cjs/api/resources/Payment.d.ts +0 -1
- 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/Society.d.ts +1 -2
- package/dist/cjs/api/resources/Society.d.ts.map +1 -1
- package/dist/cjs/api/resources/Society.js +0 -3
- package/dist/cjs/api/resources/Society.js.map +1 -1
- package/dist/cjs/api/resources/UsersHistory.d.ts +11 -0
- package/dist/cjs/api/resources/UsersHistory.d.ts.map +1 -0
- package/dist/cjs/api/resources/UsersHistory.js +26 -0
- package/dist/cjs/api/resources/UsersHistory.js.map +1 -0
- package/dist/cjs/api/resources.d.ts +0 -4
- package/dist/cjs/api/resources.d.ts.map +1 -1
- package/dist/cjs/api/resources.js +0 -4
- package/dist/cjs/api/resources.js.map +1 -1
- package/dist/cjs/types/Enum/Card.d.ts +44 -2
- package/dist/cjs/types/Enum/Card.d.ts.map +1 -1
- package/dist/cjs/types/Enum/Card.js +52 -2
- package/dist/cjs/types/Enum/Card.js.map +1 -1
- package/dist/cjs/types/Enum/Ged.d.ts +3 -9
- package/dist/cjs/types/Enum/Ged.d.ts.map +1 -1
- package/dist/cjs/types/Enum/Ged.js +30 -154
- package/dist/cjs/types/Enum/Ged.js.map +1 -1
- package/dist/cjs/types/Enum/InformationRequestState.d.ts +1 -2
- package/dist/cjs/types/Enum/InformationRequestState.d.ts.map +1 -1
- package/dist/cjs/types/Enum/InformationRequestState.js +0 -1
- package/dist/cjs/types/Enum/InformationRequestState.js.map +1 -1
- package/dist/cjs/types/Enum/JobTitle.d.ts +1 -2
- package/dist/cjs/types/Enum/JobTitle.d.ts.map +1 -1
- package/dist/cjs/types/Enum/JobTitle.js +0 -6
- package/dist/cjs/types/Enum/JobTitle.js.map +1 -1
- package/dist/cjs/types/Enum/MailAuto.d.ts +1 -3
- package/dist/cjs/types/Enum/MailAuto.d.ts.map +1 -1
- package/dist/cjs/types/Enum/MailAuto.js +0 -2
- package/dist/cjs/types/Enum/MailAuto.js.map +1 -1
- package/dist/cjs/types/Enum/PriceGridClementine.d.ts.map +1 -1
- package/dist/cjs/types/Enum/PriceGridClementine.js +478 -482
- package/dist/cjs/types/Enum/PriceGridClementine.js.map +1 -1
- package/dist/cjs/types/Enum/Proceding.d.ts +0 -4
- package/dist/cjs/types/Enum/Proceding.d.ts.map +1 -1
- package/dist/cjs/types/Enum/Proceding.js +0 -4
- package/dist/cjs/types/Enum/Proceding.js.map +1 -1
- package/dist/cjs/types/Enum/StatutsSection.d.ts +1 -7
- package/dist/cjs/types/Enum/StatutsSection.d.ts.map +1 -1
- package/dist/cjs/types/Enum/StatutsSection.js +7 -15
- package/dist/cjs/types/Enum/StatutsSection.js.map +1 -1
- package/dist/cjs/types/Enum/UsersHistory.d.ts +17 -0
- package/dist/cjs/types/Enum/UsersHistory.d.ts.map +1 -0
- package/dist/cjs/types/Enum/UsersHistory.js +26 -0
- package/dist/cjs/types/Enum/UsersHistory.js.map +1 -0
- package/dist/cjs/types/Interface/api/authentification/AuthenticationResponse.d.ts +0 -10
- 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/ReadAuthenticateCollaborater.d.ts +0 -17
- package/dist/cjs/types/Interface/api/authentification/ReadAuthenticateCollaborater.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/authentification/ReadAuthenticateCollaborater.js +1 -4
- package/dist/cjs/types/Interface/api/authentification/ReadAuthenticateCollaborater.js.map +1 -1
- package/dist/cjs/types/Interface/api/balanceSheet/UpdateBalanceSheet.d.ts +1 -0
- package/dist/cjs/types/Interface/api/balanceSheet/UpdateBalanceSheet.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/balanceSheet/UpdateBalanceSheet.js +6 -0
- package/dist/cjs/types/Interface/api/balanceSheet/UpdateBalanceSheet.js.map +1 -1
- package/dist/cjs/types/Interface/api/brevo/BrevoElement.d.ts +0 -2
- package/dist/cjs/types/Interface/api/brevo/BrevoElement.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/brevo/BrevoElement.js +0 -6
- package/dist/cjs/types/Interface/api/brevo/BrevoElement.js.map +1 -1
- package/dist/cjs/types/Interface/api/card/Cron.d.ts +0 -3
- package/dist/cjs/types/Interface/api/card/Cron.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/card/Cron.js +1 -10
- package/dist/cjs/types/Interface/api/card/Cron.js.map +1 -1
- package/dist/cjs/types/Interface/api/card/ModifyAcceptation.d.ts +9 -0
- package/dist/cjs/types/Interface/api/card/ModifyAcceptation.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/card/ModifyAcceptation.js +43 -0
- package/dist/cjs/types/Interface/api/card/ModifyAcceptation.js.map +1 -0
- package/dist/cjs/types/Interface/api/card/ModifyBalanceSheet.d.ts +25 -0
- package/dist/cjs/types/Interface/api/card/ModifyBalanceSheet.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/card/ModifyBalanceSheet.js +106 -0
- package/dist/cjs/types/Interface/api/card/ModifyBalanceSheet.js.map +1 -0
- package/dist/cjs/types/Interface/api/card/ModifyCustomerVat.d.ts +5 -0
- package/dist/cjs/types/Interface/api/card/ModifyCustomerVat.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/{authentification/SetMobileApprovalDto.js → card/ModifyCustomerVat.js} +13 -11
- package/dist/cjs/types/Interface/api/card/ModifyCustomerVat.js.map +1 -0
- package/dist/cjs/types/Interface/api/card/ModifyPlanning.d.ts +18 -0
- package/dist/cjs/types/Interface/api/card/ModifyPlanning.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/card/ModifyPlanning.js +79 -0
- package/dist/cjs/types/Interface/api/card/ModifyPlanning.js.map +1 -0
- package/dist/cjs/types/Interface/api/card/Query.d.ts +8 -0
- package/dist/cjs/types/Interface/api/card/Query.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/{webex/GetWebinarsParams.js → card/Query.js} +15 -16
- package/dist/cjs/types/Interface/api/card/Query.js.map +1 -0
- package/dist/cjs/types/Interface/api/card/QueryUserCards.d.ts +11 -1
- package/dist/cjs/types/Interface/api/card/QueryUserCards.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/card/QueryUserCards.js +44 -7
- package/dist/cjs/types/Interface/api/card/QueryUserCards.js.map +1 -1
- package/dist/cjs/types/Interface/api/card/UpdateCard.d.ts +13 -0
- package/dist/cjs/types/Interface/api/card/UpdateCard.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/card/UpdateCard.js +58 -1
- package/dist/cjs/types/Interface/api/card/UpdateCard.js.map +1 -1
- package/dist/cjs/types/Interface/api/informationRequest/Update.d.ts +0 -3
- package/dist/cjs/types/Interface/api/informationRequest/Update.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/informationRequest/Update.js +1 -10
- 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 +0 -2
- package/dist/cjs/types/Interface/api/oldExportInfo/OldExpertInfos.js.map +1 -1
- package/dist/cjs/types/Interface/api/user/RegisterProspect.d.ts +0 -1
- package/dist/cjs/types/Interface/api/user/RegisterProspect.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/user/RegisterProspect.js +0 -6
- package/dist/cjs/types/Interface/api/user/RegisterProspect.js.map +1 -1
- package/dist/cjs/types/Interface/api/woocommerce/InvoicesWoocommerce.d.ts +5 -6
- package/dist/cjs/types/Interface/api/woocommerce/InvoicesWoocommerce.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/woocommerce/InvoicesWoocommerce.js +0 -14
- package/dist/cjs/types/Interface/api/woocommerce/InvoicesWoocommerce.js.map +1 -1
- package/dist/cjs/types/Interface/models/IBalanceSheet.d.ts +3 -0
- 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 +19 -0
- 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 +4 -0
- 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 +1 -0
- 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/ISocietyApproval.d.ts +0 -2
- 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 +0 -2
- 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/Interface/models/IUsersHistory.d.ts +10 -0
- package/dist/cjs/types/Interface/models/IUsersHistory.d.ts.map +1 -0
- package/dist/cjs/types/Interface/{api/webex/WebexMeeting.js → models/IUsersHistory.js} +1 -1
- package/dist/cjs/types/Interface/models/IUsersHistory.js.map +1 -0
- package/dist/cjs/types/index.d.ts +6 -14
- package/dist/cjs/types/index.d.ts.map +1 -1
- package/dist/cjs/types/index.js +6 -14
- 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 +19 -21
- package/dist/cjs/utils/commercialManagement/internationalization/choices.js.map +1 -1
- package/dist/cjs/utils/index.d.ts +0 -1
- package/dist/cjs/utils/index.d.ts.map +1 -1
- package/dist/cjs/utils/index.js +0 -1
- package/dist/cjs/utils/index.js.map +1 -1
- package/dist/mjs/api/resources/Card.d.ts +23 -1
- package/dist/mjs/api/resources/Card.d.ts.map +1 -1
- package/dist/mjs/api/resources/Card.js +45 -0
- package/dist/mjs/api/resources/Card.js.map +1 -1
- package/dist/mjs/api/resources/Mfa.d.ts +0 -1
- package/dist/mjs/api/resources/Mfa.d.ts.map +1 -1
- package/dist/mjs/api/resources/Mfa.js +0 -4
- package/dist/mjs/api/resources/Mfa.js.map +1 -1
- package/dist/mjs/api/resources/Payment.d.ts +0 -1
- 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/Society.d.ts +1 -2
- package/dist/mjs/api/resources/Society.d.ts.map +1 -1
- package/dist/mjs/api/resources/Society.js +0 -3
- package/dist/mjs/api/resources/Society.js.map +1 -1
- package/dist/mjs/api/resources/UsersHistory.d.ts +11 -0
- package/dist/mjs/api/resources/UsersHistory.d.ts.map +1 -0
- package/dist/mjs/api/resources/UsersHistory.js +22 -0
- package/dist/mjs/api/resources/UsersHistory.js.map +1 -0
- package/dist/mjs/api/resources.d.ts +0 -4
- package/dist/mjs/api/resources.d.ts.map +1 -1
- package/dist/mjs/api/resources.js +0 -4
- package/dist/mjs/api/resources.js.map +1 -1
- package/dist/mjs/types/Enum/Card.d.ts +44 -2
- package/dist/mjs/types/Enum/Card.d.ts.map +1 -1
- package/dist/mjs/types/Enum/Card.js +52 -2
- package/dist/mjs/types/Enum/Card.js.map +1 -1
- package/dist/mjs/types/Enum/Ged.d.ts +3 -9
- package/dist/mjs/types/Enum/Ged.d.ts.map +1 -1
- package/dist/mjs/types/Enum/Ged.js +30 -154
- package/dist/mjs/types/Enum/Ged.js.map +1 -1
- package/dist/mjs/types/Enum/InformationRequestState.d.ts +1 -2
- package/dist/mjs/types/Enum/InformationRequestState.d.ts.map +1 -1
- package/dist/mjs/types/Enum/InformationRequestState.js +0 -1
- package/dist/mjs/types/Enum/InformationRequestState.js.map +1 -1
- package/dist/mjs/types/Enum/JobTitle.d.ts +1 -2
- package/dist/mjs/types/Enum/JobTitle.d.ts.map +1 -1
- package/dist/mjs/types/Enum/JobTitle.js +0 -6
- package/dist/mjs/types/Enum/JobTitle.js.map +1 -1
- package/dist/mjs/types/Enum/MailAuto.d.ts +1 -3
- package/dist/mjs/types/Enum/MailAuto.d.ts.map +1 -1
- package/dist/mjs/types/Enum/MailAuto.js +0 -2
- package/dist/mjs/types/Enum/MailAuto.js.map +1 -1
- package/dist/mjs/types/Enum/PriceGridClementine.d.ts.map +1 -1
- package/dist/mjs/types/Enum/PriceGridClementine.js +474 -486
- package/dist/mjs/types/Enum/PriceGridClementine.js.map +1 -1
- package/dist/mjs/types/Enum/Proceding.d.ts +0 -4
- package/dist/mjs/types/Enum/Proceding.d.ts.map +1 -1
- package/dist/mjs/types/Enum/Proceding.js +0 -4
- package/dist/mjs/types/Enum/Proceding.js.map +1 -1
- package/dist/mjs/types/Enum/StatutsSection.d.ts +1 -7
- package/dist/mjs/types/Enum/StatutsSection.d.ts.map +1 -1
- package/dist/mjs/types/Enum/StatutsSection.js +7 -15
- package/dist/mjs/types/Enum/StatutsSection.js.map +1 -1
- package/dist/mjs/types/Enum/UsersHistory.d.ts +17 -0
- package/dist/mjs/types/Enum/UsersHistory.d.ts.map +1 -0
- package/dist/mjs/types/Enum/UsersHistory.js +23 -0
- package/dist/mjs/types/Enum/UsersHistory.js.map +1 -0
- package/dist/mjs/types/Interface/api/authentification/AuthenticationResponse.d.ts +0 -10
- 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/ReadAuthenticateCollaborater.d.ts +0 -17
- package/dist/mjs/types/Interface/api/authentification/ReadAuthenticateCollaborater.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/authentification/ReadAuthenticateCollaborater.js +0 -7
- package/dist/mjs/types/Interface/api/authentification/ReadAuthenticateCollaborater.js.map +1 -1
- package/dist/mjs/types/Interface/api/balanceSheet/UpdateBalanceSheet.d.ts +1 -0
- package/dist/mjs/types/Interface/api/balanceSheet/UpdateBalanceSheet.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/balanceSheet/UpdateBalanceSheet.js +7 -0
- package/dist/mjs/types/Interface/api/balanceSheet/UpdateBalanceSheet.js.map +1 -1
- package/dist/mjs/types/Interface/api/brevo/BrevoElement.d.ts +0 -2
- package/dist/mjs/types/Interface/api/brevo/BrevoElement.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/brevo/BrevoElement.js +0 -7
- package/dist/mjs/types/Interface/api/brevo/BrevoElement.js.map +1 -1
- package/dist/mjs/types/Interface/api/card/Cron.d.ts +0 -3
- package/dist/mjs/types/Interface/api/card/Cron.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/card/Cron.js +0 -8
- package/dist/mjs/types/Interface/api/card/Cron.js.map +1 -1
- package/dist/mjs/types/Interface/api/card/ModifyAcceptation.d.ts +9 -0
- package/dist/mjs/types/Interface/api/card/ModifyAcceptation.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/card/ModifyAcceptation.js +42 -0
- package/dist/mjs/types/Interface/api/card/ModifyAcceptation.js.map +1 -0
- package/dist/mjs/types/Interface/api/card/ModifyBalanceSheet.d.ts +25 -0
- package/dist/mjs/types/Interface/api/card/ModifyBalanceSheet.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/card/ModifyBalanceSheet.js +115 -0
- package/dist/mjs/types/Interface/api/card/ModifyBalanceSheet.js.map +1 -0
- package/dist/mjs/types/Interface/api/card/ModifyCustomerVat.d.ts +5 -0
- package/dist/mjs/types/Interface/api/card/ModifyCustomerVat.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/{authentification/SetMobileApprovalDto.js → card/ModifyCustomerVat.js} +14 -12
- package/dist/mjs/types/Interface/api/card/ModifyCustomerVat.js.map +1 -0
- package/dist/mjs/types/Interface/api/card/ModifyPlanning.d.ts +18 -0
- package/dist/mjs/types/Interface/api/card/ModifyPlanning.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/card/ModifyPlanning.js +84 -0
- package/dist/mjs/types/Interface/api/card/ModifyPlanning.js.map +1 -0
- package/dist/mjs/types/Interface/api/card/Query.d.ts +8 -0
- package/dist/mjs/types/Interface/api/card/Query.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/{webex/GetWebinarsParams.js → card/Query.js} +16 -20
- package/dist/mjs/types/Interface/api/card/Query.js.map +1 -0
- package/dist/mjs/types/Interface/api/card/QueryUserCards.d.ts +11 -1
- package/dist/mjs/types/Interface/api/card/QueryUserCards.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/card/QueryUserCards.js +43 -7
- package/dist/mjs/types/Interface/api/card/QueryUserCards.js.map +1 -1
- package/dist/mjs/types/Interface/api/card/UpdateCard.d.ts +13 -0
- package/dist/mjs/types/Interface/api/card/UpdateCard.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/card/UpdateCard.js +65 -1
- package/dist/mjs/types/Interface/api/card/UpdateCard.js.map +1 -1
- package/dist/mjs/types/Interface/api/informationRequest/Update.d.ts +0 -3
- package/dist/mjs/types/Interface/api/informationRequest/Update.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/informationRequest/Update.js +0 -9
- 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 +0 -2
- package/dist/mjs/types/Interface/api/oldExportInfo/OldExpertInfos.js.map +1 -1
- package/dist/mjs/types/Interface/api/user/RegisterProspect.d.ts +0 -1
- package/dist/mjs/types/Interface/api/user/RegisterProspect.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/user/RegisterProspect.js +0 -7
- package/dist/mjs/types/Interface/api/user/RegisterProspect.js.map +1 -1
- package/dist/mjs/types/Interface/api/woocommerce/InvoicesWoocommerce.d.ts +5 -6
- package/dist/mjs/types/Interface/api/woocommerce/InvoicesWoocommerce.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/woocommerce/InvoicesWoocommerce.js +0 -15
- package/dist/mjs/types/Interface/api/woocommerce/InvoicesWoocommerce.js.map +1 -1
- package/dist/mjs/types/Interface/models/IBalanceSheet.d.ts +3 -0
- 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 +19 -0
- 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 +4 -0
- 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 +1 -0
- 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/ISocietyApproval.d.ts +0 -2
- 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 +0 -2
- 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/Interface/models/IUsersHistory.d.ts +10 -0
- package/dist/mjs/types/Interface/models/IUsersHistory.d.ts.map +1 -0
- package/dist/mjs/types/Interface/models/IUsersHistory.js +2 -0
- package/dist/mjs/types/Interface/models/IUsersHistory.js.map +1 -0
- package/dist/mjs/types/index.d.ts +6 -14
- package/dist/mjs/types/index.d.ts.map +1 -1
- package/dist/mjs/types/index.js +6 -14
- 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 +19 -21
- package/dist/mjs/utils/commercialManagement/internationalization/choices.js.map +1 -1
- package/dist/mjs/utils/index.d.ts +0 -1
- package/dist/mjs/utils/index.d.ts.map +1 -1
- package/dist/mjs/utils/index.js +0 -1
- package/dist/mjs/utils/index.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/Card.ts +61 -0
- package/ts/api/resources/Mfa.ts +0 -6
- package/ts/api/resources/Payment.ts +0 -4
- package/ts/api/resources/Society.ts +0 -5
- package/ts/api/resources/UsersHistory.ts +29 -0
- package/ts/api/resources.ts +0 -4
- package/ts/types/Enum/Card.ts +52 -2
- package/ts/types/Enum/Ged.ts +248 -380
- package/ts/types/Enum/InformationRequestState.ts +0 -1
- package/ts/types/Enum/JobTitle.ts +0 -6
- package/ts/types/Enum/MailAuto.ts +0 -2
- package/ts/types/Enum/PriceGridClementine.ts +474 -487
- package/ts/types/Enum/Proceding.ts +0 -4
- package/ts/types/Enum/StatutsSection.ts +7 -15
- package/ts/types/Enum/UsersHistory.ts +25 -0
- package/ts/types/Interface/api/authentification/AuthenticationResponse.ts +0 -10
- package/ts/types/Interface/api/authentification/ReadAuthenticateCollaborater.ts +0 -18
- package/ts/types/Interface/api/balanceSheet/UpdateBalanceSheet.ts +5 -0
- package/ts/types/Interface/api/brevo/BrevoElement.ts +0 -6
- package/ts/types/Interface/api/card/Cron.ts +1 -8
- package/ts/types/Interface/api/card/ModifyAcceptation.ts +24 -0
- package/ts/types/Interface/api/card/ModifyBalanceSheet.ts +81 -0
- package/ts/types/Interface/api/card/ModifyCustomerVat.ts +13 -0
- package/ts/types/Interface/api/card/ModifyPlanning.ts +52 -0
- package/ts/types/Interface/api/card/Query.ts +19 -0
- package/ts/types/Interface/api/card/QueryUserCards.ts +36 -6
- package/ts/types/Interface/api/card/UpdateCard.ts +50 -2
- package/ts/types/Interface/api/informationRequest/Update.ts +0 -7
- package/ts/types/Interface/api/oldExportInfo/OldExpertInfos.ts +0 -2
- package/ts/types/Interface/api/user/RegisterProspect.ts +0 -5
- package/ts/types/Interface/api/woocommerce/InvoicesWoocommerce.ts +5 -17
- package/ts/types/Interface/models/IBalanceSheet.ts +3 -0
- package/ts/types/Interface/models/ICard.ts +20 -0
- package/ts/types/Interface/models/ICardHistory.ts +4 -0
- package/ts/types/Interface/models/ICustomerVat.ts +1 -0
- package/ts/types/Interface/models/ISocietyApproval.ts +0 -2
- package/ts/types/Interface/models/IUser.ts +0 -2
- package/ts/types/Interface/models/IUsersHistory.ts +9 -0
- package/ts/types/index.ts +6 -14
- package/ts/utils/commercialManagement/internationalization/choices.ts +19 -21
- package/ts/utils/index.ts +0 -1
- package/dist/cjs/api/resources/LoginApproval.d.ts +0 -18
- package/dist/cjs/api/resources/LoginApproval.d.ts.map +0 -1
- package/dist/cjs/api/resources/LoginApproval.js +0 -20
- package/dist/cjs/api/resources/LoginApproval.js.map +0 -1
- package/dist/cjs/api/resources/SocietyApproval.d.ts +0 -47
- package/dist/cjs/api/resources/SocietyApproval.d.ts.map +0 -1
- package/dist/cjs/api/resources/SocietyApproval.js +0 -62
- package/dist/cjs/api/resources/SocietyApproval.js.map +0 -1
- package/dist/cjs/api/resources/Webex.d.ts +0 -8
- package/dist/cjs/api/resources/Webex.d.ts.map +0 -1
- package/dist/cjs/api/resources/Webex.js +0 -17
- package/dist/cjs/api/resources/Webex.js.map +0 -1
- package/dist/cjs/types/Enum/EbookIntention.d.ts +0 -8
- package/dist/cjs/types/Enum/EbookIntention.d.ts.map +0 -1
- package/dist/cjs/types/Enum/EbookIntention.js +0 -18
- package/dist/cjs/types/Enum/EbookIntention.js.map +0 -1
- package/dist/cjs/types/Enum/LoginApprovalStatus.d.ts +0 -14
- package/dist/cjs/types/Enum/LoginApprovalStatus.d.ts.map +0 -1
- package/dist/cjs/types/Enum/LoginApprovalStatus.js +0 -18
- package/dist/cjs/types/Enum/LoginApprovalStatus.js.map +0 -1
- package/dist/cjs/types/Enum/MfaMode.d.ts +0 -12
- package/dist/cjs/types/Enum/MfaMode.d.ts.map +0 -1
- package/dist/cjs/types/Enum/MfaMode.js +0 -16
- package/dist/cjs/types/Enum/MfaMode.js.map +0 -1
- package/dist/cjs/types/Enum/SocietyApproval.d.ts +0 -46
- package/dist/cjs/types/Enum/SocietyApproval.d.ts.map +0 -1
- package/dist/cjs/types/Enum/SocietyApproval.js +0 -280
- package/dist/cjs/types/Enum/SocietyApproval.js.map +0 -1
- package/dist/cjs/types/Interface/api/SocietyApproval.d.ts +0 -36
- package/dist/cjs/types/Interface/api/SocietyApproval.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/SocietyApproval.js +0 -153
- package/dist/cjs/types/Interface/api/SocietyApproval.js.map +0 -1
- package/dist/cjs/types/Interface/api/authentification/FinalizeMobileApprovalDto.d.ts +0 -4
- package/dist/cjs/types/Interface/api/authentification/FinalizeMobileApprovalDto.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/authentification/FinalizeMobileApprovalDto.js +0 -21
- package/dist/cjs/types/Interface/api/authentification/FinalizeMobileApprovalDto.js.map +0 -1
- package/dist/cjs/types/Interface/api/authentification/SetMobileApprovalDto.d.ts +0 -5
- package/dist/cjs/types/Interface/api/authentification/SetMobileApprovalDto.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/authentification/SetMobileApprovalDto.js.map +0 -1
- package/dist/cjs/types/Interface/api/authentification/loginApproval.d.ts +0 -66
- package/dist/cjs/types/Interface/api/authentification/loginApproval.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/authentification/loginApproval.js +0 -26
- package/dist/cjs/types/Interface/api/authentification/loginApproval.js.map +0 -1
- package/dist/cjs/types/Interface/api/bankAccount/Benchmark.d.ts +0 -5
- package/dist/cjs/types/Interface/api/bankAccount/Benchmark.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/bankAccount/Benchmark.js +0 -21
- package/dist/cjs/types/Interface/api/bankAccount/Benchmark.js.map +0 -1
- package/dist/cjs/types/Interface/api/webex/GetWebinarsParams.d.ts +0 -7
- package/dist/cjs/types/Interface/api/webex/GetWebinarsParams.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/webex/GetWebinarsParams.js.map +0 -1
- package/dist/cjs/types/Interface/api/webex/PaginatedWebinars.d.ts +0 -7
- package/dist/cjs/types/Interface/api/webex/PaginatedWebinars.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/webex/PaginatedWebinars.js +0 -3
- package/dist/cjs/types/Interface/api/webex/PaginatedWebinars.js.map +0 -1
- package/dist/cjs/types/Interface/api/webex/WebexMeeting.d.ts +0 -22
- package/dist/cjs/types/Interface/api/webex/WebexMeeting.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/webex/WebexMeeting.js.map +0 -1
- package/dist/cjs/types/Interface/api/webex/WebexRegistrant.d.ts +0 -18
- package/dist/cjs/types/Interface/api/webex/WebexRegistrant.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/webex/WebexRegistrant.js +0 -40
- package/dist/cjs/types/Interface/api/webex/WebexRegistrant.js.map +0 -1
- package/dist/cjs/types/Interface/models/ILoginApproval.d.ts +0 -31
- package/dist/cjs/types/Interface/models/ILoginApproval.d.ts.map +0 -1
- package/dist/cjs/types/Interface/models/ILoginApproval.js +0 -3
- package/dist/cjs/types/Interface/models/ILoginApproval.js.map +0 -1
- package/dist/cjs/utils/societyApproval.d.ts +0 -38
- package/dist/cjs/utils/societyApproval.d.ts.map +0 -1
- package/dist/cjs/utils/societyApproval.js +0 -101
- package/dist/cjs/utils/societyApproval.js.map +0 -1
- package/dist/mjs/api/resources/LoginApproval.d.ts +0 -18
- package/dist/mjs/api/resources/LoginApproval.d.ts.map +0 -1
- package/dist/mjs/api/resources/LoginApproval.js +0 -16
- package/dist/mjs/api/resources/LoginApproval.js.map +0 -1
- package/dist/mjs/api/resources/SocietyApproval.d.ts +0 -47
- package/dist/mjs/api/resources/SocietyApproval.d.ts.map +0 -1
- package/dist/mjs/api/resources/SocietyApproval.js +0 -58
- package/dist/mjs/api/resources/SocietyApproval.js.map +0 -1
- package/dist/mjs/api/resources/Webex.d.ts +0 -8
- package/dist/mjs/api/resources/Webex.d.ts.map +0 -1
- package/dist/mjs/api/resources/Webex.js +0 -13
- package/dist/mjs/api/resources/Webex.js.map +0 -1
- package/dist/mjs/types/Enum/EbookIntention.d.ts +0 -8
- package/dist/mjs/types/Enum/EbookIntention.d.ts.map +0 -1
- package/dist/mjs/types/Enum/EbookIntention.js +0 -15
- package/dist/mjs/types/Enum/EbookIntention.js.map +0 -1
- package/dist/mjs/types/Enum/LoginApprovalStatus.d.ts +0 -14
- package/dist/mjs/types/Enum/LoginApprovalStatus.d.ts.map +0 -1
- package/dist/mjs/types/Enum/LoginApprovalStatus.js +0 -15
- package/dist/mjs/types/Enum/LoginApprovalStatus.js.map +0 -1
- package/dist/mjs/types/Enum/MfaMode.d.ts +0 -12
- package/dist/mjs/types/Enum/MfaMode.d.ts.map +0 -1
- package/dist/mjs/types/Enum/MfaMode.js +0 -13
- package/dist/mjs/types/Enum/MfaMode.js.map +0 -1
- package/dist/mjs/types/Enum/SocietyApproval.d.ts +0 -46
- package/dist/mjs/types/Enum/SocietyApproval.d.ts.map +0 -1
- package/dist/mjs/types/Enum/SocietyApproval.js +0 -277
- package/dist/mjs/types/Enum/SocietyApproval.js.map +0 -1
- package/dist/mjs/types/Interface/api/SocietyApproval.d.ts +0 -36
- package/dist/mjs/types/Interface/api/SocietyApproval.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/SocietyApproval.js +0 -167
- package/dist/mjs/types/Interface/api/SocietyApproval.js.map +0 -1
- package/dist/mjs/types/Interface/api/authentification/FinalizeMobileApprovalDto.d.ts +0 -4
- package/dist/mjs/types/Interface/api/authentification/FinalizeMobileApprovalDto.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/authentification/FinalizeMobileApprovalDto.js +0 -18
- package/dist/mjs/types/Interface/api/authentification/FinalizeMobileApprovalDto.js.map +0 -1
- package/dist/mjs/types/Interface/api/authentification/SetMobileApprovalDto.d.ts +0 -5
- package/dist/mjs/types/Interface/api/authentification/SetMobileApprovalDto.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/authentification/SetMobileApprovalDto.js.map +0 -1
- package/dist/mjs/types/Interface/api/authentification/loginApproval.d.ts +0 -66
- package/dist/mjs/types/Interface/api/authentification/loginApproval.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/authentification/loginApproval.js +0 -23
- package/dist/mjs/types/Interface/api/authentification/loginApproval.js.map +0 -1
- package/dist/mjs/types/Interface/api/bankAccount/Benchmark.d.ts +0 -5
- package/dist/mjs/types/Interface/api/bankAccount/Benchmark.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/bankAccount/Benchmark.js +0 -18
- package/dist/mjs/types/Interface/api/bankAccount/Benchmark.js.map +0 -1
- package/dist/mjs/types/Interface/api/webex/GetWebinarsParams.d.ts +0 -7
- package/dist/mjs/types/Interface/api/webex/GetWebinarsParams.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/webex/GetWebinarsParams.js.map +0 -1
- package/dist/mjs/types/Interface/api/webex/PaginatedWebinars.d.ts +0 -7
- package/dist/mjs/types/Interface/api/webex/PaginatedWebinars.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/webex/PaginatedWebinars.js +0 -2
- package/dist/mjs/types/Interface/api/webex/PaginatedWebinars.js.map +0 -1
- package/dist/mjs/types/Interface/api/webex/WebexMeeting.d.ts +0 -22
- package/dist/mjs/types/Interface/api/webex/WebexMeeting.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/webex/WebexMeeting.js +0 -2
- package/dist/mjs/types/Interface/api/webex/WebexMeeting.js.map +0 -1
- package/dist/mjs/types/Interface/api/webex/WebexRegistrant.d.ts +0 -18
- package/dist/mjs/types/Interface/api/webex/WebexRegistrant.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/webex/WebexRegistrant.js +0 -40
- package/dist/mjs/types/Interface/api/webex/WebexRegistrant.js.map +0 -1
- package/dist/mjs/types/Interface/models/ILoginApproval.d.ts +0 -31
- package/dist/mjs/types/Interface/models/ILoginApproval.d.ts.map +0 -1
- package/dist/mjs/types/Interface/models/ILoginApproval.js +0 -2
- package/dist/mjs/types/Interface/models/ILoginApproval.js.map +0 -1
- package/dist/mjs/utils/societyApproval.d.ts +0 -38
- package/dist/mjs/utils/societyApproval.d.ts.map +0 -1
- package/dist/mjs/utils/societyApproval.js +0 -109
- package/dist/mjs/utils/societyApproval.js.map +0 -1
- package/ts/api/resources/LoginApproval.ts +0 -20
- package/ts/api/resources/SocietyApproval.ts +0 -75
- package/ts/api/resources/Webex.ts +0 -16
- package/ts/types/Enum/EbookIntention.ts +0 -14
- package/ts/types/Enum/LoginApprovalStatus.ts +0 -13
- package/ts/types/Enum/MfaMode.ts +0 -11
- package/ts/types/Enum/SocietyApproval.ts +0 -301
- package/ts/types/Interface/api/SocietyApproval.ts +0 -121
- package/ts/types/Interface/api/authentification/FinalizeMobileApprovalDto.ts +0 -6
- package/ts/types/Interface/api/authentification/SetMobileApprovalDto.ts +0 -11
- package/ts/types/Interface/api/authentification/loginApproval.ts +0 -75
- package/ts/types/Interface/api/bankAccount/Benchmark.ts +0 -7
- package/ts/types/Interface/api/webex/GetWebinarsParams.ts +0 -20
- package/ts/types/Interface/api/webex/PaginatedWebinars.ts +0 -7
- package/ts/types/Interface/api/webex/WebexMeeting.ts +0 -21
- package/ts/types/Interface/api/webex/WebexRegistrant.ts +0 -34
- package/ts/types/Interface/models/ILoginApproval.ts +0 -31
- package/ts/utils/societyApproval.ts +0 -129
|
@@ -1,18 +1,10 @@
|
|
|
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
|
|
5
4
|
ARTICLES = 1,
|
|
6
5
|
ANNEXES = 2,
|
|
7
6
|
LIST_SUBSCRIBERS = 3,
|
|
8
7
|
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,
|
|
16
8
|
}
|
|
17
9
|
|
|
18
10
|
export const DocumentSectionTypeDetail = [
|
|
@@ -33,7 +25,7 @@ export const DocumentSectionTypeDetail = [
|
|
|
33
25
|
},
|
|
34
26
|
{
|
|
35
27
|
id: DocumentSectionType.DECLARATION_ON_HONOR_OF_NON_CONVICTION,
|
|
36
|
-
name:
|
|
28
|
+
name: 'Déclaration sur l\'honneur de non-condamnation',
|
|
37
29
|
filePrefix: 'declaration_non_condamnation',
|
|
38
30
|
},
|
|
39
31
|
];
|
|
@@ -205,7 +197,7 @@ export const StatutsSection: StatutsSectionTypeV1[] = [
|
|
|
205
197
|
{
|
|
206
198
|
name: StatutsSectionName.S10_AE,
|
|
207
199
|
onlyForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
|
|
208
|
-
title:
|
|
200
|
+
title: 'Article 10 - COMPTES COURANTS D\'ASSOCIÉS',
|
|
209
201
|
idDocumentSectionType: DocumentSectionType.ARTICLES,
|
|
210
202
|
},
|
|
211
203
|
{
|
|
@@ -273,7 +265,7 @@ export const StatutsSection: StatutsSectionTypeV1[] = [
|
|
|
273
265
|
{
|
|
274
266
|
name: StatutsSectionName.S19_AE,
|
|
275
267
|
onlyForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
|
|
276
|
-
title:
|
|
268
|
+
title: 'Article 19 – DECISIONS PRISES PAR L\'ASSOCIE UNIQUE',
|
|
277
269
|
idDocumentSectionType: DocumentSectionType.ARTICLES,
|
|
278
270
|
},
|
|
279
271
|
{
|
|
@@ -385,7 +377,7 @@ export const StatutsSection: StatutsSectionTypeV1[] = [
|
|
|
385
377
|
{
|
|
386
378
|
name: StatutsSectionName.S12_SA,
|
|
387
379
|
exceptForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
|
|
388
|
-
title:
|
|
380
|
+
title: 'Article 12 – FORME DES CESSIONS OU TRANSMISSIONS D\'ACTIONS',
|
|
389
381
|
idDocumentSectionType: DocumentSectionType.ARTICLES,
|
|
390
382
|
},
|
|
391
383
|
{
|
|
@@ -403,7 +395,7 @@ export const StatutsSection: StatutsSectionTypeV1[] = [
|
|
|
403
395
|
{
|
|
404
396
|
name: StatutsSectionName.S15_SA,
|
|
405
397
|
exceptForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
|
|
406
|
-
title:
|
|
398
|
+
title: 'Article 15 - NULLITE DES CESSIONS D\'ACTIONS',
|
|
407
399
|
idDocumentSectionType: DocumentSectionType.ARTICLES,
|
|
408
400
|
},
|
|
409
401
|
{
|
|
@@ -477,7 +469,7 @@ export const StatutsSection: StatutsSectionTypeV1[] = [
|
|
|
477
469
|
{
|
|
478
470
|
name: StatutsSectionName.S25_SA,
|
|
479
471
|
exceptForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
|
|
480
|
-
title:
|
|
472
|
+
title: 'Article 25 – COMITE D\'ENTREPRISE',
|
|
481
473
|
idDocumentSectionType: DocumentSectionType.ARTICLES,
|
|
482
474
|
},
|
|
483
475
|
{
|
|
@@ -563,7 +555,7 @@ export const StatutsSection: StatutsSectionTypeV1[] = [
|
|
|
563
555
|
},
|
|
564
556
|
{
|
|
565
557
|
name: StatutsSectionName.DECLARATION_OF_HONOR,
|
|
566
|
-
title:
|
|
558
|
+
title: 'DECLARATION SUR L\'HONNEUR DE NON-CONDAMNATION',
|
|
567
559
|
idDocumentSectionType: DocumentSectionType.DECLARATION_ON_HONOR_OF_NON_CONVICTION,
|
|
568
560
|
},
|
|
569
561
|
];
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export enum UsersHistory {
|
|
2
|
+
// Cycle de vie Compte
|
|
3
|
+
CREATE = 1,
|
|
4
|
+
UPDATE = 2,
|
|
5
|
+
DELETE = 3,
|
|
6
|
+
RESTORE = 4,
|
|
7
|
+
|
|
8
|
+
// Validation & Modifications Spécifiques
|
|
9
|
+
INFO_UPDATE = 5, // Info ok
|
|
10
|
+
ROLE_UPDATE = 6, // Role ok
|
|
11
|
+
|
|
12
|
+
// Sécurité
|
|
13
|
+
LOGIN = 7,
|
|
14
|
+
LOGIN_FAIL = 8,
|
|
15
|
+
PASSWORD_UPDATE = 9,
|
|
16
|
+
|
|
17
|
+
// Gestion Matériel
|
|
18
|
+
EQUIPMENT_ASSIGN = 10,
|
|
19
|
+
EQUIPMENT_BROKEN = 11,
|
|
20
|
+
EQUIPMENT_RETURN = 12,
|
|
21
|
+
EQUIPMENT_LOST = 13,
|
|
22
|
+
|
|
23
|
+
// Communication
|
|
24
|
+
MAIL_SENT_TO_TS = 14, // Mail envoyé à TS
|
|
25
|
+
}
|
|
@@ -1,16 +1,6 @@
|
|
|
1
1
|
export interface IAuthenticationResponse {
|
|
2
|
-
/** TOTP MFA requis (classique avec code à 6 chiffres) */
|
|
3
2
|
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 */
|
|
11
3
|
userId?: number;
|
|
12
|
-
/** Message informatif */
|
|
13
4
|
message?: string;
|
|
14
|
-
/** Token JWT si authentification réussie */
|
|
15
5
|
token?: string;
|
|
16
6
|
}
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import { Feature } from '../../../Enum/Feature';
|
|
2
|
-
import { PrestationTypeDetail } from '../../../Enum/PrestationType';
|
|
3
1
|
import { IUser } from '../../models/IUser';
|
|
4
2
|
|
|
5
3
|
export class ReadAuthenticateCollaborater {
|
|
@@ -18,19 +16,3 @@ export class ReadByExternalId {
|
|
|
18
16
|
idTypeBrand: number;
|
|
19
17
|
token: string;
|
|
20
18
|
}
|
|
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
|
-
}
|
|
@@ -39,11 +39,6 @@ export class CreateContact {
|
|
|
39
39
|
@IsString()
|
|
40
40
|
@IsOptional()
|
|
41
41
|
godfatherName?: string;
|
|
42
|
-
|
|
43
|
-
@ApiPropertyOptional()
|
|
44
|
-
@IsOptional()
|
|
45
|
-
@IsString()
|
|
46
|
-
ebookTag?: string;
|
|
47
42
|
}
|
|
48
43
|
|
|
49
44
|
export class GetContact {
|
|
@@ -92,7 +87,6 @@ export interface ContactInfos {
|
|
|
92
87
|
nameSociety?: string;
|
|
93
88
|
phone?: string;
|
|
94
89
|
godfatherName?: string;
|
|
95
|
-
ebookTag?: string;
|
|
96
90
|
}
|
|
97
91
|
|
|
98
92
|
export class AddOrCreateContactsToList {
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { IsNumber, IsOptional } from 'class-validator';
|
|
2
|
+
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
3
|
+
|
|
4
|
+
export class AssignAcceptationAutomaticly {
|
|
5
|
+
@ApiProperty()
|
|
6
|
+
@IsNumber()
|
|
7
|
+
idTeam: number;
|
|
8
|
+
|
|
9
|
+
@ApiPropertyOptional()
|
|
10
|
+
@IsOptional()
|
|
11
|
+
@IsNumber()
|
|
12
|
+
idSociety?: number;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export class AssignAcceptationNewClientAutomatically {
|
|
16
|
+
@ApiProperty()
|
|
17
|
+
@IsNumber()
|
|
18
|
+
idUser: number;
|
|
19
|
+
|
|
20
|
+
@ApiPropertyOptional()
|
|
21
|
+
@IsOptional()
|
|
22
|
+
@IsNumber()
|
|
23
|
+
idSociety?: number;
|
|
24
|
+
}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { IsArray, IsBoolean, IsDate, IsEnum, IsInt, IsNumber, IsOptional } from 'class-validator';
|
|
2
|
+
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
3
|
+
import { ComptaType } from '../../../Enum/ComptaType';
|
|
4
|
+
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
5
|
+
import { CardType } from '../../../Enum/Card';
|
|
6
|
+
import { LegalFormTypeEnum } from '../../../Enum/LegalForm';
|
|
7
|
+
|
|
8
|
+
export interface OrganizeBalanceSheetsResponse {
|
|
9
|
+
plannedCardsCount: number;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export class OrganizeBalanceSheets {
|
|
13
|
+
@ApiPropertyOptional()
|
|
14
|
+
@IsOptional()
|
|
15
|
+
@IsNumber()
|
|
16
|
+
idTeam?: number;
|
|
17
|
+
|
|
18
|
+
@ApiPropertyOptional()
|
|
19
|
+
@IsOptional()
|
|
20
|
+
@IsArray()
|
|
21
|
+
@IsInt({ each: true })
|
|
22
|
+
idAccountants?: number[];
|
|
23
|
+
|
|
24
|
+
@ApiProperty()
|
|
25
|
+
@IsArray()
|
|
26
|
+
@IsEnum(CardType, { each: true })
|
|
27
|
+
cardType: CardType[];
|
|
28
|
+
|
|
29
|
+
@ApiProperty()
|
|
30
|
+
@IsDate()
|
|
31
|
+
exerciceMonthDate: Date;
|
|
32
|
+
|
|
33
|
+
@ApiProperty()
|
|
34
|
+
@IsEnum(ComptaType)
|
|
35
|
+
idComptaType: ComptaType;
|
|
36
|
+
|
|
37
|
+
@ApiProperty()
|
|
38
|
+
@IsArray()
|
|
39
|
+
@IsEnum(LegalFormTypeEnum, { each: true })
|
|
40
|
+
legalForms: LegalFormTypeEnum[];
|
|
41
|
+
|
|
42
|
+
@ApiProperty()
|
|
43
|
+
@IsBoolean()
|
|
44
|
+
@ToBoolean()
|
|
45
|
+
soldeIsOk: boolean;
|
|
46
|
+
|
|
47
|
+
@ApiProperty()
|
|
48
|
+
@IsBoolean()
|
|
49
|
+
@ToBoolean()
|
|
50
|
+
withSocial: boolean;
|
|
51
|
+
|
|
52
|
+
@ApiProperty()
|
|
53
|
+
@IsDate()
|
|
54
|
+
assignDateStart: Date;
|
|
55
|
+
|
|
56
|
+
@ApiPropertyOptional()
|
|
57
|
+
@IsOptional()
|
|
58
|
+
@IsDate()
|
|
59
|
+
assignDateEnd?: Date;
|
|
60
|
+
|
|
61
|
+
@ApiPropertyOptional()
|
|
62
|
+
@IsOptional()
|
|
63
|
+
@IsNumber()
|
|
64
|
+
nbCardByDay?: number;
|
|
65
|
+
|
|
66
|
+
@ApiPropertyOptional()
|
|
67
|
+
@IsOptional()
|
|
68
|
+
@IsNumber()
|
|
69
|
+
idSociety?: number;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export class AssignBalanceSheet {
|
|
73
|
+
@ApiProperty()
|
|
74
|
+
@IsNumber()
|
|
75
|
+
idTeam: number;
|
|
76
|
+
|
|
77
|
+
@ApiPropertyOptional()
|
|
78
|
+
@IsOptional()
|
|
79
|
+
@IsNumber()
|
|
80
|
+
idSociety?: number;
|
|
81
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { IsNumber, IsOptional } from 'class-validator';
|
|
2
|
+
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
3
|
+
|
|
4
|
+
export class assignCustomerVatAutomatically {
|
|
5
|
+
@ApiProperty()
|
|
6
|
+
@IsNumber()
|
|
7
|
+
idUser: number;
|
|
8
|
+
|
|
9
|
+
@ApiPropertyOptional()
|
|
10
|
+
@IsOptional()
|
|
11
|
+
@IsNumber()
|
|
12
|
+
idSociety?: number;
|
|
13
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { IsDate, IsInt } from 'class-validator';
|
|
2
|
+
import { ApiProperty } from '../../../../utils';
|
|
3
|
+
|
|
4
|
+
export class ModifyTeamPlanning {
|
|
5
|
+
@ApiProperty()
|
|
6
|
+
@IsInt()
|
|
7
|
+
idUserMissing: number;
|
|
8
|
+
|
|
9
|
+
@ApiProperty()
|
|
10
|
+
@IsInt({ each: true })
|
|
11
|
+
idUsers: number[];
|
|
12
|
+
|
|
13
|
+
@ApiProperty()
|
|
14
|
+
@IsDate()
|
|
15
|
+
startDate: Date;
|
|
16
|
+
|
|
17
|
+
@ApiProperty()
|
|
18
|
+
@IsDate()
|
|
19
|
+
endDate: Date;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export class ModifyExercisePlanning {
|
|
23
|
+
@ApiProperty()
|
|
24
|
+
@IsDate()
|
|
25
|
+
exerciseClosingDate: Date;
|
|
26
|
+
|
|
27
|
+
@ApiProperty()
|
|
28
|
+
@IsDate()
|
|
29
|
+
startDate: Date;
|
|
30
|
+
|
|
31
|
+
@ApiProperty()
|
|
32
|
+
@IsDate()
|
|
33
|
+
endDate: Date;
|
|
34
|
+
|
|
35
|
+
@ApiProperty()
|
|
36
|
+
@IsInt({ each: true })
|
|
37
|
+
idUsers: number[];
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export class AutomaticallyAssignTeamPlanning {
|
|
41
|
+
@ApiProperty()
|
|
42
|
+
@IsInt()
|
|
43
|
+
idTeam: number;
|
|
44
|
+
|
|
45
|
+
@ApiProperty()
|
|
46
|
+
@IsDate()
|
|
47
|
+
startDate: Date;
|
|
48
|
+
|
|
49
|
+
@ApiProperty()
|
|
50
|
+
@IsDate()
|
|
51
|
+
endDate: Date;
|
|
52
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { IsDate, IsInt, IsOptional } from 'class-validator';
|
|
2
|
+
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
3
|
+
|
|
4
|
+
export class QueryInternalCardsStats {
|
|
5
|
+
@ApiProperty()
|
|
6
|
+
@IsInt()
|
|
7
|
+
idTeam: number;
|
|
8
|
+
|
|
9
|
+
@ApiProperty()
|
|
10
|
+
@IsDate()
|
|
11
|
+
date: Date;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export class QueryCronCards {
|
|
15
|
+
@ApiPropertyOptional()
|
|
16
|
+
@IsOptional()
|
|
17
|
+
@IsInt()
|
|
18
|
+
declare idSociety?: number;
|
|
19
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IsArray, IsBoolean, IsDateString, IsInt, IsOptional, IsString, Min } from 'class-validator';
|
|
1
|
+
import { IsArray, IsBoolean, IsDate, IsDateString, IsEnum, IsInt, IsOptional, IsString, Min } from 'class-validator';
|
|
2
2
|
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
3
3
|
import { CardType, CardState } from '../../../Enum/Card';
|
|
4
4
|
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
@@ -44,11 +44,6 @@ export class QueryUserCards {
|
|
|
44
44
|
@IsBoolean()
|
|
45
45
|
@ToBoolean()
|
|
46
46
|
declare includePostponed?: boolean;
|
|
47
|
-
|
|
48
|
-
@ApiPropertyOptional()
|
|
49
|
-
@IsOptional()
|
|
50
|
-
@IsArray()
|
|
51
|
-
declare idTypeBrand?: number[];
|
|
52
47
|
}
|
|
53
48
|
|
|
54
49
|
export class QueryUserCardsPaginated extends QueryUserCards {
|
|
@@ -62,3 +57,38 @@ export class QueryUserCardsPaginated extends QueryUserCards {
|
|
|
62
57
|
@Min(1)
|
|
63
58
|
limit: number;
|
|
64
59
|
}
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* @deprecated Use QueryUserCards instead
|
|
63
|
+
*/
|
|
64
|
+
export class QueryUserCardsAdmin {
|
|
65
|
+
@ApiPropertyOptional()
|
|
66
|
+
@IsOptional()
|
|
67
|
+
@IsInt()
|
|
68
|
+
declare idUser?: number;
|
|
69
|
+
|
|
70
|
+
@ApiPropertyOptional()
|
|
71
|
+
@IsOptional()
|
|
72
|
+
@IsDate()
|
|
73
|
+
declare startDate?: Date;
|
|
74
|
+
|
|
75
|
+
@ApiPropertyOptional()
|
|
76
|
+
@IsOptional()
|
|
77
|
+
@IsDate()
|
|
78
|
+
declare endDate?: Date;
|
|
79
|
+
|
|
80
|
+
@ApiPropertyOptional()
|
|
81
|
+
@IsOptional()
|
|
82
|
+
@IsString()
|
|
83
|
+
declare search?: string;
|
|
84
|
+
|
|
85
|
+
@ApiPropertyOptional()
|
|
86
|
+
@IsOptional()
|
|
87
|
+
@IsArray()
|
|
88
|
+
declare types?: CardType[];
|
|
89
|
+
|
|
90
|
+
@ApiPropertyOptional()
|
|
91
|
+
@IsOptional()
|
|
92
|
+
@IsEnum(CardState)
|
|
93
|
+
declare state?: CardState;
|
|
94
|
+
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { IsEnum, IsInt, IsOptional, IsString } from 'class-validator';
|
|
1
|
+
import { IsBoolean, IsDate, IsEnum, IsInt, IsOptional, IsString } from 'class-validator';
|
|
2
2
|
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
3
3
|
import { CardState, CardType, TransactionRangeFilter } from '../../../Enum/Card';
|
|
4
|
+
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
4
5
|
|
|
5
6
|
export class AssignCard {
|
|
6
7
|
@ApiProperty()
|
|
@@ -19,6 +20,10 @@ export class UpdateCardV2 {
|
|
|
19
20
|
@IsEnum(CardState)
|
|
20
21
|
state?: CardState;
|
|
21
22
|
|
|
23
|
+
@ApiPropertyOptional()
|
|
24
|
+
@IsOptional()
|
|
25
|
+
plannedAt?: Date | null;
|
|
26
|
+
|
|
22
27
|
@ApiPropertyOptional()
|
|
23
28
|
@IsOptional()
|
|
24
29
|
@IsInt()
|
|
@@ -33,4 +38,47 @@ export class UpdateCardV2 {
|
|
|
33
38
|
@IsOptional()
|
|
34
39
|
@IsInt()
|
|
35
40
|
priority?: number;
|
|
36
|
-
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* @deprecated Use UpdateCardV2 instead
|
|
45
|
+
*/
|
|
46
|
+
export class UpdateCard {
|
|
47
|
+
@ApiPropertyOptional()
|
|
48
|
+
@IsOptional()
|
|
49
|
+
@IsInt()
|
|
50
|
+
@IsEnum(CardType)
|
|
51
|
+
type?: CardType;
|
|
52
|
+
|
|
53
|
+
@ApiPropertyOptional()
|
|
54
|
+
@IsOptional()
|
|
55
|
+
@IsBoolean()
|
|
56
|
+
isManual?: boolean;
|
|
57
|
+
|
|
58
|
+
@ApiPropertyOptional()
|
|
59
|
+
@IsOptional()
|
|
60
|
+
@IsBoolean()
|
|
61
|
+
@ToBoolean()
|
|
62
|
+
isBlocked?: boolean;
|
|
63
|
+
|
|
64
|
+
@ApiPropertyOptional()
|
|
65
|
+
@IsOptional()
|
|
66
|
+
@IsInt()
|
|
67
|
+
@IsEnum(CardState)
|
|
68
|
+
state?: CardState;
|
|
69
|
+
|
|
70
|
+
@ApiPropertyOptional()
|
|
71
|
+
@IsOptional()
|
|
72
|
+
@IsDate()
|
|
73
|
+
plannedAt?: Date | null;
|
|
74
|
+
|
|
75
|
+
@ApiPropertyOptional()
|
|
76
|
+
@IsOptional()
|
|
77
|
+
@IsInt()
|
|
78
|
+
idUser?: number;
|
|
79
|
+
|
|
80
|
+
@ApiPropertyOptional()
|
|
81
|
+
@IsOptional()
|
|
82
|
+
@IsString()
|
|
83
|
+
comment?: string;
|
|
84
|
+
}
|
|
@@ -37,10 +37,3 @@ export class UpdateInformationRequest implements Partial<Omit<IInformationReques
|
|
|
37
37
|
@ToBoolean()
|
|
38
38
|
isMandatory?: boolean;
|
|
39
39
|
}
|
|
40
|
-
|
|
41
|
-
export class DeleteByExerciceOptions {
|
|
42
|
-
@ApiPropertyOptional()
|
|
43
|
-
@IsOptional()
|
|
44
|
-
@IsInt()
|
|
45
|
-
idBalanceSheet?: number;
|
|
46
|
-
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { IsBoolean, IsDate, IsInt, IsOptional, IsString } from 'class-validator';
|
|
2
2
|
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
3
|
-
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
4
3
|
|
|
5
4
|
export class CreateOldExpertInfo {
|
|
6
5
|
@ApiPropertyOptional()
|
|
@@ -55,7 +54,6 @@ export class CreateOldExpertInfo {
|
|
|
55
54
|
|
|
56
55
|
@ApiProperty()
|
|
57
56
|
@IsBoolean()
|
|
58
|
-
@ToBoolean()
|
|
59
57
|
dontHaveOldExpert: boolean;
|
|
60
58
|
|
|
61
59
|
@ApiPropertyOptional()
|
|
@@ -1,26 +1,14 @@
|
|
|
1
|
-
import { IsBoolean, IsOptional } from 'class-validator';
|
|
2
1
|
import { ApiPropertyOptional } from '../../../../utils';
|
|
3
|
-
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
4
2
|
|
|
5
3
|
export class InvoicesWoocommerce {
|
|
6
4
|
@ApiPropertyOptional()
|
|
7
|
-
|
|
8
|
-
order?: string;
|
|
5
|
+
order: string;
|
|
9
6
|
@ApiPropertyOptional()
|
|
10
|
-
|
|
11
|
-
limit?: number;
|
|
7
|
+
limit: number;
|
|
12
8
|
@ApiPropertyOptional()
|
|
13
|
-
|
|
14
|
-
ids?: number[];
|
|
9
|
+
ids: number[];
|
|
15
10
|
@ApiPropertyOptional()
|
|
16
|
-
|
|
17
|
-
idSociety?: number;
|
|
11
|
+
idSociety: number;
|
|
18
12
|
@ApiPropertyOptional()
|
|
19
|
-
|
|
20
|
-
date?: Date;
|
|
21
|
-
@ApiPropertyOptional()
|
|
22
|
-
@IsOptional()
|
|
23
|
-
@IsBoolean()
|
|
24
|
-
@ToBoolean()
|
|
25
|
-
debug?: boolean;
|
|
13
|
+
date: Date;
|
|
26
14
|
}
|
|
@@ -4,6 +4,7 @@ import { ISupervision } from './ISupervision';
|
|
|
4
4
|
import { IPrestation } from './IPrestation';
|
|
5
5
|
import { IGedFile } from './IGedFile';
|
|
6
6
|
import { IFile } from './IFile';
|
|
7
|
+
import { ICard } from './ICard';
|
|
7
8
|
import { IBalanceSheetHistory } from './IBalanceSheetHistory';
|
|
8
9
|
import { IAdditionalBalance } from './IAdditionalBalance';
|
|
9
10
|
|
|
@@ -23,6 +24,7 @@ export interface IBalanceSheet {
|
|
|
23
24
|
bankCollectingState?: number;
|
|
24
25
|
idExercice?: number;
|
|
25
26
|
idCalendarEvent?: number;
|
|
27
|
+
idCard?: number;
|
|
26
28
|
createdAt?: Date;
|
|
27
29
|
updatedAt?: Date;
|
|
28
30
|
|
|
@@ -33,6 +35,7 @@ export interface IBalanceSheet {
|
|
|
33
35
|
prestations?: IPrestation[];
|
|
34
36
|
gedFiles?: IGedFile[];
|
|
35
37
|
file?: IFile;
|
|
38
|
+
card?: ICard;
|
|
36
39
|
balanceSheetHistories?: IBalanceSheetHistory[];
|
|
37
40
|
additionalBalance?: IAdditionalBalance;
|
|
38
41
|
}
|
|
@@ -6,6 +6,7 @@ import { ICalendarEvent } from './ICalendarEvent';
|
|
|
6
6
|
import { ICustomerVat } from './ICustomerVat';
|
|
7
7
|
import { ICardHistory } from './ICardHistory';
|
|
8
8
|
import { IComment } from './IComment';
|
|
9
|
+
import { ITeam } from './ITeam';
|
|
9
10
|
import { IChecklist } from './IChecklist';
|
|
10
11
|
import { ICustomerIsRegime } from './ICustomerIsRegime';
|
|
11
12
|
import { IExercice } from './IExercice';
|
|
@@ -14,8 +15,12 @@ export interface ICard {
|
|
|
14
15
|
id?: number;
|
|
15
16
|
type: CardType;
|
|
16
17
|
state: CardState;
|
|
18
|
+
isManual: boolean;
|
|
19
|
+
isBlocked: boolean;
|
|
17
20
|
priority?: number | null;
|
|
21
|
+
plannedAt?: Date | null;
|
|
18
22
|
idUser?: number | null;
|
|
23
|
+
idTeam?: number | null;
|
|
19
24
|
idSociety: number;
|
|
20
25
|
idBalanceSheet?: number | null;
|
|
21
26
|
idCustomerVat?: number | null;
|
|
@@ -28,13 +33,28 @@ export interface ICard {
|
|
|
28
33
|
|
|
29
34
|
// Associations
|
|
30
35
|
user?: IUser;
|
|
36
|
+
team?: ITeam;
|
|
31
37
|
society?: ISociety;
|
|
32
38
|
balancesheet?: IBalanceSheet;
|
|
33
39
|
vat?: ICustomerVat;
|
|
34
40
|
customerIsRegime?: ICustomerIsRegime;
|
|
35
41
|
checklist?: IChecklist;
|
|
36
42
|
exercice?: IExercice;
|
|
43
|
+
/**
|
|
44
|
+
* @deprecated old relationship with balance sheet
|
|
45
|
+
*/
|
|
46
|
+
balanceSheet?: IBalanceSheet;
|
|
47
|
+
/**
|
|
48
|
+
* @deprecated old relationship with customer vat
|
|
49
|
+
*/
|
|
50
|
+
customerVat?: ICustomerVat;
|
|
37
51
|
events?: ICalendarEvent[];
|
|
38
52
|
history?: ICardHistory[];
|
|
39
53
|
comment?: IComment;
|
|
40
54
|
}
|
|
55
|
+
|
|
56
|
+
export interface CardAnnotedTransaction {
|
|
57
|
+
total: number;
|
|
58
|
+
nbAnnoted: number;
|
|
59
|
+
rate: number;
|
|
60
|
+
}
|
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
import { CardState } from '../../Enum/Card';
|
|
2
2
|
import { IUser } from './IUser';
|
|
3
3
|
import { ICard } from './ICard';
|
|
4
|
+
import { ITeam } from './ITeam';
|
|
4
5
|
|
|
5
6
|
export interface ICardHistory {
|
|
6
7
|
id?: number;
|
|
7
8
|
state: CardState;
|
|
9
|
+
plannedAt: Date;
|
|
8
10
|
idUserWhoChanged: number;
|
|
9
11
|
idUserOrigin?: number;
|
|
12
|
+
idTeamOrigin?: number;
|
|
10
13
|
idCard: number;
|
|
11
14
|
createdAt?: Date;
|
|
12
15
|
updatedAt?: Date;
|
|
@@ -14,5 +17,6 @@ export interface ICardHistory {
|
|
|
14
17
|
// Associations
|
|
15
18
|
userWhoChanged?: Partial<IUser>;
|
|
16
19
|
userOrigin?: Partial<IUser>;
|
|
20
|
+
teamOrigin?: Partial<ITeam>;
|
|
17
21
|
card?: ICard;
|
|
18
22
|
}
|