@silexpert/core 1.1.2 → 1.1.4
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/CommercialImport.d.ts +9 -0
- package/es/api/resources/CommercialImport.d.ts.map +1 -0
- package/es/api/resources/CommercialImport.js +24 -0
- package/es/api/resources/CommercialImport.js.map +1 -0
- package/es/api/resources/Exercice.d.ts +3 -1
- package/es/api/resources/Exercice.d.ts.map +1 -1
- package/es/api/resources/Exercice.js +6 -0
- package/es/api/resources/Exercice.js.map +1 -1
- package/es/api/resources/FIle.d.ts +1 -1
- package/es/api/resources/FIle.d.ts.map +1 -1
- package/es/api/resources/FIle.js +2 -2
- package/es/api/resources/FIle.js.map +1 -1
- package/es/api/resources/Registration.d.ts +2 -1
- package/es/api/resources/Registration.d.ts.map +1 -1
- package/es/api/resources/Registration.js +3 -0
- package/es/api/resources/Registration.js.map +1 -1
- package/es/api/resources/TimeRecorder.d.ts +2 -1
- package/es/api/resources/TimeRecorder.d.ts.map +1 -1
- package/es/api/resources/TimeRecorder.js +3 -0
- package/es/api/resources/TimeRecorder.js.map +1 -1
- package/es/api/resources/Vat.d.ts +2 -1
- package/es/api/resources/Vat.d.ts.map +1 -1
- package/es/api/resources/Vat.js +2 -1
- package/es/api/resources/Vat.js.map +1 -1
- package/es/api/resources/statistic/CustomerSuccess.js +1 -1
- package/es/api/resources/statistic/CustomerSuccess.js.map +1 -1
- package/es/api/resources.d.ts +2 -0
- package/es/api/resources.d.ts.map +1 -1
- package/es/api/resources.js +2 -0
- package/es/api/resources.js.map +1 -1
- package/es/types/Enum/AdjustmentType.d.ts +14 -0
- package/es/types/Enum/AdjustmentType.d.ts.map +1 -0
- package/es/types/Enum/AdjustmentType.js +38 -0
- package/es/types/Enum/AdjustmentType.js.map +1 -0
- package/es/types/Enum/CommercialImportHeader.d.ts +12 -0
- package/es/types/Enum/CommercialImportHeader.d.ts.map +1 -0
- package/es/types/Enum/CommercialImportHeader.js +102 -0
- package/es/types/Enum/CommercialImportHeader.js.map +1 -0
- package/es/types/Enum/Ged.d.ts +1 -0
- package/es/types/Enum/Ged.d.ts.map +1 -1
- package/es/types/Enum/Ged.js +1 -1
- package/es/types/Enum/Ged.js.map +1 -1
- package/es/types/Enum/JobTitle.d.ts +2 -1
- package/es/types/Enum/JobTitle.d.ts.map +1 -1
- package/es/types/Enum/JobTitle.js +6 -0
- package/es/types/Enum/JobTitle.js.map +1 -1
- package/es/types/Enum/MimeType.d.ts +1 -0
- package/es/types/Enum/MimeType.d.ts.map +1 -1
- package/es/types/Enum/MimeType.js +1 -0
- package/es/types/Enum/MimeType.js.map +1 -1
- package/es/types/Enum/RoleDetail.d.ts +8 -0
- package/es/types/Enum/RoleDetail.d.ts.map +1 -1
- package/es/types/Enum/RoleDetail.js +8 -0
- package/es/types/Enum/RoleDetail.js.map +1 -1
- package/es/types/Enum/TimeRecorderLocation.d.ts +4 -0
- package/es/types/Enum/TimeRecorderLocation.d.ts.map +1 -1
- package/es/types/Enum/TimeRecorderLocation.js +3 -0
- package/es/types/Enum/TimeRecorderLocation.js.map +1 -1
- package/es/types/Interface/api/accountingFiles/OcrPayload.d.ts +0 -1
- package/es/types/Interface/api/accountingFiles/OcrPayload.d.ts.map +1 -1
- package/es/types/Interface/api/accountingFiles/OcrPayload.js.map +1 -1
- package/es/types/Interface/api/adjustment/Create.d.ts +7 -0
- package/es/types/Interface/api/adjustment/Create.d.ts.map +1 -0
- package/es/types/Interface/api/adjustment/Create.js +32 -0
- package/es/types/Interface/api/adjustment/Create.js.map +1 -0
- package/es/types/Interface/api/adjustment/Query.d.ts +4 -0
- package/es/types/Interface/api/adjustment/Query.d.ts.map +1 -0
- package/es/types/Interface/api/adjustment/Query.js +19 -0
- package/es/types/Interface/api/adjustment/Query.js.map +1 -0
- package/es/types/Interface/api/adjustment/Read.d.ts +10 -0
- package/es/types/Interface/api/adjustment/Read.d.ts.map +1 -0
- package/es/types/Interface/api/adjustment/Read.js +3 -0
- package/es/types/Interface/api/adjustment/Read.js.map +1 -0
- package/es/types/Interface/api/archive/ImportSocietyArchive.d.ts +4 -0
- package/es/types/Interface/api/archive/ImportSocietyArchive.d.ts.map +1 -0
- package/es/types/Interface/api/archive/ImportSocietyArchive.js +19 -0
- package/es/types/Interface/api/archive/ImportSocietyArchive.js.map +1 -0
- package/es/types/Interface/api/commercialImport/Create.d.ts +11 -0
- package/es/types/Interface/api/commercialImport/Create.d.ts.map +1 -0
- package/es/types/Interface/api/commercialImport/Create.js +34 -0
- package/es/types/Interface/api/commercialImport/Create.js.map +1 -0
- package/es/types/Interface/api/commercialImport/Query.d.ts +12 -0
- package/es/types/Interface/api/commercialImport/Query.d.ts.map +1 -0
- package/es/types/Interface/api/commercialImport/Query.js +23 -0
- package/es/types/Interface/api/commercialImport/Query.js.map +1 -0
- package/es/types/Interface/api/commercialImport/Read.d.ts +40 -0
- package/es/types/Interface/api/commercialImport/Read.d.ts.map +1 -0
- package/es/types/Interface/api/commercialImport/Read.js +2 -0
- package/es/types/Interface/api/commercialImport/Read.js.map +1 -0
- package/es/types/Interface/api/companeo/CompaneoReturn.d.ts +28 -0
- package/es/types/Interface/api/companeo/CompaneoReturn.d.ts.map +1 -0
- package/es/types/Interface/api/companeo/CompaneoReturn.js +2 -0
- package/es/types/Interface/api/companeo/CompaneoReturn.js.map +1 -0
- package/es/types/Interface/api/companeo/Query.d.ts +5 -0
- package/es/types/Interface/api/companeo/Query.d.ts.map +1 -0
- package/es/types/Interface/api/companeo/Query.js +26 -0
- package/es/types/Interface/api/companeo/Query.js.map +1 -0
- package/es/types/Interface/api/registration/CreateRegistration.d.ts +1 -1
- package/es/types/Interface/api/registration/CreateRegistration.d.ts.map +1 -1
- package/es/types/Interface/api/registration/CreateRegistration.js.map +1 -1
- package/es/types/Interface/api/registration/ReadRegistration.d.ts +3 -3
- 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/api/society/CreateSociety.d.ts +1 -0
- package/es/types/Interface/api/society/CreateSociety.d.ts.map +1 -1
- package/es/types/Interface/api/society/CreateSociety.js +4 -0
- package/es/types/Interface/api/society/CreateSociety.js.map +1 -1
- package/es/types/Interface/api/statistic/QueryInternal.d.ts +2 -0
- package/es/types/Interface/api/statistic/QueryInternal.d.ts.map +1 -1
- package/es/types/Interface/api/statistic/QueryInternal.js +3 -1
- package/es/types/Interface/api/statistic/QueryInternal.js.map +1 -1
- package/es/types/Interface/api/taxDeadline/ReadTaxDeadline.d.ts +1 -0
- package/es/types/Interface/api/taxDeadline/ReadTaxDeadline.d.ts.map +1 -1
- package/es/types/Interface/api/taxDeadline/ReadTaxDeadline.js.map +1 -1
- package/es/types/Interface/api/timeRecorder/QueryPaginatedDelays.d.ts +1 -0
- package/es/types/Interface/api/timeRecorder/QueryPaginatedDelays.d.ts.map +1 -1
- package/es/types/Interface/api/timeRecorder/QueryPaginatedDelays.js +6 -0
- package/es/types/Interface/api/timeRecorder/QueryPaginatedDelays.js.map +1 -1
- package/es/types/Interface/api/timeRecorder/QueryTimeRecorderGetStats.d.ts +5 -0
- package/es/types/Interface/api/timeRecorder/QueryTimeRecorderGetStats.d.ts.map +1 -0
- package/es/types/Interface/api/timeRecorder/QueryTimeRecorderGetStats.js +25 -0
- package/es/types/Interface/api/timeRecorder/QueryTimeRecorderGetStats.js.map +1 -0
- package/es/types/Interface/api/timeRecorder/ReadPaginatedDelays.d.ts +5 -0
- package/es/types/Interface/api/timeRecorder/ReadPaginatedDelays.d.ts.map +1 -1
- package/es/types/Interface/api/timeRecorder/ReadPaginatedDelays.js.map +1 -1
- package/es/types/Interface/models/IAccountsSocieties.d.ts +2 -0
- 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/IAdjustment.d.ts +13 -0
- package/es/types/Interface/models/IAdjustment.d.ts.map +1 -0
- package/es/types/Interface/models/IAdjustment.js +2 -0
- package/es/types/Interface/models/IAdjustment.js.map +1 -0
- package/es/types/Interface/models/IApiError.d.ts +4 -0
- package/es/types/Interface/models/IApiError.d.ts.map +1 -1
- package/es/types/Interface/models/IApiError.js +5 -0
- package/es/types/Interface/models/IApiError.js.map +1 -1
- package/es/types/Interface/models/IAreasInvoice.d.ts +0 -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/IBalanceSheet.d.ts +2 -0
- 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/IExercice.d.ts +3 -0
- 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/IGedFile.d.ts +3 -0
- 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/ILettering.d.ts +0 -4
- 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/ISociety.d.ts +4 -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/ISocietyApproval.d.ts +4 -2
- 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/IUser.d.ts +2 -0
- 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/schemas/IRegistrationDetail.d.ts +1 -1
- package/es/types/Interface/schemas/IRegistrationDetail.d.ts.map +1 -1
- package/es/types/Interface/schemas/IRegistrationDetail.js.map +1 -1
- package/es/types/index.d.ts +13 -5
- package/es/types/index.d.ts.map +1 -1
- package/es/types/index.js +13 -5
- package/es/types/index.js.map +1 -1
- package/es/utils/email.js +2 -2
- package/es/utils/email.js.map +1 -1
- package/es/utils/phone.d.ts +1 -1
- package/es/utils/phone.d.ts.map +1 -1
- package/es/utils/phone.js +8 -8
- package/es/utils/phone.js.map +1 -1
- package/es/utils/vat/3310/century23.d.ts.map +1 -1
- package/es/utils/vat/3310/century23.js +1 -6
- package/es/utils/vat/3310/century23.js.map +1 -1
- package/js/api/resources/CommercialImport.js +38 -0
- package/js/api/resources/CommercialImport.js.map +1 -0
- package/js/api/resources/Exercice.js +6 -0
- package/js/api/resources/Exercice.js.map +1 -1
- package/js/api/resources/FIle.js +2 -2
- package/js/api/resources/FIle.js.map +1 -1
- package/js/api/resources/Registration.js +5 -0
- package/js/api/resources/Registration.js.map +1 -1
- package/js/api/resources/TimeRecorder.js +5 -0
- package/js/api/resources/TimeRecorder.js.map +1 -1
- package/js/api/resources/Vat.js +2 -1
- package/js/api/resources/Vat.js.map +1 -1
- package/js/api/resources/statistic/CustomerSuccess.js +1 -1
- package/js/api/resources/statistic/CustomerSuccess.js.map +1 -1
- package/js/api/resources.js +3 -1
- package/js/api/resources.js.map +1 -1
- package/js/types/Enum/AdjustmentType.js +38 -0
- package/js/types/Enum/AdjustmentType.js.map +1 -0
- package/js/types/Enum/CommercialImportHeader.js +107 -0
- package/js/types/Enum/CommercialImportHeader.js.map +1 -0
- package/js/types/Enum/Ged.js +1 -1
- package/js/types/Enum/Ged.js.map +1 -1
- package/js/types/Enum/JobTitle.js +5 -0
- package/js/types/Enum/JobTitle.js.map +1 -1
- package/js/types/Enum/MimeType.js +1 -0
- package/js/types/Enum/MimeType.js.map +1 -1
- package/js/types/Enum/RoleDetail.js +16 -8
- package/js/types/Enum/RoleDetail.js.map +1 -1
- package/js/types/Enum/TimeRecorderLocation.js +4 -0
- package/js/types/Enum/TimeRecorderLocation.js.map +1 -1
- package/js/types/Interface/api/accountingFiles/OcrPayload.js.map +1 -1
- package/js/types/Interface/api/adjustment/Create.js +25 -0
- package/js/types/Interface/api/adjustment/Create.js.map +1 -0
- package/js/types/Interface/api/adjustment/Query.js +22 -0
- package/js/types/Interface/api/adjustment/Query.js.map +1 -0
- package/js/types/Interface/api/adjustment/Read.js +8 -0
- package/js/types/Interface/api/adjustment/Read.js.map +1 -0
- package/js/types/Interface/api/archive/ImportSocietyArchive.js +22 -0
- package/js/types/Interface/api/archive/ImportSocietyArchive.js.map +1 -0
- package/js/types/Interface/api/commercialImport/Create.js +27 -0
- package/js/types/Interface/api/commercialImport/Create.js.map +1 -0
- package/js/types/Interface/api/commercialImport/Query.js +24 -0
- package/js/types/Interface/api/commercialImport/Query.js.map +1 -0
- package/js/types/Interface/{models/IPageView.js → api/commercialImport/Read.js} +1 -1
- package/js/types/Interface/api/commercialImport/Read.js.map +1 -0
- package/js/types/Interface/{models/IInterestedByFeature.js → api/companeo/CompaneoReturn.js} +1 -1
- package/js/types/Interface/api/companeo/CompaneoReturn.js.map +1 -0
- package/js/types/Interface/api/companeo/Query.js +23 -0
- package/js/types/Interface/api/companeo/Query.js.map +1 -0
- package/js/types/Interface/api/registration/CreateRegistration.js.map +1 -1
- package/js/types/Interface/api/registration/ReadRegistration.js.map +1 -1
- package/js/types/Interface/api/society/CreateSociety.js +1 -0
- package/js/types/Interface/api/society/CreateSociety.js.map +1 -1
- package/js/types/Interface/api/statistic/QueryInternal.js +4 -2
- package/js/types/Interface/api/statistic/QueryInternal.js.map +1 -1
- package/js/types/Interface/api/taxDeadline/ReadTaxDeadline.js.map +1 -1
- package/js/types/Interface/api/timeRecorder/QueryPaginatedDelays.js +1 -0
- package/js/types/Interface/api/timeRecorder/QueryPaginatedDelays.js.map +1 -1
- package/js/types/Interface/api/timeRecorder/QueryTimeRecorderGetStats.js +23 -0
- package/js/types/Interface/api/timeRecorder/QueryTimeRecorderGetStats.js.map +1 -0
- package/js/types/Interface/api/timeRecorder/ReadPaginatedDelays.js.map +1 -1
- package/js/types/Interface/models/IAccountsSocieties.js.map +1 -1
- package/js/types/Interface/models/{IEngagementAccountingFile.js → IAdjustment.js} +1 -1
- package/js/types/Interface/models/IAdjustment.js.map +1 -0
- package/js/types/Interface/models/IApiError.js +5 -0
- package/js/types/Interface/models/IApiError.js.map +1 -1
- package/js/types/Interface/models/IAreasInvoice.js.map +1 -1
- package/js/types/Interface/models/IBalanceSheet.js.map +1 -1
- package/js/types/Interface/models/IExercice.js.map +1 -1
- package/js/types/Interface/models/IGedFile.js.map +1 -1
- package/js/types/Interface/models/ILettering.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/IUser.js.map +1 -1
- package/js/types/Interface/schemas/IRegistrationDetail.js.map +1 -1
- package/js/types/index.js +196 -116
- package/js/types/index.js.map +1 -1
- package/js/utils/email.js +2 -2
- package/js/utils/email.js.map +1 -1
- package/js/utils/phone.js +8 -8
- package/js/utils/phone.js.map +1 -1
- package/js/utils/vat/3310/century23.js +1 -5
- package/js/utils/vat/3310/century23.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/CommercialImport.ts +32 -0
- package/ts/api/resources/Exercice.ts +9 -1
- package/ts/api/resources/FIle.ts +2 -2
- package/ts/api/resources/Registration.ts +6 -0
- package/ts/api/resources/TimeRecorder.ts +4 -1
- package/ts/api/resources/Vat.ts +4 -2
- package/ts/api/resources/statistic/CustomerSuccess.ts +1 -1
- package/ts/api/resources.ts +2 -0
- package/ts/types/Enum/AdjustmentType.ts +37 -0
- package/ts/types/Enum/CommercialImportHeader.ts +112 -0
- package/ts/types/Enum/Ged.ts +1 -1
- package/ts/types/Enum/JobTitle.ts +6 -0
- package/ts/types/Enum/MimeType.ts +1 -0
- package/ts/types/Enum/RoleDetail.ts +8 -0
- package/ts/types/Enum/TimeRecorderLocation.ts +4 -0
- package/ts/types/Interface/api/accountingFiles/OcrPayload.ts +0 -1
- package/ts/types/Interface/api/adjustment/Create.ts +19 -0
- package/ts/types/Interface/api/adjustment/Query.ts +8 -0
- package/ts/types/Interface/api/adjustment/Read.ts +10 -0
- package/ts/types/Interface/api/archive/ImportSocietyArchive.ts +8 -0
- package/ts/types/Interface/api/commercialImport/Create.ts +22 -0
- package/ts/types/Interface/api/commercialImport/Query.ts +34 -0
- package/ts/types/Interface/api/commercialImport/Read.ts +40 -0
- package/ts/types/Interface/api/companeo/CompaneoReturn.ts +27 -0
- package/ts/types/Interface/api/companeo/Query.ts +14 -0
- package/ts/types/Interface/api/registration/CreateRegistration.ts +1 -1
- package/ts/types/Interface/api/registration/ReadRegistration.ts +2 -3
- package/ts/types/Interface/api/society/CreateSociety.ts +3 -0
- package/ts/types/Interface/api/statistic/QueryInternal.ts +2 -0
- package/ts/types/Interface/api/taxDeadline/ReadTaxDeadline.ts +1 -1
- package/ts/types/Interface/api/timeRecorder/QueryPaginatedDelays.ts +5 -0
- package/ts/types/Interface/api/timeRecorder/QueryTimeRecorderGetStats.ts +15 -0
- package/ts/types/Interface/api/timeRecorder/ReadPaginatedDelays.ts +7 -1
- package/ts/types/Interface/models/IAccountsSocieties.ts +4 -0
- package/ts/types/Interface/models/IAdjustment.ts +14 -0
- package/ts/types/Interface/models/IApiError.ts +6 -0
- package/ts/types/Interface/models/IAreasInvoice.ts +0 -1
- package/ts/types/Interface/models/IBalanceSheet.ts +2 -0
- package/ts/types/Interface/models/IExercice.ts +3 -0
- package/ts/types/Interface/models/IGedFile.ts +3 -0
- package/ts/types/Interface/models/ILettering.ts +0 -8
- package/ts/types/Interface/models/ISociety.ts +4 -0
- package/ts/types/Interface/models/ISocietyApproval.ts +4 -2
- package/ts/types/Interface/models/IUser.ts +2 -0
- package/ts/types/Interface/schemas/IRegistrationDetail.ts +1 -1
- package/ts/types/index.ts +13 -5
- package/ts/utils/email.ts +2 -2
- package/ts/utils/phone.ts +8 -8
- package/ts/utils/vat/3310/century23.ts +1 -6
- package/es/types/Interface/models/IEngagementAccountingEntry.d.ts +0 -27
- package/es/types/Interface/models/IEngagementAccountingEntry.d.ts.map +0 -1
- package/es/types/Interface/models/IEngagementAccountingEntry.js +0 -2
- package/es/types/Interface/models/IEngagementAccountingEntry.js.map +0 -1
- package/es/types/Interface/models/IEngagementAccountingFile.d.ts +0 -43
- package/es/types/Interface/models/IEngagementAccountingFile.d.ts.map +0 -1
- package/es/types/Interface/models/IEngagementAccountingFile.js +0 -2
- package/es/types/Interface/models/IEngagementAccountingFile.js.map +0 -1
- package/es/types/Interface/models/IEngagementBankTransaction.d.ts +0 -33
- package/es/types/Interface/models/IEngagementBankTransaction.d.ts.map +0 -1
- package/es/types/Interface/models/IEngagementBankTransaction.js +0 -2
- package/es/types/Interface/models/IEngagementBankTransaction.js.map +0 -1
- package/es/types/Interface/models/IInterestedByFeature.d.ts +0 -11
- package/es/types/Interface/models/IInterestedByFeature.d.ts.map +0 -1
- package/es/types/Interface/models/IInterestedByFeature.js +0 -2
- package/es/types/Interface/models/IInterestedByFeature.js.map +0 -1
- package/es/types/Interface/models/IPageView.d.ts +0 -10
- package/es/types/Interface/models/IPageView.d.ts.map +0 -1
- package/es/types/Interface/models/IPageView.js +0 -2
- package/es/types/Interface/models/IPageView.js.map +0 -1
- package/export-models.json +0 -28811
- package/importInterfaces.ts +0 -91
- package/js/types/Interface/models/IEngagementAccountingEntry.js +0 -6
- package/js/types/Interface/models/IEngagementAccountingEntry.js.map +0 -1
- package/js/types/Interface/models/IEngagementAccountingFile.js.map +0 -1
- package/js/types/Interface/models/IEngagementBankTransaction.js +0 -6
- package/js/types/Interface/models/IEngagementBankTransaction.js.map +0 -1
- package/js/types/Interface/models/IInterestedByFeature.js.map +0 -1
- package/js/types/Interface/models/IPageView.js.map +0 -1
- package/table.json +0 -264
- package/ts/types/Interface/models/IEngagementAccountingEntry.ts +0 -30
- package/ts/types/Interface/models/IEngagementAccountingFile.ts +0 -46
- package/ts/types/Interface/models/IEngagementBankTransaction.ts +0 -36
- package/ts/types/Interface/models/IInterestedByFeature.ts +0 -14
- package/ts/types/Interface/models/IPageView.ts +0 -13
package/importInterfaces.ts
DELETED
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
const ejs = require('ejs');
|
|
2
|
-
|
|
3
|
-
const { resolve } = require('path');
|
|
4
|
-
const { readFileSync, writeFileSync } = require('fs');
|
|
5
|
-
const convertTable = require('./table.json');
|
|
6
|
-
const models = require('./export-models.json');
|
|
7
|
-
|
|
8
|
-
const interfaceTemplate = readFileSync(resolve(__dirname, '.templates/interface.ejs')).toString();
|
|
9
|
-
|
|
10
|
-
const interfaceRender = ejs.compile(interfaceTemplate);
|
|
11
|
-
|
|
12
|
-
const tables = Object.entries(models);
|
|
13
|
-
|
|
14
|
-
const convertType = (type: string, allowNull?: boolean) => {
|
|
15
|
-
let converted = '';
|
|
16
|
-
if (['DATE', 'DATEONLY', 'TIME'].includes(type)) {
|
|
17
|
-
converted = 'Date';
|
|
18
|
-
} else if (['STRING', 'TEXT', 'CHAR'].includes(type)) {
|
|
19
|
-
converted = 'string';
|
|
20
|
-
} else if (['TINYINT', 'INTEGER', 'FLOAT'].includes(type)) {
|
|
21
|
-
converted = 'number';
|
|
22
|
-
} else if (type === 'BOOLEAN') {
|
|
23
|
-
converted = 'boolean';
|
|
24
|
-
} else {
|
|
25
|
-
converted = 'string | null';
|
|
26
|
-
}
|
|
27
|
-
if (allowNull) {
|
|
28
|
-
converted = `${converted} | null`;
|
|
29
|
-
}
|
|
30
|
-
return converted;
|
|
31
|
-
};
|
|
32
|
-
|
|
33
|
-
const convertFields = (model: any) => {
|
|
34
|
-
const fields = Object.entries(model.fields);
|
|
35
|
-
const output = fields.map(([name, value]: [string, any]) => ({
|
|
36
|
-
name: value.primaryKey ? 'id' : name,
|
|
37
|
-
type: convertType(value.type, ['deletedAt', 'createdAt', 'updatedAt'].includes(name) || value.allowNull),
|
|
38
|
-
}));
|
|
39
|
-
if (model.paranoid && !output.find(({ name }) => name === 'deletedAt')) {
|
|
40
|
-
output.push({
|
|
41
|
-
name: 'deletedAt',
|
|
42
|
-
type: 'Date | null',
|
|
43
|
-
});
|
|
44
|
-
}
|
|
45
|
-
return output;
|
|
46
|
-
};
|
|
47
|
-
|
|
48
|
-
const convertAssociations = (model: any) => {
|
|
49
|
-
const associations = Object.entries(model.associations);
|
|
50
|
-
// @ts-ignore
|
|
51
|
-
return Object.values(associations.reduce((acc: any, association: [string, any]) => {
|
|
52
|
-
const [name, value] = association;
|
|
53
|
-
const isMultiple = ['HasMany', 'BelongsToMany'].includes(value.association);
|
|
54
|
-
const target = `I${convertTable[value.target]}${isMultiple ? '[]' : ''}`;
|
|
55
|
-
const sanitizedName = name.charAt(0).toLowerCase() + name.slice(1);
|
|
56
|
-
return {
|
|
57
|
-
...acc,
|
|
58
|
-
[sanitizedName]: {
|
|
59
|
-
entity: `I${convertTable[value.target]}`,
|
|
60
|
-
target,
|
|
61
|
-
name: sanitizedName,
|
|
62
|
-
},
|
|
63
|
-
};
|
|
64
|
-
}, {}));
|
|
65
|
-
};
|
|
66
|
-
|
|
67
|
-
const convertImports = (name: string, associations: any[]) => Object.values(associations.filter(({ entity }) => entity !== name).reduce((acc, { entity }) => ({
|
|
68
|
-
...acc,
|
|
69
|
-
[entity]: {
|
|
70
|
-
target: entity,
|
|
71
|
-
path: `./${entity}`,
|
|
72
|
-
},
|
|
73
|
-
}), {}));
|
|
74
|
-
|
|
75
|
-
// eslint-disable-next-line no-restricted-syntax
|
|
76
|
-
for (const [tableName, tableValues] of tables) {
|
|
77
|
-
const name = `I${convertTable[tableName]}`;
|
|
78
|
-
const fields = convertFields(tableValues);
|
|
79
|
-
const associations = convertAssociations(tableValues);
|
|
80
|
-
const imports = convertImports(name, associations);
|
|
81
|
-
const interfaceContent = {
|
|
82
|
-
tableName,
|
|
83
|
-
name,
|
|
84
|
-
fields,
|
|
85
|
-
associations,
|
|
86
|
-
imports,
|
|
87
|
-
};
|
|
88
|
-
const content = interfaceRender(interfaceContent);
|
|
89
|
-
console.log(`export * from './Interface/${name}';`);
|
|
90
|
-
writeFileSync(resolve(__dirname, `./ts/types/Interface/${name}.ts`), content);
|
|
91
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IEngagementAccountingEntry.js","names":[],"sources":["../../../../ts/types/Interface/models/IEngagementAccountingEntry.ts"],"sourcesContent":["import { IAccount } from './IAccount';\nimport { IThirdParty } from './IThirdParty';\nimport { IEngagementBankTransaction } from './IEngagementBankTransaction';\nimport { IEngagementAccountingFile } from './IEngagementAccountingFile';\n\n// engagementAccountingEntries\nexport interface IEngagementAccountingEntry {\n id?: number;\n master: boolean;\n dateValue: Date | null;\n designation: string;\n comment: string | null;\n debit: number;\n credit: number;\n isPerso: boolean;\n idInherit: number | null;\n idAccount: number | null;\n idThirdParty: number | null;\n idEngagementBankTransaction: number | null;\n idEngagementAccountingFile: number | null;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n\n // Associations\n account: IAccount;\n thirdParty: IThirdParty;\n engagementBankTransaction: IEngagementBankTransaction;\n engagementAccountingFile: IEngagementAccountingFile;\n engagementAccountingEntry: IEngagementAccountingEntry;\n}\n"],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IEngagementAccountingFile.js","names":[],"sources":["../../../../ts/types/Interface/models/IEngagementAccountingFile.ts"],"sourcesContent":["import { ISociety } from './ISociety';\nimport { IFile } from './IFile';\nimport { IEstimateInvoice } from './IEstimateInvoice';\nimport { IEngagementAccountingEntry } from './IEngagementAccountingEntry';\nimport { ILettering } from './ILettering';\n\n// engagementAccountingFile\nexport interface IEngagementAccountingFile {\n id?: number;\n migrate: boolean;\n label: string | null;\n invoiceNumber: string | null;\n budgeaDocumentId: number | null;\n isMerged: boolean;\n dateVerified: Date | null;\n dateLocked: Date | null;\n isLockedByAccountant: boolean;\n exported: Date | null;\n emissionDate: Date | null;\n isAsset: boolean;\n isPayPerso: boolean;\n isMobile: boolean;\n kilometers: number | null;\n purchaseTtc: number | null;\n mailId: number | null;\n idGedFolder: number | null;\n idSocietyVehicle: number | null;\n idSocietyPartner: number | null;\n idEstimateInvoice: number | null;\n idAccountingFileType: number;\n isAlreadyProcessByOcr: boolean | null;\n idSociety: number;\n idFile: number;\n idUser: number | null;\n idLettering: number | null;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n deletedAt?: Date | null;\n\n // Associations\n society: ISociety;\n file: IFile;\n estimatesInvoice: IEstimateInvoice;\n engagementAccountingEntries: IEngagementAccountingEntry[];\n lettering: ILettering;\n}\n"],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IEngagementBankTransaction.js","names":[],"sources":["../../../../ts/types/Interface/models/IEngagementBankTransaction.ts"],"sourcesContent":["import { IBankAccount } from './IBankAccount';\nimport { IEngagementAccountingEntry } from './IEngagementAccountingEntry';\nimport { IAccountingJournal } from './IAccountingJournal';\nimport { IUser } from './IUser';\nimport { ILettering } from './ILettering';\n\n// engagementBankTransactions\nexport interface IEngagementBankTransaction {\n id?: number;\n migrate: boolean;\n reference: string | null;\n dateValue: Date;\n dateLocked: Date | null;\n dateVerified: Date | null;\n isBlocked: boolean;\n exported: Date | null;\n noInvoice: boolean;\n isReadMobile: boolean;\n isLockedMobile: boolean;\n idBankAccount: number | null;\n idSociety: number;\n idPaymentMethod: number | null;\n idRule: number | null;\n idAccountingJournal: number;\n idLettering: number | null;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n idUser: number | null;\n\n // Associations\n bankAccount: IBankAccount;\n engagementAccountingEntries: IEngagementAccountingEntry[];\n accountingJournal: IAccountingJournal;\n user: IUser;\n lettering: ILettering;\n}\n"],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IInterestedByFeature.js","names":[],"sources":["../../../../ts/types/Interface/models/IInterestedByFeature.ts"],"sourcesContent":["import { ISociety } from './ISociety';\n\n// interestedByFeatures\nexport interface IInterestedByFeature {\n id?: number;\n email: string | null;\n idTypeFeature: number | null;\n idSociety: number;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n\n // Associations\n society: ISociety;\n}\n"],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IPageView.js","names":[],"sources":["../../../../ts/types/Interface/models/IPageView.ts"],"sourcesContent":["import { ISociety } from './ISociety';\n\n// pageViews\nexport interface IPageView {\n id?: number;\n idPage: number | null;\n idSociety: number;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n\n // Associations\n society: ISociety;\n}\n"],"mappings":""}
|
package/table.json
DELETED
|
@@ -1,264 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"SMS": "Sms",
|
|
3
|
-
"accessToken": "AccessToken",
|
|
4
|
-
"accountDetail": "AccountDetail",
|
|
5
|
-
"accountHelps": "AccountHelp",
|
|
6
|
-
"accountingEntries": "AccountingEntry",
|
|
7
|
-
"accountingFile": "AccountingFile",
|
|
8
|
-
"accountingJournal": "AccountingJournal",
|
|
9
|
-
"accountingStateTypes": "AccountingStateType",
|
|
10
|
-
"accountingStates": "AccountingState",
|
|
11
|
-
"accountingTransactions": "AccountingTransaction",
|
|
12
|
-
"accounts": "Account",
|
|
13
|
-
"accountsSocieties": "AccountsSocieties",
|
|
14
|
-
"activity": "Activity",
|
|
15
|
-
"additionnalBalance": "AdditionalBalance",
|
|
16
|
-
"alerts": "Alert",
|
|
17
|
-
"allowedIp": "AllowedIp",
|
|
18
|
-
"analyticsUtm": "AnalyticsUtm",
|
|
19
|
-
"appConfig": "AppConfig",
|
|
20
|
-
"areasInvoices": "AreasInvoice",
|
|
21
|
-
"askAbsences": "AskAbsence",
|
|
22
|
-
"askAbsencesTimes": "AskAbsenceTimes",
|
|
23
|
-
"attachmentFile": "AttachmentFile",
|
|
24
|
-
"attestations": "Attestation",
|
|
25
|
-
"attributionHistorics": "AttributionHistory",
|
|
26
|
-
"autologinToken": "AutoLoginToken",
|
|
27
|
-
"balanceBankAccount": "BalanceBankAccount",
|
|
28
|
-
"balanceSheet": "BalanceSheet",
|
|
29
|
-
"balanceSheetHistory": "BalanceSheetHistory",
|
|
30
|
-
"balanceSheetLiquidation": "BalanceSheetLiquidation",
|
|
31
|
-
"balanceSheetPartial": "BalanceSheetPartial",
|
|
32
|
-
"bankAccountSynchroHistory": "BankAccountSynchroHistory",
|
|
33
|
-
"bankAccounts": "BankAccount",
|
|
34
|
-
"bankConnections": "BankConnection",
|
|
35
|
-
"bankList": "BankList",
|
|
36
|
-
"bankTransactions": "BankTransaction",
|
|
37
|
-
"businessLine": "BusinessLine",
|
|
38
|
-
"businessPartners": "BusinessPartner",
|
|
39
|
-
"calendarEvents": "CalendarEvent",
|
|
40
|
-
"calendarEventsUsers": "CalendarEventUser",
|
|
41
|
-
"callDirectly": "CallDirectly",
|
|
42
|
-
"categories": "Category",
|
|
43
|
-
"cerfaTypes": "CerfaType",
|
|
44
|
-
"cerfaValues": "CerfaValue",
|
|
45
|
-
"changeLogs": "ChangeLog",
|
|
46
|
-
"checklist": "Checklist",
|
|
47
|
-
"checklistDetail": "ChecklistDetail",
|
|
48
|
-
"civility": "Civility",
|
|
49
|
-
"codeErreur": "ErrorCode",
|
|
50
|
-
"colors": "Color",
|
|
51
|
-
"comments": "Comment",
|
|
52
|
-
"connectors": "Connector",
|
|
53
|
-
"cotations": "Cotation",
|
|
54
|
-
"country": "Country",
|
|
55
|
-
"currency": "Currency",
|
|
56
|
-
"customersIsRegimes": "CustomerIsRegime",
|
|
57
|
-
"customersSignatures": "CustomerSignature",
|
|
58
|
-
"customersTva": "CustomerTva",
|
|
59
|
-
"customisations": "Customisation",
|
|
60
|
-
"cycles": "Cycle",
|
|
61
|
-
"day": "Day",
|
|
62
|
-
"detailedLogBi": "DetailedLogBi",
|
|
63
|
-
"directdebitHistory": "DirectDebitHistory",
|
|
64
|
-
"employees": "Employee",
|
|
65
|
-
"engagementAccountingEntries": "EngagementAccountingEntry",
|
|
66
|
-
"engagementAccountingFile": "EngagementAccountingFile",
|
|
67
|
-
"engagementBankTransactions": "EngagementBankTransaction",
|
|
68
|
-
"engagementOcrExtraction": "EngagementOcrExtraction",
|
|
69
|
-
"estimatesInvoiceRepeat": "EstimateInvoiceRepeat",
|
|
70
|
-
"estimatesInvoices": "EstimateInvoice",
|
|
71
|
-
"exerciceDetails": "ExerciceDetail",
|
|
72
|
-
"exercices": "Exercice",
|
|
73
|
-
"exercicesPrestations": "ExercicePrestation",
|
|
74
|
-
"failedLoginAttempts": "FailedLoginAttempt",
|
|
75
|
-
"faqCategories": "FaqCategory",
|
|
76
|
-
"faqs": "Faq",
|
|
77
|
-
"fileType": "FileType",
|
|
78
|
-
"files": "File",
|
|
79
|
-
"filesMissing": "FileMissing",
|
|
80
|
-
"fiscalRegimes": "FiscalRegime",
|
|
81
|
-
"folderFile": "FolderFile",
|
|
82
|
-
"followedQualityMail": "FollowedQualityMail",
|
|
83
|
-
"follows": "Follow",
|
|
84
|
-
"followsList": "FollowList",
|
|
85
|
-
"formalismValues": "FormalismValue",
|
|
86
|
-
"formalisms": "Formalism",
|
|
87
|
-
"frequency": "Frequency",
|
|
88
|
-
"fuel": "Fuel",
|
|
89
|
-
"gedCategory": "GedCategory",
|
|
90
|
-
"gedFile": "GedFile",
|
|
91
|
-
"gedFolder": "GedFolder",
|
|
92
|
-
"identifications": "Identification",
|
|
93
|
-
"independantReviews": "IndependentReview",
|
|
94
|
-
"interestedByFeatures": "InterestedByFeature",
|
|
95
|
-
"internalEstimates": "InternalEstimate",
|
|
96
|
-
"ipTmpBlocked": "IpTmpBlocked",
|
|
97
|
-
"itemsEstimates": "ItemEstimate",
|
|
98
|
-
"jobCategories": "JobCategory",
|
|
99
|
-
"jobs": "Job",
|
|
100
|
-
"kilometricAllowanceScale": "KilometricAllowanceScale",
|
|
101
|
-
"labelPaymentWaiting": "LabelPaymentWaiting",
|
|
102
|
-
"legalForm": "LegalForm",
|
|
103
|
-
"legalsNotice": "LegalNotice",
|
|
104
|
-
"lettering": "Lettering",
|
|
105
|
-
"letters": "Letter",
|
|
106
|
-
"logBi": "LogBi",
|
|
107
|
-
"logs": "Log",
|
|
108
|
-
"mailSociety": "MailSociety",
|
|
109
|
-
"mailsAuto": "MailAuto",
|
|
110
|
-
"mailsAutoTypes": "MailAutoType",
|
|
111
|
-
"month": "Month",
|
|
112
|
-
"nationality": "Nationality",
|
|
113
|
-
"nature": "Nature",
|
|
114
|
-
"notes": "Note",
|
|
115
|
-
"notifications": "Notification",
|
|
116
|
-
"oldExpertInfo": "OldExpertInfo",
|
|
117
|
-
"operationsLegalsNotice": "OperationLegalNotice",
|
|
118
|
-
"pageViews": "PageView",
|
|
119
|
-
"paiePlan": "PayPlan",
|
|
120
|
-
"partnersTransactions": "PartnerTransaction",
|
|
121
|
-
"paymentDelai": "PaymentDelay",
|
|
122
|
-
"paymentSchedules": "PaymentSchedule",
|
|
123
|
-
"payments": "Payment",
|
|
124
|
-
"paymentsExpectations": "PaymentExpectation",
|
|
125
|
-
"paymentsExpectationsCustomers": "PaymentExpectationCustomer",
|
|
126
|
-
"paymentsMethod": "PaymentMethod",
|
|
127
|
-
"paymentsWaiting": "PaymentWaiting",
|
|
128
|
-
"penalities": "Penalty",
|
|
129
|
-
"pendingPoints": "PendingPoint",
|
|
130
|
-
"permissions": "Permission",
|
|
131
|
-
"phoneNumber": "PhoneNumber",
|
|
132
|
-
"phonePrefix": "PhonePrefix",
|
|
133
|
-
"phonePrefixChild": "PhonePrefixChild",
|
|
134
|
-
"prestationSocial": "PrestationSocial",
|
|
135
|
-
"prestations": "Prestation",
|
|
136
|
-
"prestationsCompl": "PrestationComplementary",
|
|
137
|
-
"prestationsList": "PrestationList",
|
|
138
|
-
"procedings": "Procedure",
|
|
139
|
-
"products": "Product",
|
|
140
|
-
"qualities": "Quality",
|
|
141
|
-
"quotaLeads": "QuotaLead",
|
|
142
|
-
"ratings": "Rating",
|
|
143
|
-
"reasonTermination": "ReasonTermination",
|
|
144
|
-
"reasons": "Reason",
|
|
145
|
-
"recontactHistory": "RecontactHistory",
|
|
146
|
-
"refunds": "Refund",
|
|
147
|
-
"refundsMotif": "RefundMotif",
|
|
148
|
-
"region": "Region",
|
|
149
|
-
"registerCategorie": "RegisterCategory",
|
|
150
|
-
"regulates": "Regulate",
|
|
151
|
-
"regulations": "Regulation",
|
|
152
|
-
"report": "Report",
|
|
153
|
-
"reportMessage": "ReportMessage",
|
|
154
|
-
"roles": "Role",
|
|
155
|
-
"rolesUsers": "RoleUser",
|
|
156
|
-
"rooms": "Room",
|
|
157
|
-
"rules": "Rule",
|
|
158
|
-
"schedule": "Schedule",
|
|
159
|
-
"sectors": "Sector",
|
|
160
|
-
"sendMethods": "SendMethod",
|
|
161
|
-
"services": "Service",
|
|
162
|
-
"sheetMonthSchedules": "SheetMonthSchedule",
|
|
163
|
-
"simulation": "Simulation",
|
|
164
|
-
"simulationAdditionalFinances": "SimulationAdditionalFinance",
|
|
165
|
-
"simulationColor": "SimulationColor",
|
|
166
|
-
"simulationElement": "SimulationElement",
|
|
167
|
-
"simulationHasBankAccount": "SimulationHasBankAccount",
|
|
168
|
-
"simulationPeriod": "SimulationPeriod",
|
|
169
|
-
"simulationSummary": "SimulationSummary",
|
|
170
|
-
"socialDetail": "SocialDetail",
|
|
171
|
-
"societies": "Society",
|
|
172
|
-
"societyApprovals": "SocietyApproval",
|
|
173
|
-
"societyBank": "SocietyBank",
|
|
174
|
-
"societyBudgetConnection": "SocietyBudgetConnection",
|
|
175
|
-
"societyCgv": "SocietyCgv",
|
|
176
|
-
"societyConfig": "SocietyConfig",
|
|
177
|
-
"societyConfigBalanceSheet": "SocietyConfigBalanceSheet",
|
|
178
|
-
"societyDetails": "SocietyDetail",
|
|
179
|
-
"societyFiles": "SocietyFile",
|
|
180
|
-
"societyGescom": "SocietyGescom",
|
|
181
|
-
"societyJuridical": "SocietyJuridical",
|
|
182
|
-
"societyNotes": "SocietyNote",
|
|
183
|
-
"societyPartner": "SocietyPartner",
|
|
184
|
-
"societyProcedings": "SocietyProceding",
|
|
185
|
-
"societyRelance": "SocietyRelance",
|
|
186
|
-
"societySocial": "SocietySocial",
|
|
187
|
-
"societySoftware": "SocietySoftware",
|
|
188
|
-
"societyStats": "SocietyStat",
|
|
189
|
-
"societyVehicle": "SocietyVehicle",
|
|
190
|
-
"softwareCompta": "SoftwareCompta",
|
|
191
|
-
"source": "Source",
|
|
192
|
-
"specialOperations": "SpecialOperation",
|
|
193
|
-
"sponsorshipsLinks": "SponsorshipLink",
|
|
194
|
-
"statusSignature": "StatusSignature",
|
|
195
|
-
"stripeEvents": "StripeEvent",
|
|
196
|
-
"supervisions": "Supervision",
|
|
197
|
-
"supervisionsJobs": "SupervisionsJob",
|
|
198
|
-
"supervisionsPendingPoints": "SupervisionPendingPoint",
|
|
199
|
-
"tags": "Tag",
|
|
200
|
-
"taxSystem": "TaxSystem",
|
|
201
|
-
"teamBusinessLine": "TeamBusinessLine",
|
|
202
|
-
"teams": "Team",
|
|
203
|
-
"terminitionsList": "TerminationList",
|
|
204
|
-
"ticketSupport": "TicketSupport",
|
|
205
|
-
"ticketSupportFollows": "TicketSupportFollow",
|
|
206
|
-
"tiers": "Tier",
|
|
207
|
-
"tiersSocieties": "TierSociety",
|
|
208
|
-
"timeTraking": "TimeTracking",
|
|
209
|
-
"timeTrakingSources": "TimeTrackingSource",
|
|
210
|
-
"tmpValidationToken": "TmpValidationToken",
|
|
211
|
-
"trackerSuiviComptable": "AccountantTracker",
|
|
212
|
-
"tvaMargin": "VatMargin",
|
|
213
|
-
"tvaRegimes": "VatRegime",
|
|
214
|
-
"tvas": "Vat",
|
|
215
|
-
"typeAbsence": "AbsenceType",
|
|
216
|
-
"typeAccount": "AccountType",
|
|
217
|
-
"typeAccountingFile": "AccountingFileType",
|
|
218
|
-
"typeBrand": "BrandType",
|
|
219
|
-
"typeCashdeskTransaction": "CashDeskTransactionType",
|
|
220
|
-
"typeChannel": "ChannelType",
|
|
221
|
-
"typeChecklist": "ChecklistType",
|
|
222
|
-
"typeChecklistCategorie": "ChecklistCategoryType",
|
|
223
|
-
"typeComment": "CommentType",
|
|
224
|
-
"typeCompta": "ComptaType",
|
|
225
|
-
"typeComptaHistory": "ComptaHistoryType",
|
|
226
|
-
"typeConnectors": "ConnectorType",
|
|
227
|
-
"typeContrat": "ContractType",
|
|
228
|
-
"typeCustomisations": "CustomizationType",
|
|
229
|
-
"typeDocumentsWaiting": "DocumentWaitingType",
|
|
230
|
-
"typeEstimatesInvoice": "EstimateInvoiceType",
|
|
231
|
-
"typeFollowedQualityMail": "FollowedQualityMailType",
|
|
232
|
-
"typeGedFile": "GedFileType",
|
|
233
|
-
"typeLetters": "LetterType",
|
|
234
|
-
"typeLog": "LogType",
|
|
235
|
-
"typeNotificationCodes": "NotificationCodeType",
|
|
236
|
-
"typeNotificationTypes": "NotificationType",
|
|
237
|
-
"typePartnerTransaction": "PartnerTransactionType",
|
|
238
|
-
"typePenalities": "PenaltyType",
|
|
239
|
-
"typeProducts": "ProductType",
|
|
240
|
-
"typeRepeat": "RepeatType",
|
|
241
|
-
"typeReport": "ReportType",
|
|
242
|
-
"typeSMS": "SMSType",
|
|
243
|
-
"typeStripeEvent": "StripeEventType",
|
|
244
|
-
"typeSubscription": "SubscriptionType",
|
|
245
|
-
"typeTiers": "TierType",
|
|
246
|
-
"typeVehicle": "VehicleType",
|
|
247
|
-
"unities": "Unit",
|
|
248
|
-
"users": "User",
|
|
249
|
-
"usersNotifications": "UserNotification",
|
|
250
|
-
"usersSocietiesPermissions": "UserSocietyPermission",
|
|
251
|
-
"usersSocietiesTicketSupport": "UserSocietyTicketSupport",
|
|
252
|
-
"usersTeams": "UserTeam",
|
|
253
|
-
"usersTests": "UserTest",
|
|
254
|
-
"vatDeclaration": "VatDeclaration",
|
|
255
|
-
"vatDeclarationCertificates": "VatDeclarationCertificate",
|
|
256
|
-
"vatDeclarationSocietyDetail": "VatDeclarationSocietyDetail",
|
|
257
|
-
"webmailMails": "WebMail",
|
|
258
|
-
"webmailMailsAttachments": "WebMailAttachment",
|
|
259
|
-
"webmailSpam": "WebMailSpam",
|
|
260
|
-
"webmailStats": "WebMailStat",
|
|
261
|
-
"webmailTypes": "WebMailType",
|
|
262
|
-
"webmailTypesSpam": "WebMailSpamType",
|
|
263
|
-
"workingSchedule": "WorkingSchedule"
|
|
264
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { IAccount } from './IAccount';
|
|
2
|
-
import { IThirdParty } from './IThirdParty';
|
|
3
|
-
import { IEngagementBankTransaction } from './IEngagementBankTransaction';
|
|
4
|
-
import { IEngagementAccountingFile } from './IEngagementAccountingFile';
|
|
5
|
-
|
|
6
|
-
// engagementAccountingEntries
|
|
7
|
-
export interface IEngagementAccountingEntry {
|
|
8
|
-
id?: number;
|
|
9
|
-
master: boolean;
|
|
10
|
-
dateValue: Date | null;
|
|
11
|
-
designation: string;
|
|
12
|
-
comment: string | null;
|
|
13
|
-
debit: number;
|
|
14
|
-
credit: number;
|
|
15
|
-
isPerso: boolean;
|
|
16
|
-
idInherit: number | null;
|
|
17
|
-
idAccount: number | null;
|
|
18
|
-
idThirdParty: number | null;
|
|
19
|
-
idEngagementBankTransaction: number | null;
|
|
20
|
-
idEngagementAccountingFile: number | null;
|
|
21
|
-
createdAt?: Date | null;
|
|
22
|
-
updatedAt?: Date | null;
|
|
23
|
-
|
|
24
|
-
// Associations
|
|
25
|
-
account: IAccount;
|
|
26
|
-
thirdParty: IThirdParty;
|
|
27
|
-
engagementBankTransaction: IEngagementBankTransaction;
|
|
28
|
-
engagementAccountingFile: IEngagementAccountingFile;
|
|
29
|
-
engagementAccountingEntry: IEngagementAccountingEntry;
|
|
30
|
-
}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { ISociety } from './ISociety';
|
|
2
|
-
import { IFile } from './IFile';
|
|
3
|
-
import { IEstimateInvoice } from './IEstimateInvoice';
|
|
4
|
-
import { IEngagementAccountingEntry } from './IEngagementAccountingEntry';
|
|
5
|
-
import { ILettering } from './ILettering';
|
|
6
|
-
|
|
7
|
-
// engagementAccountingFile
|
|
8
|
-
export interface IEngagementAccountingFile {
|
|
9
|
-
id?: number;
|
|
10
|
-
migrate: boolean;
|
|
11
|
-
label: string | null;
|
|
12
|
-
invoiceNumber: string | null;
|
|
13
|
-
budgeaDocumentId: number | null;
|
|
14
|
-
isMerged: boolean;
|
|
15
|
-
dateVerified: Date | null;
|
|
16
|
-
dateLocked: Date | null;
|
|
17
|
-
isLockedByAccountant: boolean;
|
|
18
|
-
exported: Date | null;
|
|
19
|
-
emissionDate: Date | null;
|
|
20
|
-
isAsset: boolean;
|
|
21
|
-
isPayPerso: boolean;
|
|
22
|
-
isMobile: boolean;
|
|
23
|
-
kilometers: number | null;
|
|
24
|
-
purchaseTtc: number | null;
|
|
25
|
-
mailId: number | null;
|
|
26
|
-
idGedFolder: number | null;
|
|
27
|
-
idSocietyVehicle: number | null;
|
|
28
|
-
idSocietyPartner: number | null;
|
|
29
|
-
idEstimateInvoice: number | null;
|
|
30
|
-
idAccountingFileType: number;
|
|
31
|
-
isAlreadyProcessByOcr: boolean | null;
|
|
32
|
-
idSociety: number;
|
|
33
|
-
idFile: number;
|
|
34
|
-
idUser: number | null;
|
|
35
|
-
idLettering: number | null;
|
|
36
|
-
createdAt?: Date | null;
|
|
37
|
-
updatedAt?: Date | null;
|
|
38
|
-
deletedAt?: Date | null;
|
|
39
|
-
|
|
40
|
-
// Associations
|
|
41
|
-
society: ISociety;
|
|
42
|
-
file: IFile;
|
|
43
|
-
estimatesInvoice: IEstimateInvoice;
|
|
44
|
-
engagementAccountingEntries: IEngagementAccountingEntry[];
|
|
45
|
-
lettering: ILettering;
|
|
46
|
-
}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { IBankAccount } from './IBankAccount';
|
|
2
|
-
import { IEngagementAccountingEntry } from './IEngagementAccountingEntry';
|
|
3
|
-
import { IAccountingJournal } from './IAccountingJournal';
|
|
4
|
-
import { IUser } from './IUser';
|
|
5
|
-
import { ILettering } from './ILettering';
|
|
6
|
-
|
|
7
|
-
// engagementBankTransactions
|
|
8
|
-
export interface IEngagementBankTransaction {
|
|
9
|
-
id?: number;
|
|
10
|
-
migrate: boolean;
|
|
11
|
-
reference: string | null;
|
|
12
|
-
dateValue: Date;
|
|
13
|
-
dateLocked: Date | null;
|
|
14
|
-
dateVerified: Date | null;
|
|
15
|
-
isBlocked: boolean;
|
|
16
|
-
exported: Date | null;
|
|
17
|
-
noInvoice: boolean;
|
|
18
|
-
isReadMobile: boolean;
|
|
19
|
-
isLockedMobile: boolean;
|
|
20
|
-
idBankAccount: number | null;
|
|
21
|
-
idSociety: number;
|
|
22
|
-
idPaymentMethod: number | null;
|
|
23
|
-
idRule: number | null;
|
|
24
|
-
idAccountingJournal: number;
|
|
25
|
-
idLettering: number | null;
|
|
26
|
-
createdAt?: Date | null;
|
|
27
|
-
updatedAt?: Date | null;
|
|
28
|
-
idUser: number | null;
|
|
29
|
-
|
|
30
|
-
// Associations
|
|
31
|
-
bankAccount: IBankAccount;
|
|
32
|
-
engagementAccountingEntries: IEngagementAccountingEntry[];
|
|
33
|
-
accountingJournal: IAccountingJournal;
|
|
34
|
-
user: IUser;
|
|
35
|
-
lettering: ILettering;
|
|
36
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { ISociety } from './ISociety';
|
|
2
|
-
|
|
3
|
-
// interestedByFeatures
|
|
4
|
-
export interface IInterestedByFeature {
|
|
5
|
-
id?: number;
|
|
6
|
-
email: string | null;
|
|
7
|
-
idTypeFeature: number | null;
|
|
8
|
-
idSociety: number;
|
|
9
|
-
createdAt?: Date | null;
|
|
10
|
-
updatedAt?: Date | null;
|
|
11
|
-
|
|
12
|
-
// Associations
|
|
13
|
-
society: ISociety;
|
|
14
|
-
}
|