All files / src/features/Merchants/MerchantSidePanel/components/UnderwriterRiskAnalystAssignCard/AssignmentSection AssigneeSection.types.ts

0% Statements 0/0
0% Branches 0/0
0% Functions 0/0
0% Lines 0/0

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45                                                                                         
import { getMerchantAssignees } from "@shared/MerchantAssignmentManager/helpers";
 
export type AssigneeData = {
  id: number;
  imageURL: string;
  setByAcquirer: boolean;
  assigned: boolean;
  email: string;
  name: string;
  assigneeType: string;
};
 
export enum AssigneeTypes {
  KYB = "KYB",
  UNDERWRITER = "UNDERWRITER",
  SPONSOR = "SPONSOR",
}
 
export interface EmailAndMessageSectionProps {
  data: AssigneeData;
  type: string;
  hideAssignButton: boolean;
  merchantId: number;
  hideMessageSection?: boolean;
  avatarOnly?: boolean;
  showEmailAsName?: boolean;
}
 
export interface AssigneeButtonProps {
  data: AssigneeData;
  type: string;
  merchantId: number;
  avatarOnly?: boolean;
  displayNameOnly?: boolean;
  showCaretIcon?: boolean;
  isOnlyName?: boolean;
}
 
export type AssigneeSectionProps = {
  data: AssigneeData;
  type: string;
  merchantId: number;
  hideMessageSection?: boolean;
};