@silexpert/core 0.4.290 → 1.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +0 -17
- package/es/api/resources/BudgetInsight.d.ts +7 -0
- package/es/api/resources/BudgetInsight.d.ts.map +1 -1
- package/es/api/resources/BudgetInsight.js +8 -0
- package/es/api/resources/BudgetInsight.js.map +1 -1
- package/es/api/resources/CalendarEvent.d.ts +1 -2
- package/es/api/resources/CalendarEvent.d.ts.map +1 -1
- package/es/api/resources/CalendarEvent.js +2 -2
- package/es/api/resources/CalendarEvent.js.map +1 -1
- package/es/api/resources/CommercialSetting.d.ts +7 -0
- package/es/api/resources/CommercialSetting.d.ts.map +1 -0
- package/es/api/resources/CommercialSetting.js +10 -0
- package/es/api/resources/CommercialSetting.js.map +1 -0
- package/es/api/resources/Connector.d.ts +4 -1
- package/es/api/resources/Connector.d.ts.map +1 -1
- package/es/api/resources/Connector.js +9 -0
- package/es/api/resources/Connector.js.map +1 -1
- package/es/api/resources/Dashboard.d.ts +1 -2
- package/es/api/resources/Dashboard.d.ts.map +1 -1
- package/es/api/resources/Dashboard.js +0 -3
- package/es/api/resources/Dashboard.js.map +1 -1
- package/es/api/resources/Exercice.d.ts +0 -1
- package/es/api/resources/Exercice.d.ts.map +1 -1
- package/es/api/resources/Exercice.js +0 -3
- package/es/api/resources/Exercice.js.map +1 -1
- package/es/api/resources/FecFile.d.ts +0 -6
- package/es/api/resources/FecFile.d.ts.map +1 -1
- package/es/api/resources/FecFile.js +6 -26
- package/es/api/resources/FecFile.js.map +1 -1
- package/es/api/resources/GeneralLedger.d.ts +1 -1
- package/es/api/resources/GeneralLedger.d.ts.map +1 -1
- package/es/api/resources/GeneralLedger.js +2 -2
- package/es/api/resources/GeneralLedger.js.map +1 -1
- package/es/api/resources/Invoice.d.ts +11 -0
- package/es/api/resources/Invoice.d.ts.map +1 -0
- package/es/api/resources/Invoice.js +19 -0
- package/es/api/resources/Invoice.js.map +1 -0
- package/es/api/resources/Loan.js +1 -1
- package/es/api/resources/Loan.js.map +1 -1
- package/es/api/resources/Mail.d.ts +1 -1
- package/es/api/resources/Mail.d.ts.map +1 -1
- package/es/api/resources/Mail.js +3 -4
- package/es/api/resources/Mail.js.map +1 -1
- package/es/api/resources/Partner.d.ts +0 -1
- package/es/api/resources/Partner.d.ts.map +1 -1
- package/es/api/resources/Partner.js +0 -3
- package/es/api/resources/Partner.js.map +1 -1
- package/es/api/resources/Qonto.d.ts +1 -6
- package/es/api/resources/Qonto.d.ts.map +1 -1
- package/es/api/resources/Qonto.js +1 -16
- package/es/api/resources/Qonto.js.map +1 -1
- package/es/api/resources/User.d.ts +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 +32 -0
- package/es/types/Enum/CommercialManagement.d.ts.map +1 -0
- package/es/types/Enum/CommercialManagement.js +39 -0
- package/es/types/Enum/CommercialManagement.js.map +1 -0
- package/es/types/Enum/EstimateInvoice.d.ts +1 -1
- package/es/types/Enum/EstimateInvoice.d.ts.map +1 -1
- package/es/types/Enum/EstimateInvoice.js +1 -1
- package/es/types/Enum/EstimateInvoice.js.map +1 -1
- package/es/types/Enum/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 +107 -0
- package/es/types/Interface/api/commercialManagement/Create.d.ts.map +1 -0
- package/es/types/Interface/api/commercialManagement/Create.js +496 -0
- package/es/types/Interface/api/commercialManagement/Create.js.map +1 -0
- package/es/types/Interface/api/commercialManagement/Query.d.ts +45 -0
- package/es/types/Interface/api/commercialManagement/Query.d.ts.map +1 -0
- package/es/types/Interface/api/commercialManagement/Query.js +121 -0
- package/es/types/Interface/api/commercialManagement/Query.js.map +1 -0
- package/es/types/Interface/api/commercialManagement/Read.d.ts +60 -0
- package/es/types/Interface/api/commercialManagement/Read.d.ts.map +1 -0
- package/es/types/Interface/api/commercialManagement/Read.js +2 -0
- package/es/types/Interface/api/commercialManagement/Read.js.map +1 -0
- package/es/types/Interface/api/commercialManagement/Update.d.ts +16 -0
- package/es/types/Interface/api/commercialManagement/Update.d.ts.map +1 -0
- package/es/types/Interface/api/{societyConfig/update.js → commercialManagement/Update.js} +21 -61
- package/es/types/Interface/api/commercialManagement/Update.js.map +1 -0
- package/es/types/Interface/api/connector/CreateConnector.d.ts +13 -0
- package/es/types/Interface/api/connector/CreateConnector.d.ts.map +1 -0
- package/es/types/Interface/api/connector/CreateConnector.js +68 -0
- package/es/types/Interface/api/connector/CreateConnector.js.map +1 -0
- package/es/types/Interface/api/connector/QueryConnector.d.ts +7 -0
- package/es/types/Interface/api/connector/QueryConnector.d.ts.map +1 -0
- package/es/types/Interface/api/{qonto/ProcessBankAccount.js → connector/QueryConnector.js} +10 -7
- package/es/types/Interface/api/connector/QueryConnector.js.map +1 -0
- package/es/types/Interface/api/dashboard/ReadGescom.d.ts +2 -3
- package/es/types/Interface/api/dashboard/ReadGescom.d.ts.map +1 -1
- package/es/types/Interface/api/dashboard/ReadGescom.js.map +1 -1
- package/es/types/Interface/api/generalLedger/QueryGeneralLedger.d.ts +0 -1
- package/es/types/Interface/api/generalLedger/QueryGeneralLedger.d.ts.map +1 -1
- package/es/types/Interface/api/generalLedger/QueryGeneralLedger.js +1 -7
- package/es/types/Interface/api/generalLedger/QueryGeneralLedger.js.map +1 -1
- package/es/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.d.ts +0 -1
- package/es/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.d.ts.map +1 -1
- package/es/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.js +1 -7
- package/es/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.js.map +1 -1
- package/es/types/Interface/api/mail/QueryCountUnprocessedByUserMail.d.ts +1 -2
- package/es/types/Interface/api/mail/QueryCountUnprocessedByUserMail.d.ts.map +1 -1
- package/es/types/Interface/api/mail/QueryCountUnprocessedByUserMail.js +2 -8
- package/es/types/Interface/api/mail/QueryCountUnprocessedByUserMail.js.map +1 -1
- package/es/types/Interface/api/mail/QueryPaginatedMail.d.ts +1 -2
- package/es/types/Interface/api/mail/QueryPaginatedMail.d.ts.map +1 -1
- package/es/types/Interface/api/mail/QueryPaginatedMail.js +1 -7
- package/es/types/Interface/api/mail/QueryPaginatedMail.js.map +1 -1
- package/es/types/Interface/api/product/CreateProduct.d.ts +1 -0
- package/es/types/Interface/api/product/CreateProduct.d.ts.map +1 -1
- package/es/types/Interface/api/product/CreateProduct.js +9 -6
- package/es/types/Interface/api/product/CreateProduct.js.map +1 -1
- package/es/types/Interface/api/product/QueryProduct.d.ts +2 -0
- package/es/types/Interface/api/product/QueryProduct.d.ts.map +1 -1
- package/es/types/Interface/api/product/QueryProduct.js +15 -1
- package/es/types/Interface/api/product/QueryProduct.js.map +1 -1
- package/es/types/Interface/api/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/thirdParty/QueryThirdParty.d.ts +0 -1
- package/es/types/Interface/api/thirdParty/QueryThirdParty.d.ts.map +1 -1
- package/es/types/Interface/api/thirdParty/QueryThirdParty.js +1 -7
- package/es/types/Interface/api/thirdParty/QueryThirdParty.js.map +1 -1
- package/es/types/Interface/api/user/ParamsGetAllCollaborators.d.ts +0 -1
- package/es/types/Interface/api/user/ParamsGetAllCollaborators.d.ts.map +1 -1
- package/es/types/Interface/api/user/ParamsGetAllCollaborators.js +1 -10
- package/es/types/Interface/api/user/ParamsGetAllCollaborators.js.map +1 -1
- package/es/types/Interface/api/user/QueryGetAllCollaborators.d.ts +0 -1
- package/es/types/Interface/api/user/QueryGetAllCollaborators.d.ts.map +1 -1
- package/es/types/Interface/api/user/QueryGetAllCollaborators.js +1 -11
- package/es/types/Interface/api/user/QueryGetAllCollaborators.js.map +1 -1
- package/es/types/Interface/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 +4 -2
- package/es/types/Interface/models/IApiError.d.ts.map +1 -1
- package/es/types/Interface/models/IApiError.js +4 -2
- package/es/types/Interface/models/IApiError.js.map +1 -1
- package/es/types/Interface/models/IAttributionHistory.d.ts +4 -4
- package/es/types/Interface/models/IAttributionHistory.d.ts.map +1 -1
- package/es/types/Interface/models/IAttributionHistory.js.map +1 -1
- package/es/types/Interface/models/ICommercialMail.d.ts +14 -0
- package/es/types/Interface/models/ICommercialMail.d.ts.map +1 -0
- package/es/types/Interface/models/ICommercialMail.js +2 -0
- package/es/types/Interface/models/ICommercialMail.js.map +1 -0
- package/es/types/Interface/models/IEngagementBankTransaction.d.ts +2 -0
- package/es/types/Interface/models/IEngagementBankTransaction.d.ts.map +1 -1
- package/es/types/Interface/models/IEngagementBankTransaction.js.map +1 -1
- package/es/types/Interface/models/IEstimateInvoice.d.ts +24 -28
- package/es/types/Interface/models/IEstimateInvoice.d.ts.map +1 -1
- package/es/types/Interface/models/IEstimateInvoice.js.map +1 -1
- package/es/types/Interface/models/IExercice.d.ts +0 -1
- package/es/types/Interface/models/IExercice.d.ts.map +1 -1
- package/es/types/Interface/models/IExercice.js.map +1 -1
- package/es/types/Interface/models/{ISocietyRelance.d.ts → IInvoiceReminder.d.ts} +8 -8
- package/es/types/Interface/models/IInvoiceReminder.d.ts.map +1 -0
- package/es/types/Interface/models/IInvoiceReminder.js +2 -0
- package/es/types/Interface/models/IInvoiceReminder.js.map +1 -0
- package/es/types/Interface/models/ILegalNotice.d.ts +0 -1
- package/es/types/Interface/models/ILegalNotice.d.ts.map +1 -1
- package/es/types/Interface/models/ILegalNotice.js.map +1 -1
- package/es/types/Interface/models/ILoan.d.ts +0 -2
- package/es/types/Interface/models/ILoan.d.ts.map +1 -1
- package/es/types/Interface/models/ILoan.js.map +1 -1
- package/es/types/Interface/models/IPartnerTransaction.d.ts +1 -0
- package/es/types/Interface/models/IPartnerTransaction.d.ts.map +1 -1
- package/es/types/Interface/models/IPartnerTransaction.js.map +1 -1
- package/es/types/Interface/models/IPaymentExpectation.d.ts +0 -1
- package/es/types/Interface/models/IPaymentExpectation.d.ts.map +1 -1
- package/es/types/Interface/models/IPaymentExpectation.js.map +1 -1
- package/es/types/Interface/models/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 +1 -0
- package/es/types/Interface/models/IProduct.d.ts.map +1 -1
- package/es/types/Interface/models/IProduct.js.map +1 -1
- package/es/types/Interface/models/IProductInvoice.d.ts +5 -3
- package/es/types/Interface/models/IProductInvoice.d.ts.map +1 -1
- package/es/types/Interface/models/IProductInvoice.js.map +1 -1
- package/es/types/Interface/models/ISociety.d.ts +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 +54 -0
- package/es/utils/commercialManagement/document.js.map +1 -0
- package/es/utils/commercialManagement/product.d.ts +5 -0
- package/es/utils/commercialManagement/product.d.ts.map +1 -0
- package/es/utils/commercialManagement/product.js +27 -0
- package/es/utils/commercialManagement/product.js.map +1 -0
- package/es/utils/commercialManagement/templates/body.d.ts +2 -0
- package/es/utils/commercialManagement/templates/body.d.ts.map +1 -0
- package/es/utils/commercialManagement/templates/body.js +111 -0
- package/es/utils/commercialManagement/templates/body.js.map +1 -0
- package/es/utils/commercialManagement/templates/common.d.ts +12 -0
- package/es/utils/commercialManagement/templates/common.d.ts.map +1 -0
- package/es/utils/commercialManagement/templates/common.js +199 -0
- package/es/utils/commercialManagement/templates/common.js.map +1 -0
- package/es/utils/commercialManagement/vat.d.ts +6 -0
- package/es/utils/commercialManagement/vat.d.ts.map +1 -0
- package/es/utils/commercialManagement/vat.js +22 -0
- package/es/utils/commercialManagement/vat.js.map +1 -0
- package/es/utils/index.d.ts +2 -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 +67 -0
- package/js/types/Enum/CommercialManagement.js.map +1 -0
- package/js/types/Enum/EstimateInvoice.js +1 -1
- package/js/types/Enum/EstimateInvoice.js.map +1 -1
- package/js/types/Enum/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/generalLedger/QueryGeneralLedgerAuxiliary.js +0 -2
- package/js/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.js.map +1 -1
- package/js/types/Interface/api/mail/QueryCountUnprocessedByUserMail.js +1 -5
- package/js/types/Interface/api/mail/QueryCountUnprocessedByUserMail.js.map +1 -1
- package/js/types/Interface/api/mail/QueryPaginatedMail.js +1 -3
- package/js/types/Interface/api/mail/QueryPaginatedMail.js.map +1 -1
- package/js/types/Interface/api/product/CreateProduct.js +5 -5
- package/js/types/Interface/api/product/CreateProduct.js.map +1 -1
- package/js/types/Interface/api/product/QueryProduct.js +6 -0
- package/js/types/Interface/api/product/QueryProduct.js.map +1 -1
- package/js/types/Interface/api/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/thirdParty/QueryThirdParty.js +0 -2
- package/js/types/Interface/api/thirdParty/QueryThirdParty.js.map +1 -1
- package/js/types/Interface/api/user/ParamsGetAllCollaborators.js +0 -6
- package/js/types/Interface/api/user/ParamsGetAllCollaborators.js.map +1 -1
- package/js/types/Interface/api/user/QueryGetAllCollaborators.js +0 -8
- package/js/types/Interface/api/user/QueryGetAllCollaborators.js.map +1 -1
- package/js/types/Interface/api/user/QueryGetAllCollaboratorsByRoles.js +0 -4
- package/js/types/Interface/api/user/QueryGetAllCollaboratorsByRoles.js.map +1 -1
- package/js/types/Interface/models/IApiError.js +5 -3
- package/js/types/Interface/models/IApiError.js.map +1 -1
- package/js/types/Interface/models/{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 +148 -0
- package/js/utils/commercialManagement/document.js.map +1 -0
- package/js/utils/commercialManagement/product.js +56 -0
- package/js/utils/commercialManagement/product.js.map +1 -0
- package/js/utils/commercialManagement/templates/body.js +120 -0
- package/js/utils/commercialManagement/templates/body.js.map +1 -0
- package/js/utils/commercialManagement/templates/common.js +211 -0
- package/js/utils/commercialManagement/templates/common.js.map +1 -0
- package/js/utils/commercialManagement/vat.js +44 -0
- package/js/utils/commercialManagement/vat.js.map +1 -0
- package/js/utils/index.js +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 +38 -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 +423 -0
- package/ts/types/Interface/api/commercialManagement/Query.ts +115 -0
- package/ts/types/Interface/api/commercialManagement/Read.ts +64 -0
- package/ts/types/Interface/api/commercialManagement/Update.ts +72 -0
- package/ts/types/Interface/api/connector/CreateConnector.ts +51 -0
- package/ts/types/Interface/api/connector/QueryConnector.ts +16 -0
- package/ts/types/Interface/api/dashboard/ReadGescom.ts +2 -3
- package/ts/types/Interface/api/generalLedger/QueryGeneralLedger.ts +0 -6
- package/ts/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.ts +1 -6
- package/ts/types/Interface/api/mail/QueryCountUnprocessedByUserMail.ts +1 -7
- package/ts/types/Interface/api/mail/QueryPaginatedMail.ts +1 -6
- package/ts/types/Interface/api/product/CreateProduct.ts +8 -5
- package/ts/types/Interface/api/product/QueryProduct.ts +13 -0
- package/ts/types/Interface/api/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/thirdParty/QueryThirdParty.ts +1 -8
- 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 +5 -3
- package/ts/types/Interface/models/IAttributionHistory.ts +4 -4
- package/ts/types/Interface/models/ICommercialMail.ts +15 -0
- package/ts/types/Interface/models/IEngagementBankTransaction.ts +2 -0
- package/ts/types/Interface/models/IEstimateInvoice.ts +24 -28
- package/ts/types/Interface/models/IExercice.ts +0 -1
- package/ts/types/Interface/models/{ISocietyRelance.ts → IInvoiceReminder.ts} +7 -7
- package/ts/types/Interface/models/ILegalNotice.ts +0 -1
- package/ts/types/Interface/models/ILoan.ts +0 -2
- package/ts/types/Interface/models/IPartnerTransaction.ts +1 -0
- package/ts/types/Interface/models/IPaymentExpectation.ts +0 -1
- package/ts/types/Interface/models/IPrestation.ts +0 -3
- package/ts/types/Interface/models/IPrestationComplementary.ts +1 -1
- package/ts/types/Interface/models/IProduct.ts +1 -0
- package/ts/types/Interface/models/IProductInvoice.ts +5 -3
- package/ts/types/Interface/models/ISociety.ts +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 +105 -0
- package/ts/utils/commercialManagement/product.ts +36 -0
- package/ts/utils/commercialManagement/templates/body.ts +113 -0
- package/ts/utils/commercialManagement/templates/common.ts +205 -0
- package/ts/utils/commercialManagement/vat.ts +24 -0
- package/ts/utils/index.ts +2 -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,423 @@
|
|
|
1
|
+
import {
|
|
2
|
+
IsArray, IsBoolean, IsDateString, IsNumber, IsOptional, IsString, Min,
|
|
3
|
+
} from 'class-validator';
|
|
4
|
+
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
5
|
+
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
6
|
+
import { FontIds, LogoAlignment } from '../../../Enum/CommercialManagement';
|
|
7
|
+
import { EstimateInvoiceType } from '../../../Enum/EstimateInvoice';
|
|
8
|
+
import { IProductInvoice } from '../../models/IProductInvoice';
|
|
9
|
+
import { ISocietyGescom } from '../../models/ISocietyGescom';
|
|
10
|
+
import { IThirdParty } from '../../models/IThirdParty';
|
|
11
|
+
|
|
12
|
+
export type IProductInvoiceToCreate = IProductInvoice & { save?: boolean };
|
|
13
|
+
|
|
14
|
+
export class CreateCommercialSetting {
|
|
15
|
+
@ApiPropertyOptional()
|
|
16
|
+
@IsOptional()
|
|
17
|
+
@IsNumber()
|
|
18
|
+
@Min(0, {
|
|
19
|
+
message: 'Capital should be positive',
|
|
20
|
+
})
|
|
21
|
+
capital?: number | null;
|
|
22
|
+
|
|
23
|
+
@ApiPropertyOptional()
|
|
24
|
+
@IsOptional()
|
|
25
|
+
@IsString()
|
|
26
|
+
tvaCode?: string | null;
|
|
27
|
+
|
|
28
|
+
@ApiPropertyOptional()
|
|
29
|
+
@IsOptional()
|
|
30
|
+
@IsString()
|
|
31
|
+
rcs?: string | null;
|
|
32
|
+
|
|
33
|
+
@ApiPropertyOptional()
|
|
34
|
+
@IsOptional()
|
|
35
|
+
@IsString()
|
|
36
|
+
numberTradeDirectory?: string | null;
|
|
37
|
+
|
|
38
|
+
@ApiPropertyOptional()
|
|
39
|
+
@IsOptional()
|
|
40
|
+
@IsString()
|
|
41
|
+
bank?: string | null;
|
|
42
|
+
|
|
43
|
+
@ApiPropertyOptional()
|
|
44
|
+
@IsOptional()
|
|
45
|
+
@IsString()
|
|
46
|
+
iban?: string | null;
|
|
47
|
+
|
|
48
|
+
@ApiPropertyOptional()
|
|
49
|
+
@IsOptional()
|
|
50
|
+
@IsString()
|
|
51
|
+
bic?: string | null;
|
|
52
|
+
|
|
53
|
+
@ApiPropertyOptional()
|
|
54
|
+
@IsOptional()
|
|
55
|
+
@IsString()
|
|
56
|
+
mailContact?: string | null;
|
|
57
|
+
|
|
58
|
+
@ApiPropertyOptional()
|
|
59
|
+
@IsOptional()
|
|
60
|
+
@IsString()
|
|
61
|
+
phoneContact?: string | null;
|
|
62
|
+
|
|
63
|
+
@ApiPropertyOptional()
|
|
64
|
+
@IsOptional()
|
|
65
|
+
@IsString()
|
|
66
|
+
website?: string | null;
|
|
67
|
+
|
|
68
|
+
@ApiPropertyOptional()
|
|
69
|
+
@IsOptional()
|
|
70
|
+
@IsString()
|
|
71
|
+
commercialName?: string | null;
|
|
72
|
+
|
|
73
|
+
@ApiPropertyOptional()
|
|
74
|
+
@IsOptional()
|
|
75
|
+
@IsString()
|
|
76
|
+
penalties?: string | null;
|
|
77
|
+
|
|
78
|
+
@ApiPropertyOptional()
|
|
79
|
+
@IsOptional()
|
|
80
|
+
@IsString()
|
|
81
|
+
discount?: string | null;
|
|
82
|
+
|
|
83
|
+
@ApiPropertyOptional()
|
|
84
|
+
@IsOptional()
|
|
85
|
+
@IsString()
|
|
86
|
+
recoveryCost?: string | null;
|
|
87
|
+
|
|
88
|
+
@ApiPropertyOptional()
|
|
89
|
+
@IsOptional()
|
|
90
|
+
@IsString()
|
|
91
|
+
vatMention?: string | null;
|
|
92
|
+
|
|
93
|
+
@ApiPropertyOptional()
|
|
94
|
+
@IsOptional()
|
|
95
|
+
@IsBoolean()
|
|
96
|
+
@ToBoolean()
|
|
97
|
+
generatedBy?: boolean;
|
|
98
|
+
|
|
99
|
+
@ApiPropertyOptional()
|
|
100
|
+
@IsOptional()
|
|
101
|
+
@IsBoolean()
|
|
102
|
+
@ToBoolean()
|
|
103
|
+
acceptCheque?: boolean;
|
|
104
|
+
|
|
105
|
+
@ApiPropertyOptional()
|
|
106
|
+
@IsOptional()
|
|
107
|
+
@IsBoolean()
|
|
108
|
+
@ToBoolean()
|
|
109
|
+
mentionAutoent?: boolean;
|
|
110
|
+
|
|
111
|
+
@ApiPropertyOptional()
|
|
112
|
+
@IsOptional()
|
|
113
|
+
@IsNumber()
|
|
114
|
+
startInvoice?: number | null;
|
|
115
|
+
|
|
116
|
+
@ApiPropertyOptional()
|
|
117
|
+
@IsOptional()
|
|
118
|
+
@IsNumber()
|
|
119
|
+
startEstimate?: number | null;
|
|
120
|
+
|
|
121
|
+
@ApiPropertyOptional()
|
|
122
|
+
@IsOptional()
|
|
123
|
+
@IsBoolean()
|
|
124
|
+
@ToBoolean()
|
|
125
|
+
paymentsAccepted?: boolean;
|
|
126
|
+
|
|
127
|
+
@ApiPropertyOptional()
|
|
128
|
+
@IsOptional()
|
|
129
|
+
@IsBoolean()
|
|
130
|
+
@ToBoolean()
|
|
131
|
+
stripePaymentByDefault?: boolean;
|
|
132
|
+
|
|
133
|
+
@ApiPropertyOptional()
|
|
134
|
+
@IsOptional()
|
|
135
|
+
@IsBoolean()
|
|
136
|
+
@ToBoolean()
|
|
137
|
+
displayLogo?: boolean;
|
|
138
|
+
|
|
139
|
+
@ApiPropertyOptional()
|
|
140
|
+
@IsOptional()
|
|
141
|
+
@IsBoolean()
|
|
142
|
+
@ToBoolean()
|
|
143
|
+
invoiceCgv?: boolean;
|
|
144
|
+
|
|
145
|
+
@ApiPropertyOptional()
|
|
146
|
+
@IsOptional()
|
|
147
|
+
@IsString()
|
|
148
|
+
color?: string | null;
|
|
149
|
+
|
|
150
|
+
@ApiPropertyOptional()
|
|
151
|
+
@IsOptional()
|
|
152
|
+
@IsString()
|
|
153
|
+
freeInvoiceText?: string | null;
|
|
154
|
+
|
|
155
|
+
@ApiPropertyOptional()
|
|
156
|
+
@IsOptional()
|
|
157
|
+
@IsString()
|
|
158
|
+
freeEstimateText?: string | null;
|
|
159
|
+
|
|
160
|
+
@ApiPropertyOptional()
|
|
161
|
+
@IsOptional()
|
|
162
|
+
@IsString()
|
|
163
|
+
logoAlignment?: LogoAlignment | null;
|
|
164
|
+
|
|
165
|
+
@ApiPropertyOptional()
|
|
166
|
+
@IsOptional()
|
|
167
|
+
@IsNumber()
|
|
168
|
+
idFont?: FontIds | null;
|
|
169
|
+
|
|
170
|
+
@ApiPropertyOptional()
|
|
171
|
+
@IsOptional()
|
|
172
|
+
@IsBoolean()
|
|
173
|
+
@ToBoolean()
|
|
174
|
+
isEdgingDisplayed?: boolean;
|
|
175
|
+
|
|
176
|
+
@ApiPropertyOptional()
|
|
177
|
+
@IsOptional()
|
|
178
|
+
@IsString()
|
|
179
|
+
edgingColor?: string;
|
|
180
|
+
|
|
181
|
+
@ApiPropertyOptional()
|
|
182
|
+
@IsOptional()
|
|
183
|
+
@IsBoolean()
|
|
184
|
+
@ToBoolean()
|
|
185
|
+
isCoordinatesFrameDisplayed?: boolean;
|
|
186
|
+
|
|
187
|
+
@ApiPropertyOptional()
|
|
188
|
+
@IsOptional()
|
|
189
|
+
@IsBoolean()
|
|
190
|
+
@ToBoolean()
|
|
191
|
+
areLinesSeparationHidden?: boolean;
|
|
192
|
+
|
|
193
|
+
@ApiPropertyOptional()
|
|
194
|
+
@IsOptional()
|
|
195
|
+
@IsBoolean()
|
|
196
|
+
@ToBoolean()
|
|
197
|
+
areColumnsSeparationHidden?: boolean;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
export class CreateCommercialMail {
|
|
201
|
+
@ApiProperty()
|
|
202
|
+
@IsString()
|
|
203
|
+
to: string;
|
|
204
|
+
|
|
205
|
+
@ApiPropertyOptional()
|
|
206
|
+
@IsOptional()
|
|
207
|
+
@IsString()
|
|
208
|
+
cc?: string;
|
|
209
|
+
|
|
210
|
+
@ApiPropertyOptional()
|
|
211
|
+
@IsOptional()
|
|
212
|
+
@IsString()
|
|
213
|
+
bcc?: string;
|
|
214
|
+
|
|
215
|
+
@ApiProperty()
|
|
216
|
+
@IsString()
|
|
217
|
+
subject: string;
|
|
218
|
+
|
|
219
|
+
@ApiProperty()
|
|
220
|
+
@IsString()
|
|
221
|
+
content: string;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
export class CommercialDocumentInputs {
|
|
225
|
+
@ApiPropertyOptional()
|
|
226
|
+
@IsString()
|
|
227
|
+
@IsOptional()
|
|
228
|
+
legalForm?: string;
|
|
229
|
+
|
|
230
|
+
@ApiPropertyOptional()
|
|
231
|
+
@IsNumber()
|
|
232
|
+
@IsOptional()
|
|
233
|
+
capital?: number;
|
|
234
|
+
|
|
235
|
+
@ApiPropertyOptional()
|
|
236
|
+
@IsString()
|
|
237
|
+
@IsOptional()
|
|
238
|
+
siren?: string;
|
|
239
|
+
|
|
240
|
+
@ApiPropertyOptional()
|
|
241
|
+
@IsString()
|
|
242
|
+
@IsOptional()
|
|
243
|
+
rcs?: string;
|
|
244
|
+
|
|
245
|
+
@ApiPropertyOptional()
|
|
246
|
+
@IsString()
|
|
247
|
+
@IsOptional()
|
|
248
|
+
vatCode?: string;
|
|
249
|
+
|
|
250
|
+
@ApiPropertyOptional()
|
|
251
|
+
@IsString()
|
|
252
|
+
@IsOptional()
|
|
253
|
+
nafCode?: string;
|
|
254
|
+
|
|
255
|
+
@ApiProperty()
|
|
256
|
+
@IsString()
|
|
257
|
+
reference: string; //
|
|
258
|
+
|
|
259
|
+
@ApiProperty()
|
|
260
|
+
thirdParty: IThirdParty; //
|
|
261
|
+
|
|
262
|
+
@ApiProperty()
|
|
263
|
+
@IsDateString()
|
|
264
|
+
emissionDate: string; //
|
|
265
|
+
|
|
266
|
+
@ApiProperty()
|
|
267
|
+
@IsDateString()
|
|
268
|
+
dueDate: string; //
|
|
269
|
+
|
|
270
|
+
@ApiPropertyOptional({ description: 'Date d\'expiration pour la facture d\'acompte' })
|
|
271
|
+
@IsDateString()
|
|
272
|
+
@IsOptional()
|
|
273
|
+
expirationDate: string;
|
|
274
|
+
|
|
275
|
+
@ApiProperty({ description: 'Conditions de réglement' })
|
|
276
|
+
@IsString()
|
|
277
|
+
termsOfPayment: string;
|
|
278
|
+
|
|
279
|
+
@ApiProperty()
|
|
280
|
+
@IsArray()
|
|
281
|
+
products: Array<IProductInvoiceToCreate>;
|
|
282
|
+
|
|
283
|
+
@ApiProperty({ description: 'Escompte' })
|
|
284
|
+
@IsString()
|
|
285
|
+
discount: string; //
|
|
286
|
+
|
|
287
|
+
@ApiPropertyOptional()
|
|
288
|
+
@IsOptional()
|
|
289
|
+
@IsString()
|
|
290
|
+
comment?: string; //
|
|
291
|
+
|
|
292
|
+
@ApiPropertyOptional({ description: 'Pénalité de retard' })
|
|
293
|
+
@IsOptional()
|
|
294
|
+
@IsString()
|
|
295
|
+
penalties?: string; //
|
|
296
|
+
|
|
297
|
+
@ApiProperty({ description: 'Remise globale' })
|
|
298
|
+
@IsOptional()
|
|
299
|
+
@IsNumber()
|
|
300
|
+
generalDiscount2: number; //
|
|
301
|
+
|
|
302
|
+
@ApiPropertyOptional({ description: 'Indemnité forfaitaire' })
|
|
303
|
+
@IsOptional()
|
|
304
|
+
@IsString()
|
|
305
|
+
compensation?: string; //
|
|
306
|
+
|
|
307
|
+
@ApiPropertyOptional()
|
|
308
|
+
@IsOptional()
|
|
309
|
+
@IsString()
|
|
310
|
+
vatMention?: string; //
|
|
311
|
+
|
|
312
|
+
@ApiProperty()
|
|
313
|
+
@IsBoolean()
|
|
314
|
+
@ToBoolean()
|
|
315
|
+
disableVat: boolean;
|
|
316
|
+
|
|
317
|
+
@ApiPropertyOptional()
|
|
318
|
+
@IsString()
|
|
319
|
+
@IsOptional()
|
|
320
|
+
title?: string; //
|
|
321
|
+
|
|
322
|
+
@ApiPropertyOptional({ description: 'Commercial name of seller' })
|
|
323
|
+
@IsString()
|
|
324
|
+
@IsOptional()
|
|
325
|
+
name: string;
|
|
326
|
+
|
|
327
|
+
@ApiPropertyOptional({ description: 'Commercial number address of seller' })
|
|
328
|
+
@IsString()
|
|
329
|
+
@IsOptional()
|
|
330
|
+
number?: string;
|
|
331
|
+
|
|
332
|
+
@ApiPropertyOptional({ description: 'Commercial street address of seller' })
|
|
333
|
+
@IsString()
|
|
334
|
+
@IsOptional()
|
|
335
|
+
street?: string;
|
|
336
|
+
|
|
337
|
+
@ApiPropertyOptional({ description: 'Commercial zip code address of seller' })
|
|
338
|
+
@IsString()
|
|
339
|
+
@IsOptional()
|
|
340
|
+
zipCode?: string;
|
|
341
|
+
|
|
342
|
+
@ApiPropertyOptional({ description: 'Commercial city address of seller' })
|
|
343
|
+
@IsString()
|
|
344
|
+
@IsOptional()
|
|
345
|
+
city?: string;
|
|
346
|
+
|
|
347
|
+
@ApiPropertyOptional()
|
|
348
|
+
@IsOptional()
|
|
349
|
+
settings?: ISocietyGescom;
|
|
350
|
+
|
|
351
|
+
@ApiPropertyOptional()
|
|
352
|
+
@IsOptional()
|
|
353
|
+
@IsString()
|
|
354
|
+
cgv?: string;
|
|
355
|
+
|
|
356
|
+
@ApiPropertyOptional()
|
|
357
|
+
@IsOptional()
|
|
358
|
+
@IsString()
|
|
359
|
+
logoUrl?: string;
|
|
360
|
+
|
|
361
|
+
@ApiPropertyOptional()
|
|
362
|
+
@IsOptional()
|
|
363
|
+
@IsBoolean()
|
|
364
|
+
@ToBoolean()
|
|
365
|
+
isStripeAllowed?: boolean;
|
|
366
|
+
|
|
367
|
+
@ApiPropertyOptional()
|
|
368
|
+
@IsOptional()
|
|
369
|
+
@IsBoolean()
|
|
370
|
+
@ToBoolean()
|
|
371
|
+
isDraft?: boolean;
|
|
372
|
+
|
|
373
|
+
@ApiProperty()
|
|
374
|
+
idEstimateInvoiceType: EstimateInvoiceType;
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
export class CreatePreSaleDocument extends CommercialDocumentInputs {
|
|
378
|
+
paymentLink?: '#';
|
|
379
|
+
deposit?: undefined;
|
|
380
|
+
fromEstimateId: undefined;
|
|
381
|
+
}
|
|
382
|
+
export class CreateInvoiceDocument extends CommercialDocumentInputs {
|
|
383
|
+
paymentLink?: string;
|
|
384
|
+
deposit?: number;
|
|
385
|
+
fromEstimateId: number | null; // Nécessaire lors du passage d'un devis à facture
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
export class CreateCgv {
|
|
389
|
+
@ApiProperty()
|
|
390
|
+
cgv: string | null;
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
export class CreateReminder {
|
|
394
|
+
@ApiProperty()
|
|
395
|
+
@IsBoolean()
|
|
396
|
+
@ToBoolean()
|
|
397
|
+
beforeThree: boolean;
|
|
398
|
+
|
|
399
|
+
@ApiProperty()
|
|
400
|
+
@IsBoolean()
|
|
401
|
+
@ToBoolean()
|
|
402
|
+
dueDate: boolean;
|
|
403
|
+
|
|
404
|
+
@ApiProperty()
|
|
405
|
+
@IsBoolean()
|
|
406
|
+
@ToBoolean()
|
|
407
|
+
afterThree: boolean;
|
|
408
|
+
|
|
409
|
+
@ApiProperty()
|
|
410
|
+
@IsBoolean()
|
|
411
|
+
@ToBoolean()
|
|
412
|
+
afterSeven: boolean;
|
|
413
|
+
|
|
414
|
+
@ApiPropertyOptional()
|
|
415
|
+
@IsString()
|
|
416
|
+
@IsOptional()
|
|
417
|
+
subject?: string;
|
|
418
|
+
|
|
419
|
+
@ApiPropertyOptional()
|
|
420
|
+
@IsString()
|
|
421
|
+
@IsOptional()
|
|
422
|
+
message?: string;
|
|
423
|
+
}
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
import {
|
|
2
|
+
IsArray, IsBoolean, IsDateString, IsNumber, IsOptional, IsString,
|
|
3
|
+
} from 'class-validator';
|
|
4
|
+
import { Order } from 'sequelize/types';
|
|
5
|
+
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
6
|
+
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
7
|
+
import { DiscountType, InvoiceStatus } from '../../../Enum/CommercialManagement';
|
|
8
|
+
import { EstimateInvoiceType } from '../../../Enum/EstimateInvoice';
|
|
9
|
+
import { QueryPaginate } from '../BasePaginate';
|
|
10
|
+
|
|
11
|
+
export class QueryInvoice {
|
|
12
|
+
@ApiPropertyOptional()
|
|
13
|
+
@IsOptional()
|
|
14
|
+
@IsDateString()
|
|
15
|
+
minDate?: string;
|
|
16
|
+
|
|
17
|
+
@ApiPropertyOptional()
|
|
18
|
+
@IsOptional()
|
|
19
|
+
@IsDateString()
|
|
20
|
+
maxDate?: string;
|
|
21
|
+
|
|
22
|
+
@ApiPropertyOptional()
|
|
23
|
+
@IsOptional()
|
|
24
|
+
@IsString()
|
|
25
|
+
search?: string;
|
|
26
|
+
|
|
27
|
+
@ApiPropertyOptional()
|
|
28
|
+
@IsOptional()
|
|
29
|
+
@IsString()
|
|
30
|
+
status?: InvoiceStatus;
|
|
31
|
+
|
|
32
|
+
@ApiPropertyOptional()
|
|
33
|
+
@IsOptional()
|
|
34
|
+
@IsString()
|
|
35
|
+
orderBy?: string;
|
|
36
|
+
|
|
37
|
+
@ApiPropertyOptional()
|
|
38
|
+
@IsBoolean()
|
|
39
|
+
@ToBoolean()
|
|
40
|
+
isDescending?: boolean;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export interface ParamPaginatedInvoices {
|
|
44
|
+
idSociety: number;
|
|
45
|
+
date?: {
|
|
46
|
+
gte?: string;
|
|
47
|
+
lte?: string;
|
|
48
|
+
};
|
|
49
|
+
status?: InvoiceStatus;
|
|
50
|
+
search?: string;
|
|
51
|
+
pagination: QueryPaginate;
|
|
52
|
+
order?: Order;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export class QueryNextReference {
|
|
56
|
+
@ApiProperty()
|
|
57
|
+
@IsNumber()
|
|
58
|
+
idEstimateInvoiceType: number;
|
|
59
|
+
|
|
60
|
+
@ApiPropertyOptional()
|
|
61
|
+
@IsBoolean()
|
|
62
|
+
@ToBoolean()
|
|
63
|
+
@IsOptional()
|
|
64
|
+
isDraft?: boolean;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export interface Discount {
|
|
68
|
+
type: DiscountType,
|
|
69
|
+
amount: number
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export class QueryPreviewDocument {
|
|
73
|
+
@ApiProperty()
|
|
74
|
+
idEstimateInvoiceType: EstimateInvoiceType;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
export class QueryDocumentPaginated {
|
|
78
|
+
@ApiProperty()
|
|
79
|
+
@IsArray()
|
|
80
|
+
types: EstimateInvoiceType[];
|
|
81
|
+
|
|
82
|
+
@ApiPropertyOptional()
|
|
83
|
+
@IsDateString()
|
|
84
|
+
minDate?: string;
|
|
85
|
+
|
|
86
|
+
@ApiPropertyOptional()
|
|
87
|
+
@IsDateString()
|
|
88
|
+
maxDate?: string;
|
|
89
|
+
|
|
90
|
+
@ApiPropertyOptional()
|
|
91
|
+
@IsOptional()
|
|
92
|
+
@IsString()
|
|
93
|
+
status?: InvoiceStatus;
|
|
94
|
+
|
|
95
|
+
@ApiPropertyOptional()
|
|
96
|
+
@IsOptional()
|
|
97
|
+
@IsString()
|
|
98
|
+
orderBy?: string;
|
|
99
|
+
|
|
100
|
+
@ApiPropertyOptional()
|
|
101
|
+
@IsBoolean()
|
|
102
|
+
@ToBoolean()
|
|
103
|
+
@IsOptional()
|
|
104
|
+
isDescending?: boolean;
|
|
105
|
+
|
|
106
|
+
@ApiPropertyOptional()
|
|
107
|
+
@IsOptional()
|
|
108
|
+
@IsString()
|
|
109
|
+
search?: string;
|
|
110
|
+
|
|
111
|
+
@ApiPropertyOptional()
|
|
112
|
+
@IsBoolean()
|
|
113
|
+
@ToBoolean()
|
|
114
|
+
isDraft?: boolean;
|
|
115
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { EstimateInvoiceType } from '../../../Enum/EstimateInvoice';
|
|
2
|
+
import { IAccountingFile } from '../../models/IAccountingFile';
|
|
3
|
+
import { IProductInvoice } from '../../models/IProductInvoice';
|
|
4
|
+
import { ReadFormattedAccountingTransaction } from '../accountingEntry/AnnotateAccountingTransaction';
|
|
5
|
+
import { CommercialDocumentInputs } from './Create';
|
|
6
|
+
import { IEstimateInvoice } from '../../models/IEstimateInvoice';
|
|
7
|
+
|
|
8
|
+
export type ReadCashBasedInvoice = Partial<IAccountingFile>;
|
|
9
|
+
|
|
10
|
+
export type ReadAccrualInvoice = Partial<ReadFormattedAccountingTransaction>;
|
|
11
|
+
|
|
12
|
+
export type ReadEstimateInvoice = IEstimateInvoice & { id: number };
|
|
13
|
+
|
|
14
|
+
export type ReadProductEditing = IProductInvoice & {
|
|
15
|
+
totalTaxExcluded: number;
|
|
16
|
+
unitFormatted: string;
|
|
17
|
+
vatFormatted: string;
|
|
18
|
+
discountFormatted: string | null;
|
|
19
|
+
discountTypeFormatted: string | null;
|
|
20
|
+
priceTaxExcludedFormatted: string | null;
|
|
21
|
+
totalTaxExcludedFormatted: string | null;
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
export type ReadVatEditing = {
|
|
25
|
+
name: string;
|
|
26
|
+
amount: number;
|
|
27
|
+
value: number;
|
|
28
|
+
baseFormatted: string;
|
|
29
|
+
amountFormatted: string;
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
export type ReadDocumentEditing = CommercialDocumentInputs & {
|
|
33
|
+
title?: string;
|
|
34
|
+
idEstimateInvoiceType: EstimateInvoiceType;
|
|
35
|
+
phoneContact: string | null;
|
|
36
|
+
dueDateFormatted: string | null;
|
|
37
|
+
expirationDateFormatted: string | null;
|
|
38
|
+
capitalFormatted: string | null;
|
|
39
|
+
depositFormatted: string | null;
|
|
40
|
+
emissionDateFormatted: string | null;
|
|
41
|
+
products: ReadProductEditing[];
|
|
42
|
+
vats: ReadVatEditing[];
|
|
43
|
+
totalTaxExcluded: number;
|
|
44
|
+
totalTaxIncluded: number;
|
|
45
|
+
totalTaxAndDiscountIncluded: number;
|
|
46
|
+
generalDiscountFormatted: string | null;
|
|
47
|
+
totalTaxExcludedFormatted: string;
|
|
48
|
+
totalTaxIncludedFormatted: string;
|
|
49
|
+
totalTaxAndDiscountIncludedFormatted: string;
|
|
50
|
+
totalVatAmountFormatted: string;
|
|
51
|
+
font: {
|
|
52
|
+
name: string;
|
|
53
|
+
url: string;
|
|
54
|
+
},
|
|
55
|
+
shouldDisplayDiscountColumn: boolean;
|
|
56
|
+
paymentLink?: string;
|
|
57
|
+
};
|
|
58
|
+
|
|
59
|
+
export type ReadCommercialDocumentTemplate = {
|
|
60
|
+
header: string;
|
|
61
|
+
body: string;
|
|
62
|
+
footer: string;
|
|
63
|
+
data: ReadDocumentEditing;
|
|
64
|
+
};
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import {
|
|
2
|
+
IsBoolean, IsDate, IsOptional, IsString,
|
|
3
|
+
} from 'class-validator';
|
|
4
|
+
import { ApiPropertyOptional } from '../../../../utils';
|
|
5
|
+
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
6
|
+
|
|
7
|
+
export class UpdateCommercialDocument {
|
|
8
|
+
@ApiPropertyOptional()
|
|
9
|
+
@IsBoolean()
|
|
10
|
+
@ToBoolean()
|
|
11
|
+
@IsOptional()
|
|
12
|
+
isCanceled?: boolean;
|
|
13
|
+
|
|
14
|
+
@ApiPropertyOptional()
|
|
15
|
+
@IsBoolean()
|
|
16
|
+
@ToBoolean()
|
|
17
|
+
@IsOptional()
|
|
18
|
+
isRefused?: boolean;
|
|
19
|
+
|
|
20
|
+
@ApiPropertyOptional()
|
|
21
|
+
@IsBoolean()
|
|
22
|
+
@ToBoolean()
|
|
23
|
+
@IsOptional()
|
|
24
|
+
isPaid?: boolean;
|
|
25
|
+
|
|
26
|
+
@ApiPropertyOptional()
|
|
27
|
+
@IsBoolean()
|
|
28
|
+
@ToBoolean()
|
|
29
|
+
@IsOptional()
|
|
30
|
+
isUsed?: boolean;
|
|
31
|
+
|
|
32
|
+
@ApiPropertyOptional()
|
|
33
|
+
@IsDate()
|
|
34
|
+
@IsOptional()
|
|
35
|
+
mailSent?: Date | null;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export class UpdateReminder {
|
|
39
|
+
@ApiPropertyOptional()
|
|
40
|
+
@IsBoolean()
|
|
41
|
+
@ToBoolean()
|
|
42
|
+
@IsOptional()
|
|
43
|
+
beforeThree: boolean;
|
|
44
|
+
|
|
45
|
+
@ApiPropertyOptional()
|
|
46
|
+
@IsBoolean()
|
|
47
|
+
@ToBoolean()
|
|
48
|
+
@IsOptional()
|
|
49
|
+
dueDate: boolean;
|
|
50
|
+
|
|
51
|
+
@ApiPropertyOptional()
|
|
52
|
+
@IsBoolean()
|
|
53
|
+
@ToBoolean()
|
|
54
|
+
@IsOptional()
|
|
55
|
+
afterThree: boolean;
|
|
56
|
+
|
|
57
|
+
@ApiPropertyOptional()
|
|
58
|
+
@IsBoolean()
|
|
59
|
+
@ToBoolean()
|
|
60
|
+
@IsOptional()
|
|
61
|
+
afterSeven: boolean;
|
|
62
|
+
|
|
63
|
+
@ApiPropertyOptional()
|
|
64
|
+
@IsString()
|
|
65
|
+
@IsOptional()
|
|
66
|
+
subject?: string;
|
|
67
|
+
|
|
68
|
+
@ApiPropertyOptional()
|
|
69
|
+
@IsString()
|
|
70
|
+
@IsOptional()
|
|
71
|
+
message?: string;
|
|
72
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import {
|
|
2
|
+
IsDate, IsEnum, IsOptional, IsString,
|
|
3
|
+
} from 'class-validator';
|
|
4
|
+
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
5
|
+
import { ConnectorType } from '../../../Enum/ConnectorType';
|
|
6
|
+
|
|
7
|
+
export class CreateConnector {
|
|
8
|
+
@ApiProperty()
|
|
9
|
+
@IsEnum(ConnectorType)
|
|
10
|
+
idConnectorType: ConnectorType;
|
|
11
|
+
|
|
12
|
+
@ApiPropertyOptional()
|
|
13
|
+
@IsOptional()
|
|
14
|
+
@IsString()
|
|
15
|
+
username?: string;
|
|
16
|
+
|
|
17
|
+
@ApiPropertyOptional()
|
|
18
|
+
@IsOptional()
|
|
19
|
+
@IsString()
|
|
20
|
+
pass?: string;
|
|
21
|
+
|
|
22
|
+
@ApiPropertyOptional()
|
|
23
|
+
@IsOptional()
|
|
24
|
+
@IsString()
|
|
25
|
+
url?: string;
|
|
26
|
+
|
|
27
|
+
@ApiPropertyOptional()
|
|
28
|
+
@IsOptional()
|
|
29
|
+
@IsString()
|
|
30
|
+
token?: string;
|
|
31
|
+
|
|
32
|
+
@ApiPropertyOptional()
|
|
33
|
+
@IsOptional()
|
|
34
|
+
@IsString()
|
|
35
|
+
token2?: string;
|
|
36
|
+
|
|
37
|
+
@ApiPropertyOptional()
|
|
38
|
+
@IsOptional()
|
|
39
|
+
@IsString()
|
|
40
|
+
token3?: string;
|
|
41
|
+
|
|
42
|
+
@ApiPropertyOptional()
|
|
43
|
+
@IsOptional()
|
|
44
|
+
@IsString()
|
|
45
|
+
token4?: string;
|
|
46
|
+
|
|
47
|
+
@ApiPropertyOptional()
|
|
48
|
+
@IsOptional()
|
|
49
|
+
@IsDate()
|
|
50
|
+
date?: Date;
|
|
51
|
+
}
|