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 |
export enum ErrorType_bulk_merchant {
EMAIL_INVALID = "email_invalid",
EMAIL_REQUIRED = "email_required",
MERCHANT_NAME_REQUIRED = "merchantName_required",
MERCHANT_NAME_EXISTS = "merchantName_exists",
MERCHANT_NAME_TOO_SHORT = "merchantName_too_short",
SLUG_EXISTS = "slug_exists",
}
export type TImportedRow = {
pahEmail: string;
merchantName: string;
errorType?: ErrorType_bulk_merchant;
};
export interface TInviteElement extends TImportedRow {
checked: boolean;
}
export type TInvitesMap = Map<string, TInviteElement>;
export type BulkInviteActions = {
onSelect: () => void;
hidden?: boolean;
disabled?: boolean;
tooltipProps?: { show: boolean; message: string };
}; |