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,287 @@
|
|
1
|
+
package com.adeo.customerprofilebackend.loyalty.mappers;
|
2
|
+
|
3
|
+
import com.adeo.customerprofilebackend.commons.DateFormatter;
|
4
|
+
import com.adeo.customerprofilebackend.config.LoyaltyTypesConfig;
|
5
|
+
import com.adeo.customerprofilebackend.loyalty.dtos.BadgeDto;
|
6
|
+
import com.adeo.customerprofilebackend.loyalty.dtos.BadgeTypeDto;
|
7
|
+
import com.adeo.customerprofilebackend.loyalty.dtos.CoOwnerDTO;
|
8
|
+
import com.adeo.customerprofilebackend.loyalty.dtos.LoyaltyCardDto;
|
9
|
+
import com.adeo.customerprofilebackend.loyalty.dtos.LoyaltyCardDto.LoyaltyCardDtoBuilder;
|
10
|
+
import com.adeo.customerprofilebackend.loyalty.dtos.LoyaltyCardType;
|
11
|
+
import com.adeo.customerprofilebackend.loyalty.dtos.ProgramsDto;
|
12
|
+
import com.adeo.customerprofilebackend.loyalty.dtos.RankDto;
|
13
|
+
import com.adeo.customerprofilebackend.loyalty.dtos.RankTypeDto;
|
14
|
+
import com.adeo.customerprofilebackend.loyalty.dtos.ReEnrollDto;
|
15
|
+
import com.adeo.customerprofilebackend.loyalty.dtos.RewardAttributeDto;
|
16
|
+
import com.adeo.customerprofilebackend.loyalty.dtos.RewardBurnCriteriaDto;
|
17
|
+
import com.adeo.customerprofilebackend.loyalty.dtos.RewardDto;
|
18
|
+
import com.adeo.customerprofilebackend.loyalty.helpers.BarcodeHelper;
|
19
|
+
import com.adeo.customerprofilebackend.loyalty.helpers.LoyaltyCardHelper;
|
20
|
+
import com.adeo.ipnteam.customerorchestrationv2.client.models.LoyaltyBadge;
|
21
|
+
import com.adeo.ipnteam.customerorchestrationv2.client.models.LoyaltyCoOwner;
|
22
|
+
import com.adeo.ipnteam.customerorchestrationv2.client.models.LoyaltyCounter;
|
23
|
+
import com.adeo.ipnteam.customerorchestrationv2.client.models.LoyaltyCustomer;
|
24
|
+
import com.adeo.ipnteam.customerorchestrationv2.client.models.LoyaltyRank;
|
25
|
+
import com.adeo.ipnteam.customerorchestrationv2.client.models.LoyaltyReward;
|
26
|
+
import com.adeo.ipnteam.customerorchestrationv2.client.models.enums.LoyaltyAccountStatus;
|
27
|
+
import com.adeo.ipnteam.lys.client.models.LoyaltyAccount;
|
28
|
+
import com.adeo.ipnteam.lys.client.models.Support;
|
29
|
+
import lombok.RequiredArgsConstructor;
|
30
|
+
import org.apache.commons.collections4.CollectionUtils;
|
31
|
+
import org.apache.commons.lang3.StringUtils;
|
32
|
+
import org.springframework.stereotype.Component;
|
33
|
+
|
34
|
+
import java.time.LocalDate;
|
35
|
+
import java.util.Arrays;
|
36
|
+
import java.util.Collections;
|
37
|
+
import java.util.List;
|
38
|
+
import java.util.function.BiConsumer;
|
39
|
+
import java.util.stream.Collectors;
|
40
|
+
|
41
|
+
@RequiredArgsConstructor
|
42
|
+
@Component
|
43
|
+
public class LoyaltyCustomerMapper {
|
44
|
+
|
45
|
+
public static final String POINTS_TYPE_VALUE = "P";
|
46
|
+
private static final String DEMATERIALIZED_SUPPORT_TAG = "DEMATERIALIZED";
|
47
|
+
private final LoyaltyTypesConfig loyaltyTypesConfig;
|
48
|
+
|
49
|
+
private static LoyaltyCardDtoBuilder getRewards(final LoyaltyCardDtoBuilder builder, final List<LoyaltyReward> rewards) {
|
50
|
+
if (CollectionUtils.isNotEmpty(rewards)) {
|
51
|
+
builder.rewards(toRewardDtoList(rewards));
|
52
|
+
final List<String> filteredDates = rewards.stream()
|
53
|
+
.filter(reward -> reward.getValidityEndDate() != null && DateFormatter.format(reward.getValidityEndDate()).length() >= 10)
|
54
|
+
.map(reward -> DateFormatter.format(reward.getValidityEndDate()).substring(0, 10))
|
55
|
+
.collect(Collectors.toList());
|
56
|
+
getRewardAditionnalData(builder, filteredDates, rewards.size());
|
57
|
+
} else {
|
58
|
+
builder.rewardsCount(0);
|
59
|
+
}
|
60
|
+
return builder;
|
61
|
+
}
|
62
|
+
|
63
|
+
public static void getRewardAditionnalData(final LoyaltyCardDtoBuilder builder, final List<String> filteredDates, final int size) {
|
64
|
+
builder
|
65
|
+
.rewardsCount(size);
|
66
|
+
final String rewardsExpirationDate = filteredDates.stream()
|
67
|
+
.min(CharSequence::compare)
|
68
|
+
.orElse(null);
|
69
|
+
if (StringUtils.isNotEmpty(rewardsExpirationDate)) {
|
70
|
+
final Long expiringRewardsCount = filteredDates.stream()
|
71
|
+
.filter(date -> date.equals(rewardsExpirationDate))
|
72
|
+
.count();
|
73
|
+
builder
|
74
|
+
.rewardsExpirationDate(rewardsExpirationDate)
|
75
|
+
.expiringRewardsCount(expiringRewardsCount);
|
76
|
+
}
|
77
|
+
}
|
78
|
+
|
79
|
+
public static LoyaltyCardDto toLoyaltyCardDto(final LoyaltyCustomer customerLoyalty, final LocalDate movingDate) {
|
80
|
+
|
81
|
+
return toLoyaltyCardDto(customerLoyalty, movingDate, Fields.values());
|
82
|
+
}
|
83
|
+
|
84
|
+
public static LoyaltyCardDto toLoyaltyCardDto(final LoyaltyCustomer customerLoyalty, final LocalDate movingDate, final Fields... fields) {
|
85
|
+
|
86
|
+
if (customerLoyalty == null || customerLoyalty.getErrorMessage() != null) {
|
87
|
+
return null;
|
88
|
+
}
|
89
|
+
|
90
|
+
final LoyaltyCardDtoBuilder builder = LoyaltyCardDto.builder();
|
91
|
+
|
92
|
+
Arrays.stream(fields).forEach(
|
93
|
+
field -> field.fillBuilder(builder, customerLoyalty)
|
94
|
+
);
|
95
|
+
|
96
|
+
return builder.build();
|
97
|
+
}
|
98
|
+
|
99
|
+
public static String loyaltyCardTypeToLoyaltyCardTypeSupport(final String loyaltyCardType, final ProgramsDto availablePrograms) {
|
100
|
+
|
101
|
+
if (loyaltyCardType == null) {
|
102
|
+
return null;
|
103
|
+
} else if (availablePrograms != null) {
|
104
|
+
return availablePrograms.getPrograms().stream()
|
105
|
+
.filter(programDto -> loyaltyCardType.equals(programDto.getType()))
|
106
|
+
.findFirst()
|
107
|
+
.orElseThrow(() -> new IllegalArgumentException("Program " + loyaltyCardType + " is not available for current subscription"))
|
108
|
+
.getSupports().stream()
|
109
|
+
.filter(support -> DEMATERIALIZED_SUPPORT_TAG.equals(support.getTag()))
|
110
|
+
.findFirst()
|
111
|
+
.orElse(Support.builder().build())
|
112
|
+
.getType();
|
113
|
+
}
|
114
|
+
|
115
|
+
return null;
|
116
|
+
}
|
117
|
+
|
118
|
+
public static LoyaltyCardType toLoyaltyCardType(final LoyaltyAccount loyaltyAccount) {
|
119
|
+
if (loyaltyAccount == null) {
|
120
|
+
return null;
|
121
|
+
}
|
122
|
+
return getLoyaltyCardType(loyaltyAccount.getType(), loyaltyAccount.getTypeLabel());
|
123
|
+
}
|
124
|
+
|
125
|
+
public static LoyaltyCardType toLoyaltyCardType(final LoyaltyCustomer loyaltyCustomer) {
|
126
|
+
if (loyaltyCustomer == null || loyaltyCustomer.getErrorMessage() != null) {
|
127
|
+
return null;
|
128
|
+
}
|
129
|
+
return getLoyaltyCardType(loyaltyCustomer.getType(), loyaltyCustomer.getTypeLabel());
|
130
|
+
}
|
131
|
+
|
132
|
+
private static LoyaltyCardType getLoyaltyCardType(final String type, final String typeLabel) {
|
133
|
+
if (type == null) {
|
134
|
+
return null;
|
135
|
+
}
|
136
|
+
return LoyaltyCardType.builder().id(type).label(typeLabel).build();
|
137
|
+
|
138
|
+
}
|
139
|
+
|
140
|
+
private static long computePoints(final List<LoyaltyCounter> counterList) {
|
141
|
+
|
142
|
+
if (counterList == null) {
|
143
|
+
return 0;
|
144
|
+
}
|
145
|
+
|
146
|
+
return counterList.stream()
|
147
|
+
.filter(counter -> POINTS_TYPE_VALUE.equals(counter.getType()))
|
148
|
+
.findFirst()
|
149
|
+
.map(LoyaltyCounter::getValue)
|
150
|
+
.map(Float::longValue)
|
151
|
+
.orElse(0L);
|
152
|
+
}
|
153
|
+
|
154
|
+
private static boolean computeInvalid(final LoyaltyCustomer customerLoyalty) {
|
155
|
+
|
156
|
+
return LoyaltyAccountStatus.INVALID.equals(customerLoyalty.getStatus())
|
157
|
+
|| LoyaltyCardHelper.isCardExpireSinceLessThanSixMonths(customerLoyalty);
|
158
|
+
}
|
159
|
+
|
160
|
+
private static ReEnrollDto buildEnrollDto(final LoyaltyCustomer loyaltyAccount) {
|
161
|
+
|
162
|
+
return ReEnrollDto.builder()
|
163
|
+
.valid(LoyaltyCardHelper.isEnrollCard(loyaltyAccount))
|
164
|
+
.endDate(LoyaltyCardHelper.getDateUntilCustomerCanReEnroll(loyaltyAccount))
|
165
|
+
.build();
|
166
|
+
}
|
167
|
+
|
168
|
+
private static List<RewardDto> toRewardDtoList(final List<LoyaltyReward> rewards) {
|
169
|
+
|
170
|
+
if (rewards == null) {
|
171
|
+
return Collections.emptyList();
|
172
|
+
}
|
173
|
+
return rewards.stream()
|
174
|
+
.map(reward -> RewardDto.builder()
|
175
|
+
.modelCode(reward.getCode())
|
176
|
+
.modelLabel(reward.getLabel())
|
177
|
+
.attributes(RewardAttributeDto.builder()
|
178
|
+
.validityEndDate(DateFormatter.format(reward.getValidityEndDate()))
|
179
|
+
.value(reward.getValue())
|
180
|
+
.build())
|
181
|
+
.burnCriterias(RewardBurnCriteriaDto.builder()
|
182
|
+
.counterType(reward.getRewardType())
|
183
|
+
.build())
|
184
|
+
.build())
|
185
|
+
.collect(Collectors.toList());
|
186
|
+
}
|
187
|
+
|
188
|
+
private static List<BadgeDto> toBadgesDtoList(final List<LoyaltyBadge> badges) {
|
189
|
+
|
190
|
+
return CollectionUtils.isEmpty(badges) ?
|
191
|
+
Collections.emptyList() :
|
192
|
+
badges.stream()
|
193
|
+
.map(LoyaltyCustomerMapper::toBadgeDto)
|
194
|
+
.collect(Collectors.toList());
|
195
|
+
}
|
196
|
+
|
197
|
+
private static BadgeDto toBadgeDto(final LoyaltyBadge badge) {
|
198
|
+
|
199
|
+
if (badge == null || badge.getType() == null) {
|
200
|
+
return null;
|
201
|
+
}
|
202
|
+
|
203
|
+
return BadgeDto.builder()
|
204
|
+
.type(BadgeTypeDto.builder()
|
205
|
+
.value(badge.getType().getValue())
|
206
|
+
.label(badge.getType().getLabel())
|
207
|
+
.build())
|
208
|
+
.build();
|
209
|
+
}
|
210
|
+
|
211
|
+
private static RankDto toRankDto(final LoyaltyRank rank) {
|
212
|
+
|
213
|
+
if (rank == null || rank.getType() == null) {
|
214
|
+
return null;
|
215
|
+
}
|
216
|
+
|
217
|
+
return RankDto.builder()
|
218
|
+
.id(rank.getId())
|
219
|
+
.status(rank.getStatus())
|
220
|
+
.type(RankTypeDto.builder()
|
221
|
+
.label(rank.getType().getLabel())
|
222
|
+
.value(rank.getType().getValue())
|
223
|
+
.build())
|
224
|
+
.creationDate(rank.getCreationDate() == null ? null : DateFormatter.format(rank.getCreationDate()))
|
225
|
+
.updateDate(rank.getUpdateDate() == null ? null : DateFormatter.format(rank.getUpdateDate()))
|
226
|
+
.endDate(rank.getEndDate() == null ? null : DateFormatter.format(rank.getEndDate()))
|
227
|
+
.build();
|
228
|
+
}
|
229
|
+
|
230
|
+
private static List<CoOwnerDTO> toCoOwnerDtos(final List<LoyaltyCoOwner> loyaltyCoOwners) {
|
231
|
+
if (CollectionUtils.isEmpty(loyaltyCoOwners)) {
|
232
|
+
return Collections.emptyList();
|
233
|
+
}
|
234
|
+
return loyaltyCoOwners.stream().map(LoyaltyCustomerMapper::toCoOwnerDto).collect(Collectors.toList());
|
235
|
+
}
|
236
|
+
|
237
|
+
private static CoOwnerDTO toCoOwnerDto(final LoyaltyCoOwner loyaltyCoOwner) {
|
238
|
+
|
239
|
+
if (loyaltyCoOwner == null) {
|
240
|
+
return null;
|
241
|
+
}
|
242
|
+
|
243
|
+
return CoOwnerDTO.builder()
|
244
|
+
.name(loyaltyCoOwner.getName())
|
245
|
+
.firstName(loyaltyCoOwner.getFirstName())
|
246
|
+
.cardNumber(loyaltyCoOwner.getCardNumber())
|
247
|
+
.customerId(loyaltyCoOwner.getCustomerId())
|
248
|
+
.build();
|
249
|
+
}
|
250
|
+
|
251
|
+
public enum Fields {
|
252
|
+
NUMBER((builder, loyalty) -> builder.number(loyalty.getCardNumber())),
|
253
|
+
TYPE((builder, loyalty) -> builder.type(toLoyaltyCardType(loyalty))),
|
254
|
+
POINTS((builder, loyalty) -> builder.points(computePoints(loyalty.getCounters()))),
|
255
|
+
STATUS((builder, loyalty) -> builder.status(loyalty.getStatus())),
|
256
|
+
INVALID((builder, loyalty) -> builder.invalid(computeInvalid(loyalty))),
|
257
|
+
EXPIRED((builder, loyalty) -> builder.expired(LoyaltyCardHelper.isCardExpired(loyalty))),
|
258
|
+
RE_ENROLL((builder, loyalty) -> builder.reEnroll(buildEnrollDto(loyalty))),
|
259
|
+
START_DATE((builder, loyalty) -> builder.startDate(DateFormatter.format(loyalty.getValidityStartDate()))),
|
260
|
+
END_DATE((builder, loyalty) -> builder.endDate(DateFormatter.format(loyalty.getValidityEndDate()))),
|
261
|
+
BAR_CODE((builder, loyalty) -> builder.barcode(BarcodeHelper.generateBarcodeBase64(loyalty.getCardNumber()))),
|
262
|
+
HAS_LOYALTY((builder, loyalty) -> builder.hasLoyalty(true)),
|
263
|
+
HAS_CARD_NUMBER((builder, loyalty) -> builder.hasCardNumber(StringUtils.isNotEmpty(loyalty.getCardNumber()))),
|
264
|
+
REWARDS((builder, loyalty) -> getRewards(builder, loyalty.getRewards())),
|
265
|
+
BADGES((builder, loyalty) -> builder.badges(toBadgesDtoList(loyalty.getBadges()))),
|
266
|
+
RANK((builder, loyalty) -> builder.rank(toRankDto(loyalty.getRank()))),
|
267
|
+
MIGRATION_STATE((builder, loyalty) -> builder.migrationState(loyalty.getMigrationState())),
|
268
|
+
CO_OWNER((builder, loyalty) -> builder.coOwners(toCoOwnerDtos(loyalty.getCoOwners()))),
|
269
|
+
REMEMBERSHIP_AVAILABLE((builder, loyalty) -> builder.remembershipAvailable(loyalty.getRemembershipAvailable())),
|
270
|
+
CGU((builder, loyalty) -> builder.cgu(loyalty.getCgu())),
|
271
|
+
POINT_TRANSFORMATION_AVAILABLE((builder, loyalty) -> builder.pointTransformationAvailable(loyalty.getPointTransformationAvailable())),
|
272
|
+
ACCESS_PARTNER_PLATFORM_AVAILABLE((builder, loyalty) -> builder.isAccessPartnerPlatformAvailable(loyalty.isAccessPartnerPlatformAvailable()));
|
273
|
+
|
274
|
+
|
275
|
+
private final BiConsumer<LoyaltyCardDtoBuilder, LoyaltyCustomer> operation;
|
276
|
+
|
277
|
+
Fields(final BiConsumer<LoyaltyCardDtoBuilder, LoyaltyCustomer> operation) {
|
278
|
+
|
279
|
+
this.operation = operation;
|
280
|
+
}
|
281
|
+
|
282
|
+
public void fillBuilder(final LoyaltyCardDtoBuilder loyaltyCardDtoBuilder, final LoyaltyCustomer o) {
|
283
|
+
|
284
|
+
operation.accept(loyaltyCardDtoBuilder, o);
|
285
|
+
}
|
286
|
+
}
|
287
|
+
}
|
@@ -0,0 +1,103 @@
|
|
1
|
+
package com.adeo.customerprofilebackend.loyalty.mappers;
|
2
|
+
|
3
|
+
import com.adeo.customerprofilebackend.loyalty.dtos.ProgramDto;
|
4
|
+
import com.adeo.customerprofilebackend.loyalty.dtos.invitations.LoyaltyInvitationDto;
|
5
|
+
import com.adeo.customerprofilebackend.loyalty.dtos.invitations.UserInvitationAction;
|
6
|
+
import com.adeo.customerprofilebackend.loyalty.requests.CreateLoyaltyInvitationAttributesPreRequest;
|
7
|
+
import com.adeo.customerprofilebackend.loyalty.requests.CreateLoyaltyInvitationPreRequest;
|
8
|
+
import com.adeo.ipnteam.lys.client.models.LoyaltyProgram;
|
9
|
+
import com.adeo.ipnteam.lys.client.models.invitations.CreateLoyaltyInvitationRequest;
|
10
|
+
import com.adeo.ipnteam.lys.client.models.invitations.LoyaltyInvitation;
|
11
|
+
import com.adeo.ipnteam.lys.client.models.invitations.LoyaltyInvitationActor;
|
12
|
+
import com.adeo.ipnteam.lys.client.models.invitations.LoyaltyInvitationActorType;
|
13
|
+
import com.adeo.ipnteam.lys.client.models.invitations.LoyaltyInvitationStatus;
|
14
|
+
import com.adeo.ipnteam.lys.client.models.invitations.UpdateLoyaltyInvitationStatusRequest;
|
15
|
+
import lombok.experimental.UtilityClass;
|
16
|
+
import org.apache.commons.collections.CollectionUtils;
|
17
|
+
import org.apache.commons.lang3.NotImplementedException;
|
18
|
+
|
19
|
+
import static com.adeo.ipnteam.lys.client.models.invitations.LoyaltyInvitationActorType.CUSTOMER;
|
20
|
+
import static com.adeo.ipnteam.lys.client.models.invitations.LoyaltyInvitationActorType.EMPLOYEE;
|
21
|
+
|
22
|
+
@UtilityClass
|
23
|
+
public class LoyaltyInvitationsMapper {
|
24
|
+
|
25
|
+
public LoyaltyInvitationDto loyaltyInvitationToDto(LoyaltyInvitation loyaltyInvitation) {
|
26
|
+
return loyaltyInvitationToDto(loyaltyInvitation, null);
|
27
|
+
}
|
28
|
+
|
29
|
+
public LoyaltyInvitationDto loyaltyInvitationToDto(LoyaltyInvitation loyaltyInvitation, LoyaltyProgram loyaltyProgram) {
|
30
|
+
ProgramDto programDto = LoyaltyProgramMapper.mapProgram(loyaltyProgram);
|
31
|
+
return LoyaltyInvitationDto.builder()
|
32
|
+
.id(loyaltyInvitation.getId())
|
33
|
+
.topic(loyaltyInvitation.getTopic())
|
34
|
+
.senderIdentifier(loyaltyInvitation.getHostNumber())
|
35
|
+
.senderFirstName(loyaltyInvitation.getHostFirstname())
|
36
|
+
.senderLastName(loyaltyInvitation.getHostName())
|
37
|
+
.customerNumber(loyaltyInvitation.getGuestCustomerNumber())
|
38
|
+
.validityStartDate(loyaltyInvitation.getValidityStartDate())
|
39
|
+
.validityEndDate(loyaltyInvitation.getValidityEndDate())
|
40
|
+
.isExpired(LoyaltyInvitationStatus.EXPIRED.equals(loyaltyInvitation.getStatus()))
|
41
|
+
.status(loyaltyInvitation.getStatus())
|
42
|
+
.accountType(loyaltyInvitation.getTargetAccountType())
|
43
|
+
.cguUrl(programDto != null && CollectionUtils.isNotEmpty(programDto.getCgus()) ? programDto.getCgus().get(0).getUrl() : null)
|
44
|
+
.build();
|
45
|
+
}
|
46
|
+
|
47
|
+
public UpdateLoyaltyInvitationStatusRequest getUpdateLoyaltyInvitationStatusRequest(final String senderValue, final UserInvitationAction userInvitationAction, final LoyaltyInvitationActorType senderType) {
|
48
|
+
|
49
|
+
return UpdateLoyaltyInvitationStatusRequest.builder()
|
50
|
+
.action(userInvitationAction.getUserAction())
|
51
|
+
.senderIdentifierType(senderType)
|
52
|
+
.senderIdentifierValue(senderValue)
|
53
|
+
.build();
|
54
|
+
}
|
55
|
+
|
56
|
+
|
57
|
+
|
58
|
+
public CreateLoyaltyInvitationRequest getCreateLoyaltyInvitationRequest(final String customerNumber, final String performingUser, final CreateLoyaltyInvitationPreRequest preRequest, final CreateLoyaltyInvitationAttributesPreRequest attributes) {
|
59
|
+
|
60
|
+
switch (preRequest.getInvitationTopic()) {
|
61
|
+
case ADD_CO_OWNER:
|
62
|
+
return mapToCreateAddCoownerInvitationRequest();
|
63
|
+
|
64
|
+
case MEMBERSHIP:
|
65
|
+
return mapToCreateMembershipInvitationRequest(customerNumber, performingUser, preRequest, attributes);
|
66
|
+
|
67
|
+
default:
|
68
|
+
return null;
|
69
|
+
}
|
70
|
+
}
|
71
|
+
|
72
|
+
private static CreateLoyaltyInvitationRequest mapToCreateMembershipInvitationRequest(String customerNumber, String performingUser, CreateLoyaltyInvitationPreRequest preRequest, CreateLoyaltyInvitationAttributesPreRequest attributesPreRequest) {
|
73
|
+
|
74
|
+
CreateLoyaltyInvitationRequest.Attributes attributes = CreateLoyaltyInvitationRequest.Attributes.builder()
|
75
|
+
.employeeUid(preRequest.getEmployeeUid())
|
76
|
+
.accountType(preRequest.getAccountType())
|
77
|
+
.channel(attributesPreRequest.getChannel())
|
78
|
+
.pointOfSale(attributesPreRequest.getManagementPointOfSale())
|
79
|
+
.build();
|
80
|
+
|
81
|
+
LoyaltyInvitationActor host = LoyaltyInvitationActor.builder()
|
82
|
+
.identifierType(EMPLOYEE)
|
83
|
+
.identifierValue(performingUser)
|
84
|
+
.build();
|
85
|
+
|
86
|
+
LoyaltyInvitationActor guest = LoyaltyInvitationActor.builder()
|
87
|
+
.identifierType(CUSTOMER)
|
88
|
+
.identifierValue(customerNumber)
|
89
|
+
.build();
|
90
|
+
|
91
|
+
return CreateLoyaltyInvitationRequest.builder()
|
92
|
+
.topic(preRequest.getInvitationTopic())
|
93
|
+
.host(host)
|
94
|
+
.guest(guest)
|
95
|
+
.attributes(attributes)
|
96
|
+
.build();
|
97
|
+
}
|
98
|
+
|
99
|
+
private static CreateLoyaltyInvitationRequest mapToCreateAddCoownerInvitationRequest() {
|
100
|
+
throw new NotImplementedException();
|
101
|
+
}
|
102
|
+
|
103
|
+
}
|
@@ -0,0 +1,129 @@
|
|
1
|
+
package com.adeo.customerprofilebackend.loyalty.mappers;
|
2
|
+
|
3
|
+
import com.adeo.customerprofilebackend.config.LoyaltyProgramConfig;
|
4
|
+
import com.adeo.customerprofilebackend.loyalty.dtos.CguDto;
|
5
|
+
import com.adeo.customerprofilebackend.loyalty.dtos.MembershipProcess;
|
6
|
+
import com.adeo.customerprofilebackend.loyalty.dtos.ProgramDto;
|
7
|
+
import com.adeo.customerprofilebackend.loyalty.dtos.ProgramsDto;
|
8
|
+
import com.adeo.ipnteam.lys.client.models.LoyaltyAvailablePrograms;
|
9
|
+
import com.adeo.ipnteam.lys.client.models.LoyaltyProgram;
|
10
|
+
import com.adeo.ipnteam.lys.client.models.RewardDescription;
|
11
|
+
import org.springframework.util.CollectionUtils;
|
12
|
+
|
13
|
+
import java.time.LocalDate;
|
14
|
+
import java.time.format.DateTimeFormatter;
|
15
|
+
import java.util.Collections;
|
16
|
+
import java.util.List;
|
17
|
+
import java.util.Map;
|
18
|
+
import java.util.Optional;
|
19
|
+
import java.util.stream.Collectors;
|
20
|
+
|
21
|
+
public class LoyaltyProgramMapper {
|
22
|
+
|
23
|
+
public static final String YYYY_MM_DD = "yyyyMMdd";
|
24
|
+
private static final String CGU_CODE = "CGU";
|
25
|
+
|
26
|
+
public static ProgramsDto mapPrograms(final LoyaltyAvailablePrograms programs, final LoyaltyProgramConfig loyaltyProgramConfig) {
|
27
|
+
|
28
|
+
final List<ProgramDto> programsDto;
|
29
|
+
if (CollectionUtils.isEmpty(programs.getAvailablePrograms())) {
|
30
|
+
programsDto = Collections.emptyList();
|
31
|
+
} else {
|
32
|
+
programsDto = programs.getAvailablePrograms().stream()
|
33
|
+
.filter(program -> loyaltyProgramConfig.getExcludedProgramIds() == null || !loyaltyProgramConfig.getExcludedProgramIds().contains(program.getType()))
|
34
|
+
.map(LoyaltyProgramMapper::mapProgram)
|
35
|
+
.collect(Collectors.toList());
|
36
|
+
}
|
37
|
+
|
38
|
+
return ProgramsDto.builder()
|
39
|
+
.programs(programsDto)
|
40
|
+
.membershipProcess(computeMembershipProcess(programs))
|
41
|
+
.build();
|
42
|
+
}
|
43
|
+
|
44
|
+
public static ProgramDto mapProgram(final LoyaltyProgram program) {
|
45
|
+
|
46
|
+
if (program == null) {
|
47
|
+
return null;
|
48
|
+
}
|
49
|
+
|
50
|
+
return ProgramDto.builder()
|
51
|
+
.type(program.getType())
|
52
|
+
.label(getTitleFrom(program.getTitle()))
|
53
|
+
.fee(program.getFee())
|
54
|
+
.duration(program.getDuration())
|
55
|
+
.durationUnit(program.getDurationUnit())
|
56
|
+
.cgus(getCguLinksFromLoyaltyProgram(program))
|
57
|
+
.rewards(getRewardsFromDescription(program.getDescription()))
|
58
|
+
.customerTypes(CollectionUtils.isEmpty(program.getCustomerType()) ? Collections.emptyList() : program.getCustomerType())
|
59
|
+
.supports(program.getSupports())
|
60
|
+
.availableFeatures(program.getAvailableFeatures())
|
61
|
+
.build();
|
62
|
+
}
|
63
|
+
|
64
|
+
private static String getTitleFrom(final Map<String, String> titles) {
|
65
|
+
|
66
|
+
if (CollectionUtils.isEmpty(titles)) {
|
67
|
+
return "";
|
68
|
+
}
|
69
|
+
|
70
|
+
return titles.entrySet()
|
71
|
+
.stream()
|
72
|
+
.findFirst()
|
73
|
+
.flatMap(translationValue -> Optional.ofNullable(translationValue.getValue()))
|
74
|
+
.orElse("");
|
75
|
+
}
|
76
|
+
|
77
|
+
private static List<String> getRewardsFromDescription(final Map<String, List<RewardDescription>> description) {
|
78
|
+
|
79
|
+
if (CollectionUtils.isEmpty(description)) {
|
80
|
+
return Collections.emptyList();
|
81
|
+
}
|
82
|
+
|
83
|
+
return description.entrySet().stream()
|
84
|
+
.findFirst()
|
85
|
+
.map(translation -> translation.getValue().stream()
|
86
|
+
.map(RewardDescription::getTitle)
|
87
|
+
.collect(Collectors.toList()))
|
88
|
+
.orElseGet(Collections::emptyList);
|
89
|
+
}
|
90
|
+
|
91
|
+
private static List<CguDto> getCguLinksFromLoyaltyProgram(final LoyaltyProgram program) {
|
92
|
+
|
93
|
+
if (CollectionUtils.isEmpty(program.getTerms())) {
|
94
|
+
return Collections.emptyList();
|
95
|
+
}
|
96
|
+
|
97
|
+
return program.getTerms().stream()
|
98
|
+
.filter(term -> term.getCode().equals(CGU_CODE))
|
99
|
+
.findFirst()
|
100
|
+
.flatMap(term -> term.getVersions().stream()
|
101
|
+
.reduce((v1, v2) -> convertIntoLocalDate(v1.getStartDate()).isAfter(convertIntoLocalDate(v2.getStartDate())) ? v1 : v2)
|
102
|
+
.flatMap(version -> Optional.ofNullable(version.getLink())))
|
103
|
+
.map(entries -> entries.entrySet().stream()
|
104
|
+
.map(entry -> CguDto.builder().language(entry.getKey().toUpperCase()).url(entry.getValue()).build())
|
105
|
+
.collect(Collectors.toList()))
|
106
|
+
.orElse(Collections.emptyList());
|
107
|
+
}
|
108
|
+
|
109
|
+
private static LocalDate convertIntoLocalDate(final String date) {
|
110
|
+
if (date != null && !date.isEmpty()) {
|
111
|
+
final DateTimeFormatter formatter = DateTimeFormatter.ofPattern(YYYY_MM_DD);
|
112
|
+
return LocalDate.parse(date, formatter);
|
113
|
+
}
|
114
|
+
|
115
|
+
return LocalDate.now();
|
116
|
+
}
|
117
|
+
|
118
|
+
private static MembershipProcess computeMembershipProcess(final LoyaltyAvailablePrograms programs) {
|
119
|
+
if (CollectionUtils.isEmpty(programs.getAvailablePrograms())) {
|
120
|
+
return MembershipProcess.NO_MEMBERSHIP;
|
121
|
+
}
|
122
|
+
|
123
|
+
if (programs.isMembershipIsMandatory()) {
|
124
|
+
return programs.getAvailablePrograms().size() == 1 ? MembershipProcess.AUTO_MEMBERSHIP : MembershipProcess.MANDATORY_CLIENT_MEMBERSHIP;
|
125
|
+
} else {
|
126
|
+
return MembershipProcess.OPTIONAL_CLIENT_MEMBERSHIP;
|
127
|
+
}
|
128
|
+
}
|
129
|
+
}
|
@@ -0,0 +1,47 @@
|
|
1
|
+
package com.adeo.customerprofilebackend.loyalty.mappers;
|
2
|
+
|
3
|
+
import com.adeo.customerprofilebackend.loyalty.dtos.ProgramsDto;
|
4
|
+
import com.adeo.customerprofilebackend.loyalty.requests.CreateLoyaltyRequest;
|
5
|
+
import com.adeo.ipnteam.lys.client.models.MembershipRequest;
|
6
|
+
import com.adeo.ipnteam.lys.client.models.Support;
|
7
|
+
import lombok.RequiredArgsConstructor;
|
8
|
+
import org.springframework.stereotype.Component;
|
9
|
+
|
10
|
+
import java.util.Collections;
|
11
|
+
import java.util.Objects;
|
12
|
+
|
13
|
+
@Component
|
14
|
+
@RequiredArgsConstructor
|
15
|
+
public class MembershipRequestMapper {
|
16
|
+
|
17
|
+
public MembershipRequest from(final CreateLoyaltyRequest createLoyalty, final String channel, final int pointOfSale, final ProgramsDto availablePrograms) {
|
18
|
+
|
19
|
+
Objects.requireNonNull(createLoyalty);
|
20
|
+
return from(createLoyalty.getPartnerCode(), createLoyalty.getType(), channel, pointOfSale, availablePrograms);
|
21
|
+
}
|
22
|
+
|
23
|
+
public MembershipRequest from(final String partnerCode, final String type, final String channel, final int pointOfSale, final ProgramsDto availablePrograms) {
|
24
|
+
|
25
|
+
Objects.requireNonNull(type);
|
26
|
+
return MembershipRequest.builder()
|
27
|
+
.channel(channel)
|
28
|
+
.pointOfSale(pointOfSale)
|
29
|
+
.partnerCode(partnerCode)
|
30
|
+
.type(type)
|
31
|
+
.supports(Collections.singletonList(Support.builder()
|
32
|
+
.type(LoyaltyCustomerMapper.loyaltyCardTypeToLoyaltyCardTypeSupport(type, availablePrograms))
|
33
|
+
.build()
|
34
|
+
))
|
35
|
+
.build();
|
36
|
+
}
|
37
|
+
|
38
|
+
public MembershipRequest forReapply(final String type, final String channel, final int pointOfSale) {
|
39
|
+
|
40
|
+
return MembershipRequest.builder()
|
41
|
+
.channel(channel)
|
42
|
+
.pointOfSale(pointOfSale)
|
43
|
+
.type(type)
|
44
|
+
.build();
|
45
|
+
}
|
46
|
+
|
47
|
+
}
|
@@ -0,0 +1,94 @@
|
|
1
|
+
package com.adeo.customerprofilebackend.loyalty.mappers;
|
2
|
+
|
3
|
+
import com.adeo.customerprofilebackend.commons.DateFormatter;
|
4
|
+
import com.adeo.customerprofilebackend.loyalty.dtos.pointtransformation.PointTransformationDto;
|
5
|
+
import com.adeo.ipnteam.lyse.targetedoffer.client.models.ClientLoyaltyReward;
|
6
|
+
import com.adeo.ipnteam.lyse.targetedoffer.client.models.CotationLoyaltyRewards;
|
7
|
+
import lombok.experimental.UtilityClass;
|
8
|
+
import org.apache.commons.collections4.CollectionUtils;
|
9
|
+
import org.apache.commons.lang3.StringUtils;
|
10
|
+
|
11
|
+
import java.time.LocalDate;
|
12
|
+
import java.time.Period;
|
13
|
+
import java.time.YearMonth;
|
14
|
+
import java.util.Collections;
|
15
|
+
import java.util.Comparator;
|
16
|
+
import java.util.List;
|
17
|
+
import java.util.stream.Collectors;
|
18
|
+
|
19
|
+
import static java.time.temporal.ChronoUnit.MONTHS;
|
20
|
+
|
21
|
+
@UtilityClass
|
22
|
+
public class PointTansformationMapper {
|
23
|
+
|
24
|
+
private static final String POINT_TYPE = "P";
|
25
|
+
private static final String POINTS_LABEL = "points";
|
26
|
+
private static final String CURRENCY_TYPE = "CURRENCY";
|
27
|
+
private static final String PERCENT_TYPE = "PERCENT";
|
28
|
+
private static final String PERCENT_LABEL = "%";
|
29
|
+
|
30
|
+
public List<PointTransformationDto> cotationLoyaltyRewardsToPointTransformationDto(final CotationLoyaltyRewards cotationLoyaltyRewards, final String currencyLabel) {
|
31
|
+
if (cotationLoyaltyRewards == null || CollectionUtils.isEmpty(cotationLoyaltyRewards.getClientLoyaltyRewards())) {
|
32
|
+
return Collections.emptyList();
|
33
|
+
}
|
34
|
+
return cotationLoyaltyRewards.getClientLoyaltyRewards().stream()
|
35
|
+
.map(clientLoyaltyReward -> PointTansformationMapper.clientLoyaltyRewardToPointTransformationDto(clientLoyaltyReward, currencyLabel))
|
36
|
+
.sorted(Comparator.comparing(PointTransformationDto::getActive).thenComparing(PointTransformationDto::getFactor).reversed())
|
37
|
+
.collect(Collectors.toList());
|
38
|
+
}
|
39
|
+
|
40
|
+
private PointTransformationDto clientLoyaltyRewardToPointTransformationDto(final ClientLoyaltyReward clientLoyaltyReward, final String currencyLabel) {
|
41
|
+
final PointTransformationDto.PointTransformationDtoBuilder pointTransformationDtoBuilder = PointTransformationDto.builder();
|
42
|
+
if (clientLoyaltyReward.getLoyaltyReward() != null) {
|
43
|
+
pointTransformationDtoBuilder
|
44
|
+
.activationCode(clientLoyaltyReward.getLoyaltyReward().getTriggerCode())
|
45
|
+
.rewardLabel(getLabel(clientLoyaltyReward.getLoyaltyReward().getType(), currencyLabel))
|
46
|
+
.reward(clientLoyaltyReward.getLoyaltyReward().getValue())
|
47
|
+
.description(clientLoyaltyReward.getLoyaltyReward().getLabel());
|
48
|
+
if (clientLoyaltyReward.getLoyaltyReward().getCounterRequirement() != null) {
|
49
|
+
pointTransformationDtoBuilder
|
50
|
+
.amountLabel(getLabel(clientLoyaltyReward.getLoyaltyReward().getCounterRequirement().getType(), currencyLabel))
|
51
|
+
.amount(clientLoyaltyReward.getLoyaltyReward().getCounterRequirement().getAmount())
|
52
|
+
.missingAmount(clientLoyaltyReward.getCounterGap() == null ? null : clientLoyaltyReward.getCounterGap().getAmount());
|
53
|
+
}
|
54
|
+
}
|
55
|
+
return pointTransformationDtoBuilder
|
56
|
+
.active(isActive(clientLoyaltyReward))
|
57
|
+
.factor(clientLoyaltyReward.getAvailabilityFactor())
|
58
|
+
.validityEndDate(getValidityEndDate(clientLoyaltyReward.getPeriod()))
|
59
|
+
.build();
|
60
|
+
}
|
61
|
+
|
62
|
+
private String getValidityEndDate(final Period period) {
|
63
|
+
if (period == null) {
|
64
|
+
return null;
|
65
|
+
}
|
66
|
+
if (period.getMonths() != 0) {
|
67
|
+
return DateFormatter.format(YearMonth.now().plus(period.getMonths(), MONTHS).atEndOfMonth());
|
68
|
+
}
|
69
|
+
return DateFormatter.format(LocalDate.now().plus(period));
|
70
|
+
}
|
71
|
+
|
72
|
+
private Boolean isActive(final ClientLoyaltyReward clientLoyaltyReward) {
|
73
|
+
if (clientLoyaltyReward.getAvailable()) {
|
74
|
+
return true;
|
75
|
+
}
|
76
|
+
if (clientLoyaltyReward.getPotential()) {
|
77
|
+
return false;
|
78
|
+
}
|
79
|
+
return null;
|
80
|
+
}
|
81
|
+
|
82
|
+
private String getLabel(final String type, final String currencyLabel) {
|
83
|
+
switch (type) {
|
84
|
+
case CURRENCY_TYPE:
|
85
|
+
return currencyLabel;
|
86
|
+
case PERCENT_TYPE:
|
87
|
+
return PERCENT_LABEL;
|
88
|
+
case POINT_TYPE:
|
89
|
+
return POINTS_LABEL;
|
90
|
+
default:
|
91
|
+
return StringUtils.EMPTY;
|
92
|
+
}
|
93
|
+
}
|
94
|
+
}
|