@silexpert/core 1.3.158-18 → 1.3.158-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/dist/cjs/api/resources/BalanceSheet.d.ts +4 -2
- package/dist/cjs/api/resources/BalanceSheet.d.ts.map +1 -1
- package/dist/cjs/api/resources/BalanceSheet.js +2 -3
- package/dist/cjs/api/resources/BalanceSheet.js.map +1 -1
- package/dist/cjs/api/resources/Card.d.ts +4 -2
- package/dist/cjs/api/resources/Card.d.ts.map +1 -1
- package/dist/cjs/api/resources/Card.js +1 -0
- package/dist/cjs/api/resources/Card.js.map +1 -1
- package/dist/cjs/api/resources/Comment.d.ts +2 -2
- package/dist/cjs/api/resources/Comment.d.ts.map +1 -1
- package/dist/cjs/api/resources/Comment.js.map +1 -1
- package/dist/cjs/api/resources/GeneralLedger.d.ts +1 -2
- package/dist/cjs/api/resources/GeneralLedger.d.ts.map +1 -1
- package/dist/cjs/api/resources/GeneralLedger.js +0 -9
- package/dist/cjs/api/resources/GeneralLedger.js.map +1 -1
- package/dist/cjs/api/resources/Report.d.ts +4 -4
- package/dist/cjs/api/resources/Report.d.ts.map +1 -1
- package/dist/cjs/api/resources/Report.js +1 -12
- package/dist/cjs/api/resources/Report.js.map +1 -1
- package/dist/cjs/api/resources/Revenue.d.ts +0 -8
- package/dist/cjs/api/resources/Revenue.d.ts.map +1 -1
- package/dist/cjs/api/resources/Revenue.js +0 -6
- package/dist/cjs/api/resources/Revenue.js.map +1 -1
- package/dist/cjs/api/resources.d.ts +0 -2
- package/dist/cjs/api/resources.d.ts.map +1 -1
- package/dist/cjs/api/resources.js +0 -2
- package/dist/cjs/api/resources.js.map +1 -1
- package/dist/cjs/types/Enum/AutomaticRegistration.d.ts +0 -7
- package/dist/cjs/types/Enum/AutomaticRegistration.d.ts.map +1 -1
- package/dist/cjs/types/Enum/AutomaticRegistration.js +1 -39
- package/dist/cjs/types/Enum/AutomaticRegistration.js.map +1 -1
- package/dist/cjs/types/Enum/BalanceSheet.d.ts +0 -7
- package/dist/cjs/types/Enum/BalanceSheet.d.ts.map +1 -1
- package/dist/cjs/types/Enum/BalanceSheet.js +0 -61
- package/dist/cjs/types/Enum/BalanceSheet.js.map +1 -1
- package/dist/cjs/types/Enum/BrandClementine.d.ts.map +1 -1
- package/dist/cjs/types/Enum/BrandClementine.js +0 -6
- package/dist/cjs/types/Enum/BrandClementine.js.map +1 -1
- package/dist/cjs/types/Enum/Card.d.ts +0 -10
- package/dist/cjs/types/Enum/Card.d.ts.map +1 -1
- package/dist/cjs/types/Enum/Card.js +2 -15
- package/dist/cjs/types/Enum/Card.js.map +1 -1
- package/dist/cjs/types/Enum/IncomeStatement.d.ts +0 -7
- package/dist/cjs/types/Enum/IncomeStatement.d.ts.map +1 -1
- package/dist/cjs/types/Enum/IncomeStatement.js +0 -39
- package/dist/cjs/types/Enum/IncomeStatement.js.map +1 -1
- package/dist/cjs/types/Enum/LetterType.js +2 -2
- package/dist/cjs/types/Enum/LetterType.js.map +1 -1
- package/dist/cjs/types/Enum/PrestationType.js +6 -6
- package/dist/cjs/types/Enum/PrestationType.js.map +1 -1
- package/dist/cjs/types/Enum/RegistrationSource.d.ts +1 -2
- package/dist/cjs/types/Enum/RegistrationSource.d.ts.map +1 -1
- package/dist/cjs/types/Enum/RegistrationSource.js +0 -1
- package/dist/cjs/types/Enum/RegistrationSource.js.map +1 -1
- package/dist/cjs/types/Enum/ReportService.d.ts +1 -4
- package/dist/cjs/types/Enum/ReportService.d.ts.map +1 -1
- package/dist/cjs/types/Enum/ReportService.js +18 -39
- package/dist/cjs/types/Enum/ReportService.js.map +1 -1
- package/dist/cjs/types/Enum/ReportSource.d.ts +1 -2
- package/dist/cjs/types/Enum/ReportSource.d.ts.map +1 -1
- package/dist/cjs/types/Enum/ReportSource.js +0 -5
- package/dist/cjs/types/Enum/ReportSource.js.map +1 -1
- package/dist/cjs/types/Enum/ReportType.d.ts +1 -9
- package/dist/cjs/types/Enum/ReportType.d.ts.map +1 -1
- package/dist/cjs/types/Enum/ReportType.js +1 -41
- package/dist/cjs/types/Enum/ReportType.js.map +1 -1
- package/dist/cjs/types/Enum/TaskResponseType.d.ts.map +1 -1
- package/dist/cjs/types/Enum/TaskResponseType.js +0 -33
- package/dist/cjs/types/Enum/TaskResponseType.js.map +1 -1
- package/dist/cjs/types/Interface/api/balanceSheet/Query.d.ts +0 -3
- package/dist/cjs/types/Interface/api/balanceSheet/Query.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/balanceSheet/Query.js +1 -11
- package/dist/cjs/types/Interface/api/balanceSheet/Query.js.map +1 -1
- package/dist/cjs/types/Interface/api/balanceSheet/ReadBalanceSheet.d.ts +0 -2
- package/dist/cjs/types/Interface/api/balanceSheet/ReadBalanceSheet.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/balanceSheet/ReadBalanceSheet.js.map +1 -1
- package/dist/cjs/types/Interface/api/brevo/EmailSendOptions.dto.js +12 -12
- package/dist/cjs/types/Interface/api/brevo/EmailSendOptions.dto.js.map +1 -1
- package/dist/cjs/types/Interface/api/card/UpdateCard.d.ts +1 -2
- package/dist/cjs/types/Interface/api/card/UpdateCard.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/card/UpdateCard.js +0 -6
- package/dist/cjs/types/Interface/api/card/UpdateCard.js.map +1 -1
- package/dist/cjs/types/Interface/api/config/ConfigType.d.ts +0 -4
- package/dist/cjs/types/Interface/api/config/ConfigType.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/config/ConfigType.js.map +1 -1
- package/dist/cjs/types/Interface/api/gedFile/createFileAndGed.d.ts +0 -1
- package/dist/cjs/types/Interface/api/gedFile/createFileAndGed.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/gedFile/createFileAndGed.js +0 -6
- package/dist/cjs/types/Interface/api/gedFile/createFileAndGed.js.map +1 -1
- package/dist/cjs/types/Interface/api/generalLedger/IGeneralLedgerAccountingEntry.d.ts +0 -1
- package/dist/cjs/types/Interface/api/generalLedger/IGeneralLedgerAccountingEntry.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/generalLedger/IGeneralLedgerAccountingEntry.js.map +1 -1
- package/dist/cjs/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.d.ts +0 -1
- package/dist/cjs/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.js.map +1 -1
- package/dist/cjs/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.d.ts +0 -9
- package/dist/cjs/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.js +1 -30
- package/dist/cjs/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.js.map +1 -1
- package/dist/cjs/types/Interface/api/incomeStatement/QueryIncomeStatement.d.ts +0 -1
- package/dist/cjs/types/Interface/api/incomeStatement/QueryIncomeStatement.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/incomeStatement/QueryIncomeStatement.js +0 -9
- package/dist/cjs/types/Interface/api/incomeStatement/QueryIncomeStatement.js.map +1 -1
- package/dist/cjs/types/Interface/api/payment/Params.d.ts +1 -4
- package/dist/cjs/types/Interface/api/payment/Params.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/payment/Params.js +1 -23
- package/dist/cjs/types/Interface/api/payment/Params.js.map +1 -1
- package/dist/cjs/types/Interface/api/report/CreateReport.d.ts +0 -2
- package/dist/cjs/types/Interface/api/report/CreateReport.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/report/CreateReport.js +1 -10
- package/dist/cjs/types/Interface/api/report/CreateReport.js.map +1 -1
- package/dist/cjs/types/Interface/api/report/ExternalReport.d.ts +1 -1
- package/dist/cjs/types/Interface/api/report/ExternalReport.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/report/ExternalReport.js +5 -5
- package/dist/cjs/types/Interface/api/report/ExternalReport.js.map +1 -1
- package/dist/cjs/types/Interface/api/report/QueryReports.d.ts +0 -4
- package/dist/cjs/types/Interface/api/report/QueryReports.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/report/QueryReports.js +0 -20
- package/dist/cjs/types/Interface/api/report/QueryReports.js.map +1 -1
- package/dist/cjs/types/Interface/api/report/UpdateReport.d.ts +6 -14
- package/dist/cjs/types/Interface/api/report/UpdateReport.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/report/UpdateReport.js +0 -120
- package/dist/cjs/types/Interface/api/report/UpdateReport.js.map +1 -1
- package/dist/{mjs/types/Interface/api/revenue → cjs/types/Interface/api}/revenueMovement.d.ts +10 -11
- package/dist/cjs/types/Interface/api/revenueMovement.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/{automaticRegistration/Read.js → revenueMovement.js} +1 -1
- package/dist/cjs/types/Interface/api/revenueMovement.js.map +1 -0
- package/dist/{mjs/types/Interface/api/revenue → cjs/types/Interface/api}/revenueSnapshot.d.ts +1 -2
- package/dist/cjs/types/Interface/api/revenueSnapshot.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/revenueSnapshot.js.map +1 -0
- package/dist/{mjs/types/Interface/api/revenue → cjs/types/Interface/api}/revenueSnapshotGenerate.d.ts +1 -0
- package/dist/cjs/types/Interface/api/revenueSnapshotGenerate.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/{revenue/revenueSnapshotGenerate.js → revenueSnapshotGenerate.js} +12 -3
- package/dist/cjs/types/Interface/api/revenueSnapshotGenerate.js.map +1 -0
- package/dist/cjs/types/Interface/api/society/ReadSociety.d.ts +0 -1
- package/dist/cjs/types/Interface/api/society/ReadSociety.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/society/ReadSociety.js.map +1 -1
- package/dist/cjs/types/Interface/api/user/RegisterProspect.d.ts +0 -4
- package/dist/cjs/types/Interface/api/user/RegisterProspect.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/user/RegisterProspect.js.map +1 -1
- package/dist/cjs/types/Interface/api/user/RegisterWebhook.d.ts +0 -6
- package/dist/cjs/types/Interface/api/user/RegisterWebhook.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/user/RegisterWebhook.js +0 -22
- package/dist/cjs/types/Interface/api/user/RegisterWebhook.js.map +1 -1
- package/dist/cjs/types/Interface/models/IImmobilization.d.ts +0 -1
- package/dist/cjs/types/Interface/models/IImmobilization.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/IImmobilization.js.map +1 -1
- package/dist/cjs/types/Interface/models/IPayment.d.ts +0 -1
- package/dist/cjs/types/Interface/models/IPayment.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/IPayment.js.map +1 -1
- package/dist/cjs/types/Interface/models/IReport.d.ts +0 -3
- package/dist/cjs/types/Interface/models/IReport.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/IReport.js.map +1 -1
- package/dist/cjs/types/Interface/models/ISociety.d.ts +1 -1
- package/dist/cjs/types/Interface/models/ISociety.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/ISociety.js.map +1 -1
- package/dist/cjs/types/index.d.ts +6 -8
- package/dist/cjs/types/index.d.ts.map +1 -1
- package/dist/cjs/types/index.js +7 -8
- package/dist/cjs/types/index.js.map +1 -1
- package/dist/cjs/utils/checkup.d.ts +20 -0
- package/dist/cjs/utils/checkup.d.ts.map +1 -1
- package/dist/cjs/utils/checkup.js +1 -0
- package/dist/cjs/utils/checkup.js.map +1 -1
- package/dist/cjs/utils/exercice.d.ts +1 -8
- package/dist/cjs/utils/exercice.d.ts.map +1 -1
- package/dist/cjs/utils/exercice.js +1 -11
- package/dist/cjs/utils/exercice.js.map +1 -1
- package/dist/cjs/utils/prestation.d.ts.map +1 -1
- package/dist/cjs/utils/prestation.js +4 -9
- package/dist/cjs/utils/prestation.js.map +1 -1
- package/dist/cjs/utils/vat/3517/century25.js +53 -53
- package/dist/cjs/utils/vat/3517/century25.js.map +1 -1
- package/dist/mjs/api/resources/BalanceSheet.d.ts +4 -2
- package/dist/mjs/api/resources/BalanceSheet.d.ts.map +1 -1
- package/dist/mjs/api/resources/BalanceSheet.js +2 -3
- package/dist/mjs/api/resources/BalanceSheet.js.map +1 -1
- package/dist/mjs/api/resources/Card.d.ts +4 -2
- package/dist/mjs/api/resources/Card.d.ts.map +1 -1
- package/dist/mjs/api/resources/Card.js +1 -0
- package/dist/mjs/api/resources/Card.js.map +1 -1
- package/dist/mjs/api/resources/Comment.d.ts +2 -2
- package/dist/mjs/api/resources/Comment.d.ts.map +1 -1
- package/dist/mjs/api/resources/Comment.js.map +1 -1
- package/dist/mjs/api/resources/GeneralLedger.d.ts +1 -2
- package/dist/mjs/api/resources/GeneralLedger.d.ts.map +1 -1
- package/dist/mjs/api/resources/GeneralLedger.js +0 -9
- package/dist/mjs/api/resources/GeneralLedger.js.map +1 -1
- package/dist/mjs/api/resources/Report.d.ts +4 -4
- package/dist/mjs/api/resources/Report.d.ts.map +1 -1
- package/dist/mjs/api/resources/Report.js +1 -12
- package/dist/mjs/api/resources/Report.js.map +1 -1
- package/dist/mjs/api/resources/Revenue.d.ts +0 -8
- package/dist/mjs/api/resources/Revenue.d.ts.map +1 -1
- package/dist/mjs/api/resources/Revenue.js +0 -6
- package/dist/mjs/api/resources/Revenue.js.map +1 -1
- package/dist/mjs/api/resources.d.ts +0 -2
- package/dist/mjs/api/resources.d.ts.map +1 -1
- package/dist/mjs/api/resources.js +0 -2
- package/dist/mjs/api/resources.js.map +1 -1
- package/dist/mjs/types/Enum/AutomaticRegistration.d.ts +0 -7
- package/dist/mjs/types/Enum/AutomaticRegistration.d.ts.map +1 -1
- package/dist/mjs/types/Enum/AutomaticRegistration.js +0 -38
- package/dist/mjs/types/Enum/AutomaticRegistration.js.map +1 -1
- package/dist/mjs/types/Enum/BalanceSheet.d.ts +0 -7
- package/dist/mjs/types/Enum/BalanceSheet.d.ts.map +1 -1
- package/dist/mjs/types/Enum/BalanceSheet.js +0 -61
- package/dist/mjs/types/Enum/BalanceSheet.js.map +1 -1
- package/dist/mjs/types/Enum/BrandClementine.d.ts.map +1 -1
- package/dist/mjs/types/Enum/BrandClementine.js +0 -6
- package/dist/mjs/types/Enum/BrandClementine.js.map +1 -1
- package/dist/mjs/types/Enum/Card.d.ts +0 -10
- package/dist/mjs/types/Enum/Card.d.ts.map +1 -1
- package/dist/mjs/types/Enum/Card.js +1 -14
- package/dist/mjs/types/Enum/Card.js.map +1 -1
- package/dist/mjs/types/Enum/IncomeStatement.d.ts +0 -7
- package/dist/mjs/types/Enum/IncomeStatement.d.ts.map +1 -1
- package/dist/mjs/types/Enum/IncomeStatement.js +0 -39
- package/dist/mjs/types/Enum/IncomeStatement.js.map +1 -1
- package/dist/mjs/types/Enum/LetterType.js +2 -2
- package/dist/mjs/types/Enum/LetterType.js.map +1 -1
- package/dist/mjs/types/Enum/PrestationType.js +6 -6
- package/dist/mjs/types/Enum/PrestationType.js.map +1 -1
- package/dist/mjs/types/Enum/RegistrationSource.d.ts +1 -2
- package/dist/mjs/types/Enum/RegistrationSource.d.ts.map +1 -1
- package/dist/mjs/types/Enum/RegistrationSource.js +0 -1
- package/dist/mjs/types/Enum/RegistrationSource.js.map +1 -1
- package/dist/mjs/types/Enum/ReportService.d.ts +1 -4
- package/dist/mjs/types/Enum/ReportService.d.ts.map +1 -1
- package/dist/mjs/types/Enum/ReportService.js +18 -39
- package/dist/mjs/types/Enum/ReportService.js.map +1 -1
- package/dist/mjs/types/Enum/ReportSource.d.ts +1 -2
- package/dist/mjs/types/Enum/ReportSource.d.ts.map +1 -1
- package/dist/mjs/types/Enum/ReportSource.js +0 -5
- package/dist/mjs/types/Enum/ReportSource.js.map +1 -1
- package/dist/mjs/types/Enum/ReportType.d.ts +1 -9
- package/dist/mjs/types/Enum/ReportType.d.ts.map +1 -1
- package/dist/mjs/types/Enum/ReportType.js +1 -41
- package/dist/mjs/types/Enum/ReportType.js.map +1 -1
- package/dist/mjs/types/Enum/TaskResponseType.d.ts.map +1 -1
- package/dist/mjs/types/Enum/TaskResponseType.js +0 -33
- package/dist/mjs/types/Enum/TaskResponseType.js.map +1 -1
- package/dist/mjs/types/Interface/api/balanceSheet/Query.d.ts +0 -3
- package/dist/mjs/types/Interface/api/balanceSheet/Query.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/balanceSheet/Query.js +0 -10
- package/dist/mjs/types/Interface/api/balanceSheet/Query.js.map +1 -1
- package/dist/mjs/types/Interface/api/balanceSheet/ReadBalanceSheet.d.ts +0 -2
- package/dist/mjs/types/Interface/api/balanceSheet/ReadBalanceSheet.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/balanceSheet/ReadBalanceSheet.js.map +1 -1
- package/dist/mjs/types/Interface/api/brevo/EmailSendOptions.dto.js +1 -1
- package/dist/mjs/types/Interface/api/brevo/EmailSendOptions.dto.js.map +1 -1
- package/dist/mjs/types/Interface/api/card/UpdateCard.d.ts +1 -2
- package/dist/mjs/types/Interface/api/card/UpdateCard.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/card/UpdateCard.js +1 -8
- package/dist/mjs/types/Interface/api/card/UpdateCard.js.map +1 -1
- package/dist/mjs/types/Interface/api/config/ConfigType.d.ts +0 -4
- package/dist/mjs/types/Interface/api/config/ConfigType.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/config/ConfigType.js.map +1 -1
- package/dist/mjs/types/Interface/api/gedFile/createFileAndGed.d.ts +0 -1
- package/dist/mjs/types/Interface/api/gedFile/createFileAndGed.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/gedFile/createFileAndGed.js +0 -7
- package/dist/mjs/types/Interface/api/gedFile/createFileAndGed.js.map +1 -1
- package/dist/mjs/types/Interface/api/generalLedger/IGeneralLedgerAccountingEntry.d.ts +0 -1
- package/dist/mjs/types/Interface/api/generalLedger/IGeneralLedgerAccountingEntry.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/generalLedger/IGeneralLedgerAccountingEntry.js.map +1 -1
- package/dist/mjs/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.d.ts +0 -1
- package/dist/mjs/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.js.map +1 -1
- package/dist/mjs/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.d.ts +0 -9
- package/dist/mjs/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.js +1 -34
- package/dist/mjs/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.js.map +1 -1
- package/dist/mjs/types/Interface/api/incomeStatement/QueryIncomeStatement.d.ts +0 -1
- package/dist/mjs/types/Interface/api/incomeStatement/QueryIncomeStatement.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/incomeStatement/QueryIncomeStatement.js +1 -11
- package/dist/mjs/types/Interface/api/incomeStatement/QueryIncomeStatement.js.map +1 -1
- package/dist/mjs/types/Interface/api/payment/Params.d.ts +1 -4
- package/dist/mjs/types/Interface/api/payment/Params.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/payment/Params.js +2 -25
- package/dist/mjs/types/Interface/api/payment/Params.js.map +1 -1
- package/dist/mjs/types/Interface/api/report/CreateReport.d.ts +0 -2
- package/dist/mjs/types/Interface/api/report/CreateReport.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/report/CreateReport.js +1 -12
- package/dist/mjs/types/Interface/api/report/CreateReport.js.map +1 -1
- package/dist/mjs/types/Interface/api/report/ExternalReport.d.ts +1 -1
- package/dist/mjs/types/Interface/api/report/ExternalReport.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/report/ExternalReport.js +7 -5
- package/dist/mjs/types/Interface/api/report/ExternalReport.js.map +1 -1
- package/dist/mjs/types/Interface/api/report/QueryReports.d.ts +0 -4
- package/dist/mjs/types/Interface/api/report/QueryReports.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/report/QueryReports.js +1 -23
- package/dist/mjs/types/Interface/api/report/QueryReports.js.map +1 -1
- package/dist/mjs/types/Interface/api/report/UpdateReport.d.ts +6 -14
- package/dist/mjs/types/Interface/api/report/UpdateReport.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/report/UpdateReport.js +1 -135
- package/dist/mjs/types/Interface/api/report/UpdateReport.js.map +1 -1
- package/dist/{cjs/types/Interface/api/revenue → mjs/types/Interface/api}/revenueMovement.d.ts +10 -11
- package/dist/mjs/types/Interface/api/revenueMovement.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/revenueMovement.js +2 -0
- package/dist/mjs/types/Interface/api/revenueMovement.js.map +1 -0
- package/dist/{cjs/types/Interface/api/revenue → mjs/types/Interface/api}/revenueSnapshot.d.ts +1 -2
- package/dist/mjs/types/Interface/api/revenueSnapshot.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/revenueSnapshot.js.map +1 -0
- package/dist/{cjs/types/Interface/api/revenue → mjs/types/Interface/api}/revenueSnapshotGenerate.d.ts +1 -0
- package/dist/mjs/types/Interface/api/revenueSnapshotGenerate.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/{revenue/revenueSnapshotGenerate.js → revenueSnapshotGenerate.js} +14 -11
- package/dist/mjs/types/Interface/api/revenueSnapshotGenerate.js.map +1 -0
- package/dist/mjs/types/Interface/api/society/ReadSociety.d.ts +0 -1
- package/dist/mjs/types/Interface/api/society/ReadSociety.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/society/ReadSociety.js.map +1 -1
- package/dist/mjs/types/Interface/api/user/RegisterProspect.d.ts +0 -4
- package/dist/mjs/types/Interface/api/user/RegisterProspect.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/user/RegisterProspect.js.map +1 -1
- package/dist/mjs/types/Interface/api/user/RegisterWebhook.d.ts +0 -6
- package/dist/mjs/types/Interface/api/user/RegisterWebhook.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/user/RegisterWebhook.js +1 -26
- package/dist/mjs/types/Interface/api/user/RegisterWebhook.js.map +1 -1
- package/dist/mjs/types/Interface/models/IImmobilization.d.ts +0 -1
- package/dist/mjs/types/Interface/models/IImmobilization.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/IImmobilization.js.map +1 -1
- package/dist/mjs/types/Interface/models/IPayment.d.ts +0 -1
- package/dist/mjs/types/Interface/models/IPayment.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/IPayment.js.map +1 -1
- package/dist/mjs/types/Interface/models/IReport.d.ts +0 -3
- package/dist/mjs/types/Interface/models/IReport.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/IReport.js.map +1 -1
- package/dist/mjs/types/Interface/models/ISociety.d.ts +1 -1
- package/dist/mjs/types/Interface/models/ISociety.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/ISociety.js.map +1 -1
- package/dist/mjs/types/index.d.ts +6 -8
- package/dist/mjs/types/index.d.ts.map +1 -1
- package/dist/mjs/types/index.js +7 -8
- package/dist/mjs/types/index.js.map +1 -1
- package/dist/mjs/utils/checkup.d.ts +20 -0
- package/dist/mjs/utils/checkup.d.ts.map +1 -1
- package/dist/mjs/utils/checkup.js +1 -0
- package/dist/mjs/utils/checkup.js.map +1 -1
- package/dist/mjs/utils/exercice.d.ts +1 -8
- package/dist/mjs/utils/exercice.d.ts.map +1 -1
- package/dist/mjs/utils/exercice.js +1 -10
- package/dist/mjs/utils/exercice.js.map +1 -1
- package/dist/mjs/utils/prestation.d.ts.map +1 -1
- package/dist/mjs/utils/prestation.js +1 -3
- package/dist/mjs/utils/prestation.js.map +1 -1
- package/dist/mjs/utils/vat/3517/century25.js +53 -53
- package/dist/mjs/utils/vat/3517/century25.js.map +1 -1
- package/package.json +16 -16
- package/ts/api/resources/BalanceSheet.ts +2 -4
- package/ts/api/resources/Card.ts +3 -2
- package/ts/api/resources/Comment.ts +2 -2
- package/ts/api/resources/GeneralLedger.ts +0 -11
- package/ts/api/resources/Report.ts +5 -15
- package/ts/api/resources/Revenue.ts +0 -8
- package/ts/api/resources.ts +0 -2
- package/ts/types/Enum/AutomaticRegistration.ts +0 -45
- package/ts/types/Enum/BalanceSheet.ts +0 -69
- package/ts/types/Enum/BrandClementine.ts +0 -6
- package/ts/types/Enum/Card.ts +1 -15
- package/ts/types/Enum/IncomeStatement.ts +0 -47
- package/ts/types/Enum/LetterType.ts +2 -2
- package/ts/types/Enum/PrestationType.ts +6 -6
- package/ts/types/Enum/RegistrationSource.ts +0 -1
- package/ts/types/Enum/ReportService.ts +3 -24
- package/ts/types/Enum/ReportSource.ts +0 -5
- package/ts/types/Enum/ReportType.ts +1 -41
- package/ts/types/Enum/TaskResponseType.ts +0 -33
- package/ts/types/Interface/api/balanceSheet/Query.ts +0 -8
- package/ts/types/Interface/api/balanceSheet/ReadBalanceSheet.ts +0 -3
- package/ts/types/Interface/api/brevo/EmailSendOptions.dto.ts +1 -1
- package/ts/types/Interface/api/card/UpdateCard.ts +1 -6
- package/ts/types/Interface/api/config/ConfigType.ts +0 -1
- package/ts/types/Interface/api/gedFile/createFileAndGed.ts +0 -5
- package/ts/types/Interface/api/generalLedger/IGeneralLedgerAccountingEntry.ts +0 -1
- package/ts/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.ts +0 -1
- package/ts/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.ts +1 -26
- package/ts/types/Interface/api/incomeStatement/QueryIncomeStatement.ts +1 -9
- package/ts/types/Interface/api/payment/Params.ts +3 -20
- package/ts/types/Interface/api/report/CreateReport.ts +1 -8
- package/ts/types/Interface/api/report/ExternalReport.ts +4 -4
- package/ts/types/Interface/api/report/QueryReports.ts +1 -17
- package/ts/types/Interface/api/report/UpdateReport.ts +6 -86
- package/ts/types/Interface/api/revenueMovement.ts +113 -0
- package/ts/types/Interface/api/{revenue/revenueSnapshot.ts → revenueSnapshot.ts} +1 -3
- package/ts/types/Interface/api/{revenue/revenueSnapshotGenerate.ts → revenueSnapshotGenerate.ts} +11 -11
- package/ts/types/Interface/api/society/ReadSociety.ts +0 -1
- package/ts/types/Interface/api/user/RegisterProspect.ts +0 -4
- package/ts/types/Interface/api/user/RegisterWebhook.ts +1 -19
- package/ts/types/Interface/models/IImmobilization.ts +0 -1
- package/ts/types/Interface/models/IPayment.ts +0 -1
- package/ts/types/Interface/models/IReport.ts +0 -3
- package/ts/types/Interface/models/ISociety.ts +1 -1
- package/ts/types/index.ts +9 -8
- package/ts/utils/checkup.ts +1 -0
- package/ts/utils/exercice.ts +1 -11
- package/ts/utils/prestation.ts +1 -3
- package/ts/utils/vat/3517/century25.ts +53 -53
- package/dist/cjs/api/resources/AutomaticRegistration.d.ts +0 -6
- package/dist/cjs/api/resources/AutomaticRegistration.d.ts.map +0 -1
- package/dist/cjs/api/resources/AutomaticRegistration.js +0 -22
- package/dist/cjs/api/resources/AutomaticRegistration.js.map +0 -1
- package/dist/cjs/types/Enum/TransactionRangeFilter.d.ts +0 -7
- package/dist/cjs/types/Enum/TransactionRangeFilter.d.ts.map +0 -1
- package/dist/cjs/types/Enum/TransactionRangeFilter.js +0 -11
- package/dist/cjs/types/Enum/TransactionRangeFilter.js.map +0 -1
- package/dist/cjs/types/Interface/api/automaticRegistration/Query.d.ts +0 -6
- package/dist/cjs/types/Interface/api/automaticRegistration/Query.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/automaticRegistration/Query.js +0 -36
- package/dist/cjs/types/Interface/api/automaticRegistration/Query.js.map +0 -1
- package/dist/cjs/types/Interface/api/automaticRegistration/Read.d.ts +0 -9
- package/dist/cjs/types/Interface/api/automaticRegistration/Read.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/automaticRegistration/Read.js.map +0 -1
- package/dist/cjs/types/Interface/api/revenue/revenueMovement.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/revenue/revenueMovement.js +0 -275
- package/dist/cjs/types/Interface/api/revenue/revenueMovement.js.map +0 -1
- package/dist/cjs/types/Interface/api/revenue/revenueSnapshot.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/revenue/revenueSnapshot.js.map +0 -1
- package/dist/cjs/types/Interface/api/revenue/revenueSnapshotGenerate.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/revenue/revenueSnapshotGenerate.js.map +0 -1
- package/dist/mjs/api/resources/AutomaticRegistration.d.ts +0 -6
- package/dist/mjs/api/resources/AutomaticRegistration.d.ts.map +0 -1
- package/dist/mjs/api/resources/AutomaticRegistration.js +0 -7
- package/dist/mjs/api/resources/AutomaticRegistration.js.map +0 -1
- package/dist/mjs/types/Enum/TransactionRangeFilter.d.ts +0 -7
- package/dist/mjs/types/Enum/TransactionRangeFilter.d.ts.map +0 -1
- package/dist/mjs/types/Enum/TransactionRangeFilter.js +0 -8
- package/dist/mjs/types/Enum/TransactionRangeFilter.js.map +0 -1
- package/dist/mjs/types/Interface/api/automaticRegistration/Query.d.ts +0 -6
- package/dist/mjs/types/Interface/api/automaticRegistration/Query.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/automaticRegistration/Query.js +0 -35
- package/dist/mjs/types/Interface/api/automaticRegistration/Query.js.map +0 -1
- package/dist/mjs/types/Interface/api/automaticRegistration/Read.d.ts +0 -9
- package/dist/mjs/types/Interface/api/automaticRegistration/Read.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/automaticRegistration/Read.js +0 -2
- package/dist/mjs/types/Interface/api/automaticRegistration/Read.js.map +0 -1
- package/dist/mjs/types/Interface/api/revenue/revenueMovement.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/revenue/revenueMovement.js +0 -304
- package/dist/mjs/types/Interface/api/revenue/revenueMovement.js.map +0 -1
- package/dist/mjs/types/Interface/api/revenue/revenueSnapshot.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/revenue/revenueSnapshot.js.map +0 -1
- package/dist/mjs/types/Interface/api/revenue/revenueSnapshotGenerate.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/revenue/revenueSnapshotGenerate.js.map +0 -1
- package/ts/api/resources/AutomaticRegistration.ts +0 -8
- package/ts/types/Enum/TransactionRangeFilter.ts +0 -6
- package/ts/types/Interface/api/automaticRegistration/Query.ts +0 -19
- package/ts/types/Interface/api/automaticRegistration/Read.ts +0 -8
- package/ts/types/Interface/api/revenue/revenueMovement.ts +0 -257
- /package/dist/cjs/types/Interface/api/{revenue/revenueSnapshot.js → revenueSnapshot.js} +0 -0
- /package/dist/mjs/types/Interface/api/{revenue/revenueSnapshot.js → revenueSnapshot.js} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Params.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/payment/Params.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"Params.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/payment/Params.ts"],"names":[],"mappings":"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","sourcesContent":["import { IsBoolean, IsDate, IsInt, IsNumber, IsOptional, IsString, Matches } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class CreatePaymentsAutoBilling {\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idSociety?: number;\n}\nexport class CreatePaymentsRebilling {\n @ApiProperty()\n @IsInt()\n idSociety: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n @Matches(/^\\d{4}-(0[1-9]|1[0-2])$/, {\n message: 'endDate doit être au format YYYY-MM',\n })\n endDate?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n nbExercicesToGenerate?: number = 1;\n}\n\nexport class UpdateCollectable {\n @ApiProperty()\n @IsInt({ each: true })\n listIdPayment: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isCollectable: boolean;\n}\n\nexport class UpdatePayment {\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n amount?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n amountPayed?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idExercice?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idPaymentMethod?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idPrestation?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @ToBoolean()\n @IsBoolean()\n isAsset?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @ToBoolean()\n @IsBoolean()\n isFree?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @ToBoolean()\n @IsBoolean()\n isOverpaid?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @ToBoolean()\n @IsBoolean()\n isHiddenCustomer?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @ToBoolean()\n @IsBoolean()\n noInternalInvoice?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @ToBoolean()\n @IsBoolean()\n isDebtSpreading?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n comment?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n internComment?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n datePayment?: Date;\n}\n"]}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { IReport } from '../../..';
|
|
2
2
|
import { TFile } from '../file/TFile';
|
|
3
3
|
export declare class CreateReport implements IReport {
|
|
4
|
-
idSource: number;
|
|
5
4
|
idReportType?: number[];
|
|
6
5
|
idSociety?: number;
|
|
7
6
|
idFile?: number;
|
|
@@ -16,7 +15,6 @@ export declare class CreateReport implements IReport {
|
|
|
16
15
|
action?: number;
|
|
17
16
|
processed?: boolean;
|
|
18
17
|
letterDate?: Date;
|
|
19
|
-
receivedAt?: Date;
|
|
20
18
|
receivedFile?: TFile;
|
|
21
19
|
responseFile?: TFile;
|
|
22
20
|
token?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateReport.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/report/CreateReport.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAEnC,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAEtC,qBAAa,YAAa,YAAW,OAAO;
|
|
1
|
+
{"version":3,"file":"CreateReport.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/report/CreateReport.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAEnC,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAEtC,qBAAa,YAAa,YAAW,OAAO;IAI1C,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IAKxB,SAAS,CAAC,EAAE,MAAM,CAAC;IAKnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAIhB,MAAM,EAAE,MAAM,CAAC;IAKf,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAI5B,OAAO,EAAE,MAAM,CAAC;IAKhB,MAAM,CAAC,EAAE,MAAM,CAAC;IAIhB,eAAe,CAAC,EAAE,OAAO,CAAC;IAK1B,KAAK,CAAC,EAAE,MAAM,CAAC;IAIf,WAAW,CAAC,EAAE,OAAO,CAAC;IAKtB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAKlB,MAAM,CAAC,EAAE,MAAM,CAAC;IAIhB,SAAS,CAAC,EAAE,OAAO,CAAC;IAIpB,UAAU,CAAC,EAAE,IAAI,CAAC;IAIlB,YAAY,CAAC,EAAE,KAAK,CAAC;IAIrB,YAAY,CAAC,EAAE,KAAK,CAAC;IAKrB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB"}
|
|
@@ -15,14 +15,10 @@ const utils_1 = require("../../../../utils");
|
|
|
15
15
|
class CreateReport {
|
|
16
16
|
}
|
|
17
17
|
exports.CreateReport = CreateReport;
|
|
18
|
-
__decorate([
|
|
19
|
-
(0, utils_1.ApiProperty)(),
|
|
20
|
-
(0, class_validator_1.IsInt)(),
|
|
21
|
-
__metadata("design:type", Number)
|
|
22
|
-
], CreateReport.prototype, "idSource", void 0);
|
|
23
18
|
__decorate([
|
|
24
19
|
(0, utils_1.ApiPropertyOptional)(),
|
|
25
20
|
(0, class_validator_1.IsOptional)(),
|
|
21
|
+
(0, class_validator_1.IsInt)({ each: true }),
|
|
26
22
|
__metadata("design:type", Array)
|
|
27
23
|
], CreateReport.prototype, "idReportType", void 0);
|
|
28
24
|
__decorate([
|
|
@@ -97,11 +93,6 @@ __decorate([
|
|
|
97
93
|
(0, class_validator_1.IsOptional)(),
|
|
98
94
|
__metadata("design:type", Date)
|
|
99
95
|
], CreateReport.prototype, "letterDate", void 0);
|
|
100
|
-
__decorate([
|
|
101
|
-
(0, utils_1.ApiPropertyOptional)(),
|
|
102
|
-
(0, class_validator_1.IsOptional)(),
|
|
103
|
-
__metadata("design:type", Date)
|
|
104
|
-
], CreateReport.prototype, "receivedAt", void 0);
|
|
105
96
|
__decorate([
|
|
106
97
|
(0, utils_1.ApiPropertyOptional)(),
|
|
107
98
|
(0, class_validator_1.IsOptional)(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateReport.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/report/CreateReport.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA8D;AAE9D,6CAAqE;AAGrE,MAAa,YAAY;
|
|
1
|
+
{"version":3,"file":"CreateReport.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/report/CreateReport.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA8D;AAE9D,6CAAqE;AAGrE,MAAa,YAAY;CA6ExB;AA7ED,oCA6EC;AAzEC;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;kDACE;AAKxB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;+CACW;AAKnB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;4CACQ;AAIhB;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,uBAAK,GAAE;;4CACO;AAKf;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;wDACoB;AAI5B;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;6CACK;AAKhB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;4CACK;AAIhB;IAFC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;;qDACa;AAK1B;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;2CACO;AAIf;IAFC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;;iDACS;AAKtB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;8CACU;AAKlB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;4CACQ;AAIhB;IAFC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;;+CACO;AAIpB;IAFC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;8BACA,IAAI;gDAAC;AAIlB;IAFC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;;kDACQ;AAIrB;IAFC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;;kDACQ;AAKrB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;2CACI","sourcesContent":["import { IsInt, IsOptional, IsString } from 'class-validator';\nimport { IReport } from '../../..';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { TFile } from '../file/TFile';\n\nexport class CreateReport implements IReport {\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt({ each: true })\n idReportType?: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idSociety?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idFile?: number;\n\n @ApiProperty()\n @IsInt()\n idUser: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idServiceConcerned?: number;\n\n @ApiProperty()\n @IsString()\n comment: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n search?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n declareSoupcons?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n state?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n informerjlb?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n ressenti?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n action?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n processed?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n letterDate?: Date;\n\n @ApiPropertyOptional()\n @IsOptional()\n receivedFile?: TFile;\n\n @ApiPropertyOptional()\n @IsOptional()\n responseFile?: TFile;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n token?: string;\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ExternalReport.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/report/ExternalReport.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAEtC,qBAAa,oBAAoB;IAK/B,WAAW,CAAC,EAAE,MAAM,CAAC;IAMrB,YAAY,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"ExternalReport.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/report/ExternalReport.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAEtC,qBAAa,oBAAoB;IAK/B,WAAW,CAAC,EAAE,MAAM,CAAC;IAMrB,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IAIxB,SAAS,EAAE,MAAM,CAAC;IAIlB,OAAO,EAAE,MAAM,CAAC;IAIhB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAGnC,IAAI,CAAC,EAAE,KAAK,CAAC;IAIb,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB"}
|
|
@@ -13,7 +13,6 @@ exports.CreateExternalReport = void 0;
|
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
14
|
const utils_1 = require("../../../../utils");
|
|
15
15
|
const IssueType_1 = require("../../../Enum/IssueType");
|
|
16
|
-
const ReportType_1 = require("../../../Enum/ReportType");
|
|
17
16
|
class CreateExternalReport {
|
|
18
17
|
}
|
|
19
18
|
exports.CreateExternalReport = CreateExternalReport;
|
|
@@ -26,10 +25,11 @@ __decorate([
|
|
|
26
25
|
], CreateExternalReport.prototype, "idIssueType", void 0);
|
|
27
26
|
__decorate([
|
|
28
27
|
(0, utils_1.ApiPropertyOptional)(),
|
|
29
|
-
(0, class_validator_1.IsOptional)()
|
|
30
|
-
(
|
|
31
|
-
|
|
32
|
-
|
|
28
|
+
(0, class_validator_1.IsOptional)()
|
|
29
|
+
//@IsInt({ each: true })
|
|
30
|
+
//@IsEnum(ReportTypeEnum)
|
|
31
|
+
,
|
|
32
|
+
__metadata("design:type", Array)
|
|
33
33
|
], CreateExternalReport.prototype, "idReportType", void 0);
|
|
34
34
|
__decorate([
|
|
35
35
|
(0, utils_1.ApiProperty)(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ExternalReport.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/report/ExternalReport.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAgF;AAChF,6CAAqE;AACrE,uDAAwD;
|
|
1
|
+
{"version":3,"file":"ExternalReport.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/report/ExternalReport.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAgF;AAChF,6CAAqE;AACrE,uDAAwD;AAIxD,MAAa,oBAAoB;CA+BhC;AA/BD,oDA+BC;AA1BC;IAJC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;IACP,IAAA,wBAAM,EAAC,yBAAa,CAAC;;yDACD;AAMrB;IAJC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACb,wBAAwB;IACxB,yBAAyB;;;0DACD;AAIxB;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;uDACO;AAIlB;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;qDACK;AAIhB;IAFC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;;sDACsB;AAGnC;IADC,IAAA,2BAAmB,GAAE;;kDACT;AAIb;IAFC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;;sDACM","sourcesContent":["import { IsEnum, IsInt, IsNumber, IsOptional, IsString } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { IssueTypeEnum } from '../../../Enum/IssueType';\n//import { ReportTypeEnum } from '../../../Enum/ReportType';\nimport { TFile } from '../file/TFile';\n\nexport class CreateExternalReport {\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n @IsEnum(IssueTypeEnum)\n idIssueType?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n //@IsInt({ each: true })\n //@IsEnum(ReportTypeEnum)\n idReportType?: number[];\n\n @ApiProperty()\n @IsNumber()\n idSociety: number;\n\n @ApiProperty()\n @IsString()\n comment: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n metadata?: Record<string, unknown>;\n\n @ApiPropertyOptional()\n file?: TFile;\n\n @ApiPropertyOptional()\n @IsOptional()\n isMobile?: boolean;\n}\n"]}
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
export declare class QueryReports {
|
|
2
|
-
idSource?: number[];
|
|
3
2
|
idReportType?: number[];
|
|
4
3
|
idSociety?: number;
|
|
5
4
|
idService?: number;
|
|
6
|
-
idUserConcerned?: number;
|
|
7
5
|
idServiceConcerned?: number;
|
|
8
6
|
id?: number;
|
|
9
7
|
search?: string;
|
|
@@ -11,7 +9,5 @@ export declare class QueryReports {
|
|
|
11
9
|
state?: number;
|
|
12
10
|
idUser?: number | number[];
|
|
13
11
|
onlyClient?: boolean;
|
|
14
|
-
startDate?: string;
|
|
15
|
-
endDate?: string;
|
|
16
12
|
}
|
|
17
13
|
//# sourceMappingURL=QueryReports.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryReports.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/report/QueryReports.ts"],"names":[],"mappings":"AAIA,qBAAa,YAAY;IAEvB,
|
|
1
|
+
{"version":3,"file":"QueryReports.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/report/QueryReports.ts"],"names":[],"mappings":"AAIA,qBAAa,YAAY;IAEvB,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IAGxB,SAAS,CAAC,EAAE,MAAM,CAAC;IAGnB,SAAS,CAAC,EAAE,MAAM,CAAC;IAGnB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAG5B,EAAE,CAAC,EAAE,MAAM,CAAC;IAGZ,MAAM,CAAC,EAAE,MAAM,CAAC;IAGhB,IAAI,CAAC,EAAE,MAAM,CAAC;IAGd,KAAK,CAAC,EAAE,MAAM,CAAC;IAGf,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAM3B,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB"}
|
|
@@ -16,10 +16,6 @@ const boolean_transform_1 = require("../../../../utils/transforms/boolean.transf
|
|
|
16
16
|
class QueryReports {
|
|
17
17
|
}
|
|
18
18
|
exports.QueryReports = QueryReports;
|
|
19
|
-
__decorate([
|
|
20
|
-
(0, utils_1.ApiPropertyOptional)(),
|
|
21
|
-
__metadata("design:type", Array)
|
|
22
|
-
], QueryReports.prototype, "idSource", void 0);
|
|
23
19
|
__decorate([
|
|
24
20
|
(0, utils_1.ApiPropertyOptional)(),
|
|
25
21
|
__metadata("design:type", Array)
|
|
@@ -32,10 +28,6 @@ __decorate([
|
|
|
32
28
|
(0, utils_1.ApiPropertyOptional)(),
|
|
33
29
|
__metadata("design:type", Number)
|
|
34
30
|
], QueryReports.prototype, "idService", void 0);
|
|
35
|
-
__decorate([
|
|
36
|
-
(0, utils_1.ApiPropertyOptional)(),
|
|
37
|
-
__metadata("design:type", Number)
|
|
38
|
-
], QueryReports.prototype, "idUserConcerned", void 0);
|
|
39
31
|
__decorate([
|
|
40
32
|
(0, utils_1.ApiPropertyOptional)(),
|
|
41
33
|
__metadata("design:type", Number)
|
|
@@ -67,16 +59,4 @@ __decorate([
|
|
|
67
59
|
(0, boolean_transform_1.ToBoolean)(),
|
|
68
60
|
__metadata("design:type", Boolean)
|
|
69
61
|
], QueryReports.prototype, "onlyClient", void 0);
|
|
70
|
-
__decorate([
|
|
71
|
-
(0, utils_1.ApiPropertyOptional)(),
|
|
72
|
-
(0, class_validator_1.IsOptional)(),
|
|
73
|
-
(0, class_validator_1.IsDateString)(),
|
|
74
|
-
__metadata("design:type", String)
|
|
75
|
-
], QueryReports.prototype, "startDate", void 0);
|
|
76
|
-
__decorate([
|
|
77
|
-
(0, utils_1.ApiPropertyOptional)(),
|
|
78
|
-
(0, class_validator_1.IsOptional)(),
|
|
79
|
-
(0, class_validator_1.IsDateString)(),
|
|
80
|
-
__metadata("design:type", String)
|
|
81
|
-
], QueryReports.prototype, "endDate", void 0);
|
|
82
62
|
//# sourceMappingURL=QueryReports.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryReports.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/report/QueryReports.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"QueryReports.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/report/QueryReports.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAwD;AACxD,6CAAwD;AACxD,sFAA2E;AAE3E,MAAa,YAAY;CAiCxB;AAjCD,oCAiCC;AA/BC;IADC,IAAA,2BAAmB,GAAE;;kDACE;AAGxB;IADC,IAAA,2BAAmB,GAAE;;+CACH;AAGnB;IADC,IAAA,2BAAmB,GAAE;;+CACH;AAGnB;IADC,IAAA,2BAAmB,GAAE;;wDACM;AAG5B;IADC,IAAA,2BAAmB,GAAE;;wCACV;AAGZ;IADC,IAAA,2BAAmB,GAAE;;4CACN;AAGhB;IADC,IAAA,2BAAmB,GAAE;;0CACR;AAGd;IADC,IAAA,2BAAmB,GAAE;;2CACP;AAGf;IADC,IAAA,2BAAmB,GAAE;;4CACK;AAM3B;IAJC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;;gDACS","sourcesContent":["import { IsBoolean, IsOptional } from 'class-validator';\nimport { ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class QueryReports {\n @ApiPropertyOptional()\n idReportType?: number[];\n\n @ApiPropertyOptional()\n idSociety?: number;\n\n @ApiPropertyOptional()\n idService?: number;\n\n @ApiPropertyOptional()\n idServiceConcerned?: number;\n\n @ApiPropertyOptional()\n id?: number;\n\n @ApiPropertyOptional()\n search?: string;\n\n @ApiPropertyOptional()\n year?: number;\n\n @ApiPropertyOptional()\n state?: number;\n\n @ApiPropertyOptional()\n idUser?: number | number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n onlyClient?: boolean;\n}\n"]}
|
|
@@ -1,21 +1,13 @@
|
|
|
1
|
-
import { IReport } from '../../..';
|
|
2
|
-
export
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
idSociety?: number;
|
|
6
|
-
idFile?: number;
|
|
7
|
-
idUser: number;
|
|
8
|
-
idServiceConcerned?: number;
|
|
9
|
-
comment: string;
|
|
10
|
-
search?: string;
|
|
1
|
+
import { IReport, IUser } from '../../..';
|
|
2
|
+
export interface UpdateReport extends IReport {
|
|
3
|
+
comment?: string;
|
|
4
|
+
note?: string;
|
|
11
5
|
declareSoupcons?: boolean;
|
|
12
6
|
state?: number;
|
|
13
7
|
informerjlb?: boolean;
|
|
14
8
|
ressenti?: number;
|
|
15
9
|
action?: number;
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
receivedAt?: Date;
|
|
19
|
-
token?: string;
|
|
10
|
+
idReport?: number;
|
|
11
|
+
societyUsers?: IUser[];
|
|
20
12
|
}
|
|
21
13
|
//# sourceMappingURL=UpdateReport.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UpdateReport.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/report/UpdateReport.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"UpdateReport.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/report/UpdateReport.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAE1C,MAAM,WAAW,YAAa,SAAQ,OAAO;IAC3C,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,KAAK,EAAE,CAAC;CACxB"}
|
|
@@ -1,123 +1,3 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
-
};
|
|
11
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.UpdateReport = void 0;
|
|
13
|
-
const utils_1 = require("../../../../utils");
|
|
14
|
-
const class_validator_1 = require("class-validator");
|
|
15
|
-
const boolean_transform_1 = require("../../../../utils/transforms/boolean.transform");
|
|
16
|
-
class UpdateReport {
|
|
17
|
-
}
|
|
18
|
-
exports.UpdateReport = UpdateReport;
|
|
19
|
-
__decorate([
|
|
20
|
-
(0, utils_1.ApiPropertyOptional)(),
|
|
21
|
-
(0, class_validator_1.IsOptional)(),
|
|
22
|
-
(0, class_validator_1.IsInt)(),
|
|
23
|
-
__metadata("design:type", Number)
|
|
24
|
-
], UpdateReport.prototype, "idSource", void 0);
|
|
25
|
-
__decorate([
|
|
26
|
-
(0, utils_1.ApiPropertyOptional)(),
|
|
27
|
-
(0, class_validator_1.IsOptional)(),
|
|
28
|
-
__metadata("design:type", Array)
|
|
29
|
-
], UpdateReport.prototype, "idReportType", void 0);
|
|
30
|
-
__decorate([
|
|
31
|
-
(0, utils_1.ApiPropertyOptional)(),
|
|
32
|
-
(0, class_validator_1.IsOptional)(),
|
|
33
|
-
(0, class_validator_1.IsInt)(),
|
|
34
|
-
__metadata("design:type", Number)
|
|
35
|
-
], UpdateReport.prototype, "idSociety", void 0);
|
|
36
|
-
__decorate([
|
|
37
|
-
(0, utils_1.ApiPropertyOptional)(),
|
|
38
|
-
(0, class_validator_1.IsOptional)(),
|
|
39
|
-
(0, class_validator_1.IsInt)(),
|
|
40
|
-
__metadata("design:type", Number)
|
|
41
|
-
], UpdateReport.prototype, "idFile", void 0);
|
|
42
|
-
__decorate([
|
|
43
|
-
(0, utils_1.ApiPropertyOptional)(),
|
|
44
|
-
(0, class_validator_1.IsOptional)(),
|
|
45
|
-
(0, class_validator_1.IsInt)(),
|
|
46
|
-
__metadata("design:type", Number)
|
|
47
|
-
], UpdateReport.prototype, "idUser", void 0);
|
|
48
|
-
__decorate([
|
|
49
|
-
(0, utils_1.ApiPropertyOptional)(),
|
|
50
|
-
(0, class_validator_1.IsOptional)(),
|
|
51
|
-
(0, class_validator_1.IsInt)(),
|
|
52
|
-
__metadata("design:type", Number)
|
|
53
|
-
], UpdateReport.prototype, "idServiceConcerned", void 0);
|
|
54
|
-
__decorate([
|
|
55
|
-
(0, utils_1.ApiPropertyOptional)(),
|
|
56
|
-
(0, class_validator_1.IsOptional)(),
|
|
57
|
-
(0, class_validator_1.IsString)(),
|
|
58
|
-
__metadata("design:type", String)
|
|
59
|
-
], UpdateReport.prototype, "comment", void 0);
|
|
60
|
-
__decorate([
|
|
61
|
-
(0, utils_1.ApiPropertyOptional)(),
|
|
62
|
-
(0, class_validator_1.IsOptional)(),
|
|
63
|
-
(0, class_validator_1.IsString)(),
|
|
64
|
-
__metadata("design:type", String)
|
|
65
|
-
], UpdateReport.prototype, "search", void 0);
|
|
66
|
-
__decorate([
|
|
67
|
-
(0, utils_1.ApiPropertyOptional)(),
|
|
68
|
-
(0, class_validator_1.IsOptional)(),
|
|
69
|
-
(0, class_validator_1.IsBoolean)(),
|
|
70
|
-
(0, boolean_transform_1.ToBoolean)(),
|
|
71
|
-
__metadata("design:type", Boolean)
|
|
72
|
-
], UpdateReport.prototype, "declareSoupcons", void 0);
|
|
73
|
-
__decorate([
|
|
74
|
-
(0, utils_1.ApiPropertyOptional)(),
|
|
75
|
-
(0, class_validator_1.IsOptional)(),
|
|
76
|
-
(0, class_validator_1.IsInt)(),
|
|
77
|
-
__metadata("design:type", Number)
|
|
78
|
-
], UpdateReport.prototype, "state", void 0);
|
|
79
|
-
__decorate([
|
|
80
|
-
(0, utils_1.ApiPropertyOptional)(),
|
|
81
|
-
(0, class_validator_1.IsOptional)(),
|
|
82
|
-
(0, class_validator_1.IsBoolean)(),
|
|
83
|
-
(0, boolean_transform_1.ToBoolean)(),
|
|
84
|
-
__metadata("design:type", Boolean)
|
|
85
|
-
], UpdateReport.prototype, "informerjlb", void 0);
|
|
86
|
-
__decorate([
|
|
87
|
-
(0, utils_1.ApiPropertyOptional)(),
|
|
88
|
-
(0, class_validator_1.IsOptional)(),
|
|
89
|
-
(0, class_validator_1.IsInt)(),
|
|
90
|
-
__metadata("design:type", Number)
|
|
91
|
-
], UpdateReport.prototype, "ressenti", void 0);
|
|
92
|
-
__decorate([
|
|
93
|
-
(0, utils_1.ApiPropertyOptional)(),
|
|
94
|
-
(0, class_validator_1.IsOptional)(),
|
|
95
|
-
(0, class_validator_1.IsInt)(),
|
|
96
|
-
__metadata("design:type", Number)
|
|
97
|
-
], UpdateReport.prototype, "action", void 0);
|
|
98
|
-
__decorate([
|
|
99
|
-
(0, utils_1.ApiPropertyOptional)(),
|
|
100
|
-
(0, class_validator_1.IsOptional)(),
|
|
101
|
-
(0, class_validator_1.IsBoolean)(),
|
|
102
|
-
(0, boolean_transform_1.ToBoolean)(),
|
|
103
|
-
__metadata("design:type", Boolean)
|
|
104
|
-
], UpdateReport.prototype, "processed", void 0);
|
|
105
|
-
__decorate([
|
|
106
|
-
(0, utils_1.ApiPropertyOptional)(),
|
|
107
|
-
(0, class_validator_1.IsOptional)(),
|
|
108
|
-
(0, class_validator_1.IsDateString)(),
|
|
109
|
-
__metadata("design:type", Date)
|
|
110
|
-
], UpdateReport.prototype, "letterDate", void 0);
|
|
111
|
-
__decorate([
|
|
112
|
-
(0, utils_1.ApiPropertyOptional)(),
|
|
113
|
-
(0, class_validator_1.IsOptional)(),
|
|
114
|
-
(0, class_validator_1.IsDateString)(),
|
|
115
|
-
__metadata("design:type", Date)
|
|
116
|
-
], UpdateReport.prototype, "receivedAt", void 0);
|
|
117
|
-
__decorate([
|
|
118
|
-
(0, utils_1.ApiPropertyOptional)(),
|
|
119
|
-
(0, class_validator_1.IsOptional)(),
|
|
120
|
-
(0, class_validator_1.IsString)(),
|
|
121
|
-
__metadata("design:type", String)
|
|
122
|
-
], UpdateReport.prototype, "token", void 0);
|
|
123
3
|
//# sourceMappingURL=UpdateReport.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UpdateReport.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/report/UpdateReport.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"UpdateReport.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/report/UpdateReport.ts"],"names":[],"mappings":"","sourcesContent":["import { IReport, IUser } from '../../..';\n\nexport interface UpdateReport extends IReport {\n comment?: string;\n note?: string;\n declareSoupcons?: boolean;\n state?: number;\n informerjlb?: boolean;\n ressenti?: number;\n action?: number;\n idReport?: number;\n societyUsers?: IUser[];\n}\n"]}
|
package/dist/{mjs/types/Interface/api/revenue → cjs/types/Interface/api}/revenueMovement.d.ts
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { RevenueMovementType } from '
|
|
1
|
+
import { RevenueMovementType } from '../../Enum/Revenue';
|
|
2
2
|
/**
|
|
3
3
|
* DTO pour créer un mouvement de revenu
|
|
4
4
|
*/
|
|
5
|
-
export
|
|
5
|
+
export interface ICreateRevenueMovementRequest {
|
|
6
6
|
type: RevenueMovementType;
|
|
7
7
|
idSociety: number;
|
|
8
8
|
idExercice?: number;
|
|
@@ -19,7 +19,7 @@ export declare class ICreateRevenueMovementRequest {
|
|
|
19
19
|
/**
|
|
20
20
|
* DTO pour mettre à jour un mouvement de revenu
|
|
21
21
|
*/
|
|
22
|
-
export
|
|
22
|
+
export interface IUpdateRevenueMovementRequest {
|
|
23
23
|
type?: RevenueMovementType;
|
|
24
24
|
idTerminationList?: number;
|
|
25
25
|
idChurnMovement?: number;
|
|
@@ -33,7 +33,7 @@ export declare class IUpdateRevenueMovementRequest {
|
|
|
33
33
|
/**
|
|
34
34
|
* Filtres pour récupérer les mouvements de revenu
|
|
35
35
|
*/
|
|
36
|
-
export
|
|
36
|
+
export interface IGetRevenueMovementsRequest {
|
|
37
37
|
idSociety?: number;
|
|
38
38
|
idExercice?: number;
|
|
39
39
|
idPrestation?: number;
|
|
@@ -58,7 +58,7 @@ export interface IGetRevenueMovementsResponse {
|
|
|
58
58
|
/**
|
|
59
59
|
* DTO pour générer un snapshot de revenu
|
|
60
60
|
*/
|
|
61
|
-
export
|
|
61
|
+
export interface IGenerateSnapshotRequest {
|
|
62
62
|
date?: string;
|
|
63
63
|
idSociety?: number;
|
|
64
64
|
idExercice?: number;
|
|
@@ -66,25 +66,24 @@ export declare class IGenerateSnapshotRequest {
|
|
|
66
66
|
/**
|
|
67
67
|
* DTO pour générer tous les snapshots de revenu
|
|
68
68
|
*/
|
|
69
|
-
export
|
|
69
|
+
export interface IGenerateAllSnapshotsRequest {
|
|
70
70
|
date?: string;
|
|
71
71
|
}
|
|
72
72
|
/**
|
|
73
73
|
* DTO pour gérer la rétroactivité des mouvements de revenu
|
|
74
74
|
*/
|
|
75
|
-
export
|
|
75
|
+
export interface IManageRetroactivityRequest {
|
|
76
76
|
idSociety: number;
|
|
77
77
|
idExercice?: number;
|
|
78
|
-
date?: Date;
|
|
79
78
|
}
|
|
80
79
|
/**
|
|
81
80
|
* Réponse pour la gestion de la rétroactivité
|
|
82
81
|
*/
|
|
83
82
|
export interface IManageRetroactivityResponse {
|
|
84
83
|
idSociety: number;
|
|
85
|
-
idExercice: number
|
|
86
|
-
exerciceStartDate: Date
|
|
87
|
-
exerciceEndDate: Date
|
|
84
|
+
idExercice: number;
|
|
85
|
+
exerciceStartDate: Date;
|
|
86
|
+
exerciceEndDate: Date;
|
|
88
87
|
movementsCreated: {
|
|
89
88
|
bookings: number;
|
|
90
89
|
churns: number;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"revenueMovement.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/revenueMovement.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"revenueMovement.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/revenueMovement.ts"],"names":[],"mappings":"","sourcesContent":["import { RevenueMovementType } from '../../Enum/Revenue';\n\n/**\n * DTO pour créer un mouvement de revenu\n */\nexport interface ICreateRevenueMovementRequest {\n type: RevenueMovementType;\n idSociety: number;\n idExercice?: number;\n idPrestation?: number;\n idTerminationList?: number;\n idChurnMovement?: number;\n amount: number;\n mrr: number;\n arr: number;\n movementDate: Date;\n description?: string;\n metadata?: Record<string, any>;\n}\n\n/**\n * DTO pour mettre à jour un mouvement de revenu\n */\nexport interface IUpdateRevenueMovementRequest {\n type?: RevenueMovementType;\n idTerminationList?: number;\n idChurnMovement?: number;\n amount?: number;\n mrr?: number;\n arr?: number;\n movementDate?: Date | string;\n description?: string;\n metadata?: Record<string, any>;\n}\n\n/**\n * Filtres pour récupérer les mouvements de revenu\n */\nexport interface IGetRevenueMovementsRequest {\n idSociety?: number;\n idExercice?: number;\n idPrestation?: number;\n idTerminationList?: number;\n idChurnMovement?: number;\n type?: RevenueMovementType[];\n startDate?: Date | string;\n endDate?: Date | string;\n page?: number;\n limit?: number;\n}\n\n/**\n * Réponse paginée pour les mouvements de revenu\n */\nexport interface IGetRevenueMovementsResponse {\n movements: any[]; // IRevenueMovement[]\n total: number;\n page: number;\n limit: number;\n totalPages: number;\n}\n\n/**\n * DTO pour générer un snapshot de revenu\n */\nexport interface IGenerateSnapshotRequest {\n date?: string;\n idSociety?: number;\n idExercice?: number;\n}\n\n/**\n * DTO pour générer tous les snapshots de revenu\n */\nexport interface IGenerateAllSnapshotsRequest {\n date?: string;\n}\n\n/**\n * DTO pour gérer la rétroactivité des mouvements de revenu\n */\nexport interface IManageRetroactivityRequest {\n idSociety: number;\n idExercice?: number;\n}\n\n/**\n * Réponse pour la gestion de la rétroactivité\n */\nexport interface IManageRetroactivityResponse {\n idSociety: number;\n idExercice: number;\n exerciceStartDate: Date;\n exerciceEndDate: Date;\n movementsCreated: {\n bookings: number;\n churns: number;\n recognitions: number;\n provisions: number;\n mothballingBookings: number;\n };\n prestationsProcessed: number;\n monthsProcessed: number;\n details: {\n type: string;\n idPrestation?: number;\n prestationName?: string;\n date: Date;\n amount: number;\n mrr: number;\n arr: number;\n }[];\n}\n"]}
|
package/dist/{mjs/types/Interface/api/revenue → cjs/types/Interface/api}/revenueSnapshot.d.ts
RENAMED
|
@@ -49,10 +49,9 @@ export interface IGetArrSummaryResponse {
|
|
|
49
49
|
timeline: Array<{
|
|
50
50
|
date: Date;
|
|
51
51
|
arr: number;
|
|
52
|
+
mrr: number;
|
|
52
53
|
bookings: number;
|
|
53
54
|
churn: number;
|
|
54
|
-
recognition: number;
|
|
55
|
-
provision: number;
|
|
56
55
|
}>;
|
|
57
56
|
}
|
|
58
57
|
//# sourceMappingURL=revenueSnapshot.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"revenueSnapshot.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/revenueSnapshot.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,2BAA2B;IAC1C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,IAAI,GAAG,MAAM,CAAC;IAC1B,OAAO,CAAC,EAAE,IAAI,GAAG,MAAM,CAAC;IACxB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED;;GAEG;AACH,MAAM,WAAW,4BAA4B;IAC3C,SAAS,EAAE,GAAG,EAAE,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;CACpB;AAED;;GAEG;AACH,MAAM,WAAW,0BAA0B;IACzC,QAAQ,EAAE,GAAG,CAAC;CACf;AAED;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE;QACN,SAAS,EAAE,IAAI,CAAC;QAChB,OAAO,EAAE,IAAI,CAAC;KACf,CAAC;IACF,OAAO,EAAE;QACP,UAAU,EAAE,MAAM,CAAC;QACnB,UAAU,EAAE,MAAM,CAAC;QACnB,aAAa,EAAE,MAAM,CAAC;QACtB,UAAU,EAAE,MAAM,CAAC;QACnB,eAAe,EAAE,MAAM,CAAC;QACxB,iBAAiB,EAAE,MAAM,CAAC;QAC1B,eAAe,EAAE,MAAM,CAAC;QACxB,SAAS,EAAE,MAAM,CAAC;QAClB,aAAa,EAAE,MAAM,CAAC;KACvB,CAAC;IACF,QAAQ,EAAE,KAAK,CAAC;QACd,IAAI,EAAE,IAAI,CAAC;QACX,GAAG,EAAE,MAAM,CAAC;QACZ,GAAG,EAAE,MAAM,CAAC;QACZ,QAAQ,EAAE,MAAM,CAAC;QACjB,KAAK,EAAE,MAAM,CAAC;KACf,CAAC,CAAC;CACJ"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"revenueSnapshot.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/revenueSnapshot.ts"],"names":[],"mappings":"","sourcesContent":["/**\n * Filtres pour récupérer les snapshots de revenu\n */\nexport interface IGetRevenueSnapshotsRequest {\n idSociety?: number;\n idExercice?: number;\n startDate?: Date | string;\n endDate?: Date | string;\n page?: number;\n limit?: number;\n}\n\n/**\n * Réponse paginée pour les snapshots de revenu\n */\nexport interface IGetRevenueSnapshotsResponse {\n snapshots: any[]; // IRevenueSnapshot[]\n total: number;\n page: number;\n limit: number;\n totalPages: number;\n}\n\n/**\n * Réponse pour obtenir le dernier snapshot d'une société\n */\nexport interface IGetLatestSnapshotResponse {\n snapshot: any; // IRevenueSnapshot\n}\n\n/**\n * Réponse pour obtenir le tableau récapitulatif ARR\n */\nexport interface IGetArrSummaryResponse {\n idSociety?: number;\n idExercice?: number;\n period: {\n startDate: Date;\n endDate: Date;\n };\n summary: {\n currentArr: number;\n currentMrr: number;\n totalBookings: number;\n totalChurn: number;\n totalProvisions: number;\n totalRecognitions: number;\n activeCustomers: number;\n churnRate: number;\n mrrGrowthRate: number;\n };\n timeline: Array<{\n date: Date;\n arr: number;\n mrr: number;\n bookings: number;\n churn: number;\n }>;\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"revenueSnapshotGenerate.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/revenueSnapshotGenerate.ts"],"names":[],"mappings":"AAGA,qBAAa,gBAAgB;IAQ3B,IAAI,CAAC,EAAE,MAAM,CAAC;IASd,SAAS,CAAC,EAAE,MAAM,CAAC;IASnB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,qBAAa,oBAAoB;IAQ/B,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,qBAAa,mBAAmB;IAO9B,SAAS,EAAE,MAAM,CAAC;IASlB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB"}
|
|
@@ -10,7 +10,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.ManageRetroactivity = exports.GenerateAllSnapshots = exports.GenerateSnapshot = void 0;
|
|
13
|
-
const utils_1 = require("
|
|
13
|
+
const utils_1 = require("../../../utils");
|
|
14
14
|
const class_validator_1 = require("class-validator");
|
|
15
15
|
class GenerateSnapshot {
|
|
16
16
|
}
|
|
@@ -62,13 +62,22 @@ class ManageRetroactivity {
|
|
|
62
62
|
}
|
|
63
63
|
exports.ManageRetroactivity = ManageRetroactivity;
|
|
64
64
|
__decorate([
|
|
65
|
-
(0, utils_1.
|
|
65
|
+
(0, utils_1.ApiProperty)({
|
|
66
|
+
required: true,
|
|
67
|
+
description: 'ID de la société',
|
|
68
|
+
example: 60170,
|
|
69
|
+
}),
|
|
70
|
+
(0, class_validator_1.IsNumber)(),
|
|
71
|
+
__metadata("design:type", Number)
|
|
72
|
+
], ManageRetroactivity.prototype, "idSociety", void 0);
|
|
73
|
+
__decorate([
|
|
74
|
+
(0, utils_1.ApiProperty)({
|
|
66
75
|
required: false,
|
|
67
76
|
description: "ID de l'exercice (si non fourni, utilise l'exercice courant)",
|
|
68
77
|
example: 123456,
|
|
69
78
|
}),
|
|
70
79
|
(0, class_validator_1.IsOptional)(),
|
|
71
|
-
(0, class_validator_1.
|
|
80
|
+
(0, class_validator_1.IsNumber)(),
|
|
72
81
|
__metadata("design:type", Number)
|
|
73
82
|
], ManageRetroactivity.prototype, "idExercice", void 0);
|
|
74
83
|
//# sourceMappingURL=revenueSnapshotGenerate.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"revenueSnapshotGenerate.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/revenueSnapshotGenerate.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,0CAA6C;AAC7C,qDAAiE;AAEjE,MAAa,gBAAgB;CA2B5B;AA3BD,4CA2BC;AAnBC;IAPC,IAAA,mBAAW,EAAC;QACX,QAAQ,EAAE,KAAK;QACf,WAAW,EAAE,6CAA6C;QAC1D,OAAO,EAAE,YAAY;KACtB,CAAC;IACD,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;8CACG;AASd;IAPC,IAAA,mBAAW,EAAC;QACX,QAAQ,EAAE,KAAK;QACf,WAAW,EAAE,kBAAkB;QAC/B,OAAO,EAAE,KAAK;KACf,CAAC;IACD,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;mDACQ;AASnB;IAPC,IAAA,mBAAW,EAAC;QACX,QAAQ,EAAE,KAAK;QACf,WAAW,EAAE,kBAAkB;QAC/B,OAAO,EAAE,MAAM;KAChB,CAAC;IACD,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;oDACS;AAGtB,MAAa,oBAAoB;CAShC;AATD,oDASC;AADC;IAPC,IAAA,mBAAW,EAAC;QACX,QAAQ,EAAE,KAAK;QACf,WAAW,EAAE,6CAA6C;QAC1D,OAAO,EAAE,YAAY;KACtB,CAAC;IACD,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;kDACG;AAGhB,MAAa,mBAAmB;CAiB/B;AAjBD,kDAiBC;AAVC;IANC,IAAA,mBAAW,EAAC;QACX,QAAQ,EAAE,IAAI;QACd,WAAW,EAAE,kBAAkB;QAC/B,OAAO,EAAE,KAAK;KACf,CAAC;IACD,IAAA,0BAAQ,GAAE;;sDACO;AASlB;IAPC,IAAA,mBAAW,EAAC;QACX,QAAQ,EAAE,KAAK;QACf,WAAW,EAAE,8DAA8D;QAC3E,OAAO,EAAE,MAAM;KAChB,CAAC;IACD,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;uDACS","sourcesContent":["import { ApiProperty } from '../../../utils';\nimport { IsOptional, IsString, IsNumber } from 'class-validator';\n\nexport class GenerateSnapshot {\n @ApiProperty({\n required: false,\n description: 'Date du snapshot au format ISO (YYYY-MM-DD)',\n example: '2025-11-04',\n })\n @IsOptional()\n @IsString()\n date?: string;\n\n @ApiProperty({\n required: false,\n description: 'ID de la société',\n example: 60170,\n })\n @IsOptional()\n @IsNumber()\n idSociety?: number;\n\n @ApiProperty({\n required: false,\n description: \"ID de l'exercice\",\n example: 123456,\n })\n @IsOptional()\n @IsNumber()\n idExercice?: number;\n}\n\nexport class GenerateAllSnapshots {\n @ApiProperty({\n required: false,\n description: 'Date du snapshot au format ISO (YYYY-MM-DD)',\n example: '2025-11-04',\n })\n @IsOptional()\n @IsString()\n date?: string;\n}\n\nexport class ManageRetroactivity {\n @ApiProperty({\n required: true,\n description: 'ID de la société',\n example: 60170,\n })\n @IsNumber()\n idSociety: number;\n\n @ApiProperty({\n required: false,\n description: \"ID de l'exercice (si non fourni, utilise l'exercice courant)\",\n example: 123456,\n })\n @IsOptional()\n @IsNumber()\n idExercice?: number;\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReadSociety.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/society/ReadSociety.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAErD,MAAM,MAAM,YAAY,GAAG;IACzB,WAAW,EAAE,IAAI,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,IAAI,CAAC;IAChB,OAAO,EAAE,IAAI,CAAC;IACd,IAAI,CAAC,EAAE,KAAK,GAAG,IAAI,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG;IAClC,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,MAAM,MAAM,0BAA0B,GAAG;IACvC,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,
|
|
1
|
+
{"version":3,"file":"ReadSociety.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/society/ReadSociety.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAErD,MAAM,MAAM,YAAY,GAAG;IACzB,WAAW,EAAE,IAAI,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,IAAI,CAAC;IAChB,OAAO,EAAE,IAAI,CAAC;IACd,IAAI,CAAC,EAAE,KAAK,GAAG,IAAI,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG;IAClC,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,MAAM,MAAM,0BAA0B,GAAG;IACvC,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,EAAE,QAAQ,EAAE,CAAC;CACtB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReadSociety.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/society/ReadSociety.ts"],"names":[],"mappings":"","sourcesContent":["import { IFile, IGedFile, TypeFile } from '../../..';\n\nexport type UnpaidDetail = {\n datePayment: Date;\n amount: number;\n idExercice: number;\n dateStart: Date;\n dateEnd: Date;\n file?: IFile | null;\n};\n\nexport type ReadInvalidFieldState = {\n label: string;\n field: string;\n};\n\nexport type ReadAskOrRequiredDocuments = {\n name: string;\n idGedFolder: number;\n idGedFileType?: number;\n typeFile?: TypeFile;\n idDocumentRequest?: number;\n idExercice?: number;\n idBalanceSheet?: number;\n idBankAccount?: number;\n
|
|
1
|
+
{"version":3,"file":"ReadSociety.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/society/ReadSociety.ts"],"names":[],"mappings":"","sourcesContent":["import { IFile, IGedFile, TypeFile } from '../../..';\n\nexport type UnpaidDetail = {\n datePayment: Date;\n amount: number;\n idExercice: number;\n dateStart: Date;\n dateEnd: Date;\n file?: IFile | null;\n};\n\nexport type ReadInvalidFieldState = {\n label: string;\n field: string;\n};\n\nexport type ReadAskOrRequiredDocuments = {\n name: string;\n idGedFolder: number;\n idGedFileType?: number;\n typeFile?: TypeFile;\n idDocumentRequest?: number;\n idExercice?: number;\n idBalanceSheet?: number;\n idBankAccount?: number;\n gedFiles: IGedFile[];\n};\n"]}
|
|
@@ -3,7 +3,6 @@ import { Civility } from '../../../Enum/Civility';
|
|
|
3
3
|
import { IAnalyticsUtm } from '../../models/IAnalyticsUtm';
|
|
4
4
|
import { LegalFormTypeEnum } from '../../../Enum/LegalForm';
|
|
5
5
|
import { UpdateOrCreateVisualizedInformation } from '../visualizedInformation/Update';
|
|
6
|
-
import { IPermission } from '../../models/IPermission';
|
|
7
6
|
/**
|
|
8
7
|
* Response of the register prospect endpoint
|
|
9
8
|
*/
|
|
@@ -30,8 +29,6 @@ export interface ProspectSocietyInfo {
|
|
|
30
29
|
idLegalForm?: LegalFormTypeEnum;
|
|
31
30
|
zipCode?: string;
|
|
32
31
|
turnover?: number;
|
|
33
|
-
siret?: string;
|
|
34
|
-
idNafCode?: number;
|
|
35
32
|
}
|
|
36
33
|
export interface ReferalProgram {
|
|
37
34
|
email: string;
|
|
@@ -46,7 +43,6 @@ export interface RegisterProspect {
|
|
|
46
43
|
idSource?: number;
|
|
47
44
|
sourceAlias?: string;
|
|
48
45
|
idTypeBrand: number;
|
|
49
|
-
permissions?: IPermission;
|
|
50
46
|
analyticsUtm?: Omit<Partial<IAnalyticsUtm>, 'idSociety'>;
|
|
51
47
|
comment?: string;
|
|
52
48
|
}
|