All files / src/features/Merchants/MerchantSidePanel/hooks hook.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 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                                                                                                                                                                                   
export interface MerchantPayload {
  class?: string | null;
  classDescription?: string | null;
  categoryCodeID?: number | null;
  allowedCategoryCodes?: string[] | null;
  parentAccID?: string | null;
  name?: string;
  slug?: string;
  description?: string;
  merchantRiskStatus?: string;
  websiteURL?: string;
  billingDescriptor?: string;
  allowVolunteers?: boolean | null;
  msaRefundPolicy?: string;
  msaPreviousTermination?: boolean;
  msaPreviousTerminationAt?: number;
  msaPreviousTerminationProcessorName?: string;
  msaPreviousTerminationReason?: string;
  address?: {
    name?: string;
    line1?: string | null;
    line2?: string | null;
    city?: string | null;
    state?: string | null;
    zip?: string | null;
    country?: string | null;
  };
  legalEntity?: {
    type?: string | null;
    name?: string;
    doingBusinessAs?: string;
    taxIDNumber?: string | null;
    ssn?: string | null;
    phoneNumber?: string | null;
    yearsInBusiness?: number | null;
    numberOfEmployees?: number | null;
    hasAcceptedCreditCards?: boolean | null;
    allowMultipleMerchants?: boolean | null;
    businessPurpose?: string | null;
    contact?: string | null;
    address?: string | null;
    ownershipType?: string | null;
    businessOpenedAt?: string | null;
    principal?: string | null;
  };
  bankAccount?: {
    name?: string;
    type?: string | null;
    nickname?: string | null;
    bankName?: string | null;
    notes?: string | null;
    number?: string | null;
    routingNumber?: string | null;
    isDefault?: boolean | null;
    status?: string | null;
  };
  owner?: {
    email?: string;
    newPassword?: string | null;
    currentPassword?: string;
    firstName?: string | null;
    lastName?: string | null;
    phoneNumber?: string | null;
    shippingAddress?: string | null;
    billingAddress?: string | null;
    imageURL?: string | null;
    ssn?: string | null;
    username?: string;
    displayName?: string | null;
    occupation?: string | null;
    employer?: string | null;
    maidenName?: string | null;
    dateOfBirth?: string | null;
    gender?: string;
    websiteURL?: string | null;
    linkedinURL?: string | null;
    twitterURL?: string | null;
    signatureURL?: string | null;
    facebookURL?: string | null;
    timezone?: string | null;
    language?: string | null;
    currency?: string | null;
    hasAcceptedTC?: boolean | null;
    citizenship?: string;
    countryOfResidence?: string;
  };
  recommendation: string;
  // Other fields continue...
}