hunk.code_window:     const webhook: string = args[0];
       const payload: IUserWebhookPayload = args[1];
       expect(webhook).to.equal(USER_PARSE_WEBHOOK);
       expect(payload.mail).to.be.ok;
       expect(payload.payload).to.ok;
       expect(payload.template).to.ok;
       expect(payload.message).to.ok;
  
hunk.labels: keep keep keep replace keep keep keep keep
hunk.after_edit:     // Should compile the payload variables
       expect(webhook).to.equal(USER_PARSE_WEBHOOK + '/test-env');
  
hunk.file_path: apps/api/src/app/inbound-parse/e2e/inbound-email-parse.e2e.ts
hunk.type: replace
file: import { ApiExtraModels, ApiProperty, ApiPropertyOptional } from '@nestjs/swagger';
  import { NotificationStep } from '../../shared/dtos/notification-step';
  import { PreferenceChannels } from '../../shared/dtos/preference-channels';
  
  class NotificationGroup {
    @ApiPropertyOptional()
    _id?: string;
  
    @ApiProperty()
    name: string;
  
    @ApiProperty()
    _environmentId: string;
  
    @ApiProperty()
    _organizationId: string;
  
    @ApiPropertyOptional()
    _parentId?: string;
  }
  
  class NotificationTriggerVariable {
    name: string;
  }
  
  class NotificationTrigger {
    @ApiProperty()
    type: 'event';
  
    @ApiProperty()
    identifier: string;
  
    @ApiProperty({
      type: [NotificationTriggerVariable],
    })
    variables: NotificationTriggerVariable[];
  
    @ApiProperty({
      type: [NotificationTriggerVariable],
    })
    subscriberVariables?: NotificationTriggerVariable[];
  }
  
  @ApiExtraModels(NotificationGroup)
  export class NotificationTemplateResponse {
    @ApiPropertyOptional()
    _id?: string;
  
    @ApiProperty()
    name: string;
  
    @ApiProperty()
    description: string;
  
    @ApiProperty()
    active: boolean;
  
    @ApiProperty()
    draft: boolean;
  
    @ApiProperty({
      type: PreferenceChannels,
    })
    preferenceSettings: PreferenceChannels;
  
    @ApiProperty()
    critical: boolean;
  
    @ApiProperty()
    tags: string[];
  
    @ApiProperty({
      type: [NotificationStep],
    })
    steps: NotificationStep[];
  
    @ApiProperty()
    _organizationId: string;
  
    @ApiProperty()
    _creatorId: string;
  
    @ApiProperty()
    _environmentId: string;
  
    @ApiProperty({
      type: [NotificationTrigger],
    })
    triggers: NotificationTrigger[];
  
    @ApiProperty()
    _notificationGroupId: string;
  
    @ApiPropertyOptional()
    _parentId?: string;
  
    @ApiProperty()
    deleted: boolean;
  
    @ApiProperty()
    deletedAt: string;
  
    @ApiProperty()
    deletedBy: string;
  
    @ApiPropertyOptional({
      type: NotificationGroup,
    })
    readonly notificationGroup?: NotificationGroup;
  }
  