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,713 @@
|
|
1
|
+
package com.adeo.customerprofilebackend.personaldata.services;
|
2
|
+
|
3
|
+
import com.adeo.customerprofilebackend.commons.helpers.PhoneHelper;
|
4
|
+
import com.adeo.customerprofilebackend.customer.enums.CustomerTypeEnum;
|
5
|
+
import com.adeo.customerprofilebackend.customer.mapper.CustomerMapper;
|
6
|
+
import com.adeo.customerprofilebackend.customer.requests.UpdateCustomerRequest;
|
7
|
+
import com.adeo.customerprofilebackend.personaldata.dtos.PhoneDto;
|
8
|
+
import com.adeo.customerprofilebackend.personaldata.mappers.ApiCiamMapper;
|
9
|
+
import com.adeo.customerprofilebackend.personaldata.mappers.ApiMdmMapper;
|
10
|
+
import com.adeo.customerprofilebackend.personaldata.request.UpdateCompanyRequest;
|
11
|
+
import com.adeo.customerprofilebackend.personaldata.request.UpdateProfileRequest;
|
12
|
+
import com.adeo.ipnteam.ciam.client.CiamClient;
|
13
|
+
import com.adeo.ipnteam.ciam.client.CiamClientException;
|
14
|
+
import com.adeo.ipnteam.ciam.client.models.models.WebUser;
|
15
|
+
import com.adeo.ipnteam.mdm.client.MdmClient;
|
16
|
+
import com.adeo.ipnteam.mdm.client.MdmClientException;
|
17
|
+
import com.adeo.ipnteam.mdmcommons.models.MdmActivity;
|
18
|
+
import com.adeo.ipnteam.mdmcommons.models.MdmAdministrativeCodes;
|
19
|
+
import com.adeo.ipnteam.mdmcommons.models.MdmEmailAddress;
|
20
|
+
import com.adeo.ipnteam.mdmcommons.models.MdmGlobal;
|
21
|
+
import com.adeo.ipnteam.mdmcommons.models.MdmInhabitant;
|
22
|
+
import com.adeo.ipnteam.mdmcommons.models.MdmMember;
|
23
|
+
import com.adeo.ipnteam.mdmcommons.models.MdmPatchObjectRequest;
|
24
|
+
import com.adeo.ipnteam.mdmcommons.models.MdmPhone;
|
25
|
+
import com.adeo.ipnteam.mdmcommons.models.MdmProfessionnalOrganisation;
|
26
|
+
import com.adeo.ipnteam.mdmcommons.models.enums.MdmClientTypeEnum;
|
27
|
+
import com.adeo.ipnteam.mdmcommons.models.enums.MdmCodeType;
|
28
|
+
import com.adeo.ipnteam.mdmcommons.models.enums.MdmOperationsEnum;
|
29
|
+
import com.adeo.ipnteam.reachfive.client.ReachFiveClient;
|
30
|
+
import com.adeo.ipnteam.reachfive.client.ReachFiveClientConfig;
|
31
|
+
import com.adeo.ipnteam.reachfive.client.enums.GrantTypeEnum;
|
32
|
+
import com.adeo.ipnteam.reachfive.client.models.TokenRequest;
|
33
|
+
import lombok.RequiredArgsConstructor;
|
34
|
+
import lombok.extern.slf4j.Slf4j;
|
35
|
+
import org.apache.commons.lang3.StringUtils;
|
36
|
+
import org.springframework.beans.factory.annotation.Value;
|
37
|
+
import org.springframework.http.HttpStatus;
|
38
|
+
import org.springframework.http.ResponseEntity;
|
39
|
+
import org.springframework.stereotype.Service;
|
40
|
+
import org.springframework.util.CollectionUtils;
|
41
|
+
import reactor.core.publisher.Mono;
|
42
|
+
|
43
|
+
import java.beans.BeanInfo;
|
44
|
+
import java.beans.IntrospectionException;
|
45
|
+
import java.beans.Introspector;
|
46
|
+
import java.beans.PropertyDescriptor;
|
47
|
+
import java.lang.reflect.InvocationTargetException;
|
48
|
+
import java.util.ArrayList;
|
49
|
+
import java.util.Collection;
|
50
|
+
import java.util.Collections;
|
51
|
+
import java.util.List;
|
52
|
+
import java.util.Objects;
|
53
|
+
import java.util.stream.Collectors;
|
54
|
+
|
55
|
+
import static com.adeo.customerprofilebackend.config.Constants.FRENCH_BU_CODE;
|
56
|
+
|
57
|
+
@Service
|
58
|
+
@Slf4j
|
59
|
+
@RequiredArgsConstructor
|
60
|
+
public class PatchCustomerService {
|
61
|
+
|
62
|
+
public static final String EMAIL_ADDRESSES = "/emailAddresses/";
|
63
|
+
public static final String SIRET = "SIRET";
|
64
|
+
public static final String IDE = "IDE";
|
65
|
+
private static final String PHONES_PATH = "/phones/";
|
66
|
+
private static final String INHABITANT_PATH = "/inhabitant/";
|
67
|
+
private static final String MEMBERS_PATH = "/members/";
|
68
|
+
private static final String ADMINISTRATIVE_IDENTIFIERS_PATH = INHABITANT_PATH + "administrativeIdentifiers/";
|
69
|
+
private static final String PROFESSIONAL_ORGANIZATION_PATH = "/professionalOrganization/";
|
70
|
+
private static final String ACTIVE_PATH = "/active";
|
71
|
+
private static final String EMAIL = "/email";
|
72
|
+
private static final String CIVILITY = "civility";
|
73
|
+
private static final String FIRST_NAME = "firstName";
|
74
|
+
private static final String LAST_NAME = "lastName";
|
75
|
+
private static final String DATE_OF_BIRTH = "dateOfBirth";
|
76
|
+
private static final String CIVIL_STATUS = "civilStatus";
|
77
|
+
private static final String NB_OF_KIDS = "nbOfKids";
|
78
|
+
private static final String NB_OF_FAMILY_MEMBERS = "nbOfFamilyMembers";
|
79
|
+
private static final String PROFESSIONAL_CLASSIFICATION = "professionalClassification";
|
80
|
+
private static final String CLASS = "class";
|
81
|
+
private static final String REGISTERED_NAME_PATH = PROFESSIONAL_ORGANIZATION_PATH + "registeredName";
|
82
|
+
private static final String LEGAL_FORM_PATH = PROFESSIONAL_ORGANIZATION_PATH + "legalForm";
|
83
|
+
private static final String ACTIVITY_SECTOR_PATH = PROFESSIONAL_ORGANIZATION_PATH + "activitySector";
|
84
|
+
private static final String ADMINISTRATIVE_CODES_PATH = PROFESSIONAL_ORGANIZATION_PATH + "administrativeCodes/";
|
85
|
+
private static final String ACTIVITIES_PATH = PROFESSIONAL_ORGANIZATION_PATH + "activities";
|
86
|
+
private static final String PEC = "PEC";
|
87
|
+
private static final String CODICE_DESTINATORIO = "codiceDestinatario";
|
88
|
+
private static final String COD_FISC = "codFisc";
|
89
|
+
private static final String DNI = "dni";
|
90
|
+
private static final String NIE = "nie";
|
91
|
+
private static final String NIF = "nif";
|
92
|
+
private static final String NIP = "nip";
|
93
|
+
private static final String PASSPORT = "passport";
|
94
|
+
private static final String CIF = "cif";
|
95
|
+
private static final String OTHER_FISCAL_IDENTIFIER_TYPE = "otherFiscalIdentifierType";
|
96
|
+
private static final String PIVA = "pIva";
|
97
|
+
private static final String TVA_INTRA_COMMUNAUTAIRE = "TVAIntraCommunautaire";
|
98
|
+
private static final String DECLARED_STORE_ATTACHEMENT = "/declaredStoreAttachement";
|
99
|
+
|
100
|
+
private static final String MOVE_DATE = "/moveDate";
|
101
|
+
|
102
|
+
private final CiamClient ciamClient;
|
103
|
+
private final MdmClient mdmClient;
|
104
|
+
private final ReachFiveClient reachFiveClient;
|
105
|
+
|
106
|
+
private final AddressesService addressesService;
|
107
|
+
private final ReachFiveClientConfig reachFiveClientConfig;
|
108
|
+
@Value("${adeo.bu}")
|
109
|
+
private String adeoBu;
|
110
|
+
|
111
|
+
public Mono<Void> updateCustomerProfile(
|
112
|
+
final String accessToken,
|
113
|
+
final String customerId,
|
114
|
+
final UpdateProfileRequest updateProfileRequest,
|
115
|
+
final String performingUser) {
|
116
|
+
|
117
|
+
return updateCustomerPassword(accessToken, customerId, updateProfileRequest, performingUser)
|
118
|
+
.flatMap(a -> updateCustomerLogin(accessToken, customerId, updateProfileRequest, performingUser)
|
119
|
+
.flatMap(b -> mdmClient.getCustomerFromCustomerNumber(customerId, performingUser, accessToken)
|
120
|
+
.flatMap(customerToUpdate -> updateCustomerInfo(customerId, customerToUpdate, updateProfileRequest, performingUser, accessToken)))
|
121
|
+
);
|
122
|
+
}
|
123
|
+
|
124
|
+
public Mono<Void> updateGlobalInfos(final String accessToken,
|
125
|
+
final String customerId,
|
126
|
+
final UpdateCustomerRequest updateCustomerRequest,
|
127
|
+
final String performingUser) {
|
128
|
+
UpdateProfileRequest updateProfileRequest = CustomerMapper.updateCustomerToUpdateProfileRequest(updateCustomerRequest);
|
129
|
+
List<MdmPatchObjectRequest> mdmPatchObjectRequests = new ArrayList<>();
|
130
|
+
return updateCustomerLogin(accessToken, customerId, updateProfileRequest, performingUser)
|
131
|
+
.flatMap(a -> mdmClient.getCustomerFromCustomerNumber(customerId, performingUser, accessToken)
|
132
|
+
.flatMap(customerToUpdate -> {
|
133
|
+
mdmPatchObjectRequests.addAll(buildCustomerInfoPatchObject(customerId, customerToUpdate, updateProfileRequest));
|
134
|
+
if (MdmClientTypeEnum.PROFESSIONALORGANIZATION.equals(customerToUpdate.getData().getClientType())) {
|
135
|
+
mdmPatchObjectRequests.addAll(buildCompanyProfilePatchObject(customerToUpdate, CustomerMapper.updateCustomerToUpdateCompanyRequest(updateCustomerRequest)));
|
136
|
+
}
|
137
|
+
if (updateCustomerRequest.getAddress() != null) {
|
138
|
+
mdmPatchObjectRequests.addAll(addressesService.createOrPatchMainAddress(customerToUpdate.getData().getAddresses(), updateCustomerRequest.getAddress()));
|
139
|
+
}
|
140
|
+
return performPatch(customerId, performingUser, accessToken, mdmPatchObjectRequests);
|
141
|
+
}));
|
142
|
+
|
143
|
+
}
|
144
|
+
|
145
|
+
public Mono<Void> updateCustomerInfo(final String userId, final MdmGlobal customerToUpdate, final UpdateProfileRequest updateProfileRequest, final String performingUser, final String accessToken) {
|
146
|
+
return performPatch(userId, performingUser, accessToken, buildCustomerInfoPatchObject(userId, customerToUpdate, updateProfileRequest));
|
147
|
+
}
|
148
|
+
|
149
|
+
private List<MdmPatchObjectRequest> buildCustomerInfoPatchObject(final String customerId, final MdmGlobal customerToUpdate, final UpdateProfileRequest updateProfileRequest) {
|
150
|
+
final List<MdmPatchObjectRequest> body = new ArrayList<>();
|
151
|
+
updateCustomerIdentity(customerToUpdate, updateProfileRequest, body, customerId);
|
152
|
+
if (updateProfileRequest.getPhones() != null && !updateProfileRequest.getPhones().isEmpty()) {
|
153
|
+
try {
|
154
|
+
buildUpdateMdmCustomerPhonesBody(updateProfileRequest.getPhones(), customerToUpdate, body, customerId);
|
155
|
+
} catch (final InvocationTargetException | IllegalAccessException | IntrospectionException e) {
|
156
|
+
throw new MdmClientException(HttpStatus.INTERNAL_SERVER_ERROR, e.getMessage());
|
157
|
+
}
|
158
|
+
}
|
159
|
+
|
160
|
+
if (updateProfileRequest.getEmail() != null) {
|
161
|
+
if (customerToUpdate.getData().getClientType().equals(MdmClientTypeEnum.INHABITANT)) {
|
162
|
+
final List<MdmEmailAddress> emailAddresses = customerToUpdate.getData().getEmailAddresses();
|
163
|
+
if (CollectionUtils.isEmpty(emailAddresses)) {
|
164
|
+
body.add(
|
165
|
+
getMdmPatchObject(
|
166
|
+
MdmOperationsEnum.ADD, EMAIL_ADDRESSES + "-", MdmEmailAddress.builder()
|
167
|
+
.email(updateProfileRequest.getEmail())
|
168
|
+
.isContactPriority(true)
|
169
|
+
.build())
|
170
|
+
);
|
171
|
+
} else {
|
172
|
+
body.add(
|
173
|
+
getMdmPatchObject(
|
174
|
+
MdmOperationsEnum.REPLACE,
|
175
|
+
EMAIL_ADDRESSES + emailAddresses.get(0).getEmail() + EMAIL, updateProfileRequest.getEmail())
|
176
|
+
);
|
177
|
+
}
|
178
|
+
} else {
|
179
|
+
final MdmMember member = customerToUpdate.getData()
|
180
|
+
.getMembers()
|
181
|
+
.stream()
|
182
|
+
.filter(mdmMember -> mdmMember.getClientNumber().toString().equals(customerId))
|
183
|
+
.findFirst()
|
184
|
+
.orElse(null);
|
185
|
+
if (member != null) {
|
186
|
+
final List<MdmEmailAddress> emailAddresses = member.getEmailAddresses();
|
187
|
+
if (CollectionUtils.isEmpty(emailAddresses)) {
|
188
|
+
body.add(
|
189
|
+
getMdmPatchObject(
|
190
|
+
MdmOperationsEnum.ADD, MEMBERS_PATH + customerId + EMAIL_ADDRESSES + "-", MdmEmailAddress.builder()
|
191
|
+
.email(updateProfileRequest.getEmail())
|
192
|
+
.isContactPriority(true)
|
193
|
+
.build())
|
194
|
+
);
|
195
|
+
} else {
|
196
|
+
body.add(
|
197
|
+
getMdmPatchObject(
|
198
|
+
MdmOperationsEnum.REPLACE,
|
199
|
+
MEMBERS_PATH + customerId + EMAIL_ADDRESSES + member.getEmailAddresses().get(0).getEmail() + EMAIL,
|
200
|
+
updateProfileRequest.getEmail()
|
201
|
+
)
|
202
|
+
);
|
203
|
+
}
|
204
|
+
}
|
205
|
+
}
|
206
|
+
}
|
207
|
+
return body;
|
208
|
+
}
|
209
|
+
|
210
|
+
private void buildUpdateMdmCustomerPhonesBody(final List<PhoneDto> phonesRequest, final MdmGlobal mdmGlobal, final List<MdmPatchObjectRequest> body, final String customerId) throws IntrospectionException, InvocationTargetException, IllegalAccessException {
|
211
|
+
|
212
|
+
if (mdmGlobal.getData().getClientType().equals(MdmClientTypeEnum.INHABITANT)) {
|
213
|
+
final List<MdmPhone> actualPhones = mdmGlobal.getData().getPhones();
|
214
|
+
final List<PhoneDto> phonesToAdd = phonesRequest.stream()
|
215
|
+
.filter(phone -> Objects.isNull(phone.getOldValue()) && !StringUtils.isEmpty(phone.getValue())).collect(Collectors.toList());
|
216
|
+
final List<PhoneDto> phonesToUpdate = phonesRequest.stream()
|
217
|
+
.filter(phone -> Objects.nonNull(phone.getOldValue()) && !StringUtils.isEmpty(phone.getValue())).toList();
|
218
|
+
for (final PhoneDto phoneRequest : phonesToUpdate) {
|
219
|
+
body.addAll(updateMdmCustomerPhones(actualPhones, phoneRequest));
|
220
|
+
}
|
221
|
+
final List<String> actualPhoneNumbers = CollectionUtils.isEmpty(actualPhones) ? Collections.emptyList() : actualPhones.stream().map(MdmPhone::getNumber).collect(Collectors.toList());
|
222
|
+
body.addAll(addMdmCustomerPhones(actualPhoneNumbers, phonesToAdd));
|
223
|
+
body.addAll(removeMdmCustomerPhones(actualPhoneNumbers, phonesToAdd.stream().map(PhoneDto::getValue).collect(Collectors.toList()),
|
224
|
+
phonesToUpdate.stream().map(PhoneDto::getOldValue).collect(Collectors.toList())));
|
225
|
+
} else {
|
226
|
+
final MdmMember member = mdmGlobal.getData().getMembers().stream().filter(mdmMember -> mdmMember.getClientNumber().toString().equals(customerId)).findFirst().orElse(null);
|
227
|
+
if (member != null) {
|
228
|
+
final List<MdmPhone> actualPhones = member.getPhones();
|
229
|
+
final List<PhoneDto> phonesToAdd = phonesRequest.stream()
|
230
|
+
.filter(phone -> Objects.isNull(phone.getOldValue()) && !StringUtils.isEmpty(phone.getValue())).collect(Collectors.toList());
|
231
|
+
final List<PhoneDto> phonesToUpdate = phonesRequest.stream()
|
232
|
+
.filter(phone -> Objects.nonNull(phone.getOldValue()) && !StringUtils.isEmpty(phone.getValue())).collect(Collectors.toList());
|
233
|
+
for (final PhoneDto phoneRequest : phonesToUpdate) {
|
234
|
+
body.addAll(updateMdmMemberPhones(actualPhones, phoneRequest, customerId));
|
235
|
+
}
|
236
|
+
final List<String> actualPhoneNumbers = CollectionUtils.isEmpty(actualPhones) ? Collections.emptyList() : actualPhones.stream().map(MdmPhone::getNumber).collect(Collectors.toList());
|
237
|
+
body.addAll(addMdmMemberPhones(actualPhoneNumbers, phonesToAdd, customerId));
|
238
|
+
body.addAll(removeMdmMemberPhones(actualPhoneNumbers, phonesToAdd.stream().map(PhoneDto::getValue).collect(Collectors.toList()),
|
239
|
+
phonesToUpdate.stream().map(PhoneDto::getOldValue).collect(Collectors.toList()), customerId));
|
240
|
+
}
|
241
|
+
}
|
242
|
+
}
|
243
|
+
|
244
|
+
private Collection<? extends MdmPatchObjectRequest> updateMdmMemberPhones(final List<MdmPhone> actualPhones, final PhoneDto updatePhoneRequest, final String memberId) throws IntrospectionException, InvocationTargetException, IllegalAccessException {
|
245
|
+
final MdmPhone phoneToUpdate = updatePhoneRequestToMdmPhone(updatePhoneRequest);
|
246
|
+
final BeanInfo beanInfo = Introspector.getBeanInfo(MdmPhone.class);
|
247
|
+
final List<MdmPatchObjectRequest> body = new ArrayList<>();
|
248
|
+
for (final PropertyDescriptor propertyDesc : beanInfo.getPropertyDescriptors()) {
|
249
|
+
final String propertyName = propertyDesc.getName();
|
250
|
+
final Object value = propertyDesc.getReadMethod().invoke(phoneToUpdate);
|
251
|
+
if (value != null && !propertyName.equals(CLASS)) {
|
252
|
+
body.add(getMdmPatchObject(MdmOperationsEnum.REPLACE, MEMBERS_PATH + memberId + PHONES_PATH + updatePhoneRequest.getOldValue() + "/" + propertyName, value));
|
253
|
+
}
|
254
|
+
}
|
255
|
+
return body;
|
256
|
+
}
|
257
|
+
|
258
|
+
private List<MdmPatchObjectRequest> removeMdmMemberPhones(final List<String> actualPhoneNumbers, final List<String> phonesToAddNumbers, final List<String> phoneToUpdateNumbers, final String memberId) {
|
259
|
+
|
260
|
+
Collections.reverse(actualPhoneNumbers);
|
261
|
+
phonesToAddNumbers.addAll(phoneToUpdateNumbers);
|
262
|
+
actualPhoneNumbers.removeAll(phonesToAddNumbers);
|
263
|
+
final List<MdmPatchObjectRequest> body = new ArrayList<>();
|
264
|
+
for (final String phoneNumber : actualPhoneNumbers) {
|
265
|
+
body.add(getMdmPatchObject(MdmOperationsEnum.REMOVE, MEMBERS_PATH + memberId + PHONES_PATH + phoneNumber, null));
|
266
|
+
}
|
267
|
+
return body;
|
268
|
+
}
|
269
|
+
|
270
|
+
private List<MdmPatchObjectRequest> removeMdmCustomerPhones(final List<String> actualPhoneNumbers, final List<String> phonesToAddNumbers, final List<String> phoneToUpdateNumbers) {
|
271
|
+
|
272
|
+
Collections.reverse(actualPhoneNumbers);
|
273
|
+
phonesToAddNumbers.addAll(phoneToUpdateNumbers);
|
274
|
+
actualPhoneNumbers.removeAll(phonesToAddNumbers);
|
275
|
+
final List<MdmPatchObjectRequest> body = new ArrayList<>();
|
276
|
+
for (final String phoneNumber : actualPhoneNumbers) {
|
277
|
+
body.add(getMdmPatchObject(MdmOperationsEnum.REMOVE, PHONES_PATH + phoneNumber, null));
|
278
|
+
}
|
279
|
+
return body;
|
280
|
+
}
|
281
|
+
|
282
|
+
private List<MdmPatchObjectRequest> addMdmMemberPhones(final List<String> actualPhonesNumbers, final List<PhoneDto> phonesToAdd, final String memberId) {
|
283
|
+
|
284
|
+
final List<MdmPatchObjectRequest> body = new ArrayList<>();
|
285
|
+
final List<MdmPhone> mdmPhonesToAdd = updatePhoneRequestListToMdmPhoneList(phonesToAdd);
|
286
|
+
for (final MdmPhone mdmPhone : mdmPhonesToAdd) {
|
287
|
+
if (!actualPhonesNumbers.contains(mdmPhone.getNumber())) {
|
288
|
+
body.add(getMdmPatchObject(MdmOperationsEnum.ADD, MEMBERS_PATH + memberId + PHONES_PATH + "-", mdmPhone));
|
289
|
+
}
|
290
|
+
}
|
291
|
+
return body;
|
292
|
+
}
|
293
|
+
|
294
|
+
private List<MdmPatchObjectRequest> addMdmCustomerPhones(final List<String> actualPhonesNumbers, final List<PhoneDto> phonesToAdd) {
|
295
|
+
|
296
|
+
final List<MdmPatchObjectRequest> body = new ArrayList<>();
|
297
|
+
final List<MdmPhone> mdmPhonesToAdd = updatePhoneRequestListToMdmPhoneList(phonesToAdd);
|
298
|
+
for (final MdmPhone mdmPhone : mdmPhonesToAdd) {
|
299
|
+
if (!actualPhonesNumbers.contains(mdmPhone.getNumber())) {
|
300
|
+
body.add(getMdmPatchObject(MdmOperationsEnum.ADD, PHONES_PATH + "-", mdmPhone));
|
301
|
+
}
|
302
|
+
}
|
303
|
+
return body;
|
304
|
+
}
|
305
|
+
|
306
|
+
private List<MdmPatchObjectRequest> updateMdmCustomerPhones(final List<MdmPhone> actualPhones, final PhoneDto updatePhoneRequest) {
|
307
|
+
final MdmPhone phoneToUpdate = updatePhoneRequestToMdmPhone(updatePhoneRequest);
|
308
|
+
final List<MdmPatchObjectRequest> body = new ArrayList<>();
|
309
|
+
body.add(getMdmPatchObject(MdmOperationsEnum.REPLACE, PHONES_PATH + updatePhoneRequest.getOldValue(), phoneToUpdate));
|
310
|
+
return body;
|
311
|
+
}
|
312
|
+
|
313
|
+
private List<MdmPhone> updatePhoneRequestListToMdmPhoneList(final List<PhoneDto> updatePhoneRequestList) {
|
314
|
+
|
315
|
+
return updatePhoneRequestList.stream().map(this::updatePhoneRequestToMdmPhone).collect(Collectors.toList());
|
316
|
+
}
|
317
|
+
|
318
|
+
private MdmPhone updatePhoneRequestToMdmPhone(final PhoneDto updatePhoneRequest) {
|
319
|
+
|
320
|
+
return MdmPhone.builder()
|
321
|
+
.isContactPriority(updatePhoneRequest.getMain())
|
322
|
+
.number(updatePhoneRequest.getValue())
|
323
|
+
.type(PhoneHelper.getMdmPhoneTypeFromValue(updatePhoneRequest.getValue()))
|
324
|
+
.build();
|
325
|
+
}
|
326
|
+
|
327
|
+
private void updateCustomerIdentity(final MdmGlobal customerToUpdate, final UpdateProfileRequest updateProfileRequest, final List<MdmPatchObjectRequest> body, final String customerId) {
|
328
|
+
|
329
|
+
final MdmInhabitant customerIdentity = ApiMdmMapper.updateProfileRequestToMdmInhabitantDto(updateProfileRequest);
|
330
|
+
if (customerToUpdate.getData().getClientType().equals(MdmClientTypeEnum.INHABITANT)) {
|
331
|
+
updateInhabitantIdentity(customerToUpdate, body, customerIdentity);
|
332
|
+
} else {
|
333
|
+
updateProfessionalMemberIdentity(customerToUpdate, customerIdentity, body, customerId);
|
334
|
+
}
|
335
|
+
|
336
|
+
if (updateProfileRequest.getDeclaredStoreAttachment() != null) {
|
337
|
+
addMdmPatchObject(String.valueOf(updateProfileRequest.getDeclaredStoreAttachment()), customerToUpdate.getData().getDeclaredStoreAttachement(), body, DECLARED_STORE_ATTACHEMENT);
|
338
|
+
}
|
339
|
+
|
340
|
+
addMdmPatchObject(updateProfileRequest.getMovingDate(), customerToUpdate.getData().getMoveDate(), body, MOVE_DATE);
|
341
|
+
}
|
342
|
+
|
343
|
+
private void updateProfessionalMemberIdentity(final MdmGlobal customerToUpdate, final MdmInhabitant customerIdentity, final List<MdmPatchObjectRequest> body, final String customerId) {
|
344
|
+
|
345
|
+
final MdmMember member = customerToUpdate.getData().getMembers().stream().filter(mdmMember -> mdmMember.getClientNumber().toString().equals(customerId)).findFirst().orElse(null);
|
346
|
+
if (member != null) {
|
347
|
+
|
348
|
+
if (customerIdentity.getCivility() != null) {
|
349
|
+
addMdmPatchObject(customerIdentity.getCivility().name(), member.getCivility().name(), body, MEMBERS_PATH + customerId + '/' + CIVILITY);
|
350
|
+
}
|
351
|
+
|
352
|
+
addMdmPatchObject(customerIdentity.getFirstName(), member.getFirstName(), body, MEMBERS_PATH + customerId + '/' + FIRST_NAME);
|
353
|
+
|
354
|
+
addMdmPatchObject(customerIdentity.getLastName(), member.getLastName(), body, MEMBERS_PATH + customerId + '/' + LAST_NAME);
|
355
|
+
|
356
|
+
addMdmPatchObject(customerIdentity.getDateOfBirth(), member.getDateOfBirth(), body, MEMBERS_PATH + customerId + '/' + DATE_OF_BIRTH);
|
357
|
+
} else {
|
358
|
+
log.warn("member " + customerId + " is not a member of the company " + customerToUpdate.getData().getClientNumber());
|
359
|
+
}
|
360
|
+
}
|
361
|
+
|
362
|
+
private void updateInhabitantIdentity(final MdmGlobal customerToUpdate, final List<MdmPatchObjectRequest> body, final MdmInhabitant customerIdentity) {
|
363
|
+
|
364
|
+
final MdmInhabitant actualIdentity = customerToUpdate.getData().getInhabitant();
|
365
|
+
|
366
|
+
if (customerIdentity.getCivility() != null) {
|
367
|
+
addMdmPatchObject(customerIdentity.getCivility().name(), actualIdentity.getCivility() != null ? actualIdentity.getCivility().name() : null, body, INHABITANT_PATH + CIVILITY);
|
368
|
+
}
|
369
|
+
|
370
|
+
addMdmPatchObject(customerIdentity.getFirstName(), actualIdentity.getFirstName(), body, INHABITANT_PATH + FIRST_NAME);
|
371
|
+
|
372
|
+
addMdmPatchObject(customerIdentity.getLastName(), actualIdentity.getLastName(), body, INHABITANT_PATH + LAST_NAME);
|
373
|
+
|
374
|
+
addMdmPatchObject(customerIdentity.getDateOfBirth(), actualIdentity.getDateOfBirth(), body, INHABITANT_PATH + DATE_OF_BIRTH);
|
375
|
+
|
376
|
+
addMdmPatchObject(customerIdentity.getNbOfKids(), actualIdentity.getNbOfKids(), body, INHABITANT_PATH + NB_OF_KIDS);
|
377
|
+
|
378
|
+
addMdmPatchObject(customerIdentity.getNbOfFamilyMembers(), actualIdentity.getNbOfFamilyMembers(), body, INHABITANT_PATH + NB_OF_FAMILY_MEMBERS);
|
379
|
+
|
380
|
+
addMdmPatchObject(customerIdentity.getCivilStatus(), actualIdentity.getCivilStatus(), body, INHABITANT_PATH + CIVIL_STATUS);
|
381
|
+
|
382
|
+
if (customerIdentity.getAdministrativeIdentifiers() != null) {
|
383
|
+
|
384
|
+
clearCurrentAdministrativeIdentifiers(actualIdentity, customerIdentity, body);
|
385
|
+
|
386
|
+
if (customerIdentity.getAdministrativeIdentifiers().getCodFisc() != null) {
|
387
|
+
addMdmPatchObject(customerIdentity.getAdministrativeIdentifiers().getCodFisc(), actualIdentity.getAdministrativeIdentifiers().getCodFisc(), body, ADMINISTRATIVE_IDENTIFIERS_PATH + COD_FISC);
|
388
|
+
}
|
389
|
+
if (customerIdentity.getAdministrativeIdentifiers().getDni() != null) {
|
390
|
+
addMdmPatchObject(customerIdentity.getAdministrativeIdentifiers().getDni(), actualIdentity.getAdministrativeIdentifiers().getDni(), body, ADMINISTRATIVE_IDENTIFIERS_PATH + DNI);
|
391
|
+
}
|
392
|
+
if (customerIdentity.getAdministrativeIdentifiers().getNie() != null) {
|
393
|
+
addMdmPatchObject(customerIdentity.getAdministrativeIdentifiers().getNie(), actualIdentity.getAdministrativeIdentifiers().getNie(), body, ADMINISTRATIVE_IDENTIFIERS_PATH + NIE);
|
394
|
+
}
|
395
|
+
if (customerIdentity.getAdministrativeIdentifiers().getNif() != null) {
|
396
|
+
addMdmPatchObject(customerIdentity.getAdministrativeIdentifiers().getNif(), actualIdentity.getAdministrativeIdentifiers().getNif(), body, ADMINISTRATIVE_IDENTIFIERS_PATH + NIF);
|
397
|
+
}
|
398
|
+
if (customerIdentity.getAdministrativeIdentifiers().getPassport() != null) {
|
399
|
+
addMdmPatchObject(customerIdentity.getAdministrativeIdentifiers().getPassport(), actualIdentity.getAdministrativeIdentifiers().getPassport(), body, ADMINISTRATIVE_IDENTIFIERS_PATH + PASSPORT);
|
400
|
+
}
|
401
|
+
if (customerIdentity.getAdministrativeIdentifiers().getOtherFiscalIdentifierType() != null) {
|
402
|
+
addMdmPatchObject(customerIdentity.getAdministrativeIdentifiers().getOtherFiscalIdentifierType(), actualIdentity.getAdministrativeIdentifiers().getOtherFiscalIdentifierType(), body, ADMINISTRATIVE_IDENTIFIERS_PATH + OTHER_FISCAL_IDENTIFIER_TYPE);
|
403
|
+
}
|
404
|
+
}
|
405
|
+
|
406
|
+
addMdmPatchObject(customerIdentity.getProfessionalClassification(), actualIdentity.getProfessionalClassification(), body, INHABITANT_PATH + PROFESSIONAL_CLASSIFICATION);
|
407
|
+
}
|
408
|
+
|
409
|
+
public Mono<ResponseEntity<Void>> updateCustomerLogin(
|
410
|
+
final String accessToken,
|
411
|
+
final String customerId,
|
412
|
+
final UpdateProfileRequest updateProfileRequest, final String performingUser) {
|
413
|
+
|
414
|
+
if (updateProfileRequest.getLogin() == null) {
|
415
|
+
return Mono.just(new ResponseEntity(HttpStatus.OK));
|
416
|
+
}
|
417
|
+
return getAccountId(accessToken, customerId, performingUser).flatMap(
|
418
|
+
accountId ->
|
419
|
+
ciamClient.updateWebUser(accessToken,
|
420
|
+
ApiCiamMapper.updateProfileRequestToWebUser(updateProfileRequest),
|
421
|
+
accountId,
|
422
|
+
performingUser));
|
423
|
+
}
|
424
|
+
|
425
|
+
private Mono<ResponseEntity<Void>> updateCustomerPassword(
|
426
|
+
final String accessToken,
|
427
|
+
final String customerId,
|
428
|
+
final UpdateProfileRequest updateProfileRequest,
|
429
|
+
final String performingUser) {
|
430
|
+
|
431
|
+
if (updateProfileRequest.getNewPassword() == null) {
|
432
|
+
return Mono.just(new ResponseEntity(HttpStatus.OK));
|
433
|
+
}
|
434
|
+
|
435
|
+
if (!updateProfileRequest.getNewPassword().equals(updateProfileRequest.getConfirmNewPassword())) {
|
436
|
+
return Mono.error(new IllegalArgumentException("New password and confirm password are different"));
|
437
|
+
}
|
438
|
+
|
439
|
+
// Call to ciamClient to get login of the customer
|
440
|
+
// Request can send a different login because customer want to update it
|
441
|
+
return this.getAccount(accessToken, customerId, performingUser)
|
442
|
+
.flatMap(webUser ->
|
443
|
+
this.reachFiveClient.getAccessTokenWithPasswordFlow(TokenRequest.builder()
|
444
|
+
.clientId(reachFiveClientConfig.getClientIdIdentity())
|
445
|
+
.clientSecret(reachFiveClientConfig.getClientSecretIdentity())
|
446
|
+
.scope(reachFiveClientConfig.getScopesIdentity())
|
447
|
+
.grantType(GrantTypeEnum.PASSWORD)
|
448
|
+
.username(webUser.getAccount().getLogins().getEmailAddress().getValue())
|
449
|
+
.password(updateProfileRequest.getPassword())
|
450
|
+
.build(), reachFiveClientConfig.getBasicAuth())
|
451
|
+
.flatMap(ignore -> getAccountId(accessToken, customerId, performingUser).flatMap(
|
452
|
+
accountId ->
|
453
|
+
ciamClient.updateWebUser(accessToken,
|
454
|
+
ApiCiamMapper.changePasswordRequestToWebUser(updateProfileRequest),
|
455
|
+
accountId,
|
456
|
+
performingUser))
|
457
|
+
)
|
458
|
+
);
|
459
|
+
}
|
460
|
+
|
461
|
+
private Mono<String> getAccountId(final String accessToken, final String customerId, final String performingUser) {
|
462
|
+
|
463
|
+
return ciamClient.getWebUsers(accessToken, customerId, performingUser).flatMap(
|
464
|
+
webUserResponse -> {
|
465
|
+
if (webUserResponse.size() == 1) {
|
466
|
+
return Mono.just(webUserResponse.get(0).getAccount().getAccountId());
|
467
|
+
}
|
468
|
+
return Mono.error(new CiamClientException(HttpStatus.MULTIPLE_CHOICES, "retrieveUserRequest"));
|
469
|
+
});
|
470
|
+
}
|
471
|
+
|
472
|
+
private Mono<WebUser> getAccount(final String accessToken, final String customerId, final String performingUser) {
|
473
|
+
|
474
|
+
return this.ciamClient.getWebUsers(accessToken, customerId, performingUser)
|
475
|
+
.flatMap(webUserResponses -> {
|
476
|
+
if (webUserResponses.size() == 1) {
|
477
|
+
return Mono.just(webUserResponses.get(0));
|
478
|
+
}
|
479
|
+
return Mono.error(new CiamClientException(HttpStatus.MULTIPLE_CHOICES, "retrieveUserRequest"));
|
480
|
+
});
|
481
|
+
}
|
482
|
+
|
483
|
+
public Mono<Void> updateCompanyProfile(final String userId, final UpdateCompanyRequest companyRequest, final String performingUser, final String accessToken) {
|
484
|
+
|
485
|
+
return mdmClient.getCustomerFromCustomerNumber(userId, performingUser, accessToken)
|
486
|
+
.flatMap(customerToUpdate -> updateCompanyProfile(userId, customerToUpdate, companyRequest, performingUser, accessToken));
|
487
|
+
}
|
488
|
+
|
489
|
+
public Mono<Void> updateCompanyProfile(final String userId, final MdmGlobal customerToUpdate, final UpdateCompanyRequest companyRequest, final String performingUser, final String accessToken) {
|
490
|
+
return performPatch(userId, performingUser, accessToken, buildCompanyProfilePatchObject(customerToUpdate, companyRequest));
|
491
|
+
}
|
492
|
+
|
493
|
+
public List<MdmPatchObjectRequest> buildCompanyProfilePatchObject(final MdmGlobal customerToUpdate, final UpdateCompanyRequest companyRequest) {
|
494
|
+
|
495
|
+
|
496
|
+
final List<MdmPatchObjectRequest> body = new ArrayList<>();
|
497
|
+
|
498
|
+
final MdmProfessionnalOrganisation professionnalOrganisationToUpdate = customerToUpdate.getData().getProfessionalOrganization();
|
499
|
+
final MdmAdministrativeCodes administrativeCodesToUpdate = professionnalOrganisationToUpdate.getAdministrativeCodes();
|
500
|
+
|
501
|
+
if (companyRequest.isAdministrativeCodePatch()) {
|
502
|
+
clearCurrentAdministrativeCode(administrativeCodesToUpdate, companyRequest, body);
|
503
|
+
|
504
|
+
addMdmPatchObject(companyRequest.getCertifiedEmail(), administrativeCodesToUpdate.getPec(), body, ADMINISTRATIVE_CODES_PATH + PEC);
|
505
|
+
|
506
|
+
addMdmPatchObject(companyRequest.getElectronicInvoicingCode(), administrativeCodesToUpdate.getCodiceDestinatario(), body, ADMINISTRATIVE_CODES_PATH + CODICE_DESTINATORIO);
|
507
|
+
|
508
|
+
addMdmPatchObject(companyRequest.getFiscalCode(), administrativeCodesToUpdate.getCodFisc(), body, ADMINISTRATIVE_CODES_PATH + COD_FISC);
|
509
|
+
|
510
|
+
if (FRENCH_BU_CODE.equals(adeoBu)) {
|
511
|
+
addMdmPatchObject(companyRequest.getVatNumber(), administrativeCodesToUpdate.getTvaIntraCommunautaire(), body, ADMINISTRATIVE_CODES_PATH + TVA_INTRA_COMMUNAUTAIRE);
|
512
|
+
} else {
|
513
|
+
addMdmPatchObject(companyRequest.getVatNumber(), administrativeCodesToUpdate.getPiva(), body, ADMINISTRATIVE_CODES_PATH + PIVA);
|
514
|
+
}
|
515
|
+
|
516
|
+
addMdmPatchObject(companyRequest.getSiret(), administrativeCodesToUpdate.getSiret(), body, ADMINISTRATIVE_CODES_PATH + SIRET);
|
517
|
+
|
518
|
+
addMdmPatchObject(companyRequest.getIde(), administrativeCodesToUpdate.getIde(), body, ADMINISTRATIVE_CODES_PATH + IDE);
|
519
|
+
|
520
|
+
addMdmPatchObject(companyRequest.getCif(), administrativeCodesToUpdate.getCif(), body, ADMINISTRATIVE_CODES_PATH + CIF);
|
521
|
+
|
522
|
+
addMdmPatchObject(companyRequest.getNif(), administrativeCodesToUpdate.getNif(), body, ADMINISTRATIVE_CODES_PATH + NIF);
|
523
|
+
|
524
|
+
addMdmPatchObject(companyRequest.getNip(), administrativeCodesToUpdate.getNip(), body, ADMINISTRATIVE_CODES_PATH + NIP);
|
525
|
+
}
|
526
|
+
addMdmPatchObject(companyRequest.getName(), professionnalOrganisationToUpdate.getRegisteredName(), body, REGISTERED_NAME_PATH);
|
527
|
+
|
528
|
+
addMdmPatchObject(ApiMdmMapper.toMdmLegalForm(companyRequest.getLegalForm(), adeoBu), professionnalOrganisationToUpdate.getLegalForm(), body, LEGAL_FORM_PATH);
|
529
|
+
|
530
|
+
addMdmPatchObject(companyRequest.getActivitySector(), professionnalOrganisationToUpdate.getActivitySector(), body, ACTIVITY_SECTOR_PATH);
|
531
|
+
|
532
|
+
patchMdmActivities(companyRequest, body, professionnalOrganisationToUpdate);
|
533
|
+
|
534
|
+
return body;
|
535
|
+
}
|
536
|
+
|
537
|
+
private Mono<Void> performPatch(String userId, String performingUser, String accessToken, List<MdmPatchObjectRequest> body) {
|
538
|
+
if (!body.isEmpty()) {
|
539
|
+
return mdmClient.patchCustomer(userId, body, performingUser, accessToken).then();
|
540
|
+
}
|
541
|
+
return Mono.empty();
|
542
|
+
}
|
543
|
+
|
544
|
+
private void patchMdmActivities(final UpdateCompanyRequest companyRequest, final List<MdmPatchObjectRequest> body, final MdmProfessionnalOrganisation professionnalOrganisationToUpdate) {
|
545
|
+
if (!StringUtils.isEmpty(companyRequest.getCae())) {
|
546
|
+
final List<MdmActivity> activities = professionnalOrganisationToUpdate.getActivities();
|
547
|
+
final MdmActivity mdmActivity = activities.stream()
|
548
|
+
.filter(activity -> activity.getIsMainActivity() && MdmCodeType.CAE.equals(activity.getCodeType()))
|
549
|
+
.findFirst()
|
550
|
+
.orElse(activities.stream().filter(activity -> MdmCodeType.CAE.equals(activity.getCodeType()))
|
551
|
+
.findFirst()
|
552
|
+
.orElse(null));
|
553
|
+
if (mdmActivity != null) {
|
554
|
+
mdmActivity.setCode(companyRequest.getCae());
|
555
|
+
} else {
|
556
|
+
activities.add(MdmActivity.builder()
|
557
|
+
.isMainActivity(true)
|
558
|
+
.code(companyRequest.getCae())
|
559
|
+
.codeType(MdmCodeType.CAE)
|
560
|
+
.build());
|
561
|
+
}
|
562
|
+
body.add(getMdmPatchObject(MdmOperationsEnum.REPLACE, ACTIVITIES_PATH, activities));
|
563
|
+
}
|
564
|
+
}
|
565
|
+
|
566
|
+
private void addMdmPatchObject(final String newValue, final String actualValue, final List<MdmPatchObjectRequest> body, final String path) {
|
567
|
+
if (newValue != null && !newValue.equals(actualValue))
|
568
|
+
body.add(getMdmPatchObject(actualValue == null ? MdmOperationsEnum.ADD : MdmOperationsEnum.REPLACE, path, newValue));
|
569
|
+
}
|
570
|
+
|
571
|
+
private void addMdmPatchObject(final Enum<?> newEnumValue, final Enum<?> actualEnumValue, final List<MdmPatchObjectRequest> body, final String path) {
|
572
|
+
final String newValue = newEnumValue != null ? newEnumValue.name() : null;
|
573
|
+
final String currentValue = actualEnumValue != null ? actualEnumValue.name() : null;
|
574
|
+
|
575
|
+
addMdmPatchObject(newValue, currentValue, body, path);
|
576
|
+
}
|
577
|
+
|
578
|
+
|
579
|
+
private MdmPatchObjectRequest getMdmPatchObject(final MdmOperationsEnum mdmOperation, final String path, final Object newValue) {
|
580
|
+
|
581
|
+
return MdmPatchObjectRequest.builder()
|
582
|
+
.op(mdmOperation.getValue())
|
583
|
+
.path(path)
|
584
|
+
.value(newValue)
|
585
|
+
.build();
|
586
|
+
}
|
587
|
+
|
588
|
+
|
589
|
+
public Mono<MdmGlobal> enableCustomer(final String customerId, final boolean enable, final String performingUser, final CustomerTypeEnum customerType, final String accessToken) {
|
590
|
+
final MdmPatchObjectRequest mdmPatchObjectRequest = MdmPatchObjectRequest.builder()
|
591
|
+
.path(CustomerTypeEnum.COMPANY.equals(customerType) ? MEMBERS_PATH + customerId + ACTIVE_PATH : ACTIVE_PATH)
|
592
|
+
.op(MdmOperationsEnum.REPLACE.getValue())
|
593
|
+
.value(enable)
|
594
|
+
.build();
|
595
|
+
return mdmClient.patchCustomer(customerId, Collections.singletonList(mdmPatchObjectRequest), performingUser, accessToken);
|
596
|
+
}
|
597
|
+
|
598
|
+
/**
|
599
|
+
* If current MDM organization has already one administrative code, with different type from new one, we generate REMOVE patch object to clean it
|
600
|
+
* On Customer Space, customer can only have one administrative code
|
601
|
+
*
|
602
|
+
* @param currentAdministrativeCodes
|
603
|
+
* @param body
|
604
|
+
*/
|
605
|
+
private void clearCurrentAdministrativeCode(MdmAdministrativeCodes currentAdministrativeCodes, UpdateCompanyRequest updateCompanyRequest, final List<MdmPatchObjectRequest> body) {
|
606
|
+
String newAdministrativeCodesPath = getAdministrativeCodesPath(updateCompanyRequestToMdmAdministrativeCodes(updateCompanyRequest));
|
607
|
+
String currentAdministrativeIdentifiersPath = getAdministrativeCodesPath(currentAdministrativeCodes);
|
608
|
+
|
609
|
+
if (StringUtils.isNotEmpty(currentAdministrativeIdentifiersPath)
|
610
|
+
&& StringUtils.isNotEmpty(newAdministrativeCodesPath)
|
611
|
+
&& !currentAdministrativeIdentifiersPath.equals(newAdministrativeCodesPath)) {
|
612
|
+
body.add(getMdmPatchObject(MdmOperationsEnum.REMOVE, ADMINISTRATIVE_CODES_PATH + currentAdministrativeIdentifiersPath, null));
|
613
|
+
}
|
614
|
+
}
|
615
|
+
|
616
|
+
private MdmAdministrativeCodes updateCompanyRequestToMdmAdministrativeCodes(UpdateCompanyRequest updateCompanyRequest) {
|
617
|
+
MdmAdministrativeCodes.MdmAdministrativeCodesBuilder mdmAdministrativeCodesBuilder = MdmAdministrativeCodes.builder()
|
618
|
+
.siret(updateCompanyRequest.getSiret())
|
619
|
+
.codFisc(updateCompanyRequest.getFiscalCode())
|
620
|
+
.cif(updateCompanyRequest.getCif())
|
621
|
+
.nif(updateCompanyRequest.getNif())
|
622
|
+
.codiceDestinatario(updateCompanyRequest.getElectronicInvoicingCode())
|
623
|
+
.nip(updateCompanyRequest.getNip())
|
624
|
+
.pec(updateCompanyRequest.getCertifiedEmail())
|
625
|
+
.ide(updateCompanyRequest.getIde());
|
626
|
+
if (FRENCH_BU_CODE.equals(adeoBu)) {
|
627
|
+
mdmAdministrativeCodesBuilder.tvaIntraCommunautaire(updateCompanyRequest.getVatNumber());
|
628
|
+
} else {
|
629
|
+
mdmAdministrativeCodesBuilder.piva(updateCompanyRequest.getVatNumber());
|
630
|
+
}
|
631
|
+
return mdmAdministrativeCodesBuilder
|
632
|
+
.build();
|
633
|
+
}
|
634
|
+
|
635
|
+
/**
|
636
|
+
* If current MDM inhabitant has already one administrative identifier, with different type from new one, we generate REMOVE patch object to clean it
|
637
|
+
* On Customer Space, customer can only have one administrative identifier
|
638
|
+
*
|
639
|
+
* @param actualIdentity
|
640
|
+
* @param body
|
641
|
+
*/
|
642
|
+
private void clearCurrentAdministrativeIdentifiers(MdmInhabitant actualIdentity, final MdmInhabitant newCustomerIdentity, final List<MdmPatchObjectRequest> body) {
|
643
|
+
String newAdministrativeIdentifiersPath = getAdministrativeIdentifiersPath(newCustomerIdentity);
|
644
|
+
String currentAdministrativeIdentifiersPath = getAdministrativeIdentifiersPath(actualIdentity);
|
645
|
+
|
646
|
+
if (StringUtils.isNotEmpty(currentAdministrativeIdentifiersPath)
|
647
|
+
&& StringUtils.isNotEmpty(newAdministrativeIdentifiersPath)
|
648
|
+
&& !currentAdministrativeIdentifiersPath.equals(newAdministrativeIdentifiersPath)) {
|
649
|
+
body.add(getMdmPatchObject(MdmOperationsEnum.REMOVE, ADMINISTRATIVE_IDENTIFIERS_PATH + currentAdministrativeIdentifiersPath, null));
|
650
|
+
}
|
651
|
+
}
|
652
|
+
|
653
|
+
private String getAdministrativeCodesPath(MdmAdministrativeCodes mdmAdministrativeCodes) {
|
654
|
+
if (mdmAdministrativeCodes.getSiret() != null) {
|
655
|
+
return SIRET;
|
656
|
+
}
|
657
|
+
if (mdmAdministrativeCodes.getCif() != null) {
|
658
|
+
return CIF;
|
659
|
+
}
|
660
|
+
if (mdmAdministrativeCodes.getNie() != null) {
|
661
|
+
return NIE;
|
662
|
+
}
|
663
|
+
if (mdmAdministrativeCodes.getNif() != null) {
|
664
|
+
return NIF;
|
665
|
+
}
|
666
|
+
if (mdmAdministrativeCodes.getCodFisc() != null) {
|
667
|
+
return COD_FISC;
|
668
|
+
}
|
669
|
+
if (mdmAdministrativeCodes.getTvaIntraCommunautaire() != null) {
|
670
|
+
return TVA_INTRA_COMMUNAUTAIRE;
|
671
|
+
}
|
672
|
+
if (mdmAdministrativeCodes.getIde() != null) {
|
673
|
+
return IDE;
|
674
|
+
}
|
675
|
+
if (mdmAdministrativeCodes.getCodiceDestinatario() != null) {
|
676
|
+
return CODICE_DESTINATORIO;
|
677
|
+
}
|
678
|
+
if (mdmAdministrativeCodes.getPiva() != null) {
|
679
|
+
return PIVA;
|
680
|
+
}
|
681
|
+
if (mdmAdministrativeCodes.getPec() != null) {
|
682
|
+
return PEC;
|
683
|
+
}
|
684
|
+
if (mdmAdministrativeCodes.getNip() != null) {
|
685
|
+
return NIP;
|
686
|
+
}
|
687
|
+
return null;
|
688
|
+
}
|
689
|
+
|
690
|
+
private String getAdministrativeIdentifiersPath(MdmInhabitant inhabitant) {
|
691
|
+
if (inhabitant.getAdministrativeIdentifiers().getCodFisc() != null) {
|
692
|
+
return COD_FISC;
|
693
|
+
}
|
694
|
+
if (inhabitant.getAdministrativeIdentifiers().getDni() != null) {
|
695
|
+
return DNI;
|
696
|
+
}
|
697
|
+
if (inhabitant.getAdministrativeIdentifiers().getNie() != null) {
|
698
|
+
return NIE;
|
699
|
+
}
|
700
|
+
if (inhabitant.getAdministrativeIdentifiers().getNif() != null) {
|
701
|
+
return NIF;
|
702
|
+
}
|
703
|
+
if (inhabitant.getAdministrativeIdentifiers().getPassport() != null) {
|
704
|
+
return PASSPORT;
|
705
|
+
}
|
706
|
+
if (inhabitant.getAdministrativeIdentifiers().getOtherFiscalIdentifierType() != null) {
|
707
|
+
return OTHER_FISCAL_IDENTIFIER_TYPE;
|
708
|
+
}
|
709
|
+
|
710
|
+
return null;
|
711
|
+
}
|
712
|
+
|
713
|
+
}
|