@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
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { IsBoolean, IsEnum, IsInt, IsOptional } from 'class-validator';
|
|
2
|
+
import { ApiPropertyOptional } from '../../../../utils';
|
|
3
|
+
import { IInformationRequest } from '../../models/IInformationRequest';
|
|
4
|
+
import { InformationRequestType } from '../../../Enum/InformationRequestType';
|
|
5
|
+
import { InformationRequestState } from '../../../Enum/InformationRequestState';
|
|
6
|
+
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
7
|
+
|
|
8
|
+
export class UpdateInformationRequest implements Partial<Omit<IInformationRequest, 'id'>> {
|
|
9
|
+
@ApiPropertyOptional()
|
|
10
|
+
@IsOptional()
|
|
11
|
+
@IsInt()
|
|
12
|
+
idSociety?: number;
|
|
13
|
+
|
|
14
|
+
@ApiPropertyOptional()
|
|
15
|
+
@IsOptional()
|
|
16
|
+
@IsInt()
|
|
17
|
+
idExercice?: number;
|
|
18
|
+
|
|
19
|
+
@ApiPropertyOptional()
|
|
20
|
+
@IsOptional()
|
|
21
|
+
@IsInt()
|
|
22
|
+
idRequestedBy?: number;
|
|
23
|
+
|
|
24
|
+
@ApiPropertyOptional()
|
|
25
|
+
@IsOptional()
|
|
26
|
+
@IsEnum(InformationRequestType)
|
|
27
|
+
type?: InformationRequestType;
|
|
28
|
+
|
|
29
|
+
@ApiPropertyOptional()
|
|
30
|
+
@IsOptional()
|
|
31
|
+
@IsEnum(InformationRequestState)
|
|
32
|
+
state?: InformationRequestState;
|
|
33
|
+
|
|
34
|
+
@ApiPropertyOptional()
|
|
35
|
+
@IsOptional()
|
|
36
|
+
@IsBoolean()
|
|
37
|
+
@ToBoolean()
|
|
38
|
+
isMandatory?: boolean;
|
|
39
|
+
}
|
|
@@ -31,6 +31,12 @@ export class CreatePaymentsRebilling {
|
|
|
31
31
|
@IsInt()
|
|
32
32
|
@Min(1)
|
|
33
33
|
limit?: number = 10;
|
|
34
|
+
|
|
35
|
+
@ApiPropertyOptional({ default: false })
|
|
36
|
+
@IsOptional()
|
|
37
|
+
@IsBoolean()
|
|
38
|
+
@ToBoolean()
|
|
39
|
+
debug?: boolean = false;
|
|
34
40
|
}
|
|
35
41
|
|
|
36
42
|
export class UpdateCollectable {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { IsDate, IsInt, IsOptional, IsEnum, IsNumber, IsString, IsObject, IsArray } from 'class-validator';
|
|
2
|
-
import { RevenueMovementType } from '
|
|
3
|
-
import { ApiProperty, ApiPropertyOptional } from '
|
|
2
|
+
import { RevenueMovementType } from '../../../Enum/Revenue';
|
|
3
|
+
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* DTO pour créer un mouvement de revenu
|
package/ts/types/Interface/api/{revenueSnapshotGenerate.ts → revenue/revenueSnapshotGenerate.ts}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ApiProperty, ApiPropertyOptional } from '
|
|
1
|
+
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
2
2
|
import { IsOptional, IsString, IsNumber, IsInt } from 'class-validator';
|
|
3
3
|
|
|
4
4
|
export class GenerateSnapshot {
|
|
@@ -22,7 +22,7 @@ export class GenerateSnapshot {
|
|
|
22
22
|
|
|
23
23
|
@ApiProperty({
|
|
24
24
|
required: false,
|
|
25
|
-
description:
|
|
25
|
+
description: "ID de l'exercice",
|
|
26
26
|
example: 123456,
|
|
27
27
|
})
|
|
28
28
|
@IsOptional()
|
|
@@ -52,7 +52,7 @@ export class ManageRetroactivity {
|
|
|
52
52
|
|
|
53
53
|
@ApiPropertyOptional({
|
|
54
54
|
required: false,
|
|
55
|
-
description:
|
|
55
|
+
description: "ID de l'exercice (si non fourni, utilise l'exercice courant)",
|
|
56
56
|
example: 123456,
|
|
57
57
|
})
|
|
58
58
|
@IsOptional()
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
import { IExercice } from './IExercice';
|
|
2
|
+
import { ISociety } from './ISociety';
|
|
3
|
+
|
|
2
4
|
export interface IBalanceSheetModule {
|
|
3
5
|
id?: number;
|
|
4
6
|
inventory: boolean | null;
|
|
@@ -32,4 +34,8 @@ export interface IBalanceSheetModule {
|
|
|
32
34
|
idExercice: number;
|
|
33
35
|
createdAt?: Date | null;
|
|
34
36
|
updatedAt?: Date | null;
|
|
37
|
+
|
|
38
|
+
// Associations
|
|
39
|
+
society?: ISociety;
|
|
40
|
+
exercice?: IExercice;
|
|
35
41
|
}
|
|
@@ -7,13 +7,19 @@ import { IFile } from './IFile';
|
|
|
7
7
|
import { IGedFile } from './IGedFile';
|
|
8
8
|
|
|
9
9
|
export interface IDocumentRequest {
|
|
10
|
-
id
|
|
10
|
+
id?: number;
|
|
11
11
|
idSociety: number;
|
|
12
12
|
idExercice?: number | null;
|
|
13
13
|
idBalanceSheet?: number | null;
|
|
14
|
-
idRequestedBy: number;
|
|
14
|
+
idRequestedBy: number; // IUser who requested the document
|
|
15
15
|
typeFile: TypeFile;
|
|
16
16
|
comment?: string | null;
|
|
17
|
+
isNotConcerned?: boolean; // This can't be null (default false in db)
|
|
18
|
+
isMandatory?: boolean; // If true, client cannot mark this request as not concerned
|
|
19
|
+
notConcernedAt?: Date | null;
|
|
20
|
+
createdAt?: Date | null;
|
|
21
|
+
updatedAt?: Date | null;
|
|
22
|
+
deletedAt?: Date | null;
|
|
17
23
|
|
|
18
24
|
// Associations
|
|
19
25
|
society?: ISociety;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { InformationRequestType } from '../../Enum/InformationRequestType';
|
|
2
|
+
import { InformationRequestState } from '../../Enum/InformationRequestState';
|
|
3
|
+
import { IUser } from './IUser';
|
|
4
|
+
import { ISociety } from './ISociety';
|
|
5
|
+
import { IExercice } from './IExercice';
|
|
6
|
+
import { IBalanceSheet } from './IBalanceSheet';
|
|
7
|
+
|
|
8
|
+
export interface IInformationRequest {
|
|
9
|
+
id?: number;
|
|
10
|
+
idSociety: number;
|
|
11
|
+
idExercice?: number | null;
|
|
12
|
+
idBalanceSheet?: number | null;
|
|
13
|
+
idRequestedBy: number; // IUser who requested the information
|
|
14
|
+
type: InformationRequestType; // Type of information request
|
|
15
|
+
state: InformationRequestState; // State of the request (pending, completed, not concerned)
|
|
16
|
+
isMandatory?: boolean; // If true, client cannot mark this request as not concerned
|
|
17
|
+
answeredAt?: Date | null; // Date when client answered (completed or marked as not concerned)
|
|
18
|
+
createdAt?: Date | null;
|
|
19
|
+
updatedAt?: Date | null;
|
|
20
|
+
deletedAt?: Date | null;
|
|
21
|
+
|
|
22
|
+
// Associations
|
|
23
|
+
society?: ISociety;
|
|
24
|
+
exercice?: IExercice;
|
|
25
|
+
balanceSheet?: IBalanceSheet;
|
|
26
|
+
requestedBy?: IUser;
|
|
27
|
+
}
|
|
@@ -23,7 +23,6 @@ import { IUserBrand } from './IUserBrand';
|
|
|
23
23
|
import { ICollaboraterDetail } from './ICollaboraterDetail';
|
|
24
24
|
import { IUserTimeSlot } from './IUserTimeSlot';
|
|
25
25
|
import { IUserTeam } from './IUserTeam';
|
|
26
|
-
import { MfaMode } from '../../Enum/MfaMode';
|
|
27
26
|
|
|
28
27
|
// eslint-disable-next-line @typescript-eslint/no-redundant-type-constituents
|
|
29
28
|
type isAny<T> = T | any;
|
|
@@ -53,7 +52,6 @@ export interface IUser {
|
|
|
53
52
|
prefix?: string | null;
|
|
54
53
|
tokenLostPassword?: string | null;
|
|
55
54
|
twoFactorEnabled?: boolean | null;
|
|
56
|
-
mfaMode?: MfaMode | null;
|
|
57
55
|
tokenApi?: string | null;
|
|
58
56
|
tokenNotification?: string | null;
|
|
59
57
|
tokenSocket?: string | null;
|
package/ts/types/index.ts
CHANGED
|
@@ -3,7 +3,6 @@ export * from './Interface/models/ICallHistory';
|
|
|
3
3
|
export * from './Interface/models/IBusinessLineUser';
|
|
4
4
|
export * from './Interface/models/IVisualizedInformation';
|
|
5
5
|
export * from './Interface/models/IApiError';
|
|
6
|
-
export * from './Interface/models/ILoginApproval';
|
|
7
6
|
export * from './Interface/models/ISms';
|
|
8
7
|
export * from './Interface/models/IAccessToken';
|
|
9
8
|
export * from './Interface/models/IAccountDetail';
|
|
@@ -290,7 +289,6 @@ export * from './Interface/models/ILoanFile';
|
|
|
290
289
|
export * from './Interface/models/ICommercialMail';
|
|
291
290
|
export * from './Interface/models/ICommercialOffer';
|
|
292
291
|
export * from './Interface/models/IRegistration';
|
|
293
|
-
export * from './Interface/api/mfa/mfa';
|
|
294
292
|
export * from './Interface/models/IVatRegimeHistory';
|
|
295
293
|
export * from './Interface/models/ICustomerAcceptance';
|
|
296
294
|
export * from './Interface/models/IUnpaidCallHistory';
|
|
@@ -326,6 +324,9 @@ export * from './Interface/models/IAIQuestion';
|
|
|
326
324
|
export * from './Interface/models/IAIConversation';
|
|
327
325
|
export * from './Interface/models/IPaymentAttempt';
|
|
328
326
|
export * from './Interface/models/IDocumentRequest';
|
|
327
|
+
export * from './Interface/models/IInformationRequest';
|
|
328
|
+
export * from './Interface/models/IRevenueMovement';
|
|
329
|
+
export * from './Interface/models/IRevenueSnapshot';
|
|
329
330
|
|
|
330
331
|
// Schemas
|
|
331
332
|
export * from './Interface/schemas/IRegistrationDetail';
|
|
@@ -340,8 +341,6 @@ export * from './Enum/Feature';
|
|
|
340
341
|
export * from './Enum/AutomaticRegistration';
|
|
341
342
|
export * from './Enum/IntermediateManagementRebate';
|
|
342
343
|
export * from './Enum/Das';
|
|
343
|
-
export * from './Enum/LoginApprovalStatus';
|
|
344
|
-
export * from './Enum/MfaMode';
|
|
345
344
|
export * from './Enum/ChangeLog';
|
|
346
345
|
export * from './Enum/VisualizedInformation';
|
|
347
346
|
export * from './Enum/NafCode';
|
|
@@ -559,11 +558,13 @@ export * from './Enum/TeamType';
|
|
|
559
558
|
export * from './Enum/PartneredAccountantServiceType';
|
|
560
559
|
export * from './Enum/PartneredAccountantServiceTypeId';
|
|
561
560
|
export * from './Enum/PaymentAttempt';
|
|
561
|
+
export * from './Enum/InformationRequestType';
|
|
562
|
+
export * from './Enum/InformationRequestState';
|
|
563
|
+
export * from './Enum/Revenue';
|
|
562
564
|
|
|
563
565
|
// Interfaces API
|
|
564
566
|
export * from './Interface/api/authentification/AuthenticationResponse';
|
|
565
567
|
export * from './Interface/api/exercice/ReadExercice';
|
|
566
|
-
export * from './Interface/api/authentification/AuthenticationResponse';
|
|
567
568
|
export * from './Interface/api/balanceSheet/consistency/Read';
|
|
568
569
|
export * from './Interface/api/kilometricAllowance/ReadKilometricAllowance';
|
|
569
570
|
export * from './Interface/api/cashAndExpense/Query';
|
|
@@ -1057,7 +1058,6 @@ export * from './Interface/api/changelog/Create';
|
|
|
1057
1058
|
export * from './Interface/api/authentification/ReadAuthenticateCollaborater';
|
|
1058
1059
|
export * from './Interface/api/authentification/ResetPassword';
|
|
1059
1060
|
export * from './Interface/api/authentification/ForgotPassword';
|
|
1060
|
-
export * from './Interface/api/authentification/loginApproval';
|
|
1061
1061
|
export * from './Interface/api/society/Export';
|
|
1062
1062
|
export * from './Interface/api/society/State';
|
|
1063
1063
|
export * from './Interface/api/businessSector/Create';
|
|
@@ -1146,6 +1146,10 @@ export * from './Interface/api/recurrence/Query';
|
|
|
1146
1146
|
export * from './Interface/api/recurrence/Read';
|
|
1147
1147
|
export * from './Interface/api/documentRequest/Query';
|
|
1148
1148
|
export * from './Interface/api/documentRequest/Create';
|
|
1149
|
+
export * from './Interface/api/documentRequest/Update';
|
|
1150
|
+
export * from './Interface/api/informationRequest/Query';
|
|
1151
|
+
export * from './Interface/api/informationRequest/Create';
|
|
1152
|
+
export * from './Interface/api/informationRequest/Update';
|
|
1149
1153
|
export * from './Interface/api/automaticRegistration/Query';
|
|
1150
1154
|
export * from './Interface/api/automaticRegistration/Read';
|
|
1151
1155
|
|
|
@@ -1187,11 +1191,6 @@ export * from './Interface/api/regulation/Create';
|
|
|
1187
1191
|
export * from './Interface/api/marketing/NewLeadSheet';
|
|
1188
1192
|
export * from './Interface/api/ai/AskQuestionCollaborator';
|
|
1189
1193
|
export * from './Interface/api/refund/QueryRefundPaginated';
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
export * from './Interface/
|
|
1193
|
-
export * from './Interface/models/IRevenueSnapshot';
|
|
1194
|
-
export * from './Interface/api/revenueMovement';
|
|
1195
|
-
export * from './Interface/api/revenueSnapshot';
|
|
1196
|
-
export * from './Interface/api/revenueSnapshotGenerate';
|
|
1197
|
-
export * from './Enum/Revenue';
|
|
1194
|
+
export * from './Interface/api/revenue/revenueMovement';
|
|
1195
|
+
export * from './Interface/api/revenue/revenueSnapshot';
|
|
1196
|
+
export * from './Interface/api/revenue/revenueSnapshotGenerate';
|
package/ts/utils/exercice.ts
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
import { IExercice } from '../types';
|
|
2
2
|
import * as dayjs from 'dayjs';
|
|
3
3
|
|
|
4
|
+
/**
|
|
5
|
+
* Check if the recovery date is before the exercice start date (with a 3 month tolerance)
|
|
6
|
+
* @param recoveryDate - The recovery date from old expert info
|
|
7
|
+
* @param exercice - The exercice to check
|
|
8
|
+
* @returns true if the recovery date is before the exercice start date + 3 months
|
|
9
|
+
*/
|
|
10
|
+
const isExerciceAfterRecoveryDate = (recoveryDate: Date, exercice: IExercice): boolean => {
|
|
11
|
+
return dayjs(recoveryDate).isBefore(dayjs(exercice.startDate).add(3, 'month'), 'day');
|
|
12
|
+
};
|
|
13
|
+
|
|
4
14
|
const exerciceNumber = (endDate: Date, exerciceList: IExercice[]): number => {
|
|
5
15
|
let currentExercice: number = 0;
|
|
6
16
|
exerciceList
|
|
@@ -21,4 +31,4 @@ const exerciceNumber = (endDate: Date, exerciceList: IExercice[]): number => {
|
|
|
21
31
|
return currentExercice;
|
|
22
32
|
};
|
|
23
33
|
|
|
24
|
-
export { exerciceNumber };
|
|
34
|
+
export { exerciceNumber, isExerciceAfterRecoveryDate };
|