@silexpert/core 0.1.6 → 0.4.0
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/Resource.d.ts.map +1 -1
- package/es/api/Resource.js.map +1 -1
- package/es/api/index.d.ts +3 -0
- package/es/api/index.d.ts.map +1 -1
- package/es/api/index.js +6 -2
- package/es/api/index.js.map +1 -1
- package/es/api/resources/Account.d.ts +6 -0
- package/es/api/resources/Account.d.ts.map +1 -0
- package/es/api/resources/Account.js +19 -0
- package/es/api/resources/Account.js.map +1 -0
- package/es/api/resources/AccountType.d.ts +8 -0
- package/es/api/resources/AccountType.d.ts.map +1 -0
- package/es/api/resources/AccountType.js +7 -0
- package/es/api/resources/AccountType.js.map +1 -0
- package/es/api/resources/Country.d.ts.map +1 -1
- package/es/api/resources/Country.js.map +1 -1
- package/es/api/resources/Immobilization.d.ts +11 -0
- package/es/api/resources/Immobilization.d.ts.map +1 -0
- package/es/api/resources/Immobilization.js +10 -0
- package/es/api/resources/Immobilization.js.map +1 -0
- package/es/api/resources/PaymentExpectationCustomer.d.ts.map +1 -1
- package/es/api/resources/PaymentExpectationCustomer.js +2 -2
- package/es/api/resources/PaymentExpectationCustomer.js.map +1 -1
- package/es/api/resources/Simulation.d.ts +8 -1
- package/es/api/resources/Simulation.d.ts.map +1 -1
- package/es/api/resources/Simulation.js +10 -4
- package/es/api/resources/Simulation.js.map +1 -1
- package/es/api/resources/Transaction.d.ts +14 -0
- package/es/api/resources/Transaction.d.ts.map +1 -0
- package/es/api/resources/Transaction.js +12 -0
- package/es/api/resources/Transaction.js.map +1 -0
- package/es/api/resources.d.ts +8 -0
- package/es/api/resources.d.ts.map +1 -1
- package/es/api/resources.js +9 -1
- package/es/api/resources.js.map +1 -1
- package/es/index.js.map +1 -1
- package/es/types/Enum/AccountingJournal.d.ts +2 -1
- package/es/types/Enum/AccountingJournal.d.ts.map +1 -1
- package/es/types/Enum/AccountingJournal.js +1 -0
- package/es/types/Enum/AccountingJournal.js.map +1 -1
- package/es/types/Enum/ComptaType.js.map +1 -1
- package/es/types/Enum/Country.js.map +1 -1
- package/es/types/Enum/Ged.d.ts.map +1 -1
- package/es/types/Enum/Ged.js.map +1 -1
- package/es/types/Enum/ImmobilizationType.js.map +1 -1
- package/es/types/Enum/LegalForm.js +20 -20
- package/es/types/Enum/LegalForm.js.map +1 -1
- package/es/types/Enum/Nature.d.ts +6 -0
- package/es/types/Enum/Nature.d.ts.map +1 -0
- package/es/types/Enum/Nature.js +7 -0
- package/es/types/Enum/Nature.js.map +1 -0
- package/es/types/Enum/Role.d.ts.map +1 -1
- package/es/types/Enum/Role.js.map +1 -1
- package/es/types/Enum/Simulation.js +6 -6
- package/es/types/Enum/Simulation.js.map +1 -1
- package/es/types/Enum/TypeConnector.js.map +1 -1
- package/es/types/Enum/Vat.js +3 -3
- package/es/types/Enum/Vat.js.map +1 -1
- package/es/types/Form/FormConnector.d.ts.map +1 -1
- package/es/types/Form/FormConnector.js.map +1 -1
- package/es/types/Interface/api/BasePaginate.d.ts.map +1 -1
- package/es/types/Interface/api/BasePaginate.js.map +1 -1
- package/es/types/Interface/api/account/QueryAccounts.d.ts +9 -0
- package/es/types/Interface/api/account/QueryAccounts.d.ts.map +1 -0
- package/es/types/Interface/api/account/QueryAccounts.js +33 -0
- package/es/types/Interface/api/account/QueryAccounts.js.map +1 -0
- package/es/types/Interface/api/account/ReadAccounts.d.ts +2 -0
- package/es/types/Interface/api/account/ReadAccounts.d.ts.map +1 -0
- package/es/types/Interface/api/account/ReadAccounts.js +2 -0
- package/es/types/Interface/api/account/ReadAccounts.js.map +1 -0
- package/es/types/Interface/api/accountType/ReadAccountType.d.ts +8 -0
- package/es/types/Interface/api/accountType/ReadAccountType.d.ts.map +1 -0
- package/es/types/Interface/api/accountType/ReadAccountType.js +2 -0
- package/es/types/Interface/api/accountType/ReadAccountType.js.map +1 -0
- package/es/types/Interface/api/accountingEntry/AnnotateAccountingTransaction.d.ts +8 -6
- 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/immobilization/ReadFormattedImmobilization.d.ts +27 -0
- package/es/types/Interface/api/immobilization/ReadFormattedImmobilization.d.ts.map +1 -0
- package/es/types/Interface/api/immobilization/ReadFormattedImmobilization.js +2 -0
- package/es/types/Interface/api/immobilization/ReadFormattedImmobilization.js.map +1 -0
- package/es/types/Interface/api/paymentExpectationCustomer/CreatePaymentExpectationCustomer.d.ts.map +1 -1
- package/es/types/Interface/api/paymentExpectationCustomer/CreatePaymentExpectationCustomer.js.map +1 -1
- package/es/types/Interface/api/paymentExpectationCustomer/QueryPaymentExpectationCustomer.d.ts.map +1 -1
- package/es/types/Interface/api/paymentExpectationCustomer/QueryPaymentExpectationCustomer.js.map +1 -1
- package/es/types/Interface/api/paymentExpectationCustomer/UpdatePaymentExpectationCustomer.d.ts.map +1 -1
- package/es/types/Interface/api/paymentExpectationCustomer/UpdatePaymentExpectationCustomer.js.map +1 -1
- package/es/types/Interface/api/simulation/CreateSimulation.d.ts.map +1 -1
- package/es/types/Interface/api/simulation/CreateSimulation.js.map +1 -1
- package/es/types/Interface/api/simulation/ReadSimulation.d.ts +0 -9
- package/es/types/Interface/api/simulation/ReadSimulation.d.ts.map +1 -1
- package/es/types/Interface/api/simulation/ReadSimulation.js +1 -1
- package/es/types/Interface/api/simulation/ReadSimulation.js.map +1 -1
- package/es/types/Interface/api/simulationColors/ReadSimulationColors.d.ts +5 -0
- package/es/types/Interface/api/simulationColors/ReadSimulationColors.d.ts.map +1 -0
- package/es/types/Interface/api/simulationColors/ReadSimulationColors.js +21 -0
- package/es/types/Interface/api/simulationColors/ReadSimulationColors.js.map +1 -0
- package/es/types/Interface/api/society/ReadSociety.d.ts.map +1 -1
- package/es/types/Interface/api/society/ReadSociety.js.map +1 -1
- package/es/types/Interface/models/IAbsenceType.d.ts.map +1 -1
- package/es/types/Interface/models/IAbsenceType.js.map +1 -1
- package/es/types/Interface/models/IAccessToken.d.ts.map +1 -1
- package/es/types/Interface/models/IAccessToken.js.map +1 -1
- package/es/types/Interface/models/IAccount.d.ts +2 -2
- package/es/types/Interface/models/IAccount.d.ts.map +1 -1
- package/es/types/Interface/models/IAccount.js.map +1 -1
- package/es/types/Interface/models/IAccountDetail.d.ts.map +1 -1
- package/es/types/Interface/models/IAccountDetail.js.map +1 -1
- package/es/types/Interface/models/IAccountHelp.d.ts.map +1 -1
- package/es/types/Interface/models/IAccountHelp.js.map +1 -1
- package/es/types/Interface/models/IAccountType.d.ts.map +1 -1
- package/es/types/Interface/models/IAccountType.js.map +1 -1
- package/es/types/Interface/models/IAccountantTracker.d.ts.map +1 -1
- package/es/types/Interface/models/IAccountantTracker.js.map +1 -1
- package/es/types/Interface/models/IAccountingEntry.d.ts.map +1 -1
- package/es/types/Interface/models/IAccountingEntry.js.map +1 -1
- package/es/types/Interface/models/IAccountingFile.d.ts.map +1 -1
- package/es/types/Interface/models/IAccountingFile.js.map +1 -1
- package/es/types/Interface/models/IAccountingFileType.d.ts.map +1 -1
- package/es/types/Interface/models/IAccountingFileType.js.map +1 -1
- package/es/types/Interface/models/IAccountingJournal.d.ts.map +1 -1
- package/es/types/Interface/models/IAccountingJournal.js.map +1 -1
- package/es/types/Interface/models/IAccountingState.d.ts.map +1 -1
- package/es/types/Interface/models/IAccountingState.js.map +1 -1
- package/es/types/Interface/models/IAccountingStateType.d.ts.map +1 -1
- package/es/types/Interface/models/IAccountingStateType.js.map +1 -1
- package/es/types/Interface/models/IAccountingTransaction.d.ts.map +1 -1
- package/es/types/Interface/models/IAccountingTransaction.js.map +1 -1
- package/es/types/Interface/models/IAccountsSocieties.d.ts.map +1 -1
- package/es/types/Interface/models/IAccountsSocieties.js.map +1 -1
- package/es/types/Interface/models/IActivity.d.ts.map +1 -1
- package/es/types/Interface/models/IActivity.js.map +1 -1
- package/es/types/Interface/models/IAdditionalBalance.d.ts.map +1 -1
- package/es/types/Interface/models/IAdditionalBalance.js.map +1 -1
- package/es/types/Interface/models/IAlert.d.ts.map +1 -1
- package/es/types/Interface/models/IAlert.js.map +1 -1
- package/es/types/Interface/models/IAllowedIp.d.ts.map +1 -1
- package/es/types/Interface/models/IAllowedIp.js.map +1 -1
- package/es/types/Interface/models/IAnalyticsUtm.d.ts.map +1 -1
- package/es/types/Interface/models/IAnalyticsUtm.js.map +1 -1
- package/es/types/Interface/models/IApiError.d.ts +6 -1
- package/es/types/Interface/models/IApiError.d.ts.map +1 -1
- package/es/types/Interface/models/IApiError.js +6 -0
- package/es/types/Interface/models/IApiError.js.map +1 -1
- package/es/types/Interface/models/IAppConfig.d.ts.map +1 -1
- package/es/types/Interface/models/IAppConfig.js.map +1 -1
- package/es/types/Interface/models/IAreasInvoice.d.ts.map +1 -1
- package/es/types/Interface/models/IAreasInvoice.js.map +1 -1
- package/es/types/Interface/models/IAskAbsence.d.ts.map +1 -1
- package/es/types/Interface/models/IAskAbsence.js.map +1 -1
- package/es/types/Interface/models/IAskAbsenceTimes.d.ts.map +1 -1
- package/es/types/Interface/models/IAskAbsenceTimes.js.map +1 -1
- package/es/types/Interface/models/IAttachmentFile.d.ts.map +1 -1
- package/es/types/Interface/models/IAttachmentFile.js.map +1 -1
- package/es/types/Interface/models/IAttestation.d.ts.map +1 -1
- package/es/types/Interface/models/IAttestation.js.map +1 -1
- package/es/types/Interface/models/IAttributionHistory.d.ts.map +1 -1
- package/es/types/Interface/models/IAttributionHistory.js.map +1 -1
- package/es/types/Interface/models/IAutoLoginToken.d.ts.map +1 -1
- package/es/types/Interface/models/IAutoLoginToken.js.map +1 -1
- package/es/types/Interface/models/IBalanceBankAccount.d.ts.map +1 -1
- package/es/types/Interface/models/IBalanceBankAccount.js.map +1 -1
- package/es/types/Interface/models/IBalanceSheet.d.ts.map +1 -1
- package/es/types/Interface/models/IBalanceSheet.js.map +1 -1
- package/es/types/Interface/models/IBalanceSheetHistory.d.ts.map +1 -1
- package/es/types/Interface/models/IBalanceSheetHistory.js.map +1 -1
- package/es/types/Interface/models/IBalanceSheetLiquidation.d.ts.map +1 -1
- package/es/types/Interface/models/IBalanceSheetLiquidation.js.map +1 -1
- package/es/types/Interface/models/IBalanceSheetPartial.d.ts.map +1 -1
- package/es/types/Interface/models/IBalanceSheetPartial.js.map +1 -1
- package/es/types/Interface/models/IBankAccount.d.ts.map +1 -1
- package/es/types/Interface/models/IBankAccount.js.map +1 -1
- package/es/types/Interface/models/IBankAccountSynchroHistory.d.ts.map +1 -1
- package/es/types/Interface/models/IBankAccountSynchroHistory.js.map +1 -1
- package/es/types/Interface/models/IBankConnection.d.ts.map +1 -1
- package/es/types/Interface/models/IBankConnection.js.map +1 -1
- package/es/types/Interface/models/IBankList.d.ts.map +1 -1
- package/es/types/Interface/models/IBankList.js.map +1 -1
- package/es/types/Interface/models/IBankTransaction.d.ts.map +1 -1
- package/es/types/Interface/models/IBankTransaction.js.map +1 -1
- package/es/types/Interface/models/IBrandType.d.ts.map +1 -1
- package/es/types/Interface/models/IBrandType.js.map +1 -1
- package/es/types/Interface/models/IBusinessLine.d.ts.map +1 -1
- package/es/types/Interface/models/IBusinessLine.js.map +1 -1
- package/es/types/Interface/models/IBusinessPartner.d.ts.map +1 -1
- package/es/types/Interface/models/IBusinessPartner.js.map +1 -1
- package/es/types/Interface/models/ICalendarEvent.d.ts.map +1 -1
- package/es/types/Interface/models/ICalendarEvent.js.map +1 -1
- package/es/types/Interface/models/ICalendarEventUser.d.ts.map +1 -1
- package/es/types/Interface/models/ICalendarEventUser.js.map +1 -1
- package/es/types/Interface/models/ICallDirectly.d.ts.map +1 -1
- package/es/types/Interface/models/ICallDirectly.js.map +1 -1
- package/es/types/Interface/models/ICashDeskTransactionType.d.ts.map +1 -1
- package/es/types/Interface/models/ICashDeskTransactionType.js.map +1 -1
- package/es/types/Interface/models/ICategory.d.ts.map +1 -1
- package/es/types/Interface/models/ICategory.js.map +1 -1
- package/es/types/Interface/models/ICerfaType.d.ts.map +1 -1
- package/es/types/Interface/models/ICerfaType.js.map +1 -1
- package/es/types/Interface/models/ICerfaValue.d.ts.map +1 -1
- package/es/types/Interface/models/ICerfaValue.js.map +1 -1
- package/es/types/Interface/models/IChangeLog.d.ts.map +1 -1
- package/es/types/Interface/models/IChangeLog.js.map +1 -1
- package/es/types/Interface/models/IChannelType.d.ts.map +1 -1
- package/es/types/Interface/models/IChannelType.js.map +1 -1
- package/es/types/Interface/models/IChecklist.d.ts.map +1 -1
- package/es/types/Interface/models/IChecklist.js.map +1 -1
- package/es/types/Interface/models/IChecklistCategoryType.d.ts.map +1 -1
- package/es/types/Interface/models/IChecklistCategoryType.js.map +1 -1
- package/es/types/Interface/models/IChecklistDetail.d.ts.map +1 -1
- package/es/types/Interface/models/IChecklistDetail.js.map +1 -1
- package/es/types/Interface/models/IChecklistType.d.ts.map +1 -1
- package/es/types/Interface/models/IChecklistType.js.map +1 -1
- package/es/types/Interface/models/ICivility.d.ts.map +1 -1
- package/es/types/Interface/models/ICivility.js.map +1 -1
- package/es/types/Interface/models/IColor.d.ts.map +1 -1
- package/es/types/Interface/models/IColor.js.map +1 -1
- package/es/types/Interface/models/IComment.d.ts.map +1 -1
- package/es/types/Interface/models/IComment.js.map +1 -1
- package/es/types/Interface/models/ICommentType.d.ts.map +1 -1
- package/es/types/Interface/models/ICommentType.js.map +1 -1
- package/es/types/Interface/models/IComptaHistoryType.d.ts.map +1 -1
- package/es/types/Interface/models/IComptaHistoryType.js.map +1 -1
- package/es/types/Interface/models/IComptaType.d.ts.map +1 -1
- package/es/types/Interface/models/IComptaType.js.map +1 -1
- package/es/types/Interface/models/IConnector.d.ts.map +1 -1
- package/es/types/Interface/models/IConnector.js.map +1 -1
- package/es/types/Interface/models/IConnectorType.d.ts.map +1 -1
- package/es/types/Interface/models/IConnectorType.js.map +1 -1
- package/es/types/Interface/models/IContractType.d.ts.map +1 -1
- package/es/types/Interface/models/IContractType.js.map +1 -1
- package/es/types/Interface/models/ICotation.d.ts.map +1 -1
- package/es/types/Interface/models/ICotation.js.map +1 -1
- package/es/types/Interface/models/ICountry.d.ts.map +1 -1
- package/es/types/Interface/models/ICountry.js.map +1 -1
- package/es/types/Interface/models/ICurrency.d.ts.map +1 -1
- package/es/types/Interface/models/ICurrency.js.map +1 -1
- package/es/types/Interface/models/ICustomerIsRegime.d.ts.map +1 -1
- package/es/types/Interface/models/ICustomerIsRegime.js.map +1 -1
- package/es/types/Interface/models/ICustomerSignature.d.ts.map +1 -1
- package/es/types/Interface/models/ICustomerSignature.js.map +1 -1
- package/es/types/Interface/models/ICustomerTva.d.ts.map +1 -1
- package/es/types/Interface/models/ICustomerTva.js.map +1 -1
- package/es/types/Interface/models/ICustomisation.d.ts.map +1 -1
- package/es/types/Interface/models/ICustomisation.js.map +1 -1
- package/es/types/Interface/models/ICustomizationType.d.ts.map +1 -1
- package/es/types/Interface/models/ICustomizationType.js.map +1 -1
- package/es/types/Interface/models/ICycle.d.ts.map +1 -1
- package/es/types/Interface/models/ICycle.js.map +1 -1
- package/es/types/Interface/models/IDay.d.ts.map +1 -1
- package/es/types/Interface/models/IDay.js.map +1 -1
- package/es/types/Interface/models/IDetailedLogBi.d.ts.map +1 -1
- package/es/types/Interface/models/IDetailedLogBi.js.map +1 -1
- package/es/types/Interface/models/IDirectDebitHistory.d.ts.map +1 -1
- package/es/types/Interface/models/IDirectDebitHistory.js.map +1 -1
- package/es/types/Interface/models/IDocumentWaitingType.d.ts.map +1 -1
- package/es/types/Interface/models/IDocumentWaitingType.js.map +1 -1
- 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/IEngagementAccountingEntry.d.ts.map +1 -1
- package/es/types/Interface/models/IEngagementAccountingEntry.js.map +1 -1
- package/es/types/Interface/models/IEngagementAccountingFile.d.ts.map +1 -1
- package/es/types/Interface/models/IEngagementAccountingFile.js.map +1 -1
- package/es/types/Interface/models/IEngagementBankTransaction.d.ts.map +1 -1
- package/es/types/Interface/models/IEngagementBankTransaction.js.map +1 -1
- package/es/types/Interface/models/IEngagementOcrExtraction.d.ts.map +1 -1
- package/es/types/Interface/models/IEngagementOcrExtraction.js.map +1 -1
- package/es/types/Interface/models/IErrorCode.d.ts.map +1 -1
- package/es/types/Interface/models/IErrorCode.js.map +1 -1
- package/es/types/Interface/models/IEstimateInvoice.d.ts.map +1 -1
- package/es/types/Interface/models/IEstimateInvoice.js.map +1 -1
- package/es/types/Interface/models/IEstimateInvoiceRepeat.d.ts.map +1 -1
- package/es/types/Interface/models/IEstimateInvoiceRepeat.js.map +1 -1
- package/es/types/Interface/models/IEstimateInvoiceType.d.ts.map +1 -1
- package/es/types/Interface/models/IEstimateInvoiceType.js.map +1 -1
- package/es/types/Interface/models/IExercice.d.ts.map +1 -1
- package/es/types/Interface/models/IExercice.js.map +1 -1
- package/es/types/Interface/models/IExerciceDetail.d.ts.map +1 -1
- package/es/types/Interface/models/IExerciceDetail.js.map +1 -1
- package/es/types/Interface/models/IExercicePrestation.d.ts.map +1 -1
- package/es/types/Interface/models/IExercicePrestation.js.map +1 -1
- package/es/types/Interface/models/IFailedLoginAttempt.d.ts.map +1 -1
- package/es/types/Interface/models/IFailedLoginAttempt.js.map +1 -1
- package/es/types/Interface/models/IFaq.d.ts.map +1 -1
- package/es/types/Interface/models/IFaq.js.map +1 -1
- package/es/types/Interface/models/IFaqCategory.d.ts.map +1 -1
- package/es/types/Interface/models/IFaqCategory.js.map +1 -1
- package/es/types/Interface/models/IField.d.ts.map +1 -1
- package/es/types/Interface/models/IField.js.map +1 -1
- package/es/types/Interface/models/IFile.d.ts.map +1 -1
- package/es/types/Interface/models/IFile.js.map +1 -1
- package/es/types/Interface/models/IFileMissing.d.ts.map +1 -1
- package/es/types/Interface/models/IFileMissing.js.map +1 -1
- package/es/types/Interface/models/IFileType.d.ts.map +1 -1
- package/es/types/Interface/models/IFileType.js.map +1 -1
- package/es/types/Interface/models/IFiscalRegime.d.ts.map +1 -1
- package/es/types/Interface/models/IFiscalRegime.js.map +1 -1
- package/es/types/Interface/models/IFolderFile.d.ts.map +1 -1
- package/es/types/Interface/models/IFolderFile.js.map +1 -1
- package/es/types/Interface/models/IFollow.d.ts.map +1 -1
- package/es/types/Interface/models/IFollow.js.map +1 -1
- package/es/types/Interface/models/IFollowList.d.ts.map +1 -1
- package/es/types/Interface/models/IFollowList.js.map +1 -1
- package/es/types/Interface/models/IFollowedQualityMail.d.ts.map +1 -1
- package/es/types/Interface/models/IFollowedQualityMail.js.map +1 -1
- package/es/types/Interface/models/IFollowedQualityMailType.d.ts.map +1 -1
- package/es/types/Interface/models/IFollowedQualityMailType.js.map +1 -1
- package/es/types/Interface/models/IFormalism.d.ts.map +1 -1
- package/es/types/Interface/models/IFormalism.js.map +1 -1
- package/es/types/Interface/models/IFormalismValue.d.ts.map +1 -1
- package/es/types/Interface/models/IFormalismValue.js.map +1 -1
- package/es/types/Interface/models/IFrequency.d.ts.map +1 -1
- package/es/types/Interface/models/IFrequency.js.map +1 -1
- package/es/types/Interface/models/IFuel.d.ts.map +1 -1
- package/es/types/Interface/models/IFuel.js.map +1 -1
- package/es/types/Interface/models/IGedCategory.d.ts.map +1 -1
- package/es/types/Interface/models/IGedCategory.js.map +1 -1
- package/es/types/Interface/models/IGedFile.d.ts.map +1 -1
- package/es/types/Interface/models/IGedFile.js.map +1 -1
- package/es/types/Interface/models/IGedFileType.d.ts.map +1 -1
- package/es/types/Interface/models/IGedFileType.js.map +1 -1
- package/es/types/Interface/models/IGedFolder.d.ts.map +1 -1
- package/es/types/Interface/models/IGedFolder.js.map +1 -1
- package/es/types/Interface/models/IIdentification.d.ts.map +1 -1
- package/es/types/Interface/models/IIdentification.js.map +1 -1
- package/es/types/Interface/models/IImmobilization.d.ts +4 -2
- package/es/types/Interface/models/IImmobilization.d.ts.map +1 -1
- package/es/types/Interface/models/IImmobilization.js.map +1 -1
- package/es/types/Interface/models/IIndependentReview.d.ts.map +1 -1
- package/es/types/Interface/models/IIndependentReview.js.map +1 -1
- package/es/types/Interface/models/IInterestedByFeature.d.ts.map +1 -1
- package/es/types/Interface/models/IInterestedByFeature.js.map +1 -1
- package/es/types/Interface/models/IInternalEstimate.d.ts.map +1 -1
- package/es/types/Interface/models/IInternalEstimate.js.map +1 -1
- package/es/types/Interface/models/IIpTmpBlocked.d.ts.map +1 -1
- package/es/types/Interface/models/IIpTmpBlocked.js.map +1 -1
- package/es/types/Interface/models/IItemEstimate.d.ts.map +1 -1
- package/es/types/Interface/models/IItemEstimate.js.map +1 -1
- package/es/types/Interface/models/IJob.d.ts.map +1 -1
- package/es/types/Interface/models/IJob.js.map +1 -1
- package/es/types/Interface/models/IJobCategory.d.ts.map +1 -1
- package/es/types/Interface/models/IJobCategory.js.map +1 -1
- package/es/types/Interface/models/IKilometricAllowanceScale.d.ts.map +1 -1
- package/es/types/Interface/models/IKilometricAllowanceScale.js.map +1 -1
- package/es/types/Interface/models/ILabelPaymentWaiting.d.ts.map +1 -1
- package/es/types/Interface/models/ILabelPaymentWaiting.js.map +1 -1
- package/es/types/Interface/models/ILegalForm.d.ts.map +1 -1
- package/es/types/Interface/models/ILegalForm.js.map +1 -1
- package/es/types/Interface/models/ILegalNotice.d.ts.map +1 -1
- package/es/types/Interface/models/ILegalNotice.js.map +1 -1
- package/es/types/Interface/models/ILetter.d.ts.map +1 -1
- package/es/types/Interface/models/ILetter.js.map +1 -1
- package/es/types/Interface/models/ILetterType.d.ts.map +1 -1
- package/es/types/Interface/models/ILetterType.js.map +1 -1
- package/es/types/Interface/models/ILettering.d.ts.map +1 -1
- package/es/types/Interface/models/ILettering.js.map +1 -1
- package/es/types/Interface/models/ILog.d.ts.map +1 -1
- package/es/types/Interface/models/ILog.js.map +1 -1
- package/es/types/Interface/models/ILogBi.d.ts.map +1 -1
- package/es/types/Interface/models/ILogBi.js.map +1 -1
- package/es/types/Interface/models/ILogType.d.ts.map +1 -1
- package/es/types/Interface/models/ILogType.js.map +1 -1
- package/es/types/Interface/models/IMailAuto.d.ts.map +1 -1
- package/es/types/Interface/models/IMailAuto.js.map +1 -1
- package/es/types/Interface/models/IMailAutoType.d.ts.map +1 -1
- package/es/types/Interface/models/IMailAutoType.js.map +1 -1
- package/es/types/Interface/models/IMailSociety.d.ts.map +1 -1
- package/es/types/Interface/models/IMailSociety.js.map +1 -1
- package/es/types/Interface/models/IMonth.d.ts.map +1 -1
- package/es/types/Interface/models/IMonth.js.map +1 -1
- package/es/types/Interface/models/INationality.d.ts.map +1 -1
- package/es/types/Interface/models/INationality.js.map +1 -1
- package/es/types/Interface/models/INature.d.ts.map +1 -1
- package/es/types/Interface/models/INature.js.map +1 -1
- package/es/types/Interface/models/INote.d.ts.map +1 -1
- package/es/types/Interface/models/INote.js.map +1 -1
- package/es/types/Interface/models/INotification.d.ts.map +1 -1
- package/es/types/Interface/models/INotification.js.map +1 -1
- package/es/types/Interface/models/INotificationCodeType.d.ts.map +1 -1
- package/es/types/Interface/models/INotificationCodeType.js.map +1 -1
- package/es/types/Interface/models/INotificationType.d.ts.map +1 -1
- package/es/types/Interface/models/INotificationType.js.map +1 -1
- package/es/types/Interface/models/IOldExpertInfo.d.ts.map +1 -1
- package/es/types/Interface/models/IOldExpertInfo.js.map +1 -1
- package/es/types/Interface/models/IOperationLegalNotice.d.ts.map +1 -1
- package/es/types/Interface/models/IOperationLegalNotice.js.map +1 -1
- package/es/types/Interface/models/IPageView.d.ts.map +1 -1
- package/es/types/Interface/models/IPageView.js.map +1 -1
- package/es/types/Interface/models/IPartnerTransaction.d.ts.map +1 -1
- package/es/types/Interface/models/IPartnerTransaction.js.map +1 -1
- package/es/types/Interface/models/IPartnerTransactionType.d.ts.map +1 -1
- package/es/types/Interface/models/IPartnerTransactionType.js.map +1 -1
- package/es/types/Interface/models/IPayPlan.d.ts.map +1 -1
- package/es/types/Interface/models/IPayPlan.js.map +1 -1
- package/es/types/Interface/models/IPayment.d.ts.map +1 -1
- package/es/types/Interface/models/IPayment.js.map +1 -1
- package/es/types/Interface/models/IPaymentDelay.d.ts.map +1 -1
- package/es/types/Interface/models/IPaymentDelay.js.map +1 -1
- package/es/types/Interface/models/IPaymentExpectation.d.ts.map +1 -1
- package/es/types/Interface/models/IPaymentExpectation.js.map +1 -1
- package/es/types/Interface/models/IPaymentExpectationCustomer.d.ts.map +1 -1
- package/es/types/Interface/models/IPaymentExpectationCustomer.js.map +1 -1
- package/es/types/Interface/models/IPaymentMethod.d.ts.map +1 -1
- package/es/types/Interface/models/IPaymentMethod.js.map +1 -1
- package/es/types/Interface/models/IPaymentSchedule.d.ts.map +1 -1
- package/es/types/Interface/models/IPaymentSchedule.js.map +1 -1
- package/es/types/Interface/models/IPaymentWaiting.d.ts.map +1 -1
- package/es/types/Interface/models/IPaymentWaiting.js.map +1 -1
- package/es/types/Interface/models/IPenalty.d.ts.map +1 -1
- package/es/types/Interface/models/IPenalty.js.map +1 -1
- package/es/types/Interface/models/IPenaltyType.d.ts.map +1 -1
- package/es/types/Interface/models/IPenaltyType.js.map +1 -1
- package/es/types/Interface/models/IPendingPoint.d.ts.map +1 -1
- package/es/types/Interface/models/IPendingPoint.js.map +1 -1
- package/es/types/Interface/models/IPermission.d.ts.map +1 -1
- package/es/types/Interface/models/IPermission.js.map +1 -1
- package/es/types/Interface/models/IPhoneNumber.d.ts.map +1 -1
- package/es/types/Interface/models/IPhoneNumber.js.map +1 -1
- package/es/types/Interface/models/IPhonePrefix.d.ts.map +1 -1
- package/es/types/Interface/models/IPhonePrefix.js.map +1 -1
- package/es/types/Interface/models/IPhonePrefixChild.d.ts.map +1 -1
- package/es/types/Interface/models/IPhonePrefixChild.js.map +1 -1
- package/es/types/Interface/models/IPrestation.d.ts.map +1 -1
- package/es/types/Interface/models/IPrestation.js.map +1 -1
- package/es/types/Interface/models/IPrestationComplementary.d.ts.map +1 -1
- package/es/types/Interface/models/IPrestationComplementary.js.map +1 -1
- package/es/types/Interface/models/IPrestationList.d.ts.map +1 -1
- package/es/types/Interface/models/IPrestationList.js.map +1 -1
- package/es/types/Interface/models/IPrestationSocial.d.ts.map +1 -1
- package/es/types/Interface/models/IPrestationSocial.js.map +1 -1
- package/es/types/Interface/models/IProcedure.d.ts.map +1 -1
- package/es/types/Interface/models/IProcedure.js.map +1 -1
- package/es/types/Interface/models/IProduct.d.ts.map +1 -1
- package/es/types/Interface/models/IProduct.js.map +1 -1
- package/es/types/Interface/models/IProductType.d.ts.map +1 -1
- package/es/types/Interface/models/IProductType.js.map +1 -1
- package/es/types/Interface/models/IQuality.d.ts.map +1 -1
- package/es/types/Interface/models/IQuality.js.map +1 -1
- package/es/types/Interface/models/IQuotaLead.d.ts.map +1 -1
- package/es/types/Interface/models/IQuotaLead.js.map +1 -1
- package/es/types/Interface/models/IRating.d.ts.map +1 -1
- package/es/types/Interface/models/IRating.js.map +1 -1
- package/es/types/Interface/models/IReason.d.ts.map +1 -1
- package/es/types/Interface/models/IReason.js.map +1 -1
- package/es/types/Interface/models/IReasonTermination.d.ts.map +1 -1
- package/es/types/Interface/models/IReasonTermination.js.map +1 -1
- package/es/types/Interface/models/IRecontactHistory.d.ts.map +1 -1
- package/es/types/Interface/models/IRecontactHistory.js.map +1 -1
- package/es/types/Interface/models/IRefund.d.ts.map +1 -1
- package/es/types/Interface/models/IRefund.js.map +1 -1
- package/es/types/Interface/models/IRefundMotif.d.ts.map +1 -1
- package/es/types/Interface/models/IRefundMotif.js.map +1 -1
- package/es/types/Interface/models/IRegion.d.ts.map +1 -1
- package/es/types/Interface/models/IRegion.js.map +1 -1
- package/es/types/Interface/models/IRegisterCategory.d.ts.map +1 -1
- package/es/types/Interface/models/IRegisterCategory.js.map +1 -1
- package/es/types/Interface/models/IRegulate.d.ts.map +1 -1
- package/es/types/Interface/models/IRegulate.js.map +1 -1
- package/es/types/Interface/models/IRegulation.d.ts.map +1 -1
- package/es/types/Interface/models/IRegulation.js.map +1 -1
- package/es/types/Interface/models/IRepeatType.d.ts.map +1 -1
- package/es/types/Interface/models/IRepeatType.js.map +1 -1
- package/es/types/Interface/models/IReport.d.ts.map +1 -1
- package/es/types/Interface/models/IReport.js.map +1 -1
- package/es/types/Interface/models/IReportMessage.d.ts.map +1 -1
- package/es/types/Interface/models/IReportMessage.js.map +1 -1
- package/es/types/Interface/models/IReportType.d.ts.map +1 -1
- package/es/types/Interface/models/IReportType.js.map +1 -1
- package/es/types/Interface/models/IRole.d.ts.map +1 -1
- package/es/types/Interface/models/IRole.js.map +1 -1
- package/es/types/Interface/models/IRoleUser.d.ts.map +1 -1
- package/es/types/Interface/models/IRoleUser.js.map +1 -1
- package/es/types/Interface/models/IRoom.d.ts.map +1 -1
- package/es/types/Interface/models/IRoom.js.map +1 -1
- package/es/types/Interface/models/IRule.d.ts.map +1 -1
- package/es/types/Interface/models/IRule.js.map +1 -1
- package/es/types/Interface/models/ISchedule.d.ts.map +1 -1
- package/es/types/Interface/models/ISchedule.js.map +1 -1
- package/es/types/Interface/models/ISector.d.ts.map +1 -1
- package/es/types/Interface/models/ISector.js.map +1 -1
- package/es/types/Interface/models/ISendMethod.d.ts.map +1 -1
- package/es/types/Interface/models/ISendMethod.js.map +1 -1
- package/es/types/Interface/models/IService.d.ts.map +1 -1
- package/es/types/Interface/models/IService.js.map +1 -1
- package/es/types/Interface/models/ISheetMonthSchedule.d.ts.map +1 -1
- package/es/types/Interface/models/ISheetMonthSchedule.js.map +1 -1
- package/es/types/Interface/models/ISimulation.d.ts +3 -3
- package/es/types/Interface/models/ISimulation.d.ts.map +1 -1
- package/es/types/Interface/models/ISimulation.js.map +1 -1
- package/es/types/Interface/models/ISimulationAdditionalFinance.d.ts.map +1 -1
- package/es/types/Interface/models/ISimulationAdditionalFinance.js.map +1 -1
- package/es/types/Interface/models/ISimulationColor.d.ts.map +1 -1
- package/es/types/Interface/models/ISimulationColor.js.map +1 -1
- package/es/types/Interface/models/ISimulationElement.d.ts +5 -5
- package/es/types/Interface/models/ISimulationElement.d.ts.map +1 -1
- package/es/types/Interface/models/ISimulationElement.js.map +1 -1
- package/es/types/Interface/models/ISimulationHasBankAccount.d.ts.map +1 -1
- package/es/types/Interface/models/ISimulationHasBankAccount.js.map +1 -1
- package/es/types/Interface/models/ISimulationPeriod.d.ts.map +1 -1
- package/es/types/Interface/models/ISimulationPeriod.js.map +1 -1
- package/es/types/Interface/models/ISimulationSummary.d.ts +3 -3
- package/es/types/Interface/models/ISimulationSummary.d.ts.map +1 -1
- package/es/types/Interface/models/ISimulationSummary.js.map +1 -1
- package/es/types/Interface/models/ISms.d.ts.map +1 -1
- package/es/types/Interface/models/ISms.js.map +1 -1
- package/es/types/Interface/models/ISmsType.d.ts.map +1 -1
- package/es/types/Interface/models/ISmsType.js.map +1 -1
- package/es/types/Interface/models/ISocialDetail.d.ts.map +1 -1
- package/es/types/Interface/models/ISocialDetail.js.map +1 -1
- package/es/types/Interface/models/ISociety.d.ts +1 -1
- package/es/types/Interface/models/ISociety.d.ts.map +1 -1
- package/es/types/Interface/models/ISociety.js.map +1 -1
- package/es/types/Interface/models/ISocietyAction.d.ts.map +1 -1
- package/es/types/Interface/models/ISocietyAction.js.map +1 -1
- package/es/types/Interface/models/ISocietyApproval.d.ts.map +1 -1
- package/es/types/Interface/models/ISocietyApproval.js.map +1 -1
- package/es/types/Interface/models/ISocietyBank.d.ts.map +1 -1
- package/es/types/Interface/models/ISocietyBank.js.map +1 -1
- package/es/types/Interface/models/ISocietyBudgetConnection.d.ts.map +1 -1
- package/es/types/Interface/models/ISocietyBudgetConnection.js.map +1 -1
- package/es/types/Interface/models/ISocietyCgv.d.ts.map +1 -1
- package/es/types/Interface/models/ISocietyCgv.js.map +1 -1
- package/es/types/Interface/models/ISocietyConfig.d.ts.map +1 -1
- package/es/types/Interface/models/ISocietyConfig.js.map +1 -1
- package/es/types/Interface/models/ISocietyConfigBalanceSheet.d.ts.map +1 -1
- package/es/types/Interface/models/ISocietyConfigBalanceSheet.js.map +1 -1
- package/es/types/Interface/models/ISocietyDetail.d.ts.map +1 -1
- package/es/types/Interface/models/ISocietyDetail.js.map +1 -1
- package/es/types/Interface/models/ISocietyFile.d.ts.map +1 -1
- package/es/types/Interface/models/ISocietyFile.js.map +1 -1
- package/es/types/Interface/models/ISocietyGescom.d.ts.map +1 -1
- package/es/types/Interface/models/ISocietyGescom.js.map +1 -1
- package/es/types/Interface/models/ISocietyJuridical.d.ts.map +1 -1
- package/es/types/Interface/models/ISocietyJuridical.js.map +1 -1
- package/es/types/Interface/models/ISocietyNote.d.ts.map +1 -1
- package/es/types/Interface/models/ISocietyNote.js.map +1 -1
- package/es/types/Interface/models/ISocietyPartner.d.ts.map +1 -1
- package/es/types/Interface/models/ISocietyPartner.js.map +1 -1
- package/es/types/Interface/models/ISocietyProceeding.d.ts.map +1 -1
- package/es/types/Interface/models/ISocietyProceeding.js.map +1 -1
- package/es/types/Interface/models/ISocietyProcessRegister.d.ts.map +1 -1
- package/es/types/Interface/models/ISocietyProcessRegister.js.map +1 -1
- package/es/types/Interface/models/ISocietyRelance.d.ts.map +1 -1
- package/es/types/Interface/models/ISocietyRelance.js.map +1 -1
- package/es/types/Interface/models/ISocietySocial.d.ts.map +1 -1
- package/es/types/Interface/models/ISocietySocial.js.map +1 -1
- package/es/types/Interface/models/ISocietySoftware.d.ts.map +1 -1
- package/es/types/Interface/models/ISocietySoftware.js.map +1 -1
- package/es/types/Interface/models/ISocietyStat.d.ts.map +1 -1
- package/es/types/Interface/models/ISocietyStat.js.map +1 -1
- package/es/types/Interface/models/ISocietyVehicle.d.ts.map +1 -1
- package/es/types/Interface/models/ISocietyVehicle.js.map +1 -1
- package/es/types/Interface/models/ISoftwareCompta.d.ts.map +1 -1
- package/es/types/Interface/models/ISoftwareCompta.js.map +1 -1
- package/es/types/Interface/models/ISource.d.ts.map +1 -1
- package/es/types/Interface/models/ISource.js.map +1 -1
- package/es/types/Interface/models/ISpecialOperation.d.ts.map +1 -1
- package/es/types/Interface/models/ISpecialOperation.js.map +1 -1
- package/es/types/Interface/models/ISponsorshipLink.d.ts.map +1 -1
- package/es/types/Interface/models/ISponsorshipLink.js.map +1 -1
- package/es/types/Interface/models/IStatusSignature.d.ts.map +1 -1
- package/es/types/Interface/models/IStatusSignature.js.map +1 -1
- package/es/types/Interface/models/IStripeEvent.d.ts.map +1 -1
- package/es/types/Interface/models/IStripeEvent.js.map +1 -1
- package/es/types/Interface/models/IStripeEventType.d.ts.map +1 -1
- package/es/types/Interface/models/IStripeEventType.js.map +1 -1
- package/es/types/Interface/models/ISubscriptionType.d.ts.map +1 -1
- package/es/types/Interface/models/ISubscriptionType.js.map +1 -1
- package/es/types/Interface/models/ISupervision.d.ts.map +1 -1
- package/es/types/Interface/models/ISupervision.js.map +1 -1
- package/es/types/Interface/models/ISupervisionJob.d.ts.map +1 -1
- package/es/types/Interface/models/ISupervisionJob.js.map +1 -1
- package/es/types/Interface/models/ISupervisionPendingPoint.d.ts.map +1 -1
- package/es/types/Interface/models/ISupervisionPendingPoint.js.map +1 -1
- package/es/types/Interface/models/ITag.d.ts.map +1 -1
- package/es/types/Interface/models/ITag.js.map +1 -1
- package/es/types/Interface/models/ITask.d.ts.map +1 -1
- package/es/types/Interface/models/ITask.js.map +1 -1
- package/es/types/Interface/models/ITaxSystem.d.ts.map +1 -1
- package/es/types/Interface/models/ITaxSystem.js.map +1 -1
- package/es/types/Interface/models/ITeam.d.ts.map +1 -1
- package/es/types/Interface/models/ITeam.js.map +1 -1
- package/es/types/Interface/models/ITeamBusinessLine.d.ts.map +1 -1
- package/es/types/Interface/models/ITeamBusinessLine.js.map +1 -1
- package/es/types/Interface/models/ITerminationList.d.ts.map +1 -1
- package/es/types/Interface/models/ITerminationList.js.map +1 -1
- package/es/types/Interface/models/IThirdParty.d.ts.map +1 -1
- package/es/types/Interface/models/IThirdParty.js.map +1 -1
- package/es/types/Interface/models/IThirdPartySociety.d.ts.map +1 -1
- package/es/types/Interface/models/IThirdPartySociety.js.map +1 -1
- package/es/types/Interface/models/IThirdPartyType.d.ts.map +1 -1
- package/es/types/Interface/models/IThirdPartyType.js.map +1 -1
- package/es/types/Interface/models/ITicketSupport.d.ts.map +1 -1
- package/es/types/Interface/models/ITicketSupport.js.map +1 -1
- package/es/types/Interface/models/ITicketSupportFollow.d.ts.map +1 -1
- package/es/types/Interface/models/ITicketSupportFollow.js.map +1 -1
- package/es/types/Interface/models/ITimeTracking.d.ts.map +1 -1
- package/es/types/Interface/models/ITimeTracking.js.map +1 -1
- package/es/types/Interface/models/ITimeTrackingSource.d.ts.map +1 -1
- package/es/types/Interface/models/ITimeTrackingSource.js.map +1 -1
- package/es/types/Interface/models/ITmpValidationToken.d.ts.map +1 -1
- package/es/types/Interface/models/ITmpValidationToken.js.map +1 -1
- package/es/types/Interface/models/IUnit.d.ts.map +1 -1
- package/es/types/Interface/models/IUnit.js.map +1 -1
- package/es/types/Interface/models/IUser.d.ts.map +1 -1
- package/es/types/Interface/models/IUser.js.map +1 -1
- package/es/types/Interface/models/IUserNotification.d.ts.map +1 -1
- package/es/types/Interface/models/IUserNotification.js.map +1 -1
- package/es/types/Interface/models/IUserSocietyPermission.d.ts.map +1 -1
- package/es/types/Interface/models/IUserSocietyPermission.js.map +1 -1
- package/es/types/Interface/models/IUserSocietyTicketSupport.d.ts.map +1 -1
- package/es/types/Interface/models/IUserSocietyTicketSupport.js.map +1 -1
- package/es/types/Interface/models/IUserTeam.d.ts.map +1 -1
- package/es/types/Interface/models/IUserTeam.js.map +1 -1
- package/es/types/Interface/models/IUserTest.d.ts.map +1 -1
- package/es/types/Interface/models/IUserTest.js.map +1 -1
- package/es/types/Interface/models/IVat.d.ts.map +1 -1
- package/es/types/Interface/models/IVat.js.map +1 -1
- package/es/types/Interface/models/IVatDeclaration.d.ts.map +1 -1
- package/es/types/Interface/models/IVatDeclaration.js.map +1 -1
- package/es/types/Interface/models/IVatDeclarationCertificate.d.ts.map +1 -1
- package/es/types/Interface/models/IVatDeclarationCertificate.js.map +1 -1
- package/es/types/Interface/models/IVatDeclarationSocietyDetail.d.ts.map +1 -1
- package/es/types/Interface/models/IVatDeclarationSocietyDetail.js.map +1 -1
- package/es/types/Interface/models/IVatMargin.d.ts.map +1 -1
- package/es/types/Interface/models/IVatMargin.js.map +1 -1
- package/es/types/Interface/models/IVatRegime.d.ts.map +1 -1
- package/es/types/Interface/models/IVatRegime.js.map +1 -1
- package/es/types/Interface/models/IVehicleType.d.ts.map +1 -1
- package/es/types/Interface/models/IVehicleType.js.map +1 -1
- package/es/types/Interface/models/IWebMail.d.ts.map +1 -1
- package/es/types/Interface/models/IWebMail.js.map +1 -1
- package/es/types/Interface/models/IWebMailAttachment.d.ts.map +1 -1
- package/es/types/Interface/models/IWebMailAttachment.js.map +1 -1
- package/es/types/Interface/models/IWebMailSpam.d.ts.map +1 -1
- package/es/types/Interface/models/IWebMailSpam.js.map +1 -1
- package/es/types/Interface/models/IWebMailSpamType.d.ts.map +1 -1
- package/es/types/Interface/models/IWebMailSpamType.js.map +1 -1
- package/es/types/Interface/models/IWebMailStat.d.ts.map +1 -1
- package/es/types/Interface/models/IWebMailStat.js.map +1 -1
- package/es/types/Interface/models/IWebMailType.d.ts.map +1 -1
- package/es/types/Interface/models/IWebMailType.js.map +1 -1
- package/es/types/Interface/models/IWorkingSchedule.d.ts.map +1 -1
- package/es/types/Interface/models/IWorkingSchedule.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/es/utils/decorators.d.ts +7 -0
- package/es/utils/decorators.d.ts.map +1 -0
- package/es/utils/decorators.js +15 -0
- package/es/utils/decorators.js.map +1 -0
- package/es/utils/index.d.ts +1 -0
- package/es/utils/index.d.ts.map +1 -1
- package/es/utils/index.js +1 -0
- package/es/utils/index.js.map +1 -1
- package/es/utils/objectUtils/BaseEntity.d.ts.map +1 -1
- package/es/utils/objectUtils/BaseEntity.js.map +1 -1
- package/es/utils/objectUtils/flattenObject.d.ts.map +1 -1
- package/es/utils/objectUtils/flattenObject.js +3 -5
- package/es/utils/objectUtils/flattenObject.js.map +1 -1
- package/es/utils/objectUtils/fullFlattenObject.d.ts.map +1 -1
- package/es/utils/objectUtils/fullFlattenObject.js +2 -4
- package/es/utils/objectUtils/fullFlattenObject.js.map +1 -1
- package/es/utils/objectUtils/unflattenObject.d.ts.map +1 -1
- package/es/utils/objectUtils/unflattenObject.js +4 -5
- package/es/utils/objectUtils/unflattenObject.js.map +1 -1
- package/js/api/Resource.js.map +1 -1
- package/js/api/index.js +6 -0
- package/js/api/index.js.map +1 -1
- package/js/api/resources/Account.js +36 -0
- package/js/api/resources/Account.js.map +1 -0
- package/js/api/resources/AccountType.js +18 -0
- package/js/api/resources/AccountType.js.map +1 -0
- package/js/api/resources/Country.js.map +1 -1
- package/js/api/resources/Immobilization.js +22 -0
- package/js/api/resources/Immobilization.js.map +1 -0
- package/js/api/resources/PaymentExpectationCustomer.js.map +1 -1
- package/js/api/resources/Simulation.js +12 -4
- package/js/api/resources/Simulation.js.map +1 -1
- package/js/api/resources/Transaction.js +24 -0
- package/js/api/resources/Transaction.js.map +1 -0
- package/js/api/resources.js +13 -1
- package/js/api/resources.js.map +1 -1
- package/js/index.js.map +1 -1
- package/js/types/Enum/AccountingJournal.js +1 -0
- package/js/types/Enum/AccountingJournal.js.map +1 -1
- package/js/types/Enum/ComptaType.js.map +1 -1
- package/js/types/Enum/Country.js.map +1 -1
- package/js/types/Enum/Ged.js.map +1 -1
- package/js/types/Enum/ImmobilizationType.js.map +1 -1
- package/js/types/Enum/LegalForm.js.map +1 -1
- package/js/types/Enum/Nature.js +13 -0
- package/js/types/Enum/Nature.js.map +1 -0
- package/js/types/Enum/Role.js.map +1 -1
- package/js/types/Enum/Simulation.js.map +1 -1
- package/js/types/Enum/TypeConnector.js.map +1 -1
- package/js/types/Enum/Vat.js.map +1 -1
- package/js/types/Form/FormConnector.js.map +1 -1
- package/js/types/Interface/api/account/QueryAccounts.js +35 -0
- package/js/types/Interface/api/account/QueryAccounts.js.map +1 -0
- package/js/types/Interface/api/account/ReadAccounts.js +6 -0
- package/js/types/Interface/api/account/ReadAccounts.js.map +1 -0
- package/js/types/Interface/api/accountType/ReadAccountType.js +6 -0
- package/js/types/Interface/api/accountType/ReadAccountType.js.map +1 -0
- package/js/types/Interface/api/immobilization/ReadFormattedImmobilization.js +6 -0
- package/js/types/Interface/api/immobilization/ReadFormattedImmobilization.js.map +1 -0
- 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/UpdatePaymentExpectationCustomer.js.map +1 -1
- package/js/types/Interface/api/simulation/CreateSimulation.js.map +1 -1
- package/js/types/Interface/api/simulation/ReadSimulation.js +0 -4
- package/js/types/Interface/api/simulationColors/ReadSimulationColors.js +29 -0
- package/js/types/Interface/api/simulationColors/ReadSimulationColors.js.map +1 -0
- package/js/types/Interface/models/IApiError.js +6 -0
- package/js/types/Interface/models/IApiError.js.map +1 -1
- package/js/types/index.js +72 -0
- package/js/types/index.js.map +1 -1
- package/js/utils/decorators.js +28 -0
- package/js/utils/decorators.js.map +1 -0
- package/js/utils/index.js +12 -0
- package/js/utils/index.js.map +1 -1
- package/js/utils/objectUtils/flattenObject.js +3 -5
- package/js/utils/objectUtils/flattenObject.js.map +1 -1
- package/js/utils/objectUtils/fullFlattenObject.js +3 -5
- package/js/utils/objectUtils/fullFlattenObject.js.map +1 -1
- package/js/utils/objectUtils/unflattenObject.js +3 -3
- package/js/utils/objectUtils/unflattenObject.js.map +1 -1
- package/package.json +25 -38
- package/ts/api/Resource.ts +2 -2
- package/ts/api/index.ts +12 -8
- package/ts/api/resources/Account.ts +9 -0
- package/ts/api/resources/AccountType.ts +8 -0
- package/ts/api/resources/Country.ts +2 -2
- package/ts/api/resources/Immobilization.ts +14 -0
- package/ts/api/resources/PaymentExpectationCustomer.ts +10 -8
- package/ts/api/resources/Simulation.ts +19 -5
- package/ts/api/resources/Transaction.ts +24 -0
- package/ts/api/resources.ts +9 -1
- package/ts/index.ts +0 -1
- package/ts/types/Enum/AccountingJournal.ts +2 -1
- package/ts/types/Enum/ComptaType.ts +1 -1
- package/ts/types/Enum/Country.ts +1 -1
- package/ts/types/Enum/Ged.ts +4 -4
- package/ts/types/Enum/ImmobilizationType.ts +77 -77
- package/ts/types/Enum/LegalForm.ts +20 -20
- package/ts/types/Enum/Nature.ts +5 -0
- package/ts/types/Enum/Role.ts +4 -5
- package/ts/types/Enum/Simulation.ts +6 -6
- package/ts/types/Enum/TypeConnector.ts +1 -1
- package/ts/types/Enum/Vat.ts +3 -3
- package/ts/types/Form/FormConnector.ts +1 -2
- package/ts/types/Interface/api/BasePaginate.ts +0 -1
- package/ts/types/Interface/api/account/QueryAccounts.ts +20 -0
- package/ts/types/Interface/api/account/ReadAccounts.ts +2 -0
- package/ts/types/Interface/api/accountType/ReadAccountType.ts +8 -0
- package/ts/types/Interface/api/accountingEntry/AnnotateAccountingTransaction.ts +10 -5
- package/ts/types/Interface/api/immobilization/ReadFormattedImmobilization.ts +29 -0
- package/ts/types/Interface/api/paymentExpectationCustomer/CreatePaymentExpectationCustomer.ts +1 -2
- package/ts/types/Interface/api/paymentExpectationCustomer/QueryPaymentExpectationCustomer.ts +0 -15
- package/ts/types/Interface/api/paymentExpectationCustomer/UpdatePaymentExpectationCustomer.ts +1 -3
- package/ts/types/Interface/api/simulation/CreateSimulation.ts +0 -1
- package/ts/types/Interface/api/simulation/ReadSimulation.ts +0 -14
- package/ts/types/Interface/api/simulationColors/ReadSimulationColors.ts +9 -0
- package/ts/types/Interface/api/society/ReadSociety.ts +1 -1
- package/ts/types/Interface/models/IAbsenceType.ts +0 -1
- package/ts/types/Interface/models/IAccessToken.ts +0 -1
- package/ts/types/Interface/models/IAccount.ts +2 -3
- package/ts/types/Interface/models/IAccountDetail.ts +0 -1
- package/ts/types/Interface/models/IAccountHelp.ts +0 -1
- package/ts/types/Interface/models/IAccountType.ts +0 -1
- package/ts/types/Interface/models/IAccountantTracker.ts +0 -1
- package/ts/types/Interface/models/IAccountingEntry.ts +1 -2
- package/ts/types/Interface/models/IAccountingFile.ts +0 -1
- package/ts/types/Interface/models/IAccountingFileType.ts +0 -1
- package/ts/types/Interface/models/IAccountingJournal.ts +0 -1
- package/ts/types/Interface/models/IAccountingState.ts +0 -1
- package/ts/types/Interface/models/IAccountingStateType.ts +0 -1
- package/ts/types/Interface/models/IAccountingTransaction.ts +0 -1
- package/ts/types/Interface/models/IAccountsSocieties.ts +0 -1
- package/ts/types/Interface/models/IActivity.ts +0 -1
- package/ts/types/Interface/models/IAdditionalBalance.ts +0 -1
- package/ts/types/Interface/models/IAlert.ts +0 -1
- package/ts/types/Interface/models/IAllowedIp.ts +0 -1
- package/ts/types/Interface/models/IAnalyticsUtm.ts +0 -1
- package/ts/types/Interface/models/IApiError.ts +9 -2
- package/ts/types/Interface/models/IAppConfig.ts +0 -1
- package/ts/types/Interface/models/IAreasInvoice.ts +0 -1
- package/ts/types/Interface/models/IAskAbsence.ts +0 -1
- package/ts/types/Interface/models/IAskAbsenceTimes.ts +0 -1
- package/ts/types/Interface/models/IAttachmentFile.ts +0 -1
- package/ts/types/Interface/models/IAttestation.ts +0 -1
- package/ts/types/Interface/models/IAttributionHistory.ts +0 -1
- package/ts/types/Interface/models/IAutoLoginToken.ts +0 -1
- package/ts/types/Interface/models/IBalanceBankAccount.ts +0 -1
- package/ts/types/Interface/models/IBalanceSheet.ts +0 -1
- package/ts/types/Interface/models/IBalanceSheetHistory.ts +0 -1
- package/ts/types/Interface/models/IBalanceSheetLiquidation.ts +0 -1
- package/ts/types/Interface/models/IBalanceSheetPartial.ts +0 -1
- package/ts/types/Interface/models/IBankAccount.ts +0 -1
- package/ts/types/Interface/models/IBankAccountSynchroHistory.ts +0 -1
- package/ts/types/Interface/models/IBankConnection.ts +0 -1
- package/ts/types/Interface/models/IBankList.ts +0 -1
- package/ts/types/Interface/models/IBankTransaction.ts +0 -1
- package/ts/types/Interface/models/IBrandType.ts +0 -1
- package/ts/types/Interface/models/IBusinessLine.ts +0 -1
- package/ts/types/Interface/models/IBusinessPartner.ts +0 -1
- package/ts/types/Interface/models/ICalendarEvent.ts +0 -1
- package/ts/types/Interface/models/ICalendarEventUser.ts +0 -1
- package/ts/types/Interface/models/ICallDirectly.ts +0 -1
- package/ts/types/Interface/models/ICashDeskTransactionType.ts +0 -1
- package/ts/types/Interface/models/ICategory.ts +0 -1
- package/ts/types/Interface/models/ICerfaType.ts +0 -1
- package/ts/types/Interface/models/ICerfaValue.ts +0 -1
- package/ts/types/Interface/models/IChangeLog.ts +0 -1
- package/ts/types/Interface/models/IChannelType.ts +0 -1
- package/ts/types/Interface/models/IChecklist.ts +0 -1
- package/ts/types/Interface/models/IChecklistCategoryType.ts +0 -1
- package/ts/types/Interface/models/IChecklistDetail.ts +0 -1
- package/ts/types/Interface/models/IChecklistType.ts +0 -1
- package/ts/types/Interface/models/ICivility.ts +0 -1
- package/ts/types/Interface/models/IColor.ts +0 -1
- package/ts/types/Interface/models/IComment.ts +0 -1
- package/ts/types/Interface/models/ICommentType.ts +0 -1
- package/ts/types/Interface/models/IComptaHistoryType.ts +0 -1
- package/ts/types/Interface/models/IComptaType.ts +0 -1
- package/ts/types/Interface/models/IConnector.ts +0 -1
- package/ts/types/Interface/models/IConnectorType.ts +0 -1
- package/ts/types/Interface/models/IContractType.ts +0 -1
- package/ts/types/Interface/models/ICotation.ts +0 -1
- package/ts/types/Interface/models/ICountry.ts +0 -1
- package/ts/types/Interface/models/ICurrency.ts +0 -1
- package/ts/types/Interface/models/ICustomerIsRegime.ts +0 -1
- package/ts/types/Interface/models/ICustomerSignature.ts +0 -1
- package/ts/types/Interface/models/ICustomerTva.ts +0 -1
- package/ts/types/Interface/models/ICustomisation.ts +0 -1
- package/ts/types/Interface/models/ICustomizationType.ts +0 -1
- package/ts/types/Interface/models/ICycle.ts +0 -1
- package/ts/types/Interface/models/IDay.ts +0 -1
- package/ts/types/Interface/models/IDetailedLogBi.ts +0 -1
- package/ts/types/Interface/models/IDirectDebitHistory.ts +0 -1
- package/ts/types/Interface/models/IDocumentWaitingType.ts +0 -1
- package/ts/types/Interface/models/IEmployee.ts +0 -1
- package/ts/types/Interface/models/IEngagementAccountingEntry.ts +0 -1
- package/ts/types/Interface/models/IEngagementAccountingFile.ts +0 -1
- package/ts/types/Interface/models/IEngagementBankTransaction.ts +0 -1
- package/ts/types/Interface/models/IEngagementOcrExtraction.ts +0 -1
- package/ts/types/Interface/models/IErrorCode.ts +0 -1
- package/ts/types/Interface/models/IEstimateInvoice.ts +0 -1
- package/ts/types/Interface/models/IEstimateInvoiceRepeat.ts +0 -1
- package/ts/types/Interface/models/IEstimateInvoiceType.ts +0 -1
- package/ts/types/Interface/models/IExercice.ts +0 -1
- package/ts/types/Interface/models/IExerciceDetail.ts +0 -1
- package/ts/types/Interface/models/IExercicePrestation.ts +0 -1
- package/ts/types/Interface/models/IFailedLoginAttempt.ts +0 -1
- package/ts/types/Interface/models/IFaq.ts +0 -1
- package/ts/types/Interface/models/IFaqCategory.ts +0 -1
- package/ts/types/Interface/models/IField.ts +0 -1
- package/ts/types/Interface/models/IFile.ts +0 -1
- package/ts/types/Interface/models/IFileMissing.ts +0 -1
- package/ts/types/Interface/models/IFileType.ts +0 -1
- package/ts/types/Interface/models/IFiscalRegime.ts +0 -1
- package/ts/types/Interface/models/IFolderFile.ts +0 -1
- package/ts/types/Interface/models/IFollow.ts +0 -1
- package/ts/types/Interface/models/IFollowList.ts +0 -1
- package/ts/types/Interface/models/IFollowedQualityMail.ts +0 -1
- package/ts/types/Interface/models/IFollowedQualityMailType.ts +0 -1
- package/ts/types/Interface/models/IFormalism.ts +0 -1
- package/ts/types/Interface/models/IFormalismValue.ts +0 -1
- package/ts/types/Interface/models/IFrequency.ts +0 -1
- package/ts/types/Interface/models/IFuel.ts +0 -1
- package/ts/types/Interface/models/IGedCategory.ts +0 -1
- package/ts/types/Interface/models/IGedFile.ts +0 -1
- package/ts/types/Interface/models/IGedFileType.ts +0 -1
- package/ts/types/Interface/models/IGedFolder.ts +0 -1
- package/ts/types/Interface/models/IIdentification.ts +0 -1
- package/ts/types/Interface/models/IImmobilization.ts +5 -4
- package/ts/types/Interface/models/IIndependentReview.ts +0 -1
- package/ts/types/Interface/models/IInterestedByFeature.ts +0 -1
- package/ts/types/Interface/models/IInternalEstimate.ts +0 -1
- package/ts/types/Interface/models/IIpTmpBlocked.ts +0 -1
- package/ts/types/Interface/models/IItemEstimate.ts +0 -1
- package/ts/types/Interface/models/IJob.ts +0 -1
- package/ts/types/Interface/models/IJobCategory.ts +0 -1
- package/ts/types/Interface/models/IKilometricAllowanceScale.ts +0 -1
- package/ts/types/Interface/models/ILabelPaymentWaiting.ts +0 -1
- package/ts/types/Interface/models/ILegalForm.ts +0 -1
- package/ts/types/Interface/models/ILegalNotice.ts +0 -1
- package/ts/types/Interface/models/ILetter.ts +0 -1
- package/ts/types/Interface/models/ILetterType.ts +0 -1
- package/ts/types/Interface/models/ILettering.ts +0 -1
- package/ts/types/Interface/models/ILog.ts +0 -1
- package/ts/types/Interface/models/ILogBi.ts +0 -1
- package/ts/types/Interface/models/ILogType.ts +0 -1
- package/ts/types/Interface/models/IMailAuto.ts +0 -1
- package/ts/types/Interface/models/IMailAutoType.ts +0 -1
- package/ts/types/Interface/models/IMailSociety.ts +0 -1
- package/ts/types/Interface/models/IMonth.ts +0 -1
- package/ts/types/Interface/models/INationality.ts +0 -1
- package/ts/types/Interface/models/INature.ts +0 -1
- package/ts/types/Interface/models/INote.ts +0 -1
- package/ts/types/Interface/models/INotification.ts +0 -1
- package/ts/types/Interface/models/INotificationCodeType.ts +0 -1
- package/ts/types/Interface/models/INotificationType.ts +0 -1
- package/ts/types/Interface/models/IOldExpertInfo.ts +0 -1
- package/ts/types/Interface/models/IOperationLegalNotice.ts +0 -1
- package/ts/types/Interface/models/IPageView.ts +0 -1
- package/ts/types/Interface/models/IPartnerTransaction.ts +0 -1
- package/ts/types/Interface/models/IPartnerTransactionType.ts +0 -1
- package/ts/types/Interface/models/IPayPlan.ts +0 -1
- package/ts/types/Interface/models/IPayment.ts +0 -1
- package/ts/types/Interface/models/IPaymentDelay.ts +0 -1
- package/ts/types/Interface/models/IPaymentExpectation.ts +0 -1
- package/ts/types/Interface/models/IPaymentExpectationCustomer.ts +0 -1
- package/ts/types/Interface/models/IPaymentMethod.ts +0 -1
- package/ts/types/Interface/models/IPaymentSchedule.ts +0 -1
- package/ts/types/Interface/models/IPaymentWaiting.ts +0 -1
- package/ts/types/Interface/models/IPenalty.ts +0 -1
- package/ts/types/Interface/models/IPenaltyType.ts +0 -1
- package/ts/types/Interface/models/IPendingPoint.ts +0 -1
- package/ts/types/Interface/models/IPermission.ts +0 -1
- package/ts/types/Interface/models/IPhoneNumber.ts +0 -1
- package/ts/types/Interface/models/IPhonePrefix.ts +0 -1
- package/ts/types/Interface/models/IPhonePrefixChild.ts +0 -1
- package/ts/types/Interface/models/IPrestation.ts +0 -1
- package/ts/types/Interface/models/IPrestationComplementary.ts +0 -1
- package/ts/types/Interface/models/IPrestationList.ts +0 -1
- package/ts/types/Interface/models/IPrestationSocial.ts +0 -1
- package/ts/types/Interface/models/IProcedure.ts +0 -1
- package/ts/types/Interface/models/IProduct.ts +0 -1
- package/ts/types/Interface/models/IProductType.ts +0 -1
- package/ts/types/Interface/models/IQuality.ts +0 -1
- package/ts/types/Interface/models/IQuotaLead.ts +0 -1
- package/ts/types/Interface/models/IRating.ts +0 -1
- package/ts/types/Interface/models/IReason.ts +0 -1
- package/ts/types/Interface/models/IReasonTermination.ts +0 -1
- package/ts/types/Interface/models/IRecontactHistory.ts +0 -1
- package/ts/types/Interface/models/IRefund.ts +0 -1
- package/ts/types/Interface/models/IRefundMotif.ts +0 -1
- package/ts/types/Interface/models/IRegion.ts +0 -1
- package/ts/types/Interface/models/IRegisterCategory.ts +0 -1
- package/ts/types/Interface/models/IRegulate.ts +0 -1
- package/ts/types/Interface/models/IRegulation.ts +0 -1
- package/ts/types/Interface/models/IRepeatType.ts +0 -1
- package/ts/types/Interface/models/IReport.ts +0 -1
- package/ts/types/Interface/models/IReportMessage.ts +0 -1
- package/ts/types/Interface/models/IReportType.ts +0 -1
- package/ts/types/Interface/models/IRole.ts +0 -1
- package/ts/types/Interface/models/IRoleUser.ts +0 -1
- package/ts/types/Interface/models/IRoom.ts +0 -1
- package/ts/types/Interface/models/IRule.ts +0 -1
- package/ts/types/Interface/models/ISchedule.ts +0 -1
- package/ts/types/Interface/models/ISector.ts +0 -1
- package/ts/types/Interface/models/ISendMethod.ts +0 -1
- package/ts/types/Interface/models/IService.ts +0 -1
- package/ts/types/Interface/models/ISheetMonthSchedule.ts +0 -1
- package/ts/types/Interface/models/ISimulation.ts +3 -4
- package/ts/types/Interface/models/ISimulationAdditionalFinance.ts +0 -1
- package/ts/types/Interface/models/ISimulationColor.ts +0 -1
- package/ts/types/Interface/models/ISimulationElement.ts +5 -6
- package/ts/types/Interface/models/ISimulationHasBankAccount.ts +0 -1
- package/ts/types/Interface/models/ISimulationPeriod.ts +0 -1
- package/ts/types/Interface/models/ISimulationSummary.ts +3 -4
- package/ts/types/Interface/models/ISms.ts +0 -1
- package/ts/types/Interface/models/ISmsType.ts +0 -1
- package/ts/types/Interface/models/ISocialDetail.ts +0 -1
- package/ts/types/Interface/models/ISociety.ts +2 -3
- package/ts/types/Interface/models/ISocietyAction.ts +0 -1
- package/ts/types/Interface/models/ISocietyApproval.ts +0 -1
- package/ts/types/Interface/models/ISocietyBank.ts +0 -1
- package/ts/types/Interface/models/ISocietyBudgetConnection.ts +0 -1
- package/ts/types/Interface/models/ISocietyCgv.ts +0 -1
- package/ts/types/Interface/models/ISocietyConfig.ts +1 -2
- package/ts/types/Interface/models/ISocietyConfigBalanceSheet.ts +0 -1
- package/ts/types/Interface/models/ISocietyDetail.ts +0 -1
- package/ts/types/Interface/models/ISocietyFile.ts +0 -1
- package/ts/types/Interface/models/ISocietyGescom.ts +0 -1
- package/ts/types/Interface/models/ISocietyJuridical.ts +0 -1
- package/ts/types/Interface/models/ISocietyNote.ts +0 -1
- package/ts/types/Interface/models/ISocietyPartner.ts +0 -1
- package/ts/types/Interface/models/ISocietyProceeding.ts +0 -1
- package/ts/types/Interface/models/ISocietyProcessRegister.ts +0 -1
- package/ts/types/Interface/models/ISocietyRelance.ts +0 -1
- package/ts/types/Interface/models/ISocietySocial.ts +0 -1
- package/ts/types/Interface/models/ISocietySoftware.ts +0 -1
- package/ts/types/Interface/models/ISocietyStat.ts +0 -1
- package/ts/types/Interface/models/ISocietyVehicle.ts +0 -1
- package/ts/types/Interface/models/ISoftwareCompta.ts +0 -1
- package/ts/types/Interface/models/ISource.ts +0 -1
- package/ts/types/Interface/models/ISpecialOperation.ts +0 -1
- package/ts/types/Interface/models/ISponsorshipLink.ts +0 -1
- package/ts/types/Interface/models/IStatusSignature.ts +0 -1
- package/ts/types/Interface/models/IStripeEvent.ts +0 -1
- package/ts/types/Interface/models/IStripeEventType.ts +0 -1
- package/ts/types/Interface/models/ISubscriptionType.ts +0 -1
- package/ts/types/Interface/models/ISupervision.ts +0 -1
- package/ts/types/Interface/models/ISupervisionJob.ts +0 -1
- package/ts/types/Interface/models/ISupervisionPendingPoint.ts +0 -1
- package/ts/types/Interface/models/ITag.ts +0 -1
- package/ts/types/Interface/models/ITask.ts +0 -1
- package/ts/types/Interface/models/ITaxSystem.ts +0 -1
- package/ts/types/Interface/models/ITeam.ts +0 -1
- package/ts/types/Interface/models/ITeamBusinessLine.ts +0 -1
- package/ts/types/Interface/models/ITerminationList.ts +0 -1
- package/ts/types/Interface/models/IThirdParty.ts +0 -1
- package/ts/types/Interface/models/IThirdPartySociety.ts +0 -1
- package/ts/types/Interface/models/IThirdPartyType.ts +1 -2
- package/ts/types/Interface/models/ITicketSupport.ts +0 -1
- package/ts/types/Interface/models/ITicketSupportFollow.ts +0 -1
- package/ts/types/Interface/models/ITimeTracking.ts +0 -1
- package/ts/types/Interface/models/ITimeTrackingSource.ts +0 -1
- package/ts/types/Interface/models/ITmpValidationToken.ts +0 -1
- package/ts/types/Interface/models/IUnit.ts +0 -1
- package/ts/types/Interface/models/IUser.ts +0 -1
- package/ts/types/Interface/models/IUserNotification.ts +0 -1
- package/ts/types/Interface/models/IUserSocietyPermission.ts +0 -1
- package/ts/types/Interface/models/IUserSocietyTicketSupport.ts +0 -1
- package/ts/types/Interface/models/IUserTeam.ts +0 -1
- package/ts/types/Interface/models/IUserTest.ts +0 -1
- package/ts/types/Interface/models/IVat.ts +0 -1
- package/ts/types/Interface/models/IVatDeclaration.ts +0 -1
- package/ts/types/Interface/models/IVatDeclarationCertificate.ts +0 -1
- package/ts/types/Interface/models/IVatDeclarationSocietyDetail.ts +0 -1
- package/ts/types/Interface/models/IVatMargin.ts +0 -1
- package/ts/types/Interface/models/IVatRegime.ts +0 -1
- package/ts/types/Interface/models/IVehicleType.ts +0 -1
- package/ts/types/Interface/models/IWebMail.ts +0 -1
- package/ts/types/Interface/models/IWebMailAttachment.ts +0 -1
- package/ts/types/Interface/models/IWebMailSpam.ts +0 -1
- package/ts/types/Interface/models/IWebMailSpamType.ts +0 -1
- package/ts/types/Interface/models/IWebMailStat.ts +0 -1
- package/ts/types/Interface/models/IWebMailType.ts +0 -1
- package/ts/types/Interface/models/IWorkingSchedule.ts +0 -1
- package/ts/types/index.ts +6 -1
- package/ts/utils/decorators.ts +15 -0
- package/ts/utils/index.ts +1 -0
- package/ts/utils/objectUtils/BaseEntity.ts +0 -1
- package/ts/utils/objectUtils/flattenObject.ts +4 -7
- package/ts/utils/objectUtils/fullFlattenObject.ts +3 -6
- package/ts/utils/objectUtils/unflattenObject.ts +4 -5
- package/yalc.lock +0 -4
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.ApiProperty = exports.ApiPropertyOptional = undefined;
|
|
7
|
+
|
|
8
|
+
var _browserOrNode = require("browser-or-node");
|
|
9
|
+
|
|
10
|
+
// eslint-disable-next-line global-require
|
|
11
|
+
const retrieveDecorator = name => {
|
|
12
|
+
if (!_browserOrNode.isNode) {
|
|
13
|
+
return (target, key) => {};
|
|
14
|
+
} // eslint-disable-next-line global-require
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
const path = require('path'); // eslint-disable-next-line global-require,import/no-dynamic-require
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
return require(path.resolve(process.cwd(), 'node_modules/@nestjs/swagger/index.js'))[name];
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
const ApiPropertyOptional = exports.ApiPropertyOptional = retrieveDecorator('ApiPropertyOptional');
|
|
24
|
+
const ApiProperty = exports.ApiProperty = retrieveDecorator('ApiProperty');
|
|
25
|
+
exports.default = {
|
|
26
|
+
ApiPropertyOptional
|
|
27
|
+
};
|
|
28
|
+
//# sourceMappingURL=decorators.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../ts/utils/decorators.ts"],"names":[],"mappings":";;;;;;;AAAA;;AACA;AACA,MAAM,iBAAiB,GAAI,IAAD,IAAgD;AACxE,MAAI,CAAC,qBAAL,EAAa;AACX,WAAO,CAAC,MAAD,EAAc,GAAd,KAA6B,CAAG,CAAvC;AACD,GAHuE,CAIxE;;;AACA,QAAM,IAAI,GAAG,OAAO,CAAC,MAAD,CAApB,CALwE,CAMxE;;;AACA,SAAO,OAAO,CAAC,IAAI,CAAC,OAAL,CAAa,OAAO,CAAC,GAAR,EAAb,EAA4B,uCAA5B,CAAD,CAAP,CAA8E,IAA9E,CAAP;AACD,CARD;;AASO,MAAM,mBAAmB,WAAnB,mBAAmB,GAAG,iBAAiB,CAAC,qBAAD,CAA7C;AACA,MAAM,WAAW,WAAX,WAAW,GAAG,iBAAiB,CAAC,aAAD,CAArC;kBAEQ;AAAE,EAAA;AAAF,C","sourcesContent":["import { isNode } from 'browser-or-node';\n// eslint-disable-next-line global-require\nconst retrieveDecorator = (name: 'ApiPropertyOptional' | 'ApiProperty') => {\n if (!isNode) {\n return (target: any, key: string) => {};\n }\n // eslint-disable-next-line global-require\n const path = require('path');\n // eslint-disable-next-line global-require,import/no-dynamic-require\n return require(path.resolve(process.cwd(), 'node_modules/@nestjs/swagger/index.js'))[name];\n};\nexport const ApiPropertyOptional = retrieveDecorator('ApiPropertyOptional');\nexport const ApiProperty = retrieveDecorator('ApiProperty');\n\nexport default { ApiPropertyOptional };\n"],"sourceRoot":"","file":"decorators.js"}
|
package/js/utils/index.js
CHANGED
|
@@ -15,4 +15,16 @@ Object.keys(_objectUtils).forEach(function (key) {
|
|
|
15
15
|
}
|
|
16
16
|
});
|
|
17
17
|
});
|
|
18
|
+
|
|
19
|
+
var _decorators = require("./decorators");
|
|
20
|
+
|
|
21
|
+
Object.keys(_decorators).forEach(function (key) {
|
|
22
|
+
if (key === "default" || key === "__esModule") return;
|
|
23
|
+
Object.defineProperty(exports, key, {
|
|
24
|
+
enumerable: true,
|
|
25
|
+
get: function () {
|
|
26
|
+
return _decorators[key];
|
|
27
|
+
}
|
|
28
|
+
});
|
|
29
|
+
});
|
|
18
30
|
//# sourceMappingURL=index.js.map
|
package/js/utils/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../ts/utils/index.ts"],"names":[],"mappings":";;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA","sourcesContent":["export * from './objectUtils';\n"],"sourceRoot":"","file":"index.js"}
|
|
1
|
+
{"version":3,"sources":["../../ts/utils/index.ts"],"names":[],"mappings":";;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA","sourcesContent":["export * from './objectUtils';\nexport * from './decorators';\n"],"sourceRoot":"","file":"index.js"}
|
|
@@ -16,11 +16,9 @@ var _isValidObject = require("./isValidObject");
|
|
|
16
16
|
* @param separator the string used to separate paths in keys
|
|
17
17
|
*/
|
|
18
18
|
function flattenObject(object, separator = '.') {
|
|
19
|
-
const walker = (child, path = []) => {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
}));
|
|
23
|
-
};
|
|
19
|
+
const walker = (child, path = []) => Object.assign({}, ...Object.keys(child).map(key => (0, _isValidObject.isValidObject)(child[key]) ? walker(child[key], path.concat([key])) : {
|
|
20
|
+
[path.concat([key]).join(separator)]: child[key]
|
|
21
|
+
}));
|
|
24
22
|
|
|
25
23
|
return Object.assign({}, walker(object));
|
|
26
24
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../ts/utils/objectUtils/flattenObject.ts"],"names":[],"mappings":";;;;;QAUgB,a,GAAA,a;;AAVhB;;AAEA;;;;;;;AAOG;AACG,SAAU,aAAV,CAAwB,MAAxB,EAAqC,SAAS,GAAG,GAAjD,EAAoD;AACxD,QAAM,MAAM,GAAG,CAAC,KAAD,EAAgC,IAAA,GAAsB,EAAtD,
|
|
1
|
+
{"version":3,"sources":["../../../ts/utils/objectUtils/flattenObject.ts"],"names":[],"mappings":";;;;;QAUgB,a,GAAA,a;;AAVhB;;AAEA;;;;;;;AAOG;AACG,SAAU,aAAV,CAAwB,MAAxB,EAAqC,SAAS,GAAG,GAAjD,EAAoD;AACxD,QAAM,MAAM,GAAG,CAAC,KAAD,EAAgC,IAAA,GAAsB,EAAtD,KAAkE,MAAM,CAAC,MAAP,CAAc,EAAd,EAAkB,GAAG,MAAM,CAAC,IAAP,CAAY,KAAZ,EAAmB,GAAnB,CAAwB,GAAD,IAAU,kCAAc,KAAK,CAAC,GAAD,CAAnB,IACnI,MAAM,CAAC,KAAK,CAAC,GAAD,CAAN,EAAa,IAAI,CAAC,MAAL,CAAY,CAAC,GAAD,CAAZ,CAAb,CAD6H,GAEnI;AAAE,KAAC,IAAI,CAAC,MAAL,CAAY,CAAC,GAAD,CAAZ,EAAmB,IAAnB,CAAwB,SAAxB,CAAD,GAAsC,KAAK,CAAC,GAAD;AAA7C,GAFkG,CAArB,CAAjF;;AAIA,SAAA,MAAA,CAAA,MAAA,CAAA,EAAA,EAAY,MAAM,CAAC,MAAD,CAAlB,CAAA;AACD","sourcesContent":["import { isValidObject } from './isValidObject';\n\n/**\n * Flattens an object to a one-level deep Object.\n *\n * The keys of the newly created object correspond to the original \"path\" in the `object`.\n * Can be unflattened using the [[ unflattenObject ]] function.\n * @param object the object to flatten\n * @param separator the string used to separate paths in keys\n */\nexport function flattenObject(object: any, separator = '.'): any {\n const walker = (child: { [key: string]: any }, path: Array<string> = []): any => Object.assign({}, ...Object.keys(child).map((key) => (isValidObject(child[key])\n ? walker(child[key], path.concat([key]))\n : { [path.concat([key]).join(separator)]: child[key] })));\n\n return { ...walker(object) };\n}\n"],"sourceRoot":"","file":"flattenObject.js"}
|
|
@@ -12,11 +12,9 @@ var _isValidObject = require("./isValidObject");
|
|
|
12
12
|
* @param object the object to full flatten
|
|
13
13
|
*/
|
|
14
14
|
function fullFlattenObject(object) {
|
|
15
|
-
const walker = child => {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
}));
|
|
19
|
-
};
|
|
15
|
+
const walker = child => Object.assign({}, ...Object.keys(child).map(key => (0, _isValidObject.isValidObject)(child[key]) ? walker(child[key]) : {
|
|
16
|
+
[key]: child[key]
|
|
17
|
+
}));
|
|
20
18
|
|
|
21
19
|
return Object.assign({}, walker(object));
|
|
22
20
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../ts/utils/objectUtils/fullFlattenObject.ts"],"names":[],"mappings":";;;;;QAMgB,iB,GAAA,iB;;AANhB;;AAEA;;;AAGG;AACG,SAAU,iBAAV,CAA4B,MAA5B,EAAuC;AAC3C,QAAM,MAAM,GAAI,KAAD,
|
|
1
|
+
{"version":3,"sources":["../../../ts/utils/objectUtils/fullFlattenObject.ts"],"names":[],"mappings":";;;;;QAMgB,iB,GAAA,iB;;AANhB;;AAEA;;;AAGG;AACG,SAAU,iBAAV,CAA4B,MAA5B,EAAuC;AAC3C,QAAM,MAAM,GAAI,KAAD,IAAwC,MAAM,CAAC,MAAP,CAAc,EAAd,EAAkB,GAAG,MAAM,CAAC,IAAP,CAAY,KAAZ,EAAmB,GAAnB,CAAwB,GAAD,IAAkB,kCAAc,KAAK,CAAC,GAAD,CAAnB,IACjH,MAAM,CAAC,KAAK,CAAC,GAAD,CAAN,CAD2G,GAC5F;AAAE,KAAC,GAAD,GAAO,KAAK,CAAC,GAAD;AAAd,GADmD,CAArB,CAAvD;;AAGA,SAAA,MAAA,CAAA,MAAA,CAAA,EAAA,EAAY,MAAM,CAAC,MAAD,CAAlB,CAAA;AACD","sourcesContent":["import { isValidObject } from './isValidObject';\n\n/**\n * Like flattenObject, but instead of keeping the path in the new key, replace it.\n * @param object the object to full flatten\n */\nexport function fullFlattenObject(object: any): any {\n const walker = (child: { [key: string]: any }): any => Object.assign({}, ...Object.keys(child).map((key: string) => (isValidObject(child[key])\n ? walker(child[key]) : { [key]: child[key] })));\n\n return { ...walker(object) };\n}\n"],"sourceRoot":"","file":"fullFlattenObject.js"}
|
|
@@ -5,6 +5,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.unflattenObject = unflattenObject;
|
|
7
7
|
|
|
8
|
+
/* eslint-disable */
|
|
9
|
+
|
|
8
10
|
/**
|
|
9
11
|
* Unflattens a flattened `object`.
|
|
10
12
|
* @param object the flattened object with "pathed" keys.
|
|
@@ -15,9 +17,7 @@ function unflattenObject(object, separator = '.') {
|
|
|
15
17
|
|
|
16
18
|
for (const i in object) {
|
|
17
19
|
const keys = i.split(separator);
|
|
18
|
-
keys.reduce((r, e, j) => {
|
|
19
|
-
return r[e] || (r[e] = isNaN(Number(keys[j + 1])) ? keys.length - 1 == j ? object[i] : {} : []);
|
|
20
|
-
}, result);
|
|
20
|
+
keys.reduce((r, e, j) => r[e] || (r[e] = isNaN(Number(keys[j + 1])) ? keys.length - 1 == j ? object[i] : {} : []), result);
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
return result;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../ts/utils/objectUtils/unflattenObject.ts"],"names":[],"mappings":";;;;;
|
|
1
|
+
{"version":3,"sources":["../../../ts/utils/objectUtils/unflattenObject.ts"],"names":[],"mappings":";;;;;QAMgB,e,GAAA,e;;AANhB;;AACA;;;;AAIG;AACG,SAAU,eAAV,CAA0B,MAA1B,EAA0D,SAAS,GAAG,GAAtE,EAAyE;AAC7E,QAAM,MAAM,GAAG,EAAf;;AACA,OAAK,MAAM,CAAX,IAAgB,MAAhB,EAAwB;AACtB,UAAM,IAAI,GAAG,CAAC,CAAC,KAAF,CAAQ,SAAR,CAAb;AACA,IAAA,IAAI,CAAC,MAAL,CAAY,CAAC,CAAD,EAA4B,CAA5B,EAAuC,CAAvC,KAA0D,CAAC,CAAC,CAAD,CAAD,KAAS,CAAC,CAAC,CAAD,CAAD,GAAO,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,GAAG,CAAL,CAAL,CAAP,CAAL,GACjF,IAAI,CAAC,MAAL,GAAc,CAAd,IAAmB,CAAnB,GAAuB,MAAM,CAAC,CAAD,CAA7B,GAAmC,EAD8C,GAElF,EAFkE,CAAtE,EAES,MAFT;AAGD;;AAED,SAAO,MAAP;AACD","sourcesContent":["/* eslint-disable */\n/**\n * Unflattens a flattened `object`.\n * @param object the flattened object with \"pathed\" keys.\n * @param separator the string on which to separate paths in keys\n */\nexport function unflattenObject(object: { [key: string]: any }, separator = '.'): any {\n const result = {};\n for (const i in object) {\n const keys = i.split(separator);\n keys.reduce((r: { [key: string]: any }, e: string, j: number): any => r[e] || (r[e] = isNaN(Number(keys[j + 1]))\n ? (keys.length - 1 == j ? object[i] : {})\n : []), result);\n }\n\n return result;\n}\n"],"sourceRoot":"","file":"unflattenObject.js"}
|
package/package.json
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@silexpert/core",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
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-core",
|
|
6
6
|
"main": "js/index.js",
|
|
7
7
|
"scripts": {
|
|
8
|
-
"test": "ava",
|
|
9
8
|
"clean": "rimraf ./es ./js",
|
|
10
9
|
"watch": "tsc -w",
|
|
11
10
|
"lint": "eslint ts --fix --ext .js,.ts",
|
|
@@ -14,7 +13,6 @@
|
|
|
14
13
|
"compile": "npm run tsc && npm run babel",
|
|
15
14
|
"import:interface": "node --require ts-node/register importInterfaces.ts",
|
|
16
15
|
"prepublish": "npm run clean && npm run lint && npm run compile",
|
|
17
|
-
"postversion": "git push && git push --tags",
|
|
18
16
|
"release": "standard-version"
|
|
19
17
|
},
|
|
20
18
|
"husky": {
|
|
@@ -39,32 +37,34 @@
|
|
|
39
37
|
"author": "Silex",
|
|
40
38
|
"license": "ISC",
|
|
41
39
|
"devDependencies": {
|
|
42
|
-
"@babel/cli": "^7.12.
|
|
43
|
-
"@babel/core": "^7.12.
|
|
44
|
-
"@babel/plugin-proposal-object-rest-spread": "^7.12.
|
|
45
|
-
"@babel/plugin-transform-runtime": "^7.12.
|
|
46
|
-
"@babel/preset-env": "^7.12.
|
|
47
|
-
"@babel/runtime": "^7.12.
|
|
40
|
+
"@babel/cli": "^7.12.13",
|
|
41
|
+
"@babel/core": "^7.12.13",
|
|
42
|
+
"@babel/plugin-proposal-object-rest-spread": "^7.12.13",
|
|
43
|
+
"@babel/plugin-transform-runtime": "^7.12.15",
|
|
44
|
+
"@babel/preset-env": "^7.12.13",
|
|
45
|
+
"@babel/runtime": "^7.12.13",
|
|
46
|
+
"@types/axios": "^0.14.0",
|
|
48
47
|
"@types/bluebird": "^3.5.33",
|
|
48
|
+
"@types/browser-or-node": "^1.3.0",
|
|
49
49
|
"@types/ejs": "^3.0.5",
|
|
50
|
-
"@types/node": "^14.14.
|
|
51
|
-
"@types/validator": "^13.1.
|
|
52
|
-
"@typescript-eslint/eslint-plugin": "^4.
|
|
53
|
-
"@typescript-eslint/parser": "^4.
|
|
50
|
+
"@types/node": "^14.14.25",
|
|
51
|
+
"@types/validator": "^13.1.3",
|
|
52
|
+
"@typescript-eslint/eslint-plugin": "^4.14.2",
|
|
53
|
+
"@typescript-eslint/parser": "^4.14.2",
|
|
54
54
|
"babel-preset-env": "^1.7.0",
|
|
55
55
|
"ejs": "^3.1.5",
|
|
56
|
-
"eslint": "^7.
|
|
57
|
-
"eslint-config-prettier": "^7.
|
|
56
|
+
"eslint": "^7.19.0",
|
|
57
|
+
"eslint-config-prettier": "^7.2.0",
|
|
58
58
|
"eslint-plugin-import": "^2.20.1",
|
|
59
59
|
"esm": "^3.2.25",
|
|
60
|
-
"husky": "^4.3.
|
|
60
|
+
"husky": "^4.3.8",
|
|
61
61
|
"jest": "26.6.3",
|
|
62
62
|
"prettier": "^2.2.1",
|
|
63
63
|
"reflect-metadata": "^0.1.13",
|
|
64
64
|
"rimraf": "^3.0.2",
|
|
65
|
-
"standard-version": "^9.
|
|
65
|
+
"standard-version": "^9.1.0",
|
|
66
66
|
"ts-node": "^9.1.1",
|
|
67
|
-
"typescript": "^4.1.
|
|
67
|
+
"typescript": "^4.1.2"
|
|
68
68
|
},
|
|
69
69
|
"peerDependencies": {
|
|
70
70
|
"@babel/runtime": "^7.6.3",
|
|
@@ -74,27 +74,14 @@
|
|
|
74
74
|
},
|
|
75
75
|
"types": "es/index.d.ts",
|
|
76
76
|
"module": "es/index.js",
|
|
77
|
-
"ava": {
|
|
78
|
-
"compileEnhancements": false,
|
|
79
|
-
"extensions": [
|
|
80
|
-
"ts"
|
|
81
|
-
],
|
|
82
|
-
"files": [
|
|
83
|
-
"./ts/**/*.test.ts"
|
|
84
|
-
],
|
|
85
|
-
"require": [
|
|
86
|
-
"esm",
|
|
87
|
-
"ts-node/register"
|
|
88
|
-
]
|
|
89
|
-
},
|
|
90
77
|
"dependencies": {
|
|
91
|
-
"@nestjs/common": "^7.6.
|
|
92
|
-
"@nestjs/core": "^7.6.
|
|
93
|
-
"
|
|
94
|
-
"
|
|
95
|
-
"
|
|
96
|
-
"class-
|
|
97
|
-
"
|
|
78
|
+
"@nestjs/common": "^7.6.11",
|
|
79
|
+
"@nestjs/core": "^7.6.11",
|
|
80
|
+
"axios": "^0.21.1",
|
|
81
|
+
"browser-or-node": "^1.3.0",
|
|
82
|
+
"class-transformer": "^0.3.2",
|
|
83
|
+
"class-validator": "^0.13.1",
|
|
84
|
+
"eslint-config-airbnb": "^18.2.1",
|
|
98
85
|
"readme-md-generator": "^1.0.0",
|
|
99
86
|
"rxjs": "^6.6.3",
|
|
100
87
|
"ts-enum-util": "^4.0.2",
|
package/ts/api/Resource.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {AxiosInstance} from 'axios';
|
|
1
|
+
import { AxiosInstance } from 'axios';
|
|
2
2
|
|
|
3
3
|
type Axios = AxiosInstance & {
|
|
4
4
|
$get: AxiosInstance['get'],
|
|
5
5
|
$put: AxiosInstance['put'],
|
|
6
6
|
$post: AxiosInstance['post'],
|
|
7
7
|
$delete: AxiosInstance['delete']
|
|
8
|
-
}
|
|
8
|
+
};
|
|
9
9
|
|
|
10
10
|
export class Resource {
|
|
11
11
|
protected axios: Axios;
|
package/ts/api/index.ts
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
import { AxiosInstance } from 'axios';
|
|
1
|
+
/* eslint-disable @typescript-eslint/no-shadow */
|
|
2
|
+
import axios, { AxiosInstance } from 'axios';
|
|
3
|
+
|
|
3
4
|
import { resources } from './resources';
|
|
4
5
|
|
|
5
6
|
const DEFAULT_HOST = 'https://api.compta-clementine.com';
|
|
6
7
|
const DEFAULT_BASE_PATH = '/api/v1';
|
|
7
8
|
|
|
8
9
|
export * from './resources';
|
|
9
|
-
export const Silex = (params: { url: string }) => {
|
|
10
|
+
export const Silex = (params: { url: string, loginWith?: any, setToken?: any }) => {
|
|
10
11
|
const axiosInstance: AxiosInstance = axios.create({
|
|
11
12
|
baseURL: params.url || `${DEFAULT_HOST}${DEFAULT_BASE_PATH}`,
|
|
12
13
|
});
|
|
@@ -32,19 +33,22 @@ export const Silex = (params: { url: string }) => {
|
|
|
32
33
|
async $delete(...params: any[]) {
|
|
33
34
|
const { data } = await instance.delete(...params);
|
|
34
35
|
return data;
|
|
35
|
-
}
|
|
36
|
+
},
|
|
36
37
|
});
|
|
37
38
|
|
|
38
39
|
const _resources = Object.entries(resources)
|
|
39
40
|
.reduce((acc, [name, value]) => ({
|
|
40
41
|
...acc,
|
|
41
|
-
|
|
42
|
-
|
|
42
|
+
// eslint-disable-next-line new-cap
|
|
43
|
+
[name]: new value(wrapAxios(axiosInstance)),
|
|
44
|
+
}), {});
|
|
43
45
|
|
|
44
46
|
return {
|
|
45
|
-
|
|
47
|
+
loginWith: params.loginWith,
|
|
48
|
+
setToken(token: string) {
|
|
46
49
|
axiosInstance.defaults.headers.authorization = token;
|
|
50
|
+
params.setToken(token);
|
|
47
51
|
},
|
|
48
|
-
..._resources
|
|
52
|
+
..._resources,
|
|
49
53
|
};
|
|
50
54
|
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Resource } from '../Resource';
|
|
2
|
+
import { QueryAccounts, ReadAccounts } from '../../types';
|
|
3
|
+
|
|
4
|
+
export class Account extends Resource {
|
|
5
|
+
getAll(params: QueryAccounts): Promise<ReadAccounts> {
|
|
6
|
+
const { id, ...query } = params;
|
|
7
|
+
return this.axios.$get(`/society/${id}/accounts`, { params: query });
|
|
8
|
+
}
|
|
9
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Resource } from '../Resource';
|
|
2
|
+
import { ReadAccountType } from '../../types';
|
|
3
|
+
|
|
4
|
+
export class AccountType extends Resource {
|
|
5
|
+
getAll(params: { idSimulation: number }): Promise<ReadAccountType> {
|
|
6
|
+
return this.axios.$get(`/simulation/${params.idSimulation}/accountTypes`);
|
|
7
|
+
}
|
|
8
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Resource } from '../Resource';
|
|
2
|
+
import {
|
|
3
|
+
ReadFormattedImmobilizationsByAccount,
|
|
4
|
+
} from '../../types';
|
|
5
|
+
|
|
6
|
+
export class Immobilization extends Resource {
|
|
7
|
+
getImmobilizationsInventory(params: { idExercice: number}): Promise<ReadFormattedImmobilizationsByAccount | Error> {
|
|
8
|
+
return this.axios.$get(`/exercice/${params.idExercice}/immobilizationsInventory`, {});
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
getImmobilizationsInventoryPdf(params: { idExercice: number}): Promise<void> {
|
|
12
|
+
return this.axios.$get(`/exercice/${params.idExercice}/immobilizationsInventory/pdf`, {});
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -1,19 +1,21 @@
|
|
|
1
1
|
import { Resource } from '../Resource';
|
|
2
|
-
import {
|
|
2
|
+
import {
|
|
3
|
+
QueryGetPaymentExpectationCustomer, IPaymentExpectationCustomer, QueryPayPaymentExpectationCustomer, QueryConfirmPaymentExpectationCustomer, QueryGetSocietyPaymentsExpectationsCustomers, QueryDeleteSocietyPaymentExpectationCustomer, BasePaginate, UpdateRefundSocietyPaymentExpectationCustomer, CreateSocietyPaymentExpectationCustomer, ReadPaymentExpectationCustomerStat, QueryGetSocietyPaymentsExpectationsCustomersStats,
|
|
4
|
+
} from '../../types';
|
|
3
5
|
|
|
4
6
|
export class PaymentExpectationCustomer extends Resource {
|
|
5
7
|
get(params: QueryGetPaymentExpectationCustomer): Promise<IPaymentExpectationCustomer> {
|
|
6
|
-
return this.axios.$get('/paymentExpectationCustomer', { params });
|
|
8
|
+
return this.axios.$get('/paymentExpectationCustomer', { params });
|
|
7
9
|
}
|
|
8
10
|
getBySociety(params: QueryGetSocietyPaymentsExpectationsCustomers): Promise<BasePaginate<IPaymentExpectationCustomer>> {
|
|
9
|
-
return this.axios.$get(`/society/${params.idSociety}/paymentsExpectationsCustomers`, {
|
|
10
|
-
params
|
|
11
|
-
});
|
|
11
|
+
return this.axios.$get(`/society/${params.idSociety}/paymentsExpectationsCustomers`, {
|
|
12
|
+
params,
|
|
13
|
+
});
|
|
12
14
|
}
|
|
13
15
|
stats(params: QueryGetSocietyPaymentsExpectationsCustomersStats): Promise<ReadPaymentExpectationCustomerStat> {
|
|
14
|
-
return this.axios.$get(`/society/${params.idSociety}/paymentsExpectationsCustomers/stats`, {
|
|
15
|
-
params
|
|
16
|
-
});
|
|
16
|
+
return this.axios.$get(`/society/${params.idSociety}/paymentsExpectationsCustomers/stats`, {
|
|
17
|
+
params,
|
|
18
|
+
});
|
|
17
19
|
}
|
|
18
20
|
pay(params: QueryPayPaymentExpectationCustomer): Promise<IPaymentExpectationCustomer> {
|
|
19
21
|
return this.axios.$post('/paymentExpectationCustomer/pay', params);
|
|
@@ -1,8 +1,22 @@
|
|
|
1
|
-
import {Resource} from '../Resource';
|
|
1
|
+
import { Resource } from '../Resource';
|
|
2
|
+
import {
|
|
3
|
+
BasePaginate,
|
|
4
|
+
ISimulation, ISociety,
|
|
5
|
+
QueryPaginate, ReadSimulationColors,
|
|
6
|
+
} from '../../types';
|
|
2
7
|
|
|
3
8
|
export class Simulation extends Resource {
|
|
4
|
-
|
|
5
|
-
this.axios
|
|
6
|
-
|
|
9
|
+
getBySociety(params: { idSociety: number } & QueryPaginate): Promise<BasePaginate<ISimulation>> {
|
|
10
|
+
return this.axios.$get(`/society/${params.idSociety}/simulations`, {
|
|
11
|
+
params,
|
|
12
|
+
});
|
|
7
13
|
}
|
|
8
|
-
|
|
14
|
+
|
|
15
|
+
hideSimulationBetaMessage(params: { idSociety: number }): Promise<ISociety> {
|
|
16
|
+
return this.axios.$post(`/society/${params.idSociety}/hideSimulationBetaMessage`);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
getColors(): Promise<ReadSimulationColors[]> {
|
|
20
|
+
return this.axios.$get('/simulation/colors');
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { Resource } from '../Resource';
|
|
2
|
+
import {
|
|
3
|
+
AccountingJournal,
|
|
4
|
+
BasePaginate,
|
|
5
|
+
QueryPaginate, ReadFormattedAccountingTransaction, UpdateAccountingTransaction,
|
|
6
|
+
} from '../../types';
|
|
7
|
+
|
|
8
|
+
export class Transaction extends Resource {
|
|
9
|
+
getFormattedPaginate(idSociety: number, params: {
|
|
10
|
+
idAccountingJournal: AccountingJournal,
|
|
11
|
+
idBankAccount?: Array<number>,
|
|
12
|
+
orderBy?: string,
|
|
13
|
+
descending?: boolean,
|
|
14
|
+
startDate?: string,
|
|
15
|
+
endDate?: string
|
|
16
|
+
} & QueryPaginate): Promise<BasePaginate<ReadFormattedAccountingTransaction> | Error> {
|
|
17
|
+
return this.axios.$get(`/society/${idSociety}/transactions`, {
|
|
18
|
+
params,
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
annotate(id: number, data: UpdateAccountingTransaction): Promise<ReadFormattedAccountingTransaction | Error> {
|
|
22
|
+
return this.axios.$put(`/transactions/${id}`, data);
|
|
23
|
+
}
|
|
24
|
+
}
|
package/ts/api/resources.ts
CHANGED
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
import { Country } from './resources/Country';
|
|
2
2
|
import { Simulation } from './resources/Simulation';
|
|
3
3
|
import { PaymentExpectationCustomer } from './resources/PaymentExpectationCustomer';
|
|
4
|
+
import { Immobilization } from './resources/Immobilization';
|
|
5
|
+
import { AccountType } from './resources/AccountType';
|
|
6
|
+
import { Transaction } from './resources/Transaction';
|
|
7
|
+
import { Account } from './resources/Account';
|
|
4
8
|
|
|
5
9
|
export const resources = {
|
|
6
10
|
simulation: Simulation,
|
|
7
11
|
country: Country,
|
|
8
|
-
paymentExpectationCustomer: PaymentExpectationCustomer
|
|
12
|
+
paymentExpectationCustomer: PaymentExpectationCustomer,
|
|
13
|
+
immobilization: Immobilization,
|
|
14
|
+
accountType: AccountType,
|
|
15
|
+
transaction: Transaction,
|
|
16
|
+
account: Account,
|
|
9
17
|
};
|
package/ts/index.ts
CHANGED
package/ts/types/Enum/Country.ts
CHANGED
package/ts/types/Enum/Ged.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
export enum GedCategory {
|
|
2
|
-
COMPANY
|
|
2
|
+
COMPANY = 1,
|
|
3
3
|
ACCOUNTING_AND_TAX= 2,
|
|
4
4
|
SOCIAL= 3,
|
|
5
|
-
JURIDIC= 4
|
|
5
|
+
JURIDIC= 4,
|
|
6
6
|
GENERALITY= 5,
|
|
7
|
-
BILLING= 6,
|
|
7
|
+
BILLING= 6,
|
|
8
8
|
MAIL= 7,
|
|
9
9
|
BANK_STATEMENT= 8,
|
|
10
|
-
}
|
|
10
|
+
}
|
|
11
11
|
|
|
12
12
|
export enum GedFolder {
|
|
13
13
|
// K-bis & Identity card & Tax memorandum = 1,
|