169 lines
4.6 KiB
TypeScript
169 lines
4.6 KiB
TypeScript
import { ApiLoanApplication } from '../../shared/api-models/api-loan-application';
|
|
import { LoanCode } from 'src/app/shared/loan-type/loan-code';
|
|
import {LoanTitle} from '../../shared/loan-type/loan-title';
|
|
|
|
export const TestApiCreditApplication: ApiLoanApplication = {
|
|
'id': '0',
|
|
'loanType': LoanCode.CC_CashBack,
|
|
'loanTitle': LoanTitle.CashBack,
|
|
'note': 'This is a note!',
|
|
'primaryContactMethod': '262-623-8990',
|
|
'requestedAmount': 1000,
|
|
'date': '2018-07-23',
|
|
'primaryBorrower': {
|
|
'hasOptedOutTCPA': false,
|
|
'firstName': 'Dennis',
|
|
'middleInitial': 'J',
|
|
'lastName': 'Reynolds',
|
|
'dob': '2000-07-23',
|
|
'ssn': 'string',
|
|
'phone': 'string',
|
|
'phoneType': 'Mobile',
|
|
'email': 'string',
|
|
'address': {
|
|
'address1': 'string',
|
|
'address2': 'string',
|
|
'city': 'string',
|
|
'state': 'AA',
|
|
'postalCode': 'string',
|
|
'country': 'string',
|
|
'monthsResided': 0,
|
|
'residenceType': 'Own',
|
|
'id': 'string'
|
|
},
|
|
'previousAddresses': [
|
|
{
|
|
'address1': 'string',
|
|
'address2': 'string',
|
|
'city': 'string',
|
|
'state': 'AA',
|
|
'postalCode': 'string',
|
|
'country': 'string',
|
|
'monthsResided': 0,
|
|
'residenceType': 'Own',
|
|
'id': 'string'
|
|
}
|
|
],
|
|
'employers': [
|
|
{
|
|
'id': 'string',
|
|
'name': 'string',
|
|
'currentEmployer': true,
|
|
'employmentType': 'NoneSelected',
|
|
'title': 'string',
|
|
'income': {
|
|
'incomeTypeCD': 'Alimony',
|
|
'sourceName': 'string',
|
|
'alimonyStatus': 'CourtOrdered',
|
|
'amountPerPeriod': 0,
|
|
'frequency': 'Annually',
|
|
'hoursPerWeek': '0',
|
|
'incomeAdjustmentPercentage': 0,
|
|
'adjustedIncome': 0,
|
|
'incomeStatus': 'IncomeStatus_Excluded'
|
|
},
|
|
'monthsEmployed': 0,
|
|
'startDate': '2018-07-23T19:29:57.744Z',
|
|
'endDate': '2018-07-23T19:29:57.744Z',
|
|
'workPhone': 'string',
|
|
'language': 'string'
|
|
}
|
|
],
|
|
'otherIncomes': [
|
|
{
|
|
'incomeTypeCD': 'Alimony',
|
|
'sourceName': 'string',
|
|
'alimonyStatus': 'CourtOrdered',
|
|
'amountPerPeriod': 0,
|
|
'frequency': 'Annually',
|
|
'hoursPerWeek': '0',
|
|
'incomeAdjustmentPercentage': 0,
|
|
'adjustedIncome': 0,
|
|
'incomeStatus': 'IncomeStatus_Excluded'
|
|
}
|
|
],
|
|
'isMarried': true,
|
|
'language': 'string',
|
|
'customerNumber': 'string',
|
|
'id': 'string'
|
|
},
|
|
'coApplicant':
|
|
{
|
|
'hasOptedOutTCPA': false,
|
|
'firstName': 'string',
|
|
'middleInitial': 'string',
|
|
'lastName': 'string',
|
|
'dob': '2018-07-23T19:29:57.744Z',
|
|
'ssn': 'string',
|
|
'phone': 'string',
|
|
'phoneType': 'Mobile',
|
|
'email': 'string',
|
|
'address': {
|
|
'address1': 'string',
|
|
'address2': 'string',
|
|
'city': 'string',
|
|
'state': 'AA',
|
|
'postalCode': 'string',
|
|
'country': 'string',
|
|
'monthsResided': 0,
|
|
'residenceType': 'Own',
|
|
'id': 'string'
|
|
},
|
|
'previousAddresses': [
|
|
{
|
|
'address1': 'string',
|
|
'address2': 'string',
|
|
'city': 'string',
|
|
'state': 'AA',
|
|
'postalCode': 'string',
|
|
'country': 'string',
|
|
'monthsResided': 0,
|
|
'residenceType': 'Own',
|
|
'id': 'string'
|
|
}
|
|
],
|
|
'employers': [
|
|
{
|
|
'id': 'string',
|
|
'name': 'string',
|
|
'currentEmployer': true,
|
|
'employmentType': 'NoneSelected',
|
|
'title': 'string',
|
|
'income': {
|
|
'incomeTypeCD': 'Alimony',
|
|
'sourceName': 'string',
|
|
'alimonyStatus': 'CourtOrdered',
|
|
'amountPerPeriod': 0,
|
|
'frequency': 'Annually',
|
|
'hoursPerWeek': '0',
|
|
'incomeAdjustmentPercentage': 0,
|
|
'adjustedIncome': 0,
|
|
'incomeStatus': 'IncomeStatus_Excluded'
|
|
},
|
|
'monthsEmployed': 0,
|
|
'startDate': '2018-07-23T19:29:57.744Z',
|
|
'endDate': '2018-07-23T19:29:57.744Z',
|
|
'workPhone': 'string',
|
|
'language': 'string'
|
|
}
|
|
],
|
|
'otherIncomes': [
|
|
{
|
|
'incomeTypeCD': 'Alimony',
|
|
'sourceName': 'string',
|
|
'alimonyStatus': 'CourtOrdered',
|
|
'amountPerPeriod': 0,
|
|
'frequency': 'Annually',
|
|
'hoursPerWeek': '0',
|
|
'incomeAdjustmentPercentage': 0,
|
|
'adjustedIncome': 0,
|
|
'incomeStatus': 'IncomeStatus_Excluded'
|
|
}
|
|
],
|
|
'isMarried': true,
|
|
'language': 'string',
|
|
'customerNumber': 'string',
|
|
'id': 'string'
|
|
}
|
|
};
|