@silexpert/core 0.4.290 → 1.0.6
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 +3 -5
- package/es/api/resources/User.d.ts.map +1 -1
- package/es/api/resources/User.js +27 -27
- 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 -18
- package/es/api/resources.d.ts.map +1 -1
- package/es/api/resources.js +8 -18
- 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/BalanceSheet.js +1 -1
- package/es/types/Enum/BalanceSheet.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 +42 -0
- package/es/types/Enum/CommercialManagement.d.ts.map +1 -0
- package/es/types/Enum/CommercialManagement.js +64 -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/Ged.d.ts +1 -101
- package/es/types/Enum/Ged.d.ts.map +1 -1
- package/es/types/Enum/Ged.js +14 -100
- package/es/types/Enum/Ged.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/Prestation.d.ts +15 -0
- 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/Enum/VatDeclarationType.d.ts.map +1 -1
- package/es/types/Enum/VatDeclarationType.js +0 -6
- package/es/types/Enum/VatDeclarationType.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 +109 -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 +63 -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/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 +3 -1
- package/es/types/Interface/api/product/CreateProduct.d.ts.map +1 -1
- package/es/types/Interface/api/product/CreateProduct.js +16 -7
- 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/report/QueryReports.d.ts +0 -1
- package/es/types/Interface/api/report/QueryReports.d.ts.map +1 -1
- package/es/types/Interface/api/report/QueryReports.js +0 -4
- package/es/types/Interface/api/report/QueryReports.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/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/api/user/QueryGetAllCollaboratorsByRoles.d.ts +0 -1
- package/es/types/Interface/api/user/QueryGetAllCollaboratorsByRoles.d.ts.map +1 -1
- package/es/types/Interface/api/user/QueryGetAllCollaboratorsByRoles.js +1 -8
- package/es/types/Interface/api/user/QueryGetAllCollaboratorsByRoles.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 +5 -2
- package/es/types/Interface/models/IApiError.d.ts.map +1 -1
- package/es/types/Interface/models/IApiError.js +5 -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/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/IPrestation.d.ts +0 -3
- package/es/types/Interface/models/IPrestation.d.ts.map +1 -1
- package/es/types/Interface/models/IPrestation.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 +4 -1
- 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 +7 -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 +2 -5
- 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 -42
- package/es/types/index.d.ts.map +1 -1
- package/es/types/index.js +11 -42
- 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 +58 -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 +23 -0
- package/es/utils/commercialManagement/vat.js.map +1 -0
- package/es/utils/index.d.ts +2 -1
- package/es/utils/index.d.ts.map +1 -1
- package/es/utils/index.js +2 -1
- 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 +8 -31
- 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 -24
- 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/BalanceSheet.js +1 -1
- package/js/types/Enum/BalanceSheet.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 +90 -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/Ged.js +17 -104
- package/js/types/Enum/Ged.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/Enum/VatDeclarationType.js +0 -5
- package/js/types/Enum/VatDeclarationType.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/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 +8 -6
- 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/report/QueryReports.js +0 -2
- package/js/types/Interface/api/report/QueryReports.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/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/api/user/QueryGetAllCollaboratorsByRoles.js +0 -4
- package/js/types/Interface/api/user/QueryGetAllCollaboratorsByRoles.js.map +1 -1
- package/js/types/Interface/models/IApiError.js +6 -3
- package/js/types/Interface/models/IApiError.js.map +1 -1
- package/js/types/Interface/models/{ISocietyRelance.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 -436
- 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 +157 -0
- package/js/utils/commercialManagement/document.js.map +1 -0
- package/js/utils/commercialManagement/product.js +57 -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 +45 -0
- package/js/utils/commercialManagement/vat.js.map +1 -0
- package/js/utils/index.js +21 -9
- 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 +29 -30
- package/ts/api/resources/commercialDocument.ts +66 -0
- package/ts/api/resources/reminder.ts +20 -0
- package/ts/api/resources.ts +8 -18
- package/ts/index.ts +1 -0
- package/ts/types/Enum/Account.ts +8 -0
- package/ts/types/Enum/BalanceSheet.ts +1 -1
- 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 +64 -0
- package/ts/types/Enum/EstimateInvoice.ts +1 -1
- package/ts/types/Enum/Ged.ts +15 -102
- package/ts/types/Enum/Log.ts +0 -1
- package/ts/types/Enum/Prestation.ts +14 -0
- 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/Enum/VatDeclarationType.ts +0 -6
- 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 +425 -0
- package/ts/types/Interface/api/commercialManagement/Query.ts +115 -0
- package/ts/types/Interface/api/commercialManagement/Read.ts +67 -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/mail/QueryCountUnprocessedByUserMail.ts +1 -7
- package/ts/types/Interface/api/mail/QueryPaginatedMail.ts +1 -6
- package/ts/types/Interface/api/product/CreateProduct.ts +14 -6
- package/ts/types/Interface/api/product/QueryProduct.ts +13 -0
- package/ts/types/Interface/api/report/QueryReports.ts +0 -3
- 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/user/ParamsGetAllCollaborators.ts +0 -9
- package/ts/types/Interface/api/user/QueryGetAllCollaborators.ts +1 -12
- package/ts/types/Interface/api/user/QueryGetAllCollaboratorsByRoles.ts +1 -7
- 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 +6 -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/IPartnerTransaction.ts +1 -0
- package/ts/types/Interface/models/IPaymentExpectation.ts +0 -1
- package/ts/types/Interface/models/IPrestation.ts +0 -3
- package/ts/types/Interface/models/IPrestationComplementary.ts +1 -1
- package/ts/types/Interface/models/IProduct.ts +4 -1
- package/ts/types/Interface/models/IProductInvoice.ts +7 -3
- package/ts/types/Interface/models/ISociety.ts +2 -5
- 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 -42
- package/ts/utils/amount.ts +13 -0
- package/ts/utils/brands.ts +25 -7
- package/ts/utils/commercialManagement/document.ts +111 -0
- package/ts/utils/commercialManagement/product.ts +37 -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 +25 -0
- package/ts/utils/index.ts +2 -1
- 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/SlowDetection.d.ts +0 -11
- package/es/api/resources/SlowDetection.d.ts.map +0 -1
- package/es/api/resources/SlowDetection.js +0 -12
- package/es/api/resources/SlowDetection.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/Source.d.ts +0 -6
- package/es/api/resources/Source.d.ts.map +0 -1
- package/es/api/resources/Source.js +0 -7
- package/es/api/resources/Source.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/Lab.d.ts +0 -25
- package/es/types/Enum/Lab.d.ts.map +0 -1
- package/es/types/Enum/Lab.js +0 -26
- package/es/types/Enum/Lab.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 +0 -2776
- package/es/types/Enum/PrestationType.d.ts.map +0 -1
- package/es/types/Enum/PrestationType.js +0 -2778
- 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/RegistrationSourceDetail.d.ts +0 -195
- package/es/types/Enum/RegistrationSourceDetail.d.ts.map +0 -1
- package/es/types/Enum/RegistrationSourceDetail.js +0 -99
- package/es/types/Enum/RegistrationSourceDetail.js.map +0 -1
- package/es/types/Enum/ReportService.d.ts +0 -10
- package/es/types/Enum/ReportService.d.ts.map +0 -1
- package/es/types/Enum/ReportService.js +0 -31
- package/es/types/Enum/ReportService.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/Enum/StatsCaStateDetail.d.ts +0 -28
- package/es/types/Enum/StatsCaStateDetail.d.ts.map +0 -1
- package/es/types/Enum/StatsCaStateDetail.js +0 -28
- package/es/types/Enum/StatsCaStateDetail.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/society/QueryPaginatedSocietyWithStatsCa.d.ts +0 -13
- package/es/types/Interface/api/society/QueryPaginatedSocietyWithStatsCa.d.ts.map +0 -1
- package/es/types/Interface/api/society/QueryPaginatedSocietyWithStatsCa.js +0 -74
- package/es/types/Interface/api/society/QueryPaginatedSocietyWithStatsCa.js.map +0 -1
- package/es/types/Interface/api/society/SocietyWithStatsCaParams.d.ts +0 -11
- package/es/types/Interface/api/society/SocietyWithStatsCaParams.d.ts.map +0 -1
- package/es/types/Interface/api/society/SocietyWithStatsCaParams.js +0 -2
- package/es/types/Interface/api/society/SocietyWithStatsCaParams.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/ISlowDetection.d.ts +0 -9
- package/es/types/Interface/models/ISlowDetection.d.ts.map +0 -1
- package/es/types/Interface/models/ISlowDetection.js +0 -2
- package/es/types/Interface/models/ISlowDetection.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/es/utils/prestation.d.ts +0 -11
- package/es/utils/prestation.d.ts.map +0 -1
- package/es/utils/prestation.js +0 -62
- package/es/utils/prestation.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/SlowDetection.js +0 -23
- package/js/api/resources/SlowDetection.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/Source.js +0 -18
- package/js/api/resources/Source.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/Lab.js +0 -33
- package/js/types/Enum/Lab.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 -2785
- 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/RegistrationSourceDetail.js +0 -200
- package/js/types/Enum/RegistrationSourceDetail.js.map +0 -1
- package/js/types/Enum/ReportService.js +0 -32
- package/js/types/Enum/ReportService.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/Enum/StatsCaStateDetail.js +0 -33
- package/js/types/Enum/StatsCaStateDetail.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/society/QueryPaginatedSocietyWithStatsCa.js +0 -53
- package/js/types/Interface/api/society/QueryPaginatedSocietyWithStatsCa.js.map +0 -1
- package/js/types/Interface/api/society/SocietyWithStatsCaParams.js +0 -6
- package/js/types/Interface/api/society/SocietyWithStatsCaParams.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/ISlowDetection.js +0 -6
- package/js/types/Interface/models/ISlowDetection.js.map +0 -1
- package/js/types/Interface/models/ISocietyRelance.js.map +0 -1
- package/js/types/Interface/models/IStatistic.js +0 -6
- package/js/types/Interface/models/IStatistic.js.map +0 -1
- package/js/utils/prestation.js +0 -41
- package/js/utils/prestation.js.map +0 -1
- package/ts/api/resources/LegalNotice.ts +0 -8
- package/ts/api/resources/PaymentExpectation.ts +0 -8
- package/ts/api/resources/SlowDetection.ts +0 -13
- package/ts/api/resources/SocietyConfig.ts +0 -12
- package/ts/api/resources/Source.ts +0 -8
- 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/Lab.ts +0 -25
- package/ts/types/Enum/OperationLegalNotice.ts +0 -3
- package/ts/types/Enum/OrderStatus.ts +0 -5
- package/ts/types/Enum/PrestationType.ts +0 -2777
- package/ts/types/Enum/Reason.ts +0 -3
- package/ts/types/Enum/RegistrationSourceDetail.ts +0 -98
- package/ts/types/Enum/ReportService.ts +0 -32
- package/ts/types/Enum/Rules.ts +0 -18
- package/ts/types/Enum/StatisticType.ts +0 -15
- package/ts/types/Enum/StatsCaStateDetail.ts +0 -27
- 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/society/QueryPaginatedSocietyWithStatsCa.ts +0 -56
- package/ts/types/Interface/api/society/SocietyWithStatsCaParams.ts +0 -11
- 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/ISlowDetection.ts +0 -11
- package/ts/types/Interface/models/IStatistic.ts +0 -13
- package/ts/utils/prestation.ts +0 -71
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vat.js","sourceRoot":"","sources":["../../../ts/utils/commercialManagement/vat.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,QAAQ,CAAC;AACzC,OAAO,EAAE,GAAG,EAAW,MAAM,sBAAsB,CAAC;AACpD,OAAO,EAAE,8BAA8B,EAAE,MAAM,WAAW,CAAC;AAG3D,MAAM,UAAU,SAAS,CAAC,MAAqB,EAAE,QAAgB;IAC/D,MAAM,OAAO,GAAG,MAAM,aAAN,MAAM,cAAN,MAAM,GAAI,CAAC,CAAC;IAC5B,OAAO,OAAO,GAAG,CAAC,QAAQ,GAAG,GAAG,CAAC,CAAC;AACpC,CAAC;AAED,MAAM,UAAU,OAAO,CAAC,EAAU;IAChC,OAAO,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,EAAE,KAAK,EAAE,CAAC,CAAC;AACzD,CAAC;AAED,MAAM,UAAU,mBAAmB,CAAC,QAA8B;;IAChE,MAAM,EAAE,KAAK,EAAE,GAAG,QAAQ,CAAC,CAAC,CAAC,CAAC;IAC9B,OAAO;QACL,EAAE,EAAE,KAAK;QACT,IAAI,EAAE,MAAA,MAAA,OAAO,CAAC,KAAK,CAAC,0CAAE,QAAQ,mCAAI,EAAE;QACpC,MAAM,EAAE,MAAM,CAAC,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,eAAC,OAAA,SAAS,CAAC,CAAC,CAAC,gBAAgB,EAAE,MAAA,MAAA,OAAO,CAAC,KAAK,CAAC,0CAAE,KAAK,mCAAI,CAAC,CAAC,CAAA,EAAA,CAAC;QAC1F,KAAK,EAAE,MAAA,MAAA,OAAO,CAAC,KAAK,CAAC,0CAAE,KAAK,mCAAI,CAAC;QACjC,aAAa,EAAE,8BAA8B,CAAC,MAAM,CAAC,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QACtH,eAAe,EAAE,8BAA8B,CAAC,CAAC,MAAM,CAAC,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,MAAA,MAAA,OAAO,CAAC,KAAK,CAAC,0CAAE,KAAK,mCAAI,CAAC,CAAC,CAAC,CAAC,GAAG,GAAG,CAAC;KAClK,CAAC;AACJ,CAAC","sourcesContent":["import { sumBy as _sumBy } from 'lodash';\nimport { Vat, VatType } from '../../types/Enum/Vat';\nimport { integerToFormattedAmountString } from '../amount';\nimport { ReadProductEditing, ReadVatEditing } from '../../types';\n\nexport function getAmount(amount: number | null, vatValue: number): number {\n const _amount = amount ?? 0;\n return _amount * (vatValue / 100);\n}\n\nexport function getById(id: number): VatType | undefined {\n return Object.values(Vat).find((vat) => vat.id === id);\n}\n\nexport function vatToReadVatEditing(products: ReadProductEditing[]): ReadVatEditing {\n const { idVat } = products[0];\n return {\n id: idVat,\n name: getById(idVat)?.saleName ?? '',\n amount: _sumBy(products, (p) => getAmount(p.totalTaxExcluded, getById(idVat)?.value ?? 0)),\n value: getById(idVat)?.value ?? 0,\n baseFormatted: integerToFormattedAmountString(_sumBy(products, (p) => (p.totalTaxExcluded ? +p.totalTaxExcluded : 0))),\n amountFormatted: integerToFormattedAmountString((_sumBy(products, (p) => (p.totalTaxExcluded ? +p.totalTaxExcluded : 0)) * ((getById(idVat)?.value ?? 0))) / 100),\n };\n}"]}
|
package/es/utils/index.d.ts
CHANGED
|
@@ -5,7 +5,8 @@ export * from './webmail';
|
|
|
5
5
|
export * from './decorators';
|
|
6
6
|
export * from './balanceSheetModule';
|
|
7
7
|
export * from './siretValidation';
|
|
8
|
-
export * from './prestation';
|
|
9
8
|
export * from './task';
|
|
10
9
|
export * from './social';
|
|
10
|
+
export * from './commercialManagement/document';
|
|
11
|
+
export * from './amount';
|
|
11
12
|
//# sourceMappingURL=index.d.ts.map
|
package/es/utils/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../ts/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC;AAC7B,cAAc,sBAAsB,CAAC;AACrC,cAAc,mBAAmB,CAAC;AAClC,cAAc,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../ts/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC;AAC7B,cAAc,sBAAsB,CAAC;AACrC,cAAc,mBAAmB,CAAC;AAClC,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,iCAAiC,CAAC;AAChD,cAAc,UAAU,CAAC"}
|
package/es/utils/index.js
CHANGED
|
@@ -5,7 +5,8 @@ export * from './webmail';
|
|
|
5
5
|
export * from './decorators';
|
|
6
6
|
export * from './balanceSheetModule';
|
|
7
7
|
export * from './siretValidation';
|
|
8
|
-
export * from './prestation';
|
|
9
8
|
export * from './task';
|
|
10
9
|
export * from './social';
|
|
10
|
+
export * from './commercialManagement/document';
|
|
11
|
+
export * from './amount';
|
|
11
12
|
//# sourceMappingURL=index.js.map
|
package/es/utils/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../ts/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC;AAC7B,cAAc,sBAAsB,CAAC;AACrC,cAAc,mBAAmB,CAAC;AAClC,cAAc,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../ts/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC;AAC7B,cAAc,sBAAsB,CAAC;AACrC,cAAc,mBAAmB,CAAC;AAClC,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,iCAAiC,CAAC;AAChD,cAAc,UAAU,CAAC","sourcesContent":["export * from './objectUtils';\nexport * from './stringUtils';\nexport * from './brands';\nexport * from './webmail';\nexport * from './decorators';\nexport * from './balanceSheetModule';\nexport * from './siretValidation';\nexport * from './task';\nexport * from './social';\nexport * from './commercialManagement/document';\nexport * from './amount';"]}
|
package/es/utils/task.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
declare const getIdRoleUsedForTask: (listRoles: number[]) => number;
|
|
2
|
-
declare const
|
|
3
|
-
|
|
4
|
-
export { getIdRoleUsedForTask, getIdRoleUsedForAttribution, getIdRoleUsedForGetTaskOfUser, };
|
|
2
|
+
declare const getIdRoleUsedForManagerTask: (listRoles: number[]) => number;
|
|
3
|
+
export { getIdRoleUsedForTask, getIdRoleUsedForManagerTask, };
|
|
5
4
|
//# sourceMappingURL=task.d.ts.map
|
package/es/utils/task.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"task.d.ts","sourceRoot":"","sources":["../../ts/utils/task.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"task.d.ts","sourceRoot":"","sources":["../../ts/utils/task.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,oBAAoB,cAAe,MAAM,EAAE,KAAG,MAgBnD,CAAC;AAEF,QAAA,MAAM,2BAA2B,cAAe,MAAM,EAAE,KAAG,MAY1D,CAAC;AAEF,OAAO,EACL,oBAAoB,EAAE,2BAA2B,GAClD,CAAC"}
|
package/es/utils/task.js
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { Role } from '../types/Enum/Role';
|
|
2
|
-
import { TaskResponseType, RoleAvailableForTask } from '../types/Enum/TaskResponseType';
|
|
3
2
|
const getIdRoleUsedForTask = (listRoles) => {
|
|
4
3
|
let idRole = 0;
|
|
5
|
-
if (listRoles.includes(Role.COMMERCIAL)) {
|
|
4
|
+
if (listRoles.includes(Role.COMMERCIAL) || listRoles.includes(Role.COMMERCIAL_MANAGER)) {
|
|
6
5
|
idRole = Role.COMMERCIAL;
|
|
7
6
|
}
|
|
8
7
|
else if (listRoles.includes(Role.JURIDIC)) {
|
|
@@ -14,32 +13,29 @@ const getIdRoleUsedForTask = (listRoles) => {
|
|
|
14
13
|
else if (listRoles.includes(Role.FACTURATION)) {
|
|
15
14
|
idRole = Role.FACTURATION;
|
|
16
15
|
}
|
|
17
|
-
else if (listRoles.includes(Role.CUSTOMER_SUCCESS)) {
|
|
16
|
+
else if (listRoles.includes(Role.CUSTOMER_SUCCESS) || listRoles.includes(Role.CUSTOMER_SUCCESS_MANAGER)) {
|
|
18
17
|
idRole = Role.CUSTOMER_SUCCESS;
|
|
19
18
|
}
|
|
20
|
-
else if (listRoles.includes(Role.FRONT_OFFICE)) {
|
|
19
|
+
else if (listRoles.includes(Role.FRONT_OFFICE) || listRoles.includes(Role.FRONT_MANAGER)) {
|
|
21
20
|
idRole = Role.FRONT_OFFICE;
|
|
22
21
|
}
|
|
23
22
|
return idRole;
|
|
24
23
|
};
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
const taskTypeList = isIntern ? TaskResponseType.INTERN.types : TaskResponseType.EXTERN.types;
|
|
41
|
-
return (_a = taskTypeList.find((taskType) => taskType.id === idTaskType)) === null || _a === void 0 ? void 0 : _a.role;
|
|
24
|
+
const getIdRoleUsedForManagerTask = (listRoles) => {
|
|
25
|
+
let idRole = 0;
|
|
26
|
+
if (listRoles.includes(Role.COMMERCIAL)) {
|
|
27
|
+
idRole = Role.COMMERCIAL_MANAGER;
|
|
28
|
+
}
|
|
29
|
+
else if (listRoles.includes(Role.JURIDIC) || listRoles.includes(Role.SOCIAL) || listRoles.includes(Role.FACTURATION)) {
|
|
30
|
+
idRole = Role.MANAGER;
|
|
31
|
+
}
|
|
32
|
+
else if (listRoles.includes(Role.CUSTOMER_SUCCESS)) {
|
|
33
|
+
idRole = Role.CUSTOMER_SUCCESS_MANAGER;
|
|
34
|
+
}
|
|
35
|
+
else if (listRoles.includes(Role.FRONT_OFFICE)) {
|
|
36
|
+
idRole = Role.FRONT_MANAGER;
|
|
37
|
+
}
|
|
38
|
+
return idRole;
|
|
42
39
|
};
|
|
43
|
-
|
|
44
|
-
export { getIdRoleUsedForTask, getIdRoleUsedForAttribution, getIdRoleUsedForGetTaskOfUser, };
|
|
40
|
+
export { getIdRoleUsedForTask, getIdRoleUsedForManagerTask, };
|
|
45
41
|
//# sourceMappingURL=task.js.map
|
package/es/utils/task.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"task.js","sourceRoot":"","sources":["../../ts/utils/task.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"task.js","sourceRoot":"","sources":["../../ts/utils/task.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAE1C,MAAM,oBAAoB,GAAG,CAAC,SAAmB,EAAU,EAAE;IAC3D,IAAI,MAAM,GAAG,CAAC,CAAC;IACf,IAAI,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,UAAU,CAAC,IAAI,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,kBAAkB,CAAC,EAAE;QACtF,MAAM,GAAG,IAAI,CAAC,UAAU,CAAC;KAC1B;SAAM,IAAI,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,EAAE;QAC3C,MAAM,GAAG,IAAI,CAAC,OAAO,CAAC;KACvB;SAAM,IAAI,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE;QAC1C,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC;KACtB;SAAM,IAAI,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC,EAAE;QAC/C,MAAM,GAAG,IAAI,CAAC,WAAW,CAAC;KAC3B;SAAM,IAAI,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,gBAAgB,CAAC,IAAI,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,wBAAwB,CAAC,EAAE;QACzG,MAAM,GAAG,IAAI,CAAC,gBAAgB,CAAC;KAChC;SAAM,IAAI,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,YAAY,CAAC,IAAI,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,aAAa,CAAC,EAAE;QAC1F,MAAM,GAAG,IAAI,CAAC,YAAY,CAAC;KAC5B;IACD,OAAO,MAAM,CAAC;AAChB,CAAC,CAAC;AAEF,MAAM,2BAA2B,GAAG,CAAC,SAAmB,EAAU,EAAE;IAClE,IAAI,MAAM,GAAG,CAAC,CAAC;IACf,IAAI,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,UAAU,CAAC,EAAE;QACvC,MAAM,GAAG,IAAI,CAAC,kBAAkB,CAAC;KAClC;SAAM,IAAI,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC,EAAE;QACtH,MAAM,GAAG,IAAI,CAAC,OAAO,CAAC;KACvB;SAAM,IAAI,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,gBAAgB,CAAC,EAAE;QACpD,MAAM,GAAG,IAAI,CAAC,wBAAwB,CAAC;KACxC;SAAM,IAAI,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,YAAY,CAAC,EAAE;QAChD,MAAM,GAAG,IAAI,CAAC,aAAa,CAAC;KAC7B;IACD,OAAO,MAAM,CAAC;AAChB,CAAC,CAAC;AAEF,OAAO,EACL,oBAAoB,EAAE,2BAA2B,GAClD,CAAC","sourcesContent":["import { Role } from '../types/Enum/Role';\n\nconst getIdRoleUsedForTask = (listRoles: number[]): number => {\n let idRole = 0;\n if (listRoles.includes(Role.COMMERCIAL) || listRoles.includes(Role.COMMERCIAL_MANAGER)) {\n idRole = Role.COMMERCIAL;\n } else if (listRoles.includes(Role.JURIDIC)) {\n idRole = Role.JURIDIC;\n } else if (listRoles.includes(Role.SOCIAL)) {\n idRole = Role.SOCIAL;\n } else if (listRoles.includes(Role.FACTURATION)) {\n idRole = Role.FACTURATION;\n } else if (listRoles.includes(Role.CUSTOMER_SUCCESS) || listRoles.includes(Role.CUSTOMER_SUCCESS_MANAGER)) {\n idRole = Role.CUSTOMER_SUCCESS;\n } else if (listRoles.includes(Role.FRONT_OFFICE) || listRoles.includes(Role.FRONT_MANAGER)) {\n idRole = Role.FRONT_OFFICE;\n }\n return idRole;\n};\n\nconst getIdRoleUsedForManagerTask = (listRoles: number[]): number => {\n let idRole = 0;\n if (listRoles.includes(Role.COMMERCIAL)) {\n idRole = Role.COMMERCIAL_MANAGER;\n } else if (listRoles.includes(Role.JURIDIC) || listRoles.includes(Role.SOCIAL) || listRoles.includes(Role.FACTURATION)) {\n idRole = Role.MANAGER;\n } else if (listRoles.includes(Role.CUSTOMER_SUCCESS)) {\n idRole = Role.CUSTOMER_SUCCESS_MANAGER;\n } else if (listRoles.includes(Role.FRONT_OFFICE)) {\n idRole = Role.FRONT_MANAGER;\n }\n return idRole;\n};\n\nexport {\n getIdRoleUsedForTask, getIdRoleUsedForManagerTask,\n};"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"webmail.d.ts","sourceRoot":"","sources":["../../ts/utils/webmail.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,qBAAqB,cAAe,MAAM,EAAE,KAAG,
|
|
1
|
+
{"version":3,"file":"webmail.d.ts","sourceRoot":"","sources":["../../ts/utils/webmail.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,qBAAqB,cAAe,MAAM,EAAE,KAAG,MAsBpD,CAAC;AAEF,OAAO,EACL,qBAAqB,GACtB,CAAC"}
|
package/es/utils/webmail.js
CHANGED
|
@@ -4,13 +4,16 @@ const getIdRoleUsedForEmail = (listRoles) => {
|
|
|
4
4
|
if (listRoles.includes(Role.FACTURATION)) {
|
|
5
5
|
idRole = Role.FACTURATION;
|
|
6
6
|
}
|
|
7
|
+
else if (listRoles.includes(Role.BACK_MANAGER)) {
|
|
8
|
+
idRole = Role.BACK_MANAGER;
|
|
9
|
+
}
|
|
7
10
|
else if (listRoles.includes(Role.FRONT_OFFICE)) {
|
|
8
11
|
idRole = Role.FRONT_OFFICE;
|
|
9
12
|
}
|
|
10
13
|
else if (listRoles.includes(Role.FRONT_OFFICE_EXPRESS)) {
|
|
11
14
|
idRole = Role.FRONT_OFFICE_EXPRESS;
|
|
12
15
|
}
|
|
13
|
-
else if (listRoles.includes(Role.COMMERCIAL)) {
|
|
16
|
+
else if (listRoles.includes(Role.COMMERCIAL) || listRoles.includes(Role.COMMERCIAL_MANAGER)) {
|
|
14
17
|
idRole = Role.COMMERCIAL;
|
|
15
18
|
}
|
|
16
19
|
else if (listRoles.includes(Role.EXPERT_ACCOUNTANT)) {
|
package/es/utils/webmail.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"webmail.js","sourceRoot":"","sources":["../../ts/utils/webmail.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAE1C,MAAM,qBAAqB,GAAG,CAAC,SAAmB,EAAU,EAAE;IAC5D,IAAI,MAAM,GAAG,IAAI,CAAC,gBAAgB,CAAC;IACnC,IAAI,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC,EAAE;QACxC,MAAM,GAAG,IAAI,CAAC,WAAW,CAAC;KAC3B;SAAM,IAAI,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,YAAY,CAAC,EAAE;QAChD,MAAM,GAAG,IAAI,CAAC,YAAY,CAAC;KAC5B;SAAM,IAAI,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,oBAAoB,CAAC,EAAE;QACxD,MAAM,GAAG,IAAI,CAAC,oBAAoB,CAAC;KACpC;SAAM,IAAI,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,UAAU,CAAC,EAAE;
|
|
1
|
+
{"version":3,"file":"webmail.js","sourceRoot":"","sources":["../../ts/utils/webmail.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAE1C,MAAM,qBAAqB,GAAG,CAAC,SAAmB,EAAU,EAAE;IAC5D,IAAI,MAAM,GAAG,IAAI,CAAC,gBAAgB,CAAC;IACnC,IAAI,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC,EAAE;QACxC,MAAM,GAAG,IAAI,CAAC,WAAW,CAAC;KAC3B;SAAM,IAAI,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,YAAY,CAAC,EAAE;QAChD,MAAM,GAAG,IAAI,CAAC,YAAY,CAAC;KAC5B;SAAM,IAAI,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,YAAY,CAAC,EAAE;QAChD,MAAM,GAAG,IAAI,CAAC,YAAY,CAAC;KAC5B;SAAM,IAAI,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,oBAAoB,CAAC,EAAE;QACxD,MAAM,GAAG,IAAI,CAAC,oBAAoB,CAAC;KACpC;SAAM,IAAI,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,UAAU,CAAC,IAAI,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,kBAAkB,CAAC,EAAE;QAC7F,MAAM,GAAG,IAAI,CAAC,UAAU,CAAC;KAC1B;SAAM,IAAI,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,iBAAiB,CAAC,EAAE;QACrD,MAAM,GAAG,IAAI,CAAC,iBAAiB,CAAC;KACjC;SAAM,IAAI,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,iBAAiB,CAAC,EAAE;QACrD,MAAM,GAAG,IAAI,CAAC,iBAAiB,CAAC;KACjC;SAAM,IAAI,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,EAAE;QAC3C,MAAM,GAAG,IAAI,CAAC,OAAO,CAAC;KACvB;SAAM,IAAI,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE;QAC1C,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC;KACtB;IACD,OAAO,MAAM,CAAC;AAChB,CAAC,CAAC;AAEF,OAAO,EACL,qBAAqB,GACtB,CAAC","sourcesContent":["import { Role } from '../types/Enum/Role';\n\nconst getIdRoleUsedForEmail = (listRoles: number[]): number => {\n let idRole = Role.CUSTOMER_SUCCESS;\n if (listRoles.includes(Role.FACTURATION)) {\n idRole = Role.FACTURATION;\n } else if (listRoles.includes(Role.BACK_MANAGER)) {\n idRole = Role.BACK_MANAGER;\n } else if (listRoles.includes(Role.FRONT_OFFICE)) {\n idRole = Role.FRONT_OFFICE;\n } else if (listRoles.includes(Role.FRONT_OFFICE_EXPRESS)) {\n idRole = Role.FRONT_OFFICE_EXPRESS;\n } else if (listRoles.includes(Role.COMMERCIAL) || listRoles.includes(Role.COMMERCIAL_MANAGER)) {\n idRole = Role.COMMERCIAL;\n } else if (listRoles.includes(Role.EXPERT_ACCOUNTANT)) {\n idRole = Role.EXPERT_ACCOUNTANT;\n } else if (listRoles.includes(Role.JURIDICAL_SUPPORT)) {\n idRole = Role.JURIDICAL_SUPPORT;\n } else if (listRoles.includes(Role.JURIDIC)) {\n idRole = Role.JURIDIC;\n } else if (listRoles.includes(Role.SOCIAL)) {\n idRole = Role.SOCIAL;\n }\n return idRole;\n};\n\nexport {\n getIdRoleUsedForEmail,\n};"]}
|
package/importInterfaces.ts
CHANGED
|
@@ -8,6 +8,16 @@ exports.BudgetInsight = undefined;
|
|
|
8
8
|
var _Resource = require("../Resource");
|
|
9
9
|
|
|
10
10
|
class BudgetInsight extends _Resource.Resource {
|
|
11
|
+
// FIXME: Deprecated
|
|
12
|
+
updateUserWithNewPermanentToken(data) {
|
|
13
|
+
return this.axios.$put('/budget/updatePermanentToken', data);
|
|
14
|
+
} // FIXME: Deprecated
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
fetchAllUserConnection() {
|
|
18
|
+
return this.axios.$get('/budget/fetchAllUserConnection');
|
|
19
|
+
}
|
|
20
|
+
|
|
11
21
|
getTokens() {
|
|
12
22
|
return this.axios.$get('/connectors/budget-insight/tokens');
|
|
13
23
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BudgetInsight.js","mappings":";;;;;;;AAAA;;
|
|
1
|
+
{"version":3,"file":"BudgetInsight.js","mappings":";;;;;;;AAAA;;AAKM,MAAOA,aAAP,SAA6BC,kBAA7B,CAAqC;EACzC;EACAC,+BAA+B,CAACC,IAAD,EAAiC;IAC9D,OAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,8BAAhB,EAAgDF,IAAhD,CAAP;EACD,CAJwC,CAMzC;;;EACAG,sBAAsB;IAEpB,OAAO,KAAKF,KAAL,CAAWG,IAAX,CAAgB,gCAAhB,CAAP;EACD;;EAEDC,SAAS;IACP,OAAO,KAAKJ,KAAL,CAAWG,IAAX,CAAgB,mCAAhB,CAAP;EACD;;EAEDE,mBAAmB,CAACC,OAAD,EAAmC;IACpD,OAAO,KAAKN,KAAL,CAAWO,KAAX,CAAiB,mCAAjB,EAAsDD,OAAtD,CAAP;EACD;;AAlBwC;;QAA9BV,a,GAAAA,a","names":["BudgetInsight","Resource","updateUserWithNewPermanentToken","data","axios","$put","fetchAllUserConnection","$get","getTokens","updateOrCreateToken","payload","$post"],"sourceRoot":"","sources":["../../../ts/api/resources/BudgetInsight.ts"],"sourcesContent":["import { Resource } from '../Resource';\nimport { UpdateBudgetPermanentToken } from '../../types/Interface/api/budgetInsight/UpdateBudgetPermanentToken';\nimport { IAccountingTransaction } from '../../types/Interface/models/IAccountingTransaction';\nimport { CreateOrUpdateAccessToken, IAccessToken } from '../../types';\n\nexport class BudgetInsight extends Resource {\n // FIXME: Deprecated\n updateUserWithNewPermanentToken(data: UpdateBudgetPermanentToken): Promise<string> {\n return this.axios.$put('/budget/updatePermanentToken', data);\n }\n\n // FIXME: Deprecated\n fetchAllUserConnection(): Promise<{ idConnection: number,\n accountingTransactions: IAccountingTransaction[] }[]> {\n return this.axios.$get('/budget/fetchAllUserConnection');\n }\n\n getTokens(): Promise<IAccessToken | null> {\n return this.axios.$get('/connectors/budget-insight/tokens');\n }\n\n updateOrCreateToken(payload: CreateOrUpdateAccessToken): Promise<IAccessToken> {\n return this.axios.$post('/connectors/budget-insight/tokens', payload);\n }\n}"]}
|
|
@@ -22,12 +22,10 @@ class CalendarEvent extends _Resource.Resource {
|
|
|
22
22
|
});
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
-
getAll(params
|
|
26
|
-
return this.axios.get('/calendar-events/all',
|
|
27
|
-
cancelToken
|
|
28
|
-
} : {}), {
|
|
25
|
+
getAll(params) {
|
|
26
|
+
return this.axios.get('/calendar-events/all', {
|
|
29
27
|
params
|
|
30
|
-
})
|
|
28
|
+
});
|
|
31
29
|
}
|
|
32
30
|
|
|
33
31
|
update(id, payload) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CalendarEvent.js","mappings":";;;;;;;
|
|
1
|
+
{"version":3,"file":"CalendarEvent.js","mappings":";;;;;;;AAGA;;AAEM,MAAOA,aAAP,SAA6BC,kBAA7B,CAAqC;EACzCC,MAAM,CAACC,OAAD,EAAqC;IACzC,OAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,kBAAhB,EAAoCF,OAApC,CAAP;EACD;;EAEDG,MAAM,CAACH,OAAD,EAAqC;IACzC,OAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,yBAAhB,EAA2CF,OAA3C,CAAP;EACD;;EAEDI,GAAG,CAACC,EAAD,EAAaC,MAAb,EAAuC;IACxC,OAAO,KAAKL,KAAL,CAAWG,GAAX,CAAe,oBAAoBC,EAAE,EAArC,EAAyC;MAAEC;IAAF,CAAzC,CAAP;EACD;;EAEDC,MAAM,CAACD,MAAD,EAA4B;IAChC,OAAO,KAAKL,KAAL,CAAWG,GAAX,CAAe,sBAAf,EAAuC;MAAEE;IAAF,CAAvC,CAAP;EACD;;EAEDE,MAAM,CAACH,EAAD,EAAaL,OAAb,EAAyC;IAC7C,OAAO,KAAKC,KAAL,CAAWQ,GAAX,CAAe,oBAAoBJ,EAAE,EAArC,EAAyCL,OAAzC,CAAP;EACD;;EAEDU,MAAM,CAACL,EAAD,EAAW;IACf,OAAO,KAAKJ,KAAL,CAAWS,MAAX,CAAkB,oBAAoBL,EAAE,EAAxC,CAAP;EACD;;AAvBwC;;QAA9BR,a,GAAAA,a","names":["CalendarEvent","Resource","create","payload","axios","post","verify","get","id","params","getAll","update","put","delete"],"sourceRoot":"","sources":["../../../ts/api/resources/CalendarEvent.ts"],"sourcesContent":["import {\n CreateCalendarEventForUsers, GetAllCalendarEvent, ICalendarEvent, ICalendarEventUser, QueryCalendarEvent, ReadAllCalendarEvent, UpdateCalendarEvent, VerifyCalendarEvent,\n} from '../../types';\nimport { Resource } from '../Resource';\n\nexport class CalendarEvent extends Resource {\n create(payload: CreateCalendarEventForUsers): Promise<ICalendarEventUser[]> {\n return this.axios.post('/calendar-events', payload);\n }\n\n verify(payload: CreateCalendarEventForUsers): Promise<VerifyCalendarEvent> {\n return this.axios.post('/calendar-events/verify', payload);\n }\n\n get(id: number, params: QueryCalendarEvent): Promise<ICalendarEvent> {\n return this.axios.get(`/calendar-events/${id}`, { params });\n }\n\n getAll(params: GetAllCalendarEvent): Promise<ReadAllCalendarEvent> {\n return this.axios.get('/calendar-events/all', { params });\n }\n\n update(id: number, payload: UpdateCalendarEvent): Promise<ICalendarEvent> {\n return this.axios.put(`/calendar-events/${id}`, payload);\n }\n\n delete(id: number): Promise<number> {\n return this.axios.delete(`/calendar-events/${id}`);\n }\n}"]}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.CommercialSetting = undefined;
|
|
7
|
+
|
|
8
|
+
var _Resource = require("../Resource");
|
|
9
|
+
|
|
10
|
+
class CommercialSetting extends _Resource.Resource {
|
|
11
|
+
get() {
|
|
12
|
+
return this.axios.$get('/commercial-management/settings');
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
updateOrCreate(payload) {
|
|
16
|
+
return this.axios.$post('/commercial-management/settings', payload);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
exports.CommercialSetting = CommercialSetting;
|
|
22
|
+
//# sourceMappingURL=CommercialSetting.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CommercialSetting.js","mappings":";;;;;;;AACA;;AAEM,MAAOA,iBAAP,SAAiCC,kBAAjC,CAAyC;EAC7CC,GAAG;IACD,OAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,iCAAhB,CAAP;EACD;;EAEDC,cAAc,CAACC,OAAD,EAAiC;IAC7C,OAAO,KAAKH,KAAL,CAAWI,KAAX,CAAiB,iCAAjB,EAAoDD,OAApD,CAAP;EACD;;AAP4C;;QAAlCN,iB,GAAAA,iB","names":["CommercialSetting","Resource","get","axios","$get","updateOrCreate","payload","$post"],"sourceRoot":"","sources":["../../../ts/api/resources/CommercialSetting.ts"],"sourcesContent":["import { CreateCommercialSetting, ISocietyGescom } from '../../types';\nimport { Resource } from '../Resource';\n\nexport class CommercialSetting extends Resource {\n get(): Promise<ISocietyGescom> {\n return this.axios.$get('/commercial-management/settings');\n }\n\n updateOrCreate(payload: CreateCommercialSetting): Promise<ISocietyGescom> {\n return this.axios.$post('/commercial-management/settings', payload);\n }\n}"]}
|
|
@@ -16,6 +16,20 @@ class Connector extends _Resource.Resource {
|
|
|
16
16
|
return this.axios.$post(`/connectors/bank-accounts/${idBankAccount}/import`, payload);
|
|
17
17
|
}
|
|
18
18
|
|
|
19
|
+
create(payload) {
|
|
20
|
+
return this.axios.$post('/connectors', payload);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
get(params) {
|
|
24
|
+
return this.axios.$get('/connectors', {
|
|
25
|
+
params
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
delete(id) {
|
|
30
|
+
return this.axios.$delete(`/connectors/${id}`);
|
|
31
|
+
}
|
|
32
|
+
|
|
19
33
|
}
|
|
20
34
|
|
|
21
35
|
exports.Connector = Connector;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Connector.js","mappings":";;;;;;;
|
|
1
|
+
{"version":3,"file":"Connector.js","mappings":";;;;;;;AAGA;;AAEM,MAAOA,SAAP,SAAyBC,kBAAzB,CAAiC;EACrCC,IAAI,CAACC,EAAD,EAAW;IACb,OAAO,KAAKC,KAAL,CAAWC,KAAX,CAAiB,cAAcF,EAAE,OAAjC,CAAP;EACD;;EAEDG,cAAc,CAACC,aAAD,EAAwBC,OAAxB,EAAkD;IAC9D,OAAO,KAAKJ,KAAL,CAAWC,KAAX,CAAiB,6BAA6BE,aAAa,SAA3D,EAAsEC,OAAtE,CAAP;EACD;;EAEDC,MAAM,CAACD,OAAD,EAAyB;IAC7B,OAAO,KAAKJ,KAAL,CAAWC,KAAX,CAAiB,aAAjB,EAAgCG,OAAhC,CAAP;EACD;;EAEDE,GAAG,CAACC,MAAD,EAAuB;IACxB,OAAO,KAAKP,KAAL,CAAWQ,IAAX,CAAgB,aAAhB,EAA+B;MAAED;IAAF,CAA/B,CAAP;EACD;;EAEDE,MAAM,CAACV,EAAD,EAAW;IACf,OAAO,KAAKC,KAAL,CAAWU,OAAX,CAAmB,eAAeX,EAAE,EAApC,CAAP;EACD;;AAnBoC;;QAA1BH,S,GAAAA,S","names":["Connector","Resource","test","id","axios","$post","importManually","idBankAccount","payload","create","get","params","$get","delete","$delete"],"sourceRoot":"","sources":["../../../ts/api/resources/Connector.ts"],"sourcesContent":["import {\n CreateConnector, IAccountingTransaction, IConnector, ImportBankAccount, QueryConnector,\n} from '../../types';\nimport { Resource } from '../Resource';\n\nexport class Connector extends Resource {\n test(id: number): Promise<boolean> {\n return this.axios.$post(`/connector/${id}/test`);\n }\n\n importManually(idBankAccount: number, payload: ImportBankAccount): Promise<IAccountingTransaction[]> {\n return this.axios.$post(`/connectors/bank-accounts/${idBankAccount}/import`, payload);\n }\n\n create(payload: CreateConnector): Promise<IConnector> {\n return this.axios.$post('/connectors', payload);\n }\n\n get(params: QueryConnector): Promise<IConnector> {\n return this.axios.$get('/connectors', { params });\n }\n\n delete(id: number): Promise<boolean> {\n return this.axios.$delete(`/connectors/${id}`);\n }\n}"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Dashboard.js","mappings":";;;;;;;AAAA;;
|
|
1
|
+
{"version":3,"file":"Dashboard.js","mappings":";;;;;;;AAAA;;AAgBA,MAAMA,KAAK,GAAG,WAAd;;AACM,MAAOC,SAAP,SAAyBC,kBAAzB,CAAiC;EACrCC,+BAA+B,CAC7BC,MAD6B,EACK;IAElC,OAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,GAAGN,KAAK,+BAAxB,EAAyD;MAAEI;IAAF,CAAzD,CAAP;EACD;;EAEDG,qBAAqB,CACnBH,MADmB,EACY;IAE/B,OAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,GAAGN,KAAK,qBAAxB,EAA+C;MAAEI;IAAF,CAA/C,CAAP;EACD;;EAEDI,SAAS,CAACJ,MAAD,EAAoB;IAC3B,OAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,GAAGN,KAAK,SAAxB,EAAmC;MAAEI;IAAF,CAAnC,CAAP;EACD;;EAEDK,UAAU,CAACC,KAAD,EAAoB;IAC5B,OAAO,KAAKL,KAAL,CAAWC,IAAX,CAAgB,GAAGN,KAAK,UAAxB,EAAoC;MAAEI,MAAM,EAAEM;IAAV,CAApC,CAAP;EACD;;EAEDC,eAAe,CAACP,MAAD,EAA0B;IACvC,OAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,GAAGN,KAAK,eAAxB,EAAyC;MAAEI;IAAF,CAAzC,CAAP;EACD;;EAEDQ,YAAY,CAACR,MAAD,EAAsB;IAChC,OAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,GAAGN,KAAK,YAAxB,EAAsC;MAAEI;IAAF,CAAtC,CAAP;EACD;;AA3BoC;;QAA1BH,S,GAAAA,S","names":["ROUTE","Dashboard","Resource","getTurnoverProfitAndLossAndVats","params","axios","$get","getBalanceBankAccount","getGescom","getTopBuys","dates","getTopProviders","getDeadlines"],"sourceRoot":"","sources":["../../../ts/api/resources/Dashboard.ts"],"sourcesContent":["import { Resource } from '../Resource';\nimport {\n QueryBalanceBankAccount,\n QueryTurnoverProfitAndLoss,\n QueryTopBuys,\n QueryTopProviders,\n ReadTopProviders,\n ReadBalanceBankAccount,\n ReadTopBuys,\n QueryGescom,\n ReadGescom,\n QueryDeadline,\n ReadDeadline,\n ReadTurnoverProfitAndLossAndVats,\n} from '../../types';\n\nconst ROUTE = 'dashboard';\nexport class Dashboard extends Resource {\n getTurnoverProfitAndLossAndVats(\n params: QueryTurnoverProfitAndLoss,\n ): Promise<ReadTurnoverProfitAndLossAndVats> {\n return this.axios.$get(`${ROUTE}/turnoverProfitAndLossAndVats`, { params });\n }\n\n getBalanceBankAccount(\n params: QueryBalanceBankAccount,\n ): Promise<ReadBalanceBankAccount> {\n return this.axios.$get(`${ROUTE}/balanceBankAccount`, { params });\n }\n\n getGescom(params: QueryGescom): Promise<ReadGescom> {\n return this.axios.$get(`${ROUTE}/gescom`, { params });\n }\n\n getTopBuys(dates: QueryTopBuys): Promise<ReadTopBuys[]> {\n return this.axios.$get(`${ROUTE}/topBuys`, { params: dates });\n }\n\n getTopProviders(params: QueryTopProviders): Promise<ReadTopProviders[]> {\n return this.axios.$get(`${ROUTE}/topProviders`, { params });\n }\n\n getDeadlines(params: QueryDeadline): Promise<ReadDeadline> {\n return this.axios.$get(`${ROUTE}/deadlines`, { params });\n }\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Exercice.js","mappings":";;;;;;;AACA;;AAEM,MAAOA,QAAP,SAAwBC,kBAAxB,CAAgC;EACpCC,MAAM,CAACC,MAAD,EAAuB;IAC3B,OAAO,KAAKC,KAAL,CAAWC,KAAX,CAAiB,YAAjB,EAA+BF,MAA/B,CAAP;EACD;;
|
|
1
|
+
{"version":3,"file":"Exercice.js","mappings":";;;;;;;AACA;;AAEM,MAAOA,QAAP,SAAwBC,kBAAxB,CAAgC;EACpCC,MAAM,CAACC,MAAD,EAAuB;IAC3B,OAAO,KAAKC,KAAL,CAAWC,KAAX,CAAiB,YAAjB,EAA+BF,MAA/B,CAAP;EACD;;AAHmC;;QAAzBH,Q,GAAAA,Q","names":["Exercice","Resource","create","params","axios","$post"],"sourceRoot":"","sources":["../../../ts/api/resources/Exercice.ts"],"sourcesContent":["import { CreateExercice, IExercice } from '../../types';\nimport { Resource } from '../Resource';\n\nexport class Exercice extends Resource {\n create(params: CreateExercice): Promise<IExercice> {\n return this.axios.$post('/exercices', params);\n }\n}"]}
|
|
@@ -9,59 +9,31 @@ var _Resource = require("../Resource");
|
|
|
9
9
|
|
|
10
10
|
class FecFile extends _Resource.Resource {
|
|
11
11
|
get() {
|
|
12
|
-
return this.axios.$get('
|
|
12
|
+
return this.axios.$get('fecFile');
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
download() {
|
|
16
|
-
return this.axios.$get('
|
|
16
|
+
return this.axios.$get('fecFile/download', {
|
|
17
17
|
responseType: 'blob'
|
|
18
18
|
});
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
export(idExercice, payload) {
|
|
22
|
-
return this.axios.$get(`
|
|
22
|
+
return this.axios.$get(`fecFile/exercice/${idExercice}/export`, Object.assign(Object.assign({}, payload), {
|
|
23
23
|
responseType: 'blob'
|
|
24
24
|
}));
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
create(params) {
|
|
28
|
-
return this.axios.$post('
|
|
28
|
+
return this.axios.$post('fecFile', params);
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
map(params) {
|
|
32
|
-
return this.axios.$post('
|
|
32
|
+
return this.axios.$post('fecFile/mapping', params);
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
delete() {
|
|
36
|
-
return this.axios.$delete('
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
getBySociety(idSociety) {
|
|
40
|
-
return this.axios.$get(`societies/${idSociety}/fec-file`);
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
downloadBySociety(idSociety) {
|
|
44
|
-
return this.axios.$get(`societies/${idSociety}/fec-file/download`, {
|
|
45
|
-
responseType: 'blob'
|
|
46
|
-
});
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
createBySociety(idSociety, params) {
|
|
50
|
-
return this.axios.$post(`societies/${idSociety}/fec-file`, params);
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
mapBySociety(idSociety, params) {
|
|
54
|
-
return this.axios.$post(`societies/${idSociety}/fec-file/mapping`, params);
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
deleteBySociety(idSociety) {
|
|
58
|
-
return this.axios.$delete(`societies/${idSociety}/fec-file`);
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
exportBySociety(idSociety, idExercice) {
|
|
62
|
-
return this.axios.$get(`societies/${idSociety}/fec-file/exercice/${idExercice}/export`, {
|
|
63
|
-
responseType: 'blob'
|
|
64
|
-
});
|
|
36
|
+
return this.axios.$delete('fecFile');
|
|
65
37
|
}
|
|
66
38
|
|
|
67
39
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FecFile.js","mappings":";;;;;;;AAAA;;AAUM,MAAOA,OAAP,SAAuBC,kBAAvB,CAA+B;EACnCC,GAAG;IACD,OAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,
|
|
1
|
+
{"version":3,"file":"FecFile.js","mappings":";;;;;;;AAAA;;AAUM,MAAOA,OAAP,SAAuBC,kBAAvB,CAA+B;EACnCC,GAAG;IACD,OAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,SAAhB,CAAP;EACD;;EAEDC,QAAQ;IACN,OAAO,KAAKF,KAAL,CAAWC,IAAX,CAAgB,kBAAhB,EAAoC;MAAEE,YAAY,EAAE;IAAhB,CAApC,CAAP;EACD;;EAEDC,MAAM,CAACC,UAAD,EAAqBC,OAArB,EAA2C;IAC/C,OAAO,KAAKN,KAAL,CAAWC,IAAX,CAAgB,oBAAoBI,UAAU,SAA9C,EAAuDE,gCACzDD,OADyD,GAClD;MACVH,YAAY,EAAE;IADJ,CADkD,CAAvD,CAAP;EAID;;EAEDK,MAAM,CAACC,MAAD,EAAsB;IAC1B,OAAO,KAAKT,KAAL,CAAWU,KAAX,CAAiB,SAAjB,EAA4BD,MAA5B,CAAP;EACD;;EAEDE,GAAG,CAACF,MAAD,EAA6B;IAC9B,OAAO,KAAKT,KAAL,CAAWU,KAAX,CAAiB,iBAAjB,EAAoCD,MAApC,CAAP;EACD;;EAEDG,MAAM;IACJ,OAAO,KAAKZ,KAAL,CAAWa,OAAX,CAAmB,SAAnB,CAAP;EACD;;AA1BkC;;QAAxBhB,O,GAAAA,O","names":["FecFile","Resource","get","axios","$get","download","responseType","export","idExercice","payload","Object","create","params","$post","map","delete","$delete"],"sourceRoot":"","sources":["../../../ts/api/resources/FecFile.ts"],"sourcesContent":["import { Resource } from '../Resource';\nimport {\n CreateFecFile,\n DeleteFecFile,\n ReadFecFile,\n IFecFile,\n CreateMappingFecFile,\n QueryFecFile,\n} from '../../types';\n\nexport class FecFile extends Resource {\n get(): Promise<IFecFile> {\n return this.axios.$get('fecFile');\n }\n\n download(): Promise<any> {\n return this.axios.$get('fecFile/download', { responseType: 'blob' });\n }\n\n export(idExercice: number, payload?: QueryFecFile): Promise<any> {\n return this.axios.$get(`fecFile/exercice/${idExercice}/export`, {\n ...payload,\n responseType: 'blob',\n });\n }\n\n create(params: CreateFecFile): Promise<ReadFecFile> {\n return this.axios.$post('fecFile', params);\n }\n\n map(params: CreateMappingFecFile): Promise<IFecFile> {\n return this.axios.$post('fecFile/mapping', params);\n }\n\n delete(): Promise<DeleteFecFile> {\n return this.axios.$delete('fecFile');\n }\n}"]}
|
|
@@ -40,8 +40,8 @@ class GeneralLedger extends _Resource.Resource {
|
|
|
40
40
|
});
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
getPdf(
|
|
44
|
-
return this.axios.$get(
|
|
43
|
+
getPdf(params) {
|
|
44
|
+
return this.axios.$get('/generalLedger/pdf', {
|
|
45
45
|
params,
|
|
46
46
|
responseType: 'arraybuffer',
|
|
47
47
|
headers: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GeneralLedger.js","mappings":";;;;;;;AAIA;;AAEM,MAAOA,aAAP,SAA6BC,kBAA7B,CAAqC;EACzCC,YAAY,CAACC,MAAD,EAA2B;IACrC,OAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,gBAAhB,EAAkC;MACvCF;IADuC,CAAlC,CAAP;EAGD;;EAEDG,mBAAmB,CAACH,MAAD,EAA2B;IAC5C,OAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,wBAAhB,EAA0C;MAC/CF;IAD+C,CAA1C,CAAP;EAGD;;EAEDI,MAAM,CAACJ,MAAD,EAA2B;IAC/B,OAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,oBAAhB,EAAsC;MAC3CF,MAD2C;MAE3CK,YAAY,EAAE,aAF6B;MAG3CC,OAAO,EAAE;QACPC,MAAM,EAAE;MADD;IAHkC,CAAtC,CAAP;EAOD;;EAEDC,aAAa,CAACR,MAAD,EAA2B;IACtC,OAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,4BAAhB,EAA8C;MACnDF,MADmD;MAEnDK,YAAY,EAAE,aAFqC;MAGnDC,OAAO,EAAE;QACPC,MAAM,EAAE;MADD;IAH0C,CAA9C,CAAP;EAOD;;EAEDE,MAAM,
|
|
1
|
+
{"version":3,"file":"GeneralLedger.js","mappings":";;;;;;;AAIA;;AAEM,MAAOA,aAAP,SAA6BC,kBAA7B,CAAqC;EACzCC,YAAY,CAACC,MAAD,EAA2B;IACrC,OAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,gBAAhB,EAAkC;MACvCF;IADuC,CAAlC,CAAP;EAGD;;EAEDG,mBAAmB,CAACH,MAAD,EAA2B;IAC5C,OAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,wBAAhB,EAA0C;MAC/CF;IAD+C,CAA1C,CAAP;EAGD;;EAEDI,MAAM,CAACJ,MAAD,EAA2B;IAC/B,OAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,oBAAhB,EAAsC;MAC3CF,MAD2C;MAE3CK,YAAY,EAAE,aAF6B;MAG3CC,OAAO,EAAE;QACPC,MAAM,EAAE;MADD;IAHkC,CAAtC,CAAP;EAOD;;EAEDC,aAAa,CAACR,MAAD,EAA2B;IACtC,OAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,4BAAhB,EAA8C;MACnDF,MADmD;MAEnDK,YAAY,EAAE,aAFqC;MAGnDC,OAAO,EAAE;QACPC,MAAM,EAAE;MADD;IAH0C,CAA9C,CAAP;EAOD;;EAEDE,MAAM,CAACT,MAAD,EAA2B;IAC/B,OAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,oBAAhB,EAAsC;MAC3CF,MAD2C;MAE3CK,YAAY,EAAE,aAF6B;MAG3CC,OAAO,EAAE;QACPC,MAAM,EAAE;MADD;IAHkC,CAAtC,CAAP;EAOD;;EAEDG,aAAa,CAACV,MAAD,EAA2B;IACtC,OAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,4BAAhB,EAA8C;MACnDF,MADmD;MAEnDK,YAAY,EAAE,aAFqC;MAGnDC,OAAO,EAAE;QACPC,MAAM,EAAE;MADD;IAH0C,CAA9C,CAAP;EAOD;;EAEDI,YAAY,CAACX,MAAD,EAAoC;IAC9C,OAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,0BAAhB,EAA4C;MAAEF;IAAF,CAA5C,CAAP;EACD;;AAvDwC;;QAA9BH,a,GAAAA,a","names":["GeneralLedger","Resource","getBySociety","params","axios","$get","getBalanceBySociety","getCsv","responseType","headers","Accept","getBalanceCsv","getPdf","getBalancePdf","getAuxiliary"],"sourceRoot":"","sources":["../../../ts/api/resources/GeneralLedger.ts"],"sourcesContent":["import {\n BasePaginateInterface, IGeneralLedgerAccount, IGeneralLedgerThirdParty, QueryGeneralLedgerAuxiliary,\n} from '../../types';\nimport { QueryGeneralLedger } from '../../types/Interface/api/generalLedger/QueryGeneralLedger';\nimport { Resource } from '../Resource';\n\nexport class GeneralLedger extends Resource {\n getBySociety(params: QueryGeneralLedger): Promise<BasePaginateInterface<IGeneralLedgerAccount[]>> {\n return this.axios.$get('/generalLedger', {\n params,\n });\n }\n\n getBalanceBySociety(params: QueryGeneralLedger): Promise<BasePaginateInterface<IGeneralLedgerAccount[]>> {\n return this.axios.$get('/generalLedger/balance', {\n params,\n });\n }\n\n getCsv(params: QueryGeneralLedger):Promise<Buffer> {\n return this.axios.$get('/generalLedger/csv', {\n params,\n responseType: 'arraybuffer',\n headers: {\n Accept: 'application/csv',\n },\n });\n }\n\n getBalanceCsv(params: QueryGeneralLedger):Promise<Buffer> {\n return this.axios.$get('/generalLedger/balance/csv', {\n params,\n responseType: 'arraybuffer',\n headers: {\n Accept: 'application/csv',\n },\n });\n }\n\n getPdf(params: QueryGeneralLedger):Promise<Buffer> {\n return this.axios.$get('/generalLedger/pdf', {\n params,\n responseType: 'arraybuffer',\n headers: {\n Accept: 'application/pdf',\n },\n });\n }\n\n getBalancePdf(params: QueryGeneralLedger): Promise<Buffer> {\n return this.axios.$get('/generalLedger/balance/pdf', {\n params,\n responseType: 'arraybuffer',\n headers: {\n Accept: 'application/pdf',\n },\n });\n }\n\n getAuxiliary(params: QueryGeneralLedgerAuxiliary): Promise<BasePaginateInterface<IGeneralLedgerThirdParty[]>> {\n return this.axios.$get('/generalLedger/auxiliary', { params });\n }\n}"]}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.Invoice = undefined;
|
|
7
|
+
|
|
8
|
+
var _Resource = require("../Resource");
|
|
9
|
+
|
|
10
|
+
class Invoice extends _Resource.Resource {
|
|
11
|
+
getCashBasedPaginated(params, cancelToken) {
|
|
12
|
+
return this.axios.$get('/commercial-management/invoices', Object.assign(Object.assign({}, cancelToken ? {
|
|
13
|
+
cancelToken
|
|
14
|
+
} : {}), {
|
|
15
|
+
params
|
|
16
|
+
}));
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
getAccrualPaginated(params, cancelToken) {
|
|
20
|
+
return this.axios.$get('/commercial-management/invoices', Object.assign(Object.assign({}, cancelToken ? {
|
|
21
|
+
cancelToken
|
|
22
|
+
} : {}), {
|
|
23
|
+
params
|
|
24
|
+
}));
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
create(payload) {
|
|
28
|
+
return this.axios.$post('/commercial-management/invoices', payload);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
update(id, payload) {
|
|
32
|
+
return this.axios.$put(`/commercial-management/invoices/${id}`, payload);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
delete(id) {
|
|
36
|
+
return this.axios.$delete(`/commercial-management/documents/${id}`);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
exports.Invoice = Invoice;
|
|
42
|
+
//# sourceMappingURL=Invoice.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Invoice.js","mappings":";;;;;;;AACA;;AAWM,MAAOA,OAAP,SAAuBC,kBAAvB,CAA+B;EACnCC,qBAAqB,CAACC,MAAD,EAAuCC,WAAvC,EAAgE;IACnF,OAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,iCAAhB,EAAiDC,gCAClDH,WAAW,GAAG;MAAEA;IAAF,CAAH,GAAqB,EADkB,GACf;MACvCD;IADuC,CADe,CAAjD,CAAP;EAID;;EAEDK,mBAAmB,CAACL,MAAD,EAAuCC,WAAvC,EAAgE;IACjF,OAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,iCAAhB,EAAiDC,gCAClDH,WAAW,GAAG;MAAEA;IAAF,CAAH,GAAqB,EADkB,GACf;MACvCD;IADuC,CADe,CAAjD,CAAP;EAID;;EAEDM,MAAM,CAACC,OAAD,EAA+B;IACnC,OAAO,KAAKL,KAAL,CAAWM,KAAX,CAAiB,iCAAjB,EAAoDD,OAApD,CAAP;EACD;;EAEDE,MAAM,CAACC,EAAD,EAAaH,OAAb,EAA2C;IAC/C,OAAO,KAAKL,KAAL,CAAWS,IAAX,CAAgB,mCAAmCD,EAAE,EAArD,EAAyDH,OAAzD,CAAP;EACD;;EAEDK,MAAM,CAACF,EAAD,EAAW;IACf,OAAO,KAAKR,KAAL,CAAWW,OAAX,CAAmB,oCAAoCH,EAAE,EAAzD,CAAP;EACD;;AAzBkC;;QAAxBb,O,GAAAA,O","names":["Invoice","Resource","getCashBasedPaginated","params","cancelToken","axios","$get","Object","getAccrualPaginated","create","payload","$post","update","id","$put","delete","$delete"],"sourceRoot":"","sources":["../../../ts/api/resources/Invoice.ts"],"sourcesContent":["import { CancelToken } from 'axios';\nimport { Resource } from '../Resource';\nimport {\n BasePaginate,\n CreateInvoiceDocument,\n IEstimateInvoice,\n QueryInvoice,\n QueryPaginate,\n ReadAccrualInvoice,\n ReadCashBasedInvoice,\n} from '../../types';\n\nexport class Invoice extends Resource {\n getCashBasedPaginated(params: QueryInvoice & QueryPaginate, cancelToken?: CancelToken): Promise<BasePaginate<ReadCashBasedInvoice>> {\n return this.axios.$get('/commercial-management/invoices', {\n ...(cancelToken ? { cancelToken } : {}),\n params,\n });\n }\n\n getAccrualPaginated(params: QueryInvoice & QueryPaginate, cancelToken?: CancelToken): Promise<BasePaginate<ReadAccrualInvoice>> {\n return this.axios.$get('/commercial-management/invoices', {\n ...(cancelToken ? { cancelToken } : {}),\n params,\n });\n }\n\n create(payload: CreateInvoiceDocument): Promise<IEstimateInvoice[]> {\n return this.axios.$post('/commercial-management/invoices', payload);\n }\n\n update(id: number, payload: CreateInvoiceDocument): Promise<IEstimateInvoice> {\n return this.axios.$put(`/commercial-management/invoices/${id}`, payload);\n }\n\n delete(id: number): Promise<true> {\n return this.axios.$delete(`/commercial-management/documents/${id}`);\n }\n}"]}
|
package/js/api/resources/Loan.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Loan.js","mappings":";;;;;;;AAAA;;AACA;;AAKM,MAAOA,IAAP,SAAoBC,kBAApB,CAA4B;EAChCC,QAAQ;IACN,OAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,QAAhB,CAAP;EACD;;EAEDC,OAAO,CAACC,MAAD,EAA2B;IAChC,OAAO,KAAKH,KAAL,CAAWC,IAAX,CAAgB,SAASE,MAAM,CAACC,MAAM,EAAtC,CAAP;EACD;;EAEDC,UAAU,CAACF,MAAD,EAAuB;;;IAC/B,MAAMG,QAAQ,GAAG,IAAIC,QAAJ,EAAjB;IAEA,qBAAQJ,MAAR,EAAgB,CAACK,KAAD,EAAQC,GAAR,KAAe;MAC7B,IAAID,
|
|
1
|
+
{"version":3,"file":"Loan.js","mappings":";;;;;;;AAAA;;AACA;;AAKM,MAAOA,IAAP,SAAoBC,kBAApB,CAA4B;EAChCC,QAAQ;IACN,OAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,QAAhB,CAAP;EACD;;EAEDC,OAAO,CAACC,MAAD,EAA2B;IAChC,OAAO,KAAKH,KAAL,CAAWC,IAAX,CAAgB,SAASE,MAAM,CAACC,MAAM,EAAtC,CAAP;EACD;;EAEDC,UAAU,CAACF,MAAD,EAAuB;;;IAC/B,MAAMG,QAAQ,GAAG,IAAIC,QAAJ,EAAjB;IAEA,qBAAQJ,MAAR,EAAgB,CAACK,KAAD,EAAQC,GAAR,KAAe;MAC7B,IAAID,KAAJ,EAAW;QACTF,QAAQ,CAACI,MAAT,CAAgBD,GAAhB,EAAqB,GAAGD,KAAK,EAA7B;MACD;IACF,CAJD;IAKA,YAAM,CAACG,KAAP,MAAY,IAAZ,IAAYC,aAAZ,GAAY,MAAZ,GAAYA,GAAEC,OAAF,CAAWC,IAAD,IAAS;MAC7BR,QAAQ,CAACI,MAAT,CAAgB,OAAhB,EAAyBI,IAAzB;IACD,CAFW,CAAZ;IAIA,OAAO,KAAKd,KAAL,CAAWe,KAAX,CAAiB,OAAjB,EAA0BT,QAA1B,EAAoC;MAAEU,OAAO,EAAE;QAAE,gBAAgB;MAAlB;IAAX,CAApC,CAAP;EACD;;EAEDC,UAAU,CAACb,MAAD,EAAiBc,OAAjB,EAAwC;IAChD,OAAO,KAAKlB,KAAL,CAAWmB,IAAX,CAAgB,SAASf,MAAM,EAA/B,EAAmCc,OAAnC,CAAP;EACD;;EAEDE,UAAU,CAAChB,MAAD,EAAe;IACvB,OAAO,KAAKJ,KAAL,CAAWqB,OAAX,CAAmB,SAASjB,MAAM,EAAlC,CAAP;EACD;;EAEDkB,QAAQ;IACN,OAAO,KAAKtB,KAAL,CAAWC,IAAX,CAAgB,iBAAhB,CAAP;EACD;;AAlC+B;;QAArBJ,I,GAAAA,I","names":["Loan","Resource","getLoans","axios","$get","getLoan","params","idLoan","createLoan","formData","FormData","value","key","append","files","_a","forEach","file","$post","headers","updateLoan","payload","$put","deleteLoan","$delete","accounts"],"sourceRoot":"","sources":["../../../ts/api/resources/Loan.ts"],"sourcesContent":["import { forEach } from 'lodash';\nimport { Resource } from '../Resource';\nimport {\n CreateLoanForm, IAccount, ILoan, UpdateLoanForm,\n} from '../../types';\n\nexport class Loan extends Resource {\n getLoans(): Promise<ILoan[]> {\n return this.axios.$get('/loans');\n }\n\n getLoan(params: { idLoan: number }): Promise<ILoan> {\n return this.axios.$get(`/loan/${params.idLoan}`);\n }\n\n createLoan(params: CreateLoanForm): Promise<ILoan> {\n const formData = new FormData();\n\n forEach(params, (value, key) => {\n if (value) {\n formData.append(key, `${value}`);\n }\n });\n params.files?.forEach((file) => {\n formData.append('files', file);\n });\n\n return this.axios.$post('/loan', formData, { headers: { 'Content-Type': 'multipart/form-data' } });\n }\n\n updateLoan(idLoan: number, payload: UpdateLoanForm): Promise<ILoan> {\n return this.axios.$put(`/loan/${idLoan}`, payload);\n }\n\n deleteLoan(idLoan: number): Promise<true> {\n return this.axios.$delete(`/loan/${idLoan}`);\n }\n\n accounts(): Promise<IAccount[]> {\n return this.axios.$get('/loans/accounts');\n }\n}\n"]}
|
package/js/api/resources/Mail.js
CHANGED
|
@@ -94,7 +94,7 @@ class Mail extends _Resource.Resource {
|
|
|
94
94
|
idUser,
|
|
95
95
|
isProcessed: false,
|
|
96
96
|
isSent: false,
|
|
97
|
-
|
|
97
|
+
displayManagerRoleMails: true
|
|
98
98
|
})
|
|
99
99
|
}));
|
|
100
100
|
}
|
|
@@ -169,12 +169,11 @@ class Mail extends _Resource.Resource {
|
|
|
169
169
|
}));
|
|
170
170
|
}
|
|
171
171
|
|
|
172
|
-
countToBeClassifiedByUser(idUser,
|
|
172
|
+
countToBeClassifiedByUser(idUser, cancelToken) {
|
|
173
173
|
return this.axios.$get('/mails/count-unprocessed-by-user', Object.assign(Object.assign({}, cancelToken ? {
|
|
174
174
|
cancelToken
|
|
175
175
|
} : {}), {
|
|
176
176
|
params: {
|
|
177
|
-
to,
|
|
178
177
|
idUser,
|
|
179
178
|
isWithoutSociety: true
|
|
180
179
|
}
|
|
@@ -187,7 +186,7 @@ class Mail extends _Resource.Resource {
|
|
|
187
186
|
} : {}), {
|
|
188
187
|
params: {
|
|
189
188
|
idUser,
|
|
190
|
-
|
|
189
|
+
isCountingManagerRoleMails: true
|
|
191
190
|
}
|
|
192
191
|
}));
|
|
193
192
|
}
|