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 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 | import { PEPStatusType } from "@components/Merchants/MerchantPreview/PEP/types";
import { MCCType } from "@hooks/acquirer-api/MCCType";
import { BankAccountType } from "../enterprise/BankAccountType";
type EntepriseQueryType = {
created: string;
processed: string;
transactions: string;
merchants: string;
status: string;
};
export interface AppState {
enterprises: EnterprisesState;
}
export type SwitchAndSelect = {
type: "status";
value: string;
};
export type Amount = {
title: "processed" | "transactions" | "merchants";
values: {
modifier: string;
amount: number;
amountOne: number;
amountTwo: number;
};
};
export type BusinessAddressType = {
country: string;
street: string;
city: string;
province: string;
zip: string;
};
export type BusinessOwnerType = {
id: string;
firstName: string;
lastName: string;
email: string;
ssn?: string;
ein?: string;
tinType?: "ein" | "ssn";
dob?: number | Date | null;
phone: string;
ownership: string;
useBusinessAddress: boolean;
businessAddress?: BusinessAddressType;
pepStatusName: PEPStatusType;
createdAt?: number;
};
export type AcquirerEnterprisesType = {
id: string | number;
created: string;
title: string;
imageURL: string;
processed: number;
transactions: number;
amount: number;
status: string;
merchants: number;
pendingMerchants: number;
approvedMerchants: number;
};
export interface EnterprisesState {
query: EntepriseQueryType;
names: {
created: (string | number)[];
processed: (string | number)[];
transactions: (string | number)[];
merchants: number[];
status: string[];
type: string[];
"Underwriting Status": string[];
"Instant Fundraising Status": string[];
};
watchlist: AcquirerEnterprisesType[];
businessOwners: {
list: BusinessOwnerType[];
removedList: number[];
addedList: number[];
};
bankAccounts: {
list: BankAccountType[];
removedList: number[];
addedList: number[];
};
isDisabledSubmit: boolean;
}
export interface SettingsState {
category_codes: MCCType[];
}
export type TTypeFilter = "all" | "escalations";
export type TTimeFilter = "day" | "month" | "all";
export interface TransactionRiskProfile {
filters: {
type: TTypeFilter;
time: TTimeFilter;
};
queries: {
type: string;
time: string;
};
}
|