@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,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,20 +0,0 @@
|
|
|
1
|
-
import { Resource } from '../Resource';
|
|
2
|
-
import { ILoginApprovalStatusResponse } from '../../types/Interface/api/authentification/loginApproval';
|
|
3
|
-
|
|
4
|
-
export class LoginApproval extends Resource {
|
|
5
|
-
approve(requestId: string, deviceId: string): Promise<{ message: string; status: string }> {
|
|
6
|
-
return this.axios.$post(`/auth/approvals/${requestId}/approve`, { deviceId });
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
deny(requestId: string, deviceId: string): Promise<{ message: string; status: string }> {
|
|
10
|
-
return this.axios.$post(`/auth/approvals/${requestId}/deny`, { deviceId });
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
getStatus(requestId: string): Promise<ILoginApprovalStatusResponse> {
|
|
14
|
-
return this.axios.$get(`/auth/approvals/${requestId}/status`);
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
cleanup(): Promise<{ deleted: number; message: string }> {
|
|
18
|
-
return this.axios.$post('/auth/approvals/cleanup');
|
|
19
|
-
}
|
|
20
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Statuts possibles d'une demande d'approbation de connexion mobile
|
|
3
|
-
*/
|
|
4
|
-
export 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
|
-
}
|
package/ts/types/Enum/MfaMode.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Modes de double authentification disponibles
|
|
3
|
-
*/
|
|
4
|
-
export 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
|
-
}
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
import { LoginApprovalStatus } from '../../../Enum/LoginApprovalStatus';
|
|
2
|
-
import { IsString } from 'class-validator';
|
|
3
|
-
import { ApiProperty } from '../../../../';
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* Payload de l'événement socket envoyé au mobile lors d'une demande de connexion
|
|
7
|
-
*/
|
|
8
|
-
export interface ILoginApprovalRequestEvent {
|
|
9
|
-
/** ID unique de la demande */
|
|
10
|
-
requestId: string;
|
|
11
|
-
/** Date d'expiration */
|
|
12
|
-
expiresAt: Date;
|
|
13
|
-
/** ID de l'utilisateur */
|
|
14
|
-
userId: number;
|
|
15
|
-
/** Métadonnées (IP, navigateur, localisation) */
|
|
16
|
-
metadata?: {
|
|
17
|
-
ip?: string;
|
|
18
|
-
userAgent?: string;
|
|
19
|
-
location?: string;
|
|
20
|
-
};
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
export interface IApproveOrDenyResponse {
|
|
24
|
-
message: string;
|
|
25
|
-
status: LoginApprovalStatus;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
/**
|
|
29
|
-
* Payload de l'événement socket envoyé au Web lors d'un changement de statut
|
|
30
|
-
*/
|
|
31
|
-
export interface ILoginApprovalStatusEvent {
|
|
32
|
-
/** ID de la demande */
|
|
33
|
-
requestId: string;
|
|
34
|
-
/** Nouveau statut */
|
|
35
|
-
status: LoginApprovalStatus;
|
|
36
|
-
/** Date de la transition */
|
|
37
|
-
timestamp: Date;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
/**
|
|
41
|
-
* Réponse renvoyée au Web lorsque mobile MFA est requis
|
|
42
|
-
*/
|
|
43
|
-
export interface ILoginApprovalResponse {
|
|
44
|
-
/** Indique qu'une validation mobile est nécessaire */
|
|
45
|
-
requiresMobileApproval: true;
|
|
46
|
-
/** ID de la demande pour polling/tracking */
|
|
47
|
-
requestId: string;
|
|
48
|
-
/** Date d'expiration de la demande */
|
|
49
|
-
expiresAt: Date;
|
|
50
|
-
/** ID utilisateur */
|
|
51
|
-
userId: number;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* Réponse du statut d'une demande d'approbation
|
|
56
|
-
*/
|
|
57
|
-
export interface ILoginApprovalStatusResponse {
|
|
58
|
-
/** ID de la demande */
|
|
59
|
-
requestId: string;
|
|
60
|
-
/** Statut actuel */
|
|
61
|
-
status: LoginApprovalStatus;
|
|
62
|
-
/** Date d'expiration */
|
|
63
|
-
expiresAt: Date;
|
|
64
|
-
/** Token JWT si status = approved */
|
|
65
|
-
token?: string;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
/**
|
|
69
|
-
* DTO pour approuver/refuser une demande depuis le mobile
|
|
70
|
-
*/
|
|
71
|
-
export class IApproveOrDenyRequest {
|
|
72
|
-
@ApiProperty()
|
|
73
|
-
@IsString()
|
|
74
|
-
deviceId: string;
|
|
75
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { LoginApprovalStatus } from '../../Enum/LoginApprovalStatus';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Interface représentant une demande d'approbation de connexion mobile
|
|
5
|
-
*/
|
|
6
|
-
export interface ILoginApproval {
|
|
7
|
-
/** Identifiant unique (UUID) */
|
|
8
|
-
id: string;
|
|
9
|
-
/** ID de l'utilisateur demandant la connexion */
|
|
10
|
-
idUser: number;
|
|
11
|
-
/** Statut actuel de la demande */
|
|
12
|
-
status: LoginApprovalStatus;
|
|
13
|
-
/** Date d'expiration de la demande (généralement 2-3 min après création) */
|
|
14
|
-
expiresAt: Date;
|
|
15
|
-
/** Date d'approbation (si status = approved) */
|
|
16
|
-
approvedAt?: Date;
|
|
17
|
-
/** Date de refus (si status = denied) */
|
|
18
|
-
deniedAt?: Date;
|
|
19
|
-
/** Device ID du mobile ayant approuvé/refusé */
|
|
20
|
-
deviceIdUsed?: string;
|
|
21
|
-
/** IP de la connexion Web à l'origine de la demande */
|
|
22
|
-
ip?: string;
|
|
23
|
-
/** User-Agent du navigateur Web */
|
|
24
|
-
userAgent?: string;
|
|
25
|
-
/** Métadonnées additionnelles (géoloc, risk score, etc.) */
|
|
26
|
-
metadata?: Record<string, any>;
|
|
27
|
-
/** Date de création */
|
|
28
|
-
createdAt: Date;
|
|
29
|
-
/** Date de mise à jour */
|
|
30
|
-
updatedAt: Date;
|
|
31
|
-
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|