export interface ProfileData { pin: string; custHash: string; currency: string; email: string; phone: string; address: string; name: string; firstName: string; instantorReportAvailable: string; lastName: string; newLoanInfo: NewLoanInfo; rejectionInfo: RejectionInfo; hasPreviousPaidback: string; hasActiveLoan: string; isLastPaidLoanSme: string; isNew: string; eligibleToApply: boolean; mlpLevel: number; eligibleForTopup: boolean; sendDeviceData: boolean; } export interface NewLoanInfo { income: Income; contactAddress: ContactAddress; domicileAddress: string; domicileAddressObj: DomicileAddressObj; housing: Housing; officeAddress: OfficeAddress; educationType: string; maritalStatusType: string; pin: string; gender: string; dateOfBirth: string; otherLoans: OtherLoans[]; referralCode: string; documentValidDate: string; birthCityId: string; mothersName: string; mothersPhone: string; partnerPhone: string; familyCardNumber: string; religion: string; citizenship: string; dependants: string; emailIsOwn: string; account: BankAccount; personalReference: PersonalReference; loanPurposeType: string; guarantor: Guarantor; mediaSource: string; marketingDenial: string; vehicles: Vehicles[]; jdOrderId: string; loanAmount: string; spouse: Spouse; documents: Documents[]; loanPeriodInMonths: string; firstName: string; lastName: string; emailAddress: string; mobilePhoneNumber: string; eMarketing: string; pMarketing: string; tMarketing: string; code: string; insurance: string; heardFrom: string; firstPaymentDate: string; browserName: string; additionalInfo: string; customerIP: string; media: Media; sessionId: string; } export interface RejectionInfo { reason: string; rule: string; } export interface Installments { onTime?: Boolean; date: string; partNum: string; rowType: string; sum: string; unpaid: string; } export interface NetBankPendingPayments { paymentDatetime: string; sum: string; } export interface BankAccount { bankName?: string; accountNumber: string; accountType: string; } export interface DebtInstructions { account: string; bank: string; recipient: string; ref: string; iban: string; bic: string; bankGiro: string; } export interface PaymentFreeMonth { installmentDate: string; installmentAmount: string; } export interface CampaignCode { code: string; loanAmount: string; loanAmountType: string; interestPercent: string; interestType: string; period: string; periodType: string; monthlyFee: string; monthlyFeeType: string; maxMonthlyPayment: string; admissionFee: string; admissionFeeType: string; minimumToAccount: string; } export interface Payjoy { confirmed: boolean; eligible: boolean; installment: Installments[]; } export interface Income { jobType: string; employmentStatus: string; yearSince: string; monthSince: string; employeeId: string; employerName: string; monthlyIncome: string; taxId: string; workPosition: string; previousIncome: string; } export interface ContactAddress { street: string; compOrBuilding: string; buildingNumber: string; buildingType: string; flatNumber: string; village: string; district: string; rt: string; rw: string; province: string; postalCode: string; city: string; } export interface DomicileAddressObj { street: string; compOrBuilding: string; buildingNumber: string; buildingType: string; flatNumber: string; village: string; district: string; rt: string; rw: string; province: string; postalCode: string; city: string; } export interface Housing { residentialType: string; propertyType: string; yearMovedIn: string; monthMovedIn: string; numberOfPeople: string; monthlyResidenceCost: string; homePhone: string; electricityAndWaterCost: string; } export interface OfficeAddress { referenceName: string; referencePhone: string; street: string; compOrBuilding: string; buildingNumber: string; buildingType: string; flatNumber: string; village: string; district: string; rt: string; rw: string; province: string; postalCode: string; city: string; } export interface OtherLoans { loanType: string; lenderName: string; totalAmount: string; monthlyInstallment: string; } export interface PersonalReference { name: string; relationship: string; address: string; zip: string; city: string; homePhone: string; mobilePhone: string; } export interface Guarantor { name: string; relationship: string; contactNumber: string; } export interface Vehicles { type: string; registrationNumber: string; } export interface Spouse { pin: string; name: string; dateOfBirth: string; splitAssetAgreement: string; } export interface Documents { fileName: string; fileType: string; title: string; description: string; loanId: string; base64data: string; } export interface Media { affiliate: string; keyword: string; partnerId1: string; partnerId2: string; partnerId3: string; partnerId4: string; }