All files / src/componentsV2/AccountProfile/NotificationCenter GiveNotificationCenterTypes.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                                                                               
export type ButtonType = "submerchant" | "enterprise" | "acquirer";
 
export type ArrayItem = {
  label: string;
  value: ButtonType;
  hidden?: boolean;
};
 
export type TAlertMethods = "email" | "push";
export type TReceiver = "acquirer" | "enterprise" | "submerchant";
 
export type APIResponseAlert = {
  id: string;
  createdAt: number;
  updatedAt: number;
  name: string;
  displayName: string;
  type: string;
  description: string;
  isAssignedByDefault: boolean;
  notifyParents: boolean;
  receiverList: TReceiver[];
  methods: TAlertMethods[];
  memberAccID: number;
  memberUserAccID: number;
  assignedAt: number | null;
  isAssigned: boolean;
  assignedMethods: TAlertMethods[];
  threshold: number | null;
};
 
export type TIsDisabeled = {
  isEmailDisabled: boolean;
  isPushDisabled: boolean;
};
export type TIsAssigned = {
  isEmailAssigned: boolean;
  isPushAssigned: boolean;
};