hunk.code_window:     private integrationRepository: IntegrationRepository,
       private deactivateSimilarChannelIntegrations: DeactivateSimilarChannelIntegrations,
       private analyticsService: AnalyticsService,
       private disableNovuIntegration: DisableNovuIntegration,
       private getIsMultiProviderConfigurationEnabled: GetIsMultiProviderConfigurationEnabled
     ) {}
     private async calculatePriorityAndPrimary(command: CreateIntegrationCommand) {
  
hunk.labels: keep keep keep replace keep keep keep keep
hunk.file_path: apps/api/src/app/integrations/usecases/create-integration/create-integration.usecase.ts
hunk.type: replace
file: export interface IEnvironment {
    _id?: string;
    name: string;
    _organizationId: string;
    _parentId?: string;
    identifier: string;
    widget: IWidgetSettings;
    dns?: IDnsSettings;
  
    branding?: {
      color: string;
      logo: string;
      fontColor: string;
      fontFamily: string;
      contentBackground: string;
      direction: 'ltr' | 'rtl';
    };
  }
  
  export interface IWidgetSettings {
    notificationCenterEncryption: boolean;
  }
  
  export interface IDnsSettings {
    mxRecordConfigured: boolean;
    inboundParseDomain: string;
  }
  