@silexpert/core 0.4.148 → 0.4.151
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/Closing.d.ts +1 -0
- package/es/api/resources/Closing.d.ts.map +1 -1
- package/es/api/resources/Closing.js +3 -0
- package/es/api/resources/Closing.js.map +1 -1
- package/es/api/resources/Library.d.ts +1 -1
- package/es/api/resources/Library.d.ts.map +1 -1
- package/es/api/resources/Library.js +7 -2
- package/es/api/resources/Library.js.map +1 -1
- package/es/api/resources/MachineLearning.d.ts +2 -1
- package/es/api/resources/MachineLearning.d.ts.map +1 -1
- package/es/api/resources/MachineLearning.js +6 -0
- package/es/api/resources/MachineLearning.js.map +1 -1
- package/es/api/resources/PromoCode.d.ts +2 -1
- package/es/api/resources/PromoCode.d.ts.map +1 -1
- package/es/api/resources/PromoCode.js +3 -0
- package/es/api/resources/PromoCode.js.map +1 -1
- package/es/api/resources/Registration.d.ts +4 -1
- package/es/api/resources/Registration.d.ts.map +1 -1
- package/es/api/resources/Registration.js +9 -0
- package/es/api/resources/Registration.js.map +1 -1
- package/es/types/Enum/AnswerTypeValue.d.ts +2 -2
- package/es/types/Enum/AnswerTypeValue.d.ts.map +1 -1
- package/es/types/Enum/AnswerTypeValue.js +1 -1
- package/es/types/Enum/AnswerTypeValue.js.map +1 -1
- package/es/types/Enum/BalanceSheetQuestion.d.ts +24 -3
- package/es/types/Enum/BalanceSheetQuestion.d.ts.map +1 -1
- package/es/types/Enum/BalanceSheetQuestion.js +23 -2
- package/es/types/Enum/BalanceSheetQuestion.js.map +1 -1
- package/es/types/Enum/Registration.d.ts +7 -0
- package/es/types/Enum/Registration.d.ts.map +1 -0
- package/es/types/Enum/Registration.js +8 -0
- package/es/types/Enum/Registration.js.map +1 -0
- package/es/types/Enum/Vat.d.ts +17 -101
- package/es/types/Enum/Vat.d.ts.map +1 -1
- package/es/types/Enum/Vat.js +163 -11
- package/es/types/Enum/Vat.js.map +1 -1
- package/es/types/Interface/api/accountingEntry/AnnotateAccountingTransaction.d.ts +2 -0
- package/es/types/Interface/api/accountingEntry/AnnotateAccountingTransaction.d.ts.map +1 -1
- package/es/types/Interface/api/accountingEntry/AnnotateAccountingTransaction.js.map +1 -1
- package/es/types/Interface/api/accountingTransaction/GetTransactionsBetweenDates.d.ts +5 -0
- package/es/types/Interface/api/accountingTransaction/GetTransactionsBetweenDates.d.ts.map +1 -0
- package/es/types/Interface/api/accountingTransaction/GetTransactionsBetweenDates.js +21 -0
- package/es/types/Interface/api/accountingTransaction/GetTransactionsBetweenDates.js.map +1 -0
- package/es/types/Interface/api/cerfa/2050.d.ts +0 -2
- package/es/types/Interface/api/cerfa/2050.d.ts.map +1 -1
- package/es/types/Interface/api/cerfa/2050.js +1 -2
- package/es/types/Interface/api/cerfa/2050.js.map +1 -1
- package/es/types/Interface/api/product/CreateProduct.d.ts.map +1 -1
- package/es/types/Interface/api/product/CreateProduct.js +1 -2
- package/es/types/Interface/api/product/CreateProduct.js.map +1 -1
- package/es/types/Interface/api/promoCode/QueryDefaultPromotion.d.ts +8 -0
- package/es/types/Interface/api/promoCode/QueryDefaultPromotion.d.ts.map +1 -0
- package/es/types/Interface/api/promoCode/QueryDefaultPromotion.js +45 -0
- package/es/types/Interface/api/promoCode/QueryDefaultPromotion.js.map +1 -0
- package/es/types/Interface/api/promoCode/ReadDefaultPromotion.d.ts +7 -0
- package/es/types/Interface/api/promoCode/ReadDefaultPromotion.d.ts.map +1 -0
- package/es/types/Interface/api/promoCode/ReadDefaultPromotion.js +2 -0
- package/es/types/Interface/api/promoCode/ReadDefaultPromotion.js.map +1 -0
- package/es/types/Interface/api/registration/CreateRegistration.d.ts +5 -9
- package/es/types/Interface/api/registration/CreateRegistration.d.ts.map +1 -1
- package/es/types/Interface/api/registration/CreateRegistration.js +17 -4
- package/es/types/Interface/api/registration/CreateRegistration.js.map +1 -1
- package/es/types/Interface/api/registration/QueryRegistration.d.ts +4 -0
- package/es/types/Interface/api/registration/QueryRegistration.d.ts.map +1 -0
- package/es/types/Interface/api/registration/QueryRegistration.js +21 -0
- package/es/types/Interface/api/registration/QueryRegistration.js.map +1 -0
- package/es/types/Interface/api/registration/ReadRegistration.d.ts +4 -9
- package/es/types/Interface/api/registration/ReadRegistration.d.ts.map +1 -1
- package/es/types/Interface/api/registration/ReadRegistration.js.map +1 -1
- package/es/types/Interface/models/IDefaultPromotion.d.ts +17 -0
- package/es/types/Interface/models/IDefaultPromotion.d.ts.map +1 -0
- package/es/types/Interface/models/IDefaultPromotion.js +2 -0
- package/es/types/Interface/models/IDefaultPromotion.js.map +1 -0
- package/es/types/Interface/models/IFecFile.d.ts +1 -0
- package/es/types/Interface/models/IFecFile.d.ts.map +1 -1
- package/es/types/Interface/models/IFecFile.js.map +1 -1
- package/es/types/Interface/models/IRegistration.d.ts +4 -3
- package/es/types/Interface/models/IRegistration.d.ts.map +1 -1
- package/es/types/Interface/models/IRegistration.js.map +1 -1
- package/es/types/index.d.ts +6 -0
- package/es/types/index.d.ts.map +1 -1
- package/es/types/index.js +6 -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/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/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 +4 -0
- package/js/api/resources/Closing.js.map +1 -1
- package/js/api/resources/Connector.js.map +1 -1
- 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/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 +8 -3
- package/js/api/resources/Library.js.map +1 -1
- package/js/api/resources/Loan.js.map +1 -1
- package/js/api/resources/MachineLearning.js +7 -0
- package/js/api/resources/MachineLearning.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 +6 -0
- package/js/api/resources/PromoCode.js.map +1 -1
- package/js/api/resources/Provision.js.map +1 -1
- package/js/api/resources/QuotesAccount.js.map +1 -1
- package/js/api/resources/Registration.js +14 -0
- 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/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/Transaction.js.map +1 -1
- 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.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 +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 +23 -2
- 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.map +1 -1
- package/js/types/Enum/BrandComptalib.js.map +1 -1
- package/js/types/Enum/BrandLegalstart.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/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/MachineLearning.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 +14 -0
- package/js/types/Enum/Registration.js.map +1 -0
- 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/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/TransactionKind.js.map +1 -1
- package/js/types/Enum/TransactionStatus.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 +172 -20
- 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/Form/FormAuthenticate.js.map +1 -1
- package/js/types/Form/FormConnector.js.map +1 -1
- package/js/types/Interface/api/BasePaginate.js.map +1 -1
- package/js/types/Interface/api/BaseRequest.js.map +1 -1
- package/js/types/Interface/api/account/CreateAccountSociety.js.map +1 -1
- package/js/types/Interface/api/account/QueryAccountSociety.js.map +1 -1
- package/js/types/Interface/api/account/QueryAccounts.js.map +1 -1
- package/js/types/Interface/api/account/QueryGenericAccount.js.map +1 -1
- package/js/types/Interface/api/account/ReadAccounts.js.map +1 -1
- package/js/types/Interface/api/account/ReadQuoteAccount.js.map +1 -1
- package/js/types/Interface/api/account/UpdateAccountSociety.js.map +1 -1
- package/js/types/Interface/api/accountType/ReadAccountType.js.map +1 -1
- package/js/types/Interface/api/accountant/ReadAccountantBalance.js.map +1 -1
- package/js/types/Interface/api/accountingEntry/AnnotateAccountingTransaction.js.map +1 -1
- package/js/types/Interface/api/accountingEntry/CreateManualEntry.js.map +1 -1
- package/js/types/Interface/api/accountingFiles/Ocr.js.map +1 -1
- package/js/types/Interface/api/accountingFiles/OcrPayload.js.map +1 -1
- package/js/types/Interface/api/accountingFiles/OcrValue.js.map +1 -1
- package/js/types/Interface/api/accountingFiles/queryAccountingFiles.js.map +1 -1
- package/js/types/Interface/api/accountingIncome/ReadAccountingIncome.js.map +1 -1
- package/js/types/Interface/api/accountingTransaction/DeleteInvoices.js.map +1 -1
- package/js/types/Interface/api/accountingTransaction/GetTransactionsBetweenDates.js +29 -0
- package/js/types/Interface/api/accountingTransaction/GetTransactionsBetweenDates.js.map +1 -0
- package/js/types/Interface/api/accountingTransaction/QueryTransaction.js.map +1 -1
- package/js/types/Interface/api/aspone/ReadInterchange.js.map +1 -1
- package/js/types/Interface/api/aspone/Util.js.map +1 -1
- package/js/types/Interface/api/balanceBankAccount/CreateBudgetBalanceBankAccount.js.map +1 -1
- package/js/types/Interface/api/balanceSheet/ReadBalanceSheet.js.map +1 -1
- package/js/types/Interface/api/balanceSheet/ReadBalanceSheetTransaction.js.map +1 -1
- package/js/types/Interface/api/balanceSheet/ReadFreelanceTurnover.js.map +1 -1
- package/js/types/Interface/api/balanceSheetCompletion/UpdateBalanceSheetCompletion.js.map +1 -1
- package/js/types/Interface/api/balanceSheetModule/CreateBalanceSheetModule.js.map +1 -1
- package/js/types/Interface/api/balanceSheetModule/GetBalanceSheetModule.js.map +1 -1
- package/js/types/Interface/api/balanceSheetModule/UpdateBalanceSheetModule.js.map +1 -1
- package/js/types/Interface/api/bankAccount/DeleteTransaction.js.map +1 -1
- package/js/types/Interface/api/bankStatement/QueryBankStatement.js.map +1 -1
- package/js/types/Interface/api/bankStatement/QueryTransactionBankStatement.js.map +1 -1
- package/js/types/Interface/api/bankStatement/ReadBankStatement.js.map +1 -1
- package/js/types/Interface/api/budgetInsight/UpdateBudgetPermanentToken.js.map +1 -1
- package/js/types/Interface/api/businessPartner/ReadBusinessPartner.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/2050.js +0 -4
- package/js/types/Interface/api/cerfa/2050.js.map +1 -1
- package/js/types/Interface/api/cerfa/2065.js.map +1 -1
- package/js/types/Interface/api/cerfa/2572.js.map +1 -1
- package/js/types/Interface/api/cerfa/CreateCerfa.js.map +1 -1
- package/js/types/Interface/api/cerfa/ReadCerfa.js.map +1 -1
- package/js/types/Interface/api/cerfa/Utils.js.map +1 -1
- package/js/types/Interface/api/closing/ProcessedClosing.js.map +1 -1
- package/js/types/Interface/api/crisp/GetCrisp.js.map +1 -1
- package/js/types/Interface/api/customerProviderOperation/CreateCustomerProviderOperation.js.map +1 -1
- package/js/types/Interface/api/dashboard/QueryBalanceBankAccount.js.map +1 -1
- package/js/types/Interface/api/dashboard/QueryDeadline.js.map +1 -1
- package/js/types/Interface/api/dashboard/QueryGescom.js.map +1 -1
- package/js/types/Interface/api/dashboard/QueryTopBuys.js.map +1 -1
- package/js/types/Interface/api/dashboard/QueryTopProviders.js.map +1 -1
- package/js/types/Interface/api/dashboard/QueryTurnoverProfitAndLoss.js.map +1 -1
- package/js/types/Interface/api/dashboard/QueryVat.js.map +1 -1
- package/js/types/Interface/api/dashboard/ReadBalanceBankAccount.js.map +1 -1
- package/js/types/Interface/api/dashboard/ReadDeadline.js.map +1 -1
- package/js/types/Interface/api/dashboard/ReadGescom.js.map +1 -1
- package/js/types/Interface/api/dashboard/ReadTopBuys.js.map +1 -1
- package/js/types/Interface/api/dashboard/ReadTopProviders.js.map +1 -1
- package/js/types/Interface/api/dashboard/ReadTurnOverProfitAndLoss.js.map +1 -1
- package/js/types/Interface/api/dashboard/ReadVat.js.map +1 -1
- package/js/types/Interface/api/exercice/CreateExercice.js.map +1 -1
- package/js/types/Interface/api/exercice/QueryExercice.js.map +1 -1
- package/js/types/Interface/api/exerciceNote/CreateExerciceNote.js.map +1 -1
- package/js/types/Interface/api/exerciceNote/QueryExerciceNote.js.map +1 -1
- package/js/types/Interface/api/exerciceQuestion/CreateExerciceQuestion.js.map +1 -1
- package/js/types/Interface/api/exerciceQuestion/QueryQuestion.js.map +1 -1
- package/js/types/Interface/api/fecFile/CreateFecFile.js.map +1 -1
- package/js/types/Interface/api/fecFile/DeleteFecFile.js.map +1 -1
- package/js/types/Interface/api/fecFile/QueryFecFile.js.map +1 -1
- package/js/types/Interface/api/fecFile/ReadFecFile.js.map +1 -1
- package/js/types/Interface/api/file/TFile.js.map +1 -1
- package/js/types/Interface/api/financialCharge/CreateNonDeductibleInterests.js.map +1 -1
- package/js/types/Interface/api/financialCharge/CreatedNonDeductibleInterests.js.map +1 -1
- package/js/types/Interface/api/financialCharge/ReadFinancialChargesBalance.js.map +1 -1
- package/js/types/Interface/api/generalLedger/IGeneralLedgerAccount.js.map +1 -1
- package/js/types/Interface/api/generalLedger/IGeneralLedgerAccountingEntry.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/immobilization/ReadFormattedImmobilization.js.map +1 -1
- package/js/types/Interface/api/incomeAllocation/CreateIncomeAllocation.js.map +1 -1
- package/js/types/Interface/api/incomeAllocation/ReadIncomeAllocation.js.map +1 -1
- package/js/types/Interface/api/incomeAllocation/TypeAndAmount.js.map +1 -1
- package/js/types/Interface/api/incomeStatement/QueryIncomeStatement.js.map +1 -1
- package/js/types/Interface/api/incomeStatement/ReadIncomeStatement.js.map +1 -1
- package/js/types/Interface/api/internalInvoicing/CreateInternalInvoicing.js.map +1 -1
- package/js/types/Interface/api/internalInvoicing/CreateInternalInvoicing2in.js.map +1 -1
- package/js/types/Interface/api/internalInvoicing/RegenerateInternalInvoicing.js.map +1 -1
- package/js/types/Interface/api/jeDeclare/CreateDocumentsParams.js.map +1 -1
- package/js/types/Interface/api/jeDeclare/ReadJeDeclare.js.map +1 -1
- package/js/types/Interface/api/jeDeclare/Util.js.map +1 -1
- package/js/types/Interface/api/jeDeclare/UtilCFONB.js.map +1 -1
- package/js/types/Interface/api/journal/Journals.js.map +1 -1
- package/js/types/Interface/api/journal/QueryJournal.js.map +1 -1
- package/js/types/Interface/api/kilometricAllowance/CreateKilometricAllowanceValidation.js.map +1 -1
- package/js/types/Interface/api/letter/CreateLetter.js.map +1 -1
- package/js/types/Interface/api/library/QueryLibrary.js.map +1 -1
- package/js/types/Interface/api/library/ReadLibraryFile.js.map +1 -1
- package/js/types/Interface/api/loan/CreateLoan.js.map +1 -1
- package/js/types/Interface/api/loan/UpdateLoan.js.map +1 -1
- package/js/types/Interface/api/log/CreateLog.js.map +1 -1
- package/js/types/Interface/api/machineLearning/CreateMachineLearningAnnotation.js.map +1 -1
- package/js/types/Interface/api/machineLearning/ResultCreateMachineLearningAnnotation.js.map +1 -1
- package/js/types/Interface/api/mailInvoice/CreateInvoiceMail.js.map +1 -1
- package/js/types/Interface/api/mailInvoice/UpdateInvoiceMail.js.map +1 -1
- package/js/types/Interface/api/mealExpense/CreateMealExpense.js.map +1 -1
- package/js/types/Interface/api/mealExpense/ReadMealExpense.js.map +1 -1
- package/js/types/Interface/api/ocr/CreateOcr.js.map +1 -1
- package/js/types/Interface/api/ocr/OcrTransactions.js.map +1 -1
- package/js/types/Interface/api/ocr/OcrTypeTransactions.js.map +1 -1
- package/js/types/Interface/api/pappers/CreatePappers.js.map +1 -1
- package/js/types/Interface/api/pappers/QueryPappers.js.map +1 -1
- package/js/types/Interface/api/pappers/ReadPappers.js.map +1 -1
- package/js/types/Interface/api/partner/CreatePartner.js.map +1 -1
- package/js/types/Interface/api/partner/GetPartners.js.map +1 -1
- package/js/types/Interface/api/partneredAccountant/CreatePartneredAccountantRequestedService.js.map +1 -1
- package/js/types/Interface/api/partneredAccountant/CreatePartneredAccountantRequestedServiceExpress.js.map +1 -1
- package/js/types/Interface/api/partneredAccountant/CreatePartneredAccountantSociety.js.map +1 -1
- package/js/types/Interface/api/partneredAccountant/CreatedPartneredAccountantSociety.js.map +1 -1
- package/js/types/Interface/api/partneredAccountant/InvitePartneredAccountant.js.map +1 -1
- package/js/types/Interface/api/partneredAccountant/QueryParteneredAccountantSoldServices.js.map +1 -1
- package/js/types/Interface/api/partneredAccountant/QueryPartneredAccountantSocieties.js.map +1 -1
- package/js/types/Interface/api/partneredAccountant/ReadPartneredAccountant.js.map +1 -1
- package/js/types/Interface/api/partneredAccountant/ReadPartneredAccountantInvoice.js.map +1 -1
- package/js/types/Interface/api/partneredAccountant/ReadPartneredAccountantRequestedService.js.map +1 -1
- package/js/types/Interface/api/partneredAccountant/ReadPartneredAccountantService.js.map +1 -1
- package/js/types/Interface/api/partneredAccountant/ReadPartneredAccountantSociety.js.map +1 -1
- package/js/types/Interface/api/partneredAccountant/ReadPartneredAccountantSoldServiceStatistics.js.map +1 -1
- package/js/types/Interface/api/partneredAccountant/ReadPartneredAccountantSoldServicesPaginated.js.map +1 -1
- package/js/types/Interface/api/partneredAccountant/UpdatePartneredAccountantAccess.js.map +1 -1
- package/js/types/Interface/api/partneredAccountant/UpdatePartneredAccountantSoldService.js.map +1 -1
- package/js/types/Interface/api/payment/QueryMonthlyPayment.js.map +1 -1
- package/js/types/Interface/api/paymentExpectationCustomer/CreatePaymentExpectationCustomer.js.map +1 -1
- package/js/types/Interface/api/paymentExpectationCustomer/QueryPaymentExpectationCustomer.js.map +1 -1
- package/js/types/Interface/api/paymentExpectationCustomer/ReadPaymentExpectationCustomer.js.map +1 -1
- package/js/types/Interface/api/paymentExpectationCustomer/UpdatePaymentExpectationCustomer.js.map +1 -1
- package/js/types/Interface/api/pdf/BillingDocumentData.js.map +1 -1
- package/js/types/Interface/api/prestashop/InvoicesPrestashop.js.map +1 -1
- package/js/types/Interface/api/prestashop/PSAddress.js.map +1 -1
- package/js/types/Interface/api/prestashop/PSCountry.js.map +1 -1
- package/js/types/Interface/api/prestashop/PSObject.js.map +1 -1
- package/js/types/Interface/api/prestashop/PSOrder.js.map +1 -1
- package/js/types/Interface/api/prestashop/PSOrderRow.js.map +1 -1
- package/js/types/Interface/api/product/CreateProduct.js +1 -1
- package/js/types/Interface/api/product/CreateProduct.js.map +1 -1
- package/js/types/Interface/api/product/QueryProduct.js.map +1 -1
- package/js/types/Interface/api/product/UpdateProduct.js.map +1 -1
- package/js/types/Interface/api/promoCode/CreatePromoCode.js.map +1 -1
- package/js/types/Interface/api/promoCode/QueryDefaultPromotion.js +49 -0
- package/js/types/Interface/api/promoCode/QueryDefaultPromotion.js.map +1 -0
- package/js/types/Interface/api/promoCode/ReadDefaultPromotion.js +6 -0
- package/js/types/Interface/api/promoCode/ReadDefaultPromotion.js.map +1 -0
- package/js/types/Interface/api/promoCode/UpdatePromoCode.js.map +1 -1
- package/js/types/Interface/api/provision/CreateProvisionForm.js.map +1 -1
- package/js/types/Interface/api/provision/QueryGetProvisions.js.map +1 -1
- package/js/types/Interface/api/provision/QueryProvisions.js.map +1 -1
- package/js/types/Interface/api/provision/ReadProvision.js.map +1 -1
- package/js/types/Interface/api/provision/UpdateProvisionForm.js.map +1 -1
- package/js/types/Interface/api/quotes/CreateQuoteAccount.js.map +1 -1
- package/js/types/Interface/api/quotes/QueryQuotesAccount.js.map +1 -1
- package/js/types/Interface/api/registration/CreateRegistration.js +11 -3
- package/js/types/Interface/api/registration/CreateRegistration.js.map +1 -1
- package/js/types/Interface/api/registration/DeclareRegistration.js.map +1 -1
- package/js/types/Interface/api/registration/QueryRegistration.js +29 -0
- package/js/types/Interface/api/registration/QueryRegistration.js.map +1 -0
- package/js/types/Interface/api/registration/ReadRegistration.js.map +1 -1
- package/js/types/Interface/api/report/CreateReport.js.map +1 -1
- package/js/types/Interface/api/report/DeleteReport.js.map +1 -1
- package/js/types/Interface/api/report/QueryReports.js.map +1 -1
- package/js/types/Interface/api/report/QueryReportsStats.js.map +1 -1
- package/js/types/Interface/api/report/ReadReport.js.map +1 -1
- package/js/types/Interface/api/report/ReadReportStats.js.map +1 -1
- package/js/types/Interface/api/report/UpdateReport.js.map +1 -1
- package/js/types/Interface/api/revision/QueryRevision.js.map +1 -1
- package/js/types/Interface/api/revision/QueryRevisionAccount.js.map +1 -1
- package/js/types/Interface/api/revision/QueryRevisionMergeIntoAccount.js.map +1 -1
- package/js/types/Interface/api/revision/QueryRevisionSearchEntries.js.map +1 -1
- package/js/types/Interface/api/revision/ReadRevision.js.map +1 -1
- package/js/types/Interface/api/revision/ReadRevisionAccount.js.map +1 -1
- package/js/types/Interface/api/revision/ReadRevisionMergeIntoAccount.js.map +1 -1
- package/js/types/Interface/api/revision/ReadRevisionTransactionDetail.js.map +1 -1
- package/js/types/Interface/api/revision/Revision.js.map +1 -1
- package/js/types/Interface/api/revision/RevisionObject.js.map +1 -1
- package/js/types/Interface/api/revisionGuide/CreateRevisionGuide.js.map +1 -1
- package/js/types/Interface/api/salariesFile/CreateSalariesFile.js.map +1 -1
- package/js/types/Interface/api/salariesFile/ReadSalariesFile.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/shareCapital/ReadShareCapital.js.map +1 -1
- package/js/types/Interface/api/shareCapital/ReadShareCapitalProvided.js.map +1 -1
- package/js/types/Interface/api/shareCapital/ResultCreateShareCapital.js.map +1 -1
- package/js/types/Interface/api/shine/ConnectResponse.js.map +1 -1
- package/js/types/Interface/api/shine/CreateShine.js.map +1 -1
- package/js/types/Interface/api/shine/CreateShineAccount.js.map +1 -1
- package/js/types/Interface/api/shine/CreateShineTransactions.js.map +1 -1
- package/js/types/Interface/api/shine/GetConnect.js.map +1 -1
- package/js/types/Interface/api/shopify/InvoicesShopify.js.map +1 -1
- package/js/types/Interface/api/shopify/ShopifyFinancialStatus.js.map +1 -1
- package/js/types/Interface/api/shopify/ShopifyOrder.js.map +1 -1
- package/js/types/Interface/api/shopify/address.js.map +1 -1
- package/js/types/Interface/api/shopify/base.js.map +1 -1
- package/js/types/Interface/api/shopify/client_details.js.map +1 -1
- package/js/types/Interface/api/shopify/customer.js.map +1 -1
- package/js/types/Interface/api/shopify/discount_allocation.js.map +1 -1
- package/js/types/Interface/api/shopify/discount_application.js.map +1 -1
- package/js/types/Interface/api/shopify/discount_code.js.map +1 -1
- package/js/types/Interface/api/shopify/fulfillment.js.map +1 -1
- package/js/types/Interface/api/shopify/line_item.js.map +1 -1
- package/js/types/Interface/api/shopify/line_item_property.js.map +1 -1
- package/js/types/Interface/api/shopify/location.js.map +1 -1
- package/js/types/Interface/api/shopify/note_attribute.js.map +1 -1
- package/js/types/Interface/api/shopify/payment_details.js.map +1 -1
- package/js/types/Interface/api/shopify/price_set.js.map +1 -1
- package/js/types/Interface/api/shopify/refund.js.map +1 -1
- package/js/types/Interface/api/shopify/shipping_line.js.map +1 -1
- package/js/types/Interface/api/shopify/tax_line.js.map +1 -1
- package/js/types/Interface/api/shopify/transaction.js.map +1 -1
- package/js/types/Interface/api/simulation/CreateSimulation.js.map +1 -1
- package/js/types/Interface/api/simulation/ReadSimulation.js.map +1 -1
- package/js/types/Interface/api/simulationColors/ReadSimulationColors.js.map +1 -1
- package/js/types/Interface/api/society/CreateSociety.js.map +1 -1
- package/js/types/Interface/api/society/CreateUserToSocietyWithPermission.js.map +1 -1
- package/js/types/Interface/api/society/GetDataSociety.js.map +1 -1
- package/js/types/Interface/api/society/LegalFormSiren.js.map +1 -1
- package/js/types/Interface/api/society/ListUserSociety.js.map +1 -1
- package/js/types/Interface/api/society/QuerySociety.js.map +1 -1
- package/js/types/Interface/api/society/ReadSociety.js.map +1 -1
- package/js/types/Interface/api/society/ReadSocietyUsers.js.map +1 -1
- package/js/types/Interface/api/society/UpdateSociety.js.map +1 -1
- package/js/types/Interface/api/society/UpdateUserToSocietyWithPermission.js.map +1 -1
- package/js/types/Interface/api/societyPromoCode/CreateSocietyPromoCode.js.map +1 -1
- package/js/types/Interface/api/sponsorship/CreateSponsorship.js.map +1 -1
- package/js/types/Interface/api/sponsorship/QuerySponsorship.js.map +1 -1
- package/js/types/Interface/api/sponsorship/ReadSponsorship.js.map +1 -1
- package/js/types/Interface/api/sponsorship/SendSponsorshipLink.js.map +1 -1
- package/js/types/Interface/api/stock/StockEntries.js.map +1 -1
- package/js/types/Interface/api/stock/Stocks.js.map +1 -1
- package/js/types/Interface/api/stock/StocksDepreciationInterface.js.map +1 -1
- package/js/types/Interface/api/stock/StocksType.js.map +1 -1
- package/js/types/Interface/api/stripe/QueryStripe.js.map +1 -1
- package/js/types/Interface/api/stripe/ReadStripe.js.map +1 -1
- package/js/types/Interface/api/survey/CreateSurvey.js.map +1 -1
- package/js/types/Interface/api/survey/QuerySurvey.js.map +1 -1
- package/js/types/Interface/api/survey/QuerySurveys.js.map +1 -1
- package/js/types/Interface/api/survey/ReadSurvey.js.map +1 -1
- package/js/types/Interface/api/survey/UpdateSurvey.js.map +1 -1
- package/js/types/Interface/api/tax/CreateTax.js.map +1 -1
- package/js/types/Interface/api/tax/ReadCompanyTax.js.map +1 -1
- package/js/types/Interface/api/tax/ReadTax.js.map +1 -1
- package/js/types/Interface/api/taxDeadline/QueryTaxDeadline.js.map +1 -1
- package/js/types/Interface/api/taxDeadline/ReadTaxDeadline.js.map +1 -1
- package/js/types/Interface/api/transactions/QueryUnexport.js.map +1 -1
- package/js/types/Interface/api/user/CreateCoworker.js.map +1 -1
- package/js/types/Interface/api/user/CreateUser.js.map +1 -1
- package/js/types/Interface/api/user/Permissions.js.map +1 -1
- package/js/types/Interface/api/user/QueryConfirm.js.map +1 -1
- package/js/types/Interface/api/user/QueryResendConfirmationLink.js.map +1 -1
- package/js/types/Interface/api/user/QuerySocieties.js.map +1 -1
- package/js/types/Interface/api/user/QueryUserSmsConfirmation.js.map +1 -1
- package/js/types/Interface/api/vatDeclaration/QueryVatDeclaration.js.map +1 -1
- package/js/types/Interface/api/vatDeclaration/ReadVatVariousOperations.js.map +1 -1
- package/js/types/Interface/api/vatDeclaration/ResultFormatToEntries.js.map +1 -1
- package/js/types/Interface/api/vehicle/CreateSocietyVehicle.js.map +1 -1
- package/js/types/Interface/api/vehicle/UpdateSocietyVehicle.js.map +1 -1
- package/js/types/Interface/api/woocommerce/InvoicesWoocommerce.js.map +1 -1
- package/js/types/Interface/api/woocommerce/WCBilling.js.map +1 -1
- package/js/types/Interface/api/woocommerce/WCLineItem.js.map +1 -1
- package/js/types/Interface/api/woocommerce/WCLinks.js.map +1 -1
- package/js/types/Interface/api/woocommerce/WCMetaData.js.map +1 -1
- package/js/types/Interface/api/woocommerce/WCOrder.js.map +1 -1
- package/js/types/Interface/api/woocommerce/WCSelf.js.map +1 -1
- package/js/types/Interface/api/woocommerce/WCShiping.js.map +1 -1
- package/js/types/Interface/api/woocommerce/WCShippingLine.js.map +1 -1
- package/js/types/Interface/api/woocommerce/WCTaxes.js.map +1 -1
- package/js/types/Interface/api/zticket/CreateZTicket.js.map +1 -1
- package/js/types/Interface/api/zticket/QueryZTicket.js.map +1 -1
- package/js/types/Interface/models/IAbsenceType.js.map +1 -1
- package/js/types/Interface/models/IAccessToken.js.map +1 -1
- package/js/types/Interface/models/IAccount.js.map +1 -1
- package/js/types/Interface/models/IAccountDetail.js.map +1 -1
- package/js/types/Interface/models/IAccountExtend.js.map +1 -1
- package/js/types/Interface/models/IAccountHelp.js.map +1 -1
- package/js/types/Interface/models/IAccountType.js.map +1 -1
- package/js/types/Interface/models/IAccountantTracker.js.map +1 -1
- package/js/types/Interface/models/IAccountingEntry.js.map +1 -1
- package/js/types/Interface/models/IAccountingFile.js.map +1 -1
- package/js/types/Interface/models/IAccountingFileType.js.map +1 -1
- package/js/types/Interface/models/IAccountingJournal.js.map +1 -1
- package/js/types/Interface/models/IAccountingState.js.map +1 -1
- package/js/types/Interface/models/IAccountingStateType.js.map +1 -1
- package/js/types/Interface/models/IAccountingTransaction.js.map +1 -1
- package/js/types/Interface/models/IAccountingTransaction_new.js.map +1 -1
- package/js/types/Interface/models/IAccountsSectors.js.map +1 -1
- package/js/types/Interface/models/IAccountsSocieties.js.map +1 -1
- package/js/types/Interface/models/IActivity.js.map +1 -1
- package/js/types/Interface/models/IAdditionalBalance.js.map +1 -1
- package/js/types/Interface/models/IAlert.js.map +1 -1
- package/js/types/Interface/models/IAllowedIp.js.map +1 -1
- package/js/types/Interface/models/IAnalyticsUtm.js.map +1 -1
- package/js/types/Interface/models/IAnswerType.js.map +1 -1
- package/js/types/Interface/models/IAnswerTypeValue.js.map +1 -1
- package/js/types/Interface/models/IApiError.js.map +1 -1
- package/js/types/Interface/models/IAppConfig.js.map +1 -1
- package/js/types/Interface/models/IAreasInvoice.js.map +1 -1
- package/js/types/Interface/models/IAskAbsence.js.map +1 -1
- package/js/types/Interface/models/IAskAbsenceTimes.js.map +1 -1
- package/js/types/Interface/models/IAttachmentFile.js.map +1 -1
- package/js/types/Interface/models/IAttestation.js.map +1 -1
- package/js/types/Interface/models/IAttributionHistory.js.map +1 -1
- package/js/types/Interface/models/IAutoLoginToken.js.map +1 -1
- package/js/types/Interface/models/IBalanceBankAccount.js.map +1 -1
- package/js/types/Interface/models/IBalanceSheet.js.map +1 -1
- package/js/types/Interface/models/IBalanceSheetCompletion.js.map +1 -1
- package/js/types/Interface/models/IBalanceSheetHistory.js.map +1 -1
- package/js/types/Interface/models/IBalanceSheetModule.js.map +1 -1
- package/js/types/Interface/models/IBalanceSheetModule2.js.map +1 -1
- package/js/types/Interface/models/IBalanceSheetQuestion.js.map +1 -1
- package/js/types/Interface/models/IBalanceSheetStatus.js.map +1 -1
- package/js/types/Interface/models/IBankAccount.js.map +1 -1
- package/js/types/Interface/models/IBankAccountSynchroHistory.js.map +1 -1
- package/js/types/Interface/models/IBankConnection.js.map +1 -1
- package/js/types/Interface/models/IBankList.js.map +1 -1
- package/js/types/Interface/models/IBankTransaction.js.map +1 -1
- package/js/types/Interface/models/IBrandType.js.map +1 -1
- package/js/types/Interface/models/IBusinessLine.js.map +1 -1
- package/js/types/Interface/models/IBusinessPartner.js.map +1 -1
- package/js/types/Interface/models/ICalendarEvent.js.map +1 -1
- package/js/types/Interface/models/ICalendarEventUser.js.map +1 -1
- package/js/types/Interface/models/ICallDirectly.js.map +1 -1
- package/js/types/Interface/models/ICashDeskTransactionType.js.map +1 -1
- package/js/types/Interface/models/ICategory.js.map +1 -1
- package/js/types/Interface/models/ICerfaType.js.map +1 -1
- package/js/types/Interface/models/ICerfaValue.js.map +1 -1
- package/js/types/Interface/models/IChangeLog.js.map +1 -1
- package/js/types/Interface/models/IChannelType.js.map +1 -1
- package/js/types/Interface/models/IChecklist.js.map +1 -1
- package/js/types/Interface/models/IChecklistCategoryType.js.map +1 -1
- package/js/types/Interface/models/IChecklistDetail.js.map +1 -1
- package/js/types/Interface/models/IChecklistType.js.map +1 -1
- package/js/types/Interface/models/ICivility.js.map +1 -1
- package/js/types/Interface/models/IColor.js.map +1 -1
- package/js/types/Interface/models/IComment.js.map +1 -1
- package/js/types/Interface/models/ICommentType.js.map +1 -1
- package/js/types/Interface/models/IComptaHistoryType.js.map +1 -1
- package/js/types/Interface/models/IComptaType.js.map +1 -1
- package/js/types/Interface/models/IConnector.js.map +1 -1
- package/js/types/Interface/models/IConnectorType.js.map +1 -1
- package/js/types/Interface/models/IContractType.js.map +1 -1
- package/js/types/Interface/models/ICotation.js.map +1 -1
- package/js/types/Interface/models/ICountry.js.map +1 -1
- package/js/types/Interface/models/ICurrency.js.map +1 -1
- package/js/types/Interface/models/ICustomerIsRegime.js.map +1 -1
- package/js/types/Interface/models/ICustomerSignature.js.map +1 -1
- package/js/types/Interface/models/ICustomerTva.js.map +1 -1
- package/js/types/Interface/models/ICustomisation.js.map +1 -1
- package/js/types/Interface/models/ICustomizationType.js.map +1 -1
- package/js/types/Interface/models/ICycle.js.map +1 -1
- package/js/types/Interface/models/IDay.js.map +1 -1
- package/js/types/Interface/models/IDefaultPromotion.js +6 -0
- package/js/types/Interface/models/IDefaultPromotion.js.map +1 -0
- package/js/types/Interface/models/IDetailedLogBi.js.map +1 -1
- package/js/types/Interface/models/IDirectDebitHistory.js.map +1 -1
- package/js/types/Interface/models/IDocumentWaitingType.js.map +1 -1
- package/js/types/Interface/models/IEmployee.js.map +1 -1
- package/js/types/Interface/models/IEngagementAccountingEntry.js.map +1 -1
- package/js/types/Interface/models/IEngagementAccountingFile.js.map +1 -1
- package/js/types/Interface/models/IEngagementBankTransaction.js.map +1 -1
- package/js/types/Interface/models/IEngagementOcrExtraction.js.map +1 -1
- package/js/types/Interface/models/IErrorCode.js.map +1 -1
- package/js/types/Interface/models/IEstimateInvoice.js.map +1 -1
- package/js/types/Interface/models/IEstimateInvoiceRepeat.js.map +1 -1
- package/js/types/Interface/models/IEstimateInvoiceType.js.map +1 -1
- package/js/types/Interface/models/IExercice.js.map +1 -1
- package/js/types/Interface/models/IExerciceComment.js.map +1 -1
- package/js/types/Interface/models/IExerciceDetail.js.map +1 -1
- package/js/types/Interface/models/IExerciceNote.js.map +1 -1
- package/js/types/Interface/models/IExercicePrestation.js.map +1 -1
- package/js/types/Interface/models/IExerciceQuestion.js.map +1 -1
- package/js/types/Interface/models/IFailedLoginAttempt.js.map +1 -1
- package/js/types/Interface/models/IFaq.js.map +1 -1
- package/js/types/Interface/models/IFaqCategory.js.map +1 -1
- package/js/types/Interface/models/IFecFile.js.map +1 -1
- package/js/types/Interface/models/IField.js.map +1 -1
- package/js/types/Interface/models/IFile.js.map +1 -1
- package/js/types/Interface/models/IFileMissing.js.map +1 -1
- package/js/types/Interface/models/IFileType.js.map +1 -1
- package/js/types/Interface/models/IFirstStep.js.map +1 -1
- package/js/types/Interface/models/IFiscalRegime.js.map +1 -1
- package/js/types/Interface/models/IFolderFile.js.map +1 -1
- package/js/types/Interface/models/IFollow.js.map +1 -1
- package/js/types/Interface/models/IFollowList.js.map +1 -1
- package/js/types/Interface/models/IFollowedQualityMail.js.map +1 -1
- package/js/types/Interface/models/IFollowedQualityMailType.js.map +1 -1
- package/js/types/Interface/models/IFormalism.js.map +1 -1
- package/js/types/Interface/models/IFormalismValue.js.map +1 -1
- package/js/types/Interface/models/IFrequency.js.map +1 -1
- package/js/types/Interface/models/IFuel.js.map +1 -1
- package/js/types/Interface/models/IGedCategory.js.map +1 -1
- package/js/types/Interface/models/IGedFile.js.map +1 -1
- package/js/types/Interface/models/IGedFileType.js.map +1 -1
- package/js/types/Interface/models/IGedFolder.js.map +1 -1
- package/js/types/Interface/models/IIdentification.js.map +1 -1
- package/js/types/Interface/models/IImmobilization.js.map +1 -1
- package/js/types/Interface/models/IIndependentReview.js.map +1 -1
- package/js/types/Interface/models/IInterestedByFeature.js.map +1 -1
- package/js/types/Interface/models/IInternalEstimate.js.map +1 -1
- package/js/types/Interface/models/IIpTmpBlocked.js.map +1 -1
- package/js/types/Interface/models/IJob.js.map +1 -1
- package/js/types/Interface/models/IJobCategory.js.map +1 -1
- package/js/types/Interface/models/IKilometricAllowanceScale.js.map +1 -1
- package/js/types/Interface/models/ILabelPaymentWaiting.js.map +1 -1
- package/js/types/Interface/models/ILastUpdateConnection.js.map +1 -1
- package/js/types/Interface/models/ILegalForm.js.map +1 -1
- package/js/types/Interface/models/ILegalNotice.js.map +1 -1
- package/js/types/Interface/models/ILetter.js.map +1 -1
- package/js/types/Interface/models/ILetterType.js.map +1 -1
- package/js/types/Interface/models/ILettering.js.map +1 -1
- package/js/types/Interface/models/ILoan.js.map +1 -1
- package/js/types/Interface/models/ILog.js.map +1 -1
- package/js/types/Interface/models/ILogBi.js.map +1 -1
- package/js/types/Interface/models/ILogType.js.map +1 -1
- package/js/types/Interface/models/IMachineLearningResult.js.map +1 -1
- package/js/types/Interface/models/IMailAuto.js.map +1 -1
- package/js/types/Interface/models/IMailAutoType.js.map +1 -1
- package/js/types/Interface/models/IMailSociety.js.map +1 -1
- package/js/types/Interface/models/IMonth.js.map +1 -1
- package/js/types/Interface/models/INationality.js.map +1 -1
- package/js/types/Interface/models/INature.js.map +1 -1
- package/js/types/Interface/models/INote.js.map +1 -1
- package/js/types/Interface/models/INotification.js.map +1 -1
- package/js/types/Interface/models/INotificationCodeType.js.map +1 -1
- package/js/types/Interface/models/INotificationType.js.map +1 -1
- package/js/types/Interface/models/IOldExpertInfo.js.map +1 -1
- package/js/types/Interface/models/IOperationLegalNotice.js.map +1 -1
- package/js/types/Interface/models/IPageView.js.map +1 -1
- package/js/types/Interface/models/IPartnerTransaction.js.map +1 -1
- package/js/types/Interface/models/IPartnerTransactionType.js.map +1 -1
- package/js/types/Interface/models/IPartneredAccountant.js.map +1 -1
- package/js/types/Interface/models/IPartneredAccountantCompanyService.js.map +1 -1
- package/js/types/Interface/models/IPartneredAccountantPicture.js.map +1 -1
- package/js/types/Interface/models/IPartneredAccountantService.js.map +1 -1
- package/js/types/Interface/models/IPartneredAccountantServiceIcon.js.map +1 -1
- package/js/types/Interface/models/IPartneredAccountantTag.js.map +1 -1
- package/js/types/Interface/models/IPartneredAccountantToSociety.js.map +1 -1
- package/js/types/Interface/models/IPartneredAccountantToTag.js.map +1 -1
- package/js/types/Interface/models/IPayPlan.js.map +1 -1
- package/js/types/Interface/models/IPayment.js.map +1 -1
- package/js/types/Interface/models/IPaymentDelay.js.map +1 -1
- package/js/types/Interface/models/IPaymentExpectation.js.map +1 -1
- package/js/types/Interface/models/IPaymentExpectationCustomer.js.map +1 -1
- package/js/types/Interface/models/IPaymentMethod.js.map +1 -1
- package/js/types/Interface/models/IPaymentSchedule.js.map +1 -1
- package/js/types/Interface/models/IPaymentWaiting.js.map +1 -1
- package/js/types/Interface/models/IPenalty.js.map +1 -1
- package/js/types/Interface/models/IPenaltyType.js.map +1 -1
- package/js/types/Interface/models/IPendingPoint.js.map +1 -1
- package/js/types/Interface/models/IPermission.js.map +1 -1
- package/js/types/Interface/models/IPhoneNumber.js.map +1 -1
- package/js/types/Interface/models/IPhonePrefix.js.map +1 -1
- package/js/types/Interface/models/IPhonePrefixChild.js.map +1 -1
- package/js/types/Interface/models/IPrestation.js.map +1 -1
- package/js/types/Interface/models/IPrestationComplementary.js.map +1 -1
- package/js/types/Interface/models/IPrestationList.js.map +1 -1
- package/js/types/Interface/models/IProcedure.js.map +1 -1
- package/js/types/Interface/models/IProduct.js.map +1 -1
- package/js/types/Interface/models/IProductInvoice.js.map +1 -1
- package/js/types/Interface/models/IPromoCode.js.map +1 -1
- package/js/types/Interface/models/IQuality.js.map +1 -1
- package/js/types/Interface/models/IQuotaLead.js.map +1 -1
- package/js/types/Interface/models/IRating.js.map +1 -1
- package/js/types/Interface/models/IReason.js.map +1 -1
- package/js/types/Interface/models/IReasonTermination.js.map +1 -1
- package/js/types/Interface/models/IRecontactHistory.js.map +1 -1
- package/js/types/Interface/models/IRefund.js.map +1 -1
- package/js/types/Interface/models/IRefundMotif.js.map +1 -1
- package/js/types/Interface/models/IRegion.js.map +1 -1
- package/js/types/Interface/models/IRegisterCategory.js.map +1 -1
- package/js/types/Interface/models/IRegistration.js.map +1 -1
- package/js/types/Interface/models/IRegulate.js.map +1 -1
- package/js/types/Interface/models/IRegulation.js.map +1 -1
- package/js/types/Interface/models/IRelatedAccountingTransaction.js.map +1 -1
- package/js/types/Interface/models/IRepeatType.js.map +1 -1
- package/js/types/Interface/models/IReport.js.map +1 -1
- package/js/types/Interface/models/IReportType.js.map +1 -1
- package/js/types/Interface/models/IRevisionGuide.js.map +1 -1
- package/js/types/Interface/models/IRole.js.map +1 -1
- package/js/types/Interface/models/IRoleUser.js.map +1 -1
- package/js/types/Interface/models/IRoom.js.map +1 -1
- package/js/types/Interface/models/IRule.js.map +1 -1
- package/js/types/Interface/models/ISalariesFile.js.map +1 -1
- package/js/types/Interface/models/ISchedule.js.map +1 -1
- package/js/types/Interface/models/ISector.js.map +1 -1
- package/js/types/Interface/models/ISendMethod.js.map +1 -1
- package/js/types/Interface/models/IService.js.map +1 -1
- package/js/types/Interface/models/ISheetMonthSchedule.js.map +1 -1
- package/js/types/Interface/models/ISimulation.js.map +1 -1
- package/js/types/Interface/models/ISimulationAdditionalFinance.js.map +1 -1
- package/js/types/Interface/models/ISimulationColor.js.map +1 -1
- package/js/types/Interface/models/ISimulationElement.js.map +1 -1
- package/js/types/Interface/models/ISimulationHasBankAccount.js.map +1 -1
- package/js/types/Interface/models/ISimulationPeriod.js.map +1 -1
- package/js/types/Interface/models/ISimulationSummary.js.map +1 -1
- package/js/types/Interface/models/ISms.js.map +1 -1
- package/js/types/Interface/models/ISmsType.js.map +1 -1
- package/js/types/Interface/models/ISocialDetail.js.map +1 -1
- package/js/types/Interface/models/ISociety.js.map +1 -1
- package/js/types/Interface/models/ISocietyApproval.js.map +1 -1
- package/js/types/Interface/models/ISocietyBank.js.map +1 -1
- package/js/types/Interface/models/ISocietyBudgetConnection.js.map +1 -1
- package/js/types/Interface/models/ISocietyCgv.js.map +1 -1
- package/js/types/Interface/models/ISocietyConfig.js.map +1 -1
- package/js/types/Interface/models/ISocietyConfigBalanceSheet.js.map +1 -1
- package/js/types/Interface/models/ISocietyDetail.js.map +1 -1
- package/js/types/Interface/models/ISocietyFile.js.map +1 -1
- package/js/types/Interface/models/ISocietyGescom.js.map +1 -1
- package/js/types/Interface/models/ISocietyJuridical.js.map +1 -1
- package/js/types/Interface/models/ISocietyNote.js.map +1 -1
- package/js/types/Interface/models/ISocietyPartner.js.map +1 -1
- package/js/types/Interface/models/ISocietyProceding.js.map +1 -1
- package/js/types/Interface/models/ISocietyPromoCode.js.map +1 -1
- package/js/types/Interface/models/ISocietyRelance.js.map +1 -1
- package/js/types/Interface/models/ISocietySocial.js.map +1 -1
- package/js/types/Interface/models/ISocietySoftware.js.map +1 -1
- package/js/types/Interface/models/ISocietyStat.js.map +1 -1
- package/js/types/Interface/models/ISocietyVehicle.js.map +1 -1
- package/js/types/Interface/models/ISoftwareCompta.js.map +1 -1
- package/js/types/Interface/models/ISource.js.map +1 -1
- package/js/types/Interface/models/ISpecialOperation.js.map +1 -1
- package/js/types/Interface/models/ISponsorship.js.map +1 -1
- package/js/types/Interface/models/ISponsorshipCheck.js.map +1 -1
- package/js/types/Interface/models/ISponsorshipLink.js.map +1 -1
- package/js/types/Interface/models/ISponsorshipWithSponsorInfo.js.map +1 -1
- package/js/types/Interface/models/IStatusSignature.js.map +1 -1
- package/js/types/Interface/models/IStock.js.map +1 -1
- package/js/types/Interface/models/IStripeEvent.js.map +1 -1
- package/js/types/Interface/models/IStripeEventType.js.map +1 -1
- package/js/types/Interface/models/ISubscriptionType.js.map +1 -1
- package/js/types/Interface/models/ISuggestion.js.map +1 -1
- package/js/types/Interface/models/ISupervision.js.map +1 -1
- package/js/types/Interface/models/ISupervisionJob.js.map +1 -1
- package/js/types/Interface/models/ISupervisionPendingPoint.js.map +1 -1
- package/js/types/Interface/models/ISurvey.js.map +1 -1
- package/js/types/Interface/models/ITag.js.map +1 -1
- package/js/types/Interface/models/ITask.js.map +1 -1
- package/js/types/Interface/models/ITaxSystem.js.map +1 -1
- package/js/types/Interface/models/ITeam.js.map +1 -1
- package/js/types/Interface/models/ITeamBusinessLine.js.map +1 -1
- package/js/types/Interface/models/ITerminationList.js.map +1 -1
- package/js/types/Interface/models/IThirdParty.js.map +1 -1
- package/js/types/Interface/models/IThirdPartySociety.js.map +1 -1
- package/js/types/Interface/models/IThirdPartyType.js.map +1 -1
- package/js/types/Interface/models/ITicketSupport.js.map +1 -1
- package/js/types/Interface/models/ITicketSupportFollow.js.map +1 -1
- package/js/types/Interface/models/ITimeTracking.js.map +1 -1
- package/js/types/Interface/models/ITimeTrackingSource.js.map +1 -1
- package/js/types/Interface/models/ITmpValidationToken.js.map +1 -1
- package/js/types/Interface/models/IUser.js.map +1 -1
- package/js/types/Interface/models/IUserNotification.js.map +1 -1
- package/js/types/Interface/models/IUserSocietyPermission.js.map +1 -1
- package/js/types/Interface/models/IUserSocietyTicketSupport.js.map +1 -1
- package/js/types/Interface/models/IUserTeam.js.map +1 -1
- package/js/types/Interface/models/IUserTest.js.map +1 -1
- package/js/types/Interface/models/IVat.js.map +1 -1
- package/js/types/Interface/models/IVatDeclaration.js.map +1 -1
- package/js/types/Interface/models/IVatDeclarationCertificate.js.map +1 -1
- package/js/types/Interface/models/IVatDeclarationSocietyDetail.js.map +1 -1
- package/js/types/Interface/models/IVatMargin.js.map +1 -1
- package/js/types/Interface/models/IVatRegime.js.map +1 -1
- package/js/types/Interface/models/IVehicleType.js.map +1 -1
- package/js/types/Interface/models/IWebMail.js.map +1 -1
- package/js/types/Interface/models/IWebMailAttachment.js.map +1 -1
- package/js/types/Interface/models/IWebMailSpam.js.map +1 -1
- package/js/types/Interface/models/IWebMailSpamType.js.map +1 -1
- package/js/types/Interface/models/IWebMailStat.js.map +1 -1
- package/js/types/Interface/models/IWebMailType.js.map +1 -1
- package/js/types/Interface/models/IWorkingSchedule.js.map +1 -1
- package/js/types/Interface/models/IZTicket.js.map +1 -1
- package/js/types/index.js +72 -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/logger.js.map +1 -1
- package/js/utils/objectUtils/BaseEntity.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/overwrite.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/package.json +1 -1
- package/ts/api/resources/Closing.ts +3 -0
- package/ts/api/resources/Library.ts +11 -2
- package/ts/api/resources/MachineLearning.ts +10 -1
- package/ts/api/resources/PromoCode.ts +7 -1
- package/ts/api/resources/Registration.ts +12 -1
- package/ts/types/Enum/AnswerTypeValue.ts +1 -1
- package/ts/types/Enum/BalanceSheetQuestion.ts +23 -2
- package/ts/types/Enum/Registration.ts +6 -0
- package/ts/types/Enum/Vat.ts +182 -12
- package/ts/types/Interface/api/accountingEntry/AnnotateAccountingTransaction.ts +2 -0
- package/ts/types/Interface/api/accountingTransaction/GetTransactionsBetweenDates.ts +9 -0
- package/ts/types/Interface/api/cerfa/2050.ts +0 -2
- package/ts/types/Interface/api/product/CreateProduct.ts +1 -2
- package/ts/types/Interface/api/promoCode/QueryDefaultPromotion.ts +30 -0
- package/ts/types/Interface/api/promoCode/ReadDefaultPromotion.ts +6 -0
- package/ts/types/Interface/api/registration/CreateRegistration.ts +17 -14
- package/ts/types/Interface/api/registration/QueryRegistration.ts +12 -0
- package/ts/types/Interface/api/registration/ReadRegistration.ts +2 -9
- package/ts/types/Interface/models/IDefaultPromotion.ts +16 -0
- package/ts/types/Interface/models/IFecFile.ts +1 -0
- package/ts/types/Interface/models/IRegistration.ts +4 -3
- package/ts/types/index.ts +6 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"boolean.transform.js","mappings":";;;;;;;AAAA;;AAEA,MAAMA,cAAc,GAAIC,KAAD,IAAe;AACpC,MAAIA,KAAK,KAAK,IAAV,IAAkBA,KAAK,KAAKC,SAAhC,EAA2C;AACzC,WAAOA,SAAP;AACD;;AACD,MAAI,OAAOD,KAAP,KAAiB,SAArB,EAAgC;AAC9B,WAAOA,KAAP;AACD;;AACD,MAAI,CAAC,MAAD,EAAS,IAAT,EAAe,KAAf,EAAsB,GAAtB,EAA2BE,QAA3B,CAAoCF,KAAK,CAACG,WAAN,EAApC,CAAJ,EAA8D;AAC5D,WAAO,IAAP;AACD;;AACD,MAAI,CAAC,OAAD,EAAU,KAAV,EAAiB,IAAjB,EAAuB,GAAvB,EAA4BD,QAA5B,CAAqCF,KAAK,CAACG,WAAN,EAArC,CAAJ,EAA+D;AAC7D,WAAO,KAAP;AACD;;AACD,SAAOF,SAAP;AACD,CAdD;;AAgBA,MAAMG,SAAS,GAAG,MAAK;AACrB,QAAMC,OAAO,GAAG,iCACd,CAAC;AAAEL;AAAF,GAAD,KAAeA,KADD,EAEd;AACEM,eAAW,EAAE;AADf,GAFc,CAAhB;;AAMA,QAAMC,OAAO,GAAG,CAACC,MAAD,EAAcC,GAAd,KAA8B,iCAC5C,CAAC;AAAEC;AAAF,GAAD,KAAaX,cAAc,CAACW,GAAG,CAACD,GAAD,CAAJ,CADiB,EAE5C;AACEE,eAAW,EAAE;AADf,GAF4C,EAK5CH,MAL4C,EAKpCC,GALoC,CAA9C;;AAMA,SAAO,CAACD,MAAD,EAAcC,GAAd,KAA6B;AAClCJ,WAAO,CAACG,MAAD,EAASC,GAAT,CAAP;AACAF,WAAO,CAACC,MAAD,EAASC,GAAT,CAAP;AACD,GAHD;AAID,CAjBD;;QAmBSL,S,GAAAA,S","names":["valueToBoolean","value","undefined","includes","toLowerCase","ToBoolean","toPlain","toPlainOnly","toClass","target","key","obj","toClassOnly"],"sourceRoot":"","sources":["../../../ts/utils/transforms/boolean.transform.ts"],"sourcesContent":["import { Transform } from 'class-transformer';\n\nconst valueToBoolean = (value: any) => {\n if (value === null || value === undefined) {\n return undefined;\n }\n if (typeof value === 'boolean') {\n return value;\n }\n if (['true', 'on', 'yes', '1'].includes(value.toLowerCase())) {\n return true;\n }\n if (['false', 'off', 'no', '0'].includes(value.toLowerCase())) {\n return false;\n }\n return undefined;\n};\n\nconst ToBoolean = () => {\n const toPlain = Transform(\n ({ value }) => value,\n {\n toPlainOnly: true,\n },\n );\n const toClass = (target: any, key: string) => Transform(\n ({ obj }) => valueToBoolean(obj[key]),\n {\n toClassOnly: true,\n },\n )(target, key);\n return (target: any, key: string) => {\n toPlain(target, key);\n toClass(target, key);\n };\n};\n\nexport { ToBoolean };"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"formattedDateString.validator.js","mappings":";;;;;QAIgBA,qB,GAAAA,qB;;AAJhB;;AAIM,SAAUA,qBAAV,CAAgCC,iBAAhC,EAAqE;AACzE,SAAO,SAASC,SAAT,CAAmBC,MAAnB,EAAgCC,YAAhC,EAAoD;AACzD,2CAAkB;AAChBC,UAAI,EAAE,uBADU;AAEhBC,YAAM,EAAEH,MAAM,CAACI,WAFC;AAGhBH,kBAHgB;AAIhBI,aAAO;AACLC,eAAO,EAAE,GAAGL,YAAY;AADnB,SAEFH,iBAFE,CAJS;AAQhBC,eAAS,EAAE;AACTQ,gBAAQ,CAACC,KAAD,EAAaC,IAAb,EAAsC;AAC5C,gBAAMC,SAAS,GAAG,mMAAlB;AACA,iBAAO,OAAOF,KAAP,KAAiB,QAAjB,IACJE,SAAS,CAACC,IAAV,CAAeH,KAAf,CADH;AAED;;AALQ;AARK,KAAlB;AAgBD,GAjBD;AAkBD","names":["IsFormattedDateString","validationOptions","validator","object","propertyName","name","target","constructor","options","message","validate","value","args","dateRegex","test"],"sourceRoot":"","sources":["../../../ts/utils/validators/formattedDateString.validator.ts"],"sourcesContent":["import {\n registerDecorator, ValidationArguments, ValidationOptions,\n} from 'class-validator';\n\nexport function IsFormattedDateString(validationOptions?: ValidationOptions) {\n return function validator(object: any, propertyName: string) {\n registerDecorator({\n name: 'IsFormattedDateString',\n target: object.constructor,\n propertyName,\n options: {\n message: `${propertyName} should be a string date formatted in 'YYYY-MM-DD'`,\n ...validationOptions,\n },\n validator: {\n validate(value: any, args: ValidationArguments) {\n const dateRegex = /^((\\d{4}-((0[13578]-|1[02]-)(0[1-9]|[12]\\d|3[01])|(0[13456789]-|1[012]-)(0[1-9]|[12]\\d|30)|02-(0[1-9]|1\\d|2[0-8])))|((([02468][048]|[13579][26])00|\\d{2}([13579][26]|0[48]|[2468][048])))-02-29)$/;\n return typeof value === 'string'\n && dateRegex.test(value);\n },\n },\n });\n };\n}"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"objectId.validator.js","mappings":";;;;;QAWgBA,U,GAAAA,U;;AAXhB;;AAWM,SAAUA,UAAV,CAAqBC,QAArB,EAA2CC,iBAA3C,EAAgF;AACpF,SAAO,SAASC,SAAT,CAAmBC,MAAnB,EAAgCC,YAAhC,EAAoD;AACzD,2CAAkB;AAChBC,UAAI,EAAE,YADU;AAEhBC,YAAM,EAAEH,MAAM,CAACI,WAFC;AAGhBH,kBAHgB;AAIhBI,iBAAW,EAAE,CAACR,QAAD,CAJG;AAKhBS,aAAO;AACLC,eAAO,EAAE,GAAGN,YAAY;AADnB,SAEFH,iBAFE,CALS;AAShBC,eAAS,EAAE;AACTS,gBAAQ,CAACC,KAAD,EAAaC,IAAb,EAAsC;AAC5C,iBAAO,OAAOD,KAAP,KAAiB,QAAjB,IACJE,MAAM,CAACC,MAAP,CAAcf,QAAd,EAAwBgB,GAAxB,CAA6BC,CAAD,IAAOA,CAAC,CAACC,EAArC,EAAyCC,QAAzC,CAAkDP,KAAlD,CADH;AAED;;AAJQ;AATK,KAAlB;AAgBD,GAjBD;AAkBD","names":["IsObjectId","property","validationOptions","validator","object","propertyName","name","target","constructor","constraints","options","message","validate","value","args","Object","values","map","p","id","includes"],"sourceRoot":"","sources":["../../../ts/utils/validators/objectId.validator.ts"],"sourcesContent":["import { registerDecorator, ValidationArguments, ValidationOptions } from 'class-validator';\n\ninterface ObjectWithId {\n id: number;\n [key: string]: unknown;\n}\n\ninterface EnumObject {\n [key: string]: ObjectWithId\n}\n\nexport function IsObjectId(property: EnumObject, validationOptions?: ValidationOptions) {\n return function validator(object: any, propertyName: string) {\n registerDecorator({\n name: 'IsObjectId',\n target: object.constructor,\n propertyName,\n constraints: [property],\n options: {\n message: `${propertyName} should be a valid id from enum`,\n ...validationOptions,\n },\n validator: {\n validate(value: any, args: ValidationArguments) {\n return typeof value === 'number'\n && Object.values(property).map((p) => p.id).includes(value);\n },\n },\n });\n };\n}"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@silexpert/core",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.151",
|
|
4
4
|
"description": "Silex Core perform HTTP Request and object binding. Silex core helps developers to retrieve and return formatted object",
|
|
5
5
|
"homepage": "https://gitlab.compta-clementine.fr/dev/silex-api",
|
|
6
6
|
"main": "js/index.js",
|
|
@@ -5,4 +5,7 @@ export class Closing extends Resource {
|
|
|
5
5
|
process(idExercice: number): Promise<ProcessedClosing> {
|
|
6
6
|
return this.axios.$post(`/balance-sheets/exercices/${idExercice}/closings`);
|
|
7
7
|
}
|
|
8
|
+
getDeadline(idExercice: number): Promise<string> {
|
|
9
|
+
return this.axios.$post(`/balance-sheets/exercices/${idExercice}/deadline`);
|
|
10
|
+
}
|
|
8
11
|
}
|
|
@@ -6,7 +6,16 @@ export class Library extends Resource {
|
|
|
6
6
|
return this.axios.$get('/library/file', { params });
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
-
download(idSociety: number, params: QueryDownloadFile): Promise<Buffer> {
|
|
10
|
-
return this.axios.$get(`/library/${idSociety}/file/download`,
|
|
9
|
+
download(idSociety: number, params: QueryDownloadFile, isPdfFile = false): Promise<Buffer> {
|
|
10
|
+
return this.axios.$get(`/library/${idSociety}/file/download`,
|
|
11
|
+
{
|
|
12
|
+
params,
|
|
13
|
+
...(isPdfFile ? {
|
|
14
|
+
responseType: 'arraybuffer',
|
|
15
|
+
headers: {
|
|
16
|
+
Accept: 'application/pdf',
|
|
17
|
+
},
|
|
18
|
+
} : {}),
|
|
19
|
+
});
|
|
11
20
|
}
|
|
12
21
|
}
|
|
@@ -1,8 +1,17 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
GetTransactionsBetweenDates,
|
|
3
|
+
ResultCreateMachineLearningAnnotation,
|
|
4
|
+
} from '../..';
|
|
2
5
|
import { Resource } from '../Resource';
|
|
3
6
|
|
|
4
7
|
export class MachineLearning extends Resource {
|
|
5
8
|
machineLearningAnnotation(): Promise<ResultCreateMachineLearningAnnotation> {
|
|
6
9
|
return this.axios.$post('/transactions/machine-learning');
|
|
7
10
|
}
|
|
11
|
+
annotateBankAccountWithMachineLearning(idBankAccount: number, params: GetTransactionsBetweenDates): Promise<ResultCreateMachineLearningAnnotation> {
|
|
12
|
+
return this.axios.$post(`/transactions/machin-learning/bankAccount/${idBankAccount}`, {
|
|
13
|
+
startDate: params.startDate,
|
|
14
|
+
endDate: params.endDate,
|
|
15
|
+
});
|
|
16
|
+
}
|
|
8
17
|
}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { Resource } from '../Resource';
|
|
2
|
-
import {
|
|
2
|
+
import {
|
|
3
|
+
IPromoCode, CreatePromoCode, UpdatePromoCode, QueryDefaultPromotion, ReadDefaultPromotion,
|
|
4
|
+
} from '../../types';
|
|
3
5
|
|
|
4
6
|
export class PromoCode extends Resource {
|
|
5
7
|
getAll(): Promise<IPromoCode[]> {
|
|
@@ -17,4 +19,8 @@ export class PromoCode extends Resource {
|
|
|
17
19
|
delete(id: number): Promise<void> {
|
|
18
20
|
return this.axios.$delete(`/promoCode/${id}`);
|
|
19
21
|
}
|
|
22
|
+
|
|
23
|
+
getDefaultPromotion(params: QueryDefaultPromotion): Promise<ReadDefaultPromotion | null> {
|
|
24
|
+
return this.axios.$get('/promoCode/default', { params });
|
|
25
|
+
}
|
|
20
26
|
}
|
|
@@ -1,8 +1,19 @@
|
|
|
1
1
|
import { Resource } from '../Resource';
|
|
2
|
-
import {
|
|
2
|
+
import {
|
|
3
|
+
CreateRegistration, ReadRegistration, CreateRegistrationSetting, IVatDeclarationSocietyDetail, QueryRegistration,
|
|
4
|
+
} from '../../types';
|
|
3
5
|
|
|
4
6
|
export class Registration extends Resource {
|
|
5
7
|
updateOrCreate(idExercice: number, params: CreateRegistration): Promise<ReadRegistration> {
|
|
6
8
|
return this.axios.$post(`/exercices/${idExercice}/registrations`, params);
|
|
7
9
|
}
|
|
10
|
+
updateOrCreateSettings(params: CreateRegistrationSetting): Promise<IVatDeclarationSocietyDetail> {
|
|
11
|
+
return this.axios.$post('/registrations/settings', params);
|
|
12
|
+
}
|
|
13
|
+
getAll(idSociety: number, params?: QueryRegistration): Promise<ReadRegistration[]> {
|
|
14
|
+
return this.axios.$get(`/societies/${idSociety}/registrations`, { ...(params ? { params } : {}) });
|
|
15
|
+
}
|
|
16
|
+
declare(id: number): Promise<ReadRegistration> {
|
|
17
|
+
return this.axios.$post(`/registrations/${id}/declare`);
|
|
18
|
+
}
|
|
8
19
|
}
|
|
@@ -13,7 +13,6 @@ export enum AnswerType {
|
|
|
13
13
|
NEGATIVE_PRICE_OR_NA = 'NEGATIVE_PRICE_OR_NA',
|
|
14
14
|
BNC_ENUM = 'BNC_ENUM',
|
|
15
15
|
EMAIL = 'EMAIL',
|
|
16
|
-
PHONE_OR_NA = 'PHONE_OR_NA',
|
|
17
16
|
SIRET = 'SIRET',
|
|
18
17
|
'DATE_DD/MM/YYYY' = 'DATE_DD/MM/YYYY',
|
|
19
18
|
INTEGER_OR_NA = 'INTEGER_OR_NA',
|
|
@@ -25,6 +24,7 @@ export enum AnswerType {
|
|
|
25
24
|
JSON = 'JSON',
|
|
26
25
|
TERMINATION_ENUM = 'TERMINATION_ENUM',
|
|
27
26
|
AMO_AUDITOR_ENUM = 'AMO_AUDITOR_ENUM',
|
|
27
|
+
PHONE_OR_NA = 'PHONE_OR_NA',
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
export const ANSWER_TYPE_NA = 'NA';
|
|
@@ -309,9 +309,30 @@ export enum Question {
|
|
|
309
309
|
NET_INTELLECTUAL_PROPERTY_TAXABLE = 'NET_INTELLECTUAL_PROPERTY_TAXABLE',
|
|
310
310
|
|
|
311
311
|
/**
|
|
312
|
-
*
|
|
312
|
+
* 2572
|
|
313
313
|
*/
|
|
314
|
+
RENTAL_INCOME_DEPOSIT_AMOUNT = 'RENTAL_INCOME_DEPOSIT_AMOUNT',
|
|
315
|
+
BIOLOGIC_AGRICULTURE_TAX_CREDIT = 'BIOLOGIC_AGRICULTURE_TAX_CREDIT',
|
|
316
|
+
CINEMATIC_WORK_TAX_CREDIT = 'CINEMATIC_WORK_TAX_CREDIT',
|
|
317
|
+
FAMILY_TAX_CREDIT = 'FAMILY_TAX_CREDIT',
|
|
318
|
+
COMPANY_PURCHASE_BY_EMPLOYEES_TAX_CREDIT = 'COMPANY_PURCHASE_BY_EMPLOYEES_TAX_CREDIT',
|
|
319
|
+
COURSE_MANAGER_TAX_CREDIT = 'COURSE_MANAGER_TAX_CREDIT',
|
|
320
|
+
HAS_OTHER_REPORTABLE_RECEIVABLES_TAX_CREDIT = 'HAS_OTHER_REPORTABLE_RECEIVABLES_TAX_CREDIT',
|
|
321
|
+
OTHER_REPORTABLE_RECEIVABLES_TAX_CREDIT = 'OTHER_REPORTABLE_RECEIVABLES_TAX_CREDIT',
|
|
322
|
+
RESEARCH_TAX_CREDIT = 'RESEARCH_TAX_CREDIT',
|
|
323
|
+
REPORT_DEFICIT_TAX_CREDIT = 'REPORT_DEFICIT_TAX_CREDIT',
|
|
324
|
+
CORSICA_INVESTMENT_TAX_CREDIT = 'CORSICA_INVESTMENT_TAX_CREDIT',
|
|
325
|
+
MAYOTE_JOB_COMPETITIVENESS_TAX_CREDIT = 'MAYOTE_JOB_COMPETITIVENESS_TAX_CREDIT',
|
|
326
|
+
MAYOTE_JOB_COMPETITIVENESS_TAX_CREDIT_PREFINANCING = 'MAYOTE_JOB_COMPETITIVENESS_TAX_CREDIT_PREFINANCING',
|
|
327
|
+
JOB_COMPETITIVENESS_TAX_CREDIT = 'JOB_COMPETITIVENESS_TAX_CREDIT',
|
|
328
|
+
JOB_COMPETITIVENESS_TAX_CREDIT_PREFINANCING = 'JOB_COMPETITIVENESS_TAX_CREDIT_PREFINANCING',
|
|
329
|
+
PATRONAGE_FRANCE_TAX_CREDIT = 'PATRONAGE_FRANCE_TAX_CREDIT',
|
|
330
|
+
PATRONAGE_EU_TAX_CREDIT = 'PATRONAGE_EU_TAX_CREDIT',
|
|
331
|
+
OTHER_NON_REPORTABLE_RECEIVABLES_TAX_CREDIT = 'OTHER_NON_REPORTABLE_RECEIVABLES_TAX_CREDIT',
|
|
332
|
+
MEDIA_COMPANY_CAPITAL_TAX_CREDIT = 'MEDIA_COMPANY_CAPITAL_TAX_CREDIT',
|
|
333
|
+
BIKE_FLEET_TAX_CREDIT = 'BIKE_FLEET_TAX_CREDIT',
|
|
334
|
+
FOREIGN_NON_REAL_ESTATE_VALUE_TAX_CREDIT = 'FOREIGN_NON_REAL_ESTATE_VALUE_TAX_CREDIT',
|
|
335
|
+
REAL_ESTATE_VALUE_TAX_CREDIT = 'REAL_ESTATE_VALUE_TAX_CREDIT',
|
|
314
336
|
|
|
315
337
|
'N-1_PAYMENT_OR_DEPOSIT' = 'N-1_PAYMENT_OR_DEPOSIT',
|
|
316
|
-
RENTAL_INCOME_DEPOSIT_AMOUNT = 'RENTAL_INCOME_DEPOSIT_AMOUNT',
|
|
317
338
|
}
|
package/ts/types/Enum/Vat.ts
CHANGED
|
@@ -1,7 +1,24 @@
|
|
|
1
|
-
export
|
|
1
|
+
export interface VatType{
|
|
2
|
+
id: number;
|
|
3
|
+
idTva: number;
|
|
4
|
+
value: number;
|
|
5
|
+
displayOrder: number;
|
|
6
|
+
name: string;
|
|
7
|
+
collected: number;
|
|
8
|
+
deductible: number;
|
|
9
|
+
immobilization: number | null;
|
|
10
|
+
roundPercentage: number[];
|
|
11
|
+
isVatImportation: boolean;
|
|
12
|
+
isVatIntracom: boolean;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export interface VatTypeEnum {
|
|
16
|
+
[key: string]: VatType
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export const Vat:VatTypeEnum = {
|
|
2
20
|
WITHOUT_TAXE: {
|
|
3
21
|
id: 1,
|
|
4
|
-
// TODO We should remove idTva when GET vat is remove from api v1
|
|
5
22
|
idTva: 1,
|
|
6
23
|
value: 0,
|
|
7
24
|
displayOrder: 6,
|
|
@@ -10,10 +27,11 @@ export const Vat = {
|
|
|
10
27
|
deductible: 221,
|
|
11
28
|
immobilization: 19,
|
|
12
29
|
roundPercentage: [0],
|
|
30
|
+
isVatImportation: false,
|
|
31
|
+
isVatIntracom: false,
|
|
13
32
|
},
|
|
14
33
|
TX_5_5: {
|
|
15
34
|
id: 2,
|
|
16
|
-
// TODO We should remove idTva when GET vat is remove from api v1
|
|
17
35
|
idTva: 2,
|
|
18
36
|
value: 5.5,
|
|
19
37
|
displayOrder: 4,
|
|
@@ -22,10 +40,11 @@ export const Vat = {
|
|
|
22
40
|
deductible: 4,
|
|
23
41
|
immobilization: 10,
|
|
24
42
|
roundPercentage: [5, 6],
|
|
43
|
+
isVatImportation: false,
|
|
44
|
+
isVatIntracom: false,
|
|
25
45
|
},
|
|
26
46
|
TX_10: {
|
|
27
47
|
id: 3,
|
|
28
|
-
// TODO We should remove idTva when GET vat is remove from api v1
|
|
29
48
|
idTva: 3,
|
|
30
49
|
value: 10,
|
|
31
50
|
displayOrder: 2,
|
|
@@ -34,10 +53,11 @@ export const Vat = {
|
|
|
34
53
|
deductible: 5,
|
|
35
54
|
immobilization: 11,
|
|
36
55
|
roundPercentage: [10, 11],
|
|
56
|
+
isVatImportation: false,
|
|
57
|
+
isVatIntracom: false,
|
|
37
58
|
},
|
|
38
59
|
TX_20: {
|
|
39
60
|
id: 4,
|
|
40
|
-
// TODO We should remove idTva when GET vat is remove from api v1
|
|
41
61
|
idTva: 4,
|
|
42
62
|
value: 20,
|
|
43
63
|
displayOrder: 1,
|
|
@@ -46,10 +66,11 @@ export const Vat = {
|
|
|
46
66
|
deductible: 6,
|
|
47
67
|
immobilization: 12,
|
|
48
68
|
roundPercentage: [19, 20, 21],
|
|
69
|
+
isVatImportation: false,
|
|
70
|
+
isVatIntracom: false,
|
|
49
71
|
},
|
|
50
72
|
TX_2_1: {
|
|
51
73
|
id: 6,
|
|
52
|
-
// TODO We should remove idTva when GET vat is remove from api v1
|
|
53
74
|
idTva: 6,
|
|
54
75
|
value: 2.1,
|
|
55
76
|
displayOrder: 5,
|
|
@@ -58,10 +79,11 @@ export const Vat = {
|
|
|
58
79
|
deductible: 7,
|
|
59
80
|
immobilization: 13,
|
|
60
81
|
roundPercentage: [2, 3],
|
|
82
|
+
isVatImportation: false,
|
|
83
|
+
isVatIntracom: false,
|
|
61
84
|
},
|
|
62
85
|
TX_8_5: {
|
|
63
86
|
id: 7,
|
|
64
|
-
// TODO We should remove idTva when GET vat is remove from api v1
|
|
65
87
|
idTva: 7,
|
|
66
88
|
value: 8.5,
|
|
67
89
|
displayOrder: 3,
|
|
@@ -70,10 +92,11 @@ export const Vat = {
|
|
|
70
92
|
deductible: 8,
|
|
71
93
|
immobilization: 15,
|
|
72
94
|
roundPercentage: [8, 9],
|
|
95
|
+
isVatImportation: false,
|
|
96
|
+
isVatIntracom: false,
|
|
73
97
|
},
|
|
74
98
|
MARGE: {
|
|
75
99
|
id: 8,
|
|
76
|
-
// TODO We should remove idTva when GET vat is remove from api v1
|
|
77
100
|
idTva: 8,
|
|
78
101
|
value: 0,
|
|
79
102
|
displayOrder: 9,
|
|
@@ -82,22 +105,167 @@ export const Vat = {
|
|
|
82
105
|
deductible: 9,
|
|
83
106
|
immobilization: null,
|
|
84
107
|
roundPercentage: [],
|
|
108
|
+
isVatImportation: false,
|
|
109
|
+
isVatIntracom: false,
|
|
85
110
|
},
|
|
86
|
-
|
|
111
|
+
INTRACOM_TX_20: {
|
|
87
112
|
id: 9,
|
|
88
|
-
// TODO We should remove idTva when GET vat is remove from api v1
|
|
89
113
|
idTva: 9,
|
|
90
114
|
value: 20,
|
|
91
115
|
displayOrder: 7,
|
|
92
|
-
name: 'TVA intracom',
|
|
116
|
+
name: 'TVA intracom 20%',
|
|
93
117
|
collected: 207,
|
|
94
118
|
deductible: 208,
|
|
95
119
|
immobilization: 208,
|
|
96
120
|
roundPercentage: [],
|
|
121
|
+
isVatImportation: false,
|
|
122
|
+
isVatIntracom: true,
|
|
123
|
+
},
|
|
124
|
+
INTRACOM_WITHOUT_TAXE: {
|
|
125
|
+
id: 17,
|
|
126
|
+
idTva: 17,
|
|
127
|
+
value: 0,
|
|
128
|
+
displayOrder: 7,
|
|
129
|
+
name: 'TVA intracom Hors-Taxe',
|
|
130
|
+
collected: 207,
|
|
131
|
+
deductible: 208,
|
|
132
|
+
immobilization: 208,
|
|
133
|
+
roundPercentage: [],
|
|
134
|
+
isVatImportation: false,
|
|
135
|
+
isVatIntracom: true,
|
|
136
|
+
},
|
|
137
|
+
INTRACOM_TX_5_5: {
|
|
138
|
+
id: 18,
|
|
139
|
+
idTva: 18,
|
|
140
|
+
value: 5.5,
|
|
141
|
+
displayOrder: 7,
|
|
142
|
+
name: 'TVA intracom 5.5%',
|
|
143
|
+
collected: 207,
|
|
144
|
+
deductible: 208,
|
|
145
|
+
immobilization: 208,
|
|
146
|
+
roundPercentage: [],
|
|
147
|
+
isVatImportation: false,
|
|
148
|
+
isVatIntracom: true,
|
|
149
|
+
},
|
|
150
|
+
INTRACOM_TX_10: {
|
|
151
|
+
id: 19,
|
|
152
|
+
idTva: 19,
|
|
153
|
+
value: 10,
|
|
154
|
+
displayOrder: 7,
|
|
155
|
+
name: 'TVA intracom 10%',
|
|
156
|
+
collected: 207,
|
|
157
|
+
deductible: 208,
|
|
158
|
+
immobilization: 208,
|
|
159
|
+
roundPercentage: [],
|
|
160
|
+
isVatImportation: false,
|
|
161
|
+
isVatIntracom: true,
|
|
162
|
+
},
|
|
163
|
+
INTRACOM_TX_2_1: {
|
|
164
|
+
id: 20,
|
|
165
|
+
idTva: 20,
|
|
166
|
+
value: 2.1,
|
|
167
|
+
displayOrder: 7,
|
|
168
|
+
name: 'TVA intracom 2.1%',
|
|
169
|
+
collected: 207,
|
|
170
|
+
deductible: 208,
|
|
171
|
+
immobilization: 208,
|
|
172
|
+
roundPercentage: [],
|
|
173
|
+
isVatImportation: false,
|
|
174
|
+
isVatIntracom: true,
|
|
175
|
+
},
|
|
176
|
+
INTRACOM_TX_8_5: {
|
|
177
|
+
id: 21,
|
|
178
|
+
idTva: 21,
|
|
179
|
+
value: 8.5,
|
|
180
|
+
displayOrder: 7,
|
|
181
|
+
name: 'TVA intracom 8.5%',
|
|
182
|
+
collected: 207,
|
|
183
|
+
deductible: 208,
|
|
184
|
+
immobilization: 208,
|
|
185
|
+
roundPercentage: [],
|
|
186
|
+
isVatImportation: false,
|
|
187
|
+
isVatIntracom: true,
|
|
188
|
+
},
|
|
189
|
+
IMPORTATION_WITHOUT_TAXE: {
|
|
190
|
+
id: 10,
|
|
191
|
+
idTva: 10,
|
|
192
|
+
value: 0,
|
|
193
|
+
displayOrder: 8,
|
|
194
|
+
name: 'TVA Importation Hors-Taxe',
|
|
195
|
+
collected: 572,
|
|
196
|
+
deductible: 573,
|
|
197
|
+
immobilization: 573,
|
|
198
|
+
roundPercentage: [],
|
|
199
|
+
isVatImportation: true,
|
|
200
|
+
isVatIntracom: false,
|
|
201
|
+
},
|
|
202
|
+
IMPORTATION_TX_5_5: {
|
|
203
|
+
id: 12,
|
|
204
|
+
idTva: 12,
|
|
205
|
+
value: 5.5,
|
|
206
|
+
displayOrder: 8,
|
|
207
|
+
name: 'TVA Importation 5.5%',
|
|
208
|
+
collected: 574,
|
|
209
|
+
deductible: 575,
|
|
210
|
+
immobilization: 575,
|
|
211
|
+
roundPercentage: [],
|
|
212
|
+
isVatImportation: true,
|
|
213
|
+
isVatIntracom: false,
|
|
214
|
+
},
|
|
215
|
+
IMPORTATION_TX_10: {
|
|
216
|
+
id: 13,
|
|
217
|
+
idTva: 13,
|
|
218
|
+
value: 10,
|
|
219
|
+
displayOrder: 8,
|
|
220
|
+
name: 'TVA Importation 10%',
|
|
221
|
+
collected: 576,
|
|
222
|
+
deductible: 577,
|
|
223
|
+
immobilization: 577,
|
|
224
|
+
roundPercentage: [],
|
|
225
|
+
isVatImportation: true,
|
|
226
|
+
isVatIntracom: false,
|
|
227
|
+
},
|
|
228
|
+
IMPORTATION_TX_20: {
|
|
229
|
+
id: 14,
|
|
230
|
+
idTva: 14,
|
|
231
|
+
value: 20,
|
|
232
|
+
displayOrder: 8,
|
|
233
|
+
name: 'TVA Importation 20%',
|
|
234
|
+
collected: 578,
|
|
235
|
+
deductible: 579,
|
|
236
|
+
immobilization: 579,
|
|
237
|
+
roundPercentage: [],
|
|
238
|
+
isVatImportation: true,
|
|
239
|
+
isVatIntracom: false,
|
|
240
|
+
},
|
|
241
|
+
IMPORTATION_TX_2_1: {
|
|
242
|
+
id: 15,
|
|
243
|
+
idTva: 15,
|
|
244
|
+
value: 2.1,
|
|
245
|
+
displayOrder: 8,
|
|
246
|
+
name: 'TVA Importation 2.1%',
|
|
247
|
+
collected: 580,
|
|
248
|
+
deductible: 581,
|
|
249
|
+
immobilization: 581,
|
|
250
|
+
roundPercentage: [],
|
|
251
|
+
isVatImportation: true,
|
|
252
|
+
isVatIntracom: false,
|
|
253
|
+
},
|
|
254
|
+
IMPORTATION_TX_8_5: {
|
|
255
|
+
id: 16,
|
|
256
|
+
idTva: 16,
|
|
257
|
+
value: 2.1,
|
|
258
|
+
displayOrder: 8,
|
|
259
|
+
name: 'TVA Importation 8.5%',
|
|
260
|
+
collected: 582,
|
|
261
|
+
deductible: 583,
|
|
262
|
+
immobilization: 583,
|
|
263
|
+
roundPercentage: [],
|
|
264
|
+
isVatImportation: true,
|
|
265
|
+
isVatIntracom: false,
|
|
97
266
|
},
|
|
98
267
|
MANUAL: {
|
|
99
268
|
id: 11,
|
|
100
|
-
// TODO We should remove idTva when GET vat is remove from api v1
|
|
101
269
|
idTva: 11,
|
|
102
270
|
value: 0,
|
|
103
271
|
displayOrder: 8,
|
|
@@ -106,5 +274,7 @@ export const Vat = {
|
|
|
106
274
|
deductible: 0,
|
|
107
275
|
immobilization: null,
|
|
108
276
|
roundPercentage: [],
|
|
277
|
+
isVatImportation: false,
|
|
278
|
+
isVatIntracom: false,
|
|
109
279
|
},
|
|
110
280
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
IsNumber, IsOptional, IsString, Min,
|
|
3
3
|
} from 'class-validator';
|
|
4
|
-
import { ProductType, Unit
|
|
4
|
+
import { ProductType, Unit } from '../../..';
|
|
5
5
|
import { ApiProperty, ApiPropertyOptional } from '../../../..';
|
|
6
6
|
import { IsObjectId } from '../../../../utils/validators/objectId.validator';
|
|
7
7
|
|
|
@@ -23,7 +23,6 @@ export class CreateProduct {
|
|
|
23
23
|
|
|
24
24
|
@ApiProperty()
|
|
25
25
|
@IsNumber()
|
|
26
|
-
@IsObjectId(Vat)
|
|
27
26
|
idVAT: number;
|
|
28
27
|
|
|
29
28
|
@ApiProperty()
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { IsBoolean } from 'class-validator';
|
|
2
|
+
import { ApiProperty } from '../../../../utils';
|
|
3
|
+
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
4
|
+
|
|
5
|
+
export class QueryDefaultPromotion {
|
|
6
|
+
@ApiProperty({ default: false })
|
|
7
|
+
@IsBoolean()
|
|
8
|
+
@ToBoolean()
|
|
9
|
+
isYearly: boolean;
|
|
10
|
+
|
|
11
|
+
@ApiProperty({ default: false })
|
|
12
|
+
@IsBoolean()
|
|
13
|
+
@ToBoolean()
|
|
14
|
+
isMonthly: boolean;
|
|
15
|
+
|
|
16
|
+
@ApiProperty({ default: false })
|
|
17
|
+
@IsBoolean()
|
|
18
|
+
@ToBoolean()
|
|
19
|
+
isMicroPlan: boolean;
|
|
20
|
+
|
|
21
|
+
@ApiProperty({ default: false })
|
|
22
|
+
@IsBoolean()
|
|
23
|
+
@ToBoolean()
|
|
24
|
+
isCashBasedBusinessPlan: boolean;
|
|
25
|
+
|
|
26
|
+
@ApiProperty({ default: false })
|
|
27
|
+
@IsBoolean()
|
|
28
|
+
@ToBoolean()
|
|
29
|
+
isAccrualBusinessPlan: boolean;
|
|
30
|
+
}
|
|
@@ -1,26 +1,29 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
IsEnum, IsOptional, IsBoolean, IsNumber, Min,
|
|
3
|
+
} from 'class-validator';
|
|
2
4
|
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
3
5
|
import { CerfaType } from '../../../Enum/CerfaType';
|
|
4
|
-
import {
|
|
5
|
-
ParamsGenerate2035, ParamsGenerate2035WithSuites, ParamsGenerate2033, ParamsGenerate2065, ParamsGenerate2031, ParamsGenerate2050, ParamsGenerate2572,
|
|
6
|
-
} from '../cerfa/CreateCerfa';
|
|
7
6
|
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
8
7
|
|
|
9
|
-
export class
|
|
10
|
-
@
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
cerfa2050?: ParamsGenerate2050;
|
|
17
|
-
cerfa2572?: ParamsGenerate2572;
|
|
18
|
-
};
|
|
8
|
+
export class CreateRegistrationSetting {
|
|
9
|
+
@ApiPropertyOptional()
|
|
10
|
+
iban?: string | null;
|
|
11
|
+
|
|
12
|
+
@ApiPropertyOptional()
|
|
13
|
+
bic?: string | null;
|
|
14
|
+
}
|
|
19
15
|
|
|
16
|
+
export class CreateRegistration {
|
|
20
17
|
@ApiProperty()
|
|
21
18
|
@IsEnum(CerfaType)
|
|
22
19
|
idCerfaType: number;
|
|
23
20
|
|
|
21
|
+
@ApiPropertyOptional()
|
|
22
|
+
@IsNumber()
|
|
23
|
+
@Min(0)
|
|
24
|
+
@IsOptional()
|
|
25
|
+
amountToPay?: number;
|
|
26
|
+
|
|
24
27
|
@ApiPropertyOptional()
|
|
25
28
|
@IsBoolean()
|
|
26
29
|
@ToBoolean()
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import {
|
|
2
|
+
IsInt, IsPositive, IsOptional,
|
|
3
|
+
} from 'class-validator';
|
|
4
|
+
import { ApiPropertyOptional } from '../../../..';
|
|
5
|
+
|
|
6
|
+
export class QueryRegistration {
|
|
7
|
+
@ApiPropertyOptional()
|
|
8
|
+
@IsInt()
|
|
9
|
+
@IsPositive()
|
|
10
|
+
@IsOptional()
|
|
11
|
+
idExercice?: number;
|
|
12
|
+
}
|
|
@@ -1,14 +1,7 @@
|
|
|
1
1
|
import { IRegistration } from '../../models/IRegistration';
|
|
2
|
-
import {
|
|
2
|
+
import { RegistrationState } from '../../..';
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
payload: Record<string, unknown>;
|
|
6
|
-
}
|
|
7
|
-
interface RegistrationWithPayloadAndResponseObject extends Omit<RegistrationWithPayloadObject, 'response'> {
|
|
8
|
-
response: ReadInterchange | Record<string, unknown>;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
export type ReadRegistration = RegistrationWithPayloadAndResponseObject;
|
|
4
|
+
export type ReadRegistration = IRegistration & { state: RegistrationState };
|
|
12
5
|
|
|
13
6
|
export interface ReadSynchronization {
|
|
14
7
|
id: number;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export interface IDefaultPromotion {
|
|
2
|
+
id?: number;
|
|
3
|
+
label: string;
|
|
4
|
+
startDate?: Date | null;
|
|
5
|
+
endDate?: Date | null;
|
|
6
|
+
isYearly: boolean;
|
|
7
|
+
isMonthly: boolean;
|
|
8
|
+
isMicroPlan: boolean;
|
|
9
|
+
isCashBasedBusinessPlan: boolean;
|
|
10
|
+
isAccrualBusinessPlan: boolean;
|
|
11
|
+
isTest: boolean;
|
|
12
|
+
metadata?: string | null;
|
|
13
|
+
idStripeCoupon: string;
|
|
14
|
+
createdAt?: Date | null;
|
|
15
|
+
updatedAt?: Date | null;
|
|
16
|
+
}
|