@silexpert/core 1.3.167-1 → 1.3.168-1
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/DocumentRequest.d.ts +2 -1
- package/dist/cjs/api/resources/DocumentRequest.d.ts.map +1 -1
- package/dist/cjs/api/resources/DocumentRequest.js +3 -0
- package/dist/cjs/api/resources/DocumentRequest.js.map +1 -1
- package/dist/cjs/api/resources/InformationRequest.d.ts +11 -0
- package/dist/cjs/api/resources/InformationRequest.d.ts.map +1 -0
- package/dist/cjs/api/resources/InformationRequest.js +26 -0
- package/dist/cjs/api/resources/InformationRequest.js.map +1 -0
- package/dist/cjs/api/resources/Mfa.d.ts +0 -1
- package/dist/cjs/api/resources/Mfa.d.ts.map +1 -1
- package/dist/cjs/api/resources/Mfa.js +0 -4
- package/dist/cjs/api/resources/Mfa.js.map +1 -1
- package/dist/cjs/api/resources.d.ts +2 -0
- package/dist/cjs/api/resources.d.ts.map +1 -1
- package/dist/cjs/api/resources.js +2 -0
- package/dist/cjs/api/resources.js.map +1 -1
- package/dist/cjs/types/Enum/BalanceSheet.d.ts.map +1 -1
- package/dist/cjs/types/Enum/BalanceSheet.js +6 -6
- package/dist/cjs/types/Enum/BalanceSheet.js.map +1 -1
- package/dist/cjs/types/Enum/BalanceSheetModule.d.ts +2 -0
- package/dist/cjs/types/Enum/BalanceSheetModule.d.ts.map +1 -1
- package/dist/cjs/types/Enum/BalanceSheetModule.js +23 -1
- package/dist/cjs/types/Enum/BalanceSheetModule.js.map +1 -1
- package/dist/cjs/types/Enum/Ged.d.ts +16 -2
- package/dist/cjs/types/Enum/Ged.d.ts.map +1 -1
- package/dist/cjs/types/Enum/Ged.js +131 -0
- package/dist/cjs/types/Enum/Ged.js.map +1 -1
- package/dist/cjs/types/Enum/InformationRequestState.d.ts +6 -0
- package/dist/cjs/types/Enum/InformationRequestState.d.ts.map +1 -0
- package/dist/cjs/types/Enum/InformationRequestState.js +10 -0
- package/dist/cjs/types/Enum/InformationRequestState.js.map +1 -0
- package/dist/cjs/types/Enum/InformationRequestType.d.ts +16 -0
- package/dist/cjs/types/Enum/InformationRequestType.d.ts.map +1 -0
- package/dist/cjs/types/Enum/InformationRequestType.js +46 -0
- package/dist/cjs/types/Enum/InformationRequestType.js.map +1 -0
- package/dist/cjs/types/Enum/RegistrationSource.d.ts +2 -1
- package/dist/cjs/types/Enum/RegistrationSource.d.ts.map +1 -1
- package/dist/cjs/types/Enum/RegistrationSource.js +1 -0
- package/dist/cjs/types/Enum/RegistrationSource.js.map +1 -1
- package/dist/cjs/types/Interface/api/authentification/AuthenticationResponse.d.ts +0 -10
- package/dist/cjs/types/Interface/api/authentification/AuthenticationResponse.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/authentification/AuthenticationResponse.js.map +1 -1
- package/dist/cjs/types/Interface/api/config/ConfigType.d.ts +4 -0
- 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/documentRequest/Create.d.ts +1 -0
- package/dist/cjs/types/Interface/api/documentRequest/Create.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/documentRequest/Create.js +8 -0
- package/dist/cjs/types/Interface/api/documentRequest/Create.js.map +1 -1
- package/dist/cjs/types/Interface/api/documentRequest/Query.d.ts +3 -0
- package/dist/cjs/types/Interface/api/documentRequest/Query.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/documentRequest/Query.js +12 -0
- package/dist/cjs/types/Interface/api/documentRequest/Query.js.map +1 -1
- package/dist/cjs/types/Interface/api/documentRequest/Update.d.ts +12 -0
- package/dist/cjs/types/Interface/api/documentRequest/Update.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/documentRequest/Update.js +63 -0
- package/dist/cjs/types/Interface/api/documentRequest/Update.js.map +1 -0
- package/dist/cjs/types/Interface/api/informationRequest/Create.d.ts +10 -0
- package/dist/cjs/types/Interface/api/informationRequest/Create.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/informationRequest/Create.js +49 -0
- package/dist/cjs/types/Interface/api/informationRequest/Create.js.map +1 -0
- package/dist/cjs/types/Interface/api/informationRequest/Query.d.ts +11 -0
- package/dist/cjs/types/Interface/api/informationRequest/Query.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/informationRequest/Query.js +54 -0
- package/dist/cjs/types/Interface/api/informationRequest/Query.js.map +1 -0
- package/dist/cjs/types/Interface/api/informationRequest/Update.d.ts +12 -0
- package/dist/cjs/types/Interface/api/informationRequest/Update.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/informationRequest/Update.js +58 -0
- package/dist/cjs/types/Interface/api/informationRequest/Update.js.map +1 -0
- package/dist/cjs/types/Interface/api/payment/Params.d.ts +1 -0
- package/dist/cjs/types/Interface/api/payment/Params.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/payment/Params.js +8 -0
- package/dist/cjs/types/Interface/api/payment/Params.js.map +1 -1
- package/dist/{mjs/types/Interface/api → cjs/types/Interface/api/revenue}/revenueMovement.d.ts +1 -1
- package/dist/cjs/types/Interface/api/revenue/revenueMovement.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/{revenueMovement.js → revenue/revenueMovement.js} +2 -2
- package/dist/cjs/types/Interface/api/revenue/revenueMovement.js.map +1 -0
- package/dist/cjs/types/Interface/api/{revenueSnapshot.d.ts → revenue/revenueSnapshot.d.ts} +2 -1
- package/dist/cjs/types/Interface/api/revenue/revenueSnapshot.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/revenue/revenueSnapshot.js.map +1 -0
- package/dist/cjs/types/Interface/api/revenue/revenueSnapshotGenerate.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/{revenueSnapshotGenerate.js → revenue/revenueSnapshotGenerate.js} +3 -3
- package/dist/cjs/types/Interface/api/revenue/revenueSnapshotGenerate.js.map +1 -0
- package/dist/cjs/types/Interface/models/IBalanceSheetModule.d.ts +4 -0
- package/dist/cjs/types/Interface/models/IBalanceSheetModule.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/IBalanceSheetModule.js.map +1 -1
- package/dist/cjs/types/Interface/models/IDocumentRequest.d.ts +7 -1
- package/dist/cjs/types/Interface/models/IDocumentRequest.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/IDocumentRequest.js.map +1 -1
- package/dist/cjs/types/Interface/models/IInformationRequest.d.ts +25 -0
- package/dist/cjs/types/Interface/models/IInformationRequest.d.ts.map +1 -0
- package/dist/cjs/types/Interface/models/{ILoginApproval.js → IInformationRequest.js} +1 -1
- package/dist/cjs/types/Interface/models/IInformationRequest.js.map +1 -0
- package/dist/cjs/types/Interface/models/IUser.d.ts +0 -2
- package/dist/cjs/types/Interface/models/IUser.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/IUser.js.map +1 -1
- package/dist/cjs/types/index.d.ts +13 -12
- package/dist/cjs/types/index.d.ts.map +1 -1
- package/dist/cjs/types/index.js +13 -13
- package/dist/cjs/types/index.js.map +1 -1
- package/dist/cjs/utils/exercice.d.ts +8 -1
- package/dist/cjs/utils/exercice.d.ts.map +1 -1
- package/dist/cjs/utils/exercice.js +11 -1
- package/dist/cjs/utils/exercice.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/DocumentRequest.d.ts +2 -1
- package/dist/mjs/api/resources/DocumentRequest.d.ts.map +1 -1
- package/dist/mjs/api/resources/DocumentRequest.js +3 -0
- package/dist/mjs/api/resources/DocumentRequest.js.map +1 -1
- package/dist/mjs/api/resources/InformationRequest.d.ts +11 -0
- package/dist/mjs/api/resources/InformationRequest.d.ts.map +1 -0
- package/dist/mjs/api/resources/InformationRequest.js +30 -0
- package/dist/mjs/api/resources/InformationRequest.js.map +1 -0
- package/dist/mjs/api/resources/Mfa.d.ts +0 -1
- package/dist/mjs/api/resources/Mfa.d.ts.map +1 -1
- package/dist/mjs/api/resources/Mfa.js +0 -4
- package/dist/mjs/api/resources/Mfa.js.map +1 -1
- package/dist/mjs/api/resources.d.ts +2 -0
- package/dist/mjs/api/resources.d.ts.map +1 -1
- package/dist/mjs/api/resources.js +2 -0
- package/dist/mjs/api/resources.js.map +1 -1
- package/dist/mjs/types/Enum/BalanceSheet.d.ts.map +1 -1
- package/dist/mjs/types/Enum/BalanceSheet.js +6 -6
- package/dist/mjs/types/Enum/BalanceSheet.js.map +1 -1
- package/dist/mjs/types/Enum/BalanceSheetModule.d.ts +2 -0
- package/dist/mjs/types/Enum/BalanceSheetModule.d.ts.map +1 -1
- package/dist/mjs/types/Enum/BalanceSheetModule.js +22 -0
- package/dist/mjs/types/Enum/BalanceSheetModule.js.map +1 -1
- package/dist/mjs/types/Enum/Ged.d.ts +16 -2
- package/dist/mjs/types/Enum/Ged.d.ts.map +1 -1
- package/dist/mjs/types/Enum/Ged.js +131 -0
- package/dist/mjs/types/Enum/Ged.js.map +1 -1
- package/dist/mjs/types/Enum/InformationRequestState.d.ts +6 -0
- package/dist/mjs/types/Enum/InformationRequestState.d.ts.map +1 -0
- package/dist/mjs/types/Enum/InformationRequestState.js +7 -0
- package/dist/mjs/types/Enum/InformationRequestState.js.map +1 -0
- package/dist/mjs/types/Enum/InformationRequestType.d.ts +16 -0
- package/dist/mjs/types/Enum/InformationRequestType.d.ts.map +1 -0
- package/dist/mjs/types/Enum/InformationRequestType.js +43 -0
- package/dist/mjs/types/Enum/InformationRequestType.js.map +1 -0
- package/dist/mjs/types/Enum/RegistrationSource.d.ts +2 -1
- package/dist/mjs/types/Enum/RegistrationSource.d.ts.map +1 -1
- package/dist/mjs/types/Enum/RegistrationSource.js +1 -0
- package/dist/mjs/types/Enum/RegistrationSource.js.map +1 -1
- package/dist/mjs/types/Interface/api/authentification/AuthenticationResponse.d.ts +0 -10
- package/dist/mjs/types/Interface/api/authentification/AuthenticationResponse.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/authentification/AuthenticationResponse.js.map +1 -1
- package/dist/mjs/types/Interface/api/config/ConfigType.d.ts +4 -0
- 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/documentRequest/Create.d.ts +1 -0
- package/dist/mjs/types/Interface/api/documentRequest/Create.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/documentRequest/Create.js +10 -1
- package/dist/mjs/types/Interface/api/documentRequest/Create.js.map +1 -1
- package/dist/mjs/types/Interface/api/documentRequest/Query.d.ts +3 -0
- package/dist/mjs/types/Interface/api/documentRequest/Query.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/documentRequest/Query.js +15 -1
- package/dist/mjs/types/Interface/api/documentRequest/Query.js.map +1 -1
- package/dist/mjs/types/Interface/api/documentRequest/Update.d.ts +12 -0
- package/dist/mjs/types/Interface/api/documentRequest/Update.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/documentRequest/Update.js +66 -0
- package/dist/mjs/types/Interface/api/documentRequest/Update.js.map +1 -0
- package/dist/mjs/types/Interface/api/informationRequest/Create.d.ts +10 -0
- package/dist/mjs/types/Interface/api/informationRequest/Create.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/informationRequest/Create.js +50 -0
- package/dist/mjs/types/Interface/api/informationRequest/Create.js.map +1 -0
- package/dist/mjs/types/Interface/api/informationRequest/Query.d.ts +11 -0
- package/dist/mjs/types/Interface/api/informationRequest/Query.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/informationRequest/Query.js +56 -0
- package/dist/mjs/types/Interface/api/informationRequest/Query.js.map +1 -0
- package/dist/mjs/types/Interface/api/informationRequest/Update.d.ts +12 -0
- package/dist/mjs/types/Interface/api/informationRequest/Update.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/informationRequest/Update.js +60 -0
- package/dist/mjs/types/Interface/api/informationRequest/Update.js.map +1 -0
- package/dist/mjs/types/Interface/api/payment/Params.d.ts +1 -0
- package/dist/mjs/types/Interface/api/payment/Params.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/payment/Params.js +8 -0
- package/dist/mjs/types/Interface/api/payment/Params.js.map +1 -1
- package/dist/{cjs/types/Interface/api → mjs/types/Interface/api/revenue}/revenueMovement.d.ts +1 -1
- package/dist/mjs/types/Interface/api/revenue/revenueMovement.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/{revenueMovement.js → revenue/revenueMovement.js} +2 -2
- package/dist/mjs/types/Interface/api/revenue/revenueMovement.js.map +1 -0
- package/dist/mjs/types/Interface/api/{revenueSnapshot.d.ts → revenue/revenueSnapshot.d.ts} +2 -1
- package/dist/mjs/types/Interface/api/revenue/revenueSnapshot.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/revenue/revenueSnapshot.js.map +1 -0
- package/dist/mjs/types/Interface/api/revenue/revenueSnapshotGenerate.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/{revenueSnapshotGenerate.js → revenue/revenueSnapshotGenerate.js} +3 -3
- package/dist/mjs/types/Interface/api/revenue/revenueSnapshotGenerate.js.map +1 -0
- package/dist/mjs/types/Interface/models/IBalanceSheetModule.d.ts +4 -0
- package/dist/mjs/types/Interface/models/IBalanceSheetModule.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/IBalanceSheetModule.js.map +1 -1
- package/dist/mjs/types/Interface/models/IDocumentRequest.d.ts +7 -1
- package/dist/mjs/types/Interface/models/IDocumentRequest.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/IDocumentRequest.js.map +1 -1
- package/dist/mjs/types/Interface/models/IInformationRequest.d.ts +25 -0
- package/dist/mjs/types/Interface/models/IInformationRequest.d.ts.map +1 -0
- package/dist/mjs/types/Interface/models/IInformationRequest.js +2 -0
- package/dist/mjs/types/Interface/models/IInformationRequest.js.map +1 -0
- package/dist/mjs/types/Interface/models/IUser.d.ts +0 -2
- package/dist/mjs/types/Interface/models/IUser.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/IUser.js.map +1 -1
- package/dist/mjs/types/index.d.ts +13 -12
- package/dist/mjs/types/index.d.ts.map +1 -1
- package/dist/mjs/types/index.js +13 -13
- package/dist/mjs/types/index.js.map +1 -1
- package/dist/mjs/utils/exercice.d.ts +8 -1
- package/dist/mjs/utils/exercice.d.ts.map +1 -1
- package/dist/mjs/utils/exercice.js +10 -1
- package/dist/mjs/utils/exercice.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 +1 -1
- package/ts/api/resources/DocumentRequest.ts +5 -1
- package/ts/api/resources/InformationRequest.ts +36 -0
- package/ts/api/resources/Mfa.ts +0 -6
- package/ts/api/resources.ts +2 -0
- package/ts/types/Enum/BalanceSheet.ts +11 -11
- package/ts/types/Enum/BalanceSheetModule.ts +24 -1
- package/ts/types/Enum/Ged.ts +132 -0
- package/ts/types/Enum/InformationRequestState.ts +5 -0
- package/ts/types/Enum/InformationRequestType.ts +51 -0
- package/ts/types/Enum/RegistrationSource.ts +1 -0
- package/ts/types/Interface/api/authentification/AuthenticationResponse.ts +0 -10
- package/ts/types/Interface/api/config/ConfigType.ts +1 -0
- package/ts/types/Interface/api/documentRequest/Create.ts +8 -1
- package/ts/types/Interface/api/documentRequest/Query.ts +12 -1
- package/ts/types/Interface/api/documentRequest/Update.ts +43 -0
- package/ts/types/Interface/api/informationRequest/Create.ts +31 -0
- package/ts/types/Interface/api/informationRequest/Query.ts +36 -0
- package/ts/types/Interface/api/informationRequest/Update.ts +39 -0
- package/ts/types/Interface/api/payment/Params.ts +6 -0
- package/ts/types/Interface/api/{revenueMovement.ts → revenue/revenueMovement.ts} +2 -2
- package/ts/types/Interface/api/{revenueSnapshot.ts → revenue/revenueSnapshot.ts} +3 -1
- package/ts/types/Interface/api/{revenueSnapshotGenerate.ts → revenue/revenueSnapshotGenerate.ts} +3 -3
- package/ts/types/Interface/models/IBalanceSheetModule.ts +7 -1
- package/ts/types/Interface/models/IDocumentRequest.ts +8 -2
- package/ts/types/Interface/models/IInformationRequest.ts +27 -0
- package/ts/types/Interface/models/IUser.ts +0 -2
- package/ts/types/index.ts +13 -14
- package/ts/utils/exercice.ts +11 -1
- package/ts/utils/vat/3517/century25.ts +53 -53
- package/dist/cjs/api/resources/LoginApproval.d.ts +0 -18
- package/dist/cjs/api/resources/LoginApproval.d.ts.map +0 -1
- package/dist/cjs/api/resources/LoginApproval.js +0 -20
- package/dist/cjs/api/resources/LoginApproval.js.map +0 -1
- package/dist/cjs/types/Enum/LoginApprovalStatus.d.ts +0 -14
- package/dist/cjs/types/Enum/LoginApprovalStatus.d.ts.map +0 -1
- package/dist/cjs/types/Enum/LoginApprovalStatus.js +0 -18
- package/dist/cjs/types/Enum/LoginApprovalStatus.js.map +0 -1
- package/dist/cjs/types/Enum/MfaMode.d.ts +0 -12
- package/dist/cjs/types/Enum/MfaMode.d.ts.map +0 -1
- package/dist/cjs/types/Enum/MfaMode.js +0 -16
- package/dist/cjs/types/Enum/MfaMode.js.map +0 -1
- package/dist/cjs/types/Interface/api/authentification/FinalizeMobileApprovalDto.d.ts +0 -4
- package/dist/cjs/types/Interface/api/authentification/FinalizeMobileApprovalDto.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/authentification/FinalizeMobileApprovalDto.js +0 -21
- package/dist/cjs/types/Interface/api/authentification/FinalizeMobileApprovalDto.js.map +0 -1
- package/dist/cjs/types/Interface/api/authentification/SetMobileApprovalDto.d.ts +0 -5
- package/dist/cjs/types/Interface/api/authentification/SetMobileApprovalDto.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/authentification/SetMobileApprovalDto.js +0 -25
- package/dist/cjs/types/Interface/api/authentification/SetMobileApprovalDto.js.map +0 -1
- package/dist/cjs/types/Interface/api/authentification/loginApproval.d.ts +0 -66
- package/dist/cjs/types/Interface/api/authentification/loginApproval.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/authentification/loginApproval.js +0 -26
- package/dist/cjs/types/Interface/api/authentification/loginApproval.js.map +0 -1
- package/dist/cjs/types/Interface/api/revenueMovement.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/revenueMovement.js.map +0 -1
- package/dist/cjs/types/Interface/api/revenueSnapshot.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/revenueSnapshot.js.map +0 -1
- package/dist/cjs/types/Interface/api/revenueSnapshotGenerate.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/revenueSnapshotGenerate.js.map +0 -1
- package/dist/cjs/types/Interface/models/ILoginApproval.d.ts +0 -31
- package/dist/cjs/types/Interface/models/ILoginApproval.d.ts.map +0 -1
- package/dist/cjs/types/Interface/models/ILoginApproval.js.map +0 -1
- package/dist/mjs/api/resources/LoginApproval.d.ts +0 -18
- package/dist/mjs/api/resources/LoginApproval.d.ts.map +0 -1
- package/dist/mjs/api/resources/LoginApproval.js +0 -16
- package/dist/mjs/api/resources/LoginApproval.js.map +0 -1
- package/dist/mjs/types/Enum/LoginApprovalStatus.d.ts +0 -14
- package/dist/mjs/types/Enum/LoginApprovalStatus.d.ts.map +0 -1
- package/dist/mjs/types/Enum/LoginApprovalStatus.js +0 -15
- package/dist/mjs/types/Enum/LoginApprovalStatus.js.map +0 -1
- package/dist/mjs/types/Enum/MfaMode.d.ts +0 -12
- package/dist/mjs/types/Enum/MfaMode.d.ts.map +0 -1
- package/dist/mjs/types/Enum/MfaMode.js +0 -13
- package/dist/mjs/types/Enum/MfaMode.js.map +0 -1
- package/dist/mjs/types/Interface/api/authentification/FinalizeMobileApprovalDto.d.ts +0 -4
- package/dist/mjs/types/Interface/api/authentification/FinalizeMobileApprovalDto.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/authentification/FinalizeMobileApprovalDto.js +0 -18
- package/dist/mjs/types/Interface/api/authentification/FinalizeMobileApprovalDto.js.map +0 -1
- package/dist/mjs/types/Interface/api/authentification/SetMobileApprovalDto.d.ts +0 -5
- package/dist/mjs/types/Interface/api/authentification/SetMobileApprovalDto.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/authentification/SetMobileApprovalDto.js +0 -23
- package/dist/mjs/types/Interface/api/authentification/SetMobileApprovalDto.js.map +0 -1
- package/dist/mjs/types/Interface/api/authentification/loginApproval.d.ts +0 -66
- package/dist/mjs/types/Interface/api/authentification/loginApproval.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/authentification/loginApproval.js +0 -23
- package/dist/mjs/types/Interface/api/authentification/loginApproval.js.map +0 -1
- package/dist/mjs/types/Interface/api/revenueMovement.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/revenueMovement.js.map +0 -1
- package/dist/mjs/types/Interface/api/revenueSnapshot.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/revenueSnapshot.js.map +0 -1
- package/dist/mjs/types/Interface/api/revenueSnapshotGenerate.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/revenueSnapshotGenerate.js.map +0 -1
- package/dist/mjs/types/Interface/models/ILoginApproval.d.ts +0 -31
- package/dist/mjs/types/Interface/models/ILoginApproval.d.ts.map +0 -1
- package/dist/mjs/types/Interface/models/ILoginApproval.js +0 -2
- package/dist/mjs/types/Interface/models/ILoginApproval.js.map +0 -1
- package/ts/api/resources/LoginApproval.ts +0 -20
- package/ts/types/Enum/LoginApprovalStatus.ts +0 -13
- package/ts/types/Enum/MfaMode.ts +0 -11
- package/ts/types/Interface/api/authentification/FinalizeMobileApprovalDto.ts +0 -6
- package/ts/types/Interface/api/authentification/SetMobileApprovalDto.ts +0 -9
- package/ts/types/Interface/api/authentification/loginApproval.ts +0 -75
- package/ts/types/Interface/models/ILoginApproval.ts +0 -31
- /package/dist/cjs/types/Interface/api/{revenueSnapshot.js → revenue/revenueSnapshot.js} +0 -0
- /package/dist/cjs/types/Interface/api/{revenueSnapshotGenerate.d.ts → revenue/revenueSnapshotGenerate.d.ts} +0 -0
- /package/dist/mjs/types/Interface/api/{revenueSnapshot.js → revenue/revenueSnapshot.js} +0 -0
- /package/dist/mjs/types/Interface/api/{revenueSnapshotGenerate.d.ts → revenue/revenueSnapshotGenerate.d.ts} +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SetMobileApprovalDto.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/authentification/SetMobileApprovalDto.ts"],"names":[],"mappings":"AAEA,qBAAa,oBAAoB;IAE/B,MAAM,EAAE,MAAM,CAAC;IAGf,MAAM,EAAE,OAAO,CAAC;CACjB"}
|
|
@@ -1,25 +0,0 @@
|
|
|
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
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.SetMobileApprovalDto = void 0;
|
|
13
|
-
const class_validator_1 = require("class-validator");
|
|
14
|
-
class SetMobileApprovalDto {
|
|
15
|
-
}
|
|
16
|
-
exports.SetMobileApprovalDto = SetMobileApprovalDto;
|
|
17
|
-
__decorate([
|
|
18
|
-
(0, class_validator_1.IsInt)(),
|
|
19
|
-
__metadata("design:type", Number)
|
|
20
|
-
], SetMobileApprovalDto.prototype, "userId", void 0);
|
|
21
|
-
__decorate([
|
|
22
|
-
(0, class_validator_1.IsBoolean)(),
|
|
23
|
-
__metadata("design:type", Boolean)
|
|
24
|
-
], SetMobileApprovalDto.prototype, "enable", void 0);
|
|
25
|
-
//# sourceMappingURL=SetMobileApprovalDto.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SetMobileApprovalDto.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/authentification/SetMobileApprovalDto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAmD;AAEnD,MAAa,oBAAoB;CAMhC;AAND,oDAMC;AAJC;IADC,IAAA,uBAAK,GAAE;;oDACO;AAGf;IADC,IAAA,2BAAS,GAAE;;oDACI","sourcesContent":["import { IsBoolean, IsInt } from 'class-validator';\n\nexport class SetMobileApprovalDto {\n @IsInt()\n userId: number;\n\n @IsBoolean()\n enable: boolean;\n}\n"]}
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import { LoginApprovalStatus } from '../../../Enum/LoginApprovalStatus';
|
|
2
|
-
/**
|
|
3
|
-
* Payload de l'événement socket envoyé au mobile lors d'une demande de connexion
|
|
4
|
-
*/
|
|
5
|
-
export interface ILoginApprovalRequestEvent {
|
|
6
|
-
/** ID unique de la demande */
|
|
7
|
-
requestId: string;
|
|
8
|
-
/** Date d'expiration */
|
|
9
|
-
expiresAt: Date;
|
|
10
|
-
/** ID de l'utilisateur */
|
|
11
|
-
userId: number;
|
|
12
|
-
/** Métadonnées (IP, navigateur, localisation) */
|
|
13
|
-
metadata?: {
|
|
14
|
-
ip?: string;
|
|
15
|
-
userAgent?: string;
|
|
16
|
-
location?: string;
|
|
17
|
-
};
|
|
18
|
-
}
|
|
19
|
-
export interface IApproveOrDenyResponse {
|
|
20
|
-
message: string;
|
|
21
|
-
status: LoginApprovalStatus;
|
|
22
|
-
}
|
|
23
|
-
/**
|
|
24
|
-
* Payload de l'événement socket envoyé au Web lors d'un changement de statut
|
|
25
|
-
*/
|
|
26
|
-
export interface ILoginApprovalStatusEvent {
|
|
27
|
-
/** ID de la demande */
|
|
28
|
-
requestId: string;
|
|
29
|
-
/** Nouveau statut */
|
|
30
|
-
status: LoginApprovalStatus;
|
|
31
|
-
/** Date de la transition */
|
|
32
|
-
timestamp: Date;
|
|
33
|
-
}
|
|
34
|
-
/**
|
|
35
|
-
* Réponse renvoyée au Web lorsque mobile MFA est requis
|
|
36
|
-
*/
|
|
37
|
-
export interface ILoginApprovalResponse {
|
|
38
|
-
/** Indique qu'une validation mobile est nécessaire */
|
|
39
|
-
requiresMobileApproval: true;
|
|
40
|
-
/** ID de la demande pour polling/tracking */
|
|
41
|
-
requestId: string;
|
|
42
|
-
/** Date d'expiration de la demande */
|
|
43
|
-
expiresAt: Date;
|
|
44
|
-
/** ID utilisateur */
|
|
45
|
-
userId: number;
|
|
46
|
-
}
|
|
47
|
-
/**
|
|
48
|
-
* Réponse du statut d'une demande d'approbation
|
|
49
|
-
*/
|
|
50
|
-
export interface ILoginApprovalStatusResponse {
|
|
51
|
-
/** ID de la demande */
|
|
52
|
-
requestId: string;
|
|
53
|
-
/** Statut actuel */
|
|
54
|
-
status: LoginApprovalStatus;
|
|
55
|
-
/** Date d'expiration */
|
|
56
|
-
expiresAt: Date;
|
|
57
|
-
/** Token JWT si status = approved */
|
|
58
|
-
token?: string;
|
|
59
|
-
}
|
|
60
|
-
/**
|
|
61
|
-
* DTO pour approuver/refuser une demande depuis le mobile
|
|
62
|
-
*/
|
|
63
|
-
export declare class IApproveOrDenyRequest {
|
|
64
|
-
deviceId: string;
|
|
65
|
-
}
|
|
66
|
-
//# sourceMappingURL=loginApproval.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"loginApproval.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/authentification/loginApproval.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;AAIxE;;GAEG;AACH,MAAM,WAAW,0BAA0B;IACzC,8BAA8B;IAC9B,SAAS,EAAE,MAAM,CAAC;IAClB,wBAAwB;IACxB,SAAS,EAAE,IAAI,CAAC;IAChB,0BAA0B;IAC1B,MAAM,EAAE,MAAM,CAAC;IACf,iDAAiD;IACjD,QAAQ,CAAC,EAAE;QACT,EAAE,CAAC,EAAE,MAAM,CAAC;QACZ,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;KACnB,CAAC;CACH;AAED,MAAM,WAAW,sBAAsB;IACrC,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,mBAAmB,CAAC;CAC7B;AAED;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACxC,uBAAuB;IACvB,SAAS,EAAE,MAAM,CAAC;IAClB,qBAAqB;IACrB,MAAM,EAAE,mBAAmB,CAAC;IAC5B,4BAA4B;IAC5B,SAAS,EAAE,IAAI,CAAC;CACjB;AAED;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC,sDAAsD;IACtD,sBAAsB,EAAE,IAAI,CAAC;IAC7B,6CAA6C;IAC7C,SAAS,EAAE,MAAM,CAAC;IAClB,sCAAsC;IACtC,SAAS,EAAE,IAAI,CAAC;IAChB,qBAAqB;IACrB,MAAM,EAAE,MAAM,CAAC;CAChB;AAED;;GAEG;AACH,MAAM,WAAW,4BAA4B;IAC3C,uBAAuB;IACvB,SAAS,EAAE,MAAM,CAAC;IAClB,oBAAoB;IACpB,MAAM,EAAE,mBAAmB,CAAC;IAC5B,wBAAwB;IACxB,SAAS,EAAE,IAAI,CAAC;IAChB,qCAAqC;IACrC,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED;;GAEG;AACH,qBAAa,qBAAqB;IAGhC,QAAQ,EAAE,MAAM,CAAC;CAClB"}
|
|
@@ -1,26 +0,0 @@
|
|
|
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
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.IApproveOrDenyRequest = void 0;
|
|
13
|
-
const class_validator_1 = require("class-validator");
|
|
14
|
-
const __1 = require("../../../../");
|
|
15
|
-
/**
|
|
16
|
-
* DTO pour approuver/refuser une demande depuis le mobile
|
|
17
|
-
*/
|
|
18
|
-
class IApproveOrDenyRequest {
|
|
19
|
-
}
|
|
20
|
-
exports.IApproveOrDenyRequest = IApproveOrDenyRequest;
|
|
21
|
-
__decorate([
|
|
22
|
-
(0, __1.ApiProperty)(),
|
|
23
|
-
(0, class_validator_1.IsString)(),
|
|
24
|
-
__metadata("design:type", String)
|
|
25
|
-
], IApproveOrDenyRequest.prototype, "deviceId", void 0);
|
|
26
|
-
//# sourceMappingURL=loginApproval.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"loginApproval.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/authentification/loginApproval.ts"],"names":[],"mappings":";;;;;;;;;;;;AACA,qDAA2C;AAC3C,oCAA2C;AAiE3C;;GAEG;AACH,MAAa,qBAAqB;CAIjC;AAJD,sDAIC;AADC;IAFC,IAAA,eAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;uDACM","sourcesContent":["import { LoginApprovalStatus } from '../../../Enum/LoginApprovalStatus';\nimport { IsString } from 'class-validator';\nimport { ApiProperty } from '../../../../';\n\n/**\n * Payload de l'événement socket envoyé au mobile lors d'une demande de connexion\n */\nexport interface ILoginApprovalRequestEvent {\n /** ID unique de la demande */\n requestId: string;\n /** Date d'expiration */\n expiresAt: Date;\n /** ID de l'utilisateur */\n userId: number;\n /** Métadonnées (IP, navigateur, localisation) */\n metadata?: {\n ip?: string;\n userAgent?: string;\n location?: string;\n };\n}\n\nexport interface IApproveOrDenyResponse {\n message: string;\n status: LoginApprovalStatus;\n}\n\n/**\n * Payload de l'événement socket envoyé au Web lors d'un changement de statut\n */\nexport interface ILoginApprovalStatusEvent {\n /** ID de la demande */\n requestId: string;\n /** Nouveau statut */\n status: LoginApprovalStatus;\n /** Date de la transition */\n timestamp: Date;\n}\n\n/**\n * Réponse renvoyée au Web lorsque mobile MFA est requis\n */\nexport interface ILoginApprovalResponse {\n /** Indique qu'une validation mobile est nécessaire */\n requiresMobileApproval: true;\n /** ID de la demande pour polling/tracking */\n requestId: string;\n /** Date d'expiration de la demande */\n expiresAt: Date;\n /** ID utilisateur */\n userId: number;\n}\n\n/**\n * Réponse du statut d'une demande d'approbation\n */\nexport interface ILoginApprovalStatusResponse {\n /** ID de la demande */\n requestId: string;\n /** Statut actuel */\n status: LoginApprovalStatus;\n /** Date d'expiration */\n expiresAt: Date;\n /** Token JWT si status = approved */\n token?: string;\n}\n\n/**\n * DTO pour approuver/refuser une demande depuis le mobile\n */\nexport class IApproveOrDenyRequest {\n @ApiProperty()\n @IsString()\n deviceId: string;\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"revenueMovement.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/revenueMovement.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAGzD;;GAEG;AACH,qBAAa,6BAA6B;IAGxC,IAAI,EAAE,mBAAmB,CAAC;IAI1B,SAAS,EAAE,MAAM,CAAC;IAKlB,UAAU,CAAC,EA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AE,CAAC;CACL"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"revenueMovement.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/revenueMovement.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA2G;AAC3G,gDAAyD;AACzD,0CAAkE;AAElE;;GAEG;AACH,MAAa,6BAA6B;CAsDzC;AAtDD,sEAsDC;AAnDC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,wBAAM,EAAC,6BAAmB,CAAC;;2DACF;AAI1B;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,uBAAK,GAAE;;gEACU;AAKlB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;iEACY;AAKpB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;mEACc;AAKtB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;wEACmB;AAK3B;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;sEACiB;AAIzB;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,uBAAK,GAAE;;6DACO;AAIf;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,uBAAK,GAAE;;0DACI;AAIZ;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,uBAAK,GAAE;;0DACI;AAIZ;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,wBAAM,GAAE;8BACK,IAAI;mEAAC;AAKnB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;kEACU;AAKrB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;+DACoB;AAGjC;;GAEG;AACH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IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;8DACU;AAKlB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;+DACY;AAKpB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;8BACF,IAAI;yDAAC","sourcesContent":["import { IsDate, IsInt, IsOptional, IsEnum, IsNumber, IsString, IsObject, IsArray } from 'class-validator';\nimport { RevenueMovementType } from '../../Enum/Revenue';\nimport { ApiProperty, ApiPropertyOptional } from '../../../utils';\n\n/**\n * DTO pour créer un mouvement de revenu\n */\nexport class ICreateRevenueMovementRequest {\n @ApiProperty()\n @IsEnum(RevenueMovementType)\n type: RevenueMovementType;\n\n @ApiProperty()\n @IsInt()\n idSociety: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idExercice?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idPrestation?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idTerminationList?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idChurnMovement?: number;\n\n @ApiProperty()\n @IsInt()\n amount: number;\n\n @ApiProperty()\n @IsInt()\n mrr: number;\n\n @ApiProperty()\n @IsInt()\n arr: number;\n\n @ApiProperty()\n @IsDate()\n movementDate: Date;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n description?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsObject()\n metadata?: Record<string, any>;\n}\n\n/**\n * DTO pour mettre à jour un mouvement de revenu\n */\nexport class IUpdateRevenueMovementRequest {\n @ApiPropertyOptional()\n @IsOptional()\n @IsEnum(RevenueMovementType)\n type?: RevenueMovementType;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idTerminationList?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idChurnMovement?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n amount?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n mrr?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n arr?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n movementDate?: Date | string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n description?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsObject()\n metadata?: Record<string, any>;\n}\n\n/**\n * Filtres pour récupérer les mouvements de revenu\n */\nexport class IGetRevenueMovementsRequest {\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idSociety?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idExercice?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idPrestation?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idTerminationList?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idChurnMovement?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n @IsEnum(RevenueMovementType, { each: true })\n type?: RevenueMovementType[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n startDate?: Date | string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n endDate?: Date | string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n page?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\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 class IGenerateSnapshotRequest {\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n date?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idSociety?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idExercice?: number;\n}\n\n/**\n * DTO pour générer tous les snapshots de revenu\n */\nexport class IGenerateAllSnapshotsRequest {\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n date?: string;\n}\n\n/**\n * DTO pour gérer la rétroactivité des mouvements de revenu\n */\nexport class IManageRetroactivityRequest {\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idSociety: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idExercice?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n date?: Date;\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"]}
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1 +0,0 @@
|
|
|
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"]}
|
|
@@ -1 +0,0 @@
|
|
|
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;IAgB9B,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"revenueSnapshotGenerate.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/revenueSnapshotGenerate.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,0CAAkE;AAClE,qDAAwE;AAExE,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,mBAAmB;QAChC,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;AADC;IAPC,IAAA,2BAAmB,EAAC;QACnB,QAAQ,EAAE,KAAK;QACf,WAAW,EAAE,gEAAgE;QAC7E,OAAO,EAAE,MAAM;KAChB,CAAC;IACD,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;uDACY","sourcesContent":["import { ApiProperty, ApiPropertyOptional } from '../../../utils';\nimport { IsOptional, IsString, IsNumber, IsInt } 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 // @IsInt()\n // idSociety: number;\n\n @ApiPropertyOptional({\n required: false,\n description: 'ID de l\\'exercice (si non fourni, utilise l\\'exercice courant)',\n example: 123456,\n })\n @IsOptional()\n @IsInt()\n idExercice?: number;\n}\n"]}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { LoginApprovalStatus } from '../../Enum/LoginApprovalStatus';
|
|
2
|
-
/**
|
|
3
|
-
* Interface représentant une demande d'approbation de connexion mobile
|
|
4
|
-
*/
|
|
5
|
-
export interface ILoginApproval {
|
|
6
|
-
/** Identifiant unique (UUID) */
|
|
7
|
-
id: string;
|
|
8
|
-
/** ID de l'utilisateur demandant la connexion */
|
|
9
|
-
idUser: number;
|
|
10
|
-
/** Statut actuel de la demande */
|
|
11
|
-
status: LoginApprovalStatus;
|
|
12
|
-
/** Date d'expiration de la demande (généralement 2-3 min après création) */
|
|
13
|
-
expiresAt: Date;
|
|
14
|
-
/** Date d'approbation (si status = approved) */
|
|
15
|
-
approvedAt?: Date;
|
|
16
|
-
/** Date de refus (si status = denied) */
|
|
17
|
-
deniedAt?: Date;
|
|
18
|
-
/** Device ID du mobile ayant approuvé/refusé */
|
|
19
|
-
deviceIdUsed?: string;
|
|
20
|
-
/** IP de la connexion Web à l'origine de la demande */
|
|
21
|
-
ip?: string;
|
|
22
|
-
/** User-Agent du navigateur Web */
|
|
23
|
-
userAgent?: string;
|
|
24
|
-
/** Métadonnées additionnelles (géoloc, risk score, etc.) */
|
|
25
|
-
metadata?: Record<string, any>;
|
|
26
|
-
/** Date de création */
|
|
27
|
-
createdAt: Date;
|
|
28
|
-
/** Date de mise à jour */
|
|
29
|
-
updatedAt: Date;
|
|
30
|
-
}
|
|
31
|
-
//# sourceMappingURL=ILoginApproval.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ILoginApproval.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/ILoginApproval.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AAErE;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B,gCAAgC;IAChC,EAAE,EAAE,MAAM,CAAC;IACX,iDAAiD;IACjD,MAAM,EAAE,MAAM,CAAC;IACf,kCAAkC;IAClC,MAAM,EAAE,mBAAmB,CAAC;IAC5B,4EAA4E;IAC5E,SAAS,EAAE,IAAI,CAAC;IAChB,gDAAgD;IAChD,UAAU,CAAC,EAAE,IAAI,CAAC;IAClB,yCAAyC;IACzC,QAAQ,CAAC,EAAE,IAAI,CAAC;IAChB,gDAAgD;IAChD,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,uDAAuD;IACvD,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,mCAAmC;IACnC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,4DAA4D;IAC5D,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAC/B,uBAAuB;IACvB,SAAS,EAAE,IAAI,CAAC;IAChB,0BAA0B;IAC1B,SAAS,EAAE,IAAI,CAAC;CACjB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ILoginApproval.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/ILoginApproval.ts"],"names":[],"mappings":"","sourcesContent":["import { LoginApprovalStatus } from '../../Enum/LoginApprovalStatus';\n\n/**\n * Interface représentant une demande d'approbation de connexion mobile\n */\nexport interface ILoginApproval {\n /** Identifiant unique (UUID) */\n id: string;\n /** ID de l'utilisateur demandant la connexion */\n idUser: number;\n /** Statut actuel de la demande */\n status: LoginApprovalStatus;\n /** Date d'expiration de la demande (généralement 2-3 min après création) */\n expiresAt: Date;\n /** Date d'approbation (si status = approved) */\n approvedAt?: Date;\n /** Date de refus (si status = denied) */\n deniedAt?: Date;\n /** Device ID du mobile ayant approuvé/refusé */\n deviceIdUsed?: string;\n /** IP de la connexion Web à l'origine de la demande */\n ip?: string;\n /** User-Agent du navigateur Web */\n userAgent?: string;\n /** Métadonnées additionnelles (géoloc, risk score, etc.) */\n metadata?: Record<string, any>;\n /** Date de création */\n createdAt: Date;\n /** Date de mise à jour */\n updatedAt: Date;\n}\n"]}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { Resource } from '../Resource';
|
|
2
|
-
import { ILoginApprovalStatusResponse } from '../../types/Interface/api/authentification/loginApproval';
|
|
3
|
-
export declare class LoginApproval extends Resource {
|
|
4
|
-
approve(requestId: string, deviceId: string): Promise<{
|
|
5
|
-
message: string;
|
|
6
|
-
status: string;
|
|
7
|
-
}>;
|
|
8
|
-
deny(requestId: string, deviceId: string): Promise<{
|
|
9
|
-
message: string;
|
|
10
|
-
status: string;
|
|
11
|
-
}>;
|
|
12
|
-
getStatus(requestId: string): Promise<ILoginApprovalStatusResponse>;
|
|
13
|
-
cleanup(): Promise<{
|
|
14
|
-
deleted: number;
|
|
15
|
-
message: string;
|
|
16
|
-
}>;
|
|
17
|
-
}
|
|
18
|
-
//# sourceMappingURL=LoginApproval.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"LoginApproval.d.ts","sourceRoot":"","sources":["../../../../ts/api/resources/LoginApproval.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,4BAA4B,EAAE,MAAM,0DAA0D,CAAC;AAExG,qBAAa,aAAc,SAAQ,QAAQ;IACzC,OAAO,CAAC,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC;IAI1F,IAAI,CAAC,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC;IAIvF,SAAS,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,4BAA4B,CAAC;IAInE,OAAO,IAAI,OAAO,CAAC;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE,CAAC;CAGzD"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { Resource } from '../Resource';
|
|
2
|
-
export class LoginApproval extends Resource {
|
|
3
|
-
approve(requestId, deviceId) {
|
|
4
|
-
return this.axios.$post(`/auth/approvals/${requestId}/approve`, { deviceId });
|
|
5
|
-
}
|
|
6
|
-
deny(requestId, deviceId) {
|
|
7
|
-
return this.axios.$post(`/auth/approvals/${requestId}/deny`, { deviceId });
|
|
8
|
-
}
|
|
9
|
-
getStatus(requestId) {
|
|
10
|
-
return this.axios.$get(`/auth/approvals/${requestId}/status`);
|
|
11
|
-
}
|
|
12
|
-
cleanup() {
|
|
13
|
-
return this.axios.$post('/auth/approvals/cleanup');
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
//# sourceMappingURL=LoginApproval.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"LoginApproval.js","sourceRoot":"","sources":["../../../../ts/api/resources/LoginApproval.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAGvC,MAAM,OAAO,aAAc,SAAQ,QAAQ;IACzC,OAAO,CAAC,SAAiB,EAAE,QAAgB;QACzC,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,mBAAmB,SAAS,UAAU,EAAE,EAAE,QAAQ,EAAE,CAAC,CAAC;IAChF,CAAC;IAED,IAAI,CAAC,SAAiB,EAAE,QAAgB;QACtC,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,mBAAmB,SAAS,OAAO,EAAE,EAAE,QAAQ,EAAE,CAAC,CAAC;IAC7E,CAAC;IAED,SAAS,CAAC,SAAiB;QACzB,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,mBAAmB,SAAS,SAAS,CAAC,CAAC;IAChE,CAAC;IAED,OAAO;QACL,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,yBAAyB,CAAC,CAAC;IACrD,CAAC;CACF","sourcesContent":["import { Resource } from '../Resource';\nimport { ILoginApprovalStatusResponse } from '../../types/Interface/api/authentification/loginApproval';\n\nexport class LoginApproval extends Resource {\n approve(requestId: string, deviceId: string): Promise<{ message: string; status: string }> {\n return this.axios.$post(`/auth/approvals/${requestId}/approve`, { deviceId });\n }\n\n deny(requestId: string, deviceId: string): Promise<{ message: string; status: string }> {\n return this.axios.$post(`/auth/approvals/${requestId}/deny`, { deviceId });\n }\n\n getStatus(requestId: string): Promise<ILoginApprovalStatusResponse> {\n return this.axios.$get(`/auth/approvals/${requestId}/status`);\n }\n\n cleanup(): Promise<{ deleted: number; message: string }> {\n return this.axios.$post('/auth/approvals/cleanup');\n }\n}\n"]}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Statuts possibles d'une demande d'approbation de connexion mobile
|
|
3
|
-
*/
|
|
4
|
-
export declare enum LoginApprovalStatus {
|
|
5
|
-
/** En attente de validation par le mobile */
|
|
6
|
-
PENDING = "pending",
|
|
7
|
-
/** Approuvée par l'utilisateur sur son mobile */
|
|
8
|
-
APPROVED = "approved",
|
|
9
|
-
/** Refusée par l'utilisateur sur son mobile */
|
|
10
|
-
DENIED = "denied",
|
|
11
|
-
/** Expirée (timeout dépassé sans action) */
|
|
12
|
-
EXPIRED = "expired"
|
|
13
|
-
}
|
|
14
|
-
//# sourceMappingURL=LoginApprovalStatus.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"LoginApprovalStatus.d.ts","sourceRoot":"","sources":["../../../../ts/types/Enum/LoginApprovalStatus.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,oBAAY,mBAAmB;IAC7B,6CAA6C;IAC7C,OAAO,YAAY;IACnB,iDAAiD;IACjD,QAAQ,aAAa;IACrB,+CAA+C;IAC/C,MAAM,WAAW;IACjB,4CAA4C;IAC5C,OAAO,YAAY;CACpB"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Statuts possibles d'une demande d'approbation de connexion mobile
|
|
3
|
-
*/
|
|
4
|
-
export var LoginApprovalStatus;
|
|
5
|
-
(function (LoginApprovalStatus) {
|
|
6
|
-
/** En attente de validation par le mobile */
|
|
7
|
-
LoginApprovalStatus["PENDING"] = "pending";
|
|
8
|
-
/** Approuvée par l'utilisateur sur son mobile */
|
|
9
|
-
LoginApprovalStatus["APPROVED"] = "approved";
|
|
10
|
-
/** Refusée par l'utilisateur sur son mobile */
|
|
11
|
-
LoginApprovalStatus["DENIED"] = "denied";
|
|
12
|
-
/** Expirée (timeout dépassé sans action) */
|
|
13
|
-
LoginApprovalStatus["EXPIRED"] = "expired";
|
|
14
|
-
})(LoginApprovalStatus || (LoginApprovalStatus = {}));
|
|
15
|
-
//# sourceMappingURL=LoginApprovalStatus.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"LoginApprovalStatus.js","sourceRoot":"","sources":["../../../../ts/types/Enum/LoginApprovalStatus.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,CAAN,IAAY,mBASX;AATD,WAAY,mBAAmB;IAC7B,6CAA6C;IAC7C,0CAAmB,CAAA;IACnB,iDAAiD;IACjD,4CAAqB,CAAA;IACrB,+CAA+C;IAC/C,wCAAiB,CAAA;IACjB,4CAA4C;IAC5C,0CAAmB,CAAA;AACrB,CAAC,EATW,mBAAmB,KAAnB,mBAAmB,QAS9B","sourcesContent":["/**\n * Statuts possibles d'une demande d'approbation de connexion mobile\n */\nexport enum LoginApprovalStatus {\n /** En attente de validation par le mobile */\n PENDING = 'pending',\n /** Approuvée par l'utilisateur sur son mobile */\n APPROVED = 'approved',\n /** Refusée par l'utilisateur sur son mobile */\n DENIED = 'denied',\n /** Expirée (timeout dépassé sans action) */\n EXPIRED = 'expired',\n}\n"]}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Modes de double authentification disponibles
|
|
3
|
-
*/
|
|
4
|
-
export declare enum MfaMode {
|
|
5
|
-
/** Pas de MFA activée */
|
|
6
|
-
NONE = "none",
|
|
7
|
-
/** Authentification via code TOTP (Google Authenticator, etc.) */
|
|
8
|
-
TOTP = "totp",
|
|
9
|
-
/** Validation via notification sur l'application mobile */
|
|
10
|
-
MOBILE_APPROVAL = "mobile_approval"
|
|
11
|
-
}
|
|
12
|
-
//# sourceMappingURL=MfaMode.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"MfaMode.d.ts","sourceRoot":"","sources":["../../../../ts/types/Enum/MfaMode.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,oBAAY,OAAO;IACjB,yBAAyB;IACzB,IAAI,SAAS;IACb,kEAAkE;IAClE,IAAI,SAAS;IACb,2DAA2D;IAC3D,eAAe,oBAAoB;CACpC"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Modes de double authentification disponibles
|
|
3
|
-
*/
|
|
4
|
-
export var MfaMode;
|
|
5
|
-
(function (MfaMode) {
|
|
6
|
-
/** Pas de MFA activée */
|
|
7
|
-
MfaMode["NONE"] = "none";
|
|
8
|
-
/** Authentification via code TOTP (Google Authenticator, etc.) */
|
|
9
|
-
MfaMode["TOTP"] = "totp";
|
|
10
|
-
/** Validation via notification sur l'application mobile */
|
|
11
|
-
MfaMode["MOBILE_APPROVAL"] = "mobile_approval";
|
|
12
|
-
})(MfaMode || (MfaMode = {}));
|
|
13
|
-
//# sourceMappingURL=MfaMode.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"MfaMode.js","sourceRoot":"","sources":["../../../../ts/types/Enum/MfaMode.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,CAAN,IAAY,OAOX;AAPD,WAAY,OAAO;IACjB,yBAAyB;IACzB,wBAAa,CAAA;IACb,kEAAkE;IAClE,wBAAa,CAAA;IACb,2DAA2D;IAC3D,8CAAmC,CAAA;AACrC,CAAC,EAPW,OAAO,KAAP,OAAO,QAOlB","sourcesContent":["/**\n * Modes de double authentification disponibles\n */\nexport enum MfaMode {\n /** Pas de MFA activée */\n NONE = 'none',\n /** Authentification via code TOTP (Google Authenticator, etc.) */\n TOTP = 'totp',\n /** Validation via notification sur l'application mobile */\n MOBILE_APPROVAL = 'mobile_approval',\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FinalizeMobileApprovalDto.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/authentification/FinalizeMobileApprovalDto.ts"],"names":[],"mappings":"AAEA,qBAAa,yBAAyB;IAEpC,SAAS,EAAE,MAAM,CAAC;CACnB"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
-
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;
|
|
5
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
-
};
|
|
7
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
|
-
};
|
|
10
|
-
import { IsString } from 'class-validator';
|
|
11
|
-
export class FinalizeMobileApprovalDto {
|
|
12
|
-
requestId;
|
|
13
|
-
}
|
|
14
|
-
__decorate([
|
|
15
|
-
IsString(),
|
|
16
|
-
__metadata("design:type", String)
|
|
17
|
-
], FinalizeMobileApprovalDto.prototype, "requestId", void 0);
|
|
18
|
-
//# sourceMappingURL=FinalizeMobileApprovalDto.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FinalizeMobileApprovalDto.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/authentification/FinalizeMobileApprovalDto.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAE3C,MAAM,OAAO,yBAAyB;IAEpC,SAAS,CAAS;CACnB;AADC;IADC,QAAQ,EAAE;;4DACO","sourcesContent":["import { IsString } from 'class-validator';\n\nexport class FinalizeMobileApprovalDto {\n @IsString()\n requestId: string;\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SetMobileApprovalDto.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/authentification/SetMobileApprovalDto.ts"],"names":[],"mappings":"AAEA,qBAAa,oBAAoB;IAE/B,MAAM,EAAE,MAAM,CAAC;IAGf,MAAM,EAAE,OAAO,CAAC;CACjB"}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
-
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;
|
|
5
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
-
};
|
|
7
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
|
-
};
|
|
10
|
-
import { IsBoolean, IsInt } from 'class-validator';
|
|
11
|
-
export class SetMobileApprovalDto {
|
|
12
|
-
userId;
|
|
13
|
-
enable;
|
|
14
|
-
}
|
|
15
|
-
__decorate([
|
|
16
|
-
IsInt(),
|
|
17
|
-
__metadata("design:type", Number)
|
|
18
|
-
], SetMobileApprovalDto.prototype, "userId", void 0);
|
|
19
|
-
__decorate([
|
|
20
|
-
IsBoolean(),
|
|
21
|
-
__metadata("design:type", Boolean)
|
|
22
|
-
], SetMobileApprovalDto.prototype, "enable", void 0);
|
|
23
|
-
//# sourceMappingURL=SetMobileApprovalDto.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SetMobileApprovalDto.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/authentification/SetMobileApprovalDto.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AAEnD,MAAM,OAAO,oBAAoB;IAE/B,MAAM,CAAS;IAGf,MAAM,CAAU;CACjB;AAJC;IADC,KAAK,EAAE;;oDACO;AAGf;IADC,SAAS,EAAE;;oDACI","sourcesContent":["import { IsBoolean, IsInt } from 'class-validator';\n\nexport class SetMobileApprovalDto {\n @IsInt()\n userId: number;\n\n @IsBoolean()\n enable: boolean;\n}\n"]}
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import { LoginApprovalStatus } from '../../../Enum/LoginApprovalStatus';
|
|
2
|
-
/**
|
|
3
|
-
* Payload de l'événement socket envoyé au mobile lors d'une demande de connexion
|
|
4
|
-
*/
|
|
5
|
-
export interface ILoginApprovalRequestEvent {
|
|
6
|
-
/** ID unique de la demande */
|
|
7
|
-
requestId: string;
|
|
8
|
-
/** Date d'expiration */
|
|
9
|
-
expiresAt: Date;
|
|
10
|
-
/** ID de l'utilisateur */
|
|
11
|
-
userId: number;
|
|
12
|
-
/** Métadonnées (IP, navigateur, localisation) */
|
|
13
|
-
metadata?: {
|
|
14
|
-
ip?: string;
|
|
15
|
-
userAgent?: string;
|
|
16
|
-
location?: string;
|
|
17
|
-
};
|
|
18
|
-
}
|
|
19
|
-
export interface IApproveOrDenyResponse {
|
|
20
|
-
message: string;
|
|
21
|
-
status: LoginApprovalStatus;
|
|
22
|
-
}
|
|
23
|
-
/**
|
|
24
|
-
* Payload de l'événement socket envoyé au Web lors d'un changement de statut
|
|
25
|
-
*/
|
|
26
|
-
export interface ILoginApprovalStatusEvent {
|
|
27
|
-
/** ID de la demande */
|
|
28
|
-
requestId: string;
|
|
29
|
-
/** Nouveau statut */
|
|
30
|
-
status: LoginApprovalStatus;
|
|
31
|
-
/** Date de la transition */
|
|
32
|
-
timestamp: Date;
|
|
33
|
-
}
|
|
34
|
-
/**
|
|
35
|
-
* Réponse renvoyée au Web lorsque mobile MFA est requis
|
|
36
|
-
*/
|
|
37
|
-
export interface ILoginApprovalResponse {
|
|
38
|
-
/** Indique qu'une validation mobile est nécessaire */
|
|
39
|
-
requiresMobileApproval: true;
|
|
40
|
-
/** ID de la demande pour polling/tracking */
|
|
41
|
-
requestId: string;
|
|
42
|
-
/** Date d'expiration de la demande */
|
|
43
|
-
expiresAt: Date;
|
|
44
|
-
/** ID utilisateur */
|
|
45
|
-
userId: number;
|
|
46
|
-
}
|
|
47
|
-
/**
|
|
48
|
-
* Réponse du statut d'une demande d'approbation
|
|
49
|
-
*/
|
|
50
|
-
export interface ILoginApprovalStatusResponse {
|
|
51
|
-
/** ID de la demande */
|
|
52
|
-
requestId: string;
|
|
53
|
-
/** Statut actuel */
|
|
54
|
-
status: LoginApprovalStatus;
|
|
55
|
-
/** Date d'expiration */
|
|
56
|
-
expiresAt: Date;
|
|
57
|
-
/** Token JWT si status = approved */
|
|
58
|
-
token?: string;
|
|
59
|
-
}
|
|
60
|
-
/**
|
|
61
|
-
* DTO pour approuver/refuser une demande depuis le mobile
|
|
62
|
-
*/
|
|
63
|
-
export declare class IApproveOrDenyRequest {
|
|
64
|
-
deviceId: string;
|
|
65
|
-
}
|
|
66
|
-
//# sourceMappingURL=loginApproval.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"loginApproval.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/authentification/loginApproval.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;AAIxE;;GAEG;AACH,MAAM,WAAW,0BAA0B;IACzC,8BAA8B;IAC9B,SAAS,EAAE,MAAM,CAAC;IAClB,wBAAwB;IACxB,SAAS,EAAE,IAAI,CAAC;IAChB,0BAA0B;IAC1B,MAAM,EAAE,MAAM,CAAC;IACf,iDAAiD;IACjD,QAAQ,CAAC,EAAE;QACT,EAAE,CAAC,EAAE,MAAM,CAAC;QACZ,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;KACnB,CAAC;CACH;AAED,MAAM,WAAW,sBAAsB;IACrC,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,mBAAmB,CAAC;CAC7B;AAED;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACxC,uBAAuB;IACvB,SAAS,EAAE,MAAM,CAAC;IAClB,qBAAqB;IACrB,MAAM,EAAE,mBAAmB,CAAC;IAC5B,4BAA4B;IAC5B,SAAS,EAAE,IAAI,CAAC;CACjB;AAED;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC,sDAAsD;IACtD,sBAAsB,EAAE,IAAI,CAAC;IAC7B,6CAA6C;IAC7C,SAAS,EAAE,MAAM,CAAC;IAClB,sCAAsC;IACtC,SAAS,EAAE,IAAI,CAAC;IAChB,qBAAqB;IACrB,MAAM,EAAE,MAAM,CAAC;CAChB;AAED;;GAEG;AACH,MAAM,WAAW,4BAA4B;IAC3C,uBAAuB;IACvB,SAAS,EAAE,MAAM,CAAC;IAClB,oBAAoB;IACpB,MAAM,EAAE,mBAAmB,CAAC;IAC5B,wBAAwB;IACxB,SAAS,EAAE,IAAI,CAAC;IAChB,qCAAqC;IACrC,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED;;GAEG;AACH,qBAAa,qBAAqB;IAGhC,QAAQ,EAAE,MAAM,CAAC;CAClB"}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
-
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;
|
|
5
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
-
};
|
|
7
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
|
-
};
|
|
10
|
-
import { IsString } from 'class-validator';
|
|
11
|
-
import { ApiProperty } from '../../../../';
|
|
12
|
-
/**
|
|
13
|
-
* DTO pour approuver/refuser une demande depuis le mobile
|
|
14
|
-
*/
|
|
15
|
-
export class IApproveOrDenyRequest {
|
|
16
|
-
deviceId;
|
|
17
|
-
}
|
|
18
|
-
__decorate([
|
|
19
|
-
ApiProperty(),
|
|
20
|
-
IsString(),
|
|
21
|
-
__metadata("design:type", String)
|
|
22
|
-
], IApproveOrDenyRequest.prototype, "deviceId", void 0);
|
|
23
|
-
//# sourceMappingURL=loginApproval.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"loginApproval.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/authentification/loginApproval.ts"],"names":[],"mappings":";;;;;;;;;AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAiE3C;;GAEG;AACH,MAAM,OAAO,qBAAqB;IAGhC,QAAQ,CAAS;CAClB;AADC;IAFC,WAAW,EAAE;IACb,QAAQ,EAAE;;uDACM","sourcesContent":["import { LoginApprovalStatus } from '../../../Enum/LoginApprovalStatus';\nimport { IsString } from 'class-validator';\nimport { ApiProperty } from '../../../../';\n\n/**\n * Payload de l'événement socket envoyé au mobile lors d'une demande de connexion\n */\nexport interface ILoginApprovalRequestEvent {\n /** ID unique de la demande */\n requestId: string;\n /** Date d'expiration */\n expiresAt: Date;\n /** ID de l'utilisateur */\n userId: number;\n /** Métadonnées (IP, navigateur, localisation) */\n metadata?: {\n ip?: string;\n userAgent?: string;\n location?: string;\n };\n}\n\nexport interface IApproveOrDenyResponse {\n message: string;\n status: LoginApprovalStatus;\n}\n\n/**\n * Payload de l'événement socket envoyé au Web lors d'un changement de statut\n */\nexport interface ILoginApprovalStatusEvent {\n /** ID de la demande */\n requestId: string;\n /** Nouveau statut */\n status: LoginApprovalStatus;\n /** Date de la transition */\n timestamp: Date;\n}\n\n/**\n * Réponse renvoyée au Web lorsque mobile MFA est requis\n */\nexport interface ILoginApprovalResponse {\n /** Indique qu'une validation mobile est nécessaire */\n requiresMobileApproval: true;\n /** ID de la demande pour polling/tracking */\n requestId: string;\n /** Date d'expiration de la demande */\n expiresAt: Date;\n /** ID utilisateur */\n userId: number;\n}\n\n/**\n * Réponse du statut d'une demande d'approbation\n */\nexport interface ILoginApprovalStatusResponse {\n /** ID de la demande */\n requestId: string;\n /** Statut actuel */\n status: LoginApprovalStatus;\n /** Date d'expiration */\n expiresAt: Date;\n /** Token JWT si status = approved */\n token?: string;\n}\n\n/**\n * DTO pour approuver/refuser une demande depuis le mobile\n */\nexport class IApproveOrDenyRequest {\n @ApiProperty()\n @IsString()\n deviceId: string;\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"revenueMovement.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/revenueMovement.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAGzD;;GAEG;AACH,qBAAa,6BAA6B;IAGxC,IAAI,EAAE,mBAAmB,CAAC;IAI1B,SAAS,EAAE,MAAM,CAAC;IAKlB,UAAU,CAAC,EAAE,MAAM,CAAC;IAKpB,YAAY,CAAC,EAAE,MAAM,CAAC;IAKtB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAK3B,eAAe,CAAC,EAAE,MAAM,CAAC;IAIzB,MAAM,EAAE,MAAM,CAAC;IAIf,GAAG,EAAE,MAAM,CAAC;IAIZ,GAAG,EAAE,MAAM,CAAC;IAIZ,YAAY,EAAE,IAAI,CAAC;IAKnB,WAAW,CAAC,EAAE,MAAM,CAAC;IAKrB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CAChC;AAED;;GAEG;AACH,qBAAa,6BAA6B;IAIxC,IAAI,CAAC,EAAE,mBAAmB,CAAC;IAK3B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAK3B,eAAe,CAAC,EAAE,MAAM,CAAC;IAKzB,MAAM,CAAC,EAAE,MAAM,CAAC;IAKhB,GAAG,CAAC,EAAE,MAAM,CAAC;IAKb,GAAG,CAAC,EAAE,MAAM,CAAC;IAKb,YAAY,CAAC,EAAE,IAAI,GAAG,MAAM,CAAC;IAK7B,WAAW,CAAC,EAAE,MAAM,CAAC;IAKrB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CAChC;AAED;;GAEG;AACH,qBAAa,2BAA2B;IAItC,SAAS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EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;0DACO;AAcjB;;GAEG;AACH,MAAM,OAAO,wBAAwB;IAInC,IAAI,CAAU;IAKd,SAAS,CAAU;IAKnB,UAAU,CAAU;CACrB;AAXC;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,MAAM,EAAE;;sDACK;AAKd;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;2DACW;AAKnB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;4DACY;AAGtB;;GAEG;AACH,MAAM,OAAO,4BAA4B;IAIvC,IAAI,CAAU;CACf;AADC;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,MAAM,EAAE;;0DACK;AAGhB;;GAEG;AACH,MAAM,OAAO,2BAA2B;IAItC,SAAS,CAAS;IAKlB,UAAU,CAAU;IAKpB,IAAI,CAAQ;CACb;AAXC;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;8DACU;AAKlB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;+DACY;AAKpB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,MAAM,EAAE;8BACF,IAAI;yDAAC","sourcesContent":["import { IsDate, IsInt, IsOptional, IsEnum, IsNumber, IsString, IsObject, IsArray } from 'class-validator';\nimport { RevenueMovementType } from '../../Enum/Revenue';\nimport { ApiProperty, ApiPropertyOptional } from '../../../utils';\n\n/**\n * DTO pour créer un mouvement de revenu\n */\nexport class ICreateRevenueMovementRequest {\n @ApiProperty()\n @IsEnum(RevenueMovementType)\n type: RevenueMovementType;\n\n @ApiProperty()\n @IsInt()\n idSociety: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idExercice?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idPrestation?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idTerminationList?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idChurnMovement?: number;\n\n @ApiProperty()\n @IsInt()\n amount: number;\n\n @ApiProperty()\n @IsInt()\n mrr: number;\n\n @ApiProperty()\n @IsInt()\n arr: number;\n\n @ApiProperty()\n @IsDate()\n movementDate: Date;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n description?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsObject()\n metadata?: Record<string, any>;\n}\n\n/**\n * DTO pour mettre à jour un mouvement de revenu\n */\nexport class IUpdateRevenueMovementRequest {\n @ApiPropertyOptional()\n @IsOptional()\n @IsEnum(RevenueMovementType)\n type?: RevenueMovementType;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idTerminationList?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idChurnMovement?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n amount?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n mrr?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n arr?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n movementDate?: Date | string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n description?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsObject()\n metadata?: Record<string, any>;\n}\n\n/**\n * Filtres pour récupérer les mouvements de revenu\n */\nexport class IGetRevenueMovementsRequest {\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idSociety?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idExercice?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idPrestation?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idTerminationList?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idChurnMovement?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n @IsEnum(RevenueMovementType, { each: true })\n type?: RevenueMovementType[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n startDate?: Date | string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n endDate?: Date | string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n page?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\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 class IGenerateSnapshotRequest {\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n date?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idSociety?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idExercice?: number;\n}\n\n/**\n * DTO pour générer tous les snapshots de revenu\n */\nexport class IGenerateAllSnapshotsRequest {\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n date?: string;\n}\n\n/**\n * DTO pour gérer la rétroactivité des mouvements de revenu\n */\nexport class IManageRetroactivityRequest {\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idSociety: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idExercice?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n date?: Date;\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"]}
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1 +0,0 @@
|
|
|
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"]}
|
|
@@ -1 +0,0 @@
|
|
|
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;IAgB9B,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"revenueSnapshotGenerate.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/revenueSnapshotGenerate.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAClE,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AAExE,MAAM,OAAO,gBAAgB;IAQ3B,IAAI,CAAU;IASd,SAAS,CAAU;IASnB,UAAU,CAAU;CACrB;AAnBC;IAPC,WAAW,CAAC;QACX,QAAQ,EAAE,KAAK;QACf,WAAW,EAAE,6CAA6C;QAC1D,OAAO,EAAE,YAAY;KACtB,CAAC;IACD,UAAU,EAAE;IACZ,QAAQ,EAAE;;8CACG;AASd;IAPC,WAAW,CAAC;QACX,QAAQ,EAAE,KAAK;QACf,WAAW,EAAE,kBAAkB;QAC/B,OAAO,EAAE,KAAK;KACf,CAAC;IACD,UAAU,EAAE;IACZ,QAAQ,EAAE;;mDACQ;AASnB;IAPC,WAAW,CAAC;QACX,QAAQ,EAAE,KAAK;QACf,WAAW,EAAE,mBAAmB;QAChC,OAAO,EAAE,MAAM;KAChB,CAAC;IACD,UAAU,EAAE;IACZ,QAAQ,EAAE;;oDACS;AAGtB,MAAM,OAAO,oBAAoB;IAQ/B,IAAI,CAAU;CACf;AADC;IAPC,WAAW,CAAC;QACX,QAAQ,EAAE,KAAK;QACf,WAAW,EAAE,6CAA6C;QAC1D,OAAO,EAAE,YAAY;KACtB,CAAC;IACD,UAAU,EAAE;IACZ,QAAQ,EAAE;;kDACG;AAGhB,MAAM,OAAO,mBAAmB;IAC9B,iBAAiB;IACjB,oBAAoB;IACpB,qCAAqC;IACrC,oBAAoB;IACpB,KAAK;IACL,WAAW;IACX,qBAAqB;IASrB,UAAU,CAAU;CACrB;AADC;IAPC,mBAAmB,CAAC;QACnB,QAAQ,EAAE,KAAK;QACf,WAAW,EAAE,gEAAgE;QAC7E,OAAO,EAAE,MAAM;KAChB,CAAC;IACD,UAAU,EAAE;IACZ,KAAK,EAAE;;uDACY","sourcesContent":["import { ApiProperty, ApiPropertyOptional } from '../../../utils';\nimport { IsOptional, IsString, IsNumber, IsInt } 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 // @IsInt()\n // idSociety: number;\n\n @ApiPropertyOptional({\n required: false,\n description: 'ID de l\\'exercice (si non fourni, utilise l\\'exercice courant)',\n example: 123456,\n })\n @IsOptional()\n @IsInt()\n idExercice?: number;\n}\n"]}
|