@silexpert/core 1.1.72 → 1.1.74
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/es/types/Enum/PartnerType.js.map +1 -1
- package/es/types/Enum/Vat.js.map +1 -1
- package/es/types/Form/FormAuthenticate.d.ts.map +1 -1
- package/es/types/Form/FormAuthenticate.js.map +1 -1
- package/es/types/Interface/api/3cx/Create3cxLog.d.ts.map +1 -1
- package/es/types/Interface/api/3cx/Create3cxLog.js.map +1 -1
- package/es/types/Interface/api/3cx/Query3cxSearch.d.ts.map +1 -1
- package/es/types/Interface/api/3cx/Query3cxSearch.js.map +1 -1
- package/es/types/Interface/api/BasePaginate.d.ts.map +1 -1
- package/es/types/Interface/api/BasePaginate.js.map +1 -1
- package/es/types/Interface/api/SocietyTransaction/QuerySocietyTransactionCount.d.ts.map +1 -1
- package/es/types/Interface/api/SocietyTransaction/QuerySocietyTransactionCount.js.map +1 -1
- package/es/types/Interface/api/acceptance/CreateAcceptance.d.ts.map +1 -1
- package/es/types/Interface/api/acceptance/CreateAcceptance.js.map +1 -1
- package/es/types/Interface/api/account/CreateAccountSociety.d.ts.map +1 -1
- package/es/types/Interface/api/account/CreateAccountSociety.js.map +1 -1
- package/es/types/Interface/api/account/QueryAccountSociety.d.ts.map +1 -1
- package/es/types/Interface/api/account/QueryAccountSociety.js.map +1 -1
- package/es/types/Interface/api/account/QueryAccounts.d.ts.map +1 -1
- package/es/types/Interface/api/account/QueryAccounts.js.map +1 -1
- package/es/types/Interface/api/account/QueryGenericAccount.d.ts.map +1 -1
- package/es/types/Interface/api/account/QueryGenericAccount.js.map +1 -1
- package/es/types/Interface/api/account/UpdateAccountSociety.d.ts.map +1 -1
- package/es/types/Interface/api/account/UpdateAccountSociety.js.map +1 -1
- package/es/types/Interface/api/accountingEntry/AnnotateAccountingTransaction.d.ts.map +1 -1
- package/es/types/Interface/api/accountingEntry/AnnotateAccountingTransaction.js.map +1 -1
- package/es/types/Interface/api/accountingEntry/CreateManualEntry.d.ts.map +1 -1
- package/es/types/Interface/api/accountingEntry/CreateManualEntry.js.map +1 -1
- package/es/types/Interface/api/accountingFiles/queryAccountingFiles.d.ts.map +1 -1
- package/es/types/Interface/api/accountingFiles/queryAccountingFiles.js.map +1 -1
- package/es/types/Interface/api/accountingTransaction/DeleteInvoices.d.ts.map +1 -1
- package/es/types/Interface/api/accountingTransaction/DeleteInvoices.js.map +1 -1
- package/es/types/Interface/api/accountingTransaction/GetTransactionsBetweenDates.d.ts.map +1 -1
- package/es/types/Interface/api/accountingTransaction/GetTransactionsBetweenDates.js.map +1 -1
- package/es/types/Interface/api/accountingTransaction/QueryBankAccountSum.d.ts.map +1 -1
- package/es/types/Interface/api/accountingTransaction/QueryBankAccountSum.js.map +1 -1
- package/es/types/Interface/api/accountingTransaction/QueryTransaction.d.ts.map +1 -1
- package/es/types/Interface/api/accountingTransaction/QueryTransaction.js.map +1 -1
- package/es/types/Interface/api/accountsSectors/Create.d.ts.map +1 -1
- package/es/types/Interface/api/accountsSectors/Create.js.map +1 -1
- package/es/types/Interface/api/accountsSectors/Query.d.ts.map +1 -1
- package/es/types/Interface/api/accountsSectors/Query.js.map +1 -1
- package/es/types/Interface/api/adjustment/Create.d.ts.map +1 -1
- package/es/types/Interface/api/adjustment/Create.js.map +1 -1
- package/es/types/Interface/api/adjustment/Query.d.ts.map +1 -1
- package/es/types/Interface/api/adjustment/Query.js.map +1 -1
- package/es/types/Interface/api/affectedPatrimony/CreateAffectedPatrimony.d.ts.map +1 -1
- package/es/types/Interface/api/affectedPatrimony/CreateAffectedPatrimony.js.map +1 -1
- package/es/types/Interface/api/affectedPatrimony/CreateInKindAffectedPatrimony.d.ts.map +1 -1
- package/es/types/Interface/api/affectedPatrimony/CreateInKindAffectedPatrimony.js.map +1 -1
- package/es/types/Interface/api/alert/CreateAlert.d.ts.map +1 -1
- package/es/types/Interface/api/alert/CreateAlert.js.map +1 -1
- package/es/types/Interface/api/appNotification/Update.d.ts.map +1 -1
- package/es/types/Interface/api/appNotification/Update.js.map +1 -1
- package/es/types/Interface/api/archive/ImportSocietyArchive.d.ts.map +1 -1
- package/es/types/Interface/api/archive/ImportSocietyArchive.js.map +1 -1
- package/es/types/Interface/api/balanceBankAccount/CreateBudgetBalanceBankAccount.d.ts.map +1 -1
- package/es/types/Interface/api/balanceBankAccount/CreateBudgetBalanceBankAccount.js.map +1 -1
- package/es/types/Interface/api/balanceSheet/UpdateBalanceSheet.d.ts.map +1 -1
- package/es/types/Interface/api/balanceSheet/UpdateBalanceSheet.js.map +1 -1
- package/es/types/Interface/api/balanceSheetCompletion/UpdateBalanceSheetCompletion.d.ts.map +1 -1
- package/es/types/Interface/api/balanceSheetCompletion/UpdateBalanceSheetCompletion.js.map +1 -1
- package/es/types/Interface/api/balanceSheetModule/CreateBalanceSheetModule.d.ts.map +1 -1
- package/es/types/Interface/api/balanceSheetModule/CreateBalanceSheetModule.js.map +1 -1
- package/es/types/Interface/api/balanceSheetModule/GetBalanceSheetModule.d.ts.map +1 -1
- package/es/types/Interface/api/balanceSheetModule/GetBalanceSheetModule.js.map +1 -1
- package/es/types/Interface/api/balanceSheetModule/UpdateBalanceSheetModule.d.ts.map +1 -1
- package/es/types/Interface/api/balanceSheetModule/UpdateBalanceSheetModule.js.map +1 -1
- package/es/types/Interface/api/bankAccount/DeleteTransaction.d.ts.map +1 -1
- package/es/types/Interface/api/bankAccount/DeleteTransaction.js.map +1 -1
- package/es/types/Interface/api/bankAccount/ImportBankAccount.d.ts.map +1 -1
- package/es/types/Interface/api/bankAccount/ImportBankAccount.js.map +1 -1
- package/es/types/Interface/api/bankAccount/QueryBankAccount.d.ts.map +1 -1
- package/es/types/Interface/api/bankAccount/QueryBankAccount.js.map +1 -1
- package/es/types/Interface/api/bankStatement/QueryBankStatement.d.ts.map +1 -1
- package/es/types/Interface/api/bankStatement/QueryBankStatement.js.map +1 -1
- package/es/types/Interface/api/bankStatement/QueryTransactionBankStatement.d.ts.map +1 -1
- package/es/types/Interface/api/bankStatement/QueryTransactionBankStatement.js.map +1 -1
- package/es/types/Interface/api/billingHistory/QueryPaginatedBillingHistory.d.ts.map +1 -1
- package/es/types/Interface/api/billingHistory/QueryPaginatedBillingHistory.js.map +1 -1
- package/es/types/Interface/api/budgetInsight/Create.d.ts.map +1 -1
- package/es/types/Interface/api/budgetInsight/Create.js.map +1 -1
- package/es/types/Interface/api/budgetInsight/Query.d.ts.map +1 -1
- package/es/types/Interface/api/budgetInsight/Query.js.map +1 -1
- package/es/types/Interface/api/budgetInsight/UpdateBudgetPermanentToken.d.ts.map +1 -1
- package/es/types/Interface/api/budgetInsight/UpdateBudgetPermanentToken.js.map +1 -1
- package/es/types/Interface/api/businessSector/Create.d.ts.map +1 -1
- package/es/types/Interface/api/businessSector/Create.js.map +1 -1
- package/es/types/Interface/api/businessSector/Delete.d.ts.map +1 -1
- package/es/types/Interface/api/businessSector/Delete.js.map +1 -1
- package/es/types/Interface/api/businessSector/Query.d.ts.map +1 -1
- package/es/types/Interface/api/businessSector/Query.js.map +1 -1
- package/es/types/Interface/api/calendarEvent/createCalendarEvent.d.ts.map +1 -1
- package/es/types/Interface/api/calendarEvent/createCalendarEvent.js.map +1 -1
- package/es/types/Interface/api/calendarEvent/createCalendarEventForUsers.d.ts.map +1 -1
- package/es/types/Interface/api/calendarEvent/createCalendarEventForUsers.js.map +1 -1
- package/es/types/Interface/api/calendarEvent/getAllCalendarEvent.d.ts.map +1 -1
- package/es/types/Interface/api/calendarEvent/getAllCalendarEvent.js.map +1 -1
- package/es/types/Interface/api/calendarEvent/getLastInvalidateEvent.d.ts.map +1 -1
- package/es/types/Interface/api/calendarEvent/getLastInvalidateEvent.js.map +1 -1
- package/es/types/Interface/api/calendarEvent/interval.d.ts.map +1 -1
- package/es/types/Interface/api/calendarEvent/interval.js.map +1 -1
- package/es/types/Interface/api/calendarEvent/queryCalendarEvent.d.ts.map +1 -1
- package/es/types/Interface/api/calendarEvent/queryCalendarEvent.js.map +1 -1
- package/es/types/Interface/api/calendarEvent/updateCalendarEvent.d.ts.map +1 -1
- package/es/types/Interface/api/calendarEvent/updateCalendarEvent.js.map +1 -1
- package/es/types/Interface/api/cashAndExpense/Create.d.ts.map +1 -1
- package/es/types/Interface/api/cashAndExpense/Create.js.map +1 -1
- package/es/types/Interface/api/cerfa/2031.d.ts.map +1 -1
- package/es/types/Interface/api/cerfa/2031.js.map +1 -1
- package/es/types/Interface/api/cerfa/2033.d.ts.map +1 -1
- package/es/types/Interface/api/cerfa/2033.js.map +1 -1
- package/es/types/Interface/api/cerfa/2035.d.ts.map +1 -1
- package/es/types/Interface/api/cerfa/2035.js.map +1 -1
- package/es/types/Interface/api/cerfa/2065.d.ts.map +1 -1
- package/es/types/Interface/api/cerfa/2065.js.map +1 -1
- package/es/types/Interface/api/checklist/Query.d.ts.map +1 -1
- package/es/types/Interface/api/checklist/Query.js.map +1 -1
- package/es/types/Interface/api/checklist/Update.d.ts.map +1 -1
- package/es/types/Interface/api/checklist/Update.js.map +1 -1
- package/es/types/Interface/api/commercial/QueryFetchDialogDatasInfosOk.d.ts.map +1 -1
- package/es/types/Interface/api/commercial/QueryFetchDialogDatasInfosOk.js.map +1 -1
- package/es/types/Interface/api/commercial/QueryGetStats.d.ts.map +1 -1
- package/es/types/Interface/api/commercial/QueryGetStats.js.map +1 -1
- package/es/types/Interface/api/commercial/QueryMovePrestationsToNextMonth.d.ts.map +1 -1
- package/es/types/Interface/api/commercial/QueryMovePrestationsToNextMonth.js.map +1 -1
- package/es/types/Interface/api/commercial/QueryPaginatedNewProspect.d.ts.map +1 -1
- package/es/types/Interface/api/commercial/QueryPaginatedNewProspect.js.map +1 -1
- package/es/types/Interface/api/commercial/QueryPaginatedSocietyWithStatsCa.d.ts.map +1 -1
- package/es/types/Interface/api/commercial/QueryPaginatedSocietyWithStatsCa.js.map +1 -1
- package/es/types/Interface/api/commercialImport/Create.d.ts.map +1 -1
- package/es/types/Interface/api/commercialImport/Create.js.map +1 -1
- package/es/types/Interface/api/commercialImport/Query.d.ts.map +1 -1
- package/es/types/Interface/api/commercialImport/Query.js.map +1 -1
- package/es/types/Interface/api/commercialManagement/Create.d.ts.map +1 -1
- package/es/types/Interface/api/commercialManagement/Create.js.map +1 -1
- package/es/types/Interface/api/commercialManagement/Query.d.ts.map +1 -1
- package/es/types/Interface/api/commercialManagement/Query.js.map +1 -1
- package/es/types/Interface/api/commercialManagement/Update.d.ts.map +1 -1
- package/es/types/Interface/api/commercialManagement/Update.js.map +1 -1
- package/es/types/Interface/api/connection/QueryConnectionState.d.ts.map +1 -1
- package/es/types/Interface/api/connection/QueryConnectionState.js.map +1 -1
- package/es/types/Interface/api/connector/CreateConnector.d.ts.map +1 -1
- package/es/types/Interface/api/connector/CreateConnector.js.map +1 -1
- package/es/types/Interface/api/connector/QueryConnector.d.ts.map +1 -1
- package/es/types/Interface/api/connector/QueryConnector.js.map +1 -1
- package/es/types/Interface/api/customerActivity/Create.d.ts.map +1 -1
- package/es/types/Interface/api/customerActivity/Create.js.map +1 -1
- package/es/types/Interface/api/customerActivity/CreateCustomerActivityReport.d.ts.map +1 -1
- package/es/types/Interface/api/customerActivity/CreateCustomerActivityReport.js.map +1 -1
- package/es/types/Interface/api/customerActivity/Query.d.ts.map +1 -1
- package/es/types/Interface/api/customerActivity/Query.js.map +1 -1
- package/es/types/Interface/api/customerProviderOperation/CreateCustomerProviderOperation.d.ts.map +1 -1
- package/es/types/Interface/api/customerProviderOperation/CreateCustomerProviderOperation.js.map +1 -1
- package/es/types/Interface/api/dashboard/QueryBalanceBankAccount.d.ts.map +1 -1
- package/es/types/Interface/api/dashboard/QueryBalanceBankAccount.js.map +1 -1
- package/es/types/Interface/api/dashboard/QueryDeadline.d.ts.map +1 -1
- package/es/types/Interface/api/dashboard/QueryDeadline.js.map +1 -1
- package/es/types/Interface/api/dashboard/QueryTopBuys.d.ts.map +1 -1
- package/es/types/Interface/api/dashboard/QueryTopBuys.js.map +1 -1
- package/es/types/Interface/api/dashboard/QueryTopProviders.d.ts.map +1 -1
- package/es/types/Interface/api/dashboard/QueryTopProviders.js.map +1 -1
- package/es/types/Interface/api/dashboard/QueryTurnoverProfitAndLoss.d.ts.map +1 -1
- package/es/types/Interface/api/dashboard/QueryTurnoverProfitAndLoss.js.map +1 -1
- package/es/types/Interface/api/dashboard/QueryVatDisbursed.d.ts.map +1 -1
- package/es/types/Interface/api/dashboard/QueryVatDisbursed.js.map +1 -1
- package/es/types/Interface/api/employee/QueryCreateEmployee.js.map +1 -1
- package/es/types/Interface/api/employee/QueryEmployeeSearch.d.ts.map +1 -1
- package/es/types/Interface/api/employee/QueryEmployeeSearch.js.map +1 -1
- package/es/types/Interface/api/employee/QueryUpdateEmployee.js.map +1 -1
- package/es/types/Interface/api/exercice/CreateExercice.d.ts.map +1 -1
- package/es/types/Interface/api/exercice/CreateExercice.js.map +1 -1
- package/es/types/Interface/api/exercice/QueryExercice.d.ts.map +1 -1
- package/es/types/Interface/api/exercice/QueryExercice.js.map +1 -1
- package/es/types/Interface/api/exercice/UpdateExercice.d.ts.map +1 -1
- package/es/types/Interface/api/exercice/UpdateExercice.js.map +1 -1
- package/es/types/Interface/api/exerciceNote/CreateExerciceNote.d.ts.map +1 -1
- package/es/types/Interface/api/exerciceNote/CreateExerciceNote.js.map +1 -1
- package/es/types/Interface/api/exerciceNote/QueryExerciceNote.d.ts.map +1 -1
- package/es/types/Interface/api/exerciceNote/QueryExerciceNote.js.map +1 -1
- package/es/types/Interface/api/exerciceQuestion/CreateExerciceQuestion.d.ts.map +1 -1
- package/es/types/Interface/api/exerciceQuestion/CreateExerciceQuestion.js.map +1 -1
- package/es/types/Interface/api/exerciceQuestion/QueryQuestion.d.ts.map +1 -1
- package/es/types/Interface/api/exerciceQuestion/QueryQuestion.js.map +1 -1
- package/es/types/Interface/api/facturation/CreateRebilling.d.ts.map +1 -1
- package/es/types/Interface/api/facturation/CreateRebilling.js.map +1 -1
- package/es/types/Interface/api/facturation/QueryPaginatedSocietyWithFacturation.d.ts.map +1 -1
- package/es/types/Interface/api/facturation/QueryPaginatedSocietyWithFacturation.js.map +1 -1
- package/es/types/Interface/api/fecFile/CreateFecFile.d.ts.map +1 -1
- package/es/types/Interface/api/fecFile/CreateFecFile.js.map +1 -1
- package/es/types/Interface/api/fecFile/QueryFecFile.d.ts.map +1 -1
- package/es/types/Interface/api/fecFile/QueryFecFile.js.map +1 -1
- package/es/types/Interface/api/file/Create.d.ts.map +1 -1
- package/es/types/Interface/api/file/Create.js.map +1 -1
- package/es/types/Interface/api/file/Query.d.ts.map +1 -1
- package/es/types/Interface/api/file/Query.js.map +1 -1
- package/es/types/Interface/api/financialCharge/CreateNonDeductibleInterests.d.ts.map +1 -1
- package/es/types/Interface/api/financialCharge/CreateNonDeductibleInterests.js.map +1 -1
- package/es/types/Interface/api/firstStep/Create.d.ts.map +1 -1
- package/es/types/Interface/api/firstStep/Create.js.map +1 -1
- package/es/types/Interface/api/fusion/FusionSocieties.d.ts.map +1 -1
- package/es/types/Interface/api/fusion/FusionSocieties.js.map +1 -1
- package/es/types/Interface/api/gedFile/createFileAndGed.d.ts.map +1 -1
- package/es/types/Interface/api/gedFile/createFileAndGed.js.map +1 -1
- package/es/types/Interface/api/gedFile/updateGedFile.d.ts.map +1 -1
- package/es/types/Interface/api/gedFile/updateGedFile.js.map +1 -1
- package/es/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.d.ts.map +1 -1
- package/es/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.js.map +1 -1
- package/es/types/Interface/api/generalLedger/QueryGeneralLedger.d.ts.map +1 -1
- package/es/types/Interface/api/generalLedger/QueryGeneralLedger.js.map +1 -1
- package/es/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.d.ts.map +1 -1
- package/es/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.js.map +1 -1
- package/es/types/Interface/api/iDocus/CreateExport.d.ts.map +1 -1
- package/es/types/Interface/api/iDocus/CreateExport.js.map +1 -1
- package/es/types/Interface/api/immobilization/CreateImmobilization.d.ts.map +1 -1
- package/es/types/Interface/api/immobilization/CreateImmobilization.js.map +1 -1
- package/es/types/Interface/api/incomeAllocation/CreateIncomeAllocation.d.ts.map +1 -1
- package/es/types/Interface/api/incomeAllocation/CreateIncomeAllocation.js.map +1 -1
- package/es/types/Interface/api/incomeStatement/QueryIncomeStatement.d.ts.map +1 -1
- package/es/types/Interface/api/incomeStatement/QueryIncomeStatement.js.map +1 -1
- package/es/types/Interface/api/inpiBalance/QueryInpiBalancePaginated.d.ts.map +1 -1
- package/es/types/Interface/api/inpiBalance/QueryInpiBalancePaginated.js.map +1 -1
- package/es/types/Interface/api/inpiBalance/QueryInpiBalanceStatistic.d.ts.map +1 -1
- package/es/types/Interface/api/inpiBalance/QueryInpiBalanceStatistic.js.map +1 -1
- package/es/types/Interface/api/inpiPayment/QueryInpiPaymentPaginated.d.ts.map +1 -1
- package/es/types/Interface/api/inpiPayment/QueryInpiPaymentPaginated.js.map +1 -1
- package/es/types/Interface/api/inpiPayment/QueryInpiPaymentStatistic.d.ts.map +1 -1
- package/es/types/Interface/api/inpiPayment/QueryInpiPaymentStatistic.js.map +1 -1
- package/es/types/Interface/api/internalInvoicing/CreateInternalInvoicing.d.ts.map +1 -1
- package/es/types/Interface/api/internalInvoicing/CreateInternalInvoicing.js.map +1 -1
- package/es/types/Interface/api/internalInvoicing/CreateInternalInvoicing2in.d.ts.map +1 -1
- package/es/types/Interface/api/internalInvoicing/CreateInternalInvoicing2in.js.map +1 -1
- package/es/types/Interface/api/internalInvoicing/GetLastRef.d.ts.map +1 -1
- package/es/types/Interface/api/internalInvoicing/GetLastRef.js.map +1 -1
- package/es/types/Interface/api/internalInvoicing/RegenerateInternalInvoicing.d.ts.map +1 -1
- package/es/types/Interface/api/internalInvoicing/RegenerateInternalInvoicing.js.map +1 -1
- package/es/types/Interface/api/jeDeclare/CreateDocumentsParams.d.ts.map +1 -1
- package/es/types/Interface/api/jeDeclare/CreateDocumentsParams.js.map +1 -1
- package/es/types/Interface/api/journal/QueryJournal.d.ts.map +1 -1
- package/es/types/Interface/api/journal/QueryJournal.js.map +1 -1
- package/es/types/Interface/api/kilometricAllowance/CreateKilometricAllowanceValidation.d.ts.map +1 -1
- package/es/types/Interface/api/kilometricAllowance/CreateKilometricAllowanceValidation.js.map +1 -1
- package/es/types/Interface/api/legalNotice/UpdateLegalNotice.d.ts.map +1 -1
- package/es/types/Interface/api/legalNotice/UpdateLegalNotice.js.map +1 -1
- package/es/types/Interface/api/letter/CreateLetter.d.ts.map +1 -1
- package/es/types/Interface/api/letter/CreateLetter.js.map +1 -1
- package/es/types/Interface/api/lettering/QueryRegroupLettering.d.ts.map +1 -1
- package/es/types/Interface/api/lettering/QueryRegroupLettering.js.map +1 -1
- package/es/types/Interface/api/library/QueryLibrary.d.ts.map +1 -1
- package/es/types/Interface/api/library/QueryLibrary.js.map +1 -1
- package/es/types/Interface/api/loan/CreateLoan.d.ts.map +1 -1
- package/es/types/Interface/api/loan/CreateLoan.js.map +1 -1
- package/es/types/Interface/api/loan/UpdateLoan.d.ts.map +1 -1
- package/es/types/Interface/api/loan/UpdateLoan.js.map +1 -1
- package/es/types/Interface/api/log/QueryLogPagination.d.ts.map +1 -1
- package/es/types/Interface/api/log/QueryLogPagination.js.map +1 -1
- package/es/types/Interface/api/machineLearning/CreateMachineLearningAnnotation.d.ts.map +1 -1
- package/es/types/Interface/api/machineLearning/CreateMachineLearningAnnotation.js.map +1 -1
- package/es/types/Interface/api/mail/CreateMailParams.js.map +1 -1
- package/es/types/Interface/api/mail/QueryCountMail.d.ts.map +1 -1
- package/es/types/Interface/api/mail/QueryCountMail.js.map +1 -1
- package/es/types/Interface/api/mail/QueryCountProcessedByUser.d.ts.map +1 -1
- package/es/types/Interface/api/mail/QueryCountProcessedByUser.js.map +1 -1
- package/es/types/Interface/api/mail/QueryGetAnsweringTimeByUser.d.ts.map +1 -1
- package/es/types/Interface/api/mail/QueryGetAnsweringTimeByUser.js.map +1 -1
- package/es/types/Interface/api/mail/QueryGetSignature.d.ts.map +1 -1
- package/es/types/Interface/api/mail/QueryGetSignature.js.map +1 -1
- package/es/types/Interface/api/mail/QueryMail.d.ts.map +1 -1
- package/es/types/Interface/api/mail/QueryMail.js.map +1 -1
- package/es/types/Interface/api/mail/QueryPaginatedMail.d.ts.map +1 -1
- package/es/types/Interface/api/mail/QueryPaginatedMail.js.map +1 -1
- package/es/types/Interface/api/mail/UpdateMail.d.ts.map +1 -1
- package/es/types/Interface/api/mail/UpdateMail.js.map +1 -1
- package/es/types/Interface/api/mail/UpdateMailParams.js.map +1 -1
- package/es/types/Interface/api/mailInvoice/CreateInvoiceMail.d.ts.map +1 -1
- package/es/types/Interface/api/mailInvoice/CreateInvoiceMail.js.map +1 -1
- package/es/types/Interface/api/mailInvoice/UpdateInvoiceMail.d.ts.map +1 -1
- package/es/types/Interface/api/mailInvoice/UpdateInvoiceMail.js.map +1 -1
- package/es/types/Interface/api/mealExpense/CreateMealExpense.d.ts.map +1 -1
- package/es/types/Interface/api/mealExpense/CreateMealExpense.js.map +1 -1
- package/es/types/Interface/api/mobile/QueryMobileMigration.d.ts.map +1 -1
- package/es/types/Interface/api/mobile/QueryMobileMigration.js.map +1 -1
- package/es/types/Interface/api/mobile/UpdateMobile.d.ts.map +1 -1
- package/es/types/Interface/api/mobile/UpdateMobile.js.map +1 -1
- package/es/types/Interface/api/notification/CreateNotification.d.ts.map +1 -1
- package/es/types/Interface/api/notification/CreateNotification.js.map +1 -1
- package/es/types/Interface/api/notificationSetting/CreateNotificationSetting.d.ts.map +1 -1
- package/es/types/Interface/api/notificationSetting/CreateNotificationSetting.js.map +1 -1
- package/es/types/Interface/api/notificationSetting/UpdateNotificationSetting.d.ts.map +1 -1
- package/es/types/Interface/api/notificationSetting/UpdateNotificationSetting.js.map +1 -1
- package/es/types/Interface/api/ocr/CreateOcr.d.ts.map +1 -1
- package/es/types/Interface/api/ocr/CreateOcr.js.map +1 -1
- package/es/types/Interface/api/ocr/OcrTransactions.d.ts.map +1 -1
- package/es/types/Interface/api/ocr/OcrTransactions.js.map +1 -1
- package/es/types/Interface/api/pappers/QueryPappers.d.ts.map +1 -1
- package/es/types/Interface/api/pappers/QueryPappers.js.map +1 -1
- package/es/types/Interface/api/partner/CreatePartner.d.ts.map +1 -1
- package/es/types/Interface/api/partner/CreatePartner.js.map +1 -1
- package/es/types/Interface/api/partner/Query.d.ts.map +1 -1
- package/es/types/Interface/api/partner/Query.js.map +1 -1
- package/es/types/Interface/api/partner/UpdatePartner.d.ts.map +1 -1
- package/es/types/Interface/api/partner/UpdatePartner.js.map +1 -1
- package/es/types/Interface/api/partneredAccountant/CreatePartneredAccountantRequestedService.d.ts.map +1 -1
- package/es/types/Interface/api/partneredAccountant/CreatePartneredAccountantRequestedService.js.map +1 -1
- package/es/types/Interface/api/partneredAccountant/CreatePartneredAccountantRequestedServiceExpress.d.ts.map +1 -1
- package/es/types/Interface/api/partneredAccountant/CreatePartneredAccountantRequestedServiceExpress.js.map +1 -1
- package/es/types/Interface/api/partneredAccountant/CreatePartneredAccountantSociety.d.ts.map +1 -1
- package/es/types/Interface/api/partneredAccountant/CreatePartneredAccountantSociety.js.map +1 -1
- package/es/types/Interface/api/partneredAccountant/InvitePartneredAccountant.d.ts.map +1 -1
- package/es/types/Interface/api/partneredAccountant/InvitePartneredAccountant.js.map +1 -1
- package/es/types/Interface/api/partneredAccountant/QueryParteneredAccountantSoldServices.d.ts.map +1 -1
- package/es/types/Interface/api/partneredAccountant/QueryParteneredAccountantSoldServices.js.map +1 -1
- package/es/types/Interface/api/partneredAccountant/QueryPartneredAccountantSocieties.d.ts.map +1 -1
- package/es/types/Interface/api/partneredAccountant/QueryPartneredAccountantSocieties.js.map +1 -1
- package/es/types/Interface/api/partneredAccountant/UpdatePartneredAccountantAccess.d.ts.map +1 -1
- package/es/types/Interface/api/partneredAccountant/UpdatePartneredAccountantAccess.js.map +1 -1
- package/es/types/Interface/api/partneredAccountant/UpdatePartneredAccountantSoldService.d.ts.map +1 -1
- package/es/types/Interface/api/partneredAccountant/UpdatePartneredAccountantSoldService.js.map +1 -1
- package/es/types/Interface/api/payment/QueryMonthlyPayment.d.ts.map +1 -1
- package/es/types/Interface/api/payment/QueryMonthlyPayment.js.map +1 -1
- package/es/types/Interface/api/payment/QueryPayment.d.ts.map +1 -1
- package/es/types/Interface/api/payment/QueryPayment.js.map +1 -1
- package/es/types/Interface/api/paymentExpectation/QueryPaymentExpectation.d.ts.map +1 -1
- package/es/types/Interface/api/paymentExpectation/QueryPaymentExpectation.js.map +1 -1
- package/es/types/Interface/api/paymentExpectationCustomer/QueryPaymentExpectationCustomer.d.ts.map +1 -1
- package/es/types/Interface/api/paymentExpectationCustomer/QueryPaymentExpectationCustomer.js.map +1 -1
- package/es/types/Interface/api/prestashop/InvoicesPrestashop.d.ts.map +1 -1
- package/es/types/Interface/api/prestashop/InvoicesPrestashop.js.map +1 -1
- package/es/types/Interface/api/prestation/CreatePrestation.d.ts.map +1 -1
- package/es/types/Interface/api/prestation/CreatePrestation.js.map +1 -1
- package/es/types/Interface/api/prestation/QueryCreatePrestationSocieties.d.ts.map +1 -1
- package/es/types/Interface/api/prestation/QueryCreatePrestationSocieties.js.map +1 -1
- package/es/types/Interface/api/prestation/QueryGetPaginatedSocietiesFromPrestation.d.ts.map +1 -1
- package/es/types/Interface/api/prestation/QueryGetPaginatedSocietiesFromPrestation.js.map +1 -1
- package/es/types/Interface/api/prestation/QueryPrestation.d.ts.map +1 -1
- package/es/types/Interface/api/prestation/QueryPrestation.js.map +1 -1
- package/es/types/Interface/api/prestations/QueryCreate.d.ts.map +1 -1
- package/es/types/Interface/api/prestations/QueryCreate.js.map +1 -1
- package/es/types/Interface/api/prestations/QueryGetAllPrestations.d.ts.map +1 -1
- package/es/types/Interface/api/prestations/QueryGetAllPrestations.js.map +1 -1
- package/es/types/Interface/api/prestations/QueryUpdate.d.ts.map +1 -1
- package/es/types/Interface/api/prestations/QueryUpdate.js.map +1 -1
- package/es/types/Interface/api/product/CreateProduct.d.ts.map +1 -1
- package/es/types/Interface/api/product/CreateProduct.js.map +1 -1
- package/es/types/Interface/api/product/QueryProduct.d.ts.map +1 -1
- package/es/types/Interface/api/product/QueryProduct.js.map +1 -1
- package/es/types/Interface/api/promoCode/CreateDefaultPromoCode.d.ts.map +1 -1
- package/es/types/Interface/api/promoCode/CreateDefaultPromoCode.js.map +1 -1
- package/es/types/Interface/api/promoCode/CreatePromoCode.d.ts.map +1 -1
- package/es/types/Interface/api/promoCode/CreatePromoCode.js.map +1 -1
- package/es/types/Interface/api/promoCode/QueryDefaultPromotion.d.ts.map +1 -1
- package/es/types/Interface/api/promoCode/QueryDefaultPromotion.js.map +1 -1
- package/es/types/Interface/api/promoCode/ReadDefaultPaginationPromoCode.d.ts.map +1 -1
- package/es/types/Interface/api/promoCode/ReadDefaultPaginationPromoCode.js.map +1 -1
- package/es/types/Interface/api/promoCode/UpdatePromoCode.d.ts.map +1 -1
- package/es/types/Interface/api/promoCode/UpdatePromoCode.js.map +1 -1
- package/es/types/Interface/api/provision/CreateProvisionForm.d.ts.map +1 -1
- package/es/types/Interface/api/provision/CreateProvisionForm.js.map +1 -1
- package/es/types/Interface/api/provision/QueryGetProvisions.d.ts.map +1 -1
- package/es/types/Interface/api/provision/QueryGetProvisions.js.map +1 -1
- package/es/types/Interface/api/provision/QueryProvisions.d.ts.map +1 -1
- package/es/types/Interface/api/provision/QueryProvisions.js.map +1 -1
- package/es/types/Interface/api/provision/UpdateProvisionForm.d.ts.map +1 -1
- package/es/types/Interface/api/provision/UpdateProvisionForm.js.map +1 -1
- package/es/types/Interface/api/qonto/CreateImportation.d.ts.map +1 -1
- package/es/types/Interface/api/qonto/CreateImportation.js.map +1 -1
- package/es/types/Interface/api/qonto/CreateQontoConnection.d.ts.map +1 -1
- package/es/types/Interface/api/qonto/CreateQontoConnection.js.map +1 -1
- package/es/types/Interface/api/qonto/GetConnectionInformation.d.ts.map +1 -1
- package/es/types/Interface/api/qonto/GetConnectionInformation.js.map +1 -1
- package/es/types/Interface/api/qonto/ProcessBankAccount.d.ts.map +1 -1
- package/es/types/Interface/api/qonto/ProcessBankAccount.js.map +1 -1
- package/es/types/Interface/api/qonto/UpdateConnection.d.ts.map +1 -1
- package/es/types/Interface/api/qonto/UpdateConnection.js.map +1 -1
- package/es/types/Interface/api/quotes/CreateQuoteAccount.d.ts.map +1 -1
- package/es/types/Interface/api/quotes/CreateQuoteAccount.js.map +1 -1
- package/es/types/Interface/api/quotes/QueryQuotesAccount.d.ts.map +1 -1
- package/es/types/Interface/api/quotes/QueryQuotesAccount.js.map +1 -1
- package/es/types/Interface/api/rating/QueryRatingPaginated.d.ts.map +1 -1
- package/es/types/Interface/api/rating/QueryRatingPaginated.js.map +1 -1
- package/es/types/Interface/api/registration/CreateRegistration.d.ts.map +1 -1
- package/es/types/Interface/api/registration/CreateRegistration.js.map +1 -1
- package/es/types/Interface/api/registration/DeclareRegistration.d.ts.map +1 -1
- package/es/types/Interface/api/registration/DeclareRegistration.js.map +1 -1
- package/es/types/Interface/api/registration/QueryRegistration.d.ts.map +1 -1
- package/es/types/Interface/api/registration/QueryRegistration.js.map +1 -1
- package/es/types/Interface/api/registration/UpdateRegistration.d.ts.map +1 -1
- package/es/types/Interface/api/registration/UpdateRegistration.js.map +1 -1
- package/es/types/Interface/api/regulate/QueryGetAll.d.ts.map +1 -1
- package/es/types/Interface/api/regulate/QueryGetAll.js.map +1 -1
- package/es/types/Interface/api/report/CreateReport.d.ts.map +1 -1
- package/es/types/Interface/api/report/CreateReport.js.map +1 -1
- package/es/types/Interface/api/report/DeleteReport.d.ts.map +1 -1
- package/es/types/Interface/api/report/DeleteReport.js.map +1 -1
- package/es/types/Interface/api/report/QueryReports.d.ts.map +1 -1
- package/es/types/Interface/api/report/QueryReports.js.map +1 -1
- package/es/types/Interface/api/report/QueryReportsForLetter.d.ts.map +1 -1
- package/es/types/Interface/api/report/QueryReportsForLetter.js.map +1 -1
- package/es/types/Interface/api/report/QueryReportsStats.d.ts.map +1 -1
- package/es/types/Interface/api/report/QueryReportsStats.js.map +1 -1
- package/es/types/Interface/api/revision/QueryRevision.d.ts.map +1 -1
- package/es/types/Interface/api/revision/QueryRevision.js.map +1 -1
- package/es/types/Interface/api/revision/QueryRevisionAccount.d.ts.map +1 -1
- package/es/types/Interface/api/revision/QueryRevisionAccount.js.map +1 -1
- package/es/types/Interface/api/revision/QueryRevisionApprobation.d.ts.map +1 -1
- package/es/types/Interface/api/revision/QueryRevisionApprobation.js.map +1 -1
- package/es/types/Interface/api/revision/QueryRevisionMergeIntoAccount.d.ts.map +1 -1
- package/es/types/Interface/api/revision/QueryRevisionMergeIntoAccount.js.map +1 -1
- package/es/types/Interface/api/revision/QueryRevisionPaginate.d.ts.map +1 -1
- package/es/types/Interface/api/revision/QueryRevisionPaginate.js.map +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/revisionGuide/CreateRevisionGuide.d.ts.map +1 -1
- package/es/types/Interface/api/revisionGuide/CreateRevisionGuide.js.map +1 -1
- package/es/types/Interface/api/revive/PostRevive.d.ts.map +1 -1
- package/es/types/Interface/api/revive/PostRevive.js.map +1 -1
- package/es/types/Interface/api/rule/Create.d.ts.map +1 -1
- package/es/types/Interface/api/rule/Create.js.map +1 -1
- package/es/types/Interface/api/rule/Query.d.ts.map +1 -1
- package/es/types/Interface/api/rule/Query.js.map +1 -1
- package/es/types/Interface/api/rule/Update.d.ts.map +1 -1
- package/es/types/Interface/api/rule/Update.js.map +1 -1
- package/es/types/Interface/api/salariesFile/CreateSalariesFile.d.ts.map +1 -1
- package/es/types/Interface/api/salariesFile/CreateSalariesFile.js.map +1 -1
- package/es/types/Interface/api/shareCapital/CreateInKindContribution.d.ts.map +1 -1
- package/es/types/Interface/api/shareCapital/CreateInKindContribution.js.map +1 -1
- package/es/types/Interface/api/shareCapital/CreateShareCapital.d.ts.map +1 -1
- package/es/types/Interface/api/shareCapital/CreateShareCapital.js.map +1 -1
- package/es/types/Interface/api/sheetMonthSchedule/QuerySheetMonthSchedule.d.ts.map +1 -1
- package/es/types/Interface/api/sheetMonthSchedule/QuerySheetMonthSchedule.js.map +1 -1
- package/es/types/Interface/api/shine/CreateShineAccount.d.ts.map +1 -1
- package/es/types/Interface/api/shine/CreateShineAccount.js.map +1 -1
- package/es/types/Interface/api/shine/CreateShineTransactions.d.ts.map +1 -1
- package/es/types/Interface/api/shine/CreateShineTransactions.js.map +1 -1
- package/es/types/Interface/api/shine/GetConnect.d.ts.map +1 -1
- package/es/types/Interface/api/shine/GetConnect.js.map +1 -1
- package/es/types/Interface/api/shopify/InvoicesShopify.d.ts.map +1 -1
- package/es/types/Interface/api/shopify/InvoicesShopify.js.map +1 -1
- package/es/types/Interface/api/signFile/CreateFileToSign.d.ts.map +1 -1
- package/es/types/Interface/api/signFile/CreateFileToSign.js.map +1 -1
- package/es/types/Interface/api/simulationColors/ReadSimulationColors.d.ts.map +1 -1
- package/es/types/Interface/api/simulationColors/ReadSimulationColors.js.map +1 -1
- package/es/types/Interface/api/society/CreateSociety.d.ts.map +1 -1
- package/es/types/Interface/api/society/CreateSociety.js.map +1 -1
- package/es/types/Interface/api/society/CreateSocietyDetail.d.ts.map +1 -1
- package/es/types/Interface/api/society/CreateSocietyDetail.js.map +1 -1
- package/es/types/Interface/api/society/CreateUserToSocietyWithPermission.d.ts.map +1 -1
- package/es/types/Interface/api/society/CreateUserToSocietyWithPermission.js.map +1 -1
- package/es/types/Interface/api/society/ListUserSociety.d.ts.map +1 -1
- package/es/types/Interface/api/society/ListUserSociety.js.map +1 -1
- package/es/types/Interface/api/society/QueryPaginatedSociety.d.ts.map +1 -1
- package/es/types/Interface/api/society/QueryPaginatedSociety.js.map +1 -1
- package/es/types/Interface/api/society/QuerySociety.d.ts.map +1 -1
- package/es/types/Interface/api/society/QuerySociety.js.map +1 -1
- package/es/types/Interface/api/society/UpdateSociety.d.ts.map +1 -1
- package/es/types/Interface/api/society/UpdateSociety.js.map +1 -1
- package/es/types/Interface/api/society/UpdateUserToSocietyWithPermission.d.ts.map +1 -1
- package/es/types/Interface/api/society/UpdateUserToSocietyWithPermission.js.map +1 -1
- package/es/types/Interface/api/societyConfig/update.d.ts.map +1 -1
- package/es/types/Interface/api/societyConfig/update.js.map +1 -1
- package/es/types/Interface/api/societyConfigBalanceSheet/QueryGetAllSocietyConfigBalanceSheet.d.ts.map +1 -1
- package/es/types/Interface/api/societyConfigBalanceSheet/QueryGetAllSocietyConfigBalanceSheet.js.map +1 -1
- package/es/types/Interface/api/societyConfigBalanceSheet/QueryPaginatedSocietyConfigBalanceSheet.d.ts.map +1 -1
- package/es/types/Interface/api/societyConfigBalanceSheet/QueryPaginatedSocietyConfigBalanceSheet.js.map +1 -1
- package/es/types/Interface/api/societyEvent/CreateSocietyEvent.d.ts.map +1 -1
- package/es/types/Interface/api/societyEvent/CreateSocietyEvent.js.map +1 -1
- package/es/types/Interface/api/societyEvent/QuerySocietyEvent.d.ts.map +1 -1
- package/es/types/Interface/api/societyEvent/QuerySocietyEvent.js.map +1 -1
- package/es/types/Interface/api/societyPromoCode/CreateSocietyPromoCode.d.ts.map +1 -1
- package/es/types/Interface/api/societyPromoCode/CreateSocietyPromoCode.js.map +1 -1
- package/es/types/Interface/api/sponsorship/CreateSponsorship.d.ts.map +1 -1
- package/es/types/Interface/api/sponsorship/CreateSponsorship.js.map +1 -1
- package/es/types/Interface/api/sponsorship/QuerySponsorship.d.ts.map +1 -1
- package/es/types/Interface/api/sponsorship/QuerySponsorship.js.map +1 -1
- package/es/types/Interface/api/sponsorship/SendSponsorshipLink.d.ts.map +1 -1
- package/es/types/Interface/api/sponsorship/SendSponsorshipLink.js.map +1 -1
- package/es/types/Interface/api/statistic/QueryAccountant.d.ts.map +1 -1
- package/es/types/Interface/api/statistic/QueryAccountant.js.map +1 -1
- package/es/types/Interface/api/statistic/QueryCustomerSuccess.d.ts.map +1 -1
- package/es/types/Interface/api/statistic/QueryCustomerSuccess.js.map +1 -1
- package/es/types/Interface/api/statistic/QueryDirection.d.ts.map +1 -1
- package/es/types/Interface/api/statistic/QueryDirection.js.map +1 -1
- package/es/types/Interface/api/statistic/QueryExpertAccountant.d.ts.map +1 -1
- package/es/types/Interface/api/statistic/QueryExpertAccountant.js.map +1 -1
- package/es/types/Interface/api/statistic/QueryGetAccountant.d.ts.map +1 -1
- package/es/types/Interface/api/statistic/QueryGetAccountant.js.map +1 -1
- package/es/types/Interface/api/statistic/QueryGetDirection.d.ts.map +1 -1
- package/es/types/Interface/api/statistic/QueryGetDirection.js.map +1 -1
- package/es/types/Interface/api/statistic/QueryGetExpertAccountant.d.ts.map +1 -1
- package/es/types/Interface/api/statistic/QueryGetExpertAccountant.js.map +1 -1
- package/es/types/Interface/api/statistic/QueryInternal.d.ts.map +1 -1
- package/es/types/Interface/api/statistic/QueryInternal.js.map +1 -1
- package/es/types/Interface/api/statutsGeneration/CreateBusinessPartnersAndUsersParams.d.ts.map +1 -1
- package/es/types/Interface/api/statutsGeneration/CreateBusinessPartnersAndUsersParams.js.map +1 -1
- package/es/types/Interface/api/statutsGeneration/SendInviteMailParams.d.ts.map +1 -1
- package/es/types/Interface/api/statutsGeneration/SendInviteMailParams.js.map +1 -1
- package/es/types/Interface/api/statutsGeneration/UpdateExercice.d.ts.map +1 -1
- package/es/types/Interface/api/statutsGeneration/UpdateExercice.js.map +1 -1
- package/es/types/Interface/api/statutsGeneration/UpdateExerciceParams.d.ts.map +1 -1
- package/es/types/Interface/api/statutsGeneration/UpdateExerciceParams.js.map +1 -1
- package/es/types/Interface/api/stock/StockEntries.d.ts.map +1 -1
- package/es/types/Interface/api/stock/StockEntries.js.map +1 -1
- package/es/types/Interface/api/stripe/Create.d.ts.map +1 -1
- package/es/types/Interface/api/stripe/Create.js.map +1 -1
- package/es/types/Interface/api/stripe/QueryStripe.d.ts.map +1 -1
- package/es/types/Interface/api/stripe/QueryStripe.js.map +1 -1
- package/es/types/Interface/api/survey/QuerySurvey.d.ts.map +1 -1
- package/es/types/Interface/api/survey/QuerySurvey.js.map +1 -1
- package/es/types/Interface/api/survey/QuerySurveys.d.ts.map +1 -1
- package/es/types/Interface/api/survey/QuerySurveys.js.map +1 -1
- package/es/types/Interface/api/survey/UpdateSurvey.d.ts.map +1 -1
- package/es/types/Interface/api/survey/UpdateSurvey.js.map +1 -1
- package/es/types/Interface/api/task/QueryCountTask.d.ts.map +1 -1
- package/es/types/Interface/api/task/QueryCountTask.js.map +1 -1
- package/es/types/Interface/api/task/QueryCreateTask.d.ts.map +1 -1
- package/es/types/Interface/api/task/QueryCreateTask.js.map +1 -1
- package/es/types/Interface/api/task/QueryGetAllTask.d.ts.map +1 -1
- package/es/types/Interface/api/task/QueryGetAllTask.js.map +1 -1
- package/es/types/Interface/api/task/QueryGetTask.d.ts.map +1 -1
- package/es/types/Interface/api/task/QueryGetTask.js.map +1 -1
- package/es/types/Interface/api/task/QueryPaginatedTask.d.ts.map +1 -1
- package/es/types/Interface/api/task/QueryPaginatedTask.js.map +1 -1
- package/es/types/Interface/api/task/QueryStatsByRolesInCsv.d.ts.map +1 -1
- package/es/types/Interface/api/task/QueryStatsByRolesInCsv.js.map +1 -1
- package/es/types/Interface/api/task/QueryStatsByServiceInCsv.d.ts.map +1 -1
- package/es/types/Interface/api/task/QueryStatsByServiceInCsv.js.map +1 -1
- package/es/types/Interface/api/task/QueryStatsByTaskTypeInCsv.d.ts.map +1 -1
- package/es/types/Interface/api/task/QueryStatsByTaskTypeInCsv.js.map +1 -1
- package/es/types/Interface/api/tax/CreateTax.d.ts.map +1 -1
- package/es/types/Interface/api/tax/CreateTax.js.map +1 -1
- package/es/types/Interface/api/tax/QueryTax.d.ts.map +1 -1
- package/es/types/Interface/api/tax/QueryTax.js.map +1 -1
- package/es/types/Interface/api/taxDeadline/QueryTaxDeadline.d.ts.map +1 -1
- package/es/types/Interface/api/taxDeadline/QueryTaxDeadline.js.map +1 -1
- package/es/types/Interface/api/team/QueryCreate.d.ts.map +1 -1
- package/es/types/Interface/api/team/QueryCreate.js.map +1 -1
- package/es/types/Interface/api/team/QueryGetAllWithIncludes.d.ts.map +1 -1
- package/es/types/Interface/api/team/QueryGetAllWithIncludes.js.map +1 -1
- package/es/types/Interface/api/team/QueryUpdate.d.ts.map +1 -1
- package/es/types/Interface/api/team/QueryUpdate.js.map +1 -1
- package/es/types/Interface/api/terminationList/CreateTerminationList.d.ts.map +1 -1
- package/es/types/Interface/api/terminationList/CreateTerminationList.js.map +1 -1
- package/es/types/Interface/api/terminationList/DestroyTerminationList.d.ts.map +1 -1
- package/es/types/Interface/api/terminationList/DestroyTerminationList.js.map +1 -1
- package/es/types/Interface/api/terminationList/QueryTerminationList.d.ts.map +1 -1
- package/es/types/Interface/api/terminationList/QueryTerminationList.js.map +1 -1
- package/es/types/Interface/api/textMessage/Create.d.ts.map +1 -1
- package/es/types/Interface/api/textMessage/Create.js.map +1 -1
- package/es/types/Interface/api/textMessage/Query.d.ts.map +1 -1
- package/es/types/Interface/api/textMessage/Query.js.map +1 -1
- package/es/types/Interface/api/textMessage/Update.d.ts.map +1 -1
- package/es/types/Interface/api/textMessage/Update.js.map +1 -1
- package/es/types/Interface/api/thirdParty/CreateThirdPartyForm.d.ts.map +1 -1
- package/es/types/Interface/api/thirdParty/CreateThirdPartyForm.js.map +1 -1
- package/es/types/Interface/api/thirdParty/QueryThirdParty.d.ts.map +1 -1
- package/es/types/Interface/api/thirdParty/QueryThirdParty.js.map +1 -1
- package/es/types/Interface/api/thirdParty/UpdateThirdPartyForm.d.ts.map +1 -1
- package/es/types/Interface/api/thirdParty/UpdateThirdPartyForm.js.map +1 -1
- package/es/types/Interface/api/timeRecorder/QueryAttendance.d.ts.map +1 -1
- package/es/types/Interface/api/timeRecorder/QueryAttendance.js.map +1 -1
- package/es/types/Interface/api/timeRecorder/QueryPaginatedDelays.d.ts.map +1 -1
- package/es/types/Interface/api/timeRecorder/QueryPaginatedDelays.js.map +1 -1
- package/es/types/Interface/api/timeRecorder/QueryTimeRecorderGetStats.d.ts.map +1 -1
- package/es/types/Interface/api/timeRecorder/QueryTimeRecorderGetStats.js.map +1 -1
- package/es/types/Interface/api/timeRecorder/UpdateRecorder.d.ts.map +1 -1
- package/es/types/Interface/api/timeRecorder/UpdateRecorder.js.map +1 -1
- package/es/types/Interface/api/transactions/QueryUnexport.d.ts.map +1 -1
- package/es/types/Interface/api/transactions/QueryUnexport.js.map +1 -1
- package/es/types/Interface/api/user/CreateCoworker.d.ts.map +1 -1
- package/es/types/Interface/api/user/CreateCoworker.js.map +1 -1
- package/es/types/Interface/api/user/CreateUser.d.ts.map +1 -1
- package/es/types/Interface/api/user/CreateUser.js.map +1 -1
- package/es/types/Interface/api/user/ParamsGetAll.d.ts.map +1 -1
- package/es/types/Interface/api/user/ParamsGetAll.js.map +1 -1
- package/es/types/Interface/api/user/ParamsGetAllCollaborators.d.ts.map +1 -1
- package/es/types/Interface/api/user/ParamsGetAllCollaborators.js.map +1 -1
- package/es/types/Interface/api/user/ParamsGetAllUserWithRoles.d.ts.map +1 -1
- package/es/types/Interface/api/user/ParamsGetAllUserWithRoles.js.map +1 -1
- package/es/types/Interface/api/user/QueryConfirm.d.ts.map +1 -1
- package/es/types/Interface/api/user/QueryConfirm.js.map +1 -1
- package/es/types/Interface/api/user/QueryGetAllCollaborators.d.ts.map +1 -1
- package/es/types/Interface/api/user/QueryGetAllCollaborators.js.map +1 -1
- package/es/types/Interface/api/user/QueryGetAllCollaboratorsByRoles.d.ts.map +1 -1
- package/es/types/Interface/api/user/QueryGetAllCollaboratorsByRoles.js.map +1 -1
- package/es/types/Interface/api/user/QueryGetAllFromSociety.d.ts.map +1 -1
- package/es/types/Interface/api/user/QueryGetAllFromSociety.js.map +1 -1
- package/es/types/Interface/api/user/QueryResendConfirmationLink.d.ts.map +1 -1
- package/es/types/Interface/api/user/QueryResendConfirmationLink.js.map +1 -1
- package/es/types/Interface/api/user/QuerySocieties.d.ts.map +1 -1
- package/es/types/Interface/api/user/QuerySocieties.js.map +1 -1
- package/es/types/Interface/api/user/QueryUpdatePassword.d.ts.map +1 -1
- package/es/types/Interface/api/user/QueryUpdatePassword.js.map +1 -1
- package/es/types/Interface/api/user/QueryUserSmsConfirmation.d.ts.map +1 -1
- package/es/types/Interface/api/user/QueryUserSmsConfirmation.js.map +1 -1
- package/es/types/Interface/api/vatDeclaration/QueryVatDeclaration.d.ts.map +1 -1
- package/es/types/Interface/api/vatDeclaration/QueryVatDeclaration.js.map +1 -1
- package/es/types/Interface/api/vatRegimeHistory/QueryVatRegimeHistory.d.ts.map +1 -1
- package/es/types/Interface/api/vatRegimeHistory/QueryVatRegimeHistory.js.map +1 -1
- package/es/types/Interface/api/vehicle/CreateSocietyVehicle.d.ts.map +1 -1
- package/es/types/Interface/api/vehicle/CreateSocietyVehicle.js.map +1 -1
- package/es/types/Interface/api/vehicle/UpdateSocietyVehicle.d.ts.map +1 -1
- package/es/types/Interface/api/vehicle/UpdateSocietyVehicle.js.map +1 -1
- package/es/types/Interface/api/visualizedInformation/Query.d.ts.map +1 -1
- package/es/types/Interface/api/visualizedInformation/Query.js.map +1 -1
- package/es/types/Interface/api/visualizedInformation/Update.d.ts.map +1 -1
- package/es/types/Interface/api/visualizedInformation/Update.js.map +1 -1
- package/es/types/Interface/api/wallet/QueryWallet.d.ts.map +1 -1
- package/es/types/Interface/api/wallet/QueryWallet.js.map +1 -1
- package/es/types/Interface/api/wallet/UpdateAttribution.d.ts.map +1 -1
- package/es/types/Interface/api/wallet/UpdateAttribution.js.map +1 -1
- package/es/types/Interface/api/webmail/CreateMailFromLambda.d.ts.map +1 -1
- package/es/types/Interface/api/webmail/CreateMailFromLambda.js.map +1 -1
- package/es/types/Interface/api/webmail/GetPaginatedWhereObjectParams.d.ts.map +1 -1
- package/es/types/Interface/api/webmail/GetPaginatedWhereObjectParams.js.map +1 -1
- package/es/types/Interface/api/webmail/MigrateMailAddresses.d.ts.map +1 -1
- package/es/types/Interface/api/webmail/MigrateMailAddresses.js.map +1 -1
- package/es/types/Interface/api/webmail/PostAttachmentEmailFromLambdaParams.d.ts.map +1 -1
- package/es/types/Interface/api/webmail/PostAttachmentEmailFromLambdaParams.js.map +1 -1
- package/es/types/Interface/api/woocommerce/InvoicesWoocommerce.d.ts.map +1 -1
- package/es/types/Interface/api/woocommerce/InvoicesWoocommerce.js.map +1 -1
- package/es/types/Interface/api/zticket/CreateZTicket.d.ts.map +1 -1
- package/es/types/Interface/api/zticket/CreateZTicket.js.map +1 -1
- package/es/types/Interface/api/zticket/QueryZTicket.d.ts.map +1 -1
- package/es/types/Interface/api/zticket/QueryZTicket.js.map +1 -1
- package/es/utils/quotation.js.map +1 -1
- package/js/api/resources/CalendarEvent.js.map +1 -1
- package/js/api/resources/Commercial.js.map +1 -1
- package/js/api/resources/CommercialDocument.js.map +1 -1
- package/js/api/resources/Employee.js.map +1 -1
- package/js/api/resources/Facturation.js.map +1 -1
- package/js/api/resources/Invoice.js.map +1 -1
- package/js/api/resources/Library.js.map +1 -1
- package/js/api/resources/Mail.js.map +1 -1
- package/js/api/resources/PartneredAccountant.js.map +1 -1
- package/js/api/resources/PaymentExpectationCustomer.js.map +1 -1
- package/js/api/resources/Product.js.map +1 -1
- package/js/api/resources/Registration.js.map +1 -1
- package/js/api/resources/Regulate.js.map +1 -1
- package/js/api/resources/Report.js.map +1 -1
- package/js/api/resources/Revision.js.map +1 -1
- package/js/api/resources/SheetMonthSchedule.js.map +1 -1
- package/js/api/resources/Society.js.map +1 -1
- package/js/api/resources/TaxDeadline.js.map +1 -1
- package/js/api/resources/TextMessage.js.map +1 -1
- package/js/api/resources/ThirdParty.js.map +1 -1
- package/js/api/resources/Wallet.js.map +1 -1
- package/js/api/resources/prestation.js.map +1 -1
- package/js/api/resources/statistic/CustomerSuccess.js.map +1 -1
- package/js/types/Enum/PartnerType.js.map +1 -1
- package/js/types/Enum/Vat.js.map +1 -1
- package/js/types/Form/FormAuthenticate.js.map +1 -1
- package/js/types/Interface/api/3cx/Create3cxLog.js.map +1 -1
- package/js/types/Interface/api/3cx/Query3cxSearch.js.map +1 -1
- package/js/types/Interface/api/BasePaginate.js.map +1 -1
- package/js/types/Interface/api/SocietyTransaction/QuerySocietyTransactionCount.js.map +1 -1
- package/js/types/Interface/api/acceptance/CreateAcceptance.js.map +1 -1
- package/js/types/Interface/api/account/CreateAccountSociety.js.map +1 -1
- package/js/types/Interface/api/account/QueryAccountSociety.js.map +1 -1
- package/js/types/Interface/api/account/QueryAccounts.js.map +1 -1
- package/js/types/Interface/api/account/QueryGenericAccount.js.map +1 -1
- package/js/types/Interface/api/account/UpdateAccountSociety.js.map +1 -1
- package/js/types/Interface/api/accountingEntry/AnnotateAccountingTransaction.js.map +1 -1
- package/js/types/Interface/api/accountingEntry/CreateManualEntry.js.map +1 -1
- package/js/types/Interface/api/accountingFiles/queryAccountingFiles.js.map +1 -1
- package/js/types/Interface/api/accountingTransaction/DeleteInvoices.js.map +1 -1
- package/js/types/Interface/api/accountingTransaction/GetTransactionsBetweenDates.js.map +1 -1
- package/js/types/Interface/api/accountingTransaction/QueryBankAccountSum.js.map +1 -1
- package/js/types/Interface/api/accountingTransaction/QueryTransaction.js.map +1 -1
- package/js/types/Interface/api/accountsSectors/Create.js.map +1 -1
- package/js/types/Interface/api/accountsSectors/Query.js.map +1 -1
- package/js/types/Interface/api/adjustment/Create.js.map +1 -1
- package/js/types/Interface/api/adjustment/Query.js.map +1 -1
- package/js/types/Interface/api/affectedPatrimony/CreateAffectedPatrimony.js.map +1 -1
- package/js/types/Interface/api/affectedPatrimony/CreateInKindAffectedPatrimony.js.map +1 -1
- package/js/types/Interface/api/alert/CreateAlert.js.map +1 -1
- package/js/types/Interface/api/appNotification/Update.js.map +1 -1
- package/js/types/Interface/api/archive/ImportSocietyArchive.js.map +1 -1
- package/js/types/Interface/api/balanceBankAccount/CreateBudgetBalanceBankAccount.js.map +1 -1
- package/js/types/Interface/api/balanceSheet/UpdateBalanceSheet.js.map +1 -1
- package/js/types/Interface/api/balanceSheetCompletion/UpdateBalanceSheetCompletion.js.map +1 -1
- package/js/types/Interface/api/balanceSheetModule/CreateBalanceSheetModule.js.map +1 -1
- package/js/types/Interface/api/balanceSheetModule/GetBalanceSheetModule.js.map +1 -1
- package/js/types/Interface/api/balanceSheetModule/UpdateBalanceSheetModule.js.map +1 -1
- package/js/types/Interface/api/bankAccount/DeleteTransaction.js.map +1 -1
- package/js/types/Interface/api/bankAccount/ImportBankAccount.js.map +1 -1
- package/js/types/Interface/api/bankAccount/QueryBankAccount.js.map +1 -1
- package/js/types/Interface/api/bankStatement/QueryBankStatement.js.map +1 -1
- package/js/types/Interface/api/bankStatement/QueryTransactionBankStatement.js.map +1 -1
- package/js/types/Interface/api/billingHistory/QueryPaginatedBillingHistory.js.map +1 -1
- package/js/types/Interface/api/budgetInsight/Create.js.map +1 -1
- package/js/types/Interface/api/budgetInsight/Query.js.map +1 -1
- package/js/types/Interface/api/budgetInsight/UpdateBudgetPermanentToken.js.map +1 -1
- package/js/types/Interface/api/businessSector/Create.js.map +1 -1
- package/js/types/Interface/api/businessSector/Delete.js.map +1 -1
- package/js/types/Interface/api/businessSector/Query.js.map +1 -1
- package/js/types/Interface/api/calendarEvent/createCalendarEvent.js.map +1 -1
- package/js/types/Interface/api/calendarEvent/createCalendarEventForUsers.js.map +1 -1
- package/js/types/Interface/api/calendarEvent/getAllCalendarEvent.js.map +1 -1
- package/js/types/Interface/api/calendarEvent/getLastInvalidateEvent.js.map +1 -1
- package/js/types/Interface/api/calendarEvent/interval.js.map +1 -1
- package/js/types/Interface/api/calendarEvent/queryCalendarEvent.js.map +1 -1
- package/js/types/Interface/api/calendarEvent/updateCalendarEvent.js.map +1 -1
- package/js/types/Interface/api/cashAndExpense/Create.js.map +1 -1
- package/js/types/Interface/api/cerfa/2031.js.map +1 -1
- package/js/types/Interface/api/cerfa/2033.js.map +1 -1
- package/js/types/Interface/api/cerfa/2035.js.map +1 -1
- package/js/types/Interface/api/cerfa/2065.js.map +1 -1
- package/js/types/Interface/api/checklist/Query.js.map +1 -1
- package/js/types/Interface/api/checklist/Update.js.map +1 -1
- package/js/types/Interface/api/commercial/QueryFetchDialogDatasInfosOk.js.map +1 -1
- package/js/types/Interface/api/commercial/QueryGetStats.js.map +1 -1
- package/js/types/Interface/api/commercial/QueryMovePrestationsToNextMonth.js.map +1 -1
- package/js/types/Interface/api/commercial/QueryPaginatedNewProspect.js.map +1 -1
- package/js/types/Interface/api/commercial/QueryPaginatedSocietyWithStatsCa.js.map +1 -1
- package/js/types/Interface/api/commercialImport/Create.js.map +1 -1
- package/js/types/Interface/api/commercialImport/Query.js.map +1 -1
- package/js/types/Interface/api/commercialManagement/Create.js.map +1 -1
- package/js/types/Interface/api/commercialManagement/Query.js.map +1 -1
- package/js/types/Interface/api/commercialManagement/Update.js.map +1 -1
- package/js/types/Interface/api/connection/QueryConnectionState.js.map +1 -1
- package/js/types/Interface/api/connector/CreateConnector.js.map +1 -1
- package/js/types/Interface/api/connector/QueryConnector.js.map +1 -1
- package/js/types/Interface/api/customerActivity/Create.js.map +1 -1
- package/js/types/Interface/api/customerActivity/CreateCustomerActivityReport.js.map +1 -1
- package/js/types/Interface/api/customerActivity/Query.js.map +1 -1
- package/js/types/Interface/api/customerProviderOperation/CreateCustomerProviderOperation.js.map +1 -1
- package/js/types/Interface/api/dashboard/QueryBalanceBankAccount.js.map +1 -1
- package/js/types/Interface/api/dashboard/QueryDeadline.js.map +1 -1
- package/js/types/Interface/api/dashboard/QueryTopBuys.js.map +1 -1
- package/js/types/Interface/api/dashboard/QueryTopProviders.js.map +1 -1
- package/js/types/Interface/api/dashboard/QueryTurnoverProfitAndLoss.js.map +1 -1
- package/js/types/Interface/api/dashboard/QueryVatDisbursed.js.map +1 -1
- package/js/types/Interface/api/employee/QueryCreateEmployee.js.map +1 -1
- package/js/types/Interface/api/employee/QueryEmployeeSearch.js.map +1 -1
- package/js/types/Interface/api/employee/QueryUpdateEmployee.js.map +1 -1
- package/js/types/Interface/api/exercice/CreateExercice.js.map +1 -1
- package/js/types/Interface/api/exercice/QueryExercice.js.map +1 -1
- package/js/types/Interface/api/exercice/UpdateExercice.js.map +1 -1
- package/js/types/Interface/api/exerciceNote/CreateExerciceNote.js.map +1 -1
- package/js/types/Interface/api/exerciceNote/QueryExerciceNote.js.map +1 -1
- package/js/types/Interface/api/exerciceQuestion/CreateExerciceQuestion.js.map +1 -1
- package/js/types/Interface/api/exerciceQuestion/QueryQuestion.js.map +1 -1
- package/js/types/Interface/api/facturation/CreateRebilling.js.map +1 -1
- package/js/types/Interface/api/facturation/QueryPaginatedSocietyWithFacturation.js.map +1 -1
- package/js/types/Interface/api/fecFile/CreateFecFile.js.map +1 -1
- package/js/types/Interface/api/fecFile/QueryFecFile.js.map +1 -1
- package/js/types/Interface/api/file/Create.js.map +1 -1
- package/js/types/Interface/api/file/Query.js.map +1 -1
- package/js/types/Interface/api/financialCharge/CreateNonDeductibleInterests.js.map +1 -1
- package/js/types/Interface/api/firstStep/Create.js.map +1 -1
- package/js/types/Interface/api/fusion/FusionSocieties.js.map +1 -1
- package/js/types/Interface/api/gedFile/createFileAndGed.js.map +1 -1
- package/js/types/Interface/api/gedFile/updateGedFile.js.map +1 -1
- package/js/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.js.map +1 -1
- package/js/types/Interface/api/generalLedger/QueryGeneralLedger.js.map +1 -1
- package/js/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.js.map +1 -1
- package/js/types/Interface/api/iDocus/CreateExport.js.map +1 -1
- package/js/types/Interface/api/immobilization/CreateImmobilization.js.map +1 -1
- package/js/types/Interface/api/incomeAllocation/CreateIncomeAllocation.js.map +1 -1
- package/js/types/Interface/api/incomeStatement/QueryIncomeStatement.js.map +1 -1
- package/js/types/Interface/api/inpiBalance/QueryInpiBalancePaginated.js.map +1 -1
- package/js/types/Interface/api/inpiBalance/QueryInpiBalanceStatistic.js.map +1 -1
- package/js/types/Interface/api/inpiPayment/QueryInpiPaymentPaginated.js.map +1 -1
- package/js/types/Interface/api/inpiPayment/QueryInpiPaymentStatistic.js.map +1 -1
- package/js/types/Interface/api/internalInvoicing/CreateInternalInvoicing.js.map +1 -1
- package/js/types/Interface/api/internalInvoicing/CreateInternalInvoicing2in.js.map +1 -1
- package/js/types/Interface/api/internalInvoicing/GetLastRef.js.map +1 -1
- package/js/types/Interface/api/internalInvoicing/RegenerateInternalInvoicing.js.map +1 -1
- package/js/types/Interface/api/jeDeclare/CreateDocumentsParams.js.map +1 -1
- package/js/types/Interface/api/jeDeclare/UtilCFONB.js.map +1 -1
- package/js/types/Interface/api/journal/QueryJournal.js.map +1 -1
- package/js/types/Interface/api/kilometricAllowance/CreateKilometricAllowanceValidation.js.map +1 -1
- package/js/types/Interface/api/legalNotice/UpdateLegalNotice.js.map +1 -1
- package/js/types/Interface/api/letter/CreateLetter.js.map +1 -1
- package/js/types/Interface/api/lettering/QueryRegroupLettering.js.map +1 -1
- package/js/types/Interface/api/library/QueryLibrary.js.map +1 -1
- package/js/types/Interface/api/loan/CreateLoan.js.map +1 -1
- package/js/types/Interface/api/loan/UpdateLoan.js.map +1 -1
- package/js/types/Interface/api/log/QueryLogPagination.js.map +1 -1
- package/js/types/Interface/api/machineLearning/CreateMachineLearningAnnotation.js.map +1 -1
- package/js/types/Interface/api/mail/CreateMailParams.js.map +1 -1
- package/js/types/Interface/api/mail/QueryCountMail.js.map +1 -1
- package/js/types/Interface/api/mail/QueryCountProcessedByUser.js.map +1 -1
- package/js/types/Interface/api/mail/QueryGetAnsweringTimeByUser.js.map +1 -1
- package/js/types/Interface/api/mail/QueryGetSignature.js.map +1 -1
- package/js/types/Interface/api/mail/QueryMail.js.map +1 -1
- package/js/types/Interface/api/mail/QueryPaginatedMail.js.map +1 -1
- package/js/types/Interface/api/mail/UpdateMail.js.map +1 -1
- package/js/types/Interface/api/mail/UpdateMailParams.js.map +1 -1
- package/js/types/Interface/api/mailInvoice/CreateInvoiceMail.js.map +1 -1
- package/js/types/Interface/api/mailInvoice/UpdateInvoiceMail.js.map +1 -1
- package/js/types/Interface/api/mealExpense/CreateMealExpense.js.map +1 -1
- package/js/types/Interface/api/mobile/QueryMobileMigration.js.map +1 -1
- package/js/types/Interface/api/mobile/UpdateMobile.js.map +1 -1
- package/js/types/Interface/api/notification/CreateNotification.js.map +1 -1
- package/js/types/Interface/api/notificationSetting/CreateNotificationSetting.js.map +1 -1
- package/js/types/Interface/api/notificationSetting/UpdateNotificationSetting.js.map +1 -1
- package/js/types/Interface/api/ocr/CreateOcr.js.map +1 -1
- package/js/types/Interface/api/ocr/OcrTransactions.js.map +1 -1
- package/js/types/Interface/api/pappers/QueryPappers.js.map +1 -1
- package/js/types/Interface/api/partner/CreatePartner.js.map +1 -1
- package/js/types/Interface/api/partner/Query.js.map +1 -1
- package/js/types/Interface/api/partner/UpdatePartner.js.map +1 -1
- package/js/types/Interface/api/partneredAccountant/CreatePartneredAccountantRequestedService.js.map +1 -1
- package/js/types/Interface/api/partneredAccountant/CreatePartneredAccountantRequestedServiceExpress.js.map +1 -1
- package/js/types/Interface/api/partneredAccountant/CreatePartneredAccountantSociety.js.map +1 -1
- package/js/types/Interface/api/partneredAccountant/InvitePartneredAccountant.js.map +1 -1
- package/js/types/Interface/api/partneredAccountant/QueryParteneredAccountantSoldServices.js.map +1 -1
- package/js/types/Interface/api/partneredAccountant/QueryPartneredAccountantSocieties.js.map +1 -1
- package/js/types/Interface/api/partneredAccountant/UpdatePartneredAccountantAccess.js.map +1 -1
- package/js/types/Interface/api/partneredAccountant/UpdatePartneredAccountantSoldService.js.map +1 -1
- package/js/types/Interface/api/payment/QueryMonthlyPayment.js.map +1 -1
- package/js/types/Interface/api/payment/QueryPayment.js.map +1 -1
- package/js/types/Interface/api/paymentExpectation/QueryPaymentExpectation.js.map +1 -1
- package/js/types/Interface/api/paymentExpectationCustomer/QueryPaymentExpectationCustomer.js.map +1 -1
- package/js/types/Interface/api/prestashop/InvoicesPrestashop.js.map +1 -1
- package/js/types/Interface/api/prestation/CreatePrestation.js.map +1 -1
- package/js/types/Interface/api/prestation/QueryCreatePrestationSocieties.js.map +1 -1
- package/js/types/Interface/api/prestation/QueryGetPaginatedSocietiesFromPrestation.js.map +1 -1
- package/js/types/Interface/api/prestation/QueryPrestation.js.map +1 -1
- package/js/types/Interface/api/prestations/QueryCreate.js.map +1 -1
- package/js/types/Interface/api/prestations/QueryGetAllPrestations.js.map +1 -1
- package/js/types/Interface/api/prestations/QueryUpdate.js.map +1 -1
- package/js/types/Interface/api/product/CreateProduct.js.map +1 -1
- package/js/types/Interface/api/product/QueryProduct.js.map +1 -1
- package/js/types/Interface/api/promoCode/CreateDefaultPromoCode.js.map +1 -1
- package/js/types/Interface/api/promoCode/CreatePromoCode.js.map +1 -1
- package/js/types/Interface/api/promoCode/QueryDefaultPromotion.js.map +1 -1
- package/js/types/Interface/api/promoCode/ReadDefaultPaginationPromoCode.js.map +1 -1
- package/js/types/Interface/api/promoCode/UpdatePromoCode.js.map +1 -1
- package/js/types/Interface/api/provision/CreateProvisionForm.js.map +1 -1
- package/js/types/Interface/api/provision/QueryGetProvisions.js.map +1 -1
- package/js/types/Interface/api/provision/QueryProvisions.js.map +1 -1
- package/js/types/Interface/api/provision/UpdateProvisionForm.js.map +1 -1
- package/js/types/Interface/api/qonto/CreateImportation.js.map +1 -1
- package/js/types/Interface/api/qonto/CreateQontoConnection.js.map +1 -1
- package/js/types/Interface/api/qonto/GetConnectionInformation.js.map +1 -1
- package/js/types/Interface/api/qonto/ProcessBankAccount.js.map +1 -1
- package/js/types/Interface/api/qonto/UpdateConnection.js.map +1 -1
- package/js/types/Interface/api/quotes/CreateQuoteAccount.js.map +1 -1
- package/js/types/Interface/api/quotes/QueryQuotesAccount.js.map +1 -1
- package/js/types/Interface/api/rating/QueryRatingPaginated.js.map +1 -1
- package/js/types/Interface/api/registration/CreateRegistration.js.map +1 -1
- package/js/types/Interface/api/registration/DeclareRegistration.js.map +1 -1
- package/js/types/Interface/api/registration/QueryRegistration.js.map +1 -1
- package/js/types/Interface/api/registration/UpdateRegistration.js.map +1 -1
- package/js/types/Interface/api/regulate/QueryGetAll.js.map +1 -1
- package/js/types/Interface/api/report/CreateReport.js.map +1 -1
- package/js/types/Interface/api/report/DeleteReport.js.map +1 -1
- package/js/types/Interface/api/report/QueryReports.js.map +1 -1
- package/js/types/Interface/api/report/QueryReportsForLetter.js.map +1 -1
- package/js/types/Interface/api/report/QueryReportsStats.js.map +1 -1
- package/js/types/Interface/api/revision/QueryRevision.js.map +1 -1
- package/js/types/Interface/api/revision/QueryRevisionAccount.js.map +1 -1
- package/js/types/Interface/api/revision/QueryRevisionApprobation.js.map +1 -1
- package/js/types/Interface/api/revision/QueryRevisionMergeIntoAccount.js.map +1 -1
- 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/revisionGuide/CreateRevisionGuide.js.map +1 -1
- package/js/types/Interface/api/revive/PostRevive.js.map +1 -1
- package/js/types/Interface/api/rule/Create.js.map +1 -1
- package/js/types/Interface/api/rule/Query.js.map +1 -1
- package/js/types/Interface/api/rule/Update.js.map +1 -1
- package/js/types/Interface/api/salariesFile/CreateSalariesFile.js.map +1 -1
- package/js/types/Interface/api/shareCapital/CreateInKindContribution.js.map +1 -1
- package/js/types/Interface/api/shareCapital/CreateShareCapital.js.map +1 -1
- package/js/types/Interface/api/sheetMonthSchedule/QuerySheetMonthSchedule.js.map +1 -1
- package/js/types/Interface/api/shine/CreateShineAccount.js.map +1 -1
- package/js/types/Interface/api/shine/CreateShineTransactions.js.map +1 -1
- package/js/types/Interface/api/shine/GetConnect.js.map +1 -1
- package/js/types/Interface/api/shopify/InvoicesShopify.js.map +1 -1
- package/js/types/Interface/api/signFile/CreateFileToSign.js.map +1 -1
- package/js/types/Interface/api/simulationColors/ReadSimulationColors.js.map +1 -1
- package/js/types/Interface/api/society/CreateSociety.js.map +1 -1
- package/js/types/Interface/api/society/CreateSocietyDetail.js.map +1 -1
- package/js/types/Interface/api/society/CreateUserToSocietyWithPermission.js.map +1 -1
- package/js/types/Interface/api/society/ListUserSociety.js.map +1 -1
- package/js/types/Interface/api/society/QueryPaginatedSociety.js.map +1 -1
- package/js/types/Interface/api/society/QuerySociety.js.map +1 -1
- package/js/types/Interface/api/society/UpdateSociety.js.map +1 -1
- package/js/types/Interface/api/society/UpdateUserToSocietyWithPermission.js.map +1 -1
- package/js/types/Interface/api/societyConfig/update.js.map +1 -1
- package/js/types/Interface/api/societyConfigBalanceSheet/QueryGetAllSocietyConfigBalanceSheet.js.map +1 -1
- package/js/types/Interface/api/societyConfigBalanceSheet/QueryPaginatedSocietyConfigBalanceSheet.js.map +1 -1
- package/js/types/Interface/api/societyEvent/CreateSocietyEvent.js.map +1 -1
- package/js/types/Interface/api/societyEvent/QuerySocietyEvent.js.map +1 -1
- package/js/types/Interface/api/societyPromoCode/CreateSocietyPromoCode.js.map +1 -1
- package/js/types/Interface/api/sponsorship/CreateSponsorship.js.map +1 -1
- package/js/types/Interface/api/sponsorship/QuerySponsorship.js.map +1 -1
- package/js/types/Interface/api/sponsorship/SendSponsorshipLink.js.map +1 -1
- package/js/types/Interface/api/statistic/QueryAccountant.js.map +1 -1
- package/js/types/Interface/api/statistic/QueryCustomerSuccess.js.map +1 -1
- package/js/types/Interface/api/statistic/QueryDirection.js.map +1 -1
- package/js/types/Interface/api/statistic/QueryExpertAccountant.js.map +1 -1
- package/js/types/Interface/api/statistic/QueryGetAccountant.js.map +1 -1
- package/js/types/Interface/api/statistic/QueryGetDirection.js.map +1 -1
- package/js/types/Interface/api/statistic/QueryGetExpertAccountant.js.map +1 -1
- package/js/types/Interface/api/statistic/QueryInternal.js.map +1 -1
- package/js/types/Interface/api/statutsGeneration/CreateBusinessPartnersAndUsersParams.js.map +1 -1
- package/js/types/Interface/api/statutsGeneration/SendInviteMailParams.js.map +1 -1
- package/js/types/Interface/api/statutsGeneration/UpdateExercice.js.map +1 -1
- package/js/types/Interface/api/statutsGeneration/UpdateExerciceParams.js.map +1 -1
- package/js/types/Interface/api/stock/StockEntries.js.map +1 -1
- package/js/types/Interface/api/stripe/Create.js.map +1 -1
- package/js/types/Interface/api/stripe/QueryStripe.js.map +1 -1
- package/js/types/Interface/api/survey/QuerySurvey.js.map +1 -1
- package/js/types/Interface/api/survey/QuerySurveys.js.map +1 -1
- package/js/types/Interface/api/survey/UpdateSurvey.js.map +1 -1
- package/js/types/Interface/api/task/QueryCountTask.js.map +1 -1
- package/js/types/Interface/api/task/QueryCreateTask.js.map +1 -1
- package/js/types/Interface/api/task/QueryGetAllTask.js.map +1 -1
- package/js/types/Interface/api/task/QueryGetTask.js.map +1 -1
- package/js/types/Interface/api/task/QueryPaginatedTask.js.map +1 -1
- package/js/types/Interface/api/task/QueryStatsByRolesInCsv.js.map +1 -1
- package/js/types/Interface/api/task/QueryStatsByServiceInCsv.js.map +1 -1
- package/js/types/Interface/api/task/QueryStatsByTaskTypeInCsv.js.map +1 -1
- package/js/types/Interface/api/tax/CreateTax.js.map +1 -1
- package/js/types/Interface/api/tax/QueryTax.js.map +1 -1
- package/js/types/Interface/api/taxDeadline/QueryTaxDeadline.js.map +1 -1
- package/js/types/Interface/api/team/QueryCreate.js.map +1 -1
- package/js/types/Interface/api/team/QueryGetAllWithIncludes.js.map +1 -1
- package/js/types/Interface/api/team/QueryUpdate.js.map +1 -1
- package/js/types/Interface/api/terminationList/CreateTerminationList.js.map +1 -1
- package/js/types/Interface/api/terminationList/DestroyTerminationList.js.map +1 -1
- package/js/types/Interface/api/terminationList/QueryTerminationList.js.map +1 -1
- package/js/types/Interface/api/textMessage/Create.js.map +1 -1
- package/js/types/Interface/api/textMessage/Query.js.map +1 -1
- package/js/types/Interface/api/textMessage/Update.js.map +1 -1
- package/js/types/Interface/api/thirdParty/CreateThirdPartyForm.js.map +1 -1
- package/js/types/Interface/api/thirdParty/QueryThirdParty.js.map +1 -1
- package/js/types/Interface/api/thirdParty/UpdateThirdPartyForm.js.map +1 -1
- package/js/types/Interface/api/timeRecorder/QueryAttendance.js.map +1 -1
- package/js/types/Interface/api/timeRecorder/QueryPaginatedDelays.js.map +1 -1
- package/js/types/Interface/api/timeRecorder/QueryTimeRecorderGetStats.js.map +1 -1
- package/js/types/Interface/api/timeRecorder/UpdateRecorder.js.map +1 -1
- package/js/types/Interface/api/transactions/QueryUnexport.js.map +1 -1
- package/js/types/Interface/api/user/CreateCoworker.js.map +1 -1
- package/js/types/Interface/api/user/CreateUser.js.map +1 -1
- package/js/types/Interface/api/user/ParamsGetAll.js.map +1 -1
- package/js/types/Interface/api/user/ParamsGetAllCollaborators.js.map +1 -1
- package/js/types/Interface/api/user/ParamsGetAllUserWithRoles.js.map +1 -1
- package/js/types/Interface/api/user/QueryConfirm.js.map +1 -1
- package/js/types/Interface/api/user/QueryGetAllCollaborators.js.map +1 -1
- package/js/types/Interface/api/user/QueryGetAllCollaboratorsByRoles.js.map +1 -1
- package/js/types/Interface/api/user/QueryGetAllFromSociety.js.map +1 -1
- package/js/types/Interface/api/user/QueryResendConfirmationLink.js.map +1 -1
- package/js/types/Interface/api/user/QuerySocieties.js.map +1 -1
- package/js/types/Interface/api/user/QueryUpdatePassword.js.map +1 -1
- package/js/types/Interface/api/user/QueryUserSmsConfirmation.js.map +1 -1
- package/js/types/Interface/api/vatDeclaration/QueryVatDeclaration.js.map +1 -1
- package/js/types/Interface/api/vatRegimeHistory/QueryVatRegimeHistory.js.map +1 -1
- package/js/types/Interface/api/vehicle/CreateSocietyVehicle.js.map +1 -1
- package/js/types/Interface/api/vehicle/UpdateSocietyVehicle.js.map +1 -1
- package/js/types/Interface/api/visualizedInformation/Query.js.map +1 -1
- package/js/types/Interface/api/visualizedInformation/Update.js.map +1 -1
- package/js/types/Interface/api/wallet/QueryWallet.js.map +1 -1
- package/js/types/Interface/api/wallet/UpdateAttribution.js.map +1 -1
- package/js/types/Interface/api/webmail/CreateMailFromLambda.js.map +1 -1
- package/js/types/Interface/api/webmail/GetPaginatedWhereObjectParams.js.map +1 -1
- package/js/types/Interface/api/webmail/MigrateMailAddresses.js.map +1 -1
- package/js/types/Interface/api/webmail/PostAttachmentEmailFromLambdaParams.js.map +1 -1
- package/js/types/Interface/api/woocommerce/InvoicesWoocommerce.js.map +1 -1
- package/js/types/Interface/api/zticket/CreateZTicket.js.map +1 -1
- package/js/types/Interface/api/zticket/QueryZTicket.js.map +1 -1
- package/js/utils/email.js.map +1 -1
- package/js/utils/quotation.js.map +1 -1
- package/js/utils/vat/3517/century23.js.map +1 -1
- package/package.json +20 -21
- package/ts/types/Enum/PartnerType.ts +1 -1
- package/ts/types/Enum/Vat.ts +1 -1
- package/ts/types/Form/FormAuthenticate.ts +4 -4
- package/ts/types/Interface/api/3cx/Create3cxLog.ts +13 -13
- package/ts/types/Interface/api/3cx/Query3cxSearch.ts +8 -8
- package/ts/types/Interface/api/BasePaginate.ts +4 -4
- package/ts/types/Interface/api/SocietyTransaction/QuerySocietyTransactionCount.ts +2 -2
- package/ts/types/Interface/api/acceptance/CreateAcceptance.ts +3 -3
- package/ts/types/Interface/api/account/CreateAccountSociety.ts +4 -4
- package/ts/types/Interface/api/account/QueryAccountSociety.ts +5 -5
- package/ts/types/Interface/api/account/QueryAccounts.ts +9 -9
- package/ts/types/Interface/api/account/QueryGenericAccount.ts +3 -3
- package/ts/types/Interface/api/account/UpdateAccountSociety.ts +5 -5
- package/ts/types/Interface/api/accountingEntry/AnnotateAccountingTransaction.ts +9 -9
- package/ts/types/Interface/api/accountingEntry/CreateManualEntry.ts +5 -5
- package/ts/types/Interface/api/accountingFiles/queryAccountingFiles.ts +6 -6
- package/ts/types/Interface/api/accountingTransaction/DeleteInvoices.ts +5 -5
- package/ts/types/Interface/api/accountingTransaction/GetTransactionsBetweenDates.ts +2 -2
- package/ts/types/Interface/api/accountingTransaction/QueryBankAccountSum.ts +10 -10
- package/ts/types/Interface/api/accountingTransaction/QueryTransaction.ts +17 -17
- package/ts/types/Interface/api/accountsSectors/Create.ts +3 -3
- package/ts/types/Interface/api/accountsSectors/Query.ts +1 -1
- package/ts/types/Interface/api/adjustment/Create.ts +3 -3
- package/ts/types/Interface/api/adjustment/Query.ts +1 -1
- package/ts/types/Interface/api/affectedPatrimony/CreateAffectedPatrimony.ts +3 -3
- package/ts/types/Interface/api/affectedPatrimony/CreateInKindAffectedPatrimony.ts +3 -3
- package/ts/types/Interface/api/alert/CreateAlert.ts +10 -10
- package/ts/types/Interface/api/appNotification/Update.ts +2 -2
- package/ts/types/Interface/api/archive/ImportSocietyArchive.ts +2 -2
- package/ts/types/Interface/api/balanceBankAccount/CreateBudgetBalanceBankAccount.ts +2 -2
- package/ts/types/Interface/api/balanceSheet/UpdateBalanceSheet.ts +5 -5
- package/ts/types/Interface/api/balanceSheetCompletion/UpdateBalanceSheetCompletion.ts +1 -1
- package/ts/types/Interface/api/balanceSheetModule/CreateBalanceSheetModule.ts +23 -23
- package/ts/types/Interface/api/balanceSheetModule/GetBalanceSheetModule.ts +1 -1
- package/ts/types/Interface/api/balanceSheetModule/UpdateBalanceSheetModule.ts +23 -23
- package/ts/types/Interface/api/bankAccount/DeleteTransaction.ts +8 -8
- package/ts/types/Interface/api/bankAccount/ImportBankAccount.ts +2 -2
- package/ts/types/Interface/api/bankAccount/QueryBankAccount.ts +2 -2
- package/ts/types/Interface/api/bankStatement/QueryBankStatement.ts +2 -2
- package/ts/types/Interface/api/bankStatement/QueryTransactionBankStatement.ts +2 -2
- package/ts/types/Interface/api/billingHistory/QueryPaginatedBillingHistory.ts +2 -2
- package/ts/types/Interface/api/budgetInsight/Create.ts +2 -2
- package/ts/types/Interface/api/budgetInsight/Query.ts +2 -2
- package/ts/types/Interface/api/budgetInsight/UpdateBudgetPermanentToken.ts +2 -2
- package/ts/types/Interface/api/businessSector/Create.ts +1 -1
- package/ts/types/Interface/api/businessSector/Delete.ts +1 -1
- package/ts/types/Interface/api/businessSector/Query.ts +1 -1
- package/ts/types/Interface/api/calendarEvent/createCalendarEvent.ts +17 -17
- package/ts/types/Interface/api/calendarEvent/createCalendarEventForUsers.ts +19 -19
- package/ts/types/Interface/api/calendarEvent/getAllCalendarEvent.ts +4 -4
- package/ts/types/Interface/api/calendarEvent/getLastInvalidateEvent.ts +3 -3
- package/ts/types/Interface/api/calendarEvent/interval.ts +4 -4
- package/ts/types/Interface/api/calendarEvent/queryCalendarEvent.ts +2 -2
- package/ts/types/Interface/api/calendarEvent/updateCalendarEvent.ts +18 -18
- package/ts/types/Interface/api/cashAndExpense/Create.ts +16 -16
- package/ts/types/Interface/api/cerfa/2031.ts +1 -1
- package/ts/types/Interface/api/cerfa/2033.ts +1 -1
- package/ts/types/Interface/api/cerfa/2035.ts +4 -4
- package/ts/types/Interface/api/cerfa/2065.ts +1 -1
- package/ts/types/Interface/api/checklist/Query.ts +6 -6
- package/ts/types/Interface/api/checklist/Update.ts +2 -2
- package/ts/types/Interface/api/commercial/QueryFetchDialogDatasInfosOk.ts +3 -3
- package/ts/types/Interface/api/commercial/QueryGetStats.ts +10 -10
- package/ts/types/Interface/api/commercial/QueryMovePrestationsToNextMonth.ts +1 -1
- package/ts/types/Interface/api/commercial/QueryPaginatedNewProspect.ts +5 -5
- package/ts/types/Interface/api/commercial/QueryPaginatedSocietyWithStatsCa.ts +12 -12
- package/ts/types/Interface/api/commercialImport/Create.ts +4 -4
- package/ts/types/Interface/api/commercialImport/Query.ts +2 -2
- package/ts/types/Interface/api/commercialManagement/Create.ts +95 -95
- package/ts/types/Interface/api/commercialManagement/Query.ts +23 -23
- package/ts/types/Interface/api/commercialManagement/Update.ts +17 -17
- package/ts/types/Interface/api/connection/QueryConnectionState.ts +1 -1
- package/ts/types/Interface/api/connector/CreateConnector.ts +9 -9
- package/ts/types/Interface/api/connector/QueryConnector.ts +2 -2
- package/ts/types/Interface/api/customerActivity/Create.ts +1 -1
- package/ts/types/Interface/api/customerActivity/CreateCustomerActivityReport.ts +3 -3
- package/ts/types/Interface/api/customerActivity/Query.ts +1 -1
- package/ts/types/Interface/api/customerProviderOperation/CreateCustomerProviderOperation.ts +7 -7
- package/ts/types/Interface/api/dashboard/QueryBalanceBankAccount.ts +3 -3
- package/ts/types/Interface/api/dashboard/QueryDeadline.ts +3 -3
- package/ts/types/Interface/api/dashboard/QueryTopBuys.ts +2 -2
- package/ts/types/Interface/api/dashboard/QueryTopProviders.ts +2 -2
- package/ts/types/Interface/api/dashboard/QueryTurnoverProfitAndLoss.ts +2 -2
- package/ts/types/Interface/api/dashboard/QueryVatDisbursed.ts +2 -2
- package/ts/types/Interface/api/employee/QueryCreateEmployee.ts +1 -1
- package/ts/types/Interface/api/employee/QueryEmployeeSearch.ts +4 -4
- package/ts/types/Interface/api/employee/QueryUpdateEmployee.ts +1 -1
- package/ts/types/Interface/api/exercice/CreateExercice.ts +14 -14
- package/ts/types/Interface/api/exercice/QueryExercice.ts +5 -5
- package/ts/types/Interface/api/exercice/UpdateExercice.ts +15 -15
- package/ts/types/Interface/api/exerciceNote/CreateExerciceNote.ts +3 -3
- package/ts/types/Interface/api/exerciceNote/QueryExerciceNote.ts +1 -1
- package/ts/types/Interface/api/exerciceQuestion/CreateExerciceQuestion.ts +4 -4
- package/ts/types/Interface/api/exerciceQuestion/QueryQuestion.ts +1 -1
- package/ts/types/Interface/api/facturation/CreateRebilling.ts +8 -8
- package/ts/types/Interface/api/facturation/QueryPaginatedSocietyWithFacturation.ts +6 -6
- package/ts/types/Interface/api/fecFile/CreateFecFile.ts +4 -4
- package/ts/types/Interface/api/fecFile/QueryFecFile.ts +1 -1
- package/ts/types/Interface/api/file/Create.ts +3 -3
- package/ts/types/Interface/api/file/Query.ts +1 -1
- package/ts/types/Interface/api/financialCharge/CreateNonDeductibleInterests.ts +1 -1
- package/ts/types/Interface/api/firstStep/Create.ts +7 -7
- package/ts/types/Interface/api/fusion/FusionSocieties.ts +2 -2
- package/ts/types/Interface/api/gedFile/createFileAndGed.ts +12 -12
- package/ts/types/Interface/api/gedFile/updateGedFile.ts +10 -10
- package/ts/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.ts +3 -3
- package/ts/types/Interface/api/generalLedger/QueryGeneralLedger.ts +7 -7
- package/ts/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.ts +9 -9
- package/ts/types/Interface/api/iDocus/CreateExport.ts +1 -1
- package/ts/types/Interface/api/immobilization/CreateImmobilization.ts +14 -14
- package/ts/types/Interface/api/incomeAllocation/CreateIncomeAllocation.ts +13 -13
- package/ts/types/Interface/api/incomeStatement/QueryIncomeStatement.ts +4 -4
- package/ts/types/Interface/api/inpiBalance/QueryInpiBalancePaginated.ts +3 -3
- package/ts/types/Interface/api/inpiBalance/QueryInpiBalanceStatistic.ts +1 -1
- package/ts/types/Interface/api/inpiPayment/QueryInpiPaymentPaginated.ts +7 -7
- package/ts/types/Interface/api/inpiPayment/QueryInpiPaymentStatistic.ts +1 -1
- package/ts/types/Interface/api/internalInvoicing/CreateInternalInvoicing.ts +5 -5
- package/ts/types/Interface/api/internalInvoicing/CreateInternalInvoicing2in.ts +3 -3
- package/ts/types/Interface/api/internalInvoicing/GetLastRef.ts +3 -3
- package/ts/types/Interface/api/internalInvoicing/RegenerateInternalInvoicing.ts +3 -3
- package/ts/types/Interface/api/jeDeclare/CreateDocumentsParams.ts +2 -2
- package/ts/types/Interface/api/journal/QueryJournal.ts +3 -3
- package/ts/types/Interface/api/kilometricAllowance/CreateKilometricAllowanceValidation.ts +4 -4
- package/ts/types/Interface/api/legalNotice/UpdateLegalNotice.ts +2 -2
- package/ts/types/Interface/api/letter/CreateLetter.ts +11 -11
- package/ts/types/Interface/api/lettering/QueryRegroupLettering.ts +1 -1
- package/ts/types/Interface/api/library/QueryLibrary.ts +24 -24
- package/ts/types/Interface/api/loan/CreateLoan.ts +10 -10
- package/ts/types/Interface/api/loan/UpdateLoan.ts +9 -9
- package/ts/types/Interface/api/log/QueryLogPagination.ts +4 -4
- package/ts/types/Interface/api/machineLearning/CreateMachineLearningAnnotation.ts +7 -7
- package/ts/types/Interface/api/mail/CreateMailParams.ts +1 -1
- package/ts/types/Interface/api/mail/QueryCountMail.ts +8 -8
- package/ts/types/Interface/api/mail/QueryCountProcessedByUser.ts +2 -2
- package/ts/types/Interface/api/mail/QueryGetAnsweringTimeByUser.ts +2 -2
- package/ts/types/Interface/api/mail/QueryGetSignature.ts +3 -3
- package/ts/types/Interface/api/mail/QueryMail.ts +8 -8
- package/ts/types/Interface/api/mail/QueryPaginatedMail.ts +19 -19
- package/ts/types/Interface/api/mail/UpdateMail.ts +32 -32
- package/ts/types/Interface/api/mail/UpdateMailParams.ts +1 -1
- package/ts/types/Interface/api/mailInvoice/CreateInvoiceMail.ts +1 -1
- package/ts/types/Interface/api/mailInvoice/UpdateInvoiceMail.ts +1 -1
- package/ts/types/Interface/api/mealExpense/CreateMealExpense.ts +1 -1
- package/ts/types/Interface/api/mobile/QueryMobileMigration.ts +2 -2
- package/ts/types/Interface/api/mobile/UpdateMobile.ts +1 -1
- package/ts/types/Interface/api/notification/CreateNotification.ts +2 -2
- package/ts/types/Interface/api/notificationSetting/CreateNotificationSetting.ts +1 -1
- package/ts/types/Interface/api/notificationSetting/UpdateNotificationSetting.ts +2 -2
- package/ts/types/Interface/api/ocr/CreateOcr.ts +10 -10
- package/ts/types/Interface/api/ocr/OcrTransactions.ts +4 -4
- package/ts/types/Interface/api/pappers/QueryPappers.ts +19 -19
- package/ts/types/Interface/api/partner/CreatePartner.ts +7 -7
- package/ts/types/Interface/api/partner/Query.ts +9 -9
- package/ts/types/Interface/api/partner/UpdatePartner.ts +7 -7
- package/ts/types/Interface/api/partneredAccountant/CreatePartneredAccountantRequestedService.ts +4 -4
- package/ts/types/Interface/api/partneredAccountant/CreatePartneredAccountantRequestedServiceExpress.ts +4 -4
- package/ts/types/Interface/api/partneredAccountant/CreatePartneredAccountantSociety.ts +20 -20
- package/ts/types/Interface/api/partneredAccountant/InvitePartneredAccountant.ts +1 -1
- package/ts/types/Interface/api/partneredAccountant/QueryParteneredAccountantSoldServices.ts +2 -2
- package/ts/types/Interface/api/partneredAccountant/QueryPartneredAccountantSocieties.ts +1 -1
- package/ts/types/Interface/api/partneredAccountant/UpdatePartneredAccountantAccess.ts +1 -1
- package/ts/types/Interface/api/partneredAccountant/UpdatePartneredAccountantSoldService.ts +4 -4
- package/ts/types/Interface/api/payment/QueryMonthlyPayment.ts +1 -1
- package/ts/types/Interface/api/payment/QueryPayment.ts +2 -2
- package/ts/types/Interface/api/paymentExpectation/QueryPaymentExpectation.ts +1 -1
- package/ts/types/Interface/api/paymentExpectationCustomer/QueryPaymentExpectationCustomer.ts +1 -1
- package/ts/types/Interface/api/prestashop/InvoicesPrestashop.ts +4 -4
- package/ts/types/Interface/api/prestation/CreatePrestation.ts +3 -3
- package/ts/types/Interface/api/prestation/QueryCreatePrestationSocieties.ts +4 -4
- package/ts/types/Interface/api/prestation/QueryGetPaginatedSocietiesFromPrestation.ts +6 -6
- package/ts/types/Interface/api/prestation/QueryPrestation.ts +1 -1
- package/ts/types/Interface/api/prestations/QueryCreate.ts +17 -17
- package/ts/types/Interface/api/prestations/QueryGetAllPrestations.ts +5 -5
- package/ts/types/Interface/api/prestations/QueryUpdate.ts +18 -18
- package/ts/types/Interface/api/product/CreateProduct.ts +10 -10
- package/ts/types/Interface/api/product/QueryProduct.ts +4 -4
- package/ts/types/Interface/api/promoCode/CreateDefaultPromoCode.ts +11 -11
- package/ts/types/Interface/api/promoCode/CreatePromoCode.ts +9 -9
- package/ts/types/Interface/api/promoCode/QueryDefaultPromotion.ts +5 -5
- package/ts/types/Interface/api/promoCode/ReadDefaultPaginationPromoCode.ts +2 -2
- package/ts/types/Interface/api/promoCode/UpdatePromoCode.ts +9 -9
- package/ts/types/Interface/api/provision/CreateProvisionForm.ts +5 -5
- package/ts/types/Interface/api/provision/QueryGetProvisions.ts +3 -3
- package/ts/types/Interface/api/provision/QueryProvisions.ts +5 -5
- package/ts/types/Interface/api/provision/UpdateProvisionForm.ts +3 -3
- package/ts/types/Interface/api/qonto/CreateImportation.ts +2 -2
- package/ts/types/Interface/api/qonto/CreateQontoConnection.ts +2 -2
- package/ts/types/Interface/api/qonto/GetConnectionInformation.ts +1 -1
- package/ts/types/Interface/api/qonto/ProcessBankAccount.ts +2 -2
- package/ts/types/Interface/api/qonto/UpdateConnection.ts +1 -1
- package/ts/types/Interface/api/quotes/CreateQuoteAccount.ts +3 -3
- package/ts/types/Interface/api/quotes/QueryQuotesAccount.ts +4 -4
- package/ts/types/Interface/api/rating/QueryRatingPaginated.ts +3 -3
- package/ts/types/Interface/api/registration/CreateRegistration.ts +42 -42
- package/ts/types/Interface/api/registration/DeclareRegistration.ts +6 -6
- package/ts/types/Interface/api/registration/QueryRegistration.ts +5 -5
- package/ts/types/Interface/api/registration/UpdateRegistration.ts +7 -7
- package/ts/types/Interface/api/regulate/QueryGetAll.ts +3 -3
- package/ts/types/Interface/api/report/CreateReport.ts +14 -14
- package/ts/types/Interface/api/report/DeleteReport.ts +1 -1
- package/ts/types/Interface/api/report/QueryReports.ts +8 -8
- package/ts/types/Interface/api/report/QueryReportsForLetter.ts +2 -2
- package/ts/types/Interface/api/report/QueryReportsStats.ts +2 -2
- package/ts/types/Interface/api/revision/QueryRevision.ts +7 -7
- package/ts/types/Interface/api/revision/QueryRevisionAccount.ts +8 -8
- package/ts/types/Interface/api/revision/QueryRevisionApprobation.ts +4 -4
- package/ts/types/Interface/api/revision/QueryRevisionMergeIntoAccount.ts +5 -5
- package/ts/types/Interface/api/revision/QueryRevisionPaginate.ts +7 -7
- package/ts/types/Interface/api/revision/QueryRevisionSearchEntries.ts +18 -18
- package/ts/types/Interface/api/revisionGuide/CreateRevisionGuide.ts +4 -4
- package/ts/types/Interface/api/revive/PostRevive.ts +1 -1
- package/ts/types/Interface/api/rule/Create.ts +7 -7
- package/ts/types/Interface/api/rule/Query.ts +4 -4
- package/ts/types/Interface/api/rule/Update.ts +1 -1
- package/ts/types/Interface/api/salariesFile/CreateSalariesFile.ts +1 -1
- package/ts/types/Interface/api/shareCapital/CreateInKindContribution.ts +3 -3
- package/ts/types/Interface/api/shareCapital/CreateShareCapital.ts +2 -2
- package/ts/types/Interface/api/sheetMonthSchedule/QuerySheetMonthSchedule.ts +7 -7
- package/ts/types/Interface/api/shine/CreateShineAccount.ts +3 -3
- package/ts/types/Interface/api/shine/CreateShineTransactions.ts +1 -1
- package/ts/types/Interface/api/shine/GetConnect.ts +1 -1
- package/ts/types/Interface/api/shopify/InvoicesShopify.ts +4 -4
- package/ts/types/Interface/api/signFile/CreateFileToSign.ts +8 -8
- package/ts/types/Interface/api/simulationColors/ReadSimulationColors.ts +3 -3
- package/ts/types/Interface/api/society/CreateSociety.ts +22 -22
- package/ts/types/Interface/api/society/CreateSocietyDetail.ts +3 -3
- package/ts/types/Interface/api/society/CreateUserToSocietyWithPermission.ts +7 -7
- package/ts/types/Interface/api/society/ListUserSociety.ts +1 -1
- package/ts/types/Interface/api/society/QueryPaginatedSociety.ts +4 -4
- package/ts/types/Interface/api/society/QuerySociety.ts +3 -3
- package/ts/types/Interface/api/society/UpdateSociety.ts +23 -23
- package/ts/types/Interface/api/society/UpdateUserToSocietyWithPermission.ts +6 -6
- package/ts/types/Interface/api/societyConfig/update.ts +18 -18
- package/ts/types/Interface/api/societyConfigBalanceSheet/QueryGetAllSocietyConfigBalanceSheet.ts +3 -3
- package/ts/types/Interface/api/societyConfigBalanceSheet/QueryPaginatedSocietyConfigBalanceSheet.ts +8 -8
- package/ts/types/Interface/api/societyEvent/CreateSocietyEvent.ts +2 -2
- package/ts/types/Interface/api/societyEvent/QuerySocietyEvent.ts +1 -1
- package/ts/types/Interface/api/societyPromoCode/CreateSocietyPromoCode.ts +2 -2
- package/ts/types/Interface/api/sponsorship/CreateSponsorship.ts +2 -2
- package/ts/types/Interface/api/sponsorship/QuerySponsorship.ts +5 -5
- package/ts/types/Interface/api/sponsorship/SendSponsorshipLink.ts +2 -2
- package/ts/types/Interface/api/statistic/QueryAccountant.ts +3 -3
- package/ts/types/Interface/api/statistic/QueryCustomerSuccess.ts +2 -2
- package/ts/types/Interface/api/statistic/QueryDirection.ts +3 -3
- package/ts/types/Interface/api/statistic/QueryExpertAccountant.ts +3 -3
- package/ts/types/Interface/api/statistic/QueryGetAccountant.ts +2 -2
- package/ts/types/Interface/api/statistic/QueryGetDirection.ts +2 -2
- package/ts/types/Interface/api/statistic/QueryGetExpertAccountant.ts +2 -2
- package/ts/types/Interface/api/statistic/QueryInternal.ts +3 -3
- package/ts/types/Interface/api/statutsGeneration/CreateBusinessPartnersAndUsersParams.ts +10 -10
- package/ts/types/Interface/api/statutsGeneration/SendInviteMailParams.ts +1 -1
- package/ts/types/Interface/api/statutsGeneration/UpdateExercice.ts +2 -2
- package/ts/types/Interface/api/statutsGeneration/UpdateExerciceParams.ts +2 -2
- package/ts/types/Interface/api/stock/StockEntries.ts +15 -15
- package/ts/types/Interface/api/stripe/Create.ts +1 -1
- package/ts/types/Interface/api/stripe/QueryStripe.ts +2 -2
- package/ts/types/Interface/api/survey/QuerySurvey.ts +2 -2
- package/ts/types/Interface/api/survey/QuerySurveys.ts +2 -2
- package/ts/types/Interface/api/survey/UpdateSurvey.ts +3 -3
- package/ts/types/Interface/api/task/QueryCountTask.ts +3 -3
- package/ts/types/Interface/api/task/QueryCreateTask.ts +6 -6
- package/ts/types/Interface/api/task/QueryGetAllTask.ts +5 -5
- package/ts/types/Interface/api/task/QueryGetTask.ts +2 -2
- package/ts/types/Interface/api/task/QueryPaginatedTask.ts +19 -19
- package/ts/types/Interface/api/task/QueryStatsByRolesInCsv.ts +4 -4
- package/ts/types/Interface/api/task/QueryStatsByServiceInCsv.ts +2 -2
- package/ts/types/Interface/api/task/QueryStatsByTaskTypeInCsv.ts +2 -2
- package/ts/types/Interface/api/tax/CreateTax.ts +9 -9
- package/ts/types/Interface/api/tax/QueryTax.ts +3 -3
- package/ts/types/Interface/api/taxDeadline/QueryTaxDeadline.ts +44 -44
- package/ts/types/Interface/api/team/QueryCreate.ts +2 -2
- package/ts/types/Interface/api/team/QueryGetAllWithIncludes.ts +2 -2
- package/ts/types/Interface/api/team/QueryUpdate.ts +4 -4
- package/ts/types/Interface/api/terminationList/CreateTerminationList.ts +11 -11
- package/ts/types/Interface/api/terminationList/DestroyTerminationList.ts +14 -14
- package/ts/types/Interface/api/terminationList/QueryTerminationList.ts +14 -14
- package/ts/types/Interface/api/textMessage/Create.ts +8 -8
- package/ts/types/Interface/api/textMessage/Query.ts +8 -8
- package/ts/types/Interface/api/textMessage/Update.ts +1 -1
- package/ts/types/Interface/api/thirdParty/CreateThirdPartyForm.ts +24 -24
- package/ts/types/Interface/api/thirdParty/QueryThirdParty.ts +3 -3
- package/ts/types/Interface/api/thirdParty/UpdateThirdPartyForm.ts +23 -23
- package/ts/types/Interface/api/timeRecorder/QueryAttendance.ts +2 -2
- package/ts/types/Interface/api/timeRecorder/QueryPaginatedDelays.ts +7 -7
- package/ts/types/Interface/api/timeRecorder/QueryTimeRecorderGetStats.ts +2 -2
- package/ts/types/Interface/api/timeRecorder/UpdateRecorder.ts +4 -4
- package/ts/types/Interface/api/transactions/QueryUnexport.ts +4 -4
- package/ts/types/Interface/api/user/CreateCoworker.ts +14 -14
- package/ts/types/Interface/api/user/CreateUser.ts +10 -10
- package/ts/types/Interface/api/user/ParamsGetAll.ts +4 -4
- package/ts/types/Interface/api/user/ParamsGetAllCollaborators.ts +5 -5
- package/ts/types/Interface/api/user/ParamsGetAllUserWithRoles.ts +5 -5
- package/ts/types/Interface/api/user/QueryConfirm.ts +2 -2
- package/ts/types/Interface/api/user/QueryGetAllCollaborators.ts +2 -2
- package/ts/types/Interface/api/user/QueryGetAllCollaboratorsByRoles.ts +2 -2
- package/ts/types/Interface/api/user/QueryGetAllFromSociety.ts +2 -2
- package/ts/types/Interface/api/user/QueryResendConfirmationLink.ts +1 -1
- package/ts/types/Interface/api/user/QuerySocieties.ts +3 -3
- package/ts/types/Interface/api/user/QueryUpdatePassword.ts +3 -3
- package/ts/types/Interface/api/user/QueryUserSmsConfirmation.ts +1 -1
- package/ts/types/Interface/api/vatDeclaration/QueryVatDeclaration.ts +11 -11
- package/ts/types/Interface/api/vatRegimeHistory/QueryVatRegimeHistory.ts +2 -2
- package/ts/types/Interface/api/vehicle/CreateSocietyVehicle.ts +14 -14
- package/ts/types/Interface/api/vehicle/UpdateSocietyVehicle.ts +14 -14
- package/ts/types/Interface/api/visualizedInformation/Query.ts +2 -2
- package/ts/types/Interface/api/visualizedInformation/Update.ts +2 -2
- package/ts/types/Interface/api/wallet/QueryWallet.ts +4 -4
- package/ts/types/Interface/api/wallet/UpdateAttribution.ts +3 -3
- package/ts/types/Interface/api/webmail/CreateMailFromLambda.ts +16 -16
- package/ts/types/Interface/api/webmail/GetPaginatedWhereObjectParams.ts +15 -15
- package/ts/types/Interface/api/webmail/MigrateMailAddresses.ts +4 -4
- package/ts/types/Interface/api/webmail/PostAttachmentEmailFromLambdaParams.ts +13 -13
- package/ts/types/Interface/api/woocommerce/InvoicesWoocommerce.ts +5 -5
- package/ts/types/Interface/api/zticket/CreateZTicket.ts +5 -5
- package/ts/types/Interface/api/zticket/QueryZTicket.ts +6 -6
- package/ts/utils/quotation.ts +3 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PostAttachmentEmailFromLambdaParams.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/webmail/PostAttachmentEmailFromLambdaParams.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAEtC,qBAAa,mCAAmC;
|
|
1
|
+
{"version":3,"file":"PostAttachmentEmailFromLambdaParams.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/webmail/PostAttachmentEmailFromLambdaParams.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAEtC,qBAAa,mCAAmC;IAG5C,KAAK,EAAE,MAAM,CAAC;IAId,IAAI,EAAE,MAAM,CAAC;IAKb,SAAS,CAAC,EAAE,MAAM,CAAC;IAInB,QAAQ,EAAE,MAAM,CAAC;CACpB;AAGD,qBAAa,uBAAwB,SAAQ,mCAAmC;IAG5E,MAAM,EAAE,MAAM,CAAC;CAClB;AACD,qBAAa,sBAAsB;IAG/B,MAAM,EAAE,MAAM,CAAC;IAKf,KAAK,CAAC,EAAE,KAAK,EAAE,CAAC;CACnB;AACD,qBAAa,6BAA6B;IAGtC,MAAM,EAAE,MAAM,CAAC;IAKf,KAAK,CAAC,EAAE,KAAK,EAAE,CAAC;CACnB;AACD,qBAAa,aAAa;IAGtB,KAAK,EAAE,MAAM,CAAC;IAKd,OAAO,CAAC,EAAE,MAAM,CAAC;IAKjB,KAAK,CAAC,EAAE,MAAM,CAAC;IAQf,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAChC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PostAttachmentEmailFromLambdaParams.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/webmail/PostAttachmentEmailFromLambdaParams.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,OAAO,EACP,QAAQ,EAAE,UAAU,EAAE,QAAQ,EAAE,KAAK,GACtC,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAGrE,MAAM,OAAO,mCAAmC;CAiB/C;AAhBC;IAAC,WAAW,EAAE;IACb,QAAQ,EAAE;;
|
|
1
|
+
{"version":3,"file":"PostAttachmentEmailFromLambdaParams.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/webmail/PostAttachmentEmailFromLambdaParams.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,OAAO,EACP,QAAQ,EAAE,UAAU,EAAE,QAAQ,EAAE,KAAK,GACtC,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAGrE,MAAM,OAAO,mCAAmC;CAiB/C;AAhBC;IAAC,WAAW,EAAE;IACb,QAAQ,EAAE;;kEACK;AAEhB;IAAC,WAAW,EAAE;IACb,QAAQ,EAAE;;iEACI;AAEf;IAAC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;sEACU;AAErB;IAAC,WAAW,EAAE;IACb,QAAQ,EAAE;;qEACQ;AAGrB,oBAAoB;AACpB,MAAM,OAAO,uBAAwB,SAAQ,mCAAmC;CAI/E;AAHC;IAAC,WAAW,EAAE;IACb,QAAQ,EAAE;;uDACM;AAEnB,MAAM,OAAO,sBAAsB;CASlC;AARC;IAAC,WAAW,EAAE;IACb,QAAQ,EAAE;;sDACM;AAEjB;IAAC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,OAAO,EAAE;;qDACQ;AAEpB,MAAM,OAAO,6BAA6B;CASzC;AARC;IAAC,WAAW,EAAE;IACb,QAAQ,EAAE;;6DACM;AAEjB;IAAC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,OAAO,EAAE;;4DACQ;AAEpB,MAAM,OAAO,aAAa;CAsBzB;AArBC;IAAC,WAAW,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC;IAC5B,QAAQ,EAAE;;4CACK;AAEhB;IAAC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;8CACQ;AAEnB;IAAC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;4CACM;AAEjB;IAAC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,OAAO,EAAE;IACT,KAAK,CAAC;QACL,IAAI,EAAE,IAAI;KACX,CAAC;;0DAC6B","sourcesContent":["import {\n IsArray,\n IsNumber, IsOptional, IsString, IsInt,\n} from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { TFile } from '../file/TFile';\n\nexport class PostAttachmentEmailFromLambdaParams {\n @ApiProperty()\n @IsString()\n token: string;\n\n @ApiProperty()\n @IsString()\n mime: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n idSociety?: number;\n\n @ApiProperty()\n @IsString()\n filename: string;\n}\n\n// TODO: à supprimer\nexport class CreateAttachmentWebmail extends PostAttachmentEmailFromLambdaParams {\n @ApiProperty()\n @IsNumber()\n idMail: number;\n}\nexport class CreateAttachmentParams {\n @ApiProperty()\n @IsNumber()\n idMail: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n files?: TFile[];\n}\nexport class CreateAttachmentParamsForTask {\n @ApiProperty()\n @IsNumber()\n idTask: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n files?: TFile[];\n}\nexport class MigrateParams {\n @ApiProperty({ default: 50 })\n @IsNumber()\n limit: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n startId?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n endId?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n @IsInt({\n each: true,\n })\n listIdToForceImport?: number;\n}"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InvoicesWoocommerce.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/woocommerce/InvoicesWoocommerce.ts"],"names":[],"mappings":"AAEA,qBAAa,mBAAmB;
|
|
1
|
+
{"version":3,"file":"InvoicesWoocommerce.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/woocommerce/InvoicesWoocommerce.ts"],"names":[],"mappings":"AAEA,qBAAa,mBAAmB;IAE5B,KAAK,EAAE,MAAM,CAAC;IAEd,KAAK,EAAE,MAAM,CAAC;IAEd,GAAG,EAAE,MAAM,EAAE,CAAC;IAEd,SAAS,EAAE,MAAM,CAAC;IAElB,IAAI,EAAE,IAAI,CAAC;CACd"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InvoicesWoocommerce.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/woocommerce/InvoicesWoocommerce.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAExD,MAAM,OAAO,mBAAmB;CAW/B;AAVC;IAAC,mBAAmB,EAAE;;
|
|
1
|
+
{"version":3,"file":"InvoicesWoocommerce.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/woocommerce/InvoicesWoocommerce.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAExD,MAAM,OAAO,mBAAmB;CAW/B;AAVC;IAAC,mBAAmB,EAAE;;kDACN;AAChB;IAAC,mBAAmB,EAAE;;kDACN;AAChB;IAAC,mBAAmB,EAAE;;gDACN;AAChB;IAAC,mBAAmB,EAAE;;sDACF;AACpB;IAAC,mBAAmB,EAAE;8BACd,IAAI;iDAAC","sourcesContent":["import { ApiPropertyOptional } from '../../../../utils';\n\nexport class InvoicesWoocommerce {\n @ApiPropertyOptional()\n order: string;\n @ApiPropertyOptional()\n limit: number;\n @ApiPropertyOptional()\n ids: number[];\n @ApiPropertyOptional()\n idSociety: number;\n @ApiPropertyOptional()\n date: Date;\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateZTicket.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/zticket/CreateZTicket.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAClD,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAEtC,MAAM,MAAM,IAAI,GAAG;IACjB,QAAQ,EAAE,QAAQ,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB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C;IAC3B,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B,CAAC;AAEF,MAAM,MAAM,QAAQ,GAAG;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,qBAAa,aAAa;IAEtB,IAAI,EAAE,KAAK,CAAC;IAGZ,SAAS,EAAE,MAAM,CAAC;IAGlB,SAAS,EAAE,MAAM,CAAC;IAGlB,KAAK,EAAE,IAAI,EAAE,CAAC;IAGd,QAAQ,EAAE,QAAQ,CAAC;CACtB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateZTicket.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/zticket/CreateZTicket.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AA6BhD,MAAM,OAAO,aAAa;CAezB;AAdC;IAAC,WAAW,EAAE;;
|
|
1
|
+
{"version":3,"file":"CreateZTicket.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/zticket/CreateZTicket.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AA6BhD,MAAM,OAAO,aAAa;CAezB;AAdC;IAAC,WAAW,EAAE;;2CACA;AAEd;IAAC,WAAW,EAAE;;gDACM;AAEpB;IAAC,WAAW,EAAE;;gDACM;AAEpB;IAAC,WAAW,EAAE;;4CACE;AAEhB;IAAC,WAAW,EAAE;;+CACO","sourcesContent":["import { ApiProperty } from '../../../../utils';\nimport { SaleType } from '../../../Enum/SaleType';\nimport { TFile } from '../file/TFile';\n\nexport type Sale = {\n saleType: SaleType;\n TX_20?: number;\n TX_10?: number;\n TX_2_1?: number;\n TX_8_5?: number;\n TX_5_5?: number;\n WITHOUT_TAXE?: number;\n vat_amount_TX_20?: number;\n vat_amount_TX_10?: number;\n vat_amount_TX_2_1?: number;\n vat_amount_TX_8_5?: number;\n vat_amount_TX_5_5?: number;\n};\n\nexport type Payments = {\n CCASH?: number;\n CCHECK?: number;\n CCARD?: number;\n CTRANSFER?: number;\n CCREDIT?: number;\n CTICKET?: number;\n CVOUCHER?: number;\n};\n\nexport class CreateZTicket {\n @ApiProperty()\n file: TFile;\n\n @ApiProperty()\n idSociety: number;\n\n @ApiProperty()\n dateValue: string;\n\n @ApiProperty()\n sales: Sale[];\n\n @ApiProperty()\n payments: Payments;\n}"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryZTicket.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/zticket/QueryZTicket.ts"],"names":[],"mappings":"AAEA,qBAAa,YAAY;
|
|
1
|
+
{"version":3,"file":"QueryZTicket.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/zticket/QueryZTicket.ts"],"names":[],"mappings":"AAEA,qBAAa,YAAY;IAErB,IAAI,EAAE,MAAM,CAAC;IAGb,KAAK,EAAE,MAAM,CAAC;IAGd,UAAU,CAAC,EAAE,OAAO,CAAC;IAGrB,SAAS,CAAC,EAAE,MAAM,CAAC;IAGnB,OAAO,CAAC,EAAE,MAAM,CAAC;IAGjB,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryZTicket.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/zticket/QueryZTicket.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAErE,MAAM,OAAO,YAAY;CAkBxB;AAjBC;IAAC,WAAW,EAAE;;
|
|
1
|
+
{"version":3,"file":"QueryZTicket.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/zticket/QueryZTicket.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAErE,MAAM,OAAO,YAAY;CAkBxB;AAjBC;IAAC,WAAW,EAAE;;0CACC;AAEf;IAAC,WAAW,EAAE;;2CACE;AAEhB;IAAC,mBAAmB,EAAE;;gDACC;AAEvB;IAAC,mBAAmB,EAAE;;+CACD;AAErB;IAAC,mBAAmB,EAAE;;6CACH;AAEnB;IAAC,mBAAmB,EAAE;;4CACJ","sourcesContent":["import { ApiProperty, ApiPropertyOptional } from '../../../../utils';\n\nexport class QueryZTicket {\n @ApiProperty()\n page: number;\n\n @ApiProperty()\n limit: number;\n\n @ApiPropertyOptional()\n descending?: boolean;\n\n @ApiPropertyOptional()\n startDate?: string;\n\n @ApiPropertyOptional()\n endDate?: string;\n\n @ApiPropertyOptional()\n search?: string;\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"quotation.js","sourceRoot":"","sources":["../../ts/utils/quotation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAC3E,OAAO,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAClD,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAoBtD,MAAM,UAAU,gBAAgB,CAAC,MAA8B;IAC7D,MAAM,EACJ,SAAS,EAAE,QAAQ,EAAE,KAAK,EAAE,IAAI,EAAE,cAAc,EAAE,MAAM,EAAE,YAAY,EAAE,cAAc,GACvF,GAAG,MAAM,CAAC;IACX,IACE,SAAS,KAAK,MAAM;WACjB,QAAQ,KAAK,MAAM;YACnB,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE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E,SAAS,GAAG,CAAC,CAAC;IAEjC,OAAO;QACL,QAAQ,EAAE,SAAS;QACnB,IAAI,EAAE,eAAe;QACrB,SAAS,EAAE,OAAO,CAAC,EAAY;KAChC,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,kBAAkB,CAAC,SAAsB;IACvD,sDAAsD;IACtD,MAAM,MAAM,GAAG,KAAK,CAAC;IACrB,IAAI,SAAS,CAAC,CAAC,CAAC,CAAC,QAAQ,KAAK,SAAS,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;QACnD,OAAO,IAAI,CAAC;KACb;IAAC,IAAI,SAAS,CAAC,CAAC,CAAC,CAAC,QAAQ,GAAG,SAAS,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;QACnD,OAAO,IAAI,CAAC;KACb;IACD,OAAO,MAAM,CAAC;AAChB,CAAC","sourcesContent":["import * as dayjs from 'dayjs';\nimport { ForbidenDomain, BasicDomain } from '../types/Enum/MailDomainType';\nimport { Activity } from '../types/Enum/Activity';\nimport { ComptaType } from '../types/Enum/ComptaType';\nimport { ISociety } from '../types/Interface/models/ISociety';\nimport { ICotation } from '../types/Interface/models/ICotation';\nimport {\n BasePaginate,\n IPayment,\n IRating, IReport, ISocietyProceding, ReadClientQuotation,\n} from '../types';\n\ntype getLeadQuotationParams = {\n firstname: string,\n lastname: string,\n phone: string,\n mail: string,\n annualTurnover: number,\n source: number,\n alreadyExist: boolean,\n activitySector: number,\n};\n\nexport function getLeadQuotation(params: getLeadQuotationParams):number {\n const {\n firstname, lastname, phone, mail, annualTurnover, source, alreadyExist, activitySector,\n } = params;\n if (\n firstname === 'test'\n || lastname === 'test'\n || mail?.includes('test')\n || ['606060606', '707070707', '612345678', '712345678', '687654321', '787654321'].includes(phone)\n ) {\n return 0;\n }\n let quotation = 0;\n\n /* cotation du prénom */\n if (firstname) quotation += 5;\n\n /* cotation du nom */\n if (lastname) quotation += 5;\n\n /* cotation du numéro de téléphone */\n if (['6', '7'].includes(phone.substr(0, 1))) {\n quotation += 15;\n } else {\n quotation += 5;\n }\n\n /* cotation de l'adresse email */\n if (BasicDomain.find((domain) => mail?.includes(domain))) {\n quotation += 5;\n } else\n if (!ForbidenDomain.find((domain) => mail?.includes(domain))) {\n quotation += 15;\n }\n\n /* cotation du CA annuel */\n if ([0, 150000, 400000, 783000, 783001].includes(annualTurnover)) {\n quotation += 10;\n } else if ([50000, 234000].includes(annualTurnover)) {\n quotation += 5;\n }\n\n /* cotation de la date d'ajout */\n if ([1, 2, 3, 4, 5].includes(new Date().getDay())) {\n const dateTime = new Date();\n const year = dateTime.getFullYear();\n const month = dateTime.getMonth();\n const day = dateTime.getDate();\n const startTime = new Date(`${year}-${month + 1}-${day} 08:45:00`);\n const endTime = new Date(`${year}-${month + 1}-${day} 18:45:00`);\n if ((startTime.getTime() <= dateTime.getTime()) && (endTime.getTime() >= dateTime.getTime())) {\n quotation += 15;\n } else {\n quotation += 5;\n }\n } else {\n quotation += 5;\n }\n\n /* cotation de la source */\n /* Parrainage */\n if (source === 49) {\n quotation += 10;\n\n /* calendly, appel entrant */\n } else if (source === 2) {\n quotation += 8;\n\n /* adWords, Bing, Formulaire */\n } else if (source === 4) {\n quotation += 6;\n\n /* Chat, Whatsapp */\n } else if ([29, 92].includes(source)) {\n quotation += 2;\n }\n\n /* cotation de la qualité (nombre de champs remplis) */\n const fieldNumber = [firstname, lastname, phone, mail, annualTurnover, activitySector].filter((data) => !!data).length;\n switch (fieldNumber) {\n case 6:\n quotation += 10;\n break;\n case 5:\n quotation += 8;\n break;\n case 4:\n quotation += 6;\n break;\n case 3:\n quotation += 4;\n break;\n case 2:\n quotation += 2;\n break;\n default:\n break;\n }\n\n /* cotation de l'existence du lead (déjà existant ou non) */\n if (alreadyExist) quotation += 8;\n\n /* cotation du secteur d'activité */\n if ([Activity.INFORMATIQUE, Activity.CONSEIL].includes(activitySector)) {\n quotation += 10;\n } else if ([Activity.TRANSPORT, Activity.BTP, Activity.RESTAURATION, Activity.COMMERCANT, Activity.MEDICAL, Activity.PROF_LIB].includes(activitySector)) {\n quotation += 5;\n }\n\n return quotation;\n}\n\n/* besoin en entré de la société concerné avec les différents imports (society), ainsi que la liste des autres sociétés ou l'owner est owner (otherSocieties) */\nexport function getClientQuotation(society: ISociety, otherSocieties: ISociety[], lastNotice: BasePaginate<IRating>, unpaidDetails: [], reports: IReport[], societyProcedings: ISocietyProceding[], tabBankAccount: any, firstPaiement: IPayment[]): ReadClientQuotation {\n let quotationPositive = 0;\n let quotationNegative = 0;\n let quotation = 0;\n const detailQuotation = {\n signature: 0,\n seniority: 0,\n additionalBenefits: 0,\n additionalCompanies: 0,\n unpayed: 0,\n updatedAnnotations: 0,\n bankSynchronization: 0,\n rating: 0,\n labRefused: 0,\n ongoingProceedings: 0,\n report: 0,\n termination: 0,\n created: 0,\n };\n\n // calcul de l'ancienneté de la société\n const anciennete = firstPaiement?.length > 0 ? dayjs().diff(dayjs(firstPaiement[0].datePayment, 'YYYY-MM-DD'), 'years') : 0;\n const ponderation = (anciennete * 0.1) + 1;\n\n /* Type de comptabilité du client (Tresorerie (+10) / Engagement (+15)) */\n if (society.idComptaType) {\n if ([ComptaType.CASH_BASED, ComptaType.CASH_BASED_ASSISTANCE, ComptaType.CASH_BASED_SEIZURE].includes(society.idComptaType)) {\n quotationPositive += 10;\n detailQuotation.signature += 10;\n } else if ([ComptaType.ACCRUALS, ComptaType.ACCRUALS_ASSISTANCE, ComptaType.ACCRUALS_SEIZURE].includes(society.idComptaType)) {\n quotationPositive += 15;\n detailQuotation.signature += 15;\n }\n }\n\n /* Ancienneté (1 ans < firstPaiement < 2 ans (+10) / 2 ans < firstPaiement (+20 / année)) */\n if (firstPaiement?.length > 0) {\n const yearAsClient = Number(new Date().getFullYear()) - Number(new Date(firstPaiement[0].datePayment).getFullYear());\n if (yearAsClient === 1) {\n quotationPositive += 10;\n detailQuotation.seniority += 10;\n } else if (yearAsClient > 1) {\n quotationPositive += (20 * (yearAsClient - 1) + 10);\n detailQuotation.seniority += (20 * (yearAsClient - 1) + 10);\n }\n }\n\n /* Prestations Complémentaires (+5 / prestation) */\n if (society.prestationsSocieties?.length) {\n const prestationsCompl = society.prestationsSocieties.filter((prestation) => prestation.idPrestationComplementary);\n prestationsCompl.forEach(() => {\n quotationPositive += Math.ceil(5 * ponderation);\n detailQuotation.additionalBenefits += Math.ceil(5 * ponderation);\n });\n }\n\n /* Sociétés supplémentaires (+8 / société) */\n if (otherSocieties.length) {\n quotationPositive += Math.ceil(8 * otherSocieties.length * ponderation);\n detailQuotation.additionalCompanies += Math.ceil(8 * otherSocieties.length * ponderation);\n }\n\n /* Impayés (-15 / mois) */\n if (unpaidDetails.length) {\n quotationNegative -= Math.ceil(15 * unpaidDetails.length * ponderation);\n detailQuotation.unpayed -= Math.ceil(15 * unpaidDetails.length * ponderation);\n }\n\n /* annotations à jour */\n if (tabBankAccount.societyAccountingTransactions?.length) {\n // on check s'il y a 80% des lignes annotées (dateLocked)\n let countNotAnnoted = 0;\n let percentageAnnotations = 100;\n tabBankAccount.societyAccountingTransactions.map((na:any) => {\n if (na.dateLocked === null) {\n countNotAnnoted += 1;\n }\n return countNotAnnoted;\n });\n if (countNotAnnoted !== 0) percentageAnnotations = (countNotAnnoted / tabBankAccount.societyAccountingTransactions?.length) * 100;\n if (percentageAnnotations >= 80) {\n quotationPositive += Math.ceil(12 * ponderation);\n detailQuotation.updatedAnnotations += Math.ceil(12 * ponderation);\n } else {\n quotationNegative -= Math.ceil(12 * ponderation);\n detailQuotation.updatedAnnotations -= Math.ceil(12 * ponderation);\n }\n }\n\n /* synchronisation bancaire */\n if (tabBankAccount.societyActivatedBankAccounts?.length) {\n // comptes synchro\n const synchro = tabBankAccount.societyActivatedBankAccounts.length - tabBankAccount.desactivatedBankAccount.length;\n quotationPositive += Math.ceil(12 * synchro * ponderation);\n detailQuotation.bankSynchronization += Math.ceil(12 * synchro * ponderation);\n\n // comptes desynchro\n quotationNegative -= Math.ceil(12 * tabBankAccount.desactivatedBankAccount.length * ponderation);\n detailQuotation.bankSynchronization -= Math.ceil(12 * tabBankAccount.desactivatedBankAccount.length * ponderation);\n }\n\n /* avis */\n if (lastNotice && lastNotice.data.length === 1) {\n if (lastNotice.data[0].average === 5) {\n quotationPositive += Math.ceil(10 * ponderation);\n detailQuotation.rating += Math.ceil(10 * ponderation);\n } else {\n quotationNegative -= 10;\n detailQuotation.rating -= 10;\n }\n }\n\n /* LAB refusée */\n if (society?.societyDetail) {\n if (!society.societyDetail?.acceptation) {\n quotationNegative -= 10;\n detailQuotation.labRefused -= 10;\n }\n }\n\n /* Cessation de paiement - redressement judiciaire - procédure en cours / signalements / résiliation */\n if (societyProcedings?.length) {\n quotationNegative -= 5 * societyProcedings.length;\n detailQuotation.ongoingProceedings -= 5 * societyProcedings.length;\n }\n\n if (reports?.length) {\n quotationNegative -= 10;\n detailQuotation.report -= 10;\n }\n\n if (society.isWaitingEnd) {\n quotationNegative -= 50;\n detailQuotation.termination -= 50;\n }\n\n /* Création chez nous */\n if (society.prestationsSocieties?.length) {\n const prestationsCreation = society.prestationsSocieties.filter((prestation) => prestation.idPrestationList === 15); // creation pas d'enum\n prestationsCreation.forEach(() => {\n quotationPositive += 10;\n detailQuotation.created += 10;\n });\n }\n\n if (quotationPositive > 100) quotationPositive = 100;\n if (quotationNegative > 100) quotationNegative = 100;\n\n quotation = quotationPositive + quotationNegative;\n\n if (quotation < 0) quotation = 0;\n\n return {\n cotation: quotation,\n data: detailQuotation,\n idSociety: society.id as number,\n };\n}\n\nexport function compareTwoCotation(cotations: ICotation[]):boolean | null {\n // on recupere les 2 dernieres cotations de la societe\n const higher = false;\n if (cotations[0].cotation === cotations[1].cotation) {\n return null;\n } if (cotations[0].cotation > cotations[1].cotation) {\n return true;\n }\n return higher;\n}"]}
|
|
1
|
+
{"version":3,"file":"quotation.js","sourceRoot":"","sources":["../../ts/utils/quotation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,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AE,CAAC,UAAU,CAAC,gBAAgB,KAAK,EAAE,CAAC,CAAC,CAAC,sBAAsB;QAC3I,mBAAmB,CAAC,OAAO,CAAC,GAAG,EAAE;YAC/B,iBAAiB,IAAI,EAAE,CAAC;YACxB,eAAe,CAAC,OAAO,IAAI,EAAE,CAAC;QAChC,CAAC,CAAC,CAAC;KACJ;IAED,IAAI,iBAAiB,GAAG,GAAG;QAAE,iBAAiB,GAAG,GAAG,CAAC;IACrD,IAAI,iBAAiB,GAAG,GAAG;QAAE,iBAAiB,GAAG,GAAG,CAAC;IAErD,SAAS,GAAG,iBAAiB,GAAG,iBAAiB,CAAC;IAElD,IAAI,SAAS,GAAG,CAAC;QAAE,SAAS,GAAG,CAAC,CAAC;IAEjC,OAAO;QACL,QAAQ,EAAE,SAAS;QACnB,IAAI,EAAE,eAAe;QACrB,SAAS,EAAE,OAAO,CAAC,EAAY;KAChC,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,kBAAkB,CAAC,SAAsB;IACvD,sDAAsD;IACtD,MAAM,MAAM,GAAG,KAAK,CAAC;IACrB,IAAI,SAAS,CAAC,CAAC,CAAC,CAAC,QAAQ,KAAK,SAAS,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;QACnD,OAAO,IAAI,CAAC;KACb;IAAC,IAAI,SAAS,CAAC,CAAC,CAAC,CAAC,QAAQ,GAAG,SAAS,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;QACnD,OAAO,IAAI,CAAC;KACb;IACD,OAAO,MAAM,CAAC;AAChB,CAAC","sourcesContent":["import * as dayjs from 'dayjs';\nimport { ForbidenDomain, BasicDomain } from '../types/Enum/MailDomainType';\nimport { Activity } from '../types/Enum/Activity';\nimport { ComptaType } from '../types/Enum/ComptaType';\nimport { ISociety } from '../types/Interface/models/ISociety';\nimport { ICotation } from '../types/Interface/models/ICotation';\nimport {\n BasePaginate,\n IPayment,\n IRating, IReport, ISocietyProceding, ReadClientQuotation,\n} from '../types';\n\ntype getLeadQuotationParams = {\n firstname: string,\n lastname: string,\n phone: string,\n mail: string,\n annualTurnover: number,\n source: number,\n alreadyExist: boolean,\n activitySector: number,\n};\n\nexport function getLeadQuotation(params: getLeadQuotationParams):number {\n const {\n firstname, lastname, phone, mail, annualTurnover, source, alreadyExist, activitySector,\n } = params;\n if (\n firstname === 'test'\n || lastname === 'test'\n || mail?.includes('test')\n || ['606060606', '707070707', '612345678', '712345678', '687654321', '787654321'].includes(phone)\n ) {\n return 0;\n }\n let quotation = 0;\n\n /* cotation du prénom */\n if (firstname) quotation += 5;\n\n /* cotation du nom */\n if (lastname) quotation += 5;\n\n /* cotation du numéro de téléphone */\n if (['6', '7'].includes(phone.substr(0, 1))) {\n quotation += 15;\n } else {\n quotation += 5;\n }\n\n /* cotation de l'adresse email */\n if (BasicDomain.find((domain) => mail?.includes(domain))) {\n quotation += 5;\n } else\n if (!ForbidenDomain.find((domain) => mail?.includes(domain))) {\n quotation += 15;\n }\n\n /* cotation du CA annuel */\n if ([0, 150000, 400000, 783000, 783001].includes(annualTurnover)) {\n quotation += 10;\n } else if ([50000, 234000].includes(annualTurnover)) {\n quotation += 5;\n }\n\n /* cotation de la date d'ajout */\n if ([1, 2, 3, 4, 5].includes(new Date().getDay())) {\n const dateTime = new Date();\n const year = dateTime.getFullYear();\n const month = dateTime.getMonth();\n const day = dateTime.getDate();\n const startTime = new Date(`${year}-${month + 1}-${day} 08:45:00`);\n const endTime = new Date(`${year}-${month + 1}-${day} 18:45:00`);\n if ((startTime.getTime() <= dateTime.getTime()) && (endTime.getTime() >= dateTime.getTime())) {\n quotation += 15;\n } else {\n quotation += 5;\n }\n } else {\n quotation += 5;\n }\n\n /* cotation de la source */\n /* Parrainage */\n if (source === 49) {\n quotation += 10;\n\n /* calendly, appel entrant */\n } else if (source === 2) {\n quotation += 8;\n\n /* adWords, Bing, Formulaire */\n } else if (source === 4) {\n quotation += 6;\n\n /* Chat, Whatsapp */\n } else if ([29, 92].includes(source)) {\n quotation += 2;\n }\n\n /* cotation de la qualité (nombre de champs remplis) */\n const fieldNumber = [firstname, lastname, phone, mail, annualTurnover, activitySector].filter((data) => !!data).length;\n switch (fieldNumber) {\n case 6:\n quotation += 10;\n break;\n case 5:\n quotation += 8;\n break;\n case 4:\n quotation += 6;\n break;\n case 3:\n quotation += 4;\n break;\n case 2:\n quotation += 2;\n break;\n default:\n break;\n }\n\n /* cotation de l'existence du lead (déjà existant ou non) */\n if (alreadyExist) quotation += 8;\n\n /* cotation du secteur d'activité */\n if ([Activity.INFORMATIQUE, Activity.CONSEIL].includes(activitySector)) {\n quotation += 10;\n } else if ([Activity.TRANSPORT, Activity.BTP, Activity.RESTAURATION, Activity.COMMERCANT, Activity.MEDICAL, Activity.PROF_LIB].includes(activitySector)) {\n quotation += 5;\n }\n\n return quotation;\n}\n\n/* besoin en entré de la société concerné avec les différents imports (society), ainsi que la liste des autres sociétés ou l'owner est owner (otherSocieties) */\nexport function getClientQuotation(society: ISociety, otherSocieties: ISociety[], lastNotice: BasePaginate<IRating>, unpaidDetails: [], reports: IReport[], societyProcedings: ISocietyProceding[], tabBankAccount: any, firstPaiement: IPayment[]): ReadClientQuotation {\n let quotationPositive = 0;\n let quotationNegative = 0;\n let quotation = 0;\n const detailQuotation = {\n signature: 0,\n seniority: 0,\n additionalBenefits: 0,\n additionalCompanies: 0,\n unpayed: 0,\n updatedAnnotations: 0,\n bankSynchronization: 0,\n rating: 0,\n labRefused: 0,\n ongoingProceedings: 0,\n report: 0,\n termination: 0,\n created: 0,\n };\n\n // calcul de l'ancienneté de la société\n const anciennete = firstPaiement?.length > 0 ? dayjs().diff(dayjs(firstPaiement[0].datePayment, 'YYYY-MM-DD'), 'years') : 0;\n const ponderation = (anciennete * 0.1) + 1;\n\n /* Type de comptabilité du client (Tresorerie (+10) / Engagement (+15)) */\n if (society.idComptaType) {\n if ([ComptaType.CASH_BASED, ComptaType.CASH_BASED_ASSISTANCE, ComptaType.CASH_BASED_SEIZURE].includes(society.idComptaType)) {\n quotationPositive += 10;\n detailQuotation.signature += 10;\n } else if ([ComptaType.ACCRUALS, ComptaType.ACCRUALS_ASSISTANCE, ComptaType.ACCRUALS_SEIZURE].includes(society.idComptaType)) {\n quotationPositive += 15;\n detailQuotation.signature += 15;\n }\n }\n\n /* Ancienneté (1 ans < firstPaiement < 2 ans (+10) / 2 ans < firstPaiement (+20 / année)) */\n if (firstPaiement?.length > 0) {\n const yearAsClient = Number(new Date().getFullYear()) - Number(new Date(firstPaiement[0].datePayment).getFullYear());\n if (yearAsClient === 1) {\n quotationPositive += 10;\n detailQuotation.seniority += 10;\n } else if (yearAsClient > 1) {\n quotationPositive += (20 * (yearAsClient - 1) + 10);\n detailQuotation.seniority += (20 * (yearAsClient - 1) + 10);\n }\n }\n\n /* Prestations Complémentaires (+5 / prestation) */\n if (society.prestationsSocieties?.length) {\n const prestationsCompl = society.prestationsSocieties.filter((prestation) => prestation.idPrestationComplementary);\n prestationsCompl.forEach(() => {\n quotationPositive += Math.ceil(5 * ponderation);\n detailQuotation.additionalBenefits += Math.ceil(5 * ponderation);\n });\n }\n\n /* Sociétés supplémentaires (+8 / société) */\n if (otherSocieties.length) {\n quotationPositive += Math.ceil(8 * otherSocieties.length * ponderation);\n detailQuotation.additionalCompanies += Math.ceil(8 * otherSocieties.length * ponderation);\n }\n\n /* Impayés (-15 / mois) */\n if (unpaidDetails.length) {\n quotationNegative -= Math.ceil(15 * unpaidDetails.length * ponderation);\n detailQuotation.unpayed -= Math.ceil(15 * unpaidDetails.length * ponderation);\n }\n\n /* annotations à jour */\n if (tabBankAccount.societyAccountingTransactions?.length) {\n // on check s'il y a 80% des lignes annotées (dateLocked)\n let countNotAnnoted = 0;\n let percentageAnnotations = 100;\n tabBankAccount.societyAccountingTransactions.map((na:any) => {\n if (na.dateLocked === null) {\n countNotAnnoted += 1;\n }\n return countNotAnnoted;\n });\n if (countNotAnnoted !== 0) percentageAnnotations = (countNotAnnoted / tabBankAccount.societyAccountingTransactions?.length) * 100;\n if (percentageAnnotations >= 80) {\n quotationPositive += Math.ceil(12 * ponderation);\n detailQuotation.updatedAnnotations += Math.ceil(12 * ponderation);\n } else {\n quotationNegative -= Math.ceil(12 * ponderation);\n detailQuotation.updatedAnnotations -= Math.ceil(12 * ponderation);\n }\n }\n\n /* synchronisation bancaire */\n if (tabBankAccount.societyActivatedBankAccounts?.length) {\n // comptes synchro\n const synchro = tabBankAccount.societyActivatedBankAccounts.length - tabBankAccount.desactivatedBankAccount.length;\n quotationPositive += Math.ceil(12 * synchro * ponderation);\n detailQuotation.bankSynchronization += Math.ceil(12 * synchro * ponderation);\n\n // comptes desynchro\n quotationNegative -= Math.ceil(12 * tabBankAccount.desactivatedBankAccount.length * ponderation);\n detailQuotation.bankSynchronization -= Math.ceil(12 * tabBankAccount.desactivatedBankAccount.length * ponderation);\n }\n\n /* avis */\n if (lastNotice && lastNotice.data.length === 1) {\n if (lastNotice.data[0].average === 5) {\n quotationPositive += Math.ceil(10 * ponderation);\n detailQuotation.rating += Math.ceil(10 * ponderation);\n } else {\n quotationNegative -= 10;\n detailQuotation.rating -= 10;\n }\n }\n\n /* LAB refusée */\n if (society?.societyDetail) {\n if (!society.societyDetail?.acceptation) {\n quotationNegative -= 10;\n detailQuotation.labRefused -= 10;\n }\n }\n\n /* Cessation de paiement - redressement judiciaire - procédure en cours / signalements / résiliation */\n if (societyProcedings?.length) {\n quotationNegative -= 5 * societyProcedings.length;\n detailQuotation.ongoingProceedings -= 5 * societyProcedings.length;\n }\n\n if (reports?.length) {\n quotationNegative -= 10;\n detailQuotation.report -= 10;\n }\n\n if (society.isWaitingEnd) {\n quotationNegative -= 50;\n detailQuotation.termination -= 50;\n }\n\n /* Création chez nous */\n if (society.prestationsSocieties?.length) {\n const prestationsCreation = society.prestationsSocieties.filter((prestation) => prestation.idPrestationList === 15); // creation pas d'enum\n prestationsCreation.forEach(() => {\n quotationPositive += 10;\n detailQuotation.created += 10;\n });\n }\n\n if (quotationPositive > 100) quotationPositive = 100;\n if (quotationNegative > 100) quotationNegative = 100;\n\n quotation = quotationPositive + quotationNegative;\n\n if (quotation < 0) quotation = 0;\n\n return {\n cotation: quotation,\n data: detailQuotation,\n idSociety: society.id as number,\n };\n}\n\nexport function compareTwoCotation(cotations: ICotation[]):boolean | null {\n // on recupere les 2 dernieres cotations de la societe\n const higher = false;\n if (cotations[0].cotation === cotations[1].cotation) {\n return null;\n } if (cotations[0].cotation > cotations[1].cotation) {\n return true;\n }\n return higher;\n}"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CalendarEvent.js","names":["_Resource","require","CalendarEvent","Resource","create","payload","axios","post","verify","verifyInvalidate","params","get","id","getAll","cancelToken","Object","assign","calculateRealtimeEvent","update","put","delete","exports"],"sources":["../../../ts/api/resources/CalendarEvent.ts"],"sourcesContent":["import { CancelToken } from 'axios';\nimport {\n CreateCalendarEventForUsers, GetAllCalendarEvent, GetLastInvalidateEvent, 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 verifyInvalidate(params: GetLastInvalidateEvent): Promise<Date> {\n return this.axios.get('/calendar-events/verify-invalidate', { params });\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, cancelToken?: CancelToken): Promise<ReadAllCalendarEvent> {\n return this.axios.get('/calendar-events/all', { ...(cancelToken ? { cancelToken } : {}), params });\n }\n\n calculateRealtimeEvent(params: GetAllCalendarEvent): Promise<number> {\n return this.axios.get('/calendar-events/calculate-realtime-event', { 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}"],"mappings":";;;;;;AAIA,IAAAA,SAAA,GAAAC,OAAA;AAEM,MAAOC,aAAc,SAAQC,kBAAQ;EACzCC,MAAMA,CAACC,OAAoC;IACzC,OAAO,IAAI,CAACC,KAAK,CAACC,IAAI,CAAC,kBAAkB,EAAEF,OAAO,CAAC;EACrD;EAEAG,MAAMA,CAACH,OAAoC;IACzC,OAAO,IAAI,CAACC,KAAK,CAACC,IAAI,CAAC,yBAAyB,EAAEF,OAAO,CAAC;EAC5D;EAEAI,gBAAgBA,CAACC,MAA8B;IAC7C,OAAO,IAAI,CAACJ,KAAK,CAACK,GAAG,CAAC,oCAAoC,EAAE;MAAED;IAAM,CAAE,CAAC;EACzE;EAEAC,GAAGA,CAACC,EAAU,EAAEF,MAA0B;IACxC,OAAO,IAAI,CAACJ,KAAK,CAACK,GAAG,CAAC,oBAAoBC,EAAE,EAAE,EAAE;MAAEF;IAAM,CAAE,CAAC;EAC7D;EAEAG,MAAMA,CAACH,MAA2B,EAAEI,WAAyB;IAC3D,OAAO,IAAI,CAACR,KAAK,CAACK,GAAG,CAAC,sBAAsB,EAAAI,MAAA,CAAAC,MAAA,CAAAD,MAAA,CAAAC,MAAA,KAAQF,WAAW,GAAG;MAAEA;IAAW,CAAE,GAAG,
|
|
1
|
+
{"version":3,"file":"CalendarEvent.js","names":["_Resource","require","CalendarEvent","Resource","create","payload","axios","post","verify","verifyInvalidate","params","get","id","getAll","cancelToken","Object","assign","calculateRealtimeEvent","update","put","delete","exports"],"sources":["../../../ts/api/resources/CalendarEvent.ts"],"sourcesContent":["import { CancelToken } from 'axios';\nimport {\n CreateCalendarEventForUsers, GetAllCalendarEvent, GetLastInvalidateEvent, 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 verifyInvalidate(params: GetLastInvalidateEvent): Promise<Date> {\n return this.axios.get('/calendar-events/verify-invalidate', { params });\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, cancelToken?: CancelToken): Promise<ReadAllCalendarEvent> {\n return this.axios.get('/calendar-events/all', { ...(cancelToken ? { cancelToken } : {}), params });\n }\n\n calculateRealtimeEvent(params: GetAllCalendarEvent): Promise<number> {\n return this.axios.get('/calendar-events/calculate-realtime-event', { 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}"],"mappings":";;;;;;AAIA,IAAAA,SAAA,GAAAC,OAAA;AAEM,MAAOC,aAAc,SAAQC,kBAAQ;EACzCC,MAAMA,CAACC,OAAoC;IACzC,OAAO,IAAI,CAACC,KAAK,CAACC,IAAI,CAAC,kBAAkB,EAAEF,OAAO,CAAC;EACrD;EAEAG,MAAMA,CAACH,OAAoC;IACzC,OAAO,IAAI,CAACC,KAAK,CAACC,IAAI,CAAC,yBAAyB,EAAEF,OAAO,CAAC;EAC5D;EAEAI,gBAAgBA,CAACC,MAA8B;IAC7C,OAAO,IAAI,CAACJ,KAAK,CAACK,GAAG,CAAC,oCAAoC,EAAE;MAAED;IAAM,CAAE,CAAC;EACzE;EAEAC,GAAGA,CAACC,EAAU,EAAEF,MAA0B;IACxC,OAAO,IAAI,CAACJ,KAAK,CAACK,GAAG,CAAC,oBAAoBC,EAAE,EAAE,EAAE;MAAEF;IAAM,CAAE,CAAC;EAC7D;EAEAG,MAAMA,CAACH,MAA2B,EAAEI,WAAyB;IAC3D,OAAO,IAAI,CAACR,KAAK,CAACK,GAAG,CAAC,sBAAsB,EAAAI,MAAA,CAAAC,MAAA,CAAAD,MAAA,CAAAC,MAAA,KAAQF,WAAW,GAAG;MAAEA;IAAW,CAAE,GAAG,EAAG;MAAEJ;IAAM,GAAG;EACpG;EAEAO,sBAAsBA,CAACP,MAA2B;IAChD,OAAO,IAAI,CAACJ,KAAK,CAACK,GAAG,CAAC,2CAA2C,EAAE;MAAED;IAAM,CAAE,CAAC;EAChF;EAEAQ,MAAMA,CAACN,EAAU,EAAEP,OAA4B;IAC7C,OAAO,IAAI,CAACC,KAAK,CAACa,GAAG,CAAC,oBAAoBP,EAAE,EAAE,EAAEP,OAAO,CAAC;EAC1D;EAEAe,MAAMA,CAACR,EAAU;IACf,OAAO,IAAI,CAACN,KAAK,CAACc,MAAM,CAAC,oBAAoBR,EAAE,EAAE,CAAC;EACpD;;AACDS,OAAA,CAhCYnB,aAAc,GAAdA,aAAc"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Commercial.js","names":["_Resource","require","Commercial","Resource","getStatsCa","params","cancelToken","axios","$get","Object","assign","getStats","fetchDialogDatasInfosOk","fetchDialogDatasDocsOk","movePrestationsToNextMonth","idUser","$put","checkDocsAndInfosOk","idSociety","listIdPrestationList","getPaginatedNewProspect","exports"],"sources":["../../../ts/api/resources/Commercial.ts"],"sourcesContent":["import { CancelToken } from 'axios';\nimport { Resource } from '../Resource';\nimport {\n QueryPaginatedSocietyWithStatsCa, BasePaginate, SocietyWithStatsCaParams, QueryGetStats, QueryFetchDialogDatasInfosOk, QueryFetchDialogDatasDocsOk, ReadInvalidFieldState, GedFileType, QueryPaginatedNewProspect,\n} from '../../types';\nimport { Society } from './Society';\n\nexport class Commercial extends Resource {\n getStatsCa(params: QueryPaginatedSocietyWithStatsCa, cancelToken?: CancelToken): Promise<BasePaginate<SocietyWithStatsCaParams>> {\n return this.axios.$get('/commercial/paginated-stats-ca', { ...(cancelToken ? { cancelToken } : {}), params });\n }\n getStats(params: QueryGetStats, cancelToken?: CancelToken): Promise<{ [key: string]: number }> {\n return this.axios.$get('/commercial/stats', { ...(cancelToken ? { cancelToken } : {}), params });\n }\n fetchDialogDatasInfosOk(params: QueryFetchDialogDatasInfosOk, cancelToken?: CancelToken): Promise<Society> {\n return this.axios.$get('/commercial/datas-infos-ok', { ...(cancelToken ? { cancelToken } : {}), params });\n }\n fetchDialogDatasDocsOk(params: QueryFetchDialogDatasDocsOk, cancelToken?: CancelToken): Promise<Society> {\n return this.axios.$get('/commercial/datas-docs-ok', { ...(cancelToken ? { cancelToken } : {}), params });\n }\n movePrestationsToNextMonth(idUser: number): Promise<number[]> {\n return this.axios.$put('/commercial/move-prestations-to-next-month', { idUser });\n }\n checkDocsAndInfosOk(idSociety: number, listIdPrestationList: number[]): Promise<Promise<{ missingDocs: ReadInvalidFieldState[], missingInfos: GedFileType[] }>> {\n return this.axios.$get(`/commercial/${idSociety}/checkDocsAndInfosOk`, { params: { listIdPrestationList } });\n }\n getPaginatedNewProspect(params: QueryPaginatedNewProspect): Promise<BasePaginate<Society>> {\n return this.axios.$get('/commercial/paginated-new-prospect', {\n params,\n });\n }\n}\n"],"mappings":";;;;;;AACA,IAAAA,SAAA,GAAAC,OAAA;AAMM,MAAOC,UAAW,SAAQC,kBAAQ;EACtCC,UAAUA,CAACC,MAAwC,EAAEC,WAAyB;IAC5E,OAAO,IAAI,CAACC,KAAK,CAACC,IAAI,CAAC,gCAAgC,EAAAC,MAAA,CAAAC,MAAA,CAAAD,MAAA,CAAAC,MAAA,KAAQJ,WAAW,GAAG;MAAEA;IAAW,CAAE,GAAG,
|
|
1
|
+
{"version":3,"file":"Commercial.js","names":["_Resource","require","Commercial","Resource","getStatsCa","params","cancelToken","axios","$get","Object","assign","getStats","fetchDialogDatasInfosOk","fetchDialogDatasDocsOk","movePrestationsToNextMonth","idUser","$put","checkDocsAndInfosOk","idSociety","listIdPrestationList","getPaginatedNewProspect","exports"],"sources":["../../../ts/api/resources/Commercial.ts"],"sourcesContent":["import { CancelToken } from 'axios';\nimport { Resource } from '../Resource';\nimport {\n QueryPaginatedSocietyWithStatsCa, BasePaginate, SocietyWithStatsCaParams, QueryGetStats, QueryFetchDialogDatasInfosOk, QueryFetchDialogDatasDocsOk, ReadInvalidFieldState, GedFileType, QueryPaginatedNewProspect,\n} from '../../types';\nimport { Society } from './Society';\n\nexport class Commercial extends Resource {\n getStatsCa(params: QueryPaginatedSocietyWithStatsCa, cancelToken?: CancelToken): Promise<BasePaginate<SocietyWithStatsCaParams>> {\n return this.axios.$get('/commercial/paginated-stats-ca', { ...(cancelToken ? { cancelToken } : {}), params });\n }\n getStats(params: QueryGetStats, cancelToken?: CancelToken): Promise<{ [key: string]: number }> {\n return this.axios.$get('/commercial/stats', { ...(cancelToken ? { cancelToken } : {}), params });\n }\n fetchDialogDatasInfosOk(params: QueryFetchDialogDatasInfosOk, cancelToken?: CancelToken): Promise<Society> {\n return this.axios.$get('/commercial/datas-infos-ok', { ...(cancelToken ? { cancelToken } : {}), params });\n }\n fetchDialogDatasDocsOk(params: QueryFetchDialogDatasDocsOk, cancelToken?: CancelToken): Promise<Society> {\n return this.axios.$get('/commercial/datas-docs-ok', { ...(cancelToken ? { cancelToken } : {}), params });\n }\n movePrestationsToNextMonth(idUser: number): Promise<number[]> {\n return this.axios.$put('/commercial/move-prestations-to-next-month', { idUser });\n }\n checkDocsAndInfosOk(idSociety: number, listIdPrestationList: number[]): Promise<Promise<{ missingDocs: ReadInvalidFieldState[], missingInfos: GedFileType[] }>> {\n return this.axios.$get(`/commercial/${idSociety}/checkDocsAndInfosOk`, { params: { listIdPrestationList } });\n }\n getPaginatedNewProspect(params: QueryPaginatedNewProspect): Promise<BasePaginate<Society>> {\n return this.axios.$get('/commercial/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IAAI,CAAC,eAAeU,SAAS,sBAAsB,EAAE;MAAEb,MAAM,EAAE;QAAEc;MAAoB;IAAE,CAAE,CAAC;EAC9G;EACAC,uBAAuBA,CAACf,MAAiC;IACvD,OAAO,IAAI,CAACE,KAAK,CAACC,IAAI,CAAC,oCAAoC,EAAE;MAC3DH;KACD,CAAC;EACJ;;AACDgB,OAAA,CAxBYnB,UAAW,GAAXA,UAAW"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CommercialDocument.js","names":["_Resource","require","_types","CommercialDocument","Resource","get","id","axios","$get","update","payload","patch","delete","$delete","getNextReference","params","getPaginated","cancelToken","Object","assign","createEstimate","$post","idEstimateInvoiceType","EstimateInvoiceType","DEVIS","createOrder","BON","updateEstimate","$put","updateOrder","preview","regenerate","getFormValues","getDefaultFormValues","getStatistics","idSociety","exports"],"sources":["../../../ts/api/resources/CommercialDocument.ts"],"sourcesContent":["import { CancelToken } from 'axios';\nimport { Resource } from '../Resource';\nimport {\n BasePaginate,\n CreateInvoiceDocument,\n CreatePreSaleDocument,\n CreateRegenerateDocument,\n EstimateInvoiceType,\n IEstimateInvoice,\n QueryCountByStatus,\n QueryDocumentPaginated,\n QueryNextReference,\n QueryPaginate,\n ReadCountDocumentByStatus,\n ReadEstimateInvoice,\n ReadPreview,\n UpdateCommercialDocument,\n} from '../../types';\n\nexport class CommercialDocument extends Resource {\n get(id: number): Promise<ReadEstimateInvoice> {\n return this.axios.$get(`/commercial-management/documents/${id}`);\n }\n\n update(id: number, payload: UpdateCommercialDocument): Promise<{ data: IEstimateInvoice }> {\n return this.axios.patch(`/commercial-management/documents/${id}`, payload);\n }\n\n delete(id: number): Promise<true> {\n return this.axios.$delete(`/commercial-management/documents/${id}`);\n }\n\n getNextReference(params: QueryNextReference): Promise<string> {\n return this.axios.$get('/commercial-management/documents/references', {\n params,\n });\n }\n\n getPaginated(\n params: QueryDocumentPaginated & QueryPaginate,\n cancelToken?: CancelToken,\n ): Promise<BasePaginate<ReadEstimateInvoice>> {\n return this.axios.$get('/commercial-management/documents', {\n ...(cancelToken ? { cancelToken } : {}),\n params,\n });\n }\n\n createEstimate(\n payload: Omit<CreatePreSaleDocument, 'idEstimateInvoiceType'>,\n ): Promise<IEstimateInvoice> {\n return this.axios.$post('/commercial-management/estimates', {\n ...payload,\n idEstimateInvoiceType: EstimateInvoiceType.DEVIS,\n });\n }\n\n createOrder(\n payload: Omit<CreatePreSaleDocument, 'idEstimateInvoiceType'>,\n ): Promise<IEstimateInvoice> {\n return this.axios.$post('/commercial-management/orders', {\n ...payload,\n idEstimateInvoiceType: EstimateInvoiceType.BON,\n });\n }\n\n updateEstimate(\n id: number,\n payload: CreatePreSaleDocument,\n ): Promise<IEstimateInvoice> {\n return this.axios.$put(`/commercial-management/estimates/${id}`, payload);\n }\n\n updateOrder(\n id: number,\n payload: CreatePreSaleDocument,\n ): Promise<IEstimateInvoice> {\n return this.axios.$put(`/commercial-management/orders/${id}`, payload);\n }\n\n preview(\n idEstimateInvoiceType: EstimateInvoiceType,\n payload: CreatePreSaleDocument | CreateInvoiceDocument,\n ): Promise<ReadPreview> {\n return this.axios.$post('/commercial-management/preview', {\n ...payload,\n idEstimateInvoiceType,\n });\n }\n\n regenerate(id: number, payload: CreateRegenerateDocument): Promise<IEstimateInvoice> {\n return this.axios.$post(`/commercial-management/documents/${id}/regenerate`, payload);\n }\n\n getFormValues(id: number): Promise<CreatePreSaleDocument> {\n return this.axios.$get(`/commercial-management/documents/${id}/inputs`);\n }\n\n getDefaultFormValues(\n idEstimateInvoiceType: EstimateInvoiceType,\n ): Promise<CreatePreSaleDocument> {\n return this.axios.$get('/commercial-management/documents/inputs', {\n params: { idEstimateInvoiceType },\n });\n }\n\n getStatistics(\n idSociety: number,\n params: QueryCountByStatus,\n ): Promise<ReadCountDocumentByStatus> {\n return this.axios.$get(\n `/commercial-management/societies/${idSociety}/statistics`,\n { params },\n );\n }\n}\n"],"mappings":";;;;;;AACA,IAAAA,SAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAD,OAAA;AAiBM,MAAOE,kBAAmB,SAAQC,kBAAQ;EAC9CC,GAAGA,CAACC,EAAU;IACZ,OAAO,IAAI,CAACC,KAAK,CAACC,IAAI,CAAC,oCAAoCF,EAAE,EAAE,CAAC;EAClE;EAEAG,MAAMA,CAACH,EAAU,EAAEI,OAAiC;IAClD,OAAO,IAAI,CAACH,KAAK,CAACI,KAAK,CAAC,oCAAoCL,EAAE,EAAE,EAAEI,OAAO,CAAC;EAC5E;EAEAE,MAAMA,CAACN,EAAU;IACf,OAAO,IAAI,CAACC,KAAK,CAACM,OAAO,CAAC,oCAAoCP,EAAE,EAAE,CAAC;EACrE;EAEAQ,gBAAgBA,CAACC,MAA0B;IACzC,OAAO,IAAI,CAACR,KAAK,CAACC,IAAI,CAAC,6CAA6C,EAAE;MACpEO;KACD,CAAC;EACJ;EAEAC,YAAYA,CACVD,MAA8C,EAC9CE,WAAyB;IAEzB,OAAO,IAAI,CAACV,KAAK,CAACC,IAAI,CAAC,kCAAkC,EAAAU,MAAA,CAAAC,MAAA,CAAAD,MAAA,CAAAC,MAAA,KACnDF,WAAW,GAAG;MAAEA;IAAW,CAAE,GAAG,
|
|
1
|
+
{"version":3,"file":"CommercialDocument.js","names":["_Resource","require","_types","CommercialDocument","Resource","get","id","axios","$get","update","payload","patch","delete","$delete","getNextReference","params","getPaginated","cancelToken","Object","assign","createEstimate","$post","idEstimateInvoiceType","EstimateInvoiceType","DEVIS","createOrder","BON","updateEstimate","$put","updateOrder","preview","regenerate","getFormValues","getDefaultFormValues","getStatistics","idSociety","exports"],"sources":["../../../ts/api/resources/CommercialDocument.ts"],"sourcesContent":["import { CancelToken } from 'axios';\nimport { Resource } from '../Resource';\nimport {\n BasePaginate,\n CreateInvoiceDocument,\n CreatePreSaleDocument,\n CreateRegenerateDocument,\n EstimateInvoiceType,\n IEstimateInvoice,\n QueryCountByStatus,\n QueryDocumentPaginated,\n QueryNextReference,\n QueryPaginate,\n ReadCountDocumentByStatus,\n ReadEstimateInvoice,\n ReadPreview,\n UpdateCommercialDocument,\n} from '../../types';\n\nexport class CommercialDocument extends Resource {\n get(id: number): Promise<ReadEstimateInvoice> {\n return this.axios.$get(`/commercial-management/documents/${id}`);\n }\n\n update(id: number, payload: UpdateCommercialDocument): Promise<{ data: IEstimateInvoice }> {\n return this.axios.patch(`/commercial-management/documents/${id}`, payload);\n }\n\n delete(id: number): Promise<true> {\n return this.axios.$delete(`/commercial-management/documents/${id}`);\n }\n\n getNextReference(params: QueryNextReference): Promise<string> {\n return this.axios.$get('/commercial-management/documents/references', {\n params,\n });\n }\n\n getPaginated(\n params: QueryDocumentPaginated & QueryPaginate,\n cancelToken?: CancelToken,\n ): Promise<BasePaginate<ReadEstimateInvoice>> {\n return this.axios.$get('/commercial-management/documents', {\n ...(cancelToken ? { cancelToken } : {}),\n params,\n });\n }\n\n createEstimate(\n payload: Omit<CreatePreSaleDocument, 'idEstimateInvoiceType'>,\n ): Promise<IEstimateInvoice> {\n return this.axios.$post('/commercial-management/estimates', {\n ...payload,\n idEstimateInvoiceType: EstimateInvoiceType.DEVIS,\n });\n }\n\n createOrder(\n payload: Omit<CreatePreSaleDocument, 'idEstimateInvoiceType'>,\n ): Promise<IEstimateInvoice> {\n return this.axios.$post('/commercial-management/orders', {\n ...payload,\n idEstimateInvoiceType: EstimateInvoiceType.BON,\n });\n }\n\n updateEstimate(\n id: number,\n payload: CreatePreSaleDocument,\n ): Promise<IEstimateInvoice> {\n return this.axios.$put(`/commercial-management/estimates/${id}`, payload);\n }\n\n updateOrder(\n id: number,\n payload: CreatePreSaleDocument,\n ): Promise<IEstimateInvoice> {\n return this.axios.$put(`/commercial-management/orders/${id}`, payload);\n }\n\n preview(\n idEstimateInvoiceType: EstimateInvoiceType,\n payload: CreatePreSaleDocument | CreateInvoiceDocument,\n ): Promise<ReadPreview> {\n return this.axios.$post('/commercial-management/preview', {\n ...payload,\n idEstimateInvoiceType,\n });\n }\n\n regenerate(id: number, payload: CreateRegenerateDocument): Promise<IEstimateInvoice> {\n return this.axios.$post(`/commercial-management/documents/${id}/regenerate`, payload);\n }\n\n getFormValues(id: number): Promise<CreatePreSaleDocument> {\n return this.axios.$get(`/commercial-management/documents/${id}/inputs`);\n }\n\n getDefaultFormValues(\n idEstimateInvoiceType: EstimateInvoiceType,\n ): Promise<CreatePreSaleDocument> {\n return this.axios.$get('/commercial-management/documents/inputs', {\n params: { idEstimateInvoiceType },\n });\n }\n\n getStatistics(\n idSociety: number,\n params: QueryCountByStatus,\n ): Promise<ReadCountDocumentByStatus> {\n return this.axios.$get(\n `/commercial-management/societies/${idSociety}/statistics`,\n { params },\n );\n }\n}\n"],"mappings":";;;;;;AACA,IAAAA,SAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAD,OAAA;AAiBM,MAAOE,kBAAmB,SAAQC,kBAAQ;EAC9CC,GAAGA,CAACC,EAAU;IACZ,OAAO,IAAI,CAACC,KAAK,CAACC,IAAI,CAAC,oCAAoCF,EAAE,EAAE,CAAC;EAClE;EAEAG,MAAMA,CAACH,EAAU,EAAEI,OAAiC;IAClD,OAAO,IAAI,CAACH,KAAK,CAACI,KAAK,CAAC,oCAAoCL,EAAE,EAAE,EAAEI,OAAO,CAAC;EAC5E;EAEAE,MAAMA,CAACN,EAAU;IACf,OAAO,IAAI,CAACC,KAAK,CAACM,OAAO,CAAC,oCAAoCP,EAAE,EAAE,CAAC;EACrE;EAEAQ,gBAAgBA,CAACC,MAA0B;IACzC,OAAO,IAAI,CAACR,KAAK,CAACC,IAAI,CAAC,6CAA6C,EAAE;MACpEO;KACD,CAAC;EACJ;EAEAC,YAAYA,CACVD,MAA8C,EAC9CE,WAAyB;IAEzB,OAAO,IAAI,CAACV,KAAK,CAACC,IAAI,CAAC,kCAAkC,EAAAU,MAAA,CAAAC,MAAA,CAAAD,MAAA,CAAAC,MAAA,KACnDF,WAAW,GAAG;MAAEA;IAAW,CAAE,GAAG,EAAG;MACvCF;IAA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AC,yCAAyC,EAAE;MAChEO,MAAM,EAAE;QAAEO;MAAqB;KAChC,CAAC;EACJ;EAEAY,aAAaA,CACXC,SAAiB,EACjBpB,MAA0B;IAE1B,OAAO,IAAI,CAACR,KAAK,CAACC,IAAI,CACpB,oCAAoC2B,SAAS,aAAa,EAC1D;MAAEpB;IAAM,CAAE,CACX;EACH;;AACDqB,OAAA,CAhGYjC,kBAAmB,GAAnBA,kBAAmB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Employee.js","names":["_lodash","require","_classValidator","_Resource","Employee","Resource","create","payload","formData","FormData","forEach","value","key","isDefined","includes","append","axios","$post","headers","getAll","idSociety","$get","get","id","update","$put","delete","$delete","getPaginate","params","cancelToken","Object","assign","isPaginate","updateOrCreateWorkingSchedule","idEmployee","deleteWorkingSchedule","idWorkingSchedule","exports"],"sources":["../../../ts/api/resources/Employee.ts"],"sourcesContent":["import { CancelToken } from 'axios';\nimport { forEach } from 'lodash';\nimport { isDefined } from 'class-validator';\nimport {\n BasePaginate,\n IEmployee,\n IWorkingSchedule,\n CreateEmployee,\n QueryEmployeeSearch,\n UpdateEmployee,\n UpdateOrCreateWorkingSchedule,\n} from '../../types';\nimport { Resource } from '../Resource';\n\nexport class Employee extends Resource {\n public create(payload: Partial<CreateEmployee>): Promise<IEmployee> {\n const formData = new FormData();\n forEach(payload, (value, key) => {\n if (isDefined(value) || key === 'writeDpae') {\n if (['dpaeFile', 'contractFile'].includes(key)) {\n formData.append(key, value as File);\n } else {\n formData.append(key, `${value}`);\n }\n }\n });\n return this.axios.$post('/employees', formData, {\n headers: { 'Content-Type': 'multipart/form-data' },\n });\n }\n\n public getAll(idSociety: number): Promise<IEmployee[]> {\n return this.axios.$get(`/societies/${idSociety}/employees`);\n }\n\n public get(id: number): Promise<IEmployee> {\n return this.axios.$get(`/employees/${id}`);\n }\n\n public update(\n id: number,\n payload: Partial<UpdateEmployee>,\n ): Promise<IEmployee> {\n const formData = new FormData();\n forEach(payload, (value, key) => {\n if (isDefined(value) || key === 'writeDpae') {\n if (['dpaeFile', 'contractFile'].includes(key)) {\n formData.append(key, value as File);\n } else {\n formData.append(key, `${value}`);\n }\n }\n });\n return this.axios.$put(`/employees/${id}`, formData, {\n headers: { 'Content-Type': 'multipart/form-data' },\n });\n }\n\n public delete(id: number): Promise<true> {\n return this.axios.$delete(`/employees/${id}`);\n }\n\n public getPaginate(\n idSociety: number,\n params?: QueryEmployeeSearch,\n cancelToken?: CancelToken,\n ): Promise<BasePaginate<Employee>> {\n return this.axios.$get(`/societies/${idSociety}/employees`, {\n ...(cancelToken ? { cancelToken } : {}),\n params: { ...params, isPaginate: true },\n });\n }\n\n public updateOrCreateWorkingSchedule(\n idEmployee: number,\n payload?: UpdateOrCreateWorkingSchedule,\n ): Promise<IWorkingSchedule> {\n return this.axios.$post(\n `employees/${idEmployee}/working-schedules`,\n payload,\n );\n }\n\n public deleteWorkingSchedule(\n idEmployee: number,\n idWorkingSchedule: number,\n ): Promise<true> {\n return this.axios.$delete(\n `employees/${idEmployee}/working-schedules/${idWorkingSchedule}`,\n );\n }\n}\n"],"mappings":";;;;;;AACA,IAAAA,OAAA,GAAAC,OAAA;AACA,IAAAC,eAAA,GAAAD,OAAA;AAUA,IAAAE,SAAA,GAAAF,OAAA;AAEM,MAAOG,QAAS,SAAQC,kBAAQ;EAC7BC,MAAMA,CAACC,OAAgC;IAC5C,MAAMC,QAAQ,GAAG,IAAIC,QAAQ,EAAE;IAC/B,IAAAC,eAAO,EAACH,OAAO,EAAE,CAACI,KAAK,EAAEC,GAAG,KAAI;MAC9B,IAAI,IAAAC,yBAAS,EAACF,KAAK,CAAC,IAAIC,GAAG,KAAK,WAAW,EAAE;QAC3C,IAAI,CAAC,UAAU,EAAE,cAAc,CAAC,CAACE,QAAQ,CAACF,GAAG,CAAC,EAAE;UAC9CJ,QAAQ,CAACO,MAAM,CAACH,GAAG,EAAED,KAAa,CAAC;SACpC,MAAM;UACLH,QAAQ,CAACO,MA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AAI,CAACd,KAAK,CAACK,IAAI,CAAC,cAAcD,SAAS,YAAY,EAAAW,MAAA,CAAAC,MAAA,CAAAD,MAAA,CAAAC,MAAA,KACpDF,WAAW,GAAG;MAAEA;IAAW,CAAE,GAAG,
|
|
1
|
+
{"version":3,"file":"Employee.js","names":["_lodash","require","_classValidator","_Resource","Employee","Resource","create","payload","formData","FormData","forEach","value","key","isDefined","includes","append","axios","$post","headers","getAll","idSociety","$get","get","id","update","$put","delete","$delete","getPaginate","params","cancelToken","Object","assign","isPaginate","updateOrCreateWorkingSchedule","idEmployee","deleteWorkingSchedule","idWorkingSchedule","exports"],"sources":["../../../ts/api/resources/Employee.ts"],"sourcesContent":["import { CancelToken } from 'axios';\nimport { forEach } from 'lodash';\nimport { isDefined } from 'class-validator';\nimport {\n BasePaginate,\n IEmployee,\n IWorkingSchedule,\n CreateEmployee,\n QueryEmployeeSearch,\n UpdateEmployee,\n UpdateOrCreateWorkingSchedule,\n} from '../../types';\nimport { Resource } from '../Resource';\n\nexport class Employee extends Resource {\n public create(payload: Partial<CreateEmployee>): Promise<IEmployee> {\n const formData = new FormData();\n forEach(payload, (value, key) => {\n if (isDefined(value) || key === 'writeDpae') {\n if (['dpaeFile', 'contractFile'].includes(key)) {\n formData.append(key, value as File);\n } else {\n formData.append(key, `${value}`);\n }\n }\n });\n return this.axios.$post('/employees', formData, {\n headers: { 'Content-Type': 'multipart/form-data' },\n });\n }\n\n public getAll(idSociety: number): Promise<IEmployee[]> {\n return this.axios.$get(`/societies/${idSociety}/employees`);\n }\n\n public get(id: number): Promise<IEmployee> {\n return this.axios.$get(`/employees/${id}`);\n }\n\n public update(\n id: number,\n payload: Partial<UpdateEmployee>,\n ): Promise<IEmployee> {\n const formData = new FormData();\n forEach(payload, (value, key) => {\n if (isDefined(value) || key === 'writeDpae') {\n if (['dpaeFile', 'contractFile'].includes(key)) {\n formData.append(key, value as File);\n } else {\n formData.append(key, `${value}`);\n }\n }\n });\n return this.axios.$put(`/employees/${id}`, formData, {\n headers: { 'Content-Type': 'multipart/form-data' },\n });\n }\n\n public delete(id: number): Promise<true> {\n return this.axios.$delete(`/employees/${id}`);\n }\n\n public getPaginate(\n idSociety: number,\n params?: QueryEmployeeSearch,\n cancelToken?: CancelToken,\n ): Promise<BasePaginate<Employee>> {\n return this.axios.$get(`/societies/${idSociety}/employees`, {\n ...(cancelToken ? { cancelToken } : {}),\n params: { ...params, isPaginate: true },\n });\n }\n\n public updateOrCreateWorkingSchedule(\n idEmployee: number,\n payload?: UpdateOrCreateWorkingSchedule,\n ): Promise<IWorkingSchedule> {\n return this.axios.$post(\n `employees/${idEmployee}/working-schedules`,\n payload,\n );\n }\n\n public deleteWorkingSchedule(\n idEmployee: number,\n idWorkingSchedule: number,\n ): Promise<true> {\n return this.axios.$delete(\n `employees/${idEmployee}/working-schedules/${idWorkingSchedule}`,\n );\n }\n}\n"],"mappings":";;;;;;AACA,IAAAA,OAAA,GAAAC,OAAA;AACA,IAAAC,eAAA,GAAAD,OAAA;AAUA,IAAAE,SAAA,GAAAF,OAAA;AAEM,MAAOG,QAAS,SAAQC,kBAAQ;EAC7BC,MAAMA,CAACC,OAAgC;IAC5C,MAAMC,QAAQ,GAAG,IAAIC,QAAQ,EAAE;IAC/B,IAAAC,eAAO,EAACH,OAAO,EAAE,CAACI,KAAK,EAAEC,GAAG,KAAI;MAC9B,IAAI,IAAAC,yBAAS,EAACF,KAAK,CAAC,IAAIC,GAAG,KAAK,WAAW,EAAE;QAC3C,IAAI,CAAC,UAAU,EAAE,cAAc,CAAC,CAACE,QAAQ,CAACF,GAAG,CAAC,EAAE;UAC9CJ,QAAQ,CAACO,MAAM,CAACH,GAAG,EAAED,KAAa,CAAC;SACpC,MAAM;UACLH,QAAQ,CAACO,MAAM,CAACH,GAAG,EAAE,GAAGD,KAAK,EAAE,CAAC;;;IAGtC,CAAC,CAAC;IACF,OAAO,IAAI,CAACK,KAAK,CAACC,KAAK,CAAC,YAAY,EAAET,QAAQ,EAAE;MA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E,GAAG,EAAG;MACvCD,MAAM,EAAAE,MAAA,CAAAC,MAAA,CAAAD,MAAA,CAAAC,MAAA,KAAOH,MAAM;QAAEI,UAAU,EAAE;MAAI;IAAA,GACrC;EACJ;EAEOC,6BAA6BA,CAClCC,UAAkB,EAClB5B,OAAuC;IAEvC,OAAO,IAAI,CAACS,KAAK,CAACC,KAAK,CACrB,aAAakB,UAAU,oBAAoB,EAC3C5B,OAAO,CACR;EACH;EAEO6B,qBAAqBA,CAC1BD,UAAkB,EAClBE,iBAAyB;IAEzB,OAAO,IAAI,CAACrB,KAAK,CAACW,OAAO,CACvB,aAAaQ,UAAU,sBAAsBE,iBAAiB,EAAE,CACjE;EACH;;AACDC,OAAA,CA7EYlC,QAAS,GAATA,QAAS"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Facturation.js","names":["_Resource","require","Facturation","Resource","getPaginated","params","cancelToken","axios","$get","Object","assign","getBillingHistoryPaginated","createRebilling","payload","$post","exports"],"sources":["../../../ts/api/resources/Facturation.ts"],"sourcesContent":["import { CancelToken } from 'axios';\nimport { Resource } from '../Resource';\nimport {\n BasePaginate, CreateRebilling, IBillingHistory, QueryPaginatedBillingHistory, QueryPaginatedSocietyWithFacturation,\n} from '../../types';\nimport { Society } from './Society';\n\nexport class Facturation extends Resource {\n getPaginated(params: QueryPaginatedSocietyWithFacturation, cancelToken?: CancelToken): Promise<BasePaginate<Society>> {\n return this.axios.$get('/facturation/paginated', { ...(cancelToken ? { cancelToken } : {}), params });\n }\n getBillingHistoryPaginated(params: QueryPaginatedBillingHistory, cancelToken?: CancelToken): Promise<BasePaginate<Society>> {\n return this.axios.$get('/billing-history/paginated', { ...(cancelToken ? { cancelToken } : {}), params });\n }\n createRebilling(payload: CreateRebilling): Promise<IBillingHistory> {\n return this.axios.$post('/facturation/rebilling', payload);\n }\n}\n"],"mappings":";;;;;;AACA,IAAAA,SAAA,GAAAC,OAAA;AAMM,MAAOC,WAAY,SAAQC,kBAAQ;EACvCC,YAAYA,CAACC,MAA4C,EAAEC,WAAyB;IAClF,OAAO,IAAI,CAACC,KAAK,CAACC,IAAI,CAAC,wBAAwB,EAAAC,MAAA,CAAAC,MAAA,CAAAD,MAAA,CAAAC,MAAA,KAAQJ,WAAW,GAAG;MAAEA;IAAW,CAAE,GAAG,
|
|
1
|
+
{"version":3,"file":"Facturation.js","names":["_Resource","require","Facturation","Resource","getPaginated","params","cancelToken","axios","$get","Object","assign","getBillingHistoryPaginated","createRebilling","payload","$post","exports"],"sources":["../../../ts/api/resources/Facturation.ts"],"sourcesContent":["import { CancelToken } from 'axios';\nimport { Resource } from '../Resource';\nimport {\n BasePaginate, CreateRebilling, IBillingHistory, QueryPaginatedBillingHistory, QueryPaginatedSocietyWithFacturation,\n} from '../../types';\nimport { Society } from './Society';\n\nexport class Facturation extends Resource {\n getPaginated(params: QueryPaginatedSocietyWithFacturation, cancelToken?: CancelToken): Promise<BasePaginate<Society>> {\n return this.axios.$get('/facturation/paginated', { ...(cancelToken ? { cancelToken } : {}), params });\n }\n getBillingHistoryPaginated(params: QueryPaginatedBillingHistory, cancelToken?: CancelToken): Promise<BasePaginate<Society>> {\n return this.axios.$get('/billing-history/paginated', { ...(cancelToken ? { cancelToken } : {}), params });\n }\n createRebilling(payload: CreateRebilling): Promise<IBillingHistory> {\n return this.axios.$post('/facturation/rebilling', payload);\n }\n}\n"],"mappings":";;;;;;AACA,IAAAA,SAAA,GAAAC,OAAA;AAMM,MAAOC,WAAY,SAAQC,kBAAQ;EACvCC,YAAYA,CAACC,MAA4C,EAAEC,WAAyB;IAClF,OAAO,IAAI,CAACC,KAAK,CAACC,IAAI,CAAC,wBAAwB,EAAAC,MAAA,CAAAC,MAAA,CAAAD,MAAA,CAAAC,MAAA,KAAQJ,WAAW,GAAG;MAAEA;IAAW,CAAE,GAAG,EAAG;MAAED;IAAM,GAAG;EACvG;EACAM,0BAA0BA,CAACN,MAAoC,EAAEC,WAAyB;IACxF,OAAO,IAAI,CAACC,KAAK,CAACC,IAAI,CAAC,4BAA4B,EAAAC,MAAA,CAAAC,MAAA,CAAAD,MAAA,CAAAC,MAAA,KAAQJ,WAAW,GAAG;MAAEA;IAAW,CAAE,GAAG,EAAG;MAAED;IAAM,GAAG;EAC3G;EACAO,eAAeA,CAACC,OAAwB;IACtC,OAAO,IAAI,CAACN,KAAK,CAACO,KAAK,CAAC,wBAAwB,EAAED,OAAO,CAAC;EAC5D;;AACDE,OAAA,CAVYb,WAAY,GAAZA,WAAY"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Invoice.js","names":["_Resource","require","Invoice","Resource","getCashBasedPaginated","params","cancelToken","axios","$get","Object","assign","getAccrualPaginated","getAccrualById","id","getCashBasedById","create","payload","$post","update","$put","delete","$delete","getAllMails","idFile","sendMail","sendMailWithMultipleFiles","getFormValues","getDefaultFormValues","idEstimateInvoiceType","exports"],"sources":["../../../ts/api/resources/Invoice.ts"],"sourcesContent":["import { CancelToken } from 'axios';\nimport { Resource } from '../Resource';\nimport {\n BasePaginate,\n CreateCommercialMail,\n CreateCommercialMailWithMultipleFiles,\n CreateInvoiceDocument,\n EstimateInvoiceType,\n ICommercialMail,\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 getAccrualById(id: number): Promise<ReadAccrualInvoice> {\n return this.axios.$get(`/commercial-management/invoices/${id}`);\n }\n\n getCashBasedById(id: number): Promise<ReadCashBasedInvoice> {\n return this.axios.$get(`/commercial-management/invoices/${id}`);\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\n getAllMails(idFile: number): Promise<ICommercialMail[]> {\n return this.axios.$get(`/commercial-management/files/${idFile}/mails`);\n }\n\n sendMail(idFile: number, payload: CreateCommercialMail): Promise<ICommercialMail> {\n return this.axios.$post(`/commercial-management/files/${idFile}/mails`, payload);\n }\n\n sendMailWithMultipleFiles(payload: CreateCommercialMailWithMultipleFiles): Promise<ICommercialMail[]> {\n return this.axios.$post('/commercial-management/files/mails', payload);\n }\n\n getFormValues(id: number): Promise<CreateInvoiceDocument> {\n return this.axios.$get(`/commercial-management/documents/${id}/inputs`);\n }\n\n getDefaultFormValues(idEstimateInvoiceType: EstimateInvoiceType): Promise<CreateInvoiceDocument> {\n return this.axios.$get('/commercial-management/documents/inputs', { params: { idEstimateInvoiceType } });\n }\n}"],"mappings":";;;;;;AACA,IAAAA,SAAA,GAAAC,OAAA;AAeM,MAAOC,OAAQ,SAAQC,kBAAQ;EACnCC,qBAAqBA,CAACC,MAAoC,EAAEC,WAAyB;IACnF,OAAO,IAAI,CAACC,KAAK,CAACC,IAAI,CAAC,iCAAiC,EAAAC,MAAA,CAAAC,MAAA,CAAAD,MAAA,CAAAC,MAAA,KAClDJ,WAAW,GAAG;MAAEA;IAAW,CAAE,GAAG,
|
|
1
|
+
{"version":3,"file":"Invoice.js","names":["_Resource","require","Invoice","Resource","getCashBasedPaginated","params","cancelToken","axios","$get","Object","assign","getAccrualPaginated","getAccrualById","id","getCashBasedById","create","payload","$post","update","$put","delete","$delete","getAllMails","idFile","sendMail","sendMailWithMultipleFiles","getFormValues","getDefaultFormValues","idEstimateInvoiceType","exports"],"sources":["../../../ts/api/resources/Invoice.ts"],"sourcesContent":["import { CancelToken } from 'axios';\nimport { Resource } from '../Resource';\nimport {\n BasePaginate,\n CreateCommercialMail,\n CreateCommercialMailWithMultipleFiles,\n CreateInvoiceDocument,\n EstimateInvoiceType,\n ICommercialMail,\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 getAccrualById(id: number): Promise<ReadAccrualInvoice> {\n return this.axios.$get(`/commercial-management/invoices/${id}`);\n }\n\n getCashBasedById(id: number): Promise<ReadCashBasedInvoice> {\n return this.axios.$get(`/commercial-management/invoices/${id}`);\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\n getAllMails(idFile: number): Promise<ICommercialMail[]> {\n return this.axios.$get(`/commercial-management/files/${idFile}/mails`);\n }\n\n sendMail(idFile: number, payload: CreateCommercialMail): Promise<ICommercialMail> {\n return this.axios.$post(`/commercial-management/files/${idFile}/mails`, payload);\n }\n\n sendMailWithMultipleFiles(payload: CreateCommercialMailWithMultipleFiles): Promise<ICommercialMail[]> {\n return this.axios.$post('/commercial-management/files/mails', payload);\n }\n\n getFormValues(id: number): Promise<CreateInvoiceDocument> {\n return this.axios.$get(`/commercial-management/documents/${id}/inputs`);\n }\n\n getDefaultFormValues(idEstimateInvoiceType: EstimateInvoiceType): Promise<CreateInvoiceDocument> {\n return this.axios.$get('/commercial-management/documents/inputs', { params: { idEstimateInvoiceType } });\n }\n}"],"mappings":";;;;;;AACA,IAAAA,SAAA,GAAAC,OAAA;AAeM,MAAOC,OAAQ,SAAQC,kBAAQ;EACnCC,qBAAqBA,CAACC,MAAoC,EAAEC,WAAyB;IACnF,OAAO,IAAI,CAACC,KAAK,CAACC,IAAI,CAAC,iCAAiC,EAAAC,MAAA,CAAAC,MAAA,CAAAD,MAAA,CAAAC,MAAA,KAClDJ,WAAW,GAAG;MAAEA;IAAW,CAAE,GAAG,EAAG;MACvCD;IAAM,GACN;EACJ;EAEAM,mBAAmBA,CAACN,MAAoC,EAAEC,WAAyB;IACjF,OAAO,IAAI,CAACC,KAAK,CAACC,IAAI,CAAC,iCAAiC,EAAAC,MAAA,CAAAC,MAAA,CAAAD,MAAA,CAAAC,MAAA,KAClDJ,WAAW,GAAG;MAAEA;IAAW,CAAE,GAAG,EAAG;MACvCD;IAAM,GACN;EACJ;EAEAO,cAAcA,CAACC,EAAU;IACvB,OAAO,IAAI,CAACN,KAAK,CAACC,IAAI,CAAC,mCAAmCK,EAAE,EAAE,CAAC;EACjE;EAEAC,gBAAgBA,CAACD,EAAU;IACzB,OAAO,IAAI,CAACN,KAAK,CAACC,IAAI,CAAC,mCAAmCK,EAAE,EAAE,CAAC;EACjE;EAEAE,MAAMA,CAACC,OAA8B;IACnC,OAAO,IAAI,CAACT,KAAK,CAACU,KAAK,CAAC,iCAAiC,EAAED,OAAO,CAAC;EACrE;EAEAE,MAAMA,CAACL,EAAU,EAAEG,OAA8B;IAC/C,OAAO,IAAI,CAACT,KAAK,CAACY,IAAI,CAAC,mCAAmCN,EAAE,EAAE,EAAEG,OAAO,CAAC;EAC1E;EAEAI,MAAMA,CAACP,EAAU;IACf,OAAO,IAAI,CAACN,KAAK,CAACc,OAAO,CAAC,oCAAoCR,EAAE,EAAE,CAAC;EACrE;EAEAS,WAAWA,CAACC,MAAc;IACxB,OAAO,IAAI,CAAChB,KAAK,CAACC,IAAI,CAAC,gCAAgCe,MAAM,QAAQ,CAAC;EACxE;EAEAC,QAAQA,CAACD,MAAc,EAAEP,OAA6B;IACpD,OAAO,IAAI,CAACT,KAAK,CAACU,KAAK,CAAC,gCAAgCM,MAAM,QAAQ,EAAEP,OAAO,CAAC;EAClF;EAEAS,yBAAyBA,CAACT,OAA8C;IACtE,OAAO,IAAI,CAACT,KAAK,CAACU,KAAK,CAAC,oCAAoC,EAAED,OAAO,CAAC;EACxE;EAEAU,aAAaA,CAACb,EAAU;IACtB,OAAO,IAAI,CAACN,KAAK,CAACC,IAAI,CAAC,oCAAoCK,EAAE,SAAS,CAAC;EACzE;EAEAc,oBAAoBA,CAACC,qBAA0C;IAC7D,OAAO,IAAI,CAACrB,KAAK,CAACC,IAAI,CAAC,yCAAyC,EAAE;MAAEH,MAAM,EAAE;QAAEuB;MAAqB;IAAE,CAAE,CAAC;EAC1G;;AACDC,OAAA,CAtDY3B,OAAQ,GAARA,OAAQ"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Library.js","names":["_Resource","require","Library","Resource","create","formData","axios","$post","headers","get","params","$get","getAll","getAllForLibrary","countAll","updateOrCreate","idFile","update","$put","download","idSociety","isPdfFile","Object","assign","responseType","Accept","delete","$delete","exports"],"sources":["../../../ts/api/resources/Library.ts"],"sourcesContent":["import { Resource } from '../Resource';\nimport {\n QueryLibraryFile, UpdateOrCreateGedFile, IGedFile, QueryDownloadFile, UpdateGedFile,\n} from '../../types';\n\nexport class Library extends Resource {\n create(formData: FormData): Promise<IGedFile> {\n return this.axios.$post('/library/file', formData, { headers: { 'Content-Type': 'multipart/form-data' } });\n }\n\n get(params: QueryLibraryFile): Promise<IGedFile | null> {\n return this.axios.$get('/library/file', { params });\n }\n\n getAll(params: QueryLibraryFile): Promise<IGedFile[]> {\n return this.axios.$get('/library/files', { params });\n }\n\n getAllForLibrary(params: QueryLibraryFile): Promise<IGedFile[]> {\n return this.axios.$get('/library/files-for-library', { params });\n }\n\n countAll(params: QueryLibraryFile): Promise<Array<object>> {\n return this.axios.$get('/library/count-for-library', { params });\n }\n\n updateOrCreate(idFile: number, params: UpdateOrCreateGedFile): Promise<IGedFile> {\n return this.axios.$post(`/library/file/${idFile}`, params);\n }\n\n update(idFile: number, params: UpdateGedFile): Promise<IGedFile> {\n return this.axios.$put(`/library/file/${idFile}`, params);\n }\n\n download(idSociety: number, params: QueryDownloadFile, isPdfFile = false): Promise<Buffer> {\n return this.axios.$get(`/library/${idSociety}/file/download`,\n {\n params,\n ...(isPdfFile ? {\n responseType: 'arraybuffer',\n headers: {\n Accept: 'application/pdf',\n },\n } : {}),\n });\n }\n\n delete(idFile: number): Promise<number> {\n return this.axios.$delete(`/library/file/${idFile}`);\n }\n}"],"mappings":";;;;;;AAAA,IAAAA,SAAA,GAAAC,OAAA;AAKM,MAAOC,OAAQ,SAAQC,kBAAQ;EACnCC,MAAMA,CAACC,QAAkB;IACvB,OAAO,IAAI,CAACC,KAAK,CAACC,KAAK,CAAC,eAAe,EAAEF,QAAQ,EAAE;MAAEG,OAAO,EAAE;QAAE,cAAc,EAAE;MAAqB;IAAE,CAAE,CAAC;EAC5G;EAEAC,GAAGA,CAACC,MAAwB;IAC1B,OAAO,IAAI,CAACJ,KAAK,CAACK,IAAI,CAAC,eAAe,EAAE;MAAED;IAAM,CAAE,CAAC;EACrD;EAEAE,MAAMA,CAACF,MAAwB;IAC7B,OAAO,IAAI,CAACJ,KAAK,CAACK,IAAI,CAAC,gBAAgB,EAAE;MAAED;IAAM,CAAE,CAAC;EACtD;EAEAG,gBAAgBA,CAACH,MAAwB;IACvC,OAAO,IAAI,CAACJ,KAAK,CAACK,IAAI,CAAC,4BAA4B,EAAE;MAAED;IAAM,CAAE,CAAC;EAClE;EAEAI,QAAQA,CAACJ,MAAwB;IAC/B,OAAO,IAAI,CAACJ,KAAK,CAACK,IAAI,CAAC,4BAA4B,EAAE;MAAED;IAAM,CAAE,CAAC;EAClE;EAEAK,cAAcA,CAACC,MAAc,EAAEN,MAA6B;IAC1D,OAAO,IAAI,CAACJ,KAAK,CAACC,KAAK,CAAC,iBAAiBS,MAAM,EAAE,EAAEN,MAAM,CAAC;EAC5D;EAEAO,MAAMA,CAACD,MAAc,EAAEN,MAAqB;IAC1C,OAAO,IAAI,CAACJ,KAAK,CAACY,IAAI,CAAC,iBAAiBF,MAAM,EAAE,EAAEN,MAAM,CAAC;EAC3D;EAEAS,QAAQA,CAACC,SAAiB,EAAEV,MAAyB,EAAEW,SAAS,GAAG,KAAK;IACtE,OAAO,IAAI,CAACf,KAAK,CAACK,IAAI,CAAC,YAAYS,SAAS,gBAAgB,EAAAE,MAAA,CAAAC,MAAA;MAExDb;IAAM,GACFW,SAAS,GAAG;MACdG,YAAY,EAAE,aAAa;MAC3BhB,OAAO,EAAE;QACPiB,MAAM,EAAE;;KAEX,GAAG,
|
|
1
|
+
{"version":3,"file":"Library.js","names":["_Resource","require","Library","Resource","create","formData","axios","$post","headers","get","params","$get","getAll","getAllForLibrary","countAll","updateOrCreate","idFile","update","$put","download","idSociety","isPdfFile","Object","assign","responseType","Accept","delete","$delete","exports"],"sources":["../../../ts/api/resources/Library.ts"],"sourcesContent":["import { Resource } from '../Resource';\nimport {\n QueryLibraryFile, UpdateOrCreateGedFile, IGedFile, QueryDownloadFile, UpdateGedFile,\n} from '../../types';\n\nexport class Library extends Resource {\n create(formData: FormData): Promise<IGedFile> {\n return this.axios.$post('/library/file', formData, { headers: { 'Content-Type': 'multipart/form-data' } });\n }\n\n get(params: QueryLibraryFile): Promise<IGedFile | null> {\n return this.axios.$get('/library/file', { params });\n }\n\n getAll(params: QueryLibraryFile): Promise<IGedFile[]> {\n return this.axios.$get('/library/files', { params });\n }\n\n getAllForLibrary(params: QueryLibraryFile): Promise<IGedFile[]> {\n return this.axios.$get('/library/files-for-library', { params });\n }\n\n countAll(params: QueryLibraryFile): Promise<Array<object>> {\n return this.axios.$get('/library/count-for-library', { params });\n }\n\n updateOrCreate(idFile: number, params: UpdateOrCreateGedFile): Promise<IGedFile> {\n return this.axios.$post(`/library/file/${idFile}`, params);\n }\n\n update(idFile: number, params: UpdateGedFile): Promise<IGedFile> {\n return this.axios.$put(`/library/file/${idFile}`, params);\n }\n\n download(idSociety: number, params: QueryDownloadFile, isPdfFile = false): Promise<Buffer> {\n return this.axios.$get(`/library/${idSociety}/file/download`,\n {\n params,\n ...(isPdfFile ? {\n responseType: 'arraybuffer',\n headers: {\n Accept: 'application/pdf',\n },\n } : {}),\n });\n }\n\n delete(idFile: number): Promise<number> {\n return this.axios.$delete(`/library/file/${idFile}`);\n }\n}"],"mappings":";;;;;;AAAA,IAAAA,SAAA,GAAAC,OAAA;AAKM,MAAOC,OAAQ,SAAQC,kBAAQ;EACnCC,MAAMA,CAACC,QAAkB;IACvB,OAAO,IAAI,CAACC,KAAK,CAACC,KAAK,CAAC,eAAe,EAAEF,QAAQ,EAAE;MAAEG,OAAO,EAAE;QAAE,cAAc,EAAE;MAAqB;IAAE,CAAE,CAAC;EAC5G;EAEAC,GAAGA,CAACC,MAAwB;IAC1B,OAAO,IAAI,CAACJ,KAAK,CAACK,IAAI,CAAC,eAAe,EAAE;MAAED;IAAM,CAAE,CAAC;EACrD;EAEAE,MAAMA,CAACF,MAAwB;IAC7B,OAAO,IAAI,CAACJ,KAAK,CAACK,IAAI,CAAC,gBAAgB,EAAE;MAAED;IAAM,CAAE,CAAC;EACtD;EAEAG,gBAAgBA,CAACH,MAAwB;IACvC,OAAO,IAAI,CAACJ,KAAK,CAACK,IAAI,CAAC,4BAA4B,EAAE;MAAED;IAAM,CAAE,CAAC;EAClE;EAEAI,QAAQA,CAACJ,MAAwB;IAC/B,OAAO,IAAI,CAACJ,KAAK,CAACK,IAAI,CAAC,4BAA4B,EAAE;MAAED;IAAM,CAAE,CAAC;EAClE;EAEAK,cAAcA,CAACC,MAAc,EAAEN,MAA6B;IAC1D,OAAO,IAAI,CAACJ,KAAK,CAACC,KAAK,CAAC,iBAAiBS,MAAM,EAAE,EAAEN,MAAM,CAAC;EAC5D;EAEAO,MAAMA,CAACD,MAAc,EAAEN,MAAqB;IAC1C,OAAO,IAAI,CAACJ,KAAK,CAACY,IAAI,CAAC,iBAAiBF,MAAM,EAAE,EAAEN,MAAM,CAAC;EAC3D;EAEAS,QAAQA,CAACC,SAAiB,EAAEV,MAAyB,EAAEW,SAAS,GAAG,KAAK;IACtE,OAAO,IAAI,CAACf,KAAK,CAACK,IAAI,CAAC,YAAYS,SAAS,gBAAgB,EAAAE,MAAA,CAAAC,MAAA;MAExDb;IAAM,GACFW,SAAS,GAAG;MACdG,YAAY,EAAE,aAAa;MAC3BhB,OAAO,EAAE;QACPiB,MAAM,EAAE;;KAEX,GAAG,EAAG,EACP;EACN;EAEAC,MAAMA,CAACV,MAAc;IACnB,OAAO,IAAI,CAACV,KAAK,CAACqB,OAAO,CAAC,iBAAiBX,MAAM,EAAE,CAAC;EACtD;;AACDY,OAAA,CA7CY1B,OAAQ,GAARA,OAAQ"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Mail.js","names":["_Resource","require","Mail","Resource","create","payload","axios","$post","get","params","$get","getAll","getPaginatedInboxForUser","idUser","cancelToken","Object","assign","isProcessed","isSent","getPaginatedToBeClassifiedForUser","isWithoutSociety","getPaginatedProcessedForUser","idUserWhoFlagged","getPaginatedSentForUser","idUserWhoAnswered","isDraft","getPaginatedImportantForUser","isImportant","getPaginatedForManagerRole","handlingManagerRoleMails","getPaginatedDraftForUser","getPaginatedTrashedForUser","isDeleted","withDeleted","getPaginatedBySociety","idSociety","countProcessedByUser","sumOfSlidingDays","getAnsweringTimeByUser","countInboxByUser","countInboxBySociety","isRead","countToBeClassifiedByUser","countUnprocessedByManager","countMailAuto","idMailAuto","update","id","patch","delete","idMail","$delete","migrateMailAddresses","limit","migrateUsersMailAddresses","getUserSignature","exports"],"sources":["../../../ts/api/resources/Mail.ts"],"sourcesContent":["import { CancelToken } from 'axios';\nimport { Resource } from '../Resource';\nimport {\n UpdateMailPayload,\n QueryMail,\n QueryPaginatedMail,\n IMail,\n CreateMailParams,\n QueryAllMail,\n QueryGetSignature,\n GetMailPromise,\n QueryUpdateMail,\n} from '../../types';\n\nexport class Mail extends Resource {\n create(payload: CreateMailParams): Promise<IMail> {\n return this.axios.$post('/mails', payload);\n }\n\n public get(params: QueryMail): Promise<GetMailPromise> {\n return this.axios.$get('/mails', { params });\n }\n\n public getAll(params: Partial<QueryAllMail>): Promise<Mail> {\n return this.axios.$get('/mails/all', { params });\n }\n\n public getPaginatedInboxForUser(idUser: number, params: Partial<QueryPaginatedMail>, cancelToken?: CancelToken): Promise<Mail[]> {\n return this.axios.$get('/mails/paginated', {\n ...(cancelToken ? { cancelToken } : {}),\n params: {\n ...params,\n idUser,\n isProcessed: false,\n isSent: false,\n },\n });\n }\n public getPaginatedToBeClassifiedForUser(idUser: number, params: Partial<QueryPaginatedMail>, cancelToken?: CancelToken): Promise<Mail[]> {\n return this.axios.$get('/mails/paginated', {\n ...(cancelToken ? { cancelToken } : {}),\n params: {\n ...params,\n idUser,\n isProcessed: false,\n isSent: false,\n isWithoutSociety: true,\n },\n });\n }\n public getPaginatedProcessedForUser(idUserWhoFlagged: number, params: Partial<QueryPaginatedMail>, cancelToken?: CancelToken): Promise<Mail[]> {\n return this.axios.$get('/mails/paginated', {\n ...(cancelToken ? { cancelToken } : {}),\n params: {\n ...params,\n idUserWhoFlagged,\n isProcessed: true,\n isSent: false,\n },\n });\n }\n public getPaginatedSentForUser(idUserWhoAnswered: number, params: Partial<QueryPaginatedMail>, cancelToken?: CancelToken): Promise<Mail[]> {\n return this.axios.$get('/mails/paginated', {\n ...(cancelToken ? { cancelToken } : {}),\n params: {\n ...params,\n idUserWhoAnswered,\n isProcessed: false,\n isSent: true,\n isDraft: false,\n },\n });\n }\n public getPaginatedImportantForUser(idUser: number, params: Partial<QueryPaginatedMail>, cancelToken?: CancelToken): Promise<Mail[]> {\n return this.axios.$get('/mails/paginated', {\n ...(cancelToken ? { cancelToken } : {}),\n params: {\n ...params,\n idUser,\n isProcessed: false,\n isImportant: true,\n },\n });\n }\n public getPaginatedForManagerRole(idUser: number, params: Partial<QueryPaginatedMail>, cancelToken?: CancelToken): Promise<Mail[]> {\n return this.axios.$get('/mails/paginated', {\n ...(cancelToken ? { cancelToken } : {}),\n params: {\n ...params,\n idUser,\n isProcessed: false,\n isSent: false,\n handlingManagerRoleMails: true,\n },\n });\n }\n public getPaginatedDraftForUser(idUserWhoAnswered: number, params: Partial<QueryPaginatedMail>, cancelToken?: CancelToken): Promise<Mail[]> {\n return this.axios.$get('/mails/paginated', {\n ...(cancelToken ? { cancelToken } : {}),\n params: {\n ...params,\n idUserWhoAnswered,\n isProcessed: false,\n isSent: true,\n isDraft: true,\n },\n });\n }\n public getPaginatedTrashedForUser(idUser: number, params: Partial<QueryPaginatedMail>, cancelToken?: CancelToken): Promise<Mail[]> {\n return this.axios.$get('/mails/paginated', {\n ...(cancelToken ? { cancelToken } : {}),\n params: {\n ...params,\n idUser,\n isDeleted: true,\n withDeleted: true,\n },\n });\n }\n public getPaginatedBySociety(idSociety: number, params: Partial<QueryPaginatedMail>, cancelToken?: CancelToken): Promise<Mail[]> {\n return this.axios.$get('/mails/paginated', {\n ...(cancelToken ? { cancelToken } : {}),\n params: {\n ...params,\n idSociety,\n },\n });\n }\n\n public countProcessedByUser(idUser: number, sumOfSlidingDays?: number, cancelToken?: CancelToken): Promise<number> {\n return this.axios.$get('/mails/count-processed-by-user', {\n ...(cancelToken ? { cancelToken } : {}),\n params: {\n idUser,\n ...(sumOfSlidingDays ? { sumOfSlidingDays } : {}),\n },\n });\n }\n public getAnsweringTimeByUser(idUser: number, sumOfSlidingDays?: number, cancelToken?: CancelToken): Promise<number> {\n return this.axios.$get('/mails/answering-time-by-user', {\n ...(cancelToken ? { cancelToken } : {}),\n params: {\n idUser,\n ...(sumOfSlidingDays ? { sumOfSlidingDays } : {}),\n },\n });\n }\n\n public countInboxByUser(idUser: number, cancelToken?: CancelToken): Promise<number> {\n return this.axios.$get('/mails/count', {\n ...(cancelToken ? { cancelToken } : {}),\n params: {\n idUser,\n isProcessed: false,\n isSent: false,\n },\n });\n }\n\n public countInboxBySociety(idSociety: number, cancelToken?: CancelToken): Promise<number> {\n return this.axios.$get('/mails/count', {\n ...(cancelToken ? { cancelToken } : {}),\n params: {\n idSociety,\n isSent: false,\n isRead: false,\n },\n });\n }\n\n public countToBeClassifiedByUser(idUser: number, cancelToken?: CancelToken): Promise<number> {\n return this.axios.$get('/mails/count', {\n ...(cancelToken ? { cancelToken } : {}),\n params: {\n idUser,\n isProcessed: false,\n isSent: false,\n isWithoutSociety: true,\n },\n });\n }\n\n public countUnprocessedByManager(idUser: number, cancelToken?: CancelToken): Promise<number> {\n return this.axios.$get('/mails/count', {\n ...(cancelToken ? { cancelToken } : {}),\n params: {\n idUser,\n isProcessed: false,\n isSent: false,\n handlingManagerRoleMails: true,\n },\n });\n }\n\n public countMailAuto(idSociety: number, idMailAuto: number[], cancelToken?: CancelToken): Promise<number> {\n return this.axios.$get('/mails/count', {\n ...(cancelToken ? { cancelToken } : {}),\n params: {\n idSociety,\n idMailAuto,\n },\n });\n }\n\n update(id: number, payload: UpdateMailPayload, params: QueryUpdateMail): Promise<IMail> {\n return this.axios.patch(`/mails/${id}`, { ...payload, ...params });\n }\n\n delete(idMail: number): Promise<void> {\n return this.axios.$delete(`/mails/${idMail}`);\n }\n\n migrateMailAddresses(limit: number, idMail?: number): Promise<{ ok: number, ko: number, error?:string }> {\n return this.axios.$post('/mails/migrate-mail-addresses', { limit, idMail });\n }\n\n migrateUsersMailAddresses(limit: number, idUser?: number): Promise<{ ok: number, ko: number, error?:string }> {\n return this.axios.$post('/mails/migrate-users-mail-addresses', { limit, idUser });\n }\n\n getUserSignature(idUser: number, params: QueryGetSignature): Promise<string> {\n return this.axios.$get(`/mails/${idUser}/signature`, { params });\n }\n}\n"],"mappings":";;;;;;AACA,IAAAA,SAAA,GAAAC,OAAA;AAaM,MAAOC,IAAK,SAAQC,kBAAQ;EAChCC,MAAMA,CAACC,OAAyB;IAC9B,OAAO,IAAI,CAACC,KAAK,CAACC,KAAK,CAAC,QAAQ,EAAEF,OAAO,CAAC;EAC5C;EAEOG,GAAGA,CAACC,MAAiB;IAC1B,OAAO,IAAI,CAACH,KAAK,CAACI,IAAI,CAAC,QAAQ,EAAE;MAAED;IAAM,CAAE,CAAC;EAC9C;EAEOE,MAAMA,CAACF,MAA6B;IACzC,OAAO,IAAI,CAACH,KAAK,CAACI,IAAI,CAAC,YAAY,EAAE;MAAED;IAAM,CAAE,CAAC;EAClD;EAEOG,wBAAwBA,CAACC,MAAc,EAAEJ,MAAmC,EAAEK,WAAyB;IAC5G,OAAO,IAAI,CAACR,KAAK,CAACI,IAAI,CAAC,kBAAkB,EAAAK,MAAA,CAAAC,MAAA,CAAAD,MAAA,CAAAC,MAAA,KACnCF,WAAW,GAAG;MAAEA;IAAW,CAAE,GAAG,EAAE,CAAC;MACvCL,MAAM,EAAAM,MAAA,CAAAC,MAAA,CAAAD,MAAA,CAAAC,MAAA,KACDP,MAAM;QACTI,MAAM;QACNI,WAAW,EAAE,KAAK;QAClBC,MAAM,EAAE;MAAK;IAAA,GAEf;EACJ;EACOC,iCAAiCA,CAACN,MAAc,EAAEJ,MAAmC,EAAEK,WAAyB;IACrH,OAAO,IAAI,CAACR,KAAK,CAACI,IAAI,CAAC,kBAAkB,EAAAK,MAAA,CAAAC,MAAA,CAAAD,MAAA,CAAAC,MAAA,KACnCF,WAAW,GAAG;MAAEA;IAAW,CAAE,GAAG,EAAE,CAAC;MACvCL,MAAM,EAAAM,MAAA,CAAAC,MAAA,CAAAD,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I,IAAI,CAAC,cAAc,EAAAK,MAAA,CAAAC,MAAA,CAAAD,MAAA,CAAAC,MAAA,KAC/BF,WAAW,GAAG;MAAEA;IAAW,CAAE,GAAG,EAAE,CAAC;MACvCL,MAAM,EAAE;QACN0B,SAAS;QACTU;;IACD,GACD;EACJ;EAEAC,MAAMA,CAACC,EAAU,EAAE1C,OAA0B,EAAEI,MAAuB;IACpE,OAAO,IAAI,CAACH,KAAK,CAAC0C,KAAK,CAAC,UAAUD,EAAE,EAAE,EAAAhC,MAAA,CAAAC,MAAA,CAAAD,MAAA,CAAAC,MAAA,KAAOX,OAAO,GAAKI,MAAM,EAAG;EACpE;EAEAwC,MAAMA,CAACC,MAAc;IACnB,OAAO,IAAI,CAAC5C,KAAK,CAAC6C,OAAO,CAAC,UAAUD,MAAM,EAAE,CAAC;EAC/C;EAEAE,oBAAoBA,CAACC,KAAa,EAAEH,MAAe;IACjD,OAAO,IAAI,CAAC5C,KAAK,CAACC,KAAK,CAAC,+BAA+B,EAAE;MAAE8C,KAAK;MAAEH;IAAM,CAAE,CAAC;EAC7E;EAEAI,yBAAyBA,CAACD,KAAa,EAAExC,MAAe;IACtD,OAAO,IAAI,CAACP,KAAK,CAACC,KAAK,CAAC,qCAAqC,EAAE;MAAE8C,KAAK;MAAExC;IAAM,CAAE,CAAC;EACnF;EAEA0C,gBAAgBA,CAAC1C,MAAc,EAAEJ,MAAyB;IACxD,OAAO,IAAI,CAACH,KAAK,CAACI,IAAI,CAAC,UAAUG,MAAM,YAAY,EAAE;MAAEJ;IAAM,CAAE,CAAC;EAClE;;AACD+C,OAAA,CAjNYtD,IAAK,GAALA,IAAK"}
|
|
1
|
+
{"version":3,"file":"Mail.js","names":["_Resource","require","Mail","Resource","create","payload","axios","$post","get","params","$get","getAll","getPaginatedInboxForUser","idUser","cancelToken","Object","assign","isProcessed","isSent","getPaginatedToBeClassifiedForUser","isWithoutSociety","getPaginatedProcessedForUser","idUserWhoFlagged","getPaginatedSentForUser","idUserWhoAnswered","isDraft","getPaginatedImportantForUser","isImportant","getPaginatedForManagerRole","handlingManagerRoleMails","getPaginatedDraftForUser","getPaginatedTrashedForUser","isDeleted","withDeleted","getPaginatedBySociety","idSociety","countProcessedByUser","sumOfSlidingDays","getAnsweringTimeByUser","countInboxByUser","countInboxBySociety","isRead","countToBeClassifiedByUser","countUnprocessedByManager","countMailAuto","idMailAuto","update","id","patch","delete","idMail","$delete","migrateMailAddresses","limit","migrateUsersMailAddresses","getUserSignature","exports"],"sources":["../../../ts/api/resources/Mail.ts"],"sourcesContent":["import { CancelToken } from 'axios';\nimport { Resource } from '../Resource';\nimport {\n UpdateMailPayload,\n QueryMail,\n QueryPaginatedMail,\n IMail,\n CreateMailParams,\n QueryAllMail,\n QueryGetSignature,\n GetMailPromise,\n QueryUpdateMail,\n} from '../../types';\n\nexport class Mail extends Resource {\n create(payload: CreateMailParams): Promise<IMail> {\n return this.axios.$post('/mails', payload);\n }\n\n public get(params: QueryMail): Promise<GetMailPromise> {\n return this.axios.$get('/mails', { params });\n }\n\n public getAll(params: Partial<QueryAllMail>): Promise<Mail> {\n return this.axios.$get('/mails/all', { params });\n }\n\n public getPaginatedInboxForUser(idUser: number, params: Partial<QueryPaginatedMail>, cancelToken?: CancelToken): Promise<Mail[]> {\n return this.axios.$get('/mails/paginated', {\n ...(cancelToken ? { cancelToken } : {}),\n params: {\n ...params,\n idUser,\n isProcessed: false,\n isSent: false,\n },\n });\n }\n public getPaginatedToBeClassifiedForUser(idUser: number, params: Partial<QueryPaginatedMail>, cancelToken?: CancelToken): Promise<Mail[]> {\n return this.axios.$get('/mails/paginated', {\n ...(cancelToken ? { cancelToken } : {}),\n params: {\n ...params,\n idUser,\n isProcessed: false,\n isSent: false,\n isWithoutSociety: true,\n },\n });\n }\n public getPaginatedProcessedForUser(idUserWhoFlagged: number, params: Partial<QueryPaginatedMail>, cancelToken?: CancelToken): Promise<Mail[]> {\n return this.axios.$get('/mails/paginated', {\n ...(cancelToken ? { cancelToken } : {}),\n params: {\n ...params,\n idUserWhoFlagged,\n isProcessed: true,\n isSent: false,\n },\n });\n }\n public getPaginatedSentForUser(idUserWhoAnswered: number, params: Partial<QueryPaginatedMail>, cancelToken?: CancelToken): Promise<Mail[]> {\n return this.axios.$get('/mails/paginated', {\n ...(cancelToken ? { cancelToken } : {}),\n params: {\n ...params,\n idUserWhoAnswered,\n isProcessed: false,\n isSent: true,\n isDraft: false,\n },\n });\n }\n public getPaginatedImportantForUser(idUser: number, params: Partial<QueryPaginatedMail>, cancelToken?: CancelToken): Promise<Mail[]> {\n return this.axios.$get('/mails/paginated', {\n ...(cancelToken ? { cancelToken } : {}),\n params: {\n ...params,\n idUser,\n isProcessed: false,\n isImportant: true,\n },\n });\n }\n public getPaginatedForManagerRole(idUser: number, params: Partial<QueryPaginatedMail>, cancelToken?: CancelToken): Promise<Mail[]> {\n return this.axios.$get('/mails/paginated', {\n ...(cancelToken ? { cancelToken } : {}),\n params: {\n ...params,\n idUser,\n isProcessed: false,\n isSent: false,\n handlingManagerRoleMails: true,\n },\n });\n }\n public getPaginatedDraftForUser(idUserWhoAnswered: number, params: Partial<QueryPaginatedMail>, cancelToken?: CancelToken): Promise<Mail[]> {\n return this.axios.$get('/mails/paginated', {\n ...(cancelToken ? { cancelToken } : {}),\n params: {\n ...params,\n idUserWhoAnswered,\n isProcessed: false,\n isSent: true,\n isDraft: true,\n },\n });\n }\n public getPaginatedTrashedForUser(idUser: number, params: Partial<QueryPaginatedMail>, cancelToken?: CancelToken): Promise<Mail[]> {\n return this.axios.$get('/mails/paginated', {\n ...(cancelToken ? { cancelToken } : {}),\n params: {\n ...params,\n idUser,\n isDeleted: true,\n withDeleted: true,\n },\n });\n }\n public getPaginatedBySociety(idSociety: number, params: Partial<QueryPaginatedMail>, cancelToken?: CancelToken): Promise<Mail[]> {\n return this.axios.$get('/mails/paginated', {\n ...(cancelToken ? { cancelToken } : {}),\n params: {\n ...params,\n idSociety,\n },\n });\n }\n\n public countProcessedByUser(idUser: number, sumOfSlidingDays?: number, cancelToken?: CancelToken): Promise<number> {\n return this.axios.$get('/mails/count-processed-by-user', {\n ...(cancelToken ? { cancelToken } : {}),\n params: {\n idUser,\n ...(sumOfSlidingDays ? { sumOfSlidingDays } : {}),\n },\n });\n }\n public getAnsweringTimeByUser(idUser: number, sumOfSlidingDays?: number, cancelToken?: CancelToken): Promise<number> {\n return this.axios.$get('/mails/answering-time-by-user', {\n ...(cancelToken ? { cancelToken } : {}),\n params: {\n idUser,\n ...(sumOfSlidingDays ? { sumOfSlidingDays } : {}),\n },\n });\n }\n\n public countInboxByUser(idUser: number, cancelToken?: CancelToken): Promise<number> {\n return this.axios.$get('/mails/count', {\n ...(cancelToken ? { cancelToken } : {}),\n params: {\n idUser,\n isProcessed: false,\n isSent: false,\n },\n });\n }\n\n public countInboxBySociety(idSociety: number, cancelToken?: CancelToken): Promise<number> {\n return this.axios.$get('/mails/count', {\n ...(cancelToken ? { cancelToken } : {}),\n params: {\n idSociety,\n isSent: false,\n isRead: false,\n },\n });\n }\n\n public countToBeClassifiedByUser(idUser: number, cancelToken?: CancelToken): Promise<number> {\n return this.axios.$get('/mails/count', {\n ...(cancelToken ? { cancelToken } : {}),\n params: {\n idUser,\n isProcessed: false,\n isSent: false,\n isWithoutSociety: true,\n },\n });\n }\n\n public countUnprocessedByManager(idUser: number, cancelToken?: CancelToken): Promise<number> {\n return this.axios.$get('/mails/count', {\n ...(cancelToken ? { cancelToken } : {}),\n params: {\n idUser,\n isProcessed: false,\n isSent: false,\n handlingManagerRoleMails: true,\n },\n });\n }\n\n public countMailAuto(idSociety: number, idMailAuto: number[], cancelToken?: CancelToken): Promise<number> {\n return this.axios.$get('/mails/count', {\n ...(cancelToken ? { cancelToken } : {}),\n params: {\n idSociety,\n idMailAuto,\n },\n });\n }\n\n update(id: number, payload: UpdateMailPayload, params: QueryUpdateMail): Promise<IMail> {\n return this.axios.patch(`/mails/${id}`, { ...payload, ...params });\n }\n\n delete(idMail: number): Promise<void> {\n return this.axios.$delete(`/mails/${idMail}`);\n }\n\n migrateMailAddresses(limit: number, idMail?: number): Promise<{ ok: number, ko: number, error?:string }> {\n return this.axios.$post('/mails/migrate-mail-addresses', { limit, idMail });\n }\n\n migrateUsersMailAddresses(limit: number, idUser?: number): Promise<{ ok: number, ko: number, error?:string }> {\n return this.axios.$post('/mails/migrate-users-mail-addresses', { limit, idUser });\n }\n\n getUserSignature(idUser: number, params: QueryGetSignature): Promise<string> {\n return this.axios.$get(`/mails/${idUser}/signature`, { params });\n }\n}\n"],"mappings":";;;;;;AACA,IAAAA,SAAA,GAAAC,OAAA;AAaM,MAAOC,IAAK,SAAQC,kBAAQ;EAChCC,MAAMA,CAACC,OAAyB;IAC9B,OAAO,IAAI,CAACC,KAAK,CAACC,KAAK,CAAC,QAAQ,EAAEF,OAAO,CAAC;EAC5C;EAEOG,GAAGA,CAACC,MAAiB;IAC1B,OAAO,IAAI,CAACH,KAAK,CAACI,IAAI,CAAC,QAAQ,EAAE;MAAED;IAAM,CAAE,CAAC;EAC9C;EAEOE,MAAMA,CAACF,MAA6B;IACzC,OAAO,IAAI,CAACH,KAAK,CAACI,IAAI,CAAC,YAAY,EAAE;MAAED;IAAM,CAAE,CAAC;EAClD;EAEOG,wBAAwBA,CAACC,MAAc,EAAEJ,MAAmC,EAAEK,WAAyB;IAC5G,OAAO,IAAI,CAACR,KAAK,CAACI,IAAI,CAAC,kBAAkB,EAAAK,MAAA,CAAAC,MAAA,CAAAD,MAAA,CAAAC,MAAA,KACnCF,WAAW,GAAG;MAAEA;IAAW,CAAE,GAAG,EAAG;MACvCL,MAAM,EAAAM,MAAA,CAAAC,MAAA,CAAAD,MAAA,CAAAC,MAAA,KACDP,MAAM;QACTI,MAAM;QACNI,WAAW,EAAE,KAAK;QAClBC,MAAM,EAAE;MAAK;IAAA,GAEf;EACJ;EACOC,iCAAiCA,CAACN,MAAc,EAAEJ,MAAmC,EAAEK,WAAyB;IACrH,OAAO,IAAI,CAACR,KAAK,CAAC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J;EAEOe,aAAaA,CAACT,SAAiB,EAAEU,UAAoB,EAAE/B,WAAyB;IACrF,OAAO,IAAI,CAACR,KAAK,CAACI,IAAI,CAAC,cAAc,EAAAK,MAAA,CAAAC,MAAA,CAAAD,MAAA,CAAAC,MAAA,KAC/BF,WAAW,GAAG;MAAEA;IAAW,CAAE,GAAG,EAAG;MACvCL,MAAM,EAAE;QACN0B,SAAS;QACTU;;IACD,GACD;EACJ;EAEAC,MAAMA,CAACC,EAAU,EAAE1C,OAA0B,EAAEI,MAAuB;IACpE,OAAO,IAAI,CAACH,KAAK,CAAC0C,KAAK,CAAC,UAAUD,EAAE,EAAE,EAAAhC,MAAA,CAAAC,MAAA,CAAAD,MAAA,CAAAC,MAAA,KAAOX,OAAO,GAAKI,MAAM,EAAG;EACpE;EAEAwC,MAAMA,CAACC,MAAc;IACnB,OAAO,IAAI,CAAC5C,KAAK,CAAC6C,OAAO,CAAC,UAAUD,MAAM,EAAE,CAAC;EAC/C;EAEAE,oBAAoBA,CAACC,KAAa,EAAEH,MAAe;IACjD,OAAO,IAAI,CAAC5C,KAAK,CAACC,KAAK,CAAC,+BAA+B,EAAE;MAAE8C,KAAK;MAAEH;IAAM,CAAE,CAAC;EAC7E;EAEAI,yBAAyBA,CAACD,KAAa,EAAExC,MAAe;IACtD,OAAO,IAAI,CAACP,KAAK,CAACC,KAAK,CAAC,qCAAqC,EAAE;MAAE8C,KAAK;MAAExC;IAAM,CAAE,CAAC;EACnF;EAEA0C,gBAAgBA,CAAC1C,MAAc,EAAEJ,MAAyB;IACxD,OAAO,IAAI,CAACH,KAAK,CAACI,IAAI,CAAC,UAAUG,MAAM,YAAY,EAAE;MAAEJ;IAAM,CAAE,CAAC;EAClE;;AACD+C,OAAA,CAjNYtD,IAAK,GAALA,IAAK"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PartneredAccountant.js","names":["_Resource","require","PartneredAccountant","Resource","getAll","axios","$get","getAllAccess","updateAccess","idPartneredAccountant","data","$put","invite","getAllServices","getPaginatedSoldServices","params","cancelToken","Object","assign","updateSoldServices","idSoldService","getSoldServiceStatistics","getAllRequestedServices","createRequestedServices","payload","$post","createRequestedServicesExpress","duplicateRequestedService","idRequest","getPaginatedSocieties","createSociety","getProfile","getAllStripeInvoices","exports"],"sources":["../../../ts/api/resources/PartneredAccountant.ts"],"sourcesContent":["import { CancelToken } from 'axios';\nimport {\n CreatePartneredAccountantRequestedService, InvitePartneredAccountant,\n IPartneredAccountant,\n IPartneredAccountantCompanyService,\n QueryPaginate,\n QueryParteneredAccountantSoldServices,\n ReadPartneredAccountant,\n ReadPartneredAccountantRequestedService,\n ReadPartneredAccountantService,\n ReadPartneredAccountantSoldServicesPaginated,\n ReadPartneredAccountantSoldServiceStatistics,\n UpdatedPartneredAccountantAccess, UpdatedPartneredAccountantSoldService,\n UpdatePartneredAccountantAccess,\n UpdatePartneredAccountantSoldService,\n CreatePartneredAccountantSociety,\n BasePaginate,\n QueryPartneredAccountantSocieties,\n CreatedPartneredAccountantSociety,\n ReadPartneredAccountantInvoice,\n CreatePartneredAccountantRequestedServiceExpress,\n} from '../../types';\nimport { Resource } from '../Resource';\nimport { ReadPartneredAccountantSociety } from '../../types/Interface/api/partneredAccountant/ReadPartneredAccountantSociety';\n\nexport class PartneredAccountant extends Resource {\n getAll(): Promise<Array<ReadPartneredAccountant>> {\n return this.axios.$get('/partnered-accountants');\n }\n\n getAllAccess(): Promise<Array<IPartneredAccountant>> {\n return this.axios.$get('/partnered-accountants/access');\n }\n\n updateAccess(idPartneredAccountant: number, data: UpdatePartneredAccountantAccess) : Promise<UpdatedPartneredAccountantAccess> {\n return this.axios.$put(`/partnered-accountants/${idPartneredAccountant}/access`, data);\n }\n\n invite(data: InvitePartneredAccountant): Promise<true> {\n return this.axios.$put('/partnered-accountants/invite', data);\n }\n\n getAllServices(idPartneredAccountant: number) : Promise<Array<ReadPartneredAccountantService>> {\n return this.axios.$get(`/partnered-accountants/${idPartneredAccountant}/services`);\n }\n\n getPaginatedSoldServices(params: QueryParteneredAccountantSoldServices & QueryPaginate, cancelToken?: CancelToken): Promise<ReadPartneredAccountantSoldServicesPaginated> {\n return this.axios.$get('/partnered-accountants/sold-services', {\n ...(cancelToken ? { cancelToken } : {}),\n params,\n });\n }\n\n updateSoldServices(idSoldService: number, params: UpdatePartneredAccountantSoldService): Promise<UpdatedPartneredAccountantSoldService> {\n return this.axios.$put(`/partnered-accountants/sold-services/${idSoldService}`, params);\n }\n\n getSoldServiceStatistics(cancelToken?: CancelToken): Promise<Array<ReadPartneredAccountantSoldServiceStatistics>> {\n return this.axios.$get('/partnered-accountants/sold-services/statistics', cancelToken ? { cancelToken } : {});\n }\n\n getAllRequestedServices(): Promise<Array<ReadPartneredAccountantRequestedService>> {\n return this.axios.$get('/partnered-accountants/requested-services');\n }\n\n createRequestedServices(idPartneredAccountant: number, payload: Array<CreatePartneredAccountantRequestedService>): Promise<Array<IPartneredAccountantCompanyService>> {\n return this.axios.$post(`/partnered-accountants/${idPartneredAccountant}/requested-services`, payload);\n }\n\n createRequestedServicesExpress(payload: Array<CreatePartneredAccountantRequestedServiceExpress>): Promise<Array<IPartneredAccountantCompanyService>> {\n return this.axios.$post('/partnered-accountants/requested-services/express', payload);\n }\n\n duplicateRequestedService(idRequest: number): Promise<Array<IPartneredAccountantCompanyService>> {\n return this.axios.$post(`/partnered-accountants/requested-service/${idRequest}/duplicate`);\n }\n\n getPaginatedSocieties(params: QueryPaginate & QueryPartneredAccountantSocieties, cancelToken?: CancelToken): Promise<BasePaginate<ReadPartneredAccountantSociety>> {\n return this.axios.$get('/partnered-accountants/societies', {\n ...(cancelToken ? { cancelToken } : {}),\n params,\n });\n }\n\n createSociety(params: CreatePartneredAccountantSociety): Promise<CreatedPartneredAccountantSociety> {\n return this.axios.$post('/partnered-accountants/societies', params);\n }\n\n // =======\n // PROFILE\n // =======\n\n getProfile(): Promise<IPartneredAccountant> {\n return this.axios.$get('/partnered-accountants/profile');\n }\n\n getAllStripeInvoices(): Promise<Array<ReadPartneredAccountantInvoice>> {\n return this.axios.$get('/partnered-accountants/profile/stripe-invoices');\n }\n}"],"mappings":";;;;;;AAsBA,IAAAA,SAAA,GAAAC,OAAA;AAGM,MAAOC,mBAAoB,SAAQC,kBAAQ;EAC/CC,MAAMA,CAAA;IACJ,OAAO,IAAI,CAACC,KAAK,CAACC,IAAI,CAAC,wBAAwB,CAAC;EAClD;EAEAC,YAAYA,CAAA;IACV,OAAO,IAAI,CAACF,KAAK,CAACC,IAAI,CAAC,+BAA+B,CAAC;EACzD;EAEAE,YAAYA,CAACC,qBAA6B,EAAEC,IAAqC;IAC/E,OAAO,IAAI,CAACL,KAAK,CAACM,IAAI,CAAC,0BAA0BF,qBAAqB,SAAS,EAAEC,IAAI,CAAC;EACxF;EAEAE,MAAMA,CAACF,IAA+B;IACpC,OAAO,IAAI,CAACL,KAAK,CAACM,IAAI,CAAC,+BAA+B,EAAED,IAAI,CAAC;EAC/D;EAEAG,cAAcA,CAACJ,qBAA6B;IAC1C,OAAO,IAAI,CAACJ,KAAK,CAACC,IAAI,CAAC,0BAA0BG,qBAAqB,WAAW,CAAC;EACpF;EAEAK,wBAAwBA,CAACC,MAA6D,EAAEC,WAAyB;IAC/G,OAAO,IAAI,CAACX,KAAK,CAACC,IAAI,CAAC,sCAAsC,EAAAW,MAAA,CAAAC,MAAA,CAAAD,MAAA,CAAAC,MAAA,KACvDF,WAAW,GAAG;MAAEA;IAAW,CAAE,GAAG,
|
|
1
|
+
{"version":3,"file":"PartneredAccountant.js","names":["_Resource","require","PartneredAccountant","Resource","getAll","axios","$get","getAllAccess","updateAccess","idPartneredAccountant","data","$put","invite","getAllServices","getPaginatedSoldServices","params","cancelToken","Object","assign","updateSoldServices","idSoldService","getSoldServiceStatistics","getAllRequestedServices","createRequestedServices","payload","$post","createRequestedServicesExpress","duplicateRequestedService","idRequest","getPaginatedSocieties","createSociety","getProfile","getAllStripeInvoices","exports"],"sources":["../../../ts/api/resources/PartneredAccountant.ts"],"sourcesContent":["import { CancelToken } from 'axios';\nimport {\n CreatePartneredAccountantRequestedService, InvitePartneredAccountant,\n IPartneredAccountant,\n IPartneredAccountantCompanyService,\n QueryPaginate,\n QueryParteneredAccountantSoldServices,\n ReadPartneredAccountant,\n ReadPartneredAccountantRequestedService,\n ReadPartneredAccountantService,\n ReadPartneredAccountantSoldServicesPaginated,\n ReadPartneredAccountantSoldServiceStatistics,\n UpdatedPartneredAccountantAccess, UpdatedPartneredAccountantSoldService,\n UpdatePartneredAccountantAccess,\n UpdatePartneredAccountantSoldService,\n CreatePartneredAccountantSociety,\n BasePaginate,\n QueryPartneredAccountantSocieties,\n CreatedPartneredAccountantSociety,\n ReadPartneredAccountantInvoice,\n CreatePartneredAccountantRequestedServiceExpress,\n} from '../../types';\nimport { Resource } from '../Resource';\nimport { ReadPartneredAccountantSociety } from '../../types/Interface/api/partneredAccountant/ReadPartneredAccountantSociety';\n\nexport class PartneredAccountant extends Resource {\n getAll(): Promise<Array<ReadPartneredAccountant>> {\n return this.axios.$get('/partnered-accountants');\n }\n\n getAllAccess(): Promise<Array<IPartneredAccountant>> {\n return this.axios.$get('/partnered-accountants/access');\n }\n\n updateAccess(idPartneredAccountant: number, data: UpdatePartneredAccountantAccess) : Promise<UpdatedPartneredAccountantAccess> {\n return this.axios.$put(`/partnered-accountants/${idPartneredAccountant}/access`, data);\n }\n\n invite(data: InvitePartneredAccountant): Promise<true> {\n return this.axios.$put('/partnered-accountants/invite', data);\n }\n\n getAllServices(idPartneredAccountant: number) : Promise<Array<ReadPartneredAccountantService>> {\n return this.axios.$get(`/partnered-accountants/${idPartneredAccountant}/services`);\n }\n\n getPaginatedSoldServices(params: QueryParteneredAccountantSoldServices & QueryPaginate, cancelToken?: CancelToken): Promise<ReadPartneredAccountantSoldServicesPaginated> {\n return this.axios.$get('/partnered-accountants/sold-services', {\n ...(cancelToken ? { cancelToken } : {}),\n params,\n });\n }\n\n updateSoldServices(idSoldService: number, params: UpdatePartneredAccountantSoldService): Promise<UpdatedPartneredAccountantSoldService> {\n return this.axios.$put(`/partnered-accountants/sold-services/${idSoldService}`, params);\n }\n\n getSoldServiceStatistics(cancelToken?: CancelToken): Promise<Array<ReadPartneredAccountantSoldServiceStatistics>> {\n return this.axios.$get('/partnered-accountants/sold-services/statistics', cancelToken ? { cancelToken } : {});\n }\n\n getAllRequestedServices(): Promise<Array<ReadPartneredAccountantRequestedService>> {\n return this.axios.$get('/partnered-accountants/requested-services');\n }\n\n createRequestedServices(idPartneredAccountant: number, payload: Array<CreatePartneredAccountantRequestedService>): Promise<Array<IPartneredAccountantCompanyService>> {\n return this.axios.$post(`/partnered-accountants/${idPartneredAccountant}/requested-services`, payload);\n }\n\n createRequestedServicesExpress(payload: Array<CreatePartneredAccountantRequestedServiceExpress>): Promise<Array<IPartneredAccountantCompanyService>> {\n return this.axios.$post('/partnered-accountants/requested-services/express', payload);\n }\n\n duplicateRequestedService(idRequest: number): Promise<Array<IPartneredAccountantCompanyService>> {\n return this.axios.$post(`/partnered-accountants/requested-service/${idRequest}/duplicate`);\n }\n\n getPaginatedSocieties(params: QueryPaginate & QueryPartneredAccountantSocieties, cancelToken?: CancelToken): Promise<BasePaginate<ReadPartneredAccountantSociety>> {\n return this.axios.$get('/partnered-accountants/societies', {\n ...(cancelToken ? { cancelToken } : {}),\n params,\n });\n }\n\n createSociety(params: CreatePartneredAccountantSociety): Promise<CreatedPartneredAccountantSociety> {\n return this.axios.$post('/partnered-accountants/societies', params);\n }\n\n // =======\n // PROFILE\n // =======\n\n getProfile(): Promise<IPartneredAccountant> {\n return this.axios.$get('/partnered-accountants/profile');\n }\n\n getAllStripeInvoices(): Promise<Array<ReadPartneredAccountantInvoice>> {\n return this.axios.$get('/partnered-accountants/profile/stripe-invoices');\n }\n}"],"mappings":";;;;;;AAsBA,IAAAA,SAAA,GAAAC,OAAA;AAGM,MAAOC,mBAAoB,SAAQC,kBAAQ;EAC/CC,MAAMA,CAAA;IACJ,OAAO,IAAI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AAqB,qBAAqB,EAAEe,OAAO,CAAC;EACxG;EAEAE,8BAA8BA,CAACF,OAAgE;IAC7F,OAAO,IAAI,CAACnB,KAAK,CAACoB,KAAK,CAAC,mDAAmD,EAAED,OAAO,CAAC;EACvF;EAEAG,yBAAyBA,CAACC,SAAiB;IACzC,OAAO,IAAI,CAACvB,KAAK,CAACoB,KAAK,CAAC,4CAA4CG,SAAS,YAAY,CAAC;EAC5F;EAEAC,qBAAqBA,CAACd,MAAyD,EAAEC,WAAyB;IACxG,OAAO,IAAI,CAACX,KAAK,CAACC,IAAI,CAAC,kCAAkC,EAAAW,MAAA,CAAAC,MAAA,CAAAD,MAAA,CAAAC,MAAA,KACnDF,WAAW,GAAG;MAAEA;IAAW,CAAE,GAAG,EAAG;MACvCD;IAAM,GACN;EACJ;EAEAe,aAAaA,CAACf,MAAwC;IACpD,OAAO,IAAI,CAACV,KAAK,CAACoB,KAAK,CAAC,kCAAkC,EAAEV,MAAM,CAAC;EACrE;EAEA;EACA;EACA;EAEAgB,UAAUA,CAAA;IACR,OAAO,IAAI,CAAC1B,KAAK,CAACC,IAAI,CAAC,gCAAgC,CAAC;EAC1D;EAEA0B,oBAAoBA,CAAA;IAClB,OAAO,IAAI,CAAC3B,KAAK,CAACC,IAAI,CAAC,gDAAgD,CAAC;EAC1E;;AACD2B,OAAA,CA1EY/B,mBAAoB,GAApBA,mBAAoB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PaymentExpectationCustomer.js","names":["_Resource","require","PaymentExpectationCustomer","Resource","get","params","axios","$get","getBySociety","cancelToken","idSociety","Object","assign","stats","pay","$post","confirm","delete","$delete","id","refund","$put","create","exports"],"sources":["../../../ts/api/resources/PaymentExpectationCustomer.ts"],"sourcesContent":["import { CancelToken } from 'axios';\nimport { Resource } from '../Resource';\nimport {\n QueryGetPaymentExpectationCustomer,\n IPaymentExpectationCustomer,\n QueryPayPaymentExpectationCustomer,\n QueryConfirmPaymentExpectationCustomer,\n QueryGetSocietyPaymentsExpectationsCustomers,\n QueryDeleteSocietyPaymentExpectationCustomer,\n BasePaginate,\n UpdateRefundSocietyPaymentExpectationCustomer,\n CreateSocietyPaymentExpectationCustomer,\n ReadPaymentExpectationCustomerStat,\n QueryGetSocietyPaymentsExpectationsCustomersStats,\n} from '../../types';\n\nexport class PaymentExpectationCustomer extends Resource {\n get(\n params: QueryGetPaymentExpectationCustomer,\n ): Promise<IPaymentExpectationCustomer> {\n return this.axios.$get('/paymentExpectationCustomer', { params });\n }\n getBySociety(\n params: QueryGetSocietyPaymentsExpectationsCustomers,\n cancelToken?: CancelToken,\n ): Promise<BasePaginate<IPaymentExpectationCustomer>> {\n return this.axios.$get(\n `/society/${params.idSociety}/paymentsExpectationsCustomers`,\n {\n ...(cancelToken ? { cancelToken } : {}),\n params,\n },\n );\n }\n stats(\n params: QueryGetSocietyPaymentsExpectationsCustomersStats,\n ): Promise<ReadPaymentExpectationCustomerStat> {\n return this.axios.$get(\n `/society/${params.idSociety}/paymentsExpectationsCustomers/stats`,\n {\n params,\n },\n );\n }\n pay(\n params: QueryPayPaymentExpectationCustomer,\n ): Promise<IPaymentExpectationCustomer> {\n return this.axios.$post('/paymentExpectationCustomer/pay', params);\n }\n confirm(\n params: QueryConfirmPaymentExpectationCustomer,\n ): Promise<IPaymentExpectationCustomer> {\n return this.axios.$post('/paymentExpectationCustomer/confirm', params);\n }\n delete(\n params: QueryDeleteSocietyPaymentExpectationCustomer,\n ): Promise<IPaymentExpectationCustomer> {\n return this.axios.$delete(\n `/society/${params.idSociety}/paymentsExpectationsCustomers/${params.id}`,\n );\n }\n refund(\n params: UpdateRefundSocietyPaymentExpectationCustomer,\n ): Promise<IPaymentExpectationCustomer> {\n return this.axios.$put(\n `/society/${params.idSociety}/paymentsExpectationsCustomers/${params.id}/refund`,\n params,\n );\n }\n create(\n params: CreateSocietyPaymentExpectationCustomer,\n ): Promise<IPaymentExpectationCustomer> {\n return this.axios.$post(\n `/society/${params.idSociety}/paymentExpectationCustomer`,\n params,\n );\n }\n}\n"],"mappings":";;;;;;AACA,IAAAA,SAAA,GAAAC,OAAA;AAeM,MAAOC,0BAA2B,SAAQC,kBAAQ;EACtDC,GAAGA,CACDC,MAA0C;IAE1C,OAAO,IAAI,CAACC,KAAK,CAACC,IAAI,CAAC,6BAA6B,EAAE;MAAEF;IAAM,CAAE,CAAC;EACnE;EACAG,YAAYA,CACVH,MAAoD,EACpDI,WAAyB;IAEzB,OAAO,IAAI,CAACH,KAAK,CAACC,IAAI,CACpB,YAAYF,MAAM,CAACK,SAAS,gCAAgC,EAAAC,MAAA,CAAAC,MAAA,CAAAD,MAAA,CAAAC,MAAA,KAEtDH,WAAW,GAAG;MAAEA;IAAW,CAAE,GAAG,
|
|
1
|
+
{"version":3,"file":"PaymentExpectationCustomer.js","names":["_Resource","require","PaymentExpectationCustomer","Resource","get","params","axios","$get","getBySociety","cancelToken","idSociety","Object","assign","stats","pay","$post","confirm","delete","$delete","id","refund","$put","create","exports"],"sources":["../../../ts/api/resources/PaymentExpectationCustomer.ts"],"sourcesContent":["import { CancelToken } from 'axios';\nimport { Resource } from '../Resource';\nimport {\n QueryGetPaymentExpectationCustomer,\n IPaymentExpectationCustomer,\n QueryPayPaymentExpectationCustomer,\n QueryConfirmPaymentExpectationCustomer,\n QueryGetSocietyPaymentsExpectationsCustomers,\n QueryDeleteSocietyPaymentExpectationCustomer,\n BasePaginate,\n UpdateRefundSocietyPaymentExpectationCustomer,\n CreateSocietyPaymentExpectationCustomer,\n ReadPaymentExpectationCustomerStat,\n QueryGetSocietyPaymentsExpectationsCustomersStats,\n} from '../../types';\n\nexport class PaymentExpectationCustomer extends Resource {\n get(\n params: QueryGetPaymentExpectationCustomer,\n ): Promise<IPaymentExpectationCustomer> {\n return this.axios.$get('/paymentExpectationCustomer', { params });\n }\n getBySociety(\n params: QueryGetSocietyPaymentsExpectationsCustomers,\n cancelToken?: CancelToken,\n ): Promise<BasePaginate<IPaymentExpectationCustomer>> {\n return this.axios.$get(\n `/society/${params.idSociety}/paymentsExpectationsCustomers`,\n {\n ...(cancelToken ? { cancelToken } : {}),\n params,\n },\n );\n }\n stats(\n params: QueryGetSocietyPaymentsExpectationsCustomersStats,\n ): Promise<ReadPaymentExpectationCustomerStat> {\n return this.axios.$get(\n `/society/${params.idSociety}/paymentsExpectationsCustomers/stats`,\n {\n params,\n },\n );\n }\n pay(\n params: QueryPayPaymentExpectationCustomer,\n ): Promise<IPaymentExpectationCustomer> {\n return this.axios.$post('/paymentExpectationCustomer/pay', params);\n }\n confirm(\n params: QueryConfirmPaymentExpectationCustomer,\n ): Promise<IPaymentExpectationCustomer> {\n return this.axios.$post('/paymentExpectationCustomer/confirm', params);\n }\n delete(\n params: QueryDeleteSocietyPaymentExpectationCustomer,\n ): Promise<IPaymentExpectationCustomer> {\n return this.axios.$delete(\n `/society/${params.idSociety}/paymentsExpectationsCustomers/${params.id}`,\n );\n }\n refund(\n params: UpdateRefundSocietyPaymentExpectationCustomer,\n ): Promise<IPaymentExpectationCustomer> {\n return this.axios.$put(\n `/society/${params.idSociety}/paymentsExpectationsCustomers/${params.id}/refund`,\n params,\n );\n }\n create(\n params: CreateSocietyPaymentExpectationCustomer,\n ): Promise<IPaymentExpectationCustomer> {\n return this.axios.$post(\n `/society/${params.idSociety}/paymentExpectationCustomer`,\n params,\n );\n }\n}\n"],"mappings":";;;;;;AACA,IAAAA,SAAA,GAAAC,OAAA;AAeM,MAAOC,0BAA2B,SAAQC,kBAAQ;EACtDC,GAAGA,CACDC,MAA0C;IAE1C,OAAO,IAAI,CAACC,KAAK,CAACC,IAAI,CAAC,6BAA6B,EAAE;MAAEF;IAAM,CAAE,CAAC;EACnE;EACAG,YAAYA,CACVH,MAAoD,EACpDI,WAAyB;IAEzB,OAAO,IAAI,CAACH,KAAK,CAACC,IAAI,CACpB,YAAYF,MAAM,CAACK,SAAS,gCAAgC,EAAAC,MAAA,CAAAC,MAAA,CAAAD,MAAA,CAAAC,MAAA,KAEtDH,WAAW,GAAG;MAAEA;IAAW,CAAE,GAAG,EAAG;MACvCJ;IAAM,GAET;EACH;EACAQ,KAAKA,CACHR,MAAyD;IAEzD,OAAO,IAAI,CAACC,KAAK,CAACC,IAAI,CACpB,YAAYF,MAAM,CAACK,SAAS,sCAAsC,EAClE;MACEL;KACD,CACF;EACH;EACAS,GAAGA,CACDT,MAA0C;IAE1C,OAAO,IAAI,CAACC,KAAK,CAACS,KAAK,CAAC,iCAAiC,EAAEV,MAAM,CAAC;EACpE;EACAW,OAAOA,CACLX,MAA8C;IAE9C,OAAO,IAAI,CAACC,KAAK,CAACS,KAAK,CAAC,qCAAqC,EAAEV,MAAM,CAAC;EACxE;EACAY,MAAMA,CACJZ,MAAoD;IAEpD,OAAO,IAAI,CAACC,KAAK,CAACY,OAAO,CACvB,YAAYb,MAAM,CAACK,SAAS,kCAAkCL,MAAM,CAACc,EAAE,EAAE,CAC1E;EACH;EACAC,MAAMA,CACJf,MAAqD;IAErD,OAAO,IAAI,CAACC,KAAK,CAACe,IAAI,CACpB,YAAYhB,MAAM,CAACK,SAAS,kCAAkCL,MAAM,CAACc,EAAE,SAAS,EAChFd,MAAM,CACP;EACH;EACAiB,MAAMA,CACJjB,MAA+C;IAE/C,OAAO,IAAI,CAACC,KAAK,CAACS,KAAK,CACrB,YAAYV,MAAM,CAACK,SAAS,6BAA6B,EACzDL,MAAM,CACP;EACH;;AACDkB,OAAA,CA7DYrB,0BAA2B,GAA3BA,0BAA2B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Product.js","names":["_Resource","require","Product","Resource","getAll","axios","$get","getPaginated","pagination","query","cancelToken","Object","assign","params","create","payload","$post","update","id","$put","delete","$delete","import","file","formData","FormData","append","export","responseType","exports"],"sources":["../../../ts/api/resources/Product.ts"],"sourcesContent":["import { CancelToken } from 'axios';\nimport { Resource } from '../Resource';\nimport {\n IProduct,\n QueryPaginate,\n QueryProduct,\n BasePaginate,\n CreateProduct,\n UpdateProduct,\n} from '../../types';\n\nexport class Product extends Resource {\n getAll(): Promise<Array<IProduct>> {\n return this.axios.$get('/commercial-management/products');\n }\n\n getPaginated(\n pagination: QueryPaginate,\n query?: QueryProduct,\n cancelToken?: CancelToken,\n ): Promise<BasePaginate<IProduct>> {\n return this.axios.$get('/commercial-management/products', {\n ...(cancelToken ? { cancelToken } : {}),\n params: {\n ...pagination,\n ...query,\n },\n });\n }\n\n create(payload: CreateProduct): Promise<IProduct> {\n return this.axios.$post('/commercial-management/products', payload);\n }\n\n update(id: number, payload: UpdateProduct): Promise<IProduct> {\n return this.axios.$put(`/commercial-management/products/${id}`, payload);\n }\n\n delete(id: number): Promise<boolean> {\n return this.axios.$delete(`/commercial-management/products/${id}`);\n }\n\n import(file: File): Promise<void> {\n const formData = new FormData();\n formData.append('file', file);\n return this.axios.$post('/commercial-management/products/import', formData);\n }\n\n export(): Promise<Buffer> {\n return this.axios.$get('/commercial-management/products/export', {\n responseType: 'arraybuffer',\n });\n }\n}\n"],"mappings":";;;;;;AACA,IAAAA,SAAA,GAAAC,OAAA;AAUM,MAAOC,OAAQ,SAAQC,kBAAQ;EACnCC,MAAMA,CAAA;IACJ,OAAO,IAAI,CAACC,KAAK,CAACC,IAAI,CAAC,iCAAiC,CAAC;EAC3D;EAEAC,YAAYA,CACVC,UAAyB,EACzBC,KAAoB,EACpBC,WAAyB;IAEzB,OAAO,IAAI,CAACL,KAAK,CAACC,IAAI,CAAC,iCAAiC,EAAAK,MAAA,CAAAC,MAAA,CAAAD,MAAA,CAAAC,MAAA,KAClDF,WAAW,GAAG;MAAEA;IAAW,CAAE,GAAG,
|
|
1
|
+
{"version":3,"file":"Product.js","names":["_Resource","require","Product","Resource","getAll","axios","$get","getPaginated","pagination","query","cancelToken","Object","assign","params","create","payload","$post","update","id","$put","delete","$delete","import","file","formData","FormData","append","export","responseType","exports"],"sources":["../../../ts/api/resources/Product.ts"],"sourcesContent":["import { CancelToken } from 'axios';\nimport { Resource } from '../Resource';\nimport {\n IProduct,\n QueryPaginate,\n QueryProduct,\n BasePaginate,\n CreateProduct,\n UpdateProduct,\n} from '../../types';\n\nexport class Product extends Resource {\n getAll(): Promise<Array<IProduct>> {\n return this.axios.$get('/commercial-management/products');\n }\n\n getPaginated(\n pagination: QueryPaginate,\n query?: QueryProduct,\n cancelToken?: CancelToken,\n ): Promise<BasePaginate<IProduct>> {\n return this.axios.$get('/commercial-management/products', {\n ...(cancelToken ? { cancelToken } : {}),\n params: {\n ...pagination,\n ...query,\n },\n });\n }\n\n create(payload: CreateProduct): Promise<IProduct> {\n return this.axios.$post('/commercial-management/products', payload);\n }\n\n update(id: number, payload: UpdateProduct): Promise<IProduct> {\n return this.axios.$put(`/commercial-management/products/${id}`, payload);\n }\n\n delete(id: number): Promise<boolean> {\n return this.axios.$delete(`/commercial-management/products/${id}`);\n }\n\n import(file: File): Promise<void> {\n const formData = new FormData();\n formData.append('file', file);\n return this.axios.$post('/commercial-management/products/import', formData);\n }\n\n export(): Promise<Buffer> {\n return this.axios.$get('/commercial-management/products/export', {\n responseType: 'arraybuffer',\n });\n }\n}\n"],"mappings":";;;;;;AACA,IAAAA,SAAA,GAAAC,OAAA;AAUM,MAAOC,OAAQ,SAAQC,kBAAQ;EACnCC,MAAMA,CAAA;IACJ,OAAO,IAAI,CAACC,KAAK,CAACC,IAAI,CAAC,iCAAiC,CAAC;EAC3D;EAEAC,YAAYA,CACVC,UAAyB,EACzBC,KAAoB,EACpBC,WAAyB;IAEzB,OAAO,IAAI,CAACL,KAAK,CAACC,IAAI,CAAC,iCAAiC,EAAAK,MAAA,CAAAC,MAAA,CAAAD,MAAA,CAAAC,MAAA,KAClDF,WAAW,GAAG;MAAEA;IAAW,CAAE,GAAG,EAAG;MACvCG,MAAM,EAAAF,MAAA,CAAAC,MAAA,CAAAD,MAAA,CAAAC,MAAA,KACDJ,UAAU,GACVC,KAAK;IAAA,GAEV;EACJ;EAEAK,MAAMA,CAACC,OAAsB;IAC3B,OAAO,IAAI,CAACV,KAAK,CAACW,KAAK,CAAC,iCAAiC,EAAED,OAAO,CAAC;EACrE;EAEAE,MAAMA,CAACC,EAAU,EAAEH,OAAsB;IACvC,OAAO,IAAI,CAACV,KAAK,CAACc,IAAI,CAAC,mCAAmCD,EAAE,EAAE,EAAEH,OAAO,CAAC;EAC1E;EAEAK,MAAMA,CAACF,EAAU;IACf,OAAO,IAAI,CAACb,KAAK,CAACgB,OAAO,CAAC,mCAAmCH,EAAE,EAAE,CAAC;EACpE;EAEAI,MAAMA,CAACC,IAAU;IACf,MAAMC,QAAQ,GAAG,IAAIC,QAAQ,EAAE;IAC/BD,QAAQ,CAACE,MAAM,CAAC,MAAM,EAAEH,IAAI,CAAC;IAC7B,OAAO,IAAI,CAAClB,KAAK,CAACW,KAAK,CAAC,wCAAwC,EAAEQ,QAAQ,CAAC;EAC7E;EAEAG,MAAMA,CAAA;IACJ,OAAO,IAAI,CAACtB,KAAK,CAACC,IAAI,CAAC,wCAAwC,EAAE;MAC/DsB,YAAY,EAAE;KACf,CAAC;EACJ;;AACDC,OAAA,CA1CY3B,OAAQ,GAARA,OAAQ"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Registration.js","names":["_Resource","require","Registration","Resource","updateOrCreate","idExercice","params","axios","$post","updateOrCreateSettings","getAll","idSociety","$get","Object","assign","declare","id","getSettingsFromSociety","updateOrCreateSettingsFromSociety","getDetails","idRegistration","getAllAdjustments","getDetailsFile","responseType","headers","Accept","exports"],"sources":["../../../ts/api/resources/Registration.ts"],"sourcesContent":["import { Resource } from '../Resource';\nimport {\n CreateRegistration,\n ReadRegistration,\n CreateRegistrationSetting,\n IVatDeclarationSocietyDetail,\n QueryRegistration,\n DeclareRegistration,\n CreateRegistrationSettingFromSociety,\n IRegistrationDetail,\n QueryRegistrationAdjustment,\n ReadRegistrationAdjustment,\n} from '../../types';\n\nexport class Registration extends Resource {\n updateOrCreate(\n idExercice: number,\n params: CreateRegistration,\n ): Promise<ReadRegistration> {\n return this.axios.$post(`/exercices/${idExercice}/registrations`, params);\n }\n updateOrCreateSettings(\n params: CreateRegistrationSetting,\n ): Promise<IVatDeclarationSocietyDetail> {\n return this.axios.$post('/registrations/settings', params);\n }\n getAll(\n idSociety: number,\n params?: QueryRegistration,\n ): Promise<ReadRegistration[]> {\n return this.axios.$get(`/societies/${idSociety}/registrations`, {\n ...(params ? { params } : {}),\n });\n }\n declare(id: number, params: DeclareRegistration): Promise<ReadRegistration> {\n return this.axios.$post(`/registrations/${id}/declare`, params);\n }\n\n getSettingsFromSociety(idSociety: number): Promise<IVatDeclarationSocietyDetail | null> {\n return this.axios.$get(`/societies/${idSociety}/registrations/settings`);\n }\n\n updateOrCreateSettingsFromSociety(idSociety: number, params: CreateRegistrationSettingFromSociety): Promise<IVatDeclarationSocietyDetail> {\n return this.axios.$post(`/societies/${idSociety}/registrations/settings`, params);\n }\n\n getDetails(idSociety: number, idRegistration: number): Promise<IRegistrationDetail | null> {\n return this.axios.$get(`/societies/${idSociety}/registrations/${idRegistration}/details`);\n }\n\n getAllAdjustments(idSociety: number, params: QueryRegistrationAdjustment): Promise<ReadRegistrationAdjustment[]> {\n return this.axios.$get(`/societies/${idSociety}/registrations/adjustments`, { params });\n }\n\n getDetailsFile(idRegistration: number, idSociety: number): Promise<Buffer> {\n return this.axios.$post(`/societies/${idSociety}/registrations/${idRegistration}/details/files`, null,\n {\n responseType: 'arraybuffer',\n headers: {\n Accept: 'application/pdf',\n },\n });\n }\n}\n"],"mappings":";;;;;;AAAA,IAAAA,SAAA,GAAAC,OAAA;AAcM,MAAOC,YAAa,SAAQC,kBAAQ;EACxCC,cAAcA,CACZC,UAAkB,EAClBC,MAA0B;IAE1B,OAAO,IAAI,CAACC,KAAK,CAACC,KAAK,CAAC,cAAcH,UAAU,gBAAgB,EAAEC,MAAM,CAAC;EAC3E;EACAG,sBAAsBA,CACpBH,MAAiC;IAEjC,OAAO,IAAI,CAACC,KAAK,CAACC,KAAK,CAAC,yBAAyB,EAAEF,MAAM,CAAC;EAC5D;EACAI,MAAMA,CACJC,SAAiB,EACjBL,MAA0B;IAE1B,OAAO,IAAI,CAACC,KAAK,CAACK,IAAI,CAAC,cAAcD,SAAS,gBAAgB,EAAAE,MAAA,CAAAC,MAAA,KACxDR,MAAM,GAAG;MAAEA;IAAM,CAAE,GAAG,
|
|
1
|
+
{"version":3,"file":"Registration.js","names":["_Resource","require","Registration","Resource","updateOrCreate","idExercice","params","axios","$post","updateOrCreateSettings","getAll","idSociety","$get","Object","assign","declare","id","getSettingsFromSociety","updateOrCreateSettingsFromSociety","getDetails","idRegistration","getAllAdjustments","getDetailsFile","responseType","headers","Accept","exports"],"sources":["../../../ts/api/resources/Registration.ts"],"sourcesContent":["import { Resource } from '../Resource';\nimport {\n CreateRegistration,\n ReadRegistration,\n CreateRegistrationSetting,\n IVatDeclarationSocietyDetail,\n QueryRegistration,\n DeclareRegistration,\n CreateRegistrationSettingFromSociety,\n IRegistrationDetail,\n QueryRegistrationAdjustment,\n ReadRegistrationAdjustment,\n} from '../../types';\n\nexport class Registration extends Resource {\n updateOrCreate(\n idExercice: number,\n params: CreateRegistration,\n ): Promise<ReadRegistration> {\n return this.axios.$post(`/exercices/${idExercice}/registrations`, params);\n }\n updateOrCreateSettings(\n params: CreateRegistrationSetting,\n ): Promise<IVatDeclarationSocietyDetail> {\n return this.axios.$post('/registrations/settings', params);\n }\n getAll(\n idSociety: number,\n params?: QueryRegistration,\n ): Promise<ReadRegistration[]> {\n return this.axios.$get(`/societies/${idSociety}/registrations`, {\n ...(params ? { params } : {}),\n });\n }\n declare(id: number, params: DeclareRegistration): Promise<ReadRegistration> {\n return this.axios.$post(`/registrations/${id}/declare`, params);\n }\n\n getSettingsFromSociety(idSociety: number): Promise<IVatDeclarationSocietyDetail | null> {\n return this.axios.$get(`/societies/${idSociety}/registrations/settings`);\n }\n\n updateOrCreateSettingsFromSociety(idSociety: number, params: CreateRegistrationSettingFromSociety): Promise<IVatDeclarationSocietyDetail> {\n return this.axios.$post(`/societies/${idSociety}/registrations/settings`, params);\n }\n\n getDetails(idSociety: number, idRegistration: number): Promise<IRegistrationDetail | null> {\n return this.axios.$get(`/societies/${idSociety}/registrations/${idRegistration}/details`);\n }\n\n getAllAdjustments(idSociety: number, params: QueryRegistrationAdjustment): Promise<ReadRegistrationAdjustment[]> {\n return this.axios.$get(`/societies/${idSociety}/registrations/adjustments`, { params });\n }\n\n getDetailsFile(idRegistration: number, idSociety: number): Promise<Buffer> {\n return this.axios.$post(`/societies/${idSociety}/registrations/${idRegistration}/details/files`, null,\n {\n responseType: 'arraybuffer',\n headers: {\n Accept: 'application/pdf',\n },\n });\n }\n}\n"],"mappings":";;;;;;AAAA,IAAAA,SAAA,GAAAC,OAAA;AAcM,MAAOC,YAAa,SAAQC,kBAAQ;EACxCC,cAAcA,CACZC,UAAkB,EAClBC,MAA0B;IAE1B,OAAO,IAAI,CAACC,KAAK,CAACC,KAAK,CAAC,cAAcH,UAAU,gBAAgB,EAAEC,MAAM,CAAC;EAC3E;EACAG,sBAAsBA,CACpBH,MAAiC;IAEjC,OAAO,IAAI,CAACC,KAAK,CAACC,KAAK,CAAC,yBAAyB,EAAEF,MAAM,CAAC;EAC5D;EACAI,MAAMA,CACJC,SAAiB,EACjBL,MAA0B;IAE1B,OAAO,IAAI,CAACC,KAAK,CAACK,IAAI,CAAC,cAAcD,SAAS,gBAAgB,EAAAE,MAAA,CAAAC,MAAA,KACxDR,MAAM,GAAG;MAAEA;IAAM,CAAE,GAAG,EAAG,EAC7B;EACJ;EACAS,OAAOA,CAACC,EAAU,EAAEV,MAA2B;IAC7C,OAAO,IAAI,CAACC,KAAK,CAACC,KAAK,CAAC,kBAAkBQ,EAAE,UAAU,EAAEV,MAAM,CAAC;EACjE;EAEAW,sBAAsBA,CAACN,SAAiB;IACtC,OAAO,IAAI,CAACJ,KAAK,CAACK,IAAI,CAAC,cAAcD,SAAS,yBAAyB,CAAC;EAC1E;EAEAO,iCAAiCA,CAACP,SAAiB,EAAEL,MAA4C;IAC/F,OAAO,IAAI,CAACC,KAAK,CAACC,KAAK,CAAC,cAAcG,SAAS,yBAAyB,EAAEL,MAAM,CAAC;EACnF;EAEAa,UAAUA,CAACR,SAAiB,EAAES,cAAsB;IAClD,OAAO,IAAI,CAACb,KAAK,CAACK,IAAI,CAAC,cAAcD,SAAS,kBAAkBS,cAAc,UAAU,CAAC;EAC3F;EAEAC,iBAAiBA,CAACV,SAAiB,EAAEL,MAAmC;IACtE,OAAO,IAAI,CAACC,KAAK,CAACK,IAAI,CAAC,cAAcD,SAAS,4BAA4B,EAAE;MAAEL;IAAM,CAAE,CAAC;EACzF;EAEAgB,cAAcA,CAACF,cAAsB,EAAET,SAAiB;IACtD,OAAO,IAAI,CAACJ,KAAK,CAACC,KAAK,CAAC,cAAcG,SAAS,kBAAkBS,cAAc,gBAAgB,EAAE,IAAI,EACnG;MACEG,YAAY,EAAE,aAAa;MAC3BC,OAAO,EAAE;QACPC,MAAM,EAAE;;KAEX,CAAC;EACN;;AACDC,OAAA,CAjDYxB,YAAa,GAAbA,YAAa"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Regulate.js","names":["_Resource","require","Regulate","Resource","getAllByCommercial","params","cancelToken","axios","$get","Object","assign","exports"],"sources":["../../../ts/api/resources/Regulate.ts"],"sourcesContent":["import { CancelToken } from 'axios';\nimport { QueryGetAll, RegulateWithStats } from '../../types';\nimport { Resource } from '../Resource';\n\nexport class Regulate extends Resource {\n getAllByCommercial(params: QueryGetAll, cancelToken?: CancelToken): Promise<RegulateWithStats[]> {\n return this.axios.$get('/regulates/all-by-commercial', { ...(cancelToken ? { cancelToken } : {}), params });\n }\n}\n"],"mappings":";;;;;;AAEA,IAAAA,SAAA,GAAAC,OAAA;AAEM,MAAOC,QAAS,SAAQC,kBAAQ;EACpCC,kBAAkBA,CAACC,MAAmB,EAAEC,WAAyB;IAC/D,OAAO,IAAI,CAACC,KAAK,CAACC,IAAI,CAAC,8BAA8B,EAAAC,MAAA,CAAAC,MAAA,CAAAD,MAAA,CAAAC,MAAA,KAAQJ,WAAW,GAAG;MAAEA;IAAW,CAAE,GAAG,
|
|
1
|
+
{"version":3,"file":"Regulate.js","names":["_Resource","require","Regulate","Resource","getAllByCommercial","params","cancelToken","axios","$get","Object","assign","exports"],"sources":["../../../ts/api/resources/Regulate.ts"],"sourcesContent":["import { CancelToken } from 'axios';\nimport { QueryGetAll, RegulateWithStats } from '../../types';\nimport { Resource } from '../Resource';\n\nexport class Regulate extends Resource {\n getAllByCommercial(params: QueryGetAll, cancelToken?: CancelToken): Promise<RegulateWithStats[]> {\n return this.axios.$get('/regulates/all-by-commercial', { ...(cancelToken ? { cancelToken } : {}), params });\n }\n}\n"],"mappings":";;;;;;AAEA,IAAAA,SAAA,GAAAC,OAAA;AAEM,MAAOC,QAAS,SAAQC,kBAAQ;EACpCC,kBAAkBA,CAACC,MAAmB,EAAEC,WAAyB;IAC/D,OAAO,IAAI,CAACC,KAAK,CAACC,IAAI,CAAC,8BAA8B,EAAAC,MAAA,CAAAC,MAAA,CAAAD,MAAA,CAAAC,MAAA,KAAQJ,WAAW,GAAG;MAAEA;IAAW,CAAE,GAAG,EAAG;MAAED;IAAM,GAAG;EAC7G;;AACDM,OAAA,CAJYT,QAAS,GAATA,QAAS"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Report.js","names":["_Resource","require","Report","Resource","getPaginate","params","cancelToken","axios","$get","Object","assign","getStats","getReportsForLetter","update","$put","create","$post","delete","$delete","id","exports"],"sources":["../../../ts/api/resources/Report.ts"],"sourcesContent":["import { CancelToken } from 'axios';\nimport {\n BasePaginate, CreateReport, DeleteReport, IReport, QueryPaginate, QueryReports, QueryReportsForLetter, QueryReportsStats, ReadReport, ReadReportStats, UpdateReport,\n} from '../../types';\nimport { Resource } from '../Resource';\n\nexport class Report extends Resource {\n getPaginate(params: QueryReports & QueryPaginate, cancelToken?: CancelToken): Promise<BasePaginate<ReadReport>> {\n return this.axios.$get('/reports', { params, ...(cancelToken ? { cancelToken } : {}) });\n }\n getStats(params: QueryReportsStats, cancelToken?: CancelToken): Promise<ReadReportStats[]> {\n return this.axios.$get('/reports/stats', { params, ...(cancelToken ? { cancelToken } : {}) });\n }\n getReportsForLetter(params: QueryReportsForLetter, cancelToken?: CancelToken): Promise<IReport[]> {\n return this.axios.$get('/reports/letter', { params, ...(cancelToken ? { cancelToken } : {}) });\n }\n update(params: UpdateReport): Promise<[number, Report[]]> {\n return this.axios.$put('/reports', params);\n }\n create(params: CreateReport): Promise<Report> {\n return this.axios.$post('/reports', params);\n }\n delete(params: DeleteReport): Promise<Report> {\n return this.axios.$delete(`/reports/${params.id}`);\n }\n}"],"mappings":";;;;;;AAIA,IAAAA,SAAA,GAAAC,OAAA;AAEM,MAAOC,MAAO,SAAQC,kBAAQ;EAClCC,WAAWA,CAACC,MAAoC,EAAEC,WAAyB;IACzE,OAAO,IAAI,CAACC,KAAK,CAACC,IAAI,CAAC,UAAU,EAAAC,MAAA,CAAAC,MAAA;MAAIL;IAAM,GAAMC,WAAW,GAAG;MAAEA;IAAW,CAAE,GAAG,
|
|
1
|
+
{"version":3,"file":"Report.js","names":["_Resource","require","Report","Resource","getPaginate","params","cancelToken","axios","$get","Object","assign","getStats","getReportsForLetter","update","$put","create","$post","delete","$delete","id","exports"],"sources":["../../../ts/api/resources/Report.ts"],"sourcesContent":["import { CancelToken } from 'axios';\nimport {\n BasePaginate, CreateReport, DeleteReport, IReport, QueryPaginate, QueryReports, QueryReportsForLetter, QueryReportsStats, ReadReport, ReadReportStats, UpdateReport,\n} from '../../types';\nimport { Resource } from '../Resource';\n\nexport class Report extends Resource {\n getPaginate(params: QueryReports & QueryPaginate, cancelToken?: CancelToken): Promise<BasePaginate<ReadReport>> {\n return this.axios.$get('/reports', { params, ...(cancelToken ? { cancelToken } : {}) });\n }\n getStats(params: QueryReportsStats, cancelToken?: CancelToken): Promise<ReadReportStats[]> {\n return this.axios.$get('/reports/stats', { params, ...(cancelToken ? { cancelToken } : {}) });\n }\n getReportsForLetter(params: QueryReportsForLetter, cancelToken?: CancelToken): Promise<IReport[]> {\n return this.axios.$get('/reports/letter', { params, ...(cancelToken ? { cancelToken } : {}) });\n }\n update(params: UpdateReport): Promise<[number, Report[]]> {\n return this.axios.$put('/reports', params);\n }\n create(params: CreateReport): Promise<Report> {\n return this.axios.$post('/reports', params);\n }\n delete(params: DeleteReport): Promise<Report> {\n return this.axios.$delete(`/reports/${params.id}`);\n }\n}"],"mappings":";;;;;;AAIA,IAAAA,SAAA,GAAAC,OAAA;AAEM,MAAOC,MAAO,SAAQC,kBAAQ;EAClCC,WAAWA,CAACC,MAAoC,EAAEC,WAAyB;IACzE,OAAO,IAAI,CAACC,KAAK,CAACC,IAAI,CAAC,UAAU,EAAAC,MAAA,CAAAC,MAAA;MAAIL;IAAM,GAAMC,WAAW,GAAG;MAAEA;IAAW,CAAE,GAAG,EAAG,EAAG;EACzF;EACAK,QAAQA,CAACN,MAAyB,EAAEC,WAAyB;IAC3D,OAAO,IAAI,CAACC,KAAK,CAACC,IAAI,CAAC,gBAAgB,EAAAC,MAAA,CAAAC,MAAA;MAAIL;IAAM,GAAMC,WAAW,GAAG;MAAEA;IAAW,CAAE,GAAG,EAAG,EAAG;EAC/F;EACAM,mBAAmBA,CAACP,MAA6B,EAAEC,WAAyB;IAC1E,OAAO,IAAI,CAACC,KAAK,CAACC,IAAI,CAAC,iBAAiB,EAAAC,MAAA,CAAAC,MAAA;MAAIL;IAAM,GAAMC,WAAW,GAAG;MAAEA;IAAW,CAAE,GAAG,EAAG,EAAG;EAChG;EACAO,MAAMA,CAACR,MAAoB;IACzB,OAAO,IAAI,CAACE,KAAK,CAACO,IAAI,CAAC,UAAU,EAAET,MAAM,CAAC;EAC5C;EACAU,MAAMA,CAACV,MAAoB;IACzB,OAAO,IAAI,CAACE,KAAK,CAACS,KAAK,CAAC,UAAU,EAAEX,MAAM,CAAC;EAC7C;EACAY,MAAMA,CAACZ,MAAoB;IACzB,OAAO,IAAI,CAACE,KAAK,CAACW,OAAO,CAAC,YAAYb,MAAM,CAACc,EAAE,EAAE,CAAC;EACpD;;AACDC,OAAA,CAnBYlB,MAAO,GAAPA,MAAO"}
|