@silexpert/core 1.0.206 → 1.1.2
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/AccountingFiles.d.ts +2 -3
- package/es/api/resources/AccountingFiles.d.ts.map +1 -1
- package/es/api/resources/AccountingFiles.js +1 -7
- package/es/api/resources/AccountingFiles.js.map +1 -1
- package/es/api/resources/CommercialSetting.d.ts +2 -1
- package/es/api/resources/CommercialSetting.d.ts.map +1 -1
- package/es/api/resources/CommercialSetting.js +3 -0
- package/es/api/resources/CommercialSetting.js.map +1 -1
- package/es/api/resources/FIle.d.ts +1 -3
- package/es/api/resources/FIle.d.ts.map +1 -1
- package/es/api/resources/FIle.js +0 -3
- package/es/api/resources/FIle.js.map +1 -1
- package/es/api/resources/FirstStep.d.ts +1 -2
- package/es/api/resources/FirstStep.d.ts.map +1 -1
- package/es/api/resources/FirstStep.js +0 -3
- package/es/api/resources/FirstStep.js.map +1 -1
- package/es/api/resources/Invoice.d.ts +0 -2
- package/es/api/resources/Invoice.d.ts.map +1 -1
- package/es/api/resources/Invoice.js +0 -6
- package/es/api/resources/Invoice.js.map +1 -1
- package/es/api/resources/Mail.d.ts.map +1 -1
- package/es/api/resources/Mail.js +0 -5
- package/es/api/resources/Mail.js.map +1 -1
- package/es/api/resources/Notification.d.ts +0 -3
- package/es/api/resources/Notification.d.ts.map +1 -1
- package/es/api/resources/Notification.js +1 -7
- package/es/api/resources/Notification.js.map +1 -1
- package/es/api/resources/Prestations.d.ts +0 -6
- package/es/api/resources/Prestations.d.ts.map +1 -1
- package/es/api/resources/Prestations.js +0 -8
- package/es/api/resources/Prestations.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/Report.d.ts +1 -2
- package/es/api/resources/Report.d.ts.map +1 -1
- package/es/api/resources/Report.js +0 -3
- package/es/api/resources/Report.js.map +1 -1
- package/es/api/resources/Rule.d.ts +0 -1
- package/es/api/resources/Rule.d.ts.map +1 -1
- package/es/api/resources/Rule.js +0 -3
- package/es/api/resources/Rule.js.map +1 -1
- package/es/api/resources/Tax.d.ts +2 -1
- package/es/api/resources/Tax.d.ts.map +1 -1
- package/es/api/resources/Tax.js +3 -0
- package/es/api/resources/Tax.js.map +1 -1
- package/es/api/resources/TaxDeadline.d.ts +2 -1
- package/es/api/resources/TaxDeadline.d.ts.map +1 -1
- package/es/api/resources/TaxDeadline.js +3 -0
- package/es/api/resources/TaxDeadline.js.map +1 -1
- package/es/api/resources/TimeRecorder.d.ts +1 -2
- package/es/api/resources/TimeRecorder.d.ts.map +1 -1
- package/es/api/resources/TimeRecorder.js +0 -3
- package/es/api/resources/TimeRecorder.js.map +1 -1
- package/es/api/resources/User.d.ts +1 -1
- package/es/api/resources/User.d.ts.map +1 -1
- package/es/api/resources/User.js +3 -2
- package/es/api/resources/User.js.map +1 -1
- package/es/api/resources/Vat.d.ts +23 -0
- package/es/api/resources/Vat.d.ts.map +1 -0
- package/es/api/resources/Vat.js +72 -0
- package/es/api/resources/Vat.js.map +1 -0
- 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 -8
- package/es/api/resources.d.ts.map +1 -1
- package/es/api/resources.js +2 -8
- package/es/api/resources.js.map +1 -1
- package/es/index.d.ts.map +1 -1
- package/es/index.js +1 -0
- package/es/index.js.map +1 -1
- package/es/types/Enum/Account.d.ts +0 -8
- package/es/types/Enum/Account.d.ts.map +1 -1
- package/es/types/Enum/Account.js +0 -8
- package/es/types/Enum/Account.js.map +1 -1
- package/es/types/Enum/Activity.d.ts +0 -50
- package/es/types/Enum/Activity.d.ts.map +1 -1
- package/es/types/Enum/Activity.js +0 -50
- package/es/types/Enum/Activity.js.map +1 -1
- package/es/types/Enum/BalanceSheet.d.ts +1 -1
- package/es/types/Enum/BalanceSheet.js +1 -1
- package/es/types/Enum/BalanceSheet.js.map +1 -1
- package/es/types/Enum/BrandClementine.d.ts +126 -24
- package/es/types/Enum/BrandClementine.d.ts.map +1 -1
- package/es/types/Enum/BrandClementine.js +111 -24
- package/es/types/Enum/BrandClementine.js.map +1 -1
- package/es/types/Enum/BrandComptalib.d.ts +83 -16
- package/es/types/Enum/BrandComptalib.d.ts.map +1 -1
- package/es/types/Enum/BrandComptalib.js +77 -14
- package/es/types/Enum/BrandComptalib.js.map +1 -1
- package/es/types/Enum/BrandLegalstart.d.ts +0 -22
- package/es/types/Enum/BrandLegalstart.d.ts.map +1 -1
- package/es/types/Enum/BrandLegalstart.js +23 -45
- package/es/types/Enum/BrandLegalstart.js.map +1 -1
- package/es/types/Enum/BrandPourcentage.d.ts +2 -115
- package/es/types/Enum/BrandPourcentage.d.ts.map +1 -1
- package/es/types/Enum/BrandPourcentage.js +1 -462
- package/es/types/Enum/BrandPourcentage.js.map +1 -1
- package/es/types/Enum/ConnectorType.d.ts +1 -0
- package/es/types/Enum/ConnectorType.d.ts.map +1 -1
- package/es/types/Enum/ConnectorType.js +1 -1
- package/es/types/Enum/ConnectorType.js.map +1 -1
- package/es/types/Enum/ConstitutionState.d.ts +2 -0
- package/es/types/Enum/ConstitutionState.d.ts.map +1 -1
- package/es/types/Enum/ConstitutionState.js +10 -10
- package/es/types/Enum/ConstitutionState.js.map +1 -1
- package/es/types/Enum/Country.d.ts +0 -200
- package/es/types/Enum/Country.d.ts.map +1 -1
- package/es/types/Enum/Country.js +0 -393
- package/es/types/Enum/Country.js.map +1 -1
- package/es/types/Enum/Ged.d.ts +0 -1
- 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/InternalService.d.ts +0 -12
- package/es/types/Enum/InternalService.d.ts.map +1 -1
- package/es/types/Enum/InternalService.js +0 -12
- package/es/types/Enum/InternalService.js.map +1 -1
- package/es/types/Enum/JobTitle.d.ts +1 -8
- package/es/types/Enum/JobTitle.d.ts.map +1 -1
- package/es/types/Enum/JobTitle.js +0 -42
- package/es/types/Enum/JobTitle.js.map +1 -1
- package/es/types/Enum/Log.d.ts +1 -201
- package/es/types/Enum/Log.d.ts.map +1 -1
- package/es/types/Enum/Log.js +0 -200
- package/es/types/Enum/Log.js.map +1 -1
- package/es/types/Enum/MealExpenseThresholds.d.ts.map +1 -1
- package/es/types/Enum/MealExpenseThresholds.js +2 -6
- package/es/types/Enum/MealExpenseThresholds.js.map +1 -1
- package/es/types/Enum/MimeType.d.ts +0 -1
- package/es/types/Enum/MimeType.d.ts.map +1 -1
- package/es/types/Enum/MimeType.js +0 -1
- package/es/types/Enum/MimeType.js.map +1 -1
- package/es/types/Enum/NafCode.d.ts +22 -0
- package/es/types/Enum/NafCode.d.ts.map +1 -0
- package/es/types/Enum/NafCode.js +23 -0
- package/es/types/Enum/NafCode.js.map +1 -0
- package/es/types/Enum/NotificationType.d.ts +2 -15
- package/es/types/Enum/NotificationType.d.ts.map +1 -1
- package/es/types/Enum/NotificationType.js +5 -41
- package/es/types/Enum/NotificationType.js.map +1 -1
- package/es/types/Enum/Office.d.ts +19 -0
- package/es/types/Enum/Office.d.ts.map +1 -0
- package/es/types/Enum/Office.js +20 -0
- package/es/types/Enum/Office.js.map +1 -0
- package/es/types/Enum/Phone.js +1 -1
- package/es/types/Enum/Phone.js.map +1 -1
- package/es/types/Enum/PrestationType.d.ts +1 -5
- package/es/types/Enum/PrestationType.d.ts.map +1 -1
- package/es/types/Enum/PrestationType.js +0 -72
- package/es/types/Enum/PrestationType.js.map +1 -1
- package/es/types/Enum/Registration.d.ts +5 -0
- package/es/types/Enum/Registration.d.ts.map +1 -1
- package/es/types/Enum/Registration.js +6 -0
- package/es/types/Enum/Registration.js.map +1 -1
- package/es/types/Enum/RegistrationSource.d.ts +0 -1
- package/es/types/Enum/RegistrationSource.d.ts.map +1 -1
- package/es/types/Enum/RegistrationSource.js +0 -1
- package/es/types/Enum/RegistrationSource.js.map +1 -1
- package/es/types/Enum/ReportService.d.ts +4 -9
- package/es/types/Enum/ReportService.d.ts.map +1 -1
- package/es/types/Enum/ReportService.js +6 -17
- package/es/types/Enum/ReportService.js.map +1 -1
- package/es/types/Enum/Role.d.ts +1 -3
- package/es/types/Enum/Role.d.ts.map +1 -1
- package/es/types/Enum/Role.js +0 -2
- package/es/types/Enum/Role.js.map +1 -1
- package/es/types/Enum/RoleDetail.d.ts +0 -22
- package/es/types/Enum/RoleDetail.d.ts.map +1 -1
- package/es/types/Enum/RoleDetail.js +1 -23
- package/es/types/Enum/RoleDetail.js.map +1 -1
- package/es/types/Enum/TaskResponseType.d.ts +1 -3
- package/es/types/Enum/TaskResponseType.d.ts.map +1 -1
- package/es/types/Enum/TaskResponseType.js +0 -57
- package/es/types/Enum/TaskResponseType.js.map +1 -1
- package/es/types/Enum/Tax.d.ts +5 -0
- package/es/types/Enum/Tax.d.ts.map +1 -1
- package/es/types/Enum/Tax.js +6 -0
- package/es/types/Enum/Tax.js.map +1 -1
- package/es/types/Enum/TaxSystem.d.ts +0 -2
- package/es/types/Enum/TaxSystem.d.ts.map +1 -1
- package/es/types/Enum/TaxSystem.js +0 -14
- package/es/types/Enum/TaxSystem.js.map +1 -1
- package/es/types/Enum/TimeRecorderLocation.d.ts +23 -0
- package/es/types/Enum/TimeRecorderLocation.d.ts.map +1 -0
- package/es/types/Enum/TimeRecorderLocation.js +6 -0
- package/es/types/Enum/TimeRecorderLocation.js.map +1 -0
- package/es/types/Enum/Unit.d.ts +1 -2
- package/es/types/Enum/Unit.d.ts.map +1 -1
- package/es/types/Enum/Unit.js +0 -11
- package/es/types/Enum/Unit.js.map +1 -1
- package/es/types/Enum/VatDeclarationType.js +40 -40
- package/es/types/Enum/VatDeclarationType.js.map +1 -1
- package/es/types/Interface/api/accountingFiles/OcrPayload.d.ts +1 -0
- 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/accountingFiles/queryAccountingFiles.d.ts +0 -1
- package/es/types/Interface/api/accountingFiles/queryAccountingFiles.d.ts.map +1 -1
- package/es/types/Interface/api/accountingFiles/queryAccountingFiles.js +1 -5
- package/es/types/Interface/api/accountingFiles/queryAccountingFiles.js.map +1 -1
- package/es/types/Interface/api/aspone/ReadInterchange.d.ts +5 -7
- package/es/types/Interface/api/aspone/ReadInterchange.d.ts.map +1 -1
- package/es/types/Interface/api/aspone/ReadInterchange.js.map +1 -1
- package/es/types/Interface/api/cerfa/3310.d.ts +249 -0
- package/es/types/Interface/api/cerfa/3310.d.ts.map +1 -0
- package/es/types/Interface/api/cerfa/3310.js +2 -0
- package/es/types/Interface/api/cerfa/3310.js.map +1 -0
- package/es/types/Interface/api/cerfa/3514.d.ts +65 -0
- package/es/types/Interface/api/cerfa/3514.d.ts.map +1 -0
- package/es/types/Interface/api/cerfa/3514.js +2 -0
- package/es/types/Interface/api/cerfa/3514.js.map +1 -0
- package/es/types/Interface/api/cerfa/3517.d.ts +364 -0
- package/es/types/Interface/api/cerfa/3517.d.ts.map +1 -0
- package/es/types/Interface/api/cerfa/3517.js +6 -0
- package/es/types/Interface/api/cerfa/3517.js.map +1 -0
- package/es/types/Interface/api/cerfa/3519.d.ts +70 -0
- package/es/types/Interface/api/cerfa/3519.d.ts.map +1 -0
- package/es/types/Interface/api/cerfa/3519.js +2 -0
- package/es/types/Interface/api/cerfa/3519.js.map +1 -0
- package/es/types/Interface/api/cerfa/ReadCerfa.d.ts +43 -1
- package/es/types/Interface/api/cerfa/ReadCerfa.d.ts.map +1 -1
- package/es/types/Interface/api/cerfa/ReadCerfa.js +2 -1
- package/es/types/Interface/api/cerfa/ReadCerfa.js.map +1 -1
- package/es/types/Interface/api/exercice/CreateExercice.d.ts +0 -1
- package/es/types/Interface/api/exercice/CreateExercice.d.ts.map +1 -1
- package/es/types/Interface/api/exercice/CreateExercice.js +0 -7
- package/es/types/Interface/api/exercice/CreateExercice.js.map +1 -1
- package/es/types/Interface/api/exercice/QueryExercice.d.ts +0 -1
- package/es/types/Interface/api/exercice/QueryExercice.d.ts.map +1 -1
- package/es/types/Interface/api/exercice/QueryExercice.js +0 -7
- package/es/types/Interface/api/exercice/QueryExercice.js.map +1 -1
- package/es/types/Interface/api/exercice/UpdateExercice.d.ts +0 -2
- package/es/types/Interface/api/exercice/UpdateExercice.d.ts.map +1 -1
- package/es/types/Interface/api/exercice/UpdateExercice.js +0 -14
- package/es/types/Interface/api/exercice/UpdateExercice.js.map +1 -1
- package/es/types/Interface/api/generalLedger/IGeneralLedgerAccount.d.ts +0 -2
- package/es/types/Interface/api/generalLedger/IGeneralLedgerAccount.d.ts.map +1 -1
- package/es/types/Interface/api/generalLedger/IGeneralLedgerAccount.js.map +1 -1
- package/es/types/Interface/api/notification/CreateNotification.d.ts +2 -2
- package/es/types/Interface/api/notification/CreateNotification.d.ts.map +1 -1
- package/es/types/Interface/api/notification/CreateNotification.js +2 -2
- package/es/types/Interface/api/notification/CreateNotification.js.map +1 -1
- package/es/types/Interface/api/notificationSetting/CreateNotificationSetting.d.ts +2 -2
- package/es/types/Interface/api/notificationSetting/CreateNotificationSetting.d.ts.map +1 -1
- package/es/types/Interface/api/notificationSetting/CreateNotificationSetting.js +2 -2
- package/es/types/Interface/api/notificationSetting/CreateNotificationSetting.js.map +1 -1
- package/es/types/Interface/api/notificationSetting/UpdateNotificationSetting.d.ts +2 -2
- package/es/types/Interface/api/notificationSetting/UpdateNotificationSetting.d.ts.map +1 -1
- package/es/types/Interface/api/notificationSetting/UpdateNotificationSetting.js +2 -2
- package/es/types/Interface/api/notificationSetting/UpdateNotificationSetting.js.map +1 -1
- package/es/types/Interface/api/registration/CreateRegistration.d.ts +35 -0
- package/es/types/Interface/api/registration/CreateRegistration.d.ts.map +1 -1
- package/es/types/Interface/api/registration/CreateRegistration.js +130 -1
- package/es/types/Interface/api/registration/CreateRegistration.js.map +1 -1
- package/es/types/Interface/api/registration/DeclareRegistration.d.ts +10 -0
- package/es/types/Interface/api/registration/DeclareRegistration.d.ts.map +1 -1
- package/es/types/Interface/api/registration/DeclareRegistration.js +39 -2
- package/es/types/Interface/api/registration/DeclareRegistration.js.map +1 -1
- package/es/types/Interface/api/registration/QueryRegistration.d.ts +7 -0
- package/es/types/Interface/api/registration/QueryRegistration.d.ts.map +1 -1
- package/es/types/Interface/api/registration/QueryRegistration.js +31 -2
- package/es/types/Interface/api/registration/QueryRegistration.js.map +1 -1
- package/es/types/Interface/api/registration/ReadRegistration.d.ts +24 -1
- 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/registration/UpdateRegistration.d.ts +10 -0
- package/es/types/Interface/api/registration/UpdateRegistration.d.ts.map +1 -0
- package/es/types/Interface/api/{firstStep/Create.js → registration/UpdateRegistration.js} +24 -23
- package/es/types/Interface/api/registration/UpdateRegistration.js.map +1 -0
- package/es/types/Interface/api/report/ReadReportStats.d.ts +0 -1
- package/es/types/Interface/api/report/ReadReportStats.d.ts.map +1 -1
- package/es/types/Interface/api/report/ReadReportStats.js.map +1 -1
- package/es/types/Interface/api/society/CreateSociety.d.ts +0 -1
- package/es/types/Interface/api/society/CreateSociety.d.ts.map +1 -1
- package/es/types/Interface/api/society/CreateSociety.js +0 -4
- package/es/types/Interface/api/society/CreateSociety.js.map +1 -1
- package/es/types/Interface/api/statistic/QueryInternal.d.ts +0 -2
- package/es/types/Interface/api/statistic/QueryInternal.d.ts.map +1 -1
- package/es/types/Interface/api/statistic/QueryInternal.js +1 -3
- package/es/types/Interface/api/statistic/QueryInternal.js.map +1 -1
- package/es/types/Interface/api/tax/QueryTax.d.ts +6 -0
- package/es/types/Interface/api/tax/QueryTax.d.ts.map +1 -0
- package/es/types/Interface/api/{file/Query.js → tax/QueryTax.js} +15 -3
- package/es/types/Interface/api/tax/QueryTax.js.map +1 -0
- package/es/types/Interface/api/tax/ReadTax.d.ts +24 -0
- package/es/types/Interface/api/tax/ReadTax.d.ts.map +1 -1
- package/es/types/Interface/api/tax/ReadTax.js +2 -1
- package/es/types/Interface/api/tax/ReadTax.js.map +1 -1
- package/es/types/Interface/api/taxDeadline/QueryTaxDeadline.d.ts +19 -4
- package/es/types/Interface/api/taxDeadline/QueryTaxDeadline.d.ts.map +1 -1
- package/es/types/Interface/api/taxDeadline/QueryTaxDeadline.js +61 -11
- package/es/types/Interface/api/taxDeadline/QueryTaxDeadline.js.map +1 -1
- package/es/types/Interface/api/taxDeadline/ReadTaxDeadline.d.ts +27 -5
- package/es/types/Interface/api/taxDeadline/ReadTaxDeadline.d.ts.map +1 -1
- package/es/types/Interface/api/taxDeadline/ReadTaxDeadline.js +2 -0
- package/es/types/Interface/api/taxDeadline/ReadTaxDeadline.js.map +1 -1
- package/es/types/Interface/api/timeRecorder/QueryPaginatedDelays.d.ts +0 -1
- package/es/types/Interface/api/timeRecorder/QueryPaginatedDelays.d.ts.map +1 -1
- package/es/types/Interface/api/timeRecorder/QueryPaginatedDelays.js +0 -6
- package/es/types/Interface/api/timeRecorder/QueryPaginatedDelays.js.map +1 -1
- package/es/types/Interface/api/timeRecorder/ReadPaginatedDelays.d.ts +0 -5
- 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/api/vatDeclaration/QueryVatDeclaration.d.ts +11 -11
- package/es/types/Interface/api/vatDeclaration/QueryVatDeclaration.d.ts.map +1 -1
- package/es/types/Interface/api/vatDeclaration/QueryVatDeclaration.js +27 -48
- package/es/types/Interface/api/vatDeclaration/QueryVatDeclaration.js.map +1 -1
- package/es/types/Interface/api/vatDeclaration/ReadVatDeclaration.d.ts +14 -0
- package/es/types/Interface/api/vatDeclaration/ReadVatDeclaration.d.ts.map +1 -0
- package/es/types/Interface/api/vatDeclaration/ReadVatDeclaration.js +3 -0
- package/es/types/Interface/api/vatDeclaration/ReadVatDeclaration.js.map +1 -0
- package/es/types/Interface/models/IAccountingEntry.d.ts +2 -0
- 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/IAccountingTransaction.d.ts +1 -2
- 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/IAccountingTransaction_new.d.ts +18 -0
- package/es/types/Interface/models/IAccountingTransaction_new.d.ts.map +1 -0
- package/es/types/Interface/models/IAccountingTransaction_new.js +2 -0
- package/es/types/Interface/models/IAccountingTransaction_new.js.map +1 -0
- package/es/types/Interface/models/IAccountsSocieties.d.ts +0 -2
- 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/IApiError.d.ts +1 -7
- package/es/types/Interface/models/IApiError.d.ts.map +1 -1
- package/es/types/Interface/models/IApiError.js +0 -8
- package/es/types/Interface/models/IApiError.js.map +1 -1
- package/es/types/Interface/models/IAreasInvoice.d.ts +1 -0
- 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/IAutoLoginToken.d.ts +10 -0
- package/es/types/Interface/models/IAutoLoginToken.d.ts.map +1 -0
- package/es/types/Interface/models/IAutoLoginToken.js +2 -0
- package/es/types/Interface/models/IAutoLoginToken.js.map +1 -0
- package/es/types/Interface/models/IBalanceSheet.d.ts +0 -4
- 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/IBankTransaction.d.ts +34 -0
- package/es/types/Interface/models/IBankTransaction.d.ts.map +1 -0
- package/es/types/Interface/models/IBankTransaction.js +2 -0
- package/es/types/Interface/models/IBankTransaction.js.map +1 -0
- package/es/types/Interface/models/ICallDirectly.d.ts +26 -0
- package/es/types/Interface/models/ICallDirectly.d.ts.map +1 -0
- package/es/types/Interface/models/ICallDirectly.js +2 -0
- package/es/types/Interface/models/ICallDirectly.js.map +1 -0
- package/es/types/Interface/models/IChecklist.d.ts +2 -2
- package/es/types/Interface/models/IChecklist.js.map +1 -1
- package/es/types/Interface/models/{ICustomerTva.d.ts → ICustomerVat.d.ts} +10 -9
- package/es/types/Interface/models/ICustomerVat.d.ts.map +1 -0
- package/es/types/Interface/models/ICustomerVat.js +2 -0
- package/es/types/Interface/models/ICustomerVat.js.map +1 -0
- package/es/types/Interface/models/IEngagementAccountingEntry.d.ts +27 -0
- package/es/types/Interface/models/IEngagementAccountingEntry.d.ts.map +1 -0
- package/es/types/Interface/models/IEngagementAccountingEntry.js +2 -0
- package/es/types/Interface/models/IEngagementAccountingEntry.js.map +1 -0
- package/es/types/Interface/models/IEngagementAccountingFile.d.ts +43 -0
- package/es/types/Interface/models/IEngagementAccountingFile.d.ts.map +1 -0
- package/es/types/Interface/models/IEngagementAccountingFile.js +2 -0
- package/es/types/Interface/models/IEngagementAccountingFile.js.map +1 -0
- package/es/types/Interface/models/IEngagementBankTransaction.d.ts +33 -0
- package/es/types/Interface/models/IEngagementBankTransaction.d.ts.map +1 -0
- package/es/types/Interface/models/IEngagementBankTransaction.js +2 -0
- package/es/types/Interface/models/IEngagementBankTransaction.js.map +1 -0
- package/es/types/Interface/models/IEstimateInvoice.d.ts +0 -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/IExercice.d.ts +2 -7
- 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/IFaq.d.ts +15 -0
- package/es/types/Interface/models/IFaq.d.ts.map +1 -0
- package/es/types/Interface/models/IFaq.js +2 -0
- package/es/types/Interface/models/IFaq.js.map +1 -0
- package/es/types/Interface/models/IFaqCategory.d.ts +5 -0
- package/es/types/Interface/models/IFaqCategory.d.ts.map +1 -0
- package/es/types/Interface/models/IFaqCategory.js +2 -0
- package/es/types/Interface/models/IFaqCategory.js.map +1 -0
- package/es/types/Interface/models/IFollowedQualityMail.d.ts +13 -0
- package/es/types/Interface/models/IFollowedQualityMail.d.ts.map +1 -0
- package/es/types/Interface/models/IFollowedQualityMail.js +2 -0
- package/es/types/Interface/models/IFollowedQualityMail.js.map +1 -0
- package/es/types/Interface/models/IFollowedQualityMailType.d.ts +7 -0
- package/es/types/Interface/models/IFollowedQualityMailType.d.ts.map +1 -0
- package/es/types/Interface/models/IFollowedQualityMailType.js +2 -0
- package/es/types/Interface/models/IFollowedQualityMailType.js.map +1 -0
- package/es/types/Interface/models/IGedFile.d.ts +0 -3
- 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/IIdentification.d.ts +18 -0
- package/es/types/Interface/models/IIdentification.d.ts.map +1 -0
- package/es/types/Interface/models/IIdentification.js +2 -0
- package/es/types/Interface/models/IIdentification.js.map +1 -0
- package/es/types/Interface/models/IImmobilization.d.ts +0 -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/IInterestedByFeature.d.ts +11 -0
- package/es/types/Interface/models/IInterestedByFeature.d.ts.map +1 -0
- package/es/types/Interface/models/IInterestedByFeature.js +2 -0
- package/es/types/Interface/models/IInterestedByFeature.js.map +1 -0
- package/es/types/Interface/models/IJob.d.ts +12 -0
- package/es/types/Interface/models/IJob.d.ts.map +1 -0
- package/es/types/Interface/models/IJob.js +2 -0
- package/es/types/Interface/models/IJob.js.map +1 -0
- package/es/types/Interface/models/IJobCategory.d.ts +9 -0
- package/es/types/Interface/models/IJobCategory.d.ts.map +1 -0
- package/es/types/Interface/models/IJobCategory.js +2 -0
- package/es/types/Interface/models/IJobCategory.js.map +1 -0
- package/es/types/Interface/models/IKilometricAllowanceScale.d.ts +0 -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/ILettering.d.ts +4 -0
- 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 +2 -0
- 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/IMobileNotificationLog.d.ts +2 -2
- package/es/types/Interface/models/IMobileNotificationLog.d.ts.map +1 -1
- package/es/types/Interface/models/IMobileNotificationLog.js.map +1 -1
- package/es/types/Interface/models/IMobileNotificationSetting.d.ts +2 -2
- package/es/types/Interface/models/IMobileNotificationSetting.d.ts.map +1 -1
- package/es/types/Interface/models/IMobileNotificationSetting.js.map +1 -1
- package/es/types/Interface/models/IPageView.d.ts +10 -0
- package/es/types/Interface/models/IPageView.d.ts.map +1 -0
- package/es/types/Interface/models/IPageView.js +2 -0
- package/es/types/Interface/models/IPageView.js.map +1 -0
- package/es/types/Interface/models/IPayment.d.ts +0 -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/IPenalty.d.ts +27 -0
- package/es/types/Interface/models/IPenalty.d.ts.map +1 -0
- package/es/types/Interface/models/IPenalty.js +2 -0
- package/es/types/Interface/models/IPenalty.js.map +1 -0
- package/es/types/Interface/models/IPenaltyType.d.ts +7 -0
- package/es/types/Interface/models/IPenaltyType.d.ts.map +1 -0
- package/es/types/Interface/models/IPenaltyType.js +2 -0
- package/es/types/Interface/models/IPenaltyType.js.map +1 -0
- package/es/types/Interface/models/IRegistration.d.ts +12 -1
- package/es/types/Interface/models/IRegistration.d.ts.map +1 -1
- package/es/types/Interface/models/IRegistration.js.map +1 -1
- package/es/types/Interface/models/{IVatDeclarationCertificate.d.ts → IRegistrationCertificate.d.ts} +6 -3
- package/es/types/Interface/models/IRegistrationCertificate.d.ts.map +1 -0
- package/es/types/Interface/models/IRegistrationCertificate.js +2 -0
- package/es/types/Interface/models/IRegistrationCertificate.js.map +1 -0
- package/es/types/Interface/models/IRegulate.d.ts +3 -5
- 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/IReport.d.ts +0 -3
- 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/ISociety.d.ts +3 -6
- 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 +2 -4
- 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/ISocietyDetail.d.ts +97 -97
- 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/ISuggestion.d.ts +14 -0
- package/es/types/Interface/models/ISuggestion.d.ts.map +1 -0
- package/es/types/Interface/models/ISuggestion.js +2 -0
- package/es/types/Interface/models/ISuggestion.js.map +1 -0
- package/es/types/Interface/models/ISupervision.d.ts +4 -0
- 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 +8 -0
- package/es/types/Interface/models/ISupervisionJob.d.ts.map +1 -0
- package/es/types/Interface/models/ISupervisionJob.js +2 -0
- package/es/types/Interface/models/ISupervisionJob.js.map +1 -0
- package/es/types/Interface/models/IThirdPartySociety.d.ts +0 -2
- 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/ITmpValidationToken.d.ts +11 -0
- package/es/types/Interface/models/ITmpValidationToken.d.ts.map +1 -0
- package/es/types/Interface/models/ITmpValidationToken.js +2 -0
- package/es/types/Interface/models/ITmpValidationToken.js.map +1 -0
- package/es/types/Interface/models/IUser.d.ts +0 -6
- 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/IUserSocietyTicketSupport.d.ts +9 -0
- package/es/types/Interface/models/IUserSocietyTicketSupport.d.ts.map +1 -0
- package/es/types/Interface/models/IUserSocietyTicketSupport.js +2 -0
- package/es/types/Interface/models/IUserSocietyTicketSupport.js.map +1 -0
- package/es/types/Interface/models/IVatDeclaration.d.ts +3 -2
- 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/IVatMargin.d.ts +7 -0
- package/es/types/Interface/models/IVatMargin.d.ts.map +1 -0
- package/es/types/Interface/models/IVatMargin.js +2 -0
- package/es/types/Interface/models/IVatMargin.js.map +1 -0
- package/es/types/Interface/models/IWebMailSpam.d.ts +8 -0
- package/es/types/Interface/models/IWebMailSpam.d.ts.map +1 -0
- package/es/types/Interface/models/IWebMailSpam.js +2 -0
- package/es/types/Interface/models/IWebMailSpam.js.map +1 -0
- package/es/types/Interface/models/IWebMailSpamType.d.ts +7 -0
- package/es/types/Interface/models/IWebMailSpamType.d.ts.map +1 -0
- package/es/types/Interface/models/IWebMailSpamType.js +2 -0
- package/es/types/Interface/models/IWebMailSpamType.js.map +1 -0
- package/es/types/Interface/models/IWorkingSchedule.d.ts +0 -2
- package/es/types/Interface/models/IWorkingSchedule.d.ts.map +1 -1
- package/es/types/Interface/models/IWorkingSchedule.js.map +1 -1
- package/es/types/Interface/schemas/IRegistrationDetail.d.ts +11 -0
- package/es/types/Interface/schemas/IRegistrationDetail.d.ts.map +1 -0
- package/es/types/Interface/schemas/IRegistrationDetail.js +2 -0
- package/es/types/Interface/schemas/IRegistrationDetail.js.map +1 -0
- package/es/types/Interface/schemas/ITransactionHistory.d.ts +11 -0
- package/es/types/Interface/schemas/ITransactionHistory.d.ts.map +1 -0
- package/es/types/Interface/schemas/ITransactionHistory.js +2 -0
- package/es/types/Interface/schemas/ITransactionHistory.js.map +1 -0
- package/es/types/index.d.ts +39 -31
- package/es/types/index.d.ts.map +1 -1
- package/es/types/index.js +40 -31
- package/es/types/index.js.map +1 -1
- package/es/utils/amount.d.ts +0 -1
- package/es/utils/amount.d.ts.map +1 -1
- package/es/utils/amount.js +0 -300
- package/es/utils/amount.js.map +1 -1
- package/es/utils/brands.d.ts +0 -8
- package/es/utils/brands.d.ts.map +1 -1
- package/es/utils/brands.js.map +1 -1
- package/es/utils/email/templates/signature.d.ts.map +1 -1
- package/es/utils/email/templates/signature.js +7 -6
- package/es/utils/email/templates/signature.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/quotation.d.ts.map +1 -1
- package/es/utils/quotation.js +3 -5
- package/es/utils/quotation.js.map +1 -1
- package/es/utils/vat/3310/century23.d.ts +7 -0
- package/es/utils/vat/3310/century23.d.ts.map +1 -0
- package/es/utils/vat/3310/century23.js +1396 -0
- package/es/utils/vat/3310/century23.js.map +1 -0
- package/es/utils/vat/3514/century22.d.ts +5 -0
- package/es/utils/vat/3514/century22.d.ts.map +1 -0
- package/es/utils/vat/3514/century22.js +100 -0
- package/es/utils/vat/3514/century22.js.map +1 -0
- package/es/utils/vat/3514/century23.d.ts +4 -0
- package/es/utils/vat/3514/century23.d.ts.map +1 -0
- package/es/utils/vat/3514/century23.js +116 -0
- package/es/utils/vat/3514/century23.js.map +1 -0
- package/es/utils/vat/3517/century23.d.ts +40 -0
- package/es/utils/vat/3517/century23.d.ts.map +1 -0
- package/es/utils/vat/3517/century23.js +1741 -0
- package/es/utils/vat/3517/century23.js.map +1 -0
- package/es/utils/vat/3519/century17.d.ts +5 -0
- package/es/utils/vat/3519/century17.d.ts.map +1 -0
- package/es/utils/vat/3519/century17.js +86 -0
- package/es/utils/vat/3519/century17.js.map +1 -0
- package/es/utils/vat/3519/century23.d.ts +4 -0
- package/es/utils/vat/3519/century23.d.ts.map +1 -0
- package/es/utils/vat/3519/century23.js +145 -0
- package/es/utils/vat/3519/century23.js.map +1 -0
- package/es/utils/vat/centuries.d.ts +4 -0
- package/es/utils/vat/centuries.d.ts.map +1 -0
- package/es/utils/vat/centuries.js +57 -0
- package/es/utils/vat/centuries.js.map +1 -0
- package/es/utils/vat/index.d.ts +4 -0
- package/es/utils/vat/index.d.ts.map +1 -0
- package/es/utils/vat/index.js +4 -0
- package/es/utils/vat/index.js.map +1 -0
- package/es/utils/vat/registration.d.ts +9 -0
- package/es/utils/vat/registration.d.ts.map +1 -0
- package/es/utils/vat/registration.js +118 -0
- package/es/utils/vat/registration.js.map +1 -0
- package/es/utils/vat/utils.d.ts +5 -0
- package/es/utils/vat/utils.d.ts.map +1 -0
- package/es/utils/vat/utils.js +46 -0
- package/es/utils/vat/utils.js.map +1 -0
- package/export-models.json +28811 -0
- package/importInterfaces.ts +91 -0
- package/js/api/resources/AccountingFiles.js +1 -7
- package/js/api/resources/AccountingFiles.js.map +1 -1
- package/js/api/resources/CommercialSetting.js +3 -0
- package/js/api/resources/CommercialSetting.js.map +1 -1
- package/js/api/resources/FIle.js +0 -6
- package/js/api/resources/FIle.js.map +1 -1
- package/js/api/resources/FirstStep.js +0 -3
- package/js/api/resources/FirstStep.js.map +1 -1
- package/js/api/resources/Invoice.js +0 -6
- package/js/api/resources/Invoice.js.map +1 -1
- package/js/api/resources/Mail.js +0 -5
- package/js/api/resources/Mail.js.map +1 -1
- package/js/api/resources/Notification.js +1 -7
- package/js/api/resources/Notification.js.map +1 -1
- package/js/api/resources/Prestations.js +0 -8
- package/js/api/resources/Prestations.js.map +1 -1
- package/js/api/resources/Registration.js +3 -0
- package/js/api/resources/Registration.js.map +1 -1
- package/js/api/resources/Report.js +0 -7
- package/js/api/resources/Report.js.map +1 -1
- package/js/api/resources/Rule.js +0 -3
- package/js/api/resources/Rule.js.map +1 -1
- package/js/api/resources/Tax.js +5 -0
- package/js/api/resources/Tax.js.map +1 -1
- package/js/api/resources/TaxDeadline.js +7 -0
- package/js/api/resources/TaxDeadline.js.map +1 -1
- package/js/api/resources/TimeRecorder.js +0 -5
- package/js/api/resources/TimeRecorder.js.map +1 -1
- package/js/api/resources/User.js +3 -2
- package/js/api/resources/User.js.map +1 -1
- package/js/api/resources/Vat.js +111 -0
- package/js/api/resources/Vat.js.map +1 -0
- 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 -9
- package/js/api/resources.js.map +1 -1
- package/js/index.js.map +1 -1
- package/js/types/Enum/Account.js +0 -8
- package/js/types/Enum/Account.js.map +1 -1
- package/js/types/Enum/Activity.js +0 -50
- package/js/types/Enum/Activity.js.map +1 -1
- package/js/types/Enum/BalanceSheet.js +1 -1
- package/js/types/Enum/BalanceSheet.js.map +1 -1
- package/js/types/Enum/BrandClementine.js +109 -24
- package/js/types/Enum/BrandClementine.js.map +1 -1
- package/js/types/Enum/BrandComptalib.js +76 -14
- package/js/types/Enum/BrandComptalib.js.map +1 -1
- package/js/types/Enum/BrandLegalstart.js +23 -45
- package/js/types/Enum/BrandLegalstart.js.map +1 -1
- package/js/types/Enum/BrandPourcentage.js +1 -457
- package/js/types/Enum/BrandPourcentage.js.map +1 -1
- package/js/types/Enum/ConnectorType.js +1 -1
- package/js/types/Enum/ConnectorType.js.map +1 -1
- package/js/types/Enum/ConstitutionState.js +6 -6
- package/js/types/Enum/ConstitutionState.js.map +1 -1
- package/js/types/Enum/Country.js +0 -780
- package/js/types/Enum/Country.js.map +1 -1
- package/js/types/Enum/Ged.js +1 -1
- package/js/types/Enum/Ged.js.map +1 -1
- package/js/types/Enum/InternalService.js +0 -12
- package/js/types/Enum/InternalService.js.map +1 -1
- package/js/types/Enum/JobTitle.js +0 -35
- package/js/types/Enum/JobTitle.js.map +1 -1
- package/js/types/Enum/Log.js +0 -200
- package/js/types/Enum/Log.js.map +1 -1
- package/js/types/Enum/MealExpenseThresholds.js +2 -6
- package/js/types/Enum/MealExpenseThresholds.js.map +1 -1
- package/js/types/Enum/MimeType.js +0 -1
- package/js/types/Enum/MimeType.js.map +1 -1
- package/js/types/Enum/NafCode.js +28 -0
- package/js/types/Enum/NafCode.js.map +1 -0
- package/js/types/Enum/NotificationType.js +5 -41
- package/js/types/Enum/NotificationType.js.map +1 -1
- package/js/types/Enum/Office.js +25 -0
- package/js/types/Enum/Office.js.map +1 -0
- package/js/types/Enum/Phone.js +1 -1
- package/js/types/Enum/Phone.js.map +1 -1
- package/js/types/Enum/PrestationType.js +0 -72
- package/js/types/Enum/PrestationType.js.map +1 -1
- package/js/types/Enum/Registration.js +6 -0
- package/js/types/Enum/Registration.js.map +1 -1
- package/js/types/Enum/RegistrationSource.js +0 -1
- package/js/types/Enum/RegistrationSource.js.map +1 -1
- package/js/types/Enum/ReportService.js +9 -21
- package/js/types/Enum/ReportService.js.map +1 -1
- package/js/types/Enum/Role.js +0 -2
- package/js/types/Enum/Role.js.map +1 -1
- package/js/types/Enum/RoleDetail.js +8 -30
- package/js/types/Enum/RoleDetail.js.map +1 -1
- package/js/types/Enum/TaskResponseType.js +0 -52
- package/js/types/Enum/TaskResponseType.js.map +1 -1
- package/js/types/Enum/Tax.js +6 -0
- package/js/types/Enum/Tax.js.map +1 -1
- package/js/types/Enum/TaxSystem.js +0 -10
- package/js/types/Enum/TaxSystem.js.map +1 -1
- package/js/types/Enum/TimeRecorderLocation.js +14 -0
- package/js/types/Enum/TimeRecorderLocation.js.map +1 -0
- package/js/types/Enum/Unit.js +0 -10
- package/js/types/Enum/Unit.js.map +1 -1
- package/js/types/Enum/VatDeclarationType.js +40 -40
- package/js/types/Enum/VatDeclarationType.js.map +1 -1
- package/js/types/Interface/api/accountingFiles/OcrPayload.js.map +1 -1
- package/js/types/Interface/api/accountingFiles/queryAccountingFiles.js +0 -1
- package/js/types/Interface/api/accountingFiles/queryAccountingFiles.js.map +1 -1
- package/js/types/Interface/api/aspone/ReadInterchange.js.map +1 -1
- package/js/types/Interface/api/{accountingFiles/Read.js → cerfa/3310.js} +1 -1
- package/js/types/Interface/api/cerfa/3310.js.map +1 -0
- package/js/types/Interface/api/{commercialImport/Read.js → cerfa/3514.js} +1 -1
- package/js/types/Interface/api/cerfa/3514.js.map +1 -0
- package/js/types/Interface/api/cerfa/3517.js +8 -0
- package/js/types/Interface/api/cerfa/3517.js.map +1 -0
- package/js/types/Interface/{models/ICustomerTva.js → api/cerfa/3519.js} +1 -1
- package/js/types/Interface/api/cerfa/3519.js.map +1 -0
- package/js/types/Interface/api/cerfa/ReadCerfa.js +2 -0
- package/js/types/Interface/api/cerfa/ReadCerfa.js.map +1 -1
- package/js/types/Interface/api/exercice/CreateExercice.js +0 -1
- package/js/types/Interface/api/exercice/CreateExercice.js.map +1 -1
- package/js/types/Interface/api/exercice/QueryExercice.js +0 -1
- package/js/types/Interface/api/exercice/QueryExercice.js.map +1 -1
- package/js/types/Interface/api/exercice/UpdateExercice.js +0 -2
- package/js/types/Interface/api/exercice/UpdateExercice.js.map +1 -1
- package/js/types/Interface/api/generalLedger/IGeneralLedgerAccount.js.map +1 -1
- package/js/types/Interface/api/notification/CreateNotification.js +1 -1
- package/js/types/Interface/api/notification/CreateNotification.js.map +1 -1
- package/js/types/Interface/api/notificationSetting/CreateNotificationSetting.js +1 -1
- package/js/types/Interface/api/notificationSetting/CreateNotificationSetting.js.map +1 -1
- package/js/types/Interface/api/notificationSetting/UpdateNotificationSetting.js +1 -1
- package/js/types/Interface/api/notificationSetting/UpdateNotificationSetting.js.map +1 -1
- package/js/types/Interface/api/registration/CreateRegistration.js +34 -1
- package/js/types/Interface/api/registration/CreateRegistration.js.map +1 -1
- package/js/types/Interface/api/registration/DeclareRegistration.js +11 -1
- package/js/types/Interface/api/registration/DeclareRegistration.js.map +1 -1
- package/js/types/Interface/api/registration/QueryRegistration.js +11 -3
- package/js/types/Interface/api/registration/QueryRegistration.js.map +1 -1
- package/js/types/Interface/api/registration/ReadRegistration.js.map +1 -1
- package/js/types/Interface/api/{firstStep/Create.js → registration/UpdateRegistration.js} +12 -11
- package/js/types/Interface/api/registration/UpdateRegistration.js.map +1 -0
- package/js/types/Interface/api/report/ReadReportStats.js.map +1 -1
- package/js/types/Interface/api/society/CreateSociety.js +0 -1
- package/js/types/Interface/api/society/CreateSociety.js.map +1 -1
- package/js/types/Interface/api/statistic/QueryInternal.js +2 -4
- package/js/types/Interface/api/statistic/QueryInternal.js.map +1 -1
- package/js/types/Interface/api/{team/QueryCreate.js → tax/QueryTax.js} +7 -6
- package/js/types/Interface/api/tax/QueryTax.js.map +1 -0
- package/js/types/Interface/api/tax/ReadTax.js +2 -0
- package/js/types/Interface/api/tax/ReadTax.js.map +1 -1
- package/js/types/Interface/api/taxDeadline/QueryTaxDeadline.js +21 -6
- package/js/types/Interface/api/taxDeadline/QueryTaxDeadline.js.map +1 -1
- package/js/types/Interface/api/taxDeadline/ReadTaxDeadline.js +2 -0
- package/js/types/Interface/api/taxDeadline/ReadTaxDeadline.js.map +1 -1
- package/js/types/Interface/api/timeRecorder/QueryPaginatedDelays.js +0 -1
- package/js/types/Interface/api/timeRecorder/QueryPaginatedDelays.js.map +1 -1
- package/js/types/Interface/api/timeRecorder/ReadPaginatedDelays.js.map +1 -1
- package/js/types/Interface/api/vatDeclaration/QueryVatDeclaration.js +15 -16
- package/js/types/Interface/api/vatDeclaration/QueryVatDeclaration.js.map +1 -1
- package/js/types/Interface/api/vatDeclaration/ReadVatDeclaration.js +8 -0
- package/js/types/Interface/api/vatDeclaration/ReadVatDeclaration.js.map +1 -0
- package/js/types/Interface/models/IAccountingEntry.js.map +1 -1
- package/js/types/Interface/models/IAccountingTransaction.js.map +1 -1
- package/js/types/Interface/models/IAccountingTransaction_new.js +6 -0
- package/js/types/Interface/models/IAccountingTransaction_new.js.map +1 -0
- package/js/types/Interface/models/IAccountsSocieties.js.map +1 -1
- package/js/types/Interface/models/IApiError.js +0 -8
- 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/IAutoLoginToken.js +6 -0
- package/js/types/Interface/models/IAutoLoginToken.js.map +1 -0
- package/js/types/Interface/models/IBalanceSheet.js.map +1 -1
- package/js/types/Interface/models/{IAppNotification.js → IBankTransaction.js} +1 -1
- package/js/types/Interface/models/IBankTransaction.js.map +1 -0
- package/js/types/Interface/{api/companeo/CompaneoReturn.js → models/ICallDirectly.js} +1 -1
- package/js/types/Interface/models/ICallDirectly.js.map +1 -0
- package/js/types/Interface/models/IChecklist.js.map +1 -1
- package/js/types/Interface/models/ICustomerVat.js +6 -0
- package/js/types/Interface/models/ICustomerVat.js.map +1 -0
- package/js/types/Interface/models/IEngagementAccountingEntry.js +6 -0
- package/js/types/Interface/models/IEngagementAccountingEntry.js.map +1 -0
- package/js/types/Interface/models/IEngagementAccountingFile.js +6 -0
- package/js/types/Interface/models/IEngagementAccountingFile.js.map +1 -0
- package/js/types/Interface/models/IEngagementBankTransaction.js +6 -0
- package/js/types/Interface/models/IEngagementBankTransaction.js.map +1 -0
- package/js/types/Interface/models/IEstimateInvoice.js.map +1 -1
- package/js/types/Interface/models/IExercice.js.map +1 -1
- package/js/types/Interface/models/IFaq.js +6 -0
- package/js/types/Interface/models/IFaq.js.map +1 -0
- package/js/types/Interface/models/IFaqCategory.js +6 -0
- package/js/types/Interface/models/IFaqCategory.js.map +1 -0
- package/js/types/Interface/models/IFollowedQualityMail.js +6 -0
- package/js/types/Interface/models/IFollowedQualityMail.js.map +1 -0
- package/js/types/Interface/models/IFollowedQualityMailType.js +6 -0
- package/js/types/Interface/models/IFollowedQualityMailType.js.map +1 -0
- package/js/types/Interface/models/IGedFile.js.map +1 -1
- package/js/types/Interface/models/IIdentification.js +6 -0
- package/js/types/Interface/models/IIdentification.js.map +1 -0
- package/js/types/Interface/models/IImmobilization.js.map +1 -1
- package/js/types/Interface/models/IInterestedByFeature.js +6 -0
- package/js/types/Interface/models/IInterestedByFeature.js.map +1 -0
- package/js/types/Interface/models/IJob.js +6 -0
- package/js/types/Interface/models/IJob.js.map +1 -0
- package/js/types/Interface/models/IJobCategory.js +6 -0
- package/js/types/Interface/models/IJobCategory.js.map +1 -0
- package/js/types/Interface/models/IKilometricAllowanceScale.js.map +1 -1
- package/js/types/Interface/models/ILettering.js.map +1 -1
- package/js/types/Interface/models/ILog.js.map +1 -1
- package/js/types/Interface/models/IMobileNotificationLog.js.map +1 -1
- package/js/types/Interface/models/IMobileNotificationSetting.js.map +1 -1
- package/js/types/Interface/models/IPageView.js +6 -0
- package/js/types/Interface/models/IPageView.js.map +1 -0
- package/js/types/Interface/models/IPayment.js.map +1 -1
- package/js/types/Interface/models/IPenalty.js +6 -0
- package/js/types/Interface/models/IPenalty.js.map +1 -0
- package/js/types/Interface/models/IPenaltyType.js +6 -0
- package/js/types/Interface/models/IPenaltyType.js.map +1 -0
- package/js/types/Interface/models/IRegistration.js.map +1 -1
- package/js/types/Interface/models/IRegistrationCertificate.js +6 -0
- package/js/types/Interface/models/IRegistrationCertificate.js.map +1 -0
- package/js/types/Interface/models/IRegulate.js.map +1 -1
- package/js/types/Interface/models/IReport.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/ISocietyDetail.js.map +1 -1
- package/js/types/Interface/models/ISuggestion.js +6 -0
- package/js/types/Interface/models/ISuggestion.js.map +1 -0
- package/js/types/Interface/models/ISupervision.js.map +1 -1
- package/js/types/Interface/models/ISupervisionJob.js +6 -0
- package/js/types/Interface/models/ISupervisionJob.js.map +1 -0
- package/js/types/Interface/models/IThirdPartySociety.js.map +1 -1
- package/js/types/Interface/models/ITmpValidationToken.js +6 -0
- package/js/types/Interface/models/ITmpValidationToken.js.map +1 -0
- package/js/types/Interface/models/IUser.js.map +1 -1
- package/js/types/Interface/models/IUserSocietyTicketSupport.js +6 -0
- package/js/types/Interface/models/IUserSocietyTicketSupport.js.map +1 -0
- package/js/types/Interface/models/IVatDeclaration.js.map +1 -1
- package/js/types/Interface/models/IVatMargin.js +6 -0
- package/js/types/Interface/models/IVatMargin.js.map +1 -0
- package/js/types/Interface/models/IWebMailSpam.js +6 -0
- package/js/types/Interface/models/IWebMailSpam.js.map +1 -0
- package/js/types/Interface/models/IWebMailSpamType.js +6 -0
- package/js/types/Interface/models/IWebMailSpamType.js.map +1 -0
- package/js/types/Interface/models/IWorkingSchedule.js.map +1 -1
- package/js/types/Interface/schemas/IRegistrationDetail.js +6 -0
- package/js/types/Interface/schemas/IRegistrationDetail.js.map +1 -0
- package/js/types/Interface/schemas/ITransactionHistory.js +6 -0
- package/js/types/Interface/schemas/ITransactionHistory.js.map +1 -0
- package/js/types/index.js +457 -377
- package/js/types/index.js.map +1 -1
- package/js/utils/amount.js +0 -238
- package/js/utils/amount.js.map +1 -1
- package/js/utils/brands.js.map +1 -1
- package/js/utils/email/templates/signature.js +7 -6
- package/js/utils/email/templates/signature.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/quotation.js +3 -5
- package/js/utils/quotation.js.map +1 -1
- package/js/utils/vat/3310/century23.js +1241 -0
- package/js/utils/vat/3310/century23.js.map +1 -0
- package/js/utils/vat/3514/century22.js +104 -0
- package/js/utils/vat/3514/century22.js.map +1 -0
- package/js/utils/vat/3514/century23.js +106 -0
- package/js/utils/vat/3514/century23.js.map +1 -0
- package/js/utils/vat/3517/century23.js +1814 -0
- package/js/utils/vat/3517/century23.js.map +1 -0
- package/js/utils/vat/3519/century17.js +91 -0
- package/js/utils/vat/3519/century17.js.map +1 -0
- package/js/utils/vat/3519/century23.js +134 -0
- package/js/utils/vat/3519/century23.js.map +1 -0
- package/js/utils/vat/centuries.js +64 -0
- package/js/utils/vat/centuries.js.map +1 -0
- package/js/utils/vat/index.js +36 -0
- package/js/utils/vat/index.js.map +1 -0
- package/js/utils/vat/registration.js +165 -0
- package/js/utils/vat/registration.js.map +1 -0
- package/js/utils/vat/utils.js +53 -0
- package/js/utils/vat/utils.js.map +1 -0
- package/package.json +1 -1
- package/table.json +264 -0
- package/ts/api/resources/AccountingFiles.ts +3 -10
- package/ts/api/resources/CommercialSetting.ts +5 -1
- package/ts/api/resources/FIle.ts +0 -5
- package/ts/api/resources/FirstStep.ts +1 -5
- package/ts/api/resources/Invoice.ts +0 -8
- package/ts/api/resources/Mail.ts +0 -5
- package/ts/api/resources/Notification.ts +1 -10
- package/ts/api/resources/Prestations.ts +0 -9
- package/ts/api/resources/Registration.ts +5 -0
- package/ts/api/resources/Report.ts +1 -4
- package/ts/api/resources/Rule.ts +0 -4
- package/ts/api/resources/Tax.ts +5 -1
- package/ts/api/resources/TaxDeadline.ts +7 -1
- package/ts/api/resources/TimeRecorder.ts +1 -4
- package/ts/api/resources/User.ts +3 -2
- package/ts/api/resources/Vat.ts +79 -0
- package/ts/api/resources/statistic/CustomerSuccess.ts +1 -1
- package/ts/api/resources.ts +2 -8
- package/ts/index.ts +1 -0
- package/ts/types/Enum/Account.ts +0 -8
- package/ts/types/Enum/Activity.ts +1 -52
- package/ts/types/Enum/BalanceSheet.ts +1 -1
- package/ts/types/Enum/BrandClementine.ts +111 -24
- package/ts/types/Enum/BrandComptalib.ts +77 -14
- package/ts/types/Enum/BrandLegalstart.ts +23 -45
- package/ts/types/Enum/BrandPourcentage.ts +1 -462
- package/ts/types/Enum/ConnectorType.ts +1 -1
- package/ts/types/Enum/ConstitutionState.ts +4 -4
- package/ts/types/Enum/Country.ts +0 -394
- package/ts/types/Enum/Ged.ts +1 -1
- package/ts/types/Enum/InternalService.ts +0 -12
- package/ts/types/Enum/JobTitle.ts +0 -42
- package/ts/types/Enum/Log.ts +1 -202
- package/ts/types/Enum/MealExpenseThresholds.ts +2 -6
- package/ts/types/Enum/MimeType.ts +0 -1
- package/ts/types/Enum/NafCode.ts +21 -0
- package/ts/types/Enum/NotificationType.ts +2 -49
- package/ts/types/Enum/Office.ts +19 -0
- package/ts/types/Enum/Phone.ts +1 -1
- package/ts/types/Enum/PrestationType.ts +0 -72
- package/ts/types/Enum/Registration.ts +6 -0
- package/ts/types/Enum/RegistrationSource.ts +0 -1
- package/ts/types/Enum/ReportService.ts +8 -20
- package/ts/types/Enum/Role.ts +0 -2
- package/ts/types/Enum/RoleDetail.ts +1 -23
- package/ts/types/Enum/TaskResponseType.ts +0 -57
- package/ts/types/Enum/Tax.ts +6 -0
- package/ts/types/Enum/TaxSystem.ts +1 -18
- package/ts/types/Enum/TimeRecorderLocation.ts +9 -0
- package/ts/types/Enum/Unit.ts +0 -11
- package/ts/types/Enum/VatDeclarationType.ts +40 -40
- package/ts/types/Interface/api/accountingFiles/OcrPayload.ts +1 -0
- package/ts/types/Interface/api/accountingFiles/queryAccountingFiles.ts +1 -4
- package/ts/types/Interface/api/aspone/ReadInterchange.ts +6 -4
- package/ts/types/Interface/api/cerfa/3310.ts +247 -0
- package/ts/types/Interface/api/cerfa/3514.ts +67 -0
- package/ts/types/Interface/api/cerfa/3517.ts +334 -0
- package/ts/types/Interface/api/cerfa/3519.ts +53 -0
- package/ts/types/Interface/api/cerfa/ReadCerfa.ts +47 -2
- package/ts/types/Interface/api/exercice/CreateExercice.ts +0 -6
- package/ts/types/Interface/api/exercice/QueryExercice.ts +0 -6
- package/ts/types/Interface/api/exercice/UpdateExercice.ts +0 -12
- package/ts/types/Interface/api/generalLedger/IGeneralLedgerAccount.ts +1 -3
- package/ts/types/Interface/api/notification/CreateNotification.ts +3 -3
- package/ts/types/Interface/api/notificationSetting/CreateNotificationSetting.ts +3 -3
- package/ts/types/Interface/api/notificationSetting/UpdateNotificationSetting.ts +3 -3
- package/ts/types/Interface/api/registration/CreateRegistration.ts +112 -1
- package/ts/types/Interface/api/registration/DeclareRegistration.ts +34 -2
- package/ts/types/Interface/api/registration/QueryRegistration.ts +27 -2
- package/ts/types/Interface/api/registration/ReadRegistration.ts +29 -2
- package/ts/types/Interface/api/registration/UpdateRegistration.ts +42 -0
- package/ts/types/Interface/api/report/ReadReportStats.ts +1 -2
- package/ts/types/Interface/api/society/CreateSociety.ts +0 -3
- package/ts/types/Interface/api/statistic/QueryInternal.ts +0 -2
- package/ts/types/Interface/api/tax/QueryTax.ts +16 -0
- package/ts/types/Interface/api/tax/ReadTax.ts +25 -0
- package/ts/types/Interface/api/taxDeadline/QueryTaxDeadline.ts +52 -10
- package/ts/types/Interface/api/taxDeadline/ReadTaxDeadline.ts +20 -5
- package/ts/types/Interface/api/timeRecorder/QueryPaginatedDelays.ts +0 -5
- package/ts/types/Interface/api/timeRecorder/ReadPaginatedDelays.ts +2 -8
- package/ts/types/Interface/api/vatDeclaration/QueryVatDeclaration.ts +23 -42
- package/ts/types/Interface/api/vatDeclaration/ReadVatDeclaration.ts +14 -0
- package/ts/types/Interface/models/IAccountingEntry.ts +2 -0
- package/ts/types/Interface/models/IAccountingTransaction.ts +1 -2
- package/ts/types/Interface/models/IAccountingTransaction_new.ts +20 -0
- package/ts/types/Interface/models/IAccountsSocieties.ts +0 -4
- package/ts/types/Interface/models/IApiError.ts +0 -10
- package/ts/types/Interface/models/IAreasInvoice.ts +1 -0
- package/ts/types/Interface/models/IAutoLoginToken.ts +10 -0
- package/ts/types/Interface/models/IBalanceSheet.ts +0 -4
- package/ts/types/Interface/models/IBankTransaction.ts +37 -0
- package/ts/types/Interface/models/ICallDirectly.ts +29 -0
- package/ts/types/Interface/models/IChecklist.ts +2 -2
- package/ts/types/Interface/models/{ICustomerTva.ts → ICustomerVat.ts} +9 -8
- package/ts/types/Interface/models/IEngagementAccountingEntry.ts +30 -0
- package/ts/types/Interface/models/IEngagementAccountingFile.ts +46 -0
- package/ts/types/Interface/models/IEngagementBankTransaction.ts +36 -0
- package/ts/types/Interface/models/IEstimateInvoice.ts +0 -1
- package/ts/types/Interface/models/IExercice.ts +2 -7
- package/ts/types/Interface/models/IFaq.ts +18 -0
- package/ts/types/Interface/models/IFaqCategory.ts +5 -0
- package/ts/types/Interface/models/IFollowedQualityMail.ts +16 -0
- package/ts/types/Interface/models/IFollowedQualityMailType.ts +7 -0
- package/ts/types/Interface/models/IGedFile.ts +0 -3
- package/ts/types/Interface/models/IIdentification.ts +21 -0
- package/ts/types/Interface/models/IImmobilization.ts +0 -2
- package/ts/types/Interface/models/IInterestedByFeature.ts +14 -0
- package/ts/types/Interface/models/IJob.ts +15 -0
- package/ts/types/Interface/models/IJobCategory.ts +12 -0
- package/ts/types/Interface/models/IKilometricAllowanceScale.ts +0 -1
- package/ts/types/Interface/models/ILettering.ts +8 -0
- package/ts/types/Interface/models/ILog.ts +2 -0
- package/ts/types/Interface/models/IMobileNotificationLog.ts +2 -2
- package/ts/types/Interface/models/IMobileNotificationSetting.ts +2 -2
- package/ts/types/Interface/models/IPageView.ts +13 -0
- package/ts/types/Interface/models/IPayment.ts +0 -1
- package/ts/types/Interface/models/IPenalty.ts +30 -0
- package/ts/types/Interface/models/IPenaltyType.ts +7 -0
- package/ts/types/Interface/models/IRegistration.ts +12 -1
- package/ts/types/Interface/models/{IVatDeclarationCertificate.ts → IRegistrationCertificate.ts} +5 -3
- package/ts/types/Interface/models/IRegulate.ts +3 -5
- package/ts/types/Interface/models/IReport.ts +0 -3
- package/ts/types/Interface/models/ISociety.ts +2 -8
- package/ts/types/Interface/models/ISocietyApproval.ts +2 -4
- package/ts/types/Interface/models/ISocietyDetail.ts +97 -97
- package/ts/types/Interface/models/ISuggestion.ts +17 -0
- package/ts/types/Interface/models/ISupervision.ts +4 -0
- package/ts/types/Interface/models/ISupervisionJob.ts +8 -0
- package/ts/types/Interface/models/IThirdPartySociety.ts +0 -5
- package/ts/types/Interface/models/ITmpValidationToken.ts +14 -0
- package/ts/types/Interface/models/IUser.ts +0 -6
- package/ts/types/Interface/models/IUserSocietyTicketSupport.ts +9 -0
- package/ts/types/Interface/models/IVatDeclaration.ts +4 -3
- package/ts/types/Interface/models/IVatMargin.ts +7 -0
- package/ts/types/Interface/models/IWebMailSpam.ts +8 -0
- package/ts/types/Interface/models/IWebMailSpamType.ts +7 -0
- package/ts/types/Interface/models/IWorkingSchedule.ts +0 -2
- package/ts/types/Interface/schemas/IRegistrationDetail.ts +11 -0
- package/ts/types/Interface/schemas/ITransactionHistory.ts +11 -0
- package/ts/types/index.ts +43 -32
- package/ts/utils/amount.ts +0 -171
- package/ts/utils/brands.ts +0 -8
- package/ts/utils/email/templates/signature.ts +7 -6
- package/ts/utils/email.ts +2 -2
- package/ts/utils/phone.ts +8 -8
- package/ts/utils/quotation.ts +3 -5
- package/ts/utils/vat/3310/century23.ts +1408 -0
- package/ts/utils/vat/3514/century22.ts +107 -0
- package/ts/utils/vat/3514/century23.ts +118 -0
- package/ts/utils/vat/3517/century23.ts +1763 -0
- package/ts/utils/vat/3519/century17.ts +88 -0
- package/ts/utils/vat/3519/century23.ts +147 -0
- package/ts/utils/vat/centuries.ts +66 -0
- package/ts/utils/vat/index.ts +3 -0
- package/ts/utils/vat/registration.ts +124 -0
- package/ts/utils/vat/utils.ts +47 -0
- package/es/api/resources/CashAndExpense.d.ts +0 -8
- package/es/api/resources/CashAndExpense.d.ts.map +0 -1
- package/es/api/resources/CashAndExpense.js +0 -27
- package/es/api/resources/CashAndExpense.js.map +0 -1
- package/es/api/resources/CommercialImport.d.ts +0 -9
- package/es/api/resources/CommercialImport.d.ts.map +0 -1
- package/es/api/resources/CommercialImport.js +0 -24
- package/es/api/resources/CommercialImport.js.map +0 -1
- package/es/api/resources/Team.d.ts +0 -30
- package/es/api/resources/Team.d.ts.map +0 -1
- package/es/api/resources/Team.js +0 -37
- package/es/api/resources/Team.js.map +0 -1
- package/es/api/resources/VatDeclaration.d.ts +0 -8
- package/es/api/resources/VatDeclaration.d.ts.map +0 -1
- package/es/api/resources/VatDeclaration.js +0 -16
- package/es/api/resources/VatDeclaration.js.map +0 -1
- package/es/types/Enum/BrandClems.d.ts +0 -164
- package/es/types/Enum/BrandClems.d.ts.map +0 -1
- package/es/types/Enum/BrandClems.js +0 -155
- package/es/types/Enum/BrandClems.js.map +0 -1
- package/es/types/Enum/CashDeskTransactionType.d.ts +0 -7
- package/es/types/Enum/CashDeskTransactionType.d.ts.map +0 -1
- package/es/types/Enum/CashDeskTransactionType.js +0 -8
- package/es/types/Enum/CashDeskTransactionType.js.map +0 -1
- package/es/types/Enum/CommercialImportHeader.d.ts +0 -12
- package/es/types/Enum/CommercialImportHeader.d.ts.map +0 -1
- package/es/types/Enum/CommercialImportHeader.js +0 -109
- package/es/types/Enum/CommercialImportHeader.js.map +0 -1
- package/es/types/Enum/Compensation.d.ts +0 -15
- package/es/types/Enum/Compensation.d.ts.map +0 -1
- package/es/types/Enum/Compensation.js +0 -15
- package/es/types/Enum/Compensation.js.map +0 -1
- package/es/types/Enum/EntityType.d.ts +0 -18
- package/es/types/Enum/EntityType.d.ts.map +0 -1
- package/es/types/Enum/EntityType.js +0 -66
- package/es/types/Enum/EntityType.js.map +0 -1
- package/es/types/Enum/PaymentExpectation.d.ts +0 -18
- package/es/types/Enum/PaymentExpectation.d.ts.map +0 -1
- package/es/types/Enum/PaymentExpectation.js +0 -66
- package/es/types/Enum/PaymentExpectation.js.map +0 -1
- package/es/types/Enum/ReasonTerminationType.d.ts +0 -23
- package/es/types/Enum/ReasonTerminationType.d.ts.map +0 -1
- package/es/types/Enum/ReasonTerminationType.js +0 -86
- package/es/types/Enum/ReasonTerminationType.js.map +0 -1
- package/es/types/Enum/RemoteType.d.ts +0 -10
- package/es/types/Enum/RemoteType.d.ts.map +0 -1
- package/es/types/Enum/RemoteType.js +0 -21
- package/es/types/Enum/RemoteType.js.map +0 -1
- package/es/types/Enum/ThirdParty.d.ts +0 -7
- package/es/types/Enum/ThirdParty.d.ts.map +0 -1
- package/es/types/Enum/ThirdParty.js +0 -7
- package/es/types/Enum/ThirdParty.js.map +0 -1
- package/es/types/Interface/api/accountingFiles/Read.d.ts +0 -6
- package/es/types/Interface/api/accountingFiles/Read.d.ts.map +0 -1
- package/es/types/Interface/api/accountingFiles/Read.js +0 -2
- package/es/types/Interface/api/accountingFiles/Read.js.map +0 -1
- package/es/types/Interface/api/appNotification/Update.d.ts +0 -5
- package/es/types/Interface/api/appNotification/Update.d.ts.map +0 -1
- package/es/types/Interface/api/appNotification/Update.js +0 -25
- package/es/types/Interface/api/appNotification/Update.js.map +0 -1
- package/es/types/Interface/api/archive/ImportSocietyArchive.d.ts +0 -4
- package/es/types/Interface/api/archive/ImportSocietyArchive.d.ts.map +0 -1
- package/es/types/Interface/api/archive/ImportSocietyArchive.js +0 -19
- package/es/types/Interface/api/archive/ImportSocietyArchive.js.map +0 -1
- package/es/types/Interface/api/cashAndExpense/Create.d.ts +0 -27
- package/es/types/Interface/api/cashAndExpense/Create.d.ts.map +0 -1
- package/es/types/Interface/api/cashAndExpense/Create.js +0 -91
- package/es/types/Interface/api/cashAndExpense/Create.js.map +0 -1
- package/es/types/Interface/api/commercialImport/Create.d.ts +0 -11
- package/es/types/Interface/api/commercialImport/Create.d.ts.map +0 -1
- package/es/types/Interface/api/commercialImport/Create.js +0 -34
- package/es/types/Interface/api/commercialImport/Create.js.map +0 -1
- package/es/types/Interface/api/commercialImport/Query.d.ts +0 -12
- package/es/types/Interface/api/commercialImport/Query.d.ts.map +0 -1
- package/es/types/Interface/api/commercialImport/Query.js +0 -23
- package/es/types/Interface/api/commercialImport/Query.js.map +0 -1
- package/es/types/Interface/api/commercialImport/Read.d.ts +0 -41
- package/es/types/Interface/api/commercialImport/Read.d.ts.map +0 -1
- package/es/types/Interface/api/commercialImport/Read.js +0 -2
- package/es/types/Interface/api/commercialImport/Read.js.map +0 -1
- package/es/types/Interface/api/companeo/CompaneoReturn.d.ts +0 -46
- package/es/types/Interface/api/companeo/CompaneoReturn.d.ts.map +0 -1
- package/es/types/Interface/api/companeo/CompaneoReturn.js +0 -2
- package/es/types/Interface/api/companeo/CompaneoReturn.js.map +0 -1
- package/es/types/Interface/api/file/Query.d.ts +0 -4
- package/es/types/Interface/api/file/Query.d.ts.map +0 -1
- package/es/types/Interface/api/file/Query.js.map +0 -1
- package/es/types/Interface/api/firstStep/Create.d.ts +0 -10
- package/es/types/Interface/api/firstStep/Create.d.ts.map +0 -1
- package/es/types/Interface/api/firstStep/Create.js.map +0 -1
- package/es/types/Interface/api/prestation/QueryCreatePrestationSocieties.d.ts +0 -7
- package/es/types/Interface/api/prestation/QueryCreatePrestationSocieties.d.ts.map +0 -1
- package/es/types/Interface/api/prestation/QueryCreatePrestationSocieties.js +0 -39
- package/es/types/Interface/api/prestation/QueryCreatePrestationSocieties.js.map +0 -1
- package/es/types/Interface/api/report/QueryReportsForLetter.d.ts +0 -5
- package/es/types/Interface/api/report/QueryReportsForLetter.d.ts.map +0 -1
- package/es/types/Interface/api/report/QueryReportsForLetter.js +0 -24
- package/es/types/Interface/api/report/QueryReportsForLetter.js.map +0 -1
- package/es/types/Interface/api/society/CreateSocietyDetail.d.ts +0 -6
- package/es/types/Interface/api/society/CreateSocietyDetail.d.ts.map +0 -1
- package/es/types/Interface/api/society/CreateSocietyDetail.js +0 -32
- package/es/types/Interface/api/society/CreateSocietyDetail.js.map +0 -1
- package/es/types/Interface/api/statutsGeneration/CreateBusinessPartnersAndUsersParams.d.ts +0 -15
- package/es/types/Interface/api/statutsGeneration/CreateBusinessPartnersAndUsersParams.d.ts.map +0 -1
- package/es/types/Interface/api/statutsGeneration/CreateBusinessPartnersAndUsersParams.js +0 -71
- package/es/types/Interface/api/statutsGeneration/CreateBusinessPartnersAndUsersParams.js.map +0 -1
- package/es/types/Interface/api/statutsGeneration/SendInviteMailParams.d.ts +0 -4
- package/es/types/Interface/api/statutsGeneration/SendInviteMailParams.d.ts.map +0 -1
- package/es/types/Interface/api/statutsGeneration/SendInviteMailParams.js +0 -19
- package/es/types/Interface/api/statutsGeneration/SendInviteMailParams.js.map +0 -1
- package/es/types/Interface/api/statutsGeneration/UpdateExercice.d.ts +0 -5
- package/es/types/Interface/api/statutsGeneration/UpdateExercice.d.ts.map +0 -1
- package/es/types/Interface/api/statutsGeneration/UpdateExercice.js +0 -26
- package/es/types/Interface/api/statutsGeneration/UpdateExercice.js.map +0 -1
- package/es/types/Interface/api/statutsGeneration/UpdateExerciceParams.d.ts +0 -5
- package/es/types/Interface/api/statutsGeneration/UpdateExerciceParams.d.ts.map +0 -1
- package/es/types/Interface/api/statutsGeneration/UpdateExerciceParams.js +0 -26
- package/es/types/Interface/api/statutsGeneration/UpdateExerciceParams.js.map +0 -1
- package/es/types/Interface/api/team/QueryCreate.d.ts +0 -5
- package/es/types/Interface/api/team/QueryCreate.d.ts.map +0 -1
- package/es/types/Interface/api/team/QueryCreate.js +0 -25
- package/es/types/Interface/api/team/QueryCreate.js.map +0 -1
- package/es/types/Interface/api/team/QueryGetAllWithIncludes.d.ts +0 -5
- package/es/types/Interface/api/team/QueryGetAllWithIncludes.d.ts.map +0 -1
- package/es/types/Interface/api/team/QueryGetAllWithIncludes.js +0 -28
- package/es/types/Interface/api/team/QueryGetAllWithIncludes.js.map +0 -1
- package/es/types/Interface/api/team/QueryUpdate.d.ts +0 -7
- package/es/types/Interface/api/team/QueryUpdate.d.ts.map +0 -1
- package/es/types/Interface/api/team/QueryUpdate.js +0 -38
- package/es/types/Interface/api/team/QueryUpdate.js.map +0 -1
- package/es/types/Interface/api/timeRecorder/QueryTimeRecorderGetStats.d.ts +0 -5
- package/es/types/Interface/api/timeRecorder/QueryTimeRecorderGetStats.d.ts.map +0 -1
- package/es/types/Interface/api/timeRecorder/QueryTimeRecorderGetStats.js +0 -25
- package/es/types/Interface/api/timeRecorder/QueryTimeRecorderGetStats.js.map +0 -1
- package/es/types/Interface/models/IAppNotification.d.ts +0 -20
- package/es/types/Interface/models/IAppNotification.d.ts.map +0 -1
- package/es/types/Interface/models/IAppNotification.js +0 -2
- package/es/types/Interface/models/IAppNotification.js.map +0 -1
- package/es/types/Interface/models/ICustomerTva.d.ts.map +0 -1
- package/es/types/Interface/models/ICustomerTva.js +0 -2
- package/es/types/Interface/models/ICustomerTva.js.map +0 -1
- package/es/types/Interface/models/IVatDeclarationCertificate.d.ts.map +0 -1
- package/es/types/Interface/models/IVatDeclarationCertificate.js +0 -2
- package/es/types/Interface/models/IVatDeclarationCertificate.js.map +0 -1
- package/js/api/resources/CashAndExpense.js +0 -37
- package/js/api/resources/CashAndExpense.js.map +0 -1
- package/js/api/resources/CommercialImport.js +0 -38
- package/js/api/resources/CommercialImport.js.map +0 -1
- package/js/api/resources/Team.js +0 -46
- package/js/api/resources/Team.js.map +0 -1
- package/js/api/resources/VatDeclaration.js +0 -27
- package/js/api/resources/VatDeclaration.js.map +0 -1
- package/js/types/Enum/BrandClems.js +0 -157
- package/js/types/Enum/BrandClems.js.map +0 -1
- package/js/types/Enum/CashDeskTransactionType.js +0 -13
- package/js/types/Enum/CashDeskTransactionType.js.map +0 -1
- package/js/types/Enum/CommercialImportHeader.js +0 -114
- package/js/types/Enum/CommercialImportHeader.js.map +0 -1
- package/js/types/Enum/Compensation.js +0 -20
- package/js/types/Enum/Compensation.js.map +0 -1
- package/js/types/Enum/EntityType.js +0 -64
- package/js/types/Enum/EntityType.js.map +0 -1
- package/js/types/Enum/PaymentExpectation.js +0 -60
- package/js/types/Enum/PaymentExpectation.js.map +0 -1
- package/js/types/Enum/ReasonTerminationType.js +0 -74
- package/js/types/Enum/ReasonTerminationType.js.map +0 -1
- package/js/types/Enum/RemoteType.js +0 -22
- package/js/types/Enum/RemoteType.js.map +0 -1
- package/js/types/Enum/ThirdParty.js +0 -12
- package/js/types/Enum/ThirdParty.js.map +0 -1
- package/js/types/Interface/api/accountingFiles/Read.js.map +0 -1
- package/js/types/Interface/api/appNotification/Update.js +0 -24
- package/js/types/Interface/api/appNotification/Update.js.map +0 -1
- package/js/types/Interface/api/archive/ImportSocietyArchive.js +0 -22
- package/js/types/Interface/api/archive/ImportSocietyArchive.js.map +0 -1
- package/js/types/Interface/api/cashAndExpense/Create.js +0 -44
- package/js/types/Interface/api/cashAndExpense/Create.js.map +0 -1
- package/js/types/Interface/api/commercialImport/Create.js +0 -27
- package/js/types/Interface/api/commercialImport/Create.js.map +0 -1
- package/js/types/Interface/api/commercialImport/Query.js +0 -24
- package/js/types/Interface/api/commercialImport/Query.js.map +0 -1
- package/js/types/Interface/api/commercialImport/Read.js.map +0 -1
- package/js/types/Interface/api/companeo/CompaneoReturn.js.map +0 -1
- package/js/types/Interface/api/file/Query.js +0 -21
- package/js/types/Interface/api/file/Query.js.map +0 -1
- package/js/types/Interface/api/firstStep/Create.js.map +0 -1
- package/js/types/Interface/api/prestation/QueryCreatePrestationSocieties.js +0 -30
- package/js/types/Interface/api/prestation/QueryCreatePrestationSocieties.js.map +0 -1
- package/js/types/Interface/api/report/QueryReportsForLetter.js +0 -23
- package/js/types/Interface/api/report/QueryReportsForLetter.js.map +0 -1
- package/js/types/Interface/api/society/CreateSocietyDetail.js +0 -24
- package/js/types/Interface/api/society/CreateSocietyDetail.js.map +0 -1
- package/js/types/Interface/api/statutsGeneration/CreateBusinessPartnersAndUsersParams.js +0 -34
- package/js/types/Interface/api/statutsGeneration/CreateBusinessPartnersAndUsersParams.js.map +0 -1
- package/js/types/Interface/api/statutsGeneration/SendInviteMailParams.js +0 -22
- package/js/types/Interface/api/statutsGeneration/SendInviteMailParams.js.map +0 -1
- package/js/types/Interface/api/statutsGeneration/UpdateExercice.js +0 -23
- package/js/types/Interface/api/statutsGeneration/UpdateExercice.js.map +0 -1
- package/js/types/Interface/api/statutsGeneration/UpdateExerciceParams.js +0 -23
- package/js/types/Interface/api/statutsGeneration/UpdateExerciceParams.js.map +0 -1
- package/js/types/Interface/api/team/QueryCreate.js.map +0 -1
- package/js/types/Interface/api/team/QueryGetAllWithIncludes.js +0 -24
- package/js/types/Interface/api/team/QueryGetAllWithIncludes.js.map +0 -1
- package/js/types/Interface/api/team/QueryUpdate.js +0 -25
- package/js/types/Interface/api/team/QueryUpdate.js.map +0 -1
- package/js/types/Interface/api/timeRecorder/QueryTimeRecorderGetStats.js +0 -23
- package/js/types/Interface/api/timeRecorder/QueryTimeRecorderGetStats.js.map +0 -1
- package/js/types/Interface/models/IAppNotification.js.map +0 -1
- package/js/types/Interface/models/ICustomerTva.js.map +0 -1
- package/js/types/Interface/models/IVatDeclarationCertificate.js +0 -6
- package/js/types/Interface/models/IVatDeclarationCertificate.js.map +0 -1
- package/ts/api/resources/CashAndExpense.ts +0 -31
- package/ts/api/resources/CommercialImport.ts +0 -32
- package/ts/api/resources/Team.ts +0 -43
- package/ts/api/resources/VatDeclaration.ts +0 -19
- package/ts/types/Enum/BrandClems.ts +0 -154
- package/ts/types/Enum/CashDeskTransactionType.ts +0 -6
- package/ts/types/Enum/CommercialImportHeader.ts +0 -119
- package/ts/types/Enum/Compensation.ts +0 -14
- package/ts/types/Enum/EntityType.ts +0 -65
- package/ts/types/Enum/PaymentExpectation.ts +0 -65
- package/ts/types/Enum/ReasonTerminationType.ts +0 -85
- package/ts/types/Enum/RemoteType.ts +0 -20
- package/ts/types/Enum/ThirdParty.ts +0 -6
- package/ts/types/Interface/api/accountingFiles/Read.ts +0 -6
- package/ts/types/Interface/api/appNotification/Update.ts +0 -13
- package/ts/types/Interface/api/archive/ImportSocietyArchive.ts +0 -8
- package/ts/types/Interface/api/cashAndExpense/Create.ts +0 -67
- package/ts/types/Interface/api/commercialImport/Create.ts +0 -22
- package/ts/types/Interface/api/commercialImport/Query.ts +0 -35
- package/ts/types/Interface/api/commercialImport/Read.ts +0 -41
- package/ts/types/Interface/api/companeo/CompaneoReturn.ts +0 -47
- package/ts/types/Interface/api/file/Query.ts +0 -6
- package/ts/types/Interface/api/firstStep/Create.ts +0 -39
- package/ts/types/Interface/api/prestation/QueryCreatePrestationSocieties.ts +0 -27
- package/ts/types/Interface/api/report/QueryReportsForLetter.ts +0 -12
- package/ts/types/Interface/api/society/CreateSocietyDetail.ts +0 -19
- package/ts/types/Interface/api/statutsGeneration/CreateBusinessPartnersAndUsersParams.ts +0 -54
- package/ts/types/Interface/api/statutsGeneration/SendInviteMailParams.ts +0 -10
- package/ts/types/Interface/api/statutsGeneration/UpdateExercice.ts +0 -16
- package/ts/types/Interface/api/statutsGeneration/UpdateExerciceParams.ts +0 -16
- package/ts/types/Interface/api/team/QueryCreate.ts +0 -13
- package/ts/types/Interface/api/team/QueryGetAllWithIncludes.ts +0 -16
- package/ts/types/Interface/api/team/QueryUpdate.ts +0 -26
- package/ts/types/Interface/api/timeRecorder/QueryTimeRecorderGetStats.ts +0 -15
- package/ts/types/Interface/models/IAppNotification.ts +0 -22
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"century23.js","sourceRoot":"","sources":["../../../../ts/utils/vat/3519/century23.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAE1C,MAAM,UAAU,uCAAuC,CAAC,IAAoB;;IAC1E,MAAM,OAAO,GAAG,cAAc,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAE7C,OAAO,CAAC;YACN,IAAI,EAAE,MAAM;YACZ,MAAM,EAAE;gBACN;oBACE,GAAG,EAAE,IAAI;oBACT,GAAG,EAAE,QAAQ;oBACb,UAAU,EAAE,KAAK;oBACjB,WAAW,EAAE,sBAAsB;oBACnC,KAAK,EAAE,IAAI,CAAC,WAAW,CAAC,WAAW,CAAC,QAAQ,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI;iBAC1D;gBACD;oBACE,GAAG,EAAE,IAAI;oBACT,GAAG,E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AC,CAAC,IAAI;iBACjG;gBACD;oBACE,GAAG,EAAE,IAAI;oBACT,GAAG,EAAE,aAAa;oBAClB,UAAU,EAAE,KAAK;oBACjB,WAAW,EAAE,cAAc;oBAC3B,KAAK,EAAE,OAAO,IAAI,CAAC,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,MAAM,mCAAI,CAAC,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,cAAc,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI;iBACnG;gBACD;oBACE,GAAG,EAAE,IAAI;oBACT,GAAG,EAAE,aAAa;oBAClB,UAAU,EAAE,KAAK;oBACjB,WAAW,EAAE,cAAc;oBAC3B,KAAK,EAAE,OAAO,IAAI,CAAC,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,MAAM,mCAAI,CAAC,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,cAAc,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI;iBACnG;aACF;SACF,CAAC,CAAC;AACL,CAAC","sourcesContent":["import * as dayjs from 'dayjs';\nimport { Cerfa3519_2017 } from '../../../types/Interface/api/cerfa/3519';\nimport { AsponeFormFields } from '../../../types/Interface/api/cerfa/ReadCerfa';\nimport { textFormatting } from '../utils';\n\nexport function getCerfa3519Century23RegistrationFields(data: Cerfa3519_2017): AsponeFormFields {\n const comment = textFormatting(data.comment);\n\n return [{\n name: '3519',\n fields: [\n {\n key: 'DD',\n tag: 'Valeur',\n isMultiple: false,\n description: 'Entreprise française',\n value: data.declaration.nationality.isFrench ? 'X' : null,\n },\n {\n key: 'DN',\n tag: 'Valeur',\n isMultiple: false,\n description: 'Remboursement demandé',\n value: data.refund.amount,\n },\n {\n key: 'DG',\n tag: 'Designation',\n isMultiple: false,\n description: 'Soussigné',\n value: textFormatting(data.refund.name, 35),\n },\n {\n key: 'DG',\n tag: 'DesignationSuite1',\n isMultiple: false,\n description: 'Titre',\n value: textFormatting(data.refund.quality, 35),\n },\n {\n key: 'DG',\n tag: 'DesignationSuite2',\n isMultiple: false,\n description: 'Qualité',\n value: textFormatting(data.refund.quality, 35),\n },\n {\n key: 'DG',\n tag: 'AdresseVille',\n isMultiple: false,\n description: 'Lieu',\n value: textFormatting(data.refund.place, 35),\n },\n {\n key: 'FK',\n tag: 'Valeur',\n isMultiple: false,\n description: 'A créditer au compte désigné',\n value: data.declaration.shouldCredit ? 'X' : null,\n },\n {\n key: 'AA',\n tag: 'Iban',\n isMultiple: false,\n description: 'IBAN',\n value: data.bankAccount.iban ? textFormatting(data.bankAccount.iban.toUpperCase())?.replace(/\\s/g, '') : null,\n },\n {\n key: 'AA',\n tag: 'Bic',\n isMultiple: false,\n description: 'BIC',\n value: data.bankAccount.bic ? textFormatting(data.bankAccount.bic.toUpperCase()) : null,\n },\n {\n key: 'AA',\n tag: 'TitulaireDesignation',\n isMultiple: false,\n description: 'Désignation du titulaire',\n value: null,\n },\n {\n key: 'DI',\n tag: 'Valeur',\n isMultiple: false,\n description: 'Première demande',\n value: data.refund.firstTime.is ? 'X' : null,\n },\n {\n key: 'DL',\n tag: 'Valeur',\n isMultiple: false,\n description: 'Création le',\n value: data.refund.firstTime.is && data.refund.firstTime.date ? dayjs(data.refund.firstTime.date).format('YYYYMMDD') : null,\n },\n {\n key: 'DJ',\n tag: 'Valeur',\n isMultiple: false,\n description: 'Cession, cessation, décès, entrée dans un groupe TVA',\n value: data.refund.closing.is ? 'X' : null,\n },\n {\n key: 'DM',\n tag: 'Valeur',\n isMultiple: false,\n description: 'Le :',\n value: data.refund.closing.is && data.refund.closing.date ? dayjs(data.refund.closing.date).format('YYYYMMDD') : null,\n },\n {\n key: 'DK',\n tag: 'Valeur',\n isMultiple: false,\n description: 'Autres',\n value: data.refund.other ? 'X' : null,\n },\n {\n key: 'FJ',\n tag: 'TexteLibre1',\n isMultiple: false,\n description: 'Commentaires',\n value: textFormatting(comment, 512),\n },\n {\n key: 'FJ',\n tag: 'TexteLibre2',\n isMultiple: false,\n description: 'Commentaires',\n value: comment && (comment?.length ?? 0) > 512 ? textFormatting(comment.slice(512, 1024)) : null,\n },\n {\n key: 'FJ',\n tag: 'TexteLibre3',\n isMultiple: false,\n description: 'Commentaires',\n value: comment && (comment?.length ?? 0) > 1024 ? textFormatting(comment.slice(1024, 1536)) : null,\n },\n {\n key: 'FJ',\n tag: 'TexteLibre4',\n isMultiple: false,\n description: 'Commentaires',\n value: comment && (comment?.length ?? 0) > 1536 ? textFormatting(comment.slice(1536, 2048)) : null,\n },\n ],\n }];\n}"]}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { CerfaType } from '../../types/Enum/CerfaType';
|
|
2
|
+
import { VatDocument } from '../../types/Interface/api/cerfa/ReadCerfa';
|
|
3
|
+
export declare const getVatCerfaObject: (idCerfaType: CerfaType, startDate: string) => VatDocument;
|
|
4
|
+
//# sourceMappingURL=centuries.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"centuries.d.ts","sourceRoot":"","sources":["../../../ts/utils/vat/centuries.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AACvD,OAAO,EAAE,WAAW,EAAE,MAAM,2CAA2C,CAAC;AAwDxE,eAAO,MAAM,iBAAiB,gBAAiB,SAAS,aAAa,MAAM,KAAG,WAO7E,CAAC"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import * as dayjs from 'dayjs';
|
|
2
|
+
import { CerfaType } from '../../types/Enum/CerfaType';
|
|
3
|
+
import { cerfa3310Century23Fields, getCerfa3310Century23Payload, getCerfa3310Century23RegistrationFields } from './3310/century23';
|
|
4
|
+
import { cerfa3519Century17Fields, getCerfa3519Century17Payload } from './3519/century17';
|
|
5
|
+
import { getCerfa3519Century23RegistrationFields } from './3519/century23';
|
|
6
|
+
import { cerfa3514Century22Fields, getCerfa3514Century22Payload } from './3514/century22';
|
|
7
|
+
import { getCerfa3514Century23RegistrationFields } from './3514/century23';
|
|
8
|
+
import { cerfa3517Century23Fields, getCerfa3517Century23Payload, getCerfa3517CenturyRegistrationField } from './3517/century23';
|
|
9
|
+
const vatDocuments = [
|
|
10
|
+
{
|
|
11
|
+
idCerfaType: CerfaType.CERFA_3310,
|
|
12
|
+
name: '3310',
|
|
13
|
+
century: '23',
|
|
14
|
+
centuries: [2022, 2023, 2024, 2025],
|
|
15
|
+
payload: (accountingEntries, payload) => getCerfa3310Century23Payload(accountingEntries, payload),
|
|
16
|
+
asponePayload: (data) => getCerfa3310Century23RegistrationFields(data),
|
|
17
|
+
fields: cerfa3310Century23Fields,
|
|
18
|
+
fileName: '3310-2023',
|
|
19
|
+
annex: {
|
|
20
|
+
name: '3519',
|
|
21
|
+
century: '23',
|
|
22
|
+
shouldInclude: (data) => { var _a; return Boolean(((_a = data.credit) === null || _a === void 0 ? void 0 : _a.refundAsked) && data.credit.refundAsked > 0); },
|
|
23
|
+
payload: (amount, payload) => getCerfa3519Century17Payload(amount, payload),
|
|
24
|
+
asponePayload: (data) => getCerfa3519Century23RegistrationFields(data),
|
|
25
|
+
fields: cerfa3519Century17Fields,
|
|
26
|
+
fileName: '3519-2017',
|
|
27
|
+
},
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
idCerfaType: CerfaType.CERFA_3514,
|
|
31
|
+
name: '3514',
|
|
32
|
+
century: '23',
|
|
33
|
+
centuries: [2022, 2023, 2024, 2025],
|
|
34
|
+
payload: (payload) => getCerfa3514Century22Payload(payload),
|
|
35
|
+
asponePayload: (data) => getCerfa3514Century23RegistrationFields(data),
|
|
36
|
+
fields: cerfa3514Century22Fields,
|
|
37
|
+
fileName: '3514-2022',
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
idCerfaType: CerfaType.CERFA_3517,
|
|
41
|
+
name: '3517',
|
|
42
|
+
century: '23',
|
|
43
|
+
centuries: [2022, 2023, 2024, 2025],
|
|
44
|
+
payload: (accountingEntries, payload) => getCerfa3517Century23Payload(accountingEntries, payload),
|
|
45
|
+
asponePayload: (data) => getCerfa3517CenturyRegistrationField(data),
|
|
46
|
+
fields: cerfa3517Century23Fields,
|
|
47
|
+
fileName: '3517-2023',
|
|
48
|
+
},
|
|
49
|
+
];
|
|
50
|
+
export const getVatCerfaObject = (idCerfaType, startDate) => {
|
|
51
|
+
const year = +dayjs(startDate).format('YYYY');
|
|
52
|
+
const cerfa = vatDocuments.find((v) => v.idCerfaType === idCerfaType && v.centuries.find((c) => c === year));
|
|
53
|
+
if (!cerfa)
|
|
54
|
+
throw new Error(`Cerfa type #${idCerfaType} with century ${year} is not managed yet.`);
|
|
55
|
+
return cerfa;
|
|
56
|
+
};
|
|
57
|
+
//# sourceMappingURL=centuries.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"centuries.js","sourceRoot":"","sources":["../../../ts/utils/vat/centuries.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAEvD,OAAO,EAAE,wBAAwB,EAAE,4BAA4B,EAAE,uCAAuC,EAAE,MAAM,kBAAkB,CAAC;AAMnI,OAAO,EAAE,wBAAwB,EAAE,4BAA4B,EAAE,MAAM,kBAAkB,CAAC;AAC1F,OAAO,EAAE,uCAAuC,EAAE,MAAM,kBAAkB,CAAC;AAC3E,OAAO,EAAE,wBAAwB,EAAE,4BAA4B,EAAE,MAAM,kBAAkB,CAAC;AAC1F,OAAO,EAAE,uCAAuC,EAAE,MAAM,kBAAkB,CAAC;AAE3E,OAAO,EAAE,wBAAwB,EAAE,4BAA4B,EAAE,oCAAoC,EAAE,MAAM,kBAAkB,CAAC;AAEhI,MAAM,YAAY,GAAkB;IAClC;QACE,WAAW,EAAE,SAAS,CAAC,UAAU;QACjC,IAAI,EAAE,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I,EAAE,MAAM;QACZ,OAAO,EAAE,IAAI;QACb,SAAS,EAAE,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC;QACnC,OAAO,EAAE,CAAC,iBAAqC,EAAE,OAA8B,EAAE,EAAE,CAAC,4BAA4B,CAAC,iBAAiB,EAAE,OAAO,CAAC;QAC5I,aAAa,EAAE,CAAC,IAAoB,EAAE,EAAE,CAAC,oCAAoC,CAAC,IAAI,CAAC;QACnF,MAAM,EAAE,wBAAwB;QAChC,QAAQ,EAAE,WAAW;KACtB;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,WAAsB,EAAE,SAAiB,EAAe,EAAE;IAC1F,MAAM,IAAI,GAAG,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAE9C,MAAM,KAAK,GAAG,YAAY,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,WAAW,KAAK,WAAW,IAAI,CAAC,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,KAAK,IAAI,CAAC,CAAC,CAAC;IAC7G,IAAI,CAAC,KAAK;QAAE,MAAM,IAAI,KAAK,CAAC,eAAe,WAAW,iBAAiB,IAAI,sBAAsB,CAAC,CAAC;IAEnG,OAAO,KAAK,CAAC;AACf,CAAC,CAAC","sourcesContent":["import * as dayjs from 'dayjs';\nimport { CerfaType } from '../../types/Enum/CerfaType';\nimport { VatDocument } from '../../types/Interface/api/cerfa/ReadCerfa';\nimport { cerfa3310Century23Fields, getCerfa3310Century23Payload, getCerfa3310Century23RegistrationFields } from './3310/century23';\nimport { IAccountingEntry } from '../../types/Interface/models/IAccountingEntry';\nimport { Cerfa3310_2023, PayloadCerfa3310_2023 } from '../../types/Interface/api/cerfa/3310';\nimport {\n Cerfa3514_2022, Cerfa3519_2017, PayloadCerfa3514_2022, PayloadCerfa3519_2017,\n} from '../../types';\nimport { cerfa3519Century17Fields, getCerfa3519Century17Payload } from './3519/century17';\nimport { getCerfa3519Century23RegistrationFields } from './3519/century23';\nimport { cerfa3514Century22Fields, getCerfa3514Century22Payload } from './3514/century22';\nimport { getCerfa3514Century23RegistrationFields } from './3514/century23';\nimport { Cerfa3517_2023, PayloadCerfa3517_2023 } from '../../types/Interface/api/cerfa/3517';\nimport { cerfa3517Century23Fields, getCerfa3517Century23Payload, getCerfa3517CenturyRegistrationField } from './3517/century23';\n\nconst vatDocuments: VatDocument[] = [\n {\n idCerfaType: CerfaType.CERFA_3310,\n name: '3310',\n century: '23',\n centuries: [2022, 2023, 2024, 2025],\n payload: (accountingEntries: IAccountingEntry[], payload: PayloadCerfa3310_2023) => getCerfa3310Century23Payload(accountingEntries, payload),\n asponePayload: (data: Cerfa3310_2023) => getCerfa3310Century23RegistrationFields(data),\n fields: cerfa3310Century23Fields,\n fileName: '3310-2023',\n annex: {\n name: '3519',\n century: '23',\n shouldInclude: (data: Cerfa3310_2023) => Boolean(data.credit?.refundAsked && data.credit.refundAsked > 0),\n payload: (amount: number, payload: PayloadCerfa3519_2017) => getCerfa3519Century17Payload(amount, payload),\n asponePayload: (data: Cerfa3519_2017) => getCerfa3519Century23RegistrationFields(data),\n fields: cerfa3519Century17Fields,\n fileName: '3519-2017',\n },\n },\n {\n idCerfaType: CerfaType.CERFA_3514,\n name: '3514',\n century: '23',\n centuries: [2022, 2023, 2024, 2025],\n payload: (payload: PayloadCerfa3514_2022) => getCerfa3514Century22Payload(payload),\n asponePayload: (data: Cerfa3514_2022) => getCerfa3514Century23RegistrationFields(data),\n fields: cerfa3514Century22Fields,\n fileName: '3514-2022',\n },\n {\n idCerfaType: CerfaType.CERFA_3517,\n name: '3517',\n century: '23',\n centuries: [2022, 2023, 2024, 2025],\n payload: (accountingEntries: IAccountingEntry[], payload: PayloadCerfa3517_2023) => getCerfa3517Century23Payload(accountingEntries, payload),\n asponePayload: (data: Cerfa3517_2023) => getCerfa3517CenturyRegistrationField(data),\n fields: cerfa3517Century23Fields,\n fileName: '3517-2023',\n },\n];\n\nexport const getVatCerfaObject = (idCerfaType: CerfaType, startDate: string): VatDocument => {\n const year = +dayjs(startDate).format('YYYY');\n\n const cerfa = vatDocuments.find((v) => v.idCerfaType === idCerfaType && v.centuries.find((c) => c === year));\n if (!cerfa) throw new Error(`Cerfa type #${idCerfaType} with century ${year} is not managed yet.`);\n\n return cerfa;\n};"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../ts/utils/vat/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AACxB,cAAc,gBAAgB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../ts/utils/vat/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AACxB,cAAc,gBAAgB,CAAC","sourcesContent":["export * from './centuries';\nexport * from './utils';\nexport * from './registration';"]}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { CustomerVatType, IRegistration, ReadRegistration, ReadRegistrationTick } from '../../types';
|
|
2
|
+
export declare function getTicks(registration: ReadRegistration): ReadRegistrationTick[][];
|
|
3
|
+
export declare function getTypeAndAmountFromRegistration(registration: IRegistration): {
|
|
4
|
+
type: CustomerVatType | null;
|
|
5
|
+
amount: number | null;
|
|
6
|
+
collectable: number;
|
|
7
|
+
deductible: number;
|
|
8
|
+
};
|
|
9
|
+
//# sourceMappingURL=registration.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"registration.d.ts","sourceRoot":"","sources":["../../../ts/utils/vat/registration.ts"],"names":[],"mappings":"AAGA,OAAO,EAIL,eAAe,EACf,aAAa,EAGb,gBAAgB,EAAE,oBAAoB,EACvC,MAAM,aAAa,CAAC;AAWrB,wBAAgB,QAAQ,CAAC,YAAY,EAAE,gBAAgB,GAAG,oBAAoB,EAAE,EAAE,CAqEjF;AAED,wBAAgB,gCAAgC,CAAC,YAAY,EAAE,aAAa,GAAG;IAAE,IAAI,EAAE,eAAe,GAAG,IAAI,CAAC;IAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IAAC,WAAW,EAAE,MAAM,CAAC;IAAC,UAAU,EAAE,MAAM,CAAC;CAAE,CA6B/K"}
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import * as dayjs from 'dayjs';
|
|
2
|
+
import { isDefined } from 'class-validator';
|
|
3
|
+
import { reverse } from 'lodash';
|
|
4
|
+
import { CerfaType, CustomerVatType, RegistrationState, RegistrationTickState, } from '../../types';
|
|
5
|
+
const waitingState = {
|
|
6
|
+
state: RegistrationTickState.IN_PROGRESS,
|
|
7
|
+
title: 'En cours de traitement',
|
|
8
|
+
details: [],
|
|
9
|
+
date: null,
|
|
10
|
+
isPayment: false,
|
|
11
|
+
};
|
|
12
|
+
export function getTicks(registration) {
|
|
13
|
+
var _a, _b;
|
|
14
|
+
const declarations = (_b = (_a = registration.response) === null || _a === void 0 ? void 0 : _a.declarations) !== null && _b !== void 0 ? _b : [];
|
|
15
|
+
if (registration.state === RegistrationState.IN_PROGRESS) {
|
|
16
|
+
const data = [];
|
|
17
|
+
declarations.forEach(() => {
|
|
18
|
+
const result = [
|
|
19
|
+
{
|
|
20
|
+
state: RegistrationTickState.FINISHED,
|
|
21
|
+
title: 'Déclaration envoyée',
|
|
22
|
+
details: [],
|
|
23
|
+
date: registration.sendAt ? dayjs(registration.sendAt).format('YYYY-MM-DD') : null,
|
|
24
|
+
isPayment: false,
|
|
25
|
+
},
|
|
26
|
+
waitingState,
|
|
27
|
+
waitingState,
|
|
28
|
+
waitingState,
|
|
29
|
+
];
|
|
30
|
+
if (registration.amountToPay && registration.amountToPay > 0) {
|
|
31
|
+
result.push(Object.assign(Object.assign({}, waitingState), { isPayment: true }));
|
|
32
|
+
}
|
|
33
|
+
data.push(result);
|
|
34
|
+
});
|
|
35
|
+
return data;
|
|
36
|
+
}
|
|
37
|
+
if ([RegistrationState.ACCEPTED, RegistrationState.REFUSED].includes(registration.state)) {
|
|
38
|
+
const data = [];
|
|
39
|
+
declarations.forEach((declaration) => {
|
|
40
|
+
var _a, _b;
|
|
41
|
+
const response = [
|
|
42
|
+
{
|
|
43
|
+
state: RegistrationTickState.FINISHED,
|
|
44
|
+
title: 'Déclaration envoyée',
|
|
45
|
+
date: registration.sendAt ? dayjs(registration.sendAt).format('YYYY-MM-DD') : null,
|
|
46
|
+
details: [],
|
|
47
|
+
},
|
|
48
|
+
...reverse(declaration.states).map((d) => {
|
|
49
|
+
var _a, _b;
|
|
50
|
+
return ({
|
|
51
|
+
state: d.isError ? RegistrationTickState.FAILED : RegistrationTickState.FINISHED,
|
|
52
|
+
title: (_a = d.label) !== null && _a !== void 0 ? _a : null,
|
|
53
|
+
details: d === null || d === void 0 ? void 0 : d.stateDetailsHistory,
|
|
54
|
+
date: (_b = d.date) !== null && _b !== void 0 ? _b : null,
|
|
55
|
+
});
|
|
56
|
+
}),
|
|
57
|
+
];
|
|
58
|
+
for (let index = declaration.states.length; index < 4; index += 1) {
|
|
59
|
+
response.push(Object.assign(Object.assign({}, waitingState), { title: null }));
|
|
60
|
+
}
|
|
61
|
+
if (isDefined(declaration.payment)) {
|
|
62
|
+
response.push({
|
|
63
|
+
state: declaration.payment.isError ? RegistrationTickState.FAILED : RegistrationTickState.FINISHED,
|
|
64
|
+
title: (_b = (_a = declaration.payment) === null || _a === void 0 ? void 0 : _a.details[0]) !== null && _b !== void 0 ? _b : '',
|
|
65
|
+
details: [],
|
|
66
|
+
isPayment: true,
|
|
67
|
+
date: null,
|
|
68
|
+
});
|
|
69
|
+
}
|
|
70
|
+
data.push(response);
|
|
71
|
+
});
|
|
72
|
+
return data;
|
|
73
|
+
}
|
|
74
|
+
return [];
|
|
75
|
+
}
|
|
76
|
+
export function getTypeAndAmountFromRegistration(registration) {
|
|
77
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
78
|
+
if (registration.idCerfaType === CerfaType.CERFA_3310) {
|
|
79
|
+
const payload = registration.payload.cerfa3310;
|
|
80
|
+
const other = { collectable: payload.vat.grossDue, deductible: payload.vat.deductible.total };
|
|
81
|
+
if (payload === null || payload === void 0 ? void 0 : payload.isNil)
|
|
82
|
+
return Object.assign({ type: CustomerVatType.VAT_TO_NIL, amount: 0 }, other);
|
|
83
|
+
if (((_a = payload === null || payload === void 0 ? void 0 : payload.toPay) === null || _a === void 0 ? void 0 : _a.total) > 0)
|
|
84
|
+
return Object.assign({ type: CustomerVatType.VAT_TO_PAY, amount: payload.toPay.total }, other);
|
|
85
|
+
if (((_b = payload === null || payload === void 0 ? void 0 : payload.credit) === null || _b === void 0 ? void 0 : _b.refundAsked) > 0)
|
|
86
|
+
return Object.assign({ type: CustomerVatType.VAT_REFUND, amount: payload.credit.refundAsked }, other);
|
|
87
|
+
if (((_c = payload === null || payload === void 0 ? void 0 : payload.credit) === null || _c === void 0 ? void 0 : _c.toReport) > 0)
|
|
88
|
+
return Object.assign({ type: CustomerVatType.VAT_REPORT, amount: payload.credit.toReport }, other);
|
|
89
|
+
return Object.assign({ type: CustomerVatType.VAT_TO_PAY, amount: 0 }, other);
|
|
90
|
+
}
|
|
91
|
+
if (registration.idCerfaType === CerfaType.CERFA_3514) {
|
|
92
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
93
|
+
const payload = registration.payload.cerfa3514;
|
|
94
|
+
const other = { collectable: payload.vatAmountCollected, deductible: payload.vatAmountDeductible };
|
|
95
|
+
if ((payload === null || payload === void 0 ? void 0 : payload.vatAmountToPay) > 0)
|
|
96
|
+
return Object.assign({ type: CustomerVatType.VAT_TO_PAY, amount: payload.vatAmountToPay }, other);
|
|
97
|
+
if (payload === null || payload === void 0 ? void 0 : payload.vatRefundedOnInvests)
|
|
98
|
+
return Object.assign({ type: CustomerVatType.VAT_REFUND, amount: payload.vatRefundedOnInvests }, other);
|
|
99
|
+
return Object.assign({ type: CustomerVatType.VAT_TO_PAY, amount: 0 }, other);
|
|
100
|
+
}
|
|
101
|
+
if (registration.idCerfaType === CerfaType.CERFA_3517) {
|
|
102
|
+
const payload = registration.payload.cerfa3517;
|
|
103
|
+
const other = { collectable: payload.other.total, deductible: payload.deductible.total };
|
|
104
|
+
if (payload === null || payload === void 0 ? void 0 : payload.isNil)
|
|
105
|
+
return Object.assign({ type: CustomerVatType.VAT_TO_NIL, amount: 0 }, other);
|
|
106
|
+
if (((_d = payload === null || payload === void 0 ? void 0 : payload.recapitulation) === null || _d === void 0 ? void 0 : _d.toPay) > 0)
|
|
107
|
+
return Object.assign({ type: CustomerVatType.VAT_TO_PAY, amount: (_e = payload === null || payload === void 0 ? void 0 : payload.recapitulation) === null || _e === void 0 ? void 0 : _e.toPay }, other);
|
|
108
|
+
if (((_f = payload === null || payload === void 0 ? void 0 : payload.recapitulation) === null || _f === void 0 ? void 0 : _f.refund) > 0)
|
|
109
|
+
return Object.assign({ type: CustomerVatType.VAT_REFUND, amount: (_g = payload === null || payload === void 0 ? void 0 : payload.recapitulation) === null || _g === void 0 ? void 0 : _g.refund }, other);
|
|
110
|
+
if (((_h = payload === null || payload === void 0 ? void 0 : payload.recapitulation) === null || _h === void 0 ? void 0 : _h.creditToReport) > 0 || ((_j = payload === null || payload === void 0 ? void 0 : payload.recapitulation) === null || _j === void 0 ? void 0 : _j.imputedCredit) > 0)
|
|
111
|
+
return Object.assign({ type: CustomerVatType.VAT_REPORT, amount: (_l = (_k = payload === null || payload === void 0 ? void 0 : payload.recapitulation) === null || _k === void 0 ? void 0 : _k.creditToReport) !== null && _l !== void 0 ? _l : (_m = payload === null || payload === void 0 ? void 0 : payload.recapitulation) === null || _m === void 0 ? void 0 : _m.imputedCredit }, other);
|
|
112
|
+
return Object.assign({ type: CustomerVatType.VAT_TO_PAY, amount: 0 }, other);
|
|
113
|
+
}
|
|
114
|
+
return {
|
|
115
|
+
type: null, amount: null, collectable: 0, deductible: 0,
|
|
116
|
+
};
|
|
117
|
+
}
|
|
118
|
+
//# sourceMappingURL=registration.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"registration.js","sourceRoot":"","sources":["../../../ts/utils/vat/registration.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAC;AACjC,OAAO,EAGL,SAAS,EACT,eAAe,EAIyB,iBAAiB,EAAE,qBAAqB,GACjF,MAAM,aAAa,CAAC;AAGrB,MAAM,YAAY,GAAyB;IACzC,KAAK,EAAE,qBAAqB,CAAC,WAAW;IACxC,KAAK,EAAE,wBAAwB;IAC/B,OAAO,EAAE,EAAE;IACX,IAAI,EAAE,IAAI;IACV,SAAS,EAAE,KAAK;CACjB,CAAC;AAEF,MAAM,UAAU,QAAQ,CAAC,YAA8B;;IACrD,MAAM,YAAY,GAA2B,MAAA,MAAA,YAAY,CAAC,QAAQ,0CAAE,YAAY,mCAAI,EAAE,CAAC;IAEvF,IAAI,YAAY,CAAC,KAAK,KAAK,iBAAiB,CAAC,WAAW,EAAE;QACxD,MAAM,IAAI,GAA6B,EAAE,CAAC;QAE1C,YAAY,CAAC,OAAO,CAAC,GAAG,EAAE;YACxB,MAAM,MAAM,GAAG;gBACb;oBACE,KAAK,EAAE,qBAAqB,CAAC,QAAQ;oBACrC,KAAK,EAAE,qBAAqB;oBAC5B,OAAO,EAAE,EAAE;oBACX,IAAI,EAAE,YAAY,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,IAAI;oBAClF,SAAS,EAAE,KAAK;iBACjB;gBACD,YAA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OAAO,uBAAP,OAAO,CAAE,cAAc,0CAAE,cAAc,mCAAI,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,cAAc,0CAAE,aAAa,IAAK,KAAK,EAAG;QAChP,uBAAS,IAAI,EAAE,eAAe,CAAC,UAAU,EAAE,MAAM,EAAE,CAAC,IAAK,KAAK,EAAG;KAClE;IAED,OAAO;QACL,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,WAAW,EAAE,CAAC,EAAE,UAAU,EAAE,CAAC;KACxD,CAAC;AACJ,CAAC","sourcesContent":["import * as dayjs from 'dayjs';\nimport { isDefined } from 'class-validator';\nimport { reverse } from 'lodash';\nimport {\n Cerfa3310_2023,\n Cerfa3514_2022,\n CerfaType,\n CustomerVatType,\n IRegistration,\n InterchangeHistory,\n ReadDeclaration,\n ReadRegistration, ReadRegistrationTick, RegistrationState, RegistrationTickState,\n} from '../../types';\nimport { Cerfa3517_2023 } from '../../types/Interface/api/cerfa/3517';\n\nconst waitingState: ReadRegistrationTick = {\n state: RegistrationTickState.IN_PROGRESS,\n title: 'En cours de traitement',\n details: [],\n date: null,\n isPayment: false,\n};\n\nexport function getTicks(registration: ReadRegistration): ReadRegistrationTick[][] {\n const declarations: Array<ReadDeclaration> = registration.response?.declarations ?? [];\n\n if (registration.state === RegistrationState.IN_PROGRESS) {\n const data: ReadRegistrationTick[][] = [];\n\n declarations.forEach(() => {\n const result = [\n {\n state: RegistrationTickState.FINISHED,\n title: 'Déclaration envoyée',\n details: [],\n date: registration.sendAt ? dayjs(registration.sendAt).format('YYYY-MM-DD') : null,\n isPayment: false,\n },\n waitingState,\n waitingState,\n waitingState,\n ];\n\n if (registration.amountToPay && registration.amountToPay > 0) {\n result.push({\n ...waitingState,\n isPayment: true,\n });\n }\n\n data.push(result);\n });\n\n return data;\n } if ([RegistrationState.ACCEPTED, RegistrationState.REFUSED].includes(registration.state)) {\n const data: ReadRegistrationTick[][] = [];\n declarations.forEach((declaration) => {\n const response: ReadRegistrationTick[] = [\n {\n state: RegistrationTickState.FINISHED,\n title: 'Déclaration envoyée',\n date: registration.sendAt ? dayjs(registration.sendAt).format('YYYY-MM-DD') : null,\n details: [],\n },\n ...reverse(declaration.states).map((d: InterchangeHistory) => ({\n state: d.isError ? RegistrationTickState.FAILED : RegistrationTickState.FINISHED,\n title: d.label ?? null,\n details: d?.stateDetailsHistory,\n date: d.date ?? null,\n })),\n ];\n\n for (let index = declaration.states.length; index < 4; index += 1) {\n response.push({ ...waitingState, title: null });\n }\n\n if (isDefined(declaration.payment)) {\n response.push({\n state: declaration.payment.isError ? RegistrationTickState.FAILED : RegistrationTickState.FINISHED,\n title: declaration.payment?.details[0] ?? '',\n details: [],\n isPayment: true,\n date: null,\n });\n }\n data.push(response);\n });\n\n return data;\n }\n\n return [];\n}\n\nexport function getTypeAndAmountFromRegistration(registration: IRegistration): { type: CustomerVatType | null; amount: number | null; collectable: number; deductible: number; } {\n if (registration.idCerfaType === CerfaType.CERFA_3310) {\n const payload = registration.payload.cerfa3310 as Cerfa3310_2023;\n const other = { collectable: payload.vat.grossDue, deductible: payload.vat.deductible.total };\n if (payload?.isNil) return { type: CustomerVatType.VAT_TO_NIL, amount: 0, ...other };\n if (payload?.toPay?.total > 0) return { type: CustomerVatType.VAT_TO_PAY, amount: payload.toPay.total, ...other };\n if (payload?.credit?.refundAsked > 0) return { type: CustomerVatType.VAT_REFUND, amount: payload.credit.refundAsked, ...other };\n if (payload?.credit?.toReport > 0) return { type: CustomerVatType.VAT_REPORT, amount: payload.credit.toReport, ...other };\n return { type: CustomerVatType.VAT_TO_PAY, amount: 0, ...other };\n } if (registration.idCerfaType === CerfaType.CERFA_3514) {\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n const payload = registration.payload.cerfa3514 as Cerfa3514_2022;\n const other = { collectable: payload.vatAmountCollected, deductible: payload.vatAmountDeductible };\n if (payload?.vatAmountToPay > 0) return { type: CustomerVatType.VAT_TO_PAY, amount: payload.vatAmountToPay, ...other };\n if (payload?.vatRefundedOnInvests) return { type: CustomerVatType.VAT_REFUND, amount: payload.vatRefundedOnInvests, ...other };\n return { type: CustomerVatType.VAT_TO_PAY, amount: 0, ...other };\n } if (registration.idCerfaType === CerfaType.CERFA_3517) {\n const payload = registration.payload.cerfa3517 as Cerfa3517_2023;\n const other = { collectable: payload.other.total, deductible: payload.deductible.total };\n if (payload?.isNil) return { type: CustomerVatType.VAT_TO_NIL, amount: 0, ...other };\n if (payload?.recapitulation?.toPay > 0) return { type: CustomerVatType.VAT_TO_PAY, amount: payload?.recapitulation?.toPay, ...other };\n if (payload?.recapitulation?.refund > 0) return { type: CustomerVatType.VAT_REFUND, amount: payload?.recapitulation?.refund, ...other };\n if (payload?.recapitulation?.creditToReport > 0 || payload?.recapitulation?.imputedCredit > 0) return { type: CustomerVatType.VAT_REPORT, amount: payload?.recapitulation?.creditToReport ?? payload?.recapitulation?.imputedCredit, ...other };\n return { type: CustomerVatType.VAT_TO_PAY, amount: 0, ...other };\n }\n\n return {\n type: null, amount: null, collectable: 0, deductible: 0,\n };\n}"]}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { IAccountingEntry } from '../../types/Interface/models/IAccountingEntry';
|
|
2
|
+
export declare function getAmountByAccountNumber(accountingEntries: IAccountingEntry[], accountsNumber: string[], precision?: number): number;
|
|
3
|
+
export declare function getTaxAmountByAccountNumber(accountingEntries: IAccountingEntry[], accountsNumber: string[], precision?: number): number;
|
|
4
|
+
export declare function textFormatting(value: any, length?: number | null): string | null;
|
|
5
|
+
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../ts/utils/vat/utils.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,+CAA+C,CAAC;AAGjF,wBAAgB,wBAAwB,CAAC,iBAAiB,EAAE,gBAAgB,EAAE,EAAE,cAAc,EAAE,MAAM,EAAE,EAAE,SAAS,SAAI,GAAG,MAAM,CAY/H;AAED,wBAAgB,2BAA2B,CAAC,iBAAiB,EAAE,gBAAgB,EAAE,EAAE,cAAc,EAAE,MAAM,EAAE,EAAE,SAAS,SAAI,GAAG,MAAM,CAYlI;AAED,wBAAgB,cAAc,CAAC,KAAK,EAAE,GAAG,EAAE,MAAM,GAAE,MAAM,GAAG,IAAW,GAAG,MAAM,GAAG,IAAI,CActF"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { round as _round } from 'lodash';
|
|
2
|
+
import { Vat } from '../../types/Enum/Vat';
|
|
3
|
+
export function getAmountByAccountNumber(accountingEntries, accountsNumber, precision = 0) {
|
|
4
|
+
return _round(accountingEntries.reduce((acc, accountingEntry) => {
|
|
5
|
+
let accTmp = acc;
|
|
6
|
+
accountsNumber.some((number) => {
|
|
7
|
+
if (accountingEntry.account && accountingEntry.account.number && accountingEntry.account.number.toString().startsWith(number)) {
|
|
8
|
+
accTmp += (accountingEntry.debit - accountingEntry.credit);
|
|
9
|
+
return true;
|
|
10
|
+
}
|
|
11
|
+
return false;
|
|
12
|
+
});
|
|
13
|
+
return accTmp;
|
|
14
|
+
}, 0), precision);
|
|
15
|
+
}
|
|
16
|
+
export function getTaxAmountByAccountNumber(accountingEntries, accountsNumber, precision = 0) {
|
|
17
|
+
return _round(accountingEntries.reduce((acc, accountingEntry) => {
|
|
18
|
+
let accTmp = acc;
|
|
19
|
+
accountsNumber.some((number) => {
|
|
20
|
+
var _a, _b;
|
|
21
|
+
if (accountingEntry.account && accountingEntry.account.number && accountingEntry.account.number.toString().startsWith(number)) {
|
|
22
|
+
accTmp += ((accountingEntry.debit - accountingEntry.credit) * ((((_b = (_a = Object.values(Vat).find((v) => v.id === accountingEntry.idVat)) === null || _a === void 0 ? void 0 : _a.value) !== null && _b !== void 0 ? _b : 0) / 100)));
|
|
23
|
+
return true;
|
|
24
|
+
}
|
|
25
|
+
return false;
|
|
26
|
+
});
|
|
27
|
+
return accTmp;
|
|
28
|
+
}, precision));
|
|
29
|
+
}
|
|
30
|
+
export function textFormatting(value, length = null) {
|
|
31
|
+
if (value && typeof value === 'string') {
|
|
32
|
+
let formattedValue = value.replace(/[\u2018\u2019]/g, '\''); // Suppression des "Curly Quotes"
|
|
33
|
+
formattedValue = formattedValue.replace(/&/g, ''); // Suppression des &
|
|
34
|
+
formattedValue = formattedValue.replace(/!/g, ''); // Suppression des !
|
|
35
|
+
formattedValue = formattedValue.replace(/[\t]/g, ''); // Suppression des tabulations
|
|
36
|
+
formattedValue = formattedValue.replace(/`/g, '\''); // Suppression des `
|
|
37
|
+
formattedValue = formattedValue.replace(/"/g, ''); // Suppression des "
|
|
38
|
+
formattedValue = formattedValue.replace(/^ */, ''); // Suppression des espaces de début
|
|
39
|
+
formattedValue = formattedValue.replace(/ *$/, ''); // Suppression des espaces de fin
|
|
40
|
+
if (length)
|
|
41
|
+
formattedValue = formattedValue.slice(0, length);
|
|
42
|
+
return formattedValue;
|
|
43
|
+
}
|
|
44
|
+
return null;
|
|
45
|
+
}
|
|
46
|
+
//# sourceMappingURL=utils.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../ts/utils/vat/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,QAAQ,CAAC;AAEzC,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAE3C,MAAM,UAAU,wBAAwB,CAAC,iBAAqC,EAAE,cAAwB,EAAE,SAAS,GAAG,CAAC;IACrH,OAAO,MAAM,CAAC,iBAAiB,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,eAAe,EAAE,EAAE;QAC9D,IAAI,MAAM,GAAG,GAAG,CAAC;QACjB,cAAc,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,EAAE;YAC7B,IAAI,eAAe,CAAC,OAAO,IAAI,eAAe,CAAC,OAAO,CAAC,MAAM,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AM,UAAU,cAAc,CAAC,KAAU,EAAE,SAAwB,IAAI;IACrE,IAAI,KAAK,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;QACtC,IAAI,cAAc,GAAG,KAAK,CAAC,OAAO,CAAC,iBAAiB,EAAE,IAAI,CAAC,CAAC,CAAC,iCAAiC;QAC9F,cAAc,GAAG,cAAc,CAAC,OAAO,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,CAAC,oBAAoB;QACvE,cAAc,GAAG,cAAc,CAAC,OAAO,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,CAAC,oBAAoB;QACvE,cAAc,GAAG,cAAc,CAAC,OAAO,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC,CAAC,8BAA8B;QACpF,cAAc,GAAG,cAAc,CAAC,OAAO,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,oBAAoB;QACzE,cAAc,GAAG,cAAc,CAAC,OAAO,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,CAAC,oBAAoB;QACvE,cAAc,GAAG,cAAc,CAAC,OAAO,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC,CAAC,mCAAmC;QACvF,cAAc,GAAG,cAAc,CAAC,OAAO,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC,CAAC,iCAAiC;QACrF,IAAI,MAAM;YAAE,cAAc,GAAG,cAAc,CAAC,KAAK,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC;QAC7D,OAAO,cAAc,CAAC;KACvB;IACD,OAAO,IAAI,CAAC;AACd,CAAC","sourcesContent":["import { round as _round } from 'lodash';\nimport { IAccountingEntry } from '../../types/Interface/models/IAccountingEntry';\nimport { Vat } from '../../types/Enum/Vat';\n\nexport function getAmountByAccountNumber(accountingEntries: IAccountingEntry[], accountsNumber: string[], precision = 0): number {\n return _round(accountingEntries.reduce((acc, accountingEntry) => {\n let accTmp = acc;\n accountsNumber.some((number) => {\n if (accountingEntry.account && accountingEntry.account.number && accountingEntry.account.number.toString().startsWith(number)) {\n accTmp += (accountingEntry.debit - accountingEntry.credit);\n return true;\n }\n return false;\n });\n return accTmp;\n }, 0), precision);\n}\n\nexport function getTaxAmountByAccountNumber(accountingEntries: IAccountingEntry[], accountsNumber: string[], precision = 0): number {\n return _round(accountingEntries.reduce((acc, accountingEntry) => {\n let accTmp = acc;\n accountsNumber.some((number) => {\n if (accountingEntry.account && accountingEntry.account.number && accountingEntry.account.number.toString().startsWith(number)) {\n accTmp += ((accountingEntry.debit - accountingEntry.credit) * (((Object.values(Vat).find((v) => v.id === accountingEntry.idVat)?.value ?? 0) / 100)));\n return true;\n }\n return false;\n });\n return accTmp;\n }, precision));\n}\n\nexport function textFormatting(value: any, length: number | null = null): string | null {\n if (value && typeof value === 'string') {\n let formattedValue = value.replace(/[\\u2018\\u2019]/g, '\\''); // Suppression des \"Curly Quotes\"\n formattedValue = formattedValue.replace(/&/g, ''); // Suppression des &\n formattedValue = formattedValue.replace(/!/g, ''); // Suppression des !\n formattedValue = formattedValue.replace(/[\\t]/g, ''); // Suppression des tabulations\n formattedValue = formattedValue.replace(/`/g, '\\''); // Suppression des `\n formattedValue = formattedValue.replace(/\"/g, ''); // Suppression des \"\n formattedValue = formattedValue.replace(/^ */, ''); // Suppression des espaces de début\n formattedValue = formattedValue.replace(/ *$/, ''); // Suppression des espaces de fin\n if (length) formattedValue = formattedValue.slice(0, length);\n return formattedValue;\n }\n return null;\n}"]}
|