@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
|
@@ -0,0 +1,205 @@
|
|
|
1
|
+
import { EstimateInvoiceType } from '../../../types/Enum/EstimateInvoice';
|
|
2
|
+
import { DiscountType } from '../../../types/Enum/CommercialManagement';
|
|
3
|
+
|
|
4
|
+
export class CommercialDocumentCommonHTML {
|
|
5
|
+
header = `<style>html {
|
|
6
|
+
-webkit-print-color-adjust: exact;
|
|
7
|
+
}</style><% if (settings && settings.isEdgingDisplayed) { %>
|
|
8
|
+
<span style="position: absolute; top: 0; left: 0; width: 100vw; font-size: 10px; height: 15px; background-color: <%= settings && settings.edgingColor ? settings.edgingColor : '#333333' %>; margin-bottom: 20px;"></span>
|
|
9
|
+
<% } %>`;
|
|
10
|
+
|
|
11
|
+
footer = `<div style="font-size: 8px; color: #DADCDF; text-align: center; margin-left: 40px; margin-right: 40px; display: block; width: 100%">
|
|
12
|
+
<% if (freeText) { %><%- freeText %><br/><br/><% } %>
|
|
13
|
+
<% if(penalties || compensation || discount) {%><%= penalties ? 'Pénalités en cas de retard : ' + penalties : ''%><%= penalties && compensation ? '|' : ''%><%= compensation ? 'Indemnité forfaitaire en cas de retard :' + compensation : '' %><%= (compensation || penalties) && discount ? '| ' : '' %><%= discount %><% if(name || legalForm || capital || siren || rcs) {%><br/><br/><% } %><% }%>
|
|
14
|
+
<%= name %><%= name && (legalForm || capital || siren || rcs) ? ',' : ''%><%= legalForm %><%= capital ? ' au capital de ' + capitalFormatted + ' €' : '' %><%= siren ? ' immatriculée sous le SIREN ' + siren : ''%><%= rcs ? 'RCS ' + rcs + vatCode || nafCode ? '|' : '' : ''%><% if (vatCode || nafCode) {%><br/><% } %><%= vatCode ? 'N° TVA '+vatCode : ''%><% if(vatCode && nafCode){%>|<%}%><%= nafCode ? 'APE '+nafCode : '' %>
|
|
15
|
+
</div>`;
|
|
16
|
+
|
|
17
|
+
logo = `<div class="logo-placeholder">
|
|
18
|
+
<% if (logoUrl) { %><img src="<%= logoUrl %>" alt="logo" /><% } %>
|
|
19
|
+
</div>`;
|
|
20
|
+
|
|
21
|
+
company = `<div>
|
|
22
|
+
<% if (name) { %><p><%= name %><p><% } %>
|
|
23
|
+
<% if (number || street) {%><p><%}%><% if (number) { %><%= number + ' ' %><% } if (street) { %><%= street %><% } if (number || street) { %><% } %><% if (number || street) {%></p><%}%>
|
|
24
|
+
<% if (zipCode || city) {%><p><%}%><% if (zipCode) { %><%= zipCode + ' ' %><% } if (city) { %><%= city %><% } if (zipCode || city) { %></p><% } %>
|
|
25
|
+
</div>
|
|
26
|
+
<% if (phoneContact) { %><p><%= phoneContact %><p><% } %>
|
|
27
|
+
<% if (settings && settings.mailContact) { %><p><%= settings.mailContact %></p><% } %>`;
|
|
28
|
+
|
|
29
|
+
products = `<table class="full-width">
|
|
30
|
+
<thead>
|
|
31
|
+
<tr>
|
|
32
|
+
<td>Article</td>
|
|
33
|
+
<td>Quantité</td>
|
|
34
|
+
<td>P.U <%= disableVat !== true ? 'HT' : ''%></td>
|
|
35
|
+
<% if (shouldDisplayDiscountColumn) { %><td>Remise</td><% } %>
|
|
36
|
+
<% if (disableVat !== true) { %><td>TVA</td><% } %>
|
|
37
|
+
<td>Montant <%= disableVat !== true ? 'HT' : ''%></td>
|
|
38
|
+
</tr>
|
|
39
|
+
</thead>
|
|
40
|
+
<% if (idEstimateInvoiceType === ${EstimateInvoiceType.ACOMPTE}) { %>
|
|
41
|
+
<tr>
|
|
42
|
+
<td class="product-title">
|
|
43
|
+
<%= title %>
|
|
44
|
+
</td>
|
|
45
|
+
<td class="product-quantity">1</td>
|
|
46
|
+
<td class="product-price-without-vat"><%= depositFormatted %>€</td>
|
|
47
|
+
<td class="product-total-price-without-vat"><%= depositFormatted %>€</td>
|
|
48
|
+
</tr>
|
|
49
|
+
<% } %>
|
|
50
|
+
<% if (products) { %>
|
|
51
|
+
<% products.forEach(function (product) { %>
|
|
52
|
+
<tr>
|
|
53
|
+
<td class="product-title">
|
|
54
|
+
<% if(product.itemSaleName) { %><p class="product-name"><%= product.itemSaleName %></p><% } %>
|
|
55
|
+
<% if(product.comment) { %><p class="product-description"><%= product.comment %></p><% } %>
|
|
56
|
+
</td>
|
|
57
|
+
<td class="product-quantity"><%= product.quantity ? product.quantity : '' %><%= product.unitFormatted ? product.unitFormatted : '' %></td>
|
|
58
|
+
<td class="product-price-without-vat"><% if(product.priceTaxExcludedFormatted) { %><%= product.priceTaxExcludedFormatted + '€' %><% } %></td>
|
|
59
|
+
<% if (shouldDisplayDiscountColumn) { %>
|
|
60
|
+
<td class="product-discount">
|
|
61
|
+
<% if (product.discountFormatted) { %>
|
|
62
|
+
<p style="margin-bottom: 0px;"><%= product.discountFormatted %>€</p>
|
|
63
|
+
<% if(product.discountType === ${DiscountType.PERCENT}) { %><span class="discount-percent">(<%= product.discountTypeFormatted %>)</span><% } %>
|
|
64
|
+
<% } %>
|
|
65
|
+
</td>
|
|
66
|
+
<% } %>
|
|
67
|
+
<% if(disableVat !== true) { %><td class="product-vat"><% if(product.vatFormatted) { %><%= product.vatFormatted %><% } %></td><% } %>
|
|
68
|
+
<td class="product-total-price-without-vat"><% if(product.totalTaxExcludedFormatted) { %><%= product.totalTaxExcludedFormatted + '€' %><% } %></td>
|
|
69
|
+
</tr>
|
|
70
|
+
<% }) %>
|
|
71
|
+
<% } %>
|
|
72
|
+
</table>`;
|
|
73
|
+
|
|
74
|
+
vatRecapitulation = `<table style="width: 80%;">
|
|
75
|
+
<thead>
|
|
76
|
+
<tr>
|
|
77
|
+
<td>Base</td>
|
|
78
|
+
<td>Taux</td>
|
|
79
|
+
<td>Montant TVA</td>
|
|
80
|
+
</tr>
|
|
81
|
+
</thead>
|
|
82
|
+
<% vats.forEach(function (vat) { %>
|
|
83
|
+
<tr class="vat-detail-row">
|
|
84
|
+
<td><%= vat.baseFormatted %>€</td>
|
|
85
|
+
<td><%= vat.name %></td>
|
|
86
|
+
<td><%= vat.amountFormatted %>€</td>
|
|
87
|
+
</tr>
|
|
88
|
+
<% }) %>
|
|
89
|
+
</table>`;
|
|
90
|
+
|
|
91
|
+
amountRecapitulation = `<table class="summary-prices" style="width: 40%">
|
|
92
|
+
<thead>
|
|
93
|
+
<tr>
|
|
94
|
+
<td colspan="2">Récapitulatif</td>
|
|
95
|
+
</tr>
|
|
96
|
+
</thead>
|
|
97
|
+
<% if (idEstimateInvoiceType !== ${EstimateInvoiceType.ACOMPTE}) { %>
|
|
98
|
+
<% if (disableVat !== true) { %>
|
|
99
|
+
<tr>
|
|
100
|
+
<td>Total HT</td>
|
|
101
|
+
<td><%= totalTaxExcludedFormatted %>€</td>
|
|
102
|
+
</tr>
|
|
103
|
+
<% } %>
|
|
104
|
+
<% if (generalDiscountFormatted) { %>
|
|
105
|
+
<tr>
|
|
106
|
+
<td>Remise</td>
|
|
107
|
+
<td><%= generalDiscountFormatted %>€</td>
|
|
108
|
+
</tr>
|
|
109
|
+
<% } %>
|
|
110
|
+
<% if (disableVat !== true) { %>
|
|
111
|
+
<tr>
|
|
112
|
+
<td>TVA</td>
|
|
113
|
+
<td><%= totalVatAmountFormatted %>€</td>
|
|
114
|
+
</tr>
|
|
115
|
+
<% } %>
|
|
116
|
+
<% if (disableVat !== true || generalDiscountFormatted || depositFormatted) { %>
|
|
117
|
+
<tr>
|
|
118
|
+
<td>Total <%= disableVat !== true ? 'TTC' : ''%></td>
|
|
119
|
+
<td><%= totalTaxAndDiscountIncludedFormatted %>€</td>
|
|
120
|
+
</tr>
|
|
121
|
+
<% } %>
|
|
122
|
+
<% if (depositFormatted) { %>
|
|
123
|
+
<tr>
|
|
124
|
+
<td>Acompte</td>
|
|
125
|
+
<td><%= depositFormatted %>€</td>
|
|
126
|
+
</tr>
|
|
127
|
+
<% } %>
|
|
128
|
+
<% } %>
|
|
129
|
+
<% if ([${EstimateInvoiceType.FACTURE}, ${EstimateInvoiceType.RESTE}, ${EstimateInvoiceType.ACOMPTE}].includes(idEstimateInvoiceType)) { %>
|
|
130
|
+
<tr>
|
|
131
|
+
<td><b>Net à payer</b></td>
|
|
132
|
+
<td><%= totalTaxAndDiscountIncludedFormatted %>€</td>
|
|
133
|
+
</tr>
|
|
134
|
+
<% } %>
|
|
135
|
+
</table>`;
|
|
136
|
+
|
|
137
|
+
paymentButton = `<a class="payment-button" href="<% if (paymentLink) {%><%= paymentLink %><% } else {%>#<%}%>">Payer en ligne <svg width="81" height="17" viewBox="0 0 81 17" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
138
|
+
<path d="M23.6521 1H2.21213C1.5052 1 0.932129 1.57308 0.932129 2.28V14.792C0.932129 15.4989 1.5052 16.072 2.21213 16.072H23.6521C24.3591 16.072 24.9321 15.4989 24.9321 14.792V2.28C24.9321 1.57308 24.3591 1 23.6521 1Z" fill="black"/>
|
|
139
|
+
<path d="M14.9716 5.02051H10.3726V12.5219H14.9716V5.02051Z" fill="#FF5F00"/>
|
|
140
|
+
<path d="M10.8366 8.77127C10.8369 7.30928 11.5058 5.92768 12.6523 5.02055C10.6962 3.48259 7.88661 3.70615 6.19833 5.53409C4.51006 7.36203 4.51006 10.1805 6.19833 12.0085C7.88661 13.8364 10.6962 14.06 12.6523 12.522C11.5058 11.6149 10.8369 10.2333 10.8366 8.77127Z" fill="#EB001B"/>
|
|
141
|
+
<path d="M20.3795 8.77136C20.3808 10.5969 19.3394 12.2628 17.6977 13.0612C16.0561 13.8596 14.1027 13.6502 12.6675 12.5221C13.8143 11.6152 14.4832 10.2334 14.4832 8.77136C14.4832 7.30928 13.8143 5.92754 12.6675 5.02064C14.1027 3.8925 16.0561 3.68315 17.6977 4.48156C19.3394 5.27997 20.3808 6.94586 20.3795 8.77136Z" fill="#F79E1B"/>
|
|
142
|
+
<path d="M30.1321 1.25H51.1321C51.6568 1.25 52.0821 1.67534 52.0821 2.2V14.8C52.0821 15.3247 51.6568 15.75 51.1321 15.75H30.1321C29.6075 15.75 29.1821 15.3247 29.1821 14.8V2.2C29.1821 1.67534 29.6075 1.25 30.1321 1.25Z" fill="white" stroke="#EDEDED" stroke-width="0.5"/>
|
|
143
|
+
<path d="M37.7276 11.4621L38.7284 5.5893H40.3292L39.3277 11.4621H37.7276ZM45.1109 5.7159C44.7938 5.59692 44.2968 5.46924 43.6762 5.46924C42.0945 5.46924 40.9803 6.26574 40.9708 7.40733C40.9618 8.25123 41.7662 8.72199 42.3734 9.00291C42.9965 9.29076 43.2059 9.47433 43.203 9.7314C43.1991 10.125 42.7054 10.3049 42.2453 10.3049C41.6046 10.3049 41.2642 10.2159 40.7385 9.9966L40.5322 9.9033L40.3076 11.218C40.6815 11.3819 41.3729 11.5239 42.0907 11.5313C43.7734 11.5313 44.8657 10.7439 44.8782 9.52482C44.8842 8.85675 44.4577 8.34834 43.5342 7.92918C42.9747 7.65753 42.632 7.47621 42.6356 7.20114C42.6356 6.95703 42.9257 6.69597 43.5523 6.69597C44.0758 6.68787 44.455 6.80202 44.7505 6.92097L44.8939 6.98877L45.1109 5.7159M49.2302 5.58921H47.9932C47.61 5.58921 47.3233 5.69382 47.155 6.07623L44.7777 11.4582H46.4586C46.4586 11.4582 46.7334 10.7345 46.7955 10.5757C46.9793 10.5757 48.6122 10.5782 48.8457 10.5782C48.8936 10.7838 49.0404 11.4582 49.0404 11.4582H50.5258L49.2302 5.58903V5.58921ZM47.2676 9.38151C47.4 9.04314 47.9054 7.73982 47.9054 7.73982C47.8959 7.75548 48.0368 7.3998 48.1176 7.1793L48.2258 7.68567C48.2258 7.68567 48.5324 9.08754 48.5964 9.38151H47.2676ZM36.3686 5.58921L34.8014 9.59421L34.6344 8.78031C34.3427 7.84212 33.4337 6.82566 32.4175 6.31677L33.8505 11.4528L35.5441 11.4508L38.0643 5.58915H36.3686" fill="#171E6C"/>
|
|
144
|
+
<path d="M33.3395 5.58874H30.7582L30.7378 5.71093C32.7459 6.19705 34.0747 7.37182 34.6264 8.78323L34.0651 6.08443C33.9682 5.71258 33.6872 5.60161 33.3395 5.58862" fill="#171E6C"/>
|
|
145
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M78.6129 1C77.4206 1 64.7971 1 57.7475 1C57.1513 1 56.5552 1.6 56.5552 2.2V14.2C56.5552 15.4 57.1513 16 58.3436 16C64.9942 16 77.4206 16 78.6129 16C79.8052 16 80.4013 15.4 80.4013 14.2V2.8C80.4013 1.6 79.8052 1 78.6129 1Z" fill="#306FC5"/>
|
|
146
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M58.496 7.17857L58.0342 6.04592L57.575 7.17857H58.496ZM68.6703 6.72755C68.5775 6.7842 68.4679 6.78608 68.3365 6.78608H67.5168V6.15502H68.3476C68.4652 6.15502 68.5879 6.16033 68.6676 6.20626C68.7552 6.24765 68.8093 6.33575 68.8093 6.45744C68.8093 6.58161 68.7578 6.68153 68.6703 6.72755C68.7578 6.68153 68.6703 6.72755 68.6703 6.72755ZM74.518 7.17857L74.0511 6.04592L73.5867 7.17857H74.518ZM63.6175 8.40455H62.9257L62.9232 6.17935L61.9448 8.40455H61.3523L60.3713 6.17738V8.40455H58.9989L58.7396 7.77082H57.3347L57.0728 8.40455H56.3399L57.5483 5.56337H58.5508L59.6984 8.25338V5.56337H60.7997L61.6828 7.49077L62.494 5.56337H63.6174V8.40455H63.6175ZM66.3744 8.40455H64.1203V5.56337H66.3744V6.15502H64.7951V6.66714H66.3366V7.24953H64.7951V7.81693H66.3744V8.40455ZM69.5526 6.32855C69.5526 6.78154 69.2522 7.01558 69.0772 7.08585C69.2248 7.14241 69.3509 7.24233 69.411 7.32512C69.5062 7.46643 69.5227 7.59266 69.5227 7.84641V8.40455H68.8421L68.8395 8.04625C68.8395 7.87529 68.8558 7.62942 68.733 7.49274C68.6344 7.39282 68.4841 7.37113 68.2412 7.37113H67.5169V8.40455H66.8422V5.56337H68.3941C68.739 5.56337 68.9931 5.57254 69.2112 5.69945C69.4247 5.82637 69.5526 6.01165 69.5526 6.32855C69.5526 6.01165 69.5526 6.32855 69.5526 6.32855ZM70.6325 8.40455H69.944V5.56337H70.6325V8.40455ZM78.62 8.40455H77.6638L76.3848 6.27208V8.40455H75.0106L74.748 7.77082H73.3463L73.0915 8.40455H72.302C71.974 8.40455 71.5587 8.33153 71.3235 8.0903C71.0864 7.84906 70.963 7.5223 70.963 7.00564C70.963 6.58427 71.0368 6.19906 71.3268 5.89467C71.5449 5.66792 71.8865 5.56337 72.3515 5.56337H73.0048V6.17216H72.3652C72.119 6.17216 71.9799 6.209 71.846 6.34046C71.731 6.4601 71.652 6.68625 71.652 6.98404C71.652 7.28844 71.7121 7.50791 71.8376 7.65128C71.9414 7.76371 72.1302 7.79782 72.3078 7.79782H72.6109L73.5619 5.56345H74.5729L75.7153 8.25081V5.56345H76.7427L77.9288 7.54218V5.56345H78.62V8.40455ZM56.3321 8.9626H57.485L57.745 8.33153H58.3269L58.5862 8.9626H60.8546V8.48013L61.0571 8.96466H62.2347L62.4372 8.47293V8.9626H68.0746L68.0719 7.9267H68.181C68.2574 7.92936 68.2797 7.93647 68.2797 8.06339V8.9626H71.1954V8.72145C71.4306 8.84828 71.7964 8.9626 72.2777 8.9626H73.5043L73.7668 8.33153H74.3488L74.6055 8.9626H76.9693V8.36316L77.3273 8.9626H79.2214V5H77.3468V5.46799L77.0843 5H75.1608V5.46799L74.9197 5H72.3215C71.8865 5 71.5042 5.0611 71.1954 5.23138V5H69.4024V5.23138C69.2058 5.05587 68.9381 5 68.6403 5H62.0897L61.6501 6.02347L61.1988 5H59.1355V5.46799L58.9088 5H57.1492L56.332 6.88404V8.9626H56.3321ZM80.3331 11.0548H79.1033C78.9806 11.0548 78.899 11.0594 78.8303 11.1061C78.7591 11.1521 78.7317 11.2204 78.7317 11.3106C78.7317 11.4178 78.7918 11.4907 78.8792 11.5223C78.9504 11.5472 79.0269 11.5545 79.1393 11.5545L79.505 11.5643C79.874 11.5735 80.1203 11.6374 80.2705 11.7931C80.2979 11.8148 80.3143 11.8391 80.3331 11.8634V11.0548ZM80.3331 12.9284C80.1692 13.1696 79.8498 13.2919 79.4174 13.2919H78.1144V12.6825H79.4122C79.5409 12.6825 79.631 12.6655 79.6852 12.6122C79.7322 12.5682 79.765 12.5043 79.765 12.4268C79.765 12.344 79.7322 12.2783 79.6826 12.2389C79.6336 12.1955 79.5624 12.1758 79.4449 12.1758C78.8113 12.1541 78.0209 12.1955 78.0209 11.2962C78.0209 10.884 78.2809 10.4501 78.989 10.4501H80.333V9.8847H79.0843C78.7074 9.8847 78.4337 9.97553 78.2398 10.1168V9.8847H76.3927C76.0973 9.8847 75.7506 9.95839 75.5866 10.1168V9.8847H72.2882V10.1168C72.0257 9.92617 71.5827 9.8847 71.3783 9.8847H69.2026V10.1168C68.9949 9.91435 68.5331 9.8847 68.2516 9.8847H65.8166L65.2594 10.4916L64.7376 9.8847H61.1003V13.85H64.6691L65.2433 13.2335L65.7841 13.85L67.984 13.852V12.9192H68.2003C68.4921 12.9237 68.8364 12.9119 69.1401 12.7798V13.85H70.9546V12.8165H71.0421C71.1538 12.8165 71.1648 12.8211 71.1648 12.9334V13.8499H76.6769C77.0269 13.8499 77.3926 13.7597 77.5952 13.5961V13.8499H79.3436C79.7075 13.8499 80.0628 13.7985 80.3331 13.6671V12.9284ZM77.6415 11.7931C77.7729 11.9299 77.8433 12.1027 77.8433 12.3952C77.8433 13.0065 77.4638 13.2919 76.7833 13.2919H75.4691V12.6825H76.7781C76.906 12.6825 76.9968 12.6655 77.0537 12.6122C77.1001 12.5682 77.1334 12.5043 77.1334 12.4268C77.1334 12.344 77.0974 12.2783 77.051 12.2389C76.9994 12.1955 76.9283 12.1758 76.8108 12.1758C76.1797 12.1541 75.3895 12.1955 75.3895 11.2962C75.3895 10.884 75.6468 10.4501 76.3542 10.4501H77.7069V11.055H76.4691C76.3464 11.055 76.2667 11.0596 76.1988 11.1063C76.1249 11.1523 76.0975 11.2206 76.0975 11.3108C76.0975 11.418 76.1602 11.4909 76.2451 11.5224C76.3163 11.5474 76.3928 11.5547 76.5077 11.5547L76.871 11.5645C77.2373 11.5735 77.4887 11.6373 77.6415 11.7931C77.4887 11.6373 77.6415 11.7931 77.6415 11.7931ZM71.5528 11.6176C71.4626 11.6715 71.351 11.6761 71.2197 11.6761H70.3999V11.0378H71.2308C71.351 11.0378 71.4712 11.0404 71.5528 11.0892C71.6403 11.1352 71.6926 11.2232 71.6926 11.3448C71.6926 11.4664 71.6403 11.5643 71.5528 11.6176C71.6403 11.5643 71.5528 11.6176 71.5528 11.6176ZM71.9604 11.9712C72.1106 12.027 72.2333 12.127 72.2909 12.2098C72.3862 12.3486 72.4 12.478 72.4027 12.7285V13.2919H71.7253V12.9363C71.7253 12.7654 71.7416 12.5122 71.6162 12.3801C71.5176 12.2783 71.3673 12.2539 71.1211 12.2539H70.4V13.2919H69.722V10.45H71.2799C71.6215 10.45 71.8703 10.4652 72.0917 10.5841C72.3047 10.7136 72.4386 10.891 72.4386 11.2152C72.4385 11.6688 72.138 11.9003 71.9604 11.9712C72.138 11.9003 71.9604 11.9712 71.9604 11.9712ZM72.8128 10.45H75.0648V11.0377H73.4847V11.5544H75.0262V12.1342H73.4847V12.6997L75.0648 12.7022V13.2919H72.8128V10.45ZM68.2602 11.7615H67.3882V11.0378H68.268C68.5116 11.0378 68.6807 11.1377 68.6807 11.3863C68.6807 11.632 68.5195 11.7615 68.2602 11.7615ZM66.7161 13.0334L65.6802 11.8759L66.7161 10.755V13.0334ZM64.0407 12.6997H62.3817V12.1342H63.8631V11.5544H62.3817V11.0377H64.0734L64.8115 11.8659L64.0407 12.6997ZM69.4052 11.3863C69.4052 12.1757 68.82 12.3387 68.2301 12.3387H67.3882V13.2919H66.0767L65.2458 12.3511L64.3823 13.2919H61.7096V10.45H64.4235L65.2537 11.3816L66.1119 10.45H68.268C68.8035 10.45 69.4052 10.5992 69.4052 11.3863C69.4052 10.5992 69.4052 11.3863 69.4052 11.3863Z" fill="white"/>
|
|
147
|
+
</svg></a>`;
|
|
148
|
+
|
|
149
|
+
style = `@import url("<%= font.url %>");
|
|
150
|
+
|
|
151
|
+
html { padding: 0; margin: 0px; }
|
|
152
|
+
body { width: 100%; margin: 0px; font-family: "<%= font.name %>"; font-size: 14px; font-weight: normal; }
|
|
153
|
+
.row { display: flex; }
|
|
154
|
+
.items-end { align-items: end; }
|
|
155
|
+
.space-between { justify-content: space-between; }
|
|
156
|
+
.full-width { width: 100% }
|
|
157
|
+
.mt-30 { margin-top: 30px }
|
|
158
|
+
.mt-25 { margin-top: 25px }
|
|
159
|
+
.mt-20 { margin-top: 20px }
|
|
160
|
+
.mt-10 { margin-top: 10px }
|
|
161
|
+
.align-center { text-align: center; }
|
|
162
|
+
.margin-auto { margin: auto; }
|
|
163
|
+
.justify-center { justify-content: center; }
|
|
164
|
+
table { font-size: 14px; font-style: normal; }
|
|
165
|
+
|
|
166
|
+
/* Header */
|
|
167
|
+
.society-informations p { margin: 0px; }
|
|
168
|
+
.society-informations > div p { font-weight: bold; }
|
|
169
|
+
.logo-placeholder { width: 300px; max-height: 150px;text-align: <%= settings && settings.logoAlignment === 'left' ? 'left' : 'right' %>; margin-bottom: <%= settings && settings.logoAlignment === 'left' ? '10px;' : '0px' %>}
|
|
170
|
+
.logo-placeholder > svg, .logo-placeholder > img { max-width: 100%; max-height: 150px; }
|
|
171
|
+
.document-reference { font-size: 20px; }
|
|
172
|
+
.customer-border { border: 2px solid #EAEAEA; border-radius: 6px; padding: 7px; }
|
|
173
|
+
|
|
174
|
+
/* Body */
|
|
175
|
+
table { border-spacing: 1px; border-collapse: collapse; }
|
|
176
|
+
table, th, td { border: 1px solid #DADCDF; }
|
|
177
|
+
table tr td p { margin: 0px; }
|
|
178
|
+
table tbody tr td { padding: 10px; background-color: white; vertical-align: baseline;}
|
|
179
|
+
table thead tr td { background-color: <%= settings && settings.color ? settings.color : '#EAEAEA' %>; padding: 10px; }
|
|
180
|
+
table thead tr td:not(:first-child) { text-align: right; }
|
|
181
|
+
table .product-description { color: #838384 }
|
|
182
|
+
table .product-quantity, table .product-price-without-vat, table .product-vat, table .product-total-price-without-vat, table .product-discount { text-align: right; }
|
|
183
|
+
table td.product-quantity, table td.product-vat { width: 10% }
|
|
184
|
+
td.product-discount { width: 12.5% }
|
|
185
|
+
table td.product-total-price-without-vat, table td.product-price-without-vat { width: 15% }
|
|
186
|
+
table tr.vat-detail-row td:not(:first-child) { text-align: right; }
|
|
187
|
+
table.summary-prices tr td:not(:first-child) {text-align: right;}
|
|
188
|
+
table.summary-prices tr td:first-child {border-right: none;}
|
|
189
|
+
table .discount-percent { color: #838384; font-size: smaller }
|
|
190
|
+
a.payment-button { display: flex; align-items: center; background-color: #EBF1FF; border-radius: 10px; font-weight: 450; font-size: 14px; color: #1656FF; border: none; padding: 10px 16px; text-decoration: none; }
|
|
191
|
+
a.payment-button svg { margin-left: 15px; }
|
|
192
|
+
<% if (settings && settings.areLinesSeparationHidden) { %>
|
|
193
|
+
td { border-top: none !important; border-bottom: none !important; }
|
|
194
|
+
<% } %>
|
|
195
|
+
<% if (settings && settings.areColumnsSeparationHidden) { %>
|
|
196
|
+
td { border-left: none !important; border-right: none !important; }
|
|
197
|
+
<% } %>
|
|
198
|
+
<% if (settings && settings.areExternalBordersHidden) { %>
|
|
199
|
+
table { border: none !important }
|
|
200
|
+
table tr:last-child td { border-bottom: none !important }
|
|
201
|
+
table thead td { border-top: none !important }
|
|
202
|
+
table td:first-child { border-left: none !important }
|
|
203
|
+
table td:last-child { border-right: none !important }
|
|
204
|
+
<% } %>`;
|
|
205
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { sumBy as _sumBy } from 'lodash';
|
|
2
|
+
import { Vat, VatType } from '../../types/Enum/Vat';
|
|
3
|
+
import { integerToFormattedAmountString } from '../amount';
|
|
4
|
+
import { ReadProductEditing, ReadVatEditing } from '../../types';
|
|
5
|
+
|
|
6
|
+
export function getAmount(amount: number | null, vatValue: number): number {
|
|
7
|
+
const _amount = amount ?? 0;
|
|
8
|
+
return _amount * (vatValue / 100);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export function getById(id: number): VatType | undefined {
|
|
12
|
+
return Object.values(Vat).find((vat) => vat.id === id);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export function vatToReadVatEditing(products: ReadProductEditing[]): ReadVatEditing {
|
|
16
|
+
const { idVat } = products[0];
|
|
17
|
+
return {
|
|
18
|
+
name: getById(idVat)?.saleName ?? '',
|
|
19
|
+
amount: _sumBy(products, (p) => getAmount(p.totalTaxExcluded, getById(idVat)?.value ?? 0)),
|
|
20
|
+
value: getById(idVat)?.value ?? 0,
|
|
21
|
+
baseFormatted: integerToFormattedAmountString(_sumBy(products, (p) => (p.totalTaxExcluded ? +p.totalTaxExcluded : 0))),
|
|
22
|
+
amountFormatted: integerToFormattedAmountString((_sumBy(products, (p) => (p.totalTaxExcluded ? +p.totalTaxExcluded : 0)) * ((getById(idVat)?.value ?? 0))) / 100),
|
|
23
|
+
};
|
|
24
|
+
}
|
package/ts/utils/index.ts
CHANGED
package/ts/utils/task.ts
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { Role } from '../types/Enum/Role';
|
|
2
|
-
import { TaskResponseType, RoleAvailableForTask } from '../types/Enum/TaskResponseType';
|
|
3
2
|
|
|
4
3
|
const getIdRoleUsedForTask = (listRoles: number[]): number => {
|
|
5
4
|
let idRole = 0;
|
|
6
|
-
if (listRoles.includes(Role.COMMERCIAL)) {
|
|
5
|
+
if (listRoles.includes(Role.COMMERCIAL) || listRoles.includes(Role.COMMERCIAL_MANAGER)) {
|
|
7
6
|
idRole = Role.COMMERCIAL;
|
|
8
7
|
} else if (listRoles.includes(Role.JURIDIC)) {
|
|
9
8
|
idRole = Role.JURIDIC;
|
|
@@ -11,35 +10,28 @@ const getIdRoleUsedForTask = (listRoles: number[]): number => {
|
|
|
11
10
|
idRole = Role.SOCIAL;
|
|
12
11
|
} else if (listRoles.includes(Role.FACTURATION)) {
|
|
13
12
|
idRole = Role.FACTURATION;
|
|
14
|
-
} else if (listRoles.includes(Role.CUSTOMER_SUCCESS)) {
|
|
13
|
+
} else if (listRoles.includes(Role.CUSTOMER_SUCCESS) || listRoles.includes(Role.CUSTOMER_SUCCESS_MANAGER)) {
|
|
15
14
|
idRole = Role.CUSTOMER_SUCCESS;
|
|
16
|
-
} else if (listRoles.includes(Role.FRONT_OFFICE)) {
|
|
15
|
+
} else if (listRoles.includes(Role.FRONT_OFFICE) || listRoles.includes(Role.FRONT_MANAGER)) {
|
|
17
16
|
idRole = Role.FRONT_OFFICE;
|
|
18
17
|
}
|
|
19
18
|
return idRole;
|
|
20
19
|
};
|
|
21
20
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
// };
|
|
35
|
-
|
|
36
|
-
const getIdRoleUsedForAttribution = (isIntern: boolean, idTaskType: number): number | undefined => {
|
|
37
|
-
const taskTypeList = isIntern ? TaskResponseType.INTERN.types : TaskResponseType.EXTERN.types;
|
|
38
|
-
return taskTypeList.find((taskType) => taskType.id === idTaskType)?.role;
|
|
21
|
+
const getIdRoleUsedForManagerTask = (listRoles: number[]): number => {
|
|
22
|
+
let idRole = 0;
|
|
23
|
+
if (listRoles.includes(Role.COMMERCIAL)) {
|
|
24
|
+
idRole = Role.COMMERCIAL_MANAGER;
|
|
25
|
+
} else if (listRoles.includes(Role.JURIDIC) || listRoles.includes(Role.SOCIAL) || listRoles.includes(Role.FACTURATION)) {
|
|
26
|
+
idRole = Role.MANAGER;
|
|
27
|
+
} else if (listRoles.includes(Role.CUSTOMER_SUCCESS)) {
|
|
28
|
+
idRole = Role.CUSTOMER_SUCCESS_MANAGER;
|
|
29
|
+
} else if (listRoles.includes(Role.FRONT_OFFICE)) {
|
|
30
|
+
idRole = Role.FRONT_MANAGER;
|
|
31
|
+
}
|
|
32
|
+
return idRole;
|
|
39
33
|
};
|
|
40
34
|
|
|
41
|
-
const getIdRoleUsedForGetTaskOfUser = (idRole: number): boolean => !!Object.values(RoleAvailableForTask).find((role) => role === idRole);
|
|
42
|
-
|
|
43
35
|
export {
|
|
44
|
-
getIdRoleUsedForTask,
|
|
36
|
+
getIdRoleUsedForTask, getIdRoleUsedForManagerTask,
|
|
45
37
|
};
|
package/ts/utils/webmail.ts
CHANGED
|
@@ -4,11 +4,13 @@ const getIdRoleUsedForEmail = (listRoles: number[]): number => {
|
|
|
4
4
|
let idRole = Role.CUSTOMER_SUCCESS;
|
|
5
5
|
if (listRoles.includes(Role.FACTURATION)) {
|
|
6
6
|
idRole = Role.FACTURATION;
|
|
7
|
+
} else if (listRoles.includes(Role.BACK_MANAGER)) {
|
|
8
|
+
idRole = Role.BACK_MANAGER;
|
|
7
9
|
} else if (listRoles.includes(Role.FRONT_OFFICE)) {
|
|
8
10
|
idRole = Role.FRONT_OFFICE;
|
|
9
11
|
} else if (listRoles.includes(Role.FRONT_OFFICE_EXPRESS)) {
|
|
10
12
|
idRole = Role.FRONT_OFFICE_EXPRESS;
|
|
11
|
-
} else if (listRoles.includes(Role.COMMERCIAL)) {
|
|
13
|
+
} else if (listRoles.includes(Role.COMMERCIAL) || listRoles.includes(Role.COMMERCIAL_MANAGER)) {
|
|
12
14
|
idRole = Role.COMMERCIAL;
|
|
13
15
|
} else if (listRoles.includes(Role.EXPERT_ACCOUNTANT)) {
|
|
14
16
|
idRole = Role.EXPERT_ACCOUNTANT;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { CreatePrestation, UpdateLegalNotice } from '../../types';
|
|
2
|
-
import { Resource } from '../Resource';
|
|
3
|
-
export declare class LegalNotice extends Resource {
|
|
4
|
-
update(idLegalNotice: string, params: CreatePrestation): Promise<UpdateLegalNotice>;
|
|
5
|
-
}
|
|
6
|
-
//# sourceMappingURL=LegalNotice.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"LegalNotice.d.ts","sourceRoot":"","sources":["../../../ts/api/resources/LegalNotice.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAClE,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,qBAAa,WAAY,SAAQ,QAAQ;IACvC,MAAM,CAAC,aAAa,EAAE,MAAM,EAAE,MAAM,EAAE,gBAAgB,GAAG,OAAO,CAAC,iBAAiB,CAAC;CAGpF"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"LegalNotice.js","sourceRoot":"","sources":["../../../ts/api/resources/LegalNotice.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,MAAM,OAAO,WAAY,SAAQ,QAAQ;IACvC,MAAM,CAAC,aAAqB,EAAE,MAAwB;QACpD,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,kBAAkB,aAAa,cAAc,EAAE,MAAM,CAAC,CAAC;IACjF,CAAC;CACF","sourcesContent":["import { CreatePrestation, UpdateLegalNotice } from '../../types';\nimport { Resource } from '../Resource';\n\nexport class LegalNotice extends Resource {\n update(idLegalNotice: string, params: CreatePrestation): Promise<UpdateLegalNotice> {\n return this.axios.$post(`/legal-notices/${idLegalNotice}/prestations`, params);\n }\n}\n"]}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { QueryGetPaymentExpectation } from '../../types';
|
|
2
|
-
import { Resource } from '../Resource';
|
|
3
|
-
export declare class PaymentExpectation extends Resource {
|
|
4
|
-
get(params: QueryGetPaymentExpectation): Promise<PaymentExpectation>;
|
|
5
|
-
}
|
|
6
|
-
//# sourceMappingURL=PaymentExpectation.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PaymentExpectation.d.ts","sourceRoot":"","sources":["../../../ts/api/resources/PaymentExpectation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,EAAE,MAAM,aAAa,CAAC;AACzD,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,qBAAa,kBAAmB,SAAQ,QAAQ;IAC9C,GAAG,CAAC,MAAM,EAAE,0BAA0B,GAAG,OAAO,CAAC,kBAAkB,CAAC;CAGrE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PaymentExpectation.js","sourceRoot":"","sources":["../../../ts/api/resources/PaymentExpectation.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,MAAM,OAAO,kBAAmB,SAAQ,QAAQ;IAC9C,GAAG,CAAC,MAAkC;QACpC,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,uBAAuB,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;IAC9D,CAAC;CACF","sourcesContent":["import { QueryGetPaymentExpectation } from '../../types';\nimport { Resource } from '../Resource';\n\nexport class PaymentExpectation extends Resource {\n get(params: QueryGetPaymentExpectation): Promise<PaymentExpectation> {\n return this.axios.$get('/payment-expectations', { params });\n }\n}"]}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { ISocietyConfig, UpdateSocietyConfig } from '../../types';
|
|
2
|
-
import { Resource } from '../Resource';
|
|
3
|
-
export declare class SocietyConfig extends Resource {
|
|
4
|
-
update(idSociety: number, id: number, params: UpdateSocietyConfig): Promise<ISocietyConfig>;
|
|
5
|
-
get(idSociety: number): Promise<ISocietyConfig>;
|
|
6
|
-
}
|
|
7
|
-
//# sourceMappingURL=SocietyConfig.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SocietyConfig.d.ts","sourceRoot":"","sources":["../../../ts/api/resources/SocietyConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAClE,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,qBAAa,aAAc,SAAQ,QAAQ;IACzC,MAAM,CAAC,SAAS,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,mBAAmB,GAAG,OAAO,CAAC,cAAc,CAAC;IAI3F,GAAG,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,cAAc,CAAC;CAGhD"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { Resource } from '../Resource';
|
|
2
|
-
export class SocietyConfig extends Resource {
|
|
3
|
-
update(idSociety, id, params) {
|
|
4
|
-
return this.axios.$put(`/societies/${idSociety}/config/${id}`, params);
|
|
5
|
-
}
|
|
6
|
-
get(idSociety) {
|
|
7
|
-
return this.axios.$get(`/societies/${idSociety}/config`);
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
//# sourceMappingURL=SocietyConfig.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SocietyConfig.js","sourceRoot":"","sources":["../../../ts/api/resources/SocietyConfig.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,MAAM,OAAO,aAAc,SAAQ,QAAQ;IACzC,MAAM,CAAC,SAAiB,EAAE,EAAU,EAAE,MAA2B;QAC/D,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,cAAc,SAAS,WAAW,EAAE,EAAE,EAAE,MAAM,CAAC,CAAC;IACzE,CAAC;IAED,GAAG,CAAC,SAAiB;QACnB,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,cAAc,SAAS,SAAS,CAAC,CAAC;IAC3D,CAAC;CACF","sourcesContent":["import { ISocietyConfig, UpdateSocietyConfig } from '../../types';\nimport { Resource } from '../Resource';\n\nexport class SocietyConfig extends Resource {\n update(idSociety: number, id: number, params: UpdateSocietyConfig): Promise<ISocietyConfig> {\n return this.axios.$put(`/societies/${idSociety}/config/${id}`, params);\n }\n\n get(idSociety: number): Promise<ISocietyConfig> {\n return this.axios.$get(`/societies/${idSociety}/config`);\n }\n}"]}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { DestroyTerminationList, QueryTerminationList } from '../../types';
|
|
2
|
-
import { Resource } from '../Resource';
|
|
3
|
-
export declare class TerminationList extends Resource {
|
|
4
|
-
get(params: QueryTerminationList): Promise<TerminationList>;
|
|
5
|
-
delete(params: DestroyTerminationList): Promise<number>;
|
|
6
|
-
}
|
|
7
|
-
//# sourceMappingURL=TerminationList.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TerminationList.d.ts","sourceRoot":"","sources":["../../../ts/api/resources/TerminationList.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC;AAC3E,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,qBAAa,eAAgB,SAAQ,QAAQ;IACpC,GAAG,CAAC,MAAM,EAAE,oBAAoB,GAAG,OAAO,CAAC,eAAe,CAAC;IAI3D,MAAM,CAAC,MAAM,EAAE,sBAAsB,GAAG,OAAO,CAAC,MAAM,CAAC;CAG/D"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { Resource } from '../Resource';
|
|
2
|
-
export class TerminationList extends Resource {
|
|
3
|
-
get(params) {
|
|
4
|
-
return this.axios.$get('/termination-lists', { params });
|
|
5
|
-
}
|
|
6
|
-
delete(params) {
|
|
7
|
-
return this.axios.$delete('/termination-lists', { params });
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
//# sourceMappingURL=TerminationList.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TerminationList.js","sourceRoot":"","sources":["../../../ts/api/resources/TerminationList.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,MAAM,OAAO,eAAgB,SAAQ,QAAQ;IACpC,GAAG,CAAC,MAA4B;QACrC,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,oBAAoB,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;IAC3D,CAAC;IAEM,MAAM,CAAC,MAA8B;QAC1C,OAAO,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,oBAAoB,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;IAC9D,CAAC;CACF","sourcesContent":["import { DestroyTerminationList, QueryTerminationList } from '../../types';\nimport { Resource } from '../Resource';\n\nexport class TerminationList extends Resource {\n public get(params: QueryTerminationList): Promise<TerminationList> {\n return this.axios.$get('/termination-lists', { params });\n }\n\n public delete(params: DestroyTerminationList): Promise<number> {\n return this.axios.$delete('/termination-lists', { params });\n }\n}"]}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { Resource } from '../Resource';
|
|
2
|
-
import { UpdateAttribution } from '../../types/Interface/api/wallet/UpdateAttribution';
|
|
3
|
-
export declare class Wallet extends Resource {
|
|
4
|
-
update(idUser: number, payload: UpdateAttribution): Promise<{
|
|
5
|
-
message: string;
|
|
6
|
-
}>;
|
|
7
|
-
}
|
|
8
|
-
//# sourceMappingURL=Wallet.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Wallet.d.ts","sourceRoot":"","sources":["../../../ts/api/resources/Wallet.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,iBAAiB,EAAE,MAAM,oDAAoD,CAAC;AAEvF,qBAAa,MAAO,SAAQ,QAAQ;IAClC,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,iBAAiB,GAAG,OAAO,CAAC;QAAE,OAAO,EAAE,MAAM,CAAA;KAAE,CAAC;CAGjF"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Wallet.js","sourceRoot":"","sources":["../../../ts/api/resources/Wallet.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAGvC,MAAM,OAAO,MAAO,SAAQ,QAAQ;IAClC,MAAM,CAAC,MAAc,EAAE,OAA0B;QAC/C,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,UAAU,MAAM,UAAU,EAAE,OAAO,CAAC,CAAC;IAC9D,CAAC;CACF","sourcesContent":["import { Resource } from '../Resource';\nimport { UpdateAttribution } from '../../types/Interface/api/wallet/UpdateAttribution';\n\nexport class Wallet extends Resource {\n update(idUser: number, payload: UpdateAttribution): Promise<{ message: string }> {\n return this.axios.$put(`/users/${idUser}/wallets`, payload);\n }\n}"]}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { Resource } from '../../Resource';
|
|
2
|
-
import { QueryGetAccountant } from '../../../types';
|
|
3
|
-
export declare class StatisticAccountant extends Resource {
|
|
4
|
-
/**
|
|
5
|
-
* Retourne les statistiques de demande de congé pour un manager comptable
|
|
6
|
-
* @param { QueryGetAccountant } payload
|
|
7
|
-
* @returns { JSON }
|
|
8
|
-
*/
|
|
9
|
-
getAbsenceRequest(payload: QueryGetAccountant): Promise<JSON>;
|
|
10
|
-
/**
|
|
11
|
-
* Retourne les statistiques de relation client pour un comptable
|
|
12
|
-
* @param { QueryGetAccountant } payload
|
|
13
|
-
* @returns { JSON }
|
|
14
|
-
*/
|
|
15
|
-
getCustomerRelation(payload: QueryGetAccountant): Promise<JSON>;
|
|
16
|
-
/**
|
|
17
|
-
* Retourne les statistiques de portefeuille pour un comptable
|
|
18
|
-
* @param {QueryGetAccountant} payload
|
|
19
|
-
* @returns {JSON}
|
|
20
|
-
*/
|
|
21
|
-
getWallet(payload: QueryGetAccountant): Promise<JSON>;
|
|
22
|
-
/**
|
|
23
|
-
* Retourne les statistiques d'application pour un comptable
|
|
24
|
-
* @param { QueryGetAccountant} payload
|
|
25
|
-
* @returns {JSON}
|
|
26
|
-
*/
|
|
27
|
-
getApplication(payload: QueryGetAccountant): Promise<JSON>;
|
|
28
|
-
/**
|
|
29
|
-
* Retourne les statistiques de production pour un comptable
|
|
30
|
-
* @param {QueryGetAccountant} payload
|
|
31
|
-
* @returns {JSON}
|
|
32
|
-
*/
|
|
33
|
-
getProduction(payload: QueryGetAccountant): Promise<JSON>;
|
|
34
|
-
/**
|
|
35
|
-
* Retourne les statistiques d'IS / IR pour un comptable
|
|
36
|
-
* @param {QueryGetAccountant} payload
|
|
37
|
-
* @returns {JSON}
|
|
38
|
-
*/
|
|
39
|
-
getIsIr(payload: QueryGetAccountant): Promise<JSON>;
|
|
40
|
-
/**
|
|
41
|
-
* Retourne les statistiques d'IS / IR pour un comptable
|
|
42
|
-
* @param {QueryGetAccountant} payload
|
|
43
|
-
* @returns {JSON}
|
|
44
|
-
*/
|
|
45
|
-
getTaxes(payload: QueryGetAccountant): Promise<JSON>;
|
|
46
|
-
/**
|
|
47
|
-
* Retourne les statistiques de bilan pour un comptable
|
|
48
|
-
* @param {QueryGetAccountant} payload
|
|
49
|
-
* @returns {JSON}
|
|
50
|
-
*/
|
|
51
|
-
getBalanceSheet(payload: QueryGetAccountant): Promise<JSON>;
|
|
52
|
-
/**
|
|
53
|
-
* Retourne les statistiques de vente additionnel pour un comptable
|
|
54
|
-
* @param {QueryGetAccountant} payload
|
|
55
|
-
* @returns {JSON}
|
|
56
|
-
*/
|
|
57
|
-
getAdditionnalSell(payload: QueryGetAccountant): Promise<JSON>;
|
|
58
|
-
}
|
|
59
|
-
//# sourceMappingURL=Accountant.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Accountant.d.ts","sourceRoot":"","sources":["../../../../ts/api/resources/statistic/Accountant.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC1C,OAAO,EAAE,kBAAkB,EAAiB,MAAM,gBAAgB,CAAC;AAEnE,qBAAa,mBAAoB,SAAQ,QAAQ;IAC/C;;;;OAIG;IACI,iBAAiB,CAAC,OAAO,EAAE,kBAAkB,GAAG,OAAO,CAAC,IAAI,CAAC;IAQpE;;;;OAIG;IACI,mBAAmB,CAAC,OAAO,EAAE,kBAAkB,GAAG,OAAO,CAAC,IAAI,CAAC;IAQtE;;;;OAIG;IACI,SAAS,CAAC,OAAO,EAAE,kBAAkB,GAAG,OAAO,CAAC,IAAI,CAAC;IAQ5D;;;;OAIG;IACI,cAAc,CAAC,OAAO,EAAE,kBAAkB,GAAG,OAAO,CAAC,IAAI,CAAC;IAQjE;;;;OAIG;IACI,aAAa,CAAC,OAAO,EAAE,kBAAkB,GAAG,OAAO,CAAC,IAAI,CAAC;IAQhE;;;;OAIG;IACI,OAAO,CAAC,OAAO,EAAE,kBAAkB,GAAG,OAAO,CAAC,IAAI,CAAC;IAQ1D;;;;OAIG;IACI,QAAQ,CAAC,OAAO,EAAE,kBAAkB,GAAG,OAAO,CAAC,IAAI,CAAC;IAQ3D;;;;OAIG;IACI,eAAe,CAAC,OAAO,EAAE,kBAAkB,GAAG,OAAO,CAAC,IAAI,CAAC;IAQlE;;;;OAIG;IACI,kBAAkB,CAAC,OAAO,EAAE,kBAAkB,GAAG,OAAO,CAAC,IAAI,CAAC;CAOtE"}
|
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
import { Resource } from '../../Resource';
|
|
2
|
-
import { StatisticType } from '../../../types';
|
|
3
|
-
export class StatisticAccountant extends Resource {
|
|
4
|
-
/**
|
|
5
|
-
* Retourne les statistiques de demande de congé pour un manager comptable
|
|
6
|
-
* @param { QueryGetAccountant } payload
|
|
7
|
-
* @returns { JSON }
|
|
8
|
-
*/
|
|
9
|
-
getAbsenceRequest(payload) {
|
|
10
|
-
const params = Object.assign(Object.assign({}, payload), { type: StatisticType.DIRECTION });
|
|
11
|
-
return this.axios.$get('/statistic-accountant/absence-request', { params });
|
|
12
|
-
}
|
|
13
|
-
/**
|
|
14
|
-
* Retourne les statistiques de relation client pour un comptable
|
|
15
|
-
* @param { QueryGetAccountant } payload
|
|
16
|
-
* @returns { JSON }
|
|
17
|
-
*/
|
|
18
|
-
getCustomerRelation(payload) {
|
|
19
|
-
const params = Object.assign(Object.assign({}, payload), { type: StatisticType.ACCOUNTANT_CUSTOMER_RELATION });
|
|
20
|
-
return this.axios.$get('/statistic-accountant', { params });
|
|
21
|
-
}
|
|
22
|
-
/**
|
|
23
|
-
* Retourne les statistiques de portefeuille pour un comptable
|
|
24
|
-
* @param {QueryGetAccountant} payload
|
|
25
|
-
* @returns {JSON}
|
|
26
|
-
*/
|
|
27
|
-
getWallet(payload) {
|
|
28
|
-
const params = Object.assign(Object.assign({}, payload), { type: StatisticType.ACCOUNTANT_WALLET });
|
|
29
|
-
return this.axios.$get('/statistic-accountant', { params });
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* Retourne les statistiques d'application pour un comptable
|
|
33
|
-
* @param { QueryGetAccountant} payload
|
|
34
|
-
* @returns {JSON}
|
|
35
|
-
*/
|
|
36
|
-
getApplication(payload) {
|
|
37
|
-
const params = Object.assign(Object.assign({}, payload), { type: StatisticType.ACCOUNTANT_APPLICATION });
|
|
38
|
-
return this.axios.$get('/statistic-accountant', { params });
|
|
39
|
-
}
|
|
40
|
-
/**
|
|
41
|
-
* Retourne les statistiques de production pour un comptable
|
|
42
|
-
* @param {QueryGetAccountant} payload
|
|
43
|
-
* @returns {JSON}
|
|
44
|
-
*/
|
|
45
|
-
getProduction(payload) {
|
|
46
|
-
const params = Object.assign(Object.assign({}, payload), { type: StatisticType.ACCOUNTANT_PRODUCTION });
|
|
47
|
-
return this.axios.$get('/statistic-accountant', { params });
|
|
48
|
-
}
|
|
49
|
-
/**
|
|
50
|
-
* Retourne les statistiques d'IS / IR pour un comptable
|
|
51
|
-
* @param {QueryGetAccountant} payload
|
|
52
|
-
* @returns {JSON}
|
|
53
|
-
*/
|
|
54
|
-
getIsIr(payload) {
|
|
55
|
-
const params = Object.assign(Object.assign({}, payload), { type: StatisticType.ACCOUNTANT_IS_IR });
|
|
56
|
-
return this.axios.$get('/statistic-accountant', { params });
|
|
57
|
-
}
|
|
58
|
-
/**
|
|
59
|
-
* Retourne les statistiques d'IS / IR pour un comptable
|
|
60
|
-
* @param {QueryGetAccountant} payload
|
|
61
|
-
* @returns {JSON}
|
|
62
|
-
*/
|
|
63
|
-
getTaxes(payload) {
|
|
64
|
-
const params = Object.assign(Object.assign({}, payload), { type: StatisticType.ACCOUNTANT_VAT });
|
|
65
|
-
return this.axios.$get('/statistic-accountant', { params });
|
|
66
|
-
}
|
|
67
|
-
/**
|
|
68
|
-
* Retourne les statistiques de bilan pour un comptable
|
|
69
|
-
* @param {QueryGetAccountant} payload
|
|
70
|
-
* @returns {JSON}
|
|
71
|
-
*/
|
|
72
|
-
getBalanceSheet(payload) {
|
|
73
|
-
const params = Object.assign(Object.assign({}, payload), { type: StatisticType.ACCOUNTANT_BALANCE_SHEET });
|
|
74
|
-
return this.axios.$get('/statistic-accountant', { params });
|
|
75
|
-
}
|
|
76
|
-
/**
|
|
77
|
-
* Retourne les statistiques de vente additionnel pour un comptable
|
|
78
|
-
* @param {QueryGetAccountant} payload
|
|
79
|
-
* @returns {JSON}
|
|
80
|
-
*/
|
|
81
|
-
getAdditionnalSell(payload) {
|
|
82
|
-
const params = Object.assign(Object.assign({}, payload), { type: StatisticType.ACCOUNTANT_ADDITIONNAL_SELL });
|
|
83
|
-
return this.axios.$get('/statistic-accountant', { params });
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
//# sourceMappingURL=Accountant.js.map
|