@silexpert/core 0.4.286 → 1.0.5
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/CHANGELOG.md +0 -17
- package/es/api/resources/BudgetInsight.d.ts +7 -0
- package/es/api/resources/BudgetInsight.d.ts.map +1 -1
- package/es/api/resources/BudgetInsight.js +8 -0
- package/es/api/resources/BudgetInsight.js.map +1 -1
- package/es/api/resources/CalendarEvent.d.ts +1 -2
- package/es/api/resources/CalendarEvent.d.ts.map +1 -1
- package/es/api/resources/CalendarEvent.js +2 -2
- package/es/api/resources/CalendarEvent.js.map +1 -1
- package/es/api/resources/CommercialSetting.d.ts +7 -0
- package/es/api/resources/CommercialSetting.d.ts.map +1 -0
- package/es/api/resources/CommercialSetting.js +10 -0
- package/es/api/resources/CommercialSetting.js.map +1 -0
- package/es/api/resources/Connector.d.ts +4 -1
- package/es/api/resources/Connector.d.ts.map +1 -1
- package/es/api/resources/Connector.js +9 -0
- package/es/api/resources/Connector.js.map +1 -1
- package/es/api/resources/Dashboard.d.ts +1 -2
- package/es/api/resources/Dashboard.d.ts.map +1 -1
- package/es/api/resources/Dashboard.js +0 -3
- package/es/api/resources/Dashboard.js.map +1 -1
- package/es/api/resources/Exercice.d.ts +0 -1
- package/es/api/resources/Exercice.d.ts.map +1 -1
- package/es/api/resources/Exercice.js +0 -3
- package/es/api/resources/Exercice.js.map +1 -1
- package/es/api/resources/FecFile.d.ts +0 -6
- package/es/api/resources/FecFile.d.ts.map +1 -1
- package/es/api/resources/FecFile.js +6 -26
- package/es/api/resources/FecFile.js.map +1 -1
- package/es/api/resources/GeneralLedger.d.ts +1 -1
- package/es/api/resources/GeneralLedger.d.ts.map +1 -1
- package/es/api/resources/GeneralLedger.js +2 -2
- package/es/api/resources/GeneralLedger.js.map +1 -1
- package/es/api/resources/Invoice.d.ts +11 -0
- package/es/api/resources/Invoice.d.ts.map +1 -0
- package/es/api/resources/Invoice.js +19 -0
- package/es/api/resources/Invoice.js.map +1 -0
- package/es/api/resources/Loan.js +1 -1
- package/es/api/resources/Loan.js.map +1 -1
- package/es/api/resources/Mail.d.ts +1 -1
- package/es/api/resources/Mail.d.ts.map +1 -1
- package/es/api/resources/Mail.js +3 -4
- package/es/api/resources/Mail.js.map +1 -1
- package/es/api/resources/Partner.d.ts +0 -1
- package/es/api/resources/Partner.d.ts.map +1 -1
- package/es/api/resources/Partner.js +0 -3
- package/es/api/resources/Partner.js.map +1 -1
- package/es/api/resources/Qonto.d.ts +1 -6
- package/es/api/resources/Qonto.d.ts.map +1 -1
- package/es/api/resources/Qonto.js +1 -16
- package/es/api/resources/Qonto.js.map +1 -1
- package/es/api/resources/User.d.ts +2 -2
- package/es/api/resources/User.d.ts.map +1 -1
- package/es/api/resources/User.js +11 -2
- package/es/api/resources/User.js.map +1 -1
- package/es/api/resources/commercialDocument.d.ts +18 -0
- package/es/api/resources/commercialDocument.d.ts.map +1 -0
- package/es/api/resources/commercialDocument.js +41 -0
- package/es/api/resources/commercialDocument.js.map +1 -0
- package/es/api/resources/reminder.d.ts +8 -0
- package/es/api/resources/reminder.d.ts.map +1 -0
- package/es/api/resources/reminder.js +13 -0
- package/es/api/resources/reminder.js.map +1 -0
- package/es/api/resources.d.ts +8 -16
- package/es/api/resources.d.ts.map +1 -1
- package/es/api/resources.js +8 -16
- package/es/api/resources.js.map +1 -1
- package/es/index.d.ts +1 -0
- package/es/index.d.ts.map +1 -1
- package/es/index.js +1 -0
- package/es/index.js.map +1 -1
- package/es/types/Enum/Account.d.ts +8 -0
- package/es/types/Enum/Account.d.ts.map +1 -1
- package/es/types/Enum/Account.js +8 -0
- package/es/types/Enum/Account.js.map +1 -1
- package/es/types/Enum/BrandClementine.d.ts +1 -12
- package/es/types/Enum/BrandClementine.d.ts.map +1 -1
- package/es/types/Enum/BrandClementine.js +1 -10
- package/es/types/Enum/BrandClementine.js.map +1 -1
- package/es/types/Enum/BrandComptalib.d.ts +0 -87
- package/es/types/Enum/BrandComptalib.d.ts.map +1 -1
- package/es/types/Enum/BrandComptalib.js +4 -13
- package/es/types/Enum/BrandComptalib.js.map +1 -1
- package/es/types/Enum/BrandLegalstart.d.ts +0 -3
- package/es/types/Enum/BrandLegalstart.d.ts.map +1 -1
- package/es/types/Enum/BrandLegalstart.js +0 -3
- package/es/types/Enum/BrandLegalstart.js.map +1 -1
- package/es/types/Enum/BrandPourcentage.d.ts +0 -4
- package/es/types/Enum/BrandPourcentage.d.ts.map +1 -1
- package/es/types/Enum/BrandPourcentage.js +3 -7
- package/es/types/Enum/BrandPourcentage.js.map +1 -1
- package/es/types/Enum/BudgetInsight.js.map +1 -1
- package/es/types/Enum/CommercialManagement.d.ts +32 -0
- package/es/types/Enum/CommercialManagement.d.ts.map +1 -0
- package/es/types/Enum/CommercialManagement.js +39 -0
- package/es/types/Enum/CommercialManagement.js.map +1 -0
- package/es/types/Enum/EstimateInvoice.d.ts +1 -1
- package/es/types/Enum/EstimateInvoice.d.ts.map +1 -1
- package/es/types/Enum/EstimateInvoice.js +1 -1
- package/es/types/Enum/EstimateInvoice.js.map +1 -1
- package/es/types/Enum/Log.d.ts +1 -2
- package/es/types/Enum/Log.d.ts.map +1 -1
- package/es/types/Enum/Log.js +0 -1
- package/es/types/Enum/Log.js.map +1 -1
- package/es/types/Enum/{PrestationType.d.ts → Prestation.d.ts} +3 -4
- package/es/types/Enum/Prestation.d.ts.map +1 -0
- package/es/types/Enum/Prestation.js +16 -0
- package/es/types/Enum/Prestation.js.map +1 -0
- package/es/types/Enum/Role.d.ts +11 -6
- package/es/types/Enum/Role.d.ts.map +1 -1
- package/es/types/Enum/Role.js +10 -15
- package/es/types/Enum/Role.js.map +1 -1
- package/es/types/Enum/RoleDetail.d.ts +51 -42
- package/es/types/Enum/RoleDetail.d.ts.map +1 -1
- package/es/types/Enum/RoleDetail.js +64 -127
- package/es/types/Enum/RoleDetail.js.map +1 -1
- package/es/types/Enum/SheetMonthScheduleDetailType.js +1 -1
- package/es/types/Enum/SheetMonthScheduleDetailType.js.map +1 -1
- package/es/types/Enum/TaskResponseType.d.ts +0 -9
- package/es/types/Enum/TaskResponseType.d.ts.map +1 -1
- package/es/types/Enum/TaskResponseType.js +2 -57
- package/es/types/Enum/TaskResponseType.js.map +1 -1
- package/es/types/Enum/TimeCounterType.d.ts +12 -40
- package/es/types/Enum/TimeCounterType.d.ts.map +1 -1
- package/es/types/Enum/TimeCounterType.js +19 -47
- package/es/types/Enum/TimeCounterType.js.map +1 -1
- package/es/types/Enum/Vat.d.ts +1 -17
- package/es/types/Enum/Vat.d.ts.map +1 -1
- package/es/types/Enum/Vat.js +26 -24
- package/es/types/Enum/Vat.js.map +1 -1
- package/es/types/Interface/api/3cx/Query3cxSearch.d.ts +0 -1
- package/es/types/Interface/api/3cx/Query3cxSearch.d.ts.map +1 -1
- package/es/types/Interface/api/3cx/Query3cxSearch.js +0 -6
- package/es/types/Interface/api/3cx/Query3cxSearch.js.map +1 -1
- package/es/types/Interface/api/calendarEvent/getAllCalendarEvent.js.map +1 -1
- package/es/types/Interface/api/calendarEvent/readAllCalendarEvent.d.ts +0 -1
- package/es/types/Interface/api/calendarEvent/readAllCalendarEvent.d.ts.map +1 -1
- package/es/types/Interface/api/calendarEvent/readAllCalendarEvent.js.map +1 -1
- package/es/types/Interface/api/commercialManagement/Create.d.ts +107 -0
- package/es/types/Interface/api/commercialManagement/Create.d.ts.map +1 -0
- package/es/types/Interface/api/commercialManagement/Create.js +496 -0
- package/es/types/Interface/api/commercialManagement/Create.js.map +1 -0
- package/es/types/Interface/api/commercialManagement/Query.d.ts +45 -0
- package/es/types/Interface/api/commercialManagement/Query.d.ts.map +1 -0
- package/es/types/Interface/api/commercialManagement/Query.js +121 -0
- package/es/types/Interface/api/commercialManagement/Query.js.map +1 -0
- package/es/types/Interface/api/commercialManagement/Read.d.ts +60 -0
- package/es/types/Interface/api/commercialManagement/Read.d.ts.map +1 -0
- package/es/types/Interface/api/commercialManagement/Read.js +2 -0
- package/es/types/Interface/api/commercialManagement/Read.js.map +1 -0
- package/es/types/Interface/api/commercialManagement/Update.d.ts +16 -0
- package/es/types/Interface/api/commercialManagement/Update.d.ts.map +1 -0
- package/es/types/Interface/api/{societyConfig/update.js → commercialManagement/Update.js} +21 -61
- package/es/types/Interface/api/commercialManagement/Update.js.map +1 -0
- package/es/types/Interface/api/connector/CreateConnector.d.ts +13 -0
- package/es/types/Interface/api/connector/CreateConnector.d.ts.map +1 -0
- package/es/types/Interface/api/connector/CreateConnector.js +68 -0
- package/es/types/Interface/api/connector/CreateConnector.js.map +1 -0
- package/es/types/Interface/api/connector/QueryConnector.d.ts +7 -0
- package/es/types/Interface/api/connector/QueryConnector.d.ts.map +1 -0
- package/es/types/Interface/api/{qonto/ProcessBankAccount.js → connector/QueryConnector.js} +10 -7
- package/es/types/Interface/api/connector/QueryConnector.js.map +1 -0
- package/es/types/Interface/api/dashboard/ReadGescom.d.ts +2 -3
- package/es/types/Interface/api/dashboard/ReadGescom.d.ts.map +1 -1
- package/es/types/Interface/api/dashboard/ReadGescom.js.map +1 -1
- package/es/types/Interface/api/generalLedger/QueryGeneralLedger.d.ts +0 -1
- package/es/types/Interface/api/generalLedger/QueryGeneralLedger.d.ts.map +1 -1
- package/es/types/Interface/api/generalLedger/QueryGeneralLedger.js +1 -7
- package/es/types/Interface/api/generalLedger/QueryGeneralLedger.js.map +1 -1
- package/es/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.d.ts +0 -1
- package/es/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.d.ts.map +1 -1
- package/es/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.js +1 -7
- package/es/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.js.map +1 -1
- package/es/types/Interface/api/mail/QueryCountUnprocessedByUserMail.d.ts +1 -2
- package/es/types/Interface/api/mail/QueryCountUnprocessedByUserMail.d.ts.map +1 -1
- package/es/types/Interface/api/mail/QueryCountUnprocessedByUserMail.js +2 -8
- package/es/types/Interface/api/mail/QueryCountUnprocessedByUserMail.js.map +1 -1
- package/es/types/Interface/api/mail/QueryPaginatedMail.d.ts +1 -2
- package/es/types/Interface/api/mail/QueryPaginatedMail.d.ts.map +1 -1
- package/es/types/Interface/api/mail/QueryPaginatedMail.js +1 -7
- package/es/types/Interface/api/mail/QueryPaginatedMail.js.map +1 -1
- package/es/types/Interface/api/product/CreateProduct.d.ts +1 -0
- package/es/types/Interface/api/product/CreateProduct.d.ts.map +1 -1
- package/es/types/Interface/api/product/CreateProduct.js +9 -6
- package/es/types/Interface/api/product/CreateProduct.js.map +1 -1
- package/es/types/Interface/api/product/QueryProduct.d.ts +2 -0
- package/es/types/Interface/api/product/QueryProduct.d.ts.map +1 -1
- package/es/types/Interface/api/product/QueryProduct.js +15 -1
- package/es/types/Interface/api/product/QueryProduct.js.map +1 -1
- package/es/types/Interface/api/revision/QueryRevision.d.ts +0 -2
- package/es/types/Interface/api/revision/QueryRevision.d.ts.map +1 -1
- package/es/types/Interface/api/revision/QueryRevision.js +2 -16
- package/es/types/Interface/api/revision/QueryRevision.js.map +1 -1
- package/es/types/Interface/api/revision/QueryRevisionAccount.d.ts +1 -1
- package/es/types/Interface/api/revision/QueryRevisionAccount.d.ts.map +1 -1
- package/es/types/Interface/api/revision/QueryRevisionAccount.js +5 -11
- package/es/types/Interface/api/revision/QueryRevisionAccount.js.map +1 -1
- package/es/types/Interface/api/revision/QueryRevisionPaginate.d.ts +0 -2
- package/es/types/Interface/api/revision/QueryRevisionPaginate.d.ts.map +1 -1
- package/es/types/Interface/api/revision/QueryRevisionPaginate.js +2 -16
- package/es/types/Interface/api/revision/QueryRevisionPaginate.js.map +1 -1
- package/es/types/Interface/api/revision/QueryRevisionSearchEntries.d.ts +1 -1
- package/es/types/Interface/api/revision/QueryRevisionSearchEntries.d.ts.map +1 -1
- package/es/types/Interface/api/revision/QueryRevisionSearchEntries.js.map +1 -1
- package/es/types/Interface/api/revision/ReadRevision.d.ts +1 -2
- package/es/types/Interface/api/revision/ReadRevision.d.ts.map +1 -1
- package/es/types/Interface/api/revision/ReadRevision.js.map +1 -1
- package/es/types/Interface/api/simulation/CreateSimulation.d.ts +0 -2
- package/es/types/Interface/api/simulation/CreateSimulation.d.ts.map +1 -1
- package/es/types/Interface/api/simulation/CreateSimulation.js.map +1 -1
- package/es/types/Interface/api/task/QueryCountTask.d.ts +1 -1
- package/es/types/Interface/api/task/QueryCountTask.d.ts.map +1 -1
- package/es/types/Interface/api/task/QueryCountTask.js +1 -1
- package/es/types/Interface/api/task/QueryCountTask.js.map +1 -1
- package/es/types/Interface/api/task/QueryPaginatedTask.d.ts +0 -2
- package/es/types/Interface/api/task/QueryPaginatedTask.d.ts.map +1 -1
- package/es/types/Interface/api/task/QueryPaginatedTask.js +0 -11
- package/es/types/Interface/api/task/QueryPaginatedTask.js.map +1 -1
- package/es/types/Interface/api/thirdParty/QueryThirdParty.d.ts +0 -1
- package/es/types/Interface/api/thirdParty/QueryThirdParty.d.ts.map +1 -1
- package/es/types/Interface/api/thirdParty/QueryThirdParty.js +1 -7
- package/es/types/Interface/api/thirdParty/QueryThirdParty.js.map +1 -1
- package/es/types/Interface/api/user/ParamsGetAllCollaborators.d.ts +0 -1
- package/es/types/Interface/api/user/ParamsGetAllCollaborators.d.ts.map +1 -1
- package/es/types/Interface/api/user/ParamsGetAllCollaborators.js +1 -10
- package/es/types/Interface/api/user/ParamsGetAllCollaborators.js.map +1 -1
- package/es/types/Interface/api/user/QueryGetAllCollaborators.d.ts +0 -1
- package/es/types/Interface/api/user/QueryGetAllCollaborators.d.ts.map +1 -1
- package/es/types/Interface/api/user/QueryGetAllCollaborators.js +1 -11
- package/es/types/Interface/api/user/QueryGetAllCollaborators.js.map +1 -1
- package/es/types/Interface/models/IAccount.d.ts +0 -2
- package/es/types/Interface/models/IAccount.d.ts.map +1 -1
- package/es/types/Interface/models/IAccount.js.map +1 -1
- package/es/types/Interface/models/IAccountingTransaction.d.ts +1 -1
- package/es/types/Interface/models/IAccountingTransaction.d.ts.map +1 -1
- package/es/types/Interface/models/IAccountingTransaction.js.map +1 -1
- package/es/types/Interface/models/IApiError.d.ts +4 -2
- package/es/types/Interface/models/IApiError.d.ts.map +1 -1
- package/es/types/Interface/models/IApiError.js +4 -2
- package/es/types/Interface/models/IApiError.js.map +1 -1
- package/es/types/Interface/models/IAttributionHistory.d.ts +4 -4
- package/es/types/Interface/models/IAttributionHistory.d.ts.map +1 -1
- package/es/types/Interface/models/IAttributionHistory.js.map +1 -1
- package/es/types/Interface/models/ICommercialMail.d.ts +14 -0
- package/es/types/Interface/models/ICommercialMail.d.ts.map +1 -0
- package/es/types/Interface/models/ICommercialMail.js +2 -0
- package/es/types/Interface/models/ICommercialMail.js.map +1 -0
- package/es/types/Interface/models/IEngagementBankTransaction.d.ts +2 -0
- package/es/types/Interface/models/IEngagementBankTransaction.d.ts.map +1 -1
- package/es/types/Interface/models/IEngagementBankTransaction.js.map +1 -1
- package/es/types/Interface/models/IEstimateInvoice.d.ts +24 -28
- package/es/types/Interface/models/IEstimateInvoice.d.ts.map +1 -1
- package/es/types/Interface/models/IEstimateInvoice.js.map +1 -1
- package/es/types/Interface/models/IExercice.d.ts +0 -1
- package/es/types/Interface/models/IExercice.d.ts.map +1 -1
- package/es/types/Interface/models/IExercice.js.map +1 -1
- package/es/types/Interface/models/{ISocietyRelance.d.ts → IInvoiceReminder.d.ts} +8 -8
- package/es/types/Interface/models/IInvoiceReminder.d.ts.map +1 -0
- package/es/types/Interface/models/IInvoiceReminder.js +2 -0
- package/es/types/Interface/models/IInvoiceReminder.js.map +1 -0
- package/es/types/Interface/models/ILegalNotice.d.ts +0 -1
- package/es/types/Interface/models/ILegalNotice.d.ts.map +1 -1
- package/es/types/Interface/models/ILegalNotice.js.map +1 -1
- package/es/types/Interface/models/ILoan.d.ts +0 -2
- package/es/types/Interface/models/ILoan.d.ts.map +1 -1
- package/es/types/Interface/models/ILoan.js.map +1 -1
- package/es/types/Interface/models/IPartnerTransaction.d.ts +1 -0
- package/es/types/Interface/models/IPartnerTransaction.d.ts.map +1 -1
- package/es/types/Interface/models/IPartnerTransaction.js.map +1 -1
- package/es/types/Interface/models/IPaymentExpectation.d.ts +0 -1
- package/es/types/Interface/models/IPaymentExpectation.d.ts.map +1 -1
- package/es/types/Interface/models/IPaymentExpectation.js.map +1 -1
- package/es/types/Interface/models/IPrestationComplementary.d.ts +1 -1
- package/es/types/Interface/models/IPrestationComplementary.d.ts.map +1 -1
- package/es/types/Interface/models/IPrestationComplementary.js.map +1 -1
- package/es/types/Interface/models/IProduct.d.ts +1 -0
- package/es/types/Interface/models/IProduct.d.ts.map +1 -1
- package/es/types/Interface/models/IProduct.js.map +1 -1
- package/es/types/Interface/models/IProductInvoice.d.ts +5 -3
- package/es/types/Interface/models/IProductInvoice.d.ts.map +1 -1
- package/es/types/Interface/models/IProductInvoice.js.map +1 -1
- package/es/types/Interface/models/ISociety.d.ts +1 -2
- package/es/types/Interface/models/ISociety.d.ts.map +1 -1
- package/es/types/Interface/models/ISociety.js.map +1 -1
- package/es/types/Interface/models/ISocietyGescom.d.ts +13 -1
- package/es/types/Interface/models/ISocietyGescom.d.ts.map +1 -1
- package/es/types/Interface/models/ISocietyGescom.js.map +1 -1
- package/es/types/Interface/models/ISocietyPartner.d.ts +1 -2
- package/es/types/Interface/models/ISocietyPartner.d.ts.map +1 -1
- package/es/types/Interface/models/ISocietyPartner.js.map +1 -1
- package/es/types/Interface/models/ITask.d.ts +2 -2
- package/es/types/Interface/models/ITask.d.ts.map +1 -1
- package/es/types/Interface/models/ITask.js.map +1 -1
- package/es/types/index.d.ts +11 -35
- package/es/types/index.d.ts.map +1 -1
- package/es/types/index.js +11 -35
- package/es/types/index.js.map +1 -1
- package/es/utils/amount.d.ts +2 -0
- package/es/utils/amount.d.ts.map +1 -0
- package/es/utils/amount.js +12 -0
- package/es/utils/amount.js.map +1 -0
- package/es/utils/brands.d.ts +1 -1
- package/es/utils/brands.d.ts.map +1 -1
- package/es/utils/brands.js +26 -8
- package/es/utils/brands.js.map +1 -1
- package/es/utils/commercialManagement/document.d.ts +6 -0
- package/es/utils/commercialManagement/document.d.ts.map +1 -0
- package/es/utils/commercialManagement/document.js +54 -0
- package/es/utils/commercialManagement/document.js.map +1 -0
- package/es/utils/commercialManagement/product.d.ts +5 -0
- package/es/utils/commercialManagement/product.d.ts.map +1 -0
- package/es/utils/commercialManagement/product.js +27 -0
- package/es/utils/commercialManagement/product.js.map +1 -0
- package/es/utils/commercialManagement/templates/body.d.ts +2 -0
- package/es/utils/commercialManagement/templates/body.d.ts.map +1 -0
- package/es/utils/commercialManagement/templates/body.js +111 -0
- package/es/utils/commercialManagement/templates/body.js.map +1 -0
- package/es/utils/commercialManagement/templates/common.d.ts +12 -0
- package/es/utils/commercialManagement/templates/common.d.ts.map +1 -0
- package/es/utils/commercialManagement/templates/common.js +199 -0
- package/es/utils/commercialManagement/templates/common.js.map +1 -0
- package/es/utils/commercialManagement/vat.d.ts +6 -0
- package/es/utils/commercialManagement/vat.d.ts.map +1 -0
- package/es/utils/commercialManagement/vat.js +22 -0
- package/es/utils/commercialManagement/vat.js.map +1 -0
- package/es/utils/index.d.ts +2 -0
- package/es/utils/index.d.ts.map +1 -1
- package/es/utils/index.js +2 -0
- package/es/utils/index.js.map +1 -1
- package/es/utils/task.d.ts +2 -3
- package/es/utils/task.d.ts.map +1 -1
- package/es/utils/task.js +19 -23
- package/es/utils/task.js.map +1 -1
- package/es/utils/webmail.d.ts.map +1 -1
- package/es/utils/webmail.js +4 -1
- package/es/utils/webmail.js.map +1 -1
- package/importInterfaces.ts +1 -1
- package/js/api/resources/BudgetInsight.js +10 -0
- package/js/api/resources/BudgetInsight.js.map +1 -1
- package/js/api/resources/CalendarEvent.js +3 -5
- package/js/api/resources/CalendarEvent.js.map +1 -1
- package/js/api/resources/CommercialSetting.js +22 -0
- package/js/api/resources/CommercialSetting.js.map +1 -0
- package/js/api/resources/Connector.js +14 -0
- package/js/api/resources/Connector.js.map +1 -1
- package/js/api/resources/Dashboard.js +0 -6
- package/js/api/resources/Dashboard.js.map +1 -1
- package/js/api/resources/Exercice.js +0 -4
- package/js/api/resources/Exercice.js.map +1 -1
- package/js/api/resources/FecFile.js +6 -34
- package/js/api/resources/FecFile.js.map +1 -1
- package/js/api/resources/GeneralLedger.js +2 -2
- package/js/api/resources/GeneralLedger.js.map +1 -1
- package/js/api/resources/Invoice.js +42 -0
- package/js/api/resources/Invoice.js.map +1 -0
- package/js/api/resources/Loan.js +1 -1
- package/js/api/resources/Loan.js.map +1 -1
- package/js/api/resources/Mail.js +3 -4
- package/js/api/resources/Mail.js.map +1 -1
- package/js/api/resources/Partner.js +0 -4
- package/js/api/resources/Partner.js.map +1 -1
- package/js/api/resources/Qonto.js +1 -23
- package/js/api/resources/Qonto.js.map +1 -1
- package/js/api/resources/User.js +3 -5
- package/js/api/resources/User.js.map +1 -1
- package/js/api/resources/commercialDocument.js +74 -0
- package/js/api/resources/commercialDocument.js.map +1 -0
- package/js/api/resources/reminder.js +26 -0
- package/js/api/resources/reminder.js.map +1 -0
- package/js/api/resources.js +9 -21
- package/js/api/resources.js.map +1 -1
- package/js/index.js +12 -0
- package/js/index.js.map +1 -1
- package/js/types/Enum/Account.js +8 -0
- package/js/types/Enum/Account.js.map +1 -1
- package/js/types/Enum/BrandClementine.js +1 -10
- package/js/types/Enum/BrandClementine.js.map +1 -1
- package/js/types/Enum/BrandComptalib.js +5 -14
- package/js/types/Enum/BrandComptalib.js.map +1 -1
- package/js/types/Enum/BrandLegalstart.js +0 -3
- package/js/types/Enum/BrandLegalstart.js.map +1 -1
- package/js/types/Enum/BrandPourcentage.js +3 -7
- package/js/types/Enum/BrandPourcentage.js.map +1 -1
- package/js/types/Enum/BudgetInsight.js.map +1 -1
- package/js/types/Enum/CommercialManagement.js +67 -0
- package/js/types/Enum/CommercialManagement.js.map +1 -0
- package/js/types/Enum/EstimateInvoice.js +1 -1
- package/js/types/Enum/EstimateInvoice.js.map +1 -1
- package/js/types/Enum/Log.js +0 -1
- package/js/types/Enum/Log.js.map +1 -1
- package/js/types/Enum/Prestation.js +22 -0
- package/js/types/Enum/Prestation.js.map +1 -0
- package/js/types/Enum/Role.js +13 -18
- package/js/types/Enum/Role.js.map +1 -1
- package/js/types/Enum/RoleDetail.js +86 -149
- package/js/types/Enum/RoleDetail.js.map +1 -1
- package/js/types/Enum/SheetMonthScheduleDetailType.js +1 -1
- package/js/types/Enum/SheetMonthScheduleDetailType.js.map +1 -1
- package/js/types/Enum/TaskResponseType.js +3 -56
- package/js/types/Enum/TaskResponseType.js.map +1 -1
- package/js/types/Enum/TimeCounterType.js +40 -68
- package/js/types/Enum/TimeCounterType.js.map +1 -1
- package/js/types/Enum/Vat.js +46 -45
- package/js/types/Enum/Vat.js.map +1 -1
- package/js/types/Interface/api/3cx/Query3cxSearch.js +0 -2
- package/js/types/Interface/api/3cx/Query3cxSearch.js.map +1 -1
- package/js/types/Interface/api/calendarEvent/getAllCalendarEvent.js.map +1 -1
- package/js/types/Interface/api/commercialManagement/Create.js +235 -0
- package/js/types/Interface/api/commercialManagement/Create.js.map +1 -0
- package/js/types/Interface/api/commercialManagement/Query.js +79 -0
- package/js/types/Interface/api/commercialManagement/Query.js.map +1 -0
- package/js/types/Interface/api/{qonto/Query.js → commercialManagement/Read.js} +1 -1
- package/js/types/Interface/api/commercialManagement/Read.js.map +1 -0
- package/js/types/Interface/api/commercialManagement/Update.js +55 -0
- package/js/types/Interface/api/commercialManagement/Update.js.map +1 -0
- package/js/types/Interface/api/connector/CreateConnector.js +47 -0
- package/js/types/Interface/api/connector/CreateConnector.js.map +1 -0
- package/js/types/Interface/api/{qonto/ProcessBankAccount.js → connector/QueryConnector.js} +10 -6
- package/js/types/Interface/api/connector/QueryConnector.js.map +1 -0
- package/js/types/Interface/api/dashboard/ReadGescom.js.map +1 -1
- package/js/types/Interface/api/generalLedger/QueryGeneralLedger.js +0 -2
- package/js/types/Interface/api/generalLedger/QueryGeneralLedger.js.map +1 -1
- package/js/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.js +0 -2
- package/js/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.js.map +1 -1
- package/js/types/Interface/api/mail/QueryCountUnprocessedByUserMail.js +1 -5
- package/js/types/Interface/api/mail/QueryCountUnprocessedByUserMail.js.map +1 -1
- package/js/types/Interface/api/mail/QueryPaginatedMail.js +1 -3
- package/js/types/Interface/api/mail/QueryPaginatedMail.js.map +1 -1
- package/js/types/Interface/api/product/CreateProduct.js +5 -5
- package/js/types/Interface/api/product/CreateProduct.js.map +1 -1
- package/js/types/Interface/api/product/QueryProduct.js +6 -0
- package/js/types/Interface/api/product/QueryProduct.js.map +1 -1
- package/js/types/Interface/api/revision/QueryRevision.js +0 -6
- package/js/types/Interface/api/revision/QueryRevision.js.map +1 -1
- package/js/types/Interface/api/revision/QueryRevisionAccount.js +5 -7
- package/js/types/Interface/api/revision/QueryRevisionAccount.js.map +1 -1
- package/js/types/Interface/api/revision/QueryRevisionPaginate.js +0 -6
- package/js/types/Interface/api/revision/QueryRevisionPaginate.js.map +1 -1
- package/js/types/Interface/api/revision/QueryRevisionSearchEntries.js.map +1 -1
- package/js/types/Interface/api/simulation/CreateSimulation.js.map +1 -1
- package/js/types/Interface/api/task/QueryCountTask.js +1 -1
- package/js/types/Interface/api/task/QueryCountTask.js.map +1 -1
- package/js/types/Interface/api/task/QueryPaginatedTask.js +0 -6
- package/js/types/Interface/api/task/QueryPaginatedTask.js.map +1 -1
- package/js/types/Interface/api/thirdParty/QueryThirdParty.js +0 -2
- package/js/types/Interface/api/thirdParty/QueryThirdParty.js.map +1 -1
- package/js/types/Interface/api/user/ParamsGetAllCollaborators.js +0 -6
- package/js/types/Interface/api/user/ParamsGetAllCollaborators.js.map +1 -1
- package/js/types/Interface/api/user/QueryGetAllCollaborators.js +0 -8
- package/js/types/Interface/api/user/QueryGetAllCollaborators.js.map +1 -1
- package/js/types/Interface/models/IApiError.js +5 -3
- package/js/types/Interface/models/IApiError.js.map +1 -1
- package/js/types/Interface/models/{IStatistic.js → ICommercialMail.js} +1 -1
- package/js/types/Interface/models/ICommercialMail.js.map +1 -0
- package/js/types/Interface/{api/dashboard/ReadVatDisbursed.js → models/IInvoiceReminder.js} +1 -1
- package/js/types/Interface/models/IInvoiceReminder.js.map +1 -0
- package/js/types/index.js +64 -352
- package/js/types/index.js.map +1 -1
- package/js/utils/amount.js +23 -0
- package/js/utils/amount.js.map +1 -0
- package/js/utils/brands.js +26 -7
- package/js/utils/brands.js.map +1 -1
- package/js/utils/commercialManagement/document.js +148 -0
- package/js/utils/commercialManagement/document.js.map +1 -0
- package/js/utils/commercialManagement/product.js +56 -0
- package/js/utils/commercialManagement/product.js.map +1 -0
- package/js/utils/commercialManagement/templates/body.js +120 -0
- package/js/utils/commercialManagement/templates/body.js.map +1 -0
- package/js/utils/commercialManagement/templates/common.js +211 -0
- package/js/utils/commercialManagement/templates/common.js.map +1 -0
- package/js/utils/commercialManagement/vat.js +44 -0
- package/js/utils/commercialManagement/vat.js.map +1 -0
- package/js/utils/index.js +24 -0
- package/js/utils/index.js.map +1 -1
- package/js/utils/task.js +20 -29
- package/js/utils/task.js.map +1 -1
- package/js/utils/webmail.js +3 -1
- package/js/utils/webmail.js.map +1 -1
- package/package.json +3 -1
- package/ts/api/resources/BudgetInsight.ts +13 -0
- package/ts/api/resources/CalendarEvent.ts +2 -3
- package/ts/api/resources/CommercialSetting.ts +12 -0
- package/ts/api/resources/Connector.ts +16 -1
- package/ts/api/resources/Dashboard.ts +0 -6
- package/ts/api/resources/Exercice.ts +0 -4
- package/ts/api/resources/FecFile.ts +6 -32
- package/ts/api/resources/GeneralLedger.ts +2 -2
- package/ts/api/resources/Invoice.ts +39 -0
- package/ts/api/resources/Loan.ts +1 -1
- package/ts/api/resources/Mail.ts +3 -4
- package/ts/api/resources/Partner.ts +0 -4
- package/ts/api/resources/Qonto.ts +5 -27
- package/ts/api/resources/User.ts +12 -3
- package/ts/api/resources/commercialDocument.ts +66 -0
- package/ts/api/resources/reminder.ts +20 -0
- package/ts/api/resources.ts +8 -16
- package/ts/index.ts +1 -0
- package/ts/types/Enum/Account.ts +8 -0
- package/ts/types/Enum/BrandClementine.ts +1 -10
- package/ts/types/Enum/BrandComptalib.ts +4 -13
- package/ts/types/Enum/BrandLegalstart.ts +0 -3
- package/ts/types/Enum/BrandPourcentage.ts +3 -7
- package/ts/types/Enum/BudgetInsight.ts +1 -1
- package/ts/types/Enum/CommercialManagement.ts +38 -0
- package/ts/types/Enum/EstimateInvoice.ts +1 -1
- package/ts/types/Enum/Log.ts +0 -1
- package/ts/types/Enum/{PrestationType.ts → Prestation.ts} +1 -2
- package/ts/types/Enum/Role.ts +10 -15
- package/ts/types/Enum/RoleDetail.ts +64 -127
- package/ts/types/Enum/SheetMonthScheduleDetailType.ts +1 -1
- package/ts/types/Enum/TaskResponseType.ts +2 -57
- package/ts/types/Enum/TimeCounterType.ts +19 -47
- package/ts/types/Enum/Vat.ts +28 -25
- package/ts/types/Interface/api/3cx/Query3cxSearch.ts +0 -5
- package/ts/types/Interface/api/calendarEvent/getAllCalendarEvent.ts +1 -1
- package/ts/types/Interface/api/calendarEvent/readAllCalendarEvent.ts +0 -1
- package/ts/types/Interface/api/commercialManagement/Create.ts +423 -0
- package/ts/types/Interface/api/commercialManagement/Query.ts +115 -0
- package/ts/types/Interface/api/commercialManagement/Read.ts +64 -0
- package/ts/types/Interface/api/commercialManagement/Update.ts +72 -0
- package/ts/types/Interface/api/connector/CreateConnector.ts +51 -0
- package/ts/types/Interface/api/connector/QueryConnector.ts +16 -0
- package/ts/types/Interface/api/dashboard/ReadGescom.ts +2 -3
- package/ts/types/Interface/api/generalLedger/QueryGeneralLedger.ts +0 -6
- package/ts/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.ts +1 -6
- package/ts/types/Interface/api/mail/QueryCountUnprocessedByUserMail.ts +1 -7
- package/ts/types/Interface/api/mail/QueryPaginatedMail.ts +1 -6
- package/ts/types/Interface/api/product/CreateProduct.ts +8 -5
- package/ts/types/Interface/api/product/QueryProduct.ts +13 -0
- package/ts/types/Interface/api/revision/QueryRevision.ts +2 -15
- package/ts/types/Interface/api/revision/QueryRevisionAccount.ts +4 -11
- package/ts/types/Interface/api/revision/QueryRevisionPaginate.ts +2 -15
- package/ts/types/Interface/api/revision/QueryRevisionSearchEntries.ts +1 -1
- package/ts/types/Interface/api/revision/ReadRevision.ts +1 -2
- package/ts/types/Interface/api/simulation/CreateSimulation.ts +0 -2
- package/ts/types/Interface/api/task/QueryCountTask.ts +1 -1
- package/ts/types/Interface/api/task/QueryPaginatedTask.ts +0 -9
- package/ts/types/Interface/api/thirdParty/QueryThirdParty.ts +1 -8
- package/ts/types/Interface/api/user/ParamsGetAllCollaborators.ts +0 -9
- package/ts/types/Interface/api/user/QueryGetAllCollaborators.ts +1 -10
- package/ts/types/Interface/models/IAccount.ts +0 -2
- package/ts/types/Interface/models/IAccountingTransaction.ts +1 -1
- package/ts/types/Interface/models/IApiError.ts +5 -3
- package/ts/types/Interface/models/IAttributionHistory.ts +4 -4
- package/ts/types/Interface/models/ICommercialMail.ts +15 -0
- package/ts/types/Interface/models/IEngagementBankTransaction.ts +2 -0
- package/ts/types/Interface/models/IEstimateInvoice.ts +24 -28
- package/ts/types/Interface/models/IExercice.ts +0 -1
- package/ts/types/Interface/models/{ISocietyRelance.ts → IInvoiceReminder.ts} +7 -7
- package/ts/types/Interface/models/ILegalNotice.ts +0 -1
- package/ts/types/Interface/models/ILoan.ts +0 -2
- package/ts/types/Interface/models/IPartnerTransaction.ts +1 -0
- package/ts/types/Interface/models/IPaymentExpectation.ts +0 -1
- package/ts/types/Interface/models/IPrestationComplementary.ts +1 -1
- package/ts/types/Interface/models/IProduct.ts +1 -0
- package/ts/types/Interface/models/IProductInvoice.ts +5 -3
- package/ts/types/Interface/models/ISociety.ts +1 -2
- package/ts/types/Interface/models/ISocietyGescom.ts +14 -1
- package/ts/types/Interface/models/ISocietyPartner.ts +1 -2
- package/ts/types/Interface/models/ITask.ts +2 -2
- package/ts/types/index.ts +11 -35
- package/ts/utils/amount.ts +13 -0
- package/ts/utils/brands.ts +25 -7
- package/ts/utils/commercialManagement/document.ts +105 -0
- package/ts/utils/commercialManagement/product.ts +36 -0
- package/ts/utils/commercialManagement/templates/body.ts +113 -0
- package/ts/utils/commercialManagement/templates/common.ts +205 -0
- package/ts/utils/commercialManagement/vat.ts +24 -0
- package/ts/utils/index.ts +2 -0
- package/ts/utils/task.ts +16 -24
- package/ts/utils/webmail.ts +3 -1
- package/es/api/resources/LegalNotice.d.ts +0 -6
- package/es/api/resources/LegalNotice.d.ts.map +0 -1
- package/es/api/resources/LegalNotice.js +0 -7
- package/es/api/resources/LegalNotice.js.map +0 -1
- package/es/api/resources/PaymentExpectation.d.ts +0 -6
- package/es/api/resources/PaymentExpectation.d.ts.map +0 -1
- package/es/api/resources/PaymentExpectation.js +0 -7
- package/es/api/resources/PaymentExpectation.js.map +0 -1
- package/es/api/resources/SocietyConfig.d.ts +0 -7
- package/es/api/resources/SocietyConfig.d.ts.map +0 -1
- package/es/api/resources/SocietyConfig.js +0 -10
- package/es/api/resources/SocietyConfig.js.map +0 -1
- package/es/api/resources/TerminationList.d.ts +0 -7
- package/es/api/resources/TerminationList.d.ts.map +0 -1
- package/es/api/resources/TerminationList.js +0 -10
- package/es/api/resources/TerminationList.js.map +0 -1
- package/es/api/resources/Wallet.d.ts +0 -8
- package/es/api/resources/Wallet.d.ts.map +0 -1
- package/es/api/resources/Wallet.js +0 -7
- package/es/api/resources/Wallet.js.map +0 -1
- package/es/api/resources/statistic/Accountant.d.ts +0 -59
- package/es/api/resources/statistic/Accountant.d.ts.map +0 -1
- package/es/api/resources/statistic/Accountant.js +0 -86
- package/es/api/resources/statistic/Accountant.js.map +0 -1
- package/es/api/resources/statistic/Direction.d.ts +0 -11
- package/es/api/resources/statistic/Direction.d.ts.map +0 -1
- package/es/api/resources/statistic/Direction.js +0 -14
- package/es/api/resources/statistic/Direction.js.map +0 -1
- package/es/api/resources/statistic/ExpertAccountant.d.ts +0 -29
- package/es/api/resources/statistic/ExpertAccountant.d.ts.map +0 -1
- package/es/api/resources/statistic/ExpertAccountant.js +0 -41
- package/es/api/resources/statistic/ExpertAccountant.js.map +0 -1
- package/es/types/Enum/AdditionnalSells.d.ts +0 -7
- package/es/types/Enum/AdditionnalSells.d.ts.map +0 -1
- package/es/types/Enum/AdditionnalSells.js +0 -8
- package/es/types/Enum/AdditionnalSells.js.map +0 -1
- package/es/types/Enum/CustomerVat.d.ts +0 -24
- package/es/types/Enum/CustomerVat.d.ts.map +0 -1
- package/es/types/Enum/CustomerVat.js +0 -26
- package/es/types/Enum/CustomerVat.js.map +0 -1
- package/es/types/Enum/OperationLegalNotice.d.ts +0 -4
- package/es/types/Enum/OperationLegalNotice.d.ts.map +0 -1
- package/es/types/Enum/OperationLegalNotice.js +0 -5
- package/es/types/Enum/OperationLegalNotice.js.map +0 -1
- package/es/types/Enum/OrderStatus.d.ts +0 -6
- package/es/types/Enum/OrderStatus.d.ts.map +0 -1
- package/es/types/Enum/OrderStatus.js +0 -7
- package/es/types/Enum/OrderStatus.js.map +0 -1
- package/es/types/Enum/PrestationType.d.ts.map +0 -1
- package/es/types/Enum/PrestationType.js +0 -17
- package/es/types/Enum/PrestationType.js.map +0 -1
- package/es/types/Enum/Reason.d.ts +0 -4
- package/es/types/Enum/Reason.d.ts.map +0 -1
- package/es/types/Enum/Reason.js +0 -5
- package/es/types/Enum/Reason.js.map +0 -1
- package/es/types/Enum/Rules.d.ts +0 -2
- package/es/types/Enum/Rules.d.ts.map +0 -1
- package/es/types/Enum/Rules.js +0 -19
- package/es/types/Enum/Rules.js.map +0 -1
- package/es/types/Enum/StatisticType.d.ts +0 -16
- package/es/types/Enum/StatisticType.d.ts.map +0 -1
- package/es/types/Enum/StatisticType.js +0 -17
- package/es/types/Enum/StatisticType.js.map +0 -1
- package/es/types/Interface/api/dashboard/QueryVatDisbursed.d.ts +0 -5
- package/es/types/Interface/api/dashboard/QueryVatDisbursed.d.ts.map +0 -1
- package/es/types/Interface/api/dashboard/QueryVatDisbursed.js +0 -24
- package/es/types/Interface/api/dashboard/QueryVatDisbursed.js.map +0 -1
- package/es/types/Interface/api/dashboard/ReadVatDisbursed.d.ts +0 -13
- package/es/types/Interface/api/dashboard/ReadVatDisbursed.d.ts.map +0 -1
- package/es/types/Interface/api/dashboard/ReadVatDisbursed.js +0 -2
- package/es/types/Interface/api/dashboard/ReadVatDisbursed.js.map +0 -1
- package/es/types/Interface/api/legalNotice/UpdateLegalNotice.d.ts +0 -5
- package/es/types/Interface/api/legalNotice/UpdateLegalNotice.d.ts.map +0 -1
- package/es/types/Interface/api/legalNotice/UpdateLegalNotice.js +0 -25
- package/es/types/Interface/api/legalNotice/UpdateLegalNotice.js.map +0 -1
- package/es/types/Interface/api/paymentExpectation/QueryPaymentExpectation.d.ts +0 -4
- package/es/types/Interface/api/paymentExpectation/QueryPaymentExpectation.d.ts.map +0 -1
- package/es/types/Interface/api/paymentExpectation/QueryPaymentExpectation.js +0 -17
- package/es/types/Interface/api/paymentExpectation/QueryPaymentExpectation.js.map +0 -1
- package/es/types/Interface/api/prestation/CreatePrestation.d.ts +0 -6
- package/es/types/Interface/api/prestation/CreatePrestation.d.ts.map +0 -1
- package/es/types/Interface/api/prestation/CreatePrestation.js +0 -28
- package/es/types/Interface/api/prestation/CreatePrestation.js.map +0 -1
- package/es/types/Interface/api/qonto/CreateImportation.d.ts +0 -5
- package/es/types/Interface/api/qonto/CreateImportation.d.ts.map +0 -1
- package/es/types/Interface/api/qonto/CreateImportation.js +0 -26
- package/es/types/Interface/api/qonto/CreateImportation.js.map +0 -1
- package/es/types/Interface/api/qonto/CreateQontoConnection.d.ts +0 -5
- package/es/types/Interface/api/qonto/CreateQontoConnection.d.ts.map +0 -1
- package/es/types/Interface/api/qonto/CreateQontoConnection.js +0 -24
- package/es/types/Interface/api/qonto/CreateQontoConnection.js.map +0 -1
- package/es/types/Interface/api/qonto/GetConnectionInformation.d.ts +0 -4
- package/es/types/Interface/api/qonto/GetConnectionInformation.d.ts.map +0 -1
- package/es/types/Interface/api/qonto/GetConnectionInformation.js +0 -19
- package/es/types/Interface/api/qonto/GetConnectionInformation.js.map +0 -1
- package/es/types/Interface/api/qonto/ProcessBankAccount.d.ts +0 -5
- package/es/types/Interface/api/qonto/ProcessBankAccount.d.ts.map +0 -1
- package/es/types/Interface/api/qonto/ProcessBankAccount.js.map +0 -1
- package/es/types/Interface/api/qonto/Query.d.ts +0 -77
- package/es/types/Interface/api/qonto/Query.d.ts.map +0 -1
- package/es/types/Interface/api/qonto/Query.js +0 -2
- package/es/types/Interface/api/qonto/Query.js.map +0 -1
- package/es/types/Interface/api/qonto/ReadCreateConnection.d.ts +0 -6
- package/es/types/Interface/api/qonto/ReadCreateConnection.d.ts.map +0 -1
- package/es/types/Interface/api/qonto/ReadCreateConnection.js +0 -2
- package/es/types/Interface/api/qonto/ReadCreateConnection.js.map +0 -1
- package/es/types/Interface/api/qonto/UpdateConnection.d.ts +0 -4
- package/es/types/Interface/api/qonto/UpdateConnection.d.ts.map +0 -1
- package/es/types/Interface/api/qonto/UpdateConnection.js +0 -19
- package/es/types/Interface/api/qonto/UpdateConnection.js.map +0 -1
- package/es/types/Interface/api/societyConfig/update.d.ts +0 -21
- package/es/types/Interface/api/societyConfig/update.d.ts.map +0 -1
- package/es/types/Interface/api/societyConfig/update.js.map +0 -1
- package/es/types/Interface/api/statistic/ExitRequest.d.ts +0 -108
- package/es/types/Interface/api/statistic/ExitRequest.d.ts.map +0 -1
- package/es/types/Interface/api/statistic/ExitRequest.js +0 -2
- package/es/types/Interface/api/statistic/ExitRequest.js.map +0 -1
- package/es/types/Interface/api/statistic/QueryAccountant.d.ts +0 -6
- package/es/types/Interface/api/statistic/QueryAccountant.d.ts.map +0 -1
- package/es/types/Interface/api/statistic/QueryAccountant.js +0 -31
- package/es/types/Interface/api/statistic/QueryAccountant.js.map +0 -1
- package/es/types/Interface/api/statistic/QueryDirection.d.ts +0 -6
- package/es/types/Interface/api/statistic/QueryDirection.d.ts.map +0 -1
- package/es/types/Interface/api/statistic/QueryDirection.js +0 -31
- package/es/types/Interface/api/statistic/QueryDirection.js.map +0 -1
- package/es/types/Interface/api/statistic/QueryExpertAccountant.d.ts +0 -6
- package/es/types/Interface/api/statistic/QueryExpertAccountant.d.ts.map +0 -1
- package/es/types/Interface/api/statistic/QueryExpertAccountant.js +0 -31
- package/es/types/Interface/api/statistic/QueryExpertAccountant.js.map +0 -1
- package/es/types/Interface/api/statistic/QueryGetAccountant.d.ts +0 -5
- package/es/types/Interface/api/statistic/QueryGetAccountant.d.ts.map +0 -1
- package/es/types/Interface/api/statistic/QueryGetAccountant.js +0 -24
- package/es/types/Interface/api/statistic/QueryGetAccountant.js.map +0 -1
- package/es/types/Interface/api/statistic/QueryGetDirection.d.ts +0 -5
- package/es/types/Interface/api/statistic/QueryGetDirection.d.ts.map +0 -1
- package/es/types/Interface/api/statistic/QueryGetDirection.js +0 -24
- package/es/types/Interface/api/statistic/QueryGetDirection.js.map +0 -1
- package/es/types/Interface/api/statistic/QueryGetExpertAccountant.d.ts +0 -5
- package/es/types/Interface/api/statistic/QueryGetExpertAccountant.d.ts.map +0 -1
- package/es/types/Interface/api/statistic/QueryGetExpertAccountant.js +0 -24
- package/es/types/Interface/api/statistic/QueryGetExpertAccountant.js.map +0 -1
- package/es/types/Interface/api/terminationList/DestroyTerminationList.d.ts +0 -17
- package/es/types/Interface/api/terminationList/DestroyTerminationList.d.ts.map +0 -1
- package/es/types/Interface/api/terminationList/DestroyTerminationList.js +0 -96
- package/es/types/Interface/api/terminationList/DestroyTerminationList.js.map +0 -1
- package/es/types/Interface/api/terminationList/QueryTerminationList.d.ts +0 -17
- package/es/types/Interface/api/terminationList/QueryTerminationList.d.ts.map +0 -1
- package/es/types/Interface/api/terminationList/QueryTerminationList.js +0 -98
- package/es/types/Interface/api/terminationList/QueryTerminationList.js.map +0 -1
- package/es/types/Interface/api/wallet/UpdateAttribution.d.ts +0 -6
- package/es/types/Interface/api/wallet/UpdateAttribution.d.ts.map +0 -1
- package/es/types/Interface/api/wallet/UpdateAttribution.js +0 -34
- package/es/types/Interface/api/wallet/UpdateAttribution.js.map +0 -1
- package/es/types/Interface/models/IPrestationHistory.d.ts +0 -13
- package/es/types/Interface/models/IPrestationHistory.d.ts.map +0 -1
- package/es/types/Interface/models/IPrestationHistory.js +0 -2
- package/es/types/Interface/models/IPrestationHistory.js.map +0 -1
- package/es/types/Interface/models/ISocietyRelance.d.ts.map +0 -1
- package/es/types/Interface/models/ISocietyRelance.js +0 -2
- package/es/types/Interface/models/ISocietyRelance.js.map +0 -1
- package/es/types/Interface/models/IStatistic.d.ts +0 -11
- package/es/types/Interface/models/IStatistic.d.ts.map +0 -1
- package/es/types/Interface/models/IStatistic.js +0 -2
- package/es/types/Interface/models/IStatistic.js.map +0 -1
- package/js/api/resources/LegalNotice.js +0 -18
- package/js/api/resources/LegalNotice.js.map +0 -1
- package/js/api/resources/PaymentExpectation.js +0 -20
- package/js/api/resources/PaymentExpectation.js.map +0 -1
- package/js/api/resources/SocietyConfig.js +0 -22
- package/js/api/resources/SocietyConfig.js.map +0 -1
- package/js/api/resources/TerminationList.js +0 -26
- package/js/api/resources/TerminationList.js.map +0 -1
- package/js/api/resources/Wallet.js +0 -18
- package/js/api/resources/Wallet.js.map +0 -1
- package/js/api/resources/statistic/Accountant.js +0 -150
- package/js/api/resources/statistic/Accountant.js.map +0 -1
- package/js/api/resources/statistic/Direction.js +0 -30
- package/js/api/resources/statistic/Direction.js.map +0 -1
- package/js/api/resources/statistic/ExpertAccountant.js +0 -75
- package/js/api/resources/statistic/ExpertAccountant.js.map +0 -1
- package/js/types/Enum/AdditionnalSells.js +0 -14
- package/js/types/Enum/AdditionnalSells.js.map +0 -1
- package/js/types/Enum/CustomerVat.js +0 -34
- package/js/types/Enum/CustomerVat.js.map +0 -1
- package/js/types/Enum/OperationLegalNotice.js +0 -11
- package/js/types/Enum/OperationLegalNotice.js.map +0 -1
- package/js/types/Enum/OrderStatus.js +0 -13
- package/js/types/Enum/OrderStatus.js.map +0 -1
- package/js/types/Enum/PrestationType.js +0 -23
- package/js/types/Enum/PrestationType.js.map +0 -1
- package/js/types/Enum/Reason.js +0 -11
- package/js/types/Enum/Reason.js.map +0 -1
- package/js/types/Enum/Rules.js +0 -7
- package/js/types/Enum/Rules.js.map +0 -1
- package/js/types/Enum/StatisticType.js +0 -23
- package/js/types/Enum/StatisticType.js.map +0 -1
- package/js/types/Interface/api/dashboard/QueryVatDisbursed.js +0 -31
- package/js/types/Interface/api/dashboard/QueryVatDisbursed.js.map +0 -1
- package/js/types/Interface/api/dashboard/ReadVatDisbursed.js.map +0 -1
- package/js/types/Interface/api/legalNotice/UpdateLegalNotice.js +0 -31
- package/js/types/Interface/api/legalNotice/UpdateLegalNotice.js.map +0 -1
- package/js/types/Interface/api/paymentExpectation/QueryPaymentExpectation.js +0 -27
- package/js/types/Interface/api/paymentExpectation/QueryPaymentExpectation.js.map +0 -1
- package/js/types/Interface/api/prestation/CreatePrestation.js +0 -33
- package/js/types/Interface/api/prestation/CreatePrestation.js.map +0 -1
- package/js/types/Interface/api/qonto/CreateImportation.js +0 -31
- package/js/types/Interface/api/qonto/CreateImportation.js.map +0 -1
- package/js/types/Interface/api/qonto/CreateQontoConnection.js +0 -31
- package/js/types/Interface/api/qonto/CreateQontoConnection.js.map +0 -1
- package/js/types/Interface/api/qonto/GetConnectionInformation.js +0 -29
- package/js/types/Interface/api/qonto/GetConnectionInformation.js.map +0 -1
- package/js/types/Interface/api/qonto/ProcessBankAccount.js.map +0 -1
- package/js/types/Interface/api/qonto/Query.js.map +0 -1
- package/js/types/Interface/api/qonto/ReadCreateConnection.js +0 -6
- package/js/types/Interface/api/qonto/ReadCreateConnection.js.map +0 -1
- package/js/types/Interface/api/qonto/UpdateConnection.js +0 -29
- package/js/types/Interface/api/qonto/UpdateConnection.js.map +0 -1
- package/js/types/Interface/api/societyConfig/update.js +0 -65
- package/js/types/Interface/api/societyConfig/update.js.map +0 -1
- package/js/types/Interface/api/statistic/ExitRequest.js +0 -6
- package/js/types/Interface/api/statistic/ExitRequest.js.map +0 -1
- package/js/types/Interface/api/statistic/QueryAccountant.js +0 -35
- package/js/types/Interface/api/statistic/QueryAccountant.js.map +0 -1
- package/js/types/Interface/api/statistic/QueryDirection.js +0 -35
- package/js/types/Interface/api/statistic/QueryDirection.js.map +0 -1
- package/js/types/Interface/api/statistic/QueryExpertAccountant.js +0 -35
- package/js/types/Interface/api/statistic/QueryExpertAccountant.js.map +0 -1
- package/js/types/Interface/api/statistic/QueryGetAccountant.js +0 -31
- package/js/types/Interface/api/statistic/QueryGetAccountant.js.map +0 -1
- package/js/types/Interface/api/statistic/QueryGetDirection.js +0 -31
- package/js/types/Interface/api/statistic/QueryGetDirection.js.map +0 -1
- package/js/types/Interface/api/statistic/QueryGetExpertAccountant.js +0 -31
- package/js/types/Interface/api/statistic/QueryGetExpertAccountant.js.map +0 -1
- package/js/types/Interface/api/terminationList/DestroyTerminationList.js +0 -55
- package/js/types/Interface/api/terminationList/DestroyTerminationList.js.map +0 -1
- package/js/types/Interface/api/terminationList/QueryTerminationList.js +0 -55
- package/js/types/Interface/api/terminationList/QueryTerminationList.js.map +0 -1
- package/js/types/Interface/api/wallet/UpdateAttribution.js +0 -35
- package/js/types/Interface/api/wallet/UpdateAttribution.js.map +0 -1
- package/js/types/Interface/models/IPrestationHistory.js +0 -6
- package/js/types/Interface/models/IPrestationHistory.js.map +0 -1
- package/js/types/Interface/models/ISocietyRelance.js +0 -6
- package/js/types/Interface/models/ISocietyRelance.js.map +0 -1
- package/js/types/Interface/models/IStatistic.js.map +0 -1
- package/ts/api/resources/LegalNotice.ts +0 -8
- package/ts/api/resources/PaymentExpectation.ts +0 -8
- package/ts/api/resources/SocietyConfig.ts +0 -12
- package/ts/api/resources/TerminationList.ts +0 -12
- package/ts/api/resources/Wallet.ts +0 -8
- package/ts/api/resources/statistic/Accountant.ts +0 -121
- package/ts/api/resources/statistic/Direction.ts +0 -17
- package/ts/api/resources/statistic/ExpertAccountant.ts +0 -56
- package/ts/types/Enum/AdditionnalSells.ts +0 -6
- package/ts/types/Enum/CustomerVat.ts +0 -24
- package/ts/types/Enum/OperationLegalNotice.ts +0 -3
- package/ts/types/Enum/OrderStatus.ts +0 -5
- package/ts/types/Enum/Reason.ts +0 -3
- package/ts/types/Enum/Rules.ts +0 -18
- package/ts/types/Enum/StatisticType.ts +0 -15
- package/ts/types/Interface/api/dashboard/QueryVatDisbursed.ts +0 -12
- package/ts/types/Interface/api/dashboard/ReadVatDisbursed.ts +0 -14
- package/ts/types/Interface/api/legalNotice/UpdateLegalNotice.ts +0 -13
- package/ts/types/Interface/api/paymentExpectation/QueryPaymentExpectation.ts +0 -6
- package/ts/types/Interface/api/prestation/CreatePrestation.ts +0 -15
- package/ts/types/Interface/api/qonto/CreateImportation.ts +0 -14
- package/ts/types/Interface/api/qonto/CreateQontoConnection.ts +0 -12
- package/ts/types/Interface/api/qonto/GetConnectionInformation.ts +0 -8
- package/ts/types/Interface/api/qonto/ProcessBankAccount.ts +0 -12
- package/ts/types/Interface/api/qonto/Query.ts +0 -80
- package/ts/types/Interface/api/qonto/ReadCreateConnection.ts +0 -6
- package/ts/types/Interface/api/qonto/UpdateConnection.ts +0 -8
- package/ts/types/Interface/api/societyConfig/update.ts +0 -103
- package/ts/types/Interface/api/statistic/ExitRequest.ts +0 -120
- package/ts/types/Interface/api/statistic/QueryAccountant.ts +0 -20
- package/ts/types/Interface/api/statistic/QueryDirection.ts +0 -20
- package/ts/types/Interface/api/statistic/QueryExpertAccountant.ts +0 -20
- package/ts/types/Interface/api/statistic/QueryGetAccountant.ts +0 -14
- package/ts/types/Interface/api/statistic/QueryGetDirection.ts +0 -14
- package/ts/types/Interface/api/statistic/QueryGetExpertAccountant.ts +0 -14
- package/ts/types/Interface/api/terminationList/DestroyTerminationList.ts +0 -74
- package/ts/types/Interface/api/terminationList/QueryTerminationList.ts +0 -76
- package/ts/types/Interface/api/wallet/UpdateAttribution.ts +0 -23
- package/ts/types/Interface/models/IPrestationHistory.ts +0 -16
- package/ts/types/Interface/models/IStatistic.ts +0 -13
|
@@ -1,19 +1,21 @@
|
|
|
1
1
|
import { IVat } from './IVat';
|
|
2
2
|
import { IProduct } from './IProduct';
|
|
3
|
+
import { DiscountType } from '../../Enum/CommercialManagement';
|
|
3
4
|
|
|
4
5
|
// itemsEstimates
|
|
5
6
|
export interface IProductInvoice {
|
|
6
7
|
id?: number;
|
|
7
8
|
idEstimateInvoice: number;
|
|
8
9
|
idProduct: number | null;
|
|
9
|
-
|
|
10
|
+
idVat: number;
|
|
10
11
|
unit: number;
|
|
11
12
|
type: number;
|
|
12
13
|
itemSaleName: string | null;
|
|
13
14
|
itemCodeProduct: string | null;
|
|
14
15
|
priceTaxExcluded: number;
|
|
15
16
|
quantity: number;
|
|
16
|
-
|
|
17
|
+
discount2: number | null;
|
|
18
|
+
discountType: DiscountType | null;
|
|
17
19
|
comment: string | null;
|
|
18
20
|
reorder: number | null;
|
|
19
21
|
createdAt?: Date | null;
|
|
@@ -21,5 +23,5 @@ export interface IProductInvoice {
|
|
|
21
23
|
|
|
22
24
|
// Associations
|
|
23
25
|
vat?: IVat;
|
|
24
|
-
product
|
|
26
|
+
product?: IProduct;
|
|
25
27
|
}
|
|
@@ -48,7 +48,7 @@ import { ISms } from './ISms';
|
|
|
48
48
|
import { IUser } from './IUser';
|
|
49
49
|
import { ISocietyEvent } from './ISocietyEvent';
|
|
50
50
|
import {
|
|
51
|
-
ComptaType, Country, INafCode, IPartneredAccountantCompanyService, Sector, UnpaidDetail, IPartneredAccountantToSociety, IMail, IAccountingTransaction,
|
|
51
|
+
ComptaType, Country, INafCode, IPartneredAccountantCompanyService, Sector, UnpaidDetail, IPartneredAccountantToSociety, IMail, IAccountingTransaction,
|
|
52
52
|
} from '../..';
|
|
53
53
|
import { IBrandType } from './IBrandType';
|
|
54
54
|
|
|
@@ -204,5 +204,4 @@ export interface ISociety {
|
|
|
204
204
|
events: ISocietyEvent[];
|
|
205
205
|
mails: IMail[];
|
|
206
206
|
transactions: IAccountingTransaction[];
|
|
207
|
-
fecFile: IFecFile | null
|
|
208
207
|
}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { FontIds, LogoAlignment } from '../../Enum/CommercialManagement';
|
|
2
|
+
|
|
1
3
|
// societyGescom
|
|
2
4
|
export interface ISocietyGescom {
|
|
3
5
|
id?: number;
|
|
@@ -19,15 +21,26 @@ export interface ISocietyGescom {
|
|
|
19
21
|
bonPour?: boolean | null;
|
|
20
22
|
acceptCheque?: boolean | null;
|
|
21
23
|
mentionAutoent?: boolean | null;
|
|
22
|
-
freeText?: string | null;
|
|
23
24
|
startInvoice?: number | null;
|
|
24
25
|
startEstimate?: number | null;
|
|
25
26
|
paymentsAccepted?: boolean | null;
|
|
26
27
|
stripePaymentByDefault?: boolean;
|
|
27
28
|
displayLogo?: boolean | null;
|
|
29
|
+
cgv?: string | null;
|
|
28
30
|
invoiceCgv?: boolean | null;
|
|
29
31
|
template?: number | null;
|
|
30
32
|
color?: string | null;
|
|
33
|
+
commercialName?: string | null;
|
|
34
|
+
freeInvoiceText?: string | null;
|
|
35
|
+
freeEstimateText?: string | null;
|
|
36
|
+
logoAlignment?: LogoAlignment | null;
|
|
37
|
+
isEdgingDisplayed?: boolean;
|
|
38
|
+
edgingColor?: string;
|
|
39
|
+
isCoordinatesFrameDisplayed?: boolean;
|
|
40
|
+
areLinesSeparationHidden?: boolean;
|
|
41
|
+
areColumnsSeparationHidden?: boolean;
|
|
42
|
+
areExternalBordersHidden?: boolean;
|
|
43
|
+
idFont?: FontIds | null;
|
|
31
44
|
idSociety?: number | null;
|
|
32
45
|
idTvaMargin?: number | null;
|
|
33
46
|
createdAt?: Date | null;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IAccount } from './IAccount';
|
|
2
|
-
import {
|
|
2
|
+
import { PartnerType } from '../..';
|
|
3
3
|
|
|
4
4
|
// societyPartner
|
|
5
5
|
export interface ISocietyPartner {
|
|
@@ -18,5 +18,4 @@ export interface ISocietyPartner {
|
|
|
18
18
|
|
|
19
19
|
// Associations
|
|
20
20
|
account: IAccount;
|
|
21
|
-
society?: ISociety
|
|
22
21
|
}
|
|
@@ -16,7 +16,7 @@ export interface ITask {
|
|
|
16
16
|
idSociety: number,
|
|
17
17
|
description?: string | null,
|
|
18
18
|
idRole?: number,
|
|
19
|
-
|
|
19
|
+
idUser?: number,
|
|
20
20
|
idMail?: number,
|
|
21
21
|
deadlineAt: Date,
|
|
22
22
|
idUserWhoProcessed?: number,
|
|
@@ -29,7 +29,7 @@ export interface ITask {
|
|
|
29
29
|
userWhoCreated?: IUser;
|
|
30
30
|
society?: ISociety;
|
|
31
31
|
role?: IRole;
|
|
32
|
-
|
|
32
|
+
user?: IUser;
|
|
33
33
|
userWhoProcessed?: IUser;
|
|
34
34
|
userWhoRefused?: IUser;
|
|
35
35
|
calendarEvent?: ICalendarEvent;
|
package/ts/types/index.ts
CHANGED
|
@@ -142,7 +142,6 @@ export * from './Interface/models/IPermission';
|
|
|
142
142
|
export * from './Interface/models/IPhoneNumber';
|
|
143
143
|
export * from './Interface/models/IPhonePrefix';
|
|
144
144
|
export * from './Interface/models/IPhonePrefixChild';
|
|
145
|
-
export * from './Interface/models/IPrestationHistory';
|
|
146
145
|
export * from './Interface/models/IPrestation';
|
|
147
146
|
export * from './Interface/models/IPrestationComplementary';
|
|
148
147
|
export * from './Interface/models/IPrestationList';
|
|
@@ -194,7 +193,7 @@ export * from './Interface/models/ISocietyJuridical';
|
|
|
194
193
|
export * from './Interface/models/ISocietyNote';
|
|
195
194
|
export * from './Interface/models/ISocietyPartner';
|
|
196
195
|
export * from './Interface/models/ISocietyProceding';
|
|
197
|
-
export * from './Interface/models/
|
|
196
|
+
export * from './Interface/models/IInvoiceReminder';
|
|
198
197
|
export * from './Interface/models/ISocietySocial';
|
|
199
198
|
export * from './Interface/models/ISocietySoftware';
|
|
200
199
|
export * from './Interface/models/ISocietyStat';
|
|
@@ -293,7 +292,6 @@ export * from './Interface/models/IAccountingTransaction_new';
|
|
|
293
292
|
export * from './Interface/models/IExerciceNote';
|
|
294
293
|
export * from './Interface/models/IRevisionGuide';
|
|
295
294
|
export * from './Interface/models/ISponsorshipWithSponsorInfo';
|
|
296
|
-
export * from './Interface/models/IStatistic';
|
|
297
295
|
export * from './Interface/models/ILastUpdateConnection';
|
|
298
296
|
export * from './Interface/models/IAccountsSectors';
|
|
299
297
|
export * from './Interface/models/IAnswerType';
|
|
@@ -314,12 +312,15 @@ export * from './Interface/models/IMobileNotificationLog';
|
|
|
314
312
|
export * from './Interface/models/IMobileNotificationSetting';
|
|
315
313
|
export * from './Interface/models/ITimeRecorder';
|
|
316
314
|
export * from './Interface/models/ILoanFile';
|
|
315
|
+
export * from './Interface/models/ICommercialMail';
|
|
317
316
|
|
|
318
317
|
// Forms
|
|
319
318
|
export * from './Form/FormAuthenticate';
|
|
320
319
|
export * from './Form/FormConnector';
|
|
321
320
|
|
|
322
321
|
// Enums
|
|
322
|
+
export * from './Enum/FolderFile';
|
|
323
|
+
export * from './Enum/CommercialManagement';
|
|
323
324
|
export * from './Enum/Civility';
|
|
324
325
|
export * from './Enum/Registration';
|
|
325
326
|
export * from './Enum/Aspone';
|
|
@@ -373,9 +374,7 @@ export * from './Enum/GlobalRegime';
|
|
|
373
374
|
export * from './Enum/TaxSystem';
|
|
374
375
|
export * from './Enum/FiscalRegime';
|
|
375
376
|
export * from './Enum/Activity';
|
|
376
|
-
export * from './Enum/AdditionnalSells';
|
|
377
377
|
export * from './Enum/CerfaType';
|
|
378
|
-
export * from './Enum/StatisticType';
|
|
379
378
|
export * from './Enum/StockType';
|
|
380
379
|
export * from './Enum/SaleType';
|
|
381
380
|
export * from './Enum/TypePayment';
|
|
@@ -390,7 +389,7 @@ export * from './Enum/RevisionGuide';
|
|
|
390
389
|
export * from './Enum/Util';
|
|
391
390
|
export * from './Enum/RegisterCategory';
|
|
392
391
|
export * from './Enum/FieldSocietyStat';
|
|
393
|
-
export * from './Enum/
|
|
392
|
+
export * from './Enum/Prestation';
|
|
394
393
|
export * from './Enum/Supervision';
|
|
395
394
|
export * from './Enum/Notification';
|
|
396
395
|
export * from './Enum/Comment';
|
|
@@ -435,12 +434,6 @@ export * from './Enum/InternalService';
|
|
|
435
434
|
export * from './Enum/SocietyTypeEvent';
|
|
436
435
|
export * from './Enum/Call';
|
|
437
436
|
export * from './Enum/ConnectionError';
|
|
438
|
-
export * from './Enum/FolderFile';
|
|
439
|
-
export * from './Enum/Rules';
|
|
440
|
-
export * from './Enum/CustomerVat';
|
|
441
|
-
export * from './Enum/Reason';
|
|
442
|
-
export * from './Enum/OperationLegalNotice';
|
|
443
|
-
export * from './Enum/OrderStatus';
|
|
444
437
|
|
|
445
438
|
// Interfaces API
|
|
446
439
|
export * from './Interface/api/partnerTransactionType/ReadPartnerTransactionType';
|
|
@@ -526,8 +519,6 @@ export * from './Interface/api/pdf/BillingDocumentData';
|
|
|
526
519
|
export * from './Interface/api/dashboard/QueryBalanceBankAccount';
|
|
527
520
|
export * from './Interface/api/dashboard/QueryTopBuys';
|
|
528
521
|
export * from './Interface/api/dashboard/QueryTopProviders';
|
|
529
|
-
export * from './Interface/api/dashboard/QueryVatDisbursed';
|
|
530
|
-
export * from './Interface/api/dashboard/ReadVatDisbursed';
|
|
531
522
|
export * from './Interface/api/dashboard/ReadBalanceBankAccount';
|
|
532
523
|
export * from './Interface/api/dashboard/QueryGescom';
|
|
533
524
|
export * from './Interface/api/dashboard/QueryDeadline';
|
|
@@ -624,13 +615,6 @@ export * from './Interface/api/pappers/ReadPappers';
|
|
|
624
615
|
export * from './Interface/api/sponsorship/SendSponsorshipLink';
|
|
625
616
|
export * from './Interface/api/sponsorship/CreateSponsorship';
|
|
626
617
|
export * from './Interface/api/sponsorship/QuerySponsorship';
|
|
627
|
-
export * from './Interface/api/statistic/ExitRequest';
|
|
628
|
-
export * from './Interface/api/statistic/QueryExpertAccountant';
|
|
629
|
-
export * from './Interface/api/statistic/QueryGetExpertAccountant';
|
|
630
|
-
export * from './Interface/api/statistic/QueryAccountant';
|
|
631
|
-
export * from './Interface/api/statistic/QueryGetAccountant';
|
|
632
|
-
export * from './Interface/api/statistic/QueryDirection';
|
|
633
|
-
export * from './Interface/api/statistic/QueryGetDirection';
|
|
634
618
|
export * from './Interface/api/pappers/CreatePappers';
|
|
635
619
|
export * from './Interface/api/bankAccount/DeleteTransaction';
|
|
636
620
|
export * from './Interface/api/stripe/QueryStripe';
|
|
@@ -780,22 +764,14 @@ export * from './Interface/api/3cx/Create3cxLog';
|
|
|
780
764
|
export * from './Interface/api/amount/FormattedAmount';
|
|
781
765
|
export * from './Interface/api/customerActivity/CreateCustomerActivityReport';
|
|
782
766
|
export * from './Interface/api/alert/CreateAlert';
|
|
767
|
+
export * from './Interface/api/commercialManagement/Create';
|
|
768
|
+
export * from './Interface/api/commercialManagement/Read';
|
|
769
|
+
export * from './Interface/api/commercialManagement/Query';
|
|
770
|
+
export * from './Interface/api/commercialManagement/Update';
|
|
771
|
+
export * from './Interface/api/connector/CreateConnector';
|
|
772
|
+
export * from './Interface/api/connector/QueryConnector';
|
|
783
773
|
export * from './Interface/api/connection/QueryConnectionState';
|
|
784
774
|
export * from './Interface/api/connection/ReadConnectionState';
|
|
785
|
-
export * from './Interface/api/qonto/Query';
|
|
786
|
-
export * from './Interface/api/qonto/CreateImportation';
|
|
787
|
-
export * from './Interface/api/qonto/UpdateConnection';
|
|
788
|
-
export * from './Interface/api/qonto/CreateQontoConnection';
|
|
789
|
-
export * from './Interface/api/qonto/GetConnectionInformation';
|
|
790
|
-
export * from './Interface/api/qonto/ProcessBankAccount';
|
|
791
|
-
export * from './Interface/api/qonto/ReadCreateConnection';
|
|
792
|
-
export * from './Interface/api/societyConfig/update';
|
|
793
|
-
export * from './Interface/api/wallet/UpdateAttribution';
|
|
794
|
-
export * from './Interface/api/prestation/CreatePrestation';
|
|
795
|
-
export * from './Interface/api/paymentExpectation/QueryPaymentExpectation';
|
|
796
|
-
export * from './Interface/api/legalNotice/UpdateLegalNotice';
|
|
797
|
-
export * from './Interface/api/terminationList/QueryTerminationList';
|
|
798
|
-
export * from './Interface/api/terminationList/DestroyTerminationList';
|
|
799
775
|
|
|
800
776
|
// Enums types
|
|
801
777
|
export * from './Interface/enum/Util';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export function integerToFormattedAmountString(value: number): string {
|
|
2
|
+
const abs = Math.abs(value / 100);
|
|
3
|
+
let integer = Math.trunc(abs);
|
|
4
|
+
let cents = Math.round(abs * 100 - integer * 100);
|
|
5
|
+
|
|
6
|
+
while (cents >= 100) {
|
|
7
|
+
cents = Math.max(0, cents - 100);
|
|
8
|
+
integer += 1;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
const integerWithMask = `${integer}`.split('').reduceRight((acc, char, i, { length }) => `${char}${(length - (i + 1)) % 3 === 0 ? ' ' : ''}${acc}`, '').trim();
|
|
12
|
+
return `${integerWithMask},${cents < 10 ? '0' : ''}${cents}`;
|
|
13
|
+
}
|
package/ts/utils/brands.ts
CHANGED
|
@@ -16,15 +16,34 @@ type getBrandConfigParams = {
|
|
|
16
16
|
};
|
|
17
17
|
|
|
18
18
|
const getBrandNameByNodeEnv = (nodeEnv?: string): 'Legalstart'| 'Comptalib' | 'Clementine' | 'Pourcentage' => {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
if (env.indexOf('legalstart') > -1 || env.indexOf('Legalstart') > -1) {
|
|
19
|
+
if (nodeEnv) {
|
|
20
|
+
if (nodeEnv.indexOf('legalstart') > -1 || nodeEnv.indexOf('Legalstart') > -1) {
|
|
22
21
|
return 'Legalstart';
|
|
23
22
|
}
|
|
24
|
-
if (
|
|
23
|
+
if (nodeEnv.indexOf('comptalib') > -1 || nodeEnv.indexOf('Comptalib') > -1) {
|
|
25
24
|
return 'Comptalib';
|
|
26
25
|
}
|
|
27
|
-
if (
|
|
26
|
+
if (nodeEnv.indexOf('pourcentage') > -1 || nodeEnv.indexOf('Pourcentage') > -1) {
|
|
27
|
+
return 'Pourcentage';
|
|
28
|
+
}
|
|
29
|
+
} else if (process.env.NODE_ENV) {
|
|
30
|
+
if (process.env.NODE_ENV.indexOf('legalstart') > -1 || process.env.NODE_ENV.indexOf('Legalstart') > -1) {
|
|
31
|
+
return 'Legalstart';
|
|
32
|
+
}
|
|
33
|
+
if (process.env.NODE_ENV.indexOf('comptalib') > -1 || process.env.NODE_ENV.indexOf('Comptalib') > -1) {
|
|
34
|
+
return 'Comptalib';
|
|
35
|
+
}
|
|
36
|
+
if (process.env.NODE_ENV.indexOf('pourcentage') > -1 || process.env.NODE_ENV.indexOf('Pourcentage') > -1) {
|
|
37
|
+
return 'Pourcentage';
|
|
38
|
+
}
|
|
39
|
+
} else if (process.env.API_HOST) {
|
|
40
|
+
if (process.env.API_HOST.indexOf('legalstart') > -1 || process.env.API_HOST.indexOf('Legalstart') > -1) {
|
|
41
|
+
return 'Legalstart';
|
|
42
|
+
}
|
|
43
|
+
if (process.env.API_HOST.indexOf('comptalib') > -1 || process.env.API_HOST.indexOf('Comptalib') > -1) {
|
|
44
|
+
return 'Comptalib';
|
|
45
|
+
}
|
|
46
|
+
if (process.env.API_HOST.indexOf('pourcentage') > -1 || process.env.API_HOST.indexOf('Pourcentage') > -1) {
|
|
28
47
|
return 'Pourcentage';
|
|
29
48
|
}
|
|
30
49
|
}
|
|
@@ -84,12 +103,11 @@ const getBrandConfig = (params: getBrandConfigParams): brand => {
|
|
|
84
103
|
return brand;
|
|
85
104
|
};
|
|
86
105
|
|
|
87
|
-
const getBrandByEmail = (email: string): 'Legalstart'| 'Comptalib' | 'Clementine' | 'Pourcentage' |
|
|
106
|
+
const getBrandByEmail = (email: string): 'Legalstart'| 'Comptalib' | 'Clementine' | 'Pourcentage' | null => {
|
|
88
107
|
if (email.indexOf('legalstart.fr') > -1) return 'Legalstart';
|
|
89
108
|
if (email.indexOf('comptalib.com') > -1) return 'Comptalib';
|
|
90
109
|
if (email.indexOf('pourcentage.fr') > -1) return 'Pourcentage';
|
|
91
110
|
if (email.indexOf('compta-clementine.fr') > -1) return 'Clementine';
|
|
92
|
-
if (email.indexOf('lecomptablefrancais.fr') > -1) return 'Lecomptablefrancais';
|
|
93
111
|
return null;
|
|
94
112
|
};
|
|
95
113
|
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import * as ejs from 'ejs';
|
|
2
|
+
import { orderBy as _orderBy, groupBy as _groupBy, sumBy as _sumBy } from 'lodash';
|
|
3
|
+
import * as dayjs from 'dayjs';
|
|
4
|
+
import { ReadCommercialDocumentTemplate, ReadDocumentEditing } from '../../types/Interface/api/commercialManagement/Read';
|
|
5
|
+
import { fontList } from '../../types/Enum/CommercialManagement';
|
|
6
|
+
import { EstimateInvoiceType } from '../../types/Enum/EstimateInvoice';
|
|
7
|
+
import { integerToFormattedAmountString } from '../amount';
|
|
8
|
+
import { CommercialDocumentCommonHTML } from './templates/common';
|
|
9
|
+
import { bodyTemplate } from './templates/body';
|
|
10
|
+
import { productToReadProductEditing } from './product';
|
|
11
|
+
import { vatToReadVatEditing } from './vat';
|
|
12
|
+
import { CreateInvoiceDocument, CreatePreSaleDocument } from '../../types';
|
|
13
|
+
|
|
14
|
+
export function generateCommercialDocument(idEstimateInvoiceType: EstimateInvoiceType, payload: CreateInvoiceDocument | CreatePreSaleDocument): ReadCommercialDocumentTemplate {
|
|
15
|
+
const products = _orderBy(payload.products.map((product) => productToReadProductEditing(product), 'reorder'));
|
|
16
|
+
// FIXME: Par quoi regrouper ceux qui ont un nom ""
|
|
17
|
+
const vats = _orderBy(Object.values(_groupBy(products, 'vatFormatted')).map((v) => (vatToReadVatEditing(v)), 'value'));
|
|
18
|
+
|
|
19
|
+
const data: ReadDocumentEditing = {
|
|
20
|
+
...payload,
|
|
21
|
+
paymentLink: payload.paymentLink ?? '#',
|
|
22
|
+
idEstimateInvoiceType,
|
|
23
|
+
phoneContact: payload.settings?.phoneContact ?? null,
|
|
24
|
+
products,
|
|
25
|
+
vats,
|
|
26
|
+
totalTaxExcluded: _sumBy(products, 'totalTaxExcluded'),
|
|
27
|
+
totalTaxIncluded: _sumBy(products, 'totalTaxExcluded') + _sumBy(vats, 'amount'),
|
|
28
|
+
totalTaxAndDiscountIncluded: _sumBy(products, 'totalTaxExcluded') + _sumBy(vats, 'amount') - (payload.generalDiscount2 ?? 0),
|
|
29
|
+
generalDiscountFormatted: payload.generalDiscount2 ? integerToFormattedAmountString(payload.generalDiscount2) : null,
|
|
30
|
+
depositFormatted: payload.deposit ? integerToFormattedAmountString(payload.deposit) : null,
|
|
31
|
+
totalTaxExcludedFormatted: integerToFormattedAmountString(_sumBy(products, 'totalTaxExcluded')),
|
|
32
|
+
totalTaxIncludedFormatted: integerToFormattedAmountString(_sumBy(products, 'totalTaxExcluded') + _sumBy(vats, 'amount') - (payload.deposit ?? 0)),
|
|
33
|
+
totalTaxAndDiscountIncludedFormatted: integerToFormattedAmountString(_sumBy(products, 'totalTaxExcluded') + _sumBy(vats, 'amount') - (payload.generalDiscount2 ?? 0) - (payload.deposit ?? 0)),
|
|
34
|
+
totalVatAmountFormatted: integerToFormattedAmountString(_sumBy(vats, 'amount')),
|
|
35
|
+
font: {
|
|
36
|
+
name: fontList.find((f) => f.id === payload.settings?.idFont)?.name ?? fontList[0].name,
|
|
37
|
+
url: fontList.find((f) => f.id === payload.settings?.idFont)?.link ?? fontList[0].link,
|
|
38
|
+
},
|
|
39
|
+
capitalFormatted: payload.capital ? `${payload.capital}`.split('').reduceRight((acc, char, i, { length }) => `${char}${(length - (i + 1)) % 3 === 0 ? ' ' : ''}${acc}`, '').trim() : null,
|
|
40
|
+
dueDateFormatted: payload.dueDate ? dayjs(payload.dueDate).format('DD/MM/YYYY') : null,
|
|
41
|
+
expirationDateFormatted: payload.expirationDate ? dayjs(payload.expirationDate).format('DD/MM/YYYY') : null,
|
|
42
|
+
emissionDateFormatted: payload.emissionDate ? dayjs(payload.emissionDate).format('DD/MM/YYYY') : null,
|
|
43
|
+
shouldDisplayDiscountColumn: !!products.find((p) => p.discount2 && p.discount2 > 0),
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
const commonTemplate = new CommercialDocumentCommonHTML();
|
|
47
|
+
|
|
48
|
+
let documentFreeText: string | null | undefined;
|
|
49
|
+
|
|
50
|
+
// A GERER EN FONCTION DU DOCUMENT
|
|
51
|
+
if ([EstimateInvoiceType.DEVIS, EstimateInvoiceType.BON].includes(idEstimateInvoiceType)) {
|
|
52
|
+
documentFreeText = payload?.settings?.freeEstimateText;
|
|
53
|
+
} else {
|
|
54
|
+
documentFreeText = payload?.settings?.freeInvoiceText;
|
|
55
|
+
}
|
|
56
|
+
//
|
|
57
|
+
|
|
58
|
+
return {
|
|
59
|
+
header: ejs.render(commonTemplate.header, data),
|
|
60
|
+
body: ejs.render(bodyTemplate, data),
|
|
61
|
+
footer: ejs.render(commonTemplate.footer, { ...data, freeText: documentFreeText ?? null }),
|
|
62
|
+
data,
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
export function generateAdvanceDocument(payload: CreateInvoiceDocument): ReadCommercialDocumentTemplate {
|
|
67
|
+
if (!payload.deposit) throw new Error('Aucun acompte défini');
|
|
68
|
+
|
|
69
|
+
const data: ReadDocumentEditing = {
|
|
70
|
+
...payload,
|
|
71
|
+
paymentLink: payload.paymentLink ?? '#',
|
|
72
|
+
idEstimateInvoiceType: EstimateInvoiceType.ACOMPTE,
|
|
73
|
+
phoneContact: payload.settings?.phoneContact ?? null,
|
|
74
|
+
products: [],
|
|
75
|
+
vats: [],
|
|
76
|
+
totalTaxExcluded: payload.deposit,
|
|
77
|
+
totalTaxIncluded: payload.deposit,
|
|
78
|
+
totalTaxAndDiscountIncluded: payload.deposit,
|
|
79
|
+
generalDiscountFormatted: null,
|
|
80
|
+
depositFormatted: integerToFormattedAmountString(payload.deposit),
|
|
81
|
+
totalTaxExcludedFormatted: integerToFormattedAmountString(payload.deposit),
|
|
82
|
+
totalTaxIncludedFormatted: integerToFormattedAmountString(payload.deposit),
|
|
83
|
+
totalTaxAndDiscountIncludedFormatted: integerToFormattedAmountString(payload.deposit),
|
|
84
|
+
totalVatAmountFormatted: integerToFormattedAmountString(0),
|
|
85
|
+
font: {
|
|
86
|
+
name: fontList.find((f) => f.id === payload.settings?.idFont)?.name ?? fontList[0].name,
|
|
87
|
+
url: fontList.find((f) => f.id === payload.settings?.idFont)?.link ?? fontList[0].link,
|
|
88
|
+
},
|
|
89
|
+
capitalFormatted: payload.capital ? `${payload.capital}`.split('').reduceRight((acc, char, i, { length }) => `${char}${(length - (i + 1)) % 3 === 0 ? ' ' : ''}${acc}`, '').trim() : null,
|
|
90
|
+
dueDateFormatted: payload.dueDate ? dayjs(payload.dueDate).format('DD/MM/YYYY') : null,
|
|
91
|
+
expirationDateFormatted: payload.expirationDate ? dayjs(payload.expirationDate).format('DD/MM/YYYY') : null,
|
|
92
|
+
emissionDateFormatted: payload.emissionDate ? dayjs(payload.emissionDate).format('DD/MM/YYYY') : null,
|
|
93
|
+
shouldDisplayDiscountColumn: false,
|
|
94
|
+
disableVat: true,
|
|
95
|
+
};
|
|
96
|
+
|
|
97
|
+
const commonTemplate = new CommercialDocumentCommonHTML();
|
|
98
|
+
|
|
99
|
+
return {
|
|
100
|
+
header: ejs.render(commonTemplate.header, data),
|
|
101
|
+
body: ejs.render(bodyTemplate, data),
|
|
102
|
+
footer: ejs.render(commonTemplate.footer, { ...data, freeText: payload?.settings?.freeInvoiceText ?? null }),
|
|
103
|
+
data,
|
|
104
|
+
};
|
|
105
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { isDefined } from 'class-validator';
|
|
2
|
+
import { IProductInvoice, ReadProductEditing } from '../../types';
|
|
3
|
+
import { Unit } from '../../types/Enum/Unit';
|
|
4
|
+
import { DiscountType } from '../../types/Enum/CommercialManagement';
|
|
5
|
+
import { getById } from './vat';
|
|
6
|
+
import { integerToFormattedAmountString } from '../amount';
|
|
7
|
+
|
|
8
|
+
export function getDiscount(product: IProductInvoice): number {
|
|
9
|
+
if (product.discount2 === null || product.discount2 === undefined || product.discount2 <= 0) return 0;
|
|
10
|
+
|
|
11
|
+
if (product.discountType === DiscountType.PERCENT) {
|
|
12
|
+
return ((product.priceTaxExcluded ?? 0) * ((product.discount2 ?? 0) / 100)) / 100;
|
|
13
|
+
} if (product.discountType === DiscountType.AMOUNT) {
|
|
14
|
+
return (product.discount2 ?? 0);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
return 0;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
export function getTotalTaxExcluded(product: IProductInvoice): number {
|
|
21
|
+
const discount = product.discount2 && product.discount2 > 0 ? getDiscount(product) : 0;
|
|
22
|
+
return (product.priceTaxExcluded ?? 0) * (product.quantity ?? 1) - (discount * (product.quantity ?? 1));
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
export function productToReadProductEditing(payload: IProductInvoice): ReadProductEditing {
|
|
26
|
+
return {
|
|
27
|
+
...payload,
|
|
28
|
+
totalTaxExcluded: getTotalTaxExcluded(payload),
|
|
29
|
+
unitFormatted: Object.values(Unit).find((unit) => unit.id === payload.unit)?.shortName ?? '',
|
|
30
|
+
vatFormatted: getById(payload.idVat)?.saleName ?? '',
|
|
31
|
+
priceTaxExcludedFormatted: isDefined(payload.priceTaxExcluded) ? integerToFormattedAmountString(payload.priceTaxExcluded) : null,
|
|
32
|
+
totalTaxExcludedFormatted: isDefined(payload.priceTaxExcluded) ? integerToFormattedAmountString(getTotalTaxExcluded(payload)) : null,
|
|
33
|
+
discountFormatted: payload.discount2 && payload.discount2 > 0 ? integerToFormattedAmountString(getDiscount(payload)) : null,
|
|
34
|
+
discountTypeFormatted: payload.discount2 && payload.discount2 > 0 ? payload.discountType === DiscountType.PERCENT ? `${(payload.discount2 / 100).toFixed(2)}%` : `${integerToFormattedAmountString(payload.discount2)}€` : null,
|
|
35
|
+
};
|
|
36
|
+
}
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import { EstimateInvoiceType } from '../../../types/Enum/EstimateInvoice';
|
|
2
|
+
import { CommercialDocumentCommonHTML } from './common';
|
|
3
|
+
|
|
4
|
+
const commonTemplate = new CommercialDocumentCommonHTML();
|
|
5
|
+
|
|
6
|
+
const headOfDocument = `<div class="row space-between">
|
|
7
|
+
<% if (settings && settings.logoAlignment === 'left') { %>
|
|
8
|
+
<div class="society-informations">
|
|
9
|
+
${commonTemplate.logo}
|
|
10
|
+
${commonTemplate.company}
|
|
11
|
+
</div>
|
|
12
|
+
<% } else { %>
|
|
13
|
+
<div class="society-informations">${commonTemplate.company}</div>
|
|
14
|
+
${commonTemplate.logo}
|
|
15
|
+
<% } %>
|
|
16
|
+
</div>
|
|
17
|
+
|
|
18
|
+
<div class="row space-between items-end" style="margin-top: 10px">
|
|
19
|
+
<div style="width: 45%; margin-top: auto;">
|
|
20
|
+
<span class="document-reference">
|
|
21
|
+
<% if (idEstimateInvoiceType === ${EstimateInvoiceType.BON}) { %>
|
|
22
|
+
Bon de commande
|
|
23
|
+
<% } else if (idEstimateInvoiceType === ${EstimateInvoiceType.DEVIS}) { %>
|
|
24
|
+
Devis
|
|
25
|
+
<% } else if (idEstimateInvoiceType === ${EstimateInvoiceType.FACTURE}) { %>
|
|
26
|
+
Facture
|
|
27
|
+
<% } else if (idEstimateInvoiceType === ${EstimateInvoiceType.AVOIR}) { %>
|
|
28
|
+
Avoir
|
|
29
|
+
<% } else if (idEstimateInvoiceType === ${EstimateInvoiceType.RESTE}) { %>
|
|
30
|
+
Facture de solde
|
|
31
|
+
<% } else if (idEstimateInvoiceType === ${EstimateInvoiceType.ACOMPTE}) { %>
|
|
32
|
+
Facture d'acompte
|
|
33
|
+
<% } %>
|
|
34
|
+
<%= reference %></span><br/>
|
|
35
|
+
<% if(emissionDate) {%><span class="document-emission-date">Date d’émission : <%= emissionDateFormatted %></span><br/><% } %>
|
|
36
|
+
<% if(dueDate && idEstimateInvoiceType !== ${EstimateInvoiceType.ACOMPTE}) {%>
|
|
37
|
+
<span class="document-due-date">
|
|
38
|
+
<% if ([${EstimateInvoiceType.BON}, ${EstimateInvoiceType.DEVIS}].includes(idEstimateInvoiceType)) {%>
|
|
39
|
+
Valide jusqu'au :
|
|
40
|
+
<% } else { %>
|
|
41
|
+
Date d'échéance :
|
|
42
|
+
<% } %>
|
|
43
|
+
<%= dueDateFormatted %></span>
|
|
44
|
+
<% } %>
|
|
45
|
+
<% if (expirationDate && idEstimateInvoiceType === ${EstimateInvoiceType.ACOMPTE}) {%>
|
|
46
|
+
<span class="document-due-date">Date d'expiration : <%= expirationDateFormatted %></span>
|
|
47
|
+
<% } %>
|
|
48
|
+
<% if(termsOfPayment) { %>
|
|
49
|
+
<br/><p style="margin-bottom: 0px;"><%= [${EstimateInvoiceType.BON}, ${EstimateInvoiceType.DEVIS}].includes(idEstimateInvoiceType) ? 'Conditions de règlement' : 'Date limite de règlement' %> : <%= termsOfPayment %></p>
|
|
50
|
+
<% } %>
|
|
51
|
+
</div>
|
|
52
|
+
<div style="width: 40%; margin-top: auto;">
|
|
53
|
+
<p>Client</p>
|
|
54
|
+
<div class="<%= settings && settings.isCoordinatesFrameDisplayed ? 'customer-border' : '' %>">
|
|
55
|
+
<% if(thirdParty.fullname) {%><%= thirdParty.fullname %><br/><% } %>
|
|
56
|
+
<% if(thirdParty.company) {%><%= thirdParty.company %><br/><% } %>
|
|
57
|
+
<% if(thirdParty.address) {%><%= thirdParty.address %><br/><% } %>
|
|
58
|
+
<% if(thirdParty.zipCode) {%><%= thirdParty.zipCode + ' ' %><% } %><%= thirdParty.city %>
|
|
59
|
+
</div>
|
|
60
|
+
</div>
|
|
61
|
+
</div>`;
|
|
62
|
+
|
|
63
|
+
export const bodyTemplate = `<html>
|
|
64
|
+
|
|
65
|
+
<body>
|
|
66
|
+
|
|
67
|
+
${headOfDocument}
|
|
68
|
+
|
|
69
|
+
<div class="row mt-25">
|
|
70
|
+
<% if (title) { %>Titre : <%= title %><% } %>
|
|
71
|
+
</div>
|
|
72
|
+
|
|
73
|
+
<div class="row mt-10">${commonTemplate.products}</div>
|
|
74
|
+
|
|
75
|
+
<div class="row space-between mt-20">
|
|
76
|
+
<div style="max-width: 55%;">
|
|
77
|
+
<% if (disableVat !== true && vats.length) { %>
|
|
78
|
+
${commonTemplate.vatRecapitulation}
|
|
79
|
+
<% } %>
|
|
80
|
+
<% if (vatMention) { %><div class="vat-mention <%= disableVat !== true ? 'mt-20' : ''%>"><%= vatMention %></div><% } %>
|
|
81
|
+
<% if (comment) { %>
|
|
82
|
+
<p class="mt-20">Commentaire :<br/>
|
|
83
|
+
<%= comment %>
|
|
84
|
+
<% } %>
|
|
85
|
+
</div>
|
|
86
|
+
|
|
87
|
+
${commonTemplate.amountRecapitulation}
|
|
88
|
+
|
|
89
|
+
</div>
|
|
90
|
+
|
|
91
|
+
<% if ((settings && (settings.iban || settings.bic)) || isStripeAllowed) { %>
|
|
92
|
+
<div class="row mt-30 space-between">
|
|
93
|
+
<div>
|
|
94
|
+
<% if (settings && (settings.iban || settings.bic)) { %>
|
|
95
|
+
<% if(settings.iban) { %>IBAN : <%= settings.iban %><br/><% } %>
|
|
96
|
+
<% if(settings.bic) { %>BIC : <%= settings.bic %><% } %>
|
|
97
|
+
<% } %>
|
|
98
|
+
</div>
|
|
99
|
+
<% if (isStripeAllowed) { %>
|
|
100
|
+
<div style="text-align: right">${commonTemplate.paymentButton}</div>
|
|
101
|
+
<% } %>
|
|
102
|
+
</div>
|
|
103
|
+
<% } %>
|
|
104
|
+
|
|
105
|
+
<% if (cgv) { %>
|
|
106
|
+
<%- cgv %>
|
|
107
|
+
<% } %>
|
|
108
|
+
</body>
|
|
109
|
+
|
|
110
|
+
<style>
|
|
111
|
+
${commonTemplate.style}
|
|
112
|
+
</style>
|
|
113
|
+
</html>`;
|