@silexpert/core 0.4.183 → 0.4.185
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/api/resources/Country.d.ts +2 -1
- package/es/api/resources/Country.d.ts.map +1 -1
- package/es/api/resources/Country.js +3 -0
- package/es/api/resources/Country.js.map +1 -1
- package/es/api/resources/Employee.d.ts +3 -1
- package/es/api/resources/Employee.d.ts.map +1 -1
- package/es/api/resources/Employee.js +6 -0
- package/es/api/resources/Employee.js.map +1 -1
- package/es/api/resources/Mail.d.ts +11 -6
- package/es/api/resources/Mail.d.ts.map +1 -1
- package/es/api/resources/Mail.js +34 -22
- package/es/api/resources/Mail.js.map +1 -1
- package/es/api/resources/SheetMonthSchedule.d.ts +11 -0
- package/es/api/resources/SheetMonthSchedule.d.ts.map +1 -0
- package/es/api/resources/SheetMonthSchedule.js +22 -0
- package/es/api/resources/SheetMonthSchedule.js.map +1 -0
- package/es/api/resources/User.d.ts +3 -1
- package/es/api/resources/User.d.ts.map +1 -1
- package/es/api/resources/User.js +6 -0
- package/es/api/resources/User.js.map +1 -1
- package/es/api/resources.d.ts +2 -0
- package/es/api/resources.d.ts.map +1 -1
- package/es/api/resources.js +2 -0
- package/es/api/resources.js.map +1 -1
- package/es/types/Enum/BrandClementine.d.ts +46 -4
- package/es/types/Enum/BrandClementine.d.ts.map +1 -1
- package/es/types/Enum/BrandClementine.js +45 -0
- package/es/types/Enum/BrandClementine.js.map +1 -1
- package/es/types/Enum/BrandComptalib.js +20 -20
- package/es/types/Enum/BrandComptalib.js.map +1 -1
- package/es/types/Enum/BrandLegalstart.d.ts +15 -0
- package/es/types/Enum/BrandLegalstart.d.ts.map +1 -1
- package/es/types/Enum/BrandLegalstart.js +15 -0
- package/es/types/Enum/BrandLegalstart.js.map +1 -1
- package/es/types/Enum/MailFlag.d.ts +22 -7
- package/es/types/Enum/MailFlag.d.ts.map +1 -1
- package/es/types/Enum/MailFlag.js +22 -8
- package/es/types/Enum/MailFlag.js.map +1 -1
- package/es/types/Enum/SalariesType.d.ts +28 -0
- package/es/types/Enum/SalariesType.d.ts.map +1 -0
- package/es/types/Enum/SalariesType.js +33 -0
- package/es/types/Enum/SalariesType.js.map +1 -0
- package/es/types/Interface/api/mail/CreateMailParams.d.ts +2 -0
- package/es/types/Interface/api/mail/CreateMailParams.d.ts.map +1 -1
- package/es/types/Interface/api/mail/CreateMailParams.js.map +1 -1
- package/es/types/Interface/api/mail/QueryCountMail.d.ts +1 -1
- package/es/types/Interface/api/mail/QueryCountMail.d.ts.map +1 -1
- package/es/types/Interface/api/mail/QueryCountMail.js +1 -1
- package/es/types/Interface/api/mail/QueryCountMail.js.map +1 -1
- package/es/types/Interface/api/mail/QueryCountProcessedByUser.d.ts +5 -0
- package/es/types/Interface/api/mail/QueryCountProcessedByUser.d.ts.map +1 -0
- package/es/types/Interface/api/mail/QueryCountProcessedByUser.js +25 -0
- package/es/types/Interface/api/mail/QueryCountProcessedByUser.js.map +1 -0
- package/es/types/Interface/api/mail/QueryGetAnsweringTimeByUser.d.ts +5 -0
- package/es/types/Interface/api/mail/QueryGetAnsweringTimeByUser.d.ts.map +1 -0
- package/es/types/Interface/api/mail/QueryGetAnsweringTimeByUser.js +25 -0
- package/es/types/Interface/api/mail/QueryGetAnsweringTimeByUser.js.map +1 -0
- package/es/types/Interface/api/mail/QueryPaginatedMail.d.ts +3 -0
- package/es/types/Interface/api/mail/QueryPaginatedMail.d.ts.map +1 -1
- package/es/types/Interface/api/mail/QueryPaginatedMail.js +22 -2
- package/es/types/Interface/api/mail/QueryPaginatedMail.js.map +1 -1
- package/es/types/Interface/api/mail/UpdateMail.d.ts +1 -0
- package/es/types/Interface/api/mail/UpdateMail.d.ts.map +1 -1
- package/es/types/Interface/api/mail/UpdateMail.js +6 -0
- package/es/types/Interface/api/mail/UpdateMail.js.map +1 -1
- package/es/types/Interface/api/mail/UpdateMailParams.d.ts +8 -0
- package/es/types/Interface/api/mail/UpdateMailParams.d.ts.map +1 -0
- package/es/types/Interface/api/mail/UpdateMailParams.js +2 -0
- package/es/types/Interface/api/mail/UpdateMailParams.js.map +1 -0
- package/es/types/Interface/api/sheetMonthSchedule/QuerySheetMonthSchedule.d.ts +9 -0
- package/es/types/Interface/api/sheetMonthSchedule/QuerySheetMonthSchedule.d.ts.map +1 -0
- package/es/types/Interface/api/sheetMonthSchedule/QuerySheetMonthSchedule.js +53 -0
- package/es/types/Interface/api/sheetMonthSchedule/QuerySheetMonthSchedule.js.map +1 -0
- package/es/types/Interface/api/user/QueryGetAllFromSociety.d.ts +5 -0
- package/es/types/Interface/api/user/QueryGetAllFromSociety.d.ts.map +1 -0
- package/es/types/Interface/api/user/QueryGetAllFromSociety.js +31 -0
- package/es/types/Interface/api/user/QueryGetAllFromSociety.js.map +1 -0
- package/es/types/Interface/api/webmail/PostAttachmentEmailFromLambdaParams.d.ts +2 -0
- package/es/types/Interface/api/webmail/PostAttachmentEmailFromLambdaParams.d.ts.map +1 -1
- package/es/types/Interface/api/webmail/PostAttachmentEmailFromLambdaParams.js +12 -0
- package/es/types/Interface/api/webmail/PostAttachmentEmailFromLambdaParams.js.map +1 -1
- package/es/types/Interface/models/IEmployee.d.ts +2 -0
- package/es/types/Interface/models/IEmployee.d.ts.map +1 -1
- package/es/types/Interface/models/IEmployee.js.map +1 -1
- package/es/types/Interface/models/IMail.d.ts +1 -2
- package/es/types/Interface/models/IMail.d.ts.map +1 -1
- package/es/types/Interface/models/IMail.js.map +1 -1
- package/es/types/Interface/models/ISociety.d.ts +1 -0
- package/es/types/Interface/models/ISociety.d.ts.map +1 -1
- package/es/types/Interface/models/ISociety.js.map +1 -1
- package/es/types/index.d.ts +5 -0
- package/es/types/index.d.ts.map +1 -1
- package/es/types/index.js +5 -0
- package/es/types/index.js.map +1 -1
- package/js/api/Resource.js.map +1 -1
- package/js/api/index.js.map +1 -1
- package/js/api/resources/Account.js.map +1 -1
- package/js/api/resources/AccountType.js.map +1 -1
- package/js/api/resources/AccountingFiles.js.map +1 -1
- package/js/api/resources/AccountingIncome.js.map +1 -1
- package/js/api/resources/AccountsSectors.js.map +1 -1
- package/js/api/resources/AffectedPatrimony.js.map +1 -1
- package/js/api/resources/Authenticate.js.map +1 -1
- package/js/api/resources/BalanceSheet.js.map +1 -1
- package/js/api/resources/BalanceSheetCompletion.js.map +1 -1
- package/js/api/resources/BalanceSheetModule.js.map +1 -1
- package/js/api/resources/BalanceSheetQuestion.js.map +1 -1
- package/js/api/resources/BankAccount.js.map +1 -1
- package/js/api/resources/BankStatement.js.map +1 -1
- package/js/api/resources/BudgetInsight.js.map +1 -1
- package/js/api/resources/Cerfa.js.map +1 -1
- package/js/api/resources/Closing.js.map +1 -1
- package/js/api/resources/Connector.js.map +1 -1
- package/js/api/resources/Country.js +4 -0
- package/js/api/resources/Country.js.map +1 -1
- package/js/api/resources/CustomerProviderOperation.js.map +1 -1
- package/js/api/resources/Dashboard.js.map +1 -1
- package/js/api/resources/Employee.js +8 -0
- package/js/api/resources/Employee.js.map +1 -1
- package/js/api/resources/Exercice.js.map +1 -1
- package/js/api/resources/ExerciceNote.js.map +1 -1
- package/js/api/resources/ExerciceQuestion.js.map +1 -1
- package/js/api/resources/FecFile.js.map +1 -1
- package/js/api/resources/FinancialCharge.js.map +1 -1
- package/js/api/resources/FirstStep.js.map +1 -1
- package/js/api/resources/GeneralLedger.js.map +1 -1
- package/js/api/resources/Immobilization.js.map +1 -1
- package/js/api/resources/IncomeAllocation.js.map +1 -1
- package/js/api/resources/IncomeStatement.js.map +1 -1
- package/js/api/resources/InternalInvoicing.js.map +1 -1
- package/js/api/resources/Journal.js.map +1 -1
- package/js/api/resources/KilometricAllowance.js.map +1 -1
- package/js/api/resources/LegalForm.js.map +1 -1
- package/js/api/resources/Letter.js.map +1 -1
- package/js/api/resources/Library.js.map +1 -1
- package/js/api/resources/Loan.js.map +1 -1
- package/js/api/resources/Log.js.map +1 -1
- package/js/api/resources/MachineLearning.js.map +1 -1
- package/js/api/resources/Mail.js +91 -19
- package/js/api/resources/Mail.js.map +1 -1
- package/js/api/resources/MealExpense.js.map +1 -1
- package/js/api/resources/Partner.js.map +1 -1
- package/js/api/resources/PartneredAccountant.js.map +1 -1
- package/js/api/resources/Payment.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/PromoCode.js.map +1 -1
- package/js/api/resources/Provision.js.map +1 -1
- package/js/api/resources/Qonto.js.map +1 -1
- package/js/api/resources/QuotesAccount.js.map +1 -1
- package/js/api/resources/Registration.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/RevisionGuide.js.map +1 -1
- package/js/api/resources/SalariesFile.js.map +1 -1
- package/js/api/resources/Search.js.map +1 -1
- package/js/api/resources/SheetMonthSchedule.js +40 -0
- package/js/api/resources/SheetMonthSchedule.js.map +1 -0
- package/js/api/resources/Shine.js.map +1 -1
- package/js/api/resources/Simulation.js.map +1 -1
- package/js/api/resources/Society.js.map +1 -1
- package/js/api/resources/SocietyPromoCode.js.map +1 -1
- package/js/api/resources/Sponsorship.js.map +1 -1
- package/js/api/resources/Step.js.map +1 -1
- package/js/api/resources/Stocks.js.map +1 -1
- package/js/api/resources/Subscription.js.map +1 -1
- package/js/api/resources/Survey.js.map +1 -1
- package/js/api/resources/Tax.js.map +1 -1
- package/js/api/resources/TaxDeadline.js.map +1 -1
- package/js/api/resources/ThirdParty.js.map +1 -1
- package/js/api/resources/Transaction.js.map +1 -1
- package/js/api/resources/User.js +10 -0
- package/js/api/resources/User.js.map +1 -1
- package/js/api/resources/VatControl.js.map +1 -1
- package/js/api/resources/VatDeclaration.js.map +1 -1
- package/js/api/resources/Vehicle.js.map +1 -1
- package/js/api/resources/WorkingSchedule.js.map +1 -1
- package/js/api/resources/ZTicket.js.map +1 -1
- package/js/api/resources/shareCapital.js.map +1 -1
- package/js/api/resources.js +4 -1
- package/js/api/resources.js.map +1 -1
- package/js/index.js.map +1 -1
- package/js/types/Enum/Account.js.map +1 -1
- package/js/types/Enum/AccountType.js.map +1 -1
- package/js/types/Enum/AccountingFileType.js.map +1 -1
- package/js/types/Enum/AccountingJournal.js.map +1 -1
- package/js/types/Enum/AccountsSectors.js.map +1 -1
- package/js/types/Enum/Activity.js.map +1 -1
- package/js/types/Enum/AnswerTypeValue.js.map +1 -1
- package/js/types/Enum/Aspone.js.map +1 -1
- package/js/types/Enum/BalanceSheet.js.map +1 -1
- package/js/types/Enum/BalanceSheetModule.js.map +1 -1
- package/js/types/Enum/BalanceSheetQuestion.js.map +1 -1
- package/js/types/Enum/BalanceSheetQuestionWording.js.map +1 -1
- package/js/types/Enum/BalanceSheetStatus.js.map +1 -1
- package/js/types/Enum/BankAccountType.js.map +1 -1
- package/js/types/Enum/BrandClementine.js +45 -0
- package/js/types/Enum/BrandClementine.js.map +1 -1
- package/js/types/Enum/BrandComptalib.js +20 -20
- package/js/types/Enum/BrandComptalib.js.map +1 -1
- package/js/types/Enum/BrandLegalstart.js +15 -0
- package/js/types/Enum/BrandLegalstart.js.map +1 -1
- package/js/types/Enum/BudgetInsight.js.map +1 -1
- package/js/types/Enum/CerfaType.js.map +1 -1
- package/js/types/Enum/Channel.js.map +1 -1
- package/js/types/Enum/Comment.js.map +1 -1
- package/js/types/Enum/ComptaType.js.map +1 -1
- package/js/types/Enum/ConnectorType.js.map +1 -1
- package/js/types/Enum/Contract.js.map +1 -1
- package/js/types/Enum/Country.js.map +1 -1
- package/js/types/Enum/Currency.js.map +1 -1
- package/js/types/Enum/EstimateInvoice.js.map +1 -1
- package/js/types/Enum/ExerciceNoteType.js.map +1 -1
- package/js/types/Enum/FecFileDelimiter.js.map +1 -1
- package/js/types/Enum/FieldSocietyStat.js.map +1 -1
- package/js/types/Enum/FileType.js.map +1 -1
- package/js/types/Enum/FiscalRegime.js.map +1 -1
- package/js/types/Enum/FuelType.js.map +1 -1
- package/js/types/Enum/Ged.js.map +1 -1
- package/js/types/Enum/Gescom.js.map +1 -1
- package/js/types/Enum/GlobalRegime.js.map +1 -1
- package/js/types/Enum/ImmobilizationType.js.map +1 -1
- package/js/types/Enum/IncomeStatement.js.map +1 -1
- package/js/types/Enum/JeDeclare.js.map +1 -1
- package/js/types/Enum/KilometricAllowanceScale.js.map +1 -1
- package/js/types/Enum/LegalForm.js.map +1 -1
- package/js/types/Enum/LegalInformation.js.map +1 -1
- package/js/types/Enum/LetterState.js.map +1 -1
- package/js/types/Enum/LetterType.js.map +1 -1
- package/js/types/Enum/Log.js.map +1 -1
- package/js/types/Enum/MailFlag.js +22 -9
- package/js/types/Enum/MailFlag.js.map +1 -1
- package/js/types/Enum/MealExpenseThresholds.js.map +1 -1
- package/js/types/Enum/MimeType.js.map +1 -1
- package/js/types/Enum/Nature.js.map +1 -1
- package/js/types/Enum/Notification.js.map +1 -1
- package/js/types/Enum/Ocr.js.map +1 -1
- package/js/types/Enum/PartnerTransactionType.js.map +1 -1
- package/js/types/Enum/PartnerType.js.map +1 -1
- package/js/types/Enum/PartneredAccountantServiceState.js.map +1 -1
- package/js/types/Enum/PartneredAccountantServiceType.js.map +1 -1
- package/js/types/Enum/PartneredAccountantServiceTypeId.js.map +1 -1
- package/js/types/Enum/PaymentMethod.js.map +1 -1
- package/js/types/Enum/Prestation.js.map +1 -1
- package/js/types/Enum/Proceding.js.map +1 -1
- package/js/types/Enum/ProductType.js.map +1 -1
- package/js/types/Enum/ProfitsType.js.map +1 -1
- package/js/types/Enum/ProvisionType.js.map +1 -1
- package/js/types/Enum/Quality.js.map +1 -1
- package/js/types/Enum/RegisterCategory.js.map +1 -1
- package/js/types/Enum/Registration.js.map +1 -1
- package/js/types/Enum/RegistrationSource.js.map +1 -1
- package/js/types/Enum/ReportState.js.map +1 -1
- package/js/types/Enum/ReportType.js.map +1 -1
- package/js/types/Enum/RevisionGuide.js.map +1 -1
- package/js/types/Enum/Role.js.map +1 -1
- package/js/types/Enum/RoleDetail.js.map +1 -1
- package/js/types/Enum/SalariesType.js +60 -0
- package/js/types/Enum/SalariesType.js.map +1 -0
- package/js/types/Enum/SaleType.js.map +1 -1
- package/js/types/Enum/Sector.js.map +1 -1
- package/js/types/Enum/SendInBlueList.js.map +1 -1
- package/js/types/Enum/Simulation.js.map +1 -1
- package/js/types/Enum/SponsorshipState.js.map +1 -1
- package/js/types/Enum/StockType.js.map +1 -1
- package/js/types/Enum/SubscriptionType.js.map +1 -1
- package/js/types/Enum/Supervision.js.map +1 -1
- package/js/types/Enum/SurveyType.js.map +1 -1
- package/js/types/Enum/SurveyTypeDatas.js.map +1 -1
- package/js/types/Enum/Tax.js.map +1 -1
- package/js/types/Enum/TaxSystem.js.map +1 -1
- package/js/types/Enum/ThirdPartyType.js.map +1 -1
- package/js/types/Enum/TypeBankConnection.js.map +1 -1
- package/js/types/Enum/TypeCustomerProviderOperation.js.map +1 -1
- package/js/types/Enum/TypeIncomeAllocation.js.map +1 -1
- package/js/types/Enum/TypePayment.js.map +1 -1
- package/js/types/Enum/Unit.js.map +1 -1
- package/js/types/Enum/Util.js.map +1 -1
- package/js/types/Enum/Vat.js.map +1 -1
- package/js/types/Enum/VatDeclarationType.js.map +1 -1
- package/js/types/Enum/VatRegime.js.map +1 -1
- package/js/types/Enum/Vehicle.js.map +1 -1
- package/js/types/Enum/VehicleType.js.map +1 -1
- package/js/types/Enum/WebmailFlag.js.map +1 -1
- package/js/types/Enum/WebmailType.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/bankAccount/DeleteTransaction.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/cerfa/CreateCerfa.js.map +1 -1
- package/js/types/Interface/api/customerProviderOperation/CreateCustomerProviderOperation.js.map +1 -1
- package/js/types/Interface/api/employee/QueryEmployeeSearch.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/financialCharge/CreateNonDeductibleInterests.js.map +1 -1
- package/js/types/Interface/api/generalLedger/QueryGeneralLedger.js.map +1 -1
- package/js/types/Interface/api/immobilization/CreateImmobilization.js.map +1 -1
- package/js/types/Interface/api/jeDeclare/UtilCFONB.js.map +1 -1
- package/js/types/Interface/api/kilometricAllowance/CreateKilometricAllowanceValidation.js.map +1 -1
- package/js/types/Interface/api/loan/CreateLoan.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/QueryCountMail.js +1 -1
- package/js/types/Interface/api/mail/QueryCountMail.js.map +1 -1
- package/js/types/Interface/api/mail/QueryCountProcessedByUser.js +33 -0
- package/js/types/Interface/api/mail/QueryCountProcessedByUser.js.map +1 -0
- package/js/types/Interface/api/mail/QueryGetAnsweringTimeByUser.js +33 -0
- package/js/types/Interface/api/mail/QueryGetAnsweringTimeByUser.js.map +1 -0
- package/js/types/Interface/api/mail/QueryMail.js.map +1 -1
- package/js/types/Interface/api/mail/QueryPaginatedMail.js +14 -2
- package/js/types/Interface/api/mail/QueryPaginatedMail.js.map +1 -1
- package/js/types/Interface/api/mail/UpdateMail.js +2 -0
- package/js/types/Interface/api/mail/UpdateMail.js.map +1 -1
- package/js/types/Interface/api/mail/UpdateMailParams.js +6 -0
- package/js/types/Interface/api/mail/UpdateMailParams.js.map +1 -0
- package/js/types/Interface/api/mealExpense/CreateMealExpense.js.map +1 -1
- package/js/types/Interface/api/partner/CreatePartner.js.map +1 -1
- package/js/types/Interface/api/partneredAccountant/CreatePartneredAccountantSociety.js.map +1 -1
- package/js/types/Interface/api/partneredAccountant/QueryPartneredAccountantSocieties.js.map +1 -1
- package/js/types/Interface/api/payment/QueryMonthlyPayment.js.map +1 -1
- package/js/types/Interface/api/product/CreateProduct.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/provision/CreateProvisionForm.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/revision/QueryRevisionAccount.js.map +1 -1
- package/js/types/Interface/api/revision/QueryRevisionSearchEntries.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 +52 -0
- package/js/types/Interface/api/sheetMonthSchedule/QuerySheetMonthSchedule.js.map +1 -0
- package/js/types/Interface/api/society/CreateSociety.js.map +1 -1
- package/js/types/Interface/api/society/QueryPaginatedSociety.js.map +1 -1
- package/js/types/Interface/api/sponsorship/QuerySponsorship.js.map +1 -1
- package/js/types/Interface/api/stock/StockEntries.js.map +1 -1
- package/js/types/Interface/api/tax/CreateTax.js.map +1 -1
- package/js/types/Interface/api/taxDeadline/QueryTaxDeadline.js.map +1 -1
- package/js/types/Interface/api/user/CreateCoworker.js.map +1 -1
- package/js/types/Interface/api/user/QueryGetAllFromSociety.js +39 -0
- package/js/types/Interface/api/user/QueryGetAllFromSociety.js.map +1 -0
- package/js/types/Interface/api/user/QuerySocieties.js.map +1 -1
- package/js/types/Interface/api/webmail/PostAttachmentEmailFromLambdaParams.js +4 -0
- package/js/types/Interface/api/webmail/PostAttachmentEmailFromLambdaParams.js.map +1 -1
- package/js/types/Interface/models/IApiError.js.map +1 -1
- package/js/types/index.js +60 -0
- package/js/types/index.js.map +1 -1
- package/js/utils/balanceSheetModule.js.map +1 -1
- package/js/utils/brands.js.map +1 -1
- package/js/utils/cerfa.js.map +1 -1
- package/js/utils/decorators.js.map +1 -1
- package/js/utils/index.js.map +1 -1
- package/js/utils/objectUtils/flattenObject.js.map +1 -1
- package/js/utils/objectUtils/fullFlattenObject.js.map +1 -1
- package/js/utils/objectUtils/index.js.map +1 -1
- package/js/utils/objectUtils/isValidObject.js.map +1 -1
- package/js/utils/objectUtils/unflattenObject.js.map +1 -1
- package/js/utils/siretValidation.js.map +1 -1
- package/js/utils/stringUtils/clean.js.map +1 -1
- package/js/utils/stringUtils/index.js.map +1 -1
- package/js/utils/transforms/boolean.transform.js.map +1 -1
- package/js/utils/validators/formattedDateString.validator.js.map +1 -1
- package/js/utils/validators/objectId.validator.js.map +1 -1
- package/js/utils/webmail.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/Country.ts +5 -1
- package/ts/api/resources/Employee.ts +11 -1
- package/ts/api/resources/Mail.ts +78 -16
- package/ts/api/resources/SheetMonthSchedule.ts +30 -0
- package/ts/api/resources/User.ts +7 -1
- package/ts/api/resources.ts +2 -0
- package/ts/types/Enum/BrandClementine.ts +45 -0
- package/ts/types/Enum/BrandComptalib.ts +20 -20
- package/ts/types/Enum/BrandLegalstart.ts +15 -0
- package/ts/types/Enum/MailFlag.ts +22 -7
- package/ts/types/Enum/SalariesType.ts +38 -0
- package/ts/types/Interface/api/mail/CreateMailParams.ts +2 -0
- package/ts/types/Interface/api/mail/QueryCountMail.ts +1 -1
- package/ts/types/Interface/api/mail/QueryCountProcessedByUser.ts +16 -0
- package/ts/types/Interface/api/mail/QueryGetAnsweringTimeByUser.ts +16 -0
- package/ts/types/Interface/api/mail/QueryPaginatedMail.ts +19 -2
- package/ts/types/Interface/api/mail/UpdateMail.ts +5 -0
- package/ts/types/Interface/api/mail/UpdateMailParams.ts +8 -0
- package/ts/types/Interface/api/sheetMonthSchedule/QuerySheetMonthSchedule.ts +37 -0
- package/ts/types/Interface/api/user/QueryGetAllFromSociety.ts +19 -0
- package/ts/types/Interface/api/webmail/PostAttachmentEmailFromLambdaParams.ts +10 -0
- package/ts/types/Interface/models/IEmployee.ts +2 -0
- package/ts/types/Interface/models/IMail.ts +1 -2
- package/ts/types/Interface/models/ISociety.ts +1 -0
- package/ts/types/index.ts +5 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Partner.js","mappings":";;;;;;;AAAA;;AAOM,MAAOA,OAAP,SAAuBC,kBAAvB,CAA+B;
|
|
1
|
+
{"version":3,"file":"Partner.js","mappings":";;;;;;;AAAA;;AAOM,MAAOA,OAAP,SAAuBC,kBAAvB,CAA+B;EACnCC,MAAM,CAACC,MAAD,EAAsB;IAC1B,OAAO,KAAKC,KAAL,CAAWC,KAAX,CAAiB,SAAjB,EAA4BF,MAA5B,CAAP;EACD;;EACDG,MAAM,CAACH,MAAD,EAAoB;IACxB,OAAO,KAAKC,KAAL,CAAWG,IAAX,CAAgB,UAAhB,EAA4B;MAAEJ;IAAF,CAA5B,CAAP;EACD;;AANkC;;QAAxBH,O,GAAAA,O","names":["Partner","Resource","create","params","axios","$post","getAll","$get"],"sourceRoot":"","sources":["../../../ts/api/resources/Partner.ts"],"sourcesContent":["import { Resource } from '../Resource';\nimport {\n ISocietyPartner,\n CreatePartner,\n GetPartners,\n} from '../../types';\n\nexport class Partner extends Resource {\n create(params: CreatePartner): Promise<ISocietyPartner> {\n return this.axios.$post('partner', params);\n }\n getAll(params: GetPartners): Promise<ISocietyPartner[]> {\n return this.axios.$get('partners', { params });\n }\n}"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PartneredAccountant.js","mappings":";;;;;;;AAsBA;;AAGM,MAAOA,mBAAP,SAAmCC,kBAAnC,CAA2C;
|
|
1
|
+
{"version":3,"file":"PartneredAccountant.js","mappings":";;;;;;;AAsBA;;AAGM,MAAOA,mBAAP,SAAmCC,kBAAnC,CAA2C;EAC/CC,MAAM;IACJ,OAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,wBAAhB,CAAP;EACD;;EAEDC,YAAY;IACV,OAAO,KAAKF,KAAL,CAAWC,IAAX,CAAgB,+BAAhB,CAAP;EACD;;EAEDE,YAAY,CAACC,qBAAD,EAAgCC,IAAhC,EAAqE;IAC/E,OAAO,KAAKL,KAAL,CAAWM,IAAX,CAAgB,0BAA0BF,qBAAqB,SAA/D,EAA0EC,IAA1E,CAAP;EACD;;EAEDE,MAAM,CAACF,IAAD,EAAgC;IACpC,OAAO,KAAKL,KAAL,CAAWM,IAAX,CAAgB,+BAAhB,EAAiDD,IAAjD,CAAP;EACD;;EAEDG,cAAc,CAACJ,qBAAD,EAA8B;IAC1C,OAAO,KAAKJ,KAAL,CAAWC,IAAX,CAAgB,0BAA0BG,qBAAqB,WAA/D,CAAP;EACD;;EAEDK,wBAAwB,CAACC,MAAD,EAAgEC,WAAhE,EAAyF;IAC/G,OAAO,KAAKX,KAAL,CAAWC,IAAX,CAAgB,sCAAhB,EAAsDW,gCACvDD,WAAW,GAAG;MAAEA;IAAF,CAAH,GAAqB,EADuB,GACpB;MACvCD;IADuC,CADoB,CAAtD,CAAP;EAID;;EAEDG,kBAAkB,CAACC,aAAD,EAAwBJ,MAAxB,EAAoE;IACpF,OAAO,KAAKV,KAAL,CAAWM,IAAX,CAAgB,wCAAwCQ,aAAa,EAArE,EAAyEJ,MAAzE,CAAP;EACD;;EAEDK,wBAAwB,CAACJ,WAAD,EAA0B;IAChD,OAAO,KAAKX,KAAL,CAAWC,IAAX,CAAgB,iDAAhB,EAAmEU,WAAW,GAAG;MAAEA;IAAF,CAAH,GAAqB,EAAnG,CAAP;EACD;;EAEDK,uBAAuB;IACrB,OAAO,KAAKhB,KAAL,CAAWC,IAAX,CAAgB,2CAAhB,CAAP;EACD;;EAEDgB,uBAAuB,CAACb,qBAAD,EAAgCc,OAAhC,EAAyF;IAC9G,OAAO,KAAKlB,KAAL,CAAWmB,KAAX,CAAiB,0BAA0Bf,qBAAqB,qBAAhE,EAAuFc,OAAvF,CAAP;EACD;;EAEDE,8BAA8B,CAACF,OAAD,EAAiE;IAC7F,OAAO,KAAKlB,KAAL,CAAWmB,KAAX,CAAiB,mDAAjB,EAAsED,OAAtE,CAAP;EACD;;EAEDG,yBAAyB,CAACC,SAAD,EAAkB;IACzC,OAAO,KAAKtB,KAAL,CAAWmB,KAAX,CAAiB,4CAA4CG,SAAS,YAAtE,CAAP;EACD;;EAEDC,qBAAqB,CAACb,MAAD,EAA4DC,WAA5D,EAAqF;IACxG,OAAO,KAAKX,KAAL,CAAWC,IAAX,CAAgB,kCAAhB,EAAkDW,gCACnDD,WAAW,GAAG;MAAEA;IAAF,CAAH,GAAqB,EADmB,GAChB;MACvCD;IADuC,CADgB,CAAlD,CAAP;EAID;;EAEDc,aAAa,CAACd,MAAD,EAAyC;IACpD,OAAO,KAAKV,KAAL,CAAWmB,KAAX,CAAiB,kCAAjB,EAAqDT,MAArD,CAAP;EACD,CA7D8C,CA+D/C;EACA;EACA;;;EAEAe,UAAU;IACR,OAAO,KAAKzB,KAAL,CAAWC,IAAX,CAAgB,gCAAhB,CAAP;EACD;;EAEDyB,oBAAoB;IAClB,OAAO,KAAK1B,KAAL,CAAWC,IAAX,CAAgB,gDAAhB,CAAP;EACD;;AAzE8C;;QAApCJ,mB,GAAAA,mB","names":["PartneredAccountant","Resource","getAll","axios","$get","getAllAccess","updateAccess","idPartneredAccountant","data","$put","invite","getAllServices","getPaginatedSoldServices","params","cancelToken","Object","updateSoldServices","idSoldService","getSoldServiceStatistics","getAllRequestedServices","createRequestedServices","payload","$post","createRequestedServicesExpress","duplicateRequestedService","idRequest","getPaginatedSocieties","createSociety","getProfile","getAllStripeInvoices"],"sourceRoot":"","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}"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Payment.js","mappings":";;;;;;;AAAA;;AAGM,MAAOA,OAAP,SAAuBC,kBAAvB,CAA+B;
|
|
1
|
+
{"version":3,"file":"Payment.js","mappings":";;;;;;;AAAA;;AAGM,MAAOA,OAAP,SAAuBC,kBAAvB,CAA+B;EACnCC,aAAa,CAACC,KAAD,EAA2B;IACtC,OAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,oBAAhB,EAAsC;MAC3CC,MAAM,EAAEH,KADmC;MAE3CI,YAAY,EAAE,aAF6B;MAG3CC,OAAO,EAAE;QACPC,MAAM,EAAE;MADD;IAHkC,CAAtC,CAAP;EAOD;;AATkC;;QAAxBT,O,GAAAA,O","names":["Payment","Resource","getMonthlyCsv","query","axios","$get","params","responseType","headers","Accept"],"sourceRoot":"","sources":["../../../ts/api/resources/Payment.ts"],"sourcesContent":["import { Resource } from '../Resource';\nimport { QueryMonthlyPayment } from '../../types';\n\nexport class Payment extends Resource {\n getMonthlyCsv(query: QueryMonthlyPayment): Promise<void> {\n return this.axios.$get('payment/monthlyCsv', {\n params: query,\n responseType: 'arraybuffer',\n headers: {\n Accept: 'application/csv',\n },\n });\n }\n}"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PaymentExpectationCustomer.js","mappings":";;;;;;;AAAA;;AAKM,MAAOA,0BAAP,SAA0CC,kBAA1C,CAAkD;
|
|
1
|
+
{"version":3,"file":"PaymentExpectationCustomer.js","mappings":";;;;;;;AAAA;;AAKM,MAAOA,0BAAP,SAA0CC,kBAA1C,CAAkD;EACtDC,GAAG,CAACC,MAAD,EAA2C;IAC5C,OAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,6BAAhB,EAA+C;MAAEF;IAAF,CAA/C,CAAP;EACD;;EACDG,YAAY,CAACH,MAAD,EAAqD;IAC/D,OAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,YAAYF,MAAM,CAACI,SAAS,gCAA5C,EAA8E;MACnFJ;IADmF,CAA9E,CAAP;EAGD;;EACDK,KAAK,CAACL,MAAD,EAA0D;IAC7D,OAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,YAAYF,MAAM,CAACI,SAAS,sCAA5C,EAAoF;MACzFJ;IADyF,CAApF,CAAP;EAGD;;EACDM,GAAG,CAACN,MAAD,EAA2C;IAC5C,OAAO,KAAKC,KAAL,CAAWM,KAAX,CAAiB,iCAAjB,EAAoDP,MAApD,CAAP;EACD;;EACDQ,OAAO,CAACR,MAAD,EAA+C;IACpD,OAAO,KAAKC,KAAL,CAAWM,KAAX,CAAiB,qCAAjB,EAAwDP,MAAxD,CAAP;EACD;;EACDS,MAAM,CAACT,MAAD,EAAqD;IACzD,OAAO,KAAKC,KAAL,CAAWS,OAAX,CAAmB,YAAYV,MAAM,CAACI,SAAS,kCAAkCJ,MAAM,CAACW,EAAE,EAA1F,CAAP;EACD;;EACDC,MAAM,CAACZ,MAAD,EAAsD;IAC1D,OAAO,KAAKC,KAAL,CAAWY,IAAX,CAAgB,YAAYb,MAAM,CAACI,SAAS,kCAAkCJ,MAAM,CAACW,EAAE,SAAvF,EAAkGX,MAAlG,CAAP;EACD;;EACDc,MAAM,CAACd,MAAD,EAAgD;IACpD,OAAO,KAAKC,KAAL,CAAWM,KAAX,CAAiB,YAAYP,MAAM,CAACI,SAAS,6BAA7C,EAA4EJ,MAA5E,CAAP;EACD;;AA5BqD;;QAA3CH,0B,GAAAA,0B","names":["PaymentExpectationCustomer","Resource","get","params","axios","$get","getBySociety","idSociety","stats","pay","$post","confirm","delete","$delete","id","refund","$put","create"],"sourceRoot":"","sources":["../../../ts/api/resources/PaymentExpectationCustomer.ts"],"sourcesContent":["import { Resource } from '../Resource';\nimport {\n QueryGetPaymentExpectationCustomer, IPaymentExpectationCustomer, QueryPayPaymentExpectationCustomer, QueryConfirmPaymentExpectationCustomer, QueryGetSocietyPaymentsExpectationsCustomers, QueryDeleteSocietyPaymentExpectationCustomer, BasePaginate, UpdateRefundSocietyPaymentExpectationCustomer, CreateSocietyPaymentExpectationCustomer, ReadPaymentExpectationCustomerStat, QueryGetSocietyPaymentsExpectationsCustomersStats,\n} from '../../types';\n\nexport class PaymentExpectationCustomer extends Resource {\n get(params: QueryGetPaymentExpectationCustomer): Promise<IPaymentExpectationCustomer> {\n return this.axios.$get('/paymentExpectationCustomer', { params });\n }\n getBySociety(params: QueryGetSocietyPaymentsExpectationsCustomers): Promise<BasePaginate<IPaymentExpectationCustomer>> {\n return this.axios.$get(`/society/${params.idSociety}/paymentsExpectationsCustomers`, {\n params,\n });\n }\n stats(params: QueryGetSocietyPaymentsExpectationsCustomersStats): Promise<ReadPaymentExpectationCustomerStat> {\n return this.axios.$get(`/society/${params.idSociety}/paymentsExpectationsCustomers/stats`, {\n params,\n });\n }\n pay(params: QueryPayPaymentExpectationCustomer): Promise<IPaymentExpectationCustomer> {\n return this.axios.$post('/paymentExpectationCustomer/pay', params);\n }\n confirm(params: QueryConfirmPaymentExpectationCustomer): Promise<IPaymentExpectationCustomer> {\n return this.axios.$post('/paymentExpectationCustomer/confirm', params);\n }\n delete(params: QueryDeleteSocietyPaymentExpectationCustomer): Promise<IPaymentExpectationCustomer> {\n return this.axios.$delete(`/society/${params.idSociety}/paymentsExpectationsCustomers/${params.id}`);\n }\n refund(params: UpdateRefundSocietyPaymentExpectationCustomer): Promise<IPaymentExpectationCustomer> {\n return this.axios.$put(`/society/${params.idSociety}/paymentsExpectationsCustomers/${params.id}/refund`, params);\n }\n create(params: CreateSocietyPaymentExpectationCustomer): Promise<IPaymentExpectationCustomer> {\n return this.axios.$post(`/society/${params.idSociety}/paymentExpectationCustomer`, params);\n }\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Product.js","mappings":";;;;;;;AAAA;;AAKM,MAAOA,OAAP,SAAuBC,kBAAvB,CAA+B;
|
|
1
|
+
{"version":3,"file":"Product.js","mappings":";;;;;;;AAAA;;AAKM,MAAOA,OAAP,SAAuBC,kBAAvB,CAA+B;EACnCC,MAAM;IACJ,OAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,iCAAhB,CAAP;EACD;;EAEDC,YAAY,CAACC,UAAD,EAA4BC,KAA5B,EAAgD;IAC1D,OAAO,KAAKJ,KAAL,CAAWC,IAAX,CAAgB,iCAAhB,EAAmD;MACxDI,MAAM,kCACDF,UADC,GAEDC,KAFC;IADkD,CAAnD,CAAP;EAMD;;EAEDE,MAAM,CAACC,OAAD,EAAuB;IAC3B,OAAO,KAAKP,KAAL,CAAWQ,KAAX,CAAiB,iCAAjB,EAAoDD,OAApD,CAAP;EACD;;EAEDE,MAAM,CAACC,EAAD,EAAaH,OAAb,EAAmC;IACvC,OAAO,KAAKP,KAAL,CAAWW,IAAX,CAAgB,mCAAmCD,EAAE,EAArD,EAAyDH,OAAzD,CAAP;EACD;;EAEDK,MAAM,CAACF,EAAD,EAAW;IACf,OAAO,KAAKV,KAAL,CAAWa,OAAX,CAAmB,mCAAmCH,EAAE,EAAxD,CAAP;EACD;;EAEDI,MAAM,CAACC,IAAD,EAAW;IACf,MAAMC,QAAQ,GAAG,IAAIC,QAAJ,EAAjB;IACAD,QAAQ,CAACE,MAAT,CAAgB,MAAhB,EAAwBH,IAAxB;IACA,OAAO,KAAKf,KAAL,CAAWQ,KAAX,CAAiB,wCAAjB,EAA2DQ,QAA3D,CAAP;EACD;;EAEDG,MAAM;IACJ,OAAO,KAAKnB,KAAL,CAAWC,IAAX,CAAgB,wCAAhB,EAA0D;MAC/DmB,YAAY,EAAE;IADiD,CAA1D,CAAP;EAGD;;AApCkC;;QAAxBvB,O,GAAAA,O","names":["Product","Resource","getAll","axios","$get","getPaginated","pagination","query","params","create","payload","$post","update","id","$put","delete","$delete","import","file","formData","FormData","append","export","responseType"],"sourceRoot":"","sources":["../../../ts/api/resources/Product.ts"],"sourcesContent":["import { Resource } from '../Resource';\nimport {\n IProduct, QueryPaginate, QueryProduct, BasePaginate, CreateProduct, 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(pagination: QueryPaginate, query?: QueryProduct): Promise<BasePaginate<IProduct>> {\n return this.axios.$get('/commercial-management/products', {\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}"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PromoCode.js","mappings":";;;;;;;AAAA;;AAKM,MAAOA,SAAP,SAAyBC,kBAAzB,CAAiC;
|
|
1
|
+
{"version":3,"file":"PromoCode.js","mappings":";;;;;;;AAAA;;AAKM,MAAOA,SAAP,SAAyBC,kBAAzB,CAAiC;EACrCC,MAAM;IACJ,OAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,YAAhB,CAAP;EACD;;EAEDC,MAAM,CAACC,OAAD,EAAyB;IAC7B,OAAO,KAAKH,KAAL,CAAWI,KAAX,CAAiB,YAAjB,EAA+BD,OAA/B,CAAP;EACD;;EAEDE,MAAM,CAACC,EAAD,EAAaH,OAAb,EAAqC;IACzC,OAAO,KAAKH,KAAL,CAAWO,IAAX,CAAgB,cAAcD,EAAE,EAAhC,EAAoCH,OAApC,CAAP;EACD;;EAEDK,MAAM,CAACF,EAAD,EAAW;IACf,OAAO,KAAKN,KAAL,CAAWS,OAAX,CAAmB,cAAcH,EAAE,EAAnC,CAAP;EACD;;EAEDI,mBAAmB,CAACC,MAAD,EAA8B;IAC/C,OAAO,KAAKX,KAAL,CAAWC,IAAX,CAAgB,oBAAhB,EAAsC;MAAEU;IAAF,CAAtC,CAAP;EACD;;EAEDC,sBAAsB,CAACD,MAAD,EAA+B;IACnD,OAAO,KAAKX,KAAL,CAAWI,KAAX,CAAiB,oBAAjB,EAAuC;MAAEO;IAAF,CAAvC,CAAP;EACD;;EAEDE,sBAAsB,CAACP,EAAD,EAAaK,MAAb,EAAoD;IACxE,OAAO,KAAKX,KAAL,CAAWO,IAAX,CAAgB,sBAAsBD,EAAE,EAAxC,EAA4C;MAAEK;IAAF,CAA5C,CAAP;EACD;;EAEDG,sBAAsB,CAACR,EAAD,EAAW;IAC/B,OAAO,KAAKN,KAAL,CAAWS,OAAX,CAAmB,sBAAsBH,EAAE,EAA3C,CAAP;EACD;;EAEDS,sBAAsB,CAACJ,MAAD,EAAuC;IAC3D,OAAO,KAAKX,KAAL,CAAWC,IAAX,CAAgB,yBAAhB,EAA2C;MAAEU;IAAF,CAA3C,CAAP;EACD;;AAnCoC;;QAA1Bd,S,GAAAA,S","names":["PromoCode","Resource","getAll","axios","$get","create","payload","$post","update","id","$put","delete","$delete","getDefaultPromotion","params","createDefaultPromotion","updateDefaultPromotion","deleteDefaultPromotion","getAllDefaultPromotion"],"sourceRoot":"","sources":["../../../ts/api/resources/PromoCode.ts"],"sourcesContent":["import { Resource } from '../Resource';\nimport {\n IPromoCode, CreatePromoCode, UpdatePromoCode, QueryDefaultPromotion, ReadDefaultPromotion, CreateDefaultPromoCode, IDefaultPromotion, BasePaginate, ReadDefaultPaginationPromoCode,\n} from '../../types';\n\nexport class PromoCode extends Resource {\n getAll(): Promise<IPromoCode[]> {\n return this.axios.$get('/promoCode');\n }\n\n create(payload: CreatePromoCode): Promise<IPromoCode> {\n return this.axios.$post('/promoCode', payload);\n }\n\n update(id: number, payload: UpdatePromoCode): Promise<IPromoCode> {\n return this.axios.$put(`/promoCode/${id}`, payload);\n }\n\n delete(id: number): Promise<void> {\n return this.axios.$delete(`/promoCode/${id}`);\n }\n\n getDefaultPromotion(params: QueryDefaultPromotion): Promise<ReadDefaultPromotion | null> {\n return this.axios.$get('/promoCode/default', { params });\n }\n\n createDefaultPromotion(params: CreateDefaultPromoCode): Promise<IDefaultPromotion> {\n return this.axios.$post('/promoCode/default', { params });\n }\n\n updateDefaultPromotion(id: number, params: Partial<CreateDefaultPromoCode>): Promise<number> {\n return this.axios.$put(`/promoCode/default/${id}`, { params });\n }\n\n deleteDefaultPromotion(id: number): Promise<number> {\n return this.axios.$delete(`/promoCode/default/${id}`);\n }\n\n getAllDefaultPromotion(params: ReadDefaultPaginationPromoCode): Promise<BasePaginate<IDefaultPromotion>> {\n return this.axios.$get('/promoCode/default/list', { params });\n }\n}"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Provision.js","mappings":";;;;;;;AAAA;;AAKM,MAAOA,SAAP,SAAyBC,kBAAzB,CAAiC;
|
|
1
|
+
{"version":3,"file":"Provision.js","mappings":";;;;;;;AAAA;;AAKM,MAAOA,SAAP,SAAyBC,kBAAzB,CAAiC;EACrCC,MAAM,CAACC,MAAD,EAA2B;IAC/B,OAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,4BAAhB,EAA8C;MAAEF;IAAF,CAA9C,CAAP;EACD;;EAEDG,GAAG,CAACH,MAAD,EAA4C;IAC7C,OAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,8BAA8BF,MAAM,CAACI,uBAAuB,EAA5E,CAAP;EACD;;EAEDC,MAAM,CAACC,OAAD,EAA6B;IACjC,OAAO,KAAKL,KAAL,CAAWM,KAAX,CAAiB,4BAAjB,EAA+CD,OAA/C,CAAP;EACD;;EAEDE,MAAM,CAACJ,uBAAD,EAAkCE,OAAlC,EAA8D;IAClE,OAAO,KAAKL,KAAL,CAAWQ,IAAX,CAAgB,8BAA8BL,uBAAuB,EAArE,EAAyEE,OAAzE,CAAP;EACD;;EAEDI,MAAM,CAACN,uBAAD,EAAgC;IACpC,OAAO,KAAKH,KAAL,CAAWU,OAAX,CAAmB,8BAA8BP,uBAAuB,EAAxE,CAAP;EACD;;AAnBoC;;QAA1BP,S,GAAAA,S","names":["Provision","Resource","getAll","params","axios","$get","get","idAccountingTransaction","create","payload","$post","update","$put","delete","$delete"],"sourceRoot":"","sources":["../../../ts/api/resources/Provision.ts"],"sourcesContent":["import { Resource } from '../Resource';\nimport {\n CreateProvisionForm, QueryGetProvisions, ReadProvision, UpdateProvisionForm,\n} from '../../types';\n\nexport class Provision extends Resource {\n getAll(params: QueryGetProvisions): Promise<ReadProvision[]> {\n return this.axios.$get('/balance-sheets/provisions', { params });\n }\n\n get(params: { idAccountingTransaction: number }): Promise<ReadProvision> {\n return this.axios.$get(`/balance-sheets/provisions/${params.idAccountingTransaction}`);\n }\n\n create(payload: CreateProvisionForm): Promise<ReadProvision> {\n return this.axios.$post('/balance-sheets/provisions', payload);\n }\n\n update(idAccountingTransaction: number, payload: UpdateProvisionForm): Promise<ReadProvision> {\n return this.axios.$put(`/balance-sheets/provisions/${idAccountingTransaction}`, payload);\n }\n\n delete(idAccountingTransaction: number): Promise<void> {\n return this.axios.$delete(`/balance-sheets/provisions/${idAccountingTransaction}`);\n }\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Qonto.js","mappings":";;;;;;;AACA;;AAEM,MAAOA,KAAP,SAAqBC,kBAArB,CAA6B;
|
|
1
|
+
{"version":3,"file":"Qonto.js","mappings":";;;;;;;AACA;;AAEM,MAAOA,KAAP,SAAqBC,kBAArB,CAA6B;EACjCC,MAAM,CACJC,gBADI,EACoB;IAExB,OAAO,KAAKC,KAAL,CAAWC,OAAX,CAAmB,SAASF,gBAAgB,EAA5C,CAAP;EACD;;AALgC;;QAAtBH,K,GAAAA,K","names":["Qonto","Resource","delete","idBankConnection","axios","$delete"],"sourceRoot":"","sources":["../../../ts/api/resources/Qonto.ts"],"sourcesContent":["import { IBankAccount } from '../../types';\nimport { Resource } from '../Resource';\n\nexport class Qonto extends Resource {\n delete(\n idBankConnection: number,\n ): Promise<IBankAccount> {\n return this.axios.$delete(`qonto/${idBankConnection}`);\n }\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QuotesAccount.js","mappings":";;;;;;;AAAA;;AAGA,MAAMA,KAAK,GAAG,QAAd;;AACM,MAAOC,aAAP,SAA6BC,kBAA7B,CAAqC;
|
|
1
|
+
{"version":3,"file":"QuotesAccount.js","mappings":";;;;;;;AAAA;;AAGA,MAAMA,KAAK,GAAG,QAAd;;AACM,MAAOC,aAAP,SAA6BC,kBAA7B,CAAqC;EACzCC,MAAM,CACJC,MADI,EACuD;IAE3D,OAAO,KAAKC,KAAL,CAAWC,KAAX,CAAiB,GAAGN,KAAK,UAAzB,EAAqCI,MAArC,CAAP;EACD;;EAEDG,GAAG,CAACC,UAAD,EAAmB;IACpB,OAAO,KAAKH,KAAL,CAAWI,IAAX,CAAgB,GAAGT,KAAK,YAAYQ,UAAU,EAA9C,CAAP;EACD;;EAEDE,MAAM,CACJN,MADI,EACsB;IAE1B,OAAO,KAAKC,KAAL,CAAWM,IAAX,CAAgB,GAAGX,KAAK,UAAxB,EAAoCI,MAApC,CAAP;EACD;;AAfwC;;QAA9BH,a,GAAAA,a","names":["ROUTE","QuotesAccount","Resource","create","params","axios","$post","get","idExercice","$get","update","$put"],"sourceRoot":"","sources":["../../../ts/api/resources/QuotesAccount.ts"],"sourcesContent":["import { Resource } from '../Resource';\nimport { IAccountingTransaction, QueryQuotesAccount, ReadQuoteAccount } from '../../types';\n\nconst ROUTE = 'quotes';\nexport class QuotesAccount extends Resource {\n create(\n params: Omit<QueryQuotesAccount, 'idAccountingTransaction'>,\n ): Promise<IAccountingTransaction> {\n return this.axios.$post(`${ROUTE}/account`, params);\n }\n\n get(idExercice: number): Promise<ReadQuoteAccount[]> {\n return this.axios.$get(`${ROUTE}/account/${idExercice}`);\n }\n\n update(\n params: QueryQuotesAccount,\n ): Promise<IAccountingTransaction> {\n return this.axios.$put(`${ROUTE}/account`, params);\n }\n}"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Registration.js","mappings":";;;;;;;AAAA;;AAKM,MAAOA,YAAP,SAA4BC,kBAA5B,CAAoC;
|
|
1
|
+
{"version":3,"file":"Registration.js","mappings":";;;;;;;AAAA;;AAKM,MAAOA,YAAP,SAA4BC,kBAA5B,CAAoC;EACxCC,cAAc,CAACC,UAAD,EAAqBC,MAArB,EAA+C;IAC3D,OAAO,KAAKC,KAAL,CAAWC,KAAX,CAAiB,cAAcH,UAAU,gBAAzC,EAA2DC,MAA3D,CAAP;EACD;;EACDG,sBAAsB,CAACH,MAAD,EAAkC;IACtD,OAAO,KAAKC,KAAL,CAAWC,KAAX,CAAiB,yBAAjB,EAA4CF,MAA5C,CAAP;EACD;;EACDI,MAAM,CAACC,SAAD,EAAoBL,MAApB,EAA8C;IAClD,OAAO,KAAKC,KAAL,CAAWK,IAAX,CAAgB,cAAcD,SAAS,gBAAvC,EAAuDE,kBAAQP,MAAM,GAAG;MAAEA;IAAF,CAAH,GAAgB,EAA9B,CAAvD,CAAP;EACD;;EACDQ,OAAO,CAACC,EAAD,EAAW;IAChB,OAAO,KAAKR,KAAL,CAAWC,KAAX,CAAiB,kBAAkBO,EAAE,UAArC,CAAP;EACD;;AAZuC;;QAA7Bb,Y,GAAAA,Y","names":["Registration","Resource","updateOrCreate","idExercice","params","axios","$post","updateOrCreateSettings","getAll","idSociety","$get","Object","declare","id"],"sourceRoot":"","sources":["../../../ts/api/resources/Registration.ts"],"sourcesContent":["import { Resource } from '../Resource';\nimport {\n CreateRegistration, ReadRegistration, CreateRegistrationSetting, IVatDeclarationSocietyDetail, QueryRegistration,\n} from '../../types';\n\nexport class Registration extends Resource {\n updateOrCreate(idExercice: number, params: CreateRegistration): Promise<ReadRegistration> {\n return this.axios.$post(`/exercices/${idExercice}/registrations`, params);\n }\n updateOrCreateSettings(params: CreateRegistrationSetting): Promise<IVatDeclarationSocietyDetail> {\n return this.axios.$post('/registrations/settings', params);\n }\n getAll(idSociety: number, params?: QueryRegistration): Promise<ReadRegistration[]> {\n return this.axios.$get(`/societies/${idSociety}/registrations`, { ...(params ? { params } : {}) });\n }\n declare(id: number): Promise<ReadRegistration> {\n return this.axios.$post(`/registrations/${id}/declare`);\n }\n}"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Report.js","mappings":";;;;;;;AAIA;;AAEM,MAAOA,MAAP,SAAsBC,kBAAtB,CAA8B;
|
|
1
|
+
{"version":3,"file":"Report.js","mappings":";;;;;;;AAIA;;AAEM,MAAOA,MAAP,SAAsBC,kBAAtB,CAA8B;EAClCC,WAAW,CAACC,MAAD,EAAuCC,WAAvC,EAAgE;IACzE,OAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,UAAhB,EAA0BC;MAAIJ;IAAJ,GAAgBC,WAAW,GAAG;MAAEA;IAAF,CAAH,GAAqB,EAAhD,CAA1B,CAAP;EACD;;EACDI,QAAQ,CAACL,MAAD,EAA4BC,WAA5B,EAAqD;IAC3D,OAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,gBAAhB,EAAgCC;MAAIJ;IAAJ,GAAgBC,WAAW,GAAG;MAAEA;IAAF,CAAH,GAAqB,EAAhD,CAAhC,CAAP;EACD;;EACDK,MAAM,CAACN,MAAD,EAAqB;IACzB,OAAO,KAAKE,KAAL,CAAWK,IAAX,CAAgB,UAAhB,EAA4BP,MAA5B,CAAP;EACD;;EACDQ,MAAM,CAACR,MAAD,EAAqB;IACzB,OAAO,KAAKE,KAAL,CAAWO,KAAX,CAAiB,UAAjB,EAA6BT,MAA7B,CAAP;EACD;;EACDU,MAAM,CAACV,MAAD,EAAqB;IACzB,OAAO,KAAKE,KAAL,CAAWS,OAAX,CAAmB,YAAYX,MAAM,CAACY,EAAE,EAAxC,CAAP;EACD;;AAfiC;;QAAvBf,M,GAAAA,M","names":["Report","Resource","getPaginate","params","cancelToken","axios","$get","Object","getStats","update","$put","create","$post","delete","$delete","id"],"sourceRoot":"","sources":["../../../ts/api/resources/Report.ts"],"sourcesContent":["import { CancelToken } from 'axios';\nimport {\n BasePaginate, CreateReport, DeleteReport, QueryPaginate, QueryReports, 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 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}"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Revision.js","mappings":";;;;;;;AAAA;;AAQM,MAAOA,QAAP,SAAwBC,kBAAxB,CAAgC;
|
|
1
|
+
{"version":3,"file":"Revision.js","mappings":";;;;;;;AAAA;;AAQM,MAAOA,QAAP,SAAwBC,kBAAxB,CAAgC;EACpCC,gBAAgB,CAACC,MAAD,EAAsB;IACpC,OAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,qBAAhB,EAAuC;MAAEF;IAAF,CAAvC,CAAP;EACD;;EAEDG,gCAAgC,CAACC,SAAD,EAAoBJ,MAApB,EAAgD;IAC9E,OAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,uBAAuBE,SAAS,EAAhD,EAAoD;MAAEJ;IAAF,CAApD,CAAP;EACD;;EAEDK,kBAAkB,CAACC,uBAAD,EAAgC;IAChD,OAAO,KAAKL,KAAL,CAAWC,IAAX,CAAgB,2BAA2BI,uBAAuB,EAAlE,CAAP;EACD;;EAEDC,oBAAoB,CAACP,MAAD,EAAmC;IACrD,OAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,mBAAhB,EAAqC;MAAEF;IAAF,CAArC,CAAP;EACD;;EAEDQ,gBAAgB,CAACJ,SAAD,EAAoBK,UAApB,EAA6D;IAC3E,OAAO,KAAKR,KAAL,CAAWS,KAAX,CAAiB,iCAAiCN,SAAS,EAA3D,EAA+DK,UAA/D,CAAP;EACD;;AAnBmC;;QAAzBZ,Q,GAAAA,Q","names":["Revision","Resource","getAllByAccounts","params","axios","$get","getPaginateTransactionsByAccount","idAccount","getTransactionById","idAccountingTransaction","getPaginateEntriesBy","mergeIntoAccount","bodyParams","$post"],"sourceRoot":"","sources":["../../../ts/api/resources/Revision.ts"],"sourcesContent":["import { Resource } from '../Resource';\nimport {\n BasePaginate, QueryRevisionMergeIntoAccount, QueryRevision, QueryRevisionAccount, ReadRevision, ReadRevisionAccount,\n ReadRevisionTransactionDetail,\n ReadRevisionMergeIntoAccount,\n QueryRevisionSearchEntries,\n} from '../..';\n\nexport class Revision extends Resource {\n getAllByAccounts(params: QueryRevision): Promise<ReadRevision[]> {\n return this.axios.$get('/revisions/accounts', { params });\n }\n\n getPaginateTransactionsByAccount(idAccount: number, params: QueryRevisionAccount): Promise<BasePaginate<ReadRevisionAccount>> {\n return this.axios.$get(`/revisions/accounts/${idAccount}`, { params });\n }\n\n getTransactionById(idAccountingTransaction: number): Promise<ReadRevisionTransactionDetail> {\n return this.axios.$get(`/revisions/transactions/${idAccountingTransaction}`);\n }\n\n getPaginateEntriesBy(params: QueryRevisionSearchEntries): Promise<BasePaginate<ReadRevisionAccount>> {\n return this.axios.$get('/revisions/search', { params });\n }\n\n mergeIntoAccount(idAccount: number, bodyParams: QueryRevisionMergeIntoAccount): Promise<ReadRevisionMergeIntoAccount> {\n return this.axios.$post(`/revisions/merge-into-account/${idAccount}`, bodyParams);\n }\n}"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RevisionGuide.js","mappings":";;;;;;;AAAA;;AAGM,MAAOA,aAAP,SAA6BC,kBAA7B,CAAqC;
|
|
1
|
+
{"version":3,"file":"RevisionGuide.js","mappings":";;;;;;;AAAA;;AAGM,MAAOA,aAAP,SAA6BC,kBAA7B,CAAqC;EACzCC,MAAM,CAACC,UAAD,EAAmB;IACvB,OAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,aAAaF,UAAU,gBAAvC,CAAP;EACD;;EAEDG,cAAc,CAACH,UAAD,EAAqBI,OAArB,EAAmD;IAC/D,OAAO,KAAKH,KAAL,CAAWI,KAAX,CAAiB,aAAaL,UAAU,gBAAxC,EAA0DI,OAA1D,CAAP;EACD;;EAEDE,YAAY,CAACN,UAAD,EAAmB;IAC7B,OAAO,KAAKC,KAAL,CAAWI,KAAX,CAAiB,aAAaL,UAAU,qBAAxC,CAAP;EACD;;AAXwC;;QAA9BH,a,GAAAA,a","names":["RevisionGuide","Resource","getAll","idExercice","axios","$get","updateOrCreate","payload","$post","generateFile"],"sourceRoot":"","sources":["../../../ts/api/resources/RevisionGuide.ts"],"sourcesContent":["import { Resource } from '../Resource';\nimport { CreateRevisionGuide, IRevisionGuide } from '../../types';\n\nexport class RevisionGuide extends Resource {\n getAll(idExercice: number): Promise<IRevisionGuide[]> {\n return this.axios.$get(`/exercice/${idExercice}/revisionGuide`);\n }\n\n updateOrCreate(idExercice: number, payload: CreateRevisionGuide[]): Promise<IRevisionGuide[]> {\n return this.axios.$post(`/exercice/${idExercice}/revisionGuide`, payload);\n }\n\n generateFile(idExercice: number): Promise<IRevisionGuide[]> {\n return this.axios.$post(`/exercice/${idExercice}/revisionGuide/file`);\n }\n}"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SalariesFile.js","mappings":";;;;;;;AAAA;;AAGM,MAAOA,YAAP,SAA4BC,kBAA5B,CAAoC;
|
|
1
|
+
{"version":3,"file":"SalariesFile.js","mappings":";;;;;;;AAAA;;AAGM,MAAOA,YAAP,SAA4BC,kBAA5B,CAAoC;EACxCC,MAAM,CAACC,MAAD,EAA2B;IAC/B,OAAO,KAAKC,KAAL,CAAWC,KAAX,CAAiB,cAAjB,EAAiCF,MAAjC,CAAP;EACD;EAED;;;;;;;EAKAG,MAAM,CAACH,MAAD,EAAkC;IACtC,OAAO,KAAKC,KAAL,CAAWG,OAAX,CAAmB,iBAAiBJ,MAAM,CAACK,aAAa,EAAxD,CAAP;EACD;EAED;;;;;;;;EAMAC,MAAM,CAACN,MAAD,EAA+B;IACnC,OAAO,KAAKC,KAAL,CAAWM,IAAX,CAAgB,0BAA0BP,MAAM,CAACQ,UAAU,EAA3D,CAAP;EACD;;AAtBuC;;QAA7BX,Y,GAAAA,Y","names":["SalariesFile","Resource","create","params","axios","$post","delete","$delete","idSalarieFile","getAll","$get","idExercice"],"sourceRoot":"","sources":["../../../ts/api/resources/SalariesFile.ts"],"sourcesContent":["import { Resource } from '../Resource';\nimport { CreateSalariesFile, ReadSalariesFile } from '../../types';\n\nexport class SalariesFile extends Resource {\n create(params: CreateSalariesFile): Promise<ReadSalariesFile> {\n return this.axios.$post('salariesFile', params);\n }\n\n /**\n * delete SalariesFile\n * @param params\n * @returns\n */\n delete(params: { idSalarieFile: number }): Promise<number> {\n return this.axios.$delete(`/salariesFile/${params.idSalarieFile}`);\n }\n\n /**\n * Get des salaries File\n *\n * @param params\n * @returns\n */\n getAll(params: { idExercice: number }): Promise<ReadSalariesFile[]> {\n return this.axios.$get(`/salariesFile/exercice/${params.idExercice}`);\n }\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Search.js","mappings":";;;;;;;AACA;;AAEM,MAAOA,MAAP,SAAsBC,kBAAtB,CAA8B;
|
|
1
|
+
{"version":3,"file":"Search.js","mappings":";;;;;;;AACA;;AAEM,MAAOA,MAAP,SAAsBC,kBAAtB,CAA8B;EAClCC,WAAW,CAACC,KAAD,EAA+B;IACxC,OAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,kBAAhB,EAAoC;MAAEC,MAAM,EAAEH;IAAV,CAApC,CAAP;EACD;;EACDI,oBAAoB,CAACJ,KAAD,EAAuC;IACzD,OAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,2BAAhB,EAA6C;MAAEC,MAAM,EAAEH;IAAV,CAA7C,CAAP;EACD;;AANiC;;QAAvBH,M,GAAAA,M","names":["Search","Resource","getBusiness","query","axios","$get","params","getDocumentFromToken"],"sourceRoot":"","sources":["../../../ts/api/resources/Search.ts"],"sourcesContent":["import { QueryGetBusinessPappers, ReadBusinessPappers, QueryGetBusinessDocumentPappers } from '../../types';\nimport { Resource } from '../Resource';\n\nexport class Search extends Resource {\n getBusiness(query: QueryGetBusinessPappers): Promise<ReadBusinessPappers> {\n return this.axios.$get('/search/business', { params: query });\n }\n getDocumentFromToken(query: QueryGetBusinessDocumentPappers): Promise<void> {\n return this.axios.$get('/search/business/document', { params: query });\n }\n}"]}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.SheetMonthSchedule = undefined;
|
|
7
|
+
|
|
8
|
+
var _Resource = require("../Resource");
|
|
9
|
+
|
|
10
|
+
class SheetMonthSchedule extends _Resource.Resource {
|
|
11
|
+
create(idEmployee, payload) {
|
|
12
|
+
return this.axios.$post(`/sheet-month-schedules/${idEmployee}`, payload);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
getAll(idEmployee) {
|
|
16
|
+
return this.axios.$get(`/employees/${idEmployee}/sheet-month-schedules`);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
get(id) {
|
|
20
|
+
return this.axios.$get(`/sheet-month-schedules/${id}`);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
update(id, payload) {
|
|
24
|
+
return this.axios.$put(`/sheet-month-schedules/${id}`, payload);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
delete(id) {
|
|
28
|
+
return this.axios.$delete(`/sheet-month-schedules/${id}`);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
getPaginate(params) {
|
|
32
|
+
return this.axios.$get('/employees/sheet-month-schedules', {
|
|
33
|
+
params
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
exports.SheetMonthSchedule = SheetMonthSchedule;
|
|
40
|
+
//# sourceMappingURL=SheetMonthSchedule.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SheetMonthSchedule.js","mappings":";;;;;;;AAGA;;AAEM,MAAOA,kBAAP,SAAkCC,kBAAlC,CAA0C;EACvCC,MAAM,CAACC,UAAD,EAAqBC,OAArB,EAAkF;IAC7F,OAAO,KAAKC,KAAL,CAAWC,KAAX,CAAiB,0BAA0BH,UAAU,EAArD,EAAyDC,OAAzD,CAAP;EACD;;EAEMG,MAAM,CAACJ,UAAD,EAAmB;IAC9B,OAAO,KAAKE,KAAL,CAAWG,IAAX,CAAgB,cAAcL,UAAU,wBAAxC,CAAP;EACD;;EAEMM,GAAG,CAACC,EAAD,EAAW;IACnB,OAAO,KAAKL,KAAL,CAAWG,IAAX,CAAgB,0BAA0BE,EAAE,EAA5C,CAAP;EACD;;EAEMC,MAAM,CAACD,EAAD,EAAaN,OAAb,EAAkD;IAC7D,OAAO,KAAKC,KAAL,CAAWO,IAAX,CAAgB,0BAA0BF,EAAE,EAA5C,EAAgDN,OAAhD,CAAP;EACD;;EAEMS,MAAM,CAACH,EAAD,EAAW;IACtB,OAAO,KAAKL,KAAL,CAAWS,OAAX,CAAmB,0BAA0BJ,EAAE,EAA/C,CAAP;EACD;;EAEMK,WAAW,CAACC,MAAD,EAAgC;IAChD,OAAO,KAAKX,KAAL,CAAWG,IAAX,CAAgB,kCAAhB,EAAoD;MAAEQ;IAAF,CAApD,CAAP;EACD;;AAvB6C;;QAAnChB,kB,GAAAA,kB","names":["SheetMonthSchedule","Resource","create","idEmployee","payload","axios","$post","getAll","$get","get","id","update","$put","delete","$delete","getPaginate","params"],"sourceRoot":"","sources":["../../../ts/api/resources/SheetMonthSchedule.ts"],"sourcesContent":["import {\n BasePaginate, ISheetMonthSchedule, QuerySheetMonthSchedule,\n} from '../../types';\nimport { Resource } from '../Resource';\n\nexport class SheetMonthSchedule extends Resource {\n public create(idEmployee: number, payload: Omit<ISheetMonthSchedule, 'idEmployee' | 'employee'>): Promise<ISheetMonthSchedule> {\n return this.axios.$post(`/sheet-month-schedules/${idEmployee}`, payload);\n }\n\n public getAll(idEmployee: number): Promise<ISheetMonthSchedule[]> {\n return this.axios.$get(`/employees/${idEmployee}/sheet-month-schedules`);\n }\n\n public get(id: number): Promise<ISheetMonthSchedule> {\n return this.axios.$get(`/sheet-month-schedules/${id}`);\n }\n\n public update(id: number, payload: Partial<ISheetMonthSchedule>): Promise<ISheetMonthSchedule> {\n return this.axios.$put(`/sheet-month-schedules/${id}`, payload);\n }\n\n public delete(id: number): Promise<true> {\n return this.axios.$delete(`/sheet-month-schedules/${id}`);\n }\n\n public getPaginate(params: QuerySheetMonthSchedule): Promise<BasePaginate<SheetMonthSchedule>> {\n return this.axios.$get('/employees/sheet-month-schedules', { params });\n }\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Shine.js","mappings":";;;;;;;AAAA;;AAKM,MAAOA,KAAP,SAAqBC,kBAArB,CAA6B;
|
|
1
|
+
{"version":3,"file":"Shine.js","mappings":";;;;;;;AAAA;;AAKM,MAAOA,KAAP,SAAqBC,kBAArB,CAA6B;EACjCC,OAAO,CAACC,SAAD,EAAoBC,MAApB,EAAsC;IAC3C,OAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,UAAUH,SAAS,UAAnC,EAA+C;MAAEC;IAAF,CAA/C,CAAP;EACD;;EACDG,iBAAiB,CAACJ,SAAD,EAAoBC,MAApB,EAA8C;IAC7D,OAAO,KAAKC,KAAL,CAAWG,KAAX,CAAiB,UAAUL,SAAS,oBAApC,EAA0DC,MAA1D,CAAP;EACD;;EACDK,kBAAkB,CAACL,MAAD,EAAgC;IAChD,OAAO,KAAKC,KAAL,CAAWG,KAAX,CAAiB,2BAAjB,EAA8CJ,MAA9C,CAAP;EACD;;AATgC;;QAAtBJ,K,GAAAA,K","names":["Shine","Resource","connect","idSociety","params","axios","$get","importBankAccount","$post","importTransactions"],"sourceRoot":"","sources":["../../../ts/api/resources/Shine.ts"],"sourcesContent":["import { Resource } from '../Resource';\nimport {\n IBankAccount, CreateShineTransactions, GetConnect, CreateShineAccount, ConnectResponse,\n} from '../../types';\n\nexport class Shine extends Resource {\n connect(idSociety: number, params: GetConnect): Promise<ConnectResponse> {\n return this.axios.$get(`/shine/${idSociety}/connect`, { params });\n }\n importBankAccount(idSociety: number, params: CreateShineAccount): Promise<IBankAccount> {\n return this.axios.$post(`/shine/${idSociety}/importBankAccount`, params);\n }\n importTransactions(params: CreateShineTransactions): Promise<number> {\n return this.axios.$post('/shine/importTransactions', params);\n }\n}"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Simulation.js","mappings":";;;;;;;AAAA;;AAOM,MAAOA,UAAP,SAA0BC,kBAA1B,CAAkC;
|
|
1
|
+
{"version":3,"file":"Simulation.js","mappings":";;;;;;;AAAA;;AAOM,MAAOA,UAAP,SAA0BC,kBAA1B,CAAkC;EACtCC,YAAY,CAACC,MAAD,EAA8C;IACxD,OAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,YAAYF,MAAM,CAACG,SAAS,cAA5C,EAA4D;MACjEH;IADiE,CAA5D,CAAP;EAGD;;EAEDI,yBAAyB,CAACJ,MAAD,EAA8B;IACrD,OAAO,KAAKC,KAAL,CAAWI,KAAX,CAAiB,YAAYL,MAAM,CAACG,SAAS,4BAA7C,CAAP;EACD;;EAEDG,SAAS;IACP,OAAO,KAAKL,KAAL,CAAWC,IAAX,CAAgB,oBAAhB,CAAP;EACD;;AAbqC;;QAA3BL,U,GAAAA,U","names":["Simulation","Resource","getBySociety","params","axios","$get","idSociety","hideSimulationBetaMessage","$post","getColors"],"sourceRoot":"","sources":["../../../ts/api/resources/Simulation.ts"],"sourcesContent":["import { Resource } from '../Resource';\nimport {\n BasePaginate,\n ISimulation, ISociety,\n QueryPaginate, ReadSimulationColor,\n} from '../../types';\n\nexport class Simulation extends Resource {\n getBySociety(params: { idSociety: number } & QueryPaginate): Promise<BasePaginate<ISimulation>> {\n return this.axios.$get(`/society/${params.idSociety}/simulations`, {\n params,\n });\n }\n\n hideSimulationBetaMessage(params: { idSociety: number }): Promise<ISociety> {\n return this.axios.$post(`/society/${params.idSociety}/hideSimulationBetaMessage`);\n }\n\n getColors(): Promise<ReadSimulationColor[]> {\n return this.axios.$get('/simulation/colors');\n }\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Society.js","mappings":";;;;;;;AACA;;AAsBM,MAAOA,OAAP,SAAuBC,kBAAvB,CAA+B;
|
|
1
|
+
{"version":3,"file":"Society.js","mappings":";;;;;;;AACA;;AAsBM,MAAOA,OAAP,SAAuBC,kBAAvB,CAA+B;EAC5BC,GAAG,CAACC,MAAD,EAAqB;IAC7B,OAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,UAAhB,EAA4B;MAAEF;IAAF,CAA5B,CAAP;EACD;;EAEMG,YAAY,CAACH,MAAD,EAAgCI,WAAhC,EAAyD;IAC1E,OAAO,KAAKH,KAAL,CAAWC,IAAX,CAAgB,oBAAhB,EAAoCG,gCACrCD,WAAW,GAAG;MAAEA;IAAF,CAAH,GAAqB,EADK,GACF;MACvCJ;IADuC,CADE,CAApC,CAAP;EAID;;EAEDM,eAAe;IACb,OAAO,KAAKL,KAAL,CAAWC,IAAX,CAAgB,uBAAhB,CAAP;EACD;;EAEDK,kBAAkB,CAACC,IAAD,EAAwB;IACxC,OAAO,KAAKP,KAAL,CAAWQ,KAAX,CAAiB,uBAAjB,EAA0CD,IAA1C,CAAP;EACD;;EAEDE,kBAAkB,CAACF,IAAD,EAAwB;IACxC,OAAO,KAAKP,KAAL,CAAWU,IAAX,CAAgB,uBAAhB,EAAyCH,IAAzC,CAAP;EACD;;EACDI,aAAa,CAACJ,IAAD,EAAsBK,gBAAtB,EAA0DC,cAA1D,EAAiF;IAC5F,OAAO,KAAKb,KAAL,CAAWQ,KAAX,CAAiB,oCAAoCI,gBAAgB,mBAAmBC,cAAc,EAAtG,EAA0GN,IAA1G,CAAP;EACD;;EACDO,aAAa,CAACC,EAAD,EAAaR,IAAb,EAAgC;IAC3C,OAAO,KAAKP,KAAL,CAAWU,IAAX,CAAgB,YAAYK,EAAE,gBAA9B,EAAgDR,IAAhD,CAAP;EACD;;EAEDS,MAAM,CAACD,EAAD,EAAaE,OAAb,EAA0C;IAC9C,OAAO,KAAKjB,KAAL,CAAWkB,KAAX,CAAiB,YAAYH,EAAE,EAA/B,EAAmCE,OAAnC,CAAP;EACD;;EAEDE,OAAO,CAACJ,EAAD,EAAW;IAChB,MAAME,OAAO,GAAyB;MAAEG,OAAO,EAAE;QAAED,OAAO,EAAE,IAAX;QAAiBE,WAAW,EAAE,IAAIC,IAAJ;MAA9B;IAAX,CAAtC;IACA,OAAO,KAAKtB,KAAL,CAAWkB,KAAX,CAAiB,YAAYH,EAAE,EAA/B,EAAmCE,OAAnC,CAAP;EACD,CArCkC,CAuCnC;;;EACAM,cAAc,CAACxB,MAAD,EAAuB;IACnC,OAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,sBAAhB,EAAwC;MAAEF;IAAF,CAAxC,CAAP;EACD;;EACDyB,WAAW,CAACT,EAAD,EAAahB,MAAb,EAA0C;IACnD,OAAO,KAAKC,KAAL,CAAWQ,KAAX,CAAiB,YAAYO,EAAE,cAA/B,EAA+ChB,MAA/C,CAAP;EACD;;EACD0B,2BAA2B;IACzB,OAAO,KAAKzB,KAAL,CAAWQ,KAAX,CAAiB,kDAAjB,CAAP;EACD;;EACDkB,wBAAwB,CAACC,SAAD,EAAoBC,aAApB,EAA2C7B,MAA3C,EAAiF;IACvG,OAAO,KAAKC,KAAL,CAAWQ,KAAX,CAAiB,YAAYmB,SAAS,gBAAgBC,aAAa,gBAAnE,EAAqF7B,MAArF,CAAP;EACD;;EACD8B,eAAe,CAACF,SAAD,EAAoB5B,MAApB,EAA2C;IACxD,OAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,YAAY0B,SAAS,QAArC,EAA+C;MAAE5B;IAAF,CAA/C,CAAP;EACD;;EACD+B,UAAU,CAACH,SAAD,EAAoBI,MAApB,EAAkC;IAC1C,OAAO,KAAK/B,KAAL,CAAWgC,OAAX,CAAmB,YAAYL,SAAS,SAASI,MAAM,EAAvD,CAAP;EACD;;EACDE,iCAAiC,CAACN,SAAD,EAAoBpB,IAApB,EAA2D;IAC1F,OAAO,KAAKP,KAAL,CAAWQ,KAAX,CAAiB,YAAYmB,SAAS,8BAAtC,EAAsEpB,IAAtE,CAAP;EACD;;EACD2B,iCAAiC,CAACP,SAAD,EAAoBZ,EAApB,EAAgCR,IAAhC,EAAuE;IACtG,OAAO,KAAKP,KAAL,CAAWU,IAAX,CAAgB,YAAYiB,SAAS,gCAAgCZ,EAAE,EAAvE,EAA2ER,IAA3E,CAAP;EACD;;EACD4B,MAAM,CAACpB,EAAD,EAAW;IACf,OAAO,KAAKf,KAAL,CAAWgC,OAAX,CAAmB,YAAYjB,EAAE,EAAjC,CAAP;EACD;;AAlEkC;;QAAxBnB,O,GAAAA,O","names":["Society","Resource","get","params","axios","$get","getPaginated","cancelToken","Object","getInvoiceEmail","createInvoiceEmail","data","$post","updateInvoiceEmail","$put","createSociety","fromSubscription","isCreatedInApp","updateSociety","id","update","payload","patch","archive","society","archiveDate","Date","getDataSociety","synchronize","autoImportationTransactions","importBalanceBankAccount","idSociety","idBankAccount","listUserSociety","deleteUser","idUser","$delete","createUserToSocietyWithPermission","updateUserToSocietyWithPermission","delete"],"sourceRoot":"","sources":["../../../ts/api/resources/Society.ts"],"sourcesContent":["import { CancelToken } from 'axios';\nimport { Resource } from '../Resource';\nimport {\n CreateInvoiceMail,\n UpdateInvoiceMail,\n IMailSociety,\n ISociety,\n LegalFormSiren,\n GetDataSociety,\n CreateSociety,\n CreateSynchronization,\n UpdateSociety,\n CreateBudgetBalanceBankAccount,\n IUser,\n ListUserSociety,\n CreateUserToSocietyWithPermission,\n UpdateUserToSocietyWithPermission,\n ReadSocietyUsers,\n QuerySociety,\n UpdateSocietyPayload,\n QueryPaginatedSociety,\n} from '../../types';\n\nexport class Society extends Resource {\n public get(params: QuerySociety): Promise<Society> {\n return this.axios.$get('/society', { params });\n }\n\n public getPaginated(params: QueryPaginatedSociety, cancelToken?: CancelToken): Promise<Society[]> {\n return this.axios.$get('/society/paginated', {\n ...(cancelToken ? { cancelToken } : {}),\n params,\n });\n }\n\n getInvoiceEmail(): Promise<IMailSociety | Error> {\n return this.axios.$get('/society/invoiceEmail');\n }\n\n createInvoiceEmail(data: CreateInvoiceMail): Promise<IMailSociety | Error> {\n return this.axios.$post('/society/invoiceEmail', data);\n }\n\n updateInvoiceEmail(data: UpdateInvoiceMail): Promise<IMailSociety | Error> {\n return this.axios.$put('/society/invoiceEmail', data);\n }\n createSociety(data: CreateSociety, fromSubscription: boolean | string, isCreatedInApp: boolean): Promise<ISociety> {\n return this.axios.$post(`/society/create?fromSubscription=${fromSubscription}&isCreatedInApp=${isCreatedInApp}`, data);\n }\n updateSociety(id: number, data: UpdateSociety): Promise<ISociety> {\n return this.axios.$put(`/society/${id}/updateSociety`, data);\n }\n\n update(id: number, payload: UpdateSocietyPayload): Promise<ISociety> {\n return this.axios.patch(`/society/${id}`, payload);\n }\n\n archive(id: number): Promise<ISociety> {\n const payload: UpdateSocietyPayload = { society: { archive: true, archiveDate: new Date() } };\n return this.axios.patch(`/society/${id}`, payload);\n }\n\n // this endpoint is used to fetch from extern api for legalForm\n getDataSociety(params: GetDataSociety): Promise<LegalFormSiren[]> {\n return this.axios.$get('/society/dataSociety', { params });\n }\n synchronize(id: number, params: CreateSynchronization): Promise<string> {\n return this.axios.$post(`/society/${id}/synchronize`, params);\n }\n autoImportationTransactions(): Promise<void> {\n return this.axios.$post('/society/bankAccount/autoImportationTransactions');\n }\n importBalanceBankAccount(idSociety: number, idBankAccount: number, params: CreateBudgetBalanceBankAccount): Promise<number> {\n return this.axios.$post(`/society/${idSociety}/bankAccount/${idBankAccount}/importBalance`, params);\n }\n listUserSociety(idSociety: number, params: ListUserSociety):Promise<ReadSocietyUsers> {\n return this.axios.$get(`/society/${idSociety}/users`, { params });\n }\n deleteUser(idSociety: number, idUser: number): Promise<true> {\n return this.axios.$delete(`/society/${idSociety}/user/${idUser}`);\n }\n createUserToSocietyWithPermission(idSociety: number, data: CreateUserToSocietyWithPermission): Promise<IUser> {\n return this.axios.$post(`/society/${idSociety}/userToSocietyWithPermission`, data);\n }\n updateUserToSocietyWithPermission(idSociety: number, id: number, data: UpdateUserToSocietyWithPermission): Promise<IUser> {\n return this.axios.$put(`/society/${idSociety}/userToSocietyWithPermission/${id}`, data);\n }\n delete(id: number): Promise<number> {\n return this.axios.$delete(`/society/${id}`);\n }\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SocietyPromoCode.js","mappings":";;;;;;;AACA;;AAEM,MAAOA,gBAAP,SAAgCC,kBAAhC,CAAwC;
|
|
1
|
+
{"version":3,"file":"SocietyPromoCode.js","mappings":";;;;;;;AACA;;AAEM,MAAOA,gBAAP,SAAgCC,kBAAhC,CAAwC;EAC5CC,GAAG,CAACC,EAAD,EAAW;IACZ,OAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,YAAYF,EAAE,YAA9B,CAAP;EACD;;EAEDG,MAAM,CAACC,OAAD,EAAgC;IACpC,OAAO,KAAKH,KAAL,CAAWI,KAAX,CAAiB,oBAAjB,EAAuCD,OAAvC,CAAP;EACD;;EAEDE,MAAM,CAACN,EAAD,EAAW;IACf,OAAO,KAAKC,KAAL,CAAWM,OAAX,CAAmB,YAAYP,EAAE,YAAjC,CAAP;EACD;;AAX2C;;QAAjCH,gB,GAAAA,gB","names":["SocietyPromoCode","Resource","get","id","axios","$get","create","payload","$post","delete","$delete"],"sourceRoot":"","sources":["../../../ts/api/resources/SocietyPromoCode.ts"],"sourcesContent":["import { ISocietyPromoCode, CreateSocietyPromoCode, IPromoCode } from '../../types';\nimport { Resource } from '../Resource';\n\nexport class SocietyPromoCode extends Resource {\n get(id: number): Promise<IPromoCode> {\n return this.axios.$get(`/society/${id}/promoCode`);\n }\n\n create(payload: CreateSocietyPromoCode): Promise<ISocietyPromoCode> {\n return this.axios.$post('/society/promoCode', payload);\n }\n\n delete(id: number): Promise<void> {\n return this.axios.$delete(`/society/${id}/promoCode`);\n }\n}"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Sponsorship.js","mappings":";;;;;;;AAAA;;;;;;;;;;;;;AAMM,MAAOA,WAAP,SAA2BC,kBAA3B,CAAmC;
|
|
1
|
+
{"version":3,"file":"Sponsorship.js","mappings":";;;;;;;AAAA;;;;;;;;;;;;;AAMM,MAAOA,WAAP,SAA2BC,kBAA3B,CAAmC;EACvCC,eAAe,CAACC,MAAD,EAAyB;IACtC,MAAM;MAAEC;IAAF,IAA0BD,MAAhC;IAAA,MAAsBE,KAAK,UAAKF,MAAL,EAArB,aAAqB,CAA3B;;IACA,OAAO,KAAKG,KAAL,CAAWC,IAAX,CAAgB,YAAYH,SAAS,eAArC,EAAsD;MAAED,MAAM,EAAEE;IAAV,CAAtD,CAAP;EACD;;EAEDG,qBAAqB,CAACC,MAAD,EAAe;IAClC,OAAO,KAAKH,KAAL,CAAWC,IAAX,CAAgB,wBAAwBE,MAAM,EAA9C,CAAP;EACD;;EAEDC,yBAAyB,CAACC,IAAD,EAAa;IACpC,OAAO,KAAKL,KAAL,CAAWC,IAAX,CAAgB,4BAA4BI,IAAI,EAAhD,CAAP;EACD;;EAEDC,0BAA0B,CAACR,SAAD,EAAkB;IAC1C,OAAO,KAAKE,KAAL,CAAWO,KAAX,CAAiB,YAAYT,SAAS,kBAAtC,CAAP;EACD;;EAEDU,8BAA8B,CAACV,SAAD,EAAoBW,KAApB,EAAmC;IAC/D,OAAO,KAAKT,KAAL,CAAWO,KAAX,CAAiB,YAAYT,SAAS,uBAAtC,EAA+D;MAAEW;IAAF,CAA/D,CAAP;EACD;;EAEDC,sBAAsB,CAACb,MAAD,EAA0B;IAC9C,OAAO,KAAKG,KAAL,CAAWO,KAAX,CAAiB,sBAAjB,EAAyCV,MAAzC,CAAP;EACD;;AAxBsC;;QAA5BH,W,GAAAA,W","names":["Sponsorship","Resource","getSponsorships","params","idSociety","query","axios","$get","getSocietySponsorship","idUser","getSocietySponsorshipLink","code","postSocietySponsorshipLink","$post","postSocietySponsorshipLinkSend","email","postSocietySponsorship"],"sourceRoot":"","sources":["../../../ts/api/resources/Sponsorship.ts"],"sourcesContent":["import { Resource } from '../Resource';\nimport {\n BasePaginate, CreateSponsorship, ISponsorship, ISponsorshipCheck, ISponsorshipLink, QuerySponsorship,\n} from '../../types';\nimport { ISponsorshipWithSponsorInfo } from '../../types/Interface/models/ISponsorshipWithSponsorInfo';\n\nexport class Sponsorship extends Resource {\n getSponsorships(params: QuerySponsorship): Promise<BasePaginate<ISponsorship>> {\n const { idSociety, ...query } = params;\n return this.axios.$get(`/society/${idSociety}/sponsorships`, { params: query });\n }\n\n getSocietySponsorship(idUser: number): Promise<ISponsorshipWithSponsorInfo> {\n return this.axios.$get(`/society/sponsorship/${idUser}`);\n }\n\n getSocietySponsorshipLink(code: string): Promise<ISponsorshipCheck> {\n return this.axios.$get(`/society/sponsorshipLink/${code}`);\n }\n\n postSocietySponsorshipLink(idSociety: number): Promise<ISponsorshipLink> {\n return this.axios.$post(`/society/${idSociety}/sponsorshipLink`);\n }\n\n postSocietySponsorshipLinkSend(idSociety: number, email: string[]): Promise<boolean> {\n return this.axios.$post(`/society/${idSociety}/sponsorshipLink/send`, { email });\n }\n\n postSocietySponsorship(params: CreateSponsorship): Promise<ISponsorship> {\n return this.axios.$post('/society/sponsorship', params);\n }\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Step.js","mappings":";;;;;;;AAAA;;AAEA,MAAMA,KAAK,GAAG,SAAd;;AACM,MAAOC,KAAP,SAAqBC,kBAArB,CAA6B;
|
|
1
|
+
{"version":3,"file":"Step.js","mappings":";;;;;;;AAAA;;AAEA,MAAMA,KAAK,GAAG,SAAd;;AACM,MAAOC,KAAP,SAAqBC,kBAArB,CAA6B;EACjCC,WAAW,CACTC,SADS,EAETC,MAFS,EAEe;IAExB,OAAO,KAAKC,KAAL,CAAWC,KAAX,CAAiB,GAAGP,KAAK,iBAAiBI,SAAS,QAAnD,EAA6DC,MAA7D,CAAP;EACD;;AANgC;;QAAtBJ,K,GAAAA,K","names":["ROUTE","Steps","Resource","updateSteps","idSociety","params","axios","$post"],"sourceRoot":"","sources":["../../../ts/api/resources/Step.ts"],"sourcesContent":["import { Resource } from '../Resource';\n\nconst ROUTE = 'society';\nexport class Steps extends Resource {\n updateSteps(\n idSociety: number,\n params: { step: string },\n ): Promise<any> {\n return this.axios.$post(`${ROUTE}/subscription/${idSociety}/steps`, params);\n }\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Stocks.js","mappings":";;;;;;;AAAA;;AAGM,MAAOA,MAAP,SAAsBC,kBAAtB,CAA8B;
|
|
1
|
+
{"version":3,"file":"Stocks.js","mappings":";;;;;;;AAAA;;AAGM,MAAOA,MAAP,SAAsBC,kBAAtB,CAA8B;EAClCC,YAAY,CAACC,OAAD,EAAsB;IAChC,OAAO,KAAKC,KAAL,CAAWC,KAAX,CAAiB,iBAAjB,EAAoCF,OAApC,CAAP;EACD;;EAEDG,UAAU,CAACC,IAAD,EAAY;IACpB,OAAO,KAAKH,KAAL,CAAWC,KAAX,CAAiB,eAAjB,EAAkCE,IAAlC,EAAwC;MAAEC,OAAO,EAAE;QAAE,gBAAgB;MAAlB;IAAX,CAAxC,CAAP;EACD;;EAEDC,SAAS,CAACC,UAAD,EAAmB;IAC1B,OAAO,KAAKN,KAAL,CAAWO,IAAX,CAAgB,mBAAmBD,UAAU,EAA7C,CAAP;EACD;;EAEDE,QAAQ;IACN,OAAO,KAAKR,KAAL,CAAWO,IAAX,CAAgB,eAAhB,CAAP;EACD;;EAEDE,YAAY,CAACC,KAAD,EAAc;IACxB,OAAO,KAAKV,KAAL,CAAWO,IAAX,CAAgB,iBAAiBG,KAAK,EAAtC,EAA0C;MAAEC,YAAY,EAAE;IAAhB,CAA1C,CAAP;EACD;;EAEDC,UAAU,CAACC,MAAD,EAAe;IACvB,OAAO,KAAKb,KAAL,CAAWc,OAAX,CAAmB,iBAAiBD,MAAM,EAA1C,CAAP;EACD;;AAvBiC;;QAAvBjB,M,GAAAA,M","names":["Stocks","Resource","createStocks","payload","axios","$post","createFile","file","headers","getStocks","idExercice","$get","getFiles","downloadFile","token","responseType","deleteFile","idFile","$delete"],"sourceRoot":"","sources":["../../../ts/api/resources/Stocks.ts"],"sourcesContent":["import { Resource } from '../Resource';\nimport { StockEntries, TFile } from '../../types';\n\nexport class Stocks extends Resource {\n createStocks(payload: StockEntries): Promise<any> {\n return this.axios.$post('/stocks/entries', payload);\n }\n\n createFile(file: TFile): Promise<any> {\n return this.axios.$post('/stocks/files', file, { headers: { 'Content-Type': 'multipart/form-data' } });\n }\n\n getStocks(idExercice: number): Promise<any> {\n return this.axios.$get(`/stocks/entries/${idExercice}`);\n }\n\n getFiles(): Promise<any> {\n return this.axios.$get('/stocks/files');\n }\n\n downloadFile(token: string): Promise<any> {\n return this.axios.$get(`/stocks/files/${token}`, { responseType: 'blob' });\n }\n\n deleteFile(idFile: number): Promise<any> {\n return this.axios.$delete(`/stocks/files/${idFile}`);\n }\n}"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Subscription.js","mappings":";;;;;;;AAAA;;AAGM,MAAOA,YAAP,SAA4BC,kBAA5B,CAAoC;
|
|
1
|
+
{"version":3,"file":"Subscription.js","mappings":";;;;;;;AAAA;;AAGM,MAAOA,YAAP,SAA4BC,kBAA5B,CAAoC;EACxCC,uBAAuB,CAACC,MAAD,EAAsC;IAC3D,OAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,4BAAhB,EAA8C;MAAEF;IAAF,CAA9C,CAAP;EACD;;AAHuC;;QAA7BH,Y,GAAAA,Y","names":["Subscription","Resource","retrieveUpcomingInvoice","params","axios","$get"],"sourceRoot":"","sources":["../../../ts/api/resources/Subscription.ts"],"sourcesContent":["import { Resource } from '../Resource';\nimport { RetrieveUpcomingInvoiceParams, ReadUpcomingInvoice } from '../../types';\n\nexport class Subscription extends Resource {\n retrieveUpcomingInvoice(params: RetrieveUpcomingInvoiceParams): Promise<ReadUpcomingInvoice> {\n return this.axios.$get('/subscription/next-invoice', { params });\n }\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Survey.js","mappings":";;;;;;;AAAA;;;;;;;;;;;;;AAKM,MAAOA,MAAP,SAAsBC,kBAAtB,CAA8B;
|
|
1
|
+
{"version":3,"file":"Survey.js","mappings":";;;;;;;AAAA;;;;;;;;;;;;;AAKM,MAAOA,MAAP,SAAsBC,kBAAtB,CAA8B;EAClCC,MAAM,CAACC,MAAD,EAAqB;IACzB,OAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,UAAhB,EAA4B;MAAEF;IAAF,CAA5B,CAAP;EACD,CAHiC,CAKlC;EACA;EACA;;;EAEAG,MAAM,CAACH,MAAD,EAAqB;IACzB,MAAM;MAAEI;IAAF,IAAkBJ,MAAxB;IAAA,MAAeK,IAAI,UAAKL,MAAL,EAAb,MAAa,CAAnB;;IACA,OAAO,KAAKC,KAAL,CAAWK,IAAX,CAAgB,WAAWF,EAAE,EAA7B,EAAiCC,IAAjC,CAAP;EACD;;EAEDE,MAAM,CAACP,MAAD,EAAqB;IACzB,OAAO,KAAKC,KAAL,CAAWO,KAAX,CAAiB,SAAjB,EAA4BR,MAA5B,CAAP;EACD;;AAhBiC;;QAAvBH,M,GAAAA,M","names":["Survey","Resource","getAll","params","axios","$get","update","id","body","$put","create","$post"],"sourceRoot":"","sources":["../../../ts/api/resources/Survey.ts"],"sourcesContent":["import { Resource } from '../Resource';\nimport {\n CreateSurvey, QuerySurveys, /* QuerySurvey, */ReadSurvey, UpdateSurvey,\n} from '../../types';\n\nexport class Survey extends Resource {\n getAll(params: QuerySurveys): Promise<ReadSurvey[]> {\n return this.axios.$get('/surveys', { params });\n }\n\n // get(params: QuerySurvey): Promise<ReadSurvey[]> {\n // return this.axios.$get('/survey', { params });\n // }\n\n update(params: UpdateSurvey): Promise<ReadSurvey> {\n const { id, ...body } = params;\n return this.axios.$put(`/survey/${id}`, body);\n }\n\n create(params: CreateSurvey): Promise<ReadSurvey> {\n return this.axios.$post('/survey', params);\n }\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tax.js","mappings":";;;;;;;AAAA;;AAKM,MAAOA,GAAP,SAAmBC,kBAAnB,CAA2B;
|
|
1
|
+
{"version":3,"file":"Tax.js","mappings":";;;;;;;AAAA;;AAKM,MAAOA,GAAP,SAAmBC,kBAAnB,CAA2B;EAC/BC,MAAM,CAACC,EAAD,EAAW;IACf,OAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,aAAaF,EAAE,QAA/B,CAAP;EACD;;EACDG,MAAM,CAACH,EAAD,EAAaI,OAAb,EAA+B;IACnC,OAAO,KAAKH,KAAL,CAAWI,KAAX,CAAiB,aAAaL,EAAE,QAAhC,EAA0CI,OAA1C,CAAP;EACD;;EAEDE,gBAAgB,CAACC,UAAD,EAAmB;IACjC,OAAO,KAAKN,KAAL,CAAWI,KAAX,CAAiB,cAAcE,UAAU,gBAAzC,CAAP;EACD;;EAEDC,aAAa,CAACD,UAAD,EAAmB;IAC9B,OAAO,KAAKN,KAAL,CAAWC,IAAX,CAAgB,cAAcK,UAAU,gBAAxC,CAAP;EACD;;AAd8B;;QAApBV,G,GAAAA,G","names":["Tax","Resource","getAll","id","axios","$get","create","payload","$post","createCompanyTax","idExercice","getCompanyTax"],"sourceRoot":"","sources":["../../../ts/api/resources/Tax.ts"],"sourcesContent":["import { Resource } from '../Resource';\nimport {\n ReadTax, CreateTax, ICustomerIsRegime, ReadCompanyTax, IAccountingTransaction,\n} from '../../types';\n\nexport class Tax extends Resource {\n getAll(id: number): Promise<ReadTax> {\n return this.axios.$get(`/exercice/${id}/taxes`);\n }\n create(id: number, payload: CreateTax): Promise<ICustomerIsRegime> {\n return this.axios.$post(`/exercice/${id}/taxes`, payload);\n }\n\n createCompanyTax(idExercice: number): Promise<ReadCompanyTax> {\n return this.axios.$post(`/exercices/${idExercice}/company-taxes`);\n }\n\n getCompanyTax(idExercice: number): Promise<IAccountingTransaction> {\n return this.axios.$get(`/exercices/${idExercice}/company-taxes`);\n }\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TaxDeadline.js","mappings":";;;;;;;AACA;;AAKM,MAAOA,WAAP,SAA2BC,kBAA3B,CAAmC;
|
|
1
|
+
{"version":3,"file":"TaxDeadline.js","mappings":";;;;;;;AACA;;AAKM,MAAOA,WAAP,SAA2BC,kBAA3B,CAAmC;EACvCC,WAAW,CAACC,MAAD,EAA2CC,WAA3C,EAAoE;IAC7E,OAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,cAAhB,EAA8BC,gCAC/BH,WAAW,GAAG;MAAEA;IAAF,CAAH,GAAqB,EADD,GACI;MACvCD;IADuC,CADJ,CAA9B,CAAP;EAID;;EACDK,aAAa,CAACL,MAAD,EAAqCC,WAArC,EAA8D;IACzE,OAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,yBAAhB,EAAyCC,gCAC1CH,WAAW,GAAG;MAAEA;IAAF,CAAH,GAAqB,EADU,GACP;MACvCD;IADuC,CADO,CAAzC,CAAP;EAID;;AAZsC;;QAA5BH,W,GAAAA,W","names":["TaxDeadline","Resource","getPaginate","params","cancelToken","axios","$get","Object","getStatistics"],"sourceRoot":"","sources":["../../../ts/api/resources/TaxDeadline.ts"],"sourcesContent":["import { CancelToken } from 'axios';\nimport { Resource } from '../Resource';\nimport {\n QueryTaxDeadline, QueryPaginate, BasePaginate, ReadTaxDeadline, QueryTaxDeadlineStatistics, ReadTaxDeadlineStatistics,\n} from '../../types';\n\nexport class TaxDeadline extends Resource {\n getPaginate(params: QueryTaxDeadline & QueryPaginate, cancelToken?: CancelToken): Promise<BasePaginate<ReadTaxDeadline>> {\n return this.axios.$get('/taxDeadline', {\n ...(cancelToken ? { cancelToken } : {}),\n params,\n });\n }\n getStatistics(params: QueryTaxDeadlineStatistics, cancelToken?: CancelToken): Promise<ReadTaxDeadlineStatistics> {\n return this.axios.$get('/taxDeadline/statistics', {\n ...(cancelToken ? { cancelToken } : {}),\n params,\n });\n }\n}"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ThirdParty.js","mappings":";;;;;;;AAAA;;AAKM,MAAOA,UAAP,SAA0BC,kBAA1B,CAAkC;
|
|
1
|
+
{"version":3,"file":"ThirdParty.js","mappings":";;;;;;;AAAA;;AAKM,MAAOA,UAAP,SAA0BC,kBAA1B,CAAkC;EACtCC,MAAM;IACJ,OAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,gBAAhB,CAAP;EACD;;EAEDC,YAAY,CAACC,UAAD,EAA4BC,KAA5B,EAAmD;IAC7D,OAAO,KAAKJ,KAAL,CAAWC,IAAX,CAAgB,gBAAhB,EAAkC;MACvCI,MAAM,kCACDF,UADC,GAEDC,KAFC;IADiC,CAAlC,CAAP;EAMD;;AAZqC;;QAA3BP,U,GAAAA,U","names":["ThirdParty","Resource","getAll","axios","$get","getPaginated","pagination","query","params"],"sourceRoot":"","sources":["../../../ts/api/resources/ThirdParty.ts"],"sourcesContent":["import { Resource } from '../Resource';\nimport {\n QueryPaginate, BasePaginate, IThirdParty, QueryThirdParty,\n} from '../../types';\n\nexport class ThirdParty extends Resource {\n getAll(): Promise<Array<IThirdParty>> {\n return this.axios.$get('/third-parties');\n }\n\n getPaginated(pagination: QueryPaginate, query?: QueryThirdParty): Promise<BasePaginate<IThirdParty>> {\n return this.axios.$get('/third-parties', {\n params: {\n ...pagination,\n ...query,\n },\n });\n }\n}"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Transaction.js","mappings":";;;;;;;AAAA;;AAOM,MAAOA,WAAP,SAA2BC,kBAA3B,CAAmC;
|
|
1
|
+
{"version":3,"file":"Transaction.js","mappings":";;;;;;;AAAA;;AAOM,MAAOA,WAAP,SAA2BC,kBAA3B,CAAmC;EACvCC,oBAAoB,CAACC,SAAD,EAAoBC,MAApB,EASH;IACf,OAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,YAAYH,SAAS,eAArC,EAAsD;MAC3DC;IAD2D,CAAtD,CAAP;EAGD;;EACDG,MAAM,CAACJ,SAAD,EAAoBK,KAApB,EAAkD;IACtD,OAAO,KAAKH,KAAL,CAAWC,IAAX,CAAgB,YAAYH,SAAS,oBAArC,EAA2D;MAAEC,MAAM,EAAEI;IAAV,CAA3D,CAAP;EACD;;EACDC,QAAQ,CAACN,SAAD,EAAoBC,MAApB,EAAyC;IAC/C,OAAO,KAAKC,KAAL,CAAWK,IAAX,CAAgB,YAAYP,SAAS,wBAArC,EAA+DC,MAA/D,CAAP;EACD;;EACDO,QAAQ,CAACC,EAAD,EAAaC,IAAb,EAA8C;IACpD,OAAO,KAAKR,KAAL,CAAWK,IAAX,CAAgB,iBAAiBE,EAAE,EAAnC,EAAuCC,IAAvC,CAAP;EACD;;EACDC,MAAM,CAACX,SAAD,EAAoBS,EAApB,EAA8B;IAClC,OAAO,KAAKP,KAAL,CAAWU,OAAX,CAAmB,YAAYZ,SAAS,gBAAgBS,EAAE,EAA1D,CAAP;EACD;;EACDI,kBAAkB,CAACJ,EAAD,EAAaC,IAAb,EAAqC;IACrD,OAAO,KAAKR,KAAL,CAAWU,OAAX,CAAmB,gBAAgBH,EAAE,eAArC,EAAsD;MAAER,MAAM,EAAES;IAAV,CAAtD,CAAP;EACD;;EAEDI,oBAAoB,CAACC,UAAD,EAAmB;IACrC,OAAO,KAAKb,KAAL,CAAWC,IAAX,CAAgB,oBAAoBY,UAAU,EAA9C,CAAP;EACD;;EAEDC,YAAY,CAACN,IAAD,EAA+B;IACzC,OAAO,KAAKR,KAAL,CAAWe,KAAX,CAAiB,8BAAjB,EAAiDP,IAAjD,CAAP;EACD;;EAEDQ,YAAY,CAACH,UAAD,EAAmB;IAC7B,OAAO,KAAKb,KAAL,CAAWC,IAAX,CAAgB,0CAA0CY,UAAU,EAApE,CAAP;EACD;;EAEDI,sBAAsB,CAACnB,SAAD,EAAoBK,KAApB,EAA8C;IAClE,OAAO,KAAKH,KAAL,CAAWU,OAAX,CAAmB,YAAYZ,SAAS,uBAAxC,EAAiE;MAAEC,MAAM,EAAEI;IAAV,CAAjE,CAAP;EACD;;EAEDe,eAAe,CACbpB,SADa,EAEbC,MAFa,EAEuB;IAEpC,OAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,YAAYH,SAAS,iCAArC,EAAwE;MAAEC;IAAF,CAAxE,CAAP;EACD;;EAEDoB,iBAAiB,CAAChB,KAAD,EAA2B;IAC1C,OAAO,KAAKH,KAAL,CAAWC,IAAX,CAAgB,wCAAhB,EAA0D;MAAEF,MAAM,EAAEI;IAAV,CAA1D,CAAP;EACD;;EAEDiB,GAAG,CAACb,EAAD,EAAW;IACZ,OAAO,KAAKP,KAAL,CAAWC,IAAX,CAAgB,iBAAiBM,EAAE,EAAnC,CAAP;EACD;;AA5DsC;;QAA5BZ,W,GAAAA,W","names":["Transaction","Resource","getFormattedPaginate","idSociety","params","axios","$get","getAll","query","unexport","$put","annotate","id","data","delete","$delete","deleteTransactions","getBalanceQuotaShare","idExercice","createManual","$post","getAllManual","deleteMultipleInvoices","toAnnotateCount","getBankAccountSum","get"],"sourceRoot":"","sources":["../../../ts/api/resources/Transaction.ts"],"sourcesContent":["import { Resource } from '../Resource';\nimport {\n AccountingJournal,\n BasePaginate,\n QueryPaginate, ReadFormattedAccountingTransaction, UpdateAccountingTransaction, DeleteTransactions, QueryUnexport, QueryGetAllTransactions, IAccountingTransaction, ReadAccountantBalance, CreateManualEntry, IAccountingEntry, QueryDeleteInvoices, ReadDeletedInvoices, QuerySocietyTransactionCount, ReadSocietyTransactionCount, ReadBankAccountSum, QueryBankAccountSum,\n} from '../../types';\n\nexport class Transaction extends Resource {\n getFormattedPaginate(idSociety: number, params: {\n idAccountingJournal: AccountingJournal,\n idBankAccount?: Array<number>,\n orderBy?: string,\n descending?: boolean,\n startDate?: string,\n endDate?: string,\n onlyDebit?: boolean\n onlyCredit?: boolean\n } & QueryPaginate): Promise<BasePaginate<ReadFormattedAccountingTransaction> | Error> {\n return this.axios.$get(`/society/${idSociety}/transactions`, {\n params,\n });\n }\n getAll(idSociety: number, query: QueryGetAllTransactions): Promise<IAccountingTransaction[]> {\n return this.axios.$get(`/society/${idSociety}/transactions/list`, { params: query });\n }\n unexport(idSociety: number, params: QueryUnexport): Promise<void> {\n return this.axios.$put(`/society/${idSociety}/transactions/unexport`, params);\n }\n annotate(id: number, data: UpdateAccountingTransaction): Promise<ReadFormattedAccountingTransaction | Error> {\n return this.axios.$put(`/transactions/${id}`, data);\n }\n delete(idSociety: number, id: number): Promise<number> {\n return this.axios.$delete(`/society/${idSociety}/transaction/${id}`);\n }\n deleteTransactions(id: number, data: DeleteTransactions): Promise<number | Error> {\n return this.axios.$delete(`/bankAccount/${id}/transactions`, { params: data });\n }\n\n getBalanceQuotaShare(idExercice: number): Promise<Array<ReadAccountantBalance>> {\n return this.axios.$get(`/society/balance/${idExercice}`);\n }\n\n createManual(data: Array<CreateManualEntry>): Promise<IAccountingTransaction> {\n return this.axios.$post('/society/manual-transactions', data);\n }\n\n getAllManual(idExercice: number): Promise<Array<Array<IAccountingEntry>>> {\n return this.axios.$get(`/society/manual-transactions/exercices/${idExercice}`);\n }\n\n deleteMultipleInvoices(idSociety: number, query: QueryDeleteInvoices): Promise<ReadDeletedInvoices> {\n return this.axios.$delete(`/society/${idSociety}/invoice-transactions`, { params: query });\n }\n\n toAnnotateCount(\n idSociety: number,\n params: QuerySocietyTransactionCount,\n ): Promise<ReadSocietyTransactionCount> {\n return this.axios.$get(`/society/${idSociety}/transactions/to-annotate/count`, { params });\n }\n\n getBankAccountSum(query: QueryBankAccountSum): Promise<ReadBankAccountSum> {\n return this.axios.$get('/society/transactions/bank-account-sum', { params: query });\n }\n\n get(id: number): Promise<ReadFormattedAccountingTransaction> {\n return this.axios.$get(`/transactions/${id}`);\n }\n}"]}
|
package/js/api/resources/User.js
CHANGED
|
@@ -34,6 +34,16 @@ class User extends _Resource.Resource {
|
|
|
34
34
|
});
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
+
allFromSociety(params) {
|
|
38
|
+
return this.axios.$get('user/all-from-society', {
|
|
39
|
+
params
|
|
40
|
+
});
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
selectableTeammates() {
|
|
44
|
+
return this.axios.$get('user/selectable-teammates');
|
|
45
|
+
}
|
|
46
|
+
|
|
37
47
|
}
|
|
38
48
|
|
|
39
49
|
exports.User = User;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"User.js","mappings":";;;;;;;AAAA;;AAKM,MAAOA,IAAP,SAAoBC,kBAApB,CAA4B;
|
|
1
|
+
{"version":3,"file":"User.js","mappings":";;;;;;;AAAA;;AAKM,MAAOA,IAAP,SAAoBC,kBAApB,CAA4B;EAChCC,OAAO,CAACC,MAAD,EAAqB;IAC1B,OAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,cAAhB,EAAgCF,MAAhC,CAAP;EACD;;EACDG,2BAA2B,CAACH,MAAD,EAAoC;IAC7D,OAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,QAAQF,MAAM,CAACI,EAAE,8BAAjC,CAAP;EACD;;EACDC,MAAM,CAACC,IAAD,EAAiB;IACrB,OAAO,KAAKL,KAAL,CAAWM,KAAX,CAAiB,aAAjB,EAAgCD,IAAhC,CAAP;EACD;;EACDE,QAAQ,CAACF,IAAD,EAAqB;IAC3B,OAAO,KAAKL,KAAL,CAAWM,KAAX,CAAiB,eAAjB,EAAkCD,IAAlC,CAAP;EACD;;EACDG,WAAW,CAACL,EAAD,EAAW;IACpB,OAAO,KAAKH,KAAL,CAAWC,IAAX,CAAgB,QAAQE,EAAE,iBAA1B,CAAP;EACD;;EACDM,yBAAyB,CAACN,EAAD,EAAaJ,MAAb,EAA6C;IACpE,OAAO,KAAKC,KAAL,CAAWU,IAAX,CAAgB,QAAQP,EAAE,4BAA1B,EAAwD;MAAEJ;IAAF,CAAxD,CAAP;EACD;;EACDY,cAAc,CAACZ,MAAD,EAA+B;IAC3C,OAAO,KAAKC,KAAL,CAAWU,IAAX,CAAgB,uBAAhB,EAAyC;MAAEX;IAAF,CAAzC,CAAP;EACD;;EACDa,mBAAmB;IACjB,OAAO,KAAKZ,KAAL,CAAWU,IAAX,CAAgB,2BAAhB,CAAP;EACD;;AAxB+B;;QAArBd,I,GAAAA,I","names":["User","Resource","confirm","params","axios","$put","resendConfirmationEmailLink","id","create","data","$post","coworker","sendNewCode","verifySmsCodeConfirmation","$get","allFromSociety","selectableTeammates"],"sourceRoot":"","sources":["../../../ts/api/resources/User.ts"],"sourcesContent":["import { Resource } from '../Resource';\nimport {\n IUser, QueryConfirm, QueryResendConfirmationLink, CreateUser, CreateCoworker, QueryUserSmsConfirmation, QueryGetAllFromSociety,\n} from '../../types';\n\nexport class User extends Resource {\n confirm(params: QueryConfirm): Promise<IUser> {\n return this.axios.$put('user/confirm', params);\n }\n resendConfirmationEmailLink(params: QueryResendConfirmationLink): Promise<boolean> {\n return this.axios.$put(`user/${params.id}/resendConfirmationEmailLink`);\n }\n create(data: CreateUser): Promise<IUser> {\n return this.axios.$post('user/create', data);\n }\n coworker(data: CreateCoworker): Promise<IUser> {\n return this.axios.$post('user/coworker', data);\n }\n sendNewCode(id: number): Promise<IUser> {\n return this.axios.$put(`user/${id}/sendNewSmsCode`);\n }\n verifySmsCodeConfirmation(id: number, params: QueryUserSmsConfirmation): Promise<IUser> {\n return this.axios.$get(`user/${id}/verifySmsCodeConfirmation`, { params });\n }\n allFromSociety(params: QueryGetAllFromSociety): Promise<IUser> {\n return this.axios.$get('user/all-from-society', { params });\n }\n selectableTeammates(): Promise<IUser> {\n return this.axios.$get('user/selectable-teammates');\n }\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VatControl.js","mappings":";;;;;;;AAAA;;AAGA;;AAEM,MAAOA,UAAP,SAA0BC,kBAA1B,CAAkC;
|
|
1
|
+
{"version":3,"file":"VatControl.js","mappings":";;;;;;;AAAA;;AAGA;;AAEM,MAAOA,UAAP,SAA0BC,kBAA1B,CAAkC;EACtCC,YAAY;IACV,OAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,2BAAhB,EAA6C;MAAEC,MAAM,EAAE;QAAEC,MAAM,EAAE,CAACC,gBAAcC,WAAf;MAAV;IAAV,CAA7C,CAAP;EACD;;EAEDC,oBAAoB,CAACC,UAAD,EAAmB;IACrC,OAAO,KAAKP,KAAL,CAAWC,IAAX,CAAgB,6BAA6BM,UAAU,YAAvD,EAAqE;MAAEL,MAAM,EAAE;QAAEC,MAAM,EAAE,CAACC,gBAAcC,WAAf;MAAV;IAAV,CAArE,CAAP;EACD;;EAEDG,UAAU,CAACD,UAAD,EAAqBE,OAArB,EAAqD;IAC7D,OAAO,KAAKT,KAAL,CAAWU,KAAX,CAAiB,6BAA6BH,UAAU,yBAAxD,EAAmFE,OAAnF,CAAP;EACD;;EAEDE,UAAU,CAACJ,UAAD,EAAqBE,OAArB,EAAqD;IAC7D,OAAO,KAAKT,KAAL,CAAWU,KAAX,CAAiB,6BAA6BH,UAAU,yBAAxD,EAAmFE,OAAnF,CAAP;EACD;;AAfqC;;QAA3BZ,U,GAAAA,U","names":["VatControl","Resource","getQuestions","axios","$get","params","themes","QuestionTheme","VAT_CONTROL","getExerciceQuestions","idExercice","bulkCreate","payload","$post","bulkUpdate"],"sourceRoot":"","sources":["../../../ts/api/resources/VatControl.ts"],"sourcesContent":["import {\n CreateExerciceQuestions, IBalanceSheetQuestion, IExerciceQuestion, QuestionTheme,\n} from '../..';\nimport { Resource } from '../Resource';\n\nexport class VatControl extends Resource {\n getQuestions(): Promise<Array<IBalanceSheetQuestion>> {\n return this.axios.$get('/balance-sheets/questions', { params: { themes: [QuestionTheme.VAT_CONTROL] } });\n }\n\n getExerciceQuestions(idExercice: number): Promise<Array<IExerciceQuestion>> {\n return this.axios.$get(`/balance-sheets/exercices/${idExercice}/questions`, { params: { themes: [QuestionTheme.VAT_CONTROL] } });\n }\n\n bulkCreate(idExercice: number, payload: CreateExerciceQuestions): Promise<Array<IExerciceQuestion>> {\n return this.axios.$post(`/balance-sheets/exercices/${idExercice}/questions/batch-create`, payload);\n }\n\n bulkUpdate(idExercice: number, payload: CreateExerciceQuestions): Promise<void> {\n return this.axios.$post(`/balance-sheets/exercices/${idExercice}/questions/batch-update`, payload);\n }\n}\n"]}
|