hunk.code_window:   constructor(
       private invalidateCache: InvalidateCacheService,
       private integrationRepository: IntegrationRepository,
       private deactivateSimilarChannelIntegrations: DeactivateSimilarChannelIntegrations,
       private analyticsService: AnalyticsService,
       private disableNovuIntegration: DisableNovuIntegration,
       private getIsMultiProviderConfigurationEnabled: GetIsMultiProviderConfigurationEnabled
     ) {}
     private async calculatePriorityAndPrimaryForActive({
       existingIntegration,
  
hunk.labels: keep keep keep keep keep replace keep keep keep keep keep
hunk.file_path: apps/api/src/app/integrations/usecases/update-integration/update-integration.usecase.ts
hunk.type: replace
file: <svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
  <path fill-rule="evenodd" clip-rule="evenodd" d="M11.7349 2.18016C11.59 1.55335 11.2347 0.995154 10.728 0.598655C10.2214 0.202156 9.59419 -0.00867731 8.95094 0.00131616C8.30769 0.0113096 7.68731 0.241526 7.19325 0.653571C6.6992 1.06562 6.36134 1.63458 6.23601 2.26559C6.11069 2.89659 6.20548 3.55149 6.50458 4.12106C6.80367 4.69063 7.28899 5.14045 7.87961 5.3955C8.47022 5.65056 9.13041 5.69542 9.7501 5.52261C10.3698 5.34981 10.9115 4.96978 11.2849 4.44591C12.0106 4.77474 12.6587 5.2532 13.1866 5.84995C13.7145 6.44669 14.1104 7.14825 14.3483 7.90866C14.5148 7.88886 14.6823 7.8776 14.85 7.87491C15.5058 7.8751 16.1554 8.00271 16.7625 8.25066C16.5292 6.88725 15.9421 5.60898 15.0598 4.54368C14.1775 3.47837 13.031 2.66337 11.7349 2.18016ZM16.2516 10.502C15.7362 10.2072 15.1408 10.0831 14.5505 10.1474C13.9603 10.2117 13.4055 10.4611 12.9657 10.86C12.5259 11.2588 12.2236 11.7866 12.1021 12.3678C11.9806 12.949 12.0461 13.5537 12.2893 14.0953C11.3386 14.8032 10.1852 15.1862 8.99982 15.1877C8.57805 15.1844 8.15802 15.1334 7.74769 15.0358C7.40705 15.781 6.88815 16.4309 6.23682 16.928C7.53023 17.4203 8.93162 17.5584 10.2962 17.328C11.6609 17.0976 12.9392 16.5071 13.9993 15.6174C14.6589 15.8216 15.3704 15.776 15.9985 15.4893C16.6266 15.2027 17.1274 14.695 17.4053 14.063C17.6833 13.4311 17.7191 12.7189 17.5059 12.0622C17.2928 11.4056 16.8455 10.8502 16.2493 10.502H16.2516ZM4.67249 10.572C5.05074 10.8136 5.3654 11.1425 5.58998 11.5311C5.85556 11.9896 5.98621 12.5139 5.96688 13.0434C5.94754 13.5729 5.779 14.0862 5.48068 14.5242C5.18236 14.9621 4.76639 15.3069 4.2807 15.5187C3.795 15.7306 3.25934 15.8009 2.73541 15.7216C2.21149 15.6423 1.72062 15.4166 1.31936 15.0706C0.9181 14.7245 0.622767 14.2721 0.467386 13.7655C0.312004 13.2589 0.302896 12.7187 0.44111 12.2072C0.579325 11.6956 0.859238 11.2335 1.2486 10.8741C1.17019 10.4412 1.12879 10.0023 1.12485 9.56237C1.12477 8.3985 1.38307 7.24913 1.88111 6.19721C2.37916 5.14528 3.10452 4.21705 4.00485 3.47949C4.10946 4.29686 4.41394 5.07584 4.89136 5.74749C3.92042 6.78083 3.37835 8.14445 3.37485 9.56237C3.37789 9.75649 3.39178 9.9503 3.41648 10.1429C3.86348 10.1832 4.29425 10.3304 4.67249 10.572Z" fill="url(#paint0_linear_4463_9468)"/>
  <defs>
  <linearGradient id="paint0_linear_4463_9468" x1="4.43432" y1="0.941843" x2="10.7638" y2="17.0992" gradientUnits="userSpaceOnUse">
  <stop stop-color="#333333"/>
  <stop offset="1" stop-color="#333333" stop-opacity="0.6"/>
  </linearGradient>
  </defs>
  </svg>
  