integration-web-core--socle 1.4.2
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of integration-web-core--socle might be problematic. Click here for more details.
- package/cdp-due--authentication-module-master/.babelrc +4 -0
- package/cdp-due--authentication-module-master/.dependabot/config.yml +12 -0
- package/cdp-due--authentication-module-master/.editorconfig +34 -0
- package/cdp-due--authentication-module-master/.github/settings.xml +54 -0
- package/cdp-due--authentication-module-master/.github/workflows/build-branch.yml +50 -0
- package/cdp-due--authentication-module-master/.github/workflows/build-release.yml +24 -0
- package/cdp-due--authentication-module-master/.github/workflows/checkmarx.yml +27 -0
- package/cdp-due--authentication-module-master/.github/workflows/cleanup.yml +18 -0
- package/cdp-due--authentication-module-master/.github/workflows/quality.yml +45 -0
- package/cdp-due--authentication-module-master/.github/workflows/release.yml +59 -0
- package/cdp-due--authentication-module-master/.releaserc +18 -0
- package/cdp-due--authentication-module-master/.tool-versions +1 -0
- package/cdp-due--authentication-module-master/.vcmrc +14 -0
- package/cdp-due--authentication-module-master/CHANGELOG.md +1784 -0
- package/cdp-due--authentication-module-master/CONTRIBUTING.md +3 -0
- package/cdp-due--authentication-module-master/DOCUMENTATION.md +191 -0
- package/cdp-due--authentication-module-master/DOCUMENTATION_EN.MD +204 -0
- package/cdp-due--authentication-module-master/Dockerfile +14 -0
- package/cdp-due--authentication-module-master/README.md +37 -0
- package/cdp-due--authentication-module-master/archi/level-context.dot +23 -0
- package/cdp-due--authentication-module-master/authentication-module.quality.json +24 -0
- package/cdp-due--authentication-module-master/authentication-process.png +0 -0
- package/cdp-due--authentication-module-master/babel.config.js +13 -0
- package/cdp-due--authentication-module-master/docker/README.md +1 -0
- package/cdp-due--authentication-module-master/docker/certificates/prepSSO.crt +33 -0
- package/cdp-due--authentication-module-master/docker/dev/DEVELOPERS.md +149 -0
- package/cdp-due--authentication-module-master/docker/dev/Dockerfile +40 -0
- package/cdp-due--authentication-module-master/docker/dev/docker-compose.yml +26 -0
- package/cdp-due--authentication-module-master/docker/dev/template.env +9 -0
- package/cdp-due--authentication-module-master/docker/entrypoint.sh +4 -0
- package/cdp-due--authentication-module-master/jest.config.js +24 -0
- package/cdp-due--authentication-module-master/jest.setup.js +15 -0
- package/cdp-due--authentication-module-master/keystore.p12 +0 -0
- package/cdp-due--authentication-module-master/package-lock.json +12532 -0
- package/cdp-due--authentication-module-master/package.json +57 -0
- package/cdp-due--authentication-module-master/pom.xml +483 -0
- package/cdp-due--authentication-module-master/product-info.json +3 -0
- package/cdp-due--authentication-module-master/settings.xml +56 -0
- package/cdp-due--authentication-module-master/src/main/config/application-local.yaml +3 -0
- package/cdp-due--authentication-module-master/src/main/config/application.yaml +102 -0
- package/cdp-due--authentication-module-master/src/main/config/bootstrap-local.yaml +4 -0
- package/cdp-due--authentication-module-master/src/main/config/bootstrap-test.yaml +3 -0
- package/cdp-due--authentication-module-master/src/main/config/bootstrap.yaml +15 -0
- package/cdp-due--authentication-module-master/src/main/config/debug.yaml +5 -0
- package/cdp-due--authentication-module-master/src/main/config/logback-properties.xml +7 -0
- package/cdp-due--authentication-module-master/src/main/config/logback-spring.xml +138 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/Application.java +42 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/clients/CiamClient.java +283 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/clients/PingClient.java +90 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/clients/ReachFiveClient.java +262 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/clients/TempoClient.java +82 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/commons/Constants.java +164 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/components/accountactivation/AccountActivationComponent.java +55 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/components/accountactivation/AccountActivationFragment.java +32 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/components/accountactivation/AccountActivationSmsComponent.java +70 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/components/accountactivation/AccountActivationSmsFragment.java +32 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/components/callback/BaseCallbackPingController.java +135 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/components/callback/CallbackController.java +140 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/components/callback/CallbackPingController.java +87 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/components/callback/SplittedCallbackPingController.java +58 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/components/keepalive/KeepAliveComponent.java +42 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/components/keepalive/KeepAliveFragment.java +32 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/components/landing/ExampleLandingController.java +24 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/components/login/AbstractLoginController.java +104 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/components/login/LoginController.java +179 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/components/login/LoginFragment.java +21 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/components/login/LoginOaaController.java +37 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/components/login/LoginOaaFragment.java +21 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/components/login/LoginPartnerController.java +41 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/components/login/LoginPartnerFragment.java +21 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/components/login/LoginVadController.java +47 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/components/login/LoginVadFragment.java +21 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/components/login/VerifyEmailFragment.java +20 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/components/login/VerifySmsComponent.java +96 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/components/login/VerifySmsFragment.java +20 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/components/logout/LogoutController.java +61 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/components/password/PasswordController.java +62 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/components/password/ResetPasswordFragment.java +20 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/components/password/UpdatePasswordFragment.java +20 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/components/redirect/RedirectToController.java +247 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/config/AccountConfig.java +21 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/config/ApplicationConfig.java +102 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/config/AuthenticationConfig.java +29 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/config/CookiesConfig.java +93 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/config/EmailingConfig.java +18 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/config/FrameOptionsConfig.java +16 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/config/RoleFilterConfig.java +16 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/config/RoleMappingConfiguration.java +23 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/config/WebSecurity.java +61 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/config/clients/CiamClientConfig.java +28 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/config/clients/ClientConfig.java +71 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/config/clients/PingClientConfig.java +33 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/config/clients/ReachFiveClientConfig.java +45 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/config/clients/tempo/OrderConfig.java +18 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/config/clients/tempo/TempoComposerClientConfig.java +29 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/config/clients/tempo/TempoConsolidatorClientConfig.java +29 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/config/oauth/CustomAuthorizationRequestResolver.java +192 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/controllers/AccessTokenController.java +26 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/controllers/AccountController.java +87 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/controllers/PasswordRestController.java +37 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/controllers/RefreshController.java +39 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/controllers/SocialLoginController.java +48 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/controllers/exceptions/EmptyStateAtLoginException.java +15 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/controllers/exceptions/RestExceptionHandler.java +237 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/controllers/exceptions/TokenValidationException.java +12 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/helpers/AccessTokenManager.java +68 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/helpers/CipherUtility.java +64 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/helpers/CookieHelper.java +26 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/helpers/KobiUserHelper.java +92 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/helpers/LogHelper.java +39 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/helpers/ProcessHelper.java +72 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/helpers/StateHelper.java +77 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/helpers/UriHelper.java +38 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/helpers/WebUserHelper.java +86 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/logs/AccessLogsFilter.java +30 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/mappers/AccountMapper.java +60 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/mappers/SearchRequestMapper.java +19 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/model/AccessToken.java +45 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/model/IntrospectTokenRequest.java +17 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/model/IntrospectedToken.java +24 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/model/LoginRequest.java +19 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/model/ManagementTokenRequest.java +23 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/model/Modes.java +5 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/model/Provider.java +12 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/model/RevokeTokenRequest.java +20 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/model/SocialLoginProviders.java +23 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/model/UserInfos.java +43 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/model/account/AccountActivationRequest.java +18 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/model/account/AccountActivationResponse.java +24 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/model/account/AccountActivationResponseType.java +8 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/model/account/AccountDTO.java +27 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/model/account/AccountEmailRequestDTO.java +17 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/model/account/AccountSmsRequestDTO.java +14 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/model/account/AuthTypeEnum.java +13 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/model/account/CheckAccountResponse.java +17 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/model/account/CheckVerificationCodeResponse.java +16 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/model/account/CiamAccountDTO.java +22 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/model/account/CiamAccountResponse.java +18 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/model/account/IdentityDTO.java +27 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/model/account/LoginDTO.java +20 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/model/account/LoginsDTO.java +32 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/model/account/SocialLoginProviderRequestDTO.java +14 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/model/collab/PingAccessToken.java +19 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/model/collab/RedirectByRole.java +14 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/model/cookie/Cookie.java +19 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/model/cookie/CookieTypeEnum.java +40 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/model/emailing/AdobeTokenResponse.java +28 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/model/emailing/EmailingAuthenticationRequest.java +16 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/model/emailing/EmailingAuthenticationResponse.java +16 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/model/error/OAuthError.java +18 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/model/error/UpdatePasswordError.java +20 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/model/keepalive/KeepAliveStatus.java +5 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/model/login/SavedLoginRequest.java +44 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/model/login/State.java +58 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/model/logs/ActionType.java +5 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/model/logs/Log.java +31 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/model/logs/LogType.java +5 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/model/password/ForgotPasswordRequest.java +14 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/model/password/ResetPasswordRequestDTO.java +12 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/model/password/ResetPasswordResponseDTO.java +16 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/model/password/UpdatePasswordRequest.java +18 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/model/password/UpdatePasswordRequestDTO.java +16 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/model/password/UpdatePasswordResponse.java +16 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/model/ping/PingUserInfos.java +46 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/model/refresh/RefreshTokenRequest.java +14 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/model/refresh/RefreshTokenResponse.java +16 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/model/roles/RoleResponse.java +26 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/model/roles/RolesResponse.java +21 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/model/tempo/ConsolidatorOrdersResponse.java +14 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/model/tempo/Customer.java +13 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/model/tempo/CustomerOrder.java +13 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/model/tempo/CustomerOrderResponse.java +14 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/model/tempo/CustomerOrdersRequest.java +17 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/model/tempo/DependenciesInformation.java +12 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/model/tempo/DependencyInformation.java +13 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/model/tempo/LinkToCustomerRequest.java +16 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/model/tempo/OfferLine.java +13 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/model/tempo/OrderStatus.java +5 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/model/tempo/TempoConsolidatedOrder.java +16 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/model/tempo/TempoOrder.java +18 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/model/tokywoky/PartnerSSOMessage.java +18 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/model/user/PingUser.java +32 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/model/user/ReachFiveUser.java +72 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/rest/resources/AccountAlreadyActiveException.java +7 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/rest/resources/AccountNotFoundException.java +12 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/rest/resources/CiamException.java +19 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/rest/resources/EmailAccountAlreadyExistsException.java +7 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/rest/resources/EmailNotFoundException.java +12 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/rest/resources/ErrorResource.java +81 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/rest/resources/InternalErrorApiException.java +16 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/rest/resources/InvalidBodyException.java +7 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/rest/resources/InvalidClientIdException.java +7 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/rest/resources/InvalidEncodedDataException.java +7 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/rest/resources/PingException.java +19 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/rest/resources/PresignupMailCouldNotBeSentException.java +7 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/rest/resources/PresignupMailSentException.java +7 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/rest/resources/ReachFiveException.java +19 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/rest/resources/SamePasswordException.java +12 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/rest/resources/SavedLoginCookieNotFoundException.java +14 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/rest/resources/StateNotEqualsException.java +14 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/rest/resources/TokenDoesNotMatchException.java +7 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/rest/resources/TokenExpiredWithRedirectException.java +7 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/rest/resources/TokenExpiredWithoutRedirectException.java +7 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/rest/resources/UnauthorizedException.java +12 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/rest/resources/VerificationCodeExpiredException.java +7 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/rest/resources/VerificationCodeInvalidException.java +7 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/services/CiamService.java +144 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/services/CookieService.java +262 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/services/JwtService.java +332 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/services/MdmService.java +40 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/services/PasswordService.java +64 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/services/PingService.java +133 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/services/ReachFiveService.java +175 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/services/RefreshService.java +165 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/services/RequestSavingService.java +60 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/services/RoleMappingService.java +177 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/services/account/AccountService.java +23 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/services/account/AccountServiceDefault.java +391 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/services/account/AccountServiceLMES.java +52 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/services/postauthent/ContextualizationService.java +67 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/services/postauthent/PostAuthenticationService.java +170 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/services/postauthent/TempoService.java +122 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/services/postauthent/TokyWokyService.java +51 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/services/postauthent/actions/MultipleBuCondition.java +24 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/services/postauthent/actions/PostAuthenticationActionsService.java +28 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/services/postauthent/actions/impl/lmfr/PostAuthenticationActionsServiceFrImpl.java +96 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/services/postauthent/actions/impl/lmit/PostAuthenticationActionsServiceWithTkWkImpl.java +92 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/services/postauthent/actions/impl/others/PostAuthenticationActionsServiceOthersImpl.java +51 -0
- package/cdp-due--authentication-module-master/src/main/java/com/adeo/authentication/services/postauthent/actions/utils/PostAuthenticationActionsUtils.java +68 -0
- package/cdp-due--authentication-module-master/src/main/resources/__tests__/authentication-module.src.test.js +117 -0
- package/cdp-due--authentication-module-master/src/main/resources/static/javascript/accountactivation/accountactivation.fr_FR.js.txt +11 -0
- package/cdp-due--authentication-module-master/src/main/resources/static/javascript/accountactivation/accountactivation.src.js +226 -0
- package/cdp-due--authentication-module-master/src/main/resources/static/javascript/accountactivation/accountactivationsms.fr_FR.js.txt +11 -0
- package/cdp-due--authentication-module-master/src/main/resources/static/javascript/accountactivation/accountactivationsms.src.js +228 -0
- package/cdp-due--authentication-module-master/src/main/resources/static/javascript/authentication-module.fr_FR.js.txt +11 -0
- package/cdp-due--authentication-module-master/src/main/resources/static/javascript/authentication-module.src.js +733 -0
- package/cdp-due--authentication-module-master/src/main/resources/static/javascript/authentication-password-reset.fr_FR.js.txt +11 -0
- package/cdp-due--authentication-module-master/src/main/resources/static/javascript/authentication-password-reset.src.js +152 -0
- package/cdp-due--authentication-module-master/src/main/resources/static/javascript/authentication-password-update.fr_FR.js.txt +11 -0
- package/cdp-due--authentication-module-master/src/main/resources/static/javascript/authentication-password-update.src.js +219 -0
- package/cdp-due--authentication-module-master/src/main/resources/static/javascript/authentication-verify-email.fr_FR.js.txt +11 -0
- package/cdp-due--authentication-module-master/src/main/resources/static/javascript/authentication-verify-email.src.js +123 -0
- package/cdp-due--authentication-module-master/src/main/resources/static/javascript/authentication-verify-sms.fr_FR.js.txt +11 -0
- package/cdp-due--authentication-module-master/src/main/resources/static/javascript/authentication-verify-sms.src.js +168 -0
- package/cdp-due--authentication-module-master/src/main/resources/static/javascript/keepalive.fr_FR.js.txt +14 -0
- package/cdp-due--authentication-module-master/src/main/resources/static/javascript/keepalive.src.js +47 -0
- package/cdp-due--authentication-module-master/src/main/resources/static/javascript/keepaliveworker.fr_FR.js.txt +14 -0
- package/cdp-due--authentication-module-master/src/main/resources/static/javascript/keepaliveworker.src.js +125 -0
- package/cdp-due--authentication-module-master/src/main/resources/static/javascript/locales/build.json +3 -0
- package/cdp-due--authentication-module-master/src/main/resources/static/javascript/locales/messages_es_ES.json +2 -0
- package/cdp-due--authentication-module-master/src/main/resources/static/javascript/locales/messages_fr_FR.json +2 -0
- package/cdp-due--authentication-module-master/src/main/resources/static/javascript/locales/messages_it_IT.json +2 -0
- package/cdp-due--authentication-module-master/src/main/resources/static/javascript/locales/messages_pl_PL.json +3 -0
- package/cdp-due--authentication-module-master/src/main/resources/static/javascript/locales/messages_pt_PT.json +2 -0
- package/cdp-due--authentication-module-master/src/main/resources/static/javascript/trackingEvents.js +116 -0
- package/cdp-due--authentication-module-master/src/main/resources/static/sass/_atoms/_titles-texts.scss +1 -0
- package/cdp-due--authentication-module-master/src/main/resources/static/sass/_patchs/_compatibilite-marcopolo.scss +17 -0
- package/cdp-due--authentication-module-master/src/main/resources/static/sass/accountactivation/accountactivation.css.txt +23 -0
- package/cdp-due--authentication-module-master/src/main/resources/static/sass/accountactivation/accountactivation.src.scss +123 -0
- package/cdp-due--authentication-module-master/src/main/resources/static/sass/authentication-module.css.txt +11 -0
- package/cdp-due--authentication-module-master/src/main/resources/static/sass/authentication-module.src.scss +294 -0
- package/cdp-due--authentication-module-master/src/main/resources/static/sass/authentication-password-reset.css.txt +11 -0
- package/cdp-due--authentication-module-master/src/main/resources/static/sass/authentication-password-reset.src.scss +76 -0
- package/cdp-due--authentication-module-master/src/main/resources/static/sass/authentication-password-update.css.txt +11 -0
- package/cdp-due--authentication-module-master/src/main/resources/static/sass/authentication-password-update.src.scss +140 -0
- package/cdp-due--authentication-module-master/src/main/resources/static/sass/authentication-vad.css.txt +11 -0
- package/cdp-due--authentication-module-master/src/main/resources/static/sass/authentication-vad.src.scss +181 -0
- package/cdp-due--authentication-module-master/src/main/resources/static/sass/authentication-verify-email.css.txt +11 -0
- package/cdp-due--authentication-module-master/src/main/resources/static/sass/authentication-verify-email.src.scss +76 -0
- package/cdp-due--authentication-module-master/src/main/resources/static/sass/authentication-verify-sms.css.txt +12 -0
- package/cdp-due--authentication-module-master/src/main/resources/static/sass/authentication-verify-sms.src.scss +127 -0
- package/cdp-due--authentication-module-master/src/main/resources/templates/components/accountactivation/accountactivation.ftlh +130 -0
- package/cdp-due--authentication-module-master/src/main/resources/templates/components/accountactivation/accountactivationsms.ftlh +147 -0
- package/cdp-due--authentication-module-master/src/main/resources/templates/components/empty.ftl +1 -0
- package/cdp-due--authentication-module-master/src/main/resources/templates/components/keepalive/keepalive.ftlh +1 -0
- package/cdp-due--authentication-module-master/src/main/resources/templates/components/landing/home.ftl +26 -0
- package/cdp-due--authentication-module-master/src/main/resources/templates/components/login/callback.ftl +5 -0
- package/cdp-due--authentication-module-master/src/main/resources/templates/components/login/login.ftlh +3 -0
- package/cdp-due--authentication-module-master/src/main/resources/templates/components/login/loginVAD.ftlh +53 -0
- package/cdp-due--authentication-module-master/src/main/resources/templates/components/login/loginoaa.ftlh +3 -0
- package/cdp-due--authentication-module-master/src/main/resources/templates/components/login/reachfive.ftl +0 -0
- package/cdp-due--authentication-module-master/src/main/resources/templates/components/login/separator.ftl +3 -0
- package/cdp-due--authentication-module-master/src/main/resources/templates/components/login/verify-email.ftlh +107 -0
- package/cdp-due--authentication-module-master/src/main/resources/templates/components/login/verify-sms.ftlh +166 -0
- package/cdp-due--authentication-module-master/src/main/resources/templates/components/molecules/loginContext.ftlh +49 -0
- package/cdp-due--authentication-module-master/src/main/resources/templates/components/molecules/loginEmail.ftlh +156 -0
- package/cdp-due--authentication-module-master/src/main/resources/templates/components/molecules/loginForm.ftlh +47 -0
- package/cdp-due--authentication-module-master/src/main/resources/templates/components/molecules/loginPassword.ftlh +72 -0
- package/cdp-due--authentication-module-master/src/main/resources/templates/components/password/reset.ftlh +107 -0
- package/cdp-due--authentication-module-master/src/main/resources/templates/components/password/update.ftlh +115 -0
- package/cdp-due--authentication-module-master/src/test/java/com/adeo/authentication/components/accountactivation/AccountActivationComponentTest.java +114 -0
- package/cdp-due--authentication-module-master/src/test/java/com/adeo/authentication/components/callback/CallbackControllerTest.java +70 -0
- package/cdp-due--authentication-module-master/src/test/java/com/adeo/authentication/components/callback/CallbackPingControllerTest.java +137 -0
- package/cdp-due--authentication-module-master/src/test/java/com/adeo/authentication/components/callback/RedirectToControllerTest.java +173 -0
- package/cdp-due--authentication-module-master/src/test/java/com/adeo/authentication/components/login/LoginControllerTest.java +93 -0
- package/cdp-due--authentication-module-master/src/test/java/com/adeo/authentication/controllers/AccountControllerTest.java +302 -0
- package/cdp-due--authentication-module-master/src/test/java/com/adeo/authentication/services/RoleMappingServiceTest.java +86 -0
- package/cdp-due--authentication-module-master/src/test/java/com/adeo/authentication/services/postauthent/PostAuthenticationServiceTest.java +64 -0
- package/cdp-due--customer-space-module-master/.babelrc +16 -0
- package/cdp-due--customer-space-module-master/.browserslistrc +2 -0
- package/cdp-due--customer-space-module-master/.dockerignore +3 -0
- package/cdp-due--customer-space-module-master/.editorconfig +5 -0
- package/cdp-due--customer-space-module-master/.eslintrc.js +226 -0
- package/cdp-due--customer-space-module-master/.eslintrc.mandatory.js +53 -0
- package/cdp-due--customer-space-module-master/.github/settings.xml +54 -0
- package/cdp-due--customer-space-module-master/.github/workflows/build-branch.yml +69 -0
- package/cdp-due--customer-space-module-master/.github/workflows/build-release.yml +23 -0
- package/cdp-due--customer-space-module-master/.github/workflows/cleanup.yml +20 -0
- package/cdp-due--customer-space-module-master/.github/workflows/release.yml +24 -0
- package/cdp-due--customer-space-module-master/.husky/pre-commit +4 -0
- package/cdp-due--customer-space-module-master/.husky/pre-push +18 -0
- package/cdp-due--customer-space-module-master/.prettierrc +12 -0
- package/cdp-due--customer-space-module-master/.releaserc +16 -0
- package/cdp-due--customer-space-module-master/.tool-versions +1 -0
- package/cdp-due--customer-space-module-master/.vscode/extensions.json +15 -0
- package/cdp-due--customer-space-module-master/.vscode/launch.json +15 -0
- package/cdp-due--customer-space-module-master/.vscode/settings.json +88 -0
- package/cdp-due--customer-space-module-master/CHANGELOG.md +9252 -0
- package/cdp-due--customer-space-module-master/Dockerfile +14 -0
- package/cdp-due--customer-space-module-master/README.md +130 -0
- package/cdp-due--customer-space-module-master/babel.config.js +3 -0
- package/cdp-due--customer-space-module-master/commitlint.config.js +1 -0
- package/cdp-due--customer-space-module-master/customer-space-module.quality.json +24 -0
- package/cdp-due--customer-space-module-master/docs/pull_request_template.md +22 -0
- package/cdp-due--customer-space-module-master/jest/setup.js +17 -0
- package/cdp-due--customer-space-module-master/jest.config.js +29 -0
- package/cdp-due--customer-space-module-master/jsconfig.json +11 -0
- package/cdp-due--customer-space-module-master/mozaic.config.js +8 -0
- package/cdp-due--customer-space-module-master/package-lock.json +42688 -0
- package/cdp-due--customer-space-module-master/package.json +111 -0
- package/cdp-due--customer-space-module-master/postcss.config.js +5 -0
- package/cdp-due--customer-space-module-master/product-info.json +3 -0
- package/cdp-due--customer-space-module-master/public/index.html +24 -0
- package/cdp-due--customer-space-module-master/public/kobi-fragment-index.html +1 -0
- package/cdp-due--customer-space-module-master/public/locales/messages_en_GB.json +1744 -0
- package/cdp-due--customer-space-module-master/public/locales/messages_es_ES.json +1760 -0
- package/cdp-due--customer-space-module-master/public/locales/messages_fr_FR.json +2004 -0
- package/cdp-due--customer-space-module-master/public/locales/messages_it_IT.json +1392 -0
- package/cdp-due--customer-space-module-master/public/locales/messages_pl_PL.json +1845 -0
- package/cdp-due--customer-space-module-master/public/locales/messages_pt_PT.json +1722 -0
- package/cdp-due--customer-space-module-master/public/robots.txt +2 -0
- package/cdp-due--customer-space-module-master/public/static/css/global.css +129 -0
- package/cdp-due--customer-space-module-master/public/static/img/01_Carte_Maison-No_Card.png +0 -0
- package/cdp-due--customer-space-module-master/public/static/img/02_Carte_Maison-Oney.png +0 -0
- package/cdp-due--customer-space-module-master/public/static/img/03_Carte_Maison-Card.png +0 -0
- package/cdp-due--customer-space-module-master/public/static/img/04_Dons_points-Confirmation.png +0 -0
- package/cdp-due--customer-space-module-master/public/static/img/05_MyHome_Mobile_Phone.png +0 -0
- package/cdp-due--customer-space-module-master/public/static/img/10_Carte_Maison-Pass.png +0 -0
- package/cdp-due--customer-space-module-master/public/static/img/11_Carte_Maison-1-3years.png +0 -0
- package/cdp-due--customer-space-module-master/public/static/img/12_Carte_Maison_App.png +0 -0
- package/cdp-due--customer-space-module-master/public/static/img/13_Carte_Maison_App_Background_Mobile.png +0 -0
- package/cdp-due--customer-space-module-master/public/static/img/14_Carte_Maison_App_Background_Desktop.png +0 -0
- package/cdp-due--customer-space-module-master/public/static/img/15_App_Mobile.png +0 -0
- package/cdp-due--customer-space-module-master/public/static/img/16_Loyalty_Card_Details_Page_Header.png +0 -0
- package/cdp-due--customer-space-module-master/public/static/img/CM.png +0 -0
- package/cdp-due--customer-space-module-master/public/static/img/Compte-Historique_achat-Liste-Empty.png +0 -0
- package/cdp-due--customer-space-module-master/public/static/img/LM.png +0 -0
- package/cdp-due--customer-space-module-master/public/static/img/Leroy_et_Moi_header.svg +9 -0
- package/cdp-due--customer-space-module-master/public/static/img/account-creation.jpg +0 -0
- package/cdp-due--customer-space-module-master/public/static/img/apple.svg +3 -0
- package/cdp-due--customer-space-module-master/public/static/img/bg-pres-kzp.png +0 -0
- package/cdp-due--customer-space-module-master/public/static/img/compte-historique_achat-liste-empty.svg +87 -0
- package/cdp-due--customer-space-module-master/public/static/img/coowner-invitation-expired_img.png +0 -0
- package/cdp-due--customer-space-module-master/public/static/img/coowner-invitation-valid_background.png +0 -0
- package/cdp-due--customer-space-module-master/public/static/img/coowner-invitation-wrong-account_background.png +0 -0
- package/cdp-due--customer-space-module-master/public/static/img/duplicated-background.png +0 -0
- package/cdp-due--customer-space-module-master/public/static/img/elo.svg +9 -0
- package/cdp-due--customer-space-module-master/public/static/img/empty-autocomplete-list.png +0 -0
- package/cdp-due--customer-space-module-master/public/static/img/empty-list.svg +1 -0
- package/cdp-due--customer-space-module-master/public/static/img/empty_state.png +0 -0
- package/cdp-due--customer-space-module-master/public/static/img/facebook.svg +8 -0
- package/cdp-due--customer-space-module-master/public/static/img/google.svg +6 -0
- package/cdp-due--customer-space-module-master/public/static/img/info-blue.svg +8 -0
- package/cdp-due--customer-space-module-master/public/static/img/info.svg +3 -0
- package/cdp-due--customer-space-module-master/public/static/img/ipn-access-denied-img.svg +76 -0
- package/cdp-due--customer-space-module-master/public/static/img/logo.png +0 -0
- package/cdp-due--customer-space-module-master/public/static/img/loyalty-selection.jpg +0 -0
- package/cdp-due--customer-space-module-master/public/static/img/no_result.png +0 -0
- package/cdp-due--customer-space-module-master/public/static/img/picto_App_Store.png +0 -0
- package/cdp-due--customer-space-module-master/public/static/img/picto_Carte_Maison.png +0 -0
- package/cdp-due--customer-space-module-master/public/static/img/picto_Pass_Maison.png +0 -0
- package/cdp-due--customer-space-module-master/public/static/img/plan_sample1.jpg +0 -0
- package/cdp-due--customer-space-module-master/public/static/img/plan_sample2.jpg +0 -0
- package/cdp-due--customer-space-module-master/public/static/img/plan_sample3.jpg +0 -0
- package/cdp-due--customer-space-module-master/public/static/img/right.svg +3 -0
- package/cdp-due--customer-space-module-master/public/static/img/sent-email-confirmation-picture.svg +37 -0
- package/cdp-due--customer-space-module-master/public/static/img/shopping-list-empty.svg +63 -0
- package/cdp-due--customer-space-module-master/public/static/img/ticket.png +0 -0
- package/cdp-due--customer-space-module-master/public/static/img/unauthorized.svg +73 -0
- package/cdp-due--customer-space-module-master/public/static/img/voucher-empty.png +0 -0
- package/cdp-due--customer-space-module-master/public/static/img/wrong.svg +3 -0
- package/cdp-due--customer-space-module-master/scripts/build/build.sh +15 -0
- package/cdp-due--customer-space-module-master/scripts/build/kobi-post-build.js +74 -0
- package/cdp-due--customer-space-module-master/scripts/build/locales-minify.js +17 -0
- package/cdp-due--customer-space-module-master/scripts/common/app.variables.sh +26 -0
- package/cdp-due--customer-space-module-master/scripts/common/app.variables_common.sh +63 -0
- package/cdp-due--customer-space-module-master/scripts/common/app.variables_customer_space.sh +53 -0
- package/cdp-due--customer-space-module-master/scripts/common/app.variables_customer_space_no_layout.sh +46 -0
- package/cdp-due--customer-space-module-master/scripts/common/createConfig.sh +22 -0
- package/cdp-due--customer-space-module-master/scripts/deploy/createLocaleConfig.sh +21 -0
- package/cdp-due--customer-space-module-master/scripts/deploy/createNginxConfig.sh +48 -0
- package/cdp-due--customer-space-module-master/scripts/deploy/docker-entrypoint.sh +29 -0
- package/cdp-due--customer-space-module-master/scripts/deploy/kobi_registration.sh +31 -0
- package/cdp-due--customer-space-module-master/scripts/deploy/variables.sh +11 -0
- package/cdp-due--customer-space-module-master/scripts/dev/docker-local.sh +6 -0
- package/cdp-due--customer-space-module-master/scripts/dev/phrase.sh +10 -0
- package/cdp-due--customer-space-module-master/scripts/dev/prepareI18n.js +28 -0
- package/cdp-due--customer-space-module-master/scripts/dev/serve.sh +38 -0
- package/cdp-due--customer-space-module-master/scripts/lint.sh +3 -0
- package/cdp-due--customer-space-module-master/scripts/test.sh +8 -0
- package/cdp-due--customer-space-module-master/scripts/utils/locales/check-translations.js +43 -0
- package/cdp-due--customer-space-module-master/scripts/utils/locales/extract-translations.js +26 -0
- package/cdp-due--customer-space-module-master/scripts/utils/locales/find-in-translations.js +28 -0
- package/cdp-due--customer-space-module-master/scripts/utils/locales/locales.js +22 -0
- package/cdp-due--customer-space-module-master/scripts/utils/locales/locate-route-from-translations.js +57 -0
- package/cdp-due--customer-space-module-master/scripts/utils/version/package-version.update.sh +16 -0
- package/cdp-due--customer-space-module-master/scripts/utils/version/print-package-version.js +12 -0
- package/cdp-due--customer-space-module-master/scripts/utils/version/random-patch-package-version.js +17 -0
- package/cdp-due--customer-space-module-master/sonar-project.properties +9 -0
- package/cdp-due--customer-space-module-master/src/App.vue +21 -0
- package/cdp-due--customer-space-module-master/src/assets/tokens/scss/_tokens.scss +2 -0
- package/cdp-due--customer-space-module-master/src/authentication/IpnAuthorize.vue +24 -0
- package/cdp-due--customer-space-module-master/src/authentication/IpnRole.vue +22 -0
- package/cdp-due--customer-space-module-master/src/authentication/constants.js +59 -0
- package/cdp-due--customer-space-module-master/src/authentication/index.js +41 -0
- package/cdp-due--customer-space-module-master/src/authentication/module/actions.js +17 -0
- package/cdp-due--customer-space-module-master/src/authentication/module/constants.js +10 -0
- package/cdp-due--customer-space-module-master/src/authentication/module/getters.js +36 -0
- package/cdp-due--customer-space-module-master/src/authentication/module/index.js +23 -0
- package/cdp-due--customer-space-module-master/src/authentication/useAuthorization.js +26 -0
- package/cdp-due--customer-space-module-master/src/authentication/useRole.js +25 -0
- package/cdp-due--customer-space-module-master/src/common/clients/coOwnerInvitation.client.js +9 -0
- package/cdp-due--customer-space-module-master/src/common/clients/preexistence.client.js +9 -0
- package/cdp-due--customer-space-module-master/src/components/DownloadLoyaltyCardButton.vue +28 -0
- package/cdp-due--customer-space-module-master/src/components/IpnBanner.vue +118 -0
- package/cdp-due--customer-space-module-master/src/components/IpnContainer.vue +57 -0
- package/cdp-due--customer-space-module-master/src/components/IpnDashboardButton.vue +27 -0
- package/cdp-due--customer-space-module-master/src/components/IpnLinkBox.vue +156 -0
- package/cdp-due--customer-space-module-master/src/components/IpnTitle.vue +38 -0
- package/cdp-due--customer-space-module-master/src/components/SubTitle.vue +25 -0
- package/cdp-due--customer-space-module-master/src/components/Title.vue +49 -0
- package/cdp-due--customer-space-module-master/src/components/Tooltip.vue +124 -0
- package/cdp-due--customer-space-module-master/src/components/barcode-reader/BarcodeReader.vue +31 -0
- package/cdp-due--customer-space-module-master/src/components/barcode-reader/barcodeReader.rules.js +27 -0
- package/cdp-due--customer-space-module-master/src/components/barcode-reader/useBarcodeReader.js +5 -0
- package/cdp-due--customer-space-module-master/src/components/button-with-custom-icon/ButtonWithCustomIcon.vue +42 -0
- package/cdp-due--customer-space-module-master/src/components/datatable/IpnDatatable.vue +782 -0
- package/cdp-due--customer-space-module-master/src/components/display-more/DisplayMore.vue +54 -0
- package/cdp-due--customer-space-module-master/src/components/divider/McDivider.vue +42 -0
- package/cdp-due--customer-space-module-master/src/components/empty-page/EmptyPage.vue +106 -0
- package/cdp-due--customer-space-module-master/src/components/feature-flipper/FeatureFlipper.vue +17 -0
- package/cdp-due--customer-space-module-master/src/components/feature-flipper/__tests__/isFeatureEnabled.rules.test.js +15 -0
- package/cdp-due--customer-space-module-master/src/components/feature-flipper/isFeatureEnabled.rules.js +12 -0
- package/cdp-due--customer-space-module-master/src/components/feature-flipper/useIsFeatureEnabled.js +9 -0
- package/cdp-due--customer-space-module-master/src/components/grid/MlContainer.vue +39 -0
- package/cdp-due--customer-space-module-master/src/components/grid/MlFlexy.vue +70 -0
- package/cdp-due--customer-space-module-master/src/components/grid/MlFlexyCol.vue +42 -0
- package/cdp-due--customer-space-module-master/src/components/html-expand/HtmlExpand.vue +22 -0
- package/cdp-due--customer-space-module-master/src/components/html-expand/htmlExpand.composable.js +24 -0
- package/cdp-due--customer-space-module-master/src/components/information-box/InformationBox.vue +112 -0
- package/cdp-due--customer-space-module-master/src/components/information-details-box/InformationDetailsBox.vue +44 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-bu-content/IpnBuComponent.vue +18 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-button-with-icon/IpnButtonWithIcon.vue +36 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-commons/LoyaltyNotification/LoyaltyNotification.composable.js +31 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-commons/LoyaltyNotification/LoyaltyNotification.rules.js +25 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-commons/LoyaltyNotification/LoyaltyNotification.vue +80 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-commons/LoyaltyNotification/__tests__/LoyaltyNotification.rules.test.js +34 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-commons/address/Address.default.vue +66 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-commons/address/Address.eslm.vue +76 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-commons/address/Address.frlm.vue +90 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-commons/address/Address.itlm.vue +76 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-commons/address/Address.vue +9 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-commons/address/additionalInfosAddress.rules.js +16 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-commons/address/addressConfig.common.js +86 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-commons/address/provinceAddressConfig.js +15 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-commons/address/useAddress.default.js +91 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-commons/address/useAddress.eslm.js +94 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-commons/address/useAddress.itlm.js +94 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-commons/cards/CardWithIcon.vue +117 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-commons/cards/CardWithLabel.vue +77 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-commons/city/City.vue +40 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-commons/city/cityConfig.js +31 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-commons/city/rules.js +50 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-commons/inputOrSelectField/InputOrSelectField.vue +34 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-commons/inputOrSelectField/__tests__/rules.test.js +108 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-commons/inputOrSelectField/inputOrSelectConfig.js +26 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-commons/inputOrSelectField/rules.js +55 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-commons/inputOrSelectField/useInputOrSelectField.js +37 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-commons/phone/phoneConfig.js +12 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-commons/stepper/Stepper.vue +180 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-commons/stepper/steps/LoyaltySelection/LoyaltySelection.events.js +6 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-commons/stepper/steps/LoyaltySelection/LoyaltySelection.vue +125 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-commons/stepper/steps/StepAdditionalInformation.vue +50 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-commons/stepper/steps/StepPersonalDataInfos/StepPersonalDataInfos.vue +116 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-commons/stepper/steps/StepPersonalDataInfos/administrativeIdentifier/AdministrativeIdentifier.eslm.vue +66 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-commons/stepper/steps/StepPersonalDataInfos/administrativeIdentifier/__tests__/administrativeIdentifier.rules.test.js +34 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-commons/stepper/steps/StepPersonalDataInfos/administrativeIdentifier/administrativeIdentifier.composable.js +31 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-commons/stepper/steps/StepPersonalDataInfos/administrativeIdentifier/administrativeIdentifier.rules.js +127 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-commons/stepper/steps/StepPersonalDataInfos/rules/__tests__/personalDataInfos.rules.test.js +151 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-commons/stepper/steps/StepPersonalDataInfos/rules/accountCreationFields.js +124 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-commons/stepper/steps/StepPersonalDataInfos/rules/generatePersonalFields.js +46 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-commons/stepper/steps/StepPersonalDataInfos/rules/personalDataInfos.rules.js +61 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-commons/stepper/steps/StepPersonalDataInfos/rules/professionalDataInfo.rules.js +77 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-commons/stepper/steps/StepPersonalDataInfos/translations.js +5 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-commons/stepper/steps/StepPersonalDataInfos/useStepPersonalDataInfos.js +71 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-commons/stepper/steps/communication/CommunicationConfig.js +72 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-commons/stepper/steps/communication/StepCommunication.default.vue +212 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-commons/stepper/steps/communication/StepCommunication.eslm.vue +14 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-commons/stepper/steps/communication/StepCommunication.frlm.vue +169 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-commons/stepper/steps/communication/StepCommunication.itlm.vue +180 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-commons/stepper/steps/communication/StepCommunication.per-channel.vue +35 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-commons/stepper/steps/communication/StepCommunication.pllm.vue +14 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-commons/stepper/steps/communication/StepCommunication.ptlm.vue +14 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-commons/stepper/steps/communication/StepCommunication.vue +12 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-commons/stepper/steps/communication/TermsOfUseValidation/TermsOfUseValidation.vue +53 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-commons/stepper/steps/communication/TermsOfUseValidation/termsOfUseValidation.composable.js +24 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-commons/stepper/steps/communication/TermsOfUseValidation/termsOfUseValidation.rules.js +6 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-commons/stepper/steps/communication/composables/useCGU.js +54 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-commons/stepper/steps/communication/constants.js +3 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-commons/stepper/steps/personal-data-address/LoyaltyMembershipAddress.vue +22 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-commons/stepper/steps/personal-data-address/StepPersonalDataAddress.vue +96 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-commons/stepper/steps/personal-data-address/__tests__/stepPersonalDataAddressConfig.frlm.test.js +37 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-commons/stepper/steps/personal-data-address/composables/useAdditionalFields.js +34 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-commons/stepper/steps/personal-data-address/loyaltyMemberShipAddress.composable.js +23 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-commons/stepper/steps/personal-data-address/personaDataAddressStep.composable.js +22 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-commons/stepper/steps/personal-data-address/personaDataAddressStep.rules.js +18 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-commons/stepper/steps/personal-data-address/stepPersonalDataAddressConfig.frlm.js +31 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-commons/stepper/steps/stepAdditionalInformation/useAdditionalInformation.js +141 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-commons/zipCode/ZipCode.vue +30 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-commons/zipCode/hook.js +25 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-commons/zipCode/rules.js +12 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-commons/zipCode/zipCodeConfig.js +16 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-components/HeadingTitle.vue +62 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-focus-lock/IpnFocusLock.vue +196 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-form/IpnControl.vue +142 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-form/IpnDatePicker.vue +36 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-form/IpnField.vue +142 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-form/IpnForm.vue +107 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-form/IpnFormSubmit.vue +39 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-form/__tests__/validations.test.js +764 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-form/composables/useForm.js +82 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-form/constants.js +9 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-form/controls/CheckboxControl.vue +56 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-form/controls/InputPasswordControl.vue +30 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-form/controls/InputSuggestControl.vue +48 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-form/controls/MultiCheckboxControl.vue +69 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-form/controls/SelectControl.vue +52 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-form/controls/ToggleControl.vue +48 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-form/controls/input-control/InputControl.vue +69 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-form/controls/input-control/__tests__/inputControl.test.js +16 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-form/controls/input-control/inputControl.composable.js +12 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-form/controls/input-control/inputControl.events.js +10 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-form/controls/input-control/inputControl.rules.js +8 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-form/controls/radio-control/RadioControl.vue +129 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-form/controls/radio-control/RadioControlButton.vue +69 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-form/controls/radio-control/RadioControlOption.vue +74 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-form/ipnRadioWithContent/IpnRadioWithContent.vue +76 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-form/ipnRadioWithCustomLabel/IpnRadioWithCustomLabel.vue +51 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-form/module/actions.js +30 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-form/module/constants.js +20 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-form/module/getters.js +55 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-form/module/index.js +73 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-form/validations/constants.js +7 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-form/validations/getValidatePassword.js +39 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-form/validations/validateLimitCaractersOfCardNumber.js +6 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-form/validations/validateNumericData.js +7 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-form/validations/validateRegExp.js +12 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-form/validations/validateVatNumberPerCountry.js +15 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-form/validations.js +593 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-link/IpnLink.vue +32 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-link/__tests__/checkIpnLink.test.js +20 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-link/rules.js +8 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-notification-toast/IpnNotificationToast.vue +61 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-notification-toast/module/actions.js +11 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-notification-toast/module/constants.js +5 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-notification-toast/module/getters.js +7 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-notification-toast/module/index.js +43 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-picture/IpnPicture.vue +17 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-search-result-card/IpnSearchResultCard.vue +331 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-search-result-card/ipnSearchResultCard.composable.js +27 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-search-result-card/ipnSearchResultCard.rules.js +63 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-search-result-card/tagConfig.js +29 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-store/IpnStore.vue +99 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-store/composables/useOptions.js +12 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-store/composables/useSpecificConfig.js +9 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-store/constants.js +4 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-store/storeConfig.js +12 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-store/utils.js +3 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-video/IpnVideo.vue +76 -0
- package/cdp-due--customer-space-module-master/src/components/ipn-video/ipnVideo.rules.js +36 -0
- package/cdp-due--customer-space-module-master/src/components/layout-box/LayoutBox.vue +78 -0
- package/cdp-due--customer-space-module-master/src/components/loading/IpnLoadingButton.vue +67 -0
- package/cdp-due--customer-space-module-master/src/components/loading/Loading.vue +124 -0
- package/cdp-due--customer-space-module-master/src/components/loading/LoadingContainer.vue +66 -0
- package/cdp-due--customer-space-module-master/src/components/loading/TanstackLoading.vue +121 -0
- package/cdp-due--customer-space-module-master/src/components/loading/TanstackLoadingContainer.vue +68 -0
- package/cdp-due--customer-space-module-master/src/components/loading/loaders.js +39 -0
- package/cdp-due--customer-space-module-master/src/components/loading/module/actions.js +17 -0
- package/cdp-due--customer-space-module-master/src/components/loading/module/constants.js +7 -0
- package/cdp-due--customer-space-module-master/src/components/loading/module/getters.js +12 -0
- package/cdp-due--customer-space-module-master/src/components/loading/module/index.js +23 -0
- package/cdp-due--customer-space-module-master/src/components/loading/useLoading.js +8 -0
- package/cdp-due--customer-space-module-master/src/components/mozaic/m-layer/MLayer.vue +167 -0
- package/cdp-due--customer-space-module-master/src/components/mozaic/m-link/MLink.vue +114 -0
- package/cdp-due--customer-space-module-master/src/components/mozaic/m-modal/MModal.vue +156 -0
- package/cdp-due--customer-space-module-master/src/components/mozaic/m-modal/NMModal.vue +175 -0
- package/cdp-due--customer-space-module-master/src/components/mozaic/m-notification/MNotification.vue +71 -0
- package/cdp-due--customer-space-module-master/src/components/mozaic/m-notification-toast/MNotificationToast.vue +126 -0
- package/cdp-due--customer-space-module-master/src/components/mozaic/m-notification-toast/MNotificationToastItem.vue +76 -0
- package/cdp-due--customer-space-module-master/src/components/mozaic/m-password/MPassword.vue +148 -0
- package/cdp-due--customer-space-module-master/src/components/mozaic/m-radio/MRadio.vue +70 -0
- package/cdp-due--customer-space-module-master/src/components/mozaic/m-select/MSelect.vue +88 -0
- package/cdp-due--customer-space-module-master/src/components/mozaic/m-stepper/MStepper.vue +125 -0
- package/cdp-due--customer-space-module-master/src/components/mozaic/m-stepper/MStepperStep.vue +76 -0
- package/cdp-due--customer-space-module-master/src/components/mozaic/m-tag-custom/MTagCustom.vue +131 -0
- package/cdp-due--customer-space-module-master/src/components/product-box/ProductBox.vue +82 -0
- package/cdp-due--customer-space-module-master/src/components/show-more-link/ShowMoreLink.vue +20 -0
- package/cdp-due--customer-space-module-master/src/components/show-more-link/__tests__/showMoreLink.rules.test.js +25 -0
- package/cdp-due--customer-space-module-master/src/components/show-more-link/showMoreLink.composable.js +24 -0
- package/cdp-due--customer-space-module-master/src/components/show-more-link/showMoreLink.rules.js +15 -0
- package/cdp-due--customer-space-module-master/src/components/tag-list/TagList.vue +100 -0
- package/cdp-due--customer-space-module-master/src/components/tag-list/tagList.rules.js +8 -0
- package/cdp-due--customer-space-module-master/src/components/text-expand/TextExpand.vue +31 -0
- package/cdp-due--customer-space-module-master/src/components/text-expand/__tests__/textExpand.rules.test.js +37 -0
- package/cdp-due--customer-space-module-master/src/components/text-expand/textExpand.composable.js +25 -0
- package/cdp-due--customer-space-module-master/src/components/text-expand/textExpand.rules.js +14 -0
- package/cdp-due--customer-space-module-master/src/composables/useAdminSearchCustomers.js +11 -0
- package/cdp-due--customer-space-module-master/src/composables/useBuComponent.js +5 -0
- package/cdp-due--customer-space-module-master/src/composables/useBuConfig.js +34 -0
- package/cdp-due--customer-space-module-master/src/composables/useCitiesOptions.js +33 -0
- package/cdp-due--customer-space-module-master/src/composables/useCountry.js +70 -0
- package/cdp-due--customer-space-module-master/src/composables/useCustomDiscounts.js +63 -0
- package/cdp-due--customer-space-module-master/src/composables/useCustomerConsents.js +129 -0
- package/cdp-due--customer-space-module-master/src/composables/useCustomerInfo.js +146 -0
- package/cdp-due--customer-space-module-master/src/composables/useCustomerLoyalty.js +85 -0
- package/cdp-due--customer-space-module-master/src/composables/useCustomerValues.js +23 -0
- package/cdp-due--customer-space-module-master/src/composables/useDefaultStoreCode.js +34 -0
- package/cdp-due--customer-space-module-master/src/composables/useDiscounts.js +97 -0
- package/cdp-due--customer-space-module-master/src/composables/useDisplayLoyalty.js +23 -0
- package/cdp-due--customer-space-module-master/src/composables/useIpnLink.js +10 -0
- package/cdp-due--customer-space-module-master/src/composables/useLoyaltyAdvantages.js +33 -0
- package/cdp-due--customer-space-module-master/src/composables/useNavigation.js +25 -0
- package/cdp-due--customer-space-module-master/src/composables/useStores.js +69 -0
- package/cdp-due--customer-space-module-master/src/composables/useUserInfo.js +15 -0
- package/cdp-due--customer-space-module-master/src/composables/useWindowResize.js +29 -0
- package/cdp-due--customer-space-module-master/src/config/account-creation/index.js +221 -0
- package/cdp-due--customer-space-module-master/src/config/companyTypeOptions.js +177 -0
- package/cdp-due--customer-space-module-master/src/config/consentMode.js +17 -0
- package/cdp-due--customer-space-module-master/src/config/dashboard/index.js +24 -0
- package/cdp-due--customer-space-module-master/src/config/fields/emailConfig.js +13 -0
- package/cdp-due--customer-space-module-master/src/config/fields/professionalConfig.common.js +87 -0
- package/cdp-due--customer-space-module-master/src/config/fields/professionalConfig.eslm.js +81 -0
- package/cdp-due--customer-space-module-master/src/config/fields/professionalConfig.frlm.js +259 -0
- package/cdp-due--customer-space-module-master/src/config/fields/professionalConfig.itlm.js +71 -0
- package/cdp-due--customer-space-module-master/src/config/fields/professionalConfig.pllm.js +33 -0
- package/cdp-due--customer-space-module-master/src/config/fields/professionalConfig.ptlm.js +68 -0
- package/cdp-due--customer-space-module-master/src/config/loyalty-membership/index.js +64 -0
- package/cdp-due--customer-space-module-master/src/config/mask.js +7 -0
- package/cdp-due--customer-space-module-master/src/config/personal-data/index.js +17 -0
- package/cdp-due--customer-space-module-master/src/config/precreation/index.js +47 -0
- package/cdp-due--customer-space-module-master/src/config.js +100 -0
- package/cdp-due--customer-space-module-master/src/constants/accountStatus.js +3 -0
- package/cdp-due--customer-space-module-master/src/constants/accountStep.js +11 -0
- package/cdp-due--customer-space-module-master/src/constants/accountType.js +9 -0
- package/cdp-due--customer-space-module-master/src/constants/administrativeIdentifierType.js +5 -0
- package/cdp-due--customer-space-module-master/src/constants/buCodes.js +8 -0
- package/cdp-due--customer-space-module-master/src/constants/companyType.eslm.js +70 -0
- package/cdp-due--customer-space-module-master/src/constants/companyType.itlm.js +40 -0
- package/cdp-due--customer-space-module-master/src/constants/companyType.js +55 -0
- package/cdp-due--customer-space-module-master/src/constants/consentModes.js +6 -0
- package/cdp-due--customer-space-module-master/src/constants/consentType.js +26 -0
- package/cdp-due--customer-space-module-master/src/constants/counterType.js +9 -0
- package/cdp-due--customer-space-module-master/src/constants/form/formFieldNames.js +5 -0
- package/cdp-due--customer-space-module-master/src/constants/form/formNames.js +14 -0
- package/cdp-due--customer-space-module-master/src/constants/general.js +8 -0
- package/cdp-due--customer-space-module-master/src/constants/houseType.js +4 -0
- package/cdp-due--customer-space-module-master/src/constants/httpErrors.js +1 -0
- package/cdp-due--customer-space-module-master/src/constants/index.js +19 -0
- package/cdp-due--customer-space-module-master/src/constants/inhabitantType.js +11 -0
- package/cdp-due--customer-space-module-master/src/constants/invoiceGenerationStatus.js +3 -0
- package/cdp-due--customer-space-module-master/src/constants/invoiceGenerationSteps.js +6 -0
- package/cdp-due--customer-space-module-master/src/constants/localStorage.js +1 -0
- package/cdp-due--customer-space-module-master/src/constants/loyaltyCreationState.js +3 -0
- package/cdp-due--customer-space-module-master/src/constants/loyaltyMembershipProcess.js +6 -0
- package/cdp-due--customer-space-module-master/src/constants/loyaltyMigrationStatus.js +5 -0
- package/cdp-due--customer-space-module-master/src/constants/loyaltyType.js +23 -0
- package/cdp-due--customer-space-module-master/src/constants/professionalAdministrativeIdentifierType.js +4 -0
- package/cdp-due--customer-space-module-master/src/constants/programTypes.js +4 -0
- package/cdp-due--customer-space-module-master/src/constants/provisioning.js +1 -0
- package/cdp-due--customer-space-module-master/src/constants/vatRegexCountryMapper.js +29 -0
- package/cdp-due--customer-space-module-master/src/constants/warrantyType.js +2 -0
- package/cdp-due--customer-space-module-master/src/contents/account/create/AccountCreationConfirm.vue +62 -0
- package/cdp-due--customer-space-module-master/src/contents/account/create/AccountCreationHelp.vue +124 -0
- package/cdp-due--customer-space-module-master/src/contents/account/create/AccountCreationStart.composable.js +9 -0
- package/cdp-due--customer-space-module-master/src/contents/account/create/AccountCreationStart.vue +24 -0
- package/cdp-due--customer-space-module-master/src/contents/account/create/AccountHavingPassPage.vue +243 -0
- package/cdp-due--customer-space-module-master/src/contents/account/create/accountConfig.js +73 -0
- package/cdp-due--customer-space-module-master/src/contents/account/create/accountCreationHelp.composable.js +9 -0
- package/cdp-due--customer-space-module-master/src/contents/account/create/existingCustomerPage/AccountCreationExistingCustomer.vue +135 -0
- package/cdp-due--customer-space-module-master/src/contents/account/create/existingCustomerPage/accountCreationExistingCustomer.composable.js +33 -0
- package/cdp-due--customer-space-module-master/src/contents/account/create/existingCustomerPage/accountCreationExistingCustomer.events.js +33 -0
- package/cdp-due--customer-space-module-master/src/contents/account/create/existingCustomerPage/accountCreationExistingCustomer.rules.js +45 -0
- package/cdp-due--customer-space-module-master/src/contents/account/create/stepper/AccountCreationLoyaltyAdvantages.vue +171 -0
- package/cdp-due--customer-space-module-master/src/contents/account/create/stepper/AccountCreationLoyaltyInfo.vue +88 -0
- package/cdp-due--customer-space-module-master/src/contents/account/create/stepper/AccountCreationStepperPage.vue +60 -0
- package/cdp-due--customer-space-module-master/src/contents/account/create/stepper/SiretLayer.vue +81 -0
- package/cdp-due--customer-space-module-master/src/contents/account/create/stepper/StepOptins/StepOptins.frlm.vue +163 -0
- package/cdp-due--customer-space-module-master/src/contents/account/create/stepper/StepOptins/StepOptins.itlm.vue +7 -0
- package/cdp-due--customer-space-module-master/src/contents/account/create/stepper/StepOptins.vue +112 -0
- package/cdp-due--customer-space-module-master/src/contents/account/create/stepper/StepOptinsConfig.js +82 -0
- package/cdp-due--customer-space-module-master/src/contents/account/create/stepper/Stepper.vue +78 -0
- package/cdp-due--customer-space-module-master/src/contents/account/create/stepper/StepperButtons.vue +32 -0
- package/cdp-due--customer-space-module-master/src/contents/account/create/stepper/__tests__/StepOptinsConfig.test.js +79 -0
- package/cdp-due--customer-space-module-master/src/contents/account/create/stepper/accountCreationLoyaltyAdvantages.composable.js +94 -0
- package/cdp-due--customer-space-module-master/src/contents/account/create/stepper/composables/accountCreationStepper.rules.js +94 -0
- package/cdp-due--customer-space-module-master/src/contents/account/create/stepper/composables/submit/handleHousing.js +15 -0
- package/cdp-due--customer-space-module-master/src/contents/account/create/stepper/composables/submit/onSubmit.js +9 -0
- package/cdp-due--customer-space-module-master/src/contents/account/create/stepper/composables/submit/onSubmit.rules.js +153 -0
- package/cdp-due--customer-space-module-master/src/contents/account/create/stepper/composables/useAccountCreationStepper.js +114 -0
- package/cdp-due--customer-space-module-master/src/contents/account/create/stepper/composables/utils/__tests__/checkIfCustomerSubscribed.test.js +28 -0
- package/cdp-due--customer-space-module-master/src/contents/account/create/stepper/composables/utils/__tests__/createAvailableSteps.test.js +33 -0
- package/cdp-due--customer-space-module-master/src/contents/account/create/stepper/composables/utils/__tests__/getStepsTests.test.js +153 -0
- package/cdp-due--customer-space-module-master/src/contents/account/create/stepper/composables/utils/checkIfCustomerSubscribed.js +2 -0
- package/cdp-due--customer-space-module-master/src/contents/account/create/stepper/composables/utils/createAvailableSteps.js +45 -0
- package/cdp-due--customer-space-module-master/src/contents/account/create/stepper/constants.js +16 -0
- package/cdp-due--customer-space-module-master/src/contents/account/create/stepper/steps/AccountCreationPersonalData/AccountCreationAddress.vue +11 -0
- package/cdp-due--customer-space-module-master/src/contents/account/create/stepper/steps/AccountCreationPersonalData/AccountCreationOptins/AccountCreationOptins.default.vue +76 -0
- package/cdp-due--customer-space-module-master/src/contents/account/create/stepper/steps/AccountCreationPersonalData/AccountCreationOptins/AccountCreationOptins.eslm.vue +67 -0
- package/cdp-due--customer-space-module-master/src/contents/account/create/stepper/steps/AccountCreationPersonalData/AccountCreationOptins/AccountCreationOptins.frlm.vue +80 -0
- package/cdp-due--customer-space-module-master/src/contents/account/create/stepper/steps/AccountCreationPersonalData/AccountCreationOptins/AccountCreationOptins.itlm.vue +78 -0
- package/cdp-due--customer-space-module-master/src/contents/account/create/stepper/steps/AccountCreationPersonalData/AccountCreationOptins/AccountCreationOptins.pllm.vue +69 -0
- package/cdp-due--customer-space-module-master/src/contents/account/create/stepper/steps/AccountCreationPersonalData/AccountCreationOptins/AccountCreationOptins.ptlm.vue +71 -0
- package/cdp-due--customer-space-module-master/src/contents/account/create/stepper/steps/AccountCreationPersonalData/AccountCreationOptins/AccountCreationOptins.vue +9 -0
- package/cdp-due--customer-space-module-master/src/contents/account/create/stepper/steps/AccountCreationPersonalData/AccountCreationOptins/accountCreationGaEventSubmit.js +16 -0
- package/cdp-due--customer-space-module-master/src/contents/account/create/stepper/steps/AccountCreationPersonalData/AccountCreationPersonalData.vue +62 -0
- package/cdp-due--customer-space-module-master/src/contents/account/create/stepper/steps/AccountCreationPersonalData/accountCreationLegalTexts/AccountCreationLegalTexts.vue +136 -0
- package/cdp-due--customer-space-module-master/src/contents/account/create/stepper/steps/AccountCreationPersonalData/accountCreationLoyaltyPrograms.composable.js +36 -0
- package/cdp-due--customer-space-module-master/src/contents/account/create/stepper/steps/AccountCreationPersonalData/accountCreationPersonalData.composable.js +28 -0
- package/cdp-due--customer-space-module-master/src/contents/account/create/stepper/steps/AccountCreationPersonalData/accountCreationPersonalData.rules.js +18 -0
- package/cdp-due--customer-space-module-master/src/contents/account/create/stepper/steps/AccountCreationPersonalData/accountCreationStore/AccountCreationStore.vue +23 -0
- package/cdp-due--customer-space-module-master/src/contents/account/create/stepper/steps/AccountCreationPersonalData/accountCreationStore/accountCreationStore.composable.js +64 -0
- package/cdp-due--customer-space-module-master/src/contents/account/create/stepper/steps/AccountCreationPersonalData/accountCreationStore/accountCreationZipCode/AccountCreationZipCode.vue +14 -0
- package/cdp-due--customer-space-module-master/src/contents/account/create/stepper/steps/AccountCreationPersonalData/accountCreationStore/accountCreationZipCode/accountCreationZipCode.composable.js +34 -0
- package/cdp-due--customer-space-module-master/src/contents/account/create/stepper/steps/AccountCreationPersonalData/composables/config.js +16 -0
- package/cdp-due--customer-space-module-master/src/contents/account/create/stepper/steps/AccountCreationPersonalData/composables/useInitialFormState.eslm.js +76 -0
- package/cdp-due--customer-space-module-master/src/contents/account/create/stepper/steps/AccountCreationPersonalData/composables/useInitialFormState.frlm.js +66 -0
- package/cdp-due--customer-space-module-master/src/contents/account/create/stepper/steps/AccountCreationPersonalData/composables/useInitialFormState.itlm.js +63 -0
- package/cdp-due--customer-space-module-master/src/contents/account/create/stepper/steps/AccountCreationPersonalData/composables/useInitialFormState.ptlm.js +66 -0
- package/cdp-due--customer-space-module-master/src/contents/account/create/stepper/termsOfUseValidation/TermsOfUseValidation.vue +91 -0
- package/cdp-due--customer-space-module-master/src/contents/account/create/stepper/termsOfUseValidation/termsOfUseValidation.composable.js +32 -0
- package/cdp-due--customer-space-module-master/src/contents/account/create/stepper/termsOfUseValidation/termsOfUseValidation.rules.js +173 -0
- package/cdp-due--customer-space-module-master/src/contents/account/create/stepper/useStepper.js +50 -0
- package/cdp-due--customer-space-module-master/src/contents/account/create/trackingEvents.js +124 -0
- package/cdp-due--customer-space-module-master/src/contents/account/module/actions.js +77 -0
- package/cdp-due--customer-space-module-master/src/contents/account/module/constants.js +32 -0
- package/cdp-due--customer-space-module-master/src/contents/account/module/getters.js +35 -0
- package/cdp-due--customer-space-module-master/src/contents/account/module/index.js +36 -0
- package/cdp-due--customer-space-module-master/src/contents/account/module/mutations.js +30 -0
- package/cdp-due--customer-space-module-master/src/contents/account/new-create/AccountCreation.vue +196 -0
- package/cdp-due--customer-space-module-master/src/contents/account/new-create/LoyaltyProgramSelection.vue +97 -0
- package/cdp-due--customer-space-module-master/src/contents/account/new-create/accountCreation.composable.js +158 -0
- package/cdp-due--customer-space-module-master/src/contents/account/new-create/accountCreation.constants.js +16 -0
- package/cdp-due--customer-space-module-master/src/contents/account/new-create/accountCreation.requests.js +33 -0
- package/cdp-due--customer-space-module-master/src/contents/account/new-create/accountCreation.rules.js +211 -0
- package/cdp-due--customer-space-module-master/src/contents/account/new-create/consents-optins/ConsentDescriptionAsTemplate.vue +22 -0
- package/cdp-due--customer-space-module-master/src/contents/account/new-create/consents-optins/ConsentDescriptionAsText.vue +15 -0
- package/cdp-due--customer-space-module-master/src/contents/account/new-create/consents-optins/ConsentsOptins.vue +22 -0
- package/cdp-due--customer-space-module-master/src/contents/account/new-create/consents-optins/StaticOptin.vue +43 -0
- package/cdp-due--customer-space-module-master/src/contents/account/new-create/consents-optins/StaticOptinRadio.vue +46 -0
- package/cdp-due--customer-space-module-master/src/contents/account/new-create/consents-optins/consentsOptins.composable.js +11 -0
- package/cdp-due--customer-space-module-master/src/contents/account/new-create/consents-optins/consentsOptins.rules.js +177 -0
- package/cdp-due--customer-space-module-master/src/contents/account/new-create/consents-optins/dynamic-optins/DynamicOptin.vue +90 -0
- package/cdp-due--customer-space-module-master/src/contents/account/new-create/consents-optins/dynamic-optins/DynamicOptins.vue +24 -0
- package/cdp-due--customer-space-module-master/src/contents/account/new-create/consents-optins/dynamic-optins/dynamicOptins.composable.js +21 -0
- package/cdp-due--customer-space-module-master/src/contents/account/new-create/consents-optins/dynamic-optins/dynamicOptins.requests.js +20 -0
- package/cdp-due--customer-space-module-master/src/contents/account/new-create/consents-optins/dynamic-optins/dynamicOptins.rules.js +116 -0
- package/cdp-due--customer-space-module-master/src/contents/account/new-create/consents-section/CguOrder.vue +5 -0
- package/cdp-due--customer-space-module-master/src/contents/account/new-create/consents-section/Consents.vue +87 -0
- package/cdp-due--customer-space-module-master/src/contents/account/new-create/consents-section/ConsentsText.vue +43 -0
- package/cdp-due--customer-space-module-master/src/contents/account/new-create/consents-section/cgu-block/CguBlock.vue +105 -0
- package/cdp-due--customer-space-module-master/src/contents/account/new-create/consents-section/cgu-block/CguField.vue +20 -0
- package/cdp-due--customer-space-module-master/src/contents/account/new-create/consents-section/cgu-block/CguFieldRadio.vue +19 -0
- package/cdp-due--customer-space-module-master/src/contents/account/new-create/consents-section/cgu-block/CguLink.vue +30 -0
- package/cdp-due--customer-space-module-master/src/contents/account/new-create/consents-section/cgu-block/cguBlock.composable.js +24 -0
- package/cdp-due--customer-space-module-master/src/contents/account/new-create/consents-section/cgu-block/cguBlock.rules.js +43 -0
- package/cdp-due--customer-space-module-master/src/contents/account/new-create/consents-section/consents.composable.js +24 -0
- package/cdp-due--customer-space-module-master/src/contents/account/new-create/consents-section/consents.rules.js +36 -0
- package/cdp-due--customer-space-module-master/src/contents/account/new-create/duplicated-account/DuplicatedAccount.vue +51 -0
- package/cdp-due--customer-space-module-master/src/contents/account/new-create/duplicated-account/duplicatedAccount.composable.js +18 -0
- package/cdp-due--customer-space-module-master/src/contents/account/new-create/duplicated-account/duplicatedAccount.rules.js +23 -0
- package/cdp-due--customer-space-module-master/src/contents/account/new-create/duplicated-account/email-confirmation/EmailConfirmation.vue +81 -0
- package/cdp-due--customer-space-module-master/src/contents/account/new-create/duplicated-account/email-confirmation/emailConfirmation.composable.js +10 -0
- package/cdp-due--customer-space-module-master/src/contents/account/new-create/duplicated-account/match-account-on-email/MatchAccountOnEmail.vue +85 -0
- package/cdp-due--customer-space-module-master/src/contents/account/new-create/duplicated-account/match-account-on-email/matchAccountOnEmail.composable.js +17 -0
- package/cdp-due--customer-space-module-master/src/contents/account/new-create/duplicated-account/match-account-on-email-and-phone/MatchAccountOnEmailAndPhone.vue +88 -0
- package/cdp-due--customer-space-module-master/src/contents/account/new-create/duplicated-account/match-account-on-email-and-phone/matchAccountOnEmailAndPhone.composable.js +14 -0
- package/cdp-due--customer-space-module-master/src/contents/account/new-create/duplicated-account/match-account-on-phone/MatchAccountOnPhone.vue +83 -0
- package/cdp-due--customer-space-module-master/src/contents/account/new-create/duplicated-account/match-account-on-phone/matchAccountOnPhone.composable.js +20 -0
- package/cdp-due--customer-space-module-master/src/contents/account/new-create/duplicated-account/match-multiple-accounts/MatchMultipleAccounts.vue +75 -0
- package/cdp-due--customer-space-module-master/src/contents/account/new-create/duplicated-account/match-webaccount/MatchWebAccount.vue +97 -0
- package/cdp-due--customer-space-module-master/src/contents/account/new-create/duplicated-account/match-webaccount/matchWebAccount.composable.js +7 -0
- package/cdp-due--customer-space-module-master/src/contents/account/new-create/duplicated-account/onSubmitOrchestrator.composable.js +21 -0
- package/cdp-due--customer-space-module-master/src/contents/account/new-create/duplicated-account/preExistenceQueryParam.composable.js +11 -0
- package/cdp-due--customer-space-module-master/src/contents/account/new-create/duplicated-account/sendResetPassword.composable.js +26 -0
- package/cdp-due--customer-space-module-master/src/contents/account/new-create/duplicated-account/utils.js +5 -0
- package/cdp-due--customer-space-module-master/src/contents/account/new-create/duplicated-account/webAccountManagement.composable.js +50 -0
- package/cdp-due--customer-space-module-master/src/contents/account/new-create/duplicated-account/webAccountManagement.request.js +38 -0
- package/cdp-due--customer-space-module-master/src/contents/account/new-create/legals-section/Legals.vue +62 -0
- package/cdp-due--customer-space-module-master/src/contents/account/new-create/legals-section/legalsSection.composable.js +21 -0
- package/cdp-due--customer-space-module-master/src/contents/account/new-create/legals-section/legalsSection.config.js +57 -0
- package/cdp-due--customer-space-module-master/src/contents/account/new-create/legals-section/legalsSection.rules.js +24 -0
- package/cdp-due--customer-space-module-master/src/contents/account/new-create/module/index.js +17 -0
- package/cdp-due--customer-space-module-master/src/contents/account/new-create/newCreate.constants.js +4 -0
- package/cdp-due--customer-space-module-master/src/contents/account/new-create/personal-section/PersonalSection.vue +39 -0
- package/cdp-due--customer-space-module-master/src/contents/account/new-create/personal-section/password-hint/PasswordHint.vue +58 -0
- package/cdp-due--customer-space-module-master/src/contents/account/new-create/personal-section/password-hint/password-hint-item/PasswordHintItem.vue +69 -0
- package/cdp-due--customer-space-module-master/src/contents/account/new-create/personal-section/password-hint/password-hint-item/passwordHintItem.rules.js +14 -0
- package/cdp-due--customer-space-module-master/src/contents/account/new-create/personal-section/password-hint/passwordHint.composable.js +17 -0
- package/cdp-due--customer-space-module-master/src/contents/account/new-create/personal-section/personalSection.composable.js +62 -0
- package/cdp-due--customer-space-module-master/src/contents/account/new-create/personal-section/personalSection.constants.js +122 -0
- package/cdp-due--customer-space-module-master/src/contents/account/new-create/personal-section/personalSection.rules.js +62 -0
- package/cdp-due--customer-space-module-master/src/contents/account/new-create/professional-section/ProfessionalSection.vue +54 -0
- package/cdp-due--customer-space-module-master/src/contents/account/new-create/professional-section/__tests__/professionalSectionAutocomplete.test.js +29 -0
- package/cdp-due--customer-space-module-master/src/contents/account/new-create/professional-section/__tests__/professionalSectionDefault.test.js +19 -0
- package/cdp-due--customer-space-module-master/src/contents/account/new-create/professional-section/professional-section-autocomplete/ClosedCompany.vue +84 -0
- package/cdp-due--customer-space-module-master/src/contents/account/new-create/professional-section/professional-section-autocomplete/ProfessionalSectionAutocomplete.vue +71 -0
- package/cdp-due--customer-space-module-master/src/contents/account/new-create/professional-section/professional-section-autocomplete/autocomplete-layer/AutocompleteLayer.vue +175 -0
- package/cdp-due--customer-space-module-master/src/contents/account/new-create/professional-section/professional-section-autocomplete/autocomplete-layer/autocomplete-company/AutocompleteCompany.vue +140 -0
- package/cdp-due--customer-space-module-master/src/contents/account/new-create/professional-section/professional-section-autocomplete/autocomplete-layer/autocomplete-no-resut/AutocompleteNoResult.vue +96 -0
- package/cdp-due--customer-space-module-master/src/contents/account/new-create/professional-section/professional-section-autocomplete/autocomplete-layer/autocompleteLayer.composable.js +52 -0
- package/cdp-due--customer-space-module-master/src/contents/account/new-create/professional-section/professional-section-autocomplete/autocomplete-layer/autocompleteLayer.requests.js +52 -0
- package/cdp-due--customer-space-module-master/src/contents/account/new-create/professional-section/professional-section-autocomplete/company-details/CompanyDetails.vue +53 -0
- package/cdp-due--customer-space-module-master/src/contents/account/new-create/professional-section/professional-section-autocomplete/company-details/companyDetails.composable.js +32 -0
- package/cdp-due--customer-space-module-master/src/contents/account/new-create/professional-section/professional-section-autocomplete/company-details/companyDetails.requests.js +25 -0
- package/cdp-due--customer-space-module-master/src/contents/account/new-create/professional-section/professional-section-autocomplete/company-details/companyDetails.rules.js +41 -0
- package/cdp-due--customer-space-module-master/src/contents/account/new-create/professional-section/professional-section-autocomplete/professionalSectionAutocomplete.composable.js +48 -0
- package/cdp-due--customer-space-module-master/src/contents/account/new-create/professional-section/professional-section-autocomplete/professionalSectionAutocomplete.rules.js +13 -0
- package/cdp-due--customer-space-module-master/src/contents/account/new-create/professional-section/professional-section-autocomplete/search-company/SearchCompany.vue +61 -0
- package/cdp-due--customer-space-module-master/src/contents/account/new-create/professional-section/professional-section-autocomplete/search-company/searchCompany.composable.js +55 -0
- package/cdp-due--customer-space-module-master/src/contents/account/new-create/professional-section/professional-section-autocomplete/search-company/searchCompany.config.js +89 -0
- package/cdp-due--customer-space-module-master/src/contents/account/new-create/professional-section/professional-section-autocomplete/search-company/searchCompany.events.js +3 -0
- package/cdp-due--customer-space-module-master/src/contents/account/new-create/professional-section/professional-section-autocomplete/search-company/searchCompany.rules.js +41 -0
- package/cdp-due--customer-space-module-master/src/contents/account/new-create/professional-section/professional-section-default/ProfessionalSectionDefault.vue +51 -0
- package/cdp-due--customer-space-module-master/src/contents/account/new-create/professional-section/professional-section-default/professionalSectionDefault.composable.js +50 -0
- package/cdp-due--customer-space-module-master/src/contents/account/new-create/professional-section/professional-section-default/professionalSectionDefault.config.js +226 -0
- package/cdp-due--customer-space-module-master/src/contents/account/new-create/professional-section/professional-section-default/professionalSectionDefault.rules.js +37 -0
- package/cdp-due--customer-space-module-master/src/contents/account/new-create/professional-section/professionalSection.composable.js +24 -0
- package/cdp-due--customer-space-module-master/src/contents/account/new-create/professional-section/professionalSection.config.js +223 -0
- package/cdp-due--customer-space-module-master/src/contents/account/new-create/professional-section/professionalSection.rules.js +13 -0
- package/cdp-due--customer-space-module-master/src/contents/account/new-create/social-login/SocialLoginConnectors.vue +39 -0
- package/cdp-due--customer-space-module-master/src/contents/account/new-create/social-login/SocialLoginInfo.vue +43 -0
- package/cdp-due--customer-space-module-master/src/contents/account/new-create/social-login/socialLoginConnectors.composable.js +22 -0
- package/cdp-due--customer-space-module-master/src/contents/account/new-create/social-login/socialLoginConnectors.requests.js +18 -0
- package/cdp-due--customer-space-module-master/src/contents/account/new-create/social-login/socialLoginConnectors.rules.js +18 -0
- package/cdp-due--customer-space-module-master/src/contents/account/new-create/socialLoginUserInfo.composable.js +9 -0
- package/cdp-due--customer-space-module-master/src/contents/account/new-create/trackingEvents.js +83 -0
- package/cdp-due--customer-space-module-master/src/contents/account/routeConstant.js +65 -0
- package/cdp-due--customer-space-module-master/src/contents/account/routes.js +205 -0
- package/cdp-due--customer-space-module-master/src/contents/account-management/AccountManagementPage.vue +80 -0
- package/cdp-due--customer-space-module-master/src/contents/account-management/accountManagementLinks.eslm.js +28 -0
- package/cdp-due--customer-space-module-master/src/contents/account-management/accountManagementLinks.frlm.js +41 -0
- package/cdp-due--customer-space-module-master/src/contents/account-management/accountManagementLinks.itlm.js +29 -0
- package/cdp-due--customer-space-module-master/src/contents/account-management/accountManagementLinks.pllm.js +28 -0
- package/cdp-due--customer-space-module-master/src/contents/account-management/accountManagementLinks.ptlm.js +28 -0
- package/cdp-due--customer-space-module-master/src/contents/account-management/config.js +16 -0
- package/cdp-due--customer-space-module-master/src/contents/account-management/routes.js +36 -0
- package/cdp-due--customer-space-module-master/src/contents/account-management/stopPaper/StopPaper.vue +54 -0
- package/cdp-due--customer-space-module-master/src/contents/account-management/stopPaper/__tests__/stopPaper.rules.test.js +42 -0
- package/cdp-due--customer-space-module-master/src/contents/account-management/stopPaper/constants.js +6 -0
- package/cdp-due--customer-space-module-master/src/contents/account-management/stopPaper/stopPaper.composable.js +30 -0
- package/cdp-due--customer-space-module-master/src/contents/account-management/stopPaper/stopPaper.events.js +23 -0
- package/cdp-due--customer-space-module-master/src/contents/account-management/stopPaper/stopPaper.rules.js +79 -0
- package/cdp-due--customer-space-module-master/src/contents/account-management/stopPaper/trackingEvents.js +7 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/AdminLandingPage.vue +86 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/AdminPage.vue +9 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/associate-to-sale/AssociateToSaleButton.vue +46 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/associate-to-sale/AssociateToSaleModal.vue +106 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/associate-to-sale/__tests__/associateToSale.rules.test.js +90 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/associate-to-sale/associateToSale.rules.js +33 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/associate-to-sale/associateToSaleButton.composable.js +43 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/associate-to-sale/associateToSaleModal.composable.js +74 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/associate-to-sale/associateToSaleTrackingEvents.js +30 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/associate-to-sale/useAssociateToSale.js +36 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/associate-to-sale/utils.js +6 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/client-summary/AdminClientSummaryV1.page.vue +116 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/client-summary/AdminClientSummaryV2.page.vue +138 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/client-summary/actions/Actions.section.vue +44 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/client-summary/actions/__tests__/rules.test.js +43 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/client-summary/actions/actions.composable.js +23 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/client-summary/actions/actions.rules.js +72 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/client-summary/actions/switch-to-pro/modal/SwitchToProErrorModal.vue +113 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/client-summary/actions/switch-to-pro/modal/SwitchToProErrorModalWrapper.vue +45 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/client-summary/actions/switch-to-pro/modal/errorModal.composable.js +30 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/client-summary/actions/switch-to-pro/translations.js +84 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/client-summary/actions/translations.js +22 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/client-summary/adminClientSummary.rules.js +27 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/client-summary/common/ClientSummaryData.vue +67 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/client-summary/common/ClientSummaryDataLink.vue +31 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/client-summary/common/ClientSummaryDataV2.vue +72 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/client-summary/common/DatatableV2.vue +150 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/client-summary/consents/Consents.section.vue +124 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/client-summary/consents/consentMode.vue +73 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/client-summary/consents/consentsConfig.js +36 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/client-summary/constants.js +18 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/client-summary/estimates/Estimates.section.vue +29 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/client-summary/estimates/EstimatesV2.section.vue +32 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/client-summary/estimates/estimatesSection-v2.composable.js +40 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/client-summary/estimates/estimatesSection.composable.js +34 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/client-summary/estimates/estimatesSection.requests.js +18 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/client-summary/estimates/estimatesSection.rules.js +12 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/client-summary/estimates/translations.js +9 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/client-summary/hook.js +5 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/client-summary/orders/Orders.section.vue +59 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/client-summary/orders/OrdersV2.section.vue +52 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/client-summary/orders/orders-v2.composable.js +28 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/client-summary/orders/orders-v2.rules.js +80 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/client-summary/orders/orders.composable.js +21 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/client-summary/orders/orders.request.js +12 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/client-summary/orders/orders.rules.js +74 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/client-summary/orders/orders.translations.js +22 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/client-summary/personal-information/Customer.vue +69 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/client-summary/personal-information/CustomerV2.vue +87 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/client-summary/personal-information/InfoBlock/InfoBlock.vue +54 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/client-summary/personal-information/InfoBlock/InfoBlockV2.vue +72 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/client-summary/personal-information/InfoBlock/constants.js +1 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/client-summary/personal-information/__tests__/customer.rules.test.js +112 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/client-summary/personal-information/constants.js +12 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/client-summary/personal-information/customer.composable.js +35 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/client-summary/personal-information/customer.rules.js +115 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/client-summary/personal-information/hook.js +106 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/client-summary/personal-information/loyalty/Loyalty.vue +67 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/client-summary/personal-information/loyalty/LoyaltyV2.vue +96 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/client-summary/personal-information/loyalty/__tests__/loyalty.rules.test.js +148 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/client-summary/personal-information/loyalty/loyalty-v2.composable.js +45 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/client-summary/personal-information/loyalty/loyalty.composable.js +37 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/client-summary/personal-information/loyalty/loyalty.rules.js +108 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/client-summary/personal-information/professional-infos/ProfessionalInfos.vue +15 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/client-summary/personal-information/professional-infos/ProfessionalInfosV2.vue +38 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/client-summary/personal-information/professional-infos/hook.js +19 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/client-summary/personal-information/professional-infos/professional-infos-v2.composable.js +26 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/client-summary/personal-information/professional-infos/rules.js +83 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/client-summary/personal-information/rewards/Rewards.vue +10 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/client-summary/personal-information/rewards/RewardsV2.vue +79 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/client-summary/personal-information/rewards/__tests__/rewards.rules.test.js +117 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/client-summary/personal-information/rewards/rewards-v2.composable.js +22 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/client-summary/personal-information/rewards/rewards.rules.js +41 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/client-summary/personal-information/rewards/useRewards.js +53 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/client-summary/personal-information/rules.js +17 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/client-summary/personal-information/useAccountCoOwner.js +33 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/client-summary/personal-information/usePersonalInfoLoyalty.js +29 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/client-summary/personal-information/utils.js +14 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/client-summary/receipts/LastReceipts.section.vue +30 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/client-summary/receipts/lastReceipts.composable.js +32 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/client-summary/receipts/lastReceipts.requests.js +29 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/client-summary/receipts/translations.js +5 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/client-summary/utils.js +66 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/contextualization/ContextualizationPage.vue +19 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/history/CustomerHistoryPage.vue +82 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/history/CustomerHistorySubDatatable.vue +42 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/history/__tests__/customerHistory.rules.test.js +71 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/history/constants.js +9 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/history/rules.js +18 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/history/useCustomerHistoryPage.js +47 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/loyalty/LoyaltyPage.vue +73 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/loyalty/LoyaltyPageComponent.vue +49 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/loyalty/loyaltyConfig.js +34 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/module/actions.js +374 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/module/constants.js +69 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/module/getters.js +43 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/module/index.js +78 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/routes.js +148 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/search/hooks/useRedirectRoute.js +15 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/search/quick-access/QuickAccess.vue +55 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/search/quick-access/__tests__/quickAccess.tests.js +24 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/search/quick-access/quick-access-card/QuickAccessCard.vue +89 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/search/quick-access/quick-access-config/quickAccessConfig.eslm.js +4 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/search/quick-access/quick-access-config/quickAccessConfig.frlm.js +41 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/search/quick-access/quick-access-config/quickAccessConfig.itlm.js +3 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/search/quick-access/quick-access-config/quickAccessConfig.ptlm.js +9 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/search/quick-access/quick-access-config/services/quickAccessBoomerang.js +10 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/search/quick-access/quick-access-config/services/quickAccessDataCompliance.js +10 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/search/quick-access/quick-access-config/services/quickAccessFloyd.js +10 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/search/quick-access/quick-access-config/services/quickAccessTempo.js +12 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/search/quick-access/quickAccess.rules.js +28 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/search/refacto/HistoryOfVisitedCustomers.vue +58 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/search/refacto/SearchPage.vue +194 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/search/refacto/__tests__/searchPage.rules.test.js +89 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/search/refacto/constants.js +2 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/search/refacto/layer/AccountPrecreateLayer.vue +66 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/search/refacto/layer/accountPrecreationLayer.composable.js +44 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/search/refacto/layer/accountPrecreationLayer.rules.js +156 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/search/refacto/layer/steps/address/AddressStep.vue +40 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/search/refacto/layer/steps/precreate-personal-data/AdditionalFields/AdditionalFields.vue +11 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/search/refacto/layer/steps/precreate-personal-data/AdditionalFields/ProfessionalAdministrativeIdentifier.vue +10 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/search/refacto/layer/steps/precreate-personal-data/AdditionalFields/additionalFields.composable.js +18 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/search/refacto/layer/steps/precreate-personal-data/AdditionalFields/additionalFields.rules.js +31 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/search/refacto/layer/steps/precreate-personal-data/ConsentsSection/ConsentsSection.legacy-fr.vue +11 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/search/refacto/layer/steps/precreate-personal-data/ConsentsSection/ConsentsSection.per-channel.vue +11 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/search/refacto/layer/steps/precreate-personal-data/ConsentsSection/ConsentsSection.vue +9 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/search/refacto/layer/steps/precreate-personal-data/ConsentsSection/ConsentsSection.yes-no.vue +26 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/search/refacto/layer/steps/precreate-personal-data/ConsentsSection/consentsSection.rules.js +23 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/search/refacto/layer/steps/precreate-personal-data/ConsentsSection/useConsentsSection.frlm.js +39 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/search/refacto/layer/steps/precreate-personal-data/PreCreatePersonalDataStep.vue +121 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/search/refacto/layer/steps/precreate-personal-data/constants.js +109 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/search/refacto/layer/steps/precreate-personal-data/preCreateAccount.rules.js +106 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/search/refacto/layer/steps/precreate-personal-data/preCreatePersonalDataStep.composable.js +103 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/search/refacto/searchFieldsConfig.js +161 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/search/refacto/searchPage.composable.js +136 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/search/refacto/searchPage.events.js +22 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/search/refacto/searchPage.rules.js +49 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/search/results/SearchResults.vue +325 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/search/results/__tests__/searchResults.rules.test.js +18 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/search/results/accountStatusModalConfig.js +58 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/search/results/deleteAccountTrackingEvents.js +63 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/search/results/searchResults.composable.js +125 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/search/results/searchResults.events.js +71 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/search/results/searchResults.rules.js +37 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/search/trackingEvents.js +62 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/switch-to-pro/AccountSwitchToProPage.vue +80 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/switch-to-pro/BlocPresenter/BlocPresenter.vue +22 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/switch-to-pro/Buttons/SwitchToProStepperButtons.vue +54 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/switch-to-pro/Form/AccountSwitchToProPageForm.vue +139 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/switch-to-pro/Notifications/SwitchToProNotification.vue +51 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/switch-to-pro/accountSwitchToPro.composable.js +175 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/switch-to-pro/accountSwitchToPro.rules.js +105 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/switch-to-pro/constants.js +11 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/switch-to-pro/trackingEvents.js +75 -0
- package/cdp-due--customer-space-module-master/src/contents/admin/switch-to-pro/translations.js +24 -0
- package/cdp-due--customer-space-module-master/src/contents/after-sales/routes.js +35 -0
- package/cdp-due--customer-space-module-master/src/contents/after-sales/service-list/AfterSalesServiceList.vue +48 -0
- package/cdp-due--customer-space-module-master/src/contents/after-sales/service-list/__tests__/afterSalesServiceList.rules.test.js +18 -0
- package/cdp-due--customer-space-module-master/src/contents/after-sales/service-list/afterSalesServiceList.composable.js +19 -0
- package/cdp-due--customer-space-module-master/src/contents/after-sales/service-list/afterSalesServiceList.requests.js +13 -0
- package/cdp-due--customer-space-module-master/src/contents/after-sales/service-list/afterSalesServiceList.rules.js +11 -0
- package/cdp-due--customer-space-module-master/src/contents/after-sales/service-list/empty/AfterSalesServiceEmpty.vue +12 -0
- package/cdp-due--customer-space-module-master/src/contents/after-sales/service-list/item/AfterSalesItem.vue +134 -0
- package/cdp-due--customer-space-module-master/src/contents/after-sales/service-list/item/afterSalesItem.composable.js +31 -0
- package/cdp-due--customer-space-module-master/src/contents/after-sales/service-list/item/product/NoImage.vue +18 -0
- package/cdp-due--customer-space-module-master/src/contents/after-sales/service-list/item/product/Product.vue +73 -0
- package/cdp-due--customer-space-module-master/src/contents/banner/CollaboratorBanner.vue +229 -0
- package/cdp-due--customer-space-module-master/src/contents/banner/CollaboratorBannerHomeLink.vue +16 -0
- package/cdp-due--customer-space-module-master/src/contents/banner/IncidentInformationModal.vue +109 -0
- package/cdp-due--customer-space-module-master/src/contents/communications/CommunicationsCGUPage.vue +1129 -0
- package/cdp-due--customer-space-module-master/src/contents/communications/CommunicationsPage.vue +9 -0
- package/cdp-due--customer-space-module-master/src/contents/communications/NewsletterCheckbox.vue +86 -0
- package/cdp-due--customer-space-module-master/src/contents/communications/OptinsOfflinePage.vue +26 -0
- package/cdp-due--customer-space-module-master/src/contents/communications/communication-preferences/CommunicationComponentConsent.vue +84 -0
- package/cdp-due--customer-space-module-master/src/contents/communications/communication-preferences/CommunicationPreferences.default.vue +93 -0
- package/cdp-due--customer-space-module-master/src/contents/communications/communication-preferences/CommunicationPreferences.eslm.vue +7 -0
- package/cdp-due--customer-space-module-master/src/contents/communications/communication-preferences/CommunicationPreferences.frlm.vue +317 -0
- package/cdp-due--customer-space-module-master/src/contents/communications/communication-preferences/CommunicationPreferences.itlm.vue +97 -0
- package/cdp-due--customer-space-module-master/src/contents/communications/communication-preferences/CommunicationPreferences.pllm.vue +7 -0
- package/cdp-due--customer-space-module-master/src/contents/communications/communication-preferences/CommunicationPreferences.ptlm.vue +7 -0
- package/cdp-due--customer-space-module-master/src/contents/communications/communication-preferences/ConsentChoices.vue +120 -0
- package/cdp-due--customer-space-module-master/src/contents/communications/communication-preferences/ConsentsChoicesForm.vue +38 -0
- package/cdp-due--customer-space-module-master/src/contents/communications/communication-preferences/communicationPreferences.composable.js +60 -0
- package/cdp-due--customer-space-module-master/src/contents/communications/communication-preferences/communicationPreferences.rules.js +133 -0
- package/cdp-due--customer-space-module-master/src/contents/communications/feedbackConfig.js +20 -0
- package/cdp-due--customer-space-module-master/src/contents/communications/module/actions.js +162 -0
- package/cdp-due--customer-space-module-master/src/contents/communications/module/constants.js +28 -0
- package/cdp-due--customer-space-module-master/src/contents/communications/module/getters.js +23 -0
- package/cdp-due--customer-space-module-master/src/contents/communications/module/index.js +44 -0
- package/cdp-due--customer-space-module-master/src/contents/communications/newsletterConfig.js +57 -0
- package/cdp-due--customer-space-module-master/src/contents/communications/routes.js +33 -0
- package/cdp-due--customer-space-module-master/src/contents/communications/trackingEvents.js +19 -0
- package/cdp-due--customer-space-module-master/src/contents/communications/useCommunicationComponent.js +61 -0
- package/cdp-due--customer-space-module-master/src/contents/communications/useConsent.js +18 -0
- package/cdp-due--customer-space-module-master/src/contents/dashboard/DashboardBoxLink.vue +108 -0
- package/cdp-due--customer-space-module-master/src/contents/dashboard/DashboardPage/DashboardPage.vue +52 -0
- package/cdp-due--customer-space-module-master/src/contents/dashboard/DashboardPage/__tests__/dashboardPage.composable.test.js +46 -0
- package/cdp-due--customer-space-module-master/src/contents/dashboard/DashboardPage/dashboardPage.composable.js +45 -0
- package/cdp-due--customer-space-module-master/src/contents/dashboard/DashboardPage/dashboardPage.rules.js +9 -0
- package/cdp-due--customer-space-module-master/src/contents/dashboard/DashboardPage/dashboardPage.translations.js +6 -0
- package/cdp-due--customer-space-module-master/src/contents/dashboard/account-settings/DashboardAccountSettings.vue +126 -0
- package/cdp-due--customer-space-module-master/src/contents/dashboard/account-settings/DashboardAccountSettingsModal.vue +188 -0
- package/cdp-due--customer-space-module-master/src/contents/dashboard/account-settings/__tests__/rules.test.js +81 -0
- package/cdp-due--customer-space-module-master/src/contents/dashboard/account-settings/accountSettingsConfig.js +180 -0
- package/cdp-due--customer-space-module-master/src/contents/dashboard/account-settings/rules.js +28 -0
- package/cdp-due--customer-space-module-master/src/contents/dashboard/account-settings/useDashboardAccountSettings.js +43 -0
- package/cdp-due--customer-space-module-master/src/contents/dashboard/dashboard-account-settings-v2/DashboardAccountSettingsV2.vue +102 -0
- package/cdp-due--customer-space-module-master/src/contents/dashboard/dashboard-account-settings-v2/dashboardAccountSettingsV2.composable.js +17 -0
- package/cdp-due--customer-space-module-master/src/contents/dashboard/dashboard-account-settings-v2/dashboardAccountSettingsV2.rules.js +232 -0
- package/cdp-due--customer-space-module-master/src/contents/dashboard/dashboard-actions/DashboardActions.vue +13 -0
- package/cdp-due--customer-space-module-master/src/contents/dashboard/dashboard-actions/dashboardActions.composable.js +39 -0
- package/cdp-due--customer-space-module-master/src/contents/dashboard/dashboard-actions/dashboardActions.rules.js +101 -0
- package/cdp-due--customer-space-module-master/src/contents/dashboard/dashboard-box/DashboardBox.vue +112 -0
- package/cdp-due--customer-space-module-master/src/contents/dashboard/dashboard-box/dashboardBox.composable.js +58 -0
- package/cdp-due--customer-space-module-master/src/contents/dashboard/dashboard-loyalty/DashboardLoyalty.vue +73 -0
- package/cdp-due--customer-space-module-master/src/contents/dashboard/dashboard-loyalty/DashboardLoyaltyCardBarcodeModal.vue +34 -0
- package/cdp-due--customer-space-module-master/src/contents/dashboard/dashboard-loyalty/DashboardLoyaltyPassMaisonBarcodeModal.vue +32 -0
- package/cdp-due--customer-space-module-master/src/contents/dashboard/dashboard-loyalty/__tests__/dashboardLoyalty.rules.test.js +137 -0
- package/cdp-due--customer-space-module-master/src/contents/dashboard/dashboard-loyalty/dashboardLoyalty.composable.js +53 -0
- package/cdp-due--customer-space-module-master/src/contents/dashboard/dashboard-loyalty/dashboardLoyalty.event.js +5 -0
- package/cdp-due--customer-space-module-master/src/contents/dashboard/dashboard-loyalty/dashboardLoyalty.request.js +31 -0
- package/cdp-due--customer-space-module-master/src/contents/dashboard/dashboard-loyalty/dashboardLoyalty.rules.js +78 -0
- package/cdp-due--customer-space-module-master/src/contents/dashboard/dashboard-loyalty-admin/DashboardLoyaltyAdmin.vue +24 -0
- package/cdp-due--customer-space-module-master/src/contents/dashboard/dashboard-loyalty-admin/DashboardLoyaltyAdminInvitationModal.vue +79 -0
- package/cdp-due--customer-space-module-master/src/contents/dashboard/dashboard-loyalty-admin/DashboardLoyaltyAdminV2.vue +24 -0
- package/cdp-due--customer-space-module-master/src/contents/dashboard/dashboard-loyalty-admin/__tests__/dashboardLoyaltyAdmin.rules.test.js +59 -0
- package/cdp-due--customer-space-module-master/src/contents/dashboard/dashboard-loyalty-admin/__tests__/dashboardLoyaltyAdminInvitationModal.rules.test.js +31 -0
- package/cdp-due--customer-space-module-master/src/contents/dashboard/dashboard-loyalty-admin/dashboardLoyaltyAdmin.composable.js +44 -0
- package/cdp-due--customer-space-module-master/src/contents/dashboard/dashboard-loyalty-admin/dashboardLoyaltyAdmin.event.js +47 -0
- package/cdp-due--customer-space-module-master/src/contents/dashboard/dashboard-loyalty-admin/dashboardLoyaltyAdmin.request.js +36 -0
- package/cdp-due--customer-space-module-master/src/contents/dashboard/dashboard-loyalty-admin/dashboardLoyaltyAdmin.rules.js +76 -0
- package/cdp-due--customer-space-module-master/src/contents/dashboard/dashboard-loyalty-admin/dashboardLoyaltyAdminInvitationModal.composable.js +32 -0
- package/cdp-due--customer-space-module-master/src/contents/dashboard/dashboard-loyalty-admin/dashboardLoyaltyAdminInvitationModal.event.js +31 -0
- package/cdp-due--customer-space-module-master/src/contents/dashboard/dashboard-loyalty-admin/dashboardLoyaltyAdminInvitationModal.request.js +21 -0
- package/cdp-due--customer-space-module-master/src/contents/dashboard/dashboard-loyalty-admin/dashboardLoyaltyAdminInvitationModal.rules.js +41 -0
- package/cdp-due--customer-space-module-master/src/contents/dashboard/dashboard-page-grid/DashboardPageGrid.vue +149 -0
- package/cdp-due--customer-space-module-master/src/contents/dashboard/dashboard-page-grid/dashboardPageGrid.composable.js +53 -0
- package/cdp-due--customer-space-module-master/src/contents/dashboard/dashboard-page-grid/dashboardPageGrid.rules.js +453 -0
- package/cdp-due--customer-space-module-master/src/contents/dashboard/loyalty-card/IpnLoyaltyCard.vue +54 -0
- package/cdp-due--customer-space-module-master/src/contents/dashboard/loyalty-card/IpnLoyaltyCardBasic.vue +214 -0
- package/cdp-due--customer-space-module-master/src/contents/dashboard/loyalty-card/IpnLoyaltyCardPassMaison.vue +156 -0
- package/cdp-due--customer-space-module-master/src/contents/dashboard/loyalty-card/IpnLoyaltyCardPresentationShell.vue +40 -0
- package/cdp-due--customer-space-module-master/src/contents/dashboard/loyalty-card/IpnLoyaltyCardPrograms.vue +43 -0
- package/cdp-due--customer-space-module-master/src/contents/dashboard/loyalty-card/LoyaltyCard.default.vue +86 -0
- package/cdp-due--customer-space-module-master/src/contents/dashboard/loyalty-card/LoyaltyCard.frlm.vue +101 -0
- package/cdp-due--customer-space-module-master/src/contents/dashboard/loyalty-card/LoyaltyCard.itlm.vue +86 -0
- package/cdp-due--customer-space-module-master/src/contents/dashboard/loyalty-card/LoyaltyCard.vue +7 -0
- package/cdp-due--customer-space-module-master/src/contents/dashboard/loyalty-card/LoyaltyCardAdminButton.vue +31 -0
- package/cdp-due--customer-space-module-master/src/contents/dashboard/loyalty-card/LoyaltyCardBasic.vue +233 -0
- package/cdp-due--customer-space-module-master/src/contents/dashboard/loyalty-card/LoyaltyCardBenefit.vue +52 -0
- package/cdp-due--customer-space-module-master/src/contents/dashboard/loyalty-card/LoyaltyProgramsList.vue +80 -0
- package/cdp-due--customer-space-module-master/src/contents/dashboard/loyalty-card/ProgramCard.vue +109 -0
- package/cdp-due--customer-space-module-master/src/contents/dashboard/loyalty-card/loyalty-card-pass-maison/LoyaltyCardPassMaison.vue +96 -0
- package/cdp-due--customer-space-module-master/src/contents/dashboard/loyalty-card/loyalty-card-pass-maison/LoyaltyCardPassMaisonModal.vue +32 -0
- package/cdp-due--customer-space-module-master/src/contents/dashboard/loyalty-card/trackingEvents.js +28 -0
- package/cdp-due--customer-space-module-master/src/contents/dashboard/rattachCustomer/RattachCustomerLayer.vue +160 -0
- package/cdp-due--customer-space-module-master/src/contents/dashboard/rattachCustomer/module/actions.js +95 -0
- package/cdp-due--customer-space-module-master/src/contents/dashboard/rattachCustomer/module/constants.js +21 -0
- package/cdp-due--customer-space-module-master/src/contents/dashboard/rattachCustomer/module/getters.js +7 -0
- package/cdp-due--customer-space-module-master/src/contents/dashboard/rattachCustomer/module/index.js +19 -0
- package/cdp-due--customer-space-module-master/src/contents/dashboard/rattachCustomer/module/mutations.js +12 -0
- package/cdp-due--customer-space-module-master/src/contents/dashboard/rattachCustomer/rattachCustomerConfig.js +15 -0
- package/cdp-due--customer-space-module-master/src/contents/dashboard/trackingEvents.js +63 -0
- package/cdp-due--customer-space-module-master/src/contents/discounts/MyDiscountsPage.vue +45 -0
- package/cdp-due--customer-space-module-master/src/contents/discounts/__tests__/myDiscountsPage.rules.test.js +17 -0
- package/cdp-due--customer-space-module-master/src/contents/discounts/components/BoxContainer.vue +50 -0
- package/cdp-due--customer-space-module-master/src/contents/discounts/components/DiscountElement.vue +115 -0
- package/cdp-due--customer-space-module-master/src/contents/discounts/components/InformationBox/InformationBox/Container/InformationBoxContainer.vue +48 -0
- package/cdp-due--customer-space-module-master/src/contents/discounts/components/InformationBox/InformationBox/Text/InformationBoxText.vue +27 -0
- package/cdp-due--customer-space-module-master/src/contents/discounts/components/InformationBox/InformationBox/Title/InformationBoxTitle.vue +23 -0
- package/cdp-due--customer-space-module-master/src/contents/discounts/components/InformationBox/NoCustomRewards/NoCustomRewards.vue +41 -0
- package/cdp-due--customer-space-module-master/src/contents/discounts/components/InformationBox/PointsWhenNoRewards/PointsWhenNoRewards.vue +33 -0
- package/cdp-due--customer-space-module-master/src/contents/discounts/components/InformationBox/PointsWhenNoRewards/pointsWhenNoRewards.composable.js +13 -0
- package/cdp-due--customer-space-module-master/src/contents/discounts/components/InformationBox/PointsWhenNoRewards/pointsWhenNoRewards.rules.js +13 -0
- package/cdp-due--customer-space-module-master/src/contents/discounts/components/MyDiscountsSection.vue +52 -0
- package/cdp-due--customer-space-module-master/src/contents/discounts/components/TransformPointsBox.vue +70 -0
- package/cdp-due--customer-space-module-master/src/contents/discounts/components/transformPointsBox.rules.js +18 -0
- package/cdp-due--customer-space-module-master/src/contents/discounts/constants.js +81 -0
- package/cdp-due--customer-space-module-master/src/contents/discounts/custom-discount-section/CustomDiscountSection.vue +148 -0
- package/cdp-due--customer-space-module-master/src/contents/discounts/custom-discount-section/custom-discount/CustomDiscount.events.js +18 -0
- package/cdp-due--customer-space-module-master/src/contents/discounts/custom-discount-section/custom-discount/CustomDiscount.vue +88 -0
- package/cdp-due--customer-space-module-master/src/contents/discounts/custom-discount-section/custom-discount/CustomDiscounts.rules.js +9 -0
- package/cdp-due--customer-space-module-master/src/contents/discounts/custom-discount-section/custom-discount/customDiscount.composable.js +20 -0
- package/cdp-due--customer-space-module-master/src/contents/discounts/custom-discount-section/rules.js +15 -0
- package/cdp-due--customer-space-module-master/src/contents/discounts/discount-layer/DiscountLayer.vue +206 -0
- package/cdp-due--customer-space-module-master/src/contents/discounts/discount-layer/__tests__/discountLayer.rules.test.js +115 -0
- package/cdp-due--customer-space-module-master/src/contents/discounts/discount-layer/constants.js +3 -0
- package/cdp-due--customer-space-module-master/src/contents/discounts/discount-layer/discountLayer.rules.js +22 -0
- package/cdp-due--customer-space-module-master/src/contents/discounts/discount-layer/useDiscountLayer.js +58 -0
- package/cdp-due--customer-space-module-master/src/contents/discounts/discount-outdated-layer/DiscountOutdatedLayer.events.js +13 -0
- package/cdp-due--customer-space-module-master/src/contents/discounts/discount-outdated-layer/DiscountOutdatedLayer.rules.js +15 -0
- package/cdp-due--customer-space-module-master/src/contents/discounts/discount-outdated-layer/DiscountOutdatedLayer.vue +97 -0
- package/cdp-due--customer-space-module-master/src/contents/discounts/discount-outdated-layer/constants.js +33 -0
- package/cdp-due--customer-space-module-master/src/contents/discounts/discount-outdated-layer/useDiscountOutdatedLayer.js +41 -0
- package/cdp-due--customer-space-module-master/src/contents/discounts/module/actions.js +70 -0
- package/cdp-due--customer-space-module-master/src/contents/discounts/module/constants.js +27 -0
- package/cdp-due--customer-space-module-master/src/contents/discounts/module/getters.js +40 -0
- package/cdp-due--customer-space-module-master/src/contents/discounts/module/index.js +31 -0
- package/cdp-due--customer-space-module-master/src/contents/discounts/module/mutations.js +25 -0
- package/cdp-due--customer-space-module-master/src/contents/discounts/my-rewards-section/MyRewardsSection.vue +50 -0
- package/cdp-due--customer-space-module-master/src/contents/discounts/my-rewards-section/__tests__/myRewardsSection.rules.test.js +20 -0
- package/cdp-due--customer-space-module-master/src/contents/discounts/my-rewards-section/myRewardsSection.composable.js +17 -0
- package/cdp-due--customer-space-module-master/src/contents/discounts/my-rewards-section/myRewardsSection.rules.js +15 -0
- package/cdp-due--customer-space-module-master/src/contents/discounts/myDiscountsPage.composable.js +23 -0
- package/cdp-due--customer-space-module-master/src/contents/discounts/myDiscountsPage.rules.js +6 -0
- package/cdp-due--customer-space-module-master/src/contents/discounts/no-rewards/NoRewards.vue +80 -0
- package/cdp-due--customer-space-module-master/src/contents/discounts/no-rewards/noRewards.rules.js +14 -0
- package/cdp-due--customer-space-module-master/src/contents/discounts/routes.js +29 -0
- package/cdp-due--customer-space-module-master/src/contents/discounts/tracking/trackingEvents.js +7 -0
- package/cdp-due--customer-space-module-master/src/contents/errors/Error.vue +70 -0
- package/cdp-due--customer-space-module-master/src/contents/errors/ErrorNotAuthorized.vue +14 -0
- package/cdp-due--customer-space-module-master/src/contents/errors/ErrorNotFound.vue +10 -0
- package/cdp-due--customer-space-module-master/src/contents/errors/ErrorUnknown.vue +10 -0
- package/cdp-due--customer-space-module-master/src/contents/estimate/box/EstimateBox.vue +168 -0
- package/cdp-due--customer-space-module-master/src/contents/estimate/constants.js +26 -0
- package/cdp-due--customer-space-module-master/src/contents/estimate/estimateDetailPage/EstimateDetailPage.vue +180 -0
- package/cdp-due--customer-space-module-master/src/contents/estimate/estimateDetailPage/estimateDetailPage.composable.js +37 -0
- package/cdp-due--customer-space-module-master/src/contents/estimate/estimateDetailPage/estimateDetailPage.events.js +6 -0
- package/cdp-due--customer-space-module-master/src/contents/estimate/estimateDetailPage/estimateDetailPage.requests.js +18 -0
- package/cdp-due--customer-space-module-master/src/contents/estimate/estimateDetailPage/estimateDetailPage.rules.js +24 -0
- package/cdp-due--customer-space-module-master/src/contents/estimate/estimatesListPage/EstimatesListPage.vue +93 -0
- package/cdp-due--customer-space-module-master/src/contents/estimate/estimatesListPage/estimatesListPage.composable.js +47 -0
- package/cdp-due--customer-space-module-master/src/contents/estimate/estimatesListPage/estimatesListPage.requests.js +34 -0
- package/cdp-due--customer-space-module-master/src/contents/estimate/estimatesListPage/estimatesListPage.rules.js +17 -0
- package/cdp-due--customer-space-module-master/src/contents/estimate/module/index.js +19 -0
- package/cdp-due--customer-space-module-master/src/contents/estimate/routes.js +53 -0
- package/cdp-due--customer-space-module-master/src/contents/estimate/trackingEvents.js +15 -0
- package/cdp-due--customer-space-module-master/src/contents/kazaplan/KazaplanLandingPage.vue +128 -0
- package/cdp-due--customer-space-module-master/src/contents/kazaplan/KazaplanLandingPageConfig.js +40 -0
- package/cdp-due--customer-space-module-master/src/contents/kazaplan/KazaplanListPage.vue +201 -0
- package/cdp-due--customer-space-module-master/src/contents/kazaplan/kazaplan-plan-page/KazaplanAuthentPage.vue +18 -0
- package/cdp-due--customer-space-module-master/src/contents/kazaplan/kazaplan-plan-page/KazaplanPlanPage.vue +23 -0
- package/cdp-due--customer-space-module-master/src/contents/kazaplan/kazaplan-plan-page/useKazaplanPlan.js +80 -0
- package/cdp-due--customer-space-module-master/src/contents/kazaplan/module/actions.js +29 -0
- package/cdp-due--customer-space-module-master/src/contents/kazaplan/module/constants.js +6 -0
- package/cdp-due--customer-space-module-master/src/contents/kazaplan/module/getters.js +5 -0
- package/cdp-due--customer-space-module-master/src/contents/kazaplan/module/index.js +16 -0
- package/cdp-due--customer-space-module-master/src/contents/kazaplan/module/mutations.js +7 -0
- package/cdp-due--customer-space-module-master/src/contents/kazaplan/routes.js +89 -0
- package/cdp-due--customer-space-module-master/src/contents/kazaplan/trackingEvents.js +15 -0
- package/cdp-due--customer-space-module-master/src/contents/layout/LayoutHeader.vue +224 -0
- package/cdp-due--customer-space-module-master/src/contents/layout/LayoutPage.vue +32 -0
- package/cdp-due--customer-space-module-master/src/contents/layout/banners/BannerUserInfoCollaborator.vue +43 -0
- package/cdp-due--customer-space-module-master/src/contents/loyalty/LoyaltyCardDetailsPage.vue +205 -0
- package/cdp-due--customer-space-module-master/src/contents/loyalty/LoyaltyPage.vue +262 -0
- package/cdp-due--customer-space-module-master/src/contents/loyalty/adherent-card/LoyaltyAdherentCardPage.no-layout.vue +49 -0
- package/cdp-due--customer-space-module-master/src/contents/loyalty/adherent-card/OnDisplayStepAnalyticsWrapper.vue +16 -0
- package/cdp-due--customer-space-module-master/src/contents/loyalty/adherent-card/composables/utils/__tests__/defineFormValues.js +68 -0
- package/cdp-due--customer-space-module-master/src/contents/loyalty/adherent-card/constants/notifications.js +25 -0
- package/cdp-due--customer-space-module-master/src/contents/loyalty/adherent-card/constants/storage.js +1 -0
- package/cdp-due--customer-space-module-master/src/contents/loyalty/adherent-card/constants/tracking.js +83 -0
- package/cdp-due--customer-space-module-master/src/contents/loyalty/adherent-card/constants/translations.js +13 -0
- package/cdp-due--customer-space-module-master/src/contents/loyalty/adherent-card/loyaltyAdherentPage.composable.js +178 -0
- package/cdp-due--customer-space-module-master/src/contents/loyalty/adherent-card/loyaltyAdherentPage.rules.js +130 -0
- package/cdp-due--customer-space-module-master/src/contents/loyalty/adherent-card/submit/createLoyaltyPayload.js +14 -0
- package/cdp-due--customer-space-module-master/src/contents/loyalty/adherent-card/submit/handleAdditionalFields.js +6 -0
- package/cdp-due--customer-space-module-master/src/contents/loyalty/adherent-card/submit/handleIGeneralInfos.js +11 -0
- package/cdp-due--customer-space-module-master/src/contents/loyalty/adherent-card/submit/handleProfessionalInfos.js +16 -0
- package/cdp-due--customer-space-module-master/src/contents/loyalty/adherent-card/submit/handleSubmit.js +38 -0
- package/cdp-due--customer-space-module-master/src/contents/loyalty/adherent-card/submit/submit.js +60 -0
- package/cdp-due--customer-space-module-master/src/contents/loyalty/coOwner-invitation/CoOwnerInvitation.vue +16 -0
- package/cdp-due--customer-space-module-master/src/contents/loyalty/coOwner-invitation/CoOwnerInvitationPage.vue +10 -0
- package/cdp-due--customer-space-module-master/src/contents/loyalty/coOwner-invitation/__tests__/coOwnerInvitation.rules.test.js +52 -0
- package/cdp-due--customer-space-module-master/src/contents/loyalty/coOwner-invitation/coOwnerInvitation.composable.js +32 -0
- package/cdp-due--customer-space-module-master/src/contents/loyalty/coOwner-invitation/coOwnerInvitation.rules.js +30 -0
- package/cdp-due--customer-space-module-master/src/contents/loyalty/coOwner-invitation/coOwnerInvitationPage.composable.js +8 -0
- package/cdp-due--customer-space-module-master/src/contents/loyalty/coOwner-invitation/expired/CoOwnerInvitationExpired.vue +80 -0
- package/cdp-due--customer-space-module-master/src/contents/loyalty/coOwner-invitation/expired/coOwnerInvitationExpired.composable.js +20 -0
- package/cdp-due--customer-space-module-master/src/contents/loyalty/coOwner-invitation/notification/CoOwnerInvitationNotification.vue +54 -0
- package/cdp-due--customer-space-module-master/src/contents/loyalty/coOwner-invitation/notification/__tests__/coOwnerInvitationNotification.rules.test.js +23 -0
- package/cdp-due--customer-space-module-master/src/contents/loyalty/coOwner-invitation/notification/coOwnerInvitationNotification.composable.js +37 -0
- package/cdp-due--customer-space-module-master/src/contents/loyalty/coOwner-invitation/notification/coOwnerInvitationNotification.rules.js +31 -0
- package/cdp-due--customer-space-module-master/src/contents/loyalty/coOwner-invitation/valid/CoOwnerInvitationValid.vue +171 -0
- package/cdp-due--customer-space-module-master/src/contents/loyalty/coOwner-invitation/valid/__tests__/coOwnerInvitationValid.rules.test.js +55 -0
- package/cdp-due--customer-space-module-master/src/contents/loyalty/coOwner-invitation/valid/coOwnerInvitationValid.composable.js +59 -0
- package/cdp-due--customer-space-module-master/src/contents/loyalty/coOwner-invitation/valid/coOwnerInvitationValid.rules.js +26 -0
- package/cdp-due--customer-space-module-master/src/contents/loyalty/coOwner-invitation/wrong-account/CoOwnerInvitationWrongAccount.vue +81 -0
- package/cdp-due--customer-space-module-master/src/contents/loyalty/constants.js +21 -0
- package/cdp-due--customer-space-module-master/src/contents/loyalty/history-points/HistoryPointsPage.vue +104 -0
- package/cdp-due--customer-space-module-master/src/contents/loyalty/history-points/__tests__/historyPointsPage.rules.test.js +146 -0
- package/cdp-due--customer-space-module-master/src/contents/loyalty/history-points/historyPointsPage.composable.js +60 -0
- package/cdp-due--customer-space-module-master/src/contents/loyalty/history-points/historyPointsPage.request.js +19 -0
- package/cdp-due--customer-space-module-master/src/contents/loyalty/history-points/historyPointsPage.rules.js +63 -0
- package/cdp-due--customer-space-module-master/src/contents/loyalty/history-points/module/index.js +21 -0
- package/cdp-due--customer-space-module-master/src/contents/loyalty/loyalty-card/LoyaltyCard.vue +64 -0
- package/cdp-due--customer-space-module-master/src/contents/loyalty/loyalty-card/LoyaltyCardApp.vue +169 -0
- package/cdp-due--customer-space-module-master/src/contents/loyalty/loyalty-card/LoyaltyCardEverywhere.vue +138 -0
- package/cdp-due--customer-space-module-master/src/contents/loyalty/loyalty-card/LoyaltyCardFunding.default.vue +3 -0
- package/cdp-due--customer-space-module-master/src/contents/loyalty/loyalty-card/LoyaltyCardFunding.frlm.vue +7 -0
- package/cdp-due--customer-space-module-master/src/contents/loyalty/loyalty-card/LoyaltyCardFunding.vue +103 -0
- package/cdp-due--customer-space-module-master/src/contents/loyalty/loyalty-card/LoyaltyCardHeader.vue +49 -0
- package/cdp-due--customer-space-module-master/src/contents/loyalty/loyalty-card/LoyaltyCardOwned.vue +60 -0
- package/cdp-due--customer-space-module-master/src/contents/loyalty/loyalty-card/LoyaltyCardQuestion.vue +58 -0
- package/cdp-due--customer-space-module-master/src/contents/loyalty/loyalty-card/LoyaltyCardTou.vue +34 -0
- package/cdp-due--customer-space-module-master/src/contents/loyalty/loyalty-card/loyalty-card-advantages/LoyaltyCardAdvantages.vue +232 -0
- package/cdp-due--customer-space-module-master/src/contents/loyalty/loyalty-card/loyaltyCardApp.rules.js +13 -0
- package/cdp-due--customer-space-module-master/src/contents/loyalty/loyalty-card/loyaltyCardTou.rules.js +13 -0
- package/cdp-due--customer-space-module-master/src/contents/loyalty/loyalty-page-components/advantageConfig.js +31 -0
- package/cdp-due--customer-space-module-master/src/contents/loyalty/loyalty-page-components/loyalty-stop/LoyaltyStop.vue +80 -0
- package/cdp-due--customer-space-module-master/src/contents/loyalty/loyalty-page-components/loyalty-stop/LoyaltyStopModal.vue +86 -0
- package/cdp-due--customer-space-module-master/src/contents/loyalty/loyalty-page-components/loyalty-stop/loyaltyStop.composable.js +49 -0
- package/cdp-due--customer-space-module-master/src/contents/loyalty/loyalty-page-components/loyalty-stop/loyaltyStop.rules.js +20 -0
- package/cdp-due--customer-space-module-master/src/contents/loyalty/loyalty-page-components/my-advantages/MyAdvantages.vue +77 -0
- package/cdp-due--customer-space-module-master/src/contents/loyalty/loyalty-page-components/my-advantages/advantagesConfig.frlm.js +191 -0
- package/cdp-due--customer-space-module-master/src/contents/loyalty/loyalty-page-components/my-advantages/advantagesConfig.itlm.js +177 -0
- package/cdp-due--customer-space-module-master/src/contents/loyalty/loyalty-page-components/my-discount/Discount.vue +148 -0
- package/cdp-due--customer-space-module-master/src/contents/loyalty/loyalty-page-components/my-discount/DiscountContainer.vue +51 -0
- package/cdp-due--customer-space-module-master/src/contents/loyalty/loyalty-page-components/partner-platform-loyalty/PartnerPlatformLoyalty.vue +62 -0
- package/cdp-due--customer-space-module-master/src/contents/loyalty/loyalty-page-components/partner-platform-loyalty/partenerPlatformLoylaty.composable.js +16 -0
- package/cdp-due--customer-space-module-master/src/contents/loyalty/loyaltyCardDetailsPage.rules.js +17 -0
- package/cdp-due--customer-space-module-master/src/contents/loyalty/loyaltyPageStyle.scss +114 -0
- package/cdp-due--customer-space-module-master/src/contents/loyalty/module/actions.js +124 -0
- package/cdp-due--customer-space-module-master/src/contents/loyalty/module/constants.js +37 -0
- package/cdp-due--customer-space-module-master/src/contents/loyalty/module/getters.js +21 -0
- package/cdp-due--customer-space-module-master/src/contents/loyalty/module/index.js +31 -0
- package/cdp-due--customer-space-module-master/src/contents/loyalty/module/mutations.js +26 -0
- package/cdp-due--customer-space-module-master/src/contents/loyalty/partnerPlatformLoyalty.rules.js +13 -0
- package/cdp-due--customer-space-module-master/src/contents/loyalty/refacto/Advantage.vue +131 -0
- package/cdp-due--customer-space-module-master/src/contents/loyalty/refacto/DiscoverLoyaltyBenefitsPage.vue +135 -0
- package/cdp-due--customer-space-module-master/src/contents/loyalty/refacto/InformationCard.vue +36 -0
- package/cdp-due--customer-space-module-master/src/contents/loyalty/refacto/Reward.vue +143 -0
- package/cdp-due--customer-space-module-master/src/contents/loyalty/refacto/Rewards.vue +115 -0
- package/cdp-due--customer-space-module-master/src/contents/loyalty/refacto/ShowMoreButton.vue +57 -0
- package/cdp-due--customer-space-module-master/src/contents/loyalty/refacto/StoreChoice.vue +31 -0
- package/cdp-due--customer-space-module-master/src/contents/loyalty/refacto/StoreChoicePage.vue +43 -0
- package/cdp-due--customer-space-module-master/src/contents/loyalty/refacto/my-loyalty-page/MyLoyaltyNoLoyalty.vue +52 -0
- package/cdp-due--customer-space-module-master/src/contents/loyalty/refacto/my-loyalty-page/MyLoyaltyPage.vue +188 -0
- package/cdp-due--customer-space-module-master/src/contents/loyalty/refacto/my-loyalty-page/__tests__/myLoyaltyPage.rules.test.js +35 -0
- package/cdp-due--customer-space-module-master/src/contents/loyalty/refacto/my-loyalty-page/co-owners/CoOwners.vue +33 -0
- package/cdp-due--customer-space-module-master/src/contents/loyalty/refacto/my-loyalty-page/myLoyaltyPage.composable.js +31 -0
- package/cdp-due--customer-space-module-master/src/contents/loyalty/refacto/my-loyalty-page/myLoyaltyPage.rules.js +42 -0
- package/cdp-due--customer-space-module-master/src/contents/loyalty/refacto/my-loyalty-page/useLoyaltyCardComponent.js +16 -0
- package/cdp-due--customer-space-module-master/src/contents/loyalty/refacto/rewards.composable.js +73 -0
- package/cdp-due--customer-space-module-master/src/contents/loyalty/refacto/rewards.rules.js +32 -0
- package/cdp-due--customer-space-module-master/src/contents/loyalty/refacto/useRewards.js +10 -0
- package/cdp-due--customer-space-module-master/src/contents/loyalty/routes.js +207 -0
- package/cdp-due--customer-space-module-master/src/contents/loyalty/trackingEvents.js +111 -0
- package/cdp-due--customer-space-module-master/src/contents/loyalty/transform-points/LoyaltyTransformPointsPage.vue +189 -0
- package/cdp-due--customer-space-module-master/src/contents/loyalty/transform-points/availablePointsTransformation.composable.js +29 -0
- package/cdp-due--customer-space-module-master/src/contents/loyalty/transform-points/layer/CustomRewardLayer.vue +110 -0
- package/cdp-due--customer-space-module-master/src/contents/loyalty/transform-points/layer/FixedRewardLayer.vue +128 -0
- package/cdp-due--customer-space-module-master/src/contents/loyalty/transform-points/layer/components/LayerButton.vue +45 -0
- package/cdp-due--customer-space-module-master/src/contents/loyalty/transform-points/layer/components/TextBlockDescription.vue +31 -0
- package/cdp-due--customer-space-module-master/src/contents/loyalty/transform-points/layer/components/TextBlockTitle.vue +31 -0
- package/cdp-due--customer-space-module-master/src/contents/loyalty/transform-points/layer/loyaltyFixedPointsTransformation.composable.js +40 -0
- package/cdp-due--customer-space-module-master/src/contents/loyalty/transform-points/layer/loyaltyTransformPointsPageCustomizableLayer.composable.js +96 -0
- package/cdp-due--customer-space-module-master/src/contents/loyalty/transform-points/layer/loyaltyTransformPointsPageLayer.rules.js +61 -0
- package/cdp-due--customer-space-module-master/src/contents/loyalty/transform-points/loyaltyTransformPointsPage.composable.js +65 -0
- package/cdp-due--customer-space-module-master/src/contents/loyalty/transform-points/loyaltyTransformPointsPage.rules.js +137 -0
- package/cdp-due--customer-space-module-master/src/contents/loyalty/transform-points/points/PointsComment.vue +20 -0
- package/cdp-due--customer-space-module-master/src/contents/loyalty/transform-points/points/PointsSubComment.vue +25 -0
- package/cdp-due--customer-space-module-master/src/contents/loyalty/transform-points/points/PointsTitle.vue +39 -0
- package/cdp-due--customer-space-module-master/src/contents/menu/CustomerHeader.vue +84 -0
- package/cdp-due--customer-space-module-master/src/contents/menu/customerHeader.rules.js +11 -0
- package/cdp-due--customer-space-module-master/src/contents/personal-data/PersonalDataPage.vue +21 -0
- package/cdp-due--customer-space-module-master/src/contents/personal-data/module/index.js +18 -0
- package/cdp-due--customer-space-module-master/src/contents/personal-data/personal-data-account/PersonalDataAccount.vue +20 -0
- package/cdp-due--customer-space-module-master/src/contents/personal-data/personal-data-account/__tests__/personalDataAccountConfig.rules.test.js +44 -0
- package/cdp-due--customer-space-module-master/src/contents/personal-data/personal-data-account/account-addresses/AccountAddressContent.default.vue +26 -0
- package/cdp-due--customer-space-module-master/src/contents/personal-data/personal-data-account/account-addresses/AccountAddressContent.eslm.vue +28 -0
- package/cdp-due--customer-space-module-master/src/contents/personal-data/personal-data-account/account-addresses/AccountAddressContent.itlm.vue +28 -0
- package/cdp-due--customer-space-module-master/src/contents/personal-data/personal-data-account/account-addresses/AccountAddresses.vue +278 -0
- package/cdp-due--customer-space-module-master/src/contents/personal-data/personal-data-account/account-addresses/LayerDeleteAddress.vue +78 -0
- package/cdp-due--customer-space-module-master/src/contents/personal-data/personal-data-account/account-addresses/LayerMainAddresses.vue +155 -0
- package/cdp-due--customer-space-module-master/src/contents/personal-data/personal-data-account/account-addresses/account-address-edit/AddressEditLayer.vue +257 -0
- package/cdp-due--customer-space-module-master/src/contents/personal-data/personal-data-account/account-addresses/additionalInfoFields.rules.js +102 -0
- package/cdp-due--customer-space-module-master/src/contents/personal-data/personal-data-account/account-addresses/address-usages/AddressUsages.vue +41 -0
- package/cdp-due--customer-space-module-master/src/contents/personal-data/personal-data-account/account-addresses/address-usages/__tests__/addressUsages.rules.test.js +67 -0
- package/cdp-due--customer-space-module-master/src/contents/personal-data/personal-data-account/account-addresses/address-usages/addressUsages.composable.js +22 -0
- package/cdp-due--customer-space-module-master/src/contents/personal-data/personal-data-account/account-addresses/address-usages/addressUsages.rules.js +19 -0
- package/cdp-due--customer-space-module-master/src/contents/personal-data/personal-data-account/account-addresses/addressEditConfig.js +21 -0
- package/cdp-due--customer-space-module-master/src/contents/personal-data/personal-data-account/account-addresses/addressEditMainConfig.js +7 -0
- package/cdp-due--customer-space-module-master/src/contents/personal-data/personal-data-account/account-addresses/useAdditionalInfoFields.js +15 -0
- package/cdp-due--customer-space-module-master/src/contents/personal-data/personal-data-account/account-company/AccountCompany.vue +38 -0
- package/cdp-due--customer-space-module-master/src/contents/personal-data/personal-data-account/account-company/account-company-form/AccountCompanyForm.vue +59 -0
- package/cdp-due--customer-space-module-master/src/contents/personal-data/personal-data-account/account-company/account-company-form/accountCompanyForm.composable.js +142 -0
- package/cdp-due--customer-space-module-master/src/contents/personal-data/personal-data-account/account-company/account-company-form/accountCompanyForm.requests.js +14 -0
- package/cdp-due--customer-space-module-master/src/contents/personal-data/personal-data-account/account-company/account-company-form/accountCompanyForm.rules.js +64 -0
- package/cdp-due--customer-space-module-master/src/contents/personal-data/personal-data-account/account-moving-date/AccountMovingDate.vue +73 -0
- package/cdp-due--customer-space-module-master/src/contents/personal-data/personal-data-account/account-moving-date/accountMovingDate.composable.js +68 -0
- package/cdp-due--customer-space-module-master/src/contents/personal-data/personal-data-account/account-moving-date/accountMovingDateConfig.js +9 -0
- package/cdp-due--customer-space-module-master/src/contents/personal-data/personal-data-account/account-password/AccountPassword.vue +167 -0
- package/cdp-due--customer-space-module-master/src/contents/personal-data/personal-data-account/account-password/accountPasswordDetailFormConfig.js +29 -0
- package/cdp-due--customer-space-module-master/src/contents/personal-data/personal-data-account/account-payment/AccountPayment.vue +138 -0
- package/cdp-due--customer-space-module-master/src/contents/personal-data/personal-data-account/account-payment/AccountPaymentCardBox.vue +173 -0
- package/cdp-due--customer-space-module-master/src/contents/personal-data/personal-data-account/account-payment/AccountPaymentDeleteModal.vue +71 -0
- package/cdp-due--customer-space-module-master/src/contents/personal-data/personal-data-account/account-payment/AccountPaymentRenameLayer.vue +72 -0
- package/cdp-due--customer-space-module-master/src/contents/personal-data/personal-data-account/account-payment/__tests__/payment.rules.test.js +37 -0
- package/cdp-due--customer-space-module-master/src/contents/personal-data/personal-data-account/account-payment/payment.composable.js +135 -0
- package/cdp-due--customer-space-module-master/src/contents/personal-data/personal-data-account/account-payment/payment.rules.js +38 -0
- package/cdp-due--customer-space-module-master/src/contents/personal-data/personal-data-account/account-phones/AccountPhones.vue +78 -0
- package/cdp-due--customer-space-module-master/src/contents/personal-data/personal-data-account/account-phones/account-phone/AccountPhone.vue +80 -0
- package/cdp-due--customer-space-module-master/src/contents/personal-data/personal-data-account/account-phones/account-phone/accountPhone.rules.js +22 -0
- package/cdp-due--customer-space-module-master/src/contents/personal-data/personal-data-account/account-phones/accountPhones.composable.js +50 -0
- package/cdp-due--customer-space-module-master/src/contents/personal-data/personal-data-account/account-phones/accountPhones.rules.js +7 -0
- package/cdp-due--customer-space-module-master/src/contents/personal-data/personal-data-account/account-phones/phonesEditConfig.js +9 -0
- package/cdp-due--customer-space-module-master/src/contents/personal-data/personal-data-account/account-profile/AccountProfile.vue +130 -0
- package/cdp-due--customer-space-module-master/src/contents/personal-data/personal-data-account/account-profile/__tests__/AccountProfile.rules.test.js +78 -0
- package/cdp-due--customer-space-module-master/src/contents/personal-data/personal-data-account/account-profile/accountProfile.rules.js +155 -0
- package/cdp-due--customer-space-module-master/src/contents/personal-data/personal-data-account/account-profile/form/AccountProfileForm.eslm.vue +66 -0
- package/cdp-due--customer-space-module-master/src/contents/personal-data/personal-data-account/account-profile/form/AccountProfileForm.frlm.vue +34 -0
- package/cdp-due--customer-space-module-master/src/contents/personal-data/personal-data-account/account-profile/form/AccountProfileForm.itlm.vue +94 -0
- package/cdp-due--customer-space-module-master/src/contents/personal-data/personal-data-account/account-profile/form/AccountProfileForm.pllm.vue +35 -0
- package/cdp-due--customer-space-module-master/src/contents/personal-data/personal-data-account/account-profile/form/AccountProfileForm.ptlm.vue +69 -0
- package/cdp-due--customer-space-module-master/src/contents/personal-data/personal-data-account/account-profile/form/AccountProfileForm.vue +104 -0
- package/cdp-due--customer-space-module-master/src/contents/personal-data/personal-data-account/account-profile/form/AccountProfilesForm.rules.js +163 -0
- package/cdp-due--customer-space-module-master/src/contents/personal-data/personal-data-account/account-profile/form/__tests__/AccountProfileForm.rules.test.js +114 -0
- package/cdp-due--customer-space-module-master/src/contents/personal-data/personal-data-account/account-profile/form/accountProfileForm.composable.js +72 -0
- package/cdp-due--customer-space-module-master/src/contents/personal-data/personal-data-account/account-profile/form/accountProfileForm.translations.js +8 -0
- package/cdp-due--customer-space-module-master/src/contents/personal-data/personal-data-account/account-profile/form/accountProfileFormConfig.js +128 -0
- package/cdp-due--customer-space-module-master/src/contents/personal-data/personal-data-account/account-profile/useAccountProfile.js +51 -0
- package/cdp-due--customer-space-module-master/src/contents/personal-data/personal-data-account/account-store/AccountStore.vue +69 -0
- package/cdp-due--customer-space-module-master/src/contents/personal-data/personal-data-account/account-store/EditStoreLayer.vue +88 -0
- package/cdp-due--customer-space-module-master/src/contents/personal-data/personal-data-account/account-store/storesConfig.js +11 -0
- package/cdp-due--customer-space-module-master/src/contents/personal-data/personal-data-account/personalDataAccount.requests.js +66 -0
- package/cdp-due--customer-space-module-master/src/contents/personal-data/personal-data-account/personalDataAccountConfig.rules.js +46 -0
- package/cdp-due--customer-space-module-master/src/contents/personal-data/personal-data-account/trackingEvents.js +59 -0
- package/cdp-due--customer-space-module-master/src/contents/personal-data/personal-data-community/PersonalDataCommunity.vue +31 -0
- package/cdp-due--customer-space-module-master/src/contents/personal-data/personal-data-community/community-avatar/CommunityAvatar.vue +121 -0
- package/cdp-due--customer-space-module-master/src/contents/personal-data/personal-data-community/community-create/CommunityCreate.vue +34 -0
- package/cdp-due--customer-space-module-master/src/contents/personal-data/personal-data-community/community-create/CommunityCreateNickname.vue +213 -0
- package/cdp-due--customer-space-module-master/src/contents/personal-data/personal-data-community/community-infos/CommunityInfos.vue +94 -0
- package/cdp-due--customer-space-module-master/src/contents/personal-data/personal-data-community/community-infos/communityDetailFormConfig.js +28 -0
- package/cdp-due--customer-space-module-master/src/contents/personal-data/personal-data-community/community-none/CommunityNone.vue +65 -0
- package/cdp-due--customer-space-module-master/src/contents/personal-data/routes.js +78 -0
- package/cdp-due--customer-space-module-master/src/contents/personal-data/translations.js +19 -0
- package/cdp-due--customer-space-module-master/src/contents/projects-and-tools/projectsAndToolsConfig.js +38 -0
- package/cdp-due--customer-space-module-master/src/contents/projects-and-tools/projectsAndToolsPage.vue +16 -0
- package/cdp-due--customer-space-module-master/src/contents/projects-and-tools/routes.js +25 -0
- package/cdp-due--customer-space-module-master/src/contents/purchase-receipt/__tests__/purchaseReceiptDetail.rules.test.js +52 -0
- package/cdp-due--customer-space-module-master/src/contents/purchase-receipt/composables/chooseAddress.composable.js +186 -0
- package/cdp-due--customer-space-module-master/src/contents/purchase-receipt/composables/donwloadInvoice.composable.js +33 -0
- package/cdp-due--customer-space-module-master/src/contents/purchase-receipt/composables/editAddress.composable.js +103 -0
- package/cdp-due--customer-space-module-master/src/contents/purchase-receipt/composables/generationInvoice.composable.js +68 -0
- package/cdp-due--customer-space-module-master/src/contents/purchase-receipt/composables/invoice.requests.js +21 -0
- package/cdp-due--customer-space-module-master/src/contents/purchase-receipt/composables/invoiceGenerationHandler.composable.js +40 -0
- package/cdp-due--customer-space-module-master/src/contents/purchase-receipt/composables/layerGenerate.composable.js +84 -0
- package/cdp-due--customer-space-module-master/src/contents/purchase-receipt/composables/receiptDetail.js +72 -0
- package/cdp-due--customer-space-module-master/src/contents/purchase-receipt/composables/receiptDetailQuery.composable.js +31 -0
- package/cdp-due--customer-space-module-master/src/contents/purchase-receipt/layers/ChooseAddress.vue +318 -0
- package/cdp-due--customer-space-module-master/src/contents/purchase-receipt/layers/DownloadInvoiceFailed.vue +48 -0
- package/cdp-due--customer-space-module-master/src/contents/purchase-receipt/layers/EditAddress.vue +190 -0
- package/cdp-due--customer-space-module-master/src/contents/purchase-receipt/layers/GenerationInvoice.vue +87 -0
- package/cdp-due--customer-space-module-master/src/contents/purchase-receipt/layers/GenerationInvoiceFailed.vue +53 -0
- package/cdp-due--customer-space-module-master/src/contents/purchase-receipt/layers/LayerGenerate.vue +69 -0
- package/cdp-due--customer-space-module-master/src/contents/purchase-receipt/layers/layerAddressesConfig.js +44 -0
- package/cdp-due--customer-space-module-master/src/contents/purchase-receipt/module/index.js +37 -0
- package/cdp-due--customer-space-module-master/src/contents/purchase-receipt/receipt-detail/DepositReceiptBoxProduct.vue +170 -0
- package/cdp-due--customer-space-module-master/src/contents/purchase-receipt/receipt-detail/PurchaseReceiptBoxProduct.vue +220 -0
- package/cdp-due--customer-space-module-master/src/contents/purchase-receipt/receipt-detail/PurchaseReceiptDetailPage.vue +476 -0
- package/cdp-due--customer-space-module-master/src/contents/purchase-receipt/receipt-detail/depositReceiptBoxProduct.rules.js +7 -0
- package/cdp-due--customer-space-module-master/src/contents/purchase-receipt/receipt-detail/purchaseReceiptDetail.composable.js +139 -0
- package/cdp-due--customer-space-module-master/src/contents/purchase-receipt/receipt-detail/purchaseReceiptDetail.events.js +34 -0
- package/cdp-due--customer-space-module-master/src/contents/purchase-receipt/receipt-detail/purchaseReceiptDetail.rules.js +52 -0
- package/cdp-due--customer-space-module-master/src/contents/purchase-receipt/receipt-detail/receiptsDetail.requests.js +30 -0
- package/cdp-due--customer-space-module-master/src/contents/purchase-receipt/receipts-list/ReceiptsListPage.vue +80 -0
- package/cdp-due--customer-space-module-master/src/contents/purchase-receipt/receipts-list/__tests__/purchaseReceiptListPage.rules.test.js +150 -0
- package/cdp-due--customer-space-module-master/src/contents/purchase-receipt/receipts-list/box/ReceiptsListBox.vue +181 -0
- package/cdp-due--customer-space-module-master/src/contents/purchase-receipt/receipts-list/empty/ReceiptsListEmpty.vue +32 -0
- package/cdp-due--customer-space-module-master/src/contents/purchase-receipt/receipts-list/receiptsListPage.composable.js +85 -0
- package/cdp-due--customer-space-module-master/src/contents/purchase-receipt/receipts-list/receiptsListPage.requests.js +51 -0
- package/cdp-due--customer-space-module-master/src/contents/purchase-receipt/receipts-list/receiptsListPage.rules.js +46 -0
- package/cdp-due--customer-space-module-master/src/contents/purchase-receipt/receipts-list/search-bar/ReceiptsListSearchBar.vue +57 -0
- package/cdp-due--customer-space-module-master/src/contents/purchase-receipt/receipts-list/search-bar/receiptsListSearchBar.composable.js +21 -0
- package/cdp-due--customer-space-module-master/src/contents/purchase-receipt/receipts-list/search-bar/receiptsListSearchBar.rules.js +20 -0
- package/cdp-due--customer-space-module-master/src/contents/purchase-receipt/receipts-list/tags/ReceiptsListTags.vue +100 -0
- package/cdp-due--customer-space-module-master/src/contents/purchase-receipt/receipts-list/tags/receiptsListTags.composable.js +45 -0
- package/cdp-due--customer-space-module-master/src/contents/purchase-receipt/receipts-list/tags/receiptsListTags.rules.js +12 -0
- package/cdp-due--customer-space-module-master/src/contents/purchase-receipt/routes.js +51 -0
- package/cdp-due--customer-space-module-master/src/contents/purchase-receipt/trackingEvents.js +26 -0
- package/cdp-due--customer-space-module-master/src/domains/addresses/address-edition/AddressEditionLayer.vue +93 -0
- package/cdp-due--customer-space-module-master/src/domains/addresses/address-edition/addressEditionLayer.composable.js +137 -0
- package/cdp-due--customer-space-module-master/src/domains/addresses/address-edition/constants.js +163 -0
- package/cdp-due--customer-space-module-master/src/domains/addresses/address-edition/steps/address/AddressStep.vue +13 -0
- package/cdp-due--customer-space-module-master/src/domains/addresses/address-edition/steps/commodities/BigCheckbox.vue +49 -0
- package/cdp-due--customer-space-module-master/src/domains/addresses/address-edition/steps/commodities/Commodities.vue +9 -0
- package/cdp-due--customer-space-module-master/src/domains/addresses/address-edition/steps/commodities/CommoditiesControl.vue +60 -0
- package/cdp-due--customer-space-module-master/src/domains/addresses/address-edition/steps/commodities/CommoditiesControlOption.vue +83 -0
- package/cdp-due--customer-space-module-master/src/domains/addresses/address-edition/steps/housingCategory/HousingCategory.vue +26 -0
- package/cdp-due--customer-space-module-master/src/domains/addresses/address-edition/steps/housingType/HousingType.vue +26 -0
- package/cdp-due--customer-space-module-master/src/domains/addresses/address-edition/steps/inhabitantStatus/InhabitantStatus.vue +29 -0
- package/cdp-due--customer-space-module-master/src/domains/addresses/address-edition/store.js +21 -0
- package/cdp-due--customer-space-module-master/src/domains/addresses/address-edition/updateCustomerAddress.composable.js +27 -0
- package/cdp-due--customer-space-module-master/src/domains/addresses/address-edition/updateCustomerAddress.request.js +30 -0
- package/cdp-due--customer-space-module-master/src/domains/addresses/main-address-status/MainAddressStatusCheckbox.vue +15 -0
- package/cdp-due--customer-space-module-master/src/domains/addresses/usages/Usages.vue +43 -0
- package/cdp-due--customer-space-module-master/src/domains/addresses/usages/usages.composable.js +18 -0
- package/cdp-due--customer-space-module-master/src/domains/addresses/usages/usages.rules.js +21 -0
- package/cdp-due--customer-space-module-master/src/domains/administrative-identifier/administrativeIdentifier.rules.js +128 -0
- package/cdp-due--customer-space-module-master/src/domains/currency/index.js +15 -0
- package/cdp-due--customer-space-module-master/src/domains/fundings/DashboardFunding.vue +43 -0
- package/cdp-due--customer-space-module-master/src/domains/fundings/DashboardFundingV2.vue +26 -0
- package/cdp-due--customer-space-module-master/src/domains/fundings/__tests__/funding.rules.test.js +42 -0
- package/cdp-due--customer-space-module-master/src/domains/fundings/dashboardFundingV2.composable.js +15 -0
- package/cdp-due--customer-space-module-master/src/domains/fundings/dashboardFundingV2.rules.js +43 -0
- package/cdp-due--customer-space-module-master/src/domains/fundings/funding.composable.js +17 -0
- package/cdp-due--customer-space-module-master/src/domains/fundings/funding.constants.js +4 -0
- package/cdp-due--customer-space-module-master/src/domains/fundings/funding.events.js +60 -0
- package/cdp-due--customer-space-module-master/src/domains/fundings/funding.rules.js +29 -0
- package/cdp-due--customer-space-module-master/src/domains/fundings/fundingSettingsConfig.js +29 -0
- package/cdp-due--customer-space-module-master/src/domains/fundings/oney/OneyFunding.vue +28 -0
- package/cdp-due--customer-space-module-master/src/domains/fundings/oney/hook.js +28 -0
- package/cdp-due--customer-space-module-master/src/domains/legal-form/legalForm.rules.js +9 -0
- package/cdp-due--customer-space-module-master/src/domains/loyalty/available-programs/getAvailablePrograms.composable.js +16 -0
- package/cdp-due--customer-space-module-master/src/domains/loyalty/available-programs/getAvailablePrograms.request.js +14 -0
- package/cdp-due--customer-space-module-master/src/domains/loyalty/invitations/__tests__/getLoyaltyInvitations.rules.test.js +40 -0
- package/cdp-due--customer-space-module-master/src/domains/loyalty/invitations/getLoyaltyInvitations.composable.js +26 -0
- package/cdp-due--customer-space-module-master/src/domains/loyalty/invitations/getLoyaltyInvitations.request.js +12 -0
- package/cdp-due--customer-space-module-master/src/domains/loyalty/invitations/getLoyaltyInvitations.rules.js +8 -0
- package/cdp-due--customer-space-module-master/src/domains/loyalty/program/__tests__/getProgram.rules.test.js +22 -0
- package/cdp-due--customer-space-module-master/src/domains/loyalty/program/constants.js +3 -0
- package/cdp-due--customer-space-module-master/src/domains/loyalty/program/getProgram.composable.js +24 -0
- package/cdp-due--customer-space-module-master/src/domains/loyalty/program/getProgram.request.js +13 -0
- package/cdp-due--customer-space-module-master/src/domains/loyalty/program/getProgram.rules.js +9 -0
- package/cdp-due--customer-space-module-master/src/domains/personal-information/data.js +0 -0
- package/cdp-due--customer-space-module-master/src/domains/personal-information/hook.js +0 -0
- package/cdp-due--customer-space-module-master/src/domains/personal-information/rules.js +0 -0
- package/cdp-due--customer-space-module-master/src/domains/personal-information/service.js +0 -0
- package/cdp-due--customer-space-module-master/src/domains/personal-information/slice.js +1 -0
- package/cdp-due--customer-space-module-master/src/helpers.js +43 -0
- package/cdp-due--customer-space-module-master/src/i18n/index.js +5 -0
- package/cdp-due--customer-space-module-master/src/main.js +53 -0
- package/cdp-due--customer-space-module-master/src/module/actions.js +79 -0
- package/cdp-due--customer-space-module-master/src/module/constants.js +18 -0
- package/cdp-due--customer-space-module-master/src/module/general/actions.js +64 -0
- package/cdp-due--customer-space-module-master/src/module/general/constants.js +23 -0
- package/cdp-due--customer-space-module-master/src/module/general/getters.js +21 -0
- package/cdp-due--customer-space-module-master/src/module/general/index.js +29 -0
- package/cdp-due--customer-space-module-master/src/module/general/mutations.js +22 -0
- package/cdp-due--customer-space-module-master/src/module/getters.js +14 -0
- package/cdp-due--customer-space-module-master/src/module/index.js +69 -0
- package/cdp-due--customer-space-module-master/src/queryHandler.js +61 -0
- package/cdp-due--customer-space-module-master/src/router/constants.js +14 -0
- package/cdp-due--customer-space-module-master/src/router/index.js +81 -0
- package/cdp-due--customer-space-module-master/src/router/routes.common.js +88 -0
- package/cdp-due--customer-space-module-master/src/router/routes.eslm.js +49 -0
- package/cdp-due--customer-space-module-master/src/router/routes.frlm.js +51 -0
- package/cdp-due--customer-space-module-master/src/router/routes.itlm.js +51 -0
- package/cdp-due--customer-space-module-master/src/router/routes.js +15 -0
- package/cdp-due--customer-space-module-master/src/router/routes.ptlm.js +49 -0
- package/cdp-due--customer-space-module-master/src/router/utils.js +7 -0
- package/cdp-due--customer-space-module-master/src/services/__mocks__/customerServiceMock.js +405 -0
- package/cdp-due--customer-space-module-master/src/services/adminService/__tests__/adminService.rules.test.js +79 -0
- package/cdp-due--customer-space-module-master/src/services/adminService/adminService.rules.js +34 -0
- package/cdp-due--customer-space-module-master/src/services/adminService/index.js +111 -0
- package/cdp-due--customer-space-module-master/src/services/afterSaleService.js +35 -0
- package/cdp-due--customer-space-module-master/src/services/customerService.js +485 -0
- package/cdp-due--customer-space-module-master/src/services/errorHandler.js +30 -0
- package/cdp-due--customer-space-module-master/src/services/errorMessages/shoppingListErrorMessage.js +15 -0
- package/cdp-due--customer-space-module-master/src/services/projectsService.js +60 -0
- package/cdp-due--customer-space-module-master/src/services/queries/fetchWrapper.js +45 -0
- package/cdp-due--customer-space-module-master/src/services/queries/queryBuilder.js +24 -0
- package/cdp-due--customer-space-module-master/src/services/utils.js +13 -0
- package/cdp-due--customer-space-module-master/src/store/edges-cases/siret/module/index.js +8 -0
- package/cdp-due--customer-space-module-master/src/store/index.js +77 -0
- package/cdp-due--customer-space-module-master/src/store/storeUtils.js +45 -0
- package/cdp-due--customer-space-module-master/src/stylelint.config.js +1 -0
- package/cdp-due--customer-space-module-master/src/theming/index.js +1 -0
- package/cdp-due--customer-space-module-master/src/theming/mozaic.scss +5 -0
- package/cdp-due--customer-space-module-master/src/utils/AppError.js +5 -0
- package/cdp-due--customer-space-module-master/src/utils/__tests__/createStateManager.test.js +38 -0
- package/cdp-due--customer-space-module-master/src/utils/__tests__/customerNumberForApiUSe.test.js +14 -0
- package/cdp-due--customer-space-module-master/src/utils/__tests__/formatCitiesToOptions.test.js +45 -0
- package/cdp-due--customer-space-module-master/src/utils/__tests__/getFromBuCode.test.js +29 -0
- package/cdp-due--customer-space-module-master/src/utils/ab-test.js +37 -0
- package/cdp-due--customer-space-module-master/src/utils/asyncDebounce.js +21 -0
- package/cdp-due--customer-space-module-master/src/utils/buildPayloadPart.js +114 -0
- package/cdp-due--customer-space-module-master/src/utils/checkMobile.js +33 -0
- package/cdp-due--customer-space-module-master/src/utils/clearForm.js +29 -0
- package/cdp-due--customer-space-module-master/src/utils/composeUrl.js +15 -0
- package/cdp-due--customer-space-module-master/src/utils/config/index.js +31 -0
- package/cdp-due--customer-space-module-master/src/utils/convertString.js +11 -0
- package/cdp-due--customer-space-module-master/src/utils/cookieClickHandler.js +17 -0
- package/cdp-due--customer-space-module-master/src/utils/createInterfacedClass.js +77 -0
- package/cdp-due--customer-space-module-master/src/utils/createModule.js +36 -0
- package/cdp-due--customer-space-module-master/src/utils/createSliceHandler.js +26 -0
- package/cdp-due--customer-space-module-master/src/utils/createStateManager.js +149 -0
- package/cdp-due--customer-space-module-master/src/utils/dispatchUserInfos.js +17 -0
- package/cdp-due--customer-space-module-master/src/utils/formatCitiesToOptions.js +19 -0
- package/cdp-due--customer-space-module-master/src/utils/formatter.js +51 -0
- package/cdp-due--customer-space-module-master/src/utils/getBuCodeFromCountryCode.js +12 -0
- package/cdp-due--customer-space-module-master/src/utils/getCustomerNumberForApiUse.js +5 -0
- package/cdp-due--customer-space-module-master/src/utils/getDomElement.js +3 -0
- package/cdp-due--customer-space-module-master/src/utils/getFromBuCode.js +12 -0
- package/cdp-due--customer-space-module-master/src/utils/getFromBuCodeForConfig.js +17 -0
- package/cdp-due--customer-space-module-master/src/utils/index.js +14 -0
- package/cdp-due--customer-space-module-master/src/utils/logger.js +10 -0
- package/cdp-due--customer-space-module-master/src/utils/loggz.js +4 -0
- package/cdp-due--customer-space-module-master/src/utils/openPopup.js +35 -0
- package/cdp-due--customer-space-module-master/src/utils/sleep.js +5 -0
- package/cdp-due--customer-space-module-master/src/utils/sort.js +24 -0
- package/cdp-due--customer-space-module-master/src/utils/storage.js +97 -0
- package/cdp-due--customer-space-module-master/src/utils/syncUserNameOnStaticContent.js +25 -0
- package/cdp-due--customer-space-module-master/src/utils/tracking/dirtyHackBase64.js +14 -0
- package/cdp-due--customer-space-module-master/src/utils/tracking/fireTrackingEvent.js +10 -0
- package/cdp-due--customer-space-module-master/src/utils/tracking/index.js +238 -0
- package/cdp-due--customer-space-module-master/src/utils/tracking/sendTrackingEvent.js +32 -0
- package/cdp-due--customer-space-module-master/src/utils/tracking/useDomTrackingEvent.js +20 -0
- package/cdp-due--customer-space-module-master/templates/i18nConfig.js +12 -0
- package/cdp-due--customer-space-module-master/templates/nginx.conf +77 -0
- package/cdp-due--customer-space-module-master/templates/nginx.conf.local +38 -0
- package/cdp-due--customer-space-module-master/vue.config.js +122 -0
- package/cdp-hpn--customer-profile-backend-master/.dependabot/config.yml +12 -0
- package/cdp-hpn--customer-profile-backend-master/.github/dependabot.yml +13 -0
- package/cdp-hpn--customer-profile-backend-master/.github/settings.xml +54 -0
- package/cdp-hpn--customer-profile-backend-master/.github/workflows/build-branch.yml +62 -0
- package/cdp-hpn--customer-profile-backend-master/.github/workflows/build-release.yml +42 -0
- package/cdp-hpn--customer-profile-backend-master/.github/workflows/check-pr-title.yml +19 -0
- package/cdp-hpn--customer-profile-backend-master/.github/workflows/cleanup.yml +20 -0
- package/cdp-hpn--customer-profile-backend-master/.github/workflows/release.yml +64 -0
- package/cdp-hpn--customer-profile-backend-master/.releaserc +18 -0
- package/cdp-hpn--customer-profile-backend-master/CHANGELOG.md +2300 -0
- package/cdp-hpn--customer-profile-backend-master/Dockerfile +11 -0
- package/cdp-hpn--customer-profile-backend-master/README.md +124 -0
- package/cdp-hpn--customer-profile-backend-master/archi/level-context.dot +44 -0
- package/cdp-hpn--customer-profile-backend-master/customer-profile-backend.json +24 -0
- package/cdp-hpn--customer-profile-backend-master/docker/entrypoint.sh +4 -0
- package/cdp-hpn--customer-profile-backend-master/pom.xml +578 -0
- package/cdp-hpn--customer-profile-backend-master/product-info.json +3 -0
- package/cdp-hpn--customer-profile-backend-master/sonar-project.properties +28 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/config/application.yaml +143 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/config/debug.yaml +5 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/config/logback-properties.xml +7 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/config/logback-spring.xml +141 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/Application.java +27 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/account/AccountController.java +55 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/account/AccountService.java +17 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/account/enums/AccountIdentifierType.java +6 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/account/enums/ProcessType.java +6 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/account/exceptions/CustomerNotFoundException.java +10 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/account/exceptions/WebAccountAlreadyActivatedException.java +10 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/account/exceptions/WebAccountConflictException.java +10 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/account/exceptions/WebAccountNotFoundException.java +10 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/account/impl/AccountServiceDefaultImpl.java +145 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/account/impl/AccountServiceLmesImpl.java +48 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/account/mappers/PreExistenceMapper.java +171 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/account/requests/AccountIdentifierRequest.java +23 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/clients/ClientConfig.java +58 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/clients/exceptions/AccessDeniedData.java +32 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/clients/exceptions/AccessDeniedExceptionHandler.java +68 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/clients/exceptions/AddressNotFoundException.java +14 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/clients/exceptions/CustomerNotFoundException.java +16 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/clients/exceptions/ErrorResource.java +79 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/clients/exceptions/RestExceptionHandler.java +445 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/clients/exceptions/UnauthorizedException.java +12 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/commons/DateFormatter.java +58 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/commons/helpers/DateHelper.java +29 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/commons/helpers/JwtHelper.java +16 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/commons/helpers/LdapHelper.java +17 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/commons/helpers/PhoneHelper.java +31 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/commons/log/ActionType.java +10 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/commons/log/LogHelper.java +62 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/commons/log/LogService.java +37 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/commons/log/LogType.java +5 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/commons/oney/StoreProperties.java +15 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/config/CacheConfig.java +19 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/config/Constants.java +66 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/config/CountryConfiguration.java +19 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/config/CreationProcessConfig.java +45 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/config/DecryptionConfiguration.java +20 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/config/DisableClientConfig.java +15 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/config/FeatureFlagsConfig.java +14 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/config/LoyaltyPdfConfig.java +21 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/config/LoyaltyProgramConfig.java +18 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/config/LoyaltyTypesConfig.java +15 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/config/MembershipConfig.java +22 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/config/OneyConfig.java +28 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/config/PersonnalDataConfig.java +21 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/config/RoleMappingConfiguration.java +32 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/config/SearchOrdersConfig.java +18 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/config/StringToActionTypeConverter.java +13 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/config/WebConfig.java +15 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/config/cookies/CustomerSpaceCustomerCookieConfig.java +19 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/config/models/CreationProcess.java +12 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/consents/ConsentController.java +140 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/consents/ConsentService.java +30 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/consents/ConsentServiceFrImpl.java +131 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/consents/ConsentServiceOthersImpl.java +83 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/consents/DecryptionService.java +65 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/consents/dtos/ConsentConfigurationDto.java +28 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/consents/dtos/ConsentDto.java +35 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/consents/helpers/ConsentFinalityTypeHelper.java +25 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/consents/mappers/ConsentDtoMapper.java +29 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/consents/mappers/ConsentMapper.java +19 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/consents/mappers/DataComplianceMapper.java +336 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/consents/requests/ConsentListRequest.java +19 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/consents/requests/ConsentRequest.java +30 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/cookies/CookieService.java +120 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/cookies/helper/SavedLoginRequestHelper.java +42 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/customer/CheckAttributesService.java +99 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/customer/CustomerController.java +412 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/customer/CustomerService.java +438 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/customer/dtos/AdministrativeIdentifiersDto.java +25 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/customer/dtos/CustomerDto.java +52 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/customer/dtos/CustomerListDto.java +18 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/customer/dtos/LoyaltyCreationDto.java +19 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/customer/dtos/MatchCount.java +7 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/customer/dtos/MovingDateDto.java +20 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/customer/dtos/OrderDto.java +18 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/customer/dtos/PreExistenceDto.java +59 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/customer/dtos/PreExistenceWebAccountStatus.java +7 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/customer/dtos/ProfessionalOrganisationDto.java +32 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/customer/dtos/ProfileUrlDto.java +19 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/customer/dtos/QualityDto.java +22 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/customer/dtos/QualityStatus.java +8 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/customer/dtos/SearchResultDto.java +41 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/customer/dtos/SocialNetworkProfileDto.java +24 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/customer/dtos/TransformationEligibility.java +11 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/customer/dtos/UnicityPaymentAccountDto.java +15 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/customer/dtos/WebAccountStatus.java +8 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/customer/dtos/WebUserDto.java +24 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/customer/enums/ConsentDigitalDocumentsTypeEnum.java +8 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/customer/enums/CustomerTypeEnum.java +5 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/customer/enums/HouseTypeEnum.java +15 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/customer/enums/InhabitantTypeEnum.java +15 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/customer/enums/ProfessionalOrganisationLegalFormEnum.java +32 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/customer/enums/ProfileTypeEnum.java +39 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/customer/history/AccountHistory.java +19 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/customer/history/FieldHistory.java +12 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/customer/mapper/AccountHistoryMapper.java +64 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/customer/mapper/AdministrativeIdentifiersDtoMapper.java +27 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/customer/mapper/ClientPreferenceMapper.java +109 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/customer/mapper/CreateCustomerRequestMapper.java +153 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/customer/mapper/CustomerMapper.java +579 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/customer/mapper/CustomerOrderMapper.java +31 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/customer/mapper/CustomerTypeMapper.java +38 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/customer/mapper/HousingMapper.java +95 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/customer/mapper/InhabitantTranformationMapper.java +102 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/customer/mapper/ProfessionalOrganisationDtoMapper.java +62 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/customer/models/response/CreateCustomerResponse.java +22 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/customer/models/response/LoyaltyCreationState.java +7 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/customer/requests/CheckAttributesRequest.java +14 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/customer/requests/CheckPreExistenceRequest.java +22 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/customer/requests/ConsentTypeRequestEnum.java +6 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/customer/requests/CreateCustomerRequest.java +30 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/customer/requests/HouseTypeEnum.java +15 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/customer/requests/InhabitantTransformationRequest.java +25 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/customer/requests/InhabitantTypeEnum.java +16 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/customer/requests/PreCreateCustomerRequest.java +48 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/customer/requests/SearchCustomerRequest.java +30 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/customer/requests/SearchIdentityRequest.java +20 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/customer/requests/SearchProfessionalOrganisationRequest.java +19 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/customer/requests/UpdateCustomerRequest.java +37 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/customer/requests/UpdateHousingRequest.java +16 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/helpers/StringHelper.java +19 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/helpers/UriHelper.java +61 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/labels/LabelsController.java +27 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/labels/LabelsService.java +20 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/loyalty/LoyaltyController.java +350 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/loyalty/LoyaltyCreationService.java +204 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/loyalty/LoyaltyProgramsController.java +81 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/loyalty/LoyaltyService.java +262 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/loyalty/PdfService.java +267 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/loyalty/dtos/ActionType.java +6 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/loyalty/dtos/BadgeDto.java +19 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/loyalty/dtos/BadgeTypeDto.java +20 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/loyalty/dtos/CguDto.java +16 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/loyalty/dtos/CoOwnerDTO.java +19 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/loyalty/dtos/LoyaltyCardDto.java +47 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/loyalty/dtos/LoyaltyCardType.java +19 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/loyalty/dtos/LoyaltyLabelDto.java +15 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/loyalty/dtos/MembershipProcess.java +8 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/loyalty/dtos/ProgramDto.java +36 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/loyalty/dtos/ProgramsDto.java +18 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/loyalty/dtos/RankDto.java +20 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/loyalty/dtos/RankTypeDto.java +16 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/loyalty/dtos/ReEnrollDto.java +18 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/loyalty/dtos/RewardAttributeDto.java +23 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/loyalty/dtos/RewardBurnCriteriaDto.java +22 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/loyalty/dtos/RewardDto.java +32 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/loyalty/dtos/SupportDto.java +18 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/loyalty/dtos/invitations/LoyaltyInvitationDto.java +35 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/loyalty/dtos/invitations/UserInvitationAction.java +37 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/loyalty/dtos/pointshistories/EventLoyaltyPointDto.java +29 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/loyalty/dtos/pointshistories/LoyaltyPointsHistoriesDto.java +26 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/loyalty/dtos/pointtransformation/PointTransformationDto.java +30 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/loyalty/dtos/targetedoffer/PromotionalRewardDto.java +29 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/loyalty/exceptions/CoOwnerInvitationNotFoundException.java +11 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/loyalty/helpers/BarcodeHelper.java +54 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/loyalty/helpers/LoyaltyCardHelper.java +152 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/loyalty/mappers/LoyaltyAccountMapper.java +272 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/loyalty/mappers/LoyaltyCreationMapper.java +32 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/loyalty/mappers/LoyaltyCustomerMapper.java +287 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/loyalty/mappers/LoyaltyInvitationsMapper.java +103 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/loyalty/mappers/LoyaltyProgramMapper.java +129 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/loyalty/mappers/MembershipRequestMapper.java +47 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/loyalty/mappers/PointTansformationMapper.java +94 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/loyalty/mappers/TargetedOfferMapper.java +42 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/loyalty/models/pdf/PdfOutputStream.java +15 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/loyalty/requests/CreateLoyaltyInvitationAttributesPreRequest.java +16 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/loyalty/requests/CreateLoyaltyInvitationPreRequest.java +19 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/loyalty/requests/CreateLoyaltyRequest.java +15 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/loyalty/requests/PatchTargetedOfferRequest.java +15 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/loyalty/requests/PointTransformationRequest.java +16 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/payments/PaymentsController.java +92 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/payments/PaymentsService.java +153 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/payments/mappers/OneyMapper.java +176 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/payments/mappers/PaymentsPgwMapper.java +83 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/payments/models/CreditCardDto.java +29 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/payments/models/CreditCardRequest.java +16 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/personaldata/AddressesController.java +121 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/personaldata/dtos/AddressDto.java +38 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/personaldata/dtos/HousingDto.java +31 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/personaldata/dtos/PhoneDto.java +21 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/personaldata/mappers/AddressDtoMapper.java +29 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/personaldata/mappers/AddressesMapper.java +171 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/personaldata/mappers/ApiCiamMapper.java +47 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/personaldata/mappers/ApiMdmMapper.java +137 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/personaldata/mappers/HousingDtoMapper.java +66 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/personaldata/request/UpdateCompanyRequest.java +31 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/personaldata/request/UpdateProfileRequest.java +44 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/personaldata/services/AddressesService.java +241 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/personaldata/services/PatchCustomerService.java +713 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/profile/ProfileController.java +59 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/profile/ProfileService.java +86 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/profile/models/CommunityProfileResponse.java +17 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/profile/models/ImageSize.java +14 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/profile/requests/CommunityProfileRequest.java +19 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/profile/requests/CommunitySocialRequest.java +14 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/profile/requests/UpdateAvatarRequest.java +11 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/profile/requests/UpdateCommunityProfileRequest.java +31 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/profile/requests/UploadAvatarRequest.java +13 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/resource/ResourceController.java +90 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/resource/ResourceMapper.java +95 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/resource/ResourceService.java +203 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/resource/StoreDtoMapper.java +24 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/resource/StoreService.java +88 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/resource/city/CityService.java +8 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/resource/city/dtos/CityDto.java +6 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/resource/city/dtos/CityListDto.java +18 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/resource/city/dtos/FrCityDto.java +25 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/resource/city/dtos/OtherBuCityDto.java +21 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/resource/city/impl/lmfr/CityServiceFrImpl.java +24 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/resource/city/impl/others/CityServiceOthersImpl.java +29 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/resource/dtos/AddressDto.java +17 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/resource/dtos/CountryDto.java +19 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/resource/dtos/ProvinceDto.java +14 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/resource/dtos/RoleDto.java +22 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/resource/dtos/RoleListDto.java +17 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/resource/dtos/StoreDto.java +16 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/resource/dtos/StoreListDto.java +18 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/user/UserContextMapper.java +17 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/user/UserController.java +65 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/user/UserMapper.java +38 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/user/UserService.java +63 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/user/contextualization/ContextualizationService.java +9 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/user/contextualization/impl/ContextualizationServiceDefaultImpl.java +39 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/user/contextualization/impl/ContextualizationServiceFrImpl.java +49 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/user/dtos/CustomerSpaceCustomerCookieDto.java +25 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/user/dtos/UserDto.java +46 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/user/dtos/enums/CivilityEnum.java +32 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/user/exceptions/UserContextualizationException.java +14 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/user/requests/UserContextRequest.java +10 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/webuser/WebUserController.java +77 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/webuser/WebUserService.java +124 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/webuser/exceptions/CustomerAlreadyBoundToWebUserException.java +14 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/webuser/exceptions/WebUserNotFoundException.java +14 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/webuser/exceptions/WebUserSuspendException.java +17 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/webuser/mappers/WebUserMapper.java +43 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/webuser/models/BindToWebUserRequest.java +18 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/java/com/adeo/customerprofilebackend/webuser/models/UpdateWebUserResponse.java +19 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/resources/templates/loyalty/housing_pass.jrxml +30 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/resources/templates/loyalty/images/bullet.gif +0 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/resources/templates/loyalty/images/carte-row-right.gif +0 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/resources/templates/loyalty/images/carte.gif +0 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/resources/templates/loyalty/images/closer.gif +0 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/resources/templates/loyalty/images/closer2.gif +0 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/resources/templates/loyalty/images/code_barre.gif +0 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/resources/templates/loyalty/images/codebarre.gif +0 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/resources/templates/loyalty/images/contents1-left.gif +0 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/resources/templates/loyalty/images/contents1-right.gif +0 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/resources/templates/loyalty/images/contents2-end.gif +0 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/resources/templates/loyalty/images/contents2-left.gif +0 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/resources/templates/loyalty/images/contents2-right.gif +0 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/resources/templates/loyalty/images/contents5-left.gif +0 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/resources/templates/loyalty/images/contents5-right.gif +0 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/resources/templates/loyalty/images/last-left.gif +0 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/resources/templates/loyalty/images/last-right.gif +0 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/resources/templates/loyalty/images/logo.gif +0 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/resources/templates/loyalty/images/midtitles.gif +0 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/resources/templates/loyalty/images/pass_maison.jpg +0 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/resources/templates/loyalty/images/subtitle1.gif +0 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/resources/templates/loyalty/images/subtitle2.gif +0 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/resources/templates/loyalty/images/subtitle3.gif +0 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/resources/templates/loyalty/images/subtitle4.png +0 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/resources/templates/loyalty/images/title.gif +0 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/resources/templates/loyalty/images/title4.gif +0 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/resources/templates/loyalty/images/title5-end.gif +0 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/resources/templates/loyalty/images/title5.gif +0 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/resources/templates/loyalty/images/top.gif +0 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/resources/templates/loyalty/lm_and_me.jrxml +17 -0
- package/cdp-hpn--customer-profile-backend-master/src/main/resources/templates/loyalty/loyalty_card.jrxml +303 -0
- package/cdp-hpn--customer-profile-backend-master/src/test/java/com/adeo/customerprofilebackend/ApplicationTests.java +21 -0
- package/cdp-hpn--customer-profile-backend-master/src/test/java/com/adeo/customerprofilebackend/customer/mapper/CustomerMapperTest.java +264 -0
- package/cdp-hpn--customer-profile-backend-master/src/test/java/com/adeo/customerprofilebackend/loyalty/LoyaltyCreationServiceTest.java +349 -0
- package/cdp-hpn--customer-profile-backend-master/src/test/java/com/adeo/customerprofilebackend/resource/ResourceServiceTest.java +414 -0
- package/index.js +13 -0
- package/package.json +15 -0
@@ -0,0 +1,81 @@
|
|
1
|
+
package com.adeo.customerprofilebackend.loyalty;
|
2
|
+
|
3
|
+
import com.adeo.customerprofilebackend.commons.helpers.JwtHelper;
|
4
|
+
import com.adeo.customerprofilebackend.commons.helpers.LdapHelper;
|
5
|
+
import com.adeo.customerprofilebackend.commons.log.ActionType;
|
6
|
+
import com.adeo.customerprofilebackend.commons.log.LogService;
|
7
|
+
import com.adeo.customerprofilebackend.customer.CustomerService;
|
8
|
+
import com.adeo.customerprofilebackend.customer.enums.CustomerTypeEnum;
|
9
|
+
import com.adeo.customerprofilebackend.customer.mapper.CustomerTypeMapper;
|
10
|
+
import com.adeo.customerprofilebackend.loyalty.dtos.ProgramDto;
|
11
|
+
import com.adeo.customerprofilebackend.loyalty.dtos.ProgramsDto;
|
12
|
+
import com.adeo.ipnteam.lys.client.models.MembershipAction;
|
13
|
+
import com.adeo.ipnteam.reachfive.client.AccessTokenManager;
|
14
|
+
import io.kobi.security.common.KobiUser;
|
15
|
+
import lombok.RequiredArgsConstructor;
|
16
|
+
import lombok.extern.slf4j.Slf4j;
|
17
|
+
import org.apache.commons.lang3.StringUtils;
|
18
|
+
import org.springframework.security.access.prepost.PreAuthorize;
|
19
|
+
import org.springframework.security.core.annotation.AuthenticationPrincipal;
|
20
|
+
import org.springframework.web.bind.annotation.GetMapping;
|
21
|
+
import org.springframework.web.bind.annotation.PathVariable;
|
22
|
+
import org.springframework.web.bind.annotation.RequestMapping;
|
23
|
+
import org.springframework.web.bind.annotation.RequestParam;
|
24
|
+
import org.springframework.web.bind.annotation.RestController;
|
25
|
+
import org.springframework.web.server.ServerWebExchange;
|
26
|
+
import reactor.core.publisher.Mono;
|
27
|
+
|
28
|
+
import static com.adeo.customerprofilebackend.config.Constants.HAS_ROLE_CUSTOMER_OR_HAS_ROLE_COLLAB_AND_AUTHORITY_LOYALTY_READ;
|
29
|
+
|
30
|
+
@RestController
|
31
|
+
@Slf4j
|
32
|
+
@RequestMapping("/loyalties")
|
33
|
+
@RequiredArgsConstructor
|
34
|
+
public class LoyaltyProgramsController {
|
35
|
+
|
36
|
+
private final LoyaltyService loyaltyService;
|
37
|
+
private final LogService logService;
|
38
|
+
private final CustomerService customerService;
|
39
|
+
private final AccessTokenManager accessTokenManager;
|
40
|
+
|
41
|
+
@GetMapping
|
42
|
+
public Mono<ProgramsDto> getAvailableProgramsForCustomer(
|
43
|
+
final ServerWebExchange serverWebExchange,
|
44
|
+
@AuthenticationPrincipal final KobiUser kobiUser,
|
45
|
+
@RequestParam(value = "customerNumber", required = false) final String customerNumber,
|
46
|
+
@RequestParam(value = "storeId", required = false) final Integer storeId,
|
47
|
+
@RequestParam(value = "customerType", required = false) final CustomerTypeEnum customerTypeEnum) {
|
48
|
+
|
49
|
+
if (kobiUser == null) {
|
50
|
+
if (storeId != null) {
|
51
|
+
return loyaltyService.getAvailableLoyaltyProgramsFor(storeId, CustomerTypeMapper.customerTypeEnumToLysCustomerType(customerTypeEnum), null, MembershipAction.MEMBERSHIP, null);
|
52
|
+
} else {
|
53
|
+
throw new IllegalArgumentException("storeId is required");
|
54
|
+
}
|
55
|
+
} else if (JwtHelper.isCollab(kobiUser) && customerNumber != null) {
|
56
|
+
return accessTokenManager.getManagementToken()
|
57
|
+
.flatMap(token -> customerService.getCustomer(token.getAccessToken(), customerNumber, LdapHelper.extractAdeoOperator(kobiUser.getUserId())))
|
58
|
+
.flatMap(customer -> loyaltyService.getAvailableProgramsForCustomer(kobiUser, customer)
|
59
|
+
.doOnSuccess(customers -> logService.logAction(
|
60
|
+
serverWebExchange,
|
61
|
+
ActionType.GET,
|
62
|
+
kobiUser.getUserId(),
|
63
|
+
customerNumber,
|
64
|
+
"get available loyalty programs")
|
65
|
+
));
|
66
|
+
|
67
|
+
} else if (StringUtils.isNotEmpty(kobiUser.getUserId())) {
|
68
|
+
return customerService.getCustomer(kobiUser.getAccessToken(), kobiUser.getUserId(), null)
|
69
|
+
.flatMap(customer -> loyaltyService.getAvailableProgramsForCustomer(kobiUser, customer));
|
70
|
+
} else {
|
71
|
+
throw new IllegalArgumentException("Unauthorized");
|
72
|
+
}
|
73
|
+
}
|
74
|
+
|
75
|
+
@PreAuthorize(HAS_ROLE_CUSTOMER_OR_HAS_ROLE_COLLAB_AND_AUTHORITY_LOYALTY_READ)
|
76
|
+
@GetMapping("/{type}")
|
77
|
+
public Mono<ProgramDto> getLoyaltyProgramByType(
|
78
|
+
@PathVariable("type") final String type) {
|
79
|
+
return loyaltyService.getLoyaltyProgramByType(type);
|
80
|
+
}
|
81
|
+
}
|
@@ -0,0 +1,262 @@
|
|
1
|
+
package com.adeo.customerprofilebackend.loyalty;
|
2
|
+
|
3
|
+
import com.adeo.customerprofilebackend.clients.exceptions.UnauthorizedException;
|
4
|
+
import com.adeo.customerprofilebackend.commons.helpers.JwtHelper;
|
5
|
+
import com.adeo.customerprofilebackend.commons.helpers.LdapHelper;
|
6
|
+
import com.adeo.customerprofilebackend.commons.oney.StoreProperties;
|
7
|
+
import com.adeo.customerprofilebackend.config.LoyaltyProgramConfig;
|
8
|
+
import com.adeo.customerprofilebackend.config.OneyConfig;
|
9
|
+
import com.adeo.customerprofilebackend.customer.dtos.CustomerDto;
|
10
|
+
import com.adeo.customerprofilebackend.customer.enums.CustomerTypeEnum;
|
11
|
+
import com.adeo.customerprofilebackend.loyalty.dtos.LoyaltyCardDto;
|
12
|
+
import com.adeo.customerprofilebackend.loyalty.dtos.ProgramDto;
|
13
|
+
import com.adeo.customerprofilebackend.loyalty.dtos.ProgramsDto;
|
14
|
+
import com.adeo.customerprofilebackend.loyalty.dtos.invitations.LoyaltyInvitationDto;
|
15
|
+
import com.adeo.customerprofilebackend.loyalty.dtos.invitations.UserInvitationAction;
|
16
|
+
import com.adeo.customerprofilebackend.loyalty.dtos.pointshistories.LoyaltyPointsHistoriesDto;
|
17
|
+
import com.adeo.customerprofilebackend.loyalty.dtos.pointtransformation.PointTransformationDto;
|
18
|
+
import com.adeo.customerprofilebackend.loyalty.dtos.targetedoffer.PromotionalRewardDto;
|
19
|
+
import com.adeo.customerprofilebackend.loyalty.exceptions.CoOwnerInvitationNotFoundException;
|
20
|
+
import com.adeo.customerprofilebackend.loyalty.mappers.LoyaltyAccountMapper;
|
21
|
+
import com.adeo.customerprofilebackend.loyalty.mappers.LoyaltyInvitationsMapper;
|
22
|
+
import com.adeo.customerprofilebackend.loyalty.mappers.LoyaltyProgramMapper;
|
23
|
+
import com.adeo.customerprofilebackend.loyalty.mappers.PointTansformationMapper;
|
24
|
+
import com.adeo.customerprofilebackend.loyalty.mappers.TargetedOfferMapper;
|
25
|
+
import com.adeo.customerprofilebackend.loyalty.requests.PatchTargetedOfferRequest;
|
26
|
+
import com.adeo.customerprofilebackend.loyalty.requests.PointTransformationRequest;
|
27
|
+
import com.adeo.customerprofilebackend.payments.mappers.OneyMapper;
|
28
|
+
import com.adeo.customerprofilebackend.resource.StoreService;
|
29
|
+
import com.adeo.ipnteam.lys.client.LysClient;
|
30
|
+
import com.adeo.ipnteam.lys.client.LysClientException;
|
31
|
+
import com.adeo.ipnteam.lys.client.models.CustomerType;
|
32
|
+
import com.adeo.ipnteam.lys.client.models.MembershipAction;
|
33
|
+
import com.adeo.ipnteam.lys.client.models.MembershipContext;
|
34
|
+
import com.adeo.ipnteam.lys.client.models.SortDirection;
|
35
|
+
import com.adeo.ipnteam.lys.client.models.invitations.LoyaltyInvitationActorType;
|
36
|
+
import com.adeo.ipnteam.lys.client.models.invitations.LoyaltyInvitationTopic;
|
37
|
+
import com.adeo.ipnteam.lyse.targetedoffer.client.LyseCotationClient;
|
38
|
+
import com.adeo.ipnteam.lyse.targetedoffer.client.LyseTargetedOfferClient;
|
39
|
+
import com.adeo.ipnteam.lyse.targetedoffer.client.models.NextRewardPrediction;
|
40
|
+
import com.adeo.ipnteam.oney.client.OneyClient;
|
41
|
+
import com.adeo.ipnteam.oney.client.models.UrlResponse;
|
42
|
+
import com.adeo.ipnteam.ping.client.PingTokenManager;
|
43
|
+
import io.kobi.security.common.KobiUser;
|
44
|
+
import lombok.RequiredArgsConstructor;
|
45
|
+
import lombok.extern.slf4j.Slf4j;
|
46
|
+
import org.apache.commons.lang3.StringUtils;
|
47
|
+
import org.springframework.beans.factory.annotation.Value;
|
48
|
+
import org.springframework.stereotype.Service;
|
49
|
+
import reactor.core.publisher.Flux;
|
50
|
+
import reactor.core.publisher.Mono;
|
51
|
+
|
52
|
+
import java.util.Collections;
|
53
|
+
|
54
|
+
import static com.adeo.customerprofilebackend.config.Constants.STORE_CODE_ATTRIBUTE;
|
55
|
+
|
56
|
+
@Slf4j
|
57
|
+
@Service
|
58
|
+
@RequiredArgsConstructor
|
59
|
+
public class LoyaltyService {
|
60
|
+
|
61
|
+
private final LysClient lysClient;
|
62
|
+
|
63
|
+
private final LyseTargetedOfferClient lyseTargetedOfferClient;
|
64
|
+
|
65
|
+
private final LyseCotationClient lyseCotationClient;
|
66
|
+
|
67
|
+
private final OneyClient oneyClient;
|
68
|
+
|
69
|
+
private final OneyConfig oneyConfiguration;
|
70
|
+
|
71
|
+
private final PingTokenManager pingTokenManager;
|
72
|
+
|
73
|
+
private final LoyaltyProgramConfig loyaltyProgramConfig;
|
74
|
+
|
75
|
+
private final StoreService storeService;
|
76
|
+
|
77
|
+
@Value("${currency.label}")
|
78
|
+
private String currencyLabel;
|
79
|
+
|
80
|
+
public Mono<ProgramsDto> getAvailableProgramsForCustomer(final KobiUser kobiUser, final CustomerDto customerDto) {
|
81
|
+
|
82
|
+
return getAvailableLoyaltyProgramsFor(getPointOfSale(kobiUser, customerDto.getStoreCode()), customerDto,
|
83
|
+
LdapHelper.extractAdeoOperator(kobiUser.getUserId()));
|
84
|
+
}
|
85
|
+
|
86
|
+
public Integer getPointOfSale(final KobiUser kobiUser, final Integer storeCode) {
|
87
|
+
if (storeCode == null) {
|
88
|
+
if (StringUtils.isEmpty(kobiUser.getAttributes().get(STORE_CODE_ATTRIBUTE))) {
|
89
|
+
return loyaltyProgramConfig.getDefaultStoreCode();
|
90
|
+
} else {
|
91
|
+
return Integer.valueOf(kobiUser.getAttributes().get(STORE_CODE_ATTRIBUTE));
|
92
|
+
}
|
93
|
+
}
|
94
|
+
return storeCode;
|
95
|
+
}
|
96
|
+
|
97
|
+
private Mono<ProgramsDto> getAvailableLoyaltyProgramsFor(final Integer pointOfSale,
|
98
|
+
final CustomerDto customerDto,
|
99
|
+
final String adeoOperator) {
|
100
|
+
|
101
|
+
final CustomerType customerType;
|
102
|
+
|
103
|
+
if (customerDto.getType() == null) {
|
104
|
+
log.error("Customer type is null on getAvailableLoyaltyProgramsFor call. UserId={}", customerDto.getId()); //Issue detected in production. Check after front refactoring
|
105
|
+
customerType = CustomerType.PARTICULAR;
|
106
|
+
} else {
|
107
|
+
customerType = CustomerTypeEnum.INHABITANT.equals(customerDto.getType()) ? CustomerType.PARTICULAR : CustomerType.PROFESSIONAL;
|
108
|
+
}
|
109
|
+
|
110
|
+
if (customerDto.getLoyalty() != null
|
111
|
+
&& customerDto.getLoyalty().getType() != null
|
112
|
+
&& customerDto.getLoyalty().getType().getLabel() != null) {
|
113
|
+
|
114
|
+
final String loyaltyType = String.valueOf(customerDto.getLoyalty().getType().getId());
|
115
|
+
final MembershipAction membershipAction = customerDto.getLoyalty().getRemembershipAvailable() != null && customerDto.getLoyalty().getRemembershipAvailable()
|
116
|
+
? MembershipAction.REMEMBERSHIP : MembershipAction.UPGRADE;
|
117
|
+
|
118
|
+
return getAvailableLoyaltyProgramsFor(pointOfSale, customerType, loyaltyType, membershipAction, adeoOperator);
|
119
|
+
}
|
120
|
+
|
121
|
+
return getAvailableLoyaltyProgramsFor(pointOfSale, customerType, null, MembershipAction.MEMBERSHIP, adeoOperator);
|
122
|
+
}
|
123
|
+
|
124
|
+
public Mono<ProgramsDto> getAvailableLoyaltyProgramsFor(final Integer pointOfSale,
|
125
|
+
final CustomerType customerType,
|
126
|
+
final String currentLoyaltyType,
|
127
|
+
final MembershipAction membershipAction,
|
128
|
+
final String adeoOperator) {
|
129
|
+
|
130
|
+
final MembershipContext membershipContext = StringUtils.isEmpty(adeoOperator) ? MembershipContext.AUTONOMY : MembershipContext.ASSISTED;
|
131
|
+
|
132
|
+
return pingTokenManager.getFreshApplicationAccessToken()
|
133
|
+
.flatMap(accessToken -> lysClient.getAvailableProgramsForChangeAndRemembership(accessToken, adeoOperator, customerType, pointOfSale,
|
134
|
+
currentLoyaltyType, membershipAction, membershipContext)
|
135
|
+
.map(programs -> LoyaltyProgramMapper.mapPrograms(programs, loyaltyProgramConfig))
|
136
|
+
.onErrorMap(LysClientException.class, e -> new LysClientException(e.getStatus(), e.getMessage())));
|
137
|
+
}
|
138
|
+
|
139
|
+
public Mono<ProgramDto> getLoyaltyProgramByType(final String type) {
|
140
|
+
return pingTokenManager.getFreshApplicationAccessToken()
|
141
|
+
.flatMap(token -> lysClient.getLoyaltyProgram(type, token))
|
142
|
+
.map(LoyaltyProgramMapper::mapProgram);
|
143
|
+
}
|
144
|
+
|
145
|
+
public Mono<LoyaltyCardDto> getLoyaltyInfos(final String customerNumber, final boolean includeCoOwner, final String performingUser) {
|
146
|
+
return pingTokenManager.getFreshApplicationAccessToken()
|
147
|
+
.flatMap(token -> lysClient.getLoyaltyAccount(customerNumber, includeCoOwner, token, LdapHelper.extractAdeoOperator(performingUser)))
|
148
|
+
.map(loyaltyAccountModel -> LoyaltyAccountMapper.loyaltyCardModelToLoyaltyCardDto(loyaltyAccountModel, customerNumber))
|
149
|
+
.switchIfEmpty(Mono.just(buildEmptyLoyaltyCard()));
|
150
|
+
}
|
151
|
+
|
152
|
+
private LoyaltyCardDto buildEmptyLoyaltyCard() {
|
153
|
+
|
154
|
+
return LoyaltyCardDto.builder()
|
155
|
+
.hasLoyalty(false)
|
156
|
+
.build();
|
157
|
+
}
|
158
|
+
|
159
|
+
@Deprecated
|
160
|
+
/**
|
161
|
+
@deprecrated use same method defined in PaymentsService
|
162
|
+
*/
|
163
|
+
public Mono<String> getFundingUrl(final KobiUser kobiUser, final String customerNumber) {
|
164
|
+
if (kobiUser.getAttributes() == null || kobiUser.getAttributes().get(STORE_CODE_ATTRIBUTE) == null) {
|
165
|
+
throw new IllegalStateException("No store code defined for the collaborator " + kobiUser.getUserId());
|
166
|
+
}
|
167
|
+
final String userStore = kobiUser.getAttributes().get(STORE_CODE_ATTRIBUTE);
|
168
|
+
final StoreProperties storeProperties = oneyConfiguration.getStorePropertiesByStoreId(userStore);
|
169
|
+
if (storeProperties == null) {
|
170
|
+
throw new IllegalArgumentException("the store " + userStore + " cannot create a funding loyalty");
|
171
|
+
}
|
172
|
+
return oneyClient.generatePaymentUrl(
|
173
|
+
OneyMapper.getGeneratePaymentUrlRequest(
|
174
|
+
oneyConfiguration.getLanguage(),
|
175
|
+
storeProperties.getMerchantGuid(),
|
176
|
+
oneyConfiguration.getPspGuid(),
|
177
|
+
oneyConfiguration.getSuccessUrl(),
|
178
|
+
LdapHelper.extractAdeoOperator(kobiUser.getUserId())))
|
179
|
+
.map(UrlResponse::getReturnedUrl);
|
180
|
+
}
|
181
|
+
|
182
|
+
public Flux<PointTransformationDto> getAvailablePointTransformations(final String customerNumber) {
|
183
|
+
return pingTokenManager.getFreshApplicationAccessToken()
|
184
|
+
.flatMap(accessToken -> lyseCotationClient.getAvailablePointTransformations(customerNumber, accessToken, NextRewardPrediction.FIRST)
|
185
|
+
.map(cotationLoyaltyRewards -> PointTansformationMapper.cotationLoyaltyRewardsToPointTransformationDto(cotationLoyaltyRewards, currencyLabel)))
|
186
|
+
.flatMapMany(Flux::fromIterable);
|
187
|
+
}
|
188
|
+
|
189
|
+
public Mono<Void> subscribeToPointTransformation(final String customerNumber, final PointTransformationRequest request) {
|
190
|
+
return pingTokenManager.getFreshApplicationAccessToken()
|
191
|
+
.flatMap(accessToken ->
|
192
|
+
lyseCotationClient.subscribePointTransformation(customerNumber, accessToken, request.getActivationCode(), request.getPointsToTransform()).then()
|
193
|
+
);
|
194
|
+
}
|
195
|
+
|
196
|
+
public Mono<LoyaltyPointsHistoriesDto> getLoyaltyPointsHistories(final String customerNumber,
|
197
|
+
final Integer page,
|
198
|
+
final Integer rowsPerPage,
|
199
|
+
final SortDirection sortDirection) {
|
200
|
+
return pingTokenManager.getFreshApplicationAccessToken()
|
201
|
+
.flatMap(accessToken -> lysClient.getPointsHistories(customerNumber, page, rowsPerPage, sortDirection, accessToken))
|
202
|
+
.zipWith(storeService.retrieveAllStoresOfCompany().collectMap(poi -> poi.getPoiId().toString(), poi -> poi))
|
203
|
+
.map(tuple2 -> LoyaltyAccountMapper.loyaltyPointsHistoriesModelToLoyaltyPointsHistoriesDto(tuple2.getT1(), tuple2.getT2()));
|
204
|
+
}
|
205
|
+
|
206
|
+
public Flux<PromotionalRewardDto> getTargetedOffersByCustomer(final KobiUser kobiUser, final String customerNumber) {
|
207
|
+
return lyseTargetedOfferClient.getTargetedOffersByCustomer(customerNumber, LdapHelper.extractAdeoOperator(kobiUser.getUserId()))
|
208
|
+
.map(lyseTargetedOffer -> TargetedOfferMapper.lyseTargetedOfferToPromotionalRewardsDto(lyseTargetedOffer, true))
|
209
|
+
.flatMap(Flux::fromIterable);
|
210
|
+
}
|
211
|
+
|
212
|
+
public Flux<PromotionalRewardDto> getReactivableTargetedOffers(final KobiUser kobiUser, final String customerNumber) {
|
213
|
+
return lyseTargetedOfferClient.getReactivableTargetedOffers(customerNumber, LdapHelper.extractAdeoOperator(kobiUser.getUserId()))
|
214
|
+
.map(lyseTargetedOffer -> TargetedOfferMapper.lyseTargetedOfferToPromotionalRewardsDto(lyseTargetedOffer, false))
|
215
|
+
.onErrorReturn(Collections.emptyList())
|
216
|
+
.flatMap(Flux::fromIterable);
|
217
|
+
}
|
218
|
+
|
219
|
+
public Mono<Void> patchTargetedOffer(final KobiUser kobiUser, final String customerNumber, final String offerId, final PatchTargetedOfferRequest patchTargetedOfferRequest) {
|
220
|
+
if (patchTargetedOfferRequest != null && Boolean.TRUE.equals(patchTargetedOfferRequest.getActive())) {
|
221
|
+
return lyseTargetedOfferClient.reactivateTargetedOffer(customerNumber, offerId, patchTargetedOfferRequest.getReasonCode(), LdapHelper.extractAdeoOperator(kobiUser.getUserId()));
|
222
|
+
}
|
223
|
+
return Mono.empty();
|
224
|
+
}
|
225
|
+
|
226
|
+
public Mono<LoyaltyInvitationDto> getLoyaltyInvitationById(final String invitationId, final String customerNumber) {
|
227
|
+
return pingTokenManager.getFreshApplicationAccessToken()
|
228
|
+
.flatMap(token -> lysClient.getLoyaltyInvitationById(invitationId, token)
|
229
|
+
.flatMap(loyaltyInvitation -> lysClient.getLoyaltyProgram(loyaltyInvitation.getTargetAccountType(), token)
|
230
|
+
.map(loyaltyProgram -> LoyaltyInvitationsMapper.loyaltyInvitationToDto(loyaltyInvitation, loyaltyProgram))
|
231
|
+
)
|
232
|
+
)
|
233
|
+
.switchIfEmpty(Mono.error(new CoOwnerInvitationNotFoundException(String.format("No pending or expired invitation found for id %s", invitationId))))
|
234
|
+
.flatMap(loyaltyInvitationDto -> !StringUtils.equals(loyaltyInvitationDto.getCustomerNumber(), customerNumber) ? Mono.error(new UnauthorizedException(String.format("Invitation %s is not assigned to you", invitationId))) : Mono.just(loyaltyInvitationDto));
|
235
|
+
}
|
236
|
+
|
237
|
+
public Flux<LoyaltyInvitationDto> getLoyaltyInvitationsByCustomer(final String customerNumber, final LoyaltyInvitationTopic topic) {
|
238
|
+
return pingTokenManager.getFreshApplicationAccessToken()
|
239
|
+
.flatMapMany(token -> lysClient.getLoyaltyInvitationByCustomer(customerNumber, token, topic)
|
240
|
+
.flatMapMany(loyaltyInvitationResponse -> Flux.fromIterable(loyaltyInvitationResponse.getInvitations())
|
241
|
+
.filter(loyaltyInvitation -> customerNumber.equals(loyaltyInvitation.getGuestCustomerNumber()))
|
242
|
+
.map(LoyaltyInvitationsMapper::loyaltyInvitationToDto)
|
243
|
+
.switchIfEmpty(Flux.empty())));
|
244
|
+
}
|
245
|
+
|
246
|
+
public Mono<LoyaltyInvitationDto> updateLoyaltyInvitationStatus(final String invitationId, final KobiUser kobiUser, final UserInvitationAction userInvitationAction) {
|
247
|
+
LoyaltyInvitationActorType loyaltyInvitationActorType = JwtHelper.isCollab(kobiUser) ? LoyaltyInvitationActorType.EMPLOYEE : LoyaltyInvitationActorType.CUSTOMER;
|
248
|
+
String userId = loyaltyInvitationActorType.equals(LoyaltyInvitationActorType.EMPLOYEE)?LdapHelper.extractAdeoOperator(kobiUser.getUserId()):kobiUser.getUserId();
|
249
|
+
|
250
|
+
return pingTokenManager.getFreshApplicationAccessToken()
|
251
|
+
.flatMap(token -> lysClient.updateLoyaltyInvitationStatus(invitationId, LoyaltyInvitationsMapper.getUpdateLoyaltyInvitationStatusRequest(userId, userInvitationAction, loyaltyInvitationActorType), token)
|
252
|
+
.map(LoyaltyInvitationsMapper::loyaltyInvitationToDto)
|
253
|
+
);
|
254
|
+
}
|
255
|
+
|
256
|
+
|
257
|
+
public Mono<Void> resendInvitationByEmail(final String invitationId, final String receiverValue,final KobiUser kobiUser) {
|
258
|
+
return pingTokenManager.getFreshApplicationAccessToken()
|
259
|
+
.flatMap(token -> lysClient.resendInvitationByEmail(invitationId, receiverValue, token, LdapHelper.extractAdeoOperator(kobiUser.getUserId()))
|
260
|
+
);
|
261
|
+
}
|
262
|
+
}
|
@@ -0,0 +1,267 @@
|
|
1
|
+
package com.adeo.customerprofilebackend.loyalty;
|
2
|
+
|
3
|
+
import com.adeo.customerprofilebackend.commons.helpers.DateHelper;
|
4
|
+
import com.adeo.customerprofilebackend.config.LoyaltyPdfConfig;
|
5
|
+
import com.adeo.customerprofilebackend.customer.CustomerService;
|
6
|
+
import com.adeo.customerprofilebackend.customer.mapper.CustomerMapper;
|
7
|
+
import com.adeo.customerprofilebackend.loyalty.models.pdf.PdfOutputStream;
|
8
|
+
import com.adeo.customerprofilebackend.resource.StoreService;
|
9
|
+
import com.adeo.ipnteam.customerorchestrationv2.client.models.Address;
|
10
|
+
import com.adeo.ipnteam.customerorchestrationv2.client.models.Customer;
|
11
|
+
import com.adeo.ipnteam.customerorchestrationv2.client.models.LoyaltyCustomer;
|
12
|
+
import com.adeo.ipnteam.customerorchestrationv2.client.models.enums.CommunicationTypeEnum;
|
13
|
+
import com.adeo.ipnteam.lys.client.LysAccountNotFoundException;
|
14
|
+
import lombok.AllArgsConstructor;
|
15
|
+
import lombok.Getter;
|
16
|
+
import lombok.RequiredArgsConstructor;
|
17
|
+
import lombok.extern.slf4j.Slf4j;
|
18
|
+
import net.sf.jasperreports.engine.JREmptyDataSource;
|
19
|
+
import net.sf.jasperreports.engine.JRException;
|
20
|
+
import net.sf.jasperreports.engine.JasperCompileManager;
|
21
|
+
import net.sf.jasperreports.engine.JasperExportManager;
|
22
|
+
import net.sf.jasperreports.engine.JasperFillManager;
|
23
|
+
import net.sf.jasperreports.engine.JasperPrint;
|
24
|
+
import net.sf.jasperreports.engine.JasperReport;
|
25
|
+
import org.apache.commons.collections4.CollectionUtils;
|
26
|
+
import org.apache.commons.lang3.StringUtils;
|
27
|
+
import org.springframework.core.io.buffer.DataBuffer;
|
28
|
+
import org.springframework.core.io.buffer.DataBufferFactory;
|
29
|
+
import org.springframework.http.HttpHeaders;
|
30
|
+
import org.springframework.http.HttpStatus;
|
31
|
+
import org.springframework.http.MediaType;
|
32
|
+
import org.springframework.http.server.reactive.ServerHttpResponse;
|
33
|
+
import org.springframework.stereotype.Service;
|
34
|
+
import reactor.core.publisher.Mono;
|
35
|
+
|
36
|
+
import java.io.InputStream;
|
37
|
+
import java.text.DecimalFormat;
|
38
|
+
import java.time.LocalDate;
|
39
|
+
import java.time.format.DateTimeFormatter;
|
40
|
+
import java.util.HashMap;
|
41
|
+
import java.util.List;
|
42
|
+
import java.util.Map;
|
43
|
+
|
44
|
+
@Service
|
45
|
+
@Slf4j
|
46
|
+
@RequiredArgsConstructor
|
47
|
+
public class PdfService {
|
48
|
+
|
49
|
+
public static final String DEFAULT_TEMPLATE_KEY = "default";
|
50
|
+
private static final String FRONT_DATE_FORMAT = "dd/MM/yyyy";
|
51
|
+
private static final String EXPIRES_HEADER_VALUE = "0";
|
52
|
+
private static final String CACHE_CONTROL_HEADER_VALUE = "must-revalidate, post-check=0, pre-check=0";
|
53
|
+
private static final String PRAGMA_HEADER_VALUE = "public";
|
54
|
+
private static final String CONTENT_DISPOSITION_HEADER_PREFIX = "attachment; filename=";
|
55
|
+
private static final String FILE_EXTENSION = ".pdf";
|
56
|
+
private static final String BLANK_SPACE = " ";
|
57
|
+
private static final String END_OF_LINE = "\n";
|
58
|
+
private static final String COMA = ",";
|
59
|
+
private static final DateTimeFormatter FRONT_FORMATTER = DateTimeFormatter.ofPattern(FRONT_DATE_FORMAT);
|
60
|
+
|
61
|
+
private final CustomerService customerService;
|
62
|
+
|
63
|
+
private final StoreService storeService;
|
64
|
+
|
65
|
+
private final LoyaltyPdfConfig loyaltyPdfConfig;
|
66
|
+
|
67
|
+
private static String getCurrentDateFormatted() {
|
68
|
+
|
69
|
+
return LocalDate.now()
|
70
|
+
.format(FRONT_FORMATTER);
|
71
|
+
}
|
72
|
+
|
73
|
+
public Mono<Void> createLoyaltyPdfAndSetHeaders(
|
74
|
+
final ServerHttpResponse response,
|
75
|
+
final String accessToken,
|
76
|
+
final String customerNumber,
|
77
|
+
final String performingUser) {
|
78
|
+
|
79
|
+
final DataBufferFactory bufferFactory = response.bufferFactory();
|
80
|
+
|
81
|
+
final Mono<DataBuffer> dataBufferMono = getCustomerWithStoreNameAndLoyalty(accessToken, customerNumber, performingUser)
|
82
|
+
.map(this::createLoyaltyPDF)
|
83
|
+
.map(bufferFactory::wrap)
|
84
|
+
.doOnSuccess(dataBuffer -> setHeadersForPDF(response, customerNumber));
|
85
|
+
|
86
|
+
return response.writeWith(dataBufferMono);
|
87
|
+
}
|
88
|
+
|
89
|
+
private byte[] createLoyaltyPDF(
|
90
|
+
final CustomerWithStore customer) {
|
91
|
+
|
92
|
+
final LoyaltyCustomer loyalty = customer.getCustomer().getLoyalty();
|
93
|
+
|
94
|
+
return createLoyaltyCardPDF(customer, loyalty,
|
95
|
+
loyaltyPdfConfig.getLysTypeTemplateMapping().getOrDefault(loyalty.getType(), loyaltyPdfConfig.getLysTypeTemplateMapping().get(DEFAULT_TEMPLATE_KEY)))
|
96
|
+
.getBuf();
|
97
|
+
}
|
98
|
+
|
99
|
+
public PdfOutputStream createLoyaltyCardPDF(
|
100
|
+
final CustomerWithStore customerWithStore,
|
101
|
+
final LoyaltyCustomer loyaltyCustomer,
|
102
|
+
final String pdfTemplate) {
|
103
|
+
|
104
|
+
final Customer customer = customerWithStore.getCustomer();
|
105
|
+
final String storeName = customerWithStore.getStoreName();
|
106
|
+
final Address mainAddress = getMainAddressOrEmptyAddress(customerWithStore.getCustomer().getAddresses());
|
107
|
+
|
108
|
+
final Map<String, Object> parameters = new HashMap<>();
|
109
|
+
parameters.put("withCotit", "false");
|
110
|
+
|
111
|
+
final StringBuilder nomTop = new StringBuilder();
|
112
|
+
|
113
|
+
final String civility = CustomerMapper.toCivility(customer.getCivility());
|
114
|
+
nomTop.append(civility).append(BLANK_SPACE);
|
115
|
+
nomTop.append(customer.getLastName()).append(BLANK_SPACE);
|
116
|
+
nomTop.append(customer.getFirstName()).append(COMA);
|
117
|
+
parameters.put("nom_top", nomTop.toString());
|
118
|
+
|
119
|
+
final String nomBottom = civility + BLANK_SPACE +
|
120
|
+
customer.getLastName() + BLANK_SPACE +
|
121
|
+
customer.getFirstName() + COMA;
|
122
|
+
parameters.put("nom_bottom", nomBottom);
|
123
|
+
|
124
|
+
final String fullName = customer.getFirstName() +
|
125
|
+
BLANK_SPACE +
|
126
|
+
customer.getLastName();
|
127
|
+
parameters.put("fullName", fullName);
|
128
|
+
|
129
|
+
parameters.put("date", getCurrentDateFormatted());
|
130
|
+
|
131
|
+
// Always true
|
132
|
+
if (loyaltyCustomer != null) {
|
133
|
+
|
134
|
+
if (StringUtils.isEmpty(loyaltyCustomer.getTypeLabel())) {
|
135
|
+
log.error("Error : loyalty card type label must not be empty");
|
136
|
+
throw new IllegalStateException("Error : loyalty card type label must not be empty");
|
137
|
+
}
|
138
|
+
|
139
|
+
parameters.put("dureecarte", loyaltyCustomer.getTypeLabel());
|
140
|
+
parameters.put("montant", buildAmountLabel(loyaltyCustomer.getMembershipFeeToPay()));
|
141
|
+
parameters.put("barcode", loyaltyCustomer.getCardNumber());
|
142
|
+
|
143
|
+
final String validityDate = loyaltyCustomer.getValidityEndDate() == null ? null : DateHelper.zonedDateTimeToPdfFormat(loyaltyCustomer.getValidityEndDate());
|
144
|
+
parameters.put("datevalidite", validityDate);
|
145
|
+
|
146
|
+
}
|
147
|
+
|
148
|
+
// Infos du client
|
149
|
+
parameters.put("email", CustomerMapper.getCommunicationChannel(customer.getCommunicationChannels(), CommunicationTypeEnum.EMAIL));
|
150
|
+
parameters.put("numero_regroupement", customer.getId());
|
151
|
+
|
152
|
+
// Magasin de rattachement
|
153
|
+
parameters.put("magasin", storeName);
|
154
|
+
|
155
|
+
final StringBuilder address = new StringBuilder();
|
156
|
+
address.append(mainAddress.getStreetNameNumber()).append(END_OF_LINE);
|
157
|
+
if (StringUtils.isNotBlank(mainAddress.getComplementaryLocalizationAddress())) {
|
158
|
+
address.append(mainAddress.getComplementaryLocalizationAddress()).append(END_OF_LINE);
|
159
|
+
}
|
160
|
+
if (StringUtils.isNotBlank(mainAddress.getComplementaryCity())) {
|
161
|
+
address.append(mainAddress.getComplementaryCity()).append(END_OF_LINE);
|
162
|
+
}
|
163
|
+
address.append(mainAddress.getZipCode()).append(END_OF_LINE);
|
164
|
+
address.append(mainAddress.getCity()).append(END_OF_LINE);
|
165
|
+
address.append(mainAddress.getCountryCode()).append(END_OF_LINE);
|
166
|
+
|
167
|
+
parameters.put("adresse", address.toString());
|
168
|
+
|
169
|
+
PdfOutputStream result = null;
|
170
|
+
try {
|
171
|
+
result = this.createPDF(pdfTemplate, parameters);
|
172
|
+
} catch (final JRException e) {
|
173
|
+
log.error("An error occured while trying to create loyalty pdf : ", e);
|
174
|
+
}
|
175
|
+
return result;
|
176
|
+
}
|
177
|
+
|
178
|
+
private PdfOutputStream createPDF(final String templateName, final Map<String, Object> parameters) throws JRException {
|
179
|
+
|
180
|
+
log.debug("Trying to load jrxml from the following path : {}", templateName);
|
181
|
+
|
182
|
+
final InputStream templateStream = Thread.currentThread().getContextClassLoader().getResourceAsStream(templateName);
|
183
|
+
|
184
|
+
final JasperReport report = JasperCompileManager.compileReport(templateStream);
|
185
|
+
|
186
|
+
final PdfOutputStream pdfStream = new PdfOutputStream();
|
187
|
+
final JasperPrint jasperPrint = JasperFillManager.fillReport(report, parameters, new JREmptyDataSource());
|
188
|
+
JasperExportManager.exportReportToPdfStream(jasperPrint, pdfStream);
|
189
|
+
return pdfStream;
|
190
|
+
}
|
191
|
+
|
192
|
+
private Address getMainAddressOrEmptyAddress(final List<Address> addresses) {
|
193
|
+
if (CollectionUtils.isEmpty(addresses)) {
|
194
|
+
return Address.builder()
|
195
|
+
.streetNameNumber("")
|
196
|
+
.zipCode("")
|
197
|
+
.complementaryCity("")
|
198
|
+
.city("")
|
199
|
+
.countryCode("")
|
200
|
+
.build();
|
201
|
+
}
|
202
|
+
return addresses.stream()
|
203
|
+
.filter(Address::getMainAddress)
|
204
|
+
.findFirst()
|
205
|
+
.orElse(Address.builder()
|
206
|
+
.streetNameNumber("")
|
207
|
+
.zipCode("")
|
208
|
+
.complementaryCity("")
|
209
|
+
.city("")
|
210
|
+
.countryCode("")
|
211
|
+
.build());
|
212
|
+
}
|
213
|
+
|
214
|
+
private Mono<CustomerWithStore> getCustomerWithStoreNameAndLoyalty(
|
215
|
+
final String accessToken,
|
216
|
+
final String customerNumber,
|
217
|
+
final String performingUser) {
|
218
|
+
|
219
|
+
return customerService.getOrchestrationProfile(accessToken, customerNumber, performingUser)
|
220
|
+
.flatMap(customer -> {
|
221
|
+
if (customer.getLoyalty() == null || StringUtils.isEmpty(customer.getLoyalty().getCardNumber())) {
|
222
|
+
return Mono.error(new LysAccountNotFoundException(HttpStatus.NOT_FOUND, "Not loyalty account found"));
|
223
|
+
}
|
224
|
+
return storeService.getStoreFromCache(customer.getManagementStore())
|
225
|
+
.map(store -> new CustomerWithStore(customer, store.getLabel()));
|
226
|
+
});
|
227
|
+
}
|
228
|
+
|
229
|
+
private void setHeadersForPDF(final ServerHttpResponse response, final String customerNumber) {
|
230
|
+
|
231
|
+
final String filename = "loyalty-" + customerNumber + FILE_EXTENSION;
|
232
|
+
final HttpHeaders headers = response.getHeaders();
|
233
|
+
|
234
|
+
headers.setContentType(MediaType.APPLICATION_PDF);
|
235
|
+
headers.add(HttpHeaders.EXPIRES, EXPIRES_HEADER_VALUE);
|
236
|
+
headers.add(HttpHeaders.CACHE_CONTROL, CACHE_CONTROL_HEADER_VALUE);
|
237
|
+
headers.add(HttpHeaders.PRAGMA, PRAGMA_HEADER_VALUE);
|
238
|
+
headers.add(HttpHeaders.CONTENT_DISPOSITION, CONTENT_DISPOSITION_HEADER_PREFIX + filename);
|
239
|
+
}
|
240
|
+
|
241
|
+
/**
|
242
|
+
* This method return the amount to pay for membership (ex: "9.00 euros")
|
243
|
+
*
|
244
|
+
* @param membershipFeeToPay
|
245
|
+
* @return
|
246
|
+
*/
|
247
|
+
private String buildAmountLabel(Float membershipFeeToPay) {
|
248
|
+
|
249
|
+
if (membershipFeeToPay == null) {
|
250
|
+
membershipFeeToPay = 0.0F;
|
251
|
+
}
|
252
|
+
final DecimalFormat decimalFormat = new DecimalFormat();
|
253
|
+
// Ensure that the amount is always printed with 2 decimal places
|
254
|
+
decimalFormat.setMaximumFractionDigits(2);
|
255
|
+
return decimalFormat.format(membershipFeeToPay) + BLANK_SPACE + loyaltyPdfConfig.getCurrency();
|
256
|
+
}
|
257
|
+
|
258
|
+
@AllArgsConstructor
|
259
|
+
@Getter
|
260
|
+
static class CustomerWithStore {
|
261
|
+
|
262
|
+
private Customer customer;
|
263
|
+
|
264
|
+
private String storeName;
|
265
|
+
}
|
266
|
+
|
267
|
+
}
|
@@ -0,0 +1,19 @@
|
|
1
|
+
package com.adeo.customerprofilebackend.loyalty.dtos;
|
2
|
+
|
3
|
+
import com.fasterxml.jackson.annotation.JsonInclude;
|
4
|
+
import lombok.AllArgsConstructor;
|
5
|
+
import lombok.Builder;
|
6
|
+
import lombok.Getter;
|
7
|
+
import lombok.NoArgsConstructor;
|
8
|
+
import lombok.Setter;
|
9
|
+
|
10
|
+
@Getter
|
11
|
+
@Setter
|
12
|
+
@AllArgsConstructor
|
13
|
+
@NoArgsConstructor
|
14
|
+
@Builder
|
15
|
+
@JsonInclude(JsonInclude.Include.NON_EMPTY)
|
16
|
+
public class BadgeDto {
|
17
|
+
|
18
|
+
private BadgeTypeDto type;
|
19
|
+
}
|
@@ -0,0 +1,20 @@
|
|
1
|
+
package com.adeo.customerprofilebackend.loyalty.dtos;
|
2
|
+
|
3
|
+
import com.fasterxml.jackson.annotation.JsonInclude;
|
4
|
+
import lombok.AllArgsConstructor;
|
5
|
+
import lombok.Builder;
|
6
|
+
import lombok.Getter;
|
7
|
+
import lombok.NoArgsConstructor;
|
8
|
+
import lombok.Setter;
|
9
|
+
|
10
|
+
@Getter
|
11
|
+
@Setter
|
12
|
+
@AllArgsConstructor
|
13
|
+
@NoArgsConstructor
|
14
|
+
@Builder
|
15
|
+
@JsonInclude(JsonInclude.Include.NON_EMPTY)
|
16
|
+
public class BadgeTypeDto {
|
17
|
+
|
18
|
+
private String value;
|
19
|
+
private String label;
|
20
|
+
}
|
@@ -0,0 +1,16 @@
|
|
1
|
+
package com.adeo.customerprofilebackend.loyalty.dtos;
|
2
|
+
|
3
|
+
import lombok.AllArgsConstructor;
|
4
|
+
import lombok.Builder;
|
5
|
+
import lombok.Getter;
|
6
|
+
import lombok.Setter;
|
7
|
+
|
8
|
+
@Getter
|
9
|
+
@Setter
|
10
|
+
@AllArgsConstructor
|
11
|
+
@Builder
|
12
|
+
public class CguDto {
|
13
|
+
|
14
|
+
private String language;
|
15
|
+
private String url;
|
16
|
+
}
|