@@ -450,7 +450,7 @@ import {
450450import { humanReadableParticipationStatus } from " @/dto/index" ;
451451import type { ParticipationStatus } from " @/dto/index" ;
452452import type { CompanyWithParticipation } from " @/dto/companies" ;
453- import type { SpeakerWithParticipation } from " @/dto/speakers" ;
453+ import type { SpeakerWithContactAndParticipation } from " @/dto/speakers" ;
454454import {
455455 useBulkCompanyEmails ,
456456 useBulkSpeakerEmails ,
@@ -462,7 +462,7 @@ interface Props {
462462 size? : " sm" | " default" | " lg" | " icon" ;
463463 buttonClass? : string ;
464464 companies? : CompanyWithParticipation [];
465- speakers? : SpeakerWithParticipation [];
465+ speakers? : SpeakerWithContactAndParticipation [];
466466 entityType: " companies" | " speakers" ;
467467}
468468
@@ -499,7 +499,7 @@ const speakerBulk = useBulkSpeakerEmails();
499499const processBulkEmails = async (
500500 templateCategory : EmailTemplateCategory ,
501501 statuses : ParticipationStatus [],
502- entities : CompanyWithParticipation [] | SpeakerWithParticipation [],
502+ entities : CompanyWithParticipation [] | SpeakerWithContactAndParticipation [],
503503) => {
504504 if (props .entityType === " companies" ) {
505505 return companyBulk .processBulkEmails (
@@ -511,7 +511,7 @@ const processBulkEmails = async (
511511 return speakerBulk .processBulkEmails (
512512 templateCategory ,
513513 statuses ,
514- entities as SpeakerWithParticipation [],
514+ entities as SpeakerWithContactAndParticipation [],
515515 );
516516};
517517
0 commit comments