All files / src/features/GiveOnboarding consts.ts

100% Statements 5/5
100% Branches 0/0
100% Functions 0/0
100% Lines 5/5

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    13x                                                                                                                                                     13x                         13x         13x           13x        
import { FileAttachmentType } from "@hooks/upload-api/uploadHooks";
 
export const baseSteps = {
  identity_details: {
    label: "Identity - Details",
    parent: "identity",
    completed: false,
    isNextInLine: true,
  },
  identity_id_document: {
    label: "Identity - ID Document",
    parent: "identity",
    completed: false,
    isNextInLine: false,
  },
  identity_photo_with_id: {
    label: "Identity - Photo with ID",
    parent: "identity",
    completed: false,
    isNextInLine: false,
  },
  business_profile: {
    label: "Business - Profile",
    parent: "business",
    completed: false,
    isNextInLine: false,
  },
  business_address: {
    label: "Business - Address",
    parent: "business",
    completed: false,
    isNextInLine: false,
  },
  business_owners: {
    label: "Business - Owners",
    parent: "business",
    completed: false,
    isNextInLine: false,
  },
  business_details: {
    label: "Business - Details",
    parent: "business",
    completed: false,
    isNextInLine: false,
  },
  business_bank_connect: {
    label: "Business Bank Account - Connect",
    parent: "business_bank_account",
    completed: false,
    isNextInLine: false,
  },
  business_bank_statement: {
    label: "Business Bank Account - Bank Statement",
    parent: "business_bank_account",
    completed: false,
    isNextInLine: false,
  },
  business_bank_confirm: {
    label: "Business Bank Account - Confirm",
    parent: "business_bank_account",
    completed: false,
    isNextInLine: false,
  },
  agreement_review: {
    label: "Agreement - Review",
    parent: "agreement",
    completed: false,
    isNextInLine: false,
  },
  agreement_sign: {
    label: "Agreement - Sign",
    parent: "agreement",
    completed: false,
    isNextInLine: false,
  },
};
 
export const buttonText = {
  selfie: {
    retake: "Retake Selfie",
    finish: "Finish",
    shootImage: "Take a Selfie",
  },
  bankPicture: {
    retake: "Retake Picture",
    finish: "Finish",
    shootImage: "Take a Picture",
  },
};
 
export const uploadAttachmentType = {
  selfie: FileAttachmentType.AccountOwnerSelfie,
  bankPicture: FileAttachmentType.BankAccountConfirm,
};
 
export const infoTextArray = [
  "Bank account name",
  "Last 4 digits of the account number",
  "Website URL visible in the browser",
];
 
export const modalTitle = {
  selfie: "Photo with ID",
  bankPicture: "Business Account Confirm",
};